@unocss/inspector 66.6.8 → 66.7.0-beta.1
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_-Ido4yHB-.js +1 -0
- package/dist/client/assets/index-CFM05_xk.css +1 -0
- package/dist/client/assets/index-DuJyx2-I.js +161 -0
- package/dist/client/assets/repl--Bk2Lftf.js +3 -0
- package/dist/client/index.html +3 -6
- package/package.json +3 -3
- package/dist/client/assets/_id_-BIxHUFw_.js +0 -1
- package/dist/client/assets/index-BwsN_9lk.js +0 -3
- package/dist/client/assets/index-W3Dm2a6P.css +0 -1
- package/dist/client/assets/repl-xrRs26oL.js +0 -3
- package/dist/client/assets/splitpanes.es-CPPTnJAX.js +0 -251
- package/dist/client/assets/useScrollStyle-BOmGgPVV.js +0 -34
- package/dist/client/assets/useScrollStyle-ClynxqzU.css +0 -1
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
import{$ as e,A as t,B as n,C as r,D as i,E as a,F as o,G as s,H as c,I as l,J as u,K as d,L as f,M as p,N as m,O as h,P as g,Q as _,R as v,T as y,U as b,V as x,W as S,X as C,Y as w,Z as T,at as E,b as D,ct as O,dt as k,et as A,ft as j,i as M,it as N,j as P,k as F,lt as I,m as L,nt as R,ot as z,pt as B,q as V,rt as H,tt as U,ut as W,v as G,w as K,z as q}from"./useScrollStyle-BOmGgPVV.js";var ee=Object.create,J=Object.defineProperty,te=Object.getOwnPropertyDescriptor,ne=Object.getOwnPropertyNames,Y=Object.getPrototypeOf,re=Object.prototype.hasOwnProperty,ie=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ae=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=ne(t),a=0,o=i.length,s;a<o;a++)s=i[a],!re.call(e,s)&&s!==n&&J(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=te(t,s))||r.enumerable});return e},oe=(e,t,n)=>(n=e==null?{}:ee(Y(e)),ae(t||!e||!e.__esModule?J(n,`default`,{value:e,enumerable:!0}):n,e)),se={flex:``,border:`t main`},ce=[`onClick`],le=m({__name:`Tabs`,props:{modelValue:{},items:{}},emits:[`update:modelValue`],setup(e,{emit:n}){let r=e,a=G(r,`modelValue`,n,{passive:!0,defaultValue:r.items?.[0]?.value});return(n,r)=>(b(),t(`ul`,se,[(b(!0),t(y,null,V(e.items,({label:e,value:n,icon:r})=>(b(),t(`li`,{key:n,"cursor-pointer":``,"px-4":``,"py-3":``,"whitespace-nowrap":``,"select-none":``,class:W(I(a)===n?`bg-active dark:text-white text-black`:`text-dark:50 dark:text-white:50`),onClick:e=>a.value=n},[i(`div`,{class:W(r)},null,2),P(` `+B(e),1)],10,ce))),128))]))}}),ue=m({__name:`OverviewTabs`,props:{modelValue:{}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,i=N([{label:`Source`,value:`source`,icon:`i-carbon-cics-program`},{label:`Analyzer`,value:`analyzer`,icon:`i-carbon-align-horizontal-left`}]),a=G(n,`modelValue`,r);return(e,t)=>{let n=le;return b(),h(n,{modelValue:I(a),"onUpdate:modelValue":t[0]||=e=>R(a)?a.value=e:null,items:I(i)},null,8,[`modelValue`,`items`])}}}),de={key:0,"ws-wrap":``},fe={key:1},pe=m({__name:`ModuleId`,props:{id:{}},setup(e){return(n,r)=>e.id&&I(M)?(b(),t(`span`,de,[e.id.startsWith(I(M).root)?(b(),t(y,{key:0},[r[0]||=i(`span`,{op80:``},`.`,-1),i(`span`,null,B(e.id.slice(I(M).root.length)),1)],64)):(b(),t(`span`,fe,B(e.id),1))])):F(``,!0)}}),X=ie(((e,t)=>{(function(n){if(typeof e==`object`&&typeof t==`object`)t.exports=n();else if(typeof define==`function`&&define.amd)define(n);else{var r=typeof globalThis<`u`?globalThis:typeof global<`u`?global:typeof self<`u`?self:this||{};r.prettierPlugins=r.prettierPlugins||{},r.prettierPlugins.babel=n()}})(function(){var e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),t=e((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n(typeof globalThis==`object`&&globalThis)||n(typeof window==`object`&&window)||n(typeof self==`object`&&self)||n(typeof global==`object`&&global)||function(){return this}()||Function(`return this`)()}),n=e((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}}),r=e((e,t)=>{t.exports=!n()(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),i=e((e,t)=>{t.exports=!n()(function(){var e=function(){}.bind();return typeof e!=`function`||e.hasOwnProperty(`prototype`)})}),a=e((e,t)=>{var n=i(),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}}),o=e(e=>{var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor;e.f=n&&!t.call({1:2},1)?function(e){var t=n(this,e);return!!t&&t.enumerable}:t}),s=e((e,t)=>{t.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}}),c=e((e,t)=>{var n=i(),r=Function.prototype,a=r.call,o=n&&r.bind.bind(a,a);t.exports=n?o:function(e){return function(){return a.apply(e,arguments)}}}),l=e((e,t)=>{var n=c(),r=n({}.toString),i=n(``.slice);t.exports=function(e){return i(r(e),8,-1)}}),u=e((e,t)=>{var r=c(),i=n(),a=l(),o=Object,s=r(``.split);t.exports=i(function(){return!o(`z`).propertyIsEnumerable(0)})?function(e){return a(e)==`String`?s(e,``):o(e)}:o}),d=e((e,t)=>{t.exports=function(e){return e==null}}),f=e((e,t)=>{var n=d(),r=TypeError;t.exports=function(e){if(n(e))throw r(`Can't call method on `+e);return e}}),p=e((e,t)=>{var n=u(),r=f();t.exports=function(e){return n(r(e))}}),m=e((e,t)=>{var n=typeof document==`object`&&document.all;t.exports={all:n,IS_HTMLDDA:typeof n>`u`&&n!==void 0}}),h=e((e,t)=>{var n=m(),r=n.all;t.exports=n.IS_HTMLDDA?function(e){return typeof e==`function`||e===r}:function(e){return typeof e==`function`}}),g=e((e,t)=>{var n=h(),r=m(),i=r.all;t.exports=r.IS_HTMLDDA?function(e){return typeof e==`object`?e!==null:n(e)||e===i}:function(e){return typeof e==`object`?e!==null:n(e)}}),_=e((e,n)=>{var r=t(),i=h(),a=function(e){return i(e)?e:void 0};n.exports=function(e,t){return arguments.length<2?a(r[e]):r[e]&&r[e][t]}}),v=e((e,t)=>{t.exports=c()({}.isPrototypeOf)}),y=e((e,t)=>{t.exports=_()(`navigator`,`userAgent`)||``}),b=e((e,n)=>{var r=t(),i=y(),a=r.process,o=r.Deno,s=a&&a.versions||o&&o.version,c=s&&s.v8,l,u;c&&(l=c.split(`.`),u=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!u&&i&&(l=i.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=i.match(/Chrome\/(\d+)/),l&&(u=+l[1]))),n.exports=u}),x=e((e,t)=>{var r=b(),i=n();t.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})}),S=e((e,t)=>{t.exports=x()&&!Symbol.sham&&typeof Symbol.iterator==`symbol`}),C=e((e,t)=>{var n=_(),r=h(),i=v(),a=S(),o=Object;t.exports=a?function(e){return typeof e==`symbol`}:function(e){var t=n(`Symbol`);return r(t)&&i(t.prototype,o(e))}}),w=e((e,t)=>{var n=String;t.exports=function(e){try{return n(e)}catch{return`Object`}}}),T=e((e,t)=>{var n=h(),r=w(),i=TypeError;t.exports=function(e){if(n(e))return e;throw i(r(e)+` is not a function`)}}),E=e((e,t)=>{var n=T(),r=d();t.exports=function(e,t){var i=e[t];return r(i)?void 0:n(i)}}),D=e((e,t)=>{var n=a(),r=h(),i=g(),o=TypeError;t.exports=function(e,t){var a,s;if(t===`string`&&r(a=e.toString)&&!i(s=n(a,e))||r(a=e.valueOf)&&!i(s=n(a,e))||t!==`string`&&r(a=e.toString)&&!i(s=n(a,e)))return s;throw o(`Can't convert object to primitive value`)}}),O=e((e,t)=>{t.exports=!1}),k=e((e,n)=>{var r=t(),i=Object.defineProperty;n.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch{r[e]=t}return t}}),A=e((e,n)=>{var r=t(),i=k(),a=`__core-js_shared__`;n.exports=r[a]||i(a,{})}),j=e((e,t)=>{var n=O(),r=A();(t.exports=function(e,t){return r[e]||(r[e]=t===void 0?{}:t)})(`versions`,[]).push({version:`3.26.1`,mode:n?`pure`:`global`,copyright:`© 2014-2022 Denis Pushkarev (zloirock.ru)`,license:`https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE`,source:`https://github.com/zloirock/core-js`})}),M=e((e,t)=>{var n=f(),r=Object;t.exports=function(e){return r(n(e))}}),N=e((e,t)=>{var n=c(),r=M(),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(r(e),t)}}),P=e((e,t)=>{var n=c(),r=0,i=Math.random(),a=n(1 .toString);t.exports=function(e){return`Symbol(`+(e===void 0?``:e)+`)_`+a(++r+i,36)}}),F=e((e,n)=>{var r=t(),i=j(),a=N(),o=P(),s=x(),c=S(),l=i(`wks`),u=r.Symbol,d=u&&u.for,f=c?u:u&&u.withoutSetter||o;n.exports=function(e){if(!a(l,e)||!(s||typeof l[e]==`string`)){var t=`Symbol.`+e;s&&a(u,e)?l[e]=u[e]:c&&d?l[e]=d(t):l[e]=f(t)}return l[e]}}),I=e((e,t)=>{var n=a(),r=g(),i=C(),o=E(),s=D(),c=F(),l=TypeError,u=c(`toPrimitive`);t.exports=function(e,t){if(!r(e)||i(e))return e;var a=o(e,u),c;if(a){if(t===void 0&&(t=`default`),c=n(a,e,t),!r(c)||i(c))return c;throw l(`Can't convert object to primitive value`)}return t===void 0&&(t=`number`),s(e,t)}}),L=e((e,t)=>{var n=I(),r=C();t.exports=function(e){var t=n(e,`string`);return r(t)?t:t+``}}),R=e((e,n)=>{var r=t(),i=g(),a=r.document,o=i(a)&&i(a.createElement);n.exports=function(e){return o?a.createElement(e):{}}}),z=e((e,t)=>{var i=r(),a=n(),o=R();t.exports=!i&&!a(function(){return Object.defineProperty(o(`div`),`a`,{get:function(){return 7}}).a!=7})}),B=e(e=>{var t=r(),n=a(),i=o(),c=s(),l=p(),u=L(),d=N(),f=z(),m=Object.getOwnPropertyDescriptor;e.f=t?m:function(e,t){if(e=l(e),t=u(t),f)try{return m(e,t)}catch{}if(d(e,t))return c(!n(i.f,e,t),e[t])}}),V=e((e,t)=>{var i=r(),a=n();t.exports=i&&a(function(){return Object.defineProperty(function(){},`prototype`,{value:42,writable:!1}).prototype!=42})}),H=e((e,t)=>{var n=g(),r=String,i=TypeError;t.exports=function(e){if(n(e))return e;throw i(r(e)+` is not an object`)}}),U=e(e=>{var t=r(),n=z(),i=V(),a=H(),o=L(),s=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u=`enumerable`,d=`configurable`,f=`writable`;e.f=t?i?function(e,t,n){if(a(e),t=o(t),a(n),typeof e==`function`&&t===`prototype`&&`value`in n&&f in n&&!n[f]){var r=l(e,t);r&&r[f]&&(e[t]=n.value,n={configurable:d in n?n[d]:r[d],enumerable:u in n?n[u]:r[u],writable:!1})}return c(e,t,n)}:c:function(e,t,r){if(a(e),t=o(t),a(r),n)try{return c(e,t,r)}catch{}if(`get`in r||`set`in r)throw s(`Accessors not supported`);return`value`in r&&(e[t]=r.value),e}}),W=e((e,t)=>{var n=r(),i=U(),a=s();t.exports=n?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}}),G=e((e,t)=>{var n=r(),i=N(),a=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,s=i(a,`name`);t.exports={EXISTS:s,PROPER:s&&function(){}.name===`something`,CONFIGURABLE:s&&(!n||n&&o(a,`name`).configurable)}}),K=e((e,t)=>{var n=c(),r=h(),i=A(),a=n(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),t.exports=i.inspectSource}),q=e((e,n)=>{var r=t(),i=h(),a=r.WeakMap;n.exports=i(a)&&/native code/.test(String(a))}),ee=e((e,t)=>{var n=j(),r=P(),i=n(`keys`);t.exports=function(e){return i[e]||(i[e]=r(e))}}),J=e((e,t)=>{t.exports={}}),te=e((e,n)=>{var r=q(),i=t(),a=g(),o=W(),s=N(),c=A(),l=ee(),u=J(),d=`Object already initialized`,f=i.TypeError,p=i.WeakMap,m,h,_,v=function(e){return _(e)?h(e):m(e,{})},y=function(e){return function(t){var n;if(!a(t)||(n=h(t)).type!==e)throw f(`Incompatible receiver, `+e+` required`);return n}};r||c.state?(b=c.state||=new p,b.get=b.get,b.has=b.has,b.set=b.set,m=function(e,t){if(b.has(e))throw f(d);return t.facade=e,b.set(e,t),t},h=function(e){return b.get(e)||{}},_=function(e){return b.has(e)}):(x=l(`state`),u[x]=!0,m=function(e,t){if(s(e,x))throw f(d);return t.facade=e,o(e,x,t),t},h=function(e){return s(e,x)?e[x]:{}},_=function(e){return s(e,x)});var b,x;n.exports={set:m,get:h,has:_,enforce:v,getterFor:y}}),ne=e((e,t)=>{var i=n(),a=h(),o=N(),s=r(),c=G().CONFIGURABLE,l=K(),u=te(),d=u.enforce,f=u.get,p=Object.defineProperty,m=s&&!i(function(){return p(function(){},`length`,{value:8}).length!==8}),g=String(String).split(`String`),_=t.exports=function(e,t,n){String(t).slice(0,7)===`Symbol(`&&(t=`[`+String(t).replace(/^Symbol\(([^)]*)\)/,`$1`)+`]`),n&&n.getter&&(t=`get `+t),n&&n.setter&&(t=`set `+t),(!o(e,`name`)||c&&e.name!==t)&&(s?p(e,`name`,{value:t,configurable:!0}):e.name=t),m&&n&&o(n,`arity`)&&e.length!==n.arity&&p(e,`length`,{value:n.arity});try{n&&o(n,`constructor`)&&n.constructor?s&&p(e,`prototype`,{writable:!1}):e.prototype&&=void 0}catch{}var r=d(e);return o(r,`source`)||(r.source=g.join(typeof t==`string`?t:``)),e};Function.prototype.toString=_(function(){return a(this)&&f(this).source||l(this)},`toString`)}),Y=e((e,t)=>{var n=h(),r=U(),i=ne(),a=k();t.exports=function(e,t,o,s){s||={};var c=s.enumerable,l=s.name===void 0?t:s.name;if(n(o)&&i(o,l,s),s.global)c?e[t]=o:a(t,o);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch{}c?e[t]=o:r.f(e,t,{value:o,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}}),re=e((e,t)=>{var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}}),ie=e((e,t)=>{var n=re();t.exports=function(e){var t=+e;return t!==t||t===0?0:n(t)}}),ae=e((e,t)=>{var n=ie(),r=Math.max,i=Math.min;t.exports=function(e,t){var a=n(e);return a<0?r(a+t,0):i(a,t)}}),oe=e((e,t)=>{var n=ie(),r=Math.min;t.exports=function(e){return e>0?r(n(e),9007199254740991):0}}),se=e((e,t)=>{var n=oe();t.exports=function(e){return n(e.length)}}),ce=e((e,t)=>{var n=p(),r=ae(),i=se(),a=function(e){return function(t,a,o){var s=n(t),c=i(s),l=r(o,c),u;if(e&&a!=a){for(;c>l;)if(u=s[l++],u!=u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===a)return e||l||0;return!e&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}}),le=e((e,t)=>{var n=c(),r=N(),i=p(),a=ce().indexOf,o=J(),s=n([].push);t.exports=function(e,t){var n=i(e),c=0,l=[],u;for(u in n)!r(o,u)&&r(n,u)&&s(l,u);for(;t.length>c;)r(n,u=t[c++])&&(~a(l,u)||s(l,u));return l}}),ue=e((e,t)=>{t.exports=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`]}),de=e(e=>{var t=le(),n=ue().concat(`length`,`prototype`);e.f=Object.getOwnPropertyNames||function(e){return t(e,n)}}),fe=e(e=>{e.f=Object.getOwnPropertySymbols}),pe=e((e,t)=>{var n=_(),r=c(),i=de(),a=fe(),o=H(),s=r([].concat);t.exports=n(`Reflect`,`ownKeys`)||function(e){var t=i.f(o(e)),n=a.f;return n?s(t,n(e)):t}}),X=e((e,t)=>{var n=N(),r=pe(),i=B(),a=U();t.exports=function(e,t,o){for(var s=r(t),c=a.f,l=i.f,u=0;u<s.length;u++){var d=s[u];!n(e,d)&&!(o&&n(o,d))&&c(e,d,l(t,d))}}}),Z=e((e,t)=>{var r=n(),i=h(),a=/#|\.prototype\./,o=function(e,t){var n=c[s(e)];return n==u?!0:n==l?!1:i(t)?r(t):!!t},s=o.normalize=function(e){return String(e).replace(a,`.`).toLowerCase()},c=o.data={},l=o.NATIVE=`N`,u=o.POLYFILL=`P`;t.exports=o}),me=e((e,n)=>{var r=t(),i=B().f,a=W(),o=Y(),s=k(),c=X(),l=Z();n.exports=function(e,t){var n=e.target,u=e.global,d=e.stat,f,p,m,h,g,_;if(p=u?r:d?r[n]||s(n,{}):(r[n]||{}).prototype,p)for(m in t){if(g=t[m],e.dontCallGetSet?(_=i(p,m),h=_&&_.value):h=p[m],f=l(u?m:n+(d?`.`:`#`)+m,e.forced),!f&&h!==void 0){if(typeof g==typeof h)continue;c(g,h)}(e.sham||h&&h.sham)&&a(g,`sham`,!0),o(p,m,g,e)}}}),he=e(()=>{var e=me(),n=t();e({global:!0,forced:n.globalThis!==n},{globalThis:n})}),ge=e(()=>{he()}),_e=e((e,t)=>{var n=ne(),r=U();t.exports=function(e,t,i){return i.get&&n(i.get,t,{getter:!0}),i.set&&n(i.set,t,{setter:!0}),r.f(e,t,i)}}),ve=e((e,t)=>{var n=H();t.exports=function(){var e=n(this),t=``;return e.hasIndices&&(t+=`d`),e.global&&(t+=`g`),e.ignoreCase&&(t+=`i`),e.multiline&&(t+=`m`),e.dotAll&&(t+=`s`),e.unicode&&(t+=`u`),e.unicodeSets&&(t+=`v`),e.sticky&&(t+=`y`),t}}),ye=e(()=>{var e=t(),i=r(),a=_e(),o=ve(),s=n(),c=e.RegExp,l=c.prototype;i&&s(function(){var e=!0;try{c(`.`,`d`)}catch{e=!1}var t={},n=``,r=e?`dgimsy`:`gimsy`,i=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},a={dotAll:`s`,global:`g`,ignoreCase:`i`,multiline:`m`,sticky:`y`};for(var o in e&&(a.hasIndices=`d`),a)i(o,a[o]);return Object.getOwnPropertyDescriptor(l,`flags`).get.call(t)!==r||n!==r})&&a(l,`flags`,{configurable:!0,get:o})}),be=e((e,t)=>{var n=l();t.exports=Array.isArray||function(e){return n(e)==`Array`}}),xe=e((e,t)=>{var n=TypeError,r=9007199254740991;t.exports=function(e){if(e>r)throw n(`Maximum allowed index exceeded`);return e}}),Se=e((e,t)=>{var n=l(),r=c();t.exports=function(e){if(n(e)===`Function`)return r(e)}}),Ce=e((e,t)=>{var n=Se(),r=T(),a=i(),o=n(n.bind);t.exports=function(e,t){return r(e),t===void 0?e:a?o(e,t):function(){return e.apply(t,arguments)}}}),we=e((e,t)=>{var n=be(),r=se(),i=xe(),a=Ce(),o=function(e,t,s,c,l,u,d,f){for(var p=l,m=0,h=d?a(d,f):!1,g,_;m<c;)m in s&&(g=h?h(s[m],m,t):s[m],u>0&&n(g)?(_=r(g),p=o(e,t,g,_,p,u-1)-1):(i(p+1),e[p]=g),p++),m++;return p};t.exports=o}),Te=e((e,t)=>{var n=F()(`toStringTag`),r={};r[n]=`z`,t.exports=String(r)===`[object z]`}),Ee=e((e,t)=>{var n=Te(),r=h(),i=l(),a=F()(`toStringTag`),o=Object,s=i(function(){return arguments}())==`Arguments`,c=function(e,t){try{return e[t]}catch{}};t.exports=n?i:function(e){var t,n,l;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=c(t=o(e),a))==`string`?n:s?i(t):(l=i(t))==`Object`&&r(t.callee)?`Arguments`:l}}),De=e((e,t)=>{var r=c(),i=n(),a=h(),o=Ee(),s=_(),l=K(),u=function(){},d=[],f=s(`Reflect`,`construct`),p=/^\s*(?:class|function)\b/,m=r(p.exec),g=!p.exec(u),v=function(e){if(!a(e))return!1;try{return f(u,d,e),!0}catch{return!1}},y=function(e){if(!a(e))return!1;switch(o(e)){case`AsyncFunction`:case`GeneratorFunction`:case`AsyncGeneratorFunction`:return!1}try{return g||!!m(p,l(e))}catch{return!0}};y.sham=!0,t.exports=!f||i(function(){var e;return v(v.call)||!v(Object)||!v(function(){e=!0})||e})?y:v}),Oe=e((e,t)=>{var n=be(),r=De(),i=g(),a=F()(`species`),o=Array;t.exports=function(e){var t;return n(e)&&(t=e.constructor,r(t)&&(t===o||n(t.prototype))?t=void 0:i(t)&&(t=t[a],t===null&&(t=void 0))),t===void 0?o:t}}),ke=e((e,t)=>{var n=Oe();t.exports=function(e,t){return new(n(e))(t===0?0:t)}}),Ae=e(()=>{var e=me(),t=we(),n=T(),r=M(),i=se(),a=ke();e({target:`Array`,proto:!0},{flatMap:function(e){var o=r(this),s=i(o),c;return n(e),c=a(o,0),c.length=t(c,o,o,s,0,1,e,arguments.length>1?arguments[1]:void 0),c}})});return e((e,t)=>{ge(),ye(),Ae();var n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o=(e,t)=>function(){return e&&(t=(0,e[i(e)[0]])(e=0)),t},s=(e,t)=>function(){return t||(0,e[i(e)[0]])((t={exports:{}}).exports,t),t.exports},c=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})},l=(e,t,o,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let c of i(t))!a.call(e,c)&&c!==o&&n(e,c,{get:()=>t[c],enumerable:!(s=r(t,c))||s.enumerable});return e},u=e=>l(n({},`__esModule`,{value:!0}),e),d=o({"<define:process>"(){}}),f=s({"src/utils/try-combinations.js"(e,t){d();function n(){let e;var t=[...arguments];for(let[n,r]of t.entries())try{return{result:r()}}catch(t){n===0&&(e=t)}return{error:e}}t.exports=n}}),p=s({"src/language-js/utils/get-shebang.js"(e,t){d();function n(e){if(!e.startsWith(`#!`))return``;let t=e.indexOf(`
|
|
2
|
-
`);return t===-1?e:e.slice(0,t)}t.exports=n}}),m=s({"src/utils/text/skip-inline-comment.js"(e,t){d();function n(e,t){if(t===!1)return!1;if(e.charAt(t)===`/`&&e.charAt(t+1)===`*`){for(let n=t+2;n<e.length;++n)if(e.charAt(n)===`*`&&e.charAt(n+1)===`/`)return n+2}return t}t.exports=n}}),h=s({"src/utils/text/skip-newline.js"(e,t){d();function n(e,t,n){let r=n&&n.backwards;if(t===!1)return!1;let i=e.charAt(t);if(r){if(e.charAt(t-1)===`\r`&&i===`
|
|
3
|
-
`)return t-2;if(i===`
|
|
4
|
-
`||i===`\r`||i===`\u2028`||i===`\u2029`)return t-1}else{if(i===`\r`&&e.charAt(t+1)===`
|
|
5
|
-
`)return t+2;if(i===`
|
|
6
|
-
`||i===`\r`||i===`\u2028`||i===`\u2029`)return t+1}return t}t.exports=n}}),g=s({"src/utils/text/skip.js"(e,t){d();function n(e){return(t,n,r)=>{let i=r&&r.backwards;if(n===!1)return!1;let{length:a}=t,o=n;for(;o>=0&&o<a;){let n=t.charAt(o);if(e instanceof RegExp){if(!e.test(n))return o}else if(!e.includes(n))return o;i?o--:o++}return o===-1||o===a?o:!1}}t.exports={skipWhitespace:n(/\s/),skipSpaces:n(` `),skipToLineEnd:n(`,; `),skipEverythingButNewLine:n(/[^\n\r]/)}}}),_=s({"src/utils/text/skip-trailing-comment.js"(e,t){d();var{skipEverythingButNewLine:n}=g();function r(e,t){return t===!1?!1:e.charAt(t)===`/`&&e.charAt(t+1)===`/`?n(e,t):t}t.exports=r}}),v=s({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){d();var n=m(),r=h(),i=_(),{skipSpaces:a}=g();function o(e,t){let o=null,s=t;for(;s!==o;)o=s,s=a(e,s),s=n(e,s),s=i(e,s),s=r(e,s);return s}t.exports=o}}),y={};c(y,{EOL:()=>I,arch:()=>j,cpus:()=>E,default:()=>L,endianness:()=>b,freemem:()=>w,getNetworkInterfaces:()=>A,hostname:()=>x,loadavg:()=>S,networkInterfaces:()=>k,platform:()=>M,release:()=>O,tmpDir:()=>N,tmpdir:()=>F,totalmem:()=>T,type:()=>D,uptime:()=>C});function b(){if(typeof P>`u`){var e=new ArrayBuffer(2),t=new Uint8Array(e),n=new Uint16Array(e);if(t[0]=1,t[1]=2,n[0]===258)P=`BE`;else if(n[0]===513)P=`LE`;else throw Error(`unable to figure out endianess`)}return P}function x(){return typeof globalThis.location<`u`?globalThis.location.hostname:``}function S(){return[]}function C(){return 0}function w(){return Number.MAX_VALUE}function T(){return Number.MAX_VALUE}function E(){return[]}function D(){return`Browser`}function O(){return typeof globalThis.navigator<`u`?globalThis.navigator.appVersion:``}function k(){}function A(){}function j(){return`javascript`}function M(){return`browser`}function N(){return`/tmp`}var P,F,I,L,R=o({"node-modules-polyfills:os"(){d(),F=N,I=`
|
|
7
|
-
`,L={EOL:I,tmpdir:F,tmpDir:N,networkInterfaces:k,getNetworkInterfaces:A,release:O,type:D,cpus:E,totalmem:T,freemem:w,uptime:C,loadavg:S,hostname:x,endianness:b}}}),z=s({"node-modules-polyfills-commonjs:os"(e,t){d();var n=(R(),u(y));if(n&&n.default){t.exports=n.default;for(let e in n)t.exports[e]=n[e]}else n&&(t.exports=n)}}),B=s({"node_modules/detect-newline/index.js"(e,t){d();var n=e=>{if(typeof e!=`string`)throw TypeError(`Expected a string`);let t=e.match(/(?:\r?\n)/g)||[];if(t.length===0)return;let n=t.filter(e=>e===`\r
|
|
8
|
-
`).length;return n>t.length-n?`\r
|
|
9
|
-
`:`
|
|
10
|
-
`};t.exports=n,t.exports.graceful=e=>typeof e==`string`&&n(e)||`
|
|
11
|
-
`}}),V=s({"node_modules/jest-docblock/build/index.js"(e){d(),Object.defineProperty(e,`__esModule`,{value:!0}),e.extract=m,e.parse=g,e.parseWithComments=_,e.print=v,e.strip=h;function t(){let e=z();return t=function(){return e},e}function n(){let e=r(B());return n=function(){return e},e}function r(e){return e&&e.__esModule?e:{default:e}}var i=/\*\/$/,a=/^\/\*\*?/,o=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,s=/(^|\s+)\/\/([^\r\n]*)/g,c=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,u=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,f=/(\r?\n|^) *\* ?/g,p=[];function m(e){let t=e.match(o);return t?t[0].trimLeft():``}function h(e){let t=e.match(o);return t&&t[0]?e.substring(t[0].length):e}function g(e){return _(e).pragmas}function _(e){let r=(0,n().default)(e)||t().EOL;e=e.replace(a,``).replace(i,``).replace(f,`$1`);let o=``;for(;o!==e;)o=e,e=e.replace(l,`${r}$1 $2${r}`);e=e.replace(c,``).trimRight();let d=Object.create(null),m=e.replace(u,``).replace(c,``).trimRight(),h;for(;h=u.exec(e);){let e=h[2].replace(s,``);typeof d[h[1]]==`string`||Array.isArray(d[h[1]])?d[h[1]]=p.concat(d[h[1]],e):d[h[1]]=e}return{comments:m,pragmas:d}}function v(e){let{comments:r=``,pragmas:i={}}=e,a=(0,n().default)(r)||t().EOL,o=Object.keys(i),s=o.map(e=>y(e,i[e])).reduce((e,t)=>e.concat(t),[]).map(e=>` * ${e}${a}`).join(``);if(!r){if(o.length===0)return``;if(o.length===1&&!Array.isArray(i[o[0]])){let e=i[o[0]];return`/** ${y(o[0],e)[0]} */`}}let c=r.split(a).map(e=>` * ${e}`).join(a)+a;return`/**`+a+(r?c:``)+(r&&o.length?` *`+a:``)+s+` */`}function y(e,t){return p.concat(t).map(t=>`@${e} ${t}`.trim())}}}),H=s({"src/common/end-of-line.js"(e,t){d();function n(e){let t=e.indexOf(`\r`);return t>=0?e.charAt(t+1)===`
|
|
12
|
-
`?`crlf`:`cr`:`lf`}function r(e){switch(e){case`cr`:return`\r`;case`crlf`:return`\r
|
|
13
|
-
`;default:return`
|
|
14
|
-
`}}function i(e,t){let n;switch(t){case`
|
|
15
|
-
`:n=/\n/g;break;case`\r`:n=/\r/g;break;case`\r
|
|
16
|
-
`:n=/\r\n/g;break;default:throw Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let r=e.match(n);return r?r.length:0}function a(e){return e.replace(/\r\n?/g,`
|
|
17
|
-
`)}t.exports={guessEndOfLine:n,convertEndOfLineToChars:r,countEndOfLineChars:i,normalizeEndOfLine:a}}}),U=s({"src/language-js/pragma.js"(e,t){d();var{parseWithComments:n,strip:r,extract:i,print:a}=V(),{normalizeEndOfLine:o}=H(),s=p();function c(e){let t=s(e);t&&(e=e.slice(t.length+1));let{pragmas:r,comments:a}=n(i(e));return{shebang:t,text:e,pragmas:r,comments:a}}function l(e){let t=Object.keys(c(e).pragmas);return t.includes(`prettier`)||t.includes(`format`)}function u(e){let{shebang:t,text:n,pragmas:i,comments:s}=c(e),l=r(n),u=a({pragmas:Object.assign({format:``},i),comments:s.trimStart()});return(t?`${t}
|
|
18
|
-
`:``)+o(u)+(l.startsWith(`
|
|
19
|
-
`)?`
|
|
20
|
-
`:`
|
|
21
|
-
|
|
22
|
-
`)+l}t.exports={hasPragma:l,insertPragma:u}}}),W=s({"src/utils/is-non-empty-array.js"(e,t){d();function n(e){return Array.isArray(e)&&e.length>0}t.exports=n}}),G=s({"src/language-js/loc.js"(e,t){d();var n=W();function r(e){let t=e.range?e.range[0]:e.start,i=e.declaration?.decorators??e.decorators;return n(i)?Math.min(r(i[0]),t):t}function i(e){return e.range?e.range[1]:e.end}function a(e,t){let n=r(e);return Number.isInteger(n)&&n===r(t)}function o(e,t){let n=i(e);return Number.isInteger(n)&&n===i(t)}function s(e,t){return a(e,t)&&o(e,t)}t.exports={locStart:r,locEnd:i,hasSameLocStart:a,hasSameLoc:s}}}),K=s({"src/language-js/parse/utils/create-parser.js"(e,t){d();var{hasPragma:n}=U(),{locStart:r,locEnd:i}=G();function a(e){return e=typeof e==`function`?{parse:e}:e,Object.assign({astFormat:`estree`,hasPragma:n,locStart:r,locEnd:i},e)}t.exports=a}}),q=s({"src/common/parser-create-error.js"(e,t){d();function n(e,t){let n=SyntaxError(e+` (`+t.start.line+`:`+t.start.column+`)`);return n.loc=t,n}t.exports=n}}),ee=s({"src/language-js/parse/utils/create-babel-parse-error.js"(e,t){d();var n=q();function r(e){let{message:t,loc:r}=e;return n(t.replace(/ \(.*\)/,``),{start:{line:r?r.line:0,column:r?r.column+1:0}})}t.exports=r}}),J=s({"src/language-js/utils/is-ts-keyword-type.js"(e,t){d();function n(e){let{type:t}=e;return t.startsWith(`TS`)&&t.endsWith(`Keyword`)}t.exports=n}}),te=s({"src/language-js/utils/is-block-comment.js"(e,t){d();var n=new Set([`Block`,`CommentBlock`,`MultiLine`]);t.exports=e=>n.has(e?.type)}}),ne=s({"src/language-js/utils/is-type-cast-comment.js"(e,t){d();var n=te();function r(e){return n(e)&&e.value[0]===`*`&&/@(?:type|satisfies)\b/.test(e.value)}t.exports=r}}),Y=s({"src/utils/get-last.js"(e,t){d(),t.exports=e=>e[e.length-1]}}),re=s({"src/language-js/parse/postprocess/visit-node.js"(e,t){d();function n(e,t){if(Array.isArray(e)){for(let r=0;r<e.length;r++)e[r]=n(e[r],t);return e}if(e&&typeof e==`object`&&typeof e.type==`string`){let r=Object.keys(e);for(let i=0;i<r.length;i++)e[r[i]]=n(e[r[i]],t);return t(e)||e}return e}t.exports=n}}),ie=s({"src/language-js/parse/postprocess/throw-syntax-error.js"(e,t){d();var n=q();function r(e,t){let{start:r,end:i}=e.loc;throw n(t,{start:{line:r.line,column:r.column+1},end:{line:i.line,column:i.column+1}})}t.exports=r}}),ae=s({"src/language-js/parse/postprocess/index.js"(e,t){d();var{locStart:n,locEnd:r}=G(),i=J(),a=ne(),o=Y(),s=re(),c=ie();function l(e,t){if(t.parser!==`typescript`&&t.parser!==`flow`&&t.parser!==`acorn`&&t.parser!==`espree`&&t.parser!==`meriyah`){let t=new Set;e=s(e,e=>{e.leadingComments&&e.leadingComments.some(a)&&t.add(n(e))}),e=s(e,e=>{if(e.type===`ParenthesizedExpression`){let{expression:r}=e;if(r.type===`TypeCastExpression`)return r.range=e.range,r;let i=n(e);if(!t.has(i))return r.extra=Object.assign(Object.assign({},r.extra),{},{parenthesized:!0}),r}})}return e=s(e,e=>{switch(e.type){case`ChainExpression`:return u(e.expression);case`LogicalExpression`:if(f(e))return p(e);break;case`VariableDeclaration`:{let t=o(e.declarations);t&&t.init&&l(e,t);break}case`TSParenthesizedType`:return i(e.typeAnnotation)||e.typeAnnotation.type===`TSThisType`||(e.typeAnnotation.range=[n(e),r(e)]),e.typeAnnotation;case`TSTypeParameter`:if(typeof e.name==`string`){let t=n(e);e.name={type:`Identifier`,name:e.name,range:[t,t+e.name.length]}}break;case`ObjectExpression`:if(t.parser===`typescript`){let t=e.properties.find(e=>e.type===`Property`&&e.value.type===`TSEmptyBodyFunctionExpression`);t&&c(t.value,`Unexpected token.`)}break;case`SequenceExpression`:{let t=o(e.expressions);e.range=[n(e),Math.min(r(t),r(e))];break}case`TopicReference`:t.__isUsingHackPipeline=!0;break;case`ExportAllDeclaration`:{let{exported:i}=e;if(t.parser===`meriyah`&&i&&i.type===`Identifier`){let a=t.originalText.slice(n(i),r(i));(a.startsWith(`"`)||a.startsWith(`'`))&&(e.exported=Object.assign(Object.assign({},e.exported),{},{type:`Literal`,value:e.exported.name,raw:a}))}break}case`PropertyDefinition`:if(t.parser===`meriyah`&&e.static&&!e.computed&&!e.key){let t=n(e);Object.assign(e,{static:!1,key:{type:`Identifier`,name:`static`,range:[t,t+6]}})}break}}),e;function l(e,i){t.originalText[r(i)]!==`;`&&(e.range=[n(e),r(i)])}}function u(e){switch(e.type){case`CallExpression`:e.type=`OptionalCallExpression`,e.callee=u(e.callee);break;case`MemberExpression`:e.type=`OptionalMemberExpression`,e.object=u(e.object);break;case`TSNonNullExpression`:e.expression=u(e.expression);break}return e}function f(e){return e.type===`LogicalExpression`&&e.right.type===`LogicalExpression`&&e.operator===e.right.operator}function p(e){return f(e)?p({type:`LogicalExpression`,operator:e.operator,left:p({type:`LogicalExpression`,operator:e.operator,left:e.left,right:e.right.left,range:[n(e.left),r(e.right.left)]}),right:e.right.right,range:[n(e),r(e)]}):e}t.exports=l}}),oe=s({"node_modules/@babel/parser/lib/index.js"(e){d(),Object.defineProperty(e,`__esModule`,{value:!0});var t={sourceType:`script`,sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function n(e){if(e&&e.annexB!=null&&e.annexB!==!1)throw Error("The `annexB` option can only be set to `false`.");let n={};for(let r of Object.keys(t))n[r]=e&&e[r]!=null?e[r]:t[r];return n}var r=class{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}},i={brace:new r(`{`),j_oTag:new r(`<tag`),j_cTag:new r(`</tag`),j_expr:new r(`<tag>...</tag>`,!0)};i.template=new r("`",!0);var a=!0,o=!0,s=!0,c=!0,l=!0,u=!0,f=class{constructor(e){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=e,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?null:t.binop,this.updateContext=null}},p=new Map;function m(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};t.keyword=e;let n=C(e,t);return p.set(e,n),n}function h(e,t){return C(e,{beforeExpr:a,binop:t})}var g=-1,_=[],v=[],y=[],b=[],x=[],S=[];function C(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return++g,v.push(e),y.push(t.binop??-1),b.push(t.beforeExpr??!1),x.push(t.startsExpr??!1),S.push(t.prefix??!1),_.push(new f(e,t)),g}function w(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return++g,p.set(e,g),v.push(e),y.push(t.binop??-1),b.push(t.beforeExpr??!1),x.push(t.startsExpr??!1),S.push(t.prefix??!1),_.push(new f(`name`,t)),g}var T={bracketL:C(`[`,{beforeExpr:a,startsExpr:o}),bracketHashL:C(`#[`,{beforeExpr:a,startsExpr:o}),bracketBarL:C(`[|`,{beforeExpr:a,startsExpr:o}),bracketR:C(`]`),bracketBarR:C(`|]`),braceL:C(`{`,{beforeExpr:a,startsExpr:o}),braceBarL:C(`{|`,{beforeExpr:a,startsExpr:o}),braceHashL:C(`#{`,{beforeExpr:a,startsExpr:o}),braceR:C(`}`),braceBarR:C(`|}`),parenL:C(`(`,{beforeExpr:a,startsExpr:o}),parenR:C(`)`),comma:C(`,`,{beforeExpr:a}),semi:C(`;`,{beforeExpr:a}),colon:C(`:`,{beforeExpr:a}),doubleColon:C(`::`,{beforeExpr:a}),dot:C(`.`),question:C(`?`,{beforeExpr:a}),questionDot:C(`?.`),arrow:C(`=>`,{beforeExpr:a}),template:C(`template`),ellipsis:C(`...`,{beforeExpr:a}),backQuote:C("`",{startsExpr:o}),dollarBraceL:C("${",{beforeExpr:a,startsExpr:o}),templateTail:C("...`",{startsExpr:o}),templateNonTail:C("...${",{beforeExpr:a,startsExpr:o}),at:C(`@`),hash:C(`#`,{startsExpr:o}),interpreterDirective:C(`#!...`),eq:C(`=`,{beforeExpr:a,isAssign:c}),assign:C(`_=`,{beforeExpr:a,isAssign:c}),slashAssign:C(`_=`,{beforeExpr:a,isAssign:c}),xorAssign:C(`_=`,{beforeExpr:a,isAssign:c}),moduloAssign:C(`_=`,{beforeExpr:a,isAssign:c}),incDec:C(`++/--`,{prefix:l,postfix:u,startsExpr:o}),bang:C(`!`,{beforeExpr:a,prefix:l,startsExpr:o}),tilde:C(`~`,{beforeExpr:a,prefix:l,startsExpr:o}),doubleCaret:C(`^^`,{startsExpr:o}),doubleAt:C(`@@`,{startsExpr:o}),pipeline:h(`|>`,0),nullishCoalescing:h(`??`,1),logicalOR:h(`||`,1),logicalAND:h(`&&`,2),bitwiseOR:h(`|`,3),bitwiseXOR:h(`^`,4),bitwiseAND:h(`&`,5),equality:h(`==/!=/===/!==`,6),lt:h(`</>/<=/>=`,7),gt:h(`</>/<=/>=`,7),relational:h(`</>/<=/>=`,7),bitShift:h(`<</>>/>>>`,8),bitShiftL:h(`<</>>/>>>`,8),bitShiftR:h(`<</>>/>>>`,8),plusMin:C(`+/-`,{beforeExpr:a,binop:9,prefix:l,startsExpr:o}),modulo:C(`%`,{binop:10,startsExpr:o}),star:C(`*`,{binop:10}),slash:h(`/`,10),exponent:C(`**`,{beforeExpr:a,binop:11,rightAssociative:!0}),_in:m(`in`,{beforeExpr:a,binop:7}),_instanceof:m(`instanceof`,{beforeExpr:a,binop:7}),_break:m(`break`),_case:m(`case`,{beforeExpr:a}),_catch:m(`catch`),_continue:m(`continue`),_debugger:m(`debugger`),_default:m(`default`,{beforeExpr:a}),_else:m(`else`,{beforeExpr:a}),_finally:m(`finally`),_function:m(`function`,{startsExpr:o}),_if:m(`if`),_return:m(`return`,{beforeExpr:a}),_switch:m(`switch`),_throw:m(`throw`,{beforeExpr:a,prefix:l,startsExpr:o}),_try:m(`try`),_var:m(`var`),_const:m(`const`),_with:m(`with`),_new:m(`new`,{beforeExpr:a,startsExpr:o}),_this:m(`this`,{startsExpr:o}),_super:m(`super`,{startsExpr:o}),_class:m(`class`,{startsExpr:o}),_extends:m(`extends`,{beforeExpr:a}),_export:m(`export`),_import:m(`import`,{startsExpr:o}),_null:m(`null`,{startsExpr:o}),_true:m(`true`,{startsExpr:o}),_false:m(`false`,{startsExpr:o}),_typeof:m(`typeof`,{beforeExpr:a,prefix:l,startsExpr:o}),_void:m(`void`,{beforeExpr:a,prefix:l,startsExpr:o}),_delete:m(`delete`,{beforeExpr:a,prefix:l,startsExpr:o}),_do:m(`do`,{isLoop:s,beforeExpr:a}),_for:m(`for`,{isLoop:s}),_while:m(`while`,{isLoop:s}),_as:w(`as`,{startsExpr:o}),_assert:w(`assert`,{startsExpr:o}),_async:w(`async`,{startsExpr:o}),_await:w(`await`,{startsExpr:o}),_from:w(`from`,{startsExpr:o}),_get:w(`get`,{startsExpr:o}),_let:w(`let`,{startsExpr:o}),_meta:w(`meta`,{startsExpr:o}),_of:w(`of`,{startsExpr:o}),_sent:w(`sent`,{startsExpr:o}),_set:w(`set`,{startsExpr:o}),_static:w(`static`,{startsExpr:o}),_using:w(`using`,{startsExpr:o}),_yield:w(`yield`,{startsExpr:o}),_asserts:w(`asserts`,{startsExpr:o}),_checks:w(`checks`,{startsExpr:o}),_exports:w(`exports`,{startsExpr:o}),_global:w(`global`,{startsExpr:o}),_implements:w(`implements`,{startsExpr:o}),_intrinsic:w(`intrinsic`,{startsExpr:o}),_infer:w(`infer`,{startsExpr:o}),_is:w(`is`,{startsExpr:o}),_mixins:w(`mixins`,{startsExpr:o}),_proto:w(`proto`,{startsExpr:o}),_require:w(`require`,{startsExpr:o}),_satisfies:w(`satisfies`,{startsExpr:o}),_keyof:w(`keyof`,{startsExpr:o}),_readonly:w(`readonly`,{startsExpr:o}),_unique:w(`unique`,{startsExpr:o}),_abstract:w(`abstract`,{startsExpr:o}),_declare:w(`declare`,{startsExpr:o}),_enum:w(`enum`,{startsExpr:o}),_module:w(`module`,{startsExpr:o}),_namespace:w(`namespace`,{startsExpr:o}),_interface:w(`interface`,{startsExpr:o}),_type:w(`type`,{startsExpr:o}),_opaque:w(`opaque`,{startsExpr:o}),name:C(`name`,{startsExpr:o}),string:C(`string`,{startsExpr:o}),num:C(`num`,{startsExpr:o}),bigint:C(`bigint`,{startsExpr:o}),decimal:C(`decimal`,{startsExpr:o}),regexp:C(`regexp`,{startsExpr:o}),privateName:C(`#name`,{startsExpr:o}),eof:C(`eof`),jsxName:C(`jsxName`),jsxText:C(`jsxText`,{beforeExpr:!0}),jsxTagStart:C(`jsxTagStart`,{startsExpr:!0}),jsxTagEnd:C(`jsxTagEnd`),placeholder:C(`%%`,{startsExpr:!0})};function E(e){return e>=93&&e<=130}function D(e){return e<=92}function O(e){return e>=58&&e<=130}function k(e){return e>=58&&e<=134}function A(e){return b[e]}function j(e){return x[e]}function M(e){return e>=29&&e<=33}function N(e){return e>=127&&e<=129}function P(e){return e>=90&&e<=92}function F(e){return e>=58&&e<=92}function I(e){return e>=39&&e<=59}function L(e){return e===34}function R(e){return S[e]}function z(e){return e>=119&&e<=121}function B(e){return e>=122&&e<=128}function V(e){return v[e]}function H(e){return y[e]}function U(e){return e===57}function W(e){return e>=24&&e<=25}function G(e){return _[e]}_[8].updateContext=e=>{e.pop()},_[5].updateContext=_[7].updateContext=_[23].updateContext=e=>{e.push(i.brace)},_[22].updateContext=e=>{e[e.length-1]===i.template?e.pop():e.push(i.template)},_[140].updateContext=e=>{e.push(i.j_expr,i.j_oTag)};function K(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}var q=class{constructor(e,t,n){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=t,this.index=n}},ee=class{constructor(e,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=t}};function J(e,t){let{line:n,column:r,index:i}=e;return new q(n,r+t,i+t)}var te={SyntaxError:`BABEL_PARSER_SYNTAX_ERROR`,SourceTypeModuleError:`BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED`},ne=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.length-1;return{get(){return e.reduce((e,t)=>e[t],this)},set(n){e.reduce((e,r,i)=>i===t?e[r]=n:e[r],this)}}},Y=(e,t,n)=>Object.keys(n).map(e=>[e,n[e]]).filter(e=>{let[,t]=e;return!!t}).map(e=>{let[t,n]=e;return[t,typeof n==`function`?{value:n,enumerable:!1}:typeof n.reflect==`string`?Object.assign({},n,ne(n.reflect.split(`.`))):n]}).reduce((e,t)=>{let[n,r]=t;return Object.defineProperty(e,n,Object.assign({configurable:!0},r))},Object.assign(new e,t)),re={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:te.SourceTypeModuleError},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:te.SourceTypeModuleError}},ie={ArrayPattern:`array destructuring pattern`,AssignmentExpression:`assignment expression`,AssignmentPattern:`assignment expression`,ArrowFunctionExpression:`arrow function expression`,ConditionalExpression:`conditional expression`,CatchClause:`catch clause`,ForOfStatement:`for-of statement`,ForInStatement:`for-in statement`,ForStatement:`for-loop`,FormalParameters:`function parameter list`,Identifier:`identifier`,ImportSpecifier:`import specifier`,ImportDefaultSpecifier:`import default specifier`,ImportNamespaceSpecifier:`import namespace specifier`,ObjectPattern:`object destructuring pattern`,ParenthesizedExpression:`parenthesized expression`,RestElement:`rest element`,UpdateExpression:{true:`prefix operation`,false:`postfix operation`},VariableDeclarator:`variable declaration`,YieldExpression:`yield expression`},ae=e=>{let{type:t,prefix:n}=e;return t===`UpdateExpression`?ie.UpdateExpression[String(n)]:ie[t]},oe={AccessorIsGenerator:e=>{let{kind:t}=e;return`A ${t}ter cannot be a generator.`},ArgumentsInClass:`'arguments' is only allowed in functions and class methods.`,AsyncFunctionInSingleStatementContext:`Async functions can only be declared at the top level or inside a block.`,AwaitBindingIdentifier:`Can not use 'await' as identifier inside an async function.`,AwaitBindingIdentifierInStaticBlock:`Can not use 'await' as identifier inside a static block.`,AwaitExpressionFormalParameter:`'await' is not allowed in async function parameters.`,AwaitInUsingBinding:`'await' is not allowed to be used as a name in 'using' declarations.`,AwaitNotInAsyncContext:`'await' is only allowed within async functions and at the top levels of modules.`,AwaitNotInAsyncFunction:`'await' is only allowed within async functions.`,BadGetterArity:`A 'get' accessor must not have any formal parameters.`,BadSetterArity:`A 'set' accessor must have exactly one formal parameter.`,BadSetterRestParameter:`A 'set' accessor function argument must not be a rest parameter.`,ConstructorClassField:`Classes may not have a field named 'constructor'.`,ConstructorClassPrivateField:`Classes may not have a private field named '#constructor'.`,ConstructorIsAccessor:`Class constructor may not be an accessor.`,ConstructorIsAsync:`Constructor can't be an async function.`,ConstructorIsGenerator:`Constructor can't be a generator.`,DeclarationMissingInitializer:e=>{let{kind:t}=e;return`Missing initializer in ${t} declaration.`},DecoratorArgumentsOutsideParentheses:`Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.`,DecoratorBeforeExport:`Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.`,DecoratorsBeforeAfterExport:`Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.`,DecoratorConstructor:`Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?`,DecoratorExportClass:`Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.`,DecoratorSemicolon:`Decorators must not be followed by a semicolon.`,DecoratorStaticBlock:`Decorators can't be used with a static block.`,DeletePrivateField:`Deleting a private field is not allowed.`,DestructureNamedImport:`ES2015 named imports do not destructure. Use another statement for destructuring after the import.`,DuplicateConstructor:`Duplicate constructor in the same class.`,DuplicateDefaultExport:`Only one default export allowed per module.`,DuplicateExport:e=>{let{exportName:t}=e;return`\`${t}\` has already been exported. Exported identifiers must be unique.`},DuplicateProto:`Redefinition of __proto__ property.`,DuplicateRegExpFlags:`Duplicate regular expression flag.`,ElementAfterRest:`Rest element must be last element.`,EscapedCharNotAnIdentifier:`Invalid Unicode escape.`,ExportBindingIsString:e=>{let{localName:t,exportName:n}=e;return`A string literal cannot be used as an exported binding without \`from\`.
|
|
23
|
-
- Did you mean \`export { '${t}' as '${n}' } from 'some-module'\`?`},ExportDefaultFromAsIdentifier:`'from' is not allowed as an identifier after 'export default'.`,ForInOfLoopInitializer:e=>{let{type:t}=e;return`'${t===`ForInStatement`?`for-in`:`for-of`}' loop variable declaration may not have an initializer.`},ForInUsing:`For-in loop may not start with 'using' declaration.`,ForOfAsync:`The left-hand side of a for-of loop may not be 'async'.`,ForOfLet:`The left-hand side of a for-of loop may not start with 'let'.`,GeneratorInSingleStatementContext:`Generators can only be declared at the top level or inside a block.`,IllegalBreakContinue:e=>{let{type:t}=e;return`Unsyntactic ${t===`BreakStatement`?`break`:`continue`}.`},IllegalLanguageModeDirective:`Illegal 'use strict' directive in function with non-simple parameter list.`,IllegalReturn:`'return' outside of function.`,ImportBindingIsString:e=>{let{importName:t}=e;return`A string literal cannot be used as an imported binding.
|
|
24
|
-
- Did you mean \`import { "${t}" as foo }\`?`},ImportCallArgumentTrailingComma:`Trailing comma is disallowed inside import(...) arguments.`,ImportCallArity:e=>{let{maxArgumentCount:t}=e;return`\`import()\` requires exactly ${t===1?`one argument`:`one or two arguments`}.`},ImportCallNotNewExpression:`Cannot use new with import(...).`,ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:`The 'u' and 'v' regular expression flags cannot be enabled at the same time.`,InvalidBigIntLiteral:`Invalid BigIntLiteral.`,InvalidCodePoint:`Code point out of bounds.`,InvalidCoverInitializedName:`Invalid shorthand property initializer.`,InvalidDecimal:`Invalid decimal.`,InvalidDigit:e=>{let{radix:t}=e;return`Expected number in radix ${t}.`},InvalidEscapeSequence:`Bad character escape sequence.`,InvalidEscapeSequenceTemplate:`Invalid escape sequence in template.`,InvalidEscapedReservedWord:e=>{let{reservedWord:t}=e;return`Escape sequence in keyword ${t}.`},InvalidIdentifier:e=>{let{identifierName:t}=e;return`Invalid identifier ${t}.`},InvalidLhs:e=>{let{ancestor:t}=e;return`Invalid left-hand side in ${ae(t)}.`},InvalidLhsBinding:e=>{let{ancestor:t}=e;return`Binding invalid left-hand side in ${ae(t)}.`},InvalidNumber:`Invalid number.`,InvalidOrMissingExponent:`Floating-point numbers require a valid exponent after the 'e'.`,InvalidOrUnexpectedToken:e=>{let{unexpected:t}=e;return`Unexpected character '${t}'.`},InvalidParenthesizedAssignment:`Invalid parenthesized assignment pattern.`,InvalidPrivateFieldResolution:e=>{let{identifierName:t}=e;return`Private name #${t} is not defined.`},InvalidPropertyBindingPattern:`Binding member expression.`,InvalidRecordProperty:`Only properties and spread elements are allowed in record definitions.`,InvalidRestAssignmentPattern:`Invalid rest operator's argument.`,LabelRedeclaration:e=>{let{labelName:t}=e;return`Label '${t}' is already declared.`},LetInLexicalBinding:`'let' is not allowed to be used as a name in 'let' or 'const' declarations.`,LineTerminatorBeforeArrow:`No line break is allowed before '=>'.`,MalformedRegExpFlags:`Invalid regular expression flag.`,MissingClassName:`A class name is required.`,MissingEqInAssignment:`Only '=' operator can be used for specifying default value.`,MissingSemicolon:`Missing semicolon.`,MissingPlugin:e=>{let{missingPlugin:t}=e;return`This experimental syntax requires enabling the parser plugin: ${t.map(e=>JSON.stringify(e)).join(`, `)}.`},MissingOneOfPlugins:e=>{let{missingPlugin:t}=e;return`This experimental syntax requires enabling one of the following parser plugin(s): ${t.map(e=>JSON.stringify(e)).join(`, `)}.`},MissingUnicodeEscape:`Expecting Unicode escape sequence \\uXXXX.`,MixingCoalesceWithLogical:`Nullish coalescing operator(??) requires parens when mixing with logical operators.`,ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:`Only string literals are allowed as module attribute values.`,ModuleAttributesWithDuplicateKeys:e=>{let{key:t}=e;return`Duplicate key "${t}" is not allowed in module attributes.`},ModuleExportNameHasLoneSurrogate:e=>{let{surrogateCharCode:t}=e;return`An export name cannot include a lone surrogate, found '\\u${t.toString(16)}'.`},ModuleExportUndefined:e=>{let{localName:t}=e;return`Export '${t}' is not defined.`},MultipleDefaultsInSwitch:`Multiple default clauses.`,NewlineAfterThrow:`Illegal newline after throw.`,NoCatchOrFinally:`Missing catch or finally clause.`,NumberIdentifier:`Identifier directly after number.`,NumericSeparatorInEscapeSequence:`Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.`,ObsoleteAwaitStar:`'await*' has been removed from the async functions proposal. Use Promise.all() instead.`,OptionalChainingNoNew:`Constructors in/after an Optional Chain are not allowed.`,OptionalChainingNoTemplate:`Tagged Template Literals are not allowed in optionalChain.`,OverrideOnConstructor:`'override' modifier cannot appear on a constructor declaration.`,ParamDupe:`Argument name clash.`,PatternHasAccessor:`Object pattern can't contain getter or setter.`,PatternHasMethod:`Object pattern can't contain methods.`,PrivateInExpectedIn:e=>{let{identifierName:t}=e;return`Private names are only allowed in property accesses (\`obj.#${t}\`) or in \`in\` expressions (\`#${t} in obj\`).`},PrivateNameRedeclaration:e=>{let{identifierName:t}=e;return`Duplicate private name #${t}.`},RecordExpressionBarIncorrectEndSyntaxType:`Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.`,RecordExpressionBarIncorrectStartSyntaxType:`Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.`,RecordExpressionHashIncorrectStartSyntaxType:`Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.`,RecordNoProto:`'__proto__' is not allowed in Record expressions.`,RestTrailingComma:`Unexpected trailing comma after rest element.`,SloppyFunction:`In non-strict mode code, functions can only be declared at top level or inside a block.`,SloppyFunctionAnnexB:`In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.`,StaticPrototype:`Classes may not have static property named prototype.`,SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:`Private fields can't be accessed on super.`,TrailingDecorator:`Decorators must be attached to a class element.`,TupleExpressionBarIncorrectEndSyntaxType:`Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.`,TupleExpressionBarIncorrectStartSyntaxType:`Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.`,TupleExpressionHashIncorrectStartSyntaxType:`Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.`,UnexpectedArgumentPlaceholder:`Unexpected argument placeholder.`,UnexpectedAwaitAfterPipelineBody:`Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.`,UnexpectedDigitAfterHash:`Unexpected digit after hash token.`,UnexpectedImportExport:`'import' and 'export' may only appear at the top level.`,UnexpectedKeyword:e=>{let{keyword:t}=e;return`Unexpected keyword '${t}'.`},UnexpectedLeadingDecorator:`Leading decorators must be attached to a class declaration.`,UnexpectedLexicalDeclaration:`Lexical declaration cannot appear in a single-statement context.`,UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:`A numeric separator is only allowed between two digits.`,UnexpectedPrivateField:`Unexpected private name.`,UnexpectedReservedWord:e=>{let{reservedWord:t}=e;return`Unexpected reserved word '${t}'.`},UnexpectedSuper:`'super' is only allowed in object methods and classes.`,UnexpectedToken:e=>{let{expected:t,unexpected:n}=e;return`Unexpected token${n?` '${n}'.`:``}${t?`, expected "${t}"`:``}`},UnexpectedTokenUnaryExponentiation:`Illegal expression. Wrap left hand side or entire exponentiation in parentheses.`,UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:`Binding should be performed on object property.`,UnsupportedDecoratorExport:`A decorated export must export a class declaration.`,UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:e=>{let{target:t,onlyValidPropertyName:n}=e;return`The only valid meta property for ${t} is ${t}.${n}.`},UnsupportedParameterDecorator:`Decorators cannot be used to decorate parameters.`,UnsupportedPropertyDecorator:`Decorators cannot be used to decorate object literal properties.`,UnsupportedSuper:`'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).`,UnterminatedComment:`Unterminated comment.`,UnterminatedRegExp:`Unterminated regular expression.`,UnterminatedString:`Unterminated string constant.`,UnterminatedTemplate:`Unterminated template.`,UsingDeclarationHasBindingPattern:`Using declaration cannot have destructuring patterns.`,VarRedeclaration:e=>{let{identifierName:t}=e;return`Identifier '${t}' has already been declared.`},YieldBindingIdentifier:`Can not use 'yield' as identifier inside a generator.`,YieldInParameter:`Yield expression is not allowed in formal parameters.`,ZeroDigitNumericSeparator:`Numeric separator can not be used after leading 0.`},se={StrictDelete:`Deleting local variable in strict mode.`,StrictEvalArguments:e=>{let{referenceName:t}=e;return`Assigning to '${t}' in strict mode.`},StrictEvalArgumentsBinding:e=>{let{bindingName:t}=e;return`Binding '${t}' in strict mode.`},StrictFunction:`In strict mode code, functions can only be declared at top level or inside a block.`,StrictNumericEscape:`The only valid numeric escape in strict mode is '\\0'.`,StrictOctalLiteral:`Legacy octal literals are not allowed in strict mode.`,StrictWith:`'with' in strict mode.`},ce=new Set([`ArrowFunctionExpression`,`AssignmentExpression`,`ConditionalExpression`,`YieldExpression`]),le={PipeBodyIsTighter:`Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.`,PipeTopicRequiresHackPipes:`Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.`,PipeTopicUnbound:`Topic reference is unbound; it must be inside a pipe body.`,PipeTopicUnconfiguredToken:e=>{let{token:t}=e;return`Invalid topic token ${t}. In order to use ${t} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${t}" }.`},PipeTopicUnused:`Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.`,PipeUnparenthesizedBody:e=>{let{type:t}=e;return`Hack-style pipe body cannot be an unparenthesized ${ae({type:t})}; please wrap it in parentheses.`},PipelineBodyNoArrow:`Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.`,PipelineBodySequenceExpression:`Pipeline body may not be a comma-separated sequence expression.`,PipelineHeadSequenceExpression:`Pipeline head should not be a comma-separated sequence expression.`,PipelineTopicUnused:`Pipeline is in topic style but does not use topic reference.`,PrimaryTopicNotAllowed:`Topic reference was used in a lexical context without topic binding.`,PrimaryTopicRequiresSmartPipeline:`Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.`},ue=[`toMessage`],de=[`message`];function fe(e){let{toMessage:t}=e,n=K(e,ue);return function e(r){let{loc:i,details:a}=r;return Y(SyntaxError,Object.assign({},n,{loc:i}),{clone(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.loc||{};return e({loc:new q(`line`in n?n.line:this.loc.line,`column`in n?n.column:this.loc.column,`index`in n?n.index:this.loc.index),details:Object.assign({},this.details,t.details)})},details:{value:a,enumerable:!1},message:{get(){return`${t(this.details)} (${this.loc.line}:${this.loc.column})`},set(e){Object.defineProperty(this,`message`,{value:e})}},pos:{reflect:`loc.index`,enumerable:!0},missingPlugin:`missingPlugin`in a&&{reflect:`details.missingPlugin`,enumerable:!0}})}}function pe(e,t){if(Array.isArray(e))return t=>pe(t,e[0]);let n={};for(let r of Object.keys(e)){let i=e[r],a=typeof i==`string`?{message:()=>i}:typeof i==`function`?{message:i}:i,{message:o}=a,s=K(a,de),c=typeof o==`string`?()=>o:o;n[r]=fe(Object.assign({code:te.SyntaxError,reasonCode:r,toMessage:c},t?{syntaxPlugin:t}:{},s))}return n}var X=Object.assign({},pe(re),pe(oe),pe(se),pe`pipelineOperator`(le)),{defineProperty:Z}=Object,me=(e,t)=>Z(e,t,{enumerable:!1,value:e[t]});function he(e){return e.loc.start&&me(e.loc.start,`index`),e.loc.end&&me(e.loc.end,`index`),e}var ge=e=>class extends e{parse(){let e=he(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(he)),e}parseRegExpLiteral(e){let{pattern:t,flags:n}=e,r=null;try{r=new RegExp(t,n)}catch{}let i=this.estreeParseLiteral(r);return i.regex={pattern:t,flags:n},i}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch{t=null}let n=this.estreeParseLiteral(t);return n.bigint=String(n.value||e),n}parseDecimalLiteral(e){let t=this.estreeParseLiteral(null);return t.decimal=String(t.value||e),t}estreeParseLiteral(e){return this.parseLiteral(e,`Literal`)}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){let t=e.value;delete e.value,t.type=`Literal`,t.raw=t.extra.raw,t.value=t.extra.expressionValue;let n=e;return n.type=`ExpressionStatement`,n.expression=t,n.directive=t.extra.rawValue,delete t.extra,n}initFunction(e,t){super.initFunction(e,t),e.expression=!1}checkDeclaration(e){e!=null&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type===`ExpressionStatement`&&e.expression.type===`Literal`&&typeof e.expression.value==`string`&&!((t=e.expression.extra)!=null&&t.parenthesized)}parseBlockBody(e,t,n,r,i){super.parseBlockBody(e,t,n,r,i),e.body=e.directives.map(e=>this.directiveToStmt(e)).concat(e.body),delete e.directives}pushClassMethod(e,t,n,r,i,a){this.parseMethod(t,n,r,i,a,`ClassMethod`,!0),t.typeParameters&&(t.value.typeParameters=t.typeParameters,delete t.typeParameters),e.body.push(t)}parsePrivateName(){let e=super.parsePrivateName();return this.getPluginOption(`estree`,`classFeatures`)?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){let t=super.getPrivateNameSV(e);return e=e,delete e.id,e.name=t,e.type=`PrivateIdentifier`,e}isPrivateName(e){return this.getPluginOption(`estree`,`classFeatures`)?e.type===`PrivateIdentifier`:super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption(`estree`,`classFeatures`)?e.name:super.getPrivateNameSV(e)}parseLiteral(e,t){let n=super.parseLiteral(e,t);return n.raw=n.extra.raw,delete n.extra,n}parseFunctionBody(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;super.parseFunctionBody(e,t,n),e.expression=e.body.type!==`BlockStatement`}parseMethod(e,t,n,r,i,a){let o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,s=this.startNode();return s.kind=e.kind,s=super.parseMethod(s,t,n,r,i,a,o),s.type=`FunctionExpression`,delete s.kind,e.value=s,a===`ClassPrivateMethod`&&(e.computed=!1),this.finishNode(e,`MethodDefinition`)}parseClassProperty(){let e=super.parseClassProperty(...arguments);return this.getPluginOption(`estree`,`classFeatures`)&&(e.type=`PropertyDefinition`),e}parseClassPrivateProperty(){let e=super.parseClassPrivateProperty(...arguments);return this.getPluginOption(`estree`,`classFeatures`)&&(e.type=`PropertyDefinition`,e.computed=!1),e}parseObjectMethod(e,t,n,r,i){let a=super.parseObjectMethod(e,t,n,r,i);return a&&(a.type=`Property`,a.kind===`method`&&(a.kind=`init`),a.shorthand=!1),a}parseObjectProperty(e,t,n,r){let i=super.parseObjectProperty(e,t,n,r);return i&&(i.kind=`init`,i.type=`Property`),i}isValidLVal(e,t,n){return e===`Property`?`value`:super.isValidLVal(e,t,n)}isAssignable(e,t){return e!=null&&this.isObjectProperty(e)?this.isAssignable(e.value,t):super.isAssignable(e,t)}toAssignable(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(e!=null&&this.isObjectProperty(e)){let{key:n,value:r}=e;this.isPrivateName(n)&&this.classScope.usePrivateName(this.getPrivateNameSV(n),n.loc.start),this.toAssignable(r,t)}else super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,t,n){e.kind===`get`||e.kind===`set`?this.raise(X.PatternHasAccessor,{at:e.key}):e.method?this.raise(X.PatternHasMethod,{at:e.key}):super.toAssignableObjectExpressionProp(e,t,n)}finishCallExpression(e,t){let n=super.finishCallExpression(e,t);return n.callee.type===`Import`&&(n.type=`ImportExpression`,n.source=n.arguments[0],this.hasPlugin(`importAssertions`)&&(n.attributes=n.arguments[1]??null),delete n.arguments,delete n.callee),n}toReferencedArguments(e){e.type!==`ImportExpression`&&super.toReferencedArguments(e)}parseExport(e,t){let n=this.state.lastTokStartLoc,r=super.parseExport(e,t);switch(r.type){case`ExportAllDeclaration`:r.exported=null;break;case`ExportNamedDeclaration`:r.specifiers.length===1&&r.specifiers[0].type===`ExportNamespaceSpecifier`&&(r.type=`ExportAllDeclaration`,r.exported=r.specifiers[0].exported,delete r.specifiers);case`ExportDefaultDeclaration`:{let{declaration:e}=r;e?.type===`ClassDeclaration`&&e.decorators?.length>0&&e.start===r.start&&this.resetStartLocation(r,n)}break}return r}parseSubscript(e,t,n,r){let i=super.parseSubscript(e,t,n,r);if(r.optionalChainMember){if((i.type===`OptionalMemberExpression`||i.type===`OptionalCallExpression`)&&(i.type=i.type.substring(8)),r.stop){let e=this.startNodeAtNode(i);return e.expression=i,this.finishNode(e,`ChainExpression`)}}else (i.type===`MemberExpression`||i.type===`CallExpression`)&&(i.optional=!1);return i}hasPropertyAsPrivateName(e){return e.type===`ChainExpression`&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return e.type===`Property`&&e.kind===`init`&&!e.method}isObjectMethod(e){return e.method||e.kind===`get`||e.kind===`set`}finishNodeAt(e,t,n){return he(super.finishNodeAt(e,t,n))}resetStartLocation(e,t){super.resetStartLocation(e,t),he(e)}resetEndLocation(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.lastTokEndLoc;super.resetEndLocation(e,t),he(e)}},_e=`ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ`,ve=`·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_`,ye=RegExp(`[`+_e+`]`),be=RegExp(`[`+_e+ve+`]`);_e=ve=null;var xe=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191],Se=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function Ce(e,t){let n=65536;for(let r=0,i=t.length;r<i;r+=2){if(n+=t[r],n>e)return!1;if(n+=t[r+1],n>=e)return!0}return!1}function we(e){return e<65?e===36:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&ye.test(String.fromCharCode(e)):Ce(e,xe)}function Te(e){return e<48?e===36:e<58?!0:e<65?!1:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&be.test(String.fromCharCode(e)):Ce(e,xe)||Ce(e,Se)}var Ee={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`.split(`.`),strict:[`implements`,`interface`,`let`,`package`,`private`,`protected`,`public`,`static`,`yield`],strictBind:[`eval`,`arguments`]},De=new Set(Ee.keyword),Oe=new Set(Ee.strict),ke=new Set(Ee.strictBind);function Ae(e,t){return t&&e===`await`||e===`enum`}function je(e,t){return Ae(e,t)||Oe.has(e)}function Me(e){return ke.has(e)}function Ne(e,t){return je(e,t)||Me(e)}function Pe(e){return De.has(e)}function Fe(e,t,n){return e===64&&t===64&&we(n)}var Ie=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`.split(`.`));function Le(e){return Ie.has(e)}var Re=0,ze=1,Be=2,Ve=4,He=8,Ue=16,We=32,Ge=64,Ke=128,qe=256,Je=ze|Be|Ke|qe,Ye=1,Xe=2,Ze=4,Qe=8,$e=16,et=64,tt=128,nt=256,rt=512,it=1024,at=2048,ot=4096,st=8192,ct=Ye|Xe|Qe|tt|st,lt=Ye|0|Qe|st,ut=Ye|0|Qe|0,dt=Ye|0|Ze|0,ft=Ye|0|$e|0,pt=Xe|0|tt,mt=Xe|0,ht=Ye|Xe|Qe|nt|st,gt=0|it,_t=0|et,vt=Ye|0|et,yt=ht|rt,bt=0|it,xt=Xe|0|ot,St=at,Ct=4,wt=2,Tt=1,Et=wt|Tt,Dt=wt|Ct,Ot=Tt|Ct,kt=wt,At=Tt,jt=0,Mt=class{constructor(e){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=e}},Nt=class{constructor(e,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=t}get inTopLevel(){return(this.currentScope().flags&ze)>0}get inFunction(){return(this.currentVarScopeFlags()&Be)>0}get allowSuper(){return(this.currentThisScopeFlags()&Ue)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&We)>0}get inClass(){return(this.currentThisScopeFlags()&Ge)>0}get inClassAndNotInNonArrowFunction(){let e=this.currentThisScopeFlags();return(e&Ge)>0&&(e&Be)===0}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&Ke)return!0;if(t&(Je|Ge))return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&Be)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Mt(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(e){return!!(e.flags&(Be|Ke)||!this.parser.inModule&&e.flags&ze)}declareName(e,t,n){let r=this.currentScope();if(t&Qe||t&$e)this.checkRedeclarationInScope(r,e,t,n),t&$e?r.functions.add(e):r.lexical.add(e),t&Qe&&this.maybeExportDefined(r,e);else if(t&Ze)for(let i=this.scopeStack.length-1;i>=0&&(r=this.scopeStack[i],this.checkRedeclarationInScope(r,e,t,n),r.var.add(e),this.maybeExportDefined(r,e),!(r.flags&Je));--i);this.parser.inModule&&r.flags&ze&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.parser.inModule&&e.flags&ze&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,n,r){this.isRedeclaredInScope(e,t,n)&&this.parser.raise(X.VarRedeclaration,{at:r,identifierName:t})}isRedeclaredInScope(e,t,n){return n&Ye?n&Qe?e.lexical.has(t)||e.functions.has(t)||e.var.has(t):n&$e?e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t):e.lexical.has(t)&&!(e.flags&He&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t):!1}checkLocalExport(e){let{name:t}=e,n=this.scopeStack[0];!n.lexical.has(t)&&!n.var.has(t)&&!n.functions.has(t)&&this.undefinedExports.set(t,e.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&Je)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&(Je|Ge)&&!(t&Ve))return t}}},Pt=class extends Mt{constructor(){super(...arguments),this.declareFunctions=new Set}},Ft=class extends Nt{createScope(e){return new Pt(e)}declareName(e,t,n){let r=this.currentScope();if(t&at){this.checkRedeclarationInScope(r,e,t,n),this.maybeExportDefined(r,e),r.declareFunctions.add(e);return}super.declareName(e,t,n)}isRedeclaredInScope(e,t,n){return super.isRedeclaredInScope(e,t,n)?!0:n&at?!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t)):!1}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}},It=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(e){if(typeof e==`string`)return this.plugins.has(e);{let[t,n]=e;if(!this.hasPlugin(t))return!1;let r=this.plugins.get(t);for(let e of Object.keys(n))if(r?.[e]!==n[e])return!1;return!0}}getPluginOption(e,t){return this.plugins.get(e)?.[t]}};function Lt(e,t){e.trailingComments===void 0?e.trailingComments=t:e.trailingComments.unshift(...t)}function Rt(e,t){e.leadingComments===void 0?e.leadingComments=t:e.leadingComments.unshift(...t)}function zt(e,t){e.innerComments===void 0?e.innerComments=t:e.innerComments.unshift(...t)}function Bt(e,t,n){let r=null,i=t.length;for(;r===null&&i>0;)r=t[--i];r===null||r.start>n.start?zt(e,n.comments):Lt(r,n.comments)}var Vt=class extends It{addComment(e){this.filename&&(e.loc.filename=this.filename),this.state.comments.push(e)}processComment(e){let{commentStack:t}=this.state,n=t.length;if(n===0)return;let r=n-1,i=t[r];i.start===e.end&&(i.leadingNode=e,r--);let{start:a}=e;for(;r>=0;r--){let n=t[r],i=n.end;if(i>a)n.containingNode=e,this.finalizeComment(n),t.splice(r,1);else{i===a&&(n.trailingNode=e);break}}}finalizeComment(e){let{comments:t}=e;if(e.leadingNode!==null||e.trailingNode!==null)e.leadingNode!==null&&Lt(e.leadingNode,t),e.trailingNode!==null&&Rt(e.trailingNode,t);else{let{containingNode:n,start:r}=e;if(this.input.charCodeAt(r-1)===44)switch(n.type){case`ObjectExpression`:case`ObjectPattern`:case`RecordExpression`:Bt(n,n.properties,e);break;case`CallExpression`:case`OptionalCallExpression`:Bt(n,n.arguments,e);break;case`FunctionDeclaration`:case`FunctionExpression`:case`ArrowFunctionExpression`:case`ObjectMethod`:case`ClassMethod`:case`ClassPrivateMethod`:Bt(n,n.params,e);break;case`ArrayExpression`:case`ArrayPattern`:case`TupleExpression`:Bt(n,n.elements,e);break;case`ExportNamedDeclaration`:case`ImportDeclaration`:Bt(n,n.specifiers,e);break;default:zt(n,t)}else zt(n,t)}}finalizeRemainingComments(){let{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){let{commentStack:t}=this.state,{length:n}=t;if(n===0)return;let r=t[n-1];r.leadingNode===e&&(r.leadingNode=null)}takeSurroundingComments(e,t,n){let{commentStack:r}=this.state,i=r.length;if(i===0)return;let a=i-1;for(;a>=0;a--){let i=r[a],o=i.end;if(i.start===n)i.leadingNode=e;else if(o===t)i.trailingNode=e;else if(o<t)break}}},Ht=/\r\n?|[\n\u2028\u2029]/,Ut=new RegExp(Ht.source,`g`);function Wt(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}var Gt=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Kt=RegExp(`(?=((?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*))\\1(?=[\\n\\r\\u2028\\u2029]|\\/\\*(?!.*?\\*\\/)|$)`,`y`);function qt(e){switch(e){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 Jt=class{constructor(){this.strict=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.maybeInArrowParameters=!1,this.inType=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.inDisallowConditionalTypesContext=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.comments=[],this.commentStack=[],this.pos=0,this.type=137,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.context=[i.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}init(e){let{strictMode:t,sourceType:n,startLine:r,startColumn:i}=e;this.strict=t===!1?!1:t===!0?!0:n===`module`,this.curLine=r,this.lineStart=-i,this.startLoc=this.endLoc=new q(r,i,0)}curPosition(){return new q(this.curLine,this.pos-this.lineStart,this.pos)}clone(e){let t=new Jt,n=Object.keys(this);for(let r=0,i=n.length;r<i;r++){let i=n[r],a=this[i];!e&&Array.isArray(a)&&(a=a.slice()),t[i]=a}return t}},Yt=function(e){return e>=48&&e<=57},Xt={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Zt={bin:e=>e===48||e===49,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};function Qt(e,t,n,r,i,a){let o=n,s=r,c=i,l=``,u=null,d=n,{length:f}=t;for(;;){if(n>=f){a.unterminated(o,s,c),l+=t.slice(d,n);break}let p=t.charCodeAt(n);if($t(e,p,t,n)){l+=t.slice(d,n);break}if(p===92){l+=t.slice(d,n);let o=en(t,n,r,i,e===`template`,a);o.ch===null&&!u?u={pos:n,lineStart:r,curLine:i}:l+=o.ch,{pos:n,lineStart:r,curLine:i}=o,d=n}else p===8232||p===8233?(++n,++i,r=n):p===10||p===13?e===`template`?(l+=t.slice(d,n)+`
|
|
25
|
-
`,++n,p===13&&t.charCodeAt(n)===10&&++n,++i,d=r=n):a.unterminated(o,s,c):++n}return{pos:n,str:l,firstInvalidLoc:u,lineStart:r,curLine:i,containsInvalid:!!u}}function $t(e,t,n,r){return e===`template`?t===96||t===36&&n.charCodeAt(r+1)===123:t===(e===`double`?34:39)}function en(e,t,n,r,i,a){let o=!i;t++;let s=e=>({pos:t,ch:e,lineStart:n,curLine:r}),c=e.charCodeAt(t++);switch(c){case 110:return s(`
|
|
26
|
-
`);case 114:return s(`\r`);case 120:{let i;return{code:i,pos:t}=tn(e,t,n,r,2,!1,o,a),s(i===null?null:String.fromCharCode(i))}case 117:{let i;return{code:i,pos:t}=rn(e,t,n,r,o,a),s(i===null?null:String.fromCodePoint(i))}case 116:return s(` `);case 98:return s(`\b`);case 118:return s(`\v`);case 102:return s(`\f`);case 13:e.charCodeAt(t)===10&&++t;case 10:n=t,++r;case 8232:case 8233:return s(``);case 56:case 57:if(i)return s(null);a.strictNumericEscape(t-1,n,r);default:if(c>=48&&c<=55){let o=t-1,c=e.slice(o,t+2).match(/^[0-7]+/)[0],l=parseInt(c,8);l>255&&(c=c.slice(0,-1),l=parseInt(c,8)),t+=c.length-1;let u=e.charCodeAt(t);if(c!==`0`||u===56||u===57){if(i)return s(null);a.strictNumericEscape(o,n,r)}return s(String.fromCharCode(l))}return s(String.fromCharCode(c))}}function tn(e,t,n,r,i,a,o,s){let c=t,l;return{n:l,pos:t}=nn(e,t,n,r,16,i,a,!1,s,!o),l===null&&(o?s.invalidEscapeSequence(c,n,r):t=c-1),{code:l,pos:t}}function nn(e,t,n,r,i,a,o,s,c,l){let u=t,d=i===16?Xt.hex:Xt.decBinOct,f=i===16?Zt.hex:i===10?Zt.dec:i===8?Zt.oct:Zt.bin,p=!1,m=0;for(let u=0,h=a??1/0;u<h;++u){let a=e.charCodeAt(t),u;if(a===95&&s!==`bail`){let i=e.charCodeAt(t-1),a=e.charCodeAt(t+1);if(s){if(Number.isNaN(a)||!f(a)||d.has(i)||d.has(a)){if(l)return{n:null,pos:t};c.unexpectedNumericSeparator(t,n,r)}}else{if(l)return{n:null,pos:t};c.numericSeparatorInEscapeSequence(t,n,r)}++t;continue}if(u=a>=97?a-97+10:a>=65?a-65+10:Yt(a)?a-48:1/0,u>=i){if(u<=9&&l)return{n:null,pos:t};if(u<=9&&c.invalidDigit(t,n,r,i))u=0;else if(o)u=0,p=!0;else break}++t,m=m*i+u}return t===u||a!=null&&t-u!==a||p?{n:null,pos:t}:{n:m,pos:t}}function rn(e,t,n,r,i,a){let o=e.charCodeAt(t),s;if(o===123){if(++t,{code:s,pos:t}=tn(e,t,n,r,e.indexOf(`}`,t)-t,!0,i,a),++t,s!==null&&s>1114111)if(i)a.invalidCodePoint(t,n,r);else return{code:null,pos:t}}else ({code:s,pos:t}=tn(e,t,n,r,4,!1,i,a));return{code:s,pos:t}}var an=[`at`],on=[`at`];function sn(e,t,n){return new q(n,e-t,e)}var cn=new Set([103,109,115,105,121,117,100,118]),ln=class{constructor(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new ee(e.startLoc,e.endLoc)}},un=class extends Vt{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(e,t,n,r)=>this.options.errorRecovery?(this.raise(X.InvalidDigit,{at:sn(e,t,n),radix:r}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(X.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(X.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(X.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(X.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(e,t,n)=>{this.recordStrictModeErrors(X.StrictNumericEscape,{at:sn(e,t,n)})},unterminated:(e,t,n)=>{throw this.raise(X.UnterminatedString,{at:sn(e-1,t,n)})}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(X.StrictNumericEscape),unterminated:(e,t,n)=>{throw this.raise(X.UnterminatedTemplate,{at:sn(e,t,n)})}}),this.state=new Jt,this.state.init(e),this.input=t,this.length=t.length,this.isLookahead=!1}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new ln(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(e){return this.match(e)?(this.next(),!0):!1}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}lookahead(){let e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let t=this.state;return this.state=e,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return Gt.lastIndex=e,Gt.test(this.input)?Gt.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)==55296&&++e<this.input.length){let n=this.input.charCodeAt(e);(n&64512)==56320&&(t=65536+((t&1023)<<10)+(n&1023))}return t}setStrict(e){this.state.strict=e,e&&(this.state.strictErrors.forEach(e=>{let[t,n]=e;return this.raise(t,{at:n})}),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(137);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(e){let t;this.isLookahead||(t=this.state.curPosition());let n=this.state.pos,r=this.input.indexOf(e,n+2);if(r===-1)throw this.raise(X.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=r+e.length,Ut.lastIndex=n+2;Ut.test(this.input)&&Ut.lastIndex<=r;)++this.state.curLine,this.state.lineStart=Ut.lastIndex;if(this.isLookahead)return;let i={type:`CommentBlock`,value:this.input.slice(n+2,r),start:n,end:r+e.length,loc:new ee(t,this.state.curPosition())};return this.options.tokens&&this.pushToken(i),i}skipLineComment(e){let t=this.state.pos,n;this.isLookahead||(n=this.state.curPosition());let r=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!Wt(r)&&++this.state.pos<this.length;)r=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let i=this.state.pos,a={type:`CommentLine`,value:this.input.slice(t+e,i),start:t,end:i,loc:new ee(n,this.state.curPosition())};return this.options.tokens&&this.pushToken(a),a}skipSpace(){let e=this.state.pos,t=[];e:for(;this.state.pos<this.length;){let n=this.input.charCodeAt(this.state.pos);switch(n){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 e=this.skipBlockComment(`*/`);e!==void 0&&(this.addComment(e),this.options.attachComment&&t.push(e));break}case 47:{let e=this.skipLineComment(2);e!==void 0&&(this.addComment(e),this.options.attachComment&&t.push(e));break}default:break e}break;default:if(qt(n))++this.state.pos;else if(n===45&&!this.inModule&&this.options.annexB){let n=this.state.pos;if(this.input.charCodeAt(n+1)===45&&this.input.charCodeAt(n+2)===62&&(e===0||this.state.lineStart>e)){let e=this.skipLineComment(3);e!==void 0&&(this.addComment(e),this.options.attachComment&&t.push(e))}else break e}else if(n===60&&!this.inModule&&this.options.annexB){let e=this.state.pos;if(this.input.charCodeAt(e+1)===33&&this.input.charCodeAt(e+2)===45&&this.input.charCodeAt(e+3)===45){let e=this.skipLineComment(4);e!==void 0&&(this.addComment(e),this.options.attachComment&&t.push(e))}else break e}else break e}}if(t.length>0){let n={start:e,end:this.state.pos,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(n)}}finishToken(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let n=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(n)}replaceToken(e){this.state.type=e,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(X.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(t===123||t===91&&this.hasPlugin(`recordAndTuple`)){if(this.expectPlugin(`recordAndTuple`),this.getPluginOption(`recordAndTuple`,`syntaxType`)===`bar`)throw this.raise(t===123?X.RecordExpressionHashIncorrectStartSyntaxType:X.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,t===123?this.finishToken(7):this.finishToken(1)}else we(t)?(++this.state.pos,this.finishToken(136,this.readWord1(t))):t===92?(++this.state.pos,this.finishToken(136,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(!0);return}e===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 e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return!1;let t=this.state.pos;for(this.state.pos+=1;!Wt(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);let n=this.input.slice(t+2,this.state.pos);return this.finishToken(28,n),!0}readToken_mult_modulo(e){let t=e===42?55:54,n=1,r=this.input.charCodeAt(this.state.pos+1);e===42&&r===42&&(n++,r=this.input.charCodeAt(this.state.pos+2),t=57),r===61&&!this.state.inType&&(n++,t=e===37?33:30),this.finishOp(t,n)}readToken_pipe_amp(e){let t=this.input.charCodeAt(this.state.pos+1);if(t===e){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(e===124?41:42,2);return}if(e===124){if(t===62){this.finishOp(39,2);return}if(this.hasPlugin(`recordAndTuple`)&&t===125){if(this.getPluginOption(`recordAndTuple`,`syntaxType`)!==`bar`)throw this.raise(X.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(X.TupleExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(4);return}}if(t===61){this.finishOp(30,2);return}this.finishOp(e===124?43:45,1)}readToken_caret(){let e=this.input.charCodeAt(this.state.pos+1);e===61&&!this.state.inType?this.finishOp(32,2):e===94&&this.hasPlugin([`pipelineOperator`,{proposal:`hack`,topicToken:`^^`}])?(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected()):this.finishOp(44,1)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin([`pipelineOperator`,{proposal:`hack`,topicToken:`@@`}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(e){let t=this.input.charCodeAt(this.state.pos+1);if(t===e){this.finishOp(34,2);return}t===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){let{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(t===60){if(this.input.charCodeAt(e+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:e}=this.state,t=this.input.charCodeAt(e+1);if(t===62){let t=this.input.charCodeAt(e+2)===62?3:2;if(this.input.charCodeAt(e+t)===61){this.finishOp(30,t+1);return}this.finishOp(52,t);return}if(t===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(e){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(e===61&&t===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(e===61?29:35,1)}readToken_question(){let e=this.input.charCodeAt(this.state.pos+1),t=this.input.charCodeAt(this.state.pos+2);e===63?t===61?this.finishOp(30,3):this.finishOp(40,2):e===46&&!(t>=48&&t<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(e){switch(e){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(X.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(X.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 e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===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(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(e);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(we(e)){this.readWord(e);return}}throw this.raise(X.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(e)})}finishOp(e,t){let n=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,n)}readRegexp(){let e=this.state.startLoc,t=this.state.start+1,n,r,{pos:i}=this.state;for(;;++i){if(i>=this.length)throw this.raise(X.UnterminatedRegExp,{at:J(e,1)});let t=this.input.charCodeAt(i);if(Wt(t))throw this.raise(X.UnterminatedRegExp,{at:J(e,1)});if(n)n=!1;else{if(t===91)r=!0;else if(t===93&&r)r=!1;else if(t===47&&!r)break;n=t===92}}let a=this.input.slice(t,i);++i;let o=``,s=()=>J(e,i+2-t);for(;i<this.length;){let e=this.codePointAtPos(i),t=String.fromCharCode(e);if(cn.has(e))e===118?(this.expectPlugin(`regexpUnicodeSets`,s()),o.includes(`u`)&&this.raise(X.IncompatibleRegExpUVFlags,{at:s()})):e===117&&o.includes(`v`)&&this.raise(X.IncompatibleRegExpUVFlags,{at:s()}),o.includes(t)&&this.raise(X.DuplicateRegExpFlags,{at:s()});else if(Te(e)||e===92)this.raise(X.MalformedRegExpFlags,{at:s()});else break;++i,o+=t}this.state.pos=i,this.finishToken(135,{pattern:a,flags:o})}readInt(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,{n:i,pos:a}=nn(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,t,n,r,this.errorHandlers_readInt,!1);return this.state.pos=a,i}readRadixNumber(e){let t=this.state.curPosition(),n=!1;this.state.pos+=2;let r=this.readInt(e);r??this.raise(X.InvalidDigit,{at:J(t,2),radix:e});let i=this.input.charCodeAt(this.state.pos);if(i===110)++this.state.pos,n=!0;else if(i===109)throw this.raise(X.InvalidDecimal,{at:t});if(we(this.codePointAtPos(this.state.pos)))throw this.raise(X.NumberIdentifier,{at:this.state.curPosition()});if(n){let e=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,``);this.finishToken(133,e);return}this.finishToken(132,r)}readNumber(e){let t=this.state.pos,n=this.state.curPosition(),r=!1,i=!1,a=!1,o=!1,s=!1;!e&&this.readInt(10)===null&&this.raise(X.InvalidNumber,{at:this.state.curPosition()});let c=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(c){let e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(X.StrictOctalLiteral,{at:n}),!this.state.strict){let t=e.indexOf(`_`);t>0&&this.raise(X.ZeroDigitNumericSeparator,{at:J(n,t)})}s=c&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(l===46&&!s&&(++this.state.pos,this.readInt(10),r=!0,l=this.input.charCodeAt(this.state.pos)),(l===69||l===101)&&!s&&(l=this.input.charCodeAt(++this.state.pos),(l===43||l===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(X.InvalidOrMissingExponent,{at:n}),r=!0,o=!0,l=this.input.charCodeAt(this.state.pos)),l===110&&((r||c)&&this.raise(X.InvalidBigIntLiteral,{at:n}),++this.state.pos,i=!0),l===109&&(this.expectPlugin(`decimal`,this.state.curPosition()),(o||c)&&this.raise(X.InvalidDecimal,{at:n}),++this.state.pos,a=!0),we(this.codePointAtPos(this.state.pos)))throw this.raise(X.NumberIdentifier,{at:this.state.curPosition()});let u=this.input.slice(t,this.state.pos).replace(/[_mn]/g,``);if(i){this.finishToken(133,u);return}if(a){this.finishToken(134,u);return}let d=s?parseInt(u,8):parseFloat(u);this.finishToken(132,d)}readCodePoint(e){let{code:t,pos:n}=rn(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint);return this.state.pos=n,t}readString(e){let{str:t,pos:n,curLine:r,lineStart:i}=Qt(e===34?`double`:`single`,this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=n+1,this.state.lineStart=i,this.state.curLine=r,this.finishToken(131,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let e=this.input[this.state.pos],{str:t,firstInvalidLoc:n,pos:r,curLine:i,lineStart:a}=Qt(`template`,this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=r+1,this.state.lineStart=a,this.state.curLine=i,n&&(this.state.firstInvalidTemplateEscapePos=new q(n.curLine,n.pos-n.lineStart,n.pos)),this.input.codePointAt(r)===96?this.finishToken(24,n?null:e+t+"`"):(this.state.pos++,this.finishToken(25,n?null:e+t+"${"))}recordStrictModeErrors(e,t){let{at:n}=t,r=n.index;this.state.strict&&!this.state.strictErrors.has(r)?this.raise(e,{at:n}):this.state.strictErrors.set(r,[e,n])}readWord1(e){this.state.containsEsc=!1;let t=``,n=this.state.pos,r=this.state.pos;for(e!==void 0&&(this.state.pos+=e<=65535?1:2);this.state.pos<this.length;){let e=this.codePointAtPos(this.state.pos);if(Te(e))this.state.pos+=e<=65535?1:2;else if(e===92){this.state.containsEsc=!0,t+=this.input.slice(r,this.state.pos);let e=this.state.curPosition(),i=this.state.pos===n?we:Te;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(X.MissingUnicodeEscape,{at:this.state.curPosition()}),r=this.state.pos-1;continue}++this.state.pos;let a=this.readCodePoint(!0);a!==null&&(i(a)||this.raise(X.EscapedCharNotAnIdentifier,{at:e}),t+=String.fromCodePoint(a)),r=this.state.pos}else break}return t+this.input.slice(r,this.state.pos)}readWord(e){let t=this.readWord1(e),n=p.get(t);n===void 0?this.finishToken(130,t):this.finishToken(n,V(n))}checkKeywordEscapes(){let{type:e}=this.state;F(e)&&this.state.containsEsc&&this.raise(X.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:V(e)})}raise(e,t){let{at:n}=t,r=K(t,an),i=e({loc:n instanceof q?n:n.loc.start,details:r});if(!this.options.errorRecovery)throw i;return this.isLookahead||this.state.errors.push(i),i}raiseOverwrite(e,t){let{at:n}=t,r=K(t,on),i=n instanceof q?n:n.loc.start,a=i.index,o=this.state.errors;for(let t=o.length-1;t>=0;t--){let n=o[t];if(n.loc.index===a)return o[t]=e({loc:i,details:r});if(n.loc.index<a)break}return this.raise(e,t)}updateContext(e){}unexpected(e,t){throw this.raise(X.UnexpectedToken,{expected:t?V(t):null,at:e??this.state.startLoc})}expectPlugin(e,t){if(this.hasPlugin(e))return!0;throw this.raise(X.MissingPlugin,{at:t??this.state.startLoc,missingPlugin:[e]})}expectOnePlugin(e){if(!e.some(e=>this.hasPlugin(e)))throw this.raise(X.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:e})}errorBuilder(e){return(t,n,r)=>{this.raise(e,{at:sn(t,n,r)})}}},dn=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},fn=class{constructor(e){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new dn)}exit(){let e=this.stack.pop(),t=this.current();for(let[n,r]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(n)||t.undefinedPrivateNames.set(n,r):this.parser.raise(X.InvalidPrivateFieldResolution,{at:r,identifierName:n})}declarePrivateName(e,t,n){let{privateNames:r,loneAccessors:i,undefinedPrivateNames:a}=this.current(),o=r.has(e);if(t&Et){let n=o&&i.get(e);if(n){let r=n&Ct,a=t&Ct;o=(n&Et)===(t&Et)||r!==a,o||i.delete(e)}else o||i.set(e,t)}o&&this.parser.raise(X.PrivateNameRedeclaration,{at:n,identifierName:e}),r.add(e),a.delete(e)}usePrivateName(e,t){let n;for(n of this.stack)if(n.privateNames.has(e))return;n?n.undefinedPrivateNames.set(e,t):this.parser.raise(X.InvalidPrivateFieldResolution,{at:t,identifierName:e})}},pn=0,mn=1,hn=2,gn=3,_n=class{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pn;this.type=void 0,this.type=e}canBeArrowParameterDeclaration(){return this.type===hn||this.type===mn}isCertainlyParameterDeclaration(){return this.type===gn}},vn=class extends _n{constructor(e){super(e),this.declarationErrors=new Map}recordDeclarationError(e,t){let{at:n}=t,r=n.index;this.declarationErrors.set(r,[e,n])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}},yn=class{constructor(e){this.parser=void 0,this.stack=[new _n],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,t){let{at:n}=t,r={at:n.loc.start},{stack:i}=this,a=i.length-1,o=i[a];for(;!o.isCertainlyParameterDeclaration();){if(o.canBeArrowParameterDeclaration())o.recordDeclarationError(e,r);else return;o=i[--a]}this.parser.raise(e,r)}recordArrowParameterBindingError(e,t){let{at:n}=t,{stack:r}=this,i=r[r.length-1],a={at:n.loc.start};if(i.isCertainlyParameterDeclaration())this.parser.raise(e,a);else if(i.canBeArrowParameterDeclaration())i.recordDeclarationError(e,a);else return}recordAsyncArrowParametersError(e){let{at:t}=e,{stack:n}=this,r=n.length-1,i=n[r];for(;i.canBeArrowParameterDeclaration();)i.type===hn&&i.recordDeclarationError(X.AwaitBindingIdentifier,{at:t}),i=n[--r]}validateAsPattern(){let{stack:e}=this,t=e[e.length-1];t.canBeArrowParameterDeclaration()&&t.iterateErrors(t=>{let[n,r]=t;this.parser.raise(n,{at:r});let i=e.length-2,a=e[i];for(;a.canBeArrowParameterDeclaration();)a.clearDeclarationError(r.index),a=e[--i]})}};function bn(){return new _n(gn)}function xn(){return new vn(mn)}function Sn(){return new vn(hn)}function Cn(){return new _n}var wn=0,Tn=1,En=2,Dn=4,On=8,kn=class{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&En)>0}get hasYield(){return(this.currentFlags()&Tn)>0}get hasReturn(){return(this.currentFlags()&Dn)>0}get hasIn(){return(this.currentFlags()&On)>0}};function An(e,t){return(e?En:0)|(t?Tn:0)}var jn=class extends un{addExtra(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;if(!e)return;let i=e.extra=e.extra||{};r?i[t]=n:Object.defineProperty(i,t,{enumerable:r,value:n})}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){let n=e+t.length;if(this.input.slice(e,n)===t){let e=this.input.charCodeAt(n);return!(Te(e)||(e&64512)==55296)}return!1}isLookaheadContextual(e){let t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)?(this.next(),!0):!1}expectContextual(e,t){if(!this.eatContextual(e)){if(t!=null)throw this.raise(t,{at:this.state.startLoc});this.unexpected(null,e)}}canInsertSemicolon(){return this.match(137)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Ht.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return Kt.lastIndex=this.state.end,Kt.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(X.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.clone(),n={node:null};try{let r=e(function(){throw n.node=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,n});if(this.state.errors.length>t.errors.length){let e=this.state;return this.state=t,this.state.tokensLength=e.tokensLength,{node:r,error:e.errors[t.errors.length],thrown:!1,aborted:!1,failState:e}}return{node:r,error:null,thrown:!1,aborted:!1,failState:null}}catch(e){let r=this.state;if(this.state=t,e instanceof SyntaxError)return{node:null,error:e,thrown:!0,aborted:!1,failState:r};if(e===n)return{node:n.node,error:null,thrown:!1,aborted:!0,failState:r};throw e}}checkExpressionErrors(e,t){if(!e)return!1;let{shorthandAssignLoc:n,doubleProtoLoc:r,privateKeyLoc:i,optionalParametersLoc:a}=e,o=!!n||!!r||!!a||!!i;if(!t)return o;n!=null&&this.raise(X.InvalidCoverInitializedName,{at:n}),r!=null&&this.raise(X.DuplicateProto,{at:r}),i!=null&&this.raise(X.UnexpectedPrivateField,{at:i}),a!=null&&this.unexpected(a)}isLiteralPropertyName(){return k(this.state.type)}isPrivateName(e){return e.type===`PrivateName`}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type===`MemberExpression`||e.type===`OptionalMemberExpression`)&&this.isPrivateName(e.property)}isObjectProperty(e){return e.type===`ObjectProperty`}isObjectMethod(e){return e.type===`ObjectMethod`}initializeScopes(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.sourceType===`module`,t=this.state.labels;this.state.labels=[];let n=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let r=this.inModule;this.inModule=e;let i=this.scope;this.scope=new(this.getScopeHandler())(this,e);let a=this.prodParam;this.prodParam=new kn;let o=this.classScope;this.classScope=new fn(this);let s=this.expressionScope;return this.expressionScope=new yn(this),()=>{this.state.labels=t,this.exportedIdentifiers=n,this.inModule=r,this.scope=i,this.prodParam=a,this.classScope=o,this.expressionScope=s}}enterInitialScopes(){let e=wn;this.inModule&&(e|=En),this.scope.enter(ze),this.prodParam.enter(e)}checkDestructuringPrivate(e){let{privateKeyLoc:t}=e;t!==null&&this.expectPlugin(`destructuringPrivate`,t)}},Mn=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},Nn=class{constructor(e,t,n){this.type=``,this.start=t,this.end=0,this.loc=new ee(n),e!=null&&e.options.ranges&&(this.range=[t,0]),e!=null&&e.filename&&(this.loc.filename=e.filename)}},Pn=Nn.prototype;Pn.__clone=function(){let e=new Nn(void 0,this.start,this.loc.start),t=Object.keys(this);for(let n=0,r=t.length;n<r;n++){let r=t[n];r!==`leadingComments`&&r!==`trailingComments`&&r!==`innerComments`&&(e[r]=this[r])}return e};function Fn(e){return In(e)}function In(e){let{type:t,start:n,end:r,loc:i,range:a,extra:o,name:s}=e,c=Object.create(Pn);return c.type=t,c.start=n,c.end=r,c.loc=i,c.range=a,c.extra=o,c.name=s,t===`Placeholder`&&(c.expectedNode=e.expectedNode),c}function Ln(e){let{type:t,start:n,end:r,loc:i,range:a,extra:o}=e;if(t===`Placeholder`)return Fn(e);let s=Object.create(Pn);return s.type=t,s.start=n,s.end=r,s.loc=i,s.range=a,e.raw===void 0?s.extra=o:s.raw=e.raw,s.value=e.value,s}var Rn=class extends jn{startNode(){return new Nn(this,this.state.start,this.state.startLoc)}startNodeAt(e){return new Nn(this,e.index,e)}startNodeAtNode(e){return this.startNodeAt(e.loc.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEndLoc)}finishNodeAt(e,t,n){return e.type=t,e.end=n.index,e.loc.end=n,this.options.ranges&&(e.range[1]=n.index),this.options.attachComment&&this.processComment(e),e}resetStartLocation(e,t){e.start=t.index,e.loc.start=t,this.options.ranges&&(e.range[0]=t.index)}resetEndLocation(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.lastTokEndLoc;e.end=t.index,e.loc.end=t,this.options.ranges&&(e.range[1]=t.index)}resetStartLocationFromNode(e,t){this.resetStartLocation(e,t.loc.start)}},zn=new Set([`_`,`any`,`bool`,`boolean`,`empty`,`extends`,`false`,`interface`,`mixed`,`null`,`number`,`static`,`string`,`true`,`typeof`,`void`]),Q=pe`flow`({AmbiguousConditionalArrow:`Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.`,AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:e=>{let{reservedType:t}=e;return`Cannot overwrite reserved type ${t}.`},DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:e=>{let{memberName:t,enumName:n}=e;return`Boolean enum members need to be initialized. Use either \`${t} = true,\` or \`${t} = false,\` in enum \`${n}\`.`},EnumDuplicateMemberName:e=>{let{memberName:t,enumName:n}=e;return`Enum member names need to be unique, but the name \`${t}\` has already been used before in enum \`${n}\`.`},EnumInconsistentMemberValues:e=>{let{enumName:t}=e;return`Enum \`${t}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`},EnumInvalidExplicitType:e=>{let{invalidEnumType:t,enumName:n}=e;return`Enum type \`${t}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${n}\`.`},EnumInvalidExplicitTypeUnknownSupplied:e=>{let{enumName:t}=e;return`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`},EnumInvalidMemberInitializerPrimaryType:e=>{let{enumName:t,memberName:n,explicitType:r}=e;return`Enum \`${t}\` has type \`${r}\`, so the initializer of \`${n}\` needs to be a ${r} literal.`},EnumInvalidMemberInitializerSymbolType:e=>{let{enumName:t,memberName:n}=e;return`Symbol enum members cannot be initialized. Use \`${n},\` in enum \`${t}\`.`},EnumInvalidMemberInitializerUnknownType:e=>{let{enumName:t,memberName:n}=e;return`The enum member initializer for \`${n}\` needs to be a literal (either a boolean, number, or string) in enum \`${t}\`.`},EnumInvalidMemberName:e=>{let{enumName:t,memberName:n,suggestion:r}=e;return`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${n}\`, consider using \`${r}\`, in enum \`${t}\`.`},EnumNumberMemberNotInitialized:e=>{let{enumName:t,memberName:n}=e;return`Number enum members need to be initialized, e.g. \`${n} = 1\` in enum \`${t}\`.`},EnumStringMemberInconsistentlyInitailized:e=>{let{enumName:t}=e;return`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${t}\`.`},GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:`Explicit inexact syntax cannot appear inside an explicit exact object type.`,InexactInsideNonObject:`Explicit inexact syntax cannot appear in class or interface definitions.`,InexactVariance:`Explicit inexact syntax cannot have variance.`,InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:`Type parameter declaration needs a default, since a preceding type parameter declaration has a default.`,NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:`Cannot have a flow comment inside another flow comment.`,PatternIsOptional:Object.assign({message:`A binding pattern parameter cannot be optional in an implementation signature.`},{reasonCode:`OptionalBindingPattern`}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:`Spread properties cannot have variance.`,ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:`The type cast expression is expected to be wrapped with parenthesis.`,UnexpectedExplicitInexactInObject:`Explicit inexact syntax must appear at the end of an inexact object.`,UnexpectedReservedType:e=>{let{reservedType:t}=e;return`Unexpected reserved type ${t}.`},UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:`Spread operator cannot appear in class or interface definitions.`,UnexpectedSubtractionOperand:`Unexpected token, expected "number" or "bigint".`,UnexpectedTokenAfterTypeParameter:`Expected an arrow function after this type parameter declaration.`,UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:e=>{let{unsupportedExportKind:t,suggestion:n}=e;return`\`declare export ${t}\` is not supported. Use \`${n}\` instead.`},UnsupportedStatementInDeclareModule:`Only declares and type imports are allowed inside declare module.`,UnterminatedFlowComment:`Unterminated flow-comment.`});function Bn(e){return e.type===`DeclareExportAllDeclaration`||e.type===`DeclareExportDeclaration`&&(!e.declaration||e.declaration.type!==`TypeAlias`&&e.declaration.type!==`InterfaceDeclaration`)}function Vn(e){return e.importKind===`type`||e.importKind===`typeof`}function Hn(e){return O(e)&&e!==97}var Un={const:`declare export var`,let:`declare export var`,type:`export type`,interface:`export interface`};function Wn(e,t){let n=[],r=[];for(let i=0;i<e.length;i++)(t(e[i],i,e)?n:r).push(e[i]);return[n,r]}var Gn=/\*?\s*@((?:no)?flow)\b/,Kn=e=>class extends e{constructor(){super(...arguments),this.flowPragma=void 0}getScopeHandler(){return Ft}shouldParseTypes(){return this.getPluginOption(`flow`,`all`)||this.flowPragma===`flow`}shouldParseEnums(){return!!this.getPluginOption(`flow`,`enums`)}finishToken(e,t){e!==131&&e!==13&&e!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(this.flowPragma===void 0){let t=Gn.exec(e.value);if(t)if(t[1]===`flow`)this.flowPragma=`flow`;else if(t[1]===`noflow`)this.flowPragma=`noflow`;else throw Error(`Unexpected flow pragma`)}super.addComment(e)}flowParseTypeInitialiser(e){let t=this.state.inType;this.state.inType=!0,this.expect(e||14);let n=this.flowParseType();return this.state.inType=t,n}flowParsePredicate(){let e=this.startNode(),t=this.state.startLoc;return this.next(),this.expectContextual(108),this.state.lastTokStart>t.index+1&&this.raise(Q.UnexpectedSpaceBetweenModuloChecks,{at:t}),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,`DeclaredPredicate`)):this.finishNode(e,`InferredPredicate`)}flowParseTypeAndPredicateInitialiser(){let e=this.state.inType;this.state.inType=!0,this.expect(14);let t=null,n=null;return this.match(54)?(this.state.inType=e,n=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(54)&&(n=this.flowParsePredicate())),[t,n]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,`DeclareClass`)}flowParseDeclareFunction(e){this.next();let t=e.id=this.parseIdentifier(),n=this.startNode(),r=this.startNode();this.match(47)?n.typeParameters=this.flowParseTypeParameterDeclaration():n.typeParameters=null,this.expect(10);let i=this.flowParseFunctionTypeParams();return n.params=i.params,n.rest=i.rest,n.this=i._this,this.expect(11),[n.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),r.typeAnnotation=this.finishNode(n,`FunctionTypeAnnotation`),t.typeAnnotation=this.finishNode(r,`TypeAnnotation`),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,St,e.id.loc.start),this.finishNode(e,`DeclareFunction`)}flowParseDeclare(e,t){if(this.match(80))return this.flowParseDeclareClass(e);if(this.match(68))return this.flowParseDeclareFunction(e);if(this.match(74))return this.flowParseDeclareVariable(e);if(this.eatContextual(125))return this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(Q.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(e));if(this.isContextual(128))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(129))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(127))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,t);this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,dt,e.id.loc.start),this.semicolon(),this.finishNode(e,`DeclareVariable`)}flowParseDeclareModule(e){this.scope.enter(Re),this.match(131)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();let t=e.body=this.startNode(),n=t.body=[];for(this.expect(5);!this.match(8);){let e=this.startNode();this.match(83)?(this.next(),!this.isContextual(128)&&!this.match(87)&&this.raise(Q.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),super.parseImport(e)):(this.expectContextual(123,Q.UnsupportedStatementInDeclareModule),e=this.flowParseDeclare(e,!0)),n.push(e)}this.scope.exit(),this.expect(8),this.finishNode(t,`BlockStatement`);let r=null,i=!1;return n.forEach(e=>{Bn(e)?(r===`CommonJS`&&this.raise(Q.AmbiguousDeclareModuleKind,{at:e}),r=`ES`):e.type===`DeclareModuleExports`&&(i&&this.raise(Q.DuplicateDeclareModuleExports,{at:e}),r===`ES`&&this.raise(Q.AmbiguousDeclareModuleKind,{at:e}),r=`CommonJS`,i=!0)}),e.kind=r||`CommonJS`,this.finishNode(e,`DeclareModule`)}flowParseDeclareExportDeclaration(e,t){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,`DeclareExportDeclaration`);if(this.match(75)||this.isLet()||(this.isContextual(128)||this.isContextual(127))&&!t){let e=this.state.value;throw this.raise(Q.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:e,suggestion:Un[e]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(129))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,`DeclareExportDeclaration`);if(this.match(55)||this.match(5)||this.isContextual(127)||this.isContextual(128)||this.isContextual(129))return e=this.parseExport(e,null),e.type===`ExportNamedDeclaration`&&(e.type=`ExportDeclaration`,e.default=!1,delete e.exportKind),e.type=`Declare`+e.type,e;this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(109),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,`DeclareModuleExports`)}flowParseDeclareTypeAlias(e){this.next();let t=this.flowParseTypeAlias(e);return t.type=`DeclareTypeAlias`,t}flowParseDeclareOpaqueType(e){this.next();let t=this.flowParseOpaqueType(e,!0);return t.type=`DeclareOpaqueType`,t}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,`DeclareInterface`)}flowParseInterfaceish(e,t){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?ft:lt,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.implements=[],e.mixins=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(!t&&this.eat(12));if(t){if(this.eatContextual(115))do e.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(111))do e.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})}flowParseInterfaceExtends(){let e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,`InterfaceExtends`)}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,`InterfaceDeclaration`)}checkNotUnderscore(e){e===`_`&&this.raise(Q.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(e,t,n){zn.has(e)&&this.raise(n?Q.AssignReservedType:Q.UnexpectedReservedType,{at:t,reservedType:e})}flowParseRestrictedIdentifier(e,t){return this.checkReservedType(this.state.value,this.state.startLoc,t),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,lt,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,`TypeAlias`)}flowParseOpaqueType(e,t){return this.expectContextual(128),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,lt,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,`OpaqueType`)}flowParseTypeParameter(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=this.state.startLoc,n=this.startNode(),r=this.flowParseVariance(),i=this.flowParseTypeAnnotatableIdentifier();return n.name=i.name,n.variance=r,n.bound=i.typeAnnotation,this.match(29)?(this.eat(29),n.default=this.flowParseType()):e&&this.raise(Q.MissingTypeParamDefault,{at:t}),this.finishNode(n,`TypeParameter`)}flowParseTypeParameterDeclaration(){let e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(47)||this.match(140)?this.next():this.unexpected();let n=!1;do{let e=this.flowParseTypeParameter(n);t.params.push(e),e.default&&(n=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(t,`TypeParameterDeclaration`)}flowParseTypeParameterInstantiation(){let e=this.startNode(),t=this.state.inType;e.params=[],this.state.inType=!0,this.expect(47);let n=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=n,this.expect(48),this.state.inType=t,this.finishNode(e,`TypeParameterInstantiation`)}flowParseTypeParameterInstantiationCallOrNew(){let e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=t,this.finishNode(e,`TypeParameterInstantiation`)}flowParseInterfaceType(){let e=this.startNode();if(this.expectContextual(127),e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,`InterfaceTypeAnnotation`)}flowParseObjectPropertyKey(){return this.match(132)||this.match(131)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,t,n){return e.static=t,this.lookahead().type===14?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=n,this.finishNode(e,`ObjectTypeIndexer`)}flowParseObjectTypeInternalSlot(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,`ObjectTypeInternalSlot`)}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,`FunctionTypeAnnotation`)}flowParseObjectTypeCallProperty(e,t){let n=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(n),this.finishNode(e,`ObjectTypeCallProperty`)}flowParseObjectType(e){let{allowStatic:t,allowExact:n,allowSpread:r,allowProto:i,allowInexact:a}=e,o=this.state.inType;this.state.inType=!0;let s=this.startNode();s.callProperties=[],s.properties=[],s.indexers=[],s.internalSlots=[];let c,l,u=!1;for(n&&this.match(6)?(this.expect(6),c=9,l=!0):(this.expect(5),c=8,l=!1),s.exact=l;!this.match(c);){let e=!1,n=null,o=null,c=this.startNode();if(i&&this.isContextual(116)){let e=this.lookahead();e.type!==14&&e.type!==17&&(this.next(),n=this.state.startLoc,t=!1)}if(t&&this.isContextual(104)){let t=this.lookahead();t.type!==14&&t.type!==17&&(this.next(),e=!0)}let d=this.flowParseVariance();if(this.eat(0))n!=null&&this.unexpected(n),this.eat(0)?(d&&this.unexpected(d.loc.start),s.internalSlots.push(this.flowParseObjectTypeInternalSlot(c,e))):s.indexers.push(this.flowParseObjectTypeIndexer(c,e,d));else if(this.match(10)||this.match(47))n!=null&&this.unexpected(n),d&&this.unexpected(d.loc.start),s.callProperties.push(this.flowParseObjectTypeCallProperty(c,e));else{let t=`init`;(this.isContextual(98)||this.isContextual(103))&&k(this.lookahead().type)&&(t=this.state.value,this.next());let i=this.flowParseObjectTypeProperty(c,e,n,d,t,r,a??!l);i===null?(u=!0,o=this.state.lastTokStartLoc):s.properties.push(i)}this.flowObjectTypeSemicolon(),o&&!this.match(8)&&!this.match(9)&&this.raise(Q.UnexpectedExplicitInexactInObject,{at:o})}this.expect(c),r&&(s.inexact=u);let d=this.finishNode(s,`ObjectTypeAnnotation`);return this.state.inType=o,d}flowParseObjectTypeProperty(e,t,n,r,i,a,o){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(a?o||this.raise(Q.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(Q.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),r&&this.raise(Q.InexactVariance,{at:r}),null):(a||this.raise(Q.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),n!=null&&this.unexpected(n),r&&this.raise(Q.SpreadVariance,{at:r}),e.argument=this.flowParseType(),this.finishNode(e,`ObjectTypeSpreadProperty`));{e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=n!=null,e.kind=i;let o=!1;return this.match(47)||this.match(10)?(e.method=!0,n!=null&&this.unexpected(n),r&&this.unexpected(r.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),(i===`get`||i===`set`)&&this.flowCheckGetterSetterParams(e),!a&&e.key.name===`constructor`&&e.value.this&&this.raise(Q.ThisParamBannedInConstructor,{at:e.value.this})):(i!==`init`&&this.unexpected(),e.method=!1,this.eat(17)&&(o=!0),e.value=this.flowParseTypeInitialiser(),e.variance=r),e.optional=o,this.finishNode(e,`ObjectTypeProperty`)}}flowCheckGetterSetterParams(e){let t=e.kind===`get`?0:1,n=e.value.params.length+ +!!e.value.rest;e.value.this&&this.raise(e.kind===`get`?Q.GetterMayNotHaveThisParam:Q.SetterMayNotHaveThisParam,{at:e.value.this}),n!==t&&this.raise(e.kind===`get`?X.BadGetterArity:X.BadSetterArity,{at:e}),e.kind===`set`&&e.value.rest&&this.raise(X.BadSetterRestParameter,{at:e})}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,t){e??=this.state.startLoc;let n=t||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let t=this.startNodeAt(e);t.qualification=n,t.id=this.flowParseRestrictedIdentifier(!0),n=this.finishNode(t,`QualifiedTypeIdentifier`)}return n}flowParseGenericType(e,t){let n=this.startNodeAt(e);return n.typeParameters=null,n.id=this.flowParseQualifiedTypeIdentifier(e,t),this.match(47)&&(n.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(n,`GenericTypeAnnotation`)}flowParseTypeofType(){let e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,`TypeofTypeAnnotation`)}flowParseTupleType(){let e=this.startNode();for(e.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(e.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(e,`TupleTypeAnnotation`)}flowParseFunctionTypeParam(e){let t=null,n=!1,r=null,i=this.startNode(),a=this.lookahead(),o=this.state.type===78;return a.type===14||a.type===17?(o&&!e&&this.raise(Q.ThisParamMustBeFirst,{at:i}),t=this.parseIdentifier(o),this.eat(17)&&(n=!0,o&&this.raise(Q.ThisParamMayNotBeOptional,{at:i})),r=this.flowParseTypeInitialiser()):r=this.flowParseType(),i.name=t,i.optional=n,i.typeAnnotation=r,this.finishNode(i,`FunctionTypeParam`)}reinterpretTypeAsFunctionTypeParam(e){let t=this.startNodeAt(e.loc.start);return t.name=null,t.optional=!1,t.typeAnnotation=e,this.finishNode(t,`FunctionTypeParam`)}flowParseFunctionTypeParams(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=null,n=null;for(this.match(78)&&(n=this.flowParseFunctionTypeParam(!0),n.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t=this.flowParseFunctionTypeParam(!1)),{params:e,rest:t,_this:n}}flowIdentToTypeAnnotation(e,t,n){switch(n.name){case`any`:return this.finishNode(t,`AnyTypeAnnotation`);case`bool`:case`boolean`:return this.finishNode(t,`BooleanTypeAnnotation`);case`mixed`:return this.finishNode(t,`MixedTypeAnnotation`);case`empty`:return this.finishNode(t,`EmptyTypeAnnotation`);case`number`:return this.finishNode(t,`NumberTypeAnnotation`);case`string`:return this.finishNode(t,`StringTypeAnnotation`);case`symbol`:return this.finishNode(t,`SymbolTypeAnnotation`);default:return this.checkNotUnderscore(n.name),this.flowParseGenericType(e,n)}}flowParsePrimaryType(){let e=this.state.startLoc,t=this.startNode(),n,r,i=!1,a=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,r=this.flowParseTupleType(),this.state.noAnonFunctionType=a,r;case 47:return t.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),n=this.flowParseFunctionTypeParams(),t.params=n.params,t.rest=n.rest,t.this=n._this,this.expect(11),this.expect(19),t.returnType=this.flowParseType(),this.finishNode(t,`FunctionTypeAnnotation`);case 10:if(this.next(),!this.match(11)&&!this.match(21))if(E(this.state.type)||this.match(78)){let e=this.lookahead().type;i=e!==17&&e!==14}else i=!0;if(i){if(this.state.noAnonFunctionType=!1,r=this.flowParseType(),this.state.noAnonFunctionType=a,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),r;this.eat(12)}return n=r?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(r)]):this.flowParseFunctionTypeParams(),t.params=n.params,t.rest=n.rest,t.this=n._this,this.expect(11),this.expect(19),t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,`FunctionTypeAnnotation`);case 131:return this.parseLiteral(this.state.value,`StringLiteralTypeAnnotation`);case 85:case 86:return t.value=this.match(85),this.next(),this.finishNode(t,`BooleanLiteralTypeAnnotation`);case 53:if(this.state.value===`-`){if(this.next(),this.match(132))return this.parseLiteralAtNode(-this.state.value,`NumberLiteralTypeAnnotation`,t);if(this.match(133))return this.parseLiteralAtNode(-this.state.value,`BigIntLiteralTypeAnnotation`,t);throw this.raise(Q.UnexpectedSubtractionOperand,{at:this.state.startLoc})}this.unexpected();return;case 132:return this.parseLiteral(this.state.value,`NumberLiteralTypeAnnotation`);case 133:return this.parseLiteral(this.state.value,`BigIntLiteralTypeAnnotation`);case 88:return this.next(),this.finishNode(t,`VoidTypeAnnotation`);case 84:return this.next(),this.finishNode(t,`NullLiteralTypeAnnotation`);case 78:return this.next(),this.finishNode(t,`ThisTypeAnnotation`);case 55:return this.next(),this.finishNode(t,`ExistsTypeAnnotation`);case 87:return this.flowParseTypeofType();default:if(F(this.state.type)){let e=V(this.state.type);return this.next(),super.createIdentifier(t,e)}else if(E(this.state.type))return this.isContextual(127)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,t,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let e=this.state.startLoc,t=this.flowParsePrimaryType(),n=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let r=this.startNodeAt(e),i=this.eat(18);n||=i,this.expect(0),!i&&this.match(3)?(r.elementType=t,this.next(),t=this.finishNode(r,`ArrayTypeAnnotation`)):(r.objectType=t,r.indexType=this.flowParseType(),this.expect(3),n?(r.optional=i,t=this.finishNode(r,`OptionalIndexedAccessType`)):t=this.finishNode(r,`IndexedAccessType`))}return t}flowParsePrefixType(){let e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,`NullableTypeAnnotation`)):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let t=this.startNodeAt(e.loc.start);return t.params=[this.reinterpretTypeAsFunctionTypeParam(e)],t.rest=null,t.this=null,t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,`FunctionTypeAnnotation`)}return e}flowParseIntersectionType(){let e=this.startNode();this.eat(45);let t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return e.types.length===1?t:this.finishNode(e,`IntersectionTypeAnnotation`)}flowParseUnionType(){let e=this.startNode();this.eat(43);let t=this.flowParseIntersectionType();for(e.types=[t];this.eat(43);)e.types.push(this.flowParseIntersectionType());return e.types.length===1?t:this.finishNode(e,`UnionTypeAnnotation`)}flowParseType(){let e=this.state.inType;this.state.inType=!0;let t=this.flowParseUnionType();return this.state.inType=e,t}flowParseTypeOrImplicitInstantiation(){if(this.state.type===130&&this.state.value===`_`){let e=this.state.startLoc,t=this.parseIdentifier();return this.flowParseGenericType(e,t)}else return this.flowParseType()}flowParseTypeAnnotation(){let e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,`TypeAnnotation`)}flowParseTypeAnnotatableIdentifier(e){let t=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t)),t}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(53)?(e=this.startNode(),this.state.value===`+`?e.kind=`plus`:e.kind=`minus`,this.next(),this.finishNode(e,`Variance`)):e}parseFunctionBody(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(t){this.forwardNoArrowParamsConversionAt(e,()=>super.parseFunctionBody(e,!0,n));return}super.parseFunctionBody(e,!1,n)}parseFunctionBodyAndFinish(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(this.match(14)){let t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=t.typeAnnotation?this.finishNode(t,`TypeAnnotation`):null}return super.parseFunctionBodyAndFinish(e,t,n)}parseStatementLike(e){if(this.state.strict&&this.isContextual(127)){if(O(this.lookahead().type)){let e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(124)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}let t=super.parseStatementLike(e);return this.flowPragma===void 0&&!this.isValidDirective(t)&&(this.flowPragma=null),t}parseExpressionStatement(e,t,n){if(t.type===`Identifier`){if(t.name===`declare`){if(this.match(80)||E(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(E(this.state.type)){if(t.name===`interface`)return this.flowParseInterface(e);if(t.name===`type`)return this.flowParseTypeAlias(e);if(t.name===`opaque`)return this.flowParseOpaqueType(e,!1)}}return super.parseExpressionStatement(e,t,n)}shouldParseExportDeclaration(){let{type:e}=this.state;return N(e)||this.shouldParseEnums()&&e===124?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:e}=this.state;return N(e)||this.shouldParseEnums()&&e===124?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(124)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,n){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let t=this.lookaheadCharCode();if(t===44||t===61||t===58||t===41)return this.setOptionalParametersError(n),e}this.expect(17);let r=this.state.clone(),i=this.state.noArrowAt,a=this.startNodeAt(t),{consequent:o,failed:s}=this.tryParseConditionalConsequent(),[c,l]=this.getArrowLikeExpressions(o);if(s||l.length>0){let e=[...i];if(l.length>0){this.state=r,this.state.noArrowAt=e;for(let t=0;t<l.length;t++)e.push(l[t].start);({consequent:o,failed:s}=this.tryParseConditionalConsequent()),[c,l]=this.getArrowLikeExpressions(o)}s&&c.length>1&&this.raise(Q.AmbiguousConditionalArrow,{at:r.startLoc}),s&&c.length===1&&(this.state=r,e.push(c[0].start),this.state.noArrowAt=e,{consequent:o,failed:s}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(o,!0),this.state.noArrowAt=i,this.expect(14),a.test=e,a.consequent=o,a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(a,`ConditionalExpression`)}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let e=this.parseMaybeAssignAllowIn(),t=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}}getArrowLikeExpressions(e,t){let n=[e],r=[];for(;n.length!==0;){let e=n.pop();e.type===`ArrowFunctionExpression`?(e.typeParameters||!e.returnType?this.finishArrowValidation(e):r.push(e),n.push(e.body)):e.type===`ConditionalExpression`&&(n.push(e.consequent),n.push(e.alternate))}return t?(r.forEach(e=>this.finishArrowValidation(e)),[r,[]]):Wn(r,e=>e.params.every(e=>this.isAssignable(e,!0)))}finishArrowValidation(e){this.toAssignableList(e.params,e.extra?.trailingCommaLoc,!1),this.scope.enter(Be|Ve),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let n;return this.state.noArrowParamsConversionAt.indexOf(e.start)===-1?n=t():(this.state.noArrowParamsConversionAt.push(this.state.start),n=t(),this.state.noArrowParamsConversionAt.pop()),n}parseParenItem(e,t){if(e=super.parseParenItem(e,t),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){let n=this.startNodeAt(t);return n.expression=e,n.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(n,`TypeCastExpression`)}return e}assertModuleNodeAllowed(e){e.type===`ImportDeclaration`&&(e.importKind===`type`||e.importKind===`typeof`)||e.type===`ExportNamedDeclaration`&&e.exportKind===`type`||e.type===`ExportAllDeclaration`&&e.exportKind===`type`||super.assertModuleNodeAllowed(e)}parseExport(e,t){let n=super.parseExport(e,t);return(n.type===`ExportNamedDeclaration`||n.type===`ExportAllDeclaration`)&&(n.exportKind=n.exportKind||`value`),n}parseExportDeclaration(e){if(this.isContextual(128)){e.exportKind=`type`;let t=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(t)}else if(this.isContextual(129)){e.exportKind=`type`;let t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}else if(this.isContextual(127)){e.exportKind=`type`;let t=this.startNode();return this.next(),this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual(124)){e.exportKind=`value`;let t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}else return super.parseExportDeclaration(e)}eatExportStar(e){return super.eatExportStar(e)?!0:this.isContextual(128)&&this.lookahead().type===55?(e.exportKind=`type`,this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(e){let{startLoc:t}=this.state,n=super.maybeParseExportNamespaceSpecifier(e);return n&&e.exportKind===`type`&&this.unexpected(t),n}parseClassId(e,t,n){super.parseClassId(e,t,n),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,t,n){let{startLoc:r}=this.state;if(this.isContextual(123)){if(super.parseClassMemberFromModifier(e,t))return;t.declare=!0}super.parseClassMember(e,t,n),t.declare&&(t.type!==`ClassProperty`&&t.type!==`ClassPrivateProperty`&&t.type!==`PropertyDefinition`?this.raise(Q.DeclareClassElement,{at:r}):t.value&&this.raise(Q.DeclareClassFieldInitializer,{at:t.value}))}isIterator(e){return e===`iterator`||e===`asyncIterator`}readIterator(){let e=super.readWord1(),t=`@@`+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(X.InvalidIdentifier,{at:this.state.curPosition(),identifierName:t}),this.finishToken(130,t)}getTokenFromCode(e){let t=this.input.charCodeAt(this.state.pos+1);e===123&&t===124?this.finishOp(6,2):this.state.inType&&(e===62||e===60)?this.finishOp(e===62?48:47,1):this.state.inType&&e===63?t===46?this.finishOp(18,2):this.finishOp(17,1):Fe(e,t,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e)}isAssignable(e,t){return e.type===`TypeCastExpression`?this.isAssignable(e.expression,t):super.isAssignable(e,t)}toAssignable(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;!t&&e.type===`AssignmentExpression`&&e.left.type===`TypeCastExpression`&&(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,t)}toAssignableList(e,t,n){for(let t=0;t<e.length;t++){let n=e[t];n?.type===`TypeCastExpression`&&(e[t]=this.typeCastToParameter(n))}super.toAssignableList(e,t,n)}toReferencedList(e,t){for(let r=0;r<e.length;r++){var n;let i=e[r];i&&i.type===`TypeCastExpression`&&!((n=i.extra)!=null&&n.parenthesized)&&(e.length>1||!t)&&this.raise(Q.TypeCastInPattern,{at:i.typeAnnotation})}return e}parseArrayLike(e,t,n,r){let i=super.parseArrayLike(e,t,n,r);return t&&!this.state.maybeInArrowParameters&&this.toReferencedList(i.elements),i}isValidLVal(e,t,n){return e===`TypeCastExpression`||super.isValidLVal(e,t,n)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,n,r,i,a){if(t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,t,n,r,i,a),t.params&&i){let e=t.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Q.ThisParamBannedInConstructor,{at:t})}else if(t.type===`MethodDefinition`&&i&&t.value.params){let e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Q.ThisParamBannedInConstructor,{at:t})}}pushClassPrivateMethod(e,t,n,r){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,n,r)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(47)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(111)){this.next();let t=e.implements=[];do{let e=this.startNode();e.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,t.push(this.finishNode(e,`ClassImplements`))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);let t=this.getObjectOrClassMethodParams(e);if(t.length>0){let n=t[0];this.isThisParam(n)&&e.kind===`get`?this.raise(Q.GetterMayNotHaveThisParam,{at:n}):this.isThisParam(n)&&this.raise(Q.SetterMayNotHaveThisParam,{at:n})}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,n,r,i,a,o){e.variance&&this.unexpected(e.variance.loc.start),delete e.variance;let s;this.match(47)&&!a&&(s=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let c=super.parseObjPropValue(e,t,n,r,i,a,o);return s&&((c.value||c).typeParameters=s),c}parseAssignableListItemTypes(e){return this.eat(17)&&(e.type!==`Identifier`&&this.raise(Q.PatternIsOptional,{at:e}),this.isThisParam(e)&&this.raise(Q.ThisParamMayNotBeOptional,{at:e}),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(Q.ThisParamAnnotationRequired,{at:e}),this.match(29)&&this.isThisParam(e)&&this.raise(Q.ThisParamNoDefault,{at:e}),this.resetEndLocation(e),e}parseMaybeDefault(e,t){let n=super.parseMaybeDefault(e,t);return n.type===`AssignmentPattern`&&n.typeAnnotation&&n.right.start<n.typeAnnotation.start&&this.raise(Q.TypeBeforeInitializer,{at:n.typeAnnotation}),n}shouldParseDefaultImport(e){return Vn(e)?Hn(this.state.type):super.shouldParseDefaultImport(e)}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!==`value`&&this.raise(Q.ImportReflectionHasImportType,{at:e.specifiers[0].loc.start})}parseImportSpecifierLocal(e,t,n){t.local=Vn(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,n))}maybeParseDefaultImportSpecifier(e){e.importKind=`value`;let t=null;if(this.match(87)?t=`typeof`:this.isContextual(128)&&(t=`type`),t){let n=this.lookahead(),{type:r}=n;t===`type`&&r===55&&this.unexpected(null,n.type),(Hn(r)||r===5||r===55)&&(this.next(),e.importKind=t)}return super.maybeParseDefaultImportSpecifier(e)}parseImportSpecifier(e,t,n,r,i){let a=e.imported,o=null;a.type===`Identifier`&&(a.name===`type`?o=`type`:a.name===`typeof`&&(o=`typeof`));let s=!1;if(this.isContextual(93)&&!this.isLookaheadContextual(`as`)){let t=this.parseIdentifier(!0);o!==null&&!O(this.state.type)?(e.imported=t,e.importKind=o,e.local=In(t)):(e.imported=a,e.importKind=null,e.local=this.parseIdentifier())}else{if(o!==null&&O(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=o;else{if(t)throw this.raise(X.ImportBindingIsString,{at:e,importName:a.value});e.imported=a,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():(s=!0,e.local=In(e.imported))}let c=Vn(e);return n&&c&&this.raise(Q.ImportTypeShorthandOnlyInPureImport,{at:e}),(n||c)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),s&&!n&&!c&&this.checkReservedWord(e.local.name,e.loc.start,!0,!0),this.finishImportSpecifier(e,`ImportSpecifier`)}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(e,t){let n=e.kind;n!==`get`&&n!==`set`&&this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),this.match(14)&&(e.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){if(this.match(14)){let t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,e.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=t}return super.parseAsyncArrowFromCallExpression(e,t)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,t){var n;let r=null,a;if(this.hasPlugin(`jsx`)&&(this.match(140)||this.match(47))){if(r=this.state.clone(),a=this.tryParse(()=>super.parseMaybeAssign(e,t),r),!a.error)return a.node;let{context:n}=this.state,o=n[n.length-1];(o===i.j_oTag||o===i.j_expr)&&n.pop()}if((n=a)!=null&&n.error||this.match(47)){var o,s;r||=this.state.clone();let n,i=this.tryParse(r=>{var i;n=this.flowParseTypeParameterDeclaration();let a=this.forwardNoArrowParamsConversionAt(n,()=>{let r=super.parseMaybeAssign(e,t);return this.resetStartLocationFromNode(r,n),r});(i=a.extra)!=null&&i.parenthesized&&r();let o=this.maybeUnwrapTypeCastExpression(a);return o.type!==`ArrowFunctionExpression`&&r(),o.typeParameters=n,this.resetStartLocationFromNode(o,n),a},r),c=null;if(i.node&&this.maybeUnwrapTypeCastExpression(i.node).type===`ArrowFunctionExpression`){if(!i.error&&!i.aborted)return i.node.async&&this.raise(Q.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:n}),i.node;c=i.node}if((o=a)!=null&&o.node)return this.state=a.failState,a.node;if(c)return this.state=i.failState,c;throw(s=a)!=null&&s.thrown?a.error:i.thrown?i.error:this.raise(Q.UnexpectedTokenAfterTypeParameter,{at:n})}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){let t=this.tryParse(()=>{let t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let n=this.startNode();return[n.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=t,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),n});if(t.thrown)return null;t.error&&(this.state=t.failState),e.returnType=t.node.typeAnnotation?this.finishNode(t.node,`TypeAnnotation`):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){this.state.noArrowParamsConversionAt.indexOf(e.start)===-1?super.setArrowFunctionParameters(e,t):e.params=t}checkParams(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;if(!(n&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1)){for(let t=0;t<e.params.length;t++)this.isThisParam(e.params[t])&&t>0&&this.raise(Q.ThisParamMustBeFirst,{at:e.params[t]});super.checkParams(e,t,n,r)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,n){if(e.type===`Identifier`&&e.name===`async`&&this.state.noArrowAt.indexOf(t.index)!==-1){this.next();let n=this.startNodeAt(t);n.callee=e,n.arguments=super.parseCallExpressionArguments(11,!1),e=this.finishNode(n,`CallExpression`)}else if(e.type===`Identifier`&&e.name===`async`&&this.match(47)){let r=this.state.clone(),i=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t)||e(),r);if(!i.error&&!i.aborted)return i.node;let a=this.tryParse(()=>super.parseSubscripts(e,t,n),r);if(a.node&&!a.error)return a.node;if(i.node)return this.state=i.failState,i.node;if(a.node)return this.state=a.failState,a.node;throw i.error||a.error}return super.parseSubscripts(e,t,n)}parseSubscript(e,t,n,r){if(this.match(18)&&this.isLookaheadToken_lt()){if(r.optionalChainMember=!0,n)return r.stop=!0,e;this.next();let i=this.startNodeAt(t);return i.callee=e,i.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),i.arguments=this.parseCallExpressionArguments(11,!1),i.optional=!0,this.finishCallExpression(i,!0)}else if(!n&&this.shouldParseTypes()&&this.match(47)){let n=this.startNodeAt(t);n.callee=e;let i=this.tryParse(()=>(n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),n.arguments=super.parseCallExpressionArguments(11,!1),r.optionalChainMember&&(n.optional=!1),this.finishCallExpression(n,r.optionalChainMember)));if(i.node)return i.error&&(this.state=i.failState),i.node}return super.parseSubscript(e,t,n,r)}parseNewCallee(e){super.parseNewCallee(e);let t=null;this.shouldParseTypes()&&this.match(47)&&(t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),e.typeArguments=t}parseAsyncArrowWithTypeParameters(e){let t=this.startNodeAt(e);if(this.parseFunctionParams(t,!1),this.parseArrow(t))return super.parseArrowExpression(t,void 0,!0)}readToken_mult_modulo(e){let t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){let t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){let n=super.parseTopLevel(e,t);return this.state.hasFlowComment&&this.raise(Q.UnterminatedFlowComment,{at:this.state.curPosition()}),n}skipBlockComment(){if(this.hasPlugin(`flowComments`)&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(Q.NestedFlowComment,{at:this.state.startLoc});this.hasFlowCommentCompletion();let e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?`*-/`:`*/`)}skipFlowComment(){let{pos:e}=this.state,t=2;for(;[32,9].includes(this.input.charCodeAt(e+t));)t++;let n=this.input.charCodeAt(t+e),r=this.input.charCodeAt(t+e+1);return n===58&&r===58?t+2:this.input.slice(t+e,t+e+12)===`flow-include`?t+12:n===58&&r!==58?t:!1}hasFlowCommentCompletion(){if(this.input.indexOf(`*/`,this.state.pos)===-1)throw this.raise(X.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(e,t){let{enumName:n,memberName:r}=t;this.raise(Q.EnumBooleanMemberNotInitialized,{at:e,memberName:r,enumName:n})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(t.explicitType?t.explicitType===`symbol`?Q.EnumInvalidMemberInitializerSymbolType:Q.EnumInvalidMemberInitializerPrimaryType:Q.EnumInvalidMemberInitializerUnknownType,Object.assign({at:e},t))}flowEnumErrorNumberMemberNotInitialized(e,t){let{enumName:n,memberName:r}=t;this.raise(Q.EnumNumberMemberNotInitialized,{at:e,enumName:n,memberName:r})}flowEnumErrorStringMemberInconsistentlyInitailized(e,t){let{enumName:n}=t;this.raise(Q.EnumStringMemberInconsistentlyInitailized,{at:e,enumName:n})}flowEnumMemberInit(){let e=this.state.startLoc,t=()=>this.match(12)||this.match(8);switch(this.state.type){case 132:{let n=this.parseNumericLiteral(this.state.value);return t()?{type:`number`,loc:n.loc.start,value:n}:{type:`invalid`,loc:e}}case 131:{let n=this.parseStringLiteral(this.state.value);return t()?{type:`string`,loc:n.loc.start,value:n}:{type:`invalid`,loc:e}}case 85:case 86:{let n=this.parseBooleanLiteral(this.match(85));return t()?{type:`boolean`,loc:n.loc.start,value:n}:{type:`invalid`,loc:e}}default:return{type:`invalid`,loc:e}}}flowEnumMemberRaw(){let e=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:`none`,loc:e}}}flowEnumCheckExplicitTypeMismatch(e,t,n){let{explicitType:r}=t;r!==null&&r!==n&&this.flowEnumErrorInvalidMemberInitializer(e,t)}flowEnumMembers(e){let{enumName:t,explicitType:n}=e,r=new Set,i={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},a=!1;for(;!this.match(8);){if(this.eat(21)){a=!0;break}let e=this.startNode(),{id:o,init:s}=this.flowEnumMemberRaw(),c=o.name;if(c===``)continue;/^[a-z]/.test(c)&&this.raise(Q.EnumInvalidMemberName,{at:o,memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:t}),r.has(c)&&this.raise(Q.EnumDuplicateMemberName,{at:o,memberName:c,enumName:t}),r.add(c);let l={enumName:t,explicitType:n,memberName:c};switch(e.id=o,s.type){case`boolean`:this.flowEnumCheckExplicitTypeMismatch(s.loc,l,`boolean`),e.init=s.value,i.booleanMembers.push(this.finishNode(e,`EnumBooleanMember`));break;case`number`:this.flowEnumCheckExplicitTypeMismatch(s.loc,l,`number`),e.init=s.value,i.numberMembers.push(this.finishNode(e,`EnumNumberMember`));break;case`string`:this.flowEnumCheckExplicitTypeMismatch(s.loc,l,`string`),e.init=s.value,i.stringMembers.push(this.finishNode(e,`EnumStringMember`));break;case`invalid`:throw this.flowEnumErrorInvalidMemberInitializer(s.loc,l);case`none`:switch(n){case`boolean`:this.flowEnumErrorBooleanMemberNotInitialized(s.loc,l);break;case`number`:this.flowEnumErrorNumberMemberNotInitialized(s.loc,l);break;default:i.defaultedMembers.push(this.finishNode(e,`EnumDefaultedMember`))}}this.match(8)||this.expect(12)}return{members:i,hasUnknownMembers:a}}flowEnumStringMembers(e,t,n){let{enumName:r}=n;if(e.length===0)return t;if(t.length===0)return e;if(t.length>e.length){for(let t of e)this.flowEnumErrorStringMemberInconsistentlyInitailized(t,{enumName:r});return t}else{for(let e of t)this.flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:r});return e}}flowEnumParseExplicitType(e){let{enumName:t}=e;if(!this.eatContextual(101))return null;if(!E(this.state.type))throw this.raise(Q.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:t});let{value:n}=this.state;return this.next(),n!==`boolean`&&n!==`number`&&n!==`string`&&n!==`symbol`&&this.raise(Q.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:t,invalidEnumType:n}),n}flowEnumBody(e,t){let n=t.name,r=t.loc.start,i=this.flowEnumParseExplicitType({enumName:n});this.expect(5);let{members:a,hasUnknownMembers:o}=this.flowEnumMembers({enumName:n,explicitType:i});switch(e.hasUnknownMembers=o,i){case`boolean`:return e.explicitType=!0,e.members=a.booleanMembers,this.expect(8),this.finishNode(e,`EnumBooleanBody`);case`number`:return e.explicitType=!0,e.members=a.numberMembers,this.expect(8),this.finishNode(e,`EnumNumberBody`);case`string`:return e.explicitType=!0,e.members=this.flowEnumStringMembers(a.stringMembers,a.defaultedMembers,{enumName:n}),this.expect(8),this.finishNode(e,`EnumStringBody`);case`symbol`:return e.members=a.defaultedMembers,this.expect(8),this.finishNode(e,`EnumSymbolBody`);default:{let t=()=>(e.members=[],this.expect(8),this.finishNode(e,`EnumStringBody`));e.explicitType=!1;let i=a.booleanMembers.length,o=a.numberMembers.length,s=a.stringMembers.length,c=a.defaultedMembers.length;if(!i&&!o&&!s&&!c)return t();if(!i&&!o)return e.members=this.flowEnumStringMembers(a.stringMembers,a.defaultedMembers,{enumName:n}),this.expect(8),this.finishNode(e,`EnumStringBody`);if(!o&&!s&&i>=c){for(let e of a.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(e.loc.start,{enumName:n,memberName:e.id.name});return e.members=a.booleanMembers,this.expect(8),this.finishNode(e,`EnumBooleanBody`)}else if(!i&&!s&&o>=c){for(let e of a.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(e.loc.start,{enumName:n,memberName:e.id.name});return e.members=a.numberMembers,this.expect(8),this.finishNode(e,`EnumNumberBody`)}else return this.raise(Q.EnumInconsistentMemberValues,{at:r,enumName:n}),t()}}}flowParseEnumDeclaration(e){let t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),t),this.finishNode(e,`EnumDeclaration`)}isLookaheadToken_lt(){let e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){let t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return!1}maybeUnwrapTypeCastExpression(e){return e.type===`TypeCastExpression`?e.expression:e}},qn={__proto__:null,quot:`"`,amp:`&`,apos:`'`,lt:`<`,gt:`>`,nbsp:`\xA0`,iexcl:`¡`,cent:`¢`,pound:`£`,curren:`¤`,yen:`¥`,brvbar:`¦`,sect:`§`,uml:`¨`,copy:`©`,ordf:`ª`,laquo:`«`,not:`¬`,shy:``,reg:`®`,macr:`¯`,deg:`°`,plusmn:`±`,sup2:`²`,sup3:`³`,acute:`´`,micro:`µ`,para:`¶`,middot:`·`,cedil:`¸`,sup1:`¹`,ordm:`º`,raquo:`»`,frac14:`¼`,frac12:`½`,frac34:`¾`,iquest:`¿`,Agrave:`À`,Aacute:`Á`,Acirc:`Â`,Atilde:`Ã`,Auml:`Ä`,Aring:`Å`,AElig:`Æ`,Ccedil:`Ç`,Egrave:`È`,Eacute:`É`,Ecirc:`Ê`,Euml:`Ë`,Igrave:`Ì`,Iacute:`Í`,Icirc:`Î`,Iuml:`Ï`,ETH:`Ð`,Ntilde:`Ñ`,Ograve:`Ò`,Oacute:`Ó`,Ocirc:`Ô`,Otilde:`Õ`,Ouml:`Ö`,times:`×`,Oslash:`Ø`,Ugrave:`Ù`,Uacute:`Ú`,Ucirc:`Û`,Uuml:`Ü`,Yacute:`Ý`,THORN:`Þ`,szlig:`ß`,agrave:`à`,aacute:`á`,acirc:`â`,atilde:`ã`,auml:`ä`,aring:`å`,aelig:`æ`,ccedil:`ç`,egrave:`è`,eacute:`é`,ecirc:`ê`,euml:`ë`,igrave:`ì`,iacute:`í`,icirc:`î`,iuml:`ï`,eth:`ð`,ntilde:`ñ`,ograve:`ò`,oacute:`ó`,ocirc:`ô`,otilde:`õ`,ouml:`ö`,divide:`÷`,oslash:`ø`,ugrave:`ù`,uacute:`ú`,ucirc:`û`,uuml:`ü`,yacute:`ý`,thorn:`þ`,yuml:`ÿ`,OElig:`Œ`,oelig:`œ`,Scaron:`Š`,scaron:`š`,Yuml:`Ÿ`,fnof:`ƒ`,circ:`ˆ`,tilde:`˜`,Alpha:`Α`,Beta:`Β`,Gamma:`Γ`,Delta:`Δ`,Epsilon:`Ε`,Zeta:`Ζ`,Eta:`Η`,Theta:`Θ`,Iota:`Ι`,Kappa:`Κ`,Lambda:`Λ`,Mu:`Μ`,Nu:`Ν`,Xi:`Ξ`,Omicron:`Ο`,Pi:`Π`,Rho:`Ρ`,Sigma:`Σ`,Tau:`Τ`,Upsilon:`Υ`,Phi:`Φ`,Chi:`Χ`,Psi:`Ψ`,Omega:`Ω`,alpha:`α`,beta:`β`,gamma:`γ`,delta:`δ`,epsilon:`ε`,zeta:`ζ`,eta:`η`,theta:`θ`,iota:`ι`,kappa:`κ`,lambda:`λ`,mu:`μ`,nu:`ν`,xi:`ξ`,omicron:`ο`,pi:`π`,rho:`ρ`,sigmaf:`ς`,sigma:`σ`,tau:`τ`,upsilon:`υ`,phi:`φ`,chi:`χ`,psi:`ψ`,omega:`ω`,thetasym:`ϑ`,upsih:`ϒ`,piv:`ϖ`,ensp:` `,emsp:` `,thinsp:` `,zwnj:``,zwj:``,lrm:``,rlm:``,ndash:`–`,mdash:`—`,lsquo:`‘`,rsquo:`’`,sbquo:`‚`,ldquo:`“`,rdquo:`”`,bdquo:`„`,dagger:`†`,Dagger:`‡`,bull:`•`,hellip:`…`,permil:`‰`,prime:`′`,Prime:`″`,lsaquo:`‹`,rsaquo:`›`,oline:`‾`,frasl:`⁄`,euro:`€`,image:`ℑ`,weierp:`℘`,real:`ℜ`,trade:`™`,alefsym:`ℵ`,larr:`←`,uarr:`↑`,rarr:`→`,darr:`↓`,harr:`↔`,crarr:`↵`,lArr:`⇐`,uArr:`⇑`,rArr:`⇒`,dArr:`⇓`,hArr:`⇔`,forall:`∀`,part:`∂`,exist:`∃`,empty:`∅`,nabla:`∇`,isin:`∈`,notin:`∉`,ni:`∋`,prod:`∏`,sum:`∑`,minus:`−`,lowast:`∗`,radic:`√`,prop:`∝`,infin:`∞`,ang:`∠`,and:`∧`,or:`∨`,cap:`∩`,cup:`∪`,int:`∫`,there4:`∴`,sim:`∼`,cong:`≅`,asymp:`≈`,ne:`≠`,equiv:`≡`,le:`≤`,ge:`≥`,sub:`⊂`,sup:`⊃`,nsub:`⊄`,sube:`⊆`,supe:`⊇`,oplus:`⊕`,otimes:`⊗`,perp:`⊥`,sdot:`⋅`,lceil:`⌈`,rceil:`⌉`,lfloor:`⌊`,rfloor:`⌋`,lang:`〈`,rang:`〉`,loz:`◊`,spades:`♠`,clubs:`♣`,hearts:`♥`,diams:`♦`},Jn=pe`jsx`({AttributeIsEmpty:`JSX attributes must only be assigned a non-empty expression.`,MissingClosingTagElement:e=>{let{openingTagName:t}=e;return`Expected corresponding JSX closing tag for <${t}>.`},MissingClosingTagFragment:`Expected corresponding JSX closing tag for <>.`,UnexpectedSequenceExpression:`Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?`,UnexpectedToken:e=>{let{unexpected:t,HTMLEntity:n}=e;return`Unexpected token \`${t}\`. Did you mean \`${n}\` or \`{'${t}'}\`?`},UnsupportedJsxValue:`JSX value should be either an expression or a quoted JSX text.`,UnterminatedJsxContent:`Unterminated JSX contents.`,UnwrappedAdjacentJSXElements:`Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?`});function Yn(e){return e?e.type===`JSXOpeningFragment`||e.type===`JSXClosingFragment`:!1}function Xn(e){if(e.type===`JSXIdentifier`)return e.name;if(e.type===`JSXNamespacedName`)return e.namespace.name+`:`+e.name.name;if(e.type===`JSXMemberExpression`)return Xn(e.object)+`.`+Xn(e.property);throw Error(`Node had unexpected type: `+e.type)}var Zn=e=>class extends e{jsxReadToken(){let e=``,t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Jn.UnterminatedJsxContent,{at:this.state.startLoc});let n=this.input.charCodeAt(this.state.pos);switch(n){case 60:case 123:if(this.state.pos===this.state.start){n===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(140)):super.getTokenFromCode(n);return}e+=this.input.slice(t,this.state.pos),this.finishToken(139,e);return;case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:Wt(n)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){let t=this.input.charCodeAt(this.state.pos),n;return++this.state.pos,t===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,n=e?`
|
|
27
|
-
`:`\r
|
|
28
|
-
`):n=String.fromCharCode(t),++this.state.curLine,this.state.lineStart=this.state.pos,n}jsxReadString(e){let t=``,n=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(X.UnterminatedString,{at:this.state.startLoc});let r=this.input.charCodeAt(this.state.pos);if(r===e)break;r===38?(t+=this.input.slice(n,this.state.pos),t+=this.jsxReadEntity(),n=this.state.pos):Wt(r)?(t+=this.input.slice(n,this.state.pos),t+=this.jsxReadNewLine(!1),n=this.state.pos):++this.state.pos}t+=this.input.slice(n,this.state.pos++),this.finishToken(131,t)}jsxReadEntity(){let e=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let e=10;this.codePointAtPos(this.state.pos)===120&&(e=16,++this.state.pos);let t=this.readInt(e,void 0,!1,`bail`);if(t!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(t)}else{let t=0,n=!1;for(;t++<10&&this.state.pos<this.length&&!(n=this.codePointAtPos(this.state.pos)==59);)++this.state.pos;if(n){let t=qn[this.input.slice(e,this.state.pos)];if(++this.state.pos,t)return t}}return this.state.pos=e,`&`}jsxReadWord(){let e,t=this.state.pos;do e=this.input.charCodeAt(++this.state.pos);while(Te(e)||e===45);this.finishToken(138,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){let e=this.startNode();return this.match(138)?e.name=this.state.value:F(this.state.type)?e.name=V(this.state.type):this.unexpected(),this.next(),this.finishNode(e,`JSXIdentifier`)}jsxParseNamespacedName(){let e=this.state.startLoc,t=this.jsxParseIdentifier();if(!this.eat(14))return t;let n=this.startNodeAt(e);return n.namespace=t,n.name=this.jsxParseIdentifier(),this.finishNode(n,`JSXNamespacedName`)}jsxParseElementName(){let e=this.state.startLoc,t=this.jsxParseNamespacedName();if(t.type===`JSXNamespacedName`)return t;for(;this.eat(16);){let n=this.startNodeAt(e);n.object=t,n.property=this.jsxParseIdentifier(),t=this.finishNode(n,`JSXMemberExpression`)}return t}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.setContext(i.brace),this.next(),e=this.jsxParseExpressionContainer(e,i.j_oTag),e.expression.type===`JSXEmptyExpression`&&this.raise(Jn.AttributeIsEmpty,{at:e}),e;case 140:case 131:return this.parseExprAtom();default:throw this.raise(Jn.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){let e=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(e,`JSXEmptyExpression`,this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.setContext(i.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,`JSXSpreadChild`)}jsxParseExpressionContainer(e,t){return this.match(8)?e.expression=this.jsxParseEmptyExpression():e.expression=this.parseExpression(),this.setContext(t),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,`JSXExpressionContainer`)}jsxParseAttribute(){let e=this.startNode();return this.match(5)?(this.setContext(i.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(i.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,`JSXSpreadAttribute`)):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(e,`JSXAttribute`))}jsxParseOpeningElementAt(e){let t=this.startNodeAt(e);return this.eat(141)?this.finishNode(t,`JSXOpeningFragment`):(t.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(t))}jsxParseOpeningElementAfterName(e){let t=[];for(;!this.match(56)&&!this.match(141);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(56),this.expect(141),this.finishNode(e,`JSXOpeningElement`)}jsxParseClosingElementAt(e){let t=this.startNodeAt(e);return this.eat(141)?this.finishNode(t,`JSXClosingFragment`):(t.name=this.jsxParseElementName(),this.expect(141),this.finishNode(t,`JSXClosingElement`))}jsxParseElementAt(e){let t=this.startNodeAt(e),n=[],r=this.jsxParseOpeningElementAt(e),a=null;if(!r.selfClosing){e:for(;;)switch(this.state.type){case 140:if(e=this.state.startLoc,this.next(),this.eat(56)){a=this.jsxParseClosingElementAt(e);break e}n.push(this.jsxParseElementAt(e));break;case 139:n.push(this.parseExprAtom());break;case 5:{let e=this.startNode();this.setContext(i.brace),this.next(),this.match(21)?n.push(this.jsxParseSpreadChild(e)):n.push(this.jsxParseExpressionContainer(e,i.j_expr));break}default:this.unexpected()}Yn(r)&&!Yn(a)&&a!==null?this.raise(Jn.MissingClosingTagFragment,{at:a}):(!Yn(r)&&Yn(a)||!Yn(r)&&!Yn(a)&&Xn(a.name)!==Xn(r.name))&&this.raise(Jn.MissingClosingTagElement,{at:a,openingTagName:Xn(r.name)})}if(Yn(r)?(t.openingFragment=r,t.closingFragment=a):(t.openingElement=r,t.closingElement=a),t.children=n,this.match(47))throw this.raise(Jn.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return Yn(r)?this.finishNode(t,`JSXFragment`):this.finishNode(t,`JSXElement`)}jsxParseElement(){let e=this.state.startLoc;return this.next(),this.jsxParseElementAt(e)}setContext(e){let{context:t}=this.state;t[t.length-1]=e}parseExprAtom(e){return this.match(139)?this.parseLiteral(this.state.value,`JSXText`):this.match(140)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(140),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(e){let t=this.curContext();if(t===i.j_expr){this.jsxReadToken();return}if(t===i.j_oTag||t===i.j_cTag){if(we(e)){this.jsxReadWord();return}if(e===62){++this.state.pos,this.finishToken(141);return}if((e===34||e===39)&&t===i.j_oTag){this.jsxReadString(e);return}}if(e===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(140);return}super.getTokenFromCode(e)}updateContext(e){let{context:t,type:n}=this.state;if(n===56&&e===140)t.splice(-2,2,i.j_cTag),this.state.canStartJSXElement=!1;else if(n===140)t.push(i.j_oTag);else if(n===141){let n=t[t.length-1];n===i.j_oTag&&e===56||n===i.j_cTag?(t.pop(),this.state.canStartJSXElement=t[t.length-1]===i.j_expr):(this.setContext(i.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=A(n)}},Qn=class extends Mt{constructor(){super(...arguments),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}},$n=class extends Nt{constructor(){super(...arguments),this.importsStack=[]}createScope(e){return this.importsStack.push(new Set),new Qn(e)}enter(e){e==qe&&this.importsStack.push(new Set),super.enter(e)}exit(){let e=super.exit();return e==qe&&this.importsStack.pop(),e}hasImport(e,t){let n=this.importsStack.length;if(this.importsStack[n-1].has(e))return!0;if(!t&&n>1){for(let t=0;t<n-1;t++)if(this.importsStack[t].has(e))return!0}return!1}declareName(e,t,n){if(t&ot){this.hasImport(e,!0)&&this.parser.raise(X.VarRedeclaration,{at:n,identifierName:e}),this.importsStack[this.importsStack.length-1].add(e);return}let r=this.currentScope();if(t&it){this.maybeExportDefined(r,e),r.exportOnlyBindings.add(e);return}super.declareName(e,t,n),t&Xe&&(t&Ye||(this.checkRedeclarationInScope(r,e,t,n),this.maybeExportDefined(r,e)),r.types.add(e)),t&nt&&r.enums.add(e),t&rt&&r.constEnums.add(e),t&tt&&r.classes.add(e)}isRedeclaredInScope(e,t,n){return e.enums.has(t)?n&nt?!!(n&rt)!==e.constEnums.has(t):!0:n&tt&&e.classes.has(t)?e.lexical.has(t)?!!(n&Ye):!1:n&Xe&&e.types.has(t)?!0:super.isRedeclaredInScope(e,t,n)}checkLocalExport(e){let{name:t}=e;if(this.hasImport(t))return;let n=this.scopeStack.length;for(let e=n-1;e>=0;e--){let n=this.scopeStack[e];if(n.types.has(t)||n.exportOnlyBindings.has(t))return}super.checkLocalExport(e)}},er=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t],tr=e=>e.type===`ParenthesizedExpression`?tr(e.expression):e,nr=class extends Rn{toAssignable(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var n;let r;switch((e.type===`ParenthesizedExpression`||(n=e.extra)!=null&&n.parenthesized)&&(r=tr(e),t?r.type===`Identifier`?this.expressionScope.recordArrowParameterBindingError(X.InvalidParenthesizedAssignment,{at:e}):r.type!==`MemberExpression`&&this.raise(X.InvalidParenthesizedAssignment,{at:e}):this.raise(X.InvalidParenthesizedAssignment,{at:e})),e.type){case`Identifier`:case`ObjectPattern`:case`ArrayPattern`:case`AssignmentPattern`:case`RestElement`:break;case`ObjectExpression`:e.type=`ObjectPattern`;for(let n=0,r=e.properties.length,a=r-1;n<r;n++){var i;let r=e.properties[n],o=n===a;this.toAssignableObjectExpressionProp(r,o,t),o&&r.type===`RestElement`&&(i=e.extra)!=null&&i.trailingCommaLoc&&this.raise(X.RestTrailingComma,{at:e.extra.trailingCommaLoc})}break;case`ObjectProperty`:{let{key:n,value:r}=e;this.isPrivateName(n)&&this.classScope.usePrivateName(this.getPrivateNameSV(n),n.loc.start),this.toAssignable(r,t);break}case`SpreadElement`:throw Error(`Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.`);case`ArrayExpression`:e.type=`ArrayPattern`,this.toAssignableList(e.elements,e.extra?.trailingCommaLoc,t);break;case`AssignmentExpression`:e.operator!==`=`&&this.raise(X.MissingEqInAssignment,{at:e.left.loc.end}),e.type=`AssignmentPattern`,delete e.operator,this.toAssignable(e.left,t);break;case`ParenthesizedExpression`:this.toAssignable(r,t);break}}toAssignableObjectExpressionProp(e,t,n){if(e.type===`ObjectMethod`)this.raise(e.kind===`get`||e.kind===`set`?X.PatternHasAccessor:X.PatternHasMethod,{at:e.key});else if(e.type===`SpreadElement`){e.type=`RestElement`;let r=e.argument;this.checkToRestConversion(r,!1),this.toAssignable(r,n),t||this.raise(X.RestTrailingComma,{at:e})}else this.toAssignable(e,n)}toAssignableList(e,t,n){let r=e.length-1;for(let i=0;i<=r;i++){let a=e[i];if(a){if(a.type===`SpreadElement`){a.type=`RestElement`;let e=a.argument;this.checkToRestConversion(e,!0),this.toAssignable(e,n)}else this.toAssignable(a,n);a.type===`RestElement`&&(i<r?this.raise(X.RestTrailingComma,{at:a}):t&&this.raise(X.RestTrailingComma,{at:t}))}}}isAssignable(e,t){switch(e.type){case`Identifier`:case`ObjectPattern`:case`ArrayPattern`:case`AssignmentPattern`:case`RestElement`:return!0;case`ObjectExpression`:{let t=e.properties.length-1;return e.properties.every((e,n)=>e.type!==`ObjectMethod`&&(n===t||e.type!==`SpreadElement`)&&this.isAssignable(e))}case`ObjectProperty`:return this.isAssignable(e.value);case`SpreadElement`:return this.isAssignable(e.argument);case`ArrayExpression`:return e.elements.every(e=>e===null||this.isAssignable(e));case`AssignmentExpression`:return e.operator===`=`;case`ParenthesizedExpression`:return this.isAssignable(e.expression);case`MemberExpression`:case`OptionalMemberExpression`:return!t;default:return!1}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(let t of e)t?.type===`ArrayExpression`&&this.toReferencedListDeep(t.elements)}parseSpread(e){let t=this.startNode();return this.next(),t.argument=this.parseMaybeAssignAllowIn(e,void 0),this.finishNode(t,`SpreadElement`)}parseRestBinding(){let e=this.startNode();return this.next(),e.argument=this.parseBindingAtom(),this.finishNode(e,`RestElement`)}parseBindingAtom(){switch(this.state.type){case 0:{let e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,1),this.finishNode(e,`ArrayPattern`)}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(e,t,n){let r=n&1,i=[],a=!0;for(;!this.eat(e);)if(a?a=!1:this.expect(12),r&&this.match(12))i.push(null);else{if(this.eat(e))break;if(this.match(21)){if(i.push(this.parseAssignableListItemTypes(this.parseRestBinding(),n)),!this.checkCommaAfterRest(t)){this.expect(e);break}}else{let e=[];for(this.match(26)&&this.hasPlugin(`decorators`)&&this.raise(X.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)e.push(this.parseDecorator());i.push(this.parseAssignableListItem(n,e))}}return i}parseBindingRestProperty(e){return this.next(),e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,`RestElement`)}parseBindingProperty(){let e=this.startNode(),{type:t,startLoc:n}=this.state;return t===21?this.parseBindingRestProperty(e):(t===136?(this.expectPlugin(`destructuringPrivate`,n),this.classScope.usePrivateName(this.state.value,n),e.key=this.parsePrivateName()):this.parsePropertyName(e),e.method=!1,this.parseObjPropValue(e,n,!1,!1,!0,!1))}parseAssignableListItem(e,t){let n=this.parseMaybeDefault();this.parseAssignableListItemTypes(n,e);let r=this.parseMaybeDefault(n.loc.start,n);return t.length&&(n.decorators=t),r}parseAssignableListItemTypes(e,t){return e}parseMaybeDefault(e,t){if(e??=this.state.startLoc,t??=this.parseBindingAtom(),!this.eat(29))return t;let n=this.startNodeAt(e);return n.left=t,n.right=this.parseMaybeAssignAllowIn(),this.finishNode(n,`AssignmentPattern`)}isValidLVal(e,t,n){return er({AssignmentPattern:`left`,RestElement:`argument`,ObjectProperty:`value`,ParenthesizedExpression:`expression`,ArrayPattern:`elements`,ObjectPattern:`properties`},e)}checkLVal(e,t){let{in:n,binding:r=_t,checkClashes:i=!1,strictModeChanged:a=!1,hasParenthesizedAncestor:o=!1}=t;var s;let c=e.type;if(this.isObjectMethod(e))return;if(c===`MemberExpression`){r!==_t&&this.raise(X.InvalidPropertyBindingPattern,{at:e});return}if(c===`Identifier`){this.checkIdentifier(e,r,a);let{name:t}=e;i&&(i.has(t)?this.raise(X.ParamDupe,{at:e}):i.add(t));return}let l=this.isValidLVal(c,!(o||(s=e.extra)!=null&&s.parenthesized)&&n.type===`AssignmentExpression`,r);if(l===!0)return;if(l===!1){let t=r===_t?X.InvalidLhs:X.InvalidLhsBinding;this.raise(t,{at:e,ancestor:n});return}let[u,d]=Array.isArray(l)?l:[l,c===`ParenthesizedExpression`],f=c===`ArrayPattern`||c===`ObjectPattern`||c===`ParenthesizedExpression`?{type:c}:n;for(let t of[].concat(e[u]))t&&this.checkLVal(t,{in:f,binding:r,checkClashes:i,strictModeChanged:a,hasParenthesizedAncestor:d})}checkIdentifier(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.state.strict&&(n?Ne(e.name,this.inModule):Me(e.name))&&(t===_t?this.raise(X.StrictEvalArguments,{at:e,referenceName:e.name}):this.raise(X.StrictEvalArgumentsBinding,{at:e,bindingName:e.name})),t&st&&e.name===`let`&&this.raise(X.LetInLexicalBinding,{at:e}),t&_t||this.declareNameFromIdentifier(e,t)}declareNameFromIdentifier(e,t){this.scope.declareName(e.name,t,e.loc.start)}checkToRestConversion(e,t){switch(e.type){case`ParenthesizedExpression`:this.checkToRestConversion(e.expression,t);break;case`Identifier`:case`MemberExpression`:break;case`ArrayExpression`:case`ObjectExpression`:if(t)break;default:this.raise(X.InvalidRestAssignmentPattern,{at:e})}}checkCommaAfterRest(e){return this.match(12)?(this.raise(this.lookaheadCharCode()===e?X.RestTrailingComma:X.ElementAfterRest,{at:this.state.startLoc}),!0):!1}},rr=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t];function ir(e){if(e==null)throw Error(`Unexpected ${e} value.`);return e}function ar(e){if(!e)throw Error(`Assert fail`)}var $=pe`typescript`({AbstractMethodHasImplementation:e=>{let{methodName:t}=e;return`Method '${t}' cannot have an implementation because it is marked abstract.`},AbstractPropertyHasInitializer:e=>{let{propertyName:t}=e;return`Property '${t}' cannot have an initializer because it is marked abstract.`},AccesorCannotDeclareThisParameter:`'get' and 'set' accessors cannot declare 'this' parameters.`,AccesorCannotHaveTypeParameters:`An accessor cannot have type parameters.`,AccessorCannotBeOptional:`An 'accessor' property cannot be declared optional.`,ClassMethodHasDeclare:`Class methods cannot have the 'declare' modifier.`,ClassMethodHasReadonly:`Class methods cannot have the 'readonly' modifier.`,ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:`A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.`,ConstructorHasTypeParameters:`Type parameters cannot appear on a constructor declaration.`,DeclareAccessor:e=>{let{kind:t}=e;return`'declare' is not allowed in ${t}ters.`},DeclareClassFieldHasInitializer:`Initializers are not allowed in ambient contexts.`,DeclareFunctionHasImplementation:`An implementation cannot be declared in ambient contexts.`,DuplicateAccessibilityModifier:e=>{let{modifier:t}=e;return`Accessibility modifier already seen.`},DuplicateModifier:e=>{let{modifier:t}=e;return`Duplicate modifier: '${t}'.`},EmptyHeritageClauseType:e=>{let{token:t}=e;return`'${t}' list cannot be empty.`},EmptyTypeArguments:`Type argument list cannot be empty.`,EmptyTypeParameters:`Type parameter list cannot be empty.`,ExpectedAmbientAfterExportDeclare:`'export declare' must be followed by an ambient declaration.`,ImportAliasHasImportType:`An import alias can not use 'import type'.`,ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:e=>{let{modifiers:t}=e;return`'${t[0]}' modifier cannot be used with '${t[1]}' modifier.`},IndexSignatureHasAbstract:`Index signatures cannot have the 'abstract' modifier.`,IndexSignatureHasAccessibility:e=>{let{modifier:t}=e;return`Index signatures cannot have an accessibility modifier ('${t}').`},IndexSignatureHasDeclare:`Index signatures cannot have the 'declare' modifier.`,IndexSignatureHasOverride:`'override' modifier cannot appear on an index signature.`,IndexSignatureHasStatic:`Index signatures cannot have the 'static' modifier.`,InitializerNotAllowedInAmbientContext:`Initializers are not allowed in ambient contexts.`,InvalidModifierOnTypeMember:e=>{let{modifier:t}=e;return`'${t}' modifier cannot appear on a type member.`},InvalidModifierOnTypeParameter:e=>{let{modifier:t}=e;return`'${t}' modifier cannot appear on a type parameter.`},InvalidModifierOnTypeParameterPositions:e=>{let{modifier:t}=e;return`'${t}' modifier can only appear on a type parameter of a class, interface or type alias.`},InvalidModifiersOrder:e=>{let{orderedModifiers:t}=e;return`'${t[0]}' modifier must precede '${t[1]}' modifier.`},InvalidPropertyAccessAfterInstantiationExpression:`Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.`,InvalidTupleMemberLabel:`Tuple members must be labeled with a simple identifier.`,MissingInterfaceName:`'interface' declarations must be followed by an identifier.`,MixedLabeledAndUnlabeledElements:`Tuple members must all have names or all not have names.`,NonAbstractClassHasAbstractMethod:`Abstract methods can only appear within an abstract class.`,NonClassMethodPropertyHasAbstractModifer:`'abstract' modifier can only appear on a class, method, or property declaration.`,OptionalTypeBeforeRequired:`A required element cannot follow an optional element.`,OverrideNotInSubClass:`This member cannot have an 'override' modifier because its containing class does not extend another class.`,PatternIsOptional:`A binding pattern parameter cannot be optional in an implementation signature.`,PrivateElementHasAbstract:`Private elements cannot have the 'abstract' modifier.`,PrivateElementHasAccessibility:e=>{let{modifier:t}=e;return`Private elements cannot have an accessibility modifier ('${t}').`},ReadonlyForMethodSignature:`'readonly' modifier can only appear on a property declaration or index signature.`,ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:`A 'set' accessor cannot have an optional parameter.`,SetAccesorCannotHaveRestParameter:`A 'set' accessor cannot have rest parameter.`,SetAccesorCannotHaveReturnType:`A 'set' accessor cannot have a return type annotation.`,SingleTypeParameterWithoutTrailingComma:e=>{let{typeParameterName:t}=e;return`Single type parameter ${t} should have a trailing comma. Example usage: <${t},>.`},StaticBlockCannotHaveModifier:`Static class blocks cannot have any modifier.`,TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:`A type-only import can specify a default import or named bindings, but not both.`,TypeModifierIsUsedInTypeExports:`The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.`,TypeModifierIsUsedInTypeImports:`The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.`,UnexpectedParameterModifier:`A parameter property is only allowed in a constructor implementation.`,UnexpectedReadonly:`'readonly' type modifier is only permitted on array and tuple literal types.`,UnexpectedTypeAnnotation:`Did not expect a type annotation here.`,UnexpectedTypeCastInParameter:`Unexpected type cast in parameter position.`,UnsupportedImportTypeArgument:`Argument in a type import must be a string literal.`,UnsupportedParameterPropertyKind:`A parameter property may not be declared using a binding pattern.`,UnsupportedSignatureParameterKind:e=>{let{type:t}=e;return`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${t}.`}});function or(e){switch(e){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 sr(e){return e===`private`||e===`public`||e===`protected`}function cr(e){return e===`in`||e===`out`}var lr=e=>class extends e{constructor(){super(...arguments),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:[`in`,`out`],disallowedModifiers:[`const`,`public`,`private`,`protected`,`readonly`,`declare`,`abstract`,`override`],errorTemplate:$.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:[`const`],disallowedModifiers:[`in`,`out`],errorTemplate:$.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:[`in`,`out`,`const`],disallowedModifiers:[`public`,`private`,`protected`,`readonly`,`declare`,`abstract`,`override`],errorTemplate:$.InvalidModifierOnTypeParameter})}getScopeHandler(){return $n}tsIsIdentifier(){return E(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(136)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!E(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let n=this.state.value;if(e.indexOf(n)!==-1){if(t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return n}}tsParseModifiers(e,t){let{allowedModifiers:n,disallowedModifiers:r,stopOnStartOfClassStaticBlock:i,errorTemplate:a=$.InvalidModifierOnTypeMember}=e,o=(e,n,r,i)=>{n===r&&t[i]&&this.raise($.InvalidModifiersOrder,{at:e,orderedModifiers:[r,i]})},s=(e,n,r,i)=>{(t[r]&&n===i||t[i]&&n===r)&&this.raise($.IncompatibleModifiers,{at:e,modifiers:[r,i]})};for(;;){let{startLoc:e}=this.state,c=this.tsParseModifier(n.concat(r??[]),i);if(!c)break;sr(c)?t.accessibility?this.raise($.DuplicateAccessibilityModifier,{at:e,modifier:c}):(o(e,c,c,`override`),o(e,c,c,`static`),o(e,c,c,`readonly`),t.accessibility=c):cr(c)?(t[c]&&this.raise($.DuplicateModifier,{at:e,modifier:c}),t[c]=!0,o(e,c,`in`,`out`)):(Object.hasOwnProperty.call(t,c)?this.raise($.DuplicateModifier,{at:e,modifier:c}):(o(e,c,`static`,`readonly`),o(e,c,`static`,`override`),o(e,c,`override`,`readonly`),o(e,c,`abstract`,`override`),s(e,c,`declare`,`override`),s(e,c,`static`,`abstract`)),t[c]=!0),r!=null&&r.includes(c)&&this.raise(a,{at:e,modifier:c})}}tsIsListTerminator(e){switch(e){case`EnumMembers`:case`TypeMembers`:return this.match(8);case`HeritageClauseElement`:return this.match(5);case`TupleElementTypes`:return this.match(3);case`TypeParametersOrArguments`:return this.match(48)}}tsParseList(e,t){let n=[];for(;!this.tsIsListTerminator(e);)n.push(t());return n}tsParseDelimitedList(e,t,n){return ir(this.tsParseDelimitedListWorker(e,t,!0,n))}tsParseDelimitedListWorker(e,t,n,r){let i=[],a=-1;for(;!this.tsIsListTerminator(e);){a=-1;let r=t();if(r==null)return;if(i.push(r),this.eat(12)){a=this.state.lastTokStart;continue}if(this.tsIsListTerminator(e))break;n&&this.expect(12);return}return r&&(r.value=a),i}tsParseBracketedList(e,t,n,r,i){r||(n?this.expect(0):this.expect(47));let a=this.tsParseDelimitedList(e,t,i);return n?this.expect(3):this.expect(48),a}tsParseImportType(){let e=this.startNode();return this.expect(83),this.expect(10),this.match(131)||this.raise($.UnsupportedImportTypeArgument,{at:this.state.startLoc}),e.argument=super.parseExprAtom(),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName()),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,`TSImportType`)}tsParseEntityName(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,t=this.parseIdentifier(e);for(;this.eat(16);){let n=this.startNodeAtNode(t);n.left=t,n.right=this.parseIdentifier(e),t=this.finishNode(n,`TSQualifiedName`)}return t}tsParseTypeReference(){let e=this.startNode();return e.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,`TSTypeReference`)}tsParseThisTypePredicate(e){this.next();let t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),t.asserts=!1,this.finishNode(t,`TSTypePredicate`)}tsParseThisTypeNode(){let e=this.startNode();return this.next(),this.finishNode(e,`TSThisType`)}tsParseTypeQuery(){let e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,`TSTypeQuery`)}tsParseTypeParameter(e){let t=this.startNode();return e(t),t.name=this.tsParseTypeParameterName(),t.constraint=this.tsEatThenParseType(81),t.default=this.tsEatThenParseType(29),this.finishNode(t,`TSTypeParameter`)}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){let t=this.startNode();this.match(47)||this.match(140)?this.next():this.unexpected();let n={value:-1};return t.params=this.tsParseBracketedList(`TypeParametersOrArguments`,this.tsParseTypeParameter.bind(this,e),!1,!0,n),t.params.length===0&&this.raise($.EmptyTypeParameters,{at:t}),n.value!==-1&&this.addExtra(t,`trailingComma`,n.value),this.finishNode(t,`TSTypeParameterDeclaration`)}tsFillSignature(e,t){let n=e===19;t.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),t.parameters=this.tsParseBindingListForSignature(),(n||this.match(e))&&(t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){return super.parseBindingList(11,41,2).map(e=>(e.type!==`Identifier`&&e.type!==`RestElement`&&e.type!==`ObjectPattern`&&e.type!==`ArrayPattern`&&this.raise($.UnsupportedSignatureParameterKind,{at:e,type:e.type}),e))}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(e,t){return this.tsFillSignature(14,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),E(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(3),e.parameters=[t];let n=this.tsTryParseTypeAnnotation();return n&&(e.typeAnnotation=n),this.tsParseTypeMemberSemicolon(),this.finishNode(e,`TSIndexSignature`)}tsParsePropertyOrMethodSignature(e,t){this.eat(17)&&(e.optional=!0);let n=e;if(this.match(10)||this.match(47)){t&&this.raise($.ReadonlyForMethodSignature,{at:e});let r=n;r.kind&&this.match(47)&&this.raise($.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,r),this.tsParseTypeMemberSemicolon();let i=`parameters`,a=`typeAnnotation`;if(r.kind===`get`)r[i].length>0&&(this.raise(X.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(r[i][0])&&this.raise($.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if(r.kind===`set`){if(r[i].length!==1)this.raise(X.BadSetterArity,{at:this.state.curPosition()});else{let e=r[i][0];this.isThisParam(e)&&this.raise($.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),e.type===`Identifier`&&e.optional&&this.raise($.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),e.type===`RestElement`&&this.raise($.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}r[a]&&this.raise($.SetAccesorCannotHaveReturnType,{at:r[a]})}else r.kind=`method`;return this.finishNode(r,`TSMethodSignature`)}else{let e=n;t&&(e.readonly=!0);let r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,`TSPropertySignature`)}}tsParseTypeMember(){let e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember(`TSCallSignatureDeclaration`,e);if(this.match(77)){let t=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember(`TSConstructSignatureDeclaration`,e):(e.key=this.createIdentifier(t,`new`),this.tsParsePropertyOrMethodSignature(e,!1))}return this.tsParseModifiers({allowedModifiers:[`readonly`],disallowedModifiers:[`declare`,`abstract`,`private`,`protected`,`public`,`static`,`override`]},e),this.tsTryParseIndexSignature(e)||(super.parsePropertyName(e),!e.computed&&e.key.type===`Identifier`&&(e.key.name===`get`||e.key.name===`set`)&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,super.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){let e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,`TSTypeLiteral`)}tsParseObjectTypeMembers(){this.expect(5);let e=this.tsParseList(`TypeMembers`,this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(120):(this.isContextual(120)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedTypeParameter(){let e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(58),this.finishNode(e,`TSTypeParameter`)}tsParseMappedType(){let e=this.startNode();return this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(120)):this.eatContextual(120)&&(e.readonly=!0),this.expect(0),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,`TSMappedType`)}tsParseTupleType(){let e=this.startNode();e.elementTypes=this.tsParseBracketedList(`TupleElementTypes`,this.tsParseTupleElementType.bind(this),!0,!1);let t=!1,n=null;return e.elementTypes.forEach(e=>{let{type:r}=e;t&&r!==`TSRestType`&&r!==`TSOptionalType`&&!(r===`TSNamedTupleMember`&&e.optional)&&this.raise($.OptionalTypeBeforeRequired,{at:e}),t||=r===`TSNamedTupleMember`&&e.optional||r===`TSOptionalType`;let i=r;r===`TSRestType`&&(e=e.typeAnnotation,i=e.type);let a=i===`TSNamedTupleMember`;n??=a,n!==a&&this.raise($.MixedLabeledAndUnlabeledElements,{at:e})}),this.finishNode(e,`TSTupleType`)}tsParseTupleElementType(){let{startLoc:e}=this.state,t=this.eat(21),n,r,i,a,o=O(this.state.type)?this.lookaheadCharCode():null;if(o===58)n=!0,i=!1,r=this.parseIdentifier(!0),this.expect(14),a=this.tsParseType();else if(o===63){i=!0;let e=this.state.startLoc,t=this.state.value,o=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(n=!0,r=this.createIdentifier(this.startNodeAt(e),t),this.expect(17),this.expect(14),a=this.tsParseType()):(n=!1,a=o,this.expect(17))}else a=this.tsParseType(),i=this.eat(17),n=this.eat(14);if(n){let e;r?(e=this.startNodeAtNode(r),e.optional=i,e.label=r,e.elementType=a,this.eat(17)&&(e.optional=!0,this.raise($.TupleOptionalAfterType,{at:this.state.lastTokStartLoc}))):(e=this.startNodeAtNode(a),e.optional=i,this.raise($.InvalidTupleMemberLabel,{at:a}),e.label=a,e.elementType=this.tsParseType()),a=this.finishNode(e,`TSNamedTupleMember`)}else if(i){let e=this.startNodeAtNode(a);e.typeAnnotation=a,a=this.finishNode(e,`TSOptionalType`)}if(t){let t=this.startNodeAt(e);t.typeAnnotation=a,a=this.finishNode(t,`TSRestType`)}return a}tsParseParenthesizedType(){let e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,`TSParenthesizedType`)}tsParseFunctionOrConstructorType(e,t){let n=this.startNode();return e===`TSConstructorType`&&(n.abstract=!!t,t&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,n)),this.finishNode(n,e)}tsParseLiteralTypeNode(){let e=this.startNode();return e.literal=(()=>{switch(this.state.type){case 132:case 133:case 131:case 85:case 86:return super.parseExprAtom();default:this.unexpected()}})(),this.finishNode(e,`TSLiteralType`)}tsParseTemplateLiteralType(){let e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,`TSLiteralType`)}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let e=this.tsParseThisTypeNode();return this.isContextual(114)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 131:case 132:case 133:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value===`-`){let e=this.startNode(),t=this.lookahead();return t.type!==132&&t.type!==133&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,`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:e}=this.state;if(E(e)||e===88||e===84){let t=e===88?`TSVoidKeyword`:e===84?`TSNullKeyword`:or(this.state.value);if(t!==void 0&&this.lookaheadCharCode()!==46){let e=this.startNode();return this.next(),this.finishNode(e,t)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let t=this.startNodeAtNode(e);t.elementType=e,this.expect(3),e=this.finishNode(t,`TSArrayType`)}else{let t=this.startNodeAtNode(e);t.objectType=e,t.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(t,`TSIndexedAccessType`)}return e}tsParseTypeOperator(){let e=this.startNode(),t=this.state.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),t===`readonly`&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,`TSTypeOperator`)}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case`TSTupleType`:case`TSArrayType`:return;default:this.raise($.UnexpectedReadonly,{at:e})}}tsParseInferType(){let e=this.startNode();this.expectContextual(113);let t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),e.typeParameter=this.finishNode(t,`TSTypeParameter`),this.finishNode(e,`TSInferType`)}tsParseConstraintForInferType(){if(this.eat(81)){let e=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){return z(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(113)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(e,t,n){let r=this.startNode(),i=this.eat(n),a=[];do a.push(t());while(this.eat(n));return a.length===1&&!i?a[0]:(r.types=a,this.finishNode(r,e))}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(E(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:e}=this.state,t=e.length;try{return this.parseObjectLike(8,!0),e.length===t}catch{return!1}}if(this.match(0)){this.next();let{errors:e}=this.state,t=e.length;try{return super.parseBindingList(3,93,1),e.length===t}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(e){return this.tsInType(()=>{let t=this.startNode();this.expect(e);let n=this.startNode(),r=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(r&&this.match(78)){let e=this.tsParseThisTypeOrThisTypePredicate();return e.type===`TSThisType`?(n.parameterName=e,n.asserts=!0,n.typeAnnotation=null,e=this.finishNode(n,`TSTypePredicate`)):(this.resetStartLocationFromNode(e,n),e.asserts=!0),t.typeAnnotation=e,this.finishNode(t,`TSTypeAnnotation`)}let i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i)return r?(n.parameterName=this.parseIdentifier(),n.asserts=r,n.typeAnnotation=null,t.typeAnnotation=this.finishNode(n,`TSTypePredicate`),this.finishNode(t,`TSTypeAnnotation`)):this.tsParseTypeAnnotation(!1,t);let a=this.tsParseTypeAnnotation(!1);return n.parameterName=i,n.typeAnnotation=a,n.asserts=r,t.typeAnnotation=this.finishNode(n,`TSTypePredicate`),this.finishNode(t,`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 e=this.parseIdentifier();if(this.isContextual(114)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(this.state.type!==107)return!1;let e=this.state.containsEsc;return this.next(),!E(this.state.type)&&!this.match(78)?!1:(e&&this.raise(X.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:`asserts`}),!0)}tsParseTypeAnnotation(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.startNode();return this.tsInType(()=>{e&&this.expect(14),t.typeAnnotation=this.tsParseType()}),this.finishNode(t,`TSTypeAnnotation`)}tsParseType(){ar(this.state.inType);let e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;let t=this.startNodeAtNode(e);return t.checkType=e,t.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),t.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),t.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(t,`TSConditionalType`)}isAbstractConstructorSignature(){return this.isContextual(122)&&this.lookahead().type===77}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType(`TSFunctionType`):this.match(77)?this.tsParseFunctionOrConstructorType(`TSConstructorType`):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType(`TSConstructorType`,!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption(`typescript`,`disallowAmbiguousJSXLike`)&&this.raise($.ReservedTypeAssertion,{at:this.state.startLoc});let e=this.startNode();return e.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,`TSTypeAssertion`)}tsParseHeritageClause(e){let t=this.state.startLoc,n=this.tsParseDelimitedList(`HeritageClauseElement`,()=>{let e=this.startNode();return e.expression=this.tsParseEntityName(),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,`TSExpressionWithTypeArguments`)});return n.length||this.raise($.EmptyHeritageClauseType,{at:t,token:e}),n}tsParseInterfaceDeclaration(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.hasFollowingLineBreak())return null;this.expectContextual(127),t.declare&&(e.declare=!0),E(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,pt)):(e.id=null,this.raise($.MissingInterfaceName,{at:this.state.startLoc})),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause(`extends`));let n=this.startNode();return n.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(n,`TSInterfaceBody`),this.finishNode(e,`TSInterfaceDeclaration`)}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,mt),e.typeAnnotation=this.tsInType(()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(112)&&this.lookahead().type!==16){let e=this.startNode();return this.next(),this.finishNode(e,`TSIntrinsicKeyword`)}return this.tsParseType()}),this.semicolon(),this.finishNode(e,`TSTypeAliasDeclaration`)}tsInNoContext(e){let t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){let t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}}tsInDisallowConditionalTypesContext(e){let t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsInAllowConditionalTypesContext(e){let t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsEatThenParseType(e){return this.match(e)?this.tsNextThenParseType():void 0}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>(e(),this.tsParseType()))}tsParseEnumMember(){let e=this.startNode();return e.id=this.match(131)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,`TSEnumMember`)}tsParseEnumDeclaration(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual(124),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?yt:ht),this.expect(5),e.members=this.tsParseDelimitedList(`EnumMembers`,this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,`TSEnumDeclaration`)}tsParseModuleBlock(){let e=this.startNode();return this.scope.enter(Re),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,`TSModuleBlock`)}tsParseModuleOrNamespaceDeclaration(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(e.id=this.parseIdentifier(),t||this.checkIdentifier(e.id,bt),this.eat(16)){let t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}else this.scope.enter(qe),this.prodParam.enter(wn),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,`TSModuleDeclaration`)}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(110)?(e.global=!0,e.id=this.parseIdentifier()):this.match(131)?e.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(qe),this.prodParam.enter(wn),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,`TSModuleDeclaration`)}tsParseImportEqualsDeclaration(e,t){e.isExport=t||!1,e.id=this.parseIdentifier(),this.checkIdentifier(e.id,ot),this.expect(29);let n=this.tsParseModuleReference();return e.importKind===`type`&&n.type!==`TSExternalModuleReference`&&this.raise($.ImportAliasHasImportType,{at:n}),e.moduleReference=n,this.semicolon(),this.finishNode(e,`TSImportEqualsDeclaration`)}tsIsExternalModuleReference(){return this.isContextual(117)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let e=this.startNode();return this.expectContextual(117),this.expect(10),this.match(131)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.finishNode(e,`TSExternalModuleReference`)}tsLookAhead(e){let t=this.state.clone(),n=e();return this.state=t,n}tsTryParseAndCatch(e){let t=this.tryParse(t=>e()||t());if(!(t.aborted||!t.node))return t.error&&(this.state=t.failState),t.node}tsTryParse(e){let t=this.state.clone(),n=e();if(n!==void 0&&n!==!1)return n;this.state=t}tsTryParseDeclare(e){if(this.isLineTerminator())return;let t=this.state.type,n;return this.isContextual(99)&&(t=74,n=`let`),this.tsInAmbientContext(()=>{if(t===68)return e.declare=!0,super.parseFunctionStatement(e,!1,!1);if(t===80)return e.declare=!0,this.parseClass(e,!0,!1);if(t===124)return this.tsParseEnumDeclaration(e,{declare:!0});if(t===110)return this.tsParseAmbientExternalModuleDeclaration(e);if(t===75||t===74)return!this.match(75)||!this.isLookaheadContextual(`enum`)?(e.declare=!0,this.parseVarStatement(e,n||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0}));if(t===127){let t=this.tsParseInterfaceDeclaration(e,{declare:!0});if(t)return t}if(E(t))return this.tsParseDeclaration(e,this.state.value,!0,null)})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(e,t,n){switch(t.name){case`declare`:{let t=this.tsTryParseDeclare(e);if(t)return t.declare=!0,t;break}case`global`:if(this.match(5)){this.scope.enter(qe),this.prodParam.enter(wn);let n=e;return n.global=!0,n.id=t,n.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(n,`TSModuleDeclaration`)}break;default:return this.tsParseDeclaration(e,t.name,!1,n)}}tsParseDeclaration(e,t,n,r){switch(t){case`abstract`:if(this.tsCheckLineTerminator(n)&&(this.match(80)||E(this.state.type)))return this.tsParseAbstractDeclaration(e,r);break;case`module`:if(this.tsCheckLineTerminator(n)){if(this.match(131))return this.tsParseAmbientExternalModuleDeclaration(e);if(E(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case`namespace`:if(this.tsCheckLineTerminator(n)&&E(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case`type`:if(this.tsCheckLineTerminator(n)&&E(this.state.type))return this.tsParseTypeAliasDeclaration(e);break}}tsCheckLineTerminator(e){return e?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;let t=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let n=this.tsTryParseAndCatch(()=>{let t=this.startNodeAt(e);return t.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(t),t.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),t});if(this.state.maybeInArrowParameters=t,n)return super.parseArrowExpression(n,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let e=this.startNode();return e.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList(`TypeParametersOrArguments`,this.tsParseType.bind(this))))),e.params.length===0&&this.raise($.EmptyTypeArguments,{at:e}),this.expect(48),this.finishNode(e,`TSTypeParameterInstantiation`)}tsIsDeclarationStart(){return B(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){let n=this.state.startLoc,r={};this.tsParseModifiers({allowedModifiers:[`public`,`private`,`protected`,`override`,`readonly`]},r);let i=r.accessibility,a=r.override,o=r.readonly;!(e&4)&&(i||o||a)&&this.raise($.UnexpectedParameterModifier,{at:n});let s=this.parseMaybeDefault();this.parseAssignableListItemTypes(s,e);let c=this.parseMaybeDefault(s.loc.start,s);if(i||o||a){let e=this.startNodeAt(n);return t.length&&(e.decorators=t),i&&(e.accessibility=i),o&&(e.readonly=o),a&&(e.override=a),c.type!==`Identifier`&&c.type!==`AssignmentPattern`&&this.raise($.UnsupportedParameterPropertyKind,{at:e}),e.parameter=c,this.finishNode(e,`TSParameterProperty`)}return t.length&&(s.decorators=t),c}isSimpleParameter(e){return e.type===`TSParameterProperty`&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(let t of e.params)t.type!==`Identifier`&&t.optional&&!this.state.isAmbientContext&&this.raise($.PatternIsOptional,{at:t})}setArrowFunctionParameters(e,t,n){super.setArrowFunctionParameters(e,t,n),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let r=t===`FunctionDeclaration`?`TSDeclareFunction`:t===`ClassMethod`||t===`ClassPrivateMethod`?`TSDeclareMethod`:void 0;return r&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,r):r===`TSDeclareFunction`&&this.state.isAmbientContext&&(this.raise($.DeclareFunctionHasImplementation,{at:e}),e.declare)?super.parseFunctionBodyAndFinish(e,r,n):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,t,n))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,gt):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{e?.type===`TSTypeCastExpression`&&this.raise($.UnexpectedTypeAnnotation,{at:e.typeAnnotation})})}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,t,n,r){let i=super.parseArrayLike(e,t,n,r);return i.type===`ArrayExpression`&&this.tsCheckForInvalidTypeCasts(i.elements),i}parseSubscript(e,t,n,r){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let n=this.startNodeAt(t);return n.expression=e,this.finishNode(n,`TSNonNullExpression`)}let i=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(n)return r.stop=!0,e;r.optionalChainMember=i=!0,this.next()}if(this.match(47)||this.match(51)){let a,o=this.tsTryParseAndCatch(()=>{if(!n&&this.atPossibleAsyncArrow(e)){let e=this.tsTryParseGenericAsyncArrowFunction(t);if(e)return e}let o=this.tsParseTypeArgumentsInExpression();if(!o)return;if(i&&!this.match(10)){a=this.state.curPosition();return}if(W(this.state.type)){let n=super.parseTaggedTemplateExpression(e,t,r);return n.typeParameters=o,n}if(!n&&this.eat(10)){let n=this.startNodeAt(t);return n.callee=e,n.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(n.arguments),n.typeParameters=o,r.optionalChainMember&&(n.optional=i),this.finishCallExpression(n,r.optionalChainMember)}let s=this.state.type;if(s===48||s===52||s!==10&&j(s)&&!this.hasPrecedingLineBreak())return;let c=this.startNodeAt(t);return c.expression=e,c.typeParameters=o,this.finishNode(c,`TSInstantiationExpression`)});if(a&&this.unexpected(a,10),o)return o.type===`TSInstantiationExpression`&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise($.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc}),o}return super.parseSubscript(e,t,n,r)}parseNewCallee(e){var t;super.parseNewCallee(e);let{callee:n}=e;n.type===`TSInstantiationExpression`&&!((t=n.extra)!=null&&t.parenthesized)&&(e.typeParameters=n.typeParameters,e.callee=n.expression)}parseExprOp(e,t,n){let r;if(H(58)>n&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(r=this.isContextual(118)))){let i=this.startNodeAt(t);return i.expression=e,i.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(r&&this.raise(X.UnexpectedKeyword,{at:this.state.startLoc,keyword:`const`}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(i,r?`TSSatisfiesExpression`:`TSAsExpression`),this.reScan_lt_gt(),this.parseExprOp(i,t,n)}return super.parseExprOp(e,t,n)}checkReservedWord(e,t,n,r){this.state.isAmbientContext||super.checkReservedWord(e,t,n,r)}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!==`value`&&this.raise($.ImportReflectionHasImportType,{at:e.specifiers[0].loc.start})}checkDuplicateExports(){}parseImport(e){if(e.importKind=`value`,E(this.state.type)||this.match(55)||this.match(5)){let t=this.lookahead();if(this.isContextual(128)&&t.type!==12&&t.type!==97&&t.type!==29&&(e.importKind=`type`,this.next(),t=this.lookahead()),E(this.state.type)&&t.type===29)return this.tsParseImportEqualsDeclaration(e)}let t=super.parseImport(e);return t.importKind===`type`&&t.specifiers.length>1&&t.specifiers[0].type===`ImportDefaultSpecifier`&&this.raise($.TypeImportCannotSpecifyDefaultAndNamed,{at:t}),t}parseExport(e,t){if(this.match(83))return this.next(),this.isContextual(128)&&this.lookaheadCharCode()!==61?(e.importKind=`type`,this.next()):e.importKind=`value`,this.tsParseImportEqualsDeclaration(e,!0);if(this.eat(29)){let t=e;return t.expression=super.parseExpression(),this.semicolon(),this.finishNode(t,`TSExportAssignment`)}else if(this.eatContextual(93)){let t=e;return this.expectContextual(126),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,`TSNamespaceExportDeclaration`)}else{if(e.exportKind=`value`,this.isContextual(128)){let t=this.lookaheadCharCode();(t===123||t===42)&&(this.next(),e.exportKind=`type`)}return super.parseExport(e,t)}}isAbstractClass(){return this.isContextual(122)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(127)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,{isAmbientContext:r}=this.state,i=super.parseVarStatement(e,t,n||r);if(!r)return i;for(let{id:e,init:n}of i.declarations)n&&(t!==`const`||e.typeAnnotation?this.raise($.InitializerNotAllowedInAmbientContext,{at:n}):dr(n,this.hasPlugin(`estree`))||this.raise($.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:n}));return i}parseStatementContent(e,t){if(this.match(75)&&this.isLookaheadContextual(`enum`)){let e=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(e,{const:!0})}if(this.isContextual(124))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(127)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier([`public`,`protected`,`private`])}tsHasSomeModifiers(e,t){return t.some(t=>sr(t)?e.accessibility===t:!!e[t])}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&this.lookaheadCharCode()===123}parseClassMember(e,t,n){let r=[`declare`,`private`,`public`,`protected`,`override`,`abstract`,`readonly`,`static`];this.tsParseModifiers({allowedModifiers:r,disallowedModifiers:[`in`,`out`],stopOnStartOfClassStaticBlock:!0,errorTemplate:$.InvalidModifierOnTypeParameterPositions},t);let i=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,r)&&this.raise($.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),super.parseClassStaticBlock(e,t)):this.parseClassMemberWithIsStatic(e,t,n,!!t.static)};t.declare?this.tsInAmbientContext(i):i()}parseClassMemberWithIsStatic(e,t,n,r){let i=this.tsTryParseIndexSignature(t);if(i){e.body.push(i),t.abstract&&this.raise($.IndexSignatureHasAbstract,{at:t}),t.accessibility&&this.raise($.IndexSignatureHasAccessibility,{at:t,modifier:t.accessibility}),t.declare&&this.raise($.IndexSignatureHasDeclare,{at:t}),t.override&&this.raise($.IndexSignatureHasOverride,{at:t});return}!this.state.inAbstractClass&&t.abstract&&this.raise($.NonAbstractClassHasAbstractMethod,{at:t}),t.override&&(n.hadSuperClass||this.raise($.OverrideNotInSubClass,{at:t})),super.parseClassMemberWithIsStatic(e,t,n,r)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise($.ClassMethodHasReadonly,{at:e}),e.declare&&this.match(10)&&this.raise($.ClassMethodHasDeclare,{at:e})}parseExpressionStatement(e,t,n){return(t.type===`Identifier`?this.tsParseExpressionStatement(e,t,n):void 0)||super.parseExpressionStatement(e,t,n)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(e,t,n){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,t,n);let r=this.tryParse(()=>super.parseConditional(e,t));return r.node?(r.error&&(this.state=r.failState),r.node):(r.error&&super.setOptionalParametersError(n,r.error),e)}parseParenItem(e,t){if(e=super.parseParenItem(e,t),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){let n=this.startNodeAt(t);return n.expression=e,n.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(n,`TSTypeCastExpression`)}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(123))return this.tsInAmbientContext(()=>this.parseExportDeclaration(e));let t=this.state.startLoc,n=this.eatContextual(123);if(n&&(this.isContextual(123)||!this.shouldParseExportDeclaration()))throw this.raise($.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let r=E(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return r?((r.type===`TSInterfaceDeclaration`||r.type===`TSTypeAliasDeclaration`||n)&&(e.exportKind=`type`),n&&(this.resetStartLocation(r,t),r.declare=!0),r):null}parseClassId(e,t,n,r){if((!t||n)&&this.isContextual(111))return;super.parseClassId(e,t,n,e.declare?gt:ct);let i=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);i&&(e.typeParameters=i)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));let t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&!(e.readonly&&!e.typeAnnotation)&&this.match(29)&&this.raise($.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),e.abstract&&this.match(29)){let{key:t}=e;this.raise($.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:t.type===`Identifier`&&!e.computed?t.name:`[${this.input.slice(t.start,t.end)}]`})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise($.PrivateElementHasAbstract,{at:e}),e.accessibility&&this.raise($.PrivateElementHasAccessibility,{at:e,modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise($.AccessorCannotBeOptional,{at:e}),super.parseClassAccessorProperty(e)}pushClassMethod(e,t,n,r,i,a){let o=this.tsTryParseTypeParameters(this.tsParseConstModifier);o&&i&&this.raise($.ConstructorHasTypeParameters,{at:o});let{declare:s=!1,kind:c}=t;s&&(c===`get`||c===`set`)&&this.raise($.DeclareAccessor,{at:t,kind:c}),o&&(t.typeParameters=o),super.pushClassMethod(e,t,n,r,i,a)}pushClassPrivateMethod(e,t,n,r){let i=this.tsTryParseTypeParameters(this.tsParseConstModifier);i&&(t.typeParameters=i),super.pushClassPrivateMethod(e,t,n,r)}declareClassPrivateMethodInScope(e,t){e.type!==`TSDeclareMethod`&&(e.type===`MethodDefinition`&&!e.value.body||super.declareClassPrivateMethodInScope(e,t))}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(111)&&(e.implements=this.tsParseHeritageClause(`implements`))}parseObjPropValue(e,t,n,r,i,a,o){let s=this.tsTryParseTypeParameters(this.tsParseConstModifier);return s&&(e.typeParameters=s),super.parseObjPropValue(e,t,n,r,i,a,o)}parseFunctionParams(e,t){let n=this.tsTryParseTypeParameters(this.tsParseConstModifier);n&&(e.typeParameters=n),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),e.id.type===`Identifier`&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);let n=this.tsTryParseTypeAnnotation();n&&(e.id.typeAnnotation=n,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(e,t){var n,r,a,o,s;let c,l,u;if(this.hasPlugin(`jsx`)&&(this.match(140)||this.match(47))){if(c=this.state.clone(),l=this.tryParse(()=>super.parseMaybeAssign(e,t),c),!l.error)return l.node;let{context:n}=this.state,r=n[n.length-1];(r===i.j_oTag||r===i.j_expr)&&n.pop()}if(!((n=l)!=null&&n.error)&&!this.match(47))return super.parseMaybeAssign(e,t);(!c||c===this.state)&&(c=this.state.clone());let d,f=this.tryParse(n=>{var r;d=this.tsParseTypeParameters(this.tsParseConstModifier);let i=super.parseMaybeAssign(e,t);return(i.type!==`ArrowFunctionExpression`||(r=i.extra)!=null&&r.parenthesized)&&n(),d?.params.length!==0&&this.resetStartLocationFromNode(i,d),i.typeParameters=d,i},c);if(!f.error&&!f.aborted)return d&&this.reportReservedArrowTypeParam(d),f.node;if(!l&&(ar(!this.hasPlugin(`jsx`)),u=this.tryParse(()=>super.parseMaybeAssign(e,t),c),!u.error))return u.node;if((r=l)!=null&&r.node)return this.state=l.failState,l.node;if(f.node)return this.state=f.failState,d&&this.reportReservedArrowTypeParam(d),f.node;if((a=u)!=null&&a.node)return this.state=u.failState,u.node;throw(o=l)!=null&&o.thrown?l.error:f.thrown?f.error:(s=u)!=null&&s.thrown?u.error:l?.error||f.error||u?.error}reportReservedArrowTypeParam(e){var t;e.params.length===1&&!e.params[0].constraint&&!((t=e.extra)!=null&&t.trailingComma)&&this.getPluginOption(`typescript`,`disallowAmbiguousJSXLike`)&&this.raise($.ReservedArrowTypeParam,{at:e})}parseMaybeUnary(e,t){return!this.hasPlugin(`jsx`)&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,t)}parseArrow(e){if(this.match(14)){let t=this.tryParse(e=>{let t=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&e(),t});if(t.aborted)return;t.thrown||(t.error&&(this.state=t.failState),e.returnType=t.node)}return super.parseArrow(e)}parseAssignableListItemTypes(e,t){if(!(t&2))return e;this.eat(17)&&(e.optional=!0);let n=this.tsTryParseTypeAnnotation();return n&&(e.typeAnnotation=n),this.resetEndLocation(e),e}isAssignable(e,t){switch(e.type){case`TSTypeCastExpression`:return this.isAssignable(e.expression,t);case`TSParameterProperty`:return!0;default:return super.isAssignable(e,t)}}toAssignable(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;switch(e.type){case`ParenthesizedExpression`:this.toAssignableParenthesizedExpression(e,t);break;case`TSAsExpression`:case`TSSatisfiesExpression`:case`TSNonNullExpression`:case`TSTypeAssertion`:t?this.expressionScope.recordArrowParameterBindingError($.UnexpectedTypeCastInParameter,{at:e}):this.raise($.UnexpectedTypeCastInParameter,{at:e}),this.toAssignable(e.expression,t);break;case`AssignmentExpression`:!t&&e.left.type===`TSTypeCastExpression`&&(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case`TSAsExpression`:case`TSSatisfiesExpression`:case`TSNonNullExpression`:case`TSTypeAssertion`:case`ParenthesizedExpression`:this.toAssignable(e.expression,t);break;default:super.toAssignable(e,t)}}checkToRestConversion(e,t){switch(e.type){case`TSAsExpression`:case`TSSatisfiesExpression`:case`TSTypeAssertion`:case`TSNonNullExpression`:this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,n){return rr({TSTypeCastExpression:!0,TSParameterProperty:`parameter`,TSNonNullExpression:`expression`,TSAsExpression:(n!==_t||!t)&&[`expression`,!0],TSSatisfiesExpression:(n!==_t||!t)&&[`expression`,!0],TSTypeAssertion:(n!==_t||!t)&&[`expression`,!0]},e)||super.isValidLVal(e,t,n)}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){let t=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let n=super.parseMaybeDecoratorArguments(e);return n.typeParameters=t,n}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,t){let n=super.parseMaybeDefault(e,t);return n.type===`AssignmentPattern`&&n.typeAnnotation&&n.right.start<n.typeAnnotation.start&&this.raise($.TypeAnnotationAfterAssign,{at:n.typeAnnotation}),n}getTokenFromCode(e){if(this.state.inType){if(e===62){this.finishOp(48,1);return}if(e===60){this.finishOp(47,1);return}}super.getTokenFromCode(e)}reScan_lt_gt(){let{type:e}=this.state;e===47?(--this.state.pos,this.readToken_lt()):e===48&&(--this.state.pos,this.readToken_gt())}reScan_lt(){let{type:e}=this.state;return e===51?(this.state.pos-=2,this.finishOp(47,1),47):e}toAssignableList(e,t,n){for(let t=0;t<e.length;t++){let n=e[t];n?.type===`TSTypeCastExpression`&&(e[t]=this.typeCastToParameter(n))}super.toAssignableList(e,t,n)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}shouldParseArrow(e){return this.match(14)?e.every(e=>this.isAssignable(e,!0)):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){let t=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());t&&(e.typeParameters=t)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){let t=super.getGetterSetterExpectedParamCount(e),n=this.getObjectOrClassMethodParams(e)[0];return n&&this.isThisParam(n)?t+1:t}parseCatchClauseParam(){let e=super.parseCatchClauseParam(),t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t,this.resetEndLocation(e)),e}tsInAmbientContext(e){let t=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,t,n){let r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,t,n)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e,t){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(t,this.parseClass(e,!0,!1));if(this.isContextual(127)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise($.NonClassMethodPropertyHasAbstractModifer,{at:e}),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(e,t,n,r,i,a,o){let s=super.parseMethod(e,t,n,r,i,a,o);if(s.abstract&&(this.hasPlugin(`estree`)?s.value.body:s.body)){let{key:e}=s;this.raise($.AbstractMethodHasImplementation,{at:s,methodName:e.type===`Identifier`&&!s.computed?e.name:`[${this.input.slice(e.start,e.end)}]`})}return s}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(e,t,n,r){return!t&&r?(this.parseTypeOnlyImportExportSpecifier(e,!1,n),this.finishNode(e,`ExportSpecifier`)):(e.exportKind=`value`,super.parseExportSpecifier(e,t,n,r))}parseImportSpecifier(e,t,n,r,i){return!t&&r?(this.parseTypeOnlyImportExportSpecifier(e,!0,n),this.finishNode(e,`ImportSpecifier`)):(e.importKind=`value`,super.parseImportSpecifier(e,t,n,r,n?xt:ot))}parseTypeOnlyImportExportSpecifier(e,t,n){let r=t?`imported`:`local`,i=t?`local`:`exported`,a=e[r],o,s=!1,c=!0,l=a.loc.start;if(this.isContextual(93)){let e=this.parseIdentifier();if(this.isContextual(93)){let n=this.parseIdentifier();O(this.state.type)?(s=!0,a=e,o=t?this.parseIdentifier():this.parseModuleExportName(),c=!1):(o=n,c=!1)}else O(this.state.type)?(c=!1,o=t?this.parseIdentifier():this.parseModuleExportName()):(s=!0,a=e)}else O(this.state.type)&&(s=!0,t?(a=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(a.name,a.loc.start,!0,!0)):a=this.parseModuleExportName());s&&n&&this.raise(t?$.TypeModifierIsUsedInTypeImports:$.TypeModifierIsUsedInTypeExports,{at:l}),e[r]=a,e[i]=o;let u=t?`importKind`:`exportKind`;e[u]=s?`type`:`value`,c&&this.eatContextual(93)&&(e[i]=t?this.parseIdentifier():this.parseModuleExportName()),e[i]||(e[i]=In(e[r])),t&&this.checkIdentifier(e[i],s?xt:ot)}};function ur(e){if(e.type!==`MemberExpression`)return!1;let{computed:t,property:n}=e;return t&&n.type!==`StringLiteral`&&(n.type!==`TemplateLiteral`||n.expressions.length>0)?!1:mr(e.object)}function dr(e,t){var n;let{type:r}=e;if((n=e.extra)!=null&&n.parenthesized)return!1;if(t){if(r===`Literal`){let{value:t}=e;if(typeof t==`string`||typeof t==`boolean`)return!0}}else if(r===`StringLiteral`||r===`BooleanLiteral`)return!0;return!!(fr(e,t)||pr(e,t)||r===`TemplateLiteral`&&e.expressions.length===0||ur(e))}function fr(e,t){return t?e.type===`Literal`&&(typeof e.value==`number`||`bigint`in e):e.type===`NumericLiteral`||e.type===`BigIntLiteral`}function pr(e,t){if(e.type===`UnaryExpression`){let{operator:n,argument:r}=e;if(n===`-`&&fr(r,t))return!0}return!1}function mr(e){return e.type===`Identifier`?!0:e.type!==`MemberExpression`||e.computed?!1:mr(e.object)}var hr=pe`placeholders`({ClassNameIsRequired:`A class name is required.`,UnexpectedSpace:`Unexpected space in placeholder.`}),gr=e=>class extends e{parsePlaceholder(e){if(this.match(142)){let t=this.startNode();return this.next(),this.assertNoSpace(),t.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(142),this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){let n=!!(e.expectedNode&&e.type===`Placeholder`);return e.expectedNode=t,n?e:this.finishNode(e,`Placeholder`)}getTokenFromCode(e){e===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(142,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder(`Expression`)||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder(`Identifier`)||super.parseIdentifier(e)}checkReservedWord(e,t,n,r){e!==void 0&&super.checkReservedWord(e,t,n,r)}parseBindingAtom(){return this.parsePlaceholder(`Pattern`)||super.parseBindingAtom()}isValidLVal(e,t,n){return e===`Placeholder`||super.isValidLVal(e,t,n)}toAssignable(e,t){e&&e.type===`Placeholder`&&e.expectedNode===`Expression`?e.expectedNode=`Pattern`:super.toAssignable(e,t)}chStartsBindingIdentifier(e,t){return!!(super.chStartsBindingIdentifier(e,t)||this.lookahead().type===142)}verifyBreakContinue(e,t){e.label&&e.label.type===`Placeholder`||super.verifyBreakContinue(e,t)}parseExpressionStatement(e,t){if(t.type!==`Placeholder`||t.extra&&t.extra.parenthesized)return super.parseExpressionStatement(e,t);if(this.match(14)){let n=e;return n.label=this.finishPlaceholder(t,`Identifier`),this.next(),n.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(n,`LabeledStatement`)}return this.semicolon(),e.name=t.name,this.finishPlaceholder(e,`Statement`)}parseBlock(e,t,n){return this.parsePlaceholder(`BlockStatement`)||super.parseBlock(e,t,n)}parseFunctionId(e){return this.parsePlaceholder(`Identifier`)||super.parseFunctionId(e)}parseClass(e,t,n){let r=t?`ClassDeclaration`:`ClassExpression`;this.next();let i=this.state.strict,a=this.parsePlaceholder(`Identifier`);if(a)if(this.match(81)||this.match(142)||this.match(5))e.id=a;else{if(n||!t)return e.id=null,e.body=this.finishPlaceholder(a,`ClassBody`),this.finishNode(e,r);throw this.raise(hr.ClassNameIsRequired,{at:this.state.startLoc})}else this.parseClassId(e,t,n);return super.parseClassSuper(e),e.body=this.parsePlaceholder(`ClassBody`)||super.parseClassBody(!!e.superClass,i),this.finishNode(e,r)}parseExport(e,t){let n=this.parsePlaceholder(`Identifier`);if(!n)return super.parseExport(e,t);if(!this.isContextual(97)&&!this.match(12))return e.specifiers=[],e.source=null,e.declaration=this.finishPlaceholder(n,`Declaration`),this.finishNode(e,`ExportNamedDeclaration`);this.expectPlugin(`exportDefaultFrom`);let r=this.startNode();return r.exported=n,e.specifiers=[this.finishNode(r,`ExportDefaultSpecifier`)],super.parseExport(e,t)}isExportDefaultSpecifier(){if(this.match(65)){let e=this.nextTokenStart();if(this.isUnparsedContextual(e,`from`)&&this.input.startsWith(V(142),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){return e.specifiers&&e.specifiers.length>0?!0:super.maybeParseExportDefaultSpecifier(e)}checkExport(e){let{specifiers:t}=e;t!=null&&t.length&&(e.specifiers=t.filter(e=>e.exported.type===`Placeholder`)),super.checkExport(e),e.specifiers=t}parseImport(e){let t=this.parsePlaceholder(`Identifier`);if(!t)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(97)&&!this.match(12))return e.source=this.finishPlaceholder(t,`StringLiteral`),this.semicolon(),this.finishNode(e,`ImportDeclaration`);let n=this.startNodeAtNode(t);return n.local=t,e.specifiers.push(this.finishNode(n,`ImportDefaultSpecifier`)),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(97),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,`ImportDeclaration`)}parseImportSource(){return this.parsePlaceholder(`StringLiteral`)||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(hr.UnexpectedSpace,{at:this.state.lastTokEndLoc})}},_r=e=>class extends e{parseV8Intrinsic(){if(this.match(54)){let e=this.state.startLoc,t=this.startNode();if(this.next(),E(this.state.type)){let e=this.parseIdentifierName(),n=this.createIdentifier(t,e);if(n.type=`V8IntrinsicIdentifier`,this.match(10))return n}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}};function vr(e,t){let[n,r]=typeof t==`string`?[t,{}]:t,i=Object.keys(r),a=i.length===0;return e.some(e=>{if(typeof e==`string`)return a&&e===n;{let[t,a]=e;if(t!==n)return!1;for(let e of i)if(a[e]!==r[e])return!1;return!0}})}function yr(e,t,n){let r=e.find(e=>Array.isArray(e)?e[0]===t:e===t);return r&&Array.isArray(r)&&r.length>1?r[1][n]:null}var br=[`minimal`,`fsharp`,`hack`,`smart`],xr=[`^^`,`@@`,`^`,`%`,`#`],Sr=[`hash`,`bar`];function Cr(e){if(vr(e,`decorators`)){if(vr(e,`decorators-legacy`))throw Error(`Cannot use the decorators and decorators-legacy plugin together`);let t=yr(e,`decorators`,`decoratorsBeforeExport`);if(t!=null&&typeof t!=`boolean`)throw Error(`'decoratorsBeforeExport' must be a boolean, if specified.`);let n=yr(e,`decorators`,`allowCallParenthesized`);if(n!=null&&typeof n!=`boolean`)throw Error(`'allowCallParenthesized' must be a boolean.`)}if(vr(e,`flow`)&&vr(e,`typescript`))throw Error(`Cannot combine flow and typescript plugins.`);if(vr(e,`placeholders`)&&vr(e,`v8intrinsic`))throw Error(`Cannot combine placeholders and v8intrinsic plugins.`);if(vr(e,`pipelineOperator`)){let t=yr(e,`pipelineOperator`,`proposal`);if(!br.includes(t)){let e=br.map(e=>`"${e}"`).join(`, `);throw Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}let n=vr(e,[`recordAndTuple`,{syntaxType:`hash`}]);if(t===`hack`){if(vr(e,`placeholders`))throw Error(`Cannot combine placeholders plugin and Hack-style pipes.`);if(vr(e,`v8intrinsic`))throw Error(`Cannot combine v8intrinsic plugin and Hack-style pipes.`);let t=yr(e,`pipelineOperator`,`topicToken`);if(!xr.includes(t)){let e=xr.map(e=>`"${e}"`).join(`, `);throw Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if(t===`#`&&n)throw Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if(t===`smart`&&n)throw Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(vr(e,`moduleAttributes`)){if(vr(e,`importAssertions`))throw Error(`Cannot combine importAssertions and moduleAttributes plugins.`);if(yr(e,`moduleAttributes`,`version`)!==`may-2020`)throw Error(`The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.`)}if(vr(e,`recordAndTuple`)&&yr(e,`recordAndTuple`,`syntaxType`)!=null&&!Sr.includes(yr(e,`recordAndTuple`,`syntaxType`)))throw Error(`The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: `+Sr.map(e=>`'${e}'`).join(`, `));if(vr(e,`asyncDoExpressions`)&&!vr(e,`doExpressions`)){let e=Error(`'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.`);throw e.missingPlugins=`doExpressions`,e}}var wr={estree:ge,jsx:Zn,flow:Kn,typescript:lr,v8intrinsic:_r,placeholders:gr},Tr=Object.keys(wr),Er=class extends nr{checkProto(e,t,n,r){if(e.type===`SpreadElement`||this.isObjectMethod(e)||e.computed||e.shorthand)return;let i=e.key;if((i.type===`Identifier`?i.name:i.value)===`__proto__`){if(t){this.raise(X.RecordNoProto,{at:i});return}n.used&&(r?r.doubleProtoLoc===null&&(r.doubleProtoLoc=i.loc.start):this.raise(X.DuplicateProto,{at:i})),n.used=!0}}shouldExitDescending(e,t){return e.type===`ArrowFunctionExpression`&&e.start===t}getExpression(){this.enterInitialScopes(),this.nextToken();let e=this.parseExpression();return this.match(137)||this.unexpected(),this.finalizeRemainingComments(),e.comments=this.state.comments,e.errors=this.state.errors,this.options.tokens&&(e.tokens=this.tokens),e}parseExpression(e,t){return e?this.disallowInAnd(()=>this.parseExpressionBase(t)):this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){let t=this.state.startLoc,n=this.parseMaybeAssign(e);if(this.match(12)){let r=this.startNodeAt(t);for(r.expressions=[n];this.eat(12);)r.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(r.expressions),this.finishNode(r,`SequenceExpression`)}return n}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd(()=>this.parseMaybeAssign(e,t))}setOptionalParametersError(e,t){e.optionalParametersLoc=t?.loc??this.state.startLoc}parseMaybeAssign(e,t){let n=this.state.startLoc;if(this.isContextual(106)&&this.prodParam.hasYield){let e=this.parseYield();return t&&(e=t.call(this,e,n)),e}let r;e?r=!1:(e=new Mn,r=!0);let{type:i}=this.state;(i===10||E(i))&&(this.state.potentialArrowAt=this.state.start);let a=this.parseMaybeConditional(e);if(t&&(a=t.call(this,a,n)),M(this.state.type)){let t=this.startNodeAt(n);if(t.operator=this.state.value,this.match(29)){this.toAssignable(a,!0),t.left=a;let r=n.index;e.doubleProtoLoc!=null&&e.doubleProtoLoc.index>=r&&(e.doubleProtoLoc=null),e.shorthandAssignLoc!=null&&e.shorthandAssignLoc.index>=r&&(e.shorthandAssignLoc=null),e.privateKeyLoc!=null&&e.privateKeyLoc.index>=r&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null)}else t.left=a;return this.next(),t.right=this.parseMaybeAssign(),this.checkLVal(a,{in:this.finishNode(t,`AssignmentExpression`)}),t}else r&&this.checkExpressionErrors(e,!0);return a}parseMaybeConditional(e){let t=this.state.startLoc,n=this.state.potentialArrowAt,r=this.parseExprOps(e);return this.shouldExitDescending(r,n)?r:this.parseConditional(r,t,e)}parseConditional(e,t,n){if(this.eat(17)){let n=this.startNodeAt(t);return n.test=e,n.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),n.alternate=this.parseMaybeAssign(),this.finishNode(n,`ConditionalExpression`)}return e}parseMaybeUnaryOrPrivate(e){return this.match(136)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){let t=this.state.startLoc,n=this.state.potentialArrowAt,r=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(r,n)?r:this.parseExprOp(r,t,-1)}parseExprOp(e,t,n){if(this.isPrivateName(e)){let t=this.getPrivateNameSV(e);(n>=H(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(X.PrivateInExpectedIn,{at:e,identifierName:t}),this.classScope.usePrivateName(t,e.loc.start)}let r=this.state.type;if(I(r)&&(this.prodParam.hasIn||!this.match(58))){let i=H(r);if(i>n){if(r===39){if(this.expectPlugin(`pipelineOperator`),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,t)}let a=this.startNodeAt(t);a.left=e,a.operator=this.state.value;let o=r===41||r===42,s=r===40;if(s&&(i=H(42)),this.next(),r===39&&this.hasPlugin([`pipelineOperator`,{proposal:`minimal`}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(X.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});a.right=this.parseExprOpRightExpr(r,i);let c=this.finishNode(a,o||s?`LogicalExpression`:`BinaryExpression`),l=this.state.type;if(s&&(l===41||l===42)||o&&l===40)throw this.raise(X.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(c,t,n)}}return e}parseExprOpRightExpr(e,t){let n=this.state.startLoc;switch(e){case 39:switch(this.getPluginOption(`pipelineOperator`,`proposal`)){case`hack`:return this.withTopicBindingContext(()=>this.parseHackPipeBody());case`smart`:return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(106))throw this.raise(X.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),n)});case`fsharp`:return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(t))}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){let n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),n,U(e)?t-1:t)}parseHackPipeBody(){var e;let{startLoc:t}=this.state,n=this.parseMaybeAssign();return ce.has(n.type)&&!((e=n.extra)!=null&&e.parenthesized)&&this.raise(X.PipeUnparenthesizedBody,{at:t,type:n.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(X.PipeTopicUnused,{at:t}),n}checkExponentialAfterUnary(e){this.match(57)&&this.raise(X.UnexpectedTokenUnaryExponentiation,{at:e.argument})}parseMaybeUnary(e,t){let n=this.state.startLoc,r=this.isContextual(96);if(r&&this.isAwaitAllowed()){this.next();let e=this.parseAwait(n);return t||this.checkExponentialAfterUnary(e),e}let i=this.match(34),a=this.startNode();if(R(this.state.type)){a.operator=this.state.value,a.prefix=!0,this.match(72)&&this.expectPlugin(`throwExpressions`);let n=this.match(89);if(this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&n){let e=a.argument;e.type===`Identifier`?this.raise(X.StrictDelete,{at:a}):this.hasPropertyAsPrivateName(e)&&this.raise(X.DeletePrivateField,{at:a})}if(!i)return t||this.checkExponentialAfterUnary(a),this.finishNode(a,`UnaryExpression`)}let o=this.parseUpdate(a,i,e);if(r){let{type:e}=this.state;if((this.hasPlugin(`v8intrinsic`)?j(e):j(e)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(X.AwaitNotInAsyncContext,{at:n}),this.parseAwait(n)}return o}parseUpdate(e,t,n){if(t){let t=e;return this.checkLVal(t.argument,{in:this.finishNode(t,`UpdateExpression`)}),e}let r=this.state.startLoc,i=this.parseExprSubscripts(n);if(this.checkExpressionErrors(n,!1))return i;for(;L(this.state.type)&&!this.canInsertSemicolon();){let e=this.startNodeAt(r);e.operator=this.state.value,e.prefix=!1,e.argument=i,this.next(),this.checkLVal(i,{in:i=this.finishNode(e,`UpdateExpression`)})}return i}parseExprSubscripts(e){let t=this.state.startLoc,n=this.state.potentialArrowAt,r=this.parseExprAtom(e);return this.shouldExitDescending(r,n)?r:this.parseSubscripts(r,t)}parseSubscripts(e,t,n){let r={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do e=this.parseSubscript(e,t,n,r),r.maybeAsyncArrow=!1;while(!r.stop);return e}parseSubscript(e,t,n,r){let{type:i}=this.state;if(!n&&i===15)return this.parseBind(e,t,n,r);if(W(i))return this.parseTaggedTemplateExpression(e,t,r);let a=!1;if(i===18){if(n&&(this.raise(X.OptionalChainingNoNew,{at:this.state.startLoc}),this.lookaheadCharCode()===40))return r.stop=!0,e;r.optionalChainMember=a=!0,this.next()}if(!n&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,r,a);{let n=this.eat(0);return n||a||this.eat(16)?this.parseMember(e,t,r,n,a):(r.stop=!0,e)}}parseMember(e,t,n,r,i){let a=this.startNodeAt(t);return a.object=e,a.computed=r,r?(a.property=this.parseExpression(),this.expect(3)):this.match(136)?(e.type===`Super`&&this.raise(X.SuperPrivateField,{at:t}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),n.optionalChainMember?(a.optional=i,this.finishNode(a,`OptionalMemberExpression`)):this.finishNode(a,`MemberExpression`)}parseBind(e,t,n,r){let i=this.startNodeAt(t);return i.object=e,this.next(),i.callee=this.parseNoCallExpr(),r.stop=!0,this.parseSubscripts(this.finishNode(i,`BindExpression`),t,n)}parseCoverCallAndAsyncArrowHead(e,t,n,r){let i=this.state.maybeInArrowParameters,a=null;this.state.maybeInArrowParameters=!0,this.next();let o=this.startNodeAt(t);o.callee=e;let{maybeAsyncArrow:s,optionalChainMember:c}=n;s&&(this.expressionScope.enter(Sn()),a=new Mn),c&&(o.optional=r),r?o.arguments=this.parseCallExpressionArguments(11):o.arguments=this.parseCallExpressionArguments(11,e.type===`Import`,e.type!==`Super`,o,a);let l=this.finishCallExpression(o,c);return s&&this.shouldParseAsyncArrow()&&!r?(n.stop=!0,this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),l=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),l)):(s&&(this.checkExpressionErrors(a,!0),this.expressionScope.exit()),this.toReferencedArguments(l)),this.state.maybeInArrowParameters=i,l}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,n){let r=this.startNodeAt(t);return r.tag=e,r.quasi=this.parseTemplate(!0),n.optionalChainMember&&this.raise(X.OptionalChainingNoTemplate,{at:t}),this.finishNode(r,`TaggedTemplateExpression`)}atPossibleAsyncArrow(e){return e.type===`Identifier`&&e.name===`async`&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type===`Import`)if(e.arguments.length===2&&(this.hasPlugin(`moduleAttributes`)||this.expectPlugin(`importAssertions`)),e.arguments.length===0||e.arguments.length>2)this.raise(X.ImportCallArity,{at:e,maxArgumentCount:this.hasPlugin(`importAssertions`)||this.hasPlugin(`moduleAttributes`)?2:1});else for(let t of e.arguments)t.type===`SpreadElement`&&this.raise(X.ImportCallSpreadArgument,{at:t});return this.finishNode(e,t?`OptionalCallExpression`:`CallExpression`)}parseCallExpressionArguments(e,t,n,r,i){let a=[],o=!0,s=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){t&&!this.hasPlugin(`importAssertions`)&&!this.hasPlugin(`moduleAttributes`)&&this.raise(X.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),r&&this.addTrailingCommaExtraToNode(r),this.next();break}a.push(this.parseExprListItem(!1,i,n))}return this.state.inFSharpPipelineDirectBody=s,a}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,t.extra?.trailingCommaLoc),t.innerComments&&zt(e,t.innerComments),t.callee.trailingComments&&zt(e,t.callee.trailingComments),e}parseNoCallExpr(){let e=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,!0)}parseExprAtom(e){let t,n=null,{type:r}=this.state;switch(r){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):(this.match(10)||this.raise(X.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 132:return this.parseNumericLiteral(this.state.value);case 133:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseDecimalLiteral(this.state.value);case 131:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,e);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,e);case 68:return this.parseFunctionOrFunctionSent();case 26:n=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(n,this.startNode()),!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 e=t.callee=this.parseNoCallExpr();if(e.type===`MemberExpression`)return this.finishNode(t,`BindExpression`);throw this.raise(X.UnsupportedBind,{at:e})}case 136:return this.raise(X.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 e=this.getPluginOption(`pipelineOperator`,`proposal`);if(e)return this.parseTopicReference(e);this.unexpected();break}case 47:{let e=this.input.codePointAt(this.nextTokenStart());we(e)||e===62?this.expectOnePlugin([`jsx`,`flow`,`typescript`]):this.unexpected();break}default:if(E(r)){if(this.isContextual(125)&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak())return this.parseModuleExpression();let e=this.state.potentialArrowAt===this.state.start,t=this.state.containsEsc,n=this.parseIdentifier();if(!t&&n.name===`async`&&!this.canInsertSemicolon()){let{type:e}=this.state;if(e===68)return this.resetPreviousNodeTrailingComments(n),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(n));if(E(e))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(n)):n;if(e===90)return this.resetPreviousNodeTrailingComments(n),this.parseDo(this.startNodeAtNode(n),!0)}return e&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(n),[n],!1)):n}else this.unexpected()}}parseTopicReferenceThenEqualsSign(e,t){let n=this.getPluginOption(`pipelineOperator`,`proposal`);if(n)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=J(this.state.endLoc,-1),this.parseTopicReference(n);this.unexpected()}parseTopicReference(e){let t=this.startNode(),n=this.state.startLoc,r=this.state.type;return this.next(),this.finishTopicReference(t,n,e,r)}finishTopicReference(e,t,n,r){if(this.testTopicReferenceConfiguration(n,t,r)){let r=n===`smart`?`PipelinePrimaryTopicReference`:`TopicReference`;return this.topicReferenceIsAllowedInCurrentContext()||this.raise(n===`smart`?X.PrimaryTopicNotAllowed:X.PipeTopicUnbound,{at:t}),this.registerTopicReference(),this.finishNode(e,r)}else throw this.raise(X.PipeTopicUnconfiguredToken,{at:t,token:V(r)})}testTopicReferenceConfiguration(e,t,n){switch(e){case`hack`:return this.hasPlugin([`pipelineOperator`,{topicToken:V(n)}]);case`smart`:return n===27;default:throw this.raise(X.PipeTopicRequiresHackPipes,{at:t})}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(An(!0,this.prodParam.hasYield));let t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(X.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(e,t,!0)}parseDo(e,t){this.expectPlugin(`doExpressions`),t&&this.expectPlugin(`asyncDoExpressions`),e.async=t,this.next();let n=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(En),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=n,this.finishNode(e,`DoExpression`)}parseSuper(){let e=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(X.SuperNotAllowed,{at:e}):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(X.UnexpectedSuper,{at:e}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(X.UnsupportedSuper,{at:e}),this.finishNode(e,`Super`)}parsePrivateName(){let e=this.startNode(),t=this.startNodeAt(J(this.state.startLoc,1)),n=this.state.value;return this.next(),e.id=this.createIdentifier(t,n),this.finishNode(e,`PrivateName`)}parseFunctionOrFunctionSent(){let e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(e),`function`);return this.next(),this.match(102)?this.expectPlugin(`functionSent`):this.hasPlugin(`functionSent`)||this.unexpected(),this.parseMetaProperty(e,t,`sent`)}return this.parseFunction(e)}parseMetaProperty(e,t,n){e.meta=t;let r=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==n||r)&&this.raise(X.UnsupportedMetaProperty,{at:e.property,target:t.name,onlyValidPropertyName:n}),this.finishNode(e,`MetaProperty`)}parseImportMetaProperty(e){let t=this.createIdentifier(this.startNodeAtNode(e),`import`);return this.next(),this.isContextual(100)&&(this.inModule||this.raise(X.ImportMetaOutsideModule,{at:t}),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,t,`meta`)}parseLiteralAtNode(e,t,n){return this.addExtra(n,`rawValue`,e),this.addExtra(n,`raw`,this.input.slice(n.start,this.state.end)),n.value=e,this.next(),this.finishNode(n,t)}parseLiteral(e,t){let n=this.startNode();return this.parseLiteralAtNode(e,t,n)}parseStringLiteral(e){return this.parseLiteral(e,`StringLiteral`)}parseNumericLiteral(e){return this.parseLiteral(e,`NumericLiteral`)}parseBigIntLiteral(e){return this.parseLiteral(e,`BigIntLiteral`)}parseDecimalLiteral(e){return this.parseLiteral(e,`DecimalLiteral`)}parseRegExpLiteral(e){let t=this.parseLiteral(e.value,`RegExpLiteral`);return t.pattern=e.pattern,t.flags=e.flags,t}parseBooleanLiteral(e){let t=this.startNode();return t.value=e,this.next(),this.finishNode(t,`BooleanLiteral`)}parseNullLiteral(){let e=this.startNode();return this.next(),this.finishNode(e,`NullLiteral`)}parseParenAndDistinguishExpression(e){let t=this.state.startLoc,n;this.next(),this.expressionScope.enter(xn());let r=this.state.maybeInArrowParameters,i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let a=this.state.startLoc,o=[],s=new Mn,c=!0,l,u;for(;!this.match(11);){if(c)c=!1;else if(this.expect(12,s.optionalParametersLoc===null?null:s.optionalParametersLoc),this.match(11)){u=this.state.startLoc;break}if(this.match(21)){let e=this.state.startLoc;if(l=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),e)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowIn(s,this.parseParenItem))}let d=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=r,this.state.inFSharpPipelineDirectBody=i;let f=this.startNodeAt(t);return e&&this.shouldParseArrow(o)&&(f=this.parseArrow(f))?(this.checkDestructuringPrivate(s),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(f,o,!1),f):(this.expressionScope.exit(),o.length||this.unexpected(this.state.lastTokStartLoc),u&&this.unexpected(u),l&&this.unexpected(l),this.checkExpressionErrors(s,!0),this.toReferencedListDeep(o,!0),o.length>1?(n=this.startNodeAt(a),n.expressions=o,this.finishNode(n,`SequenceExpression`),this.resetEndLocation(n,d)):n=o[0],this.wrapParenthesis(t,n))}wrapParenthesis(e,t){if(!this.options.createParenthesizedExpressions)return this.addExtra(t,`parenthesized`,!0),this.addExtra(t,`parenStart`,e.index),this.takeSurroundingComments(t,e.index,this.state.lastTokEndLoc.index),t;let n=this.startNodeAt(e);return n.expression=t,this.finishNode(n,`ParenthesizedExpression`)}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t){return e}parseNewOrNewTarget(){let e=this.startNode();if(this.next(),this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(e),`new`);this.next();let n=this.parseMetaProperty(e,t,`target`);return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(X.UnexpectedNewTarget,{at:n}),n}return this.parseNew(e)}parseNew(e){if(this.parseNewCallee(e),this.eat(10)){let t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[];return this.finishNode(e,`NewExpression`)}parseNewCallee(e){e.callee=this.parseNoCallExpr(),e.callee.type===`Import`&&this.raise(X.ImportCallNotNewExpression,{at:e.callee})}parseTemplateElement(e){let{start:t,startLoc:n,end:r,value:i}=this.state,a=t+1,o=this.startNodeAt(J(n,1));i===null&&(e||this.raise(X.InvalidEscapeSequenceTemplate,{at:J(this.state.firstInvalidTemplateEscapePos,1)}));let s=this.match(24),c=s?-1:-2,l=r+c;o.value={raw:this.input.slice(a,l).replace(/\r\n?/g,`
|
|
29
|
-
`),cooked:i===null?null:i.slice(1,c)},o.tail=s,this.next();let u=this.finishNode(o,`TemplateElement`);return this.resetEndLocation(u,J(this.state.lastTokEndLoc,c)),u}parseTemplate(e){let t=this.startNode();t.expressions=[];let n=this.parseTemplateElement(e);for(t.quasis=[n];!n.tail;)t.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),t.quasis.push(n=this.parseTemplateElement(e));return this.finishNode(t,`TemplateLiteral`)}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,n,r){n&&this.expectPlugin(`recordAndTuple`);let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=Object.create(null),o=!0,s=this.startNode();for(s.properties=[],this.next();!this.match(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(s);break}let i;t?i=this.parseBindingProperty():(i=this.parsePropertyDefinition(r),this.checkProto(i,n,a,r)),n&&!this.isObjectProperty(i)&&i.type!==`SpreadElement`&&this.raise(X.InvalidRecordProperty,{at:i}),i.shorthand&&this.addExtra(i,`shorthand`,!0),s.properties.push(i)}this.next(),this.state.inFSharpPipelineDirectBody=i;let c=`ObjectExpression`;return t?c=`ObjectPattern`:n&&(c=`RecordExpression`),this.finishNode(s,c)}addTrailingCommaExtraToNode(e){this.addExtra(e,`trailingComma`,this.state.lastTokStart),this.addExtra(e,`trailingCommaLoc`,this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type===`Identifier`&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let t=[];if(this.match(26))for(this.hasPlugin(`decorators`)&&this.raise(X.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)t.push(this.parseDecorator());let n=this.startNode(),r=!1,i=!1,a;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(n.decorators=t,t=[]),n.method=!1,e&&(a=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(n);let s=this.state.containsEsc,c=this.parsePropertyName(n,e);if(!o&&!s&&this.maybeAsyncOrAccessorProp(n)){let e=c.name;e===`async`&&!this.hasPrecedingLineBreak()&&(r=!0,this.resetPreviousNodeTrailingComments(c),o=this.eat(55),this.parsePropertyName(n)),(e===`get`||e===`set`)&&(i=!0,this.resetPreviousNodeTrailingComments(c),n.kind=e,this.match(55)&&(o=!0,this.raise(X.AccessorIsGenerator,{at:this.state.curPosition(),kind:e}),this.next()),this.parsePropertyName(n))}return this.parseObjPropValue(n,a,o,r,!1,i,e)}getGetterSetterExpectedParamCount(e){return e.kind===`get`?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){let t=this.getGetterSetterExpectedParamCount(e),n=this.getObjectOrClassMethodParams(e);n.length!==t&&this.raise(e.kind===`get`?X.BadGetterArity:X.BadSetterArity,{at:e}),e.kind===`set`&&n[n.length-1]?.type===`RestElement`&&this.raise(X.BadSetterRestParameter,{at:e})}parseObjectMethod(e,t,n,r,i){if(i){let n=this.parseMethod(e,t,!1,!1,!1,`ObjectMethod`);return this.checkGetterSetterParams(n),n}if(n||t||this.match(10))return r&&this.unexpected(),e.kind=`method`,e.method=!0,this.parseMethod(e,t,n,!1,!1,`ObjectMethod`)}parseObjectProperty(e,t,n,r){if(e.shorthand=!1,this.eat(14))return e.value=n?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(r),this.finishNode(e,`ObjectProperty`);if(!e.computed&&e.key.type===`Identifier`){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),n)e.value=this.parseMaybeDefault(t,In(e.key));else if(this.match(29)){let n=this.state.startLoc;r==null?this.raise(X.InvalidCoverInitializedName,{at:n}):r.shorthandAssignLoc===null&&(r.shorthandAssignLoc=n),e.value=this.parseMaybeDefault(t,In(e.key))}else e.value=In(e.key);return e.shorthand=!0,this.finishNode(e,`ObjectProperty`)}}parseObjPropValue(e,t,n,r,i,a,o){let s=this.parseObjectMethod(e,n,r,i,a)||this.parseObjectProperty(e,t,i,o);return s||this.unexpected(),s}parsePropertyName(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:n,value:r}=this.state,i;if(O(n))i=this.parseIdentifier(!0);else switch(n){case 132:i=this.parseNumericLiteral(r);break;case 131:i=this.parseStringLiteral(r);break;case 133:i=this.parseBigIntLiteral(r);break;case 134:i=this.parseDecimalLiteral(r);break;case 136:{let e=this.state.startLoc;t==null?this.raise(X.UnexpectedPrivateField,{at:e}):t.privateKeyLoc===null&&(t.privateKeyLoc=e),i=this.parsePrivateName();break}default:this.unexpected()}e.key=i,n!==136&&(e.computed=!1)}return e.key}initFunction(e,t){e.id=null,e.generator=!1,e.async=t}parseMethod(e,t,n,r,i,a){let o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1;this.initFunction(e,n),e.generator=t,this.scope.enter(Be|Ue|(o?Ge:0)|(i?We:0)),this.prodParam.enter(An(n,e.generator)),this.parseFunctionParams(e,r);let s=this.parseFunctionBodyAndFinish(e,a,!0);return this.prodParam.exit(),this.scope.exit(),s}parseArrayLike(e,t,n,r){n&&this.expectPlugin(`recordAndTuple`);let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=this.startNode();return this.next(),a.elements=this.parseExprList(e,!n,r,a),this.state.inFSharpPipelineDirectBody=i,this.finishNode(a,n?`TupleExpression`:`ArrayExpression`)}parseArrowExpression(e,t,n,r){this.scope.enter(Be|Ve);let i=An(n,!1);!this.match(5)&&this.prodParam.hasIn&&(i|=On),this.prodParam.enter(i),this.initFunction(e,n);let a=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,r)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=a,this.finishNode(e,`ArrowFunctionExpression`)}setArrowFunctionParameters(e,t,n){this.toAssignableList(t,n,!1),e.params=t}parseFunctionBodyAndFinish(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return this.parseFunctionBody(e,!1,n),this.finishNode(e,t)}parseFunctionBody(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=t&&!this.match(5);if(this.expressionScope.enter(Cn()),r)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{let r=this.state.strict,i=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|Dn),e.body=this.parseBlock(!0,!1,i=>{let a=!this.isSimpleParamList(e.params);i&&a&&this.raise(X.IllegalLanguageModeDirective,{at:(e.kind===`method`||e.kind===`constructor`)&&e.key?e.key.loc.end:e});let o=!r&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!n&&!a,t,o),this.state.strict&&e.id&&this.checkIdentifier(e.id,vt,o)}),this.prodParam.exit(),this.state.labels=i}this.expressionScope.exit()}isSimpleParameter(e){return e.type===`Identifier`}isSimpleParamList(e){for(let t=0,n=e.length;t<n;t++)if(!this.isSimpleParameter(e[t]))return!1;return!0}checkParams(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,i=!t&&new Set,a={type:`FormalParameters`};for(let t of e.params)this.checkLVal(t,{in:a,binding:dt,checkClashes:i,strictModeChanged:r})}parseExprList(e,t,n,r){let i=[],a=!0;for(;!this.eat(e);){if(a)a=!1;else if(this.expect(12),this.match(e)){r&&this.addTrailingCommaExtraToNode(r),this.next();break}i.push(this.parseExprListItem(t,n))}return i}parseExprListItem(e,t,n){let r;if(this.match(12))e||this.raise(X.UnexpectedToken,{at:this.state.curPosition(),unexpected:`,`}),r=null;else if(this.match(21)){let e=this.state.startLoc;r=this.parseParenItem(this.parseSpread(t),e)}else if(this.match(17)){this.expectPlugin(`partialApplication`),n||this.raise(X.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});let e=this.startNode();this.next(),r=this.finishNode(e,`ArgumentPlaceholder`)}else r=this.parseMaybeAssignAllowIn(t,this.parseParenItem);return r}parseIdentifier(e){let t=this.startNode(),n=this.parseIdentifierName(e);return this.createIdentifier(t,n)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,`Identifier`)}parseIdentifierName(e){let t,{startLoc:n,type:r}=this.state;O(r)?t=this.state.value:this.unexpected();let i=D(r);return e?i&&this.replaceToken(130):this.checkReservedWord(t,n,i,!1),this.next(),t}checkReservedWord(e,t,n,r){if(!(e.length>10||!Le(e))){if(n&&Pe(e)){this.raise(X.UnexpectedKeyword,{at:t,keyword:e});return}if((this.state.strict?r?Ne:je:Ae)(e,this.inModule)){this.raise(X.UnexpectedReservedWord,{at:t,reservedWord:e});return}else if(e===`yield`){if(this.prodParam.hasYield){this.raise(X.YieldBindingIdentifier,{at:t});return}}else if(e===`await`){if(this.prodParam.hasAwait){this.raise(X.AwaitBindingIdentifier,{at:t});return}if(this.scope.inStaticBlock){this.raise(X.AwaitBindingIdentifierInStaticBlock,{at:t});return}this.expressionScope.recordAsyncArrowParametersError({at:t})}else if(e===`arguments`&&this.scope.inClassAndNotInNonArrowFunction){this.raise(X.ArgumentsInClass,{at:t});return}}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(e){let t=this.startNodeAt(e);return this.expressionScope.recordParameterInitializerError(X.AwaitExpressionFormalParameter,{at:t}),this.eat(55)&&this.raise(X.ObsoleteAwaitStar,{at:t}),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(t.argument=this.parseMaybeUnary(null,!0)),this.finishNode(t,`AwaitExpression`)}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:e}=this.state;return e===53||e===10||e===0||W(e)||e===101&&!this.state.containsEsc||e===135||e===56||this.hasPlugin(`v8intrinsic`)&&e===54}parseYield(){let e=this.startNode();this.expressionScope.recordParameterInitializerError(X.YieldInParameter,{at:e}),this.next();let t=!1,n=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(55),this.state.type){case 13:case 137:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:n=this.parseMaybeAssign()}return e.delegate=t,e.argument=n,this.finishNode(e,`YieldExpression`)}checkPipelineAtInfixOperator(e,t){this.hasPlugin([`pipelineOperator`,{proposal:`smart`}])&&e.type===`SequenceExpression`&&this.raise(X.PipelineHeadSequenceExpression,{at:t})}parseSmartPipelineBodyInStyle(e,t){if(this.isSimpleReference(e)){let n=this.startNodeAt(t);return n.callee=e,this.finishNode(n,`PipelineBareFunction`)}else{let n=this.startNodeAt(t);return this.checkSmartPipeTopicBodyEarlyErrors(t),n.expression=e,this.finishNode(n,`PipelineTopicExpression`)}}isSimpleReference(e){switch(e.type){case`MemberExpression`:return!e.computed&&this.isSimpleReference(e.object);case`Identifier`:return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19))throw this.raise(X.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(X.PipelineTopicUnused,{at:e})}withTopicBindingContext(e){let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){if(this.hasPlugin([`pipelineOperator`,{proposal:`smart`}])){let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}else return e()}withSoloAwaitPermittingContext(e){let t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){let t=this.prodParam.currentFlags();if(On&~t){this.prodParam.enter(t|On);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){let t=this.prodParam.currentFlags();if(On&t){this.prodParam.enter(t&~On);try{return e()}finally{this.prodParam.exit()}}return e()}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(e){let t=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let r=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);return this.state.inFSharpPipelineDirectBody=n,r}parseModuleExpression(){this.expectPlugin(`moduleBlocks`);let e=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let t=this.startNodeAt(this.state.endLoc);this.next();let n=this.initializeScopes(!0);this.enterInitialScopes();try{e.body=this.parseProgram(t,8,`module`)}finally{n()}return this.finishNode(e,`ModuleExpression`)}parsePropertyNamePrefixOperator(e){}},Dr={kind:`loop`},Or={kind:`switch`},kr=/[\uD800-\uDFFF]/u,Ar=/in(?:stanceof)?/y;function jr(e,t){for(let n=0;n<e.length;n++){let r=e[n],{type:i}=r;if(typeof i==`number`){if(i===136){let{loc:t,start:i,value:a,end:o}=r,s=i+1,c=J(t.start,1);e.splice(n,1,new ln({type:G(27),value:`#`,start:i,end:s,startLoc:t.start,endLoc:c}),new ln({type:G(130),value:a,start:s,end:o,startLoc:c,endLoc:t.end})),n++;continue}if(W(i)){let{loc:a,start:o,value:s,end:c}=r,l=o+1,u=J(a.start,1),d;d=t.charCodeAt(o)===96?new ln({type:G(22),value:"`",start:o,end:l,startLoc:a.start,endLoc:u}):new ln({type:G(8),value:`}`,start:o,end:l,startLoc:a.start,endLoc:u});let f,p,m,h;i===24?(p=c-1,m=J(a.end,-1),f=s===null?null:s.slice(1,-1),h=new ln({type:G(22),value:"`",start:p,end:c,startLoc:m,endLoc:a.end})):(p=c-2,m=J(a.end,-2),f=s===null?null:s.slice(1,-2),h=new ln({type:G(23),value:"${",start:p,end:c,startLoc:m,endLoc:a.end})),e.splice(n,1,d,new ln({type:G(20),value:f,start:l,end:p,startLoc:u,endLoc:m}),h),n+=2;continue}r.type=G(i)}}return e}var Mr=class extends Er{parseTopLevel(e,t){return e.program=this.parseProgram(t),e.comments=this.state.comments,this.options.tokens&&(e.tokens=jr(this.tokens,this.input)),this.finishNode(e,`File`)}parseProgram(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:137;if(e.sourceType=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.options.sourceType,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,t),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[e,t]of Array.from(this.scope.undefinedExports))this.raise(X.ModuleExportUndefined,{at:t,localName:e});let n;return n=t===137?this.finishNode(e,`Program`):this.finishNodeAt(e,`Program`,J(this.state.startLoc,-1)),n}stmtToDirective(e){let t=e;t.type=`Directive`,t.value=t.expression,delete t.expression;let n=t.value,r=n.value,i=this.input.slice(n.start,n.end),a=n.value=i.slice(1,-1);return this.addExtra(n,`raw`,i),this.addExtra(n,`rawValue`,a),this.addExtra(n,`expressionValue`,r),n.type=`DirectiveLiteral`,t}parseInterpreterDirective(){if(!this.match(28))return null;let e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,`InterpreterDirective`)}isLet(){return this.isContextual(99)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(e,t){if(we(e)){if(Ar.lastIndex=t,Ar.test(this.input)){let e=this.codePointAtPos(Ar.lastIndex);if(!Te(e)&&e!==92)return!1}return!0}else return e===92}chStartsBindingPattern(e){return e===91||e===123}hasFollowingBindingAtom(){let e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingPattern(t)||this.chStartsBindingIdentifier(t,e)}hasFollowingBindingIdentifier(){let e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)}startsUsingForOf(){let e=this.lookahead();return e.type===101&&!e.containsEsc?!1:(this.expectPlugin(`explicitResourceManagement`),!0)}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=0;return this.options.annexB&&!this.state.strict&&(t|=4,e&&(t|=8)),this.parseStatementLike(t)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(e){let t=null;return this.match(26)&&(t=this.parseDecorators(!0)),this.parseStatementContent(e,t)}parseStatementContent(e,t){let n=this.state.type,r=this.startNode(),i=!!(e&2),a=!!(e&4),o=e&1;switch(n){case 60:return this.parseBreakContinueStatement(r,!0);case 63:return this.parseBreakContinueStatement(r,!1);case 64:return this.parseDebuggerStatement(r);case 90:return this.parseDoWhileStatement(r);case 91:return this.parseForStatement(r);case 68:if(this.lookaheadCharCode()===46)break;return a||this.raise(this.state.strict?X.StrictFunction:this.options.annexB?X.SloppyFunctionAnnexB:X.SloppyFunction,{at:this.state.startLoc}),this.parseFunctionStatement(r,!1,!i&&a);case 80:return i||this.unexpected(),this.parseClass(this.maybeTakeDecorators(t,r),!0);case 69:return this.parseIfStatement(r);case 70:return this.parseReturnStatement(r);case 71:return this.parseSwitchStatement(r);case 72:return this.parseThrowStatement(r);case 73:return this.parseTryStatement(r);case 105:if(this.hasFollowingLineBreak()||this.state.containsEsc||!this.hasFollowingBindingIdentifier())break;return this.expectPlugin(`explicitResourceManagement`),!this.scope.inModule&&this.scope.inTopLevel?this.raise(X.UnexpectedUsingDeclaration,{at:this.state.startLoc}):i||this.raise(X.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(r,`using`);case 99:{if(this.state.containsEsc)break;let e=this.nextTokenStart(),t=this.codePointAtPos(e);if(t!==91&&(!i&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(t,e)&&t!==123))break}case 75:i||this.raise(X.UnexpectedLexicalDeclaration,{at:this.state.startLoc});case 74:{let e=this.state.value;return this.parseVarStatement(r,e)}case 92:return this.parseWhileStatement(r);case 76:return this.parseWithStatement(r);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(r);case 83:{let e=this.lookaheadCharCode();if(e===40||e===46)break}case 82:{!this.options.allowImportExportEverywhere&&!o&&this.raise(X.UnexpectedImportExport,{at:this.state.startLoc}),this.next();let e;return n===83?(e=this.parseImport(r),e.type===`ImportDeclaration`&&(!e.importKind||e.importKind===`value`)&&(this.sawUnambiguousESM=!0)):(e=this.parseExport(r,t),(e.type===`ExportNamedDeclaration`&&(!e.exportKind||e.exportKind===`value`)||e.type===`ExportAllDeclaration`&&(!e.exportKind||e.exportKind===`value`)||e.type===`ExportDefaultDeclaration`)&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(e),e}default:if(this.isAsyncFunction())return i||this.raise(X.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(r,!0,!i&&a)}let s=this.state.value,c=this.parseExpression();return E(n)&&c.type===`Identifier`&&this.eat(14)?this.parseLabeledStatement(r,s,c,e):this.parseExpressionStatement(r,c,t)}assertModuleNodeAllowed(e){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(X.ImportOutsideModule,{at:e})}decoratorsEnabledBeforeExport(){return this.hasPlugin(`decorators-legacy`)?!0:this.hasPlugin(`decorators`)&&this.getPluginOption(`decorators`,`decoratorsBeforeExport`)!==!1}maybeTakeDecorators(e,t,n){return e&&(t.decorators&&t.decorators.length>0?(typeof this.getPluginOption(`decorators`,`decoratorsBeforeExport`)!=`boolean`&&this.raise(X.DecoratorsBeforeAfterExport,{at:t.decorators[0]}),t.decorators.unshift(...e)):t.decorators=e,this.resetStartLocationFromNode(t,e[0]),n&&this.resetStartLocationFromNode(n,t)),t}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){let t=[];do t.push(this.parseDecorator());while(this.match(26));if(this.match(82))e||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(X.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(X.UnexpectedLeadingDecorator,{at:this.state.startLoc});return t}parseDecorator(){this.expectOnePlugin([`decorators`,`decorators-legacy`]);let e=this.startNode();if(this.next(),this.hasPlugin(`decorators`)){let t=this.state.startLoc,n;if(this.match(10)){let t=this.state.startLoc;this.next(),n=this.parseExpression(),this.expect(11),n=this.wrapParenthesis(t,n);let r=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(n),this.getPluginOption(`decorators`,`allowCallParenthesized`)===!1&&e.expression!==n&&this.raise(X.DecoratorArgumentsOutsideParentheses,{at:r})}else{for(n=this.parseIdentifier(!1);this.eat(16);){let e=this.startNodeAt(t);e.object=n,this.match(136)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),e.property=this.parsePrivateName()):e.property=this.parseIdentifier(!0),e.computed=!1,n=this.finishNode(e,`MemberExpression`)}e.expression=this.parseMaybeDecoratorArguments(n)}}else e.expression=this.parseExprSubscripts();return this.finishNode(e,`Decorator`)}parseMaybeDecoratorArguments(e){if(this.eat(10)){let t=this.startNodeAtNode(e);return t.callee=e,t.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(t.arguments),this.finishNode(t,`CallExpression`)}return e}parseBreakContinueStatement(e,t){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,t),this.finishNode(e,t?`BreakStatement`:`ContinueStatement`)}verifyBreakContinue(e,t){let n;for(n=0;n<this.state.labels.length;++n){let r=this.state.labels[n];if((e.label==null||r.name===e.label.name)&&(r.kind!=null&&(t||r.kind===`loop`)||e.label&&t))break}if(n===this.state.labels.length){let n=t?`BreakStatement`:`ContinueStatement`;this.raise(X.IllegalBreakContinue,{at:e,type:n})}}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,`DebuggerStatement`)}parseHeaderExpression(){this.expect(10);let e=this.parseExpression();return this.expect(11),e}parseDoWhileStatement(e){return this.next(),this.state.labels.push(Dr),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,`DoWhileStatement`)}parseForStatement(e){this.next(),this.state.labels.push(Dr);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(t=this.state.lastTokStartLoc),this.scope.enter(Re),this.expect(10),this.match(13))return t!==null&&this.unexpected(t),this.parseFor(e,null);let n=this.isContextual(99),r=this.isContextual(105)&&!this.hasFollowingLineBreak(),i=n&&this.hasFollowingBindingAtom()||r&&this.hasFollowingBindingIdentifier()&&this.startsUsingForOf();if(this.match(74)||this.match(75)||i){let n=this.startNode(),i=this.state.value;this.next(),this.parseVar(n,!0,i);let a=this.finishNode(n,`VariableDeclaration`),o=this.match(58);return o&&r&&this.raise(X.ForInUsing,{at:a}),(o||this.isContextual(101))&&a.declarations.length===1?this.parseForIn(e,a,t):(t!==null&&this.unexpected(t),this.parseFor(e,a))}let a=this.isContextual(95),o=new Mn,s=this.parseExpression(!0,o),c=this.isContextual(101);if(c&&(n&&this.raise(X.ForOfLet,{at:s}),t===null&&a&&s.type===`Identifier`&&this.raise(X.ForOfAsync,{at:s})),c||this.match(58)){this.checkDestructuringPrivate(o),this.toAssignable(s,!0);let n=c?`ForOfStatement`:`ForInStatement`;return this.checkLVal(s,{in:{type:n}}),this.parseForIn(e,s,t)}else this.checkExpressionErrors(o,!0);return t!==null&&this.unexpected(t),this.parseFor(e,s)}parseFunctionStatement(e,t,n){return this.next(),this.parseFunction(e,1|(n?2:0)|(t?8:0))}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),e.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(e,`IfStatement`)}parseReturnStatement(e){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(X.IllegalReturn,{at:this.state.startLoc}),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,`ReturnStatement`)}parseSwitchStatement(e){this.next(),e.discriminant=this.parseHeaderExpression();let t=e.cases=[];this.expect(5),this.state.labels.push(Or),this.scope.enter(Re);let n;for(let e;!this.match(8);)if(this.match(61)||this.match(65)){let r=this.match(61);n&&this.finishNode(n,`SwitchCase`),t.push(n=this.startNode()),n.consequent=[],this.next(),r?n.test=this.parseExpression():(e&&this.raise(X.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),e=!0,n.test=null),this.expect(14)}else n?n.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),n&&this.finishNode(n,`SwitchCase`),this.next(),this.state.labels.pop(),this.finishNode(e,`SwitchStatement`)}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(X.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,`ThrowStatement`)}parseCatchClauseParam(){let e=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&e.type===`Identifier`?He:0),this.checkLVal(e,{in:{type:`CatchClause`},binding:ut}),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.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(Re)),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),e.handler=this.finishNode(t,`CatchClause`)}return e.finalizer=this.eat(67)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(X.NoCatchOrFinally,{at:e}),this.finishNode(e,`TryStatement`)}parseVarStatement(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return this.next(),this.parseVar(e,!1,t,n),this.semicolon(),this.finishNode(e,`VariableDeclaration`)}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(Dr),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(e,`WhileStatement`)}parseWithStatement(e){return this.state.strict&&this.raise(X.StrictWith,{at:this.state.startLoc}),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(e,`WithStatement`)}parseEmptyStatement(e){return this.next(),this.finishNode(e,`EmptyStatement`)}parseLabeledStatement(e,t,n,r){for(let e of this.state.labels)e.name===t&&this.raise(X.LabelRedeclaration,{at:n,labelName:t});let i=P(this.state.type)?`loop`:this.match(71)?`switch`:null;for(let t=this.state.labels.length-1;t>=0;t--){let n=this.state.labels[t];if(n.statementStart===e.start)n.statementStart=this.state.start,n.kind=i;else break}return this.state.labels.push({name:t,kind:i,statementStart:this.state.start}),e.body=r&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),e.label=n,this.finishNode(e,`LabeledStatement`)}parseExpressionStatement(e,t,n){return e.expression=t,this.semicolon(),this.finishNode(e,`ExpressionStatement`)}parseBlock(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,n=arguments.length>2?arguments[2]:void 0,r=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(Re),this.parseBlockBody(r,e,!1,8,n),t&&this.scope.exit(),this.finishNode(r,`BlockStatement`)}isValidDirective(e){return e.type===`ExpressionStatement`&&e.expression.type===`StringLiteral`&&!e.expression.extra.parenthesized}parseBlockBody(e,t,n,r,i){let a=e.body=[],o=e.directives=[];this.parseBlockOrModuleBlockBody(a,t?o:void 0,n,r,i)}parseBlockOrModuleBlockBody(e,t,n,r,i){let a=this.state.strict,o=!1,s=!1;for(;!this.match(r);){let r=n?this.parseModuleItem():this.parseStatementListItem();if(t&&!s){if(this.isValidDirective(r)){let e=this.stmtToDirective(r);t.push(e),!o&&e.value.value===`use strict`&&(o=!0,this.setStrict(!0));continue}s=!0,this.state.strictErrors.clear()}e.push(r)}i&&i.call(this,o),a||this.setStrict(!1),this.next()}parseFor(e,t){return e.init=t,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,`ForStatement`)}parseForIn(e,t,n){let r=this.match(58);return this.next(),r?n!==null&&this.unexpected(n):e.await=n!==null,t.type===`VariableDeclaration`&&t.declarations[0].init!=null&&(!r||!this.options.annexB||this.state.strict||t.kind!==`var`||t.declarations[0].id.type!==`Identifier`)&&this.raise(X.ForInOfLoopInitializer,{at:t,type:r?`ForInStatement`:`ForOfStatement`}),t.type===`AssignmentPattern`&&this.raise(X.InvalidLhs,{at:t,ancestor:{type:`ForStatement`}}),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,r?`ForInStatement`:`ForOfStatement`)}parseVar(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i=e.declarations=[];for(e.kind=n;;){let e=this.startNode();if(this.parseVarId(e,n),e.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,e.init===null&&!r&&(e.id.type!==`Identifier`&&!(t&&(this.match(58)||this.isContextual(101)))?this.raise(X.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:`destructuring`}):n===`const`&&!(this.match(58)||this.isContextual(101))&&this.raise(X.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:`const`})),i.push(this.finishNode(e,`VariableDeclarator`)),!this.eat(12))break}return e}parseVarId(e,t){t===`using`&&!this.inModule&&this.match(96)&&this.raise(X.AwaitInUsingBinding,{at:this.state.startLoc});let n=this.parseBindingAtom();this.checkLVal(n,{in:{type:`VariableDeclarator`},binding:t===`var`?dt:lt}),e.id=n}parseAsyncFunctionExpression(e){return this.parseFunction(e,8)}parseFunction(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=t&2,r=!!(t&1),i=r&&!(t&4),a=!!(t&8);this.initFunction(e,a),this.match(55)&&(n&&this.raise(X.GeneratorInSingleStatementContext,{at:this.state.startLoc}),this.next(),e.generator=!0),r&&(e.id=this.parseFunctionId(i));let o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(Be),this.prodParam.enter(An(a,e.generator)),r||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,r?`FunctionDeclaration`:`FunctionExpression`)}),this.prodParam.exit(),this.scope.exit(),r&&!n&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=o,e}parseFunctionId(e){return e||E(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(bn()),e.params=this.parseBindingList(11,41,2|(t?4:0)),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?dt:lt:ft,e.id.loc.start)}parseClass(e,t,n){this.next();let r=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,n),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,r),this.finishNode(e,t?`ClassDeclaration`:`ClassExpression`)}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name===`constructor`||e.key.value===`constructor`)}parseClassBody(e,t){this.classScope.enter();let n={hadConstructor:!1,hadSuperClass:e},r=[],i=this.startNode();if(i.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(r.length>0)throw this.raise(X.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){r.push(this.parseDecorator());continue}let e=this.startNode();r.length&&(e.decorators=r,this.resetStartLocationFromNode(e,r[0]),r=[]),this.parseClassMember(i,e,n),e.kind===`constructor`&&e.decorators&&e.decorators.length>0&&this.raise(X.DecoratorConstructor,{at:e})}}),this.state.strict=t,this.next(),r.length)throw this.raise(X.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(i,`ClassBody`)}parseClassMemberFromModifier(e,t){let n=this.parseIdentifier(!0);if(this.isClassMethod()){let r=t;return r.kind=`method`,r.computed=!1,r.key=n,r.static=!1,this.pushClassMethod(e,r,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let r=t;return r.computed=!1,r.key=n,r.static=!1,e.body.push(this.parseClassProperty(r)),!0}return this.resetPreviousNodeTrailingComments(n),!1}parseClassMember(e,t,n){let r=this.isContextual(104);if(r){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,n,r)}parseClassMemberWithIsStatic(e,t,n,r){let i=t,a=t,o=t,s=t,c=t,l=i,u=i;if(t.static=r,this.parsePropertyNamePrefixOperator(t),this.eat(55)){l.kind=`method`;let t=this.match(136);if(this.parseClassElementName(l),t){this.pushClassPrivateMethod(e,a,!0,!1);return}this.isNonstaticConstructor(i)&&this.raise(X.ConstructorIsGenerator,{at:i.key}),this.pushClassMethod(e,i,!0,!1,!1,!1);return}let d=E(this.state.type)&&!this.state.containsEsc,f=this.match(136),p=this.parseClassElementName(t),m=this.state.startLoc;if(this.parsePostMemberNameModifiers(u),this.isClassMethod()){if(l.kind=`method`,f){this.pushClassPrivateMethod(e,a,!1,!1);return}let r=this.isNonstaticConstructor(i),o=!1;r&&(i.kind=`constructor`,n.hadConstructor&&!this.hasPlugin(`typescript`)&&this.raise(X.DuplicateConstructor,{at:p}),r&&this.hasPlugin(`typescript`)&&t.override&&this.raise(X.OverrideOnConstructor,{at:p}),n.hadConstructor=!0,o=n.hadSuperClass),this.pushClassMethod(e,i,!1,!1,r,o)}else if(this.isClassProperty())f?this.pushClassPrivateProperty(e,s):this.pushClassProperty(e,o);else if(d&&p.name===`async`&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(p);let t=this.eat(55);u.optional&&this.unexpected(m),l.kind=`method`;let n=this.match(136);this.parseClassElementName(l),this.parsePostMemberNameModifiers(u),n?this.pushClassPrivateMethod(e,a,t,!0):(this.isNonstaticConstructor(i)&&this.raise(X.ConstructorIsAsync,{at:i.key}),this.pushClassMethod(e,i,t,!0,!1,!1))}else if(d&&(p.name===`get`||p.name===`set`)&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(p),l.kind=p.name;let t=this.match(136);this.parseClassElementName(i),t?this.pushClassPrivateMethod(e,a,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(X.ConstructorIsAccessor,{at:i.key}),this.pushClassMethod(e,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}else if(d&&p.name===`accessor`&&!this.isLineTerminator()){this.expectPlugin(`decoratorAutoAccessors`),this.resetPreviousNodeTrailingComments(p);let t=this.match(136);this.parseClassElementName(o),this.pushClassAccessorProperty(e,c,t)}else this.isLineTerminator()?f?this.pushClassPrivateProperty(e,s):this.pushClassProperty(e,o):this.unexpected()}parseClassElementName(e){let{type:t,value:n}=this.state;if((t===130||t===131)&&e.static&&n===`prototype`&&this.raise(X.StaticPrototype,{at:this.state.startLoc}),t===136){n===`constructor`&&this.raise(X.ConstructorClassPrivateField,{at:this.state.startLoc});let t=this.parsePrivateName();return e.key=t,t}return this.parsePropertyName(e)}parseClassStaticBlock(e,t){var n;this.scope.enter(Ge|Ke|Ue);let r=this.state.labels;this.state.labels=[],this.prodParam.enter(wn);let i=t.body=[];this.parseBlockOrModuleBlockBody(i,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=r,e.body.push(this.finishNode(t,`StaticBlock`)),(n=t.decorators)!=null&&n.length&&this.raise(X.DecoratorStaticBlock,{at:t})}pushClassProperty(e,t){!t.computed&&(t.key.name===`constructor`||t.key.value===`constructor`)&&this.raise(X.ConstructorClassField,{at:t.key}),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){let n=this.parseClassPrivateProperty(t);e.body.push(n),this.classScope.declarePrivateName(this.getPrivateNameSV(n.key),jt,n.key.loc.start)}pushClassAccessorProperty(e,t,n){if(!n&&!t.computed){let e=t.key;(e.name===`constructor`||e.value===`constructor`)&&this.raise(X.ConstructorClassField,{at:e})}let r=this.parseClassAccessorProperty(t);e.body.push(r),n&&this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),jt,r.key.loc.start)}pushClassMethod(e,t,n,r,i,a){e.body.push(this.parseMethod(t,n,r,i,a,`ClassMethod`,!0))}pushClassPrivateMethod(e,t,n,r){let i=this.parseMethod(t,n,r,!1,!1,`ClassPrivateMethod`,!0);e.body.push(i);let a=i.kind===`get`?i.static?Dt:kt:i.kind===`set`?i.static?Ot:At:jt;this.declareClassPrivateMethodInScope(i,a)}declareClassPrivateMethodInScope(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,`ClassPrivateProperty`)}parseClassProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,`ClassProperty`)}parseClassAccessorProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,`ClassAccessorProperty`)}parseInitializer(e){this.scope.enter(Ge|Ue),this.expressionScope.enter(Cn()),this.prodParam.enter(wn),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:ct;if(E(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,r);else if(n||!t)e.id=null;else throw this.raise(X.MissingClassName,{at:this.state.startLoc})}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e,t){let n=this.maybeParseExportDefaultSpecifier(e),r=!n||this.eat(12),i=r&&this.eatExportStar(e),a=i&&this.maybeParseExportNamespaceSpecifier(e),o=r&&(!a||this.eat(12)),s=n||i;if(i&&!a){if(n&&this.unexpected(),t)throw this.raise(X.UnsupportedDecoratorExport,{at:e});return this.parseExportFrom(e,!0),this.finishNode(e,`ExportAllDeclaration`)}let c=this.maybeParseExportNamedSpecifiers(e);n&&r&&!i&&!c&&this.unexpected(null,5),a&&o&&this.unexpected(null,97);let l;if(s||c){if(l=!1,t)throw this.raise(X.UnsupportedDecoratorExport,{at:e});this.parseExportFrom(e,s)}else l=this.maybeParseExportDeclaration(e);if(s||c||l){let n=e;if(this.checkExport(n,!0,!1,!!n.source),n.declaration?.type===`ClassDeclaration`)this.maybeTakeDecorators(t,n.declaration,n);else if(t)throw this.raise(X.UnsupportedDecoratorExport,{at:e});return this.finishNode(n,`ExportNamedDeclaration`)}if(this.eat(65)){let n=e,r=this.parseExportDefaultExpression();if(n.declaration=r,r.type===`ClassDeclaration`)this.maybeTakeDecorators(t,r,n);else if(t)throw this.raise(X.UnsupportedDecoratorExport,{at:e});return this.checkExport(n,!0,!0),this.finishNode(n,`ExportDefaultDeclaration`)}this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin(`exportDefaultFrom`);let t=this.startNode();return t.exported=this.parseIdentifier(!0),e.specifiers=[this.finishNode(t,`ExportDefaultSpecifier`)],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(93)){e.specifiers||=[];let t=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),t.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(t,`ExportNamespaceSpecifier`)),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){e.specifiers||=[];let t=e.exportKind===`type`;return e.specifiers.push(...this.parseExportSpecifiers(t)),e.source=null,e.declaration=null,this.hasPlugin(`importAssertions`)&&(e.assertions=[]),!0}return!1}maybeParseExportDeclaration(e){return this.shouldParseExportDeclaration()?(e.specifiers=[],e.source=null,this.hasPlugin(`importAssertions`)&&(e.assertions=[]),e.declaration=this.parseExportDeclaration(e),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let e=this.nextTokenStart();return!Ht.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,`function`)}parseExportDefaultExpression(){let e=this.startNode();if(this.match(68))return this.next(),this.parseFunction(e,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(e,13);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin(`decorators`)&&this.getPluginOption(`decorators`,`decoratorsBeforeExport`)===!0&&this.raise(X.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(X.UnsupportedDefaultExport,{at:this.state.startLoc});let t=this.parseMaybeAssignAllowIn();return this.semicolon(),t}parseExportDeclaration(e){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:e}=this.state;if(E(e)){if(e===95&&!this.state.containsEsc||e===99)return!1;if((e===128||e===127)&&!this.state.containsEsc){let{type:e}=this.lookahead();if(E(e)&&e!==97||e===5)return this.expectOnePlugin([`flow`,`typescript`]),!1}}else if(!this.match(65))return!1;let t=this.nextTokenStart(),n=this.isUnparsedContextual(t,`from`);if(this.input.charCodeAt(t)===44||E(this.state.type)&&n)return!0;if(this.match(65)&&n){let e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return e===34||e===39}return!1}parseExportFrom(e,t){if(this.eatContextual(97)){e.source=this.parseImportSource(),this.checkExport(e);let t=this.maybeParseImportAssertions();t&&(e.assertions=t,this.checkJSONModuleImport(e))}else t&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){let{type:e}=this.state;return e===26&&(this.expectOnePlugin([`decorators`,`decorators-legacy`]),this.hasPlugin(`decorators`))?(this.getPluginOption(`decorators`,`decoratorsBeforeExport`)===!0&&this.raise(X.DecoratorBeforeExport,{at:this.state.startLoc}),!0):e===74||e===75||e===68||e===80||this.isLet()||this.isAsyncFunction()}checkExport(e,t,n,r){if(t){if(n){if(this.checkDuplicateExports(e,`default`),this.hasPlugin(`exportDefaultFrom`)){var i;let t=e.declaration;t.type===`Identifier`&&t.name===`from`&&t.end-t.start===4&&!((i=t.extra)!=null&&i.parenthesized)&&this.raise(X.ExportDefaultFromAsIdentifier,{at:t})}}else if(e.specifiers&&e.specifiers.length)for(let t of e.specifiers){let{exported:e}=t,n=e.type===`Identifier`?e.name:e.value;if(this.checkDuplicateExports(t,n),!r&&t.local){let{local:e}=t;e.type===`Identifier`?(this.checkReservedWord(e.name,e.loc.start,!0,!1),this.scope.checkLocalExport(e)):this.raise(X.ExportBindingIsString,{at:t,localName:e.value,exportName:n})}}else if(e.declaration){if(e.declaration.type===`FunctionDeclaration`||e.declaration.type===`ClassDeclaration`){let t=e.declaration.id;if(!t)throw Error(`Assertion failure`);this.checkDuplicateExports(e,t.name)}else if(e.declaration.type===`VariableDeclaration`)for(let t of e.declaration.declarations)this.checkDeclaration(t.id)}}}checkDeclaration(e){if(e.type===`Identifier`)this.checkDuplicateExports(e,e.name);else if(e.type===`ObjectPattern`)for(let t of e.properties)this.checkDeclaration(t);else if(e.type===`ArrayPattern`)for(let t of e.elements)t&&this.checkDeclaration(t);else e.type===`ObjectProperty`?this.checkDeclaration(e.value):e.type===`RestElement`?this.checkDeclaration(e.argument):e.type===`AssignmentPattern`&&this.checkDeclaration(e.left)}checkDuplicateExports(e,t){this.exportedIdentifiers.has(t)&&(t===`default`?this.raise(X.DuplicateDefaultExport,{at:e}):this.raise(X.DuplicateExport,{at:e,exportName:t})),this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){let t=[],n=!0;for(this.expect(5);!this.eat(8);){if(n)n=!1;else if(this.expect(12),this.eat(8))break;let r=this.isContextual(128),i=this.match(131),a=this.startNode();a.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(a,i,e,r))}return t}parseExportSpecifier(e,t,n,r){return this.eatContextual(93)?e.exported=this.parseModuleExportName():t?e.exported=Ln(e.local):e.exported||=In(e.local),this.finishNode(e,`ExportSpecifier`)}parseModuleExportName(){if(this.match(131)){let e=this.parseStringLiteral(this.state.value),t=e.value.match(kr);return t&&this.raise(X.ModuleExportNameHasLoneSurrogate,{at:e,surrogateCharCode:t[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}isJSONModuleImport(e){return e.assertions==null?!1:e.assertions.some(e=>{let{key:t,value:n}=e;return n.value===`json`&&(t.type===`Identifier`?t.name===`type`:t.value===`type`)})}checkImportReflection(e){e.module&&((e.specifiers.length!==1||e.specifiers[0].type!==`ImportDefaultSpecifier`)&&this.raise(X.ImportReflectionNotBinding,{at:e.specifiers[0].loc.start}),e.assertions?.length>0&&this.raise(X.ImportReflectionHasAssertion,{at:e.specifiers[0].loc.start}))}checkJSONModuleImport(e){if(this.isJSONModuleImport(e)&&e.type!==`ExportAllDeclaration`){let{specifiers:t}=e;if(t!=null){let e=t.find(e=>{let t;if(e.type===`ExportSpecifier`?t=e.local:e.type===`ImportSpecifier`&&(t=e.imported),t!==void 0)return t.type===`Identifier`?t.name!==`default`:t.value!==`default`});e!==void 0&&this.raise(X.ImportJSONBindingNotDefault,{at:e.loc.start})}}}parseMaybeImportReflection(e){let t=!1;if(this.isContextual(125)){let e=this.lookahead(),n=e.type;E(n)?(n!==97||this.input.charCodeAt(this.nextTokenStartSince(e.end))===102)&&(t=!0):n!==12&&(t=!0)}t?(this.expectPlugin(`importReflection`),this.next(),e.module=!0):this.hasPlugin(`importReflection`)&&(e.module=!1)}parseImport(e){if(e.specifiers=[],!this.match(131)){this.parseMaybeImportReflection(e);let t=!this.maybeParseDefaultImportSpecifier(e)||this.eat(12),n=t&&this.maybeParseStarImportSpecifier(e);t&&!n&&this.parseNamedImportSpecifiers(e),this.expectContextual(97)}e.source=this.parseImportSource();let t=this.maybeParseImportAssertions();if(t)e.assertions=t;else{let t=this.maybeParseModuleAttributes();t&&(e.attributes=t)}return this.checkImportReflection(e),this.checkJSONModuleImport(e),this.semicolon(),this.finishNode(e,`ImportDeclaration`)}parseImportSource(){return this.match(131)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(e){return E(this.state.type)}parseImportSpecifierLocal(e,t,n){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,n))}finishImportSpecifier(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:lt;return this.checkLVal(e.local,{in:{type:t},binding:n}),this.finishNode(e,t)}parseAssertEntries(){let e=[],t=new Set;do{if(this.match(8))break;let n=this.startNode(),r=this.state.value;if(t.has(r)&&this.raise(X.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:r}),t.add(r),this.match(131)?n.key=this.parseStringLiteral(r):n.key=this.parseIdentifier(!0),this.expect(14),!this.match(131))throw this.raise(X.ModuleAttributeInvalidValue,{at:this.state.startLoc});n.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(n,`ImportAttribute`))}while(this.eat(12));return e}maybeParseModuleAttributes(){if(this.match(76)&&!this.hasPrecedingLineBreak())this.expectPlugin(`moduleAttributes`),this.next();else return this.hasPlugin(`moduleAttributes`)?[]:null;let e=[],t=new Set;do{let n=this.startNode();if(n.key=this.parseIdentifier(!0),n.key.name!==`type`&&this.raise(X.ModuleAttributeDifferentFromType,{at:n.key}),t.has(n.key.name)&&this.raise(X.ModuleAttributesWithDuplicateKeys,{at:n.key,key:n.key.name}),t.add(n.key.name),this.expect(14),!this.match(131))throw this.raise(X.ModuleAttributeInvalidValue,{at:this.state.startLoc});n.value=this.parseStringLiteral(this.state.value),this.finishNode(n,`ImportAttribute`),e.push(n)}while(this.eat(12));return e}maybeParseImportAssertions(){if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.expectPlugin(`importAssertions`),this.next();else return this.hasPlugin(`importAssertions`)?[]:null;this.eat(5);let e=this.parseAssertEntries();return this.eat(8),e}maybeParseDefaultImportSpecifier(e){return this.shouldParseDefaultImport(e)?(this.parseImportSpecifierLocal(e,this.startNode(),`ImportDefaultSpecifier`),!0):!1}maybeParseStarImportSpecifier(e){if(this.match(55)){let t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(e,t,`ImportNamespaceSpecifier`),!0}return!1}parseNamedImportSpecifiers(e){let t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(X.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let n=this.startNode(),r=this.match(131),i=this.isContextual(128);n.imported=this.parseModuleExportName();let a=this.parseImportSpecifier(n,r,e.importKind===`type`||e.importKind===`typeof`,i,void 0);e.specifiers.push(a)}}parseImportSpecifier(e,t,n,r,i){if(this.eatContextual(93))e.local=this.parseIdentifier();else{let{imported:n}=e;if(t)throw this.raise(X.ImportBindingIsString,{at:e,importName:n.value});this.checkReservedWord(n.name,e.loc.start,!0,!0),e.local||=In(n)}return this.finishImportSpecifier(e,`ImportSpecifier`,i)}isThisParam(e){return e.type===`Identifier`&&e.name===`this`}},Nr=class extends Mr{constructor(e,t){e=n(e),super(e,t),this.options=e,this.initializeScopes(),this.plugins=Pr(this.options.plugins),this.filename=e.sourceFilename}getScopeHandler(){return Nt}parse(){this.enterInitialScopes();let e=this.startNode(),t=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,t),e.errors=this.state.errors,e}};function Pr(e){let t=new Map;for(let n of e){let[e,r]=Array.isArray(n)?n:[n,{}];t.has(e)||t.set(e,r||{})}return t}function Fr(e,t){if(t?.sourceType===`unambiguous`){t=Object.assign({},t);try{t.sourceType=`module`;let n=zr(t,e),r=n.parse();if(n.sawUnambiguousESM)return r;if(n.ambiguousScriptDifferentAst)try{return t.sourceType=`script`,zr(t,e).parse()}catch{}else r.program.sourceType=`script`;return r}catch(n){try{return t.sourceType=`script`,zr(t,e).parse()}catch{}throw n}}else return zr(t,e).parse()}function Ir(e,t){let n=zr(t,e);return n.options.strictMode&&(n.state.strict=!0),n.getExpression()}function Lr(e){let t={};for(let n of Object.keys(e))t[n]=G(e[n]);return t}var Rr=Lr(T);function zr(e,t){let n=Nr;return e!=null&&e.plugins&&(Cr(e.plugins),n=Vr(e.plugins)),new n(e,t)}var Br={};function Vr(e){let t=Tr.filter(t=>vr(e,t)),n=t.join(`/`),r=Br[n];if(!r){r=Nr;for(let e of t)r=wr[e](r);Br[n]=r}return r}e.parse=Fr,e.parseExpression=Ir,e.tokTypes=Rr}}),se=s({"src/language-js/parse/json.js"(e,t){d();var n=W(),r=q(),i=K(),a=ee();function o(){let{allowComments:e=!0}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return function(t){let{parseExpression:r}=oe(),i;try{i=r(t,{tokens:!0,ranges:!0})}catch(e){throw a(e)}if(!e&&n(i.comments))throw s(i.comments[0],`Comment`);return c(i),i}}function s(e,t){let[n,i]=[e.loc.start,e.loc.end].map(e=>{let{line:t,column:n}=e;return{line:t,column:n+1}});return r(`${t} is not allowed in JSON.`,{start:n,end:i})}function c(e){switch(e.type){case`ArrayExpression`:for(let t of e.elements)t!==null&&c(t);return;case`ObjectExpression`:for(let t of e.properties)c(t);return;case`ObjectProperty`:if(e.computed)throw s(e.key,`Computed key`);if(e.shorthand)throw s(e.key,`Shorthand property`);e.key.type!==`Identifier`&&c(e.key),c(e.value);return;case`UnaryExpression`:{let{operator:t,argument:n}=e;if(t!==`+`&&t!==`-`)throw s(e,`Operator '${e.operator}'`);if(n.type===`NumericLiteral`||n.type===`Identifier`&&(n.name===`Infinity`||n.name===`NaN`))return;throw s(n,`Operator '${t}' before '${n.type}'`)}case`Identifier`:if(e.name!==`Infinity`&&e.name!==`NaN`&&e.name!==`undefined`)throw s(e,`Identifier '${e.name}'`);return;case`TemplateLiteral`:if(n(e.expressions))throw s(e.expressions[0],`'TemplateLiteral' with expression`);for(let t of e.quasis)c(t);return;case`NullLiteral`:case`BooleanLiteral`:case`NumericLiteral`:case`StringLiteral`:case`TemplateElement`:return;default:throw s(e,`'${e.type}'`)}}var l=o();t.exports={json:i({parse:l,hasPragma(){return!0}}),json5:i(l),"json-stringify":i({parse:o({allowComments:!1}),astFormat:`estree-json`})}}});d();var ce=f(),le=p(),ue=v(),de=K(),fe=ee(),pe=ae(),X=se(),Z={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},me=[`recordAndTuple`,{syntaxType:`hash`}],he=`v8intrinsic`,_e=[[`pipelineOperator`,{proposal:`hack`,topicToken:`%`}],[`pipelineOperator`,{proposal:`minimal`}],[`pipelineOperator`,{proposal:`fsharp`}]],ve=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Z;return Object.assign(Object.assign({},t),{},{plugins:[...t.plugins,...e]})},be=/@(?:no)?flow\b/;function xe(e,t){if(t.filepath&&t.filepath.endsWith(`.js.flow`))return!0;let n=le(e);n&&(e=e.slice(n.length));let r=ue(e,0);return r!==!1&&(e=e.slice(0,r)),be.test(e)}function Se(e,t,n){let r=oe()[e],i=r(t,n),a=i.errors.find(e=>!je.has(e.reasonCode));if(a)throw a;return i}function Ce(e){var t=[...arguments].slice(1);return function(n,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if((i.parser===`babel`||i.parser===`__babel_estree`)&&xe(n,i))return i.parser=`babel-flow`,Te(n,r,i);let a=t;i.__babelSourceType===`script`&&(a=a.map(e=>Object.assign(Object.assign({},e),{},{sourceType:`script`}))),/#[[{]/.test(n)&&(a=a.map(e=>ve([me],e)));let o=/%[A-Z]/.test(n);n.includes(`|>`)?a=(o?[..._e,he]:_e).flatMap(e=>a.map(t=>ve([e],t))):o&&(a=a.map(e=>ve([he],e)));let{result:s,error:c}=ce(...a.map(t=>()=>Se(e,n,t)));if(!s)throw fe(c);return i.originalText=n,pe(s,i)}}var we=Ce(`parse`,ve([`jsx`,`flow`])),Te=Ce(`parse`,ve([`jsx`,[`flow`,{all:!0,enums:!0}]])),Ee=Ce(`parse`,ve([`jsx`,`typescript`]),ve([`typescript`])),De=Ce(`parse`,ve([`jsx`,`flow`,`estree`])),Oe=Ce(`parseExpression`,ve([`jsx`])),ke=Ce(`parseExpression`,ve([`typescript`])),je=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`.split(`.`)),Me=de(we),Ne=de(Ee),Pe=de(Oe),Fe=de(ke);t.exports={parsers:Object.assign(Object.assign({babel:Me,"babel-flow":de(Te),"babel-ts":Ne},X),{},{__js_expression:Pe,__vue_expression:Pe,__vue_ts_expression:Fe,__vue_event_binding:Me,__vue_ts_event_binding:Ne,__babel_estree:de(De)})}})()})})),Z=ie(((e,t)=>{(function(n){if(typeof e==`object`&&typeof t==`object`)t.exports=n();else if(typeof define==`function`&&define.amd)define(n);else{var r=typeof globalThis<`u`?globalThis:typeof global<`u`?global:typeof self<`u`?self:this||{};r.prettierPlugins=r.prettierPlugins||{},r.prettierPlugins.html=n()}})(function(){var e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),t=e((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n(typeof globalThis==`object`&&globalThis)||n(typeof window==`object`&&window)||n(typeof self==`object`&&self)||n(typeof global==`object`&&global)||function(){return this}()||Function(`return this`)()}),n=e((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}}),r=e((e,t)=>{t.exports=!n()(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),i=e((e,t)=>{t.exports=!n()(function(){var e=function(){}.bind();return typeof e!=`function`||e.hasOwnProperty(`prototype`)})}),a=e((e,t)=>{var n=i(),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}}),o=e(e=>{var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor;e.f=n&&!t.call({1:2},1)?function(e){var t=n(this,e);return!!t&&t.enumerable}:t}),s=e((e,t)=>{t.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}}),c=e((e,t)=>{var n=i(),r=Function.prototype,a=r.call,o=n&&r.bind.bind(a,a);t.exports=n?o:function(e){return function(){return a.apply(e,arguments)}}}),l=e((e,t)=>{var n=c(),r=n({}.toString),i=n(``.slice);t.exports=function(e){return i(r(e),8,-1)}}),u=e((e,t)=>{var r=c(),i=n(),a=l(),o=Object,s=r(``.split);t.exports=i(function(){return!o(`z`).propertyIsEnumerable(0)})?function(e){return a(e)==`String`?s(e,``):o(e)}:o}),d=e((e,t)=>{t.exports=function(e){return e==null}}),f=e((e,t)=>{var n=d(),r=TypeError;t.exports=function(e){if(n(e))throw r(`Can't call method on `+e);return e}}),p=e((e,t)=>{var n=u(),r=f();t.exports=function(e){return n(r(e))}}),m=e((e,t)=>{var n=typeof document==`object`&&document.all;t.exports={all:n,IS_HTMLDDA:typeof n>`u`&&n!==void 0}}),h=e((e,t)=>{var n=m(),r=n.all;t.exports=n.IS_HTMLDDA?function(e){return typeof e==`function`||e===r}:function(e){return typeof e==`function`}}),g=e((e,t)=>{var n=h(),r=m(),i=r.all;t.exports=r.IS_HTMLDDA?function(e){return typeof e==`object`?e!==null:n(e)||e===i}:function(e){return typeof e==`object`?e!==null:n(e)}}),_=e((e,n)=>{var r=t(),i=h(),a=function(e){return i(e)?e:void 0};n.exports=function(e,t){return arguments.length<2?a(r[e]):r[e]&&r[e][t]}}),v=e((e,t)=>{t.exports=c()({}.isPrototypeOf)}),y=e((e,t)=>{t.exports=_()(`navigator`,`userAgent`)||``}),b=e((e,n)=>{var r=t(),i=y(),a=r.process,o=r.Deno,s=a&&a.versions||o&&o.version,c=s&&s.v8,l,u;c&&(l=c.split(`.`),u=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!u&&i&&(l=i.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=i.match(/Chrome\/(\d+)/),l&&(u=+l[1]))),n.exports=u}),x=e((e,t)=>{var r=b(),i=n();t.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})}),S=e((e,t)=>{t.exports=x()&&!Symbol.sham&&typeof Symbol.iterator==`symbol`}),C=e((e,t)=>{var n=_(),r=h(),i=v(),a=S(),o=Object;t.exports=a?function(e){return typeof e==`symbol`}:function(e){var t=n(`Symbol`);return r(t)&&i(t.prototype,o(e))}}),w=e((e,t)=>{var n=String;t.exports=function(e){try{return n(e)}catch{return`Object`}}}),T=e((e,t)=>{var n=h(),r=w(),i=TypeError;t.exports=function(e){if(n(e))return e;throw i(r(e)+` is not a function`)}}),E=e((e,t)=>{var n=T(),r=d();t.exports=function(e,t){var i=e[t];return r(i)?void 0:n(i)}}),D=e((e,t)=>{var n=a(),r=h(),i=g(),o=TypeError;t.exports=function(e,t){var a,s;if(t===`string`&&r(a=e.toString)&&!i(s=n(a,e))||r(a=e.valueOf)&&!i(s=n(a,e))||t!==`string`&&r(a=e.toString)&&!i(s=n(a,e)))return s;throw o(`Can't convert object to primitive value`)}}),O=e((e,t)=>{t.exports=!1}),k=e((e,n)=>{var r=t(),i=Object.defineProperty;n.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch{r[e]=t}return t}}),A=e((e,n)=>{var r=t(),i=k(),a=`__core-js_shared__`;n.exports=r[a]||i(a,{})}),j=e((e,t)=>{var n=O(),r=A();(t.exports=function(e,t){return r[e]||(r[e]=t===void 0?{}:t)})(`versions`,[]).push({version:`3.26.1`,mode:n?`pure`:`global`,copyright:`© 2014-2022 Denis Pushkarev (zloirock.ru)`,license:`https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE`,source:`https://github.com/zloirock/core-js`})}),M=e((e,t)=>{var n=f(),r=Object;t.exports=function(e){return r(n(e))}}),N=e((e,t)=>{var n=c(),r=M(),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(r(e),t)}}),P=e((e,t)=>{var n=c(),r=0,i=Math.random(),a=n(1 .toString);t.exports=function(e){return`Symbol(`+(e===void 0?``:e)+`)_`+a(++r+i,36)}}),F=e((e,n)=>{var r=t(),i=j(),a=N(),o=P(),s=x(),c=S(),l=i(`wks`),u=r.Symbol,d=u&&u.for,f=c?u:u&&u.withoutSetter||o;n.exports=function(e){if(!a(l,e)||!(s||typeof l[e]==`string`)){var t=`Symbol.`+e;s&&a(u,e)?l[e]=u[e]:c&&d?l[e]=d(t):l[e]=f(t)}return l[e]}}),I=e((e,t)=>{var n=a(),r=g(),i=C(),o=E(),s=D(),c=F(),l=TypeError,u=c(`toPrimitive`);t.exports=function(e,t){if(!r(e)||i(e))return e;var a=o(e,u),c;if(a){if(t===void 0&&(t=`default`),c=n(a,e,t),!r(c)||i(c))return c;throw l(`Can't convert object to primitive value`)}return t===void 0&&(t=`number`),s(e,t)}}),L=e((e,t)=>{var n=I(),r=C();t.exports=function(e){var t=n(e,`string`);return r(t)?t:t+``}}),R=e((e,n)=>{var r=t(),i=g(),a=r.document,o=i(a)&&i(a.createElement);n.exports=function(e){return o?a.createElement(e):{}}}),z=e((e,t)=>{var i=r(),a=n(),o=R();t.exports=!i&&!a(function(){return Object.defineProperty(o(`div`),`a`,{get:function(){return 7}}).a!=7})}),B=e(e=>{var t=r(),n=a(),i=o(),c=s(),l=p(),u=L(),d=N(),f=z(),m=Object.getOwnPropertyDescriptor;e.f=t?m:function(e,t){if(e=l(e),t=u(t),f)try{return m(e,t)}catch{}if(d(e,t))return c(!n(i.f,e,t),e[t])}}),V=e((e,t)=>{var i=r(),a=n();t.exports=i&&a(function(){return Object.defineProperty(function(){},`prototype`,{value:42,writable:!1}).prototype!=42})}),H=e((e,t)=>{var n=g(),r=String,i=TypeError;t.exports=function(e){if(n(e))return e;throw i(r(e)+` is not an object`)}}),U=e(e=>{var t=r(),n=z(),i=V(),a=H(),o=L(),s=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u=`enumerable`,d=`configurable`,f=`writable`;e.f=t?i?function(e,t,n){if(a(e),t=o(t),a(n),typeof e==`function`&&t===`prototype`&&`value`in n&&f in n&&!n[f]){var r=l(e,t);r&&r[f]&&(e[t]=n.value,n={configurable:d in n?n[d]:r[d],enumerable:u in n?n[u]:r[u],writable:!1})}return c(e,t,n)}:c:function(e,t,r){if(a(e),t=o(t),a(r),n)try{return c(e,t,r)}catch{}if(`get`in r||`set`in r)throw s(`Accessors not supported`);return`value`in r&&(e[t]=r.value),e}}),W=e((e,t)=>{var n=r(),i=U(),a=s();t.exports=n?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}}),G=e((e,t)=>{var n=r(),i=N(),a=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,s=i(a,`name`);t.exports={EXISTS:s,PROPER:s&&function(){}.name===`something`,CONFIGURABLE:s&&(!n||n&&o(a,`name`).configurable)}}),K=e((e,t)=>{var n=c(),r=h(),i=A(),a=n(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),t.exports=i.inspectSource}),q=e((e,n)=>{var r=t(),i=h(),a=r.WeakMap;n.exports=i(a)&&/native code/.test(String(a))}),ee=e((e,t)=>{var n=j(),r=P(),i=n(`keys`);t.exports=function(e){return i[e]||(i[e]=r(e))}}),J=e((e,t)=>{t.exports={}}),te=e((e,n)=>{var r=q(),i=t(),a=g(),o=W(),s=N(),c=A(),l=ee(),u=J(),d=`Object already initialized`,f=i.TypeError,p=i.WeakMap,m,h,_,v=function(e){return _(e)?h(e):m(e,{})},y=function(e){return function(t){var n;if(!a(t)||(n=h(t)).type!==e)throw f(`Incompatible receiver, `+e+` required`);return n}};r||c.state?(b=c.state||=new p,b.get=b.get,b.has=b.has,b.set=b.set,m=function(e,t){if(b.has(e))throw f(d);return t.facade=e,b.set(e,t),t},h=function(e){return b.get(e)||{}},_=function(e){return b.has(e)}):(x=l(`state`),u[x]=!0,m=function(e,t){if(s(e,x))throw f(d);return t.facade=e,o(e,x,t),t},h=function(e){return s(e,x)?e[x]:{}},_=function(e){return s(e,x)});var b,x;n.exports={set:m,get:h,has:_,enforce:v,getterFor:y}}),ne=e((e,t)=>{var i=n(),a=h(),o=N(),s=r(),c=G().CONFIGURABLE,l=K(),u=te(),d=u.enforce,f=u.get,p=Object.defineProperty,m=s&&!i(function(){return p(function(){},`length`,{value:8}).length!==8}),g=String(String).split(`String`),_=t.exports=function(e,t,n){String(t).slice(0,7)===`Symbol(`&&(t=`[`+String(t).replace(/^Symbol\(([^)]*)\)/,`$1`)+`]`),n&&n.getter&&(t=`get `+t),n&&n.setter&&(t=`set `+t),(!o(e,`name`)||c&&e.name!==t)&&(s?p(e,`name`,{value:t,configurable:!0}):e.name=t),m&&n&&o(n,`arity`)&&e.length!==n.arity&&p(e,`length`,{value:n.arity});try{n&&o(n,`constructor`)&&n.constructor?s&&p(e,`prototype`,{writable:!1}):e.prototype&&=void 0}catch{}var r=d(e);return o(r,`source`)||(r.source=g.join(typeof t==`string`?t:``)),e};Function.prototype.toString=_(function(){return a(this)&&f(this).source||l(this)},`toString`)}),Y=e((e,t)=>{var n=h(),r=U(),i=ne(),a=k();t.exports=function(e,t,o,s){s||={};var c=s.enumerable,l=s.name===void 0?t:s.name;if(n(o)&&i(o,l,s),s.global)c?e[t]=o:a(t,o);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch{}c?e[t]=o:r.f(e,t,{value:o,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}}),re=e((e,t)=>{var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}}),ie=e((e,t)=>{var n=re();t.exports=function(e){var t=+e;return t!==t||t===0?0:n(t)}}),ae=e((e,t)=>{var n=ie(),r=Math.max,i=Math.min;t.exports=function(e,t){var a=n(e);return a<0?r(a+t,0):i(a,t)}}),oe=e((e,t)=>{var n=ie(),r=Math.min;t.exports=function(e){return e>0?r(n(e),9007199254740991):0}}),se=e((e,t)=>{var n=oe();t.exports=function(e){return n(e.length)}}),ce=e((e,t)=>{var n=p(),r=ae(),i=se(),a=function(e){return function(t,a,o){var s=n(t),c=i(s),l=r(o,c),u;if(e&&a!=a){for(;c>l;)if(u=s[l++],u!=u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===a)return e||l||0;return!e&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}}),le=e((e,t)=>{var n=c(),r=N(),i=p(),a=ce().indexOf,o=J(),s=n([].push);t.exports=function(e,t){var n=i(e),c=0,l=[],u;for(u in n)!r(o,u)&&r(n,u)&&s(l,u);for(;t.length>c;)r(n,u=t[c++])&&(~a(l,u)||s(l,u));return l}}),ue=e((e,t)=>{t.exports=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`]}),de=e(e=>{var t=le(),n=ue().concat(`length`,`prototype`);e.f=Object.getOwnPropertyNames||function(e){return t(e,n)}}),fe=e(e=>{e.f=Object.getOwnPropertySymbols}),pe=e((e,t)=>{var n=_(),r=c(),i=de(),a=fe(),o=H(),s=r([].concat);t.exports=n(`Reflect`,`ownKeys`)||function(e){var t=i.f(o(e)),n=a.f;return n?s(t,n(e)):t}}),X=e((e,t)=>{var n=N(),r=pe(),i=B(),a=U();t.exports=function(e,t,o){for(var s=r(t),c=a.f,l=i.f,u=0;u<s.length;u++){var d=s[u];!n(e,d)&&!(o&&n(o,d))&&c(e,d,l(t,d))}}}),Z=e((e,t)=>{var r=n(),i=h(),a=/#|\.prototype\./,o=function(e,t){var n=c[s(e)];return n==u?!0:n==l?!1:i(t)?r(t):!!t},s=o.normalize=function(e){return String(e).replace(a,`.`).toLowerCase()},c=o.data={},l=o.NATIVE=`N`,u=o.POLYFILL=`P`;t.exports=o}),me=e((e,n)=>{var r=t(),i=B().f,a=W(),o=Y(),s=k(),c=X(),l=Z();n.exports=function(e,t){var n=e.target,u=e.global,d=e.stat,f,p,m,h,g,_;if(p=u?r:d?r[n]||s(n,{}):(r[n]||{}).prototype,p)for(m in t){if(g=t[m],e.dontCallGetSet?(_=i(p,m),h=_&&_.value):h=p[m],f=l(u?m:n+(d?`.`:`#`)+m,e.forced),!f&&h!==void 0){if(typeof g==typeof h)continue;c(g,h)}(e.sham||h&&h.sham)&&a(g,`sham`,!0),o(p,m,g,e)}}}),he=e(()=>{var e=me(),n=t();e({global:!0,forced:n.globalThis!==n},{globalThis:n})}),ge=e(()=>{he()}),_e=e((e,t)=>{var n=l();t.exports=Array.isArray||function(e){return n(e)==`Array`}}),ve=e((e,t)=>{var n=TypeError,r=9007199254740991;t.exports=function(e){if(e>r)throw n(`Maximum allowed index exceeded`);return e}}),ye=e((e,t)=>{var n=l(),r=c();t.exports=function(e){if(n(e)===`Function`)return r(e)}}),be=e((e,t)=>{var n=ye(),r=T(),a=i(),o=n(n.bind);t.exports=function(e,t){return r(e),t===void 0?e:a?o(e,t):function(){return e.apply(t,arguments)}}}),xe=e((e,t)=>{var n=_e(),r=se(),i=ve(),a=be(),o=function(e,t,s,c,l,u,d,f){for(var p=l,m=0,h=d?a(d,f):!1,g,_;m<c;)m in s&&(g=h?h(s[m],m,t):s[m],u>0&&n(g)?(_=r(g),p=o(e,t,g,_,p,u-1)-1):(i(p+1),e[p]=g),p++),m++;return p};t.exports=o}),Se=e((e,t)=>{var n=F()(`toStringTag`),r={};r[n]=`z`,t.exports=String(r)===`[object z]`}),Ce=e((e,t)=>{var n=Se(),r=h(),i=l(),a=F()(`toStringTag`),o=Object,s=i(function(){return arguments}())==`Arguments`,c=function(e,t){try{return e[t]}catch{}};t.exports=n?i:function(e){var t,n,l;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=c(t=o(e),a))==`string`?n:s?i(t):(l=i(t))==`Object`&&r(t.callee)?`Arguments`:l}}),we=e((e,t)=>{var r=c(),i=n(),a=h(),o=Ce(),s=_(),l=K(),u=function(){},d=[],f=s(`Reflect`,`construct`),p=/^\s*(?:class|function)\b/,m=r(p.exec),g=!p.exec(u),v=function(e){if(!a(e))return!1;try{return f(u,d,e),!0}catch{return!1}},y=function(e){if(!a(e))return!1;switch(o(e)){case`AsyncFunction`:case`GeneratorFunction`:case`AsyncGeneratorFunction`:return!1}try{return g||!!m(p,l(e))}catch{return!0}};y.sham=!0,t.exports=!f||i(function(){var e;return v(v.call)||!v(Object)||!v(function(){e=!0})||e})?y:v}),Te=e((e,t)=>{var n=_e(),r=we(),i=g(),a=F()(`species`),o=Array;t.exports=function(e){var t;return n(e)&&(t=e.constructor,r(t)&&(t===o||n(t.prototype))?t=void 0:i(t)&&(t=t[a],t===null&&(t=void 0))),t===void 0?o:t}}),Ee=e((e,t)=>{var n=Te();t.exports=function(e,t){return new(n(e))(t===0?0:t)}}),De=e(()=>{var e=me(),t=xe(),n=T(),r=M(),i=se(),a=Ee();e({target:`Array`,proto:!0},{flatMap:function(e){var o=r(this),s=i(o),c;return n(e),c=a(o,0),c.length=t(c,o,o,s,0,1,e,arguments.length>1?arguments[1]:void 0),c}})}),Oe=e((e,t)=>{t.exports={}}),ke=e((e,t)=>{var n=F(),r=Oe(),i=n(`iterator`),a=Array.prototype;t.exports=function(e){return e!==void 0&&(r.Array===e||a[i]===e)}}),Ae=e((e,t)=>{var n=Ce(),r=E(),i=d(),a=Oe(),o=F()(`iterator`);t.exports=function(e){if(!i(e))return r(e,o)||r(e,`@@iterator`)||a[n(e)]}}),je=e((e,t)=>{var n=a(),r=T(),i=H(),o=w(),s=Ae(),c=TypeError;t.exports=function(e,t){var a=arguments.length<2?s(e):t;if(r(a))return i(n(a,e));throw c(o(e)+` is not iterable`)}}),Me=e((e,t)=>{var n=a(),r=H(),i=E();t.exports=function(e,t,a){var o,s;r(e);try{if(o=i(e,`return`),!o){if(t===`throw`)throw a;return a}o=n(o,e)}catch(e){s=!0,o=e}if(t===`throw`)throw a;if(s)throw o;return r(o),a}}),Ne=e((e,t)=>{var n=be(),r=a(),i=H(),o=w(),s=ke(),c=se(),l=v(),u=je(),d=Ae(),f=Me(),p=TypeError,m=function(e,t){this.stopped=e,this.result=t},h=m.prototype;t.exports=function(e,t,a){var g=a&&a.that,_=!!(a&&a.AS_ENTRIES),v=!!(a&&a.IS_RECORD),y=!!(a&&a.IS_ITERATOR),b=!!(a&&a.INTERRUPTED),x=n(t,g),S,C,w,T,E,D,O,k=function(e){return S&&f(S,`normal`,e),new m(!0,e)},A=function(e){return _?(i(e),b?x(e[0],e[1],k):x(e[0],e[1])):b?x(e,k):x(e)};if(v)S=e.iterator;else if(y)S=e;else{if(C=d(e),!C)throw p(o(e)+` is not iterable`);if(s(C)){for(w=0,T=c(e);T>w;w++)if(E=A(e[w]),E&&l(h,E))return E;return new m(!1)}S=u(e,C)}for(D=v?e.next:S.next;!(O=r(D,S)).done;){try{E=A(O.value)}catch(e){f(S,`throw`,e)}if(typeof E==`object`&&E&&l(h,E))return E}return new m(!1)}}),Pe=e((e,t)=>{var n=L(),r=U(),i=s();t.exports=function(e,t,a){var o=n(t);o in e?r.f(e,o,i(0,a)):e[o]=a}}),Fe=e(()=>{var e=me(),t=Ne(),n=Pe();e({target:`Object`,stat:!0},{fromEntries:function(e){var r={};return t(e,function(e,t){n(r,e,t)},{AS_ENTRIES:!0}),r}})});return e((e,t)=>{var n=[`cliName`,`cliCategory`,`cliDescription`];function r(e,t){if(e==null)return{};var n=i(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function i(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}ge(),De(),Fe();var a=Object.create,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,l=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,d=(e,t)=>function(){return e&&(t=(0,e[c(e)[0]])(e=0)),t},f=(e,t)=>function(){return t||(0,e[c(e)[0]])((t={exports:{}}).exports,t),t.exports},p=(e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})},m=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let i of c(t))!u.call(e,i)&&i!==n&&o(e,i,{get:()=>t[i],enumerable:!(r=s(t,i))||r.enumerable});return e},h=(e,t,n)=>(n=e==null?{}:a(l(e)),m(t||!e||!e.__esModule?o(n,`default`,{value:e,enumerable:!0}):n,e)),g=e=>m(o({},`__esModule`,{value:!0}),e),_,v=d({"<define:process>"(){_={env:{},argv:[]}}}),y=f({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){v(),Object.defineProperty(e,`__esModule`,{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96;function t(t){return t>=e.$TAB&&t<=e.$SPACE||t==e.$NBSP}e.isWhitespace=t;function n(t){return e.$0<=t&&t<=e.$9}e.isDigit=n;function r(t){return t>=e.$a&&t<=e.$z||t>=e.$A&&t<=e.$Z}e.isAsciiLetter=r;function i(t){return t>=e.$a&&t<=e.$f||t>=e.$A&&t<=e.$F||n(t)}e.isAsciiHexDigit=i;function a(t){return t===e.$LF||t===e.$CR}e.isNewLine=a;function o(t){return e.$0<=t&&t<=e.$7}e.isOctalDigit=o}}),b=f({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){v(),Object.defineProperty(e,`__esModule`,{value:!0});var t=class{constructor(e,t,n){this.filePath=e,this.name=t,this.members=n}assertNoMembers(){if(this.members.length)throw Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};e.StaticSymbol=t,e.StaticSymbolCache=class{constructor(){this.cache=new Map}get(e,n,r){r||=[];let i=`"${e}".${n}${r.length?`.${r.join(`.`)}`:``}`,a=this.cache.get(i);return a||(a=new t(e,n,r),this.cache.set(i,a)),a}}}}),x=f({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){v(),Object.defineProperty(e,`__esModule`,{value:!0});var t=/-+([a-z0-9])/g;function n(e){return e.replace(t,function(){return[...arguments][1].toUpperCase()})}e.dashCaseToCamelCase=n;function r(e,t){return a(e,`:`,t)}e.splitAtColon=r;function i(e,t){return a(e,`.`,t)}e.splitAtPeriod=i;function a(e,t,n){let r=e.indexOf(t);return r==-1?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function o(e,t,n){return Array.isArray(e)?t.visitArray(e,n):_(e)?t.visitStringMap(e,n):e==null||typeof e==`string`||typeof e==`number`||typeof e==`boolean`?t.visitPrimitive(e,n):t.visitOther(e,n)}e.visitValue=o;function s(e){return e!=null}e.isDefined=s;function c(e){return e===void 0?null:e}e.noUndefined=c,e.ValueTransformer=class{visitArray(e,t){return e.map(e=>o(e,this,t))}visitStringMap(e,t){let n={};return Object.keys(e).forEach(r=>{n[r]=o(e[r],this,t)}),n}visitPrimitive(e,t){return e}visitOther(e,t){return e}},e.SyncAsync={assertSync:e=>{if(S(e))throw Error(`Illegal state: value cannot be a promise`);return e},then:(e,t)=>S(e)?e.then(t):t(e),all:e=>e.some(S)?Promise.all(e):e};function l(e){throw Error(`Internal Error: ${e}`)}e.error=l;function u(e,t){let n=Error(e);return n[d]=!0,t&&(n[f]=t),n}e.syntaxError=u;var d=`ngSyntaxError`,f=`ngParseErrors`;function p(e){return e[d]}e.isSyntaxError=p;function m(e){return e[f]||[]}e.getParseErrors=m;function h(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,`\\$1`)}e.escapeRegExp=h;var g=Object.getPrototypeOf({});function _(e){return typeof e==`object`&&!!e&&Object.getPrototypeOf(e)===g}function y(e){let t=``;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r>=55296&&r<=56319&&e.length>n+1){let t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(n++,r=(r-55296<<10)+t-56320+65536)}r<=127?t+=String.fromCharCode(r):r<=2047?t+=String.fromCharCode(r>>6&31|192,r&63|128):r<=65535?t+=String.fromCharCode(r>>12|224,r>>6&63|128,r&63|128):r<=2097151&&(t+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,r&63|128))}return t}e.utf8Encode=y;function b(e){if(typeof e==`string`)return e;if(e instanceof Array)return`[`+e.map(b).join(`, `)+`]`;if(e==null)return``+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;if(!e.toString)return`object`;let t=e.toString();if(t==null)return``+t;let n=t.indexOf(`
|
|
30
|
-
`);return n===-1?t:t.substring(0,n)}e.stringify=b;function x(e){return typeof e==`function`&&e.hasOwnProperty(`__forward_ref__`)?e():e}e.resolveForwardRef=x;function S(e){return!!e&&typeof e.then==`function`}e.isPromise=S,e.Version=class{constructor(e){this.full=e;let t=e.split(`.`);this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(`.`)}};var C=typeof window<`u`&&window,w=typeof self<`u`&&typeof WorkerGlobalScope<`u`&&self instanceof WorkerGlobalScope&&self;e.global=typeof globalThis<`u`&&globalThis||C||w}}),S=f({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){v(),Object.defineProperty(e,`__esModule`,{value:!0});var t=b(),n=x(),r=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function i(e){return e.replace(/\W/g,`_`)}e.sanitizeIdentifier=i;var a=0;function o(e){if(!e||!e.reference)return null;let r=e.reference;if(r instanceof t.StaticSymbol)return r.name;if(r.__anonymousType)return r.__anonymousType;let o=n.stringify(r);return o.indexOf(`(`)>=0?(o=`anonymous_${a++}`,r.__anonymousType=o):o=i(o),o}e.identifierName=o;function s(e){let r=e.reference;return r instanceof t.StaticSymbol?r.filePath:`./${n.stringify(r)}`}e.identifierModuleUrl=s;function c(e,t){return`View_${o({reference:e})}_${t}`}e.viewClassName=c;function l(e){return`RenderType_${o({reference:e})}`}e.rendererTypeName=l;function u(e){return`HostView_${o({reference:e})}`}e.hostViewClassName=u;function d(e){return`${o({reference:e})}NgFactory`}e.componentFactoryName=d;var f;(function(e){e[e.Pipe=0]=`Pipe`,e[e.Directive=1]=`Directive`,e[e.NgModule=2]=`NgModule`,e[e.Injectable=3]=`Injectable`})(f=e.CompileSummaryKind||={});function p(e){return e.value==null?o(e.identifier):i(e.value)}e.tokenName=p;function m(e){return e.identifier==null?e.value:e.identifier.reference}e.tokenReference=m,e.CompileStylesheetMetadata=class{constructor(){let{moduleUrl:e,styles:t,styleUrls:n}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=e||null,this.styles=g(t),this.styleUrls=g(n)}},e.CompileTemplateMetadata=class{constructor(e){let{encapsulation:t,template:n,templateUrl:r,htmlAst:i,styles:a,styleUrls:o,externalStylesheets:s,animations:c,ngContentSelectors:l,interpolation:u,isInline:d,preserveWhitespaces:f}=e;if(this.encapsulation=t,this.template=n,this.templateUrl=r,this.htmlAst=i,this.styles=g(a),this.styleUrls=g(o),this.externalStylesheets=g(s),this.animations=c?_(c):[],this.ngContentSelectors=l||[],u&&u.length!=2)throw Error(`'interpolation' should have a start and an end symbol.`);this.interpolation=u,this.isInline=d,this.preserveWhitespaces=f}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};var h=class{static create(e){let{isHost:t,type:i,isComponent:a,selector:o,exportAs:s,changeDetection:c,inputs:l,outputs:u,host:d,providers:f,viewProviders:p,queries:m,guards:g,viewQueries:_,entryComponents:v,template:y,componentViewType:b,rendererType:x,componentFactory:S}=e,C={},w={},T={};d!=null&&Object.keys(d).forEach(e=>{let t=d[e],n=e.match(r);n===null?T[e]=t:n[1]==null?n[2]!=null&&(C[n[2]]=t):w[n[1]]=t});let E={};l?.forEach(e=>{let t=n.splitAtColon(e,[e,e]);E[t[0]]=t[1]});let D={};return u?.forEach(e=>{let t=n.splitAtColon(e,[e,e]);D[t[0]]=t[1]}),new h({isHost:t,type:i,isComponent:!!a,selector:o,exportAs:s,changeDetection:c,inputs:E,outputs:D,hostListeners:C,hostProperties:w,hostAttributes:T,providers:f,viewProviders:p,queries:m,guards:g,viewQueries:_,entryComponents:v,template:y,componentViewType:b,rendererType:x,componentFactory:S})}constructor(e){let{isHost:t,type:n,isComponent:r,selector:i,exportAs:a,changeDetection:o,inputs:s,outputs:c,hostListeners:l,hostProperties:u,hostAttributes:d,providers:f,viewProviders:p,queries:m,guards:h,viewQueries:_,entryComponents:v,template:y,componentViewType:b,rendererType:x,componentFactory:S}=e;this.isHost=!!t,this.type=n,this.isComponent=r,this.selector=i,this.exportAs=a,this.changeDetection=o,this.inputs=s,this.outputs=c,this.hostListeners=l,this.hostProperties=u,this.hostAttributes=d,this.providers=g(f),this.viewProviders=g(p),this.queries=g(m),this.guards=h,this.viewQueries=g(_),this.entryComponents=g(v),this.template=y,this.componentViewType=b,this.rendererType=x,this.componentFactory=S}toSummary(){return{summaryKind:f.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}}};e.CompileDirectiveMetadata=h,e.CompilePipeMetadata=class{constructor(e){let{type:t,name:n,pure:r}=e;this.type=t,this.name=n,this.pure=!!r}toSummary(){return{summaryKind:f.Pipe,type:this.type,name:this.name,pure:this.pure}}},e.CompileShallowModuleMetadata=class{},e.CompileNgModuleMetadata=class{constructor(e){let{type:t,providers:n,declaredDirectives:r,exportedDirectives:i,declaredPipes:a,exportedPipes:o,entryComponents:s,bootstrapComponents:c,importedModules:l,exportedModules:u,schemas:d,transitiveModule:f,id:p}=e;this.type=t||null,this.declaredDirectives=g(r),this.exportedDirectives=g(i),this.declaredPipes=g(a),this.exportedPipes=g(o),this.providers=g(n),this.entryComponents=g(s),this.bootstrapComponents=g(c),this.importedModules=g(l),this.exportedModules=g(u),this.schemas=g(d),this.id=p||null,this.transitiveModule=f||null}toSummary(){let e=this.transitiveModule;return{summaryKind:f.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}},e.TransitiveCompileNgModuleMetadata=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(e,t){this.providers.push({provider:e,module:t})}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}};function g(e){return e||[]}e.ProviderMeta=class{constructor(e,t){let{useClass:n,useValue:r,useExisting:i,useFactory:a,deps:o,multi:s}=t;this.token=e,this.useClass=n||null,this.useValue=r,this.useExisting=i,this.useFactory=a||null,this.dependencies=o||null,this.multi=!!s}};function _(e){return e.reduce((e,t)=>{let n=Array.isArray(t)?_(t):t;return e.concat(n)},[])}e.flatten=_;function y(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,`ng:///`)}function S(e,n,r){let i;return i=r.isInline?n.type.reference instanceof t.StaticSymbol?`${n.type.reference.filePath}.${n.type.reference.name}.html`:`${o(e)}/${o(n.type)}.html`:r.templateUrl,n.type.reference instanceof t.StaticSymbol?i:y(i)}e.templateSourceUrl=S;function C(e,t){let n=e.moduleUrl.split(/\/\\/g),r=n[n.length-1];return y(`css/${t}${r}.ngstyle.js`)}e.sharedStylesheetJitUrl=C;function w(e){return y(`${o(e.type)}/module.ngfactory.js`)}e.ngModuleJitUrl=w;function T(e,t){return y(`${o(e)}/${o(t.type)}.ngfactory.js`)}e.templateJitUrl=T}}),C=f({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){v(),Object.defineProperty(e,`__esModule`,{value:!0});var t=y(),n=S(),r=class{constructor(e,t,n,r){this.file=e,this.offset=t,this.line=n,this.col=r}toString(){return this.offset==null?this.file.url:`${this.file.url}@${this.line}:${this.col}`}moveBy(e){let n=this.file.content,i=n.length,a=this.offset,o=this.line,s=this.col;for(;a>0&&e<0;)if(a--,e++,n.charCodeAt(a)==t.$LF){o--;let e=n.substr(0,a-1).lastIndexOf(String.fromCharCode(t.$LF));s=e>0?a-e:a}else s--;for(;a<i&&e>0;){let r=n.charCodeAt(a);a++,e--,r==t.$LF?(o++,s=0):s++}return new r(this.file,a,o,s)}getContext(e,t){let n=this.file.content,r=this.offset;if(r!=null){r>n.length-1&&(r=n.length-1);let i=r,a=0,o=0;for(;a<e&&r>0&&(r--,a++,!(n[r]==`
|
|
31
|
-
`&&++o==t)););for(a=0,o=0;a<e&&i<n.length-1&&(i++,a++,!(n[i]==`
|
|
32
|
-
`&&++o==t)););return{before:n.substring(r,this.offset),after:n.substring(this.offset,i+1)}}return null}};e.ParseLocation=r;var i=class{constructor(e,t){this.content=e,this.url=t}};e.ParseSourceFile=i;var a=class{constructor(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=e,this.end=t,this.details=n}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=a,e.EMPTY_PARSE_LOCATION=new r(new i(``,``),0,0,0),e.EMPTY_SOURCE_SPAN=new a(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION);var o;(function(e){e[e.WARNING=0]=`WARNING`,e[e.ERROR=1]=`ERROR`})(o=e.ParseErrorLevel||={}),e.ParseError=class{constructor(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:o.ERROR;this.span=e,this.msg=t,this.level=n}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${o[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:``;return`${this.contextualMessage()}: ${this.span.start}${e}`}};function s(e,t){let o=n.identifierModuleUrl(t),s=new i(``,o==null?`in ${e} ${n.identifierName(t)}`:`in ${e} ${n.identifierName(t)} in ${o}`);return new a(new r(s,-1,-1,-1),new r(s,-1,-1,-1))}e.typeSourceSpan=s;function c(e,t,n){let o=new i(``,`in ${e} ${t} in ${n}`);return new a(new r(o,-1,-1,-1),new r(o,-1,-1,-1))}e.r3JitTypeSourceSpan=c}}),w=f({"src/utils/front-matter/parse.js"(e,t){v();var n=RegExp(`^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)`,`s`);function r(e){let t=e.match(n);if(!t)return{content:e};let{startDelimiter:r,language:i,value:a=``,endDelimiter:o}=t.groups,s=i.trim()||`yaml`;if(r===`+++`&&(s=`toml`),s!==`yaml`&&r!==o)return{content:e};let[c]=t;return{frontMatter:{type:`front-matter`,lang:s,value:a,startDelimiter:r,endDelimiter:o,raw:c.replace(/\n$/,``)},content:c.replace(/[^\n]/g,` `)+e.slice(c.length)}}t.exports=r}}),T=f({"src/utils/get-last.js"(e,t){v(),t.exports=e=>e[e.length-1]}}),E=f({"src/common/parser-create-error.js"(e,t){v();function n(e,t){let n=SyntaxError(e+` (`+t.start.line+`:`+t.start.column+`)`);return n.loc=t,n}t.exports=n}}),D={};p(D,{default:()=>O});function O(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}var k=d({"node_modules/escape-string-regexp/index.js"(){v()}}),A=f({"node_modules/semver/internal/debug.js"(e,t){v(),t.exports=typeof _==`object`&&_.env&&_.env.NODE_DEBUG&&/\bsemver\b/i.test(_.env.NODE_DEBUG)?function(){return console.error(`SEMVER`,...arguments)}:()=>{}}}),j=f({"node_modules/semver/internal/constants.js"(e,t){v(),t.exports={SEMVER_SPEC_VERSION:`2.0.0`,MAX_LENGTH:256,MAX_SAFE_INTEGER:2**53-1||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16}}}),M=f({"node_modules/semver/internal/re.js"(e,t){v();var{MAX_SAFE_COMPONENT_LENGTH:n}=j(),r=A();e=t.exports={};var i=e.re=[],a=e.src=[],o=e.t={},s=0,c=(e,t,n)=>{let c=s++;r(e,c,t),o[e]=c,a[c]=t,i[c]=new RegExp(t,n?`g`:void 0)};c(`NUMERICIDENTIFIER`,`0|[1-9]\\d*`),c(`NUMERICIDENTIFIERLOOSE`,`[0-9]+`),c(`NONNUMERICIDENTIFIER`,`\\d*[a-zA-Z-][a-zA-Z0-9-]*`),c(`MAINVERSION`,`(${a[o.NUMERICIDENTIFIER]})\\.(${a[o.NUMERICIDENTIFIER]})\\.(${a[o.NUMERICIDENTIFIER]})`),c(`MAINVERSIONLOOSE`,`(${a[o.NUMERICIDENTIFIERLOOSE]})\\.(${a[o.NUMERICIDENTIFIERLOOSE]})\\.(${a[o.NUMERICIDENTIFIERLOOSE]})`),c(`PRERELEASEIDENTIFIER`,`(?:${a[o.NUMERICIDENTIFIER]}|${a[o.NONNUMERICIDENTIFIER]})`),c(`PRERELEASEIDENTIFIERLOOSE`,`(?:${a[o.NUMERICIDENTIFIERLOOSE]}|${a[o.NONNUMERICIDENTIFIER]})`),c(`PRERELEASE`,`(?:-(${a[o.PRERELEASEIDENTIFIER]}(?:\\.${a[o.PRERELEASEIDENTIFIER]})*))`),c(`PRERELEASELOOSE`,`(?:-?(${a[o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[o.PRERELEASEIDENTIFIERLOOSE]})*))`),c(`BUILDIDENTIFIER`,`[0-9A-Za-z-]+`),c(`BUILD`,`(?:\\+(${a[o.BUILDIDENTIFIER]}(?:\\.${a[o.BUILDIDENTIFIER]})*))`),c(`FULLPLAIN`,`v?${a[o.MAINVERSION]}${a[o.PRERELEASE]}?${a[o.BUILD]}?`),c(`FULL`,`^${a[o.FULLPLAIN]}$`),c(`LOOSEPLAIN`,`[v=\\s]*${a[o.MAINVERSIONLOOSE]}${a[o.PRERELEASELOOSE]}?${a[o.BUILD]}?`),c(`LOOSE`,`^${a[o.LOOSEPLAIN]}$`),c(`GTLT`,`((?:<|>)?=?)`),c(`XRANGEIDENTIFIERLOOSE`,`${a[o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c(`XRANGEIDENTIFIER`,`${a[o.NUMERICIDENTIFIER]}|x|X|\\*`),c(`XRANGEPLAIN`,`[v=\\s]*(${a[o.XRANGEIDENTIFIER]})(?:\\.(${a[o.XRANGEIDENTIFIER]})(?:\\.(${a[o.XRANGEIDENTIFIER]})(?:${a[o.PRERELEASE]})?${a[o.BUILD]}?)?)?`),c(`XRANGEPLAINLOOSE`,`[v=\\s]*(${a[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[o.XRANGEIDENTIFIERLOOSE]})(?:${a[o.PRERELEASELOOSE]})?${a[o.BUILD]}?)?)?`),c(`XRANGE`,`^${a[o.GTLT]}\\s*${a[o.XRANGEPLAIN]}$`),c(`XRANGELOOSE`,`^${a[o.GTLT]}\\s*${a[o.XRANGEPLAINLOOSE]}$`),c(`COERCE`,`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),c(`COERCERTL`,a[o.COERCE],!0),c(`LONETILDE`,`(?:~>?)`),c(`TILDETRIM`,`(\\s*)${a[o.LONETILDE]}\\s+`,!0),e.tildeTrimReplace=`$1~`,c(`TILDE`,`^${a[o.LONETILDE]}${a[o.XRANGEPLAIN]}$`),c(`TILDELOOSE`,`^${a[o.LONETILDE]}${a[o.XRANGEPLAINLOOSE]}$`),c(`LONECARET`,`(?:\\^)`),c(`CARETTRIM`,`(\\s*)${a[o.LONECARET]}\\s+`,!0),e.caretTrimReplace=`$1^`,c(`CARET`,`^${a[o.LONECARET]}${a[o.XRANGEPLAIN]}$`),c(`CARETLOOSE`,`^${a[o.LONECARET]}${a[o.XRANGEPLAINLOOSE]}$`),c(`COMPARATORLOOSE`,`^${a[o.GTLT]}\\s*(${a[o.LOOSEPLAIN]})$|^$`),c(`COMPARATOR`,`^${a[o.GTLT]}\\s*(${a[o.FULLPLAIN]})$|^$`),c(`COMPARATORTRIM`,`(\\s*)${a[o.GTLT]}\\s*(${a[o.LOOSEPLAIN]}|${a[o.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace=`$1$2$3`,c(`HYPHENRANGE`,`^\\s*(${a[o.XRANGEPLAIN]})\\s+-\\s+(${a[o.XRANGEPLAIN]})\\s*$`),c(`HYPHENRANGELOOSE`,`^\\s*(${a[o.XRANGEPLAINLOOSE]})\\s+-\\s+(${a[o.XRANGEPLAINLOOSE]})\\s*$`),c(`STAR`,`(<|>)?=?\\s*\\*`),c(`GTE0`,`^\\s*>=\\s*0\\.0\\.0\\s*$`),c(`GTE0PRE`,`^\\s*>=\\s*0\\.0\\.0-0\\s*$`)}}),N=f({"node_modules/semver/internal/parse-options.js"(e,t){v();var n=[`includePrerelease`,`loose`,`rtl`];t.exports=e=>e?typeof e==`object`?n.filter(t=>e[t]).reduce((e,t)=>(e[t]=!0,e),{}):{loose:!0}:{}}}),P=f({"node_modules/semver/internal/identifiers.js"(e,t){v();var n=/^[0-9]+$/,r=(e,t)=>{let r=n.test(e),i=n.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:e<t?-1:1};t.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}}}),F=f({"node_modules/semver/classes/semver.js"(e,t){v();var n=A(),{MAX_LENGTH:r,MAX_SAFE_INTEGER:i}=j(),{re:a,t:o}=M(),s=N(),{compareIdentifiers:c}=P(),l=class{constructor(e,t){if(t=s(t),e instanceof l){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!=`string`)throw TypeError(`Invalid Version: ${e}`);if(e.length>r)throw TypeError(`version is longer than ${r} characters`);n(`SemVer`,e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let c=e.trim().match(t.loose?a[o.LOOSE]:a[o.FULL]);if(!c)throw TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+c[1],this.minor=+c[2],this.patch=+c[3],this.major>i||this.major<0)throw TypeError(`Invalid major version`);if(this.minor>i||this.minor<0)throw TypeError(`Invalid minor version`);if(this.patch>i||this.patch<0)throw TypeError(`Invalid patch version`);c[4]?this.prerelease=c[4].split(`.`).map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<i)return t}return e}):this.prerelease=[],this.build=c[5]?c[5].split(`.`):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(`.`)}`),this.version}toString(){return this.version}compare(e){if(n(`SemVer.compare`,this.version,this.options,e),!(e instanceof l)){if(typeof e==`string`&&e===this.version)return 0;e=new l(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof l||(e=new l(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof l||(e=new l(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let r=this.prerelease[t],i=e.prerelease[t];if(n(`prerelease compare`,t,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r===i)continue;return c(r,i)}while(++t)}compareBuild(e){e instanceof l||(e=new l(e,this.options));let t=0;do{let r=this.build[t],i=e.build[t];if(n(`prerelease compare`,t,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r===i)continue;return c(r,i)}while(++t)}inc(e,t){switch(e){case`premajor`:this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc(`pre`,t);break;case`preminor`:this.prerelease.length=0,this.patch=0,this.minor++,this.inc(`pre`,t);break;case`prepatch`:this.prerelease.length=0,this.inc(`patch`,t),this.inc(`pre`,t);break;case`prerelease`:this.prerelease.length===0&&this.inc(`patch`,t),this.inc(`pre`,t);break;case`major`:(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case`minor`:(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case`patch`:this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case`pre`:if(this.prerelease.length===0)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)typeof this.prerelease[e]==`number`&&(this.prerelease[e]++,e=-2);e===-1&&this.prerelease.push(0)}t&&(c(this.prerelease[0],t)===0?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}};t.exports=l}}),I=f({"node_modules/semver/functions/compare.js"(e,t){v();var n=F();t.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))}}),L=f({"node_modules/semver/functions/lt.js"(e,t){v();var n=I();t.exports=(e,t,r)=>n(e,t,r)<0}}),R=f({"node_modules/semver/functions/gte.js"(e,t){v();var n=I();t.exports=(e,t,r)=>n(e,t,r)>=0}}),z=f({"src/utils/arrayify.js"(e,t){v(),t.exports=(e,t)=>Object.entries(e).map(e=>{let[n,r]=e;return Object.assign({[t]:n},r)})}}),B=f({"package.json"(e,t){t.exports={version:`2.8.8`}}}),V=f({"node_modules/outdent/lib/index.js"(e,t){v(),Object.defineProperty(e,`__esModule`,{value:!0}),e.outdent=void 0;function n(){}function r(){return typeof WeakMap<`u`?new WeakMap:i()}function i(){return{add:n,delete:n,get:n,set:n,has:function(e){return!1}}}var a=Object.prototype.hasOwnProperty,o=function(e,t){return a.call(e,t)};function s(e,t){for(var n in t)o(t,n)&&(e[n]=t[n]);return e}var c=/^[ \t]*(?:\r\n|\r|\n)/,l=/(?:\r\n|\r|\n)[ \t]*$/,u=/^(?:[\r\n]|$)/,d=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,f=/^[ \t]*[\r\n][ \t\r\n]*$/;function p(e,t,n){var r=0,i=e[0].match(d);i&&(r=i[1].length);var a=`(\\r\\n|\\r|\\n).{0,`+r+`}`,o=new RegExp(a,`g`);t&&(e=e.slice(1));var s=n.newline,u=n.trimLeadingNewline,f=n.trimTrailingNewline,p=typeof s==`string`,m=e.length;return e.map(function(e,t){return e=e.replace(o,`$1`),t===0&&u&&(e=e.replace(c,``)),t===m-1&&f&&(e=e.replace(l,``)),p&&(e=e.replace(/\r\n|\n|\r/g,function(e){return s})),e})}function m(e,t){for(var n=``,r=0,i=e.length;r<i;r++)n+=e[r],r<i-1&&(n+=t[r]);return n}function h(e){return o(e,`raw`)&&o(e,`length`)}function g(e){var t=r(),n=r();function i(r){var a=[...arguments].slice(1);if(h(r)){var o=r,c=(a[0]===i||a[0]===_)&&f.test(o[0])&&u.test(o[1]),l=c?n:t,d=l.get(o);return d||(d=p(o,c,e),l.set(o,d)),a.length===0?d[0]:m(d,c?a.slice(1):a)}else return g(s(s({},e),r||{}))}return s(i,{string:function(t){return p([t],!1,e)[0]}})}var _=g({trimLeadingNewline:!0,trimTrailingNewline:!0});if(e.outdent=_,e.default=_,typeof t<`u`)try{t.exports=_,Object.defineProperty(_,`__esModule`,{value:!0}),_.default=_,_.outdent=_}catch{}}}),H=f({"src/main/core-options.js"(e,t){v();var{outdent:n}=V(),r=`Config`,i=`Editor`,a=`Format`,o=`Other`,s=`Output`,c=`Global`,l=`Special`;t.exports={CATEGORY_CONFIG:r,CATEGORY_EDITOR:i,CATEGORY_FORMAT:a,CATEGORY_OTHER:o,CATEGORY_OUTPUT:s,CATEGORY_GLOBAL:c,CATEGORY_SPECIAL:l,options:{cursorOffset:{since:`1.4.0`,category:l,type:`int`,default:-1,range:{start:-1,end:1/0,step:1},description:n`
|
|
33
|
-
Print (to stderr) where a cursor at the given position would move to after formatting.
|
|
34
|
-
This option cannot be used with --range-start and --range-end.
|
|
35
|
-
`,cliCategory:i},endOfLine:{since:`1.15.0`,category:c,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:n`
|
|
36
|
-
Maintain existing
|
|
37
|
-
(mixed values within one file are normalised by looking at what's used after the first line)
|
|
38
|
-
`}]},filepath:{since:`1.4.0`,category:l,type:`path`,description:`Specify the input filepath. This will be used to do parser inference.`,cliName:`stdin-filepath`,cliCategory:o,cliDescription:`Path to the file to pretend that stdin comes from.`},insertPragma:{since:`1.8.0`,category:l,type:`boolean`,default:!1,description:`Insert @format pragma into file's first docblock comment.`,cliCategory:o},parser:{since:`0.0.10`,category:c,type:`choice`,default:[{since:`0.0.10`,value:`babylon`},{since:`1.13.0`,value:void 0}],description:`Which parser to use.`,exception:e=>typeof e==`string`||typeof e==`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:c,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>typeof e==`string`||typeof e==`object`,cliName:`plugin`,cliCategory:r},pluginSearchDirs:{since:`1.13.0`,type:`path`,array:!0,default:[{value:[]}],category:c,description:n`
|
|
39
|
-
Custom directory that contains prettier plugins in node_modules subdirectory.
|
|
40
|
-
Overrides default behavior when plugins are searched relatively to the location of Prettier.
|
|
41
|
-
Multiple values are accepted.
|
|
42
|
-
`,exception:e=>typeof e==`string`||typeof e==`object`,cliName:`plugin-search-dir`,cliCategory:r},printWidth:{since:`0.0.0`,category:c,type:`int`,default:80,description:`The line length where Prettier will try wrap.`,range:{start:0,end:1/0,step:1}},rangeEnd:{since:`1.4.0`,category:l,type:`int`,default:1/0,range:{start:0,end:1/0,step:1},description:n`
|
|
43
|
-
Format code ending at a given character offset (exclusive).
|
|
44
|
-
The range will extend forwards to the end of the selected statement.
|
|
45
|
-
This option cannot be used with --cursor-offset.
|
|
46
|
-
`,cliCategory:i},rangeStart:{since:`1.4.0`,category:l,type:`int`,default:0,range:{start:0,end:1/0,step:1},description:n`
|
|
47
|
-
Format code starting at a given character offset.
|
|
48
|
-
The range will extend backwards to the start of the first line containing the selected statement.
|
|
49
|
-
This option cannot be used with --cursor-offset.
|
|
50
|
-
`,cliCategory:i},requirePragma:{since:`1.7.0`,category:l,type:`boolean`,default:!1,description:n`
|
|
51
|
-
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
52
|
-
in order for it to be formatted.
|
|
53
|
-
`,cliCategory:o},tabWidth:{type:`int`,category:c,default:2,description:`Number of spaces per indentation level.`,range:{start:0,end:1/0,step:1}},useTabs:{since:`1.0.0`,category:c,type:`boolean`,default:!1,description:`Indent with tabs instead of spaces.`},embeddedLanguageFormatting:{since:`2.1.0`,category:c,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.`}]}}}}}),U=f({"src/main/support.js"(e,t){v();var i={compare:I(),lt:L(),gte:R()},a=z(),o=B().version,s=H().options;function c(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:c=!1,showInternal:u=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=o.split(`-`,1)[0],f=e.flatMap(e=>e.languages||[]).filter(p);return{languages:f,options:a(Object.assign({},...e.map(e=>{let{options:t}=e;return t}),s),`name`).filter(e=>p(e)&&m(e)).sort((e,t)=>e.name===t.name?0:e.name<t.name?-1:1).map(h).map(t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=t.default.length===1?t.default[0].value:t.default.filter(p).sort((e,t)=>i.compare(t.since,e.since))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter(e=>p(e)&&m(e)),t.name===`parser`&&l(t,f,e));let n=Object.fromEntries(e.filter(e=>e.defaultOptions&&e.defaultOptions[t.name]!==void 0).map(e=>[e.name,e.defaultOptions[t.name]]));return Object.assign(Object.assign({},t),{},{pluginDefaults:n})})};function p(e){return t||!(`since`in e)||e.since&&i.gte(d,e.since)}function m(e){return c||!(`deprecated`in e)||e.deprecated&&i.lt(d,e.deprecated)}function h(e){if(u)return e;let{cliName:t,cliCategory:i,cliDescription:a}=e;return r(e,n)}}function l(e,t,n){let r=new Set(e.choices.map(e=>e.value));for(let i of t)if(i.parsers){for(let t of i.parsers)if(!r.has(t)){r.add(t);let a=n.find(e=>e.parsers&&e.parsers[t]),o=i.name;a&&a.name&&(o+=` (plugin: ${a.name})`),e.choices.push({value:t,description:o})}}}t.exports={getSupportInfo:c}}}),W=f({"src/utils/is-non-empty-array.js"(e,t){v();function n(e){return Array.isArray(e)&&e.length>0}t.exports=n}});function G(){let{onlyFirst:e=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=[`[\\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(t,e?void 0:`g`)}var K=d({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){v()}});function q(e){if(typeof e!=`string`)throw TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(G(),``)}var ee=d({"node_modules/strip-ansi/index.js"(){v(),K()}});function J(e){return Number.isInteger(e)?e>=4352&&(e<=4447||e===9001||e===9002||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141):!1}var te=d({"node_modules/is-fullwidth-code-point/index.js"(){v()}}),ne=f({"node_modules/emoji-regex/index.js"(e,t){v(),t.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}}}),Y={};p(Y,{default:()=>re});function re(e){if(typeof e!=`string`||e.length===0||(e=q(e),e.length===0))return 0;e=e.replace((0,ie.default)(),` `);let t=0;for(let n=0;n<e.length;n++){let r=e.codePointAt(n);r<=31||r>=127&&r<=159||r>=768&&r<=879||(r>65535&&n++,t+=J(r)?2:1)}return t}var ie,ae=d({"node_modules/string-width/index.js"(){v(),ee(),te(),ie=h(ne())}}),oe=f({"src/utils/get-string-width.js"(e,t){v();var n=(ae(),g(Y)).default,r=/[^\x20-\x7F]/;function i(e){return e?r.test(e)?n(e):e.length:0}t.exports=i}}),se=f({"src/utils/text/skip.js"(e,t){v();function n(e){return(t,n,r)=>{let i=r&&r.backwards;if(n===!1)return!1;let{length:a}=t,o=n;for(;o>=0&&o<a;){let n=t.charAt(o);if(e instanceof RegExp){if(!e.test(n))return o}else if(!e.includes(n))return o;i?o--:o++}return o===-1||o===a?o:!1}}t.exports={skipWhitespace:n(/\s/),skipSpaces:n(` `),skipToLineEnd:n(`,; `),skipEverythingButNewLine:n(/[^\n\r]/)}}}),ce=f({"src/utils/text/skip-inline-comment.js"(e,t){v();function n(e,t){if(t===!1)return!1;if(e.charAt(t)===`/`&&e.charAt(t+1)===`*`){for(let n=t+2;n<e.length;++n)if(e.charAt(n)===`*`&&e.charAt(n+1)===`/`)return n+2}return t}t.exports=n}}),le=f({"src/utils/text/skip-trailing-comment.js"(e,t){v();var{skipEverythingButNewLine:n}=se();function r(e,t){return t===!1?!1:e.charAt(t)===`/`&&e.charAt(t+1)===`/`?n(e,t):t}t.exports=r}}),ue=f({"src/utils/text/skip-newline.js"(e,t){v();function n(e,t,n){let r=n&&n.backwards;if(t===!1)return!1;let i=e.charAt(t);if(r){if(e.charAt(t-1)===`\r`&&i===`
|
|
54
|
-
`)return t-2;if(i===`
|
|
55
|
-
`||i===`\r`||i===`\u2028`||i===`\u2029`)return t-1}else{if(i===`\r`&&e.charAt(t+1)===`
|
|
56
|
-
`)return t+2;if(i===`
|
|
57
|
-
`||i===`\r`||i===`\u2028`||i===`\u2029`)return t+1}return t}t.exports=n}}),de=f({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){v();var n=ce(),r=ue(),i=le(),{skipSpaces:a}=se();function o(e,t){let o=null,s=t;for(;s!==o;)o=s,s=a(e,s),s=n(e,s),s=i(e,s),s=r(e,s);return s}t.exports=o}}),fe=f({"src/common/util.js"(e,t){v();var{default:n}=(k(),g(D)),r=T(),{getSupportInfo:i}=U(),a=W(),o=oe(),{skipWhitespace:s,skipSpaces:c,skipToLineEnd:l,skipEverythingButNewLine:u}=se(),d=ce(),f=le(),p=ue(),m=de(),h=e=>e[e.length-2];function _(e){return(t,n,r)=>{let i=r&&r.backwards;if(n===!1)return!1;let{length:a}=t,o=n;for(;o>=0&&o<a;){let n=t.charAt(o);if(e instanceof RegExp){if(!e.test(n))return o}else if(!e.includes(n))return o;i?o--:o++}return o===-1||o===a?o:!1}}function y(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=c(e,n.backwards?t-1:t,n);return r!==p(e,r,n)}function b(e,t,n){for(let r=t;r<n;++r)if(e.charAt(r)===`
|
|
58
|
-
`)return!0;return!1}function x(e,t,n){let r=n(t)-1;r=c(e,r,{backwards:!0}),r=p(e,r,{backwards:!0}),r=c(e,r,{backwards:!0});let i=p(e,r,{backwards:!0});return r!==i}function S(e,t){let n=null,r=t;for(;r!==n;)n=r,r=l(e,r),r=d(e,r),r=c(e,r);return r=f(e,r),r=p(e,r),r!==!1&&y(e,r)}function C(e,t,n){return S(e,n(t))}function w(e,t,n){return m(e,n(t))}function E(e,t,n){return e.charAt(w(e,t,n))}function O(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return c(e,n.backwards?t-1:t,n)!==t}function A(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=0;for(let i=n;i<e.length;++i)e[i]===` `?r=r+t-r%t:r++;return r}function j(e,t){let n=e.lastIndexOf(`
|
|
59
|
-
`);return n===-1?0:A(e.slice(n+1).match(/^[\t ]*/)[0],t)}function M(e,t){let n={quote:`"`,regex:/"/g,escaped:`"`},r={quote:`'`,regex:/'/g,escaped:`'`},i=t===`'`?r:n,a=i===r?n:r,o=i;return(e.includes(i.quote)||e.includes(a.quote))&&(o=(e.match(i.regex)||[]).length>(e.match(a.regex)||[]).length?a:i),o}function N(e,t){let n=e.slice(1,-1);return P(n,t.parser===`json`||t.parser===`json5`&&t.quoteProps===`preserve`&&!t.singleQuote?`"`:t.__isInHtmlAttribute?`'`:M(n,t.singleQuote?`'`:`"`).quote,!(t.parser===`css`||t.parser===`less`||t.parser===`scss`||t.__embeddedInHtml))}function P(e,t,n){let r=t===`"`?`'`:`"`;return t+e.replace(/\\(.)|(["'])/gs,(e,i,a)=>i===r?i:a===t?`\\`+a:a||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:`\\`+i))+t}function F(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,`$1$2$3`).replace(/^([+-]?[\d.]+)e[+-]?0+$/,`$1`).replace(/^([+-])?\./,`$10.`).replace(/(\.\d+?)0+(?=e|$)/,`$1`).replace(/\.(?=e|$)/,``)}function I(e,t){let r=e.match(RegExp(`(${n(t)})+`,`g`));return r===null?0:r.reduce((e,n)=>Math.max(e,n.length/t.length),0)}function L(e,t){let r=e.match(RegExp(`(${n(t)})+`,`g`));if(r===null)return 0;let i=new Map,a=0;for(let e of r){let n=e.length/t.length;i.set(n,!0),n>a&&(a=n)}for(let e=1;e<a;e++)if(!i.get(e))return e;return a+1}function R(e,t){(e.comments||=[]).push(t),t.printed=!1,t.nodeDescription=q(e)}function z(e,t){t.leading=!0,t.trailing=!1,R(e,t)}function B(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),R(e,t)}function V(e,t){t.leading=!1,t.trailing=!0,R(e,t)}function H(e,t){let{languages:n}=i({plugins:t.plugins}),r=n.find(t=>{let{name:n}=t;return n.toLowerCase()===e})||n.find(t=>{let{aliases:n}=t;return Array.isArray(n)&&n.includes(e)})||n.find(t=>{let{extensions:n}=t;return Array.isArray(n)&&n.includes(`.${e}`)});return r&&r.parsers[0]}function G(e){return e&&e.type===`front-matter`}function K(e){let t=new WeakMap;return function(n){return t.has(n)||t.set(n,Symbol(e)),t.get(n)}}function q(e){let t=e.type||e.kind||`(unknown type)`,n=String(e.name||e.id&&(typeof e.id==`object`?e.id.name:e.id)||e.key&&(typeof e.key==`object`?e.key.name:e.key)||e.value&&(typeof e.value==`object`?``:String(e.value))||e.operator||``);return n.length>20&&(n=n.slice(0,19)+`…`),t+(n?` `+n:``)}t.exports={inferParserByLanguage:H,getStringWidth:o,getMaxContinuousCount:I,getMinNotPresentContinuousCount:L,getPenultimate:h,getLast:r,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:m,getNextNonSpaceNonCommentCharacterIndex:w,getNextNonSpaceNonCommentCharacter:E,skip:_,skipWhitespace:s,skipSpaces:c,skipToLineEnd:l,skipEverythingButNewLine:u,skipInlineComment:d,skipTrailingComment:f,skipNewline:p,isNextLineEmptyAfterIndex:S,isNextLineEmpty:C,isPreviousLineEmpty:x,hasNewline:y,hasNewlineInRange:b,hasSpaces:O,getAlignmentSize:A,getIndentSize:j,getPreferredQuote:M,printString:N,printNumber:F,makeString:P,addLeadingComment:z,addDanglingComment:B,addTrailingComment:V,isFrontMatterNode:G,isNonEmptyArray:a,createGroupIdMapper:K}}}),pe=f({"vendors/html-tag-names.json"(e,t){t.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`.split(`.`)}}}),X=f({"src/language-html/utils/array-to-map.js"(e,t){v();function n(e){let t=Object.create(null);for(let n of e)t[n]=!0;return t}t.exports=n}}),Z=f({"src/language-html/utils/html-tag-names.js"(e,t){v();var{htmlTagNames:n}=pe();t.exports=X()(n)}}),me=f({"vendors/html-element-attributes.json"(e,t){t.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`.split(`.`),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`]}}}}),he=f({"src/language-html/utils/map-object.js"(e,t){v();function n(e,t){let n=Object.create(null);for(let[r,i]of Object.entries(e))n[r]=t(i,r);return n}t.exports=n}}),_e=f({"src/language-html/utils/html-elements-attributes.js"(e,t){v();var{htmlElementAttributes:n}=me();t.exports=he()(n,X())}}),ve=f({"src/language-html/utils/is-unknown-namespace.js"(e,t){v();function n(e){return e.type===`element`&&!e.hasExplicitNamespace&&![`html`,`svg`].includes(e.namespace)}t.exports=n}}),ye=f({"src/language-html/pragma.js"(e,t){v();function n(e){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(e)}function r(e){return`<!-- @format -->
|
|
60
|
-
|
|
61
|
-
`+e.replace(/^\s*\n/,``)}t.exports={hasPragma:n,insertPragma:r}}}),be=f({"src/language-html/ast.js"(e,t){v();var n={attrs:!0,children:!0},r=new Set([`parent`]),i=class{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(let t of new Set([...r,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in n&&(t=t.map(e=>this.createChild(e))),!r.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in n){let n=this[r];if(n){let o=a(n,t=>t.map(e));t!==n&&(t||=new i({parent:this.parent}),t.setProperty(r,o))}}if(t)for(let e in this)e in n||(t[e]=this[e]);return e(t||this)}walk(e){for(let t in n){let n=this[t];if(n)for(let t=0;t<n.length;t++)n[t].walk(e)}e(this)}createChild(e){let t=e instanceof i?e.clone():new i(e);return t.setProperty(`parent`,this),t}insertChildBefore(e,t){this.children.splice(this.children.indexOf(e),0,this.createChild(t))}removeChild(e){this.children.splice(this.children.indexOf(e),1)}replaceChild(e,t){this.children[this.children.indexOf(e)]=this.createChild(t)}clone(){return new i(this)}get firstChild(){return this.children?.[0]}get lastChild(){return this.children?.[this.children.length-1]}get prev(){return this.parent?.children[this.parent.children.indexOf(this)-1]}get next(){return this.parent?.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(e=>[e.fullName,e.value]))}};function a(e,t){let n=e.map(t);return n.some((t,n)=>t!==e[n])?n:e}t.exports={Node:i}}}),xe=f({"src/language-html/conditional-comment.js"(e,t){v();var{ParseSourceSpan:n}=C(),r=[{regex:/^(\[if([^\]]*)]>)(.*?)<!\s*\[endif]$/s,parse:a},{regex:/^\[if([^\]]*)]><!$/,parse:o},{regex:/^<!\s*\[endif]$/,parse:s}];function i(e,t){if(e.value)for(let{regex:n,parse:i}of r){let r=e.value.match(n);if(r)return i(e,t,r)}return null}function a(e,t,r){let[,i,a,o]=r,s=4+i.length,c=e.sourceSpan.start.moveBy(s),l=c.moveBy(o.length),[u,d]=(()=>{try{return[!0,t(o,c).children]}catch{return[!1,[{type:`text`,value:o,sourceSpan:new n(c,l)}]]}})();return{type:`ieConditionalComment`,complete:u,children:d,condition:a.trim().replace(/\s+/g,` `),sourceSpan:e.sourceSpan,startSourceSpan:new n(e.sourceSpan.start,c),endSourceSpan:new n(l,e.sourceSpan.end)}}function o(e,t,n){let[,r]=n;return{type:`ieConditionalStartComment`,condition:r.trim().replace(/\s+/g,` `),sourceSpan:e.sourceSpan}}function s(e){return{type:`ieConditionalEndComment`,sourceSpan:e.sourceSpan}}t.exports={parseIeConditionalComment:i}}}),Se=f({"src/language-html/loc.js"(e,t){v();function n(e){return e.sourceSpan.start.offset}function r(e){return e.sourceSpan.end.offset}t.exports={locStart:n,locEnd:r}}}),Ce=f({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/tags.js"(e){v(),Object.defineProperty(e,`__esModule`,{value:!0}),(function(e){e[e.RAW_TEXT=0]=`RAW_TEXT`,e[e.ESCAPABLE_RAW_TEXT=1]=`ESCAPABLE_RAW_TEXT`,e[e.PARSABLE_DATA=2]=`PARSABLE_DATA`})(e.TagContentType||={});function t(e){if(e[0]!=`:`)return[null,e];let t=e.indexOf(`:`,1);if(t==-1)throw Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[e.slice(1,t),e.slice(t+1)]}e.splitNsName=t;function n(e){return t(e)[1]===`ng-container`}e.isNgContainer=n;function r(e){return t(e)[1]===`ng-content`}e.isNgContent=r;function i(e){return t(e)[1]===`ng-template`}e.isNgTemplate=i;function a(e){return e===null?null:t(e)[0]}e.getNsPrefix=a;function o(e,t){return e?`:${e}:${t}`:t}e.mergeNsAndName=o,e.NAMED_ENTITIES={Aacute:`Á`,aacute:`á`,Abreve:`Ă`,abreve:`ă`,ac:`∾`,acd:`∿`,acE:`∾̳`,Acirc:`Â`,acirc:`â`,acute:`´`,Acy:`А`,acy:`а`,AElig:`Æ`,aelig:`æ`,af:``,Afr:`𝔄`,afr:`𝔞`,Agrave:`À`,agrave:`à`,alefsym:`ℵ`,aleph:`ℵ`,Alpha:`Α`,alpha:`α`,Amacr:`Ā`,amacr:`ā`,amalg:`⨿`,AMP:`&`,amp:`&`,And:`⩓`,and:`∧`,andand:`⩕`,andd:`⩜`,andslope:`⩘`,andv:`⩚`,ang:`∠`,ange:`⦤`,angle:`∠`,angmsd:`∡`,angmsdaa:`⦨`,angmsdab:`⦩`,angmsdac:`⦪`,angmsdad:`⦫`,angmsdae:`⦬`,angmsdaf:`⦭`,angmsdag:`⦮`,angmsdah:`⦯`,angrt:`∟`,angrtvb:`⊾`,angrtvbd:`⦝`,angsph:`∢`,angst:`Å`,angzarr:`⍼`,Aogon:`Ą`,aogon:`ą`,Aopf:`𝔸`,aopf:`𝕒`,ap:`≈`,apacir:`⩯`,apE:`⩰`,ape:`≊`,apid:`≋`,apos:`'`,ApplyFunction:``,approx:`≈`,approxeq:`≊`,Aring:`Å`,aring:`å`,Ascr:`𝒜`,ascr:`𝒶`,Assign:`≔`,ast:`*`,asymp:`≈`,asympeq:`≍`,Atilde:`Ã`,atilde:`ã`,Auml:`Ä`,auml:`ä`,awconint:`∳`,awint:`⨑`,backcong:`≌`,backepsilon:`϶`,backprime:`‵`,backsim:`∽`,backsimeq:`⋍`,Backslash:`∖`,Barv:`⫧`,barvee:`⊽`,Barwed:`⌆`,barwed:`⌅`,barwedge:`⌅`,bbrk:`⎵`,bbrktbrk:`⎶`,bcong:`≌`,Bcy:`Б`,bcy:`б`,bdquo:`„`,becaus:`∵`,Because:`∵`,because:`∵`,bemptyv:`⦰`,bepsi:`϶`,bernou:`ℬ`,Bernoullis:`ℬ`,Beta:`Β`,beta:`β`,beth:`ℶ`,between:`≬`,Bfr:`𝔅`,bfr:`𝔟`,bigcap:`⋂`,bigcirc:`◯`,bigcup:`⋃`,bigodot:`⨀`,bigoplus:`⨁`,bigotimes:`⨂`,bigsqcup:`⨆`,bigstar:`★`,bigtriangledown:`▽`,bigtriangleup:`△`,biguplus:`⨄`,bigvee:`⋁`,bigwedge:`⋀`,bkarow:`⤍`,blacklozenge:`⧫`,blacksquare:`▪`,blacktriangle:`▴`,blacktriangledown:`▾`,blacktriangleleft:`◂`,blacktriangleright:`▸`,blank:`␣`,blk12:`▒`,blk14:`░`,blk34:`▓`,block:`█`,bne:`=⃥`,bnequiv:`≡⃥`,bNot:`⫭`,bnot:`⌐`,Bopf:`𝔹`,bopf:`𝕓`,bot:`⊥`,bottom:`⊥`,bowtie:`⋈`,boxbox:`⧉`,boxDL:`╗`,boxDl:`╖`,boxdL:`╕`,boxdl:`┐`,boxDR:`╔`,boxDr:`╓`,boxdR:`╒`,boxdr:`┌`,boxH:`═`,boxh:`─`,boxHD:`╦`,boxHd:`╤`,boxhD:`╥`,boxhd:`┬`,boxHU:`╩`,boxHu:`╧`,boxhU:`╨`,boxhu:`┴`,boxminus:`⊟`,boxplus:`⊞`,boxtimes:`⊠`,boxUL:`╝`,boxUl:`╜`,boxuL:`╛`,boxul:`┘`,boxUR:`╚`,boxUr:`╙`,boxuR:`╘`,boxur:`└`,boxV:`║`,boxv:`│`,boxVH:`╬`,boxVh:`╫`,boxvH:`╪`,boxvh:`┼`,boxVL:`╣`,boxVl:`╢`,boxvL:`╡`,boxvl:`┤`,boxVR:`╠`,boxVr:`╟`,boxvR:`╞`,boxvr:`├`,bprime:`‵`,Breve:`˘`,breve:`˘`,brvbar:`¦`,Bscr:`ℬ`,bscr:`𝒷`,bsemi:`⁏`,bsim:`∽`,bsime:`⋍`,bsol:`\\`,bsolb:`⧅`,bsolhsub:`⟈`,bull:`•`,bullet:`•`,bump:`≎`,bumpE:`⪮`,bumpe:`≏`,Bumpeq:`≎`,bumpeq:`≏`,Cacute:`Ć`,cacute:`ć`,Cap:`⋒`,cap:`∩`,capand:`⩄`,capbrcup:`⩉`,capcap:`⩋`,capcup:`⩇`,capdot:`⩀`,CapitalDifferentialD:`ⅅ`,caps:`∩︀`,caret:`⁁`,caron:`ˇ`,Cayleys:`ℭ`,ccaps:`⩍`,Ccaron:`Č`,ccaron:`č`,Ccedil:`Ç`,ccedil:`ç`,Ccirc:`Ĉ`,ccirc:`ĉ`,Cconint:`∰`,ccups:`⩌`,ccupssm:`⩐`,Cdot:`Ċ`,cdot:`ċ`,cedil:`¸`,Cedilla:`¸`,cemptyv:`⦲`,cent:`¢`,CenterDot:`·`,centerdot:`·`,Cfr:`ℭ`,cfr:`𝔠`,CHcy:`Ч`,chcy:`ч`,check:`✓`,checkmark:`✓`,Chi:`Χ`,chi:`χ`,cir:`○`,circ:`ˆ`,circeq:`≗`,circlearrowleft:`↺`,circlearrowright:`↻`,circledast:`⊛`,circledcirc:`⊚`,circleddash:`⊝`,CircleDot:`⊙`,circledR:`®`,circledS:`Ⓢ`,CircleMinus:`⊖`,CirclePlus:`⊕`,CircleTimes:`⊗`,cirE:`⧃`,cire:`≗`,cirfnint:`⨐`,cirmid:`⫯`,cirscir:`⧂`,ClockwiseContourIntegral:`∲`,CloseCurlyDoubleQuote:`”`,CloseCurlyQuote:`’`,clubs:`♣`,clubsuit:`♣`,Colon:`∷`,colon:`:`,Colone:`⩴`,colone:`≔`,coloneq:`≔`,comma:`,`,commat:`@`,comp:`∁`,compfn:`∘`,complement:`∁`,complexes:`ℂ`,cong:`≅`,congdot:`⩭`,Congruent:`≡`,Conint:`∯`,conint:`∮`,ContourIntegral:`∮`,Copf:`ℂ`,copf:`𝕔`,coprod:`∐`,Coproduct:`∐`,COPY:`©`,copy:`©`,copysr:`℗`,CounterClockwiseContourIntegral:`∳`,crarr:`↵`,Cross:`⨯`,cross:`✗`,Cscr:`𝒞`,cscr:`𝒸`,csub:`⫏`,csube:`⫑`,csup:`⫐`,csupe:`⫒`,ctdot:`⋯`,cudarrl:`⤸`,cudarrr:`⤵`,cuepr:`⋞`,cuesc:`⋟`,cularr:`↶`,cularrp:`⤽`,Cup:`⋓`,cup:`∪`,cupbrcap:`⩈`,CupCap:`≍`,cupcap:`⩆`,cupcup:`⩊`,cupdot:`⊍`,cupor:`⩅`,cups:`∪︀`,curarr:`↷`,curarrm:`⤼`,curlyeqprec:`⋞`,curlyeqsucc:`⋟`,curlyvee:`⋎`,curlywedge:`⋏`,curren:`¤`,curvearrowleft:`↶`,curvearrowright:`↷`,cuvee:`⋎`,cuwed:`⋏`,cwconint:`∲`,cwint:`∱`,cylcty:`⌭`,Dagger:`‡`,dagger:`†`,daleth:`ℸ`,Darr:`↡`,dArr:`⇓`,darr:`↓`,dash:`‐`,Dashv:`⫤`,dashv:`⊣`,dbkarow:`⤏`,dblac:`˝`,Dcaron:`Ď`,dcaron:`ď`,Dcy:`Д`,dcy:`д`,DD:`ⅅ`,dd:`ⅆ`,ddagger:`‡`,ddarr:`⇊`,DDotrahd:`⤑`,ddotseq:`⩷`,deg:`°`,Del:`∇`,Delta:`Δ`,delta:`δ`,demptyv:`⦱`,dfisht:`⥿`,Dfr:`𝔇`,dfr:`𝔡`,dHar:`⥥`,dharl:`⇃`,dharr:`⇂`,DiacriticalAcute:`´`,DiacriticalDot:`˙`,DiacriticalDoubleAcute:`˝`,DiacriticalGrave:"`",DiacriticalTilde:`˜`,diam:`⋄`,Diamond:`⋄`,diamond:`⋄`,diamondsuit:`♦`,diams:`♦`,die:`¨`,DifferentialD:`ⅆ`,digamma:`ϝ`,disin:`⋲`,div:`÷`,divide:`÷`,divideontimes:`⋇`,divonx:`⋇`,DJcy:`Ђ`,djcy:`ђ`,dlcorn:`⌞`,dlcrop:`⌍`,dollar:`$`,Dopf:`𝔻`,dopf:`𝕕`,Dot:`¨`,dot:`˙`,DotDot:`⃜`,doteq:`≐`,doteqdot:`≑`,DotEqual:`≐`,dotminus:`∸`,dotplus:`∔`,dotsquare:`⊡`,doublebarwedge:`⌆`,DoubleContourIntegral:`∯`,DoubleDot:`¨`,DoubleDownArrow:`⇓`,DoubleLeftArrow:`⇐`,DoubleLeftRightArrow:`⇔`,DoubleLeftTee:`⫤`,DoubleLongLeftArrow:`⟸`,DoubleLongLeftRightArrow:`⟺`,DoubleLongRightArrow:`⟹`,DoubleRightArrow:`⇒`,DoubleRightTee:`⊨`,DoubleUpArrow:`⇑`,DoubleUpDownArrow:`⇕`,DoubleVerticalBar:`∥`,DownArrow:`↓`,Downarrow:`⇓`,downarrow:`↓`,DownArrowBar:`⤓`,DownArrowUpArrow:`⇵`,DownBreve:`̑`,downdownarrows:`⇊`,downharpoonleft:`⇃`,downharpoonright:`⇂`,DownLeftRightVector:`⥐`,DownLeftTeeVector:`⥞`,DownLeftVector:`↽`,DownLeftVectorBar:`⥖`,DownRightTeeVector:`⥟`,DownRightVector:`⇁`,DownRightVectorBar:`⥗`,DownTee:`⊤`,DownTeeArrow:`↧`,drbkarow:`⤐`,drcorn:`⌟`,drcrop:`⌌`,Dscr:`𝒟`,dscr:`𝒹`,DScy:`Ѕ`,dscy:`ѕ`,dsol:`⧶`,Dstrok:`Đ`,dstrok:`đ`,dtdot:`⋱`,dtri:`▿`,dtrif:`▾`,duarr:`⇵`,duhar:`⥯`,dwangle:`⦦`,DZcy:`Џ`,dzcy:`џ`,dzigrarr:`⟿`,Eacute:`É`,eacute:`é`,easter:`⩮`,Ecaron:`Ě`,ecaron:`ě`,ecir:`≖`,Ecirc:`Ê`,ecirc:`ê`,ecolon:`≕`,Ecy:`Э`,ecy:`э`,eDDot:`⩷`,Edot:`Ė`,eDot:`≑`,edot:`ė`,ee:`ⅇ`,efDot:`≒`,Efr:`𝔈`,efr:`𝔢`,eg:`⪚`,Egrave:`È`,egrave:`è`,egs:`⪖`,egsdot:`⪘`,el:`⪙`,Element:`∈`,elinters:`⏧`,ell:`ℓ`,els:`⪕`,elsdot:`⪗`,Emacr:`Ē`,emacr:`ē`,empty:`∅`,emptyset:`∅`,EmptySmallSquare:`◻`,emptyv:`∅`,EmptyVerySmallSquare:`▫`,emsp:` `,emsp13:` `,emsp14:` `,ENG:`Ŋ`,eng:`ŋ`,ensp:` `,Eogon:`Ę`,eogon:`ę`,Eopf:`𝔼`,eopf:`𝕖`,epar:`⋕`,eparsl:`⧣`,eplus:`⩱`,epsi:`ε`,Epsilon:`Ε`,epsilon:`ε`,epsiv:`ϵ`,eqcirc:`≖`,eqcolon:`≕`,eqsim:`≂`,eqslantgtr:`⪖`,eqslantless:`⪕`,Equal:`⩵`,equals:`=`,EqualTilde:`≂`,equest:`≟`,Equilibrium:`⇌`,equiv:`≡`,equivDD:`⩸`,eqvparsl:`⧥`,erarr:`⥱`,erDot:`≓`,Escr:`ℰ`,escr:`ℯ`,esdot:`≐`,Esim:`⩳`,esim:`≂`,Eta:`Η`,eta:`η`,ETH:`Ð`,eth:`ð`,Euml:`Ë`,euml:`ë`,euro:`€`,excl:`!`,exist:`∃`,Exists:`∃`,expectation:`ℰ`,ExponentialE:`ⅇ`,exponentiale:`ⅇ`,fallingdotseq:`≒`,Fcy:`Ф`,fcy:`ф`,female:`♀`,ffilig:`ffi`,fflig:`ff`,ffllig:`ffl`,Ffr:`𝔉`,ffr:`𝔣`,filig:`fi`,FilledSmallSquare:`◼`,FilledVerySmallSquare:`▪`,fjlig:`fj`,flat:`♭`,fllig:`fl`,fltns:`▱`,fnof:`ƒ`,Fopf:`𝔽`,fopf:`𝕗`,ForAll:`∀`,forall:`∀`,fork:`⋔`,forkv:`⫙`,Fouriertrf:`ℱ`,fpartint:`⨍`,frac12:`½`,frac13:`⅓`,frac14:`¼`,frac15:`⅕`,frac16:`⅙`,frac18:`⅛`,frac23:`⅔`,frac25:`⅖`,frac34:`¾`,frac35:`⅗`,frac38:`⅜`,frac45:`⅘`,frac56:`⅚`,frac58:`⅝`,frac78:`⅞`,frasl:`⁄`,frown:`⌢`,Fscr:`ℱ`,fscr:`𝒻`,gacute:`ǵ`,Gamma:`Γ`,gamma:`γ`,Gammad:`Ϝ`,gammad:`ϝ`,gap:`⪆`,Gbreve:`Ğ`,gbreve:`ğ`,Gcedil:`Ģ`,Gcirc:`Ĝ`,gcirc:`ĝ`,Gcy:`Г`,gcy:`г`,Gdot:`Ġ`,gdot:`ġ`,gE:`≧`,ge:`≥`,gEl:`⪌`,gel:`⋛`,geq:`≥`,geqq:`≧`,geqslant:`⩾`,ges:`⩾`,gescc:`⪩`,gesdot:`⪀`,gesdoto:`⪂`,gesdotol:`⪄`,gesl:`⋛︀`,gesles:`⪔`,Gfr:`𝔊`,gfr:`𝔤`,Gg:`⋙`,gg:`≫`,ggg:`⋙`,gimel:`ℷ`,GJcy:`Ѓ`,gjcy:`ѓ`,gl:`≷`,gla:`⪥`,glE:`⪒`,glj:`⪤`,gnap:`⪊`,gnapprox:`⪊`,gnE:`≩`,gne:`⪈`,gneq:`⪈`,gneqq:`≩`,gnsim:`⋧`,Gopf:`𝔾`,gopf:`𝕘`,grave:"`",GreaterEqual:`≥`,GreaterEqualLess:`⋛`,GreaterFullEqual:`≧`,GreaterGreater:`⪢`,GreaterLess:`≷`,GreaterSlantEqual:`⩾`,GreaterTilde:`≳`,Gscr:`𝒢`,gscr:`ℊ`,gsim:`≳`,gsime:`⪎`,gsiml:`⪐`,GT:`>`,Gt:`≫`,gt:`>`,gtcc:`⪧`,gtcir:`⩺`,gtdot:`⋗`,gtlPar:`⦕`,gtquest:`⩼`,gtrapprox:`⪆`,gtrarr:`⥸`,gtrdot:`⋗`,gtreqless:`⋛`,gtreqqless:`⪌`,gtrless:`≷`,gtrsim:`≳`,gvertneqq:`≩︀`,gvnE:`≩︀`,Hacek:`ˇ`,hairsp:` `,half:`½`,hamilt:`ℋ`,HARDcy:`Ъ`,hardcy:`ъ`,hArr:`⇔`,harr:`↔`,harrcir:`⥈`,harrw:`↭`,Hat:`^`,hbar:`ℏ`,Hcirc:`Ĥ`,hcirc:`ĥ`,hearts:`♥`,heartsuit:`♥`,hellip:`…`,hercon:`⊹`,Hfr:`ℌ`,hfr:`𝔥`,HilbertSpace:`ℋ`,hksearow:`⤥`,hkswarow:`⤦`,hoarr:`⇿`,homtht:`∻`,hookleftarrow:`↩`,hookrightarrow:`↪`,Hopf:`ℍ`,hopf:`𝕙`,horbar:`―`,HorizontalLine:`─`,Hscr:`ℋ`,hscr:`𝒽`,hslash:`ℏ`,Hstrok:`Ħ`,hstrok:`ħ`,HumpDownHump:`≎`,HumpEqual:`≏`,hybull:`⁃`,hyphen:`‐`,Iacute:`Í`,iacute:`í`,ic:``,Icirc:`Î`,icirc:`î`,Icy:`И`,icy:`и`,Idot:`İ`,IEcy:`Е`,iecy:`е`,iexcl:`¡`,iff:`⇔`,Ifr:`ℑ`,ifr:`𝔦`,Igrave:`Ì`,igrave:`ì`,ii:`ⅈ`,iiiint:`⨌`,iiint:`∭`,iinfin:`⧜`,iiota:`℩`,IJlig:`IJ`,ijlig:`ij`,Im:`ℑ`,Imacr:`Ī`,imacr:`ī`,image:`ℑ`,ImaginaryI:`ⅈ`,imagline:`ℐ`,imagpart:`ℑ`,imath:`ı`,imof:`⊷`,imped:`Ƶ`,Implies:`⇒`,in:`∈`,incare:`℅`,infin:`∞`,infintie:`⧝`,inodot:`ı`,Int:`∬`,int:`∫`,intcal:`⊺`,integers:`ℤ`,Integral:`∫`,intercal:`⊺`,Intersection:`⋂`,intlarhk:`⨗`,intprod:`⨼`,InvisibleComma:``,InvisibleTimes:``,IOcy:`Ё`,iocy:`ё`,Iogon:`Į`,iogon:`į`,Iopf:`𝕀`,iopf:`𝕚`,Iota:`Ι`,iota:`ι`,iprod:`⨼`,iquest:`¿`,Iscr:`ℐ`,iscr:`𝒾`,isin:`∈`,isindot:`⋵`,isinE:`⋹`,isins:`⋴`,isinsv:`⋳`,isinv:`∈`,it:``,Itilde:`Ĩ`,itilde:`ĩ`,Iukcy:`І`,iukcy:`і`,Iuml:`Ï`,iuml:`ï`,Jcirc:`Ĵ`,jcirc:`ĵ`,Jcy:`Й`,jcy:`й`,Jfr:`𝔍`,jfr:`𝔧`,jmath:`ȷ`,Jopf:`𝕁`,jopf:`𝕛`,Jscr:`𝒥`,jscr:`𝒿`,Jsercy:`Ј`,jsercy:`ј`,Jukcy:`Є`,jukcy:`є`,Kappa:`Κ`,kappa:`κ`,kappav:`ϰ`,Kcedil:`Ķ`,kcedil:`ķ`,Kcy:`К`,kcy:`к`,Kfr:`𝔎`,kfr:`𝔨`,kgreen:`ĸ`,KHcy:`Х`,khcy:`х`,KJcy:`Ќ`,kjcy:`ќ`,Kopf:`𝕂`,kopf:`𝕜`,Kscr:`𝒦`,kscr:`𝓀`,lAarr:`⇚`,Lacute:`Ĺ`,lacute:`ĺ`,laemptyv:`⦴`,lagran:`ℒ`,Lambda:`Λ`,lambda:`λ`,Lang:`⟪`,lang:`⟨`,langd:`⦑`,langle:`⟨`,lap:`⪅`,Laplacetrf:`ℒ`,laquo:`«`,Larr:`↞`,lArr:`⇐`,larr:`←`,larrb:`⇤`,larrbfs:`⤟`,larrfs:`⤝`,larrhk:`↩`,larrlp:`↫`,larrpl:`⤹`,larrsim:`⥳`,larrtl:`↢`,lat:`⪫`,lAtail:`⤛`,latail:`⤙`,late:`⪭`,lates:`⪭︀`,lBarr:`⤎`,lbarr:`⤌`,lbbrk:`❲`,lbrace:`{`,lbrack:`[`,lbrke:`⦋`,lbrksld:`⦏`,lbrkslu:`⦍`,Lcaron:`Ľ`,lcaron:`ľ`,Lcedil:`Ļ`,lcedil:`ļ`,lceil:`⌈`,lcub:`{`,Lcy:`Л`,lcy:`л`,ldca:`⤶`,ldquo:`“`,ldquor:`„`,ldrdhar:`⥧`,ldrushar:`⥋`,ldsh:`↲`,lE:`≦`,le:`≤`,LeftAngleBracket:`⟨`,LeftArrow:`←`,Leftarrow:`⇐`,leftarrow:`←`,LeftArrowBar:`⇤`,LeftArrowRightArrow:`⇆`,leftarrowtail:`↢`,LeftCeiling:`⌈`,LeftDoubleBracket:`⟦`,LeftDownTeeVector:`⥡`,LeftDownVector:`⇃`,LeftDownVectorBar:`⥙`,LeftFloor:`⌊`,leftharpoondown:`↽`,leftharpoonup:`↼`,leftleftarrows:`⇇`,LeftRightArrow:`↔`,Leftrightarrow:`⇔`,leftrightarrow:`↔`,leftrightarrows:`⇆`,leftrightharpoons:`⇋`,leftrightsquigarrow:`↭`,LeftRightVector:`⥎`,LeftTee:`⊣`,LeftTeeArrow:`↤`,LeftTeeVector:`⥚`,leftthreetimes:`⋋`,LeftTriangle:`⊲`,LeftTriangleBar:`⧏`,LeftTriangleEqual:`⊴`,LeftUpDownVector:`⥑`,LeftUpTeeVector:`⥠`,LeftUpVector:`↿`,LeftUpVectorBar:`⥘`,LeftVector:`↼`,LeftVectorBar:`⥒`,lEg:`⪋`,leg:`⋚`,leq:`≤`,leqq:`≦`,leqslant:`⩽`,les:`⩽`,lescc:`⪨`,lesdot:`⩿`,lesdoto:`⪁`,lesdotor:`⪃`,lesg:`⋚︀`,lesges:`⪓`,lessapprox:`⪅`,lessdot:`⋖`,lesseqgtr:`⋚`,lesseqqgtr:`⪋`,LessEqualGreater:`⋚`,LessFullEqual:`≦`,LessGreater:`≶`,lessgtr:`≶`,LessLess:`⪡`,lesssim:`≲`,LessSlantEqual:`⩽`,LessTilde:`≲`,lfisht:`⥼`,lfloor:`⌊`,Lfr:`𝔏`,lfr:`𝔩`,lg:`≶`,lgE:`⪑`,lHar:`⥢`,lhard:`↽`,lharu:`↼`,lharul:`⥪`,lhblk:`▄`,LJcy:`Љ`,ljcy:`љ`,Ll:`⋘`,ll:`≪`,llarr:`⇇`,llcorner:`⌞`,Lleftarrow:`⇚`,llhard:`⥫`,lltri:`◺`,Lmidot:`Ŀ`,lmidot:`ŀ`,lmoust:`⎰`,lmoustache:`⎰`,lnap:`⪉`,lnapprox:`⪉`,lnE:`≨`,lne:`⪇`,lneq:`⪇`,lneqq:`≨`,lnsim:`⋦`,loang:`⟬`,loarr:`⇽`,lobrk:`⟦`,LongLeftArrow:`⟵`,Longleftarrow:`⟸`,longleftarrow:`⟵`,LongLeftRightArrow:`⟷`,Longleftrightarrow:`⟺`,longleftrightarrow:`⟷`,longmapsto:`⟼`,LongRightArrow:`⟶`,Longrightarrow:`⟹`,longrightarrow:`⟶`,looparrowleft:`↫`,looparrowright:`↬`,lopar:`⦅`,Lopf:`𝕃`,lopf:`𝕝`,loplus:`⨭`,lotimes:`⨴`,lowast:`∗`,lowbar:`_`,LowerLeftArrow:`↙`,LowerRightArrow:`↘`,loz:`◊`,lozenge:`◊`,lozf:`⧫`,lpar:`(`,lparlt:`⦓`,lrarr:`⇆`,lrcorner:`⌟`,lrhar:`⇋`,lrhard:`⥭`,lrm:``,lrtri:`⊿`,lsaquo:`‹`,Lscr:`ℒ`,lscr:`𝓁`,Lsh:`↰`,lsh:`↰`,lsim:`≲`,lsime:`⪍`,lsimg:`⪏`,lsqb:`[`,lsquo:`‘`,lsquor:`‚`,Lstrok:`Ł`,lstrok:`ł`,LT:`<`,Lt:`≪`,lt:`<`,ltcc:`⪦`,ltcir:`⩹`,ltdot:`⋖`,lthree:`⋋`,ltimes:`⋉`,ltlarr:`⥶`,ltquest:`⩻`,ltri:`◃`,ltrie:`⊴`,ltrif:`◂`,ltrPar:`⦖`,lurdshar:`⥊`,luruhar:`⥦`,lvertneqq:`≨︀`,lvnE:`≨︀`,macr:`¯`,male:`♂`,malt:`✠`,maltese:`✠`,Map:`⤅`,map:`↦`,mapsto:`↦`,mapstodown:`↧`,mapstoleft:`↤`,mapstoup:`↥`,marker:`▮`,mcomma:`⨩`,Mcy:`М`,mcy:`м`,mdash:`—`,mDDot:`∺`,measuredangle:`∡`,MediumSpace:` `,Mellintrf:`ℳ`,Mfr:`𝔐`,mfr:`𝔪`,mho:`℧`,micro:`µ`,mid:`∣`,midast:`*`,midcir:`⫰`,middot:`·`,minus:`−`,minusb:`⊟`,minusd:`∸`,minusdu:`⨪`,MinusPlus:`∓`,mlcp:`⫛`,mldr:`…`,mnplus:`∓`,models:`⊧`,Mopf:`𝕄`,mopf:`𝕞`,mp:`∓`,Mscr:`ℳ`,mscr:`𝓂`,mstpos:`∾`,Mu:`Μ`,mu:`μ`,multimap:`⊸`,mumap:`⊸`,nabla:`∇`,Nacute:`Ń`,nacute:`ń`,nang:`∠⃒`,nap:`≉`,napE:`⩰̸`,napid:`≋̸`,napos:`ʼn`,napprox:`≉`,natur:`♮`,natural:`♮`,naturals:`ℕ`,nbsp:`\xA0`,nbump:`≎̸`,nbumpe:`≏̸`,ncap:`⩃`,Ncaron:`Ň`,ncaron:`ň`,Ncedil:`Ņ`,ncedil:`ņ`,ncong:`≇`,ncongdot:`⩭̸`,ncup:`⩂`,Ncy:`Н`,ncy:`н`,ndash:`–`,ne:`≠`,nearhk:`⤤`,neArr:`⇗`,nearr:`↗`,nearrow:`↗`,nedot:`≐̸`,NegativeMediumSpace:``,NegativeThickSpace:``,NegativeThinSpace:``,NegativeVeryThinSpace:``,nequiv:`≢`,nesear:`⤨`,nesim:`≂̸`,NestedGreaterGreater:`≫`,NestedLessLess:`≪`,NewLine:`
|
|
62
|
-
`,nexist:`∄`,nexists:`∄`,Nfr:`𝔑`,nfr:`𝔫`,ngE:`≧̸`,nge:`≱`,ngeq:`≱`,ngeqq:`≧̸`,ngeqslant:`⩾̸`,nges:`⩾̸`,nGg:`⋙̸`,ngsim:`≵`,nGt:`≫⃒`,ngt:`≯`,ngtr:`≯`,nGtv:`≫̸`,nhArr:`⇎`,nharr:`↮`,nhpar:`⫲`,ni:`∋`,nis:`⋼`,nisd:`⋺`,niv:`∋`,NJcy:`Њ`,njcy:`њ`,nlArr:`⇍`,nlarr:`↚`,nldr:`‥`,nlE:`≦̸`,nle:`≰`,nLeftarrow:`⇍`,nleftarrow:`↚`,nLeftrightarrow:`⇎`,nleftrightarrow:`↮`,nleq:`≰`,nleqq:`≦̸`,nleqslant:`⩽̸`,nles:`⩽̸`,nless:`≮`,nLl:`⋘̸`,nlsim:`≴`,nLt:`≪⃒`,nlt:`≮`,nltri:`⋪`,nltrie:`⋬`,nLtv:`≪̸`,nmid:`∤`,NoBreak:``,NonBreakingSpace:`\xA0`,Nopf:`ℕ`,nopf:`𝕟`,Not:`⫬`,not:`¬`,NotCongruent:`≢`,NotCupCap:`≭`,NotDoubleVerticalBar:`∦`,NotElement:`∉`,NotEqual:`≠`,NotEqualTilde:`≂̸`,NotExists:`∄`,NotGreater:`≯`,NotGreaterEqual:`≱`,NotGreaterFullEqual:`≧̸`,NotGreaterGreater:`≫̸`,NotGreaterLess:`≹`,NotGreaterSlantEqual:`⩾̸`,NotGreaterTilde:`≵`,NotHumpDownHump:`≎̸`,NotHumpEqual:`≏̸`,notin:`∉`,notindot:`⋵̸`,notinE:`⋹̸`,notinva:`∉`,notinvb:`⋷`,notinvc:`⋶`,NotLeftTriangle:`⋪`,NotLeftTriangleBar:`⧏̸`,NotLeftTriangleEqual:`⋬`,NotLess:`≮`,NotLessEqual:`≰`,NotLessGreater:`≸`,NotLessLess:`≪̸`,NotLessSlantEqual:`⩽̸`,NotLessTilde:`≴`,NotNestedGreaterGreater:`⪢̸`,NotNestedLessLess:`⪡̸`,notni:`∌`,notniva:`∌`,notnivb:`⋾`,notnivc:`⋽`,NotPrecedes:`⊀`,NotPrecedesEqual:`⪯̸`,NotPrecedesSlantEqual:`⋠`,NotReverseElement:`∌`,NotRightTriangle:`⋫`,NotRightTriangleBar:`⧐̸`,NotRightTriangleEqual:`⋭`,NotSquareSubset:`⊏̸`,NotSquareSubsetEqual:`⋢`,NotSquareSuperset:`⊐̸`,NotSquareSupersetEqual:`⋣`,NotSubset:`⊂⃒`,NotSubsetEqual:`⊈`,NotSucceeds:`⊁`,NotSucceedsEqual:`⪰̸`,NotSucceedsSlantEqual:`⋡`,NotSucceedsTilde:`≿̸`,NotSuperset:`⊃⃒`,NotSupersetEqual:`⊉`,NotTilde:`≁`,NotTildeEqual:`≄`,NotTildeFullEqual:`≇`,NotTildeTilde:`≉`,NotVerticalBar:`∤`,npar:`∦`,nparallel:`∦`,nparsl:`⫽⃥`,npart:`∂̸`,npolint:`⨔`,npr:`⊀`,nprcue:`⋠`,npre:`⪯̸`,nprec:`⊀`,npreceq:`⪯̸`,nrArr:`⇏`,nrarr:`↛`,nrarrc:`⤳̸`,nrarrw:`↝̸`,nRightarrow:`⇏`,nrightarrow:`↛`,nrtri:`⋫`,nrtrie:`⋭`,nsc:`⊁`,nsccue:`⋡`,nsce:`⪰̸`,Nscr:`𝒩`,nscr:`𝓃`,nshortmid:`∤`,nshortparallel:`∦`,nsim:`≁`,nsime:`≄`,nsimeq:`≄`,nsmid:`∤`,nspar:`∦`,nsqsube:`⋢`,nsqsupe:`⋣`,nsub:`⊄`,nsubE:`⫅̸`,nsube:`⊈`,nsubset:`⊂⃒`,nsubseteq:`⊈`,nsubseteqq:`⫅̸`,nsucc:`⊁`,nsucceq:`⪰̸`,nsup:`⊅`,nsupE:`⫆̸`,nsupe:`⊉`,nsupset:`⊃⃒`,nsupseteq:`⊉`,nsupseteqq:`⫆̸`,ntgl:`≹`,Ntilde:`Ñ`,ntilde:`ñ`,ntlg:`≸`,ntriangleleft:`⋪`,ntrianglelefteq:`⋬`,ntriangleright:`⋫`,ntrianglerighteq:`⋭`,Nu:`Ν`,nu:`ν`,num:`#`,numero:`№`,numsp:` `,nvap:`≍⃒`,nVDash:`⊯`,nVdash:`⊮`,nvDash:`⊭`,nvdash:`⊬`,nvge:`≥⃒`,nvgt:`>⃒`,nvHarr:`⤄`,nvinfin:`⧞`,nvlArr:`⤂`,nvle:`≤⃒`,nvlt:`<⃒`,nvltrie:`⊴⃒`,nvrArr:`⤃`,nvrtrie:`⊵⃒`,nvsim:`∼⃒`,nwarhk:`⤣`,nwArr:`⇖`,nwarr:`↖`,nwarrow:`↖`,nwnear:`⤧`,Oacute:`Ó`,oacute:`ó`,oast:`⊛`,ocir:`⊚`,Ocirc:`Ô`,ocirc:`ô`,Ocy:`О`,ocy:`о`,odash:`⊝`,Odblac:`Ő`,odblac:`ő`,odiv:`⨸`,odot:`⊙`,odsold:`⦼`,OElig:`Œ`,oelig:`œ`,ofcir:`⦿`,Ofr:`𝔒`,ofr:`𝔬`,ogon:`˛`,Ograve:`Ò`,ograve:`ò`,ogt:`⧁`,ohbar:`⦵`,ohm:`Ω`,oint:`∮`,olarr:`↺`,olcir:`⦾`,olcross:`⦻`,oline:`‾`,olt:`⧀`,Omacr:`Ō`,omacr:`ō`,Omega:`Ω`,omega:`ω`,Omicron:`Ο`,omicron:`ο`,omid:`⦶`,ominus:`⊖`,Oopf:`𝕆`,oopf:`𝕠`,opar:`⦷`,OpenCurlyDoubleQuote:`“`,OpenCurlyQuote:`‘`,operp:`⦹`,oplus:`⊕`,Or:`⩔`,or:`∨`,orarr:`↻`,ord:`⩝`,order:`ℴ`,orderof:`ℴ`,ordf:`ª`,ordm:`º`,origof:`⊶`,oror:`⩖`,orslope:`⩗`,orv:`⩛`,oS:`Ⓢ`,Oscr:`𝒪`,oscr:`ℴ`,Oslash:`Ø`,oslash:`ø`,osol:`⊘`,Otilde:`Õ`,otilde:`õ`,Otimes:`⨷`,otimes:`⊗`,otimesas:`⨶`,Ouml:`Ö`,ouml:`ö`,ovbar:`⌽`,OverBar:`‾`,OverBrace:`⏞`,OverBracket:`⎴`,OverParenthesis:`⏜`,par:`∥`,para:`¶`,parallel:`∥`,parsim:`⫳`,parsl:`⫽`,part:`∂`,PartialD:`∂`,Pcy:`П`,pcy:`п`,percnt:`%`,period:`.`,permil:`‰`,perp:`⊥`,pertenk:`‱`,Pfr:`𝔓`,pfr:`𝔭`,Phi:`Φ`,phi:`φ`,phiv:`ϕ`,phmmat:`ℳ`,phone:`☎`,Pi:`Π`,pi:`π`,pitchfork:`⋔`,piv:`ϖ`,planck:`ℏ`,planckh:`ℎ`,plankv:`ℏ`,plus:`+`,plusacir:`⨣`,plusb:`⊞`,pluscir:`⨢`,plusdo:`∔`,plusdu:`⨥`,pluse:`⩲`,PlusMinus:`±`,plusmn:`±`,plussim:`⨦`,plustwo:`⨧`,pm:`±`,Poincareplane:`ℌ`,pointint:`⨕`,Popf:`ℙ`,popf:`𝕡`,pound:`£`,Pr:`⪻`,pr:`≺`,prap:`⪷`,prcue:`≼`,prE:`⪳`,pre:`⪯`,prec:`≺`,precapprox:`⪷`,preccurlyeq:`≼`,Precedes:`≺`,PrecedesEqual:`⪯`,PrecedesSlantEqual:`≼`,PrecedesTilde:`≾`,preceq:`⪯`,precnapprox:`⪹`,precneqq:`⪵`,precnsim:`⋨`,precsim:`≾`,Prime:`″`,prime:`′`,primes:`ℙ`,prnap:`⪹`,prnE:`⪵`,prnsim:`⋨`,prod:`∏`,Product:`∏`,profalar:`⌮`,profline:`⌒`,profsurf:`⌓`,prop:`∝`,Proportion:`∷`,Proportional:`∝`,propto:`∝`,prsim:`≾`,prurel:`⊰`,Pscr:`𝒫`,pscr:`𝓅`,Psi:`Ψ`,psi:`ψ`,puncsp:` `,Qfr:`𝔔`,qfr:`𝔮`,qint:`⨌`,Qopf:`ℚ`,qopf:`𝕢`,qprime:`⁗`,Qscr:`𝒬`,qscr:`𝓆`,quaternions:`ℍ`,quatint:`⨖`,quest:`?`,questeq:`≟`,QUOT:`"`,quot:`"`,rAarr:`⇛`,race:`∽̱`,Racute:`Ŕ`,racute:`ŕ`,radic:`√`,raemptyv:`⦳`,Rang:`⟫`,rang:`⟩`,rangd:`⦒`,range:`⦥`,rangle:`⟩`,raquo:`»`,Rarr:`↠`,rArr:`⇒`,rarr:`→`,rarrap:`⥵`,rarrb:`⇥`,rarrbfs:`⤠`,rarrc:`⤳`,rarrfs:`⤞`,rarrhk:`↪`,rarrlp:`↬`,rarrpl:`⥅`,rarrsim:`⥴`,Rarrtl:`⤖`,rarrtl:`↣`,rarrw:`↝`,rAtail:`⤜`,ratail:`⤚`,ratio:`∶`,rationals:`ℚ`,RBarr:`⤐`,rBarr:`⤏`,rbarr:`⤍`,rbbrk:`❳`,rbrace:`}`,rbrack:`]`,rbrke:`⦌`,rbrksld:`⦎`,rbrkslu:`⦐`,Rcaron:`Ř`,rcaron:`ř`,Rcedil:`Ŗ`,rcedil:`ŗ`,rceil:`⌉`,rcub:`}`,Rcy:`Р`,rcy:`р`,rdca:`⤷`,rdldhar:`⥩`,rdquo:`”`,rdquor:`”`,rdsh:`↳`,Re:`ℜ`,real:`ℜ`,realine:`ℛ`,realpart:`ℜ`,reals:`ℝ`,rect:`▭`,REG:`®`,reg:`®`,ReverseElement:`∋`,ReverseEquilibrium:`⇋`,ReverseUpEquilibrium:`⥯`,rfisht:`⥽`,rfloor:`⌋`,Rfr:`ℜ`,rfr:`𝔯`,rHar:`⥤`,rhard:`⇁`,rharu:`⇀`,rharul:`⥬`,Rho:`Ρ`,rho:`ρ`,rhov:`ϱ`,RightAngleBracket:`⟩`,RightArrow:`→`,Rightarrow:`⇒`,rightarrow:`→`,RightArrowBar:`⇥`,RightArrowLeftArrow:`⇄`,rightarrowtail:`↣`,RightCeiling:`⌉`,RightDoubleBracket:`⟧`,RightDownTeeVector:`⥝`,RightDownVector:`⇂`,RightDownVectorBar:`⥕`,RightFloor:`⌋`,rightharpoondown:`⇁`,rightharpoonup:`⇀`,rightleftarrows:`⇄`,rightleftharpoons:`⇌`,rightrightarrows:`⇉`,rightsquigarrow:`↝`,RightTee:`⊢`,RightTeeArrow:`↦`,RightTeeVector:`⥛`,rightthreetimes:`⋌`,RightTriangle:`⊳`,RightTriangleBar:`⧐`,RightTriangleEqual:`⊵`,RightUpDownVector:`⥏`,RightUpTeeVector:`⥜`,RightUpVector:`↾`,RightUpVectorBar:`⥔`,RightVector:`⇀`,RightVectorBar:`⥓`,ring:`˚`,risingdotseq:`≓`,rlarr:`⇄`,rlhar:`⇌`,rlm:``,rmoust:`⎱`,rmoustache:`⎱`,rnmid:`⫮`,roang:`⟭`,roarr:`⇾`,robrk:`⟧`,ropar:`⦆`,Ropf:`ℝ`,ropf:`𝕣`,roplus:`⨮`,rotimes:`⨵`,RoundImplies:`⥰`,rpar:`)`,rpargt:`⦔`,rppolint:`⨒`,rrarr:`⇉`,Rrightarrow:`⇛`,rsaquo:`›`,Rscr:`ℛ`,rscr:`𝓇`,Rsh:`↱`,rsh:`↱`,rsqb:`]`,rsquo:`’`,rsquor:`’`,rthree:`⋌`,rtimes:`⋊`,rtri:`▹`,rtrie:`⊵`,rtrif:`▸`,rtriltri:`⧎`,RuleDelayed:`⧴`,ruluhar:`⥨`,rx:`℞`,Sacute:`Ś`,sacute:`ś`,sbquo:`‚`,Sc:`⪼`,sc:`≻`,scap:`⪸`,Scaron:`Š`,scaron:`š`,sccue:`≽`,scE:`⪴`,sce:`⪰`,Scedil:`Ş`,scedil:`ş`,Scirc:`Ŝ`,scirc:`ŝ`,scnap:`⪺`,scnE:`⪶`,scnsim:`⋩`,scpolint:`⨓`,scsim:`≿`,Scy:`С`,scy:`с`,sdot:`⋅`,sdotb:`⊡`,sdote:`⩦`,searhk:`⤥`,seArr:`⇘`,searr:`↘`,searrow:`↘`,sect:`§`,semi:`;`,seswar:`⤩`,setminus:`∖`,setmn:`∖`,sext:`✶`,Sfr:`𝔖`,sfr:`𝔰`,sfrown:`⌢`,sharp:`♯`,SHCHcy:`Щ`,shchcy:`щ`,SHcy:`Ш`,shcy:`ш`,ShortDownArrow:`↓`,ShortLeftArrow:`←`,shortmid:`∣`,shortparallel:`∥`,ShortRightArrow:`→`,ShortUpArrow:`↑`,shy:``,Sigma:`Σ`,sigma:`σ`,sigmaf:`ς`,sigmav:`ς`,sim:`∼`,simdot:`⩪`,sime:`≃`,simeq:`≃`,simg:`⪞`,simgE:`⪠`,siml:`⪝`,simlE:`⪟`,simne:`≆`,simplus:`⨤`,simrarr:`⥲`,slarr:`←`,SmallCircle:`∘`,smallsetminus:`∖`,smashp:`⨳`,smeparsl:`⧤`,smid:`∣`,smile:`⌣`,smt:`⪪`,smte:`⪬`,smtes:`⪬︀`,SOFTcy:`Ь`,softcy:`ь`,sol:`/`,solb:`⧄`,solbar:`⌿`,Sopf:`𝕊`,sopf:`𝕤`,spades:`♠`,spadesuit:`♠`,spar:`∥`,sqcap:`⊓`,sqcaps:`⊓︀`,sqcup:`⊔`,sqcups:`⊔︀`,Sqrt:`√`,sqsub:`⊏`,sqsube:`⊑`,sqsubset:`⊏`,sqsubseteq:`⊑`,sqsup:`⊐`,sqsupe:`⊒`,sqsupset:`⊐`,sqsupseteq:`⊒`,squ:`□`,Square:`□`,square:`□`,SquareIntersection:`⊓`,SquareSubset:`⊏`,SquareSubsetEqual:`⊑`,SquareSuperset:`⊐`,SquareSupersetEqual:`⊒`,SquareUnion:`⊔`,squarf:`▪`,squf:`▪`,srarr:`→`,Sscr:`𝒮`,sscr:`𝓈`,ssetmn:`∖`,ssmile:`⌣`,sstarf:`⋆`,Star:`⋆`,star:`☆`,starf:`★`,straightepsilon:`ϵ`,straightphi:`ϕ`,strns:`¯`,Sub:`⋐`,sub:`⊂`,subdot:`⪽`,subE:`⫅`,sube:`⊆`,subedot:`⫃`,submult:`⫁`,subnE:`⫋`,subne:`⊊`,subplus:`⪿`,subrarr:`⥹`,Subset:`⋐`,subset:`⊂`,subseteq:`⊆`,subseteqq:`⫅`,SubsetEqual:`⊆`,subsetneq:`⊊`,subsetneqq:`⫋`,subsim:`⫇`,subsub:`⫕`,subsup:`⫓`,succ:`≻`,succapprox:`⪸`,succcurlyeq:`≽`,Succeeds:`≻`,SucceedsEqual:`⪰`,SucceedsSlantEqual:`≽`,SucceedsTilde:`≿`,succeq:`⪰`,succnapprox:`⪺`,succneqq:`⪶`,succnsim:`⋩`,succsim:`≿`,SuchThat:`∋`,Sum:`∑`,sum:`∑`,sung:`♪`,Sup:`⋑`,sup:`⊃`,sup1:`¹`,sup2:`²`,sup3:`³`,supdot:`⪾`,supdsub:`⫘`,supE:`⫆`,supe:`⊇`,supedot:`⫄`,Superset:`⊃`,SupersetEqual:`⊇`,suphsol:`⟉`,suphsub:`⫗`,suplarr:`⥻`,supmult:`⫂`,supnE:`⫌`,supne:`⊋`,supplus:`⫀`,Supset:`⋑`,supset:`⊃`,supseteq:`⊇`,supseteqq:`⫆`,supsetneq:`⊋`,supsetneqq:`⫌`,supsim:`⫈`,supsub:`⫔`,supsup:`⫖`,swarhk:`⤦`,swArr:`⇙`,swarr:`↙`,swarrow:`↙`,swnwar:`⤪`,szlig:`ß`,Tab:` `,target:`⌖`,Tau:`Τ`,tau:`τ`,tbrk:`⎴`,Tcaron:`Ť`,tcaron:`ť`,Tcedil:`Ţ`,tcedil:`ţ`,Tcy:`Т`,tcy:`т`,tdot:`⃛`,telrec:`⌕`,Tfr:`𝔗`,tfr:`𝔱`,there4:`∴`,Therefore:`∴`,therefore:`∴`,Theta:`Θ`,theta:`θ`,thetasym:`ϑ`,thetav:`ϑ`,thickapprox:`≈`,thicksim:`∼`,ThickSpace:` `,thinsp:` `,ThinSpace:` `,thkap:`≈`,thksim:`∼`,THORN:`Þ`,thorn:`þ`,Tilde:`∼`,tilde:`˜`,TildeEqual:`≃`,TildeFullEqual:`≅`,TildeTilde:`≈`,times:`×`,timesb:`⊠`,timesbar:`⨱`,timesd:`⨰`,tint:`∭`,toea:`⤨`,top:`⊤`,topbot:`⌶`,topcir:`⫱`,Topf:`𝕋`,topf:`𝕥`,topfork:`⫚`,tosa:`⤩`,tprime:`‴`,TRADE:`™`,trade:`™`,triangle:`▵`,triangledown:`▿`,triangleleft:`◃`,trianglelefteq:`⊴`,triangleq:`≜`,triangleright:`▹`,trianglerighteq:`⊵`,tridot:`◬`,trie:`≜`,triminus:`⨺`,TripleDot:`⃛`,triplus:`⨹`,trisb:`⧍`,tritime:`⨻`,trpezium:`⏢`,Tscr:`𝒯`,tscr:`𝓉`,TScy:`Ц`,tscy:`ц`,TSHcy:`Ћ`,tshcy:`ћ`,Tstrok:`Ŧ`,tstrok:`ŧ`,twixt:`≬`,twoheadleftarrow:`↞`,twoheadrightarrow:`↠`,Uacute:`Ú`,uacute:`ú`,Uarr:`↟`,uArr:`⇑`,uarr:`↑`,Uarrocir:`⥉`,Ubrcy:`Ў`,ubrcy:`ў`,Ubreve:`Ŭ`,ubreve:`ŭ`,Ucirc:`Û`,ucirc:`û`,Ucy:`У`,ucy:`у`,udarr:`⇅`,Udblac:`Ű`,udblac:`ű`,udhar:`⥮`,ufisht:`⥾`,Ufr:`𝔘`,ufr:`𝔲`,Ugrave:`Ù`,ugrave:`ù`,uHar:`⥣`,uharl:`↿`,uharr:`↾`,uhblk:`▀`,ulcorn:`⌜`,ulcorner:`⌜`,ulcrop:`⌏`,ultri:`◸`,Umacr:`Ū`,umacr:`ū`,uml:`¨`,UnderBar:`_`,UnderBrace:`⏟`,UnderBracket:`⎵`,UnderParenthesis:`⏝`,Union:`⋃`,UnionPlus:`⊎`,Uogon:`Ų`,uogon:`ų`,Uopf:`𝕌`,uopf:`𝕦`,UpArrow:`↑`,Uparrow:`⇑`,uparrow:`↑`,UpArrowBar:`⤒`,UpArrowDownArrow:`⇅`,UpDownArrow:`↕`,Updownarrow:`⇕`,updownarrow:`↕`,UpEquilibrium:`⥮`,upharpoonleft:`↿`,upharpoonright:`↾`,uplus:`⊎`,UpperLeftArrow:`↖`,UpperRightArrow:`↗`,Upsi:`ϒ`,upsi:`υ`,upsih:`ϒ`,Upsilon:`Υ`,upsilon:`υ`,UpTee:`⊥`,UpTeeArrow:`↥`,upuparrows:`⇈`,urcorn:`⌝`,urcorner:`⌝`,urcrop:`⌎`,Uring:`Ů`,uring:`ů`,urtri:`◹`,Uscr:`𝒰`,uscr:`𝓊`,utdot:`⋰`,Utilde:`Ũ`,utilde:`ũ`,utri:`▵`,utrif:`▴`,uuarr:`⇈`,Uuml:`Ü`,uuml:`ü`,uwangle:`⦧`,vangrt:`⦜`,varepsilon:`ϵ`,varkappa:`ϰ`,varnothing:`∅`,varphi:`ϕ`,varpi:`ϖ`,varpropto:`∝`,vArr:`⇕`,varr:`↕`,varrho:`ϱ`,varsigma:`ς`,varsubsetneq:`⊊︀`,varsubsetneqq:`⫋︀`,varsupsetneq:`⊋︀`,varsupsetneqq:`⫌︀`,vartheta:`ϑ`,vartriangleleft:`⊲`,vartriangleright:`⊳`,Vbar:`⫫`,vBar:`⫨`,vBarv:`⫩`,Vcy:`В`,vcy:`в`,VDash:`⊫`,Vdash:`⊩`,vDash:`⊨`,vdash:`⊢`,Vdashl:`⫦`,Vee:`⋁`,vee:`∨`,veebar:`⊻`,veeeq:`≚`,vellip:`⋮`,Verbar:`‖`,verbar:`|`,Vert:`‖`,vert:`|`,VerticalBar:`∣`,VerticalLine:`|`,VerticalSeparator:`❘`,VerticalTilde:`≀`,VeryThinSpace:` `,Vfr:`𝔙`,vfr:`𝔳`,vltri:`⊲`,vnsub:`⊂⃒`,vnsup:`⊃⃒`,Vopf:`𝕍`,vopf:`𝕧`,vprop:`∝`,vrtri:`⊳`,Vscr:`𝒱`,vscr:`𝓋`,vsubnE:`⫋︀`,vsubne:`⊊︀`,vsupnE:`⫌︀`,vsupne:`⊋︀`,Vvdash:`⊪`,vzigzag:`⦚`,Wcirc:`Ŵ`,wcirc:`ŵ`,wedbar:`⩟`,Wedge:`⋀`,wedge:`∧`,wedgeq:`≙`,weierp:`℘`,Wfr:`𝔚`,wfr:`𝔴`,Wopf:`𝕎`,wopf:`𝕨`,wp:`℘`,wr:`≀`,wreath:`≀`,Wscr:`𝒲`,wscr:`𝓌`,xcap:`⋂`,xcirc:`◯`,xcup:`⋃`,xdtri:`▽`,Xfr:`𝔛`,xfr:`𝔵`,xhArr:`⟺`,xharr:`⟷`,Xi:`Ξ`,xi:`ξ`,xlArr:`⟸`,xlarr:`⟵`,xmap:`⟼`,xnis:`⋻`,xodot:`⨀`,Xopf:`𝕏`,xopf:`𝕩`,xoplus:`⨁`,xotime:`⨂`,xrArr:`⟹`,xrarr:`⟶`,Xscr:`𝒳`,xscr:`𝓍`,xsqcup:`⨆`,xuplus:`⨄`,xutri:`△`,xvee:`⋁`,xwedge:`⋀`,Yacute:`Ý`,yacute:`ý`,YAcy:`Я`,yacy:`я`,Ycirc:`Ŷ`,ycirc:`ŷ`,Ycy:`Ы`,ycy:`ы`,yen:`¥`,Yfr:`𝔜`,yfr:`𝔶`,YIcy:`Ї`,yicy:`ї`,Yopf:`𝕐`,yopf:`𝕪`,Yscr:`𝒴`,yscr:`𝓎`,YUcy:`Ю`,yucy:`ю`,Yuml:`Ÿ`,yuml:`ÿ`,Zacute:`Ź`,zacute:`ź`,Zcaron:`Ž`,zcaron:`ž`,Zcy:`З`,zcy:`з`,Zdot:`Ż`,zdot:`ż`,zeetrf:`ℨ`,ZeroWidthSpace:``,Zeta:`Ζ`,zeta:`ζ`,Zfr:`ℨ`,zfr:`𝔷`,ZHcy:`Ж`,zhcy:`ж`,zigrarr:`⇝`,Zopf:`ℤ`,zopf:`𝕫`,Zscr:`𝒵`,zscr:`𝓏`,zwj:``,zwnj:``},e.NGSP_UNICODE=``,e.NAMED_ENTITIES.ngsp=e.NGSP_UNICODE}}),we=f({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_tags.js"(e){v(),Object.defineProperty(e,`__esModule`,{value:!0});var t=Ce(),n=class{constructor(){let{closedByChildren:e,implicitNamespacePrefix:n,contentType:r=t.TagContentType.PARSABLE_DATA,closedByParent:i=!1,isVoid:a=!1,ignoreFirstLf:o=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,e&&e.length>0&&e.forEach(e=>this.closedByChildren[e]=!0),this.isVoid=a,this.closedByParent=i||a,this.implicitNamespacePrefix=n||null,this.contentType=r,this.ignoreFirstLf=o}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}};e.HtmlTagDefinition=n;var r,i;function a(e){return i||=(r=new n,{base:new n({isVoid:!0}),meta:new n({isVoid:!0}),area:new n({isVoid:!0}),embed:new n({isVoid:!0}),link:new n({isVoid:!0}),img:new n({isVoid:!0}),input:new n({isVoid:!0}),param:new n({isVoid:!0}),hr:new n({isVoid:!0}),br:new n({isVoid:!0}),source:new n({isVoid:!0}),track:new n({isVoid:!0}),wbr:new n({isVoid:!0}),p:new n({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`.split(`.`),closedByParent:!0}),thead:new n({closedByChildren:[`tbody`,`tfoot`]}),tbody:new n({closedByChildren:[`tbody`,`tfoot`],closedByParent:!0}),tfoot:new n({closedByChildren:[`tbody`],closedByParent:!0}),tr:new n({closedByChildren:[`tr`],closedByParent:!0}),td:new n({closedByChildren:[`td`,`th`],closedByParent:!0}),th:new n({closedByChildren:[`td`,`th`],closedByParent:!0}),col:new n({isVoid:!0}),svg:new n({implicitNamespacePrefix:`svg`}),math:new n({implicitNamespacePrefix:`math`}),li:new n({closedByChildren:[`li`],closedByParent:!0}),dt:new n({closedByChildren:[`dt`,`dd`]}),dd:new n({closedByChildren:[`dt`,`dd`],closedByParent:!0}),rb:new n({closedByChildren:[`rb`,`rt`,`rtc`,`rp`],closedByParent:!0}),rt:new n({closedByChildren:[`rb`,`rt`,`rtc`,`rp`],closedByParent:!0}),rtc:new n({closedByChildren:[`rb`,`rtc`,`rp`],closedByParent:!0}),rp:new n({closedByChildren:[`rb`,`rt`,`rtc`,`rp`],closedByParent:!0}),optgroup:new n({closedByChildren:[`optgroup`],closedByParent:!0}),option:new n({closedByChildren:[`option`,`optgroup`],closedByParent:!0}),pre:new n({ignoreFirstLf:!0}),listing:new n({ignoreFirstLf:!0}),style:new n({contentType:t.TagContentType.RAW_TEXT}),script:new n({contentType:t.TagContentType.RAW_TEXT}),title:new n({contentType:t.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new n({contentType:t.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),i[e]||r}e.getHtmlTagDefinition=a}}),Te=f({"node_modules/angular-html-parser/lib/compiler/src/ast_path.js"(e){v(),Object.defineProperty(e,`__esModule`,{value:!0}),e.AstPath=class{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;this.path=e,this.position=t}get empty(){return!this.path||!this.path.length}get head(){return this.path[0]}get tail(){return this.path[this.path.length-1]}parentOf(e){return e&&this.path[this.path.indexOf(e)-1]}childOf(e){return this.path[this.path.indexOf(e)+1]}first(e){for(let t=this.path.length-1;t>=0;t--){let n=this.path[t];if(n instanceof e)return n}}push(e){this.path.push(e)}pop(){return this.path.pop()}}}}),Ee=f({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/ast.js"(e){v(),Object.defineProperty(e,`__esModule`,{value:!0});var t=Te();e.Text=class{constructor(e,t,n){this.value=e,this.sourceSpan=t,this.i18n=n,this.type=`text`}visit(e,t){return e.visitText(this,t)}},e.CDATA=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type=`cdata`}visit(e,t){return e.visitCdata(this,t)}},e.Expansion=class{constructor(e,t,n,r,i,a){this.switchValue=e,this.type=t,this.cases=n,this.sourceSpan=r,this.switchValueSourceSpan=i,this.i18n=a}visit(e,t){return e.visitExpansion(this,t)}},e.ExpansionCase=class{constructor(e,t,n,r,i){this.value=e,this.expression=t,this.sourceSpan=n,this.valueSourceSpan=r,this.expSourceSpan=i}visit(e,t){return e.visitExpansionCase(this,t)}},e.Attribute=class{constructor(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null;this.name=e,this.value=t,this.sourceSpan=n,this.valueSpan=r,this.nameSpan=i,this.i18n=a,this.type=`attribute`}visit(e,t){return e.visitAttribute(this,t)}};var n=class{constructor(e,t,n,r){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,s=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null;this.name=e,this.attrs=t,this.children=n,this.sourceSpan=r,this.startSourceSpan=i,this.endSourceSpan=a,this.nameSpan=o,this.i18n=s,this.type=`element`}visit(e,t){return e.visitElement(this,t)}};e.Element=n,e.Comment=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type=`comment`}visit(e,t){return e.visitComment(this,t)}},e.DocType=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type=`docType`}visit(e,t){return e.visitDocType(this,t)}};function r(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=[],i=e.visit?t=>e.visit(t,n)||t.visit(e,n):t=>t.visit(e,n);return t.forEach(e=>{let t=i(e);t&&r.push(t)}),r}e.visitAll=r;var i=class{constructor(){}visitElement(e,t){this.visitChildren(t,t=>{t(e.attrs),t(e.children)})}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,t=>{t(e.cases)})}visitExpansionCase(e,t){}visitChildren(e,t){let n=[],i=this;function a(t){t&&n.push(r(i,t,e))}return t(a),Array.prototype.concat.apply([],n)}};e.RecursiveVisitor=i;function a(e){let t=e.sourceSpan.start.offset,r=e.sourceSpan.end.offset;return e instanceof n&&(e.endSourceSpan?r=e.endSourceSpan.end.offset:e.children&&e.children.length&&(r=a(e.children[e.children.length-1]).end)),{start:t,end:r}}function o(e,n){let o=[];return r(new class extends i{visit(e,t){let r=a(e);if(r.start<=n&&n<r.end)o.push(e);else return!0}},e),new t.AstPath(o,n)}e.findNode=o}}),Oe=f({"node_modules/angular-html-parser/lib/compiler/src/assertions.js"(e){v(),Object.defineProperty(e,`__esModule`,{value:!0});function t(e,t){if(t!=null){if(!Array.isArray(t))throw Error(`Expected '${e}' to be an array of strings.`);for(let n=0;n<t.length;n+=1)if(typeof t[n]!=`string`)throw Error(`Expected '${e}' to be an array of strings.`)}}e.assertArrayOfStrings=t;var n=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function r(e,t){if(t!=null&&!(Array.isArray(t)&&t.length==2))throw Error(`Expected '${e}' to be an array, [start, end].`);if(t!=null){let e=t[0],r=t[1];n.forEach(t=>{if(t.test(e)||t.test(r))throw Error(`['${e}', '${r}'] contains unusable interpolation symbol.`)})}}e.assertInterpolationSymbols=r}}),ke=f({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/interpolation_config.js"(e){v(),Object.defineProperty(e,`__esModule`,{value:!0});var t=Oe(),n=class{constructor(e,t){this.start=e,this.end=t}static fromArray(r){return r?(t.assertInterpolationSymbols(`interpolation`,r),new n(r[0],r[1])):e.DEFAULT_INTERPOLATION_CONFIG}};e.InterpolationConfig=n,e.DEFAULT_INTERPOLATION_CONFIG=new n(`{{`,`}}`)}}),Ae=f({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/lexer.js"(e){v(),Object.defineProperty(e,`__esModule`,{value:!0});var t=y(),n=C(),r=ke(),i=Ce(),a;(function(e){e[e.TAG_OPEN_START=0]=`TAG_OPEN_START`,e[e.TAG_OPEN_END=1]=`TAG_OPEN_END`,e[e.TAG_OPEN_END_VOID=2]=`TAG_OPEN_END_VOID`,e[e.TAG_CLOSE=3]=`TAG_CLOSE`,e[e.TEXT=4]=`TEXT`,e[e.ESCAPABLE_RAW_TEXT=5]=`ESCAPABLE_RAW_TEXT`,e[e.RAW_TEXT=6]=`RAW_TEXT`,e[e.COMMENT_START=7]=`COMMENT_START`,e[e.COMMENT_END=8]=`COMMENT_END`,e[e.CDATA_START=9]=`CDATA_START`,e[e.CDATA_END=10]=`CDATA_END`,e[e.ATTR_NAME=11]=`ATTR_NAME`,e[e.ATTR_QUOTE=12]=`ATTR_QUOTE`,e[e.ATTR_VALUE=13]=`ATTR_VALUE`,e[e.DOC_TYPE_START=14]=`DOC_TYPE_START`,e[e.DOC_TYPE_END=15]=`DOC_TYPE_END`,e[e.EXPANSION_FORM_START=16]=`EXPANSION_FORM_START`,e[e.EXPANSION_CASE_VALUE=17]=`EXPANSION_CASE_VALUE`,e[e.EXPANSION_CASE_EXP_START=18]=`EXPANSION_CASE_EXP_START`,e[e.EXPANSION_CASE_EXP_END=19]=`EXPANSION_CASE_EXP_END`,e[e.EXPANSION_FORM_END=20]=`EXPANSION_FORM_END`,e[e.EOF=21]=`EOF`})(a=e.TokenType||={});var o=class{constructor(e,t,n){this.type=e,this.parts=t,this.sourceSpan=n}};e.Token=o;var s=class extends n.ParseError{constructor(e,t,n){super(n,e),this.tokenType=t}};e.TokenError=s;var c=class{constructor(e,t){this.tokens=e,this.errors=t}};e.TokenizeResult=c;function l(e,t,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return new m(new n.ParseSourceFile(e,t),r,i).tokenize()}e.tokenize=l;var u=/\r\n?/g;function d(e){return`Unexpected character "${e===t.$EOF?`EOF`:String.fromCharCode(e)}"`}function f(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}var p=class{constructor(e){this.error=e}},m=class{constructor(e,t,n){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=n.tokenizeExpansionForms||!1,this._interpolationConfig=n.interpolationConfig||r.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=n.leadingTriviaChars&&n.leadingTriviaChars.map(e=>e.codePointAt(0)||0),this._canSelfClose=n.canSelfClose||!1,this._allowHtmComponentClosingTags=n.allowHtmComponentClosingTags||!1;let i=n.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=n.escapedString?new O(e,i):new D(e,i);try{this._cursor.init()}catch(e){this.handleError(e)}}_processCarriageReturns(e){return e.replace(u,`
|
|
63
|
-
`)}tokenize(){for(;this._cursor.peek()!==t.$EOF;){let e=this._cursor.clone();try{if(this._attemptCharCode(t.$LT))if(this._attemptCharCode(t.$BANG))this._attemptStr(`[CDATA[`)?this._consumeCdata(e):this._attemptStr(`--`)?this._consumeComment(e):this._attemptStrCaseInsensitive(`doctype`)?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(t.$SLASH))this._consumeTagClose(e);else{let n=this._cursor.clone();this._attemptCharCode(t.$QUESTION)?(this._cursor=n,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(e){this.handleError(e)}}return this._beginToken(a.EOF),this._endToken([]),new c(E(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(S(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===t.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e){this._currentTokenStart=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone(),this._currentTokenType=e}_endToken(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();if(this._currentTokenStart===null)throw new s(`Programming error - attempted to end a token when there was no start to the token`,this._currentTokenType,this._cursor.getSpan(t));if(this._currentTokenType===null)throw new s(`Programming error - attempted to end a token which has no token type`,null,this._cursor.getSpan(this._currentTokenStart));let n=new o(this._currentTokenType,e,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let n=new s(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new p(n)}handleError(e){if(e instanceof k&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof p)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return w(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(d(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let n=this._cursor.clone();for(let r=0;r<t;r++)if(!this._attemptCharCode(e.charCodeAt(r)))return this._cursor=n,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}_requireStr(e){let t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(d(this._cursor.peek()),this._cursor.getSpan(t))}_requireStrCaseInsensitive(e){let t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(d(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){let n=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.clone().diff(n)<t)throw this._createError(d(this._cursor.peek()),this._cursor.getSpan(n))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_readChar(e){if(e&&this._cursor.peek()===t.$AMPERSAND)return this._decodeEntity();{let e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}}_decodeEntity(){let e=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(t.$HASH)){let n=this._attemptCharCode(t.$x)||this._attemptCharCode(t.$X),r=this._cursor.clone();if(this._attemptCharCodeUntilFn(b),this._cursor.peek()!=t.$SEMICOLON)throw this._createError(d(this._cursor.peek()),this._cursor.getSpan());let i=this._cursor.getChars(r);this._cursor.advance();try{let e=parseInt(i,n?16:10);return String.fromCharCode(e)}catch{throw this._createError(f(this._cursor.getChars(e)),this._cursor.getSpan())}}else{let n=this._cursor.clone();if(this._attemptCharCodeUntilFn(x),this._cursor.peek()!=t.$SEMICOLON)return this._cursor=n,`&`;let r=this._cursor.getChars(n);this._cursor.advance();let a=i.NAMED_ENTITIES[r];if(!a)throw this._createError(f(r),this._cursor.getSpan(e));return a}}_consumeRawText(e,t){this._beginToken(e?a.ESCAPABLE_RAW_TEXT:a.RAW_TEXT);let n=[];for(;;){let r=this._cursor.clone(),i=t();if(this._cursor=r,i)break;n.push(this._readChar(e))}return this._endToken([this._processCarriageReturns(n.join(``))])}_consumeComment(e){this._beginToken(a.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr(`-->`)),this._beginToken(a.COMMENT_END),this._requireStr(`-->`),this._endToken([])}_consumeBogusComment(e){this._beginToken(a.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===t.$GT),this._beginToken(a.COMMENT_END),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(a.CDATA_START,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr(`]]>`)),this._beginToken(a.CDATA_END),this._requireStr(`]]>`),this._endToken([])}_consumeDocType(e){this._beginToken(a.DOC_TYPE_START,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===t.$GT),this._beginToken(a.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e=this._cursor.clone(),n=``;for(;this._cursor.peek()!==t.$COLON&&!_(this._cursor.peek());)this._cursor.advance();let r;this._cursor.peek()===t.$COLON?(n=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn(g,n===``?0:1);let i=this._cursor.getChars(r);return[n,i]}_consumeTagOpen(e){let n,r,o,s=this.tokens.length,c=this._cursor.clone(),l=[];try{if(!t.isAsciiLetter(this._cursor.peek()))throw this._createError(d(this._cursor.peek()),this._cursor.getSpan(e));for(o=this._consumeTagOpenStart(e),r=o.parts[0],n=o.parts[1],this._attemptCharCodeUntilFn(h);this._cursor.peek()!==t.$SLASH&&this._cursor.peek()!==t.$GT;){let[e,n]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(h),this._attemptCharCode(t.$EQ)){this._attemptCharCodeUntilFn(h);let t=this._consumeAttributeValue();l.push({prefix:e,name:n,value:t})}else l.push({prefix:e,name:n});this._attemptCharCodeUntilFn(h)}this._consumeTagOpenEnd()}catch(t){if(t instanceof p){this._cursor=c,o&&(this.tokens.length=s),this._beginToken(a.TEXT,e),this._endToken([`<`]);return}throw t}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===a.TAG_OPEN_END_VOID)return;let u=this._getTagContentType(n,r,this._fullNameStack.length>0,l);this._handleFullNameStackForTagOpen(r,n),u===i.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(r,n,!1):u===i.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,n,!0)}_consumeRawTextWithTagClose(e,n,r){this._consumeRawText(r,()=>!this._attemptCharCode(t.$LT)||!this._attemptCharCode(t.$SLASH)||(this._attemptCharCodeUntilFn(h),!this._attemptStrCaseInsensitive(e?`${e}:${n}`:n))?!1:(this._attemptCharCodeUntilFn(h),this._attemptCharCode(t.$GT))),this._beginToken(a.TAG_CLOSE),this._requireCharCodeUntilFn(e=>e===t.$GT,3),this._cursor.advance(),this._endToken([e,n]),this._handleFullNameStackForTagClose(e,n)}_consumeTagOpenStart(e){this._beginToken(a.TAG_OPEN_START,e);let t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){let e=this._cursor.peek();if(e===t.$SQ||e===t.$DQ)throw this._createError(d(e),this._cursor.getSpan());this._beginToken(a.ATTR_NAME);let n=this._consumePrefixAndName();return this._endToken(n),n}_consumeAttributeValue(){let e;if(this._cursor.peek()===t.$SQ||this._cursor.peek()===t.$DQ){this._beginToken(a.ATTR_QUOTE);let t=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(t)]),this._beginToken(a.ATTR_VALUE);let n=[];for(;this._cursor.peek()!==t;)n.push(this._readChar(!0));e=this._processCarriageReturns(n.join(``)),this._endToken([e]),this._beginToken(a.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(t)])}else{this._beginToken(a.ATTR_VALUE);let t=this._cursor.clone();this._requireCharCodeUntilFn(g,1),e=this._processCarriageReturns(this._cursor.getChars(t)),this._endToken([e])}return e}_consumeTagOpenEnd(){let e=this._attemptCharCode(t.$SLASH)?a.TAG_OPEN_END_VOID:a.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(t.$GT),this._endToken([])}_consumeTagClose(e){if(this._beginToken(a.TAG_CLOSE,e),this._attemptCharCodeUntilFn(h),this._allowHtmComponentClosingTags&&this._attemptCharCode(t.$SLASH))this._attemptCharCodeUntilFn(h),this._requireCharCode(t.$GT),this._endToken([]);else{let[e,n]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(h),this._requireCharCode(t.$GT),this._endToken([e,n]),this._handleFullNameStackForTagClose(e,n)}}_consumeExpansionFormStart(){this._beginToken(a.EXPANSION_FORM_START),this._requireCharCode(t.$LBRACE),this._endToken([]),this._expansionCaseStack.push(a.EXPANSION_FORM_START),this._beginToken(a.RAW_TEXT);let e=this._readUntil(t.$COMMA);this._endToken([e]),this._requireCharCode(t.$COMMA),this._attemptCharCodeUntilFn(h),this._beginToken(a.RAW_TEXT);let n=this._readUntil(t.$COMMA);this._endToken([n]),this._requireCharCode(t.$COMMA),this._attemptCharCodeUntilFn(h)}_consumeExpansionCaseStart(){this._beginToken(a.EXPANSION_CASE_VALUE);let e=this._readUntil(t.$LBRACE).trim();this._endToken([e]),this._attemptCharCodeUntilFn(h),this._beginToken(a.EXPANSION_CASE_EXP_START),this._requireCharCode(t.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(h),this._expansionCaseStack.push(a.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(a.EXPANSION_CASE_EXP_END),this._requireCharCode(t.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(h),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(a.EXPANSION_FORM_END),this._requireCharCode(t.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}_consumeText(){let e=this._cursor.clone();this._beginToken(a.TEXT,e);let t=[];do this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(t.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(t.push(this._interpolationConfig.end),this._inInterpolation=!1):t.push(this._readChar(!0));while(!this._isTextEnd());this._endToken([this._processCarriageReturns(t.join(``))])}_isTextEnd(){return!!(this._cursor.peek()===t.$LT||this._cursor.peek()===t.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===t.$RBRACE&&this._isInExpansionCase()))}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===a.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===a.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==t.$LBRACE)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}_handleFullNameStackForTagOpen(e,t){let n=i.mergeNsAndName(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===n)&&this._fullNameStack.push(n)}_handleFullNameStackForTagClose(e,t){let n=i.mergeNsAndName(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===n&&this._fullNameStack.pop()}};function h(e){return!t.isWhitespace(e)||e===t.$EOF}function g(e){return t.isWhitespace(e)||e===t.$GT||e===t.$SLASH||e===t.$SQ||e===t.$DQ||e===t.$EQ}function _(e){return(e<t.$a||t.$z<e)&&(e<t.$A||t.$Z<e)&&(e<t.$0||e>t.$9)}function b(e){return e==t.$SEMICOLON||e==t.$EOF||!t.isAsciiHexDigit(e)}function x(e){return e==t.$SEMICOLON||e==t.$EOF||!t.isAsciiLetter(e)}function S(e){return e===t.$EQ||t.isAsciiLetter(e)||t.isDigit(e)}function w(e,t){return T(e)==T(t)}function T(e){return e>=t.$a&&e<=t.$z?e-t.$a+t.$A:e}function E(e){let t=[],n;for(let r=0;r<e.length;r++){let i=e[r];n&&n.type==a.TEXT&&i.type==a.TEXT?(n.parts[0]+=i.parts[0],n.sourceSpan.end=i.sourceSpan.end):(n=i,t.push(n))}return t}var D=class{constructor(e,t){if(e instanceof D)this.file=e.file,this.input=e.input,this.end=e.end,this.state=Object.assign({},e.state);else{if(!t)throw Error(`Programming error: the range argument must be provided with a file argument.`);this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new D(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){if(e||=this,t)for(e=e.clone();this.diff(e)>0&&t.indexOf(e.peek())!==-1;)e.advance();return new n.ParseSourceSpan(new n.ParseLocation(e.file,e.state.offset,e.state.line,e.state.column),new n.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new k(`Unexpected character "EOF"`,this);let n=this.charAt(e.offset);n===t.$LF?(e.line++,e.column=0):t.isNewLine(n)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?t.$EOF:this.charAt(e.offset)}},O=class extends D{constructor(e,t){e instanceof O?(super(e),this.internalState=Object.assign({},e.internalState)):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new O(this)}getChars(e){let t=e.clone(),n=``;for(;t.internalState.offset<this.internalState.offset;)n+=String.fromCodePoint(t.peek()),t.advance();return n}processEscapeSequence(){let e=()=>this.internalState.peek;if(e()===t.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),e()===t.$n)this.state.peek=t.$LF;else if(e()===t.$r)this.state.peek=t.$CR;else if(e()===t.$v)this.state.peek=t.$VTAB;else if(e()===t.$t)this.state.peek=t.$TAB;else if(e()===t.$b)this.state.peek=t.$BSPACE;else if(e()===t.$f)this.state.peek=t.$FF;else if(e()===t.$u)if(this.advanceState(this.internalState),e()===t.$LBRACE){this.advanceState(this.internalState);let n=this.clone(),r=0;for(;e()!==t.$RBRACE;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(n,r)}else{let e=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,4)}else if(e()===t.$x){this.advanceState(this.internalState);let e=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,2)}else if(t.isOctalDigit(e())){let n=``,r=0,i=this.clone();for(;t.isOctalDigit(e())&&r<3;)i=this.clone(),n+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(n,8),this.internalState=i.internalState}else t.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let n=this.input.substr(e.internalState.offset,t),r=parseInt(n,16);if(isNaN(r))throw e.state=e.internalState,new k(`Invalid hexadecimal escape sequence`,e);return r}},k=class{constructor(e,t){this.msg=e,this.cursor=t}};e.CursorError=k}}),je=f({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/parser.js"(e){v(),Object.defineProperty(e,`__esModule`,{value:!0});var t=C(),n=Ee(),r=Ae(),i=Ce(),a=class extends t.ParseError{constructor(e,t,n){super(t,n),this.elementName=e}static create(e,t,n){return new a(e,t,n)}};e.TreeError=a;var o=class{constructor(e,t){this.rootNodes=e,this.errors=t}};e.ParseTreeResult=o,e.Parser=class{constructor(e){this.getTagDefinition=e}parse(e,t,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,a=arguments.length>4?arguments[4]:void 0,c=e=>function(t){var n=[...arguments].slice(1);return e(t.toLowerCase(),...n)},l=i?this.getTagDefinition:c(this.getTagDefinition),u=e=>l(e).contentType,d=i?a:c(a),f=a?(e,t,n,r)=>{let i=d(e,t,n,r);return i===void 0?u(e):i}:u,p=r.tokenize(e,t,f,n),m=n&&n.canSelfClose||!1,h=n&&n.allowHtmComponentClosingTags||!1,g=new s(p.tokens,l,m,h,i).build();return new o(g.rootNodes,p.errors.concat(g.errors))}};var s=class{constructor(e,t,n,r,i){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=n,this.allowHtmComponentClosingTags=r,this.isTagNameCaseSensitive=i,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}build(){for(;this._peek.type!==r.TokenType.EOF;)this._peek.type===r.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===r.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===r.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===r.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===r.TokenType.TEXT||this._peek.type===r.TokenType.RAW_TEXT||this._peek.type===r.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===r.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===r.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new o(this._rootNodes,this._errors)}_advance(){let e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e}_advanceIf(e){return this._peek.type===e?this._advance():null}_consumeCdata(e){let i=this._advance(),a=this._getText(i),o=this._advanceIf(r.TokenType.CDATA_END);this._addToParent(new n.CDATA(a,new t.ParseSourceSpan(e.sourceSpan.start,(o||i).sourceSpan.end)))}_consumeComment(e){let i=this._advanceIf(r.TokenType.RAW_TEXT),a=this._advanceIf(r.TokenType.COMMENT_END),o=i==null?null:i.parts[0].trim(),s=new t.ParseSourceSpan(e.sourceSpan.start,(a||i||e).sourceSpan.end);this._addToParent(new n.Comment(o,s))}_consumeDocType(e){let i=this._advanceIf(r.TokenType.RAW_TEXT),a=this._advanceIf(r.TokenType.DOC_TYPE_END),o=i==null?null:i.parts[0].trim(),s=new t.ParseSourceSpan(e.sourceSpan.start,(a||i||e).sourceSpan.end);this._addToParent(new n.DocType(o,s))}_consumeExpansion(e){let i=this._advance(),o=this._advance(),s=[];for(;this._peek.type===r.TokenType.EXPANSION_CASE_VALUE;){let e=this._parseExpansionCase();if(!e)return;s.push(e)}if(this._peek.type!==r.TokenType.EXPANSION_FORM_END){this._errors.push(a.create(null,this._peek.sourceSpan,`Invalid ICU message. Missing '}'.`));return}let c=new t.ParseSourceSpan(e.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new n.Expansion(i.parts[0],o.parts[0],s,c,i.sourceSpan)),this._advance()}_parseExpansionCase(){let e=this._advance();if(this._peek.type!==r.TokenType.EXPANSION_CASE_EXP_START)return this._errors.push(a.create(null,this._peek.sourceSpan,`Invalid ICU message. Missing '{'.`)),null;let i=this._advance(),o=this._collectExpansionExpTokens(i);if(!o)return null;let c=this._advance();o.push(new r.Token(r.TokenType.EOF,[],c.sourceSpan));let l=new s(o,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive).build();if(l.errors.length>0)return this._errors=this._errors.concat(l.errors),null;let u=new t.ParseSourceSpan(e.sourceSpan.start,c.sourceSpan.end),d=new t.ParseSourceSpan(i.sourceSpan.start,c.sourceSpan.end);return new n.ExpansionCase(e.parts[0],l.rootNodes,u,e.sourceSpan,d)}_collectExpansionExpTokens(e){let t=[],n=[r.TokenType.EXPANSION_CASE_EXP_START];for(;;){if((this._peek.type===r.TokenType.EXPANSION_FORM_START||this._peek.type===r.TokenType.EXPANSION_CASE_EXP_START)&&n.push(this._peek.type),this._peek.type===r.TokenType.EXPANSION_CASE_EXP_END)if(c(n,r.TokenType.EXPANSION_CASE_EXP_START)){if(n.pop(),n.length==0)return t}else return this._errors.push(a.create(null,e.sourceSpan,`Invalid ICU message. Missing '}'.`)),null;if(this._peek.type===r.TokenType.EXPANSION_FORM_END)if(c(n,r.TokenType.EXPANSION_FORM_START))n.pop();else return this._errors.push(a.create(null,e.sourceSpan,`Invalid ICU message. Missing '}'.`)),null;if(this._peek.type===r.TokenType.EOF)return this._errors.push(a.create(null,e.sourceSpan,`Invalid ICU message. Missing '}'.`)),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&t[0]==`
|
|
64
|
-
`){let e=this._getParentElement();e!=null&&e.children.length==0&&this.getTagDefinition(e.name).ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=this._getText(e);t.length>0&&this._addToParent(new n.Text(t,e.sourceSpan))}_closeVoidElement(){let e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()}_consumeStartTag(e){let o=e.parts[0],s=e.parts[1],c=[];for(;this._peek.type===r.TokenType.ATTR_NAME;)c.push(this._consumeAttr(this._advance()));let l=this._getElementFullName(o,s,this._getParentElement()),u=!1;if(this._peek.type===r.TokenType.TAG_OPEN_END_VOID){this._advance(),u=!0;let t=this.getTagDefinition(l);this.canSelfClose||t.canSelfClose||i.getNsPrefix(l)!==null||t.isVoid||this._errors.push(a.create(l,e.sourceSpan,`Only void and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===r.TokenType.TAG_OPEN_END&&(this._advance(),u=!1);let d=this._peek.sourceSpan.start,f=new t.ParseSourceSpan(e.sourceSpan.start,d),p=new t.ParseSourceSpan(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),m=new n.Element(l,c,[],f,f,void 0,p);this._pushElement(m),u&&(this._popElement(l),m.endSourceSpan=f)}_pushElement(e){let t=this._getParentElement();t&&this.getTagDefinition(t.name).isClosedByChild(e.name)&&this._elementStack.pop(),this._addToParent(e),this._elementStack.push(e)}_consumeEndTag(e){let t=this.allowHtmComponentClosingTags&&e.parts.length===0?null:this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=e.sourceSpan),t&&this.getTagDefinition(t).isVoid)this._errors.push(a.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popElement(t)){let n=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this._errors.push(a.create(t,e.sourceSpan,n))}}_popElement(e){for(let t=this._elementStack.length-1;t>=0;t--){let n=this._elementStack[t];if(!e||(i.getNsPrefix(n.name)?n.name==e:n.name.toLowerCase()==e.toLowerCase()))return this._elementStack.splice(t,this._elementStack.length-t),!0;if(!this.getTagDefinition(n.name).closedByParent)return!1}return!1}_consumeAttr(e){let a=i.mergeNsAndName(e.parts[0],e.parts[1]),o=e.sourceSpan.end,s=``,c,l;if(this._peek.type===r.TokenType.ATTR_QUOTE&&(l=this._advance().sourceSpan.start),this._peek.type===r.TokenType.ATTR_VALUE){let e=this._advance();s=e.parts[0],o=e.sourceSpan.end,c=e.sourceSpan}return this._peek.type===r.TokenType.ATTR_QUOTE&&(o=this._advance().sourceSpan.end,c=new t.ParseSourceSpan(l,o)),new n.Attribute(a,s,new t.ParseSourceSpan(e.sourceSpan.start,o),c,e.sourceSpan)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_getParentElementSkippingContainers(){let e=null;for(let t=this._elementStack.length-1;t>=0;t--){if(!i.isNgContainer(this._elementStack[t].name))return{parent:this._elementStack[t],container:e};e=this._elementStack[t]}return{parent:null,container:e}}_addToParent(e){let t=this._getParentElement();t==null?this._rootNodes.push(e):t.children.push(e)}_insertBeforeContainer(e,t,n){if(!t)this._addToParent(n),this._elementStack.push(n);else{if(e){let r=e.children.indexOf(t);e.children[r]=n}else this._rootNodes.push(n);n.children.push(t),this._elementStack.splice(this._elementStack.indexOf(t),0,n)}}_getElementFullName(e,t,n){return e===``&&(e=this.getTagDefinition(t).implicitNamespacePrefix||``,e===``&&n!=null&&(e=i.getNsPrefix(n.name))),i.mergeNsAndName(e,t)}};function c(e,t){return e.length>0&&e[e.length-1]===t}}}),Me=f({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(e){v(),Object.defineProperty(e,`__esModule`,{value:!0});var t=we(),n=je(),r=je();e.ParseTreeResult=r.ParseTreeResult,e.TreeError=r.TreeError,e.HtmlParser=class extends n.Parser{constructor(){super(t.getHtmlTagDefinition)}parse(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i=arguments.length>4?arguments[4]:void 0;return super.parse(e,t,n,r,i)}}}}),Ne=f({"node_modules/angular-html-parser/lib/angular-html-parser/src/index.js"(e){v(),Object.defineProperty(e,`__esModule`,{value:!0});var t=Me();e.TagContentType=Ce().TagContentType;var n=null,r=()=>(n||=new t.HtmlParser,n);function i(e){let{canSelfClose:t=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:i=!1,getTagContentType:a}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return r().parse(e,`angular-html-parser`,{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:t,allowHtmComponentClosingTags:n},i,a)}e.parse=i}});v();var{ParseSourceSpan:Pe,ParseLocation:Ie,ParseSourceFile:Le}=C(),Re=w(),ze=T(),Be=E(),{inferParserByLanguage:Ve}=fe(),He=Z(),Ue=_e(),We=ve(),{hasPragma:Ge}=ye(),{Node:Ke}=be(),{parseIeConditionalComment:qe}=xe(),{locStart:Je,locEnd:Ye}=Se();function Xe(e,t,n){let{canSelfClose:r,normalizeTagName:i,normalizeAttributeName:a,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:s,getTagContentType:c}=t,l=Ne(),{RecursiveVisitor:u,visitAll:d}=Ee(),{ParseSourceSpan:f}=C(),{getHtmlTagDefinition:p}=we(),{rootNodes:m,errors:h}=l.parse(e,{canSelfClose:r,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:s,getTagContentType:c});if(n.parser===`vue`)if(m.some(e=>e.type===`docType`&&e.value===`html`||e.type===`element`&&e.name.toLowerCase()===`html`)){r=!0,i=!0,a=!0,o=!0,s=!1;let t=l.parse(e,{canSelfClose:r,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:s});m=t.rootNodes,h=t.errors}else{let t=e=>{if(!e||e.type!==`element`||e.name!==`template`)return!1;let t=e.attrs.find(e=>e.name===`lang`),r=t&&t.value;return!r||Ve(r,n)===`html`};if(m.some(t)){let n,i=()=>l.parse(e,{canSelfClose:r,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:s}),a=()=>n||=i(),c=e=>a().rootNodes.find(t=>{let{startSourceSpan:n}=t;return n&&n.start.offset===e.startSourceSpan.start.offset});for(let e=0;e<m.length;e++){let n=m[e],{endSourceSpan:r,startSourceSpan:i}=n;if(r===null)h=a().errors,m[e]=c(n)||n;else if(t(n)){let t=a(),o=i.end.offset,s=r.start.offset;for(let e of t.errors){let{offset:t}=e.span.start;if(o<t&&t<s){h=[e];break}}m[e]=c(n)||n}}}}if(h.length>0){let{msg:e,span:{start:t,end:n}}=h[0];throw Be(e,{start:{line:t.line+1,column:t.col+1},end:{line:n.line+1,column:n.col+1}})}let g=e=>{let t=e.name.startsWith(`:`)?e.name.slice(1).split(`:`)[0]:null,n=e.nameSpan.toString(),r=t!==null&&n.startsWith(`${t}:`);e.name=r?n.slice(t.length+1):n,e.namespace=t,e.hasExplicitNamespace=r},_=e=>{switch(e.type){case`element`:g(e);for(let t of e.attrs)g(t),t.valueSpan?(t.value=t.valueSpan.toString(),/["']/.test(t.value[0])&&(t.value=t.value.slice(1,-1))):t.value=null;break;case`comment`:e.value=e.sourceSpan.toString().slice(4,-3);break;case`text`:e.value=e.sourceSpan.toString();break}},v=(e,t)=>{let n=e.toLowerCase();return t(n)?n:e},y=e=>{if(e.type===`element`&&(i&&(!e.namespace||e.namespace===e.tagDefinition.implicitNamespacePrefix||We(e))&&(e.name=v(e.name,e=>e in He)),a)){let t=Ue[e.name]||Object.create(null);for(let n of e.attrs)n.namespace||(n.name=v(n.name,n=>e.name in Ue&&(n in Ue[`*`]||n in t)))}},b=e=>{e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new f(e.sourceSpan.start,e.endSourceSpan.end))},x=e=>{if(e.type===`element`){let t=p(s?e.name:e.name.toLowerCase());!e.namespace||e.namespace===t.implicitNamespacePrefix||We(e)?e.tagDefinition=t:e.tagDefinition=p(``)}};return d(new class extends u{visit(e){_(e),x(e),y(e),b(e)}},m),m}function Ze(e,t,n){let{frontMatter:r,content:i}=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3]?Re(e):{frontMatter:null,content:e},a=new Le(e,t.filepath),o=new Ie(a,0,0,0),s={type:`root`,sourceSpan:new Pe(o,o.moveBy(e.length)),children:Xe(i,n,t)};if(r){let e=new Ie(a,0,0,0);r.sourceSpan=new Pe(e,e.moveBy(r.raw.length)),s.children.unshift(r)}let c=new Ke(s),l=(r,i)=>{let{offset:a}=i,o=Ze(e.slice(0,a).replace(/[^\n\r]/g,` `)+r,t,n,!1);o.sourceSpan=new Pe(i,ze(o.children).sourceSpan.end);let s=o.children[0];return s.length===a?o.children.shift():(s.sourceSpan=new Pe(s.sourceSpan.start.moveBy(a),s.sourceSpan.end),s.value=s.value.slice(a)),o};return c.walk(e=>{if(e.type===`comment`){let t=qe(e,l);t&&e.parent.replaceChild(e,t)}}),c}function Qe(){let{name:e,canSelfClose:t=!1,normalizeTagName:n=!1,normalizeAttributeName:r=!1,allowHtmComponentClosingTags:i=!1,isTagNameCaseSensitive:a=!1,getTagContentType:o}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{parse:(s,c,l)=>Ze(s,Object.assign({parser:e},l),{canSelfClose:t,normalizeTagName:n,normalizeAttributeName:r,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:a,getTagContentType:o}),hasPragma:Ge,astFormat:`html`,locStart:Je,locEnd:Ye}}t.exports={parsers:{html:Qe({name:`html`,canSelfClose:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Qe({name:`angular`,canSelfClose:!0}),vue:Qe({name:`vue`,canSelfClose:!0,isTagNameCaseSensitive:!0,getTagContentType:(e,t,n,r)=>{if(e.toLowerCase()!==`html`&&!n&&(e!==`template`||r.some(e=>{let{name:t,value:n}=e;return t===`lang`&&n!==`html`&&n!==``&&n!==void 0})))return Ne().TagContentType.RAW_TEXT}}),lwc:Qe({name:`lwc`})}}})()})})),me=ie(((e,t)=>{(function(n){if(typeof e==`object`&&typeof t==`object`)t.exports=n();else if(typeof define==`function`&&define.amd)define(n);else{var r=typeof globalThis<`u`?globalThis:typeof global<`u`?global:typeof self<`u`?self:this||{};r.prettierPlugins=r.prettierPlugins||{},r.prettierPlugins.postcss=n()}})(function(){var e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),t=e((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n(typeof globalThis==`object`&&globalThis)||n(typeof window==`object`&&window)||n(typeof self==`object`&&self)||n(typeof global==`object`&&global)||function(){return this}()||Function(`return this`)()}),n=e((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}}),r=e((e,t)=>{t.exports=!n()(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),i=e((e,t)=>{t.exports=!n()(function(){var e=function(){}.bind();return typeof e!=`function`||e.hasOwnProperty(`prototype`)})}),a=e((e,t)=>{var n=i(),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}}),o=e(e=>{var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor;e.f=n&&!t.call({1:2},1)?function(e){var t=n(this,e);return!!t&&t.enumerable}:t}),s=e((e,t)=>{t.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}}),c=e((e,t)=>{var n=i(),r=Function.prototype,a=r.call,o=n&&r.bind.bind(a,a);t.exports=n?o:function(e){return function(){return a.apply(e,arguments)}}}),l=e((e,t)=>{var n=c(),r=n({}.toString),i=n(``.slice);t.exports=function(e){return i(r(e),8,-1)}}),u=e((e,t)=>{var r=c(),i=n(),a=l(),o=Object,s=r(``.split);t.exports=i(function(){return!o(`z`).propertyIsEnumerable(0)})?function(e){return a(e)==`String`?s(e,``):o(e)}:o}),d=e((e,t)=>{t.exports=function(e){return e==null}}),f=e((e,t)=>{var n=d(),r=TypeError;t.exports=function(e){if(n(e))throw r(`Can't call method on `+e);return e}}),p=e((e,t)=>{var n=u(),r=f();t.exports=function(e){return n(r(e))}}),m=e((e,t)=>{var n=typeof document==`object`&&document.all;t.exports={all:n,IS_HTMLDDA:typeof n>`u`&&n!==void 0}}),h=e((e,t)=>{var n=m(),r=n.all;t.exports=n.IS_HTMLDDA?function(e){return typeof e==`function`||e===r}:function(e){return typeof e==`function`}}),g=e((e,t)=>{var n=h(),r=m(),i=r.all;t.exports=r.IS_HTMLDDA?function(e){return typeof e==`object`?e!==null:n(e)||e===i}:function(e){return typeof e==`object`?e!==null:n(e)}}),_=e((e,n)=>{var r=t(),i=h(),a=function(e){return i(e)?e:void 0};n.exports=function(e,t){return arguments.length<2?a(r[e]):r[e]&&r[e][t]}}),v=e((e,t)=>{t.exports=c()({}.isPrototypeOf)}),y=e((e,t)=>{t.exports=_()(`navigator`,`userAgent`)||``}),b=e((e,n)=>{var r=t(),i=y(),a=r.process,o=r.Deno,s=a&&a.versions||o&&o.version,c=s&&s.v8,l,u;c&&(l=c.split(`.`),u=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!u&&i&&(l=i.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=i.match(/Chrome\/(\d+)/),l&&(u=+l[1]))),n.exports=u}),x=e((e,t)=>{var r=b(),i=n();t.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})}),S=e((e,t)=>{t.exports=x()&&!Symbol.sham&&typeof Symbol.iterator==`symbol`}),C=e((e,t)=>{var n=_(),r=h(),i=v(),a=S(),o=Object;t.exports=a?function(e){return typeof e==`symbol`}:function(e){var t=n(`Symbol`);return r(t)&&i(t.prototype,o(e))}}),w=e((e,t)=>{var n=String;t.exports=function(e){try{return n(e)}catch{return`Object`}}}),T=e((e,t)=>{var n=h(),r=w(),i=TypeError;t.exports=function(e){if(n(e))return e;throw i(r(e)+` is not a function`)}}),E=e((e,t)=>{var n=T(),r=d();t.exports=function(e,t){var i=e[t];return r(i)?void 0:n(i)}}),D=e((e,t)=>{var n=a(),r=h(),i=g(),o=TypeError;t.exports=function(e,t){var a,s;if(t===`string`&&r(a=e.toString)&&!i(s=n(a,e))||r(a=e.valueOf)&&!i(s=n(a,e))||t!==`string`&&r(a=e.toString)&&!i(s=n(a,e)))return s;throw o(`Can't convert object to primitive value`)}}),O=e((e,t)=>{t.exports=!1}),k=e((e,n)=>{var r=t(),i=Object.defineProperty;n.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch{r[e]=t}return t}}),A=e((e,n)=>{var r=t(),i=k(),a=`__core-js_shared__`;n.exports=r[a]||i(a,{})}),j=e((e,t)=>{var n=O(),r=A();(t.exports=function(e,t){return r[e]||(r[e]=t===void 0?{}:t)})(`versions`,[]).push({version:`3.26.1`,mode:n?`pure`:`global`,copyright:`© 2014-2022 Denis Pushkarev (zloirock.ru)`,license:`https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE`,source:`https://github.com/zloirock/core-js`})}),M=e((e,t)=>{var n=f(),r=Object;t.exports=function(e){return r(n(e))}}),N=e((e,t)=>{var n=c(),r=M(),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(r(e),t)}}),P=e((e,t)=>{var n=c(),r=0,i=Math.random(),a=n(1 .toString);t.exports=function(e){return`Symbol(`+(e===void 0?``:e)+`)_`+a(++r+i,36)}}),F=e((e,n)=>{var r=t(),i=j(),a=N(),o=P(),s=x(),c=S(),l=i(`wks`),u=r.Symbol,d=u&&u.for,f=c?u:u&&u.withoutSetter||o;n.exports=function(e){if(!a(l,e)||!(s||typeof l[e]==`string`)){var t=`Symbol.`+e;s&&a(u,e)?l[e]=u[e]:c&&d?l[e]=d(t):l[e]=f(t)}return l[e]}}),I=e((e,t)=>{var n=a(),r=g(),i=C(),o=E(),s=D(),c=F(),l=TypeError,u=c(`toPrimitive`);t.exports=function(e,t){if(!r(e)||i(e))return e;var a=o(e,u),c;if(a){if(t===void 0&&(t=`default`),c=n(a,e,t),!r(c)||i(c))return c;throw l(`Can't convert object to primitive value`)}return t===void 0&&(t=`number`),s(e,t)}}),L=e((e,t)=>{var n=I(),r=C();t.exports=function(e){var t=n(e,`string`);return r(t)?t:t+``}}),R=e((e,n)=>{var r=t(),i=g(),a=r.document,o=i(a)&&i(a.createElement);n.exports=function(e){return o?a.createElement(e):{}}}),z=e((e,t)=>{var i=r(),a=n(),o=R();t.exports=!i&&!a(function(){return Object.defineProperty(o(`div`),`a`,{get:function(){return 7}}).a!=7})}),B=e(e=>{var t=r(),n=a(),i=o(),c=s(),l=p(),u=L(),d=N(),f=z(),m=Object.getOwnPropertyDescriptor;e.f=t?m:function(e,t){if(e=l(e),t=u(t),f)try{return m(e,t)}catch{}if(d(e,t))return c(!n(i.f,e,t),e[t])}}),V=e((e,t)=>{var i=r(),a=n();t.exports=i&&a(function(){return Object.defineProperty(function(){},`prototype`,{value:42,writable:!1}).prototype!=42})}),H=e((e,t)=>{var n=g(),r=String,i=TypeError;t.exports=function(e){if(n(e))return e;throw i(r(e)+` is not an object`)}}),U=e(e=>{var t=r(),n=z(),i=V(),a=H(),o=L(),s=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u=`enumerable`,d=`configurable`,f=`writable`;e.f=t?i?function(e,t,n){if(a(e),t=o(t),a(n),typeof e==`function`&&t===`prototype`&&`value`in n&&f in n&&!n[f]){var r=l(e,t);r&&r[f]&&(e[t]=n.value,n={configurable:d in n?n[d]:r[d],enumerable:u in n?n[u]:r[u],writable:!1})}return c(e,t,n)}:c:function(e,t,r){if(a(e),t=o(t),a(r),n)try{return c(e,t,r)}catch{}if(`get`in r||`set`in r)throw s(`Accessors not supported`);return`value`in r&&(e[t]=r.value),e}}),W=e((e,t)=>{var n=r(),i=U(),a=s();t.exports=n?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}}),G=e((e,t)=>{var n=r(),i=N(),a=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,s=i(a,`name`);t.exports={EXISTS:s,PROPER:s&&function(){}.name===`something`,CONFIGURABLE:s&&(!n||n&&o(a,`name`).configurable)}}),K=e((e,t)=>{var n=c(),r=h(),i=A(),a=n(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),t.exports=i.inspectSource}),q=e((e,n)=>{var r=t(),i=h(),a=r.WeakMap;n.exports=i(a)&&/native code/.test(String(a))}),ee=e((e,t)=>{var n=j(),r=P(),i=n(`keys`);t.exports=function(e){return i[e]||(i[e]=r(e))}}),J=e((e,t)=>{t.exports={}}),te=e((e,n)=>{var r=q(),i=t(),a=g(),o=W(),s=N(),c=A(),l=ee(),u=J(),d=`Object already initialized`,f=i.TypeError,p=i.WeakMap,m,h,_,v=function(e){return _(e)?h(e):m(e,{})},y=function(e){return function(t){var n;if(!a(t)||(n=h(t)).type!==e)throw f(`Incompatible receiver, `+e+` required`);return n}};r||c.state?(b=c.state||=new p,b.get=b.get,b.has=b.has,b.set=b.set,m=function(e,t){if(b.has(e))throw f(d);return t.facade=e,b.set(e,t),t},h=function(e){return b.get(e)||{}},_=function(e){return b.has(e)}):(x=l(`state`),u[x]=!0,m=function(e,t){if(s(e,x))throw f(d);return t.facade=e,o(e,x,t),t},h=function(e){return s(e,x)?e[x]:{}},_=function(e){return s(e,x)});var b,x;n.exports={set:m,get:h,has:_,enforce:v,getterFor:y}}),ne=e((e,t)=>{var i=n(),a=h(),o=N(),s=r(),c=G().CONFIGURABLE,l=K(),u=te(),d=u.enforce,f=u.get,p=Object.defineProperty,m=s&&!i(function(){return p(function(){},`length`,{value:8}).length!==8}),g=String(String).split(`String`),_=t.exports=function(e,t,n){String(t).slice(0,7)===`Symbol(`&&(t=`[`+String(t).replace(/^Symbol\(([^)]*)\)/,`$1`)+`]`),n&&n.getter&&(t=`get `+t),n&&n.setter&&(t=`set `+t),(!o(e,`name`)||c&&e.name!==t)&&(s?p(e,`name`,{value:t,configurable:!0}):e.name=t),m&&n&&o(n,`arity`)&&e.length!==n.arity&&p(e,`length`,{value:n.arity});try{n&&o(n,`constructor`)&&n.constructor?s&&p(e,`prototype`,{writable:!1}):e.prototype&&=void 0}catch{}var r=d(e);return o(r,`source`)||(r.source=g.join(typeof t==`string`?t:``)),e};Function.prototype.toString=_(function(){return a(this)&&f(this).source||l(this)},`toString`)}),Y=e((e,t)=>{var n=h(),r=U(),i=ne(),a=k();t.exports=function(e,t,o,s){s||={};var c=s.enumerable,l=s.name===void 0?t:s.name;if(n(o)&&i(o,l,s),s.global)c?e[t]=o:a(t,o);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch{}c?e[t]=o:r.f(e,t,{value:o,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}}),re=e((e,t)=>{var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}}),ie=e((e,t)=>{var n=re();t.exports=function(e){var t=+e;return t!==t||t===0?0:n(t)}}),ae=e((e,t)=>{var n=ie(),r=Math.max,i=Math.min;t.exports=function(e,t){var a=n(e);return a<0?r(a+t,0):i(a,t)}}),oe=e((e,t)=>{var n=ie(),r=Math.min;t.exports=function(e){return e>0?r(n(e),9007199254740991):0}}),se=e((e,t)=>{var n=oe();t.exports=function(e){return n(e.length)}}),ce=e((e,t)=>{var n=p(),r=ae(),i=se(),a=function(e){return function(t,a,o){var s=n(t),c=i(s),l=r(o,c),u;if(e&&a!=a){for(;c>l;)if(u=s[l++],u!=u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===a)return e||l||0;return!e&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}}),le=e((e,t)=>{var n=c(),r=N(),i=p(),a=ce().indexOf,o=J(),s=n([].push);t.exports=function(e,t){var n=i(e),c=0,l=[],u;for(u in n)!r(o,u)&&r(n,u)&&s(l,u);for(;t.length>c;)r(n,u=t[c++])&&(~a(l,u)||s(l,u));return l}}),ue=e((e,t)=>{t.exports=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`]}),de=e(e=>{var t=le(),n=ue().concat(`length`,`prototype`);e.f=Object.getOwnPropertyNames||function(e){return t(e,n)}}),fe=e(e=>{e.f=Object.getOwnPropertySymbols}),pe=e((e,t)=>{var n=_(),r=c(),i=de(),a=fe(),o=H(),s=r([].concat);t.exports=n(`Reflect`,`ownKeys`)||function(e){var t=i.f(o(e)),n=a.f;return n?s(t,n(e)):t}}),X=e((e,t)=>{var n=N(),r=pe(),i=B(),a=U();t.exports=function(e,t,o){for(var s=r(t),c=a.f,l=i.f,u=0;u<s.length;u++){var d=s[u];!n(e,d)&&!(o&&n(o,d))&&c(e,d,l(t,d))}}}),Z=e((e,t)=>{var r=n(),i=h(),a=/#|\.prototype\./,o=function(e,t){var n=c[s(e)];return n==u?!0:n==l?!1:i(t)?r(t):!!t},s=o.normalize=function(e){return String(e).replace(a,`.`).toLowerCase()},c=o.data={},l=o.NATIVE=`N`,u=o.POLYFILL=`P`;t.exports=o}),me=e((e,n)=>{var r=t(),i=B().f,a=W(),o=Y(),s=k(),c=X(),l=Z();n.exports=function(e,t){var n=e.target,u=e.global,d=e.stat,f,p,m,h,g,_;if(p=u?r:d?r[n]||s(n,{}):(r[n]||{}).prototype,p)for(m in t){if(g=t[m],e.dontCallGetSet?(_=i(p,m),h=_&&_.value):h=p[m],f=l(u?m:n+(d?`.`:`#`)+m,e.forced),!f&&h!==void 0){if(typeof g==typeof h)continue;c(g,h)}(e.sham||h&&h.sham)&&a(g,`sham`,!0),o(p,m,g,e)}}}),he=e(()=>{var e=me(),n=t();e({global:!0,forced:n.globalThis!==n},{globalThis:n})}),ge=e(()=>{he()});return e((e,t)=>{ge();var n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o=(e,t)=>function(){return e&&(t=(0,e[i(e)[0]])(e=0)),t},s=(e,t)=>function(){return t||(0,e[i(e)[0]])((t={exports:{}}).exports,t),t.exports},c=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})},l=(e,t,o,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let c of i(t))!a.call(e,c)&&c!==o&&n(e,c,{get:()=>t[c],enumerable:!(s=r(t,c))||s.enumerable});return e},u=e=>l(n({},`__esModule`,{value:!0}),e),d=o({"<define:process>"(){}}),f=s({"src/common/parser-create-error.js"(e,t){d();function n(e,t){let n=SyntaxError(e+` (`+t.start.line+`:`+t.start.column+`)`);return n.loc=t,n}t.exports=n}}),p=s({"src/utils/get-last.js"(e,t){d(),t.exports=e=>e[e.length-1]}}),m=s({"src/utils/front-matter/parse.js"(e,t){d();var n=RegExp(`^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)`,`s`);function r(e){let t=e.match(n);if(!t)return{content:e};let{startDelimiter:r,language:i,value:a=``,endDelimiter:o}=t.groups,s=i.trim()||`yaml`;if(r===`+++`&&(s=`toml`),s!==`yaml`&&r!==o)return{content:e};let[c]=t;return{frontMatter:{type:`front-matter`,lang:s,value:a,startDelimiter:r,endDelimiter:o,raw:c.replace(/\n$/,``)},content:c.replace(/[^\n]/g,` `)+e.slice(c.length)}}t.exports=r}}),h={};c(h,{EOL:()=>M,arch:()=>D,cpus:()=>S,default:()=>N,endianness:()=>g,freemem:()=>b,getNetworkInterfaces:()=>E,hostname:()=>_,loadavg:()=>v,networkInterfaces:()=>T,platform:()=>O,release:()=>w,tmpDir:()=>k,tmpdir:()=>j,totalmem:()=>x,type:()=>C,uptime:()=>y});function g(){if(typeof A>`u`){var e=new ArrayBuffer(2),t=new Uint8Array(e),n=new Uint16Array(e);if(t[0]=1,t[1]=2,n[0]===258)A=`BE`;else if(n[0]===513)A=`LE`;else throw Error(`unable to figure out endianess`)}return A}function _(){return typeof globalThis.location<`u`?globalThis.location.hostname:``}function v(){return[]}function y(){return 0}function b(){return Number.MAX_VALUE}function x(){return Number.MAX_VALUE}function S(){return[]}function C(){return`Browser`}function w(){return typeof globalThis.navigator<`u`?globalThis.navigator.appVersion:``}function T(){}function E(){}function D(){return`javascript`}function O(){return`browser`}function k(){return`/tmp`}var A,j,M,N,P=o({"node-modules-polyfills:os"(){d(),j=k,M=`
|
|
65
|
-
`,N={EOL:M,tmpdir:j,tmpDir:k,networkInterfaces:T,getNetworkInterfaces:E,release:w,type:C,cpus:S,totalmem:x,freemem:b,uptime:y,loadavg:v,hostname:_,endianness:g}}}),F=s({"node-modules-polyfills-commonjs:os"(e,t){d();var n=(P(),u(h));if(n&&n.default){t.exports=n.default;for(let e in n)t.exports[e]=n[e]}else n&&(t.exports=n)}}),I=s({"node_modules/detect-newline/index.js"(e,t){d();var n=e=>{if(typeof e!=`string`)throw TypeError(`Expected a string`);let t=e.match(/(?:\r?\n)/g)||[];if(t.length===0)return;let n=t.filter(e=>e===`\r
|
|
66
|
-
`).length;return n>t.length-n?`\r
|
|
67
|
-
`:`
|
|
68
|
-
`};t.exports=n,t.exports.graceful=e=>typeof e==`string`&&n(e)||`
|
|
69
|
-
`}}),L=s({"node_modules/jest-docblock/build/index.js"(e){d(),Object.defineProperty(e,`__esModule`,{value:!0}),e.extract=m,e.parse=g,e.parseWithComments=_,e.print=v,e.strip=h;function t(){let e=F();return t=function(){return e},e}function n(){let e=r(I());return n=function(){return e},e}function r(e){return e&&e.__esModule?e:{default:e}}var i=/\*\/$/,a=/^\/\*\*?/,o=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,s=/(^|\s+)\/\/([^\r\n]*)/g,c=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,u=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,f=/(\r?\n|^) *\* ?/g,p=[];function m(e){let t=e.match(o);return t?t[0].trimLeft():``}function h(e){let t=e.match(o);return t&&t[0]?e.substring(t[0].length):e}function g(e){return _(e).pragmas}function _(e){let r=(0,n().default)(e)||t().EOL;e=e.replace(a,``).replace(i,``).replace(f,`$1`);let o=``;for(;o!==e;)o=e,e=e.replace(l,`${r}$1 $2${r}`);e=e.replace(c,``).trimRight();let d=Object.create(null),m=e.replace(u,``).replace(c,``).trimRight(),h;for(;h=u.exec(e);){let e=h[2].replace(s,``);typeof d[h[1]]==`string`||Array.isArray(d[h[1]])?d[h[1]]=p.concat(d[h[1]],e):d[h[1]]=e}return{comments:m,pragmas:d}}function v(e){let{comments:r=``,pragmas:i={}}=e,a=(0,n().default)(r)||t().EOL,o=Object.keys(i),s=o.map(e=>y(e,i[e])).reduce((e,t)=>e.concat(t),[]).map(e=>` * ${e}${a}`).join(``);if(!r){if(o.length===0)return``;if(o.length===1&&!Array.isArray(i[o[0]])){let e=i[o[0]];return`/** ${y(o[0],e)[0]} */`}}let c=r.split(a).map(e=>` * ${e}`).join(a)+a;return`/**`+a+(r?c:``)+(r&&o.length?` *`+a:``)+s+` */`}function y(e,t){return p.concat(t).map(t=>`@${e} ${t}`.trim())}}}),R=s({"src/common/end-of-line.js"(e,t){d();function n(e){let t=e.indexOf(`\r`);return t>=0?e.charAt(t+1)===`
|
|
70
|
-
`?`crlf`:`cr`:`lf`}function r(e){switch(e){case`cr`:return`\r`;case`crlf`:return`\r
|
|
71
|
-
`;default:return`
|
|
72
|
-
`}}function i(e,t){let n;switch(t){case`
|
|
73
|
-
`:n=/\n/g;break;case`\r`:n=/\r/g;break;case`\r
|
|
74
|
-
`:n=/\r\n/g;break;default:throw Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let r=e.match(n);return r?r.length:0}function a(e){return e.replace(/\r\n?/g,`
|
|
75
|
-
`)}t.exports={guessEndOfLine:n,convertEndOfLineToChars:r,countEndOfLineChars:i,normalizeEndOfLine:a}}}),z=s({"src/language-js/utils/get-shebang.js"(e,t){d();function n(e){if(!e.startsWith(`#!`))return``;let t=e.indexOf(`
|
|
76
|
-
`);return t===-1?e:e.slice(0,t)}t.exports=n}}),B=s({"src/language-js/pragma.js"(e,t){d();var{parseWithComments:n,strip:r,extract:i,print:a}=L(),{normalizeEndOfLine:o}=R(),s=z();function c(e){let t=s(e);t&&(e=e.slice(t.length+1));let{pragmas:r,comments:a}=n(i(e));return{shebang:t,text:e,pragmas:r,comments:a}}function l(e){let t=Object.keys(c(e).pragmas);return t.includes(`prettier`)||t.includes(`format`)}function u(e){let{shebang:t,text:n,pragmas:i,comments:s}=c(e),l=r(n),u=a({pragmas:Object.assign({format:``},i),comments:s.trimStart()});return(t?`${t}
|
|
77
|
-
`:``)+o(u)+(l.startsWith(`
|
|
78
|
-
`)?`
|
|
79
|
-
`:`
|
|
80
|
-
|
|
81
|
-
`)+l}t.exports={hasPragma:l,insertPragma:u}}}),V=s({"src/language-css/pragma.js"(e,t){d();var n=B(),r=m();function i(e){return n.hasPragma(r(e).content)}function a(e){let{frontMatter:t,content:i}=r(e);return(t?t.raw+`
|
|
82
|
-
|
|
83
|
-
`:``)+n.insertPragma(i)}t.exports={hasPragma:i,insertPragma:a}}}),H=s({"src/utils/text/skip.js"(e,t){d();function n(e){return(t,n,r)=>{let i=r&&r.backwards;if(n===!1)return!1;let{length:a}=t,o=n;for(;o>=0&&o<a;){let n=t.charAt(o);if(e instanceof RegExp){if(!e.test(n))return o}else if(!e.includes(n))return o;i?o--:o++}return o===-1||o===a?o:!1}}t.exports={skipWhitespace:n(/\s/),skipSpaces:n(` `),skipToLineEnd:n(`,; `),skipEverythingButNewLine:n(/[^\n\r]/)}}}),U=s({"src/utils/line-column-to-index.js"(e,t){d(),t.exports=function(e,t){let n=0;for(let r=0;r<e.line-1;++r)n=t.indexOf(`
|
|
84
|
-
`,n)+1;return n+e.column}}}),W=s({"src/language-css/loc.js"(e,t){d();var{skipEverythingButNewLine:n}=H(),r=p(),i=U();function a(e,t){return typeof e.sourceIndex==`number`?e.sourceIndex:e.source?i(e.source.start,t)-1:null}function o(e,t){if(e.type===`css-comment`&&e.inline)return n(t,e.source.startOffset);let a=e.nodes&&r(e.nodes);return a&&e.source&&!e.source.end&&(e=a),e.source&&e.source.end?i(e.source.end,t):null}function s(e,t){e.source&&(e.source.startOffset=a(e,t),e.source.endOffset=o(e,t));for(let n in e){let r=e[n];n===`source`||!r||typeof r!=`object`||(r.type===`value-root`||r.type===`value-unknown`?c(r,l(e),r.text||r.value):s(r,t))}}function c(e,t,n){e.source&&(e.source.startOffset=a(e,n)+t,e.source.endOffset=o(e,n)+t);for(let r in e){let i=e[r];r===`source`||!i||typeof i!=`object`||c(i,t,n)}}function l(e){let t=e.source.startOffset;return typeof e.prop==`string`&&(t+=e.prop.length),e.type===`css-atrule`&&typeof e.name==`string`&&(t+=1+e.name.length+e.raws.afterName.match(/^\s*:?\s*/)[0].length),e.type!==`css-atrule`&&e.raws&&typeof e.raws.between==`string`&&(t+=e.raws.between.length),t}function u(e){let t=`initial`,n=`initial`,r,i=!1,a=[];for(let o=0;o<e.length;o++){let s=e[o];switch(t){case`initial`:if(s===`'`){t=`single-quotes`;continue}if(s===`"`){t=`double-quotes`;continue}if((s===`u`||s===`U`)&&e.slice(o,o+4).toLowerCase()===`url(`){t=`url`,o+=3;continue}if(s===`*`&&e[o-1]===`/`){t=`comment-block`;continue}if(s===`/`&&e[o-1]===`/`){t=`comment-inline`,r=o-1;continue}continue;case`single-quotes`:if(s===`'`&&e[o-1]!==`\\`&&(t=n,n=`initial`),s===`
|
|
85
|
-
`||s===`\r`)return e;continue;case`double-quotes`:if(s===`"`&&e[o-1]!==`\\`&&(t=n,n=`initial`),s===`
|
|
86
|
-
`||s===`\r`)return e;continue;case`url`:if(s===`)`&&(t=`initial`),s===`
|
|
87
|
-
`||s===`\r`)return e;if(s===`'`){t=`single-quotes`,n=`url`;continue}if(s===`"`){t=`double-quotes`,n=`url`;continue}continue;case`comment-block`:s===`/`&&e[o-1]===`*`&&(t=`initial`);continue;case`comment-inline`:(s===`"`||s===`'`||s===`*`)&&(i=!0),(s===`
|
|
88
|
-
`||s===`\r`)&&(i&&a.push([r,o]),t=`initial`,i=!1);continue}}for(let[t,n]of a)e=e.slice(0,t)+e.slice(t,n).replace(/["'*]/g,` `)+e.slice(n);return e}function f(e){return e.source.startOffset}function m(e){return e.source.endOffset}t.exports={locStart:f,locEnd:m,calculateLoc:s,replaceQuotesInInlineComments:u}}}),G=s({"src/utils/is-non-empty-array.js"(e,t){d();function n(e){return Array.isArray(e)&&e.length>0}t.exports=n}}),K=s({"src/language-css/utils/has-scss-interpolation.js"(e,t){d();var n=G();function r(e){if(n(e)){for(let t=e.length-1;t>0;t--)if(e[t].type===`word`&&e[t].value===`{`&&e[t-1].type===`word`&&e[t-1].value.endsWith(`#`))return!0}return!1}t.exports=r}}),q=s({"src/language-css/utils/has-string-or-function.js"(e,t){d();function n(e){return e.some(e=>e.type===`string`||e.type===`func`)}t.exports=n}}),ee=s({"src/language-css/utils/is-less-parser.js"(e,t){d();function n(e){return e.parser===`css`||e.parser===`less`}t.exports=n}}),J=s({"src/language-css/utils/is-scss.js"(e,t){d();function n(e,t){return e===`less`||e===`scss`?e===`scss`:/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(t)}t.exports=n}}),te=s({"src/language-css/utils/is-scss-nested-property-node.js"(e,t){d();function n(e){return e.selector?e.selector.replace(/\/\*.*?\*\//,``).replace(/\/\/.*\n/,``).trim().endsWith(`:`):!1}t.exports=n}}),ne=s({"src/language-css/utils/is-scss-variable.js"(e,t){d();function n(e){return!!(e?.type===`word`&&e.value.startsWith(`$`))}t.exports=n}}),Y=s({"src/language-css/utils/stringify-node.js"(e,t){d();function n(e){if(e.groups){let t=e.open?.value||``,r=e.groups.map(e=>n(e)).join(e.groups[0]?.type===`comma_group`?`,`:``),i=e.close?.value||``;return t+r+i}let t=e.raws?.before||``,r=e.raws?.quote||``,i=e.type===`atword`?`@`:``,a=e.value||``,o=e.unit||``,s=e.group?n(e.group):``,c=e.raws?.after||``;return t+r+i+a+r+o+s+c}t.exports=n}}),re=s({"src/language-css/utils/is-module-rule-name.js"(e,t){d();var n=new Set([`import`,`use`,`forward`]);function r(e){return n.has(e)}t.exports=r}}),ie=s({"node_modules/postcss-values-parser/lib/node.js"(e,t){d();var n=function(e,t){let r=new e.constructor;for(let i in e){if(!e.hasOwnProperty(i))continue;let a=e[i],o=typeof a;i===`parent`&&o===`object`?t&&(r[i]=t):i===`source`?r[i]=a:a instanceof Array?r[i]=a.map(e=>n(e,r)):i!==`before`&&i!==`after`&&i!==`between`&&i!==`semicolon`&&(o===`object`&&a!==null&&(a=n(a)),r[i]=a)}return r};t.exports=class{constructor(e){e||={},this.raws={before:``,after:``};for(let t in e)this[t]=e[t]}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(e){e||={};let t=n(this);for(let n in e)t[n]=e[n];return t}cloneBefore(e){e||={};let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e){e||={};let t=this.clone(e);return this.parent.insertAfter(this,t),t}replaceWith(){let e=Array.prototype.slice.call(arguments);if(this.parent){for(let t of e)this.parent.insertBefore(this,t);this.remove()}return this}moveTo(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.append(this),this}moveBefore(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertBefore(e,this),this}moveAfter(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertAfter(e,this),this}next(){let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){let e=this.parent.index(this);return this.parent.nodes[e-1]}toJSON(){let e={};for(let t in this){if(!this.hasOwnProperty(t)||t===`parent`)continue;let n=this[t];n instanceof Array?e[t]=n.map(e=>typeof e==`object`&&e.toJSON?e.toJSON():e):typeof n==`object`&&n.toJSON?e[t]=n.toJSON():e[t]=n}return e}root(){let e=this;for(;e.parent;)e=e.parent;return e}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}positionInside(e){let t=this.toString(),n=this.source.start.column,r=this.source.start.line;for(let i=0;i<e;i++)t[i]===`
|
|
89
|
-
`?(n=1,r+=1):n+=1;return{line:r,column:n}}positionBy(e){let t=this.source.start;if(Object(e).index)t=this.positionInside(e.index);else if(Object(e).word){let n=this.toString().indexOf(e.word);n!==-1&&(t=this.positionInside(n))}return t}}}}),ae=s({"node_modules/postcss-values-parser/lib/container.js"(e,t){d();var n=ie(),r=class extends n{constructor(e){super(e),this.nodes||=[]}push(e){return e.parent=this,this.nodes.push(e),this}each(e){this.lastEach||=0,this.indexes||={},this.lastEach+=1;let t=this.lastEach,n,r;if(this.indexes[t]=0,this.nodes){for(;this.indexes[t]<this.nodes.length&&(n=this.indexes[t],r=e(this.nodes[n],n),r!==!1);)this.indexes[t]+=1;return delete this.indexes[t],r}}walk(e){return this.each((t,n)=>{let r=e(t,n);return r!==!1&&t.walk&&(r=t.walk(e)),r})}walkType(e,t){if(!e||!t)throw Error(`Parameters {type} and {callback} are required.`);let n=typeof e==`function`;return this.walk((r,i)=>{if(n&&r instanceof e||!n&&r.type===e)return t.call(this,r,i)})}append(e){return e.parent=this,this.nodes.push(e),this}prepend(e){return e.parent=this,this.nodes.unshift(e),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}insertAfter(e,t){let n=this.index(e),r;this.nodes.splice(n+1,0,t);for(let e in this.indexes)r=this.indexes[e],n<=r&&(this.indexes[e]=r+this.nodes.length);return this}insertBefore(e,t){let n=this.index(e),r;this.nodes.splice(n,0,t);for(let e in this.indexes)r=this.indexes[e],n<=r&&(this.indexes[e]=r+this.nodes.length);return this}removeChild(e){e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1);let t;for(let n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this}removeAll(){for(let e of this.nodes)e.parent=void 0;return this.nodes=[],this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e==`number`?e:this.nodes.indexOf(e)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let e=this.nodes.map(String).join(``);return this.value&&(e=this.value+e),this.raws.before&&(e=this.raws.before+e),this.raws.after&&(e+=this.raws.after),e}};r.registerWalker=e=>{let t=`walk`+e.name;t.lastIndexOf(`s`)!==t.length-1&&(t+=`s`),!r.prototype[t]&&(r.prototype[t]=function(t){return this.walkType(e,t)})},t.exports=r}}),oe=s({"node_modules/postcss-values-parser/lib/root.js"(e,t){d();var n=ae();t.exports=class extends n{constructor(e){super(e),this.type=`root`}}}}),se=s({"node_modules/postcss-values-parser/lib/value.js"(e,t){d();var n=ae();t.exports=class extends n{constructor(e){super(e),this.type=`value`,this.unbalanced=0}}}}),ce=s({"node_modules/postcss-values-parser/lib/atword.js"(e,t){d();var n=ae(),r=class extends n{constructor(e){super(e),this.type=`atword`}toString(){return this.quoted&&this.raws.quote,[this.raws.before,`@`,String.prototype.toString.call(this.value),this.raws.after].join(``)}};n.registerWalker(r),t.exports=r}}),le=s({"node_modules/postcss-values-parser/lib/colon.js"(e,t){d();var n=ae(),r=ie(),i=class extends r{constructor(e){super(e),this.type=`colon`}};n.registerWalker(i),t.exports=i}}),ue=s({"node_modules/postcss-values-parser/lib/comma.js"(e,t){d();var n=ae(),r=ie(),i=class extends r{constructor(e){super(e),this.type=`comma`}};n.registerWalker(i),t.exports=i}}),de=s({"node_modules/postcss-values-parser/lib/comment.js"(e,t){d();var n=ae(),r=ie(),i=class extends r{constructor(e){super(e),this.type=`comment`,this.inline=Object(e).inline||!1}toString(){return[this.raws.before,this.inline?`//`:`/*`,String(this.value),this.inline?``:`*/`,this.raws.after].join(``)}};n.registerWalker(i),t.exports=i}}),fe=s({"node_modules/postcss-values-parser/lib/function.js"(e,t){d();var n=ae(),r=class extends n{constructor(e){super(e),this.type=`func`,this.unbalanced=-1}};n.registerWalker(r),t.exports=r}}),pe=s({"node_modules/postcss-values-parser/lib/number.js"(e,t){d();var n=ae(),r=ie(),i=class extends r{constructor(e){super(e),this.type=`number`,this.unit=Object(e).unit||``}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join(``)}};n.registerWalker(i),t.exports=i}}),X=s({"node_modules/postcss-values-parser/lib/operator.js"(e,t){d();var n=ae(),r=ie(),i=class extends r{constructor(e){super(e),this.type=`operator`}};n.registerWalker(i),t.exports=i}}),Z=s({"node_modules/postcss-values-parser/lib/paren.js"(e,t){d();var n=ae(),r=ie(),i=class extends r{constructor(e){super(e),this.type=`paren`,this.parenType=``}};n.registerWalker(i),t.exports=i}}),me=s({"node_modules/postcss-values-parser/lib/string.js"(e,t){d();var n=ae(),r=ie(),i=class extends r{constructor(e){super(e),this.type=`string`}toString(){let e=this.quoted?this.raws.quote:``;return[this.raws.before,e,this.value+``,e,this.raws.after].join(``)}};n.registerWalker(i),t.exports=i}}),he=s({"node_modules/postcss-values-parser/lib/word.js"(e,t){d();var n=ae(),r=ie(),i=class extends r{constructor(e){super(e),this.type=`word`}};n.registerWalker(i),t.exports=i}}),_e=s({"node_modules/postcss-values-parser/lib/unicode-range.js"(e,t){d();var n=ae(),r=ie(),i=class extends r{constructor(e){super(e),this.type=`unicode-range`}};n.registerWalker(i),t.exports=i}});function ve(){throw Error(`setTimeout has not been defined`)}function ye(){throw Error(`clearTimeout has not been defined`)}function be(e){if(Ne===setTimeout)return setTimeout(e,0);if((Ne===ve||!Ne)&&setTimeout)return Ne=setTimeout,setTimeout(e,0);try{return Ne(e,0)}catch{try{return Ne.call(null,e,0)}catch{return Ne.call(this,e,0)}}}function xe(e){if(Pe===clearTimeout)return clearTimeout(e);if((Pe===ye||!Pe)&&clearTimeout)return Pe=clearTimeout,clearTimeout(e);try{return Pe(e)}catch{try{return Pe.call(null,e)}catch{return Pe.call(this,e)}}}function Se(){!Ie||!Le||(Ie=!1,Le.length?Fe=Le.concat(Fe):Re=-1,Fe.length&&Ce())}function Ce(){if(!Ie){var e=be(Se);Ie=!0;for(var t=Fe.length;t;){for(Le=Fe,Fe=[];++Re<t;)Le&&Le[Re].run();Re=-1,t=Fe.length}Le=null,Ie=!1,xe(e)}}function we(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];Fe.push(new Te(e,t)),Fe.length===1&&!Ie&&be(Ce)}function Te(e,t){this.fun=e,this.array=t}function Ee(){}function De(e){throw Error(`process.binding is not supported`)}function Oe(){return`/`}function ke(e){throw Error(`process.chdir is not supported`)}function Ae(){return 0}function je(e){var t=nt.call(tt)*.001,n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],r-=e[1],r<0&&(n--,r+=1e9)),[n,r]}function Me(){return(new Date-rt)/1e3}var Ne,Pe,Fe,Ie,Le,Re,ze,Be,Ve,He,Ue,We,Ge,Ke,qe,Je,Ye,Xe,Ze,Qe,$e,et,tt,nt,rt,it,at,ot=o({"node-modules-polyfills:process"(){d(),Ne=ve,Pe=ye,typeof globalThis.setTimeout==`function`&&(Ne=setTimeout),typeof globalThis.clearTimeout==`function`&&(Pe=clearTimeout),Fe=[],Ie=!1,Re=-1,Te.prototype.run=function(){this.fun.apply(null,this.array)},ze=`browser`,Be=`browser`,Ve=!0,He={},Ue=[],We=``,Ge={},Ke={},qe={},Je=Ee,Ye=Ee,Xe=Ee,Ze=Ee,Qe=Ee,$e=Ee,et=Ee,tt=globalThis.performance||{},nt=tt.now||tt.mozNow||tt.msNow||tt.oNow||tt.webkitNow||function(){return new Date().getTime()},rt=new Date,it={nextTick:we,title:ze,browser:Ve,env:He,argv:Ue,version:We,versions:Ge,on:Je,addListener:Ye,once:Xe,off:Ze,removeListener:Qe,removeAllListeners:$e,emit:et,binding:De,cwd:Oe,chdir:ke,umask:Ae,hrtime:je,platform:Be,release:Ke,config:qe,uptime:Me},at=it}}),st,ct,lt=o({"node_modules/rollup-plugin-node-polyfills/polyfills/inherits.js"(){d(),st=typeof Object.create==`function`?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},ct=st}}),ut={};c(ut,{_extend:()=>Ut,debuglog:()=>pt,default:()=>Yt,deprecate:()=>ft,format:()=>dt,inherits:()=>ct,inspect:()=>mt,isArray:()=>wt,isBoolean:()=>Tt,isBuffer:()=>Rt,isDate:()=>Pt,isError:()=>Ft,isFunction:()=>It,isNull:()=>Et,isNullOrUndefined:()=>Dt,isNumber:()=>Ot,isObject:()=>Nt,isPrimitive:()=>Lt,isRegExp:()=>Mt,isString:()=>kt,isSymbol:()=>At,isUndefined:()=>jt,log:()=>Ht});function dt(e){if(!kt(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(mt(arguments[n]));return t.join(` `)}for(var n=1,r=arguments,i=r.length,a=String(e).replace(Gt,function(e){if(e===`%%`)return`%`;if(n>=i)return e;switch(e){case`%s`:return String(r[n++]);case`%d`:return Number(r[n++]);case`%j`:try{return JSON.stringify(r[n++])}catch{return`[Circular]`}default:return e}}),o=r[n];n<i;o=r[++n])Et(o)||!Nt(o)?a+=` `+o:a+=` `+mt(o);return a}function ft(e,t){if(jt(globalThis.process))return function(){return ft(e,t).apply(this,arguments)};if(at.noDeprecation===!0)return e;var n=!1;function r(){if(!n){if(at.throwDeprecation)throw Error(t);at.traceDeprecation?console.trace(t):console.error(t),n=!0}return e.apply(this,arguments)}return r}function pt(e){if(jt(qt)&&(qt=at.env.NODE_DEBUG||``),e=e.toUpperCase(),!Kt[e])if(RegExp(`\\b`+e+`\\b`,`i`).test(qt)){var t=0;Kt[e]=function(){var n=dt.apply(null,arguments);console.error(`%s %d: %s`,e,t,n)}}else Kt[e]=function(){};return Kt[e]}function mt(e,t){var n={seen:[],stylize:gt};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Tt(t)?n.showHidden=t:t&&Ut(n,t),jt(n.showHidden)&&(n.showHidden=!1),jt(n.depth)&&(n.depth=2),jt(n.colors)&&(n.colors=!1),jt(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=ht),vt(n,e,n.depth)}function ht(e,t){var n=mt.styles[t];return n?`\x1B[`+mt.colors[n][0]+`m`+e+`\x1B[`+mt.colors[n][1]+`m`:e}function gt(e,t){return e}function _t(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function vt(e,t,n){if(e.customInspect&&t&&It(t.inspect)&&t.inspect!==mt&&!(t.constructor&&t.constructor.prototype===t)){var r=t.inspect(n,e);return kt(r)||(r=vt(e,r,n)),r}var i=yt(e,t);if(i)return i;var a=Object.keys(t),o=_t(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),Ft(t)&&(a.indexOf(`message`)>=0||a.indexOf(`description`)>=0))return bt(t);if(a.length===0){if(It(t)){var s=t.name?`: `+t.name:``;return e.stylize(`[Function`+s+`]`,`special`)}if(Mt(t))return e.stylize(RegExp.prototype.toString.call(t),`regexp`);if(Pt(t))return e.stylize(Date.prototype.toString.call(t),`date`);if(Ft(t))return bt(t)}var c=``,l=!1,u=[`{`,`}`];if(wt(t)&&(l=!0,u=[`[`,`]`]),It(t)&&(c=` [Function`+(t.name?`: `+t.name:``)+`]`),Mt(t)&&(c=` `+RegExp.prototype.toString.call(t)),Pt(t)&&(c=` `+Date.prototype.toUTCString.call(t)),Ft(t)&&(c=` `+bt(t)),a.length===0&&(!l||t.length==0))return u[0]+c+u[1];if(n<0)return Mt(t)?e.stylize(RegExp.prototype.toString.call(t),`regexp`):e.stylize(`[Object]`,`special`);e.seen.push(t);var d;return d=l?xt(e,t,n,o,a):a.map(function(r){return St(e,t,n,o,r,l)}),e.seen.pop(),Ct(d,c,u)}function yt(e,t){if(jt(t))return e.stylize(`undefined`,`undefined`);if(kt(t)){var n=`'`+JSON.stringify(t).replace(/^"|"$/g,``).replace(/'/g,`\\'`).replace(/\\"/g,`"`)+`'`;return e.stylize(n,`string`)}if(Ot(t))return e.stylize(``+t,`number`);if(Tt(t))return e.stylize(``+t,`boolean`);if(Et(t))return e.stylize(`null`,`null`)}function bt(e){return`[`+Error.prototype.toString.call(e)+`]`}function xt(e,t,n,r,i){for(var a=[],o=0,s=t.length;o<s;++o)Wt(t,String(o))?a.push(St(e,t,n,r,String(o),!0)):a.push(``);return i.forEach(function(i){i.match(/^\d+$/)||a.push(St(e,t,n,r,i,!0))}),a}function St(e,t,n,r,i,a){var o,s,c;if(c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},c.get?s=c.set?e.stylize(`[Getter/Setter]`,`special`):e.stylize(`[Getter]`,`special`):c.set&&(s=e.stylize(`[Setter]`,`special`)),Wt(r,i)||(o=`[`+i+`]`),s||(e.seen.indexOf(c.value)<0?(s=Et(n)?vt(e,c.value,null):vt(e,c.value,n-1),s.indexOf(`
|
|
90
|
-
`)>-1&&(s=a?s.split(`
|
|
91
|
-
`).map(function(e){return` `+e}).join(`
|
|
92
|
-
`).substr(2):`
|
|
93
|
-
`+s.split(`
|
|
94
|
-
`).map(function(e){return` `+e}).join(`
|
|
95
|
-
`))):s=e.stylize(`[Circular]`,`special`)),jt(o)){if(a&&i.match(/^\d+$/))return s;o=JSON.stringify(``+i),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,`name`)):(o=o.replace(/'/g,`\\'`).replace(/\\"/g,`"`).replace(/(^"|"$)/g,`'`),o=e.stylize(o,`string`))}return o+`: `+s}function Ct(e,t,n){var r=0;return e.reduce(function(e,t){return r++,t.indexOf(`
|
|
96
|
-
`)>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,``).length+1},0)>60?n[0]+(t===``?``:t+`
|
|
97
|
-
`)+` `+e.join(`,
|
|
98
|
-
`)+` `+n[1]:n[0]+t+` `+e.join(`, `)+` `+n[1]}function wt(e){return Array.isArray(e)}function Tt(e){return typeof e==`boolean`}function Et(e){return e===null}function Dt(e){return e==null}function Ot(e){return typeof e==`number`}function kt(e){return typeof e==`string`}function At(e){return typeof e==`symbol`}function jt(e){return e===void 0}function Mt(e){return Nt(e)&&zt(e)===`[object RegExp]`}function Nt(e){return typeof e==`object`&&!!e}function Pt(e){return Nt(e)&&zt(e)===`[object Date]`}function Ft(e){return Nt(e)&&(zt(e)===`[object Error]`||e instanceof Error)}function It(e){return typeof e==`function`}function Lt(e){return e===null||typeof e==`boolean`||typeof e==`number`||typeof e==`string`||typeof e==`symbol`||typeof e>`u`}function Rt(e){return Buffer.isBuffer(e)}function zt(e){return Object.prototype.toString.call(e)}function Bt(e){return e<10?`0`+e.toString(10):e.toString(10)}function Vt(){var e=new Date,t=[Bt(e.getHours()),Bt(e.getMinutes()),Bt(e.getSeconds())].join(`:`);return[e.getDate(),Jt[e.getMonth()],t].join(` `)}function Ht(){console.log(`%s - %s`,Vt(),dt.apply(null,arguments))}function Ut(e,t){if(!t||!Nt(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function Wt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Gt,Kt,qt,Jt,Yt,Xt=o({"node-modules-polyfills:util"(){d(),ot(),lt(),Gt=/%[sdj%]/g,Kt={},mt.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]},mt.styles={special:`cyan`,number:`yellow`,boolean:`yellow`,undefined:`grey`,null:`bold`,string:`green`,date:`magenta`,regexp:`red`},Jt=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],Yt={inherits:ct,_extend:Ut,log:Ht,isBuffer:Rt,isPrimitive:Lt,isFunction:It,isError:Ft,isDate:Pt,isObject:Nt,isRegExp:Mt,isUndefined:jt,isSymbol:At,isString:kt,isNumber:Ot,isNullOrUndefined:Dt,isNull:Et,isBoolean:Tt,isArray:wt,inspect:mt,deprecate:ft,format:dt,debuglog:pt}}}),Zt=s({"node-modules-polyfills-commonjs:util"(e,t){d();var n=(Xt(),u(ut));if(n&&n.default){t.exports=n.default;for(let e in n)t.exports[e]=n[e]}else n&&(t.exports=n)}}),Qt=s({"node_modules/postcss-values-parser/lib/errors/TokenizeError.js"(e,t){d(),t.exports=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||`An error ocurred while tokzenizing.`,typeof Error.captureStackTrace==`function`?Error.captureStackTrace(this,this.constructor):this.stack=Error(e).stack}}}}),$t=s({"node_modules/postcss-values-parser/lib/tokenize.js"(e,t){d();var n=123,r=125,i=40,a=41,o=39,s=34,c=92,l=47,u=46,f=44,p=58,m=42,h=45,g=43,_=35,v=10,y=32,b=12,x=9,S=13,C=64,w=101,T=69,E=48,D=57,O=117,k=85,A=/[ \n\t\r\{\(\)'"\\;,/]/g,j=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,M=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,N=/^[a-z0-9]/i,P=/^[a-f0-9?\-]/i,F=Zt(),I=Qt();t.exports=function(e,t){t||={};let d=[],L=e.valueOf(),R=L.length,z=-1,B=1,V=0,H=0,U=null,W,G,K,q,ee,J,te,ne,Y,re,ie;function ae(e){throw new I(F.format(`Unclosed %s at line: %d, column: %d, token: %d`,e,B,V-z,V))}for(;V<R;){switch(W=L.charCodeAt(V),W===v&&(z=V,B+=1),W){case v:case y:case x:case S:case b:G=V;do G+=1,W=L.charCodeAt(G),W===v&&(z=G,B+=1);while(W===y||W===v||W===x||W===S||W===b);d.push([`space`,L.slice(V,G),B,V-z,B,G-z,V]),V=G-1;break;case p:G=V+1,d.push([`colon`,L.slice(V,G),B,V-z,B,G-z,V]),V=G-1;break;case f:G=V+1,d.push([`comma`,L.slice(V,G),B,V-z,B,G-z,V]),V=G-1;break;case n:d.push([`{`,`{`,B,V-z,B,G-z,V]);break;case r:d.push([`}`,`}`,B,V-z,B,G-z,V]);break;case i:H++,U=!U&&H===1&&d.length>0&&d[d.length-1][0]===`word`&&d[d.length-1][1]===`url`,d.push([`(`,`(`,B,V-z,B,G-z,V]);break;case a:H--,U&&=H>0,d.push([`)`,`)`,B,V-z,B,G-z,V]);break;case o:case s:K=W===o?`'`:`"`,G=V;do for(Y=!1,G=L.indexOf(K,G+1),G===-1&&ae(`quote`,K),re=G;L.charCodeAt(re-1)===c;)--re,Y=!Y;while(Y);d.push([`string`,L.slice(V,G+1),B,V-z,B,G-z,V]),V=G;break;case C:A.lastIndex=V+1,A.test(L),G=A.lastIndex===0?L.length-1:A.lastIndex-2,d.push([`atword`,L.slice(V,G+1),B,V-z,B,G-z,V]),V=G;break;case c:G=V,W=L.charCodeAt(G+1),d.push([`word`,L.slice(V,G+1),B,V-z,B,G-z,V]),V=G;break;case g:case h:case m:if(G=V+1,ie=L.slice(V+1,G+1),L.slice(V-1,V),W===h&&ie.charCodeAt(0)===h){G++,d.push([`word`,L.slice(V,G),B,V-z,B,G-z,V]),V=G-1;break}d.push([`operator`,L.slice(V,G),B,V-z,B,G-z,V]),V=G-1;break;default:if(W===l&&(L.charCodeAt(V+1)===m||t.loose&&!U&&L.charCodeAt(V+1)===l)){if(L.charCodeAt(V+1)===m)G=L.indexOf(`*/`,V+2)+1,G===0&&ae(`comment`,`*/`);else{let e=L.indexOf(`
|
|
99
|
-
`,V+2);G=e===-1?R:e-1}J=L.slice(V,G+1),q=J.split(`
|
|
100
|
-
`),ee=q.length-1,ee>0?(te=B+ee,ne=G-q[ee].length):(te=B,ne=z),d.push([`comment`,J,B,V-z,te,G-ne,V]),z=ne,B=te,V=G}else if(W===_&&!N.test(L.slice(V+1,V+2)))G=V+1,d.push([`#`,L.slice(V,G),B,V-z,B,G-z,V]),V=G-1;else if((W===O||W===k)&&L.charCodeAt(V+1)===g){G=V+2;do G+=1,W=L.charCodeAt(G);while(G<R&&P.test(L.slice(G,G+1)));d.push([`unicoderange`,L.slice(V,G),B,V-z,B,G-z,V]),V=G-1}else if(W===l)G=V+1,d.push([`operator`,L.slice(V,G),B,V-z,B,G-z,V]),V=G-1;else{let e=j;if(W>=E&&W<=D&&(e=M),e.lastIndex=V+1,e.test(L),G=e.lastIndex===0?L.length-1:e.lastIndex-2,e===M||W===u){let e=L.charCodeAt(G),t=L.charCodeAt(G+1),n=L.charCodeAt(G+2);(e===w||e===T)&&(t===h||t===g)&&n>=E&&n<=D&&(M.lastIndex=G+2,M.test(L),G=M.lastIndex===0?L.length-1:M.lastIndex-2)}d.push([`word`,L.slice(V,G+1),B,V-z,B,G-z,V]),V=G}break}V++}return d}}}),en=s({"node_modules/flatten/index.js"(e,t){d(),t.exports=function(e,t){if(t=typeof t==`number`?t:1/0,!t)return Array.isArray(e)?e.map(function(e){return e}):e;return n(e,1);function n(e,r){return e.reduce(function(e,i){return Array.isArray(i)&&r<t?e.concat(n(i,r+1)):e.concat(i)},[])}}}}),tn=s({"node_modules/indexes-of/index.js"(e,t){d(),t.exports=function(e,t){for(var n=-1,r=[];(n=e.indexOf(t,n+1))!==-1;)r.push(n);return r}}}),nn=s({"node_modules/uniq/uniq.js"(e,t){d();function n(e,t){for(var n=1,r=e.length,i=e[0],a=e[0],o=1;o<r;++o)if(a=i,i=e[o],t(i,a)){if(o===n){n++;continue}e[n++]=i}return e.length=n,e}function r(e){for(var t=1,n=e.length,r=e[0],i=e[0],a=1;a<n;++a,i=r)if(i=r,r=e[a],r!==i){if(a===t){t++;continue}e[t++]=r}return e.length=t,e}function i(e,t,i){return e.length===0?e:t?(i||e.sort(t),n(e,t)):(i||e.sort(),r(e))}t.exports=i}}),rn=s({"node_modules/postcss-values-parser/lib/errors/ParserError.js"(e,t){d(),t.exports=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||`An error ocurred while parsing.`,typeof Error.captureStackTrace==`function`?Error.captureStackTrace(this,this.constructor):this.stack=Error(e).stack}}}}),an=s({"node_modules/postcss-values-parser/lib/parser.js"(e,t){d();var n=oe(),r=se(),i=ce(),a=le(),o=ue(),s=de(),c=fe(),l=pe(),u=X(),f=Z(),p=me(),m=he(),h=_e(),g=$t(),_=en(),v=tn(),y=nn(),b=rn();function x(e){return e.sort((e,t)=>e-t)}t.exports=class{constructor(e,t){this.cache=[],this.input=e,this.options=Object.assign({},{loose:!1},t),this.position=0,this.unbalanced=0,this.root=new n;let i=new r;this.root.append(i),this.current=i,this.tokens=g(e,this.options)}parse(){return this.loop()}colon(){let e=this.currToken;this.newNode(new a({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comma(){let e=this.currToken;this.newNode(new o({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comment(){let e=!1,t=this.currToken[1].replace(/\/\*|\*\//g,``),n;this.options.loose&&t.startsWith(`//`)&&(t=t.substring(2),e=!0),n=new s({value:t,inline:e,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(e,t){throw new b(e+` at line: ${t[2]}, column ${t[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 e=this.currToken[1],t;if(e===`+`||e===`-`){if(this.options.loose||this.position>0&&(this.current.type===`func`&&this.current.value===`calc`?(this.prevToken[0]!==`space`&&this.prevToken[0]!==`(`||this.nextToken[0]!==`space`&&this.nextToken[0]!==`word`||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 t=new u({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(t)}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 e=1,t=this.position+1,n=this.currToken,r;for(;t<this.tokens.length&&e;){let n=this.tokens[t];n[0]===`(`&&e++,n[0]===`)`&&e--,t++}if(e&&this.error(`Expected closing parenthesis`,n),r=this.current.last,r&&r.type===`func`&&r.unbalanced<0&&(r.unbalanced=0,this.current=r),this.current.unbalanced++,this.newNode(new f({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 e=this.nextToken,t=this.currToken[1],n={line:this.currToken[2],column:this.currToken[3]};for(;e&&e[0]!==`)`&&this.current.unbalanced;)this.position++,t+=this.currToken[1],e=this.nextToken;this.position!==this.tokens.length-1&&(this.position++,this.newNode(new m({value:t,source:{start:n,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let e=this.currToken;this.newNode(new f({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++,!(this.position>=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error(`Expected opening parenthesis`,e),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let e=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===`,`||this.nextToken[0]===`)`?(this.current.last.raws.after+=e[1],this.position++):(this.spaces=e[1],this.position++)}unicodeRange(){let e=this.currToken;this.newNode(new h({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}splitWord(){let e=this.nextToken,t=this.currToken[1],n=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,r=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,a,o;if(!r.test(t))for(;e&&e[0]===`word`;){this.position++;let n=this.currToken[1];t+=n,e=this.nextToken}a=v(t,`@`),o=x(y(_([[0],a]))),o.forEach((r,s)=>{let u=o[s+1]||t.length,d=t.slice(r,u),f;if(~a.indexOf(r))f=new i({value:d.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+r},end:{line:this.currToken[4],column:this.currToken[3]+(u-1)}},sourceIndex:this.currToken[6]+o[s]});else if(n.test(this.currToken[1])){let e=d.replace(n,``);f=new l({value:d.replace(e,``),source:{start:{line:this.currToken[2],column:this.currToken[3]+r},end:{line:this.currToken[4],column:this.currToken[3]+(u-1)}},sourceIndex:this.currToken[6]+o[s],unit:e})}else f=new(e&&e[0]===`(`?c:m)({value:d,source:{start:{line:this.currToken[2],column:this.currToken[3]+r},end:{line:this.currToken[4],column:this.currToken[3]+(u-1)}},sourceIndex:this.currToken[6]+o[s]}),f.type===`word`?(f.isHex=/^#(.+)/.test(d),f.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(d)):this.cache.push(this.current);this.newNode(f)}),this.position++}string(){let e=this.currToken,t=this.currToken[1],n=/^(\"|\')/,r=n.test(t),i=``,a;r&&(i=t.match(n)[0],t=t.slice(1,t.length-1)),a=new p({value:t,source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6],quoted:r}),a.raws.quote=i,this.newNode(a),this.position++}word(){return this.splitWord()}newNode(e){return this.spaces&&=(e.raws.before+=this.spaces,``),this.current.append(e)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}}}),on=s({"node_modules/postcss-values-parser/lib/index.js"(e,t){d();var n=an(),r=ce(),i=le(),a=ue(),o=de(),s=fe(),c=pe(),l=X(),u=Z(),f=me(),p=_e(),m=se(),h=he(),g=function(e,t){return new n(e,t)};g.atword=function(e){return new r(e)},g.colon=function(e){return new i(Object.assign({value:`:`},e))},g.comma=function(e){return new a(Object.assign({value:`,`},e))},g.comment=function(e){return new o(e)},g.func=function(e){return new s(e)},g.number=function(e){return new c(e)},g.operator=function(e){return new l(e)},g.paren=function(e){return new u(Object.assign({value:`(`},e))},g.string=function(e){return new f(Object.assign({quote:`'`},e))},g.value=function(e){return new m(e)},g.word=function(e){return new h(e)},g.unicodeRange=function(e){return new p(e)},t.exports=g}}),sn=s({"node_modules/postcss-selector-parser/dist/selectors/node.js"(e,t){d(),e.__esModule=!0;var n=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e};function r(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}var i=function e(t,r){if((typeof t>`u`?`undefined`:n(t))!==`object`)return t;var i=new t.constructor;for(var a in t)if(t.hasOwnProperty(a)){var o=t[a],s=typeof o>`u`?`undefined`:n(o);a===`parent`&&s===`object`?r&&(i[a]=r):o instanceof Array?i[a]=o.map(function(t){return e(t,i)}):i[a]=e(o,i)}return i};e.default=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(var n in r(this,e),t)this[n]=t[n];var i=t.spaces;i=i===void 0?{}:i;var a=i.before,o=a===void 0?``:a,s=i.after;this.spaces={before:o,after:s===void 0?``:s}}return e.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},e.prototype.replaceWith=function(){if(this.parent){for(var e in arguments)this.parent.insertBefore(this,arguments[e]);this.remove()}return this},e.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},e.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},e.prototype.clone=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=i(this);for(var n in e)t[n]=e[n];return t},e.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join(``)},e}(),t.exports=e.default}}),cn=s({"node_modules/postcss-selector-parser/dist/selectors/types.js"(e){d(),e.__esModule=!0,e.TAG=`tag`,e.STRING=`string`,e.SELECTOR=`selector`,e.ROOT=`root`,e.PSEUDO=`pseudo`,e.NESTING=`nesting`,e.ID=`id`,e.COMMENT=`comment`,e.COMBINATOR=`combinator`,e.CLASS=`class`,e.ATTRIBUTE=`attribute`,e.UNIVERSAL=`universal`}}),ln=s({"node_modules/postcss-selector-parser/dist/selectors/container.js"(e,t){d(),e.__esModule=!0;var n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=o(sn()),i=a(cn());function a(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function c(e,t){if(!e)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return t&&(typeof t==`object`||typeof t==`function`)?t:e}function l(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function, not `+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}e.default=function(e){l(t,e);function t(n){s(this,t);var r=c(this,e.call(this,n));return r.nodes||=[],r}return t.prototype.append=function(e){return e.parent=this,this.nodes.push(e),this},t.prototype.prepend=function(e){return e.parent=this,this.nodes.unshift(e),this},t.prototype.at=function(e){return this.nodes[e]},t.prototype.index=function(e){return typeof e==`number`?e:this.nodes.indexOf(e)},t.prototype.removeChild=function(e){e=this.index(e),this.at(e).parent=void 0,this.nodes.splice(e,1);var t=void 0;for(var n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this},t.prototype.removeAll=function(){for(var e=this.nodes,t=Array.isArray(e),n=0,e=t?e:e[Symbol.iterator]();;){var r;if(t){if(n>=e.length)break;r=e[n++]}else{if(n=e.next(),n.done)break;r=n.value}var i=r;i.parent=void 0}return this.nodes=[],this},t.prototype.empty=function(){return this.removeAll()},t.prototype.insertAfter=function(e,t){var n=this.index(e);this.nodes.splice(n+1,0,t);var r=void 0;for(var i in this.indexes)r=this.indexes[i],n<=r&&(this.indexes[i]=r+this.nodes.length);return this},t.prototype.insertBefore=function(e,t){var n=this.index(e);this.nodes.splice(n,0,t);var r=void 0;for(var i in this.indexes)r=this.indexes[i],n<=r&&(this.indexes[i]=r+this.nodes.length);return this},t.prototype.each=function(e){this.lastEach||=0,this.indexes||={},this.lastEach++;var t=this.lastEach;if(this.indexes[t]=0,this.length){for(var n=void 0,r=void 0;this.indexes[t]<this.length&&(n=this.indexes[t],r=e(this.at(n),n),r!==!1);)this.indexes[t]+=1;if(delete this.indexes[t],r===!1)return!1}},t.prototype.walk=function(e){return this.each(function(t,n){var r=e(t,n);if(r!==!1&&t.length&&(r=t.walk(e)),r===!1)return!1})},t.prototype.walkAttributes=function(e){var t=this;return this.walk(function(n){if(n.type===i.ATTRIBUTE)return e.call(t,n)})},t.prototype.walkClasses=function(e){var t=this;return this.walk(function(n){if(n.type===i.CLASS)return e.call(t,n)})},t.prototype.walkCombinators=function(e){var t=this;return this.walk(function(n){if(n.type===i.COMBINATOR)return e.call(t,n)})},t.prototype.walkComments=function(e){var t=this;return this.walk(function(n){if(n.type===i.COMMENT)return e.call(t,n)})},t.prototype.walkIds=function(e){var t=this;return this.walk(function(n){if(n.type===i.ID)return e.call(t,n)})},t.prototype.walkNesting=function(e){var t=this;return this.walk(function(n){if(n.type===i.NESTING)return e.call(t,n)})},t.prototype.walkPseudos=function(e){var t=this;return this.walk(function(n){if(n.type===i.PSEUDO)return e.call(t,n)})},t.prototype.walkTags=function(e){var t=this;return this.walk(function(n){if(n.type===i.TAG)return e.call(t,n)})},t.prototype.walkUniversals=function(e){var t=this;return this.walk(function(n){if(n.type===i.UNIVERSAL)return e.call(t,n)})},t.prototype.split=function(e){var t=this,n=[];return this.reduce(function(r,i,a){var o=e.call(t,i);return n.push(i),o?(r.push(n),n=[]):a===t.length-1&&r.push(n),r},[])},t.prototype.map=function(e){return this.nodes.map(e)},t.prototype.reduce=function(e,t){return this.nodes.reduce(e,t)},t.prototype.every=function(e){return this.nodes.every(e)},t.prototype.some=function(e){return this.nodes.some(e)},t.prototype.filter=function(e){return this.nodes.filter(e)},t.prototype.sort=function(e){return this.nodes.sort(e)},t.prototype.toString=function(){return this.map(String).join(``)},n(t,[{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}}]),t}(r.default),t.exports=e.default}}),un=s({"node_modules/postcss-selector-parser/dist/selectors/root.js"(e,t){d(),e.__esModule=!0;var n=i(ln()),r=cn();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function o(e,t){if(!e)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return t&&(typeof t==`object`||typeof t==`function`)?t:e}function s(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function, not `+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}e.default=function(e){s(t,e);function t(n){a(this,t);var i=o(this,e.call(this,n));return i.type=r.ROOT,i}return t.prototype.toString=function(){var e=this.reduce(function(e,t){var n=String(t);return n?e+n+`,`:``},``).slice(0,-1);return this.trailingComma?e+`,`:e},t}(n.default),t.exports=e.default}}),dn=s({"node_modules/postcss-selector-parser/dist/selectors/selector.js"(e,t){d(),e.__esModule=!0;var n=i(ln()),r=cn();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function o(e,t){if(!e)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return t&&(typeof t==`object`||typeof t==`function`)?t:e}function s(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function, not `+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}e.default=function(e){s(t,e);function t(n){a(this,t);var i=o(this,e.call(this,n));return i.type=r.SELECTOR,i}return t}(n.default),t.exports=e.default}}),fn=s({"node_modules/postcss-selector-parser/dist/selectors/namespace.js"(e,t){d(),e.__esModule=!0;var n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=i(sn());function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function o(e,t){if(!e)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return t&&(typeof t==`object`||typeof t==`function`)?t:e}function s(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function, not `+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}e.default=function(e){s(t,e);function t(){return a(this,t),o(this,e.apply(this,arguments))}return t.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join(``)},n(t,[{key:`ns`,get:function(){var e=this.namespace;return e?(typeof e==`string`?e:``)+`|`:``}}]),t}(r.default),t.exports=e.default}}),pn=s({"node_modules/postcss-selector-parser/dist/selectors/className.js"(e,t){d(),e.__esModule=!0;var n=i(fn()),r=cn();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function o(e,t){if(!e)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return t&&(typeof t==`object`||typeof t==`function`)?t:e}function s(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function, not `+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}e.default=function(e){s(t,e);function t(n){a(this,t);var i=o(this,e.call(this,n));return i.type=r.CLASS,i}return t.prototype.toString=function(){return[this.spaces.before,this.ns,String(`.`+this.value),this.spaces.after].join(``)},t}(n.default),t.exports=e.default}}),mn=s({"node_modules/postcss-selector-parser/dist/selectors/comment.js"(e,t){d(),e.__esModule=!0;var n=i(sn()),r=cn();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function o(e,t){if(!e)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return t&&(typeof t==`object`||typeof t==`function`)?t:e}function s(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function, not `+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}e.default=function(e){s(t,e);function t(n){a(this,t);var i=o(this,e.call(this,n));return i.type=r.COMMENT,i}return t}(n.default),t.exports=e.default}}),hn=s({"node_modules/postcss-selector-parser/dist/selectors/id.js"(e,t){d(),e.__esModule=!0;var n=i(fn()),r=cn();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function o(e,t){if(!e)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return t&&(typeof t==`object`||typeof t==`function`)?t:e}function s(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function, not `+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}e.default=function(e){s(t,e);function t(n){a(this,t);var i=o(this,e.call(this,n));return i.type=r.ID,i}return t.prototype.toString=function(){return[this.spaces.before,this.ns,String(`#`+this.value),this.spaces.after].join(``)},t}(n.default),t.exports=e.default}}),gn=s({"node_modules/postcss-selector-parser/dist/selectors/tag.js"(e,t){d(),e.__esModule=!0;var n=i(fn()),r=cn();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function o(e,t){if(!e)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return t&&(typeof t==`object`||typeof t==`function`)?t:e}function s(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function, not `+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}e.default=function(e){s(t,e);function t(n){a(this,t);var i=o(this,e.call(this,n));return i.type=r.TAG,i}return t}(n.default),t.exports=e.default}}),_n=s({"node_modules/postcss-selector-parser/dist/selectors/string.js"(e,t){d(),e.__esModule=!0;var n=i(sn()),r=cn();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function o(e,t){if(!e)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return t&&(typeof t==`object`||typeof t==`function`)?t:e}function s(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function, not `+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}e.default=function(e){s(t,e);function t(n){a(this,t);var i=o(this,e.call(this,n));return i.type=r.STRING,i}return t}(n.default),t.exports=e.default}}),vn=s({"node_modules/postcss-selector-parser/dist/selectors/pseudo.js"(e,t){d(),e.__esModule=!0;var n=i(ln()),r=cn();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function o(e,t){if(!e)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return t&&(typeof t==`object`||typeof t==`function`)?t:e}function s(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function, not `+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}e.default=function(e){s(t,e);function t(n){a(this,t);var i=o(this,e.call(this,n));return i.type=r.PSEUDO,i}return t.prototype.toString=function(){var e=this.length?`(`+this.map(String).join(`,`)+`)`:``;return[this.spaces.before,String(this.value),e,this.spaces.after].join(``)},t}(n.default),t.exports=e.default}}),yn=s({"node_modules/postcss-selector-parser/dist/selectors/attribute.js"(e,t){d(),e.__esModule=!0;var n=i(fn()),r=cn();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function o(e,t){if(!e)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return t&&(typeof t==`object`||typeof t==`function`)?t:e}function s(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function, not `+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}e.default=function(e){s(t,e);function t(n){a(this,t);var i=o(this,e.call(this,n));return i.type=r.ATTRIBUTE,i.raws={},i}return t.prototype.toString=function(){var e=[this.spaces.before,`[`,this.ns,this.attribute];return this.operator&&e.push(this.operator),this.value&&e.push(this.value),this.raws.insensitive?e.push(this.raws.insensitive):this.insensitive&&e.push(` i`),e.push(`]`),e.concat(this.spaces.after).join(``)},t}(n.default),t.exports=e.default}}),bn=s({"node_modules/postcss-selector-parser/dist/selectors/universal.js"(e,t){d(),e.__esModule=!0;var n=i(fn()),r=cn();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function o(e,t){if(!e)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return t&&(typeof t==`object`||typeof t==`function`)?t:e}function s(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function, not `+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}e.default=function(e){s(t,e);function t(n){a(this,t);var i=o(this,e.call(this,n));return i.type=r.UNIVERSAL,i.value=`*`,i}return t}(n.default),t.exports=e.default}}),xn=s({"node_modules/postcss-selector-parser/dist/selectors/combinator.js"(e,t){d(),e.__esModule=!0;var n=i(sn()),r=cn();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function o(e,t){if(!e)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return t&&(typeof t==`object`||typeof t==`function`)?t:e}function s(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function, not `+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}e.default=function(e){s(t,e);function t(n){a(this,t);var i=o(this,e.call(this,n));return i.type=r.COMBINATOR,i}return t}(n.default),t.exports=e.default}}),Sn=s({"node_modules/postcss-selector-parser/dist/selectors/nesting.js"(e,t){d(),e.__esModule=!0;var n=i(sn()),r=cn();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function o(e,t){if(!e)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return t&&(typeof t==`object`||typeof t==`function`)?t:e}function s(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function, not `+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}e.default=function(e){s(t,e);function t(n){a(this,t);var i=o(this,e.call(this,n));return i.type=r.NESTING,i.value=`&`,i}return t}(n.default),t.exports=e.default}}),Cn=s({"node_modules/postcss-selector-parser/dist/sortAscending.js"(e,t){d(),e.__esModule=!0,e.default=n;function n(e){return e.sort(function(e,t){return e-t})}t.exports=e.default}}),wn=s({"node_modules/postcss-selector-parser/dist/tokenize.js"(e,t){d(),e.__esModule=!0,e.default=O;var n=39,r=34,i=92,a=47,o=10,s=32,c=12,l=9,u=13,f=43,p=62,m=126,h=124,g=44,_=40,v=41,y=91,b=93,x=59,S=42,C=58,w=38,T=64,E=/[ \n\t\r\{\(\)'"\\;/]/g,D=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function O(e){for(var t=[],d=e.css.valueOf(),O=void 0,k=void 0,A=void 0,j=void 0,M=void 0,N=void 0,P=void 0,F=void 0,I=void 0,L=void 0,R=void 0,z=d.length,B=-1,V=1,H=0,U=function(t,n){if(e.safe)d+=n,k=d.length-1;else throw e.error(`Unclosed `+t,V,H-B,H)};H<z;){switch(O=d.charCodeAt(H),O===o&&(B=H,V+=1),O){case o:case s:case l:case u:case c:k=H;do k+=1,O=d.charCodeAt(k),O===o&&(B=k,V+=1);while(O===s||O===o||O===l||O===u||O===c);t.push([`space`,d.slice(H,k),V,H-B,H]),H=k-1;break;case f:case p:case m:case h:k=H;do k+=1,O=d.charCodeAt(k);while(O===f||O===p||O===m||O===h);t.push([`combinator`,d.slice(H,k),V,H-B,H]),H=k-1;break;case S:t.push([`*`,`*`,V,H-B,H]);break;case w:t.push([`&`,`&`,V,H-B,H]);break;case g:t.push([`,`,`,`,V,H-B,H]);break;case y:t.push([`[`,`[`,V,H-B,H]);break;case b:t.push([`]`,`]`,V,H-B,H]);break;case C:t.push([`:`,`:`,V,H-B,H]);break;case x:t.push([`;`,`;`,V,H-B,H]);break;case _:t.push([`(`,`(`,V,H-B,H]);break;case v:t.push([`)`,`)`,V,H-B,H]);break;case n:case r:A=O===n?`'`:`"`,k=H;do for(L=!1,k=d.indexOf(A,k+1),k===-1&&U(`quote`,A),R=k;d.charCodeAt(R-1)===i;)--R,L=!L;while(L);t.push([`string`,d.slice(H,k+1),V,H-B,V,k-B,H]),H=k;break;case T:E.lastIndex=H+1,E.test(d),k=E.lastIndex===0?d.length-1:E.lastIndex-2,t.push([`at-word`,d.slice(H,k+1),V,H-B,V,k-B,H]),H=k;break;case i:for(k=H,P=!0;d.charCodeAt(k+1)===i;)k+=1,P=!P;O=d.charCodeAt(k+1),P&&O!==a&&O!==s&&O!==o&&O!==l&&O!==u&&O!==c&&(k+=1),t.push([`word`,d.slice(H,k+1),V,H-B,V,k-B,H]),H=k;break;default:O===a&&d.charCodeAt(H+1)===S?(k=d.indexOf(`*/`,H+2)+1,k===0&&U(`comment`,`*/`),N=d.slice(H,k+1),j=N.split(`
|
|
101
|
-
`),M=j.length-1,M>0?(F=V+M,I=k-j[M].length):(F=V,I=B),t.push([`comment`,N,V,H-B,F,k-I,H]),B=I,V=F,H=k):(D.lastIndex=H+1,D.test(d),k=D.lastIndex===0?d.length-1:D.lastIndex-2,t.push([`word`,d.slice(H,k+1),V,H-B,V,k-B,H]),H=k);break}H++}return t}t.exports=e.default}}),Tn=s({"node_modules/postcss-selector-parser/dist/parser.js"(e,t){d(),e.__esModule=!0;var n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=C(en()),i=C(tn()),a=C(nn()),o=C(un()),s=C(dn()),c=C(pn()),l=C(mn()),u=C(hn()),f=C(gn()),p=C(_n()),m=C(vn()),h=C(yn()),g=C(bn()),_=C(xn()),v=C(Sn()),y=C(Cn()),b=C(wn()),x=S(cn());function S(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function C(e){return e&&e.__esModule?e:{default:e}}function w(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}e.default=function(){function e(t){w(this,e),this.input=t,this.lossy=t.options.lossless===!1,this.position=0,this.root=new o.default;var n=new s.default;return this.root.append(n),this.current=n,this.lossy?this.tokens=(0,b.default)({safe:t.safe,css:t.css.trim()}):this.tokens=(0,b.default)(t),this.loop()}return e.prototype.attribute=function(){var e=``,t=void 0,n=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!==`]`;)e+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~e.indexOf(`]`)&&this.error(`Expected a closing square bracket.`);var r=e.split(/((?:[*~^$|]?=))([^]*)/),i=r[0].split(/(\|)/g),a={operator:r[1],value:r[2],source:{start:{line:n[2],column:n[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:n[4]};if(i.length>1?(i[0]===``&&(i[0]=!0),a.attribute=this.parseValue(i[2]),a.namespace=this.parseNamespace(i[0])):a.attribute=this.parseValue(r[0]),t=new h.default(a),r[2]){var o=r[2].split(/(\s+i\s*?)$/),s=o[0].trim();t.value=this.lossy?s:o[0],o[1]&&(t.insensitive=!0,this.lossy||(t.raws.insensitive=o[1])),t.quoted=s[0]===`'`||s[0]===`"`,t.raws.unquoted=t.quoted?s.slice(1,-1):s}this.newNode(t),this.position++},e.prototype.combinator=function(){if(this.currToken[1]===`|`)return this.namespace();for(var e=new _.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`?(e.spaces.before=this.parseSpace(this.currToken[1]),e.source.start.line=this.nextToken[2],e.source.start.column=this.nextToken[3],e.source.end.column=this.nextToken[3],e.source.end.line=this.nextToken[2],e.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]===`combinator`?e.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]===`combinator`?e.value=this.currToken[1]:this.currToken[0]===`space`&&(e.value=this.parseSpace(this.currToken[1],` `)),this.position++;return this.newNode(e)},e.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var e=new s.default;this.current.parent.append(e),this.current=e,this.position++},e.prototype.comment=function(){var e=new l.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(e),this.position++},e.prototype.error=function(e){throw new this.input.error(e)},e.prototype.missingBackslash=function(){return this.error(`Expected a backslash preceding the semicolon.`)},e.prototype.missingParenthesis=function(){return this.error(`Expected opening parenthesis.`)},e.prototype.missingSquareBracket=function(){return this.error(`Expected opening square bracket.`)},e.prototype.namespace=function(){var e=this.prevToken&&this.prevToken[1]||!0;if(this.nextToken[0]===`word`)return this.position++,this.word(e);if(this.nextToken[0]===`*`)return this.position++,this.universal(e)},e.prototype.nesting=function(){this.newNode(new v.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++},e.prototype.parentheses=function(){var e=this.current.last;if(e&&e.type===x.PSEUDO){var t=new s.default,n=this.current;e.append(t),this.current=t;var r=1;for(this.position++;this.position<this.tokens.length&&r;)this.currToken[0]===`(`&&r++,this.currToken[0]===`)`&&r--,r?this.parse():(t.parent.source.end.line=this.currToken[2],t.parent.source.end.column=this.currToken[3],this.position++);r&&this.error(`Expected closing parenthesis.`),this.current=n}else{var i=1;for(this.position++,e.value+=`(`;this.position<this.tokens.length&&i;)this.currToken[0]===`(`&&i++,this.currToken[0]===`)`&&i--,e.value+=this.parseParenthesisToken(this.currToken),this.position++;i&&this.error(`Expected closing parenthesis.`)}},e.prototype.pseudo=function(){for(var e=this,t=``,n=this.currToken;this.currToken&&this.currToken[0]===`:`;)t+=this.currToken[1],this.position++;if(!this.currToken)return this.error(`Expected pseudo-class or pseudo-element`);if(this.currToken[0]===`word`){var r=void 0;this.splitWord(!1,function(i,a){t+=i,r=new m.default({value:t,source:{start:{line:n[2],column:n[3]},end:{line:e.currToken[4],column:e.currToken[5]}},sourceIndex:n[4]}),e.newNode(r),a>1&&e.nextToken&&e.nextToken[0]===`(`&&e.error(`Misplaced parenthesis.`)})}else this.error(`Unexpected "`+this.currToken[0]+`" found.`)},e.prototype.space=function(){var e=this.currToken;this.position===0||this.prevToken[0]===`,`||this.prevToken[0]===`(`?(this.spaces=this.parseSpace(e[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===`,`||this.nextToken[0]===`)`?(this.current.last.spaces.after=this.parseSpace(e[1]),this.position++):this.combinator()},e.prototype.string=function(){var e=this.currToken;this.newNode(new p.default({value:this.currToken[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++},e.prototype.universal=function(e){var t=this.nextToken;if(t&&t[1]===`|`)return this.position++,this.namespace();this.newNode(new g.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]}),e),this.position++},e.prototype.splitWord=function(e,t){for(var n=this,o=this.nextToken,s=this.currToken[1];o&&o[0]===`word`;){this.position++;var l=this.currToken[1];if(s+=l,l.lastIndexOf(`\\`)===l.length-1){var d=this.nextToken;d&&d[0]===`space`&&(s+=this.parseSpace(d[1],` `),this.position++)}o=this.nextToken}var p=(0,i.default)(s,`.`),m=(0,i.default)(s,`#`),h=(0,i.default)(s,`#{`);h.length&&(m=m.filter(function(e){return!~h.indexOf(e)}));var g=(0,y.default)((0,a.default)((0,r.default)([[0],p,m])));g.forEach(function(r,i){var a=g[i+1]||s.length,o=s.slice(r,a);if(i===0&&t)return t.call(n,o,g.length);var l=void 0;l=~p.indexOf(r)?new c.default({value:o.slice(1),source:{start:{line:n.currToken[2],column:n.currToken[3]+r},end:{line:n.currToken[4],column:n.currToken[3]+(a-1)}},sourceIndex:n.currToken[6]+g[i]}):~m.indexOf(r)?new u.default({value:o.slice(1),source:{start:{line:n.currToken[2],column:n.currToken[3]+r},end:{line:n.currToken[4],column:n.currToken[3]+(a-1)}},sourceIndex:n.currToken[6]+g[i]}):new f.default({value:o,source:{start:{line:n.currToken[2],column:n.currToken[3]+r},end:{line:n.currToken[4],column:n.currToken[3]+(a-1)}},sourceIndex:n.currToken[6]+g[i]}),n.newNode(l,e)}),this.position++},e.prototype.word=function(e){var t=this.nextToken;return t&&t[1]===`|`?(this.position++,this.namespace()):this.splitWord(e)},e.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},e.prototype.parse=function(e){switch(this.currToken[0]){case`space`:this.space();break;case`comment`:this.comment();break;case`(`:this.parentheses();break;case`)`:e&&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}},e.prototype.parseNamespace=function(e){if(this.lossy&&typeof e==`string`){var t=e.trim();return t.length?t:!0}return e},e.prototype.parseSpace=function(e,t){return this.lossy?t||``:e},e.prototype.parseValue=function(e){return this.lossy&&e&&typeof e==`string`?e.trim():e},e.prototype.parseParenthesisToken=function(e){return this.lossy?e[0]===`space`?this.parseSpace(e[1],` `):this.parseValue(e[1]):e[1]},e.prototype.newNode=function(e,t){return t&&(e.namespace=this.parseNamespace(t)),this.spaces&&=(e.spaces.before=this.spaces,``),this.current.append(e)},n(e,[{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]}}]),e}(),t.exports=e.default}}),En=s({"node_modules/postcss-selector-parser/dist/processor.js"(e,t){d(),e.__esModule=!0;var n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=i(Tn());function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}e.default=function(){function e(t){return a(this,e),this.func=t||function(){},this}return e.prototype.process=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new r.default({css:e,error:function(e){throw Error(e)},options:t});return this.res=n,this.func(n),this},n(e,[{key:`result`,get:function(){return String(this.res)}}]),e}(),t.exports=e.default}}),Dn=s({"node_modules/postcss-selector-parser/dist/index.js"(e,t){d(),e.__esModule=!0;var n=v(En()),r=v(yn()),i=v(pn()),a=v(xn()),o=v(mn()),s=v(hn()),c=v(Sn()),l=v(vn()),u=v(un()),f=v(dn()),p=v(_n()),m=v(gn()),h=v(bn()),g=_(cn());function _(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function v(e){return e&&e.__esModule?e:{default:e}}var y=function(e){return new n.default(e)};y.attribute=function(e){return new r.default(e)},y.className=function(e){return new i.default(e)},y.combinator=function(e){return new a.default(e)},y.comment=function(e){return new o.default(e)},y.id=function(e){return new s.default(e)},y.nesting=function(e){return new c.default(e)},y.pseudo=function(e){return new l.default(e)},y.root=function(e){return new u.default(e)},y.selector=function(e){return new f.default(e)},y.string=function(e){return new p.default(e)},y.tag=function(e){return new m.default(e)},y.universal=function(e){return new h.default(e)},Object.keys(g).forEach(function(e){e!==`__esModule`&&(y[e]=g[e])}),e.default=y,t.exports=e.default}}),On=s({"node_modules/postcss-media-query-parser/dist/nodes/Node.js"(e){d(),Object.defineProperty(e,`__esModule`,{value:!0});function t(e){this.after=e.after,this.before=e.before,this.type=e.type,this.value=e.value,this.sourceIndex=e.sourceIndex}e.default=t}}),kn=s({"node_modules/postcss-media-query-parser/dist/nodes/Container.js"(e){d(),Object.defineProperty(e,`__esModule`,{value:!0});var t=n(On());function n(e){return e&&e.__esModule?e:{default:e}}function r(e){var t=this;this.constructor(e),this.nodes=e.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(e){e.parent=t})}r.prototype=Object.create(t.default.prototype),r.constructor=t.default,r.prototype.walk=function(e,t){for(var n=typeof e==`string`||e instanceof RegExp,r=n?t:e,i=typeof e==`string`?new RegExp(e):e,a=0;a<this.nodes.length;a++){var o=this.nodes[a];if((!n||i.test(o.type))&&r&&r(o,a,this.nodes)===!1||o.nodes&&o.walk(e,t)===!1)return!1}return!0},r.prototype.each=function(){for(var e=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],t=0;t<this.nodes.length;t++){var n=this.nodes[t];if(e(n,t,this.nodes)===!1)return!1}return!0},e.default=r}}),An=s({"node_modules/postcss-media-query-parser/dist/parsers.js"(e){d(),Object.defineProperty(e,`__esModule`,{value:!0}),e.parseMediaFeature=i,e.parseMediaQuery=a,e.parseMediaList=o;var t=r(On()),n=r(kn());function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=arguments.length<=1||arguments[1]===void 0?0:arguments[1],n=[{mode:`normal`,character:null}],r=[],i=0,a=``,o=null,s=null,c=t,l=e;e[0]===`(`&&e[e.length-1]===`)`&&(l=e.substring(1,e.length-1),c++);for(var u=0;u<l.length;u++){var d=l[u];if((d===`'`||d===`"`)&&(n[i].isCalculationEnabled===!0?(n.push({mode:`string`,isCalculationEnabled:!1,character:d}),i++):n[i].mode===`string`&&n[i].character===d&&l[u-1]!==`\\`&&(n.pop(),i--)),d===`{`?(n.push({mode:`interpolation`,isCalculationEnabled:!0}),i++):d===`}`&&(n.pop(),i--),n[i].mode===`normal`&&d===`:`){var f=l.substring(u+1);s={type:`value`,before:/^(\s*)/.exec(f)[1],after:/(\s*)$/.exec(f)[1],value:f.trim()},s.sourceIndex=s.before.length+u+1+c,o={type:`colon`,sourceIndex:u+c,after:s.before,value:`:`};break}a+=d}return a={type:`media-feature`,before:/^(\s*)/.exec(a)[1],after:/(\s*)$/.exec(a)[1],value:a.trim()},a.sourceIndex=a.before.length+c,r.push(a),o!==null&&(o.before=a.after,r.push(o)),s!==null&&r.push(s),r}function a(e){var r=arguments.length<=1||arguments[1]===void 0?0:arguments[1],a=[],o=0,s=!1,c=void 0;function l(){return{before:``,after:``,value:``}}c=l();for(var u=0;u<e.length;u++){var d=e[u];s?(c.value+=d,(d===`{`||d===`(`)&&o++,(d===`)`||d===`}`)&&o--):d.search(/\s/)===-1?(d===`(`&&(c.type=`media-feature-expression`,o++),c.value=d,c.sourceIndex=r+u,s=!0):c.before+=d,s&&o===0&&(d===`)`||u===e.length-1||e[u+1].search(/\s/)!==-1)&&([`not`,`only`,`and`].indexOf(c.value)!==-1&&(c.type=`keyword`),c.type===`media-feature-expression`&&(c.nodes=i(c.value,c.sourceIndex)),a.push(Array.isArray(c.nodes)?new n.default(c):new t.default(c)),c=l(),s=!1)}for(var f=0;f<a.length;f++)if(c=a[f],f>0&&(a[f-1].after=c.before),c.type===void 0){if(f>0){if(a[f-1].type===`media-feature-expression`){c.type=`keyword`;continue}if(a[f-1].value===`not`||a[f-1].value===`only`){c.type=`media-type`;continue}if(a[f-1].value===`and`){c.type=`media-feature-expression`;continue}a[f-1].type===`media-type`&&(a[f+1]?c.type=a[f+1].type===`media-feature-expression`?`keyword`:`media-feature-expression`:c.type=`media-feature-expression`)}if(f===0){if(!a[f+1]){c.type=`media-type`;continue}if(a[f+1]&&(a[f+1].type===`media-feature-expression`||a[f+1].type===`keyword`)){c.type=`media-type`;continue}if(a[f+2]){if(a[f+2].type===`media-feature-expression`){c.type=`media-type`,a[f+1].type=`keyword`;continue}if(a[f+2].type===`keyword`){c.type=`keyword`,a[f+1].type=`media-type`;continue}}if(a[f+3]&&a[f+3].type===`media-feature-expression`){c.type=`keyword`,a[f+1].type=`media-type`,a[f+2].type=`keyword`;continue}}}return a}function o(e){var r=[],i=0,o=0,s=/^(\s*)url\s*\(/.exec(e);if(s!==null){for(var c=s[0].length,l=1;l>0;){var u=e[c];u===`(`&&l++,u===`)`&&l--,c++}r.unshift(new t.default({type:`url`,value:e.substring(0,c).trim(),sourceIndex:s[1].length,before:s[1],after:/^(\s*)/.exec(e.substring(c))[1]})),i=c}for(var d=i;d<e.length;d++){var f=e[d];if(f===`(`&&o++,f===`)`&&o--,o===0&&f===`,`){var p=e.substring(i,d),m=/^(\s*)/.exec(p)[1];r.push(new n.default({type:`media-query`,value:p.trim(),sourceIndex:i+m.length,nodes:a(p,i),before:m,after:/(\s*)$/.exec(p)[1]})),i=d+1}}var h=e.substring(i),g=/^(\s*)/.exec(h)[1];return r.push(new n.default({type:`media-query`,value:h.trim(),sourceIndex:i+g.length,nodes:a(h,i),before:g,after:/(\s*)$/.exec(h)[1]})),r}}}),jn=s({"node_modules/postcss-media-query-parser/dist/index.js"(e){d(),Object.defineProperty(e,`__esModule`,{value:!0}),e.default=i;var t=r(kn()),n=An();function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return new t.default({nodes:(0,n.parseMediaList)(e),type:`media-query-list`,value:e.trim()})}}}),Mn={};c(Mn,{basename:()=>Q,default:()=>Kn,delimiter:()=>Gn,dirname:()=>zn,extname:()=>Bn,isAbsolute:()=>In,join:()=>Ln,normalize:()=>Fn,relative:()=>Rn,resolve:()=>Pn,sep:()=>Wn});function Nn(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];i===`.`?e.splice(r,1):i===`..`?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;)e.unshift(`..`);return e}function Pn(){for(var e=``,t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:`/`;if(typeof r!=`string`)throw TypeError(`Arguments to path.resolve must be strings`);r&&(e=r+`/`+e,t=r.charAt(0)===`/`)}return e=Nn(Vn(e.split(`/`),function(e){return!!e}),!t).join(`/`),(t?`/`:``)+e||`.`}function Fn(e){var t=In(e),n=qn(e,-1)===`/`;return e=Nn(Vn(e.split(`/`),function(e){return!!e}),!t).join(`/`),!e&&!t&&(e=`.`),e&&n&&(e+=`/`),(t?`/`:``)+e}function In(e){return e.charAt(0)===`/`}function Ln(){return Fn(Vn(Array.prototype.slice.call(arguments,0),function(e,t){if(typeof e!=`string`)throw TypeError(`Arguments to path.join must be strings`);return e}).join(`/`))}function Rn(e,t){e=Pn(e).substr(1),t=Pn(t).substr(1);function n(e){for(var t=0;t<e.length&&e[t]===``;t++);for(var n=e.length-1;n>=0&&e[n]===``;n--);return t>n?[]:e.slice(t,n-t+1)}for(var r=n(e.split(`/`)),i=n(t.split(`/`)),a=Math.min(r.length,i.length),o=a,s=0;s<a;s++)if(r[s]!==i[s]){o=s;break}for(var c=[],s=o;s<r.length;s++)c.push(`..`);return c=c.concat(i.slice(o)),c.join(`/`)}function zn(e){var t=Un(e),n=t[0],r=t[1];return!n&&!r?`.`:(r&&=r.substr(0,r.length-1),n+r)}function Q(e,t){var n=Un(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n}function Bn(e){return Un(e)[3]}function Vn(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}var Hn,Un,Wn,Gn,Kn,qn,Jn=o({"node-modules-polyfills:path"(){d(),Hn=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Un=function(e){return Hn.exec(e).slice(1)},Wn=`/`,Gn=`:`,Kn={extname:Bn,basename:Q,dirname:zn,sep:Wn,delimiter:Gn,relative:Rn,join:Ln,isAbsolute:In,normalize:Fn,resolve:Pn},qn=`ab`.substr(-1)===`b`?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}}),Yn=s({"node-modules-polyfills-commonjs:path"(e,t){d();var n=(Jn(),u(Mn));if(n&&n.default){t.exports=n.default;for(let e in n)t.exports[e]=n[e]}else n&&(t.exports=n)}}),Xn=s({"node_modules/picocolors/picocolors.browser.js"(e,t){d();var n=String,r=function(){return{isColorSupported:!1,reset:n,bold:n,dim:n,italic:n,underline:n,inverse:n,hidden:n,strikethrough:n,black:n,red:n,green:n,yellow:n,blue:n,magenta:n,cyan:n,white:n,gray:n,bgBlack:n,bgRed:n,bgGreen:n,bgYellow:n,bgBlue:n,bgMagenta:n,bgCyan:n,bgWhite:n}};t.exports=r(),t.exports.createColors=r}}),Zn=s({"(disabled):node_modules/postcss/lib/terminal-highlight"(){d()}}),Qn=s({"node_modules/postcss/lib/css-syntax-error.js"(e,t){d(),e.__esModule=!0,e.default=void 0;var n=i(Xn()),r=i(Zn());function i(e){return e&&e.__esModule?e:{default:e}}function a(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function s(e){var t=typeof Map==`function`?new Map:void 0;return s=function(e){if(e===null||!u(e))return e;if(typeof e!=`function`)throw TypeError(`Super expression must either be null or a function`);if(typeof t<`u`){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return c(e,arguments,p(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),f(n,e)},s(e)}function c(e,t,n){return c=l()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&f(i,n.prototype),i},c.apply(null,arguments)}function l(){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 u(e){return Function.toString.call(e).indexOf(`[native code]`)!==-1}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}e.default=function(e){o(t,e);function t(n,r,i,o,s,c){var l;return l=e.call(this,n)||this,l.name=`CssSyntaxError`,l.reason=n,s&&(l.file=s),o&&(l.source=o),c&&(l.plugin=c),typeof r<`u`&&typeof i<`u`&&(l.line=r,l.column=i),l.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(a(l),t),l}var i=t.prototype;return i.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},i.showSourceCode=function(e){var t=this;if(!this.source)return``;var i=this.source;r.default&&(typeof e>`u`&&(e=n.default.isColorSupported),e&&(i=(0,r.default)(i)));var a=i.split(/\r?\n/),o=Math.max(this.line-3,0),s=Math.min(this.line+2,a.length),c=String(s).length;function l(t){return e&&n.default.red?n.default.red(n.default.bold(t)):t}function u(t){return e&&n.default.gray?n.default.gray(t):t}return a.slice(o,s).map(function(e,n){var r=o+1+n,i=` `+(` `+r).slice(-c)+` | `;if(r===t.line){var a=u(i.replace(/\d/g,` `))+e.slice(0,t.column-1).replace(/[^\t]/g,` `);return l(`>`)+u(i)+e+`
|
|
102
|
-
`+a+l(`^`)}return` `+u(i)+e}).join(`
|
|
103
|
-
`)},i.toString=function(){var e=this.showSourceCode();return e&&=`
|
|
104
|
-
|
|
105
|
-
`+e+`
|
|
106
|
-
`,this.name+`: `+this.message+e},t}(s(Error)),t.exports=e.default}}),$n=s({"node_modules/postcss/lib/previous-map.js"(e,t){d(),t.exports=class{}}}),er=s({"node_modules/postcss/lib/input.js"(e,t){d(),e.__esModule=!0,e.default=void 0;var n=a(Yn()),r=a(Qn()),i=a($n());function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}var c=0;e.default=function(){function e(e,t){if(t===void 0&&(t={}),e===null||typeof e>`u`||typeof e==`object`&&!e.toString)throw Error(`PostCSS received `+e+` instead of CSS string`);this.css=e.toString(),this.css[0]===``||this.css[0]===``?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(/^\w+:\/\//.test(t.from)||n.default.isAbsolute(t.from)?this.file=t.from:this.file=n.default.resolve(t.from));var r=new i.default(this.css,t);if(r.text){this.map=r;var a=r.consumer().file;!this.file&&a&&(this.file=this.mapResolve(a))}this.file||(c+=1,this.id=`<input css `+c+`>`),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,n,i){i===void 0&&(i={});var a,o=this.origin(t,n);return a=o?new r.default(e,o.line,o.column,o.source,o.file,i.plugin):new r.default(e,t,n,this.css,this.file,i.plugin),a.input={line:t,column:n,source:this.css},this.file&&(a.input.file=this.file),a},t.origin=function(e,t){if(!this.map)return!1;var n=this.map.consumer(),r=n.originalPositionFor({line:e,column:t});if(!r.source)return!1;var i={file:this.mapResolve(r.source),line:r.line,column:r.column},a=n.sourceContentFor(r.source);return a&&(i.source=a),i},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:n.default.resolve(this.map.consumer().sourceRoot||`.`,e)},s(e,[{key:`from`,get:function(){return this.file||this.id}}]),e}(),t.exports=e.default}}),tr=s({"node_modules/postcss/lib/stringifier.js"(e,t){d(),e.__esModule=!0,e.default=void 0;var n={colon:`: `,indent:` `,beforeDecl:`
|
|
107
|
-
`,beforeRule:`
|
|
108
|
-
`,beforeOpen:` `,beforeClose:`
|
|
109
|
-
`,beforeComment:`
|
|
110
|
-
`,after:`
|
|
111
|
-
`,emptyBody:``,commentLeft:` `,commentRight:` `,semicolon:!1};function r(e){return e[0].toUpperCase()+e.slice(1)}e.default=function(){function e(e){this.builder=e}var t=e.prototype;return t.stringify=function(e,t){this[e.type](e,t)},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.comment=function(e){var t=this.raw(e,`left`,`commentLeft`),n=this.raw(e,`right`,`commentRight`);this.builder(`/*`+t+e.text+n+`*/`,e)},t.decl=function(e,t){var n=this.raw(e,`between`,`colon`),r=e.prop+n+this.rawValue(e,`value`);e.important&&(r+=e.raws.important||` !important`),t&&(r+=`;`),this.builder(r,e)},t.rule=function(e){this.block(e,this.rawValue(e,`selector`)),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,`end`)},t.atrule=function(e,t){var n=`@`+e.name,r=e.params?this.rawValue(e,`params`):``;if(typeof e.raws.afterName<`u`?n+=e.raws.afterName:r&&(n+=` `),e.nodes)this.block(e,n+r);else{var i=(e.raws.between||``)+(t?`;`:``);this.builder(n+r+i,e)}},t.body=function(e){for(var t=e.nodes.length-1;t>0&&e.nodes[t].type===`comment`;)--t;for(var n=this.raw(e,`semicolon`),r=0;r<e.nodes.length;r++){var i=e.nodes[r],a=this.raw(i,`before`);a&&this.builder(a),this.stringify(i,t!==r||n)}},t.block=function(e,t){var n=this.raw(e,`between`,`beforeOpen`);this.builder(t+n+`{`,e,`start`);var r;e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,`after`)):r=this.raw(e,`after`,`emptyBody`),r&&this.builder(r),this.builder(`}`,e,`end`)},t.raw=function(e,t,i){var a;if(i||=t,t&&(a=e.raws[t],typeof a<`u`))return a;var o=e.parent;if(i===`before`&&(!o||o.type===`root`&&o.first===e))return``;if(!o)return n[i];var s=e.root();if(s.rawCache||={},typeof s.rawCache[i]<`u`)return s.rawCache[i];if(i===`before`||i===`after`)return this.beforeAfter(e,i);var c=`raw`+r(i);return this[c]?a=this[c](s,e):s.walk(function(e){if(a=e.raws[t],typeof a<`u`)return!1}),typeof a>`u`&&(a=n[i]),s.rawCache[i]=a,a},t.rawSemicolon=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length&&e.last.type===`decl`&&(t=e.raws.semicolon,typeof t<`u`))return!1}),t},t.rawEmptyBody=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length===0&&(t=e.raws.after,typeof t<`u`))return!1}),t},t.rawIndent=function(e){if(e.raws.indent)return e.raws.indent;var t;return e.walk(function(n){var r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&typeof n.raws.before<`u`){var i=n.raws.before.split(`
|
|
112
|
-
`);return t=i[i.length-1],t=t.replace(/[^\s]/g,``),!1}}),t},t.rawBeforeComment=function(e,t){var n;return e.walkComments(function(e){if(typeof e.raws.before<`u`)return n=e.raws.before,n.indexOf(`
|
|
113
|
-
`)!==-1&&(n=n.replace(/[^\n]+$/,``)),!1}),typeof n>`u`?n=this.raw(t,null,`beforeDecl`):n&&=n.replace(/[^\s]/g,``),n},t.rawBeforeDecl=function(e,t){var n;return e.walkDecls(function(e){if(typeof e.raws.before<`u`)return n=e.raws.before,n.indexOf(`
|
|
114
|
-
`)!==-1&&(n=n.replace(/[^\n]+$/,``)),!1}),typeof n>`u`?n=this.raw(t,null,`beforeRule`):n&&=n.replace(/[^\s]/g,``),n},t.rawBeforeRule=function(e){var t;return e.walk(function(n){if(n.nodes&&(n.parent!==e||e.first!==n)&&typeof n.raws.before<`u`)return t=n.raws.before,t.indexOf(`
|
|
115
|
-
`)!==-1&&(t=t.replace(/[^\n]+$/,``)),!1}),t&&=t.replace(/[^\s]/g,``),t},t.rawBeforeClose=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length>0&&typeof e.raws.after<`u`)return t=e.raws.after,t.indexOf(`
|
|
116
|
-
`)!==-1&&(t=t.replace(/[^\n]+$/,``)),!1}),t&&=t.replace(/[^\s]/g,``),t},t.rawBeforeOpen=function(e){var t;return e.walk(function(e){if(e.type!==`decl`&&(t=e.raws.between,typeof t<`u`))return!1}),t},t.rawColon=function(e){var t;return e.walkDecls(function(e){if(typeof e.raws.between<`u`)return t=e.raws.between.replace(/[^\s:]/g,``),!1}),t},t.beforeAfter=function(e,t){for(var n=e.type===`decl`?this.raw(e,null,`beforeDecl`):e.type===`comment`?this.raw(e,null,`beforeComment`):t===`before`?this.raw(e,null,`beforeRule`):this.raw(e,null,`beforeClose`),r=e.parent,i=0;r&&r.type!==`root`;)i+=1,r=r.parent;if(n.indexOf(`
|
|
117
|
-
`)!==-1){var a=this.raw(e,null,`indent`);if(a.length)for(var o=0;o<i;o++)n+=a}return n},t.rawValue=function(e,t){var n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n},e}(),t.exports=e.default}}),nr=s({"node_modules/postcss/lib/stringify.js"(e,t){d(),e.__esModule=!0,e.default=void 0;var n=r(tr());function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){new n.default(t).stringify(e)}e.default=i,t.exports=e.default}}),rr=s({"node_modules/postcss/lib/node.js"(e,t){d(),e.__esModule=!0,e.default=void 0;var n=a(Qn()),r=a(tr()),i=a(nr());function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=new e.constructor;for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],a=typeof i;r===`parent`&&a===`object`?t&&(n[r]=t):r===`source`?n[r]=i:i instanceof Array?n[r]=i.map(function(e){return o(e,n)}):(a===`object`&&i!==null&&(i=o(i)),n[r]=i)}return n}e.default=function(){function e(e){for(var t in e===void 0&&(e={}),this.raws={},e)this[t]=e[t]}var t=e.prototype;return t.error=function(e,t){if(t===void 0&&(t={}),this.source){var r=this.positionBy(t);return this.source.input.error(e,r.line,r.column,t)}return new n.default(e)},t.warn=function(e,t,n){var r={node:this};for(var i in n)r[i]=n[i];return e.warn(t,r)},t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.toString=function(e){e===void 0&&(e=i.default),e.stringify&&(e=e.stringify);var t=``;return e(this,function(e){t+=e}),t},t.clone=function(e){e===void 0&&(e={});var t=o(this);for(var n in e)t[n]=e[n];return t},t.cloneBefore=function(e){e===void 0&&(e={});var t=this.clone(e);return this.parent.insertBefore(this,t),t},t.cloneAfter=function(e){e===void 0&&(e={});var t=this.clone(e);return this.parent.insertAfter(this,t),t},t.replaceWith=function(){if(this.parent){for(var e=[...arguments],t=0,n=e;t<n.length;t++){var r=n[t];this.parent.insertBefore(this,r)}this.remove()}return this},t.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},t.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},t.before=function(e){return this.parent.insertBefore(this,e),this},t.after=function(e){return this.parent.insertAfter(this,e),this},t.toJSON=function(){var e={};for(var t in this)if(this.hasOwnProperty(t)&&t!==`parent`){var n=this[t];n instanceof Array?e[t]=n.map(function(e){return typeof e==`object`&&e.toJSON?e.toJSON():e}):typeof n==`object`&&n.toJSON?e[t]=n.toJSON():e[t]=n}return e},t.raw=function(e,t){return new r.default().raw(this,e,t)},t.root=function(){for(var e=this;e.parent;)e=e.parent;return e},t.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},t.positionInside=function(e){for(var t=this.toString(),n=this.source.start.column,r=this.source.start.line,i=0;i<e;i++)t[i]===`
|
|
118
|
-
`?(n=1,r+=1):n+=1;return{line:r,column:n}},t.positionBy=function(e){var t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){var n=this.toString().indexOf(e.word);n!==-1&&(t=this.positionInside(n))}return t},e}(),t.exports=e.default}}),ir=s({"node_modules/postcss/lib/comment.js"(e,t){d(),e.__esModule=!0,e.default=void 0;var n=r(rr());function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}e.default=function(e){i(t,e);function t(t){var n;return n=e.call(this,t)||this,n.type=`comment`,n}return t}(n.default),t.exports=e.default}}),ar=s({"node_modules/postcss/lib/declaration.js"(e,t){d(),e.__esModule=!0,e.default=void 0;var n=r(rr());function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}e.default=function(e){i(t,e);function t(t){var n;return n=e.call(this,t)||this,n.type=`decl`,n}return t}(n.default),t.exports=e.default}}),$=s({"node_modules/postcss/lib/tokenize.js"(e,t){d(),e.__esModule=!0,e.default=E;var n=39,r=34,i=92,a=47,o=10,s=32,c=12,l=9,u=13,f=91,p=93,m=40,h=41,g=123,_=125,v=59,y=42,b=58,x=64,S=/[ \n\t\r\f{}()'"\\;/[\]#]/g,C=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,w=/.[\\/("'\n]/,T=/[a-f0-9]/i;function E(e,t){t===void 0&&(t={});var d=e.css.valueOf(),E=t.ignoreErrors,D,O,k,A,j,M,N,P,F,I,L,R,z,B,V=d.length,H=-1,U=1,W=0,G=[],K=[];function q(){return W}function ee(t){throw e.error(`Unclosed `+t,U,W-H)}function J(){return K.length===0&&W>=V}function te(e){if(K.length)return K.pop();if(!(W>=V)){var t=e?e.ignoreUnclosed:!1;switch(D=d.charCodeAt(W),(D===o||D===c||D===u&&d.charCodeAt(W+1)!==o)&&(H=W,U+=1),D){case o:case s:case l:case u:case c:O=W;do O+=1,D=d.charCodeAt(O),D===o&&(H=O,U+=1);while(D===s||D===o||D===l||D===u||D===c);B=[`space`,d.slice(W,O)],W=O-1;break;case f:case p:case g:case _:case b:case v:case h:var q=String.fromCharCode(D);B=[q,q,U,W-H];break;case m:if(R=G.length?G.pop()[1]:``,z=d.charCodeAt(W+1),R===`url`&&z!==n&&z!==r&&z!==s&&z!==o&&z!==l&&z!==c&&z!==u){O=W;do{if(I=!1,O=d.indexOf(`)`,O+1),O===-1)if(E||t){O=W;break}else ee(`bracket`);for(L=O;d.charCodeAt(L-1)===i;)--L,I=!I}while(I);B=[`brackets`,d.slice(W,O+1),U,W-H,U,O-H],W=O}else O=d.indexOf(`)`,W+1),M=d.slice(W,O+1),O===-1||w.test(M)?B=[`(`,`(`,U,W-H]:(B=[`brackets`,M,U,W-H,U,O-H],W=O);break;case n:case r:k=D===n?`'`:`"`,O=W;do{if(I=!1,O=d.indexOf(k,O+1),O===-1)if(E||t){O=W+1;break}else ee(`string`);for(L=O;d.charCodeAt(L-1)===i;)--L,I=!I}while(I);M=d.slice(W,O+1),A=M.split(`
|
|
119
|
-
`),j=A.length-1,j>0?(P=U+j,F=O-A[j].length):(P=U,F=H),B=[`string`,d.slice(W,O+1),U,W-H,P,O-F],H=F,U=P,W=O;break;case x:S.lastIndex=W+1,S.test(d),O=S.lastIndex===0?d.length-1:S.lastIndex-2,B=[`at-word`,d.slice(W,O+1),U,W-H,U,O-H],W=O;break;case i:for(O=W,N=!0;d.charCodeAt(O+1)===i;)O+=1,N=!N;if(D=d.charCodeAt(O+1),N&&D!==a&&D!==s&&D!==o&&D!==l&&D!==u&&D!==c&&(O+=1,T.test(d.charAt(O)))){for(;T.test(d.charAt(O+1));)O+=1;d.charCodeAt(O+1)===s&&(O+=1)}B=[`word`,d.slice(W,O+1),U,W-H,U,O-H],W=O;break;default:D===a&&d.charCodeAt(W+1)===y?(O=d.indexOf(`*/`,W+2)+1,O===0&&(E||t?O=d.length:ee(`comment`)),M=d.slice(W,O+1),A=M.split(`
|
|
120
|
-
`),j=A.length-1,j>0?(P=U+j,F=O-A[j].length):(P=U,F=H),B=[`comment`,M,U,W-H,P,O-F],H=F,U=P,W=O):(C.lastIndex=W+1,C.test(d),O=C.lastIndex===0?d.length-1:C.lastIndex-2,B=[`word`,d.slice(W,O+1),U,W-H,U,O-H],G.push(B),W=O);break}return W++,B}}function ne(e){K.push(e)}return{back:ne,nextToken:te,endOfFile:J,position:q}}t.exports=e.default}}),or=s({"node_modules/postcss/lib/parse.js"(e,t){d(),e.__esModule=!0,e.default=void 0;var n=i(vr()),r=i(er());function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var i=new r.default(e,t),a=new n.default(i);try{a.parse()}catch(e){throw e}return a.root}e.default=a,t.exports=e.default}}),sr=s({"node_modules/postcss/lib/list.js"(e,t){d(),e.__esModule=!0,e.default=void 0;var n={split:function(e,t,n){for(var r=[],i=``,a=!1,o=0,s=!1,c=!1,l=0;l<e.length;l++){var u=e[l];s?c?c=!1:u===`\\`?c=!0:u===s&&(s=!1):u===`"`||u===`'`?s=u:u===`(`?o+=1:u===`)`?o>0&&--o:o===0&&t.indexOf(u)!==-1&&(a=!0),a?(i!==``&&r.push(i.trim()),i=``,a=!1):i+=u}return(n||i!==``)&&r.push(i.trim()),r},space:function(e){return n.split(e,[` `,`
|
|
121
|
-
`,` `])},comma:function(e){return n.split(e,[`,`],!0)}};e.default=n,t.exports=e.default}}),cr=s({"node_modules/postcss/lib/rule.js"(e,t){d(),e.__esModule=!0,e.default=void 0;var n=i(lr()),r=i(sr());function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}e.default=function(e){s(t,e);function t(t){var n;return n=e.call(this,t)||this,n.type=`rule`,n.nodes||=[],n}return o(t,[{key:`selectors`,get:function(){return r.default.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:`,`+this.raw(`between`,`beforeOpen`);this.selector=e.join(n)}}]),t}(n.default),t.exports=e.default}}),lr=s({"node_modules/postcss/lib/container.js"(e,t){d(),e.__esModule=!0,e.default=void 0;var n=a(ar()),r=a(ir()),i=a(rr());function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n;if(typeof Symbol>`u`||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=s(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
122
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return n=e[Symbol.iterator](),n.next.bind(n)}function s(e,t){if(e){if(typeof e==`string`)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}}function c(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function f(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function p(e){return e.map(function(e){return e.nodes&&=p(e.nodes),delete e.source,e})}e.default=function(e){f(t,e);function t(){return e.apply(this,arguments)||this}var i=t.prototype;return i.push=function(e){return e.parent=this,this.nodes.push(e),this},i.each=function(e){this.lastEach||=0,this.indexes||={},this.lastEach+=1;var t=this.lastEach;if(this.indexes[t]=0,this.nodes){for(var n,r;this.indexes[t]<this.nodes.length&&(n=this.indexes[t],r=e(this.nodes[n],n),r!==!1);)this.indexes[t]+=1;return delete this.indexes[t],r}},i.walk=function(e){return this.each(function(t,n){var r;try{r=e(t,n)}catch(e){if(e.postcssNode=t,e.stack&&t.source&&/\n\s{4}at /.test(e.stack)){var i=t.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&`+i.input.from+`:`+i.start.line+`:`+i.start.column+`$&`)}throw e}return r!==!1&&t.walk&&(r=t.walk(e)),r})},i.walkDecls=function(e,t){return t?e instanceof RegExp?this.walk(function(n,r){if(n.type===`decl`&&e.test(n.prop))return t(n,r)}):this.walk(function(n,r){if(n.type===`decl`&&n.prop===e)return t(n,r)}):(t=e,this.walk(function(e,n){if(e.type===`decl`)return t(e,n)}))},i.walkRules=function(e,t){return t?e instanceof RegExp?this.walk(function(n,r){if(n.type===`rule`&&e.test(n.selector))return t(n,r)}):this.walk(function(n,r){if(n.type===`rule`&&n.selector===e)return t(n,r)}):(t=e,this.walk(function(e,n){if(e.type===`rule`)return t(e,n)}))},i.walkAtRules=function(e,t){return t?e instanceof RegExp?this.walk(function(n,r){if(n.type===`atrule`&&e.test(n.name))return t(n,r)}):this.walk(function(n,r){if(n.type===`atrule`&&n.name===e)return t(n,r)}):(t=e,this.walk(function(e,n){if(e.type===`atrule`)return t(e,n)}))},i.walkComments=function(e){return this.walk(function(t,n){if(t.type===`comment`)return e(t,n)})},i.append=function(){for(var e=[...arguments],t=0,n=e;t<n.length;t++)for(var r=n[t],i=this.normalize(r,this.last),a=o(i),s;!(s=a()).done;){var c=s.value;this.nodes.push(c)}return this},i.prepend=function(){var e=[...arguments];e=e.reverse();for(var t=o(e),n;!(n=t()).done;){for(var r=n.value,i=this.normalize(r,this.first,`prepend`).reverse(),a=o(i),s;!(s=a()).done;){var c=s.value;this.nodes.unshift(c)}for(var l in this.indexes)this.indexes[l]=this.indexes[l]+i.length}return this},i.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var n=o(this.nodes),r;!(r=n()).done;)r.value.cleanRaws(t)},i.insertBefore=function(e,t){e=this.index(e);for(var n=e===0?`prepend`:!1,r=this.normalize(t,this.nodes[e],n).reverse(),i=o(r),a;!(a=i()).done;){var s=a.value;this.nodes.splice(e,0,s)}var c;for(var l in this.indexes)c=this.indexes[l],e<=c&&(this.indexes[l]=c+r.length);return this},i.insertAfter=function(e,t){e=this.index(e);for(var n=this.normalize(t,this.nodes[e]).reverse(),r=o(n),i;!(i=r()).done;){var a=i.value;this.nodes.splice(e+1,0,a)}var s;for(var c in this.indexes)s=this.indexes[c],e<s&&(this.indexes[c]=s+n.length);return this},i.removeChild=function(e){e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1);var t;for(var n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this},i.removeAll=function(){for(var e=o(this.nodes),t;!(t=e()).done;){var n=t.value;n.parent=void 0}return this.nodes=[],this},i.replaceValues=function(e,t,n){return n||(n=t,t={}),this.walkDecls(function(r){t.props&&t.props.indexOf(r.prop)===-1||t.fast&&r.value.indexOf(t.fast)===-1||(r.value=r.value.replace(e,n))}),this},i.every=function(e){return this.nodes.every(e)},i.some=function(e){return this.nodes.some(e)},i.index=function(e){return typeof e==`number`?e:this.nodes.indexOf(e)},i.normalize=function(e,t){var i=this;if(typeof e==`string`)e=p(or()(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(var a=o(e),s;!(s=a()).done;){var c=s.value;c.parent&&c.parent.removeChild(c,`ignore`)}}else if(e.type===`root`){e=e.nodes.slice(0);for(var l=o(e),u;!(u=l()).done;){var d=u.value;d.parent&&d.parent.removeChild(d,`ignore`)}}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>`u`)throw Error(`Value field is missed in node creation`);typeof e.value!=`string`&&(e.value=String(e.value)),e=[new n.default(e)]}else if(e.selector)e=[new(cr())(e)];else if(e.name)e=[new(ur())(e)];else if(e.text)e=[new r.default(e)];else throw Error(`Unknown node type in node creation`);return e.map(function(e){return e.parent&&e.parent.removeChild(e),typeof e.raws.before>`u`&&t&&typeof t.raws.before<`u`&&(e.raws.before=t.raws.before.replace(/[^\s]/g,``)),e.parent=i,e})},u(t,[{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]}}]),t}(i.default),t.exports=e.default}}),ur=s({"node_modules/postcss/lib/at-rule.js"(e,t){d(),e.__esModule=!0,e.default=void 0;var n=r(lr());function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}e.default=function(e){i(t,e);function t(t){var n;return n=e.call(this,t)||this,n.type=`atrule`,n}var n=t.prototype;return n.append=function(){var t;this.nodes||=[];var n=[...arguments];return(t=e.prototype.append).call.apply(t,[this].concat(n))},n.prepend=function(){var t;this.nodes||=[];var n=[...arguments];return(t=e.prototype.prepend).call.apply(t,[this].concat(n))},t}(n.default),t.exports=e.default}}),dr=s({"node_modules/postcss/lib/map-generator.js"(e,t){d(),t.exports=class{generate(){}}}}),fr=s({"node_modules/postcss/lib/warn-once.js"(e,t){d(),e.__esModule=!0,e.default=r;var n={};function r(e){n[e]||(n[e]=!0,typeof console<`u`&&console.warn&&console.warn(e))}t.exports=e.default}}),pr=s({"node_modules/postcss/lib/warning.js"(e,t){d(),e.__esModule=!0,e.default=void 0,e.default=function(){function e(e,t){if(t===void 0&&(t={}),this.type=`warning`,this.text=e,t.node&&t.node.source){var n=t.node.positionBy(t);this.line=n.line,this.column=n.column}for(var r in t)this[r]=t[r]}var t=e.prototype;return t.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},e}(),t.exports=e.default}}),mr=s({"node_modules/postcss/lib/result.js"(e,t){d(),e.__esModule=!0,e.default=void 0;var n=r(pr());function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}e.default=function(){function e(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=void 0,this.map=void 0}var t=e.prototype;return t.toString=function(){return this.css},t.warn=function(e,t){t===void 0&&(t={}),t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var r=new n.default(e,t);return this.messages.push(r),r},t.warnings=function(){return this.messages.filter(function(e){return e.type===`warning`})},a(e,[{key:`content`,get:function(){return this.css}}]),e}(),t.exports=e.default}}),hr=s({"node_modules/postcss/lib/lazy-result.js"(e,t){d(),e.__esModule=!0,e.default=void 0;var n=o(dr()),r=o(nr());o(fr());var i=o(mr()),a=o(or());function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var n;if(typeof Symbol>`u`||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=c(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
123
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return n=e[Symbol.iterator](),n.next.bind(n)}function c(e,t){if(e){if(typeof e==`string`)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}}function l(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}function p(e){return typeof e==`object`&&typeof e.then==`function`}e.default=function(){function e(t,n,r){this.stringified=!1,this.processed=!1;var o;if(typeof n==`object`&&n&&n.type===`root`)o=n;else if(n instanceof e||n instanceof i.default)o=n.root,n.map&&(typeof r.map>`u`&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=n.map);else{var s=a.default;r.syntax&&(s=r.syntax.parse),r.parser&&(s=r.parser),s.parse&&(s=s.parse);try{o=s(n,r)}catch(e){this.error=e}}this.result=new i.default(t,o,r)}var t=e.prototype;return t.warnings=function(){return this.sync().warnings()},t.toString=function(){return this.css},t.then=function(e,t){return this.async().then(e,t)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.handleError=function(e,t){try{this.error=e,e.name===`CssSyntaxError`&&!e.plugin?(e.plugin=t.postcssPlugin,e.setMessage()):t.postcssVersion}catch(e){console&&console.error&&console.error(e)}},t.asyncTick=function(e,t){var n=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,e();try{var r=this.processor.plugins[this.plugin],i=this.run(r);this.plugin+=1,p(i)?i.then(function(){n.asyncTick(e,t)}).catch(function(e){n.handleError(e,r),n.processed=!0,t(e)}):this.asyncTick(e,t)}catch(e){this.processed=!0,t(e)}},t.async=function(){var e=this;return this.processed?new Promise(function(t,n){e.error?n(e.error):t(e.stringify())}):(this.processing||=new Promise(function(t,n){if(e.error)return n(e.error);e.plugin=0,e.asyncTick(t,n)}).then(function(){return e.processed=!0,e.stringify()}),this.processing)},t.sync=function(){if(this.processed)return this.result;if(this.processed=!0,this.processing)throw Error(`Use process(css).then(cb) to work with async plugins`);if(this.error)throw this.error;for(var e=s(this.result.processor.plugins),t;!(t=e()).done;){var n=t.value;if(p(this.run(n)))throw Error(`Use process(css).then(cb) to work with async plugins`)}return this.result},t.run=function(e){this.result.lastPlugin=e;try{return e(this.result.root,this.result)}catch(t){throw this.handleError(t,e),t}},t.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=r.default;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var i=new n.default(t,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result},f(e,[{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}}]),e}(),t.exports=e.default}}),gr=s({"node_modules/postcss/lib/processor.js"(e,t){d(),e.__esModule=!0,e.default=void 0;var n=r(hr());function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n;if(typeof Symbol>`u`||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=a(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
124
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return n=e[Symbol.iterator](),n.next.bind(n)}function a(e,t){if(e){if(typeof e==`string`)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}}function o(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}e.default=function(){function e(e){e===void 0&&(e=[]),this.version=`7.0.39`,this.plugins=this.normalize(e)}var t=e.prototype;return t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},t.process=function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e,t){return t===void 0&&(t={}),this.plugins.length===0&&(t.parser,t.stringifier),new n.default(this,e,t)}),t.normalize=function(e){for(var t=[],n=i(e),r;!(r=n()).done;){var a=r.value;if(a.postcss===!0){var o=a();throw Error(`PostCSS plugin `+o.postcssPlugin+` requires PostCSS 8.
|
|
125
|
-
Migration guide for end-users:
|
|
126
|
-
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`)}if(a.postcss&&(a=a.postcss),typeof a==`object`&&Array.isArray(a.plugins))t=t.concat(a.plugins);else if(typeof a==`function`)t.push(a);else if(!(typeof a==`object`&&(a.parse||a.stringify)))throw typeof a==`object`&&a.postcssPlugin?Error(`PostCSS plugin `+a.postcssPlugin+` requires PostCSS 8.
|
|
127
|
-
Migration guide for end-users:
|
|
128
|
-
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`):Error(a+` is not a PostCSS plugin`)}return t},e}(),t.exports=e.default}}),_r=s({"node_modules/postcss/lib/root.js"(e,t){d(),e.__esModule=!0,e.default=void 0;var n=r(lr());function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n;if(typeof Symbol>`u`||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=a(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
129
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return n=e[Symbol.iterator](),n.next.bind(n)}function a(e,t){if(e){if(typeof e==`string`)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}}function o(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}e.default=function(e){s(t,e);function t(t){var n;return n=e.call(this,t)||this,n.type=`root`,n.nodes||=[],n}var n=t.prototype;return n.removeChild=function(t,n){var r=this.index(t);return!n&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),e.prototype.removeChild.call(this,t)},n.normalize=function(t,n,r){var a=e.prototype.normalize.call(this,t);if(n){if(r===`prepend`)this.nodes.length>1?n.raws.before=this.nodes[1].raws.before:delete n.raws.before;else if(this.first!==n)for(var o=i(a),s;!(s=o()).done;){var c=s.value;c.raws.before=n.raws.before}}return a},n.toResult=function(e){return e===void 0&&(e={}),new(hr())(new(gr()),this,e).stringify()},t}(n.default),t.exports=e.default}}),vr=s({"node_modules/postcss/lib/parser.js"(e,t){d(),e.__esModule=!0,e.default=void 0;var n=c(ar()),r=c($()),i=c(ir()),a=c(ur()),o=c(_r()),s=c(cr());function c(e){return e&&e.__esModule?e:{default:e}}e.default=function(){function e(e){this.input=e,this.root=new o.default,this.current=this.root,this.spaces=``,this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{line:1,column:1}}}var t=e.prototype;return t.createTokenizer=function(){this.tokenizer=(0,r.default)(this.input)},t.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case`space`:this.spaces+=e[1];break;case`;`:this.freeSemicolon(e);break;case`}`:this.end(e);break;case`comment`:this.comment(e);break;case`at-word`:this.atrule(e);break;case`{`:this.emptyRule(e);break;default:this.other(e);break}this.endFile()},t.comment=function(e){var t=new i.default;this.init(t,e[2],e[3]),t.source.end={line:e[4],column:e[5]};var n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text=``,t.raws.left=n,t.raws.right=``;else{var r=n.match(/^(\s*)([^]*[^\s])(\s*)$/);t.text=r[2],t.raws.left=r[1],t.raws.right=r[3]}},t.emptyRule=function(e){var t=new s.default;this.init(t,e[2],e[3]),t.selector=``,t.raws.between=``,this.current=t},t.other=function(e){for(var t=!1,n=null,r=!1,i=null,a=[],o=[],s=e;s;){if(n=s[0],o.push(s),n===`(`||n===`[`)i||=s,a.push(n===`(`?`)`:`]`);else if(a.length===0)if(n===`;`)if(r){this.decl(o);return}else break;else if(n===`{`){this.rule(o);return}else if(n===`}`){this.tokenizer.back(o.pop()),t=!0;break}else n===`:`&&(r=!0);else n===a[a.length-1]&&(a.pop(),a.length===0&&(i=null));s=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),a.length>0&&this.unclosedBracket(i),t&&r){for(;o.length&&(s=o[o.length-1][0],!(s!==`space`&&s!==`comment`));)this.tokenizer.back(o.pop());this.decl(o)}else this.unknownWord(o)},t.rule=function(e){e.pop();var t=new s.default;this.init(t,e[0][2],e[0][3]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,`selector`,e),this.current=t},t.decl=function(e){var t=new n.default;this.init(t);var r=e[e.length-1];for(r[0]===`;`&&(this.semicolon=!0,e.pop()),r[4]?t.source.end={line:r[4],column:r[5]}:t.source.end={line:r[2],column:r[3]};e[0][0]!==`word`;)e.length===1&&this.unknownWord(e),t.raws.before+=e.shift()[1];for(t.source.start={line:e[0][2],column:e[0][3]},t.prop=``;e.length;){var i=e[0][0];if(i===`:`||i===`space`||i===`comment`)break;t.prop+=e.shift()[1]}t.raws.between=``;for(var a;e.length;)if(a=e.shift(),a[0]===`:`){t.raws.between+=a[1];break}else a[0]===`word`&&/\w/.test(a[1])&&this.unknownWord([a]),t.raws.between+=a[1];(t.prop[0]===`_`||t.prop[0]===`*`)&&(t.raws.before+=t.prop[0],t.prop=t.prop.slice(1)),t.raws.between+=this.spacesAndCommentsFromStart(e),this.precheckMissedSemicolon(e);for(var o=e.length-1;o>0;o--){if(a=e[o],a[1].toLowerCase()===`!important`){t.important=!0;var s=this.stringFrom(e,o);s=this.spacesFromEnd(e)+s,s!==` !important`&&(t.raws.important=s);break}else if(a[1].toLowerCase()===`important`){for(var c=e.slice(0),l=``,u=o;u>0;u--){var d=c[u][0];if(l.trim().indexOf(`!`)===0&&d!==`space`)break;l=c.pop()[1]+l}l.trim().indexOf(`!`)===0&&(t.important=!0,t.raws.important=l,e=c)}if(a[0]!==`space`&&a[0]!==`comment`)break}this.raw(t,`value`,e),t.value.indexOf(`:`)!==-1&&this.checkMissedSemicolon(e)},t.atrule=function(e){var t=new a.default;t.name=e[1].slice(1),t.name===``&&this.unnamedAtrule(t,e),this.init(t,e[2],e[3]);for(var n,r,i=!1,o=!1,s=[];!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),e[0]===`;`){t.source.end={line:e[2],column:e[3]},this.semicolon=!0;break}else if(e[0]===`{`){o=!0;break}else if(e[0]===`}`){if(s.length>0){for(r=s.length-1,n=s[r];n&&n[0]===`space`;)n=s[--r];n&&(t.source.end={line:n[4],column:n[5]})}this.end(e);break}else s.push(e);if(this.tokenizer.endOfFile()){i=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(s),s.length?(t.raws.afterName=this.spacesAndCommentsFromStart(s),this.raw(t,`params`,s),i&&(e=s[s.length-1],t.source.end={line:e[4],column:e[5]},this.spaces=t.raws.between,t.raws.between=``)):(t.raws.afterName=``,t.params=``),o&&(t.nodes=[],this.current=t)},t.end=function(e){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:e[2],column:e[3]},this.current=this.current.parent):this.unexpectedClose(e)},t.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},t.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&t.type===`rule`&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces=``)}},t.init=function(e,t,n){this.current.push(e),e.source={start:{line:t,column:n},input:this.input},e.raws.before=this.spaces,this.spaces=``,e.type!==`comment`&&(this.semicolon=!1)},t.raw=function(e,t,n){for(var r,i,a=n.length,o=``,s=!0,c,l,u=/^([.|#])?([\w])+/i,d=0;d<a;d+=1){if(r=n[d],i=r[0],i===`comment`&&e.type===`rule`){l=n[d-1],c=n[d+1],l[0]!==`space`&&c[0]!==`space`&&u.test(l[1])&&u.test(c[1])?o+=r[1]:s=!1;continue}i===`comment`||i===`space`&&d===a-1?s=!1:o+=r[1]}if(!s){var f=n.reduce(function(e,t){return e+t[1]},``);e.raws[t]={value:o,raw:f}}e[t]=o},t.spacesAndCommentsFromEnd=function(e){for(var t,n=``;e.length&&(t=e[e.length-1][0],!(t!==`space`&&t!==`comment`));)n=e.pop()[1]+n;return n},t.spacesAndCommentsFromStart=function(e){for(var t,n=``;e.length&&(t=e[0][0],!(t!==`space`&&t!==`comment`));)n+=e.shift()[1];return n},t.spacesFromEnd=function(e){for(var t,n=``;e.length&&(t=e[e.length-1][0],t===`space`);)n=e.pop()[1]+n;return n},t.stringFrom=function(e,t){for(var n=``,r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n},t.colon=function(e){for(var t=0,n,r,i,a=0;a<e.length;a++){if(n=e[a],r=n[0],r===`(`&&(t+=1),r===`)`&&--t,t===0&&r===`:`)if(!i)this.doubleColon(n);else{if(i[0]===`word`&&i[1]===`progid`)continue;return a}i=n}return!1},t.unclosedBracket=function(e){throw this.input.error(`Unclosed bracket`,e[2],e[3])},t.unknownWord=function(e){throw this.input.error(`Unknown word`,e[0][2],e[0][3])},t.unexpectedClose=function(e){throw this.input.error(`Unexpected }`,e[2],e[3])},t.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error(`Unclosed block`,e.line,e.column)},t.doubleColon=function(e){throw this.input.error(`Double colon`,e[2],e[3])},t.unnamedAtrule=function(e,t){throw this.input.error(`At-rule without name`,t[2],t[3])},t.precheckMissedSemicolon=function(){},t.checkMissedSemicolon=function(e){var t=this.colon(e);if(t!==!1){for(var n=0,r,i=t-1;i>=0&&(r=e[i],!(r[0]!==`space`&&(n+=1,n===2)));i--);throw this.input.error(`Missed semicolon`,r[2],r[3])}},e}(),t.exports=e.default}}),yr=s({"node_modules/postcss-less/lib/nodes/inline-comment.js"(e,t){d();var n=$(),r=er();t.exports={isInlineComment(e){if(e[0]===`word`&&e[1].slice(0,2)===`//`){let t=e,i=[],a;for(;e;){if(/\r?\n/.test(e[1])){if(/['"].*\r?\n/.test(e[1])){i.push(e[1].substring(0,e[1].indexOf(`
|
|
130
|
-
`)));let t=e[1].substring(e[1].indexOf(`
|
|
131
|
-
`));t+=this.input.css.valueOf().substring(this.tokenizer.position()),this.input=new r(t),this.tokenizer=n(this.input)}else this.tokenizer.back(e);break}i.push(e[1]),a=e,e=this.tokenizer.nextToken({ignoreUnclosed:!0})}let o=[`comment`,i.join(``),t[2],t[3],a[2],a[3]];return this.inlineComment(o),!0}else if(e[1]===`/`){let n=this.tokenizer.nextToken({ignoreUnclosed:!0});if(n[0]===`comment`&&/^\/\*/.test(n[1]))return n[0]=`word`,n[1]=n[1].slice(1),e[1]=`//`,this.tokenizer.back(n),t.exports.isInlineComment.bind(this)(e)}return!1}}}}),br=s({"node_modules/postcss-less/lib/nodes/interpolation.js"(e,t){d(),t.exports={interpolation(e){let t=e,n=[e],r=[`word`,`{`,`}`];if(e=this.tokenizer.nextToken(),t[1].length>1||e[0]!==`{`)return this.tokenizer.back(e),!1;for(;e&&r.includes(e[0]);)n.push(e),e=this.tokenizer.nextToken();let i=n.map(e=>e[1]);[t]=n;let a=n.pop(),o=[t[2],t[3]],s=[a[4]||a[2],a[5]||a[3]],c=[`word`,i.join(``)].concat(o,s);return this.tokenizer.back(e),this.tokenizer.back(c),!0}}}}),xr=s({"node_modules/postcss-less/lib/nodes/mixin.js"(e,t){d();var n=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,r=/\.[0-9]/;t.exports={isMixinToken:e=>{let[,t]=e,[i]=t;return(i===`.`||i===`#`)&&n.test(t)===!1&&r.test(t)===!1}}}}),Sr=s({"node_modules/postcss-less/lib/nodes/import.js"(e,t){d();var n=$(),r=/^url\((.+)\)/;t.exports=e=>{let{name:t,params:i=``}=e;if(t===`import`&&i.length){e.import=!0;let t=n({css:i});for(e.filename=i.replace(r,`$1`);!t.endOfFile();){let[n,r]=t.nextToken();if(n===`word`&&r===`url`)return;if(n===`brackets`){e.options=r,e.filename=i.replace(r,``).trim();break}}}}}}),Cr=s({"node_modules/postcss-less/lib/nodes/variable.js"(e,t){d();var n=/:$/,r=/^:(\s+)?/;t.exports=e=>{let{name:t,params:i=``}=e;if(e.name.slice(-1)===`:`){if(n.test(t)){let[r]=t.match(n);e.name=t.replace(r,``),e.raws.afterName=r+(e.raws.afterName||``),e.variable=!0,e.value=e.params}if(r.test(i)){let[t]=i.match(r);e.value=i.replace(t,``),e.raws.afterName=(e.raws.afterName||``)+t,e.variable=!0}}}}}),wr=s({"node_modules/postcss-less/lib/LessParser.js"(e,t){d();var n=ir(),r=vr(),{isInlineComment:i}=yr(),{interpolation:a}=br(),{isMixinToken:o}=xr(),s=Sr(),c=Cr(),l=/(!\s*important)$/i;t.exports=class extends r{constructor(){super(...arguments),this.lastNode=null}atrule(e){a.bind(this)(e)||(super.atrule(e),s(this.lastNode),c(this.lastNode))}decl(){super.decl(...arguments),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(e){e[0][1]=` ${e[0][1]}`;let t=e.findIndex(e=>e[0]===`(`),n=e.reverse().find(e=>e[0]===`)`),r=e.reverse().indexOf(n),i=e.splice(t,r).map(e=>e[1]).join(``);for(let t of e.reverse())this.tokenizer.back(t);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=i}init(e,t,n){super.init(e,t,n),this.lastNode=e}inlineComment(e){let t=new n,r=e[1].slice(2);if(this.init(t,e[2],e[3]),t.source.end={line:e[4],column:e[5]},t.inline=!0,t.raws.begin=`//`,/^\s*$/.test(r))t.text=``,t.raws.left=r,t.raws.right=``;else{let e=r.match(/^(\s*)([^]*[^\s])(\s*)$/);[,t.raws.left,t.text,t.raws.right]=e}}mixin(e){let[t]=e,n=t[1].slice(0,1),r=e.findIndex(e=>e[0]===`brackets`),i=e.findIndex(e=>e[0]===`(`),a=``;if((r<0||r>3)&&i>0){let t=e.reduce((e,t,n)=>t[0]===`)`?n:e),n=e.slice(i,t+i).map(e=>e[1]).join(``),[r]=e.slice(i),a=[r[2],r[3]],[o]=e.slice(t,t+1),s=[o[2],o[3]],c=[`brackets`,n].concat(a,s),l=e.slice(0,i),u=e.slice(t+1);e=l,e.push(c),e=e.concat(u)}let o=[];for(let t of e)if((t[1]===`!`||o.length)&&o.push(t),t[1]===`important`)break;if(o.length){let[t]=o,n=e.indexOf(t),r=o[o.length-1],i=[t[2],t[3]],a=[r[4],r[5]],s=[`word`,o.map(e=>e[1]).join(``)].concat(i,a);e.splice(n,o.length,s)}let s=e.findIndex(e=>l.test(e[1]));s>0&&([,a]=e[s],e.splice(s,1));for(let t of e.reverse())this.tokenizer.back(t);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=n,a&&(this.lastNode.important=!0,this.lastNode.raws.important=a)}other(e){i.bind(this)(e)||super.other(e)}rule(e){let t=e[e.length-1],n=e[e.length-2];if(n[0]===`at-word`&&t[0]===`{`&&(this.tokenizer.back(t),a.bind(this)(n))){let t=this.tokenizer.nextToken();e=e.slice(0,e.length-2).concat([t]);for(let t of e.reverse())this.tokenizer.back(t);return}super.rule(e),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(e){let[t]=e;if(e[0][1]===`each`&&e[1][0]===`(`){this.each(e);return}if(o(t)){this.mixin(e);return}super.unknownWord(e)}}}}),Tr=s({"node_modules/postcss-less/lib/LessStringifier.js"(e,t){d();var n=tr();t.exports=class extends n{atrule(e,t){if(!e.mixin&&!e.variable&&!e.function){super.atrule(e,t);return}let n=`${e.function?``:e.raws.identifier||`@`}${e.name}`,r=e.params?this.rawValue(e,`params`):``,i=e.raws.important||``;if(e.variable&&(r=e.value),typeof e.raws.afterName<`u`?n+=e.raws.afterName:r&&(n+=` `),e.nodes)this.block(e,n+r+i);else{let a=(e.raws.between||``)+i+(t?`;`:``);this.builder(n+r+a,e)}}comment(e){if(e.inline){let t=this.raw(e,`left`,`commentLeft`),n=this.raw(e,`right`,`commentRight`);this.builder(`//${t}${e.text}${n}`,e)}else super.comment(e)}}}}),Er=s({"node_modules/postcss-less/lib/index.js"(e,t){d();var n=er(),r=wr(),i=Tr();t.exports={parse(e,t){let i=new r(new n(e,t));return i.parse(),i.root},stringify(e,t){new i(t).stringify(e)},nodeToString(e){let n=``;return t.exports.stringify(e,e=>{n+=e}),n}}}}),Dr=s({"node_modules/postcss-scss/lib/scss-stringifier.js"(e,t){d();function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}t.exports=function(e){n(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.comment=function(e){var t=this.raw(e,`left`,`commentLeft`),n=this.raw(e,`right`,`commentRight`);if(e.raws.inline){var r=e.raws.text||e.text;this.builder(`//`+t+r+n,e)}else this.builder(`/*`+t+e.text+n+`*/`,e)},r.decl=function(t,n){if(!t.isNested)e.prototype.decl.call(this,t,n);else{var r=this.raw(t,`between`,`colon`),i=t.prop+r+this.rawValue(t,`value`);t.important&&(i+=t.raws.important||` !important`),this.builder(i+`{`,t,`start`);var a;t.nodes&&t.nodes.length?(this.body(t),a=this.raw(t,`after`)):a=this.raw(t,`after`,`emptyBody`),a&&this.builder(a),this.builder(`}`,t,`end`)}},r.rawValue=function(e,t){var n=e[t],r=e.raws[t];return r&&r.value===n?r.scss?r.scss:r.raw:n},t}(tr())}}),Or=s({"node_modules/postcss-scss/lib/scss-stringify.js"(e,t){d();var n=Dr();t.exports=function(e,t){new n(t).stringify(e)}}}),kr=s({"node_modules/postcss-scss/lib/nested-declaration.js"(e,t){d();function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}t.exports=function(e){n(t,e);function t(t){var n;return n=e.call(this,t)||this,n.type=`decl`,n.isNested=!0,n.nodes||=[],n}return t}(lr())}}),Ar=s({"node_modules/postcss-scss/lib/scss-tokenize.js"(e,t){d();var n=39,r=34,i=92,a=47,o=10,s=32,c=12,l=9,u=13,f=91,p=93,m=40,h=41,g=123,_=125,v=59,y=42,b=58,x=64,S=44,C=35,w=/[ \n\t\r\f{}()'"\\;/[\]#]/g,T=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,E=/.[\\/("'\n]/,D=/[a-f0-9]/i,O=/[\r\f\n]/g;t.exports=function(e,t){t===void 0&&(t={});var d=e.css.valueOf(),k=t.ignoreErrors,A,j,M,N,P,F,I,L,R,z,B,V,H,U,W=d.length,G=-1,K=1,q=0,ee=[],J=[];function te(t){throw e.error(`Unclosed `+t,K,q-G)}function ne(){return J.length===0&&q>=W}function Y(){for(var e=1,t=!1,a=!1;e>0;)j+=1,d.length<=j&&te(`interpolation`),A=d.charCodeAt(j),V=d.charCodeAt(j+1),t?!a&&A===t?(t=!1,a=!1):A===i?a=!z:a&&=!1:A===n||A===r?t=A:A===_?--e:A===C&&V===g&&(e+=1)}function re(){if(J.length)return J.pop();if(!(q>=W)){switch(A=d.charCodeAt(q),(A===o||A===c||A===u&&d.charCodeAt(q+1)!==o)&&(G=q,K+=1),A){case o:case s:case l:case u:case c:j=q;do j+=1,A=d.charCodeAt(j),A===o&&(G=j,K+=1);while(A===s||A===o||A===l||A===u||A===c);H=[`space`,d.slice(q,j)],q=j-1;break;case f:H=[`[`,`[`,K,q-G];break;case p:H=[`]`,`]`,K,q-G];break;case g:H=[`{`,`{`,K,q-G];break;case _:H=[`}`,`}`,K,q-G];break;case S:H=[`word`,`,`,K,q-G,K,q-G+1];break;case b:H=[`:`,`:`,K,q-G];break;case v:H=[`;`,`;`,K,q-G];break;case m:if(B=ee.length?ee.pop()[1]:``,V=d.charCodeAt(q+1),B===`url`&&V!==n&&V!==r){for(U=1,z=!1,j=q+1;j<=d.length-1;){if(V=d.charCodeAt(j),V===i)z=!z;else if(V===m)U+=1;else if(V===h&&(--U,U===0))break;j+=1}F=d.slice(q,j+1),N=F.split(`
|
|
132
|
-
`),P=N.length-1,P>0?(L=K+P,R=j-N[P].length):(L=K,R=G),H=[`brackets`,F,K,q-G,L,j-R],G=R,K=L,q=j}else j=d.indexOf(`)`,q+1),F=d.slice(q,j+1),j===-1||E.test(F)?H=[`(`,`(`,K,q-G]:(H=[`brackets`,F,K,q-G,K,j-G],q=j);break;case h:H=[`)`,`)`,K,q-G];break;case n:case r:for(M=A,j=q,z=!1;j<W&&(j++,j===W&&te(`string`),A=d.charCodeAt(j),V=d.charCodeAt(j+1),!(!z&&A===M));)A===i?z=!z:z?z=!1:A===C&&V===g&&Y();F=d.slice(q,j+1),N=F.split(`
|
|
133
|
-
`),P=N.length-1,P>0?(L=K+P,R=j-N[P].length):(L=K,R=G),H=[`string`,d.slice(q,j+1),K,q-G,L,j-R],G=R,K=L,q=j;break;case x:w.lastIndex=q+1,w.test(d),j=w.lastIndex===0?d.length-1:w.lastIndex-2,H=[`at-word`,d.slice(q,j+1),K,q-G,K,j-G],q=j;break;case i:for(j=q,I=!0;d.charCodeAt(j+1)===i;)j+=1,I=!I;if(A=d.charCodeAt(j+1),I&&A!==a&&A!==s&&A!==o&&A!==l&&A!==u&&A!==c&&(j+=1,D.test(d.charAt(j)))){for(;D.test(d.charAt(j+1));)j+=1;d.charCodeAt(j+1)===s&&(j+=1)}H=[`word`,d.slice(q,j+1),K,q-G,K,j-G],q=j;break;default:V=d.charCodeAt(q+1),A===C&&V===g?(j=q,Y(),F=d.slice(q,j+1),N=F.split(`
|
|
134
|
-
`),P=N.length-1,P>0?(L=K+P,R=j-N[P].length):(L=K,R=G),H=[`word`,F,K,q-G,L,j-R],G=R,K=L,q=j):A===a&&V===y?(j=d.indexOf(`*/`,q+2)+1,j===0&&(k?j=d.length:te(`comment`)),F=d.slice(q,j+1),N=F.split(`
|
|
135
|
-
`),P=N.length-1,P>0?(L=K+P,R=j-N[P].length):(L=K,R=G),H=[`comment`,F,K,q-G,L,j-R],G=R,K=L,q=j):A===a&&V===a?(O.lastIndex=q+1,O.test(d),j=O.lastIndex===0?d.length-1:O.lastIndex-2,F=d.slice(q,j+1),H=[`comment`,F,K,q-G,K,j-G,`inline`],q=j):(T.lastIndex=q+1,T.test(d),j=T.lastIndex===0?d.length-1:T.lastIndex-2,H=[`word`,d.slice(q,j+1),K,q-G,K,j-G],ee.push(H),q=j);break}return q++,H}}function ie(e){J.push(e)}return{back:ie,nextToken:re,endOfFile:ne}}}}),jr=s({"node_modules/postcss-scss/lib/scss-parser.js"(e,t){d();function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var r=ir(),i=vr(),a=kr(),o=Ar();t.exports=function(e){n(t,e);function t(){return e.apply(this,arguments)||this}var i=t.prototype;return i.createTokenizer=function(){this.tokenizer=o(this.input)},i.rule=function(t){for(var n=!1,r=0,i=``,o=t,s=Array.isArray(o),c=0,o=s?o:o[Symbol.iterator]();;){var l;if(s){if(c>=o.length)break;l=o[c++]}else{if(c=o.next(),c.done)break;l=c.value}var u=l;if(n)u[0]!==`comment`&&u[0]!==`{`&&(i+=u[1]);else{if(u[0]===`space`&&u[1].indexOf(`
|
|
136
|
-
`)!==-1)break;u[0]===`(`?r+=1:u[0]===`)`?--r:r===0&&u[0]===`:`&&(n=!0)}}if(!n||i.trim()===``||/^[a-zA-Z-:#]/.test(i))e.prototype.rule.call(this,t);else{t.pop();var d=new a;this.init(d);var f=t[t.length-1];for(f[4]?d.source.end={line:f[4],column:f[5]}:d.source.end={line:f[2],column:f[3]};t[0][0]!==`word`;)d.raws.before+=t.shift()[1];for(d.source.start={line:t[0][2],column:t[0][3]},d.prop=``;t.length;){var p=t[0][0];if(p===`:`||p===`space`||p===`comment`)break;d.prop+=t.shift()[1]}d.raws.between=``;for(var m;t.length;)if(m=t.shift(),m[0]===`:`){d.raws.between+=m[1];break}else d.raws.between+=m[1];(d.prop[0]===`_`||d.prop[0]===`*`)&&(d.raws.before+=d.prop[0],d.prop=d.prop.slice(1)),d.raws.between+=this.spacesAndCommentsFromStart(t),this.precheckMissedSemicolon(t);for(var h=t.length-1;h>0;h--){if(m=t[h],m[1]===`!important`){d.important=!0;var g=this.stringFrom(t,h);g=this.spacesFromEnd(t)+g,g!==` !important`&&(d.raws.important=g);break}else if(m[1]===`important`){for(var _=t.slice(0),v=``,y=h;y>0;y--){var b=_[y][0];if(v.trim().indexOf(`!`)===0&&b!==`space`)break;v=_.pop()[1]+v}v.trim().indexOf(`!`)===0&&(d.important=!0,d.raws.important=v,t=_)}if(m[0]!==`space`&&m[0]!==`comment`)break}this.raw(d,`value`,t),d.value.indexOf(`:`)!==-1&&this.checkMissedSemicolon(t),this.current=d}},i.comment=function(t){if(t[6]===`inline`){var n=new r;this.init(n,t[2],t[3]),n.raws.inline=!0,n.source.end={line:t[4],column:t[5]};var i=t[1].slice(2);if(/^\s*$/.test(i))n.text=``,n.raws.left=i,n.raws.right=``;else{var a=i.match(/^(\s*)([^]*[^\s])(\s*)$/);n.text=a[2].replace(/(\*\/|\/\*)/g,`*//*`),n.raws.left=a[1],n.raws.right=a[3],n.raws.text=a[2]}}else e.prototype.comment.call(this,t)},i.raw=function(t,n,r){if(e.prototype.raw.call(this,t,n,r),t.raws[n]){var i=t.raws[n].raw;t.raws[n].raw=r.reduce(function(e,t){if(t[0]===`comment`&&t[6]===`inline`){var n=t[1].slice(2).replace(/(\*\/|\/\*)/g,`*//*`);return e+`/*`+n+`*/`}else return e+t[1]},``),i!==t.raws[n].raw&&(t.raws[n].scss=i)}},t}(i)}}),Mr=s({"node_modules/postcss-scss/lib/scss-parse.js"(e,t){d();var n=er(),r=jr();t.exports=function(e,t){var i=new r(new n(e,t));return i.parse(),i.root}}}),Nr=s({"node_modules/postcss-scss/lib/scss-syntax.js"(e,t){d();var n=Or();t.exports={parse:Mr(),stringify:n}}});d();var Pr=f(),Fr=p(),Ir=m(),{hasPragma:Lr}=V(),{locStart:Rr,locEnd:zr}=W(),{calculateLoc:Br,replaceQuotesInInlineComments:Vr}=W(),Hr=K(),Ur=q(),Wr=ee(),Gr=J(),Kr=te(),qr=ne(),Jr=Y(),Yr=re(),Xr=e=>{for(;e.parent;)e=e.parent;return e};function Zr(e,t){let{nodes:n}=e,r={open:null,close:null,groups:[],type:`paren_group`},i=[r],a=r,o={groups:[],type:`comma_group`},s=[o];for(let a=0;a<n.length;++a){let c=n[a];if(Gr(t.parser,c.value)&&c.type===`number`&&c.unit===`..`&&Fr(c.value)===`.`&&(c.value=c.value.slice(0,-1),c.unit=`...`),c.type===`func`&&c.value===`selector`&&(c.group.groups=[ri(Xr(e).text.slice(c.group.open.sourceIndex+1,c.group.close.sourceIndex))]),c.type===`func`&&c.value===`url`){let e=c.group&&c.group.groups||[],t=[];for(let n=0;n<e.length;n++){let r=e[n];r.type===`comma_group`?t=[...t,...r.groups]:t.push(r)}if(Hr(t)||!Ur(t)&&!qr(t[0])){let e=Jr({groups:c.group.groups});c.group.groups=[e.trim()]}}if(c.type===`paren`&&c.value===`(`)r={open:c,close:null,groups:[],type:`paren_group`},i.push(r),o={groups:[],type:`comma_group`},s.push(o);else if(c.type===`paren`&&c.value===`)`){if(o.groups.length>0&&r.groups.push(o),r.close=c,s.length===1)throw Error(`Unbalanced parenthesis`);s.pop(),o=Fr(s),o.groups.push(r),i.pop(),r=Fr(i)}else c.type===`comma`?(r.groups.push(o),o={groups:[],type:`comma_group`},s[s.length-1]=o):o.groups.push(c)}return o.groups.length>0&&r.groups.push(o),a}function Qr(e){return e.type===`paren_group`&&!e.open&&!e.close&&e.groups.length===1||e.type===`comma_group`&&e.groups.length===1?Qr(e.groups[0]):e.type===`paren_group`||e.type===`comma_group`?Object.assign(Object.assign({},e),{},{groups:e.groups.map(Qr)}):e}function $r(e,t,n){if(e&&typeof e==`object`){delete e.parent;for(let r in e)$r(e[r],t,n),r===`type`&&typeof e[r]==`string`&&!e[r].startsWith(t)&&(!n||!n.test(e[r]))&&(e[r]=t+e[r])}return e}function ei(e){if(e&&typeof e==`object`){delete e.parent;for(let t in e)ei(e[t]);!Array.isArray(e)&&e.value&&!e.type&&(e.type=`unknown`)}return e}function ti(e,t){if(e&&typeof e==`object`){for(let n in e)n!==`parent`&&(ti(e[n],t),n===`nodes`&&(e.group=Qr(Zr(e,t)),delete e[n]));delete e.parent}return e}function ni(e,t){let n=on(),r=null;try{r=n(e,{loose:!0}).parse()}catch{return{type:`value-unknown`,value:e}}return r.text=e,$r(ti(r,t),`value-`,/^selector-/)}function ri(e){if(/\/\/|\/\*/.test(e))return{type:`selector-unknown`,value:e.trim()};let t=Dn(),n=null;try{t(e=>{n=e}).process(e)}catch{return{type:`selector-unknown`,value:e}}return $r(n,`selector-`)}function ii(e){let t=jn().default,n=null;try{n=t(e)}catch{return{type:`selector-unknown`,value:e}}return $r(ei(n),`media-`)}var ai=/(\s*)(!default).*$/,oi=/(\s*)(!global).*$/;function si(e,t){if(e&&typeof e==`object`){delete e.parent;for(let n in e)si(e[n],t);if(!e.type)return e;e.raws||={};let n=``;typeof e.selector==`string`&&(n=e.raws.selector?e.raws.selector.scss??e.raws.selector.raw:e.selector,e.raws.between&&e.raws.between.trim().length>0&&(n+=e.raws.between),e.raws.selector=n);let r=``;typeof e.value==`string`&&(r=e.raws.value?e.raws.value.scss??e.raws.value.raw:e.value,r=r.trim(),e.raws.value=r);let i=``;if(typeof e.params==`string`&&(i=e.raws.params?e.raws.params.scss??e.raws.params.raw:e.params,e.raws.afterName&&e.raws.afterName.trim().length>0&&(i=e.raws.afterName+i),e.raws.between&&e.raws.between.trim().length>0&&(i+=e.raws.between),i=i.trim(),e.raws.params=i),n.trim().length>0)return n.startsWith(`@`)&&n.endsWith(`:`)?e:e.mixin?(e.selector=ni(n,t),e):(Kr(e)&&(e.isSCSSNesterProperty=!0),e.selector=ri(n),e);if(r.length>0){let n=r.match(ai);n&&(r=r.slice(0,n.index),e.scssDefault=!0,n[0].trim()!==`!default`&&(e.raws.scssDefault=n[0]));let i=r.match(oi);if(i&&(r=r.slice(0,i.index),e.scssGlobal=!0,i[0].trim()!==`!global`&&(e.raws.scssGlobal=i[0])),r.startsWith(`progid:`))return{type:`value-unknown`,value:r};e.value=ni(r,t)}if(Wr(t)&&e.type===`css-decl`&&r.startsWith(`extend(`)&&(e.extend||=e.raws.between===`:`,e.extend&&!e.selector&&(delete e.value,e.selector=ri(r.slice(7,-1)))),e.type===`css-atrule`){if(Wr(t)){if(e.mixin)return e.selector=ri(e.raws.identifier+e.name+e.raws.afterName+e.raws.params),delete e.params,e;if(e.function)return e}if(t.parser===`css`&&e.name===`custom-selector`){let t=e.params.match(/:--\S+\s+/)[0].trim();return e.customSelector=t,e.selector=ri(e.params.slice(t.length).trim()),delete e.params,e}if(Wr(t)){if(e.name.includes(`:`)&&!e.params){e.variable=!0;let n=e.name.split(`:`);e.name=n[0],e.value=ni(n.slice(1).join(`:`),t)}if(![`page`,`nest`,`keyframes`].includes(e.name)&&e.params&&e.params[0]===`:`){e.variable=!0;let n=e.params.slice(1);n&&(e.value=ni(n,t)),e.raws.afterName+=`:`}if(e.variable)return delete e.params,e.value||delete e.value,e}}if(e.type===`css-atrule`&&i.length>0){let{name:n}=e,r=e.name.toLowerCase();return n===`warn`||n===`error`?(e.params={type:`media-unknown`,value:i},e):n===`extend`||n===`nest`?(e.selector=ri(i),delete e.params,e):n===`at-root`?(/^\(\s*(?:without|with)\s*:.+\)$/s.test(i)?e.params=ni(i,t):(e.selector=ri(i),delete e.params),e):Yr(r)?(e.import=!0,delete e.filename,e.params=ni(i,t),e):[`namespace`,`supports`,`if`,`else`,`for`,`each`,`while`,`debug`,`mixin`,`include`,`function`,`return`,`define-mixin`,`add-mixin`].includes(n)?(i=i.replace(/(\$\S+?)(\s+)?\.{3}/,`$1...$2`),i=i.replace(/^(?!if)(\S+)(\s+)\(/,`$1($2`),e.value=ni(i,t),delete e.params,e):[`media`,`custom-media`].includes(r)?i.includes(`#{`)?{type:`media-unknown`,value:i}:(e.params=ii(i),e):(e.params=i,e)}}return e}function ci(e,t,n){let r=Ir(t),{frontMatter:i}=r;t=r.content;let a;try{a=e(t)}catch(e){let{name:t,reason:n,line:r,column:i}=e;throw typeof r==`number`?Pr(`${t}: ${n}`,{start:{line:r,column:i}}):e}return a=si($r(a,`css-`),n),Br(a,t),i&&(i.source={startOffset:0,endOffset:i.raw.length},a.nodes.unshift(i)),a}function li(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Gr(n.parser,e)?[di,ui]:[ui,di],i;for(let a of r)try{return a(e,t,n)}catch(e){i||=e}if(i)throw i}function ui(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Er();return ci(e=>r.parse(Vr(e)),e,n)}function di(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{parse:r}=Nr();return ci(r,e,n)}var fi={astFormat:`postcss`,hasPragma:Lr,locStart:Rr,locEnd:zr};t.exports={parsers:{css:Object.assign(Object.assign({},fi),{},{parse:li}),less:Object.assign(Object.assign({},fi),{},{parse:ui}),scss:Object.assign(Object.assign({},fi),{},{parse:di})}}})()})})),he=ie(((e,t)=>{(function(n){if(typeof e==`object`&&typeof t==`object`)t.exports=n();else if(typeof define==`function`&&define.amd)define(n);else{var r=typeof globalThis<`u`?globalThis:typeof global<`u`?global:typeof self<`u`?self:this||{};r.prettier=n()}})(function(){var e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),t=e((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n(typeof globalThis==`object`&&globalThis)||n(typeof window==`object`&&window)||n(typeof self==`object`&&self)||n(typeof global==`object`&&global)||function(){return this}()||Function(`return this`)()}),n=e((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}}),r=e((e,t)=>{t.exports=!n()(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),i=e((e,t)=>{t.exports=!n()(function(){var e=function(){}.bind();return typeof e!=`function`||e.hasOwnProperty(`prototype`)})}),a=e((e,t)=>{var n=i(),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}}),o=e(e=>{var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor;e.f=n&&!t.call({1:2},1)?function(e){var t=n(this,e);return!!t&&t.enumerable}:t}),s=e((e,t)=>{t.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}}),c=e((e,t)=>{var n=i(),r=Function.prototype,a=r.call,o=n&&r.bind.bind(a,a);t.exports=n?o:function(e){return function(){return a.apply(e,arguments)}}}),l=e((e,t)=>{var n=c(),r=n({}.toString),i=n(``.slice);t.exports=function(e){return i(r(e),8,-1)}}),u=e((e,t)=>{var r=c(),i=n(),a=l(),o=Object,s=r(``.split);t.exports=i(function(){return!o(`z`).propertyIsEnumerable(0)})?function(e){return a(e)==`String`?s(e,``):o(e)}:o}),d=e((e,t)=>{t.exports=function(e){return e==null}}),f=e((e,t)=>{var n=d(),r=TypeError;t.exports=function(e){if(n(e))throw r(`Can't call method on `+e);return e}}),p=e((e,t)=>{var n=u(),r=f();t.exports=function(e){return n(r(e))}}),m=e((e,t)=>{var n=typeof document==`object`&&document.all;t.exports={all:n,IS_HTMLDDA:typeof n>`u`&&n!==void 0}}),h=e((e,t)=>{var n=m(),r=n.all;t.exports=n.IS_HTMLDDA?function(e){return typeof e==`function`||e===r}:function(e){return typeof e==`function`}}),g=e((e,t)=>{var n=h(),r=m(),i=r.all;t.exports=r.IS_HTMLDDA?function(e){return typeof e==`object`?e!==null:n(e)||e===i}:function(e){return typeof e==`object`?e!==null:n(e)}}),_=e((e,n)=>{var r=t(),i=h(),a=function(e){return i(e)?e:void 0};n.exports=function(e,t){return arguments.length<2?a(r[e]):r[e]&&r[e][t]}}),v=e((e,t)=>{t.exports=c()({}.isPrototypeOf)}),y=e((e,t)=>{t.exports=_()(`navigator`,`userAgent`)||``}),b=e((e,n)=>{var r=t(),i=y(),a=r.process,o=r.Deno,s=a&&a.versions||o&&o.version,c=s&&s.v8,l,u;c&&(l=c.split(`.`),u=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!u&&i&&(l=i.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=i.match(/Chrome\/(\d+)/),l&&(u=+l[1]))),n.exports=u}),x=e((e,t)=>{var r=b(),i=n();t.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})}),S=e((e,t)=>{t.exports=x()&&!Symbol.sham&&typeof Symbol.iterator==`symbol`}),C=e((e,t)=>{var n=_(),r=h(),i=v(),a=S(),o=Object;t.exports=a?function(e){return typeof e==`symbol`}:function(e){var t=n(`Symbol`);return r(t)&&i(t.prototype,o(e))}}),w=e((e,t)=>{var n=String;t.exports=function(e){try{return n(e)}catch{return`Object`}}}),T=e((e,t)=>{var n=h(),r=w(),i=TypeError;t.exports=function(e){if(n(e))return e;throw i(r(e)+` is not a function`)}}),E=e((e,t)=>{var n=T(),r=d();t.exports=function(e,t){var i=e[t];return r(i)?void 0:n(i)}}),D=e((e,t)=>{var n=a(),r=h(),i=g(),o=TypeError;t.exports=function(e,t){var a,s;if(t===`string`&&r(a=e.toString)&&!i(s=n(a,e))||r(a=e.valueOf)&&!i(s=n(a,e))||t!==`string`&&r(a=e.toString)&&!i(s=n(a,e)))return s;throw o(`Can't convert object to primitive value`)}}),O=e((e,t)=>{t.exports=!1}),k=e((e,n)=>{var r=t(),i=Object.defineProperty;n.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch{r[e]=t}return t}}),A=e((e,n)=>{var r=t(),i=k(),a=`__core-js_shared__`;n.exports=r[a]||i(a,{})}),j=e((e,t)=>{var n=O(),r=A();(t.exports=function(e,t){return r[e]||(r[e]=t===void 0?{}:t)})(`versions`,[]).push({version:`3.26.1`,mode:n?`pure`:`global`,copyright:`© 2014-2022 Denis Pushkarev (zloirock.ru)`,license:`https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE`,source:`https://github.com/zloirock/core-js`})}),M=e((e,t)=>{var n=f(),r=Object;t.exports=function(e){return r(n(e))}}),N=e((e,t)=>{var n=c(),r=M(),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(r(e),t)}}),P=e((e,t)=>{var n=c(),r=0,i=Math.random(),a=n(1 .toString);t.exports=function(e){return`Symbol(`+(e===void 0?``:e)+`)_`+a(++r+i,36)}}),F=e((e,n)=>{var r=t(),i=j(),a=N(),o=P(),s=x(),c=S(),l=i(`wks`),u=r.Symbol,d=u&&u.for,f=c?u:u&&u.withoutSetter||o;n.exports=function(e){if(!a(l,e)||!(s||typeof l[e]==`string`)){var t=`Symbol.`+e;s&&a(u,e)?l[e]=u[e]:c&&d?l[e]=d(t):l[e]=f(t)}return l[e]}}),I=e((e,t)=>{var n=a(),r=g(),i=C(),o=E(),s=D(),c=F(),l=TypeError,u=c(`toPrimitive`);t.exports=function(e,t){if(!r(e)||i(e))return e;var a=o(e,u),c;if(a){if(t===void 0&&(t=`default`),c=n(a,e,t),!r(c)||i(c))return c;throw l(`Can't convert object to primitive value`)}return t===void 0&&(t=`number`),s(e,t)}}),L=e((e,t)=>{var n=I(),r=C();t.exports=function(e){var t=n(e,`string`);return r(t)?t:t+``}}),R=e((e,n)=>{var r=t(),i=g(),a=r.document,o=i(a)&&i(a.createElement);n.exports=function(e){return o?a.createElement(e):{}}}),z=e((e,t)=>{var i=r(),a=n(),o=R();t.exports=!i&&!a(function(){return Object.defineProperty(o(`div`),`a`,{get:function(){return 7}}).a!=7})}),B=e(e=>{var t=r(),n=a(),i=o(),c=s(),l=p(),u=L(),d=N(),f=z(),m=Object.getOwnPropertyDescriptor;e.f=t?m:function(e,t){if(e=l(e),t=u(t),f)try{return m(e,t)}catch{}if(d(e,t))return c(!n(i.f,e,t),e[t])}}),V=e((e,t)=>{var i=r(),a=n();t.exports=i&&a(function(){return Object.defineProperty(function(){},`prototype`,{value:42,writable:!1}).prototype!=42})}),H=e((e,t)=>{var n=g(),r=String,i=TypeError;t.exports=function(e){if(n(e))return e;throw i(r(e)+` is not an object`)}}),U=e(e=>{var t=r(),n=z(),i=V(),a=H(),o=L(),s=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u=`enumerable`,d=`configurable`,f=`writable`;e.f=t?i?function(e,t,n){if(a(e),t=o(t),a(n),typeof e==`function`&&t===`prototype`&&`value`in n&&f in n&&!n[f]){var r=l(e,t);r&&r[f]&&(e[t]=n.value,n={configurable:d in n?n[d]:r[d],enumerable:u in n?n[u]:r[u],writable:!1})}return c(e,t,n)}:c:function(e,t,r){if(a(e),t=o(t),a(r),n)try{return c(e,t,r)}catch{}if(`get`in r||`set`in r)throw s(`Accessors not supported`);return`value`in r&&(e[t]=r.value),e}}),W=e((e,t)=>{var n=r(),i=U(),a=s();t.exports=n?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}}),G=e((e,t)=>{var n=r(),i=N(),a=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,s=i(a,`name`);t.exports={EXISTS:s,PROPER:s&&function(){}.name===`something`,CONFIGURABLE:s&&(!n||n&&o(a,`name`).configurable)}}),K=e((e,t)=>{var n=c(),r=h(),i=A(),a=n(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),t.exports=i.inspectSource}),q=e((e,n)=>{var r=t(),i=h(),a=r.WeakMap;n.exports=i(a)&&/native code/.test(String(a))}),ee=e((e,t)=>{var n=j(),r=P(),i=n(`keys`);t.exports=function(e){return i[e]||(i[e]=r(e))}}),J=e((e,t)=>{t.exports={}}),te=e((e,n)=>{var r=q(),i=t(),a=g(),o=W(),s=N(),c=A(),l=ee(),u=J(),d=`Object already initialized`,f=i.TypeError,p=i.WeakMap,m,h,_,v=function(e){return _(e)?h(e):m(e,{})},y=function(e){return function(t){var n;if(!a(t)||(n=h(t)).type!==e)throw f(`Incompatible receiver, `+e+` required`);return n}};r||c.state?(b=c.state||=new p,b.get=b.get,b.has=b.has,b.set=b.set,m=function(e,t){if(b.has(e))throw f(d);return t.facade=e,b.set(e,t),t},h=function(e){return b.get(e)||{}},_=function(e){return b.has(e)}):(x=l(`state`),u[x]=!0,m=function(e,t){if(s(e,x))throw f(d);return t.facade=e,o(e,x,t),t},h=function(e){return s(e,x)?e[x]:{}},_=function(e){return s(e,x)});var b,x;n.exports={set:m,get:h,has:_,enforce:v,getterFor:y}}),ne=e((e,t)=>{var i=n(),a=h(),o=N(),s=r(),c=G().CONFIGURABLE,l=K(),u=te(),d=u.enforce,f=u.get,p=Object.defineProperty,m=s&&!i(function(){return p(function(){},`length`,{value:8}).length!==8}),g=String(String).split(`String`),_=t.exports=function(e,t,n){String(t).slice(0,7)===`Symbol(`&&(t=`[`+String(t).replace(/^Symbol\(([^)]*)\)/,`$1`)+`]`),n&&n.getter&&(t=`get `+t),n&&n.setter&&(t=`set `+t),(!o(e,`name`)||c&&e.name!==t)&&(s?p(e,`name`,{value:t,configurable:!0}):e.name=t),m&&n&&o(n,`arity`)&&e.length!==n.arity&&p(e,`length`,{value:n.arity});try{n&&o(n,`constructor`)&&n.constructor?s&&p(e,`prototype`,{writable:!1}):e.prototype&&=void 0}catch{}var r=d(e);return o(r,`source`)||(r.source=g.join(typeof t==`string`?t:``)),e};Function.prototype.toString=_(function(){return a(this)&&f(this).source||l(this)},`toString`)}),Y=e((e,t)=>{var n=h(),r=U(),i=ne(),a=k();t.exports=function(e,t,o,s){s||={};var c=s.enumerable,l=s.name===void 0?t:s.name;if(n(o)&&i(o,l,s),s.global)c?e[t]=o:a(t,o);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch{}c?e[t]=o:r.f(e,t,{value:o,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}}),re=e((e,t)=>{var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}}),ie=e((e,t)=>{var n=re();t.exports=function(e){var t=+e;return t!==t||t===0?0:n(t)}}),ae=e((e,t)=>{var n=ie(),r=Math.max,i=Math.min;t.exports=function(e,t){var a=n(e);return a<0?r(a+t,0):i(a,t)}}),oe=e((e,t)=>{var n=ie(),r=Math.min;t.exports=function(e){return e>0?r(n(e),9007199254740991):0}}),se=e((e,t)=>{var n=oe();t.exports=function(e){return n(e.length)}}),ce=e((e,t)=>{var n=p(),r=ae(),i=se(),a=function(e){return function(t,a,o){var s=n(t),c=i(s),l=r(o,c),u;if(e&&a!=a){for(;c>l;)if(u=s[l++],u!=u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===a)return e||l||0;return!e&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}}),le=e((e,t)=>{var n=c(),r=N(),i=p(),a=ce().indexOf,o=J(),s=n([].push);t.exports=function(e,t){var n=i(e),c=0,l=[],u;for(u in n)!r(o,u)&&r(n,u)&&s(l,u);for(;t.length>c;)r(n,u=t[c++])&&(~a(l,u)||s(l,u));return l}}),ue=e((e,t)=>{t.exports=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`]}),de=e(e=>{var t=le(),n=ue().concat(`length`,`prototype`);e.f=Object.getOwnPropertyNames||function(e){return t(e,n)}}),fe=e(e=>{e.f=Object.getOwnPropertySymbols}),pe=e((e,t)=>{var n=_(),r=c(),i=de(),a=fe(),o=H(),s=r([].concat);t.exports=n(`Reflect`,`ownKeys`)||function(e){var t=i.f(o(e)),n=a.f;return n?s(t,n(e)):t}}),X=e((e,t)=>{var n=N(),r=pe(),i=B(),a=U();t.exports=function(e,t,o){for(var s=r(t),c=a.f,l=i.f,u=0;u<s.length;u++){var d=s[u];!n(e,d)&&!(o&&n(o,d))&&c(e,d,l(t,d))}}}),Z=e((e,t)=>{var r=n(),i=h(),a=/#|\.prototype\./,o=function(e,t){var n=c[s(e)];return n==u?!0:n==l?!1:i(t)?r(t):!!t},s=o.normalize=function(e){return String(e).replace(a,`.`).toLowerCase()},c=o.data={},l=o.NATIVE=`N`,u=o.POLYFILL=`P`;t.exports=o}),me=e((e,n)=>{var r=t(),i=B().f,a=W(),o=Y(),s=k(),c=X(),l=Z();n.exports=function(e,t){var n=e.target,u=e.global,d=e.stat,f,p,m,h,g,_;if(p=u?r:d?r[n]||s(n,{}):(r[n]||{}).prototype,p)for(m in t){if(g=t[m],e.dontCallGetSet?(_=i(p,m),h=_&&_.value):h=p[m],f=l(u?m:n+(d?`.`:`#`)+m,e.forced),!f&&h!==void 0){if(typeof g==typeof h)continue;c(g,h)}(e.sham||h&&h.sham)&&a(g,`sham`,!0),o(p,m,g,e)}}}),he=e((e,t)=>{var n=l();t.exports=Array.isArray||function(e){return n(e)==`Array`}}),ge=e((e,t)=>{var n=TypeError,r=9007199254740991;t.exports=function(e){if(e>r)throw n(`Maximum allowed index exceeded`);return e}}),_e=e((e,t)=>{var n=l(),r=c();t.exports=function(e){if(n(e)===`Function`)return r(e)}}),ve=e((e,t)=>{var n=_e(),r=T(),a=i(),o=n(n.bind);t.exports=function(e,t){return r(e),t===void 0?e:a?o(e,t):function(){return e.apply(t,arguments)}}}),ye=e((e,t)=>{var n=he(),r=se(),i=ge(),a=ve(),o=function(e,t,s,c,l,u,d,f){for(var p=l,m=0,h=d?a(d,f):!1,g,_;m<c;)m in s&&(g=h?h(s[m],m,t):s[m],u>0&&n(g)?(_=r(g),p=o(e,t,g,_,p,u-1)-1):(i(p+1),e[p]=g),p++),m++;return p};t.exports=o}),be=e((e,t)=>{var n=F()(`toStringTag`),r={};r[n]=`z`,t.exports=String(r)===`[object z]`}),xe=e((e,t)=>{var n=be(),r=h(),i=l(),a=F()(`toStringTag`),o=Object,s=i(function(){return arguments}())==`Arguments`,c=function(e,t){try{return e[t]}catch{}};t.exports=n?i:function(e){var t,n,l;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=c(t=o(e),a))==`string`?n:s?i(t):(l=i(t))==`Object`&&r(t.callee)?`Arguments`:l}}),Se=e((e,t)=>{var r=c(),i=n(),a=h(),o=xe(),s=_(),l=K(),u=function(){},d=[],f=s(`Reflect`,`construct`),p=/^\s*(?:class|function)\b/,m=r(p.exec),g=!p.exec(u),v=function(e){if(!a(e))return!1;try{return f(u,d,e),!0}catch{return!1}},y=function(e){if(!a(e))return!1;switch(o(e)){case`AsyncFunction`:case`GeneratorFunction`:case`AsyncGeneratorFunction`:return!1}try{return g||!!m(p,l(e))}catch{return!0}};y.sham=!0,t.exports=!f||i(function(){var e;return v(v.call)||!v(Object)||!v(function(){e=!0})||e})?y:v}),Ce=e((e,t)=>{var n=he(),r=Se(),i=g(),a=F()(`species`),o=Array;t.exports=function(e){var t;return n(e)&&(t=e.constructor,r(t)&&(t===o||n(t.prototype))?t=void 0:i(t)&&(t=t[a],t===null&&(t=void 0))),t===void 0?o:t}}),we=e((e,t)=>{var n=Ce();t.exports=function(e,t){return new(n(e))(t===0?0:t)}}),Te=e(()=>{var e=me(),t=ye(),n=T(),r=M(),i=se(),a=we();e({target:`Array`,proto:!0},{flatMap:function(e){var o=r(this),s=i(o),c;return n(e),c=a(o,0),c.length=t(c,o,o,s,0,1,e,arguments.length>1?arguments[1]:void 0),c}})}),Ee=e((e,t)=>{t.exports={}}),De=e((e,t)=>{var n=F(),r=Ee(),i=n(`iterator`),a=Array.prototype;t.exports=function(e){return e!==void 0&&(r.Array===e||a[i]===e)}}),Oe=e((e,t)=>{var n=xe(),r=E(),i=d(),a=Ee(),o=F()(`iterator`);t.exports=function(e){if(!i(e))return r(e,o)||r(e,`@@iterator`)||a[n(e)]}}),ke=e((e,t)=>{var n=a(),r=T(),i=H(),o=w(),s=Oe(),c=TypeError;t.exports=function(e,t){var a=arguments.length<2?s(e):t;if(r(a))return i(n(a,e));throw c(o(e)+` is not iterable`)}}),Ae=e((e,t)=>{var n=a(),r=H(),i=E();t.exports=function(e,t,a){var o,s;r(e);try{if(o=i(e,`return`),!o){if(t===`throw`)throw a;return a}o=n(o,e)}catch(e){s=!0,o=e}if(t===`throw`)throw a;if(s)throw o;return r(o),a}}),je=e((e,t)=>{var n=ve(),r=a(),i=H(),o=w(),s=De(),c=se(),l=v(),u=ke(),d=Oe(),f=Ae(),p=TypeError,m=function(e,t){this.stopped=e,this.result=t},h=m.prototype;t.exports=function(e,t,a){var g=a&&a.that,_=!!(a&&a.AS_ENTRIES),v=!!(a&&a.IS_RECORD),y=!!(a&&a.IS_ITERATOR),b=!!(a&&a.INTERRUPTED),x=n(t,g),S,C,w,T,E,D,O,k=function(e){return S&&f(S,`normal`,e),new m(!0,e)},A=function(e){return _?(i(e),b?x(e[0],e[1],k):x(e[0],e[1])):b?x(e,k):x(e)};if(v)S=e.iterator;else if(y)S=e;else{if(C=d(e),!C)throw p(o(e)+` is not iterable`);if(s(C)){for(w=0,T=c(e);T>w;w++)if(E=A(e[w]),E&&l(h,E))return E;return new m(!1)}S=u(e,C)}for(D=v?e.next:S.next;!(O=r(D,S)).done;){try{E=A(O.value)}catch(e){f(S,`throw`,e)}if(typeof E==`object`&&E&&l(h,E))return E}return new m(!1)}}),Me=e((e,t)=>{var n=L(),r=U(),i=s();t.exports=function(e,t,a){var o=n(t);o in e?r.f(e,o,i(0,a)):e[o]=a}}),Ne=e(()=>{var e=me(),t=je(),n=Me();e({target:`Object`,stat:!0},{fromEntries:function(e){var r={};return t(e,function(e,t){n(r,e,t)},{AS_ENTRIES:!0}),r}})}),Pe=e((e,t)=>{var n=ne(),r=U();t.exports=function(e,t,i){return i.get&&n(i.get,t,{getter:!0}),i.set&&n(i.set,t,{setter:!0}),r.f(e,t,i)}}),Fe=e((e,t)=>{var n=H();t.exports=function(){var e=n(this),t=``;return e.hasIndices&&(t+=`d`),e.global&&(t+=`g`),e.ignoreCase&&(t+=`i`),e.multiline&&(t+=`m`),e.dotAll&&(t+=`s`),e.unicode&&(t+=`u`),e.unicodeSets&&(t+=`v`),e.sticky&&(t+=`y`),t}}),Ie=e(()=>{var e=t(),i=r(),a=Pe(),o=Fe(),s=n(),c=e.RegExp,l=c.prototype;i&&s(function(){var e=!0;try{c(`.`,`d`)}catch{e=!1}var t={},n=``,r=e?`dgimsy`:`gimsy`,i=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},a={dotAll:`s`,global:`g`,ignoreCase:`i`,multiline:`m`,sticky:`y`};for(var o in e&&(a.hasIndices=`d`),a)i(o,a[o]);return Object.getOwnPropertyDescriptor(l,`flags`).get.call(t)!==r||n!==r})&&a(l,`flags`,{configurable:!0,get:o})}),Le=e(()=>{var e=me(),n=t();e({global:!0,forced:n.globalThis!==n},{globalThis:n})}),Re=e(()=>{Le()}),ze=e(()=>{var e=me(),t=ye(),n=M(),r=se(),i=ie(),a=we();e({target:`Array`,proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,o=n(this),s=r(o),c=a(o,0);return c.length=t(c,o,o,s,0,e===void 0?1:i(e)),c}})});return e((e,t)=>{var n=[`cliName`,`cliCategory`,`cliDescription`],r=[`_`],i=[`languageId`];function a(e,t){if(e==null)return{};var n=o(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function o(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}Te(),Ne(),Ie(),Re(),ze();var s=Object.create,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,d=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,p=(e,t)=>function(){return e&&(t=(0,e[u(e)[0]])(e=0)),t},m=(e,t)=>function(){return t||(0,e[u(e)[0]])((t={exports:{}}).exports,t),t.exports},h=(e,t)=>{for(var n in t)c(e,n,{get:t[n],enumerable:!0})},g=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let i of u(t))!f.call(e,i)&&i!==n&&c(e,i,{get:()=>t[i],enumerable:!(r=l(t,i))||r.enumerable});return e},_=(e,t,n)=>(n=e==null?{}:s(d(e)),g(t||!e||!e.__esModule?c(n,`default`,{value:e,enumerable:!0}):n,e)),v=e=>g(c({},`__esModule`,{value:!0}),e),y,b=p({"<define:process>"(){y={env:{},argv:[]}}}),x=m({"package.json"(e,t){t.exports={version:`2.8.8`}}}),S=m({"node_modules/diff/lib/diff/base.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0}),e.default=t;function t(){}t.prototype={diff:function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=i.callback;typeof i==`function`&&(a=i,i={}),this.options=i;var o=this;function s(e){return a?(setTimeout(function(){a(void 0,e)},0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var c=t.length,l=e.length,u=1,d=c+l,f=[{newPos:-1,components:[]}],p=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=c&&p+1>=l)return s([{value:this.join(t),count:t.length}]);function m(){for(var i=-1*u;i<=u;i+=2){var a=void 0,d=f[i-1],p=f[i+1],m=(p?p.newPos:0)-i;d&&(f[i-1]=void 0);var h=d&&d.newPos+1<c,g=p&&0<=m&&m<l;if(!h&&!g){f[i]=void 0;continue}if(!h||g&&d.newPos<p.newPos?(a=r(p),o.pushComponent(a.components,void 0,!0)):(a=d,a.newPos++,o.pushComponent(a.components,!0,void 0)),m=o.extractCommon(a,t,e,i),a.newPos+1>=c&&m+1>=l)return s(n(o,a.components,t,e,o.useLongestToken));f[i]=a}u++}if(a)(function e(){setTimeout(function(){if(u>d)return a();m()||e()},0)})();else for(;u<=d;){var h=m();if(h)return h}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var i=t.length,a=n.length,o=e.newPos,s=o-r,c=0;o+1<i&&s+1<a&&this.equals(t[o+1],n[s+1]);)o++,s++,c++;return c&&e.components.push({count:c}),e.newPos=o,s},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split(``)},join:function(e){return e.join(``)}};function n(e,t,n,r,i){for(var a=0,o=t.length,s=0,c=0;a<o;a++){var l=t[a];if(l.removed){if(l.value=e.join(r.slice(c,c+l.count)),c+=l.count,a&&t[a-1].added){var u=t[a-1];t[a-1]=t[a],t[a]=u}}else{if(!l.added&&i){var d=n.slice(s,s+l.count);d=d.map(function(e,t){var n=r[c+t];return n.length>e.length?n:e}),l.value=e.join(d)}else l.value=e.join(n.slice(s,s+l.count));s+=l.count,l.added||(c+=l.count)}}var f=t[o-1];return o>1&&typeof f.value==`string`&&(f.added||f.removed)&&e.equals(``,f.value)&&(t[o-2].value+=f.value,t.pop()),t}function r(e){return{newPos:e.newPos,components:e.components.slice(0)}}}}),C=m({"node_modules/diff/lib/diff/array.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0}),e.diffArrays=i,e.arrayDiff=void 0;var t=n(S());function n(e){return e&&e.__esModule?e:{default:e}}var r=new t.default;e.arrayDiff=r,r.tokenize=function(e){return e.slice()},r.join=r.removeEmpty=function(e){return e};function i(e,t,n){return r.diff(e,t,n)}}}),w=m({"src/document/doc-builders.js"(e,t){b();function n(e){return{type:`concat`,parts:e}}function r(e){return{type:`indent`,contents:e}}function i(e,t){return{type:`align`,contents:t,n:e}}function a(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:`group`,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function o(e){return i(-1/0,e)}function s(e){return i({type:`root`},e)}function c(e){return i(-1,e)}function l(e,t){return a(e[0],Object.assign(Object.assign({},t),{},{expandedStates:e}))}function u(e){return{type:`fill`,parts:e}}function d(e,t){return{type:`if-break`,breakContents:e,flatContents:t,groupId:(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).groupId}}function f(e,t){return{type:`indent-if-break`,contents:e,groupId:t.groupId,negate:t.negate}}function p(e){return{type:`line-suffix`,contents:e}}var m={type:`line-suffix-boundary`},h={type:`break-parent`},g={type:`trim`},_={type:`line`,hard:!0},v={type:`line`,hard:!0,literal:!0},y={type:`line`},x={type:`line`,soft:!0},S=n([_,h]),C=n([v,h]),w={type:`cursor`,placeholder:Symbol(`cursor`)};function T(e,t){let r=[];for(let n=0;n<t.length;n++)n!==0&&r.push(e),r.push(t[n]);return n(r)}function E(e,t,n){let a=e;if(t>0){for(let e=0;e<Math.floor(t/n);++e)a=r(a);a=i(t%n,a),a=i(-1/0,a)}return a}function D(e,t){return{type:`label`,label:e,contents:t}}t.exports={concat:n,join:T,line:y,softline:x,hardline:S,literalline:C,group:a,conditionalGroup:l,fill:u,lineSuffix:p,lineSuffixBoundary:m,cursor:w,breakParent:h,ifBreak:d,trim:g,indent:r,indentIfBreak:f,align:i,addAlignmentToDoc:E,markAsRoot:s,dedentToRoot:o,dedent:c,hardlineWithoutBreakParent:_,literallineWithoutBreakParent:v,label:D}}}),T=m({"src/common/end-of-line.js"(e,t){b();function n(e){let t=e.indexOf(`\r`);return t>=0?e.charAt(t+1)===`
|
|
137
|
-
`?`crlf`:`cr`:`lf`}function r(e){switch(e){case`cr`:return`\r`;case`crlf`:return`\r
|
|
138
|
-
`;default:return`
|
|
139
|
-
`}}function i(e,t){let n;switch(t){case`
|
|
140
|
-
`:n=/\n/g;break;case`\r`:n=/\r/g;break;case`\r
|
|
141
|
-
`:n=/\r\n/g;break;default:throw Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let r=e.match(n);return r?r.length:0}function a(e){return e.replace(/\r\n?/g,`
|
|
142
|
-
`)}t.exports={guessEndOfLine:n,convertEndOfLineToChars:r,countEndOfLineChars:i,normalizeEndOfLine:a}}}),E=m({"src/utils/get-last.js"(e,t){b(),t.exports=e=>e[e.length-1]}});function D(){let{onlyFirst:e=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=[`[\\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(t,e?void 0:`g`)}var O=p({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){b()}});function k(e){if(typeof e!=`string`)throw TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(D(),``)}var A=p({"node_modules/strip-ansi/index.js"(){b(),O()}});function j(e){return Number.isInteger(e)?e>=4352&&(e<=4447||e===9001||e===9002||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141):!1}var M=p({"node_modules/is-fullwidth-code-point/index.js"(){b()}}),N=m({"node_modules/emoji-regex/index.js"(e,t){b(),t.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}}}),P={};h(P,{default:()=>F});function F(e){if(typeof e!=`string`||e.length===0||(e=k(e),e.length===0))return 0;e=e.replace((0,I.default)(),` `);let t=0;for(let n=0;n<e.length;n++){let r=e.codePointAt(n);r<=31||r>=127&&r<=159||r>=768&&r<=879||(r>65535&&n++,t+=j(r)?2:1)}return t}var I,L=p({"node_modules/string-width/index.js"(){b(),A(),M(),I=_(N())}}),R=m({"src/utils/get-string-width.js"(e,t){b();var n=(L(),v(P)).default,r=/[^\x20-\x7F]/;function i(e){return e?r.test(e)?n(e):e.length:0}t.exports=i}}),z=m({"src/document/doc-utils.js"(e,t){b();var n=E(),{literalline:r,join:i}=w(),a=e=>Array.isArray(e)||e&&e.type===`concat`,o=e=>{if(Array.isArray(e))return e;if(e.type!==`concat`&&e.type!==`fill`)throw Error("Expect doc type to be `concat` or `fill`.");return e.parts},s={};function c(e,t,n,r){let i=[e];for(;i.length>0;){let e=i.pop();if(e===s){n(i.pop());continue}if(n&&i.push(e,s),!t||t(e)!==!1)if(a(e)||e.type===`fill`){let t=o(e);for(let e=t.length-1;e>=0;--e)i.push(t[e])}else if(e.type===`if-break`)e.flatContents&&i.push(e.flatContents),e.breakContents&&i.push(e.breakContents);else if(e.type===`group`&&e.expandedStates)if(r)for(let t=e.expandedStates.length,n=t-1;n>=0;--n)i.push(e.expandedStates[n]);else i.push(e.contents);else e.contents&&i.push(e.contents)}}function l(e,t){let n=new Map;return r(e);function r(e){if(n.has(e))return n.get(e);let t=i(e);return n.set(e,t),t}function i(e){if(Array.isArray(e))return t(e.map(r));if(e.type===`concat`||e.type===`fill`){let n=e.parts.map(r);return t(Object.assign(Object.assign({},e),{},{parts:n}))}if(e.type===`if-break`){let n=e.breakContents&&r(e.breakContents),i=e.flatContents&&r(e.flatContents);return t(Object.assign(Object.assign({},e),{},{breakContents:n,flatContents:i}))}if(e.type===`group`&&e.expandedStates){let n=e.expandedStates.map(r),i=n[0];return t(Object.assign(Object.assign({},e),{},{contents:i,expandedStates:n}))}if(e.contents){let n=r(e.contents);return t(Object.assign(Object.assign({},e),{},{contents:n}))}return t(e)}}function u(e,t,n){let r=n,i=!1;function a(e){let n=t(e);if(n!==void 0&&(i=!0,r=n),i)return!1}return c(e,a),r}function d(e){if(e.type===`group`&&e.break||e.type===`line`&&e.hard||e.type===`break-parent`)return!0}function f(e){return u(e,d,!1)}function p(e){if(e.length>0){let t=n(e);!t.expandedStates&&!t.break&&(t.break=`propagated`)}return null}function m(e){let t=new Set,n=[];function r(e){if(e.type===`break-parent`&&p(n),e.type===`group`){if(n.push(e),t.has(e))return!1;t.add(e)}}function i(e){e.type===`group`&&n.pop().break&&p(n)}c(e,r,i,!0)}function h(e){return e.type===`line`&&!e.hard?e.soft?``:` `:e.type===`if-break`?e.flatContents||``:e}function g(e){return l(e,h)}var _=(e,t)=>e&&e.type===`line`&&e.hard&&t&&t.type===`break-parent`;function v(e){if(!e)return e;if(a(e)||e.type===`fill`){let t=o(e);for(;t.length>1&&_(...t.slice(-2));)t.length-=2;if(t.length>0){let e=v(n(t));t[t.length-1]=e}return Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}switch(e.type){case`align`:case`indent`:case`indent-if-break`:case`group`:case`line-suffix`:case`label`:{let t=v(e.contents);return Object.assign(Object.assign({},e),{},{contents:t})}case`if-break`:{let t=v(e.breakContents),n=v(e.flatContents);return Object.assign(Object.assign({},e),{},{breakContents:t,flatContents:n})}}return e}function y(e){return v(S(e))}function x(e){switch(e.type){case`fill`:if(e.parts.every(e=>e===``))return``;break;case`group`:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return``;if(e.contents.type===`group`&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case`align`:case`indent`:case`indent-if-break`:case`line-suffix`:if(!e.contents)return``;break;case`if-break`:if(!e.flatContents&&!e.breakContents)return``;break}if(!a(e))return e;let t=[];for(let r of o(e)){if(!r)continue;let[e,...i]=a(r)?o(r):[r];typeof e==`string`&&typeof n(t)==`string`?t[t.length-1]+=e:t.push(e),t.push(...i)}return t.length===0?``:t.length===1?t[0]:Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}function S(e){return l(e,e=>x(e))}function C(e){let t=[],r=e.filter(Boolean);for(;r.length>0;){let e=r.shift();if(e){if(a(e)){r.unshift(...o(e));continue}if(t.length>0&&typeof n(t)==`string`&&typeof e==`string`){t[t.length-1]+=e;continue}t.push(e)}}return t}function T(e){return l(e,e=>Array.isArray(e)?C(e):e.parts?Object.assign(Object.assign({},e),{},{parts:C(e.parts)}):e)}function D(e){return l(e,e=>typeof e==`string`&&e.includes(`
|
|
143
|
-
`)?O(e):e)}function O(e){return i(arguments.length>1&&arguments[1]!==void 0?arguments[1]:r,e.split(`
|
|
144
|
-
`)).parts}function k(e){if(e.type===`line`)return!0}function A(e){return u(e,k,!1)}t.exports={isConcat:a,getDocParts:o,willBreak:f,traverseDoc:c,findInDoc:u,mapDoc:l,propagateBreaks:m,removeLines:g,stripTrailingHardline:y,normalizeParts:C,normalizeDoc:T,cleanDoc:S,replaceTextEndOfLine:O,replaceEndOfLine:D,canBreak:A}}}),B=m({"src/document/doc-printer.js"(e,t){b();var{convertEndOfLineToChars:n}=T(),r=E(),i=R(),{fill:a,cursor:o,indent:s}=w(),{isConcat:c,getDocParts:l}=z(),u,d=1,f=2;function p(){return{value:``,length:0,queue:[]}}function m(e,t){return g(e,{type:`indent`},t)}function h(e,t,n){return t===-1/0?e.root||p():t<0?g(e,{type:`dedent`},n):t?t.type===`root`?Object.assign(Object.assign({},e),{},{root:e}):g(e,{type:typeof t==`string`?`stringAlign`:`numberAlign`,n:t},n):e}function g(e,t,n){let r=t.type===`dedent`?e.queue.slice(0,-1):[...e.queue,t],i=``,a=0,o=0,s=0;for(let e of r)switch(e.type){case`indent`:u(),n.useTabs?c(1):l(n.tabWidth);break;case`stringAlign`:u(),i+=e.n,a+=e.n.length;break;case`numberAlign`:o+=1,s+=e.n;break;default:throw Error(`Unexpected type '${e.type}'`)}return f(),Object.assign(Object.assign({},e),{},{value:i,length:a,queue:r});function c(e){i+=` `.repeat(e),a+=n.tabWidth*e}function l(e){i+=` `.repeat(e),a+=e}function u(){n.useTabs?d():f()}function d(){o>0&&c(o),p()}function f(){s>0&&l(s),p()}function p(){o=0,s=0}}function _(e){if(e.length===0)return 0;let t=0;for(;e.length>0&&typeof r(e)==`string`&&/^[\t ]*$/.test(r(e));)t+=e.pop().length;if(e.length>0&&typeof r(e)==`string`){let n=r(e).replace(/[\t ]*$/,``);t+=r(e).length-n.length,e[e.length-1]=n}return t}function v(e,t,n,a,o){let s=t.length,p=[e],m=[];for(;n>=0;){if(p.length===0){if(s===0)return!0;p.push(t[--s]);continue}let{mode:e,doc:h}=p.pop();if(typeof h==`string`)m.push(h),n-=i(h);else if(c(h)||h.type===`fill`){let t=l(h);for(let n=t.length-1;n>=0;n--)p.push({mode:e,doc:t[n]})}else switch(h.type){case`indent`:case`align`:case`indent-if-break`:case`label`:p.push({mode:e,doc:h.contents});break;case`trim`:n+=_(m);break;case`group`:{if(o&&h.break)return!1;let t=h.break?d:e,n=h.expandedStates&&t===d?r(h.expandedStates):h.contents;p.push({mode:t,doc:n});break}case`if-break`:{let t=(h.groupId?u[h.groupId]||f:e)===d?h.breakContents:h.flatContents;t&&p.push({mode:e,doc:t});break}case`line`:if(e===d||h.hard)return!0;h.soft||(m.push(` `),n--);break;case`line-suffix`:a=!0;break;case`line-suffix-boundary`:if(a)return!1;break}}return!1}function y(e,t){u={};let g=t.printWidth,y=n(t.endOfLine),b=0,x=[{ind:p(),mode:d,doc:e}],S=[],C=!1,w=[];for(;x.length>0;){let{ind:e,mode:n,doc:p}=x.pop();if(typeof p==`string`){let e=y===`
|
|
145
|
-
`?p:p.replace(/\n/g,y);S.push(e),b+=i(e)}else if(c(p)){let t=l(p);for(let r=t.length-1;r>=0;r--)x.push({ind:e,mode:n,doc:t[r]})}else switch(p.type){case`cursor`:S.push(o.placeholder);break;case`indent`:x.push({ind:m(e,t),mode:n,doc:p.contents});break;case`align`:x.push({ind:h(e,p.n,t),mode:n,doc:p.contents});break;case`trim`:b-=_(S);break;case`group`:switch(n){case f:if(!C){x.push({ind:e,mode:p.break?d:f,doc:p.contents});break}case d:{C=!1;let t={ind:e,mode:f,doc:p.contents},n=g-b,i=w.length>0;if(!p.break&&v(t,x,n,i))x.push(t);else if(p.expandedStates){let t=r(p.expandedStates);if(p.break){x.push({ind:e,mode:d,doc:t});break}else for(let r=1;r<p.expandedStates.length+1;r++)if(r>=p.expandedStates.length){x.push({ind:e,mode:d,doc:t});break}else{let t={ind:e,mode:f,doc:p.expandedStates[r]};if(v(t,x,n,i)){x.push(t);break}}}else x.push({ind:e,mode:d,doc:p.contents});break}}p.id&&(u[p.id]=r(x).mode);break;case`fill`:{let t=g-b,{parts:r}=p;if(r.length===0)break;let[i,o]=r,s={ind:e,mode:f,doc:i},c={ind:e,mode:d,doc:i},l=v(s,[],t,w.length>0,!0);if(r.length===1){l?x.push(s):x.push(c);break}let u={ind:e,mode:f,doc:o},m={ind:e,mode:d,doc:o};if(r.length===2){l?x.push(u,s):x.push(m,c);break}r.splice(0,2);let h={ind:e,mode:n,doc:a(r)},_=r[0];v({ind:e,mode:f,doc:[i,o,_]},[],t,w.length>0,!0)?x.push(h,u,s):l?x.push(h,m,s):x.push(h,m,c);break}case`if-break`:case`indent-if-break`:{let t=p.groupId?u[p.groupId]:n;if(t===d){let t=p.type===`if-break`?p.breakContents:p.negate?p.contents:s(p.contents);t&&x.push({ind:e,mode:n,doc:t})}if(t===f){let t=p.type===`if-break`?p.flatContents:p.negate?s(p.contents):p.contents;t&&x.push({ind:e,mode:n,doc:t})}break}case`line-suffix`:w.push({ind:e,mode:n,doc:p.contents});break;case`line-suffix-boundary`:w.length>0&&x.push({ind:e,mode:n,doc:{type:`line`,hard:!0}});break;case`line`:switch(n){case f:if(p.hard)C=!0;else{p.soft||(S.push(` `),b+=1);break}case d:if(w.length>0){x.push({ind:e,mode:n,doc:p},...w.reverse()),w.length=0;break}p.literal?e.root?(S.push(y,e.root.value),b=e.root.length):(S.push(y),b=0):(b-=_(S),S.push(y+e.value),b=e.length);break}break;case`label`:x.push({ind:e,mode:n,doc:p.contents});break;default:}x.length===0&&w.length>0&&(x.push(...w.reverse()),w.length=0)}let T=S.indexOf(o.placeholder);if(T!==-1){let e=S.indexOf(o.placeholder,T+1),t=S.slice(0,T).join(``),n=S.slice(T+1,e).join(``),r=S.slice(e+1).join(``);return{formatted:t+n+r,cursorNodeStart:t.length,cursorNodeText:n}}return{formatted:S.join(``)}}t.exports={printDocToString:y}}}),V=m({"src/document/doc-debug.js"(e,t){b();var{isConcat:n,getDocParts:r}=z();function i(e){if(!e)return``;if(n(e)){let t=[];for(let a of r(e))if(n(a))t.push(...i(a).parts);else{let e=i(a);e!==``&&t.push(e)}return{type:`concat`,parts:t}}return e.type===`if-break`?Object.assign(Object.assign({},e),{},{breakContents:i(e.breakContents),flatContents:i(e.flatContents)}):e.type===`group`?Object.assign(Object.assign({},e),{},{contents:i(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(i)}):e.type===`fill`?{type:`fill`,parts:e.parts.map(i)}:e.contents?Object.assign(Object.assign({},e),{},{contents:i(e.contents)}):e}function a(e){let t=Object.create(null),a=new Set;return o(i(e));function o(e,t,i){if(typeof e==`string`)return JSON.stringify(e);if(n(e)){let t=r(e).map(o).filter(Boolean);return t.length===1?t[0]:`[${t.join(`, `)}]`}if(e.type===`line`){let n=Array.isArray(i)&&i[t+1]&&i[t+1].type===`break-parent`;return e.literal?n?`literalline`:`literallineWithoutBreakParent`:e.hard?n?`hardline`:`hardlineWithoutBreakParent`:e.soft?`softline`:`line`}if(e.type===`break-parent`)return Array.isArray(i)&&i[t-1]&&i[t-1].type===`line`&&i[t-1].hard?void 0:`breakParent`;if(e.type===`trim`)return`trim`;if(e.type===`indent`)return`indent(`+o(e.contents)+`)`;if(e.type===`align`)return e.n===-1/0?`dedentToRoot(`+o(e.contents)+`)`:e.n<0?`dedent(`+o(e.contents)+`)`:e.n.type===`root`?`markAsRoot(`+o(e.contents)+`)`:`align(`+JSON.stringify(e.n)+`, `+o(e.contents)+`)`;if(e.type===`if-break`)return`ifBreak(`+o(e.breakContents)+(e.flatContents?`, `+o(e.flatContents):``)+(e.groupId?(e.flatContents?``:`, ""`)+`, { groupId: ${s(e.groupId)} }`:``)+`)`;if(e.type===`indent-if-break`){let t=[];e.negate&&t.push(`negate: true`),e.groupId&&t.push(`groupId: ${s(e.groupId)}`);let n=t.length>0?`, { ${t.join(`, `)} }`:``;return`indentIfBreak(${o(e.contents)}${n})`}if(e.type===`group`){let t=[];e.break&&e.break!==`propagated`&&t.push(`shouldBreak: true`),e.id&&t.push(`id: ${s(e.id)}`);let n=t.length>0?`, { ${t.join(`, `)} }`:``;return e.expandedStates?`conditionalGroup([${e.expandedStates.map(e=>o(e)).join(`,`)}]${n})`:`group(${o(e.contents)}${n})`}if(e.type===`fill`)return`fill([${e.parts.map(e=>o(e)).join(`, `)}])`;if(e.type===`line-suffix`)return`lineSuffix(`+o(e.contents)+`)`;if(e.type===`line-suffix-boundary`)return`lineSuffixBoundary`;if(e.type===`label`)return`label(${JSON.stringify(e.label)}, ${o(e.contents)})`;throw Error(`Unknown doc type `+e.type)}function s(e){if(typeof e!=`symbol`)return JSON.stringify(String(e));if(e in t)return t[e];let n=String(e).slice(7,-1)||`symbol`;for(let r=0;;r++){let i=n+(r>0?` #${r}`:``);if(!a.has(i))return a.add(i),t[e]=`Symbol.for(${JSON.stringify(i)})`}}}t.exports={printDocToDebug:a}}}),H=m({"src/document/index.js"(e,t){b(),t.exports={builders:w(),printer:B(),utils:z(),debug:V()}}}),U={};h(U,{default:()=>W});function W(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}var G=p({"node_modules/escape-string-regexp/index.js"(){b()}}),K=m({"node_modules/semver/internal/debug.js"(e,t){b(),t.exports=typeof y==`object`&&y.env&&y.env.NODE_DEBUG&&/\bsemver\b/i.test(y.env.NODE_DEBUG)?function(){return console.error(`SEMVER`,...arguments)}:()=>{}}}),q=m({"node_modules/semver/internal/constants.js"(e,t){b(),t.exports={SEMVER_SPEC_VERSION:`2.0.0`,MAX_LENGTH:256,MAX_SAFE_INTEGER:2**53-1||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16}}}),ee=m({"node_modules/semver/internal/re.js"(e,t){b();var{MAX_SAFE_COMPONENT_LENGTH:n}=q(),r=K();e=t.exports={};var i=e.re=[],a=e.src=[],o=e.t={},s=0,c=(e,t,n)=>{let c=s++;r(e,c,t),o[e]=c,a[c]=t,i[c]=new RegExp(t,n?`g`:void 0)};c(`NUMERICIDENTIFIER`,`0|[1-9]\\d*`),c(`NUMERICIDENTIFIERLOOSE`,`[0-9]+`),c(`NONNUMERICIDENTIFIER`,`\\d*[a-zA-Z-][a-zA-Z0-9-]*`),c(`MAINVERSION`,`(${a[o.NUMERICIDENTIFIER]})\\.(${a[o.NUMERICIDENTIFIER]})\\.(${a[o.NUMERICIDENTIFIER]})`),c(`MAINVERSIONLOOSE`,`(${a[o.NUMERICIDENTIFIERLOOSE]})\\.(${a[o.NUMERICIDENTIFIERLOOSE]})\\.(${a[o.NUMERICIDENTIFIERLOOSE]})`),c(`PRERELEASEIDENTIFIER`,`(?:${a[o.NUMERICIDENTIFIER]}|${a[o.NONNUMERICIDENTIFIER]})`),c(`PRERELEASEIDENTIFIERLOOSE`,`(?:${a[o.NUMERICIDENTIFIERLOOSE]}|${a[o.NONNUMERICIDENTIFIER]})`),c(`PRERELEASE`,`(?:-(${a[o.PRERELEASEIDENTIFIER]}(?:\\.${a[o.PRERELEASEIDENTIFIER]})*))`),c(`PRERELEASELOOSE`,`(?:-?(${a[o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[o.PRERELEASEIDENTIFIERLOOSE]})*))`),c(`BUILDIDENTIFIER`,`[0-9A-Za-z-]+`),c(`BUILD`,`(?:\\+(${a[o.BUILDIDENTIFIER]}(?:\\.${a[o.BUILDIDENTIFIER]})*))`),c(`FULLPLAIN`,`v?${a[o.MAINVERSION]}${a[o.PRERELEASE]}?${a[o.BUILD]}?`),c(`FULL`,`^${a[o.FULLPLAIN]}$`),c(`LOOSEPLAIN`,`[v=\\s]*${a[o.MAINVERSIONLOOSE]}${a[o.PRERELEASELOOSE]}?${a[o.BUILD]}?`),c(`LOOSE`,`^${a[o.LOOSEPLAIN]}$`),c(`GTLT`,`((?:<|>)?=?)`),c(`XRANGEIDENTIFIERLOOSE`,`${a[o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c(`XRANGEIDENTIFIER`,`${a[o.NUMERICIDENTIFIER]}|x|X|\\*`),c(`XRANGEPLAIN`,`[v=\\s]*(${a[o.XRANGEIDENTIFIER]})(?:\\.(${a[o.XRANGEIDENTIFIER]})(?:\\.(${a[o.XRANGEIDENTIFIER]})(?:${a[o.PRERELEASE]})?${a[o.BUILD]}?)?)?`),c(`XRANGEPLAINLOOSE`,`[v=\\s]*(${a[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[o.XRANGEIDENTIFIERLOOSE]})(?:${a[o.PRERELEASELOOSE]})?${a[o.BUILD]}?)?)?`),c(`XRANGE`,`^${a[o.GTLT]}\\s*${a[o.XRANGEPLAIN]}$`),c(`XRANGELOOSE`,`^${a[o.GTLT]}\\s*${a[o.XRANGEPLAINLOOSE]}$`),c(`COERCE`,`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),c(`COERCERTL`,a[o.COERCE],!0),c(`LONETILDE`,`(?:~>?)`),c(`TILDETRIM`,`(\\s*)${a[o.LONETILDE]}\\s+`,!0),e.tildeTrimReplace=`$1~`,c(`TILDE`,`^${a[o.LONETILDE]}${a[o.XRANGEPLAIN]}$`),c(`TILDELOOSE`,`^${a[o.LONETILDE]}${a[o.XRANGEPLAINLOOSE]}$`),c(`LONECARET`,`(?:\\^)`),c(`CARETTRIM`,`(\\s*)${a[o.LONECARET]}\\s+`,!0),e.caretTrimReplace=`$1^`,c(`CARET`,`^${a[o.LONECARET]}${a[o.XRANGEPLAIN]}$`),c(`CARETLOOSE`,`^${a[o.LONECARET]}${a[o.XRANGEPLAINLOOSE]}$`),c(`COMPARATORLOOSE`,`^${a[o.GTLT]}\\s*(${a[o.LOOSEPLAIN]})$|^$`),c(`COMPARATOR`,`^${a[o.GTLT]}\\s*(${a[o.FULLPLAIN]})$|^$`),c(`COMPARATORTRIM`,`(\\s*)${a[o.GTLT]}\\s*(${a[o.LOOSEPLAIN]}|${a[o.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace=`$1$2$3`,c(`HYPHENRANGE`,`^\\s*(${a[o.XRANGEPLAIN]})\\s+-\\s+(${a[o.XRANGEPLAIN]})\\s*$`),c(`HYPHENRANGELOOSE`,`^\\s*(${a[o.XRANGEPLAINLOOSE]})\\s+-\\s+(${a[o.XRANGEPLAINLOOSE]})\\s*$`),c(`STAR`,`(<|>)?=?\\s*\\*`),c(`GTE0`,`^\\s*>=\\s*0\\.0\\.0\\s*$`),c(`GTE0PRE`,`^\\s*>=\\s*0\\.0\\.0-0\\s*$`)}}),J=m({"node_modules/semver/internal/parse-options.js"(e,t){b();var n=[`includePrerelease`,`loose`,`rtl`];t.exports=e=>e?typeof e==`object`?n.filter(t=>e[t]).reduce((e,t)=>(e[t]=!0,e),{}):{loose:!0}:{}}}),te=m({"node_modules/semver/internal/identifiers.js"(e,t){b();var n=/^[0-9]+$/,r=(e,t)=>{let r=n.test(e),i=n.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:e<t?-1:1};t.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}}}),ne=m({"node_modules/semver/classes/semver.js"(e,t){b();var n=K(),{MAX_LENGTH:r,MAX_SAFE_INTEGER:i}=q(),{re:a,t:o}=ee(),s=J(),{compareIdentifiers:c}=te(),l=class{constructor(e,t){if(t=s(t),e instanceof l){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!=`string`)throw TypeError(`Invalid Version: ${e}`);if(e.length>r)throw TypeError(`version is longer than ${r} characters`);n(`SemVer`,e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let c=e.trim().match(t.loose?a[o.LOOSE]:a[o.FULL]);if(!c)throw TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+c[1],this.minor=+c[2],this.patch=+c[3],this.major>i||this.major<0)throw TypeError(`Invalid major version`);if(this.minor>i||this.minor<0)throw TypeError(`Invalid minor version`);if(this.patch>i||this.patch<0)throw TypeError(`Invalid patch version`);c[4]?this.prerelease=c[4].split(`.`).map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<i)return t}return e}):this.prerelease=[],this.build=c[5]?c[5].split(`.`):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(`.`)}`),this.version}toString(){return this.version}compare(e){if(n(`SemVer.compare`,this.version,this.options,e),!(e instanceof l)){if(typeof e==`string`&&e===this.version)return 0;e=new l(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof l||(e=new l(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof l||(e=new l(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let r=this.prerelease[t],i=e.prerelease[t];if(n(`prerelease compare`,t,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r===i)continue;return c(r,i)}while(++t)}compareBuild(e){e instanceof l||(e=new l(e,this.options));let t=0;do{let r=this.build[t],i=e.build[t];if(n(`prerelease compare`,t,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r===i)continue;return c(r,i)}while(++t)}inc(e,t){switch(e){case`premajor`:this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc(`pre`,t);break;case`preminor`:this.prerelease.length=0,this.patch=0,this.minor++,this.inc(`pre`,t);break;case`prepatch`:this.prerelease.length=0,this.inc(`patch`,t),this.inc(`pre`,t);break;case`prerelease`:this.prerelease.length===0&&this.inc(`patch`,t),this.inc(`pre`,t);break;case`major`:(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case`minor`:(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case`patch`:this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case`pre`:if(this.prerelease.length===0)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)typeof this.prerelease[e]==`number`&&(this.prerelease[e]++,e=-2);e===-1&&this.prerelease.push(0)}t&&(c(this.prerelease[0],t)===0?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}};t.exports=l}}),Y=m({"node_modules/semver/functions/compare.js"(e,t){b();var n=ne();t.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))}}),re=m({"node_modules/semver/functions/lt.js"(e,t){b();var n=Y();t.exports=(e,t,r)=>n(e,t,r)<0}}),ie=m({"node_modules/semver/functions/gte.js"(e,t){b();var n=Y();t.exports=(e,t,r)=>n(e,t,r)>=0}}),ae=m({"src/utils/arrayify.js"(e,t){b(),t.exports=(e,t)=>Object.entries(e).map(e=>{let[n,r]=e;return Object.assign({[t]:n},r)})}}),oe=m({"node_modules/outdent/lib/index.js"(e,t){b(),Object.defineProperty(e,`__esModule`,{value:!0}),e.outdent=void 0;function n(){}function r(){return typeof WeakMap<`u`?new WeakMap:i()}function i(){return{add:n,delete:n,get:n,set:n,has:function(e){return!1}}}var a=Object.prototype.hasOwnProperty,o=function(e,t){return a.call(e,t)};function s(e,t){for(var n in t)o(t,n)&&(e[n]=t[n]);return e}var c=/^[ \t]*(?:\r\n|\r|\n)/,l=/(?:\r\n|\r|\n)[ \t]*$/,u=/^(?:[\r\n]|$)/,d=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,f=/^[ \t]*[\r\n][ \t\r\n]*$/;function p(e,t,n){var r=0,i=e[0].match(d);i&&(r=i[1].length);var a=`(\\r\\n|\\r|\\n).{0,`+r+`}`,o=new RegExp(a,`g`);t&&(e=e.slice(1));var s=n.newline,u=n.trimLeadingNewline,f=n.trimTrailingNewline,p=typeof s==`string`,m=e.length;return e.map(function(e,t){return e=e.replace(o,`$1`),t===0&&u&&(e=e.replace(c,``)),t===m-1&&f&&(e=e.replace(l,``)),p&&(e=e.replace(/\r\n|\n|\r/g,function(e){return s})),e})}function m(e,t){for(var n=``,r=0,i=e.length;r<i;r++)n+=e[r],r<i-1&&(n+=t[r]);return n}function h(e){return o(e,`raw`)&&o(e,`length`)}function g(e){var t=r(),n=r();function i(r){var a=[...arguments].slice(1);if(h(r)){var o=r,c=(a[0]===i||a[0]===_)&&f.test(o[0])&&u.test(o[1]),l=c?n:t,d=l.get(o);return d||(d=p(o,c,e),l.set(o,d)),a.length===0?d[0]:m(d,c?a.slice(1):a)}else return g(s(s({},e),r||{}))}return s(i,{string:function(t){return p([t],!1,e)[0]}})}var _=g({trimLeadingNewline:!0,trimTrailingNewline:!0});if(e.outdent=_,e.default=_,typeof t<`u`)try{t.exports=_,Object.defineProperty(_,`__esModule`,{value:!0}),_.default=_,_.outdent=_}catch{}}}),se=m({"src/main/core-options.js"(e,t){b();var{outdent:n}=oe(),r=`Config`,i=`Editor`,a=`Format`,o=`Other`,s=`Output`,c=`Global`,l=`Special`;t.exports={CATEGORY_CONFIG:r,CATEGORY_EDITOR:i,CATEGORY_FORMAT:a,CATEGORY_OTHER:o,CATEGORY_OUTPUT:s,CATEGORY_GLOBAL:c,CATEGORY_SPECIAL:l,options:{cursorOffset:{since:`1.4.0`,category:l,type:`int`,default:-1,range:{start:-1,end:1/0,step:1},description:n`
|
|
146
|
-
Print (to stderr) where a cursor at the given position would move to after formatting.
|
|
147
|
-
This option cannot be used with --range-start and --range-end.
|
|
148
|
-
`,cliCategory:i},endOfLine:{since:`1.15.0`,category:c,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:n`
|
|
149
|
-
Maintain existing
|
|
150
|
-
(mixed values within one file are normalised by looking at what's used after the first line)
|
|
151
|
-
`}]},filepath:{since:`1.4.0`,category:l,type:`path`,description:`Specify the input filepath. This will be used to do parser inference.`,cliName:`stdin-filepath`,cliCategory:o,cliDescription:`Path to the file to pretend that stdin comes from.`},insertPragma:{since:`1.8.0`,category:l,type:`boolean`,default:!1,description:`Insert @format pragma into file's first docblock comment.`,cliCategory:o},parser:{since:`0.0.10`,category:c,type:`choice`,default:[{since:`0.0.10`,value:`babylon`},{since:`1.13.0`,value:void 0}],description:`Which parser to use.`,exception:e=>typeof e==`string`||typeof e==`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:c,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>typeof e==`string`||typeof e==`object`,cliName:`plugin`,cliCategory:r},pluginSearchDirs:{since:`1.13.0`,type:`path`,array:!0,default:[{value:[]}],category:c,description:n`
|
|
152
|
-
Custom directory that contains prettier plugins in node_modules subdirectory.
|
|
153
|
-
Overrides default behavior when plugins are searched relatively to the location of Prettier.
|
|
154
|
-
Multiple values are accepted.
|
|
155
|
-
`,exception:e=>typeof e==`string`||typeof e==`object`,cliName:`plugin-search-dir`,cliCategory:r},printWidth:{since:`0.0.0`,category:c,type:`int`,default:80,description:`The line length where Prettier will try wrap.`,range:{start:0,end:1/0,step:1}},rangeEnd:{since:`1.4.0`,category:l,type:`int`,default:1/0,range:{start:0,end:1/0,step:1},description:n`
|
|
156
|
-
Format code ending at a given character offset (exclusive).
|
|
157
|
-
The range will extend forwards to the end of the selected statement.
|
|
158
|
-
This option cannot be used with --cursor-offset.
|
|
159
|
-
`,cliCategory:i},rangeStart:{since:`1.4.0`,category:l,type:`int`,default:0,range:{start:0,end:1/0,step:1},description:n`
|
|
160
|
-
Format code starting at a given character offset.
|
|
161
|
-
The range will extend backwards to the start of the first line containing the selected statement.
|
|
162
|
-
This option cannot be used with --cursor-offset.
|
|
163
|
-
`,cliCategory:i},requirePragma:{since:`1.7.0`,category:l,type:`boolean`,default:!1,description:n`
|
|
164
|
-
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
165
|
-
in order for it to be formatted.
|
|
166
|
-
`,cliCategory:o},tabWidth:{type:`int`,category:c,default:2,description:`Number of spaces per indentation level.`,range:{start:0,end:1/0,step:1}},useTabs:{since:`1.0.0`,category:c,type:`boolean`,default:!1,description:`Indent with tabs instead of spaces.`},embeddedLanguageFormatting:{since:`2.1.0`,category:c,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.`}]}}}}}),ce=m({"src/main/support.js"(e,t){b();var r={compare:Y(),lt:re(),gte:ie()},i=ae(),o=x().version,s=se().options;function c(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:c=!1,showInternal:u=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=o.split(`-`,1)[0],f=e.flatMap(e=>e.languages||[]).filter(p);return{languages:f,options:i(Object.assign({},...e.map(e=>{let{options:t}=e;return t}),s),`name`).filter(e=>p(e)&&m(e)).sort((e,t)=>e.name===t.name?0:e.name<t.name?-1:1).map(h).map(t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=t.default.length===1?t.default[0].value:t.default.filter(p).sort((e,t)=>r.compare(t.since,e.since))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter(e=>p(e)&&m(e)),t.name===`parser`&&l(t,f,e));let n=Object.fromEntries(e.filter(e=>e.defaultOptions&&e.defaultOptions[t.name]!==void 0).map(e=>[e.name,e.defaultOptions[t.name]]));return Object.assign(Object.assign({},t),{},{pluginDefaults:n})})};function p(e){return t||!(`since`in e)||e.since&&r.gte(d,e.since)}function m(e){return c||!(`deprecated`in e)||e.deprecated&&r.lt(d,e.deprecated)}function h(e){if(u)return e;let{cliName:t,cliCategory:r,cliDescription:i}=e;return a(e,n)}}function l(e,t,n){let r=new Set(e.choices.map(e=>e.value));for(let i of t)if(i.parsers){for(let t of i.parsers)if(!r.has(t)){r.add(t);let a=n.find(e=>e.parsers&&e.parsers[t]),o=i.name;a&&a.name&&(o+=` (plugin: ${a.name})`),e.choices.push({value:t,description:o})}}}t.exports={getSupportInfo:c}}}),le=m({"src/utils/is-non-empty-array.js"(e,t){b();function n(e){return Array.isArray(e)&&e.length>0}t.exports=n}}),ue=m({"src/utils/text/skip.js"(e,t){b();function n(e){return(t,n,r)=>{let i=r&&r.backwards;if(n===!1)return!1;let{length:a}=t,o=n;for(;o>=0&&o<a;){let n=t.charAt(o);if(e instanceof RegExp){if(!e.test(n))return o}else if(!e.includes(n))return o;i?o--:o++}return o===-1||o===a?o:!1}}t.exports={skipWhitespace:n(/\s/),skipSpaces:n(` `),skipToLineEnd:n(`,; `),skipEverythingButNewLine:n(/[^\n\r]/)}}}),de=m({"src/utils/text/skip-inline-comment.js"(e,t){b();function n(e,t){if(t===!1)return!1;if(e.charAt(t)===`/`&&e.charAt(t+1)===`*`){for(let n=t+2;n<e.length;++n)if(e.charAt(n)===`*`&&e.charAt(n+1)===`/`)return n+2}return t}t.exports=n}}),fe=m({"src/utils/text/skip-trailing-comment.js"(e,t){b();var{skipEverythingButNewLine:n}=ue();function r(e,t){return t===!1?!1:e.charAt(t)===`/`&&e.charAt(t+1)===`/`?n(e,t):t}t.exports=r}}),pe=m({"src/utils/text/skip-newline.js"(e,t){b();function n(e,t,n){let r=n&&n.backwards;if(t===!1)return!1;let i=e.charAt(t);if(r){if(e.charAt(t-1)===`\r`&&i===`
|
|
167
|
-
`)return t-2;if(i===`
|
|
168
|
-
`||i===`\r`||i===`\u2028`||i===`\u2029`)return t-1}else{if(i===`\r`&&e.charAt(t+1)===`
|
|
169
|
-
`)return t+2;if(i===`
|
|
170
|
-
`||i===`\r`||i===`\u2028`||i===`\u2029`)return t+1}return t}t.exports=n}}),X=m({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){b();var n=de(),r=pe(),i=fe(),{skipSpaces:a}=ue();function o(e,t){let o=null,s=t;for(;s!==o;)o=s,s=a(e,s),s=n(e,s),s=i(e,s),s=r(e,s);return s}t.exports=o}}),Z=m({"src/common/util.js"(e,t){b();var{default:n}=(G(),v(U)),r=E(),{getSupportInfo:i}=ce(),a=le(),o=R(),{skipWhitespace:s,skipSpaces:c,skipToLineEnd:l,skipEverythingButNewLine:u}=ue(),d=de(),f=fe(),p=pe(),m=X(),h=e=>e[e.length-2];function g(e){return(t,n,r)=>{let i=r&&r.backwards;if(n===!1)return!1;let{length:a}=t,o=n;for(;o>=0&&o<a;){let n=t.charAt(o);if(e instanceof RegExp){if(!e.test(n))return o}else if(!e.includes(n))return o;i?o--:o++}return o===-1||o===a?o:!1}}function _(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=c(e,n.backwards?t-1:t,n);return r!==p(e,r,n)}function y(e,t,n){for(let r=t;r<n;++r)if(e.charAt(r)===`
|
|
171
|
-
`)return!0;return!1}function x(e,t,n){let r=n(t)-1;r=c(e,r,{backwards:!0}),r=p(e,r,{backwards:!0}),r=c(e,r,{backwards:!0});let i=p(e,r,{backwards:!0});return r!==i}function S(e,t){let n=null,r=t;for(;r!==n;)n=r,r=l(e,r),r=d(e,r),r=c(e,r);return r=f(e,r),r=p(e,r),r!==!1&&_(e,r)}function C(e,t,n){return S(e,n(t))}function w(e,t,n){return m(e,n(t))}function T(e,t,n){return e.charAt(w(e,t,n))}function D(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return c(e,n.backwards?t-1:t,n)!==t}function O(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=0;for(let i=n;i<e.length;++i)e[i]===` `?r=r+t-r%t:r++;return r}function k(e,t){let n=e.lastIndexOf(`
|
|
172
|
-
`);return n===-1?0:O(e.slice(n+1).match(/^[\t ]*/)[0],t)}function A(e,t){let n={quote:`"`,regex:/"/g,escaped:`"`},r={quote:`'`,regex:/'/g,escaped:`'`},i=t===`'`?r:n,a=i===r?n:r,o=i;return(e.includes(i.quote)||e.includes(a.quote))&&(o=(e.match(i.regex)||[]).length>(e.match(a.regex)||[]).length?a:i),o}function j(e,t){let n=e.slice(1,-1);return M(n,t.parser===`json`||t.parser===`json5`&&t.quoteProps===`preserve`&&!t.singleQuote?`"`:t.__isInHtmlAttribute?`'`:A(n,t.singleQuote?`'`:`"`).quote,!(t.parser===`css`||t.parser===`less`||t.parser===`scss`||t.__embeddedInHtml))}function M(e,t,n){let r=t===`"`?`'`:`"`;return t+e.replace(/\\(.)|(["'])/gs,(e,i,a)=>i===r?i:a===t?`\\`+a:a||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:`\\`+i))+t}function N(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,`$1$2$3`).replace(/^([+-]?[\d.]+)e[+-]?0+$/,`$1`).replace(/^([+-])?\./,`$10.`).replace(/(\.\d+?)0+(?=e|$)/,`$1`).replace(/\.(?=e|$)/,``)}function P(e,t){let r=e.match(RegExp(`(${n(t)})+`,`g`));return r===null?0:r.reduce((e,n)=>Math.max(e,n.length/t.length),0)}function F(e,t){let r=e.match(RegExp(`(${n(t)})+`,`g`));if(r===null)return 0;let i=new Map,a=0;for(let e of r){let n=e.length/t.length;i.set(n,!0),n>a&&(a=n)}for(let e=1;e<a;e++)if(!i.get(e))return e;return a+1}function I(e,t){(e.comments||=[]).push(t),t.printed=!1,t.nodeDescription=K(e)}function L(e,t){t.leading=!0,t.trailing=!1,I(e,t)}function z(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),I(e,t)}function B(e,t){t.leading=!1,t.trailing=!0,I(e,t)}function V(e,t){let{languages:n}=i({plugins:t.plugins}),r=n.find(t=>{let{name:n}=t;return n.toLowerCase()===e})||n.find(t=>{let{aliases:n}=t;return Array.isArray(n)&&n.includes(e)})||n.find(t=>{let{extensions:n}=t;return Array.isArray(n)&&n.includes(`.${e}`)});return r&&r.parsers[0]}function H(e){return e&&e.type===`front-matter`}function W(e){let t=new WeakMap;return function(n){return t.has(n)||t.set(n,Symbol(e)),t.get(n)}}function K(e){let t=e.type||e.kind||`(unknown type)`,n=String(e.name||e.id&&(typeof e.id==`object`?e.id.name:e.id)||e.key&&(typeof e.key==`object`?e.key.name:e.key)||e.value&&(typeof e.value==`object`?``:String(e.value))||e.operator||``);return n.length>20&&(n=n.slice(0,19)+`…`),t+(n?` `+n:``)}t.exports={inferParserByLanguage:V,getStringWidth:o,getMaxContinuousCount:P,getMinNotPresentContinuousCount:F,getPenultimate:h,getLast:r,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:m,getNextNonSpaceNonCommentCharacterIndex:w,getNextNonSpaceNonCommentCharacter:T,skip:g,skipWhitespace:s,skipSpaces:c,skipToLineEnd:l,skipEverythingButNewLine:u,skipInlineComment:d,skipTrailingComment:f,skipNewline:p,isNextLineEmptyAfterIndex:S,isNextLineEmpty:C,isPreviousLineEmpty:x,hasNewline:_,hasNewlineInRange:y,hasSpaces:D,getAlignmentSize:O,getIndentSize:k,getPreferredQuote:A,printString:j,printNumber:N,makeString:M,addLeadingComment:L,addDanglingComment:z,addTrailingComment:B,isFrontMatterNode:H,isNonEmptyArray:a,createGroupIdMapper:W}}}),me={};h(me,{basename:()=>Se,default:()=>Ae,delimiter:()=>ke,dirname:()=>xe,extname:()=>Ce,isAbsolute:()=>ve,join:()=>ye,normalize:()=>_e,relative:()=>be,resolve:()=>ge,sep:()=>Oe});function he(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];i===`.`?e.splice(r,1):i===`..`?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;)e.unshift(`..`);return e}function ge(){for(var e=``,t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:`/`;if(typeof r!=`string`)throw TypeError(`Arguments to path.resolve must be strings`);r&&(e=r+`/`+e,t=r.charAt(0)===`/`)}return e=he(we(e.split(`/`),function(e){return!!e}),!t).join(`/`),(t?`/`:``)+e||`.`}function _e(e){var t=ve(e),n=je(e,-1)===`/`;return e=he(we(e.split(`/`),function(e){return!!e}),!t).join(`/`),!e&&!t&&(e=`.`),e&&n&&(e+=`/`),(t?`/`:``)+e}function ve(e){return e.charAt(0)===`/`}function ye(){return _e(we(Array.prototype.slice.call(arguments,0),function(e,t){if(typeof e!=`string`)throw TypeError(`Arguments to path.join must be strings`);return e}).join(`/`))}function be(e,t){e=ge(e).substr(1),t=ge(t).substr(1);function n(e){for(var t=0;t<e.length&&e[t]===``;t++);for(var n=e.length-1;n>=0&&e[n]===``;n--);return t>n?[]:e.slice(t,n-t+1)}for(var r=n(e.split(`/`)),i=n(t.split(`/`)),a=Math.min(r.length,i.length),o=a,s=0;s<a;s++)if(r[s]!==i[s]){o=s;break}for(var c=[],s=o;s<r.length;s++)c.push(`..`);return c=c.concat(i.slice(o)),c.join(`/`)}function xe(e){var t=De(e),n=t[0],r=t[1];return!n&&!r?`.`:(r&&=r.substr(0,r.length-1),n+r)}function Se(e,t){var n=De(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n}function Ce(e){return De(e)[3]}function we(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}var Ee,De,Oe,ke,Ae,je,Me=p({"node-modules-polyfills:path"(){b(),Ee=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,De=function(e){return Ee.exec(e).slice(1)},Oe=`/`,ke=`:`,Ae={extname:Ce,basename:Se,dirname:xe,sep:Oe,delimiter:ke,relative:be,join:ye,isAbsolute:ve,normalize:_e,resolve:ge},je=`ab`.substr(-1)===`b`?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}}),Pe=m({"node-modules-polyfills-commonjs:path"(e,t){b();var n=(Me(),v(me));if(n&&n.default){t.exports=n.default;for(let e in n)t.exports[e]=n[e]}else n&&(t.exports=n)}}),Fe=m({"src/common/errors.js"(e,t){b(),t.exports={ConfigError:class extends Error{},DebugError:class extends Error{},UndefinedParserError:class extends Error{},ArgExpansionBailout:class extends Error{}}}}),Le={};h(Le,{__assign:()=>lt,__asyncDelegator:()=>tt,__asyncGenerator:()=>et,__asyncValues:()=>nt,__await:()=>$e,__awaiter:()=>Ge,__classPrivateFieldGet:()=>ot,__classPrivateFieldSet:()=>st,__createBinding:()=>qe,__decorate:()=>He,__exportStar:()=>Je,__extends:()=>Be,__generator:()=>Ke,__importDefault:()=>at,__importStar:()=>it,__makeTemplateObject:()=>rt,__metadata:()=>We,__param:()=>Ue,__read:()=>Xe,__rest:()=>Ve,__spread:()=>Ze,__spreadArrays:()=>Qe,__values:()=>Ye});function Be(e,t){ct(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function Ve(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function He(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function Ue(e,t){return function(n,r){t(n,r,e)}}function We(e,t){if(typeof Reflect==`object`&&typeof Reflect.metadata==`function`)return Reflect.metadata(e,t)}function Ge(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})}function Ke(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(o){if(r)throw TypeError(`Generator is already executing.`);for(;n;)try{if(r=1,i&&(a=o[0]&2?i.return:o[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;switch(i=0,a&&(o=[o[0]&2,a.value]),o[0]){case 0:case 1:a=o;break;case 4:return n.label++,{value:o[1],done:!1};case 5:n.label++,i=o[1],o=[0];continue;case 7:o=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1],a=o;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(o);break}a[2]&&n.ops.pop(),n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e],i=0}finally{r=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}function qe(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]}function Je(e,t){for(var n in e)n!==`default`&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function Ye(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}function Xe(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}function Ze(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Xe(arguments[t]));return e}function Qe(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,i++)r[i]=a[o];return r}function $e(e){return this instanceof $e?(this.v=e,this):new $e(e)}function et(e,t,n){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),i,a=[];return i={},o(`next`),o(`throw`),o(`return`),i[Symbol.asyncIterator]=function(){return this},i;function o(e){r[e]&&(i[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||s(e,t)})})}function s(e,t){try{c(r[e](t))}catch(e){d(a[0][3],e)}}function c(e){e.value instanceof $e?Promise.resolve(e.value.v).then(l,u):d(a[0][2],e)}function l(e){s(`next`,e)}function u(e){s(`throw`,e)}function d(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}}function tt(e){var t,n;return t={},r(`next`),r(`throw`,function(e){throw e}),r(`return`),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:$e(e[r](t)),done:r===`return`}:i?i(t):t}:i}}function nt(e){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Ye==`function`?Ye(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise(function(r,a){n=e[t](n),i(r,a,n.done,n.value)})}}function i(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}}function rt(e,t){return Object.defineProperty?Object.defineProperty(e,`raw`,{value:t}):e.raw=t,e}function it(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function at(e){return e&&e.__esModule?e:{default:e}}function ot(e,t){if(!t.has(e))throw TypeError(`attempted to get private field on non-instance`);return t.get(e)}function st(e,t,n){if(!t.has(e))throw TypeError(`attempted to set private field on non-instance`);return t.set(e,n),n}var ct,lt,ut=p({"node_modules/tslib/tslib.es6.js"(){b(),ct=function(e,t){return ct=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},ct(e,t)},lt=function(){return lt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},lt.apply(this,arguments)}}}),dt=m({"node_modules/vnopts/lib/descriptors/api.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0}),e.apiDescriptor={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(t){if(typeof t!=`object`||!t)return JSON.stringify(t);if(Array.isArray(t))return`[${t.map(t=>e.apiDescriptor.value(t)).join(`, `)}]`;let n=Object.keys(t);return n.length===0?`{}`:`{ ${n.map(n=>`${e.apiDescriptor.key(n)}: ${e.apiDescriptor.value(t[n])}`).join(`, `)} }`},pair:t=>{let{key:n,value:r}=t;return e.apiDescriptor.value({[n]:r})}}}}),ft=m({"node_modules/vnopts/lib/descriptors/index.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0}),(ut(),v(Le)).__exportStar(dt(),e)}}),pt=m({"scripts/build/shims/chalk.cjs"(e,t){b();var n=e=>e;n.grey=n,n.red=n,n.bold=n,n.yellow=n,n.blue=n,n.default=n,t.exports=n}}),mt=m({"node_modules/vnopts/lib/handlers/deprecated/common.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0});var t=pt();e.commonDeprecatedHandler=(e,n,r)=>{let{descriptor:i}=r,a=[`${t.default.yellow(typeof e==`string`?i.key(e):i.pair(e))} is deprecated`];return n&&a.push(`we now treat it as ${t.default.blue(typeof n==`string`?i.key(n):i.pair(n))}`),a.join(`; `)+`.`}}}),ht=m({"node_modules/vnopts/lib/handlers/deprecated/index.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0}),(ut(),v(Le)).__exportStar(mt(),e)}}),gt=m({"node_modules/vnopts/lib/handlers/invalid/common.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0});var t=pt();e.commonInvalidHandler=(e,n,r)=>[`Invalid ${t.default.red(r.descriptor.key(e))} value.`,`Expected ${t.default.blue(r.schemas[e].expected(r))},`,`but received ${t.default.red(r.descriptor.value(n))}.`].join(` `)}}),_t=m({"node_modules/vnopts/lib/handlers/invalid/index.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0}),(ut(),v(Le)).__exportStar(gt(),e)}}),vt=m({"node_modules/vnopts/node_modules/leven/index.js"(e,t){b();var n=[],r=[];t.exports=function(e,t){if(e===t)return 0;var i=e;e.length>t.length&&(e=t,t=i);var a=e.length,o=t.length;if(a===0)return o;if(o===0)return a;for(;a>0&&e.charCodeAt(~-a)===t.charCodeAt(~-o);)a--,o--;if(a===0)return o;for(var s=0;s<a&&e.charCodeAt(s)===t.charCodeAt(s);)s++;if(a-=s,o-=s,a===0)return o;for(var c,l,u,d,f=0,p=0;f<a;)r[s+f]=e.charCodeAt(s+f),n[f]=++f;for(;p<o;)for(c=t.charCodeAt(s+p),u=p++,l=p,f=0;f<a;f++)d=c===r[s+f]?u:u+1,u=n[f],l=n[f]=u>l?d>l?l+1:d:d>u?u+1:d;return l}}}),yt=m({"node_modules/vnopts/lib/handlers/unknown/leven.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0});var t=pt(),n=vt();e.levenUnknownHandler=(e,r,i)=>{let{descriptor:a,logger:o,schemas:s}=i,c=[`Ignored unknown option ${t.default.yellow(a.pair({key:e,value:r}))}.`],l=Object.keys(s).sort().find(t=>n(e,t)<3);l&&c.push(`Did you mean ${t.default.blue(a.key(l))}?`),o.warn(c.join(` `))}}}),bt=m({"node_modules/vnopts/lib/handlers/unknown/index.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0}),(ut(),v(Le)).__exportStar(yt(),e)}}),xt=m({"node_modules/vnopts/lib/handlers/index.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0});var t=(ut(),v(Le));t.__exportStar(ht(),e),t.__exportStar(_t(),e),t.__exportStar(bt(),e)}}),St=m({"node_modules/vnopts/lib/schema.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0});var t=[`default`,`expected`,`validate`,`deprecated`,`forward`,`redirect`,`overlap`,`preprocess`,`postprocess`];function n(e,n){let a=new e(n),o=Object.create(a);for(let e of t)e in n&&(o[e]=i(n[e],a,r.prototype[e].length));return o}e.createSchema=n;var r=class{constructor(e){this.name=e.name}static create(e){return n(this,e)}default(e){}expected(e){return`nothing`}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,n){return e}preprocess(e,t){return e}postprocess(e,t){return e}};e.Schema=r;function i(e,t,n){return typeof e==`function`?function(){var r=[...arguments];return e(...r.slice(0,n-1),t,...r.slice(n-1))}:()=>e}}}),Ct=m({"node_modules/vnopts/lib/schemas/alias.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0});var t=St();e.AliasSchema=class extends t.Schema{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}}}}),wt=m({"node_modules/vnopts/lib/schemas/any.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0});var t=St();e.AnySchema=class extends t.Schema{expected(){return`anything`}validate(){return!0}}}}),Tt=m({"node_modules/vnopts/lib/schemas/array.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0});var t=(ut(),v(Le)),n=St();e.ArraySchema=class extends n.Schema{constructor(e){var{valueSchema:n,name:r=n.name}=e,i=t.__rest(e,[`valueSchema`,`name`]);super(Object.assign({},i,{name:r})),this._valueSchema=n}expected(e){return`an array of ${this._valueSchema.expected(e)}`}validate(e,t){if(!Array.isArray(e))return!1;let n=[];for(let r of e){let e=t.normalizeValidateResult(this._valueSchema.validate(r,t),r);e!==!0&&n.push(e.value)}return n.length===0?!0:{value:n}}deprecated(e,t){let n=[];for(let r of e){let e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(r,t),r);e!==!1&&n.push(...e.map(e=>{let{value:t}=e;return{value:[t]}}))}return n}forward(e,t){let n=[];for(let i of e){let e=t.normalizeForwardResult(this._valueSchema.forward(i,t),i);n.push(...e.map(r))}return n}redirect(e,t){let n=[],i=[];for(let a of e){let e=t.normalizeRedirectResult(this._valueSchema.redirect(a,t),a);`remain`in e&&n.push(e.remain),i.push(...e.redirect.map(r))}return n.length===0?{redirect:i}:{redirect:i,remain:n}}overlap(e,t){return e.concat(t)}};function r(e){let{from:t,to:n}=e;return{from:[t],to:n}}}}),Et=m({"node_modules/vnopts/lib/schemas/boolean.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0});var t=St();e.BooleanSchema=class extends t.Schema{expected(){return`true or false`}validate(e){return typeof e==`boolean`}}}}),Dt=m({"node_modules/vnopts/lib/utils.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0});function t(e,t){let n=Object.create(null);for(let r of e){let e=r[t];if(n[e])throw Error(`Duplicate ${t} ${JSON.stringify(e)}`);n[e]=r}return n}e.recordFromArray=t;function n(e,t){let n=new Map;for(let r of e){let e=r[t];if(n.has(e))throw Error(`Duplicate ${t} ${JSON.stringify(e)}`);n.set(e,r)}return n}e.mapFromArray=n;function r(){let e=Object.create(null);return t=>{let n=JSON.stringify(t);return e[n]?!0:(e[n]=!0,!1)}}e.createAutoChecklist=r;function i(e,t){let n=[],r=[];for(let i of e)t(i)?n.push(i):r.push(i);return[n,r]}e.partition=i;function a(e){return e===Math.floor(e)}e.isInt=a;function o(e,t){if(e===t)return 0;let n=typeof e,r=typeof t,i=[`undefined`,`object`,`boolean`,`number`,`string`];return n===r?n===`string`?e.localeCompare(t):Number(e)-Number(t):i.indexOf(n)-i.indexOf(r)}e.comparePrimitive=o;function s(e){return e===void 0?{}:e}e.normalizeDefaultResult=s;function c(e,t){return e===!0?!0:e===!1?{value:t}:e}e.normalizeValidateResult=c;function l(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return e===!1?!1:e===!0?n?!0:[{value:t}]:`value`in e?[e]:e.length===0?!1:e}e.normalizeDeprecatedResult=l;function u(e,t){return typeof e==`string`||`key`in e?{from:t,to:e}:`from`in e?{from:e.from,to:e.to}:{from:t,to:e.to}}e.normalizeTransferResult=u;function d(e,t){return e===void 0?[]:Array.isArray(e)?e.map(e=>u(e,t)):[u(e,t)]}e.normalizeForwardResult=d;function f(e,t){let n=d(typeof e==`object`&&`redirect`in e?e.redirect:e,t);return n.length===0?{remain:t,redirect:n}:typeof e==`object`&&`remain`in e?{remain:e.remain,redirect:n}:{redirect:n}}e.normalizeRedirectResult=f}}),Ot=m({"node_modules/vnopts/lib/schemas/choice.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0});var t=St(),n=Dt();e.ChoiceSchema=class extends t.Schema{constructor(e){super(e),this._choices=n.mapFromArray(e.choices.map(e=>e&&typeof e==`object`?e:{value:e}),`value`)}expected(e){let{descriptor:t}=e,r=Array.from(this._choices.keys()).map(e=>this._choices.get(e)).filter(e=>!e.deprecated).map(e=>e.value).sort(n.comparePrimitive).map(t.value),i=r.slice(0,-2),a=r.slice(-2);return i.concat(a.join(` or `)).join(`, `)}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}}}}),kt=m({"node_modules/vnopts/lib/schemas/number.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0});var t=St();e.NumberSchema=class extends t.Schema{expected(){return`a number`}validate(e,t){return typeof e==`number`}}}}),At=m({"node_modules/vnopts/lib/schemas/integer.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0});var t=Dt(),n=kt();e.IntegerSchema=class extends n.NumberSchema{expected(){return`an integer`}validate(e,n){return n.normalizeValidateResult(super.validate(e,n),e)===!0&&t.isInt(e)}}}}),jt=m({"node_modules/vnopts/lib/schemas/string.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0});var t=St();e.StringSchema=class extends t.Schema{expected(){return`a string`}validate(e){return typeof e==`string`}}}}),Mt=m({"node_modules/vnopts/lib/schemas/index.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0});var t=(ut(),v(Le));t.__exportStar(Ct(),e),t.__exportStar(wt(),e),t.__exportStar(Tt(),e),t.__exportStar(Et(),e),t.__exportStar(Ot(),e),t.__exportStar(At(),e),t.__exportStar(kt(),e),t.__exportStar(jt(),e)}}),Nt=m({"node_modules/vnopts/lib/defaults.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0});var t=dt(),n=mt(),r=_t(),i=yt();e.defaultDescriptor=t.apiDescriptor,e.defaultUnknownHandler=i.levenUnknownHandler,e.defaultInvalidHandler=r.commonInvalidHandler,e.defaultDeprecatedHandler=n.commonDeprecatedHandler}}),Pt=m({"node_modules/vnopts/lib/normalize.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0});var t=Nt(),n=Dt();e.normalize=(e,t,n)=>new r(t,n).normalize(e);var r=class{constructor(e,r){let{logger:i=console,descriptor:a=t.defaultDescriptor,unknown:o=t.defaultUnknownHandler,invalid:s=t.defaultInvalidHandler,deprecated:c=t.defaultDeprecatedHandler}=r||{};this._utils={descriptor:a,logger:i||{warn:()=>{}},schemas:n.recordFromArray(e,`name`),normalizeDefaultResult:n.normalizeDefaultResult,normalizeDeprecatedResult:n.normalizeDeprecatedResult,normalizeForwardResult:n.normalizeForwardResult,normalizeRedirectResult:n.normalizeRedirectResult,normalizeValidateResult:n.normalizeValidateResult},this._unknownHandler=o,this._invalidHandler=s,this._deprecatedHandler=c,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=n.createAutoChecklist()}normalize(e){let t={},r=[e],i=()=>{for(;r.length!==0;){let e=r.shift(),n=this._applyNormalization(e,t);r.push(...n)}};i();for(let e of Object.keys(this._utils.schemas)){let i=this._utils.schemas[e];if(!(e in t)){let t=n.normalizeDefaultResult(i.default(this._utils));`value`in t&&r.push({[e]:t.value})}}i();for(let e of Object.keys(this._utils.schemas)){let n=this._utils.schemas[e];e in t&&(t[e]=n.postprocess(t[e],this._utils))}return t}_applyNormalization(e,t){let r=[],[i,a]=n.partition(Object.keys(e),e=>e in this._utils.schemas);for(let a of i){let i=this._utils.schemas[a],o=i.preprocess(e[a],this._utils),s=n.normalizeValidateResult(i.validate(o,this._utils),o);if(s!==!0){let{value:e}=s,t=this._invalidHandler(a,e,this._utils);throw typeof t==`string`?Error(t):t}let c=e=>{let{from:t,to:n}=e;r.push(typeof n==`string`?{[n]:t}:{[n.key]:n.value})},l=e=>{let{value:t,redirectTo:r}=e,s=n.normalizeDeprecatedResult(i.deprecated(t,this._utils),o,!0);if(s!==!1)if(s===!0)this._hasDeprecationWarned(a)||this._utils.logger.warn(this._deprecatedHandler(a,r,this._utils));else for(let{value:e}of s){let t={key:a,value:e};if(!this._hasDeprecationWarned(t)){let n=typeof r==`string`?{key:r,value:e}:r;this._utils.logger.warn(this._deprecatedHandler(t,n,this._utils))}}};n.normalizeForwardResult(i.forward(o,this._utils),o).forEach(c);let u=n.normalizeRedirectResult(i.redirect(o,this._utils),o);if(u.redirect.forEach(c),`remain`in u){let e=u.remain;t[a]=a in t?i.overlap(t[a],e,this._utils):e,l({value:e})}for(let{from:e,to:t}of u.redirect)l({value:e,redirectTo:t})}for(let n of a){let i=e[n],a=this._unknownHandler(n,i,this._utils);if(a)for(let e of Object.keys(a)){let n={[e]:a[e]};e in this._utils.schemas?r.push(n):Object.assign(t,n)}}return r}};e.Normalizer=r}}),Ft=m({"node_modules/vnopts/lib/index.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0});var t=(ut(),v(Le));t.__exportStar(ft(),e),t.__exportStar(xt(),e),t.__exportStar(Mt(),e),t.__exportStar(Pt(),e),t.__exportStar(St(),e)}}),It=m({"src/main/options-normalizer.js"(e,t){b();var n=Ft(),i=E(),o={key:e=>e.length===1?`-${e}`:`--${e}`,value:e=>n.apiDescriptor.value(e),pair:e=>{let{key:t,value:n}=e;return n===!1?`--no-${t}`:n===!0?o.key(t):n===``?`${o.key(t)} without an argument`:`${o.key(t)}=${n}`}},s=e=>{let{colorsModule:t,levenshteinDistance:r}=e;return class extends n.ChoiceSchema{constructor(e){let{name:t,flags:n}=e;super({name:t,choices:n}),this._flags=[...n].sort()}preprocess(e,n){if(typeof e==`string`&&e.length>0&&!this._flags.includes(e)){let i=this._flags.find(t=>r(t,e)<3);if(i)return n.logger.warn([`Unknown flag ${t.yellow(n.descriptor.value(e))},`,`did you mean ${t.blue(n.descriptor.value(i))}?`].join(` `)),i}return e}expected(){return`a flag`}}},c;function l(e,t){let{logger:i=!1,isCLI:s=!1,passThrough:l=!1,colorsModule:d=null,levenshteinDistance:f=null}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},p=l?Array.isArray(l)?(e,t)=>l.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(e,t,i)=>{let o=i.schemas,{_:s}=o,c=a(o,r);return n.levenUnknownHandler(e,t,Object.assign(Object.assign({},i),{},{schemas:c}))},m=s?o:n.apiDescriptor,h=u(t,{isCLI:s,colorsModule:d,levenshteinDistance:f}),g=new n.Normalizer(h,{logger:i,unknown:p,descriptor:m}),_=i!==!1;_&&c&&(g._hasDeprecationWarned=c);let v=g.normalize(e);return _&&(c=g._hasDeprecationWarned),s&&v[`plugin-search`]===!1&&(v[`plugin-search-dir`]=!1),v}function u(e,t){let{isCLI:r,colorsModule:i,levenshteinDistance:a}=t,o=[];r&&o.push(n.AnySchema.create({name:`_`}));for(let t of e)o.push(d(t,{isCLI:r,optionInfos:e,colorsModule:i,levenshteinDistance:a})),t.alias&&r&&o.push(n.AliasSchema.create({name:t.alias,sourceName:t.name}));return o}function d(e,t){let{isCLI:r,optionInfos:a,colorsModule:o,levenshteinDistance:c}=t,{name:l}=e;if(l===`plugin-search-dir`||l===`pluginSearchDirs`)return n.AnySchema.create({name:l,preprocess(e){return e===!1||(e=Array.isArray(e)?e:[e]),e},validate(e){return e===!1?!0:e.every(e=>typeof e==`string`)},expected(){return`false or paths to plugin search dir`}});let u={name:l},d,f={};switch(e.type){case`int`:d=n.IntegerSchema,r&&(u.preprocess=Number);break;case`string`:d=n.StringSchema;break;case`choice`:d=n.ChoiceSchema,u.choices=e.choices.map(t=>typeof t==`object`&&t.redirect?Object.assign(Object.assign({},t),{},{redirect:{to:{key:e.name,value:t.redirect}}}):t);break;case`boolean`:d=n.BooleanSchema;break;case`flag`:d=s({colorsModule:o,levenshteinDistance:c}),u.flags=a.flatMap(e=>[e.alias,e.description&&e.name,e.oppositeDescription&&`no-${e.name}`].filter(Boolean));break;case`path`:d=n.StringSchema;break;default:throw Error(`Unexpected type ${e.type}`)}if(e.exception?u.validate=(t,n,r)=>e.exception(t)||n.validate(t,r):u.validate=(e,t,n)=>e===void 0||t.validate(e,n),e.redirect&&(f.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(f.deprecated=!0),r&&!e.array){let e=u.preprocess||(e=>e);u.preprocess=(t,n,r)=>n.preprocess(e(Array.isArray(t)?i(t):t),r)}return e.array?n.ArraySchema.create(Object.assign(Object.assign(Object.assign({},r?{preprocess:e=>Array.isArray(e)?e:[e]}:{}),f),{},{valueSchema:d.create(u)})):d.create(Object.assign(Object.assign({},u),f))}function f(e,t,n){return l(e,t,n)}function p(e,t,n){return l(e,t,Object.assign({isCLI:!0},n))}t.exports={normalizeApiOptions:f,normalizeCliOptions:p}}}),Lt=m({"src/language-js/loc.js"(e,t){b();var n=le();function r(e){let t=e.range?e.range[0]:e.start,i=e.declaration?.decorators??e.decorators;return n(i)?Math.min(r(i[0]),t):t}function i(e){return e.range?e.range[1]:e.end}function a(e,t){let n=r(e);return Number.isInteger(n)&&n===r(t)}function o(e,t){let n=i(e);return Number.isInteger(n)&&n===i(t)}function s(e,t){return a(e,t)&&o(e,t)}t.exports={locStart:r,locEnd:i,hasSameLocStart:a,hasSameLoc:s}}}),Rt=m({"src/main/load-parser.js"(e,t){b(),t.exports=()=>{}}}),zt=m({"scripts/build/shims/babel-highlight.cjs"(e,t){b();var n=pt();t.exports={shouldHighlight:()=>!1,getChalk:()=>n}}}),Bt=m({"node_modules/@babel/code-frame/lib/index.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0}),e.codeFrameColumns=o,e.default=s;var t=zt(),n=!1;function r(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}var i=/\r\n|[\n\r\u2028\u2029]/;function a(e,t,n){let r=Object.assign({column:0,line:-1},e.start),i=Object.assign({},r,e.end),{linesAbove:a=2,linesBelow:o=3}=n||{},s=r.line,c=r.column,l=i.line,u=i.column,d=Math.max(s-(a+1),0),f=Math.min(t.length,l+o);s===-1&&(d=0),l===-1&&(f=t.length);let p=l-s,m={};if(p)for(let e=0;e<=p;e++){let n=e+s;c?e===0?m[n]=[c,t[n-1].length-c+1]:e===p?m[n]=[0,u]:m[n]=[0,t[n-e].length]:m[n]=!0}else c===u?c?m[s]=[c,0]:m[s]=!0:m[s]=[c,u-c];return{start:d,end:f,markerLines:m}}function o(e,n){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=(o.highlightCode||o.forceColor)&&(0,t.shouldHighlight)(o),c=(0,t.getChalk)(o),l=r(c),u=(e,t)=>s?e(t):t,{start:d,end:f,markerLines:p}=a(n,e.split(i),o),m=n.start&&typeof n.start.column==`number`,h=String(f).length,g=(s?(0,t.default)(e,o):e).split(i,f).slice(d,f).map((e,t)=>{let n=d+1+t,r=` ${` ${n}`.slice(-h)} |`,i=p[n],a=!p[n+1];if(i){let t=``;if(Array.isArray(i)){let n=e.slice(0,Math.max(i[0]-1,0)).replace(/[^\t]/g,` `),s=i[1]||1;t=[`
|
|
173
|
-
`,u(l.gutter,r.replace(/\d/g,` `)),` `,n,u(l.marker,`^`).repeat(s)].join(``),a&&o.message&&(t+=` `+u(l.message,o.message))}return[u(l.marker,`>`),u(l.gutter,r),e.length>0?` ${e}`:``,t].join(``)}else return` ${u(l.gutter,r)}${e.length>0?` ${e}`:``}`}).join(`
|
|
174
|
-
`);return o.message&&!m&&(g=`${` `.repeat(h+1)}${o.message}
|
|
175
|
-
${g}`),s?c.reset(g):g}function s(e,t,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!n){n=!0;let e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(y.emitWarning)y.emitWarning(e,`DeprecationWarning`);else{let t=Error(e);t.name=`DeprecationWarning`,console.warn(Error(e))}}return r=Math.max(r,0),o(e,{start:{column:r,line:t}},i)}}}),Vt=m({"src/main/parser.js"(e,t){b();var{ConfigError:n}=Fe(),r=Lt();Rt();var{locStart:i,locEnd:a}=r,o=Object.getOwnPropertyNames,s=Object.getOwnPropertyDescriptor;function c(e){let t={};for(let n of e.plugins)if(n.parsers)for(let e of o(n.parsers))Object.defineProperty(t,e,s(n.parsers,e));return t}function l(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:c(e);if(typeof e.parser==`function`)return{parse:e.parser,astFormat:`estree`,locStart:i,locEnd:a};if(typeof e.parser==`string`){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new n(`Couldn't resolve parser "${e.parser}". Parsers must be explicitly added to the standalone bundle.`)}}function u(e,t){let n=c(t),r=Object.defineProperties({},Object.fromEntries(Object.keys(n).map(e=>[e,{enumerable:!0,get(){return n[e].parse}}]))),i=l(t,n);try{return i.preprocess&&(e=i.preprocess(e,t)),{text:e,ast:i.parse(e,r,t)}}catch(t){let{loc:n}=t;if(n){let{codeFrameColumns:r}=Bt();throw t.codeFrame=r(e,n,{highlightCode:!0}),t.message+=`
|
|
176
|
-
`+t.codeFrame,t}throw t}}t.exports={parse:u,resolveParser:l}}}),Ht=m({"src/main/options.js"(e,t){b();var n=Pe(),{UndefinedParserError:r}=Fe(),{getSupportInfo:i}=ce(),a=It(),{resolveParser:o}=Vt(),s={astFormat:`estree`,printer:{},originalText:void 0,locStart:null,locEnd:null};function c(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Object.assign({},e),c=i({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,d=Object.assign(Object.assign({},s),Object.fromEntries(c.filter(e=>e.default!==void 0).map(e=>[e.name,e.default])));if(!n.parser){if(!n.filepath)(t.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.`),n.parser=`babel`;else if(n.parser=u(n.filepath,n.plugins),!n.parser)throw new r(`No parser could be inferred for file: ${n.filepath}`)}let f=o(a.normalizeApiOptions(n,[c.find(e=>e.name===`parser`)],{passThrough:!0,logger:!1}));n.astFormat=f.astFormat,n.locEnd=f.locEnd,n.locStart=f.locStart;let p=l(n);n.printer=p.printers[n.astFormat];let m=Object.fromEntries(c.filter(e=>e.pluginDefaults&&e.pluginDefaults[p.name]!==void 0).map(e=>[e.name,e.pluginDefaults[p.name]])),h=Object.assign(Object.assign({},d),m);for(let[e,t]of Object.entries(h))(n[e]===null||n[e]===void 0)&&(n[e]=t);return n.parser===`json`&&(n.trailingComma=`none`),a.normalizeApiOptions(n,c,Object.assign({passThrough:Object.keys(s)},t))}function l(e){let{astFormat:t}=e;if(!t)throw Error(`getPlugin() requires astFormat to be set`);let n=e.plugins.find(e=>e.printers&&e.printers[t]);if(!n)throw Error(`Couldn't find plugin for AST format "${t}"`);return n}function u(e,t){let r=n.basename(e).toLowerCase(),a=i({plugins:t}).languages.filter(e=>e.since!==null).find(e=>e.extensions&&e.extensions.some(e=>r.endsWith(e))||e.filenames&&e.filenames.some(e=>e.toLowerCase()===r));return a&&a.parsers[0]}t.exports={normalize:c,hiddenDefaults:s,inferParser:u}}}),Ut=m({"src/main/massage-ast.js"(e,t){b();function n(e,t,r){if(Array.isArray(e))return e.map(e=>n(e,t,r)).filter(Boolean);if(!e||typeof e!=`object`)return e;let i=t.printer.massageAstNode,a;a=i&&i.ignoredProperties?i.ignoredProperties:new Set;let o={};for(let[r,i]of Object.entries(e))!a.has(r)&&typeof i!=`function`&&(o[r]=n(i,t,e));if(i){let t=i(e,o,r);if(t===null)return;if(t)return t}return o}t.exports=n}}),Wt=m({"scripts/build/shims/assert.cjs"(e,t){b();var n=()=>{};n.ok=n,n.strictEqual=n,t.exports=n}}),Gt=m({"src/main/comments.js"(e,t){b();var n=Wt(),{builders:{line:r,hardline:i,breakParent:a,indent:o,lineSuffix:s,join:c,cursor:l}}=H(),{hasNewline:u,skipNewline:d,skipSpaces:f,isPreviousLineEmpty:p,addLeadingComment:m,addDanglingComment:h,addTrailingComment:g}=Z(),_=new WeakMap;function v(e,t,n){if(!e)return;let{printer:r,locStart:i,locEnd:a}=t;if(n){if(r.canAttachComment&&r.canAttachComment(e)){let t;for(t=n.length-1;t>=0&&!(i(n[t])<=i(e)&&a(n[t])<=a(e));--t);n.splice(t+1,0,e);return}}else if(_.has(e))return _.get(e);let o=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||typeof e==`object`&&Object.entries(e).filter(e=>{let[t]=e;return t!==`enclosingNode`&&t!==`precedingNode`&&t!==`followingNode`&&t!==`tokens`&&t!==`comments`&&t!==`parent`}).map(e=>{let[,t]=e;return t});if(o){n||(n=[],_.set(e,n));for(let e of o)v(e,t,n);return n}}function y(e,t,n,r){let{locStart:i,locEnd:a}=n,o=i(t),s=a(t),c=v(e,n),l,u,d=0,f=c.length;for(;d<f;){let e=d+f>>1,r=c[e],p=i(r),m=a(r);if(p<=o&&s<=m)return y(r,t,n,r);if(m<=o){l=r,d=e+1;continue}if(s<=p){u=r,f=e;continue}throw Error(`Comment location overlaps with node location`)}if(r&&r.type===`TemplateLiteral`){let{quasis:e}=r,i=O(e,t,n);l&&O(e,l,n)!==i&&(l=null),u&&O(e,u,n)!==i&&(u=null)}return{enclosingNode:r,precedingNode:l,followingNode:u}}var x=()=>!1;function S(e,t,n,r){if(!Array.isArray(e))return;let i=[],{locStart:a,locEnd:o,printer:{handleComments:s={}}}=r,{avoidAstMutation:c,ownLine:l=x,endOfLine:u=x,remaining:d=x}=s,f=e.map((i,a)=>Object.assign(Object.assign({},y(t,i,r)),{},{comment:i,text:n,options:r,ast:t,isLastComment:e.length-1===a}));for(let[e,t]of f.entries()){let{comment:n,precedingNode:r,enclosingNode:s,followingNode:p,text:_,options:v,ast:y,isLastComment:b}=t;if(v.parser===`json`||v.parser===`json5`||v.parser===`__js_expression`||v.parser===`__vue_expression`||v.parser===`__vue_ts_expression`){if(a(n)-a(y)<=0){m(y,n);continue}if(o(n)-o(y)>=0){g(y,n);continue}}let x;if(c?x=[t]:(n.enclosingNode=s,n.precedingNode=r,n.followingNode=p,x=[n,_,v,y,b]),w(_,v,f,e))n.placement=`ownLine`,l(...x)||(p?m(p,n):r?g(r,n):h(s||y,n));else if(T(_,v,f,e))n.placement=`endOfLine`,u(...x)||(r?g(r,n):p?m(p,n):h(s||y,n));else if(n.placement=`remaining`,!d(...x))if(r&&p){let e=i.length;e>0&&i[e-1].followingNode!==p&&E(i,_,v),i.push(t)}else r?g(r,n):p?m(p,n):h(s||y,n)}if(E(i,n,r),!c)for(let t of e)delete t.precedingNode,delete t.enclosingNode,delete t.followingNode}var C=e=>!/[\S\n\u2028\u2029]/.test(e);function w(e,t,n,r){let{comment:i,precedingNode:a}=n[r],{locStart:o,locEnd:s}=t,c=o(i);if(a)for(let t=r-1;t>=0;t--){let{comment:r,precedingNode:i}=n[t];if(i!==a||!C(e.slice(s(r),c)))break;c=o(r)}return u(e,c,{backwards:!0})}function T(e,t,n,r){let{comment:i,followingNode:a}=n[r],{locStart:o,locEnd:s}=t,c=s(i);if(a)for(let t=r+1;t<n.length;t++){let{comment:r,followingNode:i}=n[t];if(i!==a||!C(e.slice(c,o(r))))break;c=s(r)}return u(e,c)}function E(e,t,r){let i=e.length;if(i===0)return;let{precedingNode:a,followingNode:o,enclosingNode:s}=e[0],c=r.printer.getGapRegex&&r.printer.getGapRegex(s)||/^[\s(]*$/,l=r.locStart(o),u;for(u=i;u>0;--u){let{comment:i,precedingNode:s,followingNode:d}=e[u-1];n.strictEqual(s,a),n.strictEqual(d,o);let f=t.slice(r.locEnd(i),l);if(c.test(f))l=r.locStart(i);else break}for(let[t,{comment:n}]of e.entries())t<u?g(a,n):m(o,n);for(let e of[a,o])e.comments&&e.comments.length>1&&e.comments.sort((e,t)=>r.locStart(e)-r.locStart(t));e.length=0}function D(e,t){let n=e.getValue();return n.printed=!0,t.printer.printComment(e,t)}function O(e,t,n){let r=n.locStart(t)-1;for(let t=1;t<e.length;++t)if(r<n.locStart(e[t]))return t-1;return 0}function k(e,t){let n=e.getValue(),a=[D(e,t)],{printer:o,originalText:s,locStart:c,locEnd:l}=t;if(o.isBlockComment&&o.isBlockComment(n)){let e=u(s,l(n))?u(s,c(n),{backwards:!0})?i:r:` `;a.push(e)}else a.push(i);let p=d(s,f(s,l(n)));return p!==!1&&u(s,p)&&a.push(i),a}function A(e,t){let n=e.getValue(),r=D(e,t),{printer:o,originalText:c,locStart:l}=t,d=o.isBlockComment&&o.isBlockComment(n);if(u(c,l(n),{backwards:!0}))return s([i,p(c,n,l)?i:``,r]);let f=[` `,r];return d||(f=[s(f),a]),f}function j(e,t,n,r){let a=[],s=e.getValue();return!s||!s.comments||(e.each(()=>{let n=e.getValue();!n.leading&&!n.trailing&&(!r||r(n))&&a.push(D(e,t))},`comments`),a.length===0)?``:n?c(i,a):o([i,c(i,a)])}function M(e,t,n){let r=e.getValue();if(!r)return{};let i=r.comments||[];n&&(i=i.filter(e=>!n.has(e)));let a=r===t.cursorNode;if(i.length===0){let e=a?l:``;return{leading:e,trailing:e}}let o=[],s=[];return e.each(()=>{let r=e.getValue();if(n&&n.has(r))return;let{leading:i,trailing:a}=r;i?o.push(k(e,t)):a&&s.push(A(e,t))},`comments`),a&&(o.unshift(l),s.push(l)),{leading:o,trailing:s}}function N(e,t,n,r){let{leading:i,trailing:a}=M(e,n,r);return!i&&!a?t:[i,t,a]}function P(e){if(e)for(let t of e){if(!t.printed)throw Error(`Comment "`+t.value.trim()+`" was not printed. Please report this error!`);delete t.printed}}t.exports={attach:S,printComments:N,printCommentsSeparately:M,printDanglingComments:j,getSortedChildNodes:v,ensureAllCommentsPrinted:P}}}),Kt=m({"src/common/ast-path.js"(e,t){b();var n=E();function r(e,t){let n=i(e.stack,t);return n===-1?null:e.stack[n]}function i(e,t){for(let n=e.length-1;n>=0;n-=2){let r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n}return-1}t.exports=class{constructor(e){this.stack=[e]}getName(){let{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return n(this.stack)}getNode(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return r(this,e)}getParentNode(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return r(this,e+1)}call(e){let{stack:t}=this,{length:r}=t,i=n(t);var a=[...arguments].slice(1);for(let e of a)i=i[e],t.push(e,i);let o=e(this);return t.length=r,o}callParent(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=i(this.stack,t+1),r=this.stack.splice(n+1),a=e(this);return this.stack.push(...r),a}each(e){let{stack:t}=this,{length:r}=t,i=n(t);var a=[...arguments].slice(1);for(let e of a)i=i[e],t.push(e,i);for(let n=0;n<i.length;++n)t.push(n,i[n]),e(this,n,i),t.length-=2;t.length=r}map(e){let t=[];var n=[...arguments].slice(1);return this.each((n,r,i)=>{t[r]=e(n,r,i)},...n),t}try(e){let{stack:t}=this,n=[...t];try{return e()}finally{t.length=0,t.push(...n)}}match(){let e=this.stack.length-1,t=null,n=this.stack[e--];var r=[...arguments];for(let i of r){if(n===void 0)return!1;let r=null;if(typeof t==`number`&&(r=t,t=this.stack[e--],n=this.stack[e--]),i&&!i(n,t,r))return!1;t=this.stack[e--],n=this.stack[e--]}return!0}findAncestor(e){let t=this.stack.length-1,n=null,r=this.stack[t--];for(;r;){let i=null;if(typeof n==`number`&&(i=n,n=this.stack[t--],r=this.stack[t--]),n!==null&&e(r,n,i))return r;n=this.stack[t--],r=this.stack[t--]}}}}}),qt=m({"src/main/multiparser.js"(e,t){b();var{utils:{stripTrailingHardline:n}}=H(),{normalize:r}=Ht(),i=Gt();function a(e,t,n,r){if(n.printer.embed&&n.embeddedLanguageFormatting===`auto`)return n.printer.embed(e,t,(e,t,i)=>o(e,t,n,r,i),n)}function o(e,t,a,o){let{stripTrailingHardline:s=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},c=r(Object.assign(Object.assign(Object.assign({},a),t),{},{parentParser:a.parser,originalText:e}),{passThrough:!0}),l=Vt().parse(e,c),{ast:u}=l;e=l.text;let d=u.comments;delete u.comments,i.attach(d,u,e,c),c[Symbol.for(`comments`)]=d||[],c[Symbol.for(`tokens`)]=u.tokens||[];let f=o(u,c);return i.ensureAllCommentsPrinted(d),s?typeof f==`string`?f.replace(/(?:\r?\n)*$/,``):n(f):f}t.exports={printSubtree:a}}}),Jt=m({"src/main/ast-to-doc.js"(e,t){b();var n=Kt(),{builders:{hardline:r,addAlignmentToDoc:i},utils:{propagateBreaks:a}}=H(),{printComments:o}=Gt(),s=qt();function c(e,t){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:s}=t;s.preprocess&&(e=s.preprocess(e,t));let c=new Map,l=new n(e),d=f();return o>0&&(d=i([r,d],o,t.tabWidth)),a(d),d;function f(e,t){return e===void 0||e===l?p(t):Array.isArray(e)?l.call(()=>p(t),...e):l.call(()=>p(t),e)}function p(e){let n=l.getValue(),r=n&&typeof n==`object`&&e===void 0;if(r&&c.has(n))return c.get(n);let i=u(l,t,f,e);return r&&c.set(n,i),i}}function l(e,t){let{originalText:n,[Symbol.for(`comments`)]:r,locStart:i,locEnd:a}=t,o=i(e),s=a(e),c=new Set;for(let e of r)i(e)>=o&&a(e)<=s&&(e.printed=!0,c.add(e));return{doc:n.slice(o,s),printedComments:c}}function u(e,t,n,r){let i=e.getValue(),{printer:a}=t,u,d;if(a.hasPrettierIgnore&&a.hasPrettierIgnore(e))({doc:u,printedComments:d}=l(i,t));else{if(i)try{u=s.printSubtree(e,n,t,c)}catch(e){if(globalThis.PRETTIER_DEBUG)throw e}u||=a.print(e,t,n,r)}return(!a.willPrintOwnComments||!a.willPrintOwnComments(e,t))&&(u=o(e,u,t,d)),u}t.exports=c}}),Yt=m({"src/main/range-util.js"(e,t){b();var n=Wt(),r=Gt(),i=e=>{let{parser:t}=e;return t===`json`||t===`json5`||t===`json-stringify`};function a(e,t){let n=[e.node,...e.parentNodes],r=new Set([t.node,...t.parentNodes]);return n.find(e=>u.has(e.type)&&r.has(e))}function o(e){let t=e.length-1;for(;;){let n=e[t];if(n&&(n.type===`Program`||n.type===`File`))t--;else break}return e.slice(0,t+1)}function s(e,t,n){let{locStart:r,locEnd:i}=n,a=e.node,s=t.node;if(a===s)return{startNode:a,endNode:s};let c=r(e.node);for(let e of o(t.parentNodes))if(r(e)>=c)s=e;else break;let l=i(t.node);for(let t of o(e.parentNodes)){if(i(t)<=l)a=t;else break;if(a===s)break}return{startNode:a,endNode:s}}function c(e,t,n,i){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],o=arguments.length>5?arguments[5]:void 0,{locStart:s,locEnd:l}=n,u=s(e),d=l(e);if(!(t>d||t<u||o===`rangeEnd`&&t===u||o===`rangeStart`&&t===d)){for(let s of r.getSortedChildNodes(e,n)){let r=c(s,t,n,i,[e,...a],o);if(r)return r}if(!i||i(e,a[0]))return{node:e,parentNodes:a}}}function l(e,t){return t!==`DeclareExportDeclaration`&&e!==`TypeParameterDeclaration`&&(e===`Directive`||e===`TypeAlias`||e===`TSExportAssignment`||e.startsWith(`Declare`)||e.startsWith(`TSDeclare`)||e.endsWith(`Statement`)||e.endsWith(`Declaration`))}var u=new Set([`ObjectExpression`,`ArrayExpression`,`StringLiteral`,`NumericLiteral`,`BooleanLiteral`,`NullLiteral`,`UnaryExpression`,`TemplateLiteral`]),d=new Set([`OperationDefinition`,`FragmentDefinition`,`VariableDefinition`,`TypeExtensionDefinition`,`ObjectTypeDefinition`,`FieldDefinition`,`DirectiveDefinition`,`EnumTypeDefinition`,`EnumValueDefinition`,`InputValueDefinition`,`InputObjectTypeDefinition`,`SchemaDefinition`,`OperationTypeDefinition`,`InterfaceTypeDefinition`,`UnionTypeDefinition`,`ScalarTypeDefinition`]);function f(e,t,n){if(!t)return!1;switch(e.parser){case`flow`:case`babel`:case`babel-flow`:case`babel-ts`:case`typescript`:case`acorn`:case`espree`:case`meriyah`:case`__babel_estree`:return l(t.type,n&&n.type);case`json`:case`json5`:case`json-stringify`:return u.has(t.type);case`graphql`:return d.has(t.kind);case`vue`:return t.tag!==`root`}return!1}function p(e,t,r){let{rangeStart:o,rangeEnd:l,locStart:u,locEnd:d}=t;n.ok(l>o);let p=e.slice(o,l).search(/\S/),m=p===-1;if(!m)for(o+=p;l>o&&!/\S/.test(e[l-1]);--l);let h=c(r,o,t,(e,n)=>f(t,e,n),[],`rangeStart`),g=m?h:c(r,l,t,e=>f(t,e),[],`rangeEnd`);if(!h||!g)return{rangeStart:0,rangeEnd:0};let _,v;if(i(t)){let e=a(h,g);_=e,v=e}else ({startNode:_,endNode:v}=s(h,g,t));return{rangeStart:Math.min(u(_),u(v)),rangeEnd:Math.max(d(_),d(v))}}t.exports={calculateRange:p,findNodeAtOffset:c}}}),Xt=m({"src/main/core.js"(e,t){b();var{diffArrays:n}=C(),{printer:{printDocToString:r},debug:{printDocToDebug:i}}=H(),{getAlignmentSize:a}=Z(),{guessEndOfLine:o,convertEndOfLineToChars:s,countEndOfLineChars:c,normalizeEndOfLine:l}=T(),u=Ht().normalize,d=Ut(),f=Gt(),p=Vt(),m=Jt(),h=Yt(),g=``,_=Symbol(`cursor`);function v(e,t,n){let r=t.comments;return r&&(delete t.comments,f.attach(r,t,e,n)),n[Symbol.for(`comments`)]=r||[],n[Symbol.for(`tokens`)]=t.tokens||[],n.originalText=e,r}function y(e,t){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!e||e.trim().length===0)return{formatted:``,cursorOffset:-1,comments:[]};let{ast:a,text:o}=p.parse(e,t);if(t.cursorOffset>=0){let e=h.findNodeAtOffset(a,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}let c=v(o,a,t),l=r(m(a,t,i),t);if(f.ensureAllCommentsPrinted(c),i>0){let e=l.formatted.trim();l.cursorNodeStart!==void 0&&(l.cursorNodeStart-=l.formatted.indexOf(e)),l.formatted=e+s(t.endOfLine)}if(t.cursorOffset>=0){let e,r,i,a,s;if(t.cursorNode&&l.cursorNodeText?(e=t.locStart(t.cursorNode),r=o.slice(e,t.locEnd(t.cursorNode)),i=t.cursorOffset-e,a=l.cursorNodeStart,s=l.cursorNodeText):(e=0,r=o,i=t.cursorOffset,a=0,s=l.formatted),r===s)return{formatted:l.formatted,cursorOffset:a+i,comments:c};let u=[...r];u.splice(i,0,_);let d=n(u,[...s]),f=a;for(let e of d)if(e.removed){if(e.value.includes(_))break}else f+=e.count;return{formatted:l.formatted,cursorOffset:f,comments:c}}return{formatted:l.formatted,cursorOffset:-1,comments:c}}function x(e,t){let{ast:n,text:r}=p.parse(e,t),{rangeStart:i,rangeEnd:o}=h.calculateRange(r,t,n),l=r.slice(i,o),u=Math.min(i,r.lastIndexOf(`
|
|
177
|
-
`,i)+1),d=r.slice(u,i).match(/^\s*/)[0],f=a(d,t.tabWidth),m=y(l,Object.assign(Object.assign({},t),{},{rangeStart:0,rangeEnd:1/0,cursorOffset:t.cursorOffset>i&&t.cursorOffset<=o?t.cursorOffset-i:-1,endOfLine:`lf`}),f),g=m.formatted.trimEnd(),{cursorOffset:_}=t;_>o?_+=g.length-l.length:m.cursorOffset>=0&&(_=m.cursorOffset+i);let v=r.slice(0,i)+g+r.slice(o);if(t.endOfLine!==`lf`){let e=s(t.endOfLine);_>=0&&e===`\r
|
|
178
|
-
`&&(_+=c(v.slice(0,_),`
|
|
179
|
-
`)),v=v.replace(/\n/g,e)}return{formatted:v,cursorOffset:_,comments:m.comments}}function S(e,t,n){return typeof t!=`number`||Number.isNaN(t)||t<0||t>e.length?n:t}function w(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:i}=t;return n=S(e,n,-1),r=S(e,r,0),i=S(e,i,e.length),Object.assign(Object.assign({},t),{},{cursorOffset:n,rangeStart:r,rangeEnd:i})}function E(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:i,endOfLine:a}=w(e,t),s=e.charAt(0)===g;if(s&&(e=e.slice(1),n--,r--,i--),a===`auto`&&(a=o(e)),e.includes(`\r`)){let t=t=>c(e.slice(0,Math.max(t,0)),`\r
|
|
180
|
-
`);n-=t(n),r-=t(r),i-=t(i),e=l(e)}return{hasBOM:s,text:e,options:w(e,Object.assign(Object.assign({},t),{},{cursorOffset:n,rangeStart:r,rangeEnd:i,endOfLine:a}))}}function D(e,t){let n=p.resolveParser(t);return!n.hasPragma||n.hasPragma(e)}function O(e,t){let{hasBOM:n,text:r,options:i}=E(e,u(t));if(i.rangeStart>=i.rangeEnd&&r!==``||i.requirePragma&&!D(r,i))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let a;return i.rangeStart>0||i.rangeEnd<r.length?a=x(r,i):(!i.requirePragma&&i.insertPragma&&i.printer.insertPragma&&!D(r,i)&&(r=i.printer.insertPragma(r)),a=y(r,i)),n&&(a.formatted=g+a.formatted,a.cursorOffset>=0&&a.cursorOffset++),a}t.exports={formatWithCursor:O,parse(e,t,n){let{text:r,options:i}=E(e,u(t)),a=p.parse(r,i);return n&&(a.ast=d(a.ast,i)),a},formatAST(e,t){return t=u(t),r(m(e,t),t)},formatDoc(e,t){return O(i(e),Object.assign(Object.assign({},t),{},{parser:`__js_expression`})).formatted},printToDoc(e,t){t=u(t);let{ast:n,text:r}=p.parse(e,t);return v(r,n,t),m(n,t)},printDocToString(e,t){return r(e,u(t))}}}}),Zt=m({"src/common/util-shared.js"(e,t){b();var{getMaxContinuousCount:n,getStringWidth:r,getAlignmentSize:i,getIndentSize:a,skip:o,skipWhitespace:s,skipSpaces:c,skipNewline:l,skipToLineEnd:u,skipEverythingButNewLine:d,skipInlineComment:f,skipTrailingComment:p,hasNewline:m,hasNewlineInRange:h,hasSpaces:g,isNextLineEmpty:_,isNextLineEmptyAfterIndex:v,isPreviousLineEmpty:y,getNextNonSpaceNonCommentCharacterIndex:x,makeString:S,addLeadingComment:C,addDanglingComment:w,addTrailingComment:T}=Z();t.exports={getMaxContinuousCount:n,getStringWidth:r,getAlignmentSize:i,getIndentSize:a,skip:o,skipWhitespace:s,skipSpaces:c,skipNewline:l,skipToLineEnd:u,skipEverythingButNewLine:d,skipInlineComment:f,skipTrailingComment:p,hasNewline:m,hasNewlineInRange:h,hasSpaces:g,isNextLineEmpty:_,isNextLineEmptyAfterIndex:v,isPreviousLineEmpty:y,getNextNonSpaceNonCommentCharacterIndex:x,makeString:S,addLeadingComment:C,addDanglingComment:w,addTrailingComment:T}}}),Qt=m({"src/utils/create-language.js"(e,t){b(),t.exports=function(e,t){let{languageId:n}=e,r=a(e,i);return Object.assign(Object.assign({linguistLanguageId:n},r),t(e))}}}),$t=m({"node_modules/esutils/lib/ast.js"(e,t){b(),function(){function e(e){if(e==null)return!1;switch(e.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 n(e){if(e==null)return!1;switch(e.type){case`DoWhileStatement`:case`ForInStatement`:case`ForStatement`:case`WhileStatement`:return!0}return!1}function r(e){if(e==null)return!1;switch(e.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 i(e){return r(e)||e!=null&&e.type===`FunctionDeclaration`}function a(e){switch(e.type){case`IfStatement`:return e.alternate==null?e.consequent:e.alternate;case`LabeledStatement`:case`ForStatement`:case`ForInStatement`:case`WhileStatement`:case`WithStatement`:return e.body}return null}function o(e){var t;if(e.type!==`IfStatement`||e.alternate==null)return!1;t=e.consequent;do{if(t.type===`IfStatement`&&t.alternate==null)return!0;t=a(t)}while(t);return!1}t.exports={isExpression:e,isStatement:r,isIterationStatement:n,isSourceElement:i,isProblematicIfStatement:o,trailingStatement:a}}()}}),en=m({"node_modules/esutils/lib/code.js"(e,t){b(),function(){var e,n={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]/},r,i,a,o;e={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 s(e){return 48<=e&&e<=57}function c(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70}function l(e){return e>=48&&e<=55}r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function u(e){return e===32||e===9||e===11||e===12||e===160||e>=5760&&r.indexOf(e)>=0}function d(e){return e===10||e===13||e===8232||e===8233}function f(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(i=Array(128),o=0;o<128;++o)i[o]=o>=97&&o<=122||o>=65&&o<=90||o===36||o===95;for(a=Array(128),o=0;o<128;++o)a[o]=o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||o===36||o===95;function p(e){return e<128?i[e]:n.NonAsciiIdentifierStart.test(f(e))}function m(e){return e<128?a[e]:n.NonAsciiIdentifierPart.test(f(e))}function h(t){return t<128?i[t]:e.NonAsciiIdentifierStart.test(f(t))}function g(t){return t<128?a[t]:e.NonAsciiIdentifierPart.test(f(t))}t.exports={isDecimalDigit:s,isHexDigit:c,isOctalDigit:l,isWhiteSpace:u,isLineTerminator:d,isIdentifierStartES5:p,isIdentifierPartES5:m,isIdentifierStartES6:h,isIdentifierPartES6:g}}()}}),tn=m({"node_modules/esutils/lib/keyword.js"(e,t){b(),function(){var e=en();function n(e){switch(e){case`implements`:case`interface`:case`package`:case`private`:case`protected`:case`public`:case`static`:case`let`:return!0;default:return!1}}function r(e,t){return!t&&e===`yield`?!1:i(e,t)}function i(e,t){if(t&&n(e))return!0;switch(e.length){case 2:return e===`if`||e===`in`||e===`do`;case 3:return e===`var`||e===`for`||e===`new`||e===`try`;case 4:return e===`this`||e===`else`||e===`case`||e===`void`||e===`with`||e===`enum`;case 5:return e===`while`||e===`break`||e===`catch`||e===`throw`||e===`const`||e===`yield`||e===`class`||e===`super`;case 6:return e===`return`||e===`typeof`||e===`delete`||e===`switch`||e===`export`||e===`import`;case 7:return e===`default`||e===`finally`||e===`extends`;case 8:return e===`function`||e===`continue`||e===`debugger`;case 10:return e===`instanceof`;default:return!1}}function a(e,t){return e===`null`||e===`true`||e===`false`||r(e,t)}function o(e,t){return e===`null`||e===`true`||e===`false`||i(e,t)}function s(e){return e===`eval`||e===`arguments`}function c(t){var n,r,i;if(t.length===0||(i=t.charCodeAt(0),!e.isIdentifierStartES5(i)))return!1;for(n=1,r=t.length;n<r;++n)if(i=t.charCodeAt(n),!e.isIdentifierPartES5(i))return!1;return!0}function l(e,t){return(e-55296)*1024+(t-56320)+65536}function u(t){var n,r,i,a,o;if(t.length===0)return!1;for(o=e.isIdentifierStartES6,n=0,r=t.length;n<r;++n){if(i=t.charCodeAt(n),55296<=i&&i<=56319){if(++n,n>=r||(a=t.charCodeAt(n),!(56320<=a&&a<=57343)))return!1;i=l(i,a)}if(!o(i))return!1;o=e.isIdentifierPartES6}return!0}function d(e,t){return c(e)&&!a(e,t)}function f(e,t){return u(e)&&!o(e,t)}t.exports={isKeywordES5:r,isKeywordES6:i,isReservedWordES5:a,isReservedWordES6:o,isRestrictedWord:s,isIdentifierNameES5:c,isIdentifierNameES6:u,isIdentifierES5:d,isIdentifierES6:f}}()}}),nn=m({"node_modules/esutils/lib/utils.js"(e){b(),function(){e.ast=$t(),e.code=en(),e.keyword=tn()}()}}),rn=m({"src/language-js/utils/is-block-comment.js"(e,t){b();var n=new Set([`Block`,`CommentBlock`,`MultiLine`]);t.exports=e=>n.has(e?.type)}}),an=m({"src/language-js/utils/is-node-matches.js"(e,t){b();function n(e,t){let n=t.split(`.`);for(let t=n.length-1;t>=0;t--){let r=n[t];if(t===0)return e.type===`Identifier`&&e.name===r;if(e.type!==`MemberExpression`||e.optional||e.computed||e.property.type!==`Identifier`||e.property.name!==r)return!1;e=e.object}}function r(e,t){return t.some(t=>n(e,t))}t.exports=r}}),on=m({"src/language-js/utils/index.js"(e,t){b();var n=nn().keyword.isIdentifierNameES5,{getLast:r,hasNewline:i,skipWhitespace:a,isNonEmptyArray:o,isNextLineEmptyAfterIndex:s,getStringWidth:c}=Z(),{locStart:l,locEnd:u,hasSameLocStart:d}=Lt(),f=rn(),p=an(),m=`(?:(?=.)\\s)`,h=RegExp(`^${m}*:`),g=RegExp(`^${m}*::`);function _(e){return e.extra?.parenthesized&&f(e.trailingComments?.[0])&&h.test(e.trailingComments[0].value)}function v(e){let t=e?.[0];return f(t)&&g.test(t.value)}function y(e,t){if(!e||typeof e!=`object`)return!1;if(Array.isArray(e))return e.some(e=>y(e,t));let n=t(e);return typeof n==`boolean`?n:Object.values(e).some(e=>y(e,t))}function x(e){return e.type===`AssignmentExpression`||e.type===`BinaryExpression`||e.type===`LogicalExpression`||e.type===`NGPipeExpression`||e.type===`ConditionalExpression`||te(e)||ne(e)||e.type===`SequenceExpression`||e.type===`TaggedTemplateExpression`||e.type===`BindExpression`||e.type===`UpdateExpression`&&!e.prefix||Ge(e)||e.type===`TSNonNullExpression`}function S(e){return e.expressions?e.expressions[0]:e.left??e.test??e.callee??e.object??e.tag??e.argument??e.expression}function C(e,t){if(t.expressions)return[`expressions`,0];if(t.left)return[`left`];if(t.test)return[`test`];if(t.object)return[`object`];if(t.callee)return[`callee`];if(t.tag)return[`tag`];if(t.argument)return[`argument`];if(t.expression)return[`expression`];throw Error(`Unexpected node has no left side.`)}function w(e){return e=new Set(e),t=>e.has(t?.type)}var T=w([`Line`,`CommentLine`,`SingleLine`,`HashbangComment`,`HTMLOpen`,`HTMLClose`]),E=w([`ExportDefaultDeclaration`,`ExportDefaultSpecifier`,`DeclareExportDeclaration`,`ExportNamedDeclaration`,`ExportAllDeclaration`]);function D(e){let t=e.getParentNode();return e.getName()===`declaration`&&E(t)?t:null}var O=w([`BooleanLiteral`,`DirectiveLiteral`,`Literal`,`NullLiteral`,`NumericLiteral`,`BigIntLiteral`,`DecimalLiteral`,`RegExpLiteral`,`StringLiteral`,`TemplateLiteral`,`TSTypeLiteral`,`JSXText`]);function k(e){return e.type===`NumericLiteral`||e.type===`Literal`&&typeof e.value==`number`}function A(e){return e.type===`UnaryExpression`&&(e.operator===`+`||e.operator===`-`)&&k(e.argument)}function j(e){return e.type===`StringLiteral`||e.type===`Literal`&&typeof e.value==`string`}var M=w([`ObjectTypeAnnotation`,`TSTypeLiteral`,`TSMappedType`]),N=w([`FunctionExpression`,`ArrowFunctionExpression`]);function P(e){return e.type===`FunctionExpression`||e.type===`ArrowFunctionExpression`&&e.body.type===`BlockStatement`}function F(e){return te(e)&&e.callee.type===`Identifier`&&[`async`,`inject`,`fakeAsync`,`waitForAsync`].includes(e.callee.name)}var I=w([`JSXElement`,`JSXFragment`]);function L(e,t){if(e.parentParser!==`markdown`&&e.parentParser!==`mdx`)return!1;let n=t.getNode();if(!n.expression||!I(n.expression))return!1;let r=t.getParentNode();return r.type===`Program`&&r.body.length===1}function R(e){return e.kind===`get`||e.kind===`set`}function z(e){return R(e)||d(e,e.value)}function B(e){return(e.type===`ObjectTypeProperty`||e.type===`ObjectTypeInternalSlot`)&&e.value.type===`FunctionTypeAnnotation`&&!e.static&&!z(e)}function V(e){return(e.type===`TypeAnnotation`||e.type===`TSTypeAnnotation`)&&e.typeAnnotation.type===`FunctionTypeAnnotation`&&!e.static&&!d(e,e.typeAnnotation)}var H=w([`BinaryExpression`,`LogicalExpression`,`NGPipeExpression`]);function U(e){return ne(e)||e.type===`BindExpression`&&!!e.object}var W=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`.split(`.`));function G(e){return e?!!((e.type===`GenericTypeAnnotation`||e.type===`TSTypeReference`)&&!e.typeParameters||W.has(e.type)):!1}function K(e){return e.callee.type===`Identifier`&&/^(?:before|after)(?:Each|All)$/.test(e.callee.name)&&e.arguments.length===1}var q=[`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 ee(e){return p(e,q)}function J(e,t){if(e.type!==`CallExpression`)return!1;if(e.arguments.length===1){if(F(e)&&t&&J(t))return N(e.arguments[0]);if(K(e))return F(e.arguments[0])}else if((e.arguments.length===2||e.arguments.length===3)&&(e.arguments[0].type===`TemplateLiteral`||j(e.arguments[0]))&&ee(e.callee))return e.arguments[2]&&!k(e.arguments[2])?!1:(e.arguments.length===2?N(e.arguments[1]):P(e.arguments[1])&&Oe(e.arguments[1]).length<=1)||F(e.arguments[1]);return!1}var te=w([`CallExpression`,`OptionalCallExpression`]),ne=w([`MemberExpression`,`OptionalMemberExpression`]);function Y(e){let t=`expressions`;e.type===`TSTemplateLiteralType`&&(t=`types`);let n=e[t];return n.length===0?!1:n.every(e=>{if(Re(e))return!1;if(e.type===`Identifier`||e.type===`ThisExpression`)return!0;if(ne(e)){let t=e;for(;ne(t);)if(t.property.type!==`Identifier`&&t.property.type!==`Literal`&&t.property.type!==`StringLiteral`&&t.property.type!==`NumericLiteral`||(t=t.object,Re(t)))return!1;return t.type===`Identifier`||t.type===`ThisExpression`}return!1})}function re(e,t){return e===`+`||e===`-`?e+t:t}function ie(e,t){let n=l(t),r=a(e,u(t));return r!==!1&&e.slice(n,n+2)===`/*`&&e.slice(r,r+2)===`*/`}function ae(e,t){return I(t)?Pe(t):Re(t,Ie.Leading,t=>i(e,u(t)))}function oe(e,t){return t.parser!==`json`&&j(e.key)&&me(e.key).slice(1,-1)===e.key.value&&(n(e.key.value)&&!(t.parser===`babel-ts`&&e.type===`ClassProperty`||t.parser===`typescript`&&e.type===`PropertyDefinition`)||se(e.key.value)&&String(Number(e.key.value))===e.key.value&&(t.parser===`babel`||t.parser===`acorn`||t.parser===`espree`||t.parser===`meriyah`||t.parser===`__babel_estree`))}function se(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function ce(e,t){let n=/^[fx]?(?:describe|it|test)$/;return t.type===`TaggedTemplateExpression`&&t.quasi===e&&t.tag.type===`MemberExpression`&&t.tag.property.type===`Identifier`&&t.tag.property.name===`each`&&(t.tag.object.type===`Identifier`&&n.test(t.tag.object.name)||t.tag.object.type===`MemberExpression`&&t.tag.object.property.type===`Identifier`&&(t.tag.object.property.name===`only`||t.tag.object.property.name===`skip`)&&t.tag.object.object.type===`Identifier`&&n.test(t.tag.object.object.name))}function le(e){return e.quasis.some(e=>e.value.raw.includes(`
|
|
181
|
-
`))}function ue(e,t){return(e.type===`TemplateLiteral`&&le(e)||e.type===`TaggedTemplateExpression`&&le(e.quasi))&&!i(t,l(e),{backwards:!0})}function de(e){if(!Re(e))return!1;let t=r(ze(e,Ie.Dangling));return t&&!f(t)}function fe(e){if(e.length<=1)return!1;let t=0;for(let n of e)if(N(n)){if(t+=1,t>1)return!0}else if(te(n)){for(let e of n.arguments)if(N(e))return!0}return!1}function pe(e){let t=e.getValue(),n=e.getParentNode();return te(t)&&te(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0}function X(e,t){if(t>=2)return!1;let n=e=>X(e,t+1),r=e.type===`Literal`&&`regex`in e&&e.regex.pattern||e.type===`RegExpLiteral`&&e.pattern;return r&&c(r)>5?!1:e.type===`Literal`||e.type===`BigIntLiteral`||e.type===`DecimalLiteral`||e.type===`BooleanLiteral`||e.type===`NullLiteral`||e.type===`NumericLiteral`||e.type===`RegExpLiteral`||e.type===`StringLiteral`||e.type===`Identifier`||e.type===`ThisExpression`||e.type===`Super`||e.type===`PrivateName`||e.type===`PrivateIdentifier`||e.type===`ArgumentPlaceholder`||e.type===`Import`?!0:e.type===`TemplateLiteral`?e.quasis.every(e=>!e.value.raw.includes(`
|
|
182
|
-
`))&&e.expressions.every(n):e.type===`ObjectExpression`?e.properties.every(e=>!e.computed&&(e.shorthand||e.value&&n(e.value))):e.type===`ArrayExpression`?e.elements.every(e=>e===null||n(e)):Ve(e)?(e.type===`ImportExpression`||X(e.callee,t))&&je(e).every(n):ne(e)?X(e.object,t)&&X(e.property,t):e.type===`UnaryExpression`&&{"!":!0,"-":!0,"+":!0,"~":!0}[e.operator]||e.type===`UpdateExpression`&&{"++":!0,"--":!0}[e.operator]?X(e.argument,t):e.type===`TSNonNullExpression`?X(e.expression,t):!1}function me(e){return e.extra?.raw??e.raw}function he(e){return e}function ge(e){return e.filepath&&/\.tsx$/i.test(e.filepath)}function _e(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`es5`;return e.trailingComma===`es5`&&t===`es5`||e.trailingComma===`all`&&(t===`all`||t===`es5`)}function ve(e,t){switch(e.type){case`BinaryExpression`:case`LogicalExpression`:case`AssignmentExpression`:case`NGPipeExpression`:return ve(e.left,t);case`MemberExpression`:case`OptionalMemberExpression`:return ve(e.object,t);case`TaggedTemplateExpression`:return e.tag.type===`FunctionExpression`?!1:ve(e.tag,t);case`CallExpression`:case`OptionalCallExpression`:return e.callee.type===`FunctionExpression`?!1:ve(e.callee,t);case`ConditionalExpression`:return ve(e.test,t);case`UpdateExpression`:return!e.prefix&&ve(e.argument,t);case`BindExpression`:return e.object&&ve(e.object,t);case`SequenceExpression`:return ve(e.expressions[0],t);case`TSSatisfiesExpression`:case`TSAsExpression`:case`TSNonNullExpression`:return ve(e.expression,t);default:return t(e)}}var ye={"==":!0,"!=":!0,"===":!0,"!==":!0},be={"*":!0,"/":!0,"%":!0},xe={">>":!0,">>>":!0,"<<":!0};function Se(e,t){return!(we(t)!==we(e)||e===`**`||ye[e]&&ye[t]||t===`%`&&be[e]||e===`%`&&be[t]||t!==e&&be[t]&&be[e]||xe[e]&&xe[t])}var Ce=new Map([[`|>`],[`??`],[`||`],[`&&`],[`|`],[`^`],[`&`],[`==`,`===`,`!=`,`!==`],[`<`,`>`,`<=`,`>=`,`in`,`instanceof`],[`>>`,`<<`,`>>>`],[`+`,`-`],[`*`,`/`,`%`],[`**`]].flatMap((e,t)=>e.map(e=>[e,t])));function we(e){return Ce.get(e)}function Te(e){return!!xe[e]||e===`|`||e===`^`||e===`&`}function Ee(e){return e.rest?!0:r(Oe(e))?.type===`RestElement`}var De=new WeakMap;function Oe(e){if(De.has(e))return De.get(e);let t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),De.set(e,t),t}function ke(e,t){let n=e.getValue(),r=0,i=e=>t(e,r++);n.this&&e.call(i,`this`),Array.isArray(n.parameters)?e.each(i,`parameters`):Array.isArray(n.params)&&e.each(i,`params`),n.rest&&e.call(i,`rest`)}var Ae=new WeakMap;function je(e){if(Ae.has(e))return Ae.get(e);let t=e.arguments;return e.type===`ImportExpression`&&(t=[e.source],e.attributes&&t.push(e.attributes)),Ae.set(e,t),t}function Me(e,t){let n=e.getValue();n.type===`ImportExpression`?(e.call(e=>t(e,0),`source`),n.attributes&&e.call(e=>t(e,1),`attributes`)):e.each(t,`arguments`)}function Ne(e){return e.value.trim()===`prettier-ignore`&&!e.unignore}function Pe(e){return e&&(e.prettierIgnore||Re(e,Ie.PrettierIgnore))}function Fe(e){return Pe(e.getValue())}var Ie={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},Le=(e,t)=>{if(typeof e==`function`&&(t=e,e=0),e||t)return(n,r,i)=>!(e&Ie.Leading&&!n.leading||e&Ie.Trailing&&!n.trailing||e&Ie.Dangling&&(n.leading||n.trailing)||e&Ie.Block&&!f(n)||e&Ie.Line&&!T(n)||e&Ie.First&&r!==0||e&Ie.Last&&r!==i.length-1||e&Ie.PrettierIgnore&&!Ne(n)||t&&!t(n))};function Re(e,t,n){if(!o(e?.comments))return!1;let r=Le(t,n);return r?e.comments.some(r):!0}function ze(e,t,n){if(!Array.isArray(e?.comments))return[];let r=Le(t,n);return r?e.comments.filter(r):e.comments}var Be=(e,t)=>{let{originalText:n}=t;return s(n,u(e))};function Ve(e){return te(e)||e.type===`NewExpression`||e.type===`ImportExpression`}function He(e){return e&&(e.type===`ObjectProperty`||e.type===`Property`&&!e.method&&e.kind===`init`)}function Ue(e){return!!e.__isUsingHackPipeline}var We=Symbol(`ifWithoutBlockAndSameLineComment`);function Ge(e){return e.type===`TSAsExpression`||e.type===`TSSatisfiesExpression`}t.exports={getFunctionParameters:Oe,iterateFunctionParametersPath:ke,getCallArguments:je,iterateCallArgumentsPath:Me,hasRestParameter:Ee,getLeftSide:S,getLeftSidePathName:C,getParentExportDeclaration:D,getTypeScriptMappedTypeModifier:re,hasFlowAnnotationComment:v,hasFlowShorthandAnnotationComment:_,hasLeadingOwnLineComment:ae,hasNakedLeftSide:x,hasNode:y,hasIgnoreComment:Fe,hasNodeIgnoreComment:Pe,identity:he,isBinaryish:H,isCallLikeExpression:Ve,isEnabledHackPipeline:Ue,isLineComment:T,isPrettierIgnoreComment:Ne,isCallExpression:te,isMemberExpression:ne,isExportDeclaration:E,isFlowAnnotationComment:ie,isFunctionCompositionArgs:fe,isFunctionNotation:z,isFunctionOrArrowExpression:N,isGetterOrSetter:R,isJestEachTemplateLiteral:ce,isJsxNode:I,isLiteral:O,isLongCurriedCallExpression:pe,isSimpleCallArgument:X,isMemberish:U,isNumericLiteral:k,isSignedNumericLiteral:A,isObjectProperty:He,isObjectType:M,isObjectTypePropertyAFunction:B,isSimpleType:G,isSimpleNumber:se,isSimpleTemplateLiteral:Y,isStringLiteral:j,isStringPropSafeToUnquote:oe,isTemplateOnItsOwnLine:ue,isTestCall:J,isTheOnlyJsxElementInMarkdown:L,isTSXFile:ge,isTypeAnnotationAFunction:V,isNextLineEmpty:Be,needsHardlineAfterDanglingComment:de,rawText:me,shouldPrintComma:_e,isBitwiseOperator:Te,shouldFlatten:Se,startsWithNoLookaheadToken:ve,getPrecedence:we,hasComment:Re,getComments:ze,CommentCheckFlags:Ie,markerForIfWithoutBlockAndSameLineComment:We,isTSTypeExpression:Ge}}}),sn=m({"src/language-js/print/template-literal.js"(e,t){b();var n=E(),{getStringWidth:r,getIndentSize:i}=Z(),{builders:{join:a,hardline:o,softline:s,group:c,indent:l,align:u,lineSuffixBoundary:d,addAlignmentToDoc:f},printer:{printDocToString:p},utils:{mapDoc:m}}=H(),{isBinaryish:h,isJestEachTemplateLiteral:g,isSimpleTemplateLiteral:_,hasComment:v,isMemberExpression:y,isTSTypeExpression:x}=on();function S(e,t,n){let r=e.getValue();if(r.type===`TemplateLiteral`&&g(r,e.getParentNode())){let r=C(e,n,t);if(r)return r}let a=`expressions`;r.type===`TSTemplateLiteralType`&&(a=`types`);let o=[],m=e.map(t,a),b=_(r);return b&&(m=m.map(e=>p(e,Object.assign(Object.assign({},n),{},{printWidth:1/0})).formatted)),o.push(d,"`"),e.each(e=>{let p=e.getName();if(o.push(t()),p<m.length){let{tabWidth:t}=n,g=e.getValue(),_=i(g.value.raw,t),S=m[p];if(!b){let e=r[a][p];(v(e)||y(e)||e.type===`ConditionalExpression`||e.type===`SequenceExpression`||x(e)||h(e))&&(S=[l([s,S]),s])}let C=_===0&&g.value.raw.endsWith(`
|
|
183
|
-
`)?u(-1/0,S):f(S,_,t);o.push(c(["${",C,d,`}`]))}},`quasis`),o.push("`"),o}function C(e,t,i){let s=e.getNode(),c=s.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(c.length>1||c.some(e=>e.length>0)){t.__inJestEach=!0;let u=e.map(i,`expressions`);t.__inJestEach=!1;let f=[],m=u.map(e=>"${"+p(e,Object.assign(Object.assign({},t),{},{printWidth:1/0,endOfLine:`lf`})).formatted+`}`),h=[{hasLineBreak:!1,cells:[]}];for(let e=1;e<s.quasis.length;e++){let t=n(h),r=m[e-1];t.cells.push(r),r.includes(`
|
|
184
|
-
`)&&(t.hasLineBreak=!0),s.quasis[e].value.raw.includes(`
|
|
185
|
-
`)&&h.push({hasLineBreak:!1,cells:[]})}let g=Math.max(c.length,...h.map(e=>e.cells.length)),_=Array.from({length:g}).fill(0),v=[{cells:c},...h.filter(e=>e.cells.length>0)];for(let{cells:e}of v.filter(e=>!e.hasLineBreak))for(let[t,n]of e.entries())_[t]=Math.max(_[t],r(n));return f.push(d,"`",l([o,a(o,v.map(e=>a(` | `,e.cells.map((t,n)=>e.hasLineBreak?t:t+` `.repeat(_[n]-r(t))))))]),o,"`"),f}}function w(e,t){let n=e.getValue(),r=t();return v(n)&&(r=c([l([s,r]),s])),["${",r,d,`}`]}function T(e,t){return e.map(e=>w(e,t),`expressions`)}function D(e,t){return m(e,e=>typeof e==`string`?t?e.replace(/(\\*)`/g,"$1$1\\`"):O(e):e)}function O(e){return e.replace(/([\\`]|\${)/g,`\\$1`)}t.exports={printTemplateLiteral:S,printTemplateExpressions:T,escapeTemplateCharacters:D,uncookTemplateElementValue:O}}}),cn=m({"src/language-js/embed/markdown.js"(e,t){b();var{builders:{indent:n,softline:r,literalline:i,dedentToRoot:a}}=H(),{escapeTemplateCharacters:o}=sn();function s(e,t,s){let l=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(e,t)=>`\\`.repeat(t.length/2)+"`"),u=c(l),d=u!==``;d&&(l=l.replace(RegExp(`^${u}`,`gm`),``));let f=o(s(l,{parser:`markdown`,__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",d?n([r,f]):[i,a(f)],r,"`"]}function c(e){let t=e.match(/^([^\S\n]*)\S/m);return t===null?``:t[1]}t.exports=s}}),ln=m({"src/language-js/embed/css.js"(e,t){b();var{isNonEmptyArray:n}=Z(),{builders:{indent:r,hardline:i,softline:a},utils:{mapDoc:o,replaceEndOfLine:s,cleanDoc:c}}=H(),{printTemplateExpressions:l}=sn();function u(e,t,n){let r=e.getValue(),i=r.quasis.map(e=>e.value.raw),a=0;return d(n(i.reduce((e,t,n)=>n===0?t:e+`@prettier-placeholder-`+ a+++`-id`+t,``),{parser:`scss`},{stripTrailingHardline:!0}),r,l(e,t))}function d(e,t,n){if(t.quasis.length===1&&!t.quasis[0].value.raw.trim())return"``";let o=f(e,n);if(!o)throw Error(`Couldn't insert all the expressions`);return["`",r([i,o]),a,"`"]}function f(e,t){if(!n(t))return e;let r=0,i=o(c(e),e=>typeof e!=`string`||!e.includes(`@prettier-placeholder`)?e:e.split(/@prettier-placeholder-(\d+)-id/).map((e,n)=>n%2==0?s(e):(r++,t[e])));return t.length===r?i:null}t.exports=u}}),un=m({"src/language-js/embed/graphql.js"(e,t){b();var{builders:{indent:n,join:r,hardline:i}}=H(),{escapeTemplateCharacters:a,printTemplateExpressions:o}=sn();function s(e,t,s){let l=e.getValue(),u=l.quasis.length;if(u===1&&l.quasis[0].value.raw.trim()===``)return"``";let d=o(e,t),f=[];for(let e=0;e<u;e++){let t=l.quasis[e],n=e===0,r=e===u-1,i=t.value.cooked,o=i.split(`
|
|
186
|
-
`),p=o.length,m=d[e],h=p>2&&o[0].trim()===``&&o[1].trim()===``,g=p>2&&o[p-1].trim()===``&&o[p-2].trim()===``,_=o.every(e=>/^\s*(?:#[^\n\r]*)?$/.test(e));if(!r&&/#[^\n\r]*$/.test(o[p-1]))return null;let v=null;v=_?c(o):s(i,{parser:`graphql`},{stripTrailingHardline:!0}),v?(v=a(v,!1),!n&&h&&f.push(``),f.push(v),!r&&g&&f.push(``)):!n&&!r&&h&&f.push(``),m&&f.push(m)}return["`",n([i,r(i,f)]),i,"`"]}function c(e){let t=[],n=!1,a=e.map(e=>e.trim());for(let[e,r]of a.entries())r!==``&&(a[e-1]===``&&n?t.push([i,r]):t.push(r),n=!0);return t.length===0?null:r(i,t)}t.exports=s}}),dn=m({"src/language-js/embed/html.js"(e,t){b();var{builders:{indent:n,line:r,hardline:i,group:a},utils:{mapDoc:o}}=H(),{printTemplateExpressions:s,uncookTemplateElementValue:c}=sn(),l=0;function u(e,t,u,d,f){let{parser:p}=f,m=e.getValue(),h=l;l=l+1>>>0;let g=e=>`PRETTIER_HTML_PLACEHOLDER_${e}_${h}_IN_JS`,_=m.quasis.map((e,t,n)=>t===n.length-1?e.value.cooked:e.value.cooked+g(t)).join(``),v=s(e,t);if(v.length===0&&_.trim().length===0)return"``";let y=new RegExp(g(`(\\d+)`),`g`),b=0,x=o(u(_,{parser:p,__onHtmlRoot(e){b=e.children.length}},{stripTrailingHardline:!0}),e=>{if(typeof e!=`string`)return e;let t=[],n=e.split(y);for(let e=0;e<n.length;e++){let r=n[e];if(e%2==0){r&&(r=c(r),d.__embeddedInHtml&&(r=r.replace(/<\/(script)\b/gi,`<\\/$1`)),t.push(r));continue}let i=Number(r);t.push(v[i])}return t}),S=/^\s/.test(_)?` `:``,C=/\s$/.test(_)?` `:``,w=d.htmlWhitespaceSensitivity===`ignore`?i:S&&C?r:null;return a(w?["`",n([w,a(x)]),w,"`"]:["`",S,b>1?n(a(x)):a(x),C,"`"])}t.exports=u}}),fn=m({"src/language-js/embed.js"(e,t){b();var{hasComment:n,CommentCheckFlags:r,isObjectProperty:i}=on(),a=cn(),o=ln(),s=un(),c=dn();function l(e){if(f(e)||g(e)||_(e)||p(e))return`css`;if(x(e))return`graphql`;if(C(e))return`html`;if(m(e))return`angular`;if(d(e))return`markdown`}function u(e,t,n,r){let i=e.getValue();if(i.type!==`TemplateLiteral`||w(i))return;let u=l(e);if(u){if(u===`markdown`)return a(e,t,n);if(u===`css`)return o(e,t,n);if(u===`graphql`)return s(e,t,n);if(u===`html`||u===`angular`)return c(e,t,n,r,{parser:u})}}function d(e){let t=e.getValue(),n=e.getParentNode();return n&&n.type===`TaggedTemplateExpression`&&t.quasis.length===1&&n.tag.type===`Identifier`&&(n.tag.name===`md`||n.tag.name===`markdown`)}function f(e){let t=e.getValue(),n=e.getParentNode(),r=e.getParentNode(1);return r&&t.quasis&&n.type===`JSXExpressionContainer`&&r.type===`JSXElement`&&r.openingElement.name.name===`style`&&r.openingElement.attributes.some(e=>e.name.name===`jsx`)||n&&n.type===`TaggedTemplateExpression`&&n.tag.type===`Identifier`&&n.tag.name===`css`||n&&n.type===`TaggedTemplateExpression`&&n.tag.type===`MemberExpression`&&n.tag.object.name===`css`&&(n.tag.property.name===`global`||n.tag.property.name===`resolve`)}function p(e){return e.match(e=>e.type===`TemplateLiteral`,(e,t)=>e.type===`ArrayExpression`&&t===`elements`,(e,t)=>i(e)&&e.key.type===`Identifier`&&e.key.name===`styles`&&t===`value`,...h)}function m(e){return e.match(e=>e.type===`TemplateLiteral`,(e,t)=>i(e)&&e.key.type===`Identifier`&&e.key.name===`template`&&t===`value`,...h)}var h=[(e,t)=>e.type===`ObjectExpression`&&t===`properties`,(e,t)=>e.type===`CallExpression`&&e.callee.type===`Identifier`&&e.callee.name===`Component`&&t===`arguments`,(e,t)=>e.type===`Decorator`&&t===`expression`];function g(e){let t=e.getParentNode();if(!t||t.type!==`TaggedTemplateExpression`)return!1;let n=t.tag.type===`ParenthesizedExpression`?t.tag.expression:t.tag;switch(n.type){case`MemberExpression`:return v(n.object)||y(n);case`CallExpression`:return v(n.callee)||n.callee.type===`MemberExpression`&&(n.callee.object.type===`MemberExpression`&&(v(n.callee.object.object)||y(n.callee.object))||n.callee.object.type===`CallExpression`&&v(n.callee.object.callee));case`Identifier`:return n.name===`css`;default:return!1}}function _(e){let t=e.getParentNode(),n=e.getParentNode(1);return n&&t.type===`JSXExpressionContainer`&&n.type===`JSXAttribute`&&n.name.type===`JSXIdentifier`&&n.name.name===`css`}function v(e){return e.type===`Identifier`&&e.name===`styled`}function y(e){return/^[A-Z]/.test(e.object.name)&&e.property.name===`extend`}function x(e){let t=e.getValue(),n=e.getParentNode();return S(t,`GraphQL`)||n&&(n.type===`TaggedTemplateExpression`&&(n.tag.type===`MemberExpression`&&n.tag.object.name===`graphql`&&n.tag.property.name===`experimental`||n.tag.type===`Identifier`&&(n.tag.name===`gql`||n.tag.name===`graphql`))||n.type===`CallExpression`&&n.callee.type===`Identifier`&&n.callee.name===`graphql`)}function S(e,t){return n(e,r.Block|r.Leading,e=>{let{value:n}=e;return n===` ${t} `})}function C(e){return S(e.getValue(),`HTML`)||e.match(e=>e.type===`TemplateLiteral`,(e,t)=>e.type===`TaggedTemplateExpression`&&e.tag.type===`Identifier`&&e.tag.name===`html`&&t===`quasi`)}function w(e){let{quasis:t}=e;return t.some(e=>{let{value:{cooked:t}}=e;return t===null})}t.exports=u}}),pn=m({"src/language-js/clean.js"(e,t){b();var n=rn(),r=new Set([`range`,`raw`,`comments`,`leadingComments`,`trailingComments`,`innerComments`,`extra`,`start`,`end`,`loc`,`flags`,`errors`,`tokens`]),i=e=>{for(let t of e.quasis)delete t.value};function a(e,t,r){if(e.type===`Program`&&delete t.sourceType,(e.type===`BigIntLiteral`||e.type===`BigIntLiteralTypeAnnotation`)&&t.value&&(t.value=t.value.toLowerCase()),(e.type===`BigIntLiteral`||e.type===`Literal`)&&t.bigint&&(t.bigint=t.bigint.toLowerCase()),e.type===`DecimalLiteral`&&(t.value=Number(t.value)),e.type===`Literal`&&t.decimal&&(t.decimal=Number(t.decimal)),e.type===`EmptyStatement`||e.type===`JSXText`||e.type===`JSXExpressionContainer`&&(e.expression.type===`Literal`||e.expression.type===`StringLiteral`)&&e.expression.value===` `)return null;if((e.type===`Property`||e.type===`ObjectProperty`||e.type===`MethodDefinition`||e.type===`ClassProperty`||e.type===`ClassMethod`||e.type===`PropertyDefinition`||e.type===`TSDeclareMethod`||e.type===`TSPropertySignature`||e.type===`ObjectTypeProperty`)&&typeof e.key==`object`&&e.key&&(e.key.type===`Literal`||e.key.type===`NumericLiteral`||e.key.type===`StringLiteral`||e.key.type===`Identifier`)&&delete t.key,e.type===`JSXElement`&&e.openingElement.name.name===`style`&&e.openingElement.attributes.some(e=>e.name.name===`jsx`))for(let{type:e,expression:n}of t.children)e===`JSXExpressionContainer`&&n.type===`TemplateLiteral`&&i(n);e.type===`JSXAttribute`&&e.name.name===`css`&&e.value.type===`JSXExpressionContainer`&&e.value.expression.type===`TemplateLiteral`&&i(t.value.expression),e.type===`JSXAttribute`&&e.value&&e.value.type===`Literal`&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,`"`));let a=e.expression||e.callee;if(e.type===`Decorator`&&a.type===`CallExpression`&&a.callee.name===`Component`&&a.arguments.length===1){let n=e.expression.arguments[0].properties;for(let[e,r]of t.expression.arguments[0].properties.entries())switch(n[e].key.name){case`styles`:r.value.type===`ArrayExpression`&&i(r.value.elements[0]);break;case`template`:r.value.type===`TemplateLiteral`&&i(r.value);break}}if(e.type===`TaggedTemplateExpression`&&(e.tag.type===`MemberExpression`||e.tag.type===`Identifier`&&(e.tag.name===`gql`||e.tag.name===`graphql`||e.tag.name===`css`||e.tag.name===`md`||e.tag.name===`markdown`||e.tag.name===`html`)||e.tag.type===`CallExpression`)&&i(t.quasi),e.type===`TemplateLiteral`){var o;((o=e.leadingComments)!=null&&o.some(e=>n(e)&&[`GraphQL`,`HTML`].some(t=>e.value===` ${t} `))||r.type===`CallExpression`&&r.callee.name===`graphql`||!e.leadingComments)&&i(t)}if(e.type===`InterpreterDirective`&&(t.value=t.value.trimEnd()),(e.type===`TSIntersectionType`||e.type===`TSUnionType`)&&e.types.length===1)return t.types[0]}a.ignoredProperties=r,t.exports=a}}),mn={};h(mn,{EOL:()=>jn,arch:()=>En,cpus:()=>xn,default:()=>Mn,endianness:()=>hn,freemem:()=>yn,getNetworkInterfaces:()=>Tn,hostname:()=>gn,loadavg:()=>_n,networkInterfaces:()=>wn,platform:()=>Dn,release:()=>Cn,tmpDir:()=>On,tmpdir:()=>An,totalmem:()=>bn,type:()=>Sn,uptime:()=>vn});function hn(){if(typeof kn>`u`){var e=new ArrayBuffer(2),t=new Uint8Array(e),n=new Uint16Array(e);if(t[0]=1,t[1]=2,n[0]===258)kn=`BE`;else if(n[0]===513)kn=`LE`;else throw Error(`unable to figure out endianess`)}return kn}function gn(){return typeof globalThis.location<`u`?globalThis.location.hostname:``}function _n(){return[]}function vn(){return 0}function yn(){return Number.MAX_VALUE}function bn(){return Number.MAX_VALUE}function xn(){return[]}function Sn(){return`Browser`}function Cn(){return typeof globalThis.navigator<`u`?globalThis.navigator.appVersion:``}function wn(){}function Tn(){}function En(){return`javascript`}function Dn(){return`browser`}function On(){return`/tmp`}var kn,An,jn,Mn,Nn=p({"node-modules-polyfills:os"(){b(),An=On,jn=`
|
|
187
|
-
`,Mn={EOL:jn,tmpdir:An,tmpDir:On,networkInterfaces:wn,getNetworkInterfaces:Tn,release:Cn,type:Sn,cpus:xn,totalmem:bn,freemem:yn,uptime:vn,loadavg:_n,hostname:gn,endianness:hn}}}),Pn=m({"node-modules-polyfills-commonjs:os"(e,t){b();var n=(Nn(),v(mn));if(n&&n.default){t.exports=n.default;for(let e in n)t.exports[e]=n[e]}else n&&(t.exports=n)}}),Fn=m({"node_modules/detect-newline/index.js"(e,t){b();var n=e=>{if(typeof e!=`string`)throw TypeError(`Expected a string`);let t=e.match(/(?:\r?\n)/g)||[];if(t.length===0)return;let n=t.filter(e=>e===`\r
|
|
188
|
-
`).length;return n>t.length-n?`\r
|
|
189
|
-
`:`
|
|
190
|
-
`};t.exports=n,t.exports.graceful=e=>typeof e==`string`&&n(e)||`
|
|
191
|
-
`}}),In=m({"node_modules/jest-docblock/build/index.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0}),e.extract=p,e.parse=h,e.parseWithComments=g,e.print=_,e.strip=m;function t(){let e=Pn();return t=function(){return e},e}function n(){let e=r(Fn());return n=function(){return e},e}function r(e){return e&&e.__esModule?e:{default:e}}var i=/\*\/$/,a=/^\/\*\*?/,o=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,s=/(^|\s+)\/\/([^\r\n]*)/g,c=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,u=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,d=/(\r?\n|^) *\* ?/g,f=[];function p(e){let t=e.match(o);return t?t[0].trimLeft():``}function m(e){let t=e.match(o);return t&&t[0]?e.substring(t[0].length):e}function h(e){return g(e).pragmas}function g(e){let r=(0,n().default)(e)||t().EOL;e=e.replace(a,``).replace(i,``).replace(d,`$1`);let o=``;for(;o!==e;)o=e,e=e.replace(l,`${r}$1 $2${r}`);e=e.replace(c,``).trimRight();let p=Object.create(null),m=e.replace(u,``).replace(c,``).trimRight(),h;for(;h=u.exec(e);){let e=h[2].replace(s,``);typeof p[h[1]]==`string`||Array.isArray(p[h[1]])?p[h[1]]=f.concat(p[h[1]],e):p[h[1]]=e}return{comments:m,pragmas:p}}function _(e){let{comments:r=``,pragmas:i={}}=e,a=(0,n().default)(r)||t().EOL,o=Object.keys(i),s=o.map(e=>v(e,i[e])).reduce((e,t)=>e.concat(t),[]).map(e=>` * ${e}${a}`).join(``);if(!r){if(o.length===0)return``;if(o.length===1&&!Array.isArray(i[o[0]])){let e=i[o[0]];return`/** ${v(o[0],e)[0]} */`}}let c=r.split(a).map(e=>` * ${e}`).join(a)+a;return`/**`+a+(r?c:``)+(r&&o.length?` *`+a:``)+s+` */`}function v(e,t){return f.concat(t).map(t=>`@${e} ${t}`.trim())}}}),Ln=m({"src/language-js/utils/get-shebang.js"(e,t){b();function n(e){if(!e.startsWith(`#!`))return``;let t=e.indexOf(`
|
|
192
|
-
`);return t===-1?e:e.slice(0,t)}t.exports=n}}),Rn=m({"src/language-js/pragma.js"(e,t){b();var{parseWithComments:n,strip:r,extract:i,print:a}=In(),{normalizeEndOfLine:o}=T(),s=Ln();function c(e){let t=s(e);t&&(e=e.slice(t.length+1));let{pragmas:r,comments:a}=n(i(e));return{shebang:t,text:e,pragmas:r,comments:a}}function l(e){let t=Object.keys(c(e).pragmas);return t.includes(`prettier`)||t.includes(`format`)}function u(e){let{shebang:t,text:n,pragmas:i,comments:s}=c(e),l=r(n),u=a({pragmas:Object.assign({format:``},i),comments:s.trimStart()});return(t?`${t}
|
|
193
|
-
`:``)+o(u)+(l.startsWith(`
|
|
194
|
-
`)?`
|
|
195
|
-
`:`
|
|
196
|
-
|
|
197
|
-
`)+l}t.exports={hasPragma:l,insertPragma:u}}}),zn=m({"src/language-js/utils/is-type-cast-comment.js"(e,t){b();var n=rn();function r(e){return n(e)&&e.value[0]===`*`&&/@(?:type|satisfies)\b/.test(e.value)}t.exports=r}}),Q=m({"src/language-js/comments.js"(e,t){b();var{getLast:n,hasNewline:r,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:i,getNextNonSpaceNonCommentCharacter:a,hasNewlineInRange:o,addLeadingComment:s,addTrailingComment:c,addDanglingComment:l,getNextNonSpaceNonCommentCharacterIndex:u,isNonEmptyArray:d}=Z(),{getFunctionParameters:f,isPrettierIgnoreComment:p,isJsxNode:m,hasFlowShorthandAnnotationComment:h,hasFlowAnnotationComment:g,hasIgnoreComment:_,isCallLikeExpression:v,getCallArguments:y,isCallExpression:x,isMemberExpression:S,isObjectProperty:C,isLineComment:w,getComments:T,CommentCheckFlags:E,markerForIfWithoutBlockAndSameLineComment:D}=on(),{locStart:O,locEnd:k}=Lt(),A=rn(),j=zn();function M(e){return[he,Y,V,R,z,B,G,le,oe,ce,ue,de,q,re,ie].some(t=>t(e))}function N(e){return[L,Y,H,ue,R,z,B,G,re,ae,se,ce,X,ie,_e].some(t=>t(e))}function P(e){return[he,R,z,U,ne,q,ce,te,J,ge,ie,me].some(t=>t(e))}function F(e,t){let n=(e.body||e.properties).find(e=>{let{type:t}=e;return t!==`EmptyStatement`});n?s(n,t):l(e,t)}function I(e,t){e.type===`BlockStatement`?F(e,t):s(e,t)}function L(e){let{comment:t,followingNode:n}=e;return n&&j(t)?(s(n,t),!0):!1}function R(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:i,text:o}=e;if(r?.type!==`IfStatement`||!i)return!1;if(a(o,t,k)===`)`)return c(n,t),!0;if(n===r.consequent&&i===r.alternate){if(n.type===`BlockStatement`)c(n,t);else{let e=t.type===`SingleLine`||t.loc.start.line===t.loc.end.line,i=t.loc.start.line===n.loc.start.line;e&&i?l(n,t,D):l(r,t)}return!0}return i.type===`BlockStatement`?(F(i,t),!0):i.type===`IfStatement`?(I(i.consequent,t),!0):r.consequent===i?(s(i,t),!0):!1}function z(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:i,text:o}=e;return r?.type!==`WhileStatement`||!i?!1:a(o,t,k)===`)`?(c(n,t),!0):i.type===`BlockStatement`?(F(i,t),!0):r.body===i?(s(i,t),!0):!1}function B(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:i}=e;return r?.type!==`TryStatement`&&r?.type!==`CatchClause`||!i?!1:r.type===`CatchClause`&&n?(c(n,t),!0):i.type===`BlockStatement`?(F(i,t),!0):i.type===`TryStatement`?(I(i.finalizer,t),!0):i.type===`CatchClause`?(I(i.body,t),!0):!1}function V(e){let{comment:t,enclosingNode:n,followingNode:r}=e;return S(n)&&r?.type===`Identifier`?(s(n,t),!0):!1}function H(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:i,text:a}=e,c=n&&!o(a,k(n),O(t));return(!n||!c)&&(r?.type===`ConditionalExpression`||r?.type===`TSConditionalType`)&&i?(s(i,t),!0):!1}function U(e){let{comment:t,precedingNode:n,enclosingNode:r}=e;return C(r)&&r.shorthand&&r.key===n&&r.value.type===`AssignmentPattern`?(c(r.value.left,t),!0):!1}var W=new Set([`ClassDeclaration`,`ClassExpression`,`DeclareClass`,`DeclareInterface`,`InterfaceDeclaration`,`TSInterfaceDeclaration`]);function G(e){let{comment:t,precedingNode:r,enclosingNode:i,followingNode:a}=e;if(W.has(i?.type)){if(d(i.decorators)&&!(a&&a.type===`Decorator`))return c(n(i.decorators),t),!0;if(i.body&&a===i.body)return F(i.body,t),!0;if(a){if(i.superClass&&a===i.superClass&&r&&(r===i.id||r===i.typeParameters))return c(r,t),!0;for(let e of[`implements`,`extends`,`mixins`])if(i[e]&&a===i[e][0])return r&&(r===i.id||r===i.typeParameters||r===i.superClass)?c(r,t):l(i,t,e),!0}}return!1}var K=new Set([`ClassMethod`,`ClassProperty`,`PropertyDefinition`,`TSAbstractPropertyDefinition`,`TSAbstractMethodDefinition`,`TSDeclareMethod`,`MethodDefinition`,`ClassAccessorProperty`,`AccessorProperty`,`TSAbstractAccessorProperty`]);function q(e){let{comment:t,precedingNode:n,enclosingNode:r,text:i}=e;return r&&n&&a(i,t,k)===`(`&&(r.type===`Property`||r.type===`TSDeclareMethod`||r.type===`TSAbstractMethodDefinition`)&&n.type===`Identifier`&&r.key===n&&a(i,n,k)!==`:`||n?.type===`Decorator`&&K.has(r?.type)?(c(n,t),!0):!1}var ee=new Set([`FunctionDeclaration`,`FunctionExpression`,`ClassMethod`,`MethodDefinition`,`ObjectMethod`]);function J(e){let{comment:t,precedingNode:n,enclosingNode:r,text:i}=e;return a(i,t,k)===`(`&&n&&ee.has(r?.type)?(c(n,t),!0):!1}function te(e){let{comment:t,enclosingNode:n,text:r}=e;if(n?.type!==`ArrowFunctionExpression`)return!1;let i=u(r,t,k);return i!==!1&&r.slice(i,i+2)===`=>`?(l(n,t),!0):!1}function ne(e){let{comment:t,enclosingNode:n,text:r}=e;return a(r,t,k)===`)`?n&&(ve(n)&&f(n).length===0||v(n)&&y(n).length===0)?(l(n,t),!0):(n?.type===`MethodDefinition`||n?.type===`TSAbstractMethodDefinition`)&&f(n.value).length===0?(l(n.value,t),!0):!1:!1}function Y(e){let{comment:t,precedingNode:r,enclosingNode:o,followingNode:s,text:l}=e;if(r?.type===`FunctionTypeParam`&&o?.type===`FunctionTypeAnnotation`&&s?.type!==`FunctionTypeParam`||(r?.type===`Identifier`||r?.type===`AssignmentPattern`)&&o&&ve(o)&&a(l,t,k)===`)`)return c(r,t),!0;if(o?.type===`FunctionDeclaration`&&s?.type===`BlockStatement`){let e=(()=>{let e=f(o);if(e.length>0)return i(l,k(n(e)));let t=i(l,k(o.id));return t!==!1&&i(l,t+1)})();if(O(t)>e)return F(s,t),!0}return!1}function re(e){let{comment:t,enclosingNode:n}=e;return n?.type===`LabeledStatement`?(s(n,t),!0):!1}function ie(e){let{comment:t,enclosingNode:n}=e;return(n?.type===`ContinueStatement`||n?.type===`BreakStatement`)&&!n.label?(c(n,t),!0):!1}function ae(e){let{comment:t,precedingNode:n,enclosingNode:r}=e;return x(r)&&n&&r.callee===n&&r.arguments.length>0?(s(r.arguments[0],t),!0):!1}function oe(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:i}=e;return r?.type===`UnionTypeAnnotation`||r?.type===`TSUnionType`?(p(t)&&(i.prettierIgnore=!0,t.unignore=!0),n?(c(n,t),!0):!1):((i?.type===`UnionTypeAnnotation`||i?.type===`TSUnionType`)&&p(t)&&(i.types[0].prettierIgnore=!0,t.unignore=!0),!1)}function se(e){let{comment:t,enclosingNode:n}=e;return C(n)?(s(n,t),!0):!1}function ce(e){let{comment:t,enclosingNode:n,followingNode:r,ast:i,isLastComment:a}=e;return i&&i.body&&i.body.length===0?(a?l(i,t):s(i,t),!0):n?.type===`Program`&&n?.body.length===0&&!d(n.directives)?(a?l(n,t):s(n,t),!0):r?.type===`Program`&&r?.body.length===0&&n?.type===`ModuleExpression`?(l(r,t),!0):!1}function le(e){let{comment:t,enclosingNode:n}=e;return n?.type===`ForInStatement`||n?.type===`ForOfStatement`?(s(n,t),!0):!1}function ue(e){let{comment:t,precedingNode:n,enclosingNode:i,text:a}=e;if(i?.type===`ImportSpecifier`||i?.type===`ExportSpecifier`)return s(i,t),!0;let o=n?.type===`ImportSpecifier`&&i?.type===`ImportDeclaration`,l=n?.type===`ExportSpecifier`&&i?.type===`ExportNamedDeclaration`;return(o||l)&&r(a,k(t))?(c(n,t),!0):!1}function de(e){let{comment:t,enclosingNode:n}=e;return n?.type===`AssignmentPattern`?(s(n,t),!0):!1}var fe=new Set([`VariableDeclarator`,`AssignmentExpression`,`TypeAlias`,`TSTypeAliasDeclaration`]),pe=new Set([`ObjectExpression`,`ArrayExpression`,`TemplateLiteral`,`TaggedTemplateExpression`,`ObjectTypeAnnotation`,`TSTypeLiteral`]);function X(e){let{comment:t,enclosingNode:n,followingNode:r}=e;return fe.has(n?.type)&&r&&(pe.has(r.type)||A(t))?(s(r,t),!0):!1}function me(e){let{comment:t,enclosingNode:n,followingNode:r,text:i}=e;return!r&&(n?.type===`TSMethodSignature`||n?.type===`TSDeclareFunction`||n?.type===`TSAbstractMethodDefinition`)&&a(i,t,k)===`;`?(c(n,t),!0):!1}function he(e){let{comment:t,enclosingNode:n,followingNode:r}=e;if(p(t)&&n?.type===`TSMappedType`&&r?.type===`TSTypeParameter`&&r.constraint)return n.prettierIgnore=!0,t.unignore=!0,!0}function ge(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:i}=e;return r?.type===`TSMappedType`?i?.type===`TSTypeParameter`&&i.name?(s(i.name,t),!0):n?.type===`TSTypeParameter`&&n.constraint?(c(n.constraint,t),!0):!1:!1}function _e(e){let{comment:t,enclosingNode:n,followingNode:r}=e;return!n||n.type!==`SwitchCase`||n.test||!r||r!==n.consequent[0]?!1:(r.type===`BlockStatement`&&w(t)?F(r,t):l(n,t),!0)}function ve(e){return e.type===`ArrowFunctionExpression`||e.type===`FunctionExpression`||e.type===`FunctionDeclaration`||e.type===`ObjectMethod`||e.type===`ClassMethod`||e.type===`TSDeclareFunction`||e.type===`TSCallSignatureDeclaration`||e.type===`TSConstructSignatureDeclaration`||e.type===`TSMethodSignature`||e.type===`TSConstructorType`||e.type===`TSFunctionType`||e.type===`TSDeclareMethod`}function ye(e,t){if((t.parser===`typescript`||t.parser===`flow`||t.parser===`acorn`||t.parser===`espree`||t.parser===`meriyah`||t.parser===`__babel_estree`)&&e.type===`MethodDefinition`&&e.value&&e.value.type===`FunctionExpression`&&f(e.value).length===0&&!e.value.returnType&&!d(e.value.typeParameters)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]}function be(e){let t=e.getValue(),n=e.getParentNode();return(t&&(m(t)||h(t)||x(n)&&(e=>g(T(e,E.Leading))||g(T(e,E.Trailing)))(t))||n&&(n.type===`JSXSpreadAttribute`||n.type===`JSXSpreadChild`||n.type===`UnionTypeAnnotation`||n.type===`TSUnionType`||(n.type===`ClassDeclaration`||n.type===`ClassExpression`)&&n.superClass===t))&&(!_(e)||n.type===`UnionTypeAnnotation`||n.type===`TSUnionType`)}t.exports={handleOwnLineComment:M,handleEndOfLineComment:N,handleRemainingComment:P,getCommentChildNodes:ye,willPrintOwnComments:be}}}),Bn=m({"src/language-js/needs-parens.js"(e,t){b();var n=E(),r=le(),{getFunctionParameters:i,getLeftSidePathName:a,hasFlowShorthandAnnotationComment:o,hasNakedLeftSide:s,hasNode:c,isBitwiseOperator:l,startsWithNoLookaheadToken:u,shouldFlatten:d,getPrecedence:f,isCallExpression:p,isMemberExpression:m,isObjectProperty:h,isTSTypeExpression:g}=on();function _(e,t){let n=e.getParentNode();if(!n)return!1;let a=e.getName(),s=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&S(s)&&C(e))return!0;if(v(s))return!1;if(t.parser!==`flow`&&o(e.getValue()))return!0;if(s.type===`Identifier`){if(s.extra&&s.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(s.name)||a===`left`&&(s.name===`async`&&!n.await||s.name===`let`)&&n.type===`ForOfStatement`)return!0;if(s.name===`let`){let t=e.findAncestor(e=>e.type===`ForOfStatement`)?.left;if(t&&u(t,e=>e===s))return!0}if(a===`object`&&s.name===`let`&&n.type===`MemberExpression`&&n.computed&&!n.optional){let t=e.findAncestor(e=>e.type===`ExpressionStatement`||e.type===`ForStatement`||e.type===`ForInStatement`),n=t?t.type===`ExpressionStatement`?t.expression:t.type===`ForStatement`?t.init:t.left:void 0;if(n&&u(n,e=>e===s))return!0}return!1}if(s.type===`ObjectExpression`||s.type===`FunctionExpression`||s.type===`ClassExpression`||s.type===`DoExpression`){let t=e.findAncestor(e=>e.type===`ExpressionStatement`)?.expression;if(t&&u(t,e=>e===s))return!0}switch(n.type){case`ParenthesizedExpression`:return!1;case`ClassDeclaration`:case`ClassExpression`:if(a===`superClass`&&(s.type===`ArrowFunctionExpression`||s.type===`AssignmentExpression`||s.type===`AwaitExpression`||s.type===`BinaryExpression`||s.type===`ConditionalExpression`||s.type===`LogicalExpression`||s.type===`NewExpression`||s.type===`ObjectExpression`||s.type===`SequenceExpression`||s.type===`TaggedTemplateExpression`||s.type===`UnaryExpression`||s.type===`UpdateExpression`||s.type===`YieldExpression`||s.type===`TSNonNullExpression`))return!0;break;case`ExportDefaultDeclaration`:return w(e,t)||s.type===`SequenceExpression`;case`Decorator`:if(a===`expression`){if(m(s)&&s.computed)return!0;let e=!1,n=!1,r=s;for(;r;)switch(r.type){case`MemberExpression`:n=!0,r=r.object;break;case`CallExpression`:if(n||e)return t.parser!==`typescript`;e=!0,r=r.callee;break;case`Identifier`:return!1;case`TaggedTemplateExpression`:return t.parser!==`typescript`;default:return!0}return!0}break;case`ArrowFunctionExpression`:if(a===`body`&&s.type!==`SequenceExpression`&&u(s,e=>e.type===`ObjectExpression`))return!0;break}switch(s.type){case`UpdateExpression`:if(n.type===`UnaryExpression`)return s.prefix&&(s.operator===`++`&&n.operator===`+`||s.operator===`--`&&n.operator===`-`);case`UnaryExpression`:switch(n.type){case`UnaryExpression`:return s.operator===n.operator&&(s.operator===`+`||s.operator===`-`);case`BindExpression`:return!0;case`MemberExpression`:case`OptionalMemberExpression`:return a===`object`;case`TaggedTemplateExpression`:return!0;case`NewExpression`:case`CallExpression`:case`OptionalCallExpression`:return a===`callee`;case`BinaryExpression`:return a===`left`&&n.operator===`**`;case`TSNonNullExpression`:return!0;default:return!1}case`BinaryExpression`:if(n.type===`UpdateExpression`||s.operator===`in`&&y(e))return!0;if(s.operator===`|>`&&s.extra&&s.extra.parenthesized){let t=e.getParentNode(1);if(t.type===`BinaryExpression`&&t.operator===`|>`)return!0}case`TSTypeAssertion`:case`TSAsExpression`:case`TSSatisfiesExpression`:case`LogicalExpression`:switch(n.type){case`TSSatisfiesExpression`:case`TSAsExpression`:return!g(s);case`ConditionalExpression`:return g(s);case`CallExpression`:case`NewExpression`:case`OptionalCallExpression`:return a===`callee`;case`ClassExpression`:case`ClassDeclaration`:return a===`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 a===`object`;case`AssignmentExpression`:case`AssignmentPattern`:return a===`left`&&(s.type===`TSTypeAssertion`||g(s));case`LogicalExpression`:if(s.type===`LogicalExpression`)return n.operator!==s.operator;case`BinaryExpression`:{let{operator:e,type:t}=s;if(!e&&t!==`TSTypeAssertion`)return!0;let r=f(e),i=n.operator,o=f(i);return o>r||a===`right`&&o===r||o===r&&!d(i,e)?!0:o<r&&e===`%`?i===`+`||i===`-`:!!l(i)}default:return!1}case`SequenceExpression`:switch(n.type){case`ReturnStatement`:return!1;case`ForStatement`:return!1;case`ExpressionStatement`:return a!==`expression`;case`ArrowFunctionExpression`:return a!==`body`;default:return!0}case`YieldExpression`:if(n.type===`UnaryExpression`||n.type===`AwaitExpression`||g(n)||n.type===`TSNonNullExpression`)return!0;case`AwaitExpression`:switch(n.type){case`TaggedTemplateExpression`:case`UnaryExpression`:case`LogicalExpression`:case`SpreadElement`:case`SpreadProperty`:case`TSAsExpression`:case`TSSatisfiesExpression`:case`TSNonNullExpression`:case`BindExpression`:return!0;case`MemberExpression`:case`OptionalMemberExpression`:return a===`object`;case`NewExpression`:case`CallExpression`:case`OptionalCallExpression`:return a===`callee`;case`ConditionalExpression`:return a===`test`;case`BinaryExpression`:return!(!s.argument&&n.operator===`|>`);default:return!1}case`TSConditionalType`:case`TSFunctionType`:case`TSConstructorType`:if(a===`extendsType`&&n.type===`TSConditionalType`){if(s.type===`TSConditionalType`)return!0;let{typeAnnotation:e}=s.returnType||s.typeAnnotation;if(e.type===`TSTypePredicate`&&e.typeAnnotation&&(e=e.typeAnnotation.typeAnnotation),e.type===`TSInferType`&&e.typeParameter.constraint)return!0}if(a===`checkType`&&n.type===`TSConditionalType`)return!0;case`TSUnionType`:case`TSIntersectionType`:if((n.type===`TSUnionType`||n.type===`TSIntersectionType`)&&n.types.length>1&&(!s.types||s.types.length>1))return!0;case`TSInferType`:if(s.type===`TSInferType`&&n.type===`TSRestType`)return!1;case`TSTypeOperator`:return n.type===`TSArrayType`||n.type===`TSOptionalType`||n.type===`TSRestType`||a===`objectType`&&n.type===`TSIndexedAccessType`||n.type===`TSTypeOperator`||n.type===`TSTypeAnnotation`&&e.getParentNode(1).type.startsWith(`TSJSDoc`);case`TSTypeQuery`:return a===`objectType`&&n.type===`TSIndexedAccessType`||a===`elementType`&&n.type===`TSArrayType`;case`TypeofTypeAnnotation`:return a===`objectType`&&(n.type===`IndexedAccessType`||n.type===`OptionalIndexedAccessType`)||a===`elementType`&&n.type===`ArrayTypeAnnotation`;case`ArrayTypeAnnotation`:return n.type===`NullableTypeAnnotation`;case`IntersectionTypeAnnotation`:case`UnionTypeAnnotation`:return n.type===`ArrayTypeAnnotation`||n.type===`NullableTypeAnnotation`||n.type===`IntersectionTypeAnnotation`||n.type===`UnionTypeAnnotation`||a===`objectType`&&(n.type===`IndexedAccessType`||n.type===`OptionalIndexedAccessType`);case`NullableTypeAnnotation`:return n.type===`ArrayTypeAnnotation`||a===`objectType`&&(n.type===`IndexedAccessType`||n.type===`OptionalIndexedAccessType`);case`FunctionTypeAnnotation`:{let t=n.type===`NullableTypeAnnotation`?e.getParentNode(1):n;return t.type===`UnionTypeAnnotation`||t.type===`IntersectionTypeAnnotation`||t.type===`ArrayTypeAnnotation`||a===`objectType`&&(t.type===`IndexedAccessType`||t.type===`OptionalIndexedAccessType`)||t.type===`NullableTypeAnnotation`||n.type===`FunctionTypeParam`&&n.name===null&&i(s).some(e=>e.typeAnnotation&&e.typeAnnotation.type===`NullableTypeAnnotation`)}case`OptionalIndexedAccessType`:return a===`objectType`&&n.type===`IndexedAccessType`;case`StringLiteral`:case`NumericLiteral`:case`Literal`:if(typeof s.value==`string`&&n.type===`ExpressionStatement`&&!n.directive){let t=e.getParentNode(1);return t.type===`Program`||t.type===`BlockStatement`}return a===`object`&&n.type===`MemberExpression`&&typeof s.value==`number`;case`AssignmentExpression`:{let t=e.getParentNode(1);return a===`body`&&n.type===`ArrowFunctionExpression`?!0:a===`key`&&(n.type===`ClassProperty`||n.type===`PropertyDefinition`)&&n.computed||(a===`init`||a===`update`)&&n.type===`ForStatement`?!1:n.type===`ExpressionStatement`?s.left.type===`ObjectPattern`:!(a===`key`&&n.type===`TSPropertySignature`||n.type===`AssignmentExpression`||n.type===`SequenceExpression`&&t&&t.type===`ForStatement`&&(t.init===n||t.update===n)||a===`value`&&n.type===`Property`&&t&&t.type===`ObjectPattern`&&t.properties.includes(n)||n.type===`NGChainedExpression`)}case`ConditionalExpression`:switch(n.type){case`TaggedTemplateExpression`:case`UnaryExpression`:case`SpreadElement`:case`SpreadProperty`:case`BinaryExpression`:case`LogicalExpression`:case`NGPipeExpression`:case`ExportDefaultDeclaration`:case`AwaitExpression`:case`JSXSpreadAttribute`:case`TSTypeAssertion`:case`TypeCastExpression`:case`TSAsExpression`:case`TSSatisfiesExpression`:case`TSNonNullExpression`:return!0;case`NewExpression`:case`CallExpression`:case`OptionalCallExpression`:return a===`callee`;case`ConditionalExpression`:return a===`test`;case`MemberExpression`:case`OptionalMemberExpression`:return a===`object`;default:return!1}case`FunctionExpression`:switch(n.type){case`NewExpression`:case`CallExpression`:case`OptionalCallExpression`:return a===`callee`;case`TaggedTemplateExpression`:return!0;default:return!1}case`ArrowFunctionExpression`:switch(n.type){case`BinaryExpression`:return n.operator!==`|>`||s.extra&&s.extra.parenthesized;case`NewExpression`:case`CallExpression`:case`OptionalCallExpression`:return a===`callee`;case`MemberExpression`:case`OptionalMemberExpression`:return a===`object`;case`TSAsExpression`:case`TSSatisfiesExpression`:case`TSNonNullExpression`:case`BindExpression`:case`TaggedTemplateExpression`:case`UnaryExpression`:case`LogicalExpression`:case`AwaitExpression`:case`TSTypeAssertion`:return!0;case`ConditionalExpression`:return a===`test`;default:return!1}case`ClassExpression`:if(r(s.decorators))return!0;switch(n.type){case`NewExpression`:return a===`callee`;default:return!1}case`OptionalMemberExpression`:case`OptionalCallExpression`:{let t=e.getParentNode(1);if(a===`object`&&n.type===`MemberExpression`||a===`callee`&&(n.type===`CallExpression`||n.type===`NewExpression`)||n.type===`TSNonNullExpression`&&t.type===`MemberExpression`&&t.object===n)return!0}case`CallExpression`:case`MemberExpression`:case`TaggedTemplateExpression`:case`TSNonNullExpression`:if(a===`callee`&&(n.type===`BindExpression`||n.type===`NewExpression`)){let e=s;for(;e;)switch(e.type){case`CallExpression`:case`OptionalCallExpression`:return!0;case`MemberExpression`:case`OptionalMemberExpression`:case`BindExpression`:e=e.object;break;case`TaggedTemplateExpression`:e=e.tag;break;case`TSNonNullExpression`:e=e.expression;break;default:return!1}}return!1;case`BindExpression`:return a===`callee`&&(n.type===`BindExpression`||n.type===`NewExpression`)||a===`object`&&m(n);case`NGPipeExpression`:return!(n.type===`NGRoot`||n.type===`NGMicrosyntaxExpression`||n.type===`ObjectProperty`&&!(s.extra&&s.extra.parenthesized)||n.type===`ArrayExpression`||p(n)&&n.arguments[a]===s||a===`right`&&n.type===`NGPipeExpression`||a===`property`&&n.type===`MemberExpression`||n.type===`AssignmentExpression`);case`JSXFragment`:case`JSXElement`:return a===`callee`||a===`left`&&n.type===`BinaryExpression`&&n.operator===`<`||n.type!==`ArrayExpression`&&n.type!==`ArrowFunctionExpression`&&n.type!==`AssignmentExpression`&&n.type!==`AssignmentPattern`&&n.type!==`BinaryExpression`&&n.type!==`NewExpression`&&n.type!==`ConditionalExpression`&&n.type!==`ExpressionStatement`&&n.type!==`JsExpressionRoot`&&n.type!==`JSXAttribute`&&n.type!==`JSXElement`&&n.type!==`JSXExpressionContainer`&&n.type!==`JSXFragment`&&n.type!==`LogicalExpression`&&!p(n)&&!h(n)&&n.type!==`ReturnStatement`&&n.type!==`ThrowStatement`&&n.type!==`TypeCastExpression`&&n.type!==`VariableDeclarator`&&n.type!==`YieldExpression`;case`TypeAnnotation`:return a===`returnType`&&n.type===`ArrowFunctionExpression`&&x(s)}return!1}function v(e){return e.type===`BlockStatement`||e.type===`BreakStatement`||e.type===`ClassBody`||e.type===`ClassDeclaration`||e.type===`ClassMethod`||e.type===`ClassProperty`||e.type===`PropertyDefinition`||e.type===`ClassPrivateProperty`||e.type===`ContinueStatement`||e.type===`DebuggerStatement`||e.type===`DeclareClass`||e.type===`DeclareExportAllDeclaration`||e.type===`DeclareExportDeclaration`||e.type===`DeclareFunction`||e.type===`DeclareInterface`||e.type===`DeclareModule`||e.type===`DeclareModuleExports`||e.type===`DeclareVariable`||e.type===`DoWhileStatement`||e.type===`EnumDeclaration`||e.type===`ExportAllDeclaration`||e.type===`ExportDefaultDeclaration`||e.type===`ExportNamedDeclaration`||e.type===`ExpressionStatement`||e.type===`ForInStatement`||e.type===`ForOfStatement`||e.type===`ForStatement`||e.type===`FunctionDeclaration`||e.type===`IfStatement`||e.type===`ImportDeclaration`||e.type===`InterfaceDeclaration`||e.type===`LabeledStatement`||e.type===`MethodDefinition`||e.type===`ReturnStatement`||e.type===`SwitchStatement`||e.type===`ThrowStatement`||e.type===`TryStatement`||e.type===`TSDeclareFunction`||e.type===`TSEnumDeclaration`||e.type===`TSImportEqualsDeclaration`||e.type===`TSInterfaceDeclaration`||e.type===`TSModuleDeclaration`||e.type===`TSNamespaceExportDeclaration`||e.type===`TypeAlias`||e.type===`VariableDeclaration`||e.type===`WhileStatement`||e.type===`WithStatement`}function y(e){let t=0,n=e.getValue();for(;n;){let r=e.getParentNode(t++);if(r&&r.type===`ForStatement`&&r.init===n)return!0;n=r}return!1}function x(e){return c(e,e=>e.type===`ObjectTypeAnnotation`&&c(e,e=>e.type===`FunctionTypeAnnotation`||void 0)||void 0)}function S(e){switch(e.type){case`ObjectExpression`:return!0;default:return!1}}function C(e){let t=e.getValue(),r=e.getParentNode(),i=e.getName();switch(r.type){case`NGPipeExpression`:if(typeof i==`number`&&r.arguments[i]===t&&r.arguments.length-1===i)return e.callParent(C);break;case`ObjectProperty`:if(i===`value`)return n(e.getParentNode(1).properties)===r;break;case`BinaryExpression`:case`LogicalExpression`:if(i===`right`)return e.callParent(C);break;case`ConditionalExpression`:if(i===`alternate`)return e.callParent(C);break;case`UnaryExpression`:if(r.prefix)return e.callParent(C);break}return!1}function w(e,t){let n=e.getValue(),r=e.getParentNode();return n.type===`FunctionExpression`||n.type===`ClassExpression`?r.type===`ExportDefaultDeclaration`||!_(e,t):!s(n)||r.type!==`ExportDefaultDeclaration`&&_(e,t)?!1:e.call(e=>w(e,t),...a(e,n))}t.exports=_}}),Vn=m({"src/language-js/print-preprocess.js"(e,t){b();function n(e,t){switch(t.parser){case`json`:case`json5`:case`json-stringify`:case`__js_expression`:case`__vue_expression`:case`__vue_ts_expression`:return Object.assign(Object.assign({},e),{},{type:t.parser.startsWith(`__`)?`JsExpressionRoot`:`JsonRoot`,node:e,comments:[],rootMarker:t.rootMarker});default:return e}}t.exports=n}}),Hn=m({"src/language-js/print/html-binding.js"(e,t){b();var{builders:{join:n,line:r,group:i,softline:a,indent:o}}=H();function s(e,t,s){let c=e.getValue();if(t.__onHtmlBindingRoot&&e.getName()===null&&t.__onHtmlBindingRoot(c,t),c.type===`File`){if(t.__isVueForBindingLeft)return e.call(e=>{let t=n([`,`,r],e.map(s,`params`)),{params:c}=e.getValue();return c.length===1?t:[`(`,o([a,i(t)]),a,`)`]},`program`,`body`,0);if(t.__isVueBindings)return e.call(e=>n([`,`,r],e.map(s,`params`)),`program`,`body`,0)}}function c(e){switch(e.type){case`MemberExpression`:switch(e.property.type){case`Identifier`:case`NumericLiteral`:case`StringLiteral`:return c(e.object)}return!1;case`Identifier`:return!0;default:return!1}}t.exports={isVueEventBindingExpression:c,printHtmlBinding:s}}}),Un=m({"src/language-js/print/binaryish.js"(e,t){b();var{printComments:n}=Gt(),{getLast:r}=Z(),{builders:{join:i,line:a,softline:o,group:s,indent:c,align:l,indentIfBreak:u},utils:{cleanDoc:d,getDocParts:f,isConcat:p}}=H(),{hasLeadingOwnLineComment:m,isBinaryish:h,isJsxNode:g,shouldFlatten:_,hasComment:v,CommentCheckFlags:y,isCallExpression:x,isMemberExpression:S,isObjectProperty:C,isEnabledHackPipeline:w}=on(),T=0;function E(e,t,n){let i=e.getValue(),a=e.getParentNode(),l=e.getParentNode(1),d=i!==a.body&&(a.type===`IfStatement`||a.type===`WhileStatement`||a.type===`SwitchStatement`||a.type===`DoWhileStatement`),f=w(t)&&i.operator===`|>`,p=D(e,n,t,!1,d);if(d)return p;if(f)return s(p);if(x(a)&&a.callee===i||a.type===`UnaryExpression`||S(a)&&!a.computed)return s([c([o,...p]),o]);let m=a.type===`ReturnStatement`||a.type===`ThrowStatement`||a.type===`JSXExpressionContainer`&&l.type===`JSXAttribute`||i.operator!==`|`&&a.type===`JsExpressionRoot`||i.type!==`NGPipeExpression`&&(a.type===`NGRoot`&&t.parser===`__ng_binding`||a.type===`NGMicrosyntaxExpression`&&l.type===`NGMicrosyntax`&&l.body.length===1)||i===a.body&&a.type===`ArrowFunctionExpression`||i!==a.body&&a.type===`ForStatement`||a.type===`ConditionalExpression`&&l.type!==`ReturnStatement`&&l.type!==`ThrowStatement`&&!x(l)||a.type===`TemplateLiteral`,v=a.type===`AssignmentExpression`||a.type===`VariableDeclarator`||a.type===`ClassProperty`||a.type===`PropertyDefinition`||a.type===`TSAbstractPropertyDefinition`||a.type===`ClassPrivateProperty`||C(a),y=h(i.left)&&_(i.operator,i.left.operator);if(m||O(i)&&!y||!O(i)&&v)return s(p);if(p.length===0)return``;let b=g(i.right),E=p.findIndex(e=>typeof e!=`string`&&!Array.isArray(e)&&e.type===`group`),k=p.slice(0,E===-1?1:E+1),A=p.slice(k.length,b?-1:void 0),j=Symbol(`logicalChain-`+ ++T),M=s([...k,c(A)],{id:j});return b?s([M,u(r(p),{groupId:j})]):M}function D(e,t,r,o,u){let g=e.getValue();if(!h(g))return[s(t())];let b=[];_(g.operator,g.left.operator)?b=e.call(e=>D(e,t,r,!0,u),`left`):b.push(s(t(`left`)));let x=O(g),S=(g.operator===`|>`||g.type===`NGPipeExpression`||g.operator===`|`&&r.parser===`__vue_expression`)&&!m(r.originalText,g.right),C=g.type===`NGPipeExpression`?`|`:g.operator,T=g.type===`NGPipeExpression`&&g.arguments.length>0?s(c([a,`: `,i([a,`: `],e.map(t,`arguments`).map(e=>l(2,s(e))))])):``,E;if(x)E=[C,` `,t(`right`),T];else{let n=w(r)&&C===`|>`?e.call(e=>D(e,t,r,!0,u),`right`):t(`right`);E=[S?a:``,C,S?` `:a,n,T]}let k=e.getParentNode(),A=v(g.left,y.Trailing|y.Line),j=A||!(u&&g.type===`LogicalExpression`)&&k.type!==g.type&&g.left.type!==g.type&&g.right.type!==g.type;if(b.push(S?``:` `,j?s(E,{shouldBreak:A}):E),o&&v(g)){let t=d(n(e,b,r));return p(t)||t.type===`fill`?f(t):[t]}return b}function O(e){return e.type===`LogicalExpression`?!!(e.right.type===`ObjectExpression`&&e.right.properties.length>0||e.right.type===`ArrayExpression`&&e.right.elements.length>0||g(e.right)):!1}t.exports={printBinaryishExpression:E,shouldInlineLogicalExpression:O}}}),Wn=m({"src/language-js/print/angular.js"(e,t){b();var{builders:{join:n,line:r,group:i}}=H(),{hasNode:a,hasComment:o,getComments:s}=on(),{printBinaryishExpression:c}=Un();function l(e,t,a){let l=e.getValue();if(l.type.startsWith(`NG`))switch(l.type){case`NGRoot`:return[a(`node`),o(l.node)?` //`+s(l.node)[0].value.trimEnd():``];case`NGPipeExpression`:return c(e,t,a);case`NGChainedExpression`:return i(n([`;`,r],e.map(e=>d(e)?a():[`(`,a(),`)`],`expressions`)));case`NGEmptyExpression`:return``;case`NGQuotedExpression`:return[l.prefix,`: `,l.value.trim()];case`NGMicrosyntax`:return e.map((e,t)=>[t===0?``:u(e.getValue(),t,l)?` `:[`;`,r],a()],`body`);case`NGMicrosyntaxKey`:return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(l.name)?l.name:JSON.stringify(l.name);case`NGMicrosyntaxExpression`:return[a(`expression`),l.alias===null?``:[` as `,a(`alias`)]];case`NGMicrosyntaxKeyedExpression`:{let t=e.getName(),n=e.getParentNode(),r=u(l,t,n)||(t===1&&(l.key.name===`then`||l.key.name===`else`)||t===2&&l.key.name===`else`&&n.body[t-1].type===`NGMicrosyntaxKeyedExpression`&&n.body[t-1].key.name===`then`)&&n.body[0].type===`NGMicrosyntaxExpression`;return[a(`key`),r?` `:`: `,a(`expression`)]}case`NGMicrosyntaxLet`:return[`let `,a(`key`),l.value===null?``:[` = `,a(`value`)]];case`NGMicrosyntaxAs`:return[a(`key`),` as `,a(`alias`)];default:throw Error(`Unknown Angular node type: ${JSON.stringify(l.type)}.`)}}function u(e,t,n){return e.type===`NGMicrosyntaxKeyedExpression`&&e.key.name===`of`&&t===1&&n.body[0].type===`NGMicrosyntaxLet`&&n.body[0].value===null}function d(e){return a(e.getValue(),e=>{switch(e.type){case void 0:return!1;case`CallExpression`:case`OptionalCallExpression`:case`AssignmentExpression`:return!0}})}t.exports={printAngular:l}}}),Gn=m({"src/language-js/print/jsx.js"(e,t){b();var{printComments:n,printDanglingComments:r,printCommentsSeparately:i}=Gt(),{builders:{line:a,hardline:o,softline:s,group:c,indent:l,conditionalGroup:u,fill:d,ifBreak:f,lineSuffixBoundary:p,join:m},utils:{willBreak:h}}=H(),{getLast:g,getPreferredQuote:_}=Z(),{isJsxNode:v,rawText:y,isCallExpression:x,isStringLiteral:S,isBinaryish:C,hasComment:w,CommentCheckFlags:T,hasNodeIgnoreComment:E}=on(),D=Bn(),{willPrintOwnComments:O}=Q(),k=e=>e===``||e===a||e===o||e===s;function A(e,t,n){let r=e.getValue();if(r.type===`JSXElement`&&ne(r))return[n(`openingElement`),n(`closingElement`)];let i=r.type===`JSXElement`?n(`openingElement`):n(`openingFragment`),a=r.type===`JSXElement`?n(`closingElement`):n(`closingFragment`);if(r.children.length===1&&r.children[0].type===`JSXExpressionContainer`&&(r.children[0].expression.type===`TemplateLiteral`||r.children[0].expression.type===`TaggedTemplateExpression`))return[i,...e.map(n,`children`),a];r.children=r.children.map(e=>re(e)?{type:`JSXText`,value:` `,raw:` `}:e);let p=r.children.some(v),m=r.children.filter(e=>e.type===`JSXExpressionContainer`).length>1,_=r.type===`JSXElement`&&r.openingElement.attributes.length>1,y=h(i)||p||_||m,b=e.getParentNode().rootMarker===`mdx`,x=t.singleQuote?`{' '}`:`{" "}`,S=b?` `:f([x,s],` `),C=j(e,t,n,S,r.openingElement&&r.openingElement.name&&r.openingElement.name.name===`fbt`),w=r.children.some(e=>Y(e));for(let e=C.length-2;e>=0;e--){let t=C[e]===``&&C[e+1]===``,n=C[e]===o&&C[e+1]===``&&C[e+2]===o,r=(C[e]===s||C[e]===o)&&C[e+1]===``&&C[e+2]===S,i=C[e]===S&&C[e+1]===``&&(C[e+2]===s||C[e+2]===o),a=C[e]===S&&C[e+1]===``&&C[e+2]===S,c=C[e]===s&&C[e+1]===``&&C[e+2]===o||C[e]===o&&C[e+1]===``&&C[e+2]===s;n&&w||t||r||a||c?C.splice(e,2):i&&C.splice(e+1,2)}for(;C.length>0&&k(g(C));)C.pop();for(;C.length>1&&k(C[0])&&k(C[1]);)C.shift(),C.shift();let T=[];for(let[e,t]of C.entries()){if(t===S){if(e===1&&C[e-1]===``){if(C.length===2){T.push(x);continue}T.push([x,o]);continue}else if(e===C.length-1){T.push(x);continue}else if(C[e-1]===``&&C[e-2]===o){T.push(x);continue}}T.push(t),h(t)&&(y=!0)}let E=w?d(T):c(T,{shouldBreak:!0});if(b)return E;let D=c([i,l([o,E]),o,a]);return y?D:u([c([i,...C,a]),D])}function j(e,t,n,r,i){let s=[];return e.each((e,t,c)=>{let l=e.getValue();if(l.type===`JSXText`){let e=y(l);if(Y(l)){let n=e.split(ee);if(n[0]===``){if(s.push(``),n.shift(),/\n/.test(n[0])){let e=c[t+1];s.push(N(i,n[1],l,e))}else s.push(r);n.shift()}let o;if(g(n)===``&&(n.pop(),o=n.pop()),n.length===0)return;for(let[e,t]of n.entries())e%2==1?s.push(a):s.push(t);if(o!==void 0)if(/\n/.test(o)){let e=c[t+1];s.push(N(i,g(s),l,e))}else s.push(r);else{let e=c[t+1];s.push(M(i,g(s),l,e))}}else /\n/.test(e)?e.match(/\n/g).length>1&&s.push(``,o):s.push(``,r)}else{let e=n();s.push(e);let r=c[t+1];if(r&&Y(r)){let e=te(y(r)).split(ee)[0];s.push(M(i,e,l,r))}else s.push(o)}},`children`),s}function M(e,t,n,r){return e?``:n.type===`JSXElement`&&!n.closingElement||r&&r.type===`JSXElement`&&!r.closingElement?t.length===1?s:o:s}function N(e,t,n,r){return e?o:t.length===1?n.type===`JSXElement`&&!n.closingElement||r&&r.type===`JSXElement`&&!r.closingElement?o:s:o}function P(e,t,n){let r=e.getParentNode();if(!r||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;let i=e.match(void 0,e=>e.type===`ArrowFunctionExpression`,x,e=>e.type===`JSXExpressionContainer`),a=D(e,n);return c([a?``:f(`(`),l([s,t]),s,a?``:f(`)`)],{shouldBreak:i})}function F(e,t,n){let r=e.getValue(),a=[];if(a.push(n(`name`)),r.value){let o;if(S(r.value)){let n=y(r.value).slice(1,-1).replace(/'/g,`'`).replace(/"/g,`"`),{escaped:a,quote:s,regex:c}=_(n,t.jsxSingleQuote?`'`:`"`);n=n.replace(c,a);let{leading:l,trailing:u}=e.call(()=>i(e,t),`value`);o=[l,s,n,s,u]}else o=n(`value`);a.push(`=`,o)}return a}function I(e,t,n){let r=e.getValue(),i=(e,t)=>e.type===`JSXEmptyExpression`||!w(e)&&(e.type===`ArrayExpression`||e.type===`ObjectExpression`||e.type===`ArrowFunctionExpression`||e.type===`AwaitExpression`&&(i(e.argument,e)||e.argument.type===`JSXElement`)||x(e)||e.type===`FunctionExpression`||e.type===`TemplateLiteral`||e.type===`TaggedTemplateExpression`||e.type===`DoExpression`||v(t)&&(e.type===`ConditionalExpression`||C(e)));return i(r.expression,e.getParentNode(0))?c([`{`,n(`expression`),p,`}`]):c([`{`,l([s,n(`expression`)]),s,p,`}`])}function L(e,t,n){let r=e.getValue(),i=r.name&&w(r.name)||r.typeParameters&&w(r.typeParameters);if(r.selfClosing&&r.attributes.length===0&&!i)return[`<`,n(`name`),n(`typeParameters`),` />`];if(r.attributes&&r.attributes.length===1&&r.attributes[0].value&&S(r.attributes[0].value)&&!r.attributes[0].value.value.includes(`
|
|
198
|
-
`)&&!i&&!w(r.attributes[0]))return c([`<`,n(`name`),n(`typeParameters`),` `,...e.map(n,`attributes`),r.selfClosing?` />`:`>`]);let s=r.attributes&&r.attributes.some(e=>e.value&&S(e.value)&&e.value.value.includes(`
|
|
199
|
-
`)),u=t.singleAttributePerLine&&r.attributes.length>1?o:a;return c([`<`,n(`name`),n(`typeParameters`),l(e.map(()=>[u,n()],`attributes`)),...R(r,t,i)],{shouldBreak:s})}function R(e,t,n){return e.selfClosing?[a,`/>`]:z(e,t,n)?[`>`]:[s,`>`]}function z(e,t,n){let r=e.attributes.length>0&&w(g(e.attributes),T.Trailing);return e.attributes.length===0&&!n||(t.bracketSameLine||t.jsxBracketSameLine)&&(!n||e.attributes.length>0)&&!r}function B(e,t,n){let r=e.getValue(),i=[];i.push(`</`);let a=n(`name`);return w(r.name,T.Leading|T.Line)?i.push(l([o,a]),o):w(r.name,T.Leading|T.Block)?i.push(` `,a):i.push(a),i.push(`>`),i}function V(e,t){let n=e.getValue(),i=w(n),a=w(n,T.Line),s=n.type===`JSXOpeningFragment`;return[s?`<`:`</`,l([a?o:i&&!s?` `:``,r(e,t,!0)]),a?o:``,`>`]}function U(e,t,r){return P(e,n(e,A(e,t,r),t),t)}function W(e,t){let n=w(e.getValue(),T.Line);return[r(e,t,!n),n?o:``]}function G(e,t,r){let i=e.getValue();return[`{`,e.call(e=>{let i=[`...`,r()];return!w(e.getValue())||!O(e)?i:[l([s,n(e,i,t)]),s]},i.type===`JSXSpreadAttribute`?`argument`:`expression`),`}`]}function K(e,t,n){let r=e.getValue();if(r.type.startsWith(`JSX`))switch(r.type){case`JSXAttribute`:return F(e,t,n);case`JSXIdentifier`:return String(r.name);case`JSXNamespacedName`:return m(`:`,[n(`namespace`),n(`name`)]);case`JSXMemberExpression`:return m(`.`,[n(`object`),n(`property`)]);case`JSXSpreadAttribute`:return G(e,t,n);case`JSXSpreadChild`:return G(e,t,n);case`JSXExpressionContainer`:return I(e,t,n);case`JSXFragment`:case`JSXElement`:return U(e,t,n);case`JSXOpeningElement`:return L(e,t,n);case`JSXClosingElement`:return B(e,t,n);case`JSXOpeningFragment`:case`JSXClosingFragment`:return V(e,t);case`JSXEmptyExpression`:return W(e,t);case`JSXText`:throw Error(`JSXText should be handled by JSXElement`);default:throw Error(`Unknown JSX node type: ${JSON.stringify(r.type)}.`)}}var q=`
|
|
200
|
-
\r `,ee=RegExp(`([`+q+`]+)`),J=RegExp(`[^`+q+`]`),te=e=>e.replace(RegExp(`(?:^`+ee.source+`|`+ee.source+`$)`),``);function ne(e){if(e.children.length===0)return!0;if(e.children.length>1)return!1;let t=e.children[0];return t.type===`JSXText`&&!Y(t)}function Y(e){return e.type===`JSXText`&&(J.test(y(e))||!/\n/.test(y(e)))}function re(e){return e.type===`JSXExpressionContainer`&&S(e.expression)&&e.expression.value===` `&&!w(e.expression)}function ie(e){let t=e.getValue(),n=e.getParentNode();if(!n||!t||!v(t)||!v(n))return!1;let r=n.children.indexOf(t),i=null;for(let e=r;e>0;e--){let t=n.children[e-1];if(!(t.type===`JSXText`&&!Y(t))){i=t;break}}return i&&i.type===`JSXExpressionContainer`&&i.expression.type===`JSXEmptyExpression`&&E(i.expression)}t.exports={hasJsxIgnoreComment:ie,printJsx:K}}}),Kn=m({"src/language-js/print/misc.js"(e,t){b();var{isNonEmptyArray:n}=Z(),{builders:{indent:r,join:i,line:a}}=H(),{isFlowAnnotationComment:o}=on();function s(e){let t=e.getValue();return!t.optional||t.type===`Identifier`&&t===e.getParentNode().key?``:t.type===`OptionalCallExpression`||t.type===`OptionalMemberExpression`&&t.computed?`?.`:`?`}function c(e){return e.getValue().definite||e.match(void 0,(e,t)=>t===`id`&&e.type===`VariableDeclarator`&&e.definite)?`!`:``}function l(e,t,n){let r=e.getValue();return r.typeArguments?n(`typeArguments`):r.typeParameters?n(`typeParameters`):``}function u(e,t,n){let r=e.getValue();if(!r.typeAnnotation)return``;let i=e.getParentNode(),a=i.type===`DeclareFunction`&&i.id===r;return o(t.originalText,r.typeAnnotation)?[` /*: `,n(`typeAnnotation`),` */`]:[a?``:`: `,n(`typeAnnotation`)]}function d(e,t,n){return[`::`,n(`callee`)]}function f(e,t,r){return n(e.getValue().modifiers)?[i(` `,e.map(r,`modifiers`)),` `]:``}function p(e,t,n){return e.type===`EmptyStatement`?`;`:e.type===`BlockStatement`||n?[` `,t]:r([a,t])}function m(e,t,n){return[`...`,n(`argument`),u(e,t,n)]}function h(e,t){let n=e.slice(1,-1);if(n.includes(`"`)||n.includes(`'`))return e;let r=t.singleQuote?`'`:`"`;return r+n+r}t.exports={printOptionalToken:s,printDefiniteToken:c,printFunctionTypeParameters:l,printBindExpressionCallee:d,printTypeScriptModifiers:f,printTypeAnnotation:u,printRestSpread:m,adjustClause:p,printDirective:h}}}),qn=m({"src/language-js/print/array.js"(e,t){b();var{printDanglingComments:n}=Gt(),{builders:{line:r,softline:i,hardline:a,group:o,indent:s,ifBreak:c,fill:l}}=H(),{getLast:u,hasNewline:d}=Z(),{shouldPrintComma:f,hasComment:p,CommentCheckFlags:m,isNextLineEmpty:h,isNumericLiteral:g,isSignedNumericLiteral:_}=on(),{locStart:v}=Lt(),{printOptionalToken:y,printTypeAnnotation:x}=Kn();function S(e,t,r){let a=e.getValue(),l=[],d=a.type===`TupleExpression`?`#[`:`[`;if(a.elements.length===0)p(a,m.Dangling)?l.push(o([d,n(e,t),i,`]`])):l.push(d,`]`);else{let p=u(a.elements),m=!(p&&p.type===`RestElement`),h=p===null,g=Symbol(`array`),_=!t.__inJestEach&&a.elements.length>1&&a.elements.every((e,t,n)=>{let r=e&&e.type;if(r!==`ArrayExpression`&&r!==`ObjectExpression`)return!1;let i=n[t+1];if(i&&r!==i.type)return!1;let a=r===`ArrayExpression`?`elements`:`properties`;return e[a]&&e[a].length>1}),v=C(a,t),y=m?h?`,`:f(t)?v?c(`,`,``,{groupId:g}):c(`,`):``:``;l.push(o([d,s([i,v?T(e,t,r,y):[w(e,t,`elements`,r),y],n(e,t,!0)]),i,`]`],{shouldBreak:_,id:g}))}return l.push(y(e),x(e,t,r)),l}function C(e,t){return e.elements.length>1&&e.elements.every(e=>e&&(g(e)||_(e)&&!p(e.argument))&&!p(e,m.Trailing|m.Line,e=>!d(t.originalText,v(e),{backwards:!0})))}function w(e,t,n,a){let s=[],c=[];return e.each(e=>{s.push(c,o(a())),c=[`,`,r],e.getValue()&&h(e.getValue(),t)&&c.push(i)},n),s}function T(e,t,n,i){let o=[];return e.each((e,s,c)=>{let l=s===c.length-1;o.push([n(),l?i:`,`]),l||o.push(h(e.getValue(),t)?[a,a]:p(c[s+1],m.Leading|m.Line)?a:r)},`elements`),l(o)}t.exports={printArray:S,printArrayItems:w,isConciselyPrintedArray:C}}}),Jn=m({"src/language-js/print/call-arguments.js"(e,t){b();var{printDanglingComments:n}=Gt(),{getLast:r,getPenultimate:i}=Z(),{getFunctionParameters:a,hasComment:o,CommentCheckFlags:s,isFunctionCompositionArgs:c,isJsxNode:l,isLongCurriedCallExpression:u,shouldPrintComma:d,getCallArguments:f,iterateCallArgumentsPath:p,isNextLineEmpty:m,isCallExpression:h,isStringLiteral:g,isObjectProperty:_,isTSTypeExpression:v}=on(),{builders:{line:y,hardline:x,softline:S,group:C,indent:w,conditionalGroup:T,ifBreak:E,breakParent:D},utils:{willBreak:O}}=H(),{ArgExpansionBailout:k}=Fe(),{isConciselyPrintedArray:A}=qn();function j(e,t,i){let a=e.getValue(),o=a.type===`ImportExpression`,s=f(a);if(s.length===0)return[`(`,n(e,t,!0),`)`];if(F(s))return[`(`,i([`arguments`,0]),`, `,i([`arguments`,1]),`)`];let l=!1,h=!1,g=s.length-1,_=[];p(e,(e,n)=>{let r=e.getNode(),a=[i()];n===g||(m(r,t)?(n===0&&(h=!0),l=!0,a.push(`,`,x,x)):a.push(`,`,y)),_.push(a)});let v=!(o||a.callee&&a.callee.type===`Import`)&&d(t,`all`)?`,`:``;function b(){return C([`(`,w([y,..._]),v,y,`)`],{shouldBreak:!0})}if(l||e.getParentNode().type!==`Decorator`&&c(s))return b();let A=P(s),j=N(s,t);if(A||j){if(A?_.slice(1).some(O):_.slice(0,-1).some(O))return b();let t=[];try{e.try(()=>{p(e,(e,n)=>{A&&n===0&&(t=[[i([],{expandFirstArg:!0}),_.length>1?`,`:``,h?x:y,h?x:``],..._.slice(1)]),j&&n===g&&(t=[..._.slice(0,-1),i([],{expandLastArg:!0})])})})}catch(e){if(e instanceof k)return b();throw e}return[_.some(O)?D:``,T([[`(`,...t,`)`],A?[`(`,C(t[0],{shouldBreak:!0}),...t.slice(1),`)`]:[`(`,..._.slice(0,-1),C(r(t),{shouldBreak:!0}),`)`],b()])]}let M=[`(`,w([S,..._]),E(v),S,`)`];return u(e)?M:C(M,{shouldBreak:_.some(O)||l})}function M(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return e.type===`ObjectExpression`&&(e.properties.length>0||o(e))||e.type===`ArrayExpression`&&(e.elements.length>0||o(e))||e.type===`TSTypeAssertion`&&M(e.expression)||v(e)&&M(e.expression)||e.type===`FunctionExpression`||e.type===`ArrowFunctionExpression`&&(!e.returnType||!e.returnType.typeAnnotation||e.returnType.typeAnnotation.type!==`TSTypeReference`||I(e.body))&&(e.body.type===`BlockStatement`||e.body.type===`ArrowFunctionExpression`&&M(e.body,!0)||e.body.type===`ObjectExpression`||e.body.type===`ArrayExpression`||!t&&(h(e.body)||e.body.type===`ConditionalExpression`)||l(e.body))||e.type===`DoExpression`||e.type===`ModuleExpression`}function N(e,t){let n=r(e),a=i(e);return!o(n,s.Leading)&&!o(n,s.Trailing)&&M(n)&&(!a||a.type!==n.type)&&(e.length!==2||a.type!==`ArrowFunctionExpression`||n.type!==`ArrayExpression`)&&!(e.length>1&&n.type===`ArrayExpression`&&A(n,t))}function P(e){if(e.length!==2)return!1;let[t,n]=e;return t.type===`ModuleExpression`&&L(n)?!0:!o(t)&&(t.type===`FunctionExpression`||t.type===`ArrowFunctionExpression`&&t.body.type===`BlockStatement`)&&n.type!==`FunctionExpression`&&n.type!==`ArrowFunctionExpression`&&n.type!==`ConditionalExpression`&&!M(n)}function F(e){return e.length===2&&e[0].type===`ArrowFunctionExpression`&&a(e[0]).length===0&&e[0].body.type===`BlockStatement`&&e[1].type===`ArrayExpression`&&!e.some(e=>o(e))}function I(e){return e.type===`BlockStatement`&&(e.body.some(e=>e.type!==`EmptyStatement`)||o(e,s.Dangling))}function L(e){return e.type===`ObjectExpression`&&e.properties.length===1&&_(e.properties[0])&&e.properties[0].key.type===`Identifier`&&e.properties[0].key.name===`type`&&g(e.properties[0].value)&&e.properties[0].value.value===`module`}t.exports=j}}),Yn=m({"src/language-js/print/member.js"(e,t){b();var{builders:{softline:n,group:r,indent:i,label:a}}=H(),{isNumericLiteral:o,isMemberExpression:s,isCallExpression:c}=on(),{printOptionalToken:l}=Kn();function u(e,t,o){let l=e.getValue(),u=e.getParentNode(),f,p=0;do f=e.getParentNode(p),p++;while(f&&(s(f)||f.type===`TSNonNullExpression`));let m=o(`object`),h=d(e,t,o),g=f&&(f.type===`NewExpression`||f.type===`BindExpression`||f.type===`AssignmentExpression`&&f.left.type!==`Identifier`)||l.computed||l.object.type===`Identifier`&&l.property.type===`Identifier`&&!s(u)||(u.type===`AssignmentExpression`||u.type===`VariableDeclarator`)&&(c(l.object)&&l.object.arguments.length>0||l.object.type===`TSNonNullExpression`&&c(l.object.expression)&&l.object.expression.arguments.length>0||m.label===`member-chain`);return a(m.label===`member-chain`?`member-chain`:`member`,[m,g?h:r(i([n,h]))])}function d(e,t,a){let s=a(`property`),c=e.getValue(),u=l(e);return c.computed?!c.property||o(c.property)?[u,`[`,s,`]`]:r([u,`[`,i([n,s]),n,`]`]):[u,`.`,s]}t.exports={printMemberExpression:u,printMemberLookup:d}}}),Xn=m({"src/language-js/print/member-chain.js"(e,t){b();var{printComments:n}=Gt(),{getLast:r,isNextLineEmptyAfterIndex:i,getNextNonSpaceNonCommentCharacterIndex:a}=Z(),o=Bn(),{isCallExpression:s,isMemberExpression:c,isFunctionOrArrowExpression:l,isLongCurriedCallExpression:u,isMemberish:d,isNumericLiteral:f,isSimpleCallArgument:p,hasComment:m,CommentCheckFlags:h,isNextLineEmpty:g}=on(),{locEnd:_}=Lt(),{builders:{join:v,hardline:y,group:x,indent:S,conditionalGroup:C,breakParent:w,label:T},utils:{willBreak:E}}=H(),D=Jn(),{printMemberLookup:O}=Yn(),{printOptionalToken:k,printFunctionTypeParameters:A,printBindExpressionCallee:j}=Kn();function M(e,t,b){let M=e.getParentNode(),N=!M||M.type===`ExpressionStatement`,P=[];function F(e){let{originalText:n}=t,r=a(n,e,_);return n.charAt(r)===`)`?r!==!1&&i(n,r+1):g(e,t)}function I(e){let r=e.getValue();s(r)&&(d(r.callee)||s(r.callee))?(P.unshift({node:r,printed:[n(e,[k(e),A(e,t,b),D(e,t,b)],t),F(r)?y:``]}),e.call(e=>I(e),`callee`)):d(r)?(P.unshift({node:r,needsParens:o(e,t),printed:n(e,c(r)?O(e,t,b):j(e,t,b),t)}),e.call(e=>I(e),`object`)):r.type===`TSNonNullExpression`?(P.unshift({node:r,printed:n(e,`!`,t)}),e.call(e=>I(e),`expression`)):P.unshift({node:r,printed:b()})}let L=e.getValue();P.unshift({node:L,printed:[k(e),A(e,t,b),D(e,t,b)]}),L.callee&&e.call(e=>I(e),`callee`);let R=[],z=[P[0]],B=1;for(;B<P.length&&(P[B].node.type===`TSNonNullExpression`||s(P[B].node)||c(P[B].node)&&P[B].node.computed&&f(P[B].node.property));++B)z.push(P[B]);if(!s(P[0].node))for(;B+1<P.length&&d(P[B].node)&&d(P[B+1].node);++B)z.push(P[B]);R.push(z),z=[];let V=!1;for(;B<P.length;++B){if(V&&d(P[B].node)){if(P[B].node.computed&&f(P[B].node.property)){z.push(P[B]);continue}R.push(z),z=[],V=!1}(s(P[B].node)||P[B].node.type===`ImportExpression`)&&(V=!0),z.push(P[B]),m(P[B].node,h.Trailing)&&(R.push(z),z=[],V=!1)}z.length>0&&R.push(z);function H(e){return/^[A-Z]|^[$_]+$/.test(e)}function U(e){return e.length<=t.tabWidth}function W(e){let t=e[1].length>0&&e[1][0].node.computed;if(e[0].length===1){let n=e[0][0].node;return n.type===`ThisExpression`||n.type===`Identifier`&&(H(n.name)||N&&U(n.name)||t)}let n=r(e[0]).node;return c(n)&&n.property.type===`Identifier`&&(H(n.property.name)||t)}let G=R.length>=2&&!m(R[1][0].node)&&W(R);function K(e){let t=e.map(e=>e.printed);return e.length>0&&r(e).needsParens?[`(`,...t,`)`]:t}function q(e){return e.length===0?``:S(x([y,v(y,e.map(K))]))}let ee=R.map(K),J=ee,te=G?3:2,ne=R.flat(),Y=ne.slice(1,-1).some(e=>m(e.node,h.Leading))||ne.slice(0,-1).some(e=>m(e.node,h.Trailing))||R[te]&&m(R[te][0].node,h.Leading);if(R.length<=te&&!Y)return u(e)?J:x(J);let re=r(R[+!!G]).node,ie=!s(re)&&F(re),ae=[K(R[0]),G?R.slice(1,2).map(K):``,ie?y:``,q(R.slice(G?2:1))],oe=P.map(e=>{let{node:t}=e;return t}).filter(s);function se(){let e=r(r(R)).node,t=r(ee);return s(e)&&E(t)&&oe.slice(0,-1).some(e=>e.arguments.some(l))}let ce;return ce=Y||oe.length>2&&oe.some(e=>!e.arguments.every(e=>p(e,0)))||ee.slice(0,-1).some(E)||se()?x(ae):[E(J)||ie?w:``,C([J,ae])],T(`member-chain`,ce)}t.exports=M}}),Zn=m({"src/language-js/print/call-expression.js"(e,t){b();var{builders:{join:n,group:r}}=H(),i=Bn(),{getCallArguments:a,hasFlowAnnotationComment:o,isCallExpression:s,isMemberish:c,isStringLiteral:l,isTemplateOnItsOwnLine:u,isTestCall:d,iterateCallArgumentsPath:f}=on(),p=Xn(),m=Jn(),{printOptionalToken:h,printFunctionTypeParameters:g}=Kn();function _(e,t,l){let _=e.getValue(),y=e.getParentNode(),b=_.type===`NewExpression`,x=_.type===`ImportExpression`,S=h(e),C=a(_);if(C.length>0&&(!x&&!b&&v(_,y)||C.length===1&&u(C[0],t.originalText)||!b&&d(_,y))){let r=[];return f(e,()=>{r.push(l())}),[b?`new `:``,l(`callee`),S,g(e,t,l),`(`,n(`, `,r),`)`]}let w=(t.parser===`babel`||t.parser===`babel-flow`)&&_.callee&&_.callee.type===`Identifier`&&o(_.callee.trailingComments);if(w&&(_.callee.trailingComments[0].printed=!0),!x&&!b&&c(_.callee)&&!e.call(e=>i(e,t),`callee`))return p(e,t,l);let T=[b?`new `:``,x?`import`:l(`callee`),S,w?`/*:: ${_.callee.trailingComments[0].value.slice(2).trim()} */`:``,g(e,t,l),m(e,t,l)];return x||s(_.callee)?r(T):T}function v(e,t){if(e.callee.type!==`Identifier`)return!1;if(e.callee.name===`require`)return!0;if(e.callee.name===`define`){let n=a(e);return t.type===`ExpressionStatement`&&(n.length===1||n.length===2&&n[0].type===`ArrayExpression`||n.length===3&&l(n[0])&&n[1].type===`ArrayExpression`)}return!1}t.exports={printCallExpression:_}}}),Qn=m({"src/language-js/print/assignment.js"(e,t){b();var{isNonEmptyArray:n,getStringWidth:r}=Z(),{builders:{line:i,group:a,indent:o,indentIfBreak:s,lineSuffixBoundary:c},utils:{cleanDoc:l,willBreak:u,canBreak:d}}=H(),{hasLeadingOwnLineComment:f,isBinaryish:p,isStringLiteral:m,isLiteral:h,isNumericLiteral:g,isCallExpression:_,isMemberExpression:v,getCallArguments:y,rawText:x,hasComment:S,isSignedNumericLiteral:C,isObjectProperty:w}=on(),{shouldInlineLogicalExpression:T}=Un(),{printCallExpression:E}=Zn();function D(e,t,n,r,l,u){let d=A(e,t,n,r,u),f=n(u,{assignmentLayout:d});switch(d){case`break-after-operator`:return a([a(r),l,a(o([i,f]))]);case`never-break-after-operator`:return a([a(r),l,` `,f]);case`fluid`:{let e=Symbol(`assignment`);return a([a(r),l,a(o(i),{id:e}),c,s(f,{groupId:e})])}case`break-lhs`:return a([r,l,` `,a(f)]);case`chain`:return[a(r),l,i,f];case`chain-tail`:return[a(r),l,o([i,f])];case`chain-tail-arrow-chain`:return[a(r),l,f];case`only-left`:return r}}function O(e,t,n){let r=e.getValue();return D(e,t,n,n(`left`),[` `,r.operator],`right`)}function k(e,t,n){return D(e,t,n,n(`id`),` =`,`init`)}function A(e,t,n,r,i){let a=e.getValue(),o=a[i];if(!o)return`only-left`;let s=!N(o);if(e.match(N,P,e=>!s||e.type!==`ExpressionStatement`&&e.type!==`VariableDeclaration`))return s?o.type===`ArrowFunctionExpression`&&o.body.type===`ArrowFunctionExpression`?`chain-tail-arrow-chain`:`chain-tail`:`chain`;if(!s&&N(o.right)||f(t.originalText,o))return`break-after-operator`;if(o.type===`CallExpression`&&o.callee.name===`require`||t.parser===`json5`||t.parser===`json`)return`never-break-after-operator`;if(M(a)||F(a)||R(a)||z(a)&&d(r))return`break-lhs`;let c=K(a,r,t);return e.call(()=>j(e,t,n,c),i)?`break-after-operator`:c||o.type===`TemplateLiteral`||o.type===`TaggedTemplateExpression`||o.type===`BooleanLiteral`||g(o)||o.type===`ClassExpression`?`never-break-after-operator`:`fluid`}function j(e,t,r,i){let a=e.getValue();if(p(a)&&!T(a))return!0;switch(a.type){case`StringLiteralTypeAnnotation`:case`SequenceExpression`:return!0;case`ConditionalExpression`:{let{test:e}=a;return p(e)&&!T(e)}case`ClassExpression`:return n(a.decorators)}if(i)return!1;let o=a,s=[];for(;;)if(o.type===`UnaryExpression`)o=o.argument,s.push(`argument`);else if(o.type===`TSNonNullExpression`)o=o.expression,s.push(`expression`);else break;return!!(m(o)||e.call(()=>U(e,t,r),...s))}function M(e){if(P(e)){let t=e.left||e.id;return t.type===`ObjectPattern`&&t.properties.length>2&&t.properties.some(e=>w(e)&&(!e.shorthand||e.value&&e.value.type===`AssignmentPattern`))}return!1}function N(e){return e.type===`AssignmentExpression`}function P(e){return N(e)||e.type===`VariableDeclarator`}function F(e){let t=I(e);if(n(t)){let n=e.type===`TSTypeAliasDeclaration`?`constraint`:`bound`;if(t.length>1&&t.some(e=>e[n]||e.default))return!0}return!1}function I(e){return L(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function L(e){return e.type===`TSTypeAliasDeclaration`||e.type===`TypeAlias`}function R(e){if(e.type!==`VariableDeclarator`)return!1;let{typeAnnotation:t}=e.id;if(!t||!t.typeAnnotation)return!1;let r=B(t.typeAnnotation);return n(r)&&r.length>1&&r.some(e=>n(B(e))||e.type===`TSConditionalType`)}function z(e){return e.type===`VariableDeclarator`&&e.init&&e.init.type===`ArrowFunctionExpression`}function B(e){return V(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function V(e){return e.type===`TSTypeReference`||e.type===`GenericTypeAnnotation`}function U(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i=e.getValue(),a=()=>U(e,t,n,!0);if(i.type===`TSNonNullExpression`)return e.call(a,`expression`);if(_(i)){if(E(e,t,n).label===`member-chain`)return!1;let r=y(i);return!(r.length===0||r.length===1&&G(r[0],t))||q(i,n)?!1:e.call(a,`callee`)}return v(i)?e.call(a,`object`):r&&(i.type===`Identifier`||i.type===`ThisExpression`)}var W=.25;function G(e,t){let{printWidth:n}=t;if(S(e))return!1;let r=n*W;if(e.type===`ThisExpression`||e.type===`Identifier`&&e.name.length<=r||C(e)&&!S(e.argument))return!0;let i=e.type===`Literal`&&`regex`in e&&e.regex.pattern||e.type===`RegExpLiteral`&&e.pattern;return i?i.length<=r:m(e)?x(e).length<=r:e.type===`TemplateLiteral`?e.expressions.length===0&&e.quasis[0].value.raw.length<=r&&!e.quasis[0].value.raw.includes(`
|
|
201
|
-
`):h(e)}function K(e,t,n){return w(e)?(t=l(t),typeof t==`string`&&r(t)<n.tabWidth+3):!1}function q(e,t){let r=ee(e);if(n(r)){if(r.length>1)return!0;if(r.length===1){let e=r[0];if(e.type===`TSUnionType`||e.type===`UnionTypeAnnotation`||e.type===`TSIntersectionType`||e.type===`IntersectionTypeAnnotation`||e.type===`TSTypeLiteral`||e.type===`ObjectTypeAnnotation`)return!0}if(u(t(e.typeParameters?`typeParameters`:`typeArguments`)))return!0}return!1}function ee(e){return e.typeParameters&&e.typeParameters.params||e.typeArguments&&e.typeArguments.params}t.exports={printVariableDeclarator:k,printAssignmentExpression:O,printAssignment:D,isArrowFunctionVariableDeclarator:z}}}),$n=m({"src/language-js/print/function-parameters.js"(e,t){b();var{getNextNonSpaceNonCommentCharacter:n}=Z(),{printDanglingComments:r}=Gt(),{builders:{line:i,hardline:a,softline:o,group:s,indent:c,ifBreak:l},utils:{removeLines:u,willBreak:d}}=H(),{getFunctionParameters:f,iterateFunctionParametersPath:p,isSimpleType:m,isTestCall:h,isTypeAnnotationAFunction:g,isObjectType:_,isObjectTypePropertyAFunction:v,hasRestParameter:y,shouldPrintComma:x,hasComment:S,isNextLineEmpty:C}=on(),{locEnd:w}=Lt(),{ArgExpansionBailout:T}=Fe(),{printFunctionTypeParameters:E}=Kn();function D(e,t,_,b,S){let D=e.getValue(),k=f(D),A=S?E(e,_,t):``;if(k.length===0)return[A,`(`,r(e,_,!0,e=>n(_.originalText,e,w)===`)`),`)`];let j=e.getParentNode(),M=h(j),N=O(D),P=[];if(p(e,(e,n)=>{let r=n===k.length-1;r&&D.rest&&P.push(`...`),P.push(t()),!r&&(P.push(`,`),M||N?P.push(` `):C(k[n],_)?P.push(a,a):P.push(i))}),b){if(d(A)||d(P))throw new T;return s([u(A),`(`,u(P),`)`])}let F=k.every(e=>!e.decorators);return N&&F||M?[A,`(`,...P,`)`]:(v(j)||g(j)||j.type===`TypeAlias`||j.type===`UnionTypeAnnotation`||j.type===`TSUnionType`||j.type===`IntersectionTypeAnnotation`||j.type===`FunctionTypeAnnotation`&&j.returnType===D)&&k.length===1&&k[0].name===null&&D.this!==k[0]&&k[0].typeAnnotation&&D.typeParameters===null&&m(k[0].typeAnnotation)&&!D.rest?_.arrowParens===`always`?[`(`,...P,`)`]:P:[A,`(`,c([o,...P]),l(!y(D)&&x(_,`all`)?`,`:``),o,`)`]}function O(e){if(!e)return!1;let t=f(e);if(t.length!==1)return!1;let[n]=t;return!S(n)&&(n.type===`ObjectPattern`||n.type===`ArrayPattern`||n.type===`Identifier`&&n.typeAnnotation&&(n.typeAnnotation.type===`TypeAnnotation`||n.typeAnnotation.type===`TSTypeAnnotation`)&&_(n.typeAnnotation.typeAnnotation)||n.type===`FunctionTypeParam`&&_(n.typeAnnotation)||n.type===`AssignmentPattern`&&(n.left.type===`ObjectPattern`||n.left.type===`ArrayPattern`)&&(n.right.type===`Identifier`||n.right.type===`ObjectExpression`&&n.right.properties.length===0||n.right.type===`ArrayExpression`&&n.right.elements.length===0))}function k(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}function A(e,t){let n=k(e);if(!n)return!1;let r=e.typeParameters&&e.typeParameters.params;if(r){if(r.length>1)return!1;if(r.length===1){let e=r[0];if(e.constraint||e.default)return!1}}return f(e).length===1&&(_(n)||d(t))}t.exports={printFunctionParameters:D,shouldHugFunctionParameters:O,shouldGroupFunctionParameters:A}}}),er=m({"src/language-js/print/type-annotation.js"(e,t){b();var{printComments:n,printDanglingComments:r}=Gt(),{isNonEmptyArray:i}=Z(),{builders:{group:a,join:o,line:s,softline:c,indent:l,align:u,ifBreak:d}}=H(),f=Bn(),{locStart:p}=Lt(),{isSimpleType:m,isObjectType:h,hasLeadingOwnLineComment:g,isObjectTypePropertyAFunction:_,shouldPrintComma:v}=on(),{printAssignment:y}=Qn(),{printFunctionParameters:x,shouldGroupFunctionParameters:S}=$n(),{printArrayItems:C}=qn();function w(e){if(m(e)||h(e))return!0;if(e.type===`UnionTypeAnnotation`||e.type===`TSUnionType`){let t=e.types.filter(e=>e.type===`VoidTypeAnnotation`||e.type===`TSVoidKeyword`||e.type===`NullLiteralTypeAnnotation`||e.type===`TSNullKeyword`).length,n=e.types.some(e=>e.type===`ObjectTypeAnnotation`||e.type===`TSTypeLiteral`||e.type===`GenericTypeAnnotation`||e.type===`TSTypeReference`);if(e.types.length-1===t&&n)return!0}return!1}function T(e,t,n){let r=t.semi?`;`:``,i=e.getValue(),a=[];return a.push(`opaque type `,n(`id`),n(`typeParameters`)),i.supertype&&a.push(`: `,n(`supertype`)),i.impltype&&a.push(` = `,n(`impltype`)),a.push(r),a}function E(e,t,n){let r=t.semi?`;`:``,i=e.getValue(),a=[];return i.declare&&a.push(`declare `),a.push(`type `,n(`id`),n(`typeParameters`)),[y(e,t,n,a,` =`,i.type===`TSTypeAliasDeclaration`?`typeAnnotation`:`right`),r]}function D(e,t,n){let r=e.getValue(),i=e.map(n,`types`),o=[],c=!1;for(let e=0;e<i.length;++e)e===0?o.push(i[e]):h(r.types[e-1])&&h(r.types[e])?o.push([` & `,c?l(i[e]):i[e]]):!h(r.types[e-1])&&!h(r.types[e])?o.push(l([` &`,s,i[e]])):(e>1&&(c=!0),o.push(` & `,e>1?l(i[e]):i[e]));return a(o)}function O(e,t,r){let i=e.getValue(),p=e.getParentNode(),m=p.type!==`TypeParameterInstantiation`&&p.type!==`TSTypeParameterInstantiation`&&p.type!==`GenericTypeAnnotation`&&p.type!==`TSTypeReference`&&p.type!==`TSTypeAssertion`&&p.type!==`TupleTypeAnnotation`&&p.type!==`TSTupleType`&&!(p.type===`FunctionTypeParam`&&!p.name&&e.getParentNode(1).this!==p)&&!((p.type===`TypeAlias`||p.type===`VariableDeclarator`||p.type===`TSTypeAliasDeclaration`)&&g(t.originalText,i)),h=w(i),_=e.map(e=>{let i=r();return h||(i=u(2,i)),n(e,i,t)},`types`);if(h)return o(` | `,_);let v=[d([m&&!g(t.originalText,i)?s:``,`| `]),o([s,`| `],_)];return f(e,t)?a([l(v),c]):p.type===`TupleTypeAnnotation`&&p.types.length>1||p.type===`TSTupleType`&&p.elementTypes.length>1?a([l([d([`(`,c]),v]),c,d(`)`)]):a(m?l(v):v)}function k(e,t,n){let r=e.getValue(),i=[],o=e.getParentNode(0),s=e.getParentNode(1),c=e.getParentNode(2),l=r.type===`TSFunctionType`||!((o.type===`ObjectTypeProperty`||o.type===`ObjectTypeInternalSlot`)&&!o.variance&&!o.optional&&p(o)===p(r)||o.type===`ObjectTypeCallProperty`||c&&c.type===`DeclareFunction`),u=l&&(o.type===`TypeAnnotation`||o.type===`TSTypeAnnotation`),d=u&&l&&(o.type===`TypeAnnotation`||o.type===`TSTypeAnnotation`)&&s.type===`ArrowFunctionExpression`;_(o)&&(l=!0,u=!0),d&&i.push(`(`);let f=x(e,n,t,!1,!0),m=r.returnType||r.predicate||r.typeAnnotation?[l?` => `:`: `,n(`returnType`),n(`predicate`),n(`typeAnnotation`)]:``,h=S(r,m);return i.push(h?a(f):f),m&&i.push(m),d&&i.push(`)`),a(i)}function A(e,t,n){let o=e.getValue(),s=o.type===`TSTupleType`?`elementTypes`:`types`,u=o[s],f=i(u),p=f?c:``;return a([`[`,l([p,C(e,t,s,n)]),d(f&&v(t,`all`)?`,`:``),r(e,t,!0),p,`]`])}function j(e,t,n){let r=e.getValue(),i=r.type===`OptionalIndexedAccessType`&&r.optional?`?.[`:`[`;return[n(`objectType`),i,n(`indexType`),`]`]}function M(e,t,n){let r=e.getValue();return[r.postfix?``:n,t(`typeAnnotation`),r.postfix?n:``]}t.exports={printOpaqueType:T,printTypeAlias:E,printIntersectionType:D,printUnionType:O,printFunctionType:k,printTupleType:A,printIndexedAccessType:j,shouldHugType:w,printJSDocType:M}}}),tr=m({"src/language-js/print/type-parameters.js"(e,t){b();var{printDanglingComments:n}=Gt(),{builders:{join:r,line:i,hardline:a,softline:o,group:s,indent:c,ifBreak:l}}=H(),{isTestCall:u,hasComment:d,CommentCheckFlags:f,isTSXFile:p,shouldPrintComma:m,getFunctionParameters:h,isObjectType:g,getTypeScriptMappedTypeModifier:_}=on(),{createGroupIdMapper:v}=Z(),{shouldHugType:y}=er(),{isArrowFunctionVariableDeclarator:x}=Qn(),S=v(`typeParameters`);function C(e,t,n,a){let d=e.getValue();if(!d[a])return``;if(!Array.isArray(d[a]))return n(a);let f=e.getNode(2),_=f&&u(f),v=e.match(e=>!(e[a].length===1&&g(e[a][0])),void 0,(e,t)=>t===`typeAnnotation`,e=>e.type===`Identifier`,x);if(d[a].length===0||!v&&(_||d[a].length===1&&(d[a][0].type===`NullableTypeAnnotation`||y(d[a][0]))))return[`<`,r(`, `,e.map(n,a)),w(e,t),`>`];let b=d.type===`TSTypeParameterInstantiation`?``:h(d).length===1&&p(t)&&!d[a][0].constraint&&e.getParentNode().type===`ArrowFunctionExpression`?`,`:m(t,`all`)?l(`,`):``;return s([`<`,c([o,r([`,`,i],e.map(n,a))]),b,o,`>`],{id:S(d)})}function w(e,t){let r=e.getValue();if(!d(r,f.Dangling))return``;let i=!d(r,f.Line),o=n(e,t,i);return i?o:[o,a]}function T(e,t,n){let r=e.getValue(),i=[r.type===`TSTypeParameter`&&r.const?`const `:``],a=e.getParentNode();return a.type===`TSMappedType`?(a.readonly&&i.push(_(a.readonly,`readonly`),` `),i.push(`[`,n(`name`)),r.constraint&&i.push(` in `,n(`constraint`)),a.nameType&&i.push(` as `,e.callParent(()=>n(`nameType`))),i.push(`]`),i):(r.variance&&i.push(n(`variance`)),r.in&&i.push(`in `),r.out&&i.push(`out `),i.push(n(`name`)),r.bound&&i.push(`: `,n(`bound`)),r.constraint&&i.push(` extends `,n(`constraint`)),r.default&&i.push(` = `,n(`default`)),i)}t.exports={printTypeParameter:T,printTypeParameters:C,getTypeParametersGroupId:S}}}),nr=m({"src/language-js/print/property.js"(e,t){b();var{printComments:n}=Gt(),{printString:r,printNumber:i}=Z(),{isNumericLiteral:a,isSimpleNumber:o,isStringLiteral:s,isStringPropSafeToUnquote:c,rawText:l}=on(),{printAssignment:u}=Qn(),d=new WeakMap;function f(e,t,u){let f=e.getNode();if(f.computed)return[`[`,u(`key`),`]`];let p=e.getParentNode(),{key:m}=f;if(t.quoteProps===`consistent`&&!d.has(p)){let e=(p.properties||p.body||p.members).some(e=>!e.computed&&e.key&&s(e.key)&&!c(e,t));d.set(p,e)}if((m.type===`Identifier`||a(m)&&o(i(l(m)))&&String(m.value)===i(l(m))&&!(t.parser===`typescript`||t.parser===`babel-ts`))&&(t.parser===`json`||t.quoteProps===`consistent`&&d.get(p))){let i=r(JSON.stringify(m.type===`Identifier`?m.name:m.value.toString()),t);return e.call(e=>n(e,i,t),`key`)}return c(f,t)&&(t.quoteProps===`as-needed`||t.quoteProps===`consistent`&&!d.get(p))?e.call(e=>n(e,/^\d/.test(m.value)?i(m.value):m.value,t),`key`):u(`key`)}function p(e,t,n){return e.getValue().shorthand?n(`value`):u(e,t,n,f(e,t,n),`:`,`value`)}t.exports={printProperty:p,printPropertyKey:f}}}),rr=m({"src/language-js/print/function.js"(e,t){b();var n=Wt(),{printDanglingComments:r,printCommentsSeparately:i}=Gt(),a=E(),{getNextNonSpaceNonCommentCharacterIndex:o}=Z(),{builders:{line:s,softline:c,group:l,indent:u,ifBreak:d,hardline:f,join:p,indentIfBreak:m},utils:{removeLines:h,willBreak:g}}=H(),{ArgExpansionBailout:_}=Fe(),{getFunctionParameters:v,hasLeadingOwnLineComment:y,isFlowAnnotationComment:x,isJsxNode:S,isTemplateOnItsOwnLine:C,shouldPrintComma:w,startsWithNoLookaheadToken:T,isBinaryish:D,isLineComment:O,hasComment:k,getComments:A,CommentCheckFlags:j,isCallLikeExpression:M,isCallExpression:N,getCallArguments:P,hasNakedLeftSide:F,getLeftSide:I}=on(),{locEnd:L}=Lt(),{printFunctionParameters:R,shouldGroupFunctionParameters:z}=$n(),{printPropertyKey:B}=nr(),{printFunctionTypeParameters:V}=Kn();function U(e,t,n,r){let i=e.getValue(),a=!1;if((i.type===`FunctionDeclaration`||i.type===`FunctionExpression`)&&r&&r.expandLastArg){let t=e.getParentNode();N(t)&&P(t).length>1&&(a=!0)}let o=[];i.type===`TSDeclareFunction`&&i.declare&&o.push(`declare `),i.async&&o.push(`async `),i.generator?o.push(`function* `):o.push(`function `),i.id&&o.push(t(`id`));let s=R(e,t,n,a),c=ne(e,t,n),u=z(i,c);return o.push(V(e,n,t),l([u?l(s):s,c]),i.body?` `:``,t(`body`)),n.semi&&(i.declare||!i.body)&&o.push(`;`),o}function W(e,t,r){let i=e.getNode(),{kind:a}=i,o=i.value||i,s=[];return!a||a===`init`||a===`method`||a===`constructor`?o.async&&s.push(`async `):(n.ok(a===`get`||a===`set`),s.push(a,` `)),o.generator&&s.push(`*`),s.push(B(e,t,r),i.optional||i.key.optional?`?`:``),i===o?s.push(G(e,t,r)):o.type===`FunctionExpression`?s.push(e.call(e=>G(e,t,r),`value`)):s.push(r(`value`)),s}function G(e,t,n){let r=e.getNode(),i=R(e,n,t),a=ne(e,n,t),o=z(r,a),s=[V(e,t,n),l([o?l(i):i,a])];return r.body?s.push(` `,n(`body`)):s.push(t.semi?`;`:``),s}function K(e,t,n,i){let a=e.getValue(),s=[];if(a.async&&s.push(`async `),te(e,t))s.push(n([`params`,0]));else{let r=i&&(i.expandLastArg||i.expandFirstArg),a=ne(e,n,t);if(r){if(g(a))throw new _;a=l(h(a))}s.push(l([R(e,n,t,r,!0),a]))}let c=r(e,t,!0,e=>{let n=o(t.originalText,e,L);return n!==!1&&t.originalText.slice(n,n+2)===`=>`});return c&&s.push(` `,c),s}function q(e,t,n,r,i,a){let o=e.getName(),f=M(e.getParentNode())&&o===`callee`,h=!!(t&&t.assignmentLayout),g=a.body.type!==`BlockStatement`&&a.body.type!==`ObjectExpression`&&a.body.type!==`SequenceExpression`,_=f&&g||t&&t.assignmentLayout===`chain-tail-arrow-chain`,v=Symbol(`arrow-chain`);return a.body.type===`SequenceExpression`&&(i=l([`(`,u([c,i]),c,`)`])),l([l(u([f||h?c:``,l(p([` =>`,s],n),{shouldBreak:r})]),{id:v,shouldBreak:_}),` =>`,m(g?u([s,i]):[` `,i],{groupId:v}),f?d(c,``,{groupId:v}):``])}function ee(e,t,n,r){let a=e.getValue(),o=[],f=[],p=!1;if(function s(){let c=K(e,t,n,r);if(o.length===0)o.push(c);else{let{leading:n,trailing:r}=i(e,t);o.push([n,c]),f.unshift(r)}p=p||a.returnType&&v(a).length>0||a.typeParameters||v(a).some(e=>e.type!==`Identifier`),a.body.type!==`ArrowFunctionExpression`||r&&r.expandLastArg?f.unshift(n(`body`,r)):(a=a.body,e.call(s,`body`))}(),o.length>1)return q(e,r,o,p,f,a);let m=o;if(m.push(` =>`),!y(t.originalText,a.body)&&(a.body.type===`ArrayExpression`||a.body.type===`ObjectExpression`||a.body.type===`BlockStatement`||S(a.body)||C(a.body,t.originalText)||a.body.type===`ArrowFunctionExpression`||a.body.type===`DoExpression`))return l([...m,` `,f]);if(a.body.type===`SequenceExpression`)return l([...m,l([` (`,u([c,f]),c,`)`])]);let h=(r&&r.expandLastArg||e.getParentNode().type===`JSXExpressionContainer`)&&!k(a),g=r&&r.expandLastArg&&w(t,`all`),_=a.body.type===`ConditionalExpression`&&!T(a.body,e=>e.type===`ObjectExpression`);return l([...m,l([u([s,_?d(``,`(`):``,f,_?d(``,`)`):``]),h?[d(g?`,`:``),c]:``])])}function J(e){let t=v(e);return t.length===1&&!e.typeParameters&&!k(e,j.Dangling)&&t[0].type===`Identifier`&&!t[0].typeAnnotation&&!k(t[0])&&!t[0].optional&&!e.predicate&&!e.returnType}function te(e,t){return t.arrowParens===`always`?!1:t.arrowParens===`avoid`?J(e.getValue()):!1}function ne(e,t,n){let r=e.getValue(),i=t(`returnType`);if(r.returnType&&x(n.originalText,r.returnType))return[` /*: `,i,` */`];let a=[i];return r.returnType&&r.returnType.typeAnnotation&&a.unshift(`: `),r.predicate&&a.push(r.returnType?` `:`: `,t(`predicate`)),a}function Y(e,t,n){let i=e.getValue(),o=t.semi?`;`:``,s=[];i.argument&&(ae(t,i.argument)?s.push([` (`,u([f,n(`argument`)]),f,`)`]):D(i.argument)||i.argument.type===`SequenceExpression`?s.push(l([d(` (`,` `),u([c,n(`argument`)]),c,d(`)`)])):s.push(` `,n(`argument`)));let p=a(A(i)),m=p&&O(p);return m&&s.push(o),k(i,j.Dangling)&&s.push(` `,r(e,t,!0)),m||s.push(o),s}function re(e,t,n){return[`return`,Y(e,t,n)]}function ie(e,t,n){return[`throw`,Y(e,t,n)]}function ae(e,t){if(y(e.originalText,t))return!0;if(F(t)){let n=t,r;for(;r=I(n);)if(n=r,y(e.originalText,n))return!0}return!1}t.exports={printFunction:U,printArrowFunction:ee,printMethod:W,printReturnStatement:re,printThrowStatement:ie,printMethodInternal:G,shouldPrintParamsWithoutParens:te}}}),ir=m({"src/language-js/print/decorators.js"(e,t){b();var{isNonEmptyArray:n,hasNewline:r}=Z(),{builders:{line:i,hardline:a,join:o,breakParent:s,group:c}}=H(),{locStart:l,locEnd:u}=Lt(),{getParentExportDeclaration:d}=on();function f(e,t,n){let r=e.getValue();return c([o(i,e.map(n,`decorators`)),h(r,t)?a:i])}function p(e,t,n){return[o(a,e.map(n,`declaration`,`decorators`)),a]}function m(e,t,r){let c=e.getValue(),{decorators:l}=c;if(!n(l)||g(e.getParentNode()))return;let u=c.type===`ClassExpression`||c.type===`ClassDeclaration`||h(c,t);return[d(e)?a:u?s:``,o(i,e.map(r,`decorators`)),i]}function h(e,t){return e.decorators.some(e=>r(t.originalText,u(e)))}function g(e){if(e.type!==`ExportDefaultDeclaration`&&e.type!==`ExportNamedDeclaration`&&e.type!==`DeclareExportDeclaration`)return!1;let t=e.declaration&&e.declaration.decorators;return n(t)&&l(e)===l(t[0])}t.exports={printDecorators:m,printClassMemberDecorators:f,printDecoratorsBeforeExport:p,hasDecoratorsBeforeExport:g}}}),ar=m({"src/language-js/print/class.js"(e,t){b();var{isNonEmptyArray:n,createGroupIdMapper:r}=Z(),{printComments:i,printDanglingComments:a}=Gt(),{builders:{join:o,line:s,hardline:c,softline:l,group:u,indent:d,ifBreak:f}}=H(),{hasComment:p,CommentCheckFlags:m}=on(),{getTypeParametersGroupId:h}=tr(),{printMethod:g}=rr(),{printOptionalToken:_,printTypeAnnotation:v,printDefiniteToken:y}=Kn(),{printPropertyKey:x}=nr(),{printAssignment:S}=Qn(),{printClassMemberDecorators:C}=ir();function w(e,t,r){let a=e.getValue(),o=[];a.declare&&o.push(`declare `),a.abstract&&o.push(`abstract `),o.push(`class`);let c=a.id&&p(a.id,m.Trailing)||a.typeParameters&&p(a.typeParameters,m.Trailing)||a.superClass&&p(a.superClass)||n(a.extends)||n(a.mixins)||n(a.implements),l=[],f=[];if(a.id&&l.push(` `,r(`id`)),l.push(r(`typeParameters`)),a.superClass){let n=[A(e,t,r),r(`superTypeParameters`)],a=e.call(e=>[`extends `,i(e,n,t)],`superClass`);c?f.push(s,u(a)):f.push(` `,a)}else f.push(k(e,t,r,`extends`));if(f.push(k(e,t,r,`mixins`),k(e,t,r,`implements`)),c){let e;e=O(a)?[...l,d(f)]:d([...l,f]),o.push(u(e,{id:T(a)}))}else o.push(...l,...f);return o.push(` `,r(`body`)),o}var T=r(`heritageGroup`);function E(e){return f(c,``,{groupId:T(e)})}function D(e){return[`superClass`,`extends`,`mixins`,`implements`].filter(t=>!!e[t]).length>1}function O(e){return e.typeParameters&&!p(e.typeParameters,m.Trailing|m.Line)&&!D(e)}function k(e,t,r,i){let l=e.getValue();if(!n(l[i]))return``;let p=a(e,t,!0,e=>{let{marker:t}=e;return t===i});return[O(l)?f(` `,s,{groupId:h(l.typeParameters)}):s,p,p&&c,i,u(d([s,o([`,`,s],e.map(r,i))]))]}function A(e,t,n){let r=n(`superClass`);return e.getParentNode().type===`AssignmentExpression`?u(f([`(`,d([l,r]),l,`)`],r)):r}function j(e,t,r){let i=e.getValue(),a=[];return n(i.decorators)&&a.push(C(e,t,r)),i.accessibility&&a.push(i.accessibility+` `),i.readonly&&a.push(`readonly `),i.declare&&a.push(`declare `),i.static&&a.push(`static `),(i.type===`TSAbstractMethodDefinition`||i.abstract)&&a.push(`abstract `),i.override&&a.push(`override `),a.push(g(e,t,r)),a}function M(e,t,r){let i=e.getValue(),a=[],o=t.semi?`;`:``;return n(i.decorators)&&a.push(C(e,t,r)),i.accessibility&&a.push(i.accessibility+` `),i.declare&&a.push(`declare `),i.static&&a.push(`static `),(i.type===`TSAbstractPropertyDefinition`||i.type===`TSAbstractAccessorProperty`||i.abstract)&&a.push(`abstract `),i.override&&a.push(`override `),i.readonly&&a.push(`readonly `),i.variance&&a.push(r(`variance`)),(i.type===`ClassAccessorProperty`||i.type===`AccessorProperty`||i.type===`TSAbstractAccessorProperty`)&&a.push(`accessor `),a.push(x(e,t,r),_(e),y(e),v(e,t,r)),[S(e,t,r,a,` =`,`value`),o]}t.exports={printClass:w,printClassMethod:j,printClassProperty:M,printHardlineAfterHeritage:E}}}),$=m({"src/language-js/print/interface.js"(e,t){b();var{isNonEmptyArray:n}=Z(),{builders:{join:r,line:i,group:a,indent:o,ifBreak:s}}=H(),{hasComment:c,identity:l,CommentCheckFlags:u}=on(),{getTypeParametersGroupId:d}=tr(),{printTypeScriptModifiers:f}=Kn();function p(e,t,p){let m=e.getValue(),h=[];m.declare&&h.push(`declare `),m.type===`TSInterfaceDeclaration`&&h.push(m.abstract?`abstract `:``,f(e,t,p)),h.push(`interface`);let g=[],_=[];m.type!==`InterfaceTypeAnnotation`&&g.push(` `,p(`id`),p(`typeParameters`));let v=m.typeParameters&&!c(m.typeParameters,u.Trailing|u.Line);return n(m.extends)&&_.push(v?s(` `,i,{groupId:d(m.typeParameters)}):i,`extends `,(m.extends.length===1?l:o)(r([`,`,i],e.map(p,`extends`)))),m.id&&c(m.id,u.Trailing)||n(m.extends)?v?h.push(a([...g,o(_)])):h.push(a(o([...g,..._]))):h.push(...g,..._),h.push(` `,p(`body`)),a(h)}t.exports={printInterface:p}}}),or=m({"src/language-js/print/module.js"(e,t){b();var{isNonEmptyArray:n}=Z(),{builders:{softline:r,group:i,indent:a,join:o,line:s,ifBreak:c,hardline:l}}=H(),{printDanglingComments:u}=Gt(),{hasComment:d,CommentCheckFlags:f,shouldPrintComma:p,needsHardlineAfterDanglingComment:m,isStringLiteral:h,rawText:g}=on(),{locStart:_,hasSameLoc:v}=Lt(),{hasDecoratorsBeforeExport:y,printDecoratorsBeforeExport:x}=ir();function S(e,t,n){let r=e.getValue(),i=t.semi?`;`:``,a=[],{importKind:o}=r;return a.push(`import`),o&&o!==`value`&&a.push(` `,o),a.push(D(e,t,n),E(e,t,n),k(e,t,n),i),a}function C(e,t,n){let r=e.getValue(),i=[];y(r)&&i.push(x(e,t,n));let{type:a,exportKind:o,declaration:s}=r;return i.push(`export`),(r.default||a===`ExportDefaultDeclaration`)&&i.push(` default`),d(r,f.Dangling)&&(i.push(` `,u(e,t,!0)),m(r)&&i.push(l)),s?i.push(` `,n(`declaration`)):i.push(o===`type`?` type`:``,D(e,t,n),E(e,t,n),k(e,t,n)),T(r,t)&&i.push(`;`),i}function w(e,t,n){let r=e.getValue(),i=t.semi?`;`:``,a=[],{exportKind:o,exported:s}=r;return a.push(`export`),o===`type`&&a.push(` type`),a.push(` *`),s&&a.push(` as `,n(`exported`)),a.push(E(e,t,n),k(e,t,n),i),a}function T(e,t){if(!t.semi)return!1;let{type:n,declaration:r}=e,i=e.default||n===`ExportDefaultDeclaration`;if(!r)return!0;let{type:a}=r;return!!(i&&a!==`ClassDeclaration`&&a!==`FunctionDeclaration`&&a!==`TSInterfaceDeclaration`&&a!==`DeclareClass`&&a!==`DeclareFunction`&&a!==`TSDeclareFunction`&&a!==`EnumDeclaration`)}function E(e,t,n){let r=e.getValue();if(!r.source)return``;let i=[];return O(r,t)||i.push(` from`),i.push(` `,n(`source`)),i}function D(e,t,l){let u=e.getValue();if(O(u,t))return``;let f=[` `];if(n(u.specifiers)){let n=[],m=[];e.each(()=>{let t=e.getValue().type;if(t===`ExportNamespaceSpecifier`||t===`ExportDefaultSpecifier`||t===`ImportNamespaceSpecifier`||t===`ImportDefaultSpecifier`)n.push(l());else if(t===`ExportSpecifier`||t===`ImportSpecifier`)m.push(l());else throw Error(`Unknown specifier type ${JSON.stringify(t)}`)},`specifiers`),f.push(o(`, `,n)),m.length>0&&(n.length>0&&f.push(`, `),m.length>1||n.length>0||u.specifiers.some(e=>d(e))?f.push(i([`{`,a([t.bracketSpacing?s:r,o([`,`,s],m)]),c(p(t)?`,`:``),t.bracketSpacing?s:r,`}`])):f.push([`{`,t.bracketSpacing?` `:``,...m,t.bracketSpacing?` `:``,`}`]))}else f.push(`{}`);return f}function O(e,t){let{type:r,importKind:i,source:a,specifiers:o}=e;return r!==`ImportDeclaration`||n(o)||i===`type`?!1:!/{\s*}/.test(t.originalText.slice(_(e),_(a)))}function k(e,t,r){return n(e.getNode().assertions)?[` assert {`,t.bracketSpacing?` `:``,o(`, `,e.map(r,`assertions`)),t.bracketSpacing?` `:``,`}`]:``}function A(e,t,n){let r=e.getNode(),{type:i}=r,a=[],o=i===`ImportSpecifier`?r.importKind:r.exportKind;o&&o!==`value`&&a.push(o,` `);let s=i.startsWith(`Import`),c=s?`imported`:`local`,l=s?`local`:`exported`,u=r[c],d=r[l],f=``,p=``;return i===`ExportNamespaceSpecifier`||i===`ImportNamespaceSpecifier`?f=`*`:u&&(f=n(c)),d&&!j(r)&&(p=n(l)),a.push(f,f&&p?` as `:``,p),a}function j(e){if(e.type!==`ImportSpecifier`&&e.type!==`ExportSpecifier`)return!1;let{local:t,[e.type===`ImportSpecifier`?`imported`:`exported`]:n}=e;if(t.type!==n.type||!v(t,n))return!1;if(h(t))return t.value===n.value&&g(t)===g(n);switch(t.type){case`Identifier`:return t.name===n.name;default:return!1}}t.exports={printImportDeclaration:S,printExportDeclaration:C,printExportAllDeclaration:w,printModuleSpecifier:A}}}),sr=m({"src/language-js/print/object.js"(e,t){b();var{printDanglingComments:n}=Gt(),{builders:{line:r,softline:i,group:a,indent:o,ifBreak:s,hardline:c}}=H(),{getLast:l,hasNewlineInRange:u,hasNewline:d,isNonEmptyArray:f}=Z(),{shouldPrintComma:p,hasComment:m,getComments:h,CommentCheckFlags:g,isNextLineEmpty:_}=on(),{locStart:v,locEnd:y}=Lt(),{printOptionalToken:x,printTypeAnnotation:S}=Kn(),{shouldHugFunctionParameters:C}=$n(),{shouldHugType:w}=er(),{printHardlineAfterHeritage:T}=ar();function E(e,t,b){let E=t.semi?`;`:``,D=e.getValue(),O;O=D.type===`TSTypeLiteral`?`members`:D.type===`TSInterfaceBody`?`body`:`properties`;let k=D.type===`ObjectTypeAnnotation`,A=[O];k&&A.push(`indexers`,`callProperties`,`internalSlots`);let j=A.map(e=>D[e][0]).sort((e,t)=>v(e)-v(t))[0],M=e.getParentNode(0),N=k&&M&&(M.type===`InterfaceDeclaration`||M.type===`DeclareInterface`||M.type===`DeclareClass`)&&e.getName()===`body`,P=D.type===`TSInterfaceBody`||N||D.type===`ObjectPattern`&&M.type!==`FunctionDeclaration`&&M.type!==`FunctionExpression`&&M.type!==`ArrowFunctionExpression`&&M.type!==`ObjectMethod`&&M.type!==`ClassMethod`&&M.type!==`ClassPrivateMethod`&&M.type!==`AssignmentPattern`&&M.type!==`CatchClause`&&D.properties.some(e=>e.value&&(e.value.type===`ObjectPattern`||e.value.type===`ArrayPattern`))||D.type!==`ObjectPattern`&&j&&u(t.originalText,v(D),v(j)),F=N?`;`:D.type===`TSInterfaceBody`||D.type===`TSTypeLiteral`?s(E,`;`):`,`,I=D.type===`RecordExpression`?`#{`:D.exact?`{|`:`{`,L=D.exact?`|}`:`}`,R=[];for(let t of A)e.each(e=>{let t=e.getValue();R.push({node:t,printed:b(),loc:v(t)})},t);A.length>1&&R.sort((e,t)=>e.loc-t.loc);let z=[],B=R.map(e=>{let n=[...z,a(e.printed)];return z=[F,r],(e.node.type===`TSPropertySignature`||e.node.type===`TSMethodSignature`||e.node.type===`TSConstructSignatureDeclaration`)&&m(e.node,g.PrettierIgnore)&&z.shift(),_(e.node,t)&&z.push(c),n});if(D.inexact){let i;if(m(D,g.Dangling)){let a=m(D,g.Line);i=[n(e,t,!0),a||d(t.originalText,y(l(h(D))))?c:r,`...`]}else i=[`...`];B.push([...z,...i])}let V=l(D[O]),H=!(D.inexact||V&&V.type===`RestElement`||V&&(V.type===`TSPropertySignature`||V.type===`TSCallSignatureDeclaration`||V.type===`TSMethodSignature`||V.type===`TSConstructSignatureDeclaration`)&&m(V,g.PrettierIgnore)),U;if(B.length===0){if(!m(D,g.Dangling))return[I,L,S(e,t,b)];U=a([I,n(e,t),i,L,x(e),S(e,t,b)])}else U=[N&&f(D.properties)?T(M):``,I,o([t.bracketSpacing?r:i,...B]),s(H&&(F!==`,`||p(t))?F:``),t.bracketSpacing?r:i,L,x(e),S(e,t,b)];return e.match(e=>e.type===`ObjectPattern`&&!e.decorators,(e,t,n)=>C(e)&&(t===`params`||t===`parameters`||t===`this`||t===`rest`)&&n===0)||e.match(w,(e,t)=>t===`typeAnnotation`,(e,t)=>t===`typeAnnotation`,(e,t,n)=>C(e)&&(t===`params`||t===`parameters`||t===`this`||t===`rest`)&&n===0)||!P&&e.match(e=>e.type===`ObjectPattern`,e=>e.type===`AssignmentExpression`||e.type===`VariableDeclarator`)?U:a(U,{shouldBreak:P})}t.exports={printObject:E}}}),cr=m({"src/language-js/print/flow.js"(e,t){b();var n=Wt(),{printDanglingComments:r}=Gt(),{printString:i,printNumber:a}=Z(),{builders:{hardline:o,softline:s,group:c,indent:l}}=H(),{getParentExportDeclaration:u,isFunctionNotation:d,isGetterOrSetter:f,rawText:p,shouldPrintComma:m}=on(),{locStart:h,locEnd:g}=Lt(),{replaceTextEndOfLine:_}=z(),{printClass:v}=ar(),{printOpaqueType:y,printTypeAlias:x,printIntersectionType:S,printUnionType:C,printFunctionType:w,printTupleType:T,printIndexedAccessType:E}=er(),{printInterface:D}=$(),{printTypeParameter:O,printTypeParameters:k}=tr(),{printExportDeclaration:A,printExportAllDeclaration:j}=or(),{printArrayItems:M}=qn(),{printObject:N}=sr(),{printPropertyKey:P}=nr(),{printOptionalToken:F,printTypeAnnotation:I,printRestSpread:L}=Kn();function R(e,t,u){let b=e.getValue(),R=t.semi?`;`:``,z=[];switch(b.type){case`DeclareClass`:return B(e,v(e,t,u));case`DeclareFunction`:return B(e,[`function `,u(`id`),b.predicate?` `:``,u(`predicate`),R]);case`DeclareModule`:return B(e,[`module `,u(`id`),` `,u(`body`)]);case`DeclareModuleExports`:return B(e,[`module.exports`,`: `,u(`typeAnnotation`),R]);case`DeclareVariable`:return B(e,[`var `,u(`id`),R]);case`DeclareOpaqueType`:return B(e,y(e,t,u));case`DeclareInterface`:return B(e,D(e,t,u));case`DeclareTypeAlias`:return B(e,x(e,t,u));case`DeclareExportDeclaration`:return B(e,A(e,t,u));case`DeclareExportAllDeclaration`:return B(e,j(e,t,u));case`OpaqueType`:return y(e,t,u);case`TypeAlias`:return x(e,t,u);case`IntersectionTypeAnnotation`:return S(e,t,u);case`UnionTypeAnnotation`:return C(e,t,u);case`FunctionTypeAnnotation`:return w(e,t,u);case`TupleTypeAnnotation`:return T(e,t,u);case`GenericTypeAnnotation`:return[u(`id`),k(e,t,u,`typeParameters`)];case`IndexedAccessType`:case`OptionalIndexedAccessType`:return E(e,t,u);case`TypeAnnotation`:return u(`typeAnnotation`);case`TypeParameter`:return O(e,t,u);case`TypeofTypeAnnotation`:return[`typeof `,u(`argument`)];case`ExistsTypeAnnotation`:return`*`;case`EmptyTypeAnnotation`:return`empty`;case`MixedTypeAnnotation`:return`mixed`;case`ArrayTypeAnnotation`:return[u(`elementType`),`[]`];case`BooleanLiteralTypeAnnotation`:return String(b.value);case`EnumDeclaration`:return[`enum `,u(`id`),` `,u(`body`)];case`EnumBooleanBody`:case`EnumNumberBody`:case`EnumStringBody`:case`EnumSymbolBody`:if(b.type===`EnumSymbolBody`||b.explicitType){let e=null;switch(b.type){case`EnumBooleanBody`:e=`boolean`;break;case`EnumNumberBody`:e=`number`;break;case`EnumStringBody`:e=`string`;break;case`EnumSymbolBody`:e=`symbol`;break}z.push(`of `,e,` `)}if(b.members.length===0&&!b.hasUnknownMembers)z.push(c([`{`,r(e,t),s,`}`]));else{let n=b.members.length>0?[o,M(e,t,`members`,u),b.hasUnknownMembers||m(t)?`,`:``]:[];z.push(c([`{`,l([...n,...b.hasUnknownMembers?[o,`...`]:[]]),r(e,t,!0),o,`}`]))}return z;case`EnumBooleanMember`:case`EnumNumberMember`:case`EnumStringMember`:return[u(`id`),` = `,typeof b.init==`object`?u(`init`):String(b.init)];case`EnumDefaultedMember`:return u(`id`);case`FunctionTypeParam`:{let t=b.name?u(`name`):e.getParentNode().this===b?`this`:``;return[t,F(e),t?`: `:``,u(`typeAnnotation`)]}case`InterfaceDeclaration`:case`InterfaceTypeAnnotation`:return D(e,t,u);case`ClassImplements`:case`InterfaceExtends`:return[u(`id`),u(`typeParameters`)];case`NullableTypeAnnotation`:return[`?`,u(`typeAnnotation`)];case`Variance`:{let{kind:e}=b;return n.ok(e===`plus`||e===`minus`),e===`plus`?`+`:`-`}case`ObjectTypeCallProperty`:return b.static&&z.push(`static `),z.push(u(`value`)),z;case`ObjectTypeIndexer`:return[b.static?`static `:``,b.variance?u(`variance`):``,`[`,u(`id`),b.id?`: `:``,u(`key`),`]: `,u(`value`)];case`ObjectTypeProperty`:{let n=``;return b.proto?n=`proto `:b.static&&(n=`static `),[n,f(b)?b.kind+` `:``,b.variance?u(`variance`):``,P(e,t,u),F(e),d(b)?``:`: `,u(`value`)]}case`ObjectTypeAnnotation`:return N(e,t,u);case`ObjectTypeInternalSlot`:return[b.static?`static `:``,`[[`,u(`id`),`]]`,F(e),b.method?``:`: `,u(`value`)];case`ObjectTypeSpreadProperty`:return L(e,t,u);case`QualifiedTypeofIdentifier`:case`QualifiedTypeIdentifier`:return[u(`qualification`),`.`,u(`id`)];case`StringLiteralTypeAnnotation`:return _(i(p(b),t));case`NumberLiteralTypeAnnotation`:n.strictEqual(typeof b.value,`number`);case`BigIntLiteralTypeAnnotation`:return b.extra?a(b.extra.raw):a(b.raw);case`TypeCastExpression`:return[`(`,u(`expression`),I(e,t,u),`)`];case`TypeParameterDeclaration`:case`TypeParameterInstantiation`:{let n=k(e,t,u,`params`);if(t.parser===`flow`){let e=h(b),r=g(b),i=t.originalText.lastIndexOf(`/*`,e),a=t.originalText.indexOf(`*/`,r);if(i!==-1&&a!==-1){let e=t.originalText.slice(i+2,a).trim();if(e.startsWith(`::`)&&!e.includes(`/*`)&&!e.includes(`*/`))return[`/*:: `,n,` */`]}}return n}case`InferredPredicate`:return`%checks`;case`DeclaredPredicate`:return[`%checks(`,u(`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 Error(`unprintable type: `+JSON.stringify(b.type))}}function B(e,t){let r=u(e);return r?(n.strictEqual(r.type,`DeclareExportDeclaration`),t):[`declare `,t]}t.exports={printFlow:R}}}),lr=m({"src/language-js/utils/is-ts-keyword-type.js"(e,t){b();function n(e){let{type:t}=e;return t.startsWith(`TS`)&&t.endsWith(`Keyword`)}t.exports=n}}),ur=m({"src/language-js/print/ternary.js"(e,t){b();var{hasNewlineInRange:n}=Z(),{isJsxNode:r,getComments:i,isCallExpression:a,isMemberExpression:o,isTSTypeExpression:s}=on(),{locStart:c,locEnd:l}=Lt(),u=rn(),{builders:{line:d,softline:f,group:p,indent:m,align:h,ifBreak:g,dedent:_,breakParent:v}}=H();function y(e){let t=[e];for(let e=0;e<t.length;e++){let n=t[e];for(let e of[`test`,`consequent`,`alternate`]){let i=n[e];if(r(i))return!0;i.type===`ConditionalExpression`&&t.push(i)}}return!1}function x(e,t,n){let r=e.getValue(),i=r.type===`ConditionalExpression`,a=i?`alternate`:`falseType`,o=e.getParentNode(),s=i?n(`test`):[n(`checkType`),` `,`extends`,` `,n(`extendsType`)];return o.type===r.type&&o[a]===r?h(2,s):s}var S=new Map([[`AssignmentExpression`,`right`],[`VariableDeclarator`,`init`],[`ReturnStatement`,`argument`],[`ThrowStatement`,`argument`],[`UnaryExpression`,`argument`],[`YieldExpression`,`argument`]]);function C(e){let t=e.getValue();if(t.type!==`ConditionalExpression`)return!1;let n,r=t;for(let t=0;!n;t++){let i=e.getParentNode(t);if(a(i)&&i.callee===r||o(i)&&i.object===r||i.type===`TSNonNullExpression`&&i.expression===r){r=i;continue}i.type===`NewExpression`&&i.callee===r||s(i)&&i.expression===r?(n=e.getParentNode(t+1),r=i):n=i}return r===t?!1:n[S.get(n.type)]===r}function w(e,t,a){let s=e.getValue(),b=s.type===`ConditionalExpression`,S=b?`consequent`:`trueType`,w=b?`alternate`:`falseType`,T=b?[`test`]:[`checkType`,`extendsType`],E=s[S],D=s[w],O=[],k=!1,A=e.getParentNode(),j=A.type===s.type&&T.some(e=>A[e]===s),M=A.type===s.type&&!j,N,P,F=0;do P=N||s,N=e.getParentNode(F),F++;while(N&&N.type===s.type&&T.every(e=>N[e]!==P));let I=N||A,L=P;if(b&&(r(s[T[0]])||r(E)||r(D)||y(L))){k=!0,M=!0;let e=e=>[g(`(`),m([f,e]),f,g(`)`)],t=e=>e.type===`NullLiteral`||e.type===`Literal`&&e.value===null||e.type===`Identifier`&&e.name===`undefined`;O.push(` ? `,t(E)?a(S):e(a(S)),` : `,D.type===s.type||t(D)?a(w):e(a(w)))}else{let e=[d,`? `,E.type===s.type?g(``,`(`):``,h(2,a(S)),E.type===s.type?g(``,`)`):``,d,`: `,D.type===s.type?a(w):h(2,a(w))];O.push(A.type!==s.type||A[w]===s||j?e:t.useTabs?_(m(e)):h(Math.max(0,t.tabWidth-2),e))}let R=[...T.map(e=>i(s[e])),i(E),i(D)].flat().some(e=>u(e)&&n(t.originalText,c(e),l(e))),z=e=>A===I?p(e,{shouldBreak:R}):R?[e,v]:e,B=!k&&(o(A)||A.type===`NGPipeExpression`&&A.left===s)&&!A.computed,V=C(e),H=z([x(e,t,a),M?O:m(O),b&&B&&!V?f:``]);return j||V?p([m([f,H]),f]):H}t.exports={printTernary:w}}}),dr=m({"src/language-js/print/statement.js"(e,t){b();var{builders:{hardline:n}}=H(),r=Bn(),{getLeftSidePathName:i,hasNakedLeftSide:a,isJsxNode:o,isTheOnlyJsxElementInMarkdown:s,hasComment:c,CommentCheckFlags:l,isNextLineEmpty:u}=on(),{shouldPrintParamsWithoutParens:d}=rr();function f(e,t,r,i){let a=e.getValue(),o=[],d=a.type===`ClassBody`,f=p(a[i]);return e.each((e,i,a)=>{let p=e.getValue();if(p.type===`EmptyStatement`)return;let h=r();!t.semi&&!d&&!s(t,e)&&m(e,t)?c(p,l.Leading)?o.push(r([],{needsSemi:!0})):o.push(`;`,h):o.push(h),!t.semi&&d&&v(p)&&y(p,a[i+1])&&o.push(`;`),p!==f&&(o.push(n),u(p,t)&&o.push(n))},i),o}function p(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n.type!==`EmptyStatement`)return n}}function m(e,t){return e.getNode().type===`ExpressionStatement`?e.call(e=>h(e,t),`expression`):!1}function h(e,t){let n=e.getValue();switch(n.type){case`ParenthesizedExpression`:case`TypeCastExpression`:case`ArrayExpression`:case`ArrayPattern`:case`TemplateLiteral`:case`TemplateElement`:case`RegExpLiteral`:return!0;case`ArrowFunctionExpression`:if(!d(e,t))return!0;break;case`UnaryExpression`:{let{prefix:e,operator:t}=n;if(e&&(t===`+`||t===`-`))return!0;break}case`BindExpression`:if(!n.object)return!0;break;case`Literal`:if(n.regex)return!0;break;default:if(o(n))return!0}return r(e,t)?!0:a(n)?e.call(e=>h(e,t),...i(e,n)):!1}function g(e,t,n){return f(e,t,n,`body`)}function _(e,t,n){return f(e,t,n,`consequent`)}var v=e=>{let{type:t}=e;return t===`ClassProperty`||t===`PropertyDefinition`||t===`ClassPrivateProperty`||t===`ClassAccessorProperty`||t===`AccessorProperty`||t===`TSAbstractPropertyDefinition`||t===`TSAbstractAccessorProperty`};function y(e,t){let{type:n,name:r}=e.key;if(!e.computed&&n===`Identifier`&&(r===`static`||r===`get`||r===`set`||r===`accessor`)&&!e.value&&!e.typeAnnotation)return!0;if(!t||t.static||t.accessibility)return!1;if(!t.computed){let e=t.key&&t.key.name;if(e===`in`||e===`instanceof`)return!0}if(v(t)&&t.variance&&!t.static&&!t.declare)return!0;switch(t.type){case`ClassProperty`:case`PropertyDefinition`:case`TSAbstractPropertyDefinition`:return t.computed;case`MethodDefinition`:case`TSAbstractMethodDefinition`:case`ClassMethod`:case`ClassPrivateMethod`:{if((t.value?t.value.async:t.async)||t.kind===`get`||t.kind===`set`)return!1;let e=t.value?t.value.generator:t.generator;return!!(t.computed||e)}case`TSIndexSignature`:return!0}return!1}t.exports={printBody:g,printSwitchCaseConsequent:_}}}),fr=m({"src/language-js/print/block.js"(e,t){b();var{printDanglingComments:n}=Gt(),{isNonEmptyArray:r}=Z(),{builders:{hardline:i,indent:a}}=H(),{hasComment:o,CommentCheckFlags:s,isNextLineEmpty:c}=on(),{printHardlineAfterHeritage:l}=ar(),{printBody:u}=dr();function d(e,t,n){let o=e.getValue(),s=[];if(o.type===`StaticBlock`&&s.push(`static `),o.type===`ClassBody`&&r(o.body)){let t=e.getParentNode();s.push(l(t))}s.push(`{`);let c=f(e,t,n);if(c)s.push(a([i,c]),i);else{let t=e.getParentNode(),n=e.getParentNode(1);t.type===`ArrowFunctionExpression`||t.type===`FunctionExpression`||t.type===`FunctionDeclaration`||t.type===`ObjectMethod`||t.type===`ClassMethod`||t.type===`ClassPrivateMethod`||t.type===`ForStatement`||t.type===`WhileStatement`||t.type===`DoWhileStatement`||t.type===`DoExpression`||t.type===`CatchClause`&&!n.finalizer||t.type===`TSModuleDeclaration`||t.type===`TSDeclareFunction`||o.type===`StaticBlock`||o.type===`ClassBody`||s.push(i)}return s.push(`}`),s}function f(e,t,a){let l=e.getValue(),d=r(l.directives),f=l.body.some(e=>e.type!==`EmptyStatement`),p=o(l,s.Dangling);if(!d&&!f&&!p)return``;let m=[];if(d&&e.each((e,n,r)=>{m.push(a()),(n<r.length-1||f||p)&&(m.push(i),c(e.getValue(),t)&&m.push(i))},`directives`),f&&m.push(u(e,t,a)),p&&m.push(n(e,t,!0)),l.type===`Program`){let t=e.getParentNode();(!t||t.type!==`ModuleExpression`)&&m.push(i)}return m}t.exports={printBlock:d,printBlockBody:f}}}),pr=m({"src/language-js/print/typescript.js"(e,t){b();var{printDanglingComments:n}=Gt(),{hasNewlineInRange:r}=Z(),{builders:{join:i,line:a,hardline:o,softline:s,group:c,indent:l,conditionalGroup:u,ifBreak:d}}=H(),{isStringLiteral:f,getTypeScriptMappedTypeModifier:p,shouldPrintComma:m,isCallExpression:h,isMemberExpression:g}=on(),_=lr(),{locStart:v,locEnd:y}=Lt(),{printOptionalToken:x,printTypeScriptModifiers:S}=Kn(),{printTernary:C}=ur(),{printFunctionParameters:w,shouldGroupFunctionParameters:T}=$n(),{printTemplateLiteral:E}=sn(),{printArrayItems:D}=qn(),{printObject:O}=sr(),{printClassProperty:k,printClassMethod:A}=ar(),{printTypeParameter:j,printTypeParameters:M}=tr(),{printPropertyKey:N}=nr(),{printFunction:P,printMethodInternal:F}=rr(),{printInterface:I}=$(),{printBlock:L}=fr(),{printTypeAlias:R,printIntersectionType:z,printUnionType:B,printFunctionType:V,printTupleType:U,printIndexedAccessType:W,printJSDocType:G}=er();function K(e,t,b){let H=e.getValue();if(!H.type.startsWith(`TS`))return;if(_(H))return H.type.slice(2,-7).toLowerCase();let K=t.semi?`;`:``,q=[];switch(H.type){case`TSThisType`:return`this`;case`TSTypeAssertion`:{let e=!(H.expression.type===`ArrayExpression`||H.expression.type===`ObjectExpression`),t=c([`<`,l([s,b(`typeAnnotation`)]),s,`>`]),n=[d(`(`),l([s,b(`expression`)]),s,d(`)`)];return e?u([[t,b(`expression`)],[t,c(n,{shouldBreak:!0})],[t,b(`expression`)]]):c([t,b(`expression`)])}case`TSDeclareFunction`:return P(e,b,t);case`TSExportAssignment`:return[`export = `,b(`expression`),K];case`TSModuleBlock`:return L(e,t,b);case`TSInterfaceBody`:case`TSTypeLiteral`:return O(e,t,b);case`TSTypeAliasDeclaration`:return R(e,t,b);case`TSQualifiedName`:return i(`.`,[b(`left`),b(`right`)]);case`TSAbstractMethodDefinition`:case`TSDeclareMethod`:return A(e,t,b);case`TSAbstractAccessorProperty`:case`TSAbstractPropertyDefinition`:return k(e,t,b);case`TSInterfaceHeritage`:case`TSExpressionWithTypeArguments`:return q.push(b(`expression`)),H.typeParameters&&q.push(b(`typeParameters`)),q;case`TSTemplateLiteralType`:return E(e,b,t);case`TSNamedTupleMember`:return[b(`label`),H.optional?`?`:``,`: `,b(`elementType`)];case`TSRestType`:return[`...`,b(`typeAnnotation`)];case`TSOptionalType`:return[b(`typeAnnotation`),`?`];case`TSInterfaceDeclaration`:return I(e,t,b);case`TSClassImplements`:return[b(`expression`),b(`typeParameters`)];case`TSTypeParameterDeclaration`:case`TSTypeParameterInstantiation`:return M(e,t,b,`params`);case`TSTypeParameter`:return j(e,t,b);case`TSSatisfiesExpression`:case`TSAsExpression`:{let t=H.type===`TSAsExpression`?`as`:`satisfies`;q.push(b(`expression`),` ${t} `,b(`typeAnnotation`));let n=e.getParentNode();return h(n)&&n.callee===H||g(n)&&n.object===H?c([l([s,...q]),s]):q}case`TSArrayType`:return[b(`elementType`),`[]`];case`TSPropertySignature`:return H.readonly&&q.push(`readonly `),q.push(N(e,t,b),x(e)),H.typeAnnotation&&q.push(`: `,b(`typeAnnotation`)),H.initializer&&q.push(` = `,b(`initializer`)),q;case`TSParameterProperty`:return H.accessibility&&q.push(H.accessibility+` `),H.export&&q.push(`export `),H.static&&q.push(`static `),H.override&&q.push(`override `),H.readonly&&q.push(`readonly `),q.push(b(`parameter`)),q;case`TSTypeQuery`:return[`typeof `,b(`exprName`),b(`typeParameters`)];case`TSIndexSignature`:{let n=e.getParentNode(),r=H.parameters.length>1?d(m(t)?`,`:``):``,a=c([l([s,i([`, `,s],e.map(b,`parameters`))]),r,s]);return[H.export?`export `:``,H.accessibility?[H.accessibility,` `]:``,H.static?`static `:``,H.readonly?`readonly `:``,H.declare?`declare `:``,`[`,H.parameters?a:``,H.typeAnnotation?`]: `:`]`,H.typeAnnotation?b(`typeAnnotation`):``,n.type===`ClassBody`?K:``]}case`TSTypePredicate`:return[H.asserts?`asserts `:``,b(`parameterName`),H.typeAnnotation?[` is `,b(`typeAnnotation`)]:``];case`TSNonNullExpression`:return[b(`expression`),`!`];case`TSImportType`:return[H.isTypeOf?`typeof `:``,`import(`,b(H.parameter?`parameter`:`argument`),`)`,H.qualifier?[`.`,b(`qualifier`)]:``,M(e,t,b,`typeParameters`)];case`TSLiteralType`:return b(`literal`);case`TSIndexedAccessType`:return W(e,t,b);case`TSConstructSignatureDeclaration`:case`TSCallSignatureDeclaration`:case`TSConstructorType`:if(H.type===`TSConstructorType`&&H.abstract&&q.push(`abstract `),H.type!==`TSCallSignatureDeclaration`&&q.push(`new `),q.push(c(w(e,b,t,!1,!0))),H.returnType||H.typeAnnotation){let e=H.type===`TSConstructorType`;q.push(e?` => `:`: `,b(`returnType`),b(`typeAnnotation`))}return q;case`TSTypeOperator`:return[H.operator,` `,b(`typeAnnotation`)];case`TSMappedType`:{let i=r(t.originalText,v(H),y(H));return c([`{`,l([t.bracketSpacing?a:s,b(`typeParameter`),H.optional?p(H.optional,`?`):``,H.typeAnnotation?`: `:``,b(`typeAnnotation`),d(K)]),n(e,t,!0),t.bracketSpacing?a:s,`}`],{shouldBreak:i})}case`TSMethodSignature`:{let n=H.kind&&H.kind!==`method`?`${H.kind} `:``;q.push(H.accessibility?[H.accessibility,` `]:``,n,H.export?`export `:``,H.static?`static `:``,H.readonly?`readonly `:``,H.abstract?`abstract `:``,H.declare?`declare `:``,H.computed?`[`:``,b(`key`),H.computed?`]`:``,x(e));let r=w(e,b,t,!1,!0),i=H.returnType?`returnType`:`typeAnnotation`,a=H[i],o=a?b(i):``,s=T(H,o);return q.push(s?c(r):r),a&&q.push(`: `,c(o)),c(q)}case`TSNamespaceExportDeclaration`:return q.push(`export as namespace `,b(`id`)),t.semi&&q.push(`;`),c(q);case`TSEnumDeclaration`:return H.declare&&q.push(`declare `),H.modifiers&&q.push(S(e,t,b)),H.const&&q.push(`const `),q.push(`enum `,b(`id`),` `),H.members.length===0?q.push(c([`{`,n(e,t),s,`}`])):q.push(c([`{`,l([o,D(e,t,`members`,b),m(t,`es5`)?`,`:``]),n(e,t,!0),o,`}`])),q;case`TSEnumMember`:return H.computed?q.push(`[`,b(`id`),`]`):q.push(b(`id`)),H.initializer&&q.push(` = `,b(`initializer`)),q;case`TSImportEqualsDeclaration`:return H.isExport&&q.push(`export `),q.push(`import `),H.importKind&&H.importKind!==`value`&&q.push(H.importKind,` `),q.push(b(`id`),` = `,b(`moduleReference`)),t.semi&&q.push(`;`),c(q);case`TSExternalModuleReference`:return[`require(`,b(`expression`),`)`];case`TSModuleDeclaration`:{let n=e.getParentNode(),r=f(H.id),i=n.type===`TSModuleDeclaration`,a=H.body&&H.body.type===`TSModuleDeclaration`;if(i)q.push(`.`);else{H.declare&&q.push(`declare `),q.push(S(e,t,b));let n=t.originalText.slice(v(H),v(H.id));H.id.type===`Identifier`&&H.id.name===`global`&&!/namespace|module/.test(n)||q.push(r||/(?:^|\s)module(?:\s|$)/.test(n)?`module `:`namespace `)}return q.push(b(`id`)),a?q.push(b(`body`)):H.body?q.push(` `,c(b(`body`))):q.push(K),q}case`TSConditionalType`:return C(e,t,b);case`TSInferType`:return[`infer`,` `,b(`typeParameter`)];case`TSIntersectionType`:return z(e,t,b);case`TSUnionType`:return B(e,t,b);case`TSFunctionType`:return V(e,t,b);case`TSTupleType`:return U(e,t,b);case`TSTypeReference`:return[b(`typeName`),M(e,t,b,`typeParameters`)];case`TSTypeAnnotation`:return b(`typeAnnotation`);case`TSEmptyBodyFunctionExpression`:return F(e,t,b);case`TSJSDocAllType`:return`*`;case`TSJSDocUnknownType`:return`?`;case`TSJSDocNullableType`:return G(e,b,`?`);case`TSJSDocNonNullableType`:return G(e,b,`!`);case`TSInstantiationExpression`:return[b(`expression`),b(`typeParameters`)];default:throw Error(`Unknown TypeScript node type: ${JSON.stringify(H.type)}.`)}}t.exports={printTypescript:K}}}),mr=m({"src/language-js/print/comment.js"(e,t){b();var{hasNewline:n}=Z(),{builders:{join:r,hardline:i},utils:{replaceTextEndOfLine:a}}=H(),{isLineComment:o}=on(),{locStart:s,locEnd:c}=Lt(),l=rn();function u(e,t){let r=e.getValue();if(o(r))return t.originalText.slice(s(r),c(r)).trimEnd();if(l(r)){if(d(r)){let e=f(r);return r.trailing&&!n(t.originalText,s(r),{backwards:!0})?[i,e]:e}let e=c(r),o=t.originalText.slice(e-3,e)===`*-/`;return[`/*`,a(r.value),o?`*-/`:`*/`]}throw Error(`Not a comment: `+JSON.stringify(r))}function d(e){let t=`*${e.value}*`.split(`
|
|
202
|
-
`);return t.length>1&&t.every(e=>e.trim()[0]===`*`)}function f(e){let t=e.value.split(`
|
|
203
|
-
`);return[`/*`,r(i,t.map((e,n)=>n===0?e.trimEnd():` `+(n<t.length-1?e.trim():e.trimStart()))),`*/`]}t.exports={printComment:u}}}),hr=m({"src/language-js/print/literal.js"(e,t){b();var{printString:n,printNumber:r}=Z(),{replaceTextEndOfLine:i}=z(),{printDirective:a}=Kn();function o(e,t){let o=e.getNode();switch(o.type){case`RegExpLiteral`:return l(o);case`BigIntLiteral`:return c(o.bigint||o.extra.raw);case`NumericLiteral`:return r(o.extra.raw);case`StringLiteral`:return i(n(o.extra.raw,t));case`NullLiteral`:return`null`;case`BooleanLiteral`:return String(o.value);case`DecimalLiteral`:return r(o.value)+`m`;case`Literal`:{if(o.regex)return l(o.regex);if(o.bigint)return c(o.raw);if(o.decimal)return r(o.decimal)+`m`;let{value:u}=o;return typeof u==`number`?r(o.raw):typeof u==`string`?s(e)?a(o.raw,t):i(n(o.raw,t)):String(u)}}}function s(e){if(e.getName()!==`expression`)return;let t=e.getParentNode();return t.type===`ExpressionStatement`&&t.directive}function c(e){return e.toLowerCase()}function l(e){let{pattern:t,flags:n}=e;return n=[...n].sort().join(``),`/${t}/${n}`}t.exports={printLiteral:o}}}),gr=m({"src/language-js/printer-estree.js"(e,t){b();var{printDanglingComments:n}=Gt(),{hasNewline:r}=Z(),{builders:{join:i,line:a,hardline:o,softline:s,group:c,indent:l},utils:{replaceTextEndOfLine:u}}=H(),d=fn(),f=pn(),{insertPragma:p}=Rn(),m=Q(),h=Bn(),g=Vn(),{hasFlowShorthandAnnotationComment:_,hasComment:v,CommentCheckFlags:y,isTheOnlyJsxElementInMarkdown:x,isLineComment:S,isNextLineEmpty:C,needsHardlineAfterDanglingComment:w,hasIgnoreComment:T,isCallExpression:E,isMemberExpression:D,markerForIfWithoutBlockAndSameLineComment:O}=on(),{locStart:k,locEnd:A}=Lt(),j=rn(),{printHtmlBinding:M,isVueEventBindingExpression:N}=Hn(),{printAngular:P}=Wn(),{printJsx:F,hasJsxIgnoreComment:I}=Gn(),{printFlow:L}=cr(),{printTypescript:R}=pr(),{printOptionalToken:z,printBindExpressionCallee:B,printTypeAnnotation:V,adjustClause:U,printRestSpread:W,printDefiniteToken:G,printDirective:K}=Kn(),{printImportDeclaration:q,printExportDeclaration:ee,printExportAllDeclaration:J,printModuleSpecifier:te}=or(),{printTernary:ne}=ur(),{printTemplateLiteral:Y}=sn(),{printArray:re}=qn(),{printObject:ie}=sr(),{printClass:ae,printClassMethod:oe,printClassProperty:se}=ar(),{printProperty:ce}=nr(),{printFunction:le,printArrowFunction:ue,printMethod:de,printReturnStatement:fe,printThrowStatement:pe}=rr(),{printCallExpression:X}=Zn(),{printVariableDeclarator:me,printAssignmentExpression:he}=Qn(),{printBinaryishExpression:ge}=Un(),{printSwitchCaseConsequent:_e}=dr(),{printMemberExpression:ve}=Yn(),{printBlock:ye,printBlockBody:be}=fr(),{printComment:xe}=mr(),{printLiteral:Se}=hr(),{printDecorators:Ce}=ir();function we(e,t,n,r){let i=Te(e,t,n,r);if(!i)return``;let o=e.getValue(),{type:s}=o;if(s===`ClassMethod`||s===`ClassPrivateMethod`||s===`ClassProperty`||s===`ClassAccessorProperty`||s===`AccessorProperty`||s===`TSAbstractAccessorProperty`||s===`PropertyDefinition`||s===`TSAbstractPropertyDefinition`||s===`ClassPrivateProperty`||s===`MethodDefinition`||s===`TSAbstractMethodDefinition`||s===`TSDeclareMethod`)return i;let u=[i],d=Ce(e,t,n),f=o.type===`ClassExpression`&&d;if(d&&(u=[...d,i],!f))return c(u);if(!h(e,t))return r&&r.needsSemi&&u.unshift(`;`),u.length===1&&u[0]===i?i:u;if(f&&(u=[l([a,...u])]),u.unshift(`(`),r&&r.needsSemi&&u.unshift(`;`),_(o)){let[e]=o.trailingComments;u.push(` /*`,e.value.trimStart(),`*/`),e.printed=!0}return f&&u.push(a),u.push(`)`),u}function Te(e,t,d,f){let p=e.getValue(),m=t.semi?`;`:``;if(!p)return``;if(typeof p==`string`)return p;for(let n of[Se,M,P,F,L,R]){let r=n(e,t,d);if(typeof r<`u`)return r}let h=[];switch(p.type){case`JsExpressionRoot`:return d(`node`);case`JsonRoot`:return[d(`node`),o];case`File`:return p.program&&p.program.interpreter&&h.push(d([`program`,`interpreter`])),h.push(d(`program`)),h;case`Program`:return be(e,t,d);case`EmptyStatement`:return``;case`ExpressionStatement`:{if(t.parser===`__vue_event_binding`||t.parser===`__vue_ts_event_binding`){let t=e.getParentNode();if(t.type===`Program`&&t.body.length===1&&t.body[0]===p)return[d(`expression`),N(p.expression)?`;`:``]}let r=n(e,t,!0,e=>{let{marker:t}=e;return t===O});return[d(`expression`),x(t,e)?``:m,r?[` `,r]:``]}case`ParenthesizedExpression`:return!v(p.expression)&&(p.expression.type===`ObjectExpression`||p.expression.type===`ArrayExpression`)?[`(`,d(`expression`),`)`]:c([`(`,l([s,d(`expression`)]),s,`)`]);case`AssignmentExpression`:return he(e,t,d);case`VariableDeclarator`:return me(e,t,d);case`BinaryExpression`:case`LogicalExpression`:return ge(e,t,d);case`AssignmentPattern`:return[d(`left`),` = `,d(`right`)];case`OptionalMemberExpression`:case`MemberExpression`:return ve(e,t,d);case`MetaProperty`:return[d(`meta`),`.`,d(`property`)];case`BindExpression`:return p.object&&h.push(d(`object`)),h.push(c(l([s,B(e,t,d)]))),h;case`Identifier`:return[p.name,z(e),G(e),V(e,t,d)];case`V8IntrinsicIdentifier`:return[`%`,p.name];case`SpreadElement`:case`SpreadElementPattern`:case`SpreadProperty`:case`SpreadPropertyPattern`:case`RestElement`:return W(e,t,d);case`FunctionDeclaration`:case`FunctionExpression`:return le(e,d,t,f);case`ArrowFunctionExpression`:return ue(e,t,d,f);case`YieldExpression`:return h.push(`yield`),p.delegate&&h.push(`*`),p.argument&&h.push(` `,d(`argument`)),h;case`AwaitExpression`:if(h.push(`await`),p.argument){h.push(` `,d(`argument`));let t=e.getParentNode();if(E(t)&&t.callee===p||D(t)&&t.object===p){h=[l([s,...h]),s];let t=e.findAncestor(e=>e.type===`AwaitExpression`||e.type===`BlockStatement`);if(!t||t.type!==`AwaitExpression`)return c(h)}}return h;case`ExportDefaultDeclaration`:case`ExportNamedDeclaration`:return ee(e,t,d);case`ExportAllDeclaration`:return J(e,t,d);case`ImportDeclaration`:return q(e,t,d);case`ImportSpecifier`:case`ExportSpecifier`:case`ImportNamespaceSpecifier`:case`ExportNamespaceSpecifier`:case`ImportDefaultSpecifier`:case`ExportDefaultSpecifier`:return te(e,t,d);case`ImportAttribute`:return[d(`key`),`: `,d(`value`)];case`Import`:return`import`;case`BlockStatement`:case`StaticBlock`:case`ClassBody`:return ye(e,t,d);case`ThrowStatement`:return pe(e,t,d);case`ReturnStatement`:return fe(e,t,d);case`NewExpression`:case`ImportExpression`:case`OptionalCallExpression`:case`CallExpression`:return X(e,t,d);case`ObjectExpression`:case`ObjectPattern`:case`RecordExpression`:return ie(e,t,d);case`ObjectProperty`:case`Property`:return p.method||p.kind===`get`||p.kind===`set`?de(e,t,d):ce(e,t,d);case`ObjectMethod`:return de(e,t,d);case`Decorator`:return[`@`,d(`expression`)];case`ArrayExpression`:case`ArrayPattern`:case`TupleExpression`:return re(e,t,d);case`SequenceExpression`:{let t=e.getParentNode(0);if(t.type===`ExpressionStatement`||t.type===`ForStatement`){let t=[];return e.each((e,n)=>{n===0?t.push(d()):t.push(`,`,l([a,d()]))},`expressions`),c(t)}return c(i([`,`,a],e.map(d,`expressions`)))}case`ThisExpression`:return`this`;case`Super`:return`super`;case`Directive`:return[d(`value`),m];case`DirectiveLiteral`:return K(p.extra.raw,t);case`UnaryExpression`:return h.push(p.operator),/[a-z]$/.test(p.operator)&&h.push(` `),v(p.argument)?h.push(c([`(`,l([s,d(`argument`)]),s,`)`])):h.push(d(`argument`)),h;case`UpdateExpression`:return h.push(d(`argument`),p.operator),p.prefix&&h.reverse(),h;case`ConditionalExpression`:return ne(e,t,d);case`VariableDeclaration`:{let t=e.map(d,`declarations`),n=e.getParentNode(),r=n.type===`ForStatement`||n.type===`ForInStatement`||n.type===`ForOfStatement`,i=p.declarations.some(e=>e.init),s;return t.length===1&&!v(p.declarations[0])?s=t[0]:t.length>0&&(s=l(t[0])),h=[p.declare?`declare `:``,p.kind,s?[` `,s]:``,l(t.slice(1).map(e=>[`,`,i&&!r?o:a,e]))],r&&n.body!==p||h.push(m),c(h)}case`WithStatement`:return c([`with (`,d(`object`),`)`,U(p.body,d(`body`))]);case`IfStatement`:{let r=U(p.consequent,d(`consequent`)),i=c([`if (`,c([l([s,d(`test`)]),s]),`)`,r]);if(h.push(i),p.alternate){let r=v(p.consequent,y.Trailing|y.Line)||w(p),i=p.consequent.type===`BlockStatement`&&!r;h.push(i?` `:o),v(p,y.Dangling)&&h.push(n(e,t,!0),r?o:` `),h.push(`else`,c(U(p.alternate,d(`alternate`),p.alternate.type===`IfStatement`)))}return h}case`ForStatement`:{let r=U(p.body,d(`body`)),i=n(e,t,!0),o=i?[i,s]:``;return!p.init&&!p.test&&!p.update?[o,c([`for (;;)`,r])]:[o,c([`for (`,c([l([s,d(`init`),`;`,a,d(`test`),`;`,a,d(`update`)]),s]),`)`,r])]}case`WhileStatement`:return c([`while (`,c([l([s,d(`test`)]),s]),`)`,U(p.body,d(`body`))]);case`ForInStatement`:return c([`for (`,d(`left`),` in `,d(`right`),`)`,U(p.body,d(`body`))]);case`ForOfStatement`:return c([`for`,p.await?` await`:``,` (`,d(`left`),` of `,d(`right`),`)`,U(p.body,d(`body`))]);case`DoWhileStatement`:return h=[c([`do`,U(p.body,d(`body`))])],p.body.type===`BlockStatement`?h.push(` `):h.push(o),h.push(`while (`,c([l([s,d(`test`)]),s]),`)`,m),h;case`DoExpression`:return[p.async?`async `:``,`do `,d(`body`)];case`BreakStatement`:return h.push(`break`),p.label&&h.push(` `,d(`label`)),h.push(m),h;case`ContinueStatement`:return h.push(`continue`),p.label&&h.push(` `,d(`label`)),h.push(m),h;case`LabeledStatement`:return p.body.type===`EmptyStatement`?[d(`label`),`:;`]:[d(`label`),`: `,d(`body`)];case`TryStatement`:return[`try `,d(`block`),p.handler?[` `,d(`handler`)]:``,p.finalizer?[` finally `,d(`finalizer`)]:``];case`CatchClause`:if(p.param){let e=v(p.param,e=>!j(e)||e.leading&&r(t.originalText,A(e))||e.trailing&&r(t.originalText,k(e),{backwards:!0})),n=d(`param`);return[`catch `,e?[`(`,l([s,n]),s,`) `]:[`(`,n,`) `],d(`body`)]}return[`catch `,d(`body`)];case`SwitchStatement`:return[c([`switch (`,l([s,d(`discriminant`)]),s,`)`]),` {`,p.cases.length>0?l([o,i(o,e.map((e,n,r)=>{let i=e.getValue();return[d(),n!==r.length-1&&C(i,t)?o:``]},`cases`))]):``,o,`}`];case`SwitchCase`:{p.test?h.push(`case `,d(`test`),`:`):h.push(`default:`),v(p,y.Dangling)&&h.push(` `,n(e,t,!0));let r=p.consequent.filter(e=>e.type!==`EmptyStatement`);if(r.length>0){let n=_e(e,t,d);h.push(r.length===1&&r[0].type===`BlockStatement`?[` `,n]:l([o,n]))}return h}case`DebuggerStatement`:return[`debugger`,m];case`ClassDeclaration`:case`ClassExpression`:return ae(e,t,d);case`ClassMethod`:case`ClassPrivateMethod`:case`MethodDefinition`:return oe(e,t,d);case`ClassProperty`:case`PropertyDefinition`:case`ClassPrivateProperty`:case`ClassAccessorProperty`:case`AccessorProperty`:return se(e,t,d);case`TemplateElement`:return u(p.value.raw);case`TemplateLiteral`:return Y(e,d,t);case`TaggedTemplateExpression`:return[d(`tag`),d(`typeParameters`),d(`quasi`)];case`PrivateIdentifier`:return[`#`,d(`name`)];case`PrivateName`:return[`#`,d(`id`)];case`InterpreterDirective`:return h.push(`#!`,p.value,o),C(p,t)&&h.push(o),h;case`TopicReference`:return`%`;case`ArgumentPlaceholder`:return`?`;case`ModuleExpression`:{h.push(`module {`);let e=d(`body`);return e&&h.push(l([o,e]),o),h.push(`}`),h}default:throw Error(`unknown type: `+JSON.stringify(p.type))}}function Ee(e){return e.type&&!j(e)&&!S(e)&&e.type!==`EmptyStatement`&&e.type!==`TemplateElement`&&e.type!==`Import`&&e.type!==`TSEmptyBodyFunctionExpression`}t.exports={preprocess:g,print:we,embed:d,insertPragma:p,massageAstNode:f,hasPrettierIgnore(e){return T(e)||I(e)},willPrintOwnComments:m.willPrintOwnComments,canAttachComment:Ee,printComment:xe,isBlockComment:j,handleComments:{avoidAstMutation:!0,ownLine:m.handleOwnLineComment,endOfLine:m.handleEndOfLineComment,remaining:m.handleRemainingComment},getCommentChildNodes:m.getCommentChildNodes}}}),_r=m({"src/language-js/printer-estree-json.js"(e,t){b();var{builders:{hardline:n,indent:r,join:i}}=H(),a=Vn();function o(e,t,a){let o=e.getValue();switch(o.type){case`JsonRoot`:return[a(`node`),n];case`ArrayExpression`:{if(o.elements.length===0)return`[]`;let t=e.map(()=>e.getValue()===null?`null`:a(),`elements`);return[`[`,r([n,i([`,`,n],t)]),n,`]`]}case`ObjectExpression`:return o.properties.length===0?`{}`:[`{`,r([n,i([`,`,n],e.map(a,`properties`))]),n,`}`];case`ObjectProperty`:return[a(`key`),`: `,a(`value`)];case`UnaryExpression`:return[o.operator===`+`?``:o.operator,a(`argument`)];case`NullLiteral`:return`null`;case`BooleanLiteral`:return o.value?`true`:`false`;case`StringLiteral`:return JSON.stringify(o.value);case`NumericLiteral`:return s(e)?JSON.stringify(String(o.value)):JSON.stringify(o.value);case`Identifier`:return s(e)?JSON.stringify(o.name):o.name;case`TemplateLiteral`:return a([`quasis`,0]);case`TemplateElement`:return JSON.stringify(o.value.cooked);default:throw Error(`unknown type: `+JSON.stringify(o.type))}}function s(e){return e.getName()===`key`&&e.getParentNode().type===`ObjectProperty`}var c=new Set([`start`,`end`,`extra`,`loc`,`comments`,`leadingComments`,`trailingComments`,`innerComments`,`errors`,`range`,`tokens`]);function l(e,t){let{type:n}=e;if(n===`ObjectProperty`){let{key:n}=e;n.type===`Identifier`?t.key={type:`StringLiteral`,value:n.name}:n.type===`NumericLiteral`&&(t.key={type:`StringLiteral`,value:String(n.value)});return}if(n===`UnaryExpression`&&e.operator===`+`)return t.argument;if(n===`ArrayExpression`){for(let[n,r]of e.elements.entries())r===null&&t.elements.splice(n,0,{type:`NullLiteral`});return}if(n===`TemplateLiteral`)return{type:`StringLiteral`,value:e.quasis[0].value.cooked}}l.ignoredProperties=c,t.exports={preprocess:a,print:o,massageAstNode:l}}}),vr=m({"src/common/common-options.js"(e,t){b();var n=`Common`;t.exports={bracketSpacing:{since:`0.0.0`,category:n,type:`boolean`,default:!0,description:`Print spaces between brackets.`,oppositeDescription:`Do not print spaces between brackets.`},singleQuote:{since:`0.0.0`,category:n,type:`boolean`,default:!1,description:`Use single quotes instead of double quotes.`},proseWrap:{since:`1.8.2`,category:n,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:n,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:n,type:`boolean`,default:!1,description:`Enforce single attribute per line in HTML, Vue and JSX.`}}}}),yr=m({"src/language-js/options.js"(e,t){b();var n=vr(),r=`JavaScript`;t.exports={arrowParens:{since:`1.9.0`,category:r,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:n.bracketSameLine,bracketSpacing:n.bracketSpacing,jsxBracketSameLine:{since:`0.17.0`,category:r,type:`boolean`,description:`Put > on the last line instead of at a new line.`,deprecated:`2.4.0`},semi:{since:`1.0.0`,category:r,type:`boolean`,default:!0,description:`Print semicolons.`,oppositeDescription:`Do not print semicolons, except at the beginning of lines which may need them.`},singleQuote:n.singleQuote,jsxSingleQuote:{since:`1.15.0`,category:r,type:`boolean`,default:!1,description:`Use single quotes in JSX.`},quoteProps:{since:`1.17.0`,category:r,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:r,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:n.singleAttributePerLine}}}),br=m({"src/language-js/parse/parsers.js"(){b()}}),xr=m({"node_modules/linguist-languages/data/JavaScript.json"(e,t){t.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}}}),Sr=m({"node_modules/linguist-languages/data/TypeScript.json"(e,t){t.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}}}),Cr=m({"node_modules/linguist-languages/data/TSX.json"(e,t){t.exports={name:`TSX`,type:`programming`,color:`#3178c6`,group:`TypeScript`,extensions:[`.tsx`],tmScope:`source.tsx`,aceMode:`javascript`,codemirrorMode:`jsx`,codemirrorMimeType:`text/jsx`,languageId:94901924}}}),wr=m({"node_modules/linguist-languages/data/JSON.json"(e,t){t.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}}}),Tr=m({"node_modules/linguist-languages/data/JSON with Comments.json"(e,t){t.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}}}),Er=m({"node_modules/linguist-languages/data/JSON5.json"(e,t){t.exports={name:`JSON5`,type:`data`,color:`#267CB9`,extensions:[`.json5`],tmScope:`source.js`,aceMode:`javascript`,codemirrorMode:`javascript`,codemirrorMimeType:`application/json`,languageId:175}}}),Dr=m({"src/language-js/index.js"(e,t){b();var n=Qt(),r=gr(),i=_r(),a=yr(),o=br();t.exports={languages:[n(xr(),e=>({since:`0.0.0`,parsers:[`babel`,`acorn`,`espree`,`meriyah`,`babel-flow`,`babel-ts`,`flow`,`typescript`],vscodeLanguageIds:[`javascript`,`mongo`],interpreters:[...e.interpreters,`zx`],extensions:[...e.extensions.filter(e=>e!==`.jsx`),`.wxs`]})),n(xr(),()=>({name:`Flow`,since:`0.0.0`,parsers:[`flow`,`babel-flow`],vscodeLanguageIds:[`javascript`],aliases:[],filenames:[],extensions:[`.js.flow`]})),n(xr(),()=>({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})),n(Sr(),()=>({since:`1.4.0`,parsers:[`typescript`,`babel-ts`],vscodeLanguageIds:[`typescript`]})),n(Cr(),()=>({since:`1.4.0`,parsers:[`typescript`,`babel-ts`],vscodeLanguageIds:[`typescriptreact`]})),n(wr(),()=>({name:`JSON.stringify`,since:`1.13.0`,parsers:[`json-stringify`],vscodeLanguageIds:[`json`],extensions:[`.importmap`],filenames:[`package.json`,`package-lock.json`,`composer.json`]})),n(wr(),e=>({since:`1.5.0`,parsers:[`json`],vscodeLanguageIds:[`json`],extensions:e.extensions.filter(e=>e!==`.jsonl`)})),n(Tr(),e=>({since:`1.5.0`,parsers:[`json`],vscodeLanguageIds:[`jsonc`],filenames:[...e.filenames,`.eslintrc`,`.swcrc`]})),n(Er(),()=>({since:`1.13.0`,parsers:[`json5`],vscodeLanguageIds:[`json5`]}))],options:a,printers:{estree:r,"estree-json":i},parsers:o}}}),Or=m({"src/language-css/clean.js"(e,t){b();var{isFrontMatterNode:n}=Z(),r=E(),i=new Set([`raw`,`raws`,`sourceIndex`,`source`,`before`,`after`,`trailingComma`]);function a(e,t,i){if(n(e)&&e.lang===`yaml`&&delete t.value,e.type===`css-comment`&&i.type===`css-root`&&i.nodes.length>0&&((i.nodes[0]===e||n(i.nodes[0])&&i.nodes[1]===e)&&(delete t.text,/^\*\s*@(?:format|prettier)\s*$/.test(e.text))||i.type===`css-root`&&r(i.nodes)===e))return null;if(e.type===`value-root`&&delete t.text,(e.type===`media-query`||e.type===`media-query-list`||e.type===`media-feature-expression`)&&delete t.value,e.type===`css-rule`&&delete t.params,e.type===`selector-combinator`&&(t.value=t.value.replace(/\s+/g,` `)),e.type===`media-feature`&&(t.value=t.value.replace(/ /g,``)),(e.type===`value-word`&&(e.isColor&&e.isHex||[`initial`,`inherit`,`unset`,`revert`].includes(t.value.replace().toLowerCase()))||e.type===`media-feature`||e.type===`selector-root-invalid`||e.type===`selector-pseudo`)&&(t.value=t.value.toLowerCase()),e.type===`css-decl`&&(t.prop=t.prop.toLowerCase()),(e.type===`css-atrule`||e.type===`css-import`)&&(t.name=t.name.toLowerCase()),e.type===`value-number`&&(t.unit=t.unit.toLowerCase()),(e.type===`media-feature`||e.type===`media-keyword`||e.type===`media-type`||e.type===`media-unknown`||e.type===`media-url`||e.type===`media-value`||e.type===`selector-attribute`||e.type===`selector-string`||e.type===`selector-class`||e.type===`selector-combinator`||e.type===`value-string`)&&t.value&&(t.value=o(t.value)),e.type===`selector-attribute`&&(t.attribute=t.attribute.trim(),t.namespace&&typeof t.namespace==`string`&&(t.namespace=t.namespace.trim(),t.namespace.length===0&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,``),delete t.quoted)),(e.type===`media-value`||e.type===`media-type`||e.type===`value-number`||e.type===`selector-root-invalid`||e.type===`selector-class`||e.type===`selector-combinator`||e.type===`selector-tag`)&&t.value&&(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(e,t,n)=>{let r=Number(t);return Number.isNaN(r)?e:r+n.toLowerCase()})),e.type===`selector-tag`){let n=e.value.toLowerCase();[`from`,`to`].includes(n)&&(t.value=n)}if(e.type===`css-atrule`&&e.name.toLowerCase()===`supports`&&delete t.value,e.type===`selector-unknown`&&delete t.value,e.type===`value-comma_group`){let n=e.groups.findIndex(e=>e.type===`value-number`&&e.unit===`...`);n!==-1&&(t.groups[n].unit=``,t.groups.splice(n+1,0,{type:`value-word`,value:`...`,isColor:!1,isHex:!1}))}if(e.type===`value-comma_group`&&e.groups.some(e=>e.type===`value-atword`&&e.value.endsWith(`[`)||e.type===`value-word`&&e.value.startsWith(`]`)))return{type:`value-atword`,value:e.groups.map(e=>e.value).join(``),group:{open:null,close:null,groups:[],type:`value-paren_group`}}}a.ignoredProperties=i;function o(e){return e.replace(/'/g,`"`).replace(/\\([^\dA-Fa-f])/g,`$1`)}t.exports=a}}),kr=m({"src/utils/front-matter/print.js"(e,t){b();var{builders:{hardline:n,markAsRoot:r}}=H();function i(e,t){if(e.lang===`yaml`){let i=e.value.trim(),a=i?t(i,{parser:`yaml`},{stripTrailingHardline:!0}):``;return r([e.startDelimiter,n,a,a?n:``,e.endDelimiter])}}t.exports=i}}),Ar=m({"src/language-css/embed.js"(e,t){b();var{builders:{hardline:n}}=H(),r=kr();function i(e,t,i){let a=e.getValue();if(a.type===`front-matter`){let e=r(a,i);return e?[e,n]:``}}t.exports=i}}),jr=m({"src/utils/front-matter/parse.js"(e,t){b();var n=RegExp(`^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)`,`s`);function r(e){let t=e.match(n);if(!t)return{content:e};let{startDelimiter:r,language:i,value:a=``,endDelimiter:o}=t.groups,s=i.trim()||`yaml`;if(r===`+++`&&(s=`toml`),s!==`yaml`&&r!==o)return{content:e};let[c]=t;return{frontMatter:{type:`front-matter`,lang:s,value:a,startDelimiter:r,endDelimiter:o,raw:c.replace(/\n$/,``)},content:c.replace(/[^\n]/g,` `)+e.slice(c.length)}}t.exports=r}}),Mr=m({"src/language-css/pragma.js"(e,t){b();var n=Rn(),r=jr();function i(e){return n.hasPragma(r(e).content)}function a(e){let{frontMatter:t,content:i}=r(e);return(t?t.raw+`
|
|
204
|
-
|
|
205
|
-
`:``)+n.insertPragma(i)}t.exports={hasPragma:i,insertPragma:a}}}),Nr=m({"src/language-css/utils/index.js"(e,t){b();var n=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 r(e,t){let n=Array.isArray(t)?t:[t],r=-1,i;for(;i=e.getParentNode(++r);)if(n.includes(i.type))return r;return-1}function i(e,t){let n=r(e,t);return n===-1?null:e.getParentNode(n)}function a(e){var t;let n=i(e,`css-decl`);return n==null||(t=n.prop)==null?void 0:t.toLowerCase()}var o=new Set([`initial`,`inherit`,`unset`,`revert`]);function s(e){return o.has(e.toLowerCase())}function c(e,t){let n=i(e,`css-atrule`);return n?.name&&n.name.toLowerCase().endsWith(`keyframes`)&&[`from`,`to`].includes(t.toLowerCase())}function l(e){return e.includes(`$`)||e.includes(`@`)||e.includes(`#`)||e.startsWith(`%`)||e.startsWith(`--`)||e.startsWith(`:--`)||e.includes(`(`)&&e.includes(`)`)?e:e.toLowerCase()}function u(e,t){var n;let r=i(e,`value-func`);return(r==null||(n=r.value)==null?void 0:n.toLowerCase())===t}function d(e){var t;let n=i(e,`css-rule`),r=n==null||(t=n.raws)==null?void 0:t.selector;return r&&(r.startsWith(`:import`)||r.startsWith(`:export`))}function f(e,t){let n=Array.isArray(t)?t:[t],r=i(e,`css-atrule`);return r&&n.includes(r.name.toLowerCase())}function p(e){let t=e.getValue();return i(e,`css-atrule`)?.name===`import`&&t.groups[0].value===`url`&&t.groups.length===2}function m(e){return e.type===`value-func`&&e.value.toLowerCase()===`url`}function h(e,t){let n=e.getParentNode()?.nodes;return n&&n.indexOf(t)===n.length-1}function g(e){let{selector:t}=e;return t?typeof t==`string`&&/^@.+:.*$/.test(t)||t.value&&/^@.+:.*$/.test(t.value):!1}function _(e){return e.type===`value-word`&&[`from`,`through`,`end`].includes(e.value)}function v(e){return e.type===`value-word`&&[`and`,`or`,`not`].includes(e.value)}function y(e){return e.type===`value-word`&&e.value===`in`}function x(e){return e.type===`value-operator`&&e.value===`*`}function S(e){return e.type===`value-operator`&&e.value===`/`}function C(e){return e.type===`value-operator`&&e.value===`+`}function w(e){return e.type===`value-operator`&&e.value===`-`}function T(e){return e.type===`value-operator`&&e.value===`%`}function E(e){return x(e)||S(e)||C(e)||w(e)||T(e)}function D(e){return e.type===`value-word`&&[`==`,`!=`].includes(e.value)}function O(e){return e.type===`value-word`&&[`<`,`>`,`<=`,`>=`].includes(e.value)}function k(e){return e.type===`css-atrule`&&[`if`,`else`,`for`,`each`,`while`].includes(e.name)}function A(e){return e.raws?.params&&/^\(\s*\)$/.test(e.raws.params)}function j(e){return e.name.startsWith(`prettier-placeholder`)}function M(e){return e.prop.startsWith(`@prettier-placeholder`)}function N(e,t){return e.value===`$$`&&e.type===`value-func`&&t?.type===`value-word`&&!t.raws.before}function P(e){return e.value?.type===`value-root`&&e.value.group?.type===`value-value`&&e.prop.toLowerCase()===`composes`}function F(e){var t,n,r;return((t=e.value)==null||(n=t.group)==null||(r=n.group)==null?void 0:r.type)===`value-paren_group`&&e.value.group.group.open!==null&&e.value.group.group.close!==null}function I(e){return e.raws?.before===``}function L(e){var t,n;return e.type===`value-comma_group`&&((t=e.groups)==null||(n=t[1])==null?void 0:n.type)===`value-colon`}function R(e){return e.type===`value-paren_group`&&e.groups?.[0]&&L(e.groups[0])}function z(e){var t;let n=e.getValue();if(n.groups.length===0)return!1;let r=e.getParentNode(1);if(!R(n)&&!(r&&R(r)))return!1;let a=i(e,`css-decl`);return!!(a!=null&&(t=a.prop)!=null&&t.startsWith(`$`)||R(r)||r.type===`value-func`)}function B(e){return e.type===`value-comment`&&e.inline}function V(e){return e.type===`value-word`&&e.value===`#`}function H(e){return e.type===`value-word`&&e.value===`{`}function U(e){return e.type===`value-word`&&e.value===`}`}function W(e){return[`value-word`,`value-atword`].includes(e.type)}function G(e){return e?.type===`value-colon`}function K(e,t){if(!L(t))return!1;let{groups:n}=t,r=n.indexOf(e);return r===-1?!1:G(n[r+1])}function q(e){return e.value&&[`not`,`and`,`or`].includes(e.value.toLowerCase())}function ee(e){return e.type===`value-func`?n.has(e.value.toLowerCase()):!1}function J(e){return/\/\//.test(e.split(/[\n\r]/).pop())}function te(e){return e?.type===`value-atword`&&e.value.startsWith(`prettier-placeholder-`)}function ne(e,t){if(e.open?.value!==`(`||e.close?.value!==`)`||e.groups.some(e=>e.type!==`value-comma_group`))return!1;if(t.type===`value-comma_group`){let n=t.groups.indexOf(e)-1,r=t.groups[n];if(r?.type===`value-word`&&r.value===`with`)return!0}return!1}function Y(e){return e.type===`value-paren_group`&&e.open?.value===`(`&&e.close?.value===`)`}t.exports={getAncestorCounter:r,getAncestorNode:i,getPropOfDeclNode:a,maybeToLowerCase:l,insideValueFunctionNode:u,insideICSSRuleNode:d,insideAtRuleNode:f,insideURLFunctionInImportAtRuleNode:p,isKeyframeAtRuleKeywords:c,isWideKeywords:s,isLastNode:h,isSCSSControlDirectiveNode:k,isDetachedRulesetDeclarationNode:g,isRelationalOperatorNode:O,isEqualityOperatorNode:D,isMultiplicationNode:x,isDivisionNode:S,isAdditionNode:C,isSubtractionNode:w,isModuloNode:T,isMathOperatorNode:E,isEachKeywordNode:y,isForKeywordNode:_,isURLFunctionNode:m,isIfElseKeywordNode:v,hasComposesNode:P,hasParensAroundNode:F,hasEmptyRawBefore:I,isDetachedRulesetCallNode:A,isTemplatePlaceholderNode:j,isTemplatePropNode:M,isPostcssSimpleVarNode:N,isKeyValuePairNode:L,isKeyValuePairInParenGroupNode:R,isKeyInValuePairNode:K,isSCSSMapItemNode:z,isInlineValueCommentNode:B,isHashNode:V,isLeftCurlyBraceNode:H,isRightCurlyBraceNode:U,isWordNode:W,isColonNode:G,isMediaAndSupportsKeywords:q,isColorAdjusterFuncNode:ee,lastLineHasInlineComment:J,isAtWordPlaceholderNode:te,isConfigurationNode:ne,isParenGroupNode:Y}}}),Pr=m({"src/utils/line-column-to-index.js"(e,t){b(),t.exports=function(e,t){let n=0;for(let r=0;r<e.line-1;++r)n=t.indexOf(`
|
|
206
|
-
`,n)+1;return n+e.column}}}),Fr=m({"src/language-css/loc.js"(e,t){b();var{skipEverythingButNewLine:n}=ue(),r=E(),i=Pr();function a(e,t){return typeof e.sourceIndex==`number`?e.sourceIndex:e.source?i(e.source.start,t)-1:null}function o(e,t){if(e.type===`css-comment`&&e.inline)return n(t,e.source.startOffset);let a=e.nodes&&r(e.nodes);return a&&e.source&&!e.source.end&&(e=a),e.source&&e.source.end?i(e.source.end,t):null}function s(e,t){e.source&&(e.source.startOffset=a(e,t),e.source.endOffset=o(e,t));for(let n in e){let r=e[n];n===`source`||!r||typeof r!=`object`||(r.type===`value-root`||r.type===`value-unknown`?c(r,l(e),r.text||r.value):s(r,t))}}function c(e,t,n){e.source&&(e.source.startOffset=a(e,n)+t,e.source.endOffset=o(e,n)+t);for(let r in e){let i=e[r];r===`source`||!i||typeof i!=`object`||c(i,t,n)}}function l(e){let t=e.source.startOffset;return typeof e.prop==`string`&&(t+=e.prop.length),e.type===`css-atrule`&&typeof e.name==`string`&&(t+=1+e.name.length+e.raws.afterName.match(/^\s*:?\s*/)[0].length),e.type!==`css-atrule`&&e.raws&&typeof e.raws.between==`string`&&(t+=e.raws.between.length),t}function u(e){let t=`initial`,n=`initial`,r,i=!1,a=[];for(let o=0;o<e.length;o++){let s=e[o];switch(t){case`initial`:if(s===`'`){t=`single-quotes`;continue}if(s===`"`){t=`double-quotes`;continue}if((s===`u`||s===`U`)&&e.slice(o,o+4).toLowerCase()===`url(`){t=`url`,o+=3;continue}if(s===`*`&&e[o-1]===`/`){t=`comment-block`;continue}if(s===`/`&&e[o-1]===`/`){t=`comment-inline`,r=o-1;continue}continue;case`single-quotes`:if(s===`'`&&e[o-1]!==`\\`&&(t=n,n=`initial`),s===`
|
|
207
|
-
`||s===`\r`)return e;continue;case`double-quotes`:if(s===`"`&&e[o-1]!==`\\`&&(t=n,n=`initial`),s===`
|
|
208
|
-
`||s===`\r`)return e;continue;case`url`:if(s===`)`&&(t=`initial`),s===`
|
|
209
|
-
`||s===`\r`)return e;if(s===`'`){t=`single-quotes`,n=`url`;continue}if(s===`"`){t=`double-quotes`,n=`url`;continue}continue;case`comment-block`:s===`/`&&e[o-1]===`*`&&(t=`initial`);continue;case`comment-inline`:(s===`"`||s===`'`||s===`*`)&&(i=!0),(s===`
|
|
210
|
-
`||s===`\r`)&&(i&&a.push([r,o]),t=`initial`,i=!1);continue}}for(let[t,n]of a)e=e.slice(0,t)+e.slice(t,n).replace(/["'*]/g,` `)+e.slice(n);return e}function d(e){return e.source.startOffset}function f(e){return e.source.endOffset}t.exports={locStart:d,locEnd:f,calculateLoc:s,replaceQuotesInInlineComments:u}}}),Ir=m({"src/language-css/utils/is-less-parser.js"(e,t){b();function n(e){return e.parser===`css`||e.parser===`less`}t.exports=n}}),Lr=m({"src/language-css/utils/is-scss.js"(e,t){b();function n(e,t){return e===`less`||e===`scss`?e===`scss`:/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(t)}t.exports=n}}),Rr=m({"src/language-css/utils/css-units.evaluate.js"(e,t){t.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`}}}),zr=m({"src/language-css/utils/print-unit.js"(e,t){b();var n=Rr();function r(e){let t=e.toLowerCase();return Object.prototype.hasOwnProperty.call(n,t)?n[t]:e}t.exports=r}}),Br=m({"src/language-css/printer-postcss.js"(e,t){b();var n=E(),{printNumber:r,printString:i,hasNewline:a,isFrontMatterNode:o,isNextLineEmpty:s,isNonEmptyArray:c}=Z(),{builders:{join:l,line:u,hardline:d,softline:f,group:p,fill:m,indent:h,dedent:g,ifBreak:_,breakParent:v},utils:{removeLines:y,getDocParts:x}}=H(),S=Or(),C=Ar(),{insertPragma:w}=Mr(),{getAncestorNode:T,getPropOfDeclNode:D,maybeToLowerCase:O,insideValueFunctionNode:k,insideICSSRuleNode:A,insideAtRuleNode:j,insideURLFunctionInImportAtRuleNode:M,isKeyframeAtRuleKeywords:N,isWideKeywords:P,isLastNode:F,isSCSSControlDirectiveNode:I,isDetachedRulesetDeclarationNode:L,isRelationalOperatorNode:R,isEqualityOperatorNode:z,isMultiplicationNode:B,isDivisionNode:V,isAdditionNode:U,isSubtractionNode:W,isMathOperatorNode:G,isEachKeywordNode:K,isForKeywordNode:q,isURLFunctionNode:ee,isIfElseKeywordNode:J,hasComposesNode:te,hasParensAroundNode:ne,hasEmptyRawBefore:Y,isKeyValuePairNode:re,isKeyInValuePairNode:ie,isDetachedRulesetCallNode:ae,isTemplatePlaceholderNode:oe,isTemplatePropNode:se,isPostcssSimpleVarNode:ce,isSCSSMapItemNode:le,isInlineValueCommentNode:ue,isHashNode:de,isLeftCurlyBraceNode:fe,isRightCurlyBraceNode:pe,isWordNode:X,isColonNode:me,isMediaAndSupportsKeywords:he,isColorAdjusterFuncNode:ge,lastLineHasInlineComment:_e,isAtWordPlaceholderNode:ve,isConfigurationNode:ye,isParenGroupNode:be}=Nr(),{locStart:xe,locEnd:Se}=Fr(),Ce=Ir(),we=Lr(),Te=zr();function Ee(e){return e.trailingComma===`es5`||e.trailingComma===`all`}function De(e,t,r){let a=e.getValue();if(!a)return``;if(typeof a==`string`)return a;switch(a.type){case`front-matter`:return[a.raw,d];case`css-root`:{let n=Oe(e,t,r),i=a.raws.after.trim();return i.startsWith(`;`)&&(i=i.slice(1).trim()),[n,i?` ${i}`:``,x(n).length>0?d:``]}case`css-comment`:{let e=a.inline||a.raws.inline,n=t.originalText.slice(xe(a),Se(a));return e?n.trimEnd():n}case`css-rule`:return[r(`selector`),a.important?` !important`:``,a.nodes?[a.selector&&a.selector.type===`selector-unknown`&&_e(a.selector.value)?u:` `,`{`,a.nodes.length>0?h([d,Oe(e,t,r)]):``,d,`}`,L(a)?`;`:``]:`;`];case`css-decl`:{let n=e.getParentNode(),{between:i}=a.raws,o=i.trim(),s=o===`:`,c=te(a)?y(r(`value`)):r(`value`);return!s&&_e(o)&&(c=h([d,g(c)])),[a.raws.before.replace(/[\s;]/g,``),n.type===`css-atrule`&&n.variable||A(e)?a.prop:O(a.prop),o.startsWith(`//`)?` `:``,o,a.extend?``:` `,Ce(t)&&a.extend&&a.selector?[`extend(`,r(`selector`),`)`]:``,c,a.raws.important?a.raws.important.replace(/\s*!\s*important/i,` !important`):a.important?` !important`:``,a.raws.scssDefault?a.raws.scssDefault.replace(/\s*!default/i,` !default`):a.scssDefault?` !default`:``,a.raws.scssGlobal?a.raws.scssGlobal.replace(/\s*!global/i,` !global`):a.scssGlobal?` !global`:``,a.nodes?[` {`,h([f,Oe(e,t,r)]),f,`}`]:se(a)&&!n.raws.semicolon&&t.originalText[Se(a)-1]!==`;`?``:t.__isHTMLStyleAttribute&&F(e,a)?_(`;`):`;`]}case`css-atrule`:{let n=e.getParentNode(),i=oe(a)&&!n.raws.semicolon&&t.originalText[Se(a)-1]!==`;`;if(Ce(t)){if(a.mixin)return[r(`selector`),a.important?` !important`:``,i?``:`;`];if(a.function)return[a.name,r(`params`),i?``:`;`];if(a.variable)return[`@`,a.name,`: `,a.value?r(`value`):``,a.raws.between.trim()?a.raws.between.trim()+` `:``,a.nodes?[`{`,h([a.nodes.length>0?f:``,Oe(e,t,r)]),f,`}`]:``,i?``:`;`]}return[`@`,ae(a)||a.name.endsWith(`:`)?a.name:O(a.name),a.params?[ae(a)?``:oe(a)?a.raws.afterName===``?``:a.name.endsWith(`:`)?` `:/^\s*\n\s*\n/.test(a.raws.afterName)?[d,d]:/^\s*\n/.test(a.raws.afterName)?d:` `:` `,r(`params`)]:``,a.selector?h([` `,r(`selector`)]):``,a.value?p([` `,r(`value`),I(a)?ne(a)?` `:u:``]):a.name===`else`?` `:``,a.nodes?[I(a)?``:a.selector&&!a.selector.nodes&&typeof a.selector.value==`string`&&_e(a.selector.value)||!a.selector&&typeof a.params==`string`&&_e(a.params)?u:` `,`{`,h([a.nodes.length>0?f:``,Oe(e,t,r)]),f,`}`]:i?``:`;`]}case`media-query-list`:{let t=[];return e.each(e=>{let n=e.getValue();n.type===`media-query`&&n.value===``||t.push(r())},`nodes`),p(h(l(u,t)))}case`media-query`:return[l(` `,e.map(r,`nodes`)),F(e,a)?``:`,`];case`media-type`:return Ne(je(a.value,t));case`media-feature-expression`:return a.nodes?[`(`,...e.map(r,`nodes`),`)`]:a.value;case`media-feature`:return O(je(a.value.replace(/ +/g,` `),t));case`media-colon`:return[a.value,` `];case`media-value`:return Ne(je(a.value,t));case`media-keyword`:return je(a.value,t);case`media-url`:return je(a.value.replace(/^url\(\s+/gi,`url(`).replace(/\s+\)$/g,`)`),t);case`media-unknown`:return a.value;case`selector-root`:return p([j(e,`custom-selector`)?[T(e,`css-atrule`).customSelector,u]:``,l([`,`,j(e,[`extend`,`custom-selector`,`nest`])?u:d],e.map(r,`nodes`))]);case`selector-selector`:return p(h(e.map(r,`nodes`)));case`selector-comment`:return a.value;case`selector-string`:return je(a.value,t);case`selector-tag`:{let t=e.getParentNode(),n=t&&t.nodes.indexOf(a),r=n&&t.nodes[n-1];return[a.namespace?[a.namespace===!0?``:a.namespace.trim(),`|`]:``,r.type===`selector-nesting`?a.value:Ne(N(e,a.value)?a.value.toLowerCase():a.value)]}case`selector-id`:return[`#`,a.value];case`selector-class`:return[`.`,Ne(je(a.value,t))];case`selector-attribute`:return[`[`,a.namespace?[a.namespace===!0?``:a.namespace.trim(),`|`]:``,a.attribute.trim(),a.operator??``,a.value?Me(je(a.value.trim(),t),t):``,a.insensitive?` i`:``,`]`];case`selector-combinator`:if(a.value===`+`||a.value===`>`||a.value===`~`||a.value===`>>>`){let t=e.getParentNode();return[t.type===`selector-selector`&&t.nodes[0]===a?``:u,a.value,F(e,a)?``:` `]}return[a.value.trim().startsWith(`(`)?u:``,Ne(je(a.value.trim(),t))||u];case`selector-universal`:return[a.namespace?[a.namespace===!0?``:a.namespace.trim(),`|`]:``,a.value];case`selector-pseudo`:return[O(a.value),c(a.nodes)?p([`(`,h([f,l([`,`,u],e.map(r,`nodes`))]),f,`)`]):``];case`selector-nesting`:return a.value;case`selector-unknown`:{let n=T(e,`css-rule`);if(n&&n.isSCSSNesterProperty)return Ne(je(O(a.value),t));let r=e.getParentNode();if(r.raws&&r.raws.selector){let e=xe(r),n=e+r.raws.selector.length;return t.originalText.slice(e,n).trim()}let i=e.getParentNode(1);if(r.type===`value-paren_group`&&i&&i.type===`value-func`&&i.value===`selector`){let e=Se(r.open)+1,n=xe(r.close),i=t.originalText.slice(e,n).trim();return _e(i)?[v,i]:i}return a.value}case`value-value`:case`value-root`:return r(`group`);case`value-comment`:return t.originalText.slice(xe(a),Se(a));case`value-comma_group`:{let n=e.getParentNode(),i=e.getParentNode(1),s=D(e),c=s&&n.type===`value-value`&&(s===`grid`||s.startsWith(`grid-template`)),l=T(e,`css-atrule`),_=l&&I(l),y=a.groups.some(e=>ue(e)),b=e.map(r,`groups`),x=[],S=k(e,`url`),C=!1,w=!1;for(let r=0;r<a.groups.length;++r){var o;x.push(b[r]);let s=a.groups[r-1],p=a.groups[r],m=a.groups[r+1],h=a.groups[r+2];if(S){(m&&U(m)||U(p))&&x.push(` `);continue}if(j(e,`forward`)&&p.type===`value-word`&&p.value&&s!==void 0&&s.type===`value-word`&&s.value===`as`&&m.type===`value-operator`&&m.value===`*`||!m||p.type===`value-word`&&p.value.endsWith(`-`)&&ve(m))continue;if(p.type===`value-string`&&p.quoted){let e=p.value.lastIndexOf(`#{`),t=p.value.lastIndexOf(`}`);e!==-1&&t!==-1?C=e>t:e===-1?t!==-1&&(C=!1):C=!0}if(C||me(p)||me(m)||p.type===`value-atword`&&(p.value===``||p.value.endsWith(`[`))||m.type===`value-word`&&m.value.startsWith(`]`)||p.value===`~`||p.value&&p.value.includes(`\\`)&&m&&m.type!==`value-comment`||s&&s.value&&s.value.indexOf(`\\`)===s.value.length-1&&p.type===`value-operator`&&p.value===`/`||p.value===`\\`||ce(p,m)||de(p)||fe(p)||pe(m)||fe(m)&&Y(m)||pe(p)&&Y(m)||p.value===`--`&&de(m))continue;let v=G(p),y=G(m);if((v&&de(m)||y&&pe(p))&&Y(m)||!s&&V(p)||k(e,`calc`)&&(U(p)||U(m)||W(p)||W(m))&&Y(m))continue;let T=(U(p)||W(p))&&r===0&&(m.type===`value-number`||m.isHex)&&i&&ge(i)&&!Y(m),E=h&&h.type===`value-func`||h&&X(h)||p.type===`value-func`||X(p),D=m.type===`value-func`||X(m)||s&&s.type===`value-func`||s&&X(s);if(!(!(B(m)||B(p))&&!k(e,`calc`)&&!T&&(V(m)&&!E||V(p)&&!D||U(m)&&!E||U(p)&&!D||W(m)||W(p))&&(Y(m)||v&&(!s||s&&G(s))))&&!((t.parser===`scss`||t.parser===`less`)&&v&&p.value===`-`&&be(m)&&Se(p)===xe(m.open)&&m.open.value===`(`)){if(ue(p)){if(n.type===`value-paren_group`){x.push(g(d));continue}x.push(d);continue}if(_&&(z(m)||R(m)||J(m)||K(p)||q(p))){x.push(` `);continue}if(l&&l.name.toLowerCase()===`namespace`){x.push(` `);continue}if(c){p.source&&m.source&&p.source.start.line!==m.source.start.line?(x.push(d),w=!0):x.push(` `);continue}if(y){x.push(` `);continue}if(!(m&&m.value===`...`)&&!(ve(p)&&ve(m)&&Se(p)===xe(m))){if(ve(p)&&be(m)&&Se(p)===xe(m.open)){x.push(f);continue}if(p.value===`with`&&be(m)){x.push(` `);continue}(o=p.value)!=null&&o.endsWith(`#`)&&m.value===`{`&&be(m.group)||x.push(u)}}}return y&&x.push(v),w&&x.unshift(d),_?p(h(x)):M(e)?p(m(x)):p(h(m(x)))}case`value-paren_group`:{let i=e.getParentNode();if(i&&ee(i)&&(a.groups.length===1||a.groups.length>0&&a.groups[0].type===`value-comma_group`&&a.groups[0].groups.length>0&&a.groups[0].groups[0].type===`value-word`&&a.groups[0].groups[0].value.startsWith(`data:`)))return[a.open?r(`open`):``,l(`,`,e.map(r,`groups`)),a.close?r(`close`):``];if(!a.open){let t=e.map(r,`groups`),n=[];for(let e=0;e<t.length;e++)e!==0&&n.push([`,`,u]),n.push(t[e]);return p(h(m(n)))}let o=le(e),v=n(a.groups),y=v&&v.type===`value-comment`,b=ie(a,i),S=ye(a,i),C=S||o&&!b,w=S||b,T=p([a.open?r(`open`):``,h([f,l([u],e.map((e,i)=>{let o=e.getValue(),l=i===a.groups.length-1,u=[r(),l?``:`,`];if(re(o)&&o.type===`value-comma_group`&&o.groups&&o.groups[0].type!==`value-paren_group`&&o.groups[2]&&o.groups[2].type===`value-paren_group`){let e=x(u[0].contents.contents);e[1]=p(e[1]),u=[p(g(u))]}if(!l&&o.type===`value-comma_group`&&c(o.groups)){let e=n(o.groups);!e.source&&e.close&&(e=e.close),e.source&&s(t.originalText,e,Se)&&u.push(d)}return u},`groups`))]),_(!y&&we(t.parser,t.originalText)&&o&&Ee(t)?`,`:``),f,a.close?r(`close`):``],{shouldBreak:C});return w?g(T):T}case`value-func`:return[a.value,j(e,`supports`)&&he(a)?` `:``,r(`group`)];case`value-paren`:return a.value;case`value-number`:return[Pe(a.value),Te(a.unit)];case`value-operator`:return a.value;case`value-word`:return a.isColor&&a.isHex||P(a.value)?a.value.toLowerCase():a.value;case`value-colon`:{let t=e.getParentNode(),r=t&&t.groups.indexOf(a),i=r&&t.groups[r-1];return[a.value,i&&typeof i.value==`string`&&n(i.value)===`\\`||k(e,`url`)?``:u]}case`value-comma`:return[a.value,` `];case`value-string`:return i(a.raws.quote+a.value+a.raws.quote,t);case`value-atword`:return[`@`,a.value];case`value-unicode-range`:return a.value;case`value-unknown`:return a.value;default:throw Error(`Unknown postcss type ${JSON.stringify(a.type)}`)}}function Oe(e,t,n){let r=[];return e.each((e,i,c)=>{let l=c[i-1];if(l&&l.type===`css-comment`&&l.text.trim()===`prettier-ignore`){let n=e.getValue();r.push(t.originalText.slice(xe(n),Se(n)))}else r.push(n());i!==c.length-1&&(c[i+1].type===`css-comment`&&!a(t.originalText,xe(c[i+1]),{backwards:!0})&&!o(c[i])||c[i+1].type===`css-atrule`&&c[i+1].name===`else`&&c[i].type!==`css-comment`?r.push(` `):(r.push(t.__isHTMLStyleAttribute?u:d),s(t.originalText,e.getValue(),Se)&&!o(c[i])&&r.push(d)))},`nodes`),r}var ke=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,Ae=RegExp(ke.source+`|([$@]?[A-Z_a-z\\u0080-\\uFFFF][\\w\\u0080-\\uFFFF-]*)?((?:\\d*\\.\\d+|\\d+\\.?)(?:[Ee][+-]?\\d+)?)([A-Za-z]+)?`,`g`);function je(e,t){return e.replace(ke,e=>i(e,t))}function Me(e,t){let n=t.singleQuote?`'`:`"`;return e.includes(`"`)||e.includes(`'`)?e:n+e+n}function Ne(e){return e.replace(Ae,(e,t,n,r,i)=>!n&&r?Pe(r)+O(i||``):e)}function Pe(e){return r(e).replace(/\.0(?=$|e)/,``)}t.exports={print:De,embed:C,insertPragma:w,massageAstNode:S}}}),Vr=m({"src/language-css/options.js"(e,t){b(),t.exports={singleQuote:vr().singleQuote}}}),Hr=m({"src/language-css/parsers.js"(){b()}}),Ur=m({"node_modules/linguist-languages/data/CSS.json"(e,t){t.exports={name:`CSS`,type:`markup`,tmScope:`source.css`,aceMode:`css`,codemirrorMode:`css`,codemirrorMimeType:`text/css`,color:`#563d7c`,extensions:[`.css`],languageId:50}}}),Wr=m({"node_modules/linguist-languages/data/PostCSS.json"(e,t){t.exports={name:`PostCSS`,type:`markup`,color:`#dc3a0c`,tmScope:`source.postcss`,group:`CSS`,extensions:[`.pcss`,`.postcss`],aceMode:`text`,languageId:262764437}}}),Gr=m({"node_modules/linguist-languages/data/Less.json"(e,t){t.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}}}),Kr=m({"node_modules/linguist-languages/data/SCSS.json"(e,t){t.exports={name:`SCSS`,type:`markup`,color:`#c6538c`,tmScope:`source.css.scss`,aceMode:`scss`,codemirrorMode:`css`,codemirrorMimeType:`text/x-scss`,extensions:[`.scss`],languageId:329}}}),qr=m({"src/language-css/index.js"(e,t){b();var n=Qt(),r=Br(),i=Vr(),a=Hr();t.exports={languages:[n(Ur(),e=>({since:`1.4.0`,parsers:[`css`],vscodeLanguageIds:[`css`],extensions:[...e.extensions,`.wxss`]})),n(Wr(),()=>({since:`1.4.0`,parsers:[`css`],vscodeLanguageIds:[`postcss`]})),n(Gr(),()=>({since:`1.4.0`,parsers:[`less`],vscodeLanguageIds:[`less`]})),n(Kr(),()=>({since:`1.4.0`,parsers:[`scss`],vscodeLanguageIds:[`scss`]}))],options:i,printers:{postcss:r},parsers:a}}}),Jr=m({"src/language-handlebars/loc.js"(e,t){b();function n(e){return e.loc.start.offset}function r(e){return e.loc.end.offset}t.exports={locStart:n,locEnd:r}}}),Yr=m({"src/language-handlebars/clean.js"(e,t){b();function n(e,t){if(e.type===`TextNode`){let n=e.chars.trim();if(!n)return null;t.chars=n.replace(/[\t\n\f\r ]+/g,` `)}e.type===`AttrNode`&&e.name.toLowerCase()===`class`&&delete t.value}n.ignoredProperties=new Set([`loc`,`selfClosing`]),t.exports=n}}),Xr=m({"src/language-handlebars/html-void-elements.evaluate.js"(e,t){t.exports=[`area`,`base`,`br`,`col`,`command`,`embed`,`hr`,`img`,`input`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`]}}),Zr=m({"src/language-handlebars/utils.js"(e,t){b();var n=E(),r=Xr();function i(e){let t=e.getValue(),r=e.getParentNode(0);return!!(f(e,[`ElementNode`])&&n(r.children)===t||f(e,[`Block`])&&n(r.body)===t)}function a(e){return e.toUpperCase()===e}function o(e){return d(e,[`ElementNode`])&&typeof e.tag==`string`&&!e.tag.startsWith(`:`)&&(a(e.tag[0])||e.tag.includes(`.`))}var s=new Set(r);function c(e){return s.has(e.toLowerCase())&&!a(e[0])}function l(e){return e.selfClosing===!0||c(e.tag)||o(e)&&e.children.every(e=>u(e))}function u(e){return d(e,[`TextNode`])&&!/\S/.test(e.chars)}function d(e,t){return e&&t.includes(e.type)}function f(e,t){return d(e.getParentNode(0),t)}function p(e,t){return d(g(e),t)}function m(e,t){return d(_(e),t)}function h(e,t){let n=e.getValue(),r=e.getParentNode(0)??{},i=r.children??r.body??r.parts??[],a=i.indexOf(n);return a!==-1&&i[a+t]}function g(e){return h(e,-(arguments.length>1&&arguments[1]!==void 0?arguments[1]:1))}function _(e){return h(e,1)}function v(e){return d(e,[`MustacheCommentStatement`])&&typeof e.value==`string`&&e.value.trim()===`prettier-ignore`}function y(e){let t=e.getValue(),n=g(e,2);return v(t)||v(n)}t.exports={getNextNode:_,getPreviousNode:g,hasPrettierIgnore:y,isLastNodeOfSiblings:i,isNextNodeOfSomeType:m,isNodeOfSomeType:d,isParentOfSomeType:f,isPreviousNodeOfSomeType:p,isVoid:l,isWhitespaceNode:u}}}),Qr=m({"src/language-handlebars/printer-glimmer.js"(e,t){b();var{builders:{dedent:n,fill:r,group:i,hardline:a,ifBreak:o,indent:s,join:c,line:l,softline:u},utils:{getDocParts:d,replaceTextEndOfLine:f}}=H(),{getPreferredQuote:p,isNonEmptyArray:m}=Z(),{locStart:h,locEnd:g}=Jr(),_=Yr(),{getNextNode:v,getPreviousNode:y,hasPrettierIgnore:x,isLastNodeOfSiblings:S,isNextNodeOfSomeType:C,isNodeOfSomeType:w,isParentOfSomeType:T,isPreviousNodeOfSomeType:E,isVoid:D,isWhitespaceNode:O}=Zr(),k=2;function A(e,t,o){let d=e.getValue();if(!d)return``;if(x(e))return t.originalText.slice(h(d),g(d));let m=t.singleQuote?`'`:`"`;switch(d.type){case`Block`:case`Program`:case`Template`:return i(e.map(o,`body`));case`ElementNode`:{let n=i(M(e,o)),r=t.htmlWhitespaceSensitivity===`ignore`&&C(e,[`ElementNode`])?u:``;if(D(d))return[n,r];let c=[`</`,d.tag,`>`];return d.children.length===0?[n,s(c),r]:t.htmlWhitespaceSensitivity===`ignore`?[n,s(N(e,t,o)),a,s(c),r]:[n,s(i(N(e,t,o))),s(c),r]}case`BlockStatement`:{let n=e.getParentNode(1);return n&&n.inverse&&n.inverse.body.length===1&&n.inverse.body[0]===d&&n.inverse.body[0].path.parts[0]===n.path.parts[0]?[K(e,o,n.inverse.body[0].path.parts[0]),ne(e,o,t),Y(e,o,t)]:[W(e,o),i([ne(e,o,t),Y(e,o,t),q(e,o,t)])]}case`ElementModifierStatement`:return i([`{{`,pe(e,o),`}}`]);case`MustacheStatement`:return i([F(d),pe(e,o),I(d)]);case`SubExpression`:return i([`(`,fe(e,o),u,`)`]);case`AttrNode`:{let e=d.value.type===`TextNode`;if(e&&d.value.chars===``&&h(d.value)===g(d.value))return d.name;let t=e?p(d.value.chars,m).quote:d.value.type===`ConcatStatement`?p(d.value.parts.filter(e=>e.type===`TextNode`).map(e=>e.chars).join(``),m).quote:``,n=o(`value`);return[d.name,`=`,t,d.name===`class`&&t?i(s(n)):n,t]}case`ConcatStatement`:return e.map(o,`parts`);case`Hash`:return c(l,e.map(o,`pairs`));case`HashPair`:return[d.key,`=`,o(`value`)];case`TextNode`:{let i=d.chars.replace(/{{/g,`\\{{`),a=ae(e);if(a){if(a===`class`){let t=i.trim().split(/\s+/).join(` `),n=!1,r=!1;return T(e,[`ConcatStatement`])&&(E(e,[`MustacheStatement`])&&/^\s/.test(i)&&(n=!0),C(e,[`MustacheStatement`])&&/\s$/.test(i)&&t!==``&&(r=!0)),[n?l:``,t,r?l:``]}return f(i)}let o=/^[\t\n\f\r ]*$/.test(i),s=!y(e),c=!v(e);if(t.htmlWhitespaceSensitivity!==`ignore`){let t=/^[\t\n\f\r ]*/,a=/[\t\n\f\r ]*$/,u=c&&T(e,[`Template`]),d=s&&T(e,[`Template`]);if(o){if(d||u)return``;let t=[l],r=oe(i);return r&&(t=le(r)),S(e)&&(t=t.map(e=>n(e))),t}let[f]=i.match(t),[p]=i.match(a),m=[];if(f){m=[l];let e=oe(f);e&&(m=le(e)),i=i.replace(t,``)}let h=[];if(p){if(!u){h=[l];let t=oe(p);t&&(h=le(t)),S(e)&&(h=h.map(e=>n(e)))}i=i.replace(a,``)}return[...m,r(re(i)),...h]}let u=oe(i),p=se(i),m=ce(i);if((s||c)&&o&&T(e,[`Block`,`ElementNode`,`Template`]))return``;o&&u?(p=Math.min(u,k),m=0):(C(e,[`BlockStatement`,`ElementNode`])&&(m=Math.max(m,1)),E(e,[`BlockStatement`,`ElementNode`])&&(p=Math.max(p,1)));let h=``,g=``;return m===0&&C(e,[`MustacheStatement`])&&(g=` `),p===0&&E(e,[`MustacheStatement`])&&(h=` `),s&&(p=0,h=``),c&&(m=0,g=``),i=i.replace(/^[\t\n\f\r ]+/g,h).replace(/[\t\n\f\r ]+$/,g),[...le(p),r(re(i)),...le(m)]}case`MustacheCommentStatement`:{let e=h(d),n=g(d),r=t.originalText.charAt(e+2)===`~`,i=t.originalText.charAt(n-3)===`~`,a=d.value.includes(`}}`)?`--`:``;return[`{{`,r?`~`:``,`!`,a,d.value,a,i?`~`:``,`}}`]}case`PathExpression`:return d.original;case`BooleanLiteral`:return String(d.value);case`CommentStatement`:return[`<!--`,d.value,`-->`];case`StringLiteral`:if(de(e)){let e=t.singleQuote?`"`:`'`;return ue(d.value,e)}return ue(d.value,m);case`NumberLiteral`:return String(d.value);case`UndefinedLiteral`:return`undefined`;case`NullLiteral`:return`null`;default:throw Error(`unknown glimmer type: `+JSON.stringify(d.type))}}function j(e,t){return h(e)-h(t)}function M(e,t){let n=e.getValue(),r=[`attributes`,`modifiers`,`comments`].filter(e=>m(n[e])),i=r.flatMap(e=>n[e]).sort(j);for(let n of r)e.each(e=>{let n=i.indexOf(e.getValue());i.splice(n,1,[l,t()])},n);return m(n.blockParams)&&i.push(l,he(n)),[`<`,n.tag,s(i),P(n)]}function N(e,t,n){let r=e.getValue().children.every(e=>O(e));return t.htmlWhitespaceSensitivity===`ignore`&&r?``:e.map((e,r)=>{let i=n();return r===0&&t.htmlWhitespaceSensitivity===`ignore`?[u,i]:i},`children`)}function P(e){return D(e)?o([u,`/>`],[` />`,u]):o([u,`>`],`>`)}function F(e){return[e.escaped===!1?`{{{`:`{{`,e.strip&&e.strip.open?`~`:``]}function I(e){let t=e.escaped===!1?`}}}`:`}}`;return[e.strip&&e.strip.close?`~`:``,t]}function L(e){return[F(e),e.openStrip.open?`~`:``,`#`]}function R(e){let t=I(e);return[e.openStrip.close?`~`:``,t]}function z(e){return[F(e),e.closeStrip.open?`~`:``,`/`]}function B(e){let t=I(e);return[e.closeStrip.close?`~`:``,t]}function V(e){return[F(e),e.inverseStrip.open?`~`:``]}function U(e){let t=I(e);return[e.inverseStrip.close?`~`:``,t]}function W(e,t){let n=e.getValue(),r=[],a=me(e,t);return a&&r.push(i(a)),m(n.program.blockParams)&&r.push(he(n.program)),i([L(n),X(e,t),r.length>0?s([l,c(l,r)]):``,u,R(n)])}function G(e,t){return[t.htmlWhitespaceSensitivity===`ignore`?a:``,V(e),`else`,U(e)]}function K(e,t,n){let r=e.getValue(),a=e.getParentNode(1);return i([V(a),[`else`,` `,n],s([l,i(me(e,t)),...m(r.program.blockParams)?[l,he(r.program)]:[]]),u,U(a)])}function q(e,t,n){let r=e.getValue();return n.htmlWhitespaceSensitivity===`ignore`?[ee(r)?u:a,z(r),t(`path`),B(r)]:[z(r),t(`path`),B(r)]}function ee(e){return w(e,[`BlockStatement`])&&e.program.body.every(e=>O(e))}function J(e){return te(e)&&e.inverse.body.length===1&&w(e.inverse.body[0],[`BlockStatement`])&&e.inverse.body[0].path.parts[0]===e.path.parts[0]}function te(e){return w(e,[`BlockStatement`])&&e.inverse}function ne(e,t,n){if(ee(e.getValue()))return``;let r=t(`program`);return n.htmlWhitespaceSensitivity===`ignore`?s([a,r]):s(r)}function Y(e,t,n){let r=e.getValue(),i=t(`inverse`),o=n.htmlWhitespaceSensitivity===`ignore`?[a,i]:i;return J(r)?o:te(r)?[G(r,n),s(o)]:``}function re(e){return d(c(l,ie(e)))}function ie(e){return e.split(/[\t\n\f\r ]+/)}function ae(e){for(let t=0;t<2;t++){let n=e.getParentNode(t);if(n&&n.type===`AttrNode`)return n.name.toLowerCase()}}function oe(e){return e=typeof e==`string`?e:``,e.split(`
|
|
211
|
-
`).length-1}function se(e){return e=typeof e==`string`?e:``,oe((e.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||``)}function ce(e){return e=typeof e==`string`?e:``,oe((e.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||``)}function le(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(e,k)}).fill(a)}function ue(e,t){let{quote:n,regex:r}=p(e,t);return[n,e.replace(r,`\\${n}`),n]}function de(e){let t=0,n=e.getParentNode(t);for(;n&&w(n,[`SubExpression`]);)t++,n=e.getParentNode(t);return!!(n&&w(e.getParentNode(t+1),[`ConcatStatement`])&&w(e.getParentNode(t+2),[`AttrNode`]))}function fe(e,t){let n=X(e,t),r=me(e,t);return r?s([n,l,i(r)]):n}function pe(e,t){let n=X(e,t),r=me(e,t);return r?[s([n,l,r]),u]:n}function X(e,t){return t(`path`)}function me(e,t){let n=e.getValue(),r=[];if(n.params.length>0){let n=e.map(t,`params`);r.push(...n)}if(n.hash&&n.hash.pairs.length>0){let e=t(`hash`);r.push(e)}return r.length===0?``:c(l,r)}function he(e){return[`as |`,e.blockParams.join(` `),`|`]}t.exports={print:A,massageAstNode:_}}}),$r=m({"src/language-handlebars/parsers.js"(){b()}}),ei=m({"node_modules/linguist-languages/data/Handlebars.json"(e,t){t.exports={name:`Handlebars`,type:`markup`,color:`#f7931e`,aliases:[`hbs`,`htmlbars`],extensions:[`.handlebars`,`.hbs`],tmScope:`text.html.handlebars`,aceMode:`handlebars`,languageId:155}}}),ti=m({"src/language-handlebars/index.js"(e,t){b();var n=Qt(),r=Qr(),i=$r();t.exports={languages:[n(ei(),()=>({since:`2.3.0`,parsers:[`glimmer`],vscodeLanguageIds:[`handlebars`]}))],printers:{glimmer:r},parsers:i}}}),ni=m({"src/language-graphql/pragma.js"(e,t){b();function n(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)}function r(e){return`# @format
|
|
212
|
-
|
|
213
|
-
`+e}t.exports={hasPragma:n,insertPragma:r}}}),ri=m({"src/language-graphql/loc.js"(e,t){b();function n(e){return typeof e.start==`number`?e.start:e.loc&&e.loc.start}function r(e){return typeof e.end==`number`?e.end:e.loc&&e.loc.end}t.exports={locStart:n,locEnd:r}}}),ii=m({"src/language-graphql/printer-graphql.js"(e,t){b();var{builders:{join:n,hardline:r,line:i,softline:a,group:o,indent:s,ifBreak:c}}=H(),{isNextLineEmpty:l,isNonEmptyArray:u}=Z(),{insertPragma:d}=ni(),{locStart:f,locEnd:p}=ri();function m(e,t,d){let m=e.getValue();if(!m)return``;if(typeof m==`string`)return m;switch(m.kind){case`Document`:{let n=[];return e.each((e,i,a)=>{n.push(d()),i!==a.length-1&&(n.push(r),l(t.originalText,e.getValue(),p)&&n.push(r))},`definitions`),[...n,r]}case`OperationDefinition`:{let r=t.originalText[f(m)]!==`{`,i=!!m.name;return[r?m.operation:``,r&&i?[` `,d(`name`)]:``,r&&!i&&u(m.variableDefinitions)?` `:``,u(m.variableDefinitions)?o([`(`,s([a,n([c(``,`, `),a],e.map(d,`variableDefinitions`))]),a,`)`]):``,h(e,d,m),m.selectionSet?!r&&!i?``:` `:``,d(`selectionSet`)]}case`FragmentDefinition`:return[`fragment `,d(`name`),u(m.variableDefinitions)?o([`(`,s([a,n([c(``,`, `),a],e.map(d,`variableDefinitions`))]),a,`)`]):``,` on `,d(`typeCondition`),h(e,d,m),` `,d(`selectionSet`)];case`SelectionSet`:return[`{`,s([r,n(r,g(e,t,d,`selections`))]),r,`}`];case`Field`:return o([m.alias?[d(`alias`),`: `]:``,d(`name`),m.arguments.length>0?o([`(`,s([a,n([c(``,`, `),a],g(e,t,d,`arguments`))]),a,`)`]):``,h(e,d,m),m.selectionSet?` `:``,d(`selectionSet`)]);case`Name`:return m.value;case`StringValue`:if(m.block){let e=m.value.replace(/"""/g,`\\$&`).split(`
|
|
214
|
-
`);return e.length===1&&(e[0]=e[0].trim()),e.every(e=>e===``)&&(e.length=0),n(r,[`"""`,...e,`"""`])}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[`$`,d(`name`)];case`ListValue`:return o([`[`,s([a,n([c(``,`, `),a],e.map(d,`values`))]),a,`]`]);case`ObjectValue`:return o([`{`,t.bracketSpacing&&m.fields.length>0?` `:``,s([a,n([c(``,`, `),a],e.map(d,`fields`))]),a,c(``,t.bracketSpacing&&m.fields.length>0?` `:``),`}`]);case`ObjectField`:case`Argument`:return[d(`name`),`: `,d(`value`)];case`Directive`:return[`@`,d(`name`),m.arguments.length>0?o([`(`,s([a,n([c(``,`, `),a],g(e,t,d,`arguments`))]),a,`)`]):``];case`NamedType`:return d(`name`);case`VariableDefinition`:return[d(`variable`),`: `,d(`type`),m.defaultValue?[` = `,d(`defaultValue`)]:``,h(e,d,m)];case`ObjectTypeExtension`:case`ObjectTypeDefinition`:return[d(`description`),m.description?r:``,m.kind===`ObjectTypeExtension`?`extend `:``,`type `,d(`name`),m.interfaces.length>0?[` implements `,...y(e,t,d)]:``,h(e,d,m),m.fields.length>0?[` {`,s([r,n(r,g(e,t,d,`fields`))]),r,`}`]:``];case`FieldDefinition`:return[d(`description`),m.description?r:``,d(`name`),m.arguments.length>0?o([`(`,s([a,n([c(``,`, `),a],g(e,t,d,`arguments`))]),a,`)`]):``,`: `,d(`type`),h(e,d,m)];case`DirectiveDefinition`:return[d(`description`),m.description?r:``,`directive `,`@`,d(`name`),m.arguments.length>0?o([`(`,s([a,n([c(``,`, `),a],g(e,t,d,`arguments`))]),a,`)`]):``,m.repeatable?` repeatable`:``,` on `,n(` | `,e.map(d,`locations`))];case`EnumTypeExtension`:case`EnumTypeDefinition`:return[d(`description`),m.description?r:``,m.kind===`EnumTypeExtension`?`extend `:``,`enum `,d(`name`),h(e,d,m),m.values.length>0?[` {`,s([r,n(r,g(e,t,d,`values`))]),r,`}`]:``];case`EnumValueDefinition`:return[d(`description`),m.description?r:``,d(`name`),h(e,d,m)];case`InputValueDefinition`:return[d(`description`),m.description?m.description.block?r:i:``,d(`name`),`: `,d(`type`),m.defaultValue?[` = `,d(`defaultValue`)]:``,h(e,d,m)];case`InputObjectTypeExtension`:case`InputObjectTypeDefinition`:return[d(`description`),m.description?r:``,m.kind===`InputObjectTypeExtension`?`extend `:``,`input `,d(`name`),h(e,d,m),m.fields.length>0?[` {`,s([r,n(r,g(e,t,d,`fields`))]),r,`}`]:``];case`SchemaExtension`:return[`extend schema`,h(e,d,m),...m.operationTypes.length>0?[` {`,s([r,n(r,g(e,t,d,`operationTypes`))]),r,`}`]:[]];case`SchemaDefinition`:return[d(`description`),m.description?r:``,`schema`,h(e,d,m),` {`,m.operationTypes.length>0?s([r,n(r,g(e,t,d,`operationTypes`))]):``,r,`}`];case`OperationTypeDefinition`:return[d(`operation`),`: `,d(`type`)];case`InterfaceTypeExtension`:case`InterfaceTypeDefinition`:return[d(`description`),m.description?r:``,m.kind===`InterfaceTypeExtension`?`extend `:``,`interface `,d(`name`),m.interfaces.length>0?[` implements `,...y(e,t,d)]:``,h(e,d,m),m.fields.length>0?[` {`,s([r,n(r,g(e,t,d,`fields`))]),r,`}`]:``];case`FragmentSpread`:return[`...`,d(`name`),h(e,d,m)];case`InlineFragment`:return[`...`,m.typeCondition?[` on `,d(`typeCondition`)]:``,h(e,d,m),` `,d(`selectionSet`)];case`UnionTypeExtension`:case`UnionTypeDefinition`:return o([d(`description`),m.description?r:``,o([m.kind===`UnionTypeExtension`?`extend `:``,`union `,d(`name`),h(e,d,m),m.types.length>0?[` =`,c(``,` `),s([c([i,` `]),n([i,`| `],e.map(d,`types`))])]:``])]);case`ScalarTypeExtension`:case`ScalarTypeDefinition`:return[d(`description`),m.description?r:``,m.kind===`ScalarTypeExtension`?`extend `:``,`scalar `,d(`name`),h(e,d,m)];case`NonNullType`:return[d(`type`),`!`];case`ListType`:return[`[`,d(`type`),`]`];default:throw Error(`unknown graphql type: `+JSON.stringify(m.kind))}}function h(e,t,r){if(r.directives.length===0)return``;let c=n(i,e.map(t,`directives`));return r.kind===`FragmentDefinition`||r.kind===`OperationDefinition`?o([i,c]):[` `,o(s([a,c]))]}function g(e,t,n,i){return e.map((e,i,a)=>{let o=n();return i<a.length-1&&l(t.originalText,e.getValue(),p)?[o,r]:o},i)}function _(e){return e.kind&&e.kind!==`Comment`}function v(e){let t=e.getValue();if(t.kind===`Comment`)return`#`+t.value.trimEnd();throw Error(`Not a comment: `+JSON.stringify(t))}function y(e,t,n){let r=e.getNode(),a=[],{interfaces:o}=r,s=e.map(e=>n(e),`interfaces`);for(let e=0;e<o.length;e++){let n=o[e];a.push(s[e]);let r=o[e+1];if(r){let e=t.originalText.slice(n.loc.end,r.loc.start),o=e.includes(`#`),s=e.replace(/#.*/g,``).trim();a.push(s===`,`?`,`:` &`,o?i:` `)}}return a}function x(e,t){e.kind===`StringValue`&&e.block&&!e.value.includes(`
|
|
215
|
-
`)&&(t.value=t.value.trim())}x.ignoredProperties=new Set([`loc`,`comments`]);function S(e){var t;let n=e.getValue();return n==null||(t=n.comments)==null?void 0:t.some(e=>e.value.trim()===`prettier-ignore`)}t.exports={print:m,massageAstNode:x,hasPrettierIgnore:S,insertPragma:d,printComment:v,canAttachComment:_}}}),ai=m({"src/language-graphql/options.js"(e,t){b(),t.exports={bracketSpacing:vr().bracketSpacing}}}),oi=m({"src/language-graphql/parsers.js"(){b()}}),si=m({"node_modules/linguist-languages/data/GraphQL.json"(e,t){t.exports={name:`GraphQL`,type:`data`,color:`#e10098`,extensions:[`.graphql`,`.gql`,`.graphqls`],tmScope:`source.graphql`,aceMode:`text`,languageId:139}}}),ci=m({"src/language-graphql/index.js"(e,t){b();var n=Qt(),r=ii(),i=ai(),a=oi();t.exports={languages:[n(si(),()=>({since:`1.5.0`,parsers:[`graphql`],vscodeLanguageIds:[`graphql`]}))],options:i,printers:{graphql:r},parsers:a}}}),li=m({"node_modules/collapse-white-space/index.js"(e,t){b(),t.exports=n;function n(e){return String(e).replace(/\s+/g,` `)}}}),ui=m({"src/language-markdown/loc.js"(e,t){b();function n(e){return e.position.start.offset}function r(e){return e.position.end.offset}t.exports={locStart:n,locEnd:r}}}),di=m({"src/language-markdown/constants.evaluate.js"(e,t){t.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]`}}}),fi=m({"src/language-markdown/utils.js"(e,t){b();var{getLast:n}=Z(),{locStart:r,locEnd:i}=ui(),{cjkPattern:a,kPattern:o,punctuationPattern:s}=di(),c=[`liquidNode`,`inlineCode`,`emphasis`,`esComment`,`strong`,`delete`,`wikiLink`,`link`,`linkReference`,`image`,`imageReference`,`footnote`,`footnoteReference`,`sentence`,`whitespace`,`word`,`break`,`inlineMath`],l=[...c,`tableCell`,`paragraph`,`heading`],u=new RegExp(o),d=new RegExp(s);function f(e,t){let r=`non-cjk`,i=`cj-letter`,o=`cjk-punctuation`,s=[],c=(t.proseWrap===`preserve`?e:e.replace(RegExp(`(${a})
|
|
216
|
-
(${a})`,`g`),`$1$2`)).split(/([\t\n ]+)/);for(let[e,t]of c.entries()){if(e%2==1){s.push({type:`whitespace`,value:/\n/.test(t)?`
|
|
217
|
-
`:` `});continue}if((e===0||e===c.length-1)&&t===``)continue;let f=t.split(RegExp(`(${a})`));for(let[e,t]of f.entries())if(!((e===0||e===f.length-1)&&t===``)){if(e%2==0){t!==``&&l({type:`word`,value:t,kind:r,hasLeadingPunctuation:d.test(t[0]),hasTrailingPunctuation:d.test(n(t))});continue}l(d.test(t)?{type:`word`,value:t,kind:o,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:`word`,value:t,kind:u.test(t)?`k-letter`:i,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return s;function l(e){let t=n(s);t&&t.type===`word`&&(t.kind===r&&e.kind===i&&!t.hasTrailingPunctuation||t.kind===i&&e.kind===r&&!e.hasLeadingPunctuation?s.push({type:`whitespace`,value:` `}):!a(r,o)&&![t.value,e.value].some(e=>/\u3000/.test(e))&&s.push({type:`whitespace`,value:``})),s.push(e);function a(n,r){return t.kind===n&&e.kind===r||t.kind===r&&e.kind===n}}}function p(e,t){let[,n,r,i]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:n,marker:r,leadingSpaces:i}}function m(e,t){if(!e.ordered||e.children.length<2)return!1;let n=Number(p(e.children[0],t.originalText).numberText),r=Number(p(e.children[1],t.originalText).numberText);if(n===0&&e.children.length>2){let n=Number(p(e.children[2],t.originalText).numberText);return r===1&&n===1}return r===1}function h(e,t){let{value:n}=e;return e.position.end.offset===t.length&&n.endsWith(`
|
|
218
|
-
`)&&t.endsWith(`
|
|
219
|
-
`)?n.slice(0,-1):n}function g(e,t){return function e(n,r,i){let a=Object.assign({},t(n,r,i));return a.children&&=a.children.map((t,n)=>e(t,n,[a,...i])),a}(e,null,[])}function _(e){if(e?.type!==`link`||e.children.length!==1)return!1;let[t]=e.children;return r(e)===r(t)&&i(e)===i(t)}t.exports={mapAst:g,splitText:f,punctuationPattern:s,getFencedCodeBlockValue:h,getOrderedListItemInfo:p,hasGitDiffFriendlyOrderedList:m,INLINE_NODE_TYPES:c,INLINE_NODE_WRAPPER_TYPES:l,isAutolink:_}}}),pi=m({"src/language-markdown/embed.js"(e,t){b();var{inferParserByLanguage:n,getMaxContinuousCount:r}=Z(),{builders:{hardline:i,markAsRoot:a},utils:{replaceEndOfLine:o}}=H(),s=kr(),{getFencedCodeBlockValue:c}=fi();function l(e,t,l,u){let d=e.getValue();if(d.type===`code`&&d.lang!==null){let e=n(d.lang,u);if(e){let t=u.__inJsTemplate?`~`:"`",n=t.repeat(Math.max(3,r(d.value,t)+1)),s={parser:e};d.lang===`tsx`&&(s.filepath=`dummy.tsx`);let f=l(c(d,u.originalText),s,{stripTrailingHardline:!0});return a([n,d.lang,d.meta?` `+d.meta:``,i,o(f),i,n])}}switch(d.type){case`front-matter`:return s(d,l);case`importExport`:return[l(d.value,{parser:`babel`},{stripTrailingHardline:!0}),i];case`jsx`:return l(`<$>${d.value}</$>`,{parser:`__js_expression`,rootMarker:`mdx`},{stripTrailingHardline:!0})}return null}t.exports=l}}),mi=m({"src/language-markdown/pragma.js"(e,t){b();var n=jr(),r=[`format`,`prettier`];function i(e){let t=`@(${r.join(`|`)})`,n=new RegExp([`<!--\\s*${t}\\s*-->`,`{\\s*\\/\\*\\s*${t}\\s*\\*\\/\\s*}`,`<!--.*\r?
|
|
220
|
-
[\\s\\S]*(^|
|
|
221
|
-
)[^\\S
|
|
222
|
-
]*${t}[^\\S
|
|
223
|
-
]*($|
|
|
224
|
-
)[\\s\\S]*
|
|
225
|
-
.*-->`].join(`|`),`m`);return e.match(n)?.index===0}t.exports={startWithPragma:i,hasPragma:e=>i(n(e).content.trimStart()),insertPragma:e=>{let t=n(e),i=`<!-- @${r[0]} -->`;return t.frontMatter?`${t.frontMatter.raw}
|
|
226
|
-
|
|
227
|
-
${i}
|
|
228
|
-
|
|
229
|
-
${t.content}`:`${i}
|
|
230
|
-
|
|
231
|
-
${t.content}`}}}}),hi=m({"src/language-markdown/print-preprocess.js"(e,t){b();var n=E(),{getOrderedListItemInfo:r,mapAst:i,splitText:a}=fi(),o=/^.$/su;function s(e,t){return e=u(e,t),e=p(e),e=l(e,t),e=h(e,t),e=g(e,t),e=m(e,t),e=c(e),e=d(e),e}function c(e){return i(e,e=>e.type!==`import`&&e.type!==`export`?e:Object.assign(Object.assign({},e),{},{type:`importExport`}))}function l(e,t){return i(e,e=>e.type!==`inlineCode`||t.proseWrap===`preserve`?e:Object.assign(Object.assign({},e),{},{value:e.value.replace(/\s+/g,` `)}))}function u(e,t){return i(e,e=>e.type!==`text`||e.value===`*`||e.value===`_`||!o.test(e.value)||e.position.end.offset-e.position.start.offset===e.value.length?e:Object.assign(Object.assign({},e),{},{value:t.originalText.slice(e.position.start.offset,e.position.end.offset)}))}function d(e){return f(e,(e,t)=>e.type===`importExport`&&t.type===`importExport`,(e,t)=>({type:`importExport`,value:e.value+`
|
|
232
|
-
|
|
233
|
-
`+t.value,position:{start:e.position.start,end:t.position.end}}))}function f(e,t,r){return i(e,e=>{if(!e.children)return e;let i=e.children.reduce((e,i)=>{let a=n(e);return a&&t(a,i)?e.splice(-1,1,r(a,i)):e.push(i),e},[]);return Object.assign(Object.assign({},e),{},{children:i})})}function p(e){return f(e,(e,t)=>e.type===`text`&&t.type===`text`,(e,t)=>({type:`text`,value:e.value+t.value,position:{start:e.position.start,end:t.position.end}}))}function m(e,t){return i(e,(e,n,r)=>{let[i]=r;if(e.type!==`text`)return e;let{value:o}=e;return i.type===`paragraph`&&(n===0&&(o=o.trimStart()),n===i.children.length-1&&(o=o.trimEnd())),{type:`sentence`,position:e.position,children:a(o,t)}})}function h(e,t){return i(e,(e,n,r)=>{if(e.type===`code`){let n=/^\n?(?: {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=n,n)for(let e=0;e<r.length;e++){let t=r[e];if(t.hasIndentedCodeblock)break;t.type===`list`&&(t.hasIndentedCodeblock=!0)}}return e})}function g(e,t){return i(e,(e,t,n)=>{if(e.type===`list`&&e.children.length>0){for(let t=0;t<n.length;t++){let r=n[t];if(r.type===`list`&&!r.isAligned)return e.isAligned=!1,e}e.isAligned=a(e)}return e});function n(e){return e.children.length===0?-1:e.children[0].position.start.column-1}function a(e){if(!e.ordered)return!0;let[i,a]=e.children;if(r(i,t.originalText).leadingSpaces.length>1)return!0;let o=n(i);return o===-1?!1:e.children.length===1?o%t.tabWidth===0:o===n(a)?o%t.tabWidth===0?!0:r(a,t.originalText).leadingSpaces.length>1:!1}}t.exports=s}}),gi=m({"src/language-markdown/clean.js"(e,t){b();var n=li(),{isFrontMatterNode:r}=Z(),{startWithPragma:i}=mi(),a=new Set([`position`,`raw`]);function o(e,t,a){if((e.type===`front-matter`||e.type===`code`||e.type===`yaml`||e.type===`import`||e.type===`export`||e.type===`jsx`)&&delete t.value,e.type===`list`&&delete t.isAligned,(e.type===`list`||e.type===`listItem`)&&(delete t.spread,delete t.loose),e.type===`text`||(e.type===`inlineCode`&&(t.value=e.value.replace(/[\t\n ]+/g,` `)),e.type===`wikiLink`&&(t.value=e.value.trim().replace(/[\t\n]+/g,` `)),(e.type===`definition`||e.type===`linkReference`||e.type===`imageReference`)&&(t.label=n(e.label)),(e.type===`definition`||e.type===`link`||e.type===`image`)&&e.title&&(t.title=e.title.replace(/\\(["')])/g,`$1`)),a&&a.type===`root`&&a.children.length>0&&(a.children[0]===e||r(a.children[0])&&a.children[1]===e)&&e.type===`html`&&i(e.value)))return null}o.ignoredProperties=a,t.exports=o}}),_i=m({"src/language-markdown/printer-markdown.js"(e,t){b();var n=li(),{getLast:r,getMinNotPresentContinuousCount:i,getMaxContinuousCount:a,getStringWidth:o,isNonEmptyArray:s}=Z(),{builders:{breakParent:c,join:l,line:u,literalline:d,markAsRoot:f,hardline:p,softline:m,ifBreak:h,fill:g,align:_,indent:v,group:y,hardlineWithoutBreakParent:x},utils:{normalizeDoc:S,replaceTextEndOfLine:C},printer:{printDocToString:w}}=H(),T=pi(),{insertPragma:E}=mi(),{locStart:D,locEnd:O}=ui(),k=hi(),A=gi(),{getFencedCodeBlockValue:j,hasGitDiffFriendlyOrderedList:M,splitText:N,punctuationPattern:P,INLINE_NODE_TYPES:F,INLINE_NODE_WRAPPER_TYPES:I,isAutolink:L}=fi(),R=new Set([`importExport`]),z=[`heading`,`tableCell`,`link`,`wikiLink`],B=new Set([`listItem`,`definition`,`footnoteDefinition`]);function V(e,t,n){let o=e.getValue();if(le(e))return N(t.originalText.slice(o.position.start.offset,o.position.end.offset),t).map(n=>n.type===`word`?n.value:n.value===``?``:J(e,n.value,t));switch(o.type){case`front-matter`:return t.originalText.slice(o.position.start.offset,o.position.end.offset);case`root`:return o.children.length===0?``:[S(ne(e,t,n)),R.has(ie(o).type)?``:p];case`paragraph`:return Y(e,t,n,{postprocessor:g});case`sentence`:return Y(e,t,n);case`word`:{let t=o.value.replace(/\*/g,`\\$&`).replace(new RegExp([`(^|${P})(_+)`,`(_+)(${P}|$)`].join(`|`),`g`),(e,t,n,r,i)=>(n?`${t}${n}`:`${r}${i}`).replace(/_/g,`\\_`)),n=(e,t,n)=>e.type===`sentence`&&n===0,r=(e,t,n)=>L(e.children[n-1]);return t!==o.value&&(e.match(void 0,n,r)||e.match(void 0,n,(e,t,n)=>e.type===`emphasis`&&n===0,r))&&(t=t.replace(/^(\\?[*_])+/,e=>e.replace(/\\/g,``))),t}case`whitespace`:{let n=e.getParentNode(),r=n.children.indexOf(o),i=n.children[r+1],a=i&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(i.value)?`never`:t.proseWrap;return J(e,o.value,{proseWrap:a})}case`emphasis`:{let i;if(L(o.children[0]))i=t.originalText[o.position.start.offset];else{let t=e.getParentNode(),n=t.children.indexOf(o),a=t.children[n-1],s=t.children[n+1];i=a&&a.type===`sentence`&&a.children.length>0&&r(a.children).type===`word`&&!r(a.children).hasTrailingPunctuation||s&&s.type===`sentence`&&s.children.length>0&&s.children[0].type===`word`&&!s.children[0].hasLeadingPunctuation||ee(e,`emphasis`)?`*`:`_`}return[i,Y(e,t,n),i]}case`strong`:return[`**`,Y(e,t,n),`**`];case`delete`:return[`~~`,Y(e,t,n),`~~`];case`inlineCode`:{let e=i(o.value,"`"),t="`".repeat(e||1),n=e&&!/^\s/.test(o.value)?` `:``;return[t,n,o.value,n,t]}case`wikiLink`:{let e=``;return e=t.proseWrap===`preserve`?o.value:o.value.replace(/[\t\n]+/g,` `),[`[[`,e,`]]`]}case`link`:switch(t.originalText[o.position.start.offset]){case`<`:{let e=`mailto:`;return[`<`,o.url.startsWith(e)&&t.originalText.slice(o.position.start.offset+1,o.position.start.offset+1+7)!==e?o.url.slice(7):o.url,`>`]}case`[`:return[`[`,Y(e,t,n),`](`,ue(o.url,`)`),de(o.title,t),`)`];default:return t.originalText.slice(o.position.start.offset,o.position.end.offset)}case`image`:return[``),de(o.title,t),`)`];case`blockquote`:return[`> `,_(`> `,Y(e,t,n))];case`heading`:return[`#`.repeat(o.depth)+` `,Y(e,t,n)];case`code`:{if(o.isIndented){let e=` `.repeat(4);return _(e,[e,...C(o.value,p)])}let e=t.__inJsTemplate?`~`:"`",n=e.repeat(Math.max(3,a(o.value,e)+1));return[n,o.lang||``,o.meta?` `+o.meta:``,p,...C(j(o,t.originalText),p),p,n]}case`html`:{let t=e.getParentNode(),n=t.type===`root`&&r(t.children)===o?o.value.trimEnd():o.value;return C(n,/^<!--.*-->$/s.test(n)?p:f(d))}case`list`:{let r=G(o,e.getParentNode()),i=M(o,t);return Y(e,t,n,{processor:(e,a)=>{let s=l(),c=e.getValue();if(c.children.length===2&&c.children[1].type===`html`&&c.children[0].position.start.column!==c.children[1].position.start.column)return[s,U(e,t,n,s)];return[s,_(` `.repeat(s.length),U(e,t,n,s))];function l(){let e=o.ordered?(a===0?o.start:i?1:o.start+a)+(r%2==0?`. `:`) `):r%2==0?`- `:`* `;return o.isAligned||o.hasIndentedCodeblock?W(e,t):e}}})}case`thematicBreak`:{let t=q(e,`list`);return t===-1?`---`:G(e.getParentNode(t),e.getParentNode(t+1))%2==0?`***`:`---`}case`linkReference`:return[`[`,Y(e,t,n),`]`,o.referenceType===`full`?X(o):o.referenceType===`collapsed`?`[]`:``];case`imageReference`:switch(o.referenceType){case`full`:return[`![`,o.alt||``,`]`,X(o)];default:return[`![`,o.alt,`]`,o.referenceType===`collapsed`?`[]`:``]}case`definition`:{let e=t.proseWrap===`always`?u:` `;return y([X(o),`:`,v([e,ue(o.url),o.title===null?``:[e,de(o.title,t,!1)]])])}case`footnote`:return[`[^`,Y(e,t,n),`]`];case`footnoteReference`:return me(o);case`footnoteDefinition`:{let r=e.getParentNode().children[e.getName()+1],i=o.children.length===1&&o.children[0].type===`paragraph`&&(t.proseWrap===`never`||t.proseWrap===`preserve`&&o.children[0].position.start.line===o.children[0].position.end.line);return[me(o),`: `,i?Y(e,t,n):y([_(` `.repeat(4),Y(e,t,n,{processor:(e,t)=>t===0?y([m,n()]):n()})),r&&r.type===`footnoteDefinition`?m:``])]}case`table`:return te(e,t,n);case`tableCell`:return Y(e,t,n);case`break`:return/\s/.test(t.originalText[o.position.start.offset])?[` `,f(d)]:[`\\`,p];case`liquidNode`:return C(o.value,p);case`importExport`:return[o.value,p];case`esComment`:return[`{/* `,o.value,` */}`];case`jsx`:return o.value;case`math`:return[`$$`,p,o.value?[...C(o.value,p),p]:``,`$$`];case`inlineMath`:return t.originalText.slice(D(o),O(o));default:throw Error(`Unknown markdown type ${JSON.stringify(o.type)}`)}}function U(e,t,n,r){let i=e.getValue(),a=i.checked===null?``:i.checked?`[x] `:`[ ] `;return[a,Y(e,t,n,{processor:(e,i)=>{if(i===0&&e.getValue().type!==`list`)return _(` `.repeat(a.length),n());let o=` `.repeat(fe(t.tabWidth-r.length,0,3));return[o,_(o,n())]}})]}function W(e,t){let n=r();return e+` `.repeat(n>=4?0:n);function r(){let n=e.length%t.tabWidth;return n===0?0:t.tabWidth-n}}function G(e,t){return K(e,t,t=>t.ordered===e.ordered)}function K(e,t,n){let r=-1;for(let i of t.children)if(i.type===e.type&&n(i)?r++:r=-1,i===e)return r}function q(e,t){let n=Array.isArray(t)?t:[t],r=-1,i;for(;i=e.getParentNode(++r);)if(n.includes(i.type))return r;return-1}function ee(e,t){let n=q(e,t);return n===-1?null:e.getParentNode(n)}function J(e,t,n){if(n.proseWrap===`preserve`&&t===`
|
|
234
|
-
`)return p;let r=n.proseWrap===`always`&&!ee(e,z);return t===``?r?m:``:r?u:` `}function te(e,t,n){let r=e.getValue(),i=[],a=e.map(e=>e.map((e,r)=>{let a=w(n(),t).formatted,s=o(a);return i[r]=Math.max(i[r]||3,s),{text:a,width:s}},`children`),`children`),s=u(!1);if(t.proseWrap!==`never`)return[c,s];return[c,y(h(u(!0),s))];function u(e){let t=[f(a[0],e),d(e)];return a.length>1&&t.push(l(x,a.slice(1).map(t=>f(t,e)))),l(x,t)}function d(e){return`| ${i.map((t,n)=>{let i=r.align[n],a=i===`center`||i===`left`?`:`:`-`,o=i===`center`||i===`right`?`:`:`-`;return`${a}${e?`-`:`-`.repeat(t-2)}${o}`}).join(` | `)} |`}function f(e,t){return`| ${e.map((e,n)=>{let{text:a,width:o}=e;if(t)return a;let s=i[n]-o,c=r.align[n],l=0;c===`right`?l=s:c===`center`&&(l=Math.floor(s/2));let u=s-l;return`${` `.repeat(l)}${a}${` `.repeat(u)}`}).join(` | `)} |`}}function ne(e,t,n){let r=[],i=null,{children:a}=e.getValue();for(let[e,t]of a.entries())switch(ae(t)){case`start`:i===null&&(i={index:e,offset:t.position.end.offset});break;case`end`:i!==null&&(r.push({start:i,end:{index:e,offset:t.position.start.offset}}),i=null);break;default:break}return Y(e,t,n,{processor:(e,i)=>{if(r.length>0){let e=r[0];if(i===e.start.index)return[re(a[e.start.index]),t.originalText.slice(e.start.offset,e.end.offset),re(a[e.end.index])];if(e.start.index<i&&i<e.end.index)return!1;if(i===e.end.index)return r.shift(),!1}return n()}})}function Y(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:i}=r,a=r.processor||(()=>n()),o=e.getValue(),s=[],c;return e.each((e,n)=>{let r=e.getValue(),i=a(e,n);if(i!==!1){let e={parts:s,prevNode:c,parentNode:o,options:t};oe(r,e)&&(s.push(p),c&&R.has(c.type)||(se(r,e)||ce(r,e))&&s.push(p),ce(r,e)&&s.push(p)),s.push(i),c=r}},`children`),i?i(s):s}function re(e){if(e.type===`html`)return e.value;if(e.type===`paragraph`&&Array.isArray(e.children)&&e.children.length===1&&e.children[0].type===`esComment`)return[`{/* `,e.children[0].value,` */}`]}function ie(e){let t=e;for(;s(t.children);)t=r(t.children);return t}function ae(e){let t;if(e.type===`html`)t=e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let n;e.type===`esComment`?n=e:e.type===`paragraph`&&e.children.length===1&&e.children[0].type===`esComment`&&(n=e.children[0]),n&&(t=n.value.match(/^prettier-ignore(?:-(start|end))?$/))}return t?t[1]||`next`:!1}function oe(e,t){let n=t.parts.length===0,r=F.includes(e.type),i=e.type===`html`&&I.includes(t.parentNode.type);return!n&&!r&&!i}function se(e,t){let n=(t.prevNode&&t.prevNode.type)===e.type&&B.has(e.type),r=t.parentNode.type===`listItem`&&!t.parentNode.loose,i=t.prevNode?.type===`listItem`&&t.prevNode.loose,a=ae(t.prevNode)===`next`,o=e.type===`html`&&t.prevNode?.type===`html`&&t.prevNode.position.end.line+1===e.position.start.line,s=e.type===`html`&&t.parentNode.type===`listItem`&&t.prevNode?.type===`paragraph`&&t.prevNode.position.end.line+1===e.position.start.line;return i||!(n||r||a||o||s)}function ce(e,t){let n=t.prevNode&&t.prevNode.type===`list`,r=e.type===`code`&&e.isIndented;return n&&r}function le(e){let t=ee(e,[`linkReference`,`imageReference`]);return t&&(t.type!==`linkReference`||t.referenceType!==`full`)}function ue(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[` `,...Array.isArray(t)?t:[t]];return new RegExp(n.map(e=>`\\${e}`).join(`|`)).test(e)?`<${e}>`:e}function de(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e)return``;if(n)return` `+de(e,t,!1);if(e=e.replace(/\\(["')])/g,`$1`),e.includes(`"`)&&e.includes(`'`)&&!e.includes(`)`))return`(${e})`;let r=e.split(`'`).length-1,i=e.split(`"`).length-1,a=r>i?`"`:i>r||t.singleQuote?`'`:`"`;return e=e.replace(/\\/,`\\\\`),e=e.replace(RegExp(`(${a})`,`g`),`\\$1`),`${a}${e}${a}`}function fe(e,t,n){return e<t?t:e>n?n:e}function pe(e){let t=Number(e.getName());if(t===0)return!1;let n=e.getParentNode().children[t-1];return ae(n)===`next`}function X(e){return`[${n(e.label)}]`}function me(e){return`[^${e.label}]`}t.exports={preprocess:k,print:V,embed:T,massageAstNode:A,hasPrettierIgnore:pe,insertPragma:E}}}),vi=m({"src/language-markdown/options.js"(e,t){b();var n=vr();t.exports={proseWrap:n.proseWrap,singleQuote:n.singleQuote}}}),yi=m({"src/language-markdown/parsers.js"(){b()}}),bi=m({"node_modules/linguist-languages/data/Markdown.json"(e,t){t.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}}}),xi=m({"src/language-markdown/index.js"(e,t){b();var n=Qt(),r=_i(),i=vi(),a=yi();t.exports={languages:[n(bi(),e=>({since:`1.8.0`,parsers:[`markdown`],vscodeLanguageIds:[`markdown`],filenames:[...e.filenames,`README`],extensions:e.extensions.filter(e=>e!==`.mdx`)})),n(bi(),()=>({name:`MDX`,since:`1.15.0`,parsers:[`mdx`],vscodeLanguageIds:[`mdx`],filenames:[],extensions:[`.mdx`]}))],options:i,printers:{mdast:r},parsers:a}}}),Si=m({"src/language-html/clean.js"(e,t){b();var{isFrontMatterNode:n}=Z(),r=new Set([`sourceSpan`,`startSourceSpan`,`endSourceSpan`,`nameSpan`,`valueSpan`]);function i(e,t){if(e.type===`text`||e.type===`comment`||n(e)||e.type===`yaml`||e.type===`toml`)return null;e.type===`attribute`&&delete t.value,e.type===`docType`&&delete t.value}i.ignoredProperties=r,t.exports=i}}),Ci=m({"src/language-html/constants.evaluate.js"(e,t){t.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`}}}),wi=m({"src/language-html/utils/is-unknown-namespace.js"(e,t){b();function n(e){return e.type===`element`&&!e.hasExplicitNamespace&&![`html`,`svg`].includes(e.namespace)}t.exports=n}}),Ti=m({"src/language-html/utils/index.js"(e,t){b();var{inferParserByLanguage:n,isFrontMatterNode:r}=Z(),{builders:{line:i,hardline:a,join:o},utils:{getDocParts:s,replaceTextEndOfLine:c}}=H(),{CSS_DISPLAY_TAGS:l,CSS_DISPLAY_DEFAULT:u,CSS_WHITE_SPACE_TAGS:d,CSS_WHITE_SPACE_DEFAULT:f}=Ci(),p=wi(),m=new Set([` `,`
|
|
235
|
-
`,`\f`,`\r`,` `]),h=e=>e.replace(/^[\t\n\f\r ]+/,``),g=e=>e.replace(/[\t\n\f\r ]+$/,``),_=e=>h(g(e)),v=e=>e.replace(/^[\t\f\r ]*\n/g,``),y=e=>v(g(e)),x=e=>e.split(/[\t\n\f\r ]+/),S=e=>e.match(/^[\t\n\f\r ]*/)[0],C=e=>{let[,t,n,r]=e.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:t,trailingWhitespace:r,text:n}},w=e=>/[\t\n\f\r ]/.test(e);function T(e,t){return!!(e.type===`ieConditionalComment`&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type===`ieConditionalComment`&&!e.complete||se(e)&&e.children.some(e=>e.type!==`text`&&e.type!==`interpolation`)||ve(e,t)&&!k(e)&&e.type!==`interpolation`)}function E(e){return e.type===`attribute`||!e.parent||!e.prev?!1:D(e.prev)}function D(e){return e.type===`comment`&&e.value.trim()===`prettier-ignore`}function O(e){return e.type===`text`||e.type===`comment`}function k(e){return e.type===`element`&&(e.fullName===`script`||e.fullName===`style`||e.fullName===`svg:style`||p(e)&&(e.name===`script`||e.name===`style`))}function A(e){return e.children&&!k(e)}function j(e){return k(e)||e.type===`interpolation`||M(e)}function M(e){return de(e).startsWith(`pre`)}function N(e,t){let n=i();if(n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf)return e.type===`interpolation`;return n;function i(){return r(e)?!1:(e.type===`text`||e.type===`interpolation`)&&e.prev&&(e.prev.type===`text`||e.prev.type===`interpolation`)?!0:!e.parent||e.parent.cssDisplay===`none`?!1:se(e.parent)?!0:!(!e.prev&&(e.parent.type===`root`||se(e)&&e.parent||k(e.parent)||ge(e.parent,t)||!Y(e.parent.cssDisplay))||e.prev&&!ae(e.prev.cssDisplay))}}function P(e,t){return r(e)?!1:(e.type===`text`||e.type===`interpolation`)&&e.next&&(e.next.type===`text`||e.next.type===`interpolation`)?!0:!e.parent||e.parent.cssDisplay===`none`?!1:se(e.parent)?!0:!(!e.next&&(e.parent.type===`root`||se(e)&&e.parent||k(e.parent)||ge(e.parent,t)||!re(e.parent.cssDisplay))||e.next&&!ie(e.next.cssDisplay))}function F(e){return oe(e.cssDisplay)&&!k(e)}function I(e){return r(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line}function L(e){return R(e)||e.type===`element`&&e.children.length>0&&([`body`,`script`,`style`].includes(e.name)||e.children.some(e=>q(e)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!==`text`&&U(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||W(e.lastChild))}function R(e){return e.type===`element`&&e.children.length>0&&([`html`,`head`,`ul`,`ol`,`select`].includes(e.name)||e.cssDisplay.startsWith(`table`)&&e.cssDisplay!==`table-cell`)}function z(e){return G(e)||e.prev&&B(e.prev)||V(e)}function B(e){return G(e)||e.type===`element`&&e.fullName===`br`||V(e)}function V(e){return U(e)&&W(e)}function U(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:e.parent.type===`root`||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function W(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:e.parent.type===`root`||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function G(e){switch(e.type){case`ieConditionalComment`:case`comment`:case`directive`:return!0;case`element`:return[`script`,`select`].includes(e.name)}return!1}function K(e){return e.lastChild?K(e.lastChild):e}function q(e){return e.children&&e.children.some(e=>e.type!==`text`)}function ee(e){let{type:t,lang:n}=e.attrMap;if(t===`module`||t===`text/javascript`||t===`text/babel`||t===`application/javascript`||n===`jsx`)return`babel`;if(t===`application/x-typescript`||n===`ts`||n===`tsx`)return`typescript`;if(t===`text/markdown`)return`markdown`;if(t===`text/html`)return`html`;if(t&&(t.endsWith(`json`)||t.endsWith(`importmap`))||t===`speculationrules`)return`json`;if(t===`text/x-handlebars-template`)return`glimmer`}function J(e,t){let{lang:r}=e.attrMap;if(!r||r===`postcss`||r===`css`)return`css`;if(r===`scss`)return`scss`;if(r===`less`)return`less`;if(r===`stylus`)return n(`stylus`,t)}function te(e,t){if(e.name===`script`&&!e.attrMap.src)return!e.attrMap.lang&&!e.attrMap.type?`babel`:ee(e);if(e.name===`style`)return J(e,t);if(t&&ve(e,t))return ee(e)||!(`src`in e.attrMap)&&n(e.attrMap.lang,t)}function ne(e){return e===`block`||e===`list-item`||e.startsWith(`table`)}function Y(e){return!ne(e)&&e!==`inline-block`}function re(e){return!ne(e)&&e!==`inline-block`}function ie(e){return!ne(e)}function ae(e){return!ne(e)}function oe(e){return!ne(e)&&e!==`inline-block`}function se(e){return de(e).startsWith(`pre`)}function ce(e,t){let n=0;for(let r=e.stack.length-1;r>=0;r--){let i=e.stack[r];i&&typeof i==`object`&&!Array.isArray(i)&&t(i)&&n++}return n}function le(e,t){let n=e;for(;n;){if(t(n))return!0;n=n.parent}return!1}function ue(e,t){if(e.prev&&e.prev.type===`comment`){let t=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(t)return t[1]}let n=!1;if(e.type===`element`&&e.namespace===`svg`)if(le(e,e=>e.fullName===`svg:foreignObject`))n=!0;else return e.name===`svg`?`inline-block`:`block`;switch(t.htmlWhitespaceSensitivity){case`strict`:return`inline`;case`ignore`:return`block`;default:return t.parser===`vue`&&e.parent&&e.parent.type===`root`?`block`:e.type===`element`&&(!e.namespace||n||p(e))&&l[e.name]||u}}function de(e){return e.type===`element`&&(!e.namespace||p(e))&&d[e.name]||f}function fe(e){let t=1/0;for(let n of e.split(`
|
|
236
|
-
`)){if(n.length===0)continue;if(!m.has(n[0]))return 0;let e=S(n).length;n.length!==e&&e<t&&(t=e)}return t===1/0?0:t}function pe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fe(e);return t===0?e:e.split(`
|
|
237
|
-
`).map(e=>e.slice(t)).join(`
|
|
238
|
-
`)}function X(e,t){let n=0;for(let r=0;r<e.length;r++)e[r]===t&&n++;return n}function me(e){return e.replace(/'/g,`'`).replace(/"/g,`"`)}var he=new Set([`template`,`style`,`script`]);function ge(e,t){return _e(e,t)&&!he.has(e.fullName)}function _e(e,t){return t.parser===`vue`&&e.type===`element`&&e.parent.type===`root`&&e.fullName.toLowerCase()!==`html`}function ve(e,t){return _e(e,t)&&(ge(e,t)||e.attrMap.lang&&e.attrMap.lang!==`html`)}function ye(e){let t=e.fullName;return t.charAt(0)===`#`||t===`slot-scope`||t===`v-slot`||t.startsWith(`v-slot:`)}function be(e,t){let n=e.parent;if(!_e(n,t))return!1;let r=n.fullName,i=e.fullName;return r===`script`&&i===`setup`||r===`style`&&i===`vars`}function xe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?c(t):c(pe(y(t)),a):s(o(i,x(t)))}function Se(e,t){return _e(e,t)&&e.name===`script`}t.exports={htmlTrim:_,htmlTrimPreserveIndentation:y,hasHtmlWhitespace:w,getLeadingAndTrailingHtmlWhitespace:C,canHaveInterpolation:A,countChars:X,countParents:ce,dedentString:pe,forceBreakChildren:R,forceBreakContent:L,forceNextEmptyLine:I,getLastDescendant:K,getNodeCssStyleDisplay:ue,getNodeCssStyleWhiteSpace:de,hasPrettierIgnore:E,inferScriptParser:te,isVueCustomBlock:ge,isVueNonHtmlBlock:ve,isVueScriptTag:Se,isVueSlotAttribute:ye,isVueSfcBindingsAttribute:be,isVueSfcBlock:_e,isDanglingSpaceSensitiveNode:F,isIndentationSensitiveNode:M,isLeadingSpaceSensitiveNode:N,isPreLikeNode:se,isScriptLikeTag:k,isTextLikeNode:O,isTrailingSpaceSensitiveNode:P,isWhitespaceSensitiveNode:j,isUnknownNamespace:p,preferHardlineAsLeadingSpaces:z,preferHardlineAsTrailingSpaces:B,shouldPreserveContent:T,unescapeQuoteEntities:me,getTextValueParts:xe}}}),Ei=m({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96;function t(t){return t>=e.$TAB&&t<=e.$SPACE||t==e.$NBSP}e.isWhitespace=t;function n(t){return e.$0<=t&&t<=e.$9}e.isDigit=n;function r(t){return t>=e.$a&&t<=e.$z||t>=e.$A&&t<=e.$Z}e.isAsciiLetter=r;function i(t){return t>=e.$a&&t<=e.$f||t>=e.$A&&t<=e.$F||n(t)}e.isAsciiHexDigit=i;function a(t){return t===e.$LF||t===e.$CR}e.isNewLine=a;function o(t){return e.$0<=t&&t<=e.$7}e.isOctalDigit=o}}),Di=m({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0});var t=class{constructor(e,t,n){this.filePath=e,this.name=t,this.members=n}assertNoMembers(){if(this.members.length)throw Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};e.StaticSymbol=t,e.StaticSymbolCache=class{constructor(){this.cache=new Map}get(e,n,r){r||=[];let i=`"${e}".${n}${r.length?`.${r.join(`.`)}`:``}`,a=this.cache.get(i);return a||(a=new t(e,n,r),this.cache.set(i,a)),a}}}}),Oi=m({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0});var t=/-+([a-z0-9])/g;function n(e){return e.replace(t,function(){return[...arguments][1].toUpperCase()})}e.dashCaseToCamelCase=n;function r(e,t){return a(e,`:`,t)}e.splitAtColon=r;function i(e,t){return a(e,`.`,t)}e.splitAtPeriod=i;function a(e,t,n){let r=e.indexOf(t);return r==-1?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function o(e,t,n){return Array.isArray(e)?t.visitArray(e,n):_(e)?t.visitStringMap(e,n):e==null||typeof e==`string`||typeof e==`number`||typeof e==`boolean`?t.visitPrimitive(e,n):t.visitOther(e,n)}e.visitValue=o;function s(e){return e!=null}e.isDefined=s;function c(e){return e===void 0?null:e}e.noUndefined=c,e.ValueTransformer=class{visitArray(e,t){return e.map(e=>o(e,this,t))}visitStringMap(e,t){let n={};return Object.keys(e).forEach(r=>{n[r]=o(e[r],this,t)}),n}visitPrimitive(e,t){return e}visitOther(e,t){return e}},e.SyncAsync={assertSync:e=>{if(S(e))throw Error(`Illegal state: value cannot be a promise`);return e},then:(e,t)=>S(e)?e.then(t):t(e),all:e=>e.some(S)?Promise.all(e):e};function l(e){throw Error(`Internal Error: ${e}`)}e.error=l;function u(e,t){let n=Error(e);return n[d]=!0,t&&(n[f]=t),n}e.syntaxError=u;var d=`ngSyntaxError`,f=`ngParseErrors`;function p(e){return e[d]}e.isSyntaxError=p;function m(e){return e[f]||[]}e.getParseErrors=m;function h(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,`\\$1`)}e.escapeRegExp=h;var g=Object.getPrototypeOf({});function _(e){return typeof e==`object`&&!!e&&Object.getPrototypeOf(e)===g}function v(e){let t=``;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r>=55296&&r<=56319&&e.length>n+1){let t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(n++,r=(r-55296<<10)+t-56320+65536)}r<=127?t+=String.fromCharCode(r):r<=2047?t+=String.fromCharCode(r>>6&31|192,r&63|128):r<=65535?t+=String.fromCharCode(r>>12|224,r>>6&63|128,r&63|128):r<=2097151&&(t+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,r&63|128))}return t}e.utf8Encode=v;function y(e){if(typeof e==`string`)return e;if(e instanceof Array)return`[`+e.map(y).join(`, `)+`]`;if(e==null)return``+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;if(!e.toString)return`object`;let t=e.toString();if(t==null)return``+t;let n=t.indexOf(`
|
|
239
|
-
`);return n===-1?t:t.substring(0,n)}e.stringify=y;function x(e){return typeof e==`function`&&e.hasOwnProperty(`__forward_ref__`)?e():e}e.resolveForwardRef=x;function S(e){return!!e&&typeof e.then==`function`}e.isPromise=S,e.Version=class{constructor(e){this.full=e;let t=e.split(`.`);this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(`.`)}};var C=typeof window<`u`&&window,w=typeof self<`u`&&typeof WorkerGlobalScope<`u`&&self instanceof WorkerGlobalScope&&self;e.global=typeof globalThis<`u`&&globalThis||C||w}}),ki=m({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0});var t=Di(),n=Oi(),r=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function i(e){return e.replace(/\W/g,`_`)}e.sanitizeIdentifier=i;var a=0;function o(e){if(!e||!e.reference)return null;let r=e.reference;if(r instanceof t.StaticSymbol)return r.name;if(r.__anonymousType)return r.__anonymousType;let o=n.stringify(r);return o.indexOf(`(`)>=0?(o=`anonymous_${a++}`,r.__anonymousType=o):o=i(o),o}e.identifierName=o;function s(e){let r=e.reference;return r instanceof t.StaticSymbol?r.filePath:`./${n.stringify(r)}`}e.identifierModuleUrl=s;function c(e,t){return`View_${o({reference:e})}_${t}`}e.viewClassName=c;function l(e){return`RenderType_${o({reference:e})}`}e.rendererTypeName=l;function u(e){return`HostView_${o({reference:e})}`}e.hostViewClassName=u;function d(e){return`${o({reference:e})}NgFactory`}e.componentFactoryName=d;var f;(function(e){e[e.Pipe=0]=`Pipe`,e[e.Directive=1]=`Directive`,e[e.NgModule=2]=`NgModule`,e[e.Injectable=3]=`Injectable`})(f=e.CompileSummaryKind||={});function p(e){return e.value==null?o(e.identifier):i(e.value)}e.tokenName=p;function m(e){return e.identifier==null?e.value:e.identifier.reference}e.tokenReference=m,e.CompileStylesheetMetadata=class{constructor(){let{moduleUrl:e,styles:t,styleUrls:n}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=e||null,this.styles=g(t),this.styleUrls=g(n)}},e.CompileTemplateMetadata=class{constructor(e){let{encapsulation:t,template:n,templateUrl:r,htmlAst:i,styles:a,styleUrls:o,externalStylesheets:s,animations:c,ngContentSelectors:l,interpolation:u,isInline:d,preserveWhitespaces:f}=e;if(this.encapsulation=t,this.template=n,this.templateUrl=r,this.htmlAst=i,this.styles=g(a),this.styleUrls=g(o),this.externalStylesheets=g(s),this.animations=c?_(c):[],this.ngContentSelectors=l||[],u&&u.length!=2)throw Error(`'interpolation' should have a start and an end symbol.`);this.interpolation=u,this.isInline=d,this.preserveWhitespaces=f}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};var h=class{static create(e){let{isHost:t,type:i,isComponent:a,selector:o,exportAs:s,changeDetection:c,inputs:l,outputs:u,host:d,providers:f,viewProviders:p,queries:m,guards:g,viewQueries:_,entryComponents:v,template:y,componentViewType:b,rendererType:x,componentFactory:S}=e,C={},w={},T={};d!=null&&Object.keys(d).forEach(e=>{let t=d[e],n=e.match(r);n===null?T[e]=t:n[1]==null?n[2]!=null&&(C[n[2]]=t):w[n[1]]=t});let E={};l?.forEach(e=>{let t=n.splitAtColon(e,[e,e]);E[t[0]]=t[1]});let D={};return u?.forEach(e=>{let t=n.splitAtColon(e,[e,e]);D[t[0]]=t[1]}),new h({isHost:t,type:i,isComponent:!!a,selector:o,exportAs:s,changeDetection:c,inputs:E,outputs:D,hostListeners:C,hostProperties:w,hostAttributes:T,providers:f,viewProviders:p,queries:m,guards:g,viewQueries:_,entryComponents:v,template:y,componentViewType:b,rendererType:x,componentFactory:S})}constructor(e){let{isHost:t,type:n,isComponent:r,selector:i,exportAs:a,changeDetection:o,inputs:s,outputs:c,hostListeners:l,hostProperties:u,hostAttributes:d,providers:f,viewProviders:p,queries:m,guards:h,viewQueries:_,entryComponents:v,template:y,componentViewType:b,rendererType:x,componentFactory:S}=e;this.isHost=!!t,this.type=n,this.isComponent=r,this.selector=i,this.exportAs=a,this.changeDetection=o,this.inputs=s,this.outputs=c,this.hostListeners=l,this.hostProperties=u,this.hostAttributes=d,this.providers=g(f),this.viewProviders=g(p),this.queries=g(m),this.guards=h,this.viewQueries=g(_),this.entryComponents=g(v),this.template=y,this.componentViewType=b,this.rendererType=x,this.componentFactory=S}toSummary(){return{summaryKind:f.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}}};e.CompileDirectiveMetadata=h,e.CompilePipeMetadata=class{constructor(e){let{type:t,name:n,pure:r}=e;this.type=t,this.name=n,this.pure=!!r}toSummary(){return{summaryKind:f.Pipe,type:this.type,name:this.name,pure:this.pure}}},e.CompileShallowModuleMetadata=class{},e.CompileNgModuleMetadata=class{constructor(e){let{type:t,providers:n,declaredDirectives:r,exportedDirectives:i,declaredPipes:a,exportedPipes:o,entryComponents:s,bootstrapComponents:c,importedModules:l,exportedModules:u,schemas:d,transitiveModule:f,id:p}=e;this.type=t||null,this.declaredDirectives=g(r),this.exportedDirectives=g(i),this.declaredPipes=g(a),this.exportedPipes=g(o),this.providers=g(n),this.entryComponents=g(s),this.bootstrapComponents=g(c),this.importedModules=g(l),this.exportedModules=g(u),this.schemas=g(d),this.id=p||null,this.transitiveModule=f||null}toSummary(){let e=this.transitiveModule;return{summaryKind:f.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}},e.TransitiveCompileNgModuleMetadata=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(e,t){this.providers.push({provider:e,module:t})}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}};function g(e){return e||[]}e.ProviderMeta=class{constructor(e,t){let{useClass:n,useValue:r,useExisting:i,useFactory:a,deps:o,multi:s}=t;this.token=e,this.useClass=n||null,this.useValue=r,this.useExisting=i,this.useFactory=a||null,this.dependencies=o||null,this.multi=!!s}};function _(e){return e.reduce((e,t)=>{let n=Array.isArray(t)?_(t):t;return e.concat(n)},[])}e.flatten=_;function v(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,`ng:///`)}function y(e,n,r){let i;return i=r.isInline?n.type.reference instanceof t.StaticSymbol?`${n.type.reference.filePath}.${n.type.reference.name}.html`:`${o(e)}/${o(n.type)}.html`:r.templateUrl,n.type.reference instanceof t.StaticSymbol?i:v(i)}e.templateSourceUrl=y;function x(e,t){let n=e.moduleUrl.split(/\/\\/g),r=n[n.length-1];return v(`css/${t}${r}.ngstyle.js`)}e.sharedStylesheetJitUrl=x;function S(e){return v(`${o(e.type)}/module.ngfactory.js`)}e.ngModuleJitUrl=S;function C(e,t){return v(`${o(e)}/${o(t.type)}.ngfactory.js`)}e.templateJitUrl=C}}),Ai=m({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){b(),Object.defineProperty(e,`__esModule`,{value:!0});var t=Ei(),n=ki(),r=class{constructor(e,t,n,r){this.file=e,this.offset=t,this.line=n,this.col=r}toString(){return this.offset==null?this.file.url:`${this.file.url}@${this.line}:${this.col}`}moveBy(e){let n=this.file.content,i=n.length,a=this.offset,o=this.line,s=this.col;for(;a>0&&e<0;)if(a--,e++,n.charCodeAt(a)==t.$LF){o--;let e=n.substr(0,a-1).lastIndexOf(String.fromCharCode(t.$LF));s=e>0?a-e:a}else s--;for(;a<i&&e>0;){let r=n.charCodeAt(a);a++,e--,r==t.$LF?(o++,s=0):s++}return new r(this.file,a,o,s)}getContext(e,t){let n=this.file.content,r=this.offset;if(r!=null){r>n.length-1&&(r=n.length-1);let i=r,a=0,o=0;for(;a<e&&r>0&&(r--,a++,!(n[r]==`
|
|
240
|
-
`&&++o==t)););for(a=0,o=0;a<e&&i<n.length-1&&(i++,a++,!(n[i]==`
|
|
241
|
-
`&&++o==t)););return{before:n.substring(r,this.offset),after:n.substring(this.offset,i+1)}}return null}};e.ParseLocation=r;var i=class{constructor(e,t){this.content=e,this.url=t}};e.ParseSourceFile=i;var a=class{constructor(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=e,this.end=t,this.details=n}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=a,e.EMPTY_PARSE_LOCATION=new r(new i(``,``),0,0,0),e.EMPTY_SOURCE_SPAN=new a(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION);var o;(function(e){e[e.WARNING=0]=`WARNING`,e[e.ERROR=1]=`ERROR`})(o=e.ParseErrorLevel||={}),e.ParseError=class{constructor(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:o.ERROR;this.span=e,this.msg=t,this.level=n}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${o[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:``;return`${this.contextualMessage()}: ${this.span.start}${e}`}};function s(e,t){let o=n.identifierModuleUrl(t),s=new i(``,o==null?`in ${e} ${n.identifierName(t)}`:`in ${e} ${n.identifierName(t)} in ${o}`);return new a(new r(s,-1,-1,-1),new r(s,-1,-1,-1))}e.typeSourceSpan=s;function c(e,t,n){let o=new i(``,`in ${e} ${t} in ${n}`);return new a(new r(o,-1,-1,-1),new r(o,-1,-1,-1))}e.r3JitTypeSourceSpan=c}}),ji=m({"src/language-html/print-preprocess.js"(e,t){b();var{ParseSourceSpan:n}=Ai(),{htmlTrim:r,getLeadingAndTrailingHtmlWhitespace:i,hasHtmlWhitespace:a,canHaveInterpolation:o,getNodeCssStyleDisplay:s,isDanglingSpaceSensitiveNode:c,isIndentationSensitiveNode:l,isLeadingSpaceSensitiveNode:u,isTrailingSpaceSensitiveNode:d,isWhitespaceSensitiveNode:f,isVueScriptTag:p}=Ti(),m=[g,_,y,S,C,E,w,T,D,x,O];function h(e,t){for(let n of m)n(e,t);return e}function g(e){e.walk(e=>{if(e.type===`element`&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&e.children[0].type===`text`&&e.children[0].value[0]===`
|
|
242
|
-
`){let t=e.children[0];t.value.length===1?e.removeChild(t):t.value=t.value.slice(1)}})}function _(e){let t=e=>e.type===`element`&&e.prev&&e.prev.type===`ieConditionalStartComment`&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&e.firstChild.type===`ieConditionalEndComment`&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset;e.walk(e=>{if(e.children)for(let r=0;r<e.children.length;r++){let i=e.children[r];if(!t(i))continue;let a=i.prev,o=i.firstChild;e.removeChild(a),r--;let s=new n(a.sourceSpan.start,o.sourceSpan.end),c=new n(s.start,i.sourceSpan.end);i.condition=a.condition,i.sourceSpan=c,i.startSourceSpan=s,i.removeChild(o)}})}function v(e,t,r){e.walk(e=>{if(e.children)for(let i=0;i<e.children.length;i++){let a=e.children[i];if(a.type!==`text`&&!t(a))continue;a.type!==`text`&&(a.type=`text`,a.value=r(a));let o=a.prev;!o||o.type!==`text`||(o.value+=a.value,o.sourceSpan=new n(o.sourceSpan.start,a.sourceSpan.end),e.removeChild(a),i--)}})}function y(e){return v(e,e=>e.type===`cdata`,e=>`<![CDATA[${e.value}]]>`)}function x(e){let t=e=>e.type===`element`&&e.attrs.length===0&&e.children.length===1&&e.firstChild.type===`text`&&!a(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&e.prev.type===`text`&&e.next&&e.next.type===`text`;e.walk(e=>{if(e.children)for(let r=0;r<e.children.length;r++){let i=e.children[r];if(!t(i))continue;let a=i.prev,o=i.next;a.value+=`<${i.rawName}>`+i.firstChild.value+`</${i.rawName}>`+o.value,a.sourceSpan=new n(a.sourceSpan.start,o.sourceSpan.end),a.isTrailingSpaceSensitive=o.isTrailingSpaceSensitive,a.hasTrailingSpaces=o.hasTrailingSpaces,e.removeChild(i),r--,e.removeChild(o)}})}function S(e,t){if(t.parser===`html`)return;let r=/{{(.+?)}}/s;e.walk(e=>{if(o(e))for(let t of e.children){if(t.type!==`text`)continue;let i=t.sourceSpan.start,a=null,o=t.value.split(r);for(let r=0;r<o.length;r++,i=a){let s=o[r];if(r%2==0){a=i.moveBy(s.length),s.length>0&&e.insertChildBefore(t,{type:`text`,value:s,sourceSpan:new n(i,a)});continue}a=i.moveBy(s.length+4),e.insertChildBefore(t,{type:`interpolation`,sourceSpan:new n(i,a),children:s.length===0?[]:[{type:`text`,value:s,sourceSpan:new n(i.moveBy(2),a.moveBy(-2))}]})}e.removeChild(t)}})}function C(e){e.walk(e=>{if(!e.children)return;if(e.children.length===0||e.children.length===1&&e.children[0].type===`text`&&r(e.children[0].value).length===0){e.hasDanglingSpaces=e.children.length>0,e.children=[];return}let t=f(e),a=l(e);if(!t)for(let t=0;t<e.children.length;t++){let r=e.children[t];if(r.type!==`text`)continue;let{leadingWhitespace:a,text:o,trailingWhitespace:s}=i(r.value),c=r.prev,l=r.next;o?(r.value=o,r.sourceSpan=new n(r.sourceSpan.start.moveBy(a.length),r.sourceSpan.end.moveBy(-s.length)),a&&(c&&(c.hasTrailingSpaces=!0),r.hasLeadingSpaces=!0),s&&(r.hasTrailingSpaces=!0,l&&(l.hasLeadingSpaces=!0))):(e.removeChild(r),t--,(a||s)&&(c&&(c.hasTrailingSpaces=!0),l&&(l.hasLeadingSpaces=!0)))}e.isWhitespaceSensitive=t,e.isIndentationSensitive=a})}function w(e){e.walk(e=>{e.isSelfClosing=!e.children||e.type===`element`&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)})}function T(e,t){e.walk(e=>{e.type===`element`&&(e.hasHtmComponentClosingTag=e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset)))})}function E(e,t){e.walk(e=>{e.cssDisplay=s(e,t)})}function D(e,t){e.walk(e=>{let{children:n}=e;if(n){if(n.length===0){e.isDanglingSpaceSensitive=c(e);return}for(let e of n)e.isLeadingSpaceSensitive=u(e,t),e.isTrailingSpaceSensitive=d(e,t);for(let e=0;e<n.length;e++){let t=n[e];t.isLeadingSpaceSensitive=(e===0||t.prev.isTrailingSpaceSensitive)&&t.isLeadingSpaceSensitive,t.isTrailingSpaceSensitive=(e===n.length-1||t.next.isLeadingSpaceSensitive)&&t.isTrailingSpaceSensitive}}})}function O(e,t){if(t.parser===`vue`){let n=e.children.find(e=>p(e,t));if(!n)return;let{lang:r}=n.attrMap;(r===`ts`||r===`typescript`)&&(t.__should_parse_vue_template_with_ts=!0)}}t.exports=h}}),Mi=m({"src/language-html/pragma.js"(e,t){b();function n(e){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(e)}function r(e){return`<!-- @format -->
|
|
243
|
-
|
|
244
|
-
`+e.replace(/^\s*\n/,``)}t.exports={hasPragma:n,insertPragma:r}}}),Ni=m({"src/language-html/loc.js"(e,t){b();function n(e){return e.sourceSpan.start.offset}function r(e){return e.sourceSpan.end.offset}t.exports={locStart:n,locEnd:r}}}),Pi=m({"src/language-html/print/tag.js"(e,t){b();var n=Wt(),{isNonEmptyArray:r}=Z(),{builders:{indent:i,join:a,line:o,softline:s,hardline:c},utils:{replaceTextEndOfLine:l}}=H(),{locStart:u,locEnd:d}=Ni(),{isTextLikeNode:f,getLastDescendant:p,isPreLikeNode:m,hasPrettierIgnore:h,shouldPreserveContent:g,isVueSfcBlock:_}=Ti();function v(e,t){return[e.isSelfClosing?``:y(e,t),x(e,t)]}function y(e,t){return e.lastChild&&k(e.lastChild)?``:[S(e,t),w(e,t)]}function x(e,t){return(e.next?D(e.next):O(e.parent))?``:[T(e,t),C(e,t)]}function S(e,t){return O(e)?T(e.lastChild,t):``}function C(e,t){return k(e)?w(e.parent,t):A(e)?R(e.next):``}function w(e,t){if(n(!e.isSelfClosing),E(e,t))return``;switch(e.type){case`ieConditionalComment`:return`<!`;case`element`:if(e.hasHtmComponentClosingTag)return`<//`;default:return`</${e.rawName}`}}function T(e,t){if(E(e,t))return``;switch(e.type){case`ieConditionalComment`:case`ieConditionalEndComment`:return`[endif]-->`;case`ieConditionalStartComment`:return`]><!-->`;case`interpolation`:return`}}`;case`element`:if(e.isSelfClosing)return`/>`;default:return`>`}}function E(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(h(e)||g(e.parent,t))}function D(e){return e.prev&&e.prev.type!==`docType`&&!f(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function O(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!f(p(e.lastChild))&&!m(e)}function k(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&f(p(e))}function A(e){return e.next&&!f(e.next)&&f(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function j(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return t?t[1]?t[1].split(/\s+/):!0:!1}function M(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function N(e,t,n){let f=e.getValue();if(!r(f.attrs))return f.isSelfClosing?` `:``;let p=f.prev&&f.prev.type===`comment`&&j(f.prev.value),m=typeof p==`boolean`?()=>p:Array.isArray(p)?e=>p.includes(e.rawName):()=>!1,h=e.map(e=>{let r=e.getValue();return m(r)?l(t.originalText.slice(u(r),d(r))):n()},`attrs`),g=f.type===`element`&&f.fullName===`script`&&f.attrs.length===1&&f.attrs[0].fullName===`src`&&f.children.length===0,v=t.singleAttributePerLine&&f.attrs.length>1&&!_(f,t)?c:o,y=[i([g?` `:o,a(v,h)])];return f.firstChild&&M(f.firstChild)||f.isSelfClosing&&O(f.parent)||g?y.push(f.isSelfClosing?` `:``):y.push(t.bracketSameLine?f.isSelfClosing?` `:``:f.isSelfClosing?o:s),y}function P(e){return e.firstChild&&M(e.firstChild)?``:z(e)}function F(e,t,n){let r=e.getValue();return[I(r,t),N(e,t,n),r.isSelfClosing?``:P(r)]}function I(e,t){return e.prev&&A(e.prev)?``:[L(e,t),R(e)]}function L(e,t){return M(e)?z(e.parent):D(e)?T(e.prev,t):``}function R(e){switch(e.type){case`ieConditionalComment`:case`ieConditionalStartComment`:return`<!--[if ${e.condition}`;case`ieConditionalEndComment`:return`<!--<!`;case`interpolation`:return`{{`;case`docType`:return`<!DOCTYPE`;case`element`:if(e.condition)return`<!--[if ${e.condition}]><!--><${e.rawName}`;default:return`<${e.rawName}`}}function z(e){switch(n(!e.isSelfClosing),e.type){case`ieConditionalComment`:return`]>`;case`element`:if(e.condition)return`><!--<![endif]-->`;default:return`>`}}t.exports={printClosingTag:v,printClosingTagStart:y,printClosingTagStartMarker:w,printClosingTagEndMarker:T,printClosingTagSuffix:C,printClosingTagEnd:x,needsToBorrowLastChildClosingTagEndMarker:O,needsToBorrowParentClosingTagStartMarker:k,needsToBorrowPrevClosingTagEndMarker:D,printOpeningTag:F,printOpeningTagStart:I,printOpeningTagPrefix:L,printOpeningTagStartMarker:R,printOpeningTagEndMarker:z,needsToBorrowNextOpeningTagStartMarker:A,needsToBorrowParentOpeningTagEndMarker:M}}}),Fi=m({"node_modules/parse-srcset/src/parse-srcset.js"(e,t){b(),function(e,n){typeof define==`function`&&define.amd?define([],n):typeof t==`object`&&t.exports?t.exports=n():e.parseSrcset=n()}(e,function(){return function(e,t){var n=t&&t.logger||console;function r(e){return e===` `||e===` `||e===`
|
|
245
|
-
`||e===`\f`||e===`\r`}function i(t){var n,r=t.exec(e.substring(_));if(r)return n=r[0],_+=n.length,n}for(var a=e.length,o=/^[ \t\n\r\u000c]+/,s=/^[, \t\n\r\u000c]+/,c=/^[^ \t\n\r\u000c]+/,l=/[,]+$/,u=/^\d+$/,d=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,f,p,m,h,g,_=0,v=[];;){if(i(s),_>=a)return v;f=i(c),p=[],f.slice(-1)===`,`?(f=f.replace(l,``),b()):y()}function y(){for(i(o),m=``,h=`in descriptor`;;){if(g=e.charAt(_),h===`in descriptor`)if(r(g))m&&(p.push(m),m=``,h=`after descriptor`);else if(g===`,`){_+=1,m&&p.push(m),b();return}else if(g===`(`)m+=g,h=`in parens`;else if(g===``){m&&p.push(m),b();return}else m+=g;else if(h===`in parens`)if(g===`)`)m+=g,h=`in descriptor`;else if(g===``){p.push(m),b();return}else m+=g;else if(h===`after descriptor`&&!r(g))if(g===``){b();return}else h=`in descriptor`,--_;_+=1}}function b(){var t=!1,r,i,a,o,s={},c,l,m,h,g;for(o=0;o<p.length;o++)c=p[o],l=c[c.length-1],m=c.substring(0,c.length-1),h=parseInt(m,10),g=parseFloat(m),u.test(m)&&l===`w`?((r||i)&&(t=!0),h===0?t=!0:r=h):d.test(m)&&l===`x`?((r||i||a)&&(t=!0),g<0?t=!0:i=g):u.test(m)&&l===`h`?((a||i)&&(t=!0),h===0?t=!0:a=h):t=!0;t?n&&n.error&&n.error(`Invalid srcset descriptor found in '`+e+`' at '`+c+`'.`):(s.url=f,r&&(s.w=r),i&&(s.d=i),a&&(s.h=a),v.push(s))}}})}}),Ii=m({"src/language-html/syntax-attribute.js"(e,t){b();var n=Fi(),{builders:{ifBreak:r,join:i,line:a}}=H();function o(e){let t=n(e,{logger:{error(e){throw Error(e)}}}),o=t.some(e=>{let{w:t}=e;return t}),s=t.some(e=>{let{h:t}=e;return t}),c=t.some(e=>{let{d:t}=e;return t});if(o+s+c>1)throw Error(`Mixed descriptor in srcset is not supported`);let l=o?`w`:s?`h`:`d`,u=o?`w`:s?`h`:`x`,d=e=>Math.max(...e),f=t.map(e=>e.url),p=d(f.map(e=>e.length)),m=t.map(e=>e[l]).map(e=>e?e.toString():``),h=m.map(e=>{let t=e.indexOf(`.`);return t===-1?e.length:t}),g=d(h);return i([`,`,a],f.map((e,t)=>{let n=[e],i=m[t];if(i){let a=p-e.length+1,o=g-h[t],s=` `.repeat(a+o);n.push(r(s,` `),i+u)}return n}))}function s(e){return e.trim().split(/\s+/).join(` `)}t.exports={printImgSrcset:o,printClassNames:s}}}),Li=m({"src/language-html/syntax-vue.js"(e,t){b();var{builders:{group:n}}=H();function r(e,t){let{left:r,operator:a,right:o}=i(e);return[n(t(`function _(${r}) {}`,{parser:`babel`,__isVueForBindingLeft:!0})),` `,a,` `,t(o,{parser:`__js_expression`},{stripTrailingHardline:!0})]}function i(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,n=/,([^,\]}]*)(?:,([^,\]}]*))?$/,r=/^\(|\)$/g,i=e.match(t);if(!i)return;let a={};if(a.for=i[3].trim(),!a.for)return;let o=i[1].trim().replace(r,``),s=o.match(n);s?(a.alias=o.replace(n,``),a.iterator1=s[1].trim(),s[2]&&(a.iterator2=s[2].trim())):a.alias=o;let c=[a.alias,a.iterator1,a.iterator2];if(!c.some((e,t)=>!e&&(t===0||c.slice(t+1).some(Boolean))))return{left:c.filter(Boolean).join(`,`),operator:i[2],right:a.for}}function a(e,t){return t(`function _(${e}) {}`,{parser:`babel`,__isVueBindings:!0})}function o(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,n=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,r=e.trim();return t.test(r)||n.test(r)}t.exports={isVueEventBindingExpression:o,printVueFor:r,printVueBindings:a}}}),Ri=m({"src/language-html/get-node-content.js"(e,t){b();var{needsToBorrowParentClosingTagStartMarker:n,printClosingTagStartMarker:r,needsToBorrowLastChildClosingTagEndMarker:i,printClosingTagEndMarker:a,needsToBorrowParentOpeningTagEndMarker:o,printOpeningTagEndMarker:s}=Pi();function c(e,t){let c=e.startSourceSpan.end.offset;e.firstChild&&o(e.firstChild)&&(c-=s(e).length);let l=e.endSourceSpan.start.offset;return e.lastChild&&n(e.lastChild)?l+=r(e,t).length:i(e)&&(l-=a(e.lastChild,t).length),t.originalText.slice(c,l)}t.exports=c}}),zi=m({"src/language-html/embed.js"(e,t){b();var{builders:{breakParent:n,group:r,hardline:i,indent:a,line:o,fill:s,softline:c},utils:{mapDoc:l,replaceTextEndOfLine:u}}=H(),d=kr(),{printClosingTag:f,printClosingTagSuffix:p,needsToBorrowPrevClosingTagEndMarker:m,printOpeningTagPrefix:h,printOpeningTag:g}=Pi(),{printImgSrcset:_,printClassNames:v}=Ii(),{printVueFor:y,printVueBindings:x,isVueEventBindingExpression:S}=Li(),{isScriptLikeTag:C,isVueNonHtmlBlock:w,inferScriptParser:T,htmlTrimPreserveIndentation:E,dedentString:D,unescapeQuoteEntities:O,isVueSlotAttribute:k,isVueSfcBindingsAttribute:A,getTextValueParts:j}=Ti(),M=Ri();function N(e,t,n){let i=t=>new RegExp(t.join(`|`)).test(e.fullName),l=()=>O(e.value),d=!1,f=(e,t)=>{let n=e.type===`NGRoot`?e.node.type===`NGMicrosyntax`&&e.node.body.length===1&&e.node.body[0].type===`NGMicrosyntaxExpression`?e.node.body[0].expression:e.node:e.type===`JsExpressionRoot`?e.node:e;n&&(n.type===`ObjectExpression`||n.type===`ArrayExpression`||t.parser===`__vue_expression`&&(n.type===`TemplateLiteral`||n.type===`StringLiteral`))&&(d=!0)},p=e=>r(e),m=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return r([a([c,e]),t?c:``])},h=e=>d?p(e):m(e),g=(e,n)=>t(e,Object.assign({__onHtmlBindingRoot:f,__embeddedInHtml:!0},n));if(e.fullName===`srcset`&&(e.parent.fullName===`img`||e.parent.fullName===`source`))return m(_(l()));if(e.fullName===`class`&&!n.parentParser){let e=l();if(!e.includes(`{{`))return v(e)}if(e.fullName===`style`&&!n.parentParser){let e=l();if(!e.includes(`{{`))return m(g(e,{parser:`css`,__isHTMLStyleAttribute:!0}))}if(n.parser===`vue`){if(e.fullName===`v-for`)return y(l(),g);if(k(e)||A(e,n))return x(l(),g);let t=[`^@`,`^v-on:`],r=[`^:`,`^v-bind:`],a=[`^v-`];if(i(t)){let e=l();return h(g(e,{parser:S(e)?`__js_expression`:n.__should_parse_vue_template_with_ts?`__vue_ts_event_binding`:`__vue_event_binding`}))}if(i(r))return h(g(l(),{parser:`__vue_expression`}));if(i(a))return h(g(l(),{parser:`__js_expression`}))}if(n.parser===`angular`){let t=(e,t)=>g(e,Object.assign(Object.assign({},t),{},{trailingComma:`none`})),n=[`^\\*`],c=[`^\\(.+\\)$`,`^on-`],d=[`^\\[.+\\]$`,`^bind(on)?-`,`^ng-(if|show|hide|class|style)$`],f=[`^i18n(-.+)?$`];if(i(c))return h(t(l(),{parser:`__ng_action`}));if(i(d))return h(t(l(),{parser:`__ng_binding`}));if(i(f)){let t=l().trim();return m(s(j(e,t)),!t.includes(`@@`))}if(i(n))return h(t(l(),{parser:`__ng_directive`}));let p=/{{(.+?)}}/s,_=l();if(p.test(_)){let e=[];for(let[n,i]of _.split(p).entries())if(n%2==0)e.push(u(i));else try{e.push(r([`{{`,a([o,t(i,{parser:`__ng_interpolation`,__isInHtmlInterpolation:!0})]),o,`}}`]))}catch{e.push(`{{`,u(i),`}}`)}return r(e)}}return null}function P(e,t,s,c){let u=e.getValue();switch(u.type){case`element`:if(C(u)||u.type===`interpolation`)return;if(!u.isSelfClosing&&w(u,c)){let n=T(u,c);if(!n)return;let a=M(u,c),o=/^\s*$/.test(a),l=``;return o||=(l=s(E(a),{parser:n,__embeddedInHtml:!0},{stripTrailingHardline:!0}),l===``),[h(u,c),r(g(e,c,t)),o?``:i,l,o?``:i,f(u,c),p(u,c)]}break;case`text`:if(C(u.parent)){let e=T(u.parent,c);if(e){let t=e===`markdown`?D(u.value.replace(/^[^\S\n]*\n/,``)):u.value,r={parser:e,__embeddedInHtml:!0};if(c.parser===`html`&&e===`babel`){let e=`script`,{attrMap:t}=u.parent;t&&(t.type===`module`||t.type===`text/babel`&&t[`data-type`]===`module`)&&(e=`module`),r.__babelSourceType=e}return[n,h(u,c),s(t,r,{stripTrailingHardline:!0}),p(u,c)]}}else if(u.parent.type===`interpolation`){let e={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return c.parser===`angular`?(e.parser=`__ng_interpolation`,e.trailingComma=`none`):c.parser===`vue`?e.parser=c.__should_parse_vue_template_with_ts?`__vue_ts_expression`:`__vue_expression`:e.parser=`__js_expression`,[a([o,s(u.value,e,{stripTrailingHardline:!0})]),u.parent.next&&m(u.parent.next)?` `:o]}break;case`attribute`:{if(!u.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(c.originalText.slice(u.valueSpan.start.offset,u.valueSpan.end.offset))||c.parser===`lwc`&&/^{.*}$/s.test(c.originalText.slice(u.valueSpan.start.offset,u.valueSpan.end.offset)))return[u.rawName,`=`,u.value];let e=N(u,(e,t)=>s(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0}),c);if(e)return[u.rawName,`="`,r(l(e,e=>typeof e==`string`?e.replace(/"/g,`"`):e)),`"`];break}case`front-matter`:return d(u,s)}}t.exports=P}}),Bi=m({"src/language-html/print/children.js"(e,t){b();var{builders:{breakParent:n,group:r,ifBreak:i,line:a,softline:o,hardline:s},utils:{replaceTextEndOfLine:c}}=H(),{locStart:l,locEnd:u}=Ni(),{forceBreakChildren:d,forceNextEmptyLine:f,isTextLikeNode:p,hasPrettierIgnore:m,preferHardlineAsLeadingSpaces:h}=Ti(),{printOpeningTagPrefix:g,needsToBorrowNextOpeningTagStartMarker:_,printOpeningTagStartMarker:v,needsToBorrowPrevClosingTagEndMarker:y,printClosingTagEndMarker:x,printClosingTagSuffix:S,needsToBorrowParentClosingTagStartMarker:C}=Pi();function w(e,t,n){let r=e.getValue();return m(r)?[g(r,t),...c(t.originalText.slice(l(r)+(r.prev&&_(r.prev)?v(r).length:0),u(r)-(r.next&&y(r.next)?x(r,t).length:0))),S(r,t)]:n()}function T(e,t){return p(e)&&p(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?h(t)?s:a:``:h(t)?s:o:_(e)&&(m(t)||t.firstChild||t.isSelfClosing||t.type===`element`&&t.attrs.length>0)||e.type===`element`&&e.isSelfClosing&&y(t)?``:!t.isLeadingSpaceSensitive||h(t)||y(t)&&e.lastChild&&C(e.lastChild)&&e.lastChild.lastChild&&C(e.lastChild.lastChild)?s:t.hasLeadingSpaces?a:o}function E(e,t,a){let c=e.getValue();if(d(c))return[n,...e.map(e=>{let n=e.getValue(),r=n.prev?T(n.prev,n):``;return[r?[r,f(n.prev)?s:``]:``,w(e,t,a)]},`children`)];let l=c.children.map(()=>Symbol(``));return e.map((e,n)=>{let c=e.getValue();if(p(c)){if(c.prev&&p(c.prev)){let n=T(c.prev,c);if(n)return f(c.prev)?[s,s,w(e,t,a)]:[n,w(e,t,a)]}return w(e,t,a)}let u=[],d=[],m=[],h=[],g=c.prev?T(c.prev,c):``,_=c.next?T(c,c.next):``;return g&&(f(c.prev)?u.push(s,s):g===s?u.push(s):p(c.prev)?d.push(g):d.push(i(``,o,{groupId:l[n-1]}))),_&&(f(c)?p(c.next)&&h.push(s,s):_===s?p(c.next)&&h.push(s):m.push(_)),[...u,r([...d,r([w(e,t,a),...m],{id:l[n]})]),...h]},`children`)}t.exports={printChildren:E}}}),Vi=m({"src/language-html/print/element.js"(e,t){b();var{builders:{breakParent:n,dedentToRoot:r,group:i,ifBreak:a,indentIfBreak:o,indent:s,line:c,softline:l},utils:{replaceTextEndOfLine:u}}=H(),d=Ri(),{shouldPreserveContent:f,isScriptLikeTag:p,isVueCustomBlock:m,countParents:h,forceBreakContent:g}=Ti(),{printOpeningTagPrefix:_,printOpeningTag:v,printClosingTagSuffix:y,printClosingTag:x,needsToBorrowPrevClosingTagEndMarker:S,needsToBorrowLastChildClosingTagEndMarker:C}=Pi(),{printChildren:w}=Bi();function T(e,t,b){let T=e.getValue();if(f(T,t))return[_(T,t),i(v(e,t,b)),...u(d(T,t)),...x(T,t),y(T,t)];let E=T.children.length===1&&T.firstChild.type===`interpolation`&&T.firstChild.isLeadingSpaceSensitive&&!T.firstChild.hasLeadingSpaces&&T.lastChild.isTrailingSpaceSensitive&&!T.lastChild.hasTrailingSpaces,D=Symbol(`element-attr-group-id`),O=n=>i([i(v(e,t,b),{id:D}),n,x(T,t)]);return T.children.length===0?O(T.hasDanglingSpaces&&T.isDanglingSpaceSensitive?c:``):O([g(T)?n:``,(e=>E?o(e,{groupId:D}):(p(T)||m(T,t))&&T.parent.type===`root`&&t.parser===`vue`&&!t.vueIndentScriptAndStyle?e:s(e))([E?a(l,``,{groupId:D}):T.firstChild.hasLeadingSpaces&&T.firstChild.isLeadingSpaceSensitive?c:T.firstChild.type===`text`&&T.isWhitespaceSensitive&&T.isIndentationSensitive?r(l):l,w(e,t,b)]),(T.next?S(T.next):C(T.parent))?T.lastChild.hasTrailingSpaces&&T.lastChild.isTrailingSpaceSensitive?` `:``:E?a(l,``,{groupId:D}):T.lastChild.hasTrailingSpaces&&T.lastChild.isTrailingSpaceSensitive?c:(T.lastChild.type===`comment`||T.lastChild.type===`text`&&T.isWhitespaceSensitive&&T.isIndentationSensitive)&&RegExp(`\\n[\\t ]{${t.tabWidth*h(e,e=>e.parent&&e.parent.type!==`root`)}}$`).test(T.lastChild.value)?``:l])}t.exports={printElement:T}}}),Hi=m({"src/language-html/printer-html.js"(e,t){b();var{builders:{fill:n,group:r,hardline:i,literalline:a},utils:{cleanDoc:o,getDocParts:s,isConcat:c,replaceTextEndOfLine:l}}=H(),u=Si(),{countChars:d,unescapeQuoteEntities:f,getTextValueParts:p}=Ti(),m=ji(),{insertPragma:h}=Mi(),{locStart:g,locEnd:_}=Ni(),v=zi(),{printClosingTagSuffix:y,printClosingTagEnd:x,printOpeningTagPrefix:S,printOpeningTagStart:C}=Pi(),{printElement:w}=Vi(),{printChildren:T}=Bi();function E(e,t,u){let m=e.getValue();switch(m.type){case`front-matter`:return l(m.raw);case`root`:return t.__onHtmlRoot&&t.__onHtmlRoot(m),[r(T(e,t,u)),i];case`element`:case`ieConditionalComment`:return w(e,t,u);case`ieConditionalStartComment`:case`ieConditionalEndComment`:return[C(m),x(m)];case`interpolation`:return[C(m,t),...e.map(u,`children`),x(m,t)];case`text`:{if(m.parent.type===`interpolation`){let e=/\n[^\S\n]*$/,t=e.test(m.value);return[...l(t?m.value.replace(e,``):m.value),t?i:``]}let e=o([S(m,t),...p(m),y(m,t)]);return c(e)||e.type===`fill`?n(s(e)):e}case`docType`:return[r([C(m,t),` `,m.value.replace(/^html\b/i,`html`).replace(/\s+/g,` `)]),x(m,t)];case`comment`:return[S(m,t),...l(t.originalText.slice(g(m),_(m)),a),y(m,t)];case`attribute`:{if(m.value===null)return m.rawName;let e=f(m.value),t=d(e,`'`)<d(e,`"`)?`'`:`"`;return[m.rawName,`=`,t,...l(t===`"`?e.replace(/"/g,`"`):e.replace(/'/g,`'`)),t]}default:throw Error(`Unexpected node type ${m.type}`)}}t.exports={preprocess:m,print:E,insertPragma:h,massageAstNode:u,embed:v}}}),Ui=m({"src/language-html/options.js"(e,t){b();var n=vr(),r=`HTML`;t.exports={bracketSameLine:n.bracketSameLine,htmlWhitespaceSensitivity:{since:`1.15.0`,category:r,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:n.singleAttributePerLine,vueIndentScriptAndStyle:{since:`1.19.0`,category:r,type:`boolean`,default:!1,description:`Indent script and style tags in Vue files.`}}}}),Wi=m({"src/language-html/parsers.js"(){b()}}),Gi=m({"node_modules/linguist-languages/data/HTML.json"(e,t){t.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}}}),Ki=m({"node_modules/linguist-languages/data/Vue.json"(e,t){t.exports={name:`Vue`,type:`markup`,color:`#41b883`,extensions:[`.vue`],tmScope:`text.html.vue`,aceMode:`html`,languageId:391}}}),qi=m({"src/language-html/index.js"(e,t){b();var n=Qt(),r=Hi(),i=Ui(),a=Wi();t.exports={languages:[n(Gi(),()=>({name:`Angular`,since:`1.15.0`,parsers:[`angular`],vscodeLanguageIds:[`html`],extensions:[`.component.html`],filenames:[]})),n(Gi(),e=>({since:`1.15.0`,parsers:[`html`],vscodeLanguageIds:[`html`],extensions:[...e.extensions,`.mjml`]})),n(Gi(),()=>({name:`Lightning Web Components`,since:`1.17.0`,parsers:[`lwc`],vscodeLanguageIds:[`html`],extensions:[],filenames:[]})),n(Ki(),()=>({since:`1.10.0`,parsers:[`vue`],vscodeLanguageIds:[`vue`]}))],printers:{html:r},options:i,parsers:a}}}),Ji=m({"src/language-yaml/pragma.js"(e,t){b();function n(e){return/^\s*@(?:prettier|format)\s*$/.test(e)}function r(e){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(e)}function i(e){return`# @format
|
|
246
|
-
|
|
247
|
-
${e}`}t.exports={isPragma:n,hasPragma:r,insertPragma:i}}}),Yi=m({"src/language-yaml/loc.js"(e,t){b();function n(e){return e.position.start.offset}function r(e){return e.position.end.offset}t.exports={locStart:n,locEnd:r}}}),Xi=m({"src/language-yaml/embed.js"(e,t){b();function n(e,t,n,r){if(e.getValue().type===`root`&&r.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(r.filepath))return n(r.originalText,Object.assign(Object.assign({},r),{},{parser:`json`}))}t.exports=n}}),Zi=m({"src/language-yaml/utils.js"(e,t){b();var{getLast:n,isNonEmptyArray:r}=Z();function i(e,t){let n=0,r=e.stack.length-1;for(let i=0;i<r;i++){let r=e.stack[i];a(r)&&t(r)&&n++}return n}function a(e,t){return e&&typeof e.type==`string`&&(!t||t.includes(e.type))}function o(e,t,n){return t(`children`in e?Object.assign(Object.assign({},e),{},{children:e.children.map(n=>o(n,t,e))}):e,n)}function s(e,t,n){Object.defineProperty(e,t,{get:n,enumerable:!1})}function c(e,t){let n=0,r=t.length;for(let i=e.position.end.offset-1;i<r;i++){let e=t[i];if(e===`
|
|
248
|
-
`&&n++,n===1&&/\S/.test(e))return!1;if(n===2)return!0}return!1}function l(e){switch(e.getValue().type){case`tag`:case`anchor`:case`comment`:return!1}let t=e.stack.length;for(let n=1;n<t;n++){let t=e.stack[n],r=e.stack[n-1];if(Array.isArray(r)&&typeof t==`number`&&t!==r.length-1)return!1}return!0}function u(e){return r(e.children)?u(n(e.children)):e}function d(e){return e.value.trim()===`prettier-ignore`}function f(e){let t=e.getValue();if(t.type===`documentBody`){let t=e.getParentNode();return y(t.head)&&d(n(t.head.endComments))}return h(t)&&d(n(t.leadingComments))}function p(e){return!r(e.children)&&!m(e)}function m(e){return h(e)||g(e)||_(e)||v(e)||y(e)}function h(e){return r(e?.leadingComments)}function g(e){return r(e?.middleComments)}function _(e){return e?.indicatorComment}function v(e){return e?.trailingComment}function y(e){return r(e?.endComments)}function x(e){let t=[],n;for(let r of e.split(/( +)/))r===` `?n===void 0&&t.unshift(``):n===` `?t.push(r):t.push((t.pop()||``)+r),n=r;return n===` `&&t.push((t.pop()||``)+` `),t[0]===``&&(t.shift(),t.unshift(` `+(t.shift()||``))),t}function S(e,t,r){let i=t.split(`
|
|
249
|
-
`).map((e,t,n)=>t===0&&t===n.length-1?e:t!==0&&t!==n.length-1?e.trim():t===0?e.trimEnd():e.trimStart());return r.proseWrap===`preserve`?i.map(e=>e.length===0?[]:[e]):i.map(e=>e.length===0?[]:x(e)).reduce((t,r,a)=>a!==0&&i[a-1].length>0&&r.length>0&&!(e===`quoteDouble`&&n(n(t)).endsWith(`\\`))?[...t.slice(0,-1),[...n(t),...r]]:[...t,r],[]).map(e=>r.proseWrap===`never`?[e.join(` `)]:e)}function C(e,t){let{parentIndent:r,isLastDescendant:i,options:a}=t,o=e.position.start.line===e.position.end.line?``:a.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],s;if(e.indent===null){let e=o.match(/^(?<leadingSpace> *)[^\n\r ]/m);s=e?e.groups.leadingSpace.length:1/0}else s=e.indent-1+r;let c=o.split(`
|
|
250
|
-
`).map(e=>e.slice(s));if(a.proseWrap===`preserve`||e.type===`blockLiteral`)return l(c.map(e=>e.length===0?[]:[e]));return l(c.map(e=>e.length===0?[]:x(e)).reduce((e,t,r)=>r!==0&&c[r-1].length>0&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(n(e))?[...e.slice(0,-1),[...n(e),...t]]:[...e,t],[]).map(e=>e.reduce((e,t)=>e.length>0&&/\s$/.test(n(e))?[...e.slice(0,-1),n(e)+` `+t]:[...e,t],[])).map(e=>a.proseWrap===`never`?[e.join(` `)]:e));function l(t){if(e.chomping===`keep`)return n(t).length===0?t.slice(0,-1):t;let r=0;for(let e=t.length-1;e>=0&&t[e].length===0;e--)r++;return r===0?t:r>=2&&!i?t.slice(0,-(r-1)):t.slice(0,-r)}}function w(e){if(!e)return!0;switch(e.type){case`plain`:case`quoteDouble`:case`quoteSingle`:case`alias`:case`flowMapping`:case`flowSequence`:return!0;default:return!1}}t.exports={getLast:n,getAncestorCount:i,isNode:a,isEmptyNode:p,isInlineNode:w,mapNode:o,defineShortcut:s,isNextLineEmpty:c,isLastDescendantNode:l,getBlockValueLineContents:C,getFlowScalarLineContents:S,getLastDescendantNode:u,hasPrettierIgnore:f,hasLeadingComments:h,hasMiddleComments:g,hasIndicatorComment:_,hasTrailingComment:v,hasEndComments:y}}}),Qi=m({"src/language-yaml/print-preprocess.js"(e,t){b();var{defineShortcut:n,mapNode:r}=Zi();function i(e){return r(e,a)}function a(e){switch(e.type){case`document`:n(e,`head`,()=>e.children[0]),n(e,`body`,()=>e.children[1]);break;case`documentBody`:case`sequenceItem`:case`flowSequenceItem`:case`mappingKey`:case`mappingValue`:n(e,`content`,()=>e.children[0]);break;case`mappingItem`:case`flowMappingItem`:n(e,`key`,()=>e.children[0]),n(e,`value`,()=>e.children[1]);break}return e}t.exports=i}}),$i=m({"src/language-yaml/print/misc.js"(e,t){b();var{builders:{softline:n,align:r}}=H(),{hasEndComments:i,isNextLineEmpty:a,isNode:o}=Zi(),s=new WeakMap;function c(e,t){let r=e.getValue(),i=e.stack[0],o;return s.has(i)?o=s.get(i):(o=new Set,s.set(i,o)),!o.has(r.position.end.line)&&(o.add(r.position.end.line),a(r,t)&&!l(e.getParentNode()))?n:``}function l(e){return i(e)&&!o(e,[`documentHead`,`documentBody`,`flowMapping`,`flowSequence`])}function u(e,t){return r(` `.repeat(e),t)}t.exports={alignWithSpaces:u,shouldPrintEndComments:l,printNextEmptyLine:c}}}),ea=m({"src/language-yaml/print/flow-mapping-sequence.js"(e,t){b();var{builders:{ifBreak:n,line:r,softline:i,hardline:a,join:o}}=H(),{isEmptyNode:s,getLast:c,hasEndComments:l}=Zi(),{printNextEmptyLine:u,alignWithSpaces:d}=$i();function f(e,t,u){let f=e.getValue(),m=f.type===`flowMapping`,h=m?`{`:`[`,g=m?`}`:`]`,_=i;m&&f.children.length>0&&u.bracketSpacing&&(_=r);let v=c(f.children),y=v&&v.type===`flowMappingItem`&&s(v.key)&&s(v.value);return[h,d(u.tabWidth,[_,p(e,t,u),u.trailingComma===`none`?``:n(`,`),l(f)?[a,o(a,e.map(t,`endComments`))]:``]),y?``:_,g]}function p(e,t,n){let i=e.getValue();return e.map((e,a)=>[t(),a===i.children.length-1?``:[`,`,r,i.children[a].position.start.line===i.children[a+1].position.start.line?``:u(e,n.originalText)]],`children`)}t.exports={printFlowMapping:f,printFlowSequence:f}}}),ta=m({"src/language-yaml/print/mapping-item.js"(e,t){b();var{builders:{conditionalGroup:n,group:r,hardline:i,ifBreak:a,join:o,line:s}}=H(),{hasLeadingComments:c,hasMiddleComments:l,hasTrailingComment:u,hasEndComments:d,isNode:f,isEmptyNode:p,isInlineNode:m}=Zi(),{alignWithSpaces:h}=$i();function g(e,t,g,b,x){let{key:S,value:C}=e,w=p(S),T=p(C);if(w&&T)return`: `;let E=b(`key`),D=v(e)?` `:``;if(T)return e.type===`flowMappingItem`&&t.type===`flowMapping`?E:e.type===`mappingItem`&&_(S.content,x)&&!u(S.content)&&(!t.tag||t.tag.value!==`tag:yaml.org,2002:set`)?[E,D,`:`]:[`? `,h(2,E)];let O=b(`value`);if(w)return[`: `,h(2,O)];if(c(C)||!m(S.content))return[`? `,h(2,E),i,o(``,g.map(b,`value`,`leadingComments`).map(e=>[e,i])),`: `,h(2,O)];if(y(S.content)&&!c(S.content)&&!l(S.content)&&!u(S.content)&&!d(S)&&!c(C.content)&&!l(C.content)&&!d(C)&&_(C.content,x))return[E,D,`: `,O];let k=Symbol(`mappingKey`),A=r([a(`? `),r(h(2,E),{id:k})]),j=[i,`: `,h(2,O)],M=[D,`:`];c(C.content)||d(C)&&C.content&&!f(C.content,[`mapping`,`sequence`])||t.type===`mapping`&&u(S.content)&&m(C.content)||f(C.content,[`mapping`,`sequence`])&&C.content.tag===null&&C.content.anchor===null?M.push(i):C.content&&M.push(s),M.push(O);let N=h(x.tabWidth,M);return _(S.content,x)&&!c(S.content)&&!l(S.content)&&!d(S)?n([[E,N]]):n([[A,a(j,N,{groupId:k})]])}function _(e,t){if(!e)return!0;switch(e.type){case`plain`:case`quoteSingle`:case`quoteDouble`:break;case`alias`:return!0;default:return!1}if(t.proseWrap===`preserve`)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case`never`:return!e.value.includes(`
|
|
251
|
-
`);case`always`:return!/[\n ]/.test(e.value);default:return!1}}function v(e){return e.key.content&&e.key.content.type===`alias`}function y(e){if(!e)return!0;switch(e.type){case`plain`:case`quoteDouble`:case`quoteSingle`:return e.position.start.line===e.position.end.line;case`alias`:return!0;default:return!1}}t.exports=g}}),na=m({"src/language-yaml/print/block.js"(e,t){b();var{builders:{dedent:n,dedentToRoot:r,fill:i,hardline:a,join:o,line:s,literalline:c,markAsRoot:l},utils:{getDocParts:u}}=H(),{getAncestorCount:d,getBlockValueLineContents:f,hasIndicatorComment:p,isLastDescendantNode:m,isNode:h}=Zi(),{alignWithSpaces:g}=$i();function _(e,t,_){let v=e.getValue(),y=d(e,e=>h(e,[`sequence`,`mapping`])),b=m(e),x=[v.type===`blockFolded`?`>`:`|`];v.indent!==null&&x.push(v.indent.toString()),v.chomping!==`clip`&&x.push(v.chomping===`keep`?`+`:`-`),p(v)&&x.push(` `,t(`indicatorComment`));let S=f(v,{parentIndent:y,isLastDescendant:b,options:_}),C=[];for(let[e,t]of S.entries())e===0&&C.push(a),C.push(i(u(o(s,t)))),e===S.length-1?v.chomping===`keep`&&b&&C.push(r(t.length===0?a:c)):C.push(t.length===0?a:l(c));return v.indent===null?x.push(n(g(_.tabWidth,C))):x.push(r(g(v.indent-1+y,C))),x}t.exports=_}}),ra=m({"src/language-yaml/printer-yaml.js"(e,t){b();var{builders:{breakParent:n,fill:r,group:i,hardline:a,join:o,line:s,lineSuffix:c,literalline:l},utils:{getDocParts:u,replaceTextEndOfLine:d}}=H(),{isPreviousLineEmpty:f}=Z(),{insertPragma:p,isPragma:m}=Ji(),{locStart:h}=Yi(),g=Xi(),{getFlowScalarLineContents:_,getLastDescendantNode:v,hasLeadingComments:y,hasMiddleComments:x,hasTrailingComment:S,hasEndComments:C,hasPrettierIgnore:w,isLastDescendantNode:T,isNode:E,isInlineNode:D}=Zi(),O=Qi(),{alignWithSpaces:k,printNextEmptyLine:A,shouldPrintEndComments:j}=$i(),{printFlowMapping:M,printFlowSequence:N}=ea(),P=ta(),F=na();function I(e,t,r){let s=e.getValue(),u=[];s.type!==`mappingValue`&&y(s)&&u.push([o(a,e.map(r,`leadingComments`)),a]);let{tag:p,anchor:m}=s;p&&u.push(r(`tag`)),p&&m&&u.push(` `),m&&u.push(r(`anchor`));let g=``;E(s,[`mapping`,`sequence`,`comment`,`directive`,`mappingItem`,`sequenceItem`])&&!T(e)&&(g=A(e,t.originalText)),(p||m)&&(E(s,[`sequence`,`mapping`])&&!x(s)?u.push(a):u.push(` `)),x(s)&&u.push([s.middleComments.length===1?``:a,o(a,e.map(r,`middleComments`)),a]);let _=e.getParentNode();return w(e)?u.push(d(t.originalText.slice(s.position.start.offset,s.position.end.offset).trimEnd(),l)):u.push(i(L(s,_,e,t,r))),S(s)&&!E(s,[`document`,`documentHead`])&&u.push(c([s.type===`mappingValue`&&!s.content?``:` `,_.type===`mappingKey`&&e.getParentNode(2).type===`mapping`&&D(s)?``:n,r(`trailingComment`)])),j(s)&&u.push(k(s.type===`sequenceItem`?2:0,[a,o(a,e.map(e=>[f(t.originalText,e.getValue(),h)?a:``,r()],`endComments`))])),u.push(g),u}function L(e,t,n,r,i){switch(e.type){case`root`:{let{children:t}=e,r=[];n.each((e,n)=>{let o=t[n],s=t[n+1];n!==0&&r.push(a),r.push(i()),z(o,s)?(r.push(a,`...`),S(o)&&r.push(` `,i(`trailingComment`))):s&&!S(s.head)&&r.push(a,`---`)},`children`);let o=v(e);return(!E(o,[`blockLiteral`,`blockFolded`])||o.chomping!==`keep`)&&r.push(a),r}case`document`:{let s=t.children[n.getName()+1],c=[];return B(e,s,t,r)===`head`&&((e.head.children.length>0||e.head.endComments.length>0)&&c.push(i(`head`)),S(e.head)?c.push([`---`,` `,i([`head`,`trailingComment`])]):c.push(`---`)),R(e)&&c.push(i(`body`)),o(a,c)}case`documentHead`:return o(a,[...n.map(i,`children`),...n.map(i,`endComments`)]);case`documentBody`:{let{children:t,endComments:r}=e,s=``;if(t.length>0&&r.length>0){let t=v(e);E(t,[`blockFolded`,`blockLiteral`])?t.chomping!==`keep`&&(s=[a,a]):s=a}return[o(a,n.map(i,`children`)),s,o(a,n.map(i,`endComments`))]}case`directive`:return[`%`,o(` `,[e.name,...e.parameters])];case`comment`:return[`#`,e.value];case`alias`:return[`*`,e.value];case`tag`:return r.originalText.slice(e.position.start.offset,e.position.end.offset);case`anchor`:return[`&`,e.value];case`plain`:return V(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case`quoteDouble`:case`quoteSingle`:{let t=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if(e.type===`quoteSingle`&&t.includes(`\\`)||e.type===`quoteDouble`&&/\\[^"]/.test(t)){let n=e.type===`quoteDouble`?`"`:`'`;return[n,V(e.type,t,r),n]}if(t.includes(`"`))return[`'`,V(e.type,e.type===`quoteDouble`?t.replace(/\\"/g,`"`).replace(/'/g,`'`.repeat(2)):t,r),`'`];if(t.includes(`'`))return[`"`,V(e.type,e.type===`quoteSingle`?t.replace(/''/g,`'`):t,r),`"`];let n=r.singleQuote?`'`:`"`;return[n,V(e.type,t,r),n]}case`blockFolded`:case`blockLiteral`:return F(n,i,r);case`mapping`:case`sequence`:return o(a,n.map(i,`children`));case`sequenceItem`:return[`- `,k(2,e.content?i(`content`):``)];case`mappingKey`:case`mappingValue`:return e.content?i(`content`):``;case`mappingItem`:case`flowMappingItem`:return P(e,t,n,i,r);case`flowMapping`:return M(n,i,r);case`flowSequence`:return N(n,i,r);case`flowSequenceItem`:return i(`content`);default:throw Error(`Unexpected node type ${e.type}`)}}function R(e){return e.body.children.length>0||C(e.body)}function z(e,t){return S(e)||t&&(t.head.children.length>0||C(t.head))}function B(e,t,n,r){return n.children[0]===e&&/---(?:\s|$)/.test(r.originalText.slice(h(e),h(e)+4))||e.head.children.length>0||C(e.head)||S(e.head)?`head`:z(e,t)?!1:t?`root`:!1}function V(e,t,n){return o(a,_(e,t,n).map(e=>r(u(o(s,e)))))}function U(e,t){if(E(t))switch(delete t.position,t.type){case`comment`:if(m(t.value))return null;break;case`quoteDouble`:case`quoteSingle`:t.type=`quote`;break}}t.exports={preprocess:O,embed:g,print:I,massageAstNode:U,insertPragma:p}}}),ia=m({"src/language-yaml/options.js"(e,t){b();var n=vr();t.exports={bracketSpacing:n.bracketSpacing,singleQuote:n.singleQuote,proseWrap:n.proseWrap}}}),aa=m({"src/language-yaml/parsers.js"(){b()}}),oa=m({"node_modules/linguist-languages/data/YAML.json"(e,t){t.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}}}),sa=m({"src/language-yaml/index.js"(e,t){b();var n=Qt(),r=ra(),i=ia(),a=aa();t.exports={languages:[n(oa(),e=>({since:`1.14.0`,parsers:[`yaml`],vscodeLanguageIds:[`yaml`,`ansible`,`home-assistant`],filenames:[...e.filenames.filter(e=>e!==`yarn.lock`),`.prettierrc`,`.stylelintrc`,`.lintstagedrc`]}))],printers:{yaml:r},options:i,parsers:a}}}),ca=m({"src/languages.js"(e,t){b(),t.exports=[Dr(),qr(),ti(),ci(),xi(),qi(),sa()]}});b();var{version:la}=x(),ua=Xt(),{getSupportInfo:da}=ce(),fa=Zt(),pa=ca(),ma=H();function ha(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){var n=[...arguments];let r=n[t]||{},i=r.plugins||[];return n[t]=Object.assign(Object.assign({},r),{},{plugins:[...pa,...Array.isArray(i)?i:Object.values(i)]}),e(...n)}}var ga=ha(ua.formatWithCursor);t.exports={formatWithCursor:ga,format(e,t){return ga(e,t).formatted},check(e,t){let{formatted:n}=ga(e,t);return n===e},doc:ma,getSupportInfo:ha(da,0),version:la,util:fa,__debug:{parse:ha(ua.parse),formatAST:ha(ua.formatAST),formatDoc:ha(ua.formatDoc),printToDoc:ha(ua.printToDoc),printDocToString:ha(ua.printDocToString)}}})()})})),ge=oe(X(),1),_e=oe(Z(),1),ve=oe(me(),1),ye=oe(he(),1);function be(e,t,n){let r={css:ve.default,html:_e.default,babel:ge.default};return a(()=>{if(!O(t))return O(e)||`/* empty */`;try{return ye.default.format(O(e)||``,{parser:n,plugins:[r[n]],singleQuote:!0,semi:!1})}catch(t){return console.error(t),`/* Error on prettifying: ${t.message} */\n${O(e)||``}`}})}function xe(e,t=!0){return be(e,t,`css`)}var Se=m({__name:`Copy`,setup(e){let{copy:t,copied:n}=L();return(e,r)=>u(e.$slots,`default`,{copy:I(t),copied:I(n)})}}),Ce=[`top`,`right`,`bottom`,`left`],we=[`start`,`end`],Te=Ce.reduce((e,t)=>e.concat(t,t+`-`+we[0],t+`-`+we[1]),[]),Ee=Math.min,De=Math.max,Oe={left:`right`,right:`left`,bottom:`top`,top:`bottom`},ke={start:`end`,end:`start`};function Ae(e,t,n){return De(e,Ee(t,n))}function je(e,t){return typeof e==`function`?e(t):e}function Me(e){return e.split(`-`)[0]}function Ne(e){return e.split(`-`)[1]}function Pe(e){return e===`x`?`y`:`x`}function Fe(e){return e===`y`?`height`:`width`}var Ie=new Set([`top`,`bottom`]);function Le(e){return Ie.has(Me(e))?`y`:`x`}function Re(e){return Pe(Le(e))}function ze(e,t,n){n===void 0&&(n=!1);let r=Ne(e),i=Re(e),a=Fe(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Je(o)),[o,Je(o)]}function Be(e){let t=Je(e);return[Ve(e),t,Ve(t)]}function Ve(e){return e.replace(/start|end/g,e=>ke[e])}var He=[`left`,`right`],Ue=[`right`,`left`],We=[`top`,`bottom`],Ge=[`bottom`,`top`];function Ke(e,t,n){switch(e){case`top`:case`bottom`:return n?t?Ue:He:t?He:Ue;case`left`:case`right`:return t?We:Ge;default:return[]}}function qe(e,t,n,r){let i=Ne(e),a=Ke(Me(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(Ve)))),a}function Je(e){return e.replace(/left|right|bottom|top/g,e=>Oe[e])}function Ye(e){return{top:0,right:0,bottom:0,left:0,...e}}function Xe(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Ye(e)}function Ze(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Qe(e,t,n){let{reference:r,floating:i}=e,a=Le(t),o=Re(t),s=Fe(o),c=Me(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(Ne(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}var $e=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=a.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Qe(l,r,c),f=r,p={},m=0;for(let n=0;n<s.length;n++){let{name:a,fn:h}=s[n],{x:g,y:_,data:v,reset:y}=await h({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:l,platform:o,elements:{reference:e,floating:t}});u=g??u,d=_??d,p={...p,[a]:{...p[a],...v}},y&&m<=50&&(m++,typeof y==`object`&&(y.placement&&(f=y.placement),y.rects&&(l=y.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):y.rects),{x:u,y:d}=Qe(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:p}};async function et(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=je(t,e),p=Xe(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Ze(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=Ze(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var tt=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=je(e,t)||{};if(l==null)return{};let d=Xe(u),f={x:n,y:r},p=Re(i),m=Fe(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=Ee(d[_],T),D=Ee(d[v],T),O=E,k=C-h[m]-D,A=C/2-h[m]/2+w,j=Ae(O,A,k),M=!c.arrow&&Ne(i)!=null&&A!==j&&a.reference[m]/2-(A<O?E:D)-h[m]/2<0,N=M?A<O?A-O:A-k:0;return{[p]:f[p]+N,data:{[p]:j,centerOffset:A-j-N,...M&&{alignmentOffset:N}},reset:M}}});function nt(e,t,n){return(e?[...n.filter(t=>Ne(t)===e),...n.filter(t=>Ne(t)!==e)]:n.filter(e=>Me(e)===e)).filter(n=>e?Ne(n)===e||(t?Ve(n)!==n:!1):!0)}var rt=function(e){return e===void 0&&(e={}),{name:`autoPlacement`,options:e,async fn(t){let{rects:n,middlewareData:r,placement:i,platform:a,elements:o}=t,{crossAxis:s=!1,alignment:c,allowedPlacements:l=Te,autoAlignment:u=!0,...d}=je(e,t),f=c!==void 0||l===Te?nt(c||null,u,l):l,p=await et(t,d),m=r.autoPlacement?.index||0,h=f[m];if(h==null)return{};let g=ze(h,n,await(a.isRTL==null?void 0:a.isRTL(o.floating)));if(i!==h)return{reset:{placement:f[0]}};let _=[p[Me(h)],p[g[0]],p[g[1]]],v=[...r.autoPlacement?.overflows||[],{placement:h,overflows:_}],y=f[m+1];if(y)return{data:{index:m+1,overflows:v},reset:{placement:y}};let b=v.map(e=>{let t=Ne(e.placement);return[e.placement,t&&s?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),x=b.filter(e=>e[2].slice(0,Ne(e[0])?2:3).every(e=>e<=0))[0]?.[0]||b[0][0];return x===i?{}:{data:{index:m+1,overflows:v},reset:{placement:x}}}}},it=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=je(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=Me(r),_=Le(o),v=Me(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[Je(o)]:Be(o)),x=p!==`none`;!d&&x&&b.push(...qe(o,m,p,y));let S=[o,...b],C=await et(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=ze(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(!(u===`alignment`&&_!==Le(t))||T.every(e=>Le(e.placement)===_?e.overflows[0]>0:!0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=Le(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}},at=new Set([`left`,`top`]);async function ot(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Me(n),s=Ne(n),c=Le(n)===`y`,l=at.has(o)?-1:1,u=a&&c?-1:1,d=je(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var st=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await ot(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},ct=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=je(e,t),l={x:n,y:r},u=await et(t,c),d=Le(Me(i)),f=Pe(d),p=l[f],m=l[d];if(a){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=p+u[e],r=p-u[t];p=Ae(n,p,r)}if(o){let e=d===`y`?`top`:`left`,t=d===`y`?`bottom`:`right`,n=m+u[e],r=m-u[t];m=Ae(n,m,r)}let h=s.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[f]:a,[d]:o}}}}}},lt=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=je(e,t),u=await et(t,l),d=Me(i),f=Ne(i),p=Le(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=Ee(h-u[g],v),x=Ee(m-u[_],y),S=!t.middlewareData.shift,C=b,w=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=De(u.left,0),t=De(u.right,0),n=De(u.top,0),r=De(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:De(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:De(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let T=await o.getDimensions(s.floating);return m!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function ut(e){return e.ownerDocument?.defaultView||window}function dt(e){return ut(e).getComputedStyle(e)}var ft=Math.min,pt=Math.max,mt=Math.round;function ht(e){let t=dt(e),n=parseFloat(t.width),r=parseFloat(t.height),i=e.offsetWidth,a=e.offsetHeight,o=mt(n)!==i||mt(r)!==a;return o&&(n=i,r=a),{width:n,height:r,fallback:o}}function gt(e){return xt(e)?(e.nodeName||``).toLowerCase():``}var _t;function vt(){if(_t)return _t;let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(_t=e.brands.map((e=>e.brand+`/`+e.version)).join(` `),_t):navigator.userAgent}function yt(e){return e instanceof ut(e).HTMLElement}function bt(e){return e instanceof ut(e).Element}function xt(e){return e instanceof ut(e).Node}function St(e){return typeof ShadowRoot>`u`?!1:e instanceof ut(e).ShadowRoot||e instanceof ShadowRoot}function Ct(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=dt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&![`inline`,`contents`].includes(i)}function wt(e){return[`table`,`td`,`th`].includes(gt(e))}function Tt(e){let t=/firefox/i.test(vt()),n=dt(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!==`none`||n.perspective!==`none`||!!r&&r!==`none`||t&&n.willChange===`filter`||t&&!!n.filter&&n.filter!==`none`||[`transform`,`perspective`].some((e=>n.willChange.includes(e)))||[`paint`,`layout`,`strict`,`content`].some((e=>{let t=n.contain;return t!=null&&t.includes(e)}))}function Et(){return!/^((?!chrome|android).)*safari/i.test(vt())}function Dt(e){return[`html`,`body`,`#document`].includes(gt(e))}function Ot(e){return bt(e)?e:e.contextElement}var kt={x:1,y:1};function At(e){let t=Ot(e);if(!yt(t))return kt;let n=t.getBoundingClientRect(),{width:r,height:i,fallback:a}=ht(t),o=(a?mt(n.width):n.width)/r,s=(a?mt(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}function jt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=Ot(e),o=kt;t&&(r?bt(r)&&(o=At(r)):o=At(e));let s=a?ut(a):window,c=!Et()&&n,l=(i.left+(c&&s.visualViewport?.offsetLeft||0))/o.x,u=(i.top+(c&&s.visualViewport?.offsetTop||0))/o.y,d=i.width/o.x,f=i.height/o.y;if(a){let e=ut(a),t=r&&bt(r)?ut(r):r,n=e.frameElement;for(;n&&r&&t!==e;){let e=At(n),t=n.getBoundingClientRect(),r=getComputedStyle(n);t.x+=(n.clientLeft+parseFloat(r.paddingLeft))*e.x,t.y+=(n.clientTop+parseFloat(r.paddingTop))*e.y,l*=e.x,u*=e.y,d*=e.x,f*=e.y,l+=t.x,u+=t.y,n=ut(n).frameElement}}return{width:d,height:f,top:u,right:l+d,bottom:u+f,left:l,x:l,y:u}}function Mt(e){return((xt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Nt(e){return bt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Pt(e){return jt(Mt(e)).left+Nt(e).scrollLeft}function Ft(e){if(gt(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||St(e)&&e.host||Mt(e);return St(t)?t.host:t}function It(e){let t=Ft(e);return Dt(t)?t.ownerDocument.body:yt(t)&&Ct(t)?t:It(t)}function Lt(e,t){t===void 0&&(t=[]);let n=It(e),r=n===e.ownerDocument?.body,i=ut(n);return r?t.concat(i,i.visualViewport||[],Ct(n)?n:[]):t.concat(n,Lt(n))}function Rt(e,t,n){return t===`viewport`?Ze(function(e,t){let n=ut(e),r=Mt(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=Et();(e||!e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s,y:c}}(e,n)):bt(t)?Ze(function(e,t){let n=jt(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=yt(e)?At(e):{x:1,y:1};return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}(t,n)):Ze(function(e){let t=Mt(e),n=Nt(e),r=e.ownerDocument.body,i=pt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=pt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+Pt(e),s=-n.scrollTop;return dt(r).direction===`rtl`&&(o+=pt(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}(Mt(e)))}function zt(e){return yt(e)&&dt(e).position!==`fixed`?e.offsetParent:null}function Bt(e){let t=ut(e),n=zt(e);for(;n&&wt(n)&&dt(n).position===`static`;)n=zt(n);return n&&(gt(n)===`html`||gt(n)===`body`&&dt(n).position===`static`&&!Tt(n))?t:n||function(e){let t=Ft(e);for(;yt(t)&&!Dt(t);){if(Tt(t))return t;t=Ft(t)}return null}(e)||t}function Vt(e,t,n){let r=yt(t),i=Mt(t),a=jt(e,!0,n===`fixed`,t),o={scrollLeft:0,scrollTop:0},s={x:0,y:0};if(r||!r&&n!==`fixed`)if((gt(t)!==`body`||Ct(i))&&(o=Nt(t)),yt(t)){let e=jt(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=Pt(i));return{x:a.left+o.scrollLeft-s.x,y:a.top+o.scrollTop-s.y,width:a.width,height:a.height}}var Ht={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?function(e,t){let n=t.get(e);if(n)return n;let r=Lt(e).filter((e=>bt(e)&>(e)!==`body`)),i=null,a=dt(e).position===`fixed`,o=a?Ft(e):e;for(;bt(o)&&!Dt(o);){let e=dt(o),t=Tt(o);(a?t||i:t||e.position!==`static`||!i||![`absolute`,`fixed`].includes(i.position))?i=e:r=r.filter((e=>e!==o)),o=Ft(o)}return t.set(e,r),r}(t,this._c):[].concat(n),r],o=a[0],s=a.reduce(((e,n)=>{let r=Rt(t,n,i);return e.top=pt(r.top,e.top),e.right=ft(r.right,e.right),e.bottom=ft(r.bottom,e.bottom),e.left=pt(r.left,e.left),e}),Rt(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e,i=yt(n),a=Mt(n);if(n===a)return t;let o={scrollLeft:0,scrollTop:0},s={x:1,y:1},c={x:0,y:0};if((i||!i&&r!==`fixed`)&&((gt(n)!==`body`||Ct(a))&&(o=Nt(n)),yt(n))){let e=jt(n);s=At(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-o.scrollLeft*s.x+c.x,y:t.y*s.y-o.scrollTop*s.y+c.y}},isElement:bt,getDimensions:function(e){return yt(e)?ht(e):e.getBoundingClientRect()},getOffsetParent:Bt,getDocumentElement:Mt,getScale:At,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e,i=this.getOffsetParent||Bt,a=this.getDimensions;return{reference:Vt(t,await i(n),r),floating:{x:0,y:0,...await a(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>dt(e).direction===`rtl`},Ut=(e,t,n)=>{let r=new Map,i={platform:Ht,...n},a={...i.platform,_c:r};return $e(e,t,{...i,platform:a})},Wt={disabled:!1,distance:5,skidding:0,container:`body`,boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:`absolute`,preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:`top`,triggers:[`hover`,`focus`,`touch`],hideTriggers:e=>[...e,`click`],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:`...`},dropdown:{placement:`bottom`,triggers:[`click`],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:`dropdown`,triggers:[`hover`,`focus`],popperTriggers:[`hover`],delay:{show:0,hide:400}}}};function Gt(e,t){let n=Wt.themes[e]||{},r;do r=n[t],typeof r>`u`?n.$extend?n=Wt.themes[n.$extend]||{}:(n=null,r=Wt[t]):n=null;while(n);return r}function Kt(e){let t=[e],n=Wt.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Wt.themes[n.$extend]||{}):n=null;while(n);return t.map(e=>`v-popper--theme-${e}`)}function qt(e){let t=[e],n=Wt.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Wt.themes[n.$extend]||{}):n=null;while(n);return t}var Jt=!1;if(typeof window<`u`){Jt=!1;try{let e=Object.defineProperty({},`passive`,{get(){Jt=!0}});window.addEventListener(`test`,null,e)}catch{}}var Yt=!1;typeof window<`u`&&typeof navigator<`u`&&(Yt=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);var Xt=[`auto`,`top`,`bottom`,`left`,`right`].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Zt={hover:`mouseenter`,focus:`focus`,click:`click`,touch:`touchstart`,pointer:`pointerdown`},Qt={hover:`mouseleave`,focus:`blur`,click:`click`,touch:`touchend`,pointer:`pointerup`};function $t(e,t){let n=e.indexOf(t);n!==-1&&e.splice(n,1)}function en(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}var tn=[],nn=null,rn={};function an(e){let t=rn[e];return t||=rn[e]=[],t}var on=function(){};typeof window<`u`&&(on=window.Element);function sn(e){return function(t){return Gt(t.theme,e)}}var cn=`__floating-vue__popper`,ln=()=>m({name:`VPopper`,provide(){return{[cn]:{parentPopper:this}}},inject:{[cn]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:sn(`disabled`)},positioningDisabled:{type:Boolean,default:sn(`positioningDisabled`)},placement:{type:String,default:sn(`placement`),validator:e=>Xt.includes(e)},delay:{type:[String,Number,Object],default:sn(`delay`)},distance:{type:[Number,String],default:sn(`distance`)},skidding:{type:[Number,String],default:sn(`skidding`)},triggers:{type:Array,default:sn(`triggers`)},showTriggers:{type:[Array,Function],default:sn(`showTriggers`)},hideTriggers:{type:[Array,Function],default:sn(`hideTriggers`)},popperTriggers:{type:Array,default:sn(`popperTriggers`)},popperShowTriggers:{type:[Array,Function],default:sn(`popperShowTriggers`)},popperHideTriggers:{type:[Array,Function],default:sn(`popperHideTriggers`)},container:{type:[String,Object,on,Boolean],default:sn(`container`)},boundary:{type:[String,on],default:sn(`boundary`)},strategy:{type:String,validator:e=>[`absolute`,`fixed`].includes(e),default:sn(`strategy`)},autoHide:{type:[Boolean,Function],default:sn(`autoHide`)},handleResize:{type:Boolean,default:sn(`handleResize`)},instantMove:{type:Boolean,default:sn(`instantMove`)},eagerMount:{type:Boolean,default:sn(`eagerMount`)},popperClass:{type:[String,Array,Object],default:sn(`popperClass`)},computeTransformOrigin:{type:Boolean,default:sn(`computeTransformOrigin`)},autoMinSize:{type:Boolean,default:sn(`autoMinSize`)},autoSize:{type:[Boolean,String],default:sn(`autoSize`)},autoMaxSize:{type:Boolean,default:sn(`autoMaxSize`)},autoBoundaryMaxSize:{type:Boolean,default:sn(`autoBoundaryMaxSize`)},preventOverflow:{type:Boolean,default:sn(`preventOverflow`)},overflowPadding:{type:[Number,String],default:sn(`overflowPadding`)},arrowPadding:{type:[Number,String],default:sn(`arrowPadding`)},arrowOverflow:{type:Boolean,default:sn(`arrowOverflow`)},flip:{type:Boolean,default:sn(`flip`)},shift:{type:Boolean,default:sn(`shift`)},shiftCrossAxis:{type:Boolean,default:sn(`shiftCrossAxis`)},noAutoFocus:{type:Boolean,default:sn(`noAutoFocus`)},disposeTimeout:{type:Number,default:sn(`disposeTimeout`)}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:``,strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join(`_`)}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId==null?this.randomId:this.ariaId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide==`function`?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){return this[cn]?.parentPopper},hasPopperShowTriggerHover(){return this.popperTriggers?.includes(`hover`)||this.popperShowTriggers?.includes(`hover`)}},watch:{shown:`$_autoShowHide`,disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:`$_refreshListeners`,deep:!0},positioningDisabled:`$_refreshListeners`,...[`placement`,`distance`,`skidding`,`boundary`,`strategy`,`overflowPadding`,`arrowPadding`,`preventOverflow`,`shift`,`shiftCrossAxis`,`flip`].reduce((e,t)=>(e[t]=`$_computePosition`,e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(this.parentPopper?.lockedChild===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit(`show`),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit(`update:shown`,!0))},hide({event:e=null,skipDelay:t=!1}={}){if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}this.parentPopper?.lockedChild===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit(`hide`),this.$emit(`update:shown`,!1)}},init(){this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=this.referenceNode?.call(this)??this.$el,this.$_targetNodes=this.targetNodes().filter(e=>e.nodeType===e.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(`.v-popper__inner`),this.$_arrowNode=this.$_popperNode.querySelector(`.v-popper__arrow-container`),this.$_swapTargetAttrs(`title`,`data-original-title`),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs(`data-original-title`,`title`))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit(`resize`))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;let e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(st({mainAxis:this.distance,crossAxis:this.skidding}));let t=this.placement.startsWith(`auto`);if(t?e.middleware.push(rt({alignment:this.placement.split(`-`)[1]??``})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(ct({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(it({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(tt({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:`arrowOverflow`,fn:({placement:e,rects:t,middlewareData:n})=>{let r,{centerOffset:i}=n.arrow;return r=e.startsWith(`top`)||e.startsWith(`bottom`)?Math.abs(i)>t.reference.width/2:Math.abs(i)>t.reference.height/2,{data:{overflow:r}}}}),this.autoMinSize||this.autoSize){let t=this.autoSize?this.autoSize:this.autoMinSize?`min`:null;e.middleware.push({name:`autoSize`,fn:({rects:e,placement:n,middlewareData:r})=>{var i;if((i=r.autoSize)!=null&&i.skip)return{};let a,o;return n.startsWith(`top`)||n.startsWith(`bottom`)?a=e.reference.width:o=e.reference.height,this.$_innerNode.style[t===`min`?`minWidth`:t===`max`?`maxWidth`:`width`]=a==null?null:`${a}px`,this.$_innerNode.style[t===`min`?`minHeight`:t===`max`?`maxHeight`:`height`]=o==null?null:`${o}px`,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(lt({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:e,availableHeight:t})=>{this.$_innerNode.style.maxWidth=e==null?null:`${e}px`,this.$_innerNode.style.maxHeight=t==null?null:`${t}px`}})));let n=await Ut(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),nn&&this.instantMove&&nn.instantMove&&nn!==this.parentPopper){nn.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay(`show`))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(nn=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay(`hide`))},$_computeDelay(e){let t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await en(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Lt(this.$_referenceNode),...Lt(this.$_popperNode)],`scroll`,()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){let e=this.$_referenceNode.getBoundingClientRect(),t=this.$_popperNode.querySelector(`.v-popper__wrapper`),n=t.parentNode.getBoundingClientRect(),r=e.x+e.width/2-(n.left+t.offsetLeft),i=e.y+e.height/2-(n.top+t.offsetTop);this.result.transformOrigin=`${r}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":``});let e=this.showGroup;if(e){let t;for(let n=0;n<tn.length;n++)t=tn[n],t.showGroup!==e&&(t.hide(),t.$emit(`close-group`))}tn.push(this),document.body.classList.add(`v-popper--some-open`);for(let e of qt(this.theme))an(e).push(this),document.body.classList.add(`v-popper--some-open--${e}`);this.$emit(`apply-show`),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await en(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,$t(tn,this),tn.length===0&&document.body.classList.remove(`v-popper--some-open`);for(let e of qt(this.theme)){let t=an(e);$t(t,this),t.length===0&&document.body.classList.remove(`v-popper--some-open--${e}`)}nn===this&&(nn=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);let t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners(`scroll`),this.$emit(`apply-hide`),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await en(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e==`string`?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw Error(`No container for popover: `+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){let e=e=>{this.isShown&&!this.$_hideInProgress||(e.usedByTooltip=!0,!this.$_preventShow&&this.show({event:e}))};this.$_registerTriggerListeners(this.$_targetNodes,Zt,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Zt,this.popperTriggers,this.popperShowTriggers,e);let t=e=>{e.usedByTooltip||this.hide({event:e})};this.$_registerTriggerListeners(this.$_targetNodes,Qt,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Qt,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(e=>e.addEventListener(t,n,Jt?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,i){let a=n;r!=null&&(a=typeof r==`function`?r(a):r),a.forEach(n=>{let r=t[n];r&&this.$_registerEventListeners(e,r,i)})},$_removeEventListeners(e){let t=[];this.$_events.forEach(n=>{let{targetNodes:r,eventType:i,handler:a}=n;!e||e===i?r.forEach(e=>e.removeEventListener(i,a)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit(`close-directive`):this.$emit(`auto-hide`),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(let n of this.$_targetNodes){let r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(let t of this.$_targetNodes)for(let n in e){let r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){let e=this.$_referenceNode.getBoundingClientRect();if(vn>=e.left&&vn<=e.right&&yn>=e.top&&yn<=e.bottom){let e=this.$_popperNode.getBoundingClientRect(),t=vn-gn,n=yn-_n,r=e.left+e.width/2-gn+(e.top+e.height/2)-_n+e.width+e.height,i=gn+t*r,a=_n+n*r;return bn(gn,_n,i,a,e.left,e.top,e.left,e.bottom)||bn(gn,_n,i,a,e.left,e.top,e.right,e.top)||bn(gn,_n,i,a,e.right,e.top,e.right,e.bottom)||bn(gn,_n,i,a,e.left,e.bottom,e.right,e.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<`u`&&typeof window<`u`){if(Yt){let e=Jt?{passive:!0,capture:!0}:!0;document.addEventListener(`touchstart`,e=>un(e,!0),e),document.addEventListener(`touchend`,e=>dn(e,!0),e)}else window.addEventListener(`mousedown`,e=>un(e,!1),!0),window.addEventListener(`click`,e=>dn(e,!1),!0);window.addEventListener(`resize`,hn)}function un(e,t){if(Wt.autoHideOnMousedown)fn(e,t);else for(let t=0;t<tn.length;t++){let n=tn[t];try{n.mouseDownContains=n.popperNode().contains(e.target)}catch{}}}function dn(e,t){Wt.autoHideOnMousedown||fn(e,t)}function fn(e,t){let n={};for(let r=tn.length-1;r>=0;r--){let i=tn[r];try{let r=i.containsGlobalTarget=i.mouseDownContains||i.popperNode().contains(e.target);i.pendingHide=!1,requestAnimationFrame(()=>{if(i.pendingHide=!1,!n[i.randomId]&&pn(i,r,e)){if(i.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&r){let e=i.parentPopper;for(;e;)n[e.randomId]=!0,e=e.parentPopper;return}let a=i.parentPopper;for(;a&&pn(a,a.containsGlobalTarget,e);)a.$_handleGlobalClose(e,t),a=a.parentPopper}})}catch{}}}function pn(e,t,n){return n.closeAllPopover||n.closePopover&&t||mn(e,n)&&!t}function mn(e,t){if(typeof e.autoHide==`function`){let n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function hn(){for(let e=0;e<tn.length;e++)tn[e].$_computePosition()}var gn=0,_n=0,vn=0,yn=0;typeof window<`u`&&window.addEventListener(`mousemove`,e=>{gn=vn,_n=yn,vn=e.clientX,yn=e.clientY},Jt?{passive:!0}:void 0);function bn(e,t,n,r,i,a,o,s){let c=((o-i)*(t-a)-(s-a)*(e-i))/((s-a)*(n-e)-(o-i)*(r-t)),l=((n-e)*(t-a)-(r-t)*(e-i))/((s-a)*(n-e)-(o-i)*(r-t));return c>=0&&c<=1&&l>=0&&l<=1}var xn={extends:ln()},Sn=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n};function Cn(e,n,r,i,a,s){return b(),t(`div`,{ref:`reference`,class:W([`v-popper`,{"v-popper--shown":e.slotData.isShown}])},[u(e.$slots,`default`,k(o(e.slotData)))],2)}var wn=Sn(xn,[[`render`,Cn]]);function Tn(){var e=window.navigator.userAgent,t=e.indexOf(`MSIE `);if(t>0)return parseInt(e.substring(t+5,e.indexOf(`.`,t)),10);if(e.indexOf(`Trident/`)>0){var n=e.indexOf(`rv:`);return parseInt(e.substring(n+3,e.indexOf(`.`,n)),10)}var r=e.indexOf(`Edge/`);return r>0?parseInt(e.substring(r+5,e.indexOf(`.`,r)),10):-1}var En;function Dn(){Dn.init||(Dn.init=!0,En=Tn()!==-1)}var On={name:`ResizeObserver`,props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:[`notify`],mounted(){Dn(),q(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});let e=document.createElement(`object`);this._resizeObject=e,e.setAttribute(`aria-hidden`,`true`),e.setAttribute(`tabindex`,-1),e.onload=this.addResizeHandlers,e.type=`text/html`,En&&this.$el.appendChild(e),e.data=`about:blank`,En||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit(`notify`,{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener(`resize`,this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!En&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener(`resize`,this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},kn=U(`data-v-b329ee4c`);d(`data-v-b329ee4c`);var An={class:`resize-observer`,tabindex:`-1`};S(),On.render=kn((e,t,n,r,i,a)=>(b(),h(`div`,An))),On.__scopeId=`data-v-b329ee4c`,On.__file=`src/components/ResizeObserver.vue`;var jn=(e=`theme`)=>({computed:{themeClass(){return Kt(this[e])}}}),Mn=m({name:`VPopperContent`,components:{ResizeObserver:On},mixins:[jn()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:[`hide`,`resize`],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),Nn=[`id`,`aria-hidden`,`tabindex`,`data-popper-placement`],Pn={ref:`inner`,class:`v-popper__inner`},Fn=[i(`div`,{class:`v-popper__arrow-outer`},null,-1),i(`div`,{class:`v-popper__arrow-inner`},null,-1)];function In(e,n,r,a,o,s){let c=w(`ResizeObserver`);return b(),t(`div`,{id:e.popperId,ref:`popover`,class:W([`v-popper__popper`,[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:j(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?`false`:`true`,tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:n[2]||=K(t=>e.autoHide&&e.$emit(`hide`),[`esc`])},[i(`div`,{class:`v-popper__backdrop`,onClick:n[0]||=t=>e.autoHide&&e.$emit(`hide`)}),i(`div`,{class:`v-popper__wrapper`,style:j(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[i(`div`,Pn,[e.mounted?(b(),t(y,{key:0},[i(`div`,null,[u(e.$slots,`default`)]),e.handleResize?(b(),h(c,{key:0,onNotify:n[1]||=t=>e.$emit(`resize`,t)})):F(``,!0)],64)):F(``,!0)],512),i(`div`,{ref:`arrow`,class:`v-popper__arrow-container`,style:j(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Fn,4)],4)],46,Nn)}var Ln=Sn(Mn,[[`render`,In]]),Rn={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}},zn=function(){};typeof window<`u`&&(zn=window.Element);var Q=m({name:`VPopperWrapper`,components:{Popper:wn,PopperContent:Ln},mixins:[Rn,jn(`finalTheme`)],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,zn,Boolean],default:void 0},boundary:{type:[String,zn],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function Bn(t,n,r,i,a,o){let s=w(`PopperContent`),c=w(`Popper`);return b(),h(c,v({ref:`popper`},t.$props,{theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:[t.themeClass],onShow:n[0]||=()=>t.$emit(`show`),onHide:n[1]||=()=>t.$emit(`hide`),"onUpdate:shown":n[2]||=e=>t.$emit(`update:shown`,e),onApplyShow:n[3]||=()=>t.$emit(`apply-show`),onApplyHide:n[4]||=()=>t.$emit(`apply-hide`),onCloseGroup:n[5]||=()=>t.$emit(`close-group`),onCloseDirective:n[6]||=()=>t.$emit(`close-directive`),onAutoHide:n[7]||=()=>t.$emit(`auto-hide`),onResize:n[8]||=()=>t.$emit(`resize`)}),{default:e(({popperId:n,isShown:r,shouldMountContent:i,skipTransition:a,autoHide:o,show:c,hide:l,handleResize:d,onResize:f,classes:m,result:h})=>[u(t.$slots,`default`,{shown:r,show:c,hide:l}),p(s,{ref:`popperContent`,"popper-id":n,theme:t.finalTheme,shown:r,mounted:i,"skip-transition":a,"auto-hide":o,"handle-resize":d,classes:m,result:h,onHide:l,onResize:f},{default:e(()=>[u(t.$slots,`popper`,{shown:r,hide:l})]),_:2},1032,[`popper-id`,`theme`,`shown`,`mounted`,`skip-transition`,`auto-hide`,`handle-resize`,`classes`,`result`,`onHide`,`onResize`])]),_:3},16,[`theme`,`target-nodes`,`popper-node`,`class`])}var Vn=Sn(Q,[[`render`,Bn]]),Hn={...Vn,name:`VDropdown`,vPopperTheme:`dropdown`};({...Vn}),{...Vn},m({name:`VTooltipDirective`,components:{Popper:ln(),PopperContent:Ln},mixins:[Rn],inheritAttrs:!1,props:{theme:{type:String,default:`tooltip`},html:{type:Boolean,default:e=>Gt(e.theme,`html`)},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Gt(e.theme,`loadingContent`)},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content==`function`},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content==`function`&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;let e=++this.$_fetchId,t=this.content(this);t.then?t.then(t=>this.onResult(e,t)):this.onResult(e,t)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}});var Un=Hn,Wn={key:1},Gn={"text-xs":``,"ml-0.5":``},Kn={"space-x-4":``,px4:``,py3:``},qn=[`onClick`],Jn=[`href`],Yn={key:0,border:`t gray-400/20`,"of-auto":``,px4:``,py3:``,"text-sm":``},Xn={flex:`~ gap-2 wrap`},Zn={"text-xs":``,"ml-0.5":``},Qn={border:`t gray-400/20`,"max-h-60":``,"of-auto":``,px4:``,py3:``,"text-sm":``},$n={flex:`~ col gap-2`,"items-start":``,pt3:``},er=[`onClick`],tr=m({__name:`AnalyzerItem`,props:{item:{}},setup(n){let r=n,o=a(()=>D(r.item.name)?`[${r.item.name.slice(1,-1).replace(/=""$/,``).replace(/~="/,`="`)}]`:r.item.name);function s(e){fetch(`/__open-in-editor?file=${encodeURIComponent(e)}`)}return(r,a)=>{let c=Se,l=pe;return b(),h(I(Un),{distance:10},{popper:e(()=>[i(`div`,Kn,[p(c,null,{default:e(({copy:e,copied:t})=>[i(`button`,{class:W(t?`text-green`:`text-dark:50 hover:text-dark dark:text-white:50 dark:hover:text-white`),"text-sm":``,onClick:t=>e(n.item.name)},[i(`div`,{class:W(t?`i-carbon-checkmark-outline`:`i-carbon-copy`)},null,2),P(` `+B(t?`Copied`:`Copy`),1)],10,qn)]),_:1}),n.item?(b(),t(`a`,{key:0,href:`https://unocss.dev/interactive/?s=${n.item.name}`,target:`_blank`,"text-sm":``,"text-dark:50":``,"hover:text-dark":``,"dark:text-white:50":``,"dark:hover:text-white":``},[...a[0]||=[i(`div`,{"i-carbon-notebook":``},null,-1),P(` Docs `,-1)]],8,Jn)):F(``,!0)]),n.item.alias?(b(),t(`div`,Yn,[a[1]||=i(`div`,{op75:``,mb2:``},` Alias `,-1),i(`div`,Xn,[(b(!0),t(y,null,V(Object.entries(n.item.alias),([e,n])=>(b(),t(`span`,{key:e,"font-mono":``,op50:``},[i(`span`,null,B(e),1),i(`sup`,Zn,B(n),1)]))),128))])])):F(``,!0),i(`div`,Qn,[i(`div`,null,[a[2]||=i(`span`,{op50:``},`It has been referenced `,-1),i(`strong`,null,B(n.item.count),1),a[3]||=i(`span`,{op50:``},` times by:`,-1)]),i(`div`,$n,[(b(!0),t(y,null,V(n.item.modules,e=>(b(),t(`a`,{key:e,"text-sm":``,"cursor-pointer":``,op80:``,"hover:op100":``,onClick:t=>s(e)},[p(l,{id:e,"mr-1":``},null,8,[`id`]),a[4]||=i(`div`,{"i-carbon-launch":``},null,-1)],8,er))),128))])])]),default:e(()=>[i(`span`,{op:`50 hover:100`,class:W(n.item.variants?.includes(`dark`)?`op-20! dark:op-80!`:``)},[i(`span`,{"font-mono":``,"text-sm":``,"cursor-pointer":``,border:`b transparent hover:current`,class:W(n.item.category===`icons`?`border-b-0`:``)},[n.item.category===`icons`?(b(),t(`i`,{key:0,class:W([n.item.baseSelector,n.item.name])},null,2)):(b(),t(`span`,Wn,B(o.value),1))],2),i(`sup`,Gn,B(n.item.count),1)],2)]),_:1})}}}),nr=Symbol(`prevW`),rr=Symbol(`prevH`),ir=m({name:`FlowLayout`,props:{cols:{type:Number,default:2},gap:{type:[Number,Array],default:4},duration:{type:[Boolean,Number],default:!0}},setup(e,{slots:t}){let n,r,i=N(null),a=N(!1),o=()=>{a.value||!i.value||(a.value=!0,requestAnimationFrame(()=>{try{let t=i.value,n=Array.from(t.children),r=n.length,[a,o]=Array.isArray(e.gap)?e.gap:[e.gap,e.gap],s=(t.offsetWidth-(e.cols-1)*a)/e.cols;for(let e of n)e.style.width=`${s}px`;let c=Array.from({length:r},(e,t)=>{let r=n[t];return r[nr]=r.offsetWidth,r[rr]=r.offsetHeight,r.offsetHeight}),l=Array.from({length:e.cols},()=>0);for(let e=0;e<n.length;e++){let t=n[e],r=Math.min(...l),i=l.indexOf(r),u=i*(s+a),d=r;t.style.left=`${u}px`,t.style.top=`${d}px`,l[i]+=c[e]+o}t.style.height=`${Math.max(...l)-o}px`}finally{i.value&&(i.value[nr]=i.value.offsetWidth,i.value[rr]=i.value.offsetHeight),a.value=!1}}))},s=()=>{if(!i.value)return;let e=i.value;n=new ResizeObserver(e=>{for(let{target:t}of e)(t.offsetWidth!==t[nr]||t.offsetHeight!==t[rr])&&o()}),n.observe(e);for(let t of e.children)n.observe(t)},u=()=>{if(!i.value)return;let e=i.value;r=new MutationObserver(e=>{for(let t of e){for(let e of t.addedNodes)e.nodeType===1&&n.observe(e);for(let e of t.removedNodes)e.nodeType===1&&n.unobserve(e)}o()}),r.observe(e,{childList:!0,subtree:!0})};return _(()=>[e.cols,e.gap],o),x(()=>{o(),s(),u()}),c(()=>{n.disconnect(),r.disconnect()}),()=>{let n={position:`relative`,display:`block`,boxSizing:`border-box`,overflow:`unset !important`},r={position:`absolute`,boxSizing:`border-box`,...e.duration?{transition:`all ${typeof e.duration==`number`?`${e.duration}ms`:`350ms`}`}:{}},a=t.default?.();function o(e,t,n=1){if(Array.isArray(e.children)&&n>0)e.children.forEach(e=>{o(e,t,n-1)});else{let t=e.props=e.props||{};t.style={...t.style,...r}}}return a?.forEach(e=>{o(e,r)}),l(`div`,{id:`vue-flow-layout`,ref:i,style:n},a)}}}),ar={"p-4":``,"space-y-8":``},$={flex:`~ gap-2 items-center`},or={key:0},sr={"p-4":``,"bg-active":``},cr={flex:`~ wrap`,gap:`x-2 y-2`},lr={key:1},ur={uppercase:``,"text-sm":``,"mb-4":``,op50:``},dr={op50:``,"text-sm":``},fr={flex:``,"flex-wrap":``,"gap-2":``},pr={"p-2":``,"w-25":``,"inline-block":``,"of-hidden":``,"bg-active":``},mr={"font-mono":``,"text-sm":``,op50:``,"ws-nowrap":``,"text-ellipsis":``,"of-hidden":``},hr={key:2},gr={uppercase:``,"text-sm":``,"mb-4":``,op50:``},_r={op50:``,"text-sm":``},vr={flex:``,"flex-wrap":``,"gap-2":``},yr={"text-sm":``,"pb-4":``},br={capitalize:``},xr={op50:``,"ml-1":``},Sr={flex:``,"flex-wrap":``,"gap-x-2":``,"gap-y-2":``},Cr={key:1,op50:``},wr=m({__name:`Analyzer`,props:{selectors:{},icons:{},colors:{}},setup(n){let o=n,s=N(!0),c=a(()=>[...o.selectors].sort((e,t)=>t.count-e.count)),l=a(()=>(o.colors||[]).map(e=>({...e,name:e.no===`DEFAULT`?`${e.name}`:`${e.name}-${e.no}`})).sort((e,t)=>t.count-e.count)),u=a(()=>{if(!s.value)return c.value;let e=new Map;c.value.forEach(t=>{let n=t.body,r=e.get(n);if(r){r.alias||={[r.name]:r.count},r.alias[t.name]=t.count,r.count+=t.count,r.modules||=[];for(let e of t.modules)r.modules.includes(e)||r.modules.push(e)}else e.set(n,structuredClone(t))});let t=[...e.values()].sort((e,t)=>t.count-e.count);return t.forEach(e=>{e.alias&&(e.name=Object.keys(e.alias).sort((e,t)=>t.localeCompare(e))[0])}),t}),d=a(()=>u.value.reduce((e,t)=>{let n=t.category,r=e.find(e=>e.name===n);return r?(r.items.push(t),r.count+=t.count):e.push({name:n,count:t.count,items:[t]}),e},[]).sort((e,t)=>t.count-e.count));return(a,o)=>{let f=tr;return b(),t(`div`,ar,[i(`label`,$,[A(i(`input`,{"onUpdate:modelValue":o[0]||=e=>s.value=e,type:`checkbox`},null,512),[[r,s.value]]),o[1]||=i(`span`,null,`Merge Alias`,-1)]),c.value.length>10?(b(),t(`div`,or,[o[2]||=i(`div`,{"mb-4":``,op50:``,uppercase:``,"text-sm":``},` Top 10 Utilities `,-1),i(`div`,sr,[i(`div`,cr,[(b(!0),t(y,null,V(u.value.slice(0,10),(e,t)=>(b(),h(f,{key:t,item:e},null,8,[`item`]))),128))])])])):F(``,!0),l.value.length?(b(),t(`div`,lr,[i(`div`,ur,[o[3]||=P(` Color Palette `,-1),i(`sup`,dr,B(l.value.length),1)]),i(`div`,fr,[(b(!0),t(y,null,V(l.value,(e,n)=>(b(),t(`span`,{key:n},[i(`div`,pr,[p(f,{item:e},null,8,[`item`]),i(`div`,mr,B(e.color),1),i(`div`,{"h-10":``,"mt-1":``,style:j({background:e.color})},null,4)])]))),128))])])):F(``,!0),n.icons.length?(b(),t(`div`,hr,[i(`div`,gr,[o[4]||=P(` Icon Set `,-1),i(`sup`,_r,B(n.icons.length),1)]),i(`div`,vr,[(b(!0),t(y,null,V(n.icons,(e,n)=>(b(),t(`span`,{key:n},[p(f,{item:e},null,8,[`item`])]))),128))])])):F(``,!0),i(`div`,null,[o[5]||=i(`div`,{mb4:``,op50:``,uppercase:``,"text-sm":``,flex:`~ gap-4 items-center`},` Utilities Usage `,-1),d.value.length?(b(),h(I(ir),{key:0,cols:2,gap:16},{default:e(()=>[(b(!0),t(y,null,V(d.value,(e,n)=>(b(),t(`div`,{key:n,"p-4":``,"bg-active":``},[i(`div`,yr,[i(`span`,br,B(e.name),1),i(`sup`,xr,B(e.count),1)]),i(`div`,Sr,[(b(!0),t(y,null,V(e.items,(e,t)=>(b(),h(f,{key:t,item:e},null,8,[`item`]))),128))])]))),128))]),_:1})):(b(),t(`div`,Cr,` No utilities found. `))])])}}}),Tr=typeof document<`u`;function Er(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function Dr(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&Er(e.default)}var Or=Object.assign;function kr(e,t){let n={};for(let r in t){let i=t[r];n[r]=jr(i)?i.map(e):e(i)}return n}var Ar=()=>{},jr=Array.isArray;function Mr(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var Nr=function(e){return e[e.MATCHER_NOT_FOUND=1]=`MATCHER_NOT_FOUND`,e[e.NAVIGATION_GUARD_REDIRECT=2]=`NAVIGATION_GUARD_REDIRECT`,e[e.NAVIGATION_ABORTED=4]=`NAVIGATION_ABORTED`,e[e.NAVIGATION_CANCELLED=8]=`NAVIGATION_CANCELLED`,e[e.NAVIGATION_DUPLICATED=16]=`NAVIGATION_DUPLICATED`,e}({}),Pr=Symbol(``);Nr.MATCHER_NOT_FOUND,Nr.NAVIGATION_GUARD_REDIRECT,Nr.NAVIGATION_ABORTED,Nr.NAVIGATION_CANCELLED,Nr.NAVIGATION_DUPLICATED;function Fr(e,t){return Or(Error(),{type:e,[Pr]:!0},t)}function Ir(e,t){return e instanceof Error&&Pr in e&&(t==null||!!(e.type&t))}var Lr=Symbol(``),Rr=Symbol(``),zr=Symbol(``),Br=Symbol(``),Vr=Symbol(``);function Hr(e){return f(Br)}var Ur=/#/g,Wr=/&/g,Gr=/\//g,Kr=/=/g,qr=/\?/g,Jr=/\+/g,Yr=/%5B/g,Xr=/%5D/g,Zr=/%5E/g,Qr=/%60/g,$r=/%7B/g,ei=/%7C/g,ti=/%7D/g,ni=/%20/g;function ri(e){return e==null?``:encodeURI(``+e).replace(ei,`|`).replace(Yr,`[`).replace(Xr,`]`)}function ii(e){return ri(e).replace($r,`{`).replace(ti,`}`).replace(Zr,`^`)}function ai(e){return ri(e).replace(Jr,`%2B`).replace(ni,`+`).replace(Ur,`%23`).replace(Wr,`%26`).replace(Qr,"`").replace($r,`{`).replace(ti,`}`).replace(Zr,`^`)}function oi(e){return ai(e).replace(Kr,`%3D`)}function si(e){return ri(e).replace(Ur,`%23`).replace(qr,`%3F`)}function ci(e){return si(e).replace(Gr,`%2F`)}function li(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var ui=/\/$/,di=e=>e.replace(ui,``);function fi(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=bi(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:li(o)}}function pi(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function mi(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function hi(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&gi(t.matched[r],n.matched[i])&&_i(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function gi(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function _i(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!vi(e[n],t[n]))return!1;return!0}function vi(e,t){return jr(e)?yi(e,t):jr(t)?yi(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function yi(e,t){return jr(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function bi(e,t){if(e.startsWith(`/`))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`)if(s===`..`)a>1&&a--;else break;return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var xi={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0},Si=function(e){return e.pop=`pop`,e.push=`push`,e}({}),Ci=function(e){return e.back=`back`,e.forward=`forward`,e.unknown=``,e}({});function wi(e){if(!e)if(Tr){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^\/]+/,``)}else e=`/`;return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),di(e)}var Ti=/^[^#]+#/;function Ei(e,t){return e.replace(Ti,`#`)+t}function Di(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var Oi=()=>({left:window.scrollX,top:window.scrollY});function ki(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Di(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function Ai(e,t){return(history.state?history.state.position-t:-1)+e}var ji=new Map;function Mi(e,t){ji.set(e,t)}function Ni(e){let t=ji.get(e);return ji.delete(e),t}function Pi(e){return typeof e==`string`||e&&typeof e==`object`}function Fi(e){return typeof e==`string`||typeof e==`symbol`}function Ii(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(Jr,` `),i=r.indexOf(`=`),a=li(i<0?r:r.slice(0,i)),o=i<0?null:li(r.slice(i+1));if(a in t){let e=t[a];jr(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function Li(e){let t=``;for(let n in e){let r=e[n];if(n=oi(n),r==null){r!==void 0&&(t+=(t.length?`&`:``)+n);continue}(jr(r)?r.map(e=>e&&ai(e)):[r&&ai(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function Ri(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=jr(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function zi(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Bi(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(Fr(Nr.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?c(e):Pi(e)?c(Fr(Nr.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function Vi(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(!(t!==`beforeRouteEnter`&&!o.instances[e]))if(Er(s)){let c=(s.__vccOpts||s)[t];c&&a.push(Bi(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=Dr(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&Bi(c,n,r,o,e,i)()}))}}return a}function Hi(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>gi(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>gi(e,s))||i.push(s))}return[n,r,i]}var Ui=()=>location.protocol+`//`+location.host;function Wi(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),mi(n,``)}return mi(n,e)+r+i}function Gi(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=Wi(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:Si.pop,direction:u?u>0?Ci.forward:Ci.back:Ci.unknown})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){if(document.visibilityState===`hidden`){let{history:e}=window;if(!e.state)return;e.replaceState(Or({},e.state,{scroll:Oi()}),``)}}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u),document.removeEventListener(`visibilitychange`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),document.addEventListener(`visibilitychange`,u),{pauseListeners:c,listen:l,destroy:d}}function Ki(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Oi():null}}function qi(e){let{history:t,location:n}=window,r={value:Wi(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:Ui()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){a(e,Or({},t.state,Ki(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=Or({},i.value,t.state,{forward:e,scroll:Oi()});a(o.current,o,!0),a(e,Or({},Ki(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function Ji(e){e=wi(e);let t=qi(e),n=Gi(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=Or({location:``,base:e,go:r,createHref:Ei.bind(null,e)},t,n);return Object.defineProperty(i,`location`,{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,`state`,{enumerable:!0,get:()=>t.state.value}),i}function Yi(e){return e=location.host?e||location.pathname+location.search:``,e.includes(`#`)||(e+=`#`),Ji(e)}var Xi=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.Group=2]=`Group`,e}({}),Zi=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.ParamRegExp=2]=`ParamRegExp`,e[e.ParamRegExpEnd=3]=`ParamRegExpEnd`,e[e.EscapeNext=4]=`EscapeNext`,e}(Zi||{}),Qi={type:Xi.Static,value:``},$i=/[a-zA-Z0-9_]/;function ea(e){if(!e)return[[]];if(e===`/`)return[[Qi]];if(!e.startsWith(`/`))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=Zi.Static,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===Zi.Static?a.push({type:Xi.Static,value:l}):n===Zi.Param||n===Zi.ParamRegExp||n===Zi.ParamRegExpEnd?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:Xi.Param,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;){if(c=e[s++],c===`\\`&&n!==Zi.ParamRegExp){r=n,n=Zi.EscapeNext;continue}switch(n){case Zi.Static:c===`/`?(l&&d(),o()):c===`:`?(d(),n=Zi.Param):f();break;case Zi.EscapeNext:f(),n=r;break;case Zi.Param:c===`(`?n=Zi.ParamRegExp:$i.test(c)?f():(d(),n=Zi.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case Zi.ParamRegExp:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=Zi.ParamRegExpEnd:u+=c;break;case Zi.ParamRegExpEnd:d(),n=Zi.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`);break}}return n===Zi.ParamRegExp&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var ta=`[^/]+?`,na={sensitive:!1,strict:!1,start:!0,end:!0},ra=function(e){return e[e._multiplier=10]=`_multiplier`,e[e.Root=90]=`Root`,e[e.Segment=40]=`Segment`,e[e.SubSegment=30]=`SubSegment`,e[e.Static=40]=`Static`,e[e.Dynamic=20]=`Dynamic`,e[e.BonusCustomRegExp=10]=`BonusCustomRegExp`,e[e.BonusWildcard=-50]=`BonusWildcard`,e[e.BonusRepeatable=-20]=`BonusRepeatable`,e[e.BonusOptional=-8]=`BonusOptional`,e[e.BonusStrict=.7000000000000001]=`BonusStrict`,e[e.BonusCaseSensitive=.25]=`BonusCaseSensitive`,e}(ra||{}),ia=/[.+*?^${}()[\]/\\]/g;function aa(e,t){let n=Or({},na,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[ra.Root];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=ra.Segment+(n.sensitive?ra.BonusCaseSensitive:0);if(o.type===Xi.Static)r||(i+=`/`),i+=o.value.replace(ia,`\\$&`),s+=ra.Static;else if(o.type===Xi.Param){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||ta;if(u!==ta){s+=ra.BonusCustomRegExp;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=ra.Dynamic,c&&(s+=ra.BonusOptional),n&&(s+=ra.BonusRepeatable),u===`.*`&&(s+=ra.BonusWildcard)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=ra.BonusStrict}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){(!r||!n.endsWith(`/`))&&(n+=`/`),r=!1;for(let e of i)if(e.type===Xi.Static)n+=e.value;else if(e.type===Xi.Param){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(jr(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=jr(c)?c.join(`/`):c;if(!l)if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`);n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function oa(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===ra.Static+ra.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===ra.Static+ra.Segment?1:-1:0}function sa(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=oa(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(ca(r))return 1;if(ca(i))return-1}return i.length-r.length}function ca(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var la={strict:!1,end:!0,sensitive:!1};function ua(e,t,n){let r=Or(aa(ea(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function da(e,t){let n=[],r=new Map;t=Mr(la,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=pa(e);s.aliasOf=r&&r.record;let l=Mr(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(pa(Or({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&u[0]!==`/`){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=ua(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!ha(d)&&o(e.name)),ya(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:Ar}function o(e){if(Fi(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=_a(e,n);n.splice(t,0,e),e.record.name&&!ha(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw Fr(Nr.MATCHER_NOT_FOUND,{location:e});s=i.record.name,a=Or(fa(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&fa(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name);else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw Fr(Nr.MATCHER_NOT_FOUND,{location:e,currentLocation:t});s=i.record.name,a=Or({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:ga(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function fa(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function pa(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:ma(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:`components`in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,`mods`,{value:{}}),t}function ma(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function ha(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ga(e){return e.reduce((e,t)=>Or(e,t.meta),{})}function _a(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;sa(e,t[i])<0?r=i:n=i+1}let i=va(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function va(e){let t=e;for(;t=t.parent;)if(ya(t)&&sa(e,t)===0)return t}function ya({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function ba(e){let t=f(zr),n=f(Br),r=a(()=>{let n=I(e.to);return t.resolve(n)}),i=a(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex(gi.bind(null,i));if(o>-1)return o;let s=Ta(e[t-2]);return t>1&&Ta(i)===s&&a[a.length-1].path!==s?a.findIndex(gi.bind(null,e[t-2])):o}),o=a(()=>i.value>-1&&wa(n.params,r.value.params)),s=a(()=>i.value>-1&&i.value===n.matched.length-1&&_i(n.params,r.value.params));function c(n={}){if(Ca(n)){let n=t[I(e.replace)?`replace`:`push`](I(e.to)).catch(Ar);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:a(()=>r.value.href),isActive:o,isExactActive:s,navigate:c}}function xa(e){return e.length===1?e[0]:e}var Sa=m({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`},viewTransition:Boolean},useLink:ba,setup(e,{slots:t}){let n=H(ba(e)),{options:r}=f(zr),i=a(()=>({[Ea(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[Ea(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&xa(t.default(n));return e.custom?r:l(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function Ca(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function wa(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!jr(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}function Ta(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var Ea=(e,t,n)=>e??t??n,Da=m({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=f(Vr),i=a(()=>e.route||r.value),o=f(Rr,0),c=a(()=>{let e=I(o),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),u=a(()=>i.value.matched[c.value]);s(Rr,a(()=>c.value+1)),s(Lr,u),s(Vr,i);let d=N();return _(()=>[d.value,u.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!gi(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=u.value,s=o&&o.components[a];if(!s)return Oa(n.default,{Component:s,route:r});let c=o.props[a],f=l(s,Or({},c?c===!0?r.params:typeof c==`function`?c(r):c:null,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(o.instances[a]=null)},ref:d}));return Oa(n.default,{Component:f,route:r})||f}}});function Oa(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var ka=Da;function Aa(e){let t=da(e.routes,e),n=e.parseQuery||Ii,r=e.stringifyQuery||Li,i=e.history,a=zi(),o=zi(),s=zi(),c=z(xi),l=xi;Tr&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let u=kr.bind(null,e=>``+e),d=kr.bind(null,ci),f=kr.bind(null,li);function p(e,n){let r,i;return Fi(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)}function m(e){let n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function h(){return t.getRoutes().map(e=>e.record)}function g(e){return!!t.getRecordMatcher(e)}function _(e,a){if(a=Or({},a||c.value),typeof e==`string`){let r=fi(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return Or(r,o,{params:f(o.params),hash:li(r.hash),redirectedFrom:void 0,href:s})}let o;if(e.path!=null)o=Or({},e,{path:fi(n,e.path,a.path).path});else{let t=Or({},e.params);for(let e in t)t[e]??delete t[e];o=Or({},e,{params:d(t)}),a.params=d(a.params)}let s=t.resolve(o,a),l=e.hash||``;s.params=u(f(s.params));let p=pi(r,Or({},e,{hash:ii(l),path:s.path})),m=i.createHref(p);return Or({fullPath:p,hash:l,query:r===Li?Ri(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function v(e){return typeof e==`string`?fi(n,e,c.value.path):Or({},e)}function y(e,t){if(l!==e)return Fr(Nr.NAVIGATION_CANCELLED,{from:t,to:e})}function b(e){return C(e)}function x(e){return b(Or(v(e),{replace:!0}))}function S(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=v(i):{path:i},i.params={}),Or({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function C(e,t){let n=l=_(e),i=c.value,a=e.state,o=e.force,s=e.replace===!0,u=S(n,i);if(u)return C(Or(v(u),{state:typeof u==`object`?Or({},a,u.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&hi(r,i,n)&&(f=Fr(Nr.NAVIGATION_DUPLICATED,{to:d,from:i}),B(i,i,!0,!1)),(f?Promise.resolve(f):D(d,i)).catch(e=>Ir(e)?Ir(e,Nr.NAVIGATION_GUARD_REDIRECT)?e:R(e):F(e,d,i)).then(e=>{if(e){if(Ir(e,Nr.NAVIGATION_GUARD_REDIRECT))return C(Or({replace:s},v(e.to),{state:typeof e.to==`object`?Or({},a,e.to.state):a,force:o}),t||d)}else e=k(d,i,!0,s,a);return O(d,i,e),e})}function w(e,t){let n=y(e,t);return n?Promise.reject(n):Promise.resolve()}function T(e){let t=U.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function D(e,t){let n,[r,i,s]=Hi(e,t);n=Vi(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(Bi(r,e,t))});let c=w.bind(null,e,t);return n.push(c),G(n).then(()=>{n=[];for(let r of a.list())n.push(Bi(r,e,t));return n.push(c),G(n)}).then(()=>{n=Vi(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(Bi(r,e,t))});return n.push(c),G(n)}).then(()=>{n=[];for(let r of s)if(r.beforeEnter)if(jr(r.beforeEnter))for(let i of r.beforeEnter)n.push(Bi(i,e,t));else n.push(Bi(r.beforeEnter,e,t));return n.push(c),G(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Vi(s,`beforeRouteEnter`,e,t,T),n.push(c),G(n))).then(()=>{n=[];for(let r of o.list())n.push(Bi(r,e,t));return n.push(c),G(n)}).catch(e=>Ir(e,Nr.NAVIGATION_CANCELLED)?e:Promise.reject(e))}function O(e,t,n){s.list().forEach(r=>T(()=>r(e,t,n)))}function k(e,t,n,r,a){let o=y(e,t);if(o)return o;let s=t===xi,l=Tr?history.state:{};n&&(r||s?i.replace(e.fullPath,Or({scroll:s&&l&&l.scroll},a)):i.push(e.fullPath,a)),c.value=e,B(e,t,n,s),R()}let A;function j(){A||=i.listen((e,t,n)=>{if(!W.listening)return;let r=_(e),a=S(r,W.currentRoute.value);if(a){C(Or(a,{replace:!0,force:!0}),r).catch(Ar);return}l=r;let o=c.value;Tr&&Mi(Ai(o.fullPath,n.delta),Oi()),D(r,o).catch(e=>Ir(e,Nr.NAVIGATION_ABORTED|Nr.NAVIGATION_CANCELLED)?e:Ir(e,Nr.NAVIGATION_GUARD_REDIRECT)?(C(Or(v(e.to),{force:!0}),r).then(e=>{Ir(e,Nr.NAVIGATION_ABORTED|Nr.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===Si.pop&&i.go(-1,!1)}).catch(Ar),Promise.reject()):(n.delta&&i.go(-n.delta,!1),F(e,r,o))).then(e=>{e||=k(r,o,!1),e&&(n.delta&&!Ir(e,Nr.NAVIGATION_CANCELLED)?i.go(-n.delta,!1):n.type===Si.pop&&Ir(e,Nr.NAVIGATION_ABORTED|Nr.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),O(r,o,e)}).catch(Ar)})}let M=zi(),N=zi(),P;function F(e,t,n){R(e);let r=N.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function L(){return P&&c.value!==xi?Promise.resolve():new Promise((e,t)=>{M.add([e,t])})}function R(e){return P||(P=!e,j(),M.list().forEach(([t,n])=>e?n(e):t()),M.reset()),e}function B(t,n,r,i){let{scrollBehavior:a}=e;if(!Tr||!a)return Promise.resolve();let o=!r&&Ni(Ai(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return q().then(()=>a(t,n,o)).then(e=>e&&ki(e)).catch(e=>F(e,t,n))}let V=e=>i.go(e),H,U=new Set,W={currentRoute:c,listening:!0,addRoute:p,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:h,resolve:_,options:e,push:b,replace:x,go:V,back:()=>V(-1),forward:()=>V(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:N.add,isReady:L,install(e){e.component(`RouterLink`,Sa),e.component(`RouterView`,ka),e.config.globalProperties.$router=W,Object.defineProperty(e.config.globalProperties,`$route`,{enumerable:!0,get:()=>I(c)}),Tr&&!H&&c.value===xi&&(H=!0,b(i.location).catch(e=>{}));let t={};for(let e in xi)Object.defineProperty(t,e,{get:()=>c.value[e],enumerable:!0});e.provide(zr,W),e.provide(Br,E(t)),e.provide(Vr,c);let n=e.unmount;U.add(e),e.unmount=function(){U.delete(e),U.size<1&&(l=xi,A&&A(),A=null,c.value=xi,H=!1,P=!1),n()}}};function G(e){return e.reduce((e,t)=>e.then(()=>T(t)),Promise.resolve())}return W}var ja={__name:`splitpanes`,props:{horizontal:{type:Boolean,default:!1},pushOtherPanes:{type:Boolean,default:!0},maximizePanes:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean,default:!1}},emits:[`ready`,`resize`,`resized`,`pane-click`,`pane-maximize`,`pane-add`,`pane-remove`,`splitter-click`,`splitter-dblclick`],setup(e,{emit:t}){let r=t,i=e,o=T(),c=N([]),u=a(()=>c.value.reduce((e,t)=>(e[~~t.id]=t)&&e,{})),d=a(()=>c.value.length),f=N(null),p=N(!1),m=N({mouseDown:!1,dragging:!1,activeSplitter:null,cursorOffset:0}),g=N({splitter:null,timeoutId:null}),v=a(()=>({[`splitpanes splitpanes--${i.horizontal?`horizontal`:`vertical`}`]:!0,"splitpanes--dragging":m.value.dragging})),y=()=>{document.addEventListener(`mousemove`,E,{passive:!1}),document.addEventListener(`mouseup`,D),`ontouchstart`in window&&(document.addEventListener(`touchmove`,E,{passive:!1}),document.addEventListener(`touchend`,D))},S=()=>{document.removeEventListener(`mousemove`,E,{passive:!1}),document.removeEventListener(`mouseup`,D),`ontouchstart`in window&&(document.removeEventListener(`touchmove`,E,{passive:!1}),document.removeEventListener(`touchend`,D))},w=(e,t)=>{let n=e.target.closest(`.splitpanes__splitter`);if(n){let{left:t,top:r}=n.getBoundingClientRect(),{clientX:a,clientY:o}=`ontouchstart`in window&&e.touches?e.touches[0]:e;m.value.cursorOffset=i.horizontal?o-r:a-t}y(),m.value.mouseDown=!0,m.value.activeSplitter=t},E=e=>{m.value.mouseDown&&(e.preventDefault(),m.value.dragging=!0,requestAnimationFrame(()=>{P(j(e)),re(`resize`,{event:e},!0)}))},D=e=>{m.value.dragging&&(window.getSelection().removeAllRanges(),re(`resized`,{event:e},!0)),m.value.mouseDown=!1,m.value.activeSplitter=null,setTimeout(()=>{m.value.dragging=!1,S()},100)},O=(e,t)=>{`ontouchstart`in window&&(e.preventDefault(),g.value.splitter===t?(clearTimeout(g.value.timeoutId),g.value.timeoutId=null,k(e,t),g.value.splitter=null):(g.value.splitter=t,g.value.timeoutId=setTimeout(()=>g.value.splitter=null,500))),m.value.dragging||re(`splitter-click`,{event:e,index:t},!0)},k=(e,t)=>{if(re(`splitter-dblclick`,{event:e,index:t},!0),i.maximizePanes){let n=0;c.value=c.value.map((e,r)=>(e.size=r===t?e.max:e.min,r!==t&&(n+=e.min),e)),c.value[t].size-=n,re(`pane-maximize`,{event:e,index:t,pane:c.value[t]}),re(`resized`,{event:e,index:t},!0)}},A=(e,t)=>{re(`pane-click`,{event:e,index:u.value[t].index,pane:u.value[t]})},j=e=>{let t=f.value.getBoundingClientRect(),{clientX:n,clientY:r}=`ontouchstart`in window&&e.touches?e.touches[0]:e;return{x:n-(i.horizontal?0:m.value.cursorOffset)-t.left,y:r-(i.horizontal?m.value.cursorOffset:0)-t.top}},M=e=>{e=e[i.horizontal?`y`:`x`];let t=f.value[i.horizontal?`clientHeight`:`clientWidth`];return i.rtl&&!i.horizontal&&(e=t-e),e*100/t},P=e=>{let t=m.value.activeSplitter,n={prevPanesSize:I(t),nextPanesSize:L(t),prevReachedMinPanes:0,nextReachedMinPanes:0},r=0+(i.pushOtherPanes?0:n.prevPanesSize),a=100-(i.pushOtherPanes?0:n.nextPanesSize),o=Math.max(Math.min(M(e),a),r),s=[t,t+1],l=c.value[s[0]]||null,u=c.value[s[1]]||null,d=l.max<100&&o>=l.max+n.prevPanesSize,f=u.max<100&&o<=100-(u.max+L(t+1));if(d||f){d?(l.size=l.max,u.size=Math.max(100-l.max-n.prevPanesSize-n.nextPanesSize,0)):(l.size=Math.max(100-u.max-n.prevPanesSize-L(t+1),0),u.size=u.max);return}if(i.pushOtherPanes){let e=F(n,o);if(!e)return;({sums:n,panesToResize:s}=e),l=c.value[s[0]]||null,u=c.value[s[1]]||null}l!==null&&(l.size=Math.min(Math.max(o-n.prevPanesSize-n.prevReachedMinPanes,l.min),l.max)),u!==null&&(u.size=Math.min(Math.max(100-o-n.nextPanesSize-n.nextReachedMinPanes,u.min),u.max))},F=(e,t)=>{let n=m.value.activeSplitter,r=[n,n+1];return t<e.prevPanesSize+c.value[r[0]].min&&(r[0]=R(n).index,e.prevReachedMinPanes=0,r[0]<n&&c.value.forEach((t,i)=>{i>r[0]&&i<=n&&(t.size=t.min,e.prevReachedMinPanes+=t.min)}),e.prevPanesSize=I(r[0]),r[0]===void 0)?(e.prevReachedMinPanes=0,c.value[0].size=c.value[0].min,c.value.forEach((t,r)=>{r>0&&r<=n&&(t.size=t.min,e.prevReachedMinPanes+=t.min)}),c.value[r[1]].size=100-e.prevReachedMinPanes-c.value[0].min-e.prevPanesSize-e.nextPanesSize,null):t>100-e.nextPanesSize-c.value[r[1]].min&&(r[1]=z(n).index,e.nextReachedMinPanes=0,r[1]>n+1&&c.value.forEach((t,i)=>{i>n&&i<r[1]&&(t.size=t.min,e.nextReachedMinPanes+=t.min)}),e.nextPanesSize=L(r[1]-1),r[1]===void 0)?(e.nextReachedMinPanes=0,c.value.forEach((t,r)=>{r<d.value-1&&r>=n+1&&(t.size=t.min,e.nextReachedMinPanes+=t.min)}),c.value[r[0]].size=100-e.prevPanesSize-L(r[0]-1),null):{sums:e,panesToResize:r}},I=e=>c.value.reduce((t,n,r)=>t+(r<e?n.size:0),0),L=e=>c.value.reduce((t,n,r)=>t+(r>e+1?n.size:0),0),R=e=>[...c.value].reverse().find(t=>t.index<e&&t.size>t.min)||{},z=e=>c.value.find(t=>t.index>e+1&&t.size>t.min)||{},B=()=>{let e=Array.from(f.value?.children||[]);for(let t of e){let e=t.classList.contains(`splitpanes__pane`),n=t.classList.contains(`splitpanes__splitter`);!e&&!n&&(t.remove(),console.warn(`Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed.`))}},V=(e,t,n=!1)=>{let r=e-1,i=document.createElement(`div`);i.classList.add(`splitpanes__splitter`),n||(i.onmousedown=e=>w(e,r),typeof window<`u`&&`ontouchstart`in window&&(i.ontouchstart=e=>w(e,r)),i.onclick=e=>O(e,r+1)),i.ondblclick=e=>k(e,r+1),t.parentNode.insertBefore(i,t)},H=e=>{e.onmousedown=void 0,e.onclick=void 0,e.ondblclick=void 0,e.remove()},U=()=>{let e=Array.from(f.value?.children||[]);for(let t of e)t.className.includes(`splitpanes__splitter`)&&H(t);let t=0;for(let n of e)n.className.includes(`splitpanes__pane`)&&(!t&&i.firstSplitter?V(t,n,!0):t&&V(t,n),t++)},W=({uid:e,...t})=>{let n=u.value[e];for(let[e,r]of Object.entries(t))n[e]=r},G=e=>{let t=-1;Array.from(f.value?.children||[]).some(n=>(n.className.includes(`splitpanes__pane`)&&t++,n.isSameNode(e.el))),c.value.splice(t,0,{...e,index:t}),c.value.forEach((e,t)=>e.index=t),p.value&&q(()=>{U(),ee({addedPane:c.value[t]}),re(`pane-add`,{pane:c.value[t]})})},K=e=>{let t=c.value.findIndex(t=>t.id===e);c.value[t].el=null;let n=c.value.splice(t,1)[0];c.value.forEach((e,t)=>e.index=t),q(()=>{U(),re(`pane-remove`,{pane:n}),ee({removedPane:{...n}})})},ee=(e={})=>{!e.addedPane&&!e.removedPane?te():c.value.some(e=>e.givenSize!==null||e.min||e.max<100)?ne(e):J(),p.value&&re(`resized`)},J=()=>{let e=100/d.value,t=0,n=[],r=[];for(let i of c.value)i.size=Math.max(Math.min(e,i.max),i.min),t-=i.size,i.size>=i.max&&n.push(i.id),i.size<=i.min&&r.push(i.id);t>.1&&Y(t,n,r)},te=()=>{let e=100,t=[],n=[],r=0;for(let i of c.value)e-=i.size,i.givenSize!==null&&r++,i.size>=i.max&&t.push(i.id),i.size<=i.min&&n.push(i.id);let i=100;if(e>.1){for(let t of c.value)t.givenSize===null&&(t.size=Math.max(Math.min(e/(d.value-r),t.max),t.min)),i-=t.size;i>.1&&Y(i,t,n)}},ne=({addedPane:e,removedPane:t}={})=>{let n=100/d.value,r=0,i=[],a=[];(e?.givenSize??null)!==null&&(n=(100-e.givenSize)/(d.value-1));for(let e of c.value)r-=e.size,e.size>=e.max&&i.push(e.id),e.size<=e.min&&a.push(e.id);if(!(Math.abs(r)<.1)){for(let t of c.value)e?.givenSize!==null&&e?.id===t.id||(t.size=Math.max(Math.min(n,t.max),t.min)),r-=t.size,t.size>=t.max&&i.push(t.id),t.size<=t.min&&a.push(t.id);r>.1&&Y(r,i,a)}},Y=(e,t,n)=>{let r;r=e>0?e/(d.value-t.length):e/(d.value-n.length),c.value.forEach((i,a)=>{if(e>0&&!t.includes(i.id)){let t=Math.max(Math.min(i.size+r,i.max),i.min),n=t-i.size;e-=n,i.size=t}else if(!n.includes(i.id)){let t=Math.max(Math.min(i.size+r,i.max),i.min),n=t-i.size;e-=n,i.size=t}}),Math.abs(e)>.1&&q(()=>{p.value&&console.warn(`Splitpanes: Could not resize panes correctly due to their constraints.`)})},re=(e,t=void 0,n=!1)=>{let a=t?.index??m.value.activeSplitter??null;r(e,{...t,...a!==null&&{index:a},...n&&a!==null&&{prevPane:c.value[a-+!!i.firstSplitter],nextPane:c.value[a+ +!i.firstSplitter]},panes:c.value.map(e=>({min:e.min,max:e.max,size:e.size}))})};_(()=>i.firstSplitter,()=>U()),x(()=>{B(),U(),ee(),re(`ready`),p.value=!0}),n(()=>p.value=!1);let ie=()=>l(`div`,{ref:f,class:v.value},o.default?.call(o));return s(`panes`,c),s(`indexedPanes`,u),s(`horizontal`,a(()=>i.horizontal)),s(`requestUpdate`,W),s(`onPaneAdd`,G),s(`onPaneRemove`,K),s(`onPaneClick`,A),(e,t)=>(b(),h(C(ie)))}},Ma={__name:`pane`,props:{size:{type:[Number,String]},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},setup(e){let r=e,i=f(`requestUpdate`),o=f(`onPaneAdd`),s=f(`horizontal`),c=f(`onPaneRemove`),l=f(`onPaneClick`),d=g()?.uid,p=f(`indexedPanes`),m=a(()=>p.value[d]),h=N(null),v=a(()=>{let e=isNaN(r.size)||r.size===void 0?0:parseFloat(r.size);return Math.max(Math.min(e,S.value),y.value)}),y=a(()=>{let e=parseFloat(r.minSize);return isNaN(e)?0:e}),S=a(()=>{let e=parseFloat(r.maxSize);return isNaN(e)?100:e}),C=a(()=>`${s.value?`height`:`width`}: ${m.value?.size}%`);return _(()=>v.value,e=>i({uid:d,size:e})),_(()=>y.value,e=>i({uid:d,min:e})),_(()=>S.value,e=>i({uid:d,max:e})),x(()=>{o({id:d,el:h.value,min:y.value,max:S.value,givenSize:r.size===void 0?null:v.value,size:v.value})}),n(()=>c(d)),(e,n)=>(b(),t(`div`,{ref_key:`paneEl`,ref:h,class:`splitpanes__pane`,onClick:n[0]||=t=>I(l)(t,e._.uid),style:j(C.value)},[u(e.$slots,`default`)],4))}};export{Hr as a,pe as c,Yi as i,ue as l,Ma as n,wr as o,Aa as r,xe as s,ja as t};
|