@unocss/inspector 0.46.5 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/_id_.07974384.js +1 -0
- package/dist/client/assets/index.3651546a.js +284 -0
- package/dist/client/assets/index.e671f95f.css +1 -0
- package/dist/client/assets/{repl.6754d750.js → repl.b7382e28.js} +1 -1
- package/dist/client/index.html +2 -2
- package/package.json +1 -1
- package/dist/client/assets/_id_.5e67d2df.js +0 -1
- package/dist/client/assets/index.33faea6b.css +0 -1
- package/dist/client/assets/index.c61f0d8e.js +0 -282
|
@@ -1,282 +0,0 @@
|
|
|
1
|
-
(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 N of v)if(N.type==="childList")for(const Y of N.addedNodes)Y.tagName==="LINK"&&Y.rel==="modulepreload"&&f(Y)}).observe(document,{childList:!0,subtree:!0});function l(v){const N={};return v.integrity&&(N.integrity=v.integrity),v.referrerpolicy&&(N.referrerPolicy=v.referrerpolicy),v.crossorigin==="use-credentials"?N.credentials="include":v.crossorigin==="anonymous"?N.credentials="omit":N.credentials="same-origin",N}function f(v){if(v.ep)return;v.ep=!0;const N=l(v);fetch(v.href,N)}})();const zm="modulepreload",Hm=function(s){return"/__unocss/"+s},qh={},yh=function(c,l,f){return!l||l.length===0?c():Promise.all(l.map(v=>{if(v=Hm(v),v in qh)return;qh[v]=!0;const N=v.endsWith(".css"),Y=N?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${v}"]${Y}`))return;const le=document.createElement("link");if(le.rel=N?"stylesheet":zm,N||(le.as="script",le.crossOrigin=""),le.href=v,document.head.appendChild(le),N)return new Promise((ye,Me)=>{le.addEventListener("load",ye),le.addEventListener("error",()=>Me(new Error(`Unable to preload CSS for ${v}`)))})})).then(()=>c())};function Dh(s,c){const l=Object.create(null),f=s.split(",");for(let v=0;v<f.length;v++)l[f[v]]=!0;return c?v=>!!l[v.toLowerCase()]:v=>!!l[v]}const $m="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",qm=Dh($m);function ud(s){return!!s||s===""}function tp(s){if(cs(s)){const c={};for(let l=0;l<s.length;l++){const f=s[l],v=io(f)?Gm(f):tp(f);if(v)for(const N in v)c[N]=v[N]}return c}else{if(io(s))return s;if(ca(s))return s}}const Vm=/;(?![^(]*\))/g,Wm=/:(.+)/;function Gm(s){const c={};return s.split(Vm).forEach(l=>{if(l){const f=l.split(Wm);f.length>1&&(c[f[0].trim()]=f[1].trim())}}),c}function Cc(s){let c="";if(io(s))c=s;else if(cs(s))for(let l=0;l<s.length;l++){const f=Cc(s[l]);f&&(c+=f+" ")}else if(ca(s))for(const l in s)s[l]&&(c+=l+" ");return c.trim()}function Xm(s,c){if(s.length!==c.length)return!1;let l=!0;for(let f=0;l&&f<s.length;f++)l=Fp(s[f],c[f]);return l}function Fp(s,c){if(s===c)return!0;let l=Vh(s),f=Vh(c);if(l||f)return l&&f?s.getTime()===c.getTime():!1;if(l=Gc(s),f=Gc(c),l||f)return s===c;if(l=cs(s),f=cs(c),l||f)return l&&f?Xm(s,c):!1;if(l=ca(s),f=ca(c),l||f){if(!l||!f)return!1;const v=Object.keys(s).length,N=Object.keys(c).length;if(v!==N)return!1;for(const Y in s){const le=s.hasOwnProperty(Y),ye=c.hasOwnProperty(Y);if(le&&!ye||!le&&ye||!Fp(s[Y],c[Y]))return!1}}return String(s)===String(c)}function ld(s,c){return s.findIndex(l=>Fp(l,c))}const ko=s=>io(s)?s:s==null?"":cs(s)||ca(s)&&(s.toString===hd||!Ss(s.toString))?JSON.stringify(s,cd,2):String(s),cd=(s,c)=>c&&c.__v_isRef?cd(s,c.value):Dc(c)?{[`Map(${c.size})`]:[...c.entries()].reduce((l,[f,v])=>(l[`${f} =>`]=v,l),{})}:Pp(c)?{[`Set(${c.size})`]:[...c.values()]}:ca(c)&&!cs(c)&&!fd(c)?String(c):c,oa={},yc=[],Ku=()=>{},Jm=()=>!1,Km=/^on[^a-z]/,kp=s=>Km.test(s),vh=s=>s.startsWith("onUpdate:"),No=Object.assign,xh=(s,c)=>{const l=s.indexOf(c);l>-1&&s.splice(l,1)},Qm=Object.prototype.hasOwnProperty,Rs=(s,c)=>Qm.call(s,c),cs=Array.isArray,Dc=s=>rp(s)==="[object Map]",Pp=s=>rp(s)==="[object Set]",Vh=s=>rp(s)==="[object Date]",Ss=s=>typeof s=="function",io=s=>typeof s=="string",Gc=s=>typeof s=="symbol",ca=s=>s!==null&&typeof s=="object",pd=s=>ca(s)&&Ss(s.then)&&Ss(s.catch),hd=Object.prototype.toString,rp=s=>hd.call(s),Ym=s=>rp(s).slice(8,-1),fd=s=>rp(s)==="[object Object]",Ch=s=>io(s)&&s!=="NaN"&&s[0]!=="-"&&""+parseInt(s,10)===s,cp=Dh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Np=s=>{const c=Object.create(null);return l=>c[l]||(c[l]=s(l))},Zm=/-(\w)/g,vl=Np(s=>s.replace(Zm,(c,l)=>l?l.toUpperCase():"")),eg=/\B([A-Z])/g,Fc=Np(s=>s.replace(eg,"-$1").toLowerCase()),Bp=Np(s=>s.charAt(0).toUpperCase()+s.slice(1)),Vp=Np(s=>s?`on${Bp(s)}`:""),Xc=(s,c)=>!Object.is(s,c),pp=(s,c)=>{for(let l=0;l<s.length;l++)s[l](c)},gp=(s,c,l)=>{Object.defineProperty(s,c,{configurable:!0,enumerable:!1,value:l})},tg=s=>{const c=parseFloat(s);return isNaN(c)?s:c};let Wh;const rg=()=>Wh||(Wh=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(s,c=hu){c&&c.active&&c.effects.push(s)}function sg(){return hu}function ag(s){hu&&hu.cleanups.push(s)}const Eh=s=>{const c=new Set(s);return c.w=0,c.n=0,c},dd=s=>(s.w&ec)>0,md=s=>(s.n&ec)>0,og=({deps:s})=>{if(s.length)for(let c=0;c<s.length;c++)s[c].w|=ec},ug=s=>{const{deps:c}=s;if(c.length){let l=0;for(let f=0;f<c.length;f++){const v=c[f];dd(v)&&!md(v)?v.delete(s):c[l++]=v,v.w&=~ec,v.n&=~ec}c.length=l}},Zp=new WeakMap;let Uc=0,ec=1;const eh=30;let Xu;const hc=Symbol(""),th=Symbol("");class bh{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=Xu,l=Yl;for(;c;){if(c===this)return;c=c.parent}try{return this.parent=Xu,Xu=this,Yl=!0,ec=1<<++Uc,Uc<=eh?og(this):Gh(this),this.fn()}finally{Uc<=eh&&ug(this),ec=1<<--Uc,Xu=this.parent,Yl=l,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Xu===this?this.deferStop=!0:this.active&&(Gh(this),this.onStop&&this.onStop(),this.active=!1)}}function Gh(s){const{deps:c}=s;if(c.length){for(let l=0;l<c.length;l++)c[l].delete(s);c.length=0}}let Yl=!0;const gd=[];function kc(){gd.push(Yl),Yl=!1}function Pc(){const s=gd.pop();Yl=s===void 0?!0:s}function fu(s,c,l){if(Yl&&Xu){let f=Zp.get(s);f||Zp.set(s,f=new Map);let v=f.get(l);v||f.set(l,v=Eh()),yd(v)}}function yd(s,c){let l=!1;Uc<=eh?md(s)||(s.n|=ec,l=!dd(s)):l=!s.has(Xu),l&&(s.add(Xu),Xu.deps.push(s))}function Ul(s,c,l,f,v,N){const Y=Zp.get(s);if(!Y)return;let le=[];if(c==="clear")le=[...Y.values()];else if(l==="length"&&cs(s))Y.forEach((ye,Me)=>{(Me==="length"||Me>=f)&&le.push(ye)});else switch(l!==void 0&&le.push(Y.get(l)),c){case"add":cs(s)?Ch(l)&&le.push(Y.get("length")):(le.push(Y.get(hc)),Dc(s)&&le.push(Y.get(th)));break;case"delete":cs(s)||(le.push(Y.get(hc)),Dc(s)&&le.push(Y.get(th)));break;case"set":Dc(s)&&le.push(Y.get(hc));break}if(le.length===1)le[0]&&rh(le[0]);else{const ye=[];for(const Me of le)Me&&ye.push(...Me);rh(Eh(ye))}}function rh(s,c){const l=cs(s)?s:[...s];for(const f of l)f.computed&&Xh(f);for(const f of l)f.computed||Xh(f)}function Xh(s,c){(s!==Xu||s.allowRecurse)&&(s.scheduler?s.scheduler():s.run())}const lg=Dh("__proto__,__v_isRef,__isVue"),Dd=new Set(Object.getOwnPropertyNames(Symbol).filter(s=>s!=="arguments"&&s!=="caller").map(s=>Symbol[s]).filter(Gc)),cg=Ah(),pg=Ah(!1,!0),hg=Ah(!0),Jh=fg();function fg(){const s={};return["includes","indexOf","lastIndexOf"].forEach(c=>{s[c]=function(...l){const f=Gs(this);for(let N=0,Y=this.length;N<Y;N++)fu(f,"get",N+"");const v=f[c](...l);return v===-1||v===!1?f[c](...l.map(Gs)):v}}),["push","pop","shift","unshift","splice"].forEach(c=>{s[c]=function(...l){kc();const f=Gs(this)[c].apply(this,l);return Pc(),f}}),s}function Ah(s=!1,c=!1){return function(f,v,N){if(v==="__v_isReactive")return!s;if(v==="__v_isReadonly")return s;if(v==="__v_isShallow")return c;if(v==="__v_raw"&&N===(s?c?kg:bd:c?Ed:Cd).get(f))return f;const Y=cs(f);if(!s&&Y&&Rs(Jh,v))return Reflect.get(Jh,v,N);const le=Reflect.get(f,v,N);return(Gc(v)?Dd.has(v):lg(v))||(s||fu(f,"get",v),c)?le:Na(le)?Y&&Ch(v)?le:le.value:ca(le)?s?Ad(le):Nc(le):le}}const dg=vd(),mg=vd(!0);function vd(s=!1){return function(l,f,v,N){let Y=l[f];if(Ec(Y)&&Na(Y)&&!Na(v))return!1;if(!s&&(!yp(v)&&!Ec(v)&&(Y=Gs(Y),v=Gs(v)),!cs(l)&&Na(Y)&&!Na(v)))return Y.value=v,!0;const le=cs(l)&&Ch(f)?Number(f)<l.length:Rs(l,f),ye=Reflect.set(l,f,v,N);return l===Gs(N)&&(le?Xc(v,Y)&&Ul(l,"set",f,v):Ul(l,"add",f,v)),ye}}function gg(s,c){const l=Rs(s,c);s[c];const f=Reflect.deleteProperty(s,c);return f&&l&&Ul(s,"delete",c,void 0),f}function yg(s,c){const l=Reflect.has(s,c);return(!Gc(c)||!Dd.has(c))&&fu(s,"has",c),l}function Dg(s){return fu(s,"iterate",cs(s)?"length":hc),Reflect.ownKeys(s)}const xd={get:cg,set:dg,deleteProperty:gg,has:yg,ownKeys:Dg},vg={get:hg,set(s,c){return!0},deleteProperty(s,c){return!0}},xg=No({},xd,{get:pg,set:mg}),wh=s=>s,_p=s=>Reflect.getPrototypeOf(s);function np(s,c,l=!1,f=!1){s=s.__v_raw;const v=Gs(s),N=Gs(c);l||(c!==N&&fu(v,"get",c),fu(v,"get",N));const{has:Y}=_p(v),le=f?wh:l?Fh:Jc;if(Y.call(v,c))return le(s.get(c));if(Y.call(v,N))return le(s.get(N));s!==v&&s.get(c)}function ip(s,c=!1){const l=this.__v_raw,f=Gs(l),v=Gs(s);return c||(s!==v&&fu(f,"has",s),fu(f,"has",v)),s===v?l.has(s):l.has(s)||l.has(v)}function sp(s,c=!1){return s=s.__v_raw,!c&&fu(Gs(s),"iterate",hc),Reflect.get(s,"size",s)}function Kh(s){s=Gs(s);const c=Gs(this);return _p(c).has.call(c,s)||(c.add(s),Ul(c,"add",s,s)),this}function Qh(s,c){c=Gs(c);const l=Gs(this),{has:f,get:v}=_p(l);let N=f.call(l,s);N||(s=Gs(s),N=f.call(l,s));const Y=v.call(l,s);return l.set(s,c),N?Xc(c,Y)&&Ul(l,"set",s,c):Ul(l,"add",s,c),this}function Yh(s){const c=Gs(this),{has:l,get:f}=_p(c);let v=l.call(c,s);v||(s=Gs(s),v=l.call(c,s)),f&&f.call(c,s);const N=c.delete(s);return v&&Ul(c,"delete",s,void 0),N}function Zh(){const s=Gs(this),c=s.size!==0,l=s.clear();return c&&Ul(s,"clear",void 0,void 0),l}function ap(s,c){return function(f,v){const N=this,Y=N.__v_raw,le=Gs(Y),ye=c?wh:s?Fh:Jc;return!s&&fu(le,"iterate",hc),Y.forEach((Me,Oe)=>f.call(v,ye(Me),ye(Oe),N))}}function op(s,c,l){return function(...f){const v=this.__v_raw,N=Gs(v),Y=Dc(N),le=s==="entries"||s===Symbol.iterator&&Y,ye=s==="keys"&&Y,Me=v[s](...f),Oe=l?wh:c?Fh:Jc;return!c&&fu(N,"iterate",ye?th:hc),{next(){const{value:st,done:mt}=Me.next();return mt?{value:st,done:mt}:{value:le?[Oe(st[0]),Oe(st[1])]:Oe(st),done:mt}},[Symbol.iterator](){return this}}}}function Xl(s){return function(...c){return s==="delete"?!1:this}}function Cg(){const s={get(N){return np(this,N)},get size(){return sp(this)},has:ip,add:Kh,set:Qh,delete:Yh,clear:Zh,forEach:ap(!1,!1)},c={get(N){return np(this,N,!1,!0)},get size(){return sp(this)},has:ip,add:Kh,set:Qh,delete:Yh,clear:Zh,forEach:ap(!1,!0)},l={get(N){return np(this,N,!0)},get size(){return sp(this,!0)},has(N){return ip.call(this,N,!0)},add:Xl("add"),set:Xl("set"),delete:Xl("delete"),clear:Xl("clear"),forEach:ap(!0,!1)},f={get(N){return np(this,N,!0,!0)},get size(){return sp(this,!0)},has(N){return ip.call(this,N,!0)},add:Xl("add"),set:Xl("set"),delete:Xl("delete"),clear:Xl("clear"),forEach:ap(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(N=>{s[N]=op(N,!1,!1),l[N]=op(N,!0,!1),c[N]=op(N,!1,!0),f[N]=op(N,!0,!0)}),[s,l,c,f]}const[Eg,bg,Ag,wg]=Cg();function Th(s,c){const l=c?s?wg:Ag:s?bg:Eg;return(f,v,N)=>v==="__v_isReactive"?!s:v==="__v_isReadonly"?s:v==="__v_raw"?f:Reflect.get(Rs(l,v)&&v in f?l:f,v,N)}const Tg={get:Th(!1,!1)},Sg={get:Th(!1,!0)},Fg={get:Th(!0,!1)},Cd=new WeakMap,Ed=new WeakMap,bd=new WeakMap,kg=new WeakMap;function Pg(s){switch(s){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ng(s){return s.__v_skip||!Object.isExtensible(s)?0:Pg(Ym(s))}function Nc(s){return Ec(s)?s:Sh(s,!1,xd,Tg,Cd)}function Bg(s){return Sh(s,!1,xg,Sg,Ed)}function Ad(s){return Sh(s,!0,vg,Fg,bd)}function Sh(s,c,l,f,v){if(!ca(s)||s.__v_raw&&!(c&&s.__v_isReactive))return s;const N=v.get(s);if(N)return N;const Y=Ng(s);if(Y===0)return s;const le=new Proxy(s,Y===2?f:l);return v.set(s,le),le}function vc(s){return Ec(s)?vc(s.__v_raw):!!(s&&s.__v_isReactive)}function Ec(s){return!!(s&&s.__v_isReadonly)}function yp(s){return!!(s&&s.__v_isShallow)}function wd(s){return vc(s)||Ec(s)}function Gs(s){const c=s&&s.__v_raw;return c?Gs(c):s}function Td(s){return gp(s,"__v_skip",!0),s}const Jc=s=>ca(s)?Nc(s):s,Fh=s=>ca(s)?Ad(s):s;function Sd(s){Yl&&Xu&&(s=Gs(s),yd(s.dep||(s.dep=Eh())))}function Fd(s,c){s=Gs(s),s.dep&&rh(s.dep)}function Na(s){return!!(s&&s.__v_isRef===!0)}function Ba(s){return kd(s,!1)}function zc(s){return kd(s,!0)}function kd(s,c){return Na(s)?s:new _g(s,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:Jc(c)}get value(){return Sd(this),this._value}set value(c){const l=this.__v_isShallow||yp(c)||Ec(c);c=l?c:Gs(c),Xc(c,this._rawValue)&&(this._rawValue=c,this._value=l?c:Jc(c),Fd(this))}}function bs(s){return Na(s)?s.value:s}const Ig={get:(s,c,l)=>bs(Reflect.get(s,c,l)),set:(s,c,l,f)=>{const v=s[c];return Na(v)&&!Na(l)?(v.value=l,!0):Reflect.set(s,c,l,f)}};function Pd(s){return vc(s)?s:new Proxy(s,Ig)}function Og(s){const c=cs(s)?new Array(s.length):{};for(const l in s)c[l]=Mg(s,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(s,c,l){const f=s[c];return Na(f)?f:new Lg(s,c,l)}var Nd;class jg{constructor(c,l,f,v){this._setter=l,this.dep=void 0,this.__v_isRef=!0,this[Nd]=!1,this._dirty=!0,this.effect=new bh(c,()=>{this._dirty||(this._dirty=!0,Fd(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!v,this.__v_isReadonly=f}get value(){const c=Gs(this);return Sd(c),(c._dirty||!c._cacheable)&&(c._dirty=!1,c._value=c.effect.run()),c._value}set value(c){this._setter(c)}}Nd="__v_isReadonly";function Rg(s,c,l=!1){let f,v;const N=Ss(s);return N?(f=s,v=Ku):(f=s.get,v=s.set),new jg(f,v,N||!v,l)}function Zl(s,c,l,f){let v;try{v=f?s(...f):s()}catch(N){Ip(N,c,l)}return v}function Qu(s,c,l,f){if(Ss(s)){const N=Zl(s,c,l,f);return N&&pd(N)&&N.catch(Y=>{Ip(Y,c,l)}),N}const v=[];for(let N=0;N<s.length;N++)v.push(Qu(s[N],c,l,f));return v}function Ip(s,c,l,f=!0){const v=c?c.vnode:null;if(c){let N=c.parent;const Y=c.proxy,le=l;for(;N;){const Me=N.ec;if(Me){for(let Oe=0;Oe<Me.length;Oe++)if(Me[Oe](s,Y,le)===!1)return}N=N.parent}const ye=c.appContext.config.errorHandler;if(ye){Zl(ye,null,10,[s,Y,le]);return}}Ug(s,l,v,f)}function Ug(s,c,l,f=!0){console.error(s)}let Kc=!1,nh=!1;const yo=[];let Dl=0;const xc=[];let Ml=null,lc=0;const Bd=Promise.resolve();let kh=null;function Ph(s){const c=kh||Bd;return s?c.then(this?s.bind(this):s):c}function zg(s){let c=Dl+1,l=yo.length;for(;c<l;){const f=c+l>>>1;Qc(yo[f])<s?c=f+1:l=f}return c}function Nh(s){(!yo.length||!yo.includes(s,Kc&&s.allowRecurse?Dl+1:Dl))&&(s.id==null?yo.push(s):yo.splice(zg(s.id),0,s),_d())}function _d(){!Kc&&!nh&&(nh=!0,kh=Bd.then(Od))}function Hg(s){const c=yo.indexOf(s);c>Dl&&yo.splice(c,1)}function $g(s){cs(s)?xc.push(...s):(!Ml||!Ml.includes(s,s.allowRecurse?lc+1:lc))&&xc.push(s),_d()}function ef(s,c=Kc?Dl+1:0){for(;c<yo.length;c++){const l=yo[c];l&&l.pre&&(yo.splice(c,1),c--,l())}}function Id(s){if(xc.length){const c=[...new Set(xc)];if(xc.length=0,Ml){Ml.push(...c);return}for(Ml=c,Ml.sort((l,f)=>Qc(l)-Qc(f)),lc=0;lc<Ml.length;lc++)Ml[lc]();Ml=null,lc=0}}const Qc=s=>s.id==null?1/0:s.id,qg=(s,c)=>{const l=Qc(s)-Qc(c);if(l===0){if(s.pre&&!c.pre)return-1;if(c.pre&&!s.pre)return 1}return l};function Od(s){nh=!1,Kc=!0,yo.sort(qg);const c=Ku;try{for(Dl=0;Dl<yo.length;Dl++){const l=yo[Dl];l&&l.active!==!1&&Zl(l,null,14)}}finally{Dl=0,yo.length=0,Id(),Kc=!1,kh=null,(yo.length||xc.length)&&Od()}}function Vg(s,c,...l){if(s.isUnmounted)return;const f=s.vnode.props||oa;let v=l;const N=c.startsWith("update:"),Y=N&&c.slice(7);if(Y&&Y in f){const Oe=`${Y==="modelValue"?"model":Y}Modifiers`,{number:st,trim:mt}=f[Oe]||oa;mt&&(v=l.map(St=>St.trim())),st&&(v=l.map(tg))}let le,ye=f[le=Vp(c)]||f[le=Vp(vl(c))];!ye&&N&&(ye=f[le=Vp(Fc(c))]),ye&&Qu(ye,s,6,v);const Me=f[le+"Once"];if(Me){if(!s.emitted)s.emitted={};else if(s.emitted[le])return;s.emitted[le]=!0,Qu(Me,s,6,v)}}function Ld(s,c,l=!1){const f=c.emitsCache,v=f.get(s);if(v!==void 0)return v;const N=s.emits;let Y={},le=!1;if(!Ss(s)){const ye=Me=>{const Oe=Ld(Me,c,!0);Oe&&(le=!0,No(Y,Oe))};!l&&c.mixins.length&&c.mixins.forEach(ye),s.extends&&ye(s.extends),s.mixins&&s.mixins.forEach(ye)}return!N&&!le?(ca(s)&&f.set(s,null),null):(cs(N)?N.forEach(ye=>Y[ye]=null):No(Y,N),ca(s)&&f.set(s,Y),Y)}function Op(s,c){return!s||!kp(c)?!1:(c=c.slice(2).replace(/Once$/,""),Rs(s,c[0].toLowerCase()+c.slice(1))||Rs(s,Fc(c))||Rs(s,c))}let Do=null,Md=null;function Dp(s){const c=Do;return Do=s,Md=s&&s.type.__scopeId||null,c}function jl(s,c=Do,l){if(!c||s._n)return s;const f=(...v)=>{f._d&&hf(-1);const N=Dp(c),Y=s(...v);return Dp(N),f._d&&hf(1),Y};return f._n=!0,f._c=!0,f._d=!0,f}function Wp(s){const{type:c,vnode:l,proxy:f,withProxy:v,props:N,propsOptions:[Y],slots:le,attrs:ye,emit:Me,render:Oe,renderCache:st,data:mt,setupState:St,ctx:Wt,inheritAttrs:Zt}=s;let Jr,bt;const Ot=Dp(s);try{if(l.shapeFlag&4){const Ar=v||f;Jr=yl(Oe.call(Ar,Ar,st,N,St,mt,Wt)),bt=ye}else{const Ar=c;Jr=yl(Ar.length>1?Ar(N,{attrs:ye,slots:le,emit:Me}):Ar(N,null)),bt=c.props?ye:Wg(ye)}}catch(Ar){$c.length=0,Ip(Ar,s,1),Jr=ra(tc)}let $t=Jr;if(bt&&Zt!==!1){const Ar=Object.keys(bt),{shapeFlag:un}=$t;Ar.length&&un&7&&(Y&&Ar.some(vh)&&(bt=Gg(bt,Y)),$t=Ac($t,bt))}return l.dirs&&($t=Ac($t),$t.dirs=$t.dirs?$t.dirs.concat(l.dirs):l.dirs),l.transition&&($t.transition=l.transition),Jr=$t,Dp(Ot),Jr}const Wg=s=>{let c;for(const l in s)(l==="class"||l==="style"||kp(l))&&((c||(c={}))[l]=s[l]);return c},Gg=(s,c)=>{const l={};for(const f in s)(!vh(f)||!(f.slice(9)in c))&&(l[f]=s[f]);return l};function Xg(s,c,l){const{props:f,children:v,component:N}=s,{props:Y,children:le,patchFlag:ye}=c,Me=N.emitsOptions;if(c.dirs||c.transition)return!0;if(l&&ye>=0){if(ye&1024)return!0;if(ye&16)return f?tf(f,Y,Me):!!Y;if(ye&8){const Oe=c.dynamicProps;for(let st=0;st<Oe.length;st++){const mt=Oe[st];if(Y[mt]!==f[mt]&&!Op(Me,mt))return!0}}}else return(v||le)&&(!le||!le.$stable)?!0:f===Y?!1:f?Y?tf(f,Y,Me):!0:!!Y;return!1}function tf(s,c,l){const f=Object.keys(c);if(f.length!==Object.keys(s).length)return!0;for(let v=0;v<f.length;v++){const N=f[v];if(c[N]!==s[N]&&!Op(l,N))return!0}return!1}function Jg({vnode:s,parent:c},l){for(;c&&c.subTree===s;)(s=c.vnode).el=l,c=c.parent}const Kg=s=>s.__isSuspense;function Qg(s,c){c&&c.pendingBranch?cs(s)?c.effects.push(...s):c.effects.push(s):$g(s)}function hp(s,c){if(no){let l=no.provides;const f=no.parent&&no.parent.provides;f===l&&(l=no.provides=Object.create(f)),l[s]=c}}function Rl(s,c,l=!1){const f=no||Do;if(f){const v=f.parent==null?f.vnode.appContext&&f.vnode.appContext.provides:f.parent.provides;if(v&&s in v)return v[s];if(arguments.length>1)return l&&Ss(c)?c.call(f.proxy):c}}function jd(s,c){return Bh(s,null,c)}const rf={};function Ya(s,c,l){return Bh(s,c,l)}function Bh(s,c,{immediate:l,deep:f,flush:v,onTrack:N,onTrigger:Y}=oa){const le=no;let ye,Me=!1,Oe=!1;if(Na(s)?(ye=()=>s.value,Me=yp(s)):vc(s)?(ye=()=>s,f=!0):cs(s)?(Oe=!0,Me=s.some(bt=>vc(bt)||yp(bt)),ye=()=>s.map(bt=>{if(Na(bt))return bt.value;if(vc(bt))return pc(bt);if(Ss(bt))return Zl(bt,le,2)})):Ss(s)?c?ye=()=>Zl(s,le,2):ye=()=>{if(!(le&&le.isUnmounted))return st&&st(),Qu(s,le,3,[mt])}:ye=Ku,c&&f){const bt=ye;ye=()=>pc(bt())}let st,mt=bt=>{st=Jr.onStop=()=>{Zl(bt,le,4)}};if(Zc)return mt=Ku,c?l&&Qu(c,le,3,[ye(),Oe?[]:void 0,mt]):ye(),Ku;let St=Oe?[]:rf;const Wt=()=>{if(!!Jr.active)if(c){const bt=Jr.run();(f||Me||(Oe?bt.some((Ot,$t)=>Xc(Ot,St[$t])):Xc(bt,St)))&&(st&&st(),Qu(c,le,3,[bt,St===rf?void 0:St,mt]),St=bt)}else Jr.run()};Wt.allowRecurse=!!c;let Zt;v==="sync"?Zt=Wt:v==="post"?Zt=()=>Zo(Wt,le&&le.suspense):(Wt.pre=!0,le&&(Wt.id=le.uid),Zt=()=>Nh(Wt));const Jr=new bh(ye,Zt);return c?l?Wt():St=Jr.run():v==="post"?Zo(Jr.run.bind(Jr),le&&le.suspense):Jr.run(),()=>{Jr.stop(),le&&le.scope&&xh(le.scope.effects,Jr)}}function Yg(s,c,l){const f=this.proxy,v=io(s)?s.includes(".")?Rd(f,s):()=>f[s]:s.bind(f,f);let N;Ss(c)?N=c:(N=c.handler,l=c);const Y=no;wc(this);const le=Bh(v,N.bind(f),l);return Y?wc(Y):fc(),le}function Rd(s,c){const l=c.split(".");return()=>{let f=s;for(let v=0;v<l.length&&f;v++)f=f[l[v]];return f}}function pc(s,c){if(!ca(s)||s.__v_skip||(c=c||new Set,c.has(s)))return s;if(c.add(s),Na(s))pc(s.value,c);else if(cs(s))for(let l=0;l<s.length;l++)pc(s[l],c);else if(Pp(s)||Dc(s))s.forEach(l=>{pc(l,c)});else if(fd(s))for(const l in s)pc(s[l],c);return s}function Zu(s){return Ss(s)?{setup:s,name:s.name}:s}const Hc=s=>!!s.type.__asyncLoader,Ud=s=>s.type.__isKeepAlive;function Zg(s,c){zd(s,"a",c)}function e0(s,c){zd(s,"da",c)}function zd(s,c,l=no){const f=s.__wdc||(s.__wdc=()=>{let v=l;for(;v;){if(v.isDeactivated)return;v=v.parent}return s()});if(Lp(c,f,l),l){let v=l.parent;for(;v&&v.parent;)Ud(v.parent.vnode)&&t0(f,c,l,v),v=v.parent}}function t0(s,c,l,f){const v=Lp(c,s,f,!0);Hd(()=>{xh(f[c],v)},l)}function Lp(s,c,l=no,f=!1){if(l){const v=l[s]||(l[s]=[]),N=c.__weh||(c.__weh=(...Y)=>{if(l.isUnmounted)return;kc(),wc(l);const le=Qu(c,l,s,Y);return fc(),Pc(),le});return f?v.unshift(N):v.push(N),N}}const $l=s=>(c,l=no)=>(!Zc||s==="sp")&&Lp(s,(...f)=>c(...f),l),r0=$l("bm"),_h=$l("m"),n0=$l("bu"),i0=$l("u"),s0=$l("bum"),Hd=$l("um"),a0=$l("sp"),o0=$l("rtg"),u0=$l("rtc");function l0(s,c=no){Lp("ec",s,c)}function c0(s,c){const l=Do;if(l===null)return s;const f=jp(l)||l.proxy,v=s.dirs||(s.dirs=[]);for(let N=0;N<c.length;N++){let[Y,le,ye,Me=oa]=c[N];Ss(Y)&&(Y={mounted:Y,updated:Y}),Y.deep&&pc(le),v.push({dir:Y,instance:f,value:le,oldValue:void 0,arg:ye,modifiers:Me})}return s}function ac(s,c,l,f){const v=s.dirs,N=c&&c.dirs;for(let Y=0;Y<v.length;Y++){const le=v[Y];N&&(le.oldValue=N[Y].value);let ye=le.dir[f];ye&&(kc(),Qu(ye,l,8,[s.el,le,s,c]),Pc())}}const $d="components";function vp(s,c){return h0($d,s,!0,c)||s}const p0=Symbol();function h0(s,c,l=!0,f=!1){const v=Do||no;if(v){const N=v.type;if(s===$d){const le=z0(N,!1);if(le&&(le===c||le===vl(c)||le===Bp(vl(c))))return N}const Y=nf(v[s]||N[s],c)||nf(v.appContext[s],c);return!Y&&f?N:Y}}function nf(s,c){return s&&(s[c]||s[vl(c)]||s[Bp(vl(c))])}function sf(s,c,l,f){let v;const N=l&&l[f];if(cs(s)||io(s)){v=new Array(s.length);for(let Y=0,le=s.length;Y<le;Y++)v[Y]=c(s[Y],Y,void 0,N&&N[Y])}else if(typeof s=="number"){v=new Array(s);for(let Y=0;Y<s;Y++)v[Y]=c(Y+1,Y,void 0,N&&N[Y])}else if(ca(s))if(s[Symbol.iterator])v=Array.from(s,(Y,le)=>c(Y,le,void 0,N&&N[le]));else{const Y=Object.keys(s);v=new Array(Y.length);for(let le=0,ye=Y.length;le<ye;le++){const Me=Y[le];v[le]=c(s[Me],Me,le,N&&N[le])}}else v=[];return l&&(l[f]=v),v}function xp(s,c,l={},f,v){if(Do.isCE||Do.parent&&Hc(Do.parent)&&Do.parent.isCE)return ra("slot",c==="default"?null:{name:c},f&&f());let N=s[c];N&&N._c&&(N._d=!1),ya();const Y=N&&qd(N(l)),le=bc(eu,{key:l.key||Y&&Y.key||`_${c}`},Y||(f?f():[]),Y&&s._===1?64:-2);return!v&&le.scopeId&&(le.slotScopeIds=[le.scopeId+"-s"]),N&&N._c&&(N._d=!0),le}function qd(s){return s.some(c=>bp(c)?!(c.type===tc||c.type===eu&&!qd(c.children)):!0)?s:null}const ih=s=>s?rm(s)?jp(s)||s.proxy:ih(s.parent):null,Cp=No(Object.create(null),{$:s=>s,$el:s=>s.vnode.el,$data:s=>s.data,$props:s=>s.props,$attrs:s=>s.attrs,$slots:s=>s.slots,$refs:s=>s.refs,$parent:s=>ih(s.parent),$root:s=>ih(s.root),$emit:s=>s.emit,$options:s=>Ih(s),$forceUpdate:s=>s.f||(s.f=()=>Nh(s.update)),$nextTick:s=>s.n||(s.n=Ph.bind(s.proxy)),$watch:s=>Yg.bind(s)}),f0={get({_:s},c){const{ctx:l,setupState:f,data:v,props:N,accessCache:Y,type:le,appContext:ye}=s;let Me;if(c[0]!=="$"){const St=Y[c];if(St!==void 0)switch(St){case 1:return f[c];case 2:return v[c];case 4:return l[c];case 3:return N[c]}else{if(f!==oa&&Rs(f,c))return Y[c]=1,f[c];if(v!==oa&&Rs(v,c))return Y[c]=2,v[c];if((Me=s.propsOptions[0])&&Rs(Me,c))return Y[c]=3,N[c];if(l!==oa&&Rs(l,c))return Y[c]=4,l[c];sh&&(Y[c]=0)}}const Oe=Cp[c];let st,mt;if(Oe)return c==="$attrs"&&fu(s,"get",c),Oe(s);if((st=le.__cssModules)&&(st=st[c]))return st;if(l!==oa&&Rs(l,c))return Y[c]=4,l[c];if(mt=ye.config.globalProperties,Rs(mt,c))return mt[c]},set({_:s},c,l){const{data:f,setupState:v,ctx:N}=s;return v!==oa&&Rs(v,c)?(v[c]=l,!0):f!==oa&&Rs(f,c)?(f[c]=l,!0):Rs(s.props,c)||c[0]==="$"&&c.slice(1)in s?!1:(N[c]=l,!0)},has({_:{data:s,setupState:c,accessCache:l,ctx:f,appContext:v,propsOptions:N}},Y){let le;return!!l[Y]||s!==oa&&Rs(s,Y)||c!==oa&&Rs(c,Y)||(le=N[0])&&Rs(le,Y)||Rs(f,Y)||Rs(Cp,Y)||Rs(v.config.globalProperties,Y)},defineProperty(s,c,l){return l.get!=null?s._.accessCache[c]=0:Rs(l,"value")&&this.set(s,c,l.value,null),Reflect.defineProperty(s,c,l)}};let sh=!0;function d0(s){const c=Ih(s),l=s.proxy,f=s.ctx;sh=!1,c.beforeCreate&&af(c.beforeCreate,s,"bc");const{data:v,computed:N,methods:Y,watch:le,provide:ye,inject:Me,created:Oe,beforeMount:st,mounted:mt,beforeUpdate:St,updated:Wt,activated:Zt,deactivated:Jr,beforeDestroy:bt,beforeUnmount:Ot,destroyed:$t,unmounted:Ar,render:un,renderTracked:Kn,renderTriggered:bn,errorCaptured:oi,serverPrefetch:fi,expose:Wn,inheritAttrs:Un,components:gi,directives:vr,filters:kn}=c;if(Me&&m0(Me,f,null,s.appContext.config.unwrapInjectedRef),Y)for(const cr in Y){const Pn=Y[cr];Ss(Pn)&&(f[cr]=Pn.bind(l))}if(v){const cr=v.call(l,l);ca(cr)&&(s.data=Nc(cr))}if(sh=!0,N)for(const cr in N){const Pn=N[cr],ii=Ss(Pn)?Pn.bind(l,l):Ss(Pn.get)?Pn.get.bind(l,l):Ku,Zi=!Ss(Pn)&&Ss(Pn.set)?Pn.set.bind(l):Ku,gs=Zs({get:ii,set:Zi});Object.defineProperty(f,cr,{enumerable:!0,configurable:!0,get:()=>gs.value,set:As=>gs.value=As})}if(le)for(const cr in le)Vd(le[cr],f,l,cr);if(ye){const cr=Ss(ye)?ye.call(l):ye;Reflect.ownKeys(cr).forEach(Pn=>{hp(Pn,cr[Pn])})}Oe&&af(Oe,s,"c");function nn(cr,Pn){cs(Pn)?Pn.forEach(ii=>cr(ii.bind(l))):Pn&&cr(Pn.bind(l))}if(nn(r0,st),nn(_h,mt),nn(n0,St),nn(i0,Wt),nn(Zg,Zt),nn(e0,Jr),nn(l0,oi),nn(u0,Kn),nn(o0,bn),nn(s0,Ot),nn(Hd,Ar),nn(a0,fi),cs(Wn))if(Wn.length){const cr=s.exposed||(s.exposed={});Wn.forEach(Pn=>{Object.defineProperty(cr,Pn,{get:()=>l[Pn],set:ii=>l[Pn]=ii})})}else s.exposed||(s.exposed={});un&&s.render===Ku&&(s.render=un),Un!=null&&(s.inheritAttrs=Un),gi&&(s.components=gi),vr&&(s.directives=vr)}function m0(s,c,l=Ku,f=!1){cs(s)&&(s=ah(s));for(const v in s){const N=s[v];let Y;ca(N)?"default"in N?Y=Rl(N.from||v,N.default,!0):Y=Rl(N.from||v):Y=Rl(N),Na(Y)&&f?Object.defineProperty(c,v,{enumerable:!0,configurable:!0,get:()=>Y.value,set:le=>Y.value=le}):c[v]=Y}}function af(s,c,l){Qu(cs(s)?s.map(f=>f.bind(c.proxy)):s.bind(c.proxy),c,l)}function Vd(s,c,l,f){const v=f.includes(".")?Rd(l,f):()=>l[f];if(io(s)){const N=c[s];Ss(N)&&Ya(v,N)}else if(Ss(s))Ya(v,s.bind(l));else if(ca(s))if(cs(s))s.forEach(N=>Vd(N,c,l,f));else{const N=Ss(s.handler)?s.handler.bind(l):c[s.handler];Ss(N)&&Ya(v,N,s)}}function Ih(s){const c=s.type,{mixins:l,extends:f}=c,{mixins:v,optionsCache:N,config:{optionMergeStrategies:Y}}=s.appContext,le=N.get(c);let ye;return le?ye=le:!v.length&&!l&&!f?ye=c:(ye={},v.length&&v.forEach(Me=>Ep(ye,Me,Y,!0)),Ep(ye,c,Y)),ca(c)&&N.set(c,ye),ye}function Ep(s,c,l,f=!1){const{mixins:v,extends:N}=c;N&&Ep(s,N,l,!0),v&&v.forEach(Y=>Ep(s,Y,l,!0));for(const Y in c)if(!(f&&Y==="expose")){const le=g0[Y]||l&&l[Y];s[Y]=le?le(s[Y],c[Y]):c[Y]}return s}const g0={data:of,props:uc,emits:uc,methods:uc,computed:uc,beforeCreate:Fo,created:Fo,beforeMount:Fo,mounted:Fo,beforeUpdate:Fo,updated:Fo,beforeDestroy:Fo,beforeUnmount:Fo,destroyed:Fo,unmounted:Fo,activated:Fo,deactivated:Fo,errorCaptured:Fo,serverPrefetch:Fo,components:uc,directives:uc,watch:D0,provide:of,inject:y0};function of(s,c){return c?s?function(){return No(Ss(s)?s.call(this,this):s,Ss(c)?c.call(this,this):c)}:c:s}function y0(s,c){return uc(ah(s),ah(c))}function ah(s){if(cs(s)){const c={};for(let l=0;l<s.length;l++)c[s[l]]=s[l];return c}return s}function Fo(s,c){return s?[...new Set([].concat(s,c))]:c}function uc(s,c){return s?No(No(Object.create(null),s),c):c}function D0(s,c){if(!s)return c;if(!c)return s;const l=No(Object.create(null),s);for(const f in c)l[f]=Fo(s[f],c[f]);return l}function v0(s,c,l,f=!1){const v={},N={};gp(N,Mp,1),s.propsDefaults=Object.create(null),Wd(s,c,v,N);for(const Y in s.propsOptions[0])Y in v||(v[Y]=void 0);l?s.props=f?v:Bg(v):s.type.props?s.props=v:s.props=N,s.attrs=N}function x0(s,c,l,f){const{props:v,attrs:N,vnode:{patchFlag:Y}}=s,le=Gs(v),[ye]=s.propsOptions;let Me=!1;if((f||Y>0)&&!(Y&16)){if(Y&8){const Oe=s.vnode.dynamicProps;for(let st=0;st<Oe.length;st++){let mt=Oe[st];if(Op(s.emitsOptions,mt))continue;const St=c[mt];if(ye)if(Rs(N,mt))St!==N[mt]&&(N[mt]=St,Me=!0);else{const Wt=vl(mt);v[Wt]=oh(ye,le,Wt,St,s,!1)}else St!==N[mt]&&(N[mt]=St,Me=!0)}}}else{Wd(s,c,v,N)&&(Me=!0);let Oe;for(const st in le)(!c||!Rs(c,st)&&((Oe=Fc(st))===st||!Rs(c,Oe)))&&(ye?l&&(l[st]!==void 0||l[Oe]!==void 0)&&(v[st]=oh(ye,le,st,void 0,s,!0)):delete v[st]);if(N!==le)for(const st in N)(!c||!Rs(c,st)&&!0)&&(delete N[st],Me=!0)}Me&&Ul(s,"set","$attrs")}function Wd(s,c,l,f){const[v,N]=s.propsOptions;let Y=!1,le;if(c)for(let ye in c){if(cp(ye))continue;const Me=c[ye];let Oe;v&&Rs(v,Oe=vl(ye))?!N||!N.includes(Oe)?l[Oe]=Me:(le||(le={}))[Oe]=Me:Op(s.emitsOptions,ye)||(!(ye in f)||Me!==f[ye])&&(f[ye]=Me,Y=!0)}if(N){const ye=Gs(l),Me=le||oa;for(let Oe=0;Oe<N.length;Oe++){const st=N[Oe];l[st]=oh(v,ye,st,Me[st],s,!Rs(Me,st))}}return Y}function oh(s,c,l,f,v,N){const Y=s[l];if(Y!=null){const le=Rs(Y,"default");if(le&&f===void 0){const ye=Y.default;if(Y.type!==Function&&Ss(ye)){const{propsDefaults:Me}=v;l in Me?f=Me[l]:(wc(v),f=Me[l]=ye.call(null,c),fc())}else f=ye}Y[0]&&(N&&!le?f=!1:Y[1]&&(f===""||f===Fc(l))&&(f=!0))}return f}function Gd(s,c,l=!1){const f=c.propsCache,v=f.get(s);if(v)return v;const N=s.props,Y={},le=[];let ye=!1;if(!Ss(s)){const Oe=st=>{ye=!0;const[mt,St]=Gd(st,c,!0);No(Y,mt),St&&le.push(...St)};!l&&c.mixins.length&&c.mixins.forEach(Oe),s.extends&&Oe(s.extends),s.mixins&&s.mixins.forEach(Oe)}if(!N&&!ye)return ca(s)&&f.set(s,yc),yc;if(cs(N))for(let Oe=0;Oe<N.length;Oe++){const st=vl(N[Oe]);uf(st)&&(Y[st]=oa)}else if(N)for(const Oe in N){const st=vl(Oe);if(uf(st)){const mt=N[Oe],St=Y[st]=cs(mt)||Ss(mt)?{type:mt}:mt;if(St){const Wt=pf(Boolean,St.type),Zt=pf(String,St.type);St[0]=Wt>-1,St[1]=Zt<0||Wt<Zt,(Wt>-1||Rs(St,"default"))&&le.push(st)}}}const Me=[Y,le];return ca(s)&&f.set(s,Me),Me}function uf(s){return s[0]!=="$"}function lf(s){const c=s&&s.toString().match(/^\s*function (\w+)/);return c?c[1]:s===null?"null":""}function cf(s,c){return lf(s)===lf(c)}function pf(s,c){return cs(c)?c.findIndex(l=>cf(l,s)):Ss(c)&&cf(c,s)?0:-1}const Xd=s=>s[0]==="_"||s==="$stable",Oh=s=>cs(s)?s.map(yl):[yl(s)],C0=(s,c,l)=>{if(c._n)return c;const f=jl((...v)=>Oh(c(...v)),l);return f._c=!1,f},Jd=(s,c,l)=>{const f=s._ctx;for(const v in s){if(Xd(v))continue;const N=s[v];if(Ss(N))c[v]=C0(v,N,f);else if(N!=null){const Y=Oh(N);c[v]=()=>Y}}},Kd=(s,c)=>{const l=Oh(c);s.slots.default=()=>l},E0=(s,c)=>{if(s.vnode.shapeFlag&32){const l=c._;l?(s.slots=Gs(c),gp(c,"_",l)):Jd(c,s.slots={})}else s.slots={},c&&Kd(s,c);gp(s.slots,Mp,1)},b0=(s,c,l)=>{const{vnode:f,slots:v}=s;let N=!0,Y=oa;if(f.shapeFlag&32){const le=c._;le?l&&le===1?N=!1:(No(v,c),!l&&le===1&&delete v._):(N=!c.$stable,Jd(c,v)),Y=c}else c&&(Kd(s,c),Y={default:1});if(N)for(const le in v)!Xd(le)&&!(le in Y)&&delete v[le]};function Qd(){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(s,c){return function(f,v=null){Ss(f)||(f=Object.assign({},f)),v!=null&&!ca(v)&&(v=null);const N=Qd(),Y=new Set;let le=!1;const ye=N.app={_uid:A0++,_component:f,_props:v,_container:null,_context:N,_instance:null,version:$0,get config(){return N.config},set config(Me){},use(Me,...Oe){return Y.has(Me)||(Me&&Ss(Me.install)?(Y.add(Me),Me.install(ye,...Oe)):Ss(Me)&&(Y.add(Me),Me(ye,...Oe))),ye},mixin(Me){return N.mixins.includes(Me)||N.mixins.push(Me),ye},component(Me,Oe){return Oe?(N.components[Me]=Oe,ye):N.components[Me]},directive(Me,Oe){return Oe?(N.directives[Me]=Oe,ye):N.directives[Me]},mount(Me,Oe,st){if(!le){const mt=ra(f,v);return mt.appContext=N,Oe&&c?c(mt,Me):s(mt,Me,st),le=!0,ye._container=Me,Me.__vue_app__=ye,jp(mt.component)||mt.component.proxy}},unmount(){le&&(s(null,ye._container),delete ye._container.__vue_app__)},provide(Me,Oe){return N.provides[Me]=Oe,ye}};return ye}}function uh(s,c,l,f,v=!1){if(cs(s)){s.forEach((mt,St)=>uh(mt,c&&(cs(c)?c[St]:c),l,f,v));return}if(Hc(f)&&!v)return;const N=f.shapeFlag&4?jp(f.component)||f.component.proxy:f.el,Y=v?null:N,{i:le,r:ye}=s,Me=c&&c.r,Oe=le.refs===oa?le.refs={}:le.refs,st=le.setupState;if(Me!=null&&Me!==ye&&(io(Me)?(Oe[Me]=null,Rs(st,Me)&&(st[Me]=null)):Na(Me)&&(Me.value=null)),Ss(ye))Zl(ye,le,12,[Y,Oe]);else{const mt=io(ye),St=Na(ye);if(mt||St){const Wt=()=>{if(s.f){const Zt=mt?Oe[ye]:ye.value;v?cs(Zt)&&xh(Zt,N):cs(Zt)?Zt.includes(N)||Zt.push(N):mt?(Oe[ye]=[N],Rs(st,ye)&&(st[ye]=Oe[ye])):(ye.value=[N],s.k&&(Oe[s.k]=ye.value))}else mt?(Oe[ye]=Y,Rs(st,ye)&&(st[ye]=Y)):St&&(ye.value=Y,s.k&&(Oe[s.k]=Y))};Y?(Wt.id=-1,Zo(Wt,l)):Wt()}}}const Zo=Qg;function T0(s){return S0(s)}function S0(s,c){const l=rg();l.__VUE__=!0;const{insert:f,remove:v,patchProp:N,createElement:Y,createText:le,createComment:ye,setText:Me,setElementText:Oe,parentNode:st,nextSibling:mt,setScopeId:St=Ku,insertStaticContent:Wt}=s,Zt=(Je,Tt,Nr,Vr=null,_r=null,on=null,Qr=!1,gn=null,zn=!!Tt.dynamicChildren)=>{if(Je===Tt)return;Je&&!Mc(Je,Tt)&&(Vr=Cr(Je),As(Je,_r,on,!0),Je=null),Tt.patchFlag===-2&&(zn=!1,Tt.dynamicChildren=null);const{type:Zr,ref:Ft,shapeFlag:Dr}=Tt;switch(Zr){case Lh:Jr(Je,Tt,Nr,Vr);break;case tc:bt(Je,Tt,Nr,Vr);break;case Gp:Je==null&&Ot(Tt,Nr,Vr,Qr);break;case eu:gi(Je,Tt,Nr,Vr,_r,on,Qr,gn,zn);break;default:Dr&1?un(Je,Tt,Nr,Vr,_r,on,Qr,gn,zn):Dr&6?vr(Je,Tt,Nr,Vr,_r,on,Qr,gn,zn):(Dr&64||Dr&128)&&Zr.process(Je,Tt,Nr,Vr,_r,on,Qr,gn,zn,Vn)}Ft!=null&&_r&&uh(Ft,Je&&Je.ref,on,Tt||Je,!Tt)},Jr=(Je,Tt,Nr,Vr)=>{if(Je==null)f(Tt.el=le(Tt.children),Nr,Vr);else{const _r=Tt.el=Je.el;Tt.children!==Je.children&&Me(_r,Tt.children)}},bt=(Je,Tt,Nr,Vr)=>{Je==null?f(Tt.el=ye(Tt.children||""),Nr,Vr):Tt.el=Je.el},Ot=(Je,Tt,Nr,Vr)=>{[Je.el,Je.anchor]=Wt(Je.children,Tt,Nr,Vr,Je.el,Je.anchor)},$t=({el:Je,anchor:Tt},Nr,Vr)=>{let _r;for(;Je&&Je!==Tt;)_r=mt(Je),f(Je,Nr,Vr),Je=_r;f(Tt,Nr,Vr)},Ar=({el:Je,anchor:Tt})=>{let Nr;for(;Je&&Je!==Tt;)Nr=mt(Je),v(Je),Je=Nr;v(Tt)},un=(Je,Tt,Nr,Vr,_r,on,Qr,gn,zn)=>{Qr=Qr||Tt.type==="svg",Je==null?Kn(Tt,Nr,Vr,_r,on,Qr,gn,zn):fi(Je,Tt,_r,on,Qr,gn,zn)},Kn=(Je,Tt,Nr,Vr,_r,on,Qr,gn)=>{let zn,Zr;const{type:Ft,props:Dr,shapeFlag:qt,transition:Gn,dirs:Ni}=Je;if(zn=Je.el=Y(Je.type,on,Dr&&Dr.is,Dr),qt&8?Oe(zn,Je.children):qt&16&&oi(Je.children,zn,null,Vr,_r,on&&Ft!=="foreignObject",Qr,gn),Ni&&ac(Je,null,Vr,"created"),Dr){for(const os in Dr)os!=="value"&&!cp(os)&&N(zn,os,null,Dr[os],on,Je.children,Vr,_r,$r);"value"in Dr&&N(zn,"value",null,Dr.value),(Zr=Dr.onVnodeBeforeMount)&&gl(Zr,Vr,Je)}bn(zn,Je,Je.scopeId,Qr,Vr),Ni&&ac(Je,null,Vr,"beforeMount");const ws=(!_r||_r&&!_r.pendingBranch)&&Gn&&!Gn.persisted;ws&&Gn.beforeEnter(zn),f(zn,Tt,Nr),((Zr=Dr&&Dr.onVnodeMounted)||ws||Ni)&&Zo(()=>{Zr&&gl(Zr,Vr,Je),ws&&Gn.enter(zn),Ni&&ac(Je,null,Vr,"mounted")},_r)},bn=(Je,Tt,Nr,Vr,_r)=>{if(Nr&&St(Je,Nr),Vr)for(let on=0;on<Vr.length;on++)St(Je,Vr[on]);if(_r){let on=_r.subTree;if(Tt===on){const Qr=_r.vnode;bn(Je,Qr,Qr.scopeId,Qr.slotScopeIds,_r.parent)}}},oi=(Je,Tt,Nr,Vr,_r,on,Qr,gn,zn=0)=>{for(let Zr=zn;Zr<Je.length;Zr++){const Ft=Je[Zr]=gn?Kl(Je[Zr]):yl(Je[Zr]);Zt(null,Ft,Tt,Nr,Vr,_r,on,Qr,gn)}},fi=(Je,Tt,Nr,Vr,_r,on,Qr)=>{const gn=Tt.el=Je.el;let{patchFlag:zn,dynamicChildren:Zr,dirs:Ft}=Tt;zn|=Je.patchFlag&16;const Dr=Je.props||oa,qt=Tt.props||oa;let Gn;Nr&&oc(Nr,!1),(Gn=qt.onVnodeBeforeUpdate)&&gl(Gn,Nr,Tt,Je),Ft&&ac(Tt,Je,Nr,"beforeUpdate"),Nr&&oc(Nr,!0);const Ni=_r&&Tt.type!=="foreignObject";if(Zr?Wn(Je.dynamicChildren,Zr,gn,Nr,Vr,Ni,on):Qr||Pn(Je,Tt,gn,null,Nr,Vr,Ni,on,!1),zn>0){if(zn&16)Un(gn,Tt,Dr,qt,Nr,Vr,_r);else if(zn&2&&Dr.class!==qt.class&&N(gn,"class",null,qt.class,_r),zn&4&&N(gn,"style",Dr.style,qt.style,_r),zn&8){const ws=Tt.dynamicProps;for(let os=0;os<ws.length;os++){const Fs=ws[os],ys=Dr[Fs],pa=qt[Fs];(pa!==ys||Fs==="value")&&N(gn,Fs,ys,pa,_r,Je.children,Nr,Vr,$r)}}zn&1&&Je.children!==Tt.children&&Oe(gn,Tt.children)}else!Qr&&Zr==null&&Un(gn,Tt,Dr,qt,Nr,Vr,_r);((Gn=qt.onVnodeUpdated)||Ft)&&Zo(()=>{Gn&&gl(Gn,Nr,Tt,Je),Ft&&ac(Tt,Je,Nr,"updated")},Vr)},Wn=(Je,Tt,Nr,Vr,_r,on,Qr)=>{for(let gn=0;gn<Tt.length;gn++){const zn=Je[gn],Zr=Tt[gn],Ft=zn.el&&(zn.type===eu||!Mc(zn,Zr)||zn.shapeFlag&70)?st(zn.el):Nr;Zt(zn,Zr,Ft,null,Vr,_r,on,Qr,!0)}},Un=(Je,Tt,Nr,Vr,_r,on,Qr)=>{if(Nr!==Vr){if(Nr!==oa)for(const gn in Nr)!cp(gn)&&!(gn in Vr)&&N(Je,gn,Nr[gn],null,Qr,Tt.children,_r,on,$r);for(const gn in Vr){if(cp(gn))continue;const zn=Vr[gn],Zr=Nr[gn];zn!==Zr&&gn!=="value"&&N(Je,gn,Zr,zn,Qr,Tt.children,_r,on,$r)}"value"in Vr&&N(Je,"value",Nr.value,Vr.value)}},gi=(Je,Tt,Nr,Vr,_r,on,Qr,gn,zn)=>{const Zr=Tt.el=Je?Je.el:le(""),Ft=Tt.anchor=Je?Je.anchor:le("");let{patchFlag:Dr,dynamicChildren:qt,slotScopeIds:Gn}=Tt;Gn&&(gn=gn?gn.concat(Gn):Gn),Je==null?(f(Zr,Nr,Vr),f(Ft,Nr,Vr),oi(Tt.children,Nr,Ft,_r,on,Qr,gn,zn)):Dr>0&&Dr&64&&qt&&Je.dynamicChildren?(Wn(Je.dynamicChildren,qt,Nr,_r,on,Qr,gn),(Tt.key!=null||_r&&Tt===_r.subTree)&&Yd(Je,Tt,!0)):Pn(Je,Tt,Nr,Ft,_r,on,Qr,gn,zn)},vr=(Je,Tt,Nr,Vr,_r,on,Qr,gn,zn)=>{Tt.slotScopeIds=gn,Je==null?Tt.shapeFlag&512?_r.ctx.activate(Tt,Nr,Vr,Qr,zn):kn(Tt,Nr,Vr,_r,on,Qr,zn):Te(Je,Tt,zn)},kn=(Je,Tt,Nr,Vr,_r,on,Qr)=>{const gn=Je.component=L0(Je,Vr,_r);if(Ud(Je)&&(gn.ctx.renderer=Vn),M0(gn),gn.asyncDep){if(_r&&_r.registerDep(gn,nn),!Je.el){const zn=gn.subTree=ra(tc);bt(null,zn,Tt,Nr)}return}nn(gn,Je,Tt,Nr,_r,on,Qr)},Te=(Je,Tt,Nr)=>{const Vr=Tt.component=Je.component;if(Xg(Je,Tt,Nr))if(Vr.asyncDep&&!Vr.asyncResolved){cr(Vr,Tt,Nr);return}else Vr.next=Tt,Hg(Vr.update),Vr.update();else Tt.el=Je.el,Vr.vnode=Tt},nn=(Je,Tt,Nr,Vr,_r,on,Qr)=>{const gn=()=>{if(Je.isMounted){let{next:Ft,bu:Dr,u:qt,parent:Gn,vnode:Ni}=Je,ws=Ft,os;oc(Je,!1),Ft?(Ft.el=Ni.el,cr(Je,Ft,Qr)):Ft=Ni,Dr&&pp(Dr),(os=Ft.props&&Ft.props.onVnodeBeforeUpdate)&&gl(os,Gn,Ft,Ni),oc(Je,!0);const Fs=Wp(Je),ys=Je.subTree;Je.subTree=Fs,Zt(ys,Fs,st(ys.el),Cr(ys),Je,_r,on),Ft.el=Fs.el,ws===null&&Jg(Je,Fs.el),qt&&Zo(qt,_r),(os=Ft.props&&Ft.props.onVnodeUpdated)&&Zo(()=>gl(os,Gn,Ft,Ni),_r)}else{let Ft;const{el:Dr,props:qt}=Tt,{bm:Gn,m:Ni,parent:ws}=Je,os=Hc(Tt);if(oc(Je,!1),Gn&&pp(Gn),!os&&(Ft=qt&&qt.onVnodeBeforeMount)&&gl(Ft,ws,Tt),oc(Je,!0),Dr&&Rn){const Fs=()=>{Je.subTree=Wp(Je),Rn(Dr,Je.subTree,Je,_r,null)};os?Tt.type.__asyncLoader().then(()=>!Je.isUnmounted&&Fs()):Fs()}else{const Fs=Je.subTree=Wp(Je);Zt(null,Fs,Nr,Vr,Je,_r,on),Tt.el=Fs.el}if(Ni&&Zo(Ni,_r),!os&&(Ft=qt&&qt.onVnodeMounted)){const Fs=Tt;Zo(()=>gl(Ft,ws,Fs),_r)}(Tt.shapeFlag&256||ws&&Hc(ws.vnode)&&ws.vnode.shapeFlag&256)&&Je.a&&Zo(Je.a,_r),Je.isMounted=!0,Tt=Nr=Vr=null}},zn=Je.effect=new bh(gn,()=>Nh(Zr),Je.scope),Zr=Je.update=()=>zn.run();Zr.id=Je.uid,oc(Je,!0),Zr()},cr=(Je,Tt,Nr)=>{Tt.component=Je;const Vr=Je.vnode.props;Je.vnode=Tt,Je.next=null,x0(Je,Tt.props,Vr,Nr),b0(Je,Tt.children,Nr),kc(),ef(),Pc()},Pn=(Je,Tt,Nr,Vr,_r,on,Qr,gn,zn=!1)=>{const Zr=Je&&Je.children,Ft=Je?Je.shapeFlag:0,Dr=Tt.children,{patchFlag:qt,shapeFlag:Gn}=Tt;if(qt>0){if(qt&128){Zi(Zr,Dr,Nr,Vr,_r,on,Qr,gn,zn);return}else if(qt&256){ii(Zr,Dr,Nr,Vr,_r,on,Qr,gn,zn);return}}Gn&8?(Ft&16&&$r(Zr,_r,on),Dr!==Zr&&Oe(Nr,Dr)):Ft&16?Gn&16?Zi(Zr,Dr,Nr,Vr,_r,on,Qr,gn,zn):$r(Zr,_r,on,!0):(Ft&8&&Oe(Nr,""),Gn&16&&oi(Dr,Nr,Vr,_r,on,Qr,gn,zn))},ii=(Je,Tt,Nr,Vr,_r,on,Qr,gn,zn)=>{Je=Je||yc,Tt=Tt||yc;const Zr=Je.length,Ft=Tt.length,Dr=Math.min(Zr,Ft);let qt;for(qt=0;qt<Dr;qt++){const Gn=Tt[qt]=zn?Kl(Tt[qt]):yl(Tt[qt]);Zt(Je[qt],Gn,Nr,null,_r,on,Qr,gn,zn)}Zr>Ft?$r(Je,_r,on,!0,!1,Dr):oi(Tt,Nr,Vr,_r,on,Qr,gn,zn,Dr)},Zi=(Je,Tt,Nr,Vr,_r,on,Qr,gn,zn)=>{let Zr=0;const Ft=Tt.length;let Dr=Je.length-1,qt=Ft-1;for(;Zr<=Dr&&Zr<=qt;){const Gn=Je[Zr],Ni=Tt[Zr]=zn?Kl(Tt[Zr]):yl(Tt[Zr]);if(Mc(Gn,Ni))Zt(Gn,Ni,Nr,null,_r,on,Qr,gn,zn);else break;Zr++}for(;Zr<=Dr&&Zr<=qt;){const Gn=Je[Dr],Ni=Tt[qt]=zn?Kl(Tt[qt]):yl(Tt[qt]);if(Mc(Gn,Ni))Zt(Gn,Ni,Nr,null,_r,on,Qr,gn,zn);else break;Dr--,qt--}if(Zr>Dr){if(Zr<=qt){const Gn=qt+1,Ni=Gn<Ft?Tt[Gn].el:Vr;for(;Zr<=qt;)Zt(null,Tt[Zr]=zn?Kl(Tt[Zr]):yl(Tt[Zr]),Nr,Ni,_r,on,Qr,gn,zn),Zr++}}else if(Zr>qt)for(;Zr<=Dr;)As(Je[Zr],_r,on,!0),Zr++;else{const Gn=Zr,Ni=Zr,ws=new Map;for(Zr=Ni;Zr<=qt;Zr++){const wr=Tt[Zr]=zn?Kl(Tt[Zr]):yl(Tt[Zr]);wr.key!=null&&ws.set(wr.key,Zr)}let os,Fs=0;const ys=qt-Ni+1;let pa=!1,Xn=0;const Fr=new Array(ys);for(Zr=0;Zr<ys;Zr++)Fr[Zr]=0;for(Zr=Gn;Zr<=Dr;Zr++){const wr=Je[Zr];if(Fs>=ys){As(wr,_r,on,!0);continue}let Xr;if(wr.key!=null)Xr=ws.get(wr.key);else for(os=Ni;os<=qt;os++)if(Fr[os-Ni]===0&&Mc(wr,Tt[os])){Xr=os;break}Xr===void 0?As(wr,_r,on,!0):(Fr[Xr-Ni]=Zr+1,Xr>=Xn?Xn=Xr:pa=!0,Zt(wr,Tt[Xr],Nr,null,_r,on,Qr,gn,zn),Fs++)}const Br=pa?F0(Fr):yc;for(os=Br.length-1,Zr=ys-1;Zr>=0;Zr--){const wr=Ni+Zr,Xr=Tt[wr],Lt=wr+1<Ft?Tt[wr+1].el:Vr;Fr[Zr]===0?Zt(null,Xr,Nr,Lt,_r,on,Qr,gn,zn):pa&&(os<0||Zr!==Br[os]?gs(Xr,Nr,Lt,2):os--)}}},gs=(Je,Tt,Nr,Vr,_r=null)=>{const{el:on,type:Qr,transition:gn,children:zn,shapeFlag:Zr}=Je;if(Zr&6){gs(Je.component.subTree,Tt,Nr,Vr);return}if(Zr&128){Je.suspense.move(Tt,Nr,Vr);return}if(Zr&64){Qr.move(Je,Tt,Nr,Vn);return}if(Qr===eu){f(on,Tt,Nr);for(let Dr=0;Dr<zn.length;Dr++)gs(zn[Dr],Tt,Nr,Vr);f(Je.anchor,Tt,Nr);return}if(Qr===Gp){$t(Je,Tt,Nr);return}if(Vr!==2&&Zr&1&&gn)if(Vr===0)gn.beforeEnter(on),f(on,Tt,Nr),Zo(()=>gn.enter(on),_r);else{const{leave:Dr,delayLeave:qt,afterLeave:Gn}=gn,Ni=()=>f(on,Tt,Nr),ws=()=>{Dr(on,()=>{Ni(),Gn&&Gn()})};qt?qt(on,Ni,ws):ws()}else f(on,Tt,Nr)},As=(Je,Tt,Nr,Vr=!1,_r=!1)=>{const{type:on,props:Qr,ref:gn,children:zn,dynamicChildren:Zr,shapeFlag:Ft,patchFlag:Dr,dirs:qt}=Je;if(gn!=null&&uh(gn,null,Nr,Je,!0),Ft&256){Tt.ctx.deactivate(Je);return}const Gn=Ft&1&&qt,Ni=!Hc(Je);let ws;if(Ni&&(ws=Qr&&Qr.onVnodeBeforeUnmount)&&gl(ws,Tt,Je),Ft&6)zr(Je.component,Nr,Vr);else{if(Ft&128){Je.suspense.unmount(Nr,Vr);return}Gn&&ac(Je,null,Tt,"beforeUnmount"),Ft&64?Je.type.remove(Je,Tt,Nr,_r,Vn,Vr):Zr&&(on!==eu||Dr>0&&Dr&64)?$r(Zr,Tt,Nr,!1,!0):(on===eu&&Dr&384||!_r&&Ft&16)&&$r(zn,Tt,Nr),Vr&&ps(Je)}(Ni&&(ws=Qr&&Qr.onVnodeUnmounted)||Gn)&&Zo(()=>{ws&&gl(ws,Tt,Je),Gn&&ac(Je,null,Tt,"unmounted")},Nr)},ps=Je=>{const{type:Tt,el:Nr,anchor:Vr,transition:_r}=Je;if(Tt===eu){hs(Nr,Vr);return}if(Tt===Gp){Ar(Je);return}const on=()=>{v(Nr),_r&&!_r.persisted&&_r.afterLeave&&_r.afterLeave()};if(Je.shapeFlag&1&&_r&&!_r.persisted){const{leave:Qr,delayLeave:gn}=_r,zn=()=>Qr(Nr,on);gn?gn(Je.el,on,zn):zn()}else on()},hs=(Je,Tt)=>{let Nr;for(;Je!==Tt;)Nr=mt(Je),v(Je),Je=Nr;v(Tt)},zr=(Je,Tt,Nr)=>{const{bum:Vr,scope:_r,update:on,subTree:Qr,um:gn}=Je;Vr&&pp(Vr),_r.stop(),on&&(on.active=!1,As(Qr,Je,Tt,Nr)),gn&&Zo(gn,Tt),Zo(()=>{Je.isUnmounted=!0},Tt),Tt&&Tt.pendingBranch&&!Tt.isUnmounted&&Je.asyncDep&&!Je.asyncResolved&&Je.suspenseId===Tt.pendingId&&(Tt.deps--,Tt.deps===0&&Tt.resolve())},$r=(Je,Tt,Nr,Vr=!1,_r=!1,on=0)=>{for(let Qr=on;Qr<Je.length;Qr++)As(Je[Qr],Tt,Nr,Vr,_r)},Cr=Je=>Je.shapeFlag&6?Cr(Je.component.subTree):Je.shapeFlag&128?Je.suspense.next():mt(Je.anchor||Je.el),mn=(Je,Tt,Nr)=>{Je==null?Tt._vnode&&As(Tt._vnode,null,null,!0):Zt(Tt._vnode||null,Je,Tt,null,null,null,Nr),ef(),Id(),Tt._vnode=Je},Vn={p:Zt,um:As,m:gs,r:ps,mt:kn,mc:oi,pc:Pn,pbc:Wn,n:Cr,o:s};let di,Rn;return c&&([di,Rn]=c(Vn)),{render:mn,hydrate:di,createApp:w0(mn,di)}}function oc({effect:s,update:c},l){s.allowRecurse=c.allowRecurse=l}function Yd(s,c,l=!1){const f=s.children,v=c.children;if(cs(f)&&cs(v))for(let N=0;N<f.length;N++){const Y=f[N];let le=v[N];le.shapeFlag&1&&!le.dynamicChildren&&((le.patchFlag<=0||le.patchFlag===32)&&(le=v[N]=Kl(v[N]),le.el=Y.el),l||Yd(Y,le))}}function F0(s){const c=s.slice(),l=[0];let f,v,N,Y,le;const ye=s.length;for(f=0;f<ye;f++){const Me=s[f];if(Me!==0){if(v=l[l.length-1],s[v]<Me){c[f]=v,l.push(f);continue}for(N=0,Y=l.length-1;N<Y;)le=N+Y>>1,s[l[le]]<Me?N=le+1:Y=le;Me<s[l[N]]&&(N>0&&(c[f]=l[N-1]),l[N]=f)}}for(N=l.length,Y=l[N-1];N-- >0;)l[N]=Y,Y=c[Y];return l}const k0=s=>s.__isTeleport,eu=Symbol(void 0),Lh=Symbol(void 0),tc=Symbol(void 0),Gp=Symbol(void 0),$c=[];let Ju=null;function ya(s=!1){$c.push(Ju=s?null:[])}function P0(){$c.pop(),Ju=$c[$c.length-1]||null}let Yc=1;function hf(s){Yc+=s}function Zd(s){return s.dynamicChildren=Yc>0?Ju||yc:null,P0(),Yc>0&&Ju&&Ju.push(s),s}function uo(s,c,l,f,v,N){return Zd(Gi(s,c,l,f,v,N,!0))}function bc(s,c,l,f,v){return Zd(ra(s,c,l,f,v,!0))}function bp(s){return s?s.__v_isVNode===!0:!1}function Mc(s,c){return s.type===c.type&&s.key===c.key}const Mp="__vInternal",em=({key:s})=>s!=null?s:null,fp=({ref:s,ref_key:c,ref_for:l})=>s!=null?io(s)||Na(s)||Ss(s)?{i:Do,r:s,k:c,f:!!l}:s:null;function Gi(s,c=null,l=null,f=0,v=null,N=s===eu?0:1,Y=!1,le=!1){const ye={__v_isVNode:!0,__v_skip:!0,type:s,props:c,key:c&&em(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:N,patchFlag:f,dynamicProps:v,dynamicChildren:null,appContext:null};return le?(Mh(ye,l),N&128&&s.normalize(ye)):l&&(ye.shapeFlag|=io(l)?8:16),Yc>0&&!Y&&Ju&&(ye.patchFlag>0||N&6)&&ye.patchFlag!==32&&Ju.push(ye),ye}const ra=N0;function N0(s,c=null,l=null,f=0,v=null,N=!1){if((!s||s===p0)&&(s=tc),bp(s)){const le=Ac(s,c,!0);return l&&Mh(le,l),Yc>0&&!N&&Ju&&(le.shapeFlag&6?Ju[Ju.indexOf(s)]=le:Ju.push(le)),le.patchFlag|=-2,le}if(H0(s)&&(s=s.__vccOpts),c){c=B0(c);let{class:le,style:ye}=c;le&&!io(le)&&(c.class=Cc(le)),ca(ye)&&(wd(ye)&&!cs(ye)&&(ye=No({},ye)),c.style=tp(ye))}const Y=io(s)?1:Kg(s)?128:k0(s)?64:ca(s)?4:Ss(s)?2:0;return Gi(s,c,l,f,v,Y,N,!0)}function B0(s){return s?wd(s)||Mp in s?No({},s):s:null}function Ac(s,c,l=!1){const{props:f,ref:v,patchFlag:N,children:Y}=s,le=c?_0(f||{},c):f;return{__v_isVNode:!0,__v_skip:!0,type:s.type,props:le,key:le&&em(le),ref:c&&c.ref?l&&v?cs(v)?v.concat(fp(c)):[v,fp(c)]:fp(c):v,scopeId:s.scopeId,slotScopeIds:s.slotScopeIds,children:Y,target:s.target,targetAnchor:s.targetAnchor,staticCount:s.staticCount,shapeFlag:s.shapeFlag,patchFlag:c&&s.type!==eu?N===-1?16:N|16:N,dynamicProps:s.dynamicProps,dynamicChildren:s.dynamicChildren,appContext:s.appContext,dirs:s.dirs,transition:s.transition,component:s.component,suspense:s.suspense,ssContent:s.ssContent&&Ac(s.ssContent),ssFallback:s.ssFallback&&Ac(s.ssFallback),el:s.el,anchor:s.anchor}}function Gu(s=" ",c=0){return ra(Lh,null,s,c)}function Ap(s="",c=!1){return c?(ya(),bc(tc,null,s)):ra(tc,null,s)}function yl(s){return s==null||typeof s=="boolean"?ra(tc):cs(s)?ra(eu,null,s.slice()):typeof s=="object"?Kl(s):ra(Lh,null,String(s))}function Kl(s){return s.el===null&&s.patchFlag!==-1||s.memo?s:Ac(s)}function Mh(s,c){let l=0;const{shapeFlag:f}=s;if(c==null)c=null;else if(cs(c))l=16;else if(typeof c=="object")if(f&65){const v=c.default;v&&(v._c&&(v._d=!1),Mh(s,v()),v._c&&(v._d=!0));return}else{l=32;const v=c._;!v&&!(Mp in c)?c._ctx=Do:v===3&&Do&&(Do.slots._===1?c._=1:(c._=2,s.patchFlag|=1024))}else Ss(c)?(c={default:c,_ctx:Do},l=32):(c=String(c),f&64?(l=16,c=[Gu(c)]):l=8);s.children=c,s.shapeFlag|=l}function _0(...s){const c={};for(let l=0;l<s.length;l++){const f=s[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(kp(v)){const N=c[v],Y=f[v];Y&&N!==Y&&!(cs(N)&&N.includes(Y))&&(c[v]=N?[].concat(N,Y):Y)}else v!==""&&(c[v]=f[v])}return c}function gl(s,c,l,f=null){Qu(s,c,7,[l,f])}const I0=Qd();let O0=0;function L0(s,c,l){const f=s.type,v=(c?c.appContext:s.appContext)||I0,N={uid:O0++,vnode:s,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:Gd(f,v),emitsOptions:Ld(f,v),emit:null,emitted:null,propsDefaults:oa,inheritAttrs:f.inheritAttrs,ctx:oa,data:oa,props:oa,attrs:oa,slots:oa,refs:oa,setupState:oa,setupContext:null,suspense:l,suspenseId:l?l.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return N.ctx={_:N},N.root=c?c.root:N,N.emit=Vg.bind(null,N),s.ce&&s.ce(N),N}let no=null;const tm=()=>no||Do,wc=s=>{no=s,s.scope.on()},fc=()=>{no&&no.scope.off(),no=null};function rm(s){return s.vnode.shapeFlag&4}let Zc=!1;function M0(s,c=!1){Zc=c;const{props:l,children:f}=s.vnode,v=rm(s);v0(s,l,v,c),E0(s,f);const N=v?j0(s,c):void 0;return Zc=!1,N}function j0(s,c){const l=s.type;s.accessCache=Object.create(null),s.proxy=Td(new Proxy(s.ctx,f0));const{setup:f}=l;if(f){const v=s.setupContext=f.length>1?U0(s):null;wc(s),kc();const N=Zl(f,s,0,[s.props,v]);if(Pc(),fc(),pd(N)){if(N.then(fc,fc),c)return N.then(Y=>{ff(s,Y,c)}).catch(Y=>{Ip(Y,s,0)});s.asyncDep=N}else ff(s,N,c)}else nm(s,c)}function ff(s,c,l){Ss(c)?s.type.__ssrInlineRender?s.ssrRender=c:s.render=c:ca(c)&&(s.setupState=Pd(c)),nm(s,l)}let df;function nm(s,c,l){const f=s.type;if(!s.render){if(!c&&df&&!f.render){const v=f.template||Ih(s).template;if(v){const{isCustomElement:N,compilerOptions:Y}=s.appContext.config,{delimiters:le,compilerOptions:ye}=f,Me=No(No({isCustomElement:N,delimiters:le},Y),ye);f.render=df(v,Me)}}s.render=f.render||Ku}wc(s),kc(),d0(s),Pc(),fc()}function R0(s){return new Proxy(s.attrs,{get(c,l){return fu(s,"get","$attrs"),c[l]}})}function U0(s){const c=f=>{s.exposed=f||{}};let l;return{get attrs(){return l||(l=R0(s))},slots:s.slots,emit:s.emit,expose:c}}function jp(s){if(s.exposed)return s.exposeProxy||(s.exposeProxy=new Proxy(Pd(Td(s.exposed)),{get(c,l){if(l in c)return c[l];if(l in Cp)return Cp[l](s)}}))}function z0(s,c=!0){return Ss(s)?s.displayName||s.name:s.name||c&&s.__name}function H0(s){return Ss(s)&&"__vccOpts"in s}const Zs=(s,c)=>Rg(s,c,Zc);function jh(s,c,l){const f=arguments.length;return f===2?ca(c)&&!cs(c)?bp(c)?ra(s,null,[c]):ra(s,c):ra(s,null,c):(f>3?l=Array.prototype.slice.call(arguments,2):f===3&&bp(l)&&(l=[l]),ra(s,c,l))}const $0="3.2.40",q0="http://www.w3.org/2000/svg",cc=typeof document<"u"?document:null,mf=cc&&cc.createElement("template"),V0={insert:(s,c,l)=>{c.insertBefore(s,l||null)},remove:s=>{const c=s.parentNode;c&&c.removeChild(s)},createElement:(s,c,l,f)=>{const v=c?cc.createElementNS(q0,s):cc.createElement(s,l?{is:l}:void 0);return s==="select"&&f&&f.multiple!=null&&v.setAttribute("multiple",f.multiple),v},createText:s=>cc.createTextNode(s),createComment:s=>cc.createComment(s),setText:(s,c)=>{s.nodeValue=c},setElementText:(s,c)=>{s.textContent=c},parentNode:s=>s.parentNode,nextSibling:s=>s.nextSibling,querySelector:s=>cc.querySelector(s),setScopeId(s,c){s.setAttribute(c,"")},insertStaticContent(s,c,l,f,v,N){const Y=l?l.previousSibling:c.lastChild;if(v&&(v===N||v.nextSibling))for(;c.insertBefore(v.cloneNode(!0),l),!(v===N||!(v=v.nextSibling)););else{mf.innerHTML=f?`<svg>${s}</svg>`:s;const le=mf.content;if(f){const ye=le.firstChild;for(;ye.firstChild;)le.appendChild(ye.firstChild);le.removeChild(ye)}c.insertBefore(le,l)}return[Y?Y.nextSibling:c.firstChild,l?l.previousSibling:c.lastChild]}};function W0(s,c,l){const f=s._vtc;f&&(c=(c?[c,...f]:[...f]).join(" ")),c==null?s.removeAttribute("class"):l?s.setAttribute("class",c):s.className=c}function G0(s,c,l){const f=s.style,v=io(l);if(l&&!v){for(const N in l)lh(f,N,l[N]);if(c&&!io(c))for(const N in c)l[N]==null&&lh(f,N,"")}else{const N=f.display;v?c!==l&&(f.cssText=l):c&&s.removeAttribute("style"),"_vod"in s&&(f.display=N)}}const gf=/\s*!important$/;function lh(s,c,l){if(cs(l))l.forEach(f=>lh(s,c,f));else if(l==null&&(l=""),c.startsWith("--"))s.setProperty(c,l);else{const f=X0(s,c);gf.test(l)?s.setProperty(Fc(f),l.replace(gf,""),"important"):s[f]=l}}const yf=["Webkit","Moz","ms"],Xp={};function X0(s,c){const l=Xp[c];if(l)return l;let f=vl(c);if(f!=="filter"&&f in s)return Xp[c]=f;f=Bp(f);for(let v=0;v<yf.length;v++){const N=yf[v]+f;if(N in s)return Xp[c]=N}return c}const Df="http://www.w3.org/1999/xlink";function J0(s,c,l,f,v){if(f&&c.startsWith("xlink:"))l==null?s.removeAttributeNS(Df,c.slice(6,c.length)):s.setAttributeNS(Df,c,l);else{const N=qm(c);l==null||N&&!ud(l)?s.removeAttribute(c):s.setAttribute(c,N?"":l)}}function K0(s,c,l,f,v,N,Y){if(c==="innerHTML"||c==="textContent"){f&&Y(f,v,N),s[c]=l==null?"":l;return}if(c==="value"&&s.tagName!=="PROGRESS"&&!s.tagName.includes("-")){s._value=l;const ye=l==null?"":l;(s.value!==ye||s.tagName==="OPTION")&&(s.value=ye),l==null&&s.removeAttribute(c);return}let le=!1;if(l===""||l==null){const ye=typeof s[c];ye==="boolean"?l=ud(l):l==null&&ye==="string"?(l="",le=!0):ye==="number"&&(l=0,le=!0)}try{s[c]=l}catch{}le&&s.removeAttribute(c)}const[im,Q0]=(()=>{let s=Date.now,c=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(s=performance.now.bind(performance));const l=navigator.userAgent.match(/firefox\/(\d+)/i);c=!!(l&&Number(l[1])<=53)}return[s,c]})();let ch=0;const Y0=Promise.resolve(),Z0=()=>{ch=0},ey=()=>ch||(Y0.then(Z0),ch=im());function sm(s,c,l,f){s.addEventListener(c,l,f)}function ty(s,c,l,f){s.removeEventListener(c,l,f)}function ry(s,c,l,f,v=null){const N=s._vei||(s._vei={}),Y=N[c];if(f&&Y)Y.value=f;else{const[le,ye]=ny(c);if(f){const Me=N[c]=iy(f,v);sm(s,le,Me,ye)}else Y&&(ty(s,le,Y,ye),N[c]=void 0)}}const vf=/(?:Once|Passive|Capture)$/;function ny(s){let c;if(vf.test(s)){c={};let f;for(;f=s.match(vf);)s=s.slice(0,s.length-f[0].length),c[f[0].toLowerCase()]=!0}return[s[2]===":"?s.slice(3):Fc(s.slice(2)),c]}function iy(s,c){const l=f=>{const v=f.timeStamp||im();(Q0||v>=l.attached-1)&&Qu(sy(f,l.value),c,5,[f])};return l.value=s,l.attached=ey(),l}function sy(s,c){if(cs(c)){const l=s.stopImmediatePropagation;return s.stopImmediatePropagation=()=>{l.call(s),s._stopped=!0},c.map(f=>v=>!v._stopped&&f&&f(v))}else return c}const xf=/^on[a-z]/,ay=(s,c,l,f,v=!1,N,Y,le,ye)=>{c==="class"?W0(s,f,v):c==="style"?G0(s,l,f):kp(c)?vh(c)||ry(s,c,l,f,Y):(c[0]==="."?(c=c.slice(1),!0):c[0]==="^"?(c=c.slice(1),!1):oy(s,c,f,v))?K0(s,c,f,N,Y,le,ye):(c==="true-value"?s._trueValue=f:c==="false-value"&&(s._falseValue=f),J0(s,c,f,v))};function oy(s,c,l,f){return f?!!(c==="innerHTML"||c==="textContent"||c in s&&xf.test(c)&&Ss(l)):c==="spellcheck"||c==="draggable"||c==="translate"||c==="form"||c==="list"&&s.tagName==="INPUT"||c==="type"&&s.tagName==="TEXTAREA"||xf.test(c)&&io(l)?!1:c in s}const Cf=s=>{const c=s.props["onUpdate:modelValue"]||!1;return cs(c)?l=>pp(c,l):c},uy={deep:!0,created(s,c,l){s._assign=Cf(l),sm(s,"change",()=>{const f=s._modelValue,v=ly(s),N=s.checked,Y=s._assign;if(cs(f)){const le=ld(f,v),ye=le!==-1;if(N&&!ye)Y(f.concat(v));else if(!N&&ye){const Me=[...f];Me.splice(le,1),Y(Me)}}else if(Pp(f)){const le=new Set(f);N?le.add(v):le.delete(v),Y(le)}else Y(am(s,N))})},mounted:Ef,beforeUpdate(s,c,l){s._assign=Cf(l),Ef(s,c,l)}};function Ef(s,{value:c,oldValue:l},f){s._modelValue=c,cs(c)?s.checked=ld(c,f.props.value)>-1:Pp(c)?s.checked=c.has(f.props.value):c!==l&&(s.checked=Fp(c,am(s,!0)))}function ly(s){return"_value"in s?s._value:s.value}function am(s,c){const l=c?"_trueValue":"_falseValue";return l in s?s[l]:c}const cy=No({patchProp:ay},V0);let bf;function py(){return bf||(bf=T0(cy))}const hy=(...s)=>{const c=py().createApp(...s),{mount:l}=c;return c.mount=f=>{const v=fy(f);if(!v)return;const N=c._component;!Ss(N)&&!N.render&&!N.template&&(N.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(s){return io(s)?document.querySelector(s):s}var Af;const Bc=typeof window<"u",dy=s=>typeof s<"u",om=s=>typeof s=="function",my=s=>typeof s=="string",dp=()=>{};Bc&&((Af=window==null?void 0:window.navigator)==null?void 0:Af.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Po(s){return typeof s=="function"?s():bs(s)}function um(s,c){function l(...f){s(()=>c.apply(this,f),{fn:c,thisArg:this,args:f})}return l}const lm=s=>s();function gy(s,c={}){let l,f;return N=>{const Y=Po(s),le=Po(c.maxWait);if(l&&clearTimeout(l),Y<=0||le!==void 0&&le<=0)return f&&(clearTimeout(f),f=null),N();le&&!f&&(f=setTimeout(()=>{l&&clearTimeout(l),f=null,N()},le)),l=setTimeout(()=>{f&&clearTimeout(f),f=null,N()},Y)}}function yy(s=lm){const c=Ba(!0);function l(){c.value=!1}function f(){c.value=!0}return{isActive:c,pause:l,resume:f,eventFilter:(...N)=>{c.value&&s(...N)}}}function wf(s,c=!1,l="Timeout"){return new Promise((f,v)=>{setTimeout(c?()=>v(l):f,s)})}function Dy(s){return s}function vy(s,...c){return c.some(l=>l in s)}function qc(){const s=[],c=v=>{const N=s.indexOf(v);N!==-1&&s.splice(N,1)};return{on:v=>(s.push(v),{off:()=>c(v)}),off:c,trigger:v=>{s.forEach(N=>N(v))}}}function Rp(s){return sg()?(ag(s),!0):!1}function xy(s,c=200,l={}){return um(gy(c,l),s)}function Cy(s,c=200,l={}){if(c<=0)return s;const f=Ba(s.value),v=xy(()=>{f.value=s.value},c,l);return Ya(s,()=>v()),f}function mp(s){return typeof s=="function"?Zs(s):Ba(s)}function cm(s,c=!0){tm()?_h(s):c?s():Ph(s)}function ph(s,c=!1){function l(st,{flush:mt="sync",deep:St=!1,timeout:Wt,throwOnTimeout:Zt}={}){let Jr=null;const Ot=[new Promise($t=>{Jr=Ya(s,Ar=>{st(Ar)!==c&&(Jr==null||Jr(),$t(Ar))},{flush:mt,deep:St,immediate:!0})})];return Wt!=null&&Ot.push(wf(Wt,Zt).then(()=>Po(s)).finally(()=>Jr==null?void 0:Jr())),Promise.race(Ot)}function f(st,mt){if(!Na(st))return l(Ar=>Ar===st,mt);const{flush:St="sync",deep:Wt=!1,timeout:Zt,throwOnTimeout:Jr}=mt!=null?mt:{};let bt=null;const $t=[new Promise(Ar=>{bt=Ya([s,st],([un,Kn])=>{c!==(un===Kn)&&(bt==null||bt(),Ar(un))},{flush:St,deep:Wt,immediate:!0})})];return Zt!=null&&$t.push(wf(Zt,Jr).then(()=>Po(s)).finally(()=>(bt==null||bt(),Po(s)))),Promise.race($t)}function v(st){return l(mt=>Boolean(mt),st)}function N(st){return f(null,st)}function Y(st){return f(void 0,st)}function le(st){return l(Number.isNaN,st)}function ye(st,mt){return l(St=>{const Wt=Array.from(St);return Wt.includes(st)||Wt.includes(Po(st))},mt)}function Me(st){return Oe(1,st)}function Oe(st=1,mt){let St=-1;return l(()=>(St+=1,St>=st),mt)}return Array.isArray(Po(s))?{toMatch:l,toContains:ye,changed:Me,changedTimes:Oe,get not(){return ph(s,!c)}}:{toMatch:l,toBe:f,toBeTruthy:v,toBeNull:N,toBeNaN:le,toBeUndefined:Y,changed:Me,changedTimes:Oe,get not(){return ph(s,!c)}}}function Ey(s){return ph(s)}function by(s,c,l={}){const{immediate:f=!0}=l,v=Ba(!1);let N=null;function Y(){N&&(clearTimeout(N),N=null)}function le(){v.value=!1,Y()}function ye(...Me){Y(),v.value=!0,N=setTimeout(()=>{v.value=!1,N=null,s(...Me)},Po(c))}return f&&(v.value=!0,Bc&&ye()),Rp(le),{isPending:v,start:ye,stop:le}}function Ay(s=!1,c={}){const{truthyValue:l=!0,falsyValue:f=!1}=c,v=Na(s),N=Ba(s);function Y(le){if(arguments.length)return N.value=le,N.value;{const ye=Po(l);return N.value=N.value===ye?Po(f):ye,N.value}}return v?Y:[N,Y]}var Tf=Object.getOwnPropertySymbols,wy=Object.prototype.hasOwnProperty,Ty=Object.prototype.propertyIsEnumerable,Sy=(s,c)=>{var l={};for(var f in s)wy.call(s,f)&&c.indexOf(f)<0&&(l[f]=s[f]);if(s!=null&&Tf)for(var f of Tf(s))c.indexOf(f)<0&&Ty.call(s,f)&&(l[f]=s[f]);return l};function Fy(s,c,l={}){const f=l,{eventFilter:v=lm}=f,N=Sy(f,["eventFilter"]);return Ya(s,um(v,c),N)}var ky=Object.defineProperty,Py=Object.defineProperties,Ny=Object.getOwnPropertyDescriptors,wp=Object.getOwnPropertySymbols,pm=Object.prototype.hasOwnProperty,hm=Object.prototype.propertyIsEnumerable,Sf=(s,c,l)=>c in s?ky(s,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[c]=l,By=(s,c)=>{for(var l in c||(c={}))pm.call(c,l)&&Sf(s,l,c[l]);if(wp)for(var l of wp(c))hm.call(c,l)&&Sf(s,l,c[l]);return s},_y=(s,c)=>Py(s,Ny(c)),Iy=(s,c)=>{var l={};for(var f in s)pm.call(s,f)&&c.indexOf(f)<0&&(l[f]=s[f]);if(s!=null&&wp)for(var f of wp(s))c.indexOf(f)<0&&hm.call(s,f)&&(l[f]=s[f]);return l};function Oy(s,c,l={}){const f=l,{eventFilter:v}=f,N=Iy(f,["eventFilter"]),{eventFilter:Y,pause:le,resume:ye,isActive:Me}=yy(v);return{stop:Fy(s,c,_y(By({},N),{eventFilter:Y})),pause:le,resume:ye,isActive:Me}}function lx(s,c,l){let f;Na(l)?f={evaluating:l}:f=l||{};const{lazy:v=!1,evaluating:N=void 0,onError:Y=dp}=f,le=Ba(!v),ye=Ba(c);let Me=0;return jd(async Oe=>{if(!le.value)return;Me++;const st=Me;let mt=!1;N&&Promise.resolve().then(()=>{N.value=!0});try{const St=await s(Wt=>{Oe(()=>{N&&(N.value=!1),mt||Wt()})});st===Me&&(ye.value=St)}catch(St){Y(St)}finally{N&&st===Me&&(N.value=!1),mt=!0}}),v?Zs(()=>(le.value=!0,ye.value)):ye}function Rh(s){var c;const l=Po(s);return(c=l==null?void 0:l.$el)!=null?c:l}const zl=Bc?window:void 0;Bc&&window.document;Bc&&window.navigator;Bc&&window.location;function Ly(...s){let c,l,f,v;if(my(s[0])?([l,f,v]=s,c=zl):[c,l,f,v]=s,!c)return dp;let N=dp;const Y=Ya(()=>Rh(c),ye=>{N(),ye&&(ye.addEventListener(l,f,v),N=()=>{ye.removeEventListener(l,f,v),N=dp})},{immediate:!0,flush:"post"}),le=()=>{Y(),N()};return Rp(le),le}function fm(s,c=!1){const l=Ba(),f=()=>l.value=Boolean(s());return f(),cm(f,c),l}function My(s,c={}){const{window:l=zl}=c,f=fm(()=>l&&"matchMedia"in l&&typeof l.matchMedia=="function");let v;const N=Ba(!1),Y=()=>{!v||("removeEventListener"in v?v.removeEventListener("change",le):v.removeListener(le))},le=()=>{!f.value||(Y(),v=l.matchMedia(mp(s).value),N.value=v.matches,"addEventListener"in v?v.addEventListener("change",le):v.addListener(le))};return jd(le),Rp(()=>Y()),N}function jy(s){return JSON.parse(JSON.stringify(s))}const hh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},fh="__vueuse_ssr_handlers__";hh[fh]=hh[fh]||{};const Ry=hh[fh];function dm(s,c){return Ry[s]||c}function Uy(s){return s==null?"any":s instanceof Set?"set":s instanceof Map?"map":s instanceof Date?"date":typeof s=="boolean"?"boolean":typeof s=="string"?"string":typeof s=="object"||Array.isArray(s)?"object":Number.isNaN(s)?"any":"number"}var zy=Object.defineProperty,Ff=Object.getOwnPropertySymbols,Hy=Object.prototype.hasOwnProperty,$y=Object.prototype.propertyIsEnumerable,kf=(s,c,l)=>c in s?zy(s,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[c]=l,Pf=(s,c)=>{for(var l in c||(c={}))Hy.call(c,l)&&kf(s,l,c[l]);if(Ff)for(var l of Ff(c))$y.call(c,l)&&kf(s,l,c[l]);return s};const qy={boolean:{read:s=>s==="true",write:s=>String(s)},object:{read:s=>JSON.parse(s),write:s=>JSON.stringify(s)},number:{read:s=>Number.parseFloat(s),write:s=>String(s)},any:{read:s=>s,write:s=>String(s)},string:{read:s=>s,write:s=>String(s)},map:{read:s=>new Map(JSON.parse(s)),write:s=>JSON.stringify(Array.from(s.entries()))},set:{read:s=>new Set(JSON.parse(s)),write:s=>JSON.stringify(Array.from(s))},date:{read:s=>new Date(s),write:s=>s.toISOString()}};function mm(s,c,l,f={}){var v;const{flush:N="pre",deep:Y=!0,listenToStorageChanges:le=!0,writeDefaults:ye=!0,mergeDefaults:Me=!1,shallow:Oe,window:st=zl,eventFilter:mt,onError:St=bn=>{console.error(bn)}}=f,Wt=(Oe?zc:Ba)(c);if(!l)try{l=dm("getDefaultStorage",()=>{var bn;return(bn=zl)==null?void 0:bn.localStorage})()}catch(bn){St(bn)}if(!l)return Wt;const Zt=Po(c),Jr=Uy(Zt),bt=(v=f.serializer)!=null?v:qy[Jr],{pause:Ot,resume:$t}=Oy(Wt,()=>Ar(Wt.value),{flush:N,deep:Y,eventFilter:mt});return st&&le&&Ly(st,"storage",Kn),Kn(),Wt;function Ar(bn){try{bn==null?l.removeItem(s):l.setItem(s,bt.write(bn))}catch(oi){St(oi)}}function un(bn){Ot();try{const oi=bn?bn.newValue:l.getItem(s);if(oi==null)return ye&&Zt!==null&&l.setItem(s,bt.write(Zt)),Zt;if(!bn&&Me){const fi=bt.read(oi);return om(Me)?Me(fi,Zt):Jr==="object"&&!Array.isArray(fi)?Pf(Pf({},Zt),fi):fi}else return typeof oi!="string"?oi:bt.read(oi)}catch(oi){St(oi)}finally{$t()}}function Kn(bn){if(!(bn&&bn.storageArea!==l)){if(bn&&bn.key===null){Wt.value=Zt;return}bn&&bn.key!==s||(Wt.value=un(bn))}}}function gm(s){return My("(prefers-color-scheme: dark)",s)}var Vy=Object.defineProperty,Nf=Object.getOwnPropertySymbols,Wy=Object.prototype.hasOwnProperty,Gy=Object.prototype.propertyIsEnumerable,Bf=(s,c,l)=>c in s?Vy(s,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[c]=l,Xy=(s,c)=>{for(var l in c||(c={}))Wy.call(c,l)&&Bf(s,l,c[l]);if(Nf)for(var l of Nf(c))Gy.call(c,l)&&Bf(s,l,c[l]);return s};function Jy(s={}){const{selector:c="html",attribute:l="class",initialValue:f="auto",window:v=zl,storage:N,storageKey:Y="vueuse-color-scheme",listenToStorageChanges:le=!0,storageRef:ye,emitAuto:Me}=s,Oe=Xy({auto:"",light:"light",dark:"dark"},s.modes||{}),st=gm({window:v}),mt=Zs(()=>st.value?"dark":"light"),St=ye||(Y==null?Ba(f):mm(Y,f,N,{window:v,listenToStorageChanges:le})),Wt=Zs({get(){return St.value==="auto"&&!Me?mt.value:St.value},set(Ot){St.value=Ot}}),Zt=dm("updateHTMLAttrs",(Ot,$t,Ar)=>{const un=v==null?void 0:v.document.querySelector(Ot);if(!!un)if($t==="class"){const Kn=Ar.split(/\s/g);Object.values(Oe).flatMap(bn=>(bn||"").split(/\s/g)).filter(Boolean).forEach(bn=>{Kn.includes(bn)?un.classList.add(bn):un.classList.remove(bn)})}else un.setAttribute($t,Ar)});function Jr(Ot){var $t;const Ar=Ot==="auto"?mt.value:Ot;Zt(c,l,($t=Oe[Ar])!=null?$t:Ar)}function bt(Ot){s.onChanged?s.onChanged(Ot,Jr):Jr(Ot)}return Ya(Wt,bt,{flush:"post",immediate:!0}),Me&&Ya(mt,()=>bt(Wt.value),{flush:"post"}),cm(()=>bt(Wt.value)),Wt}var Ky=Object.defineProperty,Qy=Object.defineProperties,Yy=Object.getOwnPropertyDescriptors,_f=Object.getOwnPropertySymbols,Zy=Object.prototype.hasOwnProperty,eD=Object.prototype.propertyIsEnumerable,If=(s,c,l)=>c in s?Ky(s,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[c]=l,tD=(s,c)=>{for(var l in c||(c={}))Zy.call(c,l)&&If(s,l,c[l]);if(_f)for(var l of _f(c))eD.call(c,l)&&If(s,l,c[l]);return s},rD=(s,c)=>Qy(s,Yy(c));function nD(s={}){const{valueDark:c="dark",valueLight:l="",window:f=zl}=s,v=Jy(rD(tD({},s),{onChanged:(le,ye)=>{var Me;s.onChanged?(Me=s.onChanged)==null||Me.call(s,le==="dark"):ye(le)},modes:{dark:c,light:l}})),N=gm({window:f});return Zs({get(){return v.value==="dark"},set(le){le===N.value?v.value="auto":v.value=le?"dark":"light"}})}var Of=Object.getOwnPropertySymbols,iD=Object.prototype.hasOwnProperty,sD=Object.prototype.propertyIsEnumerable,aD=(s,c)=>{var l={};for(var f in s)iD.call(s,f)&&c.indexOf(f)<0&&(l[f]=s[f]);if(s!=null&&Of)for(var f of Of(s))c.indexOf(f)<0&&sD.call(s,f)&&(l[f]=s[f]);return l};function oD(s,c,l={}){const f=l,{window:v=zl}=f,N=aD(f,["window"]);let Y;const le=fm(()=>v&&"ResizeObserver"in v),ye=()=>{Y&&(Y.disconnect(),Y=void 0)},Me=Ya(()=>Rh(s),st=>{ye(),le.value&&v&&st&&(Y=new ResizeObserver(c),Y.observe(st,N))},{immediate:!0,flush:"post"}),Oe=()=>{ye(),Me()};return Rp(Oe),{isSupported:le,stop:Oe}}var uD=Object.defineProperty,lD=Object.defineProperties,cD=Object.getOwnPropertyDescriptors,Lf=Object.getOwnPropertySymbols,pD=Object.prototype.hasOwnProperty,hD=Object.prototype.propertyIsEnumerable,Mf=(s,c,l)=>c in s?uD(s,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[c]=l,Yo=(s,c)=>{for(var l in c||(c={}))pD.call(c,l)&&Mf(s,l,c[l]);if(Lf)for(var l of Lf(c))hD.call(c,l)&&Mf(s,l,c[l]);return s},jc=(s,c)=>lD(s,cD(c));const fD={json:"application/json",text:"text/plain",formData:"multipart/form-data"};function jf(s){return vy(s,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function Jp(s){return typeof Headers<"u"&&s instanceof Headers?Object.fromEntries([...s.entries()]):s}function Up(s,...c){var l;const f=typeof AbortController=="function";let v={},N={immediate:!0,refetch:!1,timeout:0};const Y={method:"GET",type:"text",payload:void 0};c.length>0&&(jf(c[0])?N=Yo(Yo({},N),c[0]):v=c[0]),c.length>1&&jf(c[1])&&(N=Yo(Yo({},N),c[1]));const{fetch:le=(l=zl)==null?void 0:l.fetch,initialData:ye,timeout:Me}=N,Oe=qc(),st=qc(),mt=qc(),St=Ba(!1),Wt=Ba(!1),Zt=Ba(!1),Jr=Ba(null),bt=zc(null),Ot=zc(null),$t=zc(ye),Ar=Zs(()=>f&&Wt.value);let un,Kn;const bn=()=>{f&&un&&un.abort()},oi=Te=>{Wt.value=Te,St.value=!Te};Me&&(Kn=by(bn,Me,{immediate:!1}));const fi=async(Te=!1)=>{var nn;oi(!0),Ot.value=null,Jr.value=null,Zt.value=!1,un=void 0,f&&(un=new AbortController,un.signal.onabort=()=>Zt.value=!0,v=jc(Yo({},v),{signal:un.signal}));const cr={method:Y.method,headers:{}};if(Y.payload){const gs=Jp(cr.headers);Y.payloadType&&(gs["Content-Type"]=(nn=fD[Y.payloadType])!=null?nn:Y.payloadType);const As=Po(Y.payload);cr.body=Y.payloadType==="json"?JSON.stringify(As):As}let Pn=!1;const ii={url:Po(s),options:Yo(Yo({},cr),v),cancel:()=>{Pn=!0}};if(N.beforeFetch&&Object.assign(ii,await N.beforeFetch(ii)),Pn||!le)return oi(!1),Promise.resolve(null);let Zi=null;return Kn&&Kn.start(),new Promise((gs,As)=>{var ps;le(ii.url,jc(Yo(Yo({},cr),ii.options),{headers:Yo(Yo({},Jp(cr.headers)),Jp((ps=ii.options)==null?void 0:ps.headers))})).then(async hs=>{if(bt.value=hs,Jr.value=hs.status,Zi=await hs[Y.type](),N.afterFetch&&Jr.value>=200&&Jr.value<300&&({data:Zi}=await N.afterFetch({data:Zi,response:hs})),$t.value=Zi,!hs.ok)throw new Error(hs.statusText);return Oe.trigger(hs),gs(hs)}).catch(async hs=>{let zr=hs.message||hs.name;return N.onFetchError&&({data:Zi,error:zr}=await N.onFetchError({data:Zi,error:hs,response:bt.value})),$t.value=Zi,Ot.value=zr,st.trigger(hs),Te?As(hs):gs(null)}).finally(()=>{oi(!1),Kn&&Kn.stop(),mt.trigger(null)})})},Wn=mp(N.refetch);Ya([Wn,mp(s)],([Te])=>Te&&fi(),{deep:!0});const Un={isFinished:St,statusCode:Jr,response:bt,error:Ot,data:$t,isFetching:Wt,canAbort:Ar,aborted:Zt,abort:bn,execute:fi,onFetchResponse:Oe.on,onFetchError:st.on,onFetchFinally:mt.on,get:gi("GET"),put:gi("PUT"),post:gi("POST"),delete:gi("DELETE"),patch:gi("PATCH"),head:gi("HEAD"),options:gi("OPTIONS"),json:kn("json"),text:kn("text"),blob:kn("blob"),arrayBuffer:kn("arrayBuffer"),formData:kn("formData")};function gi(Te){return(nn,cr)=>{if(!Wt.value){Y.method=Te,Y.payload=nn,Y.payloadType=cr,Na(Y.payload)&&Ya([Wn,mp(Y.payload)],([ii])=>ii&&fi(),{deep:!0});const Pn=Po(Y.payload);return!cr&&Pn&&Object.getPrototypeOf(Pn)===Object.prototype&&(Y.payloadType="json"),jc(Yo({},Un),{then(ii,Zi){return vr().then(ii,Zi)}})}}}function vr(){return new Promise((Te,nn)=>{Ey(St).toBe(!0).then(()=>Te(Un)).catch(cr=>nn(cr))})}function kn(Te){return()=>{if(!Wt.value)return Y.type=Te,jc(Yo({},Un),{then(nn,cr){return vr().then(nn,cr)}})}}return N.immediate&&setTimeout(fi,0),jc(Yo({},Un),{then(Te,nn){return vr().then(Te,nn)}})}function cx(s,c,l={}){const{window:f=zl}=l;return mm(s,c,f==null?void 0:f.localStorage,l)}var Rf;(function(s){s.UP="UP",s.RIGHT="RIGHT",s.DOWN="DOWN",s.LEFT="LEFT",s.NONE="NONE"})(Rf||(Rf={}));var dD=Object.defineProperty,Uf=Object.getOwnPropertySymbols,mD=Object.prototype.hasOwnProperty,gD=Object.prototype.propertyIsEnumerable,zf=(s,c,l)=>c in s?dD(s,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[c]=l,yD=(s,c)=>{for(var l in c||(c={}))mD.call(c,l)&&zf(s,l,c[l]);if(Uf)for(var l of Uf(c))gD.call(c,l)&&zf(s,l,c[l]);return s};const DD={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]};yD({linear:Dy},DD);function vD(s,c,l,f={}){var v,N,Y;const{clone:le=!1,passive:ye=!1,eventName:Me,deep:Oe=!1,defaultValue:st}=f,mt=tm(),St=l||(mt==null?void 0:mt.emit)||((v=mt==null?void 0:mt.$emit)==null?void 0:v.bind(mt))||((Y=(N=mt==null?void 0:mt.proxy)==null?void 0:N.$emit)==null?void 0:Y.bind(mt==null?void 0:mt.proxy));let Wt=Me;c||(c="modelValue"),Wt=Me||Wt||`update:${c.toString()}`;const Zt=bt=>le?om(le)?le(bt):jy(bt):bt,Jr=()=>dy(s[c])?Zt(s[c]):st;if(ye){const bt=Jr(),Ot=Ba(bt);return Ya(()=>s[c],$t=>Ot.value=Zt($t)),Ya(Ot,$t=>{($t!==s[c]||Oe)&&St(Wt,$t)},{deep:Oe}),Ot}else return Zs({get(){return Jr()},set(bt){St(Wt,bt)}})}function Hf(s){return s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const xD=/^\[(.+?)~?="(.*)"\]$/,CD=/[\w\u00A0-\uFFFF-_:%-?]/;function ED(s){return s.match(xD)}function px(s=""){return CD.test(s)}const bD=/((?:[!\w+:_/-]|\[&?>?:?.*\])+?)([:-])\(((?:[~!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function AD(s,c,l=!1){const f=[],v=[],N=new Set;Array.from(c).forEach(le=>{const ye=ED(le);ye?ye[2]?v.push(ye):N.add(ye[1]):N.add(le)});let Y=0;return s.split(/([\s"'`;<>]|:\(|\)"|\)\s)/g).forEach(le=>{const ye=Y+le.length;N.has(le)&&f.push([Y,ye,le]),Y=ye}),l&&Array.from(s.matchAll(bD)).forEach(le=>{const[,ye,Me,Oe]=le;let mt=le.index+ye.length+Me.length+1;Oe.split(/([\s"'`;<>]|:\(|\)"|\)\s)/g).forEach(St=>{const Wt=mt+St.length,Zt=ye+Me+St;if(N.has(Zt)){const Jr=f.findIndex(([bt,Ot])=>bt===mt&&Ot===Wt);Jr<0?f.push([mt,Wt,Zt]):f[Jr][2]=Zt}mt=Wt})}),v.forEach(([,le,ye])=>{const Me=new RegExp(`(${Hf(le)}=)(['"])[^\\2]*?${Hf(ye)}[^\\2]*?\\2`,"g");Array.from(s.matchAll(Me)).forEach(Oe=>{const st=Oe[1],St=Oe[0].slice(st.length).indexOf(ye);if(St<0)return;const Wt=Oe.index+st.length+St,Zt=Wt+ye.length;f.push([Wt,Zt,`[${le}="${ye}"]`])})}),f.sort((le,ye)=>le[0]-ye[0])}var Hl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zp(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var ql={exports:{}};(function(s,c){(function(l,f){s.exports=f()})(Hl,function(){var l=navigator.userAgent,f=navigator.platform,v=/gecko\/\d/i.test(l),N=/MSIE \d/.test(l),Y=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(l),le=/Edge\/(\d+)/.exec(l),ye=N||Y||le,Me=ye&&(N?document.documentMode||6:+(le||Y)[1]),Oe=!le&&/WebKit\//.test(l),st=Oe&&/Qt\/\d+\.\d+/.test(l),mt=!le&&/Chrome\/(\d+)/.exec(l),St=mt&&+mt[1],Wt=/Opera\//.test(l),Zt=/Apple Computer/.test(navigator.vendor),Jr=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(l),bt=/PhantomJS/.test(l),Ot=Zt&&(/Mobile\/\w+/.test(l)||navigator.maxTouchPoints>2),$t=/Android/.test(l),Ar=Ot||$t||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(l),un=Ot||/Mac/.test(f),Kn=/\bCrOS\b/.test(l),bn=/win/i.test(f),oi=Wt&&l.match(/Version\/(\d*\.\d*)/);oi&&(oi=Number(oi[1])),oi&&oi>=15&&(Wt=!1,Oe=!0);var fi=un&&(st||Wt&&(oi==null||oi<12.11)),Wn=v||ye&&Me>=9;function Un(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var gi=function(e,r){var n=e.className,a=Un(r).exec(n);if(a){var u=n.slice(a.index+a[0].length);e.className=n.slice(0,a.index)+(u?a[1]+u:"")}};function vr(e){for(var r=e.childNodes.length;r>0;--r)e.removeChild(e.firstChild);return e}function kn(e,r){return vr(e).appendChild(r)}function Te(e,r,n,a){var u=document.createElement(e);if(n&&(u.className=n),a&&(u.style.cssText=a),typeof r=="string")u.appendChild(document.createTextNode(r));else if(r)for(var h=0;h<r.length;++h)u.appendChild(r[h]);return u}function nn(e,r,n,a){var u=Te(e,r,n,a);return u.setAttribute("role","presentation"),u}var cr;document.createRange?cr=function(e,r,n,a){var u=document.createRange();return u.setEnd(a||e,n),u.setStart(e,r),u}:cr=function(e,r,n){var a=document.body.createTextRange();try{a.moveToElementText(e.parentNode)}catch{return a}return a.collapse(!0),a.moveEnd("character",n),a.moveStart("character",r),a};function Pn(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 ii(e){var r;try{r=e.activeElement}catch{r=e.body||null}for(;r&&r.shadowRoot&&r.shadowRoot.activeElement;)r=r.shadowRoot.activeElement;return r}function Zi(e,r){var n=e.className;Un(r).test(n)||(e.className+=(n?" ":"")+r)}function gs(e,r){for(var n=e.split(" "),a=0;a<n.length;a++)n[a]&&!Un(n[a]).test(r)&&(r+=" "+n[a]);return r}var As=function(e){e.select()};Ot?As=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:ye&&(As=function(e){try{e.select()}catch{}});function ps(e){return e.display.wrapper.ownerDocument}function hs(e){return ps(e).defaultView}function zr(e){var r=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,r)}}function $r(e,r,n){r||(r={});for(var a in e)e.hasOwnProperty(a)&&(n!==!1||!r.hasOwnProperty(a))&&(r[a]=e[a]);return r}function Cr(e,r,n,a,u){r==null&&(r=e.search(/[^\s\u00a0]/),r==-1&&(r=e.length));for(var h=a||0,C=u||0;;){var S=e.indexOf(" ",h);if(S<0||S>=r)return C+(r-h);C+=S-h,C+=n-C%n,h=S+1}}var mn=function(){this.id=null,this.f=null,this.time=0,this.handler=zr(this.onTimeout,this)};mn.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},mn.prototype.set=function(e,r){this.f=r;var n=+new Date+e;(!this.id||n<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=n)};function Vn(e,r){for(var n=0;n<e.length;++n)if(e[n]==r)return n;return-1}var di=50,Rn={toString:function(){return"CodeMirror.Pass"}},Je={scroll:!1},Tt={origin:"*mouse"},Nr={origin:"+move"};function Vr(e,r,n){for(var a=0,u=0;;){var h=e.indexOf(" ",a);h==-1&&(h=e.length);var C=h-a;if(h==e.length||u+C>=r)return a+Math.min(C,r-u);if(u+=h-a,u+=n-u%n,a=h+1,u>=r)return a}}var _r=[""];function on(e){for(;_r.length<=e;)_r.push(Qr(_r)+" ");return _r[e]}function Qr(e){return e[e.length-1]}function gn(e,r){for(var n=[],a=0;a<e.length;a++)n[a]=r(e[a],a);return n}function zn(e,r,n){for(var a=0,u=n(r);a<e.length&&n(e[a])<=u;)a++;e.splice(a,0,r)}function Zr(){}function Ft(e,r){var n;return Object.create?n=Object.create(e):(Zr.prototype=e,n=new Zr),r&&$r(r,n),n}var Dr=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function qt(e){return/\w/.test(e)||e>"\x80"&&(e.toUpperCase()!=e.toLowerCase()||Dr.test(e))}function Gn(e,r){return r?r.source.indexOf("\\w")>-1&&qt(e)?!0:r.test(e):qt(e)}function Ni(e){for(var r in e)if(e.hasOwnProperty(r)&&e[r])return!1;return!0}var ws=/[\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 os(e){return e.charCodeAt(0)>=768&&ws.test(e)}function Fs(e,r,n){for(;(n<0?r>0:r<e.length)&&os(e.charAt(r));)r+=n;return r}function ys(e,r,n){for(var a=r>n?-1:1;;){if(r==n)return r;var u=(r+n)/2,h=a<0?Math.ceil(u):Math.floor(u);if(h==r)return e(h)?r:n;e(h)?n=h:r=h+a}}function pa(e,r,n,a){if(!e)return a(r,n,"ltr",0);for(var u=!1,h=0;h<e.length;++h){var C=e[h];(C.from<n&&C.to>r||r==n&&C.to==r)&&(a(Math.max(C.from,r),Math.min(C.to,n),C.level==1?"rtl":"ltr",h),u=!0)}u||a(r,n,"ltr")}var Xn=null;function Fr(e,r,n){var a;Xn=null;for(var u=0;u<e.length;++u){var h=e[u];if(h.from<r&&h.to>r)return u;h.to==r&&(h.from!=h.to&&n=="before"?a=u:Xn=u),h.from==r&&(h.from!=h.to&&n!="before"?a=u:Xn=u)}return a!=null?a:Xn}var Br=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",r="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function n(j){return j<=247?e.charAt(j):1424<=j&&j<=1524?"R":1536<=j&&j<=1785?r.charAt(j-1536):1774<=j&&j<=2220?"r":8192<=j&&j<=8203?"w":j==8204?"b":"L"}var a=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,u=/[stwN]/,h=/[LRr]/,C=/[Lb1n]/,S=/[1n]/;function O(j,$e,Be){this.level=j,this.from=$e,this.to=Be}return function(j,$e){var Be=$e=="ltr"?"L":"R";if(j.length==0||$e=="ltr"&&!a.test(j))return!1;for(var Nt=j.length,it=[],jt=0;jt<Nt;++jt)it.push(n(j.charCodeAt(jt)));for(var dr=0,Jt=Be;dr<Nt;++dr){var Sr=it[dr];Sr=="m"?it[dr]=Jt:Jt=Sr}for(var Gr=0,rt=Be;Gr<Nt;++Gr){var vn=it[Gr];vn=="1"&&rt=="r"?it[Gr]="n":h.test(vn)&&(rt=vn,vn=="r"&&(it[Gr]="R"))}for(var Sn=1,Mn=it[0];Sn<Nt-1;++Sn){var zi=it[Sn];zi=="+"&&Mn=="1"&&it[Sn+1]=="1"?it[Sn]="1":zi==","&&Mn==it[Sn+1]&&(Mn=="1"||Mn=="n")&&(it[Sn]=Mn),Mn=zi}for(var as=0;as<Nt;++as){var Vs=it[as];if(Vs==",")it[as]="N";else if(Vs=="%"){var ke=void 0;for(ke=as+1;ke<Nt&&it[ke]=="%";++ke);for(var sr=as&&it[as-1]=="!"||ke<Nt&&it[ke]=="1"?"1":"N",_n=as;_n<ke;++_n)it[_n]=sr;as=ke-1}}for(var Ai=0,Ui=Be;Ai<Nt;++Ai){var Cs=it[Ai];Ui=="L"&&Cs=="1"?it[Ai]="L":h.test(Cs)&&(Ui=Cs)}for(var _s=0;_s<Nt;++_s)if(u.test(it[_s])){var Es=void 0;for(Es=_s+1;Es<Nt&&u.test(it[Es]);++Es);for(var hi=(_s?it[_s-1]:Be)=="L",Li=(Es<Nt?it[Es]:Be)=="L",Wu=hi==Li?hi?"L":"R":Be,dl=_s;dl<Es;++dl)it[dl]=Wu;_s=Es-1}for(var Qa=[],pu,Sa=0;Sa<Nt;)if(C.test(it[Sa])){var Lc=Sa;for(++Sa;Sa<Nt&&C.test(it[Sa]);++Sa);Qa.push(new O(0,Lc,Sa))}else{var Su=Sa,ml=Qa.length,sc=$e=="rtl"?1:0;for(++Sa;Sa<Nt&&it[Sa]!="L";++Sa);for(var go=Su;go<Sa;)if(S.test(it[go])){Su<go&&(Qa.splice(ml,0,new O(1,Su,go)),ml+=sc);var dc=go;for(++go;go<Sa&&S.test(it[go]);++go);Qa.splice(ml,0,new O(2,dc,go)),ml+=sc,Su=go}else++go;Su<Sa&&Qa.splice(ml,0,new O(1,Su,Sa))}return $e=="ltr"&&(Qa[0].level==1&&(pu=j.match(/^\s+/))&&(Qa[0].from=pu[0].length,Qa.unshift(new O(0,0,pu[0].length))),Qr(Qa).level==1&&(pu=j.match(/\s+$/))&&(Qr(Qa).to-=pu[0].length,Qa.push(new O(0,Nt-pu[0].length,Nt)))),$e=="rtl"?Qa.reverse():Qa}}();function wr(e,r){var n=e.order;return n==null&&(n=e.order=Br(e.text,r)),n}var Xr=[],Lt=function(e,r,n){if(e.addEventListener)e.addEventListener(r,n,!1);else if(e.attachEvent)e.attachEvent("on"+r,n);else{var a=e._handlers||(e._handlers={});a[r]=(a[r]||Xr).concat(n)}};function Jn(e,r){return e._handlers&&e._handlers[r]||Xr}function Xt(e,r,n){if(e.removeEventListener)e.removeEventListener(r,n,!1);else if(e.detachEvent)e.detachEvent("on"+r,n);else{var a=e._handlers,u=a&&a[r];if(u){var h=Vn(u,n);h>-1&&(a[r]=u.slice(0,h).concat(u.slice(h+1)))}}}function On(e,r){var n=Jn(e,r);if(!!n.length)for(var a=Array.prototype.slice.call(arguments,2),u=0;u<n.length;++u)n[u].apply(null,a)}function yr(e,r,n){return typeof r=="string"&&(r={type:r,preventDefault:function(){this.defaultPrevented=!0}}),On(e,n||r.type,e,r),Mr(r)||r.codemirrorIgnore}function It(e){var r=e._handlers&&e._handlers.cursorActivity;if(!!r)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),a=0;a<r.length;++a)Vn(n,r[a])==-1&&n.push(r[a])}function je(e,r){return Jn(e,r).length>0}function _t(e){e.prototype.on=function(r,n){Lt(this,r,n)},e.prototype.off=function(r,n){Xt(this,r,n)}}function zt(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function ir(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Mr(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function sn(e){zt(e),ir(e)}function Rt(e){return e.target||e.srcElement}function _e(e){var r=e.which;return r==null&&(e.button&1?r=1:e.button&2?r=3:e.button&4&&(r=2)),un&&e.ctrlKey&&r==1&&(r=3),r}var pe=function(){if(ye&&Me<9)return!1;var e=Te("div");return"draggable"in e||"dragDrop"in e}(),me;function be(e){if(me==null){var r=Te("span","\u200B");kn(e,Te("span",[r,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(me=r.offsetWidth<=1&&r.offsetHeight>2&&!(ye&&Me<8))}var n=me?Te("span","\u200B"):Te("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}var Ee;function ze(e){if(Ee!=null)return Ee;var r=kn(e,document.createTextNode("A\u062EA")),n=cr(r,0,1).getBoundingClientRect(),a=cr(r,1,2).getBoundingClientRect();return vr(e),!n||n.left==n.right?!1:Ee=a.right-n.right<3}var Qe=`
|
|
2
|
-
|
|
3
|
-
b`.split(/\n/).length!=3?function(e){for(var r=0,n=[],a=e.length;r<=a;){var u=e.indexOf(`
|
|
4
|
-
`,r);u==-1&&(u=e.length);var h=e.slice(r,e.charAt(u-1)=="\r"?u-1:u),C=h.indexOf("\r");C!=-1?(n.push(h.slice(0,C)),r+=C+1):(n.push(h),r=u+1)}return n}:function(e){return e.split(/\r\n?|\n/)},ut=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},xt=function(){var e=Te("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),Kt=null;function or(e){if(Kt!=null)return Kt;var r=kn(e,Te("span","x")),n=r.getBoundingClientRect(),a=cr(r,0,1).getBoundingClientRect();return Kt=Math.abs(n.left-a.left)>1}var xr={},Ir={};function rn(e,r){arguments.length>2&&(r.dependencies=Array.prototype.slice.call(arguments,2)),xr[e]=r}function an(e,r){Ir[e]=r}function Pr(e){if(typeof e=="string"&&Ir.hasOwnProperty(e))e=Ir[e];else if(e&&typeof e.name=="string"&&Ir.hasOwnProperty(e.name)){var r=Ir[e.name];typeof r=="string"&&(r={name:r}),e=Ft(r,e),e.name=r.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Pr("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Pr("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function Nn(e,r){r=Pr(r);var n=xr[r.name];if(!n)return Nn(e,"text/plain");var a=n(e,r);if(pi.hasOwnProperty(r.name)){var u=pi[r.name];for(var h in u)!u.hasOwnProperty(h)||(a.hasOwnProperty(h)&&(a["_"+h]=a[h]),a[h]=u[h])}if(a.name=r.name,r.helperType&&(a.helperType=r.helperType),r.modeProps)for(var C in r.modeProps)a[C]=r.modeProps[C];return a}var pi={};function En(e,r){var n=pi.hasOwnProperty(e)?pi[e]:pi[e]={};$r(r,n)}function Hi(e,r){if(r===!0)return r;if(e.copyState)return e.copyState(r);var n={};for(var a in r){var u=r[a];u instanceof Array&&(u=u.concat([])),n[a]=u}return n}function es(e,r){for(var n;e.innerMode&&(n=e.innerMode(r),!(!n||n.mode==e));)r=n.state,e=n.mode;return n||{mode:e,state:r}}function ft(e,r,n){return e.startState?e.startState(r,n):!0}var qi=function(e,r,n){this.pos=this.start=0,this.string=e,this.tabSize=r||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};qi.prototype.eol=function(){return this.pos>=this.string.length},qi.prototype.sol=function(){return this.pos==this.lineStart},qi.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},qi.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},qi.prototype.eat=function(e){var r=this.string.charAt(this.pos),n;if(typeof e=="string"?n=r==e:n=r&&(e.test?e.test(r):e(r)),n)return++this.pos,r},qi.prototype.eatWhile=function(e){for(var r=this.pos;this.eat(e););return this.pos>r},qi.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},qi.prototype.skipToEnd=function(){this.pos=this.string.length},qi.prototype.skipTo=function(e){var r=this.string.indexOf(e,this.pos);if(r>-1)return this.pos=r,!0},qi.prototype.backUp=function(e){this.pos-=e},qi.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Cr(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Cr(this.string,this.lineStart,this.tabSize):0)},qi.prototype.indentation=function(){return Cr(this.string,null,this.tabSize)-(this.lineStart?Cr(this.string,this.lineStart,this.tabSize):0)},qi.prototype.match=function(e,r,n){if(typeof e=="string"){var a=function(C){return n?C.toLowerCase():C},u=this.string.substr(this.pos,e.length);if(a(u)==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)}},qi.prototype.current=function(){return this.string.slice(this.start,this.pos)},qi.prototype.hideFirstChars=function(e,r){this.lineStart+=e;try{return r()}finally{this.lineStart-=e}},qi.prototype.lookAhead=function(e){var r=this.lineOracle;return r&&r.lookAhead(e)},qi.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function hn(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 n=e;!n.lines;)for(var a=0;;++a){var u=n.children[a],h=u.chunkSize();if(r<h){n=u;break}r-=h}return n.lines[r]}function Ti(e,r,n){var a=[],u=r.line;return e.iter(r.line,n.line+1,function(h){var C=h.text;u==n.line&&(C=C.slice(0,n.ch)),u==r.line&&(C=C.slice(r.ch)),a.push(C),++u}),a}function Xi(e,r,n){var a=[];return e.iter(r,n,function(u){a.push(u.text)}),a}function Yn(e,r){var n=r-e.height;if(n)for(var a=e;a;a=a.parent)a.height+=n}function Vi(e){if(e.parent==null)return null;for(var r=e.parent,n=Vn(r.lines,e),a=r.parent;a;r=a,a=a.parent)for(var u=0;a.children[u]!=r;++u)n+=a.children[u].chunkSize();return n+r.first}function Is(e,r){var n=e.first;e:do{for(var a=0;a<e.children.length;++a){var u=e.children[a],h=u.height;if(r<h){e=u;continue e}r-=h,n+=u.chunkSize()}return n}while(!e.lines);for(var C=0;C<e.lines.length;++C){var S=e.lines[C],O=S.height;if(r<O)break;r-=O}return n+C}function _(e,r){return r>=e.first&&r<e.first+e.size}function at(e,r){return String(e.lineNumberFormatter(r+e.firstLineNumber))}function yt(e,r,n){if(n===void 0&&(n=null),!(this instanceof yt))return new yt(e,r,n);this.line=e,this.ch=r,this.sticky=n}function mr(e,r){return e.line-r.line||e.ch-r.ch}function ui(e,r){return e.sticky==r.sticky&&mr(e,r)==0}function us(e){return yt(e.line,e.ch)}function Ji(e,r){return mr(e,r)<0?r:e}function Os(e,r){return mr(e,r)<0?e:r}function Us(e,r){return Math.max(e.first,Math.min(r,e.first+e.size-1))}function $i(e,r){if(r.line<e.first)return yt(e.first,0);var n=e.first+e.size-1;return r.line>n?yt(n,hn(e,n).text.length):Fu(r,hn(e,r.line).text.length)}function Fu(e,r){var n=e.ch;return n==null||n>r?yt(e.line,r):n<0?yt(e.line,0):e}function ku(e,r){for(var n=[],a=0;a<r.length;a++)n[a]=$i(e,r[a]);return n}var Bo=function(e,r){this.state=e,this.lookAhead=r},_a=function(e,r,n,a){this.state=r,this.doc=e,this.line=n,this.maxLookAhead=a||0,this.baseTokens=null,this.baseTokenPos=1};_a.prototype.lookAhead=function(e){var r=this.doc.getLine(this.line+e);return r!=null&&e>this.maxLookAhead&&(this.maxLookAhead=e),r},_a.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}},_a.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},_a.fromSaved=function(e,r,n){return r instanceof Bo?new _a(e,Hi(e.mode,r.state),n,r.lookAhead):new _a(e,Hi(e.mode,r),n)},_a.prototype.save=function(e){var r=e!==!1?Hi(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Bo(r,this.maxLookAhead):r};function tu(e,r,n,a){var u=[e.state.modeGen],h={};yu(e,r.text,e.doc.mode,n,function(j,$e){return u.push(j,$e)},h,a);for(var C=n.state,S=function(j){n.baseTokens=u;var $e=e.state.overlays[j],Be=1,Nt=0;n.state=!0,yu(e,r.text,$e.mode,n,function(it,jt){for(var dr=Be;Nt<it;){var Jt=u[Be];Jt>it&&u.splice(Be,1,it,u[Be+1],Jt),Be+=2,Nt=Math.min(it,Jt)}if(!!jt)if($e.opaque)u.splice(dr,Be-dr,it,"overlay "+jt),Be=dr+2;else for(;dr<Be;dr+=2){var Sr=u[dr+1];u[dr+1]=(Sr?Sr+" ":"")+"overlay "+jt}},h),n.state=C,n.baseTokens=null,n.baseTokenPos=1},O=0;O<e.state.overlays.length;++O)S(O);return{styles:u,classes:h.bgClass||h.textClass?h:null}}function vo(e,r,n){if(!r.styles||r.styles[0]!=e.state.modeGen){var a=lo(e,Vi(r)),u=r.text.length>e.options.maxHighlightLength&&Hi(e.doc.mode,a.state),h=tu(e,r,a);u&&(a.state=u),r.stateAfter=a.save(!u),r.styles=h.styles,h.classes?r.styleClasses=h.classes:r.styleClasses&&(r.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return r.styles}function lo(e,r,n){var a=e.doc,u=e.display;if(!a.mode.startState)return new _a(a,!0,r);var h=el(e,r,n),C=h>a.first&&hn(a,h-1).stateAfter,S=C?_a.fromSaved(a,C,h):new _a(a,ft(a.mode),h);return a.iter(h,r,function(O){du(e,O.text,S);var j=S.line;O.stateAfter=j==r-1||j%5==0||j>=u.viewFrom&&j<u.viewTo?S.save():null,S.nextLine()}),n&&(a.modeFrontier=S.line),S}function du(e,r,n,a){var u=e.doc.mode,h=new qi(r,e.options.tabSize,n);for(h.start=h.pos=a||0,r==""&&mu(u,n.state);!h.eol();)_o(u,h,n.state),h.start=h.pos}function mu(e,r){if(e.blankLine)return e.blankLine(r);if(!!e.innerMode){var n=es(e,r);if(n.mode.blankLine)return n.mode.blankLine(n.state)}}function _o(e,r,n,a){for(var u=0;u<10;u++){a&&(a[0]=es(e,n).mode);var h=e.token(r,n);if(r.pos>r.start)return h}throw new Error("Mode "+e.name+" failed to advance stream.")}var Pu=function(e,r,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=r||null,this.state=n};function gu(e,r,n,a){var u=e.doc,h=u.mode,C;r=$i(u,r);var S=hn(u,r.line),O=lo(e,r.line,n),j=new qi(S.text,e.options.tabSize,O),$e;for(a&&($e=[]);(a||j.pos<r.ch)&&!j.eol();)j.start=j.pos,C=_o(h,j,O.state),a&&$e.push(new Pu(j,C,Hi(u.mode,O.state)));return a?$e:new Pu(j,C,O.state)}function bi(e,r){if(e)for(;;){var n=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var a=n[1]?"bgClass":"textClass";r[a]==null?r[a]=n[2]:new RegExp("(?:^|\\s)"+n[2]+"(?:$|\\s)").test(r[a])||(r[a]+=" "+n[2])}return e}function yu(e,r,n,a,u,h,C){var S=n.flattenSpans;S==null&&(S=e.options.flattenSpans);var O=0,j=null,$e=new qi(r,e.options.tabSize,a),Be,Nt=e.options.addModeClass&&[null];for(r==""&&bi(mu(n,a.state),h);!$e.eol();){if($e.pos>e.options.maxHighlightLength?(S=!1,C&&du(e,r,a,$e.pos),$e.pos=r.length,Be=null):Be=bi(_o(n,$e,a.state,Nt),h),Nt){var it=Nt[0].name;it&&(Be="m-"+(Be?it+" "+Be:it))}if(!S||j!=Be){for(;O<$e.start;)O=Math.min($e.start,O+5e3),u(O,j);j=Be}$e.start=$e.pos}for(;O<$e.pos;){var jt=Math.min($e.pos,O+5e3);u(jt,j),O=jt}}function el(e,r,n){for(var a,u,h=e.doc,C=n?-1:r-(e.doc.mode.innerMode?1e3:100),S=r;S>C;--S){if(S<=h.first)return h.first;var O=hn(h,S-1),j=O.stateAfter;if(j&&(!n||S+(j instanceof Bo?j.lookAhead:0)<=h.modeFrontier))return S;var $e=Cr(O.text,null,e.options.tabSize);(u==null||a>$e)&&(u=S-1,a=$e)}return u}function tl(e,r){if(e.modeFrontier=Math.min(e.modeFrontier,r),!(e.highlightFrontier<r-10)){for(var n=e.first,a=r-1;a>n;a--){var u=hn(e,a).stateAfter;if(u&&(!(u instanceof Bo)||a+u.lookAhead<r)){n=a+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,n)}}var Nu=!1,za=!1;function xl(){Nu=!0}function rl(){za=!0}function ma(e,r,n){this.marker=e,this.from=r,this.to=n}function Io(e,r){if(e)for(var n=0;n<e.length;++n){var a=e[n];if(a.marker==r)return a}}function Bu(e,r){for(var n,a=0;a<e.length;++a)e[a]!=r&&(n||(n=[])).push(e[a]);return n}function nl(e,r,n){var a=n&&window.WeakSet&&(n.markedSpans||(n.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 Cl(e,r,n){var a;if(e)for(var u=0;u<e.length;++u){var h=e[u],C=h.marker,S=h.from==null||(C.inclusiveLeft?h.from<=r:h.from<r);if(S||h.from==r&&C.type=="bookmark"&&(!n||!h.marker.insertLeft)){var O=h.to==null||(C.inclusiveRight?h.to>=r:h.to>r);(a||(a=[])).push(new ma(C,h.from,O?null:h.to))}}return a}function El(e,r,n){var a;if(e)for(var u=0;u<e.length;++u){var h=e[u],C=h.marker,S=h.to==null||(C.inclusiveRight?h.to>=r:h.to>r);if(S||h.from==r&&C.type=="bookmark"&&(!n||h.marker.insertLeft)){var O=h.from==null||(C.inclusiveLeft?h.from<=r:h.from<r);(a||(a=[])).push(new ma(C,O?null:h.from-r,h.to==null?null:h.to-r))}}return a}function Oo(e,r){if(r.full)return null;var n=_(e,r.from.line)&&hn(e,r.from.line).markedSpans,a=_(e,r.to.line)&&hn(e,r.to.line).markedSpans;if(!n&&!a)return null;var u=r.from.ch,h=r.to.ch,C=mr(r.from,r.to)==0,S=Cl(n,u,C),O=El(a,h,C),j=r.text.length==1,$e=Qr(r.text).length+(j?u:0);if(S)for(var Be=0;Be<S.length;++Be){var Nt=S[Be];if(Nt.to==null){var it=Io(O,Nt.marker);it?j&&(Nt.to=it.to==null?null:it.to+$e):Nt.to=u}}if(O)for(var jt=0;jt<O.length;++jt){var dr=O[jt];if(dr.to!=null&&(dr.to+=$e),dr.from==null){var Jt=Io(S,dr.marker);Jt||(dr.from=$e,j&&(S||(S=[])).push(dr))}else dr.from+=$e,j&&(S||(S=[])).push(dr)}S&&(S=Ia(S)),O&&O!=S&&(O=Ia(O));var Sr=[S];if(!j){var Gr=r.text.length-2,rt;if(Gr>0&&S)for(var vn=0;vn<S.length;++vn)S[vn].to==null&&(rt||(rt=[])).push(new ma(S[vn].marker,null,null));for(var Sn=0;Sn<Gr;++Sn)Sr.push(rt);Sr.push(O)}return Sr}function Ia(e){for(var r=0;r<e.length;++r){var n=e[r];n.from!=null&&n.from==n.to&&n.marker.clearWhenEmpty!==!1&&e.splice(r--,1)}return e.length?e:null}function Xs(e,r,n){var a=null;if(e.iter(r.line,n.line+1,function(it){if(it.markedSpans)for(var jt=0;jt<it.markedSpans.length;++jt){var dr=it.markedSpans[jt].marker;dr.readOnly&&(!a||Vn(a,dr)==-1)&&(a||(a=[])).push(dr)}}),!a)return null;for(var u=[{from:r,to:n}],h=0;h<a.length;++h)for(var C=a[h],S=C.find(0),O=0;O<u.length;++O){var j=u[O];if(!(mr(j.to,S.from)<0||mr(j.from,S.to)>0)){var $e=[O,1],Be=mr(j.from,S.from),Nt=mr(j.to,S.to);(Be<0||!C.inclusiveLeft&&!Be)&&$e.push({from:j.from,to:S.from}),(Nt>0||!C.inclusiveRight&&!Nt)&&$e.push({from:S.to,to:j.to}),u.splice.apply(u,$e),O+=$e.length-3}}return u}function Da(e){var r=e.markedSpans;if(!!r){for(var n=0;n<r.length;++n)r[n].marker.detachLine(e);e.markedSpans=null}}function Ha(e,r){if(!!r){for(var n=0;n<r.length;++n)r[n].marker.attachLine(e);e.markedSpans=r}}function $a(e){return e.inclusiveLeft?-1:0}function va(e){return e.inclusiveRight?1:0}function Lo(e,r){var n=e.lines.length-r.lines.length;if(n!=0)return n;var a=e.find(),u=r.find(),h=mr(a.from,u.from)||$a(e)-$a(r);if(h)return-h;var C=mr(a.to,u.to)||va(e)-va(r);return C||r.id-e.id}function Du(e,r){var n=za&&e.markedSpans,a;if(n)for(var u=void 0,h=0;h<n.length;++h)u=n[h],u.marker.collapsed&&(r?u.from:u.to)==null&&(!a||Lo(a,u.marker)<0)&&(a=u.marker);return a}function Ki(e){return Du(e,!0)}function Mo(e){return Du(e,!1)}function _u(e,r){var n=za&&e.markedSpans,a;if(n)for(var u=0;u<n.length;++u){var h=n[u];h.marker.collapsed&&(h.from==null||h.from<r)&&(h.to==null||h.to>r)&&(!a||Lo(a,h.marker)<0)&&(a=h.marker)}return a}function jo(e,r,n,a,u){var h=hn(e,r),C=za&&h.markedSpans;if(C)for(var S=0;S<C.length;++S){var O=C[S];if(!!O.marker.collapsed){var j=O.marker.find(0),$e=mr(j.from,n)||$a(O.marker)-$a(u),Be=mr(j.to,a)||va(O.marker)-va(u);if(!($e>=0&&Be<=0||$e<=0&&Be>=0)&&($e<=0&&(O.marker.inclusiveRight&&u.inclusiveLeft?mr(j.to,n)>=0:mr(j.to,n)>0)||$e>=0&&(O.marker.inclusiveRight&&u.inclusiveLeft?mr(j.from,a)<=0:mr(j.from,a)<0)))return!0}}}function xa(e){for(var r;r=Ki(e);)e=r.find(-1,!0).line;return e}function ru(e){for(var r;r=Mo(e);)e=r.find(1,!0).line;return e}function vu(e){for(var r,n;r=Mo(e);)e=r.find(1,!0).line,(n||(n=[])).push(e);return n}function Ro(e,r){var n=hn(e,r),a=xa(n);return n==a?r:Vi(a)}function xo(e,r){if(r>e.lastLine())return r;var n=hn(e,r),a;if(!Qn(e,n))return r;for(;a=Mo(n);)n=a.find(1,!0).line;return Vi(n)+1}function Qn(e,r){var n=za&&r.markedSpans;if(n){for(var a=void 0,u=0;u<n.length;++u)if(a=n[u],!!a.marker.collapsed){if(a.from==null)return!0;if(!a.marker.widgetNode&&a.from==0&&a.marker.inclusiveLeft&&An(e,r,a))return!0}}}function An(e,r,n){if(n.to==null){var a=n.marker.find(1,!0);return An(e,a.line,Io(a.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==r.text.length)return!0;for(var u=void 0,h=0;h<r.markedSpans.length;++h)if(u=r.markedSpans[h],u.marker.collapsed&&!u.marker.widgetNode&&u.from==n.to&&(u.to==null||u.to!=n.from)&&(u.marker.inclusiveLeft||n.marker.inclusiveRight)&&An(e,r,u))return!0}function yn(e){e=xa(e);for(var r=0,n=e.parent,a=0;a<n.lines.length;++a){var u=n.lines[a];if(u==e)break;r+=u.height}for(var h=n.parent;h;n=h,h=n.parent)for(var C=0;C<h.children.length;++C){var S=h.children[C];if(S==n)break;r+=S.height}return r}function ln(e){if(e.height==0)return 0;for(var r=e.text.length,n,a=e;n=Ki(a);){var u=n.find(0,!0);a=u.from.line,r+=u.from.ch-u.to.ch}for(a=e;n=Mo(a);){var h=n.find(0,!0);r-=a.text.length-h.from.ch,a=h.to.line,r+=a.text.length-h.to.ch}return r}function pn(e){var r=e.display,n=e.doc;r.maxLine=hn(n,n.first),r.maxLineLength=ln(r.maxLine),r.maxLineChanged=!0,n.iter(function(a){var u=ln(a);u>r.maxLineLength&&(r.maxLineLength=u,r.maxLine=a)})}var Zn=function(e,r,n){this.text=e,Ha(this,r),this.height=n?n(this):1};Zn.prototype.lineNo=function(){return Vi(this)},_t(Zn);function ai(e,r,n,a){e.text=r,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),Da(e),Ha(e,n);var u=a?a(e):1;u!=e.height&&Yn(e,u)}function ni(e){e.parent=null,Da(e)}var wi={},Wi={};function Qi(e,r){if(!e||/^\s*$/.test(e))return null;var n=r.addModeClass?Wi:wi;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function ti(e,r){var n=nn("span",null,null,Oe?"padding-right: .1px":null),a={pre:nn("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};r.measure={};for(var u=0;u<=(r.rest?r.rest.length:0);u++){var h=u?r.rest[u-1]:r.line,C=void 0;a.pos=0,a.addToken=ls,ze(e.display.measure)&&(C=wr(h,e.doc.direction))&&(a.addToken=ks(a.addToken,C)),a.map=[];var S=r!=e.display.externalMeasured&&Vi(h);is(h,a,vo(e,h,S)),h.styleClasses&&(h.styleClasses.bgClass&&(a.bgClass=gs(h.styleClasses.bgClass,a.bgClass||"")),h.styleClasses.textClass&&(a.textClass=gs(h.styleClasses.textClass,a.textClass||""))),a.map.length==0&&a.map.push(0,0,a.content.appendChild(be(e.display.measure))),u==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(Oe){var O=a.content.lastChild;(/\bcm-tab\b/.test(O.className)||O.querySelector&&O.querySelector(".cm-tab"))&&(a.content.className="cm-tab-wrap-hack")}return On(e,"renderLine",e,r.line,a.pre),a.pre.className&&(a.textClass=gs(a.pre.className,a.textClass||"")),a}function Pi(e){var r=Te("span","\u2022","cm-invalidchar");return r.title="\\u"+e.charCodeAt(0).toString(16),r.setAttribute("aria-label",r.title),r}function ls(e,r,n,a,u,h,C){if(!!r){var S=e.splitSpaces?Mi(r,e.trailingSpace):r,O=e.cm.state.specialChars,j=!1,$e;if(!O.test(r))e.col+=r.length,$e=document.createTextNode(S),e.map.push(e.pos,e.pos+r.length,$e),ye&&Me<9&&(j=!0),e.pos+=r.length;else{$e=document.createDocumentFragment();for(var Be=0;;){O.lastIndex=Be;var Nt=O.exec(r),it=Nt?Nt.index-Be:r.length-Be;if(it){var jt=document.createTextNode(S.slice(Be,Be+it));ye&&Me<9?$e.appendChild(Te("span",[jt])):$e.appendChild(jt),e.map.push(e.pos,e.pos+it,jt),e.col+=it,e.pos+=it}if(!Nt)break;Be+=it+1;var dr=void 0;if(Nt[0]==" "){var Jt=e.cm.options.tabSize,Sr=Jt-e.col%Jt;dr=$e.appendChild(Te("span",on(Sr),"cm-tab")),dr.setAttribute("role","presentation"),dr.setAttribute("cm-text"," "),e.col+=Sr}else Nt[0]=="\r"||Nt[0]==`
|
|
5
|
-
`?(dr=$e.appendChild(Te("span",Nt[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),dr.setAttribute("cm-text",Nt[0]),e.col+=1):(dr=e.cm.options.specialCharPlaceholder(Nt[0]),dr.setAttribute("cm-text",Nt[0]),ye&&Me<9?$e.appendChild(Te("span",[dr])):$e.appendChild(dr),e.col+=1);e.map.push(e.pos,e.pos+1,dr),e.pos++}}if(e.trailingSpace=S.charCodeAt(r.length-1)==32,n||a||u||j||h||C){var Gr=n||"";a&&(Gr+=a),u&&(Gr+=u);var rt=Te("span",[$e],Gr,h);if(C)for(var vn in C)C.hasOwnProperty(vn)&&vn!="style"&&vn!="class"&&rt.setAttribute(vn,C[vn]);return e.content.appendChild(rt)}e.content.appendChild($e)}}function Mi(e,r){if(e.length>1&&!/ /.test(e))return e;for(var n=r,a="",u=0;u<e.length;u++){var h=e.charAt(u);h==" "&&n&&(u==e.length-1||e.charCodeAt(u+1)==32)&&(h="\xA0"),a+=h,n=h==" "}return a}function ks(e,r){return function(n,a,u,h,C,S,O){u=u?u+" cm-force-border":"cm-force-border";for(var j=n.pos,$e=j+a.length;;){for(var Be=void 0,Nt=0;Nt<r.length&&(Be=r[Nt],!(Be.to>j&&Be.from<=j));Nt++);if(Be.to>=$e)return e(n,a,u,h,C,S,O);e(n,a.slice(0,Be.to-j),u,h,null,S,O),h=null,a=a.slice(Be.to-j),j=Be.to}}}function da(e,r,n,a){var u=!a&&n.widgetNode;u&&e.map.push(e.pos,e.pos+r,u),!a&&e.cm.display.input.needsContentAttribute&&(u||(u=e.content.appendChild(document.createElement("span"))),u.setAttribute("cm-marker",n.id)),u&&(e.cm.display.input.setUneditable(u),e.content.appendChild(u)),e.pos+=r,e.trailingSpace=!1}function is(e,r,n){var a=e.markedSpans,u=e.text,h=0;if(!a){for(var C=1;C<n.length;C+=2)r.addToken(r,u.slice(h,h=n[C]),Qi(n[C+1],r.cm.options));return}for(var S=u.length,O=0,j=1,$e="",Be,Nt,it=0,jt,dr,Jt,Sr,Gr;;){if(it==O){jt=dr=Jt=Nt="",Gr=null,Sr=null,it=1/0;for(var rt=[],vn=void 0,Sn=0;Sn<a.length;++Sn){var Mn=a[Sn],zi=Mn.marker;if(zi.type=="bookmark"&&Mn.from==O&&zi.widgetNode)rt.push(zi);else if(Mn.from<=O&&(Mn.to==null||Mn.to>O||zi.collapsed&&Mn.to==O&&Mn.from==O)){if(Mn.to!=null&&Mn.to!=O&&it>Mn.to&&(it=Mn.to,dr=""),zi.className&&(jt+=" "+zi.className),zi.css&&(Nt=(Nt?Nt+";":"")+zi.css),zi.startStyle&&Mn.from==O&&(Jt+=" "+zi.startStyle),zi.endStyle&&Mn.to==it&&(vn||(vn=[])).push(zi.endStyle,Mn.to),zi.title&&((Gr||(Gr={})).title=zi.title),zi.attributes)for(var as in zi.attributes)(Gr||(Gr={}))[as]=zi.attributes[as];zi.collapsed&&(!Sr||Lo(Sr.marker,zi)<0)&&(Sr=Mn)}else Mn.from>O&&it>Mn.from&&(it=Mn.from)}if(vn)for(var Vs=0;Vs<vn.length;Vs+=2)vn[Vs+1]==it&&(dr+=" "+vn[Vs]);if(!Sr||Sr.from==O)for(var ke=0;ke<rt.length;++ke)da(r,0,rt[ke]);if(Sr&&(Sr.from||0)==O){if(da(r,(Sr.to==null?S+1:Sr.to)-O,Sr.marker,Sr.from==null),Sr.to==null)return;Sr.to==O&&(Sr=!1)}}if(O>=S)break;for(var sr=Math.min(S,it);;){if($e){var _n=O+$e.length;if(!Sr){var Ai=_n>sr?$e.slice(0,sr-O):$e;r.addToken(r,Ai,Be?Be+jt:jt,Jt,O+Ai.length==it?dr:"",Nt,Gr)}if(_n>=sr){$e=$e.slice(sr-O),O=sr;break}O=_n,Jt=""}$e=u.slice(h,h=n[j++]),Be=Qi(n[j++],r.cm.options)}}}function ji(e,r,n){this.line=r,this.rest=vu(r),this.size=this.rest?Vi(Qr(this.rest))-n+1:1,this.node=this.text=null,this.hidden=Qn(e,r)}function dt(e,r,n){for(var a=[],u,h=r;h<n;h=u){var C=new ji(e.doc,hn(e.doc,h),h);u=h+C.size,a.push(C)}return a}var js=null;function Oa(e){js?js.ops.push(e):e.ownsGroup=js={ops:[e],delayedCallbacks:[]}}function $s(e){var r=e.delayedCallbacks,n=0;do{for(;n<r.length;n++)r[n].call(null);for(var a=0;a<e.ops.length;a++){var u=e.ops[a];if(u.cursorActivityHandlers)for(;u.cursorActivityCalled<u.cursorActivityHandlers.length;)u.cursorActivityHandlers[u.cursorActivityCalled++].call(null,u.cm)}}while(n<r.length)}function Co(e,r){var n=e.ownsGroup;if(!!n)try{$s(n)}finally{js=null,r(n)}}var qs=null;function Bi(e,r){var n=Jn(e,r);if(!!n.length){var a=Array.prototype.slice.call(arguments,2),u;js?u=js.delayedCallbacks:qs?u=qs:(u=qs=[],setTimeout(Fi,0));for(var h=function(S){u.push(function(){return n[S].apply(null,a)})},C=0;C<n.length;++C)h(C)}}function Fi(){var e=qs;qs=null;for(var r=0;r<e.length;++r)e[r]()}function ie(e,r,n,a){for(var u=0;u<r.changes.length;u++){var h=r.changes[u];h=="text"?er(e,r):h=="gutter"?Et(e,r,n,a):h=="class"?lt(e,r):h=="widget"&&Ut(e,r,a)}r.changes=null}function et(e){return e.node==e.text&&(e.node=Te("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),ye&&Me<8&&(e.node.style.zIndex=2)),e.node}function Ct(e,r){var n=r.bgClass?r.bgClass+" "+(r.line.bgClass||""):r.line.bgClass;if(n&&(n+=" CodeMirror-linebackground"),r.background)n?r.background.className=n:(r.background.parentNode.removeChild(r.background),r.background=null);else if(n){var a=et(r);r.background=a.insertBefore(Te("div",null,n),a.firstChild),e.display.input.setUneditable(r.background)}}function kt(e,r){var n=e.display.externalMeasured;return n&&n.line==r.line?(e.display.externalMeasured=null,r.measure=n.measure,n.built):ti(e,r)}function er(e,r){var n=r.text.className,a=kt(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,lt(e,r)):n&&(r.text.className=n)}function lt(e,r){Ct(e,r),r.line.wrapClass?et(r).className=r.line.wrapClass:r.node!=r.text&&(r.node.className="");var n=r.textClass?r.textClass+" "+(r.line.textClass||""):r.line.textClass;r.text.className=n||""}function Et(e,r,n,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 u=et(r);r.gutterBackground=Te("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),u.insertBefore(r.gutterBackground,r.text)}var h=r.line.gutterMarkers;if(e.options.lineNumbers||h){var C=et(r),S=r.gutter=Te("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?a.fixedPos:-a.gutterTotalWidth)+"px");if(S.setAttribute("aria-hidden","true"),e.display.input.setUneditable(S),C.insertBefore(S,r.text),r.line.gutterClass&&(S.className+=" "+r.line.gutterClass),e.options.lineNumbers&&(!h||!h["CodeMirror-linenumbers"])&&(r.lineNumber=S.appendChild(Te("div",at(e.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+a.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),h)for(var O=0;O<e.display.gutterSpecs.length;++O){var j=e.display.gutterSpecs[O].className,$e=h.hasOwnProperty(j)&&h[j];$e&&S.appendChild(Te("div",[$e],"CodeMirror-gutter-elt","left: "+a.gutterLeft[j]+"px; width: "+a.gutterWidth[j]+"px"))}}}function Ut(e,r,n){r.alignable&&(r.alignable=null);for(var a=Un("CodeMirror-linewidget"),u=r.node.firstChild,h=void 0;u;u=h)h=u.nextSibling,a.test(u.className)&&r.node.removeChild(u);Ln(e,r,n)}function Yt(e,r,n,a){var u=kt(e,r);return r.text=r.node=u.pre,u.bgClass&&(r.bgClass=u.bgClass),u.textClass&&(r.textClass=u.textClass),lt(e,r),Et(e,r,n,a),Ln(e,r,a),r.node}function Ln(e,r,n){if(ct(e,r.line,r,n,!0),r.rest)for(var a=0;a<r.rest.length;a++)ct(e,r.rest[a],r,n,!1)}function ct(e,r,n,a,u){if(!!r.widgets)for(var h=et(n),C=0,S=r.widgets;C<S.length;++C){var O=S[C],j=Te("div",[O.node],"CodeMirror-linewidget"+(O.className?" "+O.className:""));O.handleMouseEvents||j.setAttribute("cm-ignore-events","true"),Ht(O,j,n,a),e.display.input.setUneditable(j),u&&O.above?h.insertBefore(j,n.gutter||n.text):h.appendChild(j),Bi(O,"redraw")}}function Ht(e,r,n,a){if(e.noHScroll){(n.alignable||(n.alignable=[])).push(r);var u=a.wrapperWidth;r.style.left=a.fixedPos+"px",e.coverGutter||(u-=a.gutterTotalWidth,r.style.paddingLeft=a.gutterTotalWidth+"px"),r.style.width=u+"px"}e.coverGutter&&(r.style.zIndex=5,r.style.position="relative",e.noHScroll||(r.style.marginLeft=-a.gutterTotalWidth+"px"))}function nr(e){if(e.height!=null)return e.height;var r=e.doc.cm;if(!r)return 0;if(!Pn(document.body,e.node)){var n="position: relative;";e.coverGutter&&(n+="margin-left: -"+r.display.gutters.offsetWidth+"px;"),e.noHScroll&&(n+="width: "+r.display.wrapper.clientWidth+"px;"),kn(r.display.measure,Te("div",[e.node],null,n))}return e.height=e.node.parentNode.offsetHeight}function jr(e,r){for(var n=Rt(r);n!=e.wrapper;n=n.parentNode)if(!n||n.nodeType==1&&n.getAttribute("cm-ignore-events")=="true"||n.parentNode==e.sizer&&n!=e.mover)return!0}function Tr(e){return e.lineSpace.offsetTop}function Kr(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Rr(e){if(e.cachedPaddingH)return e.cachedPaddingH;var r=kn(e.measure,Te("pre","x","CodeMirror-line-like")),n=window.getComputedStyle?window.getComputedStyle(r):r.currentStyle,a={left:parseInt(n.paddingLeft),right:parseInt(n.paddingRight)};return!isNaN(a.left)&&!isNaN(a.right)&&(e.cachedPaddingH=a),a}function Tn(e){return di-e.display.nativeBarWidth}function Bn(e){return e.display.scroller.clientWidth-Tn(e)-e.display.barWidth}function jn(e){return e.display.scroller.clientHeight-Tn(e)-e.display.barHeight}function Ri(e,r,n){var a=e.options.lineWrapping,u=a&&Bn(e);if(!r.measure.heights||a&&r.measure.width!=u){var h=r.measure.heights=[];if(a){r.measure.width=u;for(var C=r.text.firstChild.getClientRects(),S=0;S<C.length-1;S++){var O=C[S],j=C[S+1];Math.abs(O.bottom-j.bottom)>2&&h.push((O.bottom+j.top)/2-n.top)}}h.push(n.bottom-n.top)}}function ds(e,r,n){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 u=0;u<e.rest.length;u++)if(Vi(e.rest[u])>n)return{map:e.measure.maps[u],cache:e.measure.caches[u],before:!0}}}function fn(e,r){r=xa(r);var n=Vi(r),a=e.display.externalMeasured=new ji(e.doc,r,n);a.lineN=n;var u=a.built=ti(e,a);return a.text=u.pre,kn(e.display.lineMeasure,u.pre),a}function Si(e,r,n,a){return ss(e,ts(e,r),n,a)}function _i(e,r){if(r>=e.display.viewFrom&&r<e.display.viewTo)return e.display.view[vs(e,r)];var n=e.display.externalMeasured;if(n&&r>=n.lineN&&r<n.lineN+n.size)return n}function ts(e,r){var n=Vi(r),a=_i(e,n);a&&!a.text?a=null:a&&a.changes&&(ie(e,a,n,Uo(e)),e.curOp.forceUpdate=!0),a||(a=fn(e,r));var u=ds(a,r,n);return{line:r,view:a,rect:null,map:u.map,cache:u.cache,before:u.before,hasHeights:!1}}function ss(e,r,n,a,u){r.before&&(n=-1);var h=n+(a||""),C;return r.cache.hasOwnProperty(h)?C=r.cache[h]:(r.rect||(r.rect=r.view.text.getBoundingClientRect()),r.hasHeights||(Ri(e,r.view,r.rect),r.hasHeights=!0),C=hr(e,r,n,a),C.bogus||(r.cache[h]=C)),{left:C.left,right:C.right,top:u?C.rtop:C.top,bottom:u?C.rbottom:C.bottom}}var We={left:0,right:0,top:0,bottom:0};function gt(e,r,n){for(var a,u,h,C,S,O,j=0;j<e.length;j+=3)if(S=e[j],O=e[j+1],r<S?(u=0,h=1,C="left"):r<O?(u=r-S,h=u+1):(j==e.length-3||r==O&&e[j+3]>r)&&(h=O-S,u=h-1,r>=O&&(C="right")),u!=null){if(a=e[j+2],S==O&&n==(a.insertLeft?"left":"right")&&(C=n),n=="left"&&u==0)for(;j&&e[j-2]==e[j-3]&&e[j-1].insertLeft;)a=e[(j-=3)+2],C="left";if(n=="right"&&u==O-S)for(;j<e.length-3&&e[j+3]==e[j+4]&&!e[j+5].insertLeft;)a=e[(j+=3)+2],C="right";break}return{node:a,start:u,end:h,collapse:C,coverStart:S,coverEnd:O}}function Hr(e,r){var n=We;if(r=="left")for(var a=0;a<e.length&&(n=e[a]).left==n.right;a++);else for(var u=e.length-1;u>=0&&(n=e[u]).left==n.right;u--);return n}function hr(e,r,n,a){var u=gt(r.map,n,a),h=u.node,C=u.start,S=u.end,O=u.collapse,j;if(h.nodeType==3){for(var $e=0;$e<4;$e++){for(;C&&os(r.line.text.charAt(u.coverStart+C));)--C;for(;u.coverStart+S<u.coverEnd&&os(r.line.text.charAt(u.coverStart+S));)++S;if(ye&&Me<9&&C==0&&S==u.coverEnd-u.coverStart?j=h.parentNode.getBoundingClientRect():j=Hr(cr(h,C,S).getClientRects(),a),j.left||j.right||C==0)break;S=C,C=C-1,O="right"}ye&&Me<11&&(j=wn(e.display.measure,j))}else{C>0&&(O=a="right");var Be;e.options.lineWrapping&&(Be=h.getClientRects()).length>1?j=Be[a=="right"?Be.length-1:0]:j=h.getBoundingClientRect()}if(ye&&Me<9&&!C&&(!j||!j.left&&!j.right)){var Nt=h.parentNode.getClientRects()[0];Nt?j={left:Nt.left,right:Nt.left+co(e.display),top:Nt.top,bottom:Nt.bottom}:j=We}for(var it=j.top-r.rect.top,jt=j.bottom-r.rect.top,dr=(it+jt)/2,Jt=r.view.measure.heights,Sr=0;Sr<Jt.length-1&&!(dr<Jt[Sr]);Sr++);var Gr=Sr?Jt[Sr-1]:0,rt=Jt[Sr],vn={left:(O=="right"?j.right:j.left)-r.rect.left,right:(O=="left"?j.left:j.right)-r.rect.left,top:Gr,bottom:rt};return!j.left&&!j.right&&(vn.bogus=!0),e.options.singleCursorHeightPerLine||(vn.rtop=it,vn.rbottom=jt),vn}function wn(e,r){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!or(e))return r;var n=screen.logicalXDPI/screen.deviceXDPI,a=screen.logicalYDPI/screen.deviceYDPI;return{left:r.left*n,right:r.right*n,top:r.top*a,bottom:r.bottom*a}}function Yi(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 xs(e){e.display.externalMeasure=null,vr(e.display.lineMeasure);for(var r=0;r<e.display.view.length;r++)Yi(e.display.view[r])}function Ms(e){xs(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function Hs(e){return mt&&$t?-(e.body.getBoundingClientRect().left-parseInt(getComputedStyle(e.body).marginLeft)):e.defaultView.pageXOffset||(e.documentElement||e.body).scrollLeft}function ga(e){return mt&&$t?-(e.body.getBoundingClientRect().top-parseInt(getComputedStyle(e.body).marginTop)):e.defaultView.pageYOffset||(e.documentElement||e.body).scrollTop}function Ds(e){var r=xa(e),n=r.widgets,a=0;if(n)for(var u=0;u<n.length;++u)n[u].above&&(a+=nr(n[u]));return a}function Ps(e,r,n,a,u){if(!u){var h=Ds(r);n.top+=h,n.bottom+=h}if(a=="line")return n;a||(a="local");var C=yn(r);if(a=="local"?C+=Tr(e.display):C-=e.display.viewOffset,a=="page"||a=="window"){var S=e.display.lineSpace.getBoundingClientRect();C+=S.top+(a=="window"?0:ga(ps(e)));var O=S.left+(a=="window"?0:Hs(ps(e)));n.left+=O,n.right+=O}return n.top+=C,n.bottom+=C,n}function Ws(e,r,n){if(n=="div")return r;var a=r.left,u=r.top;if(n=="page")a-=Hs(ps(e)),u-=ga(ps(e));else if(n=="local"||!n){var h=e.display.sizer.getBoundingClientRect();a+=h.left,u+=h.top}var C=e.display.lineSpace.getBoundingClientRect();return{left:a-C.left,top:u-C.top}}function ha(e,r,n,a,u){return a||(a=hn(e.doc,r.line)),Ps(e,a,Si(e,a,r.ch,u),n)}function Dn(e,r,n,a,u,h){a=a||hn(e.doc,r.line),u||(u=ts(e,a));function C(jt,dr){var Jt=ss(e,u,jt,dr?"right":"left",h);return dr?Jt.left=Jt.right:Jt.right=Jt.left,Ps(e,a,Jt,n)}var S=wr(a,e.doc.direction),O=r.ch,j=r.sticky;if(O>=a.text.length?(O=a.text.length,j="before"):O<=0&&(O=0,j="after"),!S)return C(j=="before"?O-1:O,j=="before");function $e(jt,dr,Jt){var Sr=S[dr],Gr=Sr.level==1;return C(Jt?jt-1:jt,Gr!=Jt)}var Be=Fr(S,O,j),Nt=Xn,it=$e(O,Be,j=="before");return Nt!=null&&(it.other=$e(O,Nt,j!="before")),it}function Hn(e,r){var n=0;r=$i(e.doc,r),e.options.lineWrapping||(n=co(e.display)*r.ch);var a=hn(e.doc,r.line),u=yn(a)+Tr(e.display);return{left:n,right:n,top:u,bottom:u+a.height}}function li(e,r,n,a,u){var h=yt(e,r,n);return h.xRel=u,a&&(h.outside=a),h}function ci(e,r,n){var a=e.doc;if(n+=e.display.viewOffset,n<0)return li(a.first,0,null,-1,-1);var u=Is(a,n),h=a.first+a.size-1;if(u>h)return li(a.first+a.size-1,hn(a,h).text.length,null,1,1);r<0&&(r=0);for(var C=hn(a,u);;){var S=ea(e,C,u,r,n),O=_u(C,S.ch+(S.xRel>0||S.outside>0?1:0));if(!O)return S;var j=O.find(1);if(j.line==u)return j;C=hn(a,u=j.line)}}function ki(e,r,n,a){a-=Ds(r);var u=r.text.length,h=ys(function(C){return ss(e,n,C-1).bottom<=a},u,0);return u=ys(function(C){return ss(e,n,C).top>a},h,u),{begin:h,end:u}}function Ns(e,r,n,a){n||(n=ts(e,r));var u=Ps(e,r,ss(e,n,a),"line").top;return ki(e,r,n,u)}function Ts(e,r,n,a){return e.bottom<=n?!1:e.top>n?!0:(a?e.left:e.right)>r}function ea(e,r,n,a,u){u-=yn(r);var h=ts(e,r),C=Ds(r),S=0,O=r.text.length,j=!0,$e=wr(r,e.doc.direction);if($e){var Be=(e.options.lineWrapping?nu:La)(e,r,n,h,$e,a,u);j=Be.level!=1,S=j?Be.from:Be.to-1,O=j?Be.to:Be.from-1}var Nt=null,it=null,jt=ys(function(Sn){var Mn=ss(e,h,Sn);return Mn.top+=C,Mn.bottom+=C,Ts(Mn,a,u,!1)?(Mn.top<=u&&Mn.left<=a&&(Nt=Sn,it=Mn),!0):!1},S,O),dr,Jt,Sr=!1;if(it){var Gr=a-it.left<it.right-a,rt=Gr==j;jt=Nt+(rt?0:1),Jt=rt?"after":"before",dr=Gr?it.left:it.right}else{!j&&(jt==O||jt==S)&&jt++,Jt=jt==0?"after":jt==r.text.length?"before":ss(e,h,jt-(j?1:0)).bottom+C<=u==j?"after":"before";var vn=Dn(e,yt(n,jt,Jt),"line",r,h);dr=vn.left,Sr=u<vn.top?-1:u>=vn.bottom?1:0}return jt=Fs(r.text,jt,1),li(n,jt,Jt,Sr,a-dr)}function La(e,r,n,a,u,h,C){var S=ys(function(Be){var Nt=u[Be],it=Nt.level!=1;return Ts(Dn(e,yt(n,it?Nt.to:Nt.from,it?"before":"after"),"line",r,a),h,C,!0)},0,u.length-1),O=u[S];if(S>0){var j=O.level!=1,$e=Dn(e,yt(n,j?O.from:O.to,j?"after":"before"),"line",r,a);Ts($e,h,C,!0)&&$e.top>C&&(O=u[S-1])}return O}function nu(e,r,n,a,u,h,C){var S=ki(e,r,a,C),O=S.begin,j=S.end;/\s/.test(r.text.charAt(j-1))&&j--;for(var $e=null,Be=null,Nt=0;Nt<u.length;Nt++){var it=u[Nt];if(!(it.from>=j||it.to<=O)){var jt=it.level!=1,dr=ss(e,a,jt?Math.min(j,it.to)-1:Math.max(O,it.from)).right,Jt=dr<h?h-dr+1e9:dr-h;(!$e||Be>Jt)&&($e=it,Be=Jt)}}return $e||($e=u[u.length-1]),$e.from<O&&($e={from:O,to:$e.to,level:$e.level}),$e.to>j&&($e={from:$e.from,to:j,level:$e.level}),$e}var qa;function Ca(e){if(e.cachedTextHeight!=null)return e.cachedTextHeight;if(qa==null){qa=Te("pre",null,"CodeMirror-line-like");for(var r=0;r<49;++r)qa.appendChild(document.createTextNode("x")),qa.appendChild(Te("br"));qa.appendChild(document.createTextNode("x"))}kn(e.measure,qa);var n=qa.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),vr(e.measure),n||1}function co(e){if(e.cachedCharWidth!=null)return e.cachedCharWidth;var r=Te("span","xxxxxxxxxx"),n=Te("pre",[r],"CodeMirror-line-like");kn(e.measure,n);var a=r.getBoundingClientRect(),u=(a.right-a.left)/10;return u>2&&(e.cachedCharWidth=u),u||10}function Uo(e){for(var r=e.display,n={},a={},u=r.gutters.clientLeft,h=r.gutters.firstChild,C=0;h;h=h.nextSibling,++C){var S=e.display.gutterSpecs[C].className;n[S]=h.offsetLeft+h.clientLeft+u,a[S]=h.clientWidth}return{fixedPos:Ea(r),gutterTotalWidth:r.gutters.offsetWidth,gutterLeft:n,gutterWidth:a,wrapperWidth:r.wrapper.clientWidth}}function Ea(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Va(e){var r=Ca(e.display),n=e.options.lineWrapping,a=n&&Math.max(5,e.display.scroller.clientWidth/co(e.display)-3);return function(u){if(Qn(e.doc,u))return 0;var h=0;if(u.widgets)for(var C=0;C<u.widgets.length;C++)u.widgets[C].height&&(h+=u.widgets[C].height);return n?h+(Math.ceil(u.text.length/a)||1)*r:h+r}}function Ma(e){var r=e.doc,n=Va(e);r.iter(function(a){var u=n(a);u!=a.height&&Yn(a,u)})}function zo(e,r,n,a){var u=e.display;if(!n&&Rt(r).getAttribute("cm-not-content")=="true")return null;var h,C,S=u.lineSpace.getBoundingClientRect();try{h=r.clientX-S.left,C=r.clientY-S.top}catch{return null}var O=ci(e,h,C),j;if(a&&O.xRel>0&&(j=hn(e.doc,O.line).text).length==O.ch){var $e=Cr(j,j.length,e.options.tabSize)-j.length;O=yt(O.line,Math.max(0,Math.round((h-Rr(e.display).left)/co(e.display))-$e))}return O}function vs(e,r){if(r>=e.display.viewTo||(r-=e.display.viewFrom,r<0))return null;for(var n=e.display.view,a=0;a<n.length;a++)if(r-=n[a].size,r<0)return a}function ua(e,r,n,a){r==null&&(r=e.doc.first),n==null&&(n=e.doc.first+e.doc.size),a||(a=0);var u=e.display;if(a&&n<u.viewTo&&(u.updateLineNumbers==null||u.updateLineNumbers>r)&&(u.updateLineNumbers=r),e.curOp.viewChanged=!0,r>=u.viewTo)za&&Ro(e.doc,r)<u.viewTo&&Ga(e);else if(n<=u.viewFrom)za&&xo(e.doc,n+a)>u.viewFrom?Ga(e):(u.viewFrom+=a,u.viewTo+=a);else if(r<=u.viewFrom&&n>=u.viewTo)Ga(e);else if(r<=u.viewFrom){var h=Xa(e,n,n+a,1);h?(u.view=u.view.slice(h.index),u.viewFrom=h.lineN,u.viewTo+=a):Ga(e)}else if(n>=u.viewTo){var C=Xa(e,r,r,-1);C?(u.view=u.view.slice(0,C.index),u.viewTo=C.lineN):Ga(e)}else{var S=Xa(e,r,r,-1),O=Xa(e,n,n+a,1);S&&O?(u.view=u.view.slice(0,S.index).concat(dt(e,S.lineN,O.lineN)).concat(u.view.slice(O.index)),u.viewTo+=a):Ga(e)}var j=u.externalMeasured;j&&(n<j.lineN?j.lineN+=a:r<j.lineN+j.size&&(u.externalMeasured=null))}function Wa(e,r,n){e.curOp.viewChanged=!0;var a=e.display,u=e.display.externalMeasured;if(u&&r>=u.lineN&&r<u.lineN+u.size&&(a.externalMeasured=null),!(r<a.viewFrom||r>=a.viewTo)){var h=a.view[vs(e,r)];if(h.node!=null){var C=h.changes||(h.changes=[]);Vn(C,n)==-1&&C.push(n)}}}function Ga(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Xa(e,r,n,a){var u=vs(e,r),h,C=e.display.view;if(!za||n==e.doc.first+e.doc.size)return{index:u,lineN:n};for(var S=e.display.viewFrom,O=0;O<u;O++)S+=C[O].size;if(S!=r){if(a>0){if(u==C.length-1)return null;h=S+C[u].size-r,u++}else h=S-r;r+=h,n+=h}for(;Ro(e.doc,n)!=n;){if(u==(a<0?0:C.length-1))return null;n+=a*C[u-(a<0?1:0)].size,u+=a}return{index:u,lineN:n}}function xu(e,r,n){var a=e.display,u=a.view;u.length==0||r>=a.viewTo||n<=a.viewFrom?(a.view=dt(e,r,n),a.viewFrom=r):(a.viewFrom>r?a.view=dt(e,r,a.viewFrom).concat(a.view):a.viewFrom<r&&(a.view=a.view.slice(vs(e,r))),a.viewFrom=r,a.viewTo<n?a.view=a.view.concat(dt(e,a.viewTo,n)):a.viewTo>n&&(a.view=a.view.slice(0,vs(e,n)))),a.viewTo=n}function Iu(e){for(var r=e.display.view,n=0,a=0;a<r.length;a++){var u=r[a];!u.hidden&&(!u.node||u.changes)&&++n}return n}function po(e){e.display.input.showSelection(e.display.input.prepareSelection())}function Ou(e,r){r===void 0&&(r=!0);var n=e.doc,a={},u=a.cursors=document.createDocumentFragment(),h=a.selection=document.createDocumentFragment(),C=e.options.$customCursor;C&&(r=!0);for(var S=0;S<n.sel.ranges.length;S++)if(!(!r&&S==n.sel.primIndex)){var O=n.sel.ranges[S];if(!(O.from().line>=e.display.viewTo||O.to().line<e.display.viewFrom)){var j=O.empty();if(C){var $e=C(e,O);$e&&so(e,$e,u)}else(j||e.options.showCursorWhenSelecting)&&so(e,O.head,u);j||Cu(e,O,h)}}return a}function so(e,r,n){var a=Dn(e,r,"div",null,null,!e.options.singleCursorHeightPerLine),u=n.appendChild(Te("div","\xA0","CodeMirror-cursor"));if(u.style.left=a.left+"px",u.style.top=a.top+"px",u.style.height=Math.max(0,a.bottom-a.top)*e.options.cursorHeight+"px",/\bcm-fat-cursor\b/.test(e.getWrapperElement().className)){var h=ha(e,r,"div",null,null),C=h.right-h.left;u.style.width=(C>0?C:e.defaultCharWidth())+"px"}if(a.other){var S=n.appendChild(Te("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));S.style.display="",S.style.left=a.other.left+"px",S.style.top=a.other.top+"px",S.style.height=(a.other.bottom-a.other.top)*.85+"px"}}function Ho(e,r){return e.top-r.top||e.left-r.left}function Cu(e,r,n){var a=e.display,u=e.doc,h=document.createDocumentFragment(),C=Rr(e.display),S=C.left,O=Math.max(a.sizerWidth,Bn(e)-a.sizer.offsetLeft)-C.right,j=u.direction=="ltr";function $e(rt,vn,Sn,Mn){vn<0&&(vn=0),vn=Math.round(vn),Mn=Math.round(Mn),h.appendChild(Te("div",null,"CodeMirror-selected","position: absolute; left: "+rt+`px;
|
|
6
|
-
top: `+vn+"px; width: "+(Sn==null?O-rt:Sn)+`px;
|
|
7
|
-
height: `+(Mn-vn)+"px"))}function Be(rt,vn,Sn){var Mn=hn(u,rt),zi=Mn.text.length,as,Vs;function ke(Ai,Ui){return ha(e,yt(rt,Ai),"div",Mn,Ui)}function sr(Ai,Ui,Cs){var _s=Ns(e,Mn,null,Ai),Es=Ui=="ltr"==(Cs=="after")?"left":"right",hi=Cs=="after"?_s.begin:_s.end-(/\s/.test(Mn.text.charAt(_s.end-1))?2:1);return ke(hi,Es)[Es]}var _n=wr(Mn,u.direction);return pa(_n,vn||0,Sn==null?zi:Sn,function(Ai,Ui,Cs,_s){var Es=Cs=="ltr",hi=ke(Ai,Es?"left":"right"),Li=ke(Ui-1,Es?"right":"left"),Wu=vn==null&&Ai==0,dl=Sn==null&&Ui==zi,Qa=_s==0,pu=!_n||_s==_n.length-1;if(Li.top-hi.top<=3){var Sa=(j?Wu:dl)&&Qa,Lc=(j?dl:Wu)&&pu,Su=Sa?S:(Es?hi:Li).left,ml=Lc?O:(Es?Li:hi).right;$e(Su,hi.top,ml-Su,hi.bottom)}else{var sc,go,dc,qp;Es?(sc=j&&Wu&&Qa?S:hi.left,go=j?O:sr(Ai,Cs,"before"),dc=j?S:sr(Ui,Cs,"after"),qp=j&&dl&&pu?O:Li.right):(sc=j?sr(Ai,Cs,"before"):S,go=!j&&Wu&&Qa?O:hi.right,dc=!j&&dl&&pu?S:Li.left,qp=j?sr(Ui,Cs,"after"):O),$e(sc,hi.top,go-sc,hi.bottom),hi.bottom<Li.top&&$e(S,hi.bottom,null,Li.top),$e(dc,Li.top,qp-dc,Li.bottom)}(!as||Ho(hi,as)<0)&&(as=hi),Ho(Li,as)<0&&(as=Li),(!Vs||Ho(hi,Vs)<0)&&(Vs=hi),Ho(Li,Vs)<0&&(Vs=Li)}),{start:as,end:Vs}}var Nt=r.from(),it=r.to();if(Nt.line==it.line)Be(Nt.line,Nt.ch,it.ch);else{var jt=hn(u,Nt.line),dr=hn(u,it.line),Jt=xa(jt)==xa(dr),Sr=Be(Nt.line,Nt.ch,Jt?jt.text.length+1:null).end,Gr=Be(it.line,Jt?0:null,it.ch).start;Jt&&(Sr.top<Gr.top-2?($e(Sr.right,Sr.top,null,Sr.bottom),$e(S,Gr.top,Gr.left,Gr.bottom)):$e(Sr.right,Sr.top,Gr.left-Sr.right,Sr.bottom)),Sr.bottom<Gr.top&&$e(S,Sr.bottom,null,Gr.top)}n.appendChild(h)}function $o(e){if(!!e.state.focused){var r=e.display;clearInterval(r.blinker);var n=!0;r.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?r.blinker=setInterval(function(){e.hasFocus()||ba(e),r.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(r.cursorDiv.style.visibility="hidden")}}function Ja(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||qo(e))}function ho(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&ba(e))},100)}function qo(e,r){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),e.options.readOnly!="nocursor"&&(e.state.focused||(On(e,"focus",e,r),e.state.focused=!0,Zi(e.display.wrapper,"CodeMirror-focused"),!e.curOp&&e.display.selForContextMenu!=e.doc.sel&&(e.display.input.reset(),Oe&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),$o(e))}function ba(e,r){e.state.delayingBlurEvent||(e.state.focused&&(On(e,"blur",e,r),e.state.focused=!1,gi(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function fo(e){for(var r=e.display,n=r.lineDiv.offsetTop,a=Math.max(0,r.scroller.getBoundingClientRect().top),u=r.lineDiv.getBoundingClientRect().top,h=0,C=0;C<r.view.length;C++){var S=r.view[C],O=e.options.lineWrapping,j=void 0,$e=0;if(!S.hidden){if(u+=S.line.height,ye&&Me<8){var Be=S.node.offsetTop+S.node.offsetHeight;j=Be-n,n=Be}else{var Nt=S.node.getBoundingClientRect();j=Nt.bottom-Nt.top,!O&&S.text.firstChild&&($e=S.text.firstChild.getBoundingClientRect().right-Nt.left-1)}var it=S.line.height-j;if((it>.005||it<-.005)&&(u<a&&(h-=it),Yn(S.line,j),Lu(S.line),S.rest))for(var jt=0;jt<S.rest.length;jt++)Lu(S.rest[jt]);if($e>e.display.sizerWidth){var dr=Math.ceil($e/co(e.display));dr>e.display.maxLineLength&&(e.display.maxLineLength=dr,e.display.maxLine=S.line,e.display.maxLineChanged=!0)}}}Math.abs(h)>2&&(r.scroller.scrollTop+=h)}function Lu(e){if(e.widgets)for(var r=0;r<e.widgets.length;++r){var n=e.widgets[r],a=n.node.parentNode;a&&(n.height=a.offsetHeight)}}function Eo(e,r,n){var a=n&&n.top!=null?Math.max(0,n.top):e.scroller.scrollTop;a=Math.floor(a-Tr(e));var u=n&&n.bottom!=null?n.bottom:a+e.wrapper.clientHeight,h=Is(r,a),C=Is(r,u);if(n&&n.ensure){var S=n.ensure.from.line,O=n.ensure.to.line;S<h?(h=S,C=Is(r,yn(hn(r,S))+e.wrapper.clientHeight)):Math.min(O,r.lastLine())>=C&&(h=Is(r,yn(hn(r,O))-e.wrapper.clientHeight),C=O)}return{from:h,to:Math.max(C,h+1)}}function bl(e,r){if(!yr(e,"scrollCursorIntoView")){var n=e.display,a=n.sizer.getBoundingClientRect(),u=null,h=n.wrapper.ownerDocument;if(r.top+a.top<0?u=!0:r.bottom+a.top>(h.defaultView.innerHeight||h.documentElement.clientHeight)&&(u=!1),u!=null&&!bt){var C=Te("div","\u200B",null,`position: absolute;
|
|
8
|
-
top: `+(r.top-n.viewOffset-Tr(e.display))+`px;
|
|
9
|
-
height: `+(r.bottom-r.top+Tn(e)+n.barHeight)+`px;
|
|
10
|
-
left: `+r.left+"px; width: "+Math.max(2,r.right-r.left)+"px;");e.display.lineSpace.appendChild(C),C.scrollIntoView(u),e.display.lineSpace.removeChild(C)}}}function Al(e,r,n,a){a==null&&(a=0);var u;!e.options.lineWrapping&&r==n&&(n=r.sticky=="before"?yt(r.line,r.ch+1,"before"):r,r=r.ch?yt(r.line,r.sticky=="before"?r.ch-1:r.ch,"after"):r);for(var h=0;h<5;h++){var C=!1,S=Dn(e,r),O=!n||n==r?S:Dn(e,n);u={left:Math.min(S.left,O.left),top:Math.min(S.top,O.top)-a,right:Math.max(S.left,O.left),bottom:Math.max(S.bottom,O.bottom)+a};var j=Vo(e,u),$e=e.doc.scrollTop,Be=e.doc.scrollLeft;if(j.scrollTop!=null&&(bo(e,j.scrollTop),Math.abs(e.doc.scrollTop-$e)>1&&(C=!0)),j.scrollLeft!=null&&(wa(e,j.scrollLeft),Math.abs(e.doc.scrollLeft-Be)>1&&(C=!0)),!C)break}return u}function Mu(e,r){var n=Vo(e,r);n.scrollTop!=null&&bo(e,n.scrollTop),n.scrollLeft!=null&&wa(e,n.scrollLeft)}function Vo(e,r){var n=e.display,a=Ca(e.display);r.top<0&&(r.top=0);var u=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:n.scroller.scrollTop,h=jn(e),C={};r.bottom-r.top>h&&(r.bottom=r.top+h);var S=e.doc.height+Kr(n),O=r.top<a,j=r.bottom>S-a;if(r.top<u)C.scrollTop=O?0:r.top;else if(r.bottom>u+h){var $e=Math.min(r.top,(j?S:r.bottom)-h);$e!=u&&(C.scrollTop=$e)}var Be=e.options.fixedGutter?0:n.gutters.offsetWidth,Nt=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:n.scroller.scrollLeft-Be,it=Bn(e)-n.gutters.offsetWidth,jt=r.right-r.left>it;return jt&&(r.right=r.left+it),r.left<10?C.scrollLeft=0:r.left<Nt?C.scrollLeft=Math.max(0,r.left+Be-(jt?0:10)):r.right>it+Nt-3&&(C.scrollLeft=r.right+(jt?0:10)-it),C}function iu(e,r){r!=null&&(Ru(e),e.curOp.scrollTop=(e.curOp.scrollTop==null?e.doc.scrollTop:e.curOp.scrollTop)+r)}function Aa(e){Ru(e);var r=e.getCursor();e.curOp.scrollToPos={from:r,to:r,margin:e.options.cursorScrollMargin}}function Za(e,r,n){(r!=null||n!=null)&&Ru(e),r!=null&&(e.curOp.scrollLeft=r),n!=null&&(e.curOp.scrollTop=n)}function ju(e,r){Ru(e),e.curOp.scrollToPos=r}function Ru(e){var r=e.curOp.scrollToPos;if(r){e.curOp.scrollToPos=null;var n=Hn(e,r.from),a=Hn(e,r.to);il(e,n,a,r.margin)}}function il(e,r,n,a){var u=Vo(e,{left:Math.min(r.left,n.left),top:Math.min(r.top,n.top)-a,right:Math.max(r.right,n.right),bottom:Math.max(r.bottom,n.bottom)+a});Za(e,u.scrollLeft,u.scrollTop)}function bo(e,r){Math.abs(e.doc.scrollTop-r)<2||(v||ll(e,{top:r}),sl(e,r,!0),v&&ll(e),to(e,100))}function sl(e,r,n){r=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,r)),!(e.display.scroller.scrollTop==r&&!n)&&(e.doc.scrollTop=r,e.display.scrollbars.setScrollTop(r),e.display.scroller.scrollTop!=r&&(e.display.scroller.scrollTop=r))}function wa(e,r,n,a){r=Math.max(0,Math.min(r,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),!((n?r==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-r)<2)&&!a)&&(e.doc.scrollLeft=r,$u(e),e.display.scroller.scrollLeft!=r&&(e.display.scroller.scrollLeft=r),e.display.scrollbars.setScrollLeft(r))}function su(e){var r=e.display,n=r.gutters.offsetWidth,a=Math.round(e.doc.height+Kr(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?n:0,docHeight:a,scrollHeight:a+Tn(e)+r.barHeight,nativeBarWidth:r.nativeBarWidth,gutterWidth:n}}var eo=function(e,r,n){this.cm=n;var a=this.vert=Te("div",[Te("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),u=this.horiz=Te("div",[Te("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");a.tabIndex=u.tabIndex=-1,e(a),e(u),Lt(a,"scroll",function(){a.clientHeight&&r(a.scrollTop,"vertical")}),Lt(u,"scroll",function(){u.clientWidth&&r(u.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,ye&&Me<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};eo.prototype.update=function(e){var r=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,a=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=r?a+"px":"0";var u=e.viewHeight-(r?a:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+u)+"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=n?a+"px":"0",this.horiz.style.left=e.barLeft+"px";var h=e.viewWidth-e.barLeft-(n?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:n?a:0,bottom:r?a:0}},eo.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},eo.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},eo.prototype.zeroWidthHack=function(){var e=un&&!Jr?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new mn,this.disableVert=new mn},eo.prototype.enableZeroWidthBar=function(e,r,n){e.style.visibility="";function a(){var u=e.getBoundingClientRect(),h=n=="vert"?document.elementFromPoint(u.right-1,(u.top+u.bottom)/2):document.elementFromPoint((u.right+u.left)/2,u.bottom-1);h!=e?e.style.visibility="hidden":r.set(1e3,a)}r.set(1e3,a)},eo.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var au=function(){};au.prototype.update=function(){return{bottom:0,right:0}},au.prototype.setScrollLeft=function(){},au.prototype.setScrollTop=function(){},au.prototype.clear=function(){};function Ao(e,r){r||(r=su(e));var n=e.display.barWidth,a=e.display.barHeight;Wo(e,r);for(var u=0;u<4&&n!=e.display.barWidth||a!=e.display.barHeight;u++)n!=e.display.barWidth&&e.options.lineWrapping&&fo(e),Wo(e,su(e)),n=e.display.barWidth,a=e.display.barHeight}function Wo(e,r){var n=e.display,a=n.scrollbars.update(r);n.sizer.style.paddingRight=(n.barWidth=a.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=a.bottom)+"px",n.heightForcer.style.borderBottom=a.bottom+"px solid transparent",a.right&&a.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=a.bottom+"px",n.scrollbarFiller.style.width=a.right+"px"):n.scrollbarFiller.style.display="",a.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=a.bottom+"px",n.gutterFiller.style.width=r.gutterWidth+"px"):n.gutterFiller.style.display=""}var al={native:eo,null:au};function ol(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&gi(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new al[e.options.scrollbarStyle](function(r){e.display.wrapper.insertBefore(r,e.display.scrollbarFiller),Lt(r,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),r.setAttribute("cm-not-content","true")},function(r,n){n=="horizontal"?wa(e,r):bo(e,r)},e),e.display.scrollbars.addClass&&Zi(e.display.wrapper,e.display.scrollbars.addClass)}var ja=0;function ao(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:++ja,markArrays:null},Oa(e.curOp)}function wo(e){var r=e.curOp;r&&Co(r,function(n){for(var a=0;a<n.ops.length;a++)n.ops[a].cm.curOp=null;Vl(n)})}function Vl(e){for(var r=e.ops,n=0;n<r.length;n++)rc(r[n]);for(var a=0;a<r.length;a++)Eu(r[a]);for(var u=0;u<r.length;u++)Uu(r[u]);for(var h=0;h<r.length;h++)zu(r[h]);for(var C=0;C<r.length;C++)ul(r[C])}function rc(e){var r=e.cm,n=r.display;wl(r),e.updateMaxLine&&pn(r),e.mustUpdate=e.viewChanged||e.forceUpdate||e.scrollTop!=null||e.scrollToPos&&(e.scrollToPos.from.line<n.viewFrom||e.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&r.options.lineWrapping,e.update=e.mustUpdate&&new ou(r,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Eu(e){e.updatedDisplay=e.mustUpdate&&Hu(e.cm,e.update)}function Uu(e){var r=e.cm,n=r.display;e.updatedDisplay&&fo(r),e.barMeasure=su(r),n.maxLineChanged&&!r.options.lineWrapping&&(e.adjustWidthTo=Si(r,n.maxLine,n.maxLine.text.length).left+3,r.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+Tn(r)+r.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Bn(r))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function zu(e){var r=e.cm;e.adjustWidthTo!=null&&(r.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<r.doc.scrollLeft&&wa(r,Math.min(r.display.scroller.scrollLeft,e.maxScrollLeft),!0),r.display.maxLineChanged=!1);var n=e.focus&&e.focus==ii(ps(r));e.preparedSelection&&r.display.input.showSelection(e.preparedSelection,n),(e.updatedDisplay||e.startHeight!=r.doc.height)&&Ao(r,e.barMeasure),e.updatedDisplay&&cl(r,e.barMeasure),e.selectionChanged&&$o(r),r.state.focused&&e.updateInput&&r.display.input.reset(e.typing),n&&Ja(e.cm)}function ul(e){var r=e.cm,n=r.display,a=r.doc;if(e.updatedDisplay&&Tl(r,e.update),n.wheelStartX!=null&&(e.scrollTop!=null||e.scrollLeft!=null||e.scrollToPos)&&(n.wheelStartX=n.wheelStartY=null),e.scrollTop!=null&&sl(r,e.scrollTop,e.forceScroll),e.scrollLeft!=null&&wa(r,e.scrollLeft,!0,!0),e.scrollToPos){var u=Al(r,$i(a,e.scrollToPos.from),$i(a,e.scrollToPos.to),e.scrollToPos.margin);bl(r,u)}var h=e.maybeHiddenMarkers,C=e.maybeUnhiddenMarkers;if(h)for(var S=0;S<h.length;++S)h[S].lines.length||On(h[S],"hide");if(C)for(var O=0;O<C.length;++O)C[O].lines.length&&On(C[O],"unhide");n.wrapper.offsetHeight&&(a.scrollTop=r.display.scroller.scrollTop),e.changeObjs&&On(r,"changes",r,e.changeObjs),e.update&&e.update.finish()}function na(e,r){if(e.curOp)return r();ao(e);try{return r()}finally{wo(e)}}function zs(e,r){return function(){if(e.curOp)return r.apply(e,arguments);ao(e);try{return r.apply(e,arguments)}finally{wo(e)}}}function fa(e){return function(){if(this.curOp)return e.apply(this,arguments);ao(this);try{return e.apply(this,arguments)}finally{wo(this)}}}function Js(e){return function(){var r=this.cm;if(!r||r.curOp)return e.apply(this,arguments);ao(r);try{return e.apply(this,arguments)}finally{wo(r)}}}function to(e,r){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(r,zr(Go,e))}function Go(e){var r=e.doc;if(!(r.highlightFrontier>=e.display.viewTo)){var n=+new Date+e.options.workTime,a=lo(e,r.highlightFrontier),u=[];r.iter(a.line,Math.min(r.first+r.size,e.display.viewTo+500),function(h){if(a.line>=e.display.viewFrom){var C=h.styles,S=h.text.length>e.options.maxHighlightLength?Hi(r.mode,a.state):null,O=tu(e,h,a,!0);S&&(a.state=S),h.styles=O.styles;var j=h.styleClasses,$e=O.classes;$e?h.styleClasses=$e:j&&(h.styleClasses=null);for(var Be=!C||C.length!=h.styles.length||j!=$e&&(!j||!$e||j.bgClass!=$e.bgClass||j.textClass!=$e.textClass),Nt=0;!Be&&Nt<C.length;++Nt)Be=C[Nt]!=h.styles[Nt];Be&&u.push(a.line),h.stateAfter=a.save(),a.nextLine()}else h.text.length<=e.options.maxHighlightLength&&du(e,h.text,a),h.stateAfter=a.line%5==0?a.save():null,a.nextLine();if(+new Date>n)return to(e,e.options.workDelay),!0}),r.highlightFrontier=a.line,r.modeFrontier=Math.max(r.modeFrontier,a.line),u.length&&na(e,function(){for(var h=0;h<u.length;h++)Wa(e,u[h],"text")})}}var ou=function(e,r,n){var a=e.display;this.viewport=r,this.visible=Eo(a,e.doc,r),this.editorIsHidden=!a.wrapper.offsetWidth,this.wrapperHeight=a.wrapper.clientHeight,this.wrapperWidth=a.wrapper.clientWidth,this.oldDisplayWidth=Bn(e),this.force=n,this.dims=Uo(e),this.events=[]};ou.prototype.signal=function(e,r){je(e,r)&&this.events.push(arguments)},ou.prototype.finish=function(){for(var e=0;e<this.events.length;e++)On.apply(null,this.events[e])};function wl(e){var r=e.display;!r.scrollbarsClipped&&r.scroller.offsetWidth&&(r.nativeBarWidth=r.scroller.offsetWidth-r.scroller.clientWidth,r.heightForcer.style.height=Tn(e)+"px",r.sizer.style.marginBottom=-r.nativeBarWidth+"px",r.sizer.style.borderRightWidth=Tn(e)+"px",r.scrollbarsClipped=!0)}function Wl(e){if(e.hasFocus())return null;var r=ii(ps(e));if(!r||!Pn(e.display.lineDiv,r))return null;var n={activeElt:r};if(window.getSelection){var a=hs(e).getSelection();a.anchorNode&&a.extend&&Pn(e.display.lineDiv,a.anchorNode)&&(n.anchorNode=a.anchorNode,n.anchorOffset=a.anchorOffset,n.focusNode=a.focusNode,n.focusOffset=a.focusOffset)}return n}function nc(e){if(!(!e||!e.activeElt||e.activeElt==ii(e.activeElt.ownerDocument))&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&Pn(document.body,e.anchorNode)&&Pn(document.body,e.focusNode))){var r=e.activeElt.ownerDocument,n=r.defaultView.getSelection(),a=r.createRange();a.setEnd(e.anchorNode,e.anchorOffset),a.collapse(!1),n.removeAllRanges(),n.addRange(a),n.extend(e.focusNode,e.focusOffset)}}function Hu(e,r){var n=e.display,a=e.doc;if(r.editorIsHidden)return Ga(e),!1;if(!r.force&&r.visible.from>=n.viewFrom&&r.visible.to<=n.viewTo&&(n.updateLineNumbers==null||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&Iu(e)==0)return!1;To(e)&&(Ga(e),r.dims=Uo(e));var u=a.first+a.size,h=Math.max(r.visible.from-e.options.viewportMargin,a.first),C=Math.min(u,r.visible.to+e.options.viewportMargin);n.viewFrom<h&&h-n.viewFrom<20&&(h=Math.max(a.first,n.viewFrom)),n.viewTo>C&&n.viewTo-C<20&&(C=Math.min(u,n.viewTo)),za&&(h=Ro(e.doc,h),C=xo(e.doc,C));var S=h!=n.viewFrom||C!=n.viewTo||n.lastWrapHeight!=r.wrapperHeight||n.lastWrapWidth!=r.wrapperWidth;xu(e,h,C),n.viewOffset=yn(hn(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var O=Iu(e);if(!S&&O==0&&!r.force&&n.renderedView==n.view&&(n.updateLineNumbers==null||n.updateLineNumbers>=n.viewTo))return!1;var j=Wl(e);return O>4&&(n.lineDiv.style.display="none"),Sl(e,n.updateLineNumbers,r.dims),O>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,nc(j),vr(n.cursorDiv),vr(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,S&&(n.lastWrapHeight=r.wrapperHeight,n.lastWrapWidth=r.wrapperWidth,to(e,400)),n.updateLineNumbers=null,!0}function Tl(e,r){for(var n=r.viewport,a=!0;;a=!1){if(!a||!e.options.lineWrapping||r.oldDisplayWidth==Bn(e)){if(n&&n.top!=null&&(n={top:Math.min(e.doc.height+Kr(e.display)-jn(e),n.top)}),r.visible=Eo(e.display,e.doc,n),r.visible.from>=e.display.viewFrom&&r.visible.to<=e.display.viewTo)break}else a&&(r.visible=Eo(e.display,e.doc,n));if(!Hu(e,r))break;fo(e);var u=su(e);po(e),Ao(e,u),cl(e,u),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 ll(e,r){var n=new ou(e,r);if(Hu(e,n)){fo(e),Tl(e,n);var a=su(e);po(e),Ao(e,a),cl(e,a),n.finish()}}function Sl(e,r,n){var a=e.display,u=e.options.lineNumbers,h=a.lineDiv,C=h.firstChild;function S(jt){var dr=jt.nextSibling;return Oe&&un&&e.display.currentWheelTarget==jt?jt.style.display="none":jt.parentNode.removeChild(jt),dr}for(var O=a.view,j=a.viewFrom,$e=0;$e<O.length;$e++){var Be=O[$e];if(!Be.hidden)if(!Be.node||Be.node.parentNode!=h){var Nt=Yt(e,Be,j,n);h.insertBefore(Nt,C)}else{for(;C!=Be.node;)C=S(C);var it=u&&r!=null&&r<=j&&Be.lineNumber;Be.changes&&(Vn(Be.changes,"gutter")>-1&&(it=!1),ie(e,Be,j,n)),it&&(vr(Be.lineNumber),Be.lineNumber.appendChild(document.createTextNode(at(e.options,j)))),C=Be.node.nextSibling}j+=Be.size}for(;C;)C=S(C)}function Fl(e){var r=e.gutters.offsetWidth;e.sizer.style.marginLeft=r+"px",Bi(e,"gutterChanged",e)}function cl(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+Tn(e)+"px"}function $u(e){var r=e.display,n=r.view;if(!(!r.alignWidgets&&(!r.gutters.firstChild||!e.options.fixedGutter))){for(var a=Ea(r)-r.scroller.scrollLeft+e.doc.scrollLeft,u=r.gutters.offsetWidth,h=a+"px",C=0;C<n.length;C++)if(!n[C].hidden){e.options.fixedGutter&&(n[C].gutter&&(n[C].gutter.style.left=h),n[C].gutterBackground&&(n[C].gutterBackground.style.left=h));var S=n[C].alignable;if(S)for(var O=0;O<S.length;O++)S[O].style.left=h}e.options.fixedGutter&&(r.gutters.style.left=a+u+"px")}}function To(e){if(!e.options.lineNumbers)return!1;var r=e.doc,n=at(e.options,r.first+r.size-1),a=e.display;if(n.length!=a.lineNumChars){var u=a.measure.appendChild(Te("div",[Te("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),h=u.firstChild.offsetWidth,C=u.offsetWidth-h;return a.lineGutter.style.width="",a.lineNumInnerWidth=Math.max(h,a.lineGutter.offsetWidth-C)+1,a.lineNumWidth=a.lineNumInnerWidth+C,a.lineNumChars=a.lineNumInnerWidth?n.length:-1,a.lineGutter.style.width=a.lineNumWidth+"px",Fl(e.display),!0}return!1}function Xo(e,r){for(var n=[],a=!1,u=0;u<e.length;u++){var h=e[u],C=null;if(typeof h!="string"&&(C=h.style,h=h.className),h=="CodeMirror-linenumbers")if(r)a=!0;else continue;n.push({className:h,style:C})}return r&&!a&&n.push({className:"CodeMirror-linenumbers",style:null}),n}function pl(e){var r=e.gutters,n=e.gutterSpecs;vr(r),e.lineGutter=null;for(var a=0;a<n.length;++a){var u=n[a],h=u.className,C=u.style,S=r.appendChild(Te("div",null,"CodeMirror-gutter "+h));C&&(S.style.cssText=C),h=="CodeMirror-linenumbers"&&(e.lineGutter=S,S.style.width=(e.lineNumWidth||1)+"px")}r.style.display=n.length?"":"none",Fl(e)}function uu(e){pl(e.display),ua(e),$u(e)}function kl(e,r,n,a){var u=this;this.input=n,u.scrollbarFiller=Te("div",null,"CodeMirror-scrollbar-filler"),u.scrollbarFiller.setAttribute("cm-not-content","true"),u.gutterFiller=Te("div",null,"CodeMirror-gutter-filler"),u.gutterFiller.setAttribute("cm-not-content","true"),u.lineDiv=nn("div",null,"CodeMirror-code"),u.selectionDiv=Te("div",null,null,"position: relative; z-index: 1"),u.cursorDiv=Te("div",null,"CodeMirror-cursors"),u.measure=Te("div",null,"CodeMirror-measure"),u.lineMeasure=Te("div",null,"CodeMirror-measure"),u.lineSpace=nn("div",[u.measure,u.lineMeasure,u.selectionDiv,u.cursorDiv,u.lineDiv],null,"position: relative; outline: none");var h=nn("div",[u.lineSpace],"CodeMirror-lines");u.mover=Te("div",[h],null,"position: relative"),u.sizer=Te("div",[u.mover],"CodeMirror-sizer"),u.sizerWidth=null,u.heightForcer=Te("div",null,null,"position: absolute; height: "+di+"px; width: 1px;"),u.gutters=Te("div",null,"CodeMirror-gutters"),u.lineGutter=null,u.scroller=Te("div",[u.sizer,u.heightForcer,u.gutters],"CodeMirror-scroll"),u.scroller.setAttribute("tabIndex","-1"),u.wrapper=Te("div",[u.scrollbarFiller,u.gutterFiller,u.scroller],"CodeMirror"),mt&&St>=105&&(u.wrapper.style.clipPath="inset(0px)"),u.wrapper.setAttribute("translate","no"),ye&&Me<8&&(u.gutters.style.zIndex=-1,u.scroller.style.paddingRight=0),!Oe&&!(v&&Ar)&&(u.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(u.wrapper):e(u.wrapper)),u.viewFrom=u.viewTo=r.first,u.reportedViewFrom=u.reportedViewTo=r.first,u.view=[],u.renderedView=null,u.externalMeasured=null,u.viewOffset=0,u.lastWrapHeight=u.lastWrapWidth=0,u.updateLineNumbers=null,u.nativeBarWidth=u.barHeight=u.barWidth=0,u.scrollbarsClipped=!1,u.lineNumWidth=u.lineNumInnerWidth=u.lineNumChars=null,u.alignWidgets=!1,u.cachedCharWidth=u.cachedTextHeight=u.cachedPaddingH=null,u.maxLine=null,u.maxLineLength=0,u.maxLineChanged=!1,u.wheelDX=u.wheelDY=u.wheelStartX=u.wheelStartY=null,u.shift=!1,u.selForContextMenu=null,u.activeTouch=null,u.gutterSpecs=Xo(a.gutters,a.lineNumbers),pl(u),n.init(u)}var bu=0,mo=null;ye?mo=-.53:v?mo=15:mt?mo=-.7:Zt&&(mo=-1/3);function Pl(e){var r=e.wheelDeltaX,n=e.wheelDeltaY;return r==null&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(r=e.detail),n==null&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:n==null&&(n=e.wheelDelta),{x:r,y:n}}function ic(e){var r=Pl(e);return r.x*=mo,r.y*=mo,r}function Nl(e,r){mt&&St==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 n=Pl(r),a=n.x,u=n.y,h=mo;r.deltaMode===0&&(a=r.deltaX,u=r.deltaY,h=1);var C=e.display,S=C.scroller,O=S.scrollWidth>S.clientWidth,j=S.scrollHeight>S.clientHeight;if(!!(a&&O||u&&j)){if(u&&un&&Oe){e:for(var $e=r.target,Be=C.view;$e!=S;$e=$e.parentNode)for(var Nt=0;Nt<Be.length;Nt++)if(Be[Nt].node==$e){e.display.currentWheelTarget=$e;break e}}if(a&&!v&&!Wt&&h!=null){u&&j&&bo(e,Math.max(0,S.scrollTop+u*h)),wa(e,Math.max(0,S.scrollLeft+a*h)),(!u||u&&j)&&zt(r),C.wheelStartX=null;return}if(u&&h!=null){var it=u*h,jt=e.doc.scrollTop,dr=jt+C.wrapper.clientHeight;it<0?jt=Math.max(0,jt+it-50):dr=Math.min(e.doc.height,dr+it+50),ll(e,{top:jt,bottom:dr})}bu<20&&r.deltaMode!==0&&(C.wheelStartX==null?(C.wheelStartX=S.scrollLeft,C.wheelStartY=S.scrollTop,C.wheelDX=a,C.wheelDY=u,setTimeout(function(){if(C.wheelStartX!=null){var Jt=S.scrollLeft-C.wheelStartX,Sr=S.scrollTop-C.wheelStartY,Gr=Sr&&C.wheelDY&&Sr/C.wheelDY||Jt&&C.wheelDX&&Jt/C.wheelDX;C.wheelStartX=C.wheelStartY=null,Gr&&(mo=(mo*bu+Gr)/(bu+1),++bu)}},200)):(C.wheelDX+=a,C.wheelDY+=u))}}var Fa=function(e,r){this.ranges=e,this.primIndex=r};Fa.prototype.primary=function(){return this.ranges[this.primIndex]},Fa.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 n=this.ranges[r],a=e.ranges[r];if(!ui(n.anchor,a.anchor)||!ui(n.head,a.head))return!1}return!0},Fa.prototype.deepCopy=function(){for(var e=[],r=0;r<this.ranges.length;r++)e[r]=new Bs(us(this.ranges[r].anchor),us(this.ranges[r].head));return new Fa(e,this.primIndex)},Fa.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},Fa.prototype.contains=function(e,r){r||(r=e);for(var n=0;n<this.ranges.length;n++){var a=this.ranges[n];if(mr(r,a.from())>=0&&mr(e,a.to())<=0)return n}return-1};var Bs=function(e,r){this.anchor=e,this.head=r};Bs.prototype.from=function(){return Os(this.anchor,this.head)},Bs.prototype.to=function(){return Ji(this.anchor,this.head)},Bs.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Ta(e,r,n){var a=e&&e.options.selectionsMayTouch,u=r[n];r.sort(function(Nt,it){return mr(Nt.from(),it.from())}),n=Vn(r,u);for(var h=1;h<r.length;h++){var C=r[h],S=r[h-1],O=mr(S.to(),C.from());if(a&&!C.empty()?O>0:O>=0){var j=Os(S.from(),C.from()),$e=Ji(S.to(),C.to()),Be=S.empty()?C.from()==C.head:S.from()==S.head;h<=n&&--n,r.splice(--h,2,new Bs(Be?$e:j,Be?j:$e))}}return new Fa(r,n)}function oo(e,r){return new Fa([new Bs(e,r||e)],0)}function Ka(e){return e.text?yt(e.from.line+e.text.length-1,Qr(e.text).length+(e.text.length==1?e.from.ch:0)):e.to}function Bl(e,r){if(mr(e,r.from)<0)return e;if(mr(e,r.to)<=0)return Ka(r);var n=e.line+r.text.length-(r.to.line-r.from.line)-1,a=e.ch;return e.line==r.to.line&&(a+=Ka(r).ch-r.to.ch),yt(n,a)}function hl(e,r){for(var n=[],a=0;a<e.sel.ranges.length;a++){var u=e.sel.ranges[a];n.push(new Bs(Bl(u.anchor,r),Bl(u.head,r)))}return Ta(e.cm,n,e.sel.primIndex)}function Jo(e,r,n){return e.line==r.line?yt(n.line,e.ch-r.ch+n.ch):yt(n.line+(e.line-r.line),e.ch)}function Ko(e,r,n){for(var a=[],u=yt(e.first,0),h=u,C=0;C<r.length;C++){var S=r[C],O=Jo(S.from,u,h),j=Jo(Ka(S),u,h);if(u=S.to,h=j,n=="around"){var $e=e.sel.ranges[C],Be=mr($e.head,$e.anchor)<0;a[C]=new Bs(Be?j:O,Be?O:j)}else a[C]=new Bs(O,O)}return new Fa(a,e.sel.primIndex)}function Qo(e){e.doc.mode=Nn(e.options,e.doc.modeOption),Au(e)}function Au(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,to(e,100),e.state.modeGen++,e.curOp&&ua(e)}function qu(e,r){return r.from.ch==0&&r.to.ch==0&&Qr(r.text)==""&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function Vu(e,r,n,a){function u(Gr){return n?n[Gr]:null}function h(Gr,rt,vn){ai(Gr,rt,vn,a),Bi(Gr,"change",Gr,r)}function C(Gr,rt){for(var vn=[],Sn=Gr;Sn<rt;++Sn)vn.push(new Zn(j[Sn],u(Sn),a));return vn}var S=r.from,O=r.to,j=r.text,$e=hn(e,S.line),Be=hn(e,O.line),Nt=Qr(j),it=u(j.length-1),jt=O.line-S.line;if(r.full)e.insert(0,C(0,j.length)),e.remove(j.length,e.size-j.length);else if(qu(e,r)){var dr=C(0,j.length-1);h(Be,Be.text,it),jt&&e.remove(S.line,jt),dr.length&&e.insert(S.line,dr)}else if($e==Be)if(j.length==1)h($e,$e.text.slice(0,S.ch)+Nt+$e.text.slice(O.ch),it);else{var Jt=C(1,j.length-1);Jt.push(new Zn(Nt+$e.text.slice(O.ch),it,a)),h($e,$e.text.slice(0,S.ch)+j[0],u(0)),e.insert(S.line+1,Jt)}else if(j.length==1)h($e,$e.text.slice(0,S.ch)+j[0]+Be.text.slice(O.ch),u(0)),e.remove(S.line+1,jt);else{h($e,$e.text.slice(0,S.ch)+j[0],u(0)),h(Be,Nt+Be.text.slice(O.ch),it);var Sr=C(1,j.length-1);jt>1&&e.remove(S.line+1,jt-1),e.insert(S.line+1,Sr)}Bi(e,"change",e,r)}function Ra(e,r,n){function a(u,h,C){if(u.linked)for(var S=0;S<u.linked.length;++S){var O=u.linked[S];if(O.doc!=h){var j=C&&O.sharedHist;n&&!j||(r(O.doc,j),a(O.doc,u,j))}}}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,Ma(e),Qo(e),lu(e),e.options.direction=r.direction,e.options.lineWrapping||pn(e),e.options.mode=r.modeOption,ua(e)}function lu(e){(e.doc.direction=="rtl"?Zi:gi)(e.display.lineDiv,"CodeMirror-rtl")}function _l(e){na(e,function(){lu(e),ua(e)})}function So(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 T(e,r){var n={from:us(r.from),to:Ka(r),text:Ti(e,r.from,r.to)};return ve(e,n,r.from.line,r.to.line+1),Ra(e,function(a){return ve(a,n,r.from.line,r.to.line+1)},!0),n}function ae(e){for(;e.length;){var r=Qr(e);if(r.ranges)e.pop();else break}}function Z(e,r){if(r)return ae(e.done),Qr(e.done);if(e.done.length&&!Qr(e.done).ranges)return Qr(e.done);if(e.done.length>1&&!e.done[e.done.length-2].ranges)return e.done.pop(),Qr(e.done)}function K(e,r,n,a){var u=e.history;u.undone.length=0;var h=+new Date,C,S;if((u.lastOp==a||u.lastOrigin==r.origin&&r.origin&&(r.origin.charAt(0)=="+"&&u.lastModTime>h-(e.cm?e.cm.options.historyEventDelay:500)||r.origin.charAt(0)=="*"))&&(C=Z(u,u.lastOp==a)))S=Qr(C.changes),mr(r.from,r.to)==0&&mr(r.from,S.to)==0?S.to=Ka(r):C.changes.push(T(e,r));else{var O=Qr(u.done);for((!O||!O.ranges)&&we(e.sel,u.done),C={changes:[T(e,r)],generation:u.generation},u.done.push(C);u.done.length>u.undoDepth;)u.done.shift(),u.done[0].ranges||u.done.shift()}u.done.push(n),u.generation=++u.maxGeneration,u.lastModTime=u.lastSelTime=h,u.lastOp=u.lastSelOp=a,u.lastOrigin=u.lastSelOrigin=r.origin,S||On(e,"historyAdded")}function oe(e,r,n,a){var u=r.charAt(0);return u=="*"||u=="+"&&n.ranges.length==a.ranges.length&&n.somethingSelected()==a.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function Ae(e,r,n,a){var u=e.history,h=a&&a.origin;n==u.lastSelOp||h&&u.lastSelOrigin==h&&(u.lastModTime==u.lastSelTime&&u.lastOrigin==h||oe(e,h,Qr(u.done),r))?u.done[u.done.length-1]=r:we(r,u.done),u.lastSelTime=+new Date,u.lastSelOrigin=h,u.lastSelOp=n,a&&a.clearRedo!==!1&&ae(u.undone)}function we(e,r){var n=Qr(r);n&&n.ranges&&n.equals(e)||r.push(e)}function ve(e,r,n,a){var u=r["spans_"+e.id],h=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,a),function(C){C.markedSpans&&((u||(u=r["spans_"+e.id]={}))[h]=C.markedSpans),++h})}function xe(e){if(!e)return null;for(var r,n=0;n<e.length;++n)e[n].marker.explicitlyCleared?r||(r=e.slice(0,n)):r&&r.push(e[n]);return r?r.length?r:null:e}function Se(e,r){var n=r["spans_"+e.id];if(!n)return null;for(var a=[],u=0;u<r.text.length;++u)a.push(xe(n[u]));return a}function k(e,r){var n=Se(e,r),a=Oo(e,r);if(!n)return a;if(!a)return n;for(var u=0;u<n.length;++u){var h=n[u],C=a[u];if(h&&C){e:for(var S=0;S<C.length;++S){for(var O=C[S],j=0;j<h.length;++j)if(h[j].marker==O.marker)continue e;h.push(O)}}else C&&(n[u]=C)}return n}function x(e,r,n){for(var a=[],u=0;u<e.length;++u){var h=e[u];if(h.ranges){a.push(n?Fa.prototype.deepCopy.call(h):h);continue}var C=h.changes,S=[];a.push({changes:S});for(var O=0;O<C.length;++O){var j=C[O],$e=void 0;if(S.push({from:j.from,to:j.to,text:j.text}),r)for(var Be in j)($e=Be.match(/^spans_(\d+)$/))&&Vn(r,Number($e[1]))>-1&&(Qr(S)[Be]=j[Be],delete j[Be])}}return a}function re(e,r,n,a){if(a){var u=e.anchor;if(n){var h=mr(r,u)<0;h!=mr(n,u)<0?(u=r,r=n):h!=mr(r,n)<0&&(r=n)}return new Bs(u,r)}else return new Bs(n||r,r)}function Q(e,r,n,a,u){u==null&&(u=e.cm&&(e.cm.display.shift||e.extend)),vt(e,new Fa([re(e.sel.primary(),r,n,u)],0),a)}function Ie(e,r,n){for(var a=[],u=e.cm&&(e.cm.display.shift||e.extend),h=0;h<e.sel.ranges.length;h++)a[h]=re(e.sel.ranges[h],r[h],null,u);var C=Ta(e.cm,a,e.sel.primIndex);vt(e,C,n)}function Fe(e,r,n,a){var u=e.sel.ranges.slice(0);u[r]=n,vt(e,Ta(e.cm,u,e.sel.primIndex),a)}function Xe(e,r,n,a){vt(e,oo(r,n),a)}function Ge(e,r,n){var a={ranges:r.ranges,update:function(u){this.ranges=[];for(var h=0;h<u.length;h++)this.ranges[h]=new Bs($i(e,u[h].anchor),$i(e,u[h].head))},origin:n&&n.origin};return On(e,"beforeSelectionChange",e,a),e.cm&&On(e.cm,"beforeSelectionChange",e.cm,a),a.ranges!=r.ranges?Ta(e.cm,a.ranges,a.ranges.length-1):r}function Ne(e,r,n){var a=e.history.done,u=Qr(a);u&&u.ranges?(a[a.length-1]=r,Pt(e,r,n)):vt(e,r,n)}function vt(e,r,n){Pt(e,r,n),Ae(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function Pt(e,r,n){(je(e,"beforeSelectionChange")||e.cm&&je(e.cm,"beforeSelectionChange"))&&(r=Ge(e,r,n));var a=n&&n.bias||(mr(r.primary().head,e.sel.primary().head)<0?-1:1);Gt(e,$n(e,r,a,!0)),!(n&&n.scroll===!1)&&e.cm&&e.cm.getOption("readOnly")!="nocursor"&&Aa(e.cm)}function Gt(e,r){r.equals(e.sel)||(e.sel=r,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,It(e.cm)),Bi(e,"cursorActivity",e))}function dn(e){Gt(e,$n(e,e.sel,null,!1))}function $n(e,r,n,a){for(var u,h=0;h<r.ranges.length;h++){var C=r.ranges[h],S=r.ranges.length==e.sel.ranges.length&&e.sel.ranges[h],O=yi(e,C.anchor,S&&S.anchor,n,a),j=C.head==C.anchor?O:yi(e,C.head,S&&S.head,n,a);(u||O!=C.anchor||j!=C.head)&&(u||(u=r.ranges.slice(0,h)),u[h]=new Bs(O,j))}return u?Ta(e.cm,u,r.primIndex):r}function qn(e,r,n,a,u){var h=hn(e,r.line);if(h.markedSpans)for(var C=0;C<h.markedSpans.length;++C){var S=h.markedSpans[C],O=S.marker,j="selectLeft"in O?!O.selectLeft:O.inclusiveLeft,$e="selectRight"in O?!O.selectRight:O.inclusiveRight;if((S.from==null||(j?S.from<=r.ch:S.from<r.ch))&&(S.to==null||($e?S.to>=r.ch:S.to>r.ch))){if(u&&(On(O,"beforeCursorEnter"),O.explicitlyCleared))if(h.markedSpans){--C;continue}else break;if(!O.atomic)continue;if(n){var Be=O.find(a<0?1:-1),Nt=void 0;if((a<0?$e:j)&&(Be=en(e,Be,-a,Be&&Be.line==r.line?h:null)),Be&&Be.line==r.line&&(Nt=mr(Be,n))&&(a<0?Nt<0:Nt>0))return qn(e,Be,r,a,u)}var it=O.find(a<0?-1:1);return(a<0?j:$e)&&(it=en(e,it,a,it.line==r.line?h:null)),it?qn(e,it,r,a,u):null}}return r}function yi(e,r,n,a,u){var h=a||1,C=qn(e,r,n,h,u)||!u&&qn(e,r,n,h,!0)||qn(e,r,n,-h,u)||!u&&qn(e,r,n,-h,!0);return C||(e.cantEdit=!0,yt(e.first,0))}function en(e,r,n,a){return n<0&&r.ch==0?r.line>e.first?$i(e,yt(r.line-1)):null:n>0&&r.ch==(a||hn(e,r.line)).text.length?r.line<e.first+e.size-1?yt(r.line+1,0):null:new yt(r.line,r.ch+n)}function Ii(e){e.setSelection(yt(e.firstLine(),0),yt(e.lastLine()),Je)}function mi(e,r,n){var a={canceled:!1,from:r.from,to:r.to,text:r.text,origin:r.origin,cancel:function(){return a.canceled=!0}};return n&&(a.update=function(u,h,C,S){u&&(a.from=$i(e,u)),h&&(a.to=$i(e,h)),C&&(a.text=C),S!==void 0&&(a.origin=S)}),On(e,"beforeChange",e,a),e.cm&&On(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 Di(e,r,n){if(e.cm){if(!e.cm.curOp)return zs(e.cm,Di)(e,r,n);if(e.cm.state.suppressEdits)return}if(!((je(e,"beforeChange")||e.cm&&je(e.cm,"beforeChange"))&&(r=mi(e,r,!0),!r))){var a=Nu&&!n&&Xs(e,r.from,r.to);if(a)for(var u=a.length-1;u>=0;--u)xn(e,{from:a[u].from,to:a[u].to,text:u?[""]:r.text,origin:r.origin});else xn(e,r)}}function xn(e,r){if(!(r.text.length==1&&r.text[0]==""&&mr(r.from,r.to)==0)){var n=hl(e,r);K(e,r,n,e.cm?e.cm.curOp.id:NaN),Or(e,r,n,Oo(e,r));var a=[];Ra(e,function(u,h){!h&&Vn(a,u.history)==-1&&(ns(u.history,r),a.push(u.history)),Or(u,r,null,Oo(u,r))})}}function Wr(e,r,n){var a=e.cm&&e.cm.state.suppressEdits;if(!(a&&!n)){for(var u=e.history,h,C=e.sel,S=r=="undo"?u.done:u.undone,O=r=="undo"?u.undone:u.done,j=0;j<S.length&&(h=S[j],!(n?h.ranges&&!h.equals(e.sel):!h.ranges));j++);if(j!=S.length){for(u.lastOrigin=u.lastSelOrigin=null;;)if(h=S.pop(),h.ranges){if(we(h,O),n&&!h.equals(e.sel)){vt(e,h,{clearRedo:!1});return}C=h}else if(a){S.push(h);return}else break;var $e=[];we(C,O),O.push({changes:$e,generation:u.generation}),u.generation=h.generation||++u.maxGeneration;for(var Be=je(e,"beforeChange")||e.cm&&je(e.cm,"beforeChange"),Nt=function(dr){var Jt=h.changes[dr];if(Jt.origin=r,Be&&!mi(e,Jt,!1))return S.length=0,{};$e.push(T(e,Jt));var Sr=dr?hl(e,Jt):Qr(S);Or(e,Jt,Sr,k(e,Jt)),!dr&&e.cm&&e.cm.scrollIntoView({from:Jt.from,to:Ka(Jt)});var Gr=[];Ra(e,function(rt,vn){!vn&&Vn(Gr,rt.history)==-1&&(ns(rt.history,Jt),Gr.push(rt.history)),Or(rt,Jt,null,k(rt,Jt))})},it=h.changes.length-1;it>=0;--it){var jt=Nt(it);if(jt)return jt.v}}}}function Cn(e,r){if(r!=0&&(e.first+=r,e.sel=new Fa(gn(e.sel.ranges,function(u){return new Bs(yt(u.anchor.line+r,u.anchor.ch),yt(u.head.line+r,u.head.ch))}),e.sel.primIndex),e.cm)){ua(e.cm,e.first,e.first-r,r);for(var n=e.cm.display,a=n.viewFrom;a<n.viewTo;a++)Wa(e.cm,a,"gutter")}}function Or(e,r,n,a){if(e.cm&&!e.cm.curOp)return zs(e.cm,Or)(e,r,n,a);if(r.to.line<e.first){Cn(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 u=r.text.length-1-(e.first-r.from.line);Cn(e,u),r={from:yt(e.first,0),to:yt(r.to.line+u,r.to.ch),text:[Qr(r.text)],origin:r.origin}}var h=e.lastLine();r.to.line>h&&(r={from:r.from,to:yt(h,hn(e,h).text.length),text:[r.text[0]],origin:r.origin}),r.removed=Ti(e,r.from,r.to),n||(n=hl(e,r)),e.cm?Ks(e.cm,r,a):Vu(e,r,a),Pt(e,n,Je),e.cantEdit&&yi(e,yt(e.firstLine(),0))&&(e.cantEdit=!1)}}function Ks(e,r,n){var a=e.doc,u=e.display,h=r.from,C=r.to,S=!1,O=h.line;e.options.lineWrapping||(O=Vi(xa(hn(a,h.line))),a.iter(O,C.line+1,function(it){if(it==u.maxLine)return S=!0,!0})),a.sel.contains(r.from,r.to)>-1&&It(e),Vu(a,r,n,Va(e)),e.options.lineWrapping||(a.iter(O,h.line+r.text.length,function(it){var jt=ln(it);jt>u.maxLineLength&&(u.maxLine=it,u.maxLineLength=jt,u.maxLineChanged=!0,S=!1)}),S&&(e.curOp.updateMaxLine=!0)),tl(a,h.line),to(e,400);var j=r.text.length-(C.line-h.line)-1;r.full?ua(e):h.line==C.line&&r.text.length==1&&!qu(e.doc,r)?Wa(e,h.line,"text"):ua(e,h.line,C.line+1,j);var $e=je(e,"changes"),Be=je(e,"change");if(Be||$e){var Nt={from:h,to:C,text:r.text,removed:r.removed,origin:r.origin};Be&&Bi(e,"change",e,Nt),$e&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(Nt)}e.display.selForContextMenu=null}function ms(e,r,n,a,u){var h;a||(a=n),mr(a,n)<0&&(h=[a,n],n=h[0],a=h[1]),typeof r=="string"&&(r=e.splitLines(r)),Di(e,{from:n,to:a,text:r,origin:u})}function rs(e,r,n,a){n<e.line?e.line+=a:r<e.line&&(e.line=r,e.ch=0)}function fs(e,r,n,a){for(var u=0;u<e.length;++u){var h=e[u],C=!0;if(h.ranges){h.copied||(h=e[u]=h.deepCopy(),h.copied=!0);for(var S=0;S<h.ranges.length;S++)rs(h.ranges[S].anchor,r,n,a),rs(h.ranges[S].head,r,n,a);continue}for(var O=0;O<h.changes.length;++O){var j=h.changes[O];if(n<j.from.line)j.from=yt(j.from.line+a,j.from.ch),j.to=yt(j.to.line+a,j.to.ch);else if(r<=j.to.line){C=!1;break}}C||(e.splice(0,u+1),u=0)}}function ns(e,r){var n=r.from.line,a=r.to.line,u=r.text.length-(a-n)-1;fs(e.done,n,a,u),fs(e.undone,n,a,u)}function ri(e,r,n,a){var u=r,h=r;return typeof r=="number"?h=hn(e,Us(e,r)):u=Vi(r),u==null?null:(a(h,u)&&e.cm&&Wa(e.cm,u,n),h)}function Oi(e){this.lines=e,this.parent=null;for(var r=0,n=0;n<e.length;++n)e[n].parent=this,r+=e[n].height;this.height=r}Oi.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,r){for(var n=e,a=e+r;n<a;++n){var u=this.lines[n];this.height-=u.height,ni(u),Bi(u,"delete")}this.lines.splice(e,r)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,r,n){this.height+=n,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,n){for(var a=e+r;e<a;++e)if(n(this.lines[e]))return!0}};function xi(e){this.children=e;for(var r=0,n=0,a=0;a<e.length;++a){var u=e[a];r+=u.chunkSize(),n+=u.height,u.parent=this}this.size=r,this.height=n,this.parent=null}xi.prototype={chunkSize:function(){return this.size},removeInner:function(e,r){this.size-=r;for(var n=0;n<this.children.length;++n){var a=this.children[n],u=a.chunkSize();if(e<u){var h=Math.min(r,u-e),C=a.height;if(a.removeInner(e,h),this.height-=C-a.height,u==h&&(this.children.splice(n--,1),a.parent=null),(r-=h)==0)break;e=0}else e-=u}if(this.size-r<25&&(this.children.length>1||!(this.children[0]instanceof Oi))){var S=[];this.collapse(S),this.children=[new Oi(S)],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,n){this.size+=r.length,this.height+=n;for(var a=0;a<this.children.length;++a){var u=this.children[a],h=u.chunkSize();if(e<=h){if(u.insertInner(e,r,n),u.lines&&u.lines.length>50){for(var C=u.lines.length%25+25,S=C;S<u.lines.length;){var O=new Oi(u.lines.slice(S,S+=25));u.height-=O.height,this.children.splice(++a,0,O),O.parent=this}u.lines=u.lines.slice(0,C),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),n=new xi(r);if(e.parent){e.size-=n.size,e.height-=n.height;var u=Vn(e.parent.children,e);e.parent.children.splice(u+1,0,n)}else{var a=new xi(e.children);a.parent=e,e.children=[a,n],e=a}n.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,r,n){for(var a=0;a<this.children.length;++a){var u=this.children[a],h=u.chunkSize();if(e<h){var C=Math.min(r,h-e);if(u.iterN(e,C,n))return!0;if((r-=C)==0)break;e=0}else e-=h}}};var Ci=function(e,r,n){if(n)for(var a in n)n.hasOwnProperty(a)&&(this[a]=n[a]);this.doc=e,this.node=r};Ci.prototype.clear=function(){var e=this.doc.cm,r=this.line.widgets,n=this.line,a=Vi(n);if(!(a==null||!r)){for(var u=0;u<r.length;++u)r[u]==this&&r.splice(u--,1);r.length||(n.widgets=null);var h=nr(this);Yn(n,Math.max(0,n.height-h)),e&&(na(e,function(){Vt(e,n,-h),Wa(e,a,"widget")}),Bi(e,"lineWidgetCleared",e,this,a))}},Ci.prototype.changed=function(){var e=this,r=this.height,n=this.doc.cm,a=this.line;this.height=null;var u=nr(this)-r;!u||(Qn(this.doc,a)||Yn(a,a.height+u),n&&na(n,function(){n.curOp.forceUpdate=!0,Vt(n,a,u),Bi(n,"lineWidgetChanged",n,e,Vi(a))}))},_t(Ci);function Vt(e,r,n){yn(r)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&iu(e,n)}function kr(e,r,n,a){var u=new Ci(e,n,a),h=e.cm;return h&&u.noHScroll&&(h.display.alignWidgets=!0),ri(e,r,"widget",function(C){var S=C.widgets||(C.widgets=[]);if(u.insertAt==null?S.push(u):S.splice(Math.min(S.length,Math.max(0,u.insertAt)),0,u),u.line=C,h&&!Qn(e,C)){var O=yn(C)<e.scrollTop;Yn(C,C.height+nr(u)),O&&iu(h,u.height),h.curOp.forceUpdate=!0}return!0}),h&&Bi(h,"lineWidgetAdded",h,u,typeof r=="number"?r:Vi(r)),u}var Lr=0,In=function(e,r){this.lines=[],this.type=r,this.doc=e,this.id=++Lr};In.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,r=e&&!e.curOp;if(r&&ao(e),je(this,"clear")){var n=this.find();n&&Bi(this,"clear",n.from,n.to)}for(var a=null,u=null,h=0;h<this.lines.length;++h){var C=this.lines[h],S=Io(C.markedSpans,this);e&&!this.collapsed?Wa(e,Vi(C),"text"):e&&(S.to!=null&&(u=Vi(C)),S.from!=null&&(a=Vi(C))),C.markedSpans=Bu(C.markedSpans,S),S.from==null&&this.collapsed&&!Qn(this.doc,C)&&e&&Yn(C,Ca(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var O=0;O<this.lines.length;++O){var j=xa(this.lines[O]),$e=ln(j);$e>e.display.maxLineLength&&(e.display.maxLine=j,e.display.maxLineLength=$e,e.display.maxLineChanged=!0)}a!=null&&e&&this.collapsed&&ua(e,a,u+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&dn(e.doc)),e&&Bi(e,"markerCleared",e,this,a,u),r&&wo(e),this.parent&&this.parent.clear()}},In.prototype.find=function(e,r){e==null&&this.type=="bookmark"&&(e=1);for(var n,a,u=0;u<this.lines.length;++u){var h=this.lines[u],C=Io(h.markedSpans,this);if(C.from!=null&&(n=yt(r?h:Vi(h),C.from),e==-1))return n;if(C.to!=null&&(a=yt(r?h:Vi(h),C.to),e==1))return a}return n&&{from:n,to:a}},In.prototype.changed=function(){var e=this,r=this.find(-1,!0),n=this,a=this.doc.cm;!r||!a||na(a,function(){var u=r.line,h=Vi(r.line),C=_i(a,h);if(C&&(Yi(C),a.curOp.selectionChanged=a.curOp.forceUpdate=!0),a.curOp.updateMaxLine=!0,!Qn(n.doc,u)&&n.height!=null){var S=n.height;n.height=null;var O=nr(n)-S;O&&Yn(u,u.height+O)}Bi(a,"markerChanged",a,e)})},In.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var r=this.doc.cm.curOp;(!r.maybeHiddenMarkers||Vn(r.maybeHiddenMarkers,this)==-1)&&(r.maybeUnhiddenMarkers||(r.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},In.prototype.detachLine=function(e){if(this.lines.splice(Vn(this.lines,e),1),!this.lines.length&&this.doc.cm){var r=this.doc.cm.curOp;(r.maybeHiddenMarkers||(r.maybeHiddenMarkers=[])).push(this)}},_t(In);function Mt(e,r,n,a,u){if(a&&a.shared)return ei(e,r,n,a,u);if(e.cm&&!e.cm.curOp)return zs(e.cm,Mt)(e,r,n,a,u);var h=new In(e,u),C=mr(r,n);if(a&&$r(a,h,!1),C>0||C==0&&h.clearWhenEmpty!==!1)return h;if(h.replacedWith&&(h.collapsed=!0,h.widgetNode=nn("span",[h.replacedWith],"CodeMirror-widget"),a.handleMouseEvents||h.widgetNode.setAttribute("cm-ignore-events","true"),a.insertLeft&&(h.widgetNode.insertLeft=!0)),h.collapsed){if(jo(e,r.line,r,n,h)||r.line!=n.line&&jo(e,n.line,r,n,h))throw new Error("Inserting collapsed marker partially overlapping an existing one");rl()}h.addToHistory&&K(e,{from:r,to:n,origin:"markText"},e.sel,NaN);var S=r.line,O=e.cm,j;if(e.iter(S,n.line+1,function(Be){O&&h.collapsed&&!O.options.lineWrapping&&xa(Be)==O.display.maxLine&&(j=!0),h.collapsed&&S!=r.line&&Yn(Be,0),nl(Be,new ma(h,S==r.line?r.ch:null,S==n.line?n.ch:null),e.cm&&e.cm.curOp),++S}),h.collapsed&&e.iter(r.line,n.line+1,function(Be){Qn(e,Be)&&Yn(Be,0)}),h.clearOnEnter&&Lt(h,"beforeCursorEnter",function(){return h.clear()}),h.readOnly&&(xl(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),h.collapsed&&(h.id=++Lr,h.atomic=!0),O){if(j&&(O.curOp.updateMaxLine=!0),h.collapsed)ua(O,r.line,n.line+1);else if(h.className||h.startStyle||h.endStyle||h.css||h.attributes||h.title)for(var $e=r.line;$e<=n.line;$e++)Wa(O,$e,"text");h.atomic&&dn(O.doc),Bi(O,"markerAdded",O,h)}return h}var si=function(e,r){this.markers=e,this.primary=r;for(var n=0;n<e.length;++n)e[n].parent=this};si.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();Bi(this,"clear")}},si.prototype.find=function(e,r){return this.primary.find(e,r)},_t(si);function ei(e,r,n,a,u){a=$r(a),a.shared=!1;var h=[Mt(e,r,n,a,u)],C=h[0],S=a.widgetNode;return Ra(e,function(O){S&&(a.widgetNode=S.cloneNode(!0)),h.push(Mt(O,$i(O,r),$i(O,n),a,u));for(var j=0;j<O.linked.length;++j)if(O.linked[j].isParent)return;C=Qr(h)}),new si(h,C)}function ta(e){return e.findMarks(yt(e.first,0),e.clipPos(yt(e.lastLine())),function(r){return r.parent})}function ia(e,r){for(var n=0;n<r.length;n++){var a=r[n],u=a.find(),h=e.clipPos(u.from),C=e.clipPos(u.to);if(mr(h,C)){var S=Mt(e,h,C,a.primary,a.primary.type);a.markers.push(S),S.parent=a}}}function ka(e){for(var r=function(a){var u=e[a],h=[u.primary.doc];Ra(u.primary.doc,function(O){return h.push(O)});for(var C=0;C<u.markers.length;C++){var S=u.markers[C];Vn(h,S.doc)==-1&&(S.parent=null,u.markers.splice(C--,1))}},n=0;n<e.length;n++)r(n)}var Pa=0,Ls=function(e,r,n,a,u){if(!(this instanceof Ls))return new Ls(e,r,n,a,u);n==null&&(n=0),xi.call(this,[new Oi([new Zn("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=n;var h=yt(n,0);this.sel=oo(h),this.history=new So(null),this.id=++Pa,this.modeOption=r,this.lineSep=a,this.direction=u=="rtl"?"rtl":"ltr",this.extend=!1,typeof e=="string"&&(e=this.splitLines(e)),Vu(this,{from:h,to:h,text:e}),vt(this,oo(h),Je)};Ls.prototype=Ft(xi.prototype,{constructor:Ls,iter:function(e,r,n){n?this.iterN(e-this.first,r-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,r){for(var n=0,a=0;a<r.length;++a)n+=r[a].height;this.insertInner(e-this.first,r,n)},remove:function(e,r){this.removeInner(e-this.first,r)},getValue:function(e){var r=Xi(this,this.first,this.first+this.size);return e===!1?r:r.join(e||this.lineSeparator())},setValue:Js(function(e){var r=yt(this.first,0),n=this.first+this.size-1;Di(this,{from:r,to:yt(n,hn(this,n).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&Za(this.cm,0,0),vt(this,oo(r),Je)}),replaceRange:function(e,r,n,a){r=$i(this,r),n=n?$i(this,n):r,ms(this,e,r,n,a)},getRange:function(e,r,n){var a=Ti(this,$i(this,e),$i(this,r));return n===!1?a:n===""?a.join(""):a.join(n||this.lineSeparator())},getLine:function(e){var r=this.getLineHandle(e);return r&&r.text},getLineHandle:function(e){if(_(this,e))return hn(this,e)},getLineNumber:function(e){return Vi(e)},getLineHandleVisualStart:function(e){return typeof e=="number"&&(e=hn(this,e)),xa(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return $i(this,e)},getCursor:function(e){var r=this.sel.primary(),n;return e==null||e=="head"?n=r.head:e=="anchor"?n=r.anchor:e=="end"||e=="to"||e===!1?n=r.to():n=r.from(),n},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Js(function(e,r,n){Xe(this,$i(this,typeof e=="number"?yt(e,r||0):e),null,n)}),setSelection:Js(function(e,r,n){Xe(this,$i(this,e),$i(this,r||e),n)}),extendSelection:Js(function(e,r,n){Q(this,$i(this,e),r&&$i(this,r),n)}),extendSelections:Js(function(e,r){Ie(this,ku(this,e),r)}),extendSelectionsBy:Js(function(e,r){var n=gn(this.sel.ranges,e);Ie(this,ku(this,n),r)}),setSelections:Js(function(e,r,n){if(!!e.length){for(var a=[],u=0;u<e.length;u++)a[u]=new Bs($i(this,e[u].anchor),$i(this,e[u].head||e[u].anchor));r==null&&(r=Math.min(e.length-1,this.sel.primIndex)),vt(this,Ta(this.cm,a,r),n)}}),addSelection:Js(function(e,r,n){var a=this.sel.ranges.slice(0);a.push(new Bs($i(this,e),$i(this,r||e))),vt(this,Ta(this.cm,a,a.length-1),n)}),getSelection:function(e){for(var r=this.sel.ranges,n,a=0;a<r.length;a++){var u=Ti(this,r[a].from(),r[a].to());n=n?n.concat(u):u}return e===!1?n:n.join(e||this.lineSeparator())},getSelections:function(e){for(var r=[],n=this.sel.ranges,a=0;a<n.length;a++){var u=Ti(this,n[a].from(),n[a].to());e!==!1&&(u=u.join(e||this.lineSeparator())),r[a]=u}return r},replaceSelection:function(e,r,n){for(var a=[],u=0;u<this.sel.ranges.length;u++)a[u]=e;this.replaceSelections(a,r,n||"+input")},replaceSelections:Js(function(e,r,n){for(var a=[],u=this.sel,h=0;h<u.ranges.length;h++){var C=u.ranges[h];a[h]={from:C.from(),to:C.to(),text:this.splitLines(e[h]),origin:n}}for(var S=r&&r!="end"&&Ko(this,a,r),O=a.length-1;O>=0;O--)Di(this,a[O]);S?Ne(this,S):this.cm&&Aa(this.cm)}),undo:Js(function(){Wr(this,"undo")}),redo:Js(function(){Wr(this,"redo")}),undoSelection:Js(function(){Wr(this,"undo",!0)}),redoSelection:Js(function(){Wr(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,r=0,n=0,a=0;a<e.done.length;a++)e.done[a].ranges||++r;for(var u=0;u<e.undone.length;u++)e.undone[u].ranges||++n;return{undo:r,redo:n}},clearHistory:function(){var e=this;this.history=new So(this.history),Ra(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:x(this.history.done),undone:x(this.history.undone)}},setHistory:function(e){var r=this.history=new So(this.history);r.done=x(e.done.slice(0),null,!0),r.undone=x(e.undone.slice(0),null,!0)},setGutterMarker:Js(function(e,r,n){return ri(this,e,"gutter",function(a){var u=a.gutterMarkers||(a.gutterMarkers={});return u[r]=n,!n&&Ni(u)&&(a.gutterMarkers=null),!0})}),clearGutter:Js(function(e){var r=this;this.iter(function(n){n.gutterMarkers&&n.gutterMarkers[e]&&ri(r,n,"gutter",function(){return n.gutterMarkers[e]=null,Ni(n.gutterMarkers)&&(n.gutterMarkers=null),!0})})}),lineInfo:function(e){var r;if(typeof e=="number"){if(!_(this,e)||(r=e,e=hn(this,e),!e))return null}else if(r=Vi(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:Js(function(e,r,n){return ri(this,e,r=="gutter"?"gutter":"class",function(a){var u=r=="text"?"textClass":r=="background"?"bgClass":r=="gutter"?"gutterClass":"wrapClass";if(!a[u])a[u]=n;else{if(Un(n).test(a[u]))return!1;a[u]+=" "+n}return!0})}),removeLineClass:Js(function(e,r,n){return ri(this,e,r=="gutter"?"gutter":"class",function(a){var u=r=="text"?"textClass":r=="background"?"bgClass":r=="gutter"?"gutterClass":"wrapClass",h=a[u];if(h)if(n==null)a[u]=null;else{var C=h.match(Un(n));if(!C)return!1;var S=C.index+C[0].length;a[u]=h.slice(0,C.index)+(!C.index||S==h.length?"":" ")+h.slice(S)||null}else return!1;return!0})}),addLineWidget:Js(function(e,r,n){return kr(this,e,r,n)}),removeLineWidget:function(e){e.clear()},markText:function(e,r,n){return Mt(this,$i(this,e),$i(this,r),n,n&&n.type||"range")},setBookmark:function(e,r){var n={replacedWith:r&&(r.nodeType==null?r.widget:r),insertLeft:r&&r.insertLeft,clearWhenEmpty:!1,shared:r&&r.shared,handleMouseEvents:r&&r.handleMouseEvents};return e=$i(this,e),Mt(this,e,e,n,"bookmark")},findMarksAt:function(e){e=$i(this,e);var r=[],n=hn(this,e.line).markedSpans;if(n)for(var a=0;a<n.length;++a){var u=n[a];(u.from==null||u.from<=e.ch)&&(u.to==null||u.to>=e.ch)&&r.push(u.marker.parent||u.marker)}return r},findMarks:function(e,r,n){e=$i(this,e),r=$i(this,r);var a=[],u=e.line;return this.iter(e.line,r.line+1,function(h){var C=h.markedSpans;if(C)for(var S=0;S<C.length;S++){var O=C[S];!(O.to!=null&&u==e.line&&e.ch>=O.to||O.from==null&&u!=e.line||O.from!=null&&u==r.line&&O.from>=r.ch)&&(!n||n(O.marker))&&a.push(O.marker.parent||O.marker)}++u}),a},getAllMarks:function(){var e=[];return this.iter(function(r){var n=r.markedSpans;if(n)for(var a=0;a<n.length;++a)n[a].from!=null&&e.push(n[a].marker)}),e},posFromIndex:function(e){var r,n=this.first,a=this.lineSeparator().length;return this.iter(function(u){var h=u.text.length+a;if(h>e)return r=e,!0;e-=h,++n}),$i(this,yt(n,r))},indexFromPos:function(e){e=$i(this,e);var r=e.ch;if(e.line<this.first||e.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,e.line,function(a){r+=a.text.length+n}),r},copy:function(e){var r=new Ls(Xi(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,n=this.first+this.size;e.from!=null&&e.from>r&&(r=e.from),e.to!=null&&e.to<n&&(n=e.to);var a=new Ls(Xi(this,r,n),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}],ia(a,ta(this)),a},unlinkDoc:function(e){if(e instanceof pt&&(e=e.doc),this.linked)for(var r=0;r<this.linked.length;++r){var n=this.linked[r];if(n.doc==e){this.linked.splice(r,1),e.unlinkDoc(this),ka(ta(this));break}}if(e.history==this.history){var a=[e.id];Ra(e,function(u){return a.push(u.id)},!0),e.history=new So(null),e.history.done=x(this.history.done,a),e.history.undone=x(this.history.undone,a)}},iterLinkedDocs:function(e){Ra(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Qe(e)},lineSeparator:function(){return this.lineSep||`
|
|
11
|
-
`},setDirection:Js(function(e){e!="rtl"&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter(function(r){return r.order=null}),this.cm&&_l(this.cm))})}),Ls.prototype.eachLine=Ls.prototype.iter;var Qs=0;function Ua(e){var r=this;if(aa(r),!(yr(r,e)||jr(r.display,e))){zt(e),ye&&(Qs=+new Date);var n=zo(r,e,!0),a=e.dataTransfer.files;if(!(!n||r.isReadOnly()))if(a&&a.length&&window.FileReader&&window.File)for(var u=a.length,h=Array(u),C=0,S=function(){++C==u&&zs(r,function(){n=$i(r.doc,n);var it={from:n,to:n,text:r.doc.splitLines(h.filter(function(jt){return jt!=null}).join(r.doc.lineSeparator())),origin:"paste"};Di(r.doc,it),Ne(r.doc,oo($i(r.doc,n),$i(r.doc,Ka(it))))})()},O=function(it,jt){if(r.options.allowDropFileTypes&&Vn(r.options.allowDropFileTypes,it.type)==-1){S();return}var dr=new FileReader;dr.onerror=function(){return S()},dr.onload=function(){var Jt=dr.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Jt)){S();return}h[jt]=Jt,S()},dr.readAsText(it)},j=0;j<a.length;j++)O(a[j],j);else{if(r.state.draggingText&&r.doc.sel.contains(n)>-1){r.state.draggingText(e),setTimeout(function(){return r.display.input.focus()},20);return}try{var $e=e.dataTransfer.getData("Text");if($e){var Be;if(r.state.draggingText&&!r.state.draggingText.copy&&(Be=r.listSelections()),Pt(r.doc,oo(n,n)),Be)for(var Nt=0;Nt<Be.length;++Nt)ms(r.doc,"",Be[Nt].anchor,Be[Nt].head,"drag");r.replaceSelection($e,"around","paste"),r.display.input.focus()}}catch{}}}}function la(e,r){if(ye&&(!e.state.draggingText||+new Date-Qs<100)){sn(r);return}if(!(yr(e,r)||jr(e.display,r))&&(r.dataTransfer.setData("Text",e.getSelection()),r.dataTransfer.effectAllowed="copyMove",r.dataTransfer.setDragImage&&!Zt)){var n=Te("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Wt&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),r.dataTransfer.setDragImage(n,0,0),Wt&&n.parentNode.removeChild(n)}}function sa(e,r){var n=zo(e,r);if(!!n){var a=document.createDocumentFragment();so(e,n,a),e.display.dragCursor||(e.display.dragCursor=Te("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),kn(e.display.dragCursor,a)}}function aa(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function fl(e){if(!!document.getElementsByClassName){for(var r=document.getElementsByClassName("CodeMirror"),n=[],a=0;a<r.length;a++){var u=r[a].CodeMirror;u&&n.push(u)}n.length&&n[0].operation(function(){for(var h=0;h<n.length;h++)e(n[h])})}}var wu=!1;function _c(){wu||(Ic(),wu=!0)}function Ic(){var e;Lt(window,"resize",function(){e==null&&(e=setTimeout(function(){e=null,fl(Oc)},100))}),Lt(window,"blur",function(){return fl(ba)})}function Oc(e){var r=e.display;r.cachedCharWidth=r.cachedTextHeight=r.cachedPaddingH=null,r.scrollbarsClipped=!1,e.setSize()}for(var Tu={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"},cu=0;cu<10;cu++)Tu[cu+48]=Tu[cu+96]=String(cu);for(var Il=65;Il<=90;Il++)Tu[Il]=String.fromCharCode(Il);for(var Ol=1;Ol<=12;Ol++)Tu[Ol+111]=Tu[Ol+63235]="F"+Ol;var i={};i.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"},i.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"},i.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"},i.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"]},i.default=un?i.macDefault:i.pcDefault;function t(e){var r=e.split(/-(?!$)/);e=r[r.length-1];for(var n,a,u,h,C=0;C<r.length-1;C++){var S=r[C];if(/^(cmd|meta|m)$/i.test(S))h=!0;else if(/^a(lt)?$/i.test(S))n=!0;else if(/^(c|ctrl|control)$/i.test(S))a=!0;else if(/^s(hift)?$/i.test(S))u=!0;else throw new Error("Unrecognized modifier name: "+S)}return n&&(e="Alt-"+e),a&&(e="Ctrl-"+e),h&&(e="Cmd-"+e),u&&(e="Shift-"+e),e}function o(e){var r={};for(var n in e)if(e.hasOwnProperty(n)){var a=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if(a=="..."){delete e[n];continue}for(var u=gn(n.split(" "),t),h=0;h<u.length;h++){var C=void 0,S=void 0;h==u.length-1?(S=u.join(" "),C=a):(S=u.slice(0,h+1).join(" "),C="...");var O=r[S];if(!O)r[S]=C;else if(O!=C)throw new Error("Inconsistent bindings for "+S)}delete e[n]}for(var j in r)e[j]=r[j];return e}function p(e,r,n,a){r=Ye(r);var u=r.call?r.call(e,a):r[e];if(u===!1)return"nothing";if(u==="...")return"multi";if(u!=null&&n(u))return"handled";if(r.fallthrough){if(Object.prototype.toString.call(r.fallthrough)!="[object Array]")return p(e,r.fallthrough,n,a);for(var h=0;h<r.fallthrough.length;h++){var C=p(e,r.fallthrough[h],n,a);if(C)return C}}}function y(e){var r=typeof e=="string"?e:Tu[e.keyCode];return r=="Ctrl"||r=="Alt"||r=="Shift"||r=="Mod"}function $(e,r,n){var a=e;return r.altKey&&a!="Alt"&&(e="Alt-"+e),(fi?r.metaKey:r.ctrlKey)&&a!="Ctrl"&&(e="Ctrl-"+e),(fi?r.ctrlKey:r.metaKey)&&a!="Mod"&&(e="Cmd-"+e),!n&&r.shiftKey&&a!="Shift"&&(e="Shift-"+e),e}function he(e,r){if(Wt&&e.keyCode==34&&e.char)return!1;var n=Tu[e.keyCode];return n==null||e.altGraphKey?!1:(e.keyCode==3&&e.code&&(n=e.code),$(n,e,r))}function Ye(e){return typeof e=="string"?i[e]:e}function At(e,r){for(var n=e.doc.sel.ranges,a=[],u=0;u<n.length;u++){for(var h=r(n[u]);a.length&&mr(h.from,Qr(a).to)<=0;){var C=a.pop();if(mr(C.from,h.from)<0){h.from=C.from;break}}a.push(h)}na(e,function(){for(var S=a.length-1;S>=0;S--)ms(e.doc,"",a[S].from,a[S].to,"+delete");Aa(e)})}function ar(e,r,n){var a=Fs(e.text,r+n,n);return a<0||a>e.text.length?null:a}function d(e,r,n){var a=ar(e,r.ch,n);return a==null?null:new yt(r.line,a,n<0?"after":"before")}function A(e,r,n,a,u){if(e){r.doc.direction=="rtl"&&(u=-u);var h=wr(n,r.doc.direction);if(h){var C=u<0?Qr(h):h[0],S=u<0==(C.level==1),O=S?"after":"before",j;if(C.level>0||r.doc.direction=="rtl"){var $e=ts(r,n);j=u<0?n.text.length-1:0;var Be=ss(r,$e,j).top;j=ys(function(Nt){return ss(r,$e,Nt).top==Be},u<0==(C.level==1)?C.from:C.to-1,j),O=="before"&&(j=ar(n,j,1))}else j=u<0?C.to:C.from;return new yt(a,j,O)}}return new yt(a,u<0?n.text.length:0,u<0?"before":"after")}function m(e,r,n,a){var u=wr(r,e.doc.direction);if(!u)return d(r,n,a);n.ch>=r.text.length?(n.ch=r.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var h=Fr(u,n.ch,n.sticky),C=u[h];if(e.doc.direction=="ltr"&&C.level%2==0&&(a>0?C.to>n.ch:C.from<n.ch))return d(r,n,a);var S=function(Sr,Gr){return ar(r,Sr instanceof yt?Sr.ch:Sr,Gr)},O,j=function(Sr){return e.options.lineWrapping?(O=O||ts(e,r),Ns(e,r,O,Sr)):{begin:0,end:r.text.length}},$e=j(n.sticky=="before"?S(n,-1):n.ch);if(e.doc.direction=="rtl"||C.level==1){var Be=C.level==1==a<0,Nt=S(n,Be?1:-1);if(Nt!=null&&(Be?Nt<=C.to&&Nt<=$e.end:Nt>=C.from&&Nt>=$e.begin)){var it=Be?"before":"after";return new yt(n.line,Nt,it)}}var jt=function(Sr,Gr,rt){for(var vn=function(as,Vs){return Vs?new yt(n.line,S(as,1),"before"):new yt(n.line,as,"after")};Sr>=0&&Sr<u.length;Sr+=Gr){var Sn=u[Sr],Mn=Gr>0==(Sn.level!=1),zi=Mn?rt.begin:S(rt.end,-1);if(Sn.from<=zi&&zi<Sn.to||(zi=Mn?Sn.from:S(Sn.to,-1),rt.begin<=zi&&zi<rt.end))return vn(zi,Mn)}},dr=jt(h+a,a,$e);if(dr)return dr;var Jt=a>0?$e.end:S($e.begin,-1);return Jt!=null&&!(a>0&&Jt==r.text.length)&&(dr=jt(a>0?0:u.length-1,a,j(Jt)),dr)?dr:null}var b={selectAll:Ii,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Je)},killLine:function(e){return At(e,function(r){if(r.empty()){var n=hn(e.doc,r.head.line).text.length;return r.head.ch==n&&r.head.line<e.lastLine()?{from:r.head,to:yt(r.head.line+1,0)}:{from:r.head,to:yt(r.head.line,n)}}else return{from:r.from(),to:r.to()}})},deleteLine:function(e){return At(e,function(r){return{from:yt(r.from().line,0),to:$i(e.doc,yt(r.to().line+1,0))}})},delLineLeft:function(e){return At(e,function(r){return{from:yt(r.from().line,0),to:r.from()}})},delWrappedLineLeft:function(e){return At(e,function(r){var n=e.charCoords(r.head,"div").top+5,a=e.coordsChar({left:0,top:n},"div");return{from:a,to:r.from()}})},delWrappedLineRight:function(e){return At(e,function(r){var n=e.charCoords(r.head,"div").top+5,a=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"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(yt(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(yt(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(r){return E(e,r.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(r){return D(e,r.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(r){return g(e,r.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(r){var n=e.cursorCoords(r.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div")},Nr)},goLineLeft:function(e){return e.extendSelectionsBy(function(r){var n=e.cursorCoords(r.head,"div").top+5;return e.coordsChar({left:0,top:n},"div")},Nr)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(r){var n=e.cursorCoords(r.head,"div").top+5,a=e.coordsChar({left:0,top:n},"div");return a.ch<e.getLine(a.line).search(/\S/)?D(e,r.head):a},Nr)},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=[],n=e.listSelections(),a=e.options.tabSize,u=0;u<n.length;u++){var h=n[u].from(),C=Cr(e.getLine(h.line),h.ch,a);r.push(on(a-C%a))}e.replaceSelections(r)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return na(e,function(){for(var r=e.listSelections(),n=[],a=0;a<r.length;a++)if(!!r[a].empty()){var u=r[a].head,h=hn(e.doc,u.line).text;if(h){if(u.ch==h.length&&(u=new yt(u.line,u.ch-1)),u.ch>0)u=new yt(u.line,u.ch+1),e.replaceRange(h.charAt(u.ch-1)+h.charAt(u.ch-2),yt(u.line,u.ch-2),u,"+transpose");else if(u.line>e.doc.first){var C=hn(e.doc,u.line-1).text;C&&(u=new yt(u.line,1),e.replaceRange(h.charAt(0)+e.doc.lineSeparator()+C.charAt(C.length-1),yt(u.line-1,C.length-1),u,"+transpose"))}}n.push(new Bs(u,u))}e.setSelections(n)})},newlineAndIndent:function(e){return na(e,function(){for(var r=e.listSelections(),n=r.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),r[n].anchor,r[n].head,"+input");r=e.listSelections();for(var a=0;a<r.length;a++)e.indentLine(r[a].from().line,null,!0);Aa(e)})},openLine:function(e){return e.replaceSelection(`
|
|
12
|
-
`,"start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function E(e,r){var n=hn(e.doc,r),a=xa(n);return a!=n&&(r=Vi(a)),A(!0,e,a,r,1)}function g(e,r){var n=hn(e.doc,r),a=ru(n);return a!=n&&(r=Vi(a)),A(!0,e,n,r,-1)}function D(e,r){var n=E(e,r.line),a=hn(e.doc,n.line),u=wr(a,e.doc.direction);if(!u||u[0].level==0){var h=Math.max(n.ch,a.text.search(/\S/)),C=r.line==n.line&&r.ch<=h&&r.ch;return yt(n.line,C?0:h,n.sticky)}return n}function w(e,r,n){if(typeof r=="string"&&(r=b[r],!r))return!1;e.display.input.ensurePolled();var a=e.display.shift,u=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),u=r(e)!=Rn}finally{e.display.shift=a,e.state.suppressEdits=!1}return u}function F(e,r,n){for(var a=0;a<e.state.keyMaps.length;a++){var u=p(r,e.state.keyMaps[a],n,e);if(u)return u}return e.options.extraKeys&&p(r,e.options.extraKeys,n,e)||p(r,e.options.keyMap,n,e)}var B=new mn;function H(e,r,n,a){var u=e.state.keySeq;if(u){if(y(r))return"handled";if(/\'$/.test(r)?e.state.keySeq=null:B.set(50,function(){e.state.keySeq==u&&(e.state.keySeq=null,e.display.input.reset())}),R(e,u+" "+r,n,a))return!0}return R(e,r,n,a)}function R(e,r,n,a){var u=F(e,r,a);return u=="multi"&&(e.state.keySeq=r),u=="handled"&&Bi(e,"keyHandled",e,r,n),(u=="handled"||u=="multi")&&(zt(n),$o(e)),!!u}function V(e,r){var n=he(r,!0);return n?r.shiftKey&&!e.state.keySeq?H(e,"Shift-"+n,r,function(a){return w(e,a,!0)})||H(e,n,r,function(a){if(typeof a=="string"?/^go[A-Z]/.test(a):a.motion)return w(e,a)}):H(e,n,r,function(a){return w(e,a)}):!1}function I(e,r,n){return H(e,"'"+n+"'",r,function(a){return w(e,a,!0)})}var L=null;function z(e){var r=this;if(!(e.target&&e.target!=r.display.input.getField())&&(r.curOp.focus=ii(ps(r)),!yr(r,e))){ye&&Me<11&&e.keyCode==27&&(e.returnValue=!1);var n=e.keyCode;r.display.shift=n==16||e.shiftKey;var a=V(r,e);Wt&&(L=a?n:null,!a&&n==88&&!xt&&(un?e.metaKey:e.ctrlKey)&&r.replaceSelection("",null,"cut")),v&&!un&&!a&&n==46&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),n==18&&!/\bCodeMirror-crosshair\b/.test(r.display.lineDiv.className)&&ce(r)}}function ce(e){var r=e.display.lineDiv;Zi(r,"CodeMirror-crosshair");function n(a){(a.keyCode==18||!a.altKey)&&(gi(r,"CodeMirror-crosshair"),Xt(document,"keyup",n),Xt(document,"mouseover",n))}Lt(document,"keyup",n),Lt(document,"mouseover",n)}function fe(e){e.keyCode==16&&(this.doc.sel.shift=!1),yr(this,e)}function J(e){var r=this;if(!(e.target&&e.target!=r.display.input.getField())&&!(jr(r.display,e)||yr(r,e)||e.ctrlKey&&!e.altKey||un&&e.metaKey)){var n=e.keyCode,a=e.charCode;if(Wt&&n==L){L=null,zt(e);return}if(!(Wt&&(!e.which||e.which<10)&&V(r,e))){var u=String.fromCharCode(a==null?n:a);u!="\b"&&(I(r,e,u)||r.display.input.onKeyPress(e))}}}var ee=400,ue=function(e,r,n){this.time=e,this.pos=r,this.button=n};ue.prototype.compare=function(e,r,n){return this.time+ee>e&&mr(r,this.pos)==0&&n==this.button};var ge,de;function De(e,r){var n=+new Date;return de&&de.compare(n,e,r)?(ge=de=null,"triple"):ge&&ge.compare(n,e,r)?(de=new ue(n,e,r),ge=null,"double"):(ge=new ue(n,e,r),de=null,"single")}function W(e){var r=this,n=r.display;if(!(yr(r,e)||n.activeTouch&&n.input.supportsTouch())){if(n.input.ensurePolled(),n.shift=e.shiftKey,jr(n,e)){Oe||(n.scroller.draggable=!1,setTimeout(function(){return n.scroller.draggable=!0},100));return}if(!ne(r,e)){var a=zo(r,e),u=_e(e),h=a?De(a,u):"single";hs(r).focus(),u==1&&r.state.selectingText&&r.state.selectingText(e),!(a&&M(r,u,a,h,e))&&(u==1?a?X(r,a,h,e):Rt(e)==n.scroller&&zt(e):u==2?(a&&Q(r.doc,a),setTimeout(function(){return n.input.focus()},20)):u==3&&(Wn?r.display.input.onContextMenu(e):ho(r)))}}}function M(e,r,n,a,u){var h="Click";return a=="double"?h="Double"+h:a=="triple"&&(h="Triple"+h),h=(r==1?"Left":r==2?"Middle":"Right")+h,H(e,$(h,u),u,function(C){if(typeof C=="string"&&(C=b[C]),!C)return!1;var S=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),S=C(e,n)!=Rn}finally{e.state.suppressEdits=!1}return S})}function U(e,r,n){var a=e.getOption("configureMouse"),u=a?a(e,r,n):{};if(u.unit==null){var h=Kn?n.shiftKey&&n.metaKey:n.altKey;u.unit=h?"rectangle":r=="single"?"char":r=="double"?"word":"line"}return(u.extend==null||e.doc.extend)&&(u.extend=e.doc.extend||n.shiftKey),u.addNew==null&&(u.addNew=un?n.metaKey:n.ctrlKey),u.moveOnDrag==null&&(u.moveOnDrag=!(un?n.altKey:n.ctrlKey)),u}function X(e,r,n,a){ye?setTimeout(zr(Ja,e),0):e.curOp.focus=ii(ps(e));var u=U(e,n,a),h=e.doc.sel,C;e.options.dragDrop&&pe&&!e.isReadOnly()&&n=="single"&&(C=h.contains(r))>-1&&(mr((C=h.ranges[C]).from(),r)<0||r.xRel>0)&&(mr(C.to(),r)>0||r.xRel<0)?P(e,a,r,u):q(e,a,r,u)}function P(e,r,n,a){var u=e.display,h=!1,C=zs(e,function(j){Oe&&(u.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:ho(e)),Xt(u.wrapper.ownerDocument,"mouseup",C),Xt(u.wrapper.ownerDocument,"mousemove",S),Xt(u.scroller,"dragstart",O),Xt(u.scroller,"drop",C),h||(zt(j),a.addNew||Q(e.doc,n,null,null,a.extend),Oe&&!Zt||ye&&Me==9?setTimeout(function(){u.wrapper.ownerDocument.body.focus({preventScroll:!0}),u.input.focus()},20):u.input.focus())}),S=function(j){h=h||Math.abs(r.clientX-j.clientX)+Math.abs(r.clientY-j.clientY)>=10},O=function(){return h=!0};Oe&&(u.scroller.draggable=!0),e.state.draggingText=C,C.copy=!a.moveOnDrag,Lt(u.wrapper.ownerDocument,"mouseup",C),Lt(u.wrapper.ownerDocument,"mousemove",S),Lt(u.scroller,"dragstart",O),Lt(u.scroller,"drop",C),e.state.delayingBlurEvent=!0,setTimeout(function(){return u.input.focus()},20),u.scroller.dragDrop&&u.scroller.dragDrop()}function G(e,r,n){if(n=="char")return new Bs(r,r);if(n=="word")return e.findWordAt(r);if(n=="line")return new Bs(yt(r.line,0),$i(e.doc,yt(r.line+1,0)));var a=n(e,r);return new Bs(a.from,a.to)}function q(e,r,n,a){ye&&ho(e);var u=e.display,h=e.doc;zt(r);var C,S,O=h.sel,j=O.ranges;if(a.addNew&&!a.extend?(S=h.sel.contains(n),S>-1?C=j[S]:C=new Bs(n,n)):(C=h.sel.primary(),S=h.sel.primIndex),a.unit=="rectangle")a.addNew||(C=new Bs(n,n)),n=zo(e,r,!0,!0),S=-1;else{var $e=G(e,n,a.unit);a.extend?C=re(C,$e.anchor,$e.head,a.extend):C=$e}a.addNew?S==-1?(S=j.length,vt(h,Ta(e,j.concat([C]),S),{scroll:!1,origin:"*mouse"})):j.length>1&&j[S].empty()&&a.unit=="char"&&!a.extend?(vt(h,Ta(e,j.slice(0,S).concat(j.slice(S+1)),0),{scroll:!1,origin:"*mouse"}),O=h.sel):Fe(h,S,C,Tt):(S=0,vt(h,new Fa([C],0),Tt),O=h.sel);var Be=n;function Nt(rt){if(mr(Be,rt)!=0)if(Be=rt,a.unit=="rectangle"){for(var vn=[],Sn=e.options.tabSize,Mn=Cr(hn(h,n.line).text,n.ch,Sn),zi=Cr(hn(h,rt.line).text,rt.ch,Sn),as=Math.min(Mn,zi),Vs=Math.max(Mn,zi),ke=Math.min(n.line,rt.line),sr=Math.min(e.lastLine(),Math.max(n.line,rt.line));ke<=sr;ke++){var _n=hn(h,ke).text,Ai=Vr(_n,as,Sn);as==Vs?vn.push(new Bs(yt(ke,Ai),yt(ke,Ai))):_n.length>Ai&&vn.push(new Bs(yt(ke,Ai),yt(ke,Vr(_n,Vs,Sn))))}vn.length||vn.push(new Bs(n,n)),vt(h,Ta(e,O.ranges.slice(0,S).concat(vn),S),{origin:"*mouse",scroll:!1}),e.scrollIntoView(rt)}else{var Ui=C,Cs=G(e,rt,a.unit),_s=Ui.anchor,Es;mr(Cs.anchor,_s)>0?(Es=Cs.head,_s=Os(Ui.from(),Cs.anchor)):(Es=Cs.anchor,_s=Ji(Ui.to(),Cs.head));var hi=O.ranges.slice(0);hi[S]=se(e,new Bs($i(h,_s),Es)),vt(h,Ta(e,hi,S),Tt)}}var it=u.wrapper.getBoundingClientRect(),jt=0;function dr(rt){var vn=++jt,Sn=zo(e,rt,!0,a.unit=="rectangle");if(!!Sn)if(mr(Sn,Be)!=0){e.curOp.focus=ii(ps(e)),Nt(Sn);var Mn=Eo(u,h);(Sn.line>=Mn.to||Sn.line<Mn.from)&&setTimeout(zs(e,function(){jt==vn&&dr(rt)}),150)}else{var zi=rt.clientY<it.top?-20:rt.clientY>it.bottom?20:0;zi&&setTimeout(zs(e,function(){jt==vn&&(u.scroller.scrollTop+=zi,dr(rt))}),50)}}function Jt(rt){e.state.selectingText=!1,jt=1/0,rt&&(zt(rt),u.input.focus()),Xt(u.wrapper.ownerDocument,"mousemove",Sr),Xt(u.wrapper.ownerDocument,"mouseup",Gr),h.history.lastSelOrigin=null}var Sr=zs(e,function(rt){rt.buttons===0||!_e(rt)?Jt(rt):dr(rt)}),Gr=zs(e,Jt);e.state.selectingText=Gr,Lt(u.wrapper.ownerDocument,"mousemove",Sr),Lt(u.wrapper.ownerDocument,"mouseup",Gr)}function se(e,r){var n=r.anchor,a=r.head,u=hn(e.doc,n.line);if(mr(n,a)==0&&n.sticky==a.sticky)return r;var h=wr(u);if(!h)return r;var C=Fr(h,n.ch,n.sticky),S=h[C];if(S.from!=n.ch&&S.to!=n.ch)return r;var O=C+(S.from==n.ch==(S.level!=1)?0:1);if(O==0||O==h.length)return r;var j;if(a.line!=n.line)j=(a.line-n.line)*(e.doc.direction=="ltr"?1:-1)>0;else{var $e=Fr(h,a.ch,a.sticky),Be=$e-C||(a.ch-n.ch)*(S.level==1?-1:1);$e==O-1||$e==O?j=Be<0:j=Be>0}var Nt=h[O+(j?-1:0)],it=j==(Nt.level==1),jt=it?Nt.from:Nt.to,dr=it?"after":"before";return n.ch==jt&&n.sticky==dr?r:new Bs(new yt(n.line,jt,dr),a)}function te(e,r,n,a){var u,h;if(r.touches)u=r.touches[0].clientX,h=r.touches[0].clientY;else try{u=r.clientX,h=r.clientY}catch{return!1}if(u>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;a&&zt(r);var C=e.display,S=C.lineDiv.getBoundingClientRect();if(h>S.bottom||!je(e,n))return Mr(r);h-=S.top-C.viewOffset;for(var O=0;O<e.display.gutterSpecs.length;++O){var j=C.gutters.childNodes[O];if(j&&j.getBoundingClientRect().right>=u){var $e=Is(e.doc,h),Be=e.display.gutterSpecs[O];return On(e,n,e,$e,Be.className,r),Mr(r)}}}function ne(e,r){return te(e,r,"gutterClick",!0)}function Ce(e,r){jr(e.display,r)||Re(e,r)||yr(e,r,"contextmenu")||Wn||e.display.input.onContextMenu(r)}function Re(e,r){return je(e,"gutterContextMenu")?te(e,r,"gutterContextMenu",!1):!1}function Pe(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Ms(e)}var Ve={toString:function(){return"CodeMirror.Init"}},He={},Le={};function Dt(e){var r=e.optionHandlers;function n(a,u,h,C){e.defaults[a]=u,h&&(r[a]=C?function(S,O,j){j!=Ve&&h(S,O,j)}:h)}e.defineOption=n,e.Init=Ve,n("value","",function(a,u){return a.setValue(u)},!0),n("mode",null,function(a,u){a.doc.modeOption=u,Qo(a)},!0),n("indentUnit",2,Qo,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,function(a){Au(a),Ms(a),ua(a)},!0),n("lineSeparator",null,function(a,u){if(a.doc.lineSep=u,!!u){var h=[],C=a.doc.first;a.doc.iter(function(O){for(var j=0;;){var $e=O.text.indexOf(u,j);if($e==-1)break;j=$e+u.length,h.push(yt(C,$e))}C++});for(var S=h.length-1;S>=0;S--)ms(a.doc,u,h[S],yt(h[S].line,h[S].ch+u.length))}}),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,function(a,u,h){a.state.specialChars=new RegExp(u.source+(u.test(" ")?"":"| "),"g"),h!=Ve&&a.refresh()}),n("specialCharPlaceholder",Pi,function(a){return a.refresh()},!0),n("electricChars",!0),n("inputStyle",Ar?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),n("spellcheck",!1,function(a,u){return a.getInputField().spellcheck=u},!0),n("autocorrect",!1,function(a,u){return a.getInputField().autocorrect=u},!0),n("autocapitalize",!1,function(a,u){return a.getInputField().autocapitalize=u},!0),n("rtlMoveVisually",!bn),n("wholeLineUpdateBefore",!0),n("theme","default",function(a){Pe(a),uu(a)},!0),n("keyMap","default",function(a,u,h){var C=Ye(u),S=h!=Ve&&Ye(h);S&&S.detach&&S.detach(a,C),C.attach&&C.attach(a,S||null)}),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,qe,!0),n("gutters",[],function(a,u){a.display.gutterSpecs=Xo(u,a.options.lineNumbers),uu(a)},!0),n("fixedGutter",!0,function(a,u){a.display.gutters.style.left=u?Ea(a.display)+"px":"0",a.refresh()},!0),n("coverGutterNextToScrollbar",!1,function(a){return Ao(a)},!0),n("scrollbarStyle","native",function(a){ol(a),Ao(a),a.display.scrollbars.setScrollTop(a.doc.scrollTop),a.display.scrollbars.setScrollLeft(a.doc.scrollLeft)},!0),n("lineNumbers",!1,function(a,u){a.display.gutterSpecs=Xo(a.options.gutters,u),uu(a)},!0),n("firstLineNumber",1,uu,!0),n("lineNumberFormatter",function(a){return a},uu,!0),n("showCursorWhenSelecting",!1,po,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,function(a,u){u=="nocursor"&&(ba(a),a.display.input.blur()),a.display.input.readOnlyChanged(u)}),n("screenReaderLabel",null,function(a,u){u=u===""?null:u,a.display.input.screenReaderLabelChanged(u)}),n("disableInput",!1,function(a,u){u||a.display.input.reset()},!0),n("dragDrop",!0,Ke),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,po,!0),n("singleCursorHeightPerLine",!0,po,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,Au,!0),n("addModeClass",!1,Au,!0),n("pollInterval",100),n("undoDepth",200,function(a,u){return a.doc.history.undoDepth=u}),n("historyEventDelay",1250),n("viewportMargin",10,function(a){return a.refresh()},!0),n("maxHighlightLength",1e4,Au,!0),n("moveInputWithCursor",!0,function(a,u){u||a.display.input.resetPosition()}),n("tabindex",null,function(a,u){return a.display.input.getField().tabIndex=u||""}),n("autofocus",null),n("direction","ltr",function(a,u){return a.doc.setDirection(u)},!0),n("phrases",null)}function Ke(e,r,n){var a=n&&n!=Ve;if(!r!=!a){var u=e.display.dragFunctions,h=r?Lt:Xt;h(e.display.scroller,"dragstart",u.start),h(e.display.scroller,"dragenter",u.enter),h(e.display.scroller,"dragover",u.over),h(e.display.scroller,"dragleave",u.leave),h(e.display.scroller,"drop",u.drop)}}function qe(e){e.options.lineWrapping?(Zi(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(gi(e.display.wrapper,"CodeMirror-wrap"),pn(e)),Ma(e),ua(e),Ms(e),setTimeout(function(){return Ao(e)},100)}function pt(e,r){var n=this;if(!(this instanceof pt))return new pt(e,r);this.options=r=r?$r(r):{},$r(He,r,!1);var a=r.value;typeof a=="string"?a=new Ls(a,r.mode,null,r.lineSeparator,r.direction):r.mode&&(a.modeOption=r.mode),this.doc=a;var u=new pt.inputStyles[r.inputStyle](this),h=this.display=new kl(e,a,u,r);h.wrapper.CodeMirror=this,Pe(this),r.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),ol(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 mn,keySeq:null,specialChars:null},r.autofocus&&!Ar&&h.input.focus(),ye&&Me<11&&setTimeout(function(){return n.display.input.reset(!0)},20),Bt(this),_c(),ao(this),this.curOp.forceUpdate=!0,Gl(this,a),r.autofocus&&!Ar||this.hasFocus()?setTimeout(function(){n.hasFocus()&&!n.state.focused&&qo(n)},20):ba(this);for(var C in Le)Le.hasOwnProperty(C)&&Le[C](this,r[C],Ve);To(this),r.finishInit&&r.finishInit(this);for(var S=0;S<wt.length;++S)wt[S](this);wo(this),Oe&&r.lineWrapping&&getComputedStyle(h.lineDiv).textRendering=="optimizelegibility"&&(h.lineDiv.style.textRendering="auto")}pt.defaults=He,pt.optionHandlers=Le;function Bt(e){var r=e.display;Lt(r.scroller,"mousedown",zs(e,W)),ye&&Me<11?Lt(r.scroller,"dblclick",zs(e,function(O){if(!yr(e,O)){var j=zo(e,O);if(!(!j||ne(e,O)||jr(e.display,O))){zt(O);var $e=e.findWordAt(j);Q(e.doc,$e.anchor,$e.head)}}})):Lt(r.scroller,"dblclick",function(O){return yr(e,O)||zt(O)}),Lt(r.scroller,"contextmenu",function(O){return Ce(e,O)}),Lt(r.input.getField(),"contextmenu",function(O){r.scroller.contains(O.target)||Ce(e,O)});var n,a={end:0};function u(){r.activeTouch&&(n=setTimeout(function(){return r.activeTouch=null},1e3),a=r.activeTouch,a.end=+new Date)}function h(O){if(O.touches.length!=1)return!1;var j=O.touches[0];return j.radiusX<=1&&j.radiusY<=1}function C(O,j){if(j.left==null)return!0;var $e=j.left-O.left,Be=j.top-O.top;return $e*$e+Be*Be>20*20}Lt(r.scroller,"touchstart",function(O){if(!yr(e,O)&&!h(O)&&!ne(e,O)){r.input.ensurePolled(),clearTimeout(n);var j=+new Date;r.activeTouch={start:j,moved:!1,prev:j-a.end<=300?a:null},O.touches.length==1&&(r.activeTouch.left=O.touches[0].pageX,r.activeTouch.top=O.touches[0].pageY)}}),Lt(r.scroller,"touchmove",function(){r.activeTouch&&(r.activeTouch.moved=!0)}),Lt(r.scroller,"touchend",function(O){var j=r.activeTouch;if(j&&!jr(r,O)&&j.left!=null&&!j.moved&&new Date-j.start<300){var $e=e.coordsChar(r.activeTouch,"page"),Be;!j.prev||C(j,j.prev)?Be=new Bs($e,$e):!j.prev.prev||C(j,j.prev.prev)?Be=e.findWordAt($e):Be=new Bs(yt($e.line,0),$i(e.doc,yt($e.line+1,0))),e.setSelection(Be.anchor,Be.head),e.focus(),zt(O)}u()}),Lt(r.scroller,"touchcancel",u),Lt(r.scroller,"scroll",function(){r.scroller.clientHeight&&(bo(e,r.scroller.scrollTop),wa(e,r.scroller.scrollLeft,!0),On(e,"scroll",e))}),Lt(r.scroller,"mousewheel",function(O){return Nl(e,O)}),Lt(r.scroller,"DOMMouseScroll",function(O){return Nl(e,O)}),Lt(r.wrapper,"scroll",function(){return r.wrapper.scrollTop=r.wrapper.scrollLeft=0}),r.dragFunctions={enter:function(O){yr(e,O)||sn(O)},over:function(O){yr(e,O)||(sa(e,O),sn(O))},start:function(O){return la(e,O)},drop:zs(e,Ua),leave:function(O){yr(e,O)||aa(e)}};var S=r.input.getField();Lt(S,"keyup",function(O){return fe.call(e,O)}),Lt(S,"keydown",zs(e,z)),Lt(S,"keypress",zs(e,J)),Lt(S,"focus",function(O){return qo(e,O)}),Lt(S,"blur",function(O){return ba(e,O)})}var wt=[];pt.defineInitHook=function(e){return wt.push(e)};function ur(e,r,n,a){var u=e.doc,h;n==null&&(n="add"),n=="smart"&&(u.mode.indent?h=lo(e,r).state:n="prev");var C=e.options.tabSize,S=hn(u,r),O=Cr(S.text,null,C);S.stateAfter&&(S.stateAfter=null);var j=S.text.match(/^\s*/)[0],$e;if(!a&&!/\S/.test(S.text))$e=0,n="not";else if(n=="smart"&&($e=u.mode.indent(h,S.text.slice(j.length),S.text),$e==Rn||$e>150)){if(!a)return;n="prev"}n=="prev"?r>u.first?$e=Cr(hn(u,r-1).text,null,C):$e=0:n=="add"?$e=O+e.options.indentUnit:n=="subtract"?$e=O-e.options.indentUnit:typeof n=="number"&&($e=O+n),$e=Math.max(0,$e);var Be="",Nt=0;if(e.options.indentWithTabs)for(var it=Math.floor($e/C);it;--it)Nt+=C,Be+=" ";if(Nt<$e&&(Be+=on($e-Nt)),Be!=j)return ms(u,Be,yt(r,0),yt(r,j.length),"+input"),S.stateAfter=null,!0;for(var jt=0;jt<u.sel.ranges.length;jt++){var dr=u.sel.ranges[jt];if(dr.head.line==r&&dr.head.ch<j.length){var Jt=yt(r,j.length);Fe(u,jt,new Bs(Jt,Jt));break}}}var Ue=null;function tt(e){Ue=e}function rr(e,r,n,a,u){var h=e.doc;e.display.shift=!1,a||(a=h.sel);var C=+new Date-200,S=u=="paste"||e.state.pasteIncoming>C,O=Qe(r),j=null;if(S&&a.ranges.length>1)if(Ue&&Ue.text.join(`
|
|
13
|
-
`)==r){if(a.ranges.length%Ue.text.length==0){j=[];for(var $e=0;$e<Ue.text.length;$e++)j.push(h.splitLines(Ue.text[$e]))}}else O.length==a.ranges.length&&e.options.pasteLinesPerSelection&&(j=gn(O,function(Sr){return[Sr]}));for(var Be=e.curOp.updateInput,Nt=a.ranges.length-1;Nt>=0;Nt--){var it=a.ranges[Nt],jt=it.from(),dr=it.to();it.empty()&&(n&&n>0?jt=yt(jt.line,jt.ch-n):e.state.overwrite&&!S?dr=yt(dr.line,Math.min(hn(h,dr.line).text.length,dr.ch+Qr(O).length)):S&&Ue&&Ue.lineWise&&Ue.text.join(`
|
|
14
|
-
`)==O.join(`
|
|
15
|
-
`)&&(jt=dr=yt(jt.line,0)));var Jt={from:jt,to:dr,text:j?j[Nt%j.length]:O,origin:u||(S?"paste":e.state.cutIncoming>C?"cut":"+input")};Di(e.doc,Jt),Bi(e,"inputRead",e,Jt)}r&&!S&&tr(e,r),Aa(e),e.curOp.updateInput<2&&(e.curOp.updateInput=Be),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function gr(e,r){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),!r.isReadOnly()&&!r.options.disableInput&&r.hasFocus()&&na(r,function(){return rr(r,n,0,null,"paste")}),!0}function tr(e,r){if(!(!e.options.electricChars||!e.options.smartIndent))for(var n=e.doc.sel,a=n.ranges.length-1;a>=0;a--){var u=n.ranges[a];if(!(u.head.ch>100||a&&n.ranges[a-1].head.line==u.head.line)){var h=e.getModeAt(u.head),C=!1;if(h.electricChars){for(var S=0;S<h.electricChars.length;S++)if(r.indexOf(h.electricChars.charAt(S))>-1){C=ur(e,u.head.line,"smart");break}}else h.electricInput&&h.electricInput.test(hn(e.doc,u.head.line).text.slice(0,u.head.ch))&&(C=ur(e,u.head.line,"smart"));C&&Bi(e,"electricInput",e,u.head.line)}}}function Ze(e){for(var r=[],n=[],a=0;a<e.doc.sel.ranges.length;a++){var u=e.doc.sel.ranges[a].head.line,h={anchor:yt(u,0),head:yt(u+1,0)};n.push(h),r.push(e.getRange(h.anchor,h.head))}return{text:r,ranges:n}}function ot(e,r,n,a){e.setAttribute("autocorrect",n?"":"off"),e.setAttribute("autocapitalize",a?"":"off"),e.setAttribute("spellcheck",!!r)}function ht(){var e=Te("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),r=Te("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return Oe?e.style.width="1000px":e.setAttribute("wrap","off"),Ot&&(e.style.border="1px solid black"),ot(e),r}function pr(e){var r=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){hs(this).focus(),this.display.input.focus()},setOption:function(a,u){var h=this.options,C=h[a];h[a]==u&&a!="mode"||(h[a]=u,r.hasOwnProperty(a)&&zs(this,r[a])(this,u,C),On(this,"optionChange",this,a))},getOption:function(a){return this.options[a]},getDoc:function(){return this.doc},addKeyMap:function(a,u){this.state.keyMaps[u?"push":"unshift"](Ye(a))},removeKeyMap:function(a){for(var u=this.state.keyMaps,h=0;h<u.length;++h)if(u[h]==a||u[h].name==a)return u.splice(h,1),!0},addOverlay:fa(function(a,u){var h=a.token?a:e.getMode(this.options,a);if(h.startState)throw new Error("Overlays may not be stateful.");zn(this.state.overlays,{mode:h,modeSpec:a,opaque:u&&u.opaque,priority:u&&u.priority||0},function(C){return C.priority}),this.state.modeGen++,ua(this)}),removeOverlay:fa(function(a){for(var u=this.state.overlays,h=0;h<u.length;++h){var C=u[h].modeSpec;if(C==a||typeof a=="string"&&C.name==a){u.splice(h,1),this.state.modeGen++,ua(this);return}}}),indentLine:fa(function(a,u,h){typeof u!="string"&&typeof u!="number"&&(u==null?u=this.options.smartIndent?"smart":"prev":u=u?"add":"subtract"),_(this.doc,a)&&ur(this,a,u,h)}),indentSelection:fa(function(a){for(var u=this.doc.sel.ranges,h=-1,C=0;C<u.length;C++){var S=u[C];if(S.empty())S.head.line>h&&(ur(this,S.head.line,a,!0),h=S.head.line,C==this.doc.sel.primIndex&&Aa(this));else{var O=S.from(),j=S.to(),$e=Math.max(h,O.line);h=Math.min(this.lastLine(),j.line-(j.ch?0:1))+1;for(var Be=$e;Be<h;++Be)ur(this,Be,a);var Nt=this.doc.sel.ranges;O.ch==0&&u.length==Nt.length&&Nt[C].from().ch>0&&Fe(this.doc,C,new Bs(O,Nt[C].to()),Je)}}}),getTokenAt:function(a,u){return gu(this,a,u)},getLineTokens:function(a,u){return gu(this,yt(a),u,!0)},getTokenTypeAt:function(a){a=$i(this.doc,a);var u=vo(this,hn(this.doc,a.line)),h=0,C=(u.length-1)/2,S=a.ch,O;if(S==0)O=u[2];else for(;;){var j=h+C>>1;if((j?u[j*2-1]:0)>=S)C=j;else if(u[j*2+1]<S)h=j+1;else{O=u[j*2+2];break}}var $e=O?O.indexOf("overlay "):-1;return $e<0?O:$e==0?null:O.slice(0,$e-1)},getModeAt:function(a){var u=this.doc.mode;return u.innerMode?e.innerMode(u,this.getTokenAt(a).state).mode:u},getHelper:function(a,u){return this.getHelpers(a,u)[0]},getHelpers:function(a,u){var h=[];if(!n.hasOwnProperty(u))return h;var C=n[u],S=this.getModeAt(a);if(typeof S[u]=="string")C[S[u]]&&h.push(C[S[u]]);else if(S[u])for(var O=0;O<S[u].length;O++){var j=C[S[u][O]];j&&h.push(j)}else S.helperType&&C[S.helperType]?h.push(C[S.helperType]):C[S.name]&&h.push(C[S.name]);for(var $e=0;$e<C._global.length;$e++){var Be=C._global[$e];Be.pred(S,this)&&Vn(h,Be.val)==-1&&h.push(Be.val)}return h},getStateAfter:function(a,u){var h=this.doc;return a=Us(h,a==null?h.first+h.size-1:a),lo(this,a+1,u).state},cursorCoords:function(a,u){var h,C=this.doc.sel.primary();return a==null?h=C.head:typeof a=="object"?h=$i(this.doc,a):h=a?C.from():C.to(),Dn(this,h,u||"page")},charCoords:function(a,u){return ha(this,$i(this.doc,a),u||"page")},coordsChar:function(a,u){return a=Ws(this,a,u||"page"),ci(this,a.left,a.top)},lineAtHeight:function(a,u){return a=Ws(this,{top:a,left:0},u||"page").top,Is(this.doc,a+this.display.viewOffset)},heightAtLine:function(a,u,h){var C=!1,S;if(typeof a=="number"){var O=this.doc.first+this.doc.size-1;a<this.doc.first?a=this.doc.first:a>O&&(a=O,C=!0),S=hn(this.doc,a)}else S=a;return Ps(this,S,{top:0,left:0},u||"page",h||C).top+(C?this.doc.height-yn(S):0)},defaultTextHeight:function(){return Ca(this.display)},defaultCharWidth:function(){return co(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(a,u,h,C,S){var O=this.display;a=Dn(this,$i(this.doc,a));var j=a.bottom,$e=a.left;if(u.style.position="absolute",u.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(u),O.sizer.appendChild(u),C=="over")j=a.top;else if(C=="above"||C=="near"){var Be=Math.max(O.wrapper.clientHeight,this.doc.height),Nt=Math.max(O.sizer.clientWidth,O.lineSpace.clientWidth);(C=="above"||a.bottom+u.offsetHeight>Be)&&a.top>u.offsetHeight?j=a.top-u.offsetHeight:a.bottom+u.offsetHeight<=Be&&(j=a.bottom),$e+u.offsetWidth>Nt&&($e=Nt-u.offsetWidth)}u.style.top=j+"px",u.style.left=u.style.right="",S=="right"?($e=O.sizer.clientWidth-u.offsetWidth,u.style.right="0px"):(S=="left"?$e=0:S=="middle"&&($e=(O.sizer.clientWidth-u.offsetWidth)/2),u.style.left=$e+"px"),h&&Mu(this,{left:$e,top:j,right:$e+u.offsetWidth,bottom:j+u.offsetHeight})},triggerOnKeyDown:fa(z),triggerOnKeyPress:fa(J),triggerOnKeyUp:fe,triggerOnMouseDown:fa(W),execCommand:function(a){if(b.hasOwnProperty(a))return b[a].call(null,this)},triggerElectric:fa(function(a){tr(this,a)}),findPosH:function(a,u,h,C){var S=1;u<0&&(S=-1,u=-u);for(var O=$i(this.doc,a),j=0;j<u&&(O=Er(this.doc,O,S,h,C),!O.hitSide);++j);return O},moveH:fa(function(a,u){var h=this;this.extendSelectionsBy(function(C){return h.display.shift||h.doc.extend||C.empty()?Er(h.doc,C.head,a,u,h.options.rtlMoveVisually):a<0?C.from():C.to()},Nr)}),deleteH:fa(function(a,u){var h=this.doc.sel,C=this.doc;h.somethingSelected()?C.replaceSelection("",null,"+delete"):At(this,function(S){var O=Er(C,S.head,a,u,!1);return a<0?{from:O,to:S.head}:{from:S.head,to:O}})}),findPosV:function(a,u,h,C){var S=1,O=C;u<0&&(S=-1,u=-u);for(var j=$i(this.doc,a),$e=0;$e<u;++$e){var Be=Dn(this,j,"div");if(O==null?O=Be.left:Be.left=O,j=cn(this,Be,S,h),j.hitSide)break}return j},moveV:fa(function(a,u){var h=this,C=this.doc,S=[],O=!this.display.shift&&!C.extend&&C.sel.somethingSelected();if(C.extendSelectionsBy(function($e){if(O)return a<0?$e.from():$e.to();var Be=Dn(h,$e.head,"div");$e.goalColumn!=null&&(Be.left=$e.goalColumn),S.push(Be.left);var Nt=cn(h,Be,a,u);return u=="page"&&$e==C.sel.primary()&&iu(h,ha(h,Nt,"div").top-Be.top),Nt},Nr),S.length)for(var j=0;j<C.sel.ranges.length;j++)C.sel.ranges[j].goalColumn=S[j]}),findWordAt:function(a){var u=this.doc,h=hn(u,a.line).text,C=a.ch,S=a.ch;if(h){var O=this.getHelper(a,"wordChars");(a.sticky=="before"||S==h.length)&&C?--C:++S;for(var j=h.charAt(C),$e=Gn(j,O)?function(Be){return Gn(Be,O)}:/\s/.test(j)?function(Be){return/\s/.test(Be)}:function(Be){return!/\s/.test(Be)&&!Gn(Be)};C>0&&$e(h.charAt(C-1));)--C;for(;S<h.length&&$e(h.charAt(S));)++S}return new Bs(yt(a.line,C),yt(a.line,S))},toggleOverwrite:function(a){a!=null&&a==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Zi(this.display.cursorDiv,"CodeMirror-overwrite"):gi(this.display.cursorDiv,"CodeMirror-overwrite"),On(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==ii(ps(this))},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:fa(function(a,u){Za(this,a,u)}),getScrollInfo:function(){var a=this.display.scroller;return{left:a.scrollLeft,top:a.scrollTop,height:a.scrollHeight-Tn(this)-this.display.barHeight,width:a.scrollWidth-Tn(this)-this.display.barWidth,clientHeight:jn(this),clientWidth:Bn(this)}},scrollIntoView:fa(function(a,u){a==null?(a={from:this.doc.sel.primary().head,to:null},u==null&&(u=this.options.cursorScrollMargin)):typeof a=="number"?a={from:yt(a,0),to:null}:a.from==null&&(a={from:a,to:null}),a.to||(a.to=a.from),a.margin=u||0,a.from.line!=null?ju(this,a):il(this,a.from,a.to,a.margin)}),setSize:fa(function(a,u){var h=this,C=function(O){return typeof O=="number"||/^\d+$/.test(String(O))?O+"px":O};a!=null&&(this.display.wrapper.style.width=C(a)),u!=null&&(this.display.wrapper.style.height=C(u)),this.options.lineWrapping&&xs(this);var S=this.display.viewFrom;this.doc.iter(S,this.display.viewTo,function(O){if(O.widgets){for(var j=0;j<O.widgets.length;j++)if(O.widgets[j].noHScroll){Wa(h,S,"widget");break}}++S}),this.curOp.forceUpdate=!0,On(this,"refresh",this)}),operation:function(a){return na(this,a)},startOperation:function(){return ao(this)},endOperation:function(){return wo(this)},refresh:fa(function(){var a=this.display.cachedTextHeight;ua(this),this.curOp.forceUpdate=!0,Ms(this),Za(this,this.doc.scrollLeft,this.doc.scrollTop),Fl(this.display),(a==null||Math.abs(a-Ca(this.display))>.5||this.options.lineWrapping)&&Ma(this),On(this,"refresh",this)}),swapDoc:fa(function(a){var u=this.doc;return u.cm=null,this.state.selectingText&&this.state.selectingText(),Gl(this,a),Ms(this),this.display.input.reset(),Za(this,a.scrollLeft,a.scrollTop),this.curOp.forceScroll=!0,Bi(this,"swapDoc",this,u),u}),phrase:function(a){var u=this.options.phrases;return u&&Object.prototype.hasOwnProperty.call(u,a)?u[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}},_t(e),e.registerHelper=function(a,u,h){n.hasOwnProperty(a)||(n[a]=e[a]={_global:[]}),n[a][u]=h},e.registerGlobalHelper=function(a,u,h,C){e.registerHelper(a,u,C),n[a]._global.push({pred:h,val:C})}}function Er(e,r,n,a,u){var h=r,C=n,S=hn(e,r.line),O=u&&e.direction=="rtl"?-n:n;function j(){var Gr=r.line+O;return Gr<e.first||Gr>=e.first+e.size?!1:(r=new yt(Gr,r.ch,r.sticky),S=hn(e,Gr))}function $e(Gr){var rt;if(a=="codepoint"){var vn=S.text.charCodeAt(r.ch+(n>0?0:-1));if(isNaN(vn))rt=null;else{var Sn=n>0?vn>=55296&&vn<56320:vn>=56320&&vn<57343;rt=new yt(r.line,Math.max(0,Math.min(S.text.length,r.ch+n*(Sn?2:1))),-n)}}else u?rt=m(e.cm,S,r,n):rt=d(S,r,n);if(rt==null)if(!Gr&&j())r=A(u,e.cm,S,r.line,O);else return!1;else r=rt;return!0}if(a=="char"||a=="codepoint")$e();else if(a=="column")$e(!0);else if(a=="word"||a=="group")for(var Be=null,Nt=a=="group",it=e.cm&&e.cm.getHelper(r,"wordChars"),jt=!0;!(n<0&&!$e(!jt));jt=!1){var dr=S.text.charAt(r.ch)||`
|
|
16
|
-
`,Jt=Gn(dr,it)?"w":Nt&&dr==`
|
|
17
|
-
`?"n":!Nt||/\s/.test(dr)?null:"p";if(Nt&&!jt&&!Jt&&(Jt="s"),Be&&Be!=Jt){n<0&&(n=1,$e(),r.sticky="after");break}if(Jt&&(Be=Jt),n>0&&!$e(!jt))break}var Sr=yi(e,r,h,C,!0);return ui(h,Sr)&&(Sr.hitSide=!0),Sr}function cn(e,r,n,a){var u=e.doc,h=r.left,C;if(a=="page"){var S=Math.min(e.display.wrapper.clientHeight,hs(e).innerHeight||u(e).documentElement.clientHeight),O=Math.max(S-.5*Ca(e.display),3);C=(n>0?r.bottom:r.top)+n*O}else a=="line"&&(C=n>0?r.bottom+3:r.top-3);for(var j;j=ci(e,h,C),!!j.outside;){if(n<0?C<=0:C>=u.height){j.hitSide=!0;break}C+=n*5}return j}var Fn=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new mn,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Fn.prototype.init=function(e){var r=this,n=this,a=n.cm,u=n.div=e.lineDiv;u.contentEditable=!0,ot(u,a.options.spellcheck,a.options.autocorrect,a.options.autocapitalize);function h(S){for(var O=S.target;O;O=O.parentNode){if(O==u)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(O.className))break}return!1}Lt(u,"paste",function(S){!h(S)||yr(a,S)||gr(S,a)||Me<=11&&setTimeout(zs(a,function(){return r.updateFromDOM()}),20)}),Lt(u,"compositionstart",function(S){r.composing={data:S.data,done:!1}}),Lt(u,"compositionupdate",function(S){r.composing||(r.composing={data:S.data,done:!1})}),Lt(u,"compositionend",function(S){r.composing&&(S.data!=r.composing.data&&r.readFromDOMSoon(),r.composing.done=!0)}),Lt(u,"touchstart",function(){return n.forceCompositionEnd()}),Lt(u,"input",function(){r.composing||r.readFromDOMSoon()});function C(S){if(!(!h(S)||yr(a,S))){if(a.somethingSelected())tt({lineWise:!1,text:a.getSelections()}),S.type=="cut"&&a.replaceSelection("",null,"cut");else if(a.options.lineWiseCopyCut){var O=Ze(a);tt({lineWise:!0,text:O.text}),S.type=="cut"&&a.operation(function(){a.setSelections(O.ranges,0,Je),a.replaceSelection("",null,"cut")})}else return;if(S.clipboardData){S.clipboardData.clearData();var j=Ue.text.join(`
|
|
18
|
-
`);if(S.clipboardData.setData("Text",j),S.clipboardData.getData("Text")==j){S.preventDefault();return}}var $e=ht(),Be=$e.firstChild;a.display.lineSpace.insertBefore($e,a.display.lineSpace.firstChild),Be.value=Ue.text.join(`
|
|
19
|
-
`);var Nt=ii(u.ownerDocument);As(Be),setTimeout(function(){a.display.lineSpace.removeChild($e),Nt.focus(),Nt==u&&n.showPrimarySelection()},50)}}Lt(u,"copy",C),Lt(u,"cut",C)},Fn.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Fn.prototype.prepareSelection=function(){var e=Ou(this.cm,!1);return e.focus=ii(this.div.ownerDocument)==this.div,e},Fn.prototype.showSelection=function(e,r){!e||!this.cm.display.view.length||((e.focus||r)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Fn.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Fn.prototype.showPrimarySelection=function(){var e=this.getSelection(),r=this.cm,n=r.doc.sel.primary(),a=n.from(),u=n.to();if(r.display.viewTo==r.display.viewFrom||a.line>=r.display.viewTo||u.line<r.display.viewFrom){e.removeAllRanges();return}var h=Qt(r,e.anchorNode,e.anchorOffset),C=Qt(r,e.focusNode,e.focusOffset);if(!(h&&!h.bad&&C&&!C.bad&&mr(Os(h,C),a)==0&&mr(Ji(h,C),u)==0)){var S=r.display.view,O=a.line>=r.display.viewFrom&&Ei(r,a)||{node:S[0].measure.map[2],offset:0},j=u.line<r.display.viewTo&&Ei(r,u);if(!j){var $e=S[S.length-1].measure,Be=$e.maps?$e.maps[$e.maps.length-1]:$e.map;j={node:Be[Be.length-1],offset:Be[Be.length-2]-Be[Be.length-3]}}if(!O||!j){e.removeAllRanges();return}var Nt=e.rangeCount&&e.getRangeAt(0),it;try{it=cr(O.node,O.offset,j.offset,j.node)}catch{}it&&(!v&&r.state.focused?(e.collapse(O.node,O.offset),it.collapsed||(e.removeAllRanges(),e.addRange(it))):(e.removeAllRanges(),e.addRange(it)),Nt&&e.anchorNode==null?e.addRange(Nt):v&&this.startGracePeriod()),this.rememberSelection()}},Fn.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)},Fn.prototype.showMultipleSelections=function(e){kn(this.cm.display.cursorDiv,e.cursors),kn(this.cm.display.selectionDiv,e.selection)},Fn.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Fn.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var r=e.getRangeAt(0).commonAncestorContainer;return Pn(this.div,r)},Fn.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||ii(this.div.ownerDocument)!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Fn.prototype.blur=function(){this.div.blur()},Fn.prototype.getField=function(){return this.div},Fn.prototype.supportsTouch=function(){return!0},Fn.prototype.receivedFocus=function(){var e=this,r=this;this.selectionInEditor()?setTimeout(function(){return e.pollSelection()},20):na(this.cm,function(){return r.cm.curOp.selectionChanged=!0});function n(){r.cm.state.focused&&(r.pollSelection(),r.polling.set(r.cm.options.pollInterval,n))}this.polling.set(this.cm.options.pollInterval,n)},Fn.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Fn.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var e=this.getSelection(),r=this.cm;if($t&&mt&&this.cm.display.gutterSpecs.length&&fr(e.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var n=Qt(r,e.anchorNode,e.anchorOffset),a=Qt(r,e.focusNode,e.focusOffset);n&&a&&na(r,function(){vt(r.doc,oo(n,a),Je),(n.bad||a.bad)&&(r.curOp.selectionChanged=!0)})}}},Fn.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e=this.cm,r=e.display,n=e.doc.sel.primary(),a=n.from(),u=n.to();if(a.ch==0&&a.line>e.firstLine()&&(a=yt(a.line-1,hn(e.doc,a.line-1).length)),u.ch==hn(e.doc,u.line).text.length&&u.line<e.lastLine()&&(u=yt(u.line+1,0)),a.line<r.viewFrom||u.line>r.viewTo-1)return!1;var h,C,S;a.line==r.viewFrom||(h=vs(e,a.line))==0?(C=Vi(r.view[0].line),S=r.view[0].node):(C=Vi(r.view[h].line),S=r.view[h-1].node.nextSibling);var O=vs(e,u.line),j,$e;if(O==r.view.length-1?(j=r.viewTo-1,$e=r.lineDiv.lastChild):(j=Vi(r.view[O+1].line)-1,$e=r.view[O+1].node.previousSibling),!S)return!1;for(var Be=e.doc.splitLines(br(e,S,$e,C,j)),Nt=Ti(e.doc,yt(C,0),yt(j,hn(e.doc,j).text.length));Be.length>1&&Nt.length>1;)if(Qr(Be)==Qr(Nt))Be.pop(),Nt.pop(),j--;else if(Be[0]==Nt[0])Be.shift(),Nt.shift(),C++;else break;for(var it=0,jt=0,dr=Be[0],Jt=Nt[0],Sr=Math.min(dr.length,Jt.length);it<Sr&&dr.charCodeAt(it)==Jt.charCodeAt(it);)++it;for(var Gr=Qr(Be),rt=Qr(Nt),vn=Math.min(Gr.length-(Be.length==1?it:0),rt.length-(Nt.length==1?it:0));jt<vn&&Gr.charCodeAt(Gr.length-jt-1)==rt.charCodeAt(rt.length-jt-1);)++jt;if(Be.length==1&&Nt.length==1&&C==a.line)for(;it&&it>a.ch&&Gr.charCodeAt(Gr.length-jt-1)==rt.charCodeAt(rt.length-jt-1);)it--,jt++;Be[Be.length-1]=Gr.slice(0,Gr.length-jt).replace(/^\u200b+/,""),Be[0]=Be[0].slice(it).replace(/\u200b+$/,"");var Sn=yt(C,it),Mn=yt(j,Nt.length?Qr(Nt).length-jt:0);if(Be.length>1||Be[0]||mr(Sn,Mn))return ms(e.doc,Be,Sn,Mn,"+input"),!0},Fn.prototype.ensurePolled=function(){this.forceCompositionEnd()},Fn.prototype.reset=function(){this.forceCompositionEnd()},Fn.prototype.forceCompositionEnd=function(){!this.composing||(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Fn.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))},Fn.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&na(this.cm,function(){return ua(e.cm)})},Fn.prototype.setUneditable=function(e){e.contentEditable="false"},Fn.prototype.onKeyPress=function(e){e.charCode==0||this.composing||(e.preventDefault(),this.cm.isReadOnly()||zs(this.cm,rr)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0))},Fn.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},Fn.prototype.onContextMenu=function(){},Fn.prototype.resetPosition=function(){},Fn.prototype.needsContentAttribute=!0;function Ei(e,r){var n=_i(e,r.line);if(!n||n.hidden)return null;var a=hn(e.doc,r.line),u=ds(n,a,r.line),h=wr(a,e.doc.direction),C="left";if(h){var S=Fr(h,r.ch);C=S%2?"right":"left"}var O=gt(u.map,r.ch,C);return O.offset=O.collapse=="right"?O.end:O.start,O}function fr(e){for(var r=e;r;r=r.parentNode)if(/CodeMirror-gutter-wrapper/.test(r.className))return!0;return!1}function lr(e,r){return r&&(e.bad=!0),e}function br(e,r,n,a,u){var h="",C=!1,S=e.doc.lineSeparator(),O=!1;function j(it){return function(jt){return jt.id==it}}function $e(){C&&(h+=S,O&&(h+=S),C=O=!1)}function Be(it){it&&($e(),h+=it)}function Nt(it){if(it.nodeType==1){var jt=it.getAttribute("cm-text");if(jt){Be(jt);return}var dr=it.getAttribute("cm-marker"),Jt;if(dr){var Sr=e.findMarks(yt(a,0),yt(u+1,0),j(+dr));Sr.length&&(Jt=Sr[0].find(0))&&Be(Ti(e.doc,Jt.from,Jt.to).join(S));return}if(it.getAttribute("contenteditable")=="false")return;var Gr=/^(pre|div|p|li|table|br)$/i.test(it.nodeName);if(!/^br$/i.test(it.nodeName)&&it.textContent.length==0)return;Gr&&$e();for(var rt=0;rt<it.childNodes.length;rt++)Nt(it.childNodes[rt]);/^(pre|p)$/i.test(it.nodeName)&&(O=!0),Gr&&(C=!0)}else it.nodeType==3&&Be(it.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Nt(r),r!=n;)r=r.nextSibling,O=!1;return h}function Qt(e,r,n){var a;if(r==e.display.lineDiv){if(a=e.display.lineDiv.childNodes[n],!a)return lr(e.clipPos(yt(e.display.viewTo-1)),!0);r=null,n=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 u=0;u<e.display.view.length;u++){var h=e.display.view[u];if(h.node==a)return Yr(h,r,n)}}function Yr(e,r,n){var a=e.text.firstChild,u=!1;if(!r||!Pn(a,r))return lr(yt(Vi(e.line),0),!0);if(r==a&&(u=!0,r=a.childNodes[n],n=0,!r)){var h=e.rest?Qr(e.rest):e.line;return lr(yt(Vi(h),h.text.length),u)}var C=r.nodeType==3?r:null,S=r;for(!C&&r.childNodes.length==1&&r.firstChild.nodeType==3&&(C=r.firstChild,n&&(n=C.nodeValue.length));S.parentNode!=a;)S=S.parentNode;var O=e.measure,j=O.maps;function $e(Jt,Sr,Gr){for(var rt=-1;rt<(j?j.length:0);rt++)for(var vn=rt<0?O.map:j[rt],Sn=0;Sn<vn.length;Sn+=3){var Mn=vn[Sn+2];if(Mn==Jt||Mn==Sr){var zi=Vi(rt<0?e.line:e.rest[rt]),as=vn[Sn]+Gr;return(Gr<0||Mn!=Jt)&&(as=vn[Sn+(Gr?1:0)]),yt(zi,as)}}}var Be=$e(C,S,n);if(Be)return lr(Be,u);for(var Nt=S.nextSibling,it=C?C.nodeValue.length-n:0;Nt;Nt=Nt.nextSibling){if(Be=$e(Nt,Nt.firstChild,0),Be)return lr(yt(Be.line,Be.ch-it),u);it+=Nt.textContent.length}for(var jt=S.previousSibling,dr=n;jt;jt=jt.previousSibling){if(Be=$e(jt,jt.firstChild,-1),Be)return lr(yt(Be.line,Be.ch+dr),u);dr+=jt.textContent.length}}var nt=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new mn,this.hasSelection=!1,this.composing=null,this.resetting=!1};nt.prototype.init=function(e){var r=this,n=this,a=this.cm;this.createField(e);var u=this.textarea;e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),Ot&&(u.style.width="0px"),Lt(u,"input",function(){ye&&Me>=9&&r.hasSelection&&(r.hasSelection=null),n.poll()}),Lt(u,"paste",function(C){yr(a,C)||gr(C,a)||(a.state.pasteIncoming=+new Date,n.fastPoll())});function h(C){if(!yr(a,C)){if(a.somethingSelected())tt({lineWise:!1,text:a.getSelections()});else if(a.options.lineWiseCopyCut){var S=Ze(a);tt({lineWise:!0,text:S.text}),C.type=="cut"?a.setSelections(S.ranges,null,Je):(n.prevInput="",u.value=S.text.join(`
|
|
20
|
-
`),As(u))}else return;C.type=="cut"&&(a.state.cutIncoming=+new Date)}}Lt(u,"cut",h),Lt(u,"copy",h),Lt(e.scroller,"paste",function(C){if(!(jr(e,C)||yr(a,C))){if(!u.dispatchEvent){a.state.pasteIncoming=+new Date,n.focus();return}var S=new Event("paste");S.clipboardData=C.clipboardData,u.dispatchEvent(S)}}),Lt(e.lineSpace,"selectstart",function(C){jr(e,C)||zt(C)}),Lt(u,"compositionstart",function(){var C=a.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:C,range:a.markText(C,a.getCursor("to"),{className:"CodeMirror-composing"})}}),Lt(u,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},nt.prototype.createField=function(e){this.wrapper=ht(),this.textarea=this.wrapper.firstChild},nt.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},nt.prototype.prepareSelection=function(){var e=this.cm,r=e.display,n=e.doc,a=Ou(e);if(e.options.moveInputWithCursor){var u=Dn(e,n.sel.primary().head,"div"),h=r.wrapper.getBoundingClientRect(),C=r.lineDiv.getBoundingClientRect();a.teTop=Math.max(0,Math.min(r.wrapper.clientHeight-10,u.top+C.top-h.top)),a.teLeft=Math.max(0,Math.min(r.wrapper.clientWidth-10,u.left+C.left-h.left))}return a},nt.prototype.showSelection=function(e){var r=this.cm,n=r.display;kn(n.cursorDiv,e.cursors),kn(n.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},nt.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing&&e)){var r=this.cm;if(this.resetting=!0,r.somethingSelected()){this.prevInput="";var n=r.getSelection();this.textarea.value=n,r.state.focused&&As(this.textarea),ye&&Me>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",ye&&Me>=9&&(this.hasSelection=null));this.resetting=!1}},nt.prototype.getField=function(){return this.textarea},nt.prototype.supportsTouch=function(){return!1},nt.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Ar||ii(this.textarea.ownerDocument)!=this.textarea))try{this.textarea.focus()}catch{}},nt.prototype.blur=function(){this.textarea.blur()},nt.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},nt.prototype.receivedFocus=function(){this.slowPoll()},nt.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},nt.prototype.fastPoll=function(){var e=!1,r=this;r.pollingFast=!0;function n(){var a=r.poll();!a&&!e?(e=!0,r.polling.set(60,n)):(r.pollingFast=!1,r.slowPoll())}r.polling.set(20,n)},nt.prototype.poll=function(){var e=this,r=this.cm,n=this.textarea,a=this.prevInput;if(this.contextMenuPending||this.resetting||!r.state.focused||ut(n)&&!a&&!this.composing||r.isReadOnly()||r.options.disableInput||r.state.keySeq)return!1;var u=n.value;if(u==a&&!r.somethingSelected())return!1;if(ye&&Me>=9&&this.hasSelection===u||un&&/[\uf700-\uf7ff]/.test(u))return r.display.input.reset(),!1;if(r.doc.sel==r.display.selForContextMenu){var h=u.charCodeAt(0);if(h==8203&&!a&&(a="\u200B"),h==8666)return this.reset(),this.cm.execCommand("undo")}for(var C=0,S=Math.min(a.length,u.length);C<S&&a.charCodeAt(C)==u.charCodeAt(C);)++C;return na(r,function(){rr(r,u.slice(C),a.length-C,null,e.composing?"*compose":null),u.length>1e3||u.indexOf(`
|
|
21
|
-
`)>-1?n.value=e.prevInput="":e.prevInput=u,e.composing&&(e.composing.range.clear(),e.composing.range=r.markText(e.composing.start,r.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},nt.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},nt.prototype.onKeyPress=function(){ye&&Me>=9&&(this.hasSelection=null),this.fastPoll()},nt.prototype.onContextMenu=function(e){var r=this,n=r.cm,a=n.display,u=r.textarea;r.contextMenuPending&&r.contextMenuPending();var h=zo(n,e),C=a.scroller.scrollTop;if(!h||Wt)return;var S=n.options.resetSelectionOnContextMenu;S&&n.doc.sel.contains(h)==-1&&zs(n,vt)(n.doc,oo(h),Je);var O=u.style.cssText,j=r.wrapper.style.cssText,$e=r.wrapper.offsetParent.getBoundingClientRect();r.wrapper.style.cssText="position: static",u.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
22
|
-
top: `+(e.clientY-$e.top-5)+"px; left: "+(e.clientX-$e.left-5)+`px;
|
|
23
|
-
z-index: 1000; background: `+(ye?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
24
|
-
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Be;Oe&&(Be=u.ownerDocument.defaultView.scrollY),a.input.focus(),Oe&&u.ownerDocument.defaultView.scrollTo(null,Be),a.input.reset(),n.somethingSelected()||(u.value=r.prevInput=" "),r.contextMenuPending=it,a.selForContextMenu=n.doc.sel,clearTimeout(a.detectingSelectAll);function Nt(){if(u.selectionStart!=null){var dr=n.somethingSelected(),Jt="\u200B"+(dr?u.value:"");u.value="\u21DA",u.value=Jt,r.prevInput=dr?"":"\u200B",u.selectionStart=1,u.selectionEnd=Jt.length,a.selForContextMenu=n.doc.sel}}function it(){if(r.contextMenuPending==it&&(r.contextMenuPending=!1,r.wrapper.style.cssText=j,u.style.cssText=O,ye&&Me<9&&a.scrollbars.setScrollTop(a.scroller.scrollTop=C),u.selectionStart!=null)){(!ye||ye&&Me<9)&&Nt();var dr=0,Jt=function(){a.selForContextMenu==n.doc.sel&&u.selectionStart==0&&u.selectionEnd>0&&r.prevInput=="\u200B"?zs(n,Ii)(n):dr++<10?a.detectingSelectAll=setTimeout(Jt,500):(a.selForContextMenu=null,a.input.reset())};a.detectingSelectAll=setTimeout(Jt,200)}}if(ye&&Me>=9&&Nt(),Wn){sn(e);var jt=function(){Xt(window,"mouseup",jt),setTimeout(it,20)};Lt(window,"mouseup",jt)}else setTimeout(it,50)},nt.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},nt.prototype.setUneditable=function(){},nt.prototype.needsContentAttribute=!1;function qr(e,r){if(r=r?$r(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 n=ii(e.ownerDocument);r.autofocus=n==e||e.getAttribute("autofocus")!=null&&n==document.body}function a(){e.value=S.getValue()}var u;if(e.form&&(Lt(e.form,"submit",a),!r.leaveSubmitMethodAlone)){var h=e.form;u=h.submit;try{var C=h.submit=function(){a(),h.submit=u,h.submit(),h.submit=C}}catch{}}r.finishInit=function(O){O.save=a,O.getTextArea=function(){return e},O.toTextArea=function(){O.toTextArea=isNaN,a(),e.parentNode.removeChild(O.getWrapperElement()),e.style.display="",e.form&&(Xt(e.form,"submit",a),!r.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=u))}},e.style.display="none";var S=pt(function(O){return e.parentNode.insertBefore(O,e.nextSibling)},r);return S}function Ur(e){e.off=Xt,e.on=Lt,e.wheelEventPixels=ic,e.Doc=Ls,e.splitLines=Qe,e.countColumn=Cr,e.findColumn=Vr,e.isWordChar=qt,e.Pass=Rn,e.signal=On,e.Line=Zn,e.changeEnd=Ka,e.scrollbarModel=al,e.Pos=yt,e.cmpPos=mr,e.modes=xr,e.mimeModes=Ir,e.resolveMode=Pr,e.getMode=Nn,e.modeExtensions=pi,e.extendMode=En,e.copyState=Hi,e.startState=ft,e.innerMode=es,e.commands=b,e.keyMap=i,e.keyName=he,e.isModifierKey=y,e.lookupKey=p,e.normalizeKeyMap=o,e.StringStream=qi,e.SharedTextMarker=si,e.TextMarker=In,e.LineWidget=Ci,e.e_preventDefault=zt,e.e_stopPropagation=ir,e.e_stop=sn,e.addClass=Zi,e.contains=Pn,e.rmClass=gi,e.keyNames=Tu}Dt(pt),pr(pt);var tn="iter insert remove copy getEditor constructor".split(" ");for(var vi in Ls.prototype)Ls.prototype.hasOwnProperty(vi)&&Vn(tn,vi)<0&&(pt.prototype[vi]=function(e){return function(){return e.apply(this.doc,arguments)}}(Ls.prototype[vi]));return _t(Ls),pt.inputStyles={textarea:nt,contenteditable:Fn},pt.defineMode=function(e){!pt.defaults.mode&&e!="null"&&(pt.defaults.mode=e),rn.apply(this,arguments)},pt.defineMIME=an,pt.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),pt.defineMIME("text/plain","null"),pt.defineExtension=function(e,r){pt.prototype[e]=r},pt.defineDocExtension=function(e,r){Ls.prototype[e]=r},pt.fromTextArea=qr,Ur(pt),pt.version="5.65.9",pt})})(ql);const wD=ql.exports;var ym={exports:{}};(function(s,c){(function(l){l(ql.exports)})(function(l){l.defineMode("javascript",function(f,v){var N=f.indentUnit,Y=v.statementIndent,le=v.jsonld,ye=v.json||le,Me=v.trackScope!==!1,Oe=v.typescript,st=v.wordCharacters||/[\w$\xa1-\uffff]/,mt=function(){function _(Os){return{type:Os,style:"keyword"}}var at=_("keyword a"),yt=_("keyword b"),mr=_("keyword c"),ui=_("keyword d"),us=_("operator"),Ji={type:"atom",style:"atom"};return{if:_("if"),while:at,with:at,else:yt,do:yt,try:yt,finally:yt,return:ui,break:ui,continue:ui,new:_("new"),delete:mr,void:mr,throw:mr,debugger:_("debugger"),var:_("var"),const:_("var"),let:_("var"),function:_("function"),catch:_("catch"),for:_("for"),switch:_("switch"),case:_("case"),default:_("default"),in:us,typeof:us,instanceof:us,true:Ji,false:Ji,null:Ji,undefined:Ji,NaN:Ji,Infinity:Ji,this:_("this"),class:_("class"),super:_("atom"),yield:mr,export:_("export"),import:_("import"),extends:mr,await:mr}}(),St=/[+\-*&%=<>!?|~^@]/,Wt=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function Zt(_){for(var at=!1,yt,mr=!1;(yt=_.next())!=null;){if(!at){if(yt=="/"&&!mr)return;yt=="["?mr=!0:mr&&yt=="]"&&(mr=!1)}at=!at&&yt=="\\"}}var Jr,bt;function Ot(_,at,yt){return Jr=_,bt=yt,at}function $t(_,at){var yt=_.next();if(yt=='"'||yt=="'")return at.tokenize=Ar(yt),at.tokenize(_,at);if(yt=="."&&_.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return Ot("number","number");if(yt=="."&&_.match(".."))return Ot("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(yt))return Ot(yt);if(yt=="="&&_.eat(">"))return Ot("=>","operator");if(yt=="0"&&_.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return Ot("number","number");if(/\d/.test(yt))return _.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),Ot("number","number");if(yt=="/")return _.eat("*")?(at.tokenize=un,un(_,at)):_.eat("/")?(_.skipToEnd(),Ot("comment","comment")):Is(_,at,1)?(Zt(_),_.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),Ot("regexp","string-2")):(_.eat("="),Ot("operator","operator",_.current()));if(yt=="`")return at.tokenize=Kn,Kn(_,at);if(yt=="#"&&_.peek()=="!")return _.skipToEnd(),Ot("meta","meta");if(yt=="#"&&_.eatWhile(st))return Ot("variable","property");if(yt=="<"&&_.match("!--")||yt=="-"&&_.match("->")&&!/\S/.test(_.string.slice(0,_.start)))return _.skipToEnd(),Ot("comment","comment");if(St.test(yt))return(yt!=">"||!at.lexical||at.lexical.type!=">")&&(_.eat("=")?(yt=="!"||yt=="=")&&_.eat("="):/[<>*+\-|&?]/.test(yt)&&(_.eat(yt),yt==">"&&_.eat(yt))),yt=="?"&&_.eat(".")?Ot("."):Ot("operator","operator",_.current());if(st.test(yt)){_.eatWhile(st);var mr=_.current();if(at.lastType!="."){if(mt.propertyIsEnumerable(mr)){var ui=mt[mr];return Ot(ui.type,ui.style,mr)}if(mr=="async"&&_.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return Ot("async","keyword",mr)}return Ot("variable","variable",mr)}}function Ar(_){return function(at,yt){var mr=!1,ui;if(le&&at.peek()=="@"&&at.match(Wt))return yt.tokenize=$t,Ot("jsonld-keyword","meta");for(;(ui=at.next())!=null&&!(ui==_&&!mr);)mr=!mr&&ui=="\\";return mr||(yt.tokenize=$t),Ot("string","string")}}function un(_,at){for(var yt=!1,mr;mr=_.next();){if(mr=="/"&&yt){at.tokenize=$t;break}yt=mr=="*"}return Ot("comment","comment")}function Kn(_,at){for(var yt=!1,mr;(mr=_.next())!=null;){if(!yt&&(mr=="`"||mr=="$"&&_.eat("{"))){at.tokenize=$t;break}yt=!yt&&mr=="\\"}return Ot("quasi","string-2",_.current())}var bn="([{}])";function oi(_,at){at.fatArrowAt&&(at.fatArrowAt=null);var yt=_.string.indexOf("=>",_.start);if(!(yt<0)){if(Oe){var mr=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(_.string.slice(_.start,yt));mr&&(yt=mr.index)}for(var ui=0,us=!1,Ji=yt-1;Ji>=0;--Ji){var Os=_.string.charAt(Ji),Us=bn.indexOf(Os);if(Us>=0&&Us<3){if(!ui){++Ji;break}if(--ui==0){Os=="("&&(us=!0);break}}else if(Us>=3&&Us<6)++ui;else if(st.test(Os))us=!0;else if(/["'\/`]/.test(Os))for(;;--Ji){if(Ji==0)return;var $i=_.string.charAt(Ji-1);if($i==Os&&_.string.charAt(Ji-2)!="\\"){Ji--;break}}else if(us&&!ui){++Ji;break}}us&&!ui&&(at.fatArrowAt=Ji)}}var fi={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function Wn(_,at,yt,mr,ui,us){this.indented=_,this.column=at,this.type=yt,this.prev=ui,this.info=us,mr!=null&&(this.align=mr)}function Un(_,at){if(!Me)return!1;for(var yt=_.localVars;yt;yt=yt.next)if(yt.name==at)return!0;for(var mr=_.context;mr;mr=mr.prev)for(var yt=mr.vars;yt;yt=yt.next)if(yt.name==at)return!0}function gi(_,at,yt,mr,ui){var us=_.cc;for(vr.state=_,vr.stream=ui,vr.marked=null,vr.cc=us,vr.style=at,_.lexical.hasOwnProperty("align")||(_.lexical.align=!0);;){var Ji=us.length?us.pop():ye?Rn:Vn;if(Ji(yt,mr)){for(;us.length&&us[us.length-1].lex;)us.pop()();return vr.marked?vr.marked:yt=="variable"&&Un(_,mr)?"variable-2":at}}}var vr={state:null,column:null,marked:null,cc:null};function kn(){for(var _=arguments.length-1;_>=0;_--)vr.cc.push(arguments[_])}function Te(){return kn.apply(null,arguments),!0}function nn(_,at){for(var yt=at;yt;yt=yt.next)if(yt.name==_)return!0;return!1}function cr(_){var at=vr.state;if(vr.marked="def",!!Me){if(at.context){if(at.lexical.info=="var"&&at.context&&at.context.block){var yt=Pn(_,at.context);if(yt!=null){at.context=yt;return}}else if(!nn(_,at.localVars)){at.localVars=new gs(_,at.localVars);return}}v.globalVars&&!nn(_,at.globalVars)&&(at.globalVars=new gs(_,at.globalVars))}}function Pn(_,at){if(at)if(at.block){var yt=Pn(_,at.prev);return yt?yt==at.prev?at:new Zi(yt,at.vars,!0):null}else return nn(_,at.vars)?at:new Zi(at.prev,new gs(_,at.vars),!1);else return null}function ii(_){return _=="public"||_=="private"||_=="protected"||_=="abstract"||_=="readonly"}function Zi(_,at,yt){this.prev=_,this.vars=at,this.block=yt}function gs(_,at){this.name=_,this.next=at}var As=new gs("this",new gs("arguments",null));function ps(){vr.state.context=new Zi(vr.state.context,vr.state.localVars,!1),vr.state.localVars=As}function hs(){vr.state.context=new Zi(vr.state.context,vr.state.localVars,!0),vr.state.localVars=null}ps.lex=hs.lex=!0;function zr(){vr.state.localVars=vr.state.context.vars,vr.state.context=vr.state.context.prev}zr.lex=!0;function $r(_,at){var yt=function(){var mr=vr.state,ui=mr.indented;if(mr.lexical.type=="stat")ui=mr.lexical.indented;else for(var us=mr.lexical;us&&us.type==")"&&us.align;us=us.prev)ui=us.indented;mr.lexical=new Wn(ui,vr.stream.column(),_,null,mr.lexical,at)};return yt.lex=!0,yt}function Cr(){var _=vr.state;_.lexical.prev&&(_.lexical.type==")"&&(_.indented=_.lexical.indented),_.lexical=_.lexical.prev)}Cr.lex=!0;function mn(_){function at(yt){return yt==_?Te():_==";"||yt=="}"||yt==")"||yt=="]"?kn():Te(at)}return at}function Vn(_,at){return _=="var"?Te($r("vardef",at),sn,mn(";"),Cr):_=="keyword a"?Te($r("form"),Tt,Vn,Cr):_=="keyword b"?Te($r("form"),Vn,Cr):_=="keyword d"?vr.stream.match(/^\s*$/,!1)?Te():Te($r("stat"),Vr,mn(";"),Cr):_=="debugger"?Te(mn(";")):_=="{"?Te($r("}"),hs,Xn,Cr,zr):_==";"?Te():_=="if"?(vr.state.lexical.info=="else"&&vr.state.cc[vr.state.cc.length-1]==Cr&&vr.state.cc.pop()(),Te($r("form"),Tt,Vn,Cr,Ee)):_=="function"?Te(xt):_=="for"?Te($r("form"),hs,ze,Vn,zr,Cr):_=="class"||Oe&&at=="interface"?(vr.marked="keyword",Te($r("form",_=="class"?_:at),rn,Cr)):_=="variable"?Oe&&at=="declare"?(vr.marked="keyword",Te(Vn)):Oe&&(at=="module"||at=="enum"||at=="type")&&vr.stream.match(/^\s*\w/,!1)?(vr.marked="keyword",at=="enum"?Te(Xi):at=="type"?Te(or,mn("operator"),Lt,mn(";")):Te($r("form"),Rt,mn("{"),$r("}"),Xn,Cr,Cr)):Oe&&at=="namespace"?(vr.marked="keyword",Te($r("form"),Rn,Vn,Cr)):Oe&&at=="abstract"?(vr.marked="keyword",Te(Vn)):Te($r("stat"),Gn):_=="switch"?Te($r("form"),Tt,mn("{"),$r("}","switch"),hs,Xn,Cr,Cr,zr):_=="case"?Te(Rn,mn(":")):_=="default"?Te(mn(":")):_=="catch"?Te($r("form"),ps,di,Vn,Cr,zr):_=="export"?Te($r("stat"),pi,Cr):_=="import"?Te($r("stat"),Hi,Cr):_=="async"?Te(Vn):at=="@"?Te(Rn,Vn):kn($r("stat"),Rn,mn(";"),Cr)}function di(_){if(_=="(")return Te(xr,mn(")"))}function Rn(_,at){return Nr(_,at,!1)}function Je(_,at){return Nr(_,at,!0)}function Tt(_){return _!="("?kn():Te($r(")"),Vr,mn(")"),Cr)}function Nr(_,at,yt){if(vr.state.fatArrowAt==vr.stream.start){var mr=yt?Zr:zn;if(_=="(")return Te(ps,$r(")"),ys(xr,")"),Cr,mn("=>"),mr,zr);if(_=="variable")return kn(ps,Rt,mn("=>"),mr,zr)}var ui=yt?on:_r;return fi.hasOwnProperty(_)?Te(ui):_=="function"?Te(xt,ui):_=="class"||Oe&&at=="interface"?(vr.marked="keyword",Te($r("form"),Ir,Cr)):_=="keyword c"||_=="async"?Te(yt?Je:Rn):_=="("?Te($r(")"),Vr,mn(")"),Cr,ui):_=="operator"||_=="spread"?Te(yt?Je:Rn):_=="["?Te($r("]"),Ti,Cr,ui):_=="{"?pa(ws,"}",null,ui):_=="quasi"?kn(Qr,ui):_=="new"?Te(Ft(yt)):Te()}function Vr(_){return _.match(/[;\}\)\],]/)?kn():kn(Rn)}function _r(_,at){return _==","?Te(Vr):on(_,at,!1)}function on(_,at,yt){var mr=yt==!1?_r:on,ui=yt==!1?Rn:Je;if(_=="=>")return Te(ps,yt?Zr:zn,zr);if(_=="operator")return/\+\+|--/.test(at)||Oe&&at=="!"?Te(mr):Oe&&at=="<"&&vr.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?Te($r(">"),ys(Lt,">"),Cr,mr):at=="?"?Te(Rn,mn(":"),ui):Te(ui);if(_=="quasi")return kn(Qr,mr);if(_!=";"){if(_=="(")return pa(Je,")","call",mr);if(_==".")return Te(Ni,mr);if(_=="[")return Te($r("]"),Vr,mn("]"),Cr,mr);if(Oe&&at=="as")return vr.marked="keyword",Te(Lt,mr);if(_=="regexp")return vr.state.lastType=vr.marked="operator",vr.stream.backUp(vr.stream.pos-vr.stream.start-1),Te(ui)}}function Qr(_,at){return _!="quasi"?kn():at.slice(at.length-2)!="${"?Te(Qr):Te(Vr,gn)}function gn(_){if(_=="}")return vr.marked="string-2",vr.state.tokenize=Kn,Te(Qr)}function zn(_){return oi(vr.stream,vr.state),kn(_=="{"?Vn:Rn)}function Zr(_){return oi(vr.stream,vr.state),kn(_=="{"?Vn:Je)}function Ft(_){return function(at){return at=="."?Te(_?qt:Dr):at=="variable"&&Oe?Te(zt,_?on:_r):kn(_?Je:Rn)}}function Dr(_,at){if(at=="target")return vr.marked="keyword",Te(_r)}function qt(_,at){if(at=="target")return vr.marked="keyword",Te(on)}function Gn(_){return _==":"?Te(Cr,Vn):kn(_r,mn(";"),Cr)}function Ni(_){if(_=="variable")return vr.marked="property",Te()}function ws(_,at){if(_=="async")return vr.marked="property",Te(ws);if(_=="variable"||vr.style=="keyword"){if(vr.marked="property",at=="get"||at=="set")return Te(os);var yt;return Oe&&vr.state.fatArrowAt==vr.stream.start&&(yt=vr.stream.match(/^\s*:\s*/,!1))&&(vr.state.fatArrowAt=vr.stream.pos+yt[0].length),Te(Fs)}else{if(_=="number"||_=="string")return vr.marked=le?"property":vr.style+" property",Te(Fs);if(_=="jsonld-keyword")return Te(Fs);if(Oe&&ii(at))return vr.marked="keyword",Te(ws);if(_=="[")return Te(Rn,Fr,mn("]"),Fs);if(_=="spread")return Te(Je,Fs);if(at=="*")return vr.marked="keyword",Te(ws);if(_==":")return kn(Fs)}}function os(_){return _!="variable"?kn(Fs):(vr.marked="property",Te(xt))}function Fs(_){if(_==":")return Te(Je);if(_=="(")return kn(xt)}function ys(_,at,yt){function mr(ui,us){if(yt?yt.indexOf(ui)>-1:ui==","){var Ji=vr.state.lexical;return Ji.info=="call"&&(Ji.pos=(Ji.pos||0)+1),Te(function(Os,Us){return Os==at||Us==at?kn():kn(_)},mr)}return ui==at||us==at?Te():yt&&yt.indexOf(";")>-1?kn(_):Te(mn(at))}return function(ui,us){return ui==at||us==at?Te():kn(_,mr)}}function pa(_,at,yt){for(var mr=3;mr<arguments.length;mr++)vr.cc.push(arguments[mr]);return Te($r(at,yt),ys(_,at),Cr)}function Xn(_){return _=="}"?Te():kn(Vn,Xn)}function Fr(_,at){if(Oe){if(_==":")return Te(Lt);if(at=="?")return Te(Fr)}}function Br(_,at){if(Oe&&(_==":"||at=="in"))return Te(Lt)}function wr(_){if(Oe&&_==":")return vr.stream.match(/^\s*\w+\s+is\b/,!1)?Te(Rn,Xr,Lt):Te(Lt)}function Xr(_,at){if(at=="is")return vr.marked="keyword",Te()}function Lt(_,at){if(at=="keyof"||at=="typeof"||at=="infer"||at=="readonly")return vr.marked="keyword",Te(at=="typeof"?Je:Lt);if(_=="variable"||at=="void")return vr.marked="type",Te(_t);if(at=="|"||at=="&")return Te(Lt);if(_=="string"||_=="number"||_=="atom")return Te(_t);if(_=="[")return Te($r("]"),ys(Lt,"]",","),Cr,_t);if(_=="{")return Te($r("}"),Xt,Cr,_t);if(_=="(")return Te(ys(je,")"),Jn,_t);if(_=="<")return Te(ys(Lt,">"),Lt);if(_=="quasi")return kn(yr,_t)}function Jn(_){if(_=="=>")return Te(Lt)}function Xt(_){return _.match(/[\}\)\]]/)?Te():_==","||_==";"?Te(Xt):kn(On,Xt)}function On(_,at){if(_=="variable"||vr.style=="keyword")return vr.marked="property",Te(On);if(at=="?"||_=="number"||_=="string")return Te(On);if(_==":")return Te(Lt);if(_=="[")return Te(mn("variable"),Br,mn("]"),On);if(_=="(")return kn(Kt,On);if(!_.match(/[;\}\)\],]/))return Te()}function yr(_,at){return _!="quasi"?kn():at.slice(at.length-2)!="${"?Te(yr):Te(Lt,It)}function It(_){if(_=="}")return vr.marked="string-2",vr.state.tokenize=Kn,Te(yr)}function je(_,at){return _=="variable"&&vr.stream.match(/^\s*[?:]/,!1)||at=="?"?Te(je):_==":"?Te(Lt):_=="spread"?Te(je):kn(Lt)}function _t(_,at){if(at=="<")return Te($r(">"),ys(Lt,">"),Cr,_t);if(at=="|"||_=="."||at=="&")return Te(Lt);if(_=="[")return Te(Lt,mn("]"),_t);if(at=="extends"||at=="implements")return vr.marked="keyword",Te(Lt);if(at=="?")return Te(Lt,mn(":"),Lt)}function zt(_,at){if(at=="<")return Te($r(">"),ys(Lt,">"),Cr,_t)}function ir(){return kn(Lt,Mr)}function Mr(_,at){if(at=="=")return Te(Lt)}function sn(_,at){return at=="enum"?(vr.marked="keyword",Te(Xi)):kn(Rt,Fr,me,be)}function Rt(_,at){if(Oe&&ii(at))return vr.marked="keyword",Te(Rt);if(_=="variable")return cr(at),Te();if(_=="spread")return Te(Rt);if(_=="[")return pa(pe,"]");if(_=="{")return pa(_e,"}")}function _e(_,at){return _=="variable"&&!vr.stream.match(/^\s*:/,!1)?(cr(at),Te(me)):(_=="variable"&&(vr.marked="property"),_=="spread"?Te(Rt):_=="}"?kn():_=="["?Te(Rn,mn("]"),mn(":"),_e):Te(mn(":"),Rt,me))}function pe(){return kn(Rt,me)}function me(_,at){if(at=="=")return Te(Je)}function be(_){if(_==",")return Te(sn)}function Ee(_,at){if(_=="keyword b"&&at=="else")return Te($r("form","else"),Vn,Cr)}function ze(_,at){if(at=="await")return Te(ze);if(_=="(")return Te($r(")"),Qe,Cr)}function Qe(_){return _=="var"?Te(sn,ut):_=="variable"?Te(ut):kn(ut)}function ut(_,at){return _==")"?Te():_==";"?Te(ut):at=="in"||at=="of"?(vr.marked="keyword",Te(Rn,ut)):kn(Rn,ut)}function xt(_,at){if(at=="*")return vr.marked="keyword",Te(xt);if(_=="variable")return cr(at),Te(xt);if(_=="(")return Te(ps,$r(")"),ys(xr,")"),Cr,wr,Vn,zr);if(Oe&&at=="<")return Te($r(">"),ys(ir,">"),Cr,xt)}function Kt(_,at){if(at=="*")return vr.marked="keyword",Te(Kt);if(_=="variable")return cr(at),Te(Kt);if(_=="(")return Te(ps,$r(")"),ys(xr,")"),Cr,wr,zr);if(Oe&&at=="<")return Te($r(">"),ys(ir,">"),Cr,Kt)}function or(_,at){if(_=="keyword"||_=="variable")return vr.marked="type",Te(or);if(at=="<")return Te($r(">"),ys(ir,">"),Cr)}function xr(_,at){return at=="@"&&Te(Rn,xr),_=="spread"?Te(xr):Oe&&ii(at)?(vr.marked="keyword",Te(xr)):Oe&&_=="this"?Te(Fr,me):kn(Rt,Fr,me)}function Ir(_,at){return _=="variable"?rn(_,at):an(_,at)}function rn(_,at){if(_=="variable")return cr(at),Te(an)}function an(_,at){if(at=="<")return Te($r(">"),ys(ir,">"),Cr,an);if(at=="extends"||at=="implements"||Oe&&_==",")return at=="implements"&&(vr.marked="keyword"),Te(Oe?Lt:Rn,an);if(_=="{")return Te($r("}"),Pr,Cr)}function Pr(_,at){if(_=="async"||_=="variable"&&(at=="static"||at=="get"||at=="set"||Oe&&ii(at))&&vr.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return vr.marked="keyword",Te(Pr);if(_=="variable"||vr.style=="keyword")return vr.marked="property",Te(Nn,Pr);if(_=="number"||_=="string")return Te(Nn,Pr);if(_=="[")return Te(Rn,Fr,mn("]"),Nn,Pr);if(at=="*")return vr.marked="keyword",Te(Pr);if(Oe&&_=="(")return kn(Kt,Pr);if(_==";"||_==",")return Te(Pr);if(_=="}")return Te();if(at=="@")return Te(Rn,Pr)}function Nn(_,at){if(at=="!"||at=="?")return Te(Nn);if(_==":")return Te(Lt,me);if(at=="=")return Te(Je);var yt=vr.state.lexical.prev,mr=yt&&yt.info=="interface";return kn(mr?Kt:xt)}function pi(_,at){return at=="*"?(vr.marked="keyword",Te(hn,mn(";"))):at=="default"?(vr.marked="keyword",Te(Rn,mn(";"))):_=="{"?Te(ys(En,"}"),hn,mn(";")):kn(Vn)}function En(_,at){if(at=="as")return vr.marked="keyword",Te(mn("variable"));if(_=="variable")return kn(Je,En)}function Hi(_){return _=="string"?Te():_=="("?kn(Rn):_=="."?kn(_r):kn(es,ft,hn)}function es(_,at){return _=="{"?pa(es,"}"):(_=="variable"&&cr(at),at=="*"&&(vr.marked="keyword"),Te(qi))}function ft(_){if(_==",")return Te(es,ft)}function qi(_,at){if(at=="as")return vr.marked="keyword",Te(es)}function hn(_,at){if(at=="from")return vr.marked="keyword",Te(Rn)}function Ti(_){return _=="]"?Te():kn(ys(Je,"]"))}function Xi(){return kn($r("form"),Rt,mn("{"),$r("}"),ys(Yn,"}"),Cr,Cr)}function Yn(){return kn(Rt,me)}function Vi(_,at){return _.lastType=="operator"||_.lastType==","||St.test(at.charAt(0))||/[,.]/.test(at.charAt(0))}function Is(_,at,yt){return at.tokenize==$t&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(at.lastType)||at.lastType=="quasi"&&/\{\s*$/.test(_.string.slice(0,_.pos-(yt||0)))}return{startState:function(_){var at={tokenize:$t,lastType:"sof",cc:[],lexical:new Wn((_||0)-N,0,"block",!1),localVars:v.localVars,context:v.localVars&&new Zi(null,null,!1),indented:_||0};return v.globalVars&&typeof v.globalVars=="object"&&(at.globalVars=v.globalVars),at},token:function(_,at){if(_.sol()&&(at.lexical.hasOwnProperty("align")||(at.lexical.align=!1),at.indented=_.indentation(),oi(_,at)),at.tokenize!=un&&_.eatSpace())return null;var yt=at.tokenize(_,at);return Jr=="comment"?yt:(at.lastType=Jr=="operator"&&(bt=="++"||bt=="--")?"incdec":Jr,gi(at,yt,Jr,bt,_))},indent:function(_,at){if(_.tokenize==un||_.tokenize==Kn)return l.Pass;if(_.tokenize!=$t)return 0;var yt=at&&at.charAt(0),mr=_.lexical,ui;if(!/^\s*else\b/.test(at))for(var us=_.cc.length-1;us>=0;--us){var Ji=_.cc[us];if(Ji==Cr)mr=mr.prev;else if(Ji!=Ee&&Ji!=zr)break}for(;(mr.type=="stat"||mr.type=="form")&&(yt=="}"||(ui=_.cc[_.cc.length-1])&&(ui==_r||ui==on)&&!/^[,\.=+\-*:?[\(]/.test(at));)mr=mr.prev;Y&&mr.type==")"&&mr.prev.type=="stat"&&(mr=mr.prev);var Os=mr.type,Us=yt==Os;return Os=="vardef"?mr.indented+(_.lastType=="operator"||_.lastType==","?mr.info.length+1:0):Os=="form"&&yt=="{"?mr.indented:Os=="form"?mr.indented+N:Os=="stat"?mr.indented+(Vi(_,at)?Y||N:0):mr.info=="switch"&&!Us&&v.doubleIndentSwitch!=!1?mr.indented+(/^(?:case|default)\b/.test(at)?N:2*N):mr.align?mr.column+(Us?0:1):mr.indented+(Us?0:N)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:ye?null:"/*",blockCommentEnd:ye?null:"*/",blockCommentContinue:ye?null:" * ",lineComment:ye?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:ye?"json":"javascript",jsonldMode:le,jsonMode:ye,expressionAllowed:Is,skipExpression:function(_){gi(_,"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 TD={exports:{}};(function(s,c){(function(l){l(ql.exports)})(function(l){l.defineMode("css",function(Wn,Un){var gi=Un.inline;Un.propertyKeywords||(Un=l.resolveMode("text/css"));var vr=Wn.indentUnit,kn=Un.tokenHooks,Te=Un.documentTypes||{},nn=Un.mediaTypes||{},cr=Un.mediaFeatures||{},Pn=Un.mediaValueKeywords||{},ii=Un.propertyKeywords||{},Zi=Un.nonStandardPropertyKeywords||{},gs=Un.fontProperties||{},As=Un.counterDescriptors||{},ps=Un.colorKeywords||{},hs=Un.valueKeywords||{},zr=Un.allowNested,$r=Un.lineComment,Cr=Un.supportsAtComponent===!0,mn=Wn.highlightNonStandardPropertyKeywords!==!1,Vn,di;function Rn(Ft,Dr){return Vn=Dr,Ft}function Je(Ft,Dr){var qt=Ft.next();if(kn[qt]){var Gn=kn[qt](Ft,Dr);if(Gn!==!1)return Gn}if(qt=="@")return Ft.eatWhile(/[\w\\\-]/),Rn("def",Ft.current());if(qt=="="||(qt=="~"||qt=="|")&&Ft.eat("="))return Rn(null,"compare");if(qt=='"'||qt=="'")return Dr.tokenize=Tt(qt),Dr.tokenize(Ft,Dr);if(qt=="#")return Ft.eatWhile(/[\w\\\-]/),Rn("atom","hash");if(qt=="!")return Ft.match(/^\s*\w*/),Rn("keyword","important");if(/\d/.test(qt)||qt=="."&&Ft.eat(/\d/))return Ft.eatWhile(/[\w.%]/),Rn("number","unit");if(qt==="-"){if(/[\d.]/.test(Ft.peek()))return Ft.eatWhile(/[\w.%]/),Rn("number","unit");if(Ft.match(/^-[\w\\\-]*/))return Ft.eatWhile(/[\w\\\-]/),Ft.match(/^\s*:/,!1)?Rn("variable-2","variable-definition"):Rn("variable-2","variable");if(Ft.match(/^\w+-/))return Rn("meta","meta")}else return/[,+>*\/]/.test(qt)?Rn(null,"select-op"):qt=="."&&Ft.match(/^-?[_a-z][_a-z0-9-]*/i)?Rn("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(qt)?Rn(null,qt):Ft.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(Ft.current())&&(Dr.tokenize=Nr),Rn("variable callee","variable")):/[\w\\\-]/.test(qt)?(Ft.eatWhile(/[\w\\\-]/),Rn("property","word")):Rn(null,null)}function Tt(Ft){return function(Dr,qt){for(var Gn=!1,Ni;(Ni=Dr.next())!=null;){if(Ni==Ft&&!Gn){Ft==")"&&Dr.backUp(1);break}Gn=!Gn&&Ni=="\\"}return(Ni==Ft||!Gn&&Ft!=")")&&(qt.tokenize=null),Rn("string","string")}}function Nr(Ft,Dr){return Ft.next(),Ft.match(/^\s*[\"\')]/,!1)?Dr.tokenize=null:Dr.tokenize=Tt(")"),Rn(null,"(")}function Vr(Ft,Dr,qt){this.type=Ft,this.indent=Dr,this.prev=qt}function _r(Ft,Dr,qt,Gn){return Ft.context=new Vr(qt,Dr.indentation()+(Gn===!1?0:vr),Ft.context),qt}function on(Ft){return Ft.context.prev&&(Ft.context=Ft.context.prev),Ft.context.type}function Qr(Ft,Dr,qt){return Zr[qt.context.type](Ft,Dr,qt)}function gn(Ft,Dr,qt,Gn){for(var Ni=Gn||1;Ni>0;Ni--)qt.context=qt.context.prev;return Qr(Ft,Dr,qt)}function zn(Ft){var Dr=Ft.current().toLowerCase();hs.hasOwnProperty(Dr)?di="atom":ps.hasOwnProperty(Dr)?di="keyword":di="variable"}var Zr={};return Zr.top=function(Ft,Dr,qt){if(Ft=="{")return _r(qt,Dr,"block");if(Ft=="}"&&qt.context.prev)return on(qt);if(Cr&&/@component/i.test(Ft))return _r(qt,Dr,"atComponentBlock");if(/^@(-moz-)?document$/i.test(Ft))return _r(qt,Dr,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(Ft))return _r(qt,Dr,"atBlock");if(/^@(font-face|counter-style)/i.test(Ft))return qt.stateArg=Ft,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(Ft))return"keyframes";if(Ft&&Ft.charAt(0)=="@")return _r(qt,Dr,"at");if(Ft=="hash")di="builtin";else if(Ft=="word")di="tag";else{if(Ft=="variable-definition")return"maybeprop";if(Ft=="interpolation")return _r(qt,Dr,"interpolation");if(Ft==":")return"pseudo";if(zr&&Ft=="(")return _r(qt,Dr,"parens")}return qt.context.type},Zr.block=function(Ft,Dr,qt){if(Ft=="word"){var Gn=Dr.current().toLowerCase();return ii.hasOwnProperty(Gn)?(di="property","maybeprop"):Zi.hasOwnProperty(Gn)?(di=mn?"string-2":"property","maybeprop"):zr?(di=Dr.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(di+=" error","maybeprop")}else return Ft=="meta"?"block":!zr&&(Ft=="hash"||Ft=="qualifier")?(di="error","block"):Zr.top(Ft,Dr,qt)},Zr.maybeprop=function(Ft,Dr,qt){return Ft==":"?_r(qt,Dr,"prop"):Qr(Ft,Dr,qt)},Zr.prop=function(Ft,Dr,qt){if(Ft==";")return on(qt);if(Ft=="{"&&zr)return _r(qt,Dr,"propBlock");if(Ft=="}"||Ft=="{")return gn(Ft,Dr,qt);if(Ft=="(")return _r(qt,Dr,"parens");if(Ft=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(Dr.current()))di+=" error";else if(Ft=="word")zn(Dr);else if(Ft=="interpolation")return _r(qt,Dr,"interpolation");return"prop"},Zr.propBlock=function(Ft,Dr,qt){return Ft=="}"?on(qt):Ft=="word"?(di="property","maybeprop"):qt.context.type},Zr.parens=function(Ft,Dr,qt){return Ft=="{"||Ft=="}"?gn(Ft,Dr,qt):Ft==")"?on(qt):Ft=="("?_r(qt,Dr,"parens"):Ft=="interpolation"?_r(qt,Dr,"interpolation"):(Ft=="word"&&zn(Dr),"parens")},Zr.pseudo=function(Ft,Dr,qt){return Ft=="meta"?"pseudo":Ft=="word"?(di="variable-3",qt.context.type):Qr(Ft,Dr,qt)},Zr.documentTypes=function(Ft,Dr,qt){return Ft=="word"&&Te.hasOwnProperty(Dr.current())?(di="tag",qt.context.type):Zr.atBlock(Ft,Dr,qt)},Zr.atBlock=function(Ft,Dr,qt){if(Ft=="(")return _r(qt,Dr,"atBlock_parens");if(Ft=="}"||Ft==";")return gn(Ft,Dr,qt);if(Ft=="{")return on(qt)&&_r(qt,Dr,zr?"block":"top");if(Ft=="interpolation")return _r(qt,Dr,"interpolation");if(Ft=="word"){var Gn=Dr.current().toLowerCase();Gn=="only"||Gn=="not"||Gn=="and"||Gn=="or"?di="keyword":nn.hasOwnProperty(Gn)?di="attribute":cr.hasOwnProperty(Gn)?di="property":Pn.hasOwnProperty(Gn)?di="keyword":ii.hasOwnProperty(Gn)?di="property":Zi.hasOwnProperty(Gn)?di=mn?"string-2":"property":hs.hasOwnProperty(Gn)?di="atom":ps.hasOwnProperty(Gn)?di="keyword":di="error"}return qt.context.type},Zr.atComponentBlock=function(Ft,Dr,qt){return Ft=="}"?gn(Ft,Dr,qt):Ft=="{"?on(qt)&&_r(qt,Dr,zr?"block":"top",!1):(Ft=="word"&&(di="error"),qt.context.type)},Zr.atBlock_parens=function(Ft,Dr,qt){return Ft==")"?on(qt):Ft=="{"||Ft=="}"?gn(Ft,Dr,qt,2):Zr.atBlock(Ft,Dr,qt)},Zr.restricted_atBlock_before=function(Ft,Dr,qt){return Ft=="{"?_r(qt,Dr,"restricted_atBlock"):Ft=="word"&&qt.stateArg=="@counter-style"?(di="variable","restricted_atBlock_before"):Qr(Ft,Dr,qt)},Zr.restricted_atBlock=function(Ft,Dr,qt){return Ft=="}"?(qt.stateArg=null,on(qt)):Ft=="word"?(qt.stateArg=="@font-face"&&!gs.hasOwnProperty(Dr.current().toLowerCase())||qt.stateArg=="@counter-style"&&!As.hasOwnProperty(Dr.current().toLowerCase())?di="error":di="property","maybeprop"):"restricted_atBlock"},Zr.keyframes=function(Ft,Dr,qt){return Ft=="word"?(di="variable","keyframes"):Ft=="{"?_r(qt,Dr,"top"):Qr(Ft,Dr,qt)},Zr.at=function(Ft,Dr,qt){return Ft==";"?on(qt):Ft=="{"||Ft=="}"?gn(Ft,Dr,qt):(Ft=="word"?di="tag":Ft=="hash"&&(di="builtin"),"at")},Zr.interpolation=function(Ft,Dr,qt){return Ft=="}"?on(qt):Ft=="{"||Ft==";"?gn(Ft,Dr,qt):(Ft=="word"?di="variable":Ft!="variable"&&Ft!="("&&Ft!=")"&&(di="error"),"interpolation")},{startState:function(Ft){return{tokenize:null,state:gi?"block":"top",stateArg:null,context:new Vr(gi?"block":"top",Ft||0,null)}},token:function(Ft,Dr){if(!Dr.tokenize&&Ft.eatSpace())return null;var qt=(Dr.tokenize||Je)(Ft,Dr);return qt&&typeof qt=="object"&&(Vn=qt[1],qt=qt[0]),di=qt,Vn!="comment"&&(Dr.state=Zr[Dr.state](Vn,Ft,Dr)),di},indent:function(Ft,Dr){var qt=Ft.context,Gn=Dr&&Dr.charAt(0),Ni=qt.indent;return qt.type=="prop"&&(Gn=="}"||Gn==")")&&(qt=qt.prev),qt.prev&&(Gn=="}"&&(qt.type=="block"||qt.type=="top"||qt.type=="interpolation"||qt.type=="restricted_atBlock")?(qt=qt.prev,Ni=qt.indent):(Gn==")"&&(qt.type=="parens"||qt.type=="atBlock_parens")||Gn=="{"&&(qt.type=="at"||qt.type=="atBlock"))&&(Ni=Math.max(0,qt.indent-vr))),Ni},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:$r,fold:"brace"}});function f(Wn){for(var Un={},gi=0;gi<Wn.length;++gi)Un[Wn[gi].toLowerCase()]=!0;return Un}var v=["domain","regexp","url","url-prefix"],N=f(v),Y=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],le=f(Y),ye=["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"],Me=f(ye),Oe=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light","standard","high"],st=f(Oe),mt=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","all","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","binding","bleed","block-size","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-content","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-height-step","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotate","rotation","rotation-point","row-gap","ruby-align","ruby-overhang","ruby-position","ruby-span","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-orientation","text-outline","text-overflow","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","paint-order","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],St=f(mt),Wt=["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"],Zt=f(Wt),Jr=["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],bt=f(Jr),Ot=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],$t=f(Ot),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"],un=f(Ar),Kn=["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"],bn=f(Kn),oi=v.concat(Y).concat(ye).concat(Oe).concat(mt).concat(Wt).concat(Ar).concat(Kn);l.registerHelper("hintWords","css",oi);function fi(Wn,Un){for(var gi=!1,vr;(vr=Wn.next())!=null;){if(gi&&vr=="/"){Un.tokenize=null;break}gi=vr=="*"}return["comment","comment"]}l.defineMIME("text/css",{documentTypes:N,mediaTypes:le,mediaFeatures:Me,mediaValueKeywords:st,propertyKeywords:St,nonStandardPropertyKeywords:Zt,fontProperties:bt,counterDescriptors:$t,colorKeywords:un,valueKeywords:bn,tokenHooks:{"/":function(Wn,Un){return Wn.eat("*")?(Un.tokenize=fi,fi(Wn,Un)):!1}},name:"css"}),l.defineMIME("text/x-scss",{mediaTypes:le,mediaFeatures:Me,mediaValueKeywords:st,propertyKeywords:St,nonStandardPropertyKeywords:Zt,colorKeywords:un,valueKeywords:bn,fontProperties:bt,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(Wn,Un){return Wn.eat("/")?(Wn.skipToEnd(),["comment","comment"]):Wn.eat("*")?(Un.tokenize=fi,fi(Wn,Un)):["operator","operator"]},":":function(Wn){return Wn.match(/^\s*\{/,!1)?[null,null]:!1},$:function(Wn){return Wn.match(/^[\w-]+/),Wn.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(Wn){return Wn.eat("{")?[null,"interpolation"]:!1}},name:"css",helperType:"scss"}),l.defineMIME("text/x-less",{mediaTypes:le,mediaFeatures:Me,mediaValueKeywords:st,propertyKeywords:St,nonStandardPropertyKeywords:Zt,colorKeywords:un,valueKeywords:bn,fontProperties:bt,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(Wn,Un){return Wn.eat("/")?(Wn.skipToEnd(),["comment","comment"]):Wn.eat("*")?(Un.tokenize=fi,fi(Wn,Un)):["operator","operator"]},"@":function(Wn){return Wn.eat("{")?[null,"interpolation"]:Wn.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)?!1:(Wn.eatWhile(/[\w\\\-]/),Wn.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),l.defineMIME("text/x-gss",{documentTypes:N,mediaTypes:le,mediaFeatures:Me,propertyKeywords:St,nonStandardPropertyKeywords:Zt,fontProperties:bt,counterDescriptors:$t,colorKeywords:un,valueKeywords:bn,supportsAtComponent:!0,tokenHooks:{"/":function(Wn,Un){return Wn.eat("*")?(Un.tokenize=fi,fi(Wn,Un)):!1}},name:"css",helperType:"gss"})})})();var Dm={exports:{}};(function(s,c){(function(l){l(ql.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(N,Y){var le=N.indentUnit,ye={},Me=Y.htmlMode?f:v;for(var Oe in Me)ye[Oe]=Me[Oe];for(var Oe in Y)ye[Oe]=Y[Oe];var st,mt;function St(Te,nn){function cr(Zi){return nn.tokenize=Zi,Zi(Te,nn)}var Pn=Te.next();if(Pn=="<")return Te.eat("!")?Te.eat("[")?Te.match("CDATA[")?cr(Jr("atom","]]>")):null:Te.match("--")?cr(Jr("comment","-->")):Te.match("DOCTYPE",!0,!0)?(Te.eatWhile(/[\w\._\-]/),cr(bt(1))):null:Te.eat("?")?(Te.eatWhile(/[\w\._\-]/),nn.tokenize=Jr("meta","?>"),"meta"):(st=Te.eat("/")?"closeTag":"openTag",nn.tokenize=Wt,"tag bracket");if(Pn=="&"){var ii;return Te.eat("#")?Te.eat("x")?ii=Te.eatWhile(/[a-fA-F\d]/)&&Te.eat(";"):ii=Te.eatWhile(/[\d]/)&&Te.eat(";"):ii=Te.eatWhile(/[\w\.\-:]/)&&Te.eat(";"),ii?"atom":"error"}else return Te.eatWhile(/[^&<]/),null}St.isInText=!0;function Wt(Te,nn){var cr=Te.next();if(cr==">"||cr=="/"&&Te.eat(">"))return nn.tokenize=St,st=cr==">"?"endTag":"selfcloseTag","tag bracket";if(cr=="=")return st="equals",null;if(cr=="<"){nn.tokenize=St,nn.state=Kn,nn.tagName=nn.tagStart=null;var Pn=nn.tokenize(Te,nn);return Pn?Pn+" tag error":"tag error"}else return/[\'\"]/.test(cr)?(nn.tokenize=Zt(cr),nn.stringStartCol=Te.column(),nn.tokenize(Te,nn)):(Te.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Zt(Te){var nn=function(cr,Pn){for(;!cr.eol();)if(cr.next()==Te){Pn.tokenize=Wt;break}return"string"};return nn.isInAttribute=!0,nn}function Jr(Te,nn){return function(cr,Pn){for(;!cr.eol();){if(cr.match(nn)){Pn.tokenize=St;break}cr.next()}return Te}}function bt(Te){return function(nn,cr){for(var Pn;(Pn=nn.next())!=null;){if(Pn=="<")return cr.tokenize=bt(Te+1),cr.tokenize(nn,cr);if(Pn==">")if(Te==1){cr.tokenize=St;break}else return cr.tokenize=bt(Te-1),cr.tokenize(nn,cr)}return"meta"}}function Ot(Te){return Te&&Te.toLowerCase()}function $t(Te,nn,cr){this.prev=Te.context,this.tagName=nn||"",this.indent=Te.indented,this.startOfLine=cr,(ye.doNotIndent.hasOwnProperty(nn)||Te.context&&Te.context.noIndent)&&(this.noIndent=!0)}function Ar(Te){Te.context&&(Te.context=Te.context.prev)}function un(Te,nn){for(var cr;;){if(!Te.context||(cr=Te.context.tagName,!ye.contextGrabbers.hasOwnProperty(Ot(cr))||!ye.contextGrabbers[Ot(cr)].hasOwnProperty(Ot(nn))))return;Ar(Te)}}function Kn(Te,nn,cr){return Te=="openTag"?(cr.tagStart=nn.column(),bn):Te=="closeTag"?oi:Kn}function bn(Te,nn,cr){return Te=="word"?(cr.tagName=nn.current(),mt="tag",Un):ye.allowMissingTagName&&Te=="endTag"?(mt="tag bracket",Un(Te,nn,cr)):(mt="error",bn)}function oi(Te,nn,cr){if(Te=="word"){var Pn=nn.current();return cr.context&&cr.context.tagName!=Pn&&ye.implicitlyClosed.hasOwnProperty(Ot(cr.context.tagName))&&Ar(cr),cr.context&&cr.context.tagName==Pn||ye.matchClosing===!1?(mt="tag",fi):(mt="tag error",Wn)}else return ye.allowMissingTagName&&Te=="endTag"?(mt="tag bracket",fi(Te,nn,cr)):(mt="error",Wn)}function fi(Te,nn,cr){return Te!="endTag"?(mt="error",fi):(Ar(cr),Kn)}function Wn(Te,nn,cr){return mt="error",fi(Te,nn,cr)}function Un(Te,nn,cr){if(Te=="word")return mt="attribute",gi;if(Te=="endTag"||Te=="selfcloseTag"){var Pn=cr.tagName,ii=cr.tagStart;return cr.tagName=cr.tagStart=null,Te=="selfcloseTag"||ye.autoSelfClosers.hasOwnProperty(Ot(Pn))?un(cr,Pn):(un(cr,Pn),cr.context=new $t(cr,Pn,ii==cr.indented)),Kn}return mt="error",Un}function gi(Te,nn,cr){return Te=="equals"?vr:(ye.allowMissing||(mt="error"),Un(Te,nn,cr))}function vr(Te,nn,cr){return Te=="string"?kn:Te=="word"&&ye.allowUnquoted?(mt="string",Un):(mt="error",Un(Te,nn,cr))}function kn(Te,nn,cr){return Te=="string"?kn:Un(Te,nn,cr)}return{startState:function(Te){var nn={tokenize:St,state:Kn,indented:Te||0,tagName:null,tagStart:null,context:null};return Te!=null&&(nn.baseIndent=Te),nn},token:function(Te,nn){if(!nn.tagName&&Te.sol()&&(nn.indented=Te.indentation()),Te.eatSpace())return null;st=null;var cr=nn.tokenize(Te,nn);return(cr||st)&&cr!="comment"&&(mt=null,nn.state=nn.state(st||cr,Te,nn),mt&&(cr=mt=="error"?cr+" error":mt)),cr},indent:function(Te,nn,cr){var Pn=Te.context;if(Te.tokenize.isInAttribute)return Te.tagStart==Te.indented?Te.stringStartCol+1:Te.indented+le;if(Pn&&Pn.noIndent)return l.Pass;if(Te.tokenize!=Wt&&Te.tokenize!=St)return cr?cr.match(/^(\s*)/)[0].length:0;if(Te.tagName)return ye.multilineTagIndentPastTag!==!1?Te.tagStart+Te.tagName.length+2:Te.tagStart+le*(ye.multilineTagIndentFactor||1);if(ye.alignCDATA&&/<!\[CDATA\[/.test(nn))return 0;var ii=nn&&/^<(\/)?([\w_:\.-]*)/.exec(nn);if(ii&&ii[1])for(;Pn;)if(Pn.tagName==ii[2]){Pn=Pn.prev;break}else if(ye.implicitlyClosed.hasOwnProperty(Ot(Pn.tagName)))Pn=Pn.prev;else break;else if(ii)for(;Pn;){var Zi=ye.contextGrabbers[Ot(Pn.tagName)];if(Zi&&Zi.hasOwnProperty(Ot(ii[2])))Pn=Pn.prev;else break}for(;Pn&&Pn.prev&&!Pn.startOfLine;)Pn=Pn.prev;return Pn?Pn.indent+le:Te.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:ye.htmlMode?"html":"xml",helperType:ye.htmlMode?"html":"xml",skipAttribute:function(Te){Te.state==vr&&(Te.state=Un)},xmlCurrentTag:function(Te){return Te.tagName?{name:Te.tagName,close:Te.type=="closeTag"}:null},xmlCurrentContext:function(Te){for(var nn=[],cr=Te.context;cr;cr=cr.prev)nn.push(cr.tagName);return nn.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(s,c){(function(l){l(ql.exports,Dm.exports,ym.exports,TD.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(st,mt,St){var Wt=st.current(),Zt=Wt.search(mt);return Zt>-1?st.backUp(Wt.length-Zt):Wt.match(/<\/?$/)&&(st.backUp(Wt.length),st.match(mt,!1)||st.match(Wt)),St}var N={};function Y(st){var mt=N[st];return mt||(N[st]=new RegExp("\\s+"+st+`\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))}function le(st,mt){var St=st.match(Y(mt));return St?/^\s*(.*?)\s*$/.exec(St[2])[1]:""}function ye(st,mt){return new RegExp((mt?"^":"")+"</\\s*"+st+"\\s*>","i")}function Me(st,mt){for(var St in st)for(var Wt=mt[St]||(mt[St]=[]),Zt=st[St],Jr=Zt.length-1;Jr>=0;Jr--)Wt.unshift(Zt[Jr])}function Oe(st,mt){for(var St=0;St<st.length;St++){var Wt=st[St];if(!Wt[0]||Wt[1].test(le(mt,Wt[0])))return Wt[2]}}l.defineMode("htmlmixed",function(st,mt){var St=l.getMode(st,{name:"xml",htmlMode:!0,multilineTagIndentFactor:mt.multilineTagIndentFactor,multilineTagIndentPastTag:mt.multilineTagIndentPastTag,allowMissingTagName:mt.allowMissingTagName}),Wt={},Zt=mt&&mt.tags,Jr=mt&&mt.scriptTypes;if(Me(f,Wt),Zt&&Me(Zt,Wt),Jr)for(var bt=Jr.length-1;bt>=0;bt--)Wt.script.unshift(["type",Jr[bt].matches,Jr[bt].mode]);function Ot($t,Ar){var un=St.token($t,Ar.htmlState),Kn=/\btag\b/.test(un),bn;if(Kn&&!/[<>\s\/]/.test($t.current())&&(bn=Ar.htmlState.tagName&&Ar.htmlState.tagName.toLowerCase())&&Wt.hasOwnProperty(bn))Ar.inTag=bn+" ";else if(Ar.inTag&&Kn&&/>$/.test($t.current())){var oi=/^([\S]+) (.*)/.exec(Ar.inTag);Ar.inTag=null;var fi=$t.current()==">"&&Oe(Wt[oi[1]],oi[2]),Wn=l.getMode(st,fi),Un=ye(oi[1],!0),gi=ye(oi[1],!1);Ar.token=function(vr,kn){return vr.match(Un,!1)?(kn.token=Ot,kn.localState=kn.localMode=null,null):v(vr,gi,kn.localMode.token(vr,kn.localState))},Ar.localMode=Wn,Ar.localState=l.startState(Wn,St.indent(Ar.htmlState,"",""))}else Ar.inTag&&(Ar.inTag+=$t.current(),$t.eol()&&(Ar.inTag+=" "));return un}return{startState:function(){var $t=l.startState(St);return{token:Ot,inTag:null,localMode:null,localState:null,htmlState:$t}},copyState:function($t){var Ar;return $t.localState&&(Ar=l.copyState($t.localMode,$t.localState)),{token:$t.token,inTag:$t.inTag,localMode:$t.localMode,localState:Ar,htmlState:l.copyState(St,$t.htmlState)}},token:function($t,Ar){return Ar.token($t,Ar)},indent:function($t,Ar,un){return!$t.localMode||/^\s*<\//.test(Ar)?St.indent($t.htmlState,Ar,un):$t.localMode.indent?$t.localMode.indent($t.localState,Ar,un):l.Pass},innerMode:function($t){return{state:$t.localState||$t.htmlState,mode:$t.localMode||St}}}},"xml","javascript","css"),l.defineMIME("text/html","htmlmixed")})})();(function(s,c){(function(l){l(ql.exports,Dm.exports,ym.exports)})(function(l){function f(N,Y,le,ye){this.state=N,this.mode=Y,this.depth=le,this.prev=ye}function v(N){return new f(l.copyState(N.mode,N.state),N.mode,N.depth,N.prev&&v(N.prev))}l.defineMode("jsx",function(N,Y){var le=l.getMode(N,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),ye=l.getMode(N,Y&&Y.base||"javascript");function Me(St){var Wt=St.tagName;St.tagName=null;var Zt=le.indent(St,"","");return St.tagName=Wt,Zt}function Oe(St,Wt){return Wt.context.mode==le?st(St,Wt,Wt.context):mt(St,Wt,Wt.context)}function st(St,Wt,Zt){if(Zt.depth==2)return St.match(/^.*?\*\//)?Zt.depth=1:St.skipToEnd(),"comment";if(St.peek()=="{"){le.skipAttribute(Zt.state);var Jr=Me(Zt.state),bt=Zt.state.context;if(bt&&St.match(/^[^>]*>\s*$/,!1)){for(;bt.prev&&!bt.startOfLine;)bt=bt.prev;bt.startOfLine?Jr-=N.indentUnit:Zt.prev.state.lexical&&(Jr=Zt.prev.state.lexical.indented)}else Zt.depth==1&&(Jr+=N.indentUnit);return Wt.context=new f(l.startState(ye,Jr),ye,0,Wt.context),null}if(Zt.depth==1){if(St.peek()=="<")return le.skipAttribute(Zt.state),Wt.context=new f(l.startState(le,Me(Zt.state)),le,0,Wt.context),null;if(St.match("//"))return St.skipToEnd(),"comment";if(St.match("/*"))return Zt.depth=2,Oe(St,Wt)}var Ot=le.token(St,Zt.state),$t=St.current(),Ar;return/\btag\b/.test(Ot)?/>$/.test($t)?Zt.state.context?Zt.depth=0:Wt.context=Wt.context.prev:/^</.test($t)&&(Zt.depth=1):!Ot&&(Ar=$t.indexOf("{"))>-1&&St.backUp($t.length-Ar),Ot}function mt(St,Wt,Zt){if(St.peek()=="<"&&ye.expressionAllowed(St,Zt.state))return Wt.context=new f(l.startState(le,ye.indent(Zt.state,"","")),le,0,Wt.context),ye.skipExpression(Zt.state),null;var Jr=ye.token(St,Zt.state);if(!Jr&&Zt.depth!=null){var bt=St.current();bt=="{"?Zt.depth++:bt=="}"&&--Zt.depth==0&&(Wt.context=Wt.context.prev)}return Jr}return{startState:function(){return{context:new f(l.startState(ye),ye)}},copyState:function(St){return{context:v(St.context)}},token:Oe,indent:function(St,Wt,Zt){return St.context.mode.indent(St.context.state,Wt,Zt)},innerMode:function(St){return St.context}}},"xml","javascript"),l.defineMIME("text/jsx","jsx"),l.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})})();(function(s,c){(function(l){l(ql.exports)})(function(l){l.defineOption("placeholder","",function(Me,Oe,st){var mt=st&&st!=l.Init;if(Oe&&!mt)Me.on("blur",Y),Me.on("change",le),Me.on("swapDoc",le),l.on(Me.getInputField(),"compositionupdate",Me.state.placeholderCompose=function(){N(Me)}),le(Me);else if(!Oe&&mt){Me.off("blur",Y),Me.off("change",le),Me.off("swapDoc",le),l.off(Me.getInputField(),"compositionupdate",Me.state.placeholderCompose),f(Me);var St=Me.getWrapperElement();St.className=St.className.replace(" CodeMirror-empty","")}Oe&&!Me.hasFocus()&&Y(Me)});function f(Me){Me.state.placeholder&&(Me.state.placeholder.parentNode.removeChild(Me.state.placeholder),Me.state.placeholder=null)}function v(Me){f(Me);var Oe=Me.state.placeholder=document.createElement("pre");Oe.style.cssText="height: 0; overflow: visible",Oe.style.direction=Me.getOption("direction"),Oe.className="CodeMirror-placeholder CodeMirror-line-like";var st=Me.getOption("placeholder");typeof st=="string"&&(st=document.createTextNode(st)),Oe.appendChild(st),Me.display.lineSpace.insertBefore(Oe,Me.display.lineSpace.firstChild)}function N(Me){setTimeout(function(){var Oe=!1;if(Me.lineCount()==1){var st=Me.getInputField();Oe=st.nodeName=="TEXTAREA"?!Me.getLine(0).length:!/[^\u200b]/.test(st.querySelector(".CodeMirror-line").textContent)}Oe?v(Me):f(Me)},20)}function Y(Me){ye(Me)&&v(Me)}function le(Me){var Oe=Me.getWrapperElement(),st=ye(Me);Oe.className=Oe.className.replace(" CodeMirror-empty","")+(st?" CodeMirror-empty":""),st?v(Me):f(Me)}function ye(Me){return Me.lineCount()===1&&Me.getLine(0)===""}})})();(function(s,c){(function(l){l(ql.exports)})(function(l){var f="CodeMirror-hint",v="CodeMirror-hint-active";l.showHint=function(bt,Ot,$t){if(!Ot)return bt.showHint($t);$t&&$t.async&&(Ot.async=!0);var Ar={hint:Ot};if($t)for(var un in $t)Ar[un]=$t[un];return bt.showHint(Ar)},l.defineExtension("showHint",function(bt){bt=ye(this,this.getCursor("start"),bt);var Ot=this.listSelections();if(!(Ot.length>1)){if(this.somethingSelected()){if(!bt.hint.supportsSelection)return;for(var $t=0;$t<Ot.length;$t++)if(Ot[$t].head.line!=Ot[$t].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var Ar=this.state.completionActive=new N(this,bt);!Ar.options.hint||(l.signal(this,"startCompletion",this),Ar.update(!0))}}),l.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function N(bt,Ot){if(this.cm=bt,this.options=Ot,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 $t=this;bt.on("cursorActivity",this.activityFunc=function(){$t.cursorActivity()})}}var Y=window.requestAnimationFrame||function(bt){return setTimeout(bt,1e3/60)},le=window.cancelAnimationFrame||clearTimeout;N.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(bt,Ot){var $t=bt.list[Ot],Ar=this;this.cm.operation(function(){$t.hint?$t.hint(Ar.cm,bt,$t):Ar.cm.replaceRange(Me($t),$t.from||bt.from,$t.to||bt.to,"complete"),l.signal(bt,"pick",$t),Ar.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(le(this.debounce),this.debounce=0);var bt=this.startPos;this.data&&(bt=this.data.from);var Ot=this.cm.getCursor(),$t=this.cm.getLine(Ot.line);if(Ot.line!=this.startPos.line||$t.length-Ot.ch!=this.startLen-this.startPos.ch||Ot.ch<bt.ch||this.cm.somethingSelected()||!Ot.ch||this.options.closeCharacters.test($t.charAt(Ot.ch-1)))this.close();else{var Ar=this;this.debounce=Y(function(){Ar.update()}),this.widget&&this.widget.disable()}},update:function(bt){if(this.tick!=null){var Ot=this,$t=++this.tick;Wt(this.options.hint,this.cm,this.options,function(Ar){Ot.tick==$t&&Ot.finishUpdate(Ar,bt)})}},finishUpdate:function(bt,Ot){this.data&&l.signal(this.data,"update");var $t=this.widget&&this.widget.picked||Ot&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=bt,bt&&bt.list.length&&($t&&bt.list.length==1?this.pick(bt,0):(this.widget=new mt(this,bt),l.signal(bt,"shown")))}};function ye(bt,Ot,$t){var Ar=bt.options.hintOptions,un={};for(var Kn in Jr)un[Kn]=Jr[Kn];if(Ar)for(var Kn in Ar)Ar[Kn]!==void 0&&(un[Kn]=Ar[Kn]);if($t)for(var Kn in $t)$t[Kn]!==void 0&&(un[Kn]=$t[Kn]);return un.hint.resolve&&(un.hint=un.hint.resolve(bt,Ot)),un}function Me(bt){return typeof bt=="string"?bt:bt.text}function Oe(bt,Ot){var $t={Up:function(){Ot.moveFocus(-1)},Down:function(){Ot.moveFocus(1)},PageUp:function(){Ot.moveFocus(-Ot.menuSize()+1,!0)},PageDown:function(){Ot.moveFocus(Ot.menuSize()-1,!0)},Home:function(){Ot.setFocus(0)},End:function(){Ot.setFocus(Ot.length-1)},Enter:Ot.pick,Tab:Ot.pick,Esc:Ot.close},Ar=/Mac/.test(navigator.platform);Ar&&($t["Ctrl-P"]=function(){Ot.moveFocus(-1)},$t["Ctrl-N"]=function(){Ot.moveFocus(1)});var un=bt.options.customKeys,Kn=un?{}:$t;function bn(Wn,Un){var gi;typeof Un!="string"?gi=function(vr){return Un(vr,Ot)}:$t.hasOwnProperty(Un)?gi=$t[Un]:gi=Un,Kn[Wn]=gi}if(un)for(var oi in un)un.hasOwnProperty(oi)&&bn(oi,un[oi]);var fi=bt.options.extraKeys;if(fi)for(var oi in fi)fi.hasOwnProperty(oi)&&bn(oi,fi[oi]);return Kn}function st(bt,Ot){for(;Ot&&Ot!=bt;){if(Ot.nodeName.toUpperCase()==="LI"&&Ot.parentNode==bt)return Ot;Ot=Ot.parentNode}}function mt(bt,Ot){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=bt,this.data=Ot,this.picked=!1;var $t=this,Ar=bt.cm,un=Ar.getInputField().ownerDocument,Kn=un.defaultView||un.parentWindow,bn=this.hints=un.createElement("ul");bn.setAttribute("role","listbox"),bn.setAttribute("aria-expanded","true"),bn.id=this.id;var oi=bt.cm.options.theme;bn.className="CodeMirror-hints "+oi,this.selectedHint=Ot.selectedHint||0;for(var fi=Ot.list,Wn=0;Wn<fi.length;++Wn){var Un=bn.appendChild(un.createElement("li")),gi=fi[Wn],vr=f+(Wn!=this.selectedHint?"":" "+v);gi.className!=null&&(vr=gi.className+" "+vr),Un.className=vr,Wn==this.selectedHint&&Un.setAttribute("aria-selected","true"),Un.id=this.id+"-"+Wn,Un.setAttribute("role","option"),gi.render?gi.render(Un,Ot,gi):Un.appendChild(un.createTextNode(gi.displayText||Me(gi))),Un.hintId=Wn}var kn=bt.options.container||un.body,Te=Ar.cursorCoords(bt.options.alignWithWord?Ot.from:null),nn=Te.left,cr=Te.bottom,Pn=!0,ii=0,Zi=0;if(kn!==un.body){var gs=["absolute","relative","fixed"].indexOf(Kn.getComputedStyle(kn).position)!==-1,As=gs?kn:kn.offsetParent,ps=As.getBoundingClientRect(),hs=un.body.getBoundingClientRect();ii=ps.left-hs.left-As.scrollLeft,Zi=ps.top-hs.top-As.scrollTop}bn.style.left=nn-ii+"px",bn.style.top=cr-Zi+"px";var zr=Kn.innerWidth||Math.max(un.body.offsetWidth,un.documentElement.offsetWidth),$r=Kn.innerHeight||Math.max(un.body.offsetHeight,un.documentElement.offsetHeight);kn.appendChild(bn),Ar.getInputField().setAttribute("aria-autocomplete","list"),Ar.getInputField().setAttribute("aria-owns",this.id),Ar.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var Cr=bt.options.moveOnOverlap?bn.getBoundingClientRect():new DOMRect,mn=bt.options.paddingForScrollbar?bn.scrollHeight>bn.clientHeight+1:!1,Vn;setTimeout(function(){Vn=Ar.getScrollInfo()});var di=Cr.bottom-$r;if(di>0){var Rn=Cr.bottom-Cr.top,Je=Cr.top-(Te.bottom-Te.top)-2;$r-Cr.top<Je?(Rn>Je&&(bn.style.height=(Rn=Je)+"px"),bn.style.top=(cr=Te.top-Rn)+Zi+"px",Pn=!1):bn.style.height=$r-Cr.top-2+"px"}var Tt=Cr.right-zr;if(mn&&(Tt+=Ar.display.nativeBarWidth),Tt>0&&(Cr.right-Cr.left>zr&&(bn.style.width=zr-5+"px",Tt-=Cr.right-Cr.left-zr),bn.style.left=(nn=Math.max(Te.left-Tt-ii,0))+"px"),mn)for(var Nr=bn.firstChild;Nr;Nr=Nr.nextSibling)Nr.style.paddingRight=Ar.display.nativeBarWidth+"px";if(Ar.addKeyMap(this.keyMap=Oe(bt,{moveFocus:function(on,Qr){$t.changeActive($t.selectedHint+on,Qr)},setFocus:function(on){$t.changeActive(on)},menuSize:function(){return $t.screenAmount()},length:fi.length,close:function(){bt.close()},pick:function(){$t.pick()},data:Ot})),bt.options.closeOnUnfocus){var Vr;Ar.on("blur",this.onBlur=function(){Vr=setTimeout(function(){bt.close()},100)}),Ar.on("focus",this.onFocus=function(){clearTimeout(Vr)})}Ar.on("scroll",this.onScroll=function(){var on=Ar.getScrollInfo(),Qr=Ar.getWrapperElement().getBoundingClientRect();Vn||(Vn=Ar.getScrollInfo());var gn=cr+Vn.top-on.top,zn=gn-(Kn.pageYOffset||(un.documentElement||un.body).scrollTop);if(Pn||(zn+=bn.offsetHeight),zn<=Qr.top||zn>=Qr.bottom)return bt.close();bn.style.top=gn+"px",bn.style.left=nn+Vn.left-on.left+"px"}),l.on(bn,"dblclick",function(on){var Qr=st(bn,on.target||on.srcElement);Qr&&Qr.hintId!=null&&($t.changeActive(Qr.hintId),$t.pick())}),l.on(bn,"click",function(on){var Qr=st(bn,on.target||on.srcElement);Qr&&Qr.hintId!=null&&($t.changeActive(Qr.hintId),bt.options.completeOnSingleClick&&$t.pick())}),l.on(bn,"mousedown",function(){setTimeout(function(){Ar.focus()},20)});var _r=this.getSelectedHintRange();return(_r.from!==0||_r.to!==0)&&this.scrollToActive(),l.signal(Ot,"select",fi[this.selectedHint],bn.childNodes[this.selectedHint]),!0}mt.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var bt=this.completion.cm.getInputField();bt.removeAttribute("aria-activedescendant"),bt.removeAttribute("aria-owns");var Ot=this.completion.cm;this.completion.options.closeOnUnfocus&&(Ot.off("blur",this.onBlur),Ot.off("focus",this.onFocus)),Ot.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var bt=this;this.keyMap={Enter:function(){bt.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(bt,Ot){if(bt>=this.data.list.length?bt=Ot?this.data.list.length-1:0:bt<0&&(bt=Ot?0:this.data.list.length-1),this.selectedHint!=bt){var $t=this.hints.childNodes[this.selectedHint];$t&&($t.className=$t.className.replace(" "+v,""),$t.removeAttribute("aria-selected")),$t=this.hints.childNodes[this.selectedHint=bt],$t.className+=" "+v,$t.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",$t.id),this.scrollToActive(),l.signal(this.data,"select",this.data.list[this.selectedHint],$t)}},scrollToActive:function(){var bt=this.getSelectedHintRange(),Ot=this.hints.childNodes[bt.from],$t=this.hints.childNodes[bt.to],Ar=this.hints.firstChild;Ot.offsetTop<this.hints.scrollTop?this.hints.scrollTop=Ot.offsetTop-Ar.offsetTop:$t.offsetTop+$t.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=$t.offsetTop+$t.offsetHeight-this.hints.clientHeight+Ar.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var bt=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-bt),to:Math.min(this.data.list.length-1,this.selectedHint+bt)}}};function St(bt,Ot){if(!bt.somethingSelected())return Ot;for(var $t=[],Ar=0;Ar<Ot.length;Ar++)Ot[Ar].supportsSelection&&$t.push(Ot[Ar]);return $t}function Wt(bt,Ot,$t,Ar){if(bt.async)bt(Ot,Ar,$t);else{var un=bt(Ot,$t);un&&un.then?un.then(Ar):Ar(un)}}function Zt(bt,Ot){var $t=bt.getHelpers(Ot,"hint"),Ar;if($t.length){var un=function(Kn,bn,oi){var fi=St(Kn,$t);function Wn(Un){if(Un==fi.length)return bn(null);Wt(fi[Un],Kn,oi,function(gi){gi&&gi.list.length>0?bn(gi):Wn(Un+1)})}Wn(0)};return un.async=!0,un.supportsSelection=!0,un}else return(Ar=bt.getHelper(bt.getCursor(),"hintWords"))?function(Kn){return l.hint.fromList(Kn,{words:Ar})}:l.hint.anyword?function(Kn,bn){return l.hint.anyword(Kn,bn)}:function(){}}l.registerHelper("hint","auto",{resolve:Zt}),l.registerHelper("hint","fromList",function(bt,Ot){var $t=bt.getCursor(),Ar=bt.getTokenAt($t),un,Kn=l.Pos($t.line,Ar.start),bn=$t;Ar.start<$t.ch&&/\w/.test(Ar.string.charAt($t.ch-Ar.start-1))?un=Ar.string.substr(0,$t.ch-Ar.start):(un="",Kn=$t);for(var oi=[],fi=0;fi<Ot.words.length;fi++){var Wn=Ot.words[fi];Wn.slice(0,un.length)==un&&oi.push(Wn)}if(oi.length)return{list:oi,from:Kn,to:bn}}),l.commands.autocomplete=l.showHint;var Jr={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 SD(s,c,l={}){const f=wD.fromTextArea(s.value,{theme:"vars",...bs(l)});Ya(l,N=>Object.entries(N).forEach(([Y,le])=>f.setOption(Y,le)));let v=!1;return f.on("change",()=>{if(v){v=!1;return}c.value=f.getValue()}),Ya(c,N=>{if(N!==f.getValue()){v=!0;const Y=f.listSelections();f.replaceRange(N,f.posFromIndex(0),f.posFromIndex(1/0)),f.setSelections(Y)}},{immediate:!0}),f}const FD={relative:"","font-mono":"","text-sm":""},kD=Zu({__name:"CodeMirror",props:{modelValue:null,mode:null,readOnly:{type:Boolean},matched:null,getHint:null},emits:["update:modelValue"],setup(s,{emit:c}){const l=s,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=Ba(),N=vD(l,"modelValue",c,{passive:!0}),Y=Zs(()=>f[l.mode||""]||l.mode),le=Zs(()=>l.getHint?{"Ctrl-Space":"autocomplete","Ctrl-.":"autocomplete","Cmd-Space":"autocomplete","Cmd-.":"autocomplete",Tab:"autocomplete"}:{}),ye=Zs(()=>l.getHint?{hint:l.getHint}:{});return _h(async()=>{const Me=SD(v,N,Nc({...Og(l),mode:Y,hintOptions:ye,extraKeys:le}));Me.setSize("100%","100%"),l.getHint&&Me.on("keyup",(Wt,Zt)=>{Zt.key.match(/^[\w:-]$/)&&Wt.execCommand("autocomplete")}),setTimeout(()=>Me.refresh(),100);const Oe=[];function st(Wt,Zt){Oe.push(Me.markText(Me.posFromIndex(Wt),Me.posFromIndex(Zt),{className:"highlighted"}))}function mt(){Oe.forEach(Wt=>Wt.clear()),AD(l.modelValue,Array.from(l.matched||[]),!0).forEach(Wt=>st(Wt[0],Wt[1]))}let St=0;Ya(()=>[l.modelValue,l.matched],async()=>{clearTimeout(St),l.matched&&(St=setTimeout(mt,200))},{immediate:!0})}),(Me,Oe)=>(ya(),uo("div",FD,[Gi("textarea",{ref_key:"el",ref:v},null,512)]))}});const vm=(s,c)=>{const l=s.__vccOpts||s;for(const[f,v]of c)l[f]=v;return l},PD={},ND={"bg-gray4:10":"","p-5":"",b:"b main",text:"sm gray5 dark:gray3"};function BD(s,c){return ya(),uo("div",ND,[xp(s.$slots,"default")])}const _D=vm(PD,[["render",BD]]),ID={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":""},OD={"mr-2":"","op-60":""},LD={flex:"","gap-2":"","flex-auto":""},MD=Zu({__name:"TitleBar",props:{title:null},emits:["titleClick"],setup(s,{emit:c}){return(l,f)=>(ya(),uo("div",ID,[Gi("div",{flex:"",onClick:f[0]||(f[0]=v=>c("titleClick",v))},[xp(l.$slots,"before"),Gi("div",OD,ko(s.title),1)]),Gi("div",LD,[xp(l.$slots,"default")])]))}}),jD="/@vite/client",xm=qc(),Cm=qc(),RD=xm.on,Em=Cm.on;yh(()=>import(jD),[]).then(s=>{const c=s.createHotContext("/");c.on("vite:beforeUpdate",l=>{l.updates.forEach(f=>{xm.trigger(f)})}),c.on("unocss:config-changed",()=>{Cm.trigger()})}).catch(s=>{console.error("failed to connect to client vite server, you might need to do manual refresh to see the updates"),console.error(s)});const Hp="/__unocss_api",bm=Up(Hp).json(),Uh=Up(`${Hp}/overview`,{immediate:!1}).json(),ro=bm.data,up=Uh.data;Em(()=>{bm.execute(),Uh.execute()});function hx(s){const c=Up(Zs(()=>`${Hp}/module?id=${encodeURIComponent(bs(s))}`),{refetch:!0}).json();return Em(()=>c.execute()),RD(l=>{var f;(l.path===bs(s)||l.path===bs(s).slice(((f=ro.value)==null?void 0:f.root.length)||0))&&setTimeout(()=>{c.execute()},50)}),c}function fx(s,c){const l=Cy(s,500);return Up(Zs(()=>`${Hp}/repl?token=${encodeURIComponent(l.value)}&safelist=${c.value}`),{refetch:!0}).json()}const lp=Zs(()=>{if(!ro.value)return{workspace:{children:{},items:[]},root:{children:{},items:[]}};const s=ro.value.modules.map(f=>({full:f,path:f})),c=s.filter(f=>f.full.startsWith(ro.value.root)),l=s.filter(f=>!f.full.startsWith(ro.value.root));return c.forEach(f=>f.path=f.path.slice(ro.value.root.length+1)),{workspace:$f(c,"Project Root"),root:$f(l,"Disk Root")}});function $f(s,c){const l={name:c,children:{},items:[]};function f(v,N,Y=l){if(N.length<=1){Y.items.push(v);return}const le=N.shift();Y.children[le]||(Y.children[le]={name:le,children:{},items:[]}),f(v,N,Y.children[le])}return s.forEach(v=>{const N=v.path.split(/\//g).filter(Boolean);f(v,N)}),l}const UD={key:0,"ws-wrap":""},zD=Gi("span",{op80:""},".",-1),HD={key:1},$D=Zu({__name:"ModuleId",props:{id:null},setup(s){return(c,l)=>s.id&&bs(ro)?(ya(),uo("span",UD,[s.id.startsWith(bs(ro).root)?(ya(),uo(eu,{key:0},[zD,Gi("span",null,ko(s.id.slice(bs(ro).root.length)),1)],64)):(ya(),uo("span",HD,ko(s.id),1))])):Ap("",!0)}}),qD=(s,c)=>{const l=Ba(null);return oD(s,()=>{var v;const f=(v=Rh(s))==null?void 0:v.clientHeight;l.value=f?`--${c}: calc(100vh - ${f}px - 2px);`:null}),l};var Am={exports:{}};(function(s,c){(function(l){s.exports=l()})(function(){var l=(_e,pe)=>()=>(pe||_e((pe={exports:{}}).exports,pe),pe.exports),f=l((_e,pe)=>{var me=function(be){return be&&be.Math==Math&&be};pe.exports=me(typeof globalThis=="object"&&globalThis)||me(typeof window=="object"&&window)||me(typeof self=="object"&&self)||me(typeof Hl=="object"&&Hl)||function(){return this}()||Function("return this")()}),v=l((_e,pe)=>{pe.exports=function(me){try{return!!me()}catch{return!0}}}),N=l((_e,pe)=>{var me=v();pe.exports=!me(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),Y=l((_e,pe)=>{var me=v();pe.exports=!me(function(){var be=function(){}.bind();return typeof be!="function"||be.hasOwnProperty("prototype")})}),le=l((_e,pe)=>{var me=Y(),be=Function.prototype.call;pe.exports=me?be.bind(be):function(){return be.apply(be,arguments)}}),ye=l(_e=>{var pe={}.propertyIsEnumerable,me=Object.getOwnPropertyDescriptor,be=me&&!pe.call({1:2},1);_e.f=be?function(Ee){var ze=me(this,Ee);return!!ze&&ze.enumerable}:pe}),Me=l((_e,pe)=>{pe.exports=function(me,be){return{enumerable:!(me&1),configurable:!(me&2),writable:!(me&4),value:be}}}),Oe=l((_e,pe)=>{var me=Y(),be=Function.prototype,Ee=be.bind,ze=be.call,Qe=me&&Ee.bind(ze,ze);pe.exports=me?function(ut){return ut&&Qe(ut)}:function(ut){return ut&&function(){return ze.apply(ut,arguments)}}}),st=l((_e,pe)=>{var me=Oe(),be=me({}.toString),Ee=me("".slice);pe.exports=function(ze){return Ee(be(ze),8,-1)}}),mt=l((_e,pe)=>{var me=f(),be=Oe(),Ee=v(),ze=st(),Qe=me.Object,ut=be("".split);pe.exports=Ee(function(){return!Qe("z").propertyIsEnumerable(0)})?function(xt){return ze(xt)=="String"?ut(xt,""):Qe(xt)}:Qe}),St=l((_e,pe)=>{var me=f(),be=me.TypeError;pe.exports=function(Ee){if(Ee==null)throw be("Can't call method on "+Ee);return Ee}}),Wt=l((_e,pe)=>{var me=mt(),be=St();pe.exports=function(Ee){return me(be(Ee))}}),Zt=l((_e,pe)=>{pe.exports=function(me){return typeof me=="function"}}),Jr=l((_e,pe)=>{var me=Zt();pe.exports=function(be){return typeof be=="object"?be!==null:me(be)}}),bt=l((_e,pe)=>{var me=f(),be=Zt(),Ee=function(ze){return be(ze)?ze:void 0};pe.exports=function(ze,Qe){return arguments.length<2?Ee(me[ze]):me[ze]&&me[ze][Qe]}}),Ot=l((_e,pe)=>{var me=Oe();pe.exports=me({}.isPrototypeOf)}),$t=l((_e,pe)=>{var me=bt();pe.exports=me("navigator","userAgent")||""}),Ar=l((_e,pe)=>{var me=f(),be=$t(),Ee=me.process,ze=me.Deno,Qe=Ee&&Ee.versions||ze&&ze.version,ut=Qe&&Qe.v8,xt,Kt;ut&&(xt=ut.split("."),Kt=xt[0]>0&&xt[0]<4?1:+(xt[0]+xt[1])),!Kt&&be&&(xt=be.match(/Edge\/(\d+)/),(!xt||xt[1]>=74)&&(xt=be.match(/Chrome\/(\d+)/),xt&&(Kt=+xt[1]))),pe.exports=Kt}),un=l((_e,pe)=>{var me=Ar(),be=v();pe.exports=!!Object.getOwnPropertySymbols&&!be(function(){var Ee=Symbol();return!String(Ee)||!(Object(Ee)instanceof Symbol)||!Symbol.sham&&me&&me<41})}),Kn=l((_e,pe)=>{var me=un();pe.exports=me&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),bn=l((_e,pe)=>{var me=f(),be=bt(),Ee=Zt(),ze=Ot(),Qe=Kn(),ut=me.Object;pe.exports=Qe?function(xt){return typeof xt=="symbol"}:function(xt){var Kt=be("Symbol");return Ee(Kt)&&ze(Kt.prototype,ut(xt))}}),oi=l((_e,pe)=>{var me=f(),be=me.String;pe.exports=function(Ee){try{return be(Ee)}catch{return"Object"}}}),fi=l((_e,pe)=>{var me=f(),be=Zt(),Ee=oi(),ze=me.TypeError;pe.exports=function(Qe){if(be(Qe))return Qe;throw ze(Ee(Qe)+" is not a function")}}),Wn=l((_e,pe)=>{var me=fi();pe.exports=function(be,Ee){var ze=be[Ee];return ze==null?void 0:me(ze)}}),Un=l((_e,pe)=>{var me=f(),be=le(),Ee=Zt(),ze=Jr(),Qe=me.TypeError;pe.exports=function(ut,xt){var Kt,or;if(xt==="string"&&Ee(Kt=ut.toString)&&!ze(or=be(Kt,ut))||Ee(Kt=ut.valueOf)&&!ze(or=be(Kt,ut))||xt!=="string"&&Ee(Kt=ut.toString)&&!ze(or=be(Kt,ut)))return or;throw Qe("Can't convert object to primitive value")}}),gi=l((_e,pe)=>{pe.exports=!1}),vr=l((_e,pe)=>{var me=f(),be=Object.defineProperty;pe.exports=function(Ee,ze){try{be(me,Ee,{value:ze,configurable:!0,writable:!0})}catch{me[Ee]=ze}return ze}}),kn=l((_e,pe)=>{var me=f(),be=vr(),Ee="__core-js_shared__",ze=me[Ee]||be(Ee,{});pe.exports=ze}),Te=l((_e,pe)=>{var me=gi(),be=kn();(pe.exports=function(Ee,ze){return be[Ee]||(be[Ee]=ze!==void 0?ze:{})})("versions",[]).push({version:"3.22.2",mode:me?"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"})}),nn=l((_e,pe)=>{var me=f(),be=St(),Ee=me.Object;pe.exports=function(ze){return Ee(be(ze))}}),cr=l((_e,pe)=>{var me=Oe(),be=nn(),Ee=me({}.hasOwnProperty);pe.exports=Object.hasOwn||function(ze,Qe){return Ee(be(ze),Qe)}}),Pn=l((_e,pe)=>{var me=Oe(),be=0,Ee=Math.random(),ze=me(1 .toString);pe.exports=function(Qe){return"Symbol("+(Qe===void 0?"":Qe)+")_"+ze(++be+Ee,36)}}),ii=l((_e,pe)=>{var me=f(),be=Te(),Ee=cr(),ze=Pn(),Qe=un(),ut=Kn(),xt=be("wks"),Kt=me.Symbol,or=Kt&&Kt.for,xr=ut?Kt:Kt&&Kt.withoutSetter||ze;pe.exports=function(Ir){if(!Ee(xt,Ir)||!(Qe||typeof xt[Ir]=="string")){var rn="Symbol."+Ir;Qe&&Ee(Kt,Ir)?xt[Ir]=Kt[Ir]:ut&&or?xt[Ir]=or(rn):xt[Ir]=xr(rn)}return xt[Ir]}}),Zi=l((_e,pe)=>{var me=f(),be=le(),Ee=Jr(),ze=bn(),Qe=Wn(),ut=Un(),xt=ii(),Kt=me.TypeError,or=xt("toPrimitive");pe.exports=function(xr,Ir){if(!Ee(xr)||ze(xr))return xr;var rn=Qe(xr,or),an;if(rn){if(Ir===void 0&&(Ir="default"),an=be(rn,xr,Ir),!Ee(an)||ze(an))return an;throw Kt("Can't convert object to primitive value")}return Ir===void 0&&(Ir="number"),ut(xr,Ir)}}),gs=l((_e,pe)=>{var me=Zi(),be=bn();pe.exports=function(Ee){var ze=me(Ee,"string");return be(ze)?ze:ze+""}}),As=l((_e,pe)=>{var me=f(),be=Jr(),Ee=me.document,ze=be(Ee)&&be(Ee.createElement);pe.exports=function(Qe){return ze?Ee.createElement(Qe):{}}}),ps=l((_e,pe)=>{var me=N(),be=v(),Ee=As();pe.exports=!me&&!be(function(){return Object.defineProperty(Ee("div"),"a",{get:function(){return 7}}).a!=7})}),hs=l(_e=>{var pe=N(),me=le(),be=ye(),Ee=Me(),ze=Wt(),Qe=gs(),ut=cr(),xt=ps(),Kt=Object.getOwnPropertyDescriptor;_e.f=pe?Kt:function(or,xr){if(or=ze(or),xr=Qe(xr),xt)try{return Kt(or,xr)}catch{}if(ut(or,xr))return Ee(!me(be.f,or,xr),or[xr])}}),zr=l((_e,pe)=>{var me=N(),be=v();pe.exports=me&&be(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),$r=l((_e,pe)=>{var me=f(),be=Jr(),Ee=me.String,ze=me.TypeError;pe.exports=function(Qe){if(be(Qe))return Qe;throw ze(Ee(Qe)+" is not an object")}}),Cr=l(_e=>{var pe=f(),me=N(),be=ps(),Ee=zr(),ze=$r(),Qe=gs(),ut=pe.TypeError,xt=Object.defineProperty,Kt=Object.getOwnPropertyDescriptor,or="enumerable",xr="configurable",Ir="writable";_e.f=me?Ee?function(rn,an,Pr){if(ze(rn),an=Qe(an),ze(Pr),typeof rn=="function"&&an==="prototype"&&"value"in Pr&&Ir in Pr&&!Pr[Ir]){var Nn=Kt(rn,an);Nn&&Nn[Ir]&&(rn[an]=Pr.value,Pr={configurable:xr in Pr?Pr[xr]:Nn[xr],enumerable:or in Pr?Pr[or]:Nn[or],writable:!1})}return xt(rn,an,Pr)}:xt:function(rn,an,Pr){if(ze(rn),an=Qe(an),ze(Pr),be)try{return xt(rn,an,Pr)}catch{}if("get"in Pr||"set"in Pr)throw ut("Accessors not supported");return"value"in Pr&&(rn[an]=Pr.value),rn}}),mn=l((_e,pe)=>{var me=N(),be=Cr(),Ee=Me();pe.exports=me?function(ze,Qe,ut){return be.f(ze,Qe,Ee(1,ut))}:function(ze,Qe,ut){return ze[Qe]=ut,ze}}),Vn=l((_e,pe)=>{var me=Oe(),be=Zt(),Ee=kn(),ze=me(Function.toString);be(Ee.inspectSource)||(Ee.inspectSource=function(Qe){return ze(Qe)}),pe.exports=Ee.inspectSource}),di=l((_e,pe)=>{var me=f(),be=Zt(),Ee=Vn(),ze=me.WeakMap;pe.exports=be(ze)&&/native code/.test(Ee(ze))}),Rn=l((_e,pe)=>{var me=Te(),be=Pn(),Ee=me("keys");pe.exports=function(ze){return Ee[ze]||(Ee[ze]=be(ze))}}),Je=l((_e,pe)=>{pe.exports={}}),Tt=l((_e,pe)=>{var me=di(),be=f(),Ee=Oe(),ze=Jr(),Qe=mn(),ut=cr(),xt=kn(),Kt=Rn(),or=Je(),xr="Object already initialized",Ir=be.TypeError,rn=be.WeakMap,an,Pr,Nn,pi=function(Ti){return Nn(Ti)?Pr(Ti):an(Ti,{})},En=function(Ti){return function(Xi){var Yn;if(!ze(Xi)||(Yn=Pr(Xi)).type!==Ti)throw Ir("Incompatible receiver, "+Ti+" required");return Yn}};me||xt.state?(Hi=xt.state||(xt.state=new rn),es=Ee(Hi.get),ft=Ee(Hi.has),qi=Ee(Hi.set),an=function(Ti,Xi){if(ft(Hi,Ti))throw new Ir(xr);return Xi.facade=Ti,qi(Hi,Ti,Xi),Xi},Pr=function(Ti){return es(Hi,Ti)||{}},Nn=function(Ti){return ft(Hi,Ti)}):(hn=Kt("state"),or[hn]=!0,an=function(Ti,Xi){if(ut(Ti,hn))throw new Ir(xr);return Xi.facade=Ti,Qe(Ti,hn,Xi),Xi},Pr=function(Ti){return ut(Ti,hn)?Ti[hn]:{}},Nn=function(Ti){return ut(Ti,hn)});var Hi,es,ft,qi,hn;pe.exports={set:an,get:Pr,has:Nn,enforce:pi,getterFor:En}}),Nr=l((_e,pe)=>{var me=N(),be=cr(),Ee=Function.prototype,ze=me&&Object.getOwnPropertyDescriptor,Qe=be(Ee,"name"),ut=Qe&&function(){}.name==="something",xt=Qe&&(!me||me&&ze(Ee,"name").configurable);pe.exports={EXISTS:Qe,PROPER:ut,CONFIGURABLE:xt}}),Vr=l((_e,pe)=>{var me=f(),be=Zt(),Ee=cr(),ze=mn(),Qe=vr(),ut=Vn(),xt=Tt(),Kt=Nr().CONFIGURABLE,or=xt.get,xr=xt.enforce,Ir=String(String).split("String");(pe.exports=function(rn,an,Pr,Nn){var pi=Nn?!!Nn.unsafe:!1,En=Nn?!!Nn.enumerable:!1,Hi=Nn?!!Nn.noTargetGet:!1,es=Nn&&Nn.name!==void 0?Nn.name:an,ft;if(be(Pr)&&(String(es).slice(0,7)==="Symbol("&&(es="["+String(es).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Ee(Pr,"name")||Kt&&Pr.name!==es)&&ze(Pr,"name",es),ft=xr(Pr),ft.source||(ft.source=Ir.join(typeof es=="string"?es:""))),rn===me){En?rn[an]=Pr:Qe(an,Pr);return}else pi?!Hi&&rn[an]&&(En=!0):delete rn[an];En?rn[an]=Pr:ze(rn,an,Pr)})(Function.prototype,"toString",function(){return be(this)&&or(this).source||ut(this)})}),_r=l((_e,pe)=>{var me=Math.ceil,be=Math.floor;pe.exports=function(Ee){var ze=+Ee;return ze!==ze||ze===0?0:(ze>0?be:me)(ze)}}),on=l((_e,pe)=>{var me=_r(),be=Math.max,Ee=Math.min;pe.exports=function(ze,Qe){var ut=me(ze);return ut<0?be(ut+Qe,0):Ee(ut,Qe)}}),Qr=l((_e,pe)=>{var me=_r(),be=Math.min;pe.exports=function(Ee){return Ee>0?be(me(Ee),9007199254740991):0}}),gn=l((_e,pe)=>{var me=Qr();pe.exports=function(be){return me(be.length)}}),zn=l((_e,pe)=>{var me=Wt(),be=on(),Ee=gn(),ze=function(Qe){return function(ut,xt,Kt){var or=me(ut),xr=Ee(or),Ir=be(Kt,xr),rn;if(Qe&&xt!=xt){for(;xr>Ir;)if(rn=or[Ir++],rn!=rn)return!0}else for(;xr>Ir;Ir++)if((Qe||Ir in or)&&or[Ir]===xt)return Qe||Ir||0;return!Qe&&-1}};pe.exports={includes:ze(!0),indexOf:ze(!1)}}),Zr=l((_e,pe)=>{var me=Oe(),be=cr(),Ee=Wt(),ze=zn().indexOf,Qe=Je(),ut=me([].push);pe.exports=function(xt,Kt){var or=Ee(xt),xr=0,Ir=[],rn;for(rn in or)!be(Qe,rn)&&be(or,rn)&&ut(Ir,rn);for(;Kt.length>xr;)be(or,rn=Kt[xr++])&&(~ze(Ir,rn)||ut(Ir,rn));return Ir}}),Ft=l((_e,pe)=>{pe.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),Dr=l(_e=>{var pe=Zr(),me=Ft(),be=me.concat("length","prototype");_e.f=Object.getOwnPropertyNames||function(Ee){return pe(Ee,be)}}),qt=l(_e=>{_e.f=Object.getOwnPropertySymbols}),Gn=l((_e,pe)=>{var me=bt(),be=Oe(),Ee=Dr(),ze=qt(),Qe=$r(),ut=be([].concat);pe.exports=me("Reflect","ownKeys")||function(xt){var Kt=Ee.f(Qe(xt)),or=ze.f;return or?ut(Kt,or(xt)):Kt}}),Ni=l((_e,pe)=>{var me=cr(),be=Gn(),Ee=hs(),ze=Cr();pe.exports=function(Qe,ut,xt){for(var Kt=be(ut),or=ze.f,xr=Ee.f,Ir=0;Ir<Kt.length;Ir++){var rn=Kt[Ir];!me(Qe,rn)&&!(xt&&me(xt,rn))&&or(Qe,rn,xr(ut,rn))}}}),ws=l((_e,pe)=>{var me=v(),be=Zt(),Ee=/#|\.prototype\./,ze=function(or,xr){var Ir=ut[Qe(or)];return Ir==Kt?!0:Ir==xt?!1:be(xr)?me(xr):!!xr},Qe=ze.normalize=function(or){return String(or).replace(Ee,".").toLowerCase()},ut=ze.data={},xt=ze.NATIVE="N",Kt=ze.POLYFILL="P";pe.exports=ze}),os=l((_e,pe)=>{var me=f(),be=hs().f,Ee=mn(),ze=Vr(),Qe=vr(),ut=Ni(),xt=ws();pe.exports=function(Kt,or){var xr=Kt.target,Ir=Kt.global,rn=Kt.stat,an,Pr,Nn,pi,En,Hi;if(Ir?Pr=me:rn?Pr=me[xr]||Qe(xr,{}):Pr=(me[xr]||{}).prototype,Pr)for(Nn in or){if(En=or[Nn],Kt.noTargetGet?(Hi=be(Pr,Nn),pi=Hi&&Hi.value):pi=Pr[Nn],an=xt(Ir?Nn:xr+(rn?".":"#")+Nn,Kt.forced),!an&&pi!==void 0){if(typeof En==typeof pi)continue;ut(En,pi)}(Kt.sham||pi&&pi.sham)&&Ee(En,"sham",!0),ze(Pr,Nn,En,Kt)}}}),Fs=l((_e,pe)=>{var me=st();pe.exports=Array.isArray||function(be){return me(be)=="Array"}}),ys=l((_e,pe)=>{var me=Oe(),be=fi(),Ee=Y(),ze=me(me.bind);pe.exports=function(Qe,ut){return be(Qe),ut===void 0?Qe:Ee?ze(Qe,ut):function(){return Qe.apply(ut,arguments)}}}),pa=l((_e,pe)=>{var me=f(),be=Fs(),Ee=gn(),ze=ys(),Qe=me.TypeError,ut=function(xt,Kt,or,xr,Ir,rn,an,Pr){for(var Nn=Ir,pi=0,En=an?ze(an,Pr):!1,Hi,es;pi<xr;){if(pi in or){if(Hi=En?En(or[pi],pi,Kt):or[pi],rn>0&&be(Hi))es=Ee(Hi),Nn=ut(xt,Kt,Hi,es,Nn,rn-1)-1;else{if(Nn>=9007199254740991)throw Qe("Exceed the acceptable array length");xt[Nn]=Hi}Nn++}pi++}return Nn};pe.exports=ut}),Xn=l((_e,pe)=>{var me=ii(),be=me("toStringTag"),Ee={};Ee[be]="z",pe.exports=String(Ee)==="[object z]"}),Fr=l((_e,pe)=>{var me=f(),be=Xn(),Ee=Zt(),ze=st(),Qe=ii(),ut=Qe("toStringTag"),xt=me.Object,Kt=ze(function(){return arguments}())=="Arguments",or=function(xr,Ir){try{return xr[Ir]}catch{}};pe.exports=be?ze:function(xr){var Ir,rn,an;return xr===void 0?"Undefined":xr===null?"Null":typeof(rn=or(Ir=xt(xr),ut))=="string"?rn:Kt?ze(Ir):(an=ze(Ir))=="Object"&&Ee(Ir.callee)?"Arguments":an}}),Br=l((_e,pe)=>{var me=Oe(),be=v(),Ee=Zt(),ze=Fr(),Qe=bt(),ut=Vn(),xt=function(){},Kt=[],or=Qe("Reflect","construct"),xr=/^\s*(?:class|function)\b/,Ir=me(xr.exec),rn=!xr.exec(xt),an=function(Nn){if(!Ee(Nn))return!1;try{return or(xt,Kt,Nn),!0}catch{return!1}},Pr=function(Nn){if(!Ee(Nn))return!1;switch(ze(Nn)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return rn||!!Ir(xr,ut(Nn))}catch{return!0}};Pr.sham=!0,pe.exports=!or||be(function(){var Nn;return an(an.call)||!an(Object)||!an(function(){Nn=!0})||Nn})?Pr:an}),wr=l((_e,pe)=>{var me=f(),be=Fs(),Ee=Br(),ze=Jr(),Qe=ii(),ut=Qe("species"),xt=me.Array;pe.exports=function(Kt){var or;return be(Kt)&&(or=Kt.constructor,Ee(or)&&(or===xt||be(or.prototype))?or=void 0:ze(or)&&(or=or[ut],or===null&&(or=void 0))),or===void 0?xt:or}}),Xr=l((_e,pe)=>{var me=wr();pe.exports=function(be,Ee){return new(me(be))(Ee===0?0:Ee)}}),Lt=l(()=>{var _e=os(),pe=pa(),me=fi(),be=nn(),Ee=gn(),ze=Xr();_e({target:"Array",proto:!0},{flatMap:function(Qe){var ut=be(this),xt=Ee(ut),Kt;return me(Qe),Kt=ze(ut,0),Kt.length=pe(Kt,ut,ut,xt,0,1,Qe,arguments.length>1?arguments[1]:void 0),Kt}})}),Jn=l((_e,pe)=>{pe.exports={}}),Xt=l((_e,pe)=>{var me=ii(),be=Jn(),Ee=me("iterator"),ze=Array.prototype;pe.exports=function(Qe){return Qe!==void 0&&(be.Array===Qe||ze[Ee]===Qe)}}),On=l((_e,pe)=>{var me=Fr(),be=Wn(),Ee=Jn(),ze=ii(),Qe=ze("iterator");pe.exports=function(ut){if(ut!=null)return be(ut,Qe)||be(ut,"@@iterator")||Ee[me(ut)]}}),yr=l((_e,pe)=>{var me=f(),be=le(),Ee=fi(),ze=$r(),Qe=oi(),ut=On(),xt=me.TypeError;pe.exports=function(Kt,or){var xr=arguments.length<2?ut(Kt):or;if(Ee(xr))return ze(be(xr,Kt));throw xt(Qe(Kt)+" is not iterable")}}),It=l((_e,pe)=>{var me=le(),be=$r(),Ee=Wn();pe.exports=function(ze,Qe,ut){var xt,Kt;be(ze);try{if(xt=Ee(ze,"return"),!xt){if(Qe==="throw")throw ut;return ut}xt=me(xt,ze)}catch(or){Kt=!0,xt=or}if(Qe==="throw")throw ut;if(Kt)throw xt;return be(xt),ut}}),je=l((_e,pe)=>{var me=f(),be=ys(),Ee=le(),ze=$r(),Qe=oi(),ut=Xt(),xt=gn(),Kt=Ot(),or=yr(),xr=On(),Ir=It(),rn=me.TypeError,an=function(Nn,pi){this.stopped=Nn,this.result=pi},Pr=an.prototype;pe.exports=function(Nn,pi,En){var Hi=En&&En.that,es=!!(En&&En.AS_ENTRIES),ft=!!(En&&En.IS_ITERATOR),qi=!!(En&&En.INTERRUPTED),hn=be(pi,Hi),Ti,Xi,Yn,Vi,Is,_,at,yt=function(ui){return Ti&&Ir(Ti,"normal",ui),new an(!0,ui)},mr=function(ui){return es?(ze(ui),qi?hn(ui[0],ui[1],yt):hn(ui[0],ui[1])):qi?hn(ui,yt):hn(ui)};if(ft)Ti=Nn;else{if(Xi=xr(Nn),!Xi)throw rn(Qe(Nn)+" is not iterable");if(ut(Xi)){for(Yn=0,Vi=xt(Nn);Vi>Yn;Yn++)if(Is=mr(Nn[Yn]),Is&&Kt(Pr,Is))return Is;return new an(!1)}Ti=or(Nn,Xi)}for(_=Ti.next;!(at=Ee(_,Ti)).done;){try{Is=mr(at.value)}catch(ui){Ir(Ti,"throw",ui)}if(typeof Is=="object"&&Is&&Kt(Pr,Is))return Is}return new an(!1)}}),_t=l((_e,pe)=>{var me=gs(),be=Cr(),Ee=Me();pe.exports=function(ze,Qe,ut){var xt=me(Qe);xt in ze?be.f(ze,xt,Ee(0,ut)):ze[xt]=ut}}),zt=l(()=>{var _e=os(),pe=je(),me=_t();_e({target:"Object",stat:!0},{fromEntries:function(be){var Ee={};return pe(be,function(ze,Qe){me(Ee,ze,Qe)},{AS_ENTRIES:!0}),Ee}})}),ir=l(()=>{var _e=os(),pe=f();_e({global:!0},{globalThis:pe})}),Mr=l(()=>{ir()}),sn=l(()=>{var _e=os(),pe=pa(),me=nn(),be=gn(),Ee=_r(),ze=Xr();_e({target:"Array",proto:!0},{flat:function(){var Qe=arguments.length?arguments[0]:void 0,ut=me(this),xt=be(ut),Kt=ze(ut,0);return Kt.length=pe(Kt,ut,ut,xt,0,Qe===void 0?1:Ee(Qe)),Kt}})}),Rt=l((_e,pe)=>{var me=["cliName","cliCategory","cliDescription"],be=["_"],Ee=["languageId"],ze,Qe,ut,xt,Kt,or;function xr(d,A){if(d==null)return{};var m=Ir(d,A),b,E;if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(d);for(E=0;E<g.length;E++)b=g[E],!(A.indexOf(b)>=0)&&(!Object.prototype.propertyIsEnumerable.call(d,b)||(m[b]=d[b]))}return m}function Ir(d,A){if(d==null)return{};var m={},b=Object.keys(d),E,g;for(g=0;g<b.length;g++)E=b[g],!(A.indexOf(E)>=0)&&(m[E]=d[E]);return m}Lt(),zt(),Mr(),sn();function rn(d,A){return A||(A=d.slice(0)),Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(A)}}))}var an=Object.create,Pr=Object.defineProperty,Nn=Object.getOwnPropertyDescriptor,pi=Object.getOwnPropertyNames,En=Object.getPrototypeOf,Hi=Object.prototype.hasOwnProperty,es=(d,A)=>function(){return d&&(A=(0,d[pi(d)[0]])(d=0)),A},ft=(d,A)=>function(){return A||(0,d[pi(d)[0]])((A={exports:{}}).exports,A),A.exports},qi=(d,A)=>{for(var m in A)Pr(d,m,{get:A[m],enumerable:!0})},hn=(d,A,m,b)=>{if(A&&typeof A=="object"||typeof A=="function")for(let E of pi(A))!Hi.call(d,E)&&E!==m&&Pr(d,E,{get:()=>A[E],enumerable:!(b=Nn(A,E))||b.enumerable});return d},Ti=(d,A,m)=>(m=d!=null?an(En(d)):{},hn(A||!d||!d.__esModule?Pr(m,"default",{value:d,enumerable:!0}):m,d)),Xi=d=>hn(Pr({},"__esModule",{value:!0}),d),Yn,Vi,Is,_=es({"<define:process>"(){Yn={},Vi=[],Is={env:Yn,argv:Vi}}}),at=ft({"package.json"(d,A){A.exports={version:"2.7.1"}}}),yt=ft({"node_modules/diff/lib/diff/base.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0}),d.default=A;function A(){}A.prototype={diff:function(E,g){var D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=D.callback;typeof D=="function"&&(w=D,D={}),this.options=D;var F=this;function B(J){return w?(setTimeout(function(){w(void 0,J)},0),!0):J}E=this.castInput(E),g=this.castInput(g),E=this.removeEmpty(this.tokenize(E)),g=this.removeEmpty(this.tokenize(g));var H=g.length,R=E.length,V=1,I=H+R,L=[{newPos:-1,components:[]}],z=this.extractCommon(L[0],g,E,0);if(L[0].newPos+1>=H&&z+1>=R)return B([{value:this.join(g),count:g.length}]);function ce(){for(var J=-1*V;J<=V;J+=2){var ee=void 0,ue=L[J-1],ge=L[J+1],de=(ge?ge.newPos:0)-J;ue&&(L[J-1]=void 0);var De=ue&&ue.newPos+1<H,W=ge&&0<=de&&de<R;if(!De&&!W){L[J]=void 0;continue}if(!De||W&&ue.newPos<ge.newPos?(ee=b(ge),F.pushComponent(ee.components,void 0,!0)):(ee=ue,ee.newPos++,F.pushComponent(ee.components,!0,void 0)),de=F.extractCommon(ee,g,E,J),ee.newPos+1>=H&&de+1>=R)return B(m(F,ee.components,g,E,F.useLongestToken));L[J]=ee}V++}if(w)(function J(){setTimeout(function(){if(V>I)return w();ce()||J()},0)})();else for(;V<=I;){var fe=ce();if(fe)return fe}},pushComponent:function(E,g,D){var w=E[E.length-1];w&&w.added===g&&w.removed===D?E[E.length-1]={count:w.count+1,added:g,removed:D}:E.push({count:1,added:g,removed:D})},extractCommon:function(E,g,D,w){for(var F=g.length,B=D.length,H=E.newPos,R=H-w,V=0;H+1<F&&R+1<B&&this.equals(g[H+1],D[R+1]);)H++,R++,V++;return V&&E.components.push({count:V}),E.newPos=H,R},equals:function(E,g){return this.options.comparator?this.options.comparator(E,g):E===g||this.options.ignoreCase&&E.toLowerCase()===g.toLowerCase()},removeEmpty:function(E){for(var g=[],D=0;D<E.length;D++)E[D]&&g.push(E[D]);return g},castInput:function(E){return E},tokenize:function(E){return E.split("")},join:function(E){return E.join("")}};function m(E,g,D,w,F){for(var B=0,H=g.length,R=0,V=0;B<H;B++){var I=g[B];if(I.removed){if(I.value=E.join(w.slice(V,V+I.count)),V+=I.count,B&&g[B-1].added){var L=g[B-1];g[B-1]=g[B],g[B]=L}}else{if(!I.added&&F){var z=D.slice(R,R+I.count);z=z.map(function(fe,J){var ee=w[V+J];return ee.length>fe.length?ee:fe}),I.value=E.join(z)}else I.value=E.join(D.slice(R,R+I.count));R+=I.count,I.added||(V+=I.count)}}var ce=g[H-1];return H>1&&typeof ce.value=="string"&&(ce.added||ce.removed)&&E.equals("",ce.value)&&(g[H-2].value+=ce.value,g.pop()),g}function b(E){return{newPos:E.newPos,components:E.components.slice(0)}}}}),mr=ft({"node_modules/diff/lib/diff/array.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0}),d.diffArrays=E,d.arrayDiff=void 0;var A=m(yt());function m(g){return g&&g.__esModule?g:{default:g}}var b=new A.default;d.arrayDiff=b,b.tokenize=function(g){return g.slice()},b.join=b.removeEmpty=function(g){return g};function E(g,D,w){return b.diff(g,D,w)}}}),ui=ft({"src/document/doc-builders.js"(d,A){_();function m(X){return{type:"concat",parts:X}}function b(X){return{type:"indent",contents:X}}function E(X,P){return{type:"align",contents:P,n:X}}function g(X){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:P.id,contents:X,break:Boolean(P.shouldBreak),expandedStates:P.expandedStates}}function D(X){return E(Number.NEGATIVE_INFINITY,X)}function w(X){return E({type:"root"},X)}function F(X){return E(-1,X)}function B(X,P){return g(X[0],Object.assign(Object.assign({},P),{},{expandedStates:X}))}function H(X){return{type:"fill",parts:X}}function R(X,P){let G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:X,flatContents:P,groupId:G.groupId}}function V(X,P){return{type:"indent-if-break",contents:X,groupId:P.groupId,negate:P.negate}}function I(X){return{type:"line-suffix",contents:X}}var L={type:"line-suffix-boundary"},z={type:"break-parent"},ce={type:"trim"},fe={type:"line",hard:!0},J={type:"line",hard:!0,literal:!0},ee={type:"line"},ue={type:"line",soft:!0},ge=m([fe,z]),de=m([J,z]),De={type:"cursor",placeholder:Symbol("cursor")};function W(X,P){let G=[];for(let q=0;q<P.length;q++)q!==0&&G.push(X),G.push(P[q]);return m(G)}function M(X,P,G){let q=X;if(P>0){for(let se=0;se<Math.floor(P/G);++se)q=b(q);q=E(P%G,q),q=E(Number.NEGATIVE_INFINITY,q)}return q}function U(X,P){return{type:"label",label:X,contents:P}}A.exports={concat:m,join:W,line:ee,softline:ue,hardline:ge,literalline:de,group:g,conditionalGroup:B,fill:H,lineSuffix:I,lineSuffixBoundary:L,cursor:De,breakParent:z,ifBreak:R,trim:ce,indent:b,indentIfBreak:V,align:E,addAlignmentToDoc:M,markAsRoot:w,dedentToRoot:D,dedent:F,hardlineWithoutBreakParent:fe,literallineWithoutBreakParent:J,label:U}}}),us=ft({"src/common/end-of-line.js"(d,A){_();function m(D){let w=D.indexOf("\r");return w>=0?D.charAt(w+1)===`
|
|
25
|
-
`?"crlf":"cr":"lf"}function b(D){switch(D){case"cr":return"\r";case"crlf":return`\r
|
|
26
|
-
`;default:return`
|
|
27
|
-
`}}function E(D,w){let F;switch(w){case`
|
|
28
|
-
`:F=/\n/g;break;case"\r":F=/\r/g;break;case`\r
|
|
29
|
-
`:F=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(w),"."))}let B=D.match(F);return B?B.length:0}function g(D){return D.replace(/\r\n?/g,`
|
|
30
|
-
`)}A.exports={guessEndOfLine:m,convertEndOfLineToChars:b,countEndOfLineChars:E,normalizeEndOfLine:g}}}),Ji=ft({"src/utils/get-last.js"(d,A){_();var m=b=>b[b.length-1];A.exports=m}});function Os(){let{onlyFirst:d=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},A=["[\\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(A,d?void 0:"g")}var Us=es({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){_()}});function $i(d){if(typeof d!="string")throw new TypeError("Expected a `string`, got `".concat(typeof d,"`"));return d.replace(Os(),"")}var Fu=es({"node_modules/strip-ansi/index.js"(){_(),Us()}});function ku(d){return Number.isInteger(d)?d>=4352&&(d<=4447||d===9001||d===9002||11904<=d&&d<=12871&&d!==12351||12880<=d&&d<=19903||19968<=d&&d<=42182||43360<=d&&d<=43388||44032<=d&&d<=55203||63744<=d&&d<=64255||65040<=d&&d<=65049||65072<=d&&d<=65131||65281<=d&&d<=65376||65504<=d&&d<=65510||110592<=d&&d<=110593||127488<=d&&d<=127569||131072<=d&&d<=262141):!1}var Bo=es({"node_modules/is-fullwidth-code-point/index.js"(){_()}}),_a=ft({"node_modules/emoji-regex/index.js"(d,A){_(),A.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}}}),tu={};qi(tu,{default:()=>vo});function vo(d){if(typeof d!="string"||d.length===0||(d=$i(d),d.length===0))return 0;d=d.replace((0,lo.default)()," ");let A=0;for(let m=0;m<d.length;m++){let b=d.codePointAt(m);b<=31||b>=127&&b<=159||b>=768&&b<=879||(b>65535&&m++,A+=ku(b)?2:1)}return A}var lo,du=es({"node_modules/string-width/index.js"(){_(),Fu(),Bo(),lo=Ti(_a())}}),mu=ft({"src/utils/get-string-width.js"(d,A){_();var m=(du(),Xi(tu)).default,b=/[^\x20-\x7F]/;function E(g){return g?b.test(g)?m(g):g.length:0}A.exports=E}}),_o=ft({"src/document/doc-utils.js"(d,A){_();var m=Ji(),{literalline:b,join:E}=ui(),g=P=>Array.isArray(P)||P&&P.type==="concat",D=P=>{if(Array.isArray(P))return P;if(P.type!=="concat"&&P.type!=="fill")throw new Error("Expect doc type to be `concat` or `fill`.");return P.parts},w={};function F(P,G,q,se){let te=[P];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(g(ne)||ne.type==="fill"){let Ce=D(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 B(P,G){let q=new Map;return se(P);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 H(P,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 F(P,ne),se}function R(P){if(P.type==="group"&&P.break||P.type==="line"&&P.hard||P.type==="break-parent")return!0}function V(P){return H(P,R,!1)}function I(P){if(P.length>0){let G=m(P);!G.expandedStates&&!G.break&&(G.break="propagated")}return null}function L(P){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)}F(P,se,te,!0)}function z(P){return P.type==="line"&&!P.hard?P.soft?"":" ":P.type==="if-break"?P.flatContents||"":P}function ce(P){return B(P,z)}var fe=(P,G)=>P&&P.type==="line"&&P.hard&&G&&G.type==="break-parent";function J(P){if(!P)return P;if(g(P)||P.type==="fill"){let G=D(P);for(;G.length>1&&fe(...G.slice(-2));)G.length-=2;if(G.length>0){let q=J(m(G));G[G.length-1]=q}return Array.isArray(P)?G:Object.assign(Object.assign({},P),{},{parts:G})}switch(P.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let G=J(P.contents);return Object.assign(Object.assign({},P),{},{contents:G})}case"if-break":{let G=J(P.breakContents),q=J(P.flatContents);return Object.assign(Object.assign({},P),{},{breakContents:G,flatContents:q})}}return P}function ee(P){return J(ge(P))}function ue(P){switch(P.type){case"fill":if(P.parts.every(q=>q===""))return"";break;case"group":if(!P.contents&&!P.id&&!P.break&&!P.expandedStates)return"";if(P.contents.type==="group"&&P.contents.id===P.id&&P.contents.break===P.break&&P.contents.expandedStates===P.expandedStates)return P.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!P.contents)return"";break;case"if-break":if(!P.flatContents&&!P.breakContents)return"";break}if(!g(P))return P;let G=[];for(let q of D(P)){if(!q)continue;let[se,...te]=g(q)?D(q):[q];typeof se=="string"&&typeof m(G)=="string"?G[G.length-1]+=se:G.push(se),G.push(...te)}return G.length===0?"":G.length===1?G[0]:Array.isArray(P)?G:Object.assign(Object.assign({},P),{},{parts:G})}function ge(P){return B(P,G=>ue(G))}function de(P){let G=[],q=P.filter(Boolean);for(;q.length>0;){let se=q.shift();if(se){if(g(se)){q.unshift(...D(se));continue}if(G.length>0&&typeof m(G)=="string"&&typeof se=="string"){G[G.length-1]+=se;continue}G.push(se)}}return G}function De(P){return B(P,G=>Array.isArray(G)?de(G):G.parts?Object.assign(Object.assign({},G),{},{parts:de(G.parts)}):G)}function W(P){return B(P,G=>typeof G=="string"&&G.includes(`
|
|
31
|
-
`)?M(G):G)}function M(P){let G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:b;return E(G,P.split(`
|
|
32
|
-
`)).parts}function U(P){if(P.type==="line")return!0}function X(P){return H(P,U,!1)}A.exports={isConcat:g,getDocParts:D,willBreak:V,traverseDoc:F,findInDoc:H,mapDoc:B,propagateBreaks:L,removeLines:ce,stripTrailingHardline:ee,normalizeParts:de,normalizeDoc:De,cleanDoc:ge,replaceTextEndOfLine:M,replaceEndOfLine:W,canBreak:X}}}),Pu=ft({"src/document/doc-printer.js"(d,A){_();var{convertEndOfLineToChars:m}=us(),b=Ji(),E=mu(),{fill:g,cursor:D,indent:w}=ui(),{isConcat:F,getDocParts:B}=_o(),H,R=1,V=2;function I(){return{value:"",length:0,queue:[]}}function L(ue,ge){return ce(ue,{type:"indent"},ge)}function z(ue,ge,de){return ge===Number.NEGATIVE_INFINITY?ue.root||I():ge<0?ce(ue,{type:"dedent"},de):ge?ge.type==="root"?Object.assign(Object.assign({},ue),{},{root:ue}):ce(ue,{type:typeof ge=="string"?"stringAlign":"numberAlign",n:ge},de):ue}function ce(ue,ge,de){let De=ge.type==="dedent"?ue.queue.slice(0,-1):[...ue.queue,ge],W="",M=0,U=0,X=0;for(let Ce of De)switch(Ce.type){case"indent":q(),de.useTabs?P(1):G(de.tabWidth);break;case"stringAlign":q(),W+=Ce.n,M+=Ce.n.length;break;case"numberAlign":U+=1,X+=Ce.n;break;default:throw new Error("Unexpected type '".concat(Ce.type,"'"))}return te(),Object.assign(Object.assign({},ue),{},{value:W,length:M,queue:De});function P(Ce){W+=" ".repeat(Ce),M+=de.tabWidth*Ce}function G(Ce){W+=" ".repeat(Ce),M+=Ce}function q(){de.useTabs?se():te()}function se(){U>0&&P(U),ne()}function te(){X>0&&G(X),ne()}function ne(){U=0,X=0}}function fe(ue){if(ue.length===0)return 0;let ge=0;for(;ue.length>0&&typeof b(ue)=="string"&&/^[\t ]*$/.test(b(ue));)ge+=ue.pop().length;if(ue.length>0&&typeof b(ue)=="string"){let de=b(ue).replace(/[\t ]*$/,"");ge+=b(ue).length-de.length,ue[ue.length-1]=de}return ge}function J(ue,ge,de,De,W,M){let U=ge.length,X=[ue],P=[];for(;de>=0;){if(X.length===0){if(U===0)return!0;X.push(ge[U-1]),U--;continue}let[G,q,se]=X.pop();if(typeof se=="string")P.push(se),de-=E(se);else if(F(se)){let te=B(se);for(let ne=te.length-1;ne>=0;ne--)X.push([G,q,te[ne]])}else switch(se.type){case"indent":X.push([L(G,De),q,se.contents]);break;case"align":X.push([z(G,se.n,De),q,se.contents]);break;case"trim":de+=fe(P);break;case"group":{if(M&&se.break)return!1;let te=se.break?R:q;X.push([G,te,se.expandedStates&&te===R?b(se.expandedStates):se.contents]),se.id&&(H[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?H[se.groupId]:q;if(te===R){let ne=se.type==="if-break"?se.breakContents:se.negate?se.contents:w(se.contents);ne&&X.push([G,q,ne])}if(te===V){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 V:if(!se.hard){se.soft||(P.push(" "),de-=1);break}return!0;case R:return!0}break;case"line-suffix":W=!0;break;case"line-suffix-boundary":if(W)return!1;break;case"label":X.push([G,q,se.contents]);break}}return!1}function ee(ue,ge){H={};let de=ge.printWidth,De=m(ge.endOfLine),W=0,M=[[I(),R,ue]],U=[],X=!1,P=[];for(;M.length>0;){let[q,se,te]=M.pop();if(typeof te=="string"){let ne=De!==`
|
|
33
|
-
`?te.replace(/\n/g,De):te;U.push(ne),W+=E(ne)}else if(F(te)){let ne=B(te);for(let Ce=ne.length-1;Ce>=0;Ce--)M.push([q,se,ne[Ce]])}else switch(te.type){case"cursor":U.push(D.placeholder);break;case"indent":M.push([L(q,ge),se,te.contents]);break;case"align":M.push([z(q,te.n,ge),se,te.contents]);break;case"trim":W-=fe(U);break;case"group":switch(se){case V:if(!X){M.push([q,te.break?R:V,te.contents]);break}case R:{X=!1;let ne=[q,V,te.contents],Ce=de-W,Re=P.length>0;if(!te.break&&J(ne,M,Ce,ge,Re))M.push(ne);else if(te.expandedStates){let Pe=b(te.expandedStates);if(te.break){M.push([q,R,Pe]);break}else for(let Ve=1;Ve<te.expandedStates.length+1;Ve++)if(Ve>=te.expandedStates.length){M.push([q,R,Pe]);break}else{let He=te.expandedStates[Ve],Le=[q,V,He];if(J(Le,M,Ce,ge,Re)){M.push(Le);break}}}else M.push([q,R,te.contents]);break}}te.id&&(H[te.id]=b(M)[1]);break;case"fill":{let ne=de-W,{parts:Ce}=te;if(Ce.length===0)break;let[Re,Pe]=Ce,Ve=[q,V,Re],He=[q,R,Re],Le=J(Ve,[],ne,ge,P.length>0,!0);if(Ce.length===1){Le?M.push(Ve):M.push(He);break}let Dt=[q,V,Pe],Ke=[q,R,Pe];if(Ce.length===2){Le?M.push(Dt,Ve):M.push(Ke,He);break}Ce.splice(0,2);let qe=[q,se,g(Ce)],pt=Ce[0];J([q,V,[Re,Pe,pt]],[],ne,ge,P.length>0,!0)?M.push(qe,Dt,Ve):Le?M.push(qe,Ke,Ve):M.push(qe,Ke,He);break}case"if-break":case"indent-if-break":{let ne=te.groupId?H[te.groupId]:se;if(ne===R){let Ce=te.type==="if-break"?te.breakContents:te.negate?te.contents:w(te.contents);Ce&&M.push([q,se,Ce])}if(ne===V){let Ce=te.type==="if-break"?te.flatContents:te.negate?w(te.contents):te.contents;Ce&&M.push([q,se,Ce])}break}case"line-suffix":P.push([q,se,te.contents]);break;case"line-suffix-boundary":P.length>0&&M.push([q,se,{type:"line",hard:!0}]);break;case"line":switch(se){case V:if(te.hard)X=!0;else{te.soft||(U.push(" "),W+=1);break}case R:if(P.length>0){M.push([q,se,te],...P.reverse()),P=[];break}te.literal?q.root?(U.push(De,q.root.value),W=q.root.length):(U.push(De),W=0):(W-=fe(U),U.push(De+q.value),W=q.length);break}break;case"label":M.push([q,se,te.contents]);break}M.length===0&&P.length>0&&(M.push(...P.reverse()),P=[])}let G=U.indexOf(D.placeholder);if(G!==-1){let q=U.indexOf(D.placeholder,G+1),se=U.slice(0,G).join(""),te=U.slice(G+1,q).join(""),ne=U.slice(q+1).join("");return{formatted:se+te+ne,cursorNodeStart:se.length,cursorNodeText:te}}return{formatted:U.join("")}}A.exports={printDocToString:ee}}}),gu=ft({"src/document/doc-debug.js"(d,A){_();var{isConcat:m,getDocParts:b}=_o();function E(D){if(!D)return"";if(m(D)){let w=[];for(let F of b(D))if(m(F))w.push(...E(F).parts);else{let B=E(F);B!==""&&w.push(B)}return{type:"concat",parts:w}}return D.type==="if-break"?Object.assign(Object.assign({},D),{},{breakContents:E(D.breakContents),flatContents:E(D.flatContents)}):D.type==="group"?Object.assign(Object.assign({},D),{},{contents:E(D.contents),expandedStates:D.expandedStates&&D.expandedStates.map(E)}):D.type==="fill"?{type:"fill",parts:D.parts.map(E)}:D.contents?Object.assign(Object.assign({},D),{},{contents:E(D.contents)}):D}function g(D){let w=Object.create(null),F=new Set;return B(E(D));function B(R,V,I){if(typeof R=="string")return JSON.stringify(R);if(m(R)){let L=b(R).map(B).filter(Boolean);return L.length===1?L[0]:"[".concat(L.join(", "),"]")}if(R.type==="line"){let L=Array.isArray(I)&&I[V+1]&&I[V+1].type==="break-parent";return R.literal?L?"literalline":"literallineWithoutBreakParent":R.hard?L?"hardline":"hardlineWithoutBreakParent":R.soft?"softline":"line"}if(R.type==="break-parent")return Array.isArray(I)&&I[V-1]&&I[V-1].type==="line"&&I[V-1].hard?void 0:"breakParent";if(R.type==="trim")return"trim";if(R.type==="indent")return"indent("+B(R.contents)+")";if(R.type==="align")return R.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+B(R.contents)+")":R.n<0?"dedent("+B(R.contents)+")":R.n.type==="root"?"markAsRoot("+B(R.contents)+")":"align("+JSON.stringify(R.n)+", "+B(R.contents)+")";if(R.type==="if-break")return"ifBreak("+B(R.breakContents)+(R.flatContents?", "+B(R.flatContents):"")+(R.groupId?(R.flatContents?"":', ""')+", { groupId: ".concat(H(R.groupId)," }"):"")+")";if(R.type==="indent-if-break"){let L=[];R.negate&&L.push("negate: true"),R.groupId&&L.push("groupId: ".concat(H(R.groupId)));let z=L.length>0?", { ".concat(L.join(", ")," }"):"";return"indentIfBreak(".concat(B(R.contents)).concat(z,")")}if(R.type==="group"){let L=[];R.break&&R.break!=="propagated"&&L.push("shouldBreak: true"),R.id&&L.push("id: ".concat(H(R.id)));let z=L.length>0?", { ".concat(L.join(", ")," }"):"";return R.expandedStates?"conditionalGroup([".concat(R.expandedStates.map(ce=>B(ce)).join(","),"]").concat(z,")"):"group(".concat(B(R.contents)).concat(z,")")}if(R.type==="fill")return"fill([".concat(R.parts.map(L=>B(L)).join(", "),"])");if(R.type==="line-suffix")return"lineSuffix("+B(R.contents)+")";if(R.type==="line-suffix-boundary")return"lineSuffixBoundary";if(R.type==="label")return"label(".concat(JSON.stringify(R.label),", ").concat(B(R.contents),")");throw new Error("Unknown doc type "+R.type)}function H(R){if(typeof R!="symbol")return JSON.stringify(String(R));if(R in w)return w[R];let V=String(R).slice(7,-1)||"symbol";for(let I=0;;I++){let L=V+(I>0?" #".concat(I):"");if(!F.has(L))return F.add(L),w[R]="Symbol.for(".concat(JSON.stringify(L),")")}}}A.exports={printDocToDebug:g}}}),bi=ft({"src/document/index.js"(d,A){_(),A.exports={builders:ui(),printer:Pu(),utils:_o(),debug:gu()}}}),yu={};qi(yu,{default:()=>el});function el(d){if(typeof d!="string")throw new TypeError("Expected a string");return d.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var tl=es({"node_modules/escape-string-regexp/index.js"(){_()}}),Nu=ft({"node_modules/semver/internal/debug.js"(d,A){_();var m=typeof Is=="object"&&Is.env&&Is.env.NODE_DEBUG&&/\bsemver\b/i.test(Is.env.NODE_DEBUG)?function(){for(var b=arguments.length,E=new Array(b),g=0;g<b;g++)E[g]=arguments[g];return console.error("SEMVER",...E)}:()=>{};A.exports=m}}),za=ft({"node_modules/semver/internal/constants.js"(d,A){_();var m="2.0.0",b=256,E=Number.MAX_SAFE_INTEGER||9007199254740991,g=16;A.exports={SEMVER_SPEC_VERSION:m,MAX_LENGTH:b,MAX_SAFE_INTEGER:E,MAX_SAFE_COMPONENT_LENGTH:g}}}),xl=ft({"node_modules/semver/internal/re.js"(d,A){_();var{MAX_SAFE_COMPONENT_LENGTH:m}=za(),b=Nu();d=A.exports={};var E=d.re=[],g=d.src=[],D=d.t={},w=0,F=(B,H,R)=>{let V=w++;b(B,V,H),D[B]=V,g[V]=H,E[V]=new RegExp(H,R?"g":void 0)};F("NUMERICIDENTIFIER","0|[1-9]\\d*"),F("NUMERICIDENTIFIERLOOSE","[0-9]+"),F("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),F("MAINVERSION","(".concat(g[D.NUMERICIDENTIFIER],")\\.(").concat(g[D.NUMERICIDENTIFIER],")\\.(").concat(g[D.NUMERICIDENTIFIER],")")),F("MAINVERSIONLOOSE","(".concat(g[D.NUMERICIDENTIFIERLOOSE],")\\.(").concat(g[D.NUMERICIDENTIFIERLOOSE],")\\.(").concat(g[D.NUMERICIDENTIFIERLOOSE],")")),F("PRERELEASEIDENTIFIER","(?:".concat(g[D.NUMERICIDENTIFIER],"|").concat(g[D.NONNUMERICIDENTIFIER],")")),F("PRERELEASEIDENTIFIERLOOSE","(?:".concat(g[D.NUMERICIDENTIFIERLOOSE],"|").concat(g[D.NONNUMERICIDENTIFIER],")")),F("PRERELEASE","(?:-(".concat(g[D.PRERELEASEIDENTIFIER],"(?:\\.").concat(g[D.PRERELEASEIDENTIFIER],")*))")),F("PRERELEASELOOSE","(?:-?(".concat(g[D.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(g[D.PRERELEASEIDENTIFIERLOOSE],")*))")),F("BUILDIDENTIFIER","[0-9A-Za-z-]+"),F("BUILD","(?:\\+(".concat(g[D.BUILDIDENTIFIER],"(?:\\.").concat(g[D.BUILDIDENTIFIER],")*))")),F("FULLPLAIN","v?".concat(g[D.MAINVERSION]).concat(g[D.PRERELEASE],"?").concat(g[D.BUILD],"?")),F("FULL","^".concat(g[D.FULLPLAIN],"$")),F("LOOSEPLAIN","[v=\\s]*".concat(g[D.MAINVERSIONLOOSE]).concat(g[D.PRERELEASELOOSE],"?").concat(g[D.BUILD],"?")),F("LOOSE","^".concat(g[D.LOOSEPLAIN],"$")),F("GTLT","((?:<|>)?=?)"),F("XRANGEIDENTIFIERLOOSE","".concat(g[D.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),F("XRANGEIDENTIFIER","".concat(g[D.NUMERICIDENTIFIER],"|x|X|\\*")),F("XRANGEPLAIN","[v=\\s]*(".concat(g[D.XRANGEIDENTIFIER],")(?:\\.(").concat(g[D.XRANGEIDENTIFIER],")(?:\\.(").concat(g[D.XRANGEIDENTIFIER],")(?:").concat(g[D.PRERELEASE],")?").concat(g[D.BUILD],"?)?)?")),F("XRANGEPLAINLOOSE","[v=\\s]*(".concat(g[D.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(g[D.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(g[D.XRANGEIDENTIFIERLOOSE],")(?:").concat(g[D.PRERELEASELOOSE],")?").concat(g[D.BUILD],"?)?)?")),F("XRANGE","^".concat(g[D.GTLT],"\\s*").concat(g[D.XRANGEPLAIN],"$")),F("XRANGELOOSE","^".concat(g[D.GTLT],"\\s*").concat(g[D.XRANGEPLAINLOOSE],"$")),F("COERCE","(^|[^\\d])(\\d{1,".concat(m,"})(?:\\.(\\d{1,").concat(m,"}))?(?:\\.(\\d{1,").concat(m,"}))?(?:$|[^\\d])")),F("COERCERTL",g[D.COERCE],!0),F("LONETILDE","(?:~>?)"),F("TILDETRIM","(\\s*)".concat(g[D.LONETILDE],"\\s+"),!0),d.tildeTrimReplace="$1~",F("TILDE","^".concat(g[D.LONETILDE]).concat(g[D.XRANGEPLAIN],"$")),F("TILDELOOSE","^".concat(g[D.LONETILDE]).concat(g[D.XRANGEPLAINLOOSE],"$")),F("LONECARET","(?:\\^)"),F("CARETTRIM","(\\s*)".concat(g[D.LONECARET],"\\s+"),!0),d.caretTrimReplace="$1^",F("CARET","^".concat(g[D.LONECARET]).concat(g[D.XRANGEPLAIN],"$")),F("CARETLOOSE","^".concat(g[D.LONECARET]).concat(g[D.XRANGEPLAINLOOSE],"$")),F("COMPARATORLOOSE","^".concat(g[D.GTLT],"\\s*(").concat(g[D.LOOSEPLAIN],")$|^$")),F("COMPARATOR","^".concat(g[D.GTLT],"\\s*(").concat(g[D.FULLPLAIN],")$|^$")),F("COMPARATORTRIM","(\\s*)".concat(g[D.GTLT],"\\s*(").concat(g[D.LOOSEPLAIN],"|").concat(g[D.XRANGEPLAIN],")"),!0),d.comparatorTrimReplace="$1$2$3",F("HYPHENRANGE","^\\s*(".concat(g[D.XRANGEPLAIN],")\\s+-\\s+(").concat(g[D.XRANGEPLAIN],")\\s*$")),F("HYPHENRANGELOOSE","^\\s*(".concat(g[D.XRANGEPLAINLOOSE],")\\s+-\\s+(").concat(g[D.XRANGEPLAINLOOSE],")\\s*$")),F("STAR","(<|>)?=?\\s*\\*"),F("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),F("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),rl=ft({"node_modules/semver/internal/parse-options.js"(d,A){_();var m=["includePrerelease","loose","rtl"],b=E=>E?typeof E!="object"?{loose:!0}:m.filter(g=>E[g]).reduce((g,D)=>(g[D]=!0,g),{}):{};A.exports=b}}),ma=ft({"node_modules/semver/internal/identifiers.js"(d,A){_();var m=/^[0-9]+$/,b=(g,D)=>{let w=m.test(g),F=m.test(D);return w&&F&&(g=+g,D=+D),g===D?0:w&&!F?-1:F&&!w?1:g<D?-1:1},E=(g,D)=>b(D,g);A.exports={compareIdentifiers:b,rcompareIdentifiers:E}}}),Io=ft({"node_modules/semver/classes/semver.js"(d,A){_();var m=Nu(),{MAX_LENGTH:b,MAX_SAFE_INTEGER:E}=za(),{re:g,t:D}=xl(),w=rl(),{compareIdentifiers:F}=ma(),B=class{constructor(H,R){if(R=w(R),H instanceof B){if(H.loose===!!R.loose&&H.includePrerelease===!!R.includePrerelease)return H;H=H.version}else if(typeof H!="string")throw new TypeError("Invalid Version: ".concat(H));if(H.length>b)throw new TypeError("version is longer than ".concat(b," characters"));m("SemVer",H,R),this.options=R,this.loose=!!R.loose,this.includePrerelease=!!R.includePrerelease;let V=H.trim().match(R.loose?g[D.LOOSE]:g[D.FULL]);if(!V)throw new TypeError("Invalid Version: ".concat(H));if(this.raw=H,this.major=+V[1],this.minor=+V[2],this.patch=+V[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");V[4]?this.prerelease=V[4].split(".").map(I=>{if(/^[0-9]+$/.test(I)){let L=+I;if(L>=0&&L<E)return L}return I}):this.prerelease=[],this.build=V[5]?V[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(H){if(m("SemVer.compare",this.version,this.options,H),!(H instanceof B)){if(typeof H=="string"&&H===this.version)return 0;H=new B(H,this.options)}return H.version===this.version?0:this.compareMain(H)||this.comparePre(H)}compareMain(H){return H instanceof B||(H=new B(H,this.options)),F(this.major,H.major)||F(this.minor,H.minor)||F(this.patch,H.patch)}comparePre(H){if(H instanceof B||(H=new B(H,this.options)),this.prerelease.length&&!H.prerelease.length)return-1;if(!this.prerelease.length&&H.prerelease.length)return 1;if(!this.prerelease.length&&!H.prerelease.length)return 0;let R=0;do{let V=this.prerelease[R],I=H.prerelease[R];if(m("prerelease compare",R,V,I),V===void 0&&I===void 0)return 0;if(I===void 0)return 1;if(V===void 0)return-1;if(V!==I)return F(V,I)}while(++R)}compareBuild(H){H instanceof B||(H=new B(H,this.options));let R=0;do{let V=this.build[R],I=H.build[R];if(m("prerelease compare",R,V,I),V===void 0&&I===void 0)return 0;if(I===void 0)return 1;if(V===void 0)return-1;if(V!==I)return F(V,I)}while(++R)}inc(H,R){switch(H){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",R);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",R);break;case"prepatch":this.prerelease.length=0,this.inc("patch",R),this.inc("pre",R);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",R),this.inc("pre",R);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 V=this.prerelease.length;for(;--V>=0;)typeof this.prerelease[V]=="number"&&(this.prerelease[V]++,V=-2);V===-1&&this.prerelease.push(0)}R&&(F(this.prerelease[0],R)===0?isNaN(this.prerelease[1])&&(this.prerelease=[R,0]):this.prerelease=[R,0]);break;default:throw new Error("invalid increment argument: ".concat(H))}return this.format(),this.raw=this.version,this}};A.exports=B}}),Bu=ft({"node_modules/semver/functions/compare.js"(d,A){_();var m=Io(),b=(E,g,D)=>new m(E,D).compare(new m(g,D));A.exports=b}}),nl=ft({"node_modules/semver/functions/lt.js"(d,A){_();var m=Bu(),b=(E,g,D)=>m(E,g,D)<0;A.exports=b}}),Cl=ft({"node_modules/semver/functions/gte.js"(d,A){_();var m=Bu(),b=(E,g,D)=>m(E,g,D)>=0;A.exports=b}}),El=ft({"src/utils/arrayify.js"(d,A){_(),A.exports=(m,b)=>Object.entries(m).map(E=>{let[g,D]=E;return Object.assign({[b]:g},D)})}}),Oo=ft({"node_modules/outdent/lib/index.js"(d,A){_(),Object.defineProperty(d,"__esModule",{value:!0}),d.outdent=void 0;function m(){for(var J=[],ee=0;ee<arguments.length;ee++)J[ee]=arguments[ee]}function b(){return typeof WeakMap<"u"?new WeakMap:E()}function E(){return{add:m,delete:m,get:m,set:m,has:function(J){return!1}}}var g=Object.prototype.hasOwnProperty,D=function(J,ee){return g.call(J,ee)};function w(J,ee){for(var ue in ee)D(ee,ue)&&(J[ue]=ee[ue]);return J}var F=/^[ \t]*(?:\r\n|\r|\n)/,B=/(?:\r\n|\r|\n)[ \t]*$/,H=/^(?:[\r\n]|$)/,R=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,V=/^[ \t]*[\r\n][ \t\r\n]*$/;function I(J,ee,ue){var ge=0,de=J[0].match(R);de&&(ge=de[1].length);var De="(\\r\\n|\\r|\\n).{0,"+ge+"}",W=new RegExp(De,"g");ee&&(J=J.slice(1));var M=ue.newline,U=ue.trimLeadingNewline,X=ue.trimTrailingNewline,P=typeof M=="string",G=J.length,q=J.map(function(se,te){return se=se.replace(W,"$1"),te===0&&U&&(se=se.replace(F,"")),te===G-1&&X&&(se=se.replace(B,"")),P&&(se=se.replace(/\r\n|\n|\r/g,function(ne){return M})),se});return q}function L(J,ee){for(var ue="",ge=0,de=J.length;ge<de;ge++)ue+=J[ge],ge<de-1&&(ue+=ee[ge]);return ue}function z(J){return D(J,"raw")&&D(J,"length")}function ce(J){var ee=b(),ue=b();function ge(De){for(var W=[],M=1;M<arguments.length;M++)W[M-1]=arguments[M];if(z(De)){var U=De,X=(W[0]===ge||W[0]===fe)&&V.test(U[0])&&H.test(U[1]),P=X?ue:ee,G=P.get(U);if(G||(G=I(U,X,J),P.set(U,G)),W.length===0)return G[0];var q=L(G,X?W.slice(1):W);return q}else return ce(w(w({},J),De||{}))}var de=w(ge,{string:function(De){return I([De],!1,J)[0]}});return de}var fe=ce({trimLeadingNewline:!0,trimTrailingNewline:!0});if(d.outdent=fe,d.default=fe,typeof A<"u")try{A.exports=fe,Object.defineProperty(fe,"__esModule",{value:!0}),fe.default=fe,fe.outdent=fe}catch{}}}),Ia=ft({"src/main/core-options.js"(d,A){_();var{outdent:m}=Oo(),b="Config",E="Editor",g="Format",D="Other",w="Output",F="Global",B="Special",H={cursorOffset:{since:"1.4.0",category:B,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:m(ze||(ze=rn([`
|
|
34
|
-
Print (to stderr) where a cursor at the given position would move to after formatting.
|
|
35
|
-
This option cannot be used with --range-start and --range-end.
|
|
36
|
-
`]))),cliCategory:E},endOfLine:{since:"1.15.0",category:F,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:m(Qe||(Qe=rn([`
|
|
37
|
-
Maintain existing
|
|
38
|
-
(mixed values within one file are normalised by looking at what's used after the first line)
|
|
39
|
-
`])))}]},filepath:{since:"1.4.0",category:B,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:D,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:B,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:D},parser:{since:"0.0.10",category:F,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:R=>typeof R=="string"||typeof R=="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:F,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:R=>typeof R=="string"||typeof R=="object",cliName:"plugin",cliCategory:b},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:F,description:m(ut||(ut=rn([`
|
|
40
|
-
Custom directory that contains prettier plugins in node_modules subdirectory.
|
|
41
|
-
Overrides default behavior when plugins are searched relatively to the location of Prettier.
|
|
42
|
-
Multiple values are accepted.
|
|
43
|
-
`]))),exception:R=>typeof R=="string"||typeof R=="object",cliName:"plugin-search-dir",cliCategory:b},printWidth:{since:"0.0.0",category:F,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:B,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:m(xt||(xt=rn([`
|
|
44
|
-
Format code ending at a given character offset (exclusive).
|
|
45
|
-
The range will extend forwards to the end of the selected statement.
|
|
46
|
-
This option cannot be used with --cursor-offset.
|
|
47
|
-
`]))),cliCategory:E},rangeStart:{since:"1.4.0",category:B,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:m(Kt||(Kt=rn([`
|
|
48
|
-
Format code starting at a given character offset.
|
|
49
|
-
The range will extend backwards to the start of the first line containing the selected statement.
|
|
50
|
-
This option cannot be used with --cursor-offset.
|
|
51
|
-
`]))),cliCategory:E},requirePragma:{since:"1.7.0",category:B,type:"boolean",default:!1,description:m(or||(or=rn([`
|
|
52
|
-
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
53
|
-
in order for it to be formatted.
|
|
54
|
-
`]))),cliCategory:D},tabWidth:{type:"int",category:F,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:F,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:F,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."}]}};A.exports={CATEGORY_CONFIG:b,CATEGORY_EDITOR:E,CATEGORY_FORMAT:g,CATEGORY_OTHER:D,CATEGORY_OUTPUT:w,CATEGORY_GLOBAL:F,CATEGORY_SPECIAL:B,options:H}}}),Xs=ft({"src/main/support.js"(d,A){_();var m={compare:Bu(),lt:nl(),gte:Cl()},b=El(),E=at().version,g=Ia().options;function D(){let{plugins:F=[],showUnreleased:B=!1,showDeprecated:H=!1,showInternal:R=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},V=E.split("-",1)[0],I=F.flatMap(J=>J.languages||[]).filter(z),L=b(Object.assign({},...F.map(J=>{let{options:ee}=J;return ee}),g),"name").filter(J=>z(J)&&ce(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)=>m.compare(ge.since,ue.since))[0].value),Array.isArray(J.choices)&&(J.choices=J.choices.filter(ue=>z(ue)&&ce(ue)),J.name==="parser"&&w(J,I,F));let ee=Object.fromEntries(F.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:L};function z(J){return B||!("since"in J)||J.since&&m.gte(V,J.since)}function ce(J){return H||!("deprecated"in J)||J.deprecated&&m.lt(V,J.deprecated)}function fe(J){return R?J:xr(J,me)}}function w(F,B,H){let R=new Set(F.choices.map(V=>V.value));for(let V of B)if(V.parsers){for(let I of V.parsers)if(!R.has(I)){R.add(I);let L=H.find(ce=>ce.parsers&&ce.parsers[I]),z=V.name;L&&L.name&&(z+=" (plugin: ".concat(L.name,")")),F.choices.push({value:I,description:z})}}}A.exports={getSupportInfo:D}}}),Da=ft({"src/utils/is-non-empty-array.js"(d,A){_();function m(b){return Array.isArray(b)&&b.length>0}A.exports=m}}),Ha=ft({"src/utils/text/skip.js"(d,A){_();function m(w){return(F,B,H)=>{let R=H&&H.backwards;if(B===!1)return!1;let{length:V}=F,I=B;for(;I>=0&&I<V;){let L=F.charAt(I);if(w instanceof RegExp){if(!w.test(L))return I}else if(!w.includes(L))return I;R?I--:I++}return I===-1||I===V?I:!1}}var b=m(/\s/),E=m(" "),g=m(",; "),D=m(/[^\n\r]/);A.exports={skipWhitespace:b,skipSpaces:E,skipToLineEnd:g,skipEverythingButNewLine:D}}}),$a=ft({"src/utils/text/skip-inline-comment.js"(d,A){_();function m(b,E){if(E===!1)return!1;if(b.charAt(E)==="/"&&b.charAt(E+1)==="*"){for(let g=E+2;g<b.length;++g)if(b.charAt(g)==="*"&&b.charAt(g+1)==="/")return g+2}return E}A.exports=m}}),va=ft({"src/utils/text/skip-trailing-comment.js"(d,A){_();var{skipEverythingButNewLine:m}=Ha();function b(E,g){return g===!1?!1:E.charAt(g)==="/"&&E.charAt(g+1)==="/"?m(E,g):g}A.exports=b}}),Lo=ft({"src/utils/text/skip-newline.js"(d,A){_();function m(b,E,g){let D=g&&g.backwards;if(E===!1)return!1;let w=b.charAt(E);if(D){if(b.charAt(E-1)==="\r"&&w===`
|
|
55
|
-
`)return E-2;if(w===`
|
|
56
|
-
`||w==="\r"||w==="\u2028"||w==="\u2029")return E-1}else{if(w==="\r"&&b.charAt(E+1)===`
|
|
57
|
-
`)return E+2;if(w===`
|
|
58
|
-
`||w==="\r"||w==="\u2028"||w==="\u2029")return E+1}return E}A.exports=m}}),Du=ft({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(d,A){_();var m=$a(),b=Lo(),E=va(),{skipSpaces:g}=Ha();function D(w,F){let B=null,H=F;for(;H!==B;)B=H,H=g(w,H),H=m(w,H),H=E(w,H),H=b(w,H);return H}A.exports=D}}),Ki=ft({"src/common/util.js"(d,A){_();var{default:m}=(tl(),Xi(yu)),b=Ji(),{getSupportInfo:E}=Xs(),g=Da(),D=mu(),{skipWhitespace:w,skipSpaces:F,skipToLineEnd:B,skipEverythingButNewLine:H}=Ha(),R=$a(),V=va(),I=Lo(),L=Du(),z=Ke=>Ke[Ke.length-2];function ce(Ke){return(qe,pt,Bt)=>{let wt=Bt&&Bt.backwards;if(pt===!1)return!1;let{length:ur}=qe,Ue=pt;for(;Ue>=0&&Ue<ur;){let tt=qe.charAt(Ue);if(Ke instanceof RegExp){if(!Ke.test(tt))return Ue}else if(!Ke.includes(tt))return Ue;wt?Ue--:Ue++}return Ue===-1||Ue===ur?Ue:!1}}function fe(Ke,qe){let pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Bt=F(Ke,pt.backwards?qe-1:qe,pt),wt=I(Ke,Bt,pt);return Bt!==wt}function J(Ke,qe,pt){for(let Bt=qe;Bt<pt;++Bt)if(Ke.charAt(Bt)===`
|
|
59
|
-
`)return!0;return!1}function ee(Ke,qe,pt){let Bt=pt(qe)-1;Bt=F(Ke,Bt,{backwards:!0}),Bt=I(Ke,Bt,{backwards:!0}),Bt=F(Ke,Bt,{backwards:!0});let wt=I(Ke,Bt,{backwards:!0});return Bt!==wt}function ue(Ke,qe){let pt=null,Bt=qe;for(;Bt!==pt;)pt=Bt,Bt=B(Ke,Bt),Bt=R(Ke,Bt),Bt=F(Ke,Bt);return Bt=V(Ke,Bt),Bt=I(Ke,Bt),Bt!==!1&&fe(Ke,Bt)}function ge(Ke,qe,pt){return ue(Ke,pt(qe))}function de(Ke,qe,pt){return L(Ke,pt(qe))}function De(Ke,qe,pt){return Ke.charAt(de(Ke,qe,pt))}function W(Ke,qe){let pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return F(Ke,pt.backwards?qe-1:qe,pt)!==qe}function M(Ke,qe){let pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,Bt=0;for(let wt=pt;wt<Ke.length;++wt)Ke[wt]===" "?Bt=Bt+qe-Bt%qe:Bt++;return Bt}function U(Ke,qe){let pt=Ke.lastIndexOf(`
|
|
60
|
-
`);return pt===-1?0:M(Ke.slice(pt+1).match(/^[\t ]*/)[0],qe)}function X(Ke,qe){let pt={quote:'"',regex:/"/g,escaped:"""},Bt={quote:"'",regex:/'/g,escaped:"'"},wt=qe==="'"?Bt:pt,ur=wt===Bt?pt:Bt,Ue=wt;if(Ke.includes(wt.quote)||Ke.includes(ur.quote)){let tt=(Ke.match(wt.regex)||[]).length,rr=(Ke.match(ur.regex)||[]).length;Ue=tt>rr?ur:wt}return Ue}function P(Ke,qe){let pt=Ke.slice(1,-1),Bt=qe.parser==="json"||qe.parser==="json5"&&qe.quoteProps==="preserve"&&!qe.singleQuote?'"':qe.__isInHtmlAttribute?"'":X(pt,qe.singleQuote?"'":'"').quote;return G(pt,Bt,!(qe.parser==="css"||qe.parser==="less"||qe.parser==="scss"||qe.__embeddedInHtml))}function G(Ke,qe,pt){let Bt=qe==='"'?"'":'"',wt=/\\(.)|(["'])/gs,ur=Ke.replace(wt,(Ue,tt,rr)=>tt===Bt?tt:rr===qe?"\\"+rr:rr||(pt&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(tt)?tt:"\\"+tt));return qe+ur+qe}function q(Ke){return Ke.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(Ke,qe){let pt=Ke.match(new RegExp("(".concat(m(qe),")+"),"g"));return pt===null?0:pt.reduce((Bt,wt)=>Math.max(Bt,wt.length/qe.length),0)}function te(Ke,qe){let pt=Ke.match(new RegExp("(".concat(m(qe),")+"),"g"));if(pt===null)return 0;let Bt=new Map,wt=0;for(let ur of pt){let Ue=ur.length/qe.length;Bt.set(Ue,!0),Ue>wt&&(wt=Ue)}for(let ur=1;ur<wt;ur++)if(!Bt.get(ur))return ur;return wt+1}function ne(Ke,qe){(Ke.comments||(Ke.comments=[])).push(qe),qe.printed=!1,qe.nodeDescription=Dt(Ke)}function Ce(Ke,qe){qe.leading=!0,qe.trailing=!1,ne(Ke,qe)}function Re(Ke,qe,pt){qe.leading=!1,qe.trailing=!1,pt&&(qe.marker=pt),ne(Ke,qe)}function Pe(Ke,qe){qe.leading=!1,qe.trailing=!0,ne(Ke,qe)}function Ve(Ke,qe){let{languages:pt}=E({plugins:qe.plugins}),Bt=pt.find(wt=>{let{name:ur}=wt;return ur.toLowerCase()===Ke})||pt.find(wt=>{let{aliases:ur}=wt;return Array.isArray(ur)&&ur.includes(Ke)})||pt.find(wt=>{let{extensions:ur}=wt;return Array.isArray(ur)&&ur.includes(".".concat(Ke))});return Bt&&Bt.parsers[0]}function He(Ke){return Ke&&Ke.type==="front-matter"}function Le(Ke){let qe=new WeakMap;return function(pt){return qe.has(pt)||qe.set(pt,Symbol(Ke)),qe.get(pt)}}function Dt(Ke){let qe=Ke.type||Ke.kind||"(unknown type)",pt=String(Ke.name||Ke.id&&(typeof Ke.id=="object"?Ke.id.name:Ke.id)||Ke.key&&(typeof Ke.key=="object"?Ke.key.name:Ke.key)||Ke.value&&(typeof Ke.value=="object"?"":String(Ke.value))||Ke.operator||"");return pt.length>20&&(pt=pt.slice(0,19)+"\u2026"),qe+(pt?" "+pt:"")}A.exports={inferParserByLanguage:Ve,getStringWidth:D,getMaxContinuousCount:se,getMinNotPresentContinuousCount:te,getPenultimate:z,getLast:b,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:L,getNextNonSpaceNonCommentCharacterIndex:de,getNextNonSpaceNonCommentCharacter:De,skip:ce,skipWhitespace:w,skipSpaces:F,skipToLineEnd:B,skipEverythingButNewLine:H,skipInlineComment:R,skipTrailingComment:V,skipNewline:I,isNextLineEmptyAfterIndex:ue,isNextLineEmpty:ge,isPreviousLineEmpty:ee,hasNewline:fe,hasNewlineInRange:J,hasSpaces:W,getAlignmentSize:M,getIndentSize:U,getPreferredQuote:X,printString:P,printNumber:q,makeString:G,addLeadingComment:Ce,addDanglingComment:Re,addTrailingComment:Pe,isFrontMatterNode:He,isNonEmptyArray:g,createGroupIdMapper:Le}}}),Mo={};qi(Mo,{basename:()=>Qn,default:()=>ni,delimiter:()=>ai,dirname:()=>xo,extname:()=>An,isAbsolute:()=>ru,join:()=>vu,normalize:()=>xa,relative:()=>Ro,resolve:()=>jo,sep:()=>Zn});function _u(d,A){for(var m=0,b=d.length-1;b>=0;b--){var E=d[b];E==="."?d.splice(b,1):E===".."?(d.splice(b,1),m++):m&&(d.splice(b,1),m--)}if(A)for(;m--;m)d.unshift("..");return d}function jo(){for(var d="",A=!1,m=arguments.length-1;m>=-1&&!A;m--){var b=m>=0?arguments[m]:"/";if(typeof b!="string")throw new TypeError("Arguments to path.resolve must be strings");!b||(d=b+"/"+d,A=b.charAt(0)==="/")}return d=_u(yn(d.split("/"),function(E){return!!E}),!A).join("/"),(A?"/":"")+d||"."}function xa(d){var A=ru(d),m=wi(d,-1)==="/";return d=_u(yn(d.split("/"),function(b){return!!b}),!A).join("/"),!d&&!A&&(d="."),d&&m&&(d+="/"),(A?"/":"")+d}function ru(d){return d.charAt(0)==="/"}function vu(){var d=Array.prototype.slice.call(arguments,0);return xa(yn(d,function(A,m){if(typeof A!="string")throw new TypeError("Arguments to path.join must be strings");return A}).join("/"))}function Ro(d,A){d=jo(d).substr(1),A=jo(A).substr(1);function m(B){for(var H=0;H<B.length&&B[H]==="";H++);for(var R=B.length-1;R>=0&&B[R]==="";R--);return H>R?[]:B.slice(H,R-H+1)}for(var b=m(d.split("/")),E=m(A.split("/")),g=Math.min(b.length,E.length),D=g,w=0;w<g;w++)if(b[w]!==E[w]){D=w;break}for(var F=[],w=D;w<b.length;w++)F.push("..");return F=F.concat(E.slice(D)),F.join("/")}function xo(d){var A=pn(d),m=A[0],b=A[1];return!m&&!b?".":(b&&(b=b.substr(0,b.length-1)),m+b)}function Qn(d,A){var m=pn(d)[2];return A&&m.substr(-1*A.length)===A&&(m=m.substr(0,m.length-A.length)),m}function An(d){return pn(d)[3]}function yn(d,A){if(d.filter)return d.filter(A);for(var m=[],b=0;b<d.length;b++)A(d[b],b,d)&&m.push(d[b]);return m}var ln,pn,Zn,ai,ni,wi,Wi=es({"node-modules-polyfills:path"(){_(),ln=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,pn=function(d){return ln.exec(d).slice(1)},Zn="/",ai=":",ni={extname:An,basename:Qn,dirname:xo,sep:Zn,delimiter:ai,relative:Ro,join:vu,isAbsolute:ru,normalize:xa,resolve:jo},wi="ab".substr(-1)==="b"?function(d,A,m){return d.substr(A,m)}:function(d,A,m){return A<0&&(A=d.length+A),d.substr(A,m)}}}),Qi=ft({"node-modules-polyfills-commonjs:path"(d,A){_();var m=(Wi(),Xi(Mo));if(m&&m.default){A.exports=m.default;for(let b in m)A.exports[b]=m[b]}else m&&(A.exports=m)}}),ti=ft({"src/common/errors.js"(d,A){_();var m=class extends Error{},b=class extends Error{},E=class extends Error{},g=class extends Error{};A.exports={ConfigError:m,DebugError:b,UndefinedParserError:E,ArgExpansionBailout:g}}}),Pi={};qi(Pi,{__assign:()=>Ln,__asyncDelegator:()=>et,__asyncGenerator:()=>ie,__asyncValues:()=>Ct,__await:()=>Fi,__awaiter:()=>ji,__classPrivateFieldGet:()=>Et,__classPrivateFieldSet:()=>Ut,__createBinding:()=>js,__decorate:()=>ks,__exportStar:()=>Oa,__extends:()=>ls,__generator:()=>dt,__importDefault:()=>lt,__importStar:()=>er,__makeTemplateObject:()=>kt,__metadata:()=>is,__param:()=>da,__read:()=>Co,__rest:()=>Mi,__spread:()=>qs,__spreadArrays:()=>Bi,__values:()=>$s});function ls(d,A){Yt(d,A);function m(){this.constructor=d}d.prototype=A===null?Object.create(A):(m.prototype=A.prototype,new m)}function Mi(d,A){var m={};for(var b in d)Object.prototype.hasOwnProperty.call(d,b)&&A.indexOf(b)<0&&(m[b]=d[b]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,b=Object.getOwnPropertySymbols(d);E<b.length;E++)A.indexOf(b[E])<0&&Object.prototype.propertyIsEnumerable.call(d,b[E])&&(m[b[E]]=d[b[E]]);return m}function ks(d,A,m,b){var E=arguments.length,g=E<3?A:b===null?b=Object.getOwnPropertyDescriptor(A,m):b,D;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(d,A,m,b);else for(var w=d.length-1;w>=0;w--)(D=d[w])&&(g=(E<3?D(g):E>3?D(A,m,g):D(A,m))||g);return E>3&&g&&Object.defineProperty(A,m,g),g}function da(d,A){return function(m,b){A(m,b,d)}}function is(d,A){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(d,A)}function ji(d,A,m,b){function E(g){return g instanceof m?g:new m(function(D){D(g)})}return new(m||(m=Promise))(function(g,D){function w(H){try{B(b.next(H))}catch(R){D(R)}}function F(H){try{B(b.throw(H))}catch(R){D(R)}}function B(H){H.done?g(H.value):E(H.value).then(w,F)}B((b=b.apply(d,A||[])).next())})}function dt(d,A){var m={label:0,sent:function(){if(g[0]&1)throw g[1];return g[1]},trys:[],ops:[]},b,E,g,D;return D={next:w(0),throw:w(1),return:w(2)},typeof Symbol=="function"&&(D[Symbol.iterator]=function(){return this}),D;function w(B){return function(H){return F([B,H])}}function F(B){if(b)throw new TypeError("Generator is already executing.");for(;m;)try{if(b=1,E&&(g=B[0]&2?E.return:B[0]?E.throw||((g=E.return)&&g.call(E),0):E.next)&&!(g=g.call(E,B[1])).done)return g;switch(E=0,g&&(B=[B[0]&2,g.value]),B[0]){case 0:case 1:g=B;break;case 4:return m.label++,{value:B[1],done:!1};case 5:m.label++,E=B[1],B=[0];continue;case 7:B=m.ops.pop(),m.trys.pop();continue;default:if(g=m.trys,!(g=g.length>0&&g[g.length-1])&&(B[0]===6||B[0]===2)){m=0;continue}if(B[0]===3&&(!g||B[1]>g[0]&&B[1]<g[3])){m.label=B[1];break}if(B[0]===6&&m.label<g[1]){m.label=g[1],g=B;break}if(g&&m.label<g[2]){m.label=g[2],m.ops.push(B);break}g[2]&&m.ops.pop(),m.trys.pop();continue}B=A.call(d,m)}catch(H){B=[6,H],E=0}finally{b=g=0}if(B[0]&5)throw B[1];return{value:B[0]?B[1]:void 0,done:!0}}}function js(d,A,m,b){b===void 0&&(b=m),d[b]=A[m]}function Oa(d,A){for(var m in d)m!=="default"&&!A.hasOwnProperty(m)&&(A[m]=d[m])}function $s(d){var A=typeof Symbol=="function"&&Symbol.iterator,m=A&&d[A],b=0;if(m)return m.call(d);if(d&&typeof d.length=="number")return{next:function(){return d&&b>=d.length&&(d=void 0),{value:d&&d[b++],done:!d}}};throw new TypeError(A?"Object is not iterable.":"Symbol.iterator is not defined.")}function Co(d,A){var m=typeof Symbol=="function"&&d[Symbol.iterator];if(!m)return d;var b=m.call(d),E,g=[],D;try{for(;(A===void 0||A-- >0)&&!(E=b.next()).done;)g.push(E.value)}catch(w){D={error:w}}finally{try{E&&!E.done&&(m=b.return)&&m.call(b)}finally{if(D)throw D.error}}return g}function qs(){for(var d=[],A=0;A<arguments.length;A++)d=d.concat(Co(arguments[A]));return d}function Bi(){for(var d=0,A=0,m=arguments.length;A<m;A++)d+=arguments[A].length;for(var b=Array(d),E=0,A=0;A<m;A++)for(var g=arguments[A],D=0,w=g.length;D<w;D++,E++)b[E]=g[D];return b}function Fi(d){return this instanceof Fi?(this.v=d,this):new Fi(d)}function ie(d,A,m){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var b=m.apply(d,A||[]),E,g=[];return E={},D("next"),D("throw"),D("return"),E[Symbol.asyncIterator]=function(){return this},E;function D(V){b[V]&&(E[V]=function(I){return new Promise(function(L,z){g.push([V,I,L,z])>1||w(V,I)})})}function w(V,I){try{F(b[V](I))}catch(L){R(g[0][3],L)}}function F(V){V.value instanceof Fi?Promise.resolve(V.value.v).then(B,H):R(g[0][2],V)}function B(V){w("next",V)}function H(V){w("throw",V)}function R(V,I){V(I),g.shift(),g.length&&w(g[0][0],g[0][1])}}function et(d){var A,m;return A={},b("next"),b("throw",function(E){throw E}),b("return"),A[Symbol.iterator]=function(){return this},A;function b(E,g){A[E]=d[E]?function(D){return(m=!m)?{value:Fi(d[E](D)),done:E==="return"}:g?g(D):D}:g}}function Ct(d){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var A=d[Symbol.asyncIterator],m;return A?A.call(d):(d=typeof $s=="function"?$s(d):d[Symbol.iterator](),m={},b("next"),b("throw"),b("return"),m[Symbol.asyncIterator]=function(){return this},m);function b(g){m[g]=d[g]&&function(D){return new Promise(function(w,F){D=d[g](D),E(w,F,D.done,D.value)})}}function E(g,D,w,F){Promise.resolve(F).then(function(B){g({value:B,done:w})},D)}}function kt(d,A){return Object.defineProperty?Object.defineProperty(d,"raw",{value:A}):d.raw=A,d}function er(d){if(d&&d.__esModule)return d;var A={};if(d!=null)for(var m in d)Object.hasOwnProperty.call(d,m)&&(A[m]=d[m]);return A.default=d,A}function lt(d){return d&&d.__esModule?d:{default:d}}function Et(d,A){if(!A.has(d))throw new TypeError("attempted to get private field on non-instance");return A.get(d)}function Ut(d,A,m){if(!A.has(d))throw new TypeError("attempted to set private field on non-instance");return A.set(d,m),m}var Yt,Ln,ct=es({"node_modules/tslib/tslib.es6.js"(){_(),Yt=function(d,A){return Yt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,b){m.__proto__=b}||function(m,b){for(var E in b)b.hasOwnProperty(E)&&(m[E]=b[E])},Yt(d,A)},Ln=function(){return Ln=Object.assign||function(d){for(var A,m=1,b=arguments.length;m<b;m++){A=arguments[m];for(var E in A)Object.prototype.hasOwnProperty.call(A,E)&&(d[E]=A[E])}return d},Ln.apply(this,arguments)}}}),Ht=ft({"node_modules/vnopts/lib/descriptors/api.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0}),d.apiDescriptor={key:A=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(A)?A:JSON.stringify(A),value(A){if(A===null||typeof A!="object")return JSON.stringify(A);if(Array.isArray(A))return"[".concat(A.map(b=>d.apiDescriptor.value(b)).join(", "),"]");let m=Object.keys(A);return m.length===0?"{}":"{ ".concat(m.map(b=>"".concat(d.apiDescriptor.key(b),": ").concat(d.apiDescriptor.value(A[b]))).join(", ")," }")},pair:A=>{let{key:m,value:b}=A;return d.apiDescriptor.value({[m]:b})}}}}),nr=ft({"node_modules/vnopts/lib/descriptors/index.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=(ct(),Xi(Pi));A.__exportStar(Ht(),d)}}),jr=ft({"scripts/build/shims/chalk.cjs"(d,A){_();var m=b=>b;m.grey=m,m.red=m,m.bold=m,m.yellow=m,m.blue=m,m.default=m,A.exports=m}}),Tr=ft({"node_modules/vnopts/lib/handlers/deprecated/common.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=jr();d.commonDeprecatedHandler=(m,b,E)=>{let{descriptor:g}=E,D=["".concat(A.default.yellow(typeof m=="string"?g.key(m):g.pair(m))," is deprecated")];return b&&D.push("we now treat it as ".concat(A.default.blue(typeof b=="string"?g.key(b):g.pair(b)))),D.join("; ")+"."}}}),Kr=ft({"node_modules/vnopts/lib/handlers/deprecated/index.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=(ct(),Xi(Pi));A.__exportStar(Tr(),d)}}),Rr=ft({"node_modules/vnopts/lib/handlers/invalid/common.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=jr();d.commonInvalidHandler=(m,b,E)=>["Invalid ".concat(A.default.red(E.descriptor.key(m))," value."),"Expected ".concat(A.default.blue(E.schemas[m].expected(E)),","),"but received ".concat(A.default.red(E.descriptor.value(b)),".")].join(" ")}}),Tn=ft({"node_modules/vnopts/lib/handlers/invalid/index.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=(ct(),Xi(Pi));A.__exportStar(Rr(),d)}}),Bn=ft({"node_modules/vnopts/node_modules/leven/index.js"(d,A){_();var m=[],b=[];A.exports=function(E,g){if(E===g)return 0;var D=E;E.length>g.length&&(E=g,g=D);var w=E.length,F=g.length;if(w===0)return F;if(F===0)return w;for(;w>0&&E.charCodeAt(~-w)===g.charCodeAt(~-F);)w--,F--;if(w===0)return F;for(var B=0;B<w&&E.charCodeAt(B)===g.charCodeAt(B);)B++;if(w-=B,F-=B,w===0)return F;for(var H,R,V,I,L=0,z=0;L<w;)b[B+L]=E.charCodeAt(B+L),m[L]=++L;for(;z<F;)for(H=g.charCodeAt(B+z),V=z++,R=z,L=0;L<w;L++)I=H===b[B+L]?V:V+1,V=m[L],R=m[L]=V>R?I>R?R+1:I:I>V?V+1:I;return R}}}),jn=ft({"node_modules/vnopts/lib/handlers/unknown/leven.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=jr(),m=Bn();d.levenUnknownHandler=(b,E,g)=>{let{descriptor:D,logger:w,schemas:F}=g,B=["Ignored unknown option ".concat(A.default.yellow(D.pair({key:b,value:E})),".")],H=Object.keys(F).sort().find(R=>m(b,R)<3);H&&B.push("Did you mean ".concat(A.default.blue(D.key(H)),"?")),w.warn(B.join(" "))}}}),Ri=ft({"node_modules/vnopts/lib/handlers/unknown/index.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=(ct(),Xi(Pi));A.__exportStar(jn(),d)}}),ds=ft({"node_modules/vnopts/lib/handlers/index.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=(ct(),Xi(Pi));A.__exportStar(Kr(),d),A.__exportStar(Tn(),d),A.__exportStar(Ri(),d)}}),fn=ft({"node_modules/vnopts/lib/schema.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function m(g,D){let w=new g(D),F=Object.create(w);for(let B of A)B in D&&(F[B]=E(D[B],w,b.prototype[B].length));return F}d.createSchema=m;var b=class{constructor(g){this.name=g.name}static create(g){return m(this,g)}default(g){}expected(g){return"nothing"}validate(g,D){return!1}deprecated(g,D){return!1}forward(g,D){}redirect(g,D){}overlap(g,D,w){return g}preprocess(g,D){return g}postprocess(g,D){return g}};d.Schema=b;function E(g,D,w){return typeof g=="function"?function(){for(var F=arguments.length,B=new Array(F),H=0;H<F;H++)B[H]=arguments[H];return g(...B.slice(0,w-1),D,...B.slice(w-1))}:()=>g}}}),Si=ft({"node_modules/vnopts/lib/schemas/alias.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=fn(),m=class extends A.Schema{constructor(b){super(b),this._sourceName=b.sourceName}expected(b){return b.schemas[this._sourceName].expected(b)}validate(b,E){return E.schemas[this._sourceName].validate(b,E)}redirect(b,E){return this._sourceName}};d.AliasSchema=m}}),_i=ft({"node_modules/vnopts/lib/schemas/any.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=fn(),m=class extends A.Schema{expected(){return"anything"}validate(){return!0}};d.AnySchema=m}}),ts=ft({"node_modules/vnopts/lib/schemas/array.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=(ct(),Xi(Pi)),m=fn(),b=class extends m.Schema{constructor(g){var{valueSchema:D,name:w=D.name}=g,F=A.__rest(g,["valueSchema","name"]);super(Object.assign({},F,{name:w})),this._valueSchema=D}expected(g){return"an array of ".concat(this._valueSchema.expected(g))}validate(g,D){if(!Array.isArray(g))return!1;let w=[];for(let F of g){let B=D.normalizeValidateResult(this._valueSchema.validate(F,D),F);B!==!0&&w.push(B.value)}return w.length===0?!0:{value:w}}deprecated(g,D){let w=[];for(let F of g){let B=D.normalizeDeprecatedResult(this._valueSchema.deprecated(F,D),F);B!==!1&&w.push(...B.map(H=>{let{value:R}=H;return{value:[R]}}))}return w}forward(g,D){let w=[];for(let F of g){let B=D.normalizeForwardResult(this._valueSchema.forward(F,D),F);w.push(...B.map(E))}return w}redirect(g,D){let w=[],F=[];for(let B of g){let H=D.normalizeRedirectResult(this._valueSchema.redirect(B,D),B);"remain"in H&&w.push(H.remain),F.push(...H.redirect.map(E))}return w.length===0?{redirect:F}:{redirect:F,remain:w}}overlap(g,D){return g.concat(D)}};d.ArraySchema=b;function E(g){let{from:D,to:w}=g;return{from:[D],to:w}}}}),ss=ft({"node_modules/vnopts/lib/schemas/boolean.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=fn(),m=class extends A.Schema{expected(){return"true or false"}validate(b){return typeof b=="boolean"}};d.BooleanSchema=m}}),We=ft({"node_modules/vnopts/lib/utils.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});function A(I,L){let z=Object.create(null);for(let ce of I){let fe=ce[L];if(z[fe])throw new Error("Duplicate ".concat(L," ").concat(JSON.stringify(fe)));z[fe]=ce}return z}d.recordFromArray=A;function m(I,L){let z=new Map;for(let ce of I){let fe=ce[L];if(z.has(fe))throw new Error("Duplicate ".concat(L," ").concat(JSON.stringify(fe)));z.set(fe,ce)}return z}d.mapFromArray=m;function b(){let I=Object.create(null);return L=>{let z=JSON.stringify(L);return I[z]?!0:(I[z]=!0,!1)}}d.createAutoChecklist=b;function E(I,L){let z=[],ce=[];for(let fe of I)L(fe)?z.push(fe):ce.push(fe);return[z,ce]}d.partition=E;function g(I){return I===Math.floor(I)}d.isInt=g;function D(I,L){if(I===L)return 0;let z=typeof I,ce=typeof L,fe=["undefined","object","boolean","number","string"];return z!==ce?fe.indexOf(z)-fe.indexOf(ce):z!=="string"?Number(I)-Number(L):I.localeCompare(L)}d.comparePrimitive=D;function w(I){return I===void 0?{}:I}d.normalizeDefaultResult=w;function F(I,L){return I===!0?!0:I===!1?{value:L}:I}d.normalizeValidateResult=F;function B(I,L){let z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return I===!1?!1:I===!0?z?!0:[{value:L}]:"value"in I?[I]:I.length===0?!1:I}d.normalizeDeprecatedResult=B;function H(I,L){return typeof I=="string"||"key"in I?{from:L,to:I}:"from"in I?{from:I.from,to:I.to}:{from:L,to:I.to}}d.normalizeTransferResult=H;function R(I,L){return I===void 0?[]:Array.isArray(I)?I.map(z=>H(z,L)):[H(I,L)]}d.normalizeForwardResult=R;function V(I,L){let z=R(typeof I=="object"&&"redirect"in I?I.redirect:I,L);return z.length===0?{remain:L,redirect:z}:typeof I=="object"&&"remain"in I?{remain:I.remain,redirect:z}:{redirect:z}}d.normalizeRedirectResult=V}}),gt=ft({"node_modules/vnopts/lib/schemas/choice.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=fn(),m=We(),b=class extends A.Schema{constructor(E){super(E),this._choices=m.mapFromArray(E.choices.map(g=>g&&typeof g=="object"?g:{value:g}),"value")}expected(E){let{descriptor:g}=E,D=Array.from(this._choices.keys()).map(B=>this._choices.get(B)).filter(B=>!B.deprecated).map(B=>B.value).sort(m.comparePrimitive).map(g.value),w=D.slice(0,-2),F=D.slice(-2);return w.concat(F.join(" or ")).join(", ")}validate(E){return this._choices.has(E)}deprecated(E){let g=this._choices.get(E);return g&&g.deprecated?{value:E}:!1}forward(E){let g=this._choices.get(E);return g?g.forward:void 0}redirect(E){let g=this._choices.get(E);return g?g.redirect:void 0}};d.ChoiceSchema=b}}),Hr=ft({"node_modules/vnopts/lib/schemas/number.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=fn(),m=class extends A.Schema{expected(){return"a number"}validate(b,E){return typeof b=="number"}};d.NumberSchema=m}}),hr=ft({"node_modules/vnopts/lib/schemas/integer.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=We(),m=Hr(),b=class extends m.NumberSchema{expected(){return"an integer"}validate(E,g){return g.normalizeValidateResult(super.validate(E,g),E)===!0&&A.isInt(E)}};d.IntegerSchema=b}}),wn=ft({"node_modules/vnopts/lib/schemas/string.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=fn(),m=class extends A.Schema{expected(){return"a string"}validate(b){return typeof b=="string"}};d.StringSchema=m}}),Yi=ft({"node_modules/vnopts/lib/schemas/index.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=(ct(),Xi(Pi));A.__exportStar(Si(),d),A.__exportStar(_i(),d),A.__exportStar(ts(),d),A.__exportStar(ss(),d),A.__exportStar(gt(),d),A.__exportStar(hr(),d),A.__exportStar(Hr(),d),A.__exportStar(wn(),d)}}),xs=ft({"node_modules/vnopts/lib/defaults.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=Ht(),m=Tr(),b=Tn(),E=jn();d.defaultDescriptor=A.apiDescriptor,d.defaultUnknownHandler=E.levenUnknownHandler,d.defaultInvalidHandler=b.commonInvalidHandler,d.defaultDeprecatedHandler=m.commonDeprecatedHandler}}),Ms=ft({"node_modules/vnopts/lib/normalize.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=xs(),m=We();d.normalize=(E,g,D)=>new b(g,D).normalize(E);var b=class{constructor(E,g){let{logger:D=console,descriptor:w=A.defaultDescriptor,unknown:F=A.defaultUnknownHandler,invalid:B=A.defaultInvalidHandler,deprecated:H=A.defaultDeprecatedHandler}=g||{};this._utils={descriptor:w,logger:D||{warn:()=>{}},schemas:m.recordFromArray(E,"name"),normalizeDefaultResult:m.normalizeDefaultResult,normalizeDeprecatedResult:m.normalizeDeprecatedResult,normalizeForwardResult:m.normalizeForwardResult,normalizeRedirectResult:m.normalizeRedirectResult,normalizeValidateResult:m.normalizeValidateResult},this._unknownHandler=F,this._invalidHandler=B,this._deprecatedHandler=H,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=m.createAutoChecklist()}normalize(E){let g={},D=[E],w=()=>{for(;D.length!==0;){let F=D.shift(),B=this._applyNormalization(F,g);D.push(...B)}};w();for(let F of Object.keys(this._utils.schemas)){let B=this._utils.schemas[F];if(!(F in g)){let H=m.normalizeDefaultResult(B.default(this._utils));"value"in H&&D.push({[F]:H.value})}}w();for(let F of Object.keys(this._utils.schemas)){let B=this._utils.schemas[F];F in g&&(g[F]=B.postprocess(g[F],this._utils))}return g}_applyNormalization(E,g){let D=[],[w,F]=m.partition(Object.keys(E),B=>B in this._utils.schemas);for(let B of w){let H=this._utils.schemas[B],R=H.preprocess(E[B],this._utils),V=m.normalizeValidateResult(H.validate(R,this._utils),R);if(V!==!0){let{value:ce}=V,fe=this._invalidHandler(B,ce,this._utils);throw typeof fe=="string"?new Error(fe):fe}let I=ce=>{let{from:fe,to:J}=ce;D.push(typeof J=="string"?{[J]:fe}:{[J.key]:J.value})},L=ce=>{let{value:fe,redirectTo:J}=ce,ee=m.normalizeDeprecatedResult(H.deprecated(fe,this._utils),R,!0);if(ee!==!1)if(ee===!0)this._hasDeprecationWarned(B)||this._utils.logger.warn(this._deprecatedHandler(B,J,this._utils));else for(let{value:ue}of ee){let ge={key:B,value:ue};if(!this._hasDeprecationWarned(ge)){let de=typeof J=="string"?{key:J,value:ue}:J;this._utils.logger.warn(this._deprecatedHandler(ge,de,this._utils))}}};m.normalizeForwardResult(H.forward(R,this._utils),R).forEach(I);let z=m.normalizeRedirectResult(H.redirect(R,this._utils),R);if(z.redirect.forEach(I),"remain"in z){let ce=z.remain;g[B]=B in g?H.overlap(g[B],ce,this._utils):ce,L({value:ce})}for(let{from:ce,to:fe}of z.redirect)L({value:ce,redirectTo:fe})}for(let B of F){let H=E[B],R=this._unknownHandler(B,H,this._utils);if(R)for(let V of Object.keys(R)){let I={[V]:R[V]};V in this._utils.schemas?D.push(I):Object.assign(g,I)}}return D}};d.Normalizer=b}}),Hs=ft({"node_modules/vnopts/lib/index.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=(ct(),Xi(Pi));A.__exportStar(nr(),d),A.__exportStar(ds(),d),A.__exportStar(Yi(),d),A.__exportStar(Ms(),d),A.__exportStar(fn(),d)}}),ga=ft({"src/main/options-normalizer.js"(d,A){_();var m=Hs(),b=Ji(),E={key:V=>V.length===1?"-".concat(V):"--".concat(V),value:V=>m.apiDescriptor.value(V),pair:V=>{let{key:I,value:L}=V;return L===!1?"--no-".concat(I):L===!0?E.key(I):L===""?"".concat(E.key(I)," without an argument"):"".concat(E.key(I),"=").concat(L)}},g=V=>{let{colorsModule:I,levenshteinDistance:L}=V;return class extends m.ChoiceSchema{constructor(z){let{name:ce,flags:fe}=z;super({name:ce,choices:fe}),this._flags=[...fe].sort()}preprocess(z,ce){if(typeof z=="string"&&z.length>0&&!this._flags.includes(z)){let fe=this._flags.find(J=>L(J,z)<3);if(fe)return ce.logger.warn(["Unknown flag ".concat(I.yellow(ce.descriptor.value(z)),","),"did you mean ".concat(I.blue(ce.descriptor.value(fe)),"?")].join(" ")),fe}return z}expected(){return"a flag"}}},D;function w(V,I){let{logger:L=!1,isCLI:z=!1,passThrough:ce=!1,colorsModule:fe=null,levenshteinDistance:J=null}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ee=ce?Array.isArray(ce)?(M,U)=>ce.includes(M)?{[M]:U}:void 0:(M,U)=>({[M]:U}):(M,U,X)=>{let P=X.schemas,G=xr(P,be);return m.levenUnknownHandler(M,U,Object.assign(Object.assign({},X),{},{schemas:G}))},ue=z?E:m.apiDescriptor,ge=F(I,{isCLI:z,colorsModule:fe,levenshteinDistance:J}),de=new m.Normalizer(ge,{logger:L,unknown:ee,descriptor:ue}),De=L!==!1;De&&D&&(de._hasDeprecationWarned=D);let W=de.normalize(V);return De&&(D=de._hasDeprecationWarned),z&&W["plugin-search"]===!1&&(W["plugin-search-dir"]=!1),W}function F(V,I){let{isCLI:L,colorsModule:z,levenshteinDistance:ce}=I,fe=[];L&&fe.push(m.AnySchema.create({name:"_"}));for(let J of V)fe.push(B(J,{isCLI:L,optionInfos:V,colorsModule:z,levenshteinDistance:ce})),J.alias&&L&&fe.push(m.AliasSchema.create({name:J.alias,sourceName:J.name}));return fe}function B(V,I){let{isCLI:L,optionInfos:z,colorsModule:ce,levenshteinDistance:fe}=I,{name:J}=V;if(J==="plugin-search-dir"||J==="pluginSearchDirs")return m.AnySchema.create({name:J,preprocess(de){return de===!1||(de=Array.isArray(de)?de:[de]),de},validate(de){return de===!1?!0:de.every(De=>typeof De=="string")},expected(){return"false or paths to plugin search dir"}});let ee={name:J},ue,ge={};switch(V.type){case"int":ue=m.IntegerSchema,L&&(ee.preprocess=Number);break;case"string":ue=m.StringSchema;break;case"choice":ue=m.ChoiceSchema,ee.choices=V.choices.map(de=>typeof de=="object"&&de.redirect?Object.assign(Object.assign({},de),{},{redirect:{to:{key:V.name,value:de.redirect}}}):de);break;case"boolean":ue=m.BooleanSchema;break;case"flag":ue=g({colorsModule:ce,levenshteinDistance:fe}),ee.flags=z.flatMap(de=>[de.alias,de.description&&de.name,de.oppositeDescription&&"no-".concat(de.name)].filter(Boolean));break;case"path":ue=m.StringSchema;break;default:throw new Error("Unexpected type ".concat(V.type))}if(V.exception?ee.validate=(de,De,W)=>V.exception(de)||De.validate(de,W):ee.validate=(de,De,W)=>de===void 0||De.validate(de,W),V.redirect&&(ge.redirect=de=>de?{to:{key:V.redirect.option,value:V.redirect.value}}:void 0),V.deprecated&&(ge.deprecated=!0),L&&!V.array){let de=ee.preprocess||(De=>De);ee.preprocess=(De,W,M)=>W.preprocess(de(Array.isArray(De)?b(De):De),M)}return V.array?m.ArraySchema.create(Object.assign(Object.assign(Object.assign({},L?{preprocess:de=>Array.isArray(de)?de:[de]}:{}),ge),{},{valueSchema:ue.create(ee)})):ue.create(Object.assign(Object.assign({},ee),ge))}function H(V,I,L){return w(V,I,L)}function R(V,I,L){return w(V,I,Object.assign({isCLI:!0},L))}A.exports={normalizeApiOptions:H,normalizeCliOptions:R}}}),Ds=ft({"src/language-js/loc.js"(d,A){_();var m=Da();function b(F,B){let{ignoreDecorators:H}=B||{};if(!H){let R=F.declaration&&F.declaration.decorators||F.decorators;if(m(R))return b(R[0])}return F.range?F.range[0]:F.start}function E(F){return F.range?F.range[1]:F.end}function g(F,B){let H=b(F);return Number.isInteger(H)&&H===b(B)}function D(F,B){let H=E(F);return Number.isInteger(H)&&H===E(B)}function w(F,B){return g(F,B)&&D(F,B)}A.exports={locStart:b,locEnd:E,hasSameLocStart:g,hasSameLoc:w}}}),Ps=ft({"src/main/load-parser.js"(d,A){_(),A.exports=()=>{}}}),Ws=ft({"scripts/build/shims/babel-highlight.cjs"(d,A){_();var m=jr(),b={shouldHighlight:()=>!1,getChalk:()=>m};A.exports=b}}),ha=ft({"node_modules/@babel/code-frame/lib/index.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0}),d.codeFrameColumns=D,d.default=w;var A=Ws(),m=!1;function b(F){return{gutter:F.grey,marker:F.red.bold,message:F.red.bold}}var E=/\r\n|[\n\r\u2028\u2029]/;function g(F,B,H){let R=Object.assign({column:0,line:-1},F.start),V=Object.assign({},R,F.end),{linesAbove:I=2,linesBelow:L=3}=H||{},z=R.line,ce=R.column,fe=V.line,J=V.column,ee=Math.max(z-(I+1),0),ue=Math.min(B.length,fe+L);z===-1&&(ee=0),fe===-1&&(ue=B.length);let ge=fe-z,de={};if(ge)for(let De=0;De<=ge;De++){let W=De+z;if(!ce)de[W]=!0;else if(De===0){let M=B[W-1].length;de[W]=[ce,M-ce+1]}else if(De===ge)de[W]=[0,J];else{let M=B[W-De].length;de[W]=[0,M]}}else ce===J?ce?de[z]=[ce,0]:de[z]=!0:de[z]=[ce,J-ce];return{start:ee,end:ue,markerLines:de}}function D(F,B){let H=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},R=(H.highlightCode||H.forceColor)&&(0,A.shouldHighlight)(H),V=(0,A.getChalk)(H),I=b(V),L=(de,De)=>R?de(De):De,z=F.split(E),{start:ce,end:fe,markerLines:J}=g(B,z,H),ee=B.start&&typeof B.start.column=="number",ue=String(fe).length,ge=(R?(0,A.default)(F,H):F).split(E,fe).slice(ce,fe).map((de,De)=>{let W=ce+1+De,M=" ".concat(W).slice(-ue),U=" ".concat(M," |"),X=J[W],P=!J[W+1];if(X){let G="";if(Array.isArray(X)){let q=de.slice(0,Math.max(X[0]-1,0)).replace(/[^\t]/g," "),se=X[1]||1;G=[`
|
|
61
|
-
`,L(I.gutter,U.replace(/\d/g," "))," ",q,L(I.marker,"^").repeat(se)].join(""),P&&H.message&&(G+=" "+L(I.message,H.message))}return[L(I.marker,">"),L(I.gutter,U),de.length>0?" ".concat(de):"",G].join("")}else return" ".concat(L(I.gutter,U)).concat(de.length>0?" ".concat(de):"")}).join(`
|
|
62
|
-
`);return H.message&&!ee&&(ge="".concat(" ".repeat(ue+1)).concat(H.message,`
|
|
63
|
-
`).concat(ge)),R?V.reset(ge):ge}function w(F,B,H){let R=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!m){m=!0;let V="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(Is.emitWarning)Is.emitWarning(V,"DeprecationWarning");else{let I=new Error(V);I.name="DeprecationWarning",console.warn(new Error(V))}}return H=Math.max(H,0),D(F,{start:{column:H,line:B}},R)}}}),Dn=ft({"src/main/parser.js"(d,A){_();var{ConfigError:m}=ti(),b=Ds();Ps();var{locStart:E,locEnd:g}=b,D=Object.getOwnPropertyNames,w=Object.getOwnPropertyDescriptor;function F(R){let V={};for(let I of R.plugins)if(I.parsers)for(let L of D(I.parsers))Object.defineProperty(V,L,w(I.parsers,L));return V}function B(R){let V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:F(R);if(typeof R.parser=="function")return{parse:R.parser,astFormat:"estree",locStart:E,locEnd:g};if(typeof R.parser=="string"){if(Object.prototype.hasOwnProperty.call(V,R.parser))return V[R.parser];throw new m(`Couldn't resolve parser "`.concat(R.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}function H(R,V){let I=F(V),L=Object.defineProperties({},Object.fromEntries(Object.keys(I).map(ce=>[ce,{enumerable:!0,get(){return I[ce].parse}}]))),z=B(V,I);try{return z.preprocess&&(R=z.preprocess(R,V)),{text:R,ast:z.parse(R,L,V)}}catch(ce){let{loc:fe}=ce;if(fe){let{codeFrameColumns:J}=ha();throw ce.codeFrame=J(R,fe,{highlightCode:!0}),ce.message+=`
|
|
64
|
-
`+ce.codeFrame,ce}throw ce.stack}}A.exports={parse:H,resolveParser:B}}}),Hn=ft({"src/main/options.js"(d,A){_();var m=Qi(),{UndefinedParserError:b}=ti(),{getSupportInfo:E}=Xs(),g=ga(),{resolveParser:D}=Dn(),w={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function F(R){let V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},I=Object.assign({},R),L=E({plugins:R.plugins,showUnreleased:!0,showDeprecated:!0}).options,z=Object.assign(Object.assign({},w),Object.fromEntries(L.filter(ue=>ue.default!==void 0).map(ue=>[ue.name,ue.default])));if(!I.parser){if(!I.filepath)(V.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=H(I.filepath,I.plugins),!I.parser)throw new b("No parser could be inferred for file: ".concat(I.filepath))}let ce=D(g.normalizeApiOptions(I,[L.find(ue=>ue.name==="parser")],{passThrough:!0,logger:!1}));I.astFormat=ce.astFormat,I.locEnd=ce.locEnd,I.locStart=ce.locStart;let fe=B(I);I.printer=fe.printers[I.astFormat];let J=Object.fromEntries(L.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"),g.normalizeApiOptions(I,L,Object.assign({passThrough:Object.keys(w)},V))}function B(R){let{astFormat:V}=R;if(!V)throw new Error("getPlugin() requires astFormat to be set");let I=R.plugins.find(L=>L.printers&&L.printers[V]);if(!I)throw new Error(`Couldn't find plugin for AST format "`.concat(V,'"'));return I}function H(R,V){let I=m.basename(R).toLowerCase(),L=E({plugins:V}).languages.filter(z=>z.since!==null).find(z=>z.extensions&&z.extensions.some(ce=>I.endsWith(ce))||z.filenames&&z.filenames.some(ce=>ce.toLowerCase()===I));return L&&L.parsers[0]}A.exports={normalize:F,hiddenDefaults:w,inferParser:H}}}),li=ft({"src/main/massage-ast.js"(d,A){_();function m(b,E,g){if(Array.isArray(b))return b.map(B=>m(B,E,g)).filter(Boolean);if(!b||typeof b!="object")return b;let D=E.printer.massageAstNode,w;D&&D.ignoredProperties?w=D.ignoredProperties:w=new Set;let F={};for(let[B,H]of Object.entries(b))!w.has(B)&&typeof H!="function"&&(F[B]=m(H,E,b));if(D){let B=D(b,F,g);if(B===null)return;if(B)return B}return F}A.exports=m}}),ci=ft({"scripts/build/shims/assert.cjs"(d,A){_();var m=()=>{};m.ok=m,m.strictEqual=m,A.exports=m}}),ki=ft({"src/main/comments.js"(d,A){_();var m=ci(),{builders:{line:b,hardline:E,breakParent:g,indent:D,lineSuffix:w,join:F,cursor:B}}=bi(),{hasNewline:H,skipNewline:R,skipSpaces:V,isPreviousLineEmpty:I,addLeadingComment:L,addDanglingComment:z,addTrailingComment:ce}=Ki(),fe=new WeakMap;function J(Ce,Re,Pe){if(!Ce)return;let{printer:Ve,locStart:He,locEnd:Le}=Re;if(Pe){if(Ve.canAttachComment&&Ve.canAttachComment(Ce)){let Ke;for(Ke=Pe.length-1;Ke>=0&&!(He(Pe[Ke])<=He(Ce)&&Le(Pe[Ke])<=Le(Ce));--Ke);Pe.splice(Ke+1,0,Ce);return}}else if(fe.has(Ce))return fe.get(Ce);let Dt=Ve.getCommentChildNodes&&Ve.getCommentChildNodes(Ce,Re)||typeof Ce=="object"&&Object.entries(Ce).filter(Ke=>{let[qe]=Ke;return qe!=="enclosingNode"&&qe!=="precedingNode"&&qe!=="followingNode"&&qe!=="tokens"&&qe!=="comments"&&qe!=="parent"}).map(Ke=>{let[,qe]=Ke;return qe});if(Dt){Pe||(Pe=[],fe.set(Ce,Pe));for(let Ke of Dt)J(Ke,Re,Pe);return Pe}}function ee(Ce,Re,Pe,Ve){let{locStart:He,locEnd:Le}=Pe,Dt=He(Re),Ke=Le(Re),qe=J(Ce,Pe),pt,Bt,wt=0,ur=qe.length;for(;wt<ur;){let Ue=wt+ur>>1,tt=qe[Ue],rr=He(tt),gr=Le(tt);if(rr<=Dt&&Ke<=gr)return ee(tt,Re,Pe,tt);if(gr<=Dt){pt=tt,wt=Ue+1;continue}if(Ke<=rr){Bt=tt,ur=Ue;continue}throw new Error("Comment location overlaps with node location")}if(Ve&&Ve.type==="TemplateLiteral"){let{quasis:Ue}=Ve,tt=X(Ue,Re,Pe);pt&&X(Ue,pt,Pe)!==tt&&(pt=null),Bt&&X(Ue,Bt,Pe)!==tt&&(Bt=null)}return{enclosingNode:Ve,precedingNode:pt,followingNode:Bt}}var ue=()=>!1;function ge(Ce,Re,Pe,Ve){if(!Array.isArray(Ce))return;let He=[],{locStart:Le,locEnd:Dt,printer:{handleComments:Ke={}}}=Ve,{avoidAstMutation:qe,ownLine:pt=ue,endOfLine:Bt=ue,remaining:wt=ue}=Ke,ur=Ce.map((Ue,tt)=>Object.assign(Object.assign({},ee(Re,Ue,Ve)),{},{comment:Ue,text:Pe,options:Ve,ast:Re,isLastComment:Ce.length-1===tt}));for(let[Ue,tt]of ur.entries()){let{comment:rr,precedingNode:gr,enclosingNode:tr,followingNode:Ze,text:ot,options:ht,ast:pr,isLastComment:Er}=tt;if(ht.parser==="json"||ht.parser==="json5"||ht.parser==="__js_expression"||ht.parser==="__vue_expression"||ht.parser==="__vue_ts_expression"){if(Le(rr)-Le(pr)<=0){L(pr,rr);continue}if(Dt(rr)-Dt(pr)>=0){ce(pr,rr);continue}}let cn;if(qe?cn=[tt]:(rr.enclosingNode=tr,rr.precedingNode=gr,rr.followingNode=Ze,cn=[rr,ot,ht,pr,Er]),De(ot,ht,ur,Ue))rr.placement="ownLine",pt(...cn)||(Ze?L(Ze,rr):gr?ce(gr,rr):z(tr||pr,rr));else if(W(ot,ht,ur,Ue))rr.placement="endOfLine",Bt(...cn)||(gr?ce(gr,rr):Ze?L(Ze,rr):z(tr||pr,rr));else if(rr.placement="remaining",!wt(...cn))if(gr&&Ze){let Fn=He.length;Fn>0&&He[Fn-1].followingNode!==Ze&&M(He,ot,ht),He.push(tt)}else gr?ce(gr,rr):Ze?L(Ze,rr):z(tr||pr,rr)}if(M(He,Pe,Ve),!qe)for(let Ue of Ce)delete Ue.precedingNode,delete Ue.enclosingNode,delete Ue.followingNode}var de=Ce=>!/[\S\n\u2028\u2029]/.test(Ce);function De(Ce,Re,Pe,Ve){let{comment:He,precedingNode:Le}=Pe[Ve],{locStart:Dt,locEnd:Ke}=Re,qe=Dt(He);if(Le)for(let pt=Ve-1;pt>=0;pt--){let{comment:Bt,precedingNode:wt}=Pe[pt];if(wt!==Le||!de(Ce.slice(Ke(Bt),qe)))break;qe=Dt(Bt)}return H(Ce,qe,{backwards:!0})}function W(Ce,Re,Pe,Ve){let{comment:He,followingNode:Le}=Pe[Ve],{locStart:Dt,locEnd:Ke}=Re,qe=Ke(He);if(Le)for(let pt=Ve+1;pt<Pe.length;pt++){let{comment:Bt,followingNode:wt}=Pe[pt];if(wt!==Le||!de(Ce.slice(qe,Dt(Bt))))break;qe=Ke(Bt)}return H(Ce,qe)}function M(Ce,Re,Pe){let Ve=Ce.length;if(Ve===0)return;let{precedingNode:He,followingNode:Le,enclosingNode:Dt}=Ce[0],Ke=Pe.printer.getGapRegex&&Pe.printer.getGapRegex(Dt)||/^[\s(]*$/,qe=Pe.locStart(Le),pt;for(pt=Ve;pt>0;--pt){let{comment:Bt,precedingNode:wt,followingNode:ur}=Ce[pt-1];m.strictEqual(wt,He),m.strictEqual(ur,Le);let Ue=Re.slice(Pe.locEnd(Bt),qe);if(Ke.test(Ue))qe=Pe.locStart(Bt);else break}for(let[Bt,{comment:wt}]of Ce.entries())Bt<pt?ce(He,wt):L(Le,wt);for(let Bt of[He,Le])Bt.comments&&Bt.comments.length>1&&Bt.comments.sort((wt,ur)=>Pe.locStart(wt)-Pe.locStart(ur));Ce.length=0}function U(Ce,Re){let Pe=Ce.getValue();return Pe.printed=!0,Re.printer.printComment(Ce,Re)}function X(Ce,Re,Pe){let Ve=Pe.locStart(Re)-1;for(let He=1;He<Ce.length;++He)if(Ve<Pe.locStart(Ce[He]))return He-1;return 0}function P(Ce,Re){let Pe=Ce.getValue(),Ve=[U(Ce,Re)],{printer:He,originalText:Le,locStart:Dt,locEnd:Ke}=Re;if(He.isBlockComment&&He.isBlockComment(Pe)){let pt=H(Le,Ke(Pe))?H(Le,Dt(Pe),{backwards:!0})?E:b:" ";Ve.push(pt)}else Ve.push(E);let qe=R(Le,V(Le,Ke(Pe)));return qe!==!1&&H(Le,qe)&&Ve.push(E),Ve}function G(Ce,Re){let Pe=Ce.getValue(),Ve=U(Ce,Re),{printer:He,originalText:Le,locStart:Dt}=Re,Ke=He.isBlockComment&&He.isBlockComment(Pe);if(H(Le,Dt(Pe),{backwards:!0})){let pt=I(Le,Pe,Dt);return w([E,pt?E:"",Ve])}let qe=[" ",Ve];return Ke||(qe=[w(qe),g]),qe}function q(Ce,Re,Pe,Ve){let He=[],Le=Ce.getValue();return!Le||!Le.comments||(Ce.each(()=>{let Dt=Ce.getValue();!Dt.leading&&!Dt.trailing&&(!Ve||Ve(Dt))&&He.push(U(Ce,Re))},"comments"),He.length===0)?"":Pe?F(E,He):D([E,F(E,He)])}function se(Ce,Re,Pe){let Ve=Ce.getValue();if(!Ve)return{};let He=Ve.comments||[];Pe&&(He=He.filter(qe=>!Pe.has(qe)));let Le=Ve===Re.cursorNode;if(He.length===0){let qe=Le?B:"";return{leading:qe,trailing:qe}}let Dt=[],Ke=[];return Ce.each(()=>{let qe=Ce.getValue();if(Pe&&Pe.has(qe))return;let{leading:pt,trailing:Bt}=qe;pt?Dt.push(P(Ce,Re)):Bt&&Ke.push(G(Ce,Re))},"comments"),Le&&(Dt.unshift(B),Ke.push(B)),{leading:Dt,trailing:Ke}}function te(Ce,Re,Pe,Ve){let{leading:He,trailing:Le}=se(Ce,Pe,Ve);return!He&&!Le?Re:[He,Re,Le]}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}}A.exports={attach:ge,printComments:te,printCommentsSeparately:se,printDanglingComments:q,getSortedChildNodes:J,ensureAllCommentsPrinted:ne}}}),Ns=ft({"src/common/ast-path.js"(d,A){_();var m=Ji();function b(D,w){let F=E(D.stack,w);return F===-1?null:D.stack[F]}function E(D,w){for(let F=D.length-1;F>=0;F-=2){let B=D[F];if(B&&!Array.isArray(B)&&--w<0)return F}return-1}var g=class{constructor(D){this.stack=[D]}getName(){let{stack:D}=this,{length:w}=D;return w>1?D[w-2]:null}getValue(){return m(this.stack)}getNode(){let D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return b(this,D)}getParentNode(){let D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return b(this,D+1)}call(D){let{stack:w}=this,{length:F}=w,B=m(w);for(var H=arguments.length,R=new Array(H>1?H-1:0),V=1;V<H;V++)R[V-1]=arguments[V];for(let L of R)B=B[L],w.push(L,B);let I=D(this);return w.length=F,I}callParent(D){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,F=E(this.stack,w+1),B=this.stack.splice(F+1),H=D(this);return this.stack.push(...B),H}each(D){let{stack:w}=this,{length:F}=w,B=m(w);for(var H=arguments.length,R=new Array(H>1?H-1:0),V=1;V<H;V++)R[V-1]=arguments[V];for(let I of R)B=B[I],w.push(I,B);for(let I=0;I<B.length;++I)w.push(I,B[I]),D(this,I,B),w.length-=2;w.length=F}map(D){let w=[];for(var F=arguments.length,B=new Array(F>1?F-1:0),H=1;H<F;H++)B[H-1]=arguments[H];return this.each((R,V,I)=>{w[V]=D(R,V,I)},...B),w}try(D){let{stack:w}=this,F=[...w];try{return D()}finally{w.length=0,w.push(...F)}}match(){let D=this.stack.length-1,w=null,F=this.stack[D--];for(var B=arguments.length,H=new Array(B),R=0;R<B;R++)H[R]=arguments[R];for(let V of H){if(F===void 0)return!1;let I=null;if(typeof w=="number"&&(I=w,w=this.stack[D--],F=this.stack[D--]),V&&!V(F,w,I))return!1;w=this.stack[D--],F=this.stack[D--]}return!0}findAncestor(D){let w=this.stack.length-1,F=null,B=this.stack[w--];for(;B;){let H=null;if(typeof F=="number"&&(H=F,F=this.stack[w--],B=this.stack[w--]),F!==null&&D(B,F,H))return B;F=this.stack[w--],B=this.stack[w--]}}};A.exports=g}}),Ts=ft({"src/main/multiparser.js"(d,A){_();var{utils:{stripTrailingHardline:m}}=bi(),{normalize:b}=Hn(),E=ki();function g(w,F,B,H){if(B.printer.embed&&B.embeddedLanguageFormatting==="auto")return B.printer.embed(w,F,(R,V,I)=>D(R,V,B,H,I),B)}function D(w,F,B,H){let{stripTrailingHardline:R=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},V=b(Object.assign(Object.assign(Object.assign({},B),F),{},{parentParser:B.parser,originalText:w}),{passThrough:!0}),I=Dn().parse(w,V),{ast:L}=I;w=I.text;let z=L.comments;delete L.comments,E.attach(z,L,w,V),V[Symbol.for("comments")]=z||[],V[Symbol.for("tokens")]=L.tokens||[];let ce=H(L,V);return E.ensureAllCommentsPrinted(z),R?typeof ce=="string"?ce.replace(/(?:\r?\n)*$/,""):m(ce):ce}A.exports={printSubtree:g}}}),ea=ft({"src/main/ast-to-doc.js"(d,A){_();var m=Ns(),{builders:{hardline:b,addAlignmentToDoc:E},utils:{propagateBreaks:g}}=bi(),{printComments:D}=ki(),w=Ts();function F(R,V){let I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:L}=V;L.preprocess&&(R=L.preprocess(R,V));let z=new Map,ce=new m(R),fe=J();return I>0&&(fe=E([b,fe],I,V.tabWidth)),g(fe),fe;function J(ue,ge){return ue===void 0||ue===ce?ee(ge):Array.isArray(ue)?ce.call(()=>ee(ge),...ue):ce.call(()=>ee(ge),ue)}function ee(ue){let ge=ce.getValue(),de=ge&&typeof ge=="object"&&ue===void 0;if(de&&z.has(ge))return z.get(ge);let De=H(ce,V,J,ue);return de&&z.set(ge,De),De}}function B(R,V){let{originalText:I,[Symbol.for("comments")]:L,locStart:z,locEnd:ce}=V,fe=z(R),J=ce(R),ee=new Set;for(let ue of L)z(ue)>=fe&&ce(ue)<=J&&(ue.printed=!0,ee.add(ue));return{doc:I.slice(fe,J),printedComments:ee}}function H(R,V,I,L){let z=R.getValue(),{printer:ce}=V,fe,J;if(ce.hasPrettierIgnore&&ce.hasPrettierIgnore(R))({doc:fe,printedComments:J}=B(z,V));else{if(z)try{fe=w.printSubtree(R,I,V,F)}catch(ee){if(globalThis.PRETTIER_DEBUG)throw ee}fe||(fe=ce.print(R,V,I,L))}return(!ce.willPrintOwnComments||!ce.willPrintOwnComments(R,V))&&(fe=D(R,fe,V,J)),fe}A.exports=F}}),La=ft({"src/main/range-util.js"(d,A){_();var m=ci(),b=ki(),E=L=>{let{parser:z}=L;return z==="json"||z==="json5"||z==="json-stringify"};function g(L,z){let ce=[L.node,...L.parentNodes],fe=new Set([z.node,...z.parentNodes]);return ce.find(J=>H.has(J.type)&&fe.has(J))}function D(L){let z=L.length-1;for(;;){let ce=L[z];if(ce&&(ce.type==="Program"||ce.type==="File"))z--;else break}return L.slice(0,z+1)}function w(L,z,ce){let{locStart:fe,locEnd:J}=ce,ee=L.node,ue=z.node;if(ee===ue)return{startNode:ee,endNode:ue};let ge=fe(L.node);for(let De of D(z.parentNodes))if(fe(De)>=ge)ue=De;else break;let de=J(z.node);for(let De of D(L.parentNodes))if(J(De)<=de)ee=De;else break;return{startNode:ee,endNode:ue}}function F(L,z,ce,fe){let J=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],ee=arguments.length>5?arguments[5]:void 0,{locStart:ue,locEnd:ge}=ce,de=ue(L),De=ge(L);if(!(z>De||z<de||ee==="rangeEnd"&&z===de||ee==="rangeStart"&&z===De)){for(let W of b.getSortedChildNodes(L,ce)){let M=F(W,z,ce,fe,[L,...J],ee);if(M)return M}if(!fe||fe(L,J[0]))return{node:L,parentNodes:J}}}function B(L,z){return z!=="DeclareExportDeclaration"&&L!=="TypeParameterDeclaration"&&(L==="Directive"||L==="TypeAlias"||L==="TSExportAssignment"||L.startsWith("Declare")||L.startsWith("TSDeclare")||L.endsWith("Statement")||L.endsWith("Declaration"))}var H=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),R=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function V(L,z,ce){if(!z)return!1;switch(L.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return B(z.type,ce&&ce.type);case"json":case"json5":case"json-stringify":return H.has(z.type);case"graphql":return R.has(z.kind);case"vue":return z.tag!=="root"}return!1}function I(L,z,ce){let{rangeStart:fe,rangeEnd:J,locStart:ee,locEnd:ue}=z;m.ok(J>fe);let ge=L.slice(fe,J).search(/\S/),de=ge===-1;if(!de)for(fe+=ge;J>fe&&!/\S/.test(L[J-1]);--J);let De=F(ce,fe,z,(X,P)=>V(z,X,P),[],"rangeStart"),W=de?De:F(ce,J,z,X=>V(z,X),[],"rangeEnd");if(!De||!W)return{rangeStart:0,rangeEnd:0};let M,U;if(E(z)){let X=g(De,W);M=X,U=X}else({startNode:M,endNode:U}=w(De,W,z));return{rangeStart:Math.min(ee(M),ee(U)),rangeEnd:Math.max(ue(M),ue(U))}}A.exports={calculateRange:I,findNodeAtOffset:F}}}),nu=ft({"src/main/core.js"(d,A){_();var{diffArrays:m}=mr(),{printer:{printDocToString:b},debug:{printDocToDebug:E}}=bi(),{getAlignmentSize:g}=Ki(),{guessEndOfLine:D,convertEndOfLineToChars:w,countEndOfLineChars:F,normalizeEndOfLine:B}=us(),H=Hn().normalize,R=li(),V=ki(),I=Dn(),L=ea(),z=La(),ce="\uFEFF",fe=Symbol("cursor");function J(U,X,P){let G=X.comments;return G&&(delete X.comments,V.attach(G,X,U,P)),P[Symbol.for("comments")]=G||[],P[Symbol.for("tokens")]=X.tokens||[],P.originalText=U,G}function ee(U,X){let P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!U||U.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:G,text:q}=I.parse(U,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=L(G,X,P),ne=b(te,X);if(V.ensureAllCommentsPrinted(se),P>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,Ve,He;if(X.cursorNode&&ne.cursorNodeText?(Ce=X.locStart(X.cursorNode),Re=q.slice(Ce,X.locEnd(X.cursorNode)),Pe=X.cursorOffset-Ce,Ve=ne.cursorNodeStart,He=ne.cursorNodeText):(Ce=0,Re=q,Pe=X.cursorOffset,Ve=0,He=ne.formatted),Re===He)return{formatted:ne.formatted,cursorOffset:Ve+Pe,comments:se};let Le=[...Re];Le.splice(Pe,0,fe);let Dt=[...He],Ke=m(Le,Dt),qe=Ve;for(let pt of Ke)if(pt.removed){if(pt.value.includes(fe))break}else qe+=pt.count;return{formatted:ne.formatted,cursorOffset:qe,comments:se}}return{formatted:ne.formatted,cursorOffset:-1,comments:se}}function ue(U,X){let{ast:P,text:G}=I.parse(U,X),{rangeStart:q,rangeEnd:se}=z.calculateRange(G,X,P),te=G.slice(q,se),ne=Math.min(q,G.lastIndexOf(`
|
|
65
|
-
`,q)+1),Ce=G.slice(ne,q).match(/^\s*/)[0],Re=g(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),Ve=Pe.formatted.trimEnd(),{cursorOffset:He}=X;He>se?He+=Ve.length-te.length:Pe.cursorOffset>=0&&(He=Pe.cursorOffset+q);let Le=G.slice(0,q)+Ve+G.slice(se);if(X.endOfLine!=="lf"){let Dt=w(X.endOfLine);He>=0&&Dt===`\r
|
|
66
|
-
`&&(He+=F(Le.slice(0,He),`
|
|
67
|
-
`)),Le=Le.replace(/\n/g,Dt)}return{formatted:Le,cursorOffset:He,comments:Pe.comments}}function ge(U,X,P){return typeof X!="number"||Number.isNaN(X)||X<0||X>U.length?P:X}function de(U,X){let{cursorOffset:P,rangeStart:G,rangeEnd:q}=X;return P=ge(U,P,-1),G=ge(U,G,0),q=ge(U,q,U.length),Object.assign(Object.assign({},X),{},{cursorOffset:P,rangeStart:G,rangeEnd:q})}function De(U,X){let{cursorOffset:P,rangeStart:G,rangeEnd:q,endOfLine:se}=de(U,X),te=U.charAt(0)===ce;if(te&&(U=U.slice(1),P--,G--,q--),se==="auto"&&(se=D(U)),U.includes("\r")){let ne=Ce=>F(U.slice(0,Math.max(Ce,0)),`\r
|
|
68
|
-
`);P-=ne(P),G-=ne(G),q-=ne(q),U=B(U)}return{hasBOM:te,text:U,options:de(U,Object.assign(Object.assign({},X),{},{cursorOffset:P,rangeStart:G,rangeEnd:q,endOfLine:se}))}}function W(U,X){let P=I.resolveParser(X);return!P.hasPragma||P.hasPragma(U)}function M(U,X){let{hasBOM:P,text:G,options:q}=De(U,H(X));if(q.rangeStart>=q.rangeEnd&&G!==""||q.requirePragma&&!W(G,q))return{formatted:U,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&&!W(G,q)&&(G=q.printer.insertPragma(G)),se=ee(G,q)),P&&(se.formatted=ce+se.formatted,se.cursorOffset>=0&&se.cursorOffset++),se}A.exports={formatWithCursor:M,parse(U,X,P){let{text:G,options:q}=De(U,H(X)),se=I.parse(G,q);return P&&(se.ast=R(se.ast,q)),se},formatAST(U,X){X=H(X);let P=L(U,X);return b(P,X)},formatDoc(U,X){return M(E(U),Object.assign(Object.assign({},X),{},{parser:"__js_expression"})).formatted},printToDoc(U,X){X=H(X);let{ast:P,text:G}=I.parse(U,X);return J(G,P,X),L(P,X)},printDocToString(U,X){return b(U,H(X))}}}}),qa=ft({"src/common/util-shared.js"(d,A){_();var{getMaxContinuousCount:m,getStringWidth:b,getAlignmentSize:E,getIndentSize:g,skip:D,skipWhitespace:w,skipSpaces:F,skipNewline:B,skipToLineEnd:H,skipEverythingButNewLine:R,skipInlineComment:V,skipTrailingComment:I,hasNewline:L,hasNewlineInRange:z,hasSpaces:ce,isNextLineEmpty:fe,isNextLineEmptyAfterIndex:J,isPreviousLineEmpty:ee,getNextNonSpaceNonCommentCharacterIndex:ue,makeString:ge,addLeadingComment:de,addDanglingComment:De,addTrailingComment:W}=Ki();A.exports={getMaxContinuousCount:m,getStringWidth:b,getAlignmentSize:E,getIndentSize:g,skip:D,skipWhitespace:w,skipSpaces:F,skipNewline:B,skipToLineEnd:H,skipEverythingButNewLine:R,skipInlineComment:V,skipTrailingComment:I,hasNewline:L,hasNewlineInRange:z,hasSpaces:ce,isNextLineEmpty:fe,isNextLineEmptyAfterIndex:J,isPreviousLineEmpty:ee,getNextNonSpaceNonCommentCharacterIndex:ue,makeString:ge,addLeadingComment:de,addDanglingComment:De,addTrailingComment:W}}}),Ca=ft({"src/utils/create-language.js"(d,A){_(),A.exports=function(m,b){let{languageId:E}=m,g=xr(m,Ee);return Object.assign(Object.assign({linguistLanguageId:E},g),b(m))}}}),co=ft({"node_modules/esutils/lib/ast.js"(d,A){_(),function(){function m(F){if(F==null)return!1;switch(F.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 b(F){if(F==null)return!1;switch(F.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function E(F){if(F==null)return!1;switch(F.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 g(F){return E(F)||F!=null&&F.type==="FunctionDeclaration"}function D(F){switch(F.type){case"IfStatement":return F.alternate!=null?F.alternate:F.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return F.body}return null}function w(F){var B;if(F.type!=="IfStatement"||F.alternate==null)return!1;B=F.consequent;do{if(B.type==="IfStatement"&&B.alternate==null)return!0;B=D(B)}while(B);return!1}A.exports={isExpression:m,isStatement:E,isIterationStatement:b,isSourceElement:g,isProblematicIfStatement:w,trailingStatement:D}}()}}),Uo=ft({"node_modules/esutils/lib/code.js"(d,A){_(),function(){var m,b,E,g,D,w;b={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]/},m={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 F(J){return 48<=J&&J<=57}function B(J){return 48<=J&&J<=57||97<=J&&J<=102||65<=J&&J<=70}function H(J){return J>=48&&J<=55}E=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function R(J){return J===32||J===9||J===11||J===12||J===160||J>=5760&&E.indexOf(J)>=0}function V(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(g=new Array(128),w=0;w<128;++w)g[w]=w>=97&&w<=122||w>=65&&w<=90||w===36||w===95;for(D=new Array(128),w=0;w<128;++w)D[w]=w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===36||w===95;function L(J){return J<128?g[J]:b.NonAsciiIdentifierStart.test(I(J))}function z(J){return J<128?D[J]:b.NonAsciiIdentifierPart.test(I(J))}function ce(J){return J<128?g[J]:m.NonAsciiIdentifierStart.test(I(J))}function fe(J){return J<128?D[J]:m.NonAsciiIdentifierPart.test(I(J))}A.exports={isDecimalDigit:F,isHexDigit:B,isOctalDigit:H,isWhiteSpace:R,isLineTerminator:V,isIdentifierStartES5:L,isIdentifierPartES5:z,isIdentifierStartES6:ce,isIdentifierPartES6:fe}}()}}),Ea=ft({"node_modules/esutils/lib/keyword.js"(d,A){_(),function(){var m=Uo();function b(L){switch(L){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function E(L,z){return!z&&L==="yield"?!1:g(L,z)}function g(L,z){if(z&&b(L))return!0;switch(L.length){case 2:return L==="if"||L==="in"||L==="do";case 3:return L==="var"||L==="for"||L==="new"||L==="try";case 4:return L==="this"||L==="else"||L==="case"||L==="void"||L==="with"||L==="enum";case 5:return L==="while"||L==="break"||L==="catch"||L==="throw"||L==="const"||L==="yield"||L==="class"||L==="super";case 6:return L==="return"||L==="typeof"||L==="delete"||L==="switch"||L==="export"||L==="import";case 7:return L==="default"||L==="finally"||L==="extends";case 8:return L==="function"||L==="continue"||L==="debugger";case 10:return L==="instanceof";default:return!1}}function D(L,z){return L==="null"||L==="true"||L==="false"||E(L,z)}function w(L,z){return L==="null"||L==="true"||L==="false"||g(L,z)}function F(L){return L==="eval"||L==="arguments"}function B(L){var z,ce,fe;if(L.length===0||(fe=L.charCodeAt(0),!m.isIdentifierStartES5(fe)))return!1;for(z=1,ce=L.length;z<ce;++z)if(fe=L.charCodeAt(z),!m.isIdentifierPartES5(fe))return!1;return!0}function H(L,z){return(L-55296)*1024+(z-56320)+65536}function R(L){var z,ce,fe,J,ee;if(L.length===0)return!1;for(ee=m.isIdentifierStartES6,z=0,ce=L.length;z<ce;++z){if(fe=L.charCodeAt(z),55296<=fe&&fe<=56319){if(++z,z>=ce||(J=L.charCodeAt(z),!(56320<=J&&J<=57343)))return!1;fe=H(fe,J)}if(!ee(fe))return!1;ee=m.isIdentifierPartES6}return!0}function V(L,z){return B(L)&&!D(L,z)}function I(L,z){return R(L)&&!w(L,z)}A.exports={isKeywordES5:E,isKeywordES6:g,isReservedWordES5:D,isReservedWordES6:w,isRestrictedWord:F,isIdentifierNameES5:B,isIdentifierNameES6:R,isIdentifierES5:V,isIdentifierES6:I}}()}}),Va=ft({"node_modules/esutils/lib/utils.js"(d){_(),function(){d.ast=co(),d.code=Uo(),d.keyword=Ea()}()}}),Ma=ft({"src/language-js/utils/is-block-comment.js"(d,A){_();var m=new Set(["Block","CommentBlock","MultiLine"]),b=E=>m.has(E==null?void 0:E.type);A.exports=b}}),zo=ft({"src/language-js/utils/is-node-matches.js"(d,A){_();function m(E,g){let D=g.split(".");for(let w=D.length-1;w>=0;w--){let F=D[w];if(w===0)return E.type==="Identifier"&&E.name===F;if(E.type!=="MemberExpression"||E.optional||E.computed||E.property.type!=="Identifier"||E.property.name!==F)return!1;E=E.object}}function b(E,g){return g.some(D=>m(E,D))}A.exports=b}}),vs=ft({"src/language-js/utils/index.js"(d,A){_();var m=Va().keyword.isIdentifierNameES5,{getLast:b,hasNewline:E,skipWhitespace:g,isNonEmptyArray:D,isNextLineEmptyAfterIndex:w,getStringWidth:F}=Ki(),{locStart:B,locEnd:H,hasSameLocStart:R}=Ds(),V=Ma(),I=zo(),L="(?:(?=.)\\s)",z=new RegExp("^".concat(L,"*:")),ce=new RegExp("^".concat(L,"*::"));function fe(ke){var sr,_n;return((sr=ke.extra)===null||sr===void 0?void 0:sr.parenthesized)&&V((_n=ke.trailingComments)===null||_n===void 0?void 0:_n[0])&&z.test(ke.trailingComments[0].value)}function J(ke){let sr=ke==null?void 0:ke[0];return V(sr)&&ce.test(sr.value)}function ee(ke,sr){if(!ke||typeof ke!="object")return!1;if(Array.isArray(ke))return ke.some(Ai=>ee(Ai,sr));let _n=sr(ke);return typeof _n=="boolean"?_n:Object.values(ke).some(Ai=>ee(Ai,sr))}function ue(ke){return ke.type==="AssignmentExpression"||ke.type==="BinaryExpression"||ke.type==="LogicalExpression"||ke.type==="NGPipeExpression"||ke.type==="ConditionalExpression"||rr(ke)||gr(ke)||ke.type==="SequenceExpression"||ke.type==="TaggedTemplateExpression"||ke.type==="BindExpression"||ke.type==="UpdateExpression"&&!ke.prefix||ke.type==="TSAsExpression"||ke.type==="TSNonNullExpression"}function ge(ke){var sr,_n,Ai,Ui,Cs,_s;return ke.expressions?ke.expressions[0]:(sr=(_n=(Ai=(Ui=(Cs=(_s=ke.left)!==null&&_s!==void 0?_s:ke.test)!==null&&Cs!==void 0?Cs:ke.callee)!==null&&Ui!==void 0?Ui:ke.object)!==null&&Ai!==void 0?Ai:ke.tag)!==null&&_n!==void 0?_n:ke.argument)!==null&&sr!==void 0?sr:ke.expression}function de(ke,sr){if(sr.expressions)return["expressions",0];if(sr.left)return["left"];if(sr.test)return["test"];if(sr.object)return["object"];if(sr.callee)return["callee"];if(sr.tag)return["tag"];if(sr.argument)return["argument"];if(sr.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function De(ke){return ke=new Set(ke),sr=>ke.has(sr==null?void 0:sr.type)}var W=De(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),M=De(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function U(ke){let sr=ke.getParentNode();return ke.getName()==="declaration"&&M(sr)?sr:null}var X=De(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function P(ke){return ke.type==="NumericLiteral"||ke.type==="Literal"&&typeof ke.value=="number"}function G(ke){return ke.type==="UnaryExpression"&&(ke.operator==="+"||ke.operator==="-")&&P(ke.argument)}function q(ke){return ke.type==="StringLiteral"||ke.type==="Literal"&&typeof ke.value=="string"}var se=De(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),te=De(["FunctionExpression","ArrowFunctionExpression"]);function ne(ke){return ke.type==="FunctionExpression"||ke.type==="ArrowFunctionExpression"&&ke.body.type==="BlockStatement"}function Ce(ke){return rr(ke)&&ke.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(ke.callee.name)}var Re=De(["JSXElement","JSXFragment"]);function Pe(ke,sr){if(ke.parentParser!=="markdown"&&ke.parentParser!=="mdx")return!1;let _n=sr.getNode();if(!_n.expression||!Re(_n.expression))return!1;let Ai=sr.getParentNode();return Ai.type==="Program"&&Ai.body.length===1}function Ve(ke){return ke.kind==="get"||ke.kind==="set"}function He(ke){return Ve(ke)||R(ke,ke.value)}function Le(ke){return(ke.type==="ObjectTypeProperty"||ke.type==="ObjectTypeInternalSlot")&&ke.value.type==="FunctionTypeAnnotation"&&!ke.static&&!He(ke)}function Dt(ke){return(ke.type==="TypeAnnotation"||ke.type==="TSTypeAnnotation")&&ke.typeAnnotation.type==="FunctionTypeAnnotation"&&!ke.static&&!R(ke,ke.typeAnnotation)}var Ke=De(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function qe(ke){return gr(ke)||ke.type==="BindExpression"&&Boolean(ke.object)}var pt=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 Bt(ke){return ke?!!((ke.type==="GenericTypeAnnotation"||ke.type==="TSTypeReference")&&!ke.typeParameters||pt.has(ke.type)):!1}function wt(ke){let sr=/^(?:before|after)(?:Each|All)$/;return ke.callee.type==="Identifier"&&sr.test(ke.callee.name)&&ke.arguments.length===1}var ur=["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 Ue(ke){return I(ke,ur)}function tt(ke,sr){if(ke.type!=="CallExpression")return!1;if(ke.arguments.length===1){if(Ce(ke)&&sr&&tt(sr))return te(ke.arguments[0]);if(wt(ke))return Ce(ke.arguments[0])}else if((ke.arguments.length===2||ke.arguments.length===3)&&(ke.arguments[0].type==="TemplateLiteral"||q(ke.arguments[0]))&&Ue(ke.callee))return ke.arguments[2]&&!P(ke.arguments[2])?!1:(ke.arguments.length===2?te(ke.arguments[1]):ne(ke.arguments[1])&&j(ke.arguments[1]).length<=1)||Ce(ke.arguments[1]);return!1}var rr=De(["CallExpression","OptionalCallExpression"]),gr=De(["MemberExpression","OptionalMemberExpression"]);function tr(ke){let sr="expressions";ke.type==="TSTemplateLiteralType"&&(sr="types");let _n=ke[sr];return _n.length===0?!1:_n.every(Ai=>{if(rt(Ai))return!1;if(Ai.type==="Identifier"||Ai.type==="ThisExpression")return!0;if(gr(Ai)){let Ui=Ai;for(;gr(Ui);)if(Ui.property.type!=="Identifier"&&Ui.property.type!=="Literal"&&Ui.property.type!=="StringLiteral"&&Ui.property.type!=="NumericLiteral"||(Ui=Ui.object,rt(Ui)))return!1;return Ui.type==="Identifier"||Ui.type==="ThisExpression"}return!1})}function Ze(ke,sr){return ke==="+"||ke==="-"?ke+sr:sr}function ot(ke,sr){let _n=B(sr),Ai=g(ke,H(sr));return Ai!==!1&&ke.slice(_n,_n+2)==="/*"&&ke.slice(Ai,Ai+2)==="*/"}function ht(ke,sr){return Re(sr)?dr(sr):rt(sr,Sr.Leading,_n=>E(ke,H(_n)))}function pr(ke,sr){return sr.parser!=="json"&&q(ke.key)&&Yr(ke.key).slice(1,-1)===ke.key.value&&(m(ke.key.value)&&!(sr.parser==="babel-ts"&&ke.type==="ClassProperty"||sr.parser==="typescript"&&ke.type==="PropertyDefinition")||Er(ke.key.value)&&String(Number(ke.key.value))===ke.key.value&&(sr.parser==="babel"||sr.parser==="acorn"||sr.parser==="espree"||sr.parser==="meriyah"||sr.parser==="__babel_estree"))}function Er(ke){return/^(?:\d+|\d+\.\d+)$/.test(ke)}function cn(ke,sr){let _n=/^[fx]?(?:describe|it|test)$/;return sr.type==="TaggedTemplateExpression"&&sr.quasi===ke&&sr.tag.type==="MemberExpression"&&sr.tag.property.type==="Identifier"&&sr.tag.property.name==="each"&&(sr.tag.object.type==="Identifier"&&_n.test(sr.tag.object.name)||sr.tag.object.type==="MemberExpression"&&sr.tag.object.property.type==="Identifier"&&(sr.tag.object.property.name==="only"||sr.tag.object.property.name==="skip")&&sr.tag.object.object.type==="Identifier"&&_n.test(sr.tag.object.object.name))}function Fn(ke){return ke.quasis.some(sr=>sr.value.raw.includes(`
|
|
69
|
-
`))}function Ei(ke,sr){return(ke.type==="TemplateLiteral"&&Fn(ke)||ke.type==="TaggedTemplateExpression"&&Fn(ke.quasi))&&!E(sr,B(ke),{backwards:!0})}function fr(ke){if(!rt(ke))return!1;let sr=b(vn(ke,Sr.Dangling));return sr&&!V(sr)}function lr(ke){if(ke.length<=1)return!1;let sr=0;for(let _n of ke)if(te(_n)){if(sr+=1,sr>1)return!0}else if(rr(_n)){for(let Ai of _n.arguments)if(te(Ai))return!0}return!1}function br(ke){let sr=ke.getValue(),_n=ke.getParentNode();return rr(sr)&&rr(_n)&&_n.callee===sr&&sr.arguments.length>_n.arguments.length&&_n.arguments.length>0}function Qt(ke,sr){if(sr>=2)return!1;let _n=Ui=>Qt(Ui,sr+1),Ai=ke.type==="Literal"&&"regex"in ke&&ke.regex.pattern||ke.type==="RegExpLiteral"&&ke.pattern;return Ai&&F(Ai)>5?!1:ke.type==="Literal"||ke.type==="BigIntLiteral"||ke.type==="DecimalLiteral"||ke.type==="BooleanLiteral"||ke.type==="NullLiteral"||ke.type==="NumericLiteral"||ke.type==="RegExpLiteral"||ke.type==="StringLiteral"||ke.type==="Identifier"||ke.type==="ThisExpression"||ke.type==="Super"||ke.type==="PrivateName"||ke.type==="PrivateIdentifier"||ke.type==="ArgumentPlaceholder"||ke.type==="Import"?!0:ke.type==="TemplateLiteral"?ke.quasis.every(Ui=>!Ui.value.raw.includes(`
|
|
70
|
-
`))&&ke.expressions.every(_n):ke.type==="ObjectExpression"?ke.properties.every(Ui=>!Ui.computed&&(Ui.shorthand||Ui.value&&_n(Ui.value))):ke.type==="ArrayExpression"?ke.elements.every(Ui=>Ui===null||_n(Ui)):Mn(ke)?(ke.type==="ImportExpression"||Qt(ke.callee,sr))&&Nt(ke).every(_n):gr(ke)?Qt(ke.object,sr)&&Qt(ke.property,sr):ke.type==="UnaryExpression"&&(ke.operator==="!"||ke.operator==="-")?Qt(ke.argument,sr):ke.type==="TSNonNullExpression"?Qt(ke.expression,sr):!1}function Yr(ke){var sr,_n;return(sr=(_n=ke.extra)===null||_n===void 0?void 0:_n.raw)!==null&&sr!==void 0?sr:ke.raw}function nt(ke){return ke}function qr(ke){return ke.filepath&&/\.tsx$/i.test(ke.filepath)}function Ur(ke){let sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return ke.trailingComma==="es5"&&sr==="es5"||ke.trailingComma==="all"&&(sr==="all"||sr==="es5")}function tn(ke,sr){switch(ke=h(ke),ke.type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return sr;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return tn(ke.object,sr);case"TaggedTemplateExpression":return ke.tag.type==="FunctionExpression"?!1:tn(ke.tag,sr);case"CallExpression":case"OptionalCallExpression":return ke.callee.type==="FunctionExpression"?!1:tn(ke.callee,sr);case"ConditionalExpression":return tn(ke.test,sr);case"UpdateExpression":return!ke.prefix&&tn(ke.argument,sr);case"BindExpression":return ke.object&&tn(ke.object,sr);case"SequenceExpression":return tn(ke.expressions[0],sr);case"TSAsExpression":case"TSNonNullExpression":return tn(ke.expression,sr);default:return!1}}var vi={"==":!0,"!=":!0,"===":!0,"!==":!0},e={"*":!0,"/":!0,"%":!0},r={">>":!0,">>>":!0,"<<":!0};function n(ke,sr){return!(u(sr)!==u(ke)||ke==="**"||vi[ke]&&vi[sr]||sr==="%"&&e[ke]||ke==="%"&&e[sr]||sr!==ke&&e[sr]&&e[ke]||r[ke]&&r[sr])}var a=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((ke,sr)=>ke.map(_n=>[_n,sr])));function u(ke){return a.get(ke)}function h(ke){for(;ke.left;)ke=ke.left;return ke}function C(ke){return Boolean(r[ke])||ke==="|"||ke==="^"||ke==="&"}function S(ke){var sr;if(ke.rest)return!0;let _n=j(ke);return((sr=b(_n))===null||sr===void 0?void 0:sr.type)==="RestElement"}var O=new WeakMap;function j(ke){if(O.has(ke))return O.get(ke);let sr=[];return ke.this&&sr.push(ke.this),Array.isArray(ke.parameters)?sr.push(...ke.parameters):Array.isArray(ke.params)&&sr.push(...ke.params),ke.rest&&sr.push(ke.rest),O.set(ke,sr),sr}function $e(ke,sr){let _n=ke.getValue(),Ai=0,Ui=Cs=>sr(Cs,Ai++);_n.this&&ke.call(Ui,"this"),Array.isArray(_n.parameters)?ke.each(Ui,"parameters"):Array.isArray(_n.params)&&ke.each(Ui,"params"),_n.rest&&ke.call(Ui,"rest")}var Be=new WeakMap;function Nt(ke){if(Be.has(ke))return Be.get(ke);let sr=ke.arguments;return ke.type==="ImportExpression"&&(sr=[ke.source],ke.attributes&&sr.push(ke.attributes)),Be.set(ke,sr),sr}function it(ke,sr){let _n=ke.getValue();_n.type==="ImportExpression"?(ke.call(Ai=>sr(Ai,0),"source"),_n.attributes&&ke.call(Ai=>sr(Ai,1),"attributes")):ke.each(sr,"arguments")}function jt(ke){return ke.value.trim()==="prettier-ignore"&&!ke.unignore}function dr(ke){return ke&&(ke.prettierIgnore||rt(ke,Sr.PrettierIgnore))}function Jt(ke){let sr=ke.getValue();return dr(sr)}var Sr={Leading:1<<1,Trailing:1<<2,Dangling:1<<3,Block:1<<4,Line:1<<5,PrettierIgnore:1<<6,First:1<<7,Last:1<<8},Gr=(ke,sr)=>{if(typeof ke=="function"&&(sr=ke,ke=0),ke||sr)return(_n,Ai,Ui)=>!(ke&Sr.Leading&&!_n.leading||ke&Sr.Trailing&&!_n.trailing||ke&Sr.Dangling&&(_n.leading||_n.trailing)||ke&Sr.Block&&!V(_n)||ke&Sr.Line&&!W(_n)||ke&Sr.First&&Ai!==0||ke&Sr.Last&&Ai!==Ui.length-1||ke&Sr.PrettierIgnore&&!jt(_n)||sr&&!sr(_n))};function rt(ke,sr,_n){if(!D(ke==null?void 0:ke.comments))return!1;let Ai=Gr(sr,_n);return Ai?ke.comments.some(Ai):!0}function vn(ke,sr,_n){if(!Array.isArray(ke==null?void 0:ke.comments))return[];let Ai=Gr(sr,_n);return Ai?ke.comments.filter(Ai):ke.comments}var Sn=(ke,sr)=>{let{originalText:_n}=sr;return w(_n,H(ke))};function Mn(ke){return rr(ke)||ke.type==="NewExpression"||ke.type==="ImportExpression"}function zi(ke){return ke&&(ke.type==="ObjectProperty"||ke.type==="Property"&&!ke.method&&ke.kind==="init")}function as(ke){return Boolean(ke.__isUsingHackPipeline)}var Vs=Symbol("ifWithoutBlockAndSameLineComment");A.exports={getFunctionParameters:j,iterateFunctionParametersPath:$e,getCallArguments:Nt,iterateCallArgumentsPath:it,hasRestParameter:S,getLeftSide:ge,getLeftSidePathName:de,getParentExportDeclaration:U,getTypeScriptMappedTypeModifier:Ze,hasFlowAnnotationComment:J,hasFlowShorthandAnnotationComment:fe,hasLeadingOwnLineComment:ht,hasNakedLeftSide:ue,hasNode:ee,hasIgnoreComment:Jt,hasNodeIgnoreComment:dr,identity:nt,isBinaryish:Ke,isCallLikeExpression:Mn,isEnabledHackPipeline:as,isLineComment:W,isPrettierIgnoreComment:jt,isCallExpression:rr,isMemberExpression:gr,isExportDeclaration:M,isFlowAnnotationComment:ot,isFunctionCompositionArgs:lr,isFunctionNotation:He,isFunctionOrArrowExpression:te,isGetterOrSetter:Ve,isJestEachTemplateLiteral:cn,isJsxNode:Re,isLiteral:X,isLongCurriedCallExpression:br,isSimpleCallArgument:Qt,isMemberish:qe,isNumericLiteral:P,isSignedNumericLiteral:G,isObjectProperty:zi,isObjectType:se,isObjectTypePropertyAFunction:Le,isSimpleType:Bt,isSimpleNumber:Er,isSimpleTemplateLiteral:tr,isStringLiteral:q,isStringPropSafeToUnquote:pr,isTemplateOnItsOwnLine:Ei,isTestCall:tt,isTheOnlyJsxElementInMarkdown:Pe,isTSXFile:qr,isTypeAnnotationAFunction:Dt,isNextLineEmpty:Sn,needsHardlineAfterDanglingComment:fr,rawText:Yr,shouldPrintComma:Ur,isBitwiseOperator:C,shouldFlatten:n,startsWithNoLookaheadToken:tn,getPrecedence:u,hasComment:rt,getComments:vn,CommentCheckFlags:Sr,markerForIfWithoutBlockAndSameLineComment:Vs}}}),ua=ft({"src/language-js/print/template-literal.js"(d,A){_();var m=Ji(),{getStringWidth:b,getIndentSize:E}=Ki(),{builders:{join:g,hardline:D,softline:w,group:F,indent:B,align:H,lineSuffixBoundary:R,addAlignmentToDoc:V},printer:{printDocToString:I},utils:{mapDoc:L}}=bi(),{isBinaryish:z,isJestEachTemplateLiteral:ce,isSimpleTemplateLiteral:fe,hasComment:J,isMemberExpression:ee}=vs();function ue(U,X,P){let G=U.getValue();if(G.type==="TemplateLiteral"&&ce(G,U.getParentNode())){let Ce=ge(U,P,X);if(Ce)return Ce}let q="expressions";G.type==="TSTemplateLiteralType"&&(q="types");let se=[],te=U.map(X,q),ne=fe(G);return ne&&(te=te.map(Ce=>I(Ce,Object.assign(Object.assign({},P),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),se.push(R,"`"),U.each(Ce=>{let Re=Ce.getName();if(se.push(X()),Re<te.length){let{tabWidth:Pe}=P,Ve=Ce.getValue(),He=E(Ve.value.raw,Pe),Le=te[Re];if(!ne){let Ke=G[q][Re];(J(Ke)||ee(Ke)||Ke.type==="ConditionalExpression"||Ke.type==="SequenceExpression"||Ke.type==="TSAsExpression"||z(Ke))&&(Le=[B([w,Le]),w])}let Dt=He===0&&Ve.value.raw.endsWith(`
|
|
71
|
-
`)?H(Number.NEGATIVE_INFINITY,Le):V(Le,He,Pe);se.push(F(["${",Dt,R,"}"]))}},"quasis"),se.push("`"),se}function ge(U,X,P){let G=U.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=U.map(P,"expressions");X.__inJestEach=!1;let te=[],ne=se.map(He=>"${"+I(He,Object.assign(Object.assign({},X),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),Ce=[{hasLineBreak:!1,cells:[]}];for(let He=1;He<G.quasis.length;He++){let Le=m(Ce),Dt=ne[He-1];Le.cells.push(Dt),Dt.includes(`
|
|
72
|
-
`)&&(Le.hasLineBreak=!0),G.quasis[He].value.raw.includes(`
|
|
73
|
-
`)&&Ce.push({hasLineBreak:!1,cells:[]})}let Re=Math.max(q.length,...Ce.map(He=>He.cells.length)),Pe=Array.from({length:Re}).fill(0),Ve=[{cells:q},...Ce.filter(He=>He.cells.length>0)];for(let{cells:He}of Ve.filter(Le=>!Le.hasLineBreak))for(let[Le,Dt]of He.entries())Pe[Le]=Math.max(Pe[Le],b(Dt));return te.push(R,"`",B([D,g(D,Ve.map(He=>g(" | ",He.cells.map((Le,Dt)=>He.hasLineBreak?Le:Le+" ".repeat(Pe[Dt]-b(Le))))))]),D,"`"),te}}function de(U,X){let P=U.getValue(),G=X();return J(P)&&(G=F([B([w,G]),w])),["${",G,R,"}"]}function De(U,X){return U.map(P=>de(P,X),"expressions")}function W(U,X){return L(U,P=>typeof P=="string"?X?P.replace(/(\\*)`/g,"$1$1\\`"):M(P):P)}function M(U){return U.replace(/([\\`]|\${)/g,"\\$1")}A.exports={printTemplateLiteral:ue,printTemplateExpressions:De,escapeTemplateCharacters:W,uncookTemplateElementValue:M}}}),Wa=ft({"src/language-js/embed/markdown.js"(d,A){_();var{builders:{indent:m,softline:b,literalline:E,dedentToRoot:g}}=bi(),{escapeTemplateCharacters:D}=ua();function w(B,H,R){let V=B.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(ce,fe)=>"\\".repeat(fe.length/2)+"`"),I=F(V),L=I!=="";L&&(V=V.replace(new RegExp("^".concat(I),"gm"),""));let z=D(R(V,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",L?m([b,z]):[E,g(z)],b,"`"]}function F(B){let H=B.match(/^([^\S\n]*)\S/m);return H===null?"":H[1]}A.exports=w}}),Ga=ft({"src/language-js/embed/css.js"(d,A){_();var{isNonEmptyArray:m}=Ki(),{builders:{indent:b,hardline:E,softline:g},utils:{mapDoc:D,replaceEndOfLine:w,cleanDoc:F}}=bi(),{printTemplateExpressions:B}=ua();function H(I,L,z){let ce=I.getValue(),fe=ce.quasis.map(de=>de.value.raw),J=0,ee=fe.reduce((de,De,W)=>W===0?De:de+"@prettier-placeholder-"+J+++"-id"+De,""),ue=z(ee,{parser:"scss"},{stripTrailingHardline:!0}),ge=B(I,L);return R(ue,ce,ge)}function R(I,L,z){if(L.quasis.length===1&&!L.quasis[0].value.raw.trim())return"``";let ce=V(I,z);if(!ce)throw new Error("Couldn't insert all the expressions");return["`",b([E,ce]),g,"`"]}function V(I,L){if(!m(L))return I;let z=0,ce=D(F(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++,L[J])));return L.length===z?ce:null}A.exports=H}}),Xa=ft({"src/language-js/embed/graphql.js"(d,A){_();var{builders:{indent:m,join:b,hardline:E}}=bi(),{escapeTemplateCharacters:g,printTemplateExpressions:D}=ua();function w(B,H,R){let V=B.getValue(),I=V.quasis.length;if(I===1&&V.quasis[0].value.raw.trim()==="")return"``";let L=D(B,H),z=[];for(let ce=0;ce<I;ce++){let fe=V.quasis[ce],J=ce===0,ee=ce===I-1,ue=fe.value.cooked,ge=ue.split(`
|
|
74
|
-
`),de=ge.length,De=L[ce],W=de>2&&ge[0].trim()===""&&ge[1].trim()==="",M=de>2&&ge[de-1].trim()===""&&ge[de-2].trim()==="",U=ge.every(P=>/^\s*(?:#[^\n\r]*)?$/.test(P));if(!ee&&/#[^\n\r]*$/.test(ge[de-1]))return null;let X=null;U?X=F(ge):X=R(ue,{parser:"graphql"},{stripTrailingHardline:!0}),X?(X=g(X,!1),!J&&W&&z.push(""),z.push(X),!ee&&M&&z.push("")):!J&&!ee&&W&&z.push(""),De&&z.push(De)}return["`",m([E,b(E,z)]),E,"`"]}function F(B){let H=[],R=!1,V=B.map(I=>I.trim());for(let[I,L]of V.entries())L!==""&&(V[I-1]===""&&R?H.push([E,L]):H.push(L),R=!0);return H.length===0?null:b(E,H)}A.exports=w}}),xu=ft({"src/language-js/embed/html.js"(d,A){_();var{builders:{indent:m,line:b,hardline:E,group:g},utils:{mapDoc:D}}=bi(),{printTemplateExpressions:w,uncookTemplateElementValue:F}=ua(),B=0;function H(R,V,I,L,z){let{parser:ce}=z,fe=R.getValue(),J=B;B=B+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(R,V);if(ge.length===0&&ue.trim().length===0)return"``";let de=new RegExp(ee("(\\d+)"),"g"),De=0,W=I(ue,{parser:ce,__onHtmlRoot(G){De=G.children.length}},{stripTrailingHardline:!0}),M=D(W,G=>{if(typeof G!="string")return G;let q=[],se=G.split(de);for(let te=0;te<se.length;te++){let ne=se[te];if(te%2===0){ne&&(ne=F(ne),L.__embeddedInHtml&&(ne=ne.replace(/<\/(script)\b/gi,"<\\/$1")),q.push(ne));continue}let Ce=Number(ne);q.push(ge[Ce])}return q}),U=/^\s/.test(ue)?" ":"",X=/\s$/.test(ue)?" ":"",P=L.htmlWhitespaceSensitivity==="ignore"?E:U&&X?b:null;return g(P?["`",m([P,g(M)]),P,"`"]:["`",U,De>1?m(g(M)):g(M),X,"`"])}A.exports=H}}),Iu=ft({"src/language-js/embed.js"(d,A){_();var{hasComment:m,CommentCheckFlags:b,isObjectProperty:E}=vs(),g=Wa(),D=Ga(),w=Xa(),F=xu();function B(W){if(V(W)||ce(W)||fe(W)||I(W))return"css";if(ue(W))return"graphql";if(de(W))return"html";if(L(W))return"angular";if(R(W))return"markdown"}function H(W,M,U,X){let P=W.getValue();if(P.type!=="TemplateLiteral"||De(P))return;let G=B(W);if(G){if(G==="markdown")return g(W,M,U);if(G==="css")return D(W,M,U);if(G==="graphql")return w(W,M,U);if(G==="html"||G==="angular")return F(W,M,U,X,{parser:G})}}function R(W){let M=W.getValue(),U=W.getParentNode();return U&&U.type==="TaggedTemplateExpression"&&M.quasis.length===1&&U.tag.type==="Identifier"&&(U.tag.name==="md"||U.tag.name==="markdown")}function V(W){let M=W.getValue(),U=W.getParentNode(),X=W.getParentNode(1);return X&&M.quasis&&U.type==="JSXExpressionContainer"&&X.type==="JSXElement"&&X.openingElement.name.name==="style"&&X.openingElement.attributes.some(P=>P.name.name==="jsx")||U&&U.type==="TaggedTemplateExpression"&&U.tag.type==="Identifier"&&U.tag.name==="css"||U&&U.type==="TaggedTemplateExpression"&&U.tag.type==="MemberExpression"&&U.tag.object.name==="css"&&(U.tag.property.name==="global"||U.tag.property.name==="resolve")}function I(W){return W.match(M=>M.type==="TemplateLiteral",(M,U)=>M.type==="ArrayExpression"&&U==="elements",(M,U)=>E(M)&&M.key.type==="Identifier"&&M.key.name==="styles"&&U==="value",...z)}function L(W){return W.match(M=>M.type==="TemplateLiteral",(M,U)=>E(M)&&M.key.type==="Identifier"&&M.key.name==="template"&&U==="value",...z)}var z=[(W,M)=>W.type==="ObjectExpression"&&M==="properties",(W,M)=>W.type==="CallExpression"&&W.callee.type==="Identifier"&&W.callee.name==="Component"&&M==="arguments",(W,M)=>W.type==="Decorator"&&M==="expression"];function ce(W){let M=W.getParentNode();if(!M||M.type!=="TaggedTemplateExpression")return!1;let U=M.tag.type==="ParenthesizedExpression"?M.tag.expression:M.tag;switch(U.type){case"MemberExpression":return J(U.object)||ee(U);case"CallExpression":return J(U.callee)||U.callee.type==="MemberExpression"&&(U.callee.object.type==="MemberExpression"&&(J(U.callee.object.object)||ee(U.callee.object))||U.callee.object.type==="CallExpression"&&J(U.callee.object.callee));case"Identifier":return U.name==="css";default:return!1}}function fe(W){let M=W.getParentNode(),U=W.getParentNode(1);return U&&M.type==="JSXExpressionContainer"&&U.type==="JSXAttribute"&&U.name.type==="JSXIdentifier"&&U.name.name==="css"}function J(W){return W.type==="Identifier"&&W.name==="styled"}function ee(W){return/^[A-Z]/.test(W.object.name)&&W.property.name==="extend"}function ue(W){let M=W.getValue(),U=W.getParentNode();return ge(M,"GraphQL")||U&&(U.type==="TaggedTemplateExpression"&&(U.tag.type==="MemberExpression"&&U.tag.object.name==="graphql"&&U.tag.property.name==="experimental"||U.tag.type==="Identifier"&&(U.tag.name==="gql"||U.tag.name==="graphql"))||U.type==="CallExpression"&&U.callee.type==="Identifier"&&U.callee.name==="graphql")}function ge(W,M){return m(W,b.Block|b.Leading,U=>{let{value:X}=U;return X===" ".concat(M," ")})}function de(W){return ge(W.getValue(),"HTML")||W.match(M=>M.type==="TemplateLiteral",(M,U)=>M.type==="TaggedTemplateExpression"&&M.tag.type==="Identifier"&&M.tag.name==="html"&&U==="quasi")}function De(W){let{quasis:M}=W;return M.some(U=>{let{value:{cooked:X}}=U;return X===null})}A.exports=H}}),po=ft({"src/language-js/clean.js"(d,A){_();var m=Ma(),b=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),E=D=>{for(let w of D.quasis)delete w.value};function g(D,w,F){if(D.type==="Program"&&delete w.sourceType,(D.type==="BigIntLiteral"||D.type==="BigIntLiteralTypeAnnotation")&&w.value&&(w.value=w.value.toLowerCase()),(D.type==="BigIntLiteral"||D.type==="Literal")&&w.bigint&&(w.bigint=w.bigint.toLowerCase()),D.type==="DecimalLiteral"&&(w.value=Number(w.value)),D.type==="Literal"&&w.decimal&&(w.decimal=Number(w.decimal)),D.type==="EmptyStatement"||D.type==="JSXText"||D.type==="JSXExpressionContainer"&&(D.expression.type==="Literal"||D.expression.type==="StringLiteral")&&D.expression.value===" ")return null;if((D.type==="Property"||D.type==="ObjectProperty"||D.type==="MethodDefinition"||D.type==="ClassProperty"||D.type==="ClassMethod"||D.type==="PropertyDefinition"||D.type==="TSDeclareMethod"||D.type==="TSPropertySignature"||D.type==="ObjectTypeProperty")&&typeof D.key=="object"&&D.key&&(D.key.type==="Literal"||D.key.type==="NumericLiteral"||D.key.type==="StringLiteral"||D.key.type==="Identifier")&&delete w.key,D.type==="JSXElement"&&D.openingElement.name.name==="style"&&D.openingElement.attributes.some(R=>R.name.name==="jsx"))for(let{type:R,expression:V}of w.children)R==="JSXExpressionContainer"&&V.type==="TemplateLiteral"&&E(V);D.type==="JSXAttribute"&&D.name.name==="css"&&D.value.type==="JSXExpressionContainer"&&D.value.expression.type==="TemplateLiteral"&&E(w.value.expression),D.type==="JSXAttribute"&&D.value&&D.value.type==="Literal"&&/["']|"|'/.test(D.value.value)&&(w.value.value=w.value.value.replace(/["']|"|'/g,'"'));let B=D.expression||D.callee;if(D.type==="Decorator"&&B.type==="CallExpression"&&B.callee.name==="Component"&&B.arguments.length===1){let R=D.expression.arguments[0].properties;for(let[V,I]of w.expression.arguments[0].properties.entries())switch(R[V].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(D.type==="TaggedTemplateExpression"&&(D.tag.type==="MemberExpression"||D.tag.type==="Identifier"&&(D.tag.name==="gql"||D.tag.name==="graphql"||D.tag.name==="css"||D.tag.name==="md"||D.tag.name==="markdown"||D.tag.name==="html")||D.tag.type==="CallExpression")&&E(w.quasi),D.type==="TemplateLiteral"){var H;(((H=D.leadingComments)===null||H===void 0?void 0:H.some(R=>m(R)&&["GraphQL","HTML"].some(V=>R.value===" ".concat(V," "))))||F.type==="CallExpression"&&F.callee.name==="graphql"||!D.leadingComments)&&E(w)}if(D.type==="InterpreterDirective"&&(w.value=w.value.trimEnd()),(D.type==="TSIntersectionType"||D.type==="TSUnionType")&&D.types.length===1)return w.types[0]}g.ignoredProperties=b,A.exports=g}}),Ou={};qi(Ou,{EOL:()=>Aa,arch:()=>bl,cpus:()=>qo,default:()=>Za,endianness:()=>so,freemem:()=>Ja,getNetworkInterfaces:()=>Eo,hostname:()=>Ho,loadavg:()=>Cu,networkInterfaces:()=>Lu,platform:()=>Al,release:()=>fo,tmpDir:()=>Mu,tmpdir:()=>iu,totalmem:()=>ho,type:()=>ba,uptime:()=>$o});function so(){if(typeof Vo>"u"){var d=new ArrayBuffer(2),A=new Uint8Array(d),m=new Uint16Array(d);if(A[0]=1,A[1]=2,m[0]===258)Vo="BE";else if(m[0]===513)Vo="LE";else throw new Error("unable to figure out endianess")}return Vo}function Ho(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function Cu(){return[]}function $o(){return 0}function Ja(){return Number.MAX_VALUE}function ho(){return Number.MAX_VALUE}function qo(){return[]}function ba(){return"Browser"}function fo(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function Lu(){}function Eo(){}function bl(){return"javascript"}function Al(){return"browser"}function Mu(){return"/tmp"}var Vo,iu,Aa,Za,ju=es({"node-modules-polyfills:os"(){_(),iu=Mu,Aa=`
|
|
75
|
-
`,Za={EOL:Aa,tmpdir:iu,tmpDir:Mu,networkInterfaces:Lu,getNetworkInterfaces:Eo,release:fo,type:ba,cpus:qo,totalmem:ho,freemem:Ja,uptime:$o,loadavg:Cu,hostname:Ho,endianness:so}}}),Ru=ft({"node-modules-polyfills-commonjs:os"(d,A){_();var m=(ju(),Xi(Ou));if(m&&m.default){A.exports=m.default;for(let b in m)A.exports[b]=m[b]}else m&&(A.exports=m)}}),il=ft({"node_modules/detect-newline/index.js"(d,A){_();var m=b=>{if(typeof b!="string")throw new TypeError("Expected a string");let E=b.match(/(?:\r?\n)/g)||[];if(E.length===0)return;let g=E.filter(w=>w===`\r
|
|
76
|
-
`).length,D=E.length-g;return g>D?`\r
|
|
77
|
-
`:`
|
|
78
|
-
`};A.exports=m,A.exports.graceful=b=>typeof b=="string"&&m(b)||`
|
|
79
|
-
`}}),bo=ft({"node_modules/jest-docblock/build/index.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0}),d.extract=I,d.parse=z,d.parseWithComments=ce,d.print=fe,d.strip=L;function A(){let ee=Ru();return A=function(){return ee},ee}function m(){let ee=b(il());return m=function(){return ee},ee}function b(ee){return ee&&ee.__esModule?ee:{default:ee}}var E=/\*\/$/,g=/^\/\*\*/,D=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,w=/(^|\s+)\/\/([^\r\n]*)/g,F=/^(\r?\n)+/,B=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,H=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,R=/(\r?\n|^) *\* ?/g,V=[];function I(ee){let ue=ee.match(D);return ue?ue[0].trimLeft():""}function L(ee){let ue=ee.match(D);return ue&&ue[0]?ee.substring(ue[0].length):ee}function z(ee){return ce(ee).pragmas}function ce(ee){let ue=(0,m().default)(ee)||A().EOL;ee=ee.replace(g,"").replace(E,"").replace(R,"$1");let ge="";for(;ge!==ee;)ge=ee,ee=ee.replace(B,"".concat(ue,"$1 $2").concat(ue));ee=ee.replace(F,"").trimRight();let de=Object.create(null),De=ee.replace(H,"").replace(F,"").trimRight(),W;for(;W=H.exec(ee);){let M=W[2].replace(w,"");typeof de[W[1]]=="string"||Array.isArray(de[W[1]])?de[W[1]]=V.concat(de[W[1]],M):de[W[1]]=M}return{comments:De,pragmas:de}}function fe(ee){let{comments:ue="",pragmas:ge={}}=ee,de=(0,m().default)(ue)||A().EOL,De="/**",W=" *",M=" */",U=Object.keys(ge),X=U.map(G=>J(G,ge[G])).reduce((G,q)=>G.concat(q),[]).map(G=>W+" "+G+de).join("");if(!ue){if(U.length===0)return"";if(U.length===1&&!Array.isArray(ge[U[0]])){let G=ge[U[0]];return"".concat(De," ").concat(J(U[0],G)[0]).concat(M)}}let P=ue.split(de).map(G=>"".concat(W," ").concat(G)).join(de)+de;return De+de+(ue?P:"")+(ue&&U.length?W+de:"")+X+M}function J(ee,ue){return V.concat(ue).map(ge=>"@".concat(ee," ").concat(ge).trim())}}}),sl=ft({"src/language-js/utils/get-shebang.js"(d,A){_();function m(b){if(!b.startsWith("#!"))return"";let E=b.indexOf(`
|
|
80
|
-
`);return E===-1?b:b.slice(0,E)}A.exports=m}}),wa=ft({"src/language-js/pragma.js"(d,A){_();var{parseWithComments:m,strip:b,extract:E,print:g}=bo(),{normalizeEndOfLine:D}=us(),w=sl();function F(R){let V=w(R);V&&(R=R.slice(V.length+1));let I=E(R),{pragmas:L,comments:z}=m(I);return{shebang:V,text:R,pragmas:L,comments:z}}function B(R){let V=Object.keys(F(R).pragmas);return V.includes("prettier")||V.includes("format")}function H(R){let{shebang:V,text:I,pragmas:L,comments:z}=F(R),ce=b(I),fe=g({pragmas:Object.assign({format:""},L),comments:z.trimStart()});return(V?"".concat(V,`
|
|
81
|
-
`):"")+D(fe)+(ce.startsWith(`
|
|
82
|
-
`)?`
|
|
83
|
-
`:`
|
|
84
|
-
|
|
85
|
-
`)+ce}A.exports={hasPragma:B,insertPragma:H}}}),su=ft({"src/language-js/comments.js"(d,A){_();var{getLast:m,hasNewline:b,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:E,getNextNonSpaceNonCommentCharacter:g,hasNewlineInRange:D,addLeadingComment:w,addTrailingComment:F,addDanglingComment:B,getNextNonSpaceNonCommentCharacterIndex:H,isNonEmptyArray:R}=Ki(),{getFunctionParameters:V,isPrettierIgnoreComment:I,isJsxNode:L,hasFlowShorthandAnnotationComment:z,hasFlowAnnotationComment:ce,hasIgnoreComment:fe,isCallLikeExpression:J,getCallArguments:ee,isCallExpression:ue,isMemberExpression:ge,isObjectProperty:de,isLineComment:De,getComments:W,CommentCheckFlags:M,markerForIfWithoutBlockAndSameLineComment:U}=vs(),{locStart:X,locEnd:P}=Ds(),G=Ma();function q(r){return[Yr,gr,Le,Pe,Ve,He,pt,cn,ht,Er,Fn,Ei,wt,tr,Ze].some(n=>n(r))}function se(r){return[Re,gr,Dt,Fn,Pe,Ve,He,pt,tr,ot,pr,Er,br,Ze,qr].some(n=>n(r))}function te(r){return[Yr,Pe,Ve,Ke,rr,wt,Er,tt,Ue,nt,Ze,Qt].some(n=>n(r))}function ne(r,n){let a=(r.body||r.properties).find(u=>{let{type:h}=u;return h!=="EmptyStatement"});a?w(a,n):B(r,n)}function Ce(r,n){r.type==="BlockStatement"?ne(r,n):w(r,n)}function Re(r){let{comment:n,followingNode:a}=r;return a&&vi(n)?(w(a,n),!0):!1}function Pe(r){let{comment:n,precedingNode:a,enclosingNode:u,followingNode:h,text:C}=r;if((u==null?void 0:u.type)!=="IfStatement"||!h)return!1;if(g(C,n,P)===")")return F(a,n),!0;if(a===u.consequent&&h===u.alternate){if(a.type==="BlockStatement")F(a,n);else{let S=n.type==="SingleLine"||n.loc.start.line===n.loc.end.line,O=n.loc.start.line===a.loc.start.line;S&&O?B(a,n,U):B(u,n)}return!0}return h.type==="BlockStatement"?(ne(h,n),!0):h.type==="IfStatement"?(Ce(h.consequent,n),!0):u.consequent===h?(w(h,n),!0):!1}function Ve(r){let{comment:n,precedingNode:a,enclosingNode:u,followingNode:h,text:C}=r;return(u==null?void 0:u.type)!=="WhileStatement"||!h?!1:g(C,n,P)===")"?(F(a,n),!0):h.type==="BlockStatement"?(ne(h,n),!0):u.body===h?(w(h,n),!0):!1}function He(r){let{comment:n,precedingNode:a,enclosingNode:u,followingNode:h}=r;return(u==null?void 0:u.type)!=="TryStatement"&&(u==null?void 0:u.type)!=="CatchClause"||!h?!1:u.type==="CatchClause"&&a?(F(a,n),!0):h.type==="BlockStatement"?(ne(h,n),!0):h.type==="TryStatement"?(Ce(h.finalizer,n),!0):h.type==="CatchClause"?(Ce(h.body,n),!0):!1}function Le(r){let{comment:n,enclosingNode:a,followingNode:u}=r;return ge(a)&&(u==null?void 0:u.type)==="Identifier"?(w(a,n),!0):!1}function Dt(r){let{comment:n,precedingNode:a,enclosingNode:u,followingNode:h,text:C}=r,S=a&&!D(C,P(a),X(n));return(!a||!S)&&((u==null?void 0:u.type)==="ConditionalExpression"||(u==null?void 0:u.type)==="TSConditionalType")&&h?(w(h,n),!0):!1}function Ke(r){let{comment:n,precedingNode:a,enclosingNode:u}=r;return de(u)&&u.shorthand&&u.key===a&&u.value.type==="AssignmentPattern"?(F(u.value.left,n),!0):!1}var qe=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function pt(r){let{comment:n,precedingNode:a,enclosingNode:u,followingNode:h}=r;if(qe.has(u==null?void 0:u.type)){if(R(u.decorators)&&!(h&&h.type==="Decorator"))return F(m(u.decorators),n),!0;if(u.body&&h===u.body)return ne(u.body,n),!0;if(h){if(u.superClass&&h===u.superClass&&a&&(a===u.id||a===u.typeParameters))return F(a,n),!0;for(let C of["implements","extends","mixins"])if(u[C]&&h===u[C][0])return a&&(a===u.id||a===u.typeParameters||a===u.superClass)?F(a,n):B(u,n,C),!0}}return!1}var Bt=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition"]);function wt(r){let{comment:n,precedingNode:a,enclosingNode:u,text:h}=r;return u&&a&&g(h,n,P)==="("&&(u.type==="Property"||u.type==="TSDeclareMethod"||u.type==="TSAbstractMethodDefinition")&&a.type==="Identifier"&&u.key===a&&g(h,a,P)!==":"||(a==null?void 0:a.type)==="Decorator"&&Bt.has(u==null?void 0:u.type)?(F(a,n),!0):!1}var ur=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function Ue(r){let{comment:n,precedingNode:a,enclosingNode:u,text:h}=r;return g(h,n,P)!=="("?!1:a&&ur.has(u==null?void 0:u.type)?(F(a,n),!0):!1}function tt(r){let{comment:n,enclosingNode:a,text:u}=r;if((a==null?void 0:a.type)!=="ArrowFunctionExpression")return!1;let h=H(u,n,P);return h!==!1&&u.slice(h,h+2)==="=>"?(B(a,n),!0):!1}function rr(r){let{comment:n,enclosingNode:a,text:u}=r;return g(u,n,P)!==")"?!1:a&&(Ur(a)&&V(a).length===0||J(a)&&ee(a).length===0)?(B(a,n),!0):((a==null?void 0:a.type)==="MethodDefinition"||(a==null?void 0:a.type)==="TSAbstractMethodDefinition")&&V(a.value).length===0?(B(a.value,n),!0):!1}function gr(r){let{comment:n,precedingNode:a,enclosingNode:u,followingNode:h,text:C}=r;if((a==null?void 0:a.type)==="FunctionTypeParam"&&(u==null?void 0:u.type)==="FunctionTypeAnnotation"&&(h==null?void 0:h.type)!=="FunctionTypeParam"||((a==null?void 0:a.type)==="Identifier"||(a==null?void 0:a.type)==="AssignmentPattern")&&u&&Ur(u)&&g(C,n,P)===")")return F(a,n),!0;if((u==null?void 0:u.type)==="FunctionDeclaration"&&(h==null?void 0:h.type)==="BlockStatement"){let S=(()=>{let O=V(u);if(O.length>0)return E(C,P(m(O)));let j=E(C,P(u.id));return j!==!1&&E(C,j+1)})();if(X(n)>S)return ne(h,n),!0}return!1}function tr(r){let{comment:n,enclosingNode:a}=r;return(a==null?void 0:a.type)==="LabeledStatement"?(w(a,n),!0):!1}function Ze(r){let{comment:n,enclosingNode:a}=r;return((a==null?void 0:a.type)==="ContinueStatement"||(a==null?void 0:a.type)==="BreakStatement")&&!a.label?(F(a,n),!0):!1}function ot(r){let{comment:n,precedingNode:a,enclosingNode:u}=r;return ue(u)&&a&&u.callee===a&&u.arguments.length>0?(w(u.arguments[0],n),!0):!1}function ht(r){let{comment:n,precedingNode:a,enclosingNode:u,followingNode:h}=r;return(u==null?void 0:u.type)==="UnionTypeAnnotation"||(u==null?void 0:u.type)==="TSUnionType"?(I(n)&&(h.prettierIgnore=!0,n.unignore=!0),a?(F(a,n),!0):!1):(((h==null?void 0:h.type)==="UnionTypeAnnotation"||(h==null?void 0:h.type)==="TSUnionType")&&I(n)&&(h.types[0].prettierIgnore=!0,n.unignore=!0),!1)}function pr(r){let{comment:n,enclosingNode:a}=r;return de(a)?(w(a,n),!0):!1}function Er(r){let{comment:n,enclosingNode:a,followingNode:u,ast:h,isLastComment:C}=r;return h&&h.body&&h.body.length===0?(C?B(h,n):w(h,n),!0):(a==null?void 0:a.type)==="Program"&&(a==null?void 0:a.body.length)===0&&!R(a.directives)?(C?B(a,n):w(a,n),!0):(u==null?void 0:u.type)==="Program"&&(u==null?void 0:u.body.length)===0&&(a==null?void 0:a.type)==="ModuleExpression"?(B(u,n),!0):!1}function cn(r){let{comment:n,enclosingNode:a}=r;return(a==null?void 0:a.type)==="ForInStatement"||(a==null?void 0:a.type)==="ForOfStatement"?(w(a,n),!0):!1}function Fn(r){let{comment:n,precedingNode:a,enclosingNode:u,text:h}=r;if((u==null?void 0:u.type)==="ImportSpecifier"||(u==null?void 0:u.type)==="ExportSpecifier")return w(u,n),!0;let C=(a==null?void 0:a.type)==="ImportSpecifier"&&(u==null?void 0:u.type)==="ImportDeclaration",S=(a==null?void 0:a.type)==="ExportSpecifier"&&(u==null?void 0:u.type)==="ExportNamedDeclaration";return(C||S)&&b(h,P(n))?(F(a,n),!0):!1}function Ei(r){let{comment:n,enclosingNode:a}=r;return(a==null?void 0:a.type)==="AssignmentPattern"?(w(a,n),!0):!1}var fr=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),lr=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function br(r){let{comment:n,enclosingNode:a,followingNode:u}=r;return fr.has(a==null?void 0:a.type)&&u&&(lr.has(u.type)||G(n))?(w(u,n),!0):!1}function Qt(r){let{comment:n,enclosingNode:a,followingNode:u,text:h}=r;return!u&&((a==null?void 0:a.type)==="TSMethodSignature"||(a==null?void 0:a.type)==="TSDeclareFunction"||(a==null?void 0:a.type)==="TSAbstractMethodDefinition")&&g(h,n,P)===";"?(F(a,n),!0):!1}function Yr(r){let{comment:n,enclosingNode:a,followingNode:u}=r;if(I(n)&&(a==null?void 0:a.type)==="TSMappedType"&&(u==null?void 0:u.type)==="TSTypeParameter"&&u.constraint)return a.prettierIgnore=!0,n.unignore=!0,!0}function nt(r){let{comment:n,precedingNode:a,enclosingNode:u,followingNode:h}=r;return(u==null?void 0:u.type)!=="TSMappedType"?!1:(h==null?void 0:h.type)==="TSTypeParameter"&&h.name?(w(h.name,n),!0):(a==null?void 0:a.type)==="TSTypeParameter"&&a.constraint?(F(a.constraint,n),!0):!1}function qr(r){let{comment:n,enclosingNode:a,followingNode:u}=r;return!a||a.type!=="SwitchCase"||a.test?!1:(u.type==="BlockStatement"&&De(n)?ne(u,n):B(a,n),!0)}function Ur(r){return r.type==="ArrowFunctionExpression"||r.type==="FunctionExpression"||r.type==="FunctionDeclaration"||r.type==="ObjectMethod"||r.type==="ClassMethod"||r.type==="TSDeclareFunction"||r.type==="TSCallSignatureDeclaration"||r.type==="TSConstructSignatureDeclaration"||r.type==="TSMethodSignature"||r.type==="TSConstructorType"||r.type==="TSFunctionType"||r.type==="TSDeclareMethod"}function tn(r,n){if((n.parser==="typescript"||n.parser==="flow"||n.parser==="acorn"||n.parser==="espree"||n.parser==="meriyah"||n.parser==="__babel_estree")&&r.type==="MethodDefinition"&&r.value&&r.value.type==="FunctionExpression"&&V(r.value).length===0&&!r.value.returnType&&!R(r.value.typeParameters)&&r.value.body)return[...r.decorators||[],r.key,r.value.body]}function vi(r){return G(r)&&r.value[0]==="*"&&/@type\b/.test(r.value)}function e(r){let n=r.getValue(),a=r.getParentNode(),u=h=>ce(W(h,M.Leading))||ce(W(h,M.Trailing));return(n&&(L(n)||z(n)||ue(a)&&u(n))||a&&(a.type==="JSXSpreadAttribute"||a.type==="JSXSpreadChild"||a.type==="UnionTypeAnnotation"||a.type==="TSUnionType"||(a.type==="ClassDeclaration"||a.type==="ClassExpression")&&a.superClass===n))&&(!fe(r)||a.type==="UnionTypeAnnotation"||a.type==="TSUnionType")}A.exports={handleOwnLineComment:q,handleEndOfLineComment:se,handleRemainingComment:te,isTypeCastComment:vi,getCommentChildNodes:tn,willPrintOwnComments:e}}}),eo=ft({"src/language-js/needs-parens.js"(d,A){_();var m=Ji(),b=Da(),{getFunctionParameters:E,getLeftSidePathName:g,hasFlowShorthandAnnotationComment:D,hasNakedLeftSide:w,hasNode:F,isBitwiseOperator:B,startsWithNoLookaheadToken:H,shouldFlatten:R,getPrecedence:V,isCallExpression:I,isMemberExpression:L,isObjectProperty:z}=vs();function ce(De,W){let M=De.getParentNode();if(!M)return!1;let U=De.getName(),X=De.getNode();if(W.__isInHtmlInterpolation&&!W.bracketSpacing&&ue(X)&&ge(De))return!0;if(fe(X))return!1;if(W.parser!=="flow"&&D(De.getValue()))return!0;if(X.type==="Identifier")return!!(X.extra&&X.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(X.name)||U==="left"&&X.name==="async"&&M.type==="ForOfStatement"&&!M.await);switch(M.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":{if(U==="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 de(De,W)||X.type==="SequenceExpression";case"Decorator":{if(U==="expression"){let P=!1,G=!1,q=X;for(;q;)switch(q.type){case"MemberExpression":G=!0,q=q.object;break;case"CallExpression":if(G||P)return W.parser!=="typescript";P=!0,q=q.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return W.parser!=="typescript";default:return!0}return!0}break}case"ExpressionStatement":{if(H(X,!0))return!0;break}case"ArrowFunctionExpression":{if(U==="body"&&X.type!=="SequenceExpression"&&H(X,!1))return!0;break}}switch(X.type){case"UpdateExpression":if(M.type==="UnaryExpression")return X.prefix&&(X.operator==="++"&&M.operator==="+"||X.operator==="--"&&M.operator==="-");case"UnaryExpression":switch(M.type){case"UnaryExpression":return X.operator===M.operator&&(X.operator==="+"||X.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return U==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return U==="callee";case"BinaryExpression":return U==="left"&&M.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if(M.type==="UpdateExpression"||X.operator==="in"&&J(De))return!0;if(X.operator==="|>"&&X.extra&&X.extra.parenthesized){let P=De.getParentNode(1);if(P.type==="BinaryExpression"&&P.operator==="|>")return!0}}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(M.type){case"TSAsExpression":return X.type!=="TSAsExpression";case"ConditionalExpression":return X.type==="TSAsExpression";case"CallExpression":case"NewExpression":case"OptionalCallExpression":return U==="callee";case"ClassExpression":case"ClassDeclaration":return U==="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 U==="object";case"AssignmentExpression":case"AssignmentPattern":return U==="left"&&(X.type==="TSTypeAssertion"||X.type==="TSAsExpression");case"LogicalExpression":if(X.type==="LogicalExpression")return M.operator!==X.operator;case"BinaryExpression":{let{operator:P,type:G}=X;if(!P&&G!=="TSTypeAssertion")return!0;let q=V(P),se=M.operator,te=V(se);return te>q||U==="right"&&te===q||te===q&&!R(se,P)?!0:te<q&&P==="%"?se==="+"||se==="-":!!B(se)}default:return!1}case"SequenceExpression":switch(M.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return U!=="expression";case"ArrowFunctionExpression":return U!=="body";default:return!0}case"YieldExpression":if(M.type==="UnaryExpression"||M.type==="AwaitExpression"||M.type==="TSAsExpression"||M.type==="TSNonNullExpression")return!0;case"AwaitExpression":switch(M.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return U==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return U==="callee";case"ConditionalExpression":return U==="test";case"BinaryExpression":return!(!X.argument&&M.operator==="|>");default:return!1}case"TSConditionalType":if(U==="extendsType"&&M.type==="TSConditionalType")return!0;case"TSFunctionType":case"TSConstructorType":if(U==="checkType"&&M.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((M.type==="TSUnionType"||M.type==="TSIntersectionType")&&M.types.length>1&&(!X.types||X.types.length>1))return!0;case"TSInferType":if(X.type==="TSInferType"&&M.type==="TSRestType")return!1;case"TSTypeOperator":return M.type==="TSArrayType"||M.type==="TSOptionalType"||M.type==="TSRestType"||U==="objectType"&&M.type==="TSIndexedAccessType"||M.type==="TSTypeOperator"||M.type==="TSTypeAnnotation"&&De.getParentNode(1).type.startsWith("TSJSDoc");case"ArrayTypeAnnotation":return M.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return M.type==="ArrayTypeAnnotation"||M.type==="NullableTypeAnnotation"||M.type==="IntersectionTypeAnnotation"||M.type==="UnionTypeAnnotation"||U==="objectType"&&(M.type==="IndexedAccessType"||M.type==="OptionalIndexedAccessType");case"NullableTypeAnnotation":return M.type==="ArrayTypeAnnotation"||U==="objectType"&&(M.type==="IndexedAccessType"||M.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{let P=M.type==="NullableTypeAnnotation"?De.getParentNode(1):M;return P.type==="UnionTypeAnnotation"||P.type==="IntersectionTypeAnnotation"||P.type==="ArrayTypeAnnotation"||U==="objectType"&&(P.type==="IndexedAccessType"||P.type==="OptionalIndexedAccessType")||P.type==="NullableTypeAnnotation"||M.type==="FunctionTypeParam"&&M.name===null&&E(X).some(G=>G.typeAnnotation&&G.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return U==="objectType"&&M.type==="IndexedAccessType";case"TypeofTypeAnnotation":return U==="objectType"&&(M.type==="IndexedAccessType"||M.type==="OptionalIndexedAccessType");case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof X.value=="string"&&M.type==="ExpressionStatement"&&!M.directive){let P=De.getParentNode(1);return P.type==="Program"||P.type==="BlockStatement"}return U==="object"&&M.type==="MemberExpression"&&typeof X.value=="number";case"AssignmentExpression":{let P=De.getParentNode(1);return U==="body"&&M.type==="ArrowFunctionExpression"?!0:U==="key"&&(M.type==="ClassProperty"||M.type==="PropertyDefinition")&&M.computed||(U==="init"||U==="update")&&M.type==="ForStatement"?!1:M.type==="ExpressionStatement"?X.left.type==="ObjectPattern":!(U==="key"&&M.type==="TSPropertySignature"||M.type==="AssignmentExpression"||M.type==="SequenceExpression"&&P&&P.type==="ForStatement"&&(P.init===M||P.update===M)||U==="value"&&M.type==="Property"&&P&&P.type==="ObjectPattern"&&P.properties.includes(M)||M.type==="NGChainedExpression")}case"ConditionalExpression":switch(M.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 U==="callee";case"ConditionalExpression":return U==="test";case"MemberExpression":case"OptionalMemberExpression":return U==="object";default:return!1}case"FunctionExpression":switch(M.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return U==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(M.type){case"BinaryExpression":return M.operator!=="|>"||X.extra&&X.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return U==="callee";case"MemberExpression":case"OptionalMemberExpression":return U==="object";case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return U==="test";default:return!1}case"ClassExpression":if(b(X.decorators))return!0;switch(M.type){case"NewExpression":return U==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let P=De.getParentNode(1);if(U==="object"&&M.type==="MemberExpression"||U==="callee"&&(M.type==="CallExpression"||M.type==="NewExpression")||M.type==="TSNonNullExpression"&&P.type==="MemberExpression"&&P.object===M)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(U==="callee"&&(M.type==="BindExpression"||M.type==="NewExpression")){let P=X;for(;P;)switch(P.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":P=P.object;break;case"TaggedTemplateExpression":P=P.tag;break;case"TSNonNullExpression":P=P.expression;break;default:return!1}}return!1;case"BindExpression":return U==="callee"&&(M.type==="BindExpression"||M.type==="NewExpression")||U==="object"&&L(M);case"NGPipeExpression":return!(M.type==="NGRoot"||M.type==="NGMicrosyntaxExpression"||M.type==="ObjectProperty"&&!(X.extra&&X.extra.parenthesized)||M.type==="ArrayExpression"||I(M)&&M.arguments[U]===X||U==="right"&&M.type==="NGPipeExpression"||U==="property"&&M.type==="MemberExpression"||M.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return U==="callee"||U==="left"&&M.type==="BinaryExpression"&&M.operator==="<"||M.type!=="ArrayExpression"&&M.type!=="ArrowFunctionExpression"&&M.type!=="AssignmentExpression"&&M.type!=="AssignmentPattern"&&M.type!=="BinaryExpression"&&M.type!=="NewExpression"&&M.type!=="ConditionalExpression"&&M.type!=="ExpressionStatement"&&M.type!=="JsExpressionRoot"&&M.type!=="JSXAttribute"&&M.type!=="JSXElement"&&M.type!=="JSXExpressionContainer"&&M.type!=="JSXFragment"&&M.type!=="LogicalExpression"&&!I(M)&&!z(M)&&M.type!=="ReturnStatement"&&M.type!=="ThrowStatement"&&M.type!=="TypeCastExpression"&&M.type!=="VariableDeclarator"&&M.type!=="YieldExpression";case"TypeAnnotation":return U==="returnType"&&M.type==="ArrowFunctionExpression"&&ee(X)}return!1}function fe(De){return De.type==="BlockStatement"||De.type==="BreakStatement"||De.type==="ClassBody"||De.type==="ClassDeclaration"||De.type==="ClassMethod"||De.type==="ClassProperty"||De.type==="PropertyDefinition"||De.type==="ClassPrivateProperty"||De.type==="ContinueStatement"||De.type==="DebuggerStatement"||De.type==="DeclareClass"||De.type==="DeclareExportAllDeclaration"||De.type==="DeclareExportDeclaration"||De.type==="DeclareFunction"||De.type==="DeclareInterface"||De.type==="DeclareModule"||De.type==="DeclareModuleExports"||De.type==="DeclareVariable"||De.type==="DoWhileStatement"||De.type==="EnumDeclaration"||De.type==="ExportAllDeclaration"||De.type==="ExportDefaultDeclaration"||De.type==="ExportNamedDeclaration"||De.type==="ExpressionStatement"||De.type==="ForInStatement"||De.type==="ForOfStatement"||De.type==="ForStatement"||De.type==="FunctionDeclaration"||De.type==="IfStatement"||De.type==="ImportDeclaration"||De.type==="InterfaceDeclaration"||De.type==="LabeledStatement"||De.type==="MethodDefinition"||De.type==="ReturnStatement"||De.type==="SwitchStatement"||De.type==="ThrowStatement"||De.type==="TryStatement"||De.type==="TSDeclareFunction"||De.type==="TSEnumDeclaration"||De.type==="TSImportEqualsDeclaration"||De.type==="TSInterfaceDeclaration"||De.type==="TSModuleDeclaration"||De.type==="TSNamespaceExportDeclaration"||De.type==="TypeAlias"||De.type==="VariableDeclaration"||De.type==="WhileStatement"||De.type==="WithStatement"}function J(De){let W=0,M=De.getValue();for(;M;){let U=De.getParentNode(W++);if(U&&U.type==="ForStatement"&&U.init===M)return!0;M=U}return!1}function ee(De){return F(De,W=>W.type==="ObjectTypeAnnotation"&&F(W,M=>M.type==="FunctionTypeAnnotation"||void 0)||void 0)}function ue(De){switch(De.type){case"ObjectExpression":return!0;default:return!1}}function ge(De){let W=De.getValue(),M=De.getParentNode(),U=De.getName();switch(M.type){case"NGPipeExpression":if(typeof U=="number"&&M.arguments[U]===W&&M.arguments.length-1===U)return De.callParent(ge);break;case"ObjectProperty":if(U==="value"){let X=De.getParentNode(1);return m(X.properties)===M}break;case"BinaryExpression":case"LogicalExpression":if(U==="right")return De.callParent(ge);break;case"ConditionalExpression":if(U==="alternate")return De.callParent(ge);break;case"UnaryExpression":if(M.prefix)return De.callParent(ge);break}return!1}function de(De,W){let M=De.getValue(),U=De.getParentNode();return M.type==="FunctionExpression"||M.type==="ClassExpression"?U.type==="ExportDefaultDeclaration"||!ce(De,W):!w(M)||U.type!=="ExportDefaultDeclaration"&&ce(De,W)?!1:De.call(X=>de(X,W),...g(De,M))}A.exports=ce}}),au=ft({"src/language-js/print-preprocess.js"(d,A){_();function m(b,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({},b),{},{type:E.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:b,comments:[],rootMarker:E.rootMarker});default:return b}}A.exports=m}}),Ao=ft({"src/language-js/print/html-binding.js"(d,A){_();var{builders:{join:m,line:b,group:E,softline:g,indent:D}}=bi();function w(B,H,R){let V=B.getValue();if(H.__onHtmlBindingRoot&&B.getName()===null&&H.__onHtmlBindingRoot(V,H),V.type==="File"){if(H.__isVueForBindingLeft)return B.call(I=>{let L=m([",",b],I.map(R,"params")),{params:z}=I.getValue();return z.length===1?L:["(",D([g,E(L)]),g,")"]},"program","body",0);if(H.__isVueBindings)return B.call(I=>m([",",b],I.map(R,"params")),"program","body",0)}}function F(B){switch(B.type){case"MemberExpression":switch(B.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return F(B.object)}return!1;case"Identifier":return!0;default:return!1}}A.exports={isVueEventBindingExpression:F,printHtmlBinding:w}}}),Wo=ft({"src/language-js/print/binaryish.js"(d,A){_();var{printComments:m}=ki(),{getLast:b}=Ki(),{builders:{join:E,line:g,softline:D,group:w,indent:F,align:B,ifBreak:H,indentIfBreak:R},utils:{cleanDoc:V,getDocParts:I,isConcat:L}}=bi(),{hasLeadingOwnLineComment:z,isBinaryish:ce,isJsxNode:fe,shouldFlatten:J,hasComment:ee,CommentCheckFlags:ue,isCallExpression:ge,isMemberExpression:de,isObjectProperty:De,isEnabledHackPipeline:W}=vs(),M=0;function U(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=W(q)&&te.operator==="|>",Ve=X(G,se,q,!1,Re);if(Re)return Ve;if(Pe)return w(Ve);if(ge(ne)&&ne.callee===te||ne.type==="UnaryExpression"||de(ne)&&!ne.computed)return w([F([D,...Ve]),D]);let He=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",Le=ne.type==="AssignmentExpression"||ne.type==="VariableDeclarator"||ne.type==="ClassProperty"||ne.type==="PropertyDefinition"||ne.type==="TSAbstractPropertyDefinition"||ne.type==="ClassPrivateProperty"||De(ne),Dt=ce(te.left)&&J(te.operator,te.left.operator);if(He||P(te)&&!Dt||!P(te)&&Le)return w(Ve);if(Ve.length===0)return"";let Ke=fe(te.right),qe=Ve.findIndex(tt=>typeof tt!="string"&&!Array.isArray(tt)&&tt.type==="group"),pt=Ve.slice(0,qe===-1?1:qe+1),Bt=Ve.slice(pt.length,Ke?-1:void 0),wt=Symbol("logicalChain-"+ ++M),ur=w([...pt,F(Bt)],{id:wt});if(!Ke)return ur;let Ue=b(Ve);return w([ur,R(Ue,{groupId:wt})])}function X(G,q,se,te,ne){let Ce=G.getValue();if(!ce(Ce))return[w(q())];let Re=[];J(Ce.operator,Ce.left.operator)?Re=G.call(Bt=>X(Bt,q,se,!0,ne),"left"):Re.push(w(q("left")));let Pe=P(Ce),Ve=(Ce.operator==="|>"||Ce.type==="NGPipeExpression"||Ce.operator==="|"&&se.parser==="__vue_expression")&&!z(se.originalText,Ce.right),He=Ce.type==="NGPipeExpression"?"|":Ce.operator,Le=Ce.type==="NGPipeExpression"&&Ce.arguments.length>0?w(F([D,": ",E([D,":",H(" ")],G.map(q,"arguments").map(Bt=>B(2,w(Bt))))])):"",Dt;if(Pe)Dt=[He," ",q("right"),Le];else{let Bt=W(se)&&He==="|>"?G.call(wt=>X(wt,q,se,!0,ne),"right"):q("right");Dt=[Ve?g:"",He,Ve?" ":g,Bt,Le]}let Ke=G.getParentNode(),qe=ee(Ce.left,ue.Trailing|ue.Line),pt=qe||!(ne&&Ce.type==="LogicalExpression")&&Ke.type!==Ce.type&&Ce.left.type!==Ce.type&&Ce.right.type!==Ce.type;if(Re.push(Ve?"":" ",pt?w(Dt,{shouldBreak:qe}):Dt),te&&ee(Ce)){let Bt=V(m(G,Re,se));return L(Bt)||Bt.type==="fill"?I(Bt):[Bt]}return Re}function P(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))}A.exports={printBinaryishExpression:U,shouldInlineLogicalExpression:P}}}),al=ft({"src/language-js/print/angular.js"(d,A){_();var{builders:{join:m,line:b,group:E}}=bi(),{hasNode:g,hasComment:D,getComments:w}=vs(),{printBinaryishExpression:F}=Wo();function B(V,I,L){let z=V.getValue();if(z.type.startsWith("NG"))switch(z.type){case"NGRoot":return[L("node"),D(z.node)?" //"+w(z.node)[0].value.trimEnd():""];case"NGPipeExpression":return F(V,I,L);case"NGChainedExpression":return E(m([";",b],V.map(ce=>R(ce)?L():["(",L(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[z.prefix,": ",z.value.trim()];case"NGMicrosyntax":return V.map((ce,fe)=>[fe===0?"":H(ce.getValue(),fe,z)?" ":[";",b],L()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(z.name)?z.name:JSON.stringify(z.name);case"NGMicrosyntaxExpression":return[L("expression"),z.alias===null?"":[" as ",L("alias")]];case"NGMicrosyntaxKeyedExpression":{let ce=V.getName(),fe=V.getParentNode(),J=H(z,ce,fe)||(ce===1&&(z.key.name==="then"||z.key.name==="else")||ce===2&&z.key.name==="else"&&fe.body[ce-1].type==="NGMicrosyntaxKeyedExpression"&&fe.body[ce-1].key.name==="then")&&fe.body[0].type==="NGMicrosyntaxExpression";return[L("key"),J?" ":": ",L("expression")]}case"NGMicrosyntaxLet":return["let ",L("key"),z.value===null?"":[" = ",L("value")]];case"NGMicrosyntaxAs":return[L("key")," as ",L("alias")];default:throw new Error("Unknown Angular node type: ".concat(JSON.stringify(z.type),"."))}}function H(V,I,L){return V.type==="NGMicrosyntaxKeyedExpression"&&V.key.name==="of"&&I===1&&L.body[0].type==="NGMicrosyntaxLet"&&L.body[0].value===null}function R(V){return g(V.getValue(),I=>{switch(I.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}A.exports={printAngular:B}}}),ol=ft({"src/language-js/print/jsx.js"(d,A){_();var{printComments:m,printDanglingComments:b}=ki(),{builders:{line:E,hardline:g,softline:D,group:w,indent:F,conditionalGroup:B,fill:H,ifBreak:R,lineSuffixBoundary:V,join:I},utils:{willBreak:L}}=bi(),{getLast:z,getPreferredQuote:ce}=Ki(),{isJsxNode:fe,rawText:J,isLiteral:ee,isCallExpression:ue,isStringLiteral:ge,isBinaryish:de,hasComment:De,CommentCheckFlags:W,hasNodeIgnoreComment:M}=vs(),U=eo(),{willPrintOwnComments:X}=su(),P=tr=>tr===""||tr===E||tr===g||tr===D;function G(tr,Ze,ot){let ht=tr.getValue();if(ht.type==="JSXElement"&&Ue(ht))return[ot("openingElement"),ot("closingElement")];let pr=ht.type==="JSXElement"?ot("openingElement"):ot("openingFragment"),Er=ht.type==="JSXElement"?ot("closingElement"):ot("closingFragment");if(ht.children.length===1&&ht.children[0].type==="JSXExpressionContainer"&&(ht.children[0].expression.type==="TemplateLiteral"||ht.children[0].expression.type==="TaggedTemplateExpression"))return[pr,...tr.map(ot,"children"),Er];ht.children=ht.children.map(e=>rr(e)?{type:"JSXText",value:" ",raw:" "}:e);let cn=ht.children.some(fe),Fn=ht.children.filter(e=>e.type==="JSXExpressionContainer").length>1,Ei=ht.type==="JSXElement"&&ht.openingElement.attributes.length>1,fr=L(pr)||cn||Ei||Fn,lr=tr.getParentNode().rootMarker==="mdx",br=Ze.singleQuote?"{' '}":'{" "}',Qt=lr?" ":R([br,D]," "),Yr=ht.openingElement&&ht.openingElement.name&&ht.openingElement.name.name==="fbt",nt=q(tr,Ze,ot,Qt,Yr),qr=ht.children.some(e=>tt(e));for(let e=nt.length-2;e>=0;e--){let r=nt[e]===""&&nt[e+1]==="",n=nt[e]===g&&nt[e+1]===""&&nt[e+2]===g,a=(nt[e]===D||nt[e]===g)&&nt[e+1]===""&&nt[e+2]===Qt,u=nt[e]===Qt&&nt[e+1]===""&&(nt[e+2]===D||nt[e+2]===g),h=nt[e]===Qt&&nt[e+1]===""&&nt[e+2]===Qt,C=nt[e]===D&&nt[e+1]===""&&nt[e+2]===g||nt[e]===g&&nt[e+1]===""&&nt[e+2]===D;n&&qr||r||a||h||C?nt.splice(e,2):u&&nt.splice(e+1,2)}for(;nt.length>0&&P(z(nt));)nt.pop();for(;nt.length>1&&P(nt[0])&&P(nt[1]);)nt.shift(),nt.shift();let Ur=[];for(let[e,r]of nt.entries()){if(r===Qt){if(e===1&&nt[e-1]===""){if(nt.length===2){Ur.push(br);continue}Ur.push([br,g]);continue}else if(e===nt.length-1){Ur.push(br);continue}else if(nt[e-1]===""&&nt[e-2]===g){Ur.push(br);continue}}Ur.push(r),L(r)&&(fr=!0)}let tn=qr?H(Ur):w(Ur,{shouldBreak:!0});if(lr)return tn;let vi=w([pr,F([g,tn]),g,Er]);return fr?vi:B([w([pr,...nt,Er]),vi])}function q(tr,Ze,ot,ht,pr){let Er=[];return tr.each((cn,Fn,Ei)=>{let fr=cn.getValue();if(ee(fr)){let lr=J(fr);if(tt(fr)){let br=lr.split(Bt);if(br[0]===""){if(Er.push(""),br.shift(),/\n/.test(br[0])){let Yr=Ei[Fn+1];Er.push(te(pr,br[1],fr,Yr))}else Er.push(ht);br.shift()}let Qt;if(z(br)===""&&(br.pop(),Qt=br.pop()),br.length===0)return;for(let[Yr,nt]of br.entries())Yr%2===1?Er.push(E):Er.push(nt);if(Qt!==void 0)if(/\n/.test(Qt)){let Yr=Ei[Fn+1];Er.push(te(pr,z(Er),fr,Yr))}else Er.push(ht);else{let Yr=Ei[Fn+1];Er.push(se(pr,z(Er),fr,Yr))}}else/\n/.test(lr)?lr.match(/\n/g).length>1&&Er.push("",g):Er.push("",ht)}else{let lr=ot();Er.push(lr);let br=Ei[Fn+1];if(br&&tt(br)){let Qt=ur(J(br)).split(Bt)[0];Er.push(se(pr,Qt,fr,br))}else Er.push(g)}},"children"),Er}function se(tr,Ze,ot,ht){return tr?"":ot.type==="JSXElement"&&!ot.closingElement||ht&&ht.type==="JSXElement"&&!ht.closingElement?Ze.length===1?D:g:D}function te(tr,Ze,ot,ht){return tr?g:Ze.length===1?ot.type==="JSXElement"&&!ot.closingElement||ht&&ht.type==="JSXElement"&&!ht.closingElement?g:D:g}function ne(tr,Ze,ot){let ht=tr.getParentNode();if(!ht||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[ht.type])return Ze;let pr=tr.match(void 0,cn=>cn.type==="ArrowFunctionExpression",ue,cn=>cn.type==="JSXExpressionContainer"),Er=U(tr,ot);return w([Er?"":R("("),F([D,Ze]),D,Er?"":R(")")],{shouldBreak:pr})}function Ce(tr,Ze,ot){let ht=tr.getValue(),pr=[];if(pr.push(ot("name")),ht.value){let Er;if(ge(ht.value)){let cn=J(ht.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:Fn,quote:Ei,regex:fr}=ce(cn,Ze.jsxSingleQuote?"'":'"');cn=cn.replace(fr,Fn),Er=[Ei,cn,Ei]}else Er=ot("value");pr.push("=",Er)}return pr}function Re(tr,Ze,ot){let ht=tr.getValue(),pr=(Er,cn)=>Er.type==="JSXEmptyExpression"||!De(Er)&&(Er.type==="ArrayExpression"||Er.type==="ObjectExpression"||Er.type==="ArrowFunctionExpression"||Er.type==="AwaitExpression"&&(pr(Er.argument,Er)||Er.argument.type==="JSXElement")||ue(Er)||Er.type==="FunctionExpression"||Er.type==="TemplateLiteral"||Er.type==="TaggedTemplateExpression"||Er.type==="DoExpression"||fe(cn)&&(Er.type==="ConditionalExpression"||de(Er)));return pr(ht.expression,tr.getParentNode(0))?w(["{",ot("expression"),V,"}"]):w(["{",F([D,ot("expression")]),D,V,"}"])}function Pe(tr,Ze,ot){let ht=tr.getValue(),pr=ht.name&&De(ht.name)||ht.typeParameters&&De(ht.typeParameters);if(ht.selfClosing&&ht.attributes.length===0&&!pr)return["<",ot("name"),ot("typeParameters")," />"];if(ht.attributes&&ht.attributes.length===1&&ht.attributes[0].value&&ge(ht.attributes[0].value)&&!ht.attributes[0].value.value.includes(`
|
|
86
|
-
`)&&!pr&&!De(ht.attributes[0]))return w(["<",ot("name"),ot("typeParameters")," ",...tr.map(ot,"attributes"),ht.selfClosing?" />":">"]);let Er=ht.attributes.length>0&&De(z(ht.attributes),W.Trailing),cn=ht.attributes.length===0&&!pr||(Ze.bracketSameLine||Ze.jsxBracketSameLine)&&(!pr||ht.attributes.length>0)&&!Er,Fn=ht.attributes&&ht.attributes.some(fr=>fr.value&&ge(fr.value)&&fr.value.value.includes(`
|
|
87
|
-
`)),Ei=Ze.singleAttributePerLine&&ht.attributes.length>1?g:E;return w(["<",ot("name"),ot("typeParameters"),F(tr.map(()=>[Ei,ot()],"attributes")),ht.selfClosing?E:cn?">":D,ht.selfClosing?"/>":cn?"":">"],{shouldBreak:Fn})}function Ve(tr,Ze,ot){let ht=tr.getValue(),pr=[];pr.push("</");let Er=ot("name");return De(ht.name,W.Leading|W.Line)?pr.push(F([g,Er]),g):De(ht.name,W.Leading|W.Block)?pr.push(" ",Er):pr.push(Er),pr.push(">"),pr}function He(tr,Ze){let ot=tr.getValue(),ht=De(ot),pr=De(ot,W.Line),Er=ot.type==="JSXOpeningFragment";return[Er?"<":"</",F([pr?g:ht&&!Er?" ":"",b(tr,Ze,!0)]),pr?g:"",">"]}function Le(tr,Ze,ot){let ht=m(tr,G(tr,Ze,ot),Ze);return ne(tr,ht,Ze)}function Dt(tr,Ze){let ot=tr.getValue(),ht=De(ot,W.Line);return[b(tr,Ze,!ht),ht?g:""]}function Ke(tr,Ze,ot){let ht=tr.getValue();return["{",tr.call(pr=>{let Er=["...",ot()],cn=pr.getValue();return!De(cn)||!X(pr)?Er:[F([D,m(pr,Er,Ze)]),D]},ht.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function qe(tr,Ze,ot){let ht=tr.getValue();if(ht.type.startsWith("JSX"))switch(ht.type){case"JSXAttribute":return Ce(tr,Ze,ot);case"JSXIdentifier":return String(ht.name);case"JSXNamespacedName":return I(":",[ot("namespace"),ot("name")]);case"JSXMemberExpression":return I(".",[ot("object"),ot("property")]);case"JSXSpreadAttribute":return Ke(tr,Ze,ot);case"JSXSpreadChild":return Ke(tr,Ze,ot);case"JSXExpressionContainer":return Re(tr,Ze,ot);case"JSXFragment":case"JSXElement":return Le(tr,Ze,ot);case"JSXOpeningElement":return Pe(tr,Ze,ot);case"JSXClosingElement":return Ve(tr,Ze,ot);case"JSXOpeningFragment":case"JSXClosingFragment":return He(tr,Ze);case"JSXEmptyExpression":return Dt(tr,Ze);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");default:throw new Error("Unknown JSX node type: ".concat(JSON.stringify(ht.type),"."))}}var pt=`
|
|
88
|
-
\r `,Bt=new RegExp("(["+pt+"]+)"),wt=new RegExp("[^"+pt+"]"),ur=tr=>tr.replace(new RegExp("(?:^"+Bt.source+"|"+Bt.source+"$)"),"");function Ue(tr){if(tr.children.length===0)return!0;if(tr.children.length>1)return!1;let Ze=tr.children[0];return ee(Ze)&&!tt(Ze)}function tt(tr){return ee(tr)&&(wt.test(J(tr))||!/\n/.test(J(tr)))}function rr(tr){return tr.type==="JSXExpressionContainer"&&ee(tr.expression)&&tr.expression.value===" "&&!De(tr.expression)}function gr(tr){let Ze=tr.getValue(),ot=tr.getParentNode();if(!ot||!Ze||!fe(Ze)||!fe(ot))return!1;let ht=ot.children.indexOf(Ze),pr=null;for(let Er=ht;Er>0;Er--){let cn=ot.children[Er-1];if(!(cn.type==="JSXText"&&!tt(cn))){pr=cn;break}}return pr&&pr.type==="JSXExpressionContainer"&&pr.expression.type==="JSXEmptyExpression"&&M(pr.expression)}A.exports={hasJsxIgnoreComment:gr,printJsx:qe}}}),ja=ft({"src/language-js/print/misc.js"(d,A){_();var{isNonEmptyArray:m}=Ki(),{builders:{indent:b,join:E,line:g}}=bi(),{isFlowAnnotationComment:D}=vs();function w(z){let ce=z.getValue();return!ce.optional||ce.type==="Identifier"&&ce===z.getParentNode().key?"":ce.type==="OptionalCallExpression"||ce.type==="OptionalMemberExpression"&&ce.computed?"?.":"?"}function F(z){return z.getValue().definite||z.match(void 0,(ce,fe)=>fe==="id"&&ce.type==="VariableDeclarator"&&ce.definite)?"!":""}function B(z,ce,fe){let J=z.getValue();return J.typeArguments?fe("typeArguments"):J.typeParameters?fe("typeParameters"):""}function H(z,ce,fe){let J=z.getValue();if(!J.typeAnnotation)return"";let ee=z.getParentNode(),ue=ee.type==="DeclareFunction"&&ee.id===J;return D(ce.originalText,J.typeAnnotation)?[" /*: ",fe("typeAnnotation")," */"]:[ue?"":": ",fe("typeAnnotation")]}function R(z,ce,fe){return["::",fe("callee")]}function V(z,ce,fe){let J=z.getValue();return m(J.modifiers)?[E(" ",z.map(fe,"modifiers"))," "]:""}function I(z,ce,fe){return z.type==="EmptyStatement"?";":z.type==="BlockStatement"||fe?[" ",ce]:b([g,ce])}function L(z,ce,fe){return["...",fe("argument"),H(z,ce,fe)]}A.exports={printOptionalToken:w,printDefiniteToken:F,printFunctionTypeParameters:B,printBindExpressionCallee:R,printTypeScriptModifiers:V,printTypeAnnotation:H,printRestSpread:L,adjustClause:I}}}),ao=ft({"src/language-js/print/array.js"(d,A){_();var{printDanglingComments:m}=ki(),{builders:{line:b,softline:E,hardline:g,group:D,indent:w,ifBreak:F,fill:B}}=bi(),{getLast:H,hasNewline:R}=Ki(),{shouldPrintComma:V,hasComment:I,CommentCheckFlags:L,isNextLineEmpty:z,isNumericLiteral:ce,isSignedNumericLiteral:fe}=vs(),{locStart:J}=Ds(),{printOptionalToken:ee,printTypeAnnotation:ue}=ja();function ge(M,U,X){let P=M.getValue(),G=[],q=P.type==="TupleExpression"?"#[":"[",se="]";if(P.elements.length===0)I(P,L.Dangling)?G.push(D([q,m(M,U),E,se])):G.push(q,se);else{let te=H(P.elements),ne=!(te&&te.type==="RestElement"),Ce=te===null,Re=Symbol("array"),Pe=!U.__inJestEach&&P.elements.length>1&&P.elements.every((Le,Dt,Ke)=>{let qe=Le&&Le.type;if(qe!=="ArrayExpression"&&qe!=="ObjectExpression")return!1;let pt=Ke[Dt+1];if(pt&&qe!==pt.type)return!1;let Bt=qe==="ArrayExpression"?"elements":"properties";return Le[Bt]&&Le[Bt].length>1}),Ve=de(P,U),He=ne?Ce?",":V(U)?Ve?F(",","",{groupId:Re}):F(","):"":"";G.push(D([q,w([E,Ve?W(M,U,X,He):[De(M,U,"elements",X),He],m(M,U,!0)]),E,se],{shouldBreak:Pe,id:Re}))}return G.push(ee(M),ue(M,U,X)),G}function de(M,U){return M.elements.length>1&&M.elements.every(X=>X&&(ce(X)||fe(X)&&!I(X.argument))&&!I(X,L.Trailing|L.Line,P=>!R(U.originalText,J(P),{backwards:!0})))}function De(M,U,X,P){let G=[],q=[];return M.each(se=>{G.push(q,D(P())),q=[",",b],se.getValue()&&z(se.getValue(),U)&&q.push(E)},X),G}function W(M,U,X,P){let G=[];return M.each((q,se,te)=>{let ne=se===te.length-1;G.push([X(),ne?P:","]),ne||G.push(z(q.getValue(),U)?[g,g]:I(te[se+1],L.Leading|L.Line)?g:b)},"elements"),B(G)}A.exports={printArray:ge,printArrayItems:De,isConciselyPrintedArray:de}}}),wo=ft({"src/language-js/print/call-arguments.js"(d,A){_();var{printDanglingComments:m}=ki(),{getLast:b,getPenultimate:E}=Ki(),{getFunctionParameters:g,hasComment:D,CommentCheckFlags:w,isFunctionCompositionArgs:F,isJsxNode:B,isLongCurriedCallExpression:H,shouldPrintComma:R,getCallArguments:V,iterateCallArgumentsPath:I,isNextLineEmpty:L,isCallExpression:z,isStringLiteral:ce,isObjectProperty:fe}=vs(),{builders:{line:J,hardline:ee,softline:ue,group:ge,indent:de,conditionalGroup:De,ifBreak:W,breakParent:M},utils:{willBreak:U}}=bi(),{ArgExpansionBailout:X}=ti(),{isConciselyPrintedArray:P}=ao();function G(Pe,Ve,He){let Le=Pe.getValue(),Dt=Le.type==="ImportExpression",Ke=V(Le);if(Ke.length===0)return["(",m(Pe,Ve,!0),")"];if(ne(Ke))return["(",He(["arguments",0]),", ",He(["arguments",1]),")"];let qe=!1,pt=!1,Bt=Ke.length-1,wt=[];I(Pe,(tr,Ze)=>{let ot=tr.getNode(),ht=[He()];Ze===Bt||(L(ot,Ve)?(Ze===0&&(pt=!0),qe=!0,ht.push(",",ee,ee)):ht.push(",",J)),wt.push(ht)});let ur=!(Dt||Le.callee&&Le.callee.type==="Import")&&R(Ve,"all")?",":"";function Ue(){return ge(["(",de([J,...wt]),ur,J,")"],{shouldBreak:!0})}if(qe||Pe.getParentNode().type!=="Decorator"&&F(Ke))return Ue();let tt=te(Ke),rr=se(Ke,Ve);if(tt||rr){if(tt?wt.slice(1).some(U):wt.slice(0,-1).some(U))return Ue();let tr=[];try{Pe.try(()=>{I(Pe,(Ze,ot)=>{tt&&ot===0&&(tr=[[He([],{expandFirstArg:!0}),wt.length>1?",":"",pt?ee:J,pt?ee:""],...wt.slice(1)]),rr&&ot===Bt&&(tr=[...wt.slice(0,-1),He([],{expandLastArg:!0})])})})}catch(Ze){if(Ze instanceof X)return Ue();throw Ze}return[wt.some(U)?M:"",De([["(",...tr,")"],tt?["(",ge(tr[0],{shouldBreak:!0}),...tr.slice(1),")"]:["(",...wt.slice(0,-1),ge(b(tr),{shouldBreak:!0}),")"],Ue()])]}let gr=["(",de([ue,...wt]),W(ur),ue,")"];return H(Pe)?gr:ge(gr,{shouldBreak:wt.some(U)||qe})}function q(Pe){let Ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Pe.type==="ObjectExpression"&&(Pe.properties.length>0||D(Pe))||Pe.type==="ArrayExpression"&&(Pe.elements.length>0||D(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"||!Ve&&(z(Pe.body)||Pe.body.type==="ConditionalExpression")||B(Pe.body))||Pe.type==="DoExpression"||Pe.type==="ModuleExpression"}function se(Pe,Ve){let He=b(Pe),Le=E(Pe);return!D(He,w.Leading)&&!D(He,w.Trailing)&&q(He)&&(!Le||Le.type!==He.type)&&(Pe.length!==2||Le.type!=="ArrowFunctionExpression"||He.type!=="ArrayExpression")&&!(Pe.length>1&&He.type==="ArrayExpression"&&P(He,Ve))}function te(Pe){if(Pe.length!==2)return!1;let[Ve,He]=Pe;return Ve.type==="ModuleExpression"&&Re(He)?!0:!D(Ve)&&(Ve.type==="FunctionExpression"||Ve.type==="ArrowFunctionExpression"&&Ve.body.type==="BlockStatement")&&He.type!=="FunctionExpression"&&He.type!=="ArrowFunctionExpression"&&He.type!=="ConditionalExpression"&&!q(He)}function ne(Pe){return Pe.length===2&&Pe[0].type==="ArrowFunctionExpression"&&g(Pe[0]).length===0&&Pe[0].body.type==="BlockStatement"&&Pe[1].type==="ArrayExpression"&&!Pe.some(Ve=>D(Ve))}function Ce(Pe){return Pe.type==="BlockStatement"&&(Pe.body.some(Ve=>Ve.type!=="EmptyStatement")||D(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"&&ce(Pe.properties[0].value)&&Pe.properties[0].value.value==="module"}A.exports=G}}),Vl=ft({"src/language-js/print/member.js"(d,A){_();var{builders:{softline:m,group:b,indent:E,label:g}}=bi(),{isNumericLiteral:D,isMemberExpression:w,isCallExpression:F}=vs(),{printOptionalToken:B}=ja();function H(V,I,L){let z=V.getValue(),ce=V.getParentNode(),fe,J=0;do fe=V.getParentNode(J),J++;while(fe&&(w(fe)||fe.type==="TSNonNullExpression"));let ee=L("object"),ue=R(V,I,L),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(ce)||(ce.type==="AssignmentExpression"||ce.type==="VariableDeclarator")&&(F(z.object)&&z.object.arguments.length>0||z.object.type==="TSNonNullExpression"&&F(z.object.expression)&&z.object.expression.arguments.length>0||ee.label==="member-chain");return g(ee.label==="member-chain"?"member-chain":"member",[ee,ge?ue:b(E([m,ue]))])}function R(V,I,L){let z=L("property"),ce=V.getValue(),fe=B(V);return ce.computed?!ce.property||D(ce.property)?[fe,"[",z,"]"]:b([fe,"[",E([m,z]),m,"]"]):[fe,".",z]}A.exports={printMemberExpression:H,printMemberLookup:R}}}),rc=ft({"src/language-js/print/member-chain.js"(d,A){_();var{printComments:m}=ki(),{getLast:b,isNextLineEmptyAfterIndex:E,getNextNonSpaceNonCommentCharacterIndex:g}=Ki(),D=eo(),{isCallExpression:w,isMemberExpression:F,isFunctionOrArrowExpression:B,isLongCurriedCallExpression:H,isMemberish:R,isNumericLiteral:V,isSimpleCallArgument:I,hasComment:L,CommentCheckFlags:z,isNextLineEmpty:ce}=vs(),{locEnd:fe}=Ds(),{builders:{join:J,hardline:ee,group:ue,indent:ge,conditionalGroup:de,breakParent:De,label:W},utils:{willBreak:M}}=bi(),U=wo(),{printMemberLookup:X}=Vl(),{printOptionalToken:P,printFunctionTypeParameters:G,printBindExpressionCallee:q}=ja();function se(te,ne,Ce){let Re=te.getParentNode(),Pe=!Re||Re.type==="ExpressionStatement",Ve=[];function He(br){let{originalText:Qt}=ne,Yr=g(Qt,br,fe);return Qt.charAt(Yr)===")"?Yr!==!1&&E(Qt,Yr+1):ce(br,ne)}function Le(br){let Qt=br.getValue();w(Qt)&&(R(Qt.callee)||w(Qt.callee))?(Ve.unshift({node:Qt,printed:[m(br,[P(br),G(br,ne,Ce),U(br,ne,Ce)],ne),He(Qt)?ee:""]}),br.call(Yr=>Le(Yr),"callee")):R(Qt)?(Ve.unshift({node:Qt,needsParens:D(br,ne),printed:m(br,F(Qt)?X(br,ne,Ce):q(br,ne,Ce),ne)}),br.call(Yr=>Le(Yr),"object")):Qt.type==="TSNonNullExpression"?(Ve.unshift({node:Qt,printed:m(br,"!",ne)}),br.call(Yr=>Le(Yr),"expression")):Ve.unshift({node:Qt,printed:Ce()})}let Dt=te.getValue();Ve.unshift({node:Dt,printed:[P(te),G(te,ne,Ce),U(te,ne,Ce)]}),Dt.callee&&te.call(br=>Le(br),"callee");let Ke=[],qe=[Ve[0]],pt=1;for(;pt<Ve.length&&(Ve[pt].node.type==="TSNonNullExpression"||w(Ve[pt].node)||F(Ve[pt].node)&&Ve[pt].node.computed&&V(Ve[pt].node.property));++pt)qe.push(Ve[pt]);if(!w(Ve[0].node))for(;pt+1<Ve.length&&R(Ve[pt].node)&&R(Ve[pt+1].node);++pt)qe.push(Ve[pt]);Ke.push(qe),qe=[];let Bt=!1;for(;pt<Ve.length;++pt){if(Bt&&R(Ve[pt].node)){if(Ve[pt].node.computed&&V(Ve[pt].node.property)){qe.push(Ve[pt]);continue}Ke.push(qe),qe=[],Bt=!1}(w(Ve[pt].node)||Ve[pt].node.type==="ImportExpression")&&(Bt=!0),qe.push(Ve[pt]),L(Ve[pt].node,z.Trailing)&&(Ke.push(qe),qe=[],Bt=!1)}qe.length>0&&Ke.push(qe);function wt(br){return/^[A-Z]|^[$_]+$/.test(br)}function ur(br){return br.length<=ne.tabWidth}function Ue(br){let Qt=br[1].length>0&&br[1][0].node.computed;if(br[0].length===1){let nt=br[0][0].node;return nt.type==="ThisExpression"||nt.type==="Identifier"&&(wt(nt.name)||Pe&&ur(nt.name)||Qt)}let Yr=b(br[0]).node;return F(Yr)&&Yr.property.type==="Identifier"&&(wt(Yr.property.name)||Qt)}let tt=Ke.length>=2&&!L(Ke[1][0].node)&&Ue(Ke);function rr(br){let Qt=br.map(Yr=>Yr.printed);return br.length>0&&b(br).needsParens?["(",...Qt,")"]:Qt}function gr(br){return br.length===0?"":ge(ue([ee,J(ee,br.map(rr))]))}let tr=Ke.map(rr),Ze=tr,ot=tt?3:2,ht=Ke.flat(),pr=ht.slice(1,-1).some(br=>L(br.node,z.Leading))||ht.slice(0,-1).some(br=>L(br.node,z.Trailing))||Ke[ot]&&L(Ke[ot][0].node,z.Leading);if(Ke.length<=ot&&!pr)return H(te)?Ze:ue(Ze);let Er=b(Ke[tt?1:0]).node,cn=!w(Er)&&He(Er),Fn=[rr(Ke[0]),tt?Ke.slice(1,2).map(rr):"",cn?ee:"",gr(Ke.slice(tt?2:1))],Ei=Ve.map(br=>{let{node:Qt}=br;return Qt}).filter(w);function fr(){let br=b(b(Ke)).node,Qt=b(tr);return w(br)&&M(Qt)&&Ei.slice(0,-1).some(Yr=>Yr.arguments.some(B))}let lr;return pr||Ei.length>2&&Ei.some(br=>!br.arguments.every(Qt=>I(Qt,0)))||tr.slice(0,-1).some(M)||fr()?lr=ue(Fn):lr=[M(Ze)||cn?De:"",de([Ze,Fn])],W("member-chain",lr)}A.exports=se}}),Eu=ft({"src/language-js/print/call-expression.js"(d,A){_();var{builders:{join:m,group:b}}=bi(),E=eo(),{getCallArguments:g,hasFlowAnnotationComment:D,isCallExpression:w,isMemberish:F,isStringLiteral:B,isTemplateOnItsOwnLine:H,isTestCall:R,iterateCallArgumentsPath:V}=vs(),I=rc(),L=wo(),{printOptionalToken:z,printFunctionTypeParameters:ce}=ja();function fe(ee,ue,ge){let de=ee.getValue(),De=ee.getParentNode(),W=de.type==="NewExpression",M=de.type==="ImportExpression",U=z(ee),X=g(de);if(X.length>0&&(!M&&!W&&J(de,De)||X.length===1&&H(X[0],ue.originalText)||!W&&R(de,De))){let q=[];return V(ee,()=>{q.push(ge())}),[W?"new ":"",ge("callee"),U,ce(ee,ue,ge),"(",m(", ",q),")"]}let P=(ue.parser==="babel"||ue.parser==="babel-flow")&&de.callee&&de.callee.type==="Identifier"&&D(de.callee.trailingComments);if(P&&(de.callee.trailingComments[0].printed=!0),!M&&!W&&F(de.callee)&&!ee.call(q=>E(q,ue),"callee"))return I(ee,ue,ge);let G=[W?"new ":"",M?"import":ge("callee"),U,P?"/*:: ".concat(de.callee.trailingComments[0].value.slice(2).trim()," */"):"",ce(ee,ue,ge),L(ee,ue,ge)];return M||w(de.callee)?b(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=g(ee);return ue.type==="ExpressionStatement"&&(ge.length===1||ge.length===2&&ge[0].type==="ArrayExpression"||ge.length===3&&B(ge[0])&&ge[1].type==="ArrayExpression")}return!1}A.exports={printCallExpression:fe}}}),Uu=ft({"src/language-js/print/assignment.js"(d,A){_();var{isNonEmptyArray:m,getStringWidth:b}=Ki(),{builders:{line:E,group:g,indent:D,indentIfBreak:w,lineSuffixBoundary:F},utils:{cleanDoc:B,willBreak:H,canBreak:R}}=bi(),{hasLeadingOwnLineComment:V,isBinaryish:I,isStringLiteral:L,isLiteral:z,isNumericLiteral:ce,isCallExpression:fe,isMemberExpression:J,getCallArguments:ee,rawText:ue,hasComment:ge,isSignedNumericLiteral:de,isObjectProperty:De}=vs(),{shouldInlineLogicalExpression:W}=Wo(),{printCallExpression:M}=Eu();function U(Ue,tt,rr,gr,tr,Ze){let ot=G(Ue,tt,rr,gr,Ze),ht=rr(Ze,{assignmentLayout:ot});switch(ot){case"break-after-operator":return g([g(gr),tr,g(D([E,ht]))]);case"never-break-after-operator":return g([g(gr),tr," ",ht]);case"fluid":{let pr=Symbol("assignment");return g([g(gr),tr,g(D(E),{id:pr}),F,w(ht,{groupId:pr})])}case"break-lhs":return g([gr,tr," ",g(ht)]);case"chain":return[g(gr),tr,E,ht];case"chain-tail":return[g(gr),tr,D([E,ht])];case"chain-tail-arrow-chain":return[g(gr),tr,ht];case"only-left":return gr}}function X(Ue,tt,rr){let gr=Ue.getValue();return U(Ue,tt,rr,rr("left"),[" ",gr.operator],"right")}function P(Ue,tt,rr){return U(Ue,tt,rr,rr("id")," =","init")}function G(Ue,tt,rr,gr,tr){let Ze=Ue.getValue(),ot=Ze[tr];if(!ot)return"only-left";let ht=!te(ot);if(Ue.match(te,ne,Er=>!ht||Er.type!=="ExpressionStatement"&&Er.type!=="VariableDeclaration"))return ht?ot.type==="ArrowFunctionExpression"&&ot.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!ht&&te(ot.right)||V(tt.originalText,ot))return"break-after-operator";if(ot.type==="CallExpression"&&ot.callee.name==="require"||tt.parser==="json5"||tt.parser==="json")return"never-break-after-operator";if(se(Ze)||Ce(Ze)||Ve(Ze)||He(Ze)&&R(gr))return"break-lhs";let pr=Bt(Ze,gr,tt);return Ue.call(()=>q(Ue,tt,rr,pr),tr)?"break-after-operator":pr||ot.type==="TemplateLiteral"||ot.type==="TaggedTemplateExpression"||ot.type==="BooleanLiteral"||ce(ot)||ot.type==="ClassExpression"?"never-break-after-operator":"fluid"}function q(Ue,tt,rr,gr){let tr=Ue.getValue();if(I(tr)&&!W(tr))return!0;switch(tr.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:ht}=tr;return I(ht)&&!W(ht)}case"ClassExpression":return m(tr.decorators)}if(gr)return!1;let Ze=tr,ot=[];for(;;)if(Ze.type==="UnaryExpression")Ze=Ze.argument,ot.push("argument");else if(Ze.type==="TSNonNullExpression")Ze=Ze.expression,ot.push("expression");else break;return!!(L(Ze)||Ue.call(()=>Ke(Ue,tt,rr),...ot))}function se(Ue){if(ne(Ue)){let tt=Ue.left||Ue.id;return tt.type==="ObjectPattern"&&tt.properties.length>2&&tt.properties.some(rr=>De(rr)&&(!rr.shorthand||rr.value&&rr.value.type==="AssignmentPattern"))}return!1}function te(Ue){return Ue.type==="AssignmentExpression"}function ne(Ue){return te(Ue)||Ue.type==="VariableDeclarator"}function Ce(Ue){let tt=Re(Ue);if(m(tt)){let rr=Ue.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(tt.length>1&&tt.some(gr=>gr[rr]||gr.default))return!0}return!1}function Re(Ue){return Pe(Ue)&&Ue.typeParameters&&Ue.typeParameters.params?Ue.typeParameters.params:null}function Pe(Ue){return Ue.type==="TSTypeAliasDeclaration"||Ue.type==="TypeAlias"}function Ve(Ue){if(Ue.type!=="VariableDeclarator")return!1;let{typeAnnotation:tt}=Ue.id;if(!tt||!tt.typeAnnotation)return!1;let rr=Le(tt.typeAnnotation);return m(rr)&&rr.length>1&&rr.some(gr=>m(Le(gr))||gr.type==="TSConditionalType")}function He(Ue){return Ue.type==="VariableDeclarator"&&Ue.init&&Ue.init.type==="ArrowFunctionExpression"}function Le(Ue){return Dt(Ue)&&Ue.typeParameters&&Ue.typeParameters.params?Ue.typeParameters.params:null}function Dt(Ue){return Ue.type==="TSTypeReference"||Ue.type==="GenericTypeAnnotation"}function Ke(Ue,tt,rr){let gr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,tr=Ue.getValue(),Ze=()=>Ke(Ue,tt,rr,!0);if(tr.type==="TSNonNullExpression")return Ue.call(Ze,"expression");if(fe(tr)){if(M(Ue,tt,rr).label==="member-chain")return!1;let ot=ee(tr);return!(ot.length===0||ot.length===1&&pt(ot[0],tt))||wt(tr,rr)?!1:Ue.call(Ze,"callee")}return J(tr)?Ue.call(Ze,"object"):gr&&(tr.type==="Identifier"||tr.type==="ThisExpression")}var qe=.25;function pt(Ue,tt){let{printWidth:rr}=tt;if(ge(Ue))return!1;let gr=rr*qe;if(Ue.type==="ThisExpression"||Ue.type==="Identifier"&&Ue.name.length<=gr||de(Ue)&&!ge(Ue.argument))return!0;let tr=Ue.type==="Literal"&&"regex"in Ue&&Ue.regex.pattern||Ue.type==="RegExpLiteral"&&Ue.pattern;return tr?tr.length<=gr:L(Ue)?ue(Ue).length<=gr:Ue.type==="TemplateLiteral"?Ue.expressions.length===0&&Ue.quasis[0].value.raw.length<=gr&&!Ue.quasis[0].value.raw.includes(`
|
|
89
|
-
`):z(Ue)}function Bt(Ue,tt,rr){if(!De(Ue))return!1;tt=B(tt);let gr=3;return typeof tt=="string"&&b(tt)<rr.tabWidth+gr}function wt(Ue,tt){let rr=ur(Ue);if(m(rr)){if(rr.length>1)return!0;if(rr.length===1){let tr=rr[0];if(tr.type==="TSUnionType"||tr.type==="UnionTypeAnnotation"||tr.type==="TSIntersectionType"||tr.type==="IntersectionTypeAnnotation"||tr.type==="TSTypeLiteral"||tr.type==="ObjectTypeAnnotation")return!0}let gr=Ue.typeParameters?"typeParameters":"typeArguments";if(H(tt(gr)))return!0}return!1}function ur(Ue){return Ue.typeParameters&&Ue.typeParameters.params||Ue.typeArguments&&Ue.typeArguments.params}A.exports={printVariableDeclarator:P,printAssignmentExpression:X,printAssignment:U,isArrowFunctionVariableDeclarator:He}}}),zu=ft({"src/language-js/print/function-parameters.js"(d,A){_();var{getNextNonSpaceNonCommentCharacter:m}=Ki(),{printDanglingComments:b}=ki(),{builders:{line:E,hardline:g,softline:D,group:w,indent:F,ifBreak:B},utils:{removeLines:H,willBreak:R}}=bi(),{getFunctionParameters:V,iterateFunctionParametersPath:I,isSimpleType:L,isTestCall:z,isTypeAnnotationAFunction:ce,isObjectType:fe,isObjectTypePropertyAFunction:J,hasRestParameter:ee,shouldPrintComma:ue,hasComment:ge,isNextLineEmpty:de}=vs(),{locEnd:De}=Ds(),{ArgExpansionBailout:W}=ti(),{printFunctionTypeParameters:M}=ja();function U(q,se,te,ne,Ce){let Re=q.getValue(),Pe=V(Re),Ve=Ce?M(q,te,se):"";if(Pe.length===0)return[Ve,"(",b(q,te,!0,pt=>m(te.originalText,pt,De)===")"),")"];let He=q.getParentNode(),Le=z(He),Dt=X(Re),Ke=[];if(I(q,(pt,Bt)=>{let wt=Bt===Pe.length-1;wt&&Re.rest&&Ke.push("..."),Ke.push(se()),!wt&&(Ke.push(","),Le||Dt?Ke.push(" "):de(Pe[Bt],te)?Ke.push(g,g):Ke.push(E))}),ne){if(R(Ve)||R(Ke))throw new W;return w([H(Ve),"(",H(Ke),")"])}let qe=Pe.every(pt=>!pt.decorators);return Dt&&qe?[Ve,"(",...Ke,")"]:Le?[Ve,"(",...Ke,")"]:(J(He)||ce(He)||He.type==="TypeAlias"||He.type==="UnionTypeAnnotation"||He.type==="TSUnionType"||He.type==="IntersectionTypeAnnotation"||He.type==="FunctionTypeAnnotation"&&He.returnType===Re)&&Pe.length===1&&Pe[0].name===null&&Re.this!==Pe[0]&&Pe[0].typeAnnotation&&Re.typeParameters===null&&L(Pe[0].typeAnnotation)&&!Re.rest?te.arrowParens==="always"?["(",...Ke,")"]:Ke:[Ve,"(",F([D,...Ke]),B(!ee(Re)&&ue(te,"all")?",":""),D,")"]}function X(q){if(!q)return!1;let se=V(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 P(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=P(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 V(q).length===1&&(fe(te)||R(se))}A.exports={printFunctionParameters:U,shouldHugFunctionParameters:X,shouldGroupFunctionParameters:G}}}),ul=ft({"src/language-js/print/type-annotation.js"(d,A){_();var{printComments:m,printDanglingComments:b}=ki(),{isNonEmptyArray:E}=Ki(),{builders:{group:g,join:D,line:w,softline:F,indent:B,align:H,ifBreak:R}}=bi(),V=eo(),{locStart:I}=Ds(),{isSimpleType:L,isObjectType:z,hasLeadingOwnLineComment:ce,isObjectTypePropertyAFunction:fe,shouldPrintComma:J}=vs(),{printAssignment:ee}=Uu(),{printFunctionParameters:ue,shouldGroupFunctionParameters:ge}=zu(),{printArrayItems:de}=ao();function De(te){if(L(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 W(te,ne,Ce){let Re=ne.semi?";":"",Pe=te.getValue(),Ve=[];return Ve.push("opaque type ",Ce("id"),Ce("typeParameters")),Pe.supertype&&Ve.push(": ",Ce("supertype")),Pe.impltype&&Ve.push(" = ",Ce("impltype")),Ve.push(Re),Ve}function M(te,ne,Ce){let Re=ne.semi?";":"",Pe=te.getValue(),Ve=[];Pe.declare&&Ve.push("declare "),Ve.push("type ",Ce("id"),Ce("typeParameters"));let He=Pe.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[ee(te,ne,Ce,Ve," =",He),Re]}function U(te,ne,Ce){let Re=te.getValue(),Pe=te.map(Ce,"types"),Ve=[],He=!1;for(let Le=0;Le<Pe.length;++Le)Le===0?Ve.push(Pe[Le]):z(Re.types[Le-1])&&z(Re.types[Le])?Ve.push([" & ",He?B(Pe[Le]):Pe[Le]]):!z(Re.types[Le-1])&&!z(Re.types[Le])?Ve.push(B([" &",w,Pe[Le]])):(Le>1&&(He=!0),Ve.push(" & ",Le>1?B(Pe[Le]):Pe[Le]));return g(Ve)}function X(te,ne,Ce){let Re=te.getValue(),Pe=te.getParentNode(),Ve=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")&&ce(ne.originalText,Re)),He=De(Re),Le=te.map(qe=>{let pt=Ce();return He||(pt=H(2,pt)),m(qe,pt,ne)},"types");if(He)return D(" | ",Le);let Dt=Ve&&!ce(ne.originalText,Re),Ke=[R([Dt?w:"","| "]),D([w,"| "],Le)];return V(te,ne)?g([B(Ke),F]):Pe.type==="TupleTypeAnnotation"&&Pe.types.length>1||Pe.type==="TSTupleType"&&Pe.elementTypes.length>1?g([B([R(["(",F]),Ke]),F,R(")")]):g(Ve?B(Ke):Ke)}function P(te,ne,Ce){let Re=te.getValue(),Pe=[],Ve=te.getParentNode(0),He=te.getParentNode(1),Le=te.getParentNode(2),Dt=Re.type==="TSFunctionType"||!((Ve.type==="ObjectTypeProperty"||Ve.type==="ObjectTypeInternalSlot")&&!Ve.variance&&!Ve.optional&&I(Ve)===I(Re)||Ve.type==="ObjectTypeCallProperty"||Le&&Le.type==="DeclareFunction"),Ke=Dt&&(Ve.type==="TypeAnnotation"||Ve.type==="TSTypeAnnotation"),qe=Ke&&Dt&&(Ve.type==="TypeAnnotation"||Ve.type==="TSTypeAnnotation")&&He.type==="ArrowFunctionExpression";fe(Ve)&&(Dt=!0,Ke=!0),qe&&Pe.push("(");let pt=ue(te,Ce,ne,!1,!0),Bt=Re.returnType||Re.predicate||Re.typeAnnotation?[Dt?" => ":": ",Ce("returnType"),Ce("predicate"),Ce("typeAnnotation")]:"",wt=ge(Re,Bt);return Pe.push(wt?g(pt):pt),Bt&&Pe.push(Bt),qe&&Pe.push(")"),g(Pe)}function G(te,ne,Ce){let Re=te.getValue(),Pe=Re.type==="TSTupleType"?"elementTypes":"types",Ve=Re[Pe],He=E(Ve),Le=He?F:"";return g(["[",B([Le,de(te,ne,Pe,Ce)]),R(He&&J(ne,"all")?",":""),b(te,ne,!0),Le,"]"])}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:""]}A.exports={printOpaqueType:W,printTypeAlias:M,printIntersectionType:U,printUnionType:X,printFunctionType:P,printTupleType:G,printIndexedAccessType:q,shouldHugType:De,printJSDocType:se}}}),na=ft({"src/language-js/print/type-parameters.js"(d,A){_();var{printDanglingComments:m}=ki(),{builders:{join:b,line:E,hardline:g,softline:D,group:w,indent:F,ifBreak:B}}=bi(),{isTestCall:H,hasComment:R,CommentCheckFlags:V,isTSXFile:I,shouldPrintComma:L,getFunctionParameters:z,isObjectType:ce}=vs(),{createGroupIdMapper:fe}=Ki(),{shouldHugType:J}=ul(),{isArrowFunctionVariableDeclarator:ee}=Uu(),ue=fe("typeParameters");function ge(W,M,U,X){let P=W.getValue();if(!P[X])return"";if(!Array.isArray(P[X]))return U(X);let G=W.getNode(2),q=G&&H(G);if(!W.match(te=>!(te[X].length===1&&ce(te[X][0])),void 0,(te,ne)=>ne==="typeAnnotation",te=>te.type==="Identifier",ee)&&(q||P[X].length===0||P[X].length===1&&(P[X][0].type==="NullableTypeAnnotation"||J(P[X][0]))))return["<",b(", ",W.map(U,X)),de(W,M),">"];let se=P.type==="TSTypeParameterInstantiation"?"":z(P).length===1&&I(M)&&!P[X][0].constraint&&W.getParentNode().type==="ArrowFunctionExpression"?",":L(M,"all")?B(","):"";return w(["<",F([D,b([",",E],W.map(U,X))]),se,D,">"],{id:ue(P)})}function de(W,M){let U=W.getValue();if(!R(U,V.Dangling))return"";let X=!R(U,V.Line),P=m(W,M,X);return X?P:[P,g]}function De(W,M,U){let X=W.getValue(),P=[],G=W.getParentNode();return G.type==="TSMappedType"?(P.push("[",U("name")),X.constraint&&P.push(" in ",U("constraint")),G.nameType&&P.push(" as ",W.callParent(()=>U("nameType"))),P.push("]"),P):(X.variance&&P.push(U("variance")),X.in&&P.push("in "),X.out&&P.push("out "),P.push(U("name")),X.bound&&P.push(": ",U("bound")),X.constraint&&P.push(" extends ",U("constraint")),X.default&&P.push(" = ",U("default")),P)}A.exports={printTypeParameter:De,printTypeParameters:ge,getTypeParametersGroupId:ue}}}),zs=ft({"src/language-js/print/property.js"(d,A){_();var{printComments:m}=ki(),{printString:b,printNumber:E}=Ki(),{isNumericLiteral:g,isSimpleNumber:D,isStringLiteral:w,isStringPropSafeToUnquote:F,rawText:B}=vs(),{printAssignment:H}=Uu(),R=new WeakMap;function V(L,z,ce){let fe=L.getNode();if(fe.computed)return["[",ce("key"),"]"];let J=L.getParentNode(),{key:ee}=fe;if(fe.type==="ClassPrivateProperty"&&ee.type==="Identifier")return["#",ce("key")];if(z.quoteProps==="consistent"&&!R.has(J)){let ue=(J.properties||J.body||J.members).some(ge=>!ge.computed&&ge.key&&w(ge.key)&&!F(ge,z));R.set(J,ue)}if((ee.type==="Identifier"||g(ee)&&D(E(B(ee)))&&String(ee.value)===E(B(ee))&&!(z.parser==="typescript"||z.parser==="babel-ts"))&&(z.parser==="json"||z.quoteProps==="consistent"&&R.get(J))){let ue=b(JSON.stringify(ee.type==="Identifier"?ee.name:ee.value.toString()),z);return L.call(ge=>m(ge,ue,z),"key")}return F(fe,z)&&(z.quoteProps==="as-needed"||z.quoteProps==="consistent"&&!R.get(J))?L.call(ue=>m(ue,/^\d/.test(ee.value)?E(ee.value):ee.value,z),"key"):ce("key")}function I(L,z,ce){return L.getValue().shorthand?ce("value"):H(L,z,ce,V(L,z,ce),":","value")}A.exports={printProperty:I,printPropertyKey:V}}}),fa=ft({"src/language-js/print/function.js"(d,A){_();var m=ci(),{printDanglingComments:b,printCommentsSeparately:E}=ki(),g=Ji(),{getNextNonSpaceNonCommentCharacterIndex:D}=Ki(),{builders:{line:w,softline:F,group:B,indent:H,ifBreak:R,hardline:V,join:I,indentIfBreak:L},utils:{removeLines:z,willBreak:ce}}=bi(),{ArgExpansionBailout:fe}=ti(),{getFunctionParameters:J,hasLeadingOwnLineComment:ee,isFlowAnnotationComment:ue,isJsxNode:ge,isTemplateOnItsOwnLine:de,shouldPrintComma:De,startsWithNoLookaheadToken:W,isBinaryish:M,isLineComment:U,hasComment:X,getComments:P,CommentCheckFlags:G,isCallLikeExpression:q,isCallExpression:se,getCallArguments:te,hasNakedLeftSide:ne,getLeftSide:Ce}=vs(),{locEnd:Re}=Ds(),{printFunctionParameters:Pe,shouldGroupFunctionParameters:Ve}=zu(),{printPropertyKey:He}=zs(),{printFunctionTypeParameters:Le}=ja();function Dt(ot,ht,pr,Er){let cn=ot.getValue(),Fn=!1;if((cn.type==="FunctionDeclaration"||cn.type==="FunctionExpression")&&Er&&Er.expandLastArg){let Qt=ot.getParentNode();se(Qt)&&te(Qt).length>1&&(Fn=!0)}let Ei=[];cn.type==="TSDeclareFunction"&&cn.declare&&Ei.push("declare "),cn.async&&Ei.push("async "),cn.generator?Ei.push("function* "):Ei.push("function "),cn.id&&Ei.push(ht("id"));let fr=Pe(ot,ht,pr,Fn),lr=tt(ot,ht,pr),br=Ve(cn,lr);return Ei.push(Le(ot,pr,ht),B([br?B(fr):fr,lr]),cn.body?" ":"",ht("body")),pr.semi&&(cn.declare||!cn.body)&&Ei.push(";"),Ei}function Ke(ot,ht,pr){let Er=ot.getNode(),{kind:cn}=Er,Fn=Er.value||Er,Ei=[];return!cn||cn==="init"||cn==="method"||cn==="constructor"?Fn.async&&Ei.push("async "):(m.ok(cn==="get"||cn==="set"),Ei.push(cn," ")),Fn.generator&&Ei.push("*"),Ei.push(He(ot,ht,pr),Er.optional||Er.key.optional?"?":""),Er===Fn?Ei.push(qe(ot,ht,pr)):Fn.type==="FunctionExpression"?Ei.push(ot.call(fr=>qe(fr,ht,pr),"value")):Ei.push(pr("value")),Ei}function qe(ot,ht,pr){let Er=ot.getNode(),cn=Pe(ot,pr,ht),Fn=tt(ot,pr,ht),Ei=Ve(Er,Fn),fr=[Le(ot,ht,pr),B([Ei?B(cn):cn,Fn])];return Er.body?fr.push(" ",pr("body")):fr.push(ht.semi?";":""),fr}function pt(ot,ht,pr,Er){let cn=ot.getValue(),Fn=[];if(cn.async&&Fn.push("async "),Ue(ot,ht))Fn.push(pr(["params",0]));else{let fr=Er&&(Er.expandLastArg||Er.expandFirstArg),lr=tt(ot,pr,ht);if(fr){if(ce(lr))throw new fe;lr=B(z(lr))}Fn.push(B([Pe(ot,pr,ht,fr,!0),lr]))}let Ei=b(ot,ht,!0,fr=>{let lr=D(ht.originalText,fr,Re);return lr!==!1&&ht.originalText.slice(lr,lr+2)==="=>"});return Ei&&Fn.push(" ",Ei),Fn}function Bt(ot,ht,pr,Er,cn,Fn){let Ei=ot.getName(),fr=ot.getParentNode(),lr=q(fr)&&Ei==="callee",br=Boolean(ht&&ht.assignmentLayout),Qt=Fn.body.type!=="BlockStatement"&&Fn.body.type!=="ObjectExpression"&&Fn.body.type!=="SequenceExpression",Yr=lr&&Qt||ht&&ht.assignmentLayout==="chain-tail-arrow-chain",nt=Symbol("arrow-chain");return Fn.body.type==="SequenceExpression"&&(cn=B(["(",H([F,cn]),F,")"])),B([B(H([lr||br?F:"",B(I([" =>",w],pr),{shouldBreak:Er})]),{id:nt,shouldBreak:Yr})," =>",L(Qt?H([w,cn]):[" ",cn],{groupId:nt}),lr?R(F,"",{groupId:nt}):""])}function wt(ot,ht,pr,Er){let cn=ot.getValue(),Fn=[],Ei=[],fr=!1;if(function nt(){let qr=pt(ot,ht,pr,Er);if(Fn.length===0)Fn.push(qr);else{let{leading:Ur,trailing:tn}=E(ot,ht);Fn.push([Ur,qr]),Ei.unshift(tn)}fr=fr||cn.returnType&&J(cn).length>0||cn.typeParameters||J(cn).some(Ur=>Ur.type!=="Identifier"),cn.body.type!=="ArrowFunctionExpression"||Er&&Er.expandLastArg?Ei.unshift(pr("body",Er)):(cn=cn.body,ot.call(nt,"body"))}(),Fn.length>1)return Bt(ot,Er,Fn,fr,Ei,cn);let lr=Fn;if(lr.push(" =>"),!ee(ht.originalText,cn.body)&&(cn.body.type==="ArrayExpression"||cn.body.type==="ObjectExpression"||cn.body.type==="BlockStatement"||ge(cn.body)||de(cn.body,ht.originalText)||cn.body.type==="ArrowFunctionExpression"||cn.body.type==="DoExpression"))return B([...lr," ",Ei]);if(cn.body.type==="SequenceExpression")return B([...lr,B([" (",H([F,Ei]),F,")"])]);let br=(Er&&Er.expandLastArg||ot.getParentNode().type==="JSXExpressionContainer")&&!X(cn),Qt=Er&&Er.expandLastArg&&De(ht,"all"),Yr=cn.body.type==="ConditionalExpression"&&!W(cn.body,!1);return B([...lr,B([H([w,Yr?R("","("):"",Ei,Yr?R("",")"):""]),br?[R(Qt?",":""),F]:""])])}function ur(ot){let ht=J(ot);return ht.length===1&&!ot.typeParameters&&!X(ot,G.Dangling)&&ht[0].type==="Identifier"&&!ht[0].typeAnnotation&&!X(ht[0])&&!ht[0].optional&&!ot.predicate&&!ot.returnType}function Ue(ot,ht){if(ht.arrowParens==="always")return!1;if(ht.arrowParens==="avoid"){let pr=ot.getValue();return ur(pr)}return!1}function tt(ot,ht,pr){let Er=ot.getValue(),cn=ht("returnType");if(Er.returnType&&ue(pr.originalText,Er.returnType))return[" /*: ",cn," */"];let Fn=[cn];return Er.returnType&&Er.returnType.typeAnnotation&&Fn.unshift(": "),Er.predicate&&Fn.push(Er.returnType?" ":": ",ht("predicate")),Fn}function rr(ot,ht,pr){let Er=ot.getValue(),cn=ht.semi?";":"",Fn=[];Er.argument&&(Ze(ht,Er.argument)?Fn.push([" (",H([V,pr("argument")]),V,")"]):M(Er.argument)||Er.argument.type==="SequenceExpression"?Fn.push(B([R(" ("," "),H([F,pr("argument")]),F,R(")")])):Fn.push(" ",pr("argument")));let Ei=P(Er),fr=g(Ei),lr=fr&&U(fr);return lr&&Fn.push(cn),X(Er,G.Dangling)&&Fn.push(" ",b(ot,ht,!0)),lr||Fn.push(cn),Fn}function gr(ot,ht,pr){return["return",rr(ot,ht,pr)]}function tr(ot,ht,pr){return["throw",rr(ot,ht,pr)]}function Ze(ot,ht){if(ee(ot.originalText,ht))return!0;if(ne(ht)){let pr=ht,Er;for(;Er=Ce(pr);)if(pr=Er,ee(ot.originalText,pr))return!0}return!1}A.exports={printFunction:Dt,printArrowFunction:wt,printMethod:Ke,printReturnStatement:gr,printThrowStatement:tr,printMethodInternal:qe,shouldPrintParamsWithoutParens:Ue}}}),Js=ft({"src/language-js/print/decorators.js"(d,A){_();var{isNonEmptyArray:m,hasNewline:b}=Ki(),{builders:{line:E,hardline:g,join:D,breakParent:w,group:F}}=bi(),{locStart:B,locEnd:H}=Ds(),{getParentExportDeclaration:R}=vs();function V(fe,J,ee){let ue=fe.getValue();return F([D(E,fe.map(ee,"decorators")),z(ue,J)?g:E])}function I(fe,J,ee){return[D(g,fe.map(ee,"declaration","decorators")),g]}function L(fe,J,ee){let ue=fe.getValue(),{decorators:ge}=ue;if(!m(ge)||ce(fe.getParentNode()))return;let de=ue.type==="ClassExpression"||ue.type==="ClassDeclaration"||z(ue,J);return[R(fe)?g:de?w:"",D(E,fe.map(ee,"decorators")),E]}function z(fe,J){return fe.decorators.some(ee=>b(J.originalText,H(ee)))}function ce(fe){if(fe.type!=="ExportDefaultDeclaration"&&fe.type!=="ExportNamedDeclaration"&&fe.type!=="DeclareExportDeclaration")return!1;let J=fe.declaration&&fe.declaration.decorators;return m(J)&&B(fe,{ignoreDecorators:!0})>B(J[0])}A.exports={printDecorators:L,printClassMemberDecorators:V,printDecoratorsBeforeExport:I,hasDecoratorsBeforeExport:ce}}}),to=ft({"src/language-js/print/class.js"(d,A){_();var{isNonEmptyArray:m,createGroupIdMapper:b}=Ki(),{printComments:E,printDanglingComments:g}=ki(),{builders:{join:D,line:w,hardline:F,softline:B,group:H,indent:R,ifBreak:V}}=bi(),{hasComment:I,CommentCheckFlags:L}=vs(),{getTypeParametersGroupId:z}=na(),{printMethod:ce}=fa(),{printOptionalToken:fe,printTypeAnnotation:J,printDefiniteToken:ee}=ja(),{printPropertyKey:ue}=zs(),{printAssignment:ge}=Uu(),{printClassMemberDecorators:de}=Js();function De(te,ne,Ce){let Re=te.getValue(),Pe=[];Re.declare&&Pe.push("declare "),Re.abstract&&Pe.push("abstract "),Pe.push("class");let Ve=Re.id&&I(Re.id,L.Trailing)||Re.typeParameters&&I(Re.typeParameters,L.Trailing)||Re.superClass&&I(Re.superClass)||m(Re.extends)||m(Re.mixins)||m(Re.implements),He=[],Le=[];if(Re.id&&He.push(" ",Ce("id")),He.push(Ce("typeParameters")),Re.superClass){let Dt=[G(te,ne,Ce),Ce("superTypeParameters")],Ke=te.call(qe=>["extends ",E(qe,Dt,ne)],"superClass");Ve?Le.push(w,H(Ke)):Le.push(" ",Ke)}else Le.push(P(te,ne,Ce,"extends"));if(Le.push(P(te,ne,Ce,"mixins"),P(te,ne,Ce,"implements")),Ve){let Dt;X(Re)?Dt=[...He,R(Le)]:Dt=R([...He,Le]),Pe.push(H(Dt,{id:W(Re)}))}else Pe.push(...He,...Le);return Pe.push(" ",Ce("body")),Pe}var W=b("heritageGroup");function M(te){return V(F,"",{groupId:W(te)})}function U(te){return["superClass","extends","mixins","implements"].filter(ne=>Boolean(te[ne])).length>1}function X(te){return te.typeParameters&&!I(te.typeParameters,L.Trailing|L.Line)&&!U(te)}function P(te,ne,Ce,Re){let Pe=te.getValue();if(!m(Pe[Re]))return"";let Ve=g(te,ne,!0,He=>{let{marker:Le}=He;return Le===Re});return[X(Pe)?V(" ",w,{groupId:z(Pe.typeParameters)}):w,Ve,Ve&&F,Re,H(R([w,D([",",w],te.map(Ce,Re))]))]}function G(te,ne,Ce){let Re=Ce("superClass");return te.getParentNode().type==="AssignmentExpression"?H(V(["(",R([B,Re]),B,")"],Re)):Re}function q(te,ne,Ce){let Re=te.getValue(),Pe=[];return m(Re.decorators)&&Pe.push(de(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(ce(te,ne,Ce)),Pe}function se(te,ne,Ce){let Re=te.getValue(),Pe=[],Ve=ne.semi?";":"";return m(Re.decorators)&&Pe.push(de(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"),Ve]}A.exports={printClass:De,printClassMethod:q,printClassProperty:se,printHardlineAfterHeritage:M}}}),Go=ft({"src/language-js/print/interface.js"(d,A){_();var{isNonEmptyArray:m}=Ki(),{builders:{join:b,line:E,group:g,indent:D,ifBreak:w}}=bi(),{hasComment:F,identity:B,CommentCheckFlags:H}=vs(),{getTypeParametersGroupId:R}=na(),{printTypeScriptModifiers:V}=ja();function I(L,z,ce){let fe=L.getValue(),J=[];fe.declare&&J.push("declare "),fe.type==="TSInterfaceDeclaration"&&J.push(fe.abstract?"abstract ":"",V(L,z,ce)),J.push("interface");let ee=[],ue=[];fe.type!=="InterfaceTypeAnnotation"&&ee.push(" ",ce("id"),ce("typeParameters"));let ge=fe.typeParameters&&!F(fe.typeParameters,H.Trailing|H.Line);return m(fe.extends)&&ue.push(ge?w(" ",E,{groupId:R(fe.typeParameters)}):E,"extends ",(fe.extends.length===1?B:D)(b([",",E],L.map(ce,"extends")))),fe.id&&F(fe.id,H.Trailing)||m(fe.extends)?ge?J.push(g([...ee,D(ue)])):J.push(g(D([...ee,...ue]))):J.push(...ee,...ue),J.push(" ",ce("body")),g(J)}A.exports={printInterface:I}}}),ou=ft({"src/language-js/print/module.js"(d,A){_();var{isNonEmptyArray:m}=Ki(),{builders:{softline:b,group:E,indent:g,join:D,line:w,ifBreak:F,hardline:B}}=bi(),{printDanglingComments:H}=ki(),{hasComment:R,CommentCheckFlags:V,shouldPrintComma:I,needsHardlineAfterDanglingComment:L,isStringLiteral:z,rawText:ce}=vs(),{locStart:fe,hasSameLoc:J}=Ds(),{hasDecoratorsBeforeExport:ee,printDecoratorsBeforeExport:ue}=Js();function ge(se,te,ne){let Ce=se.getValue(),Re=te.semi?";":"",Pe=[],{importKind:Ve}=Ce;return Pe.push("import"),Ve&&Ve!=="value"&&Pe.push(" ",Ve),Pe.push(U(se,te,ne),M(se,te,ne),P(se,te,ne),Re),Pe}function de(se,te,ne){let Ce=se.getValue(),Re=[];ee(Ce)&&Re.push(ue(se,te,ne));let{type:Pe,exportKind:Ve,declaration:He}=Ce;return Re.push("export"),(Ce.default||Pe==="ExportDefaultDeclaration")&&Re.push(" default"),R(Ce,V.Dangling)&&(Re.push(" ",H(se,te,!0)),L(Ce)&&Re.push(B)),He?Re.push(" ",ne("declaration")):Re.push(Ve==="type"?" type":"",U(se,te,ne),M(se,te,ne),P(se,te,ne)),W(Ce,te)&&Re.push(";"),Re}function De(se,te,ne){let Ce=se.getValue(),Re=te.semi?";":"",Pe=[],{exportKind:Ve,exported:He}=Ce;return Pe.push("export"),Ve==="type"&&Pe.push(" type"),Pe.push(" *"),He&&Pe.push(" as ",ne("exported")),Pe.push(M(se,te,ne),P(se,te,ne),Re),Pe}function W(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 M(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 U(se,te,ne){let Ce=se.getValue();if(X(Ce,te))return"";let Re=[" "];if(m(Ce.specifiers)){let Pe=[],Ve=[];se.each(()=>{let He=se.getValue().type;if(He==="ExportNamespaceSpecifier"||He==="ExportDefaultSpecifier"||He==="ImportNamespaceSpecifier"||He==="ImportDefaultSpecifier")Pe.push(ne());else if(He==="ExportSpecifier"||He==="ImportSpecifier")Ve.push(ne());else throw new Error("Unknown specifier type ".concat(JSON.stringify(He)))},"specifiers"),Re.push(D(", ",Pe)),Ve.length>0&&(Pe.length>0&&Re.push(", "),Ve.length>1||Pe.length>0||Ce.specifiers.some(He=>R(He))?Re.push(E(["{",g([te.bracketSpacing?w:b,D([",",w],Ve)]),F(I(te)?",":""),te.bracketSpacing?w:b,"}"])):Re.push(["{",te.bracketSpacing?" ":"",...Ve,te.bracketSpacing?" ":"","}"]))}else Re.push("{}");return Re}function X(se,te){let{type:ne,importKind:Ce,source:Re,specifiers:Pe}=se;return ne!=="ImportDeclaration"||m(Pe)||Ce==="type"?!1:!/{\s*}/.test(te.originalText.slice(fe(se),fe(Re)))}function P(se,te,ne){let Ce=se.getNode();return m(Ce.assertions)?[" assert {",te.bracketSpacing?" ":"",D(", ",se.map(ne,"assertions")),te.bracketSpacing?" ":"","}"]:""}function G(se,te,ne){let Ce=se.getNode(),{type:Re}=Ce,Pe=[],Ve=Re==="ImportSpecifier"?Ce.importKind:Ce.exportKind;Ve&&Ve!=="value"&&Pe.push(Ve," ");let He=Re.startsWith("Import"),Le=He?"imported":"local",Dt=He?"local":"exported",Ke=Ce[Le],qe=Ce[Dt],pt="",Bt="";return Re==="ExportNamespaceSpecifier"||Re==="ImportNamespaceSpecifier"?pt="*":Ke&&(pt=ne(Le)),qe&&!q(Ce)&&(Bt=ne(Dt)),Pe.push(pt,pt&&Bt?" as ":"",Bt),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&&ce(te)===ce(ne);switch(te.type){case"Identifier":return te.name===ne.name;default:return!1}}A.exports={printImportDeclaration:ge,printExportDeclaration:de,printExportAllDeclaration:De,printModuleSpecifier:G}}}),wl=ft({"src/language-js/print/object.js"(d,A){_();var{printDanglingComments:m}=ki(),{builders:{line:b,softline:E,group:g,indent:D,ifBreak:w,hardline:F}}=bi(),{getLast:B,hasNewlineInRange:H,hasNewline:R,isNonEmptyArray:V}=Ki(),{shouldPrintComma:I,hasComment:L,getComments:z,CommentCheckFlags:ce,isNextLineEmpty:fe}=vs(),{locStart:J,locEnd:ee}=Ds(),{printOptionalToken:ue,printTypeAnnotation:ge}=ja(),{shouldHugFunctionParameters:de}=zu(),{shouldHugType:De}=ul(),{printHardlineAfterHeritage:W}=to();function M(U,X,P){let G=X.semi?";":"",q=U.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(Ue=>q[Ue][0]).sort((Ue,tt)=>J(Ue)-J(tt))[0],Re=U.getParentNode(0),Pe=te&&Re&&(Re.type==="InterfaceDeclaration"||Re.type==="DeclareInterface"||Re.type==="DeclareClass")&&U.getName()==="body",Ve=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(Ue=>Ue.value&&(Ue.value.type==="ObjectPattern"||Ue.value.type==="ArrayPattern"))||q.type!=="ObjectPattern"&&Ce&&H(X.originalText,J(q),J(Ce)),He=Pe?";":q.type==="TSInterfaceBody"||q.type==="TSTypeLiteral"?w(G,";"):",",Le=q.type==="RecordExpression"?"#{":q.exact?"{|":"{",Dt=q.exact?"|}":"}",Ke=[];for(let Ue of ne)U.each(tt=>{let rr=tt.getValue();Ke.push({node:rr,printed:P(),loc:J(rr)})},Ue);ne.length>1&&Ke.sort((Ue,tt)=>Ue.loc-tt.loc);let qe=[],pt=Ke.map(Ue=>{let tt=[...qe,g(Ue.printed)];return qe=[He,b],(Ue.node.type==="TSPropertySignature"||Ue.node.type==="TSMethodSignature"||Ue.node.type==="TSConstructSignatureDeclaration")&&L(Ue.node,ce.PrettierIgnore)&&qe.shift(),fe(Ue.node,X)&&qe.push(F),tt});if(q.inexact){let Ue;if(L(q,ce.Dangling)){let tt=L(q,ce.Line);Ue=[m(U,X,!0),tt||R(X.originalText,ee(B(z(q))))?F:b,"..."]}else Ue=["..."];pt.push([...qe,...Ue])}let Bt=B(q[se]),wt=!(q.inexact||Bt&&Bt.type==="RestElement"||Bt&&(Bt.type==="TSPropertySignature"||Bt.type==="TSCallSignatureDeclaration"||Bt.type==="TSMethodSignature"||Bt.type==="TSConstructSignatureDeclaration")&&L(Bt,ce.PrettierIgnore)),ur;if(pt.length===0){if(!L(q,ce.Dangling))return[Le,Dt,ge(U,X,P)];ur=g([Le,m(U,X),E,Dt,ue(U),ge(U,X,P)])}else ur=[Pe&&V(q.properties)?W(Re):"",Le,D([X.bracketSpacing?b:E,...pt]),w(wt&&(He!==","||I(X))?He:""),X.bracketSpacing?b:E,Dt,ue(U),ge(U,X,P)];return U.match(Ue=>Ue.type==="ObjectPattern"&&!Ue.decorators,(Ue,tt,rr)=>de(Ue)&&(tt==="params"||tt==="parameters"||tt==="this"||tt==="rest")&&rr===0)||U.match(De,(Ue,tt)=>tt==="typeAnnotation",(Ue,tt)=>tt==="typeAnnotation",(Ue,tt,rr)=>de(Ue)&&(tt==="params"||tt==="parameters"||tt==="this"||tt==="rest")&&rr===0)||!Ve&&U.match(Ue=>Ue.type==="ObjectPattern",Ue=>Ue.type==="AssignmentExpression"||Ue.type==="VariableDeclarator")?ur:g(ur,{shouldBreak:Ve})}A.exports={printObject:M}}}),Wl=ft({"src/language-js/print/flow.js"(d,A){_();var m=ci(),{printDanglingComments:b}=ki(),{printString:E,printNumber:g}=Ki(),{builders:{hardline:D,softline:w,group:F,indent:B}}=bi(),{getParentExportDeclaration:H,isFunctionNotation:R,isGetterOrSetter:V,rawText:I,shouldPrintComma:L}=vs(),{locStart:z,locEnd:ce}=Ds(),{printClass:fe}=to(),{printOpaqueType:J,printTypeAlias:ee,printIntersectionType:ue,printUnionType:ge,printFunctionType:de,printTupleType:De,printIndexedAccessType:W}=ul(),{printInterface:M}=Go(),{printTypeParameter:U,printTypeParameters:X}=na(),{printExportDeclaration:P,printExportAllDeclaration:G}=ou(),{printArrayItems:q}=ao(),{printObject:se}=wl(),{printPropertyKey:te}=zs(),{printOptionalToken:ne,printTypeAnnotation:Ce,printRestSpread:Re}=ja();function Pe(He,Le,Dt){let Ke=He.getValue(),qe=Le.semi?";":"",pt=[];switch(Ke.type){case"DeclareClass":return Ve(He,fe(He,Le,Dt));case"DeclareFunction":return Ve(He,["function ",Dt("id"),Ke.predicate?" ":"",Dt("predicate"),qe]);case"DeclareModule":return Ve(He,["module ",Dt("id")," ",Dt("body")]);case"DeclareModuleExports":return Ve(He,["module.exports",": ",Dt("typeAnnotation"),qe]);case"DeclareVariable":return Ve(He,["var ",Dt("id"),qe]);case"DeclareOpaqueType":return Ve(He,J(He,Le,Dt));case"DeclareInterface":return Ve(He,M(He,Le,Dt));case"DeclareTypeAlias":return Ve(He,ee(He,Le,Dt));case"DeclareExportDeclaration":return Ve(He,P(He,Le,Dt));case"DeclareExportAllDeclaration":return Ve(He,G(He,Le,Dt));case"OpaqueType":return J(He,Le,Dt);case"TypeAlias":return ee(He,Le,Dt);case"IntersectionTypeAnnotation":return ue(He,Le,Dt);case"UnionTypeAnnotation":return ge(He,Le,Dt);case"FunctionTypeAnnotation":return de(He,Le,Dt);case"TupleTypeAnnotation":return De(He,Le,Dt);case"GenericTypeAnnotation":return[Dt("id"),X(He,Le,Dt,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return W(He,Le,Dt);case"TypeAnnotation":return Dt("typeAnnotation");case"TypeParameter":return U(He,Le,Dt);case"TypeofTypeAnnotation":return["typeof ",Dt("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[Dt("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(Ke.value);case"EnumDeclaration":return["enum ",Dt("id")," ",Dt("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":{if(Ke.type==="EnumSymbolBody"||Ke.explicitType){let Bt=null;switch(Ke.type){case"EnumBooleanBody":Bt="boolean";break;case"EnumNumberBody":Bt="number";break;case"EnumStringBody":Bt="string";break;case"EnumSymbolBody":Bt="symbol";break}pt.push("of ",Bt," ")}if(Ke.members.length===0&&!Ke.hasUnknownMembers)pt.push(F(["{",b(He,Le),w,"}"]));else{let Bt=Ke.members.length>0?[D,q(He,Le,"members",Dt),Ke.hasUnknownMembers||L(Le)?",":""]:[];pt.push(F(["{",B([...Bt,...Ke.hasUnknownMembers?[D,"..."]:[]]),b(He,Le,!0),D,"}"]))}return pt}case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[Dt("id")," = ",typeof Ke.init=="object"?Dt("init"):String(Ke.init)];case"EnumDefaultedMember":return Dt("id");case"FunctionTypeParam":{let Bt=Ke.name?Dt("name"):He.getParentNode().this===Ke?"this":"";return[Bt,ne(He),Bt?": ":"",Dt("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return M(He,Le,Dt);case"ClassImplements":case"InterfaceExtends":return[Dt("id"),Dt("typeParameters")];case"NullableTypeAnnotation":return["?",Dt("typeAnnotation")];case"Variance":{let{kind:Bt}=Ke;return m.ok(Bt==="plus"||Bt==="minus"),Bt==="plus"?"+":"-"}case"ObjectTypeCallProperty":return Ke.static&&pt.push("static "),pt.push(Dt("value")),pt;case"ObjectTypeIndexer":return[Ke.static?"static ":"",Ke.variance?Dt("variance"):"","[",Dt("id"),Ke.id?": ":"",Dt("key"),"]: ",Dt("value")];case"ObjectTypeProperty":{let Bt="";return Ke.proto?Bt="proto ":Ke.static&&(Bt="static "),[Bt,V(Ke)?Ke.kind+" ":"",Ke.variance?Dt("variance"):"",te(He,Le,Dt),ne(He),R(Ke)?"":": ",Dt("value")]}case"ObjectTypeAnnotation":return se(He,Le,Dt);case"ObjectTypeInternalSlot":return[Ke.static?"static ":"","[[",Dt("id"),"]]",ne(He),Ke.method?"":": ",Dt("value")];case"ObjectTypeSpreadProperty":return Re(He,Le,Dt);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[Dt("qualification"),".",Dt("id")];case"StringLiteralTypeAnnotation":return E(I(Ke),Le);case"NumberLiteralTypeAnnotation":m.strictEqual(typeof Ke.value,"number");case"BigIntLiteralTypeAnnotation":return Ke.extra?g(Ke.extra.raw):g(Ke.raw);case"TypeCastExpression":return["(",Dt("expression"),Ce(He,Le,Dt),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let Bt=X(He,Le,Dt,"params");if(Le.parser==="flow"){let wt=z(Ke),ur=ce(Ke),Ue=Le.originalText.lastIndexOf("/*",wt),tt=Le.originalText.indexOf("*/",ur);if(Ue!==-1&&tt!==-1){let rr=Le.originalText.slice(Ue+2,tt).trim();if(rr.startsWith("::")&&!rr.includes("/*")&&!rr.includes("*/"))return["/*:: ",Bt," */"]}}return Bt}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",Dt("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(Ke.type))}}function Ve(He,Le){let Dt=H(He);return Dt?(m.strictEqual(Dt.type,"DeclareExportDeclaration"),Le):["declare ",Le]}A.exports={printFlow:Pe}}}),nc=ft({"src/language-js/utils/is-ts-keyword-type.js"(d,A){_();function m(b){let{type:E}=b;return E.startsWith("TS")&&E.endsWith("Keyword")}A.exports=m}}),Hu=ft({"src/language-js/print/ternary.js"(d,A){_();var{hasNewlineInRange:m}=Ki(),{isJsxNode:b,getComments:E,isCallExpression:g,isMemberExpression:D}=vs(),{locStart:w,locEnd:F}=Ds(),B=Ma(),{builders:{line:H,softline:R,group:V,indent:I,align:L,ifBreak:z,dedent:ce,breakParent:fe}}=bi();function J(De){let W=[De];for(let M=0;M<W.length;M++){let U=W[M];for(let X of["test","consequent","alternate"]){let P=U[X];if(b(P))return!0;P.type==="ConditionalExpression"&&W.push(P)}}return!1}function ee(De,W,M){let U=De.getValue(),X=U.type==="ConditionalExpression",P=X?"alternate":"falseType",G=De.getParentNode(),q=X?M("test"):[M("checkType")," ","extends"," ",M("extendsType")];return G.type===U.type&&G[P]===U?L(2,q):q}var ue=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);function ge(De){let W=De.getValue();if(W.type!=="ConditionalExpression")return!1;let M,U=W;for(let X=0;!M;X++){let P=De.getParentNode(X);if(g(P)&&P.callee===U||D(P)&&P.object===U||P.type==="TSNonNullExpression"&&P.expression===U){U=P;continue}P.type==="NewExpression"&&P.callee===U||P.type==="TSAsExpression"&&P.expression===U?(M=De.getParentNode(X+1),U=P):M=P}return U===W?!1:M[ue.get(M.type)]===U}function de(De,W,M){let U=De.getValue(),X=U.type==="ConditionalExpression",P=X?"consequent":"trueType",G=X?"alternate":"falseType",q=X?["test"]:["checkType","extendsType"],se=U[P],te=U[G],ne=[],Ce=!1,Re=De.getParentNode(),Pe=Re.type===U.type&&q.some(tt=>Re[tt]===U),Ve=Re.type===U.type&&!Pe,He,Le,Dt=0;do Le=He||U,He=De.getParentNode(Dt),Dt++;while(He&&He.type===U.type&&q.every(tt=>He[tt]!==Le));let Ke=He||Re,qe=Le;if(X&&(b(U[q[0]])||b(se)||b(te)||J(qe))){Ce=!0,Ve=!0;let tt=gr=>[z("("),I([R,gr]),R,z(")")],rr=gr=>gr.type==="NullLiteral"||gr.type==="Literal"&&gr.value===null||gr.type==="Identifier"&&gr.name==="undefined";ne.push(" ? ",rr(se)?M(P):tt(M(P))," : ",te.type===U.type||rr(te)?M(G):tt(M(G)))}else{let tt=[H,"? ",se.type===U.type?z("","("):"",L(2,M(P)),se.type===U.type?z("",")"):"",H,": ",te.type===U.type?M(G):L(2,M(G))];ne.push(Re.type!==U.type||Re[G]===U||Pe?tt:W.useTabs?ce(I(tt)):L(Math.max(0,W.tabWidth-2),tt))}let pt=[...q.map(tt=>E(U[tt])),E(se),E(te)].flat().some(tt=>B(tt)&&m(W.originalText,w(tt),F(tt))),Bt=tt=>Re===Ke?V(tt,{shouldBreak:pt}):pt?[tt,fe]:tt,wt=!Ce&&(D(Re)||Re.type==="NGPipeExpression"&&Re.left===U)&&!Re.computed,ur=ge(De),Ue=Bt([ee(De,W,M),Ve?ne:I(ne),X&&wt&&!ur?R:""]);return Pe||ur?V([I([R,Ue]),R]):Ue}A.exports={printTernary:de}}}),Tl=ft({"src/language-js/print/statement.js"(d,A){_();var{builders:{hardline:m}}=bi(),b=eo(),{getLeftSidePathName:E,hasNakedLeftSide:g,isJsxNode:D,isTheOnlyJsxElementInMarkdown:w,hasComment:F,CommentCheckFlags:B,isNextLineEmpty:H}=vs(),{shouldPrintParamsWithoutParens:R}=fa();function V(ue,ge,de,De){let W=ue.getValue(),M=[],U=W.type==="ClassBody",X=I(W[De]);return ue.each((P,G,q)=>{let se=P.getValue();if(se.type==="EmptyStatement")return;let te=de();!ge.semi&&!U&&!w(ge,P)&&L(P,ge)?F(se,B.Leading)?M.push(de([],{needsSemi:!0})):M.push(";",te):M.push(te),!ge.semi&&U&&J(se)&&ee(se,q[G+1])&&M.push(";"),se!==X&&(M.push(m),H(se,ge)&&M.push(m))},De),M}function I(ue){for(let ge=ue.length-1;ge>=0;ge--){let de=ue[ge];if(de.type!=="EmptyStatement")return de}}function L(ue,ge){return ue.getNode().type!=="ExpressionStatement"?!1:ue.call(de=>z(de,ge),"expression")}function z(ue,ge){let de=ue.getValue();switch(de.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":{if(!R(ue,ge))return!0;break}case"UnaryExpression":{let{prefix:De,operator:W}=de;if(De&&(W==="+"||W==="-"))return!0;break}case"BindExpression":{if(!de.object)return!0;break}case"Literal":{if(de.regex)return!0;break}default:if(D(de))return!0}return b(ue,ge)?!0:g(de)?ue.call(De=>z(De,ge),...E(ue,de)):!1}function ce(ue,ge,de){return V(ue,ge,de,"body")}function fe(ue,ge,de){return V(ue,ge,de,"consequent")}var J=ue=>{let{type:ge}=ue;return ge==="ClassProperty"||ge==="PropertyDefinition"||ge==="ClassPrivateProperty"||ge==="ClassAccessorProperty"};function ee(ue,ge){let de=ue.key&&ue.key.name;if((de==="static"||de==="get"||de==="set")&&!ue.value&&!ue.typeAnnotation)return!0;if(!ge||ge.static||ge.accessibility)return!1;if(!ge.computed){let De=ge.key&&ge.key.name;if(De==="in"||De==="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 De=ge.value?ge.value.generator:ge.generator;return!!(ge.computed||De)}case"TSIndexSignature":return!0}return!1}A.exports={printBody:ce,printSwitchCaseConsequent:fe}}}),ll=ft({"src/language-js/print/block.js"(d,A){_();var{printDanglingComments:m}=ki(),{isNonEmptyArray:b}=Ki(),{builders:{hardline:E,indent:g}}=bi(),{hasComment:D,CommentCheckFlags:w,isNextLineEmpty:F}=vs(),{printHardlineAfterHeritage:B}=to(),{printBody:H}=Tl();function R(I,L,z){let ce=I.getValue(),fe=[];if(ce.type==="StaticBlock"&&fe.push("static "),ce.type==="ClassBody"&&b(ce.body)){let ee=I.getParentNode();fe.push(B(ee))}fe.push("{");let J=V(I,L,z);if(J)fe.push(g([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"||ce.type==="StaticBlock"||ce.type==="ClassBody"||fe.push(E)}return fe.push("}"),fe}function V(I,L,z){let ce=I.getValue(),fe=b(ce.directives),J=ce.body.some(ge=>ge.type!=="EmptyStatement"),ee=D(ce,w.Dangling);if(!fe&&!J&&!ee)return"";let ue=[];if(fe&&I.each((ge,de,De)=>{ue.push(z()),(de<De.length-1||J||ee)&&(ue.push(E),F(ge.getValue(),L)&&ue.push(E))},"directives"),J&&ue.push(H(I,L,z)),ee&&ue.push(m(I,L,!0)),ce.type==="Program"){let ge=I.getParentNode();(!ge||ge.type!=="ModuleExpression")&&ue.push(E)}return ue}A.exports={printBlock:R,printBlockBody:V}}}),Sl=ft({"src/language-js/print/typescript.js"(d,A){_();var{printDanglingComments:m}=ki(),{hasNewlineInRange:b}=Ki(),{builders:{join:E,line:g,hardline:D,softline:w,group:F,indent:B,conditionalGroup:H,ifBreak:R}}=bi(),{isLiteral:V,getTypeScriptMappedTypeModifier:I,shouldPrintComma:L,isCallExpression:z,isMemberExpression:ce}=vs(),fe=nc(),{locStart:J,locEnd:ee}=Ds(),{printOptionalToken:ue,printTypeScriptModifiers:ge}=ja(),{printTernary:de}=Hu(),{printFunctionParameters:De,shouldGroupFunctionParameters:W}=zu(),{printTemplateLiteral:M}=ua(),{printArrayItems:U}=ao(),{printObject:X}=wl(),{printClassProperty:P,printClassMethod:G}=to(),{printTypeParameter:q,printTypeParameters:se}=na(),{printPropertyKey:te}=zs(),{printFunction:ne,printMethodInternal:Ce}=fa(),{printInterface:Re}=Go(),{printBlock:Pe}=ll(),{printTypeAlias:Ve,printIntersectionType:He,printUnionType:Le,printFunctionType:Dt,printTupleType:Ke,printIndexedAccessType:qe,printJSDocType:pt}=ul();function Bt(wt,ur,Ue){let tt=wt.getValue();if(!tt.type.startsWith("TS"))return;if(fe(tt))return tt.type.slice(2,-7).toLowerCase();let rr=ur.semi?";":"",gr=[];switch(tt.type){case"TSThisType":return"this";case"TSTypeAssertion":{let tr=!(tt.expression.type==="ArrayExpression"||tt.expression.type==="ObjectExpression"),Ze=F(["<",B([w,Ue("typeAnnotation")]),w,">"]),ot=[R("("),B([w,Ue("expression")]),w,R(")")];return tr?H([[Ze,Ue("expression")],[Ze,F(ot,{shouldBreak:!0})],[Ze,Ue("expression")]]):F([Ze,Ue("expression")])}case"TSDeclareFunction":return ne(wt,Ue,ur);case"TSExportAssignment":return["export = ",Ue("expression"),rr];case"TSModuleBlock":return Pe(wt,ur,Ue);case"TSInterfaceBody":case"TSTypeLiteral":return X(wt,ur,Ue);case"TSTypeAliasDeclaration":return Ve(wt,ur,Ue);case"TSQualifiedName":return E(".",[Ue("left"),Ue("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return G(wt,ur,Ue);case"TSAbstractPropertyDefinition":return P(wt,ur,Ue);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return gr.push(Ue("expression")),tt.typeParameters&&gr.push(Ue("typeParameters")),gr;case"TSTemplateLiteralType":return M(wt,Ue,ur);case"TSNamedTupleMember":return[Ue("label"),tt.optional?"?":"",": ",Ue("elementType")];case"TSRestType":return["...",Ue("typeAnnotation")];case"TSOptionalType":return[Ue("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return Re(wt,ur,Ue);case"TSClassImplements":return[Ue("expression"),Ue("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return se(wt,ur,Ue,"params");case"TSTypeParameter":return q(wt,ur,Ue);case"TSAsExpression":{gr.push(Ue("expression")," as ",Ue("typeAnnotation"));let tr=wt.getParentNode();return z(tr)&&tr.callee===tt||ce(tr)&&tr.object===tt?F([B([w,...gr]),w]):gr}case"TSArrayType":return[Ue("elementType"),"[]"];case"TSPropertySignature":return tt.readonly&&gr.push("readonly "),gr.push(te(wt,ur,Ue),ue(wt)),tt.typeAnnotation&&gr.push(": ",Ue("typeAnnotation")),tt.initializer&&gr.push(" = ",Ue("initializer")),gr;case"TSParameterProperty":return tt.accessibility&&gr.push(tt.accessibility+" "),tt.export&&gr.push("export "),tt.static&&gr.push("static "),tt.override&&gr.push("override "),tt.readonly&&gr.push("readonly "),gr.push(Ue("parameter")),gr;case"TSTypeQuery":return["typeof ",Ue("exprName"),Ue("typeParameters")];case"TSIndexSignature":{let tr=wt.getParentNode(),Ze=tt.parameters.length>1?R(L(ur)?",":""):"",ot=F([B([w,E([", ",w],wt.map(Ue,"parameters"))]),Ze,w]);return[tt.export?"export ":"",tt.accessibility?[tt.accessibility," "]:"",tt.static?"static ":"",tt.readonly?"readonly ":"",tt.declare?"declare ":"","[",tt.parameters?ot:"",tt.typeAnnotation?"]: ":"]",tt.typeAnnotation?Ue("typeAnnotation"):"",tr.type==="ClassBody"?rr:""]}case"TSTypePredicate":return[tt.asserts?"asserts ":"",Ue("parameterName"),tt.typeAnnotation?[" is ",Ue("typeAnnotation")]:""];case"TSNonNullExpression":return[Ue("expression"),"!"];case"TSImportType":return[tt.isTypeOf?"typeof ":"","import(",Ue(tt.parameter?"parameter":"argument"),")",tt.qualifier?[".",Ue("qualifier")]:"",se(wt,ur,Ue,"typeParameters")];case"TSLiteralType":return Ue("literal");case"TSIndexedAccessType":return qe(wt,ur,Ue);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(tt.type==="TSConstructorType"&&tt.abstract&&gr.push("abstract "),tt.type!=="TSCallSignatureDeclaration"&&gr.push("new "),gr.push(F(De(wt,Ue,ur,!1,!0))),tt.returnType||tt.typeAnnotation){let tr=tt.type==="TSConstructorType";gr.push(tr?" => ":": ",Ue("returnType"),Ue("typeAnnotation"))}return gr}case"TSTypeOperator":return[tt.operator," ",Ue("typeAnnotation")];case"TSMappedType":{let tr=b(ur.originalText,J(tt),ee(tt));return F(["{",B([ur.bracketSpacing?g:w,tt.readonly?[I(tt.readonly,"readonly")," "]:"",ge(wt,ur,Ue),Ue("typeParameter"),tt.optional?I(tt.optional,"?"):"",tt.typeAnnotation?": ":"",Ue("typeAnnotation"),R(rr)]),m(wt,ur,!0),ur.bracketSpacing?g:w,"}"],{shouldBreak:tr})}case"TSMethodSignature":{let tr=tt.kind&&tt.kind!=="method"?"".concat(tt.kind," "):"";gr.push(tt.accessibility?[tt.accessibility," "]:"",tr,tt.export?"export ":"",tt.static?"static ":"",tt.readonly?"readonly ":"",tt.abstract?"abstract ":"",tt.declare?"declare ":"",tt.computed?"[":"",Ue("key"),tt.computed?"]":"",ue(wt));let Ze=De(wt,Ue,ur,!1,!0),ot=tt.returnType?"returnType":"typeAnnotation",ht=tt[ot],pr=ht?Ue(ot):"",Er=W(tt,pr);return gr.push(Er?F(Ze):Ze),ht&&gr.push(": ",F(pr)),F(gr)}case"TSNamespaceExportDeclaration":return gr.push("export as namespace ",Ue("id")),ur.semi&&gr.push(";"),F(gr);case"TSEnumDeclaration":return tt.declare&&gr.push("declare "),tt.modifiers&&gr.push(ge(wt,ur,Ue)),tt.const&&gr.push("const "),gr.push("enum ",Ue("id")," "),tt.members.length===0?gr.push(F(["{",m(wt,ur),w,"}"])):gr.push(F(["{",B([D,U(wt,ur,"members",Ue),L(ur,"es5")?",":""]),m(wt,ur,!0),D,"}"])),gr;case"TSEnumMember":return tt.computed?gr.push("[",Ue("id"),"]"):gr.push(Ue("id")),tt.initializer&&gr.push(" = ",Ue("initializer")),gr;case"TSImportEqualsDeclaration":return tt.isExport&&gr.push("export "),gr.push("import "),tt.importKind&&tt.importKind!=="value"&&gr.push(tt.importKind," "),gr.push(Ue("id")," = ",Ue("moduleReference")),ur.semi&&gr.push(";"),F(gr);case"TSExternalModuleReference":return["require(",Ue("expression"),")"];case"TSModuleDeclaration":{let tr=wt.getParentNode(),Ze=V(tt.id),ot=tr.type==="TSModuleDeclaration",ht=tt.body&&tt.body.type==="TSModuleDeclaration";if(ot)gr.push(".");else{tt.declare&&gr.push("declare "),gr.push(ge(wt,ur,Ue));let pr=ur.originalText.slice(J(tt),J(tt.id));tt.id.type==="Identifier"&&tt.id.name==="global"&&!/namespace|module/.test(pr)||gr.push(Ze||/(?:^|\s)module(?:\s|$)/.test(pr)?"module ":"namespace ")}return gr.push(Ue("id")),ht?gr.push(Ue("body")):tt.body?gr.push(" ",F(Ue("body"))):gr.push(rr),gr}case"TSConditionalType":return de(wt,ur,Ue);case"TSInferType":return["infer"," ",Ue("typeParameter")];case"TSIntersectionType":return He(wt,ur,Ue);case"TSUnionType":return Le(wt,ur,Ue);case"TSFunctionType":return Dt(wt,ur,Ue);case"TSTupleType":return Ke(wt,ur,Ue);case"TSTypeReference":return[Ue("typeName"),se(wt,ur,Ue,"typeParameters")];case"TSTypeAnnotation":return Ue("typeAnnotation");case"TSEmptyBodyFunctionExpression":return Ce(wt,ur,Ue);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return pt(wt,Ue,"?");case"TSJSDocNonNullableType":return pt(wt,Ue,"!");case"TSInstantiationExpression":return[Ue("expression"),Ue("typeParameters")];default:throw new Error("Unknown TypeScript node type: ".concat(JSON.stringify(tt.type),"."))}}A.exports={printTypescript:Bt}}}),Fl=ft({"src/language-js/print/comment.js"(d,A){_();var{hasNewline:m}=Ki(),{builders:{join:b,hardline:E},utils:{replaceTextEndOfLine:g}}=bi(),{isLineComment:D}=vs(),{locStart:w,locEnd:F}=Ds(),B=Ma();function H(I,L){let z=I.getValue();if(D(z))return L.originalText.slice(w(z),F(z)).trimEnd();if(B(z)){if(R(z)){let J=V(z);return z.trailing&&!m(L.originalText,w(z),{backwards:!0})?[E,J]:J}let ce=F(z),fe=L.originalText.slice(ce-3,ce)==="*-/";return["/*",g(z.value),fe?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(z))}function R(I){let L="*".concat(I.value,"*").split(`
|
|
90
|
-
`);return L.length>1&&L.every(z=>z.trim()[0]==="*")}function V(I){let L=I.value.split(`
|
|
91
|
-
`);return["/*",b(E,L.map((z,ce)=>ce===0?z.trimEnd():" "+(ce<L.length-1?z.trim():z.trimStart()))),"*/"]}A.exports={printComment:H}}}),cl=ft({"src/language-js/print/literal.js"(d,A){_();var{printString:m,printNumber:b}=Ki();function E(w,F){let B=w.getNode();switch(B.type){case"RegExpLiteral":return D(B);case"BigIntLiteral":return g(B.bigint||B.extra.raw);case"NumericLiteral":return b(B.extra.raw);case"StringLiteral":return m(B.extra.raw,F);case"NullLiteral":return"null";case"BooleanLiteral":return String(B.value);case"DecimalLiteral":return b(B.value)+"m";case"Literal":{if(B.regex)return D(B.regex);if(B.bigint)return g(B.raw);if(B.decimal)return b(B.decimal)+"m";let{value:H}=B;return typeof H=="number"?b(B.raw):typeof H=="string"?m(B.raw,F):String(H)}}}function g(w){return w.toLowerCase()}function D(w){let{pattern:F,flags:B}=w;return B=[...B].sort().join(""),"/".concat(F,"/").concat(B)}A.exports={printLiteral:E}}}),$u=ft({"src/language-js/printer-estree.js"(d,A){_();var{printDanglingComments:m}=ki(),{hasNewline:b}=Ki(),{builders:{join:E,line:g,hardline:D,softline:w,group:F,indent:B},utils:{replaceTextEndOfLine:H}}=bi(),R=Iu(),V=po(),{insertPragma:I}=wa(),L=su(),z=eo(),ce=au(),{hasFlowShorthandAnnotationComment:fe,hasComment:J,CommentCheckFlags:ee,isTheOnlyJsxElementInMarkdown:ue,isLineComment:ge,isNextLineEmpty:de,needsHardlineAfterDanglingComment:De,rawText:W,hasIgnoreComment:M,isCallExpression:U,isMemberExpression:X,markerForIfWithoutBlockAndSameLineComment:P}=vs(),{locStart:G,locEnd:q}=Ds(),se=Ma(),{printHtmlBinding:te,isVueEventBindingExpression:ne}=Ao(),{printAngular:Ce}=al(),{printJsx:Re,hasJsxIgnoreComment:Pe}=ol(),{printFlow:Ve}=Wl(),{printTypescript:He}=Sl(),{printOptionalToken:Le,printBindExpressionCallee:Dt,printTypeAnnotation:Ke,adjustClause:qe,printRestSpread:pt,printDefiniteToken:Bt}=ja(),{printImportDeclaration:wt,printExportDeclaration:ur,printExportAllDeclaration:Ue,printModuleSpecifier:tt}=ou(),{printTernary:rr}=Hu(),{printTemplateLiteral:gr}=ua(),{printArray:tr}=ao(),{printObject:Ze}=wl(),{printClass:ot,printClassMethod:ht,printClassProperty:pr}=to(),{printProperty:Er}=zs(),{printFunction:cn,printArrowFunction:Fn,printMethod:Ei,printReturnStatement:fr,printThrowStatement:lr}=fa(),{printCallExpression:br}=Eu(),{printVariableDeclarator:Qt,printAssignmentExpression:Yr}=Uu(),{printBinaryishExpression:nt}=Wo(),{printSwitchCaseConsequent:qr}=Tl(),{printMemberExpression:Ur}=Vl(),{printBlock:tn,printBlockBody:vi}=ll(),{printComment:e}=Fl(),{printLiteral:r}=cl(),{printDecorators:n}=Js();function a(S,O,j,$e){let Be=u(S,O,j,$e);if(!Be)return"";let Nt=S.getValue(),{type:it}=Nt;if(it==="ClassMethod"||it==="ClassPrivateMethod"||it==="ClassProperty"||it==="ClassAccessorProperty"||it==="PropertyDefinition"||it==="TSAbstractPropertyDefinition"||it==="ClassPrivateProperty"||it==="MethodDefinition"||it==="TSAbstractMethodDefinition"||it==="TSDeclareMethod")return Be;let jt=[Be],dr=n(S,O,j),Jt=Nt.type==="ClassExpression"&&dr;if(dr&&(jt=[...dr,Be],!Jt))return F(jt);if(!z(S,O))return $e&&$e.needsSemi&&jt.unshift(";"),jt.length===1&&jt[0]===Be?Be:jt;if(Jt&&(jt=[B([g,...jt])]),jt.unshift("("),$e&&$e.needsSemi&&jt.unshift(";"),fe(Nt)){let[Sr]=Nt.trailingComments;jt.push(" /*",Sr.value.trimStart(),"*/"),Sr.printed=!0}return Jt&&jt.push(g),jt.push(")"),jt}function u(S,O,j,$e){let Be=S.getValue(),Nt=O.semi?";":"";if(!Be)return"";if(typeof Be=="string")return Be;for(let jt of[r,te,Ce,Re,Ve,He]){let dr=jt(S,O,j);if(typeof dr<"u")return dr}let it=[];switch(Be.type){case"JsExpressionRoot":return j("node");case"JsonRoot":return[j("node"),D];case"File":return Be.program&&Be.program.interpreter&&it.push(j(["program","interpreter"])),it.push(j("program")),it;case"Program":return vi(S,O,j);case"EmptyStatement":return"";case"ExpressionStatement":{if(Be.directive)return[h(Be.expression,O),Nt];if(O.parser==="__vue_event_binding"||O.parser==="__vue_ts_event_binding"){let dr=S.getParentNode();if(dr.type==="Program"&&dr.body.length===1&&dr.body[0]===Be)return[j("expression"),ne(Be.expression)?";":""]}let jt=m(S,O,!0,dr=>{let{marker:Jt}=dr;return Jt===P});return[j("expression"),ue(O,S)?"":Nt,jt?[" ",jt]:""]}case"ParenthesizedExpression":return!J(Be.expression)&&(Be.expression.type==="ObjectExpression"||Be.expression.type==="ArrayExpression")?["(",j("expression"),")"]:F(["(",B([w,j("expression")]),w,")"]);case"AssignmentExpression":return Yr(S,O,j);case"VariableDeclarator":return Qt(S,O,j);case"BinaryExpression":case"LogicalExpression":return nt(S,O,j);case"AssignmentPattern":return[j("left")," = ",j("right")];case"OptionalMemberExpression":case"MemberExpression":return Ur(S,O,j);case"MetaProperty":return[j("meta"),".",j("property")];case"BindExpression":return Be.object&&it.push(j("object")),it.push(F(B([w,Dt(S,O,j)]))),it;case"Identifier":return[Be.name,Le(S),Bt(S),Ke(S,O,j)];case"V8IntrinsicIdentifier":return["%",Be.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return pt(S,O,j);case"FunctionDeclaration":case"FunctionExpression":return cn(S,j,O,$e);case"ArrowFunctionExpression":return Fn(S,O,j,$e);case"YieldExpression":return it.push("yield"),Be.delegate&&it.push("*"),Be.argument&&it.push(" ",j("argument")),it;case"AwaitExpression":{if(it.push("await"),Be.argument){it.push(" ",j("argument"));let jt=S.getParentNode();if(U(jt)&&jt.callee===Be||X(jt)&&jt.object===Be){it=[B([w,...it]),w];let dr=S.findAncestor(Jt=>Jt.type==="AwaitExpression"||Jt.type==="BlockStatement");if(!dr||dr.type!=="AwaitExpression")return F(it)}}return it}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return ur(S,O,j);case"ExportAllDeclaration":return Ue(S,O,j);case"ImportDeclaration":return wt(S,O,j);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return tt(S,O,j);case"ImportAttribute":return[j("key"),": ",j("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return tn(S,O,j);case"ThrowStatement":return lr(S,O,j);case"ReturnStatement":return fr(S,O,j);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return br(S,O,j);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return Ze(S,O,j);case"ObjectProperty":case"Property":return Be.method||Be.kind==="get"||Be.kind==="set"?Ei(S,O,j):Er(S,O,j);case"ObjectMethod":return Ei(S,O,j);case"Decorator":return["@",j("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return tr(S,O,j);case"SequenceExpression":{let jt=S.getParentNode(0);if(jt.type==="ExpressionStatement"||jt.type==="ForStatement"){let dr=[];return S.each((Jt,Sr)=>{Sr===0?dr.push(j()):dr.push(",",B([g,j()]))},"expressions"),F(dr)}return F(E([",",g],S.map(j,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[j("value"),Nt];case"DirectiveLiteral":return h(Be,O);case"UnaryExpression":return it.push(Be.operator),/[a-z]$/.test(Be.operator)&&it.push(" "),J(Be.argument)?it.push(F(["(",B([w,j("argument")]),w,")"])):it.push(j("argument")),it;case"UpdateExpression":return it.push(j("argument"),Be.operator),Be.prefix&&it.reverse(),it;case"ConditionalExpression":return rr(S,O,j);case"VariableDeclaration":{let jt=S.map(j,"declarations"),dr=S.getParentNode(),Jt=dr.type==="ForStatement"||dr.type==="ForInStatement"||dr.type==="ForOfStatement",Sr=Be.declarations.some(rt=>rt.init),Gr;return jt.length===1&&!J(Be.declarations[0])?Gr=jt[0]:jt.length>0&&(Gr=B(jt[0])),it=[Be.declare?"declare ":"",Be.kind,Gr?[" ",Gr]:"",B(jt.slice(1).map(rt=>[",",Sr&&!Jt?D:g,rt]))],Jt&&dr.body!==Be||it.push(Nt),F(it)}case"WithStatement":return F(["with (",j("object"),")",qe(Be.body,j("body"))]);case"IfStatement":{let jt=qe(Be.consequent,j("consequent")),dr=F(["if (",F([B([w,j("test")]),w]),")",jt]);if(it.push(dr),Be.alternate){let Jt=J(Be.consequent,ee.Trailing|ee.Line)||De(Be),Sr=Be.consequent.type==="BlockStatement"&&!Jt;it.push(Sr?" ":D),J(Be,ee.Dangling)&&it.push(m(S,O,!0),Jt?D:" "),it.push("else",F(qe(Be.alternate,j("alternate"),Be.alternate.type==="IfStatement")))}return it}case"ForStatement":{let jt=qe(Be.body,j("body")),dr=m(S,O,!0),Jt=dr?[dr,w]:"";return!Be.init&&!Be.test&&!Be.update?[Jt,F(["for (;;)",jt])]:[Jt,F(["for (",F([B([w,j("init"),";",g,j("test"),";",g,j("update")]),w]),")",jt])]}case"WhileStatement":return F(["while (",F([B([w,j("test")]),w]),")",qe(Be.body,j("body"))]);case"ForInStatement":return F(["for (",j("left")," in ",j("right"),")",qe(Be.body,j("body"))]);case"ForOfStatement":return F(["for",Be.await?" await":""," (",j("left")," of ",j("right"),")",qe(Be.body,j("body"))]);case"DoWhileStatement":{let jt=qe(Be.body,j("body"));return it=[F(["do",jt])],Be.body.type==="BlockStatement"?it.push(" "):it.push(D),it.push("while (",F([B([w,j("test")]),w]),")",Nt),it}case"DoExpression":return[Be.async?"async ":"","do ",j("body")];case"BreakStatement":return it.push("break"),Be.label&&it.push(" ",j("label")),it.push(Nt),it;case"ContinueStatement":return it.push("continue"),Be.label&&it.push(" ",j("label")),it.push(Nt),it;case"LabeledStatement":return Be.body.type==="EmptyStatement"?[j("label"),":;"]:[j("label"),": ",j("body")];case"TryStatement":return["try ",j("block"),Be.handler?[" ",j("handler")]:"",Be.finalizer?[" finally ",j("finalizer")]:""];case"CatchClause":if(Be.param){let jt=J(Be.param,Jt=>!se(Jt)||Jt.leading&&b(O.originalText,q(Jt))||Jt.trailing&&b(O.originalText,G(Jt),{backwards:!0})),dr=j("param");return["catch ",jt?["(",B([w,dr]),w,") "]:["(",dr,") "],j("body")]}return["catch ",j("body")];case"SwitchStatement":return[F(["switch (",B([w,j("discriminant")]),w,")"])," {",Be.cases.length>0?B([D,E(D,S.map((jt,dr,Jt)=>{let Sr=jt.getValue();return[j(),dr!==Jt.length-1&&de(Sr,O)?D:""]},"cases"))]):"",D,"}"];case"SwitchCase":{Be.test?it.push("case ",j("test"),":"):it.push("default:"),J(Be,ee.Dangling)&&it.push(" ",m(S,O,!0));let jt=Be.consequent.filter(dr=>dr.type!=="EmptyStatement");if(jt.length>0){let dr=qr(S,O,j);it.push(jt.length===1&&jt[0].type==="BlockStatement"?[" ",dr]:B([D,dr]))}return it}case"DebuggerStatement":return["debugger",Nt];case"ClassDeclaration":case"ClassExpression":return ot(S,O,j);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return ht(S,O,j);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":return pr(S,O,j);case"TemplateElement":return H(Be.value.raw);case"TemplateLiteral":return gr(S,j,O);case"TaggedTemplateExpression":return[j("tag"),j("typeParameters"),j("quasi")];case"PrivateIdentifier":return["#",j("name")];case"PrivateName":return["#",j("id")];case"InterpreterDirective":return it.push("#!",Be.value,D),de(Be,O)&&it.push(D),it;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{it.push("module {");let jt=j("body");return jt&&it.push(B([D,jt]),D),it.push("}"),it}default:throw new Error("unknown type: "+JSON.stringify(Be.type))}}function h(S,O){let j=W(S),$e=j.slice(1,-1);if($e.includes('"')||$e.includes("'"))return j;let Be=O.singleQuote?"'":'"';return Be+$e+Be}function C(S){return S.type&&!se(S)&&!ge(S)&&S.type!=="EmptyStatement"&&S.type!=="TemplateElement"&&S.type!=="Import"&&S.type!=="TSEmptyBodyFunctionExpression"}A.exports={preprocess:ce,print:a,embed:R,insertPragma:I,massageAstNode:V,hasPrettierIgnore(S){return M(S)||Pe(S)},willPrintOwnComments:L.willPrintOwnComments,canAttachComment:C,printComment:e,isBlockComment:se,handleComments:{avoidAstMutation:!0,ownLine:L.handleOwnLineComment,endOfLine:L.handleEndOfLineComment,remaining:L.handleRemainingComment},getCommentChildNodes:L.getCommentChildNodes}}}),To=ft({"src/language-js/printer-estree-json.js"(d,A){_();var{builders:{hardline:m,indent:b,join:E}}=bi(),g=au();function D(B,H,R){let V=B.getValue();switch(V.type){case"JsonRoot":return[R("node"),m];case"ArrayExpression":{if(V.elements.length===0)return"[]";let I=B.map(()=>B.getValue()===null?"null":R(),"elements");return["[",b([m,E([",",m],I)]),m,"]"]}case"ObjectExpression":return V.properties.length===0?"{}":["{",b([m,E([",",m],B.map(R,"properties"))]),m,"}"];case"ObjectProperty":return[R("key"),": ",R("value")];case"UnaryExpression":return[V.operator==="+"?"":V.operator,R("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return V.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(V.value);case"Identifier":{let I=B.getParentNode();return I&&I.type==="ObjectProperty"&&I.key===V?JSON.stringify(V.name):V.name}case"TemplateLiteral":return R(["quasis",0]);case"TemplateElement":return JSON.stringify(V.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(V.type))}}var w=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function F(B,H){let{type:R}=B;if(R==="ObjectProperty"&&B.key.type==="Identifier"){H.key={type:"StringLiteral",value:B.key.name};return}if(R==="UnaryExpression"&&B.operator==="+")return H.argument;if(R==="ArrayExpression"){for(let[V,I]of B.elements.entries())I===null&&H.elements.splice(V,0,{type:"NullLiteral"});return}if(R==="TemplateLiteral")return{type:"StringLiteral",value:B.quasis[0].value.cooked}}F.ignoredProperties=w,A.exports={preprocess:g,print:D,massageAstNode:F}}}),Xo=ft({"src/common/common-options.js"(d,A){_();var m="Common";A.exports={bracketSpacing:{since:"0.0.0",category:m,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:m,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:m,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:m,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:m,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),pl=ft({"src/language-js/options.js"(d,A){_();var m=Xo(),b="JavaScript";A.exports={arrowParens:{since:"1.9.0",category:b,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:m.bracketSameLine,bracketSpacing:m.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:b,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:b,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:m.singleQuote,jsxSingleQuote:{since:"1.15.0",category:b,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:b,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:b,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:m.singleAttributePerLine}}}),uu=ft({"src/language-js/parse/parsers.js"(){_()}}),kl=ft({"node_modules/linguist-languages/data/JavaScript.json"(d,A){A.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}}}),bu=ft({"node_modules/linguist-languages/data/TypeScript.json"(d,A){A.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}}}),mo=ft({"node_modules/linguist-languages/data/TSX.json"(d,A){A.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),Pl=ft({"node_modules/linguist-languages/data/JSON.json"(d,A){A.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}}}),ic=ft({"node_modules/linguist-languages/data/JSON with Comments.json"(d,A){A.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}}}),Nl=ft({"node_modules/linguist-languages/data/JSON5.json"(d,A){A.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),Fa=ft({"src/language-js/index.js"(d,A){_();var m=Ca(),b=$u(),E=To(),g=pl(),D=uu(),w=[m(kl(),B=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...B.interpreters,"zx"],extensions:[...B.extensions.filter(H=>H!==".jsx"),".wxs"]})),m(kl(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),m(kl(),()=>({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})),m(bu(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),m(mo(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),m(Pl(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),m(Pl(),B=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:B.extensions.filter(H=>H!==".jsonl")})),m(ic(),B=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...B.filenames,".eslintrc",".swcrc"]})),m(Nl(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],F={estree:b,"estree-json":E};A.exports={languages:w,options:g,printers:F,parsers:D}}}),Bs=ft({"src/language-css/clean.js"(d,A){_();var{isFrontMatterNode:m}=Ki(),b=Ji(),E=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function g(w,F,B){if(m(w)&&w.lang==="yaml"&&delete F.value,w.type==="css-comment"&&B.type==="css-root"&&B.nodes.length>0&&((B.nodes[0]===w||m(B.nodes[0])&&B.nodes[1]===w)&&(delete F.text,/^\*\s*@(?:format|prettier)\s*$/.test(w.text))||B.type==="css-root"&&b(B.nodes)===w))return null;if(w.type==="value-root"&&delete F.text,(w.type==="media-query"||w.type==="media-query-list"||w.type==="media-feature-expression")&&delete F.value,w.type==="css-rule"&&delete F.params,w.type==="selector-combinator"&&(F.value=F.value.replace(/\s+/g," ")),w.type==="media-feature"&&(F.value=F.value.replace(/ /g,"")),(w.type==="value-word"&&(w.isColor&&w.isHex||["initial","inherit","unset","revert"].includes(F.value.replace().toLowerCase()))||w.type==="media-feature"||w.type==="selector-root-invalid"||w.type==="selector-pseudo")&&(F.value=F.value.toLowerCase()),w.type==="css-decl"&&(F.prop=F.prop.toLowerCase()),(w.type==="css-atrule"||w.type==="css-import")&&(F.name=F.name.toLowerCase()),w.type==="value-number"&&(F.unit=F.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")&&F.value&&(F.value=D(F.value)),w.type==="selector-attribute"&&(F.attribute=F.attribute.trim(),F.namespace&&typeof F.namespace=="string"&&(F.namespace=F.namespace.trim(),F.namespace.length===0&&(F.namespace=!0)),F.value&&(F.value=F.value.trim().replace(/^["']|["']$/g,""),delete F.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")&&F.value&&(F.value=F.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(H,R,V)=>{let I=Number(R);return Number.isNaN(I)?H:I+V.toLowerCase()})),w.type==="selector-tag"){let H=w.value.toLowerCase();["from","to"].includes(H)&&(F.value=H)}if(w.type==="css-atrule"&&w.name.toLowerCase()==="supports"&&delete F.value,w.type==="selector-unknown"&&delete F.value,w.type==="value-comma_group"){let H=w.groups.findIndex(R=>R.type==="value-number"&&R.unit==="...");H!==-1&&(F.groups[H].unit="",F.groups.splice(H+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}}g.ignoredProperties=E;function D(w){return w.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}A.exports=g}}),Ta=ft({"src/utils/front-matter/print.js"(d,A){_();var{builders:{hardline:m,markAsRoot:b}}=bi();function E(g,D){if(g.lang==="yaml"){let w=g.value.trim(),F=w?D(w,{parser:"yaml"},{stripTrailingHardline:!0}):"";return b([g.startDelimiter,m,F,F?m:"",g.endDelimiter])}}A.exports=E}}),oo=ft({"src/language-css/embed.js"(d,A){_();var{builders:{hardline:m}}=bi(),b=Ta();function E(g,D,w){let F=g.getValue();if(F.type==="front-matter"){let B=b(F,w);return B?[B,m]:""}}A.exports=E}}),Ka=ft({"src/utils/front-matter/parse.js"(d,A){_();var m=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function b(E){let g=E.match(m);if(!g)return{content:E};let{startDelimiter:D,language:w,value:F="",endDelimiter:B}=g.groups,H=w.trim()||"yaml";if(D==="+++"&&(H="toml"),H!=="yaml"&&D!==B)return{content:E};let[R]=g;return{frontMatter:{type:"front-matter",lang:H,value:F,startDelimiter:D,endDelimiter:B,raw:R.replace(/\n$/,"")},content:R.replace(/[^\n]/g," ")+E.slice(R.length)}}A.exports=b}}),Bl=ft({"src/language-css/pragma.js"(d,A){_();var m=wa(),b=Ka();function E(D){return m.hasPragma(b(D).content)}function g(D){let{frontMatter:w,content:F}=b(D);return(w?w.raw+`
|
|
92
|
-
|
|
93
|
-
`:"")+m.insertPragma(F)}A.exports={hasPragma:E,insertPragma:g}}}),hl=ft({"src/language-css/utils/index.js"(d,A){_();var m=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 b(Ze,ot){let ht=Array.isArray(ot)?ot:[ot],pr=-1,Er;for(;Er=Ze.getParentNode(++pr);)if(ht.includes(Er.type))return pr;return-1}function E(Ze,ot){let ht=b(Ze,ot);return ht===-1?null:Ze.getParentNode(ht)}function g(Ze){var ot;let ht=E(Ze,"css-decl");return ht==null||(ot=ht.prop)===null||ot===void 0?void 0:ot.toLowerCase()}var D=new Set(["initial","inherit","unset","revert"]);function w(Ze){return D.has(Ze.toLowerCase())}function F(Ze,ot){let ht=E(Ze,"css-atrule");return(ht==null?void 0:ht.name)&&ht.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(ot.toLowerCase())}function B(Ze){return Ze.includes("$")||Ze.includes("@")||Ze.includes("#")||Ze.startsWith("%")||Ze.startsWith("--")||Ze.startsWith(":--")||Ze.includes("(")&&Ze.includes(")")?Ze:Ze.toLowerCase()}function H(Ze,ot){var ht;let pr=E(Ze,"value-func");return(pr==null||(ht=pr.value)===null||ht===void 0?void 0:ht.toLowerCase())===ot}function R(Ze){var ot;let ht=E(Ze,"css-rule"),pr=ht==null||(ot=ht.raws)===null||ot===void 0?void 0:ot.selector;return pr&&(pr.startsWith(":import")||pr.startsWith(":export"))}function V(Ze,ot){let ht=Array.isArray(ot)?ot:[ot],pr=E(Ze,"css-atrule");return pr&&ht.includes(pr.name.toLowerCase())}function I(Ze){let ot=Ze.getValue(),ht=E(Ze,"css-atrule");return(ht==null?void 0:ht.name)==="import"&&ot.groups[0].value==="url"&&ot.groups.length===2}function L(Ze){return Ze.type==="value-func"&&Ze.value.toLowerCase()==="url"}function z(Ze,ot){var ht;let pr=(ht=Ze.getParentNode())===null||ht===void 0?void 0:ht.nodes;return pr&&pr.indexOf(ot)===pr.length-1}function ce(Ze){let{selector:ot}=Ze;return ot?typeof ot=="string"&&/^@.+:.*$/.test(ot)||ot.value&&/^@.+:.*$/.test(ot.value):!1}function fe(Ze){return Ze.type==="value-word"&&["from","through","end"].includes(Ze.value)}function J(Ze){return Ze.type==="value-word"&&["and","or","not"].includes(Ze.value)}function ee(Ze){return Ze.type==="value-word"&&Ze.value==="in"}function ue(Ze){return Ze.type==="value-operator"&&Ze.value==="*"}function ge(Ze){return Ze.type==="value-operator"&&Ze.value==="/"}function de(Ze){return Ze.type==="value-operator"&&Ze.value==="+"}function De(Ze){return Ze.type==="value-operator"&&Ze.value==="-"}function W(Ze){return Ze.type==="value-operator"&&Ze.value==="%"}function M(Ze){return ue(Ze)||ge(Ze)||de(Ze)||De(Ze)||W(Ze)}function U(Ze){return Ze.type==="value-word"&&["==","!="].includes(Ze.value)}function X(Ze){return Ze.type==="value-word"&&["<",">","<=",">="].includes(Ze.value)}function P(Ze){return Ze.type==="css-atrule"&&["if","else","for","each","while"].includes(Ze.name)}function G(Ze){var ot;return((ot=Ze.raws)===null||ot===void 0?void 0:ot.params)&&/^\(\s*\)$/.test(Ze.raws.params)}function q(Ze){return Ze.name.startsWith("prettier-placeholder")}function se(Ze){return Ze.prop.startsWith("@prettier-placeholder")}function te(Ze,ot){return Ze.value==="$$"&&Ze.type==="value-func"&&(ot==null?void 0:ot.type)==="value-word"&&!ot.raws.before}function ne(Ze){var ot,ht;return((ot=Ze.value)===null||ot===void 0?void 0:ot.type)==="value-root"&&((ht=Ze.value.group)===null||ht===void 0?void 0:ht.type)==="value-value"&&Ze.prop.toLowerCase()==="composes"}function Ce(Ze){var ot,ht,pr;return((ot=Ze.value)===null||ot===void 0||(ht=ot.group)===null||ht===void 0||(pr=ht.group)===null||pr===void 0?void 0:pr.type)==="value-paren_group"&&Ze.value.group.group.open!==null&&Ze.value.group.group.close!==null}function Re(Ze){var ot;return((ot=Ze.raws)===null||ot===void 0?void 0:ot.before)===""}function Pe(Ze){var ot,ht;return Ze.type==="value-comma_group"&&((ot=Ze.groups)===null||ot===void 0||(ht=ot[1])===null||ht===void 0?void 0:ht.type)==="value-colon"}function Ve(Ze){var ot;return Ze.type==="value-paren_group"&&((ot=Ze.groups)===null||ot===void 0?void 0:ot[0])&&Pe(Ze.groups[0])}function He(Ze){var ot;let ht=Ze.getValue();if(ht.groups.length===0)return!1;let pr=Ze.getParentNode(1);if(!Ve(ht)&&!(pr&&Ve(pr)))return!1;let Er=E(Ze,"css-decl");return!!(Er!=null&&(ot=Er.prop)!==null&&ot!==void 0&&ot.startsWith("$")||Ve(pr)||pr.type==="value-func")}function Le(Ze){return Ze.type==="value-comment"&&Ze.inline}function Dt(Ze){return Ze.type==="value-word"&&Ze.value==="#"}function Ke(Ze){return Ze.type==="value-word"&&Ze.value==="{"}function qe(Ze){return Ze.type==="value-word"&&Ze.value==="}"}function pt(Ze){return["value-word","value-atword"].includes(Ze.type)}function Bt(Ze){return(Ze==null?void 0:Ze.type)==="value-colon"}function wt(Ze,ot){if(!Pe(ot))return!1;let{groups:ht}=ot,pr=ht.indexOf(Ze);return pr===-1?!1:Bt(ht[pr+1])}function ur(Ze){return Ze.value&&["not","and","or"].includes(Ze.value.toLowerCase())}function Ue(Ze){return Ze.type!=="value-func"?!1:m.has(Ze.value.toLowerCase())}function tt(Ze){return/\/\//.test(Ze.split(/[\n\r]/).pop())}function rr(Ze){return(Ze==null?void 0:Ze.type)==="value-atword"&&Ze.value.startsWith("prettier-placeholder-")}function gr(Ze,ot){var ht,pr;if(((ht=Ze.open)===null||ht===void 0?void 0:ht.value)!=="("||((pr=Ze.close)===null||pr===void 0?void 0:pr.value)!==")"||Ze.groups.some(Er=>Er.type!=="value-comma_group"))return!1;if(ot.type==="value-comma_group"){let Er=ot.groups.indexOf(Ze)-1,cn=ot.groups[Er];if((cn==null?void 0:cn.type)==="value-word"&&cn.value==="with")return!0}return!1}function tr(Ze){var ot,ht;return Ze.type==="value-paren_group"&&((ot=Ze.open)===null||ot===void 0?void 0:ot.value)==="("&&((ht=Ze.close)===null||ht===void 0?void 0:ht.value)===")"}A.exports={getAncestorCounter:b,getAncestorNode:E,getPropOfDeclNode:g,maybeToLowerCase:B,insideValueFunctionNode:H,insideICSSRuleNode:R,insideAtRuleNode:V,insideURLFunctionInImportAtRuleNode:I,isKeyframeAtRuleKeywords:F,isWideKeywords:w,isLastNode:z,isSCSSControlDirectiveNode:P,isDetachedRulesetDeclarationNode:ce,isRelationalOperatorNode:X,isEqualityOperatorNode:U,isMultiplicationNode:ue,isDivisionNode:ge,isAdditionNode:de,isSubtractionNode:De,isModuloNode:W,isMathOperatorNode:M,isEachKeywordNode:ee,isForKeywordNode:fe,isURLFunctionNode:L,isIfElseKeywordNode:J,hasComposesNode:ne,hasParensAroundNode:Ce,hasEmptyRawBefore:Re,isDetachedRulesetCallNode:G,isTemplatePlaceholderNode:q,isTemplatePropNode:se,isPostcssSimpleVarNode:te,isKeyValuePairNode:Pe,isKeyValuePairInParenGroupNode:Ve,isKeyInValuePairNode:wt,isSCSSMapItemNode:He,isInlineValueCommentNode:Le,isHashNode:Dt,isLeftCurlyBraceNode:Ke,isRightCurlyBraceNode:qe,isWordNode:pt,isColonNode:Bt,isMediaAndSupportsKeywords:ur,isColorAdjusterFuncNode:Ue,lastLineHasInlineComment:tt,isAtWordPlaceholderNode:rr,isConfigurationNode:gr,isParenGroupNode:tr}}}),Jo=ft({"src/utils/line-column-to-index.js"(d,A){_(),A.exports=function(m,b){let E=0;for(let g=0;g<m.line-1;++g)E=b.indexOf(`
|
|
94
|
-
`,E)+1;return E+m.column}}}),Ko=ft({"src/language-css/loc.js"(d,A){_();var{skipEverythingButNewLine:m}=Ha(),b=Ji(),E=Jo();function g(I,L){return typeof I.sourceIndex=="number"?I.sourceIndex:I.source?E(I.source.start,L)-1:null}function D(I,L){if(I.type==="css-comment"&&I.inline)return m(L,I.source.startOffset);let z=I.nodes&&b(I.nodes);return z&&I.source&&!I.source.end&&(I=z),I.source&&I.source.end?E(I.source.end,L):null}function w(I,L){I.source&&(I.source.startOffset=g(I,L),I.source.endOffset=D(I,L));for(let z in I){let ce=I[z];z==="source"||!ce||typeof ce!="object"||(ce.type==="value-root"||ce.type==="value-unknown"?F(ce,B(I),ce.text||ce.value):w(ce,L))}}function F(I,L,z){I.source&&(I.source.startOffset=g(I,z)+L,I.source.endOffset=D(I,z)+L);for(let ce in I){let fe=I[ce];ce==="source"||!fe||typeof fe!="object"||F(fe,L,z)}}function B(I){let L=I.source.startOffset;return typeof I.prop=="string"&&(L+=I.prop.length),I.type==="css-atrule"&&typeof I.name=="string"&&(L+=1+I.name.length+I.raws.afterName.match(/^\s*:?\s*/)[0].length),I.type!=="css-atrule"&&I.raws&&typeof I.raws.between=="string"&&(L+=I.raws.between.length),L}function H(I){let L="initial",z="initial",ce,fe=!1,J=[];for(let ee=0;ee<I.length;ee++){let ue=I[ee];switch(L){case"initial":if(ue==="'"){L="single-quotes";continue}if(ue==='"'){L="double-quotes";continue}if((ue==="u"||ue==="U")&&I.slice(ee,ee+4).toLowerCase()==="url("){L="url",ee+=3;continue}if(ue==="*"&&I[ee-1]==="/"){L="comment-block";continue}if(ue==="/"&&I[ee-1]==="/"){L="comment-inline",ce=ee-1;continue}continue;case"single-quotes":if(ue==="'"&&I[ee-1]!=="\\"&&(L=z,z="initial"),ue===`
|
|
95
|
-
`||ue==="\r")return I;continue;case"double-quotes":if(ue==='"'&&I[ee-1]!=="\\"&&(L=z,z="initial"),ue===`
|
|
96
|
-
`||ue==="\r")return I;continue;case"url":if(ue===")"&&(L="initial"),ue===`
|
|
97
|
-
`||ue==="\r")return I;if(ue==="'"){L="single-quotes",z="url";continue}if(ue==='"'){L="double-quotes",z="url";continue}continue;case"comment-block":ue==="/"&&I[ee-1]==="*"&&(L="initial");continue;case"comment-inline":(ue==='"'||ue==="'"||ue==="*")&&(fe=!0),(ue===`
|
|
98
|
-
`||ue==="\r")&&(fe&&J.push([ce,ee]),L="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 R(I){return I.source.startOffset}function V(I){return I.source.endOffset}A.exports={locStart:R,locEnd:V,calculateLoc:w,replaceQuotesInInlineComments:H}}}),Qo=ft({"src/language-css/utils/is-less-parser.js"(d,A){_();function m(b){return b.parser==="css"||b.parser==="less"}A.exports=m}}),Au=ft({"src/language-css/utils/is-scss.js"(d,A){_();function m(b,E){return b==="less"||b==="scss"?b==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(E)}A.exports=m}}),qu=ft({"src/language-css/utils/css-units.evaluate.js"(d,A){A.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"}}}),Vu=ft({"src/language-css/utils/print-unit.js"(d,A){_();var m=qu();function b(E){let g=E.toLowerCase();return Object.prototype.hasOwnProperty.call(m,g)?m[g]:E}A.exports=b}}),Ra=ft({"src/language-css/printer-postcss.js"(d,A){_();var m=Ji(),{printNumber:b,printString:E,hasNewline:g,isFrontMatterNode:D,isNextLineEmpty:w,isNonEmptyArray:F}=Ki(),{builders:{join:B,line:H,hardline:R,softline:V,group:I,fill:L,indent:z,dedent:ce,ifBreak:fe,breakParent:J},utils:{removeLines:ee,getDocParts:ue}}=bi(),ge=Bs(),de=oo(),{insertPragma:De}=Bl(),{getAncestorNode:W,getPropOfDeclNode:M,maybeToLowerCase:U,insideValueFunctionNode:X,insideICSSRuleNode:P,insideAtRuleNode:G,insideURLFunctionInImportAtRuleNode:q,isKeyframeAtRuleKeywords:se,isWideKeywords:te,isLastNode:ne,isSCSSControlDirectiveNode:Ce,isDetachedRulesetDeclarationNode:Re,isRelationalOperatorNode:Pe,isEqualityOperatorNode:Ve,isMultiplicationNode:He,isDivisionNode:Le,isAdditionNode:Dt,isSubtractionNode:Ke,isMathOperatorNode:qe,isEachKeywordNode:pt,isForKeywordNode:Bt,isURLFunctionNode:wt,isIfElseKeywordNode:ur,hasComposesNode:Ue,hasParensAroundNode:tt,hasEmptyRawBefore:rr,isKeyValuePairNode:gr,isKeyInValuePairNode:tr,isDetachedRulesetCallNode:Ze,isTemplatePlaceholderNode:ot,isTemplatePropNode:ht,isPostcssSimpleVarNode:pr,isSCSSMapItemNode:Er,isInlineValueCommentNode:cn,isHashNode:Fn,isLeftCurlyBraceNode:Ei,isRightCurlyBraceNode:fr,isWordNode:lr,isColonNode:br,isMediaAndSupportsKeywords:Qt,isColorAdjusterFuncNode:Yr,lastLineHasInlineComment:nt,isAtWordPlaceholderNode:qr,isConfigurationNode:Ur,isParenGroupNode:tn}=hl(),{locStart:vi,locEnd:e}=Ko(),r=Qo(),n=Au(),a=Vu();function u(Jt){return Jt.trailingComma==="es5"||Jt.trailingComma==="all"}function h(Jt,Sr,Gr){let rt=Jt.getValue();if(!rt)return"";if(typeof rt=="string")return rt;switch(rt.type){case"front-matter":return[rt.raw,R];case"css-root":{let vn=C(Jt,Sr,Gr),Sn=rt.raws.after.trim();return[vn,Sn?" ".concat(Sn):"",ue(vn).length>0?R:""]}case"css-comment":{let vn=rt.inline||rt.raws.inline,Sn=Sr.originalText.slice(vi(rt),e(rt));return vn?Sn.trimEnd():Sn}case"css-rule":return[Gr("selector"),rt.important?" !important":"",rt.nodes?[rt.selector&&rt.selector.type==="selector-unknown"&&nt(rt.selector.value)?H:" ","{",rt.nodes.length>0?z([R,C(Jt,Sr,Gr)]):"",R,"}",Re(rt)?";":""]:";"];case"css-decl":{let vn=Jt.getParentNode(),{between:Sn}=rt.raws,Mn=Sn.trim(),zi=Mn===":",as=Ue(rt)?ee(Gr("value")):Gr("value");return!zi&&nt(Mn)&&(as=z([R,ce(as)])),[rt.raws.before.replace(/[\s;]/g,""),P(Jt)?rt.prop:U(rt.prop),Mn.startsWith("//")?" ":"",Mn,rt.extend?"":" ",r(Sr)&&rt.extend&&rt.selector?["extend(",Gr("selector"),")"]:"",as,rt.raws.important?rt.raws.important.replace(/\s*!\s*important/i," !important"):rt.important?" !important":"",rt.raws.scssDefault?rt.raws.scssDefault.replace(/\s*!default/i," !default"):rt.scssDefault?" !default":"",rt.raws.scssGlobal?rt.raws.scssGlobal.replace(/\s*!global/i," !global"):rt.scssGlobal?" !global":"",rt.nodes?[" {",z([V,C(Jt,Sr,Gr)]),V,"}"]:ht(rt)&&!vn.raws.semicolon&&Sr.originalText[e(rt)-1]!==";"?"":Sr.__isHTMLStyleAttribute&&ne(Jt,rt)?fe(";"):";"]}case"css-atrule":{let vn=Jt.getParentNode(),Sn=ot(rt)&&!vn.raws.semicolon&&Sr.originalText[e(rt)-1]!==";";if(r(Sr)){if(rt.mixin)return[Gr("selector"),rt.important?" !important":"",Sn?"":";"];if(rt.function)return[rt.name,Gr("params"),Sn?"":";"];if(rt.variable)return["@",rt.name,": ",rt.value?Gr("value"):"",rt.raws.between.trim()?rt.raws.between.trim()+" ":"",rt.nodes?["{",z([rt.nodes.length>0?V:"",C(Jt,Sr,Gr)]),V,"}"]:"",Sn?"":";"]}return["@",Ze(rt)||rt.name.endsWith(":")?rt.name:U(rt.name),rt.params?[Ze(rt)?"":ot(rt)?rt.raws.afterName===""?"":rt.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(rt.raws.afterName)?[R,R]:/^\s*\n/.test(rt.raws.afterName)?R:" ":" ",Gr("params")]:"",rt.selector?z([" ",Gr("selector")]):"",rt.value?I([" ",Gr("value"),Ce(rt)?tt(rt)?" ":H:""]):rt.name==="else"?" ":"",rt.nodes?[Ce(rt)?"":rt.selector&&!rt.selector.nodes&&typeof rt.selector.value=="string"&&nt(rt.selector.value)||!rt.selector&&typeof rt.params=="string"&&nt(rt.params)?H:" ","{",z([rt.nodes.length>0?V:"",C(Jt,Sr,Gr)]),V,"}"]:Sn?"":";"]}case"media-query-list":{let vn=[];return Jt.each(Sn=>{let Mn=Sn.getValue();Mn.type==="media-query"&&Mn.value===""||vn.push(Gr())},"nodes"),I(z(B(H,vn)))}case"media-query":return[B(" ",Jt.map(Gr,"nodes")),ne(Jt,rt)?"":","];case"media-type":return jt(Nt(rt.value,Sr));case"media-feature-expression":return rt.nodes?["(",...Jt.map(Gr,"nodes"),")"]:rt.value;case"media-feature":return U(Nt(rt.value.replace(/ +/g," "),Sr));case"media-colon":return[rt.value," "];case"media-value":return jt(Nt(rt.value,Sr));case"media-keyword":return Nt(rt.value,Sr);case"media-url":return Nt(rt.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),Sr);case"media-unknown":return rt.value;case"selector-root":return I([G(Jt,"custom-selector")?[W(Jt,"css-atrule").customSelector,H]:"",B([",",G(Jt,["extend","custom-selector","nest"])?H:R],Jt.map(Gr,"nodes"))]);case"selector-selector":return I(z(Jt.map(Gr,"nodes")));case"selector-comment":return rt.value;case"selector-string":return Nt(rt.value,Sr);case"selector-tag":{let vn=Jt.getParentNode(),Sn=vn&&vn.nodes.indexOf(rt),Mn=Sn&&vn.nodes[Sn-1];return[rt.namespace?[rt.namespace===!0?"":rt.namespace.trim(),"|"]:"",Mn.type==="selector-nesting"?rt.value:jt(se(Jt,rt.value)?rt.value.toLowerCase():rt.value)]}case"selector-id":return["#",rt.value];case"selector-class":return[".",jt(Nt(rt.value,Sr))];case"selector-attribute":return["[",rt.namespace?[rt.namespace===!0?"":rt.namespace.trim(),"|"]:"",rt.attribute.trim(),rt.operator?rt.operator:"",rt.value?it(Nt(rt.value.trim(),Sr),Sr):"",rt.insensitive?" i":"","]"];case"selector-combinator":{if(rt.value==="+"||rt.value===">"||rt.value==="~"||rt.value===">>>"){let Mn=Jt.getParentNode();return[Mn.type==="selector-selector"&&Mn.nodes[0]===rt?"":H,rt.value,ne(Jt,rt)?"":" "]}let vn=rt.value.trim().startsWith("(")?H:"",Sn=jt(Nt(rt.value.trim(),Sr))||H;return[vn,Sn]}case"selector-universal":return[rt.namespace?[rt.namespace===!0?"":rt.namespace.trim(),"|"]:"",rt.value];case"selector-pseudo":return[U(rt.value),F(rt.nodes)?["(",B(", ",Jt.map(Gr,"nodes")),")"]:""];case"selector-nesting":return rt.value;case"selector-unknown":{let vn=W(Jt,"css-rule");if(vn&&vn.isSCSSNesterProperty)return jt(Nt(U(rt.value),Sr));let Sn=Jt.getParentNode();if(Sn.raws&&Sn.raws.selector){let zi=vi(Sn),as=zi+Sn.raws.selector.length;return Sr.originalText.slice(zi,as).trim()}let Mn=Jt.getParentNode(1);if(Sn.type==="value-paren_group"&&Mn&&Mn.type==="value-func"&&Mn.value==="selector"){let zi=e(Sn.open)+1,as=vi(Sn.close),Vs=Sr.originalText.slice(zi,as).trim();return nt(Vs)?[J,Vs]:Vs}return rt.value}case"value-value":case"value-root":return Gr("group");case"value-comment":return Sr.originalText.slice(vi(rt),e(rt));case"value-comma_group":{let vn=Jt.getParentNode(),Sn=Jt.getParentNode(1),Mn=M(Jt),zi=Mn&&vn.type==="value-value"&&(Mn==="grid"||Mn.startsWith("grid-template")),as=W(Jt,"css-atrule"),Vs=as&&Ce(as),ke=rt.groups.some(_s=>cn(_s)),sr=Jt.map(Gr,"groups"),_n=[],Ai=X(Jt,"url"),Ui=!1,Cs=!1;for(let _s=0;_s<rt.groups.length;++_s){_n.push(sr[_s]);let Es=rt.groups[_s-1],hi=rt.groups[_s],Li=rt.groups[_s+1],Wu=rt.groups[_s+2];if(Ai){(Li&&Dt(Li)||Dt(hi))&&_n.push(" ");continue}if(G(Jt,"forward")&&hi.type==="value-word"&&hi.value&&Es!==void 0&&Es.type==="value-word"&&Es.value==="as"&&Li.type==="value-operator"&&Li.value==="*"||!Li||hi.type==="value-word"&&hi.value.endsWith("-")&&qr(Li))continue;let dl=hi.type==="value-string"&&hi.value.startsWith("#{"),Qa=Ui&&Li.type==="value-string"&&Li.value.endsWith("}");if(dl||Qa){Ui=!Ui;continue}if(Ui||br(hi)||br(Li)||hi.type==="value-atword"&&hi.value===""||hi.value==="~"||hi.value&&hi.value.includes("\\")&&Li&&Li.type!=="value-comment"||Es&&Es.value&&Es.value.indexOf("\\")===Es.value.length-1&&hi.type==="value-operator"&&hi.value==="/"||hi.value==="\\"||pr(hi,Li)||Fn(hi)||Ei(hi)||fr(Li)||Ei(Li)&&rr(Li)||fr(hi)&&rr(Li)||hi.value==="--"&&Fn(Li))continue;let pu=qe(hi),Sa=qe(Li);if((pu&&Fn(Li)||Sa&&fr(hi))&&rr(Li)||!Es&&Le(hi)||X(Jt,"calc")&&(Dt(hi)||Dt(Li)||Ke(hi)||Ke(Li))&&rr(Li))continue;let Lc=(Dt(hi)||Ke(hi))&&_s===0&&(Li.type==="value-number"||Li.isHex)&&Sn&&Yr(Sn)&&!rr(Li),Su=Wu&&Wu.type==="value-func"||Wu&&lr(Wu)||hi.type==="value-func"||lr(hi),ml=Li.type==="value-func"||lr(Li)||Es&&Es.type==="value-func"||Es&&lr(Es);if(!(!(He(Li)||He(hi))&&!X(Jt,"calc")&&!Lc&&(Le(Li)&&!Su||Le(hi)&&!ml||Dt(Li)&&!Su||Dt(hi)&&!ml||Ke(Li)||Ke(hi))&&(rr(Li)||pu&&(!Es||Es&&qe(Es))))){if(cn(hi)){if(vn.type==="value-paren_group"){_n.push(ce(R));continue}_n.push(R);continue}if(Vs&&(Ve(Li)||Pe(Li)||ur(Li)||pt(hi)||Bt(hi))){_n.push(" ");continue}if(as&&as.name.toLowerCase()==="namespace"){_n.push(" ");continue}if(zi){hi.source&&Li.source&&hi.source.start.line!==Li.source.start.line?(_n.push(R),Cs=!0):_n.push(" ");continue}if(Sa){_n.push(" ");continue}if(!(Li&&Li.value==="...")&&!(qr(hi)&&qr(Li)&&e(hi)===vi(Li))){if(qr(hi)&&tn(Li)&&e(hi)===vi(Li.open)){_n.push(V);continue}if(hi.value==="with"&&tn(Li)){_n.push(" ");continue}_n.push(H)}}}return ke&&_n.push(J),Cs&&_n.unshift(R),Vs?I(z(_n)):q(Jt)?I(L(_n)):I(z(L(_n)))}case"value-paren_group":{let vn=Jt.getParentNode();if(vn&&wt(vn)&&(rt.groups.length===1||rt.groups.length>0&&rt.groups[0].type==="value-comma_group"&&rt.groups[0].groups.length>0&&rt.groups[0].groups[0].type==="value-word"&&rt.groups[0].groups[0].value.startsWith("data:")))return[rt.open?Gr("open"):"",B(",",Jt.map(Gr,"groups")),rt.close?Gr("close"):""];if(!rt.open){let Ai=Jt.map(Gr,"groups"),Ui=[];for(let Cs=0;Cs<Ai.length;Cs++)Cs!==0&&Ui.push([",",H]),Ui.push(Ai[Cs]);return I(z(L(Ui)))}let Sn=Er(Jt),Mn=m(rt.groups),zi=Mn&&Mn.type==="value-comment",as=tr(rt,vn),Vs=Ur(rt,vn),ke=Vs||Sn&&!as,sr=Vs||as,_n=I([rt.open?Gr("open"):"",z([V,B([H],Jt.map((Ai,Ui)=>{let Cs=Ai.getValue(),_s=Ui===rt.groups.length-1,Es=[Gr(),_s?"":","];if(gr(Cs)&&Cs.type==="value-comma_group"&&Cs.groups&&Cs.groups[0].type!=="value-paren_group"&&Cs.groups[2]&&Cs.groups[2].type==="value-paren_group"){let hi=ue(Es[0].contents.contents);return hi[1]=I(hi[1]),I(ce(Es))}if(!_s&&Cs.type==="value-comma_group"&&F(Cs.groups)){let hi=m(Cs.groups);hi.source&&w(Sr.originalText,hi,e)&&Es.push(R)}return Es},"groups"))]),fe(!zi&&n(Sr.parser,Sr.originalText)&&Sn&&u(Sr)?",":""),V,rt.close?Gr("close"):""],{shouldBreak:ke});return sr?ce(_n):_n}case"value-func":return[rt.value,G(Jt,"supports")&&Qt(rt)?" ":"",Gr("group")];case"value-paren":return rt.value;case"value-number":return[dr(rt.value),a(rt.unit)];case"value-operator":return rt.value;case"value-word":return rt.isColor&&rt.isHex||te(rt.value)?rt.value.toLowerCase():rt.value;case"value-colon":{let vn=Jt.getParentNode(),Sn=vn&&vn.groups.indexOf(rt),Mn=Sn&&vn.groups[Sn-1];return[rt.value,Mn&&typeof Mn.value=="string"&&m(Mn.value)==="\\"||X(Jt,"url")?"":H]}case"value-comma":return[rt.value," "];case"value-string":return E(rt.raws.quote+rt.value+rt.raws.quote,Sr);case"value-atword":return["@",rt.value];case"value-unicode-range":return rt.value;case"value-unknown":return rt.value;default:throw new Error("Unknown postcss type ".concat(JSON.stringify(rt.type)))}}function C(Jt,Sr,Gr){let rt=[];return Jt.each((vn,Sn,Mn)=>{let zi=Mn[Sn-1];if(zi&&zi.type==="css-comment"&&zi.text.trim()==="prettier-ignore"){let as=vn.getValue();rt.push(Sr.originalText.slice(vi(as),e(as)))}else rt.push(Gr());Sn!==Mn.length-1&&(Mn[Sn+1].type==="css-comment"&&!g(Sr.originalText,vi(Mn[Sn+1]),{backwards:!0})&&!D(Mn[Sn])||Mn[Sn+1].type==="css-atrule"&&Mn[Sn+1].name==="else"&&Mn[Sn].type!=="css-comment"?rt.push(" "):(rt.push(Sr.__isHTMLStyleAttribute?H:R),w(Sr.originalText,vn.getValue(),e)&&!D(Mn[Sn])&&rt.push(R)))},"nodes"),rt}var S=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,O=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,j=/[A-Za-z]+/g,$e=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,Be=new RegExp(S.source+"|(".concat($e.source,")?(").concat(O.source,")(").concat(j.source,")?"),"g");function Nt(Jt,Sr){return Jt.replace(S,Gr=>E(Gr,Sr))}function it(Jt,Sr){let Gr=Sr.singleQuote?"'":'"';return Jt.includes('"')||Jt.includes("'")?Jt:Gr+Jt+Gr}function jt(Jt){return Jt.replace(Be,(Sr,Gr,rt,vn,Sn)=>!rt&&vn?dr(vn)+U(Sn||""):Sr)}function dr(Jt){return b(Jt).replace(/\.0(?=$|e)/,"")}A.exports={print:h,embed:de,insertPragma:De,massageAstNode:ge}}}),Gl=ft({"src/language-css/options.js"(d,A){_();var m=Xo();A.exports={singleQuote:m.singleQuote}}}),lu=ft({"src/language-css/parsers.js"(){_()}}),_l=ft({"node_modules/linguist-languages/data/CSS.json"(d,A){A.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),So=ft({"node_modules/linguist-languages/data/PostCSS.json"(d,A){A.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),T=ft({"node_modules/linguist-languages/data/Less.json"(d,A){A.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=ft({"node_modules/linguist-languages/data/SCSS.json"(d,A){A.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),Z=ft({"src/language-css/index.js"(d,A){_();var m=Ca(),b=Ra(),E=Gl(),g=lu(),D=[m(_l(),F=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...F.extensions,".wxss"]})),m(So(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),m(T(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),m(ae(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],w={postcss:b};A.exports={languages:D,options:E,printers:w,parsers:g}}}),K=ft({"src/language-handlebars/loc.js"(d,A){_();function m(E){return E.loc.start.offset}function b(E){return E.loc.end.offset}A.exports={locStart:m,locEnd:b}}}),oe=ft({"src/language-handlebars/clean.js"(d,A){_();function m(b,E){if(b.type==="TextNode"){let g=b.chars.trim();if(!g)return null;E.chars=g.replace(/[\t\n\f\r ]+/g," ")}b.type==="AttrNode"&&b.name.toLowerCase()==="class"&&delete E.value}m.ignoredProperties=new Set(["loc","selfClosing"]),A.exports=m}}),Ae=ft({"vendors/html-void-elements.json"(d,A){A.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"]}}}),we=ft({"src/language-handlebars/utils.js"(d,A){_();var{htmlVoidElements:m}=Ae(),b=Ji();function E(ee){let ue=ee.getValue(),ge=ee.getParentNode(0);return!!(R(ee,["ElementNode"])&&b(ge.children)===ue||R(ee,["Block"])&&b(ge.body)===ue)}function g(ee){return ee.toUpperCase()===ee}function D(ee){return H(ee,["ElementNode"])&&typeof ee.tag=="string"&&!ee.tag.startsWith(":")&&(g(ee.tag[0])||ee.tag.includes("."))}var w=new Set(m);function F(ee){return w.has(ee.tag)||D(ee)&&ee.children.every(ue=>B(ue))}function B(ee){return H(ee,["TextNode"])&&!/\S/.test(ee.chars)}function H(ee,ue){return ee&&ue.includes(ee.type)}function R(ee,ue){let ge=ee.getParentNode(0);return H(ge,ue)}function V(ee,ue){let ge=z(ee);return H(ge,ue)}function I(ee,ue){let ge=ce(ee);return H(ge,ue)}function L(ee,ue){var ge,de,De,W;let M=ee.getValue(),U=(ge=ee.getParentNode(0))!==null&&ge!==void 0?ge:{},X=(de=(De=(W=U.children)!==null&&W!==void 0?W:U.body)!==null&&De!==void 0?De:U.parts)!==null&&de!==void 0?de:[],P=X.indexOf(M);return P!==-1&&X[P+ue]}function z(ee){let ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return L(ee,-ue)}function ce(ee){return L(ee,1)}function fe(ee){return H(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)}A.exports={getNextNode:ce,getPreviousNode:z,hasPrettierIgnore:J,isLastNodeOfSiblings:E,isNextNodeOfSomeType:I,isNodeOfSomeType:H,isParentOfSomeType:R,isPreviousNodeOfSomeType:V,isVoid:F,isWhitespaceNode:B}}}),ve=ft({"src/language-handlebars/printer-glimmer.js"(d,A){_();var{builders:{dedent:m,fill:b,group:E,hardline:g,ifBreak:D,indent:w,join:F,line:B,softline:H},utils:{getDocParts:R,replaceTextEndOfLine:V}}=bi(),{getPreferredQuote:I,isNonEmptyArray:L}=Ki(),{locStart:z,locEnd:ce}=K(),fe=oe(),{getNextNode:J,getPreviousNode:ee,hasPrettierIgnore:ue,isLastNodeOfSiblings:ge,isNextNodeOfSomeType:de,isNodeOfSomeType:De,isParentOfSomeType:W,isPreviousNodeOfSomeType:M,isVoid:U,isWhitespaceNode:X}=we(),P=2;function G(nt,qr,Ur){let tn=nt.getValue();if(!tn)return"";if(ue(nt))return qr.originalText.slice(z(tn),ce(tn));let vi=qr.singleQuote?"'":'"';switch(tn.type){case"Block":case"Program":case"Template":return E(nt.map(Ur,"body"));case"ElementNode":{let e=E(se(nt,Ur)),r=qr.htmlWhitespaceSensitivity==="ignore"&&de(nt,["ElementNode"])?H:"";if(U(tn))return[e,r];let n=["</",tn.tag,">"];return tn.children.length===0?[e,w(n),r]:qr.htmlWhitespaceSensitivity==="ignore"?[e,w(te(nt,qr,Ur)),g,w(n),r]:[e,w(E(te(nt,qr,Ur))),w(n),r]}case"BlockStatement":{let e=nt.getParentNode(1);return e&&e.inverse&&e.inverse.body.length===1&&e.inverse.body[0]===tn&&e.inverse.body[0].path.parts[0]==="if"?[Bt(nt,Ur),rr(nt,Ur,qr),gr(nt,Ur,qr)]:[qe(nt,Ur),E([rr(nt,Ur,qr),gr(nt,Ur,qr),wt(nt,Ur,qr)])]}case"ElementModifierStatement":return E(["{{",lr(nt,Ur),"}}"]);case"MustacheStatement":return E([Ce(tn),lr(nt,Ur),Re(tn)]);case"SubExpression":return E(["(",fr(nt,Ur),H,")"]);case"AttrNode":{let e=tn.value.type==="TextNode";if(e&&tn.value.chars===""&&z(tn.value)===ce(tn.value))return tn.name;let r=e?I(tn.value.chars,vi).quote:tn.value.type==="ConcatStatement"?I(tn.value.parts.filter(a=>a.type==="TextNode").map(a=>a.chars).join(""),vi).quote:"",n=Ur("value");return[tn.name,"=",r,tn.name==="class"&&r?E(w(n)):n,r]}case"ConcatStatement":return nt.map(Ur,"parts");case"Hash":return F(B,nt.map(Ur,"pairs"));case"HashPair":return[tn.key,"=",Ur("value")];case"TextNode":{let e=tn.chars.replace(/{{/g,"\\{{"),r=ot(nt);if(r){if(r==="class"){let $e=e.trim().split(/\s+/).join(" "),Be=!1,Nt=!1;return W(nt,["ConcatStatement"])&&(M(nt,["MustacheStatement"])&&/^\s/.test(e)&&(Be=!0),de(nt,["MustacheStatement"])&&/\s$/.test(e)&&$e!==""&&(Nt=!0)),[Be?B:"",$e,Nt?B:""]}return V(e)}let n=/^[\t\n\f\r ]*$/.test(e),a=!ee(nt),u=!J(nt);if(qr.htmlWhitespaceSensitivity!=="ignore"){let $e=/^[\t\n\f\r ]*/,Be=/[\t\n\f\r ]*$/,Nt=u&&W(nt,["Template"]),it=a&&W(nt,["Template"]);if(n){if(it||Nt)return"";let Gr=[B],rt=ht(e);return rt&&(Gr=cn(rt)),ge(nt)&&(Gr=Gr.map(vn=>m(vn))),Gr}let[jt]=e.match($e),[dr]=e.match(Be),Jt=[];if(jt){Jt=[B];let Gr=ht(jt);Gr&&(Jt=cn(Gr)),e=e.replace($e,"")}let Sr=[];if(dr){if(!Nt){Sr=[B];let Gr=ht(dr);Gr&&(Sr=cn(Gr)),ge(nt)&&(Sr=Sr.map(rt=>m(rt)))}e=e.replace(Be,"")}return[...Jt,b(tr(e)),...Sr]}let h=ht(e),C=pr(e),S=Er(e);if((a||u)&&n&&W(nt,["Block","ElementNode","Template"]))return"";n&&h?(C=Math.min(h,P),S=0):(de(nt,["BlockStatement","ElementNode"])&&(S=Math.max(S,1)),M(nt,["BlockStatement","ElementNode"])&&(C=Math.max(C,1)));let O="",j="";return S===0&&de(nt,["MustacheStatement"])&&(j=" "),C===0&&M(nt,["MustacheStatement"])&&(O=" "),a&&(C=0,O=""),u&&(S=0,j=""),e=e.replace(/^[\t\n\f\r ]+/g,O).replace(/[\t\n\f\r ]+$/,j),[...cn(C),b(tr(e)),...cn(S)]}case"MustacheCommentStatement":{let e=z(tn),r=ce(tn),n=qr.originalText.charAt(e+2)==="~",a=qr.originalText.charAt(r-3)==="~",u=tn.value.includes("}}")?"--":"";return["{{",n?"~":"","!",u,tn.value,u,a?"~":"","}}"]}case"PathExpression":return tn.original;case"BooleanLiteral":return String(tn.value);case"CommentStatement":return["<!--",tn.value,"-->"];case"StringLiteral":{if(Ei(nt)){let e=qr.singleQuote?'"':"'";return Fn(tn.value,e)}return Fn(tn.value,vi)}case"NumberLiteral":return String(tn.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(tn.type))}}function q(nt,qr){return z(nt)-z(qr)}function se(nt,qr){let Ur=nt.getValue(),tn=["attributes","modifiers","comments"].filter(e=>L(Ur[e])),vi=tn.flatMap(e=>Ur[e]).sort(q);for(let e of tn)nt.each(r=>{let n=vi.indexOf(r.getValue());vi.splice(n,1,[B,qr()])},e);return L(Ur.blockParams)&&vi.push(B,Yr(Ur)),["<",Ur.tag,w(vi),ne(Ur)]}function te(nt,qr,Ur){let tn=nt.getValue().children.every(vi=>X(vi));return qr.htmlWhitespaceSensitivity==="ignore"&&tn?"":nt.map((vi,e)=>{let r=Ur();return e===0&&qr.htmlWhitespaceSensitivity==="ignore"?[H,r]:r},"children")}function ne(nt){return U(nt)?D([H,"/>"],[" />",H]):D([H,">"],">")}function Ce(nt){let qr=nt.escaped===!1?"{{{":"{{",Ur=nt.strip&&nt.strip.open?"~":"";return[qr,Ur]}function Re(nt){let qr=nt.escaped===!1?"}}}":"}}";return[nt.strip&&nt.strip.close?"~":"",qr]}function Pe(nt){let qr=Ce(nt),Ur=nt.openStrip.open?"~":"";return[qr,Ur,"#"]}function Ve(nt){let qr=Re(nt);return[nt.openStrip.close?"~":"",qr]}function He(nt){let qr=Ce(nt),Ur=nt.closeStrip.open?"~":"";return[qr,Ur,"/"]}function Le(nt){let qr=Re(nt);return[nt.closeStrip.close?"~":"",qr]}function Dt(nt){let qr=Ce(nt),Ur=nt.inverseStrip.open?"~":"";return[qr,Ur]}function Ke(nt){let qr=Re(nt);return[nt.inverseStrip.close?"~":"",qr]}function qe(nt,qr){let Ur=nt.getValue(),tn=Pe(Ur),vi=Ve(Ur),e=[br(nt,qr)],r=Qt(nt,qr);if(r&&e.push(B,r),L(Ur.program.blockParams)){let n=Yr(Ur.program);e.push(B,n)}return E([tn,w(e),H,vi])}function pt(nt,qr){return[qr.htmlWhitespaceSensitivity==="ignore"?g:"",Dt(nt),"else",Ke(nt)]}function Bt(nt,qr){let Ur=nt.getParentNode(1);return[Dt(Ur),"else if ",Qt(nt,qr),Ke(Ur)]}function wt(nt,qr,Ur){let tn=nt.getValue();return Ur.htmlWhitespaceSensitivity==="ignore"?[ur(tn)?H:g,He(tn),qr("path"),Le(tn)]:[He(tn),qr("path"),Le(tn)]}function ur(nt){return De(nt,["BlockStatement"])&&nt.program.body.every(qr=>X(qr))}function Ue(nt){return tt(nt)&&nt.inverse.body.length===1&&De(nt.inverse.body[0],["BlockStatement"])&&nt.inverse.body[0].path.parts[0]==="if"}function tt(nt){return De(nt,["BlockStatement"])&&nt.inverse}function rr(nt,qr,Ur){let tn=nt.getValue();if(ur(tn))return"";let vi=qr("program");return Ur.htmlWhitespaceSensitivity==="ignore"?w([g,vi]):w(vi)}function gr(nt,qr,Ur){let tn=nt.getValue(),vi=qr("inverse"),e=Ur.htmlWhitespaceSensitivity==="ignore"?[g,vi]:vi;return Ue(tn)?e:tt(tn)?[pt(tn,Ur),w(e)]:""}function tr(nt){return R(F(B,Ze(nt)))}function Ze(nt){return nt.split(/[\t\n\f\r ]+/)}function ot(nt){for(let qr=0;qr<2;qr++){let Ur=nt.getParentNode(qr);if(Ur&&Ur.type==="AttrNode")return Ur.name.toLowerCase()}}function ht(nt){return nt=typeof nt=="string"?nt:"",nt.split(`
|
|
99
|
-
`).length-1}function pr(nt){nt=typeof nt=="string"?nt:"";let qr=(nt.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return ht(qr)}function Er(nt){nt=typeof nt=="string"?nt:"";let qr=(nt.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return ht(qr)}function cn(){let nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(nt,P)}).fill(g)}function Fn(nt,qr){let{quote:Ur,regex:tn}=I(nt,qr);return[Ur,nt.replace(tn,"\\".concat(Ur)),Ur]}function Ei(nt){let qr=0,Ur=nt.getParentNode(qr);for(;Ur&&De(Ur,["SubExpression"]);)qr++,Ur=nt.getParentNode(qr);return!!(Ur&&De(nt.getParentNode(qr+1),["ConcatStatement"])&&De(nt.getParentNode(qr+2),["AttrNode"]))}function fr(nt,qr){let Ur=br(nt,qr),tn=Qt(nt,qr);return tn?w([Ur,B,E(tn)]):Ur}function lr(nt,qr){let Ur=br(nt,qr),tn=Qt(nt,qr);return tn?[w([Ur,B,tn]),H]:Ur}function br(nt,qr){return qr("path")}function Qt(nt,qr){let Ur=nt.getValue(),tn=[];if(Ur.params.length>0){let vi=nt.map(qr,"params");tn.push(...vi)}if(Ur.hash&&Ur.hash.pairs.length>0){let vi=qr("hash");tn.push(vi)}return tn.length===0?"":F(B,tn)}function Yr(nt){return["as |",nt.blockParams.join(" "),"|"]}A.exports={print:G,massageAstNode:fe}}}),xe=ft({"src/language-handlebars/parsers.js"(){_()}}),Se=ft({"node_modules/linguist-languages/data/Handlebars.json"(d,A){A.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),k=ft({"src/language-handlebars/index.js"(d,A){_();var m=Ca(),b=ve(),E=xe(),g=[m(Se(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],D={glimmer:b};A.exports={languages:g,printers:D,parsers:E}}}),x=ft({"src/language-graphql/pragma.js"(d,A){_();function m(E){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(E)}function b(E){return`# @format
|
|
100
|
-
|
|
101
|
-
`+E}A.exports={hasPragma:m,insertPragma:b}}}),re=ft({"src/language-graphql/loc.js"(d,A){_();function m(E){return typeof E.start=="number"?E.start:E.loc&&E.loc.start}function b(E){return typeof E.end=="number"?E.end:E.loc&&E.loc.end}A.exports={locStart:m,locEnd:b}}}),Q=ft({"src/language-graphql/printer-graphql.js"(d,A){_();var{builders:{join:m,hardline:b,line:E,softline:g,group:D,indent:w,ifBreak:F}}=bi(),{isNextLineEmpty:B,isNonEmptyArray:H}=Ki(),{insertPragma:R}=x(),{locStart:V,locEnd:I}=re();function L(de,De,W){let M=de.getValue();if(!M)return"";if(typeof M=="string")return M;switch(M.kind){case"Document":{let U=[];return de.each((X,P,G)=>{U.push(W()),P!==G.length-1&&(U.push(b),B(De.originalText,X.getValue(),I)&&U.push(b))},"definitions"),[...U,b]}case"OperationDefinition":{let U=De.originalText[V(M)]!=="{",X=Boolean(M.name);return[U?M.operation:"",U&&X?[" ",W("name")]:"",U&&!X&&H(M.variableDefinitions)?" ":"",H(M.variableDefinitions)?D(["(",w([g,m([F("",", "),g],de.map(W,"variableDefinitions"))]),g,")"]):"",z(de,W,M),M.selectionSet?!U&&!X?"":" ":"",W("selectionSet")]}case"FragmentDefinition":return["fragment ",W("name"),H(M.variableDefinitions)?D(["(",w([g,m([F("",", "),g],de.map(W,"variableDefinitions"))]),g,")"]):""," on ",W("typeCondition"),z(de,W,M)," ",W("selectionSet")];case"SelectionSet":return["{",w([b,m(b,ce(de,De,W,"selections"))]),b,"}"];case"Field":return D([M.alias?[W("alias"),": "]:"",W("name"),M.arguments.length>0?D(["(",w([g,m([F("",", "),g],ce(de,De,W,"arguments"))]),g,")"]):"",z(de,W,M),M.selectionSet?" ":"",W("selectionSet")]);case"Name":return M.value;case"StringValue":{if(M.block){let U=M.value.replace(/"""/g,"\\$&").split(`
|
|
102
|
-
`);return U.length===1&&(U[0]=U[0].trim()),U.every(X=>X==="")&&(U.length=0),m(b,['"""',...U,'"""'])}return['"',M.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return M.value;case"BooleanValue":return M.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",W("name")];case"ListValue":return D(["[",w([g,m([F("",", "),g],de.map(W,"values"))]),g,"]"]);case"ObjectValue":return D(["{",De.bracketSpacing&&M.fields.length>0?" ":"",w([g,m([F("",", "),g],de.map(W,"fields"))]),g,F("",De.bracketSpacing&&M.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[W("name"),": ",W("value")];case"Directive":return["@",W("name"),M.arguments.length>0?D(["(",w([g,m([F("",", "),g],ce(de,De,W,"arguments"))]),g,")"]):""];case"NamedType":return W("name");case"VariableDefinition":return[W("variable"),": ",W("type"),M.defaultValue?[" = ",W("defaultValue")]:"",z(de,W,M)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[W("description"),M.description?b:"",M.kind==="ObjectTypeExtension"?"extend ":"","type ",W("name"),M.interfaces.length>0?[" implements ",...ee(de,De,W)]:"",z(de,W,M),M.fields.length>0?[" {",w([b,m(b,ce(de,De,W,"fields"))]),b,"}"]:""];case"FieldDefinition":return[W("description"),M.description?b:"",W("name"),M.arguments.length>0?D(["(",w([g,m([F("",", "),g],ce(de,De,W,"arguments"))]),g,")"]):"",": ",W("type"),z(de,W,M)];case"DirectiveDefinition":return[W("description"),M.description?b:"","directive ","@",W("name"),M.arguments.length>0?D(["(",w([g,m([F("",", "),g],ce(de,De,W,"arguments"))]),g,")"]):"",M.repeatable?" repeatable":""," on ",m(" | ",de.map(W,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[W("description"),M.description?b:"",M.kind==="EnumTypeExtension"?"extend ":"","enum ",W("name"),z(de,W,M),M.values.length>0?[" {",w([b,m(b,ce(de,De,W,"values"))]),b,"}"]:""];case"EnumValueDefinition":return[W("description"),M.description?b:"",W("name"),z(de,W,M)];case"InputValueDefinition":return[W("description"),M.description?M.description.block?b:E:"",W("name"),": ",W("type"),M.defaultValue?[" = ",W("defaultValue")]:"",z(de,W,M)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[W("description"),M.description?b:"",M.kind==="InputObjectTypeExtension"?"extend ":"","input ",W("name"),z(de,W,M),M.fields.length>0?[" {",w([b,m(b,ce(de,De,W,"fields"))]),b,"}"]:""];case"SchemaExtension":return["extend schema",z(de,W,M),...M.operationTypes.length>0?[" {",w([b,m(b,ce(de,De,W,"operationTypes"))]),b,"}"]:[]];case"SchemaDefinition":return[W("description"),M.description?b:"","schema",z(de,W,M)," {",M.operationTypes.length>0?w([b,m(b,ce(de,De,W,"operationTypes"))]):"",b,"}"];case"OperationTypeDefinition":return[W("operation"),": ",W("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[W("description"),M.description?b:"",M.kind==="InterfaceTypeExtension"?"extend ":"","interface ",W("name"),M.interfaces.length>0?[" implements ",...ee(de,De,W)]:"",z(de,W,M),M.fields.length>0?[" {",w([b,m(b,ce(de,De,W,"fields"))]),b,"}"]:""];case"FragmentSpread":return["...",W("name"),z(de,W,M)];case"InlineFragment":return["...",M.typeCondition?[" on ",W("typeCondition")]:"",z(de,W,M)," ",W("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return D([W("description"),M.description?b:"",D([M.kind==="UnionTypeExtension"?"extend ":"","union ",W("name"),z(de,W,M),M.types.length>0?[" =",F(""," "),w([F([E," "]),m([E,"| "],de.map(W,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[W("description"),M.description?b:"",M.kind==="ScalarTypeExtension"?"extend ":"","scalar ",W("name"),z(de,W,M)];case"NonNullType":return[W("type"),"!"];case"ListType":return["[",W("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(M.kind))}}function z(de,De,W){if(W.directives.length===0)return"";let M=m(E,de.map(De,"directives"));return W.kind==="FragmentDefinition"||W.kind==="OperationDefinition"?D([E,M]):[" ",D(w([g,M]))]}function ce(de,De,W,M){return de.map((U,X,P)=>{let G=W();return X<P.length-1&&B(De.originalText,U.getValue(),I)?[G,b]:G},M)}function fe(de){return de.kind&&de.kind!=="Comment"}function J(de){let De=de.getValue();if(De.kind==="Comment")return"#"+De.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(De))}function ee(de,De,W){let M=de.getNode(),U=[],{interfaces:X}=M,P=de.map(G=>W(G),"interfaces");for(let G=0;G<X.length;G++){let q=X[G];U.push(P[G]);let se=X[G+1];if(se){let te=De.originalText.slice(q.loc.end,se.loc.start),ne=te.includes("#"),Ce=te.replace(/#.*/g,"").trim();U.push(Ce===","?",":" &",ne?E:" ")}}return U}function ue(de,De){de.kind==="StringValue"&&de.block&&!de.value.includes(`
|
|
103
|
-
`)&&(De.value=De.value.trim())}ue.ignoredProperties=new Set(["loc","comments"]);function ge(de){var De;let W=de.getValue();return W==null||(De=W.comments)===null||De===void 0?void 0:De.some(M=>M.value.trim()==="prettier-ignore")}A.exports={print:L,massageAstNode:ue,hasPrettierIgnore:ge,insertPragma:R,printComment:J,canAttachComment:fe}}}),Ie=ft({"src/language-graphql/options.js"(d,A){_();var m=Xo();A.exports={bracketSpacing:m.bracketSpacing}}}),Fe=ft({"src/language-graphql/parsers.js"(){_()}}),Xe=ft({"node_modules/linguist-languages/data/GraphQL.json"(d,A){A.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),Ge=ft({"src/language-graphql/index.js"(d,A){_();var m=Ca(),b=Q(),E=Ie(),g=Fe(),D=[m(Xe(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],w={graphql:b};A.exports={languages:D,options:E,printers:w,parsers:g}}}),Ne=ft({"src/language-markdown/loc.js"(d,A){_();function m(E){return E.position.start.offset}function b(E){return E.position.end.offset}A.exports={locStart:m,locEnd:b}}}),vt=ft({"src/language-markdown/constants.evaluate.js"(d,A){A.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]"}}}),Pt=ft({"src/language-markdown/utils.js"(d,A){_();var{getLast:m}=Ki(),{locStart:b,locEnd:E}=Ne(),{cjkPattern:g,kPattern:D,punctuationPattern:w}=vt(),F=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],B=[...F,"tableCell","paragraph","heading"],H=new RegExp(D),R=new RegExp(w);function V(J,ee){let ue="non-cjk",ge="cj-letter",de="k-letter",De="cjk-punctuation",W=[],M=(ee.proseWrap==="preserve"?J:J.replace(new RegExp("(".concat(g,`)
|
|
104
|
-
(`).concat(g,")"),"g"),"$1$2")).split(/([\t\n ]+)/);for(let[X,P]of M.entries()){if(X%2===1){W.push({type:"whitespace",value:/\n/.test(P)?`
|
|
105
|
-
`:" "});continue}if((X===0||X===M.length-1)&&P==="")continue;let G=P.split(new RegExp("(".concat(g,")")));for(let[q,se]of G.entries())if(!((q===0||q===G.length-1)&&se==="")){if(q%2===0){se!==""&&U({type:"word",value:se,kind:ue,hasLeadingPunctuation:R.test(se[0]),hasTrailingPunctuation:R.test(m(se))});continue}U(R.test(se)?{type:"word",value:se,kind:De,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:se,kind:H.test(se)?de:ge,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return W;function U(X){let P=m(W);P&&P.type==="word"&&(P.kind===ue&&X.kind===ge&&!P.hasTrailingPunctuation||P.kind===ge&&X.kind===ue&&!X.hasLeadingPunctuation?W.push({type:"whitespace",value:" "}):!G(ue,De)&&![P.value,X.value].some(q=>/\u3000/.test(q))&&W.push({type:"whitespace",value:""})),W.push(X);function G(q,se){return P.kind===q&&X.kind===se||P.kind===se&&X.kind===q}}}function I(J,ee){let[,ue,ge,de]=ee.slice(J.position.start.offset,J.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:ue,marker:ge,leadingSpaces:de}}function L(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 de=Number(I(J.children[2],ee.originalText).numberText);return ge===1&&de===1}return ge===1}function z(J,ee){let{value:ue}=J;return J.position.end.offset===ee.length&&ue.endsWith(`
|
|
106
|
-
`)&&ee.endsWith(`
|
|
107
|
-
`)?ue.slice(0,-1):ue}function ce(J,ee){return function ue(ge,de,De){let W=Object.assign({},ee(ge,de,De));return W.children&&(W.children=W.children.map((M,U)=>ue(M,U,[W,...De]))),W}(J,null,[])}function fe(J){if((J==null?void 0:J.type)!=="link"||J.children.length!==1)return!1;let[ee]=J.children;return b(J)===b(ee)&&E(J)===E(ee)}A.exports={mapAst:ce,splitText:V,punctuationPattern:w,getFencedCodeBlockValue:z,getOrderedListItemInfo:I,hasGitDiffFriendlyOrderedList:L,INLINE_NODE_TYPES:F,INLINE_NODE_WRAPPER_TYPES:B,isAutolink:fe}}}),Gt=ft({"src/language-markdown/embed.js"(d,A){_();var{inferParserByLanguage:m,getMaxContinuousCount:b}=Ki(),{builders:{hardline:E,markAsRoot:g},utils:{replaceEndOfLine:D}}=bi(),w=Ta(),{getFencedCodeBlockValue:F}=Pt();function B(H,R,V,I){let L=H.getValue();if(L.type==="code"&&L.lang!==null){let z=m(L.lang,I);if(z){let ce=I.__inJsTemplate?"~":"`",fe=ce.repeat(Math.max(3,b(L.value,ce)+1)),J={parser:z};L.lang==="tsx"&&(J.filepath="dummy.tsx");let ee=V(F(L,I.originalText),J,{stripTrailingHardline:!0});return g([fe,L.lang,L.meta?" "+L.meta:"",E,D(ee),E,fe])}}switch(L.type){case"front-matter":return w(L,V);case"importExport":return[V(L.value,{parser:"babel"},{stripTrailingHardline:!0}),E];case"jsx":return V("<$>".concat(L.value,"</$>"),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}A.exports=B}}),dn=ft({"src/language-markdown/pragma.js"(d,A){_();var m=Ka(),b=["format","prettier"];function E(g){let D="@(".concat(b.join("|"),")"),w=new RegExp(["<!--\\s*".concat(D,"\\s*-->"),"{\\s*\\/\\*\\s*".concat(D,"\\s*\\*\\/\\s*}"),`<!--.*\r?
|
|
108
|
-
[\\s\\S]*(^|
|
|
109
|
-
)[^\\S
|
|
110
|
-
]*`.concat(D,`[^\\S
|
|
111
|
-
]*($|
|
|
112
|
-
)[\\s\\S]*
|
|
113
|
-
.*-->`)].join("|"),"m"),F=g.match(w);return(F==null?void 0:F.index)===0}A.exports={startWithPragma:E,hasPragma:g=>E(m(g).content.trimStart()),insertPragma:g=>{let D=m(g),w="<!-- @".concat(b[0]," -->");return D.frontMatter?"".concat(D.frontMatter.raw,`
|
|
114
|
-
|
|
115
|
-
`).concat(w,`
|
|
116
|
-
|
|
117
|
-
`).concat(D.content):"".concat(w,`
|
|
118
|
-
|
|
119
|
-
`).concat(D.content)}}}}),$n=ft({"src/language-markdown/print-preprocess.js"(d,A){_();var m=Ji(),{getOrderedListItemInfo:b,mapAst:E,splitText:g}=Pt(),D=/^.$/su;function w(fe,J){return fe=H(fe,J),fe=I(fe),fe=B(fe),fe=z(fe,J),fe=ce(fe,J),fe=L(fe,J),fe=F(fe),fe=R(fe),fe}function F(fe){return E(fe,J=>J.type!=="import"&&J.type!=="export"?J:Object.assign(Object.assign({},J),{},{type:"importExport"}))}function B(fe){return E(fe,J=>J.type!=="inlineCode"?J:Object.assign(Object.assign({},J),{},{value:J.value.replace(/\s+/g," ")}))}function H(fe,J){return E(fe,ee=>ee.type!=="text"||ee.value==="*"||ee.value==="_"||!D.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 R(fe){return V(fe,(J,ee)=>J.type==="importExport"&&ee.type==="importExport",(J,ee)=>({type:"importExport",value:J.value+`
|
|
120
|
-
|
|
121
|
-
`+ee.value,position:{start:J.position.start,end:ee.position.end}}))}function V(fe,J,ee){return E(fe,ue=>{if(!ue.children)return ue;let ge=ue.children.reduce((de,De)=>{let W=m(de);return W&&J(W,De)?de.splice(-1,1,ee(W,De)):de.push(De),de},[]);return Object.assign(Object.assign({},ue),{},{children:ge})})}function I(fe){return V(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 L(fe,J){return E(fe,(ee,ue,ge)=>{let[de]=ge;if(ee.type!=="text")return ee;let{value:De}=ee;return de.type==="paragraph"&&(ue===0&&(De=De.trimStart()),ue===de.children.length-1&&(De=De.trimEnd())),{type:"sentence",position:ee.position,children:g(De,J)}})}function z(fe,J){return E(fe,(ee,ue,ge)=>{if(ee.type==="code"){let de=/^\n?(?: {4,}|\t)/.test(J.originalText.slice(ee.position.start.offset,ee.position.end.offset));if(ee.isIndented=de,de)for(let De=0;De<ge.length;De++){let W=ge[De];if(W.hasIndentedCodeblock)break;W.type==="list"&&(W.hasIndentedCodeblock=!0)}}return ee})}function ce(fe,J){return E(fe,(ge,de,De)=>{if(ge.type==="list"&&ge.children.length>0){for(let W=0;W<De.length;W++){let M=De[W];if(M.type==="list"&&!M.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[de,De]=ge.children;if(b(de,J.originalText).leadingSpaces.length>1)return!0;let W=ee(de);if(W===-1)return!1;if(ge.children.length===1)return W%J.tabWidth===0;let M=ee(De);return W!==M?!1:W%J.tabWidth===0?!0:b(De,J.originalText).leadingSpaces.length>1}}A.exports=w}}),qn=ft({"src/language-markdown/clean.js"(d,A){_();var{isFrontMatterNode:m}=Ki(),{startWithPragma:b}=dn(),E=new Set(["position","raw"]);function g(D,w,F){if((D.type==="front-matter"||D.type==="code"||D.type==="yaml"||D.type==="import"||D.type==="export"||D.type==="jsx")&&delete w.value,D.type==="list"&&delete w.isAligned,(D.type==="list"||D.type==="listItem")&&(delete w.spread,delete w.loose),D.type==="text"||(D.type==="inlineCode"&&(w.value=D.value.replace(/[\t\n ]+/g," ")),D.type==="wikiLink"&&(w.value=D.value.trim().replace(/[\t\n]+/g," ")),(D.type==="definition"||D.type==="linkReference")&&(w.label=D.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),(D.type==="definition"||D.type==="link"||D.type==="image")&&D.title&&(w.title=D.title.replace(/\\(["')])/g,"$1")),F&&F.type==="root"&&F.children.length>0&&(F.children[0]===D||m(F.children[0])&&F.children[1]===D)&&D.type==="html"&&b(D.value)))return null}g.ignoredProperties=E,A.exports=g}}),yi=ft({"src/language-markdown/printer-markdown.js"(d,A){_();var{getLast:m,getMinNotPresentContinuousCount:b,getMaxContinuousCount:E,getStringWidth:g,isNonEmptyArray:D}=Ki(),{builders:{breakParent:w,join:F,line:B,literalline:H,markAsRoot:R,hardline:V,softline:I,ifBreak:L,fill:z,align:ce,indent:fe,group:J,hardlineWithoutBreakParent:ee},utils:{normalizeDoc:ue,replaceTextEndOfLine:ge},printer:{printDocToString:de}}=bi(),De=Gt(),{insertPragma:W}=dn(),{locStart:M,locEnd:U}=Ne(),X=$n(),P=qn(),{getFencedCodeBlockValue:G,hasGitDiffFriendlyOrderedList:q,splitText:se,punctuationPattern:te,INLINE_NODE_TYPES:ne,INLINE_NODE_WRAPPER_TYPES:Ce,isAutolink:Re}=Pt(),Pe=new Set(["importExport"]),Ve=["heading","tableCell","link","wikiLink"],He=new Set(["listItem","definition","footnoteDefinition"]);function Le(fr,lr,br){let Qt=fr.getValue();if(pr(fr))return se(lr.originalText.slice(Qt.position.start.offset,Qt.position.end.offset),lr).map(Yr=>Yr.type==="word"?Yr.value:Yr.value===""?"":ur(fr,Yr.value,lr));switch(Qt.type){case"front-matter":return lr.originalText.slice(Qt.position.start.offset,Qt.position.end.offset);case"root":return Qt.children.length===0?"":[ue(tt(fr,lr,br)),Pe.has(gr(Qt).type)?"":V];case"paragraph":return rr(fr,lr,br,{postprocessor:z});case"sentence":return rr(fr,lr,br);case"word":{let Yr=Qt.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(te,")(_+)"),"(_+)(".concat(te,"|$)")].join("|"),"g"),(Ur,tn,vi,e,r)=>(vi?"".concat(tn).concat(vi):"".concat(e).concat(r)).replace(/_/g,"\\_")),nt=(Ur,tn,vi)=>Ur.type==="sentence"&&vi===0,qr=(Ur,tn,vi)=>Re(Ur.children[vi-1]);return Yr!==Qt.value&&(fr.match(void 0,nt,qr)||fr.match(void 0,nt,(Ur,tn,vi)=>Ur.type==="emphasis"&&vi===0,qr))&&(Yr=Yr.replace(/^(\\?[*_])+/,Ur=>Ur.replace(/\\/g,""))),Yr}case"whitespace":{let Yr=fr.getParentNode(),nt=Yr.children.indexOf(Qt),qr=Yr.children[nt+1],Ur=qr&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(qr.value)?"never":lr.proseWrap;return ur(fr,Qt.value,{proseWrap:Ur})}case"emphasis":{let Yr;if(Re(Qt.children[0]))Yr=lr.originalText[Qt.position.start.offset];else{let nt=fr.getParentNode(),qr=nt.children.indexOf(Qt),Ur=nt.children[qr-1],tn=nt.children[qr+1];Yr=Ur&&Ur.type==="sentence"&&Ur.children.length>0&&m(Ur.children).type==="word"&&!m(Ur.children).hasTrailingPunctuation||tn&&tn.type==="sentence"&&tn.children.length>0&&tn.children[0].type==="word"&&!tn.children[0].hasLeadingPunctuation||wt(fr,"emphasis")?"*":"_"}return[Yr,rr(fr,lr,br),Yr]}case"strong":return["**",rr(fr,lr,br),"**"];case"delete":return["~~",rr(fr,lr,br),"~~"];case"inlineCode":{let Yr=b(Qt.value,"`"),nt="`".repeat(Yr||1),qr=Yr&&!/^\s/.test(Qt.value)?" ":"";return[nt,qr,Qt.value,qr,nt]}case"wikiLink":{let Yr="";return lr.proseWrap==="preserve"?Yr=Qt.value:Yr=Qt.value.replace(/[\t\n]+/g," "),["[[",Yr,"]]"]}case"link":switch(lr.originalText[Qt.position.start.offset]){case"<":{let Yr="mailto:",nt=Qt.url.startsWith(Yr)&&lr.originalText.slice(Qt.position.start.offset+1,Qt.position.start.offset+1+Yr.length)!==Yr?Qt.url.slice(Yr.length):Qt.url;return["<",nt,">"]}case"[":return["[",rr(fr,lr,br),"](",Er(Qt.url,")"),cn(Qt.title,lr),")"];default:return lr.originalText.slice(Qt.position.start.offset,Qt.position.end.offset)}case"image":return[""),cn(Qt.title,lr),")"];case"blockquote":return["> ",ce("> ",rr(fr,lr,br))];case"heading":return["#".repeat(Qt.depth)+" ",rr(fr,lr,br)];case"code":{if(Qt.isIndented){let qr=" ".repeat(4);return ce(qr,[qr,...ge(Qt.value,V)])}let Yr=lr.__inJsTemplate?"~":"`",nt=Yr.repeat(Math.max(3,E(Qt.value,Yr)+1));return[nt,Qt.lang||"",Qt.meta?" "+Qt.meta:"",V,...ge(G(Qt,lr.originalText),V),V,nt]}case"html":{let Yr=fr.getParentNode(),nt=Yr.type==="root"&&m(Yr.children)===Qt?Qt.value.trimEnd():Qt.value,qr=/^<!--.*-->$/s.test(nt);return ge(nt,qr?V:R(H))}case"list":{let Yr=qe(Qt,fr.getParentNode()),nt=q(Qt,lr);return rr(fr,lr,br,{processor:(qr,Ur)=>{let tn=e(),vi=qr.getValue();if(vi.children.length===2&&vi.children[1].type==="html"&&vi.children[0].position.start.column!==vi.children[1].position.start.column)return[tn,Dt(qr,lr,br,tn)];return[tn,ce(" ".repeat(tn.length),Dt(qr,lr,br,tn))];function e(){let r=Qt.ordered?(Ur===0?Qt.start:nt?1:Qt.start+Ur)+(Yr%2===0?". ":") "):Yr%2===0?"- ":"* ";return Qt.isAligned||Qt.hasIndentedCodeblock?Ke(r,lr):r}}})}case"thematicBreak":{let Yr=Bt(fr,"list");return Yr===-1?"---":qe(fr.getParentNode(Yr),fr.getParentNode(Yr+1))%2===0?"***":"---"}case"linkReference":return["[",rr(fr,lr,br),"]",Qt.referenceType==="full"?["[",Qt.identifier,"]"]:Qt.referenceType==="collapsed"?"[]":""];case"imageReference":switch(Qt.referenceType){case"full":return["![",Qt.alt||"","][",Qt.identifier,"]"];default:return["![",Qt.alt,"]",Qt.referenceType==="collapsed"?"[]":""]}case"definition":{let Yr=lr.proseWrap==="always"?B:" ";return J(["[",Qt.identifier,"]:",fe([Yr,Er(Qt.url),Qt.title===null?"":[Yr,cn(Qt.title,lr,!1)]])])}case"footnote":return["[^",rr(fr,lr,br),"]"];case"footnoteReference":return["[^",Qt.identifier,"]"];case"footnoteDefinition":{let Yr=fr.getParentNode().children[fr.getName()+1],nt=Qt.children.length===1&&Qt.children[0].type==="paragraph"&&(lr.proseWrap==="never"||lr.proseWrap==="preserve"&&Qt.children[0].position.start.line===Qt.children[0].position.end.line);return["[^",Qt.identifier,"]: ",nt?rr(fr,lr,br):J([ce(" ".repeat(4),rr(fr,lr,br,{processor:(qr,Ur)=>Ur===0?J([I,br()]):br()})),Yr&&Yr.type==="footnoteDefinition"?I:""])]}case"table":return Ue(fr,lr,br);case"tableCell":return rr(fr,lr,br);case"break":return/\s/.test(lr.originalText[Qt.position.start.offset])?[" ",R(H)]:["\\",V];case"liquidNode":return ge(Qt.value,V);case"importExport":return[Qt.value,V];case"esComment":return["{/* ",Qt.value," */}"];case"jsx":return Qt.value;case"math":return["$$",V,Qt.value?[...ge(Qt.value,V),V]:"","$$"];case"inlineMath":return lr.originalText.slice(M(Qt),U(Qt));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(Qt.type)))}}function Dt(fr,lr,br,Qt){let Yr=fr.getValue(),nt=Yr.checked===null?"":Yr.checked?"[x] ":"[ ] ";return[nt,rr(fr,lr,br,{processor:(qr,Ur)=>{if(Ur===0&&qr.getValue().type!=="list")return ce(" ".repeat(nt.length),br());let tn=" ".repeat(Fn(lr.tabWidth-Qt.length,0,3));return[tn,ce(tn,br())]}})]}function Ke(fr,lr){let br=Qt();return fr+" ".repeat(br>=4?0:br);function Qt(){let Yr=fr.length%lr.tabWidth;return Yr===0?0:lr.tabWidth-Yr}}function qe(fr,lr){return pt(fr,lr,br=>br.ordered===fr.ordered)}function pt(fr,lr,br){let Qt=-1;for(let Yr of lr.children)if(Yr.type===fr.type&&br(Yr)?Qt++:Qt=-1,Yr===fr)return Qt}function Bt(fr,lr){let br=Array.isArray(lr)?lr:[lr],Qt=-1,Yr;for(;Yr=fr.getParentNode(++Qt);)if(br.includes(Yr.type))return Qt;return-1}function wt(fr,lr){let br=Bt(fr,lr);return br===-1?null:fr.getParentNode(br)}function ur(fr,lr,br){if(br.proseWrap==="preserve"&&lr===`
|
|
122
|
-
`)return V;let Qt=br.proseWrap==="always"&&!wt(fr,Ve);return lr!==""?Qt?B:" ":Qt?I:""}function Ue(fr,lr,br){let Qt=fr.getValue(),Yr=[],nt=fr.map(r=>r.map((n,a)=>{let u=de(br(),lr).formatted,h=g(u);return Yr[a]=Math.max(Yr[a]||3,h),{text:u,width:h}},"children"),"children"),qr=tn(!1);if(lr.proseWrap!=="never")return[w,qr];let Ur=tn(!0);return[w,J(L(Ur,qr))];function tn(r){let n=[e(nt[0],r),vi(r)];return nt.length>1&&n.push(F(ee,nt.slice(1).map(a=>e(a,r)))),F(ee,n)}function vi(r){let n=Yr.map((a,u)=>{let h=Qt.align[u],C=h==="center"||h==="left"?":":"-",S=h==="center"||h==="right"?":":"-",O=r?"-":"-".repeat(a-2);return"".concat(C).concat(O).concat(S)});return"| ".concat(n.join(" | ")," |")}function e(r,n){let a=r.map((u,h)=>{let{text:C,width:S}=u;if(n)return C;let O=Yr[h]-S,j=Qt.align[h],$e=0;j==="right"?$e=O:j==="center"&&($e=Math.floor(O/2));let Be=O-$e;return"".concat(" ".repeat($e)).concat(C).concat(" ".repeat(Be))});return"| ".concat(a.join(" | ")," |")}}function tt(fr,lr,br){let Qt=[],Yr=null,{children:nt}=fr.getValue();for(let[qr,Ur]of nt.entries())switch(tr(Ur)){case"start":Yr===null&&(Yr={index:qr,offset:Ur.position.end.offset});break;case"end":Yr!==null&&(Qt.push({start:Yr,end:{index:qr,offset:Ur.position.start.offset}}),Yr=null);break}return rr(fr,lr,br,{processor:(qr,Ur)=>{if(Qt.length>0){let tn=Qt[0];if(Ur===tn.start.index)return[nt[tn.start.index].value,lr.originalText.slice(tn.start.offset,tn.end.offset),nt[tn.end.index].value];if(tn.start.index<Ur&&Ur<tn.end.index)return!1;if(Ur===tn.end.index)return Qt.shift(),!1}return br()}})}function rr(fr,lr,br){let Qt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:Yr}=Qt,nt=Qt.processor||(()=>br()),qr=fr.getValue(),Ur=[],tn;return fr.each((vi,e)=>{let r=vi.getValue(),n=nt(vi,e);if(n!==!1){let a={parts:Ur,prevNode:tn,parentNode:qr,options:lr};Ze(r,a)&&(Ur.push(V),tn&&Pe.has(tn.type)||(ot(r,a)||ht(r,a))&&Ur.push(V),ht(r,a)&&Ur.push(V)),Ur.push(n),tn=r}},"children"),Yr?Yr(Ur):Ur}function gr(fr){let lr=fr;for(;D(lr.children);)lr=m(lr.children);return lr}function tr(fr){let lr;if(fr.type==="html")lr=fr.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let br;fr.type==="esComment"?br=fr:fr.type==="paragraph"&&fr.children.length===1&&fr.children[0].type==="esComment"&&(br=fr.children[0]),br&&(lr=br.value.match(/^prettier-ignore(?:-(start|end))?$/))}return lr?lr[1]||"next":!1}function Ze(fr,lr){let br=lr.parts.length===0,Qt=ne.includes(fr.type),Yr=fr.type==="html"&&Ce.includes(lr.parentNode.type);return!br&&!Qt&&!Yr}function ot(fr,lr){var br,Qt,Yr;let nt=(lr.prevNode&&lr.prevNode.type)===fr.type&&He.has(fr.type),qr=lr.parentNode.type==="listItem"&&!lr.parentNode.loose,Ur=((br=lr.prevNode)===null||br===void 0?void 0:br.type)==="listItem"&&lr.prevNode.loose,tn=tr(lr.prevNode)==="next",vi=fr.type==="html"&&((Qt=lr.prevNode)===null||Qt===void 0?void 0:Qt.type)==="html"&&lr.prevNode.position.end.line+1===fr.position.start.line,e=fr.type==="html"&&lr.parentNode.type==="listItem"&&((Yr=lr.prevNode)===null||Yr===void 0?void 0:Yr.type)==="paragraph"&&lr.prevNode.position.end.line+1===fr.position.start.line;return Ur||!(nt||qr||tn||vi||e)}function ht(fr,lr){let br=lr.prevNode&&lr.prevNode.type==="list",Qt=fr.type==="code"&&fr.isIndented;return br&&Qt}function pr(fr){let lr=wt(fr,["linkReference","imageReference"]);return lr&&(lr.type!=="linkReference"||lr.referenceType!=="full")}function Er(fr){let lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],br=[" ",...Array.isArray(lr)?lr:[lr]];return new RegExp(br.map(Qt=>"\\".concat(Qt)).join("|")).test(fr)?"<".concat(fr,">"):fr}function cn(fr,lr){let br=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!fr)return"";if(br)return" "+cn(fr,lr,!1);if(fr=fr.replace(/\\(["')])/g,"$1"),fr.includes('"')&&fr.includes("'")&&!fr.includes(")"))return"(".concat(fr,")");let Qt=fr.split("'").length-1,Yr=fr.split('"').length-1,nt=Qt>Yr?'"':Yr>Qt||lr.singleQuote?"'":'"';return fr=fr.replace(/\\/,"\\\\"),fr=fr.replace(new RegExp("(".concat(nt,")"),"g"),"\\$1"),"".concat(nt).concat(fr).concat(nt)}function Fn(fr,lr,br){return fr<lr?lr:fr>br?br:fr}function Ei(fr){let lr=Number(fr.getName());if(lr===0)return!1;let br=fr.getParentNode().children[lr-1];return tr(br)==="next"}A.exports={preprocess:X,print:Le,embed:De,massageAstNode:P,hasPrettierIgnore:Ei,insertPragma:W}}}),en=ft({"src/language-markdown/options.js"(d,A){_();var m=Xo();A.exports={proseWrap:m.proseWrap,singleQuote:m.singleQuote}}}),Ii=ft({"src/language-markdown/parsers.js"(){_()}}),mi=ft({"node_modules/linguist-languages/data/Markdown.json"(d,A){A.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}}}),Di=ft({"src/language-markdown/index.js"(d,A){_();var m=Ca(),b=yi(),E=en(),g=Ii(),D=[m(mi(),F=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...F.filenames,"README"],extensions:F.extensions.filter(B=>B!==".mdx")})),m(mi(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],w={mdast:b};A.exports={languages:D,options:E,printers:w,parsers:g}}}),xn=ft({"src/language-html/clean.js"(d,A){_();var{isFrontMatterNode:m}=Ki(),b=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function E(g,D){if(g.type==="text"||g.type==="comment"||m(g)||g.type==="yaml"||g.type==="toml")return null;g.type==="attribute"&&delete D.value,g.type==="docType"&&delete D.value}E.ignoredProperties=b,A.exports=E}}),Wr=ft({"src/language-html/constants.evaluate.js"(d,A){A.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"}}}),Cn=ft({"src/language-html/utils/is-unknown-namespace.js"(d,A){_();function m(b){return b.type==="element"&&!b.hasExplicitNamespace&&!["html","svg"].includes(b.namespace)}A.exports=m}}),Or=ft({"src/language-html/utils/index.js"(d,A){_();var{inferParserByLanguage:m,isFrontMatterNode:b}=Ki(),{builders:{line:E,hardline:g,join:D},utils:{getDocParts:w,replaceTextEndOfLine:F}}=bi(),{CSS_DISPLAY_TAGS:B,CSS_DISPLAY_DEFAULT:H,CSS_WHITE_SPACE_TAGS:R,CSS_WHITE_SPACE_DEFAULT:V}=Wr(),I=Cn(),L=new Set([" ",`
|
|
123
|
-
`,"\f","\r"," "]),z=n=>n.replace(/^[\t\n\f\r ]+/,""),ce=n=>n.replace(/[\t\n\f\r ]+$/,""),fe=n=>z(ce(n)),J=n=>n.replace(/^[\t\f\r ]*\n/g,""),ee=n=>J(ce(n)),ue=n=>n.split(/[\t\n\f\r ]+/),ge=n=>n.match(/^[\t\n\f\r ]*/)[0],de=n=>{let[,a,u,h]=n.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:a,trailingWhitespace:h,text:u}},De=n=>/[\t\n\f\r ]/.test(n);function W(n,a){return!!(n.type==="ieConditionalComment"&&n.lastChild&&!n.lastChild.isSelfClosing&&!n.lastChild.endSourceSpan||n.type==="ieConditionalComment"&&!n.complete||pr(n)&&n.children.some(u=>u.type!=="text"&&u.type!=="interpolation")||Ur(n,a)&&!P(n)&&n.type!=="interpolation")}function M(n){return n.type==="attribute"||!n.parent||!n.prev?!1:U(n.prev)}function U(n){return n.type==="comment"&&n.value.trim()==="prettier-ignore"}function X(n){return n.type==="text"||n.type==="comment"}function P(n){return n.type==="element"&&(n.fullName==="script"||n.fullName==="style"||n.fullName==="svg:style"||I(n)&&(n.name==="script"||n.name==="style"))}function G(n){return n.children&&!P(n)}function q(n){return P(n)||n.type==="interpolation"||se(n)}function se(n){return Ei(n).startsWith("pre")}function te(n,a){let u=h();if(u&&!n.prev&&n.parent&&n.parent.tagDefinition&&n.parent.tagDefinition.ignoreFirstLf)return n.type==="interpolation";return u;function h(){return b(n)?!1:(n.type==="text"||n.type==="interpolation")&&n.prev&&(n.prev.type==="text"||n.prev.type==="interpolation")?!0:!n.parent||n.parent.cssDisplay==="none"?!1:pr(n.parent)?!0:!(!n.prev&&(n.parent.type==="root"||pr(n)&&n.parent||P(n.parent)||nt(n.parent,a)||!gr(n.parent.cssDisplay))||n.prev&&!ot(n.prev.cssDisplay))}}function ne(n,a){return b(n)?!1:(n.type==="text"||n.type==="interpolation")&&n.next&&(n.next.type==="text"||n.next.type==="interpolation")?!0:!n.parent||n.parent.cssDisplay==="none"?!1:pr(n.parent)?!0:!(!n.next&&(n.parent.type==="root"||pr(n)&&n.parent||P(n.parent)||nt(n.parent,a)||!tr(n.parent.cssDisplay))||n.next&&!Ze(n.next.cssDisplay))}function Ce(n){return ht(n.cssDisplay)&&!P(n)}function Re(n){return b(n)||n.next&&n.sourceSpan.end&&n.sourceSpan.end.line+1<n.next.sourceSpan.start.line}function Pe(n){return Ve(n)||n.type==="element"&&n.children.length>0&&(["body","script","style"].includes(n.name)||n.children.some(a=>wt(a)))||n.firstChild&&n.firstChild===n.lastChild&&n.firstChild.type!=="text"&&Ke(n.firstChild)&&(!n.lastChild.isTrailingSpaceSensitive||qe(n.lastChild))}function Ve(n){return n.type==="element"&&n.children.length>0&&(["html","head","ul","ol","select"].includes(n.name)||n.cssDisplay.startsWith("table")&&n.cssDisplay!=="table-cell")}function He(n){return pt(n)||n.prev&&Le(n.prev)||Dt(n)}function Le(n){return pt(n)||n.type==="element"&&n.fullName==="br"||Dt(n)}function Dt(n){return Ke(n)&&qe(n)}function Ke(n){return n.hasLeadingSpaces&&(n.prev?n.prev.sourceSpan.end.line<n.sourceSpan.start.line:n.parent.type==="root"||n.parent.startSourceSpan.end.line<n.sourceSpan.start.line)}function qe(n){return n.hasTrailingSpaces&&(n.next?n.next.sourceSpan.start.line>n.sourceSpan.end.line:n.parent.type==="root"||n.parent.endSourceSpan&&n.parent.endSourceSpan.start.line>n.sourceSpan.end.line)}function pt(n){switch(n.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(n.name)}return!1}function Bt(n){return n.lastChild?Bt(n.lastChild):n}function wt(n){return n.children&&n.children.some(a=>a.type!=="text")}function ur(n){let{type:a,lang:u}=n.attrMap;if(a==="module"||a==="text/javascript"||a==="text/babel"||a==="application/javascript"||u==="jsx")return"babel";if(a==="application/x-typescript"||u==="ts"||u==="tsx")return"typescript";if(a==="text/markdown")return"markdown";if(a==="text/html")return"html";if(a&&(a.endsWith("json")||a.endsWith("importmap"))||a==="speculationrules")return"json";if(a==="text/x-handlebars-template")return"glimmer"}function Ue(n,a){let{lang:u}=n.attrMap;if(!u||u==="postcss"||u==="css")return"css";if(u==="scss")return"scss";if(u==="less")return"less";if(u==="stylus")return m("stylus",a)}function tt(n,a){if(n.name==="script"&&!n.attrMap.src)return!n.attrMap.lang&&!n.attrMap.type?"babel":ur(n);if(n.name==="style")return Ue(n,a);if(a&&Ur(n,a))return ur(n)||!("src"in n.attrMap)&&m(n.attrMap.lang,a)}function rr(n){return n==="block"||n==="list-item"||n.startsWith("table")}function gr(n){return!rr(n)&&n!=="inline-block"}function tr(n){return!rr(n)&&n!=="inline-block"}function Ze(n){return!rr(n)}function ot(n){return!rr(n)}function ht(n){return!rr(n)&&n!=="inline-block"}function pr(n){return Ei(n).startsWith("pre")}function Er(n,a){let u=0;for(let h=n.stack.length-1;h>=0;h--){let C=n.stack[h];C&&typeof C=="object"&&!Array.isArray(C)&&a(C)&&u++}return u}function cn(n,a){let u=n;for(;u;){if(a(u))return!0;u=u.parent}return!1}function Fn(n,a){if(n.prev&&n.prev.type==="comment"){let h=n.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(h)return h[1]}let u=!1;if(n.type==="element"&&n.namespace==="svg")if(cn(n,h=>h.fullName==="svg:foreignObject"))u=!0;else return n.name==="svg"?"inline-block":"block";switch(a.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return a.parser==="vue"&&n.parent&&n.parent.type==="root"?"block":n.type==="element"&&(!n.namespace||u||I(n))&&B[n.name]||H}}function Ei(n){return n.type==="element"&&(!n.namespace||I(n))&&R[n.name]||V}function fr(n){let a=Number.POSITIVE_INFINITY;for(let u of n.split(`
|
|
124
|
-
`)){if(u.length===0)continue;if(!L.has(u[0]))return 0;let h=ge(u).length;u.length!==h&&h<a&&(a=h)}return a===Number.POSITIVE_INFINITY?0:a}function lr(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fr(n);return a===0?n:n.split(`
|
|
125
|
-
`).map(u=>u.slice(a)).join(`
|
|
126
|
-
`)}function br(n,a){let u=0;for(let h=0;h<n.length;h++)n[h]===a&&u++;return u}function Qt(n){return n.replace(/'/g,"'").replace(/"/g,'"')}var Yr=new Set(["template","style","script"]);function nt(n,a){return qr(n,a)&&!Yr.has(n.fullName)}function qr(n,a){return a.parser==="vue"&&n.type==="element"&&n.parent.type==="root"&&n.fullName.toLowerCase()!=="html"}function Ur(n,a){return qr(n,a)&&(nt(n,a)||n.attrMap.lang&&n.attrMap.lang!=="html")}function tn(n){let a=n.fullName;return a.charAt(0)==="#"||a==="slot-scope"||a==="v-slot"||a.startsWith("v-slot:")}function vi(n,a){let u=n.parent;if(!qr(u,a))return!1;let h=u.fullName,C=n.fullName;return h==="script"&&C==="setup"||h==="style"&&C==="vars"}function e(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.value;return n.parent.isWhitespaceSensitive?n.parent.isIndentationSensitive?F(a):F(lr(ee(a)),g):w(D(E,ue(a)))}function r(n,a){return qr(n,a)&&n.name==="script"}A.exports={htmlTrim:fe,htmlTrimPreserveIndentation:ee,hasHtmlWhitespace:De,getLeadingAndTrailingHtmlWhitespace:de,canHaveInterpolation:G,countChars:br,countParents:Er,dedentString:lr,forceBreakChildren:Ve,forceBreakContent:Pe,forceNextEmptyLine:Re,getLastDescendant:Bt,getNodeCssStyleDisplay:Fn,getNodeCssStyleWhiteSpace:Ei,hasPrettierIgnore:M,inferScriptParser:tt,isVueCustomBlock:nt,isVueNonHtmlBlock:Ur,isVueScriptTag:r,isVueSlotAttribute:tn,isVueSfcBindingsAttribute:vi,isVueSfcBlock:qr,isDanglingSpaceSensitiveNode:Ce,isIndentationSensitiveNode:se,isLeadingSpaceSensitiveNode:te,isPreLikeNode:pr,isScriptLikeTag:P,isTextLikeNode:X,isTrailingSpaceSensitiveNode:ne,isWhitespaceSensitiveNode:q,isUnknownNamespace:I,preferHardlineAsLeadingSpaces:He,preferHardlineAsTrailingSpaces:Le,shouldPreserveContent:W,unescapeQuoteEntities:Qt,getTextValueParts:e}}}),Ks=ft({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0}),d.$EOF=0,d.$BSPACE=8,d.$TAB=9,d.$LF=10,d.$VTAB=11,d.$FF=12,d.$CR=13,d.$SPACE=32,d.$BANG=33,d.$DQ=34,d.$HASH=35,d.$$=36,d.$PERCENT=37,d.$AMPERSAND=38,d.$SQ=39,d.$LPAREN=40,d.$RPAREN=41,d.$STAR=42,d.$PLUS=43,d.$COMMA=44,d.$MINUS=45,d.$PERIOD=46,d.$SLASH=47,d.$COLON=58,d.$SEMICOLON=59,d.$LT=60,d.$EQ=61,d.$GT=62,d.$QUESTION=63,d.$0=48,d.$7=55,d.$9=57,d.$A=65,d.$E=69,d.$F=70,d.$X=88,d.$Z=90,d.$LBRACKET=91,d.$BACKSLASH=92,d.$RBRACKET=93,d.$CARET=94,d.$_=95,d.$a=97,d.$b=98,d.$e=101,d.$f=102,d.$n=110,d.$r=114,d.$t=116,d.$u=117,d.$v=118,d.$x=120,d.$z=122,d.$LBRACE=123,d.$BAR=124,d.$RBRACE=125,d.$NBSP=160,d.$PIPE=124,d.$TILDA=126,d.$AT=64,d.$BT=96;function A(w){return w>=d.$TAB&&w<=d.$SPACE||w==d.$NBSP}d.isWhitespace=A;function m(w){return d.$0<=w&&w<=d.$9}d.isDigit=m;function b(w){return w>=d.$a&&w<=d.$z||w>=d.$A&&w<=d.$Z}d.isAsciiLetter=b;function E(w){return w>=d.$a&&w<=d.$f||w>=d.$A&&w<=d.$F||m(w)}d.isAsciiHexDigit=E;function g(w){return w===d.$LF||w===d.$CR}d.isNewLine=g;function D(w){return d.$0<=w&&w<=d.$7}d.isOctalDigit=D}}),ms=ft({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=class{constructor(b,E,g){this.filePath=b,this.name=E,this.members=g}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}};d.StaticSymbol=A;var m=class{constructor(){this.cache=new Map}get(b,E,g){g=g||[];let D=g.length?".".concat(g.join(".")):"",w='"'.concat(b,'".').concat(E).concat(D),F=this.cache.get(w);return F||(F=new A(b,E,g),this.cache.set(w,F)),F}};d.StaticSymbolCache=m}}),rs=ft({"node_modules/angular-html-parser/lib/compiler/src/util.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=/-+([a-z0-9])/g;function m(P){return P.replace(A,function(){for(var G=arguments.length,q=new Array(G),se=0;se<G;se++)q[se]=arguments[se];return q[1].toUpperCase()})}d.dashCaseToCamelCase=m;function b(P,G){return g(P,":",G)}d.splitAtColon=b;function E(P,G){return g(P,".",G)}d.splitAtPeriod=E;function g(P,G,q){let se=P.indexOf(G);return se==-1?q:[P.slice(0,se).trim(),P.slice(se+1).trim()]}function D(P,G,q){return Array.isArray(P)?G.visitArray(P,q):J(P)?G.visitStringMap(P,q):P==null||typeof P=="string"||typeof P=="number"||typeof P=="boolean"?G.visitPrimitive(P,q):G.visitOther(P,q)}d.visitValue=D;function w(P){return P!=null}d.isDefined=w;function F(P){return P===void 0?null:P}d.noUndefined=F;var B=class{visitArray(P,G){return P.map(q=>D(q,this,G))}visitStringMap(P,G){let q={};return Object.keys(P).forEach(se=>{q[se]=D(P[se],this,G)}),q}visitPrimitive(P,G){return P}visitOther(P,G){return P}};d.ValueTransformer=B,d.SyncAsync={assertSync:P=>{if(de(P))throw new Error("Illegal state: value cannot be a promise");return P},then:(P,G)=>de(P)?P.then(G):G(P),all:P=>P.some(de)?Promise.all(P):P};function H(P){throw new Error("Internal Error: ".concat(P))}d.error=H;function R(P,G){let q=Error(P);return q[V]=!0,G&&(q[I]=G),q}d.syntaxError=R;var V="ngSyntaxError",I="ngParseErrors";function L(P){return P[V]}d.isSyntaxError=L;function z(P){return P[I]||[]}d.getParseErrors=z;function ce(P){return P.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}d.escapeRegExp=ce;var fe=Object.getPrototypeOf({});function J(P){return typeof P=="object"&&P!==null&&Object.getPrototypeOf(P)===fe}function ee(P){let G="";for(let q=0;q<P.length;q++){let se=P.charCodeAt(q);if(se>=55296&&se<=56319&&P.length>q+1){let te=P.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}d.utf8Encode=ee;function ue(P){if(typeof P=="string")return P;if(P instanceof Array)return"["+P.map(ue).join(", ")+"]";if(P==null)return""+P;if(P.overriddenName)return"".concat(P.overriddenName);if(P.name)return"".concat(P.name);if(!P.toString)return"object";let G=P.toString();if(G==null)return""+G;let q=G.indexOf(`
|
|
127
|
-
`);return q===-1?G:G.substring(0,q)}d.stringify=ue;function ge(P){return typeof P=="function"&&P.hasOwnProperty("__forward_ref__")?P():P}d.resolveForwardRef=ge;function de(P){return!!P&&typeof P.then=="function"}d.isPromise=de;var De=class{constructor(P){this.full=P;let G=P.split(".");this.major=G[0],this.minor=G[1],this.patch=G.slice(2).join(".")}};d.Version=De;var W=typeof window<"u"&&window,M=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,U=typeof globalThis<"u"&&globalThis,X=U||W||M;d.global=X}}),fs=ft({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=ms(),m=rs(),b=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function E(q){return q.replace(/\W/g,"_")}d.sanitizeIdentifier=E;var g=0;function D(q){if(!q||!q.reference)return null;let se=q.reference;if(se instanceof A.StaticSymbol)return se.name;if(se.__anonymousType)return se.__anonymousType;let te=m.stringify(se);return te.indexOf("(")>=0?(te="anonymous_".concat(g++),se.__anonymousType=te):te=E(te),te}d.identifierName=D;function w(q){let se=q.reference;return se instanceof A.StaticSymbol?se.filePath:"./".concat(m.stringify(se))}d.identifierModuleUrl=w;function F(q,se){return"View_".concat(D({reference:q}),"_").concat(se)}d.viewClassName=F;function B(q){return"RenderType_".concat(D({reference:q}))}d.rendererTypeName=B;function H(q){return"HostView_".concat(D({reference:q}))}d.hostViewClassName=H;function R(q){return"".concat(D({reference:q}),"NgFactory")}d.componentFactoryName=R;var V;(function(q){q[q.Pipe=0]="Pipe",q[q.Directive=1]="Directive",q[q.NgModule=2]="NgModule",q[q.Injectable=3]="Injectable"})(V=d.CompileSummaryKind||(d.CompileSummaryKind={}));function I(q){return q.value!=null?E(q.value):D(q.identifier)}d.tokenName=I;function L(q){return q.identifier!=null?q.identifier.reference:q.value}d.tokenReference=L;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=de(se),this.styleUrls=de(te)}};d.CompileStylesheetMetadata=z;var ce=class{constructor(q){let{encapsulation:se,template:te,templateUrl:ne,htmlAst:Ce,styles:Re,styleUrls:Pe,externalStylesheets:Ve,animations:He,ngContentSelectors:Le,interpolation:Dt,isInline:Ke,preserveWhitespaces:qe}=q;if(this.encapsulation=se,this.template=te,this.templateUrl=ne,this.htmlAst=Ce,this.styles=de(Re),this.styleUrls=de(Pe),this.externalStylesheets=de(Ve),this.animations=He?W(He):[],this.ngContentSelectors=Le||[],Dt&&Dt.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=Dt,this.isInline=Ke,this.preserveWhitespaces=qe}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};d.CompileTemplateMetadata=ce;var fe=class{static create(q){let{isHost:se,type:te,isComponent:ne,selector:Ce,exportAs:Re,changeDetection:Pe,inputs:Ve,outputs:He,host:Le,providers:Dt,viewProviders:Ke,queries:qe,guards:pt,viewQueries:Bt,entryComponents:wt,template:ur,componentViewType:Ue,rendererType:tt,componentFactory:rr}=q,gr={},tr={},Ze={};Le!=null&&Object.keys(Le).forEach(pr=>{let Er=Le[pr],cn=pr.match(b);cn===null?Ze[pr]=Er:cn[1]!=null?tr[cn[1]]=Er:cn[2]!=null&&(gr[cn[2]]=Er)});let ot={};Ve!=null&&Ve.forEach(pr=>{let Er=m.splitAtColon(pr,[pr,pr]);ot[Er[0]]=Er[1]});let ht={};return He!=null&&He.forEach(pr=>{let Er=m.splitAtColon(pr,[pr,pr]);ht[Er[0]]=Er[1]}),new fe({isHost:se,type:te,isComponent:!!ne,selector:Ce,exportAs:Re,changeDetection:Pe,inputs:ot,outputs:ht,hostListeners:gr,hostProperties:tr,hostAttributes:Ze,providers:Dt,viewProviders:Ke,queries:qe,guards:pt,viewQueries:Bt,entryComponents:wt,template:ur,componentViewType:Ue,rendererType:tt,componentFactory:rr})}constructor(q){let{isHost:se,type:te,isComponent:ne,selector:Ce,exportAs:Re,changeDetection:Pe,inputs:Ve,outputs:He,hostListeners:Le,hostProperties:Dt,hostAttributes:Ke,providers:qe,viewProviders:pt,queries:Bt,guards:wt,viewQueries:ur,entryComponents:Ue,template:tt,componentViewType:rr,rendererType:gr,componentFactory:tr}=q;this.isHost=!!se,this.type=te,this.isComponent=ne,this.selector=Ce,this.exportAs=Re,this.changeDetection=Pe,this.inputs=Ve,this.outputs=He,this.hostListeners=Le,this.hostProperties=Dt,this.hostAttributes=Ke,this.providers=de(qe),this.viewProviders=de(pt),this.queries=de(Bt),this.guards=wt,this.viewQueries=de(ur),this.entryComponents=de(Ue),this.template=tt,this.componentViewType=rr,this.rendererType=gr,this.componentFactory=tr}toSummary(){return{summaryKind:V.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}}};d.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:V.Pipe,type:this.type,name:this.name,pure:this.pure}}};d.CompilePipeMetadata=J;var ee=class{};d.CompileShallowModuleMetadata=ee;var ue=class{constructor(q){let{type:se,providers:te,declaredDirectives:ne,exportedDirectives:Ce,declaredPipes:Re,exportedPipes:Pe,entryComponents:Ve,bootstrapComponents:He,importedModules:Le,exportedModules:Dt,schemas:Ke,transitiveModule:qe,id:pt}=q;this.type=se||null,this.declaredDirectives=de(ne),this.exportedDirectives=de(Ce),this.declaredPipes=de(Re),this.exportedPipes=de(Pe),this.providers=de(te),this.entryComponents=de(Ve),this.bootstrapComponents=de(He),this.importedModules=de(Le),this.exportedModules=de(Dt),this.schemas=de(Ke),this.id=pt||null,this.transitiveModule=qe||null}toSummary(){let q=this.transitiveModule;return{summaryKind:V.NgModule,type:this.type,entryComponents:q.entryComponents,providers:q.providers,modules:q.modules,exportedDirectives:q.exportedDirectives,exportedPipes:q.exportedPipes}}};d.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))}};d.TransitiveCompileNgModuleMetadata=ge;function de(q){return q||[]}var De=class{constructor(q,se){let{useClass:te,useValue:ne,useExisting:Ce,useFactory:Re,deps:Pe,multi:Ve}=se;this.token=q,this.useClass=te||null,this.useValue=ne,this.useExisting=Ce,this.useFactory=Re||null,this.dependencies=Pe||null,this.multi=!!Ve}};d.ProviderMeta=De;function W(q){return q.reduce((se,te)=>{let ne=Array.isArray(te)?W(te):te;return se.concat(ne)},[])}d.flatten=W;function M(q){return q.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function U(q,se,te){let ne;return te.isInline?se.type.reference instanceof A.StaticSymbol?ne="".concat(se.type.reference.filePath,".").concat(se.type.reference.name,".html"):ne="".concat(D(q),"/").concat(D(se.type),".html"):ne=te.templateUrl,se.type.reference instanceof A.StaticSymbol?ne:M(ne)}d.templateSourceUrl=U;function X(q,se){let te=q.moduleUrl.split(/\/\\/g),ne=te[te.length-1];return M("css/".concat(se).concat(ne,".ngstyle.js"))}d.sharedStylesheetJitUrl=X;function P(q){return M("".concat(D(q.type),"/module.ngfactory.js"))}d.ngModuleJitUrl=P;function G(q,se){return M("".concat(D(q),"/").concat(D(se.type),".ngfactory.js"))}d.templateJitUrl=G}}),ns=ft({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0});var A=Ks(),m=fs(),b=class{constructor(H,R,V,I){this.file=H,this.offset=R,this.line=V,this.col=I}toString(){return this.offset!=null?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}moveBy(H){let R=this.file.content,V=R.length,I=this.offset,L=this.line,z=this.col;for(;I>0&&H<0;)if(I--,H++,R.charCodeAt(I)==A.$LF){L--;let ce=R.substr(0,I-1).lastIndexOf(String.fromCharCode(A.$LF));z=ce>0?I-ce:I}else z--;for(;I<V&&H>0;){let ce=R.charCodeAt(I);I++,H--,ce==A.$LF?(L++,z=0):z++}return new b(this.file,I,L,z)}getContext(H,R){let V=this.file.content,I=this.offset;if(I!=null){I>V.length-1&&(I=V.length-1);let L=I,z=0,ce=0;for(;z<H&&I>0&&(I--,z++,!(V[I]==`
|
|
128
|
-
`&&++ce==R)););for(z=0,ce=0;z<H&&L<V.length-1&&(L++,z++,!(V[L]==`
|
|
129
|
-
`&&++ce==R)););return{before:V.substring(I,this.offset),after:V.substring(this.offset,L+1)}}return null}};d.ParseLocation=b;var E=class{constructor(H,R){this.content=H,this.url=R}};d.ParseSourceFile=E;var g=class{constructor(H,R){let V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=H,this.end=R,this.details=V}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};d.ParseSourceSpan=g,d.EMPTY_PARSE_LOCATION=new b(new E("",""),0,0,0),d.EMPTY_SOURCE_SPAN=new g(d.EMPTY_PARSE_LOCATION,d.EMPTY_PARSE_LOCATION);var D;(function(H){H[H.WARNING=0]="WARNING",H[H.ERROR=1]="ERROR"})(D=d.ParseErrorLevel||(d.ParseErrorLevel={}));var w=class{constructor(H,R){let V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:D.ERROR;this.span=H,this.msg=R,this.level=V}contextualMessage(){let H=this.span.start.getContext(100,3);return H?"".concat(this.msg,' ("').concat(H.before,"[").concat(D[this.level]," ->]").concat(H.after,'")'):this.msg}toString(){let H=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(H)}};d.ParseError=w;function F(H,R){let V=m.identifierModuleUrl(R),I=V!=null?"in ".concat(H," ").concat(m.identifierName(R)," in ").concat(V):"in ".concat(H," ").concat(m.identifierName(R)),L=new E("",I);return new g(new b(L,-1,-1,-1),new b(L,-1,-1,-1))}d.typeSourceSpan=F;function B(H,R,V){let I="in ".concat(H," ").concat(R," in ").concat(V),L=new E("",I);return new g(new b(L,-1,-1,-1),new b(L,-1,-1,-1))}d.r3JitTypeSourceSpan=B}}),ri=ft({"src/language-html/print-preprocess.js"(d,A){_();var{ParseSourceSpan:m}=ns(),{htmlTrim:b,getLeadingAndTrailingHtmlWhitespace:E,hasHtmlWhitespace:g,canHaveInterpolation:D,getNodeCssStyleDisplay:w,isDanglingSpaceSensitiveNode:F,isIndentationSensitiveNode:B,isLeadingSpaceSensitiveNode:H,isTrailingSpaceSensitiveNode:R,isWhitespaceSensitiveNode:V,isVueScriptTag:I}=Or(),L=[ce,fe,ee,ge,de,M,De,W,U,ue,X];function z(P,G){for(let q of L)q(P,G);return P}function ce(P){P.walk(G=>{if(G.type==="element"&&G.tagDefinition.ignoreFirstLf&&G.children.length>0&&G.children[0].type==="text"&&G.children[0].value[0]===`
|
|
130
|
-
`){let q=G.children[0];q.value.length===1?G.removeChild(q):q.value=q.value.slice(1)}})}function fe(P){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;P.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 m(ne.sourceSpan.start,Ce.sourceSpan.end),Pe=new m(Re.start,te.sourceSpan.end);te.condition=ne.condition,te.sourceSpan=Pe,te.startSourceSpan=Re,te.removeChild(Ce)}})}function J(P,G,q){P.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 m(Ce.sourceSpan.start,ne.sourceSpan.end),se.removeChild(ne),te--)}})}function ee(P){return J(P,G=>G.type==="cdata",G=>"<![CDATA[".concat(G.value,"]]>"))}function ue(P){let G=q=>q.type==="element"&&q.attrs.length===0&&q.children.length===1&&q.firstChild.type==="text"&&!g(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";P.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 m(ne.sourceSpan.start,Ce.sourceSpan.end),ne.isTrailingSpaceSensitive=Ce.isTrailingSpaceSensitive,ne.hasTrailingSpaces=Ce.hasTrailingSpaces,q.removeChild(te),se--,q.removeChild(Ce)}})}function ge(P,G){if(G.parser==="html")return;let q=/{{(.+?)}}/s;P.walk(se=>{if(D(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 Ve=Re[Pe];if(Pe%2===0){Ce=ne.moveBy(Ve.length),Ve.length>0&&se.insertChildBefore(te,{type:"text",value:Ve,sourceSpan:new m(ne,Ce)});continue}Ce=ne.moveBy(Ve.length+4),se.insertChildBefore(te,{type:"interpolation",sourceSpan:new m(ne,Ce),children:Ve.length===0?[]:[{type:"text",value:Ve,sourceSpan:new m(ne.moveBy(2),Ce.moveBy(-2))}]})}se.removeChild(te)}})}function de(P){P.walk(G=>{if(!G.children)return;if(G.children.length===0||G.children.length===1&&G.children[0].type==="text"&&b(G.children[0].value).length===0){G.hasDanglingSpaces=G.children.length>0,G.children=[];return}let q=V(G),se=B(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),Ve=ne.prev,He=ne.next;Re?(ne.value=Re,ne.sourceSpan=new m(ne.sourceSpan.start.moveBy(Ce.length),ne.sourceSpan.end.moveBy(-Pe.length)),Ce&&(Ve&&(Ve.hasTrailingSpaces=!0),ne.hasLeadingSpaces=!0),Pe&&(ne.hasTrailingSpaces=!0,He&&(He.hasLeadingSpaces=!0))):(G.removeChild(ne),te--,(Ce||Pe)&&(Ve&&(Ve.hasTrailingSpaces=!0),He&&(He.hasLeadingSpaces=!0)))}G.isWhitespaceSensitive=q,G.isIndentationSensitive=se})}function De(P){P.walk(G=>{G.isSelfClosing=!G.children||G.type==="element"&&(G.tagDefinition.isVoid||G.startSourceSpan===G.endSourceSpan)})}function W(P,G){P.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 M(P,G){P.walk(q=>{q.cssDisplay=w(q,G)})}function U(P,G){P.walk(q=>{let{children:se}=q;if(se){if(se.length===0){q.isDanglingSpaceSensitive=F(q);return}for(let te of se)te.isLeadingSpaceSensitive=H(te,G),te.isTrailingSpaceSensitive=R(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(P,G){if(G.parser==="vue"){let q=P.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)}}A.exports=z}}),Oi=ft({"src/language-html/pragma.js"(d,A){_();function m(E){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(E)}function b(E){return`<!-- @format -->
|
|
131
|
-
|
|
132
|
-
`+E.replace(/^\s*\n/,"")}A.exports={hasPragma:m,insertPragma:b}}}),xi=ft({"src/language-html/loc.js"(d,A){_();function m(E){return E.sourceSpan.start.offset}function b(E){return E.sourceSpan.end.offset}A.exports={locStart:m,locEnd:b}}}),Ci=ft({"src/language-html/print/tag.js"(d,A){_();var m=ci(),{isNonEmptyArray:b}=Ki(),{builders:{indent:E,join:g,line:D,softline:w,hardline:F},utils:{replaceTextEndOfLine:B}}=bi(),{locStart:H,locEnd:R}=xi(),{isTextLikeNode:V,getLastDescendant:I,isPreLikeNode:L,hasPrettierIgnore:z,shouldPreserveContent:ce,isVueSfcBlock:fe}=Or();function J(Le,Dt){return[Le.isSelfClosing?"":ee(Le,Dt),ue(Le,Dt)]}function ee(Le,Dt){return Le.lastChild&&P(Le.lastChild)?"":[ge(Le,Dt),De(Le,Dt)]}function ue(Le,Dt){return(Le.next?U(Le.next):X(Le.parent))?"":[W(Le,Dt),de(Le,Dt)]}function ge(Le,Dt){return X(Le)?W(Le.lastChild,Dt):""}function de(Le,Dt){return P(Le)?De(Le.parent,Dt):G(Le)?Ve(Le.next):""}function De(Le,Dt){if(m(!Le.isSelfClosing),M(Le,Dt))return"";switch(Le.type){case"ieConditionalComment":return"<!";case"element":if(Le.hasHtmComponentClosingTag)return"<//";default:return"</".concat(Le.rawName)}}function W(Le,Dt){if(M(Le,Dt))return"";switch(Le.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(Le.isSelfClosing)return"/>";default:return">"}}function M(Le,Dt){return!Le.isSelfClosing&&!Le.endSourceSpan&&(z(Le)||ce(Le.parent,Dt))}function U(Le){return Le.prev&&Le.prev.type!=="docType"&&!V(Le.prev)&&Le.isLeadingSpaceSensitive&&!Le.hasLeadingSpaces}function X(Le){return Le.lastChild&&Le.lastChild.isTrailingSpaceSensitive&&!Le.lastChild.hasTrailingSpaces&&!V(I(Le.lastChild))&&!L(Le)}function P(Le){return!Le.next&&!Le.hasTrailingSpaces&&Le.isTrailingSpaceSensitive&&V(I(Le))}function G(Le){return Le.next&&!V(Le.next)&&V(Le)&&Le.isTrailingSpaceSensitive&&!Le.hasTrailingSpaces}function q(Le){let Dt=Le.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return Dt?Dt[1]?Dt[1].split(/\s+/):!0:!1}function se(Le){return!Le.prev&&Le.isLeadingSpaceSensitive&&!Le.hasLeadingSpaces}function te(Le,Dt,Ke){let qe=Le.getValue();if(!b(qe.attrs))return qe.isSelfClosing?" ":"";let pt=qe.prev&&qe.prev.type==="comment"&&q(qe.prev.value),Bt=typeof pt=="boolean"?()=>pt:Array.isArray(pt)?rr=>pt.includes(rr.rawName):()=>!1,wt=Le.map(rr=>{let gr=rr.getValue();return Bt(gr)?B(Dt.originalText.slice(H(gr),R(gr))):Ke()},"attrs"),ur=qe.type==="element"&&qe.fullName==="script"&&qe.attrs.length===1&&qe.attrs[0].fullName==="src"&&qe.children.length===0,Ue=Dt.singleAttributePerLine&&qe.attrs.length>1&&!fe(qe,Dt)?F:D,tt=[E([ur?" ":D,g(Ue,wt)])];return qe.firstChild&&se(qe.firstChild)||qe.isSelfClosing&&X(qe.parent)||ur?tt.push(qe.isSelfClosing?" ":""):tt.push(Dt.bracketSameLine?qe.isSelfClosing?" ":"":qe.isSelfClosing?D:w),tt}function ne(Le){return Le.firstChild&&se(Le.firstChild)?"":He(Le)}function Ce(Le,Dt,Ke){let qe=Le.getValue();return[Re(qe,Dt),te(Le,Dt,Ke),qe.isSelfClosing?"":ne(qe)]}function Re(Le,Dt){return Le.prev&&G(Le.prev)?"":[Pe(Le,Dt),Ve(Le)]}function Pe(Le,Dt){return se(Le)?He(Le.parent):U(Le)?W(Le.prev,Dt):""}function Ve(Le){switch(Le.type){case"ieConditionalComment":case"ieConditionalStartComment":return"<!--[if ".concat(Le.condition);case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(Le.condition)return"<!--[if ".concat(Le.condition,"]><!--><").concat(Le.rawName);default:return"<".concat(Le.rawName)}}function He(Le){switch(m(!Le.isSelfClosing),Le.type){case"ieConditionalComment":return"]>";case"element":if(Le.condition)return"><!--<![endif]-->";default:return">"}}A.exports={printClosingTag:J,printClosingTagStart:ee,printClosingTagStartMarker:De,printClosingTagEndMarker:W,printClosingTagSuffix:de,printClosingTagEnd:ue,needsToBorrowLastChildClosingTagEndMarker:X,needsToBorrowParentClosingTagStartMarker:P,needsToBorrowPrevClosingTagEndMarker:U,printOpeningTag:Ce,printOpeningTagStart:Re,printOpeningTagPrefix:Pe,printOpeningTagStartMarker:Ve,printOpeningTagEndMarker:He,needsToBorrowNextOpeningTagStartMarker:G,needsToBorrowParentOpeningTagEndMarker:se}}}),Vt=ft({"node_modules/parse-srcset/src/parse-srcset.js"(d,A){_(),function(m,b){typeof A=="object"&&A.exports?A.exports=b():m.parseSrcset=b()}(d,function(){return function(m,b){var E=b&&b.logger||console;function g(De){return De===" "||De===" "||De===`
|
|
133
|
-
`||De==="\f"||De==="\r"}function D(De){var W,M=De.exec(m.substring(ee));if(M)return W=M[0],ee+=W.length,W}for(var w=m.length,F=/^[ \t\n\r\u000c]+/,B=/^[, \t\n\r\u000c]+/,H=/^[^ \t\n\r\u000c]+/,R=/[,]+$/,V=/^\d+$/,I=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,L,z,ce,fe,J,ee=0,ue=[];;){if(D(B),ee>=w)return ue;L=D(H),z=[],L.slice(-1)===","?(L=L.replace(R,""),de()):ge()}function ge(){for(D(F),ce="",fe="in descriptor";;){if(J=m.charAt(ee),fe==="in descriptor")if(g(J))ce&&(z.push(ce),ce="",fe="after descriptor");else if(J===","){ee+=1,ce&&z.push(ce),de();return}else if(J==="(")ce=ce+J,fe="in parens";else if(J===""){ce&&z.push(ce),de();return}else ce=ce+J;else if(fe==="in parens")if(J===")")ce=ce+J,fe="in descriptor";else if(J===""){z.push(ce),de();return}else ce=ce+J;else if(fe==="after descriptor"&&!g(J))if(J===""){de();return}else fe="in descriptor",ee-=1;ee+=1}}function de(){var De=!1,W,M,U,X,P={},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),V.test(se)&&q==="w"?((W||M)&&(De=!0),te===0?De=!0:W=te):I.test(se)&&q==="x"?((W||M||U)&&(De=!0),ne<0?De=!0:M=ne):V.test(se)&&q==="h"?((U||M)&&(De=!0),te===0?De=!0:U=te):De=!0;De?E&&E.error&&E.error("Invalid srcset descriptor found in '"+m+"' at '"+G+"'."):(P.url=L,W&&(P.w=W),M&&(P.d=M),U&&(P.h=U),ue.push(P))}}})}}),kr=ft({"src/language-html/syntax-attribute.js"(d,A){_();var m=Vt(),{builders:{ifBreak:b,join:E,line:g}}=bi();function D(F){let B=m(F,{logger:{error(ge){throw new Error(ge)}}}),H=B.some(ge=>{let{w:de}=ge;return de}),R=B.some(ge=>{let{h:de}=ge;return de}),V=B.some(ge=>{let{d:de}=ge;return de});if(H+R+V>1)throw new Error("Mixed descriptor in srcset is not supported");let I=H?"w":R?"h":"d",L=H?"w":R?"h":"x",z=ge=>Math.max(...ge),ce=B.map(ge=>ge.url),fe=z(ce.map(ge=>ge.length)),J=B.map(ge=>ge[I]).map(ge=>ge?ge.toString():""),ee=J.map(ge=>{let de=ge.indexOf(".");return de===-1?ge.length:de}),ue=z(ee);return E([",",g],ce.map((ge,de)=>{let De=[ge],W=J[de];if(W){let M=fe-ge.length+1,U=ue-ee[de],X=" ".repeat(M+U);De.push(b(X," "),W+L)}return De}))}function w(F){return F.trim().split(/\s+/).join(" ")}A.exports={printImgSrcset:D,printClassNames:w}}}),Lr=ft({"src/language-html/syntax-vue.js"(d,A){_();var{builders:{group:m}}=bi();function b(w,F){let{left:B,operator:H,right:R}=E(w);return[m(F("function _(".concat(B,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",H," ",F(R,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function E(w){let F=/(.*?)\s+(in|of)\s+(.*)/s,B=/,([^,\]}]*)(?:,([^,\]}]*))?$/,H=/^\(|\)$/g,R=w.match(F);if(!R)return;let V={};if(V.for=R[3].trim(),!V.for)return;let I=R[1].trim().replace(H,""),L=I.match(B);L?(V.alias=I.replace(B,""),V.iterator1=L[1].trim(),L[2]&&(V.iterator2=L[2].trim())):V.alias=I;let z=[V.alias,V.iterator1,V.iterator2];if(!z.some((ce,fe)=>!ce&&(fe===0||z.slice(fe+1).some(Boolean))))return{left:z.filter(Boolean).join(","),operator:R[2],right:V.for}}function g(w,F){return F("function _(".concat(w,") {}"),{parser:"babel",__isVueBindings:!0})}function D(w){let F=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,B=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,H=w.trim();return F.test(H)||B.test(H)}A.exports={isVueEventBindingExpression:D,printVueFor:b,printVueBindings:g}}}),In=ft({"src/language-html/get-node-content.js"(d,A){_();var{needsToBorrowParentClosingTagStartMarker:m,printClosingTagStartMarker:b,needsToBorrowLastChildClosingTagEndMarker:E,printClosingTagEndMarker:g,needsToBorrowParentOpeningTagEndMarker:D,printOpeningTagEndMarker:w}=Ci();function F(B,H){let R=B.startSourceSpan.end.offset;B.firstChild&&D(B.firstChild)&&(R-=w(B).length);let V=B.endSourceSpan.start.offset;return B.lastChild&&m(B.lastChild)?V+=b(B,H).length:E(B)&&(V-=g(B.lastChild,H).length),H.originalText.slice(R,V)}A.exports=F}}),Mt=ft({"src/language-html/embed.js"(d,A){_();var{builders:{breakParent:m,group:b,hardline:E,indent:g,line:D,fill:w,softline:F},utils:{mapDoc:B,replaceTextEndOfLine:H}}=bi(),R=Ta(),{printClosingTag:V,printClosingTagSuffix:I,needsToBorrowPrevClosingTagEndMarker:L,printOpeningTagPrefix:z,printOpeningTag:ce}=Ci(),{printImgSrcset:fe,printClassNames:J}=kr(),{printVueFor:ee,printVueBindings:ue,isVueEventBindingExpression:ge}=Lr(),{isScriptLikeTag:de,isVueNonHtmlBlock:De,inferScriptParser:W,htmlTrimPreserveIndentation:M,dedentString:U,unescapeQuoteEntities:X,isVueSlotAttribute:P,isVueSfcBindingsAttribute:G,getTextValueParts:q}=Or(),se=In();function te(Ce,Re,Pe){let Ve=wt=>new RegExp(wt.join("|")).test(Ce.fullName),He=()=>X(Ce.value),Le=!1,Dt=(wt,ur)=>{let Ue=wt.type==="NGRoot"?wt.node.type==="NGMicrosyntax"&&wt.node.body.length===1&&wt.node.body[0].type==="NGMicrosyntaxExpression"?wt.node.body[0].expression:wt.node:wt.type==="JsExpressionRoot"?wt.node:wt;Ue&&(Ue.type==="ObjectExpression"||Ue.type==="ArrayExpression"||ur.parser==="__vue_expression"&&(Ue.type==="TemplateLiteral"||Ue.type==="StringLiteral"))&&(Le=!0)},Ke=wt=>b(wt),qe=function(wt){let ur=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return b([g([F,wt]),ur?F:""])},pt=wt=>Le?Ke(wt):qe(wt),Bt=(wt,ur)=>Re(wt,Object.assign({__onHtmlBindingRoot:Dt,__embeddedInHtml:!0},ur));if(Ce.fullName==="srcset"&&(Ce.parent.fullName==="img"||Ce.parent.fullName==="source"))return qe(fe(He()));if(Ce.fullName==="class"&&!Pe.parentParser){let wt=He();if(!wt.includes("{{"))return J(wt)}if(Ce.fullName==="style"&&!Pe.parentParser){let wt=He();if(!wt.includes("{{"))return qe(Bt(wt,{parser:"css",__isHTMLStyleAttribute:!0}))}if(Pe.parser==="vue"){if(Ce.fullName==="v-for")return ee(He(),Bt);if(P(Ce)||G(Ce,Pe))return ue(He(),Bt);let wt=["^@","^v-on:"],ur=["^:","^v-bind:"],Ue=["^v-"];if(Ve(wt)){let tt=He(),rr=ge(tt)?"__js_expression":Pe.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return pt(Bt(tt,{parser:rr}))}if(Ve(ur))return pt(Bt(He(),{parser:"__vue_expression"}));if(Ve(Ue))return pt(Bt(He(),{parser:"__js_expression"}))}if(Pe.parser==="angular"){let wt=(Ze,ot)=>Bt(Ze,Object.assign(Object.assign({},ot),{},{trailingComma:"none"})),ur=["^\\*"],Ue=["^\\(.+\\)$","^on-"],tt=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],rr=["^i18n(-.+)?$"];if(Ve(Ue))return pt(wt(He(),{parser:"__ng_action"}));if(Ve(tt))return pt(wt(He(),{parser:"__ng_binding"}));if(Ve(rr)){let Ze=He().trim();return qe(w(q(Ce,Ze)),!Ze.includes("@@"))}if(Ve(ur))return pt(wt(He(),{parser:"__ng_directive"}));let gr=/{{(.+?)}}/s,tr=He();if(gr.test(tr)){let Ze=[];for(let[ot,ht]of tr.split(gr).entries())if(ot%2===0)Ze.push(H(ht));else try{Ze.push(b(["{{",g([D,wt(ht,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),D,"}}"]))}catch{Ze.push("{{",H(ht),"}}")}return b(Ze)}}return null}function ne(Ce,Re,Pe,Ve){let He=Ce.getValue();switch(He.type){case"element":{if(de(He)||He.type==="interpolation")return;if(!He.isSelfClosing&&De(He,Ve)){let Le=W(He,Ve);if(!Le)return;let Dt=se(He,Ve),Ke=/^\s*$/.test(Dt),qe="";return Ke||(qe=Pe(M(Dt),{parser:Le,__embeddedInHtml:!0},{stripTrailingHardline:!0}),Ke=qe===""),[z(He,Ve),b(ce(Ce,Ve,Re)),Ke?"":E,qe,Ke?"":E,V(He,Ve),I(He,Ve)]}break}case"text":{if(de(He.parent)){let Le=W(He.parent,Ve);if(Le){let Dt=Le==="markdown"?U(He.value.replace(/^[^\S\n]*\n/,"")):He.value,Ke={parser:Le,__embeddedInHtml:!0};if(Ve.parser==="html"&&Le==="babel"){let qe="script",{attrMap:pt}=He.parent;pt&&(pt.type==="module"||pt.type==="text/babel"&&pt["data-type"]==="module")&&(qe="module"),Ke.__babelSourceType=qe}return[m,z(He,Ve),Pe(Dt,Ke,{stripTrailingHardline:!0}),I(He,Ve)]}}else if(He.parent.type==="interpolation"){let Le={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return Ve.parser==="angular"?(Le.parser="__ng_interpolation",Le.trailingComma="none"):Ve.parser==="vue"?Le.parser=Ve.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":Le.parser="__js_expression",[g([D,Pe(He.value,Le,{stripTrailingHardline:!0})]),He.parent.next&&L(He.parent.next)?" ":D]}break}case"attribute":{if(!He.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(Ve.originalText.slice(He.valueSpan.start.offset,He.valueSpan.end.offset)))return[He.rawName,"=",He.value];if(Ve.parser==="lwc"&&/^{.*}$/s.test(Ve.originalText.slice(He.valueSpan.start.offset,He.valueSpan.end.offset)))return[He.rawName,"=",He.value];let Le=te(He,(Dt,Ke)=>Pe(Dt,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},Ke),{stripTrailingHardline:!0}),Ve);if(Le)return[He.rawName,'="',b(B(Le,Dt=>typeof Dt=="string"?Dt.replace(/"/g,"""):Dt)),'"'];break}case"front-matter":return R(He,Pe)}}A.exports=ne}}),si=ft({"src/language-html/print/children.js"(d,A){_();var{builders:{breakParent:m,group:b,ifBreak:E,line:g,softline:D,hardline:w},utils:{replaceTextEndOfLine:F}}=bi(),{locStart:B,locEnd:H}=xi(),{forceBreakChildren:R,forceNextEmptyLine:V,isTextLikeNode:I,hasPrettierIgnore:L,preferHardlineAsLeadingSpaces:z}=Or(),{printOpeningTagPrefix:ce,needsToBorrowNextOpeningTagStartMarker:fe,printOpeningTagStartMarker:J,needsToBorrowPrevClosingTagEndMarker:ee,printClosingTagEndMarker:ue,printClosingTagSuffix:ge,needsToBorrowParentClosingTagStartMarker:de}=Ci();function De(U,X,P){let G=U.getValue();return L(G)?[ce(G,X),...F(X.originalText.slice(B(G)+(G.prev&&fe(G.prev)?J(G).length:0),H(G)-(G.next&&ee(G.next)?ue(G,X).length:0))),ge(G,X)]:P()}function W(U,X){return I(U)&&I(X)?U.isTrailingSpaceSensitive?U.hasTrailingSpaces?z(X)?w:g:"":z(X)?w:D:fe(U)&&(L(X)||X.firstChild||X.isSelfClosing||X.type==="element"&&X.attrs.length>0)||U.type==="element"&&U.isSelfClosing&&ee(X)?"":!X.isLeadingSpaceSensitive||z(X)||ee(X)&&U.lastChild&&de(U.lastChild)&&U.lastChild.lastChild&&de(U.lastChild.lastChild)?w:X.hasLeadingSpaces?g:D}function M(U,X,P){let G=U.getValue();if(R(G))return[m,...U.map(se=>{let te=se.getValue(),ne=te.prev?W(te.prev,te):"";return[ne?[ne,V(te.prev)?w:""]:"",De(se,X,P)]},"children")];let q=G.children.map(()=>Symbol(""));return U.map((se,te)=>{let ne=se.getValue();if(I(ne)){if(ne.prev&&I(ne.prev)){let Dt=W(ne.prev,ne);if(Dt)return V(ne.prev)?[w,w,De(se,X,P)]:[Dt,De(se,X,P)]}return De(se,X,P)}let Ce=[],Re=[],Pe=[],Ve=[],He=ne.prev?W(ne.prev,ne):"",Le=ne.next?W(ne,ne.next):"";return He&&(V(ne.prev)?Ce.push(w,w):He===w?Ce.push(w):I(ne.prev)?Re.push(He):Re.push(E("",D,{groupId:q[te-1]}))),Le&&(V(ne)?I(ne.next)&&Ve.push(w,w):Le===w?I(ne.next)&&Ve.push(w):Pe.push(Le)),[...Ce,b([...Re,b([De(se,X,P),...Pe],{id:q[te]})]),...Ve]},"children")}A.exports={printChildren:M}}}),ei=ft({"src/language-html/print/element.js"(d,A){_();var{builders:{breakParent:m,dedentToRoot:b,group:E,ifBreak:g,indentIfBreak:D,indent:w,line:F,softline:B},utils:{replaceTextEndOfLine:H}}=bi(),R=In(),{shouldPreserveContent:V,isScriptLikeTag:I,isVueCustomBlock:L,countParents:z,forceBreakContent:ce}=Or(),{printOpeningTagPrefix:fe,printOpeningTag:J,printClosingTagSuffix:ee,printClosingTag:ue,needsToBorrowPrevClosingTagEndMarker:ge,needsToBorrowLastChildClosingTagEndMarker:de}=Ci(),{printChildren:De}=si();function W(M,U,X){let P=M.getValue();if(V(P,U))return[fe(P,U),E(J(M,U,X)),...H(R(P,U)),...ue(P,U),ee(P,U)];let G=P.children.length===1&&P.firstChild.type==="interpolation"&&P.firstChild.isLeadingSpaceSensitive&&!P.firstChild.hasLeadingSpaces&&P.lastChild.isTrailingSpaceSensitive&&!P.lastChild.hasTrailingSpaces,q=Symbol("element-attr-group-id"),se=Re=>E([E(J(M,U,X),{id:q}),Re,ue(P,U)]),te=Re=>G?D(Re,{groupId:q}):(I(P)||L(P,U))&&P.parent.type==="root"&&U.parser==="vue"&&!U.vueIndentScriptAndStyle?Re:w(Re),ne=()=>G?g(B,"",{groupId:q}):P.firstChild.hasLeadingSpaces&&P.firstChild.isLeadingSpaceSensitive?F:P.firstChild.type==="text"&&P.isWhitespaceSensitive&&P.isIndentationSensitive?b(B):B,Ce=()=>(P.next?ge(P.next):de(P.parent))?P.lastChild.hasTrailingSpaces&&P.lastChild.isTrailingSpaceSensitive?" ":"":G?g(B,"",{groupId:q}):P.lastChild.hasTrailingSpaces&&P.lastChild.isTrailingSpaceSensitive?F:(P.lastChild.type==="comment"||P.lastChild.type==="text"&&P.isWhitespaceSensitive&&P.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(U.tabWidth*z(M,Re=>Re.parent&&Re.parent.type!=="root"),"}$")).test(P.lastChild.value)?"":B;return P.children.length===0?se(P.hasDanglingSpaces&&P.isDanglingSpaceSensitive?F:""):se([ce(P)?m:"",te([ne(),De(M,U,X)]),Ce()])}A.exports={printElement:W}}}),ta=ft({"src/language-html/printer-html.js"(d,A){_();var{builders:{fill:m,group:b,hardline:E,literalline:g},utils:{cleanDoc:D,getDocParts:w,isConcat:F,replaceTextEndOfLine:B}}=bi(),H=xn(),{countChars:R,unescapeQuoteEntities:V,getTextValueParts:I}=Or(),L=ri(),{insertPragma:z}=Oi(),{locStart:ce,locEnd:fe}=xi(),J=Mt(),{printClosingTagSuffix:ee,printClosingTagEnd:ue,printOpeningTagPrefix:ge,printOpeningTagStart:de}=Ci(),{printElement:De}=ei(),{printChildren:W}=si();function M(U,X,P){let G=U.getValue();switch(G.type){case"front-matter":return B(G.raw);case"root":return X.__onHtmlRoot&&X.__onHtmlRoot(G),[b(W(U,X,P)),E];case"element":case"ieConditionalComment":return De(U,X,P);case"ieConditionalStartComment":case"ieConditionalEndComment":return[de(G),ue(G)];case"interpolation":return[de(G,X),...U.map(P,"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[...B(ne),te?E:""]}let q=D([ge(G,X),...I(G),ee(G,X)]);return F(q)||q.type==="fill"?m(w(q)):q}case"docType":return[b([de(G,X)," ",G.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),ue(G,X)];case"comment":return[ge(G,X),...B(X.originalText.slice(ce(G),fe(G)),g),ee(G,X)];case"attribute":{if(G.value===null)return G.rawName;let q=V(G.value),se=R(q,"'"),te=R(q,'"'),ne=se<te?"'":'"';return[G.rawName,"=",ne,...B(ne==='"'?q.replace(/"/g,"""):q.replace(/'/g,"'")),ne]}default:throw new Error("Unexpected node type ".concat(G.type))}}A.exports={preprocess:L,print:M,insertPragma:z,massageAstNode:H,embed:J}}}),ia=ft({"src/language-html/options.js"(d,A){_();var m=Xo(),b="HTML";A.exports={bracketSameLine:m.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:b,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:m.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:b,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),ka=ft({"src/language-html/parsers.js"(){_()}}),Pa=ft({"node_modules/linguist-languages/data/HTML.json"(d,A){A.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}}}),Ls=ft({"node_modules/linguist-languages/data/Vue.json"(d,A){A.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),Qs=ft({"src/language-html/index.js"(d,A){_();var m=Ca(),b=ta(),E=ia(),g=ka(),D=[m(Pa(),()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),m(Pa(),F=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...F.extensions,".mjml"]})),m(Pa(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),m(Ls(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],w={html:b};A.exports={languages:D,printers:w,options:E,parsers:g}}}),Ua=ft({"src/language-yaml/pragma.js"(d,A){_();function m(g){return/^\s*@(?:prettier|format)\s*$/.test(g)}function b(g){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(g)}function E(g){return`# @format
|
|
134
|
-
|
|
135
|
-
`.concat(g)}A.exports={isPragma:m,hasPragma:b,insertPragma:E}}}),la=ft({"src/language-yaml/loc.js"(d,A){_();function m(E){return E.position.start.offset}function b(E){return E.position.end.offset}A.exports={locStart:m,locEnd:b}}}),sa=ft({"src/language-yaml/embed.js"(d,A){_();function m(b,E,g,D){if(b.getValue().type==="root"&&D.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint)rc$/.test(D.filepath))return g(D.originalText,Object.assign(Object.assign({},D),{},{parser:"json"}))}A.exports=m}}),aa=ft({"src/language-yaml/utils.js"(d,A){_();var{getLast:m,isNonEmptyArray:b}=Ki();function E(W,M){let U=0,X=W.stack.length-1;for(let P=0;P<X;P++){let G=W.stack[P];g(G)&&M(G)&&U++}return U}function g(W,M){return W&&typeof W.type=="string"&&(!M||M.includes(W.type))}function D(W,M,U){return M("children"in W?Object.assign(Object.assign({},W),{},{children:W.children.map(X=>D(X,M,W))}):W,U)}function w(W,M,U){Object.defineProperty(W,M,{get:U,enumerable:!1})}function F(W,M){let U=0,X=M.length;for(let P=W.position.end.offset-1;P<X;P++){let G=M[P];if(G===`
|
|
136
|
-
`&&U++,U===1&&/\S/.test(G))return!1;if(U===2)return!0}return!1}function B(W){switch(W.getValue().type){case"tag":case"anchor":case"comment":return!1}let M=W.stack.length;for(let U=1;U<M;U++){let X=W.stack[U],P=W.stack[U-1];if(Array.isArray(P)&&typeof X=="number"&&X!==P.length-1)return!1}return!0}function H(W){return b(W.children)?H(m(W.children)):W}function R(W){return W.value.trim()==="prettier-ignore"}function V(W){let M=W.getValue();if(M.type==="documentBody"){let U=W.getParentNode();return ee(U.head)&&R(m(U.head.endComments))}return z(M)&&R(m(M.leadingComments))}function I(W){return!b(W.children)&&!L(W)}function L(W){return z(W)||ce(W)||fe(W)||J(W)||ee(W)}function z(W){return b(W==null?void 0:W.leadingComments)}function ce(W){return b(W==null?void 0:W.middleComments)}function fe(W){return W==null?void 0:W.indicatorComment}function J(W){return W==null?void 0:W.trailingComment}function ee(W){return b(W==null?void 0:W.endComments)}function ue(W){let M=[],U;for(let X of W.split(/( +)/))X!==" "?U===" "?M.push(X):M.push((M.pop()||"")+X):U===void 0&&M.unshift(""),U=X;return U===" "&&M.push((M.pop()||"")+" "),M[0]===""&&(M.shift(),M.unshift(" "+(M.shift()||""))),M}function ge(W,M,U){let X=M.split(`
|
|
137
|
-
`).map((P,G,q)=>G===0&&G===q.length-1?P:G!==0&&G!==q.length-1?P.trim():G===0?P.trimEnd():P.trimStart());return U.proseWrap==="preserve"?X.map(P=>P.length===0?[]:[P]):X.map(P=>P.length===0?[]:ue(P)).reduce((P,G,q)=>q!==0&&X[q-1].length>0&&G.length>0&&!(W==="quoteDouble"&&m(m(P)).endsWith("\\"))?[...P.slice(0,-1),[...m(P),...G]]:[...P,G],[]).map(P=>U.proseWrap==="never"?[P.join(" ")]:P)}function de(W,M){let{parentIndent:U,isLastDescendant:X,options:P}=M,G=W.position.start.line===W.position.end.line?"":P.originalText.slice(W.position.start.offset,W.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],q;if(W.indent===null){let ne=G.match(/^(?<leadingSpace> *)[^\n\r ]/m);q=ne?ne.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else q=W.indent-1+U;let se=G.split(`
|
|
138
|
-
`).map(ne=>ne.slice(q));if(P.proseWrap==="preserve"||W.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(m(ne))?[...ne.slice(0,-1),[...m(ne),...Ce]]:[...ne,Ce],[]).map(ne=>ne.reduce((Ce,Re)=>Ce.length>0&&/\s$/.test(m(Ce))?[...Ce.slice(0,-1),m(Ce)+" "+Re]:[...Ce,Re],[])).map(ne=>P.proseWrap==="never"?[ne.join(" ")]:ne));function te(ne){if(W.chomping==="keep")return m(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 De(W){if(!W)return!0;switch(W.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}A.exports={getLast:m,getAncestorCount:E,isNode:g,isEmptyNode:I,isInlineNode:De,mapNode:D,defineShortcut:w,isNextLineEmpty:F,isLastDescendantNode:B,getBlockValueLineContents:de,getFlowScalarLineContents:ge,getLastDescendantNode:H,hasPrettierIgnore:V,hasLeadingComments:z,hasMiddleComments:ce,hasIndicatorComment:fe,hasTrailingComment:J,hasEndComments:ee}}}),fl=ft({"src/language-yaml/print-preprocess.js"(d,A){_();var{defineShortcut:m,mapNode:b}=aa();function E(D){return b(D,g)}function g(D){switch(D.type){case"document":m(D,"head",()=>D.children[0]),m(D,"body",()=>D.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":m(D,"content",()=>D.children[0]);break;case"mappingItem":case"flowMappingItem":m(D,"key",()=>D.children[0]),m(D,"value",()=>D.children[1]);break}return D}A.exports=E}}),wu=ft({"src/language-yaml/print/misc.js"(d,A){_();var{builders:{softline:m,align:b}}=bi(),{hasEndComments:E,isNextLineEmpty:g,isNode:D}=aa(),w=new WeakMap;function F(R,V){let I=R.getValue(),L=R.stack[0],z;return w.has(L)?z=w.get(L):(z=new Set,w.set(L,z)),!z.has(I.position.end.line)&&(z.add(I.position.end.line),g(I,V)&&!B(R.getParentNode()))?m:""}function B(R){return E(R)&&!D(R,["documentHead","documentBody","flowMapping","flowSequence"])}function H(R,V){return b(" ".repeat(R),V)}A.exports={alignWithSpaces:H,shouldPrintEndComments:B,printNextEmptyLine:F}}}),_c=ft({"src/language-yaml/print/flow-mapping-sequence.js"(d,A){_();var{builders:{ifBreak:m,line:b,softline:E,hardline:g,join:D}}=bi(),{isEmptyNode:w,getLast:F,hasEndComments:B}=aa(),{printNextEmptyLine:H,alignWithSpaces:R}=wu();function V(L,z,ce){let fe=L.getValue(),J=fe.type==="flowMapping",ee=J?"{":"[",ue=J?"}":"]",ge=E;J&&fe.children.length>0&&ce.bracketSpacing&&(ge=b);let de=F(fe.children),De=de&&de.type==="flowMappingItem"&&w(de.key)&&w(de.value);return[ee,R(ce.tabWidth,[ge,I(L,z,ce),ce.trailingComma==="none"?"":m(","),B(fe)?[g,D(g,L.map(z,"endComments"))]:""]),De?"":ge,ue]}function I(L,z,ce){let fe=L.getValue();return L.map((J,ee)=>[z(),ee===fe.children.length-1?"":[",",b,fe.children[ee].position.start.line!==fe.children[ee+1].position.start.line?H(J,ce.originalText):""]],"children")}A.exports={printFlowMapping:V,printFlowSequence:V}}}),Ic=ft({"src/language-yaml/print/mapping-item.js"(d,A){_();var{builders:{conditionalGroup:m,group:b,hardline:E,ifBreak:g,join:D,line:w}}=bi(),{hasLeadingComments:F,hasMiddleComments:B,hasTrailingComment:H,hasEndComments:R,isNode:V,isEmptyNode:I,isInlineNode:L}=aa(),{alignWithSpaces:z}=wu();function ce(ue,ge,de,De,W){let{key:M,value:U}=ue,X=I(M),P=I(U);if(X&&P)return": ";let G=De("key"),q=J(ue)?" ":"";if(P)return ue.type==="flowMappingItem"&&ge.type==="flowMapping"?G:ue.type==="mappingItem"&&fe(M.content,W)&&!H(M.content)&&(!ge.tag||ge.tag.value!=="tag:yaml.org,2002:set")?[G,q,":"]:["? ",z(2,G)];let se=De("value");if(X)return[": ",z(2,se)];if(F(U)||!L(M.content))return["? ",z(2,G),E,D("",de.map(De,"value","leadingComments").map(Ve=>[Ve,E])),": ",z(2,se)];if(ee(M.content)&&!F(M.content)&&!B(M.content)&&!H(M.content)&&!R(M)&&!F(U.content)&&!B(U.content)&&!R(U)&&fe(U.content,W))return[G,q,": ",se];let te=Symbol("mappingKey"),ne=b([g("? "),b(z(2,G),{id:te})]),Ce=[E,": ",z(2,se)],Re=[q,":"];F(U.content)||R(U)&&U.content&&!V(U.content,["mapping","sequence"])||ge.type==="mapping"&&H(M.content)&&L(U.content)||V(U.content,["mapping","sequence"])&&U.content.tag===null&&U.content.anchor===null?Re.push(E):U.content&&Re.push(w),Re.push(se);let Pe=z(W.tabWidth,Re);return fe(M.content,W)&&!F(M.content)&&!B(M.content)&&!R(M)?m([[G,Pe]]):m([[ne,g(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(`
|
|
139
|
-
`);case"always":return!/[\n ]/.test(ue.value);default:return!1}}function J(ue){return ue.key.content&&ue.key.content.type==="alias"}function ee(ue){if(!ue)return!0;switch(ue.type){case"plain":case"quoteDouble":case"quoteSingle":return ue.position.start.line===ue.position.end.line;case"alias":return!0;default:return!1}}A.exports=ce}}),Oc=ft({"src/language-yaml/print/block.js"(d,A){_();var{builders:{dedent:m,dedentToRoot:b,fill:E,hardline:g,join:D,line:w,literalline:F,markAsRoot:B},utils:{getDocParts:H}}=bi(),{getAncestorCount:R,getBlockValueLineContents:V,hasIndicatorComment:I,isLastDescendantNode:L,isNode:z}=aa(),{alignWithSpaces:ce}=wu();function fe(J,ee,ue){let ge=J.getValue(),de=R(J,X=>z(X,["sequence","mapping"])),De=L(J),W=[ge.type==="blockFolded"?">":"|"];ge.indent!==null&&W.push(ge.indent.toString()),ge.chomping!=="clip"&&W.push(ge.chomping==="keep"?"+":"-"),I(ge)&&W.push(" ",ee("indicatorComment"));let M=V(ge,{parentIndent:de,isLastDescendant:De,options:ue}),U=[];for(let[X,P]of M.entries())X===0&&U.push(g),U.push(E(H(D(w,P)))),X!==M.length-1?U.push(P.length===0?g:B(F)):ge.chomping==="keep"&&De&&U.push(b(P.length===0?g:F));return ge.indent===null?W.push(m(ce(ue.tabWidth,U))):W.push(b(ce(ge.indent-1+de,U))),W}A.exports=fe}}),Tu=ft({"src/language-yaml/printer-yaml.js"(d,A){_();var{builders:{breakParent:m,fill:b,group:E,hardline:g,join:D,line:w,lineSuffix:F,literalline:B},utils:{getDocParts:H,replaceTextEndOfLine:R}}=bi(),{isPreviousLineEmpty:V}=Ki(),{insertPragma:I,isPragma:L}=Ua(),{locStart:z}=la(),ce=sa(),{getFlowScalarLineContents:fe,getLastDescendantNode:J,hasLeadingComments:ee,hasMiddleComments:ue,hasTrailingComment:ge,hasEndComments:de,hasPrettierIgnore:De,isLastDescendantNode:W,isNode:M,isInlineNode:U}=aa(),X=fl(),{alignWithSpaces:P,printNextEmptyLine:G,shouldPrintEndComments:q}=wu(),{printFlowMapping:se,printFlowSequence:te}=_c(),ne=Ic(),Ce=Oc();function Re(qe,pt,Bt){let wt=qe.getValue(),ur=[];wt.type!=="mappingValue"&&ee(wt)&&ur.push([D(g,qe.map(Bt,"leadingComments")),g]);let{tag:Ue,anchor:tt}=wt;Ue&&ur.push(Bt("tag")),Ue&&tt&&ur.push(" "),tt&&ur.push(Bt("anchor"));let rr="";M(wt,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!W(qe)&&(rr=G(qe,pt.originalText)),(Ue||tt)&&(M(wt,["sequence","mapping"])&&!ue(wt)?ur.push(g):ur.push(" ")),ue(wt)&&ur.push([wt.middleComments.length===1?"":g,D(g,qe.map(Bt,"middleComments")),g]);let gr=qe.getParentNode();return De(qe)?ur.push(R(pt.originalText.slice(wt.position.start.offset,wt.position.end.offset).trimEnd(),B)):ur.push(E(Pe(wt,gr,qe,pt,Bt))),ge(wt)&&!M(wt,["document","documentHead"])&&ur.push(F([wt.type==="mappingValue"&&!wt.content?"":" ",gr.type==="mappingKey"&&qe.getParentNode(2).type==="mapping"&&U(wt)?"":m,Bt("trailingComment")])),q(wt)&&ur.push(P(wt.type==="sequenceItem"?2:0,[g,D(g,qe.map(tr=>[V(pt.originalText,tr.getValue(),z)?g:"",Bt()],"endComments"))])),ur.push(rr),ur}function Pe(qe,pt,Bt,wt,ur){switch(qe.type){case"root":{let{children:Ue}=qe,tt=[];Bt.each((gr,tr)=>{let Ze=Ue[tr],ot=Ue[tr+1];tr!==0&&tt.push(g),tt.push(ur()),He(Ze,ot)?(tt.push(g,"..."),ge(Ze)&&tt.push(" ",ur("trailingComment"))):ot&&!ge(ot.head)&&tt.push(g,"---")},"children");let rr=J(qe);return(!M(rr,["blockLiteral","blockFolded"])||rr.chomping!=="keep")&&tt.push(g),tt}case"document":{let Ue=pt.children[Bt.getName()+1],tt=[];return Le(qe,Ue,pt,wt)==="head"&&((qe.head.children.length>0||qe.head.endComments.length>0)&&tt.push(ur("head")),ge(qe.head)?tt.push(["---"," ",ur(["head","trailingComment"])]):tt.push("---")),Ve(qe)&&tt.push(ur("body")),D(g,tt)}case"documentHead":return D(g,[...Bt.map(ur,"children"),...Bt.map(ur,"endComments")]);case"documentBody":{let{children:Ue,endComments:tt}=qe,rr="";if(Ue.length>0&&tt.length>0){let gr=J(qe);M(gr,["blockFolded","blockLiteral"])?gr.chomping!=="keep"&&(rr=[g,g]):rr=g}return[D(g,Bt.map(ur,"children")),rr,D(g,Bt.map(ur,"endComments"))]}case"directive":return["%",D(" ",[qe.name,...qe.parameters])];case"comment":return["#",qe.value];case"alias":return["*",qe.value];case"tag":return wt.originalText.slice(qe.position.start.offset,qe.position.end.offset);case"anchor":return["&",qe.value];case"plain":return Dt(qe.type,wt.originalText.slice(qe.position.start.offset,qe.position.end.offset),wt);case"quoteDouble":case"quoteSingle":{let Ue="'",tt='"',rr=wt.originalText.slice(qe.position.start.offset+1,qe.position.end.offset-1);if(qe.type==="quoteSingle"&&rr.includes("\\")||qe.type==="quoteDouble"&&/\\[^"]/.test(rr)){let tr=qe.type==="quoteDouble"?tt:Ue;return[tr,Dt(qe.type,rr,wt),tr]}if(rr.includes(tt))return[Ue,Dt(qe.type,qe.type==="quoteDouble"?rr.replace(/\\"/g,tt).replace(/'/g,Ue.repeat(2)):rr,wt),Ue];if(rr.includes(Ue))return[tt,Dt(qe.type,qe.type==="quoteSingle"?rr.replace(/''/g,Ue):rr,wt),tt];let gr=wt.singleQuote?Ue:tt;return[gr,Dt(qe.type,rr,wt),gr]}case"blockFolded":case"blockLiteral":return Ce(Bt,ur,wt);case"mapping":case"sequence":return D(g,Bt.map(ur,"children"));case"sequenceItem":return["- ",P(2,qe.content?ur("content"):"")];case"mappingKey":case"mappingValue":return qe.content?ur("content"):"";case"mappingItem":case"flowMappingItem":return ne(qe,pt,Bt,ur,wt);case"flowMapping":return se(Bt,ur,wt);case"flowSequence":return te(Bt,ur,wt);case"flowSequenceItem":return ur("content");default:throw new Error("Unexpected node type ".concat(qe.type))}}function Ve(qe){return qe.body.children.length>0||de(qe.body)}function He(qe,pt){return ge(qe)||pt&&(pt.head.children.length>0||de(pt.head))}function Le(qe,pt,Bt,wt){return Bt.children[0]===qe&&/---(?:\s|$)/.test(wt.originalText.slice(z(qe),z(qe)+4))||qe.head.children.length>0||de(qe.head)||ge(qe.head)?"head":He(qe,pt)?!1:pt?"root":!1}function Dt(qe,pt,Bt){let wt=fe(qe,pt,Bt);return D(g,wt.map(ur=>b(H(D(w,ur)))))}function Ke(qe,pt){if(M(pt))switch(delete pt.position,pt.type){case"comment":if(L(pt.value))return null;break;case"quoteDouble":case"quoteSingle":pt.type="quote";break}}A.exports={preprocess:X,embed:ce,print:Re,massageAstNode:Ke,insertPragma:I}}}),cu=ft({"src/language-yaml/options.js"(d,A){_();var m=Xo();A.exports={bracketSpacing:m.bracketSpacing,singleQuote:m.singleQuote,proseWrap:m.proseWrap}}}),Il=ft({"src/language-yaml/parsers.js"(){_()}}),Ol=ft({"node_modules/linguist-languages/data/YAML.json"(d,A){A.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}}}),i=ft({"src/language-yaml/index.js"(d,A){_();var m=Ca(),b=Tu(),E=cu(),g=Il(),D=[m(Ol(),w=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...w.filenames.filter(F=>F!=="yarn.lock"),".prettierrc",".stylelintrc"]}))];A.exports={languages:D,printers:{yaml:b},options:E,parsers:g}}}),t=ft({"src/languages.js"(d,A){_(),A.exports=[Fa(),Z(),k(),Ge(),Di(),Qs(),i()]}});_();var{version:o}=at(),p=nu(),{getSupportInfo:y}=Xs(),$=qa(),he=t(),Ye=bi();function At(d){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var m=arguments.length,b=new Array(m),E=0;E<m;E++)b[E]=arguments[E];let g=b[A]||{},D=g.plugins||[];return b[A]=Object.assign(Object.assign({},g),{},{plugins:[...he,...Array.isArray(D)?D:Object.values(D)]}),d(...b)}}var ar=At(p.formatWithCursor);pe.exports={formatWithCursor:ar,format(d,A){return ar(d,A).formatted},check(d,A){let{formatted:m}=ar(d,A);return m===d},doc:Ye,getSupportInfo:At(y,0),version:o,util:$,__debug:{parse:At(p.parse),formatAST:At(p.formatAST),formatDoc:At(p.formatDoc),printToDoc:At(p.printToDoc),printDocToString:At(p.printDocToString)}}});return Rt()})})(Am);const VD=zp(Am.exports);var wm={exports:{}};(function(s,c){(function(l){s.exports=l()})(function(){var l=(Xn,Fr)=>()=>(Fr||Xn((Fr={exports:{}}).exports,Fr),Fr.exports),f=l((Xn,Fr)=>{var Br=function(wr){return wr&&wr.Math==Math&&wr};Fr.exports=Br(typeof globalThis=="object"&&globalThis)||Br(typeof window=="object"&&window)||Br(typeof self=="object"&&self)||Br(typeof Hl=="object"&&Hl)||function(){return this}()||Function("return this")()}),v=l((Xn,Fr)=>{Fr.exports=function(Br){try{return!!Br()}catch{return!0}}}),N=l((Xn,Fr)=>{var Br=v();Fr.exports=!Br(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),Y=l((Xn,Fr)=>{var Br=v();Fr.exports=!Br(function(){var wr=function(){}.bind();return typeof wr!="function"||wr.hasOwnProperty("prototype")})}),le=l((Xn,Fr)=>{var Br=Y(),wr=Function.prototype.call;Fr.exports=Br?wr.bind(wr):function(){return wr.apply(wr,arguments)}}),ye=l(Xn=>{var Fr={}.propertyIsEnumerable,Br=Object.getOwnPropertyDescriptor,wr=Br&&!Fr.call({1:2},1);Xn.f=wr?function(Xr){var Lt=Br(this,Xr);return!!Lt&&Lt.enumerable}:Fr}),Me=l((Xn,Fr)=>{Fr.exports=function(Br,wr){return{enumerable:!(Br&1),configurable:!(Br&2),writable:!(Br&4),value:wr}}}),Oe=l((Xn,Fr)=>{var Br=Y(),wr=Function.prototype,Xr=wr.bind,Lt=wr.call,Jn=Br&&Xr.bind(Lt,Lt);Fr.exports=Br?function(Xt){return Xt&&Jn(Xt)}:function(Xt){return Xt&&function(){return Lt.apply(Xt,arguments)}}}),st=l((Xn,Fr)=>{var Br=Oe(),wr=Br({}.toString),Xr=Br("".slice);Fr.exports=function(Lt){return Xr(wr(Lt),8,-1)}}),mt=l((Xn,Fr)=>{var Br=f(),wr=Oe(),Xr=v(),Lt=st(),Jn=Br.Object,Xt=wr("".split);Fr.exports=Xr(function(){return!Jn("z").propertyIsEnumerable(0)})?function(On){return Lt(On)=="String"?Xt(On,""):Jn(On)}:Jn}),St=l((Xn,Fr)=>{var Br=f(),wr=Br.TypeError;Fr.exports=function(Xr){if(Xr==null)throw wr("Can't call method on "+Xr);return Xr}}),Wt=l((Xn,Fr)=>{var Br=mt(),wr=St();Fr.exports=function(Xr){return Br(wr(Xr))}}),Zt=l((Xn,Fr)=>{Fr.exports=function(Br){return typeof Br=="function"}}),Jr=l((Xn,Fr)=>{var Br=Zt();Fr.exports=function(wr){return typeof wr=="object"?wr!==null:Br(wr)}}),bt=l((Xn,Fr)=>{var Br=f(),wr=Zt(),Xr=function(Lt){return wr(Lt)?Lt:void 0};Fr.exports=function(Lt,Jn){return arguments.length<2?Xr(Br[Lt]):Br[Lt]&&Br[Lt][Jn]}}),Ot=l((Xn,Fr)=>{var Br=Oe();Fr.exports=Br({}.isPrototypeOf)}),$t=l((Xn,Fr)=>{var Br=bt();Fr.exports=Br("navigator","userAgent")||""}),Ar=l((Xn,Fr)=>{var Br=f(),wr=$t(),Xr=Br.process,Lt=Br.Deno,Jn=Xr&&Xr.versions||Lt&&Lt.version,Xt=Jn&&Jn.v8,On,yr;Xt&&(On=Xt.split("."),yr=On[0]>0&&On[0]<4?1:+(On[0]+On[1])),!yr&&wr&&(On=wr.match(/Edge\/(\d+)/),(!On||On[1]>=74)&&(On=wr.match(/Chrome\/(\d+)/),On&&(yr=+On[1]))),Fr.exports=yr}),un=l((Xn,Fr)=>{var Br=Ar(),wr=v();Fr.exports=!!Object.getOwnPropertySymbols&&!wr(function(){var Xr=Symbol();return!String(Xr)||!(Object(Xr)instanceof Symbol)||!Symbol.sham&&Br&&Br<41})}),Kn=l((Xn,Fr)=>{var Br=un();Fr.exports=Br&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),bn=l((Xn,Fr)=>{var Br=f(),wr=bt(),Xr=Zt(),Lt=Ot(),Jn=Kn(),Xt=Br.Object;Fr.exports=Jn?function(On){return typeof On=="symbol"}:function(On){var yr=wr("Symbol");return Xr(yr)&&Lt(yr.prototype,Xt(On))}}),oi=l((Xn,Fr)=>{var Br=f(),wr=Br.String;Fr.exports=function(Xr){try{return wr(Xr)}catch{return"Object"}}}),fi=l((Xn,Fr)=>{var Br=f(),wr=Zt(),Xr=oi(),Lt=Br.TypeError;Fr.exports=function(Jn){if(wr(Jn))return Jn;throw Lt(Xr(Jn)+" is not a function")}}),Wn=l((Xn,Fr)=>{var Br=fi();Fr.exports=function(wr,Xr){var Lt=wr[Xr];return Lt==null?void 0:Br(Lt)}}),Un=l((Xn,Fr)=>{var Br=f(),wr=le(),Xr=Zt(),Lt=Jr(),Jn=Br.TypeError;Fr.exports=function(Xt,On){var yr,It;if(On==="string"&&Xr(yr=Xt.toString)&&!Lt(It=wr(yr,Xt))||Xr(yr=Xt.valueOf)&&!Lt(It=wr(yr,Xt))||On!=="string"&&Xr(yr=Xt.toString)&&!Lt(It=wr(yr,Xt)))return It;throw Jn("Can't convert object to primitive value")}}),gi=l((Xn,Fr)=>{Fr.exports=!1}),vr=l((Xn,Fr)=>{var Br=f(),wr=Object.defineProperty;Fr.exports=function(Xr,Lt){try{wr(Br,Xr,{value:Lt,configurable:!0,writable:!0})}catch{Br[Xr]=Lt}return Lt}}),kn=l((Xn,Fr)=>{var Br=f(),wr=vr(),Xr="__core-js_shared__",Lt=Br[Xr]||wr(Xr,{});Fr.exports=Lt}),Te=l((Xn,Fr)=>{var Br=gi(),wr=kn();(Fr.exports=function(Xr,Lt){return wr[Xr]||(wr[Xr]=Lt!==void 0?Lt:{})})("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"})}),nn=l((Xn,Fr)=>{var Br=f(),wr=St(),Xr=Br.Object;Fr.exports=function(Lt){return Xr(wr(Lt))}}),cr=l((Xn,Fr)=>{var Br=Oe(),wr=nn(),Xr=Br({}.hasOwnProperty);Fr.exports=Object.hasOwn||function(Lt,Jn){return Xr(wr(Lt),Jn)}}),Pn=l((Xn,Fr)=>{var Br=Oe(),wr=0,Xr=Math.random(),Lt=Br(1 .toString);Fr.exports=function(Jn){return"Symbol("+(Jn===void 0?"":Jn)+")_"+Lt(++wr+Xr,36)}}),ii=l((Xn,Fr)=>{var Br=f(),wr=Te(),Xr=cr(),Lt=Pn(),Jn=un(),Xt=Kn(),On=wr("wks"),yr=Br.Symbol,It=yr&&yr.for,je=Xt?yr:yr&&yr.withoutSetter||Lt;Fr.exports=function(_t){if(!Xr(On,_t)||!(Jn||typeof On[_t]=="string")){var zt="Symbol."+_t;Jn&&Xr(yr,_t)?On[_t]=yr[_t]:Xt&&It?On[_t]=It(zt):On[_t]=je(zt)}return On[_t]}}),Zi=l((Xn,Fr)=>{var Br=f(),wr=le(),Xr=Jr(),Lt=bn(),Jn=Wn(),Xt=Un(),On=ii(),yr=Br.TypeError,It=On("toPrimitive");Fr.exports=function(je,_t){if(!Xr(je)||Lt(je))return je;var zt=Jn(je,It),ir;if(zt){if(_t===void 0&&(_t="default"),ir=wr(zt,je,_t),!Xr(ir)||Lt(ir))return ir;throw yr("Can't convert object to primitive value")}return _t===void 0&&(_t="number"),Xt(je,_t)}}),gs=l((Xn,Fr)=>{var Br=Zi(),wr=bn();Fr.exports=function(Xr){var Lt=Br(Xr,"string");return wr(Lt)?Lt:Lt+""}}),As=l((Xn,Fr)=>{var Br=f(),wr=Jr(),Xr=Br.document,Lt=wr(Xr)&&wr(Xr.createElement);Fr.exports=function(Jn){return Lt?Xr.createElement(Jn):{}}}),ps=l((Xn,Fr)=>{var Br=N(),wr=v(),Xr=As();Fr.exports=!Br&&!wr(function(){return Object.defineProperty(Xr("div"),"a",{get:function(){return 7}}).a!=7})}),hs=l(Xn=>{var Fr=N(),Br=le(),wr=ye(),Xr=Me(),Lt=Wt(),Jn=gs(),Xt=cr(),On=ps(),yr=Object.getOwnPropertyDescriptor;Xn.f=Fr?yr:function(It,je){if(It=Lt(It),je=Jn(je),On)try{return yr(It,je)}catch{}if(Xt(It,je))return Xr(!Br(wr.f,It,je),It[je])}}),zr=l((Xn,Fr)=>{var Br=N(),wr=v();Fr.exports=Br&&wr(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),$r=l((Xn,Fr)=>{var Br=f(),wr=Jr(),Xr=Br.String,Lt=Br.TypeError;Fr.exports=function(Jn){if(wr(Jn))return Jn;throw Lt(Xr(Jn)+" is not an object")}}),Cr=l(Xn=>{var Fr=f(),Br=N(),wr=ps(),Xr=zr(),Lt=$r(),Jn=gs(),Xt=Fr.TypeError,On=Object.defineProperty,yr=Object.getOwnPropertyDescriptor,It="enumerable",je="configurable",_t="writable";Xn.f=Br?Xr?function(zt,ir,Mr){if(Lt(zt),ir=Jn(ir),Lt(Mr),typeof zt=="function"&&ir==="prototype"&&"value"in Mr&&_t in Mr&&!Mr[_t]){var sn=yr(zt,ir);sn&&sn[_t]&&(zt[ir]=Mr.value,Mr={configurable:je in Mr?Mr[je]:sn[je],enumerable:It in Mr?Mr[It]:sn[It],writable:!1})}return On(zt,ir,Mr)}:On:function(zt,ir,Mr){if(Lt(zt),ir=Jn(ir),Lt(Mr),wr)try{return On(zt,ir,Mr)}catch{}if("get"in Mr||"set"in Mr)throw Xt("Accessors not supported");return"value"in Mr&&(zt[ir]=Mr.value),zt}}),mn=l((Xn,Fr)=>{var Br=N(),wr=Cr(),Xr=Me();Fr.exports=Br?function(Lt,Jn,Xt){return wr.f(Lt,Jn,Xr(1,Xt))}:function(Lt,Jn,Xt){return Lt[Jn]=Xt,Lt}}),Vn=l((Xn,Fr)=>{var Br=Oe(),wr=Zt(),Xr=kn(),Lt=Br(Function.toString);wr(Xr.inspectSource)||(Xr.inspectSource=function(Jn){return Lt(Jn)}),Fr.exports=Xr.inspectSource}),di=l((Xn,Fr)=>{var Br=f(),wr=Zt(),Xr=Vn(),Lt=Br.WeakMap;Fr.exports=wr(Lt)&&/native code/.test(Xr(Lt))}),Rn=l((Xn,Fr)=>{var Br=Te(),wr=Pn(),Xr=Br("keys");Fr.exports=function(Lt){return Xr[Lt]||(Xr[Lt]=wr(Lt))}}),Je=l((Xn,Fr)=>{Fr.exports={}}),Tt=l((Xn,Fr)=>{var Br=di(),wr=f(),Xr=Oe(),Lt=Jr(),Jn=mn(),Xt=cr(),On=kn(),yr=Rn(),It=Je(),je="Object already initialized",_t=wr.TypeError,zt=wr.WeakMap,ir,Mr,sn,Rt=function(Qe){return sn(Qe)?Mr(Qe):ir(Qe,{})},_e=function(Qe){return function(ut){var xt;if(!Lt(ut)||(xt=Mr(ut)).type!==Qe)throw _t("Incompatible receiver, "+Qe+" required");return xt}};Br||On.state?(pe=On.state||(On.state=new zt),me=Xr(pe.get),be=Xr(pe.has),Ee=Xr(pe.set),ir=function(Qe,ut){if(be(pe,Qe))throw new _t(je);return ut.facade=Qe,Ee(pe,Qe,ut),ut},Mr=function(Qe){return me(pe,Qe)||{}},sn=function(Qe){return be(pe,Qe)}):(ze=yr("state"),It[ze]=!0,ir=function(Qe,ut){if(Xt(Qe,ze))throw new _t(je);return ut.facade=Qe,Jn(Qe,ze,ut),ut},Mr=function(Qe){return Xt(Qe,ze)?Qe[ze]:{}},sn=function(Qe){return Xt(Qe,ze)});var pe,me,be,Ee,ze;Fr.exports={set:ir,get:Mr,has:sn,enforce:Rt,getterFor:_e}}),Nr=l((Xn,Fr)=>{var Br=N(),wr=cr(),Xr=Function.prototype,Lt=Br&&Object.getOwnPropertyDescriptor,Jn=wr(Xr,"name"),Xt=Jn&&function(){}.name==="something",On=Jn&&(!Br||Br&&Lt(Xr,"name").configurable);Fr.exports={EXISTS:Jn,PROPER:Xt,CONFIGURABLE:On}}),Vr=l((Xn,Fr)=>{var Br=f(),wr=Zt(),Xr=cr(),Lt=mn(),Jn=vr(),Xt=Vn(),On=Tt(),yr=Nr().CONFIGURABLE,It=On.get,je=On.enforce,_t=String(String).split("String");(Fr.exports=function(zt,ir,Mr,sn){var Rt=sn?!!sn.unsafe:!1,_e=sn?!!sn.enumerable:!1,pe=sn?!!sn.noTargetGet:!1,me=sn&&sn.name!==void 0?sn.name:ir,be;if(wr(Mr)&&(String(me).slice(0,7)==="Symbol("&&(me="["+String(me).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Xr(Mr,"name")||yr&&Mr.name!==me)&&Lt(Mr,"name",me),be=je(Mr),be.source||(be.source=_t.join(typeof me=="string"?me:""))),zt===Br){_e?zt[ir]=Mr:Jn(ir,Mr);return}else Rt?!pe&&zt[ir]&&(_e=!0):delete zt[ir];_e?zt[ir]=Mr:Lt(zt,ir,Mr)})(Function.prototype,"toString",function(){return wr(this)&&It(this).source||Xt(this)})}),_r=l((Xn,Fr)=>{var Br=Math.ceil,wr=Math.floor;Fr.exports=function(Xr){var Lt=+Xr;return Lt!==Lt||Lt===0?0:(Lt>0?wr:Br)(Lt)}}),on=l((Xn,Fr)=>{var Br=_r(),wr=Math.max,Xr=Math.min;Fr.exports=function(Lt,Jn){var Xt=Br(Lt);return Xt<0?wr(Xt+Jn,0):Xr(Xt,Jn)}}),Qr=l((Xn,Fr)=>{var Br=_r(),wr=Math.min;Fr.exports=function(Xr){return Xr>0?wr(Br(Xr),9007199254740991):0}}),gn=l((Xn,Fr)=>{var Br=Qr();Fr.exports=function(wr){return Br(wr.length)}}),zn=l((Xn,Fr)=>{var Br=Wt(),wr=on(),Xr=gn(),Lt=function(Jn){return function(Xt,On,yr){var It=Br(Xt),je=Xr(It),_t=wr(yr,je),zt;if(Jn&&On!=On){for(;je>_t;)if(zt=It[_t++],zt!=zt)return!0}else for(;je>_t;_t++)if((Jn||_t in It)&&It[_t]===On)return Jn||_t||0;return!Jn&&-1}};Fr.exports={includes:Lt(!0),indexOf:Lt(!1)}}),Zr=l((Xn,Fr)=>{var Br=Oe(),wr=cr(),Xr=Wt(),Lt=zn().indexOf,Jn=Je(),Xt=Br([].push);Fr.exports=function(On,yr){var It=Xr(On),je=0,_t=[],zt;for(zt in It)!wr(Jn,zt)&&wr(It,zt)&&Xt(_t,zt);for(;yr.length>je;)wr(It,zt=yr[je++])&&(~Lt(_t,zt)||Xt(_t,zt));return _t}}),Ft=l((Xn,Fr)=>{Fr.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),Dr=l(Xn=>{var Fr=Zr(),Br=Ft(),wr=Br.concat("length","prototype");Xn.f=Object.getOwnPropertyNames||function(Xr){return Fr(Xr,wr)}}),qt=l(Xn=>{Xn.f=Object.getOwnPropertySymbols}),Gn=l((Xn,Fr)=>{var Br=bt(),wr=Oe(),Xr=Dr(),Lt=qt(),Jn=$r(),Xt=wr([].concat);Fr.exports=Br("Reflect","ownKeys")||function(On){var yr=Xr.f(Jn(On)),It=Lt.f;return It?Xt(yr,It(On)):yr}}),Ni=l((Xn,Fr)=>{var Br=cr(),wr=Gn(),Xr=hs(),Lt=Cr();Fr.exports=function(Jn,Xt,On){for(var yr=wr(Xt),It=Lt.f,je=Xr.f,_t=0;_t<yr.length;_t++){var zt=yr[_t];!Br(Jn,zt)&&!(On&&Br(On,zt))&&It(Jn,zt,je(Xt,zt))}}}),ws=l((Xn,Fr)=>{var Br=v(),wr=Zt(),Xr=/#|\.prototype\./,Lt=function(It,je){var _t=Xt[Jn(It)];return _t==yr?!0:_t==On?!1:wr(je)?Br(je):!!je},Jn=Lt.normalize=function(It){return String(It).replace(Xr,".").toLowerCase()},Xt=Lt.data={},On=Lt.NATIVE="N",yr=Lt.POLYFILL="P";Fr.exports=Lt}),os=l((Xn,Fr)=>{var Br=f(),wr=hs().f,Xr=mn(),Lt=Vr(),Jn=vr(),Xt=Ni(),On=ws();Fr.exports=function(yr,It){var je=yr.target,_t=yr.global,zt=yr.stat,ir,Mr,sn,Rt,_e,pe;if(_t?Mr=Br:zt?Mr=Br[je]||Jn(je,{}):Mr=(Br[je]||{}).prototype,Mr)for(sn in It){if(_e=It[sn],yr.noTargetGet?(pe=wr(Mr,sn),Rt=pe&&pe.value):Rt=Mr[sn],ir=On(_t?sn:je+(zt?".":"#")+sn,yr.forced),!ir&&Rt!==void 0){if(typeof _e==typeof Rt)continue;Xt(_e,Rt)}(yr.sham||Rt&&Rt.sham)&&Xr(_e,"sham",!0),Lt(Mr,sn,_e,yr)}}}),Fs=l(()=>{var Xn=os(),Fr=f();Xn({global:!0},{globalThis:Fr})}),ys=l(()=>{Fs()}),pa=l((Xn,Fr)=>{ys();var Br=Object.defineProperty,wr=Object.getOwnPropertyDescriptor,Xr=Object.getOwnPropertyNames,Lt=Object.prototype.hasOwnProperty,Jn=(T,ae)=>function(){return T&&(ae=(0,T[Xr(T)[0]])(T=0)),ae},Xt=(T,ae)=>function(){return ae||(0,T[Xr(T)[0]])((ae={exports:{}}).exports,ae),ae.exports},On=(T,ae)=>{for(var Z in ae)Br(T,Z,{get:ae[Z],enumerable:!0})},yr=(T,ae,Z,K)=>{if(ae&&typeof ae=="object"||typeof ae=="function")for(let oe of Xr(ae))!Lt.call(T,oe)&&oe!==Z&&Br(T,oe,{get:()=>ae[oe],enumerable:!(K=wr(ae,oe))||K.enumerable});return T},It=T=>yr(Br({},"__esModule",{value:!0}),T),je=Jn({"<define:process>"(){}}),_t=Xt({"src/common/parser-create-error.js"(T,ae){je();function Z(K,oe){let Ae=new SyntaxError(K+" ("+oe.start.line+":"+oe.start.column+")");return Ae.loc=oe,Ae}ae.exports=Z}}),zt=Xt({"src/utils/get-last.js"(T,ae){je();var Z=K=>K[K.length-1];ae.exports=Z}}),ir=Xt({"src/utils/front-matter/parse.js"(T,ae){je();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:we,language:ve,value:xe="",endDelimiter:Se}=Ae.groups,k=ve.trim()||"yaml";if(we==="+++"&&(k="toml"),k!=="yaml"&&we!==Se)return{content:oe};let[x]=Ae;return{frontMatter:{type:"front-matter",lang:k,value:xe,startDelimiter:we,endDelimiter:Se,raw:x.replace(/\n$/,"")},content:x.replace(/[^\n]/g," ")+oe.slice(x.length)}}ae.exports=K}}),Mr={};On(Mr,{EOL:()=>an,arch:()=>Kt,cpus:()=>Ee,default:()=>Pr,endianness:()=>sn,freemem:()=>me,getNetworkInterfaces:()=>xt,hostname:()=>Rt,loadavg:()=>_e,networkInterfaces:()=>ut,platform:()=>or,release:()=>Qe,tmpDir:()=>xr,tmpdir:()=>rn,totalmem:()=>be,type:()=>ze,uptime:()=>pe});function sn(){if(typeof Ir>"u"){var T=new ArrayBuffer(2),ae=new Uint8Array(T),Z=new Uint16Array(T);if(ae[0]=1,ae[1]=2,Z[0]===258)Ir="BE";else if(Z[0]===513)Ir="LE";else throw new Error("unable to figure out endianess")}return Ir}function Rt(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function _e(){return[]}function pe(){return 0}function me(){return Number.MAX_VALUE}function be(){return Number.MAX_VALUE}function Ee(){return[]}function ze(){return"Browser"}function Qe(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function ut(){}function xt(){}function Kt(){return"javascript"}function or(){return"browser"}function xr(){return"/tmp"}var Ir,rn,an,Pr,Nn=Jn({"node-modules-polyfills:os"(){je(),rn=xr,an=`
|
|
140
|
-
`,Pr={EOL:an,tmpdir:rn,tmpDir:xr,networkInterfaces:ut,getNetworkInterfaces:xt,release:Qe,type:ze,cpus:Ee,totalmem:be,freemem:me,uptime:pe,loadavg:_e,hostname:Rt,endianness:sn}}}),pi=Xt({"node-modules-polyfills-commonjs:os"(T,ae){je();var Z=(Nn(),It(Mr));if(Z&&Z.default){ae.exports=Z.default;for(let K in Z)ae.exports[K]=Z[K]}else Z&&(ae.exports=Z)}}),En=Xt({"node_modules/detect-newline/index.js"(T,ae){je();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(ve=>ve===`\r
|
|
141
|
-
`).length,we=oe.length-Ae;return Ae>we?`\r
|
|
142
|
-
`:`
|
|
143
|
-
`};ae.exports=Z,ae.exports.graceful=K=>typeof K=="string"&&Z(K)||`
|
|
144
|
-
`}}),Hi=Xt({"node_modules/jest-docblock/build/index.js"(T){je(),Object.defineProperty(T,"__esModule",{value:!0}),T.extract=Q,T.parse=Fe,T.parseWithComments=Xe,T.print=Ge,T.strip=Ie;function ae(){let vt=pi();return ae=function(){return vt},vt}function Z(){let vt=K(En());return Z=function(){return vt},vt}function K(vt){return vt&&vt.__esModule?vt:{default:vt}}var oe=/\*\/$/,Ae=/^\/\*\*/,we=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,ve=/(^|\s+)\/\/([^\r\n]*)/g,xe=/^(\r?\n)+/,Se=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,k=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,x=/(\r?\n|^) *\* ?/g,re=[];function Q(vt){let Pt=vt.match(we);return Pt?Pt[0].trimLeft():""}function Ie(vt){let Pt=vt.match(we);return Pt&&Pt[0]?vt.substring(Pt[0].length):vt}function Fe(vt){return Xe(vt).pragmas}function Xe(vt){let Pt=(0,Z().default)(vt)||ae().EOL;vt=vt.replace(Ae,"").replace(oe,"").replace(x,"$1");let Gt="";for(;Gt!==vt;)Gt=vt,vt=vt.replace(Se,"".concat(Pt,"$1 $2").concat(Pt));vt=vt.replace(xe,"").trimRight();let dn=Object.create(null),$n=vt.replace(k,"").replace(xe,"").trimRight(),qn;for(;qn=k.exec(vt);){let yi=qn[2].replace(ve,"");typeof dn[qn[1]]=="string"||Array.isArray(dn[qn[1]])?dn[qn[1]]=re.concat(dn[qn[1]],yi):dn[qn[1]]=yi}return{comments:$n,pragmas:dn}}function Ge(vt){let{comments:Pt="",pragmas:Gt={}}=vt,dn=(0,Z().default)(Pt)||ae().EOL,$n="/**",qn=" *",yi=" */",en=Object.keys(Gt),Ii=en.map(Di=>Ne(Di,Gt[Di])).reduce((Di,xn)=>Di.concat(xn),[]).map(Di=>qn+" "+Di+dn).join("");if(!Pt){if(en.length===0)return"";if(en.length===1&&!Array.isArray(Gt[en[0]])){let Di=Gt[en[0]];return"".concat($n," ").concat(Ne(en[0],Di)[0]).concat(yi)}}let mi=Pt.split(dn).map(Di=>"".concat(qn," ").concat(Di)).join(dn)+dn;return $n+dn+(Pt?mi:"")+(Pt&&en.length?qn+dn:"")+Ii+yi}function Ne(vt,Pt){return re.concat(Pt).map(Gt=>"@".concat(vt," ").concat(Gt).trim())}}}),es=Xt({"src/common/end-of-line.js"(T,ae){je();function Z(we){let ve=we.indexOf("\r");return ve>=0?we.charAt(ve+1)===`
|
|
145
|
-
`?"crlf":"cr":"lf"}function K(we){switch(we){case"cr":return"\r";case"crlf":return`\r
|
|
146
|
-
`;default:return`
|
|
147
|
-
`}}function oe(we,ve){let xe;switch(ve){case`
|
|
148
|
-
`:xe=/\n/g;break;case"\r":xe=/\r/g;break;case`\r
|
|
149
|
-
`:xe=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(ve),"."))}let Se=we.match(xe);return Se?Se.length:0}function Ae(we){return we.replace(/\r\n?/g,`
|
|
150
|
-
`)}ae.exports={guessEndOfLine:Z,convertEndOfLineToChars:K,countEndOfLineChars:oe,normalizeEndOfLine:Ae}}}),ft=Xt({"src/language-js/utils/get-shebang.js"(T,ae){je();function Z(K){if(!K.startsWith("#!"))return"";let oe=K.indexOf(`
|
|
151
|
-
`);return oe===-1?K:K.slice(0,oe)}ae.exports=Z}}),qi=Xt({"src/language-js/pragma.js"(T,ae){je();var{parseWithComments:Z,strip:K,extract:oe,print:Ae}=Hi(),{normalizeEndOfLine:we}=es(),ve=ft();function xe(x){let re=ve(x);re&&(x=x.slice(re.length+1));let Q=oe(x),{pragmas:Ie,comments:Fe}=Z(Q);return{shebang:re,text:x,pragmas:Ie,comments:Fe}}function Se(x){let re=Object.keys(xe(x).pragmas);return re.includes("prettier")||re.includes("format")}function k(x){let{shebang:re,text:Q,pragmas:Ie,comments:Fe}=xe(x),Xe=K(Q),Ge=Ae({pragmas:Object.assign({format:""},Ie),comments:Fe.trimStart()});return(re?"".concat(re,`
|
|
152
|
-
`):"")+we(Ge)+(Xe.startsWith(`
|
|
153
|
-
`)?`
|
|
154
|
-
`:`
|
|
155
|
-
|
|
156
|
-
`)+Xe}ae.exports={hasPragma:Se,insertPragma:k}}}),hn=Xt({"src/language-css/pragma.js"(T,ae){je();var Z=qi(),K=ir();function oe(we){return Z.hasPragma(K(we).content)}function Ae(we){let{frontMatter:ve,content:xe}=K(we);return(ve?ve.raw+`
|
|
157
|
-
|
|
158
|
-
`:"")+Z.insertPragma(xe)}ae.exports={hasPragma:oe,insertPragma:Ae}}}),Ti=Xt({"src/utils/text/skip.js"(T,ae){je();function Z(ve){return(xe,Se,k)=>{let x=k&&k.backwards;if(Se===!1)return!1;let{length:re}=xe,Q=Se;for(;Q>=0&&Q<re;){let Ie=xe.charAt(Q);if(ve instanceof RegExp){if(!ve.test(Ie))return Q}else if(!ve.includes(Ie))return Q;x?Q--:Q++}return Q===-1||Q===re?Q:!1}}var K=Z(/\s/),oe=Z(" "),Ae=Z(",; "),we=Z(/[^\n\r]/);ae.exports={skipWhitespace:K,skipSpaces:oe,skipToLineEnd:Ae,skipEverythingButNewLine:we}}}),Xi=Xt({"src/utils/line-column-to-index.js"(T,ae){je(),ae.exports=function(Z,K){let oe=0;for(let Ae=0;Ae<Z.line-1;++Ae)oe=K.indexOf(`
|
|
159
|
-
`,oe)+1;return oe+Z.column}}}),Yn=Xt({"src/language-css/loc.js"(T,ae){je();var{skipEverythingButNewLine:Z}=Ti(),K=zt(),oe=Xi();function Ae(Q,Ie){return typeof Q.sourceIndex=="number"?Q.sourceIndex:Q.source?oe(Q.source.start,Ie)-1:null}function we(Q,Ie){if(Q.type==="css-comment"&&Q.inline)return Z(Ie,Q.source.startOffset);let Fe=Q.nodes&&K(Q.nodes);return Fe&&Q.source&&!Q.source.end&&(Q=Fe),Q.source&&Q.source.end?oe(Q.source.end,Ie):null}function ve(Q,Ie){Q.source&&(Q.source.startOffset=Ae(Q,Ie),Q.source.endOffset=we(Q,Ie));for(let Fe in Q){let Xe=Q[Fe];Fe==="source"||!Xe||typeof Xe!="object"||(Xe.type==="value-root"||Xe.type==="value-unknown"?xe(Xe,Se(Q),Xe.text||Xe.value):ve(Xe,Ie))}}function xe(Q,Ie,Fe){Q.source&&(Q.source.startOffset=Ae(Q,Fe)+Ie,Q.source.endOffset=we(Q,Fe)+Ie);for(let Xe in Q){let Ge=Q[Xe];Xe==="source"||!Ge||typeof Ge!="object"||xe(Ge,Ie,Fe)}}function Se(Q){let Ie=Q.source.startOffset;return typeof Q.prop=="string"&&(Ie+=Q.prop.length),Q.type==="css-atrule"&&typeof Q.name=="string"&&(Ie+=1+Q.name.length+Q.raws.afterName.match(/^\s*:?\s*/)[0].length),Q.type!=="css-atrule"&&Q.raws&&typeof Q.raws.between=="string"&&(Ie+=Q.raws.between.length),Ie}function k(Q){let Ie="initial",Fe="initial",Xe,Ge=!1,Ne=[];for(let vt=0;vt<Q.length;vt++){let Pt=Q[vt];switch(Ie){case"initial":if(Pt==="'"){Ie="single-quotes";continue}if(Pt==='"'){Ie="double-quotes";continue}if((Pt==="u"||Pt==="U")&&Q.slice(vt,vt+4).toLowerCase()==="url("){Ie="url",vt+=3;continue}if(Pt==="*"&&Q[vt-1]==="/"){Ie="comment-block";continue}if(Pt==="/"&&Q[vt-1]==="/"){Ie="comment-inline",Xe=vt-1;continue}continue;case"single-quotes":if(Pt==="'"&&Q[vt-1]!=="\\"&&(Ie=Fe,Fe="initial"),Pt===`
|
|
160
|
-
`||Pt==="\r")return Q;continue;case"double-quotes":if(Pt==='"'&&Q[vt-1]!=="\\"&&(Ie=Fe,Fe="initial"),Pt===`
|
|
161
|
-
`||Pt==="\r")return Q;continue;case"url":if(Pt===")"&&(Ie="initial"),Pt===`
|
|
162
|
-
`||Pt==="\r")return Q;if(Pt==="'"){Ie="single-quotes",Fe="url";continue}if(Pt==='"'){Ie="double-quotes",Fe="url";continue}continue;case"comment-block":Pt==="/"&&Q[vt-1]==="*"&&(Ie="initial");continue;case"comment-inline":(Pt==='"'||Pt==="'"||Pt==="*")&&(Ge=!0),(Pt===`
|
|
163
|
-
`||Pt==="\r")&&(Ge&&Ne.push([Xe,vt]),Ie="initial",Ge=!1);continue}}for(let[vt,Pt]of Ne)Q=Q.slice(0,vt)+Q.slice(vt,Pt).replace(/["'*]/g," ")+Q.slice(Pt);return Q}function x(Q){return Q.source.startOffset}function re(Q){return Q.source.endOffset}ae.exports={locStart:x,locEnd:re,calculateLoc:ve,replaceQuotesInInlineComments:k}}}),Vi=Xt({"src/utils/is-non-empty-array.js"(T,ae){je();function Z(K){return Array.isArray(K)&&K.length>0}ae.exports=Z}}),Is=Xt({"src/language-css/utils/has-scss-interpolation.js"(T,ae){je();var Z=Vi();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}}),_=Xt({"src/language-css/utils/has-string-or-function.js"(T,ae){je();function Z(K){return K.some(oe=>oe.type==="string"||oe.type==="func")}ae.exports=Z}}),at=Xt({"src/language-css/utils/is-less-parser.js"(T,ae){je();function Z(K){return K.parser==="css"||K.parser==="less"}ae.exports=Z}}),yt=Xt({"src/language-css/utils/is-scss.js"(T,ae){je();function Z(K,oe){return K==="less"||K==="scss"?K==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(oe)}ae.exports=Z}}),mr=Xt({"src/language-css/utils/is-scss-nested-property-node.js"(T,ae){je();function Z(K){return K.selector?K.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":"):!1}ae.exports=Z}}),ui=Xt({"src/language-css/utils/is-scss-variable.js"(T,ae){je();function Z(K){return Boolean((K==null?void 0:K.type)==="word"&&K.value.startsWith("$"))}ae.exports=Z}}),us=Xt({"src/language-css/utils/stringify-node.js"(T,ae){je();function Z(K){var oe,Ae,we;if(K.groups){var ve,xe,Se;let Ge=((ve=K.open)===null||ve===void 0?void 0:ve.value)||"",Ne=K.groups.map(Pt=>Z(Pt)).join(((xe=K.groups[0])===null||xe===void 0?void 0:xe.type)==="comma_group"?",":""),vt=((Se=K.close)===null||Se===void 0?void 0:Se.value)||"";return Ge+Ne+vt}let k=((oe=K.raws)===null||oe===void 0?void 0:oe.before)||"",x=((Ae=K.raws)===null||Ae===void 0?void 0:Ae.quote)||"",re=K.type==="atword"?"@":"",Q=K.value||"",Ie=K.unit||"",Fe=K.group?Z(K.group):"",Xe=((we=K.raws)===null||we===void 0?void 0:we.after)||"";return k+x+re+Q+x+Ie+Fe+Xe}ae.exports=Z}}),Ji=Xt({"src/language-css/utils/is-module-rule-name.js"(T,ae){je();var Z=new Set(["import","use","forward"]);function K(oe){return Z.has(oe)}ae.exports=K}}),Os=Xt({"node_modules/postcss-values-parser/lib/node.js"(T,ae){je();var Z=function(K,oe){let Ae=new K.constructor;for(let we in K){if(!K.hasOwnProperty(we))continue;let ve=K[we],xe=typeof ve;we==="parent"&&xe==="object"?oe&&(Ae[we]=oe):we==="source"?Ae[we]=ve:ve instanceof Array?Ae[we]=ve.map(Se=>Z(Se,Ae)):we!=="before"&&we!=="after"&&we!=="between"&&we!=="semicolon"&&(xe==="object"&&ve!==null&&(ve=Z(ve)),Ae[we]=ve)}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(we=>typeof we=="object"&&we.toJSON?we.toJSON():we):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,we=this.source.start.line;for(let ve=0;ve<K;ve++)oe[ve]===`
|
|
164
|
-
`?(Ae=1,we+=1):Ae+=1;return{line:we,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}}}}),Us=Xt({"node_modules/postcss-values-parser/lib/container.js"(T,ae){je();var Z=Os(),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,we,ve;if(this.indexes[Ae]=0,!!this.nodes){for(;this.indexes[Ae]<this.nodes.length&&(we=this.indexes[Ae],ve=oe(this.nodes[we],we),ve!==!1);)this.indexes[Ae]+=1;return delete this.indexes[Ae],ve}}walk(oe){return this.each((Ae,we)=>{let ve=oe(Ae,we);return ve!==!1&&Ae.walk&&(ve=Ae.walk(oe)),ve})}walkType(oe,Ae){if(!oe||!Ae)throw new Error("Parameters {type} and {callback} are required.");let we=typeof oe=="function";return this.walk((ve,xe)=>{if(we&&ve instanceof oe||!we&&ve.type===oe)return Ae.call(this,ve,xe)})}append(oe){return oe.parent=this,this.nodes.push(oe),this}prepend(oe){return oe.parent=this,this.nodes.unshift(oe),this}cleanRaws(oe){if(super.cleanRaws(oe),this.nodes)for(let Ae of this.nodes)Ae.cleanRaws(oe)}insertAfter(oe,Ae){let we=this.index(oe),ve;this.nodes.splice(we+1,0,Ae);for(let xe in this.indexes)ve=this.indexes[xe],we<=ve&&(this.indexes[xe]=ve+this.nodes.length);return this}insertBefore(oe,Ae){let we=this.index(oe),ve;this.nodes.splice(we,0,Ae);for(let xe in this.indexes)ve=this.indexes[xe],we<=ve&&(this.indexes[xe]=ve+this.nodes.length);return this}removeChild(oe){oe=this.index(oe),this.nodes[oe].parent=void 0,this.nodes.splice(oe,1);let Ae;for(let we in this.indexes)Ae=this.indexes[we],Ae>=oe&&(this.indexes[we]=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(we){return this.walkType(oe,we)})},ae.exports=K}}),$i=Xt({"node_modules/postcss-values-parser/lib/root.js"(T,ae){je();var Z=Us();ae.exports=class extends Z{constructor(K){super(K),this.type="root"}}}}),Fu=Xt({"node_modules/postcss-values-parser/lib/value.js"(T,ae){je();var Z=Us();ae.exports=class extends Z{constructor(K){super(K),this.type="value",this.unbalanced=0}}}}),ku=Xt({"node_modules/postcss-values-parser/lib/atword.js"(T,ae){je();var Z=Us(),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}}),Bo=Xt({"node_modules/postcss-values-parser/lib/colon.js"(T,ae){je();var Z=Us(),K=Os(),oe=class extends K{constructor(Ae){super(Ae),this.type="colon"}};Z.registerWalker(oe),ae.exports=oe}}),_a=Xt({"node_modules/postcss-values-parser/lib/comma.js"(T,ae){je();var Z=Us(),K=Os(),oe=class extends K{constructor(Ae){super(Ae),this.type="comma"}};Z.registerWalker(oe),ae.exports=oe}}),tu=Xt({"node_modules/postcss-values-parser/lib/comment.js"(T,ae){je();var Z=Us(),K=Os(),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}}),vo=Xt({"node_modules/postcss-values-parser/lib/function.js"(T,ae){je();var Z=Us(),K=class extends Z{constructor(oe){super(oe),this.type="func",this.unbalanced=-1}};Z.registerWalker(K),ae.exports=K}}),lo=Xt({"node_modules/postcss-values-parser/lib/number.js"(T,ae){je();var Z=Us(),K=Os(),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}}),du=Xt({"node_modules/postcss-values-parser/lib/operator.js"(T,ae){je();var Z=Us(),K=Os(),oe=class extends K{constructor(Ae){super(Ae),this.type="operator"}};Z.registerWalker(oe),ae.exports=oe}}),mu=Xt({"node_modules/postcss-values-parser/lib/paren.js"(T,ae){je();var Z=Us(),K=Os(),oe=class extends K{constructor(Ae){super(Ae),this.type="paren",this.parenType=""}};Z.registerWalker(oe),ae.exports=oe}}),_o=Xt({"node_modules/postcss-values-parser/lib/string.js"(T,ae){je();var Z=Us(),K=Os(),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}}),Pu=Xt({"node_modules/postcss-values-parser/lib/word.js"(T,ae){je();var Z=Us(),K=Os(),oe=class extends K{constructor(Ae){super(Ae),this.type="word"}};Z.registerWalker(oe),ae.exports=oe}}),gu=Xt({"node_modules/postcss-values-parser/lib/unicode-range.js"(T,ae){je();var Z=Us(),K=Os(),oe=class extends K{constructor(Ae){super(Ae),this.type="unicode-range"}};Z.registerWalker(oe),ae.exports=oe}});function bi(){throw new Error("setTimeout has not been defined")}function yu(){throw new Error("clearTimeout has not been defined")}function el(T){if(Ia===setTimeout)return setTimeout(T,0);if((Ia===bi||!Ia)&&setTimeout)return Ia=setTimeout,setTimeout(T,0);try{return Ia(T,0)}catch{try{return Ia.call(null,T,0)}catch{return Ia.call(this,T,0)}}}function tl(T){if(Xs===clearTimeout)return clearTimeout(T);if((Xs===yu||!Xs)&&clearTimeout)return Xs=clearTimeout,clearTimeout(T);try{return Xs(T)}catch{try{return Xs.call(null,T)}catch{return Xs.call(this,T)}}}function Nu(){!Ha||!$a||(Ha=!1,$a.length?Da=$a.concat(Da):va=-1,Da.length&&za())}function za(){if(!Ha){var T=el(Nu);Ha=!0;for(var ae=Da.length;ae;){for($a=Da,Da=[];++va<ae;)$a&&$a[va].run();va=-1,ae=Da.length}$a=null,Ha=!1,tl(T)}}function xl(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];Da.push(new rl(T,ae)),Da.length===1&&!Ha&&el(za)}function rl(T,ae){this.fun=T,this.array=ae}function ma(){}function Io(T){throw new Error("process.binding is not supported")}function Bu(){return"/"}function nl(T){throw new Error("process.chdir is not supported")}function Cl(){return 0}function El(T){var ae=ai.call(Zn)*.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 Oo(){var T=new Date,ae=T-ni;return ae/1e3}var Ia,Xs,Da,Ha,$a,va,Lo,Du,Ki,Mo,_u,jo,xa,ru,vu,Ro,xo,Qn,An,yn,ln,pn,Zn,ai,ni,wi,Wi,Qi=Jn({"node-modules-polyfills:process"(){je(),Ia=bi,Xs=yu,typeof globalThis.setTimeout=="function"&&(Ia=setTimeout),typeof globalThis.clearTimeout=="function"&&(Xs=clearTimeout),Da=[],Ha=!1,va=-1,rl.prototype.run=function(){this.fun.apply(null,this.array)},Lo="browser",Du="browser",Ki=!0,Mo={},_u=[],jo="",xa={},ru={},vu={},Ro=ma,xo=ma,Qn=ma,An=ma,yn=ma,ln=ma,pn=ma,Zn=globalThis.performance||{},ai=Zn.now||Zn.mozNow||Zn.msNow||Zn.oNow||Zn.webkitNow||function(){return new Date().getTime()},ni=new Date,wi={nextTick:xl,title:Lo,browser:Ki,env:Mo,argv:_u,version:jo,versions:xa,on:Ro,addListener:xo,once:Qn,off:An,removeListener:yn,removeAllListeners:ln,emit:pn,binding:Io,cwd:Bu,chdir:nl,umask:Cl,hrtime:El,platform:Du,release:ru,config:vu,uptime:Oo},Wi=wi}}),ti,Pi,ls=Jn({"node_modules/rollup-plugin-node-polyfills/polyfills/inherits.js"(){je(),typeof Object.create=="function"?ti=function(T,ae){T.super_=ae,T.prototype=Object.create(ae.prototype,{constructor:{value:T,enumerable:!1,writable:!0,configurable:!0}})}:ti=function(T,ae){T.super_=ae;var Z=function(){};Z.prototype=ae.prototype,T.prototype=new Z,T.prototype.constructor=T},Pi=ti}}),Mi={};On(Mi,{_extend:()=>Ri,debuglog:()=>is,default:()=>ss,deprecate:()=>da,format:()=>ks,inherits:()=>Pi,inspect:()=>ji,isArray:()=>et,isBoolean:()=>Ct,isBuffer:()=>Kr,isDate:()=>Ht,isError:()=>nr,isFunction:()=>jr,isNull:()=>kt,isNullOrUndefined:()=>er,isNumber:()=>lt,isObject:()=>ct,isPrimitive:()=>Tr,isRegExp:()=>Ln,isString:()=>Et,isSymbol:()=>Ut,isUndefined:()=>Yt,log:()=>jn});function ks(T){if(!Et(T)){for(var ae=[],Z=0;Z<arguments.length;Z++)ae.push(ji(arguments[Z]));return ae.join(" ")}for(var Z=1,K=arguments,oe=K.length,Ae=String(T).replace(fn,function(xe){if(xe==="%%")return"%";if(Z>=oe)return xe;switch(xe){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 xe}}),we=K[Z];Z<oe;we=K[++Z])kt(we)||!ct(we)?Ae+=" "+we:Ae+=" "+ji(we);return Ae}function da(T,ae){if(Yt(globalThis.process))return function(){return da(T,ae).apply(this,arguments)};if(Wi.noDeprecation===!0)return T;var Z=!1;function K(){if(!Z){if(Wi.throwDeprecation)throw new Error(ae);Wi.traceDeprecation?console.trace(ae):console.error(ae),Z=!0}return T.apply(this,arguments)}return K}function is(T){if(Yt(_i)&&(_i=Wi.env.NODE_DEBUG||""),T=T.toUpperCase(),!Si[T])if(new RegExp("\\b"+T+"\\b","i").test(_i)){var ae=0;Si[T]=function(){var Z=ks.apply(null,arguments);console.error("%s %d: %s",T,ae,Z)}}else Si[T]=function(){};return Si[T]}function ji(T,ae){var Z={seen:[],stylize:js};return arguments.length>=3&&(Z.depth=arguments[2]),arguments.length>=4&&(Z.colors=arguments[3]),Ct(ae)?Z.showHidden=ae:ae&&Ri(Z,ae),Yt(Z.showHidden)&&(Z.showHidden=!1),Yt(Z.depth)&&(Z.depth=2),Yt(Z.colors)&&(Z.colors=!1),Yt(Z.customInspect)&&(Z.customInspect=!0),Z.colors&&(Z.stylize=dt),$s(Z,T,Z.depth)}function dt(T,ae){var Z=ji.styles[ae];return Z?"\x1B["+ji.colors[Z][0]+"m"+T+"\x1B["+ji.colors[Z][1]+"m":T}function js(T,ae){return T}function Oa(T){var ae={};return T.forEach(function(Z,K){ae[Z]=!0}),ae}function $s(T,ae,Z){if(T.customInspect&&ae&&jr(ae.inspect)&&ae.inspect!==ji&&!(ae.constructor&&ae.constructor.prototype===ae)){var K=ae.inspect(Z,T);return Et(K)||(K=$s(T,K,Z)),K}var oe=Co(T,ae);if(oe)return oe;var Ae=Object.keys(ae),we=Oa(Ae);if(T.showHidden&&(Ae=Object.getOwnPropertyNames(ae)),nr(ae)&&(Ae.indexOf("message")>=0||Ae.indexOf("description")>=0))return qs(ae);if(Ae.length===0){if(jr(ae)){var ve=ae.name?": "+ae.name:"";return T.stylize("[Function"+ve+"]","special")}if(Ln(ae))return T.stylize(RegExp.prototype.toString.call(ae),"regexp");if(Ht(ae))return T.stylize(Date.prototype.toString.call(ae),"date");if(nr(ae))return qs(ae)}var xe="",Se=!1,k=["{","}"];if(et(ae)&&(Se=!0,k=["[","]"]),jr(ae)){var x=ae.name?": "+ae.name:"";xe=" [Function"+x+"]"}if(Ln(ae)&&(xe=" "+RegExp.prototype.toString.call(ae)),Ht(ae)&&(xe=" "+Date.prototype.toUTCString.call(ae)),nr(ae)&&(xe=" "+qs(ae)),Ae.length===0&&(!Se||ae.length==0))return k[0]+xe+k[1];if(Z<0)return Ln(ae)?T.stylize(RegExp.prototype.toString.call(ae),"regexp"):T.stylize("[Object]","special");T.seen.push(ae);var re;return Se?re=Bi(T,ae,Z,we,Ae):re=Ae.map(function(Q){return Fi(T,ae,Z,we,Q,Se)}),T.seen.pop(),ie(re,xe,k)}function Co(T,ae){if(Yt(ae))return T.stylize("undefined","undefined");if(Et(ae)){var Z="'"+JSON.stringify(ae).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return T.stylize(Z,"string")}if(lt(ae))return T.stylize(""+ae,"number");if(Ct(ae))return T.stylize(""+ae,"boolean");if(kt(ae))return T.stylize("null","null")}function qs(T){return"["+Error.prototype.toString.call(T)+"]"}function Bi(T,ae,Z,K,oe){for(var Ae=[],we=0,ve=ae.length;we<ve;++we)ds(ae,String(we))?Ae.push(Fi(T,ae,Z,K,String(we),!0)):Ae.push("");return oe.forEach(function(xe){xe.match(/^\d+$/)||Ae.push(Fi(T,ae,Z,K,xe,!0))}),Ae}function Fi(T,ae,Z,K,oe,Ae){var we,ve,xe;if(xe=Object.getOwnPropertyDescriptor(ae,oe)||{value:ae[oe]},xe.get?xe.set?ve=T.stylize("[Getter/Setter]","special"):ve=T.stylize("[Getter]","special"):xe.set&&(ve=T.stylize("[Setter]","special")),ds(K,oe)||(we="["+oe+"]"),ve||(T.seen.indexOf(xe.value)<0?(kt(Z)?ve=$s(T,xe.value,null):ve=$s(T,xe.value,Z-1),ve.indexOf(`
|
|
165
|
-
`)>-1&&(Ae?ve=ve.split(`
|
|
166
|
-
`).map(function(Se){return" "+Se}).join(`
|
|
167
|
-
`).substr(2):ve=`
|
|
168
|
-
`+ve.split(`
|
|
169
|
-
`).map(function(Se){return" "+Se}).join(`
|
|
170
|
-
`))):ve=T.stylize("[Circular]","special")),Yt(we)){if(Ae&&oe.match(/^\d+$/))return ve;we=JSON.stringify(""+oe),we.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(we=we.substr(1,we.length-2),we=T.stylize(we,"name")):(we=we.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),we=T.stylize(we,"string"))}return we+": "+ve}function ie(T,ae,Z){var K=0,oe=T.reduce(function(Ae,we){return K++,we.indexOf(`
|
|
171
|
-
`)>=0&&K++,Ae+we.replace(/\u001b\[\d\d?m/g,"").length+1},0);return oe>60?Z[0]+(ae===""?"":ae+`
|
|
172
|
-
`)+" "+T.join(`,
|
|
173
|
-
`)+" "+Z[1]:Z[0]+ae+" "+T.join(", ")+" "+Z[1]}function et(T){return Array.isArray(T)}function Ct(T){return typeof T=="boolean"}function kt(T){return T===null}function er(T){return T==null}function lt(T){return typeof T=="number"}function Et(T){return typeof T=="string"}function Ut(T){return typeof T=="symbol"}function Yt(T){return T===void 0}function Ln(T){return ct(T)&&Rr(T)==="[object RegExp]"}function ct(T){return typeof T=="object"&&T!==null}function Ht(T){return ct(T)&&Rr(T)==="[object Date]"}function nr(T){return ct(T)&&(Rr(T)==="[object Error]"||T instanceof Error)}function jr(T){return typeof T=="function"}function Tr(T){return T===null||typeof T=="boolean"||typeof T=="number"||typeof T=="string"||typeof T=="symbol"||typeof T>"u"}function Kr(T){return Buffer.isBuffer(T)}function Rr(T){return Object.prototype.toString.call(T)}function Tn(T){return T<10?"0"+T.toString(10):T.toString(10)}function Bn(){var T=new Date,ae=[Tn(T.getHours()),Tn(T.getMinutes()),Tn(T.getSeconds())].join(":");return[T.getDate(),ts[T.getMonth()],ae].join(" ")}function jn(){console.log("%s - %s",Bn(),ks.apply(null,arguments))}function Ri(T,ae){if(!ae||!ct(ae))return T;for(var Z=Object.keys(ae),K=Z.length;K--;)T[Z[K]]=ae[Z[K]];return T}function ds(T,ae){return Object.prototype.hasOwnProperty.call(T,ae)}var fn,Si,_i,ts,ss,We=Jn({"node-modules-polyfills:util"(){je(),Qi(),ls(),fn=/%[sdj%]/g,Si={},ji.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]},ji.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},ts=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ss={inherits:Pi,_extend:Ri,log:jn,isBuffer:Kr,isPrimitive:Tr,isFunction:jr,isError:nr,isDate:Ht,isObject:ct,isRegExp:Ln,isUndefined:Yt,isSymbol:Ut,isString:Et,isNumber:lt,isNullOrUndefined:er,isNull:kt,isBoolean:Ct,isArray:et,inspect:ji,deprecate:da,format:ks,debuglog:is}}}),gt=Xt({"node-modules-polyfills-commonjs:util"(T,ae){je();var Z=(We(),It(Mi));if(Z&&Z.default){ae.exports=Z.default;for(let K in Z)ae.exports[K]=Z[K]}else Z&&(ae.exports=Z)}}),Hr=Xt({"node_modules/postcss-values-parser/lib/errors/TokenizeError.js"(T,ae){je();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=Xt({"node_modules/postcss-values-parser/lib/tokenize.js"(T,ae){je();var Z="{".charCodeAt(0),K="}".charCodeAt(0),oe="(".charCodeAt(0),Ae=")".charCodeAt(0),we="'".charCodeAt(0),ve='"'.charCodeAt(0),xe="\\".charCodeAt(0),Se="/".charCodeAt(0),k=".".charCodeAt(0),x=",".charCodeAt(0),re=":".charCodeAt(0),Q="*".charCodeAt(0),Ie="-".charCodeAt(0),Fe="+".charCodeAt(0),Xe="#".charCodeAt(0),Ge=`
|
|
174
|
-
`.charCodeAt(0),Ne=" ".charCodeAt(0),vt="\f".charCodeAt(0),Pt=" ".charCodeAt(0),Gt="\r".charCodeAt(0),dn="@".charCodeAt(0),$n="e".charCodeAt(0),qn="E".charCodeAt(0),yi="0".charCodeAt(0),en="9".charCodeAt(0),Ii="u".charCodeAt(0),mi="U".charCodeAt(0),Di=/[ \n\t\r\{\(\)'"\\;,/]/g,xn=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,Wr=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,Cn=/^[a-z0-9]/i,Or=/^[a-f0-9?\-]/i,Ks=gt(),ms=Hr();ae.exports=function(rs,fs){fs=fs||{};let ns=[],ri=rs.valueOf(),Oi=ri.length,xi=-1,Ci=1,Vt=0,kr=0,Lr=null,In,Mt,si,ei,ta,ia,ka,Pa,Ls,Qs,Ua;function la(sa){let aa=Ks.format("Unclosed %s at line: %d, column: %d, token: %d",sa,Ci,Vt-xi,Vt);throw new ms(aa)}for(;Vt<Oi;){switch(In=ri.charCodeAt(Vt),In===Ge&&(xi=Vt,Ci+=1),In){case Ge:case Ne:case Pt:case Gt:case vt:Mt=Vt;do Mt+=1,In=ri.charCodeAt(Mt),In===Ge&&(xi=Mt,Ci+=1);while(In===Ne||In===Ge||In===Pt||In===Gt||In===vt);ns.push(["space",ri.slice(Vt,Mt),Ci,Vt-xi,Ci,Mt-xi,Vt]),Vt=Mt-1;break;case re:Mt=Vt+1,ns.push(["colon",ri.slice(Vt,Mt),Ci,Vt-xi,Ci,Mt-xi,Vt]),Vt=Mt-1;break;case x:Mt=Vt+1,ns.push(["comma",ri.slice(Vt,Mt),Ci,Vt-xi,Ci,Mt-xi,Vt]),Vt=Mt-1;break;case Z:ns.push(["{","{",Ci,Vt-xi,Ci,Mt-xi,Vt]);break;case K:ns.push(["}","}",Ci,Vt-xi,Ci,Mt-xi,Vt]);break;case oe:kr++,Lr=!Lr&&kr===1&&ns.length>0&&ns[ns.length-1][0]==="word"&&ns[ns.length-1][1]==="url",ns.push(["(","(",Ci,Vt-xi,Ci,Mt-xi,Vt]);break;case Ae:kr--,Lr=Lr&&kr>0,ns.push([")",")",Ci,Vt-xi,Ci,Mt-xi,Vt]);break;case we:case ve:si=In===we?"'":'"',Mt=Vt;do for(Ls=!1,Mt=ri.indexOf(si,Mt+1),Mt===-1&&la("quote"),Qs=Mt;ri.charCodeAt(Qs-1)===xe;)Qs-=1,Ls=!Ls;while(Ls);ns.push(["string",ri.slice(Vt,Mt+1),Ci,Vt-xi,Ci,Mt-xi,Vt]),Vt=Mt;break;case dn:Di.lastIndex=Vt+1,Di.test(ri),Di.lastIndex===0?Mt=ri.length-1:Mt=Di.lastIndex-2,ns.push(["atword",ri.slice(Vt,Mt+1),Ci,Vt-xi,Ci,Mt-xi,Vt]),Vt=Mt;break;case xe:Mt=Vt,In=ri.charCodeAt(Mt+1),ns.push(["word",ri.slice(Vt,Mt+1),Ci,Vt-xi,Ci,Mt-xi,Vt]),Vt=Mt;break;case Fe:case Ie:case Q:if(Mt=Vt+1,Ua=ri.slice(Vt+1,Mt+1),ri.slice(Vt-1,Vt),In===Ie&&Ua.charCodeAt(0)===Ie){Mt++,ns.push(["word",ri.slice(Vt,Mt),Ci,Vt-xi,Ci,Mt-xi,Vt]),Vt=Mt-1;break}ns.push(["operator",ri.slice(Vt,Mt),Ci,Vt-xi,Ci,Mt-xi,Vt]),Vt=Mt-1;break;default:if(In===Se&&(ri.charCodeAt(Vt+1)===Q||fs.loose&&!Lr&&ri.charCodeAt(Vt+1)===Se)){if(ri.charCodeAt(Vt+1)===Q)Mt=ri.indexOf("*/",Vt+2)+1,Mt===0&&la("comment");else{let sa=ri.indexOf(`
|
|
175
|
-
`,Vt+2);Mt=sa!==-1?sa-1:Oi}ia=ri.slice(Vt,Mt+1),ei=ia.split(`
|
|
176
|
-
`),ta=ei.length-1,ta>0?(ka=Ci+ta,Pa=Mt-ei[ta].length):(ka=Ci,Pa=xi),ns.push(["comment",ia,Ci,Vt-xi,ka,Mt-Pa,Vt]),xi=Pa,Ci=ka,Vt=Mt}else if(In===Xe&&!Cn.test(ri.slice(Vt+1,Vt+2)))Mt=Vt+1,ns.push(["#",ri.slice(Vt,Mt),Ci,Vt-xi,Ci,Mt-xi,Vt]),Vt=Mt-1;else if((In===Ii||In===mi)&&ri.charCodeAt(Vt+1)===Fe){Mt=Vt+2;do Mt+=1,In=ri.charCodeAt(Mt);while(Mt<Oi&&Or.test(ri.slice(Mt,Mt+1)));ns.push(["unicoderange",ri.slice(Vt,Mt),Ci,Vt-xi,Ci,Mt-xi,Vt]),Vt=Mt-1}else if(In===Se)Mt=Vt+1,ns.push(["operator",ri.slice(Vt,Mt),Ci,Vt-xi,Ci,Mt-xi,Vt]),Vt=Mt-1;else{let sa=xn;if(In>=yi&&In<=en&&(sa=Wr),sa.lastIndex=Vt+1,sa.test(ri),sa.lastIndex===0?Mt=ri.length-1:Mt=sa.lastIndex-2,sa===Wr||In===k){let aa=ri.charCodeAt(Mt),fl=ri.charCodeAt(Mt+1),wu=ri.charCodeAt(Mt+2);(aa===$n||aa===qn)&&(fl===Ie||fl===Fe)&&wu>=yi&&wu<=en&&(Wr.lastIndex=Mt+2,Wr.test(ri),Wr.lastIndex===0?Mt=ri.length-1:Mt=Wr.lastIndex-2)}ns.push(["word",ri.slice(Vt,Mt+1),Ci,Vt-xi,Ci,Mt-xi,Vt]),Vt=Mt}break}Vt++}return ns}}}),wn=Xt({"node_modules/flatten/index.js"(T,ae){je(),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,we){return Ae.reduce(function(ve,xe){return Array.isArray(xe)&&we<K?ve.concat(oe(xe,we+1)):ve.concat(xe)},[])}}}}),Yi=Xt({"node_modules/indexes-of/index.js"(T,ae){je(),ae.exports=function(Z,K){for(var oe=-1,Ae=[];(oe=Z.indexOf(K,oe+1))!==-1;)Ae.push(oe);return Ae}}}),xs=Xt({"node_modules/uniq/uniq.js"(T,ae){je();function Z(Ae,we){for(var ve=1,xe=Ae.length,Se=Ae[0],k=Ae[0],x=1;x<xe;++x)if(k=Se,Se=Ae[x],we(Se,k)){if(x===ve){ve++;continue}Ae[ve++]=Se}return Ae.length=ve,Ae}function K(Ae){for(var we=1,ve=Ae.length,xe=Ae[0],Se=Ae[0],k=1;k<ve;++k,Se=xe)if(Se=xe,xe=Ae[k],xe!==Se){if(k===we){we++;continue}Ae[we++]=xe}return Ae.length=we,Ae}function oe(Ae,we,ve){return Ae.length===0?Ae:we?(ve||Ae.sort(we),Z(Ae,we)):(ve||Ae.sort(),K(Ae))}ae.exports=oe}}),Ms=Xt({"node_modules/postcss-values-parser/lib/errors/ParserError.js"(T,ae){je();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}}),Hs=Xt({"node_modules/postcss-values-parser/lib/parser.js"(T,ae){je();var Z=$i(),K=Fu(),oe=ku(),Ae=Bo(),we=_a(),ve=tu(),xe=vo(),Se=lo(),k=du(),x=mu(),re=_o(),Q=Pu(),Ie=gu(),Fe=hr(),Xe=wn(),Ge=Yi(),Ne=xs(),vt=Ms();function Pt(Gt){return Gt.sort((dn,$n)=>dn-$n)}ae.exports=class{constructor(Gt,dn){let $n={loose:!1};this.cache=[],this.input=Gt,this.options=Object.assign({},$n,dn),this.position=0,this.unbalanced=0,this.root=new Z;let qn=new K;this.root.append(qn),this.current=qn,this.tokens=Fe(Gt,this.options)}parse(){return this.loop()}colon(){let Gt=this.currToken;this.newNode(new Ae({value:Gt[1],source:{start:{line:Gt[2],column:Gt[3]},end:{line:Gt[4],column:Gt[5]}},sourceIndex:Gt[6]})),this.position++}comma(){let Gt=this.currToken;this.newNode(new we({value:Gt[1],source:{start:{line:Gt[2],column:Gt[3]},end:{line:Gt[4],column:Gt[5]}},sourceIndex:Gt[6]})),this.position++}comment(){let Gt=!1,dn=this.currToken[1].replace(/\/\*|\*\//g,""),$n;this.options.loose&&dn.startsWith("//")&&(dn=dn.substring(2),Gt=!0),$n=new ve({value:dn,inline:Gt,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($n),this.position++}error(Gt,dn){throw new vt(Gt+" at line: ".concat(dn[2],", column ").concat(dn[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 Gt=this.currToken[1],dn;if(Gt==="+"||Gt==="-"){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 dn=new k({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(dn)}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 Gt=1,dn=this.position+1,$n=this.currToken,qn;for(;dn<this.tokens.length&≫){let yi=this.tokens[dn];yi[0]==="("&&Gt++,yi[0]===")"&&Gt--,dn++}if(Gt&&this.error("Expected closing parenthesis",$n),qn=this.current.last,qn&&qn.type==="func"&&qn.unbalanced<0&&(qn.unbalanced=0,this.current=qn),this.current.unbalanced++,this.newNode(new x({value:$n[1],source:{start:{line:$n[2],column:$n[3]},end:{line:$n[4],column:$n[5]}},sourceIndex:$n[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 yi=this.nextToken,en=this.currToken[1],Ii={line:this.currToken[2],column:this.currToken[3]};for(;yi&&yi[0]!==")"&&this.current.unbalanced;)this.position++,en+=this.currToken[1],yi=this.nextToken;this.position!==this.tokens.length-1&&(this.position++,this.newNode(new Q({value:en,source:{start:Ii,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let Gt=this.currToken;this.newNode(new x({value:Gt[1],source:{start:{line:Gt[2],column:Gt[3]},end:{line:Gt[4],column:Gt[5]}},sourceIndex:Gt[6]})),this.position++,!(this.position>=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",Gt),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let Gt=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=Gt[1],this.position++):(this.spaces=Gt[1],this.position++)}unicodeRange(){let Gt=this.currToken;this.newNode(new Ie({value:Gt[1],source:{start:{line:Gt[2],column:Gt[3]},end:{line:Gt[4],column:Gt[5]}},sourceIndex:Gt[6]})),this.position++}splitWord(){let Gt=this.nextToken,dn=this.currToken[1],$n=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,qn=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,yi,en;if(!qn.test(dn))for(;Gt&&Gt[0]==="word";)this.position++,dn+=this.currToken[1],Gt=this.nextToken;yi=Ge(dn,"@"),en=Pt(Ne(Xe([[0],yi]))),en.forEach((Ii,mi)=>{let Di=en[mi+1]||dn.length,xn=dn.slice(Ii,Di),Wr;if(~yi.indexOf(Ii))Wr=new oe({value:xn.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+Ii},end:{line:this.currToken[4],column:this.currToken[3]+(Di-1)}},sourceIndex:this.currToken[6]+en[mi]});else if($n.test(this.currToken[1])){let Cn=xn.replace($n,"");Wr=new Se({value:xn.replace(Cn,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+Ii},end:{line:this.currToken[4],column:this.currToken[3]+(Di-1)}},sourceIndex:this.currToken[6]+en[mi],unit:Cn})}else Wr=new(Gt&&Gt[0]==="("?xe:Q)({value:xn,source:{start:{line:this.currToken[2],column:this.currToken[3]+Ii},end:{line:this.currToken[4],column:this.currToken[3]+(Di-1)}},sourceIndex:this.currToken[6]+en[mi]}),Wr.type==="word"?(Wr.isHex=/^#(.+)/.test(xn),Wr.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(xn)):this.cache.push(this.current);this.newNode(Wr)}),this.position++}string(){let Gt=this.currToken,dn=this.currToken[1],$n=/^(\"|\')/,qn=$n.test(dn),yi="",en;qn&&(yi=dn.match($n)[0],dn=dn.slice(1,dn.length-1)),en=new re({value:dn,source:{start:{line:Gt[2],column:Gt[3]},end:{line:Gt[4],column:Gt[5]}},sourceIndex:Gt[6],quoted:qn}),en.raws.quote=yi,this.newNode(en),this.position++}word(){return this.splitWord()}newNode(Gt){return this.spaces&&(Gt.raws.before+=this.spaces,this.spaces=""),this.current.append(Gt)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}}}),ga=Xt({"node_modules/postcss-values-parser/lib/index.js"(T,ae){je();var Z=Hs(),K=ku(),oe=Bo(),Ae=_a(),we=tu(),ve=vo(),xe=lo(),Se=du(),k=mu(),x=_o(),re=gu(),Q=Fu(),Ie=Pu(),Fe=function(Xe,Ge){return new Z(Xe,Ge)};Fe.atword=function(Xe){return new K(Xe)},Fe.colon=function(Xe){return new oe(Object.assign({value:":"},Xe))},Fe.comma=function(Xe){return new Ae(Object.assign({value:","},Xe))},Fe.comment=function(Xe){return new we(Xe)},Fe.func=function(Xe){return new ve(Xe)},Fe.number=function(Xe){return new xe(Xe)},Fe.operator=function(Xe){return new Se(Xe)},Fe.paren=function(Xe){return new k(Object.assign({value:"("},Xe))},Fe.string=function(Xe){return new x(Object.assign({quote:"'"},Xe))},Fe.value=function(Xe){return new Q(Xe)},Fe.word=function(Xe){return new Ie(Xe)},Fe.unicodeRange=function(Xe){return new re(Xe)},ae.exports=Fe}}),Ds=Xt({"node_modules/postcss-selector-parser/dist/selectors/node.js"(T,ae){je(),T.__esModule=!0;var Z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(we){return typeof we}:function(we){return we&&typeof Symbol=="function"&&we.constructor===Symbol&&we!==Symbol.prototype?"symbol":typeof we};function K(we,ve){if(!(we instanceof ve))throw new TypeError("Cannot call a class as a function")}var oe=function we(ve,xe){if((typeof ve>"u"?"undefined":Z(ve))!=="object")return ve;var Se=new ve.constructor;for(var k in ve)if(ve.hasOwnProperty(k)){var x=ve[k],re=typeof x>"u"?"undefined":Z(x);k==="parent"&&re==="object"?xe&&(Se[k]=xe):x instanceof Array?Se[k]=x.map(function(Q){return we(Q,Se)}):Se[k]=we(x,Se)}return Se},Ae=function(){function we(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};K(this,we);for(var xe in ve)this[xe]=ve[xe];var Se=ve.spaces;Se=Se===void 0?{}:Se;var k=Se.before,x=k===void 0?"":k,re=Se.after,Q=re===void 0?"":re;this.spaces={before:x,after:Q}}return we.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},we.prototype.replaceWith=function(){if(this.parent){for(var ve in arguments)this.parent.insertBefore(this,arguments[ve]);this.remove()}return this},we.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},we.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},we.prototype.clone=function(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},xe=oe(this);for(var Se in ve)xe[Se]=ve[Se];return xe},we.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},we}();T.default=Ae,ae.exports=T.default}}),Ps=Xt({"node_modules/postcss-selector-parser/dist/selectors/types.js"(T){je(),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"}}),Ws=Xt({"node_modules/postcss-selector-parser/dist/selectors/container.js"(T,ae){je(),T.__esModule=!0;var Z=function(){function Q(Ie,Fe){for(var Xe=0;Xe<Fe.length;Xe++){var Ge=Fe[Xe];Ge.enumerable=Ge.enumerable||!1,Ge.configurable=!0,"value"in Ge&&(Ge.writable=!0),Object.defineProperty(Ie,Ge.key,Ge)}}return function(Ie,Fe,Xe){return Fe&&Q(Ie.prototype,Fe),Xe&&Q(Ie,Xe),Ie}}(),K=Ds(),oe=xe(K),Ae=Ps(),we=ve(Ae);function ve(Q){if(Q&&Q.__esModule)return Q;var Ie={};if(Q!=null)for(var Fe in Q)Object.prototype.hasOwnProperty.call(Q,Fe)&&(Ie[Fe]=Q[Fe]);return Ie.default=Q,Ie}function xe(Q){return Q&&Q.__esModule?Q:{default:Q}}function Se(Q,Ie){if(!(Q instanceof Ie))throw new TypeError("Cannot call a class as a function")}function k(Q,Ie){if(!Q)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ie&&(typeof Ie=="object"||typeof Ie=="function")?Ie:Q}function x(Q,Ie){if(typeof Ie!="function"&&Ie!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ie);Q.prototype=Object.create(Ie&&Ie.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),Ie&&(Object.setPrototypeOf?Object.setPrototypeOf(Q,Ie):Q.__proto__=Ie)}var re=function(Q){x(Ie,Q);function Ie(Fe){Se(this,Ie);var Xe=k(this,Q.call(this,Fe));return Xe.nodes||(Xe.nodes=[]),Xe}return Ie.prototype.append=function(Fe){return Fe.parent=this,this.nodes.push(Fe),this},Ie.prototype.prepend=function(Fe){return Fe.parent=this,this.nodes.unshift(Fe),this},Ie.prototype.at=function(Fe){return this.nodes[Fe]},Ie.prototype.index=function(Fe){return typeof Fe=="number"?Fe:this.nodes.indexOf(Fe)},Ie.prototype.removeChild=function(Fe){Fe=this.index(Fe),this.at(Fe).parent=void 0,this.nodes.splice(Fe,1);var Xe=void 0;for(var Ge in this.indexes)Xe=this.indexes[Ge],Xe>=Fe&&(this.indexes[Ge]=Xe-1);return this},Ie.prototype.removeAll=function(){for(var Ge=this.nodes,Fe=Array.isArray(Ge),Xe=0,Ge=Fe?Ge:Ge[Symbol.iterator]();;){var Ne;if(Fe){if(Xe>=Ge.length)break;Ne=Ge[Xe++]}else{if(Xe=Ge.next(),Xe.done)break;Ne=Xe.value}var vt=Ne;vt.parent=void 0}return this.nodes=[],this},Ie.prototype.empty=function(){return this.removeAll()},Ie.prototype.insertAfter=function(Fe,Xe){var Ge=this.index(Fe);this.nodes.splice(Ge+1,0,Xe);var Ne=void 0;for(var vt in this.indexes)Ne=this.indexes[vt],Ge<=Ne&&(this.indexes[vt]=Ne+this.nodes.length);return this},Ie.prototype.insertBefore=function(Fe,Xe){var Ge=this.index(Fe);this.nodes.splice(Ge,0,Xe);var Ne=void 0;for(var vt in this.indexes)Ne=this.indexes[vt],Ge<=Ne&&(this.indexes[vt]=Ne+this.nodes.length);return this},Ie.prototype.each=function(Fe){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var Xe=this.lastEach;if(this.indexes[Xe]=0,!!this.length){for(var Ge=void 0,Ne=void 0;this.indexes[Xe]<this.length&&(Ge=this.indexes[Xe],Ne=Fe(this.at(Ge),Ge),Ne!==!1);)this.indexes[Xe]+=1;if(delete this.indexes[Xe],Ne===!1)return!1}},Ie.prototype.walk=function(Fe){return this.each(function(Xe,Ge){var Ne=Fe(Xe,Ge);if(Ne!==!1&&Xe.length&&(Ne=Xe.walk(Fe)),Ne===!1)return!1})},Ie.prototype.walkAttributes=function(Fe){var Xe=this;return this.walk(function(Ge){if(Ge.type===we.ATTRIBUTE)return Fe.call(Xe,Ge)})},Ie.prototype.walkClasses=function(Fe){var Xe=this;return this.walk(function(Ge){if(Ge.type===we.CLASS)return Fe.call(Xe,Ge)})},Ie.prototype.walkCombinators=function(Fe){var Xe=this;return this.walk(function(Ge){if(Ge.type===we.COMBINATOR)return Fe.call(Xe,Ge)})},Ie.prototype.walkComments=function(Fe){var Xe=this;return this.walk(function(Ge){if(Ge.type===we.COMMENT)return Fe.call(Xe,Ge)})},Ie.prototype.walkIds=function(Fe){var Xe=this;return this.walk(function(Ge){if(Ge.type===we.ID)return Fe.call(Xe,Ge)})},Ie.prototype.walkNesting=function(Fe){var Xe=this;return this.walk(function(Ge){if(Ge.type===we.NESTING)return Fe.call(Xe,Ge)})},Ie.prototype.walkPseudos=function(Fe){var Xe=this;return this.walk(function(Ge){if(Ge.type===we.PSEUDO)return Fe.call(Xe,Ge)})},Ie.prototype.walkTags=function(Fe){var Xe=this;return this.walk(function(Ge){if(Ge.type===we.TAG)return Fe.call(Xe,Ge)})},Ie.prototype.walkUniversals=function(Fe){var Xe=this;return this.walk(function(Ge){if(Ge.type===we.UNIVERSAL)return Fe.call(Xe,Ge)})},Ie.prototype.split=function(Fe){var Xe=this,Ge=[];return this.reduce(function(Ne,vt,Pt){var Gt=Fe.call(Xe,vt);return Ge.push(vt),Gt?(Ne.push(Ge),Ge=[]):Pt===Xe.length-1&&Ne.push(Ge),Ne},[])},Ie.prototype.map=function(Fe){return this.nodes.map(Fe)},Ie.prototype.reduce=function(Fe,Xe){return this.nodes.reduce(Fe,Xe)},Ie.prototype.every=function(Fe){return this.nodes.every(Fe)},Ie.prototype.some=function(Fe){return this.nodes.some(Fe)},Ie.prototype.filter=function(Fe){return this.nodes.filter(Fe)},Ie.prototype.sort=function(Fe){return this.nodes.sort(Fe)},Ie.prototype.toString=function(){return this.map(String).join("")},Z(Ie,[{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}}]),Ie}(oe.default);T.default=re,ae.exports=T.default}}),ha=Xt({"node_modules/postcss-selector-parser/dist/selectors/root.js"(T,ae){je(),T.__esModule=!0;var Z=Ws(),K=Ae(Z),oe=Ps();function Ae(k){return k&&k.__esModule?k:{default:k}}function we(k,x){if(!(k instanceof x))throw new TypeError("Cannot call a class as a function")}function ve(k,x){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:k}function xe(k,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);k.prototype=Object.create(x&&x.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(k,x):k.__proto__=x)}var Se=function(k){xe(x,k);function x(re){we(this,x);var Q=ve(this,k.call(this,re));return Q.type=oe.ROOT,Q}return x.prototype.toString=function(){var re=this.reduce(function(Q,Ie){var Fe=String(Ie);return Fe?Q+Fe+",":""},"").slice(0,-1);return this.trailingComma?re+",":re},x}(K.default);T.default=Se,ae.exports=T.default}}),Dn=Xt({"node_modules/postcss-selector-parser/dist/selectors/selector.js"(T,ae){je(),T.__esModule=!0;var Z=Ws(),K=Ae(Z),oe=Ps();function Ae(k){return k&&k.__esModule?k:{default:k}}function we(k,x){if(!(k instanceof x))throw new TypeError("Cannot call a class as a function")}function ve(k,x){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:k}function xe(k,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);k.prototype=Object.create(x&&x.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(k,x):k.__proto__=x)}var Se=function(k){xe(x,k);function x(re){we(this,x);var Q=ve(this,k.call(this,re));return Q.type=oe.SELECTOR,Q}return x}(K.default);T.default=Se,ae.exports=T.default}}),Hn=Xt({"node_modules/postcss-selector-parser/dist/selectors/namespace.js"(T,ae){je(),T.__esModule=!0;var Z=function(){function k(x,re){for(var Q=0;Q<re.length;Q++){var Ie=re[Q];Ie.enumerable=Ie.enumerable||!1,Ie.configurable=!0,"value"in Ie&&(Ie.writable=!0),Object.defineProperty(x,Ie.key,Ie)}}return function(x,re,Q){return re&&k(x.prototype,re),Q&&k(x,Q),x}}(),K=Ds(),oe=Ae(K);function Ae(k){return k&&k.__esModule?k:{default:k}}function we(k,x){if(!(k instanceof x))throw new TypeError("Cannot call a class as a function")}function ve(k,x){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:k}function xe(k,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);k.prototype=Object.create(x&&x.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(k,x):k.__proto__=x)}var Se=function(k){xe(x,k);function x(){return we(this,x),ve(this,k.apply(this,arguments))}return x.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")},Z(x,[{key:"ns",get:function(){var re=this.namespace;return re?(typeof re=="string"?re:"")+"|":""}}]),x}(oe.default);T.default=Se,ae.exports=T.default}}),li=Xt({"node_modules/postcss-selector-parser/dist/selectors/className.js"(T,ae){je(),T.__esModule=!0;var Z=Hn(),K=Ae(Z),oe=Ps();function Ae(k){return k&&k.__esModule?k:{default:k}}function we(k,x){if(!(k instanceof x))throw new TypeError("Cannot call a class as a function")}function ve(k,x){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:k}function xe(k,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);k.prototype=Object.create(x&&x.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(k,x):k.__proto__=x)}var Se=function(k){xe(x,k);function x(re){we(this,x);var Q=ve(this,k.call(this,re));return Q.type=oe.CLASS,Q}return x.prototype.toString=function(){return[this.spaces.before,this.ns,String("."+this.value),this.spaces.after].join("")},x}(K.default);T.default=Se,ae.exports=T.default}}),ci=Xt({"node_modules/postcss-selector-parser/dist/selectors/comment.js"(T,ae){je(),T.__esModule=!0;var Z=Ds(),K=Ae(Z),oe=Ps();function Ae(k){return k&&k.__esModule?k:{default:k}}function we(k,x){if(!(k instanceof x))throw new TypeError("Cannot call a class as a function")}function ve(k,x){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:k}function xe(k,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);k.prototype=Object.create(x&&x.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(k,x):k.__proto__=x)}var Se=function(k){xe(x,k);function x(re){we(this,x);var Q=ve(this,k.call(this,re));return Q.type=oe.COMMENT,Q}return x}(K.default);T.default=Se,ae.exports=T.default}}),ki=Xt({"node_modules/postcss-selector-parser/dist/selectors/id.js"(T,ae){je(),T.__esModule=!0;var Z=Hn(),K=Ae(Z),oe=Ps();function Ae(k){return k&&k.__esModule?k:{default:k}}function we(k,x){if(!(k instanceof x))throw new TypeError("Cannot call a class as a function")}function ve(k,x){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:k}function xe(k,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);k.prototype=Object.create(x&&x.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(k,x):k.__proto__=x)}var Se=function(k){xe(x,k);function x(re){we(this,x);var Q=ve(this,k.call(this,re));return Q.type=oe.ID,Q}return x.prototype.toString=function(){return[this.spaces.before,this.ns,String("#"+this.value),this.spaces.after].join("")},x}(K.default);T.default=Se,ae.exports=T.default}}),Ns=Xt({"node_modules/postcss-selector-parser/dist/selectors/tag.js"(T,ae){je(),T.__esModule=!0;var Z=Hn(),K=Ae(Z),oe=Ps();function Ae(k){return k&&k.__esModule?k:{default:k}}function we(k,x){if(!(k instanceof x))throw new TypeError("Cannot call a class as a function")}function ve(k,x){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:k}function xe(k,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);k.prototype=Object.create(x&&x.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(k,x):k.__proto__=x)}var Se=function(k){xe(x,k);function x(re){we(this,x);var Q=ve(this,k.call(this,re));return Q.type=oe.TAG,Q}return x}(K.default);T.default=Se,ae.exports=T.default}}),Ts=Xt({"node_modules/postcss-selector-parser/dist/selectors/string.js"(T,ae){je(),T.__esModule=!0;var Z=Ds(),K=Ae(Z),oe=Ps();function Ae(k){return k&&k.__esModule?k:{default:k}}function we(k,x){if(!(k instanceof x))throw new TypeError("Cannot call a class as a function")}function ve(k,x){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:k}function xe(k,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);k.prototype=Object.create(x&&x.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(k,x):k.__proto__=x)}var Se=function(k){xe(x,k);function x(re){we(this,x);var Q=ve(this,k.call(this,re));return Q.type=oe.STRING,Q}return x}(K.default);T.default=Se,ae.exports=T.default}}),ea=Xt({"node_modules/postcss-selector-parser/dist/selectors/pseudo.js"(T,ae){je(),T.__esModule=!0;var Z=Ws(),K=Ae(Z),oe=Ps();function Ae(k){return k&&k.__esModule?k:{default:k}}function we(k,x){if(!(k instanceof x))throw new TypeError("Cannot call a class as a function")}function ve(k,x){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:k}function xe(k,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);k.prototype=Object.create(x&&x.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(k,x):k.__proto__=x)}var Se=function(k){xe(x,k);function x(re){we(this,x);var Q=ve(this,k.call(this,re));return Q.type=oe.PSEUDO,Q}return x.prototype.toString=function(){var re=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),re,this.spaces.after].join("")},x}(K.default);T.default=Se,ae.exports=T.default}}),La=Xt({"node_modules/postcss-selector-parser/dist/selectors/attribute.js"(T,ae){je(),T.__esModule=!0;var Z=Hn(),K=Ae(Z),oe=Ps();function Ae(k){return k&&k.__esModule?k:{default:k}}function we(k,x){if(!(k instanceof x))throw new TypeError("Cannot call a class as a function")}function ve(k,x){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:k}function xe(k,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);k.prototype=Object.create(x&&x.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(k,x):k.__proto__=x)}var Se=function(k){xe(x,k);function x(re){we(this,x);var Q=ve(this,k.call(this,re));return Q.type=oe.ATTRIBUTE,Q.raws={},Q}return x.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("")},x}(K.default);T.default=Se,ae.exports=T.default}}),nu=Xt({"node_modules/postcss-selector-parser/dist/selectors/universal.js"(T,ae){je(),T.__esModule=!0;var Z=Hn(),K=Ae(Z),oe=Ps();function Ae(k){return k&&k.__esModule?k:{default:k}}function we(k,x){if(!(k instanceof x))throw new TypeError("Cannot call a class as a function")}function ve(k,x){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:k}function xe(k,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);k.prototype=Object.create(x&&x.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(k,x):k.__proto__=x)}var Se=function(k){xe(x,k);function x(re){we(this,x);var Q=ve(this,k.call(this,re));return Q.type=oe.UNIVERSAL,Q.value="*",Q}return x}(K.default);T.default=Se,ae.exports=T.default}}),qa=Xt({"node_modules/postcss-selector-parser/dist/selectors/combinator.js"(T,ae){je(),T.__esModule=!0;var Z=Ds(),K=Ae(Z),oe=Ps();function Ae(k){return k&&k.__esModule?k:{default:k}}function we(k,x){if(!(k instanceof x))throw new TypeError("Cannot call a class as a function")}function ve(k,x){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:k}function xe(k,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);k.prototype=Object.create(x&&x.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(k,x):k.__proto__=x)}var Se=function(k){xe(x,k);function x(re){we(this,x);var Q=ve(this,k.call(this,re));return Q.type=oe.COMBINATOR,Q}return x}(K.default);T.default=Se,ae.exports=T.default}}),Ca=Xt({"node_modules/postcss-selector-parser/dist/selectors/nesting.js"(T,ae){je(),T.__esModule=!0;var Z=Ds(),K=Ae(Z),oe=Ps();function Ae(k){return k&&k.__esModule?k:{default:k}}function we(k,x){if(!(k instanceof x))throw new TypeError("Cannot call a class as a function")}function ve(k,x){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:k}function xe(k,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);k.prototype=Object.create(x&&x.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(k,x):k.__proto__=x)}var Se=function(k){xe(x,k);function x(re){we(this,x);var Q=ve(this,k.call(this,re));return Q.type=oe.NESTING,Q.value="&",Q}return x}(K.default);T.default=Se,ae.exports=T.default}}),co=Xt({"node_modules/postcss-selector-parser/dist/sortAscending.js"(T,ae){je(),T.__esModule=!0,T.default=Z;function Z(K){return K.sort(function(oe,Ae){return oe-Ae})}ae.exports=T.default}}),Uo=Xt({"node_modules/postcss-selector-parser/dist/tokenize.js"(T,ae){je(),T.__esModule=!0,T.default=Ii;var Z=39,K=34,oe=92,Ae=47,we=10,ve=32,xe=12,Se=9,k=13,x=43,re=62,Q=126,Ie=124,Fe=44,Xe=40,Ge=41,Ne=91,vt=93,Pt=59,Gt=42,dn=58,$n=38,qn=64,yi=/[ \n\t\r\{\(\)'"\\;/]/g,en=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function Ii(mi){for(var Di=[],xn=mi.css.valueOf(),Wr=void 0,Cn=void 0,Or=void 0,Ks=void 0,ms=void 0,rs=void 0,fs=void 0,ns=void 0,ri=void 0,Oi=void 0,xi=void 0,Ci=xn.length,Vt=-1,kr=1,Lr=0,In=function(Mt,si){if(mi.safe)xn+=si,Cn=xn.length-1;else throw mi.error("Unclosed "+Mt,kr,Lr-Vt,Lr)};Lr<Ci;){switch(Wr=xn.charCodeAt(Lr),Wr===we&&(Vt=Lr,kr+=1),Wr){case we:case ve:case Se:case k:case xe:Cn=Lr;do Cn+=1,Wr=xn.charCodeAt(Cn),Wr===we&&(Vt=Cn,kr+=1);while(Wr===ve||Wr===we||Wr===Se||Wr===k||Wr===xe);Di.push(["space",xn.slice(Lr,Cn),kr,Lr-Vt,Lr]),Lr=Cn-1;break;case x:case re:case Q:case Ie:Cn=Lr;do Cn+=1,Wr=xn.charCodeAt(Cn);while(Wr===x||Wr===re||Wr===Q||Wr===Ie);Di.push(["combinator",xn.slice(Lr,Cn),kr,Lr-Vt,Lr]),Lr=Cn-1;break;case Gt:Di.push(["*","*",kr,Lr-Vt,Lr]);break;case $n:Di.push(["&","&",kr,Lr-Vt,Lr]);break;case Fe:Di.push([",",",",kr,Lr-Vt,Lr]);break;case Ne:Di.push(["[","[",kr,Lr-Vt,Lr]);break;case vt:Di.push(["]","]",kr,Lr-Vt,Lr]);break;case dn:Di.push([":",":",kr,Lr-Vt,Lr]);break;case Pt:Di.push([";",";",kr,Lr-Vt,Lr]);break;case Xe:Di.push(["(","(",kr,Lr-Vt,Lr]);break;case Ge:Di.push([")",")",kr,Lr-Vt,Lr]);break;case Z:case K:Or=Wr===Z?"'":'"',Cn=Lr;do for(Oi=!1,Cn=xn.indexOf(Or,Cn+1),Cn===-1&&In("quote",Or),xi=Cn;xn.charCodeAt(xi-1)===oe;)xi-=1,Oi=!Oi;while(Oi);Di.push(["string",xn.slice(Lr,Cn+1),kr,Lr-Vt,kr,Cn-Vt,Lr]),Lr=Cn;break;case qn:yi.lastIndex=Lr+1,yi.test(xn),yi.lastIndex===0?Cn=xn.length-1:Cn=yi.lastIndex-2,Di.push(["at-word",xn.slice(Lr,Cn+1),kr,Lr-Vt,kr,Cn-Vt,Lr]),Lr=Cn;break;case oe:for(Cn=Lr,fs=!0;xn.charCodeAt(Cn+1)===oe;)Cn+=1,fs=!fs;Wr=xn.charCodeAt(Cn+1),fs&&Wr!==Ae&&Wr!==ve&&Wr!==we&&Wr!==Se&&Wr!==k&&Wr!==xe&&(Cn+=1),Di.push(["word",xn.slice(Lr,Cn+1),kr,Lr-Vt,kr,Cn-Vt,Lr]),Lr=Cn;break;default:Wr===Ae&&xn.charCodeAt(Lr+1)===Gt?(Cn=xn.indexOf("*/",Lr+2)+1,Cn===0&&In("comment","*/"),rs=xn.slice(Lr,Cn+1),Ks=rs.split(`
|
|
177
|
-
`),ms=Ks.length-1,ms>0?(ns=kr+ms,ri=Cn-Ks[ms].length):(ns=kr,ri=Vt),Di.push(["comment",rs,kr,Lr-Vt,ns,Cn-ri,Lr]),Vt=ri,kr=ns,Lr=Cn):(en.lastIndex=Lr+1,en.test(xn),en.lastIndex===0?Cn=xn.length-1:Cn=en.lastIndex-2,Di.push(["word",xn.slice(Lr,Cn+1),kr,Lr-Vt,kr,Cn-Vt,Lr]),Lr=Cn);break}Lr++}return Di}ae.exports=T.default}}),Ea=Xt({"node_modules/postcss-selector-parser/dist/parser.js"(T,ae){je(),T.__esModule=!0;var Z=function(){function Vt(kr,Lr){for(var In=0;In<Lr.length;In++){var Mt=Lr[In];Mt.enumerable=Mt.enumerable||!1,Mt.configurable=!0,"value"in Mt&&(Mt.writable=!0),Object.defineProperty(kr,Mt.key,Mt)}}return function(kr,Lr,In){return Lr&&Vt(kr.prototype,Lr),In&&Vt(kr,In),kr}}(),K=wn(),oe=Oi(K),Ae=Yi(),we=Oi(Ae),ve=xs(),xe=Oi(ve),Se=ha(),k=Oi(Se),x=Dn(),re=Oi(x),Q=li(),Ie=Oi(Q),Fe=ci(),Xe=Oi(Fe),Ge=ki(),Ne=Oi(Ge),vt=Ns(),Pt=Oi(vt),Gt=Ts(),dn=Oi(Gt),$n=ea(),qn=Oi($n),yi=La(),en=Oi(yi),Ii=nu(),mi=Oi(Ii),Di=qa(),xn=Oi(Di),Wr=Ca(),Cn=Oi(Wr),Or=co(),Ks=Oi(Or),ms=Uo(),rs=Oi(ms),fs=Ps(),ns=ri(fs);function ri(Vt){if(Vt&&Vt.__esModule)return Vt;var kr={};if(Vt!=null)for(var Lr in Vt)Object.prototype.hasOwnProperty.call(Vt,Lr)&&(kr[Lr]=Vt[Lr]);return kr.default=Vt,kr}function Oi(Vt){return Vt&&Vt.__esModule?Vt:{default:Vt}}function xi(Vt,kr){if(!(Vt instanceof kr))throw new TypeError("Cannot call a class as a function")}var Ci=function(){function Vt(kr){xi(this,Vt),this.input=kr,this.lossy=kr.options.lossless===!1,this.position=0,this.root=new k.default;var Lr=new re.default;return this.root.append(Lr),this.current=Lr,this.lossy?this.tokens=(0,rs.default)({safe:kr.safe,css:kr.css.trim()}):this.tokens=(0,rs.default)(kr),this.loop()}return Vt.prototype.attribute=function(){var kr="",Lr=void 0,In=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)kr+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~kr.indexOf("]")&&this.error("Expected a closing square bracket.");var Mt=kr.split(/((?:[*~^$|]?=))([^]*)/),si=Mt[0].split(/(\|)/g),ei={operator:Mt[1],value:Mt[2],source:{start:{line:In[2],column:In[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:In[4]};if(si.length>1?(si[0]===""&&(si[0]=!0),ei.attribute=this.parseValue(si[2]),ei.namespace=this.parseNamespace(si[0])):ei.attribute=this.parseValue(Mt[0]),Lr=new en.default(ei),Mt[2]){var ta=Mt[2].split(/(\s+i\s*?)$/),ia=ta[0].trim();Lr.value=this.lossy?ia:ta[0],ta[1]&&(Lr.insensitive=!0,this.lossy||(Lr.raws.insensitive=ta[1])),Lr.quoted=ia[0]==="'"||ia[0]==='"',Lr.raws.unquoted=Lr.quoted?ia.slice(1,-1):ia}this.newNode(Lr),this.position++},Vt.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var kr=new xn.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"?(kr.spaces.before=this.parseSpace(this.currToken[1]),kr.source.start.line=this.nextToken[2],kr.source.start.column=this.nextToken[3],kr.source.end.column=this.nextToken[3],kr.source.end.line=this.nextToken[2],kr.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?kr.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?kr.value=this.currToken[1]:this.currToken[0]==="space"&&(kr.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(kr)},Vt.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var kr=new re.default;this.current.parent.append(kr),this.current=kr,this.position++},Vt.prototype.comment=function(){var kr=new Xe.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]});this.newNode(kr),this.position++},Vt.prototype.error=function(kr){throw new this.input.error(kr)},Vt.prototype.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.")},Vt.prototype.missingParenthesis=function(){return this.error("Expected opening parenthesis.")},Vt.prototype.missingSquareBracket=function(){return this.error("Expected opening square bracket.")},Vt.prototype.namespace=function(){var kr=this.prevToken&&this.prevToken[1]||!0;if(this.nextToken[0]==="word")return this.position++,this.word(kr);if(this.nextToken[0]==="*")return this.position++,this.universal(kr)},Vt.prototype.nesting=function(){this.newNode(new Cn.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++},Vt.prototype.parentheses=function(){var kr=this.current.last;if(kr&&kr.type===ns.PSEUDO){var Lr=new re.default,In=this.current;kr.append(Lr),this.current=Lr;var Mt=1;for(this.position++;this.position<this.tokens.length&&Mt;)this.currToken[0]==="("&&Mt++,this.currToken[0]===")"&&Mt--,Mt?this.parse():(Lr.parent.source.end.line=this.currToken[2],Lr.parent.source.end.column=this.currToken[3],this.position++);Mt&&this.error("Expected closing parenthesis."),this.current=In}else{var si=1;for(this.position++,kr.value+="(";this.position<this.tokens.length&&si;)this.currToken[0]==="("&&si++,this.currToken[0]===")"&&si--,kr.value+=this.parseParenthesisToken(this.currToken),this.position++;si&&this.error("Expected closing parenthesis.")}},Vt.prototype.pseudo=function(){for(var kr=this,Lr="",In=this.currToken;this.currToken&&this.currToken[0]===":";)Lr+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if(this.currToken[0]==="word"){var Mt=void 0;this.splitWord(!1,function(si,ei){Lr+=si,Mt=new qn.default({value:Lr,source:{start:{line:In[2],column:In[3]},end:{line:kr.currToken[4],column:kr.currToken[5]}},sourceIndex:In[4]}),kr.newNode(Mt),ei>1&&kr.nextToken&&kr.nextToken[0]==="("&&kr.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},Vt.prototype.space=function(){var kr=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(kr[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(kr[1]),this.position++):this.combinator()},Vt.prototype.string=function(){var kr=this.currToken;this.newNode(new dn.default({value:this.currToken[1],source:{start:{line:kr[2],column:kr[3]},end:{line:kr[4],column:kr[5]}},sourceIndex:kr[6]})),this.position++},Vt.prototype.universal=function(kr){var Lr=this.nextToken;if(Lr&&Lr[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]}),kr),this.position++},Vt.prototype.splitWord=function(kr,Lr){for(var In=this,Mt=this.nextToken,si=this.currToken[1];Mt&&Mt[0]==="word";){this.position++;var ei=this.currToken[1];if(si+=ei,ei.lastIndexOf("\\")===ei.length-1){var ta=this.nextToken;ta&&ta[0]==="space"&&(si+=this.parseSpace(ta[1]," "),this.position++)}Mt=this.nextToken}var ia=(0,we.default)(si,"."),ka=(0,we.default)(si,"#"),Pa=(0,we.default)(si,"#{");Pa.length&&(ka=ka.filter(function(Qs){return!~Pa.indexOf(Qs)}));var Ls=(0,Ks.default)((0,xe.default)((0,oe.default)([[0],ia,ka])));Ls.forEach(function(Qs,Ua){var la=Ls[Ua+1]||si.length,sa=si.slice(Qs,la);if(Ua===0&&Lr)return Lr.call(In,sa,Ls.length);var aa=void 0;~ia.indexOf(Qs)?aa=new Ie.default({value:sa.slice(1),source:{start:{line:In.currToken[2],column:In.currToken[3]+Qs},end:{line:In.currToken[4],column:In.currToken[3]+(la-1)}},sourceIndex:In.currToken[6]+Ls[Ua]}):~ka.indexOf(Qs)?aa=new Ne.default({value:sa.slice(1),source:{start:{line:In.currToken[2],column:In.currToken[3]+Qs},end:{line:In.currToken[4],column:In.currToken[3]+(la-1)}},sourceIndex:In.currToken[6]+Ls[Ua]}):aa=new Pt.default({value:sa,source:{start:{line:In.currToken[2],column:In.currToken[3]+Qs},end:{line:In.currToken[4],column:In.currToken[3]+(la-1)}},sourceIndex:In.currToken[6]+Ls[Ua]}),In.newNode(aa,kr)}),this.position++},Vt.prototype.word=function(kr){var Lr=this.nextToken;return Lr&&Lr[1]==="|"?(this.position++,this.namespace()):this.splitWord(kr)},Vt.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},Vt.prototype.parse=function(kr){switch(this.currToken[0]){case"space":this.space();break;case"comment":this.comment();break;case"(":this.parentheses();break;case")":kr&&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}},Vt.prototype.parseNamespace=function(kr){if(this.lossy&&typeof kr=="string"){var Lr=kr.trim();return Lr.length?Lr:!0}return kr},Vt.prototype.parseSpace=function(kr,Lr){return this.lossy?Lr||"":kr},Vt.prototype.parseValue=function(kr){return this.lossy&&kr&&typeof kr=="string"?kr.trim():kr},Vt.prototype.parseParenthesisToken=function(kr){return this.lossy?kr[0]==="space"?this.parseSpace(kr[1]," "):this.parseValue(kr[1]):kr[1]},Vt.prototype.newNode=function(kr,Lr){return Lr&&(kr.namespace=this.parseNamespace(Lr)),this.spaces&&(kr.spaces.before=this.spaces,this.spaces=""),this.current.append(kr)},Z(Vt,[{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]}}]),Vt}();T.default=Ci,ae.exports=T.default}}),Va=Xt({"node_modules/postcss-selector-parser/dist/processor.js"(T,ae){je(),T.__esModule=!0;var Z=function(){function xe(Se,k){for(var x=0;x<k.length;x++){var re=k[x];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(Se,re.key,re)}}return function(Se,k,x){return k&&xe(Se.prototype,k),x&&xe(Se,x),Se}}(),K=Ea(),oe=Ae(K);function Ae(xe){return xe&&xe.__esModule?xe:{default:xe}}function we(xe,Se){if(!(xe instanceof Se))throw new TypeError("Cannot call a class as a function")}var ve=function(){function xe(Se){return we(this,xe),this.func=Se||function(){},this}return xe.prototype.process=function(Se){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},x=new oe.default({css:Se,error:function(re){throw new Error(re)},options:k});return this.res=x,this.func(x),this},Z(xe,[{key:"result",get:function(){return String(this.res)}}]),xe}();T.default=ve,ae.exports=T.default}}),Ma=Xt({"node_modules/postcss-selector-parser/dist/index.js"(T,ae){je(),T.__esModule=!0;var Z=Va(),K=Wr(Z),oe=La(),Ae=Wr(oe),we=li(),ve=Wr(we),xe=qa(),Se=Wr(xe),k=ci(),x=Wr(k),re=ki(),Q=Wr(re),Ie=Ca(),Fe=Wr(Ie),Xe=ea(),Ge=Wr(Xe),Ne=ha(),vt=Wr(Ne),Pt=Dn(),Gt=Wr(Pt),dn=Ts(),$n=Wr(dn),qn=Ns(),yi=Wr(qn),en=nu(),Ii=Wr(en),mi=Ps(),Di=xn(mi);function xn(Or){if(Or&&Or.__esModule)return Or;var Ks={};if(Or!=null)for(var ms in Or)Object.prototype.hasOwnProperty.call(Or,ms)&&(Ks[ms]=Or[ms]);return Ks.default=Or,Ks}function Wr(Or){return Or&&Or.__esModule?Or:{default:Or}}var Cn=function(Or){return new K.default(Or)};Cn.attribute=function(Or){return new Ae.default(Or)},Cn.className=function(Or){return new ve.default(Or)},Cn.combinator=function(Or){return new Se.default(Or)},Cn.comment=function(Or){return new x.default(Or)},Cn.id=function(Or){return new Q.default(Or)},Cn.nesting=function(Or){return new Fe.default(Or)},Cn.pseudo=function(Or){return new Ge.default(Or)},Cn.root=function(Or){return new vt.default(Or)},Cn.selector=function(Or){return new Gt.default(Or)},Cn.string=function(Or){return new $n.default(Or)},Cn.tag=function(Or){return new yi.default(Or)},Cn.universal=function(Or){return new Ii.default(Or)},Object.keys(Di).forEach(function(Or){Or!=="__esModule"&&(Cn[Or]=Di[Or])}),T.default=Cn,ae.exports=T.default}}),zo=Xt({"node_modules/postcss-media-query-parser/dist/nodes/Node.js"(T){je(),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}}),vs=Xt({"node_modules/postcss-media-query-parser/dist/nodes/Container.js"(T){je(),Object.defineProperty(T,"__esModule",{value:!0});var ae=zo(),Z=K(ae);function K(Ae){return Ae&&Ae.__esModule?Ae:{default:Ae}}function oe(Ae){var we=this;this.constructor(Ae),this.nodes=Ae.nodes,this.after===void 0&&(this.after=this.nodes.length>0?this.nodes[this.nodes.length-1].after:""),this.before===void 0&&(this.before=this.nodes.length>0?this.nodes[0].before:""),this.sourceIndex===void 0&&(this.sourceIndex=this.before.length),this.nodes.forEach(function(ve){ve.parent=we})}oe.prototype=Object.create(Z.default.prototype),oe.constructor=Z.default,oe.prototype.walk=function(Ae,we){for(var ve=typeof Ae=="string"||Ae instanceof RegExp,xe=ve?we:Ae,Se=typeof Ae=="string"?new RegExp(Ae):Ae,k=0;k<this.nodes.length;k++){var x=this.nodes[k],re=ve?Se.test(x.type):!0;if(re&&xe&&xe(x,k,this.nodes)===!1||x.nodes&&x.walk(Ae,we)===!1)return!1}return!0},oe.prototype.each=function(){for(var Ae=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],we=0;we<this.nodes.length;we++){var ve=this.nodes[we];if(Ae(ve,we,this.nodes)===!1)return!1}return!0},T.default=oe}}),ua=Xt({"node_modules/postcss-media-query-parser/dist/parsers.js"(T){je(),Object.defineProperty(T,"__esModule",{value:!0}),T.parseMediaFeature=we,T.parseMediaQuery=ve,T.parseMediaList=xe;var ae=zo(),Z=Ae(ae),K=vs(),oe=Ae(K);function Ae(Se){return Se&&Se.__esModule?Se:{default:Se}}function we(Se){var k=arguments.length<=1||arguments[1]===void 0?0:arguments[1],x=[{mode:"normal",character:null}],re=[],Q=0,Ie="",Fe=null,Xe=null,Ge=k,Ne=Se;Se[0]==="("&&Se[Se.length-1]===")"&&(Ne=Se.substring(1,Se.length-1),Ge++);for(var vt=0;vt<Ne.length;vt++){var Pt=Ne[vt];if((Pt==="'"||Pt==='"')&&(x[Q].isCalculationEnabled===!0?(x.push({mode:"string",isCalculationEnabled:!1,character:Pt}),Q++):x[Q].mode==="string"&&x[Q].character===Pt&&Ne[vt-1]!=="\\"&&(x.pop(),Q--)),Pt==="{"?(x.push({mode:"interpolation",isCalculationEnabled:!0}),Q++):Pt==="}"&&(x.pop(),Q--),x[Q].mode==="normal"&&Pt===":"){var Gt=Ne.substring(vt+1);Xe={type:"value",before:/^(\s*)/.exec(Gt)[1],after:/(\s*)$/.exec(Gt)[1],value:Gt.trim()},Xe.sourceIndex=Xe.before.length+vt+1+Ge,Fe={type:"colon",sourceIndex:vt+Ge,after:Xe.before,value:":"};break}Ie+=Pt}return Ie={type:"media-feature",before:/^(\s*)/.exec(Ie)[1],after:/(\s*)$/.exec(Ie)[1],value:Ie.trim()},Ie.sourceIndex=Ie.before.length+Ge,re.push(Ie),Fe!==null&&(Fe.before=Ie.after,re.push(Fe)),Xe!==null&&re.push(Xe),re}function ve(Se){var k=arguments.length<=1||arguments[1]===void 0?0:arguments[1],x=[],re=0,Q=!1,Ie=void 0;function Fe(){return{before:"",after:"",value:""}}Ie=Fe();for(var Xe=0;Xe<Se.length;Xe++){var Ge=Se[Xe];Q?(Ie.value+=Ge,(Ge==="{"||Ge==="(")&&re++,(Ge===")"||Ge==="}")&&re--):Ge.search(/\s/)!==-1?Ie.before+=Ge:(Ge==="("&&(Ie.type="media-feature-expression",re++),Ie.value=Ge,Ie.sourceIndex=k+Xe,Q=!0),Q&&re===0&&(Ge===")"||Xe===Se.length-1||Se[Xe+1].search(/\s/)!==-1)&&(["not","only","and"].indexOf(Ie.value)!==-1&&(Ie.type="keyword"),Ie.type==="media-feature-expression"&&(Ie.nodes=we(Ie.value,Ie.sourceIndex)),x.push(Array.isArray(Ie.nodes)?new oe.default(Ie):new Z.default(Ie)),Ie=Fe(),Q=!1)}for(var Ne=0;Ne<x.length;Ne++)if(Ie=x[Ne],Ne>0&&(x[Ne-1].after=Ie.before),Ie.type===void 0){if(Ne>0){if(x[Ne-1].type==="media-feature-expression"){Ie.type="keyword";continue}if(x[Ne-1].value==="not"||x[Ne-1].value==="only"){Ie.type="media-type";continue}if(x[Ne-1].value==="and"){Ie.type="media-feature-expression";continue}x[Ne-1].type==="media-type"&&(x[Ne+1]?Ie.type=x[Ne+1].type==="media-feature-expression"?"keyword":"media-feature-expression":Ie.type="media-feature-expression")}if(Ne===0){if(!x[Ne+1]){Ie.type="media-type";continue}if(x[Ne+1]&&(x[Ne+1].type==="media-feature-expression"||x[Ne+1].type==="keyword")){Ie.type="media-type";continue}if(x[Ne+2]){if(x[Ne+2].type==="media-feature-expression"){Ie.type="media-type",x[Ne+1].type="keyword";continue}if(x[Ne+2].type==="keyword"){Ie.type="keyword",x[Ne+1].type="media-type";continue}}if(x[Ne+3]&&x[Ne+3].type==="media-feature-expression"){Ie.type="keyword",x[Ne+1].type="media-type",x[Ne+2].type="keyword";continue}}}return x}function xe(Se){var k=[],x=0,re=0,Q=/^(\s*)url\s*\(/.exec(Se);if(Q!==null){for(var Ie=Q[0].length,Fe=1;Fe>0;){var Xe=Se[Ie];Xe==="("&&Fe++,Xe===")"&&Fe--,Ie++}k.unshift(new Z.default({type:"url",value:Se.substring(0,Ie).trim(),sourceIndex:Q[1].length,before:Q[1],after:/^(\s*)/.exec(Se.substring(Ie))[1]})),x=Ie}for(var Ge=x;Ge<Se.length;Ge++){var Ne=Se[Ge];if(Ne==="("&&re++,Ne===")"&&re--,re===0&&Ne===","){var vt=Se.substring(x,Ge),Pt=/^(\s*)/.exec(vt)[1];k.push(new oe.default({type:"media-query",value:vt.trim(),sourceIndex:x+Pt.length,nodes:ve(vt,x),before:Pt,after:/(\s*)$/.exec(vt)[1]})),x=Ge+1}}var Gt=Se.substring(x),dn=/^(\s*)/.exec(Gt)[1];return k.push(new oe.default({type:"media-query",value:Gt.trim(),sourceIndex:x+dn.length,nodes:ve(Gt,x),before:dn,after:/(\s*)$/.exec(Gt)[1]})),k}}}),Wa=Xt({"node_modules/postcss-media-query-parser/dist/index.js"(T){je(),Object.defineProperty(T,"__esModule",{value:!0}),T.default=Ae;var ae=vs(),Z=oe(ae),K=ua();function oe(we){return we&&we.__esModule?we:{default:we}}function Ae(we){return new Z.default({nodes:(0,K.parseMediaList)(we),type:"media-query-list",value:we.trim()})}}}),Ga={};On(Ga,{basename:()=>Cu,default:()=>Lu,delimiter:()=>fo,dirname:()=>Ho,extname:()=>$o,isAbsolute:()=>po,join:()=>Ou,normalize:()=>Iu,relative:()=>so,resolve:()=>xu,sep:()=>ba});function Xa(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 xu(){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=Xa(Ja(T.split("/"),function(oe){return!!oe}),!ae).join("/"),(ae?"/":"")+T||"."}function Iu(T){var ae=po(T),Z=Eo(T,-1)==="/";return T=Xa(Ja(T.split("/"),function(K){return!!K}),!ae).join("/"),!T&&!ae&&(T="."),T&&Z&&(T+="/"),(ae?"/":"")+T}function po(T){return T.charAt(0)==="/"}function Ou(){var T=Array.prototype.slice.call(arguments,0);return Iu(Ja(T,function(ae,Z){if(typeof ae!="string")throw new TypeError("Arguments to path.join must be strings");return ae}).join("/"))}function so(T,ae){T=xu(T).substr(1),ae=xu(ae).substr(1);function Z(Se){for(var k=0;k<Se.length&&Se[k]==="";k++);for(var x=Se.length-1;x>=0&&Se[x]==="";x--);return k>x?[]:Se.slice(k,x-k+1)}for(var K=Z(T.split("/")),oe=Z(ae.split("/")),Ae=Math.min(K.length,oe.length),we=Ae,ve=0;ve<Ae;ve++)if(K[ve]!==oe[ve]){we=ve;break}for(var xe=[],ve=we;ve<K.length;ve++)xe.push("..");return xe=xe.concat(oe.slice(we)),xe.join("/")}function Ho(T){var ae=qo(T),Z=ae[0],K=ae[1];return!Z&&!K?".":(K&&(K=K.substr(0,K.length-1)),Z+K)}function Cu(T,ae){var Z=qo(T)[2];return ae&&Z.substr(-1*ae.length)===ae&&(Z=Z.substr(0,Z.length-ae.length)),Z}function $o(T){return qo(T)[3]}function Ja(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 ho,qo,ba,fo,Lu,Eo,bl=Jn({"node-modules-polyfills:path"(){je(),ho=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,qo=function(T){return ho.exec(T).slice(1)},ba="/",fo=":",Lu={extname:$o,basename:Cu,dirname:Ho,sep:ba,delimiter:fo,relative:so,join:Ou,isAbsolute:po,normalize:Iu,resolve:xu},Eo="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)}}}),Al=Xt({"node-modules-polyfills-commonjs:path"(T,ae){je();var Z=(bl(),It(Ga));if(Z&&Z.default){ae.exports=Z.default;for(let K in Z)ae.exports[K]=Z[K]}else Z&&(ae.exports=Z)}}),Mu=Xt({"node_modules/picocolors/picocolors.browser.js"(T,ae){je();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}}),Vo=Xt({"(disabled):node_modules/postcss/lib/terminal-highlight"(){je()}}),iu=Xt({"node_modules/postcss/lib/css-syntax-error.js"(T,ae){je(),T.__esModule=!0,T.default=void 0;var Z=oe(Mu()),K=oe(Vo());function oe(Fe){return Fe&&Fe.__esModule?Fe:{default:Fe}}function Ae(Fe){if(Fe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Fe}function we(Fe,Xe){Fe.prototype=Object.create(Xe.prototype),Fe.prototype.constructor=Fe,Fe.__proto__=Xe}function ve(Fe){var Xe=typeof Map=="function"?new Map:void 0;return ve=function(Ge){if(Ge===null||!k(Ge))return Ge;if(typeof Ge!="function")throw new TypeError("Super expression must either be null or a function");if(typeof Xe<"u"){if(Xe.has(Ge))return Xe.get(Ge);Xe.set(Ge,Ne)}function Ne(){return xe(Ge,arguments,re(this).constructor)}return Ne.prototype=Object.create(Ge.prototype,{constructor:{value:Ne,enumerable:!1,writable:!0,configurable:!0}}),x(Ne,Ge)},ve(Fe)}function xe(Fe,Xe,Ge){return Se()?xe=Reflect.construct:xe=function(Ne,vt,Pt){var Gt=[null];Gt.push.apply(Gt,vt);var dn=Function.bind.apply(Ne,Gt),$n=new dn;return Pt&&x($n,Pt.prototype),$n},xe.apply(null,arguments)}function Se(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function k(Fe){return Function.toString.call(Fe).indexOf("[native code]")!==-1}function x(Fe,Xe){return x=Object.setPrototypeOf||function(Ge,Ne){return Ge.__proto__=Ne,Ge},x(Fe,Xe)}function re(Fe){return re=Object.setPrototypeOf?Object.getPrototypeOf:function(Xe){return Xe.__proto__||Object.getPrototypeOf(Xe)},re(Fe)}var Q=function(Fe){we(Xe,Fe);function Xe(Ne,vt,Pt,Gt,dn,$n){var qn;return qn=Fe.call(this,Ne)||this,qn.name="CssSyntaxError",qn.reason=Ne,dn&&(qn.file=dn),Gt&&(qn.source=Gt),$n&&(qn.plugin=$n),typeof vt<"u"&&typeof Pt<"u"&&(qn.line=vt,qn.column=Pt),qn.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(Ae(qn),Xe),qn}var Ge=Xe.prototype;return Ge.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},Ge.showSourceCode=function(Ne){var vt=this;if(!this.source)return"";var Pt=this.source;K.default&&(typeof Ne>"u"&&(Ne=Z.default.isColorSupported),Ne&&(Pt=(0,K.default)(Pt)));var Gt=Pt.split(/\r?\n/),dn=Math.max(this.line-3,0),$n=Math.min(this.line+2,Gt.length),qn=String($n).length;function yi(Ii){return Ne&&Z.default.red?Z.default.red(Z.default.bold(Ii)):Ii}function en(Ii){return Ne&&Z.default.gray?Z.default.gray(Ii):Ii}return Gt.slice(dn,$n).map(function(Ii,mi){var Di=dn+1+mi,xn=" "+(" "+Di).slice(-qn)+" | ";if(Di===vt.line){var Wr=en(xn.replace(/\d/g," "))+Ii.slice(0,vt.column-1).replace(/[^\t]/g," ");return yi(">")+en(xn)+Ii+`
|
|
178
|
-
`+Wr+yi("^")}return" "+en(xn)+Ii}).join(`
|
|
179
|
-
`)},Ge.toString=function(){var Ne=this.showSourceCode();return Ne&&(Ne=`
|
|
180
|
-
|
|
181
|
-
`+Ne+`
|
|
182
|
-
`),this.name+": "+this.message+Ne},Xe}(ve(Error)),Ie=Q;T.default=Ie,ae.exports=T.default}}),Aa=Xt({"node_modules/postcss/lib/previous-map.js"(T,ae){je(),ae.exports=class{}}}),Za=Xt({"node_modules/postcss/lib/input.js"(T,ae){je(),T.__esModule=!0,T.default=void 0;var Z=Ae(Al()),K=Ae(iu()),oe=Ae(Aa());function Ae(x){return x&&x.__esModule?x:{default:x}}function we(x,re){for(var Q=0;Q<re.length;Q++){var Ie=re[Q];Ie.enumerable=Ie.enumerable||!1,Ie.configurable=!0,"value"in Ie&&(Ie.writable=!0),Object.defineProperty(x,Ie.key,Ie)}}function ve(x,re,Q){return re&&we(x.prototype,re),Q&&we(x,Q),x}var xe=0,Se=function(){function x(Q,Ie){if(Ie===void 0&&(Ie={}),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,Ie.from&&(/^\w+:\/\//.test(Ie.from)||Z.default.isAbsolute(Ie.from)?this.file=Ie.from:this.file=Z.default.resolve(Ie.from));var Fe=new oe.default(this.css,Ie);if(Fe.text){this.map=Fe;var Xe=Fe.consumer().file;!this.file&&Xe&&(this.file=this.mapResolve(Xe))}this.file||(xe+=1,this.id="<input css "+xe+">"),this.map&&(this.map.file=this.from)}var re=x.prototype;return re.error=function(Q,Ie,Fe,Xe){Xe===void 0&&(Xe={});var Ge,Ne=this.origin(Ie,Fe);return Ne?Ge=new K.default(Q,Ne.line,Ne.column,Ne.source,Ne.file,Xe.plugin):Ge=new K.default(Q,Ie,Fe,this.css,this.file,Xe.plugin),Ge.input={line:Ie,column:Fe,source:this.css},this.file&&(Ge.input.file=this.file),Ge},re.origin=function(Q,Ie){if(!this.map)return!1;var Fe=this.map.consumer(),Xe=Fe.originalPositionFor({line:Q,column:Ie});if(!Xe.source)return!1;var Ge={file:this.mapResolve(Xe.source),line:Xe.line,column:Xe.column},Ne=Fe.sourceContentFor(Xe.source);return Ne&&(Ge.source=Ne),Ge},re.mapResolve=function(Q){return/^\w+:\/\//.test(Q)?Q:Z.default.resolve(this.map.consumer().sourceRoot||".",Q)},ve(x,[{key:"from",get:function(){return this.file||this.id}}]),x}(),k=Se;T.default=k,ae.exports=T.default}}),ju=Xt({"node_modules/postcss/lib/stringifier.js"(T,ae){je(),T.__esModule=!0,T.default=void 0;var Z={colon:": ",indent:" ",beforeDecl:`
|
|
183
|
-
`,beforeRule:`
|
|
184
|
-
`,beforeOpen:" ",beforeClose:`
|
|
185
|
-
`,beforeComment:`
|
|
186
|
-
`,after:`
|
|
187
|
-
`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function K(we){return we[0].toUpperCase()+we.slice(1)}var oe=function(){function we(xe){this.builder=xe}var ve=we.prototype;return ve.stringify=function(xe,Se){this[xe.type](xe,Se)},ve.root=function(xe){this.body(xe),xe.raws.after&&this.builder(xe.raws.after)},ve.comment=function(xe){var Se=this.raw(xe,"left","commentLeft"),k=this.raw(xe,"right","commentRight");this.builder("/*"+Se+xe.text+k+"*/",xe)},ve.decl=function(xe,Se){var k=this.raw(xe,"between","colon"),x=xe.prop+k+this.rawValue(xe,"value");xe.important&&(x+=xe.raws.important||" !important"),Se&&(x+=";"),this.builder(x,xe)},ve.rule=function(xe){this.block(xe,this.rawValue(xe,"selector")),xe.raws.ownSemicolon&&this.builder(xe.raws.ownSemicolon,xe,"end")},ve.atrule=function(xe,Se){var k="@"+xe.name,x=xe.params?this.rawValue(xe,"params"):"";if(typeof xe.raws.afterName<"u"?k+=xe.raws.afterName:x&&(k+=" "),xe.nodes)this.block(xe,k+x);else{var re=(xe.raws.between||"")+(Se?";":"");this.builder(k+x+re,xe)}},ve.body=function(xe){for(var Se=xe.nodes.length-1;Se>0&&xe.nodes[Se].type==="comment";)Se-=1;for(var k=this.raw(xe,"semicolon"),x=0;x<xe.nodes.length;x++){var re=xe.nodes[x],Q=this.raw(re,"before");Q&&this.builder(Q),this.stringify(re,Se!==x||k)}},ve.block=function(xe,Se){var k=this.raw(xe,"between","beforeOpen");this.builder(Se+k+"{",xe,"start");var x;xe.nodes&&xe.nodes.length?(this.body(xe),x=this.raw(xe,"after")):x=this.raw(xe,"after","emptyBody"),x&&this.builder(x),this.builder("}",xe,"end")},ve.raw=function(xe,Se,k){var x;if(k||(k=Se),Se&&(x=xe.raws[Se],typeof x<"u"))return x;var re=xe.parent;if(k==="before"&&(!re||re.type==="root"&&re.first===xe))return"";if(!re)return Z[k];var Q=xe.root();if(Q.rawCache||(Q.rawCache={}),typeof Q.rawCache[k]<"u")return Q.rawCache[k];if(k==="before"||k==="after")return this.beforeAfter(xe,k);var Ie="raw"+K(k);return this[Ie]?x=this[Ie](Q,xe):Q.walk(function(Fe){if(x=Fe.raws[Se],typeof x<"u")return!1}),typeof x>"u"&&(x=Z[k]),Q.rawCache[k]=x,x},ve.rawSemicolon=function(xe){var Se;return xe.walk(function(k){if(k.nodes&&k.nodes.length&&k.last.type==="decl"&&(Se=k.raws.semicolon,typeof Se<"u"))return!1}),Se},ve.rawEmptyBody=function(xe){var Se;return xe.walk(function(k){if(k.nodes&&k.nodes.length===0&&(Se=k.raws.after,typeof Se<"u"))return!1}),Se},ve.rawIndent=function(xe){if(xe.raws.indent)return xe.raws.indent;var Se;return xe.walk(function(k){var x=k.parent;if(x&&x!==xe&&x.parent&&x.parent===xe&&typeof k.raws.before<"u"){var re=k.raws.before.split(`
|
|
188
|
-
`);return Se=re[re.length-1],Se=Se.replace(/[^\s]/g,""),!1}}),Se},ve.rawBeforeComment=function(xe,Se){var k;return xe.walkComments(function(x){if(typeof x.raws.before<"u")return k=x.raws.before,k.indexOf(`
|
|
189
|
-
`)!==-1&&(k=k.replace(/[^\n]+$/,"")),!1}),typeof k>"u"?k=this.raw(Se,null,"beforeDecl"):k&&(k=k.replace(/[^\s]/g,"")),k},ve.rawBeforeDecl=function(xe,Se){var k;return xe.walkDecls(function(x){if(typeof x.raws.before<"u")return k=x.raws.before,k.indexOf(`
|
|
190
|
-
`)!==-1&&(k=k.replace(/[^\n]+$/,"")),!1}),typeof k>"u"?k=this.raw(Se,null,"beforeRule"):k&&(k=k.replace(/[^\s]/g,"")),k},ve.rawBeforeRule=function(xe){var Se;return xe.walk(function(k){if(k.nodes&&(k.parent!==xe||xe.first!==k)&&typeof k.raws.before<"u")return Se=k.raws.before,Se.indexOf(`
|
|
191
|
-
`)!==-1&&(Se=Se.replace(/[^\n]+$/,"")),!1}),Se&&(Se=Se.replace(/[^\s]/g,"")),Se},ve.rawBeforeClose=function(xe){var Se;return xe.walk(function(k){if(k.nodes&&k.nodes.length>0&&typeof k.raws.after<"u")return Se=k.raws.after,Se.indexOf(`
|
|
192
|
-
`)!==-1&&(Se=Se.replace(/[^\n]+$/,"")),!1}),Se&&(Se=Se.replace(/[^\s]/g,"")),Se},ve.rawBeforeOpen=function(xe){var Se;return xe.walk(function(k){if(k.type!=="decl"&&(Se=k.raws.between,typeof Se<"u"))return!1}),Se},ve.rawColon=function(xe){var Se;return xe.walkDecls(function(k){if(typeof k.raws.between<"u")return Se=k.raws.between.replace(/[^\s:]/g,""),!1}),Se},ve.beforeAfter=function(xe,Se){var k;xe.type==="decl"?k=this.raw(xe,null,"beforeDecl"):xe.type==="comment"?k=this.raw(xe,null,"beforeComment"):Se==="before"?k=this.raw(xe,null,"beforeRule"):k=this.raw(xe,null,"beforeClose");for(var x=xe.parent,re=0;x&&x.type!=="root";)re+=1,x=x.parent;if(k.indexOf(`
|
|
193
|
-
`)!==-1){var Q=this.raw(xe,null,"indent");if(Q.length)for(var Ie=0;Ie<re;Ie++)k+=Q}return k},ve.rawValue=function(xe,Se){var k=xe[Se],x=xe.raws[Se];return x&&x.value===k?x.raw:k},we}(),Ae=oe;T.default=Ae,ae.exports=T.default}}),Ru=Xt({"node_modules/postcss/lib/stringify.js"(T,ae){je(),T.__esModule=!0,T.default=void 0;var Z=K(ju());function K(we){return we&&we.__esModule?we:{default:we}}function oe(we,ve){var xe=new Z.default(ve);xe.stringify(we)}var Ae=oe;T.default=Ae,ae.exports=T.default}}),il=Xt({"node_modules/postcss/lib/node.js"(T,ae){je(),T.__esModule=!0,T.default=void 0;var Z=Ae(iu()),K=Ae(ju()),oe=Ae(Ru());function Ae(Se){return Se&&Se.__esModule?Se:{default:Se}}function we(Se,k){var x=new Se.constructor;for(var re in Se)if(Se.hasOwnProperty(re)){var Q=Se[re],Ie=typeof Q;re==="parent"&&Ie==="object"?k&&(x[re]=k):re==="source"?x[re]=Q:Q instanceof Array?x[re]=Q.map(function(Fe){return we(Fe,x)}):(Ie==="object"&&Q!==null&&(Q=we(Q)),x[re]=Q)}return x}var ve=function(){function Se(x){x===void 0&&(x={}),this.raws={};for(var re in x)this[re]=x[re]}var k=Se.prototype;return k.error=function(x,re){if(re===void 0&&(re={}),this.source){var Q=this.positionBy(re);return this.source.input.error(x,Q.line,Q.column,re)}return new Z.default(x)},k.warn=function(x,re,Q){var Ie={node:this};for(var Fe in Q)Ie[Fe]=Q[Fe];return x.warn(re,Ie)},k.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},k.toString=function(x){x===void 0&&(x=oe.default),x.stringify&&(x=x.stringify);var re="";return x(this,function(Q){re+=Q}),re},k.clone=function(x){x===void 0&&(x={});var re=we(this);for(var Q in x)re[Q]=x[Q];return re},k.cloneBefore=function(x){x===void 0&&(x={});var re=this.clone(x);return this.parent.insertBefore(this,re),re},k.cloneAfter=function(x){x===void 0&&(x={});var re=this.clone(x);return this.parent.insertAfter(this,re),re},k.replaceWith=function(){if(this.parent){for(var x=arguments.length,re=new Array(x),Q=0;Q<x;Q++)re[Q]=arguments[Q];for(var Ie=0,Fe=re;Ie<Fe.length;Ie++){var Xe=Fe[Ie];this.parent.insertBefore(this,Xe)}this.remove()}return this},k.next=function(){if(this.parent){var x=this.parent.index(this);return this.parent.nodes[x+1]}},k.prev=function(){if(this.parent){var x=this.parent.index(this);return this.parent.nodes[x-1]}},k.before=function(x){return this.parent.insertBefore(this,x),this},k.after=function(x){return this.parent.insertAfter(this,x),this},k.toJSON=function(){var x={};for(var re in this)if(!!this.hasOwnProperty(re)&&re!=="parent"){var Q=this[re];Q instanceof Array?x[re]=Q.map(function(Ie){return typeof Ie=="object"&&Ie.toJSON?Ie.toJSON():Ie}):typeof Q=="object"&&Q.toJSON?x[re]=Q.toJSON():x[re]=Q}return x},k.raw=function(x,re){var Q=new K.default;return Q.raw(this,x,re)},k.root=function(){for(var x=this;x.parent;)x=x.parent;return x},k.cleanRaws=function(x){delete this.raws.before,delete this.raws.after,x||delete this.raws.between},k.positionInside=function(x){for(var re=this.toString(),Q=this.source.start.column,Ie=this.source.start.line,Fe=0;Fe<x;Fe++)re[Fe]===`
|
|
194
|
-
`?(Q=1,Ie+=1):Q+=1;return{line:Ie,column:Q}},k.positionBy=function(x){var re=this.source.start;if(x.index)re=this.positionInside(x.index);else if(x.word){var Q=this.toString().indexOf(x.word);Q!==-1&&(re=this.positionInside(Q))}return re},Se}(),xe=ve;T.default=xe,ae.exports=T.default}}),bo=Xt({"node_modules/postcss/lib/comment.js"(T,ae){je(),T.__esModule=!0,T.default=void 0;var Z=K(il());function K(ve){return ve&&ve.__esModule?ve:{default:ve}}function oe(ve,xe){ve.prototype=Object.create(xe.prototype),ve.prototype.constructor=ve,ve.__proto__=xe}var Ae=function(ve){oe(xe,ve);function xe(Se){var k;return k=ve.call(this,Se)||this,k.type="comment",k}return xe}(Z.default),we=Ae;T.default=we,ae.exports=T.default}}),sl=Xt({"node_modules/postcss/lib/declaration.js"(T,ae){je(),T.__esModule=!0,T.default=void 0;var Z=K(il());function K(ve){return ve&&ve.__esModule?ve:{default:ve}}function oe(ve,xe){ve.prototype=Object.create(xe.prototype),ve.prototype.constructor=ve,ve.__proto__=xe}var Ae=function(ve){oe(xe,ve);function xe(Se){var k;return k=ve.call(this,Se)||this,k.type="decl",k}return xe}(Z.default),we=Ae;T.default=we,ae.exports=T.default}}),wa=Xt({"node_modules/postcss/lib/tokenize.js"(T,ae){je(),T.__esModule=!0,T.default=yi;var Z="'".charCodeAt(0),K='"'.charCodeAt(0),oe="\\".charCodeAt(0),Ae="/".charCodeAt(0),we=`
|
|
195
|
-
`.charCodeAt(0),ve=" ".charCodeAt(0),xe="\f".charCodeAt(0),Se=" ".charCodeAt(0),k="\r".charCodeAt(0),x="[".charCodeAt(0),re="]".charCodeAt(0),Q="(".charCodeAt(0),Ie=")".charCodeAt(0),Fe="{".charCodeAt(0),Xe="}".charCodeAt(0),Ge=";".charCodeAt(0),Ne="*".charCodeAt(0),vt=":".charCodeAt(0),Pt="@".charCodeAt(0),Gt=/[ \n\t\r\f{}()'"\\;/[\]#]/g,dn=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,$n=/.[\\/("'\n]/,qn=/[a-f0-9]/i;function yi(en,Ii){Ii===void 0&&(Ii={});var mi=en.css.valueOf(),Di=Ii.ignoreErrors,xn,Wr,Cn,Or,Ks,ms,rs,fs,ns,ri,Oi,xi,Ci,Vt,kr=mi.length,Lr=-1,In=1,Mt=0,si=[],ei=[];function ta(){return Mt}function ia(Qs){throw en.error("Unclosed "+Qs,In,Mt-Lr)}function ka(){return ei.length===0&&Mt>=kr}function Pa(Qs){if(ei.length)return ei.pop();if(!(Mt>=kr)){var Ua=Qs?Qs.ignoreUnclosed:!1;switch(xn=mi.charCodeAt(Mt),(xn===we||xn===xe||xn===k&&mi.charCodeAt(Mt+1)!==we)&&(Lr=Mt,In+=1),xn){case we:case ve:case Se:case k:case xe:Wr=Mt;do Wr+=1,xn=mi.charCodeAt(Wr),xn===we&&(Lr=Wr,In+=1);while(xn===ve||xn===we||xn===Se||xn===k||xn===xe);Vt=["space",mi.slice(Mt,Wr)],Mt=Wr-1;break;case x:case re:case Fe:case Xe:case vt:case Ge:case Ie:var la=String.fromCharCode(xn);Vt=[la,la,In,Mt-Lr];break;case Q:if(xi=si.length?si.pop()[1]:"",Ci=mi.charCodeAt(Mt+1),xi==="url"&&Ci!==Z&&Ci!==K&&Ci!==ve&&Ci!==we&&Ci!==Se&&Ci!==xe&&Ci!==k){Wr=Mt;do{if(ri=!1,Wr=mi.indexOf(")",Wr+1),Wr===-1)if(Di||Ua){Wr=Mt;break}else ia("bracket");for(Oi=Wr;mi.charCodeAt(Oi-1)===oe;)Oi-=1,ri=!ri}while(ri);Vt=["brackets",mi.slice(Mt,Wr+1),In,Mt-Lr,In,Wr-Lr],Mt=Wr}else Wr=mi.indexOf(")",Mt+1),ms=mi.slice(Mt,Wr+1),Wr===-1||$n.test(ms)?Vt=["(","(",In,Mt-Lr]:(Vt=["brackets",ms,In,Mt-Lr,In,Wr-Lr],Mt=Wr);break;case Z:case K:Cn=xn===Z?"'":'"',Wr=Mt;do{if(ri=!1,Wr=mi.indexOf(Cn,Wr+1),Wr===-1)if(Di||Ua){Wr=Mt+1;break}else ia("string");for(Oi=Wr;mi.charCodeAt(Oi-1)===oe;)Oi-=1,ri=!ri}while(ri);ms=mi.slice(Mt,Wr+1),Or=ms.split(`
|
|
196
|
-
`),Ks=Or.length-1,Ks>0?(fs=In+Ks,ns=Wr-Or[Ks].length):(fs=In,ns=Lr),Vt=["string",mi.slice(Mt,Wr+1),In,Mt-Lr,fs,Wr-ns],Lr=ns,In=fs,Mt=Wr;break;case Pt:Gt.lastIndex=Mt+1,Gt.test(mi),Gt.lastIndex===0?Wr=mi.length-1:Wr=Gt.lastIndex-2,Vt=["at-word",mi.slice(Mt,Wr+1),In,Mt-Lr,In,Wr-Lr],Mt=Wr;break;case oe:for(Wr=Mt,rs=!0;mi.charCodeAt(Wr+1)===oe;)Wr+=1,rs=!rs;if(xn=mi.charCodeAt(Wr+1),rs&&xn!==Ae&&xn!==ve&&xn!==we&&xn!==Se&&xn!==k&&xn!==xe&&(Wr+=1,qn.test(mi.charAt(Wr)))){for(;qn.test(mi.charAt(Wr+1));)Wr+=1;mi.charCodeAt(Wr+1)===ve&&(Wr+=1)}Vt=["word",mi.slice(Mt,Wr+1),In,Mt-Lr,In,Wr-Lr],Mt=Wr;break;default:xn===Ae&&mi.charCodeAt(Mt+1)===Ne?(Wr=mi.indexOf("*/",Mt+2)+1,Wr===0&&(Di||Ua?Wr=mi.length:ia("comment")),ms=mi.slice(Mt,Wr+1),Or=ms.split(`
|
|
197
|
-
`),Ks=Or.length-1,Ks>0?(fs=In+Ks,ns=Wr-Or[Ks].length):(fs=In,ns=Lr),Vt=["comment",ms,In,Mt-Lr,fs,Wr-ns],Lr=ns,In=fs,Mt=Wr):(dn.lastIndex=Mt+1,dn.test(mi),dn.lastIndex===0?Wr=mi.length-1:Wr=dn.lastIndex-2,Vt=["word",mi.slice(Mt,Wr+1),In,Mt-Lr,In,Wr-Lr],si.push(Vt),Mt=Wr);break}return Mt++,Vt}}function Ls(Qs){ei.push(Qs)}return{back:Ls,nextToken:Pa,endOfFile:ka,position:ta}}ae.exports=T.default}}),su=Xt({"node_modules/postcss/lib/parse.js"(T,ae){je(),T.__esModule=!0,T.default=void 0;var Z=oe(Eu()),K=oe(Za());function oe(ve){return ve&&ve.__esModule?ve:{default:ve}}function Ae(ve,xe){var Se=new K.default(ve,xe),k=new Z.default(Se);try{k.parse()}catch(x){throw x}return k.root}var we=Ae;T.default=we,ae.exports=T.default}}),eo=Xt({"node_modules/postcss/lib/list.js"(T,ae){je(),T.__esModule=!0,T.default=void 0;var Z={split:function(oe,Ae,we){for(var ve=[],xe="",Se=!1,k=0,x=!1,re=!1,Q=0;Q<oe.length;Q++){var Ie=oe[Q];x?re?re=!1:Ie==="\\"?re=!0:Ie===x&&(x=!1):Ie==='"'||Ie==="'"?x=Ie:Ie==="("?k+=1:Ie===")"?k>0&&(k-=1):k===0&&Ae.indexOf(Ie)!==-1&&(Se=!0),Se?(xe!==""&&ve.push(xe.trim()),xe="",Se=!1):xe+=Ie}return(we||xe!=="")&&ve.push(xe.trim()),ve},space:function(oe){var Ae=[" ",`
|
|
198
|
-
`," "];return Z.split(oe,Ae)},comma:function(oe){return Z.split(oe,[","],!0)}},K=Z;T.default=K,ae.exports=T.default}}),au=Xt({"node_modules/postcss/lib/rule.js"(T,ae){je(),T.__esModule=!0,T.default=void 0;var Z=oe(Ao()),K=oe(eo());function oe(k){return k&&k.__esModule?k:{default:k}}function Ae(k,x){for(var re=0;re<x.length;re++){var Q=x[re];Q.enumerable=Q.enumerable||!1,Q.configurable=!0,"value"in Q&&(Q.writable=!0),Object.defineProperty(k,Q.key,Q)}}function we(k,x,re){return x&&Ae(k.prototype,x),re&&Ae(k,re),k}function ve(k,x){k.prototype=Object.create(x.prototype),k.prototype.constructor=k,k.__proto__=x}var xe=function(k){ve(x,k);function x(re){var Q;return Q=k.call(this,re)||this,Q.type="rule",Q.nodes||(Q.nodes=[]),Q}return we(x,[{key:"selectors",get:function(){return K.default.comma(this.selector)},set:function(re){var Q=this.selector?this.selector.match(/,\s*/):null,Ie=Q?Q[0]:","+this.raw("between","beforeOpen");this.selector=re.join(Ie)}}]),x}(Z.default),Se=xe;T.default=Se,ae.exports=T.default}}),Ao=Xt({"node_modules/postcss/lib/container.js"(T,ae){je(),T.__esModule=!0,T.default=void 0;var Z=Ae(sl()),K=Ae(bo()),oe=Ae(il());function Ae(Fe){return Fe&&Fe.__esModule?Fe:{default:Fe}}function we(Fe,Xe){var Ge;if(typeof Symbol>"u"||Fe[Symbol.iterator]==null){if(Array.isArray(Fe)||(Ge=ve(Fe))||Xe&&Fe&&typeof Fe.length=="number"){Ge&&(Fe=Ge);var Ne=0;return function(){return Ne>=Fe.length?{done:!0}:{done:!1,value:Fe[Ne++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
199
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Ge=Fe[Symbol.iterator](),Ge.next.bind(Ge)}function ve(Fe,Xe){if(Fe){if(typeof Fe=="string")return xe(Fe,Xe);var Ge=Object.prototype.toString.call(Fe).slice(8,-1);if(Ge==="Object"&&Fe.constructor&&(Ge=Fe.constructor.name),Ge==="Map"||Ge==="Set")return Array.from(Fe);if(Ge==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ge))return xe(Fe,Xe)}}function xe(Fe,Xe){(Xe==null||Xe>Fe.length)&&(Xe=Fe.length);for(var Ge=0,Ne=new Array(Xe);Ge<Xe;Ge++)Ne[Ge]=Fe[Ge];return Ne}function Se(Fe,Xe){for(var Ge=0;Ge<Xe.length;Ge++){var Ne=Xe[Ge];Ne.enumerable=Ne.enumerable||!1,Ne.configurable=!0,"value"in Ne&&(Ne.writable=!0),Object.defineProperty(Fe,Ne.key,Ne)}}function k(Fe,Xe,Ge){return Xe&&Se(Fe.prototype,Xe),Ge&&Se(Fe,Ge),Fe}function x(Fe,Xe){Fe.prototype=Object.create(Xe.prototype),Fe.prototype.constructor=Fe,Fe.__proto__=Xe}function re(Fe){return Fe.map(function(Xe){return Xe.nodes&&(Xe.nodes=re(Xe.nodes)),delete Xe.source,Xe})}var Q=function(Fe){x(Xe,Fe);function Xe(){return Fe.apply(this,arguments)||this}var Ge=Xe.prototype;return Ge.push=function(Ne){return Ne.parent=this,this.nodes.push(Ne),this},Ge.each=function(Ne){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var vt=this.lastEach;if(this.indexes[vt]=0,!!this.nodes){for(var Pt,Gt;this.indexes[vt]<this.nodes.length&&(Pt=this.indexes[vt],Gt=Ne(this.nodes[Pt],Pt),Gt!==!1);)this.indexes[vt]+=1;return delete this.indexes[vt],Gt}},Ge.walk=function(Ne){return this.each(function(vt,Pt){var Gt;try{Gt=Ne(vt,Pt)}catch($n){if($n.postcssNode=vt,$n.stack&&vt.source&&/\n\s{4}at /.test($n.stack)){var dn=vt.source;$n.stack=$n.stack.replace(/\n\s{4}at /,"$&"+dn.input.from+":"+dn.start.line+":"+dn.start.column+"$&")}throw $n}return Gt!==!1&&vt.walk&&(Gt=vt.walk(Ne)),Gt})},Ge.walkDecls=function(Ne,vt){return vt?Ne instanceof RegExp?this.walk(function(Pt,Gt){if(Pt.type==="decl"&&Ne.test(Pt.prop))return vt(Pt,Gt)}):this.walk(function(Pt,Gt){if(Pt.type==="decl"&&Pt.prop===Ne)return vt(Pt,Gt)}):(vt=Ne,this.walk(function(Pt,Gt){if(Pt.type==="decl")return vt(Pt,Gt)}))},Ge.walkRules=function(Ne,vt){return vt?Ne instanceof RegExp?this.walk(function(Pt,Gt){if(Pt.type==="rule"&&Ne.test(Pt.selector))return vt(Pt,Gt)}):this.walk(function(Pt,Gt){if(Pt.type==="rule"&&Pt.selector===Ne)return vt(Pt,Gt)}):(vt=Ne,this.walk(function(Pt,Gt){if(Pt.type==="rule")return vt(Pt,Gt)}))},Ge.walkAtRules=function(Ne,vt){return vt?Ne instanceof RegExp?this.walk(function(Pt,Gt){if(Pt.type==="atrule"&&Ne.test(Pt.name))return vt(Pt,Gt)}):this.walk(function(Pt,Gt){if(Pt.type==="atrule"&&Pt.name===Ne)return vt(Pt,Gt)}):(vt=Ne,this.walk(function(Pt,Gt){if(Pt.type==="atrule")return vt(Pt,Gt)}))},Ge.walkComments=function(Ne){return this.walk(function(vt,Pt){if(vt.type==="comment")return Ne(vt,Pt)})},Ge.append=function(){for(var Ne=arguments.length,vt=new Array(Ne),Pt=0;Pt<Ne;Pt++)vt[Pt]=arguments[Pt];for(var Gt=0,dn=vt;Gt<dn.length;Gt++)for(var $n=dn[Gt],qn=this.normalize($n,this.last),yi=we(qn),en;!(en=yi()).done;){var Ii=en.value;this.nodes.push(Ii)}return this},Ge.prepend=function(){for(var Ne=arguments.length,vt=new Array(Ne),Pt=0;Pt<Ne;Pt++)vt[Pt]=arguments[Pt];vt=vt.reverse();for(var Gt=we(vt),dn;!(dn=Gt()).done;){for(var $n=dn.value,qn=this.normalize($n,this.first,"prepend").reverse(),yi=we(qn),en;!(en=yi()).done;){var Ii=en.value;this.nodes.unshift(Ii)}for(var mi in this.indexes)this.indexes[mi]=this.indexes[mi]+qn.length}return this},Ge.cleanRaws=function(Ne){if(Fe.prototype.cleanRaws.call(this,Ne),this.nodes)for(var vt=we(this.nodes),Pt;!(Pt=vt()).done;){var Gt=Pt.value;Gt.cleanRaws(Ne)}},Ge.insertBefore=function(Ne,vt){Ne=this.index(Ne);for(var Pt=Ne===0?"prepend":!1,Gt=this.normalize(vt,this.nodes[Ne],Pt).reverse(),dn=we(Gt),$n;!($n=dn()).done;){var qn=$n.value;this.nodes.splice(Ne,0,qn)}var yi;for(var en in this.indexes)yi=this.indexes[en],Ne<=yi&&(this.indexes[en]=yi+Gt.length);return this},Ge.insertAfter=function(Ne,vt){Ne=this.index(Ne);for(var Pt=this.normalize(vt,this.nodes[Ne]).reverse(),Gt=we(Pt),dn;!(dn=Gt()).done;){var $n=dn.value;this.nodes.splice(Ne+1,0,$n)}var qn;for(var yi in this.indexes)qn=this.indexes[yi],Ne<qn&&(this.indexes[yi]=qn+Pt.length);return this},Ge.removeChild=function(Ne){Ne=this.index(Ne),this.nodes[Ne].parent=void 0,this.nodes.splice(Ne,1);var vt;for(var Pt in this.indexes)vt=this.indexes[Pt],vt>=Ne&&(this.indexes[Pt]=vt-1);return this},Ge.removeAll=function(){for(var Ne=we(this.nodes),vt;!(vt=Ne()).done;){var Pt=vt.value;Pt.parent=void 0}return this.nodes=[],this},Ge.replaceValues=function(Ne,vt,Pt){return Pt||(Pt=vt,vt={}),this.walkDecls(function(Gt){vt.props&&vt.props.indexOf(Gt.prop)===-1||vt.fast&&Gt.value.indexOf(vt.fast)===-1||(Gt.value=Gt.value.replace(Ne,Pt))}),this},Ge.every=function(Ne){return this.nodes.every(Ne)},Ge.some=function(Ne){return this.nodes.some(Ne)},Ge.index=function(Ne){return typeof Ne=="number"?Ne:this.nodes.indexOf(Ne)},Ge.normalize=function(Ne,vt){var Pt=this;if(typeof Ne=="string"){var Gt=su();Ne=re(Gt(Ne).nodes)}else if(Array.isArray(Ne)){Ne=Ne.slice(0);for(var dn=we(Ne),$n;!($n=dn()).done;){var qn=$n.value;qn.parent&&qn.parent.removeChild(qn,"ignore")}}else if(Ne.type==="root"){Ne=Ne.nodes.slice(0);for(var yi=we(Ne),en;!(en=yi()).done;){var Ii=en.value;Ii.parent&&Ii.parent.removeChild(Ii,"ignore")}}else if(Ne.type)Ne=[Ne];else if(Ne.prop){if(typeof Ne.value>"u")throw new Error("Value field is missed in node creation");typeof Ne.value!="string"&&(Ne.value=String(Ne.value)),Ne=[new Z.default(Ne)]}else if(Ne.selector){var mi=au();Ne=[new mi(Ne)]}else if(Ne.name){var Di=Wo();Ne=[new Di(Ne)]}else if(Ne.text)Ne=[new K.default(Ne)];else throw new Error("Unknown node type in node creation");var xn=Ne.map(function(Wr){return Wr.parent&&Wr.parent.removeChild(Wr),typeof Wr.raws.before>"u"&&vt&&typeof vt.raws.before<"u"&&(Wr.raws.before=vt.raws.before.replace(/[^\s]/g,"")),Wr.parent=Pt,Wr});return xn},k(Xe,[{key:"first",get:function(){if(this.nodes)return this.nodes[0]}},{key:"last",get:function(){if(this.nodes)return this.nodes[this.nodes.length-1]}}]),Xe}(oe.default),Ie=Q;T.default=Ie,ae.exports=T.default}}),Wo=Xt({"node_modules/postcss/lib/at-rule.js"(T,ae){je(),T.__esModule=!0,T.default=void 0;var Z=K(Ao());function K(ve){return ve&&ve.__esModule?ve:{default:ve}}function oe(ve,xe){ve.prototype=Object.create(xe.prototype),ve.prototype.constructor=ve,ve.__proto__=xe}var Ae=function(ve){oe(xe,ve);function xe(k){var x;return x=ve.call(this,k)||this,x.type="atrule",x}var Se=xe.prototype;return Se.append=function(){var k;this.nodes||(this.nodes=[]);for(var x=arguments.length,re=new Array(x),Q=0;Q<x;Q++)re[Q]=arguments[Q];return(k=ve.prototype.append).call.apply(k,[this].concat(re))},Se.prepend=function(){var k;this.nodes||(this.nodes=[]);for(var x=arguments.length,re=new Array(x),Q=0;Q<x;Q++)re[Q]=arguments[Q];return(k=ve.prototype.prepend).call.apply(k,[this].concat(re))},xe}(Z.default),we=Ae;T.default=we,ae.exports=T.default}}),al=Xt({"node_modules/postcss/lib/map-generator.js"(T,ae){je(),ae.exports=class{generate(){}}}}),ol=Xt({"node_modules/postcss/lib/warn-once.js"(T,ae){je(),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}}),ja=Xt({"node_modules/postcss/lib/warning.js"(T,ae){je(),T.__esModule=!0,T.default=void 0;var Z=function(){function oe(we,ve){if(ve===void 0&&(ve={}),this.type="warning",this.text=we,ve.node&&ve.node.source){var xe=ve.node.positionBy(ve);this.line=xe.line,this.column=xe.column}for(var Se in ve)this[Se]=ve[Se]}var Ae=oe.prototype;return Ae.toString=function(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},oe}(),K=Z;T.default=K,ae.exports=T.default}}),ao=Xt({"node_modules/postcss/lib/result.js"(T,ae){je(),T.__esModule=!0,T.default=void 0;var Z=K(ja());function K(xe){return xe&&xe.__esModule?xe:{default:xe}}function oe(xe,Se){for(var k=0;k<Se.length;k++){var x=Se[k];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(xe,x.key,x)}}function Ae(xe,Se,k){return Se&&oe(xe.prototype,Se),k&&oe(xe,k),xe}var we=function(){function xe(k,x,re){this.processor=k,this.messages=[],this.root=x,this.opts=re,this.css=void 0,this.map=void 0}var Se=xe.prototype;return Se.toString=function(){return this.css},Se.warn=function(k,x){x===void 0&&(x={}),x.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(x.plugin=this.lastPlugin.postcssPlugin);var re=new Z.default(k,x);return this.messages.push(re),re},Se.warnings=function(){return this.messages.filter(function(k){return k.type==="warning"})},Ae(xe,[{key:"content",get:function(){return this.css}}]),xe}(),ve=we;T.default=ve,ae.exports=T.default}}),wo=Xt({"node_modules/postcss/lib/lazy-result.js"(T,ae){je(),T.__esModule=!0,T.default=void 0;var Z=we(al()),K=we(Ru());we(ol());var oe=we(ao()),Ae=we(su());function we(Fe){return Fe&&Fe.__esModule?Fe:{default:Fe}}function ve(Fe,Xe){var Ge;if(typeof Symbol>"u"||Fe[Symbol.iterator]==null){if(Array.isArray(Fe)||(Ge=xe(Fe))||Xe&&Fe&&typeof Fe.length=="number"){Ge&&(Fe=Ge);var Ne=0;return function(){return Ne>=Fe.length?{done:!0}:{done:!1,value:Fe[Ne++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
200
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Ge=Fe[Symbol.iterator](),Ge.next.bind(Ge)}function xe(Fe,Xe){if(Fe){if(typeof Fe=="string")return Se(Fe,Xe);var Ge=Object.prototype.toString.call(Fe).slice(8,-1);if(Ge==="Object"&&Fe.constructor&&(Ge=Fe.constructor.name),Ge==="Map"||Ge==="Set")return Array.from(Fe);if(Ge==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ge))return Se(Fe,Xe)}}function Se(Fe,Xe){(Xe==null||Xe>Fe.length)&&(Xe=Fe.length);for(var Ge=0,Ne=new Array(Xe);Ge<Xe;Ge++)Ne[Ge]=Fe[Ge];return Ne}function k(Fe,Xe){for(var Ge=0;Ge<Xe.length;Ge++){var Ne=Xe[Ge];Ne.enumerable=Ne.enumerable||!1,Ne.configurable=!0,"value"in Ne&&(Ne.writable=!0),Object.defineProperty(Fe,Ne.key,Ne)}}function x(Fe,Xe,Ge){return Xe&&k(Fe.prototype,Xe),Ge&&k(Fe,Ge),Fe}function re(Fe){return typeof Fe=="object"&&typeof Fe.then=="function"}var Q=function(){function Fe(Ge,Ne,vt){this.stringified=!1,this.processed=!1;var Pt;if(typeof Ne=="object"&&Ne!==null&&Ne.type==="root")Pt=Ne;else if(Ne instanceof Fe||Ne instanceof oe.default)Pt=Ne.root,Ne.map&&(typeof vt.map>"u"&&(vt.map={}),vt.map.inline||(vt.map.inline=!1),vt.map.prev=Ne.map);else{var Gt=Ae.default;vt.syntax&&(Gt=vt.syntax.parse),vt.parser&&(Gt=vt.parser),Gt.parse&&(Gt=Gt.parse);try{Pt=Gt(Ne,vt)}catch(dn){this.error=dn}}this.result=new oe.default(Ge,Pt,vt)}var Xe=Fe.prototype;return Xe.warnings=function(){return this.sync().warnings()},Xe.toString=function(){return this.css},Xe.then=function(Ge,Ne){return this.async().then(Ge,Ne)},Xe.catch=function(Ge){return this.async().catch(Ge)},Xe.finally=function(Ge){return this.async().then(Ge,Ge)},Xe.handleError=function(Ge,Ne){try{if(this.error=Ge,Ge.name==="CssSyntaxError"&&!Ge.plugin)Ge.plugin=Ne.postcssPlugin,Ge.setMessage();else if(Ne.postcssVersion&&!1)var vt,Pt,Gt,dn,$n}catch(qn){console&&console.error&&console.error(qn)}},Xe.asyncTick=function(Ge,Ne){var vt=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,Ge();try{var Pt=this.processor.plugins[this.plugin],Gt=this.run(Pt);this.plugin+=1,re(Gt)?Gt.then(function(){vt.asyncTick(Ge,Ne)}).catch(function(dn){vt.handleError(dn,Pt),vt.processed=!0,Ne(dn)}):this.asyncTick(Ge,Ne)}catch(dn){this.processed=!0,Ne(dn)}},Xe.async=function(){var Ge=this;return this.processed?new Promise(function(Ne,vt){Ge.error?vt(Ge.error):Ne(Ge.stringify())}):this.processing?this.processing:(this.processing=new Promise(function(Ne,vt){if(Ge.error)return vt(Ge.error);Ge.plugin=0,Ge.asyncTick(Ne,vt)}).then(function(){return Ge.processed=!0,Ge.stringify()}),this.processing)},Xe.sync=function(){if(this.processed)return this.result;if(this.processed=!0,this.processing)throw new Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;for(var Ge=ve(this.result.processor.plugins),Ne;!(Ne=Ge()).done;){var vt=Ne.value,Pt=this.run(vt);if(re(Pt))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},Xe.run=function(Ge){this.result.lastPlugin=Ge;try{return Ge(this.result.root,this.result)}catch(Ne){throw this.handleError(Ne,Ge),Ne}},Xe.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var Ge=this.result.opts,Ne=K.default;Ge.syntax&&(Ne=Ge.syntax.stringify),Ge.stringifier&&(Ne=Ge.stringifier),Ne.stringify&&(Ne=Ne.stringify);var vt=new Z.default(Ne,this.result.root,this.result.opts),Pt=vt.generate();return this.result.css=Pt[0],this.result.map=Pt[1],this.result},x(Fe,[{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}}]),Fe}(),Ie=Q;T.default=Ie,ae.exports=T.default}}),Vl=Xt({"node_modules/postcss/lib/processor.js"(T,ae){je(),T.__esModule=!0,T.default=void 0;var Z=K(wo());function K(Se){return Se&&Se.__esModule?Se:{default:Se}}function oe(Se,k){var x;if(typeof Symbol>"u"||Se[Symbol.iterator]==null){if(Array.isArray(Se)||(x=Ae(Se))||k&&Se&&typeof Se.length=="number"){x&&(Se=x);var re=0;return function(){return re>=Se.length?{done:!0}:{done:!1,value:Se[re++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
201
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return x=Se[Symbol.iterator](),x.next.bind(x)}function Ae(Se,k){if(Se){if(typeof Se=="string")return we(Se,k);var x=Object.prototype.toString.call(Se).slice(8,-1);if(x==="Object"&&Se.constructor&&(x=Se.constructor.name),x==="Map"||x==="Set")return Array.from(Se);if(x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x))return we(Se,k)}}function we(Se,k){(k==null||k>Se.length)&&(k=Se.length);for(var x=0,re=new Array(k);x<k;x++)re[x]=Se[x];return re}var ve=function(){function Se(x){x===void 0&&(x=[]),this.version="7.0.39",this.plugins=this.normalize(x)}var k=Se.prototype;return k.use=function(x){return this.plugins=this.plugins.concat(this.normalize([x])),this},k.process=function(x){function re(Q){return x.apply(this,arguments)}return re.toString=function(){return x.toString()},re}(function(x,re){return re===void 0&&(re={}),this.plugins.length===0&&(re.parser,re.stringifier),new Z.default(this,x,re)}),k.normalize=function(x){for(var re=[],Q=oe(x),Ie;!(Ie=Q()).done;){var Fe=Ie.value;if(Fe.postcss===!0){var Xe=Fe();throw new Error("PostCSS plugin "+Xe.postcssPlugin+` requires PostCSS 8.
|
|
202
|
-
Migration guide for end-users:
|
|
203
|
-
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`)}if(Fe.postcss&&(Fe=Fe.postcss),typeof Fe=="object"&&Array.isArray(Fe.plugins))re=re.concat(Fe.plugins);else if(typeof Fe=="function")re.push(Fe);else if(!(typeof Fe=="object"&&(Fe.parse||Fe.stringify)))throw typeof Fe=="object"&&Fe.postcssPlugin?new Error("PostCSS plugin "+Fe.postcssPlugin+` requires PostCSS 8.
|
|
204
|
-
Migration guide for end-users:
|
|
205
|
-
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`):new Error(Fe+" is not a PostCSS plugin")}return re},Se}(),xe=ve;T.default=xe,ae.exports=T.default}}),rc=Xt({"node_modules/postcss/lib/root.js"(T,ae){je(),T.__esModule=!0,T.default=void 0;var Z=K(Ao());function K(k){return k&&k.__esModule?k:{default:k}}function oe(k,x){var re;if(typeof Symbol>"u"||k[Symbol.iterator]==null){if(Array.isArray(k)||(re=Ae(k))||x&&k&&typeof k.length=="number"){re&&(k=re);var Q=0;return function(){return Q>=k.length?{done:!0}:{done:!1,value:k[Q++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
206
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return re=k[Symbol.iterator](),re.next.bind(re)}function Ae(k,x){if(k){if(typeof k=="string")return we(k,x);var re=Object.prototype.toString.call(k).slice(8,-1);if(re==="Object"&&k.constructor&&(re=k.constructor.name),re==="Map"||re==="Set")return Array.from(k);if(re==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(re))return we(k,x)}}function we(k,x){(x==null||x>k.length)&&(x=k.length);for(var re=0,Q=new Array(x);re<x;re++)Q[re]=k[re];return Q}function ve(k,x){k.prototype=Object.create(x.prototype),k.prototype.constructor=k,k.__proto__=x}var xe=function(k){ve(x,k);function x(Q){var Ie;return Ie=k.call(this,Q)||this,Ie.type="root",Ie.nodes||(Ie.nodes=[]),Ie}var re=x.prototype;return re.removeChild=function(Q,Ie){var Fe=this.index(Q);return!Ie&&Fe===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[Fe].raws.before),k.prototype.removeChild.call(this,Q)},re.normalize=function(Q,Ie,Fe){var Xe=k.prototype.normalize.call(this,Q);if(Ie){if(Fe==="prepend")this.nodes.length>1?Ie.raws.before=this.nodes[1].raws.before:delete Ie.raws.before;else if(this.first!==Ie)for(var Ge=oe(Xe),Ne;!(Ne=Ge()).done;){var vt=Ne.value;vt.raws.before=Ie.raws.before}}return Xe},re.toResult=function(Q){Q===void 0&&(Q={});var Ie=wo(),Fe=Vl(),Xe=new Ie(new Fe,this,Q);return Xe.stringify()},x}(Z.default),Se=xe;T.default=Se,ae.exports=T.default}}),Eu=Xt({"node_modules/postcss/lib/parser.js"(T,ae){je(),T.__esModule=!0,T.default=void 0;var Z=xe(sl()),K=xe(wa()),oe=xe(bo()),Ae=xe(Wo()),we=xe(rc()),ve=xe(au());function xe(k){return k&&k.__esModule?k:{default:k}}var Se=function(){function k(re){this.input=re,this.root=new we.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:re,start:{line:1,column:1}}}var x=k.prototype;return x.createTokenizer=function(){this.tokenizer=(0,K.default)(this.input)},x.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()},x.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 Ie=re[1].slice(2,-2);if(/^\s*$/.test(Ie))Q.text="",Q.raws.left=Ie,Q.raws.right="";else{var Fe=Ie.match(/^(\s*)([^]*[^\s])(\s*)$/);Q.text=Fe[2],Q.raws.left=Fe[1],Q.raws.right=Fe[3]}},x.emptyRule=function(re){var Q=new ve.default;this.init(Q,re[2],re[3]),Q.selector="",Q.raws.between="",this.current=Q},x.other=function(re){for(var Q=!1,Ie=null,Fe=!1,Xe=null,Ge=[],Ne=[],vt=re;vt;){if(Ie=vt[0],Ne.push(vt),Ie==="("||Ie==="[")Xe||(Xe=vt),Ge.push(Ie==="("?")":"]");else if(Ge.length===0)if(Ie===";")if(Fe){this.decl(Ne);return}else break;else if(Ie==="{"){this.rule(Ne);return}else if(Ie==="}"){this.tokenizer.back(Ne.pop()),Q=!0;break}else Ie===":"&&(Fe=!0);else Ie===Ge[Ge.length-1]&&(Ge.pop(),Ge.length===0&&(Xe=null));vt=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(Q=!0),Ge.length>0&&this.unclosedBracket(Xe),Q&&Fe){for(;Ne.length&&(vt=Ne[Ne.length-1][0],!(vt!=="space"&&vt!=="comment"));)this.tokenizer.back(Ne.pop());this.decl(Ne)}else this.unknownWord(Ne)},x.rule=function(re){re.pop();var Q=new ve.default;this.init(Q,re[0][2],re[0][3]),Q.raws.between=this.spacesAndCommentsFromEnd(re),this.raw(Q,"selector",re),this.current=Q},x.decl=function(re){var Q=new Z.default;this.init(Q);var Ie=re[re.length-1];for(Ie[0]===";"&&(this.semicolon=!0,re.pop()),Ie[4]?Q.source.end={line:Ie[4],column:Ie[5]}:Q.source.end={line:Ie[2],column:Ie[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 Fe=re[0][0];if(Fe===":"||Fe==="space"||Fe==="comment")break;Q.prop+=re.shift()[1]}Q.raws.between="";for(var Xe;re.length;)if(Xe=re.shift(),Xe[0]===":"){Q.raws.between+=Xe[1];break}else Xe[0]==="word"&&/\w/.test(Xe[1])&&this.unknownWord([Xe]),Q.raws.between+=Xe[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 Ge=re.length-1;Ge>0;Ge--){if(Xe=re[Ge],Xe[1].toLowerCase()==="!important"){Q.important=!0;var Ne=this.stringFrom(re,Ge);Ne=this.spacesFromEnd(re)+Ne,Ne!==" !important"&&(Q.raws.important=Ne);break}else if(Xe[1].toLowerCase()==="important"){for(var vt=re.slice(0),Pt="",Gt=Ge;Gt>0;Gt--){var dn=vt[Gt][0];if(Pt.trim().indexOf("!")===0&&dn!=="space")break;Pt=vt.pop()[1]+Pt}Pt.trim().indexOf("!")===0&&(Q.important=!0,Q.raws.important=Pt,re=vt)}if(Xe[0]!=="space"&&Xe[0]!=="comment")break}this.raw(Q,"value",re),Q.value.indexOf(":")!==-1&&this.checkMissedSemicolon(re)},x.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 Ie,Fe,Xe=!1,Ge=!1,Ne=[];!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]==="{"){Ge=!0;break}else if(re[0]==="}"){if(Ne.length>0){for(Fe=Ne.length-1,Ie=Ne[Fe];Ie&&Ie[0]==="space";)Ie=Ne[--Fe];Ie&&(Q.source.end={line:Ie[4],column:Ie[5]})}this.end(re);break}else Ne.push(re);if(this.tokenizer.endOfFile()){Xe=!0;break}}Q.raws.between=this.spacesAndCommentsFromEnd(Ne),Ne.length?(Q.raws.afterName=this.spacesAndCommentsFromStart(Ne),this.raw(Q,"params",Ne),Xe&&(re=Ne[Ne.length-1],Q.source.end={line:re[4],column:re[5]},this.spaces=Q.raws.between,Q.raws.between="")):(Q.raws.afterName="",Q.params=""),Ge&&(Q.nodes=[],this.current=Q)},x.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)},x.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},x.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="")}},x.init=function(re,Q,Ie){this.current.push(re),re.source={start:{line:Q,column:Ie},input:this.input},re.raws.before=this.spaces,this.spaces="",re.type!=="comment"&&(this.semicolon=!1)},x.raw=function(re,Q,Ie){for(var Fe,Xe,Ge=Ie.length,Ne="",vt=!0,Pt,Gt,dn=/^([.|#])?([\w])+/i,$n=0;$n<Ge;$n+=1){if(Fe=Ie[$n],Xe=Fe[0],Xe==="comment"&&re.type==="rule"){Gt=Ie[$n-1],Pt=Ie[$n+1],Gt[0]!=="space"&&Pt[0]!=="space"&&dn.test(Gt[1])&&dn.test(Pt[1])?Ne+=Fe[1]:vt=!1;continue}Xe==="comment"||Xe==="space"&&$n===Ge-1?vt=!1:Ne+=Fe[1]}if(!vt){var qn=Ie.reduce(function(yi,en){return yi+en[1]},"");re.raws[Q]={value:Ne,raw:qn}}re[Q]=Ne},x.spacesAndCommentsFromEnd=function(re){for(var Q,Ie="";re.length&&(Q=re[re.length-1][0],!(Q!=="space"&&Q!=="comment"));)Ie=re.pop()[1]+Ie;return Ie},x.spacesAndCommentsFromStart=function(re){for(var Q,Ie="";re.length&&(Q=re[0][0],!(Q!=="space"&&Q!=="comment"));)Ie+=re.shift()[1];return Ie},x.spacesFromEnd=function(re){for(var Q,Ie="";re.length&&(Q=re[re.length-1][0],Q==="space");)Ie=re.pop()[1]+Ie;return Ie},x.stringFrom=function(re,Q){for(var Ie="",Fe=Q;Fe<re.length;Fe++)Ie+=re[Fe][1];return re.splice(Q,re.length-Q),Ie},x.colon=function(re){for(var Q=0,Ie,Fe,Xe,Ge=0;Ge<re.length;Ge++){if(Ie=re[Ge],Fe=Ie[0],Fe==="("&&(Q+=1),Fe===")"&&(Q-=1),Q===0&&Fe===":")if(!Xe)this.doubleColon(Ie);else{if(Xe[0]==="word"&&Xe[1]==="progid")continue;return Ge}Xe=Ie}return!1},x.unclosedBracket=function(re){throw this.input.error("Unclosed bracket",re[2],re[3])},x.unknownWord=function(re){throw this.input.error("Unknown word",re[0][2],re[0][3])},x.unexpectedClose=function(re){throw this.input.error("Unexpected }",re[2],re[3])},x.unclosedBlock=function(){var re=this.current.source.start;throw this.input.error("Unclosed block",re.line,re.column)},x.doubleColon=function(re){throw this.input.error("Double colon",re[2],re[3])},x.unnamedAtrule=function(re,Q){throw this.input.error("At-rule without name",Q[2],Q[3])},x.precheckMissedSemicolon=function(){},x.checkMissedSemicolon=function(re){var Q=this.colon(re);if(Q!==!1){for(var Ie=0,Fe,Xe=Q-1;Xe>=0&&(Fe=re[Xe],!(Fe[0]!=="space"&&(Ie+=1,Ie===2)));Xe--);throw this.input.error("Missed semicolon",Fe[2],Fe[3])}},k}();T.default=Se,ae.exports=T.default}}),Uu=Xt({"node_modules/postcss-less/lib/nodes/inline-comment.js"(T,ae){je();var Z=wa(),K=Za();ae.exports={isInlineComment(oe){if(oe[0]==="word"&&oe[1].slice(0,2)==="//"){let Ae=oe,we=[],ve;for(;oe;){if(/\r?\n/.test(oe[1])){if(/['"].*\r?\n/.test(oe[1])){we.push(oe[1].substring(0,oe[1].indexOf(`
|
|
207
|
-
`)));let Se=oe[1].substring(oe[1].indexOf(`
|
|
208
|
-
`));Se+=this.input.css.valueOf().substring(this.tokenizer.position()),this.input=new K(Se),this.tokenizer=Z(this.input)}else this.tokenizer.back(oe);break}we.push(oe[1]),ve=oe,oe=this.tokenizer.nextToken({ignoreUnclosed:!0})}let xe=["comment",we.join(""),Ae[2],Ae[3],ve[2],ve[3]];return this.inlineComment(xe),!0}else if(oe[1]==="/"){let Ae=this.tokenizer.nextToken({ignoreUnclosed:!0});if(Ae[0]==="comment"&&/^\/\*/.test(Ae[1]))return Ae[0]="word",Ae[1]=Ae[1].slice(1),oe[1]="//",this.tokenizer.back(Ae),ae.exports.isInlineComment.bind(this)(oe)}return!1}}}}),zu=Xt({"node_modules/postcss-less/lib/nodes/interpolation.js"(T,ae){je(),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 we=oe.map(x=>x[1]);[K]=oe;let ve=oe.pop(),xe=[K[2],K[3]],Se=[ve[4]||ve[2],ve[5]||ve[3]],k=["word",we.join("")].concat(xe,Se);return this.tokenizer.back(Z),this.tokenizer.back(k),!0}}}}),ul=Xt({"node_modules/postcss-less/lib/nodes/mixin.js"(T,ae){je();var Z=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,K=/\.[0-9]/,oe=Ae=>{let[,we]=Ae,[ve]=we;return(ve==="."||ve==="#")&&Z.test(we)===!1&&K.test(we)===!1};ae.exports={isMixinToken:oe}}}),na=Xt({"node_modules/postcss-less/lib/nodes/import.js"(T,ae){je();var Z=wa(),K=/^url\((.+)\)/;ae.exports=oe=>{let{name:Ae,params:we=""}=oe;if(Ae==="import"&&we.length){oe.import=!0;let ve=Z({css:we});for(oe.filename=we.replace(K,"$1");!ve.endOfFile();){let[xe,Se]=ve.nextToken();if(xe==="word"&&Se==="url")return;if(xe==="brackets"){oe.options=Se,oe.filename=we.replace(Se,"").trim();break}}}}}}),zs=Xt({"node_modules/postcss-less/lib/nodes/variable.js"(T,ae){je();var Z=/:$/,K=/^:(\s+)?/;ae.exports=oe=>{let{name:Ae,params:we=""}=oe;if(oe.name.slice(-1)===":"){if(Z.test(Ae)){let[ve]=Ae.match(Z);oe.name=Ae.replace(ve,""),oe.raws.afterName=ve+(oe.raws.afterName||""),oe.variable=!0,oe.value=oe.params}if(K.test(we)){let[ve]=we.match(K);oe.value=we.replace(ve,""),oe.raws.afterName=(oe.raws.afterName||"")+ve,oe.variable=!0}}}}}),fa=Xt({"node_modules/postcss-less/lib/LessParser.js"(T,ae){je();var Z=bo(),K=Eu(),{isInlineComment:oe}=Uu(),{interpolation:Ae}=zu(),{isMixinToken:we}=ul(),ve=na(),xe=zs(),Se=/(!\s*important)$/i;ae.exports=class extends K{constructor(){super(...arguments),this.lastNode=null}atrule(k){Ae.bind(this)(k)||(super.atrule(k),ve(this.lastNode),xe(this.lastNode))}decl(){super.decl(...arguments),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(k){k[0][1]=" ".concat(k[0][1]);let x=k.findIndex(Fe=>Fe[0]==="("),re=k.reverse().find(Fe=>Fe[0]===")"),Q=k.reverse().indexOf(re),Ie=k.splice(x,Q).map(Fe=>Fe[1]).join("");for(let Fe of k.reverse())this.tokenizer.back(Fe);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=Ie}init(k,x,re){super.init(k,x,re),this.lastNode=k}inlineComment(k){let x=new Z,re=k[1].slice(2);if(this.init(x,k[2],k[3]),x.source.end={line:k[4],column:k[5]},x.inline=!0,x.raws.begin="//",/^\s*$/.test(re))x.text="",x.raws.left=re,x.raws.right="";else{let Q=re.match(/^(\s*)([^]*[^\s])(\s*)$/);[,x.raws.left,x.text,x.raws.right]=Q}}mixin(k){let[x]=k,re=x[1].slice(0,1),Q=k.findIndex(Ne=>Ne[0]==="brackets"),Ie=k.findIndex(Ne=>Ne[0]==="("),Fe="";if((Q<0||Q>3)&&Ie>0){let Ne=k.reduce((Ii,mi,Di)=>mi[0]===")"?Di:Ii),vt=k.slice(Ie,Ne+Ie).map(Ii=>Ii[1]).join(""),[Pt]=k.slice(Ie),Gt=[Pt[2],Pt[3]],[dn]=k.slice(Ne,Ne+1),$n=[dn[2],dn[3]],qn=["brackets",vt].concat(Gt,$n),yi=k.slice(0,Ie),en=k.slice(Ne+1);k=yi,k.push(qn),k=k.concat(en)}let Xe=[];for(let Ne of k)if((Ne[1]==="!"||Xe.length)&&Xe.push(Ne),Ne[1]==="important")break;if(Xe.length){let[Ne]=Xe,vt=k.indexOf(Ne),Pt=Xe[Xe.length-1],Gt=[Ne[2],Ne[3]],dn=[Pt[4],Pt[5]],$n=Xe.map(yi=>yi[1]).join(""),qn=["word",$n].concat(Gt,dn);k.splice(vt,Xe.length,qn)}let Ge=k.findIndex(Ne=>Se.test(Ne[1]));Ge>0&&([,Fe]=k[Ge],k.splice(Ge,1));for(let Ne of k.reverse())this.tokenizer.back(Ne);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=re,Fe&&(this.lastNode.important=!0,this.lastNode.raws.important=Fe)}other(k){oe.bind(this)(k)||super.other(k)}rule(k){let x=k[k.length-1],re=k[k.length-2];if(re[0]==="at-word"&&x[0]==="{"&&(this.tokenizer.back(x),Ae.bind(this)(re))){let Q=this.tokenizer.nextToken();k=k.slice(0,k.length-2).concat([Q]);for(let Ie of k.reverse())this.tokenizer.back(Ie);return}super.rule(k),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(k){let[x]=k;if(k[0][1]==="each"&&k[1][0]==="("){this.each(k);return}if(we(x)){this.mixin(k);return}super.unknownWord(k)}}}}),Js=Xt({"node_modules/postcss-less/lib/LessStringifier.js"(T,ae){je();var Z=ju();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||"@",we="".concat(Ae).concat(K.name),ve=K.params?this.rawValue(K,"params"):"",xe=K.raws.important||"";if(K.variable&&(ve=K.value),typeof K.raws.afterName<"u"?we+=K.raws.afterName:ve&&(we+=" "),K.nodes)this.block(K,we+ve+xe);else{let Se=(K.raws.between||"")+xe+(oe?";":"");this.builder(we+ve+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)}}}}),to=Xt({"node_modules/postcss-less/lib/index.js"(T,ae){je();var Z=Za(),K=fa(),oe=Js();ae.exports={parse(Ae,we){let ve=new Z(Ae,we),xe=new K(ve);return xe.parse(),xe.root},stringify(Ae,we){new oe(we).stringify(Ae)},nodeToString(Ae){let we="";return ae.exports.stringify(Ae,ve=>{we+=ve}),we}}}}),Go=Xt({"node_modules/postcss-scss/lib/scss-stringifier.js"(T,ae){je();function Z(Ae,we){Ae.prototype=Object.create(we.prototype),Ae.prototype.constructor=Ae,Ae.__proto__=we}var K=ju(),oe=function(Ae){Z(we,Ae);function we(){return Ae.apply(this,arguments)||this}var ve=we.prototype;return ve.comment=function(xe){var Se=this.raw(xe,"left","commentLeft"),k=this.raw(xe,"right","commentRight");if(xe.raws.inline){var x=xe.raws.text||xe.text;this.builder("//"+Se+x+k,xe)}else this.builder("/*"+Se+xe.text+k+"*/",xe)},ve.decl=function(xe,Se){if(!xe.isNested)Ae.prototype.decl.call(this,xe,Se);else{var k=this.raw(xe,"between","colon"),x=xe.prop+k+this.rawValue(xe,"value");xe.important&&(x+=xe.raws.important||" !important"),this.builder(x+"{",xe,"start");var re;xe.nodes&&xe.nodes.length?(this.body(xe),re=this.raw(xe,"after")):re=this.raw(xe,"after","emptyBody"),re&&this.builder(re),this.builder("}",xe,"end")}},ve.rawValue=function(xe,Se){var k=xe[Se],x=xe.raws[Se];return x&&x.value===k?x.scss?x.scss:x.raw:k},we}(K);ae.exports=oe}}),ou=Xt({"node_modules/postcss-scss/lib/scss-stringify.js"(T,ae){je();var Z=Go();ae.exports=function(K,oe){var Ae=new Z(oe);Ae.stringify(K)}}}),wl=Xt({"node_modules/postcss-scss/lib/nested-declaration.js"(T,ae){je();function Z(Ae,we){Ae.prototype=Object.create(we.prototype),Ae.prototype.constructor=Ae,Ae.__proto__=we}var K=Ao(),oe=function(Ae){Z(we,Ae);function we(ve){var xe;return xe=Ae.call(this,ve)||this,xe.type="decl",xe.isNested=!0,xe.nodes||(xe.nodes=[]),xe}return we}(K);ae.exports=oe}}),Wl=Xt({"node_modules/postcss-scss/lib/scss-tokenize.js"(T,ae){je();var Z="'".charCodeAt(0),K='"'.charCodeAt(0),oe="\\".charCodeAt(0),Ae="/".charCodeAt(0),we=`
|
|
209
|
-
`.charCodeAt(0),ve=" ".charCodeAt(0),xe="\f".charCodeAt(0),Se=" ".charCodeAt(0),k="\r".charCodeAt(0),x="[".charCodeAt(0),re="]".charCodeAt(0),Q="(".charCodeAt(0),Ie=")".charCodeAt(0),Fe="{".charCodeAt(0),Xe="}".charCodeAt(0),Ge=";".charCodeAt(0),Ne="*".charCodeAt(0),vt=":".charCodeAt(0),Pt="@".charCodeAt(0),Gt=",".charCodeAt(0),dn="#".charCodeAt(0),$n=/[ \n\t\r\f{}()'"\\;/[\]#]/g,qn=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,yi=/.[\\/("'\n]/,en=/[a-f0-9]/i,Ii=/[\r\f\n]/g;ae.exports=function(mi,Di){Di===void 0&&(Di={});var xn=mi.css.valueOf(),Wr=Di.ignoreErrors,Cn,Or,Ks,ms,rs,fs,ns,ri,Oi,xi,Ci,Vt,kr,Lr,In=xn.length,Mt=-1,si=1,ei=0,ta=[],ia=[];function ka(la){throw mi.error("Unclosed "+la,si,ei-Mt)}function Pa(){return ia.length===0&&ei>=In}function Ls(){for(var la=1,sa=!1,aa=!1;la>0;)Or+=1,xn.length<=Or&&ka("interpolation"),Cn=xn.charCodeAt(Or),Vt=xn.charCodeAt(Or+1),sa?!aa&&Cn===sa?(sa=!1,aa=!1):Cn===oe?aa=!xi:aa&&(aa=!1):Cn===Z||Cn===K?sa=Cn:Cn===Xe?la-=1:Cn===dn&&Vt===Fe&&(la+=1)}function Qs(){if(ia.length)return ia.pop();if(!(ei>=In)){switch(Cn=xn.charCodeAt(ei),(Cn===we||Cn===xe||Cn===k&&xn.charCodeAt(ei+1)!==we)&&(Mt=ei,si+=1),Cn){case we:case ve:case Se:case k:case xe:Or=ei;do Or+=1,Cn=xn.charCodeAt(Or),Cn===we&&(Mt=Or,si+=1);while(Cn===ve||Cn===we||Cn===Se||Cn===k||Cn===xe);kr=["space",xn.slice(ei,Or)],ei=Or-1;break;case x:kr=["[","[",si,ei-Mt];break;case re:kr=["]","]",si,ei-Mt];break;case Fe:kr=["{","{",si,ei-Mt];break;case Xe:kr=["}","}",si,ei-Mt];break;case Gt:kr=["word",",",si,ei-Mt,si,ei-Mt+1];break;case vt:kr=[":",":",si,ei-Mt];break;case Ge:kr=[";",";",si,ei-Mt];break;case Q:if(Ci=ta.length?ta.pop()[1]:"",Vt=xn.charCodeAt(ei+1),Ci==="url"&&Vt!==Z&&Vt!==K){for(Lr=1,xi=!1,Or=ei+1;Or<=xn.length-1;){if(Vt=xn.charCodeAt(Or),Vt===oe)xi=!xi;else if(Vt===Q)Lr+=1;else if(Vt===Ie&&(Lr-=1,Lr===0))break;Or+=1}fs=xn.slice(ei,Or+1),ms=fs.split(`
|
|
210
|
-
`),rs=ms.length-1,rs>0?(ri=si+rs,Oi=Or-ms[rs].length):(ri=si,Oi=Mt),kr=["brackets",fs,si,ei-Mt,ri,Or-Oi],Mt=Oi,si=ri,ei=Or}else Or=xn.indexOf(")",ei+1),fs=xn.slice(ei,Or+1),Or===-1||yi.test(fs)?kr=["(","(",si,ei-Mt]:(kr=["brackets",fs,si,ei-Mt,si,Or-Mt],ei=Or);break;case Ie:kr=[")",")",si,ei-Mt];break;case Z:case K:for(Ks=Cn,Or=ei,xi=!1;Or<In&&(Or++,Or===In&&ka("string"),Cn=xn.charCodeAt(Or),Vt=xn.charCodeAt(Or+1),!(!xi&&Cn===Ks));)Cn===oe?xi=!xi:xi?xi=!1:Cn===dn&&Vt===Fe&&Ls();fs=xn.slice(ei,Or+1),ms=fs.split(`
|
|
211
|
-
`),rs=ms.length-1,rs>0?(ri=si+rs,Oi=Or-ms[rs].length):(ri=si,Oi=Mt),kr=["string",xn.slice(ei,Or+1),si,ei-Mt,ri,Or-Oi],Mt=Oi,si=ri,ei=Or;break;case Pt:$n.lastIndex=ei+1,$n.test(xn),$n.lastIndex===0?Or=xn.length-1:Or=$n.lastIndex-2,kr=["at-word",xn.slice(ei,Or+1),si,ei-Mt,si,Or-Mt],ei=Or;break;case oe:for(Or=ei,ns=!0;xn.charCodeAt(Or+1)===oe;)Or+=1,ns=!ns;if(Cn=xn.charCodeAt(Or+1),ns&&Cn!==Ae&&Cn!==ve&&Cn!==we&&Cn!==Se&&Cn!==k&&Cn!==xe&&(Or+=1,en.test(xn.charAt(Or)))){for(;en.test(xn.charAt(Or+1));)Or+=1;xn.charCodeAt(Or+1)===ve&&(Or+=1)}kr=["word",xn.slice(ei,Or+1),si,ei-Mt,si,Or-Mt],ei=Or;break;default:Vt=xn.charCodeAt(ei+1),Cn===dn&&Vt===Fe?(Or=ei,Ls(),fs=xn.slice(ei,Or+1),ms=fs.split(`
|
|
212
|
-
`),rs=ms.length-1,rs>0?(ri=si+rs,Oi=Or-ms[rs].length):(ri=si,Oi=Mt),kr=["word",fs,si,ei-Mt,ri,Or-Oi],Mt=Oi,si=ri,ei=Or):Cn===Ae&&Vt===Ne?(Or=xn.indexOf("*/",ei+2)+1,Or===0&&(Wr?Or=xn.length:ka("comment")),fs=xn.slice(ei,Or+1),ms=fs.split(`
|
|
213
|
-
`),rs=ms.length-1,rs>0?(ri=si+rs,Oi=Or-ms[rs].length):(ri=si,Oi=Mt),kr=["comment",fs,si,ei-Mt,ri,Or-Oi],Mt=Oi,si=ri,ei=Or):Cn===Ae&&Vt===Ae?(Ii.lastIndex=ei+1,Ii.test(xn),Ii.lastIndex===0?Or=xn.length-1:Or=Ii.lastIndex-2,fs=xn.slice(ei,Or+1),kr=["comment",fs,si,ei-Mt,si,Or-Mt,"inline"],ei=Or):(qn.lastIndex=ei+1,qn.test(xn),qn.lastIndex===0?Or=xn.length-1:Or=qn.lastIndex-2,kr=["word",xn.slice(ei,Or+1),si,ei-Mt,si,Or-Mt],ta.push(kr),ei=Or);break}return ei++,kr}}function Ua(la){ia.push(la)}return{back:Ua,nextToken:Qs,endOfFile:Pa}}}}),nc=Xt({"node_modules/postcss-scss/lib/scss-parser.js"(T,ae){je();function Z(xe,Se){xe.prototype=Object.create(Se.prototype),xe.prototype.constructor=xe,xe.__proto__=Se}var K=bo(),oe=Eu(),Ae=wl(),we=Wl(),ve=function(xe){Z(Se,xe);function Se(){return xe.apply(this,arguments)||this}var k=Se.prototype;return k.createTokenizer=function(){this.tokenizer=we(this.input)},k.rule=function(x){for(var re=!1,Q=0,Ie="",Ge=x,Fe=Array.isArray(Ge),Xe=0,Ge=Fe?Ge:Ge[Symbol.iterator]();;){var Ne;if(Fe){if(Xe>=Ge.length)break;Ne=Ge[Xe++]}else{if(Xe=Ge.next(),Xe.done)break;Ne=Xe.value}var vt=Ne;if(re)vt[0]!=="comment"&&vt[0]!=="{"&&(Ie+=vt[1]);else{if(vt[0]==="space"&&vt[1].indexOf(`
|
|
214
|
-
`)!==-1)break;vt[0]==="("?Q+=1:vt[0]===")"?Q-=1:Q===0&&vt[0]===":"&&(re=!0)}}if(!re||Ie.trim()===""||/^[a-zA-Z-:#]/.test(Ie))xe.prototype.rule.call(this,x);else{x.pop();var Pt=new Ae;this.init(Pt);var Gt=x[x.length-1];for(Gt[4]?Pt.source.end={line:Gt[4],column:Gt[5]}:Pt.source.end={line:Gt[2],column:Gt[3]};x[0][0]!=="word";)Pt.raws.before+=x.shift()[1];for(Pt.source.start={line:x[0][2],column:x[0][3]},Pt.prop="";x.length;){var dn=x[0][0];if(dn===":"||dn==="space"||dn==="comment")break;Pt.prop+=x.shift()[1]}Pt.raws.between="";for(var $n;x.length;)if($n=x.shift(),$n[0]===":"){Pt.raws.between+=$n[1];break}else Pt.raws.between+=$n[1];(Pt.prop[0]==="_"||Pt.prop[0]==="*")&&(Pt.raws.before+=Pt.prop[0],Pt.prop=Pt.prop.slice(1)),Pt.raws.between+=this.spacesAndCommentsFromStart(x),this.precheckMissedSemicolon(x);for(var qn=x.length-1;qn>0;qn--){if($n=x[qn],$n[1]==="!important"){Pt.important=!0;var yi=this.stringFrom(x,qn);yi=this.spacesFromEnd(x)+yi,yi!==" !important"&&(Pt.raws.important=yi);break}else if($n[1]==="important"){for(var en=x.slice(0),Ii="",mi=qn;mi>0;mi--){var Di=en[mi][0];if(Ii.trim().indexOf("!")===0&&Di!=="space")break;Ii=en.pop()[1]+Ii}Ii.trim().indexOf("!")===0&&(Pt.important=!0,Pt.raws.important=Ii,x=en)}if($n[0]!=="space"&&$n[0]!=="comment")break}this.raw(Pt,"value",x),Pt.value.indexOf(":")!==-1&&this.checkMissedSemicolon(x),this.current=Pt}},k.comment=function(x){if(x[6]==="inline"){var re=new K;this.init(re,x[2],x[3]),re.raws.inline=!0,re.source.end={line:x[4],column:x[5]};var Q=x[1].slice(2);if(/^\s*$/.test(Q))re.text="",re.raws.left=Q,re.raws.right="";else{var Ie=Q.match(/^(\s*)([^]*[^\s])(\s*)$/),Fe=Ie[2].replace(/(\*\/|\/\*)/g,"*//*");re.text=Fe,re.raws.left=Ie[1],re.raws.right=Ie[3],re.raws.text=Ie[2]}}else xe.prototype.comment.call(this,x)},k.raw=function(x,re,Q){if(xe.prototype.raw.call(this,x,re,Q),x.raws[re]){var Ie=x.raws[re].raw;x.raws[re].raw=Q.reduce(function(Fe,Xe){if(Xe[0]==="comment"&&Xe[6]==="inline"){var Ge=Xe[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return Fe+"/*"+Ge+"*/"}else return Fe+Xe[1]},""),Ie!==x.raws[re].raw&&(x.raws[re].scss=Ie)}},Se}(oe);ae.exports=ve}}),Hu=Xt({"node_modules/postcss-scss/lib/scss-parse.js"(T,ae){je();var Z=Za(),K=nc();ae.exports=function(oe,Ae){var we=new Z(oe,Ae),ve=new K(we);return ve.parse(),ve.root}}}),Tl=Xt({"node_modules/postcss-scss/lib/scss-syntax.js"(T,ae){je();var Z=ou(),K=Hu();ae.exports={parse:K,stringify:Z}}});je();var ll=_t(),Sl=zt(),Fl=ir(),{hasPragma:cl}=hn(),{locStart:$u,locEnd:To}=Yn(),{calculateLoc:Xo,replaceQuotesInInlineComments:pl}=Yn(),uu=Is(),kl=_(),bu=at(),mo=yt(),Pl=mr(),ic=ui(),Nl=us(),Fa=Ji(),Bs=T=>{for(;T.parent;)T=T.parent;return T};function Ta(T,ae){let{nodes:Z}=T,K={open:null,close:null,groups:[],type:"paren_group"},oe=[K],Ae=K,we={groups:[],type:"comma_group"},ve=[we];for(let xe=0;xe<Z.length;++xe){let Se=Z[xe];if(mo(ae.parser,Se.value)&&Se.type==="number"&&Se.unit===".."&&Sl(Se.value)==="."&&(Se.value=Se.value.slice(0,-1),Se.unit="..."),Se.type==="func"&&Se.value==="selector"&&(Se.group.groups=[Ko(Bs(T).text.slice(Se.group.open.sourceIndex+1,Se.group.close.sourceIndex))]),Se.type==="func"&&Se.value==="url"){let k=Se.group&&Se.group.groups||[],x=[];for(let re=0;re<k.length;re++){let Q=k[re];Q.type==="comma_group"?x=[...x,...Q.groups]:x.push(Q)}if(uu(x)||!kl(x)&&!ic(x[0])){let re=Nl({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),we={groups:[],type:"comma_group"},ve.push(we);else if(Se.type==="paren"&&Se.value===")"){if(we.groups.length>0&&K.groups.push(we),K.close=Se,ve.length===1)throw new Error("Unbalanced parenthesis");ve.pop(),we=Sl(ve),we.groups.push(K),oe.pop(),K=Sl(oe)}else Se.type==="comma"?(K.groups.push(we),we={groups:[],type:"comma_group"},ve[ve.length-1]=we):we.groups.push(Se)}return we.groups.length>0&&K.groups.push(we),Ae}function oo(T){return T.type==="paren_group"&&!T.open&&!T.close&&T.groups.length===1||T.type==="comma_group"&&T.groups.length===1?oo(T.groups[0]):T.type==="paren_group"||T.type==="comma_group"?Object.assign(Object.assign({},T),{},{groups:T.groups.map(oo)}):T}function Ka(T,ae,Z){if(T&&typeof T=="object"){delete T.parent;for(let K in T)Ka(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 Bl(T){if(T&&typeof T=="object"){delete T.parent;for(let ae in T)Bl(T[ae]);!Array.isArray(T)&&T.value&&!T.type&&(T.type="unknown")}return T}function hl(T,ae){if(T&&typeof T=="object"){for(let Z in T)Z!=="parent"&&(hl(T[Z],ae),Z==="nodes"&&(T.group=oo(Ta(T,ae)),delete T[Z]));delete T.parent}return T}function Jo(T,ae){let Z=ga(),K=null;try{K=Z(T,{loose:!0}).parse()}catch{return{type:"value-unknown",value:T}}K.text=T;let oe=hl(K,ae);return Ka(oe,"value-",/^selector-/)}function Ko(T){if(/\/\/|\/\*/.test(T))return{type:"selector-unknown",value:T.trim()};let ae=Ma(),Z=null;try{ae(K=>{Z=K}).process(T)}catch{return{type:"selector-unknown",value:T}}return Ka(Z,"selector-")}function Qo(T){let ae=Wa().default,Z=null;try{Z=ae(T)}catch{return{type:"selector-unknown",value:T}}return Ka(Bl(Z),"media-")}var Au=/(\s*)(!default).*$/,qu=/(\s*)(!global).*$/;function Vu(T,ae){if(T&&typeof T=="object"){delete T.parent;for(let Ae in T)Vu(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=Jo(Z,ae),T):(Pl(T)&&(T.isSCSSNesterProperty=!0),T.selector=Ko(Z),T);if(K.length>0){let Ae=K.match(Au);Ae&&(K=K.slice(0,Ae.index),T.scssDefault=!0,Ae[0].trim()!=="!default"&&(T.raws.scssDefault=Ae[0]));let we=K.match(qu);if(we&&(K=K.slice(0,we.index),T.scssGlobal=!0,we[0].trim()!=="!global"&&(T.raws.scssGlobal=we[0])),K.startsWith("progid:"))return{type:"value-unknown",value:K};T.value=Jo(K,ae)}if(bu(ae)&&T.type==="css-decl"&&K.startsWith("extend(")&&(T.extend||(T.extend=T.raws.between===":"),T.extend&&!T.selector&&(delete T.value,T.selector=Ko(K.slice(7,-1)))),T.type==="css-atrule"){if(bu(ae)){if(T.mixin){let Ae=T.raws.identifier+T.name+T.raws.afterName+T.raws.params;return T.selector=Ko(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=Ko(T.params.slice(Ae.length).trim()),delete T.params,T}if(bu(ae)){if(T.name.includes(":")&&!T.params){T.variable=!0;let Ae=T.name.split(":");T.name=Ae[0],T.value=Jo(Ae.slice(1).join(":"),ae)}if(!["page","nest","keyframes"].includes(T.name)&&T.params&&T.params[0]===":"&&(T.variable=!0,T.value=Jo(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,we=T.name.toLowerCase();return Ae==="warn"||Ae==="error"?(T.params={type:"media-unknown",value:oe},T):Ae==="extend"||Ae==="nest"?(T.selector=Ko(oe),delete T.params,T):Ae==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/s.test(oe)?T.params=Jo(oe,ae):(T.selector=Ko(oe),delete T.params),T):Fa(we)?(T.import=!0,delete T.filename,T.params=Jo(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=Jo(oe,ae),delete T.params,T):["media","custom-media"].includes(we)?oe.includes("#{")?{type:"media-unknown",value:oe}:(T.params=Qo(oe),T):(T.params=oe,T)}}return T}function Ra(T,ae,Z){let K=Fl(ae),{frontMatter:oe}=K;ae=K.content;let Ae;try{Ae=T(ae)}catch(we){let{name:ve,reason:xe,line:Se,column:k}=we;throw typeof Se!="number"?we:ll("".concat(ve,": ").concat(xe),{start:{line:Se,column:k}})}return Ae=Vu(Ka(Ae,"css-"),Z),Xo(Ae,ae),oe&&(oe.source={startOffset:0,endOffset:oe.raw.length},Ae.nodes.unshift(oe)),Ae}function Gl(T,ae){let Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},K=mo(Z.parser,T)?[_l,lu]:[lu,_l],oe;for(let Ae of K)try{return Ae(T,ae,Z)}catch(we){oe=oe||we}if(oe)throw oe}function lu(T,ae){let Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},K=to();return Ra(oe=>K.parse(pl(oe)),T,Z)}function _l(T,ae){let Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{parse:K}=Tl();return Ra(K,T,Z)}var So={astFormat:"postcss",hasPragma:cl,locStart:$u,locEnd:To};Fr.exports={parsers:{css:Object.assign(Object.assign({},So),{},{parse:Gl}),less:Object.assign(Object.assign({},So),{},{parse:lu}),scss:Object.assign(Object.assign({},So),{},{parse:_l})}}});return pa()})})(wm);const WD=zp(wm.exports);var Tm={exports:{}};(function(s,c){(function(l){s.exports=l()})(function(){var l=(Rt,_e)=>()=>(_e||Rt((_e={exports:{}}).exports,_e),_e.exports),f=l((Rt,_e)=>{var pe=function(me){return me&&me.Math==Math&&me};_e.exports=pe(typeof globalThis=="object"&&globalThis)||pe(typeof window=="object"&&window)||pe(typeof self=="object"&&self)||pe(typeof Hl=="object"&&Hl)||function(){return this}()||Function("return this")()}),v=l((Rt,_e)=>{_e.exports=function(pe){try{return!!pe()}catch{return!0}}}),N=l((Rt,_e)=>{var pe=v();_e.exports=!pe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),Y=l((Rt,_e)=>{var pe=v();_e.exports=!pe(function(){var me=function(){}.bind();return typeof me!="function"||me.hasOwnProperty("prototype")})}),le=l((Rt,_e)=>{var pe=Y(),me=Function.prototype.call;_e.exports=pe?me.bind(me):function(){return me.apply(me,arguments)}}),ye=l(Rt=>{var _e={}.propertyIsEnumerable,pe=Object.getOwnPropertyDescriptor,me=pe&&!_e.call({1:2},1);Rt.f=me?function(be){var Ee=pe(this,be);return!!Ee&&Ee.enumerable}:_e}),Me=l((Rt,_e)=>{_e.exports=function(pe,me){return{enumerable:!(pe&1),configurable:!(pe&2),writable:!(pe&4),value:me}}}),Oe=l((Rt,_e)=>{var pe=Y(),me=Function.prototype,be=me.bind,Ee=me.call,ze=pe&&be.bind(Ee,Ee);_e.exports=pe?function(Qe){return Qe&&ze(Qe)}:function(Qe){return Qe&&function(){return Ee.apply(Qe,arguments)}}}),st=l((Rt,_e)=>{var pe=Oe(),me=pe({}.toString),be=pe("".slice);_e.exports=function(Ee){return be(me(Ee),8,-1)}}),mt=l((Rt,_e)=>{var pe=f(),me=Oe(),be=v(),Ee=st(),ze=pe.Object,Qe=me("".split);_e.exports=be(function(){return!ze("z").propertyIsEnumerable(0)})?function(ut){return Ee(ut)=="String"?Qe(ut,""):ze(ut)}:ze}),St=l((Rt,_e)=>{var pe=f(),me=pe.TypeError;_e.exports=function(be){if(be==null)throw me("Can't call method on "+be);return be}}),Wt=l((Rt,_e)=>{var pe=mt(),me=St();_e.exports=function(be){return pe(me(be))}}),Zt=l((Rt,_e)=>{_e.exports=function(pe){return typeof pe=="function"}}),Jr=l((Rt,_e)=>{var pe=Zt();_e.exports=function(me){return typeof me=="object"?me!==null:pe(me)}}),bt=l((Rt,_e)=>{var pe=f(),me=Zt(),be=function(Ee){return me(Ee)?Ee:void 0};_e.exports=function(Ee,ze){return arguments.length<2?be(pe[Ee]):pe[Ee]&&pe[Ee][ze]}}),Ot=l((Rt,_e)=>{var pe=Oe();_e.exports=pe({}.isPrototypeOf)}),$t=l((Rt,_e)=>{var pe=bt();_e.exports=pe("navigator","userAgent")||""}),Ar=l((Rt,_e)=>{var pe=f(),me=$t(),be=pe.process,Ee=pe.Deno,ze=be&&be.versions||Ee&&Ee.version,Qe=ze&&ze.v8,ut,xt;Qe&&(ut=Qe.split("."),xt=ut[0]>0&&ut[0]<4?1:+(ut[0]+ut[1])),!xt&&me&&(ut=me.match(/Edge\/(\d+)/),(!ut||ut[1]>=74)&&(ut=me.match(/Chrome\/(\d+)/),ut&&(xt=+ut[1]))),_e.exports=xt}),un=l((Rt,_e)=>{var pe=Ar(),me=v();_e.exports=!!Object.getOwnPropertySymbols&&!me(function(){var be=Symbol();return!String(be)||!(Object(be)instanceof Symbol)||!Symbol.sham&&pe&&pe<41})}),Kn=l((Rt,_e)=>{var pe=un();_e.exports=pe&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),bn=l((Rt,_e)=>{var pe=f(),me=bt(),be=Zt(),Ee=Ot(),ze=Kn(),Qe=pe.Object;_e.exports=ze?function(ut){return typeof ut=="symbol"}:function(ut){var xt=me("Symbol");return be(xt)&&Ee(xt.prototype,Qe(ut))}}),oi=l((Rt,_e)=>{var pe=f(),me=pe.String;_e.exports=function(be){try{return me(be)}catch{return"Object"}}}),fi=l((Rt,_e)=>{var pe=f(),me=Zt(),be=oi(),Ee=pe.TypeError;_e.exports=function(ze){if(me(ze))return ze;throw Ee(be(ze)+" is not a function")}}),Wn=l((Rt,_e)=>{var pe=fi();_e.exports=function(me,be){var Ee=me[be];return Ee==null?void 0:pe(Ee)}}),Un=l((Rt,_e)=>{var pe=f(),me=le(),be=Zt(),Ee=Jr(),ze=pe.TypeError;_e.exports=function(Qe,ut){var xt,Kt;if(ut==="string"&&be(xt=Qe.toString)&&!Ee(Kt=me(xt,Qe))||be(xt=Qe.valueOf)&&!Ee(Kt=me(xt,Qe))||ut!=="string"&&be(xt=Qe.toString)&&!Ee(Kt=me(xt,Qe)))return Kt;throw ze("Can't convert object to primitive value")}}),gi=l((Rt,_e)=>{_e.exports=!1}),vr=l((Rt,_e)=>{var pe=f(),me=Object.defineProperty;_e.exports=function(be,Ee){try{me(pe,be,{value:Ee,configurable:!0,writable:!0})}catch{pe[be]=Ee}return Ee}}),kn=l((Rt,_e)=>{var pe=f(),me=vr(),be="__core-js_shared__",Ee=pe[be]||me(be,{});_e.exports=Ee}),Te=l((Rt,_e)=>{var pe=gi(),me=kn();(_e.exports=function(be,Ee){return me[be]||(me[be]=Ee!==void 0?Ee:{})})("versions",[]).push({version:"3.22.2",mode:pe?"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"})}),nn=l((Rt,_e)=>{var pe=f(),me=St(),be=pe.Object;_e.exports=function(Ee){return be(me(Ee))}}),cr=l((Rt,_e)=>{var pe=Oe(),me=nn(),be=pe({}.hasOwnProperty);_e.exports=Object.hasOwn||function(Ee,ze){return be(me(Ee),ze)}}),Pn=l((Rt,_e)=>{var pe=Oe(),me=0,be=Math.random(),Ee=pe(1 .toString);_e.exports=function(ze){return"Symbol("+(ze===void 0?"":ze)+")_"+Ee(++me+be,36)}}),ii=l((Rt,_e)=>{var pe=f(),me=Te(),be=cr(),Ee=Pn(),ze=un(),Qe=Kn(),ut=me("wks"),xt=pe.Symbol,Kt=xt&&xt.for,or=Qe?xt:xt&&xt.withoutSetter||Ee;_e.exports=function(xr){if(!be(ut,xr)||!(ze||typeof ut[xr]=="string")){var Ir="Symbol."+xr;ze&&be(xt,xr)?ut[xr]=xt[xr]:Qe&&Kt?ut[xr]=Kt(Ir):ut[xr]=or(Ir)}return ut[xr]}}),Zi=l((Rt,_e)=>{var pe=f(),me=le(),be=Jr(),Ee=bn(),ze=Wn(),Qe=Un(),ut=ii(),xt=pe.TypeError,Kt=ut("toPrimitive");_e.exports=function(or,xr){if(!be(or)||Ee(or))return or;var Ir=ze(or,Kt),rn;if(Ir){if(xr===void 0&&(xr="default"),rn=me(Ir,or,xr),!be(rn)||Ee(rn))return rn;throw xt("Can't convert object to primitive value")}return xr===void 0&&(xr="number"),Qe(or,xr)}}),gs=l((Rt,_e)=>{var pe=Zi(),me=bn();_e.exports=function(be){var Ee=pe(be,"string");return me(Ee)?Ee:Ee+""}}),As=l((Rt,_e)=>{var pe=f(),me=Jr(),be=pe.document,Ee=me(be)&&me(be.createElement);_e.exports=function(ze){return Ee?be.createElement(ze):{}}}),ps=l((Rt,_e)=>{var pe=N(),me=v(),be=As();_e.exports=!pe&&!me(function(){return Object.defineProperty(be("div"),"a",{get:function(){return 7}}).a!=7})}),hs=l(Rt=>{var _e=N(),pe=le(),me=ye(),be=Me(),Ee=Wt(),ze=gs(),Qe=cr(),ut=ps(),xt=Object.getOwnPropertyDescriptor;Rt.f=_e?xt:function(Kt,or){if(Kt=Ee(Kt),or=ze(or),ut)try{return xt(Kt,or)}catch{}if(Qe(Kt,or))return be(!pe(me.f,Kt,or),Kt[or])}}),zr=l((Rt,_e)=>{var pe=N(),me=v();_e.exports=pe&&me(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),$r=l((Rt,_e)=>{var pe=f(),me=Jr(),be=pe.String,Ee=pe.TypeError;_e.exports=function(ze){if(me(ze))return ze;throw Ee(be(ze)+" is not an object")}}),Cr=l(Rt=>{var _e=f(),pe=N(),me=ps(),be=zr(),Ee=$r(),ze=gs(),Qe=_e.TypeError,ut=Object.defineProperty,xt=Object.getOwnPropertyDescriptor,Kt="enumerable",or="configurable",xr="writable";Rt.f=pe?be?function(Ir,rn,an){if(Ee(Ir),rn=ze(rn),Ee(an),typeof Ir=="function"&&rn==="prototype"&&"value"in an&&xr in an&&!an[xr]){var Pr=xt(Ir,rn);Pr&&Pr[xr]&&(Ir[rn]=an.value,an={configurable:or in an?an[or]:Pr[or],enumerable:Kt in an?an[Kt]:Pr[Kt],writable:!1})}return ut(Ir,rn,an)}:ut:function(Ir,rn,an){if(Ee(Ir),rn=ze(rn),Ee(an),me)try{return ut(Ir,rn,an)}catch{}if("get"in an||"set"in an)throw Qe("Accessors not supported");return"value"in an&&(Ir[rn]=an.value),Ir}}),mn=l((Rt,_e)=>{var pe=N(),me=Cr(),be=Me();_e.exports=pe?function(Ee,ze,Qe){return me.f(Ee,ze,be(1,Qe))}:function(Ee,ze,Qe){return Ee[ze]=Qe,Ee}}),Vn=l((Rt,_e)=>{var pe=Oe(),me=Zt(),be=kn(),Ee=pe(Function.toString);me(be.inspectSource)||(be.inspectSource=function(ze){return Ee(ze)}),_e.exports=be.inspectSource}),di=l((Rt,_e)=>{var pe=f(),me=Zt(),be=Vn(),Ee=pe.WeakMap;_e.exports=me(Ee)&&/native code/.test(be(Ee))}),Rn=l((Rt,_e)=>{var pe=Te(),me=Pn(),be=pe("keys");_e.exports=function(Ee){return be[Ee]||(be[Ee]=me(Ee))}}),Je=l((Rt,_e)=>{_e.exports={}}),Tt=l((Rt,_e)=>{var pe=di(),me=f(),be=Oe(),Ee=Jr(),ze=mn(),Qe=cr(),ut=kn(),xt=Rn(),Kt=Je(),or="Object already initialized",xr=me.TypeError,Ir=me.WeakMap,rn,an,Pr,Nn=function(hn){return Pr(hn)?an(hn):rn(hn,{})},pi=function(hn){return function(Ti){var Xi;if(!Ee(Ti)||(Xi=an(Ti)).type!==hn)throw xr("Incompatible receiver, "+hn+" required");return Xi}};pe||ut.state?(En=ut.state||(ut.state=new Ir),Hi=be(En.get),es=be(En.has),ft=be(En.set),rn=function(hn,Ti){if(es(En,hn))throw new xr(or);return Ti.facade=hn,ft(En,hn,Ti),Ti},an=function(hn){return Hi(En,hn)||{}},Pr=function(hn){return es(En,hn)}):(qi=xt("state"),Kt[qi]=!0,rn=function(hn,Ti){if(Qe(hn,qi))throw new xr(or);return Ti.facade=hn,ze(hn,qi,Ti),Ti},an=function(hn){return Qe(hn,qi)?hn[qi]:{}},Pr=function(hn){return Qe(hn,qi)});var En,Hi,es,ft,qi;_e.exports={set:rn,get:an,has:Pr,enforce:Nn,getterFor:pi}}),Nr=l((Rt,_e)=>{var pe=N(),me=cr(),be=Function.prototype,Ee=pe&&Object.getOwnPropertyDescriptor,ze=me(be,"name"),Qe=ze&&function(){}.name==="something",ut=ze&&(!pe||pe&&Ee(be,"name").configurable);_e.exports={EXISTS:ze,PROPER:Qe,CONFIGURABLE:ut}}),Vr=l((Rt,_e)=>{var pe=f(),me=Zt(),be=cr(),Ee=mn(),ze=vr(),Qe=Vn(),ut=Tt(),xt=Nr().CONFIGURABLE,Kt=ut.get,or=ut.enforce,xr=String(String).split("String");(_e.exports=function(Ir,rn,an,Pr){var Nn=Pr?!!Pr.unsafe:!1,pi=Pr?!!Pr.enumerable:!1,En=Pr?!!Pr.noTargetGet:!1,Hi=Pr&&Pr.name!==void 0?Pr.name:rn,es;if(me(an)&&(String(Hi).slice(0,7)==="Symbol("&&(Hi="["+String(Hi).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!be(an,"name")||xt&&an.name!==Hi)&&Ee(an,"name",Hi),es=or(an),es.source||(es.source=xr.join(typeof Hi=="string"?Hi:""))),Ir===pe){pi?Ir[rn]=an:ze(rn,an);return}else Nn?!En&&Ir[rn]&&(pi=!0):delete Ir[rn];pi?Ir[rn]=an:Ee(Ir,rn,an)})(Function.prototype,"toString",function(){return me(this)&&Kt(this).source||Qe(this)})}),_r=l((Rt,_e)=>{var pe=Math.ceil,me=Math.floor;_e.exports=function(be){var Ee=+be;return Ee!==Ee||Ee===0?0:(Ee>0?me:pe)(Ee)}}),on=l((Rt,_e)=>{var pe=_r(),me=Math.max,be=Math.min;_e.exports=function(Ee,ze){var Qe=pe(Ee);return Qe<0?me(Qe+ze,0):be(Qe,ze)}}),Qr=l((Rt,_e)=>{var pe=_r(),me=Math.min;_e.exports=function(be){return be>0?me(pe(be),9007199254740991):0}}),gn=l((Rt,_e)=>{var pe=Qr();_e.exports=function(me){return pe(me.length)}}),zn=l((Rt,_e)=>{var pe=Wt(),me=on(),be=gn(),Ee=function(ze){return function(Qe,ut,xt){var Kt=pe(Qe),or=be(Kt),xr=me(xt,or),Ir;if(ze&&ut!=ut){for(;or>xr;)if(Ir=Kt[xr++],Ir!=Ir)return!0}else for(;or>xr;xr++)if((ze||xr in Kt)&&Kt[xr]===ut)return ze||xr||0;return!ze&&-1}};_e.exports={includes:Ee(!0),indexOf:Ee(!1)}}),Zr=l((Rt,_e)=>{var pe=Oe(),me=cr(),be=Wt(),Ee=zn().indexOf,ze=Je(),Qe=pe([].push);_e.exports=function(ut,xt){var Kt=be(ut),or=0,xr=[],Ir;for(Ir in Kt)!me(ze,Ir)&&me(Kt,Ir)&&Qe(xr,Ir);for(;xt.length>or;)me(Kt,Ir=xt[or++])&&(~Ee(xr,Ir)||Qe(xr,Ir));return xr}}),Ft=l((Rt,_e)=>{_e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),Dr=l(Rt=>{var _e=Zr(),pe=Ft(),me=pe.concat("length","prototype");Rt.f=Object.getOwnPropertyNames||function(be){return _e(be,me)}}),qt=l(Rt=>{Rt.f=Object.getOwnPropertySymbols}),Gn=l((Rt,_e)=>{var pe=bt(),me=Oe(),be=Dr(),Ee=qt(),ze=$r(),Qe=me([].concat);_e.exports=pe("Reflect","ownKeys")||function(ut){var xt=be.f(ze(ut)),Kt=Ee.f;return Kt?Qe(xt,Kt(ut)):xt}}),Ni=l((Rt,_e)=>{var pe=cr(),me=Gn(),be=hs(),Ee=Cr();_e.exports=function(ze,Qe,ut){for(var xt=me(Qe),Kt=Ee.f,or=be.f,xr=0;xr<xt.length;xr++){var Ir=xt[xr];!pe(ze,Ir)&&!(ut&&pe(ut,Ir))&&Kt(ze,Ir,or(Qe,Ir))}}}),ws=l((Rt,_e)=>{var pe=v(),me=Zt(),be=/#|\.prototype\./,Ee=function(Kt,or){var xr=Qe[ze(Kt)];return xr==xt?!0:xr==ut?!1:me(or)?pe(or):!!or},ze=Ee.normalize=function(Kt){return String(Kt).replace(be,".").toLowerCase()},Qe=Ee.data={},ut=Ee.NATIVE="N",xt=Ee.POLYFILL="P";_e.exports=Ee}),os=l((Rt,_e)=>{var pe=f(),me=hs().f,be=mn(),Ee=Vr(),ze=vr(),Qe=Ni(),ut=ws();_e.exports=function(xt,Kt){var or=xt.target,xr=xt.global,Ir=xt.stat,rn,an,Pr,Nn,pi,En;if(xr?an=pe:Ir?an=pe[or]||ze(or,{}):an=(pe[or]||{}).prototype,an)for(Pr in Kt){if(pi=Kt[Pr],xt.noTargetGet?(En=me(an,Pr),Nn=En&&En.value):Nn=an[Pr],rn=ut(xr?Pr:or+(Ir?".":"#")+Pr,xt.forced),!rn&&Nn!==void 0){if(typeof pi==typeof Nn)continue;Qe(pi,Nn)}(xt.sham||Nn&&Nn.sham)&&be(pi,"sham",!0),Ee(an,Pr,pi,xt)}}}),Fs=l(()=>{var Rt=os(),_e=f();Rt({global:!0},{globalThis:_e})}),ys=l(()=>{Fs()}),pa=l((Rt,_e)=>{var pe=st();_e.exports=Array.isArray||function(me){return pe(me)=="Array"}}),Xn=l((Rt,_e)=>{var pe=Oe(),me=fi(),be=Y(),Ee=pe(pe.bind);_e.exports=function(ze,Qe){return me(ze),Qe===void 0?ze:be?Ee(ze,Qe):function(){return ze.apply(Qe,arguments)}}}),Fr=l((Rt,_e)=>{var pe=f(),me=pa(),be=gn(),Ee=Xn(),ze=pe.TypeError,Qe=function(ut,xt,Kt,or,xr,Ir,rn,an){for(var Pr=xr,Nn=0,pi=rn?Ee(rn,an):!1,En,Hi;Nn<or;){if(Nn in Kt){if(En=pi?pi(Kt[Nn],Nn,xt):Kt[Nn],Ir>0&&me(En))Hi=be(En),Pr=Qe(ut,xt,En,Hi,Pr,Ir-1)-1;else{if(Pr>=9007199254740991)throw ze("Exceed the acceptable array length");ut[Pr]=En}Pr++}Nn++}return Pr};_e.exports=Qe}),Br=l((Rt,_e)=>{var pe=ii(),me=pe("toStringTag"),be={};be[me]="z",_e.exports=String(be)==="[object z]"}),wr=l((Rt,_e)=>{var pe=f(),me=Br(),be=Zt(),Ee=st(),ze=ii(),Qe=ze("toStringTag"),ut=pe.Object,xt=Ee(function(){return arguments}())=="Arguments",Kt=function(or,xr){try{return or[xr]}catch{}};_e.exports=me?Ee:function(or){var xr,Ir,rn;return or===void 0?"Undefined":or===null?"Null":typeof(Ir=Kt(xr=ut(or),Qe))=="string"?Ir:xt?Ee(xr):(rn=Ee(xr))=="Object"&&be(xr.callee)?"Arguments":rn}}),Xr=l((Rt,_e)=>{var pe=Oe(),me=v(),be=Zt(),Ee=wr(),ze=bt(),Qe=Vn(),ut=function(){},xt=[],Kt=ze("Reflect","construct"),or=/^\s*(?:class|function)\b/,xr=pe(or.exec),Ir=!or.exec(ut),rn=function(Pr){if(!be(Pr))return!1;try{return Kt(ut,xt,Pr),!0}catch{return!1}},an=function(Pr){if(!be(Pr))return!1;switch(Ee(Pr)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Ir||!!xr(or,Qe(Pr))}catch{return!0}};an.sham=!0,_e.exports=!Kt||me(function(){var Pr;return rn(rn.call)||!rn(Object)||!rn(function(){Pr=!0})||Pr})?an:rn}),Lt=l((Rt,_e)=>{var pe=f(),me=pa(),be=Xr(),Ee=Jr(),ze=ii(),Qe=ze("species"),ut=pe.Array;_e.exports=function(xt){var Kt;return me(xt)&&(Kt=xt.constructor,be(Kt)&&(Kt===ut||me(Kt.prototype))?Kt=void 0:Ee(Kt)&&(Kt=Kt[Qe],Kt===null&&(Kt=void 0))),Kt===void 0?ut:Kt}}),Jn=l((Rt,_e)=>{var pe=Lt();_e.exports=function(me,be){return new(pe(me))(be===0?0:be)}}),Xt=l(()=>{var Rt=os(),_e=Fr(),pe=fi(),me=nn(),be=gn(),Ee=Jn();Rt({target:"Array",proto:!0},{flatMap:function(ze){var Qe=me(this),ut=be(Qe),xt;return pe(ze),xt=Ee(Qe,0),xt.length=_e(xt,Qe,Qe,ut,0,1,ze,arguments.length>1?arguments[1]:void 0),xt}})}),On=l((Rt,_e)=>{_e.exports={}}),yr=l((Rt,_e)=>{var pe=ii(),me=On(),be=pe("iterator"),Ee=Array.prototype;_e.exports=function(ze){return ze!==void 0&&(me.Array===ze||Ee[be]===ze)}}),It=l((Rt,_e)=>{var pe=wr(),me=Wn(),be=On(),Ee=ii(),ze=Ee("iterator");_e.exports=function(Qe){if(Qe!=null)return me(Qe,ze)||me(Qe,"@@iterator")||be[pe(Qe)]}}),je=l((Rt,_e)=>{var pe=f(),me=le(),be=fi(),Ee=$r(),ze=oi(),Qe=It(),ut=pe.TypeError;_e.exports=function(xt,Kt){var or=arguments.length<2?Qe(xt):Kt;if(be(or))return Ee(me(or,xt));throw ut(ze(xt)+" is not iterable")}}),_t=l((Rt,_e)=>{var pe=le(),me=$r(),be=Wn();_e.exports=function(Ee,ze,Qe){var ut,xt;me(Ee);try{if(ut=be(Ee,"return"),!ut){if(ze==="throw")throw Qe;return Qe}ut=pe(ut,Ee)}catch(Kt){xt=!0,ut=Kt}if(ze==="throw")throw Qe;if(xt)throw ut;return me(ut),Qe}}),zt=l((Rt,_e)=>{var pe=f(),me=Xn(),be=le(),Ee=$r(),ze=oi(),Qe=yr(),ut=gn(),xt=Ot(),Kt=je(),or=It(),xr=_t(),Ir=pe.TypeError,rn=function(Pr,Nn){this.stopped=Pr,this.result=Nn},an=rn.prototype;_e.exports=function(Pr,Nn,pi){var En=pi&&pi.that,Hi=!!(pi&&pi.AS_ENTRIES),es=!!(pi&&pi.IS_ITERATOR),ft=!!(pi&&pi.INTERRUPTED),qi=me(Nn,En),hn,Ti,Xi,Yn,Vi,Is,_,at=function(mr){return hn&&xr(hn,"normal",mr),new rn(!0,mr)},yt=function(mr){return Hi?(Ee(mr),ft?qi(mr[0],mr[1],at):qi(mr[0],mr[1])):ft?qi(mr,at):qi(mr)};if(es)hn=Pr;else{if(Ti=or(Pr),!Ti)throw Ir(ze(Pr)+" is not iterable");if(Qe(Ti)){for(Xi=0,Yn=ut(Pr);Yn>Xi;Xi++)if(Vi=yt(Pr[Xi]),Vi&&xt(an,Vi))return Vi;return new rn(!1)}hn=Kt(Pr,Ti)}for(Is=hn.next;!(_=be(Is,hn)).done;){try{Vi=yt(_.value)}catch(mr){xr(hn,"throw",mr)}if(typeof Vi=="object"&&Vi&&xt(an,Vi))return Vi}return new rn(!1)}}),ir=l((Rt,_e)=>{var pe=gs(),me=Cr(),be=Me();_e.exports=function(Ee,ze,Qe){var ut=pe(ze);ut in Ee?me.f(Ee,ut,be(0,Qe)):Ee[ut]=Qe}}),Mr=l(()=>{var Rt=os(),_e=zt(),pe=ir();Rt({target:"Object",stat:!0},{fromEntries:function(me){var be={};return _e(me,function(Ee,ze){pe(be,Ee,ze)},{AS_ENTRIES:!0}),be}})}),sn=l((Rt,_e)=>{var pe=["cliName","cliCategory","cliDescription"],me,be,Ee,ze,Qe,ut;function xt(ie,et){if(ie==null)return{};var Ct=Kt(ie,et),kt,er;if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(ie);for(er=0;er<lt.length;er++)kt=lt[er],!(et.indexOf(kt)>=0)&&(!Object.prototype.propertyIsEnumerable.call(ie,kt)||(Ct[kt]=ie[kt]))}return Ct}function Kt(ie,et){if(ie==null)return{};var Ct={},kt=Object.keys(ie),er,lt;for(lt=0;lt<kt.length;lt++)er=kt[lt],!(et.indexOf(er)>=0)&&(Ct[er]=ie[er]);return Ct}function or(ie,et){return et||(et=ie.slice(0)),Object.freeze(Object.defineProperties(ie,{raw:{value:Object.freeze(et)}}))}ys(),Xt(),Mr();var xr=Object.create,Ir=Object.defineProperty,rn=Object.getOwnPropertyDescriptor,an=Object.getOwnPropertyNames,Pr=Object.getPrototypeOf,Nn=Object.prototype.hasOwnProperty,pi=(ie,et)=>function(){return ie&&(et=(0,ie[an(ie)[0]])(ie=0)),et},En=(ie,et)=>function(){return et||(0,ie[an(ie)[0]])((et={exports:{}}).exports,et),et.exports},Hi=(ie,et)=>{for(var Ct in et)Ir(ie,Ct,{get:et[Ct],enumerable:!0})},es=(ie,et,Ct,kt)=>{if(et&&typeof et=="object"||typeof et=="function")for(let er of an(et))!Nn.call(ie,er)&&er!==Ct&&Ir(ie,er,{get:()=>et[er],enumerable:!(kt=rn(et,er))||kt.enumerable});return ie},ft=(ie,et,Ct)=>(Ct=ie!=null?xr(Pr(ie)):{},es(et||!ie||!ie.__esModule?Ir(Ct,"default",{value:ie,enumerable:!0}):Ct,ie)),qi=ie=>es(Ir({},"__esModule",{value:!0}),ie),hn,Ti,Xi,Yn=pi({"<define:process>"(){hn={},Ti=[],Xi={env:hn,argv:Ti}}}),Vi=En({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(ie){Yn(),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 et(Ut){return Ut>=ie.$TAB&&Ut<=ie.$SPACE||Ut==ie.$NBSP}ie.isWhitespace=et;function Ct(Ut){return ie.$0<=Ut&&Ut<=ie.$9}ie.isDigit=Ct;function kt(Ut){return Ut>=ie.$a&&Ut<=ie.$z||Ut>=ie.$A&&Ut<=ie.$Z}ie.isAsciiLetter=kt;function er(Ut){return Ut>=ie.$a&&Ut<=ie.$f||Ut>=ie.$A&&Ut<=ie.$F||Ct(Ut)}ie.isAsciiHexDigit=er;function lt(Ut){return Ut===ie.$LF||Ut===ie.$CR}ie.isNewLine=lt;function Et(Ut){return ie.$0<=Ut&&Ut<=ie.$7}ie.isOctalDigit=Et}}),Is=En({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(ie){Yn(),Object.defineProperty(ie,"__esModule",{value:!0});var et=class{constructor(kt,er,lt){this.filePath=kt,this.name=er,this.members=lt}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}};ie.StaticSymbol=et;var Ct=class{constructor(){this.cache=new Map}get(kt,er,lt){lt=lt||[];let Et=lt.length?".".concat(lt.join(".")):"",Ut='"'.concat(kt,'".').concat(er).concat(Et),Yt=this.cache.get(Ut);return Yt||(Yt=new et(kt,er,lt),this.cache.set(Ut,Yt)),Yt}};ie.StaticSymbolCache=Ct}}),_=En({"node_modules/angular-html-parser/lib/compiler/src/util.js"(ie){Yn(),Object.defineProperty(ie,"__esModule",{value:!0});var et=/-+([a-z0-9])/g;function Ct(gt){return gt.replace(et,function(){for(var Hr=arguments.length,hr=new Array(Hr),wn=0;wn<Hr;wn++)hr[wn]=arguments[wn];return hr[1].toUpperCase()})}ie.dashCaseToCamelCase=Ct;function kt(gt,Hr){return lt(gt,":",Hr)}ie.splitAtColon=kt;function er(gt,Hr){return lt(gt,".",Hr)}ie.splitAtPeriod=er;function lt(gt,Hr,hr){let wn=gt.indexOf(Hr);return wn==-1?hr:[gt.slice(0,wn).trim(),gt.slice(wn+1).trim()]}function Et(gt,Hr,hr){return Array.isArray(gt)?Hr.visitArray(gt,hr):Bn(gt)?Hr.visitStringMap(gt,hr):gt==null||typeof gt=="string"||typeof gt=="number"||typeof gt=="boolean"?Hr.visitPrimitive(gt,hr):Hr.visitOther(gt,hr)}ie.visitValue=Et;function Ut(gt){return gt!=null}ie.isDefined=Ut;function Yt(gt){return gt===void 0?null:gt}ie.noUndefined=Yt;var Ln=class{visitArray(gt,Hr){return gt.map(hr=>Et(hr,this,Hr))}visitStringMap(gt,Hr){let hr={};return Object.keys(gt).forEach(wn=>{hr[wn]=Et(gt[wn],this,Hr)}),hr}visitPrimitive(gt,Hr){return gt}visitOther(gt,Hr){return gt}};ie.ValueTransformer=Ln,ie.SyncAsync={assertSync:gt=>{if(fn(gt))throw new Error("Illegal state: value cannot be a promise");return gt},then:(gt,Hr)=>fn(gt)?gt.then(Hr):Hr(gt),all:gt=>gt.some(fn)?Promise.all(gt):gt};function ct(gt){throw new Error("Internal Error: ".concat(gt))}ie.error=ct;function Ht(gt,Hr){let hr=Error(gt);return hr[nr]=!0,Hr&&(hr[jr]=Hr),hr}ie.syntaxError=Ht;var nr="ngSyntaxError",jr="ngParseErrors";function Tr(gt){return gt[nr]}ie.isSyntaxError=Tr;function Kr(gt){return gt[jr]||[]}ie.getParseErrors=Kr;function Rr(gt){return gt.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}ie.escapeRegExp=Rr;var Tn=Object.getPrototypeOf({});function Bn(gt){return typeof gt=="object"&>!==null&&Object.getPrototypeOf(gt)===Tn}function jn(gt){let Hr="";for(let hr=0;hr<gt.length;hr++){let wn=gt.charCodeAt(hr);if(wn>=55296&&wn<=56319&>.length>hr+1){let Yi=gt.charCodeAt(hr+1);Yi>=56320&&Yi<=57343&&(hr++,wn=(wn-55296<<10)+Yi-56320+65536)}wn<=127?Hr+=String.fromCharCode(wn):wn<=2047?Hr+=String.fromCharCode(wn>>6&31|192,wn&63|128):wn<=65535?Hr+=String.fromCharCode(wn>>12|224,wn>>6&63|128,wn&63|128):wn<=2097151&&(Hr+=String.fromCharCode(wn>>18&7|240,wn>>12&63|128,wn>>6&63|128,wn&63|128))}return Hr}ie.utf8Encode=jn;function Ri(gt){if(typeof gt=="string")return gt;if(gt instanceof Array)return"["+gt.map(Ri).join(", ")+"]";if(gt==null)return""+gt;if(gt.overriddenName)return"".concat(gt.overriddenName);if(gt.name)return"".concat(gt.name);if(!gt.toString)return"object";let Hr=gt.toString();if(Hr==null)return""+Hr;let hr=Hr.indexOf(`
|
|
215
|
-
`);return hr===-1?Hr:Hr.substring(0,hr)}ie.stringify=Ri;function ds(gt){return typeof gt=="function"&>.hasOwnProperty("__forward_ref__")?gt():gt}ie.resolveForwardRef=ds;function fn(gt){return!!gt&&typeof gt.then=="function"}ie.isPromise=fn;var Si=class{constructor(gt){this.full=gt;let Hr=gt.split(".");this.major=Hr[0],this.minor=Hr[1],this.patch=Hr.slice(2).join(".")}};ie.Version=Si;var _i=typeof window<"u"&&window,ts=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,ss=typeof globalThis<"u"&&globalThis,We=ss||_i||ts;ie.global=We}}),at=En({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(ie){Yn(),Object.defineProperty(ie,"__esModule",{value:!0});var et=Is(),Ct=_(),kt=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function er(hr){return hr.replace(/\W/g,"_")}ie.sanitizeIdentifier=er;var lt=0;function Et(hr){if(!hr||!hr.reference)return null;let wn=hr.reference;if(wn instanceof et.StaticSymbol)return wn.name;if(wn.__anonymousType)return wn.__anonymousType;let Yi=Ct.stringify(wn);return Yi.indexOf("(")>=0?(Yi="anonymous_".concat(lt++),wn.__anonymousType=Yi):Yi=er(Yi),Yi}ie.identifierName=Et;function Ut(hr){let wn=hr.reference;return wn instanceof et.StaticSymbol?wn.filePath:"./".concat(Ct.stringify(wn))}ie.identifierModuleUrl=Ut;function Yt(hr,wn){return"View_".concat(Et({reference:hr}),"_").concat(wn)}ie.viewClassName=Yt;function Ln(hr){return"RenderType_".concat(Et({reference:hr}))}ie.rendererTypeName=Ln;function ct(hr){return"HostView_".concat(Et({reference:hr}))}ie.hostViewClassName=ct;function Ht(hr){return"".concat(Et({reference:hr}),"NgFactory")}ie.componentFactoryName=Ht;var nr;(function(hr){hr[hr.Pipe=0]="Pipe",hr[hr.Directive=1]="Directive",hr[hr.NgModule=2]="NgModule",hr[hr.Injectable=3]="Injectable"})(nr=ie.CompileSummaryKind||(ie.CompileSummaryKind={}));function jr(hr){return hr.value!=null?er(hr.value):Et(hr.identifier)}ie.tokenName=jr;function Tr(hr){return hr.identifier!=null?hr.identifier.reference:hr.value}ie.tokenReference=Tr;var Kr=class{constructor(){let{moduleUrl:hr,styles:wn,styleUrls:Yi}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=hr||null,this.styles=fn(wn),this.styleUrls=fn(Yi)}};ie.CompileStylesheetMetadata=Kr;var Rr=class{constructor(hr){let{encapsulation:wn,template:Yi,templateUrl:xs,htmlAst:Ms,styles:Hs,styleUrls:ga,externalStylesheets:Ds,animations:Ps,ngContentSelectors:Ws,interpolation:ha,isInline:Dn,preserveWhitespaces:Hn}=hr;if(this.encapsulation=wn,this.template=Yi,this.templateUrl=xs,this.htmlAst=Ms,this.styles=fn(Hs),this.styleUrls=fn(ga),this.externalStylesheets=fn(Ds),this.animations=Ps?_i(Ps):[],this.ngContentSelectors=Ws||[],ha&&ha.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=ha,this.isInline=Dn,this.preserveWhitespaces=Hn}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};ie.CompileTemplateMetadata=Rr;var Tn=class{static create(hr){let{isHost:wn,type:Yi,isComponent:xs,selector:Ms,exportAs:Hs,changeDetection:ga,inputs:Ds,outputs:Ps,host:Ws,providers:ha,viewProviders:Dn,queries:Hn,guards:li,viewQueries:ci,entryComponents:ki,template:Ns,componentViewType:Ts,rendererType:ea,componentFactory:La}=hr,nu={},qa={},Ca={};Ws!=null&&Object.keys(Ws).forEach(Ea=>{let Va=Ws[Ea],Ma=Ea.match(kt);Ma===null?Ca[Ea]=Va:Ma[1]!=null?qa[Ma[1]]=Va:Ma[2]!=null&&(nu[Ma[2]]=Va)});let co={};Ds!=null&&Ds.forEach(Ea=>{let Va=Ct.splitAtColon(Ea,[Ea,Ea]);co[Va[0]]=Va[1]});let Uo={};return Ps!=null&&Ps.forEach(Ea=>{let Va=Ct.splitAtColon(Ea,[Ea,Ea]);Uo[Va[0]]=Va[1]}),new Tn({isHost:wn,type:Yi,isComponent:!!xs,selector:Ms,exportAs:Hs,changeDetection:ga,inputs:co,outputs:Uo,hostListeners:nu,hostProperties:qa,hostAttributes:Ca,providers:ha,viewProviders:Dn,queries:Hn,guards:li,viewQueries:ci,entryComponents:ki,template:Ns,componentViewType:Ts,rendererType:ea,componentFactory:La})}constructor(hr){let{isHost:wn,type:Yi,isComponent:xs,selector:Ms,exportAs:Hs,changeDetection:ga,inputs:Ds,outputs:Ps,hostListeners:Ws,hostProperties:ha,hostAttributes:Dn,providers:Hn,viewProviders:li,queries:ci,guards:ki,viewQueries:Ns,entryComponents:Ts,template:ea,componentViewType:La,rendererType:nu,componentFactory:qa}=hr;this.isHost=!!wn,this.type=Yi,this.isComponent=xs,this.selector=Ms,this.exportAs=Hs,this.changeDetection=ga,this.inputs=Ds,this.outputs=Ps,this.hostListeners=Ws,this.hostProperties=ha,this.hostAttributes=Dn,this.providers=fn(Hn),this.viewProviders=fn(li),this.queries=fn(ci),this.guards=ki,this.viewQueries=fn(Ns),this.entryComponents=fn(Ts),this.template=ea,this.componentViewType=La,this.rendererType=nu,this.componentFactory=qa}toSummary(){return{summaryKind:nr.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=Tn;var Bn=class{constructor(hr){let{type:wn,name:Yi,pure:xs}=hr;this.type=wn,this.name=Yi,this.pure=!!xs}toSummary(){return{summaryKind:nr.Pipe,type:this.type,name:this.name,pure:this.pure}}};ie.CompilePipeMetadata=Bn;var jn=class{};ie.CompileShallowModuleMetadata=jn;var Ri=class{constructor(hr){let{type:wn,providers:Yi,declaredDirectives:xs,exportedDirectives:Ms,declaredPipes:Hs,exportedPipes:ga,entryComponents:Ds,bootstrapComponents:Ps,importedModules:Ws,exportedModules:ha,schemas:Dn,transitiveModule:Hn,id:li}=hr;this.type=wn||null,this.declaredDirectives=fn(xs),this.exportedDirectives=fn(Ms),this.declaredPipes=fn(Hs),this.exportedPipes=fn(ga),this.providers=fn(Yi),this.entryComponents=fn(Ds),this.bootstrapComponents=fn(Ps),this.importedModules=fn(Ws),this.exportedModules=fn(ha),this.schemas=fn(Dn),this.id=li||null,this.transitiveModule=Hn||null}toSummary(){let hr=this.transitiveModule;return{summaryKind:nr.NgModule,type:this.type,entryComponents:hr.entryComponents,providers:hr.providers,modules:hr.modules,exportedDirectives:hr.exportedDirectives,exportedPipes:hr.exportedPipes}}};ie.CompileNgModuleMetadata=Ri;var ds=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,wn){this.providers.push({provider:hr,module:wn})}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=ds;function fn(hr){return hr||[]}var Si=class{constructor(hr,wn){let{useClass:Yi,useValue:xs,useExisting:Ms,useFactory:Hs,deps:ga,multi:Ds}=wn;this.token=hr,this.useClass=Yi||null,this.useValue=xs,this.useExisting=Ms,this.useFactory=Hs||null,this.dependencies=ga||null,this.multi=!!Ds}};ie.ProviderMeta=Si;function _i(hr){return hr.reduce((wn,Yi)=>{let xs=Array.isArray(Yi)?_i(Yi):Yi;return wn.concat(xs)},[])}ie.flatten=_i;function ts(hr){return hr.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function ss(hr,wn,Yi){let xs;return Yi.isInline?wn.type.reference instanceof et.StaticSymbol?xs="".concat(wn.type.reference.filePath,".").concat(wn.type.reference.name,".html"):xs="".concat(Et(hr),"/").concat(Et(wn.type),".html"):xs=Yi.templateUrl,wn.type.reference instanceof et.StaticSymbol?xs:ts(xs)}ie.templateSourceUrl=ss;function We(hr,wn){let Yi=hr.moduleUrl.split(/\/\\/g),xs=Yi[Yi.length-1];return ts("css/".concat(wn).concat(xs,".ngstyle.js"))}ie.sharedStylesheetJitUrl=We;function gt(hr){return ts("".concat(Et(hr.type),"/module.ngfactory.js"))}ie.ngModuleJitUrl=gt;function Hr(hr,wn){return ts("".concat(Et(hr),"/").concat(Et(wn.type),".ngfactory.js"))}ie.templateJitUrl=Hr}}),yt=En({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(ie){Yn(),Object.defineProperty(ie,"__esModule",{value:!0});var et=Vi(),Ct=at(),kt=class{constructor(ct,Ht,nr,jr){this.file=ct,this.offset=Ht,this.line=nr,this.col=jr}toString(){return this.offset!=null?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}moveBy(ct){let Ht=this.file.content,nr=Ht.length,jr=this.offset,Tr=this.line,Kr=this.col;for(;jr>0&&ct<0;)if(jr--,ct++,Ht.charCodeAt(jr)==et.$LF){Tr--;let Rr=Ht.substr(0,jr-1).lastIndexOf(String.fromCharCode(et.$LF));Kr=Rr>0?jr-Rr:jr}else Kr--;for(;jr<nr&&ct>0;){let Rr=Ht.charCodeAt(jr);jr++,ct--,Rr==et.$LF?(Tr++,Kr=0):Kr++}return new kt(this.file,jr,Tr,Kr)}getContext(ct,Ht){let nr=this.file.content,jr=this.offset;if(jr!=null){jr>nr.length-1&&(jr=nr.length-1);let Tr=jr,Kr=0,Rr=0;for(;Kr<ct&&jr>0&&(jr--,Kr++,!(nr[jr]==`
|
|
216
|
-
`&&++Rr==Ht)););for(Kr=0,Rr=0;Kr<ct&&Tr<nr.length-1&&(Tr++,Kr++,!(nr[Tr]==`
|
|
217
|
-
`&&++Rr==Ht)););return{before:nr.substring(jr,this.offset),after:nr.substring(this.offset,Tr+1)}}return null}};ie.ParseLocation=kt;var er=class{constructor(ct,Ht){this.content=ct,this.url=Ht}};ie.ParseSourceFile=er;var lt=class{constructor(ct,Ht){let nr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=ct,this.end=Ht,this.details=nr}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};ie.ParseSourceSpan=lt,ie.EMPTY_PARSE_LOCATION=new kt(new er("",""),0,0,0),ie.EMPTY_SOURCE_SPAN=new lt(ie.EMPTY_PARSE_LOCATION,ie.EMPTY_PARSE_LOCATION);var Et;(function(ct){ct[ct.WARNING=0]="WARNING",ct[ct.ERROR=1]="ERROR"})(Et=ie.ParseErrorLevel||(ie.ParseErrorLevel={}));var Ut=class{constructor(ct,Ht){let nr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Et.ERROR;this.span=ct,this.msg=Ht,this.level=nr}contextualMessage(){let ct=this.span.start.getContext(100,3);return ct?"".concat(this.msg,' ("').concat(ct.before,"[").concat(Et[this.level]," ->]").concat(ct.after,'")'):this.msg}toString(){let ct=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(ct)}};ie.ParseError=Ut;function Yt(ct,Ht){let nr=Ct.identifierModuleUrl(Ht),jr=nr!=null?"in ".concat(ct," ").concat(Ct.identifierName(Ht)," in ").concat(nr):"in ".concat(ct," ").concat(Ct.identifierName(Ht)),Tr=new er("",jr);return new lt(new kt(Tr,-1,-1,-1),new kt(Tr,-1,-1,-1))}ie.typeSourceSpan=Yt;function Ln(ct,Ht,nr){let jr="in ".concat(ct," ").concat(Ht," in ").concat(nr),Tr=new er("",jr);return new lt(new kt(Tr,-1,-1,-1),new kt(Tr,-1,-1,-1))}ie.r3JitTypeSourceSpan=Ln}}),mr=En({"src/utils/front-matter/parse.js"(ie,et){Yn();var Ct=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function kt(er){let lt=er.match(Ct);if(!lt)return{content:er};let{startDelimiter:Et,language:Ut,value:Yt="",endDelimiter:Ln}=lt.groups,ct=Ut.trim()||"yaml";if(Et==="+++"&&(ct="toml"),ct!=="yaml"&&Et!==Ln)return{content:er};let[Ht]=lt;return{frontMatter:{type:"front-matter",lang:ct,value:Yt,startDelimiter:Et,endDelimiter:Ln,raw:Ht.replace(/\n$/,"")},content:Ht.replace(/[^\n]/g," ")+er.slice(Ht.length)}}et.exports=kt}}),ui=En({"src/utils/get-last.js"(ie,et){Yn();var Ct=kt=>kt[kt.length-1];et.exports=Ct}}),us=En({"src/common/parser-create-error.js"(ie,et){Yn();function Ct(kt,er){let lt=new SyntaxError(kt+" ("+er.start.line+":"+er.start.column+")");return lt.loc=er,lt}et.exports=Ct}}),Ji={};Hi(Ji,{default:()=>Os});function Os(ie){if(typeof ie!="string")throw new TypeError("Expected a string");return ie.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Us=pi({"node_modules/escape-string-regexp/index.js"(){Yn()}}),$i=En({"node_modules/semver/internal/debug.js"(ie,et){Yn();var Ct=typeof Xi=="object"&&Xi.env&&Xi.env.NODE_DEBUG&&/\bsemver\b/i.test(Xi.env.NODE_DEBUG)?function(){for(var kt=arguments.length,er=new Array(kt),lt=0;lt<kt;lt++)er[lt]=arguments[lt];return console.error("SEMVER",...er)}:()=>{};et.exports=Ct}}),Fu=En({"node_modules/semver/internal/constants.js"(ie,et){Yn();var Ct="2.0.0",kt=256,er=Number.MAX_SAFE_INTEGER||9007199254740991,lt=16;et.exports={SEMVER_SPEC_VERSION:Ct,MAX_LENGTH:kt,MAX_SAFE_INTEGER:er,MAX_SAFE_COMPONENT_LENGTH:lt}}}),ku=En({"node_modules/semver/internal/re.js"(ie,et){Yn();var{MAX_SAFE_COMPONENT_LENGTH:Ct}=Fu(),kt=$i();ie=et.exports={};var er=ie.re=[],lt=ie.src=[],Et=ie.t={},Ut=0,Yt=(Ln,ct,Ht)=>{let nr=Ut++;kt(Ln,nr,ct),Et[Ln]=nr,lt[nr]=ct,er[nr]=new RegExp(ct,Ht?"g":void 0)};Yt("NUMERICIDENTIFIER","0|[1-9]\\d*"),Yt("NUMERICIDENTIFIERLOOSE","[0-9]+"),Yt("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),Yt("MAINVERSION","(".concat(lt[Et.NUMERICIDENTIFIER],")\\.(").concat(lt[Et.NUMERICIDENTIFIER],")\\.(").concat(lt[Et.NUMERICIDENTIFIER],")")),Yt("MAINVERSIONLOOSE","(".concat(lt[Et.NUMERICIDENTIFIERLOOSE],")\\.(").concat(lt[Et.NUMERICIDENTIFIERLOOSE],")\\.(").concat(lt[Et.NUMERICIDENTIFIERLOOSE],")")),Yt("PRERELEASEIDENTIFIER","(?:".concat(lt[Et.NUMERICIDENTIFIER],"|").concat(lt[Et.NONNUMERICIDENTIFIER],")")),Yt("PRERELEASEIDENTIFIERLOOSE","(?:".concat(lt[Et.NUMERICIDENTIFIERLOOSE],"|").concat(lt[Et.NONNUMERICIDENTIFIER],")")),Yt("PRERELEASE","(?:-(".concat(lt[Et.PRERELEASEIDENTIFIER],"(?:\\.").concat(lt[Et.PRERELEASEIDENTIFIER],")*))")),Yt("PRERELEASELOOSE","(?:-?(".concat(lt[Et.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(lt[Et.PRERELEASEIDENTIFIERLOOSE],")*))")),Yt("BUILDIDENTIFIER","[0-9A-Za-z-]+"),Yt("BUILD","(?:\\+(".concat(lt[Et.BUILDIDENTIFIER],"(?:\\.").concat(lt[Et.BUILDIDENTIFIER],")*))")),Yt("FULLPLAIN","v?".concat(lt[Et.MAINVERSION]).concat(lt[Et.PRERELEASE],"?").concat(lt[Et.BUILD],"?")),Yt("FULL","^".concat(lt[Et.FULLPLAIN],"$")),Yt("LOOSEPLAIN","[v=\\s]*".concat(lt[Et.MAINVERSIONLOOSE]).concat(lt[Et.PRERELEASELOOSE],"?").concat(lt[Et.BUILD],"?")),Yt("LOOSE","^".concat(lt[Et.LOOSEPLAIN],"$")),Yt("GTLT","((?:<|>)?=?)"),Yt("XRANGEIDENTIFIERLOOSE","".concat(lt[Et.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),Yt("XRANGEIDENTIFIER","".concat(lt[Et.NUMERICIDENTIFIER],"|x|X|\\*")),Yt("XRANGEPLAIN","[v=\\s]*(".concat(lt[Et.XRANGEIDENTIFIER],")(?:\\.(").concat(lt[Et.XRANGEIDENTIFIER],")(?:\\.(").concat(lt[Et.XRANGEIDENTIFIER],")(?:").concat(lt[Et.PRERELEASE],")?").concat(lt[Et.BUILD],"?)?)?")),Yt("XRANGEPLAINLOOSE","[v=\\s]*(".concat(lt[Et.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(lt[Et.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(lt[Et.XRANGEIDENTIFIERLOOSE],")(?:").concat(lt[Et.PRERELEASELOOSE],")?").concat(lt[Et.BUILD],"?)?)?")),Yt("XRANGE","^".concat(lt[Et.GTLT],"\\s*").concat(lt[Et.XRANGEPLAIN],"$")),Yt("XRANGELOOSE","^".concat(lt[Et.GTLT],"\\s*").concat(lt[Et.XRANGEPLAINLOOSE],"$")),Yt("COERCE","(^|[^\\d])(\\d{1,".concat(Ct,"})(?:\\.(\\d{1,").concat(Ct,"}))?(?:\\.(\\d{1,").concat(Ct,"}))?(?:$|[^\\d])")),Yt("COERCERTL",lt[Et.COERCE],!0),Yt("LONETILDE","(?:~>?)"),Yt("TILDETRIM","(\\s*)".concat(lt[Et.LONETILDE],"\\s+"),!0),ie.tildeTrimReplace="$1~",Yt("TILDE","^".concat(lt[Et.LONETILDE]).concat(lt[Et.XRANGEPLAIN],"$")),Yt("TILDELOOSE","^".concat(lt[Et.LONETILDE]).concat(lt[Et.XRANGEPLAINLOOSE],"$")),Yt("LONECARET","(?:\\^)"),Yt("CARETTRIM","(\\s*)".concat(lt[Et.LONECARET],"\\s+"),!0),ie.caretTrimReplace="$1^",Yt("CARET","^".concat(lt[Et.LONECARET]).concat(lt[Et.XRANGEPLAIN],"$")),Yt("CARETLOOSE","^".concat(lt[Et.LONECARET]).concat(lt[Et.XRANGEPLAINLOOSE],"$")),Yt("COMPARATORLOOSE","^".concat(lt[Et.GTLT],"\\s*(").concat(lt[Et.LOOSEPLAIN],")$|^$")),Yt("COMPARATOR","^".concat(lt[Et.GTLT],"\\s*(").concat(lt[Et.FULLPLAIN],")$|^$")),Yt("COMPARATORTRIM","(\\s*)".concat(lt[Et.GTLT],"\\s*(").concat(lt[Et.LOOSEPLAIN],"|").concat(lt[Et.XRANGEPLAIN],")"),!0),ie.comparatorTrimReplace="$1$2$3",Yt("HYPHENRANGE","^\\s*(".concat(lt[Et.XRANGEPLAIN],")\\s+-\\s+(").concat(lt[Et.XRANGEPLAIN],")\\s*$")),Yt("HYPHENRANGELOOSE","^\\s*(".concat(lt[Et.XRANGEPLAINLOOSE],")\\s+-\\s+(").concat(lt[Et.XRANGEPLAINLOOSE],")\\s*$")),Yt("STAR","(<|>)?=?\\s*\\*"),Yt("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),Yt("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),Bo=En({"node_modules/semver/internal/parse-options.js"(ie,et){Yn();var Ct=["includePrerelease","loose","rtl"],kt=er=>er?typeof er!="object"?{loose:!0}:Ct.filter(lt=>er[lt]).reduce((lt,Et)=>(lt[Et]=!0,lt),{}):{};et.exports=kt}}),_a=En({"node_modules/semver/internal/identifiers.js"(ie,et){Yn();var Ct=/^[0-9]+$/,kt=(lt,Et)=>{let Ut=Ct.test(lt),Yt=Ct.test(Et);return Ut&&Yt&&(lt=+lt,Et=+Et),lt===Et?0:Ut&&!Yt?-1:Yt&&!Ut?1:lt<Et?-1:1},er=(lt,Et)=>kt(Et,lt);et.exports={compareIdentifiers:kt,rcompareIdentifiers:er}}}),tu=En({"node_modules/semver/classes/semver.js"(ie,et){Yn();var Ct=$i(),{MAX_LENGTH:kt,MAX_SAFE_INTEGER:er}=Fu(),{re:lt,t:Et}=ku(),Ut=Bo(),{compareIdentifiers:Yt}=_a(),Ln=class{constructor(ct,Ht){if(Ht=Ut(Ht),ct instanceof Ln){if(ct.loose===!!Ht.loose&&ct.includePrerelease===!!Ht.includePrerelease)return ct;ct=ct.version}else if(typeof ct!="string")throw new TypeError("Invalid Version: ".concat(ct));if(ct.length>kt)throw new TypeError("version is longer than ".concat(kt," characters"));Ct("SemVer",ct,Ht),this.options=Ht,this.loose=!!Ht.loose,this.includePrerelease=!!Ht.includePrerelease;let nr=ct.trim().match(Ht.loose?lt[Et.LOOSE]:lt[Et.FULL]);if(!nr)throw new TypeError("Invalid Version: ".concat(ct));if(this.raw=ct,this.major=+nr[1],this.minor=+nr[2],this.patch=+nr[3],this.major>er||this.major<0)throw new TypeError("Invalid major version");if(this.minor>er||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>er||this.patch<0)throw new TypeError("Invalid patch version");nr[4]?this.prerelease=nr[4].split(".").map(jr=>{if(/^[0-9]+$/.test(jr)){let Tr=+jr;if(Tr>=0&&Tr<er)return Tr}return jr}):this.prerelease=[],this.build=nr[5]?nr[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(ct){if(Ct("SemVer.compare",this.version,this.options,ct),!(ct instanceof Ln)){if(typeof ct=="string"&&ct===this.version)return 0;ct=new Ln(ct,this.options)}return ct.version===this.version?0:this.compareMain(ct)||this.comparePre(ct)}compareMain(ct){return ct instanceof Ln||(ct=new Ln(ct,this.options)),Yt(this.major,ct.major)||Yt(this.minor,ct.minor)||Yt(this.patch,ct.patch)}comparePre(ct){if(ct instanceof Ln||(ct=new Ln(ct,this.options)),this.prerelease.length&&!ct.prerelease.length)return-1;if(!this.prerelease.length&&ct.prerelease.length)return 1;if(!this.prerelease.length&&!ct.prerelease.length)return 0;let Ht=0;do{let nr=this.prerelease[Ht],jr=ct.prerelease[Ht];if(Ct("prerelease compare",Ht,nr,jr),nr===void 0&&jr===void 0)return 0;if(jr===void 0)return 1;if(nr===void 0)return-1;if(nr!==jr)return Yt(nr,jr)}while(++Ht)}compareBuild(ct){ct instanceof Ln||(ct=new Ln(ct,this.options));let Ht=0;do{let nr=this.build[Ht],jr=ct.build[Ht];if(Ct("prerelease compare",Ht,nr,jr),nr===void 0&&jr===void 0)return 0;if(jr===void 0)return 1;if(nr===void 0)return-1;if(nr!==jr)return Yt(nr,jr)}while(++Ht)}inc(ct,Ht){switch(ct){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",Ht);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",Ht);break;case"prepatch":this.prerelease.length=0,this.inc("patch",Ht),this.inc("pre",Ht);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",Ht),this.inc("pre",Ht);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 nr=this.prerelease.length;for(;--nr>=0;)typeof this.prerelease[nr]=="number"&&(this.prerelease[nr]++,nr=-2);nr===-1&&this.prerelease.push(0)}Ht&&(Yt(this.prerelease[0],Ht)===0?isNaN(this.prerelease[1])&&(this.prerelease=[Ht,0]):this.prerelease=[Ht,0]);break;default:throw new Error("invalid increment argument: ".concat(ct))}return this.format(),this.raw=this.version,this}};et.exports=Ln}}),vo=En({"node_modules/semver/functions/compare.js"(ie,et){Yn();var Ct=tu(),kt=(er,lt,Et)=>new Ct(er,Et).compare(new Ct(lt,Et));et.exports=kt}}),lo=En({"node_modules/semver/functions/lt.js"(ie,et){Yn();var Ct=vo(),kt=(er,lt,Et)=>Ct(er,lt,Et)<0;et.exports=kt}}),du=En({"node_modules/semver/functions/gte.js"(ie,et){Yn();var Ct=vo(),kt=(er,lt,Et)=>Ct(er,lt,Et)>=0;et.exports=kt}}),mu=En({"src/utils/arrayify.js"(ie,et){Yn(),et.exports=(Ct,kt)=>Object.entries(Ct).map(er=>{let[lt,Et]=er;return Object.assign({[kt]:lt},Et)})}}),_o=En({"package.json"(ie,et){et.exports={version:"2.7.1"}}}),Pu=En({"node_modules/outdent/lib/index.js"(ie,et){Yn(),Object.defineProperty(ie,"__esModule",{value:!0}),ie.outdent=void 0;function Ct(){for(var Bn=[],jn=0;jn<arguments.length;jn++)Bn[jn]=arguments[jn]}function kt(){return typeof WeakMap<"u"?new WeakMap:er()}function er(){return{add:Ct,delete:Ct,get:Ct,set:Ct,has:function(Bn){return!1}}}var lt=Object.prototype.hasOwnProperty,Et=function(Bn,jn){return lt.call(Bn,jn)};function Ut(Bn,jn){for(var Ri in jn)Et(jn,Ri)&&(Bn[Ri]=jn[Ri]);return Bn}var Yt=/^[ \t]*(?:\r\n|\r|\n)/,Ln=/(?:\r\n|\r|\n)[ \t]*$/,ct=/^(?:[\r\n]|$)/,Ht=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,nr=/^[ \t]*[\r\n][ \t\r\n]*$/;function jr(Bn,jn,Ri){var ds=0,fn=Bn[0].match(Ht);fn&&(ds=fn[1].length);var Si="(\\r\\n|\\r|\\n).{0,"+ds+"}",_i=new RegExp(Si,"g");jn&&(Bn=Bn.slice(1));var ts=Ri.newline,ss=Ri.trimLeadingNewline,We=Ri.trimTrailingNewline,gt=typeof ts=="string",Hr=Bn.length,hr=Bn.map(function(wn,Yi){return wn=wn.replace(_i,"$1"),Yi===0&&ss&&(wn=wn.replace(Yt,"")),Yi===Hr-1&&We&&(wn=wn.replace(Ln,"")),gt&&(wn=wn.replace(/\r\n|\n|\r/g,function(xs){return ts})),wn});return hr}function Tr(Bn,jn){for(var Ri="",ds=0,fn=Bn.length;ds<fn;ds++)Ri+=Bn[ds],ds<fn-1&&(Ri+=jn[ds]);return Ri}function Kr(Bn){return Et(Bn,"raw")&&Et(Bn,"length")}function Rr(Bn){var jn=kt(),Ri=kt();function ds(Si){for(var _i=[],ts=1;ts<arguments.length;ts++)_i[ts-1]=arguments[ts];if(Kr(Si)){var ss=Si,We=(_i[0]===ds||_i[0]===Tn)&&nr.test(ss[0])&&ct.test(ss[1]),gt=We?Ri:jn,Hr=gt.get(ss);if(Hr||(Hr=jr(ss,We,Bn),gt.set(ss,Hr)),_i.length===0)return Hr[0];var hr=Tr(Hr,We?_i.slice(1):_i);return hr}else return Rr(Ut(Ut({},Bn),Si||{}))}var fn=Ut(ds,{string:function(Si){return jr([Si],!1,Bn)[0]}});return fn}var Tn=Rr({trimLeadingNewline:!0,trimTrailingNewline:!0});if(ie.outdent=Tn,ie.default=Tn,typeof et<"u")try{et.exports=Tn,Object.defineProperty(Tn,"__esModule",{value:!0}),Tn.default=Tn,Tn.outdent=Tn}catch{}}}),gu=En({"src/main/core-options.js"(ie,et){Yn();var{outdent:Ct}=Pu(),kt="Config",er="Editor",lt="Format",Et="Other",Ut="Output",Yt="Global",Ln="Special",ct={cursorOffset:{since:"1.4.0",category:Ln,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:Ct(me||(me=or([`
|
|
218
|
-
Print (to stderr) where a cursor at the given position would move to after formatting.
|
|
219
|
-
This option cannot be used with --range-start and --range-end.
|
|
220
|
-
`]))),cliCategory:er},endOfLine:{since:"1.15.0",category:Yt,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:Ct(be||(be=or([`
|
|
221
|
-
Maintain existing
|
|
222
|
-
(mixed values within one file are normalised by looking at what's used after the first line)
|
|
223
|
-
`])))}]},filepath:{since:"1.4.0",category:Ln,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:Et,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:Ln,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:Et},parser:{since:"0.0.10",category:Yt,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:Ht=>typeof Ht=="string"||typeof Ht=="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:Yt,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:Ht=>typeof Ht=="string"||typeof Ht=="object",cliName:"plugin",cliCategory:kt},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Yt,description:Ct(Ee||(Ee=or([`
|
|
224
|
-
Custom directory that contains prettier plugins in node_modules subdirectory.
|
|
225
|
-
Overrides default behavior when plugins are searched relatively to the location of Prettier.
|
|
226
|
-
Multiple values are accepted.
|
|
227
|
-
`]))),exception:Ht=>typeof Ht=="string"||typeof Ht=="object",cliName:"plugin-search-dir",cliCategory:kt},printWidth:{since:"0.0.0",category:Yt,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:Ln,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Ct(ze||(ze=or([`
|
|
228
|
-
Format code ending at a given character offset (exclusive).
|
|
229
|
-
The range will extend forwards to the end of the selected statement.
|
|
230
|
-
This option cannot be used with --cursor-offset.
|
|
231
|
-
`]))),cliCategory:er},rangeStart:{since:"1.4.0",category:Ln,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Ct(Qe||(Qe=or([`
|
|
232
|
-
Format code starting at a given character offset.
|
|
233
|
-
The range will extend backwards to the start of the first line containing the selected statement.
|
|
234
|
-
This option cannot be used with --cursor-offset.
|
|
235
|
-
`]))),cliCategory:er},requirePragma:{since:"1.7.0",category:Ln,type:"boolean",default:!1,description:Ct(ut||(ut=or([`
|
|
236
|
-
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
237
|
-
in order for it to be formatted.
|
|
238
|
-
`]))),cliCategory:Et},tabWidth:{type:"int",category:Yt,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Yt,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Yt,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."}]}};et.exports={CATEGORY_CONFIG:kt,CATEGORY_EDITOR:er,CATEGORY_FORMAT:lt,CATEGORY_OTHER:Et,CATEGORY_OUTPUT:Ut,CATEGORY_GLOBAL:Yt,CATEGORY_SPECIAL:Ln,options:ct}}}),bi=En({"src/main/support.js"(ie,et){Yn();var Ct={compare:vo(),lt:lo(),gte:du()},kt=mu(),er=_o().version,lt=gu().options;function Et(){let{plugins:Yt=[],showUnreleased:Ln=!1,showDeprecated:ct=!1,showInternal:Ht=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},nr=er.split("-",1)[0],jr=Yt.flatMap(Bn=>Bn.languages||[]).filter(Kr),Tr=kt(Object.assign({},...Yt.map(Bn=>{let{options:jn}=Bn;return jn}),lt),"name").filter(Bn=>Kr(Bn)&&Rr(Bn)).sort((Bn,jn)=>Bn.name===jn.name?0:Bn.name<jn.name?-1:1).map(Tn).map(Bn=>{Bn=Object.assign({},Bn),Array.isArray(Bn.default)&&(Bn.default=Bn.default.length===1?Bn.default[0].value:Bn.default.filter(Kr).sort((Ri,ds)=>Ct.compare(ds.since,Ri.since))[0].value),Array.isArray(Bn.choices)&&(Bn.choices=Bn.choices.filter(Ri=>Kr(Ri)&&Rr(Ri)),Bn.name==="parser"&&Ut(Bn,jr,Yt));let jn=Object.fromEntries(Yt.filter(Ri=>Ri.defaultOptions&&Ri.defaultOptions[Bn.name]!==void 0).map(Ri=>[Ri.name,Ri.defaultOptions[Bn.name]]));return Object.assign(Object.assign({},Bn),{},{pluginDefaults:jn})});return{languages:jr,options:Tr};function Kr(Bn){return Ln||!("since"in Bn)||Bn.since&&Ct.gte(nr,Bn.since)}function Rr(Bn){return ct||!("deprecated"in Bn)||Bn.deprecated&&Ct.lt(nr,Bn.deprecated)}function Tn(Bn){return Ht?Bn:xt(Bn,pe)}}function Ut(Yt,Ln,ct){let Ht=new Set(Yt.choices.map(nr=>nr.value));for(let nr of Ln)if(nr.parsers){for(let jr of nr.parsers)if(!Ht.has(jr)){Ht.add(jr);let Tr=ct.find(Rr=>Rr.parsers&&Rr.parsers[jr]),Kr=nr.name;Tr&&Tr.name&&(Kr+=" (plugin: ".concat(Tr.name,")")),Yt.choices.push({value:jr,description:Kr})}}}et.exports={getSupportInfo:Et}}}),yu=En({"src/utils/is-non-empty-array.js"(ie,et){Yn();function Ct(kt){return Array.isArray(kt)&&kt.length>0}et.exports=Ct}});function el(){let{onlyFirst:ie=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},et=["[\\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(et,ie?void 0:"g")}var tl=pi({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){Yn()}});function Nu(ie){if(typeof ie!="string")throw new TypeError("Expected a `string`, got `".concat(typeof ie,"`"));return ie.replace(el(),"")}var za=pi({"node_modules/strip-ansi/index.js"(){Yn(),tl()}});function xl(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 rl=pi({"node_modules/is-fullwidth-code-point/index.js"(){Yn()}}),ma=En({"node_modules/emoji-regex/index.js"(ie,et){Yn(),et.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}}}),Io={};Hi(Io,{default:()=>Bu});function Bu(ie){if(typeof ie!="string"||ie.length===0||(ie=Nu(ie),ie.length===0))return 0;ie=ie.replace((0,nl.default)()," ");let et=0;for(let Ct=0;Ct<ie.length;Ct++){let kt=ie.codePointAt(Ct);kt<=31||kt>=127&&kt<=159||kt>=768&&kt<=879||(kt>65535&&Ct++,et+=xl(kt)?2:1)}return et}var nl,Cl=pi({"node_modules/string-width/index.js"(){Yn(),za(),rl(),nl=ft(ma())}}),El=En({"src/utils/get-string-width.js"(ie,et){Yn();var Ct=(Cl(),qi(Io)).default,kt=/[^\x20-\x7F]/;function er(lt){return lt?kt.test(lt)?Ct(lt):lt.length:0}et.exports=er}}),Oo=En({"src/utils/text/skip.js"(ie,et){Yn();function Ct(Ut){return(Yt,Ln,ct)=>{let Ht=ct&&ct.backwards;if(Ln===!1)return!1;let{length:nr}=Yt,jr=Ln;for(;jr>=0&&jr<nr;){let Tr=Yt.charAt(jr);if(Ut instanceof RegExp){if(!Ut.test(Tr))return jr}else if(!Ut.includes(Tr))return jr;Ht?jr--:jr++}return jr===-1||jr===nr?jr:!1}}var kt=Ct(/\s/),er=Ct(" "),lt=Ct(",; "),Et=Ct(/[^\n\r]/);et.exports={skipWhitespace:kt,skipSpaces:er,skipToLineEnd:lt,skipEverythingButNewLine:Et}}}),Ia=En({"src/utils/text/skip-inline-comment.js"(ie,et){Yn();function Ct(kt,er){if(er===!1)return!1;if(kt.charAt(er)==="/"&&kt.charAt(er+1)==="*"){for(let lt=er+2;lt<kt.length;++lt)if(kt.charAt(lt)==="*"&&kt.charAt(lt+1)==="/")return lt+2}return er}et.exports=Ct}}),Xs=En({"src/utils/text/skip-trailing-comment.js"(ie,et){Yn();var{skipEverythingButNewLine:Ct}=Oo();function kt(er,lt){return lt===!1?!1:er.charAt(lt)==="/"&&er.charAt(lt+1)==="/"?Ct(er,lt):lt}et.exports=kt}}),Da=En({"src/utils/text/skip-newline.js"(ie,et){Yn();function Ct(kt,er,lt){let Et=lt&<.backwards;if(er===!1)return!1;let Ut=kt.charAt(er);if(Et){if(kt.charAt(er-1)==="\r"&&Ut===`
|
|
239
|
-
`)return er-2;if(Ut===`
|
|
240
|
-
`||Ut==="\r"||Ut==="\u2028"||Ut==="\u2029")return er-1}else{if(Ut==="\r"&&kt.charAt(er+1)===`
|
|
241
|
-
`)return er+2;if(Ut===`
|
|
242
|
-
`||Ut==="\r"||Ut==="\u2028"||Ut==="\u2029")return er+1}return er}et.exports=Ct}}),Ha=En({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(ie,et){Yn();var Ct=Ia(),kt=Da(),er=Xs(),{skipSpaces:lt}=Oo();function Et(Ut,Yt){let Ln=null,ct=Yt;for(;ct!==Ln;)Ln=ct,ct=lt(Ut,ct),ct=Ct(Ut,ct),ct=er(Ut,ct),ct=kt(Ut,ct);return ct}et.exports=Et}}),$a=En({"src/common/util.js"(ie,et){Yn();var{default:Ct}=(Us(),qi(Ji)),kt=ui(),{getSupportInfo:er}=bi(),lt=yu(),Et=El(),{skipWhitespace:Ut,skipSpaces:Yt,skipToLineEnd:Ln,skipEverythingButNewLine:ct}=Oo(),Ht=Ia(),nr=Xs(),jr=Da(),Tr=Ha(),Kr=Dn=>Dn[Dn.length-2];function Rr(Dn){return(Hn,li,ci)=>{let ki=ci&&ci.backwards;if(li===!1)return!1;let{length:Ns}=Hn,Ts=li;for(;Ts>=0&&Ts<Ns;){let ea=Hn.charAt(Ts);if(Dn instanceof RegExp){if(!Dn.test(ea))return Ts}else if(!Dn.includes(ea))return Ts;ki?Ts--:Ts++}return Ts===-1||Ts===Ns?Ts:!1}}function Tn(Dn,Hn){let li=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ci=Yt(Dn,li.backwards?Hn-1:Hn,li),ki=jr(Dn,ci,li);return ci!==ki}function Bn(Dn,Hn,li){for(let ci=Hn;ci<li;++ci)if(Dn.charAt(ci)===`
|
|
243
|
-
`)return!0;return!1}function jn(Dn,Hn,li){let ci=li(Hn)-1;ci=Yt(Dn,ci,{backwards:!0}),ci=jr(Dn,ci,{backwards:!0}),ci=Yt(Dn,ci,{backwards:!0});let ki=jr(Dn,ci,{backwards:!0});return ci!==ki}function Ri(Dn,Hn){let li=null,ci=Hn;for(;ci!==li;)li=ci,ci=Ln(Dn,ci),ci=Ht(Dn,ci),ci=Yt(Dn,ci);return ci=nr(Dn,ci),ci=jr(Dn,ci),ci!==!1&&Tn(Dn,ci)}function ds(Dn,Hn,li){return Ri(Dn,li(Hn))}function fn(Dn,Hn,li){return Tr(Dn,li(Hn))}function Si(Dn,Hn,li){return Dn.charAt(fn(Dn,Hn,li))}function _i(Dn,Hn){let li=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Yt(Dn,li.backwards?Hn-1:Hn,li)!==Hn}function ts(Dn,Hn){let li=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,ci=0;for(let ki=li;ki<Dn.length;++ki)Dn[ki]===" "?ci=ci+Hn-ci%Hn:ci++;return ci}function ss(Dn,Hn){let li=Dn.lastIndexOf(`
|
|
244
|
-
`);return li===-1?0:ts(Dn.slice(li+1).match(/^[\t ]*/)[0],Hn)}function We(Dn,Hn){let li={quote:'"',regex:/"/g,escaped:"""},ci={quote:"'",regex:/'/g,escaped:"'"},ki=Hn==="'"?ci:li,Ns=ki===ci?li:ci,Ts=ki;if(Dn.includes(ki.quote)||Dn.includes(Ns.quote)){let ea=(Dn.match(ki.regex)||[]).length,La=(Dn.match(Ns.regex)||[]).length;Ts=ea>La?Ns:ki}return Ts}function gt(Dn,Hn){let li=Dn.slice(1,-1),ci=Hn.parser==="json"||Hn.parser==="json5"&&Hn.quoteProps==="preserve"&&!Hn.singleQuote?'"':Hn.__isInHtmlAttribute?"'":We(li,Hn.singleQuote?"'":'"').quote;return Hr(li,ci,!(Hn.parser==="css"||Hn.parser==="less"||Hn.parser==="scss"||Hn.__embeddedInHtml))}function Hr(Dn,Hn,li){let ci=Hn==='"'?"'":'"',ki=/\\(.)|(["'])/gs,Ns=Dn.replace(ki,(Ts,ea,La)=>ea===ci?ea:La===Hn?"\\"+La:La||(li&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(ea)?ea:"\\"+ea));return Hn+Ns+Hn}function hr(Dn){return Dn.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function wn(Dn,Hn){let li=Dn.match(new RegExp("(".concat(Ct(Hn),")+"),"g"));return li===null?0:li.reduce((ci,ki)=>Math.max(ci,ki.length/Hn.length),0)}function Yi(Dn,Hn){let li=Dn.match(new RegExp("(".concat(Ct(Hn),")+"),"g"));if(li===null)return 0;let ci=new Map,ki=0;for(let Ns of li){let Ts=Ns.length/Hn.length;ci.set(Ts,!0),Ts>ki&&(ki=Ts)}for(let Ns=1;Ns<ki;Ns++)if(!ci.get(Ns))return Ns;return ki+1}function xs(Dn,Hn){(Dn.comments||(Dn.comments=[])).push(Hn),Hn.printed=!1,Hn.nodeDescription=ha(Dn)}function Ms(Dn,Hn){Hn.leading=!0,Hn.trailing=!1,xs(Dn,Hn)}function Hs(Dn,Hn,li){Hn.leading=!1,Hn.trailing=!1,li&&(Hn.marker=li),xs(Dn,Hn)}function ga(Dn,Hn){Hn.leading=!1,Hn.trailing=!0,xs(Dn,Hn)}function Ds(Dn,Hn){let{languages:li}=er({plugins:Hn.plugins}),ci=li.find(ki=>{let{name:Ns}=ki;return Ns.toLowerCase()===Dn})||li.find(ki=>{let{aliases:Ns}=ki;return Array.isArray(Ns)&&Ns.includes(Dn)})||li.find(ki=>{let{extensions:Ns}=ki;return Array.isArray(Ns)&&Ns.includes(".".concat(Dn))});return ci&&ci.parsers[0]}function Ps(Dn){return Dn&&Dn.type==="front-matter"}function Ws(Dn){let Hn=new WeakMap;return function(li){return Hn.has(li)||Hn.set(li,Symbol(Dn)),Hn.get(li)}}function ha(Dn){let Hn=Dn.type||Dn.kind||"(unknown type)",li=String(Dn.name||Dn.id&&(typeof Dn.id=="object"?Dn.id.name:Dn.id)||Dn.key&&(typeof Dn.key=="object"?Dn.key.name:Dn.key)||Dn.value&&(typeof Dn.value=="object"?"":String(Dn.value))||Dn.operator||"");return li.length>20&&(li=li.slice(0,19)+"\u2026"),Hn+(li?" "+li:"")}et.exports={inferParserByLanguage:Ds,getStringWidth:Et,getMaxContinuousCount:wn,getMinNotPresentContinuousCount:Yi,getPenultimate:Kr,getLast:kt,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Tr,getNextNonSpaceNonCommentCharacterIndex:fn,getNextNonSpaceNonCommentCharacter:Si,skip:Rr,skipWhitespace:Ut,skipSpaces:Yt,skipToLineEnd:Ln,skipEverythingButNewLine:ct,skipInlineComment:Ht,skipTrailingComment:nr,skipNewline:jr,isNextLineEmptyAfterIndex:Ri,isNextLineEmpty:ds,isPreviousLineEmpty:jn,hasNewline:Tn,hasNewlineInRange:Bn,hasSpaces:_i,getAlignmentSize:ts,getIndentSize:ss,getPreferredQuote:We,printString:gt,printNumber:hr,makeString:Hr,addLeadingComment:Ms,addDanglingComment:Hs,addTrailingComment:ga,isFrontMatterNode:Ps,isNonEmptyArray:lt,createGroupIdMapper:Ws}}}),va=En({"vendors/html-tag-names.json"(ie,et){et.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"]}}}),Lo=En({"src/language-html/utils/array-to-map.js"(ie,et){Yn();function Ct(kt){let er=Object.create(null);for(let lt of kt)er[lt]=!0;return er}et.exports=Ct}}),Du=En({"src/language-html/utils/html-tag-names.js"(ie,et){Yn();var{htmlTagNames:Ct}=va(),kt=Lo(),er=kt(Ct);et.exports=er}}),Ki=En({"vendors/html-element-attributes.json"(ie,et){et.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"]}}}}),Mo=En({"src/language-html/utils/map-object.js"(ie,et){Yn();function Ct(kt,er){let lt=Object.create(null);for(let[Et,Ut]of Object.entries(kt))lt[Et]=er(Ut,Et);return lt}et.exports=Ct}}),_u=En({"src/language-html/utils/html-elements-attributes.js"(ie,et){Yn();var{htmlElementAttributes:Ct}=Ki(),kt=Mo(),er=Lo(),lt=kt(Ct,er);et.exports=lt}}),jo=En({"src/language-html/utils/is-unknown-namespace.js"(ie,et){Yn();function Ct(kt){return kt.type==="element"&&!kt.hasExplicitNamespace&&!["html","svg"].includes(kt.namespace)}et.exports=Ct}}),xa=En({"src/language-html/pragma.js"(ie,et){Yn();function Ct(er){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(er)}function kt(er){return`<!-- @format -->
|
|
245
|
-
|
|
246
|
-
`+er.replace(/^\s*\n/,"")}et.exports={hasPragma:Ct,insertPragma:kt}}}),ru=En({"src/language-html/ast.js"(ie,et){Yn();var Ct={attrs:!0,children:!0},kt=new Set(["parent"]),er=class{constructor(){let Et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(let Ut of new Set([...kt,...Object.keys(Et)]))this.setProperty(Ut,Et[Ut])}setProperty(Et,Ut){if(this[Et]!==Ut){if(Et in Ct&&(Ut=Ut.map(Yt=>this.createChild(Yt))),!kt.has(Et)){this[Et]=Ut;return}Object.defineProperty(this,Et,{value:Ut,enumerable:!1,configurable:!0})}}map(Et){let Ut;for(let Yt in Ct){let Ln=this[Yt];if(Ln){let ct=lt(Ln,Ht=>Ht.map(Et));Ut!==Ln&&(Ut||(Ut=new er({parent:this.parent})),Ut.setProperty(Yt,ct))}}if(Ut)for(let Yt in this)Yt in Ct||(Ut[Yt]=this[Yt]);return Et(Ut||this)}walk(Et){for(let Ut in Ct){let Yt=this[Ut];if(Yt)for(let Ln=0;Ln<Yt.length;Ln++)Yt[Ln].walk(Et)}Et(this)}createChild(Et){let Ut=Et instanceof er?Et.clone():new er(Et);return Ut.setProperty("parent",this),Ut}insertChildBefore(Et,Ut){this.children.splice(this.children.indexOf(Et),0,this.createChild(Ut))}removeChild(Et){this.children.splice(this.children.indexOf(Et),1)}replaceChild(Et,Ut){this.children[this.children.indexOf(Et)]=this.createChild(Ut)}clone(){return new er(this)}get firstChild(){var Et;return(Et=this.children)===null||Et===void 0?void 0:Et[0]}get lastChild(){var Et;return(Et=this.children)===null||Et===void 0?void 0:Et[this.children.length-1]}get prev(){var Et;return(Et=this.parent)===null||Et===void 0?void 0:Et.children[this.parent.children.indexOf(this)-1]}get next(){var Et;return(Et=this.parent)===null||Et===void 0?void 0:Et.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(Et=>[Et.fullName,Et.value]))}};function lt(Et,Ut){let Yt=Et.map(Ut);return Yt.some((Ln,ct)=>Ln!==Et[ct])?Yt:Et}et.exports={Node:er}}}),vu=En({"src/language-html/conditional-comment.js"(ie,et){Yn();var{ParseSourceSpan:Ct}=yt(),kt=[{regex:/^(\[if([^\]]*)]>)(.*?)<!\s*\[endif]$/s,parse:lt},{regex:/^\[if([^\]]*)]><!$/,parse:Et},{regex:/^<!\s*\[endif]$/,parse:Ut}];function er(Yt,Ln){if(Yt.value)for(let{regex:ct,parse:Ht}of kt){let nr=Yt.value.match(ct);if(nr)return Ht(Yt,Ln,nr)}return null}function lt(Yt,Ln,ct){let[,Ht,nr,jr]=ct,Tr=4+Ht.length,Kr=Yt.sourceSpan.start.moveBy(Tr),Rr=Kr.moveBy(jr.length),[Tn,Bn]=(()=>{try{return[!0,Ln(jr,Kr).children]}catch{let jn={type:"text",value:jr,sourceSpan:new Ct(Kr,Rr)};return[!1,[jn]]}})();return{type:"ieConditionalComment",complete:Tn,children:Bn,condition:nr.trim().replace(/\s+/g," "),sourceSpan:Yt.sourceSpan,startSourceSpan:new Ct(Yt.sourceSpan.start,Kr),endSourceSpan:new Ct(Rr,Yt.sourceSpan.end)}}function Et(Yt,Ln,ct){let[,Ht]=ct;return{type:"ieConditionalStartComment",condition:Ht.trim().replace(/\s+/g," "),sourceSpan:Yt.sourceSpan}}function Ut(Yt){return{type:"ieConditionalEndComment",sourceSpan:Yt.sourceSpan}}et.exports={parseIeConditionalComment:er}}}),Ro=En({"src/language-html/loc.js"(ie,et){Yn();function Ct(er){return er.sourceSpan.start.offset}function kt(er){return er.sourceSpan.end.offset}et.exports={locStart:Ct,locEnd:kt}}}),xo=En({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/tags.js"(ie){Yn(),Object.defineProperty(ie,"__esModule",{value:!0}),function(Ut){Ut[Ut.RAW_TEXT=0]="RAW_TEXT",Ut[Ut.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",Ut[Ut.PARSABLE_DATA=2]="PARSABLE_DATA"}(ie.TagContentType||(ie.TagContentType={}));function et(Ut){if(Ut[0]!=":")return[null,Ut];let Yt=Ut.indexOf(":",1);if(Yt==-1)throw new Error('Unsupported format "'.concat(Ut,'" expecting ":namespace:name"'));return[Ut.slice(1,Yt),Ut.slice(Yt+1)]}ie.splitNsName=et;function Ct(Ut){return et(Ut)[1]==="ng-container"}ie.isNgContainer=Ct;function kt(Ut){return et(Ut)[1]==="ng-content"}ie.isNgContent=kt;function er(Ut){return et(Ut)[1]==="ng-template"}ie.isNgTemplate=er;function lt(Ut){return Ut===null?null:et(Ut)[0]}ie.getNsPrefix=lt;function Et(Ut,Yt){return Ut?":".concat(Ut,":").concat(Yt):Yt}ie.mergeNsAndName=Et,ie.NAMED_ENTITIES={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",AMP:"&",amp:"&",And:"\u2A53",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",ap:"\u2248",apacir:"\u2A6F",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",Barwed:"\u2306",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",Because:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxDL:"\u2557",boxDl:"\u2556",boxdL:"\u2555",boxdl:"\u2510",boxDR:"\u2554",boxDr:"\u2553",boxdR:"\u2552",boxdr:"\u250C",boxH:"\u2550",boxh:"\u2500",boxHD:"\u2566",boxHd:"\u2564",boxhD:"\u2565",boxhd:"\u252C",boxHU:"\u2569",boxHu:"\u2567",boxhU:"\u2568",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxUL:"\u255D",boxUl:"\u255C",boxuL:"\u255B",boxul:"\u2518",boxUR:"\u255A",boxUr:"\u2559",boxuR:"\u2558",boxur:"\u2514",boxV:"\u2551",boxv:"\u2502",boxVH:"\u256C",boxVh:"\u256B",boxvH:"\u256A",boxvh:"\u253C",boxVL:"\u2563",boxVl:"\u2562",boxvL:"\u2561",boxvl:"\u2524",boxVR:"\u2560",boxVr:"\u255F",boxvR:"\u255E",boxvr:"\u251C",bprime:"\u2035",Breve:"\u02D8",breve:"\u02D8",brvbar:"\xA6",Bscr:"\u212C",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",Cap:"\u22D2",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",CenterDot:"\xB7",centerdot:"\xB7",Cfr:"\u212D",cfr:"\u{1D520}",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",cir:"\u25CB",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",Colon:"\u2237",colon:":",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",Conint:"\u222F",conint:"\u222E",ContourIntegral:"\u222E",Copf:"\u2102",copf:"\u{1D554}",coprod:"\u2210",Coproduct:"\u2210",COPY:"\xA9",copy:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",Cross:"\u2A2F",cross:"\u2717",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",Cup:"\u22D3",cup:"\u222A",cupbrcap:"\u2A48",CupCap:"\u224D",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",Dagger:"\u2021",dagger:"\u2020",daleth:"\u2138",Darr:"\u21A1",dArr:"\u21D3",darr:"\u2193",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",DD:"\u2145",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",Diamond:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",Downarrow:"\u21D3",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",ecir:"\u2256",Ecirc:"\xCA",ecirc:"\xEA",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",eDot:"\u2251",edot:"\u0117",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",Escr:"\u2130",escr:"\u212F",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",ExponentialE:"\u2147",exponentiale:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",ForAll:"\u2200",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",Fscr:"\u2131",fscr:"\u{1D4BB}",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",gE:"\u2267",ge:"\u2265",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",Gg:"\u22D9",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gl:"\u2277",gla:"\u2AA5",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gnE:"\u2269",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",GT:">",Gt:"\u226B",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",hArr:"\u21D4",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",Hfr:"\u210C",hfr:"\u{1D525}",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",Hopf:"\u210D",hopf:"\u{1D559}",horbar:"\u2015",HorizontalLine:"\u2500",Hscr:"\u210B",hscr:"\u{1D4BD}",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",Ifr:"\u2111",ifr:"\u{1D526}",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Im:"\u2111",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",Int:"\u222C",int:"\u222B",intcal:"\u22BA",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",Iscr:"\u2110",iscr:"\u{1D4BE}",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",Lang:"\u27EA",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",Larr:"\u219E",lArr:"\u21D0",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",lAtail:"\u291B",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lBarr:"\u290E",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",lE:"\u2266",le:"\u2264",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",Leftarrow:"\u21D0",leftarrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",Ll:"\u22D8",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lnE:"\u2268",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftarrow:"\u27F5",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",Lscr:"\u2112",lscr:"\u{1D4C1}",Lsh:"\u21B0",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",LT:"<",Lt:"\u226A",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",Mscr:"\u2133",mscr:"\u{1D4C2}",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",neArr:"\u21D7",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
|
|
247
|
-
`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlArr:"\u21CD",nlarr:"\u219A",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nLeftarrow:"\u21CD",nleftarrow:"\u219A",nLeftrightarrow:"\u21CE",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",nopf:"\u{1D55F}",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nRightarrow:"\u21CF",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nVDash:"\u22AF",nVdash:"\u22AE",nvDash:"\u22AD",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwArr:"\u21D6",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",Ocirc:"\xD4",ocirc:"\xF4",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",Or:"\u2A54",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",Otimes:"\u2A37",otimes:"\u2297",otimesas:"\u2A36",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",Popf:"\u2119",popf:"\u{1D561}",pound:"\xA3",Pr:"\u2ABB",pr:"\u227A",prap:"\u2AB7",prcue:"\u227C",prE:"\u2AB3",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",Prime:"\u2033",prime:"\u2032",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportion:"\u2237",Proportional:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",Qopf:"\u211A",qopf:"\u{1D562}",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",QUOT:'"',quot:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",Rang:"\u27EB",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",Rarr:"\u21A0",rArr:"\u21D2",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",rAtail:"\u291C",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",RBarr:"\u2910",rBarr:"\u290F",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",Re:"\u211C",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",REG:"\xAE",reg:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",Rfr:"\u211C",rfr:"\u{1D52F}",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",Rightarrow:"\u21D2",rightarrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",Ropf:"\u211D",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",Rscr:"\u211B",rscr:"\u{1D4C7}",Rsh:"\u21B1",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",Sc:"\u2ABC",sc:"\u227B",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",sccue:"\u227D",scE:"\u2AB4",sce:"\u2AB0",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",searhk:"\u2925",seArr:"\u21D8",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",Square:"\u25A1",square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",Sub:"\u22D0",sub:"\u2282",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",Subset:"\u22D0",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",Sum:"\u2211",sum:"\u2211",sung:"\u266A",Sup:"\u22D1",sup:"\u2283",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",Supset:"\u22D1",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swArr:"\u21D9",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",Therefore:"\u2234",therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",Tilde:"\u223C",tilde:"\u02DC",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",TRADE:"\u2122",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",Uarr:"\u219F",uArr:"\u21D1",uarr:"\u2191",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrow:"\u2191",Uparrow:"\u21D1",uparrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",Updownarrow:"\u21D5",updownarrow:"\u2195",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",upsi:"\u03C5",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTee:"\u22A5",UpTeeArrow:"\u21A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",vArr:"\u21D5",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",Vbar:"\u2AEB",vBar:"\u2AE8",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",VDash:"\u22AB",Vdash:"\u22A9",vDash:"\u22A8",vdash:"\u22A2",Vdashl:"\u2AE6",Vee:"\u22C1",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",Verbar:"\u2016",verbar:"|",Vert:"\u2016",vert:"|",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",Wedge:"\u22C0",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",Xi:"\u039E",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",Yuml:"\u0178",yuml:"\xFF",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",Zfr:"\u2128",zfr:"\u{1D537}",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",Zopf:"\u2124",zopf:"\u{1D56B}",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"},ie.NGSP_UNICODE="\uE500",ie.NAMED_ENTITIES.ngsp=ie.NGSP_UNICODE}}),Qn=En({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_tags.js"(ie){Yn(),Object.defineProperty(ie,"__esModule",{value:!0});var et=xo(),Ct=class{constructor(){let{closedByChildren:Et,implicitNamespacePrefix:Ut,contentType:Yt=et.TagContentType.PARSABLE_DATA,closedByParent:Ln=!1,isVoid:ct=!1,ignoreFirstLf:Ht=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,Et&&Et.length>0&&Et.forEach(nr=>this.closedByChildren[nr]=!0),this.isVoid=ct,this.closedByParent=Ln||ct,this.implicitNamespacePrefix=Ut||null,this.contentType=Yt,this.ignoreFirstLf=Ht}isClosedByChild(Et){return this.isVoid||Et.toLowerCase()in this.closedByChildren}};ie.HtmlTagDefinition=Ct;var kt,er;function lt(Et){return er||(kt=new Ct,er={base:new Ct({isVoid:!0}),meta:new Ct({isVoid:!0}),area:new Ct({isVoid:!0}),embed:new Ct({isVoid:!0}),link:new Ct({isVoid:!0}),img:new Ct({isVoid:!0}),input:new Ct({isVoid:!0}),param:new Ct({isVoid:!0}),hr:new Ct({isVoid:!0}),br:new Ct({isVoid:!0}),source:new Ct({isVoid:!0}),track:new Ct({isVoid:!0}),wbr:new Ct({isVoid:!0}),p:new Ct({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 Ct({closedByChildren:["tbody","tfoot"]}),tbody:new Ct({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new Ct({closedByChildren:["tbody"],closedByParent:!0}),tr:new Ct({closedByChildren:["tr"],closedByParent:!0}),td:new Ct({closedByChildren:["td","th"],closedByParent:!0}),th:new Ct({closedByChildren:["td","th"],closedByParent:!0}),col:new Ct({isVoid:!0}),svg:new Ct({implicitNamespacePrefix:"svg"}),math:new Ct({implicitNamespacePrefix:"math"}),li:new Ct({closedByChildren:["li"],closedByParent:!0}),dt:new Ct({closedByChildren:["dt","dd"]}),dd:new Ct({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new Ct({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new Ct({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new Ct({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new Ct({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new Ct({closedByChildren:["optgroup"],closedByParent:!0}),option:new Ct({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new Ct({ignoreFirstLf:!0}),listing:new Ct({ignoreFirstLf:!0}),style:new Ct({contentType:et.TagContentType.RAW_TEXT}),script:new Ct({contentType:et.TagContentType.RAW_TEXT}),title:new Ct({contentType:et.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new Ct({contentType:et.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),er[Et]||kt}ie.getHtmlTagDefinition=lt}}),An=En({"node_modules/angular-html-parser/lib/compiler/src/ast_path.js"(ie){Yn(),Object.defineProperty(ie,"__esModule",{value:!0});var et=class{constructor(Ct){let kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;this.path=Ct,this.position=kt}get empty(){return!this.path||!this.path.length}get head(){return this.path[0]}get tail(){return this.path[this.path.length-1]}parentOf(Ct){return Ct&&this.path[this.path.indexOf(Ct)-1]}childOf(Ct){return this.path[this.path.indexOf(Ct)+1]}first(Ct){for(let kt=this.path.length-1;kt>=0;kt--){let er=this.path[kt];if(er instanceof Ct)return er}}push(Ct){this.path.push(Ct)}pop(){return this.path.pop()}};ie.AstPath=et}}),yn=En({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/ast.js"(ie){Yn(),Object.defineProperty(ie,"__esModule",{value:!0});var et=An(),Ct=class{constructor(Tr,Kr,Rr){this.value=Tr,this.sourceSpan=Kr,this.i18n=Rr,this.type="text"}visit(Tr,Kr){return Tr.visitText(this,Kr)}};ie.Text=Ct;var kt=class{constructor(Tr,Kr){this.value=Tr,this.sourceSpan=Kr,this.type="cdata"}visit(Tr,Kr){return Tr.visitCdata(this,Kr)}};ie.CDATA=kt;var er=class{constructor(Tr,Kr,Rr,Tn,Bn,jn){this.switchValue=Tr,this.type=Kr,this.cases=Rr,this.sourceSpan=Tn,this.switchValueSourceSpan=Bn,this.i18n=jn}visit(Tr,Kr){return Tr.visitExpansion(this,Kr)}};ie.Expansion=er;var lt=class{constructor(Tr,Kr,Rr,Tn,Bn){this.value=Tr,this.expression=Kr,this.sourceSpan=Rr,this.valueSourceSpan=Tn,this.expSourceSpan=Bn}visit(Tr,Kr){return Tr.visitExpansionCase(this,Kr)}};ie.ExpansionCase=lt;var Et=class{constructor(Tr,Kr,Rr){let Tn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,Bn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,jn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null;this.name=Tr,this.value=Kr,this.sourceSpan=Rr,this.valueSpan=Tn,this.nameSpan=Bn,this.i18n=jn,this.type="attribute"}visit(Tr,Kr){return Tr.visitAttribute(this,Kr)}};ie.Attribute=Et;var Ut=class{constructor(Tr,Kr,Rr,Tn){let Bn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,jn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,Ri=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,ds=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null;this.name=Tr,this.attrs=Kr,this.children=Rr,this.sourceSpan=Tn,this.startSourceSpan=Bn,this.endSourceSpan=jn,this.nameSpan=Ri,this.i18n=ds,this.type="element"}visit(Tr,Kr){return Tr.visitElement(this,Kr)}};ie.Element=Ut;var Yt=class{constructor(Tr,Kr){this.value=Tr,this.sourceSpan=Kr,this.type="comment"}visit(Tr,Kr){return Tr.visitComment(this,Kr)}};ie.Comment=Yt;var Ln=class{constructor(Tr,Kr){this.value=Tr,this.sourceSpan=Kr,this.type="docType"}visit(Tr,Kr){return Tr.visitDocType(this,Kr)}};ie.DocType=Ln;function ct(Tr,Kr){let Rr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Tn=[],Bn=Tr.visit?jn=>Tr.visit(jn,Rr)||jn.visit(Tr,Rr):jn=>jn.visit(Tr,Rr);return Kr.forEach(jn=>{let Ri=Bn(jn);Ri&&Tn.push(Ri)}),Tn}ie.visitAll=ct;var Ht=class{constructor(){}visitElement(Tr,Kr){this.visitChildren(Kr,Rr=>{Rr(Tr.attrs),Rr(Tr.children)})}visitAttribute(Tr,Kr){}visitText(Tr,Kr){}visitCdata(Tr,Kr){}visitComment(Tr,Kr){}visitDocType(Tr,Kr){}visitExpansion(Tr,Kr){return this.visitChildren(Kr,Rr=>{Rr(Tr.cases)})}visitExpansionCase(Tr,Kr){}visitChildren(Tr,Kr){let Rr=[],Tn=this;function Bn(jn){jn&&Rr.push(ct(Tn,jn,Tr))}return Kr(Bn),Array.prototype.concat.apply([],Rr)}};ie.RecursiveVisitor=Ht;function nr(Tr){let Kr=Tr.sourceSpan.start.offset,Rr=Tr.sourceSpan.end.offset;return Tr instanceof Ut&&(Tr.endSourceSpan?Rr=Tr.endSourceSpan.end.offset:Tr.children&&Tr.children.length&&(Rr=nr(Tr.children[Tr.children.length-1]).end)),{start:Kr,end:Rr}}function jr(Tr,Kr){let Rr=[],Tn=new class extends Ht{visit(Bn,jn){let Ri=nr(Bn);if(Ri.start<=Kr&&Kr<Ri.end)Rr.push(Bn);else return!0}};return ct(Tn,Tr),new et.AstPath(Rr,Kr)}ie.findNode=jr}}),ln=En({"node_modules/angular-html-parser/lib/compiler/src/assertions.js"(ie){Yn(),Object.defineProperty(ie,"__esModule",{value:!0});function et(er,lt){if(lt!=null){if(!Array.isArray(lt))throw new Error("Expected '".concat(er,"' to be an array of strings."));for(let Et=0;Et<lt.length;Et+=1)if(typeof lt[Et]!="string")throw new Error("Expected '".concat(er,"' to be an array of strings."))}}ie.assertArrayOfStrings=et;var Ct=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function kt(er,lt){if(lt!=null&&!(Array.isArray(lt)&<.length==2))throw new Error("Expected '".concat(er,"' to be an array, [start, end]."));if(lt!=null){let Et=lt[0],Ut=lt[1];Ct.forEach(Yt=>{if(Yt.test(Et)||Yt.test(Ut))throw new Error("['".concat(Et,"', '").concat(Ut,"'] contains unusable interpolation symbol."))})}}ie.assertInterpolationSymbols=kt}}),pn=En({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/interpolation_config.js"(ie){Yn(),Object.defineProperty(ie,"__esModule",{value:!0});var et=ln(),Ct=class{constructor(kt,er){this.start=kt,this.end=er}static fromArray(kt){return kt?(et.assertInterpolationSymbols("interpolation",kt),new Ct(kt[0],kt[1])):ie.DEFAULT_INTERPOLATION_CONFIG}};ie.InterpolationConfig=Ct,ie.DEFAULT_INTERPOLATION_CONFIG=new Ct("{{","}}")}}),Zn=En({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/lexer.js"(ie){Yn(),Object.defineProperty(ie,"__esModule",{value:!0});var et=Vi(),Ct=yt(),kt=pn(),er=xo(),lt;(function(We){We[We.TAG_OPEN_START=0]="TAG_OPEN_START",We[We.TAG_OPEN_END=1]="TAG_OPEN_END",We[We.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",We[We.TAG_CLOSE=3]="TAG_CLOSE",We[We.TEXT=4]="TEXT",We[We.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",We[We.RAW_TEXT=6]="RAW_TEXT",We[We.COMMENT_START=7]="COMMENT_START",We[We.COMMENT_END=8]="COMMENT_END",We[We.CDATA_START=9]="CDATA_START",We[We.CDATA_END=10]="CDATA_END",We[We.ATTR_NAME=11]="ATTR_NAME",We[We.ATTR_QUOTE=12]="ATTR_QUOTE",We[We.ATTR_VALUE=13]="ATTR_VALUE",We[We.DOC_TYPE_START=14]="DOC_TYPE_START",We[We.DOC_TYPE_END=15]="DOC_TYPE_END",We[We.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",We[We.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",We[We.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",We[We.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",We[We.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",We[We.EOF=21]="EOF"})(lt=ie.TokenType||(ie.TokenType={}));var Et=class{constructor(We,gt,Hr){this.type=We,this.parts=gt,this.sourceSpan=Hr}};ie.Token=Et;var Ut=class extends Ct.ParseError{constructor(We,gt,Hr){super(Hr,We),this.tokenType=gt}};ie.TokenError=Ut;var Yt=class{constructor(We,gt){this.tokens=We,this.errors=gt}};ie.TokenizeResult=Yt;function Ln(We,gt,Hr){let hr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return new Tr(new Ct.ParseSourceFile(We,gt),Hr,hr).tokenize()}ie.tokenize=Ln;var ct=/\r\n?/g;function Ht(We){let gt=We===et.$EOF?"EOF":String.fromCharCode(We);return'Unexpected character "'.concat(gt,'"')}function nr(We){return'Unknown entity "'.concat(We,'" - use the "&#<decimal>;" or "&#x<hex>;" syntax')}var jr=class{constructor(We){this.error=We}},Tr=class{constructor(We,gt,Hr){this._getTagContentType=gt,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=Hr.tokenizeExpansionForms||!1,this._interpolationConfig=Hr.interpolationConfig||kt.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=Hr.leadingTriviaChars&&Hr.leadingTriviaChars.map(wn=>wn.codePointAt(0)||0),this._canSelfClose=Hr.canSelfClose||!1,this._allowHtmComponentClosingTags=Hr.allowHtmComponentClosingTags||!1;let hr=Hr.range||{endPos:We.content.length,startPos:0,startLine:0,startCol:0};this._cursor=Hr.escapedString?new ts(We,hr):new _i(We,hr);try{this._cursor.init()}catch(wn){this.handleError(wn)}}_processCarriageReturns(We){return We.replace(ct,`
|
|
248
|
-
`)}tokenize(){for(;this._cursor.peek()!==et.$EOF;){let We=this._cursor.clone();try{if(this._attemptCharCode(et.$LT))if(this._attemptCharCode(et.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(We):this._attemptStr("--")?this._consumeComment(We):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(We):this._consumeBogusComment(We);else if(this._attemptCharCode(et.$SLASH))this._consumeTagClose(We);else{let gt=this._cursor.clone();this._attemptCharCode(et.$QUESTION)?(this._cursor=gt,this._consumeBogusComment(We)):this._consumeTagOpen(We)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(gt){this.handleError(gt)}}return this._beginToken(lt.EOF),this._endToken([]),new Yt(Si(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(Ri(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===et.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(We){let gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();this._currentTokenStart=gt,this._currentTokenType=We}_endToken(We){let gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();if(this._currentTokenStart===null)throw new Ut("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(gt));if(this._currentTokenType===null)throw new Ut("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let Hr=new Et(this._currentTokenType,We,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(Hr),this._currentTokenStart=null,this._currentTokenType=null,Hr}_createError(We,gt){this._isInExpansionForm()&&(We+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let Hr=new Ut(We,this._currentTokenType,gt);return this._currentTokenStart=null,this._currentTokenType=null,new jr(Hr)}handleError(We){if(We instanceof ss&&(We=this._createError(We.msg,this._cursor.getSpan(We.cursor))),We instanceof jr)this.errors.push(We.error);else throw We}_attemptCharCode(We){return this._cursor.peek()===We?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(We){return ds(this._cursor.peek(),We)?(this._cursor.advance(),!0):!1}_requireCharCode(We){let gt=this._cursor.clone();if(!this._attemptCharCode(We))throw this._createError(Ht(this._cursor.peek()),this._cursor.getSpan(gt))}_attemptStr(We){let gt=We.length;if(this._cursor.charsLeft()<gt)return!1;let Hr=this._cursor.clone();for(let hr=0;hr<gt;hr++)if(!this._attemptCharCode(We.charCodeAt(hr)))return this._cursor=Hr,!1;return!0}_attemptStrCaseInsensitive(We){for(let gt=0;gt<We.length;gt++)if(!this._attemptCharCodeCaseInsensitive(We.charCodeAt(gt)))return!1;return!0}_requireStr(We){let gt=this._cursor.clone();if(!this._attemptStr(We))throw this._createError(Ht(this._cursor.peek()),this._cursor.getSpan(gt))}_requireStrCaseInsensitive(We){let gt=this._cursor.clone();if(!this._attemptStrCaseInsensitive(We))throw this._createError(Ht(this._cursor.peek()),this._cursor.getSpan(gt))}_attemptCharCodeUntilFn(We){for(;!We(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(We,gt){let Hr=this._cursor.clone();if(this._attemptCharCodeUntilFn(We),this._cursor.clone().diff(Hr)<gt)throw this._createError(Ht(this._cursor.peek()),this._cursor.getSpan(Hr))}_attemptUntilChar(We){for(;this._cursor.peek()!==We;)this._cursor.advance()}_readChar(We){if(We&&this._cursor.peek()===et.$AMPERSAND)return this._decodeEntity();{let gt=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),gt}}_decodeEntity(){let We=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(et.$HASH)){let gt=this._attemptCharCode(et.$x)||this._attemptCharCode(et.$X),Hr=this._cursor.clone();if(this._attemptCharCodeUntilFn(Bn),this._cursor.peek()!=et.$SEMICOLON)throw this._createError(Ht(this._cursor.peek()),this._cursor.getSpan());let hr=this._cursor.getChars(Hr);this._cursor.advance();try{let wn=parseInt(hr,gt?16:10);return String.fromCharCode(wn)}catch{throw this._createError(nr(this._cursor.getChars(We)),this._cursor.getSpan())}}else{let gt=this._cursor.clone();if(this._attemptCharCodeUntilFn(jn),this._cursor.peek()!=et.$SEMICOLON)return this._cursor=gt,"&";let Hr=this._cursor.getChars(gt);this._cursor.advance();let hr=er.NAMED_ENTITIES[Hr];if(!hr)throw this._createError(nr(Hr),this._cursor.getSpan(We));return hr}}_consumeRawText(We,gt){this._beginToken(We?lt.ESCAPABLE_RAW_TEXT:lt.RAW_TEXT);let Hr=[];for(;;){let hr=this._cursor.clone(),wn=gt();if(this._cursor=hr,wn)break;Hr.push(this._readChar(We))}return this._endToken([this._processCarriageReturns(Hr.join(""))])}_consumeComment(We){this._beginToken(lt.COMMENT_START,We),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("-->")),this._beginToken(lt.COMMENT_END),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(We){this._beginToken(lt.COMMENT_START,We),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===et.$GT),this._beginToken(lt.COMMENT_END),this._cursor.advance(),this._endToken([])}_consumeCdata(We){this._beginToken(lt.CDATA_START,We),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(lt.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(We){this._beginToken(lt.DOC_TYPE_START,We),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===et.$GT),this._beginToken(lt.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let We=this._cursor.clone(),gt="";for(;this._cursor.peek()!==et.$COLON&&!Tn(this._cursor.peek());)this._cursor.advance();let Hr;this._cursor.peek()===et.$COLON?(gt=this._cursor.getChars(We),this._cursor.advance(),Hr=this._cursor.clone()):Hr=We,this._requireCharCodeUntilFn(Rr,gt===""?0:1);let hr=this._cursor.getChars(Hr);return[gt,hr]}_consumeTagOpen(We){let gt,Hr,hr,wn=this.tokens.length,Yi=this._cursor.clone(),xs=[];try{if(!et.isAsciiLetter(this._cursor.peek()))throw this._createError(Ht(this._cursor.peek()),this._cursor.getSpan(We));for(hr=this._consumeTagOpenStart(We),Hr=hr.parts[0],gt=hr.parts[1],this._attemptCharCodeUntilFn(Kr);this._cursor.peek()!==et.$SLASH&&this._cursor.peek()!==et.$GT;){let[Hs,ga]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(Kr),this._attemptCharCode(et.$EQ)){this._attemptCharCodeUntilFn(Kr);let Ds=this._consumeAttributeValue();xs.push({prefix:Hs,name:ga,value:Ds})}else xs.push({prefix:Hs,name:ga});this._attemptCharCodeUntilFn(Kr)}this._consumeTagOpenEnd()}catch(Hs){if(Hs instanceof jr){this._cursor=Yi,hr&&(this.tokens.length=wn),this._beginToken(lt.TEXT,We),this._endToken(["<"]);return}throw Hs}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===lt.TAG_OPEN_END_VOID)return;let Ms=this._getTagContentType(gt,Hr,this._fullNameStack.length>0,xs);this._handleFullNameStackForTagOpen(Hr,gt),Ms===er.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(Hr,gt,!1):Ms===er.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(Hr,gt,!0)}_consumeRawTextWithTagClose(We,gt,Hr){this._consumeRawText(Hr,()=>!this._attemptCharCode(et.$LT)||!this._attemptCharCode(et.$SLASH)||(this._attemptCharCodeUntilFn(Kr),!this._attemptStrCaseInsensitive(We?"".concat(We,":").concat(gt):gt))?!1:(this._attemptCharCodeUntilFn(Kr),this._attemptCharCode(et.$GT))),this._beginToken(lt.TAG_CLOSE),this._requireCharCodeUntilFn(hr=>hr===et.$GT,3),this._cursor.advance(),this._endToken([We,gt]),this._handleFullNameStackForTagClose(We,gt)}_consumeTagOpenStart(We){this._beginToken(lt.TAG_OPEN_START,We);let gt=this._consumePrefixAndName();return this._endToken(gt)}_consumeAttributeName(){let We=this._cursor.peek();if(We===et.$SQ||We===et.$DQ)throw this._createError(Ht(We),this._cursor.getSpan());this._beginToken(lt.ATTR_NAME);let gt=this._consumePrefixAndName();return this._endToken(gt),gt}_consumeAttributeValue(){let We;if(this._cursor.peek()===et.$SQ||this._cursor.peek()===et.$DQ){this._beginToken(lt.ATTR_QUOTE);let gt=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(gt)]),this._beginToken(lt.ATTR_VALUE);let Hr=[];for(;this._cursor.peek()!==gt;)Hr.push(this._readChar(!0));We=this._processCarriageReturns(Hr.join("")),this._endToken([We]),this._beginToken(lt.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(gt)])}else{this._beginToken(lt.ATTR_VALUE);let gt=this._cursor.clone();this._requireCharCodeUntilFn(Rr,1),We=this._processCarriageReturns(this._cursor.getChars(gt)),this._endToken([We])}return We}_consumeTagOpenEnd(){let We=this._attemptCharCode(et.$SLASH)?lt.TAG_OPEN_END_VOID:lt.TAG_OPEN_END;this._beginToken(We),this._requireCharCode(et.$GT),this._endToken([])}_consumeTagClose(We){if(this._beginToken(lt.TAG_CLOSE,We),this._attemptCharCodeUntilFn(Kr),this._allowHtmComponentClosingTags&&this._attemptCharCode(et.$SLASH))this._attemptCharCodeUntilFn(Kr),this._requireCharCode(et.$GT),this._endToken([]);else{let[gt,Hr]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(Kr),this._requireCharCode(et.$GT),this._endToken([gt,Hr]),this._handleFullNameStackForTagClose(gt,Hr)}}_consumeExpansionFormStart(){this._beginToken(lt.EXPANSION_FORM_START),this._requireCharCode(et.$LBRACE),this._endToken([]),this._expansionCaseStack.push(lt.EXPANSION_FORM_START),this._beginToken(lt.RAW_TEXT);let We=this._readUntil(et.$COMMA);this._endToken([We]),this._requireCharCode(et.$COMMA),this._attemptCharCodeUntilFn(Kr),this._beginToken(lt.RAW_TEXT);let gt=this._readUntil(et.$COMMA);this._endToken([gt]),this._requireCharCode(et.$COMMA),this._attemptCharCodeUntilFn(Kr)}_consumeExpansionCaseStart(){this._beginToken(lt.EXPANSION_CASE_VALUE);let We=this._readUntil(et.$LBRACE).trim();this._endToken([We]),this._attemptCharCodeUntilFn(Kr),this._beginToken(lt.EXPANSION_CASE_EXP_START),this._requireCharCode(et.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(Kr),this._expansionCaseStack.push(lt.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(lt.EXPANSION_CASE_EXP_END),this._requireCharCode(et.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(Kr),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(lt.EXPANSION_FORM_END),this._requireCharCode(et.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}_consumeText(){let We=this._cursor.clone();this._beginToken(lt.TEXT,We);let gt=[];do this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(gt.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(gt.push(this._interpolationConfig.end),this._inInterpolation=!1):gt.push(this._readChar(!0));while(!this._isTextEnd());this._endToken([this._processCarriageReturns(gt.join(""))])}_isTextEnd(){return!!(this._cursor.peek()===et.$LT||this._cursor.peek()===et.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===et.$RBRACE&&this._isInExpansionCase()))}_readUntil(We){let gt=this._cursor.clone();return this._attemptUntilChar(We),this._cursor.getChars(gt)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===lt.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===lt.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==et.$LBRACE)return!1;if(this._interpolationConfig){let We=this._cursor.clone(),gt=this._attemptStr(this._interpolationConfig.start);return this._cursor=We,!gt}return!0}_handleFullNameStackForTagOpen(We,gt){let Hr=er.mergeNsAndName(We,gt);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===Hr)&&this._fullNameStack.push(Hr)}_handleFullNameStackForTagClose(We,gt){let Hr=er.mergeNsAndName(We,gt);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===Hr&&this._fullNameStack.pop()}};function Kr(We){return!et.isWhitespace(We)||We===et.$EOF}function Rr(We){return et.isWhitespace(We)||We===et.$GT||We===et.$SLASH||We===et.$SQ||We===et.$DQ||We===et.$EQ}function Tn(We){return(We<et.$a||et.$z<We)&&(We<et.$A||et.$Z<We)&&(We<et.$0||We>et.$9)}function Bn(We){return We==et.$SEMICOLON||We==et.$EOF||!et.isAsciiHexDigit(We)}function jn(We){return We==et.$SEMICOLON||We==et.$EOF||!et.isAsciiLetter(We)}function Ri(We){return We===et.$EQ||et.isAsciiLetter(We)||et.isDigit(We)}function ds(We,gt){return fn(We)==fn(gt)}function fn(We){return We>=et.$a&&We<=et.$z?We-et.$a+et.$A:We}function Si(We){let gt=[],Hr;for(let hr=0;hr<We.length;hr++){let wn=We[hr];Hr&&Hr.type==lt.TEXT&&wn.type==lt.TEXT?(Hr.parts[0]+=wn.parts[0],Hr.sourceSpan.end=wn.sourceSpan.end):(Hr=wn,gt.push(Hr))}return gt}var _i=class{constructor(We,gt){if(We instanceof _i)this.file=We.file,this.input=We.input,this.end=We.end,this.state=Object.assign({},We.state);else{if(!gt)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=We,this.input=We.content,this.end=gt.endPos,this.state={peek:-1,offset:gt.startPos,line:gt.startLine,column:gt.startCol}}}clone(){return new _i(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(We){return this.state.offset-We.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(We,gt){if(We=We||this,gt)for(We=We.clone();this.diff(We)>0&>.indexOf(We.peek())!==-1;)We.advance();return new Ct.ParseSourceSpan(new Ct.ParseLocation(We.file,We.state.offset,We.state.line,We.state.column),new Ct.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))}getChars(We){return this.input.substring(We.state.offset,this.state.offset)}charAt(We){return this.input.charCodeAt(We)}advanceState(We){if(We.offset>=this.end)throw this.state=We,new ss('Unexpected character "EOF"',this);let gt=this.charAt(We.offset);gt===et.$LF?(We.line++,We.column=0):et.isNewLine(gt)||We.column++,We.offset++,this.updatePeek(We)}updatePeek(We){We.peek=We.offset>=this.end?et.$EOF:this.charAt(We.offset)}},ts=class extends _i{constructor(We,gt){We instanceof ts?(super(We),this.internalState=Object.assign({},We.internalState)):(super(We,gt),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new ts(this)}getChars(We){let gt=We.clone(),Hr="";for(;gt.internalState.offset<this.internalState.offset;)Hr+=String.fromCodePoint(gt.peek()),gt.advance();return Hr}processEscapeSequence(){let We=()=>this.internalState.peek;if(We()===et.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),We()===et.$n)this.state.peek=et.$LF;else if(We()===et.$r)this.state.peek=et.$CR;else if(We()===et.$v)this.state.peek=et.$VTAB;else if(We()===et.$t)this.state.peek=et.$TAB;else if(We()===et.$b)this.state.peek=et.$BSPACE;else if(We()===et.$f)this.state.peek=et.$FF;else if(We()===et.$u)if(this.advanceState(this.internalState),We()===et.$LBRACE){this.advanceState(this.internalState);let gt=this.clone(),Hr=0;for(;We()!==et.$RBRACE;)this.advanceState(this.internalState),Hr++;this.state.peek=this.decodeHexDigits(gt,Hr)}else{let gt=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(gt,4)}else if(We()===et.$x){this.advanceState(this.internalState);let gt=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(gt,2)}else if(et.isOctalDigit(We())){let gt="",Hr=0,hr=this.clone();for(;et.isOctalDigit(We())&&Hr<3;)hr=this.clone(),gt+=String.fromCodePoint(We()),this.advanceState(this.internalState),Hr++;this.state.peek=parseInt(gt,8),this.internalState=hr.internalState}else et.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(We,gt){let Hr=this.input.substr(We.internalState.offset,gt),hr=parseInt(Hr,16);if(isNaN(hr))throw We.state=We.internalState,new ss("Invalid hexadecimal escape sequence",We);return hr}},ss=class{constructor(We,gt){this.msg=We,this.cursor=gt}};ie.CursorError=ss}}),ai=En({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/parser.js"(ie){Yn(),Object.defineProperty(ie,"__esModule",{value:!0});var et=yt(),Ct=yn(),kt=Zn(),er=xo(),lt=class extends et.ParseError{constructor(ct,Ht,nr){super(Ht,nr),this.elementName=ct}static create(ct,Ht,nr){return new lt(ct,Ht,nr)}};ie.TreeError=lt;var Et=class{constructor(ct,Ht){this.rootNodes=ct,this.errors=Ht}};ie.ParseTreeResult=Et;var Ut=class{constructor(ct){this.getTagDefinition=ct}parse(ct,Ht,nr){let jr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Tr=arguments.length>4?arguments[4]:void 0,Kr=_i=>function(ts){for(var ss=arguments.length,We=new Array(ss>1?ss-1:0),gt=1;gt<ss;gt++)We[gt-1]=arguments[gt];return _i(ts.toLowerCase(),...We)},Rr=jr?this.getTagDefinition:Kr(this.getTagDefinition),Tn=_i=>Rr(_i).contentType,Bn=jr?Tr:Kr(Tr),jn=Tr?(_i,ts,ss,We)=>{let gt=Bn(_i,ts,ss,We);return gt!==void 0?gt:Tn(_i)}:Tn,Ri=kt.tokenize(ct,Ht,jn,nr),ds=nr&&nr.canSelfClose||!1,fn=nr&&nr.allowHtmComponentClosingTags||!1,Si=new Yt(Ri.tokens,Rr,ds,fn,jr).build();return new Et(Si.rootNodes,Ri.errors.concat(Si.errors))}};ie.Parser=Ut;var Yt=class{constructor(ct,Ht,nr,jr,Tr){this.tokens=ct,this.getTagDefinition=Ht,this.canSelfClose=nr,this.allowHtmComponentClosingTags=jr,this.isTagNameCaseSensitive=Tr,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}build(){for(;this._peek.type!==kt.TokenType.EOF;)this._peek.type===kt.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===kt.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===kt.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===kt.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===kt.TokenType.TEXT||this._peek.type===kt.TokenType.RAW_TEXT||this._peek.type===kt.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===kt.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===kt.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new Et(this._rootNodes,this._errors)}_advance(){let ct=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],ct}_advanceIf(ct){return this._peek.type===ct?this._advance():null}_consumeCdata(ct){let Ht=this._advance(),nr=this._getText(Ht),jr=this._advanceIf(kt.TokenType.CDATA_END);this._addToParent(new Ct.CDATA(nr,new et.ParseSourceSpan(ct.sourceSpan.start,(jr||Ht).sourceSpan.end)))}_consumeComment(ct){let Ht=this._advanceIf(kt.TokenType.RAW_TEXT),nr=this._advanceIf(kt.TokenType.COMMENT_END),jr=Ht!=null?Ht.parts[0].trim():null,Tr=new et.ParseSourceSpan(ct.sourceSpan.start,(nr||Ht||ct).sourceSpan.end);this._addToParent(new Ct.Comment(jr,Tr))}_consumeDocType(ct){let Ht=this._advanceIf(kt.TokenType.RAW_TEXT),nr=this._advanceIf(kt.TokenType.DOC_TYPE_END),jr=Ht!=null?Ht.parts[0].trim():null,Tr=new et.ParseSourceSpan(ct.sourceSpan.start,(nr||Ht||ct).sourceSpan.end);this._addToParent(new Ct.DocType(jr,Tr))}_consumeExpansion(ct){let Ht=this._advance(),nr=this._advance(),jr=[];for(;this._peek.type===kt.TokenType.EXPANSION_CASE_VALUE;){let Kr=this._parseExpansionCase();if(!Kr)return;jr.push(Kr)}if(this._peek.type!==kt.TokenType.EXPANSION_FORM_END){this._errors.push(lt.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));return}let Tr=new et.ParseSourceSpan(ct.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new Ct.Expansion(Ht.parts[0],nr.parts[0],jr,Tr,Ht.sourceSpan)),this._advance()}_parseExpansionCase(){let ct=this._advance();if(this._peek.type!==kt.TokenType.EXPANSION_CASE_EXP_START)return this._errors.push(lt.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let Ht=this._advance(),nr=this._collectExpansionExpTokens(Ht);if(!nr)return null;let jr=this._advance();nr.push(new kt.Token(kt.TokenType.EOF,[],jr.sourceSpan));let Tr=new Yt(nr,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive).build();if(Tr.errors.length>0)return this._errors=this._errors.concat(Tr.errors),null;let Kr=new et.ParseSourceSpan(ct.sourceSpan.start,jr.sourceSpan.end),Rr=new et.ParseSourceSpan(Ht.sourceSpan.start,jr.sourceSpan.end);return new Ct.ExpansionCase(ct.parts[0],Tr.rootNodes,Kr,ct.sourceSpan,Rr)}_collectExpansionExpTokens(ct){let Ht=[],nr=[kt.TokenType.EXPANSION_CASE_EXP_START];for(;;){if((this._peek.type===kt.TokenType.EXPANSION_FORM_START||this._peek.type===kt.TokenType.EXPANSION_CASE_EXP_START)&&nr.push(this._peek.type),this._peek.type===kt.TokenType.EXPANSION_CASE_EXP_END)if(Ln(nr,kt.TokenType.EXPANSION_CASE_EXP_START)){if(nr.pop(),nr.length==0)return Ht}else return this._errors.push(lt.create(null,ct.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===kt.TokenType.EXPANSION_FORM_END)if(Ln(nr,kt.TokenType.EXPANSION_FORM_START))nr.pop();else return this._errors.push(lt.create(null,ct.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===kt.TokenType.EOF)return this._errors.push(lt.create(null,ct.sourceSpan,"Invalid ICU message. Missing '}'.")),null;Ht.push(this._advance())}}_getText(ct){let Ht=ct.parts[0];if(Ht.length>0&&Ht[0]==`
|
|
249
|
-
`){let nr=this._getParentElement();nr!=null&&nr.children.length==0&&this.getTagDefinition(nr.name).ignoreFirstLf&&(Ht=Ht.substring(1))}return Ht}_consumeText(ct){let Ht=this._getText(ct);Ht.length>0&&this._addToParent(new Ct.Text(Ht,ct.sourceSpan))}_closeVoidElement(){let ct=this._getParentElement();ct&&this.getTagDefinition(ct.name).isVoid&&this._elementStack.pop()}_consumeStartTag(ct){let Ht=ct.parts[0],nr=ct.parts[1],jr=[];for(;this._peek.type===kt.TokenType.ATTR_NAME;)jr.push(this._consumeAttr(this._advance()));let Tr=this._getElementFullName(Ht,nr,this._getParentElement()),Kr=!1;if(this._peek.type===kt.TokenType.TAG_OPEN_END_VOID){this._advance(),Kr=!0;let Ri=this.getTagDefinition(Tr);this.canSelfClose||Ri.canSelfClose||er.getNsPrefix(Tr)!==null||Ri.isVoid||this._errors.push(lt.create(Tr,ct.sourceSpan,'Only void and foreign elements can be self closed "'.concat(ct.parts[1],'"')))}else this._peek.type===kt.TokenType.TAG_OPEN_END&&(this._advance(),Kr=!1);let Rr=this._peek.sourceSpan.start,Tn=new et.ParseSourceSpan(ct.sourceSpan.start,Rr),Bn=new et.ParseSourceSpan(ct.sourceSpan.start.moveBy(1),ct.sourceSpan.end),jn=new Ct.Element(Tr,jr,[],Tn,Tn,void 0,Bn);this._pushElement(jn),Kr&&(this._popElement(Tr),jn.endSourceSpan=Tn)}_pushElement(ct){let Ht=this._getParentElement();Ht&&this.getTagDefinition(Ht.name).isClosedByChild(ct.name)&&this._elementStack.pop(),this._addToParent(ct),this._elementStack.push(ct)}_consumeEndTag(ct){let Ht=this.allowHtmComponentClosingTags&&ct.parts.length===0?null:this._getElementFullName(ct.parts[0],ct.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=ct.sourceSpan),Ht&&this.getTagDefinition(Ht).isVoid)this._errors.push(lt.create(Ht,ct.sourceSpan,'Void elements do not have end tags "'.concat(ct.parts[1],'"')));else if(!this._popElement(Ht)){let nr='Unexpected closing tag "'.concat(Ht,'". 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(lt.create(Ht,ct.sourceSpan,nr))}}_popElement(ct){for(let Ht=this._elementStack.length-1;Ht>=0;Ht--){let nr=this._elementStack[Ht];if(!ct||(er.getNsPrefix(nr.name)?nr.name==ct:nr.name.toLowerCase()==ct.toLowerCase()))return this._elementStack.splice(Ht,this._elementStack.length-Ht),!0;if(!this.getTagDefinition(nr.name).closedByParent)return!1}return!1}_consumeAttr(ct){let Ht=er.mergeNsAndName(ct.parts[0],ct.parts[1]),nr=ct.sourceSpan.end,jr="",Tr,Kr;if(this._peek.type===kt.TokenType.ATTR_QUOTE&&(Kr=this._advance().sourceSpan.start),this._peek.type===kt.TokenType.ATTR_VALUE){let Rr=this._advance();jr=Rr.parts[0],nr=Rr.sourceSpan.end,Tr=Rr.sourceSpan}return this._peek.type===kt.TokenType.ATTR_QUOTE&&(nr=this._advance().sourceSpan.end,Tr=new et.ParseSourceSpan(Kr,nr)),new Ct.Attribute(Ht,jr,new et.ParseSourceSpan(ct.sourceSpan.start,nr),Tr,ct.sourceSpan)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_getParentElementSkippingContainers(){let ct=null;for(let Ht=this._elementStack.length-1;Ht>=0;Ht--){if(!er.isNgContainer(this._elementStack[Ht].name))return{parent:this._elementStack[Ht],container:ct};ct=this._elementStack[Ht]}return{parent:null,container:ct}}_addToParent(ct){let Ht=this._getParentElement();Ht!=null?Ht.children.push(ct):this._rootNodes.push(ct)}_insertBeforeContainer(ct,Ht,nr){if(!Ht)this._addToParent(nr),this._elementStack.push(nr);else{if(ct){let jr=ct.children.indexOf(Ht);ct.children[jr]=nr}else this._rootNodes.push(nr);nr.children.push(Ht),this._elementStack.splice(this._elementStack.indexOf(Ht),0,nr)}}_getElementFullName(ct,Ht,nr){return ct===""&&(ct=this.getTagDefinition(Ht).implicitNamespacePrefix||"",ct===""&&nr!=null&&(ct=er.getNsPrefix(nr.name))),er.mergeNsAndName(ct,Ht)}};function Ln(ct,Ht){return ct.length>0&&ct[ct.length-1]===Ht}}}),ni=En({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(ie){Yn(),Object.defineProperty(ie,"__esModule",{value:!0});var et=Qn(),Ct=ai(),kt=ai();ie.ParseTreeResult=kt.ParseTreeResult,ie.TreeError=kt.TreeError;var er=class extends Ct.Parser{constructor(){super(et.getHtmlTagDefinition)}parse(lt,Et,Ut){let Yt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Ln=arguments.length>4?arguments[4]:void 0;return super.parse(lt,Et,Ut,Yt,Ln)}};ie.HtmlParser=er}}),wi=En({"node_modules/angular-html-parser/lib/angular-html-parser/src/index.js"(ie){Yn(),Object.defineProperty(ie,"__esModule",{value:!0});var et=ni(),Ct=xo();ie.TagContentType=Ct.TagContentType;var kt=null,er=()=>(kt||(kt=new et.HtmlParser),kt);function lt(Et){let Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{canSelfClose:Yt=!1,allowHtmComponentClosingTags:Ln=!1,isTagNameCaseSensitive:ct=!1,getTagContentType:Ht}=Ut;return er().parse(Et,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:Yt,allowHtmComponentClosingTags:Ln},ct,Ht)}ie.parse=lt}});Yn();var{ParseSourceSpan:Wi,ParseLocation:Qi,ParseSourceFile:ti}=yt(),Pi=mr(),ls=ui(),Mi=us(),{inferParserByLanguage:ks}=$a(),da=Du(),is=_u(),ji=jo(),{hasPragma:dt}=xa(),{Node:js}=ru(),{parseIeConditionalComment:Oa}=vu(),{locStart:$s,locEnd:Co}=Ro();function qs(ie,et,Ct){let{recognizeSelfClosing:kt,normalizeTagName:er,normalizeAttributeName:lt,allowHtmComponentClosingTags:Et,isTagNameCaseSensitive:Ut,getTagContentType:Yt}=et,Ln=wi(),{RecursiveVisitor:ct,visitAll:Ht}=yn(),{ParseSourceSpan:nr}=yt(),{getHtmlTagDefinition:jr}=Qn(),{rootNodes:Tr,errors:Kr}=Ln.parse(ie,{canSelfClose:kt,allowHtmComponentClosingTags:Et,isTagNameCaseSensitive:Ut,getTagContentType:Yt});if(Ct.parser==="vue")if(Tr.some(fn=>fn.type==="docType"&&fn.value==="html"||fn.type==="element"&&fn.name.toLowerCase()==="html")){kt=!0,er=!0,lt=!0,Et=!0,Ut=!1;let fn=Ln.parse(ie,{canSelfClose:kt,allowHtmComponentClosingTags:Et,isTagNameCaseSensitive:Ut});Tr=fn.rootNodes,Kr=fn.errors}else{let fn=Si=>{if(!Si||Si.type!=="element"||Si.name!=="template")return!1;let _i=Si.attrs.find(ss=>ss.name==="lang"),ts=_i&&_i.value;return!ts||ks(ts,Ct)==="html"};if(Tr.some(fn)){let Si,_i=()=>Ln.parse(ie,{canSelfClose:kt,allowHtmComponentClosingTags:Et,isTagNameCaseSensitive:Ut}),ts=()=>Si||(Si=_i()),ss=We=>ts().rootNodes.find(gt=>{let{startSourceSpan:Hr}=gt;return Hr&&Hr.start.offset===We.startSourceSpan.start.offset});for(let We=0;We<Tr.length;We++){let gt=Tr[We],{endSourceSpan:Hr,startSourceSpan:hr}=gt;if(Hr===null)Kr=ts().errors,Tr[We]=ss(gt)||gt;else if(fn(gt)){let wn=ts(),Yi=hr.end.offset,xs=Hr.start.offset;for(let Ms of wn.errors){let{offset:Hs}=Ms.span.start;if(Yi<Hs&&Hs<xs){Kr=[Ms];break}}Tr[We]=ss(gt)||gt}}}}if(Kr.length>0){let{msg:fn,span:{start:Si,end:_i}}=Kr[0];throw Mi(fn,{start:{line:Si.line+1,column:Si.col+1},end:{line:_i.line+1,column:_i.col+1}})}let Rr=fn=>{let Si=fn.name.startsWith(":")?fn.name.slice(1).split(":")[0]:null,_i=fn.nameSpan.toString(),ts=Si!==null&&_i.startsWith("".concat(Si,":")),ss=ts?_i.slice(Si.length+1):_i;fn.name=ss,fn.namespace=Si,fn.hasExplicitNamespace=ts},Tn=fn=>{switch(fn.type){case"element":Rr(fn);for(let Si of fn.attrs)Rr(Si),Si.valueSpan?(Si.value=Si.valueSpan.toString(),/["']/.test(Si.value[0])&&(Si.value=Si.value.slice(1,-1))):Si.value=null;break;case"comment":fn.value=fn.sourceSpan.toString().slice(4,-3);break;case"text":fn.value=fn.sourceSpan.toString();break}},Bn=(fn,Si)=>{let _i=fn.toLowerCase();return Si(_i)?_i:fn},jn=fn=>{if(fn.type==="element"&&(er&&(!fn.namespace||fn.namespace===fn.tagDefinition.implicitNamespacePrefix||ji(fn))&&(fn.name=Bn(fn.name,Si=>Si in da)),lt)){let Si=is[fn.name]||Object.create(null);for(let _i of fn.attrs)_i.namespace||(_i.name=Bn(_i.name,ts=>fn.name in is&&(ts in is["*"]||ts in Si)))}},Ri=fn=>{fn.sourceSpan&&fn.endSourceSpan&&(fn.sourceSpan=new nr(fn.sourceSpan.start,fn.endSourceSpan.end))},ds=fn=>{if(fn.type==="element"){let Si=jr(Ut?fn.name:fn.name.toLowerCase());!fn.namespace||fn.namespace===Si.implicitNamespacePrefix||ji(fn)?fn.tagDefinition=Si:fn.tagDefinition=jr("")}};return Ht(new class extends ct{visit(fn){Tn(fn),ds(fn),jn(fn),Ri(fn)}},Tr),Tr}function Bi(ie,et,Ct){let kt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,{frontMatter:er,content:lt}=kt?Pi(ie):{frontMatter:null,content:ie},Et=new ti(ie,et.filepath),Ut=new Qi(Et,0,0,0),Yt=Ut.moveBy(ie.length),Ln={type:"root",sourceSpan:new Wi(Ut,Yt),children:qs(lt,Ct,et)};if(er){let nr=new Qi(Et,0,0,0),jr=nr.moveBy(er.raw.length);er.sourceSpan=new Wi(nr,jr),Ln.children.unshift(er)}let ct=new js(Ln),Ht=(nr,jr)=>{let{offset:Tr}=jr,Kr=ie.slice(0,Tr).replace(/[^\n\r]/g," "),Rr=Bi(Kr+nr,et,Ct,!1);Rr.sourceSpan=new Wi(jr,ls(Rr.children).sourceSpan.end);let Tn=Rr.children[0];return Tn.length===Tr?Rr.children.shift():(Tn.sourceSpan=new Wi(Tn.sourceSpan.start.moveBy(Tr),Tn.sourceSpan.end),Tn.value=Tn.value.slice(Tr)),Rr};return ct.walk(nr=>{if(nr.type==="comment"){let jr=Oa(nr,Ht);jr&&nr.parent.replaceChild(nr,jr)}}),ct}function Fi(){let{name:ie,recognizeSelfClosing:et=!1,normalizeTagName:Ct=!1,normalizeAttributeName:kt=!1,allowHtmComponentClosingTags:er=!1,isTagNameCaseSensitive:lt=!1,getTagContentType:Et}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{parse:(Ut,Yt,Ln)=>Bi(Ut,Object.assign({parser:ie},Ln),{recognizeSelfClosing:et,normalizeTagName:Ct,normalizeAttributeName:kt,allowHtmComponentClosingTags:er,isTagNameCaseSensitive:lt,getTagContentType:Et}),hasPragma:dt,astFormat:"html",locStart:$s,locEnd:Co}}_e.exports={parsers:{html:Fi({name:"html",recognizeSelfClosing:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Fi({name:"angular"}),vue:Fi({name:"vue",recognizeSelfClosing:!0,isTagNameCaseSensitive:!0,getTagContentType:(ie,et,Ct,kt)=>{if(ie.toLowerCase()!=="html"&&!Ct&&(ie!=="template"||kt.some(er=>{let{name:lt,value:Et}=er;return lt==="lang"&&Et!=="html"&&Et!==""&&Et!==void 0})))return wi().TagContentType.RAW_TEXT}}),lwc:Fi({name:"lwc"})}}});return sn()})})(Tm);const GD=zp(Tm.exports);var Sm={exports:{}};(function(s,c){(function(l){s.exports=l()})(function(){var l=(yr,It)=>()=>(It||yr((It={exports:{}}).exports,It),It.exports),f=l((yr,It)=>{var je=function(_t){return _t&&_t.Math==Math&&_t};It.exports=je(typeof globalThis=="object"&&globalThis)||je(typeof window=="object"&&window)||je(typeof self=="object"&&self)||je(typeof Hl=="object"&&Hl)||function(){return this}()||Function("return this")()}),v=l((yr,It)=>{It.exports=function(je){try{return!!je()}catch{return!0}}}),N=l((yr,It)=>{var je=v();It.exports=!je(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),Y=l((yr,It)=>{var je=v();It.exports=!je(function(){var _t=function(){}.bind();return typeof _t!="function"||_t.hasOwnProperty("prototype")})}),le=l((yr,It)=>{var je=Y(),_t=Function.prototype.call;It.exports=je?_t.bind(_t):function(){return _t.apply(_t,arguments)}}),ye=l(yr=>{var It={}.propertyIsEnumerable,je=Object.getOwnPropertyDescriptor,_t=je&&!It.call({1:2},1);yr.f=_t?function(zt){var ir=je(this,zt);return!!ir&&ir.enumerable}:It}),Me=l((yr,It)=>{It.exports=function(je,_t){return{enumerable:!(je&1),configurable:!(je&2),writable:!(je&4),value:_t}}}),Oe=l((yr,It)=>{var je=Y(),_t=Function.prototype,zt=_t.bind,ir=_t.call,Mr=je&&zt.bind(ir,ir);It.exports=je?function(sn){return sn&&Mr(sn)}:function(sn){return sn&&function(){return ir.apply(sn,arguments)}}}),st=l((yr,It)=>{var je=Oe(),_t=je({}.toString),zt=je("".slice);It.exports=function(ir){return zt(_t(ir),8,-1)}}),mt=l((yr,It)=>{var je=f(),_t=Oe(),zt=v(),ir=st(),Mr=je.Object,sn=_t("".split);It.exports=zt(function(){return!Mr("z").propertyIsEnumerable(0)})?function(Rt){return ir(Rt)=="String"?sn(Rt,""):Mr(Rt)}:Mr}),St=l((yr,It)=>{var je=f(),_t=je.TypeError;It.exports=function(zt){if(zt==null)throw _t("Can't call method on "+zt);return zt}}),Wt=l((yr,It)=>{var je=mt(),_t=St();It.exports=function(zt){return je(_t(zt))}}),Zt=l((yr,It)=>{It.exports=function(je){return typeof je=="function"}}),Jr=l((yr,It)=>{var je=Zt();It.exports=function(_t){return typeof _t=="object"?_t!==null:je(_t)}}),bt=l((yr,It)=>{var je=f(),_t=Zt(),zt=function(ir){return _t(ir)?ir:void 0};It.exports=function(ir,Mr){return arguments.length<2?zt(je[ir]):je[ir]&&je[ir][Mr]}}),Ot=l((yr,It)=>{var je=Oe();It.exports=je({}.isPrototypeOf)}),$t=l((yr,It)=>{var je=bt();It.exports=je("navigator","userAgent")||""}),Ar=l((yr,It)=>{var je=f(),_t=$t(),zt=je.process,ir=je.Deno,Mr=zt&&zt.versions||ir&&ir.version,sn=Mr&&Mr.v8,Rt,_e;sn&&(Rt=sn.split("."),_e=Rt[0]>0&&Rt[0]<4?1:+(Rt[0]+Rt[1])),!_e&&_t&&(Rt=_t.match(/Edge\/(\d+)/),(!Rt||Rt[1]>=74)&&(Rt=_t.match(/Chrome\/(\d+)/),Rt&&(_e=+Rt[1]))),It.exports=_e}),un=l((yr,It)=>{var je=Ar(),_t=v();It.exports=!!Object.getOwnPropertySymbols&&!_t(function(){var zt=Symbol();return!String(zt)||!(Object(zt)instanceof Symbol)||!Symbol.sham&&je&&je<41})}),Kn=l((yr,It)=>{var je=un();It.exports=je&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),bn=l((yr,It)=>{var je=f(),_t=bt(),zt=Zt(),ir=Ot(),Mr=Kn(),sn=je.Object;It.exports=Mr?function(Rt){return typeof Rt=="symbol"}:function(Rt){var _e=_t("Symbol");return zt(_e)&&ir(_e.prototype,sn(Rt))}}),oi=l((yr,It)=>{var je=f(),_t=je.String;It.exports=function(zt){try{return _t(zt)}catch{return"Object"}}}),fi=l((yr,It)=>{var je=f(),_t=Zt(),zt=oi(),ir=je.TypeError;It.exports=function(Mr){if(_t(Mr))return Mr;throw ir(zt(Mr)+" is not a function")}}),Wn=l((yr,It)=>{var je=fi();It.exports=function(_t,zt){var ir=_t[zt];return ir==null?void 0:je(ir)}}),Un=l((yr,It)=>{var je=f(),_t=le(),zt=Zt(),ir=Jr(),Mr=je.TypeError;It.exports=function(sn,Rt){var _e,pe;if(Rt==="string"&&zt(_e=sn.toString)&&!ir(pe=_t(_e,sn))||zt(_e=sn.valueOf)&&!ir(pe=_t(_e,sn))||Rt!=="string"&&zt(_e=sn.toString)&&!ir(pe=_t(_e,sn)))return pe;throw Mr("Can't convert object to primitive value")}}),gi=l((yr,It)=>{It.exports=!1}),vr=l((yr,It)=>{var je=f(),_t=Object.defineProperty;It.exports=function(zt,ir){try{_t(je,zt,{value:ir,configurable:!0,writable:!0})}catch{je[zt]=ir}return ir}}),kn=l((yr,It)=>{var je=f(),_t=vr(),zt="__core-js_shared__",ir=je[zt]||_t(zt,{});It.exports=ir}),Te=l((yr,It)=>{var je=gi(),_t=kn();(It.exports=function(zt,ir){return _t[zt]||(_t[zt]=ir!==void 0?ir:{})})("versions",[]).push({version:"3.22.2",mode:je?"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"})}),nn=l((yr,It)=>{var je=f(),_t=St(),zt=je.Object;It.exports=function(ir){return zt(_t(ir))}}),cr=l((yr,It)=>{var je=Oe(),_t=nn(),zt=je({}.hasOwnProperty);It.exports=Object.hasOwn||function(ir,Mr){return zt(_t(ir),Mr)}}),Pn=l((yr,It)=>{var je=Oe(),_t=0,zt=Math.random(),ir=je(1 .toString);It.exports=function(Mr){return"Symbol("+(Mr===void 0?"":Mr)+")_"+ir(++_t+zt,36)}}),ii=l((yr,It)=>{var je=f(),_t=Te(),zt=cr(),ir=Pn(),Mr=un(),sn=Kn(),Rt=_t("wks"),_e=je.Symbol,pe=_e&&_e.for,me=sn?_e:_e&&_e.withoutSetter||ir;It.exports=function(be){if(!zt(Rt,be)||!(Mr||typeof Rt[be]=="string")){var Ee="Symbol."+be;Mr&&zt(_e,be)?Rt[be]=_e[be]:sn&&pe?Rt[be]=pe(Ee):Rt[be]=me(Ee)}return Rt[be]}}),Zi=l((yr,It)=>{var je=f(),_t=le(),zt=Jr(),ir=bn(),Mr=Wn(),sn=Un(),Rt=ii(),_e=je.TypeError,pe=Rt("toPrimitive");It.exports=function(me,be){if(!zt(me)||ir(me))return me;var Ee=Mr(me,pe),ze;if(Ee){if(be===void 0&&(be="default"),ze=_t(Ee,me,be),!zt(ze)||ir(ze))return ze;throw _e("Can't convert object to primitive value")}return be===void 0&&(be="number"),sn(me,be)}}),gs=l((yr,It)=>{var je=Zi(),_t=bn();It.exports=function(zt){var ir=je(zt,"string");return _t(ir)?ir:ir+""}}),As=l((yr,It)=>{var je=f(),_t=Jr(),zt=je.document,ir=_t(zt)&&_t(zt.createElement);It.exports=function(Mr){return ir?zt.createElement(Mr):{}}}),ps=l((yr,It)=>{var je=N(),_t=v(),zt=As();It.exports=!je&&!_t(function(){return Object.defineProperty(zt("div"),"a",{get:function(){return 7}}).a!=7})}),hs=l(yr=>{var It=N(),je=le(),_t=ye(),zt=Me(),ir=Wt(),Mr=gs(),sn=cr(),Rt=ps(),_e=Object.getOwnPropertyDescriptor;yr.f=It?_e:function(pe,me){if(pe=ir(pe),me=Mr(me),Rt)try{return _e(pe,me)}catch{}if(sn(pe,me))return zt(!je(_t.f,pe,me),pe[me])}}),zr=l((yr,It)=>{var je=N(),_t=v();It.exports=je&&_t(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),$r=l((yr,It)=>{var je=f(),_t=Jr(),zt=je.String,ir=je.TypeError;It.exports=function(Mr){if(_t(Mr))return Mr;throw ir(zt(Mr)+" is not an object")}}),Cr=l(yr=>{var It=f(),je=N(),_t=ps(),zt=zr(),ir=$r(),Mr=gs(),sn=It.TypeError,Rt=Object.defineProperty,_e=Object.getOwnPropertyDescriptor,pe="enumerable",me="configurable",be="writable";yr.f=je?zt?function(Ee,ze,Qe){if(ir(Ee),ze=Mr(ze),ir(Qe),typeof Ee=="function"&&ze==="prototype"&&"value"in Qe&&be in Qe&&!Qe[be]){var ut=_e(Ee,ze);ut&&ut[be]&&(Ee[ze]=Qe.value,Qe={configurable:me in Qe?Qe[me]:ut[me],enumerable:pe in Qe?Qe[pe]:ut[pe],writable:!1})}return Rt(Ee,ze,Qe)}:Rt:function(Ee,ze,Qe){if(ir(Ee),ze=Mr(ze),ir(Qe),_t)try{return Rt(Ee,ze,Qe)}catch{}if("get"in Qe||"set"in Qe)throw sn("Accessors not supported");return"value"in Qe&&(Ee[ze]=Qe.value),Ee}}),mn=l((yr,It)=>{var je=N(),_t=Cr(),zt=Me();It.exports=je?function(ir,Mr,sn){return _t.f(ir,Mr,zt(1,sn))}:function(ir,Mr,sn){return ir[Mr]=sn,ir}}),Vn=l((yr,It)=>{var je=Oe(),_t=Zt(),zt=kn(),ir=je(Function.toString);_t(zt.inspectSource)||(zt.inspectSource=function(Mr){return ir(Mr)}),It.exports=zt.inspectSource}),di=l((yr,It)=>{var je=f(),_t=Zt(),zt=Vn(),ir=je.WeakMap;It.exports=_t(ir)&&/native code/.test(zt(ir))}),Rn=l((yr,It)=>{var je=Te(),_t=Pn(),zt=je("keys");It.exports=function(ir){return zt[ir]||(zt[ir]=_t(ir))}}),Je=l((yr,It)=>{It.exports={}}),Tt=l((yr,It)=>{var je=di(),_t=f(),zt=Oe(),ir=Jr(),Mr=mn(),sn=cr(),Rt=kn(),_e=Rn(),pe=Je(),me="Object already initialized",be=_t.TypeError,Ee=_t.WeakMap,ze,Qe,ut,xt=function(Pr){return ut(Pr)?Qe(Pr):ze(Pr,{})},Kt=function(Pr){return function(Nn){var pi;if(!ir(Nn)||(pi=Qe(Nn)).type!==Pr)throw be("Incompatible receiver, "+Pr+" required");return pi}};je||Rt.state?(or=Rt.state||(Rt.state=new Ee),xr=zt(or.get),Ir=zt(or.has),rn=zt(or.set),ze=function(Pr,Nn){if(Ir(or,Pr))throw new be(me);return Nn.facade=Pr,rn(or,Pr,Nn),Nn},Qe=function(Pr){return xr(or,Pr)||{}},ut=function(Pr){return Ir(or,Pr)}):(an=_e("state"),pe[an]=!0,ze=function(Pr,Nn){if(sn(Pr,an))throw new be(me);return Nn.facade=Pr,Mr(Pr,an,Nn),Nn},Qe=function(Pr){return sn(Pr,an)?Pr[an]:{}},ut=function(Pr){return sn(Pr,an)});var or,xr,Ir,rn,an;It.exports={set:ze,get:Qe,has:ut,enforce:xt,getterFor:Kt}}),Nr=l((yr,It)=>{var je=N(),_t=cr(),zt=Function.prototype,ir=je&&Object.getOwnPropertyDescriptor,Mr=_t(zt,"name"),sn=Mr&&function(){}.name==="something",Rt=Mr&&(!je||je&&ir(zt,"name").configurable);It.exports={EXISTS:Mr,PROPER:sn,CONFIGURABLE:Rt}}),Vr=l((yr,It)=>{var je=f(),_t=Zt(),zt=cr(),ir=mn(),Mr=vr(),sn=Vn(),Rt=Tt(),_e=Nr().CONFIGURABLE,pe=Rt.get,me=Rt.enforce,be=String(String).split("String");(It.exports=function(Ee,ze,Qe,ut){var xt=ut?!!ut.unsafe:!1,Kt=ut?!!ut.enumerable:!1,or=ut?!!ut.noTargetGet:!1,xr=ut&&ut.name!==void 0?ut.name:ze,Ir;if(_t(Qe)&&(String(xr).slice(0,7)==="Symbol("&&(xr="["+String(xr).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!zt(Qe,"name")||_e&&Qe.name!==xr)&&ir(Qe,"name",xr),Ir=me(Qe),Ir.source||(Ir.source=be.join(typeof xr=="string"?xr:""))),Ee===je){Kt?Ee[ze]=Qe:Mr(ze,Qe);return}else xt?!or&&Ee[ze]&&(Kt=!0):delete Ee[ze];Kt?Ee[ze]=Qe:ir(Ee,ze,Qe)})(Function.prototype,"toString",function(){return _t(this)&&pe(this).source||sn(this)})}),_r=l((yr,It)=>{var je=Math.ceil,_t=Math.floor;It.exports=function(zt){var ir=+zt;return ir!==ir||ir===0?0:(ir>0?_t:je)(ir)}}),on=l((yr,It)=>{var je=_r(),_t=Math.max,zt=Math.min;It.exports=function(ir,Mr){var sn=je(ir);return sn<0?_t(sn+Mr,0):zt(sn,Mr)}}),Qr=l((yr,It)=>{var je=_r(),_t=Math.min;It.exports=function(zt){return zt>0?_t(je(zt),9007199254740991):0}}),gn=l((yr,It)=>{var je=Qr();It.exports=function(_t){return je(_t.length)}}),zn=l((yr,It)=>{var je=Wt(),_t=on(),zt=gn(),ir=function(Mr){return function(sn,Rt,_e){var pe=je(sn),me=zt(pe),be=_t(_e,me),Ee;if(Mr&&Rt!=Rt){for(;me>be;)if(Ee=pe[be++],Ee!=Ee)return!0}else for(;me>be;be++)if((Mr||be in pe)&&pe[be]===Rt)return Mr||be||0;return!Mr&&-1}};It.exports={includes:ir(!0),indexOf:ir(!1)}}),Zr=l((yr,It)=>{var je=Oe(),_t=cr(),zt=Wt(),ir=zn().indexOf,Mr=Je(),sn=je([].push);It.exports=function(Rt,_e){var pe=zt(Rt),me=0,be=[],Ee;for(Ee in pe)!_t(Mr,Ee)&&_t(pe,Ee)&&sn(be,Ee);for(;_e.length>me;)_t(pe,Ee=_e[me++])&&(~ir(be,Ee)||sn(be,Ee));return be}}),Ft=l((yr,It)=>{It.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),Dr=l(yr=>{var It=Zr(),je=Ft(),_t=je.concat("length","prototype");yr.f=Object.getOwnPropertyNames||function(zt){return It(zt,_t)}}),qt=l(yr=>{yr.f=Object.getOwnPropertySymbols}),Gn=l((yr,It)=>{var je=bt(),_t=Oe(),zt=Dr(),ir=qt(),Mr=$r(),sn=_t([].concat);It.exports=je("Reflect","ownKeys")||function(Rt){var _e=zt.f(Mr(Rt)),pe=ir.f;return pe?sn(_e,pe(Rt)):_e}}),Ni=l((yr,It)=>{var je=cr(),_t=Gn(),zt=hs(),ir=Cr();It.exports=function(Mr,sn,Rt){for(var _e=_t(sn),pe=ir.f,me=zt.f,be=0;be<_e.length;be++){var Ee=_e[be];!je(Mr,Ee)&&!(Rt&&je(Rt,Ee))&&pe(Mr,Ee,me(sn,Ee))}}}),ws=l((yr,It)=>{var je=v(),_t=Zt(),zt=/#|\.prototype\./,ir=function(pe,me){var be=sn[Mr(pe)];return be==_e?!0:be==Rt?!1:_t(me)?je(me):!!me},Mr=ir.normalize=function(pe){return String(pe).replace(zt,".").toLowerCase()},sn=ir.data={},Rt=ir.NATIVE="N",_e=ir.POLYFILL="P";It.exports=ir}),os=l((yr,It)=>{var je=f(),_t=hs().f,zt=mn(),ir=Vr(),Mr=vr(),sn=Ni(),Rt=ws();It.exports=function(_e,pe){var me=_e.target,be=_e.global,Ee=_e.stat,ze,Qe,ut,xt,Kt,or;if(be?Qe=je:Ee?Qe=je[me]||Mr(me,{}):Qe=(je[me]||{}).prototype,Qe)for(ut in pe){if(Kt=pe[ut],_e.noTargetGet?(or=_t(Qe,ut),xt=or&&or.value):xt=Qe[ut],ze=Rt(be?ut:me+(Ee?".":"#")+ut,_e.forced),!ze&&xt!==void 0){if(typeof Kt==typeof xt)continue;sn(Kt,xt)}(_e.sham||xt&&xt.sham)&&zt(Kt,"sham",!0),ir(Qe,ut,Kt,_e)}}}),Fs=l(()=>{var yr=os(),It=f();yr({global:!0},{globalThis:It})}),ys=l(()=>{Fs()}),pa=l((yr,It)=>{var je=st();It.exports=Array.isArray||function(_t){return je(_t)=="Array"}}),Xn=l((yr,It)=>{var je=Oe(),_t=fi(),zt=Y(),ir=je(je.bind);It.exports=function(Mr,sn){return _t(Mr),sn===void 0?Mr:zt?ir(Mr,sn):function(){return Mr.apply(sn,arguments)}}}),Fr=l((yr,It)=>{var je=f(),_t=pa(),zt=gn(),ir=Xn(),Mr=je.TypeError,sn=function(Rt,_e,pe,me,be,Ee,ze,Qe){for(var ut=be,xt=0,Kt=ze?ir(ze,Qe):!1,or,xr;xt<me;){if(xt in pe){if(or=Kt?Kt(pe[xt],xt,_e):pe[xt],Ee>0&&_t(or))xr=zt(or),ut=sn(Rt,_e,or,xr,ut,Ee-1)-1;else{if(ut>=9007199254740991)throw Mr("Exceed the acceptable array length");Rt[ut]=or}ut++}xt++}return ut};It.exports=sn}),Br=l((yr,It)=>{var je=ii(),_t=je("toStringTag"),zt={};zt[_t]="z",It.exports=String(zt)==="[object z]"}),wr=l((yr,It)=>{var je=f(),_t=Br(),zt=Zt(),ir=st(),Mr=ii(),sn=Mr("toStringTag"),Rt=je.Object,_e=ir(function(){return arguments}())=="Arguments",pe=function(me,be){try{return me[be]}catch{}};It.exports=_t?ir:function(me){var be,Ee,ze;return me===void 0?"Undefined":me===null?"Null":typeof(Ee=pe(be=Rt(me),sn))=="string"?Ee:_e?ir(be):(ze=ir(be))=="Object"&&zt(be.callee)?"Arguments":ze}}),Xr=l((yr,It)=>{var je=Oe(),_t=v(),zt=Zt(),ir=wr(),Mr=bt(),sn=Vn(),Rt=function(){},_e=[],pe=Mr("Reflect","construct"),me=/^\s*(?:class|function)\b/,be=je(me.exec),Ee=!me.exec(Rt),ze=function(ut){if(!zt(ut))return!1;try{return pe(Rt,_e,ut),!0}catch{return!1}},Qe=function(ut){if(!zt(ut))return!1;switch(ir(ut)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Ee||!!be(me,sn(ut))}catch{return!0}};Qe.sham=!0,It.exports=!pe||_t(function(){var ut;return ze(ze.call)||!ze(Object)||!ze(function(){ut=!0})||ut})?Qe:ze}),Lt=l((yr,It)=>{var je=f(),_t=pa(),zt=Xr(),ir=Jr(),Mr=ii(),sn=Mr("species"),Rt=je.Array;It.exports=function(_e){var pe;return _t(_e)&&(pe=_e.constructor,zt(pe)&&(pe===Rt||_t(pe.prototype))?pe=void 0:ir(pe)&&(pe=pe[sn],pe===null&&(pe=void 0))),pe===void 0?Rt:pe}}),Jn=l((yr,It)=>{var je=Lt();It.exports=function(_t,zt){return new(je(_t))(zt===0?0:zt)}}),Xt=l(()=>{var yr=os(),It=Fr(),je=fi(),_t=nn(),zt=gn(),ir=Jn();yr({target:"Array",proto:!0},{flatMap:function(Mr){var sn=_t(this),Rt=zt(sn),_e;return je(Mr),_e=ir(sn,0),_e.length=It(_e,sn,sn,Rt,0,1,Mr,arguments.length>1?arguments[1]:void 0),_e}})}),On=l((yr,It)=>{var je,_t,zt,ir,Mr;function sn(Qn,An){return An||(An=Qn.slice(0)),Object.freeze(Object.defineProperties(Qn,{raw:{value:Object.freeze(An)}}))}ys(),Xt();var Rt=Object.defineProperty,_e=Object.getOwnPropertyDescriptor,pe=Object.getOwnPropertyNames,me=Object.prototype.hasOwnProperty,be=(Qn,An)=>function(){return Qn&&(An=(0,Qn[pe(Qn)[0]])(Qn=0)),An},Ee=(Qn,An)=>function(){return An||(0,Qn[pe(Qn)[0]])((An={exports:{}}).exports,An),An.exports},ze=(Qn,An)=>{for(var yn in An)Rt(Qn,yn,{get:An[yn],enumerable:!0})},Qe=(Qn,An,yn,ln)=>{if(An&&typeof An=="object"||typeof An=="function")for(let pn of pe(An))!me.call(Qn,pn)&&pn!==yn&&Rt(Qn,pn,{get:()=>An[pn],enumerable:!(ln=_e(An,pn))||ln.enumerable});return Qn},ut=Qn=>Qe(Rt({},"__esModule",{value:!0}),Qn),xt=be({"<define:process>"(){}}),Kt=Ee({"src/utils/try-combinations.js"(Qn,An){xt();function yn(){let ln;for(var pn=arguments.length,Zn=new Array(pn),ai=0;ai<pn;ai++)Zn[ai]=arguments[ai];for(let[ni,wi]of Zn.entries())try{return{result:wi()}}catch(Wi){ni===0&&(ln=Wi)}return{error:ln}}An.exports=yn}}),or=Ee({"src/language-js/utils/get-shebang.js"(Qn,An){xt();function yn(ln){if(!ln.startsWith("#!"))return"";let pn=ln.indexOf(`
|
|
250
|
-
`);return pn===-1?ln:ln.slice(0,pn)}An.exports=yn}}),xr=Ee({"src/utils/text/skip-inline-comment.js"(Qn,An){xt();function yn(ln,pn){if(pn===!1)return!1;if(ln.charAt(pn)==="/"&&ln.charAt(pn+1)==="*"){for(let Zn=pn+2;Zn<ln.length;++Zn)if(ln.charAt(Zn)==="*"&&ln.charAt(Zn+1)==="/")return Zn+2}return pn}An.exports=yn}}),Ir=Ee({"src/utils/text/skip-newline.js"(Qn,An){xt();function yn(ln,pn,Zn){let ai=Zn&&Zn.backwards;if(pn===!1)return!1;let ni=ln.charAt(pn);if(ai){if(ln.charAt(pn-1)==="\r"&&ni===`
|
|
251
|
-
`)return pn-2;if(ni===`
|
|
252
|
-
`||ni==="\r"||ni==="\u2028"||ni==="\u2029")return pn-1}else{if(ni==="\r"&&ln.charAt(pn+1)===`
|
|
253
|
-
`)return pn+2;if(ni===`
|
|
254
|
-
`||ni==="\r"||ni==="\u2028"||ni==="\u2029")return pn+1}return pn}An.exports=yn}}),rn=Ee({"src/utils/text/skip.js"(Qn,An){xt();function yn(ni){return(wi,Wi,Qi)=>{let ti=Qi&&Qi.backwards;if(Wi===!1)return!1;let{length:Pi}=wi,ls=Wi;for(;ls>=0&&ls<Pi;){let Mi=wi.charAt(ls);if(ni instanceof RegExp){if(!ni.test(Mi))return ls}else if(!ni.includes(Mi))return ls;ti?ls--:ls++}return ls===-1||ls===Pi?ls:!1}}var ln=yn(/\s/),pn=yn(" "),Zn=yn(",; "),ai=yn(/[^\n\r]/);An.exports={skipWhitespace:ln,skipSpaces:pn,skipToLineEnd:Zn,skipEverythingButNewLine:ai}}}),an=Ee({"src/utils/text/skip-trailing-comment.js"(Qn,An){xt();var{skipEverythingButNewLine:yn}=rn();function ln(pn,Zn){return Zn===!1?!1:pn.charAt(Zn)==="/"&&pn.charAt(Zn+1)==="/"?yn(pn,Zn):Zn}An.exports=ln}}),Pr=Ee({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(Qn,An){xt();var yn=xr(),ln=Ir(),pn=an(),{skipSpaces:Zn}=rn();function ai(ni,wi){let Wi=null,Qi=wi;for(;Qi!==Wi;)Wi=Qi,Qi=Zn(ni,Qi),Qi=yn(ni,Qi),Qi=pn(ni,Qi),Qi=ln(ni,Qi);return Qi}An.exports=ai}}),Nn={};ze(Nn,{EOL:()=>ui,arch:()=>Is,cpus:()=>hn,default:()=>us,endianness:()=>pi,freemem:()=>ft,getNetworkInterfaces:()=>Vi,hostname:()=>En,loadavg:()=>Hi,networkInterfaces:()=>Yn,platform:()=>_,release:()=>Xi,tmpDir:()=>at,tmpdir:()=>mr,totalmem:()=>qi,type:()=>Ti,uptime:()=>es});function pi(){if(typeof yt>"u"){var Qn=new ArrayBuffer(2),An=new Uint8Array(Qn),yn=new Uint16Array(Qn);if(An[0]=1,An[1]=2,yn[0]===258)yt="BE";else if(yn[0]===513)yt="LE";else throw new Error("unable to figure out endianess")}return yt}function En(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function Hi(){return[]}function es(){return 0}function ft(){return Number.MAX_VALUE}function qi(){return Number.MAX_VALUE}function hn(){return[]}function Ti(){return"Browser"}function Xi(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function Yn(){}function Vi(){}function Is(){return"javascript"}function _(){return"browser"}function at(){return"/tmp"}var yt,mr,ui,us,Ji=be({"node-modules-polyfills:os"(){xt(),mr=at,ui=`
|
|
255
|
-
`,us={EOL:ui,tmpdir:mr,tmpDir:at,networkInterfaces:Yn,getNetworkInterfaces:Vi,release:Xi,type:Ti,cpus:hn,totalmem:qi,freemem:ft,uptime:es,loadavg:Hi,hostname:En,endianness:pi}}}),Os=Ee({"node-modules-polyfills-commonjs:os"(Qn,An){xt();var yn=(Ji(),ut(Nn));if(yn&&yn.default){An.exports=yn.default;for(let ln in yn)An.exports[ln]=yn[ln]}else yn&&(An.exports=yn)}}),Us=Ee({"node_modules/detect-newline/index.js"(Qn,An){xt();var yn=ln=>{if(typeof ln!="string")throw new TypeError("Expected a string");let pn=ln.match(/(?:\r?\n)/g)||[];if(pn.length===0)return;let Zn=pn.filter(ni=>ni===`\r
|
|
256
|
-
`).length,ai=pn.length-Zn;return Zn>ai?`\r
|
|
257
|
-
`:`
|
|
258
|
-
`};An.exports=yn,An.exports.graceful=ln=>typeof ln=="string"&&yn(ln)||`
|
|
259
|
-
`}}),$i=Ee({"node_modules/jest-docblock/build/index.js"(Qn){xt(),Object.defineProperty(Qn,"__esModule",{value:!0}),Qn.extract=ls,Qn.parse=ks,Qn.parseWithComments=da,Qn.print=is,Qn.strip=Mi;function An(){let dt=Os();return An=function(){return dt},dt}function yn(){let dt=ln(Us());return yn=function(){return dt},dt}function ln(dt){return dt&&dt.__esModule?dt:{default:dt}}var pn=/\*\/$/,Zn=/^\/\*\*/,ai=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,ni=/(^|\s+)\/\/([^\r\n]*)/g,wi=/^(\r?\n)+/,Wi=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,Qi=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,ti=/(\r?\n|^) *\* ?/g,Pi=[];function ls(dt){let js=dt.match(ai);return js?js[0].trimLeft():""}function Mi(dt){let js=dt.match(ai);return js&&js[0]?dt.substring(js[0].length):dt}function ks(dt){return da(dt).pragmas}function da(dt){let js=(0,yn().default)(dt)||An().EOL;dt=dt.replace(Zn,"").replace(pn,"").replace(ti,"$1");let Oa="";for(;Oa!==dt;)Oa=dt,dt=dt.replace(Wi,"".concat(js,"$1 $2").concat(js));dt=dt.replace(wi,"").trimRight();let $s=Object.create(null),Co=dt.replace(Qi,"").replace(wi,"").trimRight(),qs;for(;qs=Qi.exec(dt);){let Bi=qs[2].replace(ni,"");typeof $s[qs[1]]=="string"||Array.isArray($s[qs[1]])?$s[qs[1]]=Pi.concat($s[qs[1]],Bi):$s[qs[1]]=Bi}return{comments:Co,pragmas:$s}}function is(dt){let{comments:js="",pragmas:Oa={}}=dt,$s=(0,yn().default)(js)||An().EOL,Co="/**",qs=" *",Bi=" */",Fi=Object.keys(Oa),ie=Fi.map(Ct=>ji(Ct,Oa[Ct])).reduce((Ct,kt)=>Ct.concat(kt),[]).map(Ct=>qs+" "+Ct+$s).join("");if(!js){if(Fi.length===0)return"";if(Fi.length===1&&!Array.isArray(Oa[Fi[0]])){let Ct=Oa[Fi[0]];return"".concat(Co," ").concat(ji(Fi[0],Ct)[0]).concat(Bi)}}let et=js.split($s).map(Ct=>"".concat(qs," ").concat(Ct)).join($s)+$s;return Co+$s+(js?et:"")+(js&&Fi.length?qs+$s:"")+ie+Bi}function ji(dt,js){return Pi.concat(js).map(Oa=>"@".concat(dt," ").concat(Oa).trim())}}}),Fu=Ee({"src/common/end-of-line.js"(Qn,An){xt();function yn(ai){let ni=ai.indexOf("\r");return ni>=0?ai.charAt(ni+1)===`
|
|
260
|
-
`?"crlf":"cr":"lf"}function ln(ai){switch(ai){case"cr":return"\r";case"crlf":return`\r
|
|
261
|
-
`;default:return`
|
|
262
|
-
`}}function pn(ai,ni){let wi;switch(ni){case`
|
|
263
|
-
`:wi=/\n/g;break;case"\r":wi=/\r/g;break;case`\r
|
|
264
|
-
`:wi=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(ni),"."))}let Wi=ai.match(wi);return Wi?Wi.length:0}function Zn(ai){return ai.replace(/\r\n?/g,`
|
|
265
|
-
`)}An.exports={guessEndOfLine:yn,convertEndOfLineToChars:ln,countEndOfLineChars:pn,normalizeEndOfLine:Zn}}}),ku=Ee({"src/language-js/pragma.js"(Qn,An){xt();var{parseWithComments:yn,strip:ln,extract:pn,print:Zn}=$i(),{normalizeEndOfLine:ai}=Fu(),ni=or();function wi(ti){let Pi=ni(ti);Pi&&(ti=ti.slice(Pi.length+1));let ls=pn(ti),{pragmas:Mi,comments:ks}=yn(ls);return{shebang:Pi,text:ti,pragmas:Mi,comments:ks}}function Wi(ti){let Pi=Object.keys(wi(ti).pragmas);return Pi.includes("prettier")||Pi.includes("format")}function Qi(ti){let{shebang:Pi,text:ls,pragmas:Mi,comments:ks}=wi(ti),da=ln(ls),is=Zn({pragmas:Object.assign({format:""},Mi),comments:ks.trimStart()});return(Pi?"".concat(Pi,`
|
|
266
|
-
`):"")+ai(is)+(da.startsWith(`
|
|
267
|
-
`)?`
|
|
268
|
-
`:`
|
|
269
|
-
|
|
270
|
-
`)+da}An.exports={hasPragma:Wi,insertPragma:Qi}}}),Bo=Ee({"src/utils/is-non-empty-array.js"(Qn,An){xt();function yn(ln){return Array.isArray(ln)&&ln.length>0}An.exports=yn}}),_a=Ee({"src/language-js/loc.js"(Qn,An){xt();var yn=Bo();function ln(wi,Wi){let{ignoreDecorators:Qi}=Wi||{};if(!Qi){let ti=wi.declaration&&wi.declaration.decorators||wi.decorators;if(yn(ti))return ln(ti[0])}return wi.range?wi.range[0]:wi.start}function pn(wi){return wi.range?wi.range[1]:wi.end}function Zn(wi,Wi){let Qi=ln(wi);return Number.isInteger(Qi)&&Qi===ln(Wi)}function ai(wi,Wi){let Qi=pn(wi);return Number.isInteger(Qi)&&Qi===pn(Wi)}function ni(wi,Wi){return Zn(wi,Wi)&&ai(wi,Wi)}An.exports={locStart:ln,locEnd:pn,hasSameLocStart:Zn,hasSameLoc:ni}}}),tu=Ee({"src/language-js/parse/utils/create-parser.js"(Qn,An){xt();var{hasPragma:yn}=ku(),{locStart:ln,locEnd:pn}=_a();function Zn(ai){return ai=typeof ai=="function"?{parse:ai}:ai,Object.assign({astFormat:"estree",hasPragma:yn,locStart:ln,locEnd:pn},ai)}An.exports=Zn}}),vo=Ee({"src/common/parser-create-error.js"(Qn,An){xt();function yn(ln,pn){let Zn=new SyntaxError(ln+" ("+pn.start.line+":"+pn.start.column+")");return Zn.loc=pn,Zn}An.exports=yn}}),lo=Ee({"src/language-js/parse/utils/create-babel-parse-error.js"(Qn,An){xt();var yn=vo();function ln(pn){let{message:Zn,loc:ai}=pn;return yn(Zn.replace(/ \(.*\)/,""),{start:{line:ai?ai.line:0,column:ai?ai.column+1:0}})}An.exports=ln}}),du=Ee({"src/language-js/utils/is-ts-keyword-type.js"(Qn,An){xt();function yn(ln){let{type:pn}=ln;return pn.startsWith("TS")&&pn.endsWith("Keyword")}An.exports=yn}}),mu=Ee({"src/language-js/utils/is-block-comment.js"(Qn,An){xt();var yn=new Set(["Block","CommentBlock","MultiLine"]),ln=pn=>yn.has(pn==null?void 0:pn.type);An.exports=ln}}),_o=Ee({"src/language-js/utils/is-type-cast-comment.js"(Qn,An){xt();var yn=mu();function ln(pn){return yn(pn)&&pn.value[0]==="*"&&/@type\b/.test(pn.value)}An.exports=ln}}),Pu=Ee({"src/utils/get-last.js"(Qn,An){xt();var yn=ln=>ln[ln.length-1];An.exports=yn}}),gu=Ee({"src/language-js/parse/postprocess/visit-node.js"(Qn,An){xt();function yn(ln,pn){if(Array.isArray(ln)){for(let Zn=0;Zn<ln.length;Zn++)ln[Zn]=yn(ln[Zn],pn);return ln}if(ln&&typeof ln=="object"&&typeof ln.type=="string"){let Zn=Object.keys(ln);for(let ai=0;ai<Zn.length;ai++)ln[Zn[ai]]=yn(ln[Zn[ai]],pn);return pn(ln)||ln}return ln}An.exports=yn}}),bi=Ee({"src/language-js/parse/postprocess/throw-syntax-error.js"(Qn,An){xt();var yn=vo();function ln(pn,Zn){let{start:ai,end:ni}=pn.loc;throw yn(Zn,{start:{line:ai.line,column:ai.column+1},end:{line:ni.line,column:ni.column+1}})}An.exports=ln}}),yu=Ee({"src/language-js/parse/postprocess/typescript.js"(Qn,An){xt();var yn=gu(),ln=bi();function pn(ni,wi,Wi){let Qi=ni.decorators;if(!Array.isArray(Qi))return;let ti=wi.decorators;(!Array.isArray(ti)||ti.length!==Qi.length||Qi.some(Pi=>{let ls=Wi.get(Pi);return!ls||!ti.includes(ls)}))&&ln(wi,"Leading decorators must be attached to a class declaration")}function Zn(ni,wi){ni.kind!==167||ni.modifiers&&!ni.modifiers.some(Wi=>Wi.kind===126)||ni.initializer&&wi.value===null&&ln(wi,"Abstract property cannot have an initializer")}function ai(ni,wi){let{esTreeNodeToTSNodeMap:Wi,tsNodeToESTreeNodeMap:Qi}=wi.tsParseResult;yn(ni,ti=>{let Pi=Wi.get(ti);if(!Pi)return;let ls=Qi.get(Pi);ls===ti&&(pn(Pi,ls,Qi),Zn(Pi,ls))})}An.exports={throwErrorForInvalidNodes:ai}}}),el=Ee({"src/language-js/parse/postprocess/index.js"(Qn,An){xt();var{locStart:yn,locEnd:ln}=_a(),pn=du(),Zn=_o(),ai=Pu(),ni=gu(),{throwErrorForInvalidNodes:wi}=yu(),Wi=bi();function Qi(Mi,ks){if(ks.parser==="typescript"&&/@|abstract/.test(ks.originalText)&&wi(Mi,ks),ks.parser!=="typescript"&&ks.parser!=="flow"&&ks.parser!=="acorn"&&ks.parser!=="espree"&&ks.parser!=="meriyah"){let is=new Set;Mi=ni(Mi,ji=>{ji.leadingComments&&ji.leadingComments.some(Zn)&&is.add(yn(ji))}),Mi=ni(Mi,ji=>{if(ji.type==="ParenthesizedExpression"){let{expression:dt}=ji;if(dt.type==="TypeCastExpression")return dt.range=ji.range,dt;let js=yn(ji);if(!is.has(js))return dt.extra=Object.assign(Object.assign({},dt.extra),{},{parenthesized:!0}),dt}})}return Mi=ni(Mi,is=>{switch(is.type){case"ChainExpression":return ti(is.expression);case"LogicalExpression":{if(Pi(is))return ls(is);break}case"VariableDeclaration":{let ji=ai(is.declarations);ji&&ji.init&&da(is,ji);break}case"TSParenthesizedType":return pn(is.typeAnnotation)||is.typeAnnotation.type==="TSThisType"||(is.typeAnnotation.range=[yn(is),ln(is)]),is.typeAnnotation;case"TSTypeParameter":if(typeof is.name=="string"){let ji=yn(is);is.name={type:"Identifier",name:is.name,range:[ji,ji+is.name.length]}}break;case"ObjectExpression":if(ks.parser==="typescript"){let ji=is.properties.find(dt=>dt.type==="Property"&&dt.value.type==="TSEmptyBodyFunctionExpression");ji&&Wi(ji.value,"Unexpected token.")}break;case"SequenceExpression":{let ji=ai(is.expressions);is.range=[yn(is),Math.min(ln(ji),ln(is))];break}case"TopicReference":ks.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:ji}=is;if(ks.parser==="meriyah"&&ji&&ji.type==="Identifier"){let dt=ks.originalText.slice(yn(ji),ln(ji));(dt.startsWith('"')||dt.startsWith("'"))&&(is.exported=Object.assign(Object.assign({},is.exported),{},{type:"Literal",value:is.exported.name,raw:dt}))}break}}}),Mi;function da(is,ji){ks.originalText[ln(ji)]!==";"&&(is.range=[yn(is),ln(ji)])}}function ti(Mi){switch(Mi.type){case"CallExpression":Mi.type="OptionalCallExpression",Mi.callee=ti(Mi.callee);break;case"MemberExpression":Mi.type="OptionalMemberExpression",Mi.object=ti(Mi.object);break;case"TSNonNullExpression":Mi.expression=ti(Mi.expression);break}return Mi}function Pi(Mi){return Mi.type==="LogicalExpression"&&Mi.right.type==="LogicalExpression"&&Mi.operator===Mi.right.operator}function ls(Mi){return Pi(Mi)?ls({type:"LogicalExpression",operator:Mi.operator,left:ls({type:"LogicalExpression",operator:Mi.operator,left:Mi.left,right:Mi.right.left,range:[yn(Mi.left),ln(Mi.right.left)]}),right:Mi.right.right,range:[yn(Mi),ln(Mi)]}):Mi}An.exports=Qi}}),tl=Ee({"node_modules/@babel/parser/lib/index.js"(Qn){xt(),Object.defineProperty(Qn,"__esModule",{value:!0});function An(i,t){if(i==null)return{};var o={},p=Object.keys(i),y,$;for($=0;$<p.length;$++)y=p[$],!(t.indexOf(y)>=0)&&(o[y]=i[y]);return o}var yn=class{constructor(i,t,o){this.line=void 0,this.column=void 0,this.index=void 0,this.line=i,this.column=t,this.index=o}},ln=class{constructor(i,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=i,this.end=t}};function pn(i,t){let{line:o,column:p,index:y}=i;return new yn(o,p+t,y+t)}var Zn=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"}),ai=function(i){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:i.length-1;return{get(){return i.reduce((o,p)=>o[p],this)},set(o){i.reduce((p,y,$)=>$===t?p[y]=o:p[y],this)}}},ni=(i,t,o)=>Object.keys(o).map(p=>[p,o[p]]).filter(p=>{let[,y]=p;return!!y}).map(p=>{let[y,$]=p;return[y,typeof $=="function"?{value:$,enumerable:!1}:typeof $.reflect=="string"?Object.assign({},$,ai($.reflect.split("."))):$]}).reduce((p,y)=>{let[$,he]=y;return Object.defineProperty(p,$,Object.assign({configurable:!0},he))},Object.assign(new i,t)),wi=i=>({ImportMetaOutsideModule:i(`import.meta may appear only with 'sourceType: "module"'`,{code:Zn.SourceTypeModuleError}),ImportOutsideModule:i(`'import' and 'export' may appear only with 'sourceType: "module"'`,{code:Zn.SourceTypeModuleError})}),Wi={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},Qi=i=>{let{type:t,prefix:o}=i;return t==="UpdateExpression"?Wi.UpdateExpression[String(o)]:Wi[t]},ti=i=>({AccessorIsGenerator:i(t=>{let{kind:o}=t;return"A ".concat(o,"ter cannot be a generator.")}),ArgumentsInClass:i("'arguments' is only allowed in functions and class methods."),AsyncFunctionInSingleStatementContext:i("Async functions can only be declared at the top level or inside a block."),AwaitBindingIdentifier:i("Can not use 'await' as identifier inside an async function."),AwaitBindingIdentifierInStaticBlock:i("Can not use 'await' as identifier inside a static block."),AwaitExpressionFormalParameter:i("'await' is not allowed in async function parameters."),AwaitNotInAsyncContext:i("'await' is only allowed within async functions and at the top levels of modules."),AwaitNotInAsyncFunction:i("'await' is only allowed within async functions."),BadGetterArity:i("A 'get' accesor must not have any formal parameters."),BadSetterArity:i("A 'set' accesor must have exactly one formal parameter."),BadSetterRestParameter:i("A 'set' accesor function argument must not be a rest parameter."),ConstructorClassField:i("Classes may not have a field named 'constructor'."),ConstructorClassPrivateField:i("Classes may not have a private field named '#constructor'."),ConstructorIsAccessor:i("Class constructor may not be an accessor."),ConstructorIsAsync:i("Constructor can't be an async function."),ConstructorIsGenerator:i("Constructor can't be a generator."),DeclarationMissingInitializer:i(t=>{let{kind:o}=t;return"Missing initializer in ".concat(o," declaration.")}),DecoratorBeforeExport:i("Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax."),DecoratorConstructor:i("Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?"),DecoratorExportClass:i("Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead."),DecoratorSemicolon:i("Decorators must not be followed by a semicolon."),DecoratorStaticBlock:i("Decorators can't be used with a static block."),DeletePrivateField:i("Deleting a private field is not allowed."),DestructureNamedImport:i("ES2015 named imports do not destructure. Use another statement for destructuring after the import."),DuplicateConstructor:i("Duplicate constructor in the same class."),DuplicateDefaultExport:i("Only one default export allowed per module."),DuplicateExport:i(t=>{let{exportName:o}=t;return"`".concat(o,"` has already been exported. Exported identifiers must be unique.")}),DuplicateProto:i("Redefinition of __proto__ property."),DuplicateRegExpFlags:i("Duplicate regular expression flag."),ElementAfterRest:i("Rest element must be last element."),EscapedCharNotAnIdentifier:i("Invalid Unicode escape."),ExportBindingIsString:i(t=>{let{localName:o,exportName:p}=t;return"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '".concat(o,"' as '").concat(p,"' } from 'some-module'`?")}),ExportDefaultFromAsIdentifier:i("'from' is not allowed as an identifier after 'export default'."),ForInOfLoopInitializer:i(t=>{let{type:o}=t;return"'".concat(o==="ForInStatement"?"for-in":"for-of","' loop variable declaration may not have an initializer.")}),ForOfAsync:i("The left-hand side of a for-of loop may not be 'async'."),ForOfLet:i("The left-hand side of a for-of loop may not start with 'let'."),GeneratorInSingleStatementContext:i("Generators can only be declared at the top level or inside a block."),IllegalBreakContinue:i(t=>{let{type:o}=t;return"Unsyntactic ".concat(o==="BreakStatement"?"break":"continue",".")}),IllegalLanguageModeDirective:i("Illegal 'use strict' directive in function with non-simple parameter list."),IllegalReturn:i("'return' outside of function."),ImportBindingIsString:i(t=>{let{importName:o}=t;return'A string literal cannot be used as an imported binding.\n- Did you mean `import { "'.concat(o,'" as foo }`?')}),ImportCallArgumentTrailingComma:i("Trailing comma is disallowed inside import(...) arguments."),ImportCallArity:i(t=>{let{maxArgumentCount:o}=t;return"`import()` requires exactly ".concat(o===1?"one argument":"one or two arguments",".")}),ImportCallNotNewExpression:i("Cannot use new with import(...)."),ImportCallSpreadArgument:i("`...` is not allowed in `import()`."),IncompatibleRegExpUVFlags:i("The 'u' and 'v' regular expression flags cannot be enabled at the same time."),InvalidBigIntLiteral:i("Invalid BigIntLiteral."),InvalidCodePoint:i("Code point out of bounds."),InvalidCoverInitializedName:i("Invalid shorthand property initializer."),InvalidDecimal:i("Invalid decimal."),InvalidDigit:i(t=>{let{radix:o}=t;return"Expected number in radix ".concat(o,".")}),InvalidEscapeSequence:i("Bad character escape sequence."),InvalidEscapeSequenceTemplate:i("Invalid escape sequence in template."),InvalidEscapedReservedWord:i(t=>{let{reservedWord:o}=t;return"Escape sequence in keyword ".concat(o,".")}),InvalidIdentifier:i(t=>{let{identifierName:o}=t;return"Invalid identifier ".concat(o,".")}),InvalidLhs:i(t=>{let{ancestor:o}=t;return"Invalid left-hand side in ".concat(Qi(o),".")}),InvalidLhsBinding:i(t=>{let{ancestor:o}=t;return"Binding invalid left-hand side in ".concat(Qi(o),".")}),InvalidNumber:i("Invalid number."),InvalidOrMissingExponent:i("Floating-point numbers require a valid exponent after the 'e'."),InvalidOrUnexpectedToken:i(t=>{let{unexpected:o}=t;return"Unexpected character '".concat(o,"'.")}),InvalidParenthesizedAssignment:i("Invalid parenthesized assignment pattern."),InvalidPrivateFieldResolution:i(t=>{let{identifierName:o}=t;return"Private name #".concat(o," is not defined.")}),InvalidPropertyBindingPattern:i("Binding member expression."),InvalidRecordProperty:i("Only properties and spread elements are allowed in record definitions."),InvalidRestAssignmentPattern:i("Invalid rest operator's argument."),LabelRedeclaration:i(t=>{let{labelName:o}=t;return"Label '".concat(o,"' is already declared.")}),LetInLexicalBinding:i("'let' is not allowed to be used as a name in 'let' or 'const' declarations."),LineTerminatorBeforeArrow:i("No line break is allowed before '=>'."),MalformedRegExpFlags:i("Invalid regular expression flag."),MissingClassName:i("A class name is required."),MissingEqInAssignment:i("Only '=' operator can be used for specifying default value."),MissingSemicolon:i("Missing semicolon."),MissingPlugin:i(t=>{let{missingPlugin:o}=t;return"This experimental syntax requires enabling the parser plugin: ".concat(o.map(p=>JSON.stringify(p)).join(", "),".")}),MissingOneOfPlugins:i(t=>{let{missingPlugin:o}=t;return"This experimental syntax requires enabling one of the following parser plugin(s): ".concat(o.map(p=>JSON.stringify(p)).join(", "),".")}),MissingUnicodeEscape:i("Expecting Unicode escape sequence \\uXXXX."),MixingCoalesceWithLogical:i("Nullish coalescing operator(??) requires parens when mixing with logical operators."),ModuleAttributeDifferentFromType:i("The only accepted module attribute is `type`."),ModuleAttributeInvalidValue:i("Only string literals are allowed as module attribute values."),ModuleAttributesWithDuplicateKeys:i(t=>{let{key:o}=t;return'Duplicate key "'.concat(o,'" is not allowed in module attributes.')}),ModuleExportNameHasLoneSurrogate:i(t=>{let{surrogateCharCode:o}=t;return"An export name cannot include a lone surrogate, found '\\u".concat(o.toString(16),"'.")}),ModuleExportUndefined:i(t=>{let{localName:o}=t;return"Export '".concat(o,"' is not defined.")}),MultipleDefaultsInSwitch:i("Multiple default clauses."),NewlineAfterThrow:i("Illegal newline after throw."),NoCatchOrFinally:i("Missing catch or finally clause."),NumberIdentifier:i("Identifier directly after number."),NumericSeparatorInEscapeSequence:i("Numeric separators are not allowed inside unicode escape sequences or hex escape sequences."),ObsoleteAwaitStar:i("'await*' has been removed from the async functions proposal. Use Promise.all() instead."),OptionalChainingNoNew:i("Constructors in/after an Optional Chain are not allowed."),OptionalChainingNoTemplate:i("Tagged Template Literals are not allowed in optionalChain."),OverrideOnConstructor:i("'override' modifier cannot appear on a constructor declaration."),ParamDupe:i("Argument name clash."),PatternHasAccessor:i("Object pattern can't contain getter or setter."),PatternHasMethod:i("Object pattern can't contain methods."),PrivateInExpectedIn:i(t=>{let{identifierName:o}=t;return"Private names are only allowed in property accesses (`obj.#".concat(o,"`) or in `in` expressions (`#").concat(o," in obj`).")}),PrivateNameRedeclaration:i(t=>{let{identifierName:o}=t;return"Duplicate private name #".concat(o,".")}),RecordExpressionBarIncorrectEndSyntaxType:i("Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),RecordExpressionBarIncorrectStartSyntaxType:i("Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),RecordExpressionHashIncorrectStartSyntaxType:i("Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."),RecordNoProto:i("'__proto__' is not allowed in Record expressions."),RestTrailingComma:i("Unexpected trailing comma after rest element."),SloppyFunction:i("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:i("Classes may not have static property named prototype."),SuperNotAllowed:i("`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:i("Private fields can't be accessed on super."),TrailingDecorator:i("Decorators must be attached to a class element."),TupleExpressionBarIncorrectEndSyntaxType:i("Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),TupleExpressionBarIncorrectStartSyntaxType:i("Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),TupleExpressionHashIncorrectStartSyntaxType:i("Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."),UnexpectedArgumentPlaceholder:i("Unexpected argument placeholder."),UnexpectedAwaitAfterPipelineBody:i('Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.'),UnexpectedDigitAfterHash:i("Unexpected digit after hash token."),UnexpectedImportExport:i("'import' and 'export' may only appear at the top level."),UnexpectedKeyword:i(t=>{let{keyword:o}=t;return"Unexpected keyword '".concat(o,"'.")}),UnexpectedLeadingDecorator:i("Leading decorators must be attached to a class declaration."),UnexpectedLexicalDeclaration:i("Lexical declaration cannot appear in a single-statement context."),UnexpectedNewTarget:i("`new.target` can only be used in functions or class properties."),UnexpectedNumericSeparator:i("A numeric separator is only allowed between two digits."),UnexpectedPrivateField:i("Unexpected private name."),UnexpectedReservedWord:i(t=>{let{reservedWord:o}=t;return"Unexpected reserved word '".concat(o,"'.")}),UnexpectedSuper:i("'super' is only allowed in object methods and classes."),UnexpectedToken:i(t=>{let{expected:o,unexpected:p}=t;return"Unexpected token".concat(p?" '".concat(p,"'."):"").concat(o?', expected "'.concat(o,'"'):"")}),UnexpectedTokenUnaryExponentiation:i("Illegal expression. Wrap left hand side or entire exponentiation in parentheses."),UnsupportedBind:i("Binding should be performed on object property."),UnsupportedDecoratorExport:i("A decorated export must export a class declaration."),UnsupportedDefaultExport:i("Only expressions, functions or classes are allowed as the `default` export."),UnsupportedImport:i("`import` can only be used in `import()` or `import.meta`."),UnsupportedMetaProperty:i(t=>{let{target:o,onlyValidPropertyName:p}=t;return"The only valid meta property for ".concat(o," is ").concat(o,".").concat(p,".")}),UnsupportedParameterDecorator:i("Decorators cannot be used to decorate parameters."),UnsupportedPropertyDecorator:i("Decorators cannot be used to decorate object literal properties."),UnsupportedSuper:i("'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop])."),UnterminatedComment:i("Unterminated comment."),UnterminatedRegExp:i("Unterminated regular expression."),UnterminatedString:i("Unterminated string constant."),UnterminatedTemplate:i("Unterminated template."),VarRedeclaration:i(t=>{let{identifierName:o}=t;return"Identifier '".concat(o,"' has already been declared.")}),YieldBindingIdentifier:i("Can not use 'yield' as identifier inside a generator."),YieldInParameter:i("Yield expression is not allowed in formal parameters."),ZeroDigitNumericSeparator:i("Numeric separator can not be used after leading 0.")}),Pi=i=>({StrictDelete:i("Deleting local variable in strict mode."),StrictEvalArguments:i(t=>{let{referenceName:o}=t;return"Assigning to '".concat(o,"' in strict mode.")}),StrictEvalArgumentsBinding:i(t=>{let{bindingName:o}=t;return"Binding '".concat(o,"' in strict mode.")}),StrictFunction:i("In strict mode code, functions can only be declared at top level or inside a block."),StrictNumericEscape:i("The only valid numeric escape in strict mode is '\\0'."),StrictOctalLiteral:i("Legacy octal literals are not allowed in strict mode."),StrictWith:i("'with' in strict mode.")}),ls=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),Mi=i=>({PipeBodyIsTighter:i("Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence."),PipeTopicRequiresHackPipes:i('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'),PipeTopicUnbound:i("Topic reference is unbound; it must be inside a pipe body."),PipeTopicUnconfiguredToken:i(t=>{let{token:o}=t;return"Invalid topic token ".concat(o,". In order to use ").concat(o,' as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "').concat(o,'" }.')}),PipeTopicUnused:i("Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once."),PipeUnparenthesizedBody:i(t=>{let{type:o}=t;return"Hack-style pipe body cannot be an unparenthesized ".concat(Qi({type:o}),"; please wrap it in parentheses.")}),PipelineBodyNoArrow:i('Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.'),PipelineBodySequenceExpression:i("Pipeline body may not be a comma-separated sequence expression."),PipelineHeadSequenceExpression:i("Pipeline head should not be a comma-separated sequence expression."),PipelineTopicUnused:i("Pipeline is in topic style but does not use topic reference."),PrimaryTopicNotAllowed:i("Topic reference was used in a lexical context without topic binding."),PrimaryTopicRequiresSmartPipeline:i('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.')}),ks=["toMessage"];function da(i){let{toMessage:t}=i,o=An(i,ks);return function p(y){let{loc:$,details:he}=y;return ni(SyntaxError,Object.assign({},o,{loc:$}),{clone(){let Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},At=Ye.loc||{};return p({loc:new yn("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,Ye.details)})},details:{value:he,enumerable:!1},message:{get(){return"".concat(t(this.details)," (").concat(this.loc.line,":").concat(this.loc.column,")")},set(Ye){Object.defineProperty(this,"message",{value:Ye})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in he&&{reflect:"details.missingPlugin",enumerable:!0}})}}function is(i,t){return Object.assign({toMessage:typeof i=="string"?()=>i:i},t)}function ji(i,t){if(Array.isArray(i))return y=>ji(y,i[0]);let o=i(is),p={};for(let y of Object.keys(o))p[y]=da(Object.assign({code:Zn.SyntaxError,reasonCode:y},t?{syntaxPlugin:t}:{},o[y]));return p}var dt=Object.assign({},ji(wi),ji(ti),ji(Pi),ji(je||(je=sn(["pipelineOperator"])))(Mi)),{defineProperty:js}=Object,Oa=(i,t)=>js(i,t,{enumerable:!1,value:i[t]});function $s(i){return Oa(i.loc.start,"index"),Oa(i.loc.end,"index"),i}var Co=i=>class extends i{parse(){let t=$s(super.parse());return this.options.tokens&&(t.tokens=t.tokens.map($s)),t}parseRegExpLiteral(t){let{pattern:o,flags:p}=t,y=null;try{y=new RegExp(o,p)}catch{}let $=this.estreeParseLiteral(y);return $.regex={pattern:o,flags:p},$}parseBigIntLiteral(t){let o;try{o=BigInt(t)}catch{o=null}let p=this.estreeParseLiteral(o);return p.bigint=String(p.value||t),p}parseDecimalLiteral(t){let o=this.estreeParseLiteral(null);return o.decimal=String(o.value||t),o}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 o=t.value,p=this.startNodeAt(t.start,t.loc.start),y=this.startNodeAt(o.start,o.loc.start);return y.value=o.extra.expressionValue,y.raw=o.extra.raw,p.expression=this.finishNodeAt(y,"Literal",o.loc.end),p.directive=o.extra.raw.slice(1,-1),this.finishNodeAt(p,"ExpressionStatement",t.loc.end)}initFunction(t,o){super.initFunction(t,o),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 o;return t.type==="ExpressionStatement"&&t.expression.type==="Literal"&&typeof t.expression.value=="string"&&!((o=t.expression.extra)!=null&&o.parenthesized)}parseBlockBody(t){for(var o=arguments.length,p=new Array(o>1?o-1:0),y=1;y<o;y++)p[y-1]=arguments[y];super.parseBlockBody(t,...p);let $=t.directives.map(he=>this.directiveToStmt(he));t.body=$.concat(t.body),delete t.directives}pushClassMethod(t,o,p,y,$,he){this.parseMethod(o,p,y,$,he,"ClassMethod",!0),o.typeParameters&&(o.value.typeParameters=o.typeParameters,delete o.typeParameters),t.body.push(o)}parsePrivateName(){let t=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(t):t}convertPrivateNameToPrivateIdentifier(t){let o=super.getPrivateNameSV(t);return t=t,delete t.id,t.name=o,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,o){let p=super.parseLiteral(t,o);return p.raw=p.extra.raw,delete p.extra,p}parseFunctionBody(t,o){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;super.parseFunctionBody(t,o,p),t.expression=t.body.type!=="BlockStatement"}parseMethod(t,o,p,y,$,he){let Ye=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,At=this.startNode();return At.kind=t.kind,At=super.parseMethod(At,o,p,y,$,he,Ye),At.type="FunctionExpression",delete At.kind,t.value=At,he==="ClassPrivateMethod"&&(t.computed=!1),he="MethodDefinition",this.finishNode(t,he)}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,o,p,y,$){let he=super.parseObjectMethod(t,o,p,y,$);return he&&(he.type="Property",he.kind==="method"&&(he.kind="init"),he.shorthand=!1),he}parseObjectProperty(t,o,p,y,$){let he=super.parseObjectProperty(t,o,p,y,$);return he&&(he.kind="init",he.type="Property"),he}isValidLVal(t){for(var o=arguments.length,p=new Array(o>1?o-1:0),y=1;y<o;y++)p[y-1]=arguments[y];return t==="Property"?"value":super.isValidLVal(t,...p)}isAssignable(t,o){return t!=null&&this.isObjectProperty(t)?this.isAssignable(t.value,o):super.isAssignable(t,o)}toAssignable(t){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t!=null&&this.isObjectProperty(t)){let{key:p,value:y}=t;this.isPrivateName(p)&&this.classScope.usePrivateName(this.getPrivateNameSV(p),p.loc.start),this.toAssignable(y,o)}else super.toAssignable(t,o)}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,o){if(super.finishCallExpression(t,o),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,o,p,y,$){let he=super.parseSubscript(t,o,p,y,$);if($.optionalChainMember){if((he.type==="OptionalMemberExpression"||he.type==="OptionalCallExpression")&&(he.type=he.type.substring(8)),$.stop){let Ye=this.startNodeAtNode(he);return Ye.expression=he,this.finishNode(Ye,"ChainExpression")}}else(he.type==="MemberExpression"||he.type==="CallExpression")&&(he.optional=!1);return he}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,o,p){return $s(super.finishNodeAt(t,o,p))}resetEndLocation(t){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.lastTokEndLoc;super.resetEndLocation(t,o),$s(t)}},qs=class{constructor(i,t){this.token=void 0,this.preserveSpace=void 0,this.token=i,this.preserveSpace=!!t}},Bi={brace:new qs("{"),j_oTag:new qs("<tag"),j_cTag:new qs("</tag"),j_expr:new qs("<tag>...</tag>",!0)};Bi.template=new qs("`",!0);var Fi=!0,ie=!0,et=!0,Ct=!0,kt=!0,er=!0,lt=class{constructor(i){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=i,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}},Et=new Map;function Ut(i){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};t.keyword=i;let o=Rr(i,t);return Et.set(i,o),o}function Yt(i,t){return Rr(i,{beforeExpr:Fi,binop:t})}var Ln=-1,ct=[],Ht=[],nr=[],jr=[],Tr=[],Kr=[];function Rr(i){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var o,p,y,$;return++Ln,Ht.push(i),nr.push((o=t.binop)!=null?o:-1),jr.push((p=t.beforeExpr)!=null?p:!1),Tr.push((y=t.startsExpr)!=null?y:!1),Kr.push(($=t.prefix)!=null?$:!1),ct.push(new lt(i,t)),Ln}function Tn(i){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var o,p,y,$;return++Ln,Et.set(i,Ln),Ht.push(i),nr.push((o=t.binop)!=null?o:-1),jr.push((p=t.beforeExpr)!=null?p:!1),Tr.push((y=t.startsExpr)!=null?y:!1),Kr.push(($=t.prefix)!=null?$:!1),ct.push(new lt("name",t)),Ln}var Bn={bracketL:Rr("[",{beforeExpr:Fi,startsExpr:ie}),bracketHashL:Rr("#[",{beforeExpr:Fi,startsExpr:ie}),bracketBarL:Rr("[|",{beforeExpr:Fi,startsExpr:ie}),bracketR:Rr("]"),bracketBarR:Rr("|]"),braceL:Rr("{",{beforeExpr:Fi,startsExpr:ie}),braceBarL:Rr("{|",{beforeExpr:Fi,startsExpr:ie}),braceHashL:Rr("#{",{beforeExpr:Fi,startsExpr:ie}),braceR:Rr("}"),braceBarR:Rr("|}"),parenL:Rr("(",{beforeExpr:Fi,startsExpr:ie}),parenR:Rr(")"),comma:Rr(",",{beforeExpr:Fi}),semi:Rr(";",{beforeExpr:Fi}),colon:Rr(":",{beforeExpr:Fi}),doubleColon:Rr("::",{beforeExpr:Fi}),dot:Rr("."),question:Rr("?",{beforeExpr:Fi}),questionDot:Rr("?."),arrow:Rr("=>",{beforeExpr:Fi}),template:Rr("template"),ellipsis:Rr("...",{beforeExpr:Fi}),backQuote:Rr("`",{startsExpr:ie}),dollarBraceL:Rr("${",{beforeExpr:Fi,startsExpr:ie}),templateTail:Rr("...`",{startsExpr:ie}),templateNonTail:Rr("...${",{beforeExpr:Fi,startsExpr:ie}),at:Rr("@"),hash:Rr("#",{startsExpr:ie}),interpreterDirective:Rr("#!..."),eq:Rr("=",{beforeExpr:Fi,isAssign:Ct}),assign:Rr("_=",{beforeExpr:Fi,isAssign:Ct}),slashAssign:Rr("_=",{beforeExpr:Fi,isAssign:Ct}),xorAssign:Rr("_=",{beforeExpr:Fi,isAssign:Ct}),moduloAssign:Rr("_=",{beforeExpr:Fi,isAssign:Ct}),incDec:Rr("++/--",{prefix:kt,postfix:er,startsExpr:ie}),bang:Rr("!",{beforeExpr:Fi,prefix:kt,startsExpr:ie}),tilde:Rr("~",{beforeExpr:Fi,prefix:kt,startsExpr:ie}),doubleCaret:Rr("^^",{startsExpr:ie}),doubleAt:Rr("@@",{startsExpr:ie}),pipeline:Yt("|>",0),nullishCoalescing:Yt("??",1),logicalOR:Yt("||",1),logicalAND:Yt("&&",2),bitwiseOR:Yt("|",3),bitwiseXOR:Yt("^",4),bitwiseAND:Yt("&",5),equality:Yt("==/!=/===/!==",6),lt:Yt("</>/<=/>=",7),gt:Yt("</>/<=/>=",7),relational:Yt("</>/<=/>=",7),bitShift:Yt("<</>>/>>>",8),bitShiftL:Yt("<</>>/>>>",8),bitShiftR:Yt("<</>>/>>>",8),plusMin:Rr("+/-",{beforeExpr:Fi,binop:9,prefix:kt,startsExpr:ie}),modulo:Rr("%",{binop:10,startsExpr:ie}),star:Rr("*",{binop:10}),slash:Yt("/",10),exponent:Rr("**",{beforeExpr:Fi,binop:11,rightAssociative:!0}),_in:Ut("in",{beforeExpr:Fi,binop:7}),_instanceof:Ut("instanceof",{beforeExpr:Fi,binop:7}),_break:Ut("break"),_case:Ut("case",{beforeExpr:Fi}),_catch:Ut("catch"),_continue:Ut("continue"),_debugger:Ut("debugger"),_default:Ut("default",{beforeExpr:Fi}),_else:Ut("else",{beforeExpr:Fi}),_finally:Ut("finally"),_function:Ut("function",{startsExpr:ie}),_if:Ut("if"),_return:Ut("return",{beforeExpr:Fi}),_switch:Ut("switch"),_throw:Ut("throw",{beforeExpr:Fi,prefix:kt,startsExpr:ie}),_try:Ut("try"),_var:Ut("var"),_const:Ut("const"),_with:Ut("with"),_new:Ut("new",{beforeExpr:Fi,startsExpr:ie}),_this:Ut("this",{startsExpr:ie}),_super:Ut("super",{startsExpr:ie}),_class:Ut("class",{startsExpr:ie}),_extends:Ut("extends",{beforeExpr:Fi}),_export:Ut("export"),_import:Ut("import",{startsExpr:ie}),_null:Ut("null",{startsExpr:ie}),_true:Ut("true",{startsExpr:ie}),_false:Ut("false",{startsExpr:ie}),_typeof:Ut("typeof",{beforeExpr:Fi,prefix:kt,startsExpr:ie}),_void:Ut("void",{beforeExpr:Fi,prefix:kt,startsExpr:ie}),_delete:Ut("delete",{beforeExpr:Fi,prefix:kt,startsExpr:ie}),_do:Ut("do",{isLoop:et,beforeExpr:Fi}),_for:Ut("for",{isLoop:et}),_while:Ut("while",{isLoop:et}),_as:Tn("as",{startsExpr:ie}),_assert:Tn("assert",{startsExpr:ie}),_async:Tn("async",{startsExpr:ie}),_await:Tn("await",{startsExpr:ie}),_from:Tn("from",{startsExpr:ie}),_get:Tn("get",{startsExpr:ie}),_let:Tn("let",{startsExpr:ie}),_meta:Tn("meta",{startsExpr:ie}),_of:Tn("of",{startsExpr:ie}),_sent:Tn("sent",{startsExpr:ie}),_set:Tn("set",{startsExpr:ie}),_static:Tn("static",{startsExpr:ie}),_yield:Tn("yield",{startsExpr:ie}),_asserts:Tn("asserts",{startsExpr:ie}),_checks:Tn("checks",{startsExpr:ie}),_exports:Tn("exports",{startsExpr:ie}),_global:Tn("global",{startsExpr:ie}),_implements:Tn("implements",{startsExpr:ie}),_intrinsic:Tn("intrinsic",{startsExpr:ie}),_infer:Tn("infer",{startsExpr:ie}),_is:Tn("is",{startsExpr:ie}),_mixins:Tn("mixins",{startsExpr:ie}),_proto:Tn("proto",{startsExpr:ie}),_require:Tn("require",{startsExpr:ie}),_keyof:Tn("keyof",{startsExpr:ie}),_readonly:Tn("readonly",{startsExpr:ie}),_unique:Tn("unique",{startsExpr:ie}),_abstract:Tn("abstract",{startsExpr:ie}),_declare:Tn("declare",{startsExpr:ie}),_enum:Tn("enum",{startsExpr:ie}),_module:Tn("module",{startsExpr:ie}),_namespace:Tn("namespace",{startsExpr:ie}),_interface:Tn("interface",{startsExpr:ie}),_type:Tn("type",{startsExpr:ie}),_opaque:Tn("opaque",{startsExpr:ie}),name:Rr("name",{startsExpr:ie}),string:Rr("string",{startsExpr:ie}),num:Rr("num",{startsExpr:ie}),bigint:Rr("bigint",{startsExpr:ie}),decimal:Rr("decimal",{startsExpr:ie}),regexp:Rr("regexp",{startsExpr:ie}),privateName:Rr("#name",{startsExpr:ie}),eof:Rr("eof"),jsxName:Rr("jsxName"),jsxText:Rr("jsxText",{beforeExpr:!0}),jsxTagStart:Rr("jsxTagStart",{startsExpr:!0}),jsxTagEnd:Rr("jsxTagEnd"),placeholder:Rr("%%",{startsExpr:!0})};function jn(i){return i>=93&&i<=128}function Ri(i){return i<=92}function ds(i){return i>=58&&i<=128}function fn(i){return i>=58&&i<=132}function Si(i){return jr[i]}function _i(i){return Tr[i]}function ts(i){return i>=29&&i<=33}function ss(i){return i>=125&&i<=127}function We(i){return i>=90&&i<=92}function gt(i){return i>=58&&i<=92}function Hr(i){return i>=39&&i<=59}function hr(i){return i===34}function wn(i){return Kr[i]}function Yi(i){return i>=117&&i<=119}function xs(i){return i>=120&&i<=126}function Ms(i){return Ht[i]}function Hs(i){return nr[i]}function ga(i){return nr[i]!==-1}function Ds(i){return i===57}function Ps(i){return i>=24&&i<=25}function Ws(i){return ct[i]}ct[8].updateContext=i=>{i.pop()},ct[5].updateContext=ct[7].updateContext=ct[23].updateContext=i=>{i.push(Bi.brace)},ct[22].updateContext=i=>{i[i.length-1]===Bi.template?i.pop():i.push(Bi.template)},ct[138].updateContext=i=>{i.push(Bi.j_expr,Bi.j_oTag)};var ha="\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",Dn="\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",Hn=new RegExp("["+ha+"]"),li=new RegExp("["+ha+Dn+"]");ha=Dn=null;var ci=[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],ki=[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 Ns(i,t){let o=65536;for(let p=0,y=t.length;p<y;p+=2){if(o+=t[p],o>i)return!1;if(o+=t[p+1],o>=i)return!0}return!1}function Ts(i){return i<65?i===36:i<=90?!0:i<97?i===95:i<=122?!0:i<=65535?i>=170&&Hn.test(String.fromCharCode(i)):Ns(i,ci)}function ea(i){return i<48?i===36:i<58?!0:i<65?!1:i<=90?!0:i<97?i===95:i<=122?!0:i<=65535?i>=170&&li.test(String.fromCharCode(i)):Ns(i,ci)||Ns(i,ki)}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"]},nu=new Set(La.keyword),qa=new Set(La.strict),Ca=new Set(La.strictBind);function co(i,t){return t&&i==="await"||i==="enum"}function Uo(i,t){return co(i,t)||qa.has(i)}function Ea(i){return Ca.has(i)}function Va(i,t){return Uo(i,t)||Ea(i)}function Ma(i){return nu.has(i)}function zo(i,t,o){return i===64&&t===64&&Ts(o)}var vs=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 ua(i){return vs.has(i)}var Wa=0,Ga=1,Xa=2,xu=4,Iu=8,po=16,Ou=32,so=64,Ho=128,Cu=256,$o=Ga|Xa|Cu,Ja=1,ho=2,qo=4,ba=8,fo=16,Lu=64,Eo=128,bl=256,Al=512,Mu=1024,Vo=2048,iu=Ja|ho|ba|Eo,Aa=Ja|0|ba|0,Za=Ja|0|qo|0,ju=Ja|0|fo|0,Ru=0|ho|0|Eo,il=0|ho|0|0,bo=Ja|ho|ba|bl,sl=0|Mu,wa=0|Lu,su=Ja|0|0|Lu,eo=bo|Al,au=0|Mu,Ao=Vo,Wo=4,al=2,ol=1,ja=al|ol,ao=al|Wo,wo=ol|Wo,Vl=al,rc=ol,Eu=0,Uu=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(i){if(typeof i=="string")return this.plugins.has(i);{let[t,o]=i;if(!this.hasPlugin(t))return!1;let p=this.plugins.get(t);for(let y of Object.keys(o))if((p==null?void 0:p[y])!==o[y])return!1;return!0}}getPluginOption(i,t){var o;return(o=this.plugins.get(i))==null?void 0:o[t]}};function zu(i,t){i.trailingComments===void 0?i.trailingComments=t:i.trailingComments.unshift(...t)}function ul(i,t){i.leadingComments===void 0?i.leadingComments=t:i.leadingComments.unshift(...t)}function na(i,t){i.innerComments===void 0?i.innerComments=t:i.innerComments.unshift(...t)}function zs(i,t,o){let p=null,y=t.length;for(;p===null&&y>0;)p=t[--y];p===null||p.start>o.start?na(i,o.comments):zu(p,o.comments)}var fa=class extends Uu{addComment(i){this.filename&&(i.loc.filename=this.filename),this.state.comments.push(i)}processComment(i){let{commentStack:t}=this.state,o=t.length;if(o===0)return;let p=o-1,y=t[p];y.start===i.end&&(y.leadingNode=i,p--);let{start:$}=i;for(;p>=0;p--){let he=t[p],Ye=he.end;if(Ye>$)he.containingNode=i,this.finalizeComment(he),t.splice(p,1);else{Ye===$&&(he.trailingNode=i);break}}}finalizeComment(i){let{comments:t}=i;if(i.leadingNode!==null||i.trailingNode!==null)i.leadingNode!==null&&zu(i.leadingNode,t),i.trailingNode!==null&&ul(i.trailingNode,t);else{let{containingNode:o,start:p}=i;if(this.input.charCodeAt(p-1)===44)switch(o.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":zs(o,o.properties,i);break;case"CallExpression":case"OptionalCallExpression":zs(o,o.arguments,i);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":zs(o,o.params,i);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":zs(o,o.elements,i);break;case"ExportNamedDeclaration":case"ImportDeclaration":zs(o,o.specifiers,i);break;default:na(o,t)}else na(o,t)}}finalizeRemainingComments(){let{commentStack:i}=this.state;for(let t=i.length-1;t>=0;t--)this.finalizeComment(i[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(i){let{commentStack:t}=this.state,{length:o}=t;if(o===0)return;let p=t[o-1];p.leadingNode===i&&(p.leadingNode=null)}takeSurroundingComments(i,t,o){let{commentStack:p}=this.state,y=p.length;if(y===0)return;let $=y-1;for(;$>=0;$--){let he=p[$],Ye=he.end;if(he.start===o)he.leadingNode=i;else if(Ye===t)he.trailingNode=i;else if(Ye<t)break}}},Js=/\r\n?|[\n\u2028\u2029]/,to=new RegExp(Js.source,"g");function Go(i){switch(i){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}var ou=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,wl=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y,Wl=new RegExp("(?=("+wl.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function nc(i){switch(i){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 Hu=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=[Bi.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.strictErrors=new Map,this.tokensLength=0}init(i){let{strictMode:t,sourceType:o,startLine:p,startColumn:y}=i;this.strict=t===!1?!1:t===!0?!0:o==="module",this.curLine=p,this.lineStart=-y,this.startLoc=this.endLoc=new yn(p,y,0)}curPosition(){return new yn(this.curLine,this.pos-this.lineStart,this.pos)}clone(i){let t=new Hu,o=Object.keys(this);for(let p=0,y=o.length;p<y;p++){let $=o[p],he=this[$];!i&&Array.isArray(he)&&(he=he.slice()),t[$]=he}return t}},Tl=["at"],ll=["at"],Sl=function(i){return i>=48&&i<=57},Fl=new Set([103,109,115,105,121,117,100,118]),cl={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},$u={bin:i=>i===48||i===49,oct:i=>i>=48&&i<=55,dec:i=>i>=48&&i<=57,hex:i=>i>=48&&i<=57||i>=65&&i<=70||i>=97&&i<=102},To=class{constructor(i){this.type=i.type,this.value=i.value,this.start=i.start,this.end=i.end,this.loc=new ln(i.startLoc,i.endLoc)}},Xo=class extends fa{constructor(i,t){super(),this.isLookahead=void 0,this.tokens=[],this.state=new Hu,this.state.init(i),this.input=t,this.length=t.length,this.isLookahead=!1}pushToken(i){this.tokens.length=this.state.tokensLength,this.tokens.push(i),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new To(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(i){return this.match(i)?(this.next(),!0):!1}match(i){return this.state.type===i}createLookaheadState(i){return{pos:i.pos,value:null,type:i.type,start:i.start,end:i.end,context:[this.curContext()],inType:i.inType,startLoc:i.startLoc,lastTokEndLoc:i.lastTokEndLoc,curLine:i.curLine,lineStart:i.lineStart,curPosition:i.curPosition}}lookahead(){let i=this.state;this.state=this.createLookaheadState(i),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let t=this.state;return this.state=i,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(i){return ou.lastIndex=i,ou.test(this.input)?ou.lastIndex:i}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(i){let t=this.input.charCodeAt(i);if((t&64512)===55296&&++i<this.input.length){let o=this.input.charCodeAt(i);(o&64512)===56320&&(t=65536+((t&1023)<<10)+(o&1023))}return t}setStrict(i){this.state.strict=i,i&&(this.state.strictErrors.forEach(t=>{let[o,p]=t;return this.raise(o,{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 i;this.isLookahead||(i=this.state.curPosition());let t=this.state.pos,o=this.input.indexOf("*/",t+2);if(o===-1)throw this.raise(dt.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=o+2,to.lastIndex=t+2;to.test(this.input)&&to.lastIndex<=o;)++this.state.curLine,this.state.lineStart=to.lastIndex;if(this.isLookahead)return;let p={type:"CommentBlock",value:this.input.slice(t+2,o),start:t,end:o+2,loc:new ln(i,this.state.curPosition())};return this.options.tokens&&this.pushToken(p),p}skipLineComment(i){let t=this.state.pos,o;this.isLookahead||(o=this.state.curPosition());let p=this.input.charCodeAt(this.state.pos+=i);if(this.state.pos<this.length)for(;!Go(p)&&++this.state.pos<this.length;)p=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let y=this.state.pos,$=this.input.slice(t+i,y),he={type:"CommentLine",value:$,start:t,end:y,loc:new ln(o,this.state.curPosition())};return this.options.tokens&&this.pushToken(he),he}skipSpace(){let i=this.state.pos,t=[];e:for(;this.state.pos<this.length;){let o=this.input.charCodeAt(this.state.pos);switch(o){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(nc(o))++this.state.pos;else if(o===45&&!this.inModule){let p=this.state.pos;if(this.input.charCodeAt(p+1)===45&&this.input.charCodeAt(p+2)===62&&(i===0||this.state.lineStart>i)){let y=this.skipLineComment(3);y!==void 0&&(this.addComment(y),this.options.attachComment&&t.push(y))}else break e}else if(o===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 y=this.skipLineComment(4);y!==void 0&&(this.addComment(y),this.options.attachComment&&t.push(y))}else break e}else break e}}if(t.length>0){let o=this.state.pos,p={start:i,end:o,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(p)}}finishToken(i,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let o=this.state.type;this.state.type=i,this.state.value=t,this.isLookahead||this.updateContext(o)}replaceToken(i){this.state.type=i,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let i=this.state.pos+1,t=this.codePointAtPos(i);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 Ts(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 i=this.input.charCodeAt(this.state.pos+1);if(i>=48&&i<=57){this.readNumber(!0);return}i===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 i=this.input.charCodeAt(this.state.pos+1);if(i!==33)return!1;let t=this.state.pos;for(this.state.pos+=1;!Go(i)&&++this.state.pos<this.length;)i=this.input.charCodeAt(this.state.pos);let o=this.input.slice(t+2,this.state.pos);return this.finishToken(28,o),!0}readToken_mult_modulo(i){let t=i===42?55:54,o=1,p=this.input.charCodeAt(this.state.pos+1);i===42&&p===42&&(o++,p=this.input.charCodeAt(this.state.pos+2),t=57),p===61&&!this.state.inType&&(o++,t=i===37?33:30),this.finishOp(t,o)}readToken_pipe_amp(i){let t=this.input.charCodeAt(this.state.pos+1);if(t===i){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(i===124?41:42,2);return}if(i===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(i===124?43:45,1)}readToken_caret(){let i=this.input.charCodeAt(this.state.pos+1);if(i===61&&!this.state.inType)this.finishOp(32,2);else if(i===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(i){let t=this.input.charCodeAt(this.state.pos+1);if(t===i){this.finishOp(34,2);return}t===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){let{pos:i}=this.state,t=this.input.charCodeAt(i+1);if(t===60){if(this.input.charCodeAt(i+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:i}=this.state,t=this.input.charCodeAt(i+1);if(t===62){let o=this.input.charCodeAt(i+2)===62?3:2;if(this.input.charCodeAt(i+o)===61){this.finishOp(30,o+1);return}this.finishOp(52,o);return}if(t===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(i){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(i===61&&t===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(i===61?29:35,1)}readToken_question(){let i=this.input.charCodeAt(this.state.pos+1),t=this.input.charCodeAt(this.state.pos+2);i===63?t===61?this.finishOp(30,3):this.finishOp(40,2):i===46&&!(t>=48&&t<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(i){switch(i){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(i);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(i);return;case 124:case 38:this.readToken_pipe_amp(i);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(i);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(i);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(Ts(i)){this.readWord(i);return}}throw this.raise(dt.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(i)})}finishOp(i,t){let o=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(i,o)}readRegexp(){let i=this.state.startLoc,t=this.state.start+1,o,p,{pos:y}=this.state;for(;;++y){if(y>=this.length)throw this.raise(dt.UnterminatedRegExp,{at:pn(i,1)});let At=this.input.charCodeAt(y);if(Go(At))throw this.raise(dt.UnterminatedRegExp,{at:pn(i,1)});if(o)o=!1;else{if(At===91)p=!0;else if(At===93&&p)p=!1;else if(At===47&&!p)break;o=At===92}}let $=this.input.slice(t,y);++y;let he="",Ye=()=>pn(i,y+2-t);for(;y<this.length;){let At=this.codePointAtPos(y),ar=String.fromCharCode(At);if(Fl.has(At))At===118?(this.expectPlugin("regexpUnicodeSets",Ye()),he.includes("u")&&this.raise(dt.IncompatibleRegExpUVFlags,{at:Ye()})):At===117&&he.includes("v")&&this.raise(dt.IncompatibleRegExpUVFlags,{at:Ye()}),he.includes(ar)&&this.raise(dt.DuplicateRegExpFlags,{at:Ye()});else if(ea(At)||At===92)this.raise(dt.MalformedRegExpFlags,{at:Ye()});else break;++y,he+=ar}this.state.pos=y,this.finishToken(133,{pattern:$,flags:he})}readInt(i,t,o){let p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,y=this.state.pos,$=i===16?cl.hex:cl.decBinOct,he=i===16?$u.hex:i===10?$u.dec:i===8?$u.oct:$u.bin,Ye=!1,At=0;for(let ar=0,d=t==null?1/0:t;ar<d;++ar){let A=this.input.charCodeAt(this.state.pos),m;if(A===95&&p!=="bail"){let b=this.input.charCodeAt(this.state.pos-1),E=this.input.charCodeAt(this.state.pos+1);p?(Number.isNaN(E)||!he(E)||$.has(b)||$.has(E))&&this.raise(dt.UnexpectedNumericSeparator,{at:this.state.curPosition()}):this.raise(dt.NumericSeparatorInEscapeSequence,{at:this.state.curPosition()}),++this.state.pos;continue}if(A>=97?m=A-97+10:A>=65?m=A-65+10:Sl(A)?m=A-48:m=1/0,m>=i)if(this.options.errorRecovery&&m<=9)m=0,this.raise(dt.InvalidDigit,{at:this.state.curPosition(),radix:i});else if(o)m=0,Ye=!0;else break;++this.state.pos,At=At*i+m}return this.state.pos===y||t!=null&&this.state.pos-y!==t||Ye?null:At}readRadixNumber(i){let t=this.state.curPosition(),o=!1;this.state.pos+=2;let p=this.readInt(i);p==null&&this.raise(dt.InvalidDigit,{at:pn(t,2),radix:i});let y=this.input.charCodeAt(this.state.pos);if(y===110)++this.state.pos,o=!0;else if(y===109)throw this.raise(dt.InvalidDecimal,{at:t});if(Ts(this.codePointAtPos(this.state.pos)))throw this.raise(dt.NumberIdentifier,{at:this.state.curPosition()});if(o){let $=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(131,$);return}this.finishToken(130,p)}readNumber(i){let t=this.state.pos,o=this.state.curPosition(),p=!1,y=!1,$=!1,he=!1,Ye=!1;!i&&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 m=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(dt.StrictOctalLiteral,{at:o}),!this.state.strict){let b=m.indexOf("_");b>0&&this.raise(dt.ZeroDigitNumericSeparator,{at:pn(o,b)})}Ye=At&&!/[89]/.test(m)}let ar=this.input.charCodeAt(this.state.pos);if(ar===46&&!Ye&&(++this.state.pos,this.readInt(10),p=!0,ar=this.input.charCodeAt(this.state.pos)),(ar===69||ar===101)&&!Ye&&(ar=this.input.charCodeAt(++this.state.pos),(ar===43||ar===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(dt.InvalidOrMissingExponent,{at:o}),p=!0,he=!0,ar=this.input.charCodeAt(this.state.pos)),ar===110&&((p||At)&&this.raise(dt.InvalidBigIntLiteral,{at:o}),++this.state.pos,y=!0),ar===109&&(this.expectPlugin("decimal",this.state.curPosition()),(he||At)&&this.raise(dt.InvalidDecimal,{at:o}),++this.state.pos,$=!0),Ts(this.codePointAtPos(this.state.pos)))throw this.raise(dt.NumberIdentifier,{at:this.state.curPosition()});let d=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(y){this.finishToken(131,d);return}if($){this.finishToken(132,d);return}let A=Ye?parseInt(d,8):parseFloat(d);this.finishToken(130,A)}readCodePoint(i){let t=this.input.charCodeAt(this.state.pos),o;if(t===123){if(++this.state.pos,o=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,!0,i),++this.state.pos,o!==null&&o>1114111)if(i)this.raise(dt.InvalidCodePoint,{at:this.state.curPosition()});else return null}else o=this.readHexChar(4,!1,i);return o}readString(i){let t="",o=++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===i)break;if(p===92)t+=this.input.slice(o,this.state.pos),t+=this.readEscapedChar(!1),o=this.state.pos;else if(p===8232||p===8233)++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;else{if(Go(p))throw this.raise(dt.UnterminatedString,{at:this.state.startLoc});++this.state.pos}}t+=this.input.slice(o,this.state.pos++),this.finishToken(129,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let i="",t=this.state.pos,o=!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,i+=this.input.slice(t,this.state.pos),this.finishToken(24,o?null:i);return}if(p===36&&this.input.charCodeAt(this.state.pos+1)===123){this.state.pos+=2,i+=this.input.slice(t,this.state.pos),this.finishToken(25,o?null:i);return}if(p===92){i+=this.input.slice(t,this.state.pos);let y=this.readEscapedChar(!0);y===null?o=!0:i+=y,t=this.state.pos}else if(Go(p)){switch(i+=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:i+=`
|
|
271
|
-
`;break;default:i+=String.fromCharCode(p);break}++this.state.curLine,this.state.lineStart=this.state.pos,t=this.state.pos}else++this.state.pos}}recordStrictModeErrors(i,t){let{at:o}=t,p=o.index;this.state.strict&&!this.state.strictErrors.has(p)?this.raise(i,{at:o}):this.state.strictErrors.set(p,[i,o])}readEscapedChar(i){let t=!i,o=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,o){case 110:return`
|
|
272
|
-
`;case 114:return"\r";case 120:{let p=this.readHexChar(2,!1,t);return p===null?null:String.fromCharCode(p)}case 117:{let p=this.readCodePoint(t);return p===null?null:String.fromCodePoint(p)}case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.state.pos)===10&&++this.state.pos;case 10:this.state.lineStart=this.state.pos,++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(i)return null;this.recordStrictModeErrors(dt.StrictNumericEscape,{at:pn(this.state.curPosition(),-1)});default:if(o>=48&&o<=55){let p=pn(this.state.curPosition(),-1),y=this.input.slice(this.state.pos-1,this.state.pos+2).match(/^[0-7]+/)[0],$=parseInt(y,8);$>255&&(y=y.slice(0,-1),$=parseInt(y,8)),this.state.pos+=y.length-1;let he=this.input.charCodeAt(this.state.pos);if(y!=="0"||he===56||he===57){if(i)return null;this.recordStrictModeErrors(dt.StrictNumericEscape,{at:p})}return String.fromCharCode($)}return String.fromCharCode(o)}}readHexChar(i,t,o){let p=this.state.curPosition(),y=this.readInt(16,i,t,!1);return y===null&&(o?this.raise(dt.InvalidEscapeSequence,{at:p}):this.state.pos=p.index-1),y}readWord1(i){this.state.containsEsc=!1;let t="",o=this.state.pos,p=this.state.pos;for(i!==void 0&&(this.state.pos+=i<=65535?1:2);this.state.pos<this.length;){let y=this.codePointAtPos(this.state.pos);if(ea(y))this.state.pos+=y<=65535?1:2;else if(y===92){this.state.containsEsc=!0,t+=this.input.slice(p,this.state.pos);let $=this.state.curPosition(),he=this.state.pos===o?Ts:ea;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 Ye=this.readCodePoint(!0);Ye!==null&&(he(Ye)||this.raise(dt.EscapedCharNotAnIdentifier,{at:$}),t+=String.fromCodePoint(Ye)),p=this.state.pos}else break}return t+this.input.slice(p,this.state.pos)}readWord(i){let t=this.readWord1(i),o=Et.get(t);o!==void 0?this.finishToken(o,Ms(o)):this.finishToken(128,t)}checkKeywordEscapes(){let{type:i}=this.state;gt(i)&&this.state.containsEsc&&this.raise(dt.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:Ms(i)})}raise(i,t){let{at:o}=t,p=An(t,Tl),y=o instanceof yn?o:o.loc.start,$=i({loc:y,details:p});if(!this.options.errorRecovery)throw $;return this.isLookahead||this.state.errors.push($),$}raiseOverwrite(i,t){let{at:o}=t,p=An(t,ll),y=o instanceof yn?o:o.loc.start,$=y.index,he=this.state.errors;for(let Ye=he.length-1;Ye>=0;Ye--){let At=he[Ye];if(At.loc.index===$)return he[Ye]=i({loc:y,details:p});if(At.loc.index<$)break}return this.raise(i,t)}updateContext(i){}unexpected(i,t){throw this.raise(dt.UnexpectedToken,{expected:t?Ms(t):null,at:i!=null?i:this.state.startLoc})}expectPlugin(i,t){if(this.hasPlugin(i))return!0;throw this.raise(dt.MissingPlugin,{at:t!=null?t:this.state.startLoc,missingPlugin:[i]})}expectOnePlugin(i){if(!i.some(t=>this.hasPlugin(t)))throw this.raise(dt.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:i})}},pl=class{constructor(i){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=i}},uu=class{constructor(i,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=i,this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&Xa)>0}get allowSuper(){return(this.currentThisScopeFlags()&po)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&Ou)>0}get inClass(){return(this.currentThisScopeFlags()&so)>0}get inClassAndNotInNonArrowFunction(){let i=this.currentThisScopeFlags();return(i&so)>0&&(i&Xa)===0}get inStaticBlock(){for(let i=this.scopeStack.length-1;;i--){let{flags:t}=this.scopeStack[i];if(t&Ho)return!0;if(t&($o|so))return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&Xa)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(i){return new pl(i)}enter(i){this.scopeStack.push(this.createScope(i))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(i){return!!(i.flags&(Xa|Ho)||!this.parser.inModule&&i.flags&Ga)}declareName(i,t,o){let p=this.currentScope();if(t&ba||t&fo)this.checkRedeclarationInScope(p,i,t,o),t&fo?p.functions.add(i):p.lexical.add(i),t&ba&&this.maybeExportDefined(p,i);else if(t&qo)for(let y=this.scopeStack.length-1;y>=0&&(p=this.scopeStack[y],this.checkRedeclarationInScope(p,i,t,o),p.var.add(i),this.maybeExportDefined(p,i),!(p.flags&$o));--y);this.parser.inModule&&p.flags&Ga&&this.undefinedExports.delete(i)}maybeExportDefined(i,t){this.parser.inModule&&i.flags&Ga&&this.undefinedExports.delete(t)}checkRedeclarationInScope(i,t,o,p){this.isRedeclaredInScope(i,t,o)&&this.parser.raise(dt.VarRedeclaration,{at:p,identifierName:t})}isRedeclaredInScope(i,t,o){return o&Ja?o&ba?i.lexical.has(t)||i.functions.has(t)||i.var.has(t):o&fo?i.lexical.has(t)||!this.treatFunctionsAsVarInScope(i)&&i.var.has(t):i.lexical.has(t)&&!(i.flags&Iu&&i.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(i)&&i.functions.has(t):!1}checkLocalExport(i){let{name:t}=i,o=this.scopeStack[0];!o.lexical.has(t)&&!o.var.has(t)&&!o.functions.has(t)&&this.undefinedExports.set(t,i.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let i=this.scopeStack.length-1;;i--){let{flags:t}=this.scopeStack[i];if(t&$o)return t}}currentThisScopeFlags(){for(let i=this.scopeStack.length-1;;i--){let{flags:t}=this.scopeStack[i];if(t&($o|so)&&!(t&xu))return t}}},kl=class extends pl{constructor(){super(...arguments),this.declareFunctions=new Set}},bu=class extends uu{createScope(i){return new kl(i)}declareName(i,t,o){let p=this.currentScope();if(t&Vo){this.checkRedeclarationInScope(p,i,t,o),this.maybeExportDefined(p,i),p.declareFunctions.add(i);return}super.declareName(...arguments)}isRedeclaredInScope(i,t,o){return super.isRedeclaredInScope(...arguments)?!0:o&Vo?!i.declareFunctions.has(t)&&(i.lexical.has(t)||i.functions.has(t)):!1}checkLocalExport(i){this.scopeStack[0].declareFunctions.has(i.name)||super.checkLocalExport(i)}},mo=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},Pl=class{constructor(i){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=i}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new mo)}exit(){let i=this.stack.pop(),t=this.current();for(let[o,p]of Array.from(i.undefinedPrivateNames))t?t.undefinedPrivateNames.has(o)||t.undefinedPrivateNames.set(o,p):this.parser.raise(dt.InvalidPrivateFieldResolution,{at:p,identifierName:o})}declarePrivateName(i,t,o){let{privateNames:p,loneAccessors:y,undefinedPrivateNames:$}=this.current(),he=p.has(i);if(t&ja){let Ye=he&&y.get(i);if(Ye){let At=Ye&Wo,ar=t&Wo,d=Ye&ja,A=t&ja;he=d===A||At!==ar,he||y.delete(i)}else he||y.set(i,t)}he&&this.parser.raise(dt.PrivateNameRedeclaration,{at:o,identifierName:i}),p.add(i),$.delete(i)}usePrivateName(i,t){let o;for(o of this.stack)if(o.privateNames.has(i))return;o?o.undefinedPrivateNames.set(i,t):this.parser.raise(dt.InvalidPrivateFieldResolution,{at:t,identifierName:i})}},ic=0,Nl=1,Fa=2,Bs=3,Ta=class{constructor(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ic;this.type=void 0,this.type=i}canBeArrowParameterDeclaration(){return this.type===Fa||this.type===Nl}isCertainlyParameterDeclaration(){return this.type===Bs}},oo=class extends Ta{constructor(i){super(i),this.declarationErrors=new Map}recordDeclarationError(i,t){let{at:o}=t,p=o.index;this.declarationErrors.set(p,[i,o])}clearDeclarationError(i){this.declarationErrors.delete(i)}iterateErrors(i){this.declarationErrors.forEach(i)}},Ka=class{constructor(i){this.parser=void 0,this.stack=[new Ta],this.parser=i}enter(i){this.stack.push(i)}exit(){this.stack.pop()}recordParameterInitializerError(i,t){let{at:o}=t,p={at:o.loc.start},{stack:y}=this,$=y.length-1,he=y[$];for(;!he.isCertainlyParameterDeclaration();){if(he.canBeArrowParameterDeclaration())he.recordDeclarationError(i,p);else return;he=y[--$]}this.parser.raise(i,p)}recordArrowParemeterBindingError(i,t){let{at:o}=t,{stack:p}=this,y=p[p.length-1],$={at:o.loc.start};if(y.isCertainlyParameterDeclaration())this.parser.raise(i,$);else if(y.canBeArrowParameterDeclaration())y.recordDeclarationError(i,$);else return}recordAsyncArrowParametersError(i){let{at:t}=i,{stack:o}=this,p=o.length-1,y=o[p];for(;y.canBeArrowParameterDeclaration();)y.type===Fa&&y.recordDeclarationError(dt.AwaitBindingIdentifier,{at:t}),y=o[--p]}validateAsPattern(){let{stack:i}=this,t=i[i.length-1];!t.canBeArrowParameterDeclaration()||t.iterateErrors(o=>{let[p,y]=o;this.parser.raise(p,{at:y});let $=i.length-2,he=i[$];for(;he.canBeArrowParameterDeclaration();)he.clearDeclarationError(y.index),he=i[--$]})}};function Bl(){return new Ta(Bs)}function hl(){return new oo(Nl)}function Jo(){return new oo(Fa)}function Ko(){return new Ta}var Qo=0,Au=1,qu=2,Vu=4,Ra=8,Gl=class{constructor(){this.stacks=[]}enter(i){this.stacks.push(i)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&qu)>0}get hasYield(){return(this.currentFlags()&Au)>0}get hasReturn(){return(this.currentFlags()&Vu)>0}get hasIn(){return(this.currentFlags()&Ra)>0}};function lu(i,t){return(i?qu:0)|(t?Au:0)}var _l=class extends Xo{addExtra(i,t,o){let p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;if(!i)return;let y=i.extra=i.extra||{};p?y[t]=o:Object.defineProperty(y,t,{enumerable:p,value:o})}isContextual(i){return this.state.type===i&&!this.state.containsEsc}isUnparsedContextual(i,t){let o=i+t.length;if(this.input.slice(i,o)===t){let p=this.input.charCodeAt(o);return!(ea(p)||(p&64512)===55296)}return!1}isLookaheadContextual(i){let t=this.nextTokenStart();return this.isUnparsedContextual(t,i)}eatContextual(i){return this.isContextual(i)?(this.next(),!0):!1}expectContextual(i,t){if(!this.eatContextual(i))throw t!=null?this.raise(t,{at:this.state.startLoc}):this.unexpected(null,i)}canInsertSemicolon(){return this.match(135)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Js.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return Wl.lastIndex=this.state.end,Wl.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(i,t){this.eat(i)||this.unexpected(t,i)}tryParse(i){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.clone(),o={node:null};try{let p=i(function(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;throw o.node=y,o});if(this.state.errors.length>t.errors.length){let y=this.state;return this.state=t,this.state.tokensLength=y.tokensLength,{node:p,error:y.errors[t.errors.length],thrown:!1,aborted:!1,failState:y}}return{node:p,error:null,thrown:!1,aborted:!1,failState:null}}catch(p){let y=this.state;if(this.state=t,p instanceof SyntaxError)return{node:null,error:p,thrown:!0,aborted:!1,failState:y};if(p===o)return{node:o.node,error:null,thrown:!1,aborted:!0,failState:y};throw p}}checkExpressionErrors(i,t){if(!i)return!1;let{shorthandAssignLoc:o,doubleProtoLoc:p,privateKeyLoc:y,optionalParametersLoc:$}=i,he=!!o||!!p||!!$||!!y;if(!t)return he;o!=null&&this.raise(dt.InvalidCoverInitializedName,{at:o}),p!=null&&this.raise(dt.DuplicateProto,{at:p}),y!=null&&this.raise(dt.UnexpectedPrivateField,{at:y}),$!=null&&this.unexpected($)}isLiteralPropertyName(){return fn(this.state.type)}isPrivateName(i){return i.type==="PrivateName"}getPrivateNameSV(i){return i.id.name}hasPropertyAsPrivateName(i){return(i.type==="MemberExpression"||i.type==="OptionalMemberExpression")&&this.isPrivateName(i.property)}isOptionalChain(i){return i.type==="OptionalMemberExpression"||i.type==="OptionalCallExpression"}isObjectProperty(i){return i.type==="ObjectProperty"}isObjectMethod(i){return i.type==="ObjectMethod"}initializeScopes(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.sourceType==="module",t=this.state.labels;this.state.labels=[];let o=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let p=this.inModule;this.inModule=i;let y=this.scope,$=this.getScopeHandler();this.scope=new $(this,i);let he=this.prodParam;this.prodParam=new Gl;let Ye=this.classScope;this.classScope=new Pl(this);let At=this.expressionScope;return this.expressionScope=new Ka(this),()=>{this.state.labels=t,this.exportedIdentifiers=o,this.inModule=p,this.scope=y,this.prodParam=he,this.classScope=Ye,this.expressionScope=At}}enterInitialScopes(){let i=Qo;this.inModule&&(i|=qu),this.scope.enter(Ga),this.prodParam.enter(i)}checkDestructuringPrivate(i){let{privateKeyLoc:t}=i;t!==null&&this.expectPlugin("destructuringPrivate",t)}},So=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},T=class{constructor(i,t,o){this.type="",this.start=t,this.end=0,this.loc=new ln(o),i!=null&&i.options.ranges&&(this.range=[t,0]),i!=null&&i.filename&&(this.loc.filename=i.filename)}},ae=T.prototype;ae.__clone=function(){let i=new T,t=Object.keys(this);for(let o=0,p=t.length;o<p;o++){let y=t[o];y!=="leadingComments"&&y!=="trailingComments"&&y!=="innerComments"&&(i[y]=this[y])}return i};function Z(i){return K(i)}function K(i){let{type:t,start:o,end:p,loc:y,range:$,extra:he,name:Ye}=i,At=Object.create(ae);return At.type=t,At.start=o,At.end=p,At.loc=y,At.range=$,At.extra=he,At.name=Ye,t==="Placeholder"&&(At.expectedNode=i.expectedNode),At}function oe(i){let{type:t,start:o,end:p,loc:y,range:$,extra:he}=i;if(t==="Placeholder")return Z(i);let Ye=Object.create(ae);return Ye.type=t,Ye.start=o,Ye.end=p,Ye.loc=y,Ye.range=$,i.raw!==void 0?Ye.raw=i.raw:Ye.extra=he,Ye.value=i.value,Ye}var Ae=class extends _l{startNode(){return new T(this,this.state.start,this.state.startLoc)}startNodeAt(i,t){return new T(this,i,t)}startNodeAtNode(i){return this.startNodeAt(i.start,i.loc.start)}finishNode(i,t){return this.finishNodeAt(i,t,this.state.lastTokEndLoc)}finishNodeAt(i,t,o){return i.type=t,i.end=o.index,i.loc.end=o,this.options.ranges&&(i.range[1]=o.index),this.options.attachComment&&this.processComment(i),i}resetStartLocation(i,t,o){i.start=t,i.loc.start=o,this.options.ranges&&(i.range[0]=t)}resetEndLocation(i){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.lastTokEndLoc;i.end=t.index,i.loc.end=t,this.options.ranges&&(i.range[1]=t.index)}resetStartLocationFromNode(i,t){this.resetStartLocation(i,t.start,t.loc.start)}},we=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),ve=ji(_t||(_t=sn(["flow"])))(i=>({AmbiguousConditionalArrow:i("Ambiguous expression: wrap the arrow functions in parentheses to disambiguate."),AmbiguousDeclareModuleKind:i("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:i(t=>{let{reservedType:o}=t;return"Cannot overwrite reserved type ".concat(o,".")}),DeclareClassElement:i("The `declare` modifier can only appear on class fields."),DeclareClassFieldInitializer:i("Initializers are not allowed in fields with the `declare` modifier."),DuplicateDeclareModuleExports:i("Duplicate `declare module.exports` statement."),EnumBooleanMemberNotInitialized:i(t=>{let{memberName:o,enumName:p}=t;return"Boolean enum members need to be initialized. Use either `".concat(o," = true,` or `").concat(o," = false,` in enum `").concat(p,"`.")}),EnumDuplicateMemberName:i(t=>{let{memberName:o,enumName:p}=t;return"Enum member names need to be unique, but the name `".concat(o,"` has already been used before in enum `").concat(p,"`.")}),EnumInconsistentMemberValues:i(t=>{let{enumName:o}=t;return"Enum `".concat(o,"` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.")}),EnumInvalidExplicitType:i(t=>{let{invalidEnumType:o,enumName:p}=t;return"Enum type `".concat(o,"` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `").concat(p,"`.")}),EnumInvalidExplicitTypeUnknownSupplied:i(t=>{let{enumName:o}=t;return"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `".concat(o,"`.")}),EnumInvalidMemberInitializerPrimaryType:i(t=>{let{enumName:o,memberName:p,explicitType:y}=t;return"Enum `".concat(o,"` has type `").concat(y,"`, so the initializer of `").concat(p,"` needs to be a ").concat(y," literal.")}),EnumInvalidMemberInitializerSymbolType:i(t=>{let{enumName:o,memberName:p}=t;return"Symbol enum members cannot be initialized. Use `".concat(p,",` in enum `").concat(o,"`.")}),EnumInvalidMemberInitializerUnknownType:i(t=>{let{enumName:o,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(o,"`.")}),EnumInvalidMemberName:i(t=>{let{enumName:o,memberName:p,suggestion:y}=t;return"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `".concat(p,"`, consider using `").concat(y,"`, in enum `").concat(o,"`.")}),EnumNumberMemberNotInitialized:i(t=>{let{enumName:o,memberName:p}=t;return"Number enum members need to be initialized, e.g. `".concat(p," = 1` in enum `").concat(o,"`.")}),EnumStringMemberInconsistentlyInitailized:i(t=>{let{enumName:o}=t;return"String enum members need to consistently either all use initializers, or use no initializers, in enum `".concat(o,"`.")}),GetterMayNotHaveThisParam:i("A getter cannot have a `this` parameter."),ImportTypeShorthandOnlyInPureImport:i("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:i("Explicit inexact syntax cannot appear inside an explicit exact object type."),InexactInsideNonObject:i("Explicit inexact syntax cannot appear in class or interface definitions."),InexactVariance:i("Explicit inexact syntax cannot have variance."),InvalidNonTypeImportInDeclareModule:i("Imports within a `declare module` body must always be `import type` or `import typeof`."),MissingTypeParamDefault:i("Type parameter declaration needs a default, since a preceding type parameter declaration has a default."),NestedDeclareModule:i("`declare module` cannot be used inside another `declare module`."),NestedFlowComment:i("Cannot have a flow comment inside another flow comment."),PatternIsOptional:i("A binding pattern parameter cannot be optional in an implementation signature.",{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:i("A setter cannot have a `this` parameter."),SpreadVariance:i("Spread properties cannot have variance."),ThisParamAnnotationRequired:i("A type annotation is required for the `this` parameter."),ThisParamBannedInConstructor:i("Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions."),ThisParamMayNotBeOptional:i("The `this` parameter cannot be optional."),ThisParamMustBeFirst:i("The `this` parameter must be the first function parameter."),ThisParamNoDefault:i("The `this` parameter may not have a default value."),TypeBeforeInitializer:i("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeCastInPattern:i("The type cast expression is expected to be wrapped with parenthesis."),UnexpectedExplicitInexactInObject:i("Explicit inexact syntax must appear at the end of an inexact object."),UnexpectedReservedType:i(t=>{let{reservedType:o}=t;return"Unexpected reserved type ".concat(o,".")}),UnexpectedReservedUnderscore:i("`_` is only allowed as a type argument to call or new."),UnexpectedSpaceBetweenModuloChecks:i("Spaces between `%` and `checks` are not allowed here."),UnexpectedSpreadType:i("Spread operator cannot appear in class or interface definitions."),UnexpectedSubtractionOperand:i('Unexpected token, expected "number" or "bigint".'),UnexpectedTokenAfterTypeParameter:i("Expected an arrow function after this type parameter declaration."),UnexpectedTypeParameterBeforeAsyncArrowFunction:i("Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`."),UnsupportedDeclareExportKind:i(t=>{let{unsupportedExportKind:o,suggestion:p}=t;return"`declare export ".concat(o,"` is not supported. Use `").concat(p,"` instead.")}),UnsupportedStatementInDeclareModule:i("Only declares and type imports are allowed inside declare module."),UnterminatedFlowComment:i("Unterminated flow-comment.")}));function xe(i){return i.type==="DeclareExportAllDeclaration"||i.type==="DeclareExportDeclaration"&&(!i.declaration||i.declaration.type!=="TypeAlias"&&i.declaration.type!=="InterfaceDeclaration")}function Se(i){return i.importKind==="type"||i.importKind==="typeof"}function k(i){return ds(i)&&i!==97}var x={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function re(i,t){let o=[],p=[];for(let y=0;y<i.length;y++)(t(i[y],y,i)?o:p).push(i[y]);return[o,p]}var Q=/\*?\s*@((?:no)?flow)\b/,Ie=i=>class extends i{constructor(){super(...arguments),this.flowPragma=void 0}getScopeHandler(){return bu}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(t,o){return t!==129&&t!==13&&t!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(t,o)}addComment(t){if(this.flowPragma===void 0){let o=Q.exec(t.value);if(o)if(o[1]==="flow")this.flowPragma="flow";else if(o[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}return super.addComment(t)}flowParseTypeInitialiser(t){let o=this.state.inType;this.state.inType=!0,this.expect(t||14);let p=this.flowParseType();return this.state.inType=o,p}flowParsePredicate(){let t=this.startNode(),o=this.state.startLoc;return this.next(),this.expectContextual(107),this.state.lastTokStart>o.index+1&&this.raise(ve.UnexpectedSpaceBetweenModuloChecks,{at:o}),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 o=null,p=null;return this.match(54)?(this.state.inType=t,p=this.flowParsePredicate()):(o=this.flowParseType(),this.state.inType=t,this.match(54)&&(p=this.flowParsePredicate())),[o,p]}flowParseDeclareClass(t){return this.next(),this.flowParseInterfaceish(t,!0),this.finishNode(t,"DeclareClass")}flowParseDeclareFunction(t){this.next();let o=t.id=this.parseIdentifier(),p=this.startNode(),y=this.startNode();this.match(47)?p.typeParameters=this.flowParseTypeParameterDeclaration():p.typeParameters=null,this.expect(10);let $=this.flowParseFunctionTypeParams();return p.params=$.params,p.rest=$.rest,p.this=$._this,this.expect(11),[p.returnType,t.predicate]=this.flowParseTypeAndPredicateInitialiser(),y.typeAnnotation=this.finishNode(p,"FunctionTypeAnnotation"),o.typeAnnotation=this.finishNode(y,"TypeAnnotation"),this.resetEndLocation(o),this.semicolon(),this.scope.declareName(t.id.name,Ao,t.id.loc.start),this.finishNode(t,"DeclareFunction")}flowParseDeclare(t,o){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):(o&&this.raise(ve.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(t));if(this.isContextual(126))return this.flowParseDeclareTypeAlias(t);if(this.isContextual(127))return this.flowParseDeclareOpaqueType(t);if(this.isContextual(125))return this.flowParseDeclareInterface(t);if(this.match(82))return this.flowParseDeclareExportDeclaration(t,o);throw this.unexpected()}flowParseDeclareVariable(t){return this.next(),t.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(t.id.name,Za,t.id.loc.start),this.semicolon(),this.finishNode(t,"DeclareVariable")}flowParseDeclareModule(t){this.scope.enter(Wa),this.match(129)?t.id=this.parseExprAtom():t.id=this.parseIdentifier();let o=t.body=this.startNode(),p=o.body=[];for(this.expect(5);!this.match(8);){let he=this.startNode();this.match(83)?(this.next(),!this.isContextual(126)&&!this.match(87)&&this.raise(ve.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),this.parseImport(he)):(this.expectContextual(121,ve.UnsupportedStatementInDeclareModule),he=this.flowParseDeclare(he,!0)),p.push(he)}this.scope.exit(),this.expect(8),this.finishNode(o,"BlockStatement");let y=null,$=!1;return p.forEach(he=>{xe(he)?(y==="CommonJS"&&this.raise(ve.AmbiguousDeclareModuleKind,{at:he}),y="ES"):he.type==="DeclareModuleExports"&&($&&this.raise(ve.DuplicateDeclareModuleExports,{at:he}),y==="ES"&&this.raise(ve.AmbiguousDeclareModuleKind,{at:he}),y="CommonJS",$=!0)}),t.kind=y||"CommonJS",this.finishNode(t,"DeclareModule")}flowParseDeclareExportDeclaration(t,o){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))&&!o){let p=this.state.value;throw this.raise(ve.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:p,suggestion:x[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 o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t.id=this.flowParseRestrictedIdentifier(!o,!0),this.scope.declareName(t.id.name,o?ju:Aa,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(!o&&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:o,allowExact:!1,allowSpread:!1,allowProto:o,allowInexact:!1})}flowParseInterfaceExtends(){let t=this.startNode();return t.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?t.typeParameters=this.flowParseTypeParameterInstantiation():t.typeParameters=null,this.finishNode(t,"InterfaceExtends")}flowParseInterface(t){return this.flowParseInterfaceish(t),this.finishNode(t,"InterfaceDeclaration")}checkNotUnderscore(t){t==="_"&&this.raise(ve.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(t,o,p){!we.has(t)||this.raise(p?ve.AssignReservedType:ve.UnexpectedReservedType,{at:o,reservedType:t})}flowParseRestrictedIdentifier(t,o){return this.checkReservedType(this.state.value,this.state.startLoc,o),this.parseIdentifier(t)}flowParseTypeAlias(t){return t.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(t.id.name,Aa,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,o){return this.expectContextual(126),t.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(t.id.name,Aa,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,o||(t.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(t,"OpaqueType")}flowParseTypeParameter(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,o=this.state.startLoc,p=this.startNode(),y=this.flowParseVariance(),$=this.flowParseTypeAnnotatableIdentifier();return p.name=$.name,p.variance=y,p.bound=$.typeAnnotation,this.match(29)?(this.eat(29),p.default=this.flowParseType()):t&&this.raise(ve.MissingTypeParamDefault,{at:o}),this.finishNode(p,"TypeParameter")}flowParseTypeParameterDeclaration(){let t=this.state.inType,o=this.startNode();o.params=[],this.state.inType=!0,this.match(47)||this.match(138)?this.next():this.unexpected();let p=!1;do{let y=this.flowParseTypeParameter(p);o.params.push(y),y.default&&(p=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=t,this.finishNode(o,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let t=this.startNode(),o=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=o,this.finishNode(t,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let t=this.startNode(),o=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=o,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,o,p){return t.static=o,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,o){return t.static=o,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,o){let p=this.startNode();return t.static=o,t.value=this.flowParseObjectTypeMethodish(p),this.finishNode(t,"ObjectTypeCallProperty")}flowParseObjectType(t){let{allowStatic:o,allowExact:p,allowSpread:y,allowProto:$,allowInexact:he}=t,Ye=this.state.inType;this.state.inType=!0;let At=this.startNode();At.callProperties=[],At.properties=[],At.indexers=[],At.internalSlots=[];let ar,d,A=!1;for(p&&this.match(6)?(this.expect(6),ar=9,d=!0):(this.expect(5),ar=8,d=!1),At.exact=d;!this.match(ar);){let b=!1,E=null,g=null,D=this.startNode();if($&&this.isContextual(115)){let F=this.lookahead();F.type!==14&&F.type!==17&&(this.next(),E=this.state.startLoc,o=!1)}if(o&&this.isContextual(104)){let F=this.lookahead();F.type!==14&&F.type!==17&&(this.next(),b=!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(D,b))):At.indexers.push(this.flowParseObjectTypeIndexer(D,b,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(D,b));else{let F="init";if(this.isContextual(98)||this.isContextual(103)){let H=this.lookahead();fn(H.type)&&(F=this.state.value,this.next())}let B=this.flowParseObjectTypeProperty(D,b,E,w,F,y,he!=null?he:!d);B===null?(A=!0,g=this.state.lastTokStartLoc):At.properties.push(B)}this.flowObjectTypeSemicolon(),g&&!this.match(8)&&!this.match(9)&&this.raise(ve.UnexpectedExplicitInexactInObject,{at:g})}this.expect(ar),y&&(At.inexact=A);let m=this.finishNode(At,"ObjectTypeAnnotation");return this.state.inType=Ye,m}flowParseObjectTypeProperty(t,o,p,y,$,he,Ye){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(he?Ye||this.raise(ve.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(ve.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),y&&this.raise(ve.InexactVariance,{at:y}),null):(he||this.raise(ve.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),p!=null&&this.unexpected(p),y&&this.raise(ve.SpreadVariance,{at:y}),t.argument=this.flowParseType(),this.finishNode(t,"ObjectTypeSpreadProperty"));{t.key=this.flowParseObjectPropertyKey(),t.static=o,t.proto=p!=null,t.kind=$;let At=!1;return this.match(47)||this.match(10)?(t.method=!0,p!=null&&this.unexpected(p),y&&this.unexpected(y.loc.start),t.value=this.flowParseObjectTypeMethodish(this.startNodeAt(t.start,t.loc.start)),($==="get"||$==="set")&&this.flowCheckGetterSetterParams(t),!he&&t.key.name==="constructor"&&t.value.this&&this.raise(ve.ThisParamBannedInConstructor,{at:t.value.this})):($!=="init"&&this.unexpected(),t.method=!1,this.eat(17)&&(At=!0),t.value=this.flowParseTypeInitialiser(),t.variance=y),t.optional=At,this.finishNode(t,"ObjectTypeProperty")}}flowCheckGetterSetterParams(t){let o=t.kind==="get"?0:1,p=t.value.params.length+(t.value.rest?1:0);t.value.this&&this.raise(t.kind==="get"?ve.GetterMayNotHaveThisParam:ve.SetterMayNotHaveThisParam,{at:t.value.this}),p!==o&&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,o,p){t=t||this.state.start,o=o||this.state.startLoc;let y=p||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let $=this.startNodeAt(t,o);$.qualification=y,$.id=this.flowParseRestrictedIdentifier(!0),y=this.finishNode($,"QualifiedTypeIdentifier")}return y}flowParseGenericType(t,o,p){let y=this.startNodeAt(t,o);return y.typeParameters=null,y.id=this.flowParseQualifiedTypeIdentifier(t,o,p),this.match(47)&&(y.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(y,"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 o=null,p=!1,y=null,$=this.startNode(),he=this.lookahead(),Ye=this.state.type===78;return he.type===14||he.type===17?(Ye&&!t&&this.raise(ve.ThisParamMustBeFirst,{at:$}),o=this.parseIdentifier(Ye),this.eat(17)&&(p=!0,Ye&&this.raise(ve.ThisParamMayNotBeOptional,{at:$})),y=this.flowParseTypeInitialiser()):y=this.flowParseType(),$.name=o,$.optional=p,$.typeAnnotation=y,this.finishNode($,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(t){let o=this.startNodeAt(t.start,t.loc.start);return o.name=null,o.optional=!1,o.typeAnnotation=t,this.finishNode(o,"FunctionTypeParam")}flowParseFunctionTypeParams(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],o=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)&&(o=this.flowParseFunctionTypeParam(!1)),{params:t,rest:o,_this:p}}flowIdentToTypeAnnotation(t,o,p,y){switch(y.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(y.name),this.flowParseGenericType(t,o,y)}}flowParsePrimaryType(){let t=this.state.start,o=this.state.startLoc,p=this.startNode(),y,$,he=!1,Ye=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,$=this.flowParseTupleType(),this.state.noAnonFunctionType=Ye,$;case 47:return p.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),y=this.flowParseFunctionTypeParams(),p.params=y.params,p.rest=y.rest,p.this=y._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(jn(this.state.type)||this.match(78)){let At=this.lookahead().type;he=At!==17&&At!==14}else he=!0;if(he){if(this.state.noAnonFunctionType=!1,$=this.flowParseType(),this.state.noAnonFunctionType=Ye,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),$;this.eat(12)}return $?y=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam($)]):y=this.flowParseFunctionTypeParams(),p.params=y.params,p.rest=y.rest,p.this=y._this,this.expect(11),this.expect(19),p.returnType=this.flowParseType(),p.typeParameters=null,this.finishNode(p,"FunctionTypeAnnotation");case 129:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return p.value=this.match(85),this.next(),this.finishNode(p,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(130))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",p);if(this.match(131))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",p);throw this.raise(ve.UnexpectedSubtractionOperand,{at:this.state.startLoc})}throw this.unexpected();case 130:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(p,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(p,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(p,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(p,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(gt(this.state.type)){let At=Ms(this.state.type);return this.next(),super.createIdentifier(p,At)}else if(jn(this.state.type))return this.isContextual(125)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(t,o,p,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){let t=this.state.start,o=this.state.startLoc,p=this.flowParsePrimaryType(),y=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let $=this.startNodeAt(t,o),he=this.eat(18);y=y||he,this.expect(0),!he&&this.match(3)?($.elementType=p,this.next(),p=this.finishNode($,"ArrayTypeAnnotation")):($.objectType=p,$.indexType=this.flowParseType(),this.expect(3),y?($.optional=he,p=this.finishNode($,"OptionalIndexedAccessType")):p=this.finishNode($,"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 o=this.startNodeAt(t.start,t.loc.start);return o.params=[this.reinterpretTypeAsFunctionTypeParam(t)],o.rest=null,o.this=null,o.returnType=this.flowParseType(),o.typeParameters=null,this.finishNode(o,"FunctionTypeAnnotation")}return t}flowParseIntersectionType(){let t=this.startNode();this.eat(45);let o=this.flowParseAnonFunctionWithoutParens();for(t.types=[o];this.eat(45);)t.types.push(this.flowParseAnonFunctionWithoutParens());return t.types.length===1?o:this.finishNode(t,"IntersectionTypeAnnotation")}flowParseUnionType(){let t=this.startNode();this.eat(43);let o=this.flowParseIntersectionType();for(t.types=[o];this.eat(43);)t.types.push(this.flowParseIntersectionType());return t.types.length===1?o:this.finishNode(t,"UnionTypeAnnotation")}flowParseType(){let t=this.state.inType;this.state.inType=!0;let o=this.flowParseUnionType();return this.state.inType=t,o}flowParseTypeOrImplicitInstantiation(){if(this.state.type===128&&this.state.value==="_"){let t=this.state.start,o=this.state.startLoc,p=this.parseIdentifier();return this.flowParseGenericType(t,o,p)}else return this.flowParseType()}flowParseTypeAnnotation(){let t=this.startNode();return t.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(t,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(t){let o=t?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(o.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(o)),o}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,o){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return o?this.forwardNoArrowParamsConversionAt(t,()=>super.parseFunctionBody(t,!0,p)):super.parseFunctionBody(t,!1,p)}parseFunctionBodyAndFinish(t,o){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(this.match(14)){let y=this.startNode();[y.typeAnnotation,t.predicate]=this.flowParseTypeAndPredicateInitialiser(),t.returnType=y.typeAnnotation?this.finishNode(y,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(t,o,p)}parseStatement(t,o){if(this.state.strict&&this.isContextual(125)){let y=this.lookahead();if(ds(y.type)){let $=this.startNode();return this.next(),this.flowParseInterface($)}}else if(this.shouldParseEnums()&&this.isContextual(122)){let y=this.startNode();return this.next(),this.flowParseEnumDeclaration(y)}let p=super.parseStatement(t,o);return this.flowPragma===void 0&&!this.isValidDirective(p)&&(this.flowPragma=null),p}parseExpressionStatement(t,o){if(o.type==="Identifier"){if(o.name==="declare"){if(this.match(80)||jn(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(t)}else if(jn(this.state.type)){if(o.name==="interface")return this.flowParseInterface(t);if(o.name==="type")return this.flowParseTypeAlias(t);if(o.name==="opaque")return this.flowParseOpaqueType(t,!1)}}return super.parseExpressionStatement(t,o)}shouldParseExportDeclaration(){let{type:t}=this.state;return ss(t)||this.shouldParseEnums()&&t===122?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:t}=this.state;return ss(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,o,p,y){if(!this.match(17))return t;if(this.state.maybeInArrowParameters){let m=this.lookaheadCharCode();if(m===44||m===61||m===58||m===41)return this.setOptionalParametersError(y),t}this.expect(17);let $=this.state.clone(),he=this.state.noArrowAt,Ye=this.startNodeAt(o,p),{consequent:At,failed:ar}=this.tryParseConditionalConsequent(),[d,A]=this.getArrowLikeExpressions(At);if(ar||A.length>0){let m=[...he];if(A.length>0){this.state=$,this.state.noArrowAt=m;for(let b=0;b<A.length;b++)m.push(A[b].start);({consequent:At,failed:ar}=this.tryParseConditionalConsequent()),[d,A]=this.getArrowLikeExpressions(At)}ar&&d.length>1&&this.raise(ve.AmbiguousConditionalArrow,{at:$.startLoc}),ar&&d.length===1&&(this.state=$,m.push(d[0].start),this.state.noArrowAt=m,{consequent:At,failed:ar}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(At,!0),this.state.noArrowAt=he,this.expect(14),Ye.test=t,Ye.consequent=At,Ye.alternate=this.forwardNoArrowParamsConversionAt(Ye,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(Ye,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let t=this.parseMaybeAssignAllowIn(),o=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:t,failed:o}}getArrowLikeExpressions(t,o){let p=[t],y=[];for(;p.length!==0;){let $=p.pop();$.type==="ArrowFunctionExpression"?($.typeParameters||!$.returnType?this.finishArrowValidation($):y.push($),p.push($.body)):$.type==="ConditionalExpression"&&(p.push($.consequent),p.push($.alternate))}return o?(y.forEach($=>this.finishArrowValidation($)),[y,[]]):re(y,$=>$.params.every(he=>this.isAssignable(he,!0)))}finishArrowValidation(t){var o;this.toAssignableList(t.params,(o=t.extra)==null?void 0:o.trailingCommaLoc,!1),this.scope.enter(Xa|xu),super.checkParams(t,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(t,o){let p;return this.state.noArrowParamsConversionAt.indexOf(t.start)!==-1?(this.state.noArrowParamsConversionAt.push(this.state.start),p=o(),this.state.noArrowParamsConversionAt.pop()):p=o(),p}parseParenItem(t,o,p){if(t=super.parseParenItem(t,o,p),this.eat(17)&&(t.optional=!0,this.resetEndLocation(t)),this.match(14)){let y=this.startNodeAt(o,p);return y.expression=t,y.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(y,"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 o=super.parseExport(t);return(o.type==="ExportNamedDeclaration"||o.type==="ExportAllDeclaration")&&(o.exportKind=o.exportKind||"value"),o}parseExportDeclaration(t){if(this.isContextual(126)){t.exportKind="type";let o=this.startNode();return this.next(),this.match(5)?(t.specifiers=this.parseExportSpecifiers(!0),this.parseExportFrom(t),null):this.flowParseTypeAlias(o)}else if(this.isContextual(127)){t.exportKind="type";let o=this.startNode();return this.next(),this.flowParseOpaqueType(o,!1)}else if(this.isContextual(125)){t.exportKind="type";let o=this.startNode();return this.next(),this.flowParseInterface(o)}else if(this.shouldParseEnums()&&this.isContextual(122)){t.exportKind="value";let o=this.startNode();return this.next(),this.flowParseEnumDeclaration(o)}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:o}=this.state,p=super.maybeParseExportNamespaceSpecifier(t);return p&&t.exportKind==="type"&&this.unexpected(o),p}parseClassId(t,o,p){super.parseClassId(t,o,p),this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(t,o,p){let{startLoc:y}=this.state;if(this.isContextual(121)){if(this.parseClassMemberFromModifier(t,o))return;o.declare=!0}super.parseClassMember(t,o,p),o.declare&&(o.type!=="ClassProperty"&&o.type!=="ClassPrivateProperty"&&o.type!=="PropertyDefinition"?this.raise(ve.DeclareClassElement,{at:y}):o.value&&this.raise(ve.DeclareClassFieldInitializer,{at:o.value}))}isIterator(t){return t==="iterator"||t==="asyncIterator"}readIterator(){let t=super.readWord1(),o="@@"+t;(!this.isIterator(t)||!this.state.inType)&&this.raise(dt.InvalidIdentifier,{at:this.state.curPosition(),identifierName:o}),this.finishToken(128,o)}getTokenFromCode(t){let o=this.input.charCodeAt(this.state.pos+1);return t===123&&o===124?this.finishOp(6,2):this.state.inType&&(t===62||t===60)?this.finishOp(t===62?48:47,1):this.state.inType&&t===63?o===46?this.finishOp(18,2):this.finishOp(17,1):zo(t,o,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(t)}isAssignable(t,o){return t.type==="TypeCastExpression"?this.isAssignable(t.expression,o):super.isAssignable(t,o)}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,o,p){for(let y=0;y<t.length;y++){let $=t[y];($==null?void 0:$.type)==="TypeCastExpression"&&(t[y]=this.typeCastToParameter($))}super.toAssignableList(t,o,p)}toReferencedList(t,o){for(let y=0;y<t.length;y++){var p;let $=t[y];$&&$.type==="TypeCastExpression"&&!((p=$.extra)!=null&&p.parenthesized)&&(t.length>1||!o)&&this.raise(ve.TypeCastInPattern,{at:$.typeAnnotation})}return t}parseArrayLike(t,o,p,y){let $=super.parseArrayLike(t,o,p,y);return o&&!this.state.maybeInArrowParameters&&this.toReferencedList($.elements),$}isValidLVal(t){for(var o=arguments.length,p=new Array(o>1?o-1:0),y=1;y<o;y++)p[y-1]=arguments[y];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,o,p,y,$,he){if(o.variance&&this.unexpected(o.variance.loc.start),delete o.variance,this.match(47)&&(o.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(t,o,p,y,$,he),o.params&&$){let Ye=o.params;Ye.length>0&&this.isThisParam(Ye[0])&&this.raise(ve.ThisParamBannedInConstructor,{at:o})}else if(o.type==="MethodDefinition"&&$&&o.value.params){let Ye=o.value.params;Ye.length>0&&this.isThisParam(Ye[0])&&this.raise(ve.ThisParamBannedInConstructor,{at:o})}}pushClassPrivateMethod(t,o,p,y){o.variance&&this.unexpected(o.variance.loc.start),delete o.variance,this.match(47)&&(o.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(t,o,p,y)}parseClassSuper(t){if(super.parseClassSuper(t),t.superClass&&this.match(47)&&(t.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(110)){this.next();let o=t.implements=[];do{let p=this.startNode();p.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?p.typeParameters=this.flowParseTypeParameterInstantiation():p.typeParameters=null,o.push(this.finishNode(p,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(t){super.checkGetterSetterParams(t);let o=this.getObjectOrClassMethodParams(t);if(o.length>0){let p=o[0];this.isThisParam(p)&&t.kind==="get"?this.raise(ve.GetterMayNotHaveThisParam,{at:p}):this.isThisParam(p)&&this.raise(ve.SetterMayNotHaveThisParam,{at:p})}}parsePropertyNamePrefixOperator(t){t.variance=this.flowParseVariance()}parseObjPropValue(t,o,p,y,$,he,Ye,At){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance;let ar;this.match(47)&&!Ye&&(ar=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected()),super.parseObjPropValue(t,o,p,y,$,he,Ye,At),ar&&((t.value||t).typeParameters=ar)}parseAssignableListItemTypes(t){return this.eat(17)&&(t.type!=="Identifier"&&this.raise(ve.PatternIsOptional,{at:t}),this.isThisParam(t)&&this.raise(ve.ThisParamMayNotBeOptional,{at:t}),t.optional=!0),this.match(14)?t.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(t)&&this.raise(ve.ThisParamAnnotationRequired,{at:t}),this.match(29)&&this.isThisParam(t)&&this.raise(ve.ThisParamNoDefault,{at:t}),this.resetEndLocation(t),t}parseMaybeDefault(t,o,p){let y=super.parseMaybeDefault(t,o,p);return y.type==="AssignmentPattern"&&y.typeAnnotation&&y.right.start<y.typeAnnotation.start&&this.raise(ve.TypeBeforeInitializer,{at:y.typeAnnotation}),y}shouldParseDefaultImport(t){return Se(t)?k(this.state.type):super.shouldParseDefaultImport(t)}parseImportSpecifierLocal(t,o,p){o.local=Se(t)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),t.specifiers.push(this.finishImportSpecifier(o,p))}maybeParseDefaultImportSpecifier(t){t.importKind="value";let o=null;if(this.match(87)?o="typeof":this.isContextual(126)&&(o="type"),o){let p=this.lookahead(),{type:y}=p;o==="type"&&y===55&&this.unexpected(null,p.type),(k(y)||y===5||y===55)&&(this.next(),t.importKind=o)}return super.maybeParseDefaultImportSpecifier(t)}parseImportSpecifier(t,o,p,y){let $=t.imported,he=null;$.type==="Identifier"&&($.name==="type"?he="type":$.name==="typeof"&&(he="typeof"));let Ye=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let ar=this.parseIdentifier(!0);he!==null&&!ds(this.state.type)?(t.imported=ar,t.importKind=he,t.local=K(ar)):(t.imported=$,t.importKind=null,t.local=this.parseIdentifier())}else{if(he!==null&&ds(this.state.type))t.imported=this.parseIdentifier(!0),t.importKind=he;else{if(o)throw this.raise(dt.ImportBindingIsString,{at:t,importName:$.value});t.imported=$,t.importKind=null}this.eatContextual(93)?t.local=this.parseIdentifier():(Ye=!0,t.local=K(t.imported))}let At=Se(t);return p&&At&&this.raise(ve.ImportTypeShorthandOnlyInPureImport,{at:t}),(p||At)&&this.checkReservedType(t.local.name,t.local.loc.start,!0),Ye&&!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,o){let p=t.kind;p!=="get"&&p!=="set"&&this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(t,o)}parseVarId(t,o){super.parseVarId(t,o),this.match(14)&&(t.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t.id))}parseAsyncArrowFromCallExpression(t,o){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,o)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(t,o){var p;let y=null,$;if(this.hasPlugin("jsx")&&(this.match(138)||this.match(47))){if(y=this.state.clone(),$=this.tryParse(()=>super.parseMaybeAssign(t,o),y),!$.error)return $.node;let{context:At}=this.state,ar=At[At.length-1];(ar===Bi.j_oTag||ar===Bi.j_expr)&&At.pop()}if((p=$)!=null&&p.error||this.match(47)){var he,Ye;y=y||this.state.clone();let At,ar=this.tryParse(A=>{var m;At=this.flowParseTypeParameterDeclaration();let b=this.forwardNoArrowParamsConversionAt(At,()=>{let g=super.parseMaybeAssign(t,o);return this.resetStartLocationFromNode(g,At),g});(m=b.extra)!=null&&m.parenthesized&&A();let E=this.maybeUnwrapTypeCastExpression(b);return E.type!=="ArrowFunctionExpression"&&A(),E.typeParameters=At,this.resetStartLocationFromNode(E,At),b},y),d=null;if(ar.node&&this.maybeUnwrapTypeCastExpression(ar.node).type==="ArrowFunctionExpression"){if(!ar.error&&!ar.aborted)return ar.node.async&&this.raise(ve.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:At}),ar.node;d=ar.node}if((he=$)!=null&&he.node)return this.state=$.failState,$.node;if(d)return this.state=ar.failState,d;throw(Ye=$)!=null&&Ye.thrown?$.error:ar.thrown?ar.error:this.raise(ve.UnexpectedTokenAfterTypeParameter,{at:At})}return super.parseMaybeAssign(t,o)}parseArrow(t){if(this.match(14)){let o=this.tryParse(()=>{let p=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let y=this.startNode();return[y.typeAnnotation,t.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=p,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),y});if(o.thrown)return null;o.error&&(this.state=o.failState),t.returnType=o.node.typeAnnotation?this.finishNode(o.node,"TypeAnnotation"):null}return super.parseArrow(t)}shouldParseArrow(t){return this.match(14)||super.shouldParseArrow(t)}setArrowFunctionParameters(t,o){this.state.noArrowParamsConversionAt.indexOf(t.start)!==-1?t.params=o:super.setArrowFunctionParameters(t,o)}checkParams(t,o,p){if(!(p&&this.state.noArrowParamsConversionAt.indexOf(t.start)!==-1)){for(let y=0;y<t.params.length;y++)this.isThisParam(t.params[y])&&y>0&&this.raise(ve.ThisParamMustBeFirst,{at:t.params[y]});return super.checkParams(...arguments)}}parseParenAndDistinguishExpression(t){return super.parseParenAndDistinguishExpression(t&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(t,o,p,y){if(t.type==="Identifier"&&t.name==="async"&&this.state.noArrowAt.indexOf(o)!==-1){this.next();let $=this.startNodeAt(o,p);$.callee=t,$.arguments=this.parseCallExpressionArguments(11,!1),t=this.finishNode($,"CallExpression")}else if(t.type==="Identifier"&&t.name==="async"&&this.match(47)){let $=this.state.clone(),he=this.tryParse(At=>this.parseAsyncArrowWithTypeParameters(o,p)||At(),$);if(!he.error&&!he.aborted)return he.node;let Ye=this.tryParse(()=>super.parseSubscripts(t,o,p,y),$);if(Ye.node&&!Ye.error)return Ye.node;if(he.node)return this.state=he.failState,he.node;if(Ye.node)return this.state=Ye.failState,Ye.node;throw he.error||Ye.error}return super.parseSubscripts(t,o,p,y)}parseSubscript(t,o,p,y,$){if(this.match(18)&&this.isLookaheadToken_lt()){if($.optionalChainMember=!0,y)return $.stop=!0,t;this.next();let he=this.startNodeAt(o,p);return he.callee=t,he.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),he.arguments=this.parseCallExpressionArguments(11,!1),he.optional=!0,this.finishCallExpression(he,!0)}else if(!y&&this.shouldParseTypes()&&this.match(47)){let he=this.startNodeAt(o,p);he.callee=t;let Ye=this.tryParse(()=>(he.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),he.arguments=this.parseCallExpressionArguments(11,!1),$.optionalChainMember&&(he.optional=!1),this.finishCallExpression(he,$.optionalChainMember)));if(Ye.node)return Ye.error&&(this.state=Ye.failState),Ye.node}return super.parseSubscript(t,o,p,y,$)}parseNewCallee(t){super.parseNewCallee(t);let o=null;this.shouldParseTypes()&&this.match(47)&&(o=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),t.typeArguments=o}parseAsyncArrowWithTypeParameters(t,o){let p=this.startNodeAt(t,o);if(this.parseFunctionParams(p),!!this.parseArrow(p))return this.parseArrowExpression(p,void 0,!0)}readToken_mult_modulo(t){let o=this.input.charCodeAt(this.state.pos+1);if(t===42&&o===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 o=this.input.charCodeAt(this.state.pos+1);if(t===124&&o===125){this.finishOp(9,2);return}super.readToken_pipe_amp(t)}parseTopLevel(t,o){let p=super.parseTopLevel(t,o);return this.state.hasFlowComment&&this.raise(ve.UnterminatedFlowComment,{at:this.state.curPosition()}),p}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(ve.NestedFlowComment,{at:this.state.startLoc});this.hasFlowCommentCompletion(),this.state.pos+=this.skipFlowComment(),this.state.hasFlowComment=!0;return}if(this.state.hasFlowComment){let t=this.input.indexOf("*-/",this.state.pos+2);if(t===-1)throw this.raise(dt.UnterminatedComment,{at:this.state.curPosition()});this.state.pos=t+2+3;return}return super.skipBlockComment()}skipFlowComment(){let{pos:t}=this.state,o=2;for(;[32,9].includes(this.input.charCodeAt(t+o));)o++;let p=this.input.charCodeAt(o+t),y=this.input.charCodeAt(o+t+1);return p===58&&y===58?o+2:this.input.slice(o+t,o+t+12)==="flow-include"?o+12:p===58&&y!==58?o:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(dt.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(t,o){let{enumName:p,memberName:y}=o;this.raise(ve.EnumBooleanMemberNotInitialized,{at:t,memberName:y,enumName:p})}flowEnumErrorInvalidMemberInitializer(t,o){return this.raise(o.explicitType?o.explicitType==="symbol"?ve.EnumInvalidMemberInitializerSymbolType:ve.EnumInvalidMemberInitializerPrimaryType:ve.EnumInvalidMemberInitializerUnknownType,Object.assign({at:t},o))}flowEnumErrorNumberMemberNotInitialized(t,o){let{enumName:p,memberName:y}=o;this.raise(ve.EnumNumberMemberNotInitialized,{at:t,enumName:p,memberName:y})}flowEnumErrorStringMemberInconsistentlyInitailized(t,o){let{enumName:p}=o;this.raise(ve.EnumStringMemberInconsistentlyInitailized,{at:t,enumName:p})}flowEnumMemberInit(){let t=this.state.startLoc,o=()=>this.match(12)||this.match(8);switch(this.state.type){case 130:{let p=this.parseNumericLiteral(this.state.value);return o()?{type:"number",loc:p.loc.start,value:p}:{type:"invalid",loc:t}}case 129:{let p=this.parseStringLiteral(this.state.value);return o()?{type:"string",loc:p.loc.start,value:p}:{type:"invalid",loc:t}}case 85:case 86:{let p=this.parseBooleanLiteral(this.match(85));return o()?{type:"boolean",loc:p.loc.start,value:p}:{type:"invalid",loc:t}}default:return{type:"invalid",loc:t}}}flowEnumMemberRaw(){let t=this.state.startLoc,o=this.parseIdentifier(!0),p=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:t};return{id:o,init:p}}flowEnumCheckExplicitTypeMismatch(t,o,p){let{explicitType:y}=o;y!==null&&y!==p&&this.flowEnumErrorInvalidMemberInitializer(t,o)}flowEnumMembers(t){let{enumName:o,explicitType:p}=t,y=new Set,$={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},he=!1;for(;!this.match(8);){if(this.eat(21)){he=!0;break}let Ye=this.startNode(),{id:At,init:ar}=this.flowEnumMemberRaw(),d=At.name;if(d==="")continue;/^[a-z]/.test(d)&&this.raise(ve.EnumInvalidMemberName,{at:At,memberName:d,suggestion:d[0].toUpperCase()+d.slice(1),enumName:o}),y.has(d)&&this.raise(ve.EnumDuplicateMemberName,{at:At,memberName:d,enumName:o}),y.add(d);let A={enumName:o,explicitType:p,memberName:d};switch(Ye.id=At,ar.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(ar.loc,A,"boolean"),Ye.init=ar.value,$.booleanMembers.push(this.finishNode(Ye,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(ar.loc,A,"number"),Ye.init=ar.value,$.numberMembers.push(this.finishNode(Ye,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(ar.loc,A,"string"),Ye.init=ar.value,$.stringMembers.push(this.finishNode(Ye,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(ar.loc,A);case"none":switch(p){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(ar.loc,A);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(ar.loc,A);break;default:$.defaultedMembers.push(this.finishNode(Ye,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:$,hasUnknownMembers:he}}flowEnumStringMembers(t,o,p){let{enumName:y}=p;if(t.length===0)return o;if(o.length===0)return t;if(o.length>t.length){for(let $ of t)this.flowEnumErrorStringMemberInconsistentlyInitailized($,{enumName:y});return o}else{for(let $ of o)this.flowEnumErrorStringMemberInconsistentlyInitailized($,{enumName:y});return t}}flowEnumParseExplicitType(t){let{enumName:o}=t;if(!this.eatContextual(101))return null;if(!jn(this.state.type))throw this.raise(ve.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:o});let{value:p}=this.state;return this.next(),p!=="boolean"&&p!=="number"&&p!=="string"&&p!=="symbol"&&this.raise(ve.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:o,invalidEnumType:p}),p}flowEnumBody(t,o){let p=o.name,y=o.loc.start,$=this.flowEnumParseExplicitType({enumName:p});this.expect(5);let{members:he,hasUnknownMembers:Ye}=this.flowEnumMembers({enumName:p,explicitType:$});switch(t.hasUnknownMembers=Ye,$){case"boolean":return t.explicitType=!0,t.members=he.booleanMembers,this.expect(8),this.finishNode(t,"EnumBooleanBody");case"number":return t.explicitType=!0,t.members=he.numberMembers,this.expect(8),this.finishNode(t,"EnumNumberBody");case"string":return t.explicitType=!0,t.members=this.flowEnumStringMembers(he.stringMembers,he.defaultedMembers,{enumName:p}),this.expect(8),this.finishNode(t,"EnumStringBody");case"symbol":return t.members=he.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=he.booleanMembers.length,d=he.numberMembers.length,A=he.stringMembers.length,m=he.defaultedMembers.length;if(!ar&&!d&&!A&&!m)return At();if(!ar&&!d)return t.members=this.flowEnumStringMembers(he.stringMembers,he.defaultedMembers,{enumName:p}),this.expect(8),this.finishNode(t,"EnumStringBody");if(!d&&!A&&ar>=m){for(let b of he.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(b.loc.start,{enumName:p,memberName:b.id.name});return t.members=he.booleanMembers,this.expect(8),this.finishNode(t,"EnumBooleanBody")}else if(!ar&&!A&&d>=m){for(let b of he.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(b.loc.start,{enumName:p,memberName:b.id.name});return t.members=he.numberMembers,this.expect(8),this.finishNode(t,"EnumNumberBody")}else return this.raise(ve.EnumInconsistentMemberValues,{at:y,enumName:p}),At()}}}flowParseEnumDeclaration(t){let o=this.parseIdentifier();return t.id=o,t.body=this.flowEnumBody(this.startNode(),o),this.finishNode(t,"EnumDeclaration")}isLookaheadToken_lt(){let t=this.nextTokenStart();if(this.input.charCodeAt(t)===60){let o=this.input.charCodeAt(t+1);return o!==60&&o!==61}return!1}maybeUnwrapTypeCastExpression(t){return t.type==="TypeCastExpression"?t.expression:t}},Fe={__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"},Xe=ji(zt||(zt=sn(["jsx"])))(i=>({AttributeIsEmpty:i("JSX attributes must only be assigned a non-empty expression."),MissingClosingTagElement:i(t=>{let{openingTagName:o}=t;return"Expected corresponding JSX closing tag for <".concat(o,">.")}),MissingClosingTagFragment:i("Expected corresponding JSX closing tag for <>."),UnexpectedSequenceExpression:i("Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?"),UnexpectedToken:i(t=>{let{unexpected:o,HTMLEntity:p}=t;return"Unexpected token `".concat(o,"`. Did you mean `").concat(p,"` or `{'").concat(o,"'}`?")}),UnsupportedJsxValue:i("JSX value should be either an expression or a quoted JSX text."),UnterminatedJsxContent:i("Unterminated JSX contents."),UnwrappedAdjacentJSXElements:i("Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?")}));function Ge(i){return i?i.type==="JSXOpeningFragment"||i.type==="JSXClosingFragment":!1}function Ne(i){if(i.type==="JSXIdentifier")return i.name;if(i.type==="JSXNamespacedName")return i.namespace.name+":"+i.name.name;if(i.type==="JSXMemberExpression")return Ne(i.object)+"."+Ne(i.property);throw new Error("Node had unexpected type: "+i.type)}var vt=i=>class extends i{jsxReadToken(){let t="",o=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Xe.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(o,this.state.pos),this.finishToken(137,t));case 38:t+=this.input.slice(o,this.state.pos),t+=this.jsxReadEntity(),o=this.state.pos;break;case 62:case 125:default:Go(p)?(t+=this.input.slice(o,this.state.pos),t+=this.jsxReadNewLine(!0),o=this.state.pos):++this.state.pos}}}jsxReadNewLine(t){let o=this.input.charCodeAt(this.state.pos),p;return++this.state.pos,o===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,p=t?`
|
|
273
|
-
`:`\r
|
|
274
|
-
`):p=String.fromCharCode(o),++this.state.curLine,this.state.lineStart=this.state.pos,p}jsxReadString(t){let o="",p=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(dt.UnterminatedString,{at:this.state.startLoc});let y=this.input.charCodeAt(this.state.pos);if(y===t)break;y===38?(o+=this.input.slice(p,this.state.pos),o+=this.jsxReadEntity(),p=this.state.pos):Go(y)?(o+=this.input.slice(p,this.state.pos),o+=this.jsxReadNewLine(!1),p=this.state.pos):++this.state.pos}return o+=this.input.slice(p,this.state.pos++),this.finishToken(129,o)}jsxReadEntity(){let t=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let o=10;this.codePointAtPos(this.state.pos)===120&&(o=16,++this.state.pos);let p=this.readInt(o,void 0,!1,"bail");if(p!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(p)}else{let o=0,p=!1;for(;o++<10&&this.state.pos<this.length&&!(p=this.codePointAtPos(this.state.pos)==59);)++this.state.pos;if(p){let y=this.input.slice(t,this.state.pos),$=Fe[y];if(++this.state.pos,$)return $}}return this.state.pos=t,"&"}jsxReadWord(){let t,o=this.state.pos;do t=this.input.charCodeAt(++this.state.pos);while(ea(t)||t===45);return this.finishToken(136,this.input.slice(o,this.state.pos))}jsxParseIdentifier(){let t=this.startNode();return this.match(136)?t.name=this.state.value:gt(this.state.type)?t.name=Ms(this.state.type):this.unexpected(),this.next(),this.finishNode(t,"JSXIdentifier")}jsxParseNamespacedName(){let t=this.state.start,o=this.state.startLoc,p=this.jsxParseIdentifier();if(!this.eat(14))return p;let y=this.startNodeAt(t,o);return y.namespace=p,y.name=this.jsxParseIdentifier(),this.finishNode(y,"JSXNamespacedName")}jsxParseElementName(){let t=this.state.start,o=this.state.startLoc,p=this.jsxParseNamespacedName();if(p.type==="JSXNamespacedName")return p;for(;this.eat(16);){let y=this.startNodeAt(t,o);y.object=p,y.property=this.jsxParseIdentifier(),p=this.finishNode(y,"JSXMemberExpression")}return p}jsxParseAttributeValue(){let t;switch(this.state.type){case 5:return t=this.startNode(),this.setContext(Bi.brace),this.next(),t=this.jsxParseExpressionContainer(t,Bi.j_oTag),t.expression.type==="JSXEmptyExpression"&&this.raise(Xe.AttributeIsEmpty,{at:t}),t;case 138:case 129:return this.parseExprAtom();default:throw this.raise(Xe.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(Bi.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(t,"JSXSpreadChild")}jsxParseExpressionContainer(t,o){if(this.match(8))t.expression=this.jsxParseEmptyExpression();else{let p=this.parseExpression();t.expression=p}return this.setContext(o),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(t,"JSXExpressionContainer")}jsxParseAttribute(){let t=this.startNode();return this.match(5)?(this.setContext(Bi.brace),this.next(),this.expect(21),t.argument=this.parseMaybeAssignAllowIn(),this.setContext(Bi.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,o){let p=this.startNodeAt(t,o);return this.eat(139)?this.finishNode(p,"JSXOpeningFragment"):(p.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(p))}jsxParseOpeningElementAfterName(t){let o=[];for(;!this.match(56)&&!this.match(139);)o.push(this.jsxParseAttribute());return t.attributes=o,t.selfClosing=this.eat(56),this.expect(139),this.finishNode(t,"JSXOpeningElement")}jsxParseClosingElementAt(t,o){let p=this.startNodeAt(t,o);return this.eat(139)?this.finishNode(p,"JSXClosingFragment"):(p.name=this.jsxParseElementName(),this.expect(139),this.finishNode(p,"JSXClosingElement"))}jsxParseElementAt(t,o){let p=this.startNodeAt(t,o),y=[],$=this.jsxParseOpeningElementAt(t,o),he=null;if(!$.selfClosing){e:for(;;)switch(this.state.type){case 138:if(t=this.state.start,o=this.state.startLoc,this.next(),this.eat(56)){he=this.jsxParseClosingElementAt(t,o);break e}y.push(this.jsxParseElementAt(t,o));break;case 137:y.push(this.parseExprAtom());break;case 5:{let Ye=this.startNode();this.setContext(Bi.brace),this.next(),this.match(21)?y.push(this.jsxParseSpreadChild(Ye)):y.push(this.jsxParseExpressionContainer(Ye,Bi.j_expr));break}default:throw this.unexpected()}Ge($)&&!Ge(he)&&he!==null?this.raise(Xe.MissingClosingTagFragment,{at:he}):!Ge($)&&Ge(he)?this.raise(Xe.MissingClosingTagElement,{at:he,openingTagName:Ne($.name)}):!Ge($)&&!Ge(he)&&Ne(he.name)!==Ne($.name)&&this.raise(Xe.MissingClosingTagElement,{at:he,openingTagName:Ne($.name)})}if(Ge($)?(p.openingFragment=$,p.closingFragment=he):(p.openingElement=$,p.closingElement=he),p.children=y,this.match(47))throw this.raise(Xe.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return Ge($)?this.finishNode(p,"JSXFragment"):this.finishNode(p,"JSXElement")}jsxParseElement(){let t=this.state.start,o=this.state.startLoc;return this.next(),this.jsxParseElementAt(t,o)}setContext(t){let{context:o}=this.state;o[o.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 o=this.curContext();if(o===Bi.j_expr)return this.jsxReadToken();if(o===Bi.j_oTag||o===Bi.j_cTag){if(Ts(t))return this.jsxReadWord();if(t===62)return++this.state.pos,this.finishToken(139);if((t===34||t===39)&&o===Bi.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:o,type:p}=this.state;if(p===56&&t===138)o.splice(-2,2,Bi.j_cTag),this.state.canStartJSXElement=!1;else if(p===138)o.push(Bi.j_oTag);else if(p===139){let y=o[o.length-1];y===Bi.j_oTag&&t===56||y===Bi.j_cTag?(o.pop(),this.state.canStartJSXElement=o[o.length-1]===Bi.j_expr):(this.setContext(Bi.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=Si(p)}},Pt=class extends pl{constructor(){super(...arguments),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}},Gt=class extends uu{createScope(i){return new Pt(i)}declareName(i,t,o){let p=this.currentScope();if(t&Mu){this.maybeExportDefined(p,i),p.exportOnlyBindings.add(i);return}super.declareName(...arguments),t&ho&&(t&Ja||(this.checkRedeclarationInScope(p,i,t,o),this.maybeExportDefined(p,i)),p.types.add(i)),t&bl&&p.enums.add(i),t&Al&&p.constEnums.add(i),t&Eo&&p.classes.add(i)}isRedeclaredInScope(i,t,o){if(i.enums.has(t)){if(o&bl){let p=!!(o&Al),y=i.constEnums.has(t);return p!==y}return!0}return o&Eo&&i.classes.has(t)?i.lexical.has(t)?!!(o&Ja):!1:o&ho&&i.types.has(t)?!0:super.isRedeclaredInScope(...arguments)}checkLocalExport(i){let t=this.scopeStack[0],{name:o}=i;!t.types.has(o)&&!t.exportOnlyBindings.has(o)&&super.checkLocalExport(i)}},dn=(i,t)=>Object.hasOwnProperty.call(i,t)&&i[t];function $n(i){if(i==null)throw new Error("Unexpected ".concat(i," value."));return i}function qn(i){if(!i)throw new Error("Assert fail")}function yi(i){return _i(i)||ga(i)}var en=ji(ir||(ir=sn(["typescript"])))(i=>({AbstractMethodHasImplementation:i(t=>{let{methodName:o}=t;return"Method '".concat(o,"' cannot have an implementation because it is marked abstract.")}),AbstractPropertyHasInitializer:i(t=>{let{propertyName:o}=t;return"Property '".concat(o,"' cannot have an initializer because it is marked abstract.")}),AccesorCannotDeclareThisParameter:i("'get' and 'set' accessors cannot declare 'this' parameters."),AccesorCannotHaveTypeParameters:i("An accessor cannot have type parameters."),CannotFindName:i(t=>{let{name:o}=t;return"Cannot find name '".concat(o,"'.")}),ClassMethodHasDeclare:i("Class methods cannot have the 'declare' modifier."),ClassMethodHasReadonly:i("Class methods cannot have the 'readonly' modifier."),ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:i("A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),ConstructorHasTypeParameters:i("Type parameters cannot appear on a constructor declaration."),DeclareAccessor:i(t=>{let{kind:o}=t;return"'declare' is not allowed in ".concat(o,"ters.")}),DeclareClassFieldHasInitializer:i("Initializers are not allowed in ambient contexts."),DeclareFunctionHasImplementation:i("An implementation cannot be declared in ambient contexts."),DuplicateAccessibilityModifier:i(t=>"Accessibility modifier already seen."),DuplicateModifier:i(t=>{let{modifier:o}=t;return"Duplicate modifier: '".concat(o,"'.")}),EmptyHeritageClauseType:i(t=>{let{token:o}=t;return"'".concat(o,"' list cannot be empty.")}),EmptyTypeArguments:i("Type argument list cannot be empty."),EmptyTypeParameters:i("Type parameter list cannot be empty."),ExpectedAmbientAfterExportDeclare:i("'export declare' must be followed by an ambient declaration."),ImportAliasHasImportType:i("An import alias can not use 'import type'."),IncompatibleModifiers:i(t=>{let{modifiers:o}=t;return"'".concat(o[0],"' modifier cannot be used with '").concat(o[1],"' modifier.")}),IndexSignatureHasAbstract:i("Index signatures cannot have the 'abstract' modifier."),IndexSignatureHasAccessibility:i(t=>{let{modifier:o}=t;return"Index signatures cannot have an accessibility modifier ('".concat(o,"').")}),IndexSignatureHasDeclare:i("Index signatures cannot have the 'declare' modifier."),IndexSignatureHasOverride:i("'override' modifier cannot appear on an index signature."),IndexSignatureHasStatic:i("Index signatures cannot have the 'static' modifier."),InitializerNotAllowedInAmbientContext:i("Initializers are not allowed in ambient contexts."),InvalidModifierOnTypeMember:i(t=>{let{modifier:o}=t;return"'".concat(o,"' modifier cannot appear on a type member.")}),InvalidModifierOnTypeParameter:i(t=>{let{modifier:o}=t;return"'".concat(o,"' modifier cannot appear on a type parameter.")}),InvalidModifierOnTypeParameterPositions:i(t=>{let{modifier:o}=t;return"'".concat(o,"' modifier can only appear on a type parameter of a class, interface or type alias.")}),InvalidModifiersOrder:i(t=>{let{orderedModifiers:o}=t;return"'".concat(o[0],"' modifier must precede '").concat(o[1],"' modifier.")}),InvalidTupleMemberLabel:i("Tuple members must be labeled with a simple identifier."),MissingInterfaceName:i("'interface' declarations must be followed by an identifier."),MixedLabeledAndUnlabeledElements:i("Tuple members must all have names or all not have names."),NonAbstractClassHasAbstractMethod:i("Abstract methods can only appear within an abstract class."),NonClassMethodPropertyHasAbstractModifer:i("'abstract' modifier can only appear on a class, method, or property declaration."),OptionalTypeBeforeRequired:i("A required element cannot follow an optional element."),OverrideNotInSubClass:i("This member cannot have an 'override' modifier because its containing class does not extend another class."),PatternIsOptional:i("A binding pattern parameter cannot be optional in an implementation signature."),PrivateElementHasAbstract:i("Private elements cannot have the 'abstract' modifier."),PrivateElementHasAccessibility:i(t=>{let{modifier:o}=t;return"Private elements cannot have an accessibility modifier ('".concat(o,"').")}),ReadonlyForMethodSignature:i("'readonly' modifier can only appear on a property declaration or index signature."),ReservedArrowTypeParam:i("This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`."),ReservedTypeAssertion:i("This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),SetAccesorCannotHaveOptionalParameter:i("A 'set' accessor cannot have an optional parameter."),SetAccesorCannotHaveRestParameter:i("A 'set' accessor cannot have rest parameter."),SetAccesorCannotHaveReturnType:i("A 'set' accessor cannot have a return type annotation."),SingleTypeParameterWithoutTrailingComma:i(t=>{let{typeParameterName:o}=t;return"Single type parameter ".concat(o," should have a trailing comma. Example usage: <").concat(o,",>.")}),StaticBlockCannotHaveModifier:i("Static class blocks cannot have any modifier."),TypeAnnotationAfterAssign:i("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeImportCannotSpecifyDefaultAndNamed:i("A type-only import can specify a default import or named bindings, but not both."),TypeModifierIsUsedInTypeExports:i("The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),TypeModifierIsUsedInTypeImports:i("The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),UnexpectedParameterModifier:i("A parameter property is only allowed in a constructor implementation."),UnexpectedReadonly:i("'readonly' type modifier is only permitted on array and tuple literal types."),UnexpectedTypeAnnotation:i("Did not expect a type annotation here."),UnexpectedTypeCastInParameter:i("Unexpected type cast in parameter position."),UnsupportedImportTypeArgument:i("Argument in a type import must be a string literal."),UnsupportedParameterPropertyKind:i("A parameter property may not be declared using a binding pattern."),UnsupportedSignatureParameterKind:i(t=>{let{type:o}=t;return"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ".concat(o,".")})}));function Ii(i){switch(i){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(i){return i==="private"||i==="public"||i==="protected"}function Di(i){return i==="in"||i==="out"}var xn=i=>class extends i{getScopeHandler(){return Gt}tsIsIdentifier(){return jn(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,o){if(!jn(this.state.type)&&this.state.type!==58)return;let p=this.state.value;if(t.indexOf(p)!==-1){if(o&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return p}}tsParseModifiers(t){let{modified:o,allowedModifiers:p,disallowedModifiers:y,stopOnStartOfClassStaticBlock:$,errorTemplate:he=en.InvalidModifierOnTypeMember}=t,Ye=(ar,d,A,m)=>{d===A&&o[m]&&this.raise(en.InvalidModifiersOrder,{at:ar,orderedModifiers:[A,m]})},At=(ar,d,A,m)=>{(o[A]&&d===m||o[m]&&d===A)&&this.raise(en.IncompatibleModifiers,{at:ar,modifiers:[A,m]})};for(;;){let{startLoc:ar}=this.state,d=this.tsParseModifier(p.concat(y!=null?y:[]),$);if(!d)break;mi(d)?o.accessibility?this.raise(en.DuplicateAccessibilityModifier,{at:ar,modifier:d}):(Ye(ar,d,d,"override"),Ye(ar,d,d,"static"),Ye(ar,d,d,"readonly"),o.accessibility=d):Di(d)?(o[d]&&this.raise(en.DuplicateModifier,{at:ar,modifier:d}),o[d]=!0,Ye(ar,d,"in","out")):(Object.hasOwnProperty.call(o,d)?this.raise(en.DuplicateModifier,{at:ar,modifier:d}):(Ye(ar,d,"static","readonly"),Ye(ar,d,"static","override"),Ye(ar,d,"override","readonly"),Ye(ar,d,"abstract","override"),At(ar,d,"declare","override"),At(ar,d,"static","abstract")),o[d]=!0),y!=null&&y.includes(d)&&this.raise(he,{at:ar,modifier:d})}}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,o){let p=[];for(;!this.tsIsListTerminator(t);)p.push(o());return p}tsParseDelimitedList(t,o,p){return $n(this.tsParseDelimitedListWorker(t,o,!0,p))}tsParseDelimitedListWorker(t,o,p,y){let $=[],he=-1;for(;!this.tsIsListTerminator(t);){he=-1;let Ye=o();if(Ye==null)return;if($.push(Ye),this.eat(12)){he=this.state.lastTokStart;continue}if(this.tsIsListTerminator(t))break;p&&this.expect(12);return}return y&&(y.value=he),$}tsParseBracketedList(t,o,p,y,$){y||(p?this.expect(0):this.expect(47));let he=this.tsParseDelimitedList(t,o,$);return p?this.expect(3):this.expect(48),he}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,o=this.parseIdentifier(t);for(;this.eat(16);){let p=this.startNodeAtNode(o);p.left=o,p.right=this.parseIdentifier(t),o=this.finishNode(p,"TSQualifiedName")}return o}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 o=this.startNodeAtNode(t);return o.parameterName=t,o.typeAnnotation=this.tsParseTypeAnnotation(!1),o.asserts=!1,this.finishNode(o,"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),o=this.startNode();return t(o),o.name=this.tsParseTypeParameterName(),o.constraint=this.tsEatThenParseType(81),o.default=this.tsEatThenParseType(29),this.finishNode(o,"TSTypeParameter")}tsTryParseTypeParameters(t){if(this.match(47))return this.tsParseTypeParameters(t)}tsParseTypeParameters(t){let o=this.startNode();this.match(47)||this.match(138)?this.next():this.unexpected();let p={value:-1};return o.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,t),!1,!0,p),o.params.length===0&&this.raise(en.EmptyTypeParameters,{at:o}),p.value!==-1&&this.addExtra(o,"trailingComma",p.value),this.finishNode(o,"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,o){let p=t===19,y="parameters",$="typeAnnotation";o.typeParameters=this.tsTryParseTypeParameters(),this.expect(10),o[y]=this.tsParseBindingListForSignature(),p?o[$]=this.tsParseTypeOrTypePredicateAnnotation(t):this.match(t)&&(o[$]=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,o){return this.tsFillSignature(14,o),this.tsParseTypeMemberSemicolon(),this.finishNode(o,t)}tsIsUnambiguouslyIndexSignature(){return this.next(),jn(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 o=this.parseIdentifier();o.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(o),this.expect(3),t.parameters=[o];let p=this.tsTryParseTypeAnnotation();return p&&(t.typeAnnotation=p),this.tsParseTypeMemberSemicolon(),this.finishNode(t,"TSIndexSignature")}tsParsePropertyOrMethodSignature(t,o){this.eat(17)&&(t.optional=!0);let p=t;if(this.match(10)||this.match(47)){o&&this.raise(en.ReadonlyForMethodSignature,{at:t});let y=p;y.kind&&this.match(47)&&this.raise(en.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,y),this.tsParseTypeMemberSemicolon();let $="parameters",he="typeAnnotation";if(y.kind==="get")y[$].length>0&&(this.raise(dt.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(y[$][0])&&this.raise(en.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if(y.kind==="set"){if(y[$].length!==1)this.raise(dt.BadSetterArity,{at:this.state.curPosition()});else{let Ye=y[$][0];this.isThisParam(Ye)&&this.raise(en.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),Ye.type==="Identifier"&&Ye.optional&&this.raise(en.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),Ye.type==="RestElement"&&this.raise(en.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}y[he]&&this.raise(en.SetAccesorCannotHaveReturnType,{at:y[he]})}else y.kind="method";return this.finishNode(y,"TSMethodSignature")}else{let y=p;o&&(y.readonly=!0);let $=this.tsTryParseTypeAnnotation();return $&&(y.typeAnnotation=$),this.tsParseTypeMemberSemicolon(),this.finishNode(y,"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 o=!1,p=null;return t.elementTypes.forEach(y=>{var $;let{type:he}=y;o&&he!=="TSRestType"&&he!=="TSOptionalType"&&!(he==="TSNamedTupleMember"&&y.optional)&&this.raise(en.OptionalTypeBeforeRequired,{at:y}),o=o||he==="TSNamedTupleMember"&&y.optional||he==="TSOptionalType",he==="TSRestType"&&(y=y.typeAnnotation,he=y.type);let Ye=he==="TSNamedTupleMember";p=($=p)!=null?$:Ye,p!==Ye&&this.raise(en.MixedLabeledAndUnlabeledElements,{at:y})}),this.finishNode(t,"TSTupleType")}tsParseTupleElementType(){let{start:t,startLoc:o}=this.state,p=this.eat(21),y=this.tsParseType(),$=this.eat(17);if(this.eat(14)){let he=this.startNodeAtNode(y);he.optional=$,y.type==="TSTypeReference"&&!y.typeParameters&&y.typeName.type==="Identifier"?he.label=y.typeName:(this.raise(en.InvalidTupleMemberLabel,{at:y}),he.label=y),he.elementType=this.tsParseType(),y=this.finishNode(he,"TSNamedTupleMember")}else if($){let he=this.startNodeAtNode(y);he.typeAnnotation=y,y=this.finishNode(he,"TSOptionalType")}if(p){let he=this.startNodeAt(t,o);he.typeAnnotation=y,y=this.finishNode(he,"TSRestType")}return y}tsParseParenthesizedType(){let t=this.startNode();return this.expect(10),t.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(t,"TSParenthesizedType")}tsParseFunctionOrConstructorType(t,o){let p=this.startNode();return t==="TSConstructorType"&&(p.abstract=!!o,o&&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(),o=this.lookahead();if(o.type!==130&&o.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(jn(t)||t===88||t===84){let o=t===88?"TSVoidKeyword":t===84?"TSNullKeyword":Ii(this.state.value);if(o!==void 0&&this.lookaheadCharCode()!==46){let p=this.startNode();return this.next(),this.finishNode(p,o)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let t=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let o=this.startNodeAtNode(t);o.elementType=t,this.expect(3),t=this.finishNode(o,"TSArrayType")}else{let o=this.startNodeAtNode(t);o.objectType=t,o.indexType=this.tsParseType(),this.expect(3),t=this.finishNode(o,"TSIndexedAccessType")}return t}tsParseTypeOperator(){let t=this.startNode(),o=this.state.value;return this.next(),t.operator=o,t.typeAnnotation=this.tsParseTypeOperatorOrHigher(),o==="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 o=this.startNode();return o.name=this.tsParseTypeParameterName(),o.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),t.typeParameter=this.finishNode(o,"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 Yi(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(112)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(t,o,p){let y=this.startNode(),$=this.eat(p),he=[];do he.push(o());while(this.eat(p));return he.length===1&&!$?he[0]:(y.types=he,this.finishNode(y,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(jn(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:t}=this.state,o=t.length;try{return this.parseObjectLike(8,!0),t.length===o}catch{return!1}}if(this.match(0)){this.next();let{errors:t}=this.state,o=t.length;try{return this.parseBindingList(3,93,!0),t.length===o}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 o=this.startNode();this.expect(t);let p=this.startNode(),y=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(y&&this.match(78)){let Ye=this.tsParseThisTypeOrThisTypePredicate();return Ye.type==="TSThisType"?(p.parameterName=Ye,p.asserts=!0,p.typeAnnotation=null,Ye=this.finishNode(p,"TSTypePredicate")):(this.resetStartLocationFromNode(Ye,p),Ye.asserts=!0),o.typeAnnotation=Ye,this.finishNode(o,"TSTypeAnnotation")}let $=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!$)return y?(p.parameterName=this.parseIdentifier(),p.asserts=y,p.typeAnnotation=null,o.typeAnnotation=this.finishNode(p,"TSTypePredicate"),this.finishNode(o,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,o);let he=this.tsParseTypeAnnotation(!1);return p.parameterName=$,p.typeAnnotation=he,p.asserts=y,o.typeAnnotation=this.finishNode(p,"TSTypePredicate"),this.finishNode(o,"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(),!jn(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,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.startNode();return this.tsInType(()=>{t&&this.expect(14),o.typeAnnotation=this.tsParseType()}),this.finishNode(o,"TSTypeAnnotation")}tsParseType(){qn(this.state.inType);let t=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return t;let o=this.startNodeAtNode(t);return o.checkType=t,o.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),o.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),o.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(o,"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(),o=this.tsTryNextParseConstantContext();return t.typeAnnotation=o||this.tsNextThenParseType(),this.expect(48),t.expression=this.parseMaybeUnary(),this.finishNode(t,"TSTypeAssertion")}tsParseHeritageClause(t){let o=this.state.startLoc,p=this.tsParseDelimitedList("HeritageClauseElement",()=>{let y=this.startNode();return y.expression=this.tsParseEntityName(),this.match(47)&&(y.typeParameters=this.tsParseTypeArguments()),this.finishNode(y,"TSExpressionWithTypeArguments")});return p.length||this.raise(en.EmptyHeritageClauseType,{at:o,token:t}),p}tsParseInterfaceDeclaration(t){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.hasFollowingLineBreak())return null;this.expectContextual(125),o.declare&&(t.declare=!0),jn(this.state.type)?(t.id=this.parseIdentifier(),this.checkIdentifier(t.id,Ru)):(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,il),t.typeAnnotation=this.tsInType(()=>{if(t.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.expect(29),this.isContextual(111)&&this.lookahead().type!==16){let o=this.startNode();return this.next(),this.finishNode(o,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(t,"TSTypeAliasDeclaration")}tsInNoContext(t){let o=this.state.context;this.state.context=[o[0]];try{return t()}finally{this.state.context=o}}tsInType(t){let o=this.state.inType;this.state.inType=!0;try{return t()}finally{this.state.inType=o}}tsInDisallowConditionalTypesContext(t){let o=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return t()}finally{this.state.inDisallowConditionalTypesContext=o}}tsInAllowConditionalTypesContext(t){let o=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return t()}finally{this.state.inDisallowConditionalTypesContext=o}}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 o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return o.const&&(t.const=!0),o.declare&&(t.declare=!0),this.expectContextual(122),t.id=this.parseIdentifier(),this.checkIdentifier(t.id,t.const?eo:bo),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(Wa),this.expect(5),this.parseBlockOrModuleBlockBody(t.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(t,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(t){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t.id=this.parseIdentifier(),o||this.checkIdentifier(t.id,au),this.eat(16)){let p=this.startNode();this.tsParseModuleOrNamespaceDeclaration(p,!0),t.body=p}else this.scope.enter(Cu),this.prodParam.enter(Qo),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(Cu),this.prodParam.enter(Qo),t.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(t,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(t,o){t.isExport=o||!1,t.id=this.parseIdentifier(),this.checkIdentifier(t.id,Aa),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 o=this.state.clone(),p=t();return this.state=o,p}tsTryParseAndCatch(t){let o=this.tryParse(p=>t()||p());if(!(o.aborted||!o.node))return o.error&&(this.state=o.failState),o.node}tsTryParse(t){let o=this.state.clone(),p=t();if(p!==void 0&&p!==!1)return p;this.state=o}tsTryParseDeclare(t){if(this.isLineTerminator())return;let o=this.state.type,p;return this.isContextual(99)&&(o=74,p="let"),this.tsInAmbientContext(()=>{if(o===68)return t.declare=!0,this.parseFunctionStatement(t,!1,!0);if(o===80)return t.declare=!0,this.parseClass(t,!0,!1);if(o===122)return this.tsParseEnumDeclaration(t,{declare:!0});if(o===109)return this.tsParseAmbientExternalModuleDeclaration(t);if(o===75||o===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(o===125){let y=this.tsParseInterfaceDeclaration(t,{declare:!0});if(y)return y}if(jn(o))return this.tsParseDeclaration(t,this.state.value,!0)})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)}tsParseExpressionStatement(t,o){switch(o.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(Cu),this.prodParam.enter(Qo);let p=t;return p.global=!0,p.id=o,p.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(p,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(t,o.name,!1)}}tsParseDeclaration(t,o,p){switch(o){case"abstract":if(this.tsCheckLineTerminator(p)&&(this.match(80)||jn(this.state.type)))return this.tsParseAbstractDeclaration(t);break;case"module":if(this.tsCheckLineTerminator(p)){if(this.match(129))return this.tsParseAmbientExternalModuleDeclaration(t);if(jn(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(t)}break;case"namespace":if(this.tsCheckLineTerminator(p)&&jn(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(t);break;case"type":if(this.tsCheckLineTerminator(p)&&jn(this.state.type))return this.tsParseTypeAliasDeclaration(t);break}}tsCheckLineTerminator(t){return t?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(t,o){if(!this.match(47))return;let p=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let y=this.tsTryParseAndCatch(()=>{let $=this.startNodeAt(t,o);return $.typeParameters=this.tsParseTypeParameters(),super.parseFunctionParams($),$.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),$});if(this.state.maybeInArrowParameters=p,!!y)return this.parseArrowExpression(y,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,o){let p=this.state.start,y=this.state.startLoc,$,he=!1,Ye=!1;if(t!==void 0){let d={};this.tsParseModifiers({modified:d,allowedModifiers:["public","private","protected","override","readonly"]}),$=d.accessibility,Ye=d.override,he=d.readonly,t===!1&&($||he||Ye)&&this.raise(en.UnexpectedParameterModifier,{at:y})}let At=this.parseMaybeDefault();this.parseAssignableListItemTypes(At);let ar=this.parseMaybeDefault(At.start,At.loc.start,At);if($||he||Ye){let d=this.startNodeAt(p,y);return o.length&&(d.decorators=o),$&&(d.accessibility=$),he&&(d.readonly=he),Ye&&(d.override=Ye),ar.type!=="Identifier"&&ar.type!=="AssignmentPattern"&&this.raise(en.UnsupportedParameterPropertyKind,{at:d}),d.parameter=ar,this.finishNode(d,"TSParameterProperty")}return o.length&&(At.decorators=o),ar}isSimpleParameter(t){return t.type==="TSParameterProperty"&&super.isSimpleParameter(t.parameter)||super.isSimpleParameter(t)}parseFunctionBodyAndFinish(t,o){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.match(14)&&(t.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let y=o==="FunctionDeclaration"?"TSDeclareFunction":o==="ClassMethod"||o==="ClassPrivateMethod"?"TSDeclareMethod":void 0;if(y&&!this.match(5)&&this.isLineTerminator()){this.finishNode(t,y);return}if(y==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(en.DeclareFunctionHasImplementation,{at:t}),t.declare)){super.parseFunctionBodyAndFinish(t,y,p);return}super.parseFunctionBodyAndFinish(t,o,p)}registerFunctionStatementId(t){!t.body&&t.id?this.checkIdentifier(t.id,sl):super.registerFunctionStatementId(...arguments)}tsCheckForInvalidTypeCasts(t){t.forEach(o=>{(o==null?void 0:o.type)==="TSTypeCastExpression"&&this.raise(en.UnexpectedTypeAnnotation,{at:o.typeAnnotation})})}toReferencedList(t,o){return this.tsCheckForInvalidTypeCasts(t),t}parseArrayLike(){let t=super.parseArrayLike(...arguments);return t.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(t.elements),t}parseSubscript(t,o,p,y,$){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let Ye=this.startNodeAt(o,p);return Ye.expression=t,this.finishNode(Ye,"TSNonNullExpression")}let he=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(y)return $.stop=!0,t;$.optionalChainMember=he=!0,this.next()}if(this.match(47)||this.match(51)){let Ye,At=this.tsTryParseAndCatch(()=>{if(!y&&this.atPossibleAsyncArrow(t)){let A=this.tsTryParseGenericAsyncArrowFunction(o,p);if(A)return A}let ar=this.tsParseTypeArgumentsInExpression();if(!ar)throw this.unexpected();if(he&&!this.match(10))throw Ye=this.state.curPosition(),this.unexpected();if(Ps(this.state.type)){let A=this.parseTaggedTemplateExpression(t,o,p,$);return A.typeParameters=ar,A}if(!y&&this.eat(10)){let A=this.startNodeAt(o,p);return A.callee=t,A.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(A.arguments),A.typeParameters=ar,$.optionalChainMember&&(A.optional=he),this.finishCallExpression(A,$.optionalChainMember)}if(yi(this.state.type)&&this.state.type!==10)throw this.unexpected();let d=this.startNodeAt(o,p);return d.expression=t,d.typeParameters=ar,this.finishNode(d,"TSInstantiationExpression")});if(Ye&&this.unexpected(Ye,10),At)return At}return super.parseSubscript(t,o,p,y,$)}parseNewCallee(t){var o;super.parseNewCallee(t);let{callee:p}=t;p.type==="TSInstantiationExpression"&&!((o=p.extra)!=null&&o.parenthesized)&&(t.typeParameters=p.typeParameters,t.callee=p.expression)}parseExprOp(t,o,p,y){if(Hs(58)>y&&!this.hasPrecedingLineBreak()&&this.isContextual(93)){let $=this.startNodeAt(o,p);$.expression=t;let he=this.tsTryNextParseConstantContext();return he?$.typeAnnotation=he:$.typeAnnotation=this.tsNextThenParseType(),this.finishNode($,"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp($,o,p,y)}return super.parseExprOp(t,o,p,y)}checkReservedWord(t,o,p,y){this.state.isAmbientContext||super.checkReservedWord(t,o,p,y)}checkDuplicateExports(){}parseImport(t){if(t.importKind="value",jn(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()),jn(this.state.type)&&p.type===29)return this.tsParseImportEqualsDeclaration(t)}let o=super.parseImport(t);return o.importKind==="type"&&o.specifiers.length>1&&o.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(en.TypeImportCannotSpecifyDefaultAndNamed,{at:o}),o}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 o=t;return o.expression=this.parseExpression(),this.semicolon(),this.finishNode(o,"TSExportAssignment")}else if(this.eatContextual(93)){let o=t;return this.expectContextual(124),o.id=this.parseIdentifier(),this.semicolon(),this.finishNode(o,"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,o){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,{isAmbientContext:y}=this.state,$=super.parseVarStatement(t,o,p||y);if(!y)return $;for(let{id:he,init:Ye}of $.declarations)!Ye||(o!=="const"||!!he.typeAnnotation?this.raise(en.InitializerNotAllowedInAmbientContext,{at:Ye}):Ye.type!=="StringLiteral"&&Ye.type!=="BooleanLiteral"&&Ye.type!=="NumericLiteral"&&Ye.type!=="BigIntLiteral"&&(Ye.type!=="TemplateLiteral"||Ye.expressions.length>0)&&!Wr(Ye)&&this.raise(en.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:Ye}));return $}parseStatementContent(t,o){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,o)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(t,o){return o.some(p=>mi(p)?t.accessibility===p:!!t[p])}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&this.lookaheadCharCode()===123}parseClassMember(t,o,p){let y=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({modified:o,allowedModifiers:y,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:en.InvalidModifierOnTypeParameterPositions});let $=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(o,y)&&this.raise(en.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),this.parseClassStaticBlock(t,o)):this.parseClassMemberWithIsStatic(t,o,p,!!o.static)};o.declare?this.tsInAmbientContext($):$()}parseClassMemberWithIsStatic(t,o,p,y){let $=this.tsTryParseIndexSignature(o);if($){t.body.push($),o.abstract&&this.raise(en.IndexSignatureHasAbstract,{at:o}),o.accessibility&&this.raise(en.IndexSignatureHasAccessibility,{at:o,modifier:o.accessibility}),o.declare&&this.raise(en.IndexSignatureHasDeclare,{at:o}),o.override&&this.raise(en.IndexSignatureHasOverride,{at:o});return}!this.state.inAbstractClass&&o.abstract&&this.raise(en.NonAbstractClassHasAbstractMethod,{at:o}),o.override&&(p.hadSuperClass||this.raise(en.OverrideNotInSubClass,{at:o})),super.parseClassMemberWithIsStatic(t,o,p,y)}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,o){return(o.type==="Identifier"?this.tsParseExpressionStatement(t,o):void 0)||super.parseExpressionStatement(t,o)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(t,o,p,y){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(t,o,p,y);let $=this.tryParse(()=>super.parseConditional(t,o,p));return $.node?($.error&&(this.state=$.failState),$.node):($.error&&super.setOptionalParametersError(y,$.error),t)}parseParenItem(t,o,p){if(t=super.parseParenItem(t,o,p),this.eat(17)&&(t.optional=!0,this.resetEndLocation(t)),this.match(14)){let y=this.startNodeAt(o,p);return y.expression=t,y.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(y,"TSTypeCastExpression")}return t}parseExportDeclaration(t){if(!this.state.isAmbientContext&&this.isContextual(121))return this.tsInAmbientContext(()=>this.parseExportDeclaration(t));let o=this.state.start,p=this.state.startLoc,y=this.eatContextual(121);if(y&&(this.isContextual(121)||!this.shouldParseExportDeclaration()))throw this.raise(en.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let $=jn(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(t);return $?(($.type==="TSInterfaceDeclaration"||$.type==="TSTypeAliasDeclaration"||y)&&(t.exportKind="type"),y&&(this.resetStartLocation($,o,p),$.declare=!0),$):null}parseClassId(t,o,p){if((!o||p)&&this.isContextual(110))return;super.parseClassId(t,o,p,t.declare?sl:iu);let y=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));y&&(t.typeParameters=y)}parseClassPropertyAnnotation(t){!t.optional&&this.eat(35)&&(t.definite=!0);let o=this.tsTryParseTypeAnnotation();o&&(t.typeAnnotation=o)}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:o}=t;this.raise(en.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:o.type==="Identifier"&&!t.computed?o.name:"[".concat(this.input.slice(o.start,o.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,o,p,y,$,he){let Ye=this.tsTryParseTypeParameters();Ye&&$&&this.raise(en.ConstructorHasTypeParameters,{at:Ye});let{declare:At=!1,kind:ar}=o;At&&(ar==="get"||ar==="set")&&this.raise(en.DeclareAccessor,{at:o,kind:ar}),Ye&&(o.typeParameters=Ye),super.pushClassMethod(t,o,p,y,$,he)}pushClassPrivateMethod(t,o,p,y){let $=this.tsTryParseTypeParameters();$&&(o.typeParameters=$),super.pushClassPrivateMethod(t,o,p,y)}declareClassPrivateMethodInScope(t,o){t.type!=="TSDeclareMethod"&&(t.type==="MethodDefinition"&&!t.value.body||super.declareClassPrivateMethodInScope(t,o))}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 o=this.tsTryParseTypeParameters();o&&(t.typeParameters=o);for(var p=arguments.length,y=new Array(p>1?p-1:0),$=1;$<p;$++)y[$-1]=arguments[$];super.parseObjPropValue(t,...y)}parseFunctionParams(t,o){let p=this.tsTryParseTypeParameters();p&&(t.typeParameters=p),super.parseFunctionParams(t,o)}parseVarId(t,o){super.parseVarId(t,o),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,o){return this.match(14)&&(t.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(t,o)}parseMaybeAssign(){for(var t=arguments.length,o=new Array(t),p=0;p<t;p++)o[p]=arguments[p];var y,$,he,Ye,At,ar,d;let A,m,b;if(this.hasPlugin("jsx")&&(this.match(138)||this.match(47))){if(A=this.state.clone(),m=this.tryParse(()=>super.parseMaybeAssign(...o),A),!m.error)return m.node;let{context:D}=this.state,w=D[D.length-1];(w===Bi.j_oTag||w===Bi.j_expr)&&D.pop()}if(!((y=m)!=null&&y.error)&&!this.match(47))return super.parseMaybeAssign(...o);let E;A=A||this.state.clone();let g=this.tryParse(D=>{var w,F,B;E=this.tsParseTypeParameters();let H=super.parseMaybeAssign(...o);return(H.type!=="ArrowFunctionExpression"||(w=H.extra)!=null&&w.parenthesized)&&D(),((F=E)==null?void 0:F.params.length)!==0&&this.resetStartLocationFromNode(H,E),H.typeParameters=E,this.hasPlugin("jsx")&&H.typeParameters.params.length===1&&!((B=H.typeParameters.extra)!=null&&B.trailingComma)&&H.typeParameters.params[0].constraint,H},A);if(!g.error&&!g.aborted)return E&&this.reportReservedArrowTypeParam(E),g.node;if(!m&&(qn(!this.hasPlugin("jsx")),b=this.tryParse(()=>super.parseMaybeAssign(...o),A),!b.error))return b.node;if(($=m)!=null&&$.node)return this.state=m.failState,m.node;if(g.node)return this.state=g.failState,E&&this.reportReservedArrowTypeParam(E),g.node;if((he=b)!=null&&he.node)return this.state=b.failState,b.node;throw(Ye=m)!=null&&Ye.thrown?m.error:g.thrown?g.error:(At=b)!=null&&At.thrown?b.error:((ar=m)==null?void 0:ar.error)||g.error||((d=b)==null?void 0:d.error)}reportReservedArrowTypeParam(t){var o;t.params.length===1&&!((o=t.extra)!=null&&o.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 o=this.tryParse(p=>{let y=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&p(),y});if(o.aborted)return;o.thrown||(o.error&&(this.state=o.failState),t.returnType=o.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 o=this.tsTryParseTypeAnnotation();return o&&(t.typeAnnotation=o),this.resetEndLocation(t),t}isAssignable(t,o){switch(t.type){case"TSTypeCastExpression":return this.isAssignable(t.expression,o);case"TSParameterProperty":return!0;default:return super.isAssignable(t,o)}}toAssignable(t){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;switch(t.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(t,o);break;case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":o?this.expressionScope.recordArrowParemeterBindingError(en.UnexpectedTypeCastInParameter,{at:t}):this.raise(en.UnexpectedTypeCastInParameter,{at:t}),this.toAssignable(t.expression,o);break;case"AssignmentExpression":!o&&t.left.type==="TSTypeCastExpression"&&(t.left=this.typeCastToParameter(t.left));default:super.toAssignable(t,o)}}toAssignableParenthesizedExpression(t,o){switch(t.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(t.expression,o);break;default:super.toAssignable(t,o)}}checkToRestConversion(t,o){switch(t.type){case"TSAsExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(t.expression,!1);break;default:super.checkToRestConversion(t,o)}}isValidLVal(t,o,p){return dn({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(p!==wa||!o)&&["expression",!0],TSTypeAssertion:(p!==wa||!o)&&["expression",!0]},t)||super.isValidLVal(t,o,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 o=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let p=super.parseMaybeDecoratorArguments(t);return p.typeParameters=o,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 o=0;o<t.length;o++){let p=t[o];(p==null?void 0:p.type)==="TSTypeCastExpression"&&(t[o]=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(o=>this.isAssignable(o,!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 o=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());o&&(t.typeParameters=o)}return super.jsxParseOpeningElementAfterName(t)}getGetterSetterExpectedParamCount(t){let o=super.getGetterSetterExpectedParamCount(t),p=this.getObjectOrClassMethodParams(t)[0];return p&&this.isThisParam(p)?o+1:o}parseCatchClauseParam(){let t=super.parseCatchClauseParam(),o=this.tsTryParseTypeAnnotation();return o&&(t.typeAnnotation=o,this.resetEndLocation(t)),t}tsInAmbientContext(t){let o=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return t()}finally{this.state.isAmbientContext=o}}parseClass(t){let o=this.state.inAbstractClass;this.state.inAbstractClass=!!t.abstract;try{for(var p=arguments.length,y=new Array(p>1?p-1:0),$=1;$<p;$++)y[$-1]=arguments[$];return super.parseClass(t,...y)}finally{this.state.inAbstractClass=o}}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:o}=t;this.raise(en.AbstractMethodHasImplementation,{at:t,methodName:o.type==="Identifier"&&!t.computed?o.name:"[".concat(this.input.slice(o.start,o.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,o,p,y){return!o&&y?(this.parseTypeOnlyImportExportSpecifier(t,!1,p),this.finishNode(t,"ExportSpecifier")):(t.exportKind="value",super.parseExportSpecifier(t,o,p,y))}parseImportSpecifier(t,o,p,y){return!o&&y?(this.parseTypeOnlyImportExportSpecifier(t,!0,p),this.finishNode(t,"ImportSpecifier")):(t.importKind="value",super.parseImportSpecifier(t,o,p,y))}parseTypeOnlyImportExportSpecifier(t,o,p){let y=o?"imported":"local",$=o?"local":"exported",he=t[y],Ye,At=!1,ar=!0,d=he.loc.start;if(this.isContextual(93)){let m=this.parseIdentifier();if(this.isContextual(93)){let b=this.parseIdentifier();ds(this.state.type)?(At=!0,he=m,Ye=o?this.parseIdentifier():this.parseModuleExportName(),ar=!1):(Ye=b,ar=!1)}else ds(this.state.type)?(ar=!1,Ye=o?this.parseIdentifier():this.parseModuleExportName()):(At=!0,he=m)}else ds(this.state.type)&&(At=!0,o?(he=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(he.name,he.loc.start,!0,!0)):he=this.parseModuleExportName());At&&p&&this.raise(o?en.TypeModifierIsUsedInTypeImports:en.TypeModifierIsUsedInTypeExports,{at:d}),t[y]=he,t[$]=Ye;let A=o?"importKind":"exportKind";t[A]=At?"type":"value",ar&&this.eatContextual(93)&&(t[$]=o?this.parseIdentifier():this.parseModuleExportName()),t[$]||(t[$]=K(t[y])),o&&this.checkIdentifier(t[$],Aa)}};function Wr(i){if(i.type!=="MemberExpression")return!1;let{computed:t,property:o}=i;return t&&o.type!=="StringLiteral"&&(o.type!=="TemplateLiteral"||o.expressions.length>0)?!1:Cn(i.object)}function Cn(i){return i.type==="Identifier"?!0:i.type!=="MemberExpression"||i.computed?!1:Cn(i.object)}var Or=ji(Mr||(Mr=sn(["placeholders"])))(i=>({ClassNameIsRequired:i("A class name is required."),UnexpectedSpace:i("Unexpected space in placeholder.")})),Ks=i=>class extends i{parsePlaceholder(t){if(this.match(140)){let o=this.startNode();return this.next(),this.assertNoSpace(),o.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(140),this.finishPlaceholder(o,t)}}finishPlaceholder(t,o){let p=!!(t.expectedNode&&t.type==="Placeholder");return t.expectedNode=o,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 o=arguments.length,p=new Array(o>1?o-1:0),y=1;y<o;y++)p[y-1]=arguments[y];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,o){if(o.type!=="Placeholder"||o.extra&&o.extra.parenthesized)return super.parseExpressionStatement(...arguments);if(this.match(14)){let p=t;return p.label=this.finishPlaceholder(o,"Identifier"),this.next(),p.body=this.parseStatement("label"),this.finishNode(p,"LabeledStatement")}return this.semicolon(),t.name=o.name,this.finishPlaceholder(t,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(t,o,p){let y=o?"ClassDeclaration":"ClassExpression";this.next(),this.takeDecorators(t);let $=this.state.strict,he=this.parsePlaceholder("Identifier");if(he)if(this.match(81)||this.match(140)||this.match(5))t.id=he;else{if(p||!o)return t.id=null,t.body=this.finishPlaceholder(he,"ClassBody"),this.finishNode(t,y);throw this.raise(Or.ClassNameIsRequired,{at:this.state.startLoc})}else this.parseClassId(t,o,p);return this.parseClassSuper(t),t.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!t.superClass,$),this.finishNode(t,y)}parseExport(t){let o=this.parsePlaceholder("Identifier");if(!o)return super.parseExport(...arguments);if(!this.isContextual(97)&&!this.match(12))return t.specifiers=[],t.source=null,t.declaration=this.finishPlaceholder(o,"Declaration"),this.finishNode(t,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let p=this.startNode();return p.exported=o,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(Ms(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:o}=t;o!=null&&o.length&&(t.specifiers=o.filter(p=>p.exported.type==="Placeholder")),super.checkExport(t),t.specifiers=o}parseImport(t){let o=this.parsePlaceholder("Identifier");if(!o)return super.parseImport(...arguments);if(t.specifiers=[],!this.isContextual(97)&&!this.match(12))return t.source=this.finishPlaceholder(o,"StringLiteral"),this.semicolon(),this.finishNode(t,"ImportDeclaration");let p=this.startNodeAtNode(o);return p.local=o,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(Or.UnexpectedSpace,{at:this.state.lastTokEndLoc})}},ms=i=>class extends i{parseV8Intrinsic(){if(this.match(54)){let t=this.state.startLoc,o=this.startNode();if(this.next(),jn(this.state.type)){let p=this.parseIdentifierName(this.state.start),y=this.createIdentifier(o,p);if(y.type="V8IntrinsicIdentifier",this.match(10))return y}this.unexpected(t)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}};function rs(i,t){let[o,p]=typeof t=="string"?[t,{}]:t,y=Object.keys(p),$=y.length===0;return i.some(he=>{if(typeof he=="string")return $&&he===o;{let[Ye,At]=he;if(Ye!==o)return!1;for(let ar of y)if(At[ar]!==p[ar])return!1;return!0}})}function fs(i,t,o){let p=i.find(y=>Array.isArray(y)?y[0]===t:y===t);return p&&Array.isArray(p)?p[1][o]:null}var ns=["minimal","fsharp","hack","smart"],ri=["^^","@@","^","%","#"],Oi=["hash","bar"];function xi(i){if(rs(i,"decorators")){if(rs(i,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let t=fs(i,"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(rs(i,"flow")&&rs(i,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(rs(i,"placeholders")&&rs(i,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(rs(i,"pipelineOperator")){let t=fs(i,"pipelineOperator","proposal");if(!ns.includes(t)){let p=ns.map(y=>'"'.concat(y,'"')).join(", ");throw new Error('"pipelineOperator" requires "proposal" option whose value must be one of: '.concat(p,"."))}let o=rs(i,["recordAndTuple",{syntaxType:"hash"}]);if(t==="hack"){if(rs(i,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(rs(i,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let p=fs(i,"pipelineOperator","topicToken");if(!ri.includes(p)){let y=ri.map($=>'"'.concat($,'"')).join(", ");throw new Error('"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: '.concat(y,"."))}if(p==="#"&&o)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if(t==="smart"&&o)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(rs(i,"moduleAttributes")){if(rs(i,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if(fs(i,"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(rs(i,"recordAndTuple")&&!Oi.includes(fs(i,"recordAndTuple","syntaxType")))throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Oi.map(t=>"'".concat(t,"'")).join(", "));if(rs(i,"asyncDoExpressions")&&!rs(i,"doExpressions")){let t=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw t.missingPlugins="doExpressions",t}}var Ci={estree:Co,jsx:vt,flow:Ie,typescript:xn,v8intrinsic:ms,placeholders:Ks},Vt=Object.keys(Ci),kr={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 Lr(i){let t={};for(let o of Object.keys(kr))t[o]=i&&i[o]!=null?i[o]:kr[o];return t}var In=(i,t)=>Object.hasOwnProperty.call(i,t)&&i[t],Mt=i=>i.type==="ParenthesizedExpression"?Mt(i.expression):i,si=class extends Ae{toAssignable(i){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var o,p;let y;switch((i.type==="ParenthesizedExpression"||(o=i.extra)!=null&&o.parenthesized)&&(y=Mt(i),t?y.type==="Identifier"?this.expressionScope.recordArrowParemeterBindingError(dt.InvalidParenthesizedAssignment,{at:i}):y.type!=="MemberExpression"&&this.raise(dt.InvalidParenthesizedAssignment,{at:i}):this.raise(dt.InvalidParenthesizedAssignment,{at:i})),i.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":i.type="ObjectPattern";for(let he=0,Ye=i.properties.length,At=Ye-1;he<Ye;he++){var $;let ar=i.properties[he],d=he===At;this.toAssignableObjectExpressionProp(ar,d,t),d&&ar.type==="RestElement"&&($=i.extra)!=null&&$.trailingCommaLoc&&this.raise(dt.RestTrailingComma,{at:i.extra.trailingCommaLoc})}break;case"ObjectProperty":{let{key:he,value:Ye}=i;this.isPrivateName(he)&&this.classScope.usePrivateName(this.getPrivateNameSV(he),he.loc.start),this.toAssignable(Ye,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":i.type="ArrayPattern",this.toAssignableList(i.elements,(p=i.extra)==null?void 0:p.trailingCommaLoc,t);break;case"AssignmentExpression":i.operator!=="="&&this.raise(dt.MissingEqInAssignment,{at:i.left.loc.end}),i.type="AssignmentPattern",delete i.operator,this.toAssignable(i.left,t);break;case"ParenthesizedExpression":this.toAssignable(y,t);break}}toAssignableObjectExpressionProp(i,t,o){if(i.type==="ObjectMethod")this.raise(i.kind==="get"||i.kind==="set"?dt.PatternHasAccessor:dt.PatternHasMethod,{at:i.key});else if(i.type==="SpreadElement"){i.type="RestElement";let p=i.argument;this.checkToRestConversion(p,!1),this.toAssignable(p,o),t||this.raise(dt.RestTrailingComma,{at:i})}else this.toAssignable(i,o)}toAssignableList(i,t,o){let p=i.length-1;for(let y=0;y<=p;y++){let $=i[y];if($){if($.type==="SpreadElement"){$.type="RestElement";let he=$.argument;this.checkToRestConversion(he,!0),this.toAssignable(he,o)}else this.toAssignable($,o);$.type==="RestElement"&&(y<p?this.raise(dt.RestTrailingComma,{at:$}):t&&this.raise(dt.RestTrailingComma,{at:t}))}}}isAssignable(i,t){switch(i.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let o=i.properties.length-1;return i.properties.every((p,y)=>p.type!=="ObjectMethod"&&(y===o||p.type!=="SpreadElement")&&this.isAssignable(p))}case"ObjectProperty":return this.isAssignable(i.value);case"SpreadElement":return this.isAssignable(i.argument);case"ArrayExpression":return i.elements.every(o=>o===null||this.isAssignable(o));case"AssignmentExpression":return i.operator==="=";case"ParenthesizedExpression":return this.isAssignable(i.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return!1}}toReferencedList(i,t){return i}toReferencedListDeep(i,t){this.toReferencedList(i,t);for(let o of i)(o==null?void 0:o.type)==="ArrayExpression"&&this.toReferencedListDeep(o.elements)}parseSpread(i,t){let o=this.startNode();return this.next(),o.argument=this.parseMaybeAssignAllowIn(i,void 0,t),this.finishNode(o,"SpreadElement")}parseRestBinding(){let i=this.startNode();return this.next(),i.argument=this.parseBindingAtom(),this.finishNode(i,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let i=this.startNode();return this.next(),i.elements=this.parseBindingList(3,93,!0),this.finishNode(i,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(i,t,o,p){let y=[],$=!0;for(;!this.eat(i);)if($?$=!1:this.expect(12),o&&this.match(12))y.push(null);else{if(this.eat(i))break;if(this.match(21)){if(y.push(this.parseAssignableListItemTypes(this.parseRestBinding())),!this.checkCommaAfterRest(t)){this.expect(i);break}}else{let he=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(dt.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)he.push(this.parseDecorator());y.push(this.parseAssignableListItem(p,he))}}return y}parseBindingRestProperty(i){return this.next(),i.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(i,"RestElement")}parseBindingProperty(){let i=this.startNode(),{type:t,start:o,startLoc:p}=this.state;return t===21?this.parseBindingRestProperty(i):(t===134?(this.expectPlugin("destructuringPrivate",p),this.classScope.usePrivateName(this.state.value,p),i.key=this.parsePrivateName()):this.parsePropertyName(i),i.method=!1,this.parseObjPropValue(i,o,p,!1,!1,!0,!1),i)}parseAssignableListItem(i,t){let o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);let p=this.parseMaybeDefault(o.start,o.loc.start,o);return t.length&&(o.decorators=t),p}parseAssignableListItemTypes(i){return i}parseMaybeDefault(i,t,o){var p,y,$;if(t=(p=t)!=null?p:this.state.startLoc,i=(y=i)!=null?y:this.state.start,o=($=o)!=null?$:this.parseBindingAtom(),!this.eat(29))return o;let he=this.startNodeAt(i,t);return he.left=o,he.right=this.parseMaybeAssignAllowIn(),this.finishNode(he,"AssignmentPattern")}isValidLVal(i,t,o){return In({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},i)}checkLVal(i,t){let{in:o,binding:p=wa,checkClashes:y=!1,strictModeChanged:$=!1,allowingSloppyLetBinding:he=!(p&ba),hasParenthesizedAncestor:Ye=!1}=t;var At;let ar=i.type;if(this.isObjectMethod(i))return;if(ar==="MemberExpression"){p!==wa&&this.raise(dt.InvalidPropertyBindingPattern,{at:i});return}if(i.type==="Identifier"){this.checkIdentifier(i,p,$,he);let{name:E}=i;y&&(y.has(E)?this.raise(dt.ParamDupe,{at:i}):y.add(E));return}let d=this.isValidLVal(i.type,!(Ye||(At=i.extra)!=null&&At.parenthesized)&&o.type==="AssignmentExpression",p);if(d===!0)return;if(d===!1){let E=p===wa?dt.InvalidLhs:dt.InvalidLhsBinding;this.raise(E,{at:i,ancestor:o.type==="UpdateExpression"?{type:"UpdateExpression",prefix:o.prefix}:{type:o.type}});return}let[A,m]=Array.isArray(d)?d:[d,ar==="ParenthesizedExpression"],b=i.type==="ArrayPattern"||i.type==="ObjectPattern"||i.type==="ParenthesizedExpression"?i:o;for(let E of[].concat(i[A]))E&&this.checkLVal(E,{in:b,binding:p,checkClashes:y,allowingSloppyLetBinding:he,strictModeChanged:$,hasParenthesizedAncestor:m})}checkIdentifier(i,t){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!(t&ba);this.state.strict&&(o?Va(i.name,this.inModule):Ea(i.name))&&(t===wa?this.raise(dt.StrictEvalArguments,{at:i,referenceName:i.name}):this.raise(dt.StrictEvalArgumentsBinding,{at:i,bindingName:i.name})),!p&&i.name==="let"&&this.raise(dt.LetInLexicalBinding,{at:i}),t&wa||this.declareNameFromIdentifier(i,t)}declareNameFromIdentifier(i,t){this.scope.declareName(i.name,t,i.loc.start)}checkToRestConversion(i,t){switch(i.type){case"ParenthesizedExpression":this.checkToRestConversion(i.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(dt.InvalidRestAssignmentPattern,{at:i})}}checkCommaAfterRest(i){return this.match(12)?(this.raise(this.lookaheadCharCode()===i?dt.RestTrailingComma:dt.ElementAfterRest,{at:this.state.startLoc}),!0):!1}},ei=class extends si{checkProto(i,t,o,p){if(i.type==="SpreadElement"||this.isObjectMethod(i)||i.computed||i.shorthand)return;let y=i.key;if((y.type==="Identifier"?y.name:y.value)==="__proto__"){if(t){this.raise(dt.RecordNoProto,{at:y});return}o.used&&(p?p.doubleProtoLoc===null&&(p.doubleProtoLoc=y.loc.start):this.raise(dt.DuplicateProto,{at:y})),o.used=!0}}shouldExitDescending(i,t){return i.type==="ArrowFunctionExpression"&&i.start===t}getExpression(){this.enterInitialScopes(),this.nextToken();let i=this.parseExpression();return this.match(135)||this.unexpected(),this.finalizeRemainingComments(),i.comments=this.state.comments,i.errors=this.state.errors,this.options.tokens&&(i.tokens=this.tokens),i}parseExpression(i,t){return i?this.disallowInAnd(()=>this.parseExpressionBase(t)):this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(i){let t=this.state.start,o=this.state.startLoc,p=this.parseMaybeAssign(i);if(this.match(12)){let y=this.startNodeAt(t,o);for(y.expressions=[p];this.eat(12);)y.expressions.push(this.parseMaybeAssign(i));return this.toReferencedList(y.expressions),this.finishNode(y,"SequenceExpression")}return p}parseMaybeAssignDisallowIn(i,t){return this.disallowInAnd(()=>this.parseMaybeAssign(i,t))}parseMaybeAssignAllowIn(i,t){return this.allowInAnd(()=>this.parseMaybeAssign(i,t))}setOptionalParametersError(i,t){var o;i.optionalParametersLoc=(o=t==null?void 0:t.loc)!=null?o:this.state.startLoc}parseMaybeAssign(i,t){let o=this.state.start,p=this.state.startLoc;if(this.isContextual(105)&&this.prodParam.hasYield){let Ye=this.parseYield();return t&&(Ye=t.call(this,Ye,o,p)),Ye}let y;i?y=!1:(i=new So,y=!0);let{type:$}=this.state;($===10||jn($))&&(this.state.potentialArrowAt=this.state.start);let he=this.parseMaybeConditional(i);if(t&&(he=t.call(this,he,o,p)),ts(this.state.type)){let Ye=this.startNodeAt(o,p),At=this.state.value;return Ye.operator=At,this.match(29)?(this.toAssignable(he,!0),Ye.left=he,i.doubleProtoLoc!=null&&i.doubleProtoLoc.index>=o&&(i.doubleProtoLoc=null),i.shorthandAssignLoc!=null&&i.shorthandAssignLoc.index>=o&&(i.shorthandAssignLoc=null),i.privateKeyLoc!=null&&i.privateKeyLoc.index>=o&&(this.checkDestructuringPrivate(i),i.privateKeyLoc=null)):Ye.left=he,this.next(),Ye.right=this.parseMaybeAssign(),this.checkLVal(he,{in:this.finishNode(Ye,"AssignmentExpression")}),Ye}else y&&this.checkExpressionErrors(i,!0);return he}parseMaybeConditional(i){let t=this.state.start,o=this.state.startLoc,p=this.state.potentialArrowAt,y=this.parseExprOps(i);return this.shouldExitDescending(y,p)?y:this.parseConditional(y,t,o,i)}parseConditional(i,t,o,p){if(this.eat(17)){let y=this.startNodeAt(t,o);return y.test=i,y.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),y.alternate=this.parseMaybeAssign(),this.finishNode(y,"ConditionalExpression")}return i}parseMaybeUnaryOrPrivate(i){return this.match(134)?this.parsePrivateName():this.parseMaybeUnary(i)}parseExprOps(i){let t=this.state.start,o=this.state.startLoc,p=this.state.potentialArrowAt,y=this.parseMaybeUnaryOrPrivate(i);return this.shouldExitDescending(y,p)?y:this.parseExprOp(y,t,o,-1)}parseExprOp(i,t,o,p){if(this.isPrivateName(i)){let $=this.getPrivateNameSV(i);(p>=Hs(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(dt.PrivateInExpectedIn,{at:i,identifierName:$}),this.classScope.usePrivateName($,i.loc.start)}let y=this.state.type;if(Hr(y)&&(this.prodParam.hasIn||!this.match(58))){let $=Hs(y);if($>p){if(y===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return i;this.checkPipelineAtInfixOperator(i,o)}let he=this.startNodeAt(t,o);he.left=i,he.operator=this.state.value;let Ye=y===41||y===42,At=y===40;if(At&&($=Hs(42)),this.next(),y===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(dt.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});he.right=this.parseExprOpRightExpr(y,$),this.finishNode(he,Ye||At?"LogicalExpression":"BinaryExpression");let ar=this.state.type;if(At&&(ar===41||ar===42)||Ye&&ar===40)throw this.raise(dt.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(he,t,o,p)}}return i}parseExprOpRightExpr(i,t){let o=this.state.start,p=this.state.startLoc;switch(i){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(i,t),o,p)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(t))}default:return this.parseExprOpBaseRightExpr(i,t)}}parseExprOpBaseRightExpr(i,t){let o=this.state.start,p=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),o,p,Ds(i)?t-1:t)}parseHackPipeBody(){var i;let{startLoc:t}=this.state,o=this.parseMaybeAssign();return ls.has(o.type)&&!((i=o.extra)!=null&&i.parenthesized)&&this.raise(dt.PipeUnparenthesizedBody,{at:t,type:o.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(dt.PipeTopicUnused,{at:t}),o}checkExponentialAfterUnary(i){this.match(57)&&this.raise(dt.UnexpectedTokenUnaryExponentiation,{at:i.argument})}parseMaybeUnary(i,t){let o=this.state.start,p=this.state.startLoc,y=this.isContextual(96);if(y&&this.isAwaitAllowed()){this.next();let At=this.parseAwait(o,p);return t||this.checkExponentialAfterUnary(At),At}let $=this.match(34),he=this.startNode();if(wn(this.state.type)){he.operator=this.state.value,he.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let At=this.match(89);if(this.next(),he.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(i,!0),this.state.strict&&At){let ar=he.argument;ar.type==="Identifier"?this.raise(dt.StrictDelete,{at:he}):this.hasPropertyAsPrivateName(ar)&&this.raise(dt.DeletePrivateField,{at:he})}if(!$)return t||this.checkExponentialAfterUnary(he),this.finishNode(he,"UnaryExpression")}let Ye=this.parseUpdate(he,$,i);if(y){let{type:At}=this.state;if((this.hasPlugin("v8intrinsic")?_i(At):_i(At)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(dt.AwaitNotInAsyncContext,{at:p}),this.parseAwait(o,p)}return Ye}parseUpdate(i,t,o){if(t)return this.checkLVal(i.argument,{in:this.finishNode(i,"UpdateExpression")}),i;let p=this.state.start,y=this.state.startLoc,$=this.parseExprSubscripts(o);if(this.checkExpressionErrors(o,!1))return $;for(;hr(this.state.type)&&!this.canInsertSemicolon();){let he=this.startNodeAt(p,y);he.operator=this.state.value,he.prefix=!1,he.argument=$,this.next(),this.checkLVal($,{in:$=this.finishNode(he,"UpdateExpression")})}return $}parseExprSubscripts(i){let t=this.state.start,o=this.state.startLoc,p=this.state.potentialArrowAt,y=this.parseExprAtom(i);return this.shouldExitDescending(y,p)?y:this.parseSubscripts(y,t,o)}parseSubscripts(i,t,o,p){let y={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(i),stop:!1};do i=this.parseSubscript(i,t,o,p,y),y.maybeAsyncArrow=!1;while(!y.stop);return i}parseSubscript(i,t,o,p,y){let{type:$}=this.state;if(!p&&$===15)return this.parseBind(i,t,o,p,y);if(Ps($))return this.parseTaggedTemplateExpression(i,t,o,y);let he=!1;if($===18){if(p&&this.lookaheadCharCode()===40)return y.stop=!0,i;y.optionalChainMember=he=!0,this.next()}if(!p&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(i,t,o,y,he);{let Ye=this.eat(0);return Ye||he||this.eat(16)?this.parseMember(i,t,o,y,Ye,he):(y.stop=!0,i)}}parseMember(i,t,o,p,y,$){let he=this.startNodeAt(t,o);return he.object=i,he.computed=y,y?(he.property=this.parseExpression(),this.expect(3)):this.match(134)?(i.type==="Super"&&this.raise(dt.SuperPrivateField,{at:o}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),he.property=this.parsePrivateName()):he.property=this.parseIdentifier(!0),p.optionalChainMember?(he.optional=$,this.finishNode(he,"OptionalMemberExpression")):this.finishNode(he,"MemberExpression")}parseBind(i,t,o,p,y){let $=this.startNodeAt(t,o);return $.object=i,this.next(),$.callee=this.parseNoCallExpr(),y.stop=!0,this.parseSubscripts(this.finishNode($,"BindExpression"),t,o,p)}parseCoverCallAndAsyncArrowHead(i,t,o,p,y){let $=this.state.maybeInArrowParameters,he=null;this.state.maybeInArrowParameters=!0,this.next();let Ye=this.startNodeAt(t,o);Ye.callee=i;let{maybeAsyncArrow:At,optionalChainMember:ar}=p;return At&&(this.expressionScope.enter(Jo()),he=new So),ar&&(Ye.optional=y),y?Ye.arguments=this.parseCallExpressionArguments(11):Ye.arguments=this.parseCallExpressionArguments(11,i.type==="Import",i.type!=="Super",Ye,he),this.finishCallExpression(Ye,ar),At&&this.shouldParseAsyncArrow()&&!y?(p.stop=!0,this.checkDestructuringPrivate(he),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),Ye=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,o),Ye)):(At&&(this.checkExpressionErrors(he,!0),this.expressionScope.exit()),this.toReferencedArguments(Ye)),this.state.maybeInArrowParameters=$,Ye}toReferencedArguments(i,t){this.toReferencedListDeep(i.arguments,t)}parseTaggedTemplateExpression(i,t,o,p){let y=this.startNodeAt(t,o);return y.tag=i,y.quasi=this.parseTemplate(!0),p.optionalChainMember&&this.raise(dt.OptionalChainingNoTemplate,{at:o}),this.finishNode(y,"TaggedTemplateExpression")}atPossibleAsyncArrow(i){return i.type==="Identifier"&&i.name==="async"&&this.state.lastTokEndLoc.index===i.end&&!this.canInsertSemicolon()&&i.end-i.start===5&&i.start===this.state.potentialArrowAt}finishCallExpression(i,t){if(i.callee.type==="Import")if(i.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),i.arguments.length===0||i.arguments.length>2)this.raise(dt.ImportCallArity,{at:i,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let o of i.arguments)o.type==="SpreadElement"&&this.raise(dt.ImportCallSpreadArgument,{at:o});return this.finishNode(i,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(i,t,o,p,y){let $=[],he=!0,Ye=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(i);){if(he)he=!1;else if(this.expect(12),this.match(i)){t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(dt.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),p&&this.addTrailingCommaExtraToNode(p),this.next();break}$.push(this.parseExprListItem(!1,y,o))}return this.state.inFSharpPipelineDirectBody=Ye,$}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(i,t){var o;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(i,t.arguments,!0,(o=t.extra)==null?void 0:o.trailingCommaLoc),t.innerComments&&na(i,t.innerComments),t.callee.trailingComments&&na(i,t.callee.trailingComments),i}parseNoCallExpr(){let i=this.state.start,t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),i,t,!0)}parseExprAtom(i){let t,{type:o}=this.state;switch(o){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,i);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,i);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(Ts(p)||p===62){this.expectOnePlugin(["jsx","flow","typescript"]);break}else throw this.unexpected()}default:if(jn(o)){if(this.isContextual(123)&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak())return this.parseModuleExpression();let p=this.state.potentialArrowAt===this.state.start,y=this.state.containsEsc,$=this.parseIdentifier();if(!y&&$.name==="async"&&!this.canInsertSemicolon()){let{type:he}=this.state;if(he===68)return this.resetPreviousNodeTrailingComments($),this.next(),this.parseFunction(this.startNodeAtNode($),void 0,!0);if(jn(he))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode($)):$;if(he===90)return this.resetPreviousNodeTrailingComments($),this.parseDo(this.startNodeAtNode($),!0)}return p&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode($),[$],!1)):$}else throw this.unexpected()}}parseTopicReferenceThenEqualsSign(i,t){let o=this.getPluginOption("pipelineOperator","proposal");if(o)return this.state.type=i,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=pn(this.state.endLoc,-1),this.parseTopicReference(o);throw this.unexpected()}parseTopicReference(i){let t=this.startNode(),o=this.state.startLoc,p=this.state.type;return this.next(),this.finishTopicReference(t,o,i,p)}finishTopicReference(i,t,o,p){if(this.testTopicReferenceConfiguration(o,t,p)){let y=o==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(o==="smart"?dt.PrimaryTopicNotAllowed:dt.PipeTopicUnbound,{at:t}),this.registerTopicReference(),this.finishNode(i,y)}else throw this.raise(dt.PipeTopicUnconfiguredToken,{at:t,token:Ms(p)})}testTopicReferenceConfiguration(i,t,o){switch(i){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:Ms(o)}]);case"smart":return o===27;default:throw this.raise(dt.PipeTopicRequiresHackPipes,{at:t})}}parseAsyncArrowUnaryFunction(i){this.prodParam.enter(lu(!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(i,t,!0),i}parseDo(i,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),i.async=t,this.next();let o=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(qu),i.body=this.parseBlock(),this.prodParam.exit()):i.body=this.parseBlock(),this.state.labels=o,this.finishNode(i,"DoExpression")}parseSuper(){let i=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(dt.SuperNotAllowed,{at:i}):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(dt.UnexpectedSuper,{at:i}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(dt.UnsupportedSuper,{at:i}),this.finishNode(i,"Super")}parsePrivateName(){let i=this.startNode(),t=this.startNodeAt(this.state.start+1,new yn(this.state.curLine,this.state.start+1-this.state.lineStart,this.state.start+1)),o=this.state.value;return this.next(),i.id=this.createIdentifier(t,o),this.finishNode(i,"PrivateName")}parseFunctionOrFunctionSent(){let i=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(i),"function");return this.next(),this.match(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(i,t,"sent")}return this.parseFunction(i)}parseMetaProperty(i,t,o){i.meta=t;let p=this.state.containsEsc;return i.property=this.parseIdentifier(!0),(i.property.name!==o||p)&&this.raise(dt.UnsupportedMetaProperty,{at:i.property,target:t.name,onlyValidPropertyName:o}),this.finishNode(i,"MetaProperty")}parseImportMetaProperty(i){let t=this.createIdentifier(this.startNodeAtNode(i),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(dt.ImportMetaOutsideModule,{at:t}),this.sawUnambiguousESM=!0),this.parseMetaProperty(i,t,"meta")}parseLiteralAtNode(i,t,o){return this.addExtra(o,"rawValue",i),this.addExtra(o,"raw",this.input.slice(o.start,this.state.end)),o.value=i,this.next(),this.finishNode(o,t)}parseLiteral(i,t){let o=this.startNode();return this.parseLiteralAtNode(i,t,o)}parseStringLiteral(i){return this.parseLiteral(i,"StringLiteral")}parseNumericLiteral(i){return this.parseLiteral(i,"NumericLiteral")}parseBigIntLiteral(i){return this.parseLiteral(i,"BigIntLiteral")}parseDecimalLiteral(i){return this.parseLiteral(i,"DecimalLiteral")}parseRegExpLiteral(i){let t=this.parseLiteral(i.value,"RegExpLiteral");return t.pattern=i.pattern,t.flags=i.flags,t}parseBooleanLiteral(i){let t=this.startNode();return t.value=i,this.next(),this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){let i=this.startNode();return this.next(),this.finishNode(i,"NullLiteral")}parseParenAndDistinguishExpression(i){let t=this.state.start,o=this.state.startLoc,p;this.next(),this.expressionScope.enter(hl());let y=this.state.maybeInArrowParameters,$=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let he=this.state.start,Ye=this.state.startLoc,At=[],ar=new So,d=!0,A,m;for(;!this.match(11);){if(d)d=!1;else if(this.expect(12,ar.optionalParametersLoc===null?null:ar.optionalParametersLoc),this.match(11)){m=this.state.startLoc;break}if(this.match(21)){let g=this.state.start,D=this.state.startLoc;if(A=this.state.startLoc,At.push(this.parseParenItem(this.parseRestBinding(),g,D)),!this.checkCommaAfterRest(41))break}else At.push(this.parseMaybeAssignAllowIn(ar,this.parseParenItem))}let b=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=y,this.state.inFSharpPipelineDirectBody=$;let E=this.startNodeAt(t,o);return i&&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),m&&this.unexpected(m),A&&this.unexpected(A),this.checkExpressionErrors(ar,!0),this.toReferencedListDeep(At,!0),At.length>1?(p=this.startNodeAt(he,Ye),p.expressions=At,this.finishNode(p,"SequenceExpression"),this.resetEndLocation(p,b)):p=At[0],this.wrapParenthesis(t,o,p))}wrapParenthesis(i,t,o){if(!this.options.createParenthesizedExpressions)return this.addExtra(o,"parenthesized",!0),this.addExtra(o,"parenStart",i),this.takeSurroundingComments(o,i,this.state.lastTokEndLoc.index),o;let p=this.startNodeAt(i,t);return p.expression=o,this.finishNode(p,"ParenthesizedExpression"),p}shouldParseArrow(i){return!this.canInsertSemicolon()}parseArrow(i){if(this.eat(19))return i}parseParenItem(i,t,o){return i}parseNewOrNewTarget(){let i=this.startNode();if(this.next(),this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(i),"new");this.next();let o=this.parseMetaProperty(i,t,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&this.raise(dt.UnexpectedNewTarget,{at:o}),o}return this.parseNew(i)}parseNew(i){if(this.parseNewCallee(i),this.eat(10)){let t=this.parseExprList(11);this.toReferencedList(t),i.arguments=t}else i.arguments=[];return this.finishNode(i,"NewExpression")}parseNewCallee(i){i.callee=this.parseNoCallExpr(),i.callee.type==="Import"?this.raise(dt.ImportCallNotNewExpression,{at:i.callee}):this.isOptionalChain(i.callee)?this.raise(dt.OptionalChainingNoNew,{at:this.state.lastTokEndLoc}):this.eat(18)&&this.raise(dt.OptionalChainingNoNew,{at:this.state.startLoc})}parseTemplateElement(i){let{start:t,startLoc:o,end:p,value:y}=this.state,$=t+1,he=this.startNodeAt($,pn(o,1));y===null&&(i||this.raise(dt.InvalidEscapeSequenceTemplate,{at:pn(o,2)}));let Ye=this.match(24),At=Ye?-1:-2,ar=p+At;return he.value={raw:this.input.slice($,ar).replace(/\r\n?/g,`
|
|
275
|
-
`),cooked:y===null?null:y.slice(1,At)},he.tail=Ye,this.next(),this.finishNode(he,"TemplateElement"),this.resetEndLocation(he,pn(this.state.lastTokEndLoc,At)),he}parseTemplate(i){let t=this.startNode();t.expressions=[];let o=this.parseTemplateElement(i);for(t.quasis=[o];!o.tail;)t.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),t.quasis.push(o=this.parseTemplateElement(i));return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(i,t,o,p){o&&this.expectPlugin("recordAndTuple");let y=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let $=Object.create(null),he=!0,Ye=this.startNode();for(Ye.properties=[],this.next();!this.match(i);){if(he)he=!1;else if(this.expect(12),this.match(i)){this.addTrailingCommaExtraToNode(Ye);break}let ar;t?ar=this.parseBindingProperty():(ar=this.parsePropertyDefinition(p),this.checkProto(ar,o,$,p)),o&&!this.isObjectProperty(ar)&&ar.type!=="SpreadElement"&&this.raise(dt.InvalidRecordProperty,{at:ar}),ar.shorthand&&this.addExtra(ar,"shorthand",!0),Ye.properties.push(ar)}this.next(),this.state.inFSharpPipelineDirectBody=y;let At="ObjectExpression";return t?At="ObjectPattern":o&&(At="RecordExpression"),this.finishNode(Ye,At)}addTrailingCommaExtraToNode(i){this.addExtra(i,"trailingComma",this.state.lastTokStart),this.addExtra(i,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(i){return!i.computed&&i.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(i){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 o=this.startNode(),p=!1,y=!1,$,he;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(o.decorators=t,t=[]),o.method=!1,i&&($=this.state.start,he=this.state.startLoc);let Ye=this.eat(55);this.parsePropertyNamePrefixOperator(o);let At=this.state.containsEsc,ar=this.parsePropertyName(o,i);if(!Ye&&!At&&this.maybeAsyncOrAccessorProp(o)){let d=ar.name;d==="async"&&!this.hasPrecedingLineBreak()&&(p=!0,this.resetPreviousNodeTrailingComments(ar),Ye=this.eat(55),this.parsePropertyName(o)),(d==="get"||d==="set")&&(y=!0,this.resetPreviousNodeTrailingComments(ar),o.kind=d,this.match(55)&&(Ye=!0,this.raise(dt.AccessorIsGenerator,{at:this.state.curPosition(),kind:d}),this.next()),this.parsePropertyName(o))}return this.parseObjPropValue(o,$,he,Ye,p,!1,y,i),o}getGetterSetterExpectedParamCount(i){return i.kind==="get"?0:1}getObjectOrClassMethodParams(i){return i.params}checkGetterSetterParams(i){var t;let o=this.getGetterSetterExpectedParamCount(i),p=this.getObjectOrClassMethodParams(i);p.length!==o&&this.raise(i.kind==="get"?dt.BadGetterArity:dt.BadSetterArity,{at:i}),i.kind==="set"&&((t=p[p.length-1])==null?void 0:t.type)==="RestElement"&&this.raise(dt.BadSetterRestParameter,{at:i})}parseObjectMethod(i,t,o,p,y){if(y)return this.parseMethod(i,t,!1,!1,!1,"ObjectMethod"),this.checkGetterSetterParams(i),i;if(o||t||this.match(10))return p&&this.unexpected(),i.kind="method",i.method=!0,this.parseMethod(i,t,o,!1,!1,"ObjectMethod")}parseObjectProperty(i,t,o,p,y){if(i.shorthand=!1,this.eat(14))return i.value=p?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(y),this.finishNode(i,"ObjectProperty");if(!i.computed&&i.key.type==="Identifier"){if(this.checkReservedWord(i.key.name,i.key.loc.start,!0,!1),p)i.value=this.parseMaybeDefault(t,o,K(i.key));else if(this.match(29)){let $=this.state.startLoc;y!=null?y.shorthandAssignLoc===null&&(y.shorthandAssignLoc=$):this.raise(dt.InvalidCoverInitializedName,{at:$}),i.value=this.parseMaybeDefault(t,o,K(i.key))}else i.value=K(i.key);return i.shorthand=!0,this.finishNode(i,"ObjectProperty")}}parseObjPropValue(i,t,o,p,y,$,he,Ye){let At=this.parseObjectMethod(i,p,y,$,he)||this.parseObjectProperty(i,t,o,$,Ye);return At||this.unexpected(),At}parsePropertyName(i,t){if(this.eat(0))i.computed=!0,i.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:o,value:p}=this.state,y;if(ds(o))y=this.parseIdentifier(!0);else switch(o){case 130:y=this.parseNumericLiteral(p);break;case 129:y=this.parseStringLiteral(p);break;case 131:y=this.parseBigIntLiteral(p);break;case 132:y=this.parseDecimalLiteral(p);break;case 134:{let $=this.state.startLoc;t!=null?t.privateKeyLoc===null&&(t.privateKeyLoc=$):this.raise(dt.UnexpectedPrivateField,{at:$}),y=this.parsePrivateName();break}default:throw this.unexpected()}i.key=y,o!==134&&(i.computed=!1)}return i.key}initFunction(i,t){i.id=null,i.generator=!1,i.async=!!t}parseMethod(i,t,o,p,y,$){let he=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1;this.initFunction(i,o),i.generator=!!t;let Ye=p;return this.scope.enter(Xa|po|(he?so:0)|(y?Ou:0)),this.prodParam.enter(lu(o,i.generator)),this.parseFunctionParams(i,Ye),this.parseFunctionBodyAndFinish(i,$,!0),this.prodParam.exit(),this.scope.exit(),i}parseArrayLike(i,t,o,p){o&&this.expectPlugin("recordAndTuple");let y=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let $=this.startNode();return this.next(),$.elements=this.parseExprList(i,!o,p,$),this.state.inFSharpPipelineDirectBody=y,this.finishNode($,o?"TupleExpression":"ArrayExpression")}parseArrowExpression(i,t,o,p){this.scope.enter(Xa|xu);let y=lu(o,!1);!this.match(5)&&this.prodParam.hasIn&&(y|=Ra),this.prodParam.enter(y),this.initFunction(i,o);let $=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(i,t,p)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(i,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=$,this.finishNode(i,"ArrowFunctionExpression")}setArrowFunctionParameters(i,t,o){this.toAssignableList(t,o,!1),i.params=t}parseFunctionBodyAndFinish(i,t){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.parseFunctionBody(i,!1,o),this.finishNode(i,t)}parseFunctionBody(i,t){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,p=t&&!this.match(5);if(this.expressionScope.enter(Ko()),p)i.body=this.parseMaybeAssign(),this.checkParams(i,!1,t,!1);else{let y=this.state.strict,$=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|Vu),i.body=this.parseBlock(!0,!1,he=>{let Ye=!this.isSimpleParamList(i.params);he&&Ye&&this.raise(dt.IllegalLanguageModeDirective,{at:(i.kind==="method"||i.kind==="constructor")&&!!i.key?i.key.loc.end:i});let At=!y&&this.state.strict;this.checkParams(i,!this.state.strict&&!t&&!o&&!Ye,t,At),this.state.strict&&i.id&&this.checkIdentifier(i.id,su,At)}),this.prodParam.exit(),this.state.labels=$}this.expressionScope.exit()}isSimpleParameter(i){return i.type==="Identifier"}isSimpleParamList(i){for(let t=0,o=i.length;t<o;t++)if(!this.isSimpleParameter(i[t]))return!1;return!0}checkParams(i,t,o){let p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,y=!t&&new Set,$={type:"FormalParameters"};for(let he of i.params)this.checkLVal(he,{in:$,binding:Za,checkClashes:y,strictModeChanged:p})}parseExprList(i,t,o,p){let y=[],$=!0;for(;!this.eat(i);){if($)$=!1;else if(this.expect(12),this.match(i)){p&&this.addTrailingCommaExtraToNode(p),this.next();break}y.push(this.parseExprListItem(t,o))}return y}parseExprListItem(i,t,o){let p;if(this.match(12))i||this.raise(dt.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),p=null;else if(this.match(21)){let y=this.state.start,$=this.state.startLoc;p=this.parseParenItem(this.parseSpread(t),y,$)}else if(this.match(17)){this.expectPlugin("partialApplication"),o||this.raise(dt.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});let y=this.startNode();this.next(),p=this.finishNode(y,"ArgumentPlaceholder")}else p=this.parseMaybeAssignAllowIn(t,this.parseParenItem);return p}parseIdentifier(i){let t=this.startNode(),o=this.parseIdentifierName(t.start,i);return this.createIdentifier(t,o)}createIdentifier(i,t){return i.name=t,i.loc.identifierName=t,this.finishNode(i,"Identifier")}parseIdentifierName(i,t){let o,{startLoc:p,type:y}=this.state;if(ds(y))o=this.state.value;else throw this.unexpected();let $=Ri(y);return t?$&&this.replaceToken(128):this.checkReservedWord(o,p,$,!1),this.next(),o}checkReservedWord(i,t,o,p){if(!(i.length>10||!ua(i))){if(i==="yield"){if(this.prodParam.hasYield){this.raise(dt.YieldBindingIdentifier,{at:t});return}}else if(i==="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(i==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(dt.ArgumentsInClass,{at:t});return}if(o&&Ma(i)){this.raise(dt.UnexpectedKeyword,{at:t,keyword:i});return}(this.state.strict?p?Va:Uo:co)(i,this.inModule)&&this.raise(dt.UnexpectedReservedWord,{at:t,reservedWord:i})}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(i,t){let o=this.startNodeAt(i,t);return this.expressionScope.recordParameterInitializerError(dt.AwaitExpressionFormalParameter,{at:o}),this.eat(55)&&this.raise(dt.ObsoleteAwaitStar,{at:o}),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(o.argument=this.parseMaybeUnary(null,!0)),this.finishNode(o,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:i}=this.state;return i===53||i===10||i===0||Ps(i)||i===133||i===56||this.hasPlugin("v8intrinsic")&&i===54}parseYield(){let i=this.startNode();this.expressionScope.recordParameterInitializerError(dt.YieldInParameter,{at:i}),this.next();let t=!1,o=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:o=this.parseMaybeAssign()}return i.delegate=t,i.argument=o,this.finishNode(i,"YieldExpression")}checkPipelineAtInfixOperator(i,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&i.type==="SequenceExpression"&&this.raise(dt.PipelineHeadSequenceExpression,{at:t})}parseSmartPipelineBodyInStyle(i,t,o){let p=this.startNodeAt(t,o);return this.isSimpleReference(i)?(p.callee=i,this.finishNode(p,"PipelineBareFunction")):(this.checkSmartPipeTopicBodyEarlyErrors(o),p.expression=i,this.finishNode(p,"PipelineTopicExpression"))}isSimpleReference(i){switch(i.type){case"MemberExpression":return!i.computed&&this.isSimpleReference(i.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(i){if(this.match(19))throw this.raise(dt.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(dt.PipelineTopicUnused,{at:i})}withTopicBindingContext(i){let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return i()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(i){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return i()}finally{this.state.topicContext=t}}else return i()}withSoloAwaitPermittingContext(i){let t=this.state.soloAwait;this.state.soloAwait=!0;try{return i()}finally{this.state.soloAwait=t}}allowInAnd(i){let t=this.prodParam.currentFlags();if(Ra&~t){this.prodParam.enter(t|Ra);try{return i()}finally{this.prodParam.exit()}}return i()}disallowInAnd(i){let t=this.prodParam.currentFlags();if(Ra&t){this.prodParam.enter(t&~Ra);try{return i()}finally{this.prodParam.exit()}}return i()}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(i){let t=this.state.start,o=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let p=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let y=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,o,i);return this.state.inFSharpPipelineDirectBody=p,y}parseModuleExpression(){this.expectPlugin("moduleBlocks");let i=this.startNode();this.next(),this.eat(5);let t=this.initializeScopes(!0);this.enterInitialScopes();let o=this.startNode();try{i.body=this.parseProgram(o,8,"module")}finally{t()}return this.eat(8),this.finishNode(i,"ModuleExpression")}parsePropertyNamePrefixOperator(i){}},ta={kind:"loop"},ia={kind:"switch"},ka=0,Pa=1,Ls=2,Qs=4,Ua=/[\uD800-\uDFFF]/u,la=/in(?:stanceof)?/y;function sa(i,t){for(let o=0;o<i.length;o++){let p=i[o],{type:y}=p;if(typeof y=="number"){{if(y===134){let{loc:$,start:he,value:Ye,end:At}=p,ar=he+1,d=pn($.start,1);i.splice(o,1,new To({type:Ws(27),value:"#",start:he,end:ar,startLoc:$.start,endLoc:d}),new To({type:Ws(128),value:Ye,start:ar,end:At,startLoc:d,endLoc:$.end})),o++;continue}if(Ps(y)){let{loc:$,start:he,value:Ye,end:At}=p,ar=he+1,d=pn($.start,1),A;t.charCodeAt(he)===96?A=new To({type:Ws(22),value:"`",start:he,end:ar,startLoc:$.start,endLoc:d}):A=new To({type:Ws(8),value:"}",start:he,end:ar,startLoc:$.start,endLoc:d});let m,b,E,g;y===24?(b=At-1,E=pn($.end,-1),m=Ye===null?null:Ye.slice(1,-1),g=new To({type:Ws(22),value:"`",start:b,end:At,startLoc:E,endLoc:$.end})):(b=At-2,E=pn($.end,-2),m=Ye===null?null:Ye.slice(1,-2),g=new To({type:Ws(23),value:"${",start:b,end:At,startLoc:E,endLoc:$.end})),i.splice(o,1,A,new To({type:Ws(20),value:m,start:ar,end:b,startLoc:d,endLoc:E}),g),o+=2;continue}}p.type=Ws(y)}}return i}var aa=class extends ei{parseTopLevel(i,t){return i.program=this.parseProgram(t),i.comments=this.state.comments,this.options.tokens&&(i.tokens=sa(this.tokens,this.input)),this.finishNode(i,"File")}parseProgram(i){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:135,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.options.sourceType;if(i.sourceType=o,i.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(i,!0,!0,t),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[p,y]of Array.from(this.scope.undefinedExports))this.raise(dt.ModuleExportUndefined,{at:y,localName:p});return this.finishNode(i,"Program")}stmtToDirective(i){let t=i;t.type="Directive",t.value=t.expression,delete t.expression;let o=t.value,p=o.value,y=this.input.slice(o.start,o.end),$=o.value=y.slice(1,-1);return this.addExtra(o,"raw",y),this.addExtra(o,"rawValue",$),this.addExtra(o,"expressionValue",p),o.type="DirectiveLiteral",t}parseInterpreterDirective(){if(!this.match(28))return null;let i=this.startNode();return i.value=this.state.value,this.next(),this.finishNode(i,"InterpreterDirective")}isLet(i){return this.isContextual(99)?this.isLetKeyword(i):!1}isLetKeyword(i){let t=this.nextTokenStart(),o=this.codePointAtPos(t);if(o===92||o===91)return!0;if(i)return!1;if(o===123)return!0;if(Ts(o)){if(la.lastIndex=t,la.test(this.input)){let p=this.codePointAtPos(la.lastIndex);if(!ea(p)&&p!==92)return!1}return!0}return!1}parseStatement(i,t){return this.match(26)&&this.parseDecorators(!0),this.parseStatementContent(i,t)}parseStatementContent(i,t){let o=this.state.type,p=this.startNode(),y;switch(this.isLet(i)&&(o=74,y="let"),o){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 i&&(this.state.strict?this.raise(dt.StrictFunction,{at:this.state.startLoc}):i!=="if"&&i!=="label"&&this.raise(dt.SloppyFunction,{at:this.state.startLoc})),this.parseFunctionStatement(p,!1,!i);case 80:return i&&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 y=y||this.state.value,i&&y!=="var"&&this.raise(dt.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(p,y);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 Ye=this.lookaheadCharCode();if(Ye===40||Ye===46)break}case 82:{!this.options.allowImportExportEverywhere&&!t&&this.raise(dt.UnexpectedImportExport,{at:this.state.startLoc}),this.next();let Ye;return o===83?(Ye=this.parseImport(p),Ye.type==="ImportDeclaration"&&(!Ye.importKind||Ye.importKind==="value")&&(this.sawUnambiguousESM=!0)):(Ye=this.parseExport(p),(Ye.type==="ExportNamedDeclaration"&&(!Ye.exportKind||Ye.exportKind==="value")||Ye.type==="ExportAllDeclaration"&&(!Ye.exportKind||Ye.exportKind==="value")||Ye.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(p),Ye}default:if(this.isAsyncFunction())return i&&this.raise(dt.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(p,!0,!i)}let $=this.state.value,he=this.parseExpression();return jn(o)&&he.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(p,$,he,i):this.parseExpressionStatement(p,he)}assertModuleNodeAllowed(i){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(dt.ImportOutsideModule,{at:i})}takeDecorators(i){let t=this.state.decoratorStack[this.state.decoratorStack.length-1];t.length&&(i.decorators=t,this.resetStartLocationFromNode(i,t[0]),this.state.decoratorStack[this.state.decoratorStack.length-1]=[])}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(i){let t=this.state.decoratorStack[this.state.decoratorStack.length-1];for(;this.match(26);){let o=this.parseDecorator();t.push(o)}if(this.match(82))i||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 i=this.startNode();if(this.next(),this.hasPlugin("decorators")){this.state.decoratorStack.push([]);let t=this.state.start,o=this.state.startLoc,p;if(this.match(10)){let y=this.state.start,$=this.state.startLoc;this.next(),p=this.parseExpression(),this.expect(11),p=this.wrapParenthesis(y,$,p)}else for(p=this.parseIdentifier(!1);this.eat(16);){let y=this.startNodeAt(t,o);y.object=p,y.property=this.parseIdentifier(!0),y.computed=!1,p=this.finishNode(y,"MemberExpression")}i.expression=this.parseMaybeDecoratorArguments(p),this.state.decoratorStack.pop()}else i.expression=this.parseExprSubscripts();return this.finishNode(i,"Decorator")}parseMaybeDecoratorArguments(i){if(this.eat(10)){let t=this.startNodeAtNode(i);return t.callee=i,t.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(t.arguments),this.finishNode(t,"CallExpression")}return i}parseBreakContinueStatement(i,t){return this.next(),this.isLineTerminator()?i.label=null:(i.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(i,t),this.finishNode(i,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(i,t){let o;for(o=0;o<this.state.labels.length;++o){let p=this.state.labels[o];if((i.label==null||p.name===i.label.name)&&(p.kind!=null&&(t||p.kind==="loop")||i.label&&t))break}if(o===this.state.labels.length){let p=t?"BreakStatement":"ContinueStatement";this.raise(dt.IllegalBreakContinue,{at:i,type:p})}}parseDebuggerStatement(i){return this.next(),this.semicolon(),this.finishNode(i,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let i=this.parseExpression();return this.expect(11),i}parseDoStatement(i){return this.next(),this.state.labels.push(ta),i.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("do")),this.state.labels.pop(),this.expect(92),i.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(i,"DoWhileStatement")}parseForStatement(i){this.next(),this.state.labels.push(ta);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(t=this.state.lastTokStartLoc),this.scope.enter(Wa),this.expect(10),this.match(13))return t!==null&&this.unexpected(t),this.parseFor(i,null);let o=this.isContextual(99),p=o&&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(i,At,t):(t!==null&&this.unexpected(t),this.parseFor(i,At))}let y=this.isContextual(95),$=new So,he=this.parseExpression(!0,$),Ye=this.isContextual(101);if(Ye&&(o&&this.raise(dt.ForOfLet,{at:he}),t===null&&y&&he.type==="Identifier"&&this.raise(dt.ForOfAsync,{at:he})),Ye||this.match(58)){this.checkDestructuringPrivate($),this.toAssignable(he,!0);let At=Ye?"ForOfStatement":"ForInStatement";return this.checkLVal(he,{in:{type:At}}),this.parseForIn(i,he,t)}else this.checkExpressionErrors($,!0);return t!==null&&this.unexpected(t),this.parseFor(i,he)}parseFunctionStatement(i,t,o){return this.next(),this.parseFunction(i,Pa|(o?0:Ls),t)}parseIfStatement(i){return this.next(),i.test=this.parseHeaderExpression(),i.consequent=this.parseStatement("if"),i.alternate=this.eat(66)?this.parseStatement("if"):null,this.finishNode(i,"IfStatement")}parseReturnStatement(i){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(dt.IllegalReturn,{at:this.state.startLoc}),this.next(),this.isLineTerminator()?i.argument=null:(i.argument=this.parseExpression(),this.semicolon()),this.finishNode(i,"ReturnStatement")}parseSwitchStatement(i){this.next(),i.discriminant=this.parseHeaderExpression();let t=i.cases=[];this.expect(5),this.state.labels.push(ia),this.scope.enter(Wa);let o;for(let p;!this.match(8);)if(this.match(61)||this.match(65)){let y=this.match(61);o&&this.finishNode(o,"SwitchCase"),t.push(o=this.startNode()),o.consequent=[],this.next(),y?o.test=this.parseExpression():(p&&this.raise(dt.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),p=!0,o.test=null),this.expect(14)}else o?o.consequent.push(this.parseStatement(null)):this.unexpected();return this.scope.exit(),o&&this.finishNode(o,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(i,"SwitchStatement")}parseThrowStatement(i){return this.next(),this.hasPrecedingLineBreak()&&this.raise(dt.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),i.argument=this.parseExpression(),this.semicolon(),this.finishNode(i,"ThrowStatement")}parseCatchClauseParam(){let i=this.parseBindingAtom(),t=i.type==="Identifier";return this.scope.enter(t?Iu:0),this.checkLVal(i,{in:{type:"CatchClause"},binding:Aa,allowingSloppyLetBinding:!0}),i}parseTryStatement(i){if(this.next(),i.block=this.parseBlock(),i.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(Wa)),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),i.handler=this.finishNode(t,"CatchClause")}return i.finalizer=this.eat(67)?this.parseBlock():null,!i.handler&&!i.finalizer&&this.raise(dt.NoCatchOrFinally,{at:i}),this.finishNode(i,"TryStatement")}parseVarStatement(i,t){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return this.next(),this.parseVar(i,!1,t,o),this.semicolon(),this.finishNode(i,"VariableDeclaration")}parseWhileStatement(i){return this.next(),i.test=this.parseHeaderExpression(),this.state.labels.push(ta),i.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("while")),this.state.labels.pop(),this.finishNode(i,"WhileStatement")}parseWithStatement(i){return this.state.strict&&this.raise(dt.StrictWith,{at:this.state.startLoc}),this.next(),i.object=this.parseHeaderExpression(),i.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("with")),this.finishNode(i,"WithStatement")}parseEmptyStatement(i){return this.next(),this.finishNode(i,"EmptyStatement")}parseLabeledStatement(i,t,o,p){for(let $ of this.state.labels)$.name===t&&this.raise(dt.LabelRedeclaration,{at:o,labelName:t});let y=We(this.state.type)?"loop":this.match(71)?"switch":null;for(let $=this.state.labels.length-1;$>=0;$--){let he=this.state.labels[$];if(he.statementStart===i.start)he.statementStart=this.state.start,he.kind=y;else break}return this.state.labels.push({name:t,kind:y,statementStart:this.state.start}),i.body=this.parseStatement(p?p.indexOf("label")===-1?p+"label":p:"label"),this.state.labels.pop(),i.label=o,this.finishNode(i,"LabeledStatement")}parseExpressionStatement(i,t){return i.expression=t,this.semicolon(),this.finishNode(i,"ExpressionStatement")}parseBlock(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,o=arguments.length>2?arguments[2]:void 0,p=this.startNode();return i&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(Wa),this.parseBlockBody(p,i,!1,8,o),t&&this.scope.exit(),this.finishNode(p,"BlockStatement")}isValidDirective(i){return i.type==="ExpressionStatement"&&i.expression.type==="StringLiteral"&&!i.expression.extra.parenthesized}parseBlockBody(i,t,o,p,y){let $=i.body=[],he=i.directives=[];this.parseBlockOrModuleBlockBody($,t?he:void 0,o,p,y)}parseBlockOrModuleBlockBody(i,t,o,p,y){let $=this.state.strict,he=!1,Ye=!1;for(;!this.match(p);){let At=this.parseStatement(null,o);if(t&&!Ye){if(this.isValidDirective(At)){let ar=this.stmtToDirective(At);t.push(ar),!he&&ar.value.value==="use strict"&&(he=!0,this.setStrict(!0));continue}Ye=!0,this.state.strictErrors.clear()}i.push(At)}y&&y.call(this,he),$||this.setStrict(!1),this.next()}parseFor(i,t){return i.init=t,this.semicolon(!1),i.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),i.update=this.match(11)?null:this.parseExpression(),this.expect(11),i.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for")),this.scope.exit(),this.state.labels.pop(),this.finishNode(i,"ForStatement")}parseForIn(i,t,o){let p=this.match(58);return this.next(),p?o!==null&&this.unexpected(o):i.await=o!==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"}}),i.left=t,i.right=p?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),i.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for")),this.scope.exit(),this.state.labels.pop(),this.finishNode(i,p?"ForInStatement":"ForOfStatement")}parseVar(i,t,o){let p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,y=i.declarations=[];for(i.kind=o;;){let $=this.startNode();if(this.parseVarId($,o),$.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,$.init===null&&!p&&($.id.type!=="Identifier"&&!(t&&(this.match(58)||this.isContextual(101)))?this.raise(dt.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"}):o==="const"&&!(this.match(58)||this.isContextual(101))&&this.raise(dt.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"})),y.push(this.finishNode($,"VariableDeclarator")),!this.eat(12))break}return i}parseVarId(i,t){i.id=this.parseBindingAtom(),this.checkLVal(i.id,{in:{type:"VariableDeclarator"},binding:t==="var"?Za:Aa})}parseFunction(i){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ka,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,p=t&Pa,y=t&Ls,$=!!p&&!(t&Qs);this.initFunction(i,o),this.match(55)&&y&&this.raise(dt.GeneratorInSingleStatementContext,{at:this.state.startLoc}),i.generator=this.eat(55),p&&(i.id=this.parseFunctionId($));let he=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(Xa),this.prodParam.enter(lu(o,i.generator)),p||(i.id=this.parseFunctionId()),this.parseFunctionParams(i,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(i,p?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),p&&!y&&this.registerFunctionStatementId(i),this.state.maybeInArrowParameters=he,i}parseFunctionId(i){return i||jn(this.state.type)?this.parseIdentifier():null}parseFunctionParams(i,t){this.expect(10),this.expressionScope.enter(Bl()),i.params=this.parseBindingList(11,41,!1,t),this.expressionScope.exit()}registerFunctionStatementId(i){!i.id||this.scope.declareName(i.id.name,this.state.strict||i.generator||i.async?this.scope.treatFunctionsAsVar?Za:Aa:ju,i.id.loc.start)}parseClass(i,t,o){this.next(),this.takeDecorators(i);let p=this.state.strict;return this.state.strict=!0,this.parseClassId(i,t,o),this.parseClassSuper(i),i.body=this.parseClassBody(!!i.superClass,p),this.finishNode(i,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(i){return!i.computed&&!i.static&&(i.key.name==="constructor"||i.key.value==="constructor")}parseClassBody(i,t){this.classScope.enter();let o={hadConstructor:!1,hadSuperClass:i},p=[],y=this.startNode();if(y.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 $=this.startNode();p.length&&($.decorators=p,this.resetStartLocationFromNode($,p[0]),p=[]),this.parseClassMember(y,$,o),$.kind==="constructor"&&$.decorators&&$.decorators.length>0&&this.raise(dt.DecoratorConstructor,{at:$})}}),this.state.strict=t,this.next(),p.length)throw this.raise(dt.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(y,"ClassBody")}parseClassMemberFromModifier(i,t){let o=this.parseIdentifier(!0);if(this.isClassMethod()){let p=t;return p.kind="method",p.computed=!1,p.key=o,p.static=!1,this.pushClassMethod(i,p,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let p=t;return p.computed=!1,p.key=o,p.static=!1,i.body.push(this.parseClassProperty(p)),!0}return this.resetPreviousNodeTrailingComments(o),!1}parseClassMember(i,t,o){let p=this.isContextual(104);if(p){if(this.parseClassMemberFromModifier(i,t))return;if(this.eat(5)){this.parseClassStaticBlock(i,t);return}}this.parseClassMemberWithIsStatic(i,t,o,p)}parseClassMemberWithIsStatic(i,t,o,p){let y=t,$=t,he=t,Ye=t,At=t,ar=y,d=y;if(t.static=p,this.parsePropertyNamePrefixOperator(t),this.eat(55)){ar.kind="method";let g=this.match(134);if(this.parseClassElementName(ar),g){this.pushClassPrivateMethod(i,$,!0,!1);return}this.isNonstaticConstructor(y)&&this.raise(dt.ConstructorIsGenerator,{at:y.key}),this.pushClassMethod(i,y,!0,!1,!1,!1);return}let A=jn(this.state.type)&&!this.state.containsEsc,m=this.match(134),b=this.parseClassElementName(t),E=this.state.startLoc;if(this.parsePostMemberNameModifiers(d),this.isClassMethod()){if(ar.kind="method",m){this.pushClassPrivateMethod(i,$,!1,!1);return}let g=this.isNonstaticConstructor(y),D=!1;g&&(y.kind="constructor",o.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(dt.DuplicateConstructor,{at:b}),g&&this.hasPlugin("typescript")&&t.override&&this.raise(dt.OverrideOnConstructor,{at:b}),o.hadConstructor=!0,D=o.hadSuperClass),this.pushClassMethod(i,y,!1,!1,g,D)}else if(this.isClassProperty())m?this.pushClassPrivateProperty(i,Ye):this.pushClassProperty(i,he);else if(A&&b.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(b);let g=this.eat(55);d.optional&&this.unexpected(E),ar.kind="method";let D=this.match(134);this.parseClassElementName(ar),this.parsePostMemberNameModifiers(d),D?this.pushClassPrivateMethod(i,$,g,!0):(this.isNonstaticConstructor(y)&&this.raise(dt.ConstructorIsAsync,{at:y.key}),this.pushClassMethod(i,y,g,!0,!1,!1))}else if(A&&(b.name==="get"||b.name==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(b),ar.kind=b.name;let g=this.match(134);this.parseClassElementName(y),g?this.pushClassPrivateMethod(i,$,!1,!1):(this.isNonstaticConstructor(y)&&this.raise(dt.ConstructorIsAccessor,{at:y.key}),this.pushClassMethod(i,y,!1,!1,!1,!1)),this.checkGetterSetterParams(y)}else if(A&&b.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(b);let g=this.match(134);this.parseClassElementName(he),this.pushClassAccessorProperty(i,At,g)}else this.isLineTerminator()?m?this.pushClassPrivateProperty(i,Ye):this.pushClassProperty(i,he):this.unexpected()}parseClassElementName(i){let{type:t,value:o}=this.state;if((t===128||t===129)&&i.static&&o==="prototype"&&this.raise(dt.StaticPrototype,{at:this.state.startLoc}),t===134){o==="constructor"&&this.raise(dt.ConstructorClassPrivateField,{at:this.state.startLoc});let p=this.parsePrivateName();return i.key=p,p}return this.parsePropertyName(i)}parseClassStaticBlock(i,t){var o;this.scope.enter(so|Ho|po);let p=this.state.labels;this.state.labels=[],this.prodParam.enter(Qo);let y=t.body=[];this.parseBlockOrModuleBlockBody(y,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=p,i.body.push(this.finishNode(t,"StaticBlock")),(o=t.decorators)!=null&&o.length&&this.raise(dt.DecoratorStaticBlock,{at:t})}pushClassProperty(i,t){!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")&&this.raise(dt.ConstructorClassField,{at:t.key}),i.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(i,t){let o=this.parseClassPrivateProperty(t);i.body.push(o),this.classScope.declarePrivateName(this.getPrivateNameSV(o.key),Eu,o.key.loc.start)}pushClassAccessorProperty(i,t,o){if(!o&&!t.computed){let y=t.key;(y.name==="constructor"||y.value==="constructor")&&this.raise(dt.ConstructorClassField,{at:y})}let p=this.parseClassAccessorProperty(t);i.body.push(p),o&&this.classScope.declarePrivateName(this.getPrivateNameSV(p.key),Eu,p.key.loc.start)}pushClassMethod(i,t,o,p,y,$){i.body.push(this.parseMethod(t,o,p,y,$,"ClassMethod",!0))}pushClassPrivateMethod(i,t,o,p){let y=this.parseMethod(t,o,p,!1,!1,"ClassPrivateMethod",!0);i.body.push(y);let $=y.kind==="get"?y.static?ao:Vl:y.kind==="set"?y.static?wo:rc:Eu;this.declareClassPrivateMethodInScope(y,$)}declareClassPrivateMethodInScope(i,t){this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),t,i.key.loc.start)}parsePostMemberNameModifiers(i){}parseClassPrivateProperty(i){return this.parseInitializer(i),this.semicolon(),this.finishNode(i,"ClassPrivateProperty")}parseClassProperty(i){return this.parseInitializer(i),this.semicolon(),this.finishNode(i,"ClassProperty")}parseClassAccessorProperty(i){return this.parseInitializer(i),this.semicolon(),this.finishNode(i,"ClassAccessorProperty")}parseInitializer(i){this.scope.enter(so|po),this.expressionScope.enter(Ko()),this.prodParam.enter(Qo),i.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(i,t,o){let p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:iu;if(jn(this.state.type))i.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(i.id,p);else if(o||!t)i.id=null;else throw this.raise(dt.MissingClassName,{at:this.state.startLoc})}parseClassSuper(i){i.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(i){let t=this.maybeParseExportDefaultSpecifier(i),o=!t||this.eat(12),p=o&&this.eatExportStar(i),y=p&&this.maybeParseExportNamespaceSpecifier(i),$=o&&(!y||this.eat(12)),he=t||p;if(p&&!y)return t&&this.unexpected(),this.parseExportFrom(i,!0),this.finishNode(i,"ExportAllDeclaration");let Ye=this.maybeParseExportNamedSpecifiers(i);if(t&&o&&!p&&!Ye||y&&$&&!Ye)throw this.unexpected(null,5);let At;if(he||Ye?(At=!1,this.parseExportFrom(i,he)):At=this.maybeParseExportDeclaration(i),he||Ye||At)return this.checkExport(i,!0,!1,!!i.source),this.finishNode(i,"ExportNamedDeclaration");if(this.eat(65))return i.declaration=this.parseExportDefaultExpression(),this.checkExport(i,!0,!0),this.finishNode(i,"ExportDefaultDeclaration");throw this.unexpected(null,5)}eatExportStar(i){return this.eat(55)}maybeParseExportDefaultSpecifier(i){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");let t=this.startNode();return t.exported=this.parseIdentifier(!0),i.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(i){if(this.isContextual(93)){i.specifiers||(i.specifiers=[]);let t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);return this.next(),t.exported=this.parseModuleExportName(),i.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(i){if(this.match(5)){i.specifiers||(i.specifiers=[]);let t=i.exportKind==="type";return i.specifiers.push(...this.parseExportSpecifiers(t)),i.source=null,i.declaration=null,this.hasPlugin("importAssertions")&&(i.assertions=[]),!0}return!1}maybeParseExportDeclaration(i){return this.shouldParseExportDeclaration()?(i.specifiers=[],i.source=null,this.hasPlugin("importAssertions")&&(i.assertions=[]),i.declaration=this.parseExportDeclaration(i),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let i=this.nextTokenStart();return!Js.test(this.input.slice(this.state.pos,i))&&this.isUnparsedContextual(i,"function")}parseExportDefaultExpression(){let i=this.startNode(),t=this.isAsyncFunction();if(this.match(68)||t)return this.next(),t&&this.next(),this.parseFunction(i,Pa|Qs,t);if(this.match(80))return this.parseClass(i,!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(i,!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(dt.UnsupportedDefaultExport,{at:this.state.startLoc});let o=this.parseMaybeAssignAllowIn();return this.semicolon(),o}parseExportDeclaration(i){return this.parseStatement(null)}isExportDefaultSpecifier(){let{type:i}=this.state;if(jn(i)){if(i===95&&!this.state.containsEsc||i===99)return!1;if((i===126||i===125)&&!this.state.containsEsc){let{type:p}=this.lookahead();if(jn(p)&&p!==97||p===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let t=this.nextTokenStart(),o=this.isUnparsedContextual(t,"from");if(this.input.charCodeAt(t)===44||jn(this.state.type)&&o)return!0;if(this.match(65)&&o){let p=this.input.charCodeAt(this.nextTokenStartSince(t+4));return p===34||p===39}return!1}parseExportFrom(i,t){if(this.eatContextual(97)){i.source=this.parseImportSource(),this.checkExport(i);let o=this.maybeParseImportAssertions();o&&(i.assertions=o)}else t&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){let{type:i}=this.state;if(i===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 i===74||i===75||i===68||i===80||this.isLet()||this.isAsyncFunction()}checkExport(i,t,o,p){if(t){if(o){if(this.checkDuplicateExports(i,"default"),this.hasPlugin("exportDefaultFrom")){var y;let $=i.declaration;$.type==="Identifier"&&$.name==="from"&&$.end-$.start===4&&!((y=$.extra)!=null&&y.parenthesized)&&this.raise(dt.ExportDefaultFromAsIdentifier,{at:$})}}else if(i.specifiers&&i.specifiers.length)for(let $ of i.specifiers){let{exported:he}=$,Ye=he.type==="Identifier"?he.name:he.value;if(this.checkDuplicateExports($,Ye),!p&&$.local){let{local:At}=$;At.type!=="Identifier"?this.raise(dt.ExportBindingIsString,{at:$,localName:At.value,exportName:Ye}):(this.checkReservedWord(At.name,At.loc.start,!0,!1),this.scope.checkLocalExport(At))}}else if(i.declaration){if(i.declaration.type==="FunctionDeclaration"||i.declaration.type==="ClassDeclaration"){let $=i.declaration.id;if(!$)throw new Error("Assertion failure");this.checkDuplicateExports(i,$.name)}else if(i.declaration.type==="VariableDeclaration")for(let $ of i.declaration.declarations)this.checkDeclaration($.id)}}if(this.state.decoratorStack[this.state.decoratorStack.length-1].length)throw this.raise(dt.UnsupportedDecoratorExport,{at:i})}checkDeclaration(i){if(i.type==="Identifier")this.checkDuplicateExports(i,i.name);else if(i.type==="ObjectPattern")for(let t of i.properties)this.checkDeclaration(t);else if(i.type==="ArrayPattern")for(let t of i.elements)t&&this.checkDeclaration(t);else i.type==="ObjectProperty"?this.checkDeclaration(i.value):i.type==="RestElement"?this.checkDeclaration(i.argument):i.type==="AssignmentPattern"&&this.checkDeclaration(i.left)}checkDuplicateExports(i,t){this.exportedIdentifiers.has(t)&&(t==="default"?this.raise(dt.DuplicateDefaultExport,{at:i}):this.raise(dt.DuplicateExport,{at:i,exportName:t})),this.exportedIdentifiers.add(t)}parseExportSpecifiers(i){let t=[],o=!0;for(this.expect(5);!this.eat(8);){if(o)o=!1;else if(this.expect(12),this.eat(8))break;let p=this.isContextual(126),y=this.match(129),$=this.startNode();$.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier($,y,i,p))}return t}parseExportSpecifier(i,t,o,p){return this.eatContextual(93)?i.exported=this.parseModuleExportName():t?i.exported=oe(i.local):i.exported||(i.exported=K(i.local)),this.finishNode(i,"ExportSpecifier")}parseModuleExportName(){if(this.match(129)){let i=this.parseStringLiteral(this.state.value),t=i.value.match(Ua);return t&&this.raise(dt.ModuleExportNameHasLoneSurrogate,{at:i,surrogateCharCode:t[0].charCodeAt(0)}),i}return this.parseIdentifier(!0)}parseImport(i){if(i.specifiers=[],!this.match(129)){let o=!this.maybeParseDefaultImportSpecifier(i)||this.eat(12),p=o&&this.maybeParseStarImportSpecifier(i);o&&!p&&this.parseNamedImportSpecifiers(i),this.expectContextual(97)}i.source=this.parseImportSource();let t=this.maybeParseImportAssertions();if(t)i.assertions=t;else{let o=this.maybeParseModuleAttributes();o&&(i.attributes=o)}return this.semicolon(),this.finishNode(i,"ImportDeclaration")}parseImportSource(){return this.match(129)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(i){return jn(this.state.type)}parseImportSpecifierLocal(i,t,o){t.local=this.parseIdentifier(),i.specifiers.push(this.finishImportSpecifier(t,o))}finishImportSpecifier(i,t){return this.checkLVal(i.local,{in:i,binding:Aa}),this.finishNode(i,t)}parseAssertEntries(){let i=[],t=new Set;do{if(this.match(8))break;let o=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)?o.key=this.parseStringLiteral(p):o.key=this.parseIdentifier(!0),this.expect(14),!this.match(129))throw this.raise(dt.ModuleAttributeInvalidValue,{at:this.state.startLoc});o.value=this.parseStringLiteral(this.state.value),this.finishNode(o,"ImportAttribute"),i.push(o)}while(this.eat(12));return i}maybeParseModuleAttributes(){if(this.match(76)&&!this.hasPrecedingLineBreak())this.expectPlugin("moduleAttributes"),this.next();else return this.hasPlugin("moduleAttributes")?[]:null;let i=[],t=new Set;do{let o=this.startNode();if(o.key=this.parseIdentifier(!0),o.key.name!=="type"&&this.raise(dt.ModuleAttributeDifferentFromType,{at:o.key}),t.has(o.key.name)&&this.raise(dt.ModuleAttributesWithDuplicateKeys,{at:o.key,key:o.key.name}),t.add(o.key.name),this.expect(14),!this.match(129))throw this.raise(dt.ModuleAttributeInvalidValue,{at:this.state.startLoc});o.value=this.parseStringLiteral(this.state.value),this.finishNode(o,"ImportAttribute"),i.push(o)}while(this.eat(12));return i}maybeParseImportAssertions(){if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.expectPlugin("importAssertions"),this.next();else return this.hasPlugin("importAssertions")?[]:null;this.eat(5);let i=this.parseAssertEntries();return this.eat(8),i}maybeParseDefaultImportSpecifier(i){return this.shouldParseDefaultImport(i)?(this.parseImportSpecifierLocal(i,this.startNode(),"ImportDefaultSpecifier"),!0):!1}maybeParseStarImportSpecifier(i){if(this.match(55)){let t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(i,t,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(i){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 o=this.startNode(),p=this.match(129),y=this.isContextual(126);o.imported=this.parseModuleExportName();let $=this.parseImportSpecifier(o,p,i.importKind==="type"||i.importKind==="typeof",y);i.specifiers.push($)}}parseImportSpecifier(i,t,o,p){if(this.eatContextual(93))i.local=this.parseIdentifier();else{let{imported:y}=i;if(t)throw this.raise(dt.ImportBindingIsString,{at:i,importName:y.value});this.checkReservedWord(y.name,i.loc.start,!0,!0),i.local||(i.local=K(y))}return this.finishImportSpecifier(i,"ImportSpecifier")}isThisParam(i){return i.type==="Identifier"&&i.name==="this"}},fl=class extends aa{constructor(i,t){i=Lr(i),super(i,t),this.options=i,this.initializeScopes(),this.plugins=wu(this.options.plugins),this.filename=i.sourceFilename}getScopeHandler(){return uu}parse(){this.enterInitialScopes();let i=this.startNode(),t=this.startNode();return this.nextToken(),i.errors=null,this.parseTopLevel(i,t),i.errors=this.state.errors,i}};function wu(i){let t=new Map;for(let o of i){let[p,y]=Array.isArray(o)?o:[o,{}];t.has(p)||t.set(p,y||{})}return t}function _c(i,t){var o;if(((o=t)==null?void 0:o.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";let p=cu(t,i),y=p.parse();if(p.sawUnambiguousESM)return y;if(p.ambiguousScriptDifferentAst)try{return t.sourceType="script",cu(t,i).parse()}catch{}else y.program.sourceType="script";return y}catch(p){try{return t.sourceType="script",cu(t,i).parse()}catch{}throw p}}else return cu(t,i).parse()}function Ic(i,t){let o=cu(t,i);return o.options.strictMode&&(o.state.strict=!0),o.getExpression()}function Oc(i){let t={};for(let o of Object.keys(i))t[o]=Ws(i[o]);return t}var Tu=Oc(Bn);function cu(i,t){let o=fl;return i!=null&&i.plugins&&(xi(i.plugins),o=Ol(i.plugins)),new o(i,t)}var Il={};function Ol(i){let t=Vt.filter(y=>rs(i,y)),o=t.join("/"),p=Il[o];if(!p){p=fl;for(let y of t)p=Ci[y](p);Il[o]=p}return p}Qn.parse=_c,Qn.parseExpression=Ic,Qn.tokTypes=Tu}}),Nu=Ee({"src/language-js/parse/json.js"(Qn,An){xt();var yn=Bo(),ln=vo(),pn=tu(),Zn=lo();function ai(){let ti=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{allowComments:Pi=!0}=ti;return function(ls){let{parseExpression:Mi}=tl(),ks;try{ks=Mi(ls,{tokens:!0,ranges:!0})}catch(da){throw Zn(da)}if(!Pi&&yn(ks.comments))throw ni(ks.comments[0],"Comment");return wi(ks),ks}}function ni(ti,Pi){let[ls,Mi]=[ti.loc.start,ti.loc.end].map(ks=>{let{line:da,column:is}=ks;return{line:da,column:is+1}});return ln("".concat(Pi," is not allowed in JSON."),{start:ls,end:Mi})}function wi(ti){switch(ti.type){case"ArrayExpression":for(let Pi of ti.elements)Pi!==null&&wi(Pi);return;case"ObjectExpression":for(let Pi of ti.properties)wi(Pi);return;case"ObjectProperty":if(ti.computed)throw ni(ti.key,"Computed key");if(ti.shorthand)throw ni(ti.key,"Shorthand property");ti.key.type!=="Identifier"&&wi(ti.key),wi(ti.value);return;case"UnaryExpression":{let{operator:Pi,argument:ls}=ti;if(Pi!=="+"&&Pi!=="-")throw ni(ti,"Operator '".concat(ti.operator,"'"));if(ls.type==="NumericLiteral"||ls.type==="Identifier"&&(ls.name==="Infinity"||ls.name==="NaN"))return;throw ni(ls,"Operator '".concat(Pi,"' before '").concat(ls.type,"'"))}case"Identifier":if(ti.name!=="Infinity"&&ti.name!=="NaN"&&ti.name!=="undefined")throw ni(ti,"Identifier '".concat(ti.name,"'"));return;case"TemplateLiteral":if(yn(ti.expressions))throw ni(ti.expressions[0],"'TemplateLiteral' with expression");for(let Pi of ti.quasis)wi(Pi);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw ni(ti,"'".concat(ti.type,"'"))}}var Wi=ai(),Qi={json:pn({parse:Wi,hasPragma(){return!0}}),json5:pn(Wi),"json-stringify":pn({parse:ai({allowComments:!1}),astFormat:"estree-json"})};An.exports=Qi}});xt();var za=Kt(),xl=or(),rl=Pr(),ma=tu(),Io=lo(),Bu=el(),nl=Nu(),Cl={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},El=["recordAndTuple",{syntaxType:"hash"}],Oo="v8intrinsic",Ia=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],Xs=function(Qn){let An=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Cl;return Object.assign(Object.assign({},An),{},{plugins:[...An.plugins,...Qn]})},Da=/@(?:no)?flow\b/;function Ha(Qn,An){if(An.filepath&&An.filepath.endsWith(".js.flow"))return!0;let yn=xl(Qn);yn&&(Qn=Qn.slice(yn.length));let ln=rl(Qn,0);return ln!==!1&&(Qn=Qn.slice(0,ln)),Da.test(Qn)}function $a(Qn,An,yn){let ln=tl()[Qn](An,yn),pn=ln.errors.find(Zn=>!xa.has(Zn.reasonCode));if(pn)throw pn;return ln}function va(Qn){for(var An=arguments.length,yn=new Array(An>1?An-1:0),ln=1;ln<An;ln++)yn[ln-1]=arguments[ln];return function(pn,Zn){let ai=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if((ai.parser==="babel"||ai.parser==="__babel_estree")&&Ha(pn,ai))return ai.parser="babel-flow",Du(pn,Zn,ai);let ni=yn;ai.__babelSourceType==="script"&&(ni=ni.map(ti=>Object.assign(Object.assign({},ti),{},{sourceType:"script"}))),/#[[{]/.test(pn)&&(ni=ni.map(ti=>Xs([El],ti)));let wi=/%[A-Z]/.test(pn);pn.includes("|>")?ni=(wi?[...Ia,Oo]:Ia).flatMap(ti=>ni.map(Pi=>Xs([ti],Pi))):wi&&(ni=ni.map(ti=>Xs([Oo],ti)));let{result:Wi,error:Qi}=za(...ni.map(ti=>()=>$a(Qn,pn,ti)));if(!Wi)throw Io(Qi);return ai.originalText=pn,Bu(Wi,ai)}}var Lo=va("parse",Xs(["jsx","flow"])),Du=va("parse",Xs(["jsx",["flow",{all:!0,enums:!0}]])),Ki=va("parse",Xs(["jsx","typescript"]),Xs(["typescript"])),Mo=va("parse",Xs(["jsx","flow","estree"])),_u=va("parseExpression",Xs(["jsx"])),jo=va("parseExpression",Xs(["typescript"])),xa=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"]),ru=ma(Lo),vu=ma(Ki),Ro=ma(_u),xo=ma(jo);It.exports={parsers:Object.assign(Object.assign({babel:ru,"babel-flow":ma(Du),"babel-ts":vu},nl),{},{__js_expression:Ro,__vue_expression:Ro,__vue_ts_expression:xo,__vue_event_binding:ru,__vue_ts_event_binding:vu,__babel_estree:ma(Mo)})}});return On()})})(Sm);const XD=zp(Sm.exports);function JD(s,c,l){const f={css:WD,html:GD,babel:XD};return Zs(()=>{if(!bs(c))return bs(s)||"/* empty */";try{return VD.format(bs(s)||"",{parser:l,plugins:[f[l]],singleQuote:!0,semi:!1})}catch(v){return console.error(v),`/* Error on prettifying: ${v.message} */
|
|
276
|
-
${bs(s)||""}`}})}function KD(s,c=!0){return JD(s,c,"css")}const QD={"h-full":""},YD={p:"x4 y2",grid:"~ cols-4 gap-4"},ZD=Gi("div",{op80:""}," Presets ",-1),ev={op50:"","ws-pre":""},tv={overflow:"auto"},rv=Gi("div",{op80:""}," Rules ",-1),nv=Gi("span",{op50:""},"dynamic",-1),iv=Gi("br",null,null,-1),sv=Gi("span",{op50:""},"static",-1),av=Gi("div",{op80:""}," Variants ",-1),ov=Gi("div",{op80:""}," Shortcuts ",-1),uv={key:0},lv=Gi("div",{op80:""}," Config File ",-1),cv=Gi("div",{op80:""}," Version ",-1),pv={op50:"","ws-pre":""},hv={b:"t main",p:"x4 y2",grid:"~ cols-4 gap-4"},fv=Gi("div",{op80:""}," Included Files ",-1),dv=Gi("div",{op80:""}," CSS Size ",-1),mv=Gi("span",{op50:""},"gzipped",-1),gv=Gi("div",{op80:""}," Matched Rules ",-1),yv=Gi("div",{op80:""}," Layers ",-1),Dv={op50:"","ws-pre":""},vv=Zu({__name:"Overview",setup(s){const c=Ba(null),l=qD(c,"overview-scrolls");Uh.execute();const f=Ba(!1),v=KD(Zs(()=>{var N;return(N=up.value)==null?void 0:N.css}),f);return(N,Y)=>{const le=$D,ye=MD,Me=_D,Oe=kD;return ya(),uo("div",QD,[ra(Me,{ref_key:"status",ref:c,p0:""},{default:jl(()=>{var st,mt,St,Wt,Zt,Jr,bt,Ot,$t,Ar,un,Kn,bn,oi,fi,Wn,Un,gi;return[Gi("div",YD,[Gi("div",null,[ZD,Gi("div",ev,ko((St=(mt=(st=bs(ro))==null?void 0:st.config)==null?void 0:mt.presets)==null?void 0:St.map(vr=>vr.name).join(`
|
|
277
|
-
`)),1)]),Gi("div",tv,[rv,Gu(" "+ko((Jr=(Zt=(Wt=bs(ro))==null?void 0:Wt.config)==null?void 0:Zt.rulesDynamic)==null?void 0:Jr.length)+" ",1),nv,iv,Gu(" "+ko(Object.keys(((Ot=(bt=bs(ro))==null?void 0:bt.config)==null?void 0:Ot.rulesStaticMap)||{}).length)+" ",1),sv]),Gi("div",null,[av,Gu(" "+ko((un=(Ar=($t=bs(ro))==null?void 0:$t.config)==null?void 0:Ar.variants)==null?void 0:un.length),1)]),Gi("div",null,[ov,Gu(" "+ko((Kn=bs(ro))==null?void 0:Kn.config.shortcuts.length),1)]),(bn=bs(ro))!=null&&bn.configPath?(ya(),uo("div",uv,[lv,ra(le,{id:bs(ro).configPath},null,8,["id"])])):Ap("",!0),Gi("div",null,[cv,Gi("div",pv,ko((oi=bs(ro))==null?void 0:oi.version),1)])]),Gi("div",hv,[Gi("div",null,[fv,Gu(" "+ko((fi=bs(ro))==null?void 0:fi.modules.length),1)]),Gi("div",null,[dv,Gu(" "+ko(((((Wn=bs(up))==null?void 0:Wn.gzipSize)||0)/1024).toFixed(2))+" KiB ",1),mv]),Gi("div",null,[gv,Gu(" "+ko((Un=bs(up))==null?void 0:Un.matched.length),1)]),Gi("div",null,[yv,Gi("div",Dv,ko((gi=bs(up))==null?void 0:gi.layers.join(`
|
|
278
|
-
`)),1)])]),ra(ye,{border:"t gray-400/20",title:"Output CSS"},{default:jl(()=>[Gi("label",null,[c0(Gi("input",{"onUpdate:modelValue":Y[0]||(Y[0]=vr=>f.value=vr),type:"checkbox"},null,512),[[uy,f.value]]),Gu(" Prettify ")])]),_:1})]}),_:1},512),ra(Oe,{"model-value":bs(v),"read-only":!0,mode:"css",class:"scrolls overview-scrolls",style:tp(bs(l))},null,8,["model-value","style"])])}}}),xv={};function Cv(s,c){const l=vv;return ya(),bc(l)}const Ev=vm(xv,[["render",Cv]]),bv=()=>yh(()=>import("./repl.6754d750.js"),[]),Av=()=>yh(()=>import("./_id_.5e67d2df.js"),[]),wv=[{name:"repl",path:"/repl",component:bv,props:!0},{name:"index",path:"/",component:Ev,props:!0},{name:"module-id",path:"/module/:id",component:Av,props:!0}];/*!
|
|
279
|
-
* vue-router v4.1.5
|
|
280
|
-
* (c) 2022 Eduardo San Martin Morote
|
|
281
|
-
* @license MIT
|
|
282
|
-
*/const gc=typeof window<"u";function Tv(s){return s.__esModule||s[Symbol.toStringTag]==="Module"}const Ys=Object.assign;function Kp(s,c){const l={};for(const f in c){const v=c[f];l[f]=Yu(v)?v.map(s):s(v)}return l}const Vc=()=>{},Yu=Array.isArray,Sv=/\/$/,Fv=s=>s.replace(Sv,"");function Qp(s,c,l="/"){let f,v={},N="",Y="";const le=c.indexOf("#");let ye=c.indexOf("?");return le<ye&&le>=0&&(ye=-1),ye>-1&&(f=c.slice(0,ye),N=c.slice(ye+1,le>-1?le:c.length),v=s(N)),le>-1&&(f=f||c.slice(0,le),Y=c.slice(le,c.length)),f=Bv(f!=null?f:c,l),{fullPath:f+(N&&"?")+N+Y,path:f,query:v,hash:Y}}function kv(s,c){const l=c.query?s(c.query):"";return c.path+(l&&"?")+l+(c.hash||"")}function qf(s,c){return!c||!s.toLowerCase().startsWith(c.toLowerCase())?s:s.slice(c.length)||"/"}function Pv(s,c,l){const f=c.matched.length-1,v=l.matched.length-1;return f>-1&&f===v&&Tc(c.matched[f],l.matched[v])&&Fm(c.params,l.params)&&s(c.query)===s(l.query)&&c.hash===l.hash}function Tc(s,c){return(s.aliasOf||s)===(c.aliasOf||c)}function Fm(s,c){if(Object.keys(s).length!==Object.keys(c).length)return!1;for(const l in s)if(!Nv(s[l],c[l]))return!1;return!0}function Nv(s,c){return Yu(s)?Vf(s,c):Yu(c)?Vf(c,s):s===c}function Vf(s,c){return Yu(c)?s.length===c.length&&s.every((l,f)=>l===c[f]):s.length===1&&s[0]===c}function Bv(s,c){if(s.startsWith("/"))return s;if(!s)return c;const l=c.split("/"),f=s.split("/");let v=l.length-1,N,Y;for(N=0;N<f.length;N++)if(Y=f[N],Y!==".")if(Y==="..")v>1&&v--;else break;return l.slice(0,v).join("/")+"/"+f.slice(N-(N===f.length?1:0)).join("/")}var ep;(function(s){s.pop="pop",s.push="push"})(ep||(ep={}));var Wc;(function(s){s.back="back",s.forward="forward",s.unknown=""})(Wc||(Wc={}));function _v(s){if(!s)if(gc){const c=document.querySelector("base");s=c&&c.getAttribute("href")||"/",s=s.replace(/^\w+:\/\/[^\/]+/,"")}else s="/";return s[0]!=="/"&&s[0]!=="#"&&(s="/"+s),Fv(s)}const Iv=/^[^#]+#/;function Ov(s,c){return s.replace(Iv,"#")+c}function Lv(s,c){const l=document.documentElement.getBoundingClientRect(),f=s.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 Mv(s){let c;if("el"in s){const l=s.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=Lv(v,s)}else c=s;"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 Wf(s,c){return(history.state?history.state.position-c:-1)+s}const dh=new Map;function jv(s,c){dh.set(s,c)}function Rv(s){const c=dh.get(s);return dh.delete(s),c}let Uv=()=>location.protocol+"//"+location.host;function km(s,c){const{pathname:l,search:f,hash:v}=c,N=s.indexOf("#");if(N>-1){let le=v.includes(s.slice(N))?s.slice(N).length:1,ye=v.slice(le);return ye[0]!=="/"&&(ye="/"+ye),qf(ye,"")}return qf(l,s)+f+v}function zv(s,c,l,f){let v=[],N=[],Y=null;const le=({state:mt})=>{const St=km(s,location),Wt=l.value,Zt=c.value;let Jr=0;if(mt){if(l.value=St,c.value=mt,Y&&Y===Wt){Y=null;return}Jr=Zt?mt.position-Zt.position:0}else f(St);v.forEach(bt=>{bt(l.value,Wt,{delta:Jr,type:ep.pop,direction:Jr?Jr>0?Wc.forward:Wc.back:Wc.unknown})})};function ye(){Y=l.value}function Me(mt){v.push(mt);const St=()=>{const Wt=v.indexOf(mt);Wt>-1&&v.splice(Wt,1)};return N.push(St),St}function Oe(){const{history:mt}=window;!mt.state||mt.replaceState(Ys({},mt.state,{scroll:$p()}),"")}function st(){for(const mt of N)mt();N=[],window.removeEventListener("popstate",le),window.removeEventListener("beforeunload",Oe)}return window.addEventListener("popstate",le),window.addEventListener("beforeunload",Oe),{pauseListeners:ye,listen:Me,destroy:st}}function Gf(s,c,l,f=!1,v=!1){return{back:s,current:c,forward:l,replaced:f,position:window.history.length,scroll:v?$p():null}}function Hv(s){const{history:c,location:l}=window,f={value:km(s,l)},v={value:c.state};v.value||N(f.value,{back:null,current:f.value,forward:null,position:c.length-1,replaced:!0,scroll:null},!0);function N(ye,Me,Oe){const st=s.indexOf("#"),mt=st>-1?(l.host&&document.querySelector("base")?s:s.slice(st))+ye:Uv()+s+ye;try{c[Oe?"replaceState":"pushState"](Me,"",mt),v.value=Me}catch(St){console.error(St),l[Oe?"replace":"assign"](mt)}}function Y(ye,Me){const Oe=Ys({},c.state,Gf(v.value.back,ye,v.value.forward,!0),Me,{position:v.value.position});N(ye,Oe,!0),f.value=ye}function le(ye,Me){const Oe=Ys({},v.value,c.state,{forward:ye,scroll:$p()});N(Oe.current,Oe,!0);const st=Ys({},Gf(f.value,ye,null),{position:Oe.position+1},Me);N(ye,st,!1),f.value=ye}return{location:f,state:v,push:le,replace:Y}}function $v(s){s=_v(s);const c=Hv(s),l=zv(s,c.state,c.location,c.replace);function f(N,Y=!0){Y||l.pauseListeners(),history.go(N)}const v=Ys({location:"",base:s,go:f,createHref:Ov.bind(null,s)},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 qv(s){return s=location.host?s||location.pathname+location.search:"",s.includes("#")||(s+="#"),$v(s)}function Vv(s){return typeof s=="string"||s&&typeof s=="object"}function Pm(s){return typeof s=="string"||typeof s=="symbol"}const Jl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Nm=Symbol("");var Xf;(function(s){s[s.aborted=4]="aborted",s[s.cancelled=8]="cancelled",s[s.duplicated=16]="duplicated"})(Xf||(Xf={}));function Sc(s,c){return Ys(new Error,{type:s,[Nm]:!0},c)}function Ll(s,c){return s instanceof Error&&Nm in s&&(c==null||!!(s.type&c))}const Jf="[^/]+?",Wv={sensitive:!1,strict:!1,start:!0,end:!0},Gv=/[.+*?^${}()[\]/\\]/g;function Xv(s,c){const l=Ys({},Wv,c),f=[];let v=l.start?"^":"";const N=[];for(const Me of s){const Oe=Me.length?[]:[90];l.strict&&!Me.length&&(v+="/");for(let st=0;st<Me.length;st++){const mt=Me[st];let St=40+(l.sensitive?.25:0);if(mt.type===0)st||(v+="/"),v+=mt.value.replace(Gv,"\\$&"),St+=40;else if(mt.type===1){const{value:Wt,repeatable:Zt,optional:Jr,regexp:bt}=mt;N.push({name:Wt,repeatable:Zt,optional:Jr});const Ot=bt||Jf;if(Ot!==Jf){St+=10;try{new RegExp(`(${Ot})`)}catch(Ar){throw new Error(`Invalid custom RegExp for param "${Wt}" (${Ot}): `+Ar.message)}}let $t=Zt?`((?:${Ot})(?:/(?:${Ot}))*)`:`(${Ot})`;st||($t=Jr&&Me.length<2?`(?:/${$t})`:"/"+$t),Jr&&($t+="?"),v+=$t,St+=20,Jr&&(St+=-8),Zt&&(St+=-20),Ot===".*"&&(St+=-50)}Oe.push(St)}f.push(Oe)}if(l.strict&&l.end){const Me=f.length-1;f[Me][f[Me].length-1]+=.7000000000000001}l.strict||(v+="/?"),l.end?v+="$":l.strict&&(v+="(?:/|$)");const Y=new RegExp(v,l.sensitive?"":"i");function le(Me){const Oe=Me.match(Y),st={};if(!Oe)return null;for(let mt=1;mt<Oe.length;mt++){const St=Oe[mt]||"",Wt=N[mt-1];st[Wt.name]=St&&Wt.repeatable?St.split("/"):St}return st}function ye(Me){let Oe="",st=!1;for(const mt of s){(!st||!Oe.endsWith("/"))&&(Oe+="/"),st=!1;for(const St of mt)if(St.type===0)Oe+=St.value;else if(St.type===1){const{value:Wt,repeatable:Zt,optional:Jr}=St,bt=Wt in Me?Me[Wt]:"";if(Yu(bt)&&!Zt)throw new Error(`Provided param "${Wt}" is an array but it is not repeatable (* or + modifiers)`);const Ot=Yu(bt)?bt.join("/"):bt;if(!Ot)if(Jr)mt.length<2&&(Oe.endsWith("/")?Oe=Oe.slice(0,-1):st=!0);else throw new Error(`Missing required param "${Wt}"`);Oe+=Ot}}return Oe||"/"}return{re:Y,score:f,keys:N,parse:le,stringify:ye}}function Jv(s,c){let l=0;for(;l<s.length&&l<c.length;){const f=c[l]-s[l];if(f)return f;l++}return s.length<c.length?s.length===1&&s[0]===40+40?-1:1:s.length>c.length?c.length===1&&c[0]===40+40?1:-1:0}function Kv(s,c){let l=0;const f=s.score,v=c.score;for(;l<f.length&&l<v.length;){const N=Jv(f[l],v[l]);if(N)return N;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(s){const c=s[s.length-1];return s.length>0&&c[c.length-1]<0}const Qv={type:0,value:""},Yv=/[a-zA-Z0-9_]/;function Zv(s){if(!s)return[[]];if(s==="/")return[[Qv]];if(!s.startsWith("/"))throw new Error(`Invalid path "${s}"`);function c(St){throw new Error(`ERR (${l})/"${Me}": ${St}`)}let l=0,f=l;const v=[];let N;function Y(){N&&v.push(N),N=[]}let le=0,ye,Me="",Oe="";function st(){!Me||(l===0?N.push({type:0,value:Me}):l===1||l===2||l===3?(N.length>1&&(ye==="*"||ye==="+")&&c(`A repeatable param (${Me}) must be alone in its segment. eg: '/:ids+.`),N.push({type:1,value:Me,regexp:Oe,repeatable:ye==="*"||ye==="+",optional:ye==="*"||ye==="?"})):c("Invalid state to consume buffer"),Me="")}function mt(){Me+=ye}for(;le<s.length;){if(ye=s[le++],ye==="\\"&&l!==2){f=l,l=4;continue}switch(l){case 0:ye==="/"?(Me&&st(),Y()):ye===":"?(st(),l=1):mt();break;case 4:mt(),l=f;break;case 1:ye==="("?l=2:Yv.test(ye)?mt():(st(),l=0,ye!=="*"&&ye!=="?"&&ye!=="+"&&le--);break;case 2:ye===")"?Oe[Oe.length-1]=="\\"?Oe=Oe.slice(0,-1)+ye:l=3:Oe+=ye;break;case 3:st(),l=0,ye!=="*"&&ye!=="?"&&ye!=="+"&&le--,Oe="";break;default:c("Unknown state");break}}return l===2&&c(`Unfinished custom RegExp for param "${Me}"`),st(),Y(),v}function e1(s,c,l){const f=Xv(Zv(s.path),l),v=Ys(f,{record:s,parent:c,children:[],alias:[]});return c&&!v.record.aliasOf==!c.record.aliasOf&&c.children.push(v),v}function t1(s,c){const l=[],f=new Map;c=Zf({strict:!1,end:!0,sensitive:!1},c);function v(Oe){return f.get(Oe)}function N(Oe,st,mt){const St=!mt,Wt=r1(Oe);Wt.aliasOf=mt&&mt.record;const Zt=Zf(c,Oe),Jr=[Wt];if("alias"in Oe){const $t=typeof Oe.alias=="string"?[Oe.alias]:Oe.alias;for(const Ar of $t)Jr.push(Ys({},Wt,{components:mt?mt.record.components:Wt.components,path:Ar,aliasOf:mt?mt.record:Wt}))}let bt,Ot;for(const $t of Jr){const{path:Ar}=$t;if(st&&Ar[0]!=="/"){const un=st.record.path,Kn=un[un.length-1]==="/"?"":"/";$t.path=st.record.path+(Ar&&Kn+Ar)}if(bt=e1($t,st,Zt),mt?mt.alias.push(bt):(Ot=Ot||bt,Ot!==bt&&Ot.alias.push(bt),St&&Oe.name&&!Yf(bt)&&Y(Oe.name)),Wt.children){const un=Wt.children;for(let Kn=0;Kn<un.length;Kn++)N(un[Kn],bt,mt&&mt.children[Kn])}mt=mt||bt,ye(bt)}return Ot?()=>{Y(Ot)}:Vc}function Y(Oe){if(Pm(Oe)){const st=f.get(Oe);st&&(f.delete(Oe),l.splice(l.indexOf(st),1),st.children.forEach(Y),st.alias.forEach(Y))}else{const st=l.indexOf(Oe);st>-1&&(l.splice(st,1),Oe.record.name&&f.delete(Oe.record.name),Oe.children.forEach(Y),Oe.alias.forEach(Y))}}function le(){return l}function ye(Oe){let st=0;for(;st<l.length&&Kv(Oe,l[st])>=0&&(Oe.record.path!==l[st].record.path||!Bm(Oe,l[st]));)st++;l.splice(st,0,Oe),Oe.record.name&&!Yf(Oe)&&f.set(Oe.record.name,Oe)}function Me(Oe,st){let mt,St={},Wt,Zt;if("name"in Oe&&Oe.name){if(mt=f.get(Oe.name),!mt)throw Sc(1,{location:Oe});Zt=mt.record.name,St=Ys(Qf(st.params,mt.keys.filter(Ot=>!Ot.optional).map(Ot=>Ot.name)),Oe.params&&Qf(Oe.params,mt.keys.map(Ot=>Ot.name))),Wt=mt.stringify(St)}else if("path"in Oe)Wt=Oe.path,mt=l.find(Ot=>Ot.re.test(Wt)),mt&&(St=mt.parse(Wt),Zt=mt.record.name);else{if(mt=st.name?f.get(st.name):l.find(Ot=>Ot.re.test(st.path)),!mt)throw Sc(1,{location:Oe,currentLocation:st});Zt=mt.record.name,St=Ys({},st.params,Oe.params),Wt=mt.stringify(St)}const Jr=[];let bt=mt;for(;bt;)Jr.unshift(bt.record),bt=bt.parent;return{name:Zt,path:Wt,params:St,matched:Jr,meta:i1(Jr)}}return s.forEach(Oe=>N(Oe)),{addRoute:N,resolve:Me,removeRoute:Y,getRoutes:le,getRecordMatcher:v}}function Qf(s,c){const l={};for(const f of c)f in s&&(l[f]=s[f]);return l}function r1(s){return{path:s.path,redirect:s.redirect,name:s.name,meta:s.meta||{},aliasOf:void 0,beforeEnter:s.beforeEnter,props:n1(s),children:s.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in s?s.components||null:s.component&&{default:s.component}}}function n1(s){const c={},l=s.props||!1;if("component"in s)c.default=l;else for(const f in s.components)c[f]=typeof l=="boolean"?l:l[f];return c}function Yf(s){for(;s;){if(s.record.aliasOf)return!0;s=s.parent}return!1}function i1(s){return s.reduce((c,l)=>Ys(c,l.meta),{})}function Zf(s,c){const l={};for(const f in s)l[f]=f in c?c[f]:s[f];return l}function Bm(s,c){return c.children.some(l=>l===s||Bm(s,l))}const _m=/#/g,s1=/&/g,a1=/\//g,o1=/=/g,u1=/\?/g,Im=/\+/g,l1=/%5B/g,c1=/%5D/g,Om=/%5E/g,p1=/%60/g,Lm=/%7B/g,h1=/%7C/g,Mm=/%7D/g,f1=/%20/g;function zh(s){return encodeURI(""+s).replace(h1,"|").replace(l1,"[").replace(c1,"]")}function d1(s){return zh(s).replace(Lm,"{").replace(Mm,"}").replace(Om,"^")}function mh(s){return zh(s).replace(Im,"%2B").replace(f1,"+").replace(_m,"%23").replace(s1,"%26").replace(p1,"`").replace(Lm,"{").replace(Mm,"}").replace(Om,"^")}function m1(s){return mh(s).replace(o1,"%3D")}function g1(s){return zh(s).replace(_m,"%23").replace(u1,"%3F")}function y1(s){return s==null?"":g1(s).replace(a1,"%2F")}function Tp(s){try{return decodeURIComponent(""+s)}catch{}return""+s}function D1(s){const c={};if(s===""||s==="?")return c;const f=(s[0]==="?"?s.slice(1):s).split("&");for(let v=0;v<f.length;++v){const N=f[v].replace(Im," "),Y=N.indexOf("="),le=Tp(Y<0?N:N.slice(0,Y)),ye=Y<0?null:Tp(N.slice(Y+1));if(le in c){let Me=c[le];Yu(Me)||(Me=c[le]=[Me]),Me.push(ye)}else c[le]=ye}return c}function ed(s){let c="";for(let l in s){const f=s[l];if(l=m1(l),f==null){f!==void 0&&(c+=(c.length?"&":"")+l);continue}(Yu(f)?f.map(N=>N&&mh(N)):[f&&mh(f)]).forEach(N=>{N!==void 0&&(c+=(c.length?"&":"")+l,N!=null&&(c+="="+N))})}return c}function v1(s){const c={};for(const l in s){const f=s[l];f!==void 0&&(c[l]=Yu(f)?f.map(v=>v==null?null:""+v):f==null?f:""+f)}return c}const x1=Symbol(""),td=Symbol(""),Hh=Symbol(""),$h=Symbol(""),gh=Symbol("");function Rc(){let s=[];function c(f){return s.push(f),()=>{const v=s.indexOf(f);v>-1&&s.splice(v,1)}}function l(){s=[]}return{add:c,list:()=>s,reset:l}}function Ql(s,c,l,f,v){const N=f&&(f.enterCallbacks[v]=f.enterCallbacks[v]||[]);return()=>new Promise((Y,le)=>{const ye=st=>{st===!1?le(Sc(4,{from:l,to:c})):st instanceof Error?le(st):Vv(st)?le(Sc(2,{from:c,to:st})):(N&&f.enterCallbacks[v]===N&&typeof st=="function"&&N.push(st),Y())},Me=s.call(f&&f.instances[v],c,l,ye);let Oe=Promise.resolve(Me);s.length<3&&(Oe=Oe.then(ye)),Oe.catch(st=>le(st))})}function Yp(s,c,l,f){const v=[];for(const N of s)for(const Y in N.components){let le=N.components[Y];if(!(c!=="beforeRouteEnter"&&!N.instances[Y]))if(C1(le)){const Me=(le.__vccOpts||le)[c];Me&&v.push(Ql(Me,l,f,N,Y))}else{let ye=le();v.push(()=>ye.then(Me=>{if(!Me)return Promise.reject(new Error(`Couldn't resolve component "${Y}" at "${N.path}"`));const Oe=Tv(Me)?Me.default:Me;N.components[Y]=Oe;const mt=(Oe.__vccOpts||Oe)[c];return mt&&Ql(mt,l,f,N,Y)()}))}}return v}function C1(s){return typeof s=="object"||"displayName"in s||"props"in s||"__vccOpts"in s}function rd(s){const c=Rl(Hh),l=Rl($h),f=Zs(()=>c.resolve(bs(s.to))),v=Zs(()=>{const{matched:ye}=f.value,{length:Me}=ye,Oe=ye[Me-1],st=l.matched;if(!Oe||!st.length)return-1;const mt=st.findIndex(Tc.bind(null,Oe));if(mt>-1)return mt;const St=nd(ye[Me-2]);return Me>1&&nd(Oe)===St&&st[st.length-1].path!==St?st.findIndex(Tc.bind(null,ye[Me-2])):mt}),N=Zs(()=>v.value>-1&&w1(l.params,f.value.params)),Y=Zs(()=>v.value>-1&&v.value===l.matched.length-1&&Fm(l.params,f.value.params));function le(ye={}){return A1(ye)?c[bs(s.replace)?"replace":"push"](bs(s.to)).catch(Vc):Promise.resolve()}return{route:f,href:Zs(()=>f.value.href),isActive:N,isExactActive:Y,navigate:le}}const E1=Zu({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:rd,setup(s,{slots:c}){const l=Nc(rd(s)),{options:f}=Rl(Hh),v=Zs(()=>({[id(s.activeClass,f.linkActiveClass,"router-link-active")]:l.isActive,[id(s.exactActiveClass,f.linkExactActiveClass,"router-link-exact-active")]:l.isExactActive}));return()=>{const N=c.default&&c.default(l);return s.custom?N:jh("a",{"aria-current":l.isExactActive?s.ariaCurrentValue:null,href:l.href,onClick:l.navigate,class:v.value},N)}}}),b1=E1;function A1(s){if(!(s.metaKey||s.altKey||s.ctrlKey||s.shiftKey)&&!s.defaultPrevented&&!(s.button!==void 0&&s.button!==0)){if(s.currentTarget&&s.currentTarget.getAttribute){const c=s.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(c))return}return s.preventDefault&&s.preventDefault(),!0}}function w1(s,c){for(const l in c){const f=c[l],v=s[l];if(typeof f=="string"){if(f!==v)return!1}else if(!Yu(v)||v.length!==f.length||f.some((N,Y)=>N!==v[Y]))return!1}return!0}function nd(s){return s?s.aliasOf?s.aliasOf.path:s.path:""}const id=(s,c,l)=>s!=null?s:c!=null?c:l,T1=Zu({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(s,{attrs:c,slots:l}){const f=Rl(gh),v=Zs(()=>s.route||f.value),N=Rl(td,0),Y=Zs(()=>{let Me=bs(N);const{matched:Oe}=v.value;let st;for(;(st=Oe[Me])&&!st.components;)Me++;return Me}),le=Zs(()=>v.value.matched[Y.value]);hp(td,Zs(()=>Y.value+1)),hp(x1,le),hp(gh,v);const ye=Ba();return Ya(()=>[ye.value,le.value,s.name],([Me,Oe,st],[mt,St,Wt])=>{Oe&&(Oe.instances[st]=Me,St&&St!==Oe&&Me&&Me===mt&&(Oe.leaveGuards.size||(Oe.leaveGuards=St.leaveGuards),Oe.updateGuards.size||(Oe.updateGuards=St.updateGuards))),Me&&Oe&&(!St||!Tc(Oe,St)||!mt)&&(Oe.enterCallbacks[st]||[]).forEach(Zt=>Zt(Me))},{flush:"post"}),()=>{const Me=v.value,Oe=s.name,st=le.value,mt=st&&st.components[Oe];if(!mt)return sd(l.default,{Component:mt,route:Me});const St=st.props[Oe],Wt=St?St===!0?Me.params:typeof St=="function"?St(Me):St:null,Jr=jh(mt,Ys({},Wt,c,{onVnodeUnmounted:bt=>{bt.component.isUnmounted&&(st.instances[Oe]=null)},ref:ye}));return sd(l.default,{Component:Jr,route:Me})||Jr}}});function sd(s,c){if(!s)return null;const l=s(c);return l.length===1?l[0]:l}const S1=T1;function F1(s){const c=t1(s.routes,s),l=s.parseQuery||D1,f=s.stringifyQuery||ed,v=s.history,N=Rc(),Y=Rc(),le=Rc(),ye=zc(Jl);let Me=Jl;gc&&s.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const Oe=Kp.bind(null,zr=>""+zr),st=Kp.bind(null,y1),mt=Kp.bind(null,Tp);function St(zr,$r){let Cr,mn;return Pm(zr)?(Cr=c.getRecordMatcher(zr),mn=$r):mn=zr,c.addRoute(mn,Cr)}function Wt(zr){const $r=c.getRecordMatcher(zr);$r&&c.removeRoute($r)}function Zt(){return c.getRoutes().map(zr=>zr.record)}function Jr(zr){return!!c.getRecordMatcher(zr)}function bt(zr,$r){if($r=Ys({},$r||ye.value),typeof zr=="string"){const Je=Qp(l,zr,$r.path),Tt=c.resolve({path:Je.path},$r),Nr=v.createHref(Je.fullPath);return Ys(Je,Tt,{params:mt(Tt.params),hash:Tp(Je.hash),redirectedFrom:void 0,href:Nr})}let Cr;if("path"in zr)Cr=Ys({},zr,{path:Qp(l,zr.path,$r.path).path});else{const Je=Ys({},zr.params);for(const Tt in Je)Je[Tt]==null&&delete Je[Tt];Cr=Ys({},zr,{params:st(zr.params)}),$r.params=st($r.params)}const mn=c.resolve(Cr,$r),Vn=zr.hash||"";mn.params=Oe(mt(mn.params));const di=kv(f,Ys({},zr,{hash:d1(Vn),path:mn.path})),Rn=v.createHref(di);return Ys({fullPath:di,hash:Vn,query:f===ed?v1(zr.query):zr.query||{}},mn,{redirectedFrom:void 0,href:Rn})}function Ot(zr){return typeof zr=="string"?Qp(l,zr,ye.value.path):Ys({},zr)}function $t(zr,$r){if(Me!==zr)return Sc(8,{from:$r,to:zr})}function Ar(zr){return bn(zr)}function un(zr){return Ar(Ys(Ot(zr),{replace:!0}))}function Kn(zr){const $r=zr.matched[zr.matched.length-1];if($r&&$r.redirect){const{redirect:Cr}=$r;let mn=typeof Cr=="function"?Cr(zr):Cr;return typeof mn=="string"&&(mn=mn.includes("?")||mn.includes("#")?mn=Ot(mn):{path:mn},mn.params={}),Ys({query:zr.query,hash:zr.hash,params:"path"in mn?{}:zr.params},mn)}}function bn(zr,$r){const Cr=Me=bt(zr),mn=ye.value,Vn=zr.state,di=zr.force,Rn=zr.replace===!0,Je=Kn(Cr);if(Je)return bn(Ys(Ot(Je),{state:typeof Je=="object"?Ys({},Vn,Je.state):Vn,force:di,replace:Rn}),$r||Cr);const Tt=Cr;Tt.redirectedFrom=$r;let Nr;return!di&&Pv(f,mn,Cr)&&(Nr=Sc(16,{to:Tt,from:mn}),Zi(mn,mn,!0,!1)),(Nr?Promise.resolve(Nr):fi(Tt,mn)).catch(Vr=>Ll(Vr)?Ll(Vr,2)?Vr:ii(Vr):cr(Vr,Tt,mn)).then(Vr=>{if(Vr){if(Ll(Vr,2))return bn(Ys({replace:Rn},Ot(Vr.to),{state:typeof Vr.to=="object"?Ys({},Vn,Vr.to.state):Vn,force:di}),$r||Tt)}else Vr=Un(Tt,mn,!0,Rn,Vn);return Wn(Tt,mn,Vr),Vr})}function oi(zr,$r){const Cr=$t(zr,$r);return Cr?Promise.reject(Cr):Promise.resolve()}function fi(zr,$r){let Cr;const[mn,Vn,di]=k1(zr,$r);Cr=Yp(mn.reverse(),"beforeRouteLeave",zr,$r);for(const Je of mn)Je.leaveGuards.forEach(Tt=>{Cr.push(Ql(Tt,zr,$r))});const Rn=oi.bind(null,zr,$r);return Cr.push(Rn),mc(Cr).then(()=>{Cr=[];for(const Je of N.list())Cr.push(Ql(Je,zr,$r));return Cr.push(Rn),mc(Cr)}).then(()=>{Cr=Yp(Vn,"beforeRouteUpdate",zr,$r);for(const Je of Vn)Je.updateGuards.forEach(Tt=>{Cr.push(Ql(Tt,zr,$r))});return Cr.push(Rn),mc(Cr)}).then(()=>{Cr=[];for(const Je of zr.matched)if(Je.beforeEnter&&!$r.matched.includes(Je))if(Yu(Je.beforeEnter))for(const Tt of Je.beforeEnter)Cr.push(Ql(Tt,zr,$r));else Cr.push(Ql(Je.beforeEnter,zr,$r));return Cr.push(Rn),mc(Cr)}).then(()=>(zr.matched.forEach(Je=>Je.enterCallbacks={}),Cr=Yp(di,"beforeRouteEnter",zr,$r),Cr.push(Rn),mc(Cr))).then(()=>{Cr=[];for(const Je of Y.list())Cr.push(Ql(Je,zr,$r));return Cr.push(Rn),mc(Cr)}).catch(Je=>Ll(Je,8)?Je:Promise.reject(Je))}function Wn(zr,$r,Cr){for(const mn of le.list())mn(zr,$r,Cr)}function Un(zr,$r,Cr,mn,Vn){const di=$t(zr,$r);if(di)return di;const Rn=$r===Jl,Je=gc?history.state:{};Cr&&(mn||Rn?v.replace(zr.fullPath,Ys({scroll:Rn&&Je&&Je.scroll},Vn)):v.push(zr.fullPath,Vn)),ye.value=zr,Zi(zr,$r,Cr,Rn),ii()}let gi;function vr(){gi||(gi=v.listen((zr,$r,Cr)=>{if(!hs.listening)return;const mn=bt(zr),Vn=Kn(mn);if(Vn){bn(Ys(Vn,{replace:!0}),mn).catch(Vc);return}Me=mn;const di=ye.value;gc&&jv(Wf(di.fullPath,Cr.delta),$p()),fi(mn,di).catch(Rn=>Ll(Rn,12)?Rn:Ll(Rn,2)?(bn(Rn.to,mn).then(Je=>{Ll(Je,20)&&!Cr.delta&&Cr.type===ep.pop&&v.go(-1,!1)}).catch(Vc),Promise.reject()):(Cr.delta&&v.go(-Cr.delta,!1),cr(Rn,mn,di))).then(Rn=>{Rn=Rn||Un(mn,di,!1),Rn&&(Cr.delta&&!Ll(Rn,8)?v.go(-Cr.delta,!1):Cr.type===ep.pop&&Ll(Rn,20)&&v.go(-1,!1)),Wn(mn,di,Rn)}).catch(Vc)}))}let kn=Rc(),Te=Rc(),nn;function cr(zr,$r,Cr){ii(zr);const mn=Te.list();return mn.length?mn.forEach(Vn=>Vn(zr,$r,Cr)):console.error(zr),Promise.reject(zr)}function Pn(){return nn&&ye.value!==Jl?Promise.resolve():new Promise((zr,$r)=>{kn.add([zr,$r])})}function ii(zr){return nn||(nn=!zr,vr(),kn.list().forEach(([$r,Cr])=>zr?Cr(zr):$r()),kn.reset()),zr}function Zi(zr,$r,Cr,mn){const{scrollBehavior:Vn}=s;if(!gc||!Vn)return Promise.resolve();const di=!Cr&&Rv(Wf(zr.fullPath,0))||(mn||!Cr)&&history.state&&history.state.scroll||null;return Ph().then(()=>Vn(zr,$r,di)).then(Rn=>Rn&&Mv(Rn)).catch(Rn=>cr(Rn,zr,$r))}const gs=zr=>v.go(zr);let As;const ps=new Set,hs={currentRoute:ye,listening:!0,addRoute:St,removeRoute:Wt,hasRoute:Jr,getRoutes:Zt,resolve:bt,options:s,push:Ar,replace:un,go:gs,back:()=>gs(-1),forward:()=>gs(1),beforeEach:N.add,beforeResolve:Y.add,afterEach:le.add,onError:Te.add,isReady:Pn,install(zr){const $r=this;zr.component("RouterLink",b1),zr.component("RouterView",S1),zr.config.globalProperties.$router=$r,Object.defineProperty(zr.config.globalProperties,"$route",{enumerable:!0,get:()=>bs(ye)}),gc&&!As&&ye.value===Jl&&(As=!0,Ar(v.location).catch(Vn=>{}));const Cr={};for(const Vn in Jl)Cr[Vn]=Zs(()=>ye.value[Vn]);zr.provide(Hh,$r),zr.provide($h,Nc(Cr)),zr.provide(gh,ye);const mn=zr.unmount;ps.add(zr),zr.unmount=function(){ps.delete(zr),ps.size<1&&(Me=Jl,gi&&gi(),gi=null,ye.value=Jl,As=!1,nn=!1),mn()}}};return hs}function mc(s){return s.reduce((c,l)=>c.then(()=>l()),Promise.resolve())}function k1(s,c){const l=[],f=[],v=[],N=Math.max(c.matched.length,s.matched.length);for(let Y=0;Y<N;Y++){const le=c.matched[Y];le&&(s.matched.find(Me=>Tc(Me,le))?f.push(le):l.push(le));const ye=s.matched[Y];ye&&(c.matched.find(Me=>Tc(Me,ye))||v.push(ye))}return[l,f,v]}function P1(){return Rl($h)}const N1=Zu({__name:"FileIcon",props:{id:null},setup(s){const c=s,l=Zs(()=>c.id.split(/\./g).pop()),f=Zs(()=>{switch(l.value){case"vue":return"i-logos-vue";default:return"i-carbon-document-blank"}});return(v,N)=>(ya(),uo("div",{class:Cc(bs(f))},null,2))}}),B1={open:""},_1={"cursor-default":"","select-none":"","text-sm":"",truncate:"",p:"y1"},I1={"ml-1":""},O1=Zu({__name:"ModuleTreeNode",props:{node:null,icon:{default:"i-carbon-folder"}},setup(s){const c=P1();return(l,f)=>{const v=vp("ModuleTreeNode",!0),N=N1,Y=vp("RouterLink");return ya(),uo("details",B1,[Gi("summary",_1,[Gi("div",{class:Cc(s.icon)},null,2),Gu(" "+ko(s.node.name),1)]),(ya(!0),uo(eu,null,sf(Object.entries(s.node.children),le=>(ya(),bc(v,{key:le[0],ml2:"",node:le[1]},null,8,["node"]))),128)),(ya(!0),uo(eu,null,sf(s.node.items,le=>(ya(),uo("div",{key:le.full,ml4:"","ws-nowrap":""},[ra(Y,{block:"","text-sm":"",p:"x2 y1",rounded:"",to:`/module/${encodeURIComponent(le.full)}`,class:Cc({"bg-gray/10":le.full===bs(c).params.id})},{default:jl(()=>[ra(N,{id:le.path},null,8,["id"]),Gi("span",I1,ko(le.path.split("/").pop()),1)]),_:2},1032,["to","class"])]))),128))])}}}),L1="/__unocss/icon.svg",M1={p:"x4 y3",b:"b main",flex:"","children:my-auto":""},j1=Gi("div",{flex:"","flex-auto":"","children:my-auto":"","ws-nowrap":""},[Gi("img",{src:L1,filter:"","dark:invert":"","inline-block":"",h:"1.3em",m:"r-1.5"}),Gi("div",{"of-hidden":""},[Gu(" Inspector "),Gi("sup",{"text-teal5":"","bg-teal5:10":"",p:"x1.5 y0.5",rounded:"",italic:""},"beta")])],-1),R1=Zu({__name:"NarBar",setup(s){const c=nD(),l=Ay(c);return(f,v)=>(ya(),uo("nav",M1,[j1,Gi("button",{"text-lg":"","i-carbon-sun":"","dark:i-carbon-moon":"",onClick:v[0]||(v[0]=N=>bs(l)())})]))}}),U1={"h-full":""},z1={b:"r main","of-hidden":""},H1={pt:"4",flex:"~ col gap-3"},$1=Gi("div",{"i-carbon-dashboard":""},null,-1),q1=Gi("span",null," Overview ",-1),V1=Gi("div",{"i-carbon-terminal":""},null,-1),W1=Gi("span",null," REPL ",-1),G1=Gi("div",{b:"b main"},null,-1),X1={b:"r main",class:"scrolls scrolls-sidebar"},J1=Zu({__name:"Sidebar",setup(s){return(c,l)=>{const f=R1,v=vp("RouterLink"),N=O1;return ya(),uo("div",U1,[Gi("div",z1,[ra(f),Gi("div",H1,[ra(v,{block:"",to:"/","text-sm":"",m:"l-3.7"},{default:jl(()=>[$1,q1]),_:1}),ra(v,{block:"",to:"/repl","text-sm":"",m:"l-3.7"},{default:jl(()=>[V1,W1]),_:1}),G1])]),Gi("div",X1,[Object.keys(bs(lp).workspace.children).length?(ya(),bc(N,{key:0,node:bs(lp).workspace,p:"l3 t4",icon:"i-carbon-portfolio"},null,8,["node"])):Ap("",!0),Object.keys(bs(lp).root.children).length?(ya(),bc(N,{key:1,node:bs(lp).root,p:"l3 t4",icon:"i-carbon-vmdk-disk"},null,8,["node"])):Ap("",!0)])])}}});var K1=Object.defineProperty,Q1=Object.defineProperties,Y1=Object.getOwnPropertyDescriptors,Sp=Object.getOwnPropertySymbols,jm=Object.prototype.hasOwnProperty,Rm=Object.prototype.propertyIsEnumerable,ad=(s,c,l)=>c in s?K1(s,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[c]=l,Z1=(s,c)=>{for(var l in c||(c={}))jm.call(c,l)&&ad(s,l,c[l]);if(Sp)for(var l of Sp(c))Rm.call(c,l)&&ad(s,l,c[l]);return s},ex=(s,c)=>Q1(s,Y1(c)),tx=(s,c)=>{var l={};for(var f in s)jm.call(s,f)&&c.indexOf(f)<0&&(l[f]=s[f]);if(s!=null&&Sp)for(var f of Sp(s))c.indexOf(f)<0&&Rm.call(s,f)&&(l[f]=s[f]);return l};const rx={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((s,c)=>(s[c.id]=c)&&s,{})}},methods:{updatePaneComponents(){this.panes.forEach(s=>{s.update&&s.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[s.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(s,c){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=c},onMouseMove(s){this.touch.mouseDown&&(s.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(s)),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(s=>({min:s.min,max:s.max,size:s.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(s,c){"ontouchstart"in window&&(s.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===c?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(s,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(s,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(s,c){this.$emit("pane-click",this.indexedPanes[c])},getCurrentMouseDrag(s){const c=this.container.getBoundingClientRect(),{clientX:l,clientY:f}="ontouchstart"in window&&s.touches?s.touches[0]:s;return{x:l-c.left,y:f-c.top}},getCurrentDragPercentage(s){s=s[this.horizontal?"y":"x"];const c=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(s=c-s),s*100/c},calculatePanesSize(s){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),N=Math.max(Math.min(this.getCurrentDragPercentage(s),v),f);let Y=[c,c+1],le=this.panes[Y[0]]||null,ye=this.panes[Y[1]]||null;const Me=le.max<100&&N>=le.max+l.prevPanesSize,Oe=ye.max<100&&N<=100-(ye.max+this.sumNextPanesSize(c+1));if(Me||Oe){Me?(le.size=le.max,ye.size=Math.max(100-le.max-l.prevPanesSize-l.nextPanesSize,0)):(le.size=Math.max(100-ye.max-l.prevPanesSize-this.sumNextPanesSize(c+1),0),ye.size=ye.max);return}if(this.pushOtherPanes){const st=this.doPushOtherPanes(l,N);if(!st)return;({sums:l,panesToResize:Y}=st),le=this.panes[Y[0]]||null,ye=this.panes[Y[1]]||null}le!==null&&(le.size=Math.min(Math.max(N-l.prevPanesSize-l.prevReachedMinPanes,le.min),le.max)),ye!==null&&(ye.size=Math.min(Math.max(100-N-l.nextPanesSize-l.nextReachedMinPanes,ye.min),ye.max))},doPushOtherPanes(s,c){const l=this.touch.activeSplitter,f=[l,l+1];return c<s.prevPanesSize+this.panes[f[0]].min&&(f[0]=this.findPrevExpandedPane(l).index,s.prevReachedMinPanes=0,f[0]<l&&this.panes.forEach((v,N)=>{N>f[0]&&N<=l&&(v.size=v.min,s.prevReachedMinPanes+=v.min)}),s.prevPanesSize=this.sumPrevPanesSize(f[0]),f[0]===void 0)?(s.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((v,N)=>{N>0&&N<=l&&(v.size=v.min,s.prevReachedMinPanes+=v.min)}),this.panes[f[1]].size=100-s.prevReachedMinPanes-this.panes[0].min-s.prevPanesSize-s.nextPanesSize,null):c>100-s.nextPanesSize-this.panes[f[1]].min&&(f[1]=this.findNextExpandedPane(l).index,s.nextReachedMinPanes=0,f[1]>l+1&&this.panes.forEach((v,N)=>{N>l&&N<f[1]&&(v.size=v.min,s.nextReachedMinPanes+=v.min)}),s.nextPanesSize=this.sumNextPanesSize(f[1]-1),f[1]===void 0)?(s.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((v,N)=>{N<this.panesCount-1&&N>=l+1&&(v.size=v.min,s.nextReachedMinPanes+=v.min)}),this.panes[f[0]].size=100-s.prevPanesSize-s.nextReachedMinPanes-this.panes[this.panesCount-1].min-s.nextPanesSize,null):{sums:s,panesToResize:f}},sumPrevPanesSize(s){return this.panes.reduce((c,l,f)=>c+(f<s?l.size:0),0)},sumNextPanesSize(s){return this.panes.reduce((c,l,f)=>c+(f>s+1?l.size:0),0)},findPrevExpandedPane(s){return[...this.panes].reverse().find(l=>l.index<s&&l.size>l.min)||{}},findNextExpandedPane(s){return this.panes.find(l=>l.index>s+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(s,c,l=!1){const f=s-1,v=document.createElement("div");v.classList.add("splitpanes__splitter"),l||(v.onmousedown=N=>this.onMouseDown(N,f),typeof window<"u"&&"ontouchstart"in window&&(v.ontouchstart=N=>this.onMouseDown(N,f)),v.onclick=N=>this.onSplitterClick(N,f+1)),this.dblClickSplitter&&(v.ondblclick=N=>this.onSplitterDblClick(N,f+1)),c.parentNode.insertBefore(v,c)},removeSplitter(s){s.onmousedown=void 0,s.onclick=void 0,s.ondblclick=void 0,s.parentNode.removeChild(s)},redoSplitters(){const s=Array.from(this.container.children);s.forEach(l=>{l.className.includes("splitpanes__splitter")&&this.removeSplitter(l)});let c=0;s.forEach(l=>{l.className.includes("splitpanes__pane")&&(!c&&this.firstSplitter?this.addSplitter(c,l,!0):c&&this.addSplitter(c,l),c++)})},requestUpdate(s){var c=s,{target:l}=c,f=tx(c,["target"]);const v=this.indexedPanes[l._.uid];Object.entries(f).forEach(([N,Y])=>v[N]=Y)},onPaneAdd(s){let c=-1;Array.from(s.$el.parentNode.children).some(v=>(v.className.includes("splitpanes__pane")&&c++,v===s.$el));const l=parseFloat(s.minSize),f=parseFloat(s.maxSize);this.panes.splice(c,0,{id:s._.uid,index:c,min:isNaN(l)?0:l,max:isNaN(f)?100:f,size:s.size===null?null:parseFloat(s.size),givenSize:s.size,update:s.update}),this.panes.forEach((v,N)=>v.index=N),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(s){const c=this.panes.findIndex(f=>f.id===s._.uid),l=this.panes.splice(c,1)[0];this.panes.forEach((f,v)=>f.index=v),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:ex(Z1({},l),{index:c})}),this.$emit("pane-remove",{removed:l,panes:this.panes.map(f=>({min:f.min,max:f.max,size:f.size}))})})},resetPaneSizes(s={}){!s.addedPane&&!s.removedPane?this.initialPanesSizing():this.panes.some(c=>c.givenSize!==null||c.min||c.max<100)?this.equalizeAfterAddOrRemove(s):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(c=>({min:c.min,max:c.max,size:c.size})))},equalize(){const s=100/this.panesCount;let c=0,l=[],f=[];this.panes.forEach(v=>{v.size=Math.max(Math.min(s,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 s=100,c=[],l=[],f=0;this.panes.forEach(N=>{s-=N.size,N.size!==null&&f++,N.size>=N.max&&c.push(N.id),N.size<=N.min&&l.push(N.id)});let v=100;s>.1&&(this.panes.forEach(N=>{N.size===null&&(N.size=Math.max(Math.min(s/(this.panesCount-f),N.max),N.min)),v-=N.size}),v>.1&&this.readjustSizes(s,c,l))},equalizeAfterAddOrRemove({addedPane:s,removedPane:c}={}){let l=100/this.panesCount,f=0,v=[],N=[];s&&s.givenSize!==null&&(l=(100-s.givenSize)/(this.panesCount-1)),this.panes.forEach(Y=>{f-=Y.size,Y.size>=Y.max&&v.push(Y.id),Y.size<=Y.min&&N.push(Y.id)}),!(Math.abs(f)<.1)&&(this.panes.forEach(Y=>{s&&s.givenSize!==null&&s.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&&N.push(Y.id)}),f>.1&&this.readjustSizes(f,v,N))},readjustSizes(s,c,l){let f;s>0?f=s/(this.panesCount-c.length):f=s/(this.panesCount-l.length),this.panes.forEach((v,N)=>{if(s>0&&!c.includes(v.id)){const Y=Math.max(Math.min(v.size+f,v.max),v.min);s-=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);s-=Y-v.size,v.size=Y}v.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[v.id].size}%`})}),Math.abs(s)>.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(s){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((l,f)=>{l.ondblclick=s?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 jh("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}};var nx=(s,c)=>{const l=s.__vccOpts||s;for(const[f,v]of c)l[f]=v;return l};const ix={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(s){this.style=s}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(s){this.requestUpdate({target:this,size:s})},minSizeNumber(s){this.requestUpdate({target:this,min:s})},maxSizeNumber(s){this.requestUpdate({target:this,max:s})}}};function sx(s,c,l,f,v,N){return ya(),uo("div",{class:"splitpanes__pane",onClick:c[0]||(c[0]=Y=>N.onPaneClick(Y,s._.uid)),style:tp(s.style)},[xp(s.$slots,"default")],4)}var od=nx(ix,[["render",sx]]);const ax={"h-screen":"","w-screen":"","of-hidden":""},ox={"h-full":"","of-hidden":""},ux=Zu({__name:"App",setup(s){return(c,l)=>{const f=J1,v=vp("RouterView");return ya(),uo("div",ax,[ra(bs(rx),null,{default:jl(()=>[ra(bs(od),{size:"20","push-other-panes":!1},{default:jl(()=>[ra(f)]),_:1}),ra(bs(od),{size:"80"},{default:jl(()=>[Gi("div",ox,[ra(v)])]),_:1})]),_:1})])}}}),Um=hy(ux);Um.use(F1({history:qv(),routes:wv}));Um.mount("#app");export{KD as A,Zs as B,Ap as C,ko as D,od as E,rx as F,$D as G,P1 as H,_D as _,cx as a,mm as b,uo as c,Zu as d,ra as e,fx as f,Gi as g,c0 as h,bs as i,Na as j,Gu as k,MD as l,kD as m,tp as n,ya as o,vm as p,bc as q,Ba as r,px as s,ED as t,qD as u,uy as v,jl as w,hx as x,Mg as y,lx as z};
|