@appthen/cli 1.0.2

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/index.js ADDED
@@ -0,0 +1,48 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("os"),t=require("tty"),s=require("path"),r=require("@mengti/code-generator"),i=require("cssjson"),n=require("fs"),a=require("assert"),o=require("glob"),c=require("http"),u=require("https"),l=require("url"),p=require("stream"),h=require("util"),d=require("zlib"),m=require("@babel/types"),f=require("@babel/traverse"),y=require("crypto");require("react");var g=require("lodash"),x=require("net"),v=require("prettier"),b=require("fs-extra");function E(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function C(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(s){if("default"!==s){var r=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(t,s,r.get?r:{enumerable:!0,get:function(){return e[s]}})}})),t.default=e,Object.freeze(t)}var A=E(e),w=E(t),D=E(s),T=C(s),P=E(r),S=E(n),k=C(n),N=E(a),F=E(o),I=E(c),_=E(u),O=E(l),j=E(p),B=E(h),L=E(d),M=E(m),R=C(m),U=E(f),q=E(y),z=E(g),$=E(x),H=E(v),V=C(b),G=function(e,t){return G=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])},G(e,t)};function W(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function s(){this.constructor=e}G(e,t),e.prototype=null===t?Object.create(t):(s.prototype=t.prototype,new s)}var J=function(){return J=Object.assign||function(e){for(var t,s=1,r=arguments.length;s<r;s++)for(var i in t=arguments[s])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},J.apply(this,arguments)};function X(e,t,s,r){return new(s||(s=Promise))((function(i,n){function a(e){try{c(r.next(e))}catch(e){n(e)}}function o(e){try{c(r.throw(e))}catch(e){n(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof s?t:new s((function(e){e(t)}))).then(a,o)}c((r=r.apply(e,t||[])).next())}))}function K(e,t){var s,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function o(n){return function(o){return function(n){if(s)throw new TypeError("Generator is already executing.");for(;a;)try{if(s=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=t.call(e,a)}catch(e){n=[6,e],r=0}finally{s=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,o])}}}function Y(e,t){var s="function"==typeof Symbol&&e[Symbol.iterator];if(!s)return e;var r,i,n=s.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=n.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(s=n.return)&&s.call(n)}finally{if(i)throw i.error}}return a}function Q(e,t,s){if(s||2===arguments.length)for(var r,i=0,n=t.length;i<n;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}var Z="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function ee(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function te(e,t){return e(t={exports:{}},t.exports),t.exports}function se(e){return e&&e.default||e}var re={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const ie={};for(const e of Object.keys(re))ie[re[e]]=e;const ne={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var ae=ne;for(const e of Object.keys(ne)){if(!("channels"in ne[e]))throw new Error("missing channels property: "+e);if(!("labels"in ne[e]))throw new Error("missing channel labels property: "+e);if(ne[e].labels.length!==ne[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:s}=ne[e];delete ne[e].channels,delete ne[e].labels,Object.defineProperty(ne[e],"channels",{value:t}),Object.defineProperty(ne[e],"labels",{value:s})}function oe(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}function ce(e){const t=function(){const e={},t=Object.keys(ae);for(let s=t.length,r=0;r<s;r++)e[t[r]]={distance:-1,parent:null};return e}(),s=[e];for(t[e].distance=0;s.length;){const e=s.pop(),r=Object.keys(ae[e]);for(let i=r.length,n=0;n<i;n++){const i=r[n],a=t[i];-1===a.distance&&(a.distance=t[e].distance+1,a.parent=e,s.unshift(i))}}return t}function ue(e,t){return function(s){return t(e(s))}}function le(e,t){const s=[t[e].parent,e];let r=ae[t[e].parent][e],i=t[e].parent;for(;t[i].parent;)s.unshift(t[i].parent),r=ue(ae[t[i].parent][i],r),i=t[i].parent;return r.conversion=s,r}ne.rgb.hsl=function(e){const t=e[0]/255,s=e[1]/255,r=e[2]/255,i=Math.min(t,s,r),n=Math.max(t,s,r),a=n-i;let o,c;n===i?o=0:t===n?o=(s-r)/a:s===n?o=2+(r-t)/a:r===n&&(o=4+(t-s)/a),o=Math.min(60*o,360),o<0&&(o+=360);const u=(i+n)/2;return c=n===i?0:u<=.5?a/(n+i):a/(2-n-i),[o,100*c,100*u]},ne.rgb.hsv=function(e){let t,s,r,i,n;const a=e[0]/255,o=e[1]/255,c=e[2]/255,u=Math.max(a,o,c),l=u-Math.min(a,o,c),p=function(e){return(u-e)/6/l+.5};return 0===l?(i=0,n=0):(n=l/u,t=p(a),s=p(o),r=p(c),a===u?i=r-s:o===u?i=1/3+t-r:c===u&&(i=2/3+s-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*n,100*u]},ne.rgb.hwb=function(e){const t=e[0],s=e[1];let r=e[2];const i=ne.rgb.hsl(e)[0],n=1/255*Math.min(t,Math.min(s,r));return r=1-1/255*Math.max(t,Math.max(s,r)),[i,100*n,100*r]},ne.rgb.cmyk=function(e){const t=e[0]/255,s=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-s,1-r);return[100*((1-t-i)/(1-i)||0),100*((1-s-i)/(1-i)||0),100*((1-r-i)/(1-i)||0),100*i]},ne.rgb.keyword=function(e){const t=ie[e];if(t)return t;let s,r=1/0;for(const t of Object.keys(re)){const i=oe(e,re[t]);i<r&&(r=i,s=t)}return s},ne.keyword.rgb=function(e){return re[e]},ne.rgb.xyz=function(e){let t=e[0]/255,s=e[1]/255,r=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,s=s>.04045?((s+.055)/1.055)**2.4:s/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;return[100*(.4124*t+.3576*s+.1805*r),100*(.2126*t+.7152*s+.0722*r),100*(.0193*t+.1192*s+.9505*r)]},ne.rgb.lab=function(e){const t=ne.rgb.xyz(e);let s=t[0],r=t[1],i=t[2];s/=95.047,r/=100,i/=108.883,s=s>.008856?s**(1/3):7.787*s+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;return[116*r-16,500*(s-r),200*(r-i)]},ne.hsl.rgb=function(e){const t=e[0]/360,s=e[1]/100,r=e[2]/100;let i,n,a;if(0===s)return a=255*r,[a,a,a];i=r<.5?r*(1+s):r+s-r*s;const o=2*r-i,c=[0,0,0];for(let e=0;e<3;e++)n=t+1/3*-(e-1),n<0&&n++,n>1&&n--,a=6*n<1?o+6*(i-o)*n:2*n<1?i:3*n<2?o+(i-o)*(2/3-n)*6:o,c[e]=255*a;return c},ne.hsl.hsv=function(e){const t=e[0];let s=e[1]/100,r=e[2]/100,i=s;const n=Math.max(r,.01);r*=2,s*=r<=1?r:2-r,i*=n<=1?n:2-n;return[t,100*(0===r?2*i/(n+i):2*s/(r+s)),100*((r+s)/2)]},ne.hsv.rgb=function(e){const t=e[0]/60,s=e[1]/100;let r=e[2]/100;const i=Math.floor(t)%6,n=t-Math.floor(t),a=255*r*(1-s),o=255*r*(1-s*n),c=255*r*(1-s*(1-n));switch(r*=255,i){case 0:return[r,c,a];case 1:return[o,r,a];case 2:return[a,r,c];case 3:return[a,o,r];case 4:return[c,a,r];case 5:return[r,a,o]}},ne.hsv.hsl=function(e){const t=e[0],s=e[1]/100,r=e[2]/100,i=Math.max(r,.01);let n,a;a=(2-s)*r;const o=(2-s)*i;return n=s*i,n/=o<=1?o:2-o,n=n||0,a/=2,[t,100*n,100*a]},ne.hwb.rgb=function(e){const t=e[0]/360;let s=e[1]/100,r=e[2]/100;const i=s+r;let n;i>1&&(s/=i,r/=i);const a=Math.floor(6*t),o=1-r;n=6*t-a,0!=(1&a)&&(n=1-n);const c=s+n*(o-s);let u,l,p;switch(a){default:case 6:case 0:u=o,l=c,p=s;break;case 1:u=c,l=o,p=s;break;case 2:u=s,l=o,p=c;break;case 3:u=s,l=c,p=o;break;case 4:u=c,l=s,p=o;break;case 5:u=o,l=s,p=c}return[255*u,255*l,255*p]},ne.cmyk.rgb=function(e){const t=e[0]/100,s=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,s*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},ne.xyz.rgb=function(e){const t=e[0]/100,s=e[1]/100,r=e[2]/100;let i,n,a;return i=3.2406*t+-1.5372*s+-.4986*r,n=-.9689*t+1.8758*s+.0415*r,a=.0557*t+-.204*s+1.057*r,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,n=n>.0031308?1.055*n**(1/2.4)-.055:12.92*n,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,i=Math.min(Math.max(0,i),1),n=Math.min(Math.max(0,n),1),a=Math.min(Math.max(0,a),1),[255*i,255*n,255*a]},ne.xyz.lab=function(e){let t=e[0],s=e[1],r=e[2];t/=95.047,s/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,s=s>.008856?s**(1/3):7.787*s+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;return[116*s-16,500*(t-s),200*(s-r)]},ne.lab.xyz=function(e){let t,s,r;s=(e[0]+16)/116,t=e[1]/500+s,r=s-e[2]/200;const i=s**3,n=t**3,a=r**3;return s=i>.008856?i:(s-16/116)/7.787,t=n>.008856?n:(t-16/116)/7.787,r=a>.008856?a:(r-16/116)/7.787,t*=95.047,s*=100,r*=108.883,[t,s,r]},ne.lab.lch=function(e){const t=e[0],s=e[1],r=e[2];let i;i=360*Math.atan2(r,s)/2/Math.PI,i<0&&(i+=360);return[t,Math.sqrt(s*s+r*r),i]},ne.lch.lab=function(e){const t=e[0],s=e[1],r=e[2]/360*2*Math.PI;return[t,s*Math.cos(r),s*Math.sin(r)]},ne.rgb.ansi16=function(e,t=null){const[s,r,i]=e;let n=null===t?ne.rgb.hsv(e)[2]:t;if(n=Math.round(n/50),0===n)return 30;let a=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(s/255));return 2===n&&(a+=60),a},ne.hsv.ansi16=function(e){return ne.rgb.ansi16(ne.hsv.rgb(e),e[2])},ne.rgb.ansi256=function(e){const t=e[0],s=e[1],r=e[2];if(t===s&&s===r)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(s/255*5)+Math.round(r/255*5)},ne.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const s=.5*(1+~~(e>50));return[(1&t)*s*255,(t>>1&1)*s*255,(t>>2&1)*s*255]},ne.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},ne.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},ne.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let s=t[0];3===t[0].length&&(s=s.split("").map((e=>e+e)).join(""));const r=parseInt(s,16);return[r>>16&255,r>>8&255,255&r]},ne.rgb.hcg=function(e){const t=e[0]/255,s=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,s),r),n=Math.min(Math.min(t,s),r),a=i-n;let o,c;return o=a<1?n/(1-a):0,c=a<=0?0:i===t?(s-r)/a%6:i===s?2+(r-t)/a:4+(t-s)/a,c/=6,c%=1,[360*c,100*a,100*o]},ne.hsl.hcg=function(e){const t=e[1]/100,s=e[2]/100,r=s<.5?2*t*s:2*t*(1-s);let i=0;return r<1&&(i=(s-.5*r)/(1-r)),[e[0],100*r,100*i]},ne.hsv.hcg=function(e){const t=e[1]/100,s=e[2]/100,r=t*s;let i=0;return r<1&&(i=(s-r)/(1-r)),[e[0],100*r,100*i]},ne.hcg.rgb=function(e){const t=e[0]/360,s=e[1]/100,r=e[2]/100;if(0===s)return[255*r,255*r,255*r];const i=[0,0,0],n=t%1*6,a=n%1,o=1-a;let c=0;switch(Math.floor(n)){case 0:i[0]=1,i[1]=a,i[2]=0;break;case 1:i[0]=o,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=a;break;case 3:i[0]=0,i[1]=o,i[2]=1;break;case 4:i[0]=a,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=o}return c=(1-s)*r,[255*(s*i[0]+c),255*(s*i[1]+c),255*(s*i[2]+c)]},ne.hcg.hsv=function(e){const t=e[1]/100,s=t+e[2]/100*(1-t);let r=0;return s>0&&(r=t/s),[e[0],100*r,100*s]},ne.hcg.hsl=function(e){const t=e[1]/100,s=e[2]/100*(1-t)+.5*t;let r=0;return s>0&&s<.5?r=t/(2*s):s>=.5&&s<1&&(r=t/(2*(1-s))),[e[0],100*r,100*s]},ne.hcg.hwb=function(e){const t=e[1]/100,s=t+e[2]/100*(1-t);return[e[0],100*(s-t),100*(1-s)]},ne.hwb.hcg=function(e){const t=e[1]/100,s=1-e[2]/100,r=s-t;let i=0;return r<1&&(i=(s-r)/(1-r)),[e[0],100*r,100*i]},ne.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},ne.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},ne.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},ne.gray.hsl=function(e){return[0,0,e[0]]},ne.gray.hsv=ne.gray.hsl,ne.gray.hwb=function(e){return[0,100,e[0]]},ne.gray.cmyk=function(e){return[0,0,0,e[0]]},ne.gray.lab=function(e){return[e[0],0,0]},ne.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),s=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(s.length)+s},ne.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const pe={};Object.keys(ae).forEach((e=>{pe[e]={},Object.defineProperty(pe[e],"channels",{value:ae[e].channels}),Object.defineProperty(pe[e],"labels",{value:ae[e].labels});const t=function(e){const t=ce(e),s={},r=Object.keys(t);for(let e=r.length,i=0;i<e;i++){const e=r[i];null!==t[e].parent&&(s[e]=le(e,t))}return s}(e);Object.keys(t).forEach((s=>{const r=t[s];pe[e][s]=function(e){const t=function(...t){const s=t[0];if(null==s)return s;s.length>1&&(t=s);const r=e(t);if("object"==typeof r)for(let e=r.length,t=0;t<e;t++)r[t]=Math.round(r[t]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(r),pe[e][s].raw=function(e){const t=function(...t){const s=t[0];return null==s?s:(s.length>1&&(t=s),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var he=pe,de=te((function(e){const t=(e,t)=>(...s)=>`[${e(...s)+t}m`,s=(e,t)=>(...s)=>{const r=e(...s);return`[${38+t};5;${r}m`},r=(e,t)=>(...s)=>{const r=e(...s);return`[${38+t};2;${r[0]};${r[1]};${r[2]}m`},i=e=>e,n=(e,t,s)=>[e,t,s],a=(e,t,s)=>{Object.defineProperty(e,t,{get:()=>{const r=s();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})};let o;const c=(e,t,s,r)=>{void 0===o&&(o=he);const i=r?10:0,n={};for(const[r,a]of Object.entries(o)){const o="ansi16"===r?"ansi":r;r===t?n[o]=e(s,i):"object"==typeof a&&(n[o]=e(a[t],i))}return n};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,o={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};o.color.gray=o.color.blackBright,o.bgColor.bgGray=o.bgColor.bgBlackBright,o.color.grey=o.color.blackBright,o.bgColor.bgGrey=o.bgColor.bgBlackBright;for(const[t,s]of Object.entries(o)){for(const[t,r]of Object.entries(s))o[t]={open:`[${r[0]}m`,close:`[${r[1]}m`},s[t]=o[t],e.set(r[0],r[1]);Object.defineProperty(o,t,{value:s,enumerable:!1})}return Object.defineProperty(o,"codes",{value:e,enumerable:!1}),o.color.close="",o.bgColor.close="",a(o.color,"ansi",(()=>c(t,"ansi16",i,!1))),a(o.color,"ansi256",(()=>c(s,"ansi256",i,!1))),a(o.color,"ansi16m",(()=>c(r,"rgb",n,!1))),a(o.bgColor,"ansi",(()=>c(t,"ansi16",i,!0))),a(o.bgColor,"ansi256",(()=>c(s,"ansi256",i,!0))),a(o.bgColor,"ansi16m",(()=>c(r,"rgb",n,!0))),o}})})),me=(e,t=process.argv)=>{const s=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(s+e),i=t.indexOf("--");return-1!==r&&(-1===i||r<i)};const{env:fe}=process;let ye;function ge(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function xe(e,t){if(0===ye)return 0;if(me("color=16m")||me("color=full")||me("color=truecolor"))return 3;if(me("color=256"))return 2;if(e&&!t&&void 0===ye)return 0;const s=ye||0;if("dumb"===fe.TERM)return s;if("win32"===process.platform){const e=A.default.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in fe)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in fe))||"codeship"===fe.CI_NAME?1:s;if("TEAMCITY_VERSION"in fe)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(fe.TEAMCITY_VERSION)?1:0;if("truecolor"===fe.COLORTERM)return 3;if("TERM_PROGRAM"in fe){const e=parseInt((fe.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(fe.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(fe.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(fe.TERM)||"COLORTERM"in fe?1:s}me("no-color")||me("no-colors")||me("color=false")||me("color=never")?ye=0:(me("color")||me("colors")||me("color=true")||me("color=always"))&&(ye=1),"FORCE_COLOR"in fe&&(ye="true"===fe.FORCE_COLOR?1:"false"===fe.FORCE_COLOR?0:0===fe.FORCE_COLOR.length?1:Math.min(parseInt(fe.FORCE_COLOR,10),3));var ve={supportsColor:function(e){return ge(xe(e,e&&e.isTTY))},stdout:ge(xe(!0,w.default.isatty(1))),stderr:ge(xe(!0,w.default.isatty(2)))};var be={stringReplaceAll:(e,t,s)=>{let r=e.indexOf(t);if(-1===r)return e;const i=t.length;let n=0,a="";do{a+=e.substr(n,r-n)+t+s,n=r+i,r=e.indexOf(t,n)}while(-1!==r);return a+=e.substr(n),a},stringEncaseCRLFWithFirstIndex:(e,t,s,r)=>{let i=0,n="";do{const a="\r"===e[r-1];n+=e.substr(i,(a?r-1:r)-i)+t+(a?"\r\n":"\n")+s,i=r+1,r=e.indexOf("\n",i)}while(-1!==r);return n+=e.substr(i),n}};const Ee=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Ce=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Ae=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,we=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,De=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function Te(e){const t="u"===e[0],s="{"===e[1];return t&&!s&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&s?String.fromCodePoint(parseInt(e.slice(2,-1),16)):De.get(e)||e}function Pe(e,t){const s=[],r=t.trim().split(/\s*,\s*/g);let i;for(const t of r){const r=Number(t);if(Number.isNaN(r)){if(!(i=t.match(Ae)))throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`);s.push(i[2].replace(we,((e,t,s)=>t?Te(t):s)))}else s.push(r)}return s}function Se(e){Ce.lastIndex=0;const t=[];let s;for(;null!==(s=Ce.exec(e));){const e=s[1];if(s[2]){const r=Pe(e,s[2]);t.push([e].concat(r))}else t.push([e])}return t}function ke(e,t){const s={};for(const e of t)for(const t of e.styles)s[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const[e,t]of Object.entries(s))if(Array.isArray(t)){if(!(e in r))throw new Error(`Unknown Chalk style: ${e}`);r=t.length>0?r[e](...t):r[e]}return r}var Ne=(e,t)=>{const s=[],r=[];let i=[];if(t.replace(Ee,((t,n,a,o,c,u)=>{if(n)i.push(Te(n));else if(o){const t=i.join("");i=[],r.push(0===s.length?t:ke(e,s)(t)),s.push({inverse:a,styles:Se(o)})}else if(c){if(0===s.length)throw new Error("Found extraneous } in Chalk template literal");r.push(ke(e,s)(i.join(""))),i=[],s.pop()}else i.push(u)})),r.push(i.join("")),s.length>0){const e=`Chalk template literal is missing ${s.length} closing bracket${1===s.length?"":"s"} (\`}\`)`;throw new Error(e)}return r.join("")};const{stdout:Fe,stderr:Ie}=ve,{stringReplaceAll:_e,stringEncaseCRLFWithFirstIndex:Oe}=be,{isArray:je}=Array,Be=["ansi","ansi","ansi256","ansi16m"],Le=Object.create(null);class Me{constructor(e){return Re(e)}}const Re=e=>{const t={};return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const s=Fe?Fe.level:0;e.level=void 0===t.level?s:t.level})(t,e),t.template=(...e)=>We(t.template,...e),Object.setPrototypeOf(t,Ue.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=Me,t.template};function Ue(e){return Re(e)}for(const[e,t]of Object.entries(de))Le[e]={get(){const s=He(this,$e(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:s}),s}};Le.visible={get(){const e=He(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const qe=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of qe)Le[e]={get(){const{level:t}=this;return function(...s){const r=$e(de.color[Be[t]][e](...s),de.color.close,this._styler);return He(this,r,this._isEmpty)}}};for(const e of qe){Le["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...s){const r=$e(de.bgColor[Be[t]][e](...s),de.bgColor.close,this._styler);return He(this,r,this._isEmpty)}}}}const ze=Object.defineProperties((()=>{}),{...Le,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),$e=(e,t,s)=>{let r,i;return void 0===s?(r=e,i=t):(r=s.openAll+e,i=t+s.closeAll),{open:e,close:t,openAll:r,closeAll:i,parent:s}},He=(e,t,s)=>{const r=(...e)=>je(e[0])&&je(e[0].raw)?Ve(r,We(r,...e)):Ve(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,ze),r._generator=e,r._styler=t,r._isEmpty=s,r},Ve=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let s=e._styler;if(void 0===s)return t;const{openAll:r,closeAll:i}=s;if(-1!==t.indexOf(""))for(;void 0!==s;)t=_e(t,s.close,s.open),s=s.parent;const n=t.indexOf("\n");return-1!==n&&(t=Oe(t,i,r,n)),r+t+i};let Ge;const We=(e,...t)=>{const[s]=t;if(!je(s)||!je(s.raw))return t.join(" ");const r=t.slice(1),i=[s.raw[0]];for(let e=1;e<s.length;e++)i.push(String(r[e-1]).replace(/[{}\\]/g,"\\$&"),String(s.raw[e]));return void 0===Ge&&(Ge=Ne),Ge(e,i.join(""))};Object.defineProperties(Ue.prototype,Le);const Je=Ue();Je.supportsColor=Fe,Je.stderr=Ue({level:Ie?Ie.level:0}),Je.stderr.supportsColor=Ie;var Xe=Je;function Ke(e){return e?e instanceof Error?e.message:"string"==typeof e?e:"object"==typeof e&&null!==e?Ke(e.message)||Ke(e.errorMessage)||Ke(e.detail):null:null}function Ye(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function Qe(e){for(var t=0,s=e.indexOf("px");-1!==s;)t++,s=e.indexOf("px",s+2);return t>1}function Ze(e,t){var s={};for(var r in e){var i=e[r];if("12{px"===i&&"string"==typeof i&&i.includes("{px")&&(i=i.replace("{px","px")),"string"==typeof i&&i.includes("px")){Qe(i=i.replace(/(\d+)px/g,(function(e,s){return"".concat(s*("vite"===t?1:2),"px")})))||(i=i.replace(" ",""))}s[Ye(r)]=i}return s}
2
+ /*! (c) 2020 Andrea Giammarchi */const{parse:et,stringify:tt}=JSON,{keys:st}=Object,rt=String,it="string",nt={},at="object",ot=(e,t)=>t,ct=e=>e instanceof rt?rt(e):e,ut=(e,t)=>typeof t===it?new rt(t):t,lt=(e,t,s,r)=>{const i=[];for(let n=st(s),{length:a}=n,o=0;o<a;o++){const a=n[o],c=s[a];if(c instanceof rt){const n=e[c];typeof n!==at||t.has(n)?s[a]=r.call(s,a,n):(t.add(n),s[a]=nt,i.push({k:a,a:[e,t,n,r]}))}else s[a]!==nt&&(s[a]=r.call(s,a,c))}for(let{length:e}=i,t=0;t<e;t++){const{k:e,a:n}=i[t];s[e]=r.call(s,e,lt.apply(null,n))}return s},pt=(e,t,s)=>{const r=rt(t.push(s)-1);return e.set(s,r),r},ht=(e,t)=>{const s=et(e,ut).map(ct),r=s[0],i=t||ot,n=typeof r===at&&r?lt(s,new Set,r,i):r;return i.call({"":n},"",n)},dt=(e,t,s)=>{const r=t&&typeof t===at?(e,s)=>""===e||-1<t.indexOf(e)?s:void 0:t||ot,i=new Map,n=[],a=[];let o=+pt(i,n,r.call({"":e},"",e)),c=!o;for(;o<n.length;)c=!0,a[o]=tt(n[o++],u,s);return"["+a.join(",")+"]";function u(e,t){if(c)return c=!c,t;const s=r.call(this,e,t);switch(typeof s){case at:if(null===s)return s;case it:return i.get(s)||pt(i,n,s)}return s}};var mt=Object.freeze({__proto__:null,parse:ht,stringify:dt,toJSON:e=>et(dt(e)),fromJSON:e=>ht(tt(e))}),ft={tryParse:function(e,t){var s;try{s=this.readJSON(e)}catch(e){s=t}return s},readJSON:function(e){return mt.parse(S.default.readFileSync(e,{encoding:"utf8"}))},writeJSON:function(e,t){S.default.mkdirSync(D.default.dirname(e),{recursive:!0}),S.default.writeFileSync(e,mt.stringify(t))}};let yt;try{yt=F.default}catch(e){}const gt={nosort:!0,silent:!0};let xt=0;const vt="win32"===process.platform,bt=e=>{if(["unlink","chmod","stat","lstat","rmdir","readdir"].forEach((t=>{e[t]=e[t]||S.default[t],e[t+="Sync"]=e[t]||S.default[t]})),e.maxBusyTries=e.maxBusyTries||3,e.emfileWait=e.emfileWait||1e3,!1===e.glob&&(e.disableGlob=!0),!0!==e.disableGlob&&void 0===yt)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");e.disableGlob=e.disableGlob||!1,e.glob=e.glob||gt},Et=(e,t,s)=>{"function"==typeof t&&(s=t,t={}),N.default(e,"rimraf: missing path"),N.default.equal(typeof e,"string","rimraf: path should be a string"),N.default.equal(typeof s,"function","rimraf: callback function required"),N.default(t,"rimraf: invalid options argument provided"),N.default.equal(typeof t,"object","rimraf: options should be object"),bt(t);let r=0,i=null,n=0;const a=(e,a)=>e?s(e):(n=a.length,0===n?s():void a.forEach((e=>{const a=o=>{if(o){if(("EBUSY"===o.code||"ENOTEMPTY"===o.code||"EPERM"===o.code)&&r<t.maxBusyTries)return r++,setTimeout((()=>Ct(e,t,a)),100*r);if("EMFILE"===o.code&&xt<t.emfileWait)return setTimeout((()=>Ct(e,t,a)),xt++);"ENOENT"===o.code&&(o=null)}xt=0,(e=>{i=i||e,0==--n&&s(i)})(o)};Ct(e,t,a)})));if(t.disableGlob||!yt.hasMagic(e))return a(null,[e]);t.lstat(e,((s,r)=>{if(!s)return a(null,[e]);yt(e,t.glob,a)}))},Ct=(e,t,s)=>{N.default(e),N.default(t),N.default("function"==typeof s),t.lstat(e,((r,i)=>r&&"ENOENT"===r.code?s(null):(r&&"EPERM"===r.code&&vt&&At(e,t,r,s),i&&i.isDirectory()?Dt(e,t,r,s):void t.unlink(e,(r=>{if(r){if("ENOENT"===r.code)return s(null);if("EPERM"===r.code)return vt?At(e,t,r,s):Dt(e,t,r,s);if("EISDIR"===r.code)return Dt(e,t,r,s)}return s(r)})))))},At=(e,t,s,r)=>{N.default(e),N.default(t),N.default("function"==typeof r),t.chmod(e,438,(i=>{i?r("ENOENT"===i.code?null:s):t.stat(e,((i,n)=>{i?r("ENOENT"===i.code?null:s):n.isDirectory()?Dt(e,t,s,r):t.unlink(e,r)}))}))},wt=(e,t,s)=>{N.default(e),N.default(t);try{t.chmodSync(e,438)}catch(e){if("ENOENT"===e.code)return;throw s}let r;try{r=t.statSync(e)}catch(e){if("ENOENT"===e.code)return;throw s}r.isDirectory()?St(e,t,s):t.unlinkSync(e)},Dt=(e,t,s,r)=>{N.default(e),N.default(t),N.default("function"==typeof r),t.rmdir(e,(i=>{!i||"ENOTEMPTY"!==i.code&&"EEXIST"!==i.code&&"EPERM"!==i.code?i&&"ENOTDIR"===i.code?r(s):r(i):Tt(e,t,r)}))},Tt=(e,t,s)=>{N.default(e),N.default(t),N.default("function"==typeof s),t.readdir(e,((r,i)=>{if(r)return s(r);let n,a=i.length;if(0===a)return t.rmdir(e,s);i.forEach((r=>{Et(D.default.join(e,r),t,(r=>{if(!n)return r?s(n=r):void(0==--a&&t.rmdir(e,s))}))}))}))},Pt=(e,t)=>{let s;if(bt(t=t||{}),N.default(e,"rimraf: missing path"),N.default.equal(typeof e,"string","rimraf: path should be a string"),N.default(t,"rimraf: missing options"),N.default.equal(typeof t,"object","rimraf: options should be object"),t.disableGlob||!yt.hasMagic(e))s=[e];else try{t.lstatSync(e),s=[e]}catch(r){s=yt.sync(e,t.glob)}if(s.length)for(let e=0;e<s.length;e++){const r=s[e];let i;try{i=t.lstatSync(r)}catch(e){if("ENOENT"===e.code)return;"EPERM"===e.code&&vt&&wt(r,t,e)}try{i&&i.isDirectory()?St(r,t,null):t.unlinkSync(r)}catch(e){if("ENOENT"===e.code)return;if("EPERM"===e.code)return vt?wt(r,t,e):St(r,t,e);if("EISDIR"!==e.code)throw e;St(r,t,e)}}},St=(e,t,s)=>{N.default(e),N.default(t);try{t.rmdirSync(e)}catch(r){if("ENOENT"===r.code)return;if("ENOTDIR"===r.code)throw s;"ENOTEMPTY"!==r.code&&"EEXIST"!==r.code&&"EPERM"!==r.code||kt(e,t)}},kt=(e,t)=>{N.default(e),N.default(t),t.readdirSync(e).forEach((s=>Pt(D.default.join(e,s),t)));const s=vt?100:1;let r=0;for(;;){let i=!0;try{const s=t.rmdirSync(e,t);return i=!1,s}finally{if(++r<s&&i)continue}}};var Nt=Et;Et.sync=Pt;var Ft=Nt.sync,It=function(e){return!!S.default.existsSync(e)&&(Ft(e,{glob:!1}),!0)},_t=ft.writeJSON,Ot={load:function(e,t){var s=this;s._visited={},s._persisted={},s._pathToFile=t?D.default.resolve(t,e):D.default.resolve(__dirname,"../.cache/",e),S.default.existsSync(s._pathToFile)&&(s._persisted=ft.tryParse(s._pathToFile,{}))},loadFile:function(e){var t=D.default.dirname(e),s=D.default.basename(e);this.load(s,t)},all:function(){return this._persisted},keys:function(){return Object.keys(this._persisted)},setKey:function(e,t){this._visited[e]=!0,this._persisted[e]=t},removeKey:function(e){delete this._visited[e],delete this._persisted[e]},getKey:function(e){return this._visited[e]=!0,this._persisted[e]},_prune:function(){var e=this,t={},s=Object.keys(e._visited);0!==s.length&&(s.forEach((function(s){t[s]=e._persisted[s]})),e._visited={},e._persisted=t)},save:function(e){var t=this;!e&&t._prune(),_t(t._pathToFile,t._persisted)},removeCacheFile:function(){return It(this._pathToFile)},destroy:function(){var e=this;e._visited={},e._persisted={},e.removeCacheFile()}},jt={load:function(e,t){return this.create(e,t)},create:function(e,t){var s=Object.create(Ot);return s.load(e,t),s},createFromFile:function(e){var t=Object.create(Ot);return t.loadFile(e),t},clearCacheById:function(e,t){var s=t?D.default.resolve(t,e):D.default.resolve(__dirname,"../.cache/",e);return It(s)},clearAll:function(e){var t=e?D.default.resolve(e):D.default.resolve(__dirname,"../.cache/");return It(t)}},Bt=function(e){var t=D.default.join(A.default.homedir(),".cache",e);return S.default.existsSync(t)||S.default.mkdirSync(t,{recursive:!0}),t},Lt=function(e,t){return function(){for(var s=new Array(arguments.length),r=0;r<s.length;r++)s[r]=arguments[r];return e.apply(t,s)}},Mt=Object.prototype.toString,Rt=function(e){return function(t){var s=Mt.call(t);return e[s]||(e[s]=s.slice(8,-1).toLowerCase())}}(Object.create(null));function Ut(e){return e=e.toLowerCase(),function(t){return Rt(t)===e}}function qt(e){return Array.isArray(e)}function zt(e){return void 0===e}var $t=Ut("ArrayBuffer");function Ht(e){return null!==e&&"object"==typeof e}function Vt(e){if("object"!==Rt(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var Gt=Ut("Date"),Wt=Ut("File"),Jt=Ut("Blob"),Xt=Ut("FileList");function Kt(e){return"[object Function]"===Mt.call(e)}var Yt=Ut("URLSearchParams");function Qt(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),qt(e))for(var s=0,r=e.length;s<r;s++)t.call(null,e[s],s,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}var Zt,es=(Zt="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return Zt&&e instanceof Zt}),ts={isArray:qt,isArrayBuffer:$t,isBuffer:function(e){return null!==e&&!zt(e)&&null!==e.constructor&&!zt(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||Mt.call(e)===t||Kt(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&$t(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:Ht,isPlainObject:Vt,isUndefined:zt,isDate:Gt,isFile:Wt,isBlob:Jt,isFunction:Kt,isStream:function(e){return Ht(e)&&Kt(e.pipe)},isURLSearchParams:Yt,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:Qt,merge:function e(){var t={};function s(s,r){Vt(t[r])&&Vt(s)?t[r]=e(t[r],s):Vt(s)?t[r]=e({},s):qt(s)?t[r]=s.slice():t[r]=s}for(var r=0,i=arguments.length;r<i;r++)Qt(arguments[r],s);return t},extend:function(e,t,s){return Qt(t,(function(t,r){e[r]=s&&"function"==typeof t?Lt(t,s):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,s,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,s&&Object.assign(e.prototype,s)},toFlatObject:function(e,t,s){var r,i,n,a={};t=t||{};do{for(i=(r=Object.getOwnPropertyNames(e)).length;i-- >0;)a[n=r[i]]||(t[n]=e[n],a[n]=!0);e=Object.getPrototypeOf(e)}while(e&&(!s||s(e,t))&&e!==Object.prototype);return t},kindOf:Rt,kindOfTest:Ut,endsWith:function(e,t,s){e=String(e),(void 0===s||s>e.length)&&(s=e.length),s-=t.length;var r=e.indexOf(t,s);return-1!==r&&r===s},toArray:function(e){if(!e)return null;var t=e.length;if(zt(t))return null;for(var s=new Array(t);t-- >0;)s[t]=e[t];return s},isTypedArray:es,isFileList:Xt};function ss(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var rs=function(e,t,s){if(!t)return e;var r;if(s)r=s(t);else if(ts.isURLSearchParams(t))r=t.toString();else{var i=[];ts.forEach(t,(function(e,t){null!=e&&(ts.isArray(e)?t+="[]":e=[e],ts.forEach(e,(function(e){ts.isDate(e)?e=e.toISOString():ts.isObject(e)&&(e=JSON.stringify(e)),i.push(ss(t)+"="+ss(e))})))})),r=i.join("&")}if(r){var n=e.indexOf("#");-1!==n&&(e=e.slice(0,n)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e};function is(){this.handlers=[]}is.prototype.use=function(e,t,s){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!s&&s.synchronous,runWhen:s?s.runWhen:null}),this.handlers.length-1},is.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},is.prototype.forEach=function(e){ts.forEach(this.handlers,(function(t){null!==t&&e(t)}))};var ns=is,as=function(e,t){ts.forEach(e,(function(s,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=s,delete e[r])}))};function os(e,t,s,r,i){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),s&&(this.config=s),r&&(this.request=r),i&&(this.response=i)}ts.inherits(os,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var cs=os.prototype,us={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){us[e]={value:e}})),Object.defineProperties(os,us),Object.defineProperty(cs,"isAxiosError",{value:!0}),os.from=function(e,t,s,r,i,n){var a=Object.create(cs);return ts.toFlatObject(e,a,(function(e){return e!==Error.prototype})),os.call(a,e.message,t,s,r,i),a.name=e.name,n&&Object.assign(a,n),a};var ls=os,ps={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};var hs=function(e,t){t=t||new FormData;var s=[];function r(e){return null===e?"":ts.isDate(e)?e.toISOString():ts.isArrayBuffer(e)||ts.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(i,n){if(ts.isPlainObject(i)||ts.isArray(i)){if(-1!==s.indexOf(i))throw Error("Circular reference detected in "+n);s.push(i),ts.forEach(i,(function(s,i){if(!ts.isUndefined(s)){var a,o=n?n+"."+i:i;if(s&&!n&&"object"==typeof s)if(ts.endsWith(i,"{}"))s=JSON.stringify(s);else if(ts.endsWith(i,"[]")&&(a=ts.toArray(s)))return void a.forEach((function(e){!ts.isUndefined(e)&&t.append(o,r(e))}));e(s,o)}})),s.pop()}else t.append(n,r(i))}(e),t},ds=function(e,t,s){var r=s.config.validateStatus;s.status&&r&&!r(s.status)?t(new ls("Request failed with status code "+s.status,[ls.ERR_BAD_REQUEST,ls.ERR_BAD_RESPONSE][Math.floor(s.status/100)-4],s.config,s.request,s)):e(s)},ms=ts.isStandardBrowserEnv()?{write:function(e,t,s,r,i,n){var a=[];a.push(e+"="+encodeURIComponent(t)),ts.isNumber(s)&&a.push("expires="+new Date(s).toGMTString()),ts.isString(r)&&a.push("path="+r),ts.isString(i)&&a.push("domain="+i),!0===n&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},fs=function(e,t){return e&&!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t},ys=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],gs=ts.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),s=document.createElement("a");function r(e){var r=e;return t&&(s.setAttribute("href",r),r=s.href),s.setAttribute("href",r),{href:s.href,protocol:s.protocol?s.protocol.replace(/:$/,""):"",host:s.host,search:s.search?s.search.replace(/^\?/,""):"",hash:s.hash?s.hash.replace(/^#/,""):"",hostname:s.hostname,port:s.port,pathname:"/"===s.pathname.charAt(0)?s.pathname:"/"+s.pathname}}return e=r(window.location.href),function(t){var s=ts.isString(t)?r(t):t;return s.protocol===e.protocol&&s.host===e.host}}():function(){return!0};function xs(e){ls.call(this,null==e?"canceled":e,ls.ERR_CANCELED),this.name="CanceledError"}ts.inherits(xs,ls,{__CANCEL__:!0});var vs=xs,bs=function(e){return new Promise((function(t,s){var r,i=e.data,n=e.headers,a=e.responseType;function o(){e.cancelToken&&e.cancelToken.unsubscribe(r),e.signal&&e.signal.removeEventListener("abort",r)}ts.isFormData(i)&&ts.isStandardBrowserEnv()&&delete n["Content-Type"];var c=new XMLHttpRequest;if(e.auth){var u=e.auth.username||"",l=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";n.Authorization="Basic "+btoa(u+":"+l)}var p=fs(e.baseURL,e.url);function h(){if(c){var r="getAllResponseHeaders"in c?function(e){var t,s,r,i={};return e?(ts.forEach(e.split("\n"),(function(e){if(r=e.indexOf(":"),t=ts.trim(e.substr(0,r)).toLowerCase(),s=ts.trim(e.substr(r+1)),t){if(i[t]&&ys.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([s]):i[t]?i[t]+", "+s:s}})),i):i}(c.getAllResponseHeaders()):null,i={data:a&&"text"!==a&&"json"!==a?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:r,config:e,request:c};ds((function(e){t(e),o()}),(function(e){s(e),o()}),i),c=null}}if(c.open(e.method.toUpperCase(),rs(p,e.params,e.paramsSerializer),!0),c.timeout=e.timeout,"onloadend"in c?c.onloadend=h:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(h)},c.onabort=function(){c&&(s(new ls("Request aborted",ls.ECONNABORTED,e,c)),c=null)},c.onerror=function(){s(new ls("Network Error",ls.ERR_NETWORK,e,c,c)),c=null},c.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||ps;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),s(new ls(t,r.clarifyTimeoutError?ls.ETIMEDOUT:ls.ECONNABORTED,e,c)),c=null},ts.isStandardBrowserEnv()){var d=(e.withCredentials||gs(p))&&e.xsrfCookieName?ms.read(e.xsrfCookieName):void 0;d&&(n[e.xsrfHeaderName]=d)}"setRequestHeader"in c&&ts.forEach(n,(function(e,t){void 0===i&&"content-type"===t.toLowerCase()?delete n[t]:c.setRequestHeader(t,e)})),ts.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),a&&"json"!==a&&(c.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&c.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(r=function(e){c&&(s(!e||e&&e.type?new vs:e),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(r),e.signal&&(e.signal.aborted?r():e.signal.addEventListener("abort",r))),i||(i=null);var m=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(p);m&&-1===["http","https","file"].indexOf(m)?s(new ls("Unsupported protocol "+m+":",ls.ERR_BAD_REQUEST,e)):c.send(i)}))},Es=1e3,Cs=6e4,As=60*Cs,ws=24*As,Ds=7*ws,Ts=365.25*ws,Ps=function(e,t){t=t||{};var s=typeof e;if("string"===s&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*Ts;case"weeks":case"week":case"w":return s*Ds;case"days":case"day":case"d":return s*ws;case"hours":case"hour":case"hrs":case"hr":case"h":return s*As;case"minutes":case"minute":case"mins":case"min":case"m":return s*Cs;case"seconds":case"second":case"secs":case"sec":case"s":return s*Es;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===s&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=ws)return Ss(e,t,ws,"day");if(t>=As)return Ss(e,t,As,"hour");if(t>=Cs)return Ss(e,t,Cs,"minute");if(t>=Es)return Ss(e,t,Es,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=ws)return Math.round(e/ws)+"d";if(t>=As)return Math.round(e/As)+"h";if(t>=Cs)return Math.round(e/Cs)+"m";if(t>=Es)return Math.round(e/Es)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Ss(e,t,s,r){var i=t>=1.5*s;return Math.round(e/s)+" "+r+(i?"s":"")}var ks=function(e){function t(e){let r,i,n,a=null;function o(...e){if(!o.enabled)return;const s=o,i=Number(new Date),n=i-(r||i);s.diff=n,s.prev=r,s.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,i)=>{if("%%"===r)return"%";a++;const n=t.formatters[i];if("function"==typeof n){const t=e[a];r=n.call(s,t),e.splice(a,1),a--}return r})),t.formatArgs.call(s,e);(s.log||t.log).apply(s,e)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=s,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(i!==t.namespaces&&(i=t.namespaces,n=t.enabled(e)),n),set:e=>{a=e}}),"function"==typeof t.init&&t.init(o),o}function s(e,s){const r=t(this.namespace+(void 0===s?":":s)+e);return r.log=this.log,r}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let s;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(s=0;s<i;s++)r[s]&&("-"===(e=r[s].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let s,r;for(s=0,r=t.skips.length;s<r;s++)if(t.skips[s].test(e))return!1;for(s=0,r=t.names.length;s<r;s++)if(t.names[s].test(e))return!0;return!1},t.humanize=Ps,t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((s=>{t[s]=e[s]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let s=0;for(let t=0;t<e.length;t++)s=(s<<5)-s+e.charCodeAt(t),s|=0;return t.colors[Math.abs(s)%t.colors.length]},t.enable(t.load()),t},Ns=te((function(e,t){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const s="color: "+this.color;t.splice(1,0,s,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,s)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=ks(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}));Ns.formatArgs,Ns.save,Ns.load,Ns.useColors,Ns.storage,Ns.destroy,Ns.colors,Ns.log;var Fs=te((function(e,t){t.init=function(e){e.inspectOpts={};const s=Object.keys(t.inspectOpts);for(let r=0;r<s.length;r++)e.inspectOpts[s[r]]=t.inspectOpts[s[r]]},t.log=function(...e){return process.stderr.write(B.default.format(...e)+"\n")},t.formatArgs=function(s){const{namespace:r,useColors:i}=this;if(i){const t=this.color,i="[3"+(t<8?t:"8;5;"+t),n=` ${i};1m${r} `;s[0]=n+s[0].split("\n").join("\n"+n),s.push(i+"m+"+e.exports.humanize(this.diff)+"")}else s[0]=function(){if(t.inspectOpts.hideDate)return"";return(new Date).toISOString()+" "}()+r+" "+s[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):w.default.isatty(process.stderr.fd)},t.destroy=B.default.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=ve;e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const s=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let r=process.env[t];return r=!!/^(yes|on|true|enabled)$/i.test(r)||!/^(no|off|false|disabled)$/i.test(r)&&("null"===r?null:Number(r)),e[s]=r,e}),{}),e.exports=ks(t);const{formatters:s}=e.exports;s.o=function(e){return this.inspectOpts.colors=this.useColors,B.default.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},s.O=function(e){return this.inspectOpts.colors=this.useColors,B.default.inspect(e,this.inspectOpts)}}));Fs.init,Fs.log,Fs.formatArgs,Fs.save,Fs.load,Fs.useColors,Fs.destroy,Fs.colors,Fs.inspectOpts;var Is,_s=te((function(e){"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=Ns:e.exports=Fs})),Os=function(){if(!Is){try{Is=_s("follow-redirects")}catch(e){}"function"!=typeof Is&&(Is=function(){})}Is.apply(null,arguments)},js=O.default.URL,Bs=j.default.Writable,Ls=["abort","aborted","connect","error","socket","timeout"],Ms=Object.create(null);Ls.forEach((function(e){Ms[e]=function(t,s,r){this._redirectable.emit(e,t,s,r)}}));var Rs=Js("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),Us=Js("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),qs=Js("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),zs=Js("ERR_STREAM_WRITE_AFTER_END","write after end");function $s(e,t){Bs.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var s=this;this._onNativeResponse=function(e){s._processResponse(e)},this._performRequest()}function Hs(e){var t={maxRedirects:21,maxBodyLength:10485760},s={};return Object.keys(e).forEach((function(r){var i=r+":",n=s[i]=e[r],a=t[r]=Object.create(n);Object.defineProperties(a,{request:{value:function(e,r,n){if("string"==typeof e){var a=e;try{e=Gs(new js(a))}catch(t){e=O.default.parse(a)}}else js&&e instanceof js?e=Gs(e):(n=r,r=e,e={protocol:i});return"function"==typeof r&&(n=r,r=null),(r=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,r)).nativeProtocols=s,N.default.equal(r.protocol,i,"protocol mismatch"),Os("options",r),new $s(r,n)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,s){var r=a.request(e,t,s);return r.end(),r},configurable:!0,enumerable:!0,writable:!0}})})),t}function Vs(){}function Gs(e){var t={protocol:e.protocol,hostname:e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,hash:e.hash,search:e.search,pathname:e.pathname,path:e.pathname+e.search,href:e.href};return""!==e.port&&(t.port=Number(e.port)),t}function Ws(e,t){var s;for(var r in t)e.test(r)&&(s=t[r],delete t[r]);return null==s?void 0:String(s).trim()}function Js(e,t){function s(e){Error.captureStackTrace(this,this.constructor),e?(this.message=t+": "+e.message,this.cause=e):this.message=t}return s.prototype=new Error,s.prototype.constructor=s,s.prototype.name="Error ["+e+"]",s.prototype.code=e,s}function Xs(e){for(var t of Ls)e.removeListener(t,Ms[t]);e.on("error",Vs),e.abort()}$s.prototype=Object.create(Bs.prototype),$s.prototype.abort=function(){Xs(this._currentRequest),this.emit("abort")},$s.prototype.write=function(e,t,s){if(this._ending)throw new zs;if(!("string"==typeof e||"object"==typeof e&&"length"in e))throw new TypeError("data should be a string, Buffer or Uint8Array");"function"==typeof t&&(s=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,s)):(this.emit("error",new qs),this.abort()):s&&s()},$s.prototype.end=function(e,t,s){if("function"==typeof e?(s=e,e=t=null):"function"==typeof t&&(s=t,t=null),e){var r=this,i=this._currentRequest;this.write(e,t,(function(){r._ended=!0,i.end(null,null,s)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,s)},$s.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},$s.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},$s.prototype.setTimeout=function(e,t){var s=this;function r(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function i(t){s._timeout&&clearTimeout(s._timeout),s._timeout=setTimeout((function(){s.emit("timeout"),n()}),e),r(t)}function n(){s._timeout&&(clearTimeout(s._timeout),s._timeout=null),s.removeListener("abort",n),s.removeListener("error",n),s.removeListener("response",n),t&&s.removeListener("timeout",t),s.socket||s._currentRequest.removeListener("socket",i)}return t&&this.on("timeout",t),this.socket?i(this.socket):this._currentRequest.once("socket",i),this.on("socket",r),this.on("abort",n),this.on("error",n),this.on("response",n),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){$s.prototype[e]=function(t,s){return this._currentRequest[e](t,s)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty($s.prototype,e,{get:function(){return this._currentRequest[e]}})})),$s.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},$s.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(t){if(this._options.agents){var s=e.slice(0,-1);this._options.agent=this._options.agents[s]}var r=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var i of(r._redirectable=this,Ls))r.on(i,Ms[i]);if(this._currentUrl=/^\//.test(this._options.path)?O.default.format(this._options):this._currentUrl=this._options.path,this._isRedirect){var n=0,a=this,o=this._requestBodyBuffers;!function e(t){if(r===a._currentRequest)if(t)a.emit("error",t);else if(n<o.length){var s=o[n++];r.finished||r.write(s.data,s.encoding,e)}else a._ended&&r.end()}()}}else this.emit("error",new TypeError("Unsupported protocol "+e))},$s.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var s=e.headers.location;if(!s||!1===this._options.followRedirects||t<300||t>=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(Xs(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)this.emit("error",new Us);else{var r,i=this._options.beforeRedirect;i&&(r=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var n=this._options.method;((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],Ws(/^content-/i,this._options.headers));var a,o=Ws(/^host$/i,this._options.headers),c=O.default.parse(this._currentUrl),u=o||c.host,l=/^\w+:/.test(s)?this._currentUrl:O.default.format(Object.assign(c,{host:u}));try{a=O.default.resolve(l,s)}catch(e){return void this.emit("error",new Rs(e))}Os("redirecting to",a),this._isRedirect=!0;var p=O.default.parse(a);if(Object.assign(this._options,p),(p.protocol!==c.protocol&&"https:"!==p.protocol||p.host!==u&&!function(e,t){const s=e.length-t.length-1;return s>0&&"."===e[s]&&e.endsWith(t)}(p.host,u))&&Ws(/^(?:authorization|cookie)$/i,this._options.headers),"function"==typeof i){var h={headers:e.headers,statusCode:t},d={url:l,method:n,headers:r};try{i(this._options,h,d)}catch(e){return void this.emit("error",e)}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(e){this.emit("error",new Rs(e))}}};var Ks=Hs({http:I.default,https:_.default}),Ys=Hs;Ks.wrap=Ys;var Qs="0.27.2",Zs=Ks.http,er=Ks.https,tr=Qs,sr=/https:?/,rr=["http:","https:","file:"];function ir(e,t,s){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=s,t.auth){var r=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+r}e.beforeRedirect=function(e){e.headers.host=e.host,ir(e,t,e.href)}}var nr=function(e){return new Promise((function(t,s){var r;function i(){e.cancelToken&&e.cancelToken.unsubscribe(r),e.signal&&e.signal.removeEventListener("abort",r)}var n=function(e){i(),t(e)},a=!1,o=function(e){i(),a=!0,s(e)},c=e.data,u=e.headers,l={};if(Object.keys(u).forEach((function(e){l[e.toLowerCase()]=e})),"user-agent"in l?u[l["user-agent"]]||delete u[l["user-agent"]]:u["User-Agent"]="axios/"+tr,ts.isFormData(c)&&ts.isFunction(c.getHeaders))Object.assign(u,c.getHeaders());else if(c&&!ts.isStream(c)){if(Buffer.isBuffer(c));else if(ts.isArrayBuffer(c))c=Buffer.from(new Uint8Array(c));else{if(!ts.isString(c))return o(new ls("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",ls.ERR_BAD_REQUEST,e));c=Buffer.from(c,"utf-8")}if(e.maxBodyLength>-1&&c.length>e.maxBodyLength)return o(new ls("Request body larger than maxBodyLength limit",ls.ERR_BAD_REQUEST,e));l["content-length"]||(u["Content-Length"]=c.length)}var p=void 0;e.auth&&(p=(e.auth.username||"")+":"+(e.auth.password||""));var h=fs(e.baseURL,e.url),d=O.default.parse(h),m=d.protocol||rr[0];if(-1===rr.indexOf(m))return o(new ls("Unsupported protocol "+m,ls.ERR_BAD_REQUEST,e));if(!p&&d.auth){var f=d.auth.split(":");p=(f[0]||"")+":"+(f[1]||"")}p&&l.authorization&&delete u[l.authorization];var y=sr.test(m),g=y?e.httpsAgent:e.httpAgent;try{rs(d.path,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){var x=new Error(t.message);x.config=e,x.url=e.url,x.exists=!0,o(x)}var v={path:rs(d.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method.toUpperCase(),headers:u,agent:g,agents:{http:e.httpAgent,https:e.httpsAgent},auth:p};e.socketPath?v.socketPath=e.socketPath:(v.hostname=d.hostname,v.port=d.port);var b,E=e.proxy;if(!E&&!1!==E){var C=m.slice(0,-1)+"_proxy",A=process.env[C]||process.env[C.toUpperCase()];if(A){var w=O.default.parse(A),D=process.env.no_proxy||process.env.NO_PROXY,T=!0;if(D){var P=D.split(",").map((function(e){return e.trim()}));T=!P.some((function(e){return!!e&&("*"===e||("."===e[0]&&d.hostname.substr(d.hostname.length-e.length)===e||d.hostname===e))}))}if(T&&(E={host:w.hostname,port:w.port,protocol:w.protocol},w.auth)){var S=w.auth.split(":");E.auth={username:S[0],password:S[1]}}}}E&&(v.headers.host=d.hostname+(d.port?":"+d.port:""),ir(v,E,m+"//"+d.hostname+(d.port?":"+d.port:"")+v.path));var k=y&&(!E||sr.test(E.protocol));e.transport?b=e.transport:0===e.maxRedirects?b=k?_.default:I.default:(e.maxRedirects&&(v.maxRedirects=e.maxRedirects),e.beforeRedirect&&(v.beforeRedirect=e.beforeRedirect),b=k?er:Zs),e.maxBodyLength>-1&&(v.maxBodyLength=e.maxBodyLength),e.insecureHTTPParser&&(v.insecureHTTPParser=e.insecureHTTPParser);var N=b.request(v,(function(t){if(!N.aborted){var s=t,r=t.req||N;if(204!==t.statusCode&&"HEAD"!==r.method&&!1!==e.decompress)switch(t.headers["content-encoding"]){case"gzip":case"compress":case"deflate":s=s.pipe(L.default.createUnzip()),delete t.headers["content-encoding"]}var i={status:t.statusCode,statusText:t.statusMessage,headers:t.headers,config:e,request:r};if("stream"===e.responseType)i.data=s,ds(n,o,i);else{var c=[],u=0;s.on("data",(function(t){c.push(t),u+=t.length,e.maxContentLength>-1&&u>e.maxContentLength&&(a=!0,s.destroy(),o(new ls("maxContentLength size of "+e.maxContentLength+" exceeded",ls.ERR_BAD_RESPONSE,e,r)))})),s.on("aborted",(function(){a||(s.destroy(),o(new ls("maxContentLength size of "+e.maxContentLength+" exceeded",ls.ERR_BAD_RESPONSE,e,r)))})),s.on("error",(function(t){N.aborted||o(ls.from(t,null,e,r))})),s.on("end",(function(){try{var t=1===c.length?c[0]:Buffer.concat(c);"arraybuffer"!==e.responseType&&(t=t.toString(e.responseEncoding),e.responseEncoding&&"utf8"!==e.responseEncoding||(t=ts.stripBOM(t))),i.data=t}catch(t){o(ls.from(t,null,e,i.request,i))}ds(n,o,i)}))}}}));if(N.on("error",(function(t){o(ls.from(t,null,e,N))})),N.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){var F=parseInt(e.timeout,10);if(isNaN(F))return void o(new ls("error trying to parse `config.timeout` to int",ls.ERR_BAD_OPTION_VALUE,e,N));N.setTimeout(F,(function(){N.abort();var t=e.transitional||ps;o(new ls("timeout of "+F+"ms exceeded",t.clarifyTimeoutError?ls.ETIMEDOUT:ls.ECONNABORTED,e,N))}))}(e.cancelToken||e.signal)&&(r=function(e){N.aborted||(N.abort(),o(!e||e&&e.type?new vs:e))},e.cancelToken&&e.cancelToken.subscribe(r),e.signal&&(e.signal.aborted?r():e.signal.addEventListener("abort",r))),ts.isStream(c)?c.on("error",(function(t){o(ls.from(t,e,null,N))})).pipe(N):N.end(c)}))},ar=j.default.Stream,or=cr;function cr(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}B.default.inherits(cr,ar),cr.create=function(e,t){var s=new this;for(var r in t=t||{})s[r]=t[r];s.source=e;var i=e.emit;return e.emit=function(){return s._handleEmit(arguments),i.apply(e,arguments)},e.on("error",(function(){})),s.pauseStream&&e.pause(),s},Object.defineProperty(cr.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),cr.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},cr.prototype.resume=function(){this._released||this.release(),this.source.resume()},cr.prototype.pause=function(){this.source.pause()},cr.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},cr.prototype.pipe=function(){var e=ar.prototype.pipe.apply(this,arguments);return this.resume(),e},cr.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},cr.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}};var ur=j.default.Stream,lr=pr;function pr(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}B.default.inherits(pr,ur),pr.create=function(e){var t=new this;for(var s in e=e||{})t[s]=e[s];return t},pr.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},pr.prototype.append=function(e){if(pr.isStreamLike(e)){if(!(e instanceof or)){var t=or.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},pr.prototype.pipe=function(e,t){return ur.prototype.pipe.call(this,e,t),this.resume(),e},pr.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},pr.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){pr.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},pr.prototype._pipeNext=function(e){if(this._currentStream=e,pr.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},pr.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},pr.prototype.write=function(e){this.emit("data",e)},pr.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},pr.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},pr.prototype.end=function(){this._reset(),this.emit("end")},pr.prototype.destroy=function(){this._reset(),this.emit("close")},pr.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},pr.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},pr.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){t.dataSize&&(e.dataSize+=t.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},pr.prototype._emitError=function(e){this._reset(),this.emit("error",e)};var hr=se(Object.freeze({__proto__:null,default:{"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}})),dr=te((function(e,t){var s=D.default.extname,r=/^\s*([^;\s]*)(?:;|\s|$)/,i=/^text\//i;function n(e){if(!e||"string"!=typeof e)return!1;var t=r.exec(e),s=t&&hr[t[1].toLowerCase()];return s&&s.charset?s.charset:!(!t||!i.test(t[1]))&&"UTF-8"}t.charset=n,t.charsets={lookup:n},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var s=-1===e.indexOf("/")?t.lookup(e):e;if(!s)return!1;if(-1===s.indexOf("charset")){var r=t.charset(s);r&&(s+="; charset="+r.toLowerCase())}return s},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var s=r.exec(e),i=s&&t.extensions[s[1].toLowerCase()];if(!i||!i.length)return!1;return i[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var r=s("x."+e).toLowerCase().substr(1);if(!r)return!1;return t.types[r]||!1},t.types=Object.create(null),function(e,t){var s=["nginx","apache",void 0,"iana"];Object.keys(hr).forEach((function(r){var i=hr[r],n=i.extensions;if(n&&n.length){e[r]=n;for(var a=0;a<n.length;a++){var o=n[a];if(t[o]){var c=s.indexOf(hr[t[o]].source),u=s.indexOf(i.source);if("application/octet-stream"!==t[o]&&(c>u||c===u&&"application/"===t[o].substr(0,12)))continue}t[o]=r}}}))}(t.extensions,t.types)}));dr.charset,dr.charsets,dr.contentType,dr.extension,dr.extensions,dr.lookup,dr.types;var mr=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)};var fr=function(e){var t=!1;return mr((function(){t=!0})),function(s,r){t?e(s,r):mr((function(){e(s,r)}))}};var yr=function(e){Object.keys(e.jobs).forEach(gr.bind(e)),e.jobs={}};function gr(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}var xr=function(e,t,s,r){var i=s.keyedList?s.keyedList[s.index]:s.index;s.jobs[i]=function(e,t,s,r){var i;i=2==e.length?e(s,fr(r)):e(s,t,fr(r));return i}(t,i,e[i],(function(e,t){i in s.jobs&&(delete s.jobs[i],e?yr(s):s.results[i]=t,r(e,s.results))}))};var vr=function(e,t){var s=!Array.isArray(e),r={index:0,keyedList:s||t?Object.keys(e):null,jobs:{},results:s?{}:[],size:s?Object.keys(e).length:e.length};t&&r.keyedList.sort(s?t:function(s,r){return t(e[s],e[r])});return r};var br=function(e){if(!Object.keys(this.jobs).length)return;this.index=this.size,yr(this),fr(e)(null,this.results)};var Er=function(e,t,s){var r=vr(e);for(;r.index<(r.keyedList||e).length;)xr(e,t,r,(function(e,t){e?s(e,t):0!==Object.keys(r.jobs).length||s(null,r.results)})),r.index++;return br.bind(r,s)};var Cr=function(e,t,s,r){var i=vr(e,s);return xr(e,t,i,(function s(n,a){n?r(n,a):(i.index++,i.index<(i.keyedList||e).length?xr(e,t,i,s):r(null,i.results))})),br.bind(i,r)},Ar=Dr,wr=function(e,t){return-1*Dr(e,t)};function Dr(e,t){return e<t?-1:e>t?1:0}Cr.ascending=Ar,Cr.descending=wr;var Tr={parallel:Er,serial:function(e,t,s){return Cr(e,t,null,s)},serialOrdered:Cr},Pr=function(e,t){return Object.keys(t).forEach((function(s){e[s]=e[s]||t[s]})),e},Sr=O.default.parse,kr=j.default.Stream,Nr=Fr;function Fr(e){if(!(this instanceof Fr))return new Fr(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],lr.call(this),e=e||{})this[t]=e[t]}B.default.inherits(Fr,lr),Fr.LINE_BREAK="\r\n",Fr.DEFAULT_CONTENT_TYPE="application/octet-stream",Fr.prototype.append=function(e,t,s){"string"==typeof(s=s||{})&&(s={filename:s});var r=lr.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),B.default.isArray(t))this._error(new Error("Arrays are not supported."));else{var i=this._multiPartHeader(e,t,s),n=this._multiPartFooter();r(i),r(t),r(n),this._trackLength(i,t,s)}},Fr.prototype._trackLength=function(e,t,s){var r=0;null!=s.knownLength?r+=+s.knownLength:Buffer.isBuffer(t)?r=t.length:"string"==typeof t&&(r=Buffer.byteLength(t)),this._valueLength+=r,this._overheadLength+=Buffer.byteLength(e)+Fr.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof kr)&&(s.knownLength||this._valuesToMeasure.push(t))},Fr.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):S.default.stat(e.path,(function(s,r){var i;s?t(s):(i=r.size-(e.start?e.start:0),t(null,i))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(s){e.pause(),t(null,+s.headers["content-length"])})),e.resume()):t("Unknown stream")},Fr.prototype._multiPartHeader=function(e,t,s){if("string"==typeof s.header)return s.header;var r,i=this._getContentDisposition(t,s),n=this._getContentType(t,s),a="",o={"Content-Disposition":["form-data",'name="'+e+'"'].concat(i||[]),"Content-Type":[].concat(n||[])};for(var c in"object"==typeof s.header&&Pr(o,s.header),o)o.hasOwnProperty(c)&&null!=(r=o[c])&&(Array.isArray(r)||(r=[r]),r.length&&(a+=c+": "+r.join("; ")+Fr.LINE_BREAK));return"--"+this.getBoundary()+Fr.LINE_BREAK+a+Fr.LINE_BREAK},Fr.prototype._getContentDisposition=function(e,t){var s,r;return"string"==typeof t.filepath?s=D.default.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?s=D.default.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(s=D.default.basename(e.client._httpMessage.path||"")),s&&(r='filename="'+s+'"'),r},Fr.prototype._getContentType=function(e,t){var s=t.contentType;return!s&&e.name&&(s=dr.lookup(e.name)),!s&&e.path&&(s=dr.lookup(e.path)),!s&&e.readable&&e.hasOwnProperty("httpVersion")&&(s=e.headers["content-type"]),s||!t.filepath&&!t.filename||(s=dr.lookup(t.filepath||t.filename)),s||"object"!=typeof e||(s=Fr.DEFAULT_CONTENT_TYPE),s},Fr.prototype._multiPartFooter=function(){return function(e){var t=Fr.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},Fr.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+Fr.LINE_BREAK},Fr.prototype.getHeaders=function(e){var t,s={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(s[t.toLowerCase()]=e[t]);return s},Fr.prototype.setBoundary=function(e){this._boundary=e},Fr.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},Fr.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),s=0,r=this._streams.length;s<r;s++)"function"!=typeof this._streams[s]&&(e=Buffer.isBuffer(this._streams[s])?Buffer.concat([e,this._streams[s]]):Buffer.concat([e,Buffer.from(this._streams[s])]),"string"==typeof this._streams[s]&&this._streams[s].substring(2,t.length+2)===t||(e=Buffer.concat([e,Buffer.from(Fr.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},Fr.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},Fr.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e},Fr.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},Fr.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?Tr.parallel(this._valuesToMeasure,this._lengthRetriever,(function(s,r){s?e(s):(r.forEach((function(e){t+=e})),e(null,t))})):process.nextTick(e.bind(this,null,t))},Fr.prototype.submit=function(e,t){var s,r,i={method:"post"};return"string"==typeof e?(e=Sr(e),r=Pr({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i)):(r=Pr(e,i)).port||(r.port="https:"==r.protocol?443:80),r.headers=this.getHeaders(e.headers),s="https:"==r.protocol?_.default.request(r):I.default.request(r),this.getLength(function(e,r){if(e&&"Unknown stream"!==e)this._error(e);else if(r&&s.setHeader("Content-Length",r),this.pipe(s),t){var i,n=function(e,r){return s.removeListener("error",n),s.removeListener("response",i),t.call(this,e,r)};i=n.bind(this,null),s.on("error",n),s.on("response",i)}}.bind(this)),s},Fr.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},Fr.prototype.toString=function(){return"[object FormData]"};var Ir=Nr,_r={"Content-Type":"application/x-www-form-urlencoded"};function Or(e,t){!ts.isUndefined(e)&&ts.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var jr,Br={transitional:ps,adapter:("undefined"!=typeof XMLHttpRequest?jr=bs:"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process)&&(jr=nr),jr),transformRequest:[function(e,t){if(as(t,"Accept"),as(t,"Content-Type"),ts.isFormData(e)||ts.isArrayBuffer(e)||ts.isBuffer(e)||ts.isStream(e)||ts.isFile(e)||ts.isBlob(e))return e;if(ts.isArrayBufferView(e))return e.buffer;if(ts.isURLSearchParams(e))return Or(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var s,r=ts.isObject(e),i=t&&t["Content-Type"];if((s=ts.isFileList(e))||r&&"multipart/form-data"===i){var n=this.env&&this.env.FormData;return hs(s?{"files[]":e}:e,n&&new n)}return r||"application/json"===i?(Or(t,"application/json"),function(e,t,s){if(ts.isString(e))try{return(t||JSON.parse)(e),ts.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(s||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||Br.transitional,s=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,i=!s&&"json"===this.responseType;if(i||r&&ts.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw ls.from(e,ls.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ir},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};ts.forEach(["delete","get","head"],(function(e){Br.headers[e]={}})),ts.forEach(["post","put","patch"],(function(e){Br.headers[e]=ts.merge(_r)}));var Lr=Br,Mr=function(e,t,s){var r=this||Lr;return ts.forEach(s,(function(s){e=s.call(r,e,t)})),e},Rr=function(e){return!(!e||!e.__CANCEL__)};function Ur(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new vs}var qr=function(e){return Ur(e),e.headers=e.headers||{},e.data=Mr.call(e,e.data,e.headers,e.transformRequest),e.headers=ts.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),ts.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||Lr.adapter)(e).then((function(t){return Ur(e),t.data=Mr.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return Rr(t)||(Ur(e),t&&t.response&&(t.response.data=Mr.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))},zr=function(e,t){t=t||{};var s={};function r(e,t){return ts.isPlainObject(e)&&ts.isPlainObject(t)?ts.merge(e,t):ts.isPlainObject(t)?ts.merge({},t):ts.isArray(t)?t.slice():t}function i(s){return ts.isUndefined(t[s])?ts.isUndefined(e[s])?void 0:r(void 0,e[s]):r(e[s],t[s])}function n(e){if(!ts.isUndefined(t[e]))return r(void 0,t[e])}function a(s){return ts.isUndefined(t[s])?ts.isUndefined(e[s])?void 0:r(void 0,e[s]):r(void 0,t[s])}function o(s){return s in t?r(e[s],t[s]):s in e?r(void 0,e[s]):void 0}var c={url:n,method:n,data:n,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:o};return ts.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||i,r=t(e);ts.isUndefined(r)&&t!==o||(s[e]=r)})),s},$r=Qs,Hr={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){Hr[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}}));var Vr={};Hr.transitional=function(e,t,s){function r(e,t){return"[Axios v"+$r+"] Transitional option '"+e+"'"+t+(s?". "+s:"")}return function(s,i,n){if(!1===e)throw new ls(r(i," has been removed"+(t?" in "+t:"")),ls.ERR_DEPRECATED);return t&&!Vr[i]&&(Vr[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(s,i,n)}};var Gr={assertOptions:function(e,t,s){if("object"!=typeof e)throw new ls("options must be an object",ls.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),i=r.length;i-- >0;){var n=r[i],a=t[n];if(a){var o=e[n],c=void 0===o||a(o,n,e);if(!0!==c)throw new ls("option "+n+" must be "+c,ls.ERR_BAD_OPTION_VALUE)}else if(!0!==s)throw new ls("Unknown option "+n,ls.ERR_BAD_OPTION)}},validators:Hr},Wr=Gr.validators;function Jr(e){this.defaults=e,this.interceptors={request:new ns,response:new ns}}Jr.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=zr(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var s=t.transitional;void 0!==s&&Gr.assertOptions(s,{silentJSONParsing:Wr.transitional(Wr.boolean),forcedJSONParsing:Wr.transitional(Wr.boolean),clarifyTimeoutError:Wr.transitional(Wr.boolean)},!1);var r=[],i=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var n,a=[];if(this.interceptors.response.forEach((function(e){a.push(e.fulfilled,e.rejected)})),!i){var o=[qr,void 0];for(Array.prototype.unshift.apply(o,r),o=o.concat(a),n=Promise.resolve(t);o.length;)n=n.then(o.shift(),o.shift());return n}for(var c=t;r.length;){var u=r.shift(),l=r.shift();try{c=u(c)}catch(e){l(e);break}}try{n=qr(c)}catch(e){return Promise.reject(e)}for(;a.length;)n=n.then(a.shift(),a.shift());return n},Jr.prototype.getUri=function(e){e=zr(this.defaults,e);var t=fs(e.baseURL,e.url);return rs(t,e.params,e.paramsSerializer)},ts.forEach(["delete","get","head","options"],(function(e){Jr.prototype[e]=function(t,s){return this.request(zr(s||{},{method:e,url:t,data:(s||{}).data}))}})),ts.forEach(["post","put","patch"],(function(e){function t(t){return function(s,r,i){return this.request(zr(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:s,data:r}))}}Jr.prototype[e]=t(),Jr.prototype[e+"Form"]=t(!0)}));var Xr=Jr;function Kr(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var s=this;this.promise.then((function(e){if(s._listeners){var t,r=s._listeners.length;for(t=0;t<r;t++)s._listeners[t](e);s._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){s.subscribe(e),t=e})).then(e);return r.cancel=function(){s.unsubscribe(t)},r},e((function(e){s.reason||(s.reason=new vs(e),t(s.reason))}))}Kr.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},Kr.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},Kr.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},Kr.source=function(){var e;return{token:new Kr((function(t){e=t})),cancel:e}};var Yr=Kr;var Qr=function e(t){var s=new Xr(t),r=Lt(Xr.prototype.request,s);return ts.extend(r,Xr.prototype,s),ts.extend(r,s),r.create=function(s){return e(zr(t,s))},r}(Lr);Qr.Axios=Xr,Qr.CanceledError=vs,Qr.CancelToken=Yr,Qr.isCancel=Rr,Qr.VERSION=Qs,Qr.toFormData=hs,Qr.AxiosError=ls,Qr.Cancel=Qr.CanceledError,Qr.all=function(e){return Promise.all(e)},Qr.spread=function(e){return function(t){return e.apply(null,t)}},Qr.isAxiosError=function(e){return ts.isObject(e)&&!0===e.isAxiosError};var Zr=Qr,ei=Qr;Zr.default=ei;var ti=Zr,si="";function ri(e){si=e}var ii=function(e,t){return X(this,void 0,void 0,(function(){var s,r,i;return K(this,(function(n){switch(n.label){case 0:return s=Y((si||"").split("##"),2),r=s[0],i=s[1],[4,ti.post((process.env.DEV?"http://127.0.0.1:1626":"http://editor.disscode.com")+e,t,{headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(r),client:i}})];case 1:return[2,n.sent()]}}))}))},ni=require("getpinyin").getFirstPY,ai=Bt("mengti_translate"),oi=jt.load("default",ai);function ci(e,t){var s;return X(this,void 0,void 0,(function(){var r,i,n;return K(this,(function(a){switch(a.label){case 0:return t&&console.log("retry chineseToEnglish: ",e,t),function(e){var t=e.match(/[^\x00-\x80]/g);return t&&t.length>0}(e)?(r=oi.getKey(e))?[2,r]:[4,ii("/editor/transformChinese",{text:e})]:[2,e];case 1:return i=a.sent(),(n=null===(s=i.data)||void 0===s?void 0:s.text)&&(n=(n=n.replace(/^[^a-zA-Z0-9]+/,"")).replace(/[^a-zA-Z0-9]+$/,"")),n?(oi.setKey(e,n),[2,n]):[2,ni(e)]}}))}))}var ui=["Modal"],li={ScrollView:"sv",View:"vw",ImageBackground:"ibg",Text:"tx"};function pi(e){return li[e]||e}var hi=function(e,t){return X(void 0,void 0,void 0,(function(){var s,r,n,a;return K(this,(function(o){switch(o.label){case 0:s=e.componentsTree,r=[],n=function(e){var n,a,o,c,u,l,p,h;return K(this,(function(d){switch(d.label){case 0:return n=s[e],(a="string"==typeof n?JSON.parse(n):n).title,o=a.fileName,c=a.css,u=i.toJSON(c),l=0,p=function(e,s,r){return X(void 0,void 0,void 0,(function(){var i,n,a,c,h,d,m,f,y,g,x,v,b,E,C,A,w,D,T,P,S,k,N,F,I,_,O,j,B,L;return K(this,(function(M){switch(M.label){case 0:return i=e.id,n=e.title,a=e.props,c=void 0===a?{}:a,h=e.children,c?(d=c.style,""!==c.inlineStyle&&0!==(null===(P=c.inlineStyle)||void 0===P?void 0:P.length)||delete c.inlineStyle,"Text"===e.componentName&&""===c.children&&delete c.children,c.__hidePh&&delete c.__hidePh,"HeaderBar"===e.componentName&&void 0!==c.loginIcon&&delete c.loginIcon,m=d?Object.keys(d):[],!ui.includes(e.componentName)&&d&&m.length>0&&!(null==d?void 0:d.type)?("inline"===d.display&&("Text"===(null===(k=null===(S=e.children)||void 0===S?void 0:S[0])||void 0===k?void 0:k.componentName)&&(e.componentName="Text",delete d.flexDirection,delete d.justifyContent,delete d.alignItems),delete d.display),d.fontWeight&&(d.fontWeight=String(d.fontWeight)),d.boxShadow,m.forEach((function(e){""===d[e]&&delete d[e]})),f=i||"".concat(pi(e.componentName),"_").concat(String(s)),y=[],n?[4,ci(n)]:[3,2]):[3,4]):[3,13];case 1:return g=M.sent(),f=g,[3,3];case 2:r&&(f=pi(e.componentName)+(s>0?String(s):"")),(null===(N=null==r?void 0:r.props)||void 0===N?void 0:N.className)&&"string"==typeof(null===(F=null==r?void 0:r.props)||void 0===F?void 0:F.className)&&(null==r?void 0:r.id)!==(null===(I=null==r?void 0:r.props)||void 0===I?void 0:I.className)&&(f="".concat(null===(O=null===(_=null==r?void 0:r.props)||void 0===_?void 0:_.className)||void 0===O?void 0:O.split(" ")[0],"__").concat(f)),M.label=3;case 3:1!==d.flex&&1!==d.flexGrow||(delete d.flex,y.push("M-flex-item")),f.includes(o)||(f="".concat(o,"__").concat(f)),u.children[".".concat(f)]&&(l++,f="".concat(f,"_").concat(l)),u.children[".".concat(f)]={children:{},attributes:Ze(d,t)},x=[f,"string"==typeof c.className?c.className:"",y.length>0?" ".concat(y.join(" ")):""].filter(Boolean).join(" "),"object"==typeof c.className&&"JSExpression"===c.className.type?(console.log(1,c.className.value),c.className.value="(".concat(c.className.value,") + ' ").concat(x,"'"),console.log(2,c.className.value)):c.className=x,delete c.style,M.label=4;case 4:if(!(h&&Array.isArray(h)&&h.length>0))return[3,9];T=[],v=0,M.label=5;case 5:return v<h.length?(b=h[v],C=(E=T).push,[4,p(b,v,e)]):[3,8];case 6:C.apply(E,[M.sent()]),M.label=7;case 7:return v++,[3,5];case 8:return e.children=T,[3,13];case 9:A=Object.keys(c),w=0,M.label=10;case 10:return w<A.length?(D=A[w],"JSSlot"===(null===(j=c[D])||void 0===j?void 0:j.type)&&(null===(L=null===(B=c[D])||void 0===B?void 0:B.value)||void 0===L?void 0:L.length)>0?[4,p({children:c[D].value},0)]:[3,12]):[3,13];case 11:T=M.sent().children,c[D].value=T,M.label=12;case 12:return w++,[3,10];case 13:return"object"==typeof e&&(e.props=c),[2,e]}}))}))},[4,p(n,e)];case 1:return(h=d.sent()).css=i.toCSS(u),r.push(h),[2]}}))},a=0,o.label=1;case 1:return a<s.length?[5,n(a)]:[3,4];case 2:o.sent(),o.label=3;case 3:return a++,[3,1];case 4:return[2,e]}}))}))};function di(e,t){k.readdirSync(e).forEach((function(s,r){if(k.statSync(e+s).isDirectory())di(e+s+"/",t);else{var i=s.split("."),n=e.split("/")[e.split("/").length-2],a=i[i.length-1],o={path:e,fileName:s,name:n,ext:a};t.push(o)}}))}var mi=function(e){var t=[];return di(e,t),t};function fi(e){k.existsSync(e)&&(k.readdirSync(e).forEach((function(t,s){var r=e+"/"+t;k.statSync(r).isDirectory()?fi(r):k.unlinkSync(r)})),k.rmdirSync(e))}var yi=te((function(e,t){function s(e,t){if(null==e)return{};var s,r,i={},n=Object.keys(e);for(r=0;r<n.length;r++)s=n[r],t.indexOf(s)>=0||(i[s]=e[s]);return i}Object.defineProperty(t,"__esModule",{value:!0});class r{constructor(e,t,s){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=t,this.index=s}}class i{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 n(e,t){const{line:s,column:i,index:n}=e;return new r(s,i+t,n+t)}var a="BABEL_PARSER_SYNTAX_ERROR",o="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";const c=(e,t=e.length-1)=>({get(){return e.reduce(((e,t)=>e[t]),this)},set(s){e.reduce(((e,r,i)=>i===t?e[r]=s:e[r]),this)}}),u=(e,t,s)=>Object.keys(s).map((e=>[e,s[e]])).filter((([,e])=>!!e)).map((([e,t])=>[e,"function"==typeof t?{value:t,enumerable:!1}:"string"==typeof t.reflect?Object.assign({},t,c(t.reflect.split("."))):t])).reduce(((e,[t,s])=>Object.defineProperty(e,t,Object.assign({configurable:!0},s))),Object.assign(new e,t));var l={ImportMetaOutsideModule:{message:"import.meta may appear only with 'sourceType: \"module\"'",code:o},ImportOutsideModule:{message:"'import' and 'export' may appear only with 'sourceType: \"module\"'",code:o}};const p={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"},h=({type:e,prefix:t})=>"UpdateExpression"===e?p.UpdateExpression[String(t)]:p[e];var d={AccessorIsGenerator:({kind:e})=>`A ${e}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.",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' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor 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:({kind:e})=>`Missing initializer in ${e} declaration.`,DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",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:({exportName:e})=>`\`${e}\` 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:({localName:e,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`.\n- Did you mean \`export { '${e}' as '${t}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:e})=>`'${"ForInStatement"===e?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,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:({type:e})=>`Unsyntactic ${"BreakStatement"===e?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:({importName:e})=>`A string literal cannot be used as an imported binding.\n- Did you mean \`import { "${e}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:e})=>`\`import()\` requires exactly ${1===e?"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`.",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:({radix:e})=>`Expected number in radix ${e}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:e})=>`Escape sequence in keyword ${e}.`,InvalidIdentifier:({identifierName:e})=>`Invalid identifier ${e}.`,InvalidLhs:({ancestor:e})=>`Invalid left-hand side in ${h(e)}.`,InvalidLhsBinding:({ancestor:e})=>`Binding invalid left-hand side in ${h(e)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:e})=>`Unexpected character '${e}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:e})=>`Private name #${e} 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:({labelName:e})=>`Label '${e}' 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:({missingPlugin:e})=>`This experimental syntax requires enabling the parser plugin: ${e.map((e=>JSON.stringify(e))).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:e})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${e.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:({key:e})=>`Duplicate key "${e}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:e})=>`An export name cannot include a lone surrogate, found '\\u${e.toString(16)}'.`,ModuleExportUndefined:({localName:e})=>`Export '${e}' 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:({identifierName:e})=>`Private names are only allowed in property accesses (\`obj.#${e}\`) or in \`in\` expressions (\`#${e} in obj\`).`,PrivateNameRedeclaration:({identifierName:e})=>`Duplicate private name #${e}.`,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, 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:({keyword:e})=>`Unexpected keyword '${e}'.`,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:({reservedWord:e})=>`Unexpected reserved word '${e}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:e,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${e?`, expected "${e}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",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:({target:e,onlyValidPropertyName:t})=>`The only valid meta property for ${e} is ${e}.${t}.`,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.",VarRedeclaration:({identifierName:e})=>`Identifier '${e}' 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."};const m=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var f={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:({token:e})=>`Invalid topic token ${e}. In order to use ${e} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${e}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:e})=>`Hack-style pipe body cannot be an unparenthesized ${h({type:e})}; 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.'};const y=["toMessage"],g=["message"];function x(e){let{toMessage:t}=e,i=s(e,y);return function e({loc:s,details:n}){return u(SyntaxError,Object.assign({},i,{loc:s}),{clone(t={}){const s=t.loc||{};return e({loc:new r("line"in s?s.line:this.loc.line,"column"in s?s.column:this.loc.column,"index"in s?s.index:this.loc.index),details:Object.assign({},this.details,t.details)})},details:{value:n,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 n&&{reflect:"details.missingPlugin",enumerable:!0}})}}function v(e,t){if(Array.isArray(e))return t=>v(t,e[0]);const r={};for(const i of Object.keys(e)){const n=e[i],o="string"==typeof n?{message:()=>n}:"function"==typeof n?{message:n}:n,{message:c}=o,u=s(o,g),l="string"==typeof c?()=>c:c;r[i]=x(Object.assign({code:a,reasonCode:i,toMessage:l},t?{syntaxPlugin:t}:{},u))}return r}const b=Object.assign({},v(l),v(d),v({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:e})=>`Assigning to '${e}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:e})=>`Binding '${e}' 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."}),v`pipelineOperator`(f)),{defineProperty:E}=Object,C=(e,t)=>E(e,t,{enumerable:!1,value:e[t]});function A(e){return e.loc.start&&C(e.loc.start,"index"),e.loc.end&&C(e.loc.end,"index"),e}class w{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}}const D={brace:new w("{"),j_oTag:new w("<tag"),j_cTag:new w("</tag"),j_expr:new w("<tag>...</tag>",!0)};D.template=new w("`",!0);const T=!0,P=!0,S=!0,k=!0,N=!0;class F{constructor(e,t={}){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=null!=t.binop?t.binop:null,this.updateContext=null}}const I=new Map;function _(e,t={}){t.keyword=e;const s=z(e,t);return I.set(e,s),s}function O(e,t){return z(e,{beforeExpr:T,binop:t})}let j=-1;const B=[],L=[],M=[],R=[],U=[],q=[];function z(e,t={}){var s,r,i,n;return++j,L.push(e),M.push(null!=(s=t.binop)?s:-1),R.push(null!=(r=t.beforeExpr)&&r),U.push(null!=(i=t.startsExpr)&&i),q.push(null!=(n=t.prefix)&&n),B.push(new F(e,t)),j}function $(e,t={}){var s,r,i,n;return++j,I.set(e,j),L.push(e),M.push(null!=(s=t.binop)?s:-1),R.push(null!=(r=t.beforeExpr)&&r),U.push(null!=(i=t.startsExpr)&&i),q.push(null!=(n=t.prefix)&&n),B.push(new F("name",t)),j}const H={bracketL:z("[",{beforeExpr:T,startsExpr:P}),bracketHashL:z("#[",{beforeExpr:T,startsExpr:P}),bracketBarL:z("[|",{beforeExpr:T,startsExpr:P}),bracketR:z("]"),bracketBarR:z("|]"),braceL:z("{",{beforeExpr:T,startsExpr:P}),braceBarL:z("{|",{beforeExpr:T,startsExpr:P}),braceHashL:z("#{",{beforeExpr:T,startsExpr:P}),braceR:z("}"),braceBarR:z("|}"),parenL:z("(",{beforeExpr:T,startsExpr:P}),parenR:z(")"),comma:z(",",{beforeExpr:T}),semi:z(";",{beforeExpr:T}),colon:z(":",{beforeExpr:T}),doubleColon:z("::",{beforeExpr:T}),dot:z("."),question:z("?",{beforeExpr:T}),questionDot:z("?."),arrow:z("=>",{beforeExpr:T}),template:z("template"),ellipsis:z("...",{beforeExpr:T}),backQuote:z("`",{startsExpr:P}),dollarBraceL:z("${",{beforeExpr:T,startsExpr:P}),templateTail:z("...`",{startsExpr:P}),templateNonTail:z("...${",{beforeExpr:T,startsExpr:P}),at:z("@"),hash:z("#",{startsExpr:P}),interpreterDirective:z("#!..."),eq:z("=",{beforeExpr:T,isAssign:k}),assign:z("_=",{beforeExpr:T,isAssign:k}),slashAssign:z("_=",{beforeExpr:T,isAssign:k}),xorAssign:z("_=",{beforeExpr:T,isAssign:k}),moduloAssign:z("_=",{beforeExpr:T,isAssign:k}),incDec:z("++/--",{prefix:N,postfix:!0,startsExpr:P}),bang:z("!",{beforeExpr:T,prefix:N,startsExpr:P}),tilde:z("~",{beforeExpr:T,prefix:N,startsExpr:P}),doubleCaret:z("^^",{startsExpr:P}),doubleAt:z("@@",{startsExpr:P}),pipeline:O("|>",0),nullishCoalescing:O("??",1),logicalOR:O("||",1),logicalAND:O("&&",2),bitwiseOR:O("|",3),bitwiseXOR:O("^",4),bitwiseAND:O("&",5),equality:O("==/!=/===/!==",6),lt:O("</>/<=/>=",7),gt:O("</>/<=/>=",7),relational:O("</>/<=/>=",7),bitShift:O("<</>>/>>>",8),bitShiftL:O("<</>>/>>>",8),bitShiftR:O("<</>>/>>>",8),plusMin:z("+/-",{beforeExpr:T,binop:9,prefix:N,startsExpr:P}),modulo:z("%",{binop:10,startsExpr:P}),star:z("*",{binop:10}),slash:O("/",10),exponent:z("**",{beforeExpr:T,binop:11,rightAssociative:!0}),_in:_("in",{beforeExpr:T,binop:7}),_instanceof:_("instanceof",{beforeExpr:T,binop:7}),_break:_("break"),_case:_("case",{beforeExpr:T}),_catch:_("catch"),_continue:_("continue"),_debugger:_("debugger"),_default:_("default",{beforeExpr:T}),_else:_("else",{beforeExpr:T}),_finally:_("finally"),_function:_("function",{startsExpr:P}),_if:_("if"),_return:_("return",{beforeExpr:T}),_switch:_("switch"),_throw:_("throw",{beforeExpr:T,prefix:N,startsExpr:P}),_try:_("try"),_var:_("var"),_const:_("const"),_with:_("with"),_new:_("new",{beforeExpr:T,startsExpr:P}),_this:_("this",{startsExpr:P}),_super:_("super",{startsExpr:P}),_class:_("class",{startsExpr:P}),_extends:_("extends",{beforeExpr:T}),_export:_("export"),_import:_("import",{startsExpr:P}),_null:_("null",{startsExpr:P}),_true:_("true",{startsExpr:P}),_false:_("false",{startsExpr:P}),_typeof:_("typeof",{beforeExpr:T,prefix:N,startsExpr:P}),_void:_("void",{beforeExpr:T,prefix:N,startsExpr:P}),_delete:_("delete",{beforeExpr:T,prefix:N,startsExpr:P}),_do:_("do",{isLoop:S,beforeExpr:T}),_for:_("for",{isLoop:S}),_while:_("while",{isLoop:S}),_as:$("as",{startsExpr:P}),_assert:$("assert",{startsExpr:P}),_async:$("async",{startsExpr:P}),_await:$("await",{startsExpr:P}),_from:$("from",{startsExpr:P}),_get:$("get",{startsExpr:P}),_let:$("let",{startsExpr:P}),_meta:$("meta",{startsExpr:P}),_of:$("of",{startsExpr:P}),_sent:$("sent",{startsExpr:P}),_set:$("set",{startsExpr:P}),_static:$("static",{startsExpr:P}),_yield:$("yield",{startsExpr:P}),_asserts:$("asserts",{startsExpr:P}),_checks:$("checks",{startsExpr:P}),_exports:$("exports",{startsExpr:P}),_global:$("global",{startsExpr:P}),_implements:$("implements",{startsExpr:P}),_intrinsic:$("intrinsic",{startsExpr:P}),_infer:$("infer",{startsExpr:P}),_is:$("is",{startsExpr:P}),_mixins:$("mixins",{startsExpr:P}),_proto:$("proto",{startsExpr:P}),_require:$("require",{startsExpr:P}),_keyof:$("keyof",{startsExpr:P}),_readonly:$("readonly",{startsExpr:P}),_unique:$("unique",{startsExpr:P}),_abstract:$("abstract",{startsExpr:P}),_declare:$("declare",{startsExpr:P}),_enum:$("enum",{startsExpr:P}),_module:$("module",{startsExpr:P}),_namespace:$("namespace",{startsExpr:P}),_interface:$("interface",{startsExpr:P}),_type:$("type",{startsExpr:P}),_opaque:$("opaque",{startsExpr:P}),name:z("name",{startsExpr:P}),string:z("string",{startsExpr:P}),num:z("num",{startsExpr:P}),bigint:z("bigint",{startsExpr:P}),decimal:z("decimal",{startsExpr:P}),regexp:z("regexp",{startsExpr:P}),privateName:z("#name",{startsExpr:P}),eof:z("eof"),jsxName:z("jsxName"),jsxText:z("jsxText",{beforeExpr:!0}),jsxTagStart:z("jsxTagStart",{startsExpr:!0}),jsxTagEnd:z("jsxTagEnd"),placeholder:z("%%",{startsExpr:!0})};function V(e){return e>=93&&e<=128}function G(e){return e>=58&&e<=128}function W(e){return e>=58&&e<=132}function J(e){return U[e]}function X(e){return e>=125&&e<=127}function K(e){return e>=58&&e<=92}function Y(e){return 34===e}function Q(e){return L[e]}function Z(e){return M[e]}function ee(e){return e>=24&&e<=25}function te(e){return B[e]}B[8].updateContext=e=>{e.pop()},B[5].updateContext=B[7].updateContext=B[23].updateContext=e=>{e.push(D.brace)},B[22].updateContext=e=>{e[e.length-1]===D.template?e.pop():e.push(D.template)},B[138].updateContext=e=>{e.push(D.j_expr,D.j_oTag)};let se="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",re="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const ie=new RegExp("["+se+"]"),ne=new RegExp("["+se+re+"]");se=re=null;const ae=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],oe=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function ce(e,t){let s=65536;for(let r=0,i=t.length;r<i;r+=2){if(s+=t[r],s>e)return!1;if(s+=t[r+1],s>=e)return!0}return!1}function ue(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&ie.test(String.fromCharCode(e)):ce(e,ae)))}function le(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&ne.test(String.fromCharCode(e)):ce(e,ae)||ce(e,oe))))}const pe=["implements","interface","let","package","private","protected","public","static","yield"],he=["eval","arguments"],de=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"]),me=new Set(pe),fe=new Set(he);function ye(e,t){return t&&"await"===e||"enum"===e}function ge(e,t){return ye(e,t)||me.has(e)}function xe(e){return fe.has(e)}function ve(e,t){return ge(e,t)||xe(e)}const be=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"]);const Ee=64,Ce=256,Ae=259,we=128,De=1024,Te=2048,Pe=64;class Se{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(e){if("string"==typeof e)return this.plugins.has(e);{const[t,s]=e;if(!this.hasPlugin(t))return!1;const r=this.plugins.get(t);for(const e of Object.keys(s))if((null==r?void 0:r[e])!==s[e])return!1;return!0}}getPluginOption(e,t){var s;return null==(s=this.plugins.get(e))?void 0:s[t]}}function ke(e,t){void 0===e.trailingComments?e.trailingComments=t:e.trailingComments.unshift(...t)}function Ne(e,t){void 0===e.innerComments?e.innerComments=t:e.innerComments.unshift(...t)}function Fe(e,t,s){let r=null,i=t.length;for(;null===r&&i>0;)r=t[--i];null===r||r.start>s.start?Ne(e,s.comments):ke(r,s.comments)}class Ie extends Se{addComment(e){this.filename&&(e.loc.filename=this.filename),this.state.comments.push(e)}processComment(e){const{commentStack:t}=this.state,s=t.length;if(0===s)return;let r=s-1;const i=t[r];i.start===e.end&&(i.leadingNode=e,r--);const{start:n}=e;for(;r>=0;r--){const s=t[r],i=s.end;if(!(i>n)){i===n&&(s.trailingNode=e);break}s.containingNode=e,this.finalizeComment(s),t.splice(r,1)}}finalizeComment(e){const{comments:t}=e;if(null!==e.leadingNode||null!==e.trailingNode)null!==e.leadingNode&&ke(e.leadingNode,t),null!==e.trailingNode&&function(e,t){void 0===e.leadingComments?e.leadingComments=t:e.leadingComments.unshift(...t)}(e.trailingNode,t);else{const{containingNode:s,start:r}=e;if(44===this.input.charCodeAt(r-1))switch(s.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Fe(s,s.properties,e);break;case"CallExpression":case"OptionalCallExpression":Fe(s,s.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Fe(s,s.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Fe(s,s.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":Fe(s,s.specifiers,e);break;default:Ne(s,t)}else Ne(s,t)}}finalizeRemainingComments(){const{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){const{commentStack:t}=this.state,{length:s}=t;if(0===s)return;const r=t[s-1];r.leadingNode===e&&(r.leadingNode=null)}takeSurroundingComments(e,t,s){const{commentStack:r}=this.state,i=r.length;if(0===i)return;let n=i-1;for(;n>=0;n--){const i=r[n],a=i.end;if(i.start===s)i.leadingNode=e;else if(a===t)i.trailingNode=e;else if(a<t)break}}}const _e=/\r\n?|[\n\u2028\u2029]/,Oe=new RegExp(_e.source,"g");function je(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}const Be=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Le=new RegExp("(?=("+/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function Me(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}}class Re{constructor(){this.strict=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.maybeInArrowParameters=!1,this.inType=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.inDisallowConditionalTypesContext=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.decoratorStack=[[]],this.comments=[],this.commentStack=[],this.pos=0,this.type=135,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.context=[D.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.strictErrors=new Map,this.tokensLength=0}init({strictMode:e,sourceType:t,startLine:s,startColumn:i}){this.strict=!1!==e&&(!0===e||"module"===t),this.curLine=s,this.lineStart=-i,this.startLoc=this.endLoc=new r(s,i,0)}curPosition(){return new r(this.curLine,this.pos-this.lineStart,this.pos)}clone(e){const t=new Re,s=Object.keys(this);for(let r=0,i=s.length;r<i;r++){const i=s[r];let n=this[i];!e&&Array.isArray(n)&&(n=n.slice()),t[i]=n}return t}}var Ue=function(e){return e>=48&&e<=57};const qe={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},ze={bin:e=>48===e||49===e,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 $e(e,t,s,r,i,n){const a=s,o=r,c=i;let u="",l=!1,p=s;const{length:h}=t;for(;;){if(s>=h){n.unterminated(a,o,c),u+=t.slice(p,s);break}const d=t.charCodeAt(s);if(He(e,d,t,s)){u+=t.slice(p,s);break}if(92===d){let a;u+=t.slice(p,s),({ch:a,pos:s,lineStart:r,curLine:i}=Ve(t,s,r,i,"template"===e,n)),null===a?l=!0:u+=a,p=s}else 8232===d||8233===d?(++i,r=++s):10===d||13===d?"template"===e?(u+=t.slice(p,s)+"\n",++s,13===d&&10===t.charCodeAt(s)&&++s,++i,p=r=s):n.unterminated(a,o,c):++s}return{pos:s,str:u,containsInvalid:l,lineStart:r,curLine:i}}function He(e,t,s,r){return"template"===e?96===t||36===t&&123===s.charCodeAt(r+1):t===("double"===e?34:39)}function Ve(e,t,s,r,i,n){const a=!i;t++;const o=e=>({pos:t,ch:e,lineStart:s,curLine:r}),c=e.charCodeAt(t++);switch(c){case 110:return o("\n");case 114:return o("\r");case 120:{let i;return({code:i,pos:t}=Ge(e,t,s,r,2,!1,a,n)),o(null===i?null:String.fromCharCode(i))}case 117:{let i;return({code:i,pos:t}=Je(e,t,s,r,a,n)),o(null===i?null:String.fromCodePoint(i))}case 116:return o("\t");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:s=t,++r;case 8232:case 8233:return o("");case 56:case 57:if(i)return o(null);n.strictNumericEscape(t-1,s,r);default:if(c>=48&&c<=55){const a=t-1;let c=e.slice(a,t+2).match(/^[0-7]+/)[0],u=parseInt(c,8);u>255&&(c=c.slice(0,-1),u=parseInt(c,8)),t+=c.length-1;const l=e.charCodeAt(t);if("0"!==c||56===l||57===l){if(i)return o(null);n.strictNumericEscape(a,s,r)}return o(String.fromCharCode(u))}return o(String.fromCharCode(c))}}function Ge(e,t,s,r,i,n,a,o){const c=t;let u;return({n:u,pos:t}=We(e,t,s,r,16,i,n,!1,o)),null===u&&(a?o.invalidEscapeSequence(c,s,r):t=c-1),{code:u,pos:t}}function We(e,t,s,r,i,n,a,o,c){const u=t,l=16===i?qe.hex:qe.decBinOct,p=16===i?ze.hex:10===i?ze.dec:8===i?ze.oct:ze.bin;let h=!1,d=0;for(let u=0,m=null==n?1/0:n;u<m;++u){const n=e.charCodeAt(t);let u;if(95!==n||"bail"===o){if(u=n>=97?n-97+10:n>=65?n-65+10:Ue(n)?n-48:1/0,u>=i)if(u<=9&&c.invalidDigit(t,s,r,i))u=0;else{if(!a)break;u=0,h=!0}++t,d=d*i+u}else{const i=e.charCodeAt(t-1),n=e.charCodeAt(t+1);o?(Number.isNaN(n)||!p(n)||l.has(i)||l.has(n))&&c.unexpectedNumericSeparator(t,s,r):c.numericSeparatorInEscapeSequence(t,s,r),++t}}return t===u||null!=n&&t-u!==n||h?{n:null,pos:t}:{n:d,pos:t}}function Je(e,t,s,r,i,n){let a;if(123===e.charCodeAt(t)){if(++t,({code:a,pos:t}=Ge(e,t,s,r,e.indexOf("}",t)-t,!0,i,n)),++t,null!==a&&a>1114111){if(!i)return{code:null,pos:t};n.invalidCodePoint(t,s,r)}}else({code:a,pos:t}=Ge(e,t,s,r,4,!1,i,n));return{code:a,pos:t}}const Xe=["at"],Ke=["at"];function Ye(e,t,s){return new r(s,e-t,e)}const Qe=new Set([103,109,115,105,121,117,100,118]);class Ze{constructor(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new i(e.startLoc,e.endLoc)}}class et extends Ie{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(e,t,s,r)=>!!this.options.errorRecovery&&(this.raise(b.InvalidDigit,{at:Ye(e,t,s),radix:r}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(b.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(b.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(b.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(b.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(e,t,s)=>{this.recordStrictModeErrors(b.StrictNumericEscape,{at:Ye(e,t,s)})},unterminated:(e,t,s)=>{throw this.raise(b.UnterminatedString,{at:Ye(e-1,t,s)})}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(b.StrictNumericEscape),unterminated:(e,t,s)=>{throw this.raise(b.UnterminatedTemplate,{at:Ye(e,t,s)})}}),this.state=new Re,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 Ze(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)}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(){const e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const t=this.state;return this.state=e,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return Be.lastIndex=e,Be.test(this.input)?Be.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if(55296==(64512&t)&&++e<this.input.length){const s=this.input.charCodeAt(e);56320==(64512&s)&&(t=65536+((1023&t)<<10)+(1023&s))}return t}setStrict(e){this.state.strict=e,e&&(this.state.strictErrors.forEach((([e,t])=>this.raise(e,{at:t}))),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(135):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(){let e;this.isLookahead||(e=this.state.curPosition());const t=this.state.pos,s=this.input.indexOf("*/",t+2);if(-1===s)throw this.raise(b.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=s+2,Oe.lastIndex=t+2;Oe.test(this.input)&&Oe.lastIndex<=s;)++this.state.curLine,this.state.lineStart=Oe.lastIndex;if(this.isLookahead)return;const r={type:"CommentBlock",value:this.input.slice(t+2,s),start:t,end:s+2,loc:new i(e,this.state.curPosition())};return this.options.tokens&&this.pushToken(r),r}skipLineComment(e){const t=this.state.pos;let s;this.isLookahead||(s=this.state.curPosition());let r=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!je(r)&&++this.state.pos<this.length;)r=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;const n=this.state.pos,a={type:"CommentLine",value:this.input.slice(t+e,n),start:t,end:n,loc:new i(s,this.state.curPosition())};return this.options.tokens&&this.pushToken(a),a}skipSpace(){const e=this.state.pos,t=[];e:for(;this.state.pos<this.length;){const s=this.input.charCodeAt(this.state.pos);switch(s){case 32:case 160:case 9:++this.state.pos;break;case 13:10===this.input.charCodeAt(this.state.pos+1)&&++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:{const e=this.skipBlockComment();void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}case 47:{const e=this.skipLineComment(2);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}default:break e}break;default:if(Me(s))++this.state.pos;else if(45!==s||this.inModule){if(60!==s||this.inModule)break e;{const e=this.state.pos;if(33!==this.input.charCodeAt(e+1)||45!==this.input.charCodeAt(e+2)||45!==this.input.charCodeAt(e+3))break e;{const e=this.skipLineComment(4);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}}else{const s=this.state.pos;if(45!==this.input.charCodeAt(s+1)||62!==this.input.charCodeAt(s+2)||!(0===e||this.state.lineStart>e))break e;{const e=this.skipLineComment(3);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}}}if(t.length>0){const s={start:e,end:this.state.pos,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(s)}}finishToken(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();const s=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(s)}replaceToken(e){this.state.type=e,this.updateContext()}readToken_numberSign(){if(0===this.state.pos&&this.readToken_interpreter())return;const e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(b.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"hash"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===t?b.RecordExpressionHashIncorrectStartSyntaxType:b.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else ue(t)?(++this.state.pos,this.finishToken(134,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(134,this.readWord1())):this.finishOp(27,1)}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);e>=48&&e<=57?this.readNumber(!0):46===e&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(0!==this.state.pos||this.length<2)return!1;let e=this.input.charCodeAt(this.state.pos+1);if(33!==e)return!1;const t=this.state.pos;for(this.state.pos+=1;!je(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);const s=this.input.slice(t+2,this.state.pos);return this.finishToken(28,s),!0}readToken_mult_modulo(e){let t=42===e?55:54,s=1,r=this.input.charCodeAt(this.state.pos+1);42===e&&42===r&&(s++,r=this.input.charCodeAt(this.state.pos+2),t=57),61!==r||this.state.inType||(s++,t=37===e?33:30),this.finishOp(t,s)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(t!==e){if(124===e){if(62===t)return void this.finishOp(39,2);if(this.hasPlugin("recordAndTuple")&&125===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(b.RecordExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&93===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(b.TupleExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});return this.state.pos+=2,void this.finishToken(4)}}61!==t?this.finishOp(124===e?43:45,1):this.finishOp(30,2)}else 61===this.input.charCodeAt(this.state.pos+2)?this.finishOp(30,3):this.finishOp(124===e?41:42,2)}readToken_caret(){const e=this.input.charCodeAt(this.state.pos+1);if(61!==e||this.state.inType)if(94===e&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])){this.finishOp(37,2);if(94===this.input.codePointAt(this.state.pos))throw this.unexpected()}else this.finishOp(44,1);else this.finishOp(32,2)}readToken_atSign(){64===this.input.charCodeAt(this.state.pos+1)&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(e){const t=this.input.charCodeAt(this.state.pos+1);t!==e?61===t?this.finishOp(30,2):this.finishOp(53,1):this.finishOp(34,2)}readToken_lt(){const{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(60===t)return 61===this.input.charCodeAt(e+2)?void this.finishOp(30,3):void this.finishOp(51,2);61!==t?this.finishOp(47,1):this.finishOp(49,2)}readToken_gt(){const{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(62===t){const t=62===this.input.charCodeAt(e+2)?3:2;return 61===this.input.charCodeAt(e+t)?void this.finishOp(30,t+1):void this.finishOp(52,t)}61!==t?this.finishOp(48,1):this.finishOp(49,2)}readToken_eq_excl(e){const t=this.input.charCodeAt(this.state.pos+1);if(61!==t)return 61===e&&62===t?(this.state.pos+=2,void this.finishToken(19)):void this.finishOp(61===e?29:35,1);this.finishOp(46,61===this.input.charCodeAt(this.state.pos+2)?3:2)}readToken_question(){const e=this.input.charCodeAt(this.state.pos+1),t=this.input.charCodeAt(this.state.pos+2);63===e?61===t?this.finishOp(30,3):this.finishOp(40,2):46!==e||t>=48&&t<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(e){switch(e){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(b.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(b.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(120===e||88===e)return void this.readRadixNumber(16);if(111===e||79===e)return void this.readRadixNumber(8);if(98===e||66===e)return void this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(e);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(e);case 124:case 38:return void this.readToken_pipe_amp(e);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(e);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(e);case 126:return void this.finishOp(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(ue(e))return void this.readWord(e)}throw this.raise(b.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(e)})}finishOp(e,t){const s=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,s)}readRegexp(){const e=this.state.startLoc,t=this.state.start+1;let s,r,{pos:i}=this.state;for(;;++i){if(i>=this.length)throw this.raise(b.UnterminatedRegExp,{at:n(e,1)});const t=this.input.charCodeAt(i);if(je(t))throw this.raise(b.UnterminatedRegExp,{at:n(e,1)});if(s)s=!1;else{if(91===t)r=!0;else if(93===t&&r)r=!1;else if(47===t&&!r)break;s=92===t}}const a=this.input.slice(t,i);++i;let o="";const c=()=>n(e,i+2-t);for(;i<this.length;){const e=this.codePointAtPos(i),t=String.fromCharCode(e);if(Qe.has(e))118===e?(this.expectPlugin("regexpUnicodeSets",c()),o.includes("u")&&this.raise(b.IncompatibleRegExpUVFlags,{at:c()})):117===e&&o.includes("v")&&this.raise(b.IncompatibleRegExpUVFlags,{at:c()}),o.includes(t)&&this.raise(b.DuplicateRegExpFlags,{at:c()});else{if(!le(e)&&92!==e)break;this.raise(b.MalformedRegExpFlags,{at:c()})}++i,o+=t}this.state.pos=i,this.finishToken(133,{pattern:a,flags:o})}readInt(e,t,s=!1,r=!0){const{n:i,pos:n}=We(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,t,s,r,this.errorHandlers_readInt);return this.state.pos=n,i}readRadixNumber(e){const t=this.state.curPosition();let s=!1;this.state.pos+=2;const r=this.readInt(e);null==r&&this.raise(b.InvalidDigit,{at:n(t,2),radix:e});const i=this.input.charCodeAt(this.state.pos);if(110===i)++this.state.pos,s=!0;else if(109===i)throw this.raise(b.InvalidDecimal,{at:t});if(ue(this.codePointAtPos(this.state.pos)))throw this.raise(b.NumberIdentifier,{at:this.state.curPosition()});if(s){const e=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(131,e)}else this.finishToken(130,r)}readNumber(e){const t=this.state.pos,s=this.state.curPosition();let r=!1,i=!1,a=!1,o=!1,c=!1;e||null!==this.readInt(10)||this.raise(b.InvalidNumber,{at:this.state.curPosition()});const u=this.state.pos-t>=2&&48===this.input.charCodeAt(t);if(u){const e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(b.StrictOctalLiteral,{at:s}),!this.state.strict){const t=e.indexOf("_");t>0&&this.raise(b.ZeroDigitNumericSeparator,{at:n(s,t)})}c=u&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(46!==l||c||(++this.state.pos,this.readInt(10),r=!0,l=this.input.charCodeAt(this.state.pos)),69!==l&&101!==l||c||(l=this.input.charCodeAt(++this.state.pos),43!==l&&45!==l||++this.state.pos,null===this.readInt(10)&&this.raise(b.InvalidOrMissingExponent,{at:s}),r=!0,o=!0,l=this.input.charCodeAt(this.state.pos)),110===l&&((r||u)&&this.raise(b.InvalidBigIntLiteral,{at:s}),++this.state.pos,i=!0),109===l&&(this.expectPlugin("decimal",this.state.curPosition()),(o||u)&&this.raise(b.InvalidDecimal,{at:s}),++this.state.pos,a=!0),ue(this.codePointAtPos(this.state.pos)))throw this.raise(b.NumberIdentifier,{at:this.state.curPosition()});const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(i)return void this.finishToken(131,p);if(a)return void this.finishToken(132,p);const h=c?parseInt(p,8):parseFloat(p);this.finishToken(130,h)}readCodePoint(e){const{code:t,pos:s}=Je(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint);return this.state.pos=s,t}readString(e){const{str:t,pos:s,curLine:r,lineStart:i}=$e(34===e?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=s+1,this.state.lineStart=i,this.state.curLine=r,this.finishToken(129,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const e=this.input[this.state.pos],{str:t,containsInvalid:s,pos:r,curLine:i,lineStart:n}=$e("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=n,this.state.curLine=i,96===this.input.codePointAt(r)?this.finishToken(24,s?null:e+t+"`"):(this.state.pos++,this.finishToken(25,s?null:e+t+"${"))}recordStrictModeErrors(e,{at:t}){const s=t.index;this.state.strict&&!this.state.strictErrors.has(s)?this.raise(e,{at:t}):this.state.strictErrors.set(s,[e,t])}readWord1(e){this.state.containsEsc=!1;let t="";const s=this.state.pos;let r=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos<this.length;){const e=this.codePointAtPos(this.state.pos);if(le(e))this.state.pos+=e<=65535?1:2;else{if(92!==e)break;{this.state.containsEsc=!0,t+=this.input.slice(r,this.state.pos);const e=this.state.curPosition(),i=this.state.pos===s?ue:le;if(117!==this.input.charCodeAt(++this.state.pos)){this.raise(b.MissingUnicodeEscape,{at:this.state.curPosition()}),r=this.state.pos-1;continue}++this.state.pos;const n=this.readCodePoint(!0);null!==n&&(i(n)||this.raise(b.EscapedCharNotAnIdentifier,{at:e}),t+=String.fromCodePoint(n)),r=this.state.pos}}}return t+this.input.slice(r,this.state.pos)}readWord(e){const t=this.readWord1(e),s=I.get(t);void 0!==s?this.finishToken(s,Q(s)):this.finishToken(128,t)}checkKeywordEscapes(){const{type:e}=this.state;K(e)&&this.state.containsEsc&&this.raise(b.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:Q(e)})}raise(e,t){const{at:i}=t,n=s(t,Xe),a=e({loc:i instanceof r?i:i.loc.start,details:n});if(!this.options.errorRecovery)throw a;return this.isLookahead||this.state.errors.push(a),a}raiseOverwrite(e,t){const{at:i}=t,n=s(t,Ke),a=i instanceof r?i:i.loc.start,o=a.index,c=this.state.errors;for(let t=c.length-1;t>=0;t--){const s=c[t];if(s.loc.index===o)return c[t]=e({loc:a,details:n});if(s.loc.index<o)break}return this.raise(e,t)}updateContext(e){}unexpected(e,t){throw this.raise(b.UnexpectedToken,{expected:t?Q(t):null,at:null!=e?e:this.state.startLoc})}expectPlugin(e,t){if(this.hasPlugin(e))return!0;throw this.raise(b.MissingPlugin,{at:null!=t?t:this.state.startLoc,missingPlugin:[e]})}expectOnePlugin(e){if(!e.some((e=>this.hasPlugin(e))))throw this.raise(b.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:e})}errorBuilder(e){return(t,s,r)=>{this.raise(e,{at:Ye(t,s,r)})}}}class tt{constructor(e){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=e}}class st{constructor(e,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=t}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get inClass(){return(this.currentThisScopeFlags()&Ee)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&Ee)>0&&0==(2&e)}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(128&t)return!0;if(323&t)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new tt(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(130&e.flags||!this.parser.inModule&&1&e.flags)}declareName(e,t,s){let r=this.currentScope();if(8&t||16&t)this.checkRedeclarationInScope(r,e,t,s),16&t?r.functions.add(e):r.lexical.add(e),8&t&&this.maybeExportDefined(r,e);else if(4&t)for(let i=this.scopeStack.length-1;i>=0&&(r=this.scopeStack[i],this.checkRedeclarationInScope(r,e,t,s),r.var.add(e),this.maybeExportDefined(r,e),!(r.flags&Ae));--i);this.parser.inModule&&1&r.flags&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.parser.inModule&&1&e.flags&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,s,r){this.isRedeclaredInScope(e,t,s)&&this.parser.raise(b.VarRedeclaration,{at:r,identifierName:t})}isRedeclaredInScope(e,t,s){return!!(1&s)&&(8&s?e.lexical.has(t)||e.functions.has(t)||e.var.has(t):16&s?e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t):e.lexical.has(t)&&!(8&e.flags&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t))}checkLocalExport(e){const{name:t}=e,s=this.scopeStack[0];s.lexical.has(t)||s.var.has(t)||s.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--){const{flags:t}=this.scopeStack[e];if(t&Ae)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(323&t&&!(4&t))return t}}}class rt extends tt{constructor(...e){super(...e),this.declareFunctions=new Set}}class it extends st{createScope(e){return new rt(e)}declareName(e,t,s){const r=this.currentScope();if(t&Te)return this.checkRedeclarationInScope(r,e,t,s),this.maybeExportDefined(r,e),void r.declareFunctions.add(e);super.declareName(e,t,s)}isRedeclaredInScope(e,t,s){return!!super.isRedeclaredInScope(e,t,s)||!!(s&Te)&&(!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t)))}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}}class nt{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class at{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 nt)}exit(){const e=this.stack.pop(),t=this.current();for(const[s,r]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(s)||t.undefinedPrivateNames.set(s,r):this.parser.raise(b.InvalidPrivateFieldResolution,{at:r,identifierName:s})}declarePrivateName(e,t,s){const{privateNames:r,loneAccessors:i,undefinedPrivateNames:n}=this.current();let a=r.has(e);if(3&t){const s=a&&i.get(e);if(s){a=(3&s)===(3&t)||(4&s)!==(4&t),a||i.delete(e)}else a||i.set(e,t)}a&&this.parser.raise(b.PrivateNameRedeclaration,{at:s,identifierName:e}),r.add(e),n.delete(e)}usePrivateName(e,t){let s;for(s of this.stack)if(s.privateNames.has(e))return;s?s.undefinedPrivateNames.set(e,t):this.parser.raise(b.InvalidPrivateFieldResolution,{at:t,identifierName:e})}}class ot{constructor(e=0){this.type=void 0,this.type=e}canBeArrowParameterDeclaration(){return 2===this.type||1===this.type}isCertainlyParameterDeclaration(){return 3===this.type}}class ct extends ot{constructor(e){super(e),this.declarationErrors=new Map}recordDeclarationError(e,{at:t}){const s=t.index;this.declarationErrors.set(s,[e,t])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}}class ut{constructor(e){this.parser=void 0,this.stack=[new ot],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,{at:t}){const s={at:t.loc.start},{stack:r}=this;let i=r.length-1,n=r[i];for(;!n.isCertainlyParameterDeclaration();){if(!n.canBeArrowParameterDeclaration())return;n.recordDeclarationError(e,s),n=r[--i]}this.parser.raise(e,s)}recordArrowParemeterBindingError(e,{at:t}){const{stack:s}=this,r=s[s.length-1],i={at:t.loc.start};if(r.isCertainlyParameterDeclaration())this.parser.raise(e,i);else{if(!r.canBeArrowParameterDeclaration())return;r.recordDeclarationError(e,i)}}recordAsyncArrowParametersError({at:e}){const{stack:t}=this;let s=t.length-1,r=t[s];for(;r.canBeArrowParameterDeclaration();)2===r.type&&r.recordDeclarationError(b.AwaitBindingIdentifier,{at:e}),r=t[--s]}validateAsPattern(){const{stack:e}=this,t=e[e.length-1];t.canBeArrowParameterDeclaration()&&t.iterateErrors((([t,s])=>{this.parser.raise(t,{at:s});let r=e.length-2,i=e[r];for(;i.canBeArrowParameterDeclaration();)i.clearDeclarationError(s.index),i=e[--r]}))}}function lt(){return new ot}class pt{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(2&this.currentFlags())>0}get hasYield(){return(1&this.currentFlags())>0}get hasReturn(){return(4&this.currentFlags())>0}get hasIn(){return(8&this.currentFlags())>0}}function ht(e,t){return(e?2:0)|(t?1:0)}class dt extends et{addExtra(e,t,s,r=!0){if(!e)return;const i=e.extra=e.extra||{};r?i[t]=s:Object.defineProperty(i,t,{enumerable:r,value:s})}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const s=e+t.length;if(this.input.slice(e,s)===t){const e=this.input.charCodeAt(s);return!(le(e)||55296==(64512&e))}return!1}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return!!this.isContextual(e)&&(this.next(),!0)}expectContextual(e,t){if(!this.eatContextual(e)){if(null!=t)throw this.raise(t,{at:this.state.startLoc});throw this.unexpected(null,e)}}canInsertSemicolon(){return this.match(135)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return _e.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return Le.lastIndex=this.state.end,Le.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=!0){(e?this.isLineTerminator():this.eat(13))||this.raise(b.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e,t=this.state.clone()){const s={node:null};try{const r=e(((e=null)=>{throw s.node=e,s}));if(this.state.errors.length>t.errors.length){const 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){const r=this.state;if(this.state=t,e instanceof SyntaxError)return{node:null,error:e,thrown:!0,aborted:!1,failState:r};if(e===s)return{node:s.node,error:null,thrown:!1,aborted:!0,failState:r};throw e}}checkExpressionErrors(e,t){if(!e)return!1;const{shorthandAssignLoc:s,doubleProtoLoc:r,privateKeyLoc:i,optionalParametersLoc:n}=e;if(!t)return!!(s||r||n||i);null!=s&&this.raise(b.InvalidCoverInitializedName,{at:s}),null!=r&&this.raise(b.DuplicateProto,{at:r}),null!=i&&this.raise(b.UnexpectedPrivateField,{at:i}),null!=n&&this.unexpected(n)}isLiteralPropertyName(){return W(this.state.type)}isPrivateName(e){return"PrivateName"===e.type}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)&&this.isPrivateName(e.property)}isOptionalChain(e){return"OptionalMemberExpression"===e.type||"OptionalCallExpression"===e.type}isObjectProperty(e){return"ObjectProperty"===e.type}isObjectMethod(e){return"ObjectMethod"===e.type}initializeScopes(e="module"===this.options.sourceType){const t=this.state.labels;this.state.labels=[];const s=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const r=this.inModule;this.inModule=e;const i=this.scope,n=this.getScopeHandler();this.scope=new n(this,e);const a=this.prodParam;this.prodParam=new pt;const o=this.classScope;this.classScope=new at(this);const c=this.expressionScope;return this.expressionScope=new ut(this),()=>{this.state.labels=t,this.exportedIdentifiers=s,this.inModule=r,this.scope=i,this.prodParam=a,this.classScope=o,this.expressionScope=c}}enterInitialScopes(){let e=0;this.inModule&&(e|=2),this.scope.enter(1),this.prodParam.enter(e)}checkDestructuringPrivate(e){const{privateKeyLoc:t}=e;null!==t&&this.expectPlugin("destructuringPrivate",t)}}class mt{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class ft{constructor(e,t,s){this.type="",this.start=t,this.end=0,this.loc=new i(s),null!=e&&e.options.ranges&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)}}const yt=ft.prototype;function gt(e){const{type:t,start:s,end:r,loc:i,range:n,extra:a,name:o}=e,c=Object.create(yt);return c.type=t,c.start=s,c.end=r,c.loc=i,c.range=n,c.extra=a,c.name=o,"Placeholder"===t&&(c.expectedNode=e.expectedNode),c}function xt(e){const{type:t,start:s,end:r,loc:i,range:n,extra:a}=e;if("Placeholder"===t)return function(e){return gt(e)}(e);const o=Object.create(yt);return o.type=t,o.start=s,o.end=r,o.loc=i,o.range=n,void 0!==e.raw?o.raw=e.raw:o.extra=a,o.value=e.value,o}yt.__clone=function(){const e=new ft,t=Object.keys(this);for(let s=0,r=t.length;s<r;s++){const r=t[s];"leadingComments"!==r&&"trailingComments"!==r&&"innerComments"!==r&&(e[r]=this[r])}return e};class vt extends dt{startNode(){return new ft(this,this.state.start,this.state.startLoc)}startNodeAt(e,t){return new ft(this,e,t)}startNodeAtNode(e){return this.startNodeAt(e.start,e.loc.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEndLoc)}finishNodeAt(e,t,s){return e.type=t,e.end=s.index,e.loc.end=s,this.options.ranges&&(e.range[1]=s.index),this.options.attachComment&&this.processComment(e),e}resetStartLocation(e,t,s){e.start=t,e.loc.start=s,this.options.ranges&&(e.range[0]=t)}resetEndLocation(e,t=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.start,t.loc.start)}}const bt=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Et=v`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:({reservedType:e})=>`Cannot overwrite reserved type ${e}.`,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:({memberName:e,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${e} = true,\` or \`${e} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:e,enumName:t})=>`Enum member names need to be unique, but the name \`${e}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({enumName:e})=>`Enum \`${e}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:e,enumName:t})=>`Enum type \`${e}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:e})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:e,memberName:t,explicitType:s})=>`Enum \`${e}\` has type \`${s}\`, so the initializer of \`${t}\` needs to be a ${s} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:e,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${e}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:e,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${e}\`.`,EnumInvalidMemberName:({enumName:e,memberName:t,suggestion:s})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${s}\`, in enum \`${e}\`.`,EnumNumberMemberNotInitialized:({enumName:e,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${e}\`.`,EnumStringMemberInconsistentlyInitailized:({enumName:e})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${e}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",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:({reservedType:e})=>`Unexpected reserved type ${e}.`,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:({unsupportedExportKind:e,suggestion:t})=>`\`declare export ${e}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function Ct(e){return"type"===e.importKind||"typeof"===e.importKind}function At(e){return G(e)&&97!==e}const wt={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};const Dt=/\*?\s*@((?:no)?flow)\b/;const Tt={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},Pt=v`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:e})=>`Expected corresponding JSX closing tag for <${e}>.`,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:({unexpected:e,HTMLEntity:t})=>`Unexpected token \`${e}\`. Did you mean \`${t}\` or \`{'${e}'}\`?`,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 St(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function kt(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return kt(e.object)+"."+kt(e.property);throw new Error("Node had unexpected type: "+e.type)}class Nt extends tt{constructor(...e){super(...e),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}}class Ft extends st{createScope(e){return new Nt(e)}declareName(e,t,s){const r=this.currentScope();if(t&De)return this.maybeExportDefined(r,e),void r.exportOnlyBindings.add(e);super.declareName(e,t,s),2&t&&(1&t||(this.checkRedeclarationInScope(r,e,t,s),this.maybeExportDefined(r,e)),r.types.add(e)),256&t&&r.enums.add(e),512&t&&r.constEnums.add(e),t&we&&r.classes.add(e)}isRedeclaredInScope(e,t,s){if(e.enums.has(t)){if(256&s){return!!(512&s)!==e.constEnums.has(t)}return!0}return s&we&&e.classes.has(t)?!!e.lexical.has(t)&&!!(1&s):!!(2&s&&e.types.has(t))||super.isRedeclaredInScope(e,t,s)}checkLocalExport(e){const t=this.scopeStack[0],{name:s}=e;t.types.has(s)||t.exportOnlyBindings.has(s)||super.checkLocalExport(e)}}function It(e){if(!e)throw new Error("Assert fail")}const _t=v`typescript`({AbstractMethodHasImplementation:({methodName:e})=>`Method '${e}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:e})=>`Property '${e}' 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.",CannotFindName:({name:e})=>`Cannot find name '${e}'.`,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:({kind:e})=>`'declare' is not allowed in ${e}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:e})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:e})=>`Duplicate modifier: '${e}'.`,EmptyHeritageClauseType:({token:e})=>`'${e}' 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'.",IncompatibleModifiers:({modifiers:e})=>`'${e[0]}' modifier cannot be used with '${e[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:e})=>`Index signatures cannot have an accessibility modifier ('${e}').`,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:({modifier:e})=>`'${e}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:e})=>`'${e}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:e})=>`'${e}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:e})=>`'${e[0]}' modifier must precede '${e[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:({modifier:e})=>`Private elements cannot have an accessibility modifier ('${e}').`,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:({typeParameterName:e})=>`Single type parameter ${e} should have a trailing comma. Example usage: <${e},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",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:({type:e})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e}.`});function Ot(e){return"private"===e||"public"===e||"protected"===e}function jt(e){return"in"===e||"out"===e}function Bt(e){if("MemberExpression"!==e.type)return!1;const{computed:t,property:s}=e;return(!t||"StringLiteral"===s.type||!("TemplateLiteral"!==s.type||s.expressions.length>0))&&Lt(e.object)}function Lt(e){return"Identifier"===e.type||"MemberExpression"===e.type&&(!e.computed&&Lt(e.object))}const Mt=v`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});function Rt(e,t){const[s,r]="string"==typeof t?[t,{}]:t,i=Object.keys(r),n=0===i.length;return e.some((e=>{if("string"==typeof e)return n&&e===s;{const[t,n]=e;if(t!==s)return!1;for(const e of i)if(n[e]!==r[e])return!1;return!0}}))}function Ut(e,t,s){const r=e.find((e=>Array.isArray(e)?e[0]===t:e===t));return r&&Array.isArray(r)&&r.length>1?r[1][s]:null}const qt=["minimal","fsharp","hack","smart"],zt=["^^","@@","^","%","#"],$t=["hash","bar"];const Ht={estree:e=>class extends e{parse(){const e=A(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(A)),e}parseRegExpLiteral({pattern:e,flags:t}){let s=null;try{s=new RegExp(e,t)}catch(e){}const r=this.estreeParseLiteral(s);return r.regex={pattern:e,flags:t},r}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const s=this.estreeParseLiteral(t);return s.bigint=String(s.value||e),s}parseDecimalLiteral(e){const 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){const t=e.value,s=this.startNodeAt(e.start,e.loc.start),r=this.startNodeAt(t.start,t.loc.start);return r.value=t.extra.expressionValue,r.raw=t.extra.raw,s.expression=this.finishNodeAt(r,"Literal",t.loc.end),s.directive=t.extra.raw.slice(1,-1),this.finishNodeAt(s,"ExpressionStatement",e.loc.end)}initFunction(e,t){super.initFunction(e,t),e.expression=!1}checkDeclaration(e){null!=e&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&!(null!=(t=e.expression.extra)&&t.parenthesized)}parseBlockBody(e,t,s,r,i){super.parseBlockBody(e,t,s,r,i);const n=e.directives.map((e=>this.directiveToStmt(e)));e.body=n.concat(e.body),delete e.directives}pushClassMethod(e,t,s,r,i,n){this.parseMethod(t,s,r,i,n,"ClassMethod",!0),t.typeParameters&&(t.value.typeParameters=t.typeParameters,delete t.typeParameters),e.body.push(t)}parsePrivateName(){const e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);return delete e.id,e.name=t,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?"PrivateIdentifier"===e.type:super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,t){const s=super.parseLiteral(e,t);return s.raw=s.extra.raw,delete s.extra,s}parseFunctionBody(e,t,s=!1){super.parseFunctionBody(e,t,s),e.expression="BlockStatement"!==e.body.type}parseMethod(e,t,s,r,i,n,a=!1){let o=this.startNode();return o.kind=e.kind,o=super.parseMethod(o,t,s,r,i,n,a),o.type="FunctionExpression",delete o.kind,e.value=o,"ClassPrivateMethod"===n&&(e.computed=!1),this.finishNode(e,"MethodDefinition")}parseClassProperty(...e){const t=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")?(t.type="PropertyDefinition",t):t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")?(t.type="PropertyDefinition",t.computed=!1,t):t}parseObjectMethod(e,t,s,r,i){const n=super.parseObjectMethod(e,t,s,r,i);return n&&(n.type="Property","method"===n.kind&&(n.kind="init"),n.shorthand=!1),n}parseObjectProperty(e,t,s,r,i){const n=super.parseObjectProperty(e,t,s,r,i);return n&&(n.kind="init",n.type="Property"),n}isValidLVal(e,t,s){return"Property"===e?"value":super.isValidLVal(e,t,s)}isAssignable(e,t){return null!=e&&this.isObjectProperty(e)?this.isAssignable(e.value,t):super.isAssignable(e,t)}toAssignable(e,t=!1){if(null!=e&&this.isObjectProperty(e)){const{key:s,value:r}=e;this.isPrivateName(s)&&this.classScope.usePrivateName(this.getPrivateNameSV(s),s.loc.start),this.toAssignable(r,t)}else super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,t,s){"get"===e.kind||"set"===e.kind?this.raise(b.PatternHasAccessor,{at:e.key}):e.method?this.raise(b.PatternHasMethod,{at:e.key}):super.toAssignableObjectExpressionProp(e,t,s)}finishCallExpression(e,t){const s=super.finishCallExpression(e,t);if("Import"===s.callee.type){var r;if(s.type="ImportExpression",s.source=s.arguments[0],this.hasPlugin("importAssertions"))s.attributes=null!=(r=s.arguments[1])?r:null;delete s.arguments,delete s.callee}return s}toReferencedArguments(e){"ImportExpression"!==e.type&&super.toReferencedArguments(e)}parseExport(e){const t=super.parseExport(e);switch(t.type){case"ExportAllDeclaration":t.exported=null;break;case"ExportNamedDeclaration":1===t.specifiers.length&&"ExportNamespaceSpecifier"===t.specifiers[0].type&&(t.type="ExportAllDeclaration",t.exported=t.specifiers[0].exported,delete t.specifiers)}return t}parseSubscript(e,t,s,r,i){const n=super.parseSubscript(e,t,s,r,i);if(i.optionalChainMember){if("OptionalMemberExpression"!==n.type&&"OptionalCallExpression"!==n.type||(n.type=n.type.substring(8)),i.stop){const e=this.startNodeAtNode(n);return e.expression=n,this.finishNode(e,"ChainExpression")}}else"MemberExpression"!==n.type&&"CallExpression"!==n.type||(n.optional=!1);return n}hasPropertyAsPrivateName(e){return"ChainExpression"===e.type&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return"ChainExpression"===e.type}isObjectProperty(e){return"Property"===e.type&&"init"===e.kind&&!e.method}isObjectMethod(e){return e.method||"get"===e.kind||"set"===e.kind}finishNodeAt(e,t,s){return A(super.finishNodeAt(e,t,s))}resetStartLocation(e,t,s){super.resetStartLocation(e,t,s),A(e)}resetEndLocation(e,t=this.state.lastTokEndLoc){super.resetEndLocation(e,t),A(e)}},jsx:e=>class extends e{jsxReadToken(){let e="",t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Pt.UnterminatedJsxContent,{at:this.state.startLoc});const s=this.input.charCodeAt(this.state.pos);switch(s){case 60:case 123:return this.state.pos===this.state.start?60===s&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(138)):super.getTokenFromCode(s):(e+=this.input.slice(t,this.state.pos),this.finishToken(137,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:je(s)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let s;return++this.state.pos,13===t&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,s=e?"\n":"\r\n"):s=String.fromCharCode(t),++this.state.curLine,this.state.lineStart=this.state.pos,s}jsxReadString(e){let t="",s=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(b.UnterminatedString,{at:this.state.startLoc});const r=this.input.charCodeAt(this.state.pos);if(r===e)break;38===r?(t+=this.input.slice(s,this.state.pos),t+=this.jsxReadEntity(),s=this.state.pos):je(r)?(t+=this.input.slice(s,this.state.pos),t+=this.jsxReadNewLine(!1),s=this.state.pos):++this.state.pos}return t+=this.input.slice(s,this.state.pos++),this.finishToken(129,t)}jsxReadEntity(){const e=++this.state.pos;if(35===this.codePointAtPos(this.state.pos)){++this.state.pos;let e=10;120===this.codePointAtPos(this.state.pos)&&(e=16,++this.state.pos);const t=this.readInt(e,void 0,!1,"bail");if(null!==t&&59===this.codePointAtPos(this.state.pos))return++this.state.pos,String.fromCodePoint(t)}else{let t=0,s=!1;for(;t++<10&&this.state.pos<this.length&&!(s=59==this.codePointAtPos(this.state.pos));)++this.state.pos;if(s){const t=this.input.slice(e,this.state.pos),s=Tt[t];if(++this.state.pos,s)return s}}return this.state.pos=e,"&"}jsxReadWord(){let e;const t=this.state.pos;do{e=this.input.charCodeAt(++this.state.pos)}while(le(e)||45===e);return this.finishToken(136,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){const e=this.startNode();return this.match(136)?e.name=this.state.value:K(this.state.type)?e.name=Q(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){const e=this.state.start,t=this.state.startLoc,s=this.jsxParseIdentifier();if(!this.eat(14))return s;const r=this.startNodeAt(e,t);return r.namespace=s,r.name=this.jsxParseIdentifier(),this.finishNode(r,"JSXNamespacedName")}jsxParseElementName(){const e=this.state.start,t=this.state.startLoc;let s=this.jsxParseNamespacedName();if("JSXNamespacedName"===s.type)return s;for(;this.eat(16);){const r=this.startNodeAt(e,t);r.object=s,r.property=this.jsxParseIdentifier(),s=this.finishNode(r,"JSXMemberExpression")}return s}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.setContext(D.brace),this.next(),e=this.jsxParseExpressionContainer(e,D.j_oTag),"JSXEmptyExpression"===e.expression.type&&this.raise(Pt.AttributeIsEmpty,{at:e}),e;case 138:case 129:return this.parseExprAtom();default:throw this.raise(Pt.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){const e=this.startNodeAt(this.state.lastTokEndLoc.index,this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.setContext(D.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e,t){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{const t=this.parseExpression();e.expression=t}return this.setContext(t),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){const e=this.startNode();return this.match(5)?(this.setContext(D.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(D.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,t){const s=this.startNodeAt(e,t);return this.eat(139)?this.finishNode(s,"JSXOpeningFragment"):(s.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(s))}jsxParseOpeningElementAfterName(e){const t=[];for(;!this.match(56)&&!this.match(139);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(56),this.expect(139),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e,t){const s=this.startNodeAt(e,t);return this.eat(139)?this.finishNode(s,"JSXClosingFragment"):(s.name=this.jsxParseElementName(),this.expect(139),this.finishNode(s,"JSXClosingElement"))}jsxParseElementAt(e,t){const s=this.startNodeAt(e,t),r=[],i=this.jsxParseOpeningElementAt(e,t);let n=null;if(!i.selfClosing){e:for(;;)switch(this.state.type){case 138:if(e=this.state.start,t=this.state.startLoc,this.next(),this.eat(56)){n=this.jsxParseClosingElementAt(e,t);break e}r.push(this.jsxParseElementAt(e,t));break;case 137:r.push(this.parseExprAtom());break;case 5:{const e=this.startNode();this.setContext(D.brace),this.next(),this.match(21)?r.push(this.jsxParseSpreadChild(e)):r.push(this.jsxParseExpressionContainer(e,D.j_expr));break}default:throw this.unexpected()}St(i)&&!St(n)&&null!==n?this.raise(Pt.MissingClosingTagFragment,{at:n}):!St(i)&&St(n)?this.raise(Pt.MissingClosingTagElement,{at:n,openingTagName:kt(i.name)}):St(i)||St(n)||kt(n.name)!==kt(i.name)&&this.raise(Pt.MissingClosingTagElement,{at:n,openingTagName:kt(i.name)})}if(St(i)?(s.openingFragment=i,s.closingFragment=n):(s.openingElement=i,s.closingElement=n),s.children=r,this.match(47))throw this.raise(Pt.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return St(i)?this.finishNode(s,"JSXFragment"):this.finishNode(s,"JSXElement")}jsxParseElement(){const e=this.state.start,t=this.state.startLoc;return this.next(),this.jsxParseElementAt(e,t)}setContext(e){const{context:t}=this.state;t[t.length-1]=e}parseExprAtom(e){return this.match(137)?this.parseLiteral(this.state.value,"JSXText"):this.match(138)?this.jsxParseElement():this.match(47)&&33!==this.input.charCodeAt(this.state.pos)?(this.replaceToken(138),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(e){const t=this.curContext();if(t===D.j_expr)return this.jsxReadToken();if(t===D.j_oTag||t===D.j_cTag){if(ue(e))return this.jsxReadWord();if(62===e)return++this.state.pos,this.finishToken(139);if((34===e||39===e)&&t===D.j_oTag)return this.jsxReadString(e)}return 60===e&&this.state.canStartJSXElement&&33!==this.input.charCodeAt(this.state.pos+1)?(++this.state.pos,this.finishToken(138)):super.getTokenFromCode(e)}updateContext(e){const{context:t,type:s}=this.state;if(56===s&&138===e)t.splice(-2,2,D.j_cTag),this.state.canStartJSXElement=!1;else if(138===s)t.push(D.j_oTag);else if(139===s){const s=t[t.length-1];s===D.j_oTag&&56===e||s===D.j_cTag?(t.pop(),this.state.canStartJSXElement=t[t.length-1]===D.j_expr):(this.setContext(D.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=function(e){return R[e]}(s)}},flow:e=>class extends e{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return it}shouldParseTypes(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){return 129!==e&&13!==e&&28!==e&&void 0===this.flowPragma&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(void 0===this.flowPragma){const t=Dt.exec(e.value);if(t)if("flow"===t[1])this.flowPragma="flow";else{if("noflow"!==t[1])throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}else;}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=!0,this.expect(e||14);const s=this.flowParseType();return this.state.inType=t,s}flowParsePredicate(){const e=this.startNode(),t=this.state.startLoc;return this.next(),this.expectContextual(107),this.state.lastTokStart>t.index+1&&this.raise(Et.UnexpectedSpaceBetweenModuloChecks,{at:t}),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=!0,this.expect(14);let t=null,s=null;return this.match(54)?(this.state.inType=e,s=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(54)&&(s=this.flowParsePredicate())),[t,s]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier(),s=this.startNode(),r=this.startNode();this.match(47)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,this.expect(10);const i=this.flowParseFunctionTypeParams();return s.params=i.params,s.rest=i.rest,s.this=i._this,this.expect(11),[s.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),r.typeAnnotation=this.finishNode(s,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(r,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,2048,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(123))return this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(Et.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(e));if(this.isContextual(126))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(127))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(125))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,t);throw this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(0),this.match(129)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();const t=e.body=this.startNode(),s=t.body=[];for(this.expect(5);!this.match(8);){let e=this.startNode();this.match(83)?(this.next(),this.isContextual(126)||this.match(87)||this.raise(Et.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),super.parseImport(e)):(this.expectContextual(121,Et.UnsupportedStatementInDeclareModule),e=this.flowParseDeclare(e,!0)),s.push(e)}this.scope.exit(),this.expect(8),this.finishNode(t,"BlockStatement");let r=null,i=!1;return s.forEach((e=>{!function(e){return"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type&&(!e.declaration||"TypeAlias"!==e.declaration.type&&"InterfaceDeclaration"!==e.declaration.type)}(e)?"DeclareModuleExports"===e.type&&(i&&this.raise(Et.DuplicateDeclareModuleExports,{at:e}),"ES"===r&&this.raise(Et.AmbiguousDeclareModuleKind,{at:e}),r="CommonJS",i=!0):("CommonJS"===r&&this.raise(Et.AmbiguousDeclareModuleKind,{at:e}),r="ES")})),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(126)||this.isContextual(125))&&!t){const e=this.state.value;throw this.raise(Et.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:e,suggestion:wt[e]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(127))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(125)||this.isContextual(126)||this.isContextual(127))return"ExportNamedDeclaration"===(e=this.parseExport(e)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;throw this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(108),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();const t=this.flowParseTypeAlias(e);return t.type="DeclareTypeAlias",t}flowParseDeclareOpaqueType(e){this.next();const t=this.flowParseOpaqueType(e,!0);return t.type="DeclareOpaqueType",t}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=!1){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?17:9,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(this.isContextual(114)){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12))}if(this.isContextual(110)){this.next();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(){const 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),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){"_"===e&&this.raise(Et.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(e,t,s){bt.has(e)&&this.raise(s?Et.AssignReservedType:Et.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,9,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(126),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,9,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(e=!1){const t=this.state.startLoc,s=this.startNode(),r=this.flowParseVariance(),i=this.flowParseTypeAnnotatableIdentifier();return s.name=i.name,s.variance=r,s.bound=i.typeAnnotation,this.match(29)?(this.eat(29),s.default=this.flowParseType()):e&&this.raise(Et.MissingTypeParamDefault,{at:t}),this.finishNode(s,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(47)||this.match(138)?this.next():this.unexpected();let s=!1;do{const e=this.flowParseTypeParameter(s);t.params.push(e),e.default&&(s=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode(),t=this.state.inType;e.params=[],this.state.inType=!0,this.expect(47);const s=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=s,this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const 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(){const e=this.startNode();if(this.expectContextual(125),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(130)||this.match(129)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,t,s){return e.static=t,14===this.lookahead().type?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=s,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.start,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){const s=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(s),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:s,allowProto:r,allowInexact:i}){const n=this.state.inType;this.state.inType=!0;const a=this.startNode();let o,c;a.callProperties=[],a.properties=[],a.indexers=[],a.internalSlots=[];let u=!1;for(t&&this.match(6)?(this.expect(6),o=9,c=!0):(this.expect(5),o=8,c=!1),a.exact=c;!this.match(o);){let t=!1,n=null,o=null;const l=this.startNode();if(r&&this.isContextual(115)){const t=this.lookahead();14!==t.type&&17!==t.type&&(this.next(),n=this.state.startLoc,e=!1)}if(e&&this.isContextual(104)){const e=this.lookahead();14!==e.type&&17!==e.type&&(this.next(),t=!0)}const p=this.flowParseVariance();if(this.eat(0))null!=n&&this.unexpected(n),this.eat(0)?(p&&this.unexpected(p.loc.start),a.internalSlots.push(this.flowParseObjectTypeInternalSlot(l,t))):a.indexers.push(this.flowParseObjectTypeIndexer(l,t,p));else if(this.match(10)||this.match(47))null!=n&&this.unexpected(n),p&&this.unexpected(p.loc.start),a.callProperties.push(this.flowParseObjectTypeCallProperty(l,t));else{let e="init";if(this.isContextual(98)||this.isContextual(103)){W(this.lookahead().type)&&(e=this.state.value,this.next())}const r=this.flowParseObjectTypeProperty(l,t,n,p,e,s,null!=i?i:!c);null===r?(u=!0,o=this.state.lastTokStartLoc):a.properties.push(r)}this.flowObjectTypeSemicolon(),!o||this.match(8)||this.match(9)||this.raise(Et.UnexpectedExplicitInexactInObject,{at:o})}this.expect(o),s&&(a.inexact=u);const l=this.finishNode(a,"ObjectTypeAnnotation");return this.state.inType=n,l}flowParseObjectTypeProperty(e,t,s,r,i,n,a){if(this.eat(21)){return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(n?a||this.raise(Et.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(Et.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),r&&this.raise(Et.InexactVariance,{at:r}),null):(n||this.raise(Et.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),null!=s&&this.unexpected(s),r&&this.raise(Et.SpreadVariance,{at:r}),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"))}{e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=s,e.kind=i;let a=!1;return this.match(47)||this.match(10)?(e.method=!0,null!=s&&this.unexpected(s),r&&this.unexpected(r.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start)),"get"!==i&&"set"!==i||this.flowCheckGetterSetterParams(e),!n&&"constructor"===e.key.name&&e.value.this&&this.raise(Et.ThisParamBannedInConstructor,{at:e.value.this})):("init"!==i&&this.unexpected(),e.method=!1,this.eat(17)&&(a=!0),e.value=this.flowParseTypeInitialiser(),e.variance=r),e.optional=a,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t="get"===e.kind?0:1,s=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise("get"===e.kind?Et.GetterMayNotHaveThisParam:Et.SetterMayNotHaveThisParam,{at:e.value.this}),s!==t&&this.raise("get"===e.kind?b.BadGetterArity:b.BadSetterArity,{at:e}),"set"===e.kind&&e.value.rest&&this.raise(b.BadSetterRestParameter,{at:e})}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(e,t,s){e=e||this.state.start,t=t||this.state.startLoc;let r=s||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const s=this.startNodeAt(e,t);s.qualification=r,s.id=this.flowParseRestrictedIdentifier(!0),r=this.finishNode(s,"QualifiedTypeIdentifier")}return r}flowParseGenericType(e,t,s){const r=this.startNodeAt(e,t);return r.typeParameters=null,r.id=this.flowParseQualifiedTypeIdentifier(e,t,s),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(r,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const 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,s=!1,r=null;const i=this.startNode(),n=this.lookahead(),a=78===this.state.type;return 14===n.type||17===n.type?(a&&!e&&this.raise(Et.ThisParamMustBeFirst,{at:i}),t=this.parseIdentifier(a),this.eat(17)&&(s=!0,a&&this.raise(Et.ThisParamMayNotBeOptional,{at:i})),r=this.flowParseTypeInitialiser()):r=this.flowParseType(),i.name=t,i.optional=s,i.typeAnnotation=r,this.finishNode(i,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){const t=this.startNodeAt(e.start,e.loc.start);return t.name=null,t.optional=!1,t.typeAnnotation=e,this.finishNode(t,"FunctionTypeParam")}flowParseFunctionTypeParams(e=[]){let t=null,s=null;for(this.match(78)&&(s=this.flowParseFunctionTypeParam(!0),s.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:s}}flowIdentToTypeAnnotation(e,t,s,r){switch(r.name){case"any":return this.finishNode(s,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(s,"BooleanTypeAnnotation");case"mixed":return this.finishNode(s,"MixedTypeAnnotation");case"empty":return this.finishNode(s,"EmptyTypeAnnotation");case"number":return this.finishNode(s,"NumberTypeAnnotation");case"string":return this.finishNode(s,"StringTypeAnnotation");case"symbol":return this.finishNode(s,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(r.name),this.flowParseGenericType(e,t,r)}}flowParsePrimaryType(){const e=this.state.start,t=this.state.startLoc,s=this.startNode();let r,i,n=!1;const 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,i=this.flowParseTupleType(),this.state.noAnonFunctionType=a,i;case 47:return s.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),r=this.flowParseFunctionTypeParams(),s.params=r.params,s.rest=r.rest,s.this=r._this,this.expect(11),this.expect(19),s.returnType=this.flowParseType(),this.finishNode(s,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(V(this.state.type)||this.match(78)){const e=this.lookahead().type;n=17!==e&&14!==e}else n=!0;if(n){if(this.state.noAnonFunctionType=!1,i=this.flowParseType(),this.state.noAnonFunctionType=a,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),i;this.eat(12)}return r=i?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(i)]):this.flowParseFunctionTypeParams(),s.params=r.params,s.rest=r.rest,s.this=r._this,this.expect(11),this.expect(19),s.returnType=this.flowParseType(),s.typeParameters=null,this.finishNode(s,"FunctionTypeAnnotation");case 129:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return s.value=this.match(85),this.next(),this.finishNode(s,"BooleanLiteralTypeAnnotation");case 53:if("-"===this.state.value){if(this.next(),this.match(130))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",s);if(this.match(131))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",s);throw this.raise(Et.UnexpectedSubtractionOperand,{at:this.state.startLoc})}throw this.unexpected();case 130:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(s,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(s,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(s,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(s,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(K(this.state.type)){const e=Q(this.state.type);return this.next(),super.createIdentifier(s,e)}if(V(this.state.type))return this.isContextual(125)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,t,s,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){const e=this.state.start,t=this.state.startLoc;let s=this.flowParsePrimaryType(),r=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const i=this.startNodeAt(e,t),n=this.eat(18);r=r||n,this.expect(0),!n&&this.match(3)?(i.elementType=s,this.next(),s=this.finishNode(i,"ArrayTypeAnnotation")):(i.objectType=s,i.indexType=this.flowParseType(),this.expect(3),r?(i.optional=n,s=this.finishNode(i,"OptionalIndexedAccessType")):s=this.finishNode(i,"IndexedAccessType"))}return s}flowParsePrefixType(){const e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const t=this.startNodeAt(e.start,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(){const e=this.startNode();this.eat(45);const t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return 1===e.types.length?t:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){const e=this.startNode();this.eat(43);const t=this.flowParseIntersectionType();for(e.types=[t];this.eat(43);)e.types.push(this.flowParseIntersectionType());return 1===e.types.length?t:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){const e=this.state.inType;this.state.inType=!0;const t=this.flowParseUnionType();return this.state.inType=e,t}flowParseTypeOrImplicitInstantiation(){if(128===this.state.type&&"_"===this.state.value){const e=this.state.start,t=this.state.startLoc,s=this.parseIdentifier();return this.flowParseGenericType(e,t,s)}return this.flowParseType()}flowParseTypeAnnotation(){const e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){const 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,s=!1){return t?this.forwardNoArrowParamsConversionAt(e,(()=>super.parseFunctionBody(e,!0,s))):super.parseFunctionBody(e,!1,s)}parseFunctionBodyAndFinish(e,t,s=!1){if(this.match(14)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,t,s)}parseStatement(e,t){if(this.state.strict&&this.isContextual(125)){if(G(this.lookahead().type)){const e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(122)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}const s=super.parseStatement(e,t);return void 0!==this.flowPragma||this.isValidDirective(s)||(this.flowPragma=null),s}parseExpressionStatement(e,t){if("Identifier"===t.type)if("declare"===t.name){if(this.match(80)||V(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(V(this.state.type)){if("interface"===t.name)return this.flowParseInterface(e);if("type"===t.name)return this.flowParseTypeAlias(e);if("opaque"===t.name)return this.flowParseOpaqueType(e,!1)}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){const{type:e}=this.state;return X(e)||this.shouldParseEnums()&&122===e?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;return X(e)||this.shouldParseEnums()&&122===e?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(122)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,s,r){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){const t=this.lookaheadCharCode();if(44===t||61===t||58===t||41===t)return this.setOptionalParametersError(r),e}this.expect(17);const i=this.state.clone(),n=this.state.noArrowAt,a=this.startNodeAt(t,s);let{consequent:o,failed:c}=this.tryParseConditionalConsequent(),[u,l]=this.getArrowLikeExpressions(o);if(c||l.length>0){const e=[...n];if(l.length>0){this.state=i,this.state.noArrowAt=e;for(let t=0;t<l.length;t++)e.push(l[t].start);({consequent:o,failed:c}=this.tryParseConditionalConsequent()),[u,l]=this.getArrowLikeExpressions(o)}c&&u.length>1&&this.raise(Et.AmbiguousConditionalArrow,{at:i.startLoc}),c&&1===u.length&&(this.state=i,e.push(u[0].start),this.state.noArrowAt=e,({consequent:o,failed:c}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(o,!0),this.state.noArrowAt=n,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);const e=this.parseMaybeAssignAllowIn(),t=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const s=[e],r=[];for(;0!==s.length;){const e=s.pop();"ArrowFunctionExpression"===e.type?(e.typeParameters||!e.returnType?this.finishArrowValidation(e):r.push(e),s.push(e.body)):"ConditionalExpression"===e.type&&(s.push(e.consequent),s.push(e.alternate))}return t?(r.forEach((e=>this.finishArrowValidation(e))),[r,[]]):function(e,t){const s=[],r=[];for(let i=0;i<e.length;i++)(t(e[i],i,e)?s:r).push(e[i]);return[s,r]}(r,(e=>e.params.every((e=>this.isAssignable(e,!0)))))}finishArrowValidation(e){var t;this.toAssignableList(e.params,null==(t=e.extra)?void 0:t.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let s;return-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),s=t(),this.state.noArrowParamsConversionAt.pop()):s=t(),s}parseParenItem(e,t,s){if(e=super.parseParenItem(e,t,s),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){const r=this.startNodeAt(t,s);return r.expression=e,r.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(r,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){"ImportDeclaration"===e.type&&("type"===e.importKind||"typeof"===e.importKind)||"ExportNamedDeclaration"===e.type&&"type"===e.exportKind||"ExportAllDeclaration"===e.type&&"type"===e.exportKind||super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);return"ExportNamedDeclaration"!==t.type&&"ExportAllDeclaration"!==t.type||(t.exportKind=t.exportKind||"value"),t}parseExportDeclaration(e){if(this.isContextual(126)){e.exportKind="type";const t=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(t)}if(this.isContextual(127)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}if(this.isContextual(125)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseInterface(t)}if(this.shouldParseEnums()&&this.isContextual(122)){e.exportKind="value";const t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDeclaration(e)}eatExportStar(e){return!!super.eatExportStar(e)||!(!this.isContextual(126)||55!==this.lookahead().type)&&(e.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(e){const{startLoc:t}=this.state,s=super.maybeParseExportNamespaceSpecifier(e);return s&&"type"===e.exportKind&&this.unexpected(t),s}parseClassId(e,t,s){super.parseClassId(e,t,s),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,t,s){const{startLoc:r}=this.state;if(this.isContextual(121)){if(super.parseClassMemberFromModifier(e,t))return;t.declare=!0}super.parseClassMember(e,t,s),t.declare&&("ClassProperty"!==t.type&&"ClassPrivateProperty"!==t.type&&"PropertyDefinition"!==t.type?this.raise(Et.DeclareClassElement,{at:r}):t.value&&this.raise(Et.DeclareClassFieldInitializer,{at:t.value}))}isIterator(e){return"iterator"===e||"asyncIterator"===e}readIterator(){const e=super.readWord1(),t="@@"+e;this.isIterator(e)&&this.state.inType||this.raise(b.InvalidIdentifier,{at:this.state.curPosition(),identifierName:t}),this.finishToken(128,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);return 123===e&&124===t?this.finishOp(6,2):!this.state.inType||62!==e&&60!==e?this.state.inType&&63===e?46===t?this.finishOp(18,2):this.finishOp(17,1):function(e,t,s){return 64===e&&64===t&&ue(s)}(e,t,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e):this.finishOp(62===e?48:47,1)}isAssignable(e,t){return"TypeCastExpression"===e.type?this.isAssignable(e.expression,t):super.isAssignable(e,t)}toAssignable(e,t=!1){t||"AssignmentExpression"!==e.type||"TypeCastExpression"!==e.left.type||(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,t)}toAssignableList(e,t,s){for(let t=0;t<e.length;t++){const s=e[t];"TypeCastExpression"===(null==s?void 0:s.type)&&(e[t]=this.typeCastToParameter(s))}super.toAssignableList(e,t,s)}toReferencedList(e,t){for(let r=0;r<e.length;r++){var s;const i=e[r];!i||"TypeCastExpression"!==i.type||null!=(s=i.extra)&&s.parenthesized||!(e.length>1)&&t||this.raise(Et.TypeCastInPattern,{at:i.typeAnnotation})}return e}parseArrayLike(e,t,s,r){const i=super.parseArrayLike(e,t,s,r);return t&&!this.state.maybeInArrowParameters&&this.toReferencedList(i.elements),i}isValidLVal(e,t,s){return"TypeCastExpression"===e||super.isValidLVal(e,t,s)}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,s,r,i,n){if(t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,t,s,r,i,n),t.params&&i){const e=t.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Et.ThisParamBannedInConstructor,{at:t})}else if("MethodDefinition"===t.type&&i&&t.value.params){const e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Et.ThisParamBannedInConstructor,{at:t})}}pushClassPrivateMethod(e,t,s,r){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,s,r)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(47)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(110)){this.next();const t=e.implements=[];do{const 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);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const s=t[0];this.isThisParam(s)&&"get"===e.kind?this.raise(Et.GetterMayNotHaveThisParam,{at:s}):this.isThisParam(s)&&this.raise(Et.SetterMayNotHaveThisParam,{at:s})}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,s,r,i,n,a,o){let c;e.variance&&this.unexpected(e.variance.loc.start),delete e.variance,this.match(47)&&!a&&(c=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const u=super.parseObjPropValue(e,t,s,r,i,n,a,o);return c&&((u.value||u).typeParameters=c),u}parseAssignableListItemTypes(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(Et.PatternIsOptional,{at:e}),this.isThisParam(e)&&this.raise(Et.ThisParamMayNotBeOptional,{at:e}),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(Et.ThisParamAnnotationRequired,{at:e}),this.match(29)&&this.isThisParam(e)&&this.raise(Et.ThisParamNoDefault,{at:e}),this.resetEndLocation(e),e}parseMaybeDefault(e,t,s){const r=super.parseMaybeDefault(e,t,s);return"AssignmentPattern"===r.type&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start&&this.raise(Et.TypeBeforeInitializer,{at:r.typeAnnotation}),r}shouldParseDefaultImport(e){return Ct(e)?At(this.state.type):super.shouldParseDefaultImport(e)}parseImportSpecifierLocal(e,t,s){t.local=Ct(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,s))}maybeParseDefaultImportSpecifier(e){e.importKind="value";let t=null;if(this.match(87)?t="typeof":this.isContextual(126)&&(t="type"),t){const s=this.lookahead(),{type:r}=s;"type"===t&&55===r&&this.unexpected(null,s.type),(At(r)||5===r||55===r)&&(this.next(),e.importKind=t)}return super.maybeParseDefaultImportSpecifier(e)}parseImportSpecifier(e,t,s,r){const i=e.imported;let n=null;"Identifier"===i.type&&("type"===i.name?n="type":"typeof"===i.name&&(n="typeof"));let a=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){const t=this.parseIdentifier(!0);null===n||G(this.state.type)?(e.imported=i,e.importKind=null,e.local=this.parseIdentifier()):(e.imported=t,e.importKind=n,e.local=gt(t))}else{if(null!==n&&G(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=n;else{if(t)throw this.raise(b.ImportBindingIsString,{at:e,importName:i.value});e.imported=i,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():(a=!0,e.local=gt(e.imported))}const o=Ct(e);return s&&o&&this.raise(Et.ImportTypeShorthandOnlyInPureImport,{at:e}),(s||o)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),!a||s||o||this.checkReservedWord(e.local.name,e.loc.start,!0,!0),this.finishImportSpecifier(e,"ImportSpecifier")}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(e,t){const s=e.kind;"get"!==s&&"set"!==s&&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)){const 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 s;let r,i=null;if(this.hasPlugin("jsx")&&(this.match(138)||this.match(47))){if(i=this.state.clone(),r=this.tryParse((()=>super.parseMaybeAssign(e,t)),i),!r.error)return r.node;const{context:s}=this.state,n=s[s.length-1];n!==D.j_oTag&&n!==D.j_expr||s.pop()}if(null!=(s=r)&&s.error||this.match(47)){var n,a;let s;i=i||this.state.clone();const o=this.tryParse((r=>{var i;s=this.flowParseTypeParameterDeclaration();const n=this.forwardNoArrowParamsConversionAt(s,(()=>{const r=super.parseMaybeAssign(e,t);return this.resetStartLocationFromNode(r,s),r}));null!=(i=n.extra)&&i.parenthesized&&r();const a=this.maybeUnwrapTypeCastExpression(n);return"ArrowFunctionExpression"!==a.type&&r(),a.typeParameters=s,this.resetStartLocationFromNode(a,s),n}),i);let c=null;if(o.node&&"ArrowFunctionExpression"===this.maybeUnwrapTypeCastExpression(o.node).type){if(!o.error&&!o.aborted)return o.node.async&&this.raise(Et.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:s}),o.node;c=o.node}if(null!=(n=r)&&n.node)return this.state=r.failState,r.node;if(c)return this.state=o.failState,c;if(null!=(a=r)&&a.thrown)throw r.error;if(o.thrown)throw o.error;throw this.raise(Et.UnexpectedTokenAfterTypeParameter,{at:s})}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){const t=this.tryParse((()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const s=this.startNode();return[s.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=t,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),s}));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){-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?e.params=t:super.setArrowFunctionParameters(e,t)}checkParams(e,t,s,r=!0){if(!s||-1===this.state.noArrowParamsConversionAt.indexOf(e.start)){for(let t=0;t<e.params.length;t++)this.isThisParam(e.params[t])&&t>0&&this.raise(Et.ThisParamMustBeFirst,{at:e.params[t]});return super.checkParams(e,t,s,r)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&-1===this.state.noArrowAt.indexOf(this.state.start))}parseSubscripts(e,t,s,r){if("Identifier"===e.type&&"async"===e.name&&-1!==this.state.noArrowAt.indexOf(t)){this.next();const r=this.startNodeAt(t,s);r.callee=e,r.arguments=super.parseCallExpressionArguments(11,!1),e=this.finishNode(r,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.match(47)){const i=this.state.clone(),n=this.tryParse((e=>this.parseAsyncArrowWithTypeParameters(t,s)||e()),i);if(!n.error&&!n.aborted)return n.node;const a=this.tryParse((()=>super.parseSubscripts(e,t,s,r)),i);if(a.node&&!a.error)return a.node;if(n.node)return this.state=n.failState,n.node;if(a.node)return this.state=a.failState,a.node;throw n.error||a.error}return super.parseSubscripts(e,t,s,r)}parseSubscript(e,t,s,r,i){if(this.match(18)&&this.isLookaheadToken_lt()){if(i.optionalChainMember=!0,r)return i.stop=!0,e;this.next();const n=this.startNodeAt(t,s);return n.callee=e,n.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),n.arguments=this.parseCallExpressionArguments(11,!1),n.optional=!0,this.finishCallExpression(n,!0)}if(!r&&this.shouldParseTypes()&&this.match(47)){const r=this.startNodeAt(t,s);r.callee=e;const n=this.tryParse((()=>(r.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),r.arguments=super.parseCallExpressionArguments(11,!1),i.optionalChainMember&&(r.optional=!1),this.finishCallExpression(r,i.optionalChainMember))));if(n.node)return n.error&&(this.state=n.failState),n.node}return super.parseSubscript(e,t,s,r,i)}parseNewCallee(e){super.parseNewCallee(e);let t=null;this.shouldParseTypes()&&this.match(47)&&(t=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node),e.typeArguments=t}parseAsyncArrowWithTypeParameters(e,t){const s=this.startNodeAt(e,t);if(this.parseFunctionParams(s),this.parseArrow(s))return super.parseArrowExpression(s,void 0,!0)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(42===e&&47===t&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);124!==e||125!==t?super.readToken_pipe_amp(e):this.finishOp(9,2)}parseTopLevel(e,t){const s=super.parseTopLevel(e,t);return this.state.hasFlowComment&&this.raise(Et.UnterminatedFlowComment,{at:this.state.curPosition()}),s}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(Et.NestedFlowComment,{at:this.state.startLoc});this.hasFlowCommentCompletion();const e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0)}else{if(!this.state.hasFlowComment)return super.skipBlockComment();{const e=this.input.indexOf("*-/",this.state.pos+2);if(-1===e)throw this.raise(b.UnterminatedComment,{at:this.state.curPosition()});this.state.pos=e+2+3}}}skipFlowComment(){const{pos:e}=this.state;let t=2;for(;[32,9].includes(this.input.charCodeAt(e+t));)t++;const s=this.input.charCodeAt(t+e),r=this.input.charCodeAt(t+e+1);return 58===s&&58===r?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===s&&58!==r&&t}hasFlowCommentCompletion(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(b.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(Et.EnumBooleanMemberNotInitialized,{at:e,memberName:s,enumName:t})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(t.explicitType?"symbol"===t.explicitType?Et.EnumInvalidMemberInitializerSymbolType:Et.EnumInvalidMemberInitializerPrimaryType:Et.EnumInvalidMemberInitializerUnknownType,Object.assign({at:e},t))}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(Et.EnumNumberMemberNotInitialized,{at:e,enumName:t,memberName:s})}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(Et.EnumStringMemberInconsistentlyInitailized,{at:e,enumName:t})}flowEnumMemberInit(){const e=this.state.startLoc,t=()=>this.match(12)||this.match(8);switch(this.state.type){case 130:{const s=this.parseNumericLiteral(this.state.value);return t()?{type:"number",loc:s.loc.start,value:s}:{type:"invalid",loc:e}}case 129:{const s=this.parseStringLiteral(this.state.value);return t()?{type:"string",loc:s.loc.start,value:s}:{type:"invalid",loc:e}}case 85:case 86:{const s=this.parseBooleanLiteral(this.match(85));return t()?{type:"boolean",loc:s.loc.start,value:s}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){const e=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e}}}flowEnumCheckExplicitTypeMismatch(e,t,s){const{explicitType:r}=t;null!==r&&r!==s&&this.flowEnumErrorInvalidMemberInitializer(e,t)}flowEnumMembers({enumName:e,explicitType:t}){const s=new Set,r={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let i=!1;for(;!this.match(8);){if(this.eat(21)){i=!0;break}const n=this.startNode(),{id:a,init:o}=this.flowEnumMemberRaw(),c=a.name;if(""===c)continue;/^[a-z]/.test(c)&&this.raise(Et.EnumInvalidMemberName,{at:a,memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:e}),s.has(c)&&this.raise(Et.EnumDuplicateMemberName,{at:a,memberName:c,enumName:e}),s.add(c);const u={enumName:e,explicitType:t,memberName:c};switch(n.id=a,o.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(o.loc,u,"boolean"),n.init=o.value,r.booleanMembers.push(this.finishNode(n,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(o.loc,u,"number"),n.init=o.value,r.numberMembers.push(this.finishNode(n,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(o.loc,u,"string"),n.init=o.value,r.stringMembers.push(this.finishNode(n,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(o.loc,u);case"none":switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.loc,u);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.loc,u);break;default:r.defaultedMembers.push(this.finishNode(n,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:r,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:s}){if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){for(const t of e)this.flowEnumErrorStringMemberInconsistentlyInitailized(t,{enumName:s});return t}for(const e of t)this.flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:s});return e}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(101))return null;if(!V(this.state.type))throw this.raise(Et.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:e});const{value:t}=this.state;return this.next(),"boolean"!==t&&"number"!==t&&"string"!==t&&"symbol"!==t&&this.raise(Et.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:e,invalidEnumType:t}),t}flowEnumBody(e,t){const s=t.name,r=t.loc.start,i=this.flowEnumParseExplicitType({enumName:s});this.expect(5);const{members:n,hasUnknownMembers:a}=this.flowEnumMembers({enumName:s,explicitType:i});switch(e.hasUnknownMembers=a,i){case"boolean":return e.explicitType=!0,e.members=n.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=n.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(n.stringMembers,n.defaultedMembers,{enumName:s}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=n.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{const t=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;const i=n.booleanMembers.length,a=n.numberMembers.length,o=n.stringMembers.length,c=n.defaultedMembers.length;if(i||a||o||c){if(i||a){if(!a&&!o&&i>=c){for(const e of n.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(e.loc.start,{enumName:s,memberName:e.id.name});return e.members=n.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}if(!i&&!o&&a>=c){for(const e of n.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(e.loc.start,{enumName:s,memberName:e.id.name});return e.members=n.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}return this.raise(Et.EnumInconsistentMemberValues,{at:r,enumName:s}),t()}return e.members=this.flowEnumStringMembers(n.stringMembers,n.defaultedMembers,{enumName:s}),this.expect(8),this.finishNode(e,"EnumStringBody")}return t()}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),t),this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(60===this.input.charCodeAt(e)){const t=this.input.charCodeAt(e+1);return 60!==t&&61!==t}return!1}maybeUnwrapTypeCastExpression(e){return"TypeCastExpression"===e.type?e.expression:e}},typescript:e=>class extends e{getScopeHandler(){return Ft}tsIsIdentifier(){return V(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(134)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!V(this.state.type)&&58!==this.state.type)return;const s=this.state.value;if(-1!==e.indexOf(s)){if(t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return s}}tsParseModifiers({modified:e,allowedModifiers:t,disallowedModifiers:s,stopOnStartOfClassStaticBlock:r,errorTemplate:i=_t.InvalidModifierOnTypeMember}){const n=(t,s,r,i)=>{s===r&&e[i]&&this.raise(_t.InvalidModifiersOrder,{at:t,orderedModifiers:[r,i]})},a=(t,s,r,i)=>{(e[r]&&s===i||e[i]&&s===r)&&this.raise(_t.IncompatibleModifiers,{at:t,modifiers:[r,i]})};for(;;){const{startLoc:o}=this.state,c=this.tsParseModifier(t.concat(null!=s?s:[]),r);if(!c)break;Ot(c)?e.accessibility?this.raise(_t.DuplicateAccessibilityModifier,{at:o,modifier:c}):(n(o,c,c,"override"),n(o,c,c,"static"),n(o,c,c,"readonly"),e.accessibility=c):jt(c)?(e[c]&&this.raise(_t.DuplicateModifier,{at:o,modifier:c}),e[c]=!0,n(o,c,"in","out")):(Object.hasOwnProperty.call(e,c)?this.raise(_t.DuplicateModifier,{at:o,modifier:c}):(n(o,c,"static","readonly"),n(o,c,"static","override"),n(o,c,"override","readonly"),n(o,c,"abstract","override"),a(o,c,"declare","override"),a(o,c,"static","abstract")),e[c]=!0),null!=s&&s.includes(c)&&this.raise(i,{at:o,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)}throw new Error("Unreachable")}tsParseList(e,t){const s=[];for(;!this.tsIsListTerminator(e);)s.push(t());return s}tsParseDelimitedList(e,t,s){return function(e){if(null==e)throw new Error(`Unexpected ${e} value.`);return e}(this.tsParseDelimitedListWorker(e,t,!0,s))}tsParseDelimitedListWorker(e,t,s,r){const i=[];let n=-1;for(;!this.tsIsListTerminator(e);){n=-1;const r=t();if(null==r)return;if(i.push(r),!this.eat(12)){if(this.tsIsListTerminator(e))break;return void(s&&this.expect(12))}n=this.state.lastTokStart}return r&&(r.value=n),i}tsParseBracketedList(e,t,s,r,i){r||(s?this.expect(0):this.expect(47));const n=this.tsParseDelimitedList(e,t,i);return s?this.expect(3):this.expect(48),n}tsParseImportType(){const e=this.startNode();return this.expect(83),this.expect(10),this.match(129)||this.raise(_t.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(e=!0){let t=this.parseIdentifier(e);for(;this.eat(16);){const s=this.startNodeAtNode(t);s.left=t,s.right=this.parseIdentifier(e),t=this.finishNode(s,"TSQualifiedName")}return t}tsParseTypeReference(){const 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();const t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),t.asserts=!1,this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const 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")}tsParseInOutModifiers(e){this.tsParseModifiers({modified:e,allowedModifiers:["in","out"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:_t.InvalidModifierOnTypeParameter})}tsParseNoneModifiers(e){this.tsParseModifiers({modified:e,allowedModifiers:[],disallowedModifiers:["in","out"],errorTemplate:_t.InvalidModifierOnTypeParameterPositions})}tsParseTypeParameter(e=this.tsParseNoneModifiers.bind(this)){const 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){const t=this.startNode();this.match(47)||this.match(138)?this.next():this.unexpected();const s={value:-1};return t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,s),0===t.params.length&&this.raise(_t.EmptyTypeParameters,{at:t}),-1!==s.value&&this.addExtra(t,"trailingComma",s.value),this.finishNode(t,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(75!==this.lookahead().type)return null;this.next();const e=this.tsParseTypeReference();return e.typeParameters&&this.raise(_t.CannotFindName,{at:e.typeName,name:"const"}),e}tsFillSignature(e,t){const s=19===e,r="typeAnnotation";t.typeParameters=this.tsTryParseTypeParameters(),this.expect(10),t.parameters=this.tsParseBindingListForSignature(),(s||this.match(e))&&(t[r]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){return super.parseBindingList(11,41).map((e=>("Identifier"!==e.type&&"RestElement"!==e.type&&"ObjectPattern"!==e.type&&"ArrayPattern"!==e.type&&this.raise(_t.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(),!!V(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(e){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(3),e.parameters=[t];const s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){this.eat(17)&&(e.optional=!0);const s=e;if(this.match(10)||this.match(47)){t&&this.raise(_t.ReadonlyForMethodSignature,{at:e});const r=s;r.kind&&this.match(47)&&this.raise(_t.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,r),this.tsParseTypeMemberSemicolon();const i="parameters",n="typeAnnotation";if("get"===r.kind)r[i].length>0&&(this.raise(b.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(r[i][0])&&this.raise(_t.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if("set"===r.kind){if(1!==r[i].length)this.raise(b.BadSetterArity,{at:this.state.curPosition()});else{const e=r[i][0];this.isThisParam(e)&&this.raise(_t.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),"Identifier"===e.type&&e.optional&&this.raise(_t.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),"RestElement"===e.type&&this.raise(_t.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}r[n]&&this.raise(_t.SetAccesorCannotHaveReturnType,{at:r[n]})}else r.kind="method";return this.finishNode(r,"TSMethodSignature")}{const e=s;t&&(e.readonly=!0);const r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){const 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))}this.tsParseModifiers({modified:e,allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]});const t=this.tsTryParseIndexSignature(e);return t||(super.parsePropertyName(e),e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||!this.tsTokenCanFollowModifier()||(e.kind=e.key.name,super.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){const e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(118):(this.isContextual(118)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(58))))}tsParseMappedTypeParameter(){const e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(58),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();return this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(118)):this.eatContextual(118)&&(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(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let t=!1,s=null;return e.elementTypes.forEach((e=>{const{type:r}=e;!t||"TSRestType"===r||"TSOptionalType"===r||"TSNamedTupleMember"===r&&e.optional||this.raise(_t.OptionalTypeBeforeRequired,{at:e}),t||(t="TSNamedTupleMember"===r&&e.optional||"TSOptionalType"===r);let i=r;"TSRestType"===r&&(i=(e=e.typeAnnotation).type);const n="TSNamedTupleMember"===i;null!=s||(s=n),s!==n&&this.raise(_t.MixedLabeledAndUnlabeledElements,{at:e})})),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state,s=this.eat(21);let r=this.tsParseType();const i=this.eat(17);if(this.eat(14)){const e=this.startNodeAtNode(r);e.optional=i,"TSTypeReference"!==r.type||r.typeParameters||"Identifier"!==r.typeName.type?(this.raise(_t.InvalidTupleMemberLabel,{at:r}),e.label=r):e.label=r.typeName,e.elementType=this.tsParseType(),r=this.finishNode(e,"TSNamedTupleMember")}else if(i){const e=this.startNodeAtNode(r);e.typeAnnotation=r,r=this.finishNode(e,"TSOptionalType")}if(s){const s=this.startNodeAt(e,t);s.typeAnnotation=r,r=this.finishNode(s,"TSRestType")}return r}tsParseParenthesizedType(){const e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const s=this.startNode();return"TSConstructorType"===e&&(s.abstract=!!t,t&&this.next(),this.next()),this.tsInAllowConditionalTypesContext((()=>this.tsFillSignature(19,s))),this.finishNode(s,e)}tsParseLiteralTypeNode(){const e=this.startNode();return e.literal=(()=>{switch(this.state.type){case 130:case 131:case 129:case 85:case 86:return super.parseExprAtom();default:throw this.unexpected()}})(),this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();return this.isContextual(113)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 129:case 130:case 131:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if("-"===this.state.value){const e=this.startNode(),t=this.lookahead();if(130!==t.type&&131!==t.type)throw this.unexpected();return 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:{const{type:e}=this.state;if(V(e)||88===e||84===e){const t=88===e?"TSVoidKeyword":84===e?"TSNullKeyword":function(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}}(this.state.value);if(void 0!==t&&46!==this.lookaheadCharCode()){const e=this.startNode();return this.next(),this.finishNode(e,t)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const t=this.startNodeAtNode(e);t.elementType=e,this.expect(3),e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e,t.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(t,"TSIndexedAccessType")}return e}tsParseTypeOperator(){const e=this.startNode(),t=this.state.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(_t.UnexpectedReadonly,{at:e})}}tsParseInferType(){const e=this.startNode();this.expectContextual(112);const 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)){const e=this.tsInDisallowConditionalTypesContext((()=>this.tsParseType()));if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){const e=function(e){return e>=117&&e<=119}(this.state.type)&&!this.state.containsEsc;return e?this.tsParseTypeOperator():this.isContextual(112)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((()=>this.tsParseArrayTypeOrHigher()))}tsParseUnionOrIntersectionType(e,t,s){const r=this.startNode(),i=this.eat(s),n=[];do{n.push(t())}while(this.eat(s));return 1!==n.length||i?(r.types=n,this.finishNode(r,e)):n[0]}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)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(V(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){const{errors:e}=this.state,t=e.length;try{return this.parseObjectLike(8,!0),e.length===t}catch(e){return!1}}if(this.match(0)){this.next();const{errors:e}=this.state,t=e.length;try{return super.parseBindingList(3,93,!0),e.length===t}catch(e){return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){if(this.next(),this.match(11)||this.match(21))return!0;if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(29))return!0;if(this.match(11)&&(this.next(),this.match(19)))return!0}return!1}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType((()=>{const t=this.startNode();this.expect(e);const s=this.startNode(),r=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(r&&this.match(78)){let e=this.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===e.type?(s.parameterName=e,s.asserts=!0,s.typeAnnotation=null,e=this.finishNode(s,"TSTypePredicate")):(this.resetStartLocationFromNode(e,s),e.asserts=!0),t.typeAnnotation=e,this.finishNode(t,"TSTypeAnnotation")}const i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i)return r?(s.parameterName=this.parseIdentifier(),s.asserts=r,s.typeAnnotation=null,t.typeAnnotation=this.finishNode(s,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,t);const n=this.tsParseTypeAnnotation(!1);return s.parameterName=i,s.typeAnnotation=n,s.asserts=r,t.typeAnnotation=this.finishNode(s,"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(){const e=this.parseIdentifier();if(this.isContextual(113)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(106!==this.state.type)return!1;const e=this.state.containsEsc;return this.next(),!(!V(this.state.type)&&!this.match(78))&&(e&&this.raise(b.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(e=!0,t=this.startNode()){return this.tsInType((()=>{e&&this.expect(14),t.typeAnnotation=this.tsParseType()})),this.finishNode(t,"TSTypeAnnotation")}tsParseType(){It(this.state.inType);const e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;const 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(120)&&77===this.lookahead().type}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(_t.ReservedTypeAssertion,{at:this.state.startLoc});const e=this.startNode(),t=this.tsTryNextParseConstantContext();return e.typeAnnotation=t||this.tsNextThenParseType(),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.startLoc,s=this.tsParseDelimitedList("HeritageClauseElement",(()=>{const e=this.startNode();return e.expression=this.tsParseEntityName(),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")}));return s.length||this.raise(_t.EmptyHeritageClauseType,{at:t,token:e}),s}tsParseInterfaceDeclaration(e,t={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(125),t.declare&&(e.declare=!0),V(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(_t.MissingInterfaceName,{at:this.state.startLoc})),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));const s=this.startNode();return s.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(s,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,2),e.typeAnnotation=this.tsInType((()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.expect(29),this.isContextual(111)&&16!==this.lookahead().type){const e=this.startNode();return this.next(),this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()})),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}}tsInDisallowConditionalTypesContext(e){const t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsInAllowConditionalTypesContext(e){const 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(){const e=this.startNode();return e.id=this.match(129)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t={}){return t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual(122),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?779:267),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=!1){if(e.id=this.parseIdentifier(),t||this.checkIdentifier(e.id,1024),this.eat(16)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}else this.scope.enter(Ce),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(109)?(e.global=!0,e.id=this.parseIdentifier()):this.match(129)?e.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(Ce),this.prodParam.enter(0),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,9),this.expect(29);const s=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==s.type&&this.raise(_t.ImportAliasHasImportType,{at:s}),e.moduleReference=s,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(116)&&40===this.lookaheadCharCode()}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const e=this.startNode();if(this.expectContextual(116),this.expect(10),!this.match(129))throw this.unexpected();return e.expression=super.parseExprAtom(),this.expect(11),this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone(),s=e();return this.state=t,s}tsTryParseAndCatch(e){const t=this.tryParse((t=>e()||t()));if(!t.aborted&&t.node)return t.error&&(this.state=t.failState),t.node}tsTryParse(e){const t=this.state.clone(),s=e();return void 0!==s&&!1!==s?s:void(this.state=t)}tsTryParseDeclare(e){if(this.isLineTerminator())return;let t,s=this.state.type;return this.isContextual(99)&&(s=74,t="let"),this.tsInAmbientContext((()=>{if(68===s)return e.declare=!0,super.parseFunctionStatement(e,!1,!0);if(80===s)return e.declare=!0,this.parseClass(e,!0,!1);if(122===s)return this.tsParseEnumDeclaration(e,{declare:!0});if(109===s)return this.tsParseAmbientExternalModuleDeclaration(e);if(75===s||74===s)return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0})):(e.declare=!0,this.parseVarStatement(e,t||this.state.value,!0));if(125===s){const t=this.tsParseInterfaceDeclaration(e,{declare:!0});if(t)return t}return V(s)?this.tsParseDeclaration(e,this.state.value,!0):void 0}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t)return t.declare=!0,t;break}case"global":if(this.match(5)){this.scope.enter(Ce),this.prodParam.enter(0);const s=e;return s.global=!0,s.id=t,s.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(s,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,!1)}}tsParseDeclaration(e,t,s){switch(t){case"abstract":if(this.tsCheckLineTerminator(s)&&(this.match(80)||V(this.state.type)))return this.tsParseAbstractDeclaration(e);break;case"module":if(this.tsCheckLineTerminator(s)){if(this.match(129))return this.tsParseAmbientExternalModuleDeclaration(e);if(V(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(s)&&V(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(s)&&V(this.state.type))return this.tsParseTypeAliasDeclaration(e)}}tsCheckLineTerminator(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.match(47))return;const s=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const r=this.tsTryParseAndCatch((()=>{const s=this.startNodeAt(e,t);return s.typeParameters=this.tsParseTypeParameters(),super.parseFunctionParams(s),s.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),s}));return this.state.maybeInArrowParameters=s,r?super.parseArrowExpression(r,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(47===this.reScan_lt())return this.tsParseTypeArguments()}tsParseTypeArguments(){const e=this.startNode();return e.params=this.tsInType((()=>this.tsInNoContext((()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))))),0===e.params.length&&this.raise(_t.EmptyTypeArguments,{at:e}),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return function(e){return e>=120&&e<=126}(this.state.type)}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const s=this.state.start,r=this.state.startLoc;let i,n=!1,a=!1;if(void 0!==e){const t={};this.tsParseModifiers({modified:t,allowedModifiers:["public","private","protected","override","readonly"]}),i=t.accessibility,a=t.override,n=t.readonly,!1===e&&(i||n||a)&&this.raise(_t.UnexpectedParameterModifier,{at:r})}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const c=this.parseMaybeDefault(o.start,o.loc.start,o);if(i||n||a){const e=this.startNodeAt(s,r);return t.length&&(e.decorators=t),i&&(e.accessibility=i),n&&(e.readonly=n),a&&(e.override=a),"Identifier"!==c.type&&"AssignmentPattern"!==c.type&&this.raise(_t.UnsupportedParameterPropertyKind,{at:e}),e.parameter=c,this.finishNode(e,"TSParameterProperty")}return t.length&&(o.decorators=t),c}isSimpleParameter(e){return"TSParameterProperty"===e.type&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}parseFunctionBodyAndFinish(e,t,s=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const r="FunctionDeclaration"===t?"TSDeclareFunction":"ClassMethod"===t||"ClassPrivateMethod"===t?"TSDeclareMethod":void 0;return r&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,r):"TSDeclareFunction"===r&&this.state.isAmbientContext&&(this.raise(_t.DeclareFunctionHasImplementation,{at:e}),e.declare)?super.parseFunctionBodyAndFinish(e,r,s):super.parseFunctionBodyAndFinish(e,t,s)}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach((e=>{"TSTypeCastExpression"===(null==e?void 0:e.type)&&this.raise(_t.UnexpectedTypeAnnotation,{at:e.typeAnnotation})}))}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,t,s,r){const i=super.parseArrayLike(e,t,s,r);return"ArrayExpression"===i.type&&this.tsCheckForInvalidTypeCasts(i.elements),i}parseSubscript(e,t,s,r,i){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const r=this.startNodeAt(t,s);return r.expression=e,this.finishNode(r,"TSNonNullExpression")}let n=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(r)return i.stop=!0,e;i.optionalChainMember=n=!0,this.next()}if(this.match(47)||this.match(51)){let a;const o=this.tsTryParseAndCatch((()=>{if(!r&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,s);if(e)return e}const o=this.tsParseTypeArgumentsInExpression();if(!o)return;if(n&&!this.match(10))return void(a=this.state.curPosition());if(ee(this.state.type)){const r=super.parseTaggedTemplateExpression(e,t,s,i);return r.typeParameters=o,r}if(!r&&this.eat(10)){const r=this.startNodeAt(t,s);return r.callee=e,r.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(r.arguments),r.typeParameters=o,i.optionalChainMember&&(r.optional=n),this.finishCallExpression(r,i.optionalChainMember)}const c=this.state.type;if(48===c||10!==c&&J(c)&&!this.hasPrecedingLineBreak())return;const u=this.startNodeAt(t,s);return u.expression=e,u.typeParameters=o,this.finishNode(u,"TSInstantiationExpression")}));if(a&&this.unexpected(a,10),o)return"TSInstantiationExpression"===o.type&&(this.match(16)||this.match(18)&&40!==this.lookaheadCharCode())&&this.raise(_t.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc}),o}return super.parseSubscript(e,t,s,r,i)}parseNewCallee(e){var t;super.parseNewCallee(e);const{callee:s}=e;"TSInstantiationExpression"!==s.type||null!=(t=s.extra)&&t.parenthesized||(e.typeParameters=s.typeParameters,e.callee=s.expression)}parseExprOp(e,t,s,r){if(Z(58)>r&&!this.hasPrecedingLineBreak()&&this.isContextual(93)){const i=this.startNodeAt(t,s);i.expression=e;const n=this.tsTryNextParseConstantContext();return i.typeAnnotation=n||this.tsNextThenParseType(),this.finishNode(i,"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(i,t,s,r)}return super.parseExprOp(e,t,s,r)}checkReservedWord(e,t,s,r){this.state.isAmbientContext||super.checkReservedWord(e,t,s,r)}checkDuplicateExports(){}parseImport(e){if(e.importKind="value",V(this.state.type)||this.match(55)||this.match(5)){let t=this.lookahead();if(this.isContextual(126)&&12!==t.type&&97!==t.type&&29!==t.type&&(e.importKind="type",this.next(),t=this.lookahead()),V(this.state.type)&&29===t.type)return this.tsParseImportEqualsDeclaration(e)}const t=super.parseImport(e);return"type"===t.importKind&&t.specifiers.length>1&&"ImportDefaultSpecifier"===t.specifiers[0].type&&this.raise(_t.TypeImportCannotSpecifyDefaultAndNamed,{at:t}),t}parseExport(e){if(this.match(83))return this.next(),this.isContextual(126)&&61!==this.lookaheadCharCode()?(e.importKind="type",this.next()):e.importKind="value",this.tsParseImportEqualsDeclaration(e,!0);if(this.eat(29)){const t=e;return t.expression=super.parseExpression(),this.semicolon(),this.finishNode(t,"TSExportAssignment")}if(this.eatContextual(93)){const t=e;return this.expectContextual(124),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,"TSNamespaceExportDeclaration")}return this.isContextual(126)&&5===this.lookahead().type?(this.next(),e.exportKind="type"):e.exportKind="value",super.parseExport(e)}isAbstractClass(){return this.isContextual(120)&&80===this.lookahead().type}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(125)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,t,s=!1){const{isAmbientContext:r}=this.state,i=super.parseVarStatement(e,t,s||r);if(!r)return i;for(const{id:e,init:s}of i.declarations)s&&("const"!==t||e.typeAnnotation?this.raise(_t.InitializerNotAllowedInAmbientContext,{at:s}):"StringLiteral"!==s.type&&"BooleanLiteral"!==s.type&&"NumericLiteral"!==s.type&&"BigIntLiteral"!==s.type&&("TemplateLiteral"!==s.type||s.expressions.length>0)&&!Bt(s)&&this.raise(_t.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:s}));return i}parseStatementContent(e,t){if(this.match(75)&&this.isLookaheadContextual("enum")){const e=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(e,{const:!0})}if(this.isContextual(122))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(125)){const 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=>Ot(t)?e.accessibility===t:!!e[t]))}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&123===this.lookaheadCharCode()}parseClassMember(e,t,s){const r=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({modified:t,allowedModifiers:r,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:_t.InvalidModifierOnTypeParameterPositions});const i=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,r)&&this.raise(_t.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),super.parseClassStaticBlock(e,t)):this.parseClassMemberWithIsStatic(e,t,s,!!t.static)};t.declare?this.tsInAmbientContext(i):i()}parseClassMemberWithIsStatic(e,t,s,r){const i=this.tsTryParseIndexSignature(t);if(i)return e.body.push(i),t.abstract&&this.raise(_t.IndexSignatureHasAbstract,{at:t}),t.accessibility&&this.raise(_t.IndexSignatureHasAccessibility,{at:t,modifier:t.accessibility}),t.declare&&this.raise(_t.IndexSignatureHasDeclare,{at:t}),void(t.override&&this.raise(_t.IndexSignatureHasOverride,{at:t}));!this.state.inAbstractClass&&t.abstract&&this.raise(_t.NonAbstractClassHasAbstractMethod,{at:t}),t.override&&(s.hadSuperClass||this.raise(_t.OverrideNotInSubClass,{at:t})),super.parseClassMemberWithIsStatic(e,t,s,r)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(_t.ClassMethodHasReadonly,{at:e}),e.declare&&this.match(10)&&this.raise(_t.ClassMethodHasDeclare,{at:e})}parseExpressionStatement(e,t){return("Identifier"===t.type?this.tsParseExpressionStatement(e,t):void 0)||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(e,t,s,r){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,t,s,r);const i=this.tryParse((()=>super.parseConditional(e,t,s)));return i.node?(i.error&&(this.state=i.failState),i.node):(i.error&&super.setOptionalParametersError(r,i.error),e)}parseParenItem(e,t,s){if(e=super.parseParenItem(e,t,s),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){const r=this.startNodeAt(t,s);return r.expression=e,r.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(r,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(121))return this.tsInAmbientContext((()=>this.parseExportDeclaration(e)));const t=this.state.start,s=this.state.startLoc,r=this.eatContextual(121);if(r&&(this.isContextual(121)||!this.shouldParseExportDeclaration()))throw this.raise(_t.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});const i=V(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return i?(("TSInterfaceDeclaration"===i.type||"TSTypeAliasDeclaration"===i.type||r)&&(e.exportKind="type"),r&&(this.resetStartLocation(i,t,s),i.declare=!0),i):null}parseClassId(e,t,s,r){if((!t||s)&&this.isContextual(110))return;super.parseClassId(e,t,s,e.declare?1024:139);const i=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));i&&(e.typeParameters=i)}parseClassPropertyAnnotation(e){!e.optional&&this.eat(35)&&(e.definite=!0);const 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(_t.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),e.abstract&&this.match(29)){const{key:t}=e;this.raise(_t.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:"Identifier"!==t.type||e.computed?`[${this.input.slice(t.start,t.end)}]`:t.name})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(_t.PrivateElementHasAbstract,{at:e}),e.accessibility&&this.raise(_t.PrivateElementHasAccessibility,{at:e,modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}pushClassMethod(e,t,s,r,i,n){const a=this.tsTryParseTypeParameters();a&&i&&this.raise(_t.ConstructorHasTypeParameters,{at:a});const{declare:o=!1,kind:c}=t;!o||"get"!==c&&"set"!==c||this.raise(_t.DeclareAccessor,{at:t,kind:c}),a&&(t.typeParameters=a),super.pushClassMethod(e,t,s,r,i,n)}pushClassPrivateMethod(e,t,s,r){const i=this.tsTryParseTypeParameters();i&&(t.typeParameters=i),super.pushClassPrivateMethod(e,t,s,r)}declareClassPrivateMethodInScope(e,t){"TSDeclareMethod"!==e.type&&("MethodDefinition"!==e.type||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(110)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,t,s,r,i,n,a,o){const c=this.tsTryParseTypeParameters();return c&&(e.typeParameters=c),super.parseObjPropValue(e,t,s,r,i,n,a,o)}parseFunctionParams(e,t){const s=this.tsTryParseTypeParameters();s&&(e.typeParameters=s),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),"Identifier"===e.id.type&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);const s=this.tsTryParseTypeAnnotation();s&&(e.id.typeAnnotation=s,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(e,t){var s,r,i,n,a,o,c;let u,l,p,h;if(this.hasPlugin("jsx")&&(this.match(138)||this.match(47))){if(u=this.state.clone(),l=this.tryParse((()=>super.parseMaybeAssign(e,t)),u),!l.error)return l.node;const{context:s}=this.state,r=s[s.length-1];r!==D.j_oTag&&r!==D.j_expr||s.pop()}if(!(null!=(s=l)&&s.error||this.match(47)))return super.parseMaybeAssign(e,t);u&&u!==this.state||(u=this.state.clone());const d=this.tryParse((s=>{var r,i;h=this.tsParseTypeParameters();const n=super.parseMaybeAssign(e,t);return("ArrowFunctionExpression"!==n.type||null!=(r=n.extra)&&r.parenthesized)&&s(),0!==(null==(i=h)?void 0:i.params.length)&&this.resetStartLocationFromNode(n,h),n.typeParameters=h,n}),u);if(!d.error&&!d.aborted)return h&&this.reportReservedArrowTypeParam(h),d.node;if(!l&&(It(!this.hasPlugin("jsx")),p=this.tryParse((()=>super.parseMaybeAssign(e,t)),u),!p.error))return p.node;if(null!=(r=l)&&r.node)return this.state=l.failState,l.node;if(d.node)return this.state=d.failState,h&&this.reportReservedArrowTypeParam(h),d.node;if(null!=(i=p)&&i.node)return this.state=p.failState,p.node;if(null!=(n=l)&&n.thrown)throw l.error;if(d.thrown)throw d.error;if(null!=(a=p)&&a.thrown)throw p.error;throw(null==(o=l)?void 0:o.error)||d.error||(null==(c=p)?void 0:c.error)}reportReservedArrowTypeParam(e){var t;1!==e.params.length||null!=(t=e.extra)&&t.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(_t.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)){const t=this.tryParse((e=>{const 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){this.eat(17)&&("Identifier"===e.type||this.state.isAmbientContext||this.state.inType||this.raise(_t.PatternIsOptional,{at:e}),e.optional=!0);const t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t),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,t=!1){switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,t);break;case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":t?this.expressionScope.recordArrowParemeterBindingError(_t.UnexpectedTypeCastInParameter,{at:e}):this.raise(_t.UnexpectedTypeCastInParameter,{at:e}),this.toAssignable(e.expression,t);break;case"AssignmentExpression":t||"TSTypeCastExpression"!==e.left.type||(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":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"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,s){return((e,t)=>Object.hasOwnProperty.call(e,t)&&e[t])({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(s!==Pe||!t)&&["expression",!0],TSTypeAssertion:(s!==Pe||!t)&&["expression",!0]},e)||super.isValidLVal(e,t,s)}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){const t=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const s=super.parseMaybeDecoratorArguments(e);return s.typeParameters=t,s}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,s){const r=super.parseMaybeDefault(e,t,s);return"AssignmentPattern"===r.type&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start&&this.raise(_t.TypeAnnotationAfterAssign,{at:r.typeAnnotation}),r}getTokenFromCode(e){if(this.state.inType){if(62===e)return this.finishOp(48,1);if(60===e)return this.finishOp(47,1)}return super.getTokenFromCode(e)}reScan_lt_gt(){const{type:e}=this.state;47===e?(this.state.pos-=1,this.readToken_lt()):48===e&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){const{type:e}=this.state;return 51===e?(this.state.pos-=2,this.finishOp(47,1),47):e}toAssignableList(e,t,s){for(let t=0;t<e.length;t++){const s=e[t];"TSTypeCastExpression"===(null==s?void 0:s.type)&&(e[t]=this.typeCastToParameter(s))}super.toAssignableList(e,t,s)}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)){const t=this.tsTryParseAndCatch((()=>this.tsParseTypeArgumentsInExpression()));t&&(e.typeParameters=t)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e),s=this.getObjectOrClassMethodParams(e)[0];return s&&this.isThisParam(s)?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam(),t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t,this.resetEndLocation(e)),e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,t,s){const r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,t,s)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e){if(this.match(80))return e.abstract=!0,this.parseClass(e,!0,!1);if(this.isContextual(125)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(_t.NonClassMethodPropertyHasAbstractModifer,{at:e}),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(e,t,s,r,i,n,a){const o=super.parseMethod(e,t,s,r,i,n,a);if(o.abstract){if(this.hasPlugin("estree")?!!o.value.body:!!o.body){const{key:e}=o;this.raise(_t.AbstractMethodHasImplementation,{at:o,methodName:"Identifier"!==e.type||o.computed?`[${this.input.slice(e.start,e.end)}]`:e.name})}}return o}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,t,s,r){return!t&&r?(this.parseTypeOnlyImportExportSpecifier(e,!1,s),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,t,s,r))}parseImportSpecifier(e,t,s,r){return!t&&r?(this.parseTypeOnlyImportExportSpecifier(e,!0,s),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,t,s,r))}parseTypeOnlyImportExportSpecifier(e,t,s){const r=t?"imported":"local",i=t?"local":"exported";let n,a=e[r],o=!1,c=!0;const u=a.loc.start;if(this.isContextual(93)){const e=this.parseIdentifier();if(this.isContextual(93)){const s=this.parseIdentifier();G(this.state.type)?(o=!0,a=e,n=t?this.parseIdentifier():this.parseModuleExportName(),c=!1):(n=s,c=!1)}else G(this.state.type)?(c=!1,n=t?this.parseIdentifier():this.parseModuleExportName()):(o=!0,a=e)}else G(this.state.type)&&(o=!0,t?(a=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(a.name,a.loc.start,!0,!0)):a=this.parseModuleExportName());o&&s&&this.raise(t?_t.TypeModifierIsUsedInTypeImports:_t.TypeModifierIsUsedInTypeExports,{at:u}),e[r]=a,e[i]=n;e[t?"importKind":"exportKind"]=o?"type":"value",c&&this.eatContextual(93)&&(e[i]=t?this.parseIdentifier():this.parseModuleExportName()),e[i]||(e[i]=gt(e[r])),t&&this.checkIdentifier(e[i],9)}},v8intrinsic:e=>class extends e{parseV8Intrinsic(){if(this.match(54)){const e=this.state.startLoc,t=this.startNode();if(this.next(),V(this.state.type)){const e=this.parseIdentifierName(this.state.start),s=this.createIdentifier(t,e);if(s.type="V8IntrinsicIdentifier",this.match(10))return s}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}},placeholders:e=>class extends e{parsePlaceholder(e){if(this.match(140)){const t=this.startNode();return this.next(),this.assertNoSpace(),t.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(140),this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const s=!(!e.expectedNode||"Placeholder"!==e.type);return e.expectedNode=t,s?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){return 37===e&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(140,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,s,r){void 0!==e&&super.checkReservedWord(e,t,s,r)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,t,s){return"Placeholder"===e||super.isValidLVal(e,t,s)}toAssignable(e,t){e&&"Placeholder"===e.type&&"Expression"===e.expectedNode?e.expectedNode="Pattern":super.toAssignable(e,t)}isLet(e){if(super.isLet(e))return!0;if(!this.isContextual(99))return!1;if(e)return!1;return 140===this.lookahead().type}verifyBreakContinue(e,t){e.label&&"Placeholder"===e.label.type||super.verifyBreakContinue(e,t)}parseExpressionStatement(e,t){if("Placeholder"!==t.type||t.extra&&t.extra.parenthesized)return super.parseExpressionStatement(e,t);if(this.match(14)){const s=e;return s.label=this.finishPlaceholder(t,"Identifier"),this.next(),s.body=super.parseStatement("label"),this.finishNode(s,"LabeledStatement")}return this.semicolon(),e.name=t.name,this.finishPlaceholder(e,"Statement")}parseBlock(e,t,s){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,t,s)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,t,s){const r=t?"ClassDeclaration":"ClassExpression";this.next(),this.takeDecorators(e);const i=this.state.strict,n=this.parsePlaceholder("Identifier");if(n){if(!(this.match(81)||this.match(140)||this.match(5))){if(s||!t)return e.id=null,e.body=this.finishPlaceholder(n,"ClassBody"),this.finishNode(e,r);throw this.raise(Mt.ClassNameIsRequired,{at:this.state.startLoc})}e.id=n}else this.parseClassId(e,t,s);return super.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,i),this.finishNode(e,r)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(e);if(!this.isContextual(97)&&!this.match(12))return e.specifiers=[],e.source=null,e.declaration=this.finishPlaceholder(t,"Declaration"),this.finishNode(e,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const s=this.startNode();return s.exported=t,e.specifiers=[this.finishNode(s,"ExportDefaultSpecifier")],super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(65)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(Q(140),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){return!!(e.specifiers&&e.specifiers.length>0)||super.maybeParseExportDefaultSpecifier(e)}checkExport(e){const{specifiers:t}=e;null!=t&&t.length&&(e.specifiers=t.filter((e=>"Placeholder"===e.exported.type))),super.checkExport(e),e.specifiers=t}parseImport(e){const 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");const s=this.startNodeAtNode(t);if(s.local=t,e.specifiers.push(this.finishNode(s,"ImportDefaultSpecifier")),this.eat(12)){this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)}return 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(Mt.UnexpectedSpace,{at:this.state.lastTokEndLoc})}}},Vt=Object.keys(Ht),Gt={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0};const Wt=e=>"ParenthesizedExpression"===e.type?Wt(e.expression):e;class Jt extends vt{toAssignable(e,t=!1){var s,r;let i;switch(("ParenthesizedExpression"===e.type||null!=(s=e.extra)&&s.parenthesized)&&(i=Wt(e),t?"Identifier"===i.type?this.expressionScope.recordArrowParemeterBindingError(b.InvalidParenthesizedAssignment,{at:e}):"MemberExpression"!==i.type&&this.raise(b.InvalidParenthesizedAssignment,{at:e}):this.raise(b.InvalidParenthesizedAssignment,{at:e})),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let s=0,r=e.properties.length,i=r-1;s<r;s++){var n;const r=e.properties[s],a=s===i;this.toAssignableObjectExpressionProp(r,a,t),a&&"RestElement"===r.type&&null!=(n=e.extra)&&n.trailingCommaLoc&&this.raise(b.RestTrailingComma,{at:e.extra.trailingCommaLoc})}break;case"ObjectProperty":{const{key:s,value:r}=e;this.isPrivateName(s)&&this.classScope.usePrivateName(this.getPrivateNameSV(s),s.loc.start),this.toAssignable(r,t);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,null==(r=e.extra)?void 0:r.trailingCommaLoc,t);break;case"AssignmentExpression":"="!==e.operator&&this.raise(b.MissingEqInAssignment,{at:e.left.loc.end}),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(i,t)}}toAssignableObjectExpressionProp(e,t,s){if("ObjectMethod"===e.type)this.raise("get"===e.kind||"set"===e.kind?b.PatternHasAccessor:b.PatternHasMethod,{at:e.key});else if("SpreadElement"===e.type){e.type="RestElement";const r=e.argument;this.checkToRestConversion(r,!1),this.toAssignable(r,s),t||this.raise(b.RestTrailingComma,{at:e})}else this.toAssignable(e,s)}toAssignableList(e,t,s){const r=e.length-1;for(let i=0;i<=r;i++){const n=e[i];if(n){if("SpreadElement"===n.type){n.type="RestElement";const e=n.argument;this.checkToRestConversion(e,!0),this.toAssignable(e,s)}else this.toAssignable(n,s);"RestElement"===n.type&&(i<r?this.raise(b.RestTrailingComma,{at:n}):t&&this.raise(b.RestTrailingComma,{at:t}))}}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every(((e,s)=>"ObjectMethod"!==e.type&&(s===t||"SpreadElement"!==e.type)&&this.isAssignable(e)))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every((e=>null===e||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(const t of e)"ArrayExpression"===(null==t?void 0:t.type)&&this.toReferencedListDeep(t.elements)}parseSpread(e){const t=this.startNode();return this.next(),t.argument=this.parseMaybeAssignAllowIn(e,void 0),this.finishNode(t,"SpreadElement")}parseRestBinding(){const e=this.startNode();return this.next(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,!0),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(e,t,s,r){const i=[];let n=!0;for(;!this.eat(e);)if(n?n=!1:this.expect(12),s&&this.match(12))i.push(null);else{if(this.eat(e))break;if(this.match(21)){if(i.push(this.parseAssignableListItemTypes(this.parseRestBinding())),!this.checkCommaAfterRest(t)){this.expect(e);break}}else{const e=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(b.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)e.push(this.parseDecorator());i.push(this.parseAssignableListItem(r,e))}}return i}parseBindingRestProperty(e){return this.next(),e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,"RestElement")}parseBindingProperty(){const e=this.startNode(),{type:t,start:s,startLoc:r}=this.state;return 21===t?this.parseBindingRestProperty(e):(134===t?(this.expectPlugin("destructuringPrivate",r),this.classScope.usePrivateName(this.state.value,r),e.key=this.parsePrivateName()):this.parsePropertyName(e),e.method=!1,this.parseObjPropValue(e,s,r,!1,!1,!0,!1))}parseAssignableListItem(e,t){const s=this.parseMaybeDefault();this.parseAssignableListItemTypes(s);const r=this.parseMaybeDefault(s.start,s.loc.start,s);return t.length&&(s.decorators=t),r}parseAssignableListItemTypes(e){return e}parseMaybeDefault(e,t,s){var r,i,n;if(t=null!=(r=t)?r:this.state.startLoc,e=null!=(i=e)?i:this.state.start,s=null!=(n=s)?n:this.parseBindingAtom(),!this.eat(29))return s;const a=this.startNodeAt(e,t);return a.left=s,a.right=this.parseMaybeAssignAllowIn(),this.finishNode(a,"AssignmentPattern")}isValidLVal(e,t,s){return((e,t)=>Object.hasOwnProperty.call(e,t)&&e[t])({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},e)}checkLVal(e,{in:t,binding:s=64,checkClashes:r=!1,strictModeChanged:i=!1,allowingSloppyLetBinding:n=!(8&s),hasParenthesizedAncestor:a=!1}){var o;const c=e.type;if(this.isObjectMethod(e))return;if("MemberExpression"===c)return void(s!==Pe&&this.raise(b.InvalidPropertyBindingPattern,{at:e}));if("Identifier"===e.type){this.checkIdentifier(e,s,i,n);const{name:t}=e;return void(r&&(r.has(t)?this.raise(b.ParamDupe,{at:e}):r.add(t)))}const u=this.isValidLVal(e.type,!(a||null!=(o=e.extra)&&o.parenthesized)&&"AssignmentExpression"===t.type,s);if(!0===u)return;if(!1===u){const r=s===Pe?b.InvalidLhs:b.InvalidLhsBinding;return void this.raise(r,{at:e,ancestor:"UpdateExpression"===t.type?{type:"UpdateExpression",prefix:t.prefix}:{type:t.type}})}const[l,p]=Array.isArray(u)?u:[u,"ParenthesizedExpression"===c],h="ArrayPattern"===e.type||"ObjectPattern"===e.type||"ParenthesizedExpression"===e.type?e:t;for(const t of[].concat(e[l]))t&&this.checkLVal(t,{in:h,binding:s,checkClashes:r,allowingSloppyLetBinding:n,strictModeChanged:i,hasParenthesizedAncestor:p})}checkIdentifier(e,t,s=!1,r=!(8&t)){this.state.strict&&(s?ve(e.name,this.inModule):xe(e.name))&&(t===Pe?this.raise(b.StrictEvalArguments,{at:e,referenceName:e.name}):this.raise(b.StrictEvalArgumentsBinding,{at:e,bindingName:e.name})),r||"let"!==e.name||this.raise(b.LetInLexicalBinding,{at:e}),t&Pe||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(b.InvalidRestAssignmentPattern,{at:e})}}checkCommaAfterRest(e){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===e?b.RestTrailingComma:b.ElementAfterRest,{at:this.state.startLoc}),!0)}}class Xt extends Jt{checkProto(e,t,s,r){if("SpreadElement"===e.type||this.isObjectMethod(e)||e.computed||e.shorthand)return;const i=e.key;if("__proto__"===("Identifier"===i.type?i.name:i.value)){if(t)return void this.raise(b.RecordNoProto,{at:i});s.used&&(r?null===r.doubleProtoLoc&&(r.doubleProtoLoc=i.loc.start):this.raise(b.DuplicateProto,{at:i})),s.used=!0}}shouldExitDescending(e,t){return"ArrowFunctionExpression"===e.type&&e.start===t}getExpression(){this.enterInitialScopes(),this.nextToken();const e=this.parseExpression();return this.match(135)||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){const t=this.state.start,s=this.state.startLoc,r=this.parseMaybeAssign(e);if(this.match(12)){const i=this.startNodeAt(t,s);for(i.expressions=[r];this.eat(12);)i.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(i.expressions),this.finishNode(i,"SequenceExpression")}return r}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd((()=>this.parseMaybeAssign(e,t)))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd((()=>this.parseMaybeAssign(e,t)))}setOptionalParametersError(e,t){var s;e.optionalParametersLoc=null!=(s=null==t?void 0:t.loc)?s:this.state.startLoc}parseMaybeAssign(e,t){const s=this.state.start,r=this.state.startLoc;if(this.isContextual(105)&&this.prodParam.hasYield){let e=this.parseYield();return t&&(e=t.call(this,e,s,r)),e}let i;e?i=!1:(e=new mt,i=!0);const{type:n}=this.state;(10===n||V(n))&&(this.state.potentialArrowAt=this.state.start);let a=this.parseMaybeConditional(e);if(t&&(a=t.call(this,a,s,r)),function(e){return e>=29&&e<=33}(this.state.type)){const t=this.startNodeAt(s,r),i=this.state.value;return t.operator=i,this.match(29)?(this.toAssignable(a,!0),t.left=a,null!=e.doubleProtoLoc&&e.doubleProtoLoc.index>=s&&(e.doubleProtoLoc=null),null!=e.shorthandAssignLoc&&e.shorthandAssignLoc.index>=s&&(e.shorthandAssignLoc=null),null!=e.privateKeyLoc&&e.privateKeyLoc.index>=s&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null)):t.left=a,this.next(),t.right=this.parseMaybeAssign(),this.checkLVal(a,{in:this.finishNode(t,"AssignmentExpression")}),t}return i&&this.checkExpressionErrors(e,!0),a}parseMaybeConditional(e){const t=this.state.start,s=this.state.startLoc,r=this.state.potentialArrowAt,i=this.parseExprOps(e);return this.shouldExitDescending(i,r)?i:this.parseConditional(i,t,s,e)}parseConditional(e,t,s,r){if(this.eat(17)){const r=this.startNodeAt(t,s);return r.test=e,r.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),r.alternate=this.parseMaybeAssign(),this.finishNode(r,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(134)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){const t=this.state.start,s=this.state.startLoc,r=this.state.potentialArrowAt,i=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(i,r)?i:this.parseExprOp(i,t,s,-1)}parseExprOp(e,t,s,r){if(this.isPrivateName(e)){const t=this.getPrivateNameSV(e);(r>=Z(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(b.PrivateInExpectedIn,{at:e,identifierName:t}),this.classScope.usePrivateName(t,e.loc.start)}const i=this.state.type;if(function(e){return e>=39&&e<=59}(i)&&(this.prodParam.hasIn||!this.match(58))){let n=Z(i);if(n>r){if(39===i){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,s)}const a=this.startNodeAt(t,s);a.left=e,a.operator=this.state.value;const o=41===i||42===i,c=40===i;if(c&&(n=Z(42)),this.next(),39===i&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(b.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});a.right=this.parseExprOpRightExpr(i,n);const u=this.finishNode(a,o||c?"LogicalExpression":"BinaryExpression"),l=this.state.type;if(c&&(41===l||42===l)||o&&40===l)throw this.raise(b.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(u,t,s,r)}}return e}parseExprOpRightExpr(e,t){const s=this.state.start,r=this.state.startLoc;if(39===e)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((()=>this.parseHackPipeBody()));case"smart":return this.withTopicBindingContext((()=>{if(this.prodParam.hasYield&&this.isContextual(105))throw this.raise(b.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),s,r)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(t)))}return this.parseExprOpBaseRightExpr(e,t)}parseExprOpBaseRightExpr(e,t){const s=this.state.start,r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,r,function(e){return 57===e}(e)?t-1:t)}parseHackPipeBody(){var e;const{startLoc:t}=this.state,s=this.parseMaybeAssign();return!m.has(s.type)||null!=(e=s.extra)&&e.parenthesized||this.raise(b.PipeUnparenthesizedBody,{at:t,type:s.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(b.PipeTopicUnused,{at:t}),s}checkExponentialAfterUnary(e){this.match(57)&&this.raise(b.UnexpectedTokenUnaryExponentiation,{at:e.argument})}parseMaybeUnary(e,t){const s=this.state.start,r=this.state.startLoc,i=this.isContextual(96);if(i&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(s,r);return t||this.checkExponentialAfterUnary(e),e}const n=this.match(34),a=this.startNode();if(function(e){return q[e]}(this.state.type)){a.operator=this.state.value,a.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const s=this.match(89);if(this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&s){const e=a.argument;"Identifier"===e.type?this.raise(b.StrictDelete,{at:a}):this.hasPropertyAsPrivateName(e)&&this.raise(b.DeletePrivateField,{at:a})}if(!n)return t||this.checkExponentialAfterUnary(a),this.finishNode(a,"UnaryExpression")}const o=this.parseUpdate(a,n,e);if(i){const{type:e}=this.state;if((this.hasPlugin("v8intrinsic")?J(e):J(e)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(b.AwaitNotInAsyncContext,{at:r}),this.parseAwait(s,r)}return o}parseUpdate(e,t,s){if(t){const t=e;return this.checkLVal(t.argument,{in:this.finishNode(t,"UpdateExpression")}),e}const r=this.state.start,i=this.state.startLoc;let n=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,!1))return n;for(;Y(this.state.type)&&!this.canInsertSemicolon();){const e=this.startNodeAt(r,i);e.operator=this.state.value,e.prefix=!1,e.argument=n,this.next(),this.checkLVal(n,{in:n=this.finishNode(e,"UpdateExpression")})}return n}parseExprSubscripts(e){const t=this.state.start,s=this.state.startLoc,r=this.state.potentialArrowAt,i=this.parseExprAtom(e);return this.shouldExitDescending(i,r)?i:this.parseSubscripts(i,t,s)}parseSubscripts(e,t,s,r){const i={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,s,r,i),i.maybeAsyncArrow=!1}while(!i.stop);return e}parseSubscript(e,t,s,r,i){const{type:n}=this.state;if(!r&&15===n)return this.parseBind(e,t,s,r,i);if(ee(n))return this.parseTaggedTemplateExpression(e,t,s,i);let a=!1;if(18===n){if(r&&40===this.lookaheadCharCode())return i.stop=!0,e;i.optionalChainMember=a=!0,this.next()}if(!r&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,s,i,a);{const r=this.eat(0);return r||a||this.eat(16)?this.parseMember(e,t,s,i,r,a):(i.stop=!0,e)}}parseMember(e,t,s,r,i,n){const a=this.startNodeAt(t,s);return a.object=e,a.computed=i,i?(a.property=this.parseExpression(),this.expect(3)):this.match(134)?("Super"===e.type&&this.raise(b.SuperPrivateField,{at:s}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),r.optionalChainMember?(a.optional=n,this.finishNode(a,"OptionalMemberExpression")):this.finishNode(a,"MemberExpression")}parseBind(e,t,s,r,i){const n=this.startNodeAt(t,s);return n.object=e,this.next(),n.callee=this.parseNoCallExpr(),i.stop=!0,this.parseSubscripts(this.finishNode(n,"BindExpression"),t,s,r)}parseCoverCallAndAsyncArrowHead(e,t,s,r,i){const n=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=!0,this.next();const o=this.startNodeAt(t,s);o.callee=e;const{maybeAsyncArrow:c,optionalChainMember:u}=r;c&&(this.expressionScope.enter(new ct(2)),a=new mt),u&&(o.optional=i),o.arguments=i?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Import"===e.type,"Super"!==e.type,o,a);let l=this.finishCallExpression(o,u);return c&&this.shouldParseAsyncArrow()&&!i?(r.stop=!0,this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),l=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,s),l)):(c&&(this.checkExpressionErrors(a,!0),this.expressionScope.exit()),this.toReferencedArguments(l)),this.state.maybeInArrowParameters=n,l}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,s,r){const i=this.startNodeAt(t,s);return i.tag=e,i.quasi=this.parseTemplate(!0),r.optionalChainMember&&this.raise(b.OptionalChainingNoTemplate,{at:s}),this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if("Import"===e.callee.type)if(2===e.arguments.length&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),0===e.arguments.length||e.arguments.length>2)this.raise(b.ImportCallArity,{at:e,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(const t of e.arguments)"SpreadElement"===t.type&&this.raise(b.ImportCallSpreadArgument,{at:t});return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,s,r,i){const n=[];let a=!0;const o=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(e);){if(a)a=!1;else if(this.expect(12),this.match(e)){!t||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")||this.raise(b.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),r&&this.addTrailingCommaExtraToNode(r),this.next();break}n.push(this.parseExprListItem(!1,i,s))}return this.state.inFSharpPipelineDirectBody=o,n}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var s;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,null==(s=t.extra)?void 0:s.trailingCommaLoc),t.innerComments&&Ne(e,t.innerComments),t.callee.trailingComments&&Ne(e,t.callee.trailingComments),e}parseNoCallExpr(){const e=this.state.start,t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,!0)}parseExprAtom(e){let t;const{type:s}=this.state;switch(s){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):(this.match(10)||this.raise(b.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(t,"Import"));case 78:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 130:return this.parseNumericLiteral(this.state.value);case 131:return this.parseBigIntLiteral(this.state.value);case 132:return this.parseDecimalLiteral(this.state.value);case 129:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 2:case 1:return this.parseArrayLike(2===this.state.type?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,e);case 6:case 7:return this.parseObjectLike(6===this.state.type?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,e);case 68:return this.parseFunctionOrFunctionSent();case 26:this.parseDecorators();case 80:return t=this.startNode(),this.takeDecorators(t),this.parseClass(t,!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;const e=t.callee=this.parseNoCallExpr();if("MemberExpression"===e.type)return this.finishNode(t,"BindExpression");throw this.raise(b.UnsupportedBind,{at:e})}case 134:return this.raise(b.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:{const e=this.getPluginOption("pipelineOperator","proposal");if(e)return this.parseTopicReference(e);throw this.unexpected()}case 47:{const e=this.input.codePointAt(this.nextTokenStart());if(ue(e)||62===e){this.expectOnePlugin(["jsx","flow","typescript"]);break}throw this.unexpected()}default:if(V(s)){if(this.isContextual(123)&&123===this.lookaheadCharCode()&&!this.hasFollowingLineBreak())return this.parseModuleExpression();const e=this.state.potentialArrowAt===this.state.start,t=this.state.containsEsc,s=this.parseIdentifier();if(!t&&"async"===s.name&&!this.canInsertSemicolon()){const{type:e}=this.state;if(68===e)return this.resetPreviousNodeTrailingComments(s),this.next(),this.parseFunction(this.startNodeAtNode(s),void 0,!0);if(V(e))return 61===this.lookaheadCharCode()?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(s)):s;if(90===e)return this.resetPreviousNodeTrailingComments(s),this.parseDo(this.startNodeAtNode(s),!0)}return e&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(s),[s],!1)):s}throw this.unexpected()}}parseTopicReferenceThenEqualsSign(e,t){const s=this.getPluginOption("pipelineOperator","proposal");if(s)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=n(this.state.endLoc,-1),this.parseTopicReference(s);throw this.unexpected()}parseTopicReference(e){const t=this.startNode(),s=this.state.startLoc,r=this.state.type;return this.next(),this.finishTopicReference(t,s,e,r)}finishTopicReference(e,t,s,r){if(this.testTopicReferenceConfiguration(s,t,r)){const r="smart"===s?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise("smart"===s?b.PrimaryTopicNotAllowed:b.PipeTopicUnbound,{at:t}),this.registerTopicReference(),this.finishNode(e,r)}throw this.raise(b.PipeTopicUnconfiguredToken,{at:t,token:Q(r)})}testTopicReferenceConfiguration(e,t,s){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:Q(s)}]);case"smart":return 27===s;default:throw this.raise(b.PipeTopicRequiresHackPipes,{at:t})}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(ht(!0,this.prodParam.hasYield));const t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(b.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();const s=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(2),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=s,this.finishNode(e,"DoExpression")}parseSuper(){const e=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(b.UnexpectedSuper,{at:e}):this.raise(b.SuperNotAllowed,{at:e}),this.match(10)||this.match(0)||this.match(16)||this.raise(b.UnsupportedSuper,{at:e}),this.finishNode(e,"Super")}parsePrivateName(){const e=this.startNode(),t=this.startNodeAt(this.state.start+1,new r(this.state.curLine,this.state.start+1-this.state.lineStart,this.state.start+1)),s=this.state.value;return this.next(),e.id=this.createIdentifier(t,s),this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const 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,s){e.meta=t;const r=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==s||r)&&this.raise(b.UnsupportedMetaProperty,{at:e.property,target:t.name,onlyValidPropertyName:s}),this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(b.ImportMetaOutsideModule,{at:t}),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,s){return this.addExtra(s,"rawValue",e),this.addExtra(s,"raw",this.input.slice(s.start,this.state.end)),s.value=e,this.next(),this.finishNode(s,t)}parseLiteral(e,t){const s=this.startNode();return this.parseLiteralAtNode(e,t,s)}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){const t=this.parseLiteral(e.value,"RegExpLiteral");return t.pattern=e.pattern,t.flags=e.flags,t}parseBooleanLiteral(e){const t=this.startNode();return t.value=e,this.next(),this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();return this.next(),this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start,s=this.state.startLoc;let r;this.next(),this.expressionScope.enter(new ct(1));const i=this.state.maybeInArrowParameters,n=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const a=this.state.start,o=this.state.startLoc,c=[],u=new mt;let l,p,h=!0;for(;!this.match(11);){if(h)h=!1;else if(this.expect(12,null===u.optionalParametersLoc?null:u.optionalParametersLoc),this.match(11)){p=this.state.startLoc;break}if(this.match(21)){const e=this.state.start,t=this.state.startLoc;if(l=this.state.startLoc,c.push(this.parseParenItem(this.parseRestBinding(),e,t)),!this.checkCommaAfterRest(41))break}else c.push(this.parseMaybeAssignAllowIn(u,this.parseParenItem))}const d=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=i,this.state.inFSharpPipelineDirectBody=n;let m=this.startNodeAt(t,s);return e&&this.shouldParseArrow(c)&&(m=this.parseArrow(m))?(this.checkDestructuringPrivate(u),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(m,c,!1),m):(this.expressionScope.exit(),c.length||this.unexpected(this.state.lastTokStartLoc),p&&this.unexpected(p),l&&this.unexpected(l),this.checkExpressionErrors(u,!0),this.toReferencedListDeep(c,!0),c.length>1?(r=this.startNodeAt(a,o),r.expressions=c,this.finishNode(r,"SequenceExpression"),this.resetEndLocation(r,d)):r=c[0],this.wrapParenthesis(t,s,r))}wrapParenthesis(e,t,s){if(!this.options.createParenthesizedExpressions)return this.addExtra(s,"parenthesized",!0),this.addExtra(s,"parenStart",e),this.takeSurroundingComments(s,e,this.state.lastTokEndLoc.index),s;const r=this.startNodeAt(e,t);return r.expression=s,this.finishNode(r,"ParenthesizedExpression")}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t,s){return e}parseNewOrNewTarget(){const e=this.startNode();if(this.next(),this.match(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const s=this.parseMetaProperty(e,t,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.raise(b.UnexpectedNewTarget,{at:s}),s}return this.parseNew(e)}parseNew(e){if(this.parseNewCallee(e),this.eat(10)){const t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[];return this.finishNode(e,"NewExpression")}parseNewCallee(e){e.callee=this.parseNoCallExpr(),"Import"===e.callee.type?this.raise(b.ImportCallNotNewExpression,{at:e.callee}):this.isOptionalChain(e.callee)?this.raise(b.OptionalChainingNoNew,{at:this.state.lastTokEndLoc}):this.eat(18)&&this.raise(b.OptionalChainingNoNew,{at:this.state.startLoc})}parseTemplateElement(e){const{start:t,startLoc:s,end:r,value:i}=this.state,a=t+1,o=this.startNodeAt(a,n(s,1));null===i&&(e||this.raise(b.InvalidEscapeSequenceTemplate,{at:n(s,2)}));const c=this.match(24),u=c?-1:-2,l=r+u;o.value={raw:this.input.slice(a,l).replace(/\r\n?/g,"\n"),cooked:null===i?null:i.slice(1,u)},o.tail=c,this.next();const p=this.finishNode(o,"TemplateElement");return this.resetEndLocation(p,n(this.state.lastTokEndLoc,u)),p}parseTemplate(e){const t=this.startNode();t.expressions=[];let s=this.parseTemplateElement(e);for(t.quasis=[s];!s.tail;)t.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),t.quasis.push(s=this.parseTemplateElement(e));return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,s,r){s&&this.expectPlugin("recordAndTuple");const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const n=Object.create(null);let a=!0;const o=this.startNode();for(o.properties=[],this.next();!this.match(e);){if(a)a=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(o);break}let i;t?i=this.parseBindingProperty():(i=this.parsePropertyDefinition(r),this.checkProto(i,s,n,r)),s&&!this.isObjectProperty(i)&&"SpreadElement"!==i.type&&this.raise(b.InvalidRecordProperty,{at:i}),i.shorthand&&this.addExtra(i,"shorthand",!0),o.properties.push(i)}this.next(),this.state.inFSharpPipelineDirectBody=i;let c="ObjectExpression";return t?c="ObjectPattern":s&&(c="RecordExpression"),this.finishNode(o,c)}addTrailingCommaExtraToNode(e){this.addExtra(e,"trailingComma",this.state.lastTokStart),this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(e){return!e.computed&&"Identifier"===e.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let t=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(b.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)t.push(this.parseDecorator());const s=this.startNode();let r,i,n=!1,a=!1;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(s.decorators=t,t=[]),s.method=!1,e&&(r=this.state.start,i=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(s);const c=this.state.containsEsc,u=this.parsePropertyName(s,e);if(!o&&!c&&this.maybeAsyncOrAccessorProp(s)){const e=u.name;"async"!==e||this.hasPrecedingLineBreak()||(n=!0,this.resetPreviousNodeTrailingComments(u),o=this.eat(55),this.parsePropertyName(s)),"get"!==e&&"set"!==e||(a=!0,this.resetPreviousNodeTrailingComments(u),s.kind=e,this.match(55)&&(o=!0,this.raise(b.AccessorIsGenerator,{at:this.state.curPosition(),kind:e}),this.next()),this.parsePropertyName(s))}return this.parseObjPropValue(s,r,i,o,n,!1,a,e)}getGetterSetterExpectedParamCount(e){return"get"===e.kind?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const s=this.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e);r.length!==s&&this.raise("get"===e.kind?b.BadGetterArity:b.BadSetterArity,{at:e}),"set"===e.kind&&"RestElement"===(null==(t=r[r.length-1])?void 0:t.type)&&this.raise(b.BadSetterRestParameter,{at:e})}parseObjectMethod(e,t,s,r,i){if(i){const s=this.parseMethod(e,t,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(s),s}if(s||t||this.match(10))return r&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,s,!1,!1,"ObjectMethod")}parseObjectProperty(e,t,s,r,i){if(e.shorthand=!1,this.eat(14))return e.value=r?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i),this.finishNode(e,"ObjectProperty");if(!e.computed&&"Identifier"===e.key.type){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),r)e.value=this.parseMaybeDefault(t,s,gt(e.key));else if(this.match(29)){const r=this.state.startLoc;null!=i?null===i.shorthandAssignLoc&&(i.shorthandAssignLoc=r):this.raise(b.InvalidCoverInitializedName,{at:r}),e.value=this.parseMaybeDefault(t,s,gt(e.key))}else e.value=gt(e.key);return e.shorthand=!0,this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,s,r,i,n,a,o){const c=this.parseObjectMethod(e,r,i,n,a)||this.parseObjectProperty(e,t,s,n,o);return c||this.unexpected(),c}parsePropertyName(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:s,value:r}=this.state;let i;if(G(s))i=this.parseIdentifier(!0);else switch(s){case 130:i=this.parseNumericLiteral(r);break;case 129:i=this.parseStringLiteral(r);break;case 131:i=this.parseBigIntLiteral(r);break;case 132:i=this.parseDecimalLiteral(r);break;case 134:{const e=this.state.startLoc;null!=t?null===t.privateKeyLoc&&(t.privateKeyLoc=e):this.raise(b.UnexpectedPrivateField,{at:e}),i=this.parsePrivateName();break}default:throw this.unexpected()}e.key=i,134!==s&&(e.computed=!1)}return e.key}initFunction(e,t){e.id=null,e.generator=!1,e.async=!!t}parseMethod(e,t,s,r,i,n,a=!1){this.initFunction(e,s),e.generator=!!t;const o=r;this.scope.enter(18|(a?Ee:0)|(i?32:0)),this.prodParam.enter(ht(s,e.generator)),this.parseFunctionParams(e,o);const c=this.parseFunctionBodyAndFinish(e,n,!0);return this.prodParam.exit(),this.scope.exit(),c}parseArrayLike(e,t,s,r){s&&this.expectPlugin("recordAndTuple");const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const n=this.startNode();return this.next(),n.elements=this.parseExprList(e,!s,r,n),this.state.inFSharpPipelineDirectBody=i,this.finishNode(n,s?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,s,r){this.scope.enter(6);let i=ht(s,!1);!this.match(5)&&this.prodParam.hasIn&&(i|=8),this.prodParam.enter(i),this.initFunction(e,s);const n=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=n,this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,s){this.toAssignableList(t,s,!1),e.params=t}parseFunctionBodyAndFinish(e,t,s=!1){return this.parseFunctionBody(e,!1,s),this.finishNode(e,t)}parseFunctionBody(e,t,s=!1){const r=t&&!this.match(5);if(this.expressionScope.enter(lt()),r)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{const r=this.state.strict,i=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),e.body=this.parseBlock(!0,!1,(i=>{const n=!this.isSimpleParamList(e.params);i&&n&&this.raise(b.IllegalLanguageModeDirective,{at:"method"!==e.kind&&"constructor"!==e.kind||!e.key?e:e.key.loc.end});const a=!r&&this.state.strict;this.checkParams(e,!(this.state.strict||t||s||n),t,a),this.state.strict&&e.id&&this.checkIdentifier(e.id,65,a)})),this.prodParam.exit(),this.state.labels=i}this.expressionScope.exit()}isSimpleParameter(e){return"Identifier"===e.type}isSimpleParamList(e){for(let t=0,s=e.length;t<s;t++)if(!this.isSimpleParameter(e[t]))return!1;return!0}checkParams(e,t,s,r=!0){const i=!t&&new Set,n={type:"FormalParameters"};for(const t of e.params)this.checkLVal(t,{in:n,binding:5,checkClashes:i,strictModeChanged:r})}parseExprList(e,t,s,r){const i=[];let n=!0;for(;!this.eat(e);){if(n)n=!1;else if(this.expect(12),this.match(e)){r&&this.addTrailingCommaExtraToNode(r),this.next();break}i.push(this.parseExprListItem(t,s))}return i}parseExprListItem(e,t,s){let r;if(this.match(12))e||this.raise(b.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),r=null;else if(this.match(21)){const e=this.state.start,s=this.state.startLoc;r=this.parseParenItem(this.parseSpread(t),e,s)}else if(this.match(17)){this.expectPlugin("partialApplication"),s||this.raise(b.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});const e=this.startNode();this.next(),r=this.finishNode(e,"ArgumentPlaceholder")}else r=this.parseMaybeAssignAllowIn(t,this.parseParenItem);return r}parseIdentifier(e){const t=this.startNode(),s=this.parseIdentifierName(t.start,e);return this.createIdentifier(t,s)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}parseIdentifierName(e,t){let s;const{startLoc:r,type:i}=this.state;if(!G(i))throw this.unexpected();s=this.state.value;const n=function(e){return e<=92}(i);return t?n&&this.replaceToken(128):this.checkReservedWord(s,r,n,!1),this.next(),s}checkReservedWord(e,t,s,r){if(e.length>10)return;if(!function(e){return be.has(e)}(e))return;if("yield"===e){if(this.prodParam.hasYield)return void this.raise(b.YieldBindingIdentifier,{at:t})}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(b.AwaitBindingIdentifier,{at:t});if(this.scope.inStaticBlock)return void this.raise(b.AwaitBindingIdentifierInStaticBlock,{at:t});this.expressionScope.recordAsyncArrowParametersError({at:t})}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(b.ArgumentsInClass,{at:t});if(s&&function(e){return de.has(e)}(e))return void this.raise(b.UnexpectedKeyword,{at:t,keyword:e});(this.state.strict?r?ve:ge:ye)(e,this.inModule)&&this.raise(b.UnexpectedReservedWord,{at:t,reservedWord:e})}isAwaitAllowed(){return!!this.prodParam.hasAwait||!(!this.options.allowAwaitOutsideFunction||this.scope.inFunction)}parseAwait(e,t){const s=this.startNodeAt(e,t);return this.expressionScope.recordParameterInitializerError(b.AwaitExpressionFormalParameter,{at:s}),this.eat(55)&&this.raise(b.ObsoleteAwaitStar,{at:s}),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(s.argument=this.parseMaybeUnary(null,!0)),this.finishNode(s,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;const{type:e}=this.state;return 53===e||10===e||0===e||ee(e)||133===e||56===e||this.hasPlugin("v8intrinsic")&&54===e}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(b.YieldInParameter,{at:e}),this.next();let t=!1,s=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(55),this.state.type){case 13:case 135:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:s=this.parseMaybeAssign()}return e.delegate=t,e.argument=s,this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===e.type&&this.raise(b.PipelineHeadSequenceExpression,{at:t})}parseSmartPipelineBodyInStyle(e,t,s){if(this.isSimpleReference(e)){const r=this.startNodeAt(t,s);return r.callee=e,this.finishNode(r,"PipelineBareFunction")}{const r=this.startNodeAt(t,s);return this.checkSmartPipeTopicBodyEarlyErrors(s),r.expression=e,this.finishNode(r,"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(b.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(b.PipelineTopicUnused,{at:e})}withTopicBindingContext(e){const 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"}]))return e();{const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();if(8&~t){this.prodParam.enter(8|t);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();if(8&t){this.prodParam.enter(-9&t);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start,s=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const i=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,s,e);return this.state.inFSharpPipelineDirectBody=r,i}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next(),this.eat(5);const t=this.initializeScopes(!0);this.enterInitialScopes();const s=this.startNode();try{e.body=this.parseProgram(s,8,"module")}finally{t()}return this.eat(8),this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}}const Kt={kind:"loop"},Yt={kind:"switch"},Qt=/[\uD800-\uDFFF]/u,Zt=/in(?:stanceof)?/y;class es extends Xt{parseTopLevel(e,t){return e.program=this.parseProgram(t),e.comments=this.state.comments,this.options.tokens&&(e.tokens=function(e,t){for(let s=0;s<e.length;s++){const r=e[s],{type:i}=r;if("number"==typeof i){if(134===i){const{loc:t,start:i,value:a,end:o}=r,c=i+1,u=n(t.start,1);e.splice(s,1,new Ze({type:te(27),value:"#",start:i,end:c,startLoc:t.start,endLoc:u}),new Ze({type:te(128),value:a,start:c,end:o,startLoc:u,endLoc:t.end})),s++;continue}if(ee(i)){const{loc:a,start:o,value:c,end:u}=r,l=o+1,p=n(a.start,1);let h,d,m,f,y;h=96===t.charCodeAt(o)?new Ze({type:te(22),value:"`",start:o,end:l,startLoc:a.start,endLoc:p}):new Ze({type:te(8),value:"}",start:o,end:l,startLoc:a.start,endLoc:p}),24===i?(m=u-1,f=n(a.end,-1),d=null===c?null:c.slice(1,-1),y=new Ze({type:te(22),value:"`",start:m,end:u,startLoc:f,endLoc:a.end})):(m=u-2,f=n(a.end,-2),d=null===c?null:c.slice(1,-2),y=new Ze({type:te(23),value:"${",start:m,end:u,startLoc:f,endLoc:a.end})),e.splice(s,1,h,new Ze({type:te(20),value:d,start:l,end:m,startLoc:p,endLoc:f}),y),s+=2;continue}r.type=te(i)}}return e}(this.tokens,this.input)),this.finishNode(e,"File")}parseProgram(e,t=135,s=this.options.sourceType){if(e.sourceType=s,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,t),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(const[e,t]of Array.from(this.scope.undefinedExports))this.raise(b.ModuleExportUndefined,{at:t,localName:e});return this.finishNode(e,"Program")}stmtToDirective(e){const t=e;t.type="Directive",t.value=t.expression,delete t.expression;const s=t.value,r=s.value,i=this.input.slice(s.start,s.end),n=s.value=i.slice(1,-1);return this.addExtra(s,"raw",i),this.addExtra(s,"rawValue",n),this.addExtra(s,"expressionValue",r),s.type="DirectiveLiteral",t}parseInterpreterDirective(){if(!this.match(28))return null;const e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}isLet(e){return!!this.isContextual(99)&&this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart(),s=this.codePointAtPos(t);if(92===s||91===s)return!0;if(e)return!1;if(123===s)return!0;if(ue(s)){if(Zt.lastIndex=t,Zt.test(this.input)){const e=this.codePointAtPos(Zt.lastIndex);if(!le(e)&&92!==e)return!1}return!0}return!1}parseStatement(e,t){return this.match(26)&&this.parseDecorators(!0),this.parseStatementContent(e,t)}parseStatementContent(e,t){let s=this.state.type;const r=this.startNode();let i;switch(this.isLet(e)&&(s=74,i="let"),s){case 60:return this.parseBreakContinueStatement(r,!0);case 63:return this.parseBreakContinueStatement(r,!1);case 64:return this.parseDebuggerStatement(r);case 90:return this.parseDoStatement(r);case 91:return this.parseForStatement(r);case 68:if(46===this.lookaheadCharCode())break;return e&&(this.state.strict?this.raise(b.StrictFunction,{at:this.state.startLoc}):"if"!==e&&"label"!==e&&this.raise(b.SloppyFunction,{at:this.state.startLoc})),this.parseFunctionStatement(r,!1,!e);case 80:return e&&this.unexpected(),this.parseClass(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 75:case 74:return i=i||this.state.value,e&&"var"!==i&&this.raise(b.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(r,i);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:{const e=this.lookaheadCharCode();if(40===e||46===e)break}case 82:{let e;return this.options.allowImportExportEverywhere||t||this.raise(b.UnexpectedImportExport,{at:this.state.startLoc}),this.next(),83===s?(e=this.parseImport(r),"ImportDeclaration"!==e.type||e.importKind&&"value"!==e.importKind||(this.sawUnambiguousESM=!0)):(e=this.parseExport(r),("ExportNamedDeclaration"!==e.type||e.exportKind&&"value"!==e.exportKind)&&("ExportAllDeclaration"!==e.type||e.exportKind&&"value"!==e.exportKind)&&"ExportDefaultDeclaration"!==e.type||(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(e),e}default:if(this.isAsyncFunction())return e&&this.raise(b.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(r,!0,!e)}const n=this.state.value,a=this.parseExpression();return V(s)&&"Identifier"===a.type&&this.eat(14)?this.parseLabeledStatement(r,n,a,e):this.parseExpressionStatement(r,a)}assertModuleNodeAllowed(e){this.options.allowImportExportEverywhere||this.inModule||this.raise(b.ImportOutsideModule,{at:e})}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];t.length&&(e.decorators=t,this.resetStartLocationFromNode(e,t[0]),this.state.decoratorStack[this.state.decoratorStack.length-1]=[])}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];for(;this.match(26);){const e=this.parseDecorator();t.push(e)}if(this.match(82))e||this.unexpected(),this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(b.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(b.UnexpectedLeadingDecorator,{at:this.state.startLoc})}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const e=this.startNode();if(this.next(),this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start,s=this.state.startLoc;let r;if(this.match(10)){const e=this.state.start,t=this.state.startLoc;this.next(),r=this.parseExpression(),this.expect(11),r=this.wrapParenthesis(e,t,r)}else for(r=this.parseIdentifier(!1);this.eat(16);){const e=this.startNodeAt(t,s);e.object=r,e.property=this.parseIdentifier(!0),e.computed=!1,r=this.finishNode(e,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(r),this.state.decoratorStack.pop()}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(10)){const 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 s;for(s=0;s<this.state.labels.length;++s){const r=this.state.labels[s];if(null==e.label||r.name===e.label.name){if(null!=r.kind&&(t||"loop"===r.kind))break;if(e.label&&t)break}}if(s===this.state.labels.length){const s=t?"BreakStatement":"ContinueStatement";this.raise(b.IllegalBreakContinue,{at:e,type:s})}}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const e=this.parseExpression();return this.expect(11),e}parseDoStatement(e){return this.next(),this.state.labels.push(Kt),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("do"))),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(Kt);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(t=this.state.lastTokStartLoc),this.scope.enter(0),this.expect(10),this.match(13))return null!==t&&this.unexpected(t),this.parseFor(e,null);const s=this.isContextual(99),r=s&&this.isLetKeyword();if(this.match(74)||this.match(75)||r){const s=this.startNode(),i=r?"let":this.state.value;this.next(),this.parseVar(s,!0,i);const n=this.finishNode(s,"VariableDeclaration");return(this.match(58)||this.isContextual(101))&&1===n.declarations.length?this.parseForIn(e,n,t):(null!==t&&this.unexpected(t),this.parseFor(e,n))}const i=this.isContextual(95),n=new mt,a=this.parseExpression(!0,n),o=this.isContextual(101);if(o&&(s&&this.raise(b.ForOfLet,{at:a}),null===t&&i&&"Identifier"===a.type&&this.raise(b.ForOfAsync,{at:a})),o||this.match(58)){this.checkDestructuringPrivate(n),this.toAssignable(a,!0);const s=o?"ForOfStatement":"ForInStatement";return this.checkLVal(a,{in:{type:s}}),this.parseForIn(e,a,t)}return this.checkExpressionErrors(n,!0),null!==t&&this.unexpected(t),this.parseFor(e,a)}parseFunctionStatement(e,t,s){return this.next(),this.parseFunction(e,1|(s?0:2),t)}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(66)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(b.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();const t=e.cases=[];let s;this.expect(5),this.state.labels.push(Yt),this.scope.enter(0);for(let e;!this.match(8);)if(this.match(61)||this.match(65)){const r=this.match(61);s&&this.finishNode(s,"SwitchCase"),t.push(s=this.startNode()),s.consequent=[],this.next(),r?s.test=this.parseExpression():(e&&this.raise(b.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),e=!0,s.test=null),this.expect(14)}else s?s.consequent.push(this.parseStatement(null)):this.unexpected();return this.scope.exit(),s&&this.finishNode(s,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(b.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom(),t="Identifier"===e.type;return this.scope.enter(t?8:0),this.checkLVal(e,{in:{type:"CatchClause"},binding:9,allowingSloppyLetBinding:!0}),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(62)){const t=this.startNode();this.next(),this.match(10)?(this.expect(10),t.param=this.parseCatchClauseParam(),this.expect(11)):(t.param=null,this.scope.enter(0)),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(b.NoCatchOrFinally,{at:e}),this.finishNode(e,"TryStatement")}parseVarStatement(e,t,s=!1){return this.next(),this.parseVar(e,!1,t,s),this.semicolon(),this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(Kt),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("while"))),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(b.StrictWith,{at:this.state.startLoc}),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("with"))),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,s,r){for(const e of this.state.labels)e.name===t&&this.raise(b.LabelRedeclaration,{at:s,labelName:t});const i=function(e){return e>=90&&e<=92}(this.state.type)?"loop":this.match(71)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){const s=this.state.labels[t];if(s.statementStart!==e.start)break;s.statementStart=this.state.start,s.kind=i}return this.state.labels.push({name:t,kind:i,statementStart:this.state.start}),e.body=this.parseStatement(r?-1===r.indexOf("label")?r+"label":r:"label"),this.state.labels.pop(),e.label=s,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")}parseBlock(e=!1,t=!0,s){const r=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(0),this.parseBlockBody(r,e,!1,8,s),t&&this.scope.exit(),this.finishNode(r,"BlockStatement")}isValidDirective(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized}parseBlockBody(e,t,s,r,i){const n=e.body=[],a=e.directives=[];this.parseBlockOrModuleBlockBody(n,t?a:void 0,s,r,i)}parseBlockOrModuleBlockBody(e,t,s,r,i){const n=this.state.strict;let a=!1,o=!1;for(;!this.match(r);){const r=this.parseStatement(null,s);if(t&&!o){if(this.isValidDirective(r)){const e=this.stmtToDirective(r);t.push(e),a||"use strict"!==e.value.value||(a=!0,this.setStrict(!0));continue}o=!0,this.state.strictErrors.clear()}e.push(r)}i&&i.call(this,a),n||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("for"))),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,t,s){const r=this.match(58);return this.next(),r?null!==s&&this.unexpected(s):e.await=null!==s,"VariableDeclaration"!==t.type||null==t.declarations[0].init||r&&!this.state.strict&&"var"===t.kind&&"Identifier"===t.declarations[0].id.type||this.raise(b.ForInOfLoopInitializer,{at:t,type:r?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===t.type&&this.raise(b.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("for"))),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")}parseVar(e,t,s,r=!1){const i=e.declarations=[];for(e.kind=s;;){const e=this.startNode();if(this.parseVarId(e,s),e.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,null!==e.init||r||("Identifier"===e.id.type||t&&(this.match(58)||this.isContextual(101))?"const"!==s||this.match(58)||this.isContextual(101)||this.raise(b.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"}):this.raise(b.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"})),i.push(this.finishNode(e,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,{in:{type:"VariableDeclarator"},binding:"var"===t?5:9})}parseFunction(e,t=0,s=!1){const r=1&t,i=2&t,n=!(!r||4&t);this.initFunction(e,s),this.match(55)&&i&&this.raise(b.GeneratorInSingleStatementContext,{at:this.state.startLoc}),e.generator=this.eat(55),r&&(e.id=this.parseFunctionId(n));const a=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(ht(s,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&&!i&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=a,e}parseFunctionId(e){return e||V(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(new ot(3)),e.params=this.parseBindingList(11,41,!1,t),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:9:17,e.id.loc.start)}parseClass(e,t,s){this.next(),this.takeDecorators(e);const r=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,s),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||"constructor"!==e.key.name&&"constructor"!==e.key.value)}parseClassBody(e,t){this.classScope.enter();const s={hadConstructor:!1,hadSuperClass:e};let r=[];const 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(b.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){r.push(this.parseDecorator());continue}const e=this.startNode();r.length&&(e.decorators=r,this.resetStartLocationFromNode(e,r[0]),r=[]),this.parseClassMember(i,e,s),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&this.raise(b.DecoratorConstructor,{at:e})}})),this.state.strict=t,this.next(),r.length)throw this.raise(b.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){const s=this.parseIdentifier(!0);if(this.isClassMethod()){const r=t;return r.kind="method",r.computed=!1,r.key=s,r.static=!1,this.pushClassMethod(e,r,!1,!1,!1,!1),!0}if(this.isClassProperty()){const r=t;return r.computed=!1,r.key=s,r.static=!1,e.body.push(this.parseClassProperty(r)),!0}return this.resetPreviousNodeTrailingComments(s),!1}parseClassMember(e,t,s){const r=this.isContextual(104);if(r){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,s,r)}parseClassMemberWithIsStatic(e,t,s,r){const i=t,n=t,a=t,o=t,c=t,u=i,l=i;if(t.static=r,this.parsePropertyNamePrefixOperator(t),this.eat(55)){u.kind="method";const t=this.match(134);return this.parseClassElementName(u),t?void this.pushClassPrivateMethod(e,n,!0,!1):(this.isNonstaticConstructor(i)&&this.raise(b.ConstructorIsGenerator,{at:i.key}),void this.pushClassMethod(e,i,!0,!1,!1,!1))}const p=V(this.state.type)&&!this.state.containsEsc,h=this.match(134),d=this.parseClassElementName(t),m=this.state.startLoc;if(this.parsePostMemberNameModifiers(l),this.isClassMethod()){if(u.kind="method",h)return void this.pushClassPrivateMethod(e,n,!1,!1);const r=this.isNonstaticConstructor(i);let a=!1;r&&(i.kind="constructor",s.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(b.DuplicateConstructor,{at:d}),r&&this.hasPlugin("typescript")&&t.override&&this.raise(b.OverrideOnConstructor,{at:d}),s.hadConstructor=!0,a=s.hadSuperClass),this.pushClassMethod(e,i,!1,!1,r,a)}else if(this.isClassProperty())h?this.pushClassPrivateProperty(e,o):this.pushClassProperty(e,a);else if(p&&"async"===d.name&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(d);const t=this.eat(55);l.optional&&this.unexpected(m),u.kind="method";const s=this.match(134);this.parseClassElementName(u),this.parsePostMemberNameModifiers(l),s?this.pushClassPrivateMethod(e,n,t,!0):(this.isNonstaticConstructor(i)&&this.raise(b.ConstructorIsAsync,{at:i.key}),this.pushClassMethod(e,i,t,!0,!1,!1))}else if(!p||"get"!==d.name&&"set"!==d.name||this.match(55)&&this.isLineTerminator())if(p&&"accessor"===d.name&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(d);const t=this.match(134);this.parseClassElementName(a),this.pushClassAccessorProperty(e,c,t)}else this.isLineTerminator()?h?this.pushClassPrivateProperty(e,o):this.pushClassProperty(e,a):this.unexpected();else{this.resetPreviousNodeTrailingComments(d),u.kind=d.name;const t=this.match(134);this.parseClassElementName(i),t?this.pushClassPrivateMethod(e,n,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(b.ConstructorIsAccessor,{at:i.key}),this.pushClassMethod(e,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}}parseClassElementName(e){const{type:t,value:s}=this.state;if(128!==t&&129!==t||!e.static||"prototype"!==s||this.raise(b.StaticPrototype,{at:this.state.startLoc}),134===t){"constructor"===s&&this.raise(b.ConstructorClassPrivateField,{at:this.state.startLoc});const t=this.parsePrivateName();return e.key=t,t}return this.parsePropertyName(e)}parseClassStaticBlock(e,t){var s;this.scope.enter(208);const r=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const 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")),null!=(s=t.decorators)&&s.length&&this.raise(b.DecoratorStaticBlock,{at:t})}pushClassProperty(e,t){t.computed||"constructor"!==t.key.name&&"constructor"!==t.key.value||this.raise(b.ConstructorClassField,{at:t.key}),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const s=this.parseClassPrivateProperty(t);e.body.push(s),this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),0,s.key.loc.start)}pushClassAccessorProperty(e,t,s){if(!s&&!t.computed){const e=t.key;"constructor"!==e.name&&"constructor"!==e.value||this.raise(b.ConstructorClassField,{at:e})}const r=this.parseClassAccessorProperty(t);e.body.push(r),s&&this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.loc.start)}pushClassMethod(e,t,s,r,i,n){e.body.push(this.parseMethod(t,s,r,i,n,"ClassMethod",!0))}pushClassPrivateMethod(e,t,s,r){const i=this.parseMethod(t,s,r,!1,!1,"ClassPrivateMethod",!0);e.body.push(i);const n="get"===i.kind?i.static?6:2:"set"===i.kind?i.static?5:1:0;this.declareClassPrivateMethodInScope(i,n)}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(80),this.expressionScope.enter(lt()),this.prodParam.enter(0),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,s,r=139){if(V(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,r);else{if(!s&&t)throw this.raise(b.MissingClassName,{at:this.state.startLoc});e.id=null}}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e),s=!t||this.eat(12),r=s&&this.eatExportStar(e),i=r&&this.maybeParseExportNamespaceSpecifier(e),n=s&&(!i||this.eat(12)),a=t||r;if(r&&!i)return t&&this.unexpected(),this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration");const o=this.maybeParseExportNamedSpecifiers(e);if(t&&s&&!r&&!o||i&&n&&!o)throw this.unexpected(null,5);let c;if(a||o?(c=!1,this.parseExportFrom(e,a)):c=this.maybeParseExportDeclaration(e),a||o||c)return this.checkExport(e,!0,!1,!!e.source),this.finishNode(e,"ExportNamedDeclaration");if(this.eat(65))return e.declaration=this.parseExportDefaultExpression(),this.checkExport(e,!0,!0),this.finishNode(e,"ExportDefaultDeclaration");throw this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const 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||(e.specifiers=[]);const t=this.startNodeAt(this.state.lastTokStart,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||(e.specifiers=[]);const t="type"===e.exportKind;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)}isAsyncFunction(){if(!this.isContextual(95))return!1;const e=this.nextTokenStart();return!_e.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode(),t=this.isAsyncFunction();if(this.match(68)||t)return this.next(),t&&this.next(),this.parseFunction(e,5,t);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(b.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseDecorators(!1),this.parseClass(e,!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(b.UnsupportedDefaultExport,{at:this.state.startLoc});const s=this.parseMaybeAssignAllowIn();return this.semicolon(),s}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){const{type:e}=this.state;if(V(e)){if(95===e&&!this.state.containsEsc||99===e)return!1;if((126===e||125===e)&&!this.state.containsEsc){const{type:e}=this.lookahead();if(V(e)&&97!==e||5===e)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const t=this.nextTokenStart(),s=this.isUnparsedContextual(t,"from");if(44===this.input.charCodeAt(t)||V(this.state.type)&&s)return!0;if(this.match(65)&&s){const e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return 34===e||39===e}return!1}parseExportFrom(e,t){if(this.eatContextual(97)){e.source=this.parseImportSource(),this.checkExport(e);const t=this.maybeParseImportAssertions();t&&(e.assertions=t,this.checkJSONModuleImport(e))}else t&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){const{type:e}=this.state;if(26===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))){if(this.getPluginOption("decorators","decoratorsBeforeExport"))throw this.raise(b.DecoratorBeforeExport,{at:this.state.startLoc});return!0}return 74===e||75===e||68===e||80===e||this.isLet()||this.isAsyncFunction()}checkExport(e,t,s,r){if(t)if(s){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var i;const t=e.declaration;"Identifier"!==t.type||"from"!==t.name||t.end-t.start!=4||null!=(i=t.extra)&&i.parenthesized||this.raise(b.ExportDefaultFromAsIdentifier,{at:t})}}else if(e.specifiers&&e.specifiers.length)for(const t of e.specifiers){const{exported:e}=t,s="Identifier"===e.type?e.name:e.value;if(this.checkDuplicateExports(t,s),!r&&t.local){const{local:e}=t;"Identifier"!==e.type?this.raise(b.ExportBindingIsString,{at:t,localName:e.value,exportName:s}):(this.checkReservedWord(e.name,e.loc.start,!0,!1),this.scope.checkLocalExport(e))}}else if(e.declaration)if("FunctionDeclaration"===e.declaration.type||"ClassDeclaration"===e.declaration.type){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if("VariableDeclaration"===e.declaration.type)for(const t of e.declaration.declarations)this.checkDeclaration(t.id);if(this.state.decoratorStack[this.state.decoratorStack.length-1].length)throw this.raise(b.UnsupportedDecoratorExport,{at:e})}checkDeclaration(e){if("Identifier"===e.type)this.checkDuplicateExports(e,e.name);else if("ObjectPattern"===e.type)for(const t of e.properties)this.checkDeclaration(t);else if("ArrayPattern"===e.type)for(const t of e.elements)t&&this.checkDeclaration(t);else"ObjectProperty"===e.type?this.checkDeclaration(e.value):"RestElement"===e.type?this.checkDeclaration(e.argument):"AssignmentPattern"===e.type&&this.checkDeclaration(e.left)}checkDuplicateExports(e,t){this.exportedIdentifiers.has(t)&&("default"===t?this.raise(b.DuplicateDefaultExport,{at:e}):this.raise(b.DuplicateExport,{at:e,exportName:t})),this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){const t=[];let s=!0;for(this.expect(5);!this.eat(8);){if(s)s=!1;else if(this.expect(12),this.eat(8))break;const r=this.isContextual(126),i=this.match(129),n=this.startNode();n.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(n,i,e,r))}return t}parseExportSpecifier(e,t,s,r){return this.eatContextual(93)?e.exported=this.parseModuleExportName():t?e.exported=xt(e.local):e.exported||(e.exported=gt(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(129)){const e=this.parseStringLiteral(this.state.value),t=e.value.match(Qt);return t&&this.raise(b.ModuleExportNameHasLoneSurrogate,{at:e,surrogateCharCode:t[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}isJSONModuleImport(e){return null!=e.assertions&&e.assertions.some((({key:e,value:t})=>"json"===t.value&&("Identifier"===e.type?"type"===e.name:"type"===e.value)))}checkJSONModuleImport(e){if(this.isJSONModuleImport(e)&&"ExportAllDeclaration"!==e.type){const{specifiers:t}=e;if(null!=e.specifiers){const e=t.find((e=>{let t;if("ExportSpecifier"===e.type?t=e.local:"ImportSpecifier"===e.type&&(t=e.imported),void 0!==t)return"Identifier"===t.type?"default"!==t.name:"default"!==t.value}));void 0!==e&&this.raise(b.ImportJSONBindingNotDefault,{at:e.loc.start})}}}parseImport(e){if(e.specifiers=[],!this.match(129)){const t=!this.maybeParseDefaultImportSpecifier(e)||this.eat(12),s=t&&this.maybeParseStarImportSpecifier(e);t&&!s&&this.parseNamedImportSpecifiers(e),this.expectContextual(97)}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t)e.assertions=t;else{const t=this.maybeParseModuleAttributes();t&&(e.attributes=t)}return this.checkJSONModuleImport(e),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(129)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(e){return V(this.state.type)}parseImportSpecifierLocal(e,t,s){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,s))}finishImportSpecifier(e,t){return this.checkLVal(e.local,{in:e,binding:9}),this.finishNode(e,t)}parseAssertEntries(){const e=[],t=new Set;do{if(this.match(8))break;const s=this.startNode(),r=this.state.value;if(t.has(r)&&this.raise(b.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:r}),t.add(r),this.match(129)?s.key=this.parseStringLiteral(r):s.key=this.parseIdentifier(!0),this.expect(14),!this.match(129))throw this.raise(b.ModuleAttributeInvalidValue,{at:this.state.startLoc});s.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return e}maybeParseModuleAttributes(){if(!this.match(76)||this.hasPrecedingLineBreak())return this.hasPlugin("moduleAttributes")?[]:null;this.expectPlugin("moduleAttributes"),this.next();const e=[],t=new Set;do{const s=this.startNode();if(s.key=this.parseIdentifier(!0),"type"!==s.key.name&&this.raise(b.ModuleAttributeDifferentFromType,{at:s.key}),t.has(s.key.name)&&this.raise(b.ModuleAttributesWithDuplicateKeys,{at:s.key,key:s.key.name}),t.add(s.key.name),this.expect(14),!this.match(129))throw this.raise(b.ModuleAttributeInvalidValue,{at:this.state.startLoc});s.value=this.parseStringLiteral(this.state.value),this.finishNode(s,"ImportAttribute"),e.push(s)}while(this.eat(12));return e}maybeParseImportAssertions(){if(!this.isContextual(94)||this.hasPrecedingLineBreak())return this.hasPlugin("importAssertions")?[]:null;this.expectPlugin("importAssertions"),this.next(),this.eat(5);const e=this.parseAssertEntries();return this.eat(8),e}maybeParseDefaultImportSpecifier(e){return!!this.shouldParseDefaultImport(e)&&(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(e){if(this.match(55)){const 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(b.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}const s=this.startNode(),r=this.match(129),i=this.isContextual(126);s.imported=this.parseModuleExportName();const n=this.parseImportSpecifier(s,r,"type"===e.importKind||"typeof"===e.importKind,i);e.specifiers.push(n)}}parseImportSpecifier(e,t,s,r){if(this.eatContextual(93))e.local=this.parseIdentifier();else{const{imported:s}=e;if(t)throw this.raise(b.ImportBindingIsString,{at:e,importName:s.value});this.checkReservedWord(s.name,e.loc.start,!0,!0),e.local||(e.local=gt(s))}return this.finishImportSpecifier(e,"ImportSpecifier")}isThisParam(e){return"Identifier"===e.type&&"this"===e.name}}class ts extends es{constructor(e,t){super(e=function(e){const t={};for(const s of Object.keys(Gt))t[s]=e&&null!=e[s]?e[s]:Gt[s];return t}(e),t),this.options=e,this.initializeScopes(),this.plugins=function(e){const t=new Map;for(const s of e){const[e,r]=Array.isArray(s)?s:[s,{}];t.has(e)||t.set(e,r||{})}return t}(this.options.plugins),this.filename=e.sourceFilename}getScopeHandler(){return st}parse(){this.enterInitialScopes();const e=this.startNode(),t=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,t),e.errors=this.state.errors,e}}const ss=function(e){const t={};for(const s of Object.keys(e))t[s]=te(e[s]);return t}(H);function rs(e,t){let s=ts;return null!=e&&e.plugins&&(!function(e){if(Rt(e,"decorators")){if(Rt(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const t=Ut(e,"decorators","decoratorsBeforeExport");if(null==t)throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'.");if("boolean"!=typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean.")}if(Rt(e,"flow")&&Rt(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(Rt(e,"placeholders")&&Rt(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(Rt(e,"pipelineOperator")){const t=Ut(e,"pipelineOperator","proposal");if(!qt.includes(t)){const e=qt.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}const s=Rt(e,["recordAndTuple",{syntaxType:"hash"}]);if("hack"===t){if(Rt(e,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(Rt(e,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const t=Ut(e,"pipelineOperator","topicToken");if(!zt.includes(t)){const e=zt.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if("#"===t&&s)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if("smart"===t&&s)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(Rt(e,"moduleAttributes")){if(Rt(e,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if("may-2020"!==Ut(e,"moduleAttributes","version"))throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(Rt(e,"recordAndTuple")&&!$t.includes(Ut(e,"recordAndTuple","syntaxType")))throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+$t.map((e=>`'${e}'`)).join(", "));if(Rt(e,"asyncDoExpressions")&&!Rt(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}}(e.plugins),s=function(e){const t=Vt.filter((t=>Rt(e,t))),s=t.join("/");let r=is[s];if(!r){r=ts;for(const e of t)r=Ht[e](r);is[s]=r}return r}(e.plugins)),new s(e,t)}const is={};t.parse=function(e,t){var s;if("unambiguous"!==(null==(s=t)?void 0:s.sourceType))return rs(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";const s=rs(t,e),r=s.parse();if(s.sawUnambiguousESM)return r;if(s.ambiguousScriptDifferentAst)try{return t.sourceType="script",rs(t,e).parse()}catch(e){}else r.program.sourceType="script";return r}catch(s){try{return t.sourceType="script",rs(t,e).parse()}catch(e){}throw s}},t.parseExpression=function(e,t){const s=rs(t,e);return s.options.strictMode&&(s.state.strict=!0),s.getExpression()},t.tokTypes=ss}));ee(yi);var gi=yi.parse,xi=yi.parseExpression;let vi,bi;yi.tokTypes;class Ei{constructor(){this._indexes={__proto__:null},this.array=[]}}vi=(e,t)=>e._indexes[t],bi=(e,t)=>{const s=vi(e,t);if(void 0!==s)return s;const{array:r,_indexes:i}=e;return i[t]=r.push(t)-1};const Ci=",".charCodeAt(0),Ai=";".charCodeAt(0),wi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Di=new Uint8Array(64),Ti=new Uint8Array(128);for(let e=0;e<64;e++){const t=wi.charCodeAt(e);Di[e]=t,Ti[t]=e}const Pi="undefined"!=typeof TextDecoder?new TextDecoder:"undefined"!=typeof Buffer?{decode:e=>Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let s=0;s<e.length;s++)t+=String.fromCharCode(e[s]);return t}};function Si(e,t){const s=e.indexOf(";",t);return-1===s?e.length:s}function ki(e,t,s,r){let i=0,n=0,a=0;do{const s=e.charCodeAt(t++);a=Ti[s],i|=(31&a)<<n,n+=5}while(32&a);const o=1&i;return i>>>=1,o&&(i=-2147483648|-i),s[r]+=i,t}function Ni(e,t,s){return!(t>=s)&&e.charCodeAt(t)!==Ci}function Fi(e){e.sort(Ii)}function Ii(e,t){return e[0]-t[0]}function _i(e){const t=new Int32Array(5),s=16384,r=16348,i=new Uint8Array(s),n=i.subarray(0,r);let a=0,o="";for(let c=0;c<e.length;c++){const u=e[c];if(c>0&&(a===s&&(o+=Pi.decode(i),a=0),i[a++]=Ai),0!==u.length){t[0]=0;for(let e=0;e<u.length;e++){const s=u[e];a>r&&(o+=Pi.decode(n),i.copyWithin(0,r,a),a-=r),e>0&&(i[a++]=Ci),a=Oi(i,a,t,s,0),1!==s.length&&(a=Oi(i,a,t,s,1),a=Oi(i,a,t,s,2),a=Oi(i,a,t,s,3),4!==s.length&&(a=Oi(i,a,t,s,4)))}}}return o+Pi.decode(i.subarray(0,a))}function Oi(e,t,s,r,i){const n=r[i];let a=n-s[i];s[i]=n,a=a<0?-a<<1|1:a<<1;do{let s=31&a;a>>>=5,a>0&&(s|=32),e[t++]=Di[s]}while(a>0);return t}const ji=/^[\w+.-]+:\/\//,Bi=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,Li=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var Mi;function Ri(e){return e.startsWith("/")}function Ui(e){return/^[.?#]/.test(e)}function qi(e){const t=Bi.exec(e);return zi(t[1],t[2]||"",t[3],t[4]||"",t[5]||"/",t[6]||"",t[7]||"")}function zi(e,t,s,r,i,n,a){return{scheme:e,user:t,host:s,port:r,path:i,query:n,hash:a,type:Mi.Absolute}}function $i(e){if(function(e){return e.startsWith("//")}(e)){const t=qi("http:"+e);return t.scheme="",t.type=Mi.SchemeRelative,t}if(Ri(e)){const t=qi("http://foo.com"+e);return t.scheme="",t.host="",t.type=Mi.AbsolutePath,t}if(function(e){return e.startsWith("file:")}(e))return function(e){const t=Li.exec(e),s=t[2];return zi("file:","",t[1]||"","",Ri(s)?s:"/"+s,t[3]||"",t[4]||"")}(e);if(function(e){return ji.test(e)}(e))return qi(e);const t=qi("http://foo.com/"+e);return t.scheme="",t.host="",t.type=e?e.startsWith("?")?Mi.Query:e.startsWith("#")?Mi.Hash:Mi.RelativePath:Mi.Empty,t}function Hi(e,t){const s=t<=Mi.RelativePath,r=e.path.split("/");let i=1,n=0,a=!1;for(let e=1;e<r.length;e++){const t=r[e];t?(a=!1,"."!==t&&(".."!==t?(r[i++]=t,n++):n?(a=!0,n--,i--):s&&(r[i++]=t))):a=!0}let o="";for(let e=1;e<i;e++)o+="/"+r[e];(!o||a&&!o.endsWith("/.."))&&(o+="/"),e.path=o}function Vi(e,t){if(!e&&!t)return"";const s=$i(e);let r=s.type;if(t&&r!==Mi.Absolute){const e=$i(t),i=e.type;switch(r){case Mi.Empty:s.hash=e.hash;case Mi.Hash:s.query=e.query;case Mi.Query:case Mi.RelativePath:!function(e,t){Hi(t,t.type),"/"===e.path?e.path=t.path:e.path=function(e){if(e.endsWith("/.."))return e;const t=e.lastIndexOf("/");return e.slice(0,t+1)}(t.path)+e.path}(s,e);case Mi.AbsolutePath:s.user=e.user,s.host=e.host,s.port=e.port;case Mi.SchemeRelative:s.scheme=e.scheme}i>r&&(r=i)}Hi(s,r);const i=s.query+s.hash;switch(r){case Mi.Hash:case Mi.Query:return i;case Mi.RelativePath:{const r=s.path.slice(1);return r?Ui(t||e)&&!Ui(r)?"./"+r+i:r+i:i||"."}case Mi.AbsolutePath:return s.path+i;default:return s.scheme+"//"+s.user+s.host+s.port+s.path+i}}function Gi(e,t){return t&&!t.endsWith("/")&&(t+="/"),Vi(e,t)}!function(e){e[e.Empty=1]="Empty",e[e.Hash=2]="Hash",e[e.Query=3]="Query",e[e.RelativePath=4]="RelativePath",e[e.AbsolutePath=5]="AbsolutePath",e[e.SchemeRelative=6]="SchemeRelative",e[e.Absolute=7]="Absolute"}(Mi||(Mi={}));const Wi=0;function Ji(e,t){for(let s=t;s<e.length;s++)if(!Xi(e[s]))return s;return e.length}function Xi(e){for(let t=1;t<e.length;t++)if(e[t][Wi]<e[t-1][Wi])return!1;return!0}function Ki(e,t){return t||(e=e.slice()),e.sort(Yi)}function Yi(e,t){return e[Wi]-t[Wi]}let Qi;class Zi{constructor(e,t){const s="string"==typeof e;if(!s&&e._decodedMemo)return e;const r=s?JSON.parse(e):e,{version:i,file:n,names:a,sourceRoot:o,sources:c,sourcesContent:u}=r;this.version=i,this.file=n,this.names=a,this.sourceRoot=o,this.sources=c,this.sourcesContent=u;const l=Gi(o||"",function(e){if(!e)return"";const t=e.lastIndexOf("/");return e.slice(0,t+1)}(t));this.resolvedSources=c.map((e=>Gi(e||"",l)));const{mappings:p}=r;"string"==typeof p?(this._encoded=p,this._decoded=void 0):(this._encoded=void 0,this._decoded=function(e,t){const s=Ji(e,0);if(s===e.length)return e;t||(e=e.slice());for(let r=s;r<e.length;r=Ji(e,r+1))e[r]=Ki(e[r],t);return e}(p,s)),this._decodedMemo={lastKey:-1,lastNeedle:-1,lastIndex:-1},this._bySources=void 0,this._bySourceMemos=void 0}}Qi=e=>e._decoded||(e._decoded=function(e){const t=new Int32Array(5),s=[];let r=0;do{const i=Si(e,r),n=[];let a=!0,o=0;t[0]=0;for(let s=r;s<i;s++){let r;s=ki(e,s,t,0);const c=t[0];c<o&&(a=!1),o=c,Ni(e,s,i)?(s=ki(e,s,t,1),s=ki(e,s,t,2),s=ki(e,s,t,3),Ni(e,s,i)?(s=ki(e,s,t,4),r=[c,t[1],t[2],t[3],t[4]]):r=[c,t[1],t[2],t[3]]):r=[c],n.push(r)}a||Fi(n),s.push(n),r=i+1}while(r<=e.length);return s}(e._encoded));let en,tn,sn,rn,nn,an,on,cn,un,ln;class pn{constructor({file:e,sourceRoot:t}={}){this._names=new Ei,this._sources=new Ei,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=t}}function hn(e,t,s){for(let s=e.length;s>t;s--)e[s]=e[s-1];e[t]=s}function dn(e,t){for(let s=0;s<t.length;s++)bi(e,t[s])}function mn(e,t,s){const{generated:r,source:i,original:n,name:a,content:o}=s;if(!i)return ln(e,t,r.line-1,r.column,null,null,null,null,null);const c=i;return ln(e,t,r.line-1,r.column,c,n.line-1,n.column,a,o)}en=(e,t,s,r,i,n,a,o)=>ln(!1,e,t,s,r,i,n,a,o),sn=(e,t,s,r,i,n,a,o)=>ln(!0,e,t,s,r,i,n,a,o),tn=(e,t)=>mn(!1,e,t),rn=(e,t)=>mn(!0,e,t),nn=(e,t,s)=>{const{_sources:r,_sourcesContent:i}=e;i[bi(r,t)]=s},an=e=>{const{file:t,sourceRoot:s,_mappings:r,_sources:i,_sourcesContent:n,_names:a}=e;return function(e){const{length:t}=e;let s=t;for(let t=s-1;t>=0&&!(e[t].length>0);s=t,t--);s<t&&(e.length=s)}(r),{version:3,file:t||void 0,names:a.array,sourceRoot:s||void 0,sources:i.array,sourcesContent:n,mappings:r}},on=e=>{const t=an(e);return Object.assign(Object.assign({},t),{mappings:_i(t.mappings)})},un=e=>{const t=[],{_mappings:s,_sources:r,_names:i}=e;for(let e=0;e<s.length;e++){const n=s[e];for(let s=0;s<n.length;s++){const a=n[s],o={line:e+1,column:a[0]};let c,u,l;1!==a.length&&(c=r.array[a[1]],u={line:a[2]+1,column:a[3]},5===a.length&&(l=i.array[a[4]])),t.push({generated:o,source:c,original:u,name:l})}}return t},cn=e=>{const t=new Zi(e),s=new pn({file:t.file,sourceRoot:t.sourceRoot});return dn(s._names,t.names),dn(s._sources,t.sources),s._sourcesContent=t.sourcesContent||t.sources.map((()=>null)),s._mappings=Qi(t),s},ln=(e,t,s,r,i,n,a,o,c)=>{const{_mappings:u,_sources:l,_sourcesContent:p,_names:h}=t,d=function(e,t){for(let s=e.length;s<=t;s++)e[s]=[];return e[t]}(u,s),m=function(e,t){let s=e.length;for(let r=s-1;r>=0&&!(t>=e[r][0]);s=r--);return s}(d,r);if(!i){if(e&&function(e,t){if(0===t)return!0;const s=e[t-1];return 1===s.length}(d,m))return;return hn(d,m,[r])}const f=bi(l,i),y=o?bi(h,o):-1;if(f===p.length&&(p[f]=null!=c?c:null),!e||!function(e,t,s,r,i,n){if(0===t)return!1;const a=e[t-1];return 1!==a.length&&s===a[1]&&r===a[2]&&i===a[3]&&n===(5===a.length?a[4]:-1)}(d,m,f,n,a,y))return hn(d,m,o?[r,f,n,a,y]:[r,f,n,a])};var fn=se(Object.freeze({__proto__:null,GenMapping:pn,get addMapping(){return tn},get addSegment(){return en},get allMappings(){return un},get fromMap(){return cn},get maybeAddMapping(){return rn},get maybeAddSegment(){return sn},get setSourceContent(){return nn},get toDecodedMap(){return an},get toEncodedMap(){return on}})),yn=te((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class{constructor(e,t){var s;this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0;const r=this._map=new fn.GenMapping({sourceRoot:e.sourceRoot});this._sourceFileName=null==(s=e.sourceFileName)?void 0:s.replace(/\\/g,"/"),this._rawMappings=void 0,"string"==typeof t?(0,fn.setSourceContent)(r,this._sourceFileName,t):"object"==typeof t&&Object.keys(t).forEach((e=>{(0,fn.setSourceContent)(r,e.replace(/\\/g,"/"),t[e])}))}get(){return(0,fn.toEncodedMap)(this._map)}getDecoded(){return(0,fn.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,fn.allMappings)(this._map))}mark(e,t,s,r,i){this._rawMappings=void 0,(0,fn.maybeAddMapping)(this._map,{name:r,generated:e,source:null==t?void 0:(null==i?void 0:i.replace(/\\/g,"/"))||this._sourceFileName,original:null==t?void 0:{line:t,column:s}})}}}));ee(yn);var gn=te((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class{constructor(e){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,line:void 0,column:void 0,filename:void 0},this._disallowedPop={identifierName:void 0,line:void 0,column:void 0,filename:void 0,objectReusable:!0},this._map=e,this._allocQueue()}_allocQueue(){const e=this._queue;for(let t=0;t<16;t++)e.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,filename:""})}_pushQueue(e,t,s,r,i,n){const a=this._queueCursor;a===this._queue.length&&this._allocQueue();const o=this._queue[a];o.char=e,o.repeat=t,o.line=s,o.column=r,o.identifierName=i,o.filename=n,this._queueCursor++}_popQueue(){if(0===this._queueCursor)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();const e=this._map,t={code:(this._buf+this._str).trimRight(),decodedMap:null==e?void 0:e.getDecoded(),get map(){const s=e?e.get():null;return t.map=s,s},set map(e){Object.defineProperty(t,"map",{value:e,writable:!0})},get rawMappings(){const s=null==e?void 0:e.getRawMappings();return t.rawMappings=s,s},set rawMappings(e){Object.defineProperty(t,"rawMappings",{value:e,writable:!0})}};return t}append(e,t){this._flush(),this._append(e,this._sourcePosition,t)}appendChar(e){this._flush(),this._appendChar(e,1,this._sourcePosition)}queue(e){if(10===e)for(;0!==this._queueCursor;){const e=this._queue[this._queueCursor-1].char;if(32!==e&&9!==e)break;this._queueCursor--}const t=this._sourcePosition;this._pushQueue(e,1,t.line,t.column,t.identifierName,t.filename)}queueIndentation(e,t){this._pushQueue(e,t,void 0,void 0,void 0,void 0)}_flush(){const e=this._queueCursor,t=this._queue;for(let s=0;s<e;s++){const e=t[s];this._appendChar(e.char,e.repeat,e)}this._queueCursor=0}_appendChar(e,t,s){this._last=e,this._str+=t>1?String.fromCharCode(e).repeat(t):String.fromCharCode(e),10!==e?(this._mark(s.line,s.column,s.identifierName,s.filename),this._position.column+=t):(this._position.line++,this._position.column=0)}_append(e,t,s){const r=e.length;if(this._last=e.charCodeAt(r-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e,!s&&!this._map)return void(this._position.column+=r);const{column:i,identifierName:n,filename:a}=t;let o=t.line,c=e.indexOf("\n"),u=0;for(0!==c&&this._mark(o,i,n,a);-1!==c;)this._position.line++,this._position.column=0,u=c+1,u<e.length&&this._mark(++o,0,n,a),c=e.indexOf("\n",u);this._position.column+=e.length-u}_mark(e,t,s,r){var i;null==(i=this._map)||i.mark(this._position,e,t,s,r)}removeTrailingNewline(){const e=this._queueCursor;0!==e&&10===this._queue[e-1].char&&this._queueCursor--}removeLastSemicolon(){const e=this._queueCursor;0!==e&&59===this._queue[e-1].char&&this._queueCursor--}getLastChar(){const e=this._queueCursor;return 0!==e?this._queue[e-1].char:this._last}endsWithCharAndNewline(){const e=this._queue,t=this._queueCursor;if(0!==t){if(10!==e[t-1].char)return;return t>1?e[t-2].char:this._last}}hasContent(){return 0!==this._queueCursor||!!this._last}exactSource(e,t){if(!this._map)return t();this.source("start",e),t(),this.source("end",e),this._disallowPop("start",e)}source(e,t){t&&this._normalizePosition(e,t,this._sourcePosition)}withSource(e,t,s){if(!this._map)return s();const r=this._sourcePosition.line,i=this._sourcePosition.column,n=this._sourcePosition.filename,a=this._sourcePosition.identifierName;this.source(e,t),s(),(this._disallowedPop.objectReusable||this._disallowedPop.line!==r||this._disallowedPop.column!==i||this._disallowedPop.filename!==n)&&(this._sourcePosition.line=r,this._sourcePosition.column=i,this._sourcePosition.filename=n,this._sourcePosition.identifierName=a,this._disallowedPop.objectReusable=!0)}_disallowPop(e,t){if(!t)return;const s=this._disallowedPop;this._normalizePosition(e,t,s),s.objectReusable=!1}_normalizePosition(e,t,s){const r=t[e];s.identifierName="start"===e&&t.identifierName||void 0,r?(s.line=r.line,s.column=r.column,s.filename=t.filename):(s.line=null,s.column=null,s.filename=null)}getCurrentColumn(){const e=this._queue;let t=-1,s=0;for(let r=0;r<this._queueCursor;r++){const i=e[r];10===i.char&&(t=r,s+=i.repeat)}return-1===t?this._position.column+s:s-1-t}getCurrentLine(){let e=0;const t=this._queue;for(let s=0;s<this._queueCursor;s++)10===t[s].char&&e++;return this._position.line+e}}}));ee(gn);var xn=te((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.nodes=void 0;const{FLIPPED_ALIAS_KEYS:s,isArrayExpression:r,isAssignmentExpression:i,isBinary:n,isBlockStatement:a,isCallExpression:o,isFunction:c,isIdentifier:u,isLiteral:l,isMemberExpression:p,isObjectExpression:h,isOptionalCallExpression:d,isOptionalMemberExpression:m,isStringLiteral:f}=M.default;function y(e,t){return e?(p(e)||m(e)?(y(e.object,t),e.computed&&y(e.property,t)):n(e)||i(e)?(y(e.left,t),y(e.right,t)):o(e)||d(e)?(t.hasCall=!0,y(e.callee,t)):c(e)?t.hasFunction=!0:u(e)&&(t.hasHelper=t.hasHelper||e.callee&&x(e.callee)),t):t}function g(e){return y(e,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function x(e){return!!e&&(p(e)?x(e.object)||x(e.property):u(e)?"require"===e.name||95===e.name.charCodeAt(0):o(e)?x(e.callee):!(!n(e)&&!i(e))&&(u(e.left)&&x(e.left)||x(e.right)))}function v(e){return l(e)||h(e)||r(e)||u(e)||p(e)}const b={AssignmentExpression(e){const t=g(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction)return t.hasFunction?3:2},SwitchCase:(e,t)=>(e.consequent.length||t.cases[0]===e?1:0)|(e.consequent.length||t.cases[t.cases.length-1]!==e?0:2),LogicalExpression(e){if(c(e.left)||c(e.right))return 2},Literal(e){if(f(e)&&"use strict"===e.value)return 2},CallExpression(e){if(c(e.callee)||x(e))return 3},OptionalCallExpression(e){if(c(e.callee))return 3},VariableDeclaration(e){for(let t=0;t<e.declarations.length;t++){const s=e.declarations[t];let r=x(s.id)&&!v(s.init);if(!r&&s.init){const e=g(s.init);r=x(s.init)&&e.hasCall||e.hasFunction}if(r)return 3}},IfStatement(e){if(a(e.consequent))return 3}};t.nodes=b,b.ObjectProperty=b.ObjectTypeProperty=b.ObjectMethod=function(e,t){if(t.properties[0]===e)return 1},b.ObjectTypeCallProperty=function(e,t){var s;if(t.callProperties[0]===e&&(null==(s=t.properties)||!s.length))return 1},b.ObjectTypeIndexer=function(e,t){var s,r;if(!(t.indexers[0]!==e||null!=(s=t.properties)&&s.length||null!=(r=t.callProperties)&&r.length))return 1},b.ObjectTypeInternalSlot=function(e,t){var s,r,i;if(!(t.internalSlots[0]!==e||null!=(s=t.properties)&&s.length||null!=(r=t.callProperties)&&r.length||null!=(i=t.indexers)&&i.length))return 1},[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach((function([e,t]){[e].concat(s[e]||[]).forEach((function(e){const s=t?3:0;b[e]=()=>s}))}))}));ee(xn),xn.nodes;var vn=te((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowFunctionExpression=function(e,t){return m(t)||re(e,t)},t.AssignmentExpression=function(e,t){return!!k(e.left)||re(e,t)},t.Binary=function(e,t){if("**"===e.operator&&o(t,{operator:"**"}))return t.left===e;if(ee(e,t))return!0;if(te(e,t)||J(t)||n(t))return!0;if(a(t)){const s=t.operator,r=Z[s],i=e.operator,n=Z[i];if(r===n&&t.right===e&&!D(t)||r>n)return!0}},t.BinaryExpression=function(e,t){return"in"===e.operator&&(K(t)||g(t))},t.ClassExpression=function(e,t,s){return ie(s,5)},t.ConditionalExpression=re,t.DoExpression=function(e,t,s){return!e.async&&ie(s,1)},t.FunctionExpression=function(e,t,s){return ie(s,5)},t.FunctionTypeAnnotation=function(e,t,i){if(i.length<3)return;return X(t)||w(t)||s(t)||W(t)&&r(i[i.length-3])},t.Identifier=function(e,t,s){var r;if(null!=(r=e.extra)&&r.parenthesized&&i(t,{left:e})&&(E(t.right)||p(t.right))&&null==t.right.id)return!0;if("let"===e.name){return ie(s,T(t,{object:e,computed:!0})||F(t,{object:e,computed:!0,optional:!1})?57:32)}return"async"===e.name&&v(t)&&e===t.left},t.LogicalExpression=function(e,t){switch(e.operator){case"||":return!!D(t)&&("??"===t.operator||"&&"===t.operator);case"&&":return D(t,{operator:"??"});case"??":return D(t)&&"??"!==t.operator}},t.NullableTypeAnnotation=function(e,t){return s(t)},t.ObjectExpression=function(e,t,s){return ie(s,3)},t.OptionalIndexedAccessType=function(e,t){return A(t,{objectType:e})},t.OptionalCallExpression=t.OptionalMemberExpression=function(e,t){return u(t,{callee:e})||T(t,{object:e})},t.SequenceExpression=function(e,t){if(b(t)||G(t)||I(t)||C(t)&&t.test===e||Y(t)&&t.test===e||x(t)&&t.right===e||O(t)&&t.discriminant===e||y(t)&&t.expression===e)return!1;return!0},t.TSAsExpression=function(){return!0},t.TSInferType=function(e,t){return j(t)||q(t)},t.TSInstantiationExpression=function(e,t){return(u(t)||N(t)||P(t)||L(t))&&!!t.typeParameters},t.TSTypeAssertion=function(){return!0},t.TSIntersectionType=t.TSUnionType=function(e,t){return j(t)||q(t)||R(t)||H(t)||z(t)},t.UnaryLike=se,t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=function(e,t){return s(t)||S(t)||w(t)||X(t)},t.UpdateExpression=function(e,t){return te(e,t)||ee(e,t)},t.AwaitExpression=t.YieldExpression=function(e,t){return a(t)||J(t)||te(e,t)||n(t)&&Q(e)||d(t)&&e===t.test||ee(e,t)};const{isArrayTypeAnnotation:s,isArrowFunctionExpression:r,isAssignmentExpression:i,isAwaitExpression:n,isBinary:a,isBinaryExpression:o,isUpdateExpression:c,isCallExpression:u,isClass:l,isClassExpression:p,isConditional:h,isConditionalExpression:d,isExportDeclaration:m,isExportDefaultDeclaration:f,isExpressionStatement:y,isFor:g,isForInStatement:x,isForOfStatement:v,isForStatement:b,isFunctionExpression:E,isIfStatement:C,isIndexedAccessType:A,isIntersectionTypeAnnotation:w,isLogicalExpression:D,isMemberExpression:T,isNewExpression:P,isNullableTypeAnnotation:S,isObjectPattern:k,isOptionalCallExpression:N,isOptionalMemberExpression:F,isReturnStatement:I,isSequenceExpression:_,isSwitchStatement:O,isTSArrayType:j,isTSAsExpression:B,isTSInstantiationExpression:L,isTSIntersectionType:R,isTSNonNullExpression:U,isTSOptionalType:q,isTSRestType:z,isTSTypeAssertion:$,isTSUnionType:H,isTaggedTemplateExpression:V,isThrowStatement:G,isTypeAnnotation:W,isUnaryLike:J,isUnionTypeAnnotation:X,isVariableDeclarator:K,isWhileStatement:Y,isYieldExpression:Q}=M.default,Z={"||":0,"??":0,"|>":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10},ee=(e,t)=>l(t,{superClass:e}),te=(e,t)=>(T(t)||F(t))&&t.object===e||(u(t)||N(t)||P(t))&&t.callee===e||V(t)&&t.tag===e||U(t);function se(e,t){return te(e,t)||o(t,{operator:"**",left:e})||ee(e,t)}function re(e,t){return!!(J(t)||a(t)||d(t,{test:e})||n(t)||$(t)||B(t))||se(e,t)}function ie(e,t){const s=1&t,n=2&t,o=4&t,u=8&t,l=16&t,p=32&t;let d=e.length-1;if(d<=0)return;let m=e[d];d--;let g=e[d];for(;d>=0;){if(s&&y(g,{expression:m})||o&&f(g,{declaration:m})||n&&r(g,{body:m})||u&&b(g,{init:m})||l&&x(g,{left:m})||p&&v(g,{left:m}))return!0;if(!(d>0&&(te(m,g)&&!P(g)||_(g)&&g.expressions[0]===m||c(g)&&!g.prefix||h(g,{test:m})||a(g,{left:m})||i(g,{left:m}))))return!1;m=g,d--,g=e[d]}return!1}}));ee(vn),vn.ArrowFunctionExpression,vn.AssignmentExpression,vn.Binary,vn.BinaryExpression,vn.ClassExpression,vn.ConditionalExpression,vn.DoExpression,vn.FunctionExpression,vn.FunctionTypeAnnotation,vn.Identifier,vn.LogicalExpression,vn.NullableTypeAnnotation,vn.ObjectExpression,vn.OptionalIndexedAccessType,vn.OptionalCallExpression,vn.OptionalMemberExpression,vn.SequenceExpression,vn.TSAsExpression,vn.TSInferType,vn.TSInstantiationExpression,vn.TSTypeAssertion,vn.TSIntersectionType,vn.TSUnionType,vn.UnaryLike,vn.IntersectionTypeAnnotation,vn.UnionTypeAnnotation,vn.UpdateExpression,vn.AwaitExpression,vn.YieldExpression;var bn=te((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.needsParens=function(e,t,s){if(!t)return!1;if(a(t)&&t.callee===e&&p(e))return!0;return l(c,e,t,s)},t.needsWhitespace=h,t.needsWhitespaceAfter=function(e,t){return h(e,t,2)},t.needsWhitespaceBefore=function(e,t){return h(e,t,1)};const{FLIPPED_ALIAS_KEYS:s,isCallExpression:r,isExpressionStatement:i,isMemberExpression:n,isNewExpression:a}=M.default;function o(e){const t={};function r(e,s){const r=t[e];t[e]=r?function(e,t,i){const n=r(e,t,i);return null==n?s(e,t,i):n}:s}for(const t of Object.keys(e)){const i=s[t];if(i)for(const s of i)r(s,e[t]);else r(t,e[t])}return t}const c=o(vn),u=o(xn.nodes);function l(e,t,s,r){const i=e[t.type];return i?i(t,s,r):null}function p(e){return!!r(e)||n(e)&&p(e.object)}function h(e,t,s){if(!e)return!1;i(e)&&(e=e.expression);const r=l(u,e,t);return"number"==typeof r&&0!=(r&s)}}));ee(bn),bn.needsParens,bn.needsWhitespace,bn.needsWhitespaceAfter,bn.needsWhitespaceBefore;var En=te((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.TaggedTemplateExpression=function(e){this.print(e.tag,e),this.print(e.typeParameters,e),this.print(e.quasi,e)},t.TemplateElement=function(e,t){const s=t.quasis[0]===e,r=t.quasis[t.quasis.length-1]===e,i=(s?"`":"}")+e.value.raw+(r?"`":"${");this.token(i,!0)},t.TemplateLiteral=function(e){const t=e.quasis;for(let s=0;s<t.length;s++)this.print(t[s],e),s+1<t.length&&this.print(e.expressions[s],e)}}));ee(En),En.TaggedTemplateExpression,En.TemplateElement,En.TemplateLiteral;var Cn=te((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=function(e,t){const s=this.inForStatementInitCounter&&"in"===e.operator&&!bn.needsParens(e,t);s&&this.tokenChar(40);this.print(e.left,e),this.space(),"in"===e.operator||"instanceof"===e.operator?this.word(e.operator):this.token(e.operator);this.space(),this.print(e.right,e),s&&this.tokenChar(41)},t.AssignmentPattern=function(e){this.print(e.left,e),e.left.optional&&this.tokenChar(63);this.print(e.left.typeAnnotation,e),this.space(),this.tokenChar(61),this.space(),this.print(e.right,e)},t.AwaitExpression=function(e){this.word("await"),e.argument&&(this.space(),this.printTerminatorless(e.argument,e,!1))},t.BindExpression=function(e){this.print(e.object,e),this.token("::"),this.print(e.callee,e)},t.CallExpression=function(e){this.print(e.callee,e),this.print(e.typeArguments,e),this.print(e.typeParameters,e),this.tokenChar(40),this.printList(e.arguments,e),this.tokenChar(41)},t.ConditionalExpression=function(e){this.print(e.test,e),this.space(),this.tokenChar(63),this.space(),this.print(e.consequent,e),this.space(),this.tokenChar(58),this.space(),this.print(e.alternate,e)},t.Decorator=function(e){this.tokenChar(64);const{expression:t}=e;!function(e){"CallExpression"===e.type&&(e=e.callee);if("ParenthesizedExpression"===e.type)return!1;return!a(e)}(t)?this.print(t,e):(this.tokenChar(40),this.print(t,e),this.tokenChar(41));this.newline()},t.DoExpression=function(e){e.async&&(this.word("async"),this.space());this.word("do"),this.space(),this.print(e.body,e)},t.EmptyStatement=function(){this.semicolon(!0)},t.ExpressionStatement=function(e){this.print(e.expression,e),this.semicolon()},t.Import=function(){this.word("import")},t.MemberExpression=function(e){if(this.print(e.object,e),!e.computed&&i(e.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let t=e.computed;r(e.property)&&"number"==typeof e.property.value&&(t=!0);t?(this.tokenChar(91),this.print(e.property,e),this.tokenChar(93)):(this.tokenChar(46),this.print(e.property,e))},t.MetaProperty=function(e){this.print(e.meta,e),this.tokenChar(46),this.print(e.property,e)},t.ModuleExpression=function(e){this.word("module"),this.space(),this.tokenChar(123),0===e.body.body.length?this.tokenChar(125):(this.newline(),this.printSequence(e.body.body,e,{indent:!0}),this.rightBrace())},t.NewExpression=function(e,t){if(this.word("new"),this.space(),this.print(e.callee,e),this.format.minified&&0===e.arguments.length&&!e.optional&&!s(t,{callee:e})&&!i(t)&&!n(t))return;this.print(e.typeArguments,e),this.print(e.typeParameters,e),e.optional&&this.token("?.");this.tokenChar(40),this.printList(e.arguments,e),this.tokenChar(41)},t.OptionalCallExpression=function(e){this.print(e.callee,e),this.print(e.typeArguments,e),this.print(e.typeParameters,e),e.optional&&this.token("?.");this.tokenChar(40),this.printList(e.arguments,e),this.tokenChar(41)},t.OptionalMemberExpression=function(e){if(this.print(e.object,e),!e.computed&&i(e.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let t=e.computed;r(e.property)&&"number"==typeof e.property.value&&(t=!0);e.optional&&this.token("?.");t?(this.tokenChar(91),this.print(e.property,e),this.tokenChar(93)):(e.optional||this.tokenChar(46),this.print(e.property,e))},t.ParenthesizedExpression=function(e){this.tokenChar(40),this.print(e.expression,e),this.tokenChar(41)},t.PrivateName=function(e){this.tokenChar(35),this.print(e.id,e)},t.SequenceExpression=function(e){this.printList(e.expressions,e)},t.Super=function(){this.word("super")},t.ThisExpression=function(){this.word("this")},t.UnaryExpression=function(e){"void"===e.operator||"delete"===e.operator||"typeof"===e.operator||"throw"===e.operator?(this.word(e.operator),this.space()):this.token(e.operator);this.print(e.argument,e)},t.UpdateExpression=function(e){e.prefix?(this.token(e.operator),this.print(e.argument,e)):(this.printTerminatorless(e.argument,e,!0),this.token(e.operator))},t.V8IntrinsicIdentifier=function(e){this.tokenChar(37),this.word(e.name)},t.YieldExpression=function(e){this.word("yield"),e.delegate&&this.tokenChar(42);e.argument&&(this.space(),this.printTerminatorless(e.argument,e,!1))};const{isCallExpression:s,isLiteral:r,isMemberExpression:i,isNewExpression:n}=M.default;function a(e){switch(e.type){case"Identifier":return!0;case"MemberExpression":return!e.computed&&"Identifier"===e.property.type&&a(e.object);default:return!1}}}));ee(Cn),Cn.LogicalExpression,Cn.BinaryExpression,Cn.AssignmentExpression,Cn.AssignmentPattern,Cn.AwaitExpression,Cn.BindExpression,Cn.CallExpression,Cn.ConditionalExpression,Cn.Decorator,Cn.DoExpression,Cn.EmptyStatement,Cn.ExpressionStatement,Cn.Import,Cn.MemberExpression,Cn.MetaProperty,Cn.ModuleExpression,Cn.NewExpression,Cn.OptionalCallExpression,Cn.OptionalMemberExpression,Cn.ParenthesizedExpression,Cn.PrivateName,Cn.SequenceExpression,Cn.Super,Cn.ThisExpression,Cn.UnaryExpression,Cn.UpdateExpression,Cn.V8IntrinsicIdentifier,Cn.YieldExpression;var An=te((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.BreakStatement=function(e){this.word("break"),l(this,e.label,e,!0)},t.CatchClause=function(e){this.word("catch"),this.space(),e.param&&(this.tokenChar(40),this.print(e.param,e),this.print(e.param.typeAnnotation,e),this.tokenChar(41),this.space());this.print(e.body,e)},t.ContinueStatement=function(e){this.word("continue"),l(this,e.label,e,!0)},t.DebuggerStatement=function(){this.word("debugger"),this.semicolon()},t.DoWhileStatement=function(e){this.word("do"),this.space(),this.print(e.body,e),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(e.test,e),this.tokenChar(41),this.semicolon()},t.ForOfStatement=t.ForInStatement=void 0,t.ForStatement=function(e){this.word("for"),this.space(),this.tokenChar(40),this.inForStatementInitCounter++,this.print(e.init,e),this.inForStatementInitCounter--,this.tokenChar(59),e.test&&(this.space(),this.print(e.test,e));this.tokenChar(59),e.update&&(this.space(),this.print(e.update,e));this.tokenChar(41),this.printBlock(e)},t.IfStatement=function(e){this.word("if"),this.space(),this.tokenChar(40),this.print(e.test,e),this.tokenChar(41),this.space();const t=e.alternate&&i(a(e.consequent));t&&(this.tokenChar(123),this.newline(),this.indent());this.printAndIndentOnComments(e.consequent,e),t&&(this.dedent(),this.newline(),this.tokenChar(125));e.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(e.alternate,e))},t.LabeledStatement=function(e){this.print(e.label,e),this.tokenChar(58),this.space(),this.print(e.body,e)},t.ReturnStatement=function(e){this.word("return"),l(this,e.argument,e,!1)},t.SwitchCase=function(e){e.test?(this.word("case"),this.space(),this.print(e.test,e),this.tokenChar(58)):(this.word("default"),this.tokenChar(58));e.consequent.length&&(this.newline(),this.printSequence(e.consequent,e,{indent:!0}))},t.SwitchStatement=function(e){this.word("switch"),this.space(),this.tokenChar(40),this.print(e.discriminant,e),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(e.cases,e,{indent:!0,addNewlines(t,s){if(!t&&e.cases[e.cases.length-1]===s)return-1}}),this.tokenChar(125)},t.ThrowStatement=function(e){this.word("throw"),l(this,e.argument,e,!1)},t.TryStatement=function(e){this.word("try"),this.space(),this.print(e.block,e),this.space(),e.handlers?this.print(e.handlers[0],e):this.print(e.handler,e);e.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(e.finalizer,e))},t.VariableDeclaration=function(e,t){e.declare&&(this.word("declare"),this.space());this.word(e.kind),this.space();let i,n=!1;if(!s(t))for(const t of e.declarations)t.init&&(n=!0);n&&(i="const"===e.kind?h:p);if(this.printList(e.declarations,e,{separator:i}),s(t))if(r(t)){if(t.init===e)return}else if(t.left===e)return;this.semicolon()},t.VariableDeclarator=function(e){this.print(e.id,e),e.definite&&this.tokenChar(33);this.print(e.id.typeAnnotation,e),e.init&&(this.space(),this.tokenChar(61),this.space(),this.print(e.init,e))},t.WhileStatement=function(e){this.word("while"),this.space(),this.tokenChar(40),this.print(e.test,e),this.tokenChar(41),this.printBlock(e)},t.WithStatement=function(e){this.word("with"),this.space(),this.tokenChar(40),this.print(e.object,e),this.tokenChar(41),this.printBlock(e)};const{isFor:s,isForStatement:r,isIfStatement:i,isStatement:n}=M.default;function a(e){const{body:t}=e;return!1===n(t)?e:a(t)}function o(e){this.word("for"),this.space();const t="ForOfStatement"===e.type;t&&e.await&&(this.word("await"),this.space()),this.tokenChar(40),this.print(e.left,e),this.space(),this.word(t?"of":"in"),this.space(),this.print(e.right,e),this.tokenChar(41),this.printBlock(e)}const c=o;t.ForInStatement=c;const u=o;function l(e,t,s,r){t&&(e.space(),e.printTerminatorless(t,s,r)),e.semicolon()}function p(){if(this.tokenChar(44),this.newline(),this.endsWith(10))for(let e=0;e<4;e++)this.space(!0)}function h(){if(this.tokenChar(44),this.newline(),this.endsWith(10))for(let e=0;e<6;e++)this.space(!0)}t.ForOfStatement=u}));ee(An),An.BreakStatement,An.CatchClause,An.ContinueStatement,An.DebuggerStatement,An.DoWhileStatement,An.ForOfStatement,An.ForInStatement,An.ForStatement,An.IfStatement,An.LabeledStatement,An.ReturnStatement,An.SwitchCase,An.SwitchStatement,An.ThrowStatement,An.TryStatement,An.VariableDeclaration,An.VariableDeclarator,An.WhileStatement,An.WithStatement;var wn=te((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ClassAccessorProperty=function(e){this.printJoin(e.decorators,e),this.source("end",e.key.loc),this.tsPrintClassMemberModifiers(e),this.word("accessor"),this.printInnerComments(e),this.space(),e.computed?(this.tokenChar(91),this.print(e.key,e),this.tokenChar(93)):(this._variance(e),this.print(e.key,e));e.optional&&this.tokenChar(63);e.definite&&this.tokenChar(33);this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e));this.semicolon()},t.ClassBody=function(e){this.tokenChar(123),this.printInnerComments(e),0===e.body.length?this.tokenChar(125):(this.newline(),this.indent(),this.printSequence(e.body,e),this.dedent(),this.endsWith(10)||this.newline(),this.rightBrace())},t.ClassExpression=t.ClassDeclaration=function(e,t){this.format.decoratorsBeforeExport&&(s(t)||r(t))||this.printJoin(e.decorators,e);e.declare&&(this.word("declare"),this.space());e.abstract&&(this.word("abstract"),this.space());this.word("class"),this.printInnerComments(e),e.id&&(this.space(),this.print(e.id,e));this.print(e.typeParameters,e),e.superClass&&(this.space(),this.word("extends"),this.space(),this.print(e.superClass,e),this.print(e.superTypeParameters,e));e.implements&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements,e));this.space(),this.print(e.body,e)},t.ClassMethod=function(e){this._classMethodHead(e),this.space(),this.print(e.body,e)},t.ClassPrivateMethod=function(e){this._classMethodHead(e),this.space(),this.print(e.body,e)},t.ClassPrivateProperty=function(e){this.printJoin(e.decorators,e),e.static&&(this.word("static"),this.space());this.print(e.key,e),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e));this.semicolon()},t.ClassProperty=function(e){this.printJoin(e.decorators,e),this.source("end",e.key.loc),this.tsPrintClassMemberModifiers(e),e.computed?(this.tokenChar(91),this.print(e.key,e),this.tokenChar(93)):(this._variance(e),this.print(e.key,e));e.optional&&this.tokenChar(63);e.definite&&this.tokenChar(33);this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e));this.semicolon()},t.StaticBlock=function(e){this.word("static"),this.space(),this.tokenChar(123),0===e.body.length?this.tokenChar(125):(this.newline(),this.printSequence(e.body,e,{indent:!0}),this.rightBrace())},t._classMethodHead=function(e){this.printJoin(e.decorators,e),this.source("end",e.key.loc),this.tsPrintClassMemberModifiers(e),this._methodHead(e)};const{isExportDefaultDeclaration:s,isExportNamedDeclaration:r}=M.default}));ee(wn),wn.ClassAccessorProperty,wn.ClassBody,wn.ClassExpression,wn.ClassDeclaration,wn.ClassMethod,wn.ClassPrivateMethod,wn.ClassPrivateProperty,wn.ClassProperty,wn.StaticBlock,wn._classMethodHead;var Dn=te((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowFunctionExpression=function(e){e.async&&(this.word("async"),this.space());const t=e.params[0];this.format.retainLines||this.format.auxiliaryCommentBefore||this.format.auxiliaryCommentAfter||1!==e.params.length||!s(t)||function(e,t){var s,r;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||null!=(s=t.leadingComments)&&s.length||null!=(r=t.trailingComments)&&r.length)}(e,t)?this._params(e):this.print(t,e);this._predicate(e),this.space(),this.token("=>"),this.space(),this.print(e.body,e)},t.FunctionDeclaration=t.FunctionExpression=function(e){this._functionHead(e),this.space(),this.print(e.body,e)},t._functionHead=function(e){e.async&&(this.word("async"),this.space());this.word("function"),e.generator&&this.tokenChar(42);this.printInnerComments(e),this.space(),e.id&&this.print(e.id,e);this._params(e),"TSDeclareFunction"!==e.type&&this._predicate(e)},t._methodHead=function(e){const t=e.kind,s=e.key;"get"!==t&&"set"!==t||(this.word(t),this.space());e.async&&(this._catchUp("start",s.loc),this.word("async"),this.space());"method"!==t&&"init"!==t||e.generator&&this.tokenChar(42);e.computed?(this.tokenChar(91),this.print(s,e),this.tokenChar(93)):this.print(s,e);e.optional&&this.tokenChar(63);this._params(e)},t._param=function(e,t){this.printJoin(e.decorators,e),this.print(e,t),e.optional&&this.tokenChar(63);this.print(e.typeAnnotation,e)},t._parameters=function(e,t){for(let s=0;s<e.length;s++)this._param(e[s],t),s<e.length-1&&(this.tokenChar(44),this.space())},t._params=function(e){this.print(e.typeParameters,e),this.tokenChar(40),this._parameters(e.params,e),this.tokenChar(41),this.print(e.returnType,e,"ArrowFunctionExpression"===e.type)},t._predicate=function(e){e.predicate&&(e.returnType||this.tokenChar(58),this.space(),this.print(e.predicate,e))};const{isIdentifier:s}=M.default}));ee(Dn),Dn.ArrowFunctionExpression,Dn.FunctionDeclaration,Dn.FunctionExpression,Dn._functionHead,Dn._methodHead,Dn._param,Dn._parameters,Dn._params,Dn._predicate;var Tn=te((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ExportAllDeclaration=function(e){this.word("export"),this.space(),"type"===e.exportKind&&(this.word("type"),this.space());this.tokenChar(42),this.space(),this.word("from"),this.space(),this.print(e.source,e),this.printAssertions(e),this.semicolon()},t.ExportDefaultDeclaration=function(e){this.format.decoratorsBeforeExport&&s(e.declaration)&&this.printJoin(e.declaration.decorators,e);this.word("export"),this.space(),this.word("default"),this.space();const t=e.declaration;this.print(t,e),o(t)||this.semicolon()},t.ExportDefaultSpecifier=function(e){this.print(e.exported,e)},t.ExportNamedDeclaration=function(e){this.format.decoratorsBeforeExport&&s(e.declaration)&&this.printJoin(e.declaration.decorators,e);if(this.word("export"),this.space(),e.declaration){const t=e.declaration;this.print(t,e),o(t)||this.semicolon()}else{"type"===e.exportKind&&(this.word("type"),this.space());const t=e.specifiers.slice(0);let s=!1;for(;;){const n=t[0];if(!r(n)&&!i(n))break;s=!0,this.print(t.shift(),e),t.length&&(this.tokenChar(44),this.space())}(t.length||!t.length&&!s)&&(this.tokenChar(123),t.length&&(this.space(),this.printList(t,e),this.space()),this.tokenChar(125)),e.source&&(this.space(),this.word("from"),this.space(),this.print(e.source,e),this.printAssertions(e)),this.semicolon()}},t.ExportNamespaceSpecifier=function(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.exported,e)},t.ExportSpecifier=function(e){"type"===e.exportKind&&(this.word("type"),this.space());this.print(e.local,e),e.exported&&e.local.name!==e.exported.name&&(this.space(),this.word("as"),this.space(),this.print(e.exported,e))},t.ImportAttribute=function(e){this.print(e.key),this.tokenChar(58),this.space(),this.print(e.value)},t.ImportDeclaration=function(e){this.word("import"),this.space();const t="type"===e.importKind||"typeof"===e.importKind;t&&(this.word(e.importKind),this.space());const s=e.specifiers.slice(0),r=!!s.length;for(;r;){const t=s[0];if(!n(t)&&!a(t))break;this.print(s.shift(),e),s.length&&(this.tokenChar(44),this.space())}s.length?(this.tokenChar(123),this.space(),this.printList(s,e),this.space(),this.tokenChar(125)):t&&!r&&(this.tokenChar(123),this.tokenChar(125));(r||t)&&(this.space(),this.word("from"),this.space());var i;this.print(e.source,e),this.printAssertions(e),null!=(i=e.attributes)&&i.length&&(this.space(),this.word("with"),this.space(),this.printList(e.attributes,e));this.semicolon()},t.ImportDefaultSpecifier=function(e){this.print(e.local,e)},t.ImportNamespaceSpecifier=function(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.local,e)},t.ImportSpecifier=function(e){"type"!==e.importKind&&"typeof"!==e.importKind||(this.word(e.importKind),this.space());this.print(e.imported,e),e.local&&e.local.name!==e.imported.name&&(this.space(),this.word("as"),this.space(),this.print(e.local,e))};const{isClassDeclaration:s,isExportDefaultSpecifier:r,isExportNamespaceSpecifier:i,isImportDefaultSpecifier:n,isImportNamespaceSpecifier:a,isStatement:o}=M.default}));ee(Tn),Tn.ExportAllDeclaration,Tn.ExportDefaultDeclaration,Tn.ExportDefaultSpecifier,Tn.ExportNamedDeclaration,Tn.ExportNamespaceSpecifier,Tn.ExportSpecifier,Tn.ImportAttribute,Tn.ImportDeclaration,Tn.ImportDefaultSpecifier,Tn.ImportNamespaceSpecifier,Tn.ImportSpecifier;const Pn={},Sn=Pn.hasOwnProperty,kn=(e,t)=>{for(const s in e)Sn.call(e,s)&&t(s,e[s])},Nn=Pn.toString,Fn=Array.isArray,In=Buffer.isBuffer,_n={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},On=/["'\\\b\f\n\r\t]/,jn=/[0-9]/,Bn=/[ !#-&\(-\[\]-_a-~]/,Ln=(e,t)=>{const s=()=>{u=c,++t.indentLevel,c=t.indent.repeat(t.indentLevel)},r={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:!1,__inline2__:!1},i=t&&t.json;i&&(r.quotes="double",r.wrap=!0),t=((e,t)=>t?(kn(t,((t,s)=>{e[t]=s})),e):e)(r,t),"single"!=t.quotes&&"double"!=t.quotes&&"backtick"!=t.quotes&&(t.quotes="single");const n="double"==t.quotes?'"':"backtick"==t.quotes?"`":"'",a=t.compact,o=t.lowercaseHex;let c=t.indent.repeat(t.indentLevel),u="";const l=t.__inline1__,p=t.__inline2__,h=a?"":"\n";let d,m=!0;const f="binary"==t.numbers,y="octal"==t.numbers,g="decimal"==t.numbers,x="hexadecimal"==t.numbers;if(i&&e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!(e=>"string"==typeof e||"[object String]"==Nn.call(e))(e)){if((e=>"[object Map]"==Nn.call(e))(e))return 0==e.size?"new Map()":(a||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+Ln(Array.from(e),t)+")");if((e=>"[object Set]"==Nn.call(e))(e))return 0==e.size?"new Set()":"new Set("+Ln(Array.from(e),t)+")";if(In(e))return 0==e.length?"Buffer.from([])":"Buffer.from("+Ln(Array.from(e),t)+")";if(Fn(e))return d=[],t.wrap=!0,l&&(t.__inline1__=!1,t.__inline2__=!0),p||s(),((e,t)=>{const s=e.length;let r=-1;for(;++r<s;)t(e[r])})(e,(e=>{m=!1,p&&(t.__inline2__=!1),d.push((a||p?"":c)+Ln(e,t))})),m?"[]":p?"["+d.join(", ")+"]":"["+h+d.join(","+h)+h+(a?"":u)+"]";if(!(e=>"number"==typeof e||"[object Number]"==Nn.call(e))(e))return(e=>"[object Object]"==Nn.call(e))(e)?(d=[],t.wrap=!0,s(),kn(e,((e,s)=>{m=!1,d.push((a?"":c)+Ln(e,t)+":"+(a?"":" ")+Ln(s,t))})),m?"{}":"{"+h+d.join(","+h)+h+(a?"":u)+"}"):i?JSON.stringify(e)||"null":String(e);if(i)return JSON.stringify(e);if(g)return String(e);if(x){let t=e.toString(16);return o||(t=t.toUpperCase()),"0x"+t}if(f)return"0b"+e.toString(2);if(y)return"0o"+e.toString(8)}const v=e;let b=-1;const E=v.length;for(d="";++b<E;){const e=v.charAt(b);if(t.es6){const e=v.charCodeAt(b);if(e>=55296&&e<=56319&&E>b+1){const t=v.charCodeAt(b+1);if(t>=56320&&t<=57343){let s=(1024*(e-55296)+t-56320+65536).toString(16);o||(s=s.toUpperCase()),d+="\\u{"+s+"}",++b;continue}}}if(!t.escapeEverything){if(Bn.test(e)){d+=e;continue}if('"'==e){d+=n==e?'\\"':e;continue}if("`"==e){d+=n==e?"\\`":e;continue}if("'"==e){d+=n==e?"\\'":e;continue}}if("\0"==e&&!i&&!jn.test(v.charAt(b+1))){d+="\\0";continue}if(On.test(e)){d+=_n[e];continue}const s=e.charCodeAt(0);if(t.minimal&&8232!=s&&8233!=s){d+=e;continue}let r=s.toString(16);o||(r=r.toUpperCase());const a=r.length>2||i,c="\\"+(a?"u":"x")+("0000"+r).slice(a?-4:-2);d+=c}return t.wrap&&(d=n+d+n),"`"==n&&(d=d.replace(/\$\{/g,"\\${")),t.isScriptContext?d.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,i?"\\u003C!--":"\\x3C!--"):d};Ln.version="2.5.2";var Mn=Ln,Rn=te((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ArgumentPlaceholder=function(){this.tokenChar(63)},t.ArrayPattern=t.ArrayExpression=function(e){const t=e.elements,s=t.length;this.tokenChar(91),this.printInnerComments(e);for(let r=0;r<t.length;r++){const i=t[r];i?(r>0&&this.space(),this.print(i,e),r<s-1&&this.tokenChar(44)):this.tokenChar(44)}this.tokenChar(93)},t.BigIntLiteral=function(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&void 0!==t)return void this.word(t);this.word(e.value+"n")},t.BooleanLiteral=function(e){this.word(e.value?"true":"false")},t.DecimalLiteral=function(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&void 0!==t)return void this.word(t);this.word(e.value+"m")},t.Identifier=function(e){this.exactSource(e.loc,(()=>{this.word(e.name)}))},t.NullLiteral=function(){this.word("null")},t.NumericLiteral=function(e){const t=this.getPossibleRaw(e),s=this.format.jsescOption,r=e.value+"";s.numbers?this.number(Mn(e.value,s)):null==t?this.number(r):this.format.minified?this.number(t.length<r.length?t:r):this.number(t)},t.ObjectPattern=t.ObjectExpression=function(e){const t=e.properties;this.tokenChar(123),this.printInnerComments(e),t.length&&(this.space(),this.printList(t,e,{indent:!0,statement:!0}),this.space());this.tokenChar(125)},t.ObjectMethod=function(e){this.printJoin(e.decorators,e),this._methodHead(e),this.space(),this.print(e.body,e)},t.ObjectProperty=function(e){if(this.printJoin(e.decorators,e),e.computed)this.tokenChar(91),this.print(e.key,e),this.tokenChar(93);else{if(s(e.value)&&r(e.key)&&e.key.name===e.value.left.name)return void this.print(e.value,e);if(this.print(e.key,e),e.shorthand&&r(e.key)&&r(e.value)&&e.key.name===e.value.name)return}this.tokenChar(58),this.space(),this.print(e.value,e)},t.PipelineBareFunction=function(e){this.print(e.callee,e)},t.PipelinePrimaryTopicReference=function(){this.tokenChar(35)},t.PipelineTopicExpression=function(e){this.print(e.expression,e)},t.RecordExpression=function(e){const t=e.properties;let s,r;if("bar"===this.format.recordAndTupleSyntaxType)s="{|",r="|}";else{if("hash"!==this.format.recordAndTupleSyntaxType)throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);s="#{",r="}"}this.token(s),this.printInnerComments(e),t.length&&(this.space(),this.printList(t,e,{indent:!0,statement:!0}),this.space());this.token(r)},t.RegExpLiteral=function(e){this.word(`/${e.pattern}/${e.flags}`)},t.SpreadElement=t.RestElement=function(e){this.token("..."),this.print(e.argument,e)},t.StringLiteral=function(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&void 0!==t)return void this.token(t);const s=Mn(e.value,Object.assign(this.format.jsescOption,this.format.jsonCompatibleStrings&&{json:!0}));return this.token(s)},t.TopicReference=function(){const{topicToken:e}=this.format;if(!i.has(e)){const t=JSON.stringify(e),s=Array.from(i,(e=>JSON.stringify(e)));throw new Error(`The "topicToken" generator option must be one of ${s.join(", ")} (${t} received instead).`)}this.token(e)},t.TupleExpression=function(e){const t=e.elements,s=t.length;let r,i;if("bar"===this.format.recordAndTupleSyntaxType)r="[|",i="|]";else{if("hash"!==this.format.recordAndTupleSyntaxType)throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);r="#[",i="]"}this.token(r),this.printInnerComments(e);for(let r=0;r<t.length;r++){const i=t[r];i&&(r>0&&this.space(),this.print(i,e),r<s-1&&this.tokenChar(44))}this.token(i)};const{isAssignmentPattern:s,isIdentifier:r}=M.default;const i=new Set(["^^","@@","^","%","#"])}));ee(Rn),Rn.ArgumentPlaceholder,Rn.ArrayPattern,Rn.ArrayExpression,Rn.BigIntLiteral,Rn.BooleanLiteral,Rn.DecimalLiteral,Rn.Identifier,Rn.NullLiteral,Rn.NumericLiteral,Rn.ObjectPattern,Rn.ObjectExpression,Rn.ObjectMethod,Rn.ObjectProperty,Rn.PipelineBareFunction,Rn.PipelinePrimaryTopicReference,Rn.PipelineTopicExpression,Rn.RecordExpression,Rn.RegExpLiteral,Rn.SpreadElement,Rn.RestElement,Rn.StringLiteral,Rn.TopicReference,Rn.TupleExpression;var Un=te((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.AnyTypeAnnotation=function(){this.word("any")},t.ArrayTypeAnnotation=function(e){this.print(e.elementType,e,!0),this.tokenChar(91),this.tokenChar(93)},t.BooleanLiteralTypeAnnotation=function(e){this.word(e.value?"true":"false")},t.BooleanTypeAnnotation=function(){this.word("boolean")},t.DeclareClass=function(e,t){s(t)||(this.word("declare"),this.space());this.word("class"),this.space(),this._interfaceish(e)},t.DeclareExportAllDeclaration=function(e){this.word("declare"),this.space(),Tn.ExportAllDeclaration.call(this,e)},t.DeclareExportDeclaration=function(e){this.word("declare"),this.space(),this.word("export"),this.space(),e.default&&(this.word("default"),this.space());o.call(this,e)},t.DeclareFunction=function(e,t){s(t)||(this.word("declare"),this.space());this.word("function"),this.space(),this.print(e.id,e),this.print(e.id.typeAnnotation.typeAnnotation,e),e.predicate&&(this.space(),this.print(e.predicate,e));this.semicolon()},t.DeclareInterface=function(e){this.word("declare"),this.space(),this.InterfaceDeclaration(e)},t.DeclareModule=function(e){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(e.id,e),this.space(),this.print(e.body,e)},t.DeclareModuleExports=function(e){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(e.typeAnnotation,e)},t.DeclareOpaqueType=function(e,t){s(t)||(this.word("declare"),this.space());this.OpaqueType(e)},t.DeclareTypeAlias=function(e){this.word("declare"),this.space(),this.TypeAlias(e)},t.DeclareVariable=function(e,t){s(t)||(this.word("declare"),this.space());this.word("var"),this.space(),this.print(e.id,e),this.print(e.id.typeAnnotation,e),this.semicolon()},t.DeclaredPredicate=function(e){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(e.value,e),this.tokenChar(41)},t.EmptyTypeAnnotation=function(){this.word("empty")},t.EnumBooleanBody=function(e){const{explicitType:t}=e;i(this,"boolean",t),n(this,e)},t.EnumBooleanMember=function(e){a(this,e)},t.EnumDeclaration=function(e){const{id:t,body:s}=e;this.word("enum"),this.space(),this.print(t,e),this.print(s,e)},t.EnumDefaultedMember=function(e){const{id:t}=e;this.print(t,e),this.tokenChar(44)},t.EnumNumberBody=function(e){const{explicitType:t}=e;i(this,"number",t),n(this,e)},t.EnumNumberMember=function(e){a(this,e)},t.EnumStringBody=function(e){const{explicitType:t}=e;i(this,"string",t),n(this,e)},t.EnumStringMember=function(e){a(this,e)},t.EnumSymbolBody=function(e){i(this,"symbol",!0),n(this,e)},t.ExistsTypeAnnotation=function(){this.tokenChar(42)},t.FunctionTypeAnnotation=function(e,t){this.print(e.typeParameters,e),this.tokenChar(40),e.this&&(this.word("this"),this.tokenChar(58),this.space(),this.print(e.this.typeAnnotation,e),(e.params.length||e.rest)&&(this.tokenChar(44),this.space()));this.printList(e.params,e),e.rest&&(e.params.length&&(this.tokenChar(44),this.space()),this.token("..."),this.print(e.rest,e));this.tokenChar(41),t&&("ObjectTypeCallProperty"===t.type||"DeclareFunction"===t.type||"ObjectTypeProperty"===t.type&&t.method)?this.tokenChar(58):(this.space(),this.token("=>"));this.space(),this.print(e.returnType,e)},t.FunctionTypeParam=function(e){this.print(e.name,e),e.optional&&this.tokenChar(63);e.name&&(this.tokenChar(58),this.space());this.print(e.typeAnnotation,e)},t.IndexedAccessType=function(e){this.print(e.objectType,e,!0),this.tokenChar(91),this.print(e.indexType,e),this.tokenChar(93)},t.InferredPredicate=function(){this.tokenChar(37),this.word("checks")},t.InterfaceDeclaration=function(e){this.word("interface"),this.space(),this._interfaceish(e)},t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=function(e){this.print(e.id,e),this.print(e.typeParameters,e,!0)},t.InterfaceTypeAnnotation=function(e){this.word("interface"),e.extends&&e.extends.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends,e));this.space(),this.print(e.body,e)},t.IntersectionTypeAnnotation=function(e){this.printJoin(e.types,e,{separator:c})},t.MixedTypeAnnotation=function(){this.word("mixed")},t.NullLiteralTypeAnnotation=function(){this.word("null")},t.NullableTypeAnnotation=function(e){this.tokenChar(63),this.print(e.typeAnnotation,e)},Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return Rn.NumericLiteral}}),t.NumberTypeAnnotation=function(){this.word("number")},t.ObjectTypeAnnotation=function(e){e.exact?this.token("{|"):this.tokenChar(123);const t=[...e.properties,...e.callProperties||[],...e.indexers||[],...e.internalSlots||[]];t.length&&(this.space(),this.printJoin(t,e,{addNewlines(e){if(e&&!t[0])return 1},indent:!0,statement:!0,iterator:()=>{(1!==t.length||e.inexact)&&(this.tokenChar(44),this.space())}}),this.space());e.inexact&&(this.indent(),this.token("..."),t.length&&this.newline(),this.dedent());e.exact?this.token("|}"):this.tokenChar(125)},t.ObjectTypeCallProperty=function(e){e.static&&(this.word("static"),this.space());this.print(e.value,e)},t.ObjectTypeIndexer=function(e){e.static&&(this.word("static"),this.space());this._variance(e),this.tokenChar(91),e.id&&(this.print(e.id,e),this.tokenChar(58),this.space());this.print(e.key,e),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(e.value,e)},t.ObjectTypeInternalSlot=function(e){e.static&&(this.word("static"),this.space());this.tokenChar(91),this.tokenChar(91),this.print(e.id,e),this.tokenChar(93),this.tokenChar(93),e.optional&&this.tokenChar(63);e.method||(this.tokenChar(58),this.space());this.print(e.value,e)},t.ObjectTypeProperty=function(e){e.proto&&(this.word("proto"),this.space());e.static&&(this.word("static"),this.space());"get"!==e.kind&&"set"!==e.kind||(this.word(e.kind),this.space());this._variance(e),this.print(e.key,e),e.optional&&this.tokenChar(63);e.method||(this.tokenChar(58),this.space());this.print(e.value,e)},t.ObjectTypeSpreadProperty=function(e){this.token("..."),this.print(e.argument,e)},t.OpaqueType=function(e){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(e.id,e),this.print(e.typeParameters,e),e.supertype&&(this.tokenChar(58),this.space(),this.print(e.supertype,e));e.impltype&&(this.space(),this.tokenChar(61),this.space(),this.print(e.impltype,e));this.semicolon()},t.OptionalIndexedAccessType=function(e){this.print(e.objectType,e),e.optional&&this.token("?.");this.tokenChar(91),this.print(e.indexType,e),this.tokenChar(93)},t.QualifiedTypeIdentifier=function(e){this.print(e.qualification,e),this.tokenChar(46),this.print(e.id,e)},Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return Rn.StringLiteral}}),t.StringTypeAnnotation=function(){this.word("string")},t.SymbolTypeAnnotation=function(){this.word("symbol")},t.ThisTypeAnnotation=function(){this.word("this")},t.TupleTypeAnnotation=function(e){this.tokenChar(91),this.printList(e.types,e),this.tokenChar(93)},t.TypeAlias=function(e){this.word("type"),this.space(),this.print(e.id,e),this.print(e.typeParameters,e),this.space(),this.tokenChar(61),this.space(),this.print(e.right,e),this.semicolon()},t.TypeAnnotation=function(e){this.tokenChar(58),this.space(),e.optional&&this.tokenChar(63);this.print(e.typeAnnotation,e)},t.TypeCastExpression=function(e){this.tokenChar(40),this.print(e.expression,e),this.print(e.typeAnnotation,e),this.tokenChar(41)},t.TypeParameter=function(e){this._variance(e),this.word(e.name),e.bound&&this.print(e.bound,e);e.default&&(this.space(),this.tokenChar(61),this.space(),this.print(e.default,e))},t.TypeParameterDeclaration=t.TypeParameterInstantiation=function(e){this.tokenChar(60),this.printList(e.params,e,{}),this.tokenChar(62)},t.TypeofTypeAnnotation=function(e){this.word("typeof"),this.space(),this.print(e.argument,e)},t.UnionTypeAnnotation=function(e){this.printJoin(e.types,e,{separator:u})},t.Variance=function(e){"plus"===e.kind?this.tokenChar(43):this.tokenChar(45)},t.VoidTypeAnnotation=function(){this.word("void")},t._interfaceish=function(e){var t;this.print(e.id,e),this.print(e.typeParameters,e),null!=(t=e.extends)&&t.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends,e));e.mixins&&e.mixins.length&&(this.space(),this.word("mixins"),this.space(),this.printList(e.mixins,e));e.implements&&e.implements.length&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements,e));this.space(),this.print(e.body,e)},t._variance=function(e){e.variance&&("plus"===e.variance.kind?this.tokenChar(43):"minus"===e.variance.kind&&this.tokenChar(45))};const{isDeclareExportDeclaration:s,isStatement:r}=M.default;function i(e,t,s){s&&(e.space(),e.word("of"),e.space(),e.word(t)),e.space()}function n(e,t){const{members:s}=t;e.token("{"),e.indent(),e.newline();for(const r of s)e.print(r,t),e.newline();t.hasUnknownMembers&&(e.token("..."),e.newline()),e.dedent(),e.token("}")}function a(e,t){const{id:s,init:r}=t;e.print(s,t),e.space(),e.token("="),e.space(),e.print(r,t),e.token(",")}function o(e){if(e.declaration){const t=e.declaration;this.print(t,e),r(t)||this.semicolon()}else this.tokenChar(123),e.specifiers.length&&(this.space(),this.printList(e.specifiers,e),this.space()),this.tokenChar(125),e.source&&(this.space(),this.word("from"),this.space(),this.print(e.source,e)),this.semicolon()}function c(){this.space(),this.tokenChar(38),this.space()}function u(){this.space(),this.tokenChar(124),this.space()}}));ee(Un),Un.AnyTypeAnnotation,Un.ArrayTypeAnnotation,Un.BooleanLiteralTypeAnnotation,Un.BooleanTypeAnnotation,Un.DeclareClass,Un.DeclareExportAllDeclaration,Un.DeclareExportDeclaration,Un.DeclareFunction,Un.DeclareInterface,Un.DeclareModule,Un.DeclareModuleExports,Un.DeclareOpaqueType,Un.DeclareTypeAlias,Un.DeclareVariable,Un.DeclaredPredicate,Un.EmptyTypeAnnotation,Un.EnumBooleanBody,Un.EnumBooleanMember,Un.EnumDeclaration,Un.EnumDefaultedMember,Un.EnumNumberBody,Un.EnumNumberMember,Un.EnumStringBody,Un.EnumStringMember,Un.EnumSymbolBody,Un.ExistsTypeAnnotation,Un.FunctionTypeAnnotation,Un.FunctionTypeParam,Un.IndexedAccessType,Un.InferredPredicate,Un.InterfaceDeclaration,Un.GenericTypeAnnotation,Un.ClassImplements,Un.InterfaceExtends,Un.InterfaceTypeAnnotation,Un.IntersectionTypeAnnotation,Un.MixedTypeAnnotation,Un.NullLiteralTypeAnnotation,Un.NullableTypeAnnotation,Un.NumberLiteralTypeAnnotation,Un.NumberTypeAnnotation,Un.ObjectTypeAnnotation,Un.ObjectTypeCallProperty,Un.ObjectTypeIndexer,Un.ObjectTypeInternalSlot,Un.ObjectTypeProperty,Un.ObjectTypeSpreadProperty,Un.OpaqueType,Un.OptionalIndexedAccessType,Un.QualifiedTypeIdentifier,Un.StringLiteralTypeAnnotation,Un.StringTypeAnnotation,Un.SymbolTypeAnnotation,Un.ThisTypeAnnotation,Un.TupleTypeAnnotation,Un.TypeAlias,Un.TypeAnnotation,Un.TypeCastExpression,Un.TypeParameter,Un.TypeParameterDeclaration,Un.TypeParameterInstantiation,Un.TypeofTypeAnnotation,Un.UnionTypeAnnotation,Un.Variance,Un.VoidTypeAnnotation,Un._interfaceish,Un._variance;var qn=te((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.BlockStatement=function(e){var t;this.tokenChar(123),this.printInnerComments(e);const s=null==(t=e.directives)?void 0:t.length;e.body.length||s?(this.newline(),this.printSequence(e.directives,e,{indent:!0}),s&&this.newline(),this.printSequence(e.body,e,{indent:!0}),this.removeTrailingNewline(),this.source("end",e.loc),this.endsWith(10)||this.newline(),this.rightBrace()):(this.source("end",e.loc),this.tokenChar(125))},t.Directive=function(e){this.print(e.value,e),this.semicolon()},t.DirectiveLiteral=function(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&void 0!==t)return void this.token(t);const{value:i}=e;if(r.test(i)){if(s.test(i))throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.");this.token(`'${i}'`)}else this.token(`"${i}"`)},t.File=function(e){e.program&&this.print(e.program.interpreter,e);this.print(e.program,e)},t.InterpreterDirective=function(e){this.token(`#!${e.value}\n`,!0)},t.Placeholder=function(e){this.token("%%"),this.print(e.name),this.token("%%"),"Statement"===e.expectedNode&&this.semicolon()},t.Program=function(e){this.printInnerComments(e,!1),this.printSequence(e.directives,e),e.directives&&e.directives.length&&this.newline();this.printSequence(e.body,e)};const s=/(?:^|[^\\])(?:\\\\)*'/,r=/(?:^|[^\\])(?:\\\\)*"/}));ee(qn),qn.BlockStatement,qn.Directive,qn.DirectiveLiteral,qn.File,qn.InterpreterDirective,qn.Placeholder,qn.Program;var zn=te((function(e,t){function s(){this.space()}Object.defineProperty(t,"__esModule",{value:!0}),t.JSXAttribute=function(e){this.print(e.name,e),e.value&&(this.tokenChar(61),this.print(e.value,e))},t.JSXClosingElement=function(e){this.token("</"),this.print(e.name,e),this.tokenChar(62)},t.JSXClosingFragment=function(){this.token("</"),this.tokenChar(62)},t.JSXElement=function(e){const t=e.openingElement;if(this.print(t,e),t.selfClosing)return;this.indent();for(const t of e.children)this.print(t,e);this.dedent(),this.print(e.closingElement,e)},t.JSXEmptyExpression=function(e){this.printInnerComments(e)},t.JSXExpressionContainer=function(e){this.tokenChar(123),this.print(e.expression,e),this.tokenChar(125)},t.JSXFragment=function(e){this.print(e.openingFragment,e),this.indent();for(const t of e.children)this.print(t,e);this.dedent(),this.print(e.closingFragment,e)},t.JSXIdentifier=function(e){this.word(e.name)},t.JSXMemberExpression=function(e){this.print(e.object,e),this.tokenChar(46),this.print(e.property,e)},t.JSXNamespacedName=function(e){this.print(e.namespace,e),this.tokenChar(58),this.print(e.name,e)},t.JSXOpeningElement=function(e){this.tokenChar(60),this.print(e.name,e),this.print(e.typeParameters,e),e.attributes.length>0&&(this.space(),this.printJoin(e.attributes,e,{separator:s}));e.selfClosing?(this.space(),this.token("/>")):this.tokenChar(62)},t.JSXOpeningFragment=function(){this.tokenChar(60),this.tokenChar(62)},t.JSXSpreadAttribute=function(e){this.tokenChar(123),this.token("..."),this.print(e.argument,e),this.tokenChar(125)},t.JSXSpreadChild=function(e){this.tokenChar(123),this.token("..."),this.print(e.expression,e),this.tokenChar(125)},t.JSXText=function(e){const t=this.getPossibleRaw(e);void 0!==t?this.token(t,!0):this.token(e.value,!0)}}));ee(zn),zn.JSXAttribute,zn.JSXClosingElement,zn.JSXClosingFragment,zn.JSXElement,zn.JSXEmptyExpression,zn.JSXExpressionContainer,zn.JSXFragment,zn.JSXIdentifier,zn.JSXMemberExpression,zn.JSXNamespacedName,zn.JSXOpeningElement,zn.JSXOpeningFragment,zn.JSXSpreadAttribute,zn.JSXSpreadChild,zn.JSXText;var $n=te((function(e,t){function s(e,t,s){if(e.token("{"),t.length){e.indent(),e.newline();for(const r of t)e.print(r,s),e.newline();e.dedent(),e.rightBrace()}else e.token("}")}function r(e,t,s){e.printJoin(t.types,t,{separator(){this.space(),this.token(s),this.space()}})}function i(e,t){!0!==t&&e.token(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.TSAnyKeyword=function(){this.word("any")},t.TSArrayType=function(e){this.print(e.elementType,e,!0),this.token("[]")},t.TSAsExpression=function(e){const{expression:t,typeAnnotation:s}=e;this.print(t,e),this.space(),this.word("as"),this.space(),this.print(s,e)},t.TSBigIntKeyword=function(){this.word("bigint")},t.TSBooleanKeyword=function(){this.word("boolean")},t.TSCallSignatureDeclaration=function(e){this.tsPrintSignatureDeclarationBase(e),this.tokenChar(59)},t.TSConditionalType=function(e){this.print(e.checkType),this.space(),this.word("extends"),this.space(),this.print(e.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(e.trueType),this.space(),this.tokenChar(58),this.space(),this.print(e.falseType)},t.TSConstructSignatureDeclaration=function(e){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(e),this.tokenChar(59)},t.TSConstructorType=function(e){e.abstract&&(this.word("abstract"),this.space());this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(e)},t.TSDeclareFunction=function(e){e.declare&&(this.word("declare"),this.space());this._functionHead(e),this.tokenChar(59)},t.TSDeclareMethod=function(e){this._classMethodHead(e),this.tokenChar(59)},t.TSEnumDeclaration=function(e){const{declare:t,const:r,id:i,members:n}=e;t&&(this.word("declare"),this.space());r&&(this.word("const"),this.space());this.word("enum"),this.space(),this.print(i,e),this.space(),s(this,n,e)},t.TSEnumMember=function(e){const{id:t,initializer:s}=e;this.print(t,e),s&&(this.space(),this.tokenChar(61),this.space(),this.print(s,e));this.tokenChar(44)},t.TSExportAssignment=function(e){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(e.expression,e),this.tokenChar(59)},t.TSExpressionWithTypeArguments=function(e){this.print(e.expression,e),this.print(e.typeParameters,e)},t.TSExternalModuleReference=function(e){this.token("require("),this.print(e.expression,e),this.tokenChar(41)},t.TSFunctionType=function(e){this.tsPrintFunctionOrConstructorType(e)},t.TSImportEqualsDeclaration=function(e){const{isExport:t,id:s,moduleReference:r}=e;t&&(this.word("export"),this.space());this.word("import"),this.space(),this.print(s,e),this.space(),this.tokenChar(61),this.space(),this.print(r,e),this.tokenChar(59)},t.TSImportType=function(e){const{argument:t,qualifier:s,typeParameters:r}=e;this.word("import"),this.tokenChar(40),this.print(t,e),this.tokenChar(41),s&&(this.tokenChar(46),this.print(s,e));r&&this.print(r,e)},t.TSIndexSignature=function(e){const{readonly:t,static:s}=e;s&&(this.word("static"),this.space());t&&(this.word("readonly"),this.space());this.tokenChar(91),this._parameters(e.parameters,e),this.tokenChar(93),this.print(e.typeAnnotation,e),this.tokenChar(59)},t.TSIndexedAccessType=function(e){this.print(e.objectType,e,!0),this.tokenChar(91),this.print(e.indexType,e),this.tokenChar(93)},t.TSInferType=function(e){this.token("infer"),this.space(),this.print(e.typeParameter)},t.TSInstantiationExpression=function(e){this.print(e.expression,e),this.print(e.typeParameters,e)},t.TSInterfaceBody=function(e){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)},t.TSInterfaceDeclaration=function(e){const{declare:t,id:s,typeParameters:r,extends:i,body:n}=e;t&&(this.word("declare"),this.space());this.word("interface"),this.space(),this.print(s,e),this.print(r,e),null!=i&&i.length&&(this.space(),this.word("extends"),this.space(),this.printList(i,e));this.space(),this.print(n,e)},t.TSIntersectionType=function(e){r(this,e,"&")},t.TSIntrinsicKeyword=function(){this.word("intrinsic")},t.TSLiteralType=function(e){this.print(e.literal,e)},t.TSMappedType=function(e){const{nameType:t,optional:s,readonly:r,typeParameter:n}=e;this.tokenChar(123),this.space(),r&&(i(this,r),this.word("readonly"),this.space());this.tokenChar(91),this.word(n.name),this.space(),this.word("in"),this.space(),this.print(n.constraint,n),t&&(this.space(),this.word("as"),this.space(),this.print(t,e));this.tokenChar(93),s&&(i(this,s),this.tokenChar(63));this.tokenChar(58),this.space(),this.print(e.typeAnnotation,e),this.space(),this.tokenChar(125)},t.TSMethodSignature=function(e){const{kind:t}=e;"set"!==t&&"get"!==t||(this.word(t),this.space());this.tsPrintPropertyOrMethodName(e),this.tsPrintSignatureDeclarationBase(e),this.tokenChar(59)},t.TSModuleBlock=function(e){s(this,e.body,e)},t.TSModuleDeclaration=function(e){const{declare:t,id:s}=e;t&&(this.word("declare"),this.space());e.global||(this.word("Identifier"===s.type?"namespace":"module"),this.space());if(this.print(s,e),!e.body)return void this.tokenChar(59);let r=e.body;for(;"TSModuleDeclaration"===r.type;)this.tokenChar(46),this.print(r.id,r),r=r.body;this.space(),this.print(r,e)},t.TSNamedTupleMember=function(e){this.print(e.label,e),e.optional&&this.tokenChar(63);this.tokenChar(58),this.space(),this.print(e.elementType,e)},t.TSNamespaceExportDeclaration=function(e){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(e.id,e)},t.TSNeverKeyword=function(){this.word("never")},t.TSNonNullExpression=function(e){this.print(e.expression,e),this.tokenChar(33)},t.TSNullKeyword=function(){this.word("null")},t.TSNumberKeyword=function(){this.word("number")},t.TSObjectKeyword=function(){this.word("object")},t.TSOptionalType=function(e){this.print(e.typeAnnotation,e),this.tokenChar(63)},t.TSParameterProperty=function(e){e.accessibility&&(this.word(e.accessibility),this.space());e.readonly&&(this.word("readonly"),this.space());this._param(e.parameter)},t.TSParenthesizedType=function(e){this.tokenChar(40),this.print(e.typeAnnotation,e),this.tokenChar(41)},t.TSPropertySignature=function(e){const{readonly:t,initializer:s}=e;t&&(this.word("readonly"),this.space());this.tsPrintPropertyOrMethodName(e),this.print(e.typeAnnotation,e),s&&(this.space(),this.tokenChar(61),this.space(),this.print(s,e));this.tokenChar(59)},t.TSQualifiedName=function(e){this.print(e.left,e),this.tokenChar(46),this.print(e.right,e)},t.TSRestType=function(e){this.token("..."),this.print(e.typeAnnotation,e)},t.TSStringKeyword=function(){this.word("string")},t.TSSymbolKeyword=function(){this.word("symbol")},t.TSThisType=function(){this.word("this")},t.TSTupleType=function(e){this.tokenChar(91),this.printList(e.elementTypes,e),this.tokenChar(93)},t.TSTypeAliasDeclaration=function(e){const{declare:t,id:s,typeParameters:r,typeAnnotation:i}=e;t&&(this.word("declare"),this.space());this.word("type"),this.space(),this.print(s,e),this.print(r,e),this.space(),this.tokenChar(61),this.space(),this.print(i,e),this.tokenChar(59)},t.TSTypeAnnotation=function(e){this.tokenChar(58),this.space(),e.optional&&this.tokenChar(63);this.print(e.typeAnnotation,e)},t.TSTypeAssertion=function(e){const{typeAnnotation:t,expression:s}=e;this.tokenChar(60),this.print(t,e),this.tokenChar(62),this.space(),this.print(s,e)},t.TSTypeLiteral=function(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)},t.TSTypeOperator=function(e){this.word(e.operator),this.space(),this.print(e.typeAnnotation,e)},t.TSTypeParameter=function(e){e.in&&(this.word("in"),this.space());e.out&&(this.word("out"),this.space());this.word(e.name),e.constraint&&(this.space(),this.word("extends"),this.space(),this.print(e.constraint,e));e.default&&(this.space(),this.tokenChar(61),this.space(),this.print(e.default,e))},t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=function(e,t){this.tokenChar(60),this.printList(e.params,e,{}),"ArrowFunctionExpression"===t.type&&1===e.params.length&&this.tokenChar(44);this.tokenChar(62)},t.TSTypePredicate=function(e){e.asserts&&(this.word("asserts"),this.space());this.print(e.parameterName),e.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(e.typeAnnotation.typeAnnotation))},t.TSTypeQuery=function(e){this.word("typeof"),this.space(),this.print(e.exprName),e.typeParameters&&this.print(e.typeParameters,e)},t.TSTypeReference=function(e){this.print(e.typeName,e,!0),this.print(e.typeParameters,e,!0)},t.TSUndefinedKeyword=function(){this.word("undefined")},t.TSUnionType=function(e){r(this,e,"|")},t.TSUnknownKeyword=function(){this.word("unknown")},t.TSVoidKeyword=function(){this.word("void")},t.tsPrintClassMemberModifiers=function(e){const t="ClassAccessorProperty"===e.type||"ClassProperty"===e.type;t&&e.declare&&(this.word("declare"),this.space());e.accessibility&&(this.word(e.accessibility),this.space());e.static&&(this.word("static"),this.space());e.override&&(this.word("override"),this.space());e.abstract&&(this.word("abstract"),this.space());t&&e.readonly&&(this.word("readonly"),this.space())},t.tsPrintFunctionOrConstructorType=function(e){const{typeParameters:t}=e,s=e.parameters;this.print(t,e),this.tokenChar(40),this._parameters(s,e),this.tokenChar(41),this.space(),this.token("=>"),this.space();const r=e.typeAnnotation;this.print(r.typeAnnotation,e)},t.tsPrintPropertyOrMethodName=function(e){e.computed&&this.tokenChar(91);this.print(e.key,e),e.computed&&this.tokenChar(93);e.optional&&this.tokenChar(63)},t.tsPrintSignatureDeclarationBase=function(e){const{typeParameters:t}=e,s=e.parameters;this.print(t,e),this.tokenChar(40),this._parameters(s,e),this.tokenChar(41);const r=e.typeAnnotation;this.print(r,e)},t.tsPrintTypeLiteralOrInterfaceBody=function(e,t){s(this,e,t)}}));ee($n),$n.TSAnyKeyword,$n.TSArrayType,$n.TSAsExpression,$n.TSBigIntKeyword,$n.TSBooleanKeyword,$n.TSCallSignatureDeclaration,$n.TSConditionalType,$n.TSConstructSignatureDeclaration,$n.TSConstructorType,$n.TSDeclareFunction,$n.TSDeclareMethod,$n.TSEnumDeclaration,$n.TSEnumMember,$n.TSExportAssignment,$n.TSExpressionWithTypeArguments,$n.TSExternalModuleReference,$n.TSFunctionType,$n.TSImportEqualsDeclaration,$n.TSImportType,$n.TSIndexSignature,$n.TSIndexedAccessType,$n.TSInferType,$n.TSInstantiationExpression,$n.TSInterfaceBody,$n.TSInterfaceDeclaration,$n.TSIntersectionType,$n.TSIntrinsicKeyword,$n.TSLiteralType,$n.TSMappedType,$n.TSMethodSignature,$n.TSModuleBlock,$n.TSModuleDeclaration,$n.TSNamedTupleMember,$n.TSNamespaceExportDeclaration,$n.TSNeverKeyword,$n.TSNonNullExpression,$n.TSNullKeyword,$n.TSNumberKeyword,$n.TSObjectKeyword,$n.TSOptionalType,$n.TSParameterProperty,$n.TSParenthesizedType,$n.TSPropertySignature,$n.TSQualifiedName,$n.TSRestType,$n.TSStringKeyword,$n.TSSymbolKeyword,$n.TSThisType,$n.TSTupleType,$n.TSTypeAliasDeclaration,$n.TSTypeAnnotation,$n.TSTypeAssertion,$n.TSTypeLiteral,$n.TSTypeOperator,$n.TSTypeParameter,$n.TSTypeParameterDeclaration,$n.TSTypeParameterInstantiation,$n.TSTypePredicate,$n.TSTypeQuery,$n.TSTypeReference,$n.TSUndefinedKeyword,$n.TSUnionType,$n.TSUnknownKeyword,$n.TSVoidKeyword,$n.tsPrintClassMemberModifiers,$n.tsPrintFunctionOrConstructorType,$n.tsPrintPropertyOrMethodName,$n.tsPrintSignatureDeclarationBase,$n.tsPrintTypeLiteralOrInterfaceBody;var Hn=te((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(En).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===En[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return En[e]}}))})),Object.keys(Cn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Cn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Cn[e]}}))})),Object.keys(An).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===An[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return An[e]}}))})),Object.keys(wn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===wn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return wn[e]}}))})),Object.keys(Dn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Dn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Dn[e]}}))})),Object.keys(Tn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Tn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Tn[e]}}))})),Object.keys(Rn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Rn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Rn[e]}}))})),Object.keys(Un).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Un[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Un[e]}}))})),Object.keys(qn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===qn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return qn[e]}}))})),Object.keys(zn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===zn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return zn[e]}}))})),Object.keys($n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===$n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return $n[e]}}))}))}));ee(Hn);var Vn=te((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const s=/e/i,r=/\.0+$/,i=/^0[box]/,n=/^\s*[@#]__PURE__\s*$/,{needsParens:a,needsWhitespaceAfter:o,needsWhitespaceBefore:c}=bn;class u{constructor(e,t){this.inForStatementInitCounter=0,this._printStack=[],this._indent=0,this._indentChar=0,this._indentRepeat=0,this._insideAux=!1,this._parenPushNewlineState=null,this._noLineTerminator=!1,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this.format=e,this._buf=new gn.default(t),this._indentChar=e.indent.style.charCodeAt(0),this._indentRepeat=e.indent.style.length}generate(e){return this.print(e),this._maybeAddAuxComment(),this._buf.get()}indent(){this.format.compact||this.format.concise||this._indent++}dedent(){this.format.compact||this.format.concise||this._indent--}semicolon(e=!1){this._maybeAddAuxComment(),e?this._appendChar(59):this._queue(59)}rightBrace(){this.format.minified&&this._buf.removeLastSemicolon(),this.tokenChar(125)}space(e=!1){if(!this.format.compact)if(e)this._space();else if(this._buf.hasContent()){const e=this.getLastChar();32!==e&&10!==e&&this._space()}}word(e){(this._endsWithWord||47===e.charCodeAt(0)&&this.endsWith(47))&&this._space(),this._maybeAddAuxComment(),this._append(e,!1),this._endsWithWord=!0}number(e){this.word(e),this._endsWithInteger=Number.isInteger(+e)&&!i.test(e)&&!s.test(e)&&!r.test(e)&&46!==e.charCodeAt(e.length-1)}token(e,t=!1){const s=this.getLastChar(),r=e.charCodeAt(0);(33===s&&"--"===e||43===r&&43===s||45===r&&45===s||46===r&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._append(e,t)}tokenChar(e){const t=this.getLastChar();(43===e&&43===t||45===e&&45===t||46===e&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._appendChar(e)}newline(e=1){if(this.format.retainLines||this.format.compact)return;if(this.format.concise)return void this.space();const t=this.endsWithCharAndNewline();if(10!==t&&(123!==t&&58!==t||e--,!(e<=0)))for(let t=0;t<e;t++)this._newline()}endsWith(e){return this.getLastChar()===e}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(e,t){this._catchUp("start",e),this._buf.exactSource(e,t)}source(e,t){this._catchUp(e,t),this._buf.source(e,t)}withSource(e,t,s){this._catchUp(e,t),this._buf.withSource(e,t,s)}_space(){this._queue(32)}_newline(){this._queue(10)}_append(e,t){this._maybeAddParen(e),this._maybeIndent(e.charCodeAt(0)),this._buf.append(e,t),this._endsWithWord=!1,this._endsWithInteger=!1}_appendChar(e){this._maybeAddParenChar(e),this._maybeIndent(e),this._buf.appendChar(e),this._endsWithWord=!1,this._endsWithInteger=!1}_queue(e){this._maybeAddParenChar(e),this._maybeIndent(e),this._buf.queue(e),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(e){this._indent&&10!==e&&this.endsWith(10)&&this._buf.queueIndentation(this._indentChar,this._getIndent())}_maybeAddParenChar(e){const t=this._parenPushNewlineState;t&&32!==e&&(10===e?(this.tokenChar(40),this.indent(),t.printed=!0):this._parenPushNewlineState=null)}_maybeAddParen(e){const t=this._parenPushNewlineState;if(!t)return;const s=e.length;let r;for(r=0;r<s&&32===e.charCodeAt(r);r++)continue;if(r===s)return;const i=e.charCodeAt(r);if(10!==i){if(47!==i||r+1===s)return void(this._parenPushNewlineState=null);const t=e.charCodeAt(r+1);if(42===t){if(n.test(e.slice(r+2,s-2)))return}else if(47!==t)return void(this._parenPushNewlineState=null)}this.tokenChar(40),this.indent(),t.printed=!0}_catchUp(e,t){if(!this.format.retainLines)return;const s=t?t[e]:null;if(null!=(null==s?void 0:s.line)){const e=s.line-this._buf.getCurrentLine();for(let t=0;t<e;t++)this._newline()}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(e,t,s){if(s)this._noLineTerminator=!0,this.print(e,t),this._noLineTerminator=!1;else{const s={printed:!1};this._parenPushNewlineState=s,this.print(e,t),s.printed&&(this.dedent(),this.newline(),this.tokenChar(41))}}print(e,t,s){if(!e)return;const r=e.type,i=this.format,n=i.concise;e._compact&&(i.concise=!0);const o=this[r];if(void 0===o)throw new ReferenceError(`unknown node of type ${JSON.stringify(r)} with constructor ${JSON.stringify(e.constructor.name)}`);this._printStack.push(e);const c=this._insideAux;let u;this._insideAux=null==e.loc,this._maybeAddAuxComment(this._insideAux&&!c),u=!!(i.retainFunctionParens&&"FunctionExpression"===r&&e.extra&&e.extra.parenthesized)||a(e,t,this._printStack),u&&this.tokenChar(40),this._printLeadingComments(e);const l="Program"===r||"File"===r?null:e.loc;this.withSource("start",l,o.bind(this,e,t)),s&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(e),this._noLineTerminator=!1):this._printTrailingComments(e),u&&this.tokenChar(41),this._printStack.pop(),i.concise=n,this._insideAux=c}_maybeAddAuxComment(e){e&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;const e=this.format.auxiliaryCommentBefore;e&&this._printComment({type:"CommentBlock",value:e})}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;const e=this.format.auxiliaryCommentAfter;e&&this._printComment({type:"CommentBlock",value:e})}getPossibleRaw(e){const t=e.extra;if(t&&null!=t.raw&&null!=t.rawValue&&e.value===t.rawValue)return t.raw}printJoin(e,t,s={}){if(null==e||!e.length)return;s.indent&&this.indent();const r={addNewlines:s.addNewlines},i=e.length;for(let n=0;n<i;n++){const a=e[n];a&&(s.statement&&this._printNewline(!0,a,t,r),this.print(a,t),s.iterator&&s.iterator(a,n),s.separator&&n<i-1&&s.separator.call(this),s.statement&&this._printNewline(!1,a,t,r))}s.indent&&this.dedent()}printAndIndentOnComments(e,t){const s=e.leadingComments&&e.leadingComments.length>0;s&&this.indent(),this.print(e,t),s&&this.dedent()}printBlock(e){const t=e.body;"EmptyStatement"!==t.type&&this.space(),this.print(t,e)}_printTrailingComments(e){this._printComments(this._getComments(!1,e))}_printLeadingComments(e){this._printComments(this._getComments(!0,e),!0)}printInnerComments(e,t=!0){var s;null!=(s=e.innerComments)&&s.length&&(t&&this.indent(),this._printComments(e.innerComments),t&&this.dedent())}printSequence(e,t,s={}){return s.statement=!0,this.printJoin(e,t,s)}printList(e,t,s={}){return null==s.separator&&(s.separator=p),this.printJoin(e,t,s)}_printNewline(e,t,s,r){if(this.format.retainLines||this.format.compact)return;if(this.format.concise)return void this.space();let i=0;if(this._buf.hasContent()){e||i++,r.addNewlines&&(i+=r.addNewlines(e,t)||0);(e?c:o)(t,s)&&i++}this.newline(Math.min(2,i))}_getComments(e,t){return t&&(e?t.leadingComments:t.trailingComments)||null}_printComment(e,t){if(e.ignore)return;if(this._printedComments.has(e))return;if(!this.format.shouldPrintComment(e.value))return;this._printedComments.add(e);const s="CommentBlock"===e.type,r=s&&!t&&!this._noLineTerminator;r&&this._buf.hasContent()&&this.newline(1);const i=this.getLastChar();let n;91!==i&&123!==i&&this.space();let a=!1;if(s){if(n=`/*${e.value}*/`,this.format.indent.adjustMultilineComment){var o;const t=null==(o=e.loc)?void 0:o.start.column;if(t){const e=new RegExp("\\n\\s{1,"+t+"}","g");n=n.replace(e,"\n")}const s=Math.max(this._getIndent(),this.format.retainLines?0:this._buf.getCurrentColumn());n=n.replace(/\n(?!$)/g,`\n${" ".repeat(s)}`),a=!0}}else this._noLineTerminator?n=`/*${e.value}*/`:(n=`//${e.value}\n`,a=!0);this.endsWith(47)&&this._space(),this.withSource("start",e.loc,this._append.bind(this,n,a)),r&&this.newline(1)}_printComments(e,t){if(null!=e&&e.length)if(t&&1===e.length&&n.test(e[0].value))this._printComment(e[0],this._buf.hasContent()&&!this.endsWith(10));else for(const t of e)this._printComment(t)}printAssertions(e){var t;null!=(t=e.assertions)&&t.length&&(this.space(),this.word("assert"),this.space(),this.tokenChar(123),this.space(),this.printList(e.assertions,e),this.space(),this.tokenChar(125))}}Object.assign(u.prototype,Hn),u.prototype.Noop=function(){};var l=u;function p(){this.tokenChar(44),this.space()}t.default=l}));ee(Vn);var Gn=te((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGenerator=void 0,t.default=function(e,t,r){return new s(e,t,r).generate()};class s extends Vn.default{constructor(e,t={},s){const r=function(e,t){const s={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:null==t.comments||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:!0,style:" ",base:0},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},t.jsescOption),recordAndTupleSyntaxType:t.recordAndTupleSyntaxType,topicToken:t.topicToken};s.decoratorsBeforeExport=!!t.decoratorsBeforeExport,s.jsonCompatibleStrings=t.jsonCompatibleStrings,s.minified?(s.compact=!0,s.shouldPrintComment=s.shouldPrintComment||(()=>s.comments)):s.shouldPrintComment=s.shouldPrintComment||(e=>s.comments||e.includes("@license")||e.includes("@preserve"));"auto"===s.compact&&(s.compact=e.length>5e5,s.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${t.filename} as it exceeds the max of 500KB.`));s.compact&&(s.indent.adjustMultilineComment=!1);return s}(s,t);super(r,t.sourceMaps?new yn.default(t,s):null),this.ast=void 0,this.ast=e}generate(){return super.generate(this.ast)}}t.CodeGenerator=class{constructor(e,t,r){this._generator=void 0,this._generator=new s(e,t,r)}generate(){return this._generator.generate()}}})),Wn=ee(Gn);Gn.CodeGenerator;let Jn,Xn,Kn=e=>((e=>{!Jn||Jn.length<e?(Jn=Buffer.allocUnsafe(128*e),q.default.randomFillSync(Jn),Xn=0):Xn+e>Jn.length&&(q.default.randomFillSync(Jn),Xn=0),Xn+=e})(e-=0),Jn.subarray(Xn-e,Xn));var Yn,Qn=((e,t=21)=>((e,t,s)=>{let r=(2<<31-Math.clz32(e.length-1|1))-1,i=Math.ceil(1.6*r*t/e.length);return(n=t)=>{let a="";for(;;){let t=s(i),o=i;for(;o--;)if(a+=e[t[o]&r]||"",a.length===n)return a}}})(e,t,Kn))("0123456789abcdefghijklmnopqrstuvwxyz",6),Zn=function(e,t,s){var r=[],i=[],n=k.readFileSync(e.path+e.fileName,"utf-8"),a=gi("".concat(n),{sourceType:"module",plugins:["jsx","typescript","decorators-legacy"]});if(U.default(a,{Program:function(e){var t=e.node.body;t.forEach((function(e){(null==e?void 0:e.source)&&e.source.value.includes("@/components")&&(e.source.value=e.source.value.replace("@/components",s?"".concat(s.replace("src","@"),"/components"):"../components"))}));var r=t.find((function(e){return e.source&&"ruoqing-components"===e.source.value}));r&&["$eval","$createChildContext","$evalArray"].forEach((function(e){r.specifiers.push(R.importSpecifier(R.identifier(e),R.identifier(e)))}));var i=t.findIndex((function(e){var t;return"@alilc/lowcode-datasource-engine/runtime"===(null===(t=null==e?void 0:e.source)||void 0===t?void 0:t.value)}));r&&i>-1&&(t.splice(i,1),r.specifiers.push(R.importSpecifier(R.identifier("dataSource"),R.identifier("dataSource"))));var n=t.findIndex((function(e){var t;return"@alilc/lowcode-datasource-fetch-handler"===(null===(t=null==e?void 0:e.source)||void 0===t?void 0:t.value)}));r&&n>-1&&(t.splice(n,1),r.specifiers.push(R.importSpecifier(R.identifier("requestHandle"),R.identifier("requestHandle"))));var a=t.findIndex((function(e){var t;return"./index.css"===(null===(t=null==e?void 0:e.source)||void 0===t?void 0:t.value)}));t.splice(a,1,R.importDeclaration([],R.stringLiteral("./index.scss")));var o=Y(gi("const { px, RefsManager, $eval, $evalArray, $createChildContext } = utils;",{sourceType:"module",plugins:["jsx","typescript","decorators-legacy"]}).program.body,1)[0];t.splice(a+1,0,o)},ImportDeclaration:function(e){e.node.specifiers&&e.node.specifiers.length>0&&(e.node.specifiers=e.node.specifiers.filter((function(e){return!(e.imported&&"Component"===e.imported.name)})))},Literal:function(e){var s,r,i;if("string"==typeof(null===(s=e.node)||void 0===s?void 0:s.value)&&(null===(r=e.node)||void 0===r?void 0:r.value.includes("px"))){var n=null===(i=e.node)||void 0===i?void 0:i.value;n=n.replace(/(\d+)px/g,(function(e,s){return"".concat(s*("vite"===t?1:2))})),isNaN(Number(n))||("JSXAttribute"===e.parent.type?e.replaceWith(R.jsxExpressionContainer(R.callExpression(R.identifier("px"),[R.numericLiteral(Number(n))]))):e.replaceWith(R.callExpression(R.identifier("px"),[R.numericLiteral(Number(n))])))}},JSXIdentifier:function(e){("__events"===e.node.name||e.node.name.includes("_unsafe_"))&&e.parentPath.remove()},JSXOpeningElement:function(e){var t,s,r;(null===(t=e.node.attributes)||void 0===t?void 0:t.length)>0&&e.node.attributes.findIndex((function(e){return"className"===e.name.name}))>-1&&"Fragment"===(null===(r=null===(s=e.node.name)||void 0===s?void 0:s.property)||void 0===r?void 0:r.name)&&(e.node.attributes=[])},JSXAttribute:function(e){var t,s,n,a,o,c;if("AtIcon"===e.parent.name.name&&"svg"===e.node.name.name&&"StringLiteral"===(null===(t=e.node)||void 0===t?void 0:t.value.type)){var u="",l="";if(Array.isArray(e.container)){var p=e.container.find((function(e){return"value"===e.name.name}));l=(null===(n=null===(s=e.container.find((function(e){return"color"===e.name.name})))||void 0===s?void 0:s.value)||void 0===n?void 0:n.value)||"",p&&(u="svg_".concat((null===(a=null==p?void 0:p.value)||void 0===a?void 0:a.value)||Qn(6)))}u||(u="svg_".concat(Qn(6))),i.findIndex((function(e){return e.fileName===u}))>-1&&(u="".concat(u,"_").concat(Qn(6)));var h=e.node.value.value;u&&h&&(h&&l&&(h=h.replace(/currentColor/g,l)),h&&l&&(h=(h=h.replace(/width="100%"/g,"")).replace(/height="100%"/g,"")),e.replaceWith(R.jsxAttribute(R.jsxIdentifier("svg"),R.jsxExpressionContainer(R.memberExpression(R.identifier("ICONS"),R.stringLiteral(u),!0)))),i.push({svgStr:h,fileName:u}))}if("Image"===e.parent.name.name&&"src"===e.node.name.name&&"StringLiteral"===(null===(o=e.node)||void 0===o?void 0:o.value.type)){var d="";if(Array.isArray(e.container)){var m=e.container.find((function(e){return"className"===e.name.name}));if(m){var f=(d=null===(c=null==m?void 0:m.value)||void 0===c?void 0:c.value).split("__");d=(f.length>0?f[f.length-1]:d)+".png"}}r.findIndex((function(e){return e.fileName===d.toLowerCase()}))>-1&&(d="r".concat(r.length,"_").concat(d.toLowerCase()));var y=e.node.value.value,g=d.toLowerCase(),x="static_"+g.split(".")[0];if(d&&y){var v=R.jSXExpressionContainer(R.identifier(x));e.node.value=d?v:null,r.push({url:y,fileName:g,line:R.importDeclaration([R.importDefaultSpecifier(R.identifier(x))],R.stringLiteral("./images/".concat(g)))})}}},Identifier:function(e){"__$$context"===e.node.name&&"CallExpression"===e.parentPath.type&&(e.node.name="this")},FunctionDeclaration:function(e){var t,s;["__$$eval","__$$createChildContext","__$$evalArray"].includes((null===(s=null===(t=null==e?void 0:e.node)||void 0===t?void 0:t.id)||void 0===s?void 0:s.name)||"")&&e.remove()},CallExpression:function(e){var t=e.node;R.isMemberExpression(t.callee)&&R.isIdentifier(t.callee.property,{name:"stopPropagation"})&&e.replaceWith(R.optionalCallExpression(R.memberExpression(t.callee.object,R.identifier("stopPropagation")),[],!0))}}),i.length>0){var o=!1;U.default(a,{ImportDeclaration:function(e){if(!o){var t=R.importDeclaration([R.importDefaultSpecifier(R.identifier("ICONS"))],R.stringLiteral("./icons"));e.insertBefore(t),o=!0}}})}if(r.length>0){var c=!1;U.default(a,{ImportDeclaration:function(e){c||(r.forEach((function(t){e.insertBefore(t.line)})),c=!0)}})}return{code:Wn(a).code,images:r,svgs:i}},ea=Bt("mengti_file"),ta=function(e,t){return X(void 0,void 0,void 0,(function(){var s,r,i,n;return K(this,(function(a){switch(a.label){case 0:return s=e.includes("?")?e.split("?")[0]:e,r=s.split("/")[s.split("/").length-1],i=ea+"/"+r,k.existsSync(i)?(k.copyFileSync(i,t),[2,{filePath:t}]):(n=k.createWriteStream(i),[4,ti({url:e,method:"GET",responseType:"stream"})]);case 1:return a.sent().data.pipe(n),[2,new Promise((function(e,s){n.on("finish",(function(){k.copyFileSync(i,t),e({filePath:t})})),n.on("error",s)}))]}}))}))},sa=["componentDidMount","componentWillUnmount","componentDidUpdate","componentDidCatch"],ra=function(e){return X(void 0,void 0,void 0,(function(){var t,s,r;return K(this,(function(i){for(t=e.componentsTree,s=function(e){var s=t[e];s.methods&&sa.forEach((function(e){var t,r,i,n,a,o,c,u=(null===(n=s.lifeCycles)||void 0===n?void 0:n[e])||(null===(a=s.methods)||void 0===a?void 0:a[e]);(null===(o=null==s?void 0:s.methods)||void 0===o?void 0:o[e])&&u&&(s.lifeCycles=J(J({},s.lifeCycles),((t={})[e]=u,t)),null===(c=null==s?void 0:s.methods)||void 0===c||delete c[e]),u&&u.value.slice(0,10).includes("async")&&(s.lifeCycles=J(J({},s.lifeCycles),((r={})[e]={type:"JSFunction",value:"function componentDidMount() {\n this.async_".concat(e,"()\n}")},r)),s.methods=J(J({},s.methods),((i={})["async_".concat(e)]=u,i)))}))},r=0;r<t.length;r++)s(r);return[2,e]}))}))};!function(e){e.Initial="init",e.Loading="loading",e.Loaded="loaded",e.Error="error"}(Yn||(Yn={}));var ia=function(e){return e[e.Environment=1]="Environment",e[e.Library=2]="Library",e[e.Theme=3]="Theme",e[e.Runtime=4]="Runtime",e[e.Components=5]="Components",e[e.App=6]="App",e}({});function na(e){return e&&"JSExpression"===e.type&&"function"!==e.extType}function aa(e){return"object"==typeof e&&e&&"JSFunction"===e.type}function oa(e){return e&&"JSSlot"===e.type}ia.Environment,ia.Library,ia.Theme,ia.Runtime,ia.Components,ia.App;var ca,ua,la,pa,ha,da=function(){function e(e){this._set=new Set,this._arr=[],e&&(this._set=new Set(e),this._arr=e.slice(0))}return e.prototype.add=function(e){this._set.has(e)||(this._set.add(e),this._arr.push(e))},e.prototype.delete=function(e){this._set.has(e)&&(this._set.delete(e),this._arr.splice(this._arr.indexOf(e),1))},e.prototype.has=function(e){return this._set.has(e)},e.prototype.toArray=function(){return this._arr.slice(0)},e}(),ma=function(){function e(e){void 0===e&&(e=null),this._bindings=new da,this.parent=e}return e.prototype.hasBinding=function(e){var t;return this._bindings.has(e)||!!(null===(t=this.parent)||void 0===t?void 0:t.hasBinding(e))},e.prototype.hasOwnBinding=function(e){return this._bindings.has(e)},e.prototype.addBinding=function(e){this._bindings.add(e)},e.prototype.removeBinding=function(e){this._bindings.delete(e)},e.prototype.getAllBindings=function(){for(var e=new da(this._bindings.toArray()),t=this.parent;t;t=null==t?void 0:t.parent)t.getAllOwnedBindings().forEach((function(t){e.add(t)}));return e.toArray()},e.prototype.getAllOwnedBindings=function(){return this._bindings.toArray()},e}(),fa=function(){function e(e){void 0===e&&(e=null),this.parent=e,this.bindings=void 0}return e.createRootScope=function(){return new e},e.prototype.createSubScope=function(t){var s=this.bindings,r=new ma(s);t.forEach((function(e){r.addBinding(e)}));var i=new e(this);return i.bindings=r,i},e}();!function(e){e.CSS="css",e.SCSS="scss",e.LESS="less",e.HTML="html",e.JS="js",e.JSX="jsx",e.TS="ts",e.TSX="tsx",e.JSON="json"}(ca||(ca={})),function(e){e.AST="ast",e.STRING="string",e.JSON="json"}(ua||(ua={})),function(e){e.COMPONENT="component",e.UTILS="utils",e.I18N="i18n"}(la||(la={})),function(e){e.PAGE="pages",e.BLOCK="components",e.COMPONENT="components",e.UTILS="utils"}(pa||(pa={})),function(e){e.External="External",e.Internal="Internal"}(ha||(ha={}));var ya,ga=function(e){function t(t,s){var r=this.constructor,i=e.call(this,t)||this;return i.name=i.constructor.name,i.detail=s,Object.setPrototypeOf(i,r.prototype),i}return W(t,e),t}(Error);!function(e){function t(){return null!==e&&e.apply(this,arguments)||this}W(t,e)}(ga),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}W(t,e)}(ga),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}W(t,e)}(ga),function(e){e.BEFORE="NodeCodePieceBefore",e.TAG="NodeCodePieceTag",e.ATTR="NodeCodePieceAttr",e.CHILDREN="NodeCodePieceChildren",e.AFTER="NodeCodePieceAfter"}(ya||(ya={}));var xa=function(e){function t(t,s){var r=this.constructor,i=e.call(this,'Failed to parse expression "'.concat("string"==typeof t?t:Wn(t),'"'))||this;return i.expr=t,i.detail=s,Object.setPrototypeOf(i,r.prototype),i}return W(t,e),t}(Error),va={ArrayExpression:{fields:["elements"]},AssignmentExpression:{fields:["left","right"]},BinaryExpression:{fields:["left","right"]},CallExpression:{fields:["arguments","callee"]},ConditionalExpression:{fields:["test","consequent","alternate"]},DoWhileStatement:{fields:["test"]},ExpressionStatement:{fields:["expression"]},ForInStatement:{fields:["right"]},ForStatement:{fields:["init","test","update"]},IfStatement:{fields:["test"]},LogicalExpression:{fields:["left","right"]},MemberExpression:{fields:function(e){return"MemberExpression"===e.type&&e.computed?["object","property"]:["object"]}},NewExpression:{fields:["callee","arguments"]},ObjectMethod:{fields:function(e){return"ObjectMethod"===e.type&&e.computed?["key"]:[]}},ObjectProperty:{fields:function(e){return"ObjectProperty"===e.type&&e.computed?["key","value"]:["value"]}},ReturnStatement:{fields:["argument"]},SequenceExpression:{fields:["expressions"]},ParenthesizedExpression:{fields:["expression"]},SwitchCase:{fields:["test"]},SwitchStatement:{fields:["discriminant"]},ThrowStatement:{fields:["argument"]},UnaryExpression:{fields:["argument"]},UpdateExpression:{fields:["argument"]},VariableDeclarator:{fields:["init"]},WhileStatement:{fields:["test"]},WithStatement:{fields:["object"]},AssignmentPattern:{fields:["right"]},ArrowFunctionExpression:{fields:["body"]},ClassExpression:{fields:["superClass"]},ClassDeclaration:{fields:["superClass"]},ExportDefaultDeclaration:{fields:["declaration"]},ForOfStatement:{fields:["right"]},ClassMethod:{fields:function(e){return"ClassMethod"===e.type&&e.computed?["key"]:[]}},SpreadElement:{fields:["argument"]},TaggedTemplateExpression:{fields:["tag"]},TemplateLiteral:{fields:["expressions"]},YieldExpression:{fields:["argument"]},AwaitExpression:{fields:["argument"]},OptionalMemberExpression:{fields:function(e){return"OptionalMemberExpression"===e.type&&e.computed?["object","property"]:["object"]}},OptionalCallExpression:{fields:["callee","arguments"]},JSXSpreadAttribute:{fields:["argument"]},BindExpression:{fields:["object","callee"]},ClassProperty:{fields:function(e){return"ClassProperty"===e.type&&e.computed?["key","value"]:["value"]}},PipelineTopicExpression:{fields:["expression"]},PipelineBareFunction:{fields:["callee"]},ClassPrivateProperty:{fields:["value"]},Decorator:{fields:["expression"]},TupleExpression:{fields:["elements"]},TSDeclareMethod:{fields:function(e){return"TSDeclareMethod"===e.type&&e.computed?["key"]:[]}},TSPropertySignature:{fields:function(e){return"TSPropertySignature"===e.type&&e.computed?["key","initializer"]:["initializer"]}},TSMethodSignature:{fields:function(e){return"TSMethodSignature"===e.type&&e.computed?["key"]:[]}},TSAsExpression:{fields:["expression"]},TSTypeAssertion:{fields:["expression"]},TSEnumDeclaration:{fields:["initializer"]},TSEnumMember:{fields:["initializer"]},TSNonNullExpression:{fields:["expression"]},TSExportAssignment:{fields:["expression"]}},ba={ArrowFunctionExpression:!1,FunctionExpression:!0,FunctionDeclaration:!0,ClassDeclaration:!0,ClassExpression:!0,ClassBody:!0,ClassImplements:!0,ClassMethod:!0,ClassPrivateMethod:!0,ClassProperty:!0,ClassPrivateProperty:!0,DeclareClass:!0},Ea=["arguments","this","super"];function Ca(e,t,s){if(void 0===t&&(t="_this"),void 0===s&&(s=[]),!e)return e;try{var r="string"==typeof e?xi(e):e,i=R.expressionStatement(r),n=R.file(R.program([i])),a=new Set(s),o=ba[r.type]?-1:0;return U.default(n,{enter:function(e){ba[e.node.type]&&o++},exit:function(e){ba[e.node.type]&&o--},MemberExpression:function(e){if(e.isMemberExpression()){var s=e.get("object");if(s.isThisExpression()){if(!e.node.computed){var r=e.get("property");if(r.isIdentifier()&&a.has(r.node.name))return void e.replaceWith(R.identifier(r.node.name))}o<=0&&s.replaceWith(R.identifier(t))}}},ThisExpression:function(e){e.isThisExpression()&&"MemberExpression"!==e.parent.type&&o<=0&&e.replaceWith(R.identifier(t))}}),Wn(i.expression,{sourceMaps:!1}).code}catch(t){throw new xa(e,t)}}function Aa(e){try{var t=gi("(".concat(e,");")),s=null;return U.default(t,{FunctionExpression:function(e){s=e.node,e.stop()}}),s}catch(t){throw new xa(e,t)}}function wa(e,t){if(na(e)){var s=e.value.trim();if(!s)return"null";var r=function(e,t){if(!e)return e;if(!t)throw new Error("transform expression without scope");try{var s="string"==typeof e?xi(e):e,r=R.expressionStatement(s),i=R.file(R.program([r]));return U.default(i,{MemberExpression:function(e){if(e.isMemberExpression()&&e.get("object").isThisExpression()){var s=e.get("property"),r="";!e.node.computed&&s.isIdentifier()?r=s.node.name:e.node.computed&&s.isStringLiteral()&&(r=s.node.value),r&&t.bindings&&t.bindings.hasBinding(r)&&e.replaceWith(R.identifier(r))}}}),Wn(r.expression,{sourceMaps:!1}).code}catch(t){throw new xa(e,t)}}(s,t);return r}throw new ga("Not a IPublicTypeJSExpression")}function Da(e,t){if(void 0===t&&(t={name:void 0,isMember:!1,isBlock:!1,isArrow:!1,isBindExpr:!1}),function(e){return na(e)||aa(e)}(e)){var s=e;return t.isMember?function(e,t){var s=Aa(t);if(s){var r=R.classMethod("method",e&&R.identifier(e)||s.id||R.identifier("notDefineName"),s.params,s.body,void 0,void 0,void 0,s.async||void 0);return Wn(r,{sourceMaps:!1}).code}throw new Error("Can not find Function Statement")}(t.name||"",s.value):t.isBlock?function(e){var t=Aa(e);if(t){var s=t.body.body,r=R.program(s,void 0,"module",void 0);return Wn(r,{sourceMaps:!1}).code}throw new Error("Can not find Function Statement")}(s.value):t.isArrow?function(e){var t=Aa(e);if(t){var s=R.arrowFunctionExpression(t.params,t.body,t.async||void 0);return Wn(s,{sourceMaps:!1}).code}throw new Error("Can not find Function Statement")}(s.value):t.isBindExpr?"(".concat(s.value,").bind(this)"):s.value}throw new ga("Not a IPublicTypeJSFunction or IPublicTypeJSExpression")}function Ta(e){return e.length>=2&&"{"===e[0]&&"}"===e[e.length-1]?e.slice(1,e.length-1):e}function Pa(e,t,s){if(oa(e)){var r=e,i=r.title,n=r.params,a=r.value,o=n?t.createSubScope(n||[]):t,c=a?function(e,t,s){if(Array.isArray(e))return 0===e.length?"[]":1===e.length?Ta(t(e,s))||"null":"[\n".concat(e.map((function(e){return"string"==typeof e?JSON.stringify(e):Ta(t(e,s))||"null"})).join(",\n")||"null","\n]");return Ta(t(e,s))||"null"}(a,s,o):"null";return n?[i&&(u=i,"/* ".concat(u.split("\n").join(" ").replace(/\*\//g,"*-/"),"*/")),"(",(n||[]).join(", "),") => (",c,")"].filter(Boolean).join(""):c||"[]"}var u;throw new ga("Not a JSSlot")}function Sa(e,t,s,r,i){var n=[];Array.isArray(s)?n.push.apply(n,Q([],Y(s),!1)):n.push(s);for(var a=r,o=function(){var e,t=n.pop();if(t){var s=(e=a,function(s,r,i){return t(s,r,i,e)});a=s}};n.length>0;)o();return a(e,t,i)}function ka(e,t,s){void 0===s&&(s={});var r=e.map((function(e){return Ba(e,t,s)})).join(",");return"[".concat(r,"]")}function Na(e,t,s){if(void 0===s&&(s={}),"i18n"===e.type)return e.params&&"object"==typeof e.params?"this._i18nText(".concat(Ba(z.default.omit(e,"type"),t,s),")"):"this._i18nText(".concat(JSON.stringify(z.default.omit(e,"type")),")");var r=Object.keys(e).map((function(r){var i=JSON.stringify(r),n=Ba(e[r],t,s);return"".concat(i,": ").concat(n)})).join(",\n");return"{".concat(r,"}")}function Fa(e){return JSON.stringify(e)}function Ia(e){return String(e)}function _a(e){return e?"true":"false"}function Oa(e){var t=function(e){if(!e)return[];try{var t=new da,s=gi("!(".concat(e,");")),r=function(e){"object"==typeof e&&m.isIdentifier(e)&&Ea.includes(e.name)&&t.add(e.name)};return U.default(s,{enter:function(e){var t,s=e.node,i=null===(t=va[s.type])||void 0===t?void 0:t.fields;i&&("function"==typeof i?i(s):i).forEach((function(e){var t=s[e];"object"==typeof t&&(Array.isArray(t)?t.forEach((function(e){r(e)})):r(t))}))}}),t.toArray().filter(Boolean)}catch(t){throw new xa(e,t)}}(e.value);return t.includes("arguments")?Da(e,{isBindExpr:!0}):Da(e,{isArrow:!0})}function ja(e,t,s){return void 0===s&&(s={}),s.nodeGenerator?Pa(e,t,s.nodeGenerator):""}function Ba(e,t,s){var r,i,n,a,o,c,u,l,p,h;if(void 0===s&&(s={}),z.default.isUndefined(e))return"undefined";if(z.default.isNull(e))return"null";if(z.default.isArray(e))return(null===(r=s.handlers)||void 0===r?void 0:r.array)?Sa(e,t,s.handlers.array,ka,s):ka(e,t,s);if(h=e,z.default.isObject(h)&&"variable"===h.type){var d={type:"JSExpression",value:e.variable};return(null===(i=s.handlers)||void 0===i?void 0:i.expression)?Sa(d,t,s.handlers.expression,wa,s):wa(d,t)}if(na(e))return(null===(n=s.handlers)||void 0===n?void 0:n.expression)?Sa(e,t,s.handlers.expression,wa,s):wa(e,t);if(aa(e))return(null===(a=s.handlers)||void 0===a?void 0:a.function)?Sa(e,t,s.handlers.function,Oa,s):Oa(e);if(oa(e))return(null===(o=s.handlers)||void 0===o?void 0:o.slot)?Sa(e,t,s.handlers.slot,ja,s):ja(e,t,s);if(function(e){return"object"==typeof e&&null!=e&&"DataSource"===e.type}(e))return Ba({type:"JSExpression",value:"this.dataSourceMap[".concat(JSON.stringify(e.id),"]")},t,s);if(z.default.isObject(e))return(null===(c=s.handlers)||void 0===c?void 0:c.object)?Sa(e,t,s.handlers.object,Na,s):Na(e,t,s);if(z.default.isString(e))return(null===(u=s.handlers)||void 0===u?void 0:u.string)?Sa(e,t,s.handlers.string,Fa,s):Fa(e);if(z.default.isNumber(e))return(null===(l=s.handlers)||void 0===l?void 0:l.number)?Sa(e,t,s.handlers.number,Ia,s):Ia(e);if(z.default.isBoolean(e))return(null===(p=s.handlers)||void 0===p?void 0:p.boolean)?Sa(e,t,s.handlers.boolean,_a,s):_a(e);throw new ga("Meet unknown composite value type")}function La(e,t,s){return void 0===s&&(s={}),Ba(e,t,s)}function Ma(e,t){return na(e)||aa(e)?{type:"JSExpression",value:"function(){ return ((".concat(e.value,"))}")}:{type:"JSExpression",value:"function(){return((".concat(La(e,t),"))}")}}var Ra=function(e,t,s,r,i){var n,a=k.readFileSync(e.path+e.fileName,"utf-8"),o=gi("".concat(a),{sourceType:"module",plugins:["typescript","decorators-legacy"]}),c=new Set,u=new Set,l=new Set(["Laf"]),p={};"vite"===r&&(p["@/utils/router"]=["redirectTo","navigateTo","navigateBack"]);var h=function(e,t){return null==e?void 0:e.filter((function(e){var s,r,i,n;return!!(null==e?void 0:e.package)&&!1!==e.enable&&(!(null===(s=e.advanced)||void 0===s?void 0:s.frames)||0===(null===(r=e.advanced)||void 0===r?void 0:r.frames.length)||(null===(n=null===(i=e.advanced)||void 0===i?void 0:i.frames)||void 0===n?void 0:n.includes(t)))}))}(s.assets,"taro"===r?"app":"web");null==h||h.forEach((function(e){var t;(null===(t=e.utils)||void 0===t?void 0:t.length)>0&&(p[e.package.package]=e.utils.map((function(e){return e.name})))}));var d=Object.values(p).flat();U.default(o,{MemberExpression:function(e){e.node.object&&"ThisExpression"===e.node.object.type&&e.node.property&&"constants"===e.node.property.name&&e.replaceWith(R.identifier("constants"));var t=e.node,s=t.object,r=t.property;if(s&&"MemberExpression"===s.type&&"ThisExpression"===s.object.type&&"utils"===s.property.name){var i=r.name;i&&(e.replaceWith(R.identifier(i)),c.add(i))}},FunctionExpression:function(e){var t,s,r,i,n;e.parent&&(null===(s=null===(t=e.parent)||void 0===t?void 0:t.id)||void 0===s?void 0:s.name)===(null===(i=null===(r=e.node)||void 0===r?void 0:r.id)||void 0===i?void 0:i.name)&&(null===(n=e.node)||void 0===n?void 0:n.id)&&(e.node.id.name="")},ExportNamedDeclaration:function(e){var t,s,r;if(e.node.declaration&&"VariableDeclaration"===e.node.declaration.type&&e.node.declaration.declarations&&e.node.declaration.declarations.length>0&&"VariableDeclarator"===e.node.declaration.declarations[0].type){var i=null===(r=null===(s=null===(t=e.node.declaration.declarations)||void 0===t?void 0:t[0])||void 0===s?void 0:s.id)||void 0===r?void 0:r.name;u.add(i)}}}),U.default(o,{Program:function(e){var t=e.node.body;u.add("setGlobalData"),u.add("getGlobalData"),u.add("reloadGlobalData"),u.add("globalDataSourceMap"),c.add("dataSource"),t.splice(1,0,R.importDeclaration(Array.from(c).filter((function(e){return!u.has(e)&&!l.has(e)&&!d.includes(e)})).map((function(e){return R.importSpecifier(R.identifier(e),R.identifier(e))})),R.stringLiteral("vite"===r?"@disscode/react/lib/utils/index.js":"cross-ui/utils"))),t.splice(2,0,R.importDeclaration(["requestHandle"].map((function(e){return R.importSpecifier(R.identifier(e),R.identifier(e))})),R.stringLiteral("./dataSource"))),t.splice(3,0,R.importDeclaration([R.importDefaultSpecifier(R.identifier("constants"))],R.stringLiteral("./constants")));var s=-1;Object.keys(p).forEach((function(e){e.includes("@/utils")||(s+=1,t.splice(4+s,0,R.exportNamedDeclaration(null,p[e].map((function(e){return R.exportSpecifier(R.identifier(e),R.identifier(e))})),R.stringLiteral(e))));var r=p[e].filter((function(e){return c.has(e)}));r.length>0&&(s+=1,t.splice(4+s,0,R.importDeclaration(r.map((function(e){return R.importSpecifier(R.identifier(e),R.identifier(e))})),R.stringLiteral(e))))}))}});var m,f,y,g=Wn(o).code;if(g=g+"\n"+(m=t.dataSource,f=fa.createRootScope(),y=m&&m.list||[],"\n class DataSourceStore {\n constructor() {\n this.state = constants;\n this.constants = constants;\n }\n\n state = {};\n setState(state) {\n this.state = {\n ...this.state,\n ...state,\n };\n }\n\n get = (key) => {\n return this.state[key];\n };\n\n set = (key, value) => {\n this.setState({\n ...this.state,\n [key]: value\n })\n };\n\n _dataSourceConfig = this._defineDataSourceConfig();\n _dataSourceEngine = dataSource(\n this._dataSourceConfig,\n this,\n {\n runtimeConfig: true,\n requestHandlersMap: {\n fetch: requestHandle()\n }\n }\n );\n\n get dataSourceMap() {\n return this._dataSourceEngine.dataSourceMap || {};\n }\n\n reloadDataSource = async () => {\n await this._dataSourceEngine.reloadDataSource();\n }\n\n _defineDataSourceConfig() {\n const _this = this;\n return (".concat(La(J(J({},m),{list:Q([],Y(y.map((function(e){return J(J({},e),{isInit:Ma(e.isInit,f),options:Ma(e.options,f)})}))),!1)}),f,{handlers:{function:function(e){return Ca(e.value,"_this")},expression:function(e){return Ca(e.value,"_this")}}}),");\n }\n\n reloadGlobalData = (key, options) => {\n if (key) {\n return this.dataSourceMap[key]?.load?.(options);\n }\n return this.reloadDataSource();\n };\n }\n const globalData = new DataSourceStore();\n export const setGlobalData = globalData.set;\n export const getGlobalData = globalData.get;\n export const reloadGlobalData = globalData.reloadGlobalData;\n export const globalDataSourceMap = globalData.dataSourceMap;\n ")),(null===(n=s.plugins)||void 0===n?void 0:n.length)>0)for(var x=0;x<s.plugins.length;x++){"laf"===s.plugins[x].pluginName&&(g="".concat(g,'\nimport { Cloud } from "laf-client-sdk";\nexport const Laf = Cloud;'))}return k.writeFileSync(e.path+e.fileName,g),{code:g}},Ua=function(e){if("string"==typeof e)return R.stringLiteral(e);if("number"==typeof e)return R.numericLiteral(e);if("boolean"==typeof e)return R.booleanLiteral(e);if(Array.isArray(e))return R.arrayExpression(e.map((function(e){return Ua(e)})));if("object"==typeof e&&null!==e)return R.objectExpression(Object.entries(e).map((function(e){var t=Y(e,2),s=t[0],r=t[1];return R.objectProperty(R.identifier(s),Ua(r))})));throw new Error("Unsupported value type: ".concat(typeof e))},qa=[{name:"componentDidMount",type:"function",content:{type:"JSFunction",value:"function() {\n\n}"}},{name:"__beforeRequest",type:"function",content:{type:"JSFunction",value:"function(options) {\n return options;\n}"}},{name:"__afterRequest",type:"function",content:{type:"JSFunction",value:"function(response) {\n return response;\n}"}}],za={ROOT:0,GROUP:1,POSITION:2,SET:3,RANGE:4,REPETITION:5,REFERENCE:6,CHAR:7};za.ROOT,za.GROUP,za.POSITION,za.SET,za.RANGE,za.REPETITION,za.REFERENCE,za.CHAR;var $a=function(){return[{type:za.RANGE,from:48,to:57}]},Ha=function(){return[{type:za.CHAR,value:95},{type:za.RANGE,from:97,to:122},{type:za.RANGE,from:65,to:90}].concat($a())},Va=function(){return[{type:za.CHAR,value:9},{type:za.CHAR,value:10},{type:za.CHAR,value:11},{type:za.CHAR,value:12},{type:za.CHAR,value:13},{type:za.CHAR,value:32},{type:za.CHAR,value:160},{type:za.CHAR,value:5760},{type:za.CHAR,value:6158},{type:za.CHAR,value:8192},{type:za.CHAR,value:8193},{type:za.CHAR,value:8194},{type:za.CHAR,value:8195},{type:za.CHAR,value:8196},{type:za.CHAR,value:8197},{type:za.CHAR,value:8198},{type:za.CHAR,value:8199},{type:za.CHAR,value:8200},{type:za.CHAR,value:8201},{type:za.CHAR,value:8202},{type:za.CHAR,value:8232},{type:za.CHAR,value:8233},{type:za.CHAR,value:8239},{type:za.CHAR,value:8287},{type:za.CHAR,value:12288},{type:za.CHAR,value:65279}]},Ga=function(){return{type:za.SET,set:Ha(),not:!1}},Wa=function(){return{type:za.SET,set:Ha(),not:!0}},Ja=function(){return{type:za.SET,set:$a(),not:!1}},Xa=function(){return{type:za.SET,set:$a(),not:!0}},Ka=function(){return{type:za.SET,set:Va(),not:!1}},Ya=function(){return{type:za.SET,set:Va(),not:!0}},Qa=function(){return{type:za.SET,set:[{type:za.CHAR,value:10},{type:za.CHAR,value:13},{type:za.CHAR,value:8232},{type:za.CHAR,value:8233}],not:!0}},Za=te((function(e,t){var s={0:0,t:9,n:10,v:11,f:12,r:13};t.strToChars=function(e){return e=e.replace(/(\[\\b\])|(\\)?\\(?:u([A-F0-9]{4})|x([A-F0-9]{2})|(0?[0-7]{2})|c([@A-Z\[\\\]\^?])|([0tnvfr]))/g,(function(e,t,r,i,n,a,o,c){if(r)return e;var u=t?8:i?parseInt(i,16):n?parseInt(n,16):a?parseInt(a,8):o?"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^ ?".indexOf(o):s[c],l=String.fromCharCode(u);return/[\[\]{}\^$.|?*+()]/.test(l)&&(l="\\"+l),l})),e},t.tokenizeClass=function(e,s){for(var r,i,n=[],a=/\\(?:(w)|(d)|(s)|(W)|(D)|(S))|((?:(?:\\)(.)|([^\]\\]))-(?:\\)?([^\]]))|(\])|(?:\\)?(.)/g;null!=(r=a.exec(e));)if(r[1])n.push(Ga());else if(r[2])n.push(Ja());else if(r[3])n.push(Ka());else if(r[4])n.push(Wa());else if(r[5])n.push(Xa());else if(r[6])n.push(Ya());else if(r[7])n.push({type:za.RANGE,from:(r[8]||r[9]).charCodeAt(0),to:r[10].charCodeAt(0)});else{if(!(i=r[12]))return[n,a.lastIndex];n.push({type:za.CHAR,value:i.charCodeAt(0)})}t.error(s,"Unterminated character class")},t.error=function(e,t){throw new SyntaxError("Invalid regular expression: /"+e+"/: "+t)}}));Za.strToChars,Za.tokenizeClass,Za.error;var eo=function(){return{type:za.POSITION,value:"b"}},to=function(){return{type:za.POSITION,value:"B"}},so=function(){return{type:za.POSITION,value:"^"}},ro=function(){return{type:za.POSITION,value:"$"}},io=function(e){var t,s,r=0,i={type:za.ROOT,stack:[]},n=i,a=i.stack,o=[],c=function(t){Za.error(e,"Nothing to repeat at column "+(t-1))},u=Za.strToChars(e);for(t=u.length;r<t;)switch(s=u[r++]){case"\\":switch(s=u[r++]){case"b":a.push(eo());break;case"B":a.push(to());break;case"w":a.push(Ga());break;case"W":a.push(Wa());break;case"d":a.push(Ja());break;case"D":a.push(Xa());break;case"s":a.push(Ka());break;case"S":a.push(Ya());break;default:/\d/.test(s)?a.push({type:za.REFERENCE,value:parseInt(s,10)}):a.push({type:za.CHAR,value:s.charCodeAt(0)})}break;case"^":a.push(so());break;case"$":a.push(ro());break;case"[":var l;"^"===u[r]?(l=!0,r++):l=!1;var p=Za.tokenizeClass(u.slice(r),e);r+=p[1],a.push({type:za.SET,set:p[0],not:l});break;case".":a.push(Qa());break;case"(":var h={type:za.GROUP,stack:[],remember:!0};"?"===(s=u[r])&&(s=u[r+1],r+=2,"="===s?h.followedBy=!0:"!"===s?h.notFollowedBy=!0:":"!==s&&Za.error(e,"Invalid group, character '"+s+"' after '?' at column "+(r-1)),h.remember=!1),a.push(h),o.push(n),n=h,a=h.stack;break;case")":0===o.length&&Za.error(e,"Unmatched ) at column "+(r-1)),a=(n=o.pop()).options?n.options[n.options.length-1]:n.stack;break;case"|":n.options||(n.options=[n.stack],delete n.stack);var d=[];n.options.push(d),a=d;break;case"{":var m,f,y=/^(\d+)(,(\d+)?)?\}/.exec(u.slice(r));null!==y?(0===a.length&&c(r),m=parseInt(y[1],10),f=y[2]?y[3]?parseInt(y[3],10):1/0:m,r+=y[0].length,a.push({type:za.REPETITION,min:m,max:f,value:a.pop()})):a.push({type:za.CHAR,value:123});break;case"?":0===a.length&&c(r),a.push({type:za.REPETITION,min:0,max:1,value:a.pop()});break;case"+":0===a.length&&c(r),a.push({type:za.REPETITION,min:1,max:1/0,value:a.pop()});break;case"*":0===a.length&&c(r),a.push({type:za.REPETITION,min:0,max:1/0,value:a.pop()});break;default:a.push({type:za.CHAR,value:s.charCodeAt(0)})}return 0!==o.length&&Za.error(e,"Unterminated group"),i},no=io.types=za,ao=function(e,t){t||(t={});var s,r=void 0===t.limit?25:t.limit;s=e,"[object RegExp]"==={}.toString.call(s)?e=e.source:"string"!=typeof e&&(e=String(e));try{e=io(e)}catch(e){return!1}var i=0;return function e(t,s){if(t.type===no.REPETITION){if(s++,i++,s>1)return!1;if(i>r)return!1}if(t.options)for(var n=0,a=t.options.length;n<a;n++){if(!e({stack:t.options[n]},s))return!1}var o=t.stack||t.value&&t.value.stack;if(!o)return!0;for(n=0;n<o.length;n++){if(!e(o[n],s))return!1}return!0}(e,0)};
3
+ /*!
4
+ * isobject <https://github.com/jonschlinkert/isobject>
5
+ *
6
+ * Copyright (c) 2014-2017, Jon Schlinkert.
7
+ * Released under the MIT License.
8
+ */
9
+ var oo=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)},co=Object.prototype.toString,uo=function(e){if(void 0===e)return"undefined";if(null===e)return"null";var t=typeof e;if("boolean"===t)return"boolean";if("string"===t)return"string";if("number"===t)return"number";if("symbol"===t)return"symbol";if("function"===t)return"GeneratorFunction"===lo(e)?"generatorfunction":"function";if(function(e){return Array.isArray?Array.isArray(e):e instanceof Array}(e))return"array";if(function(e){if(e.constructor&&"function"==typeof e.constructor.isBuffer)return e.constructor.isBuffer(e);return!1}(e))return"buffer";if(function(e){try{if("number"==typeof e.length&&"function"==typeof e.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}(e))return"arguments";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(e))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(e))return"error";if(function(e){return e instanceof RegExp||"string"==typeof e.flags&&"boolean"==typeof e.ignoreCase&&"boolean"==typeof e.multiline&&"boolean"==typeof e.global}(e))return"regexp";switch(lo(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function(e){return"function"==typeof e.throw&&"function"==typeof e.return&&"function"==typeof e.next}(e))return"generator";switch(t=co.call(e)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")};function lo(e){return"function"==typeof e.constructor?e.constructor.name:null}var po=Object.prototype.toString,ho=function(e){if(void 0===e)return"undefined";if(null===e)return"null";var t=typeof e;if("boolean"===t)return"boolean";if("string"===t)return"string";if("number"===t)return"number";if("symbol"===t)return"symbol";if("function"===t)return"GeneratorFunction"===mo(e)?"generatorfunction":"function";if(function(e){return Array.isArray?Array.isArray(e):e instanceof Array}(e))return"array";if(function(e){if(e.constructor&&"function"==typeof e.constructor.isBuffer)return e.constructor.isBuffer(e);return!1}(e))return"buffer";if(function(e){try{if("number"==typeof e.length&&"function"==typeof e.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}(e))return"arguments";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(e))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(e))return"error";if(function(e){return e instanceof RegExp||"string"==typeof e.flags&&"boolean"==typeof e.ignoreCase&&"boolean"==typeof e.multiline&&"boolean"==typeof e.global}(e))return"regexp";switch(mo(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function(e){return"function"==typeof e.throw&&"function"==typeof e.return&&"function"==typeof e.next}(e))return"generator";switch(t=po.call(e)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")};function mo(e){return"function"==typeof e.constructor?e.constructor.name:null}var fo={get:"function",set:"function",configurable:"boolean",enumerable:"boolean"};function yo(e,t){return{}.hasOwnProperty.call(e,t)}var go=function(e,t){if("string"==typeof t)return void 0!==Object.getOwnPropertyDescriptor(e,t);if("object"!==ho(e))return!1;if(yo(e,"value")||yo(e,"writable"))return!1;if(!yo(e,"get")||"function"!=typeof e.get)return!1;if(yo(e,"set")&&"function"!=typeof e[s]&&void 0!==e[s])return!1;for(var s in e)if(fo.hasOwnProperty(s)&&ho(e[s])!==fo[s]&&void 0!==e[s])return!1;return!0},xo=Object.prototype.toString,vo=function(e){if(void 0===e)return"undefined";if(null===e)return"null";var t=typeof e;if("boolean"===t)return"boolean";if("string"===t)return"string";if("number"===t)return"number";if("symbol"===t)return"symbol";if("function"===t)return"GeneratorFunction"===bo(e)?"generatorfunction":"function";if(function(e){return Array.isArray?Array.isArray(e):e instanceof Array}(e))return"array";if(function(e){if(e.constructor&&"function"==typeof e.constructor.isBuffer)return e.constructor.isBuffer(e);return!1}(e))return"buffer";if(function(e){try{if("number"==typeof e.length&&"function"==typeof e.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}(e))return"arguments";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(e))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(e))return"error";if(function(e){return e instanceof RegExp||"string"==typeof e.flags&&"boolean"==typeof e.ignoreCase&&"boolean"==typeof e.multiline&&"boolean"==typeof e.global}(e))return"regexp";switch(bo(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function(e){return"function"==typeof e.throw&&"function"==typeof e.return&&"function"==typeof e.next}(e))return"generator";switch(t=xo.call(e)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")};function bo(e){return"function"==typeof e.constructor?e.constructor.name:null}var Eo=function(e,t){return"object"===uo(e)&&("get"in e?go(e,t):function(e,t){var s={configurable:"boolean",enumerable:"boolean",writable:"boolean"};if("object"!==vo(e))return!1;if("string"==typeof t)return void 0!==Object.getOwnPropertyDescriptor(e,t);if(!("value"in e)&&!("writable"in e))return!1;for(var r in e)if("value"!==r&&s.hasOwnProperty(r)&&vo(e[r])!==s[r]&&void 0!==e[r])return!1;return!0}(e,t))},Co="undefined"!=typeof Reflect&&Reflect.defineProperty?Reflect.defineProperty:Object.defineProperty,Ao=function(e,t,s){if(!oo(e)&&"function"!=typeof e&&!Array.isArray(e))throw new TypeError("expected an object, function, or array");if("string"!=typeof t)throw new TypeError('expected "key" to be a string');return Eo(s)?(Co(e,t,s),e):(Co(e,t,{configurable:!0,enumerable:!1,writable:!0,value:s}),e)};function wo(e){return!0===oo(e)&&"[object Object]"===Object.prototype.toString.call(e)}var Do=function(e){var t,s;return!1!==wo(e)&&("function"==typeof(t=e.constructor)&&(!1!==wo(s=t.prototype)&&!1!==s.hasOwnProperty("isPrototypeOf")))},To=function(e,t){if(null==e)throw new TypeError("expected first argument to be an object.");if(void 0===t||"undefined"==typeof Symbol)return e;if("function"!=typeof Object.getOwnPropertySymbols)return e;for(var s=Object.prototype.propertyIsEnumerable,r=Object(e),i=arguments.length,n=0;++n<i;)for(var a=Object(arguments[n]),o=Object.getOwnPropertySymbols(a),c=0;c<o.length;c++){var u=o[c];s.call(a,u)&&(r[u]=a[u])}return r},Po=Object.assign||function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");Fo(e)||(e={});for(var t=1;t<arguments.length;t++){var s=arguments[t];ko(s)&&(s=No(s)),Fo(s)&&(So(e,s),To(e,s))}return e};function So(e,t){for(var s in t)Io(t,s)&&(e[s]=t[s])}function ko(e){return e&&"string"==typeof e}function No(e){var t={};for(var s in e)t[s]=e[s];return t}function Fo(e){return e&&"object"==typeof e||function(e){return Do(e)||"function"==typeof e||Array.isArray(e)}(e)}function Io(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var _o=Object.assign||function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");Lo(e)||(e={});for(var t=1;t<arguments.length;t++){var s=arguments[t];jo(s)&&(s=Bo(s)),Lo(s)&&(Oo(e,s),To(e,s))}return e};function Oo(e,t){for(var s in t)Mo(t,s)&&(e[s]=t[s])}function jo(e){return e&&"string"==typeof e}function Bo(e){var t={};for(var s in e)t[s]=e[s];return t}function Lo(e){return e&&"object"==typeof e||function(e){return Do(e)||"function"==typeof e||Array.isArray(e)}(e)}function Mo(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ro(e,t){return new RegExp(Ro.create(e,t))}Ro.create=function(e,t){if("string"!=typeof e)throw new TypeError("expected a string");var s=_o({},t);!0===s.contains&&(s.strictNegate=!1);var r=!1!==s.strictOpen?"^":"",i=!1!==s.strictClose?"$":"",n=s.endChar?s.endChar:"+",a=r+(!1===s.strictNegate?"(?:(?!(?:"+e+")).)"+n:"(?:(?!^(?:"+e+")$).)"+n)+i;if(!0===s.safe&&!1===ao(a))throw new Error("potentially unsafe regular expression: "+a);return a};var Uo=Ro,qo={},zo=function(e,t){return Array.isArray(e)?$o(e.join("|"),t):$o(e,t)};function $o(e,t){if(e instanceof RegExp)return e;if("string"!=typeof e)throw new TypeError("expected a string");if(e.length>65536)throw new Error("expected pattern to be less than 65536 characters");var s=e;if((!t||t&&!1!==t.cache)&&(s=function(e,t){if(!t)return e;var s=e;for(var r in t)t.hasOwnProperty(r)&&(s+=";"+r+"="+String(t[r]));return s}(e,t),qo.hasOwnProperty(s)))return qo[s];var r=Po({},t);!0===r.contains&&(!0===r.negate?r.strictNegate=!1:r.strict=!1),!1===r.strict&&(r.strictOpen=!1,r.strictClose=!1);var i,n=!1!==r.strictOpen?"^":"",a=!1!==r.strictClose?"$":"",o=r.flags||"";!0!==r.nocase||/i/.test(o)||(o+="i");try{if((r.negate||"boolean"==typeof r.strictNegate)&&(e=Uo.create(e,r)),i=new RegExp(n+"(?:"+e+")"+a,o),!0===r.safe&&!1===ao(i))throw new Error("potentially unsafe regular expression: "+i.source)}catch(n){if(!0===r.strictErrors||!0===r.safe)throw n.key=s,n.pattern=e,n.originalOptions=t,n.createdOptions=r,n;try{i=new RegExp("^"+e.replace(/(\W)/g,"\\$1")+"$")}catch(e){i=/.^/}}return!1!==r.cache&&function(e,t,s,r){Ao(e,"cached",!0),Ao(e,"pattern",s),Ao(e,"options",r),Ao(e,"key",t),qo[t]=e}(i,s,e,r),i}zo.makeRe=$o;var Ho,Vo=Object.assign||function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");Xo(e)||(e={});for(var t=1;t<arguments.length;t++){var s=arguments[t];Wo(s)&&(s=Jo(s)),Xo(s)&&(Go(e,s),To(e,s))}return e};function Go(e,t){for(var s in t)Ko(t,s)&&(e[s]=t[s])}function Wo(e){return e&&"string"==typeof e}function Jo(e){var t={};for(var s in e)t[s]=e[s];return t}function Xo(e){return e&&"object"==typeof e||function(e){return Do(e)||"function"==typeof e||Array.isArray(e)}(e)}function Ko(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Yo="[\\[!*+?$^\"'.\\\\/]+";!function(e){if(Ho)return Ho;var t={contains:!0,strictClose:!1},s=Uo.create(e,t),r=zo("^(?:[*]\\((?=.)|"+s+")",t);Ho=r}(Yo);var Qo=Object.prototype.hasOwnProperty,Zo=ec;function ec(e){this.__data__=e||{}}ec.prototype.set=function(e,t){return"__proto__"!==e&&(this.__data__[e]=t),this},ec.prototype.get=function(e){return"__proto__"===e?void 0:this.__data__[e]},ec.prototype.has=function(e){return"__proto__"!==e&&Qo.call(this.__data__,e)},ec.prototype.del=function(e){return this.has(e)&&delete this.__data__[e]};var tc=te((function(e,t){function s(e){this.caches=e||{}}s.prototype={cache:function(e){return this.caches[e]||(this.caches[e]=new Zo)},set:function(e,t,s){var r=this.cache(e);return r.set(t,s),r},has:function(e,t){return void 0!==this.get(e,t)},get:function(e,t){var s=this.cache(e);return"string"==typeof t?s.get(t):s}},e.exports=s}));new tc;var sc=te((function(e,t){
10
+ /*!
11
+ * is-windows <https://github.com/jonschlinkert/is-windows>
12
+ *
13
+ * Copyright © 2015-2018, Jon Schlinkert.
14
+ * Released under the MIT License.
15
+ */
16
+ !function(s){t?e.exports=s():"undefined"!=typeof window?window.isWindows=s():void 0!==Z?Z.isWindows=s():"undefined"!=typeof self?self.isWindows=s():this.isWindows=s()}((function(){return function(){return process&&("win32"===process.platform||/^(msys|cygwin)$/.test(process.env.OSTYPE))}}))})),rc=function(e,t,s){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("expected an object or function.");if("string"!=typeof t)throw new TypeError("expected `prop` to be a string.");return Eo(s)&&("set"in s||"get"in s)?Object.defineProperty(e,t,s):Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:s})},ic=te((function(e){function t(e){if(e)return function(e){for(var s in t.prototype)e[s]=t.prototype[s];return e}(e)}e.exports=t,t.prototype.on=t.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},t.prototype.once=function(e,t){function s(){this.off(e,s),t.apply(this,arguments)}return s.fn=t,this.on(e,s),this},t.prototype.off=t.prototype.removeListener=t.prototype.removeAllListeners=t.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var s,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var i=0;i<r.length;i++)if((s=r[i])===t||s.fn===t){r.splice(i,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},t.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),s=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(s){r=0;for(var i=(s=s.slice(0)).length;r<i;++r)s[r].apply(this,t)}return this},t.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},t.prototype.hasListeners=function(e){return!!this.listeners(e).length}})),nc=function(e,t,s,r){if(!oo(e)&&"function"!=typeof e)throw new Error("object-visit expects `thisArg` to be an object.");if("string"!=typeof t)throw new Error("object-visit expects `method` name to be a string");if("function"!=typeof e[t])return e;var i=[].slice.call(arguments,3);for(var n in s=s||{}){var a=[n,s[n]].concat(i);e[t].apply(e,a)}return e},ac=function(e,t,s){if(oc(s))return nc.apply(null,arguments);if(!Array.isArray(s))throw new TypeError("expected an array: "+B.default.inspect(s));for(var r=[].slice.call(arguments,3),i=0;i<s.length;i++){var n=s[i];oc(n)?nc.apply(null,[e,t,n].concat(r)):e[t].apply(e,[n].concat(r))}};function oc(e){return e&&("function"==typeof e||!Array.isArray(e)&&"object"==typeof e)}var cc=function(e,t,s){var r;if("string"==typeof s&&t in e){var i=[].slice.call(arguments,2);r=e[t].apply(e,i)}else r=Array.isArray(s)?ac.apply(null,arguments):nc.apply(null,arguments);return void 0!==r?r:e},uc=function(e){return null!=e&&(lc(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&lc(e.slice(0,0))}(e)||!!e._isBuffer)};
17
+ /*!
18
+ * Determine if an object is a Buffer
19
+ *
20
+ * @author Feross Aboukhadijeh <https://feross.org>
21
+ * @license MIT
22
+ */function lc(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var pc=Object.prototype.toString,hc=function(e){if(void 0===e)return"undefined";if(null===e)return"null";if(!0===e||!1===e||e instanceof Boolean)return"boolean";if("string"==typeof e||e instanceof String)return"string";if("number"==typeof e||e instanceof Number)return"number";if("function"==typeof e||e instanceof Function)return"function";if(void 0!==Array.isArray&&Array.isArray(e))return"array";if(e instanceof RegExp)return"regexp";if(e instanceof Date)return"date";var t=pc.call(e);return"[object RegExp]"===t?"regexp":"[object Date]"===t?"date":"[object Arguments]"===t?"arguments":"[object Error]"===t?"error":uc(e)?"buffer":"[object Set]"===t?"set":"[object WeakSet]"===t?"weakset":"[object Map]"===t?"map":"[object WeakMap]"===t?"weakmap":"[object Symbol]"===t?"symbol":"[object Int8Array]"===t?"int8array":"[object Uint8Array]"===t?"uint8array":"[object Uint8ClampedArray]"===t?"uint8clampedarray":"[object Int16Array]"===t?"int16array":"[object Uint16Array]"===t?"uint16array":"[object Int32Array]"===t?"int32array":"[object Uint32Array]"===t?"uint32array":"[object Float32Array]"===t?"float32array":"[object Float64Array]"===t?"float64array":"object"},dc=function(e){return"arguments"!==hc(e)&&(e=arguments),mc(e).join(".")};function mc(e){for(var t=e.length,s=-1,r=[];++s<t;){var i=e[s];"arguments"===hc(i)||Array.isArray(i)?r.push.apply(r,mc(i)):"string"==typeof i&&r.push(i)}return r}
23
+ /*!
24
+ * is-extendable <https://github.com/jonschlinkert/is-extendable>
25
+ *
26
+ * Copyright (c) 2015, Jon Schlinkert.
27
+ * Licensed under the MIT License.
28
+ */var fc=function(e){return null!=e&&("object"==typeof e||"function"==typeof e)},yc=function(e){if(!Array.isArray(e))throw new TypeError("arr-union expects the first argument to be an array.");for(var t=arguments.length,s=0;++s<t;){var r=arguments[s];if(r){Array.isArray(r)||(r=[r]);for(var i=0;i<r.length;i++){var n=r[i];e.indexOf(n)>=0||e.push(n)}}}return e},gc=function(e,t,s,r,i){if(null===(n=e)||"object"!=typeof n&&"function"!=typeof n||!t)return e;var n;if(t=xc(t),s&&(t+="."+xc(s)),r&&(t+="."+xc(r)),i&&(t+="."+xc(i)),t in e)return e[t];for(var a=t.split("."),o=a.length,c=-1;e&&++c<o;){for(var u=a[c];"\\"===u[u.length-1];)u=u.slice(0,-1)+"."+a[++c];e=e[u]}return e};function xc(e){return e?Array.isArray(e)?e.join("."):e:""}var vc=Object.assign||function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");Ac(e)||(e={});for(var t=1;t<arguments.length;t++){var s=arguments[t];Ec(s)&&(s=Cc(s)),Ac(s)&&(bc(e,s),To(e,s))}return e};function bc(e,t){for(var s in t)wc(t,s)&&(e[s]=t[s])}function Ec(e){return e&&"string"==typeof e}function Cc(e){var t={};for(var s in e)t[s]=e[s];return t}function Ac(e){return e&&"object"==typeof e||function(e){return Do(e)||"function"==typeof e||Array.isArray(e)}(e)}function wc(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Dc(e,t,s,r){var i=e.indexOf(t,s);return"\\"===e.charAt(i-1)?Dc(e,t,i+1):i}function Tc(e,t){return!0===t.keepDoubleQuotes&&'"'===e||(!0===t.keepSingleQuotes&&"'"===e||t.keepQuotes)}function Pc(e,t,s){return"function"==typeof e.keepEscaping?e.keepEscaping(t,s):!0===e.keepEscaping||"\\"===t[s+1]}var Sc=function(e){fc(e)||(e={});for(var t=arguments.length,s=1;s<t;s++){var r=arguments[s];fc(r)&&kc(e,r)}return e};function kc(e,t){for(var s in t)Nc(t,s)&&(e[s]=t[s])}function Nc(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Fc=function(e,t,s){if(!fc(e))return e;if(Array.isArray(t)&&(t=[].concat.apply([],t).join(".")),"string"!=typeof t)return e;for(var r=function(e,t,s){if("string"!=typeof e)throw new TypeError("expected a string");"function"==typeof t&&(s=t,t=null),"string"==typeof t&&(t={sep:t});var r,i=vc({sep:"."},t),n=i.quotes||['"',"'","`"];!0===i.brackets?r={"<":">","(":")","[":"]","{":"}"}:i.brackets&&(r=i.brackets);var a,o=[],c=[],u=[""],l=i.sep,p=e.length,h=-1;function d(){if(r&&c.length)return r[c[c.length-1]]}for(;++h<p;){var m=e[h],f=e[h+1],y={val:m,idx:h,arr:u,str:e};if(o.push(y),"\\"!==m){if(r&&r[m]){c.push(m);var g=d(),x=h+1;if(-1!==e.indexOf(g,x+1))for(;c.length&&x<p;){var v=e[++x];if("\\"!==v)if(-1===n.indexOf(v)){if(g=d(),c.length&&-1===e.indexOf(g,x+1))break;r[v]?c.push(v):g===v&&c.pop()}else x=Dc(e,v,x+1);else v++}if(-1===(a=x)){u[u.length-1]+=m;continue}m=e.slice(h,a+1),y.val=m,y.idx=h=a}if(-1!==n.indexOf(m)){if(-1===(a=Dc(e,m,h+1))){u[u.length-1]+=m;continue}m=!0===Tc(m,i)?e.slice(h,a+1):e.slice(h+1,a),y.val=m,y.idx=h=a}"function"==typeof s&&(s(y,o),m=y.val,h=y.idx),y.val!==l||!1===y.split?u[u.length-1]+=y.val:u.push("")}else y.val=!0===Pc(i,e,h)?m+f:f,y.escaped=!0,"function"==typeof s&&s(y),u[u.length-1]+=y.val,h++}return u}(t,{sep:".",brackets:!0}).filter(Ic),i=r.length,n=-1,a=e;++n<i;){var o=r[n];n===i-1?Do(a[o])&&Do(s)?a[o]=Sc({},a[o],s):a[o]=s:(fc(a[o])||(a[o]={}),a=a[o])}return e};function Ic(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e}function _c(e){return null==e?[]:Array.isArray(e)?e:[e]}var Oc={}.toString,jc=Array.isArray||function(e){return"[object Array]"==Oc.call(e)},Bc=function(e,t){if(null==e)return!1;if("boolean"==typeof e)return!0;if("number"==typeof e)return 0!==e||!0!==t;if(void 0!==e.length)return 0!==e.length;for(var s in e)if(e.hasOwnProperty(s))return!0;return!1},Lc=function(e,t,s){return null!=(r=e)&&"object"==typeof r&&!1===jc(r)?Bc(gc(e,t),s):Bc(e,t);var r};function Mc(e){function t(t){e&&(this[e]={}),t&&this.set(t)}return ic(t.prototype),t.prototype.set=function(t,s){return Array.isArray(t)&&2===arguments.length&&(t=dc(t)),oo(t)||Array.isArray(t)?this.visit("set",t):(Fc(e?this[e]:this,t,s),this.emit("set",t,s)),this},t.prototype.union=function(t,s){return Array.isArray(t)&&2===arguments.length&&(t=dc(t)),function(e,t,s){if(!fc(e))throw new TypeError("union-value expects the first argument to be an object.");if("string"!=typeof t)throw new TypeError("union-value expects `prop` to be a string.");var r=_c(gc(e,t));Fc(e,t,yc(r,_c(s)))}(e?this[e]:this,t,function(e){return e?Array.isArray(e)?e:[e]:[]}(s)),this.emit("union",s),this},t.prototype.get=function(t){t=dc(arguments);var s=e?this[e]:this,r=gc(s,t);return this.emit("get",t,r),r},t.prototype.has=function(t){t=dc(arguments);var s=e?this[e]:this,r=void 0!==gc(s,t);return this.emit("has",t,r),r},t.prototype.del=function(t){return Array.isArray(t)?this.visit("del",t):(!function(e,t){if(!oo(e))throw new TypeError("expected an object.");if(e.hasOwnProperty(t))return delete e[t],!0;if(Lc(e,t)){for(var s=t.split("."),r=s.pop();s.length&&"\\"===s[s.length-1].slice(-1);)r=s.pop().slice(0,-1)+"."+r;for(;s.length;)e=e[t=s.shift()];return delete e[r]}}(e?this[e]:this,t),this.emit("del",t)),this},t.prototype.clear=function(){e&&(this[e]={})},t.prototype.visit=function(e,t){return cc(this,e,t),this},t}var Rc=Mc(),Uc=Mc;Rc.namespace=Uc;var qc=function(e){return Do(e)||"function"==typeof e||Array.isArray(e)},zc=function(e,t,s){for(var r in e)if(!1===t.call(s,e[r],r,e))break};
29
+ /*!
30
+ * for-in <https://github.com/jonschlinkert/for-in>
31
+ *
32
+ * Copyright (c) 2014-2017, Jon Schlinkert.
33
+ * Released under the MIT License.
34
+ */function $c(e,t){for(var s=arguments.length,r=0;++r<s;){var i=arguments[r];Vc(i)&&zc(i,Hc,e)}return e}function Hc(e,t){if(function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e}(t)){var s=this[t];Vc(e)&&Vc(s)?$c(s,e):this[t]=e}}function Vc(e){return qc(e)&&!Array.isArray(e)}var Gc=$c;
35
+ /*!
36
+ * pascalcase <https://github.com/jonschlinkert/pascalcase>
37
+ *
38
+ * Copyright (c) 2015, Jon Schlinkert.
39
+ * Licensed under the MIT License.
40
+ */var Wc=function(e){if("string"!=typeof e)throw new TypeError("expected a string.");return 1===(e=e.replace(/([A-Z])/g," $1")).length?e.toUpperCase():(e=(e=e.replace(/^[\W_]+|[\W_]+$/g,"").toLowerCase()).charAt(0).toUpperCase()+e.slice(1)).replace(/[\W_]+(\w|$)/g,(function(e,t){return t.toUpperCase()}))},Jc=Object.prototype.toString;var Xc=Object.prototype.toString,Kc=function(e){if(void 0===e)return"undefined";if(null===e)return"null";if(!0===e||!1===e||e instanceof Boolean)return"boolean";if("string"==typeof e||e instanceof String)return"string";if("number"==typeof e||e instanceof Number)return"number";if("function"==typeof e||e instanceof Function)return"function";if(void 0!==Array.isArray&&Array.isArray(e))return"array";if(e instanceof RegExp)return"regexp";if(e instanceof Date)return"date";var t=Xc.call(e);return"[object RegExp]"===t?"regexp":"[object Date]"===t?"date":"[object Arguments]"===t?"arguments":"[object Error]"===t?"error":uc(e)?"buffer":"[object Set]"===t?"set":"[object WeakSet]"===t?"weakset":"[object Map]"===t?"map":"[object WeakMap]"===t?"weakmap":"[object Symbol]"===t?"symbol":"[object Int8Array]"===t?"int8array":"[object Uint8Array]"===t?"uint8array":"[object Uint8ClampedArray]"===t?"uint8clampedarray":"[object Int16Array]"===t?"int16array":"[object Uint16Array]"===t?"uint16array":"[object Int32Array]"===t?"int32array":"[object Uint32Array]"===t?"uint32array":"[object Float32Array]"===t?"float32array":"[object Float64Array]"===t?"float64array":"object"},Yc={get:"function",set:"function",configurable:"boolean",enumerable:"boolean"};function Qc(e,t){return{}.hasOwnProperty.call(e,t)}var Zc=function(e,t){if("string"==typeof t)return void 0!==Object.getOwnPropertyDescriptor(e,t);if("object"!==Kc(e))return!1;if(Qc(e,"value")||Qc(e,"writable"))return!1;if(!Qc(e,"get")||"function"!=typeof e.get)return!1;if(Qc(e,"set")&&"function"!=typeof e[s]&&void 0!==e[s])return!1;for(var s in e)if(Yc.hasOwnProperty(s)&&Kc(e[s])!==Yc[s]&&void 0!==e[s])return!1;return!0},eu=Object.prototype.toString,tu=function(e){if(void 0===e)return"undefined";if(null===e)return"null";if(!0===e||!1===e||e instanceof Boolean)return"boolean";if("string"==typeof e||e instanceof String)return"string";if("number"==typeof e||e instanceof Number)return"number";if("function"==typeof e||e instanceof Function)return"function";if(void 0!==Array.isArray&&Array.isArray(e))return"array";if(e instanceof RegExp)return"regexp";if(e instanceof Date)return"date";var t=eu.call(e);return"[object RegExp]"===t?"regexp":"[object Date]"===t?"date":"[object Arguments]"===t?"arguments":"[object Error]"===t?"error":uc(e)?"buffer":"[object Set]"===t?"set":"[object WeakSet]"===t?"weakset":"[object Map]"===t?"map":"[object WeakMap]"===t?"weakmap":"[object Symbol]"===t?"symbol":"[object Int8Array]"===t?"int8array":"[object Uint8Array]"===t?"uint8array":"[object Uint8ClampedArray]"===t?"uint8clampedarray":"[object Int16Array]"===t?"int16array":"[object Uint16Array]"===t?"uint16array":"[object Int32Array]"===t?"int32array":"[object Uint32Array]"===t?"uint32array":"[object Float32Array]"===t?"float32array":"[object Float64Array]"===t?"float64array":"object"},su={configurable:"boolean",enumerable:"boolean",writable:"boolean"};var ru=function(e,t){if("object"!==tu(e))return!1;if("string"==typeof t)return void 0!==Object.getOwnPropertyDescriptor(e,t);if(!("value"in e)&&!("writable"in e))return!1;for(var s in e)if("value"!==s&&su.hasOwnProperty(s)&&tu(e[s])!==su[s]&&void 0!==e[s])return!1;return!0},iu=function(e,t){return"object"==("undefined"===(r=typeof(s=e))?"undefined":null===s?"null":!0===s||!1===s||s instanceof Boolean?"boolean":"string"===r||s instanceof String?"string":"number"===r||s instanceof Number?"number":"function"===r||s instanceof Function?void 0!==s.constructor.name&&"Generator"===s.constructor.name.slice(0,9)?"generatorfunction":"function":void 0!==Array.isArray&&Array.isArray(s)?"array":s instanceof RegExp?"regexp":s instanceof Date?"date":"[object RegExp]"===(r=Jc.call(s))?"regexp":"[object Date]"===r?"date":"[object Arguments]"===r?"arguments":"[object Error]"===r?"error":"[object Promise]"===r?"promise":function(e){return e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}(s)?"buffer":"[object Set]"===r?"set":"[object WeakSet]"===r?"weakset":"[object Map]"===r?"map":"[object WeakMap]"===r?"weakmap":"[object Symbol]"===r?"symbol":"[object Map Iterator]"===r?"mapiterator":"[object Set Iterator]"===r?"setiterator":"[object String Iterator]"===r?"stringiterator":"[object Array Iterator]"===r?"arrayiterator":"[object Int8Array]"===r?"int8array":"[object Uint8Array]"===r?"uint8array":"[object Uint8ClampedArray]"===r?"uint8clampedarray":"[object Int16Array]"===r?"int16array":"[object Uint16Array]"===r?"uint16array":"[object Int32Array]"===r?"int32array":"[object Uint32Array]"===r?"uint32array":"[object Float32Array]"===r?"float32array":"[object Float64Array]"===r?"float64array":"object")&&("get"in e?Zc(e,t):ru(e,t));var s,r},nu=function(e,t,s){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("expected an object or function.");if("string"!=typeof t)throw new TypeError("expected `prop` to be a string.");return iu(s)&&("set"in s||"get"in s)?Object.defineProperty(e,t,s):Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:s})},au=function(e,t,s,r){if(ou(t)||"function"==typeof t||(r=s,s=t,t=e),!ou(e)&&"function"!=typeof e)throw new TypeError("expected the first argument to be an object");if(!ou(t)&&"function"!=typeof t)throw new TypeError("expected provider to be an object");if("string"!=typeof r&&(r=s),"string"!=typeof s)throw new TypeError("expected key to be a string");if(!(s in t))throw new Error('property "'+s+'" does not exist');var i=Object.getOwnPropertyDescriptor(t,s);i&&Object.defineProperty(e,r,i)};function ou(e){return"[object Object]"==={}.toString.call(e)}function cu(e){return"object"===hc(e)||"function"==typeof e}function uu(e,t){var s=(t=lu(t)).length;if(cu(e)){for(var r in e)if(t.indexOf(r)>-1)return!0;return uu(pu(e),t)}if(Array.isArray(e)){for(var i=e;s--;)if(i.indexOf(t[s])>-1)return!0;return!1}throw new TypeError("expected an array or object.")}function lu(e){return e?Array.isArray(e)?e:[e]:[]}function pu(e){return function(e){return cu(e)&&void 0!==e.constructor}(e)?Object.getOwnPropertyNames(e):[]}var hu=function(e,t,s){if(!cu(e))throw new TypeError("expected receiving object to be an object.");if(!cu(t))throw new TypeError("expected providing object to be an object.");var r=pu(t),i=Object.keys(t),n=r.length;for(s=lu(s);n--;){var a=r[n];uu(i,a)?nu(e,a,t[a]):a in e||uu(s,a)||au(e,t,a)}},du=uu;hu.has=du;var mu=function e(t,s){if("function"!=typeof t)throw new TypeError("expected Parent to be a function.");return function(r,i){if("function"!=typeof r)throw new TypeError("expected Ctor to be a function.");if(B.default.inherits(r,t),hu(r,t),"object"==typeof i){var n=Object.create(i);for(var a in n)r.prototype[a]=n[a]}nu(r.prototype,"_parent_",{configurable:!0,set:function(){},get:function(){return t.prototype}}),"function"==typeof s&&s(r,t),r.extend=e(r,s)}},fu=te((function(e){var t=e.exports;t.isObject=function(e){return oo(e)||"function"==typeof e},t.has=function(e,s){var r=(s=t.arrayify(s)).length;if(t.isObject(e)){for(var i in e)if(s.indexOf(i)>-1)return!0;var n=t.nativeKeys(e);return t.has(n,s)}if(Array.isArray(e)){for(var a=e;r--;)if(a.indexOf(s[r])>-1)return!0;return!1}throw new TypeError("expected an array or object.")},t.hasAll=function(e,s){for(var r=(s=t.arrayify(s)).length;r--;)if(!t.has(e,s[r]))return!1;return!0},t.arrayify=function(e){return e?Array.isArray(e)?e:[e]:[]},t.noop=function(){},t.identity=function(e){return e},t.hasConstructor=function(e){return t.isObject(e)&&void 0!==e.constructor},t.nativeKeys=function(e){if(!t.hasConstructor(e))return[];var s=Object.getOwnPropertyNames(e);return"caller"in e&&s.push("caller"),s},t.getDescriptor=function(e,s){if(!t.isObject(e))throw new TypeError("expected an object.");if("string"!=typeof s)throw new TypeError("expected key to be a string.");return Object.getOwnPropertyDescriptor(e,s)},t.copyDescriptor=function(e,s,r){if(!t.isObject(e))throw new TypeError("expected receiving object to be an object.");if(!t.isObject(s))throw new TypeError("expected providing object to be an object.");if("string"!=typeof r)throw new TypeError("expected name to be a string.");var i=t.getDescriptor(s,r);i&&Object.defineProperty(e,r,i)},t.copy=function(e,s,r){if(!t.isObject(e))throw new TypeError("expected receiving object to be an object.");if(!t.isObject(s))throw new TypeError("expected providing object to be an object.");var i,n=Object.getOwnPropertyNames(s),a=Object.keys(s),o=n.length;for(r=t.arrayify(r);o--;)i=n[o],t.has(a,i)?nu(e,i,s[i]):i in e||t.has(r,i)||t.copyDescriptor(e,s,i)},t.inherit=function(e,s,r){if(!t.isObject(e))throw new TypeError("expected receiving object to be an object.");if(!t.isObject(s))throw new TypeError("expected providing object to be an object.");var i=[];for(var n in s)i.push(n),e[n]=s[n];i=i.concat(t.arrayify(r));var a=s.prototype||s,o=e.prototype||e;t.copy(o,a,i)},t.extend=function(){return mu.apply(null,arguments)},t.bubble=function(e,s){s=s||[],e.bubble=function(r,i){Array.isArray(i)&&(s=yc([],s,i));for(var n=s.length,a=-1;++a<n;){var o=s[a];e.on(o,r.emit.bind(r,o))}t.bubble(r,s)}}}));function yu(e){var t=e?Rc.namespace(e):Rc,s=[];function r(e,s){if(!(this instanceof r))return new r(e,s);t.call(this,e),this.is("base"),this.initBase(e,s)}return B.default.inherits(r,t),ic(r),r.prototype.initBase=function(t,i){this.options=Gc({},this.options,i),this.cache=this.cache||{},this.define("registered",{}),e&&(this[e]={}),this.define("_callbacks",this._callbacks),oo(t)&&this.visit("set",t),r.run(this,"use",s)},r.prototype.is=function(e){if("string"!=typeof e)throw new TypeError("expected name to be a string");return this.define("is"+Wc(e),!0),this.define("_name",e),this.define("_appname",e),this},r.prototype.isRegistered=function(e,t){return!!this.registered.hasOwnProperty(e)||(!1!==t&&(this.registered[e]=!0,this.emit("plugin",e)),!1)},r.prototype.use=function(e){return e.call(this,this),this},r.prototype.define=function(e,t){return oo(e)?this.visit("define",e):(rc(this,e,t),this)},r.prototype.mixin=function(e,t){return r.prototype[e]=t,this},r.prototype.mixins=r.prototype.mixins||[],Object.defineProperty(r.prototype,"base",{configurable:!0,get:function(){return this.parent?this.parent.base:this}}),rc(r,"use",(function(e){return s.push(e),r})),rc(r,"run",(function(e,t,s){for(var i=s.length,n=0;i--;)e[t](s[n++]);return r})),rc(r,"extend",fu.extend(r,(function(e,t){return e.prototype.mixins=e.prototype.mixins||[],rc(e,"mixin",(function(t){var s=t(e.prototype,e);return"function"==typeof s&&e.prototype.mixins.push(s),e})),rc(e,"mixins",(function(t){return r.run(t,"mixin",e.prototype.mixins),e})),e.prototype.mixin=function(t,s){return e.prototype[t]=s,this},r}))),rc(r,"mixin",(function(e){var t=e(r.prototype,r);return"function"==typeof t&&r.prototype.mixins.push(t),r})),rc(r,"mixins",(function(e){return r.run(e,"mixin",r.prototype.mixins),r})),rc(r,"inherit",fu.inherit),rc(r,"bubble",fu.bubble),r}var gu=yu(),xu=yu;gu.namespace=xu;
41
+ /*!
42
+ * use <https://github.com/jonschlinkert/use>
43
+ *
44
+ * Copyright (c) 2015-2017, Jon Schlinkert.
45
+ * Released under the MIT License.
46
+ */
47
+ var vu=function e(t,s){if(!bu(t)&&"function"!=typeof t)throw new TypeError("expected an object or function");var r=bu(s)?s:{},i="string"==typeof r.prop?r.prop:"fns";function n(e,s,n){var a=1;if("string"==typeof e||Array.isArray(e)?(s=function(e,t){return function s(){return this.type===e?t.apply(this,arguments):s}}(e,s),a++):(n=s,s=e),"function"!=typeof s)throw new TypeError("expected a function");var o=this||t,c=o[i],u=[].slice.call(arguments,a);u.unshift(o),"function"==typeof r.hook&&r.hook.apply(o,u);var l=s.apply(o,u);return"function"==typeof l&&-1===c.indexOf(l)&&c.push(l),o}return Array.isArray(t[i])||Eu(t,i,[]),Eu(t,"use",n),Eu(t,"run",(function(s){if(bu(s)){s.use&&s.run||(Eu(s,i,s[i]||[]),Eu(s,"use",n)),s[i]&&-1!==s[i].indexOf(e)||s.use(e);for(var r=(this||t)[i],a=r.length,o=-1;++o<a;)s.use(r[o]);return s}})),t};function bu(e){return e&&"object"==typeof e&&!Array.isArray(e)}function Eu(e,t,s){Object.defineProperty(e,t,{configurable:!0,writable:!0,value:s})}var Cu=1e3,Au=60*Cu,wu=60*Au,Du=24*wu,Tu=365.25*Du,Pu=function(e,t){t=t||{};var s=typeof e;if("string"===s&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!t)return;var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*Tu;case"days":case"day":case"d":return s*Du;case"hours":case"hour":case"hrs":case"hr":case"h":return s*wu;case"minutes":case"minute":case"mins":case"min":case"m":return s*Au;case"seconds":case"second":case"secs":case"sec":case"s":return s*Cu;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===s&&!1===isNaN(e))return t.long?function(e){return Su(e,Du,"day")||Su(e,wu,"hour")||Su(e,Au,"minute")||Su(e,Cu,"second")||e+" ms"}(e):function(e){if(e>=Du)return Math.round(e/Du)+"d";if(e>=wu)return Math.round(e/wu)+"h";if(e>=Au)return Math.round(e/Au)+"m";if(e>=Cu)return Math.round(e/Cu)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Su(e,t,s){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+s:Math.ceil(e/t)+" "+s+"s"}var ku=te((function(e,t){var s;function r(e){function r(){if(r.enabled){var e=r,i=+new Date,n=i-(s||i);e.diff=n,e.prev=s,e.curr=i,s=i;for(var a=new Array(arguments.length),o=0;o<a.length;o++)a[o]=arguments[o];a[0]=t.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var c=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,(function(s,r){if("%%"===s)return s;c++;var i=t.formatters[r];if("function"==typeof i){var n=a[c];s=i.call(e,n),a.splice(c,1),c--}return s})),t.formatArgs.call(e,a),(r.log||t.log||console.log.bind(console)).apply(e,a)}}return r.namespace=e,r.enabled=t.enabled(e),r.useColors=t.useColors(),r.color=function(e){var s,r=0;for(s in e)r=(r<<5)-r+e.charCodeAt(s),r|=0;return t.colors[Math.abs(r)%t.colors.length]}(e),"function"==typeof t.init&&t.init(r),r}(t=e.exports=r.debug=r.default=r).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){t.save(e),t.names=[],t.skips=[];for(var s=("string"==typeof e?e:"").split(/[\s,]+/),r=s.length,i=0;i<r;i++)s[i]&&("-"===(e=s[i].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){var s,r;for(s=0,r=t.skips.length;s<r;s++)if(t.skips[s].test(e))return!1;for(s=0,r=t.names.length;s<r;s++)if(t.names[s].test(e))return!0;return!1},t.humanize=Pu,t.names=[],t.skips=[],t.formatters={}}));ku.coerce,ku.disable,ku.enable,ku.enabled,ku.humanize,ku.names,ku.skips,ku.formatters;var Nu=te((function(e,t){function s(){var e;try{e=t.storage.debug}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e}(t=e.exports=ku).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var s=this.useColors;if(e[0]=(s?"%c":"")+this.namespace+(s?" %c":" ")+e[0]+(s?"%c ":" ")+"+"+t.humanize(this.diff),!s)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var i=0,n=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(i++,"%c"===e&&(n=i))})),e.splice(n,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=s,t.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(s())}));Nu.log,Nu.formatArgs,Nu.save,Nu.load,Nu.useColors,Nu.storage,Nu.colors;var Fu=te((function(e,t){(t=e.exports=ku).init=function(e){e.inspectOpts={};for(var s=Object.keys(t.inspectOpts),r=0;r<s.length;r++)e.inspectOpts[s[r]]=t.inspectOpts[s[r]]},t.log=function(){return r.write(B.default.format.apply(B.default,arguments)+"\n")},t.formatArgs=function(e){var s=this.namespace,r=this.useColors;if(r){var i=this.color,n=" [3"+i+";1m"+s+" ";e[0]=n+e[0].split("\n").join("\n"+n),e.push("[3"+i+"m+"+t.humanize(this.diff)+"")}else e[0]=(new Date).toUTCString()+" "+s+" "+e[0]},t.save=function(e){null==e?delete process.env.DEBUG:process.env.DEBUG=e},t.load=i,t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):w.default.isatty(s)},t.colors=[6,2,3,4,5,1],t.inspectOpts=Object.keys(process.env).filter((function(e){return/^debug_/i.test(e)})).reduce((function(e,t){var s=t.substring(6).toLowerCase().replace(/_([a-z])/g,(function(e,t){return t.toUpperCase()})),r=process.env[t];return r=!!/^(yes|on|true|enabled)$/i.test(r)||!/^(no|off|false|disabled)$/i.test(r)&&("null"===r?null:Number(r)),e[s]=r,e}),{});var s=parseInt(process.env.DEBUG_FD,10)||2;1!==s&&2!==s&&B.default.deprecate((function(){}),"except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)")();var r=1===s?process.stdout:2===s?process.stderr:function(e){var t;switch(process.binding("tty_wrap").guessHandleType(e)){case"TTY":(t=new w.default.WriteStream(e))._type="tty",t._handle&&t._handle.unref&&t._handle.unref();break;case"FILE":(t=new S.default.SyncWriteStream(e,{autoClose:!1}))._type="fs";break;case"PIPE":case"TCP":(t=new $.default.Socket({fd:e,readable:!1,writable:!0})).readable=!1,t.read=null,t._type="pipe",t._handle&&t._handle.unref&&t._handle.unref();break;default:throw new Error("Implement me. Unknown stream file type!")}return t.fd=e,t._isStdio=!0,t}(s);function i(){return process.env.DEBUG}t.formatters.o=function(e){return this.inspectOpts.colors=this.useColors,B.default.inspect(e,this.inspectOpts).split("\n").map((function(e){return e.trim()})).join(" ")},t.formatters.O=function(e){return this.inspectOpts.colors=this.useColors,B.default.inspect(e,this.inspectOpts)},t.enable(i())}));Fu.init,Fu.log,Fu.formatArgs,Fu.save,Fu.load,Fu.useColors,Fu.colors,Fu.inspectOpts;var Iu=te((function(e){"undefined"!=typeof process&&"renderer"===process.type?e.exports=Nu:e.exports=Fu})),_u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Ou=function(e){if(0<=e&&e<_u.length)return _u[e];throw new TypeError("Must be between 0 and 63: "+e)},ju=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1};var Bu=function(e){var t,s="",r=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&r,(r>>>=5)>0&&(t|=32),s+=Ou(t)}while(r>0);return s},Lu=function(e,t,s){var r,i,n,a,o=e.length,c=0,u=0;do{if(t>=o)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=ju(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));r=!!(32&i),c+=(i&=31)<<u,u+=5}while(r);s.value=(a=(n=c)>>1,1==(1&n)?-a:a),s.rest=t},Mu=te((function(e,t){t.getArg=function(e,t,s){if(t in e)return e[t];if(3===arguments.length)return s;throw new Error('"'+t+'" is a required argument.')};var s=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,r=/^data:.+\,.+$/;function i(e){var t=e.match(s);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function n(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function a(e){var s=e,r=i(e);if(r){if(!r.path)return e;s=r.path}for(var a,o=t.isAbsolute(s),c=s.split(/\/+/),u=0,l=c.length-1;l>=0;l--)"."===(a=c[l])?c.splice(l,1):".."===a?u++:u>0&&(""===a?(c.splice(l+1,u),u=0):(c.splice(l,2),u--));return""===(s=c.join("/"))&&(s=o?"/":"."),r?(r.path=s,n(r)):s}t.urlParse=i,t.urlGenerate=n,t.normalize=a,t.join=function(e,t){""===e&&(e="."),""===t&&(t=".");var s=i(t),o=i(e);if(o&&(e=o.path||"/"),s&&!s.scheme)return o&&(s.scheme=o.scheme),n(s);if(s||t.match(r))return t;if(o&&!o.host&&!o.path)return o.host=t,n(o);var c="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return o?(o.path=c,n(o)):c},t.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(s)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var s=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++s}return Array(s+1).join("../")+t.substr(e.length+1)};var o=!("__proto__"in Object.create(null));function c(e){return e}function u(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var s=t-10;s>=0;s--)if(36!==e.charCodeAt(s))return!1;return!0}function l(e,t){return e===t?0:e>t?1:-1}t.toSetString=o?c:function(e){return u(e)?"$"+e:e},t.fromSetString=o?c:function(e){return u(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,s){var r=e.source-t.source;return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||s||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:e.name-t.name},t.compareByGeneratedPositionsDeflated=function(e,t,s){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||s||0!==(r=e.source-t.source)||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:e.name-t.name},t.compareByGeneratedPositionsInflated=function(e,t){var s=e.generatedLine-t.generatedLine;return 0!==s||0!==(s=e.generatedColumn-t.generatedColumn)||0!==(s=l(e.source,t.source))||0!==(s=e.originalLine-t.originalLine)||0!==(s=e.originalColumn-t.originalColumn)?s:l(e.name,t.name)}}));Mu.getArg,Mu.urlParse,Mu.urlGenerate,Mu.normalize,Mu.join,Mu.isAbsolute,Mu.relative,Mu.toSetString,Mu.fromSetString,Mu.compareByOriginalPositions,Mu.compareByGeneratedPositionsDeflated,Mu.compareByGeneratedPositionsInflated;var Ru=Object.prototype.hasOwnProperty,Uu="undefined"!=typeof Map;function qu(){this._array=[],this._set=Uu?new Map:Object.create(null)}qu.fromArray=function(e,t){for(var s=new qu,r=0,i=e.length;r<i;r++)s.add(e[r],t);return s},qu.prototype.size=function(){return Uu?this._set.size:Object.getOwnPropertyNames(this._set).length},qu.prototype.add=function(e,t){var s=Uu?e:Mu.toSetString(e),r=Uu?this.has(e):Ru.call(this._set,s),i=this._array.length;r&&!t||this._array.push(e),r||(Uu?this._set.set(e,i):this._set[s]=i)},qu.prototype.has=function(e){if(Uu)return this._set.has(e);var t=Mu.toSetString(e);return Ru.call(this._set,t)},qu.prototype.indexOf=function(e){if(Uu){var t=this._set.get(e);if(t>=0)return t}else{var s=Mu.toSetString(e);if(Ru.call(this._set,s))return this._set[s]}throw new Error('"'+e+'" is not in the set.')},qu.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},qu.prototype.toArray=function(){return this._array.slice()};var zu={ArraySet:qu};function $u(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}$u.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},$u.prototype.add=function(e){var t,s,r,i,n,a;t=this._last,s=e,r=t.generatedLine,i=s.generatedLine,n=t.generatedColumn,a=s.generatedColumn,i>r||i==r&&a>=n||Mu.compareByGeneratedPositionsInflated(t,s)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},$u.prototype.toArray=function(){return this._sorted||(this._array.sort(Mu.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};var Hu=zu.ArraySet,Vu={MappingList:$u}.MappingList;function Gu(e){e||(e={}),this._file=Mu.getArg(e,"file",null),this._sourceRoot=Mu.getArg(e,"sourceRoot",null),this._skipValidation=Mu.getArg(e,"skipValidation",!1),this._sources=new Hu,this._names=new Hu,this._mappings=new Vu,this._sourcesContents=null}Gu.prototype._version=3,Gu.fromSourceMap=function(e){var t=e.sourceRoot,s=new Gu({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=Mu.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),s.addMapping(r)})),e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&s.setSourceContent(t,r)})),s},Gu.prototype.addMapping=function(e){var t=Mu.getArg(e,"generated"),s=Mu.getArg(e,"original",null),r=Mu.getArg(e,"source",null),i=Mu.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,s,r,i),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=s&&s.line,originalColumn:null!=s&&s.column,source:r,name:i})},Gu.prototype.setSourceContent=function(e,t){var s=e;null!=this._sourceRoot&&(s=Mu.relative(this._sourceRoot,s)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Mu.toSetString(s)]=t):this._sourcesContents&&(delete this._sourcesContents[Mu.toSetString(s)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},Gu.prototype.applySourceMap=function(e,t,s){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var i=this._sourceRoot;null!=i&&(r=Mu.relative(i,r));var n=new Hu,a=new Hu;this._mappings.unsortedForEach((function(t){if(t.source===r&&null!=t.originalLine){var o=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=o.source&&(t.source=o.source,null!=s&&(t.source=Mu.join(s,t.source)),null!=i&&(t.source=Mu.relative(i,t.source)),t.originalLine=o.line,t.originalColumn=o.column,null!=o.name&&(t.name=o.name))}var c=t.source;null==c||n.has(c)||n.add(c);var u=t.name;null==u||a.has(u)||a.add(u)}),this),this._sources=n,this._names=a,e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&(null!=s&&(t=Mu.join(s,t)),null!=i&&(t=Mu.relative(i,t)),this.setSourceContent(t,r))}),this)},Gu.prototype._validateMapping=function(e,t,s,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||s||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&s))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:s,original:t,name:r}))},Gu.prototype._serializeMappings=function(){for(var e,t,s,r,i=0,n=1,a=0,o=0,c=0,u=0,l="",p=this._mappings.toArray(),h=0,d=p.length;h<d;h++){if(e="",(t=p[h]).generatedLine!==n)for(i=0;t.generatedLine!==n;)e+=";",n++;else if(h>0){if(!Mu.compareByGeneratedPositionsInflated(t,p[h-1]))continue;e+=","}e+=Bu(t.generatedColumn-i),i=t.generatedColumn,null!=t.source&&(r=this._sources.indexOf(t.source),e+=Bu(r-u),u=r,e+=Bu(t.originalLine-1-o),o=t.originalLine-1,e+=Bu(t.originalColumn-a),a=t.originalColumn,null!=t.name&&(s=this._names.indexOf(t.name),e+=Bu(s-c),c=s)),l+=e}return l},Gu.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=Mu.relative(t,e));var s=Mu.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null}),this)},Gu.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},Gu.prototype.toString=function(){return JSON.stringify(this.toJSON())};var Wu={SourceMapGenerator:Gu},Ju=te((function(e,t){function s(e,r,i,n,a,o){var c=Math.floor((r-e)/2)+e,u=a(i,n[c],!0);return 0===u?c:u>0?r-c>1?s(c,r,i,n,a,o):o==t.LEAST_UPPER_BOUND?r<n.length?r:-1:c:c-e>1?s(e,c,i,n,a,o):o==t.LEAST_UPPER_BOUND?c:e<0?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,r,i,n){if(0===r.length)return-1;var a=s(-1,r.length,e,r,i,n||t.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===i(r[a],r[a-1],!0);)--a;return a}}));function Xu(e,t,s){var r=e[t];e[t]=e[s],e[s]=r}function Ku(e,t,s,r){if(s<r){var i=s-1;Xu(e,(c=s,u=r,Math.round(c+Math.random()*(u-c))),r);for(var n=e[r],a=s;a<r;a++)t(e[a],n)<=0&&Xu(e,i+=1,a);Xu(e,i+1,a);var o=i+1;Ku(e,t,s,o-1),Ku(e,t,o+1,r)}var c,u}Ju.GREATEST_LOWER_BOUND,Ju.LEAST_UPPER_BOUND,Ju.search;var Yu=zu.ArraySet,Qu=function(e,t){Ku(e,t,0,e.length-1)};function Zu(e){var t=e;return"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=t.sections?new il(t):new tl(t)}Zu.fromSourceMap=function(e){return tl.fromSourceMap(e)},Zu.prototype._version=3,Zu.prototype.__generatedMappings=null,Object.defineProperty(Zu.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),Zu.prototype.__originalMappings=null,Object.defineProperty(Zu.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),Zu.prototype._charIsMappingSeparator=function(e,t){var s=e.charAt(t);return";"===s||","===s},Zu.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},Zu.GENERATED_ORDER=1,Zu.ORIGINAL_ORDER=2,Zu.GREATEST_LOWER_BOUND=1,Zu.LEAST_UPPER_BOUND=2,Zu.prototype.eachMapping=function(e,t,s){var r,i=t||null;switch(s||Zu.GENERATED_ORDER){case Zu.GENERATED_ORDER:r=this._generatedMappings;break;case Zu.ORIGINAL_ORDER:r=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var n=this.sourceRoot;r.map((function(e){var t=null===e.source?null:this._sources.at(e.source);return null!=t&&null!=n&&(t=Mu.join(n,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}}),this).forEach(e,i)},Zu.prototype.allGeneratedPositionsFor=function(e){var t=Mu.getArg(e,"line"),s={source:Mu.getArg(e,"source"),originalLine:t,originalColumn:Mu.getArg(e,"column",0)};if(null!=this.sourceRoot&&(s.source=Mu.relative(this.sourceRoot,s.source)),!this._sources.has(s.source))return[];s.source=this._sources.indexOf(s.source);var r=[],i=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",Mu.compareByOriginalPositions,Ju.LEAST_UPPER_BOUND);if(i>=0){var n=this._originalMappings[i];if(void 0===e.column)for(var a=n.originalLine;n&&n.originalLine===a;)r.push({line:Mu.getArg(n,"generatedLine",null),column:Mu.getArg(n,"generatedColumn",null),lastColumn:Mu.getArg(n,"lastGeneratedColumn",null)}),n=this._originalMappings[++i];else for(var o=n.originalColumn;n&&n.originalLine===t&&n.originalColumn==o;)r.push({line:Mu.getArg(n,"generatedLine",null),column:Mu.getArg(n,"generatedColumn",null),lastColumn:Mu.getArg(n,"lastGeneratedColumn",null)}),n=this._originalMappings[++i]}return r};var el=Zu;function tl(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var s=Mu.getArg(t,"version"),r=Mu.getArg(t,"sources"),i=Mu.getArg(t,"names",[]),n=Mu.getArg(t,"sourceRoot",null),a=Mu.getArg(t,"sourcesContent",null),o=Mu.getArg(t,"mappings"),c=Mu.getArg(t,"file",null);if(s!=this._version)throw new Error("Unsupported version: "+s);r=r.map(String).map(Mu.normalize).map((function(e){return n&&Mu.isAbsolute(n)&&Mu.isAbsolute(e)?Mu.relative(n,e):e})),this._names=Yu.fromArray(i.map(String),!0),this._sources=Yu.fromArray(r,!0),this.sourceRoot=n,this.sourcesContent=a,this._mappings=o,this.file=c}function sl(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}tl.prototype=Object.create(Zu.prototype),tl.prototype.consumer=Zu,tl.fromSourceMap=function(e){var t=Object.create(tl.prototype),s=t._names=Yu.fromArray(e._names.toArray(),!0),r=t._sources=Yu.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var i=e._mappings.toArray().slice(),n=t.__generatedMappings=[],a=t.__originalMappings=[],o=0,c=i.length;o<c;o++){var u=i[o],l=new sl;l.generatedLine=u.generatedLine,l.generatedColumn=u.generatedColumn,u.source&&(l.source=r.indexOf(u.source),l.originalLine=u.originalLine,l.originalColumn=u.originalColumn,u.name&&(l.name=s.indexOf(u.name)),a.push(l)),n.push(l)}return Qu(t.__originalMappings,Mu.compareByOriginalPositions),t},tl.prototype._version=3,Object.defineProperty(tl.prototype,"sources",{get:function(){return this._sources.toArray().map((function(e){return null!=this.sourceRoot?Mu.join(this.sourceRoot,e):e}),this)}}),tl.prototype._parseMappings=function(e,t){for(var s,r,i,n,a,o=1,c=0,u=0,l=0,p=0,h=0,d=e.length,m=0,f={},y={},g=[],x=[];m<d;)if(";"===e.charAt(m))o++,m++,c=0;else if(","===e.charAt(m))m++;else{for((s=new sl).generatedLine=o,n=m;n<d&&!this._charIsMappingSeparator(e,n);n++);if(i=f[r=e.slice(m,n)])m+=r.length;else{for(i=[];m<n;)Lu(e,m,y),a=y.value,m=y.rest,i.push(a);if(2===i.length)throw new Error("Found a source, but no line and column");if(3===i.length)throw new Error("Found a source and line, but no column");f[r]=i}s.generatedColumn=c+i[0],c=s.generatedColumn,i.length>1&&(s.source=p+i[1],p+=i[1],s.originalLine=u+i[2],u=s.originalLine,s.originalLine+=1,s.originalColumn=l+i[3],l=s.originalColumn,i.length>4&&(s.name=h+i[4],h+=i[4])),x.push(s),"number"==typeof s.originalLine&&g.push(s)}Qu(x,Mu.compareByGeneratedPositionsDeflated),this.__generatedMappings=x,Qu(g,Mu.compareByOriginalPositions),this.__originalMappings=g},tl.prototype._findMapping=function(e,t,s,r,i,n){if(e[s]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[s]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return Ju.search(e,t,i,n)},tl.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var s=this._generatedMappings[e+1];if(t.generatedLine===s.generatedLine){t.lastGeneratedColumn=s.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},tl.prototype.originalPositionFor=function(e){var t={generatedLine:Mu.getArg(e,"line"),generatedColumn:Mu.getArg(e,"column")},s=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",Mu.compareByGeneratedPositionsDeflated,Mu.getArg(e,"bias",Zu.GREATEST_LOWER_BOUND));if(s>=0){var r=this._generatedMappings[s];if(r.generatedLine===t.generatedLine){var i=Mu.getArg(r,"source",null);null!==i&&(i=this._sources.at(i),null!=this.sourceRoot&&(i=Mu.join(this.sourceRoot,i)));var n=Mu.getArg(r,"name",null);return null!==n&&(n=this._names.at(n)),{source:i,line:Mu.getArg(r,"originalLine",null),column:Mu.getArg(r,"originalColumn",null),name:n}}}return{source:null,line:null,column:null,name:null}},tl.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e})))},tl.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=Mu.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var s;if(null!=this.sourceRoot&&(s=Mu.urlParse(this.sourceRoot))){var r=e.replace(/^file:\/\//,"");if("file"==s.scheme&&this._sources.has(r))return this.sourcesContent[this._sources.indexOf(r)];if((!s.path||"/"==s.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},tl.prototype.generatedPositionFor=function(e){var t=Mu.getArg(e,"source");if(null!=this.sourceRoot&&(t=Mu.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};var s={source:t=this._sources.indexOf(t),originalLine:Mu.getArg(e,"line"),originalColumn:Mu.getArg(e,"column")},r=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",Mu.compareByOriginalPositions,Mu.getArg(e,"bias",Zu.GREATEST_LOWER_BOUND));if(r>=0){var i=this._originalMappings[r];if(i.source===s.source)return{line:Mu.getArg(i,"generatedLine",null),column:Mu.getArg(i,"generatedColumn",null),lastColumn:Mu.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};var rl=tl;function il(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var s=Mu.getArg(t,"version"),r=Mu.getArg(t,"sections");if(s!=this._version)throw new Error("Unsupported version: "+s);this._sources=new Yu,this._names=new Yu;var i={line:-1,column:0};this._sections=r.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var t=Mu.getArg(e,"offset"),s=Mu.getArg(t,"line"),r=Mu.getArg(t,"column");if(s<i.line||s===i.line&&r<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=t,{generatedOffset:{generatedLine:s+1,generatedColumn:r+1},consumer:new Zu(Mu.getArg(e,"map"))}}))}il.prototype=Object.create(Zu.prototype),il.prototype.constructor=Zu,il.prototype._version=3,Object.defineProperty(il.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var s=0;s<this._sections[t].consumer.sources.length;s++)e.push(this._sections[t].consumer.sources[s]);return e}}),il.prototype.originalPositionFor=function(e){var t={generatedLine:Mu.getArg(e,"line"),generatedColumn:Mu.getArg(e,"column")},s=Ju.search(t,this._sections,(function(e,t){var s=e.generatedLine-t.generatedOffset.generatedLine;return s||e.generatedColumn-t.generatedOffset.generatedColumn})),r=this._sections[s];return r?r.consumer.originalPositionFor({line:t.generatedLine-(r.generatedOffset.generatedLine-1),column:t.generatedColumn-(r.generatedOffset.generatedLine===t.generatedLine?r.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},il.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},il.prototype.sourceContentFor=function(e,t){for(var s=0;s<this._sections.length;s++){var r=this._sections[s].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},il.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var s=this._sections[t];if(-1!==s.consumer.sources.indexOf(Mu.getArg(e,"source"))){var r=s.consumer.generatedPositionFor(e);if(r)return{line:r.line+(s.generatedOffset.generatedLine-1),column:r.column+(s.generatedOffset.generatedLine===r.line?s.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},il.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var s=0;s<this._sections.length;s++)for(var r=this._sections[s],i=r.consumer._generatedMappings,n=0;n<i.length;n++){var a=i[n],o=r.consumer._sources.at(a.source);null!==r.consumer.sourceRoot&&(o=Mu.join(r.consumer.sourceRoot,o)),this._sources.add(o),o=this._sources.indexOf(o);var c=r.consumer._names.at(a.name);this._names.add(c),c=this._names.indexOf(c);var u={source:o,generatedLine:a.generatedLine+(r.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(r.generatedOffset.generatedLine===a.generatedLine?r.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:c};this.__generatedMappings.push(u),"number"==typeof u.originalLine&&this.__originalMappings.push(u)}Qu(this.__generatedMappings,Mu.compareByGeneratedPositionsDeflated),Qu(this.__originalMappings,Mu.compareByOriginalPositions)};var nl={SourceMapConsumer:el,BasicSourceMapConsumer:rl,IndexedSourceMapConsumer:il},al=Wu.SourceMapGenerator,ol=/(\r?\n)/,cl="$$$isSourceNode$$$";function ul(e,t,s,r,i){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==s?null:s,this.name=null==i?null:i,this[cl]=!0,null!=r&&this.add(r)}ul.fromStringWithSourceMap=function(e,t,s){var r=new ul,i=e.split(ol),n=0,a=function(){return e()+(e()||"");function e(){return n<i.length?i[n++]:void 0}},o=1,c=0,u=null;return t.eachMapping((function(e){if(null!==u){if(!(o<e.generatedLine)){var t=(s=i[n]).substr(0,e.generatedColumn-c);return i[n]=s.substr(e.generatedColumn-c),c=e.generatedColumn,l(u,t),void(u=e)}l(u,a()),o++,c=0}for(;o<e.generatedLine;)r.add(a()),o++;if(c<e.generatedColumn){var s=i[n];r.add(s.substr(0,e.generatedColumn)),i[n]=s.substr(e.generatedColumn),c=e.generatedColumn}u=e}),this),n<i.length&&(u&&l(u,a()),r.add(i.splice(n).join(""))),t.sources.forEach((function(e){var i=t.sourceContentFor(e);null!=i&&(null!=s&&(e=Mu.join(s,e)),r.setSourceContent(e,i))})),r;function l(e,t){if(null===e||void 0===e.source)r.add(t);else{var i=s?Mu.join(s,e.source):e.source;r.add(new ul(e.originalLine,e.originalColumn,i,t,e.name))}}},ul.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[cl]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},ul.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[cl]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},ul.prototype.walk=function(e){for(var t,s=0,r=this.children.length;s<r;s++)(t=this.children[s])[cl]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},ul.prototype.join=function(e){var t,s,r=this.children.length;if(r>0){for(t=[],s=0;s<r-1;s++)t.push(this.children[s]),t.push(e);t.push(this.children[s]),this.children=t}return this},ul.prototype.replaceRight=function(e,t){var s=this.children[this.children.length-1];return s[cl]?s.replaceRight(e,t):"string"==typeof s?this.children[this.children.length-1]=s.replace(e,t):this.children.push("".replace(e,t)),this},ul.prototype.setSourceContent=function(e,t){this.sourceContents[Mu.toSetString(e)]=t},ul.prototype.walkSourceContents=function(e){for(var t=0,s=this.children.length;t<s;t++)this.children[t][cl]&&this.children[t].walkSourceContents(e);var r=Object.keys(this.sourceContents);for(t=0,s=r.length;t<s;t++)e(Mu.fromSetString(r[t]),this.sourceContents[r[t]])},ul.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},ul.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},s=new al(e),r=!1,i=null,n=null,a=null,o=null;return this.walk((function(e,c){t.code+=e,null!==c.source&&null!==c.line&&null!==c.column?(i===c.source&&n===c.line&&a===c.column&&o===c.name||s.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name}),i=c.source,n=c.line,a=c.column,o=c.name,r=!0):r&&(s.addMapping({generated:{line:t.line,column:t.column}}),i=null,r=!1);for(var u=0,l=e.length;u<l;u++)10===e.charCodeAt(u)?(t.line++,t.column=0,u+1===l?(i=null,r=!1):r&&s.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name})):t.column++})),this.walkSourceContents((function(e,t){s.setSourceContent(e,t)})),{code:t.code,map:s}};var ll={SourceMapGenerator:Wu.SourceMapGenerator,SourceMapConsumer:nl.SourceMapConsumer,SourceNode:{SourceNode:ul}.SourceNode},pl=te((function(e,t){var s,r;e.exports=(s=/[#@] sourceMappingURL=([^\s'"]*)/,{regex:r=RegExp("(?:/\\*(?:\\s*\r?\n(?://)?)?(?:"+s.source+")\\s*\\*/|//(?:"+s.source+"))\\s*"),_innerRegex:s,getFrom:function(e){var t=e.match(r);return t?t[1]||t[2]||"":null},existsIn:function(e){return r.test(e)},removeFrom:function(e){return e.replace(r,"")},insertBefore:function(e,t){var s=e.match(r);return s?e.slice(0,s.index)+t+e.slice(s.index):e+t}})}));var hl=function(){return Array.prototype.reduce.call(arguments,(function(e,t){return O.default.resolve(e,t)}))},dl="%[a-f0-9]{2}",ml=new RegExp(dl,"gi"),fl=new RegExp("("+dl+")+","gi");function yl(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var s=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],yl(s),yl(r))}function gl(e){try{return decodeURIComponent(e)}catch(r){for(var t=e.match(ml),s=1;s<t.length;s++)t=(e=yl(t,s).join("")).match(ml);return e}}var xl=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},s=fl.exec(e);s;){try{t[s[0]]=decodeURIComponent(s[0])}catch(e){var r=gl(s[0]);r!==s[0]&&(t[s[0]]=r)}s=fl.exec(e)}t["%C2"]="�";for(var i=Object.keys(t),n=0;n<i.length;n++){var a=i[n];e=e.replace(new RegExp(a,"g"),t[a])}return e}(e)}};var vl=function(e){return xl(e.replace(/\+/g,"%2B"))};var bl=function(e){return"\\"===D.default.sep?e.replace(/\\/g,"/").replace(/^[a-z]:\/?/i,"/"):e};function El(e){return Buffer.from(e,"base64").toString("binary")}var Cl=El.atob=El;function Al(e,t,s){setImmediate((function(){e(t,s)}))}function wl(e,t){try{return JSON.parse(e.replace(/^\)\]\}'/,""))}catch(e){throw e.sourceMapData=t,e}}function Dl(e,t,s){var r=vl(t);try{return String(e(r))}catch(e){throw e.sourceMapData=s,e}}function Tl(e,t,s,r){var i;try{i=Il(e,t)}catch(e){return Al(r,e)}if(!i||i.map)return Al(r,null,i);s(vl(i.url),(function(e,t){if(e)return e.sourceMapData=i,r(e);i.map=String(t);try{i.map=wl(i.map,i)}catch(e){return r(e)}r(null,i)}))}function Pl(e,t,s){var r=Il(e,t);return!r||r.map||(r.map=Dl(s,r.url,r),r.map=wl(r.map,r)),r}var Sl=/^data:([^,;]*)(;[^,;]*)*(?:,(.*))?$/,kl=/^(?:application|text)\/json$/,Nl="utf-8";function Fl(e){if("undefined"==typeof TextDecoder||"undefined"==typeof Uint8Array)return Cl(e);var t=function(e){for(var t=Cl(e),s=t.length,r=new Uint8Array(s),i=0;i<s;i++)r[i]=t.charCodeAt(i);return r}(e);return new TextDecoder(Nl,{fatal:!0}).decode(t)}function Il(e,t){t=bl(t);var s=pl.getFrom(e);if(!s)return null;var r=s.match(Sl);if(r){var i=r[1]||"text/plain",n=r[2]||"",a=r[3]||"",o={sourceMappingURL:s,url:null,sourcesRelativeTo:t,map:a};if(!kl.test(i)){var c=new Error("Unuseful data uri mime type: "+i);throw c.sourceMapData=o,c}try{o.map=wl(";base64"===n?Fl(a):decodeURIComponent(a),o)}catch(c){throw c.sourceMapData=o,c}return o}var u=hl(t,s);return{sourceMappingURL:s,url:u,sourcesRelativeTo:u,map:null}}function _l(e,t,s,r,i){"function"==typeof r&&(i=r,r={});var n=e.sources?e.sources.length:0,a={sourcesResolved:[],sourcesContent:[]};if(0!==n){var o=function(){0===--n&&i(null,a)};Bl(e,t,r,(function(e,t,r){if(a.sourcesResolved[r]=e,"string"==typeof t)a.sourcesContent[r]=t,Al(o,null);else{var i=vl(e);s(i,(function(e,t){a.sourcesContent[r]=e||String(t),o()}))}}))}else Al(i,null,a)}function Ol(e,t,s,r){var i={sourcesResolved:[],sourcesContent:[]};return e.sources&&0!==e.sources.length?(Bl(e,t,r,(function(e,t,r){if(i.sourcesResolved[r]=e,null!==s)if("string"==typeof t)i.sourcesContent[r]=t;else{var n=vl(e);try{i.sourcesContent[r]=String(s(n))}catch(e){i.sourcesContent[r]=e}}})),i):i}var jl=/\/?$/;function Bl(e,t,s,r){var i;s=s||{},t=bl(t);for(var n=0,a=e.sources.length;n<a;n++)i=null,"string"==typeof s.sourceRoot?i=s.sourceRoot:"string"==typeof e.sourceRoot&&!1!==s.sourceRoot&&(i=e.sourceRoot),r(null===i||""===i?hl(t,e.sources[n]):hl(t,i.replace(jl,"/"),e.sources[n]),(e.sourcesContent||[])[n],n)}var Ll={resolveSourceMap:Tl,resolveSourceMapSync:Pl,resolveSources:_l,resolveSourcesSync:Ol,resolve:function(e,t,s,r,i){if("function"==typeof r&&(i=r,r={}),null===e){var n={sourceMappingURL:null,url:t,sourcesRelativeTo:t,map:null},a=vl(t);s(a,(function(e,t){if(e)return e.sourceMapData=n,i(e);n.map=String(t);try{n.map=wl(n.map,n)}catch(e){return i(e)}o(n)}))}else Tl(e,t,s,(function(e,t){return e?i(e):t?void o(t):i(null,null)}));function o(e){_l(e.map,e.sourcesRelativeTo,s,r,(function(t,s){if(t)return i(t);e.sourcesResolved=s.sourcesResolved,e.sourcesContent=s.sourcesContent,i(null,e)}))}},resolveSync:function(e,t,s,r){var i;if(null===e){(i={sourceMappingURL:null,url:t,sourcesRelativeTo:t,map:null}).map=Dl(s,t,i),i.map=wl(i.map,i)}else if(!(i=Pl(e,t,s)))return null;var n=Ol(i.map,i.sourcesRelativeTo,s,r);return i.sourcesResolved=n.sourcesResolved,i.sourcesContent=n.sourcesContent,i},parseMapToJSON:wl},Ml={extend:Sc,SourceMap:ll,sourceMapResolve:Ll,unixify:function(e){return e.split(/\\+/).join("/")},isString:function(e){return e&&"string"==typeof e},arrayify:function(e){return"string"==typeof e?[e]:e?Array.isArray(e)?e:[e]:[]},last:function(e,t){return e[e.length-(t||1)]}},Rl=te((function(e,t){e.exports=function(e){for(var s in nu(e,"_comment",e.comment),e.map=new Ml.SourceMap.SourceMapGenerator,e.position={line:1,column:1},e.content={},e.files={},t)nu(e,s,t[s])},t.updatePosition=function(e){var t=e.match(/\n/g);t&&(this.position.line+=t.length);var s=e.lastIndexOf("\n");this.position.column=~s?e.length-s:this.position.column+e.length},t.emit=function(e,t){var s=t.position||{},r=s.source;return r&&(s.filepath&&(r=Ml.unixify(s.filepath)),this.map.addMapping({source:r,generated:{line:this.position.line,column:Math.max(this.position.column-1,0)},original:{line:s.start.line,column:s.start.column-1}}),s.content&&this.addContent(r,s),s.filepath&&this.addFile(r,s),this.updatePosition(e),this.output+=e),e},t.addFile=function(e,t){"string"==typeof t.content&&(Object.prototype.hasOwnProperty.call(this.files,e)||(this.files[e]=t.content))},t.addContent=function(e,t){"string"==typeof t.content&&(Object.prototype.hasOwnProperty.call(this.content,e)||this.map.setSourceContent(e,t.content))},t.applySourceMaps=function(){Object.keys(this.files).forEach((function(e){var t=this.files[e];if(this.map.setSourceContent(e,t),!0===this.options.inputSourcemaps){var s=Ml.sourceMapResolve.resolveSync(t,e,S.default.readFileSync);if(s){var r=new Ml.SourceMap.SourceMapConsumer(s.map),i=s.sourcesRelativeTo;this.map.applySourceMap(r,e,Ml.unixify(D.default.dirname(i)))}}}),this)},t.comment=function(e){return/^# sourceMappingURL=/.test(e.comment)?this.emit("",e.position):this._comment(e)}}));Rl.updatePosition,Rl.emit,Rl.addFile,Rl.addContent,Rl.applySourceMaps,Rl.comment;var Ul=Iu("snapdragon:compiler");function ql(e,t){Ul("initializing",__filename),this.options=Ml.extend({source:"string"},e),this.state=t||{},this.compilers={},this.output="",this.set("eos",(function(e){return this.emit(e.val,e)})),this.set("noop",(function(e){return this.emit(e.val,e)})),this.set("bos",(function(e){return this.emit(e.val,e)})),vu(this)}ql.prototype={error:function(e,t){var s=t.position||{start:{column:0}},r=this.options.source+" column:"+s.start.column+": "+e,i=new Error(r);if(i.reason=e,i.column=s.start.column,i.source=this.pattern,!this.options.silent)throw i;this.errors.push(i)},define:function(e,t){return nu(this,e,t),this},emit:function(e,t){return this.output+=e,e},set:function(e,t){return this.compilers[e]=t,this},get:function(e){return this.compilers[e]},prev:function(e){return this.ast.nodes[this.idx-(e||1)]||{type:"bos",val:""}},next:function(e){return this.ast.nodes[this.idx+(e||1)]||{type:"eos",val:""}},visit:function(e,t,s){var r=this.compilers[e.type];if(this.idx=s,"function"!=typeof r)throw this.error('compiler "'+e.type+'" is not registered',e);return r.call(this,e,t,s)},mapVisit:function(e){if(!Array.isArray(e))throw new TypeError("expected an array");for(var t=e.length,s=-1;++s<t;)this.visit(e[s],e,s);return this},compile:function(e,t){var s=Ml.extend({},this.options,t);return this.ast=e,this.parsingErrors=this.ast.errors,this.output="",s.sourcemap?(Rl(this),this.mapVisit(this.ast.nodes),this.applySourceMaps(),this.map="generator"===s.sourcemap?this.map:this.map.toJSON(),this):(this.mapVisit(this.ast.nodes),this)}};var zl=ql,$l=function(e,t){this.start=e,this.end={line:t.line,column:t.column},nu(this,"content",t.orig),nu(this,"source",t.options.source)},Hl=Iu("snapdragon:parser");function Vl(e){Hl("initializing",__filename),this.options=Ml.extend({source:"string"},e),this.init(this.options),vu(this)}function Gl(e,t){return e.visited?e:(nu(e,"visited",!0),e.nodes?function(e,t){var s=e.length,r=-1;for(;++r<s;)Gl(e[r],t)}(e.nodes,t):t(e))}function Wl(e){return function(e){return e.nodes&&e.nodes[0].type===e.type+".open"}(e)&&function(e){return e.nodes&&Ml.last(e.nodes).type===e.type+".close"}(e)}Vl.prototype={constructor:Vl,init:function(e){this.orig="",this.input="",this.parsed="",this.column=1,this.line=1,this.regex=new Zo,this.errors=this.errors||[],this.parsers=this.parsers||{},this.types=this.types||[],this.sets=this.sets||{},this.fns=this.fns||[],this.currentType="root";var t=this.position();this.bos=t({type:"bos",val:""}),this.ast={type:"root",errors:this.errors,nodes:[this.bos]},nu(this.bos,"parent",this.ast),this.nodes=[this.ast],this.count=0,this.setCount=0,this.stack=[]},error:function(e,t){var s=t.position||{start:{column:0,line:0}},r=s.start.line,i=s.start.column,n=this.options.source,a=new Error(n+" <line:"+r+" column:"+i+">: "+e);if(a.source=n,a.reason=e,a.pos=s,!this.options.silent)throw a;this.errors.push(a)},define:function(e,t){return nu(this,e,t),this},position:function(){var e={line:this.line,column:this.column},t=this;return function(s){return nu(s,"position",new $l(e,t)),s}},set:function(e,t){return-1===this.types.indexOf(e)&&this.types.push(e),this.parsers[e]=t.bind(this),this},get:function(e){return this.parsers[e]},push:function(e,t){return this.sets[e]=this.sets[e]||[],this.count++,this.stack.push(t),this.sets[e].push(t)},pop:function(e){return this.sets[e]=this.sets[e]||[],this.count--,this.stack.pop(),this.sets[e].pop()},isInside:function(e){return this.sets[e]=this.sets[e]||[],this.sets[e].length>0},isType:function(e,t){return e&&e.type===t},prev:function(e){return this.stack.length>0?Ml.last(this.stack,e):Ml.last(this.nodes,e)},consume:function(e){this.input=this.input.substr(e)},updatePosition:function(e,t){var s=e.match(/\n/g);s&&(this.line+=s.length);var r=e.lastIndexOf("\n");this.column=~r?t-r:this.column+t,this.parsed+=e,this.consume(t)},match:function(e){var t=e.exec(this.input);if(t)return this.updatePosition(t[0],t[0].length),t},capture:function(e,t){return"function"==typeof t?this.set.apply(this,arguments):(this.regex.set(e,t),this.set(e,function(){var s=this.parsed,r=this.position(),i=this.match(t);if(i&&i[0]){var n=this.prev(),a=r({type:e,val:i[0],parsed:s,rest:this.input});i[1]&&(a.inner=i[1]),nu(a,"inside",this.stack.length>0),nu(a,"parent",n),n.nodes.push(a)}}.bind(this)),this)},capturePair:function(e,t,s,r){return this.sets[e]=this.sets[e]||[],this.set(e+".open",(function(){var s=this.parsed,i=this.position(),n=this.match(t);if(n&&n[0]){var a=n[0];this.setCount++,this.specialChars=!0;var o=i({type:e+".open",val:a,rest:this.input});void 0!==n[1]&&(o.inner=n[1]);var c=this.prev(),u=i({type:e,nodes:[o]});nu(u,"rest",this.input),nu(u,"parsed",s),nu(u,"prefix",n[1]),nu(u,"parent",c),nu(o,"parent",u),"function"==typeof r&&r.call(this,o,u),this.push(e,u),c.nodes.push(u)}})),this.set(e+".close",(function(){var t=this.position(),r=this.match(s);if(r&&r[0]){var i=this.pop(e),n=t({type:e+".close",rest:this.input,suffix:r[1],val:r[0]});if(!this.isType(i,e)){if(this.options.strict)throw new Error('missing opening "'+e+'"');return this.setCount--,n.escaped=!0,n}"\\"===n.suffix&&(i.escaped=!0,n.escaped=!0),i.nodes.push(n),nu(n,"parent",i)}})),this},eos:function(){var e=this.position();if(!this.input){for(var t=this.prev();"root"!==t.type&&!t.visited;){if(!0===this.options.strict)throw new SyntaxError("invalid syntax:"+B.default.inspect(t,null,2));Wl(t)||(t.parent.escaped=!0,t.escaped=!0),Gl(t,(function(e){Wl(e.parent)||(e.parent.escaped=!0,e.escaped=!0)})),t=t.parent}var s=e({type:"eos",val:this.append||""});return nu(s,"parent",this.ast),s}},next:function(){for(var e,t=this.parsed,s=this.types.length,r=-1;++r<s;)if(e=this.parsers[this.types[r]].call(this))return nu(e,"rest",this.input),nu(e,"parsed",t),this.last=e,e},parse:function(e){if("string"!=typeof e)throw new TypeError("expected a string");this.init(this.options),this.orig=e,this.input=e;var t=this;function s(){e=t.input;var s=t.next();if(s){var r=t.prev();r&&(nu(s,"parent",r),r.nodes&&r.nodes.push(s)),t.sets.hasOwnProperty(r.type)&&(t.currentType=r.type)}if(t.input&&e===t.input)throw new Error('no parsers registered for: "'+t.input.slice(0,5)+'"')}for(;this.input;)s();if(this.stack.length&&this.options.strict){var r=this.stack.pop();throw this.error("missing opening "+r.type+': "'+this.orig+'"')}var i=this.eos();return"eos"!==this.prev().type&&this.ast.nodes.push(i),this.ast}};var Jl=Vl;function Xl(e){gu.call(this,null,e),this.options=Ml.extend({source:"string"},this.options),this.compiler=new zl(this.options),this.parser=new Jl(this.options),Object.defineProperty(this,"compilers",{get:function(){return this.compiler.compilers}}),Object.defineProperty(this,"parsers",{get:function(){return this.parser.parsers}}),Object.defineProperty(this,"regex",{get:function(){return this.parser.regex}})}gu.extend(Xl),Xl.prototype.capture=function(){return this.parser.capture.apply(this.parser,arguments)},Xl.prototype.use=function(e){return e.call(this,this),this},Xl.prototype.parse=function(e,t){this.options=Ml.extend({},this.options,t);var s=this.parser.parse(e,this.options);return nu(s,"parser",this.parser),s},Xl.prototype.compile=function(e,t){this.options=Ml.extend({},this.options,t);var s=this.compiler.compile(e,this.options);return nu(s,"compiler",this.compiler),s};var Kl=Xl,Yl=zl,Ql=Jl;Kl.Compiler=Yl,Kl.Parser=Ql;var Zl="undefined"!=typeof Reflect&&Reflect.defineProperty?Reflect.defineProperty:Object.defineProperty,ep=function(e,t,s){if(!oo(e)&&"function"!=typeof e&&!Array.isArray(e))throw new TypeError("expected an object, function, or array");if("string"!=typeof t)throw new TypeError('expected "key" to be a string');return Eo(s)?(Zl(e,t,s),e):(Zl(e,t,{configurable:!0,enumerable:!1,writable:!0,value:s}),e)},tp=function(e){for(var t=arguments.length,s=0;++s<t;)e=sp(e,arguments[s]);return e};function sp(e,t){if(!Array.isArray(t))return e.slice();for(var s=t.length,r=e.length,i=-1,n=[];++i<r;){for(var a=e[i],o=!1,c=0;c<s;c++){if(a===t[c]){o=!0;break}}!1===o&&n.push(a)}return n}var rp=function(e,t){if(!oo(e)&&"function"!=typeof e)return{};var s={};if("string"==typeof t)return t in e&&(s[t]=e[t]),s;for(var r=t.length,i=-1;++i<r;){var n=t[i];n in e&&(s[n]=e[n])}return s},ip=Object.prototype.toString,np=function(e){if(void 0===e)return"undefined";if(null===e)return"null";var t=typeof e;if("boolean"===t)return"boolean";if("string"===t)return"string";if("number"===t)return"number";if("symbol"===t)return"symbol";if("function"===t)return"GeneratorFunction"===ap(e)?"generatorfunction":"function";if(function(e){return Array.isArray?Array.isArray(e):e instanceof Array}(e))return"array";if(function(e){if(e.constructor&&"function"==typeof e.constructor.isBuffer)return e.constructor.isBuffer(e);return!1}(e))return"buffer";if(function(e){try{if("number"==typeof e.length&&"function"==typeof e.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}(e))return"arguments";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(e))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(e))return"error";if(function(e){return e instanceof RegExp||"string"==typeof e.flags&&"boolean"==typeof e.ignoreCase&&"boolean"==typeof e.multiline&&"boolean"==typeof e.global}(e))return"regexp";switch(ap(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function(e){return"function"==typeof e.throw&&"function"==typeof e.return&&"function"==typeof e.next}(e))return"generator";switch(t=ip.call(e)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")};function ap(e){return"function"==typeof e.constructor?e.constructor.name:null}var op=te((function(e){e.exports=function(e){if(!Array.isArray(e))throw new TypeError("array-unique expects an array.");for(var t=e.length,s=-1;s++<t;)for(var r=s+1;r<e.length;++r)e[s]===e[r]&&e.splice(r--,1);return e},e.exports.immutable=function(t){if(!Array.isArray(t))throw new TypeError("array-unique expects an array.");for(var s=t.length,r=new Array(s),i=0;i<s;i++)r[i]=t[i];return e.exports(r)}}));function cp(e,t,s){return void 0===t&&(t="jsx"),void 0===s&&(s=""),{name:e,ext:t,content:s}}function up(e){return{name:e,dirs:[],files:[]}}function lp(e,t,s){var r=e;t.forEach((function(e){var t=r.dirs.find((function(t){return t.name===e}));if(t)r=t;else{var s=up(e);!function(e,t){if(!(e.dirs.findIndex((function(e){return e.name===t.name}))<0))throw new ga("Adding same directory to one directory: ".concat(t.name," -> ").concat(e.name));e.dirs.push(t)}(r,s),r=s}})),function(e,t){if(!(e.files.findIndex((function(e){return e.name===t.name&&e.ext===t.ext}))<0))throw new ga("Adding same file to one directory: ".concat(t.name," -> ").concat(e.name));e.files.push(t)}(r,s)}function pp(e,t){try{var s=Y(t(),2);lp(e,s[0],s[1])}catch(e){throw new Error("Error: ".concat(typeof t))}}function hp(){return[[],{name:"abc",ext:"json",content:'\n{\n "type": "ice-app",\n "builder": "@ali/builder-ice-app"\n}\n '}]}function dp(){return[[],{name:"build",ext:"json",content:'\n{\n "entry": "src/app.js",\n "plugins": [\n [\n "build-plugin-fusion",\n {\n "themePackage": "@alifd/theme-design-pro"\n }\n ],\n [\n "build-plugin-moment-locales",\n {\n "locales": [\n "zh-cn"\n ]\n }\n ]\n ]\n}\n '}]}function mp(){return[[],cp(".editorconfig","","\n# http://editorconfig.org\nroot = true\n\n[*]\nindent_style = space\nindent_size = 2\ncharset = utf-8\ntrim_trailing_whitespace = true\ninsert_final_newline = true\n\n[*.md]\ntrim_trailing_whitespace = false\n ")]}function fp(){return[[],cp(".eslintignore","","\n# 忽略目录\nbuild/\ntests/\ndemo/\n.ice/\n\n# node 覆盖率文件\ncoverage/\n\n# 忽略文件\n**/*-min.js\n**/*.min.js\n\npackage-lock.json\nyarn.lock\n ")]}function yp(){return[[],cp(".eslintrc","js","\nconst { eslint } = require('@ice/spec');\n\nmodule.exports = eslint;\n ")]}function gp(){return[[],cp(".gitignore","","\n# See https://help.github.com/ignore-files/ for more about ignoring files.\n\n# dependencies\nnode_modules/\n\n# production\nbuild/\ndist/\ntmp/\nlib/\n\n# misc\n.idea/\n.happypack\n.DS_Store\n*.swp\n*.dia~\n.ice\n\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\nindex.module.scss.d.ts\n ")]}function xp(){return[[],cp("jsconfig","json",'\n{\n "compilerOptions": {\n "baseUrl": ".",\n "jsx": "react",\n "paths": {\n "@/*": ["./src/*"],\n "ice": [".ice/index.ts"],\n "ice/*": [".ice/pages/*"]\n }\n }\n}\n ')]}function vp(){return[[],cp(".prettierignore","","\nbuild/\ntests/\ndemo/\n.ice/\ncoverage/\n**/*-min.js\n**/*.min.js\npackage-lock.json\nyarn.lock\n ")]}function bp(){return[[],cp(".prettierrc","js","\nconst { prettier } = require('@ice/spec');\n\nmodule.exports = prettier;\n ")]}function Ep(){return[[],cp("README","md","\n## Scaffold Lite\n\n> 轻量级模板,使用 JavaScript,仅包含基础的 Layout。\n\n## 使用\n\n```bash\n# 安装依赖\n$ npm install\n\n# 启动服务\n$ npm start # visit http://localhost:3333\n```\n\n[More docs](https://ice.work/docs/guide/about).\n\n## 目录\n\n```md\n├── build/ # 构建产物\n├── mock/ # 本地模拟数据\n│ ├── index.[j,t]s\n├── public/\n│ ├── index.html # 应用入口 HTML\n│ └── favicon.png # Favicon\n├── src/ # 源码路径\n│ ├── components/ # 自定义业务组件\n│ │ └── Guide/\n│ │ ├── index.[j,t]sx\n│ │ ├── index.module.scss\n│ ├── layouts/ # 布局组件\n│ │ └── BasicLayout/\n│ │ ├── index.[j,t]sx\n│ │ └── index.module.scss\n│ ├── pages/ # 页面\n│ │ └── Home/ # home 页面,约定路由转成小写\n│ │ ├── components/ # 页面级自定义业务组件\n│ │ ├── models.[j,t]sx # 页面级数据状态\n│ │ ├── index.[j,t]sx # 页面入口\n│ │ └── index.module.scss # 页面样式文件\n│ ├── configs/ # [可选] 配置文件\n│ │ └── menu.[j,t]s # [可选] 菜单配置\n│ ├── models/ # [可选] 应用级数据状态\n│ │ └── user.[j,t]s\n│ ├── utils/ # [可选] 工具库\n│ ├── global.scss # 全局样式\n│ ├── routes.[j,t]s # 路由配置\n│ └── app.[j,t]s[x] # 应用入口脚本\n├── build.json # 工程配置\n├── README.md\n├── package.json\n├── .editorconfig\n├── .eslintignore\n├── .eslintrc.[j,t]s\n├── .gitignore\n├── .stylelintignore\n├── .stylelintrc.[j,t]s\n├── .gitignore\n└── [j,t]sconfig.json\n```\n ")]}function Cp(){return[["src","layouts","BasicLayout","components","Footer"],cp("index","jsx","\nimport React from 'react';\nimport styles from './index.module.scss';\n\nexport default function Footer() {\n return (\n <p className={styles.footer}>\n <span className={styles.logo}>Alibaba Fusion</span>\n <br />\n <span className={styles.copyright}>© 2019-现在 Alibaba Fusion & ICE</span>\n </p>\n );\n}\n ")]}function Ap(){return[["src","layouts","BasicLayout","components","Footer"],cp("index","module.scss","\n.footer {\n line-height: 20px;\n text-align: center;\n}\n\n.logo {\n font-weight: bold;\n font-size: 16px;\n}\n\n.copyright {\n font-size: 12px;\n}\n ")]}function wp(){return[["src","layouts","BasicLayout","components","Logo"],cp("index","jsx","\nimport React from 'react';\nimport { Link } from 'ice';\nimport styles from './index.module.scss';\n\nexport default function Logo({ image, text, url }) {\n return (\n <div className=\"logo\">\n <Link to={url || '/'} className={styles.logo}>\n {image && <img src={image} alt=\"logo\" />}\n <span>{text}</span>\n </Link>\n </div>\n );\n}\n ")]}function Dp(){return[["src","layouts","BasicLayout","components","Logo"],cp("index","module.scss","\n.logo{\n display: flex;\n align-items: center;\n justify-content: center;\n color: $color-text1-1;\n font-weight: bold;\n font-size: 14px;\n line-height: 22px;\n\n &:visited, &:link {\n color: $color-text1-1;\n }\n\n img {\n height: 24px;\n margin-right: 10px;\n }\n}\n ")]}function Tp(){return[["src","layouts","BasicLayout","components","PageNav"],cp("index","jsx","\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { Link, withRouter } from 'ice';\nimport { Nav } from '@alifd/next';\nimport { asideMenuConfig } from '../../menuConfig';\n\nconst { SubNav } = Nav;\nconst NavItem = Nav.Item;\n\nfunction getNavMenuItems(menusData) {\n if (!menusData) {\n return [];\n }\n\n return menusData\n .filter(item => item.name && !item.hideInMenu)\n .map((item, index) => getSubMenuOrItem(item, index));\n}\n\nfunction getSubMenuOrItem(item, index) {\n if (item.children && item.children.some(child => child.name)) {\n const childrenItems = getNavMenuItems(item.children);\n\n if (childrenItems && childrenItems.length > 0) {\n const subNav = (\n <SubNav key={index} icon={item.icon} label={item.name}>\n {childrenItems}\n </SubNav>\n );\n return subNav;\n }\n\n return null;\n }\n\n const navItem = (\n <NavItem key={item.path} icon={item.icon}>\n <Link to={item.path}>{item.name}</Link>\n </NavItem>\n );\n return navItem;\n}\n\nconst Navigation = (props, context) => {\n const { location } = props;\n const { pathname } = location;\n const { isCollapse } = context;\n return (\n <Nav\n type=\"primary\"\n selectedKeys={[pathname]}\n defaultSelectedKeys={[pathname]}\n embeddable\n openMode=\"single\"\n iconOnly={isCollapse}\n hasArrow={false}\n mode={isCollapse ? 'popup' : 'inline'}\n >\n {getNavMenuItems(asideMenuConfig)}\n </Nav>\n );\n};\n\nNavigation.contextTypes = {\n isCollapse: PropTypes.bool,\n};\nconst PageNav = withRouter(Navigation);\nexport default PageNav;\n ")]}function Pp(){return[["src","layouts","BasicLayout"],cp("index","jsx","\nimport React, { useState } from 'react';\nimport { Shell, ConfigProvider } from '@alifd/next';\nimport PageNav from './components/PageNav';\nimport Logo from './components/Logo';\nimport Footer from './components/Footer';\n\n(function() {\n const throttle = function(type, name, obj = window) {\n let running = false;\n\n const func = () => {\n if (running) {\n return;\n }\n\n running = true;\n requestAnimationFrame(() => {\n obj.dispatchEvent(new CustomEvent(name));\n running = false;\n });\n };\n\n obj.addEventListener(type, func);\n };\n\n throttle('resize', 'optimizedResize');\n})();\n\nexport default function BasicLayout({ children }) {\n const getDevice = width => {\n const isPhone =\n typeof navigator !== 'undefined' && navigator && navigator.userAgent.match(/phone/gi);\n\n if (width < 680 || isPhone) {\n return 'phone';\n }\n if (width < 1280 && width > 680) {\n return 'tablet';\n }\n return 'desktop';\n };\n\n const [device, setDevice] = useState(getDevice(NaN));\n window.addEventListener('optimizedResize', e => {\n setDevice(getDevice(e && e.target && e.target.innerWidth));\n });\n return (\n <ConfigProvider device={device}>\n <Shell\n type=\"dark\"\n style={{\n minHeight: '100vh',\n }}\n >\n <Shell.Branding>\n <Logo\n image=\"https://img.alicdn.com/tfs/TB1.ZBecq67gK0jSZFHXXa9jVXa-904-826.png\"\n text=\"Logo\"\n />\n </Shell.Branding>\n <Shell.Navigation\n direction=\"hoz\"\n style={{\n marginRight: 10,\n }}\n ></Shell.Navigation>\n <Shell.Action></Shell.Action>\n <Shell.Navigation>\n <PageNav />\n </Shell.Navigation>\n\n <Shell.Content>{children}</Shell.Content>\n <Shell.Footer>\n <Footer />\n </Shell.Footer>\n </Shell>\n </ConfigProvider>\n );\n}\n ")]}function Sp(){return[["src","layouts","BasicLayout"],cp("menuConfig","js","\nconst headerMenuConfig = [];\nconst asideMenuConfig = [\n {\n name: 'Dashboard',\n path: '/',\n icon: 'smile',\n },\n];\nexport { headerMenuConfig, asideMenuConfig };\n ")]}function kp(){return[[],cp(".stylelintignore","","\n# 忽略目录\nbuild/\ntests/\ndemo/\n\n# node 覆盖率文件\ncoverage/\n ")]}function Np(){return[[],cp(".stylelintrc","js","\nconst { stylelint } = require('@ice/spec');\n\nmodule.exports = stylelint;\n ")]}function Fp(){return[[],cp("tsconfig","json",'\n{\n "compileOnSave": false,\n "buildOnSave": false,\n "compilerOptions": {\n "baseUrl": ".",\n "outDir": "build",\n "module": "esnext",\n "target": "es6",\n "jsx": "react",\n "moduleResolution": "node",\n "allowSyntheticDefaultImports": true,\n "lib": ["es6", "dom"],\n "sourceMap": true,\n "allowJs": true,\n "rootDir": "./",\n "forceConsistentCasingInFileNames": true,\n "noImplicitReturns": true,\n "noImplicitThis": true,\n "noImplicitAny": false,\n "importHelpers": true,\n "strictNullChecks": true,\n "suppressImplicitAnyIndexErrors": true,\n "noUnusedLocals": true,\n "skipLibCheck": true,\n "paths": {\n "@/*": ["./src/*"],\n "ice": [".ice/index.ts"],\n "ice/*": [".ice/pages/*"]\n }\n },\n "include": ["src/*", ".ice"],\n "exclude": ["node_modules", "build", "public"]\n}\n ')]}op.immutable,te((function(e){var t=e.exports,s=sc();t.define=ep,t.diff=tp,t.extend=Vo,t.pick=rp,t.typeOf=np,t.unique=op,t.isEmptyString=function(e){return""===String(e)||"./"===String(e)},t.isWindows=function(){return"\\"===D.default.sep||!0===s},t.last=function(e,t){return e[e.length-(t||1)]},t.instantiate=function(e,s){var r;return r="object"===t.typeOf(e)&&e.snapdragon?e.snapdragon:"object"===t.typeOf(s)&&s.snapdragon?s.snapdragon:new Kl(s),t.define(r,"parse",(function(e,s){var r=Kl.prototype.parse.call(this,e,s);r.input=e;var i=this.parser.stack.pop();if(i&&!0!==this.options.strictErrors){var n=i.nodes[0],a=i.nodes[1];if("bracket"===i.type)"["===a.val.charAt(0)&&(a.val="\\"+a.val);else{n.val="\\"+n.val;var o=n.parent.nodes[1];"star"===o.type&&(o.loose=!0)}}return t.define(r,"parser",this.parser),r})),r},t.createKey=function(e,t){if(void 0===t)return e;var s=e;for(var r in t)t.hasOwnProperty(r)&&(s+=";"+r+"="+String(t[r]));return s},t.arrayify=function(e){return"string"==typeof e?[e]:e?Array.isArray(e)?e:[e]:[]},t.isString=function(e){return"string"==typeof e},t.isRegex=function(e){return"regexp"===t.typeOf(e)},t.isObject=function(e){return"object"===t.typeOf(e)},t.escapeRegex=function(e){return e.replace(/[-[\]{}()^$|*+?.\\/\s]/g,"\\$&")},t.combineDupes=function(e,s){s=(s=t.arrayify(s).join("|").split("|")).map((function(e){return e.replace(/\\?([+*\\/])/g,"\\$1")}));var r=s.join("|"),i=new RegExp("("+r+")(?=\\1)","g");return e.replace(i,"")},t.hasSpecialChars=function(e){return/(?:(?:(^|\/)[!.])|[*?+()|[\]{}]|[+@]\()/.test(e)},t.toPosixPath=function(e){return e.replace(/\\+/g,"/")},t.unescape=function(e){return t.toPosixPath(e.replace(/\\(?=[*+?!.])/g,""))},t.stripDrive=function(e){return t.isWindows()?e.replace(/^[a-z]:[\\/]+?/i,"/"):e},t.stripPrefix=function(e){return"."!==e.charAt(0)||"/"!==e.charAt(1)&&"\\"!==e.charAt(1)?e:e.slice(2)},t.isSimpleChar=function(e){return""===e.trim()||"."===e},t.isSlash=function(e){return"/"===e||"\\/"===e||"\\"===e||"\\\\"===e},t.matchPath=function(e,s){return s&&s.contains?t.containsPattern(e,s):t.equalsPattern(e,s)},t._equals=function(e,t,s){return s===e||s===t},t._contains=function(e,t,s){return-1!==e.indexOf(s)||-1!==t.indexOf(s)},t.equalsPattern=function(e,s){var r=t.unixify(s);return s=s||{},function(i){var n=t._equals(i,r(i),e);if(!0===n||!0!==s.nocase)return n;var a=i.toLowerCase();return t._equals(a,r(a),e)}},t.containsPattern=function(e,s){var r=t.unixify(s);return s=s||{},function(i){var n=t._contains(i,r(i),e);if(!0===n||!0!==s.nocase)return n;var a=i.toLowerCase();return t._contains(a,r(a),e)}},t.matchBasename=function(e){return function(t){return e.test(t)||e.test(D.default.basename(t))}},t.identity=function(e){return e},t.value=function(e,t,s){return s&&!1===s.unixify?e:s&&"function"==typeof s.unixify?s.unixify(e):t(e)},t.unixify=function(e){var s=e||{};return function(e){return!1!==s.stripPrefix&&(e=t.stripPrefix(e)),!0===s.unescape&&(e=t.unescape(e)),(!0===s.unixify||t.isWindows())&&(e=t.toPosixPath(e)),e}}}));var Ip,_p={slots:{components:{path:["src","components"]},pages:{path:["src","pages"]},router:{path:["src"],fileName:"routes"},entry:{path:["src"],fileName:"app"},constants:{path:["src"],fileName:"constants"},utils:{path:["src"],fileName:"utils"},i18n:{path:["src"],fileName:"i18n"},globalStyle:{path:["src"],fileName:"global"},htmlEntry:{path:["public"],fileName:"index"},packageJSON:{path:[],fileName:"package"}},generateTemplate:function(){return void 0===e&&(e=up(".")),pp(e,Fp),pp(e,Np),pp(e,kp),pp(e,bp),pp(e,vp),pp(e,xp),pp(e,gp),pp(e,yp),pp(e,fp),pp(e,mp),pp(e,dp),pp(e,hp),pp(e,Ep),pp(e,Pp),pp(e,Sp),pp(e,Cp),pp(e,Ap),pp(e,wp),pp(e,Dp),pp(e,Tp),e;var e}},Op="CommonExternalDependencyImport",jp="CommonInternalDependencyImport",Bp="CommonImportAliasDefine",Lp="CommonFileScopeVarDefine",Mp="CommonFileScopeMethodDefine",Rp="CommonFileMainContent",Up="CommonFileExport",qp="CommonStyleDepsImport",zp="CommonStyleCssContent",$p="CommonHtmlContent",Hp="CommonCustomContent",Vp="CommonClassDefineStart",Gp="CommonClassDefineConstructorStart",Wp="CommonClassDefineConstructorContent",Jp="CommonClassDefineConstructorEnd",Xp="CommonClassDefineStaticVar",Kp="CommonClassDefineStaticMethod",Yp="CommonClassDefineInsVar",Qp="CommonClassDefineInsVarMethod",Zp="CommonClassDefineInsMethod",eh="CommonClassDefineInsPrivateMethod",th="CommonClassDefineEnd",sh=((Ip={})[Op]=[],Ip[jp]=[Op],Ip[Bp]=[Op,jp],Ip[Lp]=[Op,jp,Bp],Ip[Mp]=[Op,jp,Bp,Lp],Ip[Vp]=[Op,jp,Bp,Lp,Mp],Ip[Gp]=[Vp,Xp,Kp,Yp,Qp],Ip[Wp]=[Gp],Ip[Jp]=[Gp,Wp],Ip[Xp]=[Vp],Ip[Kp]=[Vp,Xp],Ip[Yp]=[Vp,Xp,Kp],Ip[Qp]=[Vp,Xp,Kp,Yp],Ip[Zp]=[Vp,Xp,Kp,Yp,Qp,Jp],Ip[eh]=[Vp,Xp,Kp,Yp,Qp,Zp,Jp],Ip[th]=[Vp,Xp,Kp,Yp,Qp,Zp,eh,Jp],Ip[Rp]=[Op,jp,Bp,Lp,Mp,th],Ip[Up]=[Op,jp,Bp,Lp,Mp,th,Rp],Ip[qp]=[],Ip[zp]=[qp],Ip[$p]=[],Ip),rh={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{"İ":"i",I:"ı","İ":"i"}},az:{regexp:/[\u0130]/g,map:{"İ":"i",I:"ı","İ":"i"}},lt:{regexp:/[\u0049\u004A\u012E\u00CC\u00CD\u0128]/g,map:{I:"i̇",J:"j̇","Į":"į̇","Ì":"i̇̀","Í":"i̇́","Ĩ":"i̇̃"}}},ih=function(e,t){var s=rh[t];return e=null==e?"":String(e),s&&(e=e.replace(s.regexp,(function(e){return s.map[e]}))),e.toLowerCase()},nh=/[^A-Za-z\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\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\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\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\u16F1-\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\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\u2183\u2184\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\u3006\u3031-\u3035\u303B\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-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\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-\uFFDC0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]+/g,ah=/([a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19])([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A])/g,oh=/([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A])([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A][a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A])/g,ch=function(e,t,s){if(null==e)return"";return s="string"!=typeof s?" ":s,e=String(e).replace(ah,"$1 $2").replace(oh,"$1 $2").replace(nh,(function(e,t,r){return 0===t||t===r.length-e.length?"":s})),ih(e,t)},uh=function(e,t){return ch(e,t,".")},lh={tr:{regexp:/[\u0069]/g,map:{i:"İ"}},az:{regexp:/[\u0069]/g,map:{i:"İ"}},lt:{regexp:/[\u0069\u006A\u012F]\u0307|\u0069\u0307[\u0300\u0301\u0303]/g,map:{"i̇":"I","j̇":"J","į̇":"Į","i̇̀":"Ì","i̇́":"Í","i̇̃":"Ĩ"}}},ph=function(e,t){var s=lh[t];return e=null==e?"":String(e),s&&(e=e.replace(s.regexp,(function(e){return s.map[e]}))),e.toUpperCase()},hh=function(e,t){if(null==e)return"";for(var s="",r=0;r<e.length;r++){var i=e[r],n=ph(i,t);s+=n===i?ih(i,t):n}return s},dh=function(e,t){return ch(e,t,"/")},mh=function(e,t,s){var r=ch(e,t);return s||(r=r.replace(/ (?=\d)/g,"_")),r.replace(/ (.)/g,(function(e,s){return ph(s,t)}))},fh=function(e,t){return ch(e,t,"_")},yh=function(e,t){return ch(e,t).replace(/^.| ./g,(function(e){return ph(e,t)}))},gh=function(e,t){return ch(e,t,"-")},xh=function(e,t){return ch(e,t,"-").replace(/^.|-./g,(function(e){return ph(e,t)}))},vh=function(e,t){return null==e?"":(e=String(e),ph(e.charAt(0),t)+e.substr(1))},bh=function(e,t,s){return vh(mh(e,t,s),t)},Eh=function(e,t){return ph(fh(e,t),t)},Ch=function(e,t){return vh(ch(e,t),t)},Ah=function(e,t){return ph(e,t)===e},wh=function(e,t){return ih(e,t)===e},Dh=function(e,t){return null==e?"":(e=String(e),ih(e.charAt(0),t)+e.substr(1))},Th=te((function(e,t){t.no=t.noCase=ch,t.dot=t.dotCase=uh,t.swap=t.swapCase=hh,t.path=t.pathCase=dh,t.upper=t.upperCase=ph,t.lower=t.lowerCase=ih,t.camel=t.camelCase=mh,t.snake=t.snakeCase=fh,t.title=t.titleCase=yh,t.param=t.paramCase=gh,t.kebab=t.kebabCase=t.paramCase,t.hyphen=t.hyphenCase=t.paramCase,t.header=t.headerCase=xh,t.pascal=t.pascalCase=bh,t.constant=t.constantCase=Eh,t.sentence=t.sentenceCase=Ch,t.isUpper=t.isUpperCase=Ah,t.isLower=t.isLowerCase=wh,t.ucFirst=t.upperCaseFirst=vh,t.lcFirst=t.lowerCaseFirst=Dh}));Th.no,Th.noCase,Th.dot,Th.dotCase,Th.swap,Th.swapCase,Th.path,Th.pathCase,Th.upper,Th.upperCase,Th.lower,Th.lowerCase,Th.camel,Th.camelCase,Th.snake,Th.snakeCase,Th.title;var Ph=Th.titleCase;Th.param;var Sh=Th.paramCase;Th.kebab,Th.kebabCase,Th.hyphen,Th.hyphenCase,Th.header,Th.headerCase,Th.pascal;var kh=Th.pascalCase;function Nh(e,t){var s;return void 0===t&&(t={}),J(((s={})[t.enginePackage||"@alilc/lowcode-datasource-engine"]=t.engineVersion||"latest",s),(e.dataSourcesTypes||[]).reduce((function(e,s){var r,i;return J(J({},e),((r={})[function(e){var s;return(null===(s=t.handlersPackages)||void 0===s?void 0:s[e])||"@alilc/lowcode-datasource-".concat(Th.kebab(e),"-handler")}(s)]=(null===(i=t.handlersVersion)||void 0===i?void 0:i[s])||"latest",r))}),{}))}Th.constant,Th.constantCase,Th.sentence,Th.sentenceCase,Th.isUpper,Th.isUpperCase,Th.isLower,Th.isLowerCase,Th.ucFirst,Th.upperCaseFirst,Th.lcFirst,Th.lowerCaseFirst;var Fh={template:_p,plugins:{entry:function(){return function(e){return X(void 0,void 0,void 0,(function(){var t;return K(this,(function(s){return(t=J({},e)).chunks.push({type:ua.STRING,fileType:ca.JS,name:Op,content:"\n import { createApp } from 'ice';\n ",linkAfter:[]}),t.chunks.push({type:ua.STRING,fileType:ca.JS,name:Rp,content:"\n const appConfig = {\n app: {\n rootId: 'app',\n },\n router: {\n type: 'hash',\n },\n };\n createApp(appConfig);\n ",linkAfter:[Op,jp,Bp,Lp,Mp]}),[2,t]}))}))}},entryHtml:function(){return function(e){return X(void 0,void 0,void 0,(function(){var t,s,r;return K(this,(function(i){return t=J({},e),s=t.ir,t.chunks.push({type:ua.STRING,fileType:ca.HTML,name:$p,content:'\n <!DOCTYPE html>\n <html>\n <head>\n <meta charset="utf-8" />\n <meta http-equiv="x-ua-compatible" content="ie=edge,chrome=1" />\n <meta name="viewport" content="width=device-width" />\n <title>'.concat((null===(r=null==s?void 0:s.meta)||void 0===r?void 0:r.name)||"Ice App",'</title>\n </head>\n <body>\n <div id="app"></div>\n </body>\n </html>\n '),linkAfter:[]}),[2,t]}))}))}},globalStyle:function(){return function(e){return X(void 0,void 0,void 0,(function(){var t,s;return K(this,(function(r){return t=J({},e),s=t.ir,t.chunks.push({type:ua.STRING,fileType:ca.SCSS,name:qp,content:"\n // 引入默认全局样式\n @import '@alifd/next/reset.scss';\n ",linkAfter:[]}),t.chunks.push({type:ua.STRING,fileType:ca.SCSS,name:zp,content:"\n body {\n -webkit-font-smoothing: antialiased;\n }\n ",linkAfter:[qp]}),t.chunks.push({type:ua.STRING,fileType:ca.SCSS,name:zp,content:s.css||"",linkAfter:[qp]}),[2,t]}))}))}},packageJSON:function(e){return function(t){return X(void 0,void 0,void 0,(function(){var s,r,i;return K(this,(function(n){return s=J({},t),r=s.ir,i={name:(null==e?void 0:e.packageName)||"icejs-demo-app",version:(null==e?void 0:e.packageVersion)||"0.1.5",description:"轻量级模板,使用 JavaScript,仅包含基础的 Layout。",dependencies:J({moment:"^2.24.0",react:"^16.4.1","react-dom":"^16.4.1","react-router":"^5.2.1","@alifd/theme-design-pro":"^0.x","intl-messageformat":"^9.3.6","@ice/store":"^1.4.3","@loadable/component":"^5.15.2"},Nh(r,null==e?void 0:e.datasourceConfig)),devDependencies:{"@ice/spec":"^1.0.0","build-plugin-fusion":"^0.1.0","build-plugin-moment-locales":"^0.1.0",eslint:"^6.0.1","ice.js":"^1.0.0",stylelint:"^13.2.0"},scripts:{start:"icejs start",build:"icejs build",lint:"npm run eslint && npm run stylelint",eslint:"eslint --cache --ext .js,.jsx ./",stylelint:"stylelint ./**/*.scss"},ideMode:{name:"ice-react"},iceworks:{type:"react",adapter:"adapter-react-v3"},engines:{node:">=8.0.0"},repository:{type:"git",url:"http://gitlab.xxx.com/msd/leak-scan/tree/master"},private:!0,originTemplate:"@alifd/scaffold-lite-js"},r.packages.forEach((function(e){i.dependencies[e.package]=e.version})),s.chunks.push({type:ua.JSON,fileType:ca.JSON,name:Rp,content:i,linkAfter:[]}),[2,s]}))}))}},router:function(){return function(e){return X(void 0,void 0,void 0,(function(){var t,s;return K(this,(function(r){return t=J({},e),s=t.ir,t.chunks.push({type:ua.STRING,fileType:ca.JS,name:jp,content:"\n import BasicLayout from '@/layouts/BasicLayout';\n ",linkAfter:[Op]}),t.chunks.push({type:ua.STRING,fileType:ca.JS,name:Lp,content:"\n const routerConfig = [\n {\n path: '/',\n component: BasicLayout,\n children: [\n ".concat(s.routes.map((function(e){return"\n {\n path: '".concat(e.path,"',\n component: ").concat(e.componentName,",\n }\n ")})).join(","),"\n ],\n },\n ];\n "),linkAfter:[Op,jp,Bp,Mp]}),t.chunks.push({type:ua.STRING,fileType:ca.JS,name:Up,content:"\n export default routerConfig;\n ",linkAfter:[Op,jp,Mp,Bp,Lp,Rp]}),[2,t]}))}))}}}},Ih=function(e){J({fileType:r.FileType.JSX},e);return function(e){return X(void 0,void 0,void 0,(function(){var t,s,r,i;return K(this,(function(n){return t=J({},e),s=t.ir,"JSModule"===(null===(r=s.methodsModule)||void 0===r?void 0:r.type)&&(null===(i=s.methodsModule)||void 0===i||i.source),[2,t]}))}))}};var _h="ReactComponentClassRenderStart",Oh="ReactComponentClassRenderPre",jh="ReactComponentClassRenderEnd",Bh="ReactComponentClassRenderJSX",Lh="ReactComponentClassDidMountStart",Mh="ReactComponentClassDidMountEnd",Rh="ReactComponentClassDidMountContent",Uh=function(e){var t=J(J({},e),{fileType:(null==e?void 0:e.fileType)||ca.JSX});return function(e){return X(void 0,void 0,void 0,(function(){var s,r,i,n,a,o;return K(this,(function(c){var u;return s=J({},e),r=fa.createRootScope(),u=e.ir,i="object"==typeof u&&u&&"string"==typeof u.componentName&&"string"==typeof u.fileName?e.ir.dataSource:null,n=i&&i.list||[],a={runtimeConfig:!0},n.length>0&&(o={},n.forEach((function(e){var s,r,i=e.type||"fetch";if(!(i in o)&&"custom"!==i){o[i]={type:"JSExpression",value:"requestHandle"+("urlParams"===i?"(window.location.search)":"()")},"create".concat(Th.pascal(i),"Handler"),(null===(r=null===(s=t.datasourceConfig)||void 0===s?void 0:s.handlersPackages)||void 0===r?void 0:r[i])||"@alilc/lowcode-datasource-".concat(Th.kebab(i),"-handler")}})),Object.assign(a,{requestHandlersMap:o}),s.chunks.push({type:ua.STRING,fileType:ca.JSX,name:Op,content:"\n import { requestHandle } from '@/utils/dataSource';\n ",linkAfter:[]}),s.chunks.push({type:ua.STRING,fileType:t.fileType,name:Yp,content:"\n _dataSourceConfig = this._defineDataSourceConfig();\n _dataSourceEngine = utils.dataSource(\n this._dataSourceConfig,\n this,\n ".concat(La(a,r),"\n );\n\n get dataSourceMap() {\n return this._dataSourceEngine.dataSourceMap || {};\n }\n\n reloadDataSource = async () => {\n await this._dataSourceEngine.reloadDataSource();\n }\n\n "),linkAfter:Q([],Y(sh[Yp]),!1)}),s.chunks.unshift({type:ua.STRING,fileType:t.fileType,name:Rh,content:"\n this._dataSourceEngine.reloadDataSource();\n ",linkAfter:[Lh]}),s.chunks.push({type:ua.STRING,fileType:t.fileType,name:Zp,content:"\n _defineDataSourceConfig() {\n const _this = this;\n return (".concat(La(J(J({},i),{list:Q([],Y(n.map((function(e){return J(J({},e),{isInit:qh(e.isInit,r),options:qh(e.options,r)})}))),!1)}),r,{handlers:{function:function(e){return Ca(e.value,"_this")},expression:function(e){return Ca(e.value,"_this")}}}),");\n }\n "),linkAfter:Q([],Y(sh[Zp]),!1)})),[2,s]}))}))}};function qh(e,t){return na(e)||aa(e)?{type:"JSExpression",value:"function(){ return ((".concat(e.value,"))}")}:{type:"JSExpression",value:"function(){return((".concat(La(e,t),"))}")}}var zh=function(){return function(e){return X(void 0,void 0,void 0,(function(){var t;return K(this,(function(s){return(t=J({},e)).chunks.push({type:ua.STRING,fileType:ca.JSX,name:Op,content:"import React from 'react';",linkAfter:[]}),[2,t]}))}))}},$h=function(e){return/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/.test(e)},Hh=function(e){var t=e.type;return function(e){return X(void 0,void 0,void 0,(function(){var s,r,i;return K(this,(function(n){var a;return s=J({},e),r=s.ir,a="".concat(Th.pascalCase(r.moduleName),"$Page"),i=$h(a)?a:"$".concat(a.replace(/[^_$a-zA-Z0-9]/g,"")),s.chunks.push({type:ua.STRING,fileType:ca.JSX,name:Vp,content:"class ".concat(i," extends React.Component").concat("web"===t?"":"<any, any>"," {"),linkAfter:[Op,jp,Bp,Lp,Mp]}),s.chunks.push({type:ua.STRING,fileType:ca.JSX,name:th,content:"}",linkAfter:Q(Q([],Y(sh[th]),!1),[jh,Mh],!1)}),s.chunks.push({type:ua.STRING,fileType:ca.JSX,name:Gp,content:"constructor(props, context) { super(props); ",linkAfter:Q([],Y(sh[Gp]),!1)}),s.chunks.push({type:ua.STRING,fileType:ca.JSX,name:Jp,content:"}",linkAfter:Q([],Y(sh[Jp]),!1)}),s.chunks.push({type:ua.STRING,fileType:ca.JSX,name:Lh,content:"componentDidMount() {",linkAfter:Q([],Y(sh[th]),!1)}),s.chunks.push({type:ua.STRING,fileType:ca.JSX,name:Mh,content:"}",linkAfter:[Rh,Lh]}),s.chunks.push({type:ua.STRING,fileType:ca.JSX,name:_h,content:"render() {",linkAfter:Q(Q([],Y(sh[th]),!1),[Mh],!1)}),s.chunks.push({type:ua.STRING,fileType:ca.JSX,name:jh,content:"}",linkAfter:[_h,Oh,Bh]}),s.chunks.push({type:ua.STRING,fileType:ca.JSX,name:Up,content:"export default ".concat(i,";"),linkAfter:[Op,jp,Bp,Lp,Mp,th]}),[2,s]}))}))}},Vh=function(e){var t=J({fileType:ca.JSX},e);return function(s){return X(void 0,void 0,void 0,(function(){var r,i,n,a;return K(this,(function(o){return r=J({},s),i=r.ir,r.contextData.useRefApi=!0,n=!!(null===(a=i.analyzeResult)||void 0===a?void 0:a.isUsingRef),r.chunks.push({type:ua.STRING,fileType:t.fileType,name:jp,content:"\n import ".concat("vite"===e.solution?"":"* as ","utils from '@/utils';\n "),linkAfter:[Op]}),r.chunks.push({type:ua.STRING,fileType:t.fileType,name:jp,content:"\n import constants from '@/utils/constants';\n ",linkAfter:[Op]}),r.chunks.push({type:ua.STRING,fileType:t.fileType,name:Zp,content:'utils = Object.assign({ getRoute: utils.createRoute("'.concat(i.moduleName,'") }, utils);'),linkAfter:[Jp]}),r.chunks.push({type:ua.STRING,fileType:t.fileType,name:Zp,content:"constants = constants;",linkAfter:[Jp]}),n?(r.chunks.push({type:ua.STRING,fileType:t.fileType,name:Zp,content:"_refsManager = new RefsManager();",linkAfter:Q([],Y(sh[Zp]),!1)}),r.chunks.push({type:ua.STRING,fileType:t.fileType,name:Zp,content:"\n $ = (refName) => {\n return this._refsManager.get(refName);\n }\n ",linkAfter:Q([],Y(sh[Zp]),!1)}),r.chunks.push({type:ua.STRING,fileType:t.fileType,name:Zp,content:"\n $$ = (refName) => {\n return this._refsManager.getAll(refName);\n }\n ",linkAfter:Q([],Y(sh[Zp]),!1)})):(r.chunks.push({type:ua.STRING,fileType:t.fileType,name:Zp,content:" $ = () => null; ",linkAfter:Q([],Y(sh[Zp]),!1)}),r.chunks.push({type:ua.STRING,fileType:t.fileType,name:Zp,content:" $$ = () => []; ",linkAfter:Q([],Y(sh[Zp]),!1)})),[2,r]}))}))}},Gh=function(e){var t=J({fileType:ca.JSX},e);return function(e){return X(void 0,void 0,void 0,(function(){var s,r,i,n,a,o;return K(this,(function(c){return s=J({},e),r=s.ir,i=s.contextData.inStrictMode,r.methods?(n=r.methods,a=Object.keys(n).map((function(e){var s=Da(n[e],{name:e,isMember:!0});return s=(s=s.slice(0,10).includes("async")?(s=s.replace("async ","")).replace("("," = async ("):s.replace("("," = (")).replace(")",") =>"),{type:ua.STRING,fileType:t.fileType,name:Zp,content:s,linkAfter:Q([],Y(sh[Zp]),!1)}})),(o=s.chunks).push.apply(o,Q([],Y(a),!1)),i&&s.chunks.push({type:ua.STRING,fileType:t.fileType,name:Wp,content:Object.keys(r.methods).map((function(e){return $h(e)?".".concat(e):"[".concat(JSON.stringify(e),"]")})).map((function(e){return"this._context".concat(e," = this").concat(e,";")})).join("\n"),linkAfter:Q([],Y(sh[Wp]),!1)}),[2,s]):[2,s]}))}))}},Wh=["lib","lib/index","es","es/index","main"],Jh="__default__";function Xh(e){return e.destructuring?e.exportName||e.componentName||Kh("destructuring dependency must have exportName or componentName"):e.subName?e.exportName||"__$".concat(g.camelCase(g.get(e,"moduleName")||g.get(e,"package")||Kh("dep.moduleName or dep.package is undefined")),"_default"):e.componentName||e.exportName||Kh("dependency item must have componentName or exportName")}function Kh(e){throw new Error(e)}var Yh=function(e){var t=J({fileType:ca.JS,useAliasName:!0},e||{});return function(e){return X(void 0,void 0,void 0,(function(){var s,r,i;return K(this,(function(n){var a,o,c;return s=J({},e),(r=s.ir)&&r.deps&&r.deps.length>0&&(a=r.deps,o={},c=function(e,t){o[e]||(o[e]=[]),o[e].push(t)},a.forEach((function(e){if(e.dependencyType===ha.Internal)c("".concat(e.moduleName).concat(e.main?"/".concat(e.main):""),e);else{var t="";e.main&&Wh.indexOf(e.main)<0&&(t=e.main),"/"===t.substring(0,1)&&(t=t.substring(1)),c("".concat(e.package).concat(t?"/".concat(t):""),e)}})),i=o,Object.keys(i).forEach((function(e){var r,n=function(e,t,s,r){if(!e||"undefined"===e||"null"===e)return[];var i=[],n={},a=[],o=t.map((function(e){var t={exportName:Xh(e),isDefault:!e.destructuring,subName:e.subName||void 0,nodeIdentifier:e.componentName||void 0,source:e};return t.isDefault&&a.indexOf(t.exportName)<0&&a.push(t.exportName),t.subName?(t.isDefault&&(t.aliasName=t.exportName,t.exportName=Jh),t.nodeIdentifier==="".concat(t.exportName,".").concat(t.subName)&&(t.nodeIdentifier=void 0)):(t.nodeIdentifier===t.exportName&&(t.nodeIdentifier=void 0),t.isDefault&&(t.aliasName=t.nodeIdentifier||t.exportName,t.exportName=Jh),t.nodeIdentifier&&(t.aliasName=t.nodeIdentifier,t.nodeIdentifier=void 0)),t}));o.forEach((function(e){n[e.exportName]||(n[e.exportName]={exportName:e.exportName,isDefault:e.isDefault,aliasNames:[],needOriginExport:!1}),e.nodeIdentifier||e.aliasName||(n[e.exportName].needOriginExport=!0)})),o.forEach((function(e){if(e.aliasName){var t=n[e.exportName].aliasNames;t.indexOf(e.aliasName)<0&&t.push(e.aliasName)}})),o.forEach((function(e){if(e.nodeIdentifier){var t=n[e.exportName];!t.needOriginExport&&t.aliasNames.length>0&&(e.aliasName=t.aliasNames[0])}}));var c=o.map((function(e){return e.nodeIdentifier})).filter(Boolean),u=g.flatMap(Object.keys(n),(function(e){var t=n[e],s=Q(Q([],Y(t.aliasNames),!1),Y(t.needOriginExport||t.aliasNames.length<=0?[e]:[]),!1).filter((function(e){return c.indexOf(e)>=0}));return s.length>0?Q(Q([],Y(s.indexOf(e)>=0?[[e,!0,t]]:[]),!1),Y(s.filter((function(t){return t!==e})).map((function(e){return[e,!1,t]}))),!1):[]})),l=u.filter((function(e){return e[1]})).map((function(e){return e[0]})),p=u.filter((function(e){return!e[1]})).map((function(e){return e[0]})),h={};o.forEach((function(e){var t,s;(e.aliasName&&p.indexOf(e.aliasName)>=0&&((t=h[e.aliasName])||(t="".concat(e.aliasName,"Alias"),(s=(u.find((function(t){return t[0]===e.aliasName}))||[])[2]).aliasNames=s.aliasNames.filter((function(t){return t!==e.aliasName})),s.aliasNames.push(t),h[e.aliasName]=t),e.aliasName=t),l.indexOf(e.exportName)>=0)&&((t=h[e.exportName])||(t="".concat(e.exportName,"Export"),(s=(u.find((function(t){return t[0]===e.exportName}))||[])[2]).aliasNames.push(t),s.needOriginExport=!1,h[e.exportName]=t),e.aliasName=t)})),o.forEach((function(e){var t=e.aliasName||e.exportName;if(!$h(t))throw new ga("Invalid Identifier [".concat(t,"]"));if(e.nodeIdentifier&&!$h(e.nodeIdentifier))throw new ga("Invalid Identifier [".concat(e.nodeIdentifier,"]"))}));var d={};function m(e){return e.isDefault?a[0]:e.exportName}r&&Object.keys(n).forEach((function(e){var t,s=(null===(t=n[e])||void 0===t?void 0:t.aliasNames)||[];if(s.length>0){var r=n[e].needOriginExport?e:s[0];(n[e].needOriginExport?s:s.slice(1)).forEach((function(e){d[e]||(d[e]="const ".concat(e," = ").concat(r,";"))}))}})),o.forEach((function(e){if(e.nodeIdentifier){var t=function(e){return e.aliasName||e.exportName}(e);i.push({type:ua.STRING,fileType:s,name:Bp,content:r?"const ".concat(e.nodeIdentifier," = ").concat(t,".").concat(e.subName,";"):"",linkAfter:[Op,jp],ext:{originalName:"".concat(m(e),".").concat(e.subName),aliasName:e.nodeIdentifier,dependency:e.source}})}else if(e.aliasName){if(e.isDefault&&a.find((function(t){return t===e.aliasName})))return void delete d[e.aliasName];var n="";d[e.aliasName]&&(n=d[e.aliasName],delete d[e.aliasName]),i.push({type:ua.STRING,fileType:s,name:Bp,content:n,linkAfter:[Op,jp],ext:{originalName:m(e),aliasName:e.aliasName,dependency:e.source}})}})),Object.keys(d).forEach((function(e){i.push({type:ua.STRING,fileType:s,name:Bp,content:d[e],linkAfter:[Op,jp]})}));var f=Object.keys(n).map((function(e){return n[e]})),y=f.filter((function(e){return e.isDefault})),x=f.filter((function(e){return!e.isDefault})),v=["import"];if(y.length>0&&(r?v.push(a[0]):v.push(y[0].aliasNames[0]),x.length>0&&v.push(", ")),x.length>0){var b=x.map((function(e){return!r||e.needOriginExport||e.aliasNames.length<=0?e.exportName:"".concat(e.exportName," as ").concat(e.aliasNames[0])}));v.push("{ ".concat(b.join(", ")," }"))}v.push("from");var E=function(){return"@/".concat(t[0].type,"/").concat(e)};return t[0].dependencyType===ha.Internal?(v.push("'".concat(E(),"';")),i.push({type:ua.STRING,fileType:s,name:jp,content:v.join(" "),linkAfter:[Op]})):(v.push("'".concat(e,"';")),i.push({type:ua.STRING,fileType:s,name:Op,content:v.join(" "),linkAfter:[]})),a.length>1&&(t[0].dependencyType===ha.Internal?a.slice(1).forEach((function(e){i.push({type:ua.STRING,fileType:s,name:jp,content:"import ".concat(e," from '").concat(E(),"';"),linkAfter:[Op]})})):a.slice(1).forEach((function(t){i.push({type:ua.STRING,fileType:s,name:Op,content:"import ".concat(t," from '").concat(e,"';"),linkAfter:[]}),i.push({type:ua.STRING,fileType:s,name:Bp,content:"",linkAfter:[],ext:{aliasName:t,originalName:t,dependency:{package:e,componentName:t}}})}))),i}(e,i[e],t.fileType,t.useAliasName);(r=s.chunks).push.apply(r,Q([],Y(n),!1))}))),[2,s]}))}))}};for(var Qh=0;Qh<256;++Qh)(Qh+256).toString(16).substr(1);function Zh(e){return Function('"use strict";return ('.concat(e,")"))()}var ed=new RegExp("[".concat("\n\r'\"<>&".split("").map((function(e){return"\\x".concat(z.default.padStart(e.charCodeAt(0).toString(16),2,"0"))})).join(""),"]"),"g");function td(e){return e.replace(ed,(function(e){return"&#".concat(e.charCodeAt(0),";")}))}function sd(e,t,s){var r,i=(void 0===s?{}:s).ignoreRootScope;return void 0!==i&&i&&null==t.parent?"string"==typeof e?e:Wn(e).code:Ca(e,"_this",(null===(r=t.bindings)||void 0===r?void 0:r.getAllBindings())||[])}function rd(e){return"'"===e[0]&&"'"===e[e.length-1]||'"'===e[0]&&'"'===e[e.length-1]}function id(e,t,s){var r=La(e.attrValue,t,{handlers:null==s?void 0:s.handlers,nodeGenerator:null==s?void 0:s.self});return[{type:ya.ATTR,name:e.attrName,value:r}]}function nd(e,t,s,r){return((null==r?void 0:r.attrPlugins)?Sa({attrName:e,attrValue:t},s,r.attrPlugins,id,r):id({attrName:e,attrValue:t},s,r)).map((function(e){var t;if(e.value&&rd(e.value)){var s=Zh(e.value);t=JSON.stringify(td(s))}else t="{".concat(e.value,"}");return{value:"".concat(e.name,"=").concat(t),type:ya.ATTR}}))}function ad(e,t,s){var r=function(e,t,s){var r=[],i=((null==s?void 0:s.tagMapping)||z.default.identity)(e.componentName);return r.push({value:i||"",type:ya.TAG}),r}(e,0,s)||[],i=function(e,t,s){var r=e.props,i=[];return r&&(Array.isArray(r)?r.forEach((function(e){e.name&&!e.spread&&(i=i.concat(nd(e.name,e.value,t,s)))})):Object.keys(r).forEach((function(e){i=i.concat(nd(e,r[e],t,s))}))),i}(e,t,s)||[],n=[];if(e.children&&(null==s?void 0:s.self)){var a=s.self(e.children,t);n.push({type:ya.CHILDREN,value:a})}return Q(Q(Q([],Y(r),!1),Y(i),!1),Y(n),!1)}function od(e,t,s){var r=[];if(null==s?void 0:s.nodePlugins){var i=Sa(e,t,s.nodePlugins,ad,s);r.push.apply(r,Q([],Y(i),!1))}else r.push.apply(r,Q([],Y(ad(e,t,s)),!1));return function(e){var t=e.filter((function(e){return e.type===ya.TAG}));if(1!==t.length)throw new ga("One node only need one tag define");var s=t[0].value,r=e.filter((function(e){return e.type===ya.BEFORE})).map((function(e){return e.value})).join(""),i=e.filter((function(e){return e.type===ya.AFTER})).map((function(e){return e.value})).join(""),n=e.filter((function(e){return e.type===ya.CHILDREN})).map((function(e){return e.value})).join(""),a=e.filter((function(e){return e.type===ya.ATTR})).map((function(e){return e.value})).join(" ");return a=a?" ".concat(a):"",n?"".concat(r,"<").concat(s).concat(a,">").concat(n,"</").concat(s,">").concat(i):"".concat(r,"<").concat(s).concat(a," />").concat(i)}(r)}var cd=function(e){return e.join("")};var ud={nodePlugins:[function(e,t,s,r){var i=r?r(e,t,s):[];return(null!=e.condition&&!0!==e.condition||null!=e.loop)&&(i.unshift({value:"{",type:ya.BEFORE}),i.push({value:"}",type:ya.AFTER})),i},function(e,t,s,r){var i,n,a;if(e.loop){var o=null===(i=null==s?void 0:s.tolerateEvalErrors)||void 0===i||i,c=(null===(n=e.loopArgs)||void 0===n?void 0:n[0])||"item",u=(null===(a=e.loopArgs)||void 0===a?void 0:a[1])||"index",l=t.createSubScope([c,u]),p=r?r(e,l,s):[],h=function(e,t,s,r,i,n,a,o,c){switch(arguments.length){case 1:return e;case 2:return t(e);case 3:return s(t(e));case 4:return r(s(t(e)));case 5:return i(r(s(t(e))));case 6:return n(i(r(s(t(e)))));case 7:return a(n(i(r(s(t(e))))));case 8:return o(a(n(i(r(s(t(e)))))));case 9:return c(o(a(n(i(r(s(t(e))))))));default:for(var u=arguments[0],l=1;l<arguments.length;l++)u=arguments[l](u);return u}}(e.loop,(function(e){return La(e,t,{handlers:null==s?void 0:s.handlers,tolerateEvalErrors:!1})}),(function(e){return sd(e,t,{ignoreRootScope:!0})}),(function(e){return o?"$evalArray(() => (".concat(e,"))"):e}));return p.unshift({value:"(".concat(h,").map((").concat(c,", ").concat(u,") => ((_this) => ("),type:ya.BEFORE}),p.push({value:"))($createChildContext(_this, { ".concat(c,", ").concat(u," })))"),type:ya.AFTER}),p}return r?r(e,t,s):[]},function(e,t,s,r){var i=r?r(e,t,s):[];if(null!=e.condition&&!0!==e.condition){var n=La(e.condition,t,{handlers:null==s?void 0:s.handlers});i.unshift({value:"!!(".concat(n,") && ("),type:ya.BEFORE}),i.push({value:")",type:ya.AFTER})}return i}]};function ld(e){var t=function(e,t){var s,r,i,n;void 0===t&&(t={});var a={};return(e.handlers||t.handlers)&&(a.handlers=J(J({},e.handlers||{}),t.handlers||{})),(e.tagMapping||t.tagMapping)&&(a.tagMapping=t.tagMapping||e.tagMapping),(e.attrPlugins||t.attrPlugins)&&(a.attrPlugins=[],(s=a.attrPlugins).push.apply(s,Q([],Y(t.attrPlugins||[]),!1)),(r=a.attrPlugins).push.apply(r,Q([],Y(e.attrPlugins||[]),!1))),(e.nodePlugins||t.nodePlugins)&&(a.nodePlugins=[],(i=a.nodePlugins).push.apply(i,Q([],Y(t.nodePlugins||[]),!1)),(n=a.nodePlugins).push.apply(n,Q([],Y(e.nodePlugins||[]),!1))),a}(ud,e);return function(e){void 0===e&&(e={});var t=function(s,r){if(z.default.isArray(s)){var i=s.map((function(e){return t(e,r)}));return cd(i)}if(function(e){return e&&e.componentName}(s))return od(s,r,J(J({},e),{self:t}));var n=La(s,r,{handlers:e.handlers,nodeGenerator:t});return rd(n)?td(Zh(n)):"{".concat(n,"}")};return function(e,s){return Ta(t(e,s))}}(t)}function pd(e,t,s){var r=void 0===s?{}:s,i=r.dontWrapEval,n=void 0!==i&&i,a=r.dontTransformThis2ContextAtRootScope,o=void 0!==a&&a;if(!e)return"undefined";if(function(e){return"null"===e||"undefined"===e||"true"===e||"false"===e||/^-?\d+(\.\d+)?$/.test(e)}(e))return e;var c=function(e){try{return xi(e)}catch(t){throw new xa(e,t)}}(e);if(function(e){switch(e.type){case"BigIntLiteral":case"BooleanLiteral":case"DecimalLiteral":case"NullLiteral":case"NumericLiteral":case"RegExpLiteral":case"StringLiteral":return!0;default:return!1}}(c))return e;if(n)return sd(c,t,{ignoreRootScope:o});switch(c.type){case"ArrowFunctionExpression":case"FunctionExpression":return sd(c,t,{ignoreRootScope:o})}return"$eval(() => (".concat(sd(c,t,{ignoreRootScope:o}),"))")}var hd=function(e){var t=J({fileType:ca.JSX,nodeTypeMapping:{}},e),s=t.nodeTypeMapping;return function(e){return X(void 0,void 0,void 0,(function(){var r,i,n,a,o,c,u,l,p,h,d,m;return K(this,(function(f){return r=J({},e),i=r.contextData,n=i.tolerateEvalErrors,a=void 0===n||n,o=i.evalErrorsHandler,c=void 0===o?"":o,u={expression:function(e,t,s){var r;return pd(wa(e,t),t,{dontWrapEval:!(null!==(r=null==s?void 0:s.tolerateEvalErrors)&&void 0!==r?r:a),dontTransformThis2ContextAtRootScope:!0})},function:function(e,t){return sd(La({type:"JSFunction",value:e.value||"null"},fa.createRootScope()),t,{ignoreRootScope:!0})}},l={handlers:u,tagMapping:function(e){return s[e]||e},tolerateEvalErrors:a},r.contextData.useRefApi&&(l.attrPlugins=[function(e,t,s,r){return"ref"===e.attrName?[{name:e.attrName,value:"this._refsManager.linkRef('".concat(e.attrValue,"')"),type:ya.ATTR}]:r?r(e,t,s):[]}]),p=ld(l),h=r.ir,d=fa.createRootScope(),m=p(h,d),r.chunks.push({type:ua.STRING,fileType:t.fileType,name:Bh,content:"\n const _this = this;\n return ".concat(m,";\n "),linkAfter:[_h,Oh]}),r.chunks.push({type:ua.STRING,fileType:t.fileType,name:Hp,content:[a&&"\n function __$$eval(expr) {\n try {\n return expr();\n } catch (error) { \n ".concat(c,"\n }\n }\n\n function __$$evalArray(expr) {\n const res = __$$eval(expr);\n return Array.isArray(res) ? res : [];\n }\n "),"\n function __$$createChildContext(oldContext, ext) {\n const childContext = {\n ...oldContext,\n ...ext,\n };\n childContext.__proto__ = oldContext;\n return childContext;\n }\n "].filter(Boolean).join("\n"),linkAfter:[Up]}),[2,r]}))}))}},dd=te((function(e,t){e.exports=function(){var e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),t=e(((e,t)=>{var s=function(e){return e&&e.Math==Math&&e};t.exports=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof Z&&Z)||function(){return this}()||Function("return this")()})),s=e(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),r=e(((e,t)=>{var r=s();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),i=e(((e,t)=>{var r=s();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),n=e(((e,t)=>{var s=i(),r=Function.prototype.call;t.exports=s?r.bind(r):function(){return r.apply(r,arguments)}})),a=e((e=>{var t={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,r=s&&!t.call({1:2},1);e.f=r?function(e){var t=s(this,e);return!!t&&t.enumerable}:t})),o=e(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),c=e(((e,t)=>{var s=i(),r=Function.prototype,n=r.bind,a=r.call,o=s&&n.bind(a,a);t.exports=s?function(e){return e&&o(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}})),u=e(((e,t)=>{var s=c(),r=s({}.toString),i=s("".slice);t.exports=function(e){return i(r(e),8,-1)}})),l=e(((e,r)=>{var i=t(),n=c(),a=s(),o=u(),l=i.Object,p=n("".split);r.exports=a((function(){return!l("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?p(e,""):l(e)}:l})),p=e(((e,s)=>{var r=t().TypeError;s.exports=function(e){if(null==e)throw r("Can't call method on "+e);return e}})),h=e(((e,t)=>{var s=l(),r=p();t.exports=function(e){return s(r(e))}})),d=e(((e,t)=>{t.exports=function(e){return"function"==typeof e}})),m=e(((e,t)=>{var s=d();t.exports=function(e){return"object"==typeof e?null!==e:s(e)}})),f=e(((e,s)=>{var r=t(),i=d(),n=function(e){return i(e)?e:void 0};s.exports=function(e,t){return arguments.length<2?n(r[e]):r[e]&&r[e][t]}})),y=e(((e,t)=>{var s=c();t.exports=s({}.isPrototypeOf)})),g=e(((e,t)=>{var s=f();t.exports=s("navigator","userAgent")||""})),x=e(((e,s)=>{var r,i,n=t(),a=g(),o=n.process,c=n.Deno,u=o&&o.versions||c&&c.version,l=u&&u.v8;l&&(i=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),s.exports=i})),v=e(((e,t)=>{var r=x(),i=s();t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),b=e(((e,t)=>{var s=v();t.exports=s&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),E=e(((e,s)=>{var r=t(),i=f(),n=d(),a=y(),o=b(),c=r.Object;s.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return n(t)&&a(t.prototype,c(e))}})),C=e(((e,s)=>{var r=t().String;s.exports=function(e){try{return r(e)}catch{return"Object"}}})),A=e(((e,s)=>{var r=t(),i=d(),n=C(),a=r.TypeError;s.exports=function(e){if(i(e))return e;throw a(n(e)+" is not a function")}})),w=e(((e,t)=>{var s=A();t.exports=function(e,t){var r=e[t];return null==r?void 0:s(r)}})),D=e(((e,s)=>{var r=t(),i=n(),a=d(),o=m(),c=r.TypeError;s.exports=function(e,t){var s,r;if("string"===t&&a(s=e.toString)&&!o(r=i(s,e))||a(s=e.valueOf)&&!o(r=i(s,e))||"string"!==t&&a(s=e.toString)&&!o(r=i(s,e)))return r;throw c("Can't convert object to primitive value")}})),T=e(((e,t)=>{t.exports=!1})),P=e(((e,s)=>{var r=t(),i=Object.defineProperty;s.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch{r[e]=t}return t}})),S=e(((e,s)=>{var r=t(),i=P(),n="__core-js_shared__",a=r[n]||i(n,{});s.exports=a})),k=e(((e,t)=>{var s=T(),r=S();(t.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.2",mode:s?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})})),N=e(((e,s)=>{var r=t(),i=p(),n=r.Object;s.exports=function(e){return n(i(e))}})),F=e(((e,t)=>{var s=c(),r=N(),i=s({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(r(e),t)}})),I=e(((e,t)=>{var s=c(),r=0,i=Math.random(),n=s(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+n(++r+i,36)}})),_=e(((e,s)=>{var r=t(),i=k(),n=F(),a=I(),o=v(),c=b(),u=i("wks"),l=r.Symbol,p=l&&l.for,h=c?l:l&&l.withoutSetter||a;s.exports=function(e){if(!n(u,e)||!o&&"string"!=typeof u[e]){var t="Symbol."+e;o&&n(l,e)?u[e]=l[e]:u[e]=c&&p?p(t):h(t)}return u[e]}})),O=e(((e,s)=>{var r=t(),i=n(),a=m(),o=E(),c=w(),u=D(),l=_(),p=r.TypeError,h=l("toPrimitive");s.exports=function(e,t){if(!a(e)||o(e))return e;var s,r=c(e,h);if(r){if(void 0===t&&(t="default"),s=i(r,e,t),!a(s)||o(s))return s;throw p("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}})),j=e(((e,t)=>{var s=O(),r=E();t.exports=function(e){var t=s(e,"string");return r(t)?t:t+""}})),B=e(((e,s)=>{var r=t(),i=m(),n=r.document,a=i(n)&&i(n.createElement);s.exports=function(e){return a?n.createElement(e):{}}})),L=e(((e,t)=>{var i=r(),n=s(),a=B();t.exports=!i&&!n((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))})),M=e((e=>{var t=r(),s=n(),i=a(),c=o(),u=h(),l=j(),p=F(),d=L(),m=Object.getOwnPropertyDescriptor;e.f=t?m:function(e,t){if(e=u(e),t=l(t),d)try{return m(e,t)}catch{}if(p(e,t))return c(!s(i.f,e,t),e[t])}})),R=e(((e,t)=>{var i=r(),n=s();t.exports=i&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),U=e(((e,s)=>{var r=t(),i=m(),n=r.String,a=r.TypeError;s.exports=function(e){if(i(e))return e;throw a(n(e)+" is not an object")}})),q=e((e=>{var s=t(),i=r(),n=L(),a=R(),o=U(),c=j(),u=s.TypeError,l=Object.defineProperty,p=Object.getOwnPropertyDescriptor,h="enumerable",d="configurable",m="writable";e.f=i?a?function(e,t,s){if(o(e),t=c(t),o(s),"function"==typeof e&&"prototype"===t&&"value"in s&&m in s&&!s[m]){var r=p(e,t);r&&r[m]&&(e[t]=s.value,s={configurable:d in s?s[d]:r[d],enumerable:h in s?s[h]:r[h],writable:!1})}return l(e,t,s)}:l:function(e,t,s){if(o(e),t=c(t),o(s),n)try{return l(e,t,s)}catch{}if("get"in s||"set"in s)throw u("Accessors not supported");return"value"in s&&(e[t]=s.value),e}})),z=e(((e,t)=>{var s=r(),i=q(),n=o();t.exports=s?function(e,t,s){return i.f(e,t,n(1,s))}:function(e,t,s){return e[t]=s,e}})),$=e(((e,t)=>{var s=c(),r=d(),i=S(),n=s(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return n(e)}),t.exports=i.inspectSource})),H=e(((e,s)=>{var r=t(),i=d(),n=$(),a=r.WeakMap;s.exports=i(a)&&/native code/.test(n(a))})),V=e(((e,t)=>{var s=k(),r=I(),i=s("keys");t.exports=function(e){return i[e]||(i[e]=r(e))}})),G=e(((e,t)=>{t.exports={}})),W=e(((e,s)=>{var r,i,n,a,o,u,l,p,h=H(),d=t(),f=c(),y=m(),g=z(),x=F(),v=S(),b=V(),E=G(),C="Object already initialized",A=d.TypeError,w=d.WeakMap,D=function(e){return n(e)?i(e):r(e,{})},T=function(e){return function(t){var s;if(!y(t)||(s=i(t)).type!==e)throw A("Incompatible receiver, "+e+" required");return s}};h||v.state?(a=v.state||(v.state=new w),o=f(a.get),u=f(a.has),l=f(a.set),r=function(e,t){if(u(a,e))throw new A(C);return t.facade=e,l(a,e,t),t},i=function(e){return o(a,e)||{}},n=function(e){return u(a,e)}):(E[p=b("state")]=!0,r=function(e,t){if(x(e,p))throw new A(C);return t.facade=e,g(e,p,t),t},i=function(e){return x(e,p)?e[p]:{}},n=function(e){return x(e,p)}),s.exports={set:r,get:i,has:n,enforce:D,getterFor:T}})),J=e(((e,t)=>{var s=r(),i=F(),n=Function.prototype,a=s&&Object.getOwnPropertyDescriptor,o=i(n,"name"),c=o&&"something"===function(){}.name,u=o&&(!s||s&&a(n,"name").configurable);t.exports={EXISTS:o,PROPER:c,CONFIGURABLE:u}})),X=e(((e,s)=>{var r=t(),i=d(),n=F(),a=z(),o=P(),c=$(),u=W(),l=J().CONFIGURABLE,p=u.get,h=u.enforce,m=String(String).split("String");(s.exports=function(e,t,s,c){var u,p=!!c&&!!c.unsafe,d=!!c&&!!c.enumerable,f=!!c&&!!c.noTargetGet,y=c&&void 0!==c.name?c.name:t;i(s)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!n(s,"name")||l&&s.name!==y)&&a(s,"name",y),(u=h(s)).source||(u.source=m.join("string"==typeof y?y:""))),e!==r?(p?!f&&e[t]&&(d=!0):delete e[t],d?e[t]=s:a(e,t,s)):d?e[t]=s:o(t,s)})(Function.prototype,"toString",(function(){return i(this)&&p(this).source||c(this)}))})),K=e(((e,t)=>{var s=Math.ceil,r=Math.floor;t.exports=function(e){var t=+e;return t!=t||0===t?0:(t>0?r:s)(t)}})),Y=e(((e,t)=>{var s=K(),r=Math.max,i=Math.min;t.exports=function(e,t){var n=s(e);return n<0?r(n+t,0):i(n,t)}})),Q=e(((e,t)=>{var s=K(),r=Math.min;t.exports=function(e){return e>0?r(s(e),9007199254740991):0}})),ee=e(((e,t)=>{var s=Q();t.exports=function(e){return s(e.length)}})),te=e(((e,t)=>{var s=h(),r=Y(),i=ee(),n=function(e){return function(t,n,a){var o,c=s(t),u=i(c),l=r(a,u);if(e&&n!=n){for(;u>l;)if((o=c[l++])!=o)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};t.exports={includes:n(!0),indexOf:n(!1)}})),se=e(((e,t)=>{var s=c(),r=F(),i=h(),n=te().indexOf,a=G(),o=s([].push);t.exports=function(e,t){var s,c=i(e),u=0,l=[];for(s in c)!r(a,s)&&r(c,s)&&o(l,s);for(;t.length>u;)r(c,s=t[u++])&&(~n(l,s)||o(l,s));return l}})),re=e(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),ie=e((e=>{var t=se(),s=re().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,s)}})),ne=e((e=>{e.f=Object.getOwnPropertySymbols})),ae=e(((e,t)=>{var s=f(),r=c(),i=ie(),n=ne(),a=U(),o=r([].concat);t.exports=s("Reflect","ownKeys")||function(e){var t=i.f(a(e)),s=n.f;return s?o(t,s(e)):t}})),oe=e(((e,t)=>{var s=F(),r=ae(),i=M(),n=q();t.exports=function(e,t,a){for(var o=r(t),c=n.f,u=i.f,l=0;l<o.length;l++){var p=o[l];!s(e,p)&&(!a||!s(a,p))&&c(e,p,u(t,p))}}})),ce=e(((e,t)=>{var r=s(),i=d(),n=/#|\.prototype\./,a=function(e,t){var s=c[o(e)];return s==l||s!=u&&(i(t)?r(t):!!t)},o=a.normalize=function(e){return String(e).replace(n,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a})),ue=e(((e,s)=>{var r=t(),i=M().f,n=z(),a=X(),o=P(),c=oe(),u=ce();s.exports=function(e,t){var s,l,p,h,d,m=e.target,f=e.global,y=e.stat;if(s=f?r:y?r[m]||o(m,{}):(r[m]||{}).prototype)for(l in t){if(h=t[l],p=e.noTargetGet?(d=i(s,l))&&d.value:s[l],!u(f?l:m+(y?".":"#")+l,e.forced)&&void 0!==p){if(typeof h==typeof p)continue;c(h,p)}(e.sham||p&&p.sham)&&n(h,"sham",!0),a(s,l,h,e)}}})),le=e((()=>{ue()({global:!0},{globalThis:t()})})),pe=e((()=>{le()})),he=e(((e,t)=>{var s=u();t.exports=Array.isArray||function(e){return"Array"==s(e)}})),de=e(((e,t)=>{var s=c(),r=A(),n=i(),a=s(s.bind);t.exports=function(e,t){return r(e),void 0===t?e:n?a(e,t):function(){return e.apply(t,arguments)}}})),me=e(((e,s)=>{var r=t(),i=he(),n=ee(),a=de(),o=r.TypeError,c=function(e,t,s,r,u,l,p,h){for(var d,m,f=u,y=0,g=!!p&&a(p,h);y<r;){if(y in s){if(d=g?g(s[y],y,t):s[y],l>0&&i(d))m=n(d),f=c(e,t,d,m,f,l-1)-1;else{if(f>=9007199254740991)throw o("Exceed the acceptable array length");e[f]=d}f++}y++}return f};s.exports=c})),fe=e(((e,t)=>{var s={};s[_()("toStringTag")]="z",t.exports="[object z]"===String(s)})),ye=e(((e,s)=>{var r=t(),i=fe(),n=d(),a=u(),o=_()("toStringTag"),c=r.Object,l="Arguments"==a(function(){return arguments}()),p=function(e,t){try{return e[t]}catch{}};s.exports=i?a:function(e){var t,s,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(s=p(t=c(e),o))?s:l?a(t):"Object"==(r=a(t))&&n(t.callee)?"Arguments":r}})),ge=e(((e,t)=>{var r=c(),i=s(),n=d(),a=ye(),o=f(),u=$(),l=function(){},p=[],h=o("Reflect","construct"),m=/^\s*(?:class|function)\b/,y=r(m.exec),g=!m.exec(l),x=function(e){if(!n(e))return!1;try{return h(l,p,e),!0}catch{return!1}},v=function(e){if(!n(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return g||!!y(m,u(e))}catch{return!0}};v.sham=!0,t.exports=!h||i((function(){var e;return x(x.call)||!x(Object)||!x((function(){e=!0}))||e}))?v:x})),xe=e(((e,s)=>{var r=t(),i=he(),n=ge(),a=m(),o=_()("species"),c=r.Array;s.exports=function(e){var t;return i(e)&&(t=e.constructor,(n(t)&&(t===c||i(t.prototype))||a(t)&&null===(t=t[o]))&&(t=void 0)),void 0===t?c:t}})),ve=e(((e,t)=>{var s=xe();t.exports=function(e,t){return new(s(e))(0===t?0:t)}})),be=e((()=>{var e=ue(),t=me(),s=A(),r=N(),i=ee(),n=ve();e({target:"Array",proto:!0},{flatMap:function(e){var a,o=r(this),c=i(o);return s(e),(a=n(o,0)).length=t(a,o,o,c,0,1,e,arguments.length>1?arguments[1]:void 0),a}})})),Ee=e(((e,t)=>{var s,r,i,n,a;function o(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}pe(),be();var c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,h=(e,t)=>function(){return e&&(t=(0,e[l(e)[0]])(e=0)),t},d=(e,t)=>function(){return t||(0,e[l(e)[0]])((t={exports:{}}).exports,t),t.exports},m=(e,t)=>{for(var s in t)c(e,s,{get:t[s],enumerable:!0})},f=(e,t,s,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of l(t))!p.call(e,i)&&i!==s&&c(e,i,{get:()=>t[i],enumerable:!(r=u(t,i))||r.enumerable});return e},y=e=>f(c({},"__esModule",{value:!0}),e),g=h({"<define:process>"(){}}),x=d({"src/utils/try-combinations.js"(e,t){function s(){let e;for(var t=arguments.length,s=new Array(t),r=0;r<t;r++)s[r]=arguments[r];for(let[t,r]of s.entries())try{return{result:r()}}catch(s){0===t&&(e=s)}return{error:e}}g(),t.exports=s}}),v=d({"src/language-js/utils/get-shebang.js"(e,t){function s(e){if(!e.startsWith("#!"))return"";let t=e.indexOf("\n");return-1===t?e:e.slice(0,t)}g(),t.exports=s}}),b=d({"src/utils/text/skip-inline-comment.js"(e,t){function s(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let s=t+2;s<e.length;++s)if("*"===e.charAt(s)&&"/"===e.charAt(s+1))return s+2;return t}g(),t.exports=s}}),E=d({"src/utils/text/skip-newline.js"(e,t){function s(e,t,s){let r=s&&s.backwards;if(!1===t)return!1;let i=e.charAt(t);if(r){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t}g(),t.exports=s}}),C=d({"src/utils/text/skip.js"(e,t){function s(e){return(t,s,r)=>{let i=r&&r.backwards;if(!1===s)return!1;let{length:n}=t,a=s;for(;a>=0&&a<n;){let s=t.charAt(a);if(e instanceof RegExp){if(!e.test(s))return a}else if(!e.includes(s))return a;i?a--:a++}return(-1===a||a===n)&&a}}g();var r=s(/\s/),i=s(" \t"),n=s(",; \t"),a=s(/[^\n\r]/);t.exports={skipWhitespace:r,skipSpaces:i,skipToLineEnd:n,skipEverythingButNewLine:a}}}),A=d({"src/utils/text/skip-trailing-comment.js"(e,t){g();var{skipEverythingButNewLine:s}=C();function r(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?s(e,t):t)}t.exports=r}}),w=d({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){g();var s=b(),r=E(),i=A(),{skipSpaces:n}=C();function a(e,t){let a=null,o=t;for(;o!==a;)a=o,o=n(e,o),o=s(e,o),o=i(e,o),o=r(e,o);return o}t.exports=a}}),D={};function T(){if(typeof U>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),s=new Uint16Array(e);if(t[0]=1,t[1]=2,258===s[0])U="BE";else{if(513!==s[0])throw new Error("unable to figure out endianess");U="LE"}}return U}function P(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function S(){return[]}function k(){return 0}function N(){return Number.MAX_VALUE}function F(){return Number.MAX_VALUE}function I(){return[]}function _(){return"Browser"}function O(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function j(){}function B(){}function L(){return"javascript"}function M(){return"browser"}function R(){return"/tmp"}m(D,{EOL:()=>z,arch:()=>L,cpus:()=>I,default:()=>$,endianness:()=>T,freemem:()=>N,getNetworkInterfaces:()=>B,hostname:()=>P,loadavg:()=>S,networkInterfaces:()=>j,platform:()=>M,release:()=>O,tmpDir:()=>R,tmpdir:()=>q,totalmem:()=>F,type:()=>_,uptime:()=>k});var U,q,z,$,H=h({"node-modules-polyfills:os"(){g(),$={EOL:z="\n",tmpdir:q=R,tmpDir:R,networkInterfaces:j,getNetworkInterfaces:B,release:O,type:_,cpus:I,totalmem:F,freemem:N,uptime:k,loadavg:S,hostname:P,endianness:T}}}),V=d({"node-modules-polyfills-commonjs:os"(e,t){g();var s=(H(),y(D));if(s&&s.default){t.exports=s.default;for(let e in s)t.exports[e]=s[e]}else s&&(t.exports=s)}}),G=d({"node_modules/detect-newline/index.js"(e,t){g();var s=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let s=t.filter((e=>"\r\n"===e)).length;return s>t.length-s?"\r\n":"\n"};t.exports=s,t.exports.graceful=e=>"string"==typeof e&&s(e)||"\n"}}),W=d({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=V();return t=function(){return e},e}function s(){let e=r(G());return s=function(){return e},e}function r(e){return e&&e.__esModule?e:{default:e}}g(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=d,e.parse=f,e.parseWithComments=y,e.print=x,e.strip=m;var i=/\*\/$/,n=/^\/\*\*/,a=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,o=/(^|\s+)\/\/([^\r\n]*)/g,c=/^(\r?\n)+/,u=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,l=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,p=/(\r?\n|^) *\* ?/g,h=[];function d(e){let t=e.match(a);return t?t[0].trimLeft():""}function m(e){let t=e.match(a);return t&&t[0]?e.substring(t[0].length):e}function f(e){return y(e).pragmas}function y(e){let r=(0,s().default)(e)||t().EOL;e=e.replace(n,"").replace(i,"").replace(p,"$1");let a="";for(;a!==e;)a=e,e=e.replace(u,"".concat(r,"$1 $2").concat(r));e=e.replace(c,"").trimRight();let d,m=Object.create(null),f=e.replace(l,"").replace(c,"").trimRight();for(;d=l.exec(e);){let e=d[2].replace(o,"");"string"==typeof m[d[1]]||Array.isArray(m[d[1]])?m[d[1]]=h.concat(m[d[1]],e):m[d[1]]=e}return{comments:f,pragmas:m}}function x(e){let{comments:r="",pragmas:i={}}=e,n=(0,s().default)(r)||t().EOL,a="/**",o=" *",c=" */",u=Object.keys(i),l=u.map((e=>v(e,i[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>o+" "+e+n)).join("");if(!r){if(0===u.length)return"";if(1===u.length&&!Array.isArray(i[u[0]])){let e=i[u[0]];return"".concat(a," ").concat(v(u[0],e)[0]).concat(c)}}let p=r.split(n).map((e=>"".concat(o," ").concat(e))).join(n)+n;return a+n+(r?p:"")+(r&&u.length?o+n:"")+l+c}function v(e,t){return h.concat(t).map((t=>"@".concat(e," ").concat(t).trim()))}}}),J=d({"src/common/end-of-line.js"(e,t){function s(e){let t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"}function r(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}}function i(e,t){let s;switch(t){case"\n":s=/\n/g;break;case"\r":s=/\r/g;break;case"\r\n":s=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."))}let r=e.match(s);return r?r.length:0}function n(e){return e.replace(/\r\n?/g,"\n")}g(),t.exports={guessEndOfLine:s,convertEndOfLineToChars:r,countEndOfLineChars:i,normalizeEndOfLine:n}}}),X=d({"src/language-js/pragma.js"(e,t){g();var{parseWithComments:s,strip:r,extract:i,print:n}=W(),{normalizeEndOfLine:a}=J(),o=v();function c(e){let t=o(e);t&&(e=e.slice(t.length+1));let r=i(e),{pragmas:n,comments:a}=s(r);return{shebang:t,text:e,pragmas:n,comments:a}}function u(e){let t=Object.keys(c(e).pragmas);return t.includes("prettier")||t.includes("format")}function l(e){let{shebang:t,text:s,pragmas:i,comments:o}=c(e),u=r(s),l=n({pragmas:Object.assign({format:""},i),comments:o.trimStart()});return(t?"".concat(t,"\n"):"")+a(l)+(u.startsWith("\n")?"\n":"\n\n")+u}t.exports={hasPragma:u,insertPragma:l}}}),K=d({"src/utils/is-non-empty-array.js"(e,t){function s(e){return Array.isArray(e)&&e.length>0}g(),t.exports=s}}),Y=d({"src/language-js/loc.js"(e,t){g();var s=K();function r(e,t){let{ignoreDecorators:i}=t||{};if(!i){let t=e.declaration&&e.declaration.decorators||e.decorators;if(s(t))return r(t[0])}return e.range?e.range[0]:e.start}function i(e){return e.range?e.range[1]:e.end}function n(e,t){let s=r(e);return Number.isInteger(s)&&s===r(t)}function a(e,t){let s=i(e);return Number.isInteger(s)&&s===i(t)}function o(e,t){return n(e,t)&&a(e,t)}t.exports={locStart:r,locEnd:i,hasSameLocStart:n,hasSameLoc:o}}}),Q=d({"src/language-js/parse/utils/create-parser.js"(e,t){g();var{hasPragma:s}=X(),{locStart:r,locEnd:i}=Y();function n(e){return e="function"==typeof e?{parse:e}:e,Object.assign({astFormat:"estree",hasPragma:s,locStart:r,locEnd:i},e)}t.exports=n}}),Z=d({"src/common/parser-create-error.js"(e,t){function s(e,t){let s=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return s.loc=t,s}g(),t.exports=s}}),ee=d({"src/language-js/parse/utils/create-babel-parse-error.js"(e,t){g();var s=Z();function r(e){let{message:t,loc:r}=e;return s(t.replace(/ \(.*\)/,""),{start:{line:r?r.line:0,column:r?r.column+1:0}})}t.exports=r}}),te=d({"src/language-js/utils/is-ts-keyword-type.js"(e,t){function s(e){let{type:t}=e;return t.startsWith("TS")&&t.endsWith("Keyword")}g(),t.exports=s}}),se=d({"src/language-js/utils/is-block-comment.js"(e,t){g();var s=new Set(["Block","CommentBlock","MultiLine"]),r=e=>s.has(null==e?void 0:e.type);t.exports=r}}),re=d({"src/language-js/utils/is-type-cast-comment.js"(e,t){g();var s=se();function r(e){return s(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}t.exports=r}}),ie=d({"src/utils/get-last.js"(e,t){g();var s=e=>e[e.length-1];t.exports=s}}),ne=d({"src/language-js/parse/postprocess/visit-node.js"(e,t){function s(e,t){if(Array.isArray(e)){for(let r=0;r<e.length;r++)e[r]=s(e[r],t);return e}if(e&&"object"==typeof e&&"string"==typeof e.type){let r=Object.keys(e);for(let i=0;i<r.length;i++)e[r[i]]=s(e[r[i]],t);return t(e)||e}return e}g(),t.exports=s}}),ae=d({"src/language-js/parse/postprocess/throw-syntax-error.js"(e,t){g();var s=Z();function r(e,t){let{start:r,end:i}=e.loc;throw s(t,{start:{line:r.line,column:r.column+1},end:{line:i.line,column:i.column+1}})}t.exports=r}}),oe=d({"src/language-js/parse/postprocess/typescript.js"(e,t){g();var s=ne(),r=ae();function i(e,t,s){let i=e.decorators;if(!Array.isArray(i))return;let n=t.decorators;(!Array.isArray(n)||n.length!==i.length||i.some((e=>{let t=s.get(e);return!t||!n.includes(t)})))&&r(t,"Leading decorators must be attached to a class declaration")}function n(e,t){167!==e.kind||e.modifiers&&!e.modifiers.some((e=>126===e.kind))||e.initializer&&null===t.value&&r(t,"Abstract property cannot have an initializer")}function a(e,t){let{esTreeNodeToTSNodeMap:r,tsNodeToESTreeNodeMap:a}=t.tsParseResult;s(e,(e=>{let t=r.get(e);if(!t)return;let s=a.get(t);s===e&&(i(t,s,a),n(t,s))}))}t.exports={throwErrorForInvalidNodes:a}}}),ce=d({"src/language-js/parse/postprocess/index.js"(e,t){g();var{locStart:s,locEnd:r}=Y(),i=te(),n=re(),a=ie(),o=ne(),{throwErrorForInvalidNodes:c}=oe(),u=ae();function l(e,t){if("typescript"===t.parser&&/@|abstract/.test(t.originalText)&&c(e,t),"typescript"!==t.parser&&"flow"!==t.parser&&"acorn"!==t.parser&&"espree"!==t.parser&&"meriyah"!==t.parser){let t=new Set;e=o(e,(e=>{e.leadingComments&&e.leadingComments.some(n)&&t.add(s(e))})),e=o(e,(e=>{if("ParenthesizedExpression"===e.type){let{expression:r}=e;if("TypeCastExpression"===r.type)return r.range=e.range,r;let i=s(e);if(!t.has(i))return r.extra=Object.assign(Object.assign({},r.extra),{},{parenthesized:!0}),r}}))}return e=o(e,(e=>{switch(e.type){case"ChainExpression":return p(e.expression);case"LogicalExpression":if(h(e))return d(e);break;case"VariableDeclaration":{let t=a(e.declarations);t&&t.init&&l(e,t);break}case"TSParenthesizedType":return i(e.typeAnnotation)||"TSThisType"===e.typeAnnotation.type||(e.typeAnnotation.range=[s(e),r(e)]),e.typeAnnotation;case"TSTypeParameter":if("string"==typeof e.name){let t=s(e);e.name={type:"Identifier",name:e.name,range:[t,t+e.name.length]}}break;case"ObjectExpression":if("typescript"===t.parser){let t=e.properties.find((e=>"Property"===e.type&&"TSEmptyBodyFunctionExpression"===e.value.type));t&&u(t.value,"Unexpected token.")}break;case"SequenceExpression":{let t=a(e.expressions);e.range=[s(e),Math.min(r(t),r(e))];break}case"TopicReference":t.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:i}=e;if("meriyah"===t.parser&&i&&"Identifier"===i.type){let n=t.originalText.slice(s(i),r(i));(n.startsWith('"')||n.startsWith("'"))&&(e.exported=Object.assign(Object.assign({},e.exported),{},{type:"Literal",value:e.exported.name,raw:n}))}break}}}));function l(e,i){";"!==t.originalText[r(i)]&&(e.range=[s(e),r(i)])}}function p(e){switch(e.type){case"CallExpression":e.type="OptionalCallExpression",e.callee=p(e.callee);break;case"MemberExpression":e.type="OptionalMemberExpression",e.object=p(e.object);break;case"TSNonNullExpression":e.expression=p(e.expression)}return e}function h(e){return"LogicalExpression"===e.type&&"LogicalExpression"===e.right.type&&e.operator===e.right.operator}function d(e){return h(e)?d({type:"LogicalExpression",operator:e.operator,left:d({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[s(e.left),r(e.right.left)]}),right:e.right.right,range:[s(e),r(e)]}):e}t.exports=l}}),ue=d({"node_modules/@babel/parser/lib/index.js"(e){function t(e,t){if(null==e)return{};var s,r,i={},n=Object.keys(e);for(r=0;r<n.length;r++)s=n[r],!(t.indexOf(s)>=0)&&(i[s]=e[s]);return i}g(),Object.defineProperty(e,"__esModule",{value:!0});var c=class{constructor(e,t,s){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=t,this.index=s}},u=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 l(e,t){let{line:s,column:r,index:i}=e;return new c(s,r+t,i+t)}var p=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"}),h=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length-1;return{get(){return e.reduce(((e,t)=>e[t]),this)},set(s){e.reduce(((e,r,i)=>i===t?e[r]=s:e[r]),this)}}},d=(e,t,s)=>Object.keys(s).map((e=>[e,s[e]])).filter((e=>{let[,t]=e;return!!t})).map((e=>{let[t,s]=e;return[t,"function"==typeof s?{value:s,enumerable:!1}:"string"==typeof s.reflect?Object.assign({},s,h(s.reflect.split("."))):s]})).reduce(((e,t)=>{let[s,r]=t;return Object.defineProperty(e,s,Object.assign({configurable:!0},r))}),Object.assign(new e,t)),m=e=>({ImportMetaOutsideModule:e("import.meta may appear only with 'sourceType: \"module\"'",{code:p.SourceTypeModuleError}),ImportOutsideModule:e("'import' and 'export' may appear only with 'sourceType: \"module\"'",{code:p.SourceTypeModuleError})}),f={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},y=e=>{let{type:t,prefix:s}=e;return"UpdateExpression"===t?f.UpdateExpression[String(s)]:f[t]},x=e=>({AccessorIsGenerator:e((e=>{let{kind:t}=e;return"A ".concat(t,"ter cannot be a generator.")})),ArgumentsInClass:e("'arguments' is only allowed in functions and class methods."),AsyncFunctionInSingleStatementContext:e("Async functions can only be declared at the top level or inside a block."),AwaitBindingIdentifier:e("Can not use 'await' as identifier inside an async function."),AwaitBindingIdentifierInStaticBlock:e("Can not use 'await' as identifier inside a static block."),AwaitExpressionFormalParameter:e("'await' is not allowed in async function parameters."),AwaitNotInAsyncContext:e("'await' is only allowed within async functions and at the top levels of modules."),AwaitNotInAsyncFunction:e("'await' is only allowed within async functions."),BadGetterArity:e("A 'get' accesor must not have any formal parameters."),BadSetterArity:e("A 'set' accesor must have exactly one formal parameter."),BadSetterRestParameter:e("A 'set' accesor function argument must not be a rest parameter."),ConstructorClassField:e("Classes may not have a field named 'constructor'."),ConstructorClassPrivateField:e("Classes may not have a private field named '#constructor'."),ConstructorIsAccessor:e("Class constructor may not be an accessor."),ConstructorIsAsync:e("Constructor can't be an async function."),ConstructorIsGenerator:e("Constructor can't be a generator."),DeclarationMissingInitializer:e((e=>{let{kind:t}=e;return"Missing initializer in ".concat(t," declaration.")})),DecoratorBeforeExport:e("Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax."),DecoratorConstructor:e("Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?"),DecoratorExportClass:e("Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead."),DecoratorSemicolon:e("Decorators must not be followed by a semicolon."),DecoratorStaticBlock:e("Decorators can't be used with a static block."),DeletePrivateField:e("Deleting a private field is not allowed."),DestructureNamedImport:e("ES2015 named imports do not destructure. Use another statement for destructuring after the import."),DuplicateConstructor:e("Duplicate constructor in the same class."),DuplicateDefaultExport:e("Only one default export allowed per module."),DuplicateExport:e((e=>{let{exportName:t}=e;return"`".concat(t,"` has already been exported. Exported identifiers must be unique.")})),DuplicateProto:e("Redefinition of __proto__ property."),DuplicateRegExpFlags:e("Duplicate regular expression flag."),ElementAfterRest:e("Rest element must be last element."),EscapedCharNotAnIdentifier:e("Invalid Unicode escape."),ExportBindingIsString:e((e=>{let{localName:t,exportName:s}=e;return"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '".concat(t,"' as '").concat(s,"' } from 'some-module'`?")})),ExportDefaultFromAsIdentifier:e("'from' is not allowed as an identifier after 'export default'."),ForInOfLoopInitializer:e((e=>{let{type:t}=e;return"'".concat("ForInStatement"===t?"for-in":"for-of","' loop variable declaration may not have an initializer.")})),ForOfAsync:e("The left-hand side of a for-of loop may not be 'async'."),ForOfLet:e("The left-hand side of a for-of loop may not start with 'let'."),GeneratorInSingleStatementContext:e("Generators can only be declared at the top level or inside a block."),IllegalBreakContinue:e((e=>{let{type:t}=e;return"Unsyntactic ".concat("BreakStatement"===t?"break":"continue",".")})),IllegalLanguageModeDirective:e("Illegal 'use strict' directive in function with non-simple parameter list."),IllegalReturn:e("'return' outside of function."),ImportBindingIsString:e((e=>{let{importName:t}=e;return'A string literal cannot be used as an imported binding.\n- Did you mean `import { "'.concat(t,'" as foo }`?')})),ImportCallArgumentTrailingComma:e("Trailing comma is disallowed inside import(...) arguments."),ImportCallArity:e((e=>{let{maxArgumentCount:t}=e;return"`import()` requires exactly ".concat(1===t?"one argument":"one or two arguments",".")})),ImportCallNotNewExpression:e("Cannot use new with import(...)."),ImportCallSpreadArgument:e("`...` is not allowed in `import()`."),IncompatibleRegExpUVFlags:e("The 'u' and 'v' regular expression flags cannot be enabled at the same time."),InvalidBigIntLiteral:e("Invalid BigIntLiteral."),InvalidCodePoint:e("Code point out of bounds."),InvalidCoverInitializedName:e("Invalid shorthand property initializer."),InvalidDecimal:e("Invalid decimal."),InvalidDigit:e((e=>{let{radix:t}=e;return"Expected number in radix ".concat(t,".")})),InvalidEscapeSequence:e("Bad character escape sequence."),InvalidEscapeSequenceTemplate:e("Invalid escape sequence in template."),InvalidEscapedReservedWord:e((e=>{let{reservedWord:t}=e;return"Escape sequence in keyword ".concat(t,".")})),InvalidIdentifier:e((e=>{let{identifierName:t}=e;return"Invalid identifier ".concat(t,".")})),InvalidLhs:e((e=>{let{ancestor:t}=e;return"Invalid left-hand side in ".concat(y(t),".")})),InvalidLhsBinding:e((e=>{let{ancestor:t}=e;return"Binding invalid left-hand side in ".concat(y(t),".")})),InvalidNumber:e("Invalid number."),InvalidOrMissingExponent:e("Floating-point numbers require a valid exponent after the 'e'."),InvalidOrUnexpectedToken:e((e=>{let{unexpected:t}=e;return"Unexpected character '".concat(t,"'.")})),InvalidParenthesizedAssignment:e("Invalid parenthesized assignment pattern."),InvalidPrivateFieldResolution:e((e=>{let{identifierName:t}=e;return"Private name #".concat(t," is not defined.")})),InvalidPropertyBindingPattern:e("Binding member expression."),InvalidRecordProperty:e("Only properties and spread elements are allowed in record definitions."),InvalidRestAssignmentPattern:e("Invalid rest operator's argument."),LabelRedeclaration:e((e=>{let{labelName:t}=e;return"Label '".concat(t,"' is already declared.")})),LetInLexicalBinding:e("'let' is not allowed to be used as a name in 'let' or 'const' declarations."),LineTerminatorBeforeArrow:e("No line break is allowed before '=>'."),MalformedRegExpFlags:e("Invalid regular expression flag."),MissingClassName:e("A class name is required."),MissingEqInAssignment:e("Only '=' operator can be used for specifying default value."),MissingSemicolon:e("Missing semicolon."),MissingPlugin:e((e=>{let{missingPlugin:t}=e;return"This experimental syntax requires enabling the parser plugin: ".concat(t.map((e=>JSON.stringify(e))).join(", "),".")})),MissingOneOfPlugins:e((e=>{let{missingPlugin:t}=e;return"This experimental syntax requires enabling one of the following parser plugin(s): ".concat(t.map((e=>JSON.stringify(e))).join(", "),".")})),MissingUnicodeEscape:e("Expecting Unicode escape sequence \\uXXXX."),MixingCoalesceWithLogical:e("Nullish coalescing operator(??) requires parens when mixing with logical operators."),ModuleAttributeDifferentFromType:e("The only accepted module attribute is `type`."),ModuleAttributeInvalidValue:e("Only string literals are allowed as module attribute values."),ModuleAttributesWithDuplicateKeys:e((e=>{let{key:t}=e;return'Duplicate key "'.concat(t,'" is not allowed in module attributes.')})),ModuleExportNameHasLoneSurrogate:e((e=>{let{surrogateCharCode:t}=e;return"An export name cannot include a lone surrogate, found '\\u".concat(t.toString(16),"'.")})),ModuleExportUndefined:e((e=>{let{localName:t}=e;return"Export '".concat(t,"' is not defined.")})),MultipleDefaultsInSwitch:e("Multiple default clauses."),NewlineAfterThrow:e("Illegal newline after throw."),NoCatchOrFinally:e("Missing catch or finally clause."),NumberIdentifier:e("Identifier directly after number."),NumericSeparatorInEscapeSequence:e("Numeric separators are not allowed inside unicode escape sequences or hex escape sequences."),ObsoleteAwaitStar:e("'await*' has been removed from the async functions proposal. Use Promise.all() instead."),OptionalChainingNoNew:e("Constructors in/after an Optional Chain are not allowed."),OptionalChainingNoTemplate:e("Tagged Template Literals are not allowed in optionalChain."),OverrideOnConstructor:e("'override' modifier cannot appear on a constructor declaration."),ParamDupe:e("Argument name clash."),PatternHasAccessor:e("Object pattern can't contain getter or setter."),PatternHasMethod:e("Object pattern can't contain methods."),PrivateInExpectedIn:e((e=>{let{identifierName:t}=e;return"Private names are only allowed in property accesses (`obj.#".concat(t,"`) or in `in` expressions (`#").concat(t," in obj`).")})),PrivateNameRedeclaration:e((e=>{let{identifierName:t}=e;return"Duplicate private name #".concat(t,".")})),RecordExpressionBarIncorrectEndSyntaxType:e("Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),RecordExpressionBarIncorrectStartSyntaxType:e("Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),RecordExpressionHashIncorrectStartSyntaxType:e("Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."),RecordNoProto:e("'__proto__' is not allowed in Record expressions."),RestTrailingComma:e("Unexpected trailing comma after rest element."),SloppyFunction:e("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:e("Classes may not have static property named prototype."),SuperNotAllowed:e("`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:e("Private fields can't be accessed on super."),TrailingDecorator:e("Decorators must be attached to a class element."),TupleExpressionBarIncorrectEndSyntaxType:e("Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),TupleExpressionBarIncorrectStartSyntaxType:e("Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),TupleExpressionHashIncorrectStartSyntaxType:e("Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."),UnexpectedArgumentPlaceholder:e("Unexpected argument placeholder."),UnexpectedAwaitAfterPipelineBody:e('Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.'),UnexpectedDigitAfterHash:e("Unexpected digit after hash token."),UnexpectedImportExport:e("'import' and 'export' may only appear at the top level."),UnexpectedKeyword:e((e=>{let{keyword:t}=e;return"Unexpected keyword '".concat(t,"'.")})),UnexpectedLeadingDecorator:e("Leading decorators must be attached to a class declaration."),UnexpectedLexicalDeclaration:e("Lexical declaration cannot appear in a single-statement context."),UnexpectedNewTarget:e("`new.target` can only be used in functions or class properties."),UnexpectedNumericSeparator:e("A numeric separator is only allowed between two digits."),UnexpectedPrivateField:e("Unexpected private name."),UnexpectedReservedWord:e((e=>{let{reservedWord:t}=e;return"Unexpected reserved word '".concat(t,"'.")})),UnexpectedSuper:e("'super' is only allowed in object methods and classes."),UnexpectedToken:e((e=>{let{expected:t,unexpected:s}=e;return"Unexpected token".concat(s?" '".concat(s,"'."):"").concat(t?', expected "'.concat(t,'"'):"")})),UnexpectedTokenUnaryExponentiation:e("Illegal expression. Wrap left hand side or entire exponentiation in parentheses."),UnsupportedBind:e("Binding should be performed on object property."),UnsupportedDecoratorExport:e("A decorated export must export a class declaration."),UnsupportedDefaultExport:e("Only expressions, functions or classes are allowed as the `default` export."),UnsupportedImport:e("`import` can only be used in `import()` or `import.meta`."),UnsupportedMetaProperty:e((e=>{let{target:t,onlyValidPropertyName:s}=e;return"The only valid meta property for ".concat(t," is ").concat(t,".").concat(s,".")})),UnsupportedParameterDecorator:e("Decorators cannot be used to decorate parameters."),UnsupportedPropertyDecorator:e("Decorators cannot be used to decorate object literal properties."),UnsupportedSuper:e("'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop])."),UnterminatedComment:e("Unterminated comment."),UnterminatedRegExp:e("Unterminated regular expression."),UnterminatedString:e("Unterminated string constant."),UnterminatedTemplate:e("Unterminated template."),VarRedeclaration:e((e=>{let{identifierName:t}=e;return"Identifier '".concat(t,"' has already been declared.")})),YieldBindingIdentifier:e("Can not use 'yield' as identifier inside a generator."),YieldInParameter:e("Yield expression is not allowed in formal parameters."),ZeroDigitNumericSeparator:e("Numeric separator can not be used after leading 0.")}),v=e=>({StrictDelete:e("Deleting local variable in strict mode."),StrictEvalArguments:e((e=>{let{referenceName:t}=e;return"Assigning to '".concat(t,"' in strict mode.")})),StrictEvalArgumentsBinding:e((e=>{let{bindingName:t}=e;return"Binding '".concat(t,"' in strict mode.")})),StrictFunction:e("In strict mode code, functions can only be declared at top level or inside a block."),StrictNumericEscape:e("The only valid numeric escape in strict mode is '\\0'."),StrictOctalLiteral:e("Legacy octal literals are not allowed in strict mode."),StrictWith:e("'with' in strict mode.")}),b=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),E=e=>({PipeBodyIsTighter:e("Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence."),PipeTopicRequiresHackPipes:e('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'),PipeTopicUnbound:e("Topic reference is unbound; it must be inside a pipe body."),PipeTopicUnconfiguredToken:e((e=>{let{token:t}=e;return"Invalid topic token ".concat(t,". In order to use ").concat(t,' as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "').concat(t,'" }.')})),PipeTopicUnused:e("Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once."),PipeUnparenthesizedBody:e((e=>{let{type:t}=e;return"Hack-style pipe body cannot be an unparenthesized ".concat(y({type:t}),"; please wrap it in parentheses.")})),PipelineBodyNoArrow:e('Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.'),PipelineBodySequenceExpression:e("Pipeline body may not be a comma-separated sequence expression."),PipelineHeadSequenceExpression:e("Pipeline head should not be a comma-separated sequence expression."),PipelineTopicUnused:e("Pipeline is in topic style but does not use topic reference."),PrimaryTopicNotAllowed:e("Topic reference was used in a lexical context without topic binding."),PrimaryTopicRequiresSmartPipeline:e('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.')}),C=["toMessage"];function A(e){let{toMessage:s}=e,r=t(e,C);return function e(t){let{loc:i,details:n}=t;return d(SyntaxError,Object.assign({},r,{loc:i}),{clone(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=t.loc||{};return e({loc:new c("line"in s?s.line:this.loc.line,"column"in s?s.column:this.loc.column,"index"in s?s.index:this.loc.index),details:Object.assign({},this.details,t.details)})},details:{value:n,enumerable:!1},message:{get(){return"".concat(s(this.details)," (").concat(this.loc.line,":").concat(this.loc.column,")")},set(e){Object.defineProperty(this,"message",{value:e})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in n&&{reflect:"details.missingPlugin",enumerable:!0}})}}function w(e,t){return Object.assign({toMessage:"string"==typeof e?()=>e:e},t)}function D(e,t){if(Array.isArray(e))return t=>D(t,e[0]);let s=e(w),r={};for(let e of Object.keys(s))r[e]=A(Object.assign({code:p.SyntaxError,reasonCode:e},t?{syntaxPlugin:t}:{},s[e]));return r}var T=Object.assign({},D(m),D(x),D(v),D(s||(s=o(["pipelineOperator"])))(E)),{defineProperty:P}=Object,S=(e,t)=>P(e,t,{enumerable:!1,value:e[t]});function k(e){return S(e.loc.start,"index"),S(e.loc.end,"index"),e}var N=e=>class extends e{parse(){let e=k(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(k)),e}parseRegExpLiteral(e){let{pattern:t,flags:s}=e,r=null;try{r=new RegExp(t,s)}catch{}let i=this.estreeParseLiteral(r);return i.regex={pattern:t,flags:s},i}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch{t=null}let s=this.estreeParseLiteral(t);return s.bigint=String(s.value||e),s}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,s=this.startNodeAt(e.start,e.loc.start),r=this.startNodeAt(t.start,t.loc.start);return r.value=t.extra.expressionValue,r.raw=t.extra.raw,s.expression=this.finishNodeAt(r,"Literal",t.loc.end),s.directive=t.extra.raw.slice(1,-1),this.finishNodeAt(s,"ExpressionStatement",e.loc.end)}initFunction(e,t){super.initFunction(e,t),e.expression=!1}checkDeclaration(e){null!=e&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&!(null!=(t=e.expression.extra)&&t.parenthesized)}parseBlockBody(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),r=1;r<t;r++)s[r-1]=arguments[r];super.parseBlockBody(e,...s);let i=e.directives.map((e=>this.directiveToStmt(e)));e.body=i.concat(e.body),delete e.directives}pushClassMethod(e,t,s,r,i,n){this.parseMethod(t,s,r,i,n,"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 delete e.id,e.name=t,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?"PrivateIdentifier"===e.type:super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,t){let s=super.parseLiteral(e,t);return s.raw=s.extra.raw,delete s.extra,s}parseFunctionBody(e,t){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];super.parseFunctionBody(e,t,s),e.expression="BlockStatement"!==e.body.type}parseMethod(e,t,s,r,i,n){let a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],o=this.startNode();return o.kind=e.kind,o=super.parseMethod(o,t,s,r,i,n,a),o.type="FunctionExpression",delete o.kind,e.value=o,"ClassPrivateMethod"===n&&(e.computed=!1),n="MethodDefinition",this.finishNode(e,n)}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,s,r,i){let n=super.parseObjectMethod(e,t,s,r,i);return n&&(n.type="Property","method"===n.kind&&(n.kind="init"),n.shorthand=!1),n}parseObjectProperty(e,t,s,r,i){let n=super.parseObjectProperty(e,t,s,r,i);return n&&(n.kind="init",n.type="Property"),n}isValidLVal(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),r=1;r<t;r++)s[r-1]=arguments[r];return"Property"===e?"value":super.isValidLVal(e,...s)}isAssignable(e,t){return null!=e&&this.isObjectProperty(e)?this.isAssignable(e.value,t):super.isAssignable(e,t)}toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null!=e&&this.isObjectProperty(e)){let{key:s,value:r}=e;this.isPrivateName(s)&&this.classScope.usePrivateName(this.getPrivateNameSV(s),s.loc.start),this.toAssignable(r,t)}else super.toAssignable(e,t)}toAssignableObjectExpressionProp(e){"get"===e.kind||"set"===e.kind?this.raise(T.PatternHasAccessor,{at:e.key}):e.method?this.raise(T.PatternHasMethod,{at:e.key}):super.toAssignableObjectExpressionProp(...arguments)}finishCallExpression(e,t){var s;(super.finishCallExpression(e,t),"Import"===e.callee.type)&&(e.type="ImportExpression",e.source=e.arguments[0],this.hasPlugin("importAssertions")&&(e.attributes=null!=(s=e.arguments[1])?s:null),delete e.arguments,delete e.callee);return e}toReferencedArguments(e){"ImportExpression"!==e.type&&super.toReferencedArguments(e)}parseExport(e){switch(super.parseExport(e),e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":1===e.specifiers.length&&"ExportNamespaceSpecifier"===e.specifiers[0].type&&(e.type="ExportAllDeclaration",e.exported=e.specifiers[0].exported,delete e.specifiers)}return e}parseSubscript(e,t,s,r,i){let n=super.parseSubscript(e,t,s,r,i);if(i.optionalChainMember){if(("OptionalMemberExpression"===n.type||"OptionalCallExpression"===n.type)&&(n.type=n.type.substring(8)),i.stop){let e=this.startNodeAtNode(n);return e.expression=n,this.finishNode(e,"ChainExpression")}}else("MemberExpression"===n.type||"CallExpression"===n.type)&&(n.optional=!1);return n}hasPropertyAsPrivateName(e){return"ChainExpression"===e.type&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return"ChainExpression"===e.type}isObjectProperty(e){return"Property"===e.type&&"init"===e.kind&&!e.method}isObjectMethod(e){return e.method||"get"===e.kind||"set"===e.kind}finishNodeAt(e,t,s){return k(super.finishNodeAt(e,t,s))}resetEndLocation(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.lastTokEndLoc;super.resetEndLocation(e,t),k(e)}},F=class{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}},I={brace:new F("{"),j_oTag:new F("<tag"),j_cTag:new F("</tag"),j_expr:new F("<tag>...</tag>",!0)};I.template=new F("`",!0);var _=!0,O=!0,j=!0,B=!0,L=!0,M=!0,R=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?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=null!=t.binop?t.binop:null,this.updateContext=null}},U=new Map;function q(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.keyword=e;let s=K(e,t);return U.set(e,s),s}function z(e,t){return K(e,{beforeExpr:_,binop:t})}var $=-1,H=[],V=[],G=[],W=[],J=[],X=[];function K(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var s,r,i,n;return++$,V.push(e),G.push(null!=(s=t.binop)?s:-1),W.push(null!=(r=t.beforeExpr)&&r),J.push(null!=(i=t.startsExpr)&&i),X.push(null!=(n=t.prefix)&&n),H.push(new R(e,t)),$}function Y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var s,r,i,n;return++$,U.set(e,$),V.push(e),G.push(null!=(s=t.binop)?s:-1),W.push(null!=(r=t.beforeExpr)&&r),J.push(null!=(i=t.startsExpr)&&i),X.push(null!=(n=t.prefix)&&n),H.push(new R("name",t)),$}var Q={bracketL:K("[",{beforeExpr:_,startsExpr:O}),bracketHashL:K("#[",{beforeExpr:_,startsExpr:O}),bracketBarL:K("[|",{beforeExpr:_,startsExpr:O}),bracketR:K("]"),bracketBarR:K("|]"),braceL:K("{",{beforeExpr:_,startsExpr:O}),braceBarL:K("{|",{beforeExpr:_,startsExpr:O}),braceHashL:K("#{",{beforeExpr:_,startsExpr:O}),braceR:K("}"),braceBarR:K("|}"),parenL:K("(",{beforeExpr:_,startsExpr:O}),parenR:K(")"),comma:K(",",{beforeExpr:_}),semi:K(";",{beforeExpr:_}),colon:K(":",{beforeExpr:_}),doubleColon:K("::",{beforeExpr:_}),dot:K("."),question:K("?",{beforeExpr:_}),questionDot:K("?."),arrow:K("=>",{beforeExpr:_}),template:K("template"),ellipsis:K("...",{beforeExpr:_}),backQuote:K("`",{startsExpr:O}),dollarBraceL:K("${",{beforeExpr:_,startsExpr:O}),templateTail:K("...`",{startsExpr:O}),templateNonTail:K("...${",{beforeExpr:_,startsExpr:O}),at:K("@"),hash:K("#",{startsExpr:O}),interpreterDirective:K("#!..."),eq:K("=",{beforeExpr:_,isAssign:B}),assign:K("_=",{beforeExpr:_,isAssign:B}),slashAssign:K("_=",{beforeExpr:_,isAssign:B}),xorAssign:K("_=",{beforeExpr:_,isAssign:B}),moduloAssign:K("_=",{beforeExpr:_,isAssign:B}),incDec:K("++/--",{prefix:L,postfix:M,startsExpr:O}),bang:K("!",{beforeExpr:_,prefix:L,startsExpr:O}),tilde:K("~",{beforeExpr:_,prefix:L,startsExpr:O}),doubleCaret:K("^^",{startsExpr:O}),doubleAt:K("@@",{startsExpr:O}),pipeline:z("|>",0),nullishCoalescing:z("??",1),logicalOR:z("||",1),logicalAND:z("&&",2),bitwiseOR:z("|",3),bitwiseXOR:z("^",4),bitwiseAND:z("&",5),equality:z("==/!=/===/!==",6),lt:z("</>/<=/>=",7),gt:z("</>/<=/>=",7),relational:z("</>/<=/>=",7),bitShift:z("<</>>/>>>",8),bitShiftL:z("<</>>/>>>",8),bitShiftR:z("<</>>/>>>",8),plusMin:K("+/-",{beforeExpr:_,binop:9,prefix:L,startsExpr:O}),modulo:K("%",{binop:10,startsExpr:O}),star:K("*",{binop:10}),slash:z("/",10),exponent:K("**",{beforeExpr:_,binop:11,rightAssociative:!0}),_in:q("in",{beforeExpr:_,binop:7}),_instanceof:q("instanceof",{beforeExpr:_,binop:7}),_break:q("break"),_case:q("case",{beforeExpr:_}),_catch:q("catch"),_continue:q("continue"),_debugger:q("debugger"),_default:q("default",{beforeExpr:_}),_else:q("else",{beforeExpr:_}),_finally:q("finally"),_function:q("function",{startsExpr:O}),_if:q("if"),_return:q("return",{beforeExpr:_}),_switch:q("switch"),_throw:q("throw",{beforeExpr:_,prefix:L,startsExpr:O}),_try:q("try"),_var:q("var"),_const:q("const"),_with:q("with"),_new:q("new",{beforeExpr:_,startsExpr:O}),_this:q("this",{startsExpr:O}),_super:q("super",{startsExpr:O}),_class:q("class",{startsExpr:O}),_extends:q("extends",{beforeExpr:_}),_export:q("export"),_import:q("import",{startsExpr:O}),_null:q("null",{startsExpr:O}),_true:q("true",{startsExpr:O}),_false:q("false",{startsExpr:O}),_typeof:q("typeof",{beforeExpr:_,prefix:L,startsExpr:O}),_void:q("void",{beforeExpr:_,prefix:L,startsExpr:O}),_delete:q("delete",{beforeExpr:_,prefix:L,startsExpr:O}),_do:q("do",{isLoop:j,beforeExpr:_}),_for:q("for",{isLoop:j}),_while:q("while",{isLoop:j}),_as:Y("as",{startsExpr:O}),_assert:Y("assert",{startsExpr:O}),_async:Y("async",{startsExpr:O}),_await:Y("await",{startsExpr:O}),_from:Y("from",{startsExpr:O}),_get:Y("get",{startsExpr:O}),_let:Y("let",{startsExpr:O}),_meta:Y("meta",{startsExpr:O}),_of:Y("of",{startsExpr:O}),_sent:Y("sent",{startsExpr:O}),_set:Y("set",{startsExpr:O}),_static:Y("static",{startsExpr:O}),_yield:Y("yield",{startsExpr:O}),_asserts:Y("asserts",{startsExpr:O}),_checks:Y("checks",{startsExpr:O}),_exports:Y("exports",{startsExpr:O}),_global:Y("global",{startsExpr:O}),_implements:Y("implements",{startsExpr:O}),_intrinsic:Y("intrinsic",{startsExpr:O}),_infer:Y("infer",{startsExpr:O}),_is:Y("is",{startsExpr:O}),_mixins:Y("mixins",{startsExpr:O}),_proto:Y("proto",{startsExpr:O}),_require:Y("require",{startsExpr:O}),_keyof:Y("keyof",{startsExpr:O}),_readonly:Y("readonly",{startsExpr:O}),_unique:Y("unique",{startsExpr:O}),_abstract:Y("abstract",{startsExpr:O}),_declare:Y("declare",{startsExpr:O}),_enum:Y("enum",{startsExpr:O}),_module:Y("module",{startsExpr:O}),_namespace:Y("namespace",{startsExpr:O}),_interface:Y("interface",{startsExpr:O}),_type:Y("type",{startsExpr:O}),_opaque:Y("opaque",{startsExpr:O}),name:K("name",{startsExpr:O}),string:K("string",{startsExpr:O}),num:K("num",{startsExpr:O}),bigint:K("bigint",{startsExpr:O}),decimal:K("decimal",{startsExpr:O}),regexp:K("regexp",{startsExpr:O}),privateName:K("#name",{startsExpr:O}),eof:K("eof"),jsxName:K("jsxName"),jsxText:K("jsxText",{beforeExpr:!0}),jsxTagStart:K("jsxTagStart",{startsExpr:!0}),jsxTagEnd:K("jsxTagEnd"),placeholder:K("%%",{startsExpr:!0})};function Z(e){return e>=93&&e<=128}function ee(e){return e<=92}function te(e){return e>=58&&e<=128}function se(e){return e>=58&&e<=132}function re(e){return W[e]}function ie(e){return J[e]}function ne(e){return e>=29&&e<=33}function ae(e){return e>=125&&e<=127}function oe(e){return e>=90&&e<=92}function ce(e){return e>=58&&e<=92}function ue(e){return e>=39&&e<=59}function le(e){return 34===e}function pe(e){return X[e]}function he(e){return e>=117&&e<=119}function de(e){return e>=120&&e<=126}function me(e){return V[e]}function fe(e){return G[e]}function ye(e){return-1!==G[e]}function ge(e){return 57===e}function xe(e){return e>=24&&e<=25}function ve(e){return H[e]}H[8].updateContext=e=>{e.pop()},H[5].updateContext=H[7].updateContext=H[23].updateContext=e=>{e.push(I.brace)},H[22].updateContext=e=>{e[e.length-1]===I.template?e.pop():e.push(I.template)},H[138].updateContext=e=>{e.push(I.j_expr,I.j_oTag)};var be="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Ee="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",Ce=new RegExp("["+be+"]"),Ae=new RegExp("["+be+Ee+"]");be=Ee=null;var we=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],De=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function Te(e,t){let s=65536;for(let r=0,i=t.length;r<i;r+=2){if(s+=t[r],s>e)return!1;if(s+=t[r+1],s>=e)return!0}return!1}function Pe(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Ce.test(String.fromCharCode(e)):Te(e,we)))}function Se(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Ae.test(String.fromCharCode(e)):Te(e,we)||Te(e,De))))}var ke={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},Ne=new Set(ke.keyword),Fe=new Set(ke.strict),Ie=new Set(ke.strictBind);function _e(e,t){return t&&"await"===e||"enum"===e}function Oe(e,t){return _e(e,t)||Fe.has(e)}function je(e){return Ie.has(e)}function Be(e,t){return Oe(e,t)||je(e)}function Le(e){return Ne.has(e)}function Me(e,t,s){return 64===e&&64===t&&Pe(s)}var Re=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function Ue(e){return Re.has(e)}var qe=0,ze=1,$e=2,He=4,Ve=8,Ge=16,We=32,Je=64,Xe=128,Ke=256,Ye=ze|$e|Ke,Qe=1,Ze=2,et=4,tt=8,st=16,rt=64,it=128,nt=256,at=512,ot=1024,ct=2048,ut=Qe|Ze|tt|it,lt=0|Qe|tt|0,pt=0|Qe|et|0,ht=0|Qe|st|0,dt=0|Ze|it,mt=0|Ze,ft=Qe|Ze|tt|nt,yt=0|ot,gt=0|rt,xt=0|Qe|rt,vt=ft|at,bt=0|ot,Et=ct,Ct=4,At=2,wt=1,Dt=At|wt,Tt=At|Ct,Pt=wt|Ct,St=At,kt=wt,Nt=0,Ft=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(e){if("string"==typeof e)return this.plugins.has(e);{let[t,s]=e;if(!this.hasPlugin(t))return!1;let r=this.plugins.get(t);for(let e of Object.keys(s))if((null==r?void 0:r[e])!==s[e])return!1;return!0}}getPluginOption(e,t){var s;return null==(s=this.plugins.get(e))?void 0:s[t]}};function It(e,t){void 0===e.trailingComments?e.trailingComments=t:e.trailingComments.unshift(...t)}function _t(e,t){void 0===e.leadingComments?e.leadingComments=t:e.leadingComments.unshift(...t)}function Ot(e,t){void 0===e.innerComments?e.innerComments=t:e.innerComments.unshift(...t)}function jt(e,t,s){let r=null,i=t.length;for(;null===r&&i>0;)r=t[--i];null===r||r.start>s.start?Ot(e,s.comments):It(r,s.comments)}var Bt=class extends Ft{addComment(e){this.filename&&(e.loc.filename=this.filename),this.state.comments.push(e)}processComment(e){let{commentStack:t}=this.state,s=t.length;if(0===s)return;let r=s-1,i=t[r];i.start===e.end&&(i.leadingNode=e,r--);let{start:n}=e;for(;r>=0;r--){let s=t[r],i=s.end;if(!(i>n)){i===n&&(s.trailingNode=e);break}s.containingNode=e,this.finalizeComment(s),t.splice(r,1)}}finalizeComment(e){let{comments:t}=e;if(null!==e.leadingNode||null!==e.trailingNode)null!==e.leadingNode&&It(e.leadingNode,t),null!==e.trailingNode&&_t(e.trailingNode,t);else{let{containingNode:s,start:r}=e;if(44===this.input.charCodeAt(r-1))switch(s.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":jt(s,s.properties,e);break;case"CallExpression":case"OptionalCallExpression":jt(s,s.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":jt(s,s.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":jt(s,s.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":jt(s,s.specifiers,e);break;default:Ot(s,t)}else Ot(s,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:s}=t;if(0===s)return;let r=t[s-1];r.leadingNode===e&&(r.leadingNode=null)}takeSurroundingComments(e,t,s){let{commentStack:r}=this.state,i=r.length;if(0===i)return;let n=i-1;for(;n>=0;n--){let i=r[n],a=i.end;if(i.start===s)i.leadingNode=e;else if(a===t)i.trailingNode=e;else if(a<t)break}}},Lt=/\r\n?|[\n\u2028\u2029]/,Mt=new RegExp(Lt.source,"g");function Rt(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}var Ut=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,qt=new RegExp("(?=("+/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function zt(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 $t=class{constructor(){this.strict=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.maybeInArrowParameters=!1,this.inType=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.inDisallowConditionalTypesContext=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.decoratorStack=[[]],this.comments=[],this.commentStack=[],this.pos=0,this.type=135,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.context=[I.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.strictErrors=new Map,this.tokensLength=0}init(e){let{strictMode:t,sourceType:s,startLine:r,startColumn:i}=e;this.strict=!1!==t&&(!0===t||"module"===s),this.curLine=r,this.lineStart=-i,this.startLoc=this.endLoc=new c(r,i,0)}curPosition(){return new c(this.curLine,this.pos-this.lineStart,this.pos)}clone(e){let t=new $t,s=Object.keys(this);for(let r=0,i=s.length;r<i;r++){let i=s[r],n=this[i];!e&&Array.isArray(n)&&(n=n.slice()),t[i]=n}return t}},Ht=["at"],Vt=["at"],Gt=function(e){return e>=48&&e<=57},Wt=new Set([103,109,115,105,121,117,100,118]),Jt={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Xt={bin:e=>48===e||49===e,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},Kt=class{constructor(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new u(e.startLoc,e.endLoc)}},Yt=class extends Bt{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.state=new $t,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 Kt(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)}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 Ut.lastIndex=e,Ut.test(this.input)?Ut.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if(55296==(64512&t)&&++e<this.input.length){let s=this.input.charCodeAt(e);56320==(64512&s)&&(t=65536+((1023&t)<<10)+(1023&s))}return t}setStrict(e){this.state.strict=e,e&&(this.state.strictErrors.forEach((e=>{let[t,s]=e;return this.raise(t,{at:s})})),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(135):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(){let e;this.isLookahead||(e=this.state.curPosition());let t=this.state.pos,s=this.input.indexOf("*/",t+2);if(-1===s)throw this.raise(T.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=s+2,Mt.lastIndex=t+2;Mt.test(this.input)&&Mt.lastIndex<=s;)++this.state.curLine,this.state.lineStart=Mt.lastIndex;if(this.isLookahead)return;let r={type:"CommentBlock",value:this.input.slice(t+2,s),start:t,end:s+2,loc:new u(e,this.state.curPosition())};return this.options.tokens&&this.pushToken(r),r}skipLineComment(e){let t,s=this.state.pos;this.isLookahead||(t=this.state.curPosition());let r=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!Rt(r)&&++this.state.pos<this.length;)r=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let i=this.state.pos,n={type:"CommentLine",value:this.input.slice(s+e,i),start:s,end:i,loc:new u(t,this.state.curPosition())};return this.options.tokens&&this.pushToken(n),n}skipSpace(){let e=this.state.pos,t=[];e:for(;this.state.pos<this.length;){let s=this.input.charCodeAt(this.state.pos);switch(s){case 32:case 160:case 9:++this.state.pos;break;case 13:10===this.input.charCodeAt(this.state.pos+1)&&++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();void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}case 47:{let e=this.skipLineComment(2);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}default:break e}break;default:if(zt(s))++this.state.pos;else if(45!==s||this.inModule){if(60!==s||this.inModule)break e;{let e=this.state.pos;if(33!==this.input.charCodeAt(e+1)||45!==this.input.charCodeAt(e+2)||45!==this.input.charCodeAt(e+3))break e;{let e=this.skipLineComment(4);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}}else{let s=this.state.pos;if(45!==this.input.charCodeAt(s+1)||62!==this.input.charCodeAt(s+2)||!(0===e||this.state.lineStart>e))break e;{let e=this.skipLineComment(3);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}}}if(t.length>0){let s={start:e,end:this.state.pos,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(s)}}finishToken(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let s=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(s)}replaceToken(e){this.state.type=e,this.updateContext()}readToken_numberSign(){if(0===this.state.pos&&this.readToken_interpreter())return;let e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(T.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"hash"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===t?T.RecordExpressionHashIncorrectStartSyntaxType:T.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else Pe(t)?(++this.state.pos,this.finishToken(134,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(134,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let e=this.input.charCodeAt(this.state.pos+1);e>=48&&e<=57?this.readNumber(!0):46===e&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(0!==this.state.pos||this.length<2)return!1;let e=this.input.charCodeAt(this.state.pos+1);if(33!==e)return!1;let t=this.state.pos;for(this.state.pos+=1;!Rt(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);let s=this.input.slice(t+2,this.state.pos);return this.finishToken(28,s),!0}readToken_mult_modulo(e){let t=42===e?55:54,s=1,r=this.input.charCodeAt(this.state.pos+1);42===e&&42===r&&(s++,r=this.input.charCodeAt(this.state.pos+2),t=57),61===r&&!this.state.inType&&(s++,t=37===e?33:30),this.finishOp(t,s)}readToken_pipe_amp(e){let t=this.input.charCodeAt(this.state.pos+1);if(t!==e){if(124===e){if(62===t)return void this.finishOp(39,2);if(this.hasPlugin("recordAndTuple")&&125===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(T.RecordExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&93===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(T.TupleExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});return this.state.pos+=2,void this.finishToken(4)}}61!==t?this.finishOp(124===e?43:45,1):this.finishOp(30,2)}else 61===this.input.charCodeAt(this.state.pos+2)?this.finishOp(30,3):this.finishOp(124===e?41:42,2)}readToken_caret(){let e=this.input.charCodeAt(this.state.pos+1);if(61!==e||this.state.inType)if(94===e&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])){if(this.finishOp(37,2),94===this.input.codePointAt(this.state.pos))throw this.unexpected()}else this.finishOp(44,1);else this.finishOp(32,2)}readToken_atSign(){64===this.input.charCodeAt(this.state.pos+1)&&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);t!==e?61===t?this.finishOp(30,2):this.finishOp(53,1):this.finishOp(34,2)}readToken_lt(){let{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(60===t)return 61===this.input.charCodeAt(e+2)?void this.finishOp(30,3):void this.finishOp(51,2);61!==t?this.finishOp(47,1):this.finishOp(49,2)}readToken_gt(){let{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(62===t){let t=62===this.input.charCodeAt(e+2)?3:2;return 61===this.input.charCodeAt(e+t)?void this.finishOp(30,t+1):void this.finishOp(52,t)}61!==t?this.finishOp(48,1):this.finishOp(49,2)}readToken_eq_excl(e){let t=this.input.charCodeAt(this.state.pos+1);if(61!==t)return 61===e&&62===t?(this.state.pos+=2,void this.finishToken(19)):void this.finishOp(61===e?29:35,1);this.finishOp(46,61===this.input.charCodeAt(this.state.pos+2)?3:2)}readToken_question(){let e=this.input.charCodeAt(this.state.pos+1),t=this.input.charCodeAt(this.state.pos+2);63===e?61===t?this.finishOp(30,3):this.finishOp(40,2):46!==e||t>=48&&t<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(e){switch(e){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(T.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(T.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:{let e=this.input.charCodeAt(this.state.pos+1);if(120===e||88===e)return void this.readRadixNumber(16);if(111===e||79===e)return void this.readRadixNumber(8);if(98===e||66===e)return void this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(e);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(e);case 124:case 38:return void this.readToken_pipe_amp(e);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(e);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(e);case 126:return void this.finishOp(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(Pe(e))return void this.readWord(e)}throw this.raise(T.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(e)})}finishOp(e,t){let s=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,s)}readRegexp(){let e,t,s=this.state.startLoc,r=this.state.start+1,{pos:i}=this.state;for(;;++i){if(i>=this.length)throw this.raise(T.UnterminatedRegExp,{at:l(s,1)});let r=this.input.charCodeAt(i);if(Rt(r))throw this.raise(T.UnterminatedRegExp,{at:l(s,1)});if(e)e=!1;else{if(91===r)t=!0;else if(93===r&&t)t=!1;else if(47===r&&!t)break;e=92===r}}let n=this.input.slice(r,i);++i;let a="",o=()=>l(s,i+2-r);for(;i<this.length;){let e=this.codePointAtPos(i),t=String.fromCharCode(e);if(Wt.has(e))118===e?(this.expectPlugin("regexpUnicodeSets",o()),a.includes("u")&&this.raise(T.IncompatibleRegExpUVFlags,{at:o()})):117===e&&a.includes("v")&&this.raise(T.IncompatibleRegExpUVFlags,{at:o()}),a.includes(t)&&this.raise(T.DuplicateRegExpFlags,{at:o()});else{if(!Se(e)&&92!==e)break;this.raise(T.MalformedRegExpFlags,{at:o()})}++i,a+=t}this.state.pos=i,this.finishToken(133,{pattern:n,flags:a})}readInt(e,t,s){let r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=this.state.pos,n=16===e?Jt.hex:Jt.decBinOct,a=16===e?Xt.hex:10===e?Xt.dec:8===e?Xt.oct:Xt.bin,o=!1,c=0;for(let i=0,u=null==t?1/0:t;i<u;++i){let t,i=this.input.charCodeAt(this.state.pos);if(95!==i||"bail"===r){if(t=i>=97?i-97+10:i>=65?i-65+10:Gt(i)?i-48:1/0,t>=e)if(this.options.errorRecovery&&t<=9)t=0,this.raise(T.InvalidDigit,{at:this.state.curPosition(),radix:e});else{if(!s)break;t=0,o=!0}++this.state.pos,c=c*e+t}else{let e=this.input.charCodeAt(this.state.pos-1),t=this.input.charCodeAt(this.state.pos+1);r?(Number.isNaN(t)||!a(t)||n.has(e)||n.has(t))&&this.raise(T.UnexpectedNumericSeparator,{at:this.state.curPosition()}):this.raise(T.NumericSeparatorInEscapeSequence,{at:this.state.curPosition()}),++this.state.pos}}return this.state.pos===i||null!=t&&this.state.pos-i!==t||o?null:c}readRadixNumber(e){let t=this.state.curPosition(),s=!1;this.state.pos+=2;let r=this.readInt(e);null==r&&this.raise(T.InvalidDigit,{at:l(t,2),radix:e});let i=this.input.charCodeAt(this.state.pos);if(110===i)++this.state.pos,s=!0;else if(109===i)throw this.raise(T.InvalidDecimal,{at:t});if(Pe(this.codePointAtPos(this.state.pos)))throw this.raise(T.NumberIdentifier,{at:this.state.curPosition()});if(s){let e=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(131,e)}else this.finishToken(130,r)}readNumber(e){let t=this.state.pos,s=this.state.curPosition(),r=!1,i=!1,n=!1,a=!1,o=!1;!e&&null===this.readInt(10)&&this.raise(T.InvalidNumber,{at:this.state.curPosition()});let c=this.state.pos-t>=2&&48===this.input.charCodeAt(t);if(c){let e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(T.StrictOctalLiteral,{at:s}),!this.state.strict){let t=e.indexOf("_");t>0&&this.raise(T.ZeroDigitNumericSeparator,{at:l(s,t)})}o=c&&!/[89]/.test(e)}let u=this.input.charCodeAt(this.state.pos);if(46===u&&!o&&(++this.state.pos,this.readInt(10),r=!0,u=this.input.charCodeAt(this.state.pos)),(69===u||101===u)&&!o&&(u=this.input.charCodeAt(++this.state.pos),(43===u||45===u)&&++this.state.pos,null===this.readInt(10)&&this.raise(T.InvalidOrMissingExponent,{at:s}),r=!0,a=!0,u=this.input.charCodeAt(this.state.pos)),110===u&&((r||c)&&this.raise(T.InvalidBigIntLiteral,{at:s}),++this.state.pos,i=!0),109===u&&(this.expectPlugin("decimal",this.state.curPosition()),(a||c)&&this.raise(T.InvalidDecimal,{at:s}),++this.state.pos,n=!0),Pe(this.codePointAtPos(this.state.pos)))throw this.raise(T.NumberIdentifier,{at:this.state.curPosition()});let p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(i)return void this.finishToken(131,p);if(n)return void this.finishToken(132,p);let h=o?parseInt(p,8):parseFloat(p);this.finishToken(130,h)}readCodePoint(e){let t;if(123===this.input.charCodeAt(this.state.pos)){if(++this.state.pos,t=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,!0,e),++this.state.pos,null!==t&&t>1114111){if(!e)return null;this.raise(T.InvalidCodePoint,{at:this.state.curPosition()})}}else t=this.readHexChar(4,!1,e);return t}readString(e){let t="",s=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(T.UnterminatedString,{at:this.state.startLoc});let r=this.input.charCodeAt(this.state.pos);if(r===e)break;if(92===r)t+=this.input.slice(s,this.state.pos),t+=this.readEscapedChar(!1),s=this.state.pos;else if(8232===r||8233===r)++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;else{if(Rt(r))throw this.raise(T.UnterminatedString,{at:this.state.startLoc});++this.state.pos}}t+=this.input.slice(s,this.state.pos++),this.finishToken(129,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let e="",t=this.state.pos,s=!1;for(++this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(T.UnterminatedTemplate,{at:l(this.state.startLoc,1)});let r=this.input.charCodeAt(this.state.pos);if(96===r)return++this.state.pos,e+=this.input.slice(t,this.state.pos),void this.finishToken(24,s?null:e);if(36===r&&123===this.input.charCodeAt(this.state.pos+1))return this.state.pos+=2,e+=this.input.slice(t,this.state.pos),void this.finishToken(25,s?null:e);if(92===r){e+=this.input.slice(t,this.state.pos);let r=this.readEscapedChar(!0);null===r?s=!0:e+=r,t=this.state.pos}else if(Rt(r)){switch(e+=this.input.slice(t,this.state.pos),++this.state.pos,r){case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(r)}++this.state.curLine,this.state.lineStart=this.state.pos,t=this.state.pos}else++this.state.pos}}recordStrictModeErrors(e,t){let{at:s}=t,r=s.index;this.state.strict&&!this.state.strictErrors.has(r)?this.raise(e,{at:s}):this.state.strictErrors.set(r,[e,s])}readEscapedChar(e){let t=!e,s=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,s){case 110:return"\n";case 114:return"\r";case 120:{let e=this.readHexChar(2,!1,t);return null===e?null:String.fromCharCode(e)}case 117:{let e=this.readCodePoint(t);return null===e?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:this.state.lineStart=this.state.pos,++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e)return null;this.recordStrictModeErrors(T.StrictNumericEscape,{at:l(this.state.curPosition(),-1)});default:if(s>=48&&s<=55){let t=l(this.state.curPosition(),-1),s=this.input.slice(this.state.pos-1,this.state.pos+2).match(/^[0-7]+/)[0],r=parseInt(s,8);r>255&&(s=s.slice(0,-1),r=parseInt(s,8)),this.state.pos+=s.length-1;let i=this.input.charCodeAt(this.state.pos);if("0"!==s||56===i||57===i){if(e)return null;this.recordStrictModeErrors(T.StrictNumericEscape,{at:t})}return String.fromCharCode(r)}return String.fromCharCode(s)}}readHexChar(e,t,s){let r=this.state.curPosition(),i=this.readInt(16,e,t,!1);return null===i&&(s?this.raise(T.InvalidEscapeSequence,{at:r}):this.state.pos=r.index-1),i}readWord1(e){this.state.containsEsc=!1;let t="",s=this.state.pos,r=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos<this.length;){let e=this.codePointAtPos(this.state.pos);if(Se(e))this.state.pos+=e<=65535?1:2;else{if(92!==e)break;{this.state.containsEsc=!0,t+=this.input.slice(r,this.state.pos);let e=this.state.curPosition(),i=this.state.pos===s?Pe:Se;if(117!==this.input.charCodeAt(++this.state.pos)){this.raise(T.MissingUnicodeEscape,{at:this.state.curPosition()}),r=this.state.pos-1;continue}++this.state.pos;let n=this.readCodePoint(!0);null!==n&&(i(n)||this.raise(T.EscapedCharNotAnIdentifier,{at:e}),t+=String.fromCodePoint(n)),r=this.state.pos}}}return t+this.input.slice(r,this.state.pos)}readWord(e){let t=this.readWord1(e),s=U.get(t);void 0!==s?this.finishToken(s,me(s)):this.finishToken(128,t)}checkKeywordEscapes(){let{type:e}=this.state;ce(e)&&this.state.containsEsc&&this.raise(T.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:me(e)})}raise(e,s){let{at:r}=s,i=t(s,Ht),n=e({loc:r instanceof c?r:r.loc.start,details:i});if(!this.options.errorRecovery)throw n;return this.isLookahead||this.state.errors.push(n),n}raiseOverwrite(e,s){let{at:r}=s,i=t(s,Vt),n=r instanceof c?r:r.loc.start,a=n.index,o=this.state.errors;for(let t=o.length-1;t>=0;t--){let s=o[t];if(s.loc.index===a)return o[t]=e({loc:n,details:i});if(s.loc.index<a)break}return this.raise(e,s)}updateContext(e){}unexpected(e,t){throw this.raise(T.UnexpectedToken,{expected:t?me(t):null,at:null!=e?e:this.state.startLoc})}expectPlugin(e,t){if(this.hasPlugin(e))return!0;throw this.raise(T.MissingPlugin,{at:null!=t?t:this.state.startLoc,missingPlugin:[e]})}expectOnePlugin(e){if(!e.some((e=>this.hasPlugin(e))))throw this.raise(T.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:e})}},Qt=class{constructor(e){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=e}},Zt=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 inFunction(){return(this.currentVarScopeFlags()&$e)>0}get allowSuper(){return(this.currentThisScopeFlags()&Ge)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&We)>0}get inClass(){return(this.currentThisScopeFlags()&Je)>0}get inClassAndNotInNonArrowFunction(){let e=this.currentThisScopeFlags();return(e&Je)>0&&0==(e&$e)}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&Xe)return!0;if(t&(Ye|Je))return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&$e)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Qt(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&($e|Xe)||!this.parser.inModule&&e.flags&ze)}declareName(e,t,s){let r=this.currentScope();if(t&tt||t&st)this.checkRedeclarationInScope(r,e,t,s),t&st?r.functions.add(e):r.lexical.add(e),t&tt&&this.maybeExportDefined(r,e);else if(t&et)for(let i=this.scopeStack.length-1;i>=0&&(r=this.scopeStack[i],this.checkRedeclarationInScope(r,e,t,s),r.var.add(e),this.maybeExportDefined(r,e),!(r.flags&Ye));--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,s,r){this.isRedeclaredInScope(e,t,s)&&this.parser.raise(T.VarRedeclaration,{at:r,identifierName:t})}isRedeclaredInScope(e,t,s){return!!(s&Qe)&&(s&tt?e.lexical.has(t)||e.functions.has(t)||e.var.has(t):s&st?e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t):e.lexical.has(t)&&!(e.flags&Ve&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t))}checkLocalExport(e){let{name:t}=e,s=this.scopeStack[0];!s.lexical.has(t)&&!s.var.has(t)&&!s.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&Ye)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&(Ye|Je)&&!(t&He))return t}}},es=class extends Qt{constructor(){super(...arguments),this.declareFunctions=new Set}},ts=class extends Zt{createScope(e){return new es(e)}declareName(e,t,s){let r=this.currentScope();if(t&ct)return this.checkRedeclarationInScope(r,e,t,s),this.maybeExportDefined(r,e),void r.declareFunctions.add(e);super.declareName(...arguments)}isRedeclaredInScope(e,t,s){return!!super.isRedeclaredInScope(...arguments)||!!(s&ct)&&!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}},ss=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},rs=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 ss)}exit(){let e=this.stack.pop(),t=this.current();for(let[s,r]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(s)||t.undefinedPrivateNames.set(s,r):this.parser.raise(T.InvalidPrivateFieldResolution,{at:r,identifierName:s})}declarePrivateName(e,t,s){let{privateNames:r,loneAccessors:i,undefinedPrivateNames:n}=this.current(),a=r.has(e);if(t&Dt){let s=a&&i.get(e);s?(a=(s&Dt)==(t&Dt)||(s&Ct)!=(t&Ct),a||i.delete(e)):a||i.set(e,t)}a&&this.parser.raise(T.PrivateNameRedeclaration,{at:s,identifierName:e}),r.add(e),n.delete(e)}usePrivateName(e,t){let s;for(s of this.stack)if(s.privateNames.has(e))return;s?s.undefinedPrivateNames.set(e,t):this.parser.raise(T.InvalidPrivateFieldResolution,{at:t,identifierName:e})}},is=0,ns=1,as=2,os=3,cs=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:is;this.type=void 0,this.type=e}canBeArrowParameterDeclaration(){return this.type===as||this.type===ns}isCertainlyParameterDeclaration(){return this.type===os}},us=class extends cs{constructor(e){super(e),this.declarationErrors=new Map}recordDeclarationError(e,t){let{at:s}=t,r=s.index;this.declarationErrors.set(r,[e,s])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}},ls=class{constructor(e){this.parser=void 0,this.stack=[new cs],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,t){let{at:s}=t,r={at:s.loc.start},{stack:i}=this,n=i.length-1,a=i[n];for(;!a.isCertainlyParameterDeclaration();){if(!a.canBeArrowParameterDeclaration())return;a.recordDeclarationError(e,r),a=i[--n]}this.parser.raise(e,r)}recordArrowParemeterBindingError(e,t){let{at:s}=t,{stack:r}=this,i=r[r.length-1],n={at:s.loc.start};if(i.isCertainlyParameterDeclaration())this.parser.raise(e,n);else{if(!i.canBeArrowParameterDeclaration())return;i.recordDeclarationError(e,n)}}recordAsyncArrowParametersError(e){let{at:t}=e,{stack:s}=this,r=s.length-1,i=s[r];for(;i.canBeArrowParameterDeclaration();)i.type===as&&i.recordDeclarationError(T.AwaitBindingIdentifier,{at:t}),i=s[--r]}validateAsPattern(){let{stack:e}=this,t=e[e.length-1];!t.canBeArrowParameterDeclaration()||t.iterateErrors((t=>{let[s,r]=t;this.parser.raise(s,{at:r});let i=e.length-2,n=e[i];for(;n.canBeArrowParameterDeclaration();)n.clearDeclarationError(r.index),n=e[--i]}))}};function ps(){return new cs(os)}function hs(){return new us(ns)}function ds(){return new us(as)}function ms(){return new cs}var fs=0,ys=1,gs=2,xs=4,vs=8,bs=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()&gs)>0}get hasYield(){return(this.currentFlags()&ys)>0}get hasReturn(){return(this.currentFlags()&xs)>0}get hasIn(){return(this.currentFlags()&vs)>0}};function Es(e,t){return(e?gs:0)|(t?ys:0)}var Cs=class extends Yt{addExtra(e,t,s){let r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!e)return;let i=e.extra=e.extra||{};r?i[t]=s:Object.defineProperty(i,t,{enumerable:r,value:s})}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){let s=e+t.length;if(this.input.slice(e,s)===t){let e=this.input.charCodeAt(s);return!(Se(e)||55296==(64512&e))}return!1}isLookaheadContextual(e){let t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return!!this.isContextual(e)&&(this.next(),!0)}expectContextual(e,t){if(!this.eatContextual(e))throw null!=t?this.raise(t,{at:this.state.startLoc}):this.unexpected(null,e)}canInsertSemicolon(){return this.match(135)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Lt.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return qt.lastIndex=this.state.end,qt.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(){(arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?this.eat(13):this.isLineTerminator())||this.raise(T.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.clone(),s={node:null};try{let r=e((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;throw s.node=e,s}));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===s)return{node:s.node,error:null,thrown:!1,aborted:!0,failState:r};throw e}}checkExpressionErrors(e,t){if(!e)return!1;let{shorthandAssignLoc:s,doubleProtoLoc:r,privateKeyLoc:i,optionalParametersLoc:n}=e;if(!t)return!!(s||r||n||i);null!=s&&this.raise(T.InvalidCoverInitializedName,{at:s}),null!=r&&this.raise(T.DuplicateProto,{at:r}),null!=i&&this.raise(T.UnexpectedPrivateField,{at:i}),null!=n&&this.unexpected(n)}isLiteralPropertyName(){return se(this.state.type)}isPrivateName(e){return"PrivateName"===e.type}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)&&this.isPrivateName(e.property)}isOptionalChain(e){return"OptionalMemberExpression"===e.type||"OptionalCallExpression"===e.type}isObjectProperty(e){return"ObjectProperty"===e.type}isObjectMethod(e){return"ObjectMethod"===e.type}initializeScopes(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"module"===this.options.sourceType,t=this.state.labels;this.state.labels=[];let s=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let r=this.inModule;this.inModule=e;let i=this.scope,n=this.getScopeHandler();this.scope=new n(this,e);let a=this.prodParam;this.prodParam=new bs;let o=this.classScope;this.classScope=new rs(this);let c=this.expressionScope;return this.expressionScope=new ls(this),()=>{this.state.labels=t,this.exportedIdentifiers=s,this.inModule=r,this.scope=i,this.prodParam=a,this.classScope=o,this.expressionScope=c}}enterInitialScopes(){let e=fs;this.inModule&&(e|=gs),this.scope.enter(ze),this.prodParam.enter(e)}checkDestructuringPrivate(e){let{privateKeyLoc:t}=e;null!==t&&this.expectPlugin("destructuringPrivate",t)}},As=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},ws=class{constructor(e,t,s){this.type="",this.start=t,this.end=0,this.loc=new u(s),null!=e&&e.options.ranges&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)}},Ds=ws.prototype;function Ts(e){return Ps(e)}function Ps(e){let{type:t,start:s,end:r,loc:i,range:n,extra:a,name:o}=e,c=Object.create(Ds);return c.type=t,c.start=s,c.end=r,c.loc=i,c.range=n,c.extra=a,c.name=o,"Placeholder"===t&&(c.expectedNode=e.expectedNode),c}function Ss(e){let{type:t,start:s,end:r,loc:i,range:n,extra:a}=e;if("Placeholder"===t)return Ts(e);let o=Object.create(Ds);return o.type=t,o.start=s,o.end=r,o.loc=i,o.range=n,void 0!==e.raw?o.raw=e.raw:o.extra=a,o.value=e.value,o}Ds.__clone=function(){let e=new ws,t=Object.keys(this);for(let s=0,r=t.length;s<r;s++){let r=t[s];"leadingComments"!==r&&"trailingComments"!==r&&"innerComments"!==r&&(e[r]=this[r])}return e};var ks=class extends Cs{startNode(){return new ws(this,this.state.start,this.state.startLoc)}startNodeAt(e,t){return new ws(this,e,t)}startNodeAtNode(e){return this.startNodeAt(e.start,e.loc.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEndLoc)}finishNodeAt(e,t,s){return e.type=t,e.end=s.index,e.loc.end=s,this.options.ranges&&(e.range[1]=s.index),this.options.attachComment&&this.processComment(e),e}resetStartLocation(e,t,s){e.start=t,e.loc.start=s,this.options.ranges&&(e.range[0]=t)}resetEndLocation(e){let t=arguments.length>1&&void 0!==arguments[1]?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.start,t.loc.start)}},Ns=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Fs=D(r||(r=o(["flow"])))((e=>({AmbiguousConditionalArrow:e("Ambiguous expression: wrap the arrow functions in parentheses to disambiguate."),AmbiguousDeclareModuleKind:e("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((e=>{let{reservedType:t}=e;return"Cannot overwrite reserved type ".concat(t,".")})),DeclareClassElement:e("The `declare` modifier can only appear on class fields."),DeclareClassFieldInitializer:e("Initializers are not allowed in fields with the `declare` modifier."),DuplicateDeclareModuleExports:e("Duplicate `declare module.exports` statement."),EnumBooleanMemberNotInitialized:e((e=>{let{memberName:t,enumName:s}=e;return"Boolean enum members need to be initialized. Use either `".concat(t," = true,` or `").concat(t," = false,` in enum `").concat(s,"`.")})),EnumDuplicateMemberName:e((e=>{let{memberName:t,enumName:s}=e;return"Enum member names need to be unique, but the name `".concat(t,"` has already been used before in enum `").concat(s,"`.")})),EnumInconsistentMemberValues:e((e=>{let{enumName:t}=e;return"Enum `".concat(t,"` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.")})),EnumInvalidExplicitType:e((e=>{let{invalidEnumType:t,enumName:s}=e;return"Enum type `".concat(t,"` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `").concat(s,"`.")})),EnumInvalidExplicitTypeUnknownSupplied:e((e=>{let{enumName:t}=e;return"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `".concat(t,"`.")})),EnumInvalidMemberInitializerPrimaryType:e((e=>{let{enumName:t,memberName:s,explicitType:r}=e;return"Enum `".concat(t,"` has type `").concat(r,"`, so the initializer of `").concat(s,"` needs to be a ").concat(r," literal.")})),EnumInvalidMemberInitializerSymbolType:e((e=>{let{enumName:t,memberName:s}=e;return"Symbol enum members cannot be initialized. Use `".concat(s,",` in enum `").concat(t,"`.")})),EnumInvalidMemberInitializerUnknownType:e((e=>{let{enumName:t,memberName:s}=e;return"The enum member initializer for `".concat(s,"` needs to be a literal (either a boolean, number, or string) in enum `").concat(t,"`.")})),EnumInvalidMemberName:e((e=>{let{enumName:t,memberName:s,suggestion:r}=e;return"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `".concat(s,"`, consider using `").concat(r,"`, in enum `").concat(t,"`.")})),EnumNumberMemberNotInitialized:e((e=>{let{enumName:t,memberName:s}=e;return"Number enum members need to be initialized, e.g. `".concat(s," = 1` in enum `").concat(t,"`.")})),EnumStringMemberInconsistentlyInitailized:e((e=>{let{enumName:t}=e;return"String enum members need to consistently either all use initializers, or use no initializers, in enum `".concat(t,"`.")})),GetterMayNotHaveThisParam:e("A getter cannot have a `this` parameter."),ImportTypeShorthandOnlyInPureImport:e("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:e("Explicit inexact syntax cannot appear inside an explicit exact object type."),InexactInsideNonObject:e("Explicit inexact syntax cannot appear in class or interface definitions."),InexactVariance:e("Explicit inexact syntax cannot have variance."),InvalidNonTypeImportInDeclareModule:e("Imports within a `declare module` body must always be `import type` or `import typeof`."),MissingTypeParamDefault:e("Type parameter declaration needs a default, since a preceding type parameter declaration has a default."),NestedDeclareModule:e("`declare module` cannot be used inside another `declare module`."),NestedFlowComment:e("Cannot have a flow comment inside another flow comment."),PatternIsOptional:e("A binding pattern parameter cannot be optional in an implementation signature.",{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:e("A setter cannot have a `this` parameter."),SpreadVariance:e("Spread properties cannot have variance."),ThisParamAnnotationRequired:e("A type annotation is required for the `this` parameter."),ThisParamBannedInConstructor:e("Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions."),ThisParamMayNotBeOptional:e("The `this` parameter cannot be optional."),ThisParamMustBeFirst:e("The `this` parameter must be the first function parameter."),ThisParamNoDefault:e("The `this` parameter may not have a default value."),TypeBeforeInitializer:e("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeCastInPattern:e("The type cast expression is expected to be wrapped with parenthesis."),UnexpectedExplicitInexactInObject:e("Explicit inexact syntax must appear at the end of an inexact object."),UnexpectedReservedType:e((e=>{let{reservedType:t}=e;return"Unexpected reserved type ".concat(t,".")})),UnexpectedReservedUnderscore:e("`_` is only allowed as a type argument to call or new."),UnexpectedSpaceBetweenModuloChecks:e("Spaces between `%` and `checks` are not allowed here."),UnexpectedSpreadType:e("Spread operator cannot appear in class or interface definitions."),UnexpectedSubtractionOperand:e('Unexpected token, expected "number" or "bigint".'),UnexpectedTokenAfterTypeParameter:e("Expected an arrow function after this type parameter declaration."),UnexpectedTypeParameterBeforeAsyncArrowFunction:e("Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`."),UnsupportedDeclareExportKind:e((e=>{let{unsupportedExportKind:t,suggestion:s}=e;return"`declare export ".concat(t,"` is not supported. Use `").concat(s,"` instead.")})),UnsupportedStatementInDeclareModule:e("Only declares and type imports are allowed inside declare module."),UnterminatedFlowComment:e("Unterminated flow-comment.")})));function Is(e){return"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type&&(!e.declaration||"TypeAlias"!==e.declaration.type&&"InterfaceDeclaration"!==e.declaration.type)}function _s(e){return"type"===e.importKind||"typeof"===e.importKind}function Os(e){return te(e)&&97!==e}var js={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function Bs(e,t){let s=[],r=[];for(let i=0;i<e.length;i++)(t(e[i],i,e)?s:r).push(e[i]);return[s,r]}var Ls=/\*?\s*@((?:no)?flow)\b/,Ms=e=>class extends e{constructor(){super(...arguments),this.flowPragma=void 0}getScopeHandler(){return ts}shouldParseTypes(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){return 129!==e&&13!==e&&28!==e&&void 0===this.flowPragma&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(void 0===this.flowPragma){let t=Ls.exec(e.value);if(t)if("flow"===t[1])this.flowPragma="flow";else{if("noflow"!==t[1])throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}}return super.addComment(e)}flowParseTypeInitialiser(e){let t=this.state.inType;this.state.inType=!0,this.expect(e||14);let s=this.flowParseType();return this.state.inType=t,s}flowParsePredicate(){let e=this.startNode(),t=this.state.startLoc;return this.next(),this.expectContextual(107),this.state.lastTokStart>t.index+1&&this.raise(Fs.UnexpectedSpaceBetweenModuloChecks,{at:t}),this.eat(10)?(e.value=this.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,s=null;return this.match(54)?(this.state.inType=e,s=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(54)&&(s=this.flowParsePredicate())),[t,s]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();let t=e.id=this.parseIdentifier(),s=this.startNode(),r=this.startNode();this.match(47)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,this.expect(10);let i=this.flowParseFunctionTypeParams();return s.params=i.params,s.rest=i.rest,s.this=i._this,this.expect(11),[s.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),r.typeAnnotation=this.finishNode(s,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(r,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,Et,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(123))return this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(Fs.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(e));if(this.isContextual(126))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(127))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(125))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,t);throw this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,pt,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(qe),this.match(129)?e.id=this.parseExprAtom():e.id=this.parseIdentifier();let t=e.body=this.startNode(),s=t.body=[];for(this.expect(5);!this.match(8);){let e=this.startNode();this.match(83)?(this.next(),!this.isContextual(126)&&!this.match(87)&&this.raise(Fs.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),this.parseImport(e)):(this.expectContextual(121,Fs.UnsupportedStatementInDeclareModule),e=this.flowParseDeclare(e,!0)),s.push(e)}this.scope.exit(),this.expect(8),this.finishNode(t,"BlockStatement");let r=null,i=!1;return s.forEach((e=>{Is(e)?("CommonJS"===r&&this.raise(Fs.AmbiguousDeclareModuleKind,{at:e}),r="ES"):"DeclareModuleExports"===e.type&&(i&&this.raise(Fs.DuplicateDeclareModuleExports,{at:e}),"ES"===r&&this.raise(Fs.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(126)||this.isContextual(125))&&!t){let e=this.state.value;throw this.raise(Fs.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:e,suggestion:js[e]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(127))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(125)||this.isContextual(126)||this.isContextual(127))return"ExportNamedDeclaration"===(e=this.parseExport(e)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;throw this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(108),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){return this.next(),this.flowParseTypeAlias(e),e.type="DeclareTypeAlias",e}flowParseDeclareOpaqueType(e){return this.next(),this.flowParseOpaqueType(e,!0),e.type="DeclareOpaqueType",e}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?ht: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(this.isContextual(114)){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12))}if(this.isContextual(110)){this.next();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),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){"_"===e&&this.raise(Fs.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(e,t,s){!Ns.has(e)||this.raise(s?Fs.AssignReservedType:Fs.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(126),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&&void 0!==arguments[0]&&arguments[0],t=this.state.startLoc,s=this.startNode(),r=this.flowParseVariance(),i=this.flowParseTypeAnnotatableIdentifier();return s.name=i.name,s.variance=r,s.bound=i.typeAnnotation,this.match(29)?(this.eat(29),s.default=this.flowParseType()):e&&this.raise(Fs.MissingTypeParamDefault,{at:t}),this.finishNode(s,"TypeParameter")}flowParseTypeParameterDeclaration(){let e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(47)||this.match(138)?this.next():this.unexpected();let s=!1;do{let e=this.flowParseTypeParameter(s);t.params.push(e),e.default&&(s=!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 s=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=s,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(125),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(130)||this.match(129)?this.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,t,s){return e.static=t,14===this.lookahead().type?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=s,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.start,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 s=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(s),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType(e){let{allowStatic:t,allowExact:s,allowSpread:r,allowProto:i,allowInexact:n}=e,a=this.state.inType;this.state.inType=!0;let o=this.startNode();o.callProperties=[],o.properties=[],o.indexers=[],o.internalSlots=[];let c,u,l=!1;for(s&&this.match(6)?(this.expect(6),c=9,u=!0):(this.expect(5),c=8,u=!1),o.exact=u;!this.match(c);){let e=!1,s=null,a=null,c=this.startNode();if(i&&this.isContextual(115)){let e=this.lookahead();14!==e.type&&17!==e.type&&(this.next(),s=this.state.startLoc,t=!1)}if(t&&this.isContextual(104)){let t=this.lookahead();14!==t.type&&17!==t.type&&(this.next(),e=!0)}let p=this.flowParseVariance();if(this.eat(0))null!=s&&this.unexpected(s),this.eat(0)?(p&&this.unexpected(p.loc.start),o.internalSlots.push(this.flowParseObjectTypeInternalSlot(c,e))):o.indexers.push(this.flowParseObjectTypeIndexer(c,e,p));else if(this.match(10)||this.match(47))null!=s&&this.unexpected(s),p&&this.unexpected(p.loc.start),o.callProperties.push(this.flowParseObjectTypeCallProperty(c,e));else{let t="init";(this.isContextual(98)||this.isContextual(103))&&se(this.lookahead().type)&&(t=this.state.value,this.next());let i=this.flowParseObjectTypeProperty(c,e,s,p,t,r,null!=n?n:!u);null===i?(l=!0,a=this.state.lastTokStartLoc):o.properties.push(i)}this.flowObjectTypeSemicolon(),a&&!this.match(8)&&!this.match(9)&&this.raise(Fs.UnexpectedExplicitInexactInObject,{at:a})}this.expect(c),r&&(o.inexact=l);let p=this.finishNode(o,"ObjectTypeAnnotation");return this.state.inType=a,p}flowParseObjectTypeProperty(e,t,s,r,i,n,a){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(n?a||this.raise(Fs.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(Fs.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),r&&this.raise(Fs.InexactVariance,{at:r}),null):(n||this.raise(Fs.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),null!=s&&this.unexpected(s),r&&this.raise(Fs.SpreadVariance,{at:r}),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=s,e.kind=i;let a=!1;return this.match(47)||this.match(10)?(e.method=!0,null!=s&&this.unexpected(s),r&&this.unexpected(r.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start)),("get"===i||"set"===i)&&this.flowCheckGetterSetterParams(e),!n&&"constructor"===e.key.name&&e.value.this&&this.raise(Fs.ThisParamBannedInConstructor,{at:e.value.this})):("init"!==i&&this.unexpected(),e.method=!1,this.eat(17)&&(a=!0),e.value=this.flowParseTypeInitialiser(),e.variance=r),e.optional=a,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){let t="get"===e.kind?0:1,s=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise("get"===e.kind?Fs.GetterMayNotHaveThisParam:Fs.SetterMayNotHaveThisParam,{at:e.value.this}),s!==t&&this.raise("get"===e.kind?T.BadGetterArity:T.BadSetterArity,{at:e}),"set"===e.kind&&e.value.rest&&this.raise(T.BadSetterRestParameter,{at:e})}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,t,s){e=e||this.state.start,t=t||this.state.startLoc;let r=s||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let s=this.startNodeAt(e,t);s.qualification=r,s.id=this.flowParseRestrictedIdentifier(!0),r=this.finishNode(s,"QualifiedTypeIdentifier")}return r}flowParseGenericType(e,t,s){let r=this.startNodeAt(e,t);return r.typeParameters=null,r.id=this.flowParseQualifiedTypeIdentifier(e,t,s),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(r,"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,s=!1,r=null,i=this.startNode(),n=this.lookahead(),a=78===this.state.type;return 14===n.type||17===n.type?(a&&!e&&this.raise(Fs.ThisParamMustBeFirst,{at:i}),t=this.parseIdentifier(a),this.eat(17)&&(s=!0,a&&this.raise(Fs.ThisParamMayNotBeOptional,{at:i})),r=this.flowParseTypeInitialiser()):r=this.flowParseType(),i.name=t,i.optional=s,i.typeAnnotation=r,this.finishNode(i,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){let t=this.startNodeAt(e.start,e.loc.start);return t.name=null,t.optional=!1,t.typeAnnotation=e,this.finishNode(t,"FunctionTypeParam")}flowParseFunctionTypeParams(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=null,s=null;for(this.match(78)&&(s=this.flowParseFunctionTypeParam(!0),s.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:s}}flowIdentToTypeAnnotation(e,t,s,r){switch(r.name){case"any":return this.finishNode(s,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(s,"BooleanTypeAnnotation");case"mixed":return this.finishNode(s,"MixedTypeAnnotation");case"empty":return this.finishNode(s,"EmptyTypeAnnotation");case"number":return this.finishNode(s,"NumberTypeAnnotation");case"string":return this.finishNode(s,"StringTypeAnnotation");case"symbol":return this.finishNode(s,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(r.name),this.flowParseGenericType(e,t,r)}}flowParsePrimaryType(){let e,t,s=this.state.start,r=this.state.startLoc,i=this.startNode(),n=!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,t=this.flowParseTupleType(),this.state.noAnonFunctionType=a,t;case 47:return i.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),e=this.flowParseFunctionTypeParams(),i.params=e.params,i.rest=e.rest,i.this=e._this,this.expect(11),this.expect(19),i.returnType=this.flowParseType(),this.finishNode(i,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(Z(this.state.type)||this.match(78)){let e=this.lookahead().type;n=17!==e&&14!==e}else n=!0;if(n){if(this.state.noAnonFunctionType=!1,t=this.flowParseType(),this.state.noAnonFunctionType=a,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),t;this.eat(12)}return e=t?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(t)]):this.flowParseFunctionTypeParams(),i.params=e.params,i.rest=e.rest,i.this=e._this,this.expect(11),this.expect(19),i.returnType=this.flowParseType(),i.typeParameters=null,this.finishNode(i,"FunctionTypeAnnotation");case 129:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return i.value=this.match(85),this.next(),this.finishNode(i,"BooleanLiteralTypeAnnotation");case 53:if("-"===this.state.value){if(this.next(),this.match(130))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",i);if(this.match(131))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",i);throw this.raise(Fs.UnexpectedSubtractionOperand,{at:this.state.startLoc})}throw this.unexpected();case 130:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(i,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(i,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(i,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(i,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(ce(this.state.type)){let e=me(this.state.type);return this.next(),super.createIdentifier(i,e)}if(Z(this.state.type))return this.isContextual(125)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(s,r,i,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){let e=this.state.start,t=this.state.startLoc,s=this.flowParsePrimaryType(),r=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let i=this.startNodeAt(e,t),n=this.eat(18);r=r||n,this.expect(0),!n&&this.match(3)?(i.elementType=s,this.next(),s=this.finishNode(i,"ArrayTypeAnnotation")):(i.objectType=s,i.indexType=this.flowParseType(),this.expect(3),r?(i.optional=n,s=this.finishNode(i,"OptionalIndexedAccessType")):s=this.finishNode(i,"IndexedAccessType"))}return s}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.start,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 1===e.types.length?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 1===e.types.length?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(128===this.state.type&&"_"===this.state.value){let e=this.state.start,t=this.state.startLoc,s=this.parseIdentifier();return this.flowParseGenericType(e,t,s)}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 s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t?this.forwardNoArrowParamsConversionAt(e,(()=>super.parseFunctionBody(e,!0,s))):super.parseFunctionBody(e,!1,s)}parseFunctionBodyAndFinish(e,t){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.match(14)){let t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,s)}parseStatement(e,t){if(this.state.strict&&this.isContextual(125)){if(te(this.lookahead().type)){let e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(122)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}let s=super.parseStatement(e,t);return void 0===this.flowPragma&&!this.isValidDirective(s)&&(this.flowPragma=null),s}parseExpressionStatement(e,t){if("Identifier"===t.type)if("declare"===t.name){if(this.match(80)||Z(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(Z(this.state.type)){if("interface"===t.name)return this.flowParseInterface(e);if("type"===t.name)return this.flowParseTypeAlias(e);if("opaque"===t.name)return this.flowParseOpaqueType(e,!1)}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){let{type:e}=this.state;return ae(e)||this.shouldParseEnums()&&122===e?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:e}=this.state;return ae(e)||this.shouldParseEnums()&&122===e?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(122)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,s,r){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let t=this.lookaheadCharCode();if(44===t||61===t||58===t||41===t)return this.setOptionalParametersError(r),e}this.expect(17);let i=this.state.clone(),n=this.state.noArrowAt,a=this.startNodeAt(t,s),{consequent:o,failed:c}=this.tryParseConditionalConsequent(),[u,l]=this.getArrowLikeExpressions(o);if(c||l.length>0){let e=[...n];if(l.length>0){this.state=i,this.state.noArrowAt=e;for(let t=0;t<l.length;t++)e.push(l[t].start);({consequent:o,failed:c}=this.tryParseConditionalConsequent()),[u,l]=this.getArrowLikeExpressions(o)}c&&u.length>1&&this.raise(Fs.AmbiguousConditionalArrow,{at:i.startLoc}),c&&1===u.length&&(this.state=i,e.push(u[0].start),this.state.noArrowAt=e,({consequent:o,failed:c}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(o,!0),this.state.noArrowAt=n,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 s=[e],r=[];for(;0!==s.length;){let e=s.pop();"ArrowFunctionExpression"===e.type?(e.typeParameters||!e.returnType?this.finishArrowValidation(e):r.push(e),s.push(e.body)):"ConditionalExpression"===e.type&&(s.push(e.consequent),s.push(e.alternate))}return t?(r.forEach((e=>this.finishArrowValidation(e))),[r,[]]):Bs(r,(e=>e.params.every((e=>this.isAssignable(e,!0)))))}finishArrowValidation(e){var t;this.toAssignableList(e.params,null==(t=e.extra)?void 0:t.trailingCommaLoc,!1),this.scope.enter($e|He),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let s;return-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),s=t(),this.state.noArrowParamsConversionAt.pop()):s=t(),s}parseParenItem(e,t,s){if(e=super.parseParenItem(e,t,s),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){let r=this.startNodeAt(t,s);return r.expression=e,r.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(r,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){"ImportDeclaration"===e.type&&("type"===e.importKind||"typeof"===e.importKind)||"ExportNamedDeclaration"===e.type&&"type"===e.exportKind||"ExportAllDeclaration"===e.type&&"type"===e.exportKind||super.assertModuleNodeAllowed(e)}parseExport(e){let t=super.parseExport(e);return("ExportNamedDeclaration"===t.type||"ExportAllDeclaration"===t.type)&&(t.exportKind=t.exportKind||"value"),t}parseExportDeclaration(e){if(this.isContextual(126)){e.exportKind="type";let t=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),this.parseExportFrom(e),null):this.flowParseTypeAlias(t)}if(this.isContextual(127)){e.exportKind="type";let t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}if(this.isContextual(125)){e.exportKind="type";let t=this.startNode();return this.next(),this.flowParseInterface(t)}if(this.shouldParseEnums()&&this.isContextual(122)){e.exportKind="value";let t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDeclaration(e)}eatExportStar(e){return!!super.eatExportStar(...arguments)||!(!this.isContextual(126)||55!==this.lookahead().type)&&(e.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(e){let{startLoc:t}=this.state,s=super.maybeParseExportNamespaceSpecifier(e);return s&&"type"===e.exportKind&&this.unexpected(t),s}parseClassId(e,t,s){super.parseClassId(e,t,s),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,t,s){let{startLoc:r}=this.state;if(this.isContextual(121)){if(this.parseClassMemberFromModifier(e,t))return;t.declare=!0}super.parseClassMember(e,t,s),t.declare&&("ClassProperty"!==t.type&&"ClassPrivateProperty"!==t.type&&"PropertyDefinition"!==t.type?this.raise(Fs.DeclareClassElement,{at:r}):t.value&&this.raise(Fs.DeclareClassFieldInitializer,{at:t.value}))}isIterator(e){return"iterator"===e||"asyncIterator"===e}readIterator(){let e=super.readWord1(),t="@@"+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(T.InvalidIdentifier,{at:this.state.curPosition(),identifierName:t}),this.finishToken(128,t)}getTokenFromCode(e){let t=this.input.charCodeAt(this.state.pos+1);return 123===e&&124===t?this.finishOp(6,2):!this.state.inType||62!==e&&60!==e?this.state.inType&&63===e?46===t?this.finishOp(18,2):this.finishOp(17,1):Me(e,t,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e):this.finishOp(62===e?48:47,1)}isAssignable(e,t){return"TypeCastExpression"===e.type?this.isAssignable(e.expression,t):super.isAssignable(e,t)}toAssignable(e){!(arguments.length>1&&void 0!==arguments[1]&&arguments[1])&&"AssignmentExpression"===e.type&&"TypeCastExpression"===e.left.type&&(e.left=this.typeCastToParameter(e.left)),super.toAssignable(...arguments)}toAssignableList(e,t,s){for(let t=0;t<e.length;t++){let s=e[t];"TypeCastExpression"===(null==s?void 0:s.type)&&(e[t]=this.typeCastToParameter(s))}super.toAssignableList(e,t,s)}toReferencedList(e,t){for(let r=0;r<e.length;r++){var s;let i=e[r];i&&"TypeCastExpression"===i.type&&(null==(s=i.extra)||!s.parenthesized)&&(e.length>1||!t)&&this.raise(Fs.TypeCastInPattern,{at:i.typeAnnotation})}return e}parseArrayLike(e,t,s,r){let i=super.parseArrayLike(e,t,s,r);return t&&!this.state.maybeInArrowParameters&&this.toReferencedList(i.elements),i}isValidLVal(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),r=1;r<t;r++)s[r-1]=arguments[r];return"TypeCastExpression"===e||super.isValidLVal(e,...s)}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,s,r,i,n){if(t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,t,s,r,i,n),t.params&&i){let e=t.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Fs.ThisParamBannedInConstructor,{at:t})}else if("MethodDefinition"===t.type&&i&&t.value.params){let e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Fs.ThisParamBannedInConstructor,{at:t})}}pushClassPrivateMethod(e,t,s,r){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,s,r)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(47)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(110)){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 s=t[0];this.isThisParam(s)&&"get"===e.kind?this.raise(Fs.GetterMayNotHaveThisParam,{at:s}):this.isThisParam(s)&&this.raise(Fs.SetterMayNotHaveThisParam,{at:s})}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,s,r,i,n,a,o){let c;e.variance&&this.unexpected(e.variance.loc.start),delete e.variance,this.match(47)&&!a&&(c=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected()),super.parseObjPropValue(e,t,s,r,i,n,a,o),c&&((e.value||e).typeParameters=c)}parseAssignableListItemTypes(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(Fs.PatternIsOptional,{at:e}),this.isThisParam(e)&&this.raise(Fs.ThisParamMayNotBeOptional,{at:e}),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(Fs.ThisParamAnnotationRequired,{at:e}),this.match(29)&&this.isThisParam(e)&&this.raise(Fs.ThisParamNoDefault,{at:e}),this.resetEndLocation(e),e}parseMaybeDefault(e,t,s){let r=super.parseMaybeDefault(e,t,s);return"AssignmentPattern"===r.type&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start&&this.raise(Fs.TypeBeforeInitializer,{at:r.typeAnnotation}),r}shouldParseDefaultImport(e){return _s(e)?Os(this.state.type):super.shouldParseDefaultImport(e)}parseImportSpecifierLocal(e,t,s){t.local=_s(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,s))}maybeParseDefaultImportSpecifier(e){e.importKind="value";let t=null;if(this.match(87)?t="typeof":this.isContextual(126)&&(t="type"),t){let s=this.lookahead(),{type:r}=s;"type"===t&&55===r&&this.unexpected(null,s.type),(Os(r)||5===r||55===r)&&(this.next(),e.importKind=t)}return super.maybeParseDefaultImportSpecifier(e)}parseImportSpecifier(e,t,s,r){let i=e.imported,n=null;"Identifier"===i.type&&("type"===i.name?n="type":"typeof"===i.name&&(n="typeof"));let a=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let t=this.parseIdentifier(!0);null===n||te(this.state.type)?(e.imported=i,e.importKind=null,e.local=this.parseIdentifier()):(e.imported=t,e.importKind=n,e.local=Ps(t))}else{if(null!==n&&te(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=n;else{if(t)throw this.raise(T.ImportBindingIsString,{at:e,importName:i.value});e.imported=i,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():(a=!0,e.local=Ps(e.imported))}let o=_s(e);return s&&o&&this.raise(Fs.ImportTypeShorthandOnlyInPureImport,{at:e}),(s||o)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),a&&!s&&!o&&this.checkReservedWord(e.local.name,e.loc.start,!0,!0),this.finishImportSpecifier(e,"ImportSpecifier")}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(e,t){let s=e.kind;"get"!==s&&"set"!==s&&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 s;let r,i=null;if(this.hasPlugin("jsx")&&(this.match(138)||this.match(47))){if(i=this.state.clone(),r=this.tryParse((()=>super.parseMaybeAssign(e,t)),i),!r.error)return r.node;let{context:s}=this.state,n=s[s.length-1];(n===I.j_oTag||n===I.j_expr)&&s.pop()}if(null!=(s=r)&&s.error||this.match(47)){var n,a;i=i||this.state.clone();let s,o=this.tryParse((r=>{var i;s=this.flowParseTypeParameterDeclaration();let n=this.forwardNoArrowParamsConversionAt(s,(()=>{let r=super.parseMaybeAssign(e,t);return this.resetStartLocationFromNode(r,s),r}));null!=(i=n.extra)&&i.parenthesized&&r();let a=this.maybeUnwrapTypeCastExpression(n);return"ArrowFunctionExpression"!==a.type&&r(),a.typeParameters=s,this.resetStartLocationFromNode(a,s),n}),i),c=null;if(o.node&&"ArrowFunctionExpression"===this.maybeUnwrapTypeCastExpression(o.node).type){if(!o.error&&!o.aborted)return o.node.async&&this.raise(Fs.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:s}),o.node;c=o.node}if(null!=(n=r)&&n.node)return this.state=r.failState,r.node;if(c)return this.state=o.failState,c;throw null!=(a=r)&&a.thrown?r.error:o.thrown?o.error:this.raise(Fs.UnexpectedTokenAfterTypeParameter,{at:s})}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 s=this.startNode();return[s.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=t,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),s}));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){-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?e.params=t:super.setArrowFunctionParameters(e,t)}checkParams(e,t,s){if(!s||-1===this.state.noArrowParamsConversionAt.indexOf(e.start)){for(let t=0;t<e.params.length;t++)this.isThisParam(e.params[t])&&t>0&&this.raise(Fs.ThisParamMustBeFirst,{at:e.params[t]});return super.checkParams(...arguments)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&-1===this.state.noArrowAt.indexOf(this.state.start))}parseSubscripts(e,t,s,r){if("Identifier"===e.type&&"async"===e.name&&-1!==this.state.noArrowAt.indexOf(t)){this.next();let r=this.startNodeAt(t,s);r.callee=e,r.arguments=this.parseCallExpressionArguments(11,!1),e=this.finishNode(r,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.match(47)){let i=this.state.clone(),n=this.tryParse((e=>this.parseAsyncArrowWithTypeParameters(t,s)||e()),i);if(!n.error&&!n.aborted)return n.node;let a=this.tryParse((()=>super.parseSubscripts(e,t,s,r)),i);if(a.node&&!a.error)return a.node;if(n.node)return this.state=n.failState,n.node;if(a.node)return this.state=a.failState,a.node;throw n.error||a.error}return super.parseSubscripts(e,t,s,r)}parseSubscript(e,t,s,r,i){if(this.match(18)&&this.isLookaheadToken_lt()){if(i.optionalChainMember=!0,r)return i.stop=!0,e;this.next();let n=this.startNodeAt(t,s);return n.callee=e,n.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),n.arguments=this.parseCallExpressionArguments(11,!1),n.optional=!0,this.finishCallExpression(n,!0)}if(!r&&this.shouldParseTypes()&&this.match(47)){let r=this.startNodeAt(t,s);r.callee=e;let n=this.tryParse((()=>(r.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),r.arguments=this.parseCallExpressionArguments(11,!1),i.optionalChainMember&&(r.optional=!1),this.finishCallExpression(r,i.optionalChainMember))));if(n.node)return n.error&&(this.state=n.failState),n.node}return super.parseSubscript(e,t,s,r,i)}parseNewCallee(e){super.parseNewCallee(e);let t=null;this.shouldParseTypes()&&this.match(47)&&(t=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node),e.typeArguments=t}parseAsyncArrowWithTypeParameters(e,t){let s=this.startNodeAt(e,t);if(this.parseFunctionParams(s),this.parseArrow(s))return this.parseArrowExpression(s,void 0,!0)}readToken_mult_modulo(e){let t=this.input.charCodeAt(this.state.pos+1);if(42===e&&47===t&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(e)}readToken_pipe_amp(e){let t=this.input.charCodeAt(this.state.pos+1);124!==e||125!==t?super.readToken_pipe_amp(e):this.finishOp(9,2)}parseTopLevel(e,t){let s=super.parseTopLevel(e,t);return this.state.hasFlowComment&&this.raise(Fs.UnterminatedFlowComment,{at:this.state.curPosition()}),s}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(Fs.NestedFlowComment,{at:this.state.startLoc});return this.hasFlowCommentCompletion(),this.state.pos+=this.skipFlowComment(),void(this.state.hasFlowComment=!0)}if(!this.state.hasFlowComment)return super.skipBlockComment();{let e=this.input.indexOf("*-/",this.state.pos+2);if(-1===e)throw this.raise(T.UnterminatedComment,{at:this.state.curPosition()});this.state.pos=e+2+3}}skipFlowComment(){let{pos:e}=this.state,t=2;for(;[32,9].includes(this.input.charCodeAt(e+t));)t++;let s=this.input.charCodeAt(t+e),r=this.input.charCodeAt(t+e+1);return 58===s&&58===r?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===s&&58!==r&&t}hasFlowCommentCompletion(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(T.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(e,t){let{enumName:s,memberName:r}=t;this.raise(Fs.EnumBooleanMemberNotInitialized,{at:e,memberName:r,enumName:s})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(t.explicitType?"symbol"===t.explicitType?Fs.EnumInvalidMemberInitializerSymbolType:Fs.EnumInvalidMemberInitializerPrimaryType:Fs.EnumInvalidMemberInitializerUnknownType,Object.assign({at:e},t))}flowEnumErrorNumberMemberNotInitialized(e,t){let{enumName:s,memberName:r}=t;this.raise(Fs.EnumNumberMemberNotInitialized,{at:e,enumName:s,memberName:r})}flowEnumErrorStringMemberInconsistentlyInitailized(e,t){let{enumName:s}=t;this.raise(Fs.EnumStringMemberInconsistentlyInitailized,{at:e,enumName:s})}flowEnumMemberInit(){let e=this.state.startLoc,t=()=>this.match(12)||this.match(8);switch(this.state.type){case 130:{let s=this.parseNumericLiteral(this.state.value);return t()?{type:"number",loc:s.loc.start,value:s}:{type:"invalid",loc:e}}case 129:{let s=this.parseStringLiteral(this.state.value);return t()?{type:"string",loc:s.loc.start,value:s}:{type:"invalid",loc:e}}case 85:case 86:{let s=this.parseBooleanLiteral(this.match(85));return t()?{type:"boolean",loc:s.loc.start,value:s}:{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,s){let{explicitType:r}=t;null!==r&&r!==s&&this.flowEnumErrorInvalidMemberInitializer(e,t)}flowEnumMembers(e){let{enumName:t,explicitType:s}=e,r=new Set,i={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},n=!1;for(;!this.match(8);){if(this.eat(21)){n=!0;break}let e=this.startNode(),{id:a,init:o}=this.flowEnumMemberRaw(),c=a.name;if(""===c)continue;/^[a-z]/.test(c)&&this.raise(Fs.EnumInvalidMemberName,{at:a,memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:t}),r.has(c)&&this.raise(Fs.EnumDuplicateMemberName,{at:a,memberName:c,enumName:t}),r.add(c);let u={enumName:t,explicitType:s,memberName:c};switch(e.id=a,o.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(o.loc,u,"boolean"),e.init=o.value,i.booleanMembers.push(this.finishNode(e,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(o.loc,u,"number"),e.init=o.value,i.numberMembers.push(this.finishNode(e,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(o.loc,u,"string"),e.init=o.value,i.stringMembers.push(this.finishNode(e,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(o.loc,u);case"none":switch(s){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.loc,u);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.loc,u);break;default:i.defaultedMembers.push(this.finishNode(e,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:i,hasUnknownMembers:n}}flowEnumStringMembers(e,t,s){let{enumName:r}=s;if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){for(let t of e)this.flowEnumErrorStringMemberInconsistentlyInitailized(t,{enumName:r});return t}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(!Z(this.state.type))throw this.raise(Fs.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:t});let{value:s}=this.state;return this.next(),"boolean"!==s&&"number"!==s&&"string"!==s&&"symbol"!==s&&this.raise(Fs.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:t,invalidEnumType:s}),s}flowEnumBody(e,t){let s=t.name,r=t.loc.start,i=this.flowEnumParseExplicitType({enumName:s});this.expect(5);let{members:n,hasUnknownMembers:a}=this.flowEnumMembers({enumName:s,explicitType:i});switch(e.hasUnknownMembers=a,i){case"boolean":return e.explicitType=!0,e.members=n.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=n.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(n.stringMembers,n.defaultedMembers,{enumName:s}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=n.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=n.booleanMembers.length,a=n.numberMembers.length,o=n.stringMembers.length,c=n.defaultedMembers.length;if(!(i||a||o||c))return t();if(!i&&!a)return e.members=this.flowEnumStringMembers(n.stringMembers,n.defaultedMembers,{enumName:s}),this.expect(8),this.finishNode(e,"EnumStringBody");if(!a&&!o&&i>=c){for(let e of n.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(e.loc.start,{enumName:s,memberName:e.id.name});return e.members=n.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}if(!i&&!o&&a>=c){for(let e of n.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(e.loc.start,{enumName:s,memberName:e.id.name});return e.members=n.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}return this.raise(Fs.EnumInconsistentMemberValues,{at:r,enumName:s}),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(60===this.input.charCodeAt(e)){let t=this.input.charCodeAt(e+1);return 60!==t&&61!==t}return!1}maybeUnwrapTypeCastExpression(e){return"TypeCastExpression"===e.type?e.expression:e}},Rs={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},Us=D(i||(i=o(["jsx"])))((e=>({AttributeIsEmpty:e("JSX attributes must only be assigned a non-empty expression."),MissingClosingTagElement:e((e=>{let{openingTagName:t}=e;return"Expected corresponding JSX closing tag for <".concat(t,">.")})),MissingClosingTagFragment:e("Expected corresponding JSX closing tag for <>."),UnexpectedSequenceExpression:e("Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?"),UnexpectedToken:e((e=>{let{unexpected:t,HTMLEntity:s}=e;return"Unexpected token `".concat(t,"`. Did you mean `").concat(s,"` or `{'").concat(t,"'}`?")})),UnsupportedJsxValue:e("JSX value should be either an expression or a quoted JSX text."),UnterminatedJsxContent:e("Unterminated JSX contents."),UnwrappedAdjacentJSXElements:e("Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?")})));function qs(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function zs(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return zs(e.object)+"."+zs(e.property);throw new Error("Node had unexpected type: "+e.type)}var $s=e=>class extends e{jsxReadToken(){let e="",t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Us.UnterminatedJsxContent,{at:this.state.startLoc});let s=this.input.charCodeAt(this.state.pos);switch(s){case 60:case 123:return this.state.pos===this.state.start?60===s&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(138)):super.getTokenFromCode(s):(e+=this.input.slice(t,this.state.pos),this.finishToken(137,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:Rt(s)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){let t,s=this.input.charCodeAt(this.state.pos);return++this.state.pos,13===s&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(s),++this.state.curLine,this.state.lineStart=this.state.pos,t}jsxReadString(e){let t="",s=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(T.UnterminatedString,{at:this.state.startLoc});let r=this.input.charCodeAt(this.state.pos);if(r===e)break;38===r?(t+=this.input.slice(s,this.state.pos),t+=this.jsxReadEntity(),s=this.state.pos):Rt(r)?(t+=this.input.slice(s,this.state.pos),t+=this.jsxReadNewLine(!1),s=this.state.pos):++this.state.pos}return t+=this.input.slice(s,this.state.pos++),this.finishToken(129,t)}jsxReadEntity(){let e=++this.state.pos;if(35===this.codePointAtPos(this.state.pos)){++this.state.pos;let e=10;120===this.codePointAtPos(this.state.pos)&&(e=16,++this.state.pos);let t=this.readInt(e,void 0,!1,"bail");if(null!==t&&59===this.codePointAtPos(this.state.pos))return++this.state.pos,String.fromCodePoint(t)}else{let t=0,s=!1;for(;t++<10&&this.state.pos<this.length&&!(s=59==this.codePointAtPos(this.state.pos));)++this.state.pos;if(s){let t=this.input.slice(e,this.state.pos),s=Rs[t];if(++this.state.pos,s)return s}}return this.state.pos=e,"&"}jsxReadWord(){let e,t=this.state.pos;do{e=this.input.charCodeAt(++this.state.pos)}while(Se(e)||45===e);return this.finishToken(136,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){let e=this.startNode();return this.match(136)?e.name=this.state.value:ce(this.state.type)?e.name=me(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){let e=this.state.start,t=this.state.startLoc,s=this.jsxParseIdentifier();if(!this.eat(14))return s;let r=this.startNodeAt(e,t);return r.namespace=s,r.name=this.jsxParseIdentifier(),this.finishNode(r,"JSXNamespacedName")}jsxParseElementName(){let e=this.state.start,t=this.state.startLoc,s=this.jsxParseNamespacedName();if("JSXNamespacedName"===s.type)return s;for(;this.eat(16);){let r=this.startNodeAt(e,t);r.object=s,r.property=this.jsxParseIdentifier(),s=this.finishNode(r,"JSXMemberExpression")}return s}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),"JSXEmptyExpression"===e.expression.type&&this.raise(Us.AttributeIsEmpty,{at:e}),e;case 138:case 129:return this.parseExprAtom();default:throw this.raise(Us.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){let e=this.startNodeAt(this.state.lastTokEndLoc.index,this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.setContext(I.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e,t){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{let t=this.parseExpression();e.expression=t}return 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,t){let s=this.startNodeAt(e,t);return this.eat(139)?this.finishNode(s,"JSXOpeningFragment"):(s.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(s))}jsxParseOpeningElementAfterName(e){let t=[];for(;!this.match(56)&&!this.match(139);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(56),this.expect(139),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e,t){let s=this.startNodeAt(e,t);return this.eat(139)?this.finishNode(s,"JSXClosingFragment"):(s.name=this.jsxParseElementName(),this.expect(139),this.finishNode(s,"JSXClosingElement"))}jsxParseElementAt(e,t){let s=this.startNodeAt(e,t),r=[],i=this.jsxParseOpeningElementAt(e,t),n=null;if(!i.selfClosing){e:for(;;)switch(this.state.type){case 138:if(e=this.state.start,t=this.state.startLoc,this.next(),this.eat(56)){n=this.jsxParseClosingElementAt(e,t);break e}r.push(this.jsxParseElementAt(e,t));break;case 137:r.push(this.parseExprAtom());break;case 5:{let e=this.startNode();this.setContext(I.brace),this.next(),this.match(21)?r.push(this.jsxParseSpreadChild(e)):r.push(this.jsxParseExpressionContainer(e,I.j_expr));break}default:throw this.unexpected()}qs(i)&&!qs(n)&&null!==n?this.raise(Us.MissingClosingTagFragment,{at:n}):(!qs(i)&&qs(n)||!qs(i)&&!qs(n)&&zs(n.name)!==zs(i.name))&&this.raise(Us.MissingClosingTagElement,{at:n,openingTagName:zs(i.name)})}if(qs(i)?(s.openingFragment=i,s.closingFragment=n):(s.openingElement=i,s.closingElement=n),s.children=r,this.match(47))throw this.raise(Us.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return qs(i)?this.finishNode(s,"JSXFragment"):this.finishNode(s,"JSXElement")}jsxParseElement(){let e=this.state.start,t=this.state.startLoc;return this.next(),this.jsxParseElementAt(e,t)}setContext(e){let{context:t}=this.state;t[t.length-1]=e}parseExprAtom(e){return this.match(137)?this.parseLiteral(this.state.value,"JSXText"):this.match(138)?this.jsxParseElement():this.match(47)&&33!==this.input.charCodeAt(this.state.pos)?(this.replaceToken(138),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(e){let t=this.curContext();if(t===I.j_expr)return this.jsxReadToken();if(t===I.j_oTag||t===I.j_cTag){if(Pe(e))return this.jsxReadWord();if(62===e)return++this.state.pos,this.finishToken(139);if((34===e||39===e)&&t===I.j_oTag)return this.jsxReadString(e)}return 60===e&&this.state.canStartJSXElement&&33!==this.input.charCodeAt(this.state.pos+1)?(++this.state.pos,this.finishToken(138)):super.getTokenFromCode(e)}updateContext(e){let{context:t,type:s}=this.state;if(56===s&&138===e)t.splice(-2,2,I.j_cTag),this.state.canStartJSXElement=!1;else if(138===s)t.push(I.j_oTag);else if(139===s){let s=t[t.length-1];s===I.j_oTag&&56===e||s===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=re(s)}},Hs=class extends Qt{constructor(){super(...arguments),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}},Vs=class extends Zt{createScope(e){return new Hs(e)}declareName(e,t,s){let r=this.currentScope();if(t&ot)return this.maybeExportDefined(r,e),void r.exportOnlyBindings.add(e);super.declareName(...arguments),t&Ze&&(t&Qe||(this.checkRedeclarationInScope(r,e,t,s),this.maybeExportDefined(r,e)),r.types.add(e)),t&nt&&r.enums.add(e),t&at&&r.constEnums.add(e),t&it&&r.classes.add(e)}isRedeclaredInScope(e,t,s){return e.enums.has(t)?!(s&nt)||!!(s&at)!==e.constEnums.has(t):s&it&&e.classes.has(t)?!!e.lexical.has(t)&&!!(s&Qe):!!(s&Ze&&e.types.has(t))||super.isRedeclaredInScope(...arguments)}checkLocalExport(e){let t=this.scopeStack[0],{name:s}=e;!t.types.has(s)&&!t.exportOnlyBindings.has(s)&&super.checkLocalExport(e)}},Gs=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t];function Ws(e){if(null==e)throw new Error("Unexpected ".concat(e," value."));return e}function Js(e){if(!e)throw new Error("Assert fail")}function Xs(e){return ie(e)||ye(e)}var Ks=D(n||(n=o(["typescript"])))((e=>({AbstractMethodHasImplementation:e((e=>{let{methodName:t}=e;return"Method '".concat(t,"' cannot have an implementation because it is marked abstract.")})),AbstractPropertyHasInitializer:e((e=>{let{propertyName:t}=e;return"Property '".concat(t,"' cannot have an initializer because it is marked abstract.")})),AccesorCannotDeclareThisParameter:e("'get' and 'set' accessors cannot declare 'this' parameters."),AccesorCannotHaveTypeParameters:e("An accessor cannot have type parameters."),CannotFindName:e((e=>{let{name:t}=e;return"Cannot find name '".concat(t,"'.")})),ClassMethodHasDeclare:e("Class methods cannot have the 'declare' modifier."),ClassMethodHasReadonly:e("Class methods cannot have the 'readonly' modifier."),ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:e("A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),ConstructorHasTypeParameters:e("Type parameters cannot appear on a constructor declaration."),DeclareAccessor:e((e=>{let{kind:t}=e;return"'declare' is not allowed in ".concat(t,"ters.")})),DeclareClassFieldHasInitializer:e("Initializers are not allowed in ambient contexts."),DeclareFunctionHasImplementation:e("An implementation cannot be declared in ambient contexts."),DuplicateAccessibilityModifier:e((e=>"Accessibility modifier already seen.")),DuplicateModifier:e((e=>{let{modifier:t}=e;return"Duplicate modifier: '".concat(t,"'.")})),EmptyHeritageClauseType:e((e=>{let{token:t}=e;return"'".concat(t,"' list cannot be empty.")})),EmptyTypeArguments:e("Type argument list cannot be empty."),EmptyTypeParameters:e("Type parameter list cannot be empty."),ExpectedAmbientAfterExportDeclare:e("'export declare' must be followed by an ambient declaration."),ImportAliasHasImportType:e("An import alias can not use 'import type'."),IncompatibleModifiers:e((e=>{let{modifiers:t}=e;return"'".concat(t[0],"' modifier cannot be used with '").concat(t[1],"' modifier.")})),IndexSignatureHasAbstract:e("Index signatures cannot have the 'abstract' modifier."),IndexSignatureHasAccessibility:e((e=>{let{modifier:t}=e;return"Index signatures cannot have an accessibility modifier ('".concat(t,"').")})),IndexSignatureHasDeclare:e("Index signatures cannot have the 'declare' modifier."),IndexSignatureHasOverride:e("'override' modifier cannot appear on an index signature."),IndexSignatureHasStatic:e("Index signatures cannot have the 'static' modifier."),InitializerNotAllowedInAmbientContext:e("Initializers are not allowed in ambient contexts."),InvalidModifierOnTypeMember:e((e=>{let{modifier:t}=e;return"'".concat(t,"' modifier cannot appear on a type member.")})),InvalidModifierOnTypeParameter:e((e=>{let{modifier:t}=e;return"'".concat(t,"' modifier cannot appear on a type parameter.")})),InvalidModifierOnTypeParameterPositions:e((e=>{let{modifier:t}=e;return"'".concat(t,"' modifier can only appear on a type parameter of a class, interface or type alias.")})),InvalidModifiersOrder:e((e=>{let{orderedModifiers:t}=e;return"'".concat(t[0],"' modifier must precede '").concat(t[1],"' modifier.")})),InvalidTupleMemberLabel:e("Tuple members must be labeled with a simple identifier."),MissingInterfaceName:e("'interface' declarations must be followed by an identifier."),MixedLabeledAndUnlabeledElements:e("Tuple members must all have names or all not have names."),NonAbstractClassHasAbstractMethod:e("Abstract methods can only appear within an abstract class."),NonClassMethodPropertyHasAbstractModifer:e("'abstract' modifier can only appear on a class, method, or property declaration."),OptionalTypeBeforeRequired:e("A required element cannot follow an optional element."),OverrideNotInSubClass:e("This member cannot have an 'override' modifier because its containing class does not extend another class."),PatternIsOptional:e("A binding pattern parameter cannot be optional in an implementation signature."),PrivateElementHasAbstract:e("Private elements cannot have the 'abstract' modifier."),PrivateElementHasAccessibility:e((e=>{let{modifier:t}=e;return"Private elements cannot have an accessibility modifier ('".concat(t,"').")})),ReadonlyForMethodSignature:e("'readonly' modifier can only appear on a property declaration or index signature."),ReservedArrowTypeParam:e("This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`."),ReservedTypeAssertion:e("This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),SetAccesorCannotHaveOptionalParameter:e("A 'set' accessor cannot have an optional parameter."),SetAccesorCannotHaveRestParameter:e("A 'set' accessor cannot have rest parameter."),SetAccesorCannotHaveReturnType:e("A 'set' accessor cannot have a return type annotation."),SingleTypeParameterWithoutTrailingComma:e((e=>{let{typeParameterName:t}=e;return"Single type parameter ".concat(t," should have a trailing comma. Example usage: <").concat(t,",>.")})),StaticBlockCannotHaveModifier:e("Static class blocks cannot have any modifier."),TypeAnnotationAfterAssign:e("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeImportCannotSpecifyDefaultAndNamed:e("A type-only import can specify a default import or named bindings, but not both."),TypeModifierIsUsedInTypeExports:e("The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),TypeModifierIsUsedInTypeImports:e("The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),UnexpectedParameterModifier:e("A parameter property is only allowed in a constructor implementation."),UnexpectedReadonly:e("'readonly' type modifier is only permitted on array and tuple literal types."),UnexpectedTypeAnnotation:e("Did not expect a type annotation here."),UnexpectedTypeCastInParameter:e("Unexpected type cast in parameter position."),UnsupportedImportTypeArgument:e("Argument in a type import must be a string literal."),UnsupportedParameterPropertyKind:e("A parameter property may not be declared using a binding pattern."),UnsupportedSignatureParameterKind:e((e=>{let{type:t}=e;return"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ".concat(t,".")}))})));function Ys(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 Qs(e){return"private"===e||"public"===e||"protected"===e}function Zs(e){return"in"===e||"out"===e}var er=e=>class extends e{getScopeHandler(){return Vs}tsIsIdentifier(){return Z(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(134)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!Z(this.state.type)&&58!==this.state.type)return;let s=this.state.value;if(-1!==e.indexOf(s)){if(t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return s}}tsParseModifiers(e){let{modified:t,allowedModifiers:s,disallowedModifiers:r,stopOnStartOfClassStaticBlock:i,errorTemplate:n=Ks.InvalidModifierOnTypeMember}=e,a=(e,s,r,i)=>{s===r&&t[i]&&this.raise(Ks.InvalidModifiersOrder,{at:e,orderedModifiers:[r,i]})},o=(e,s,r,i)=>{(t[r]&&s===i||t[i]&&s===r)&&this.raise(Ks.IncompatibleModifiers,{at:e,modifiers:[r,i]})};for(;;){let{startLoc:e}=this.state,c=this.tsParseModifier(s.concat(null!=r?r:[]),i);if(!c)break;Qs(c)?t.accessibility?this.raise(Ks.DuplicateAccessibilityModifier,{at:e,modifier:c}):(a(e,c,c,"override"),a(e,c,c,"static"),a(e,c,c,"readonly"),t.accessibility=c):Zs(c)?(t[c]&&this.raise(Ks.DuplicateModifier,{at:e,modifier:c}),t[c]=!0,a(e,c,"in","out")):(Object.hasOwnProperty.call(t,c)?this.raise(Ks.DuplicateModifier,{at:e,modifier:c}):(a(e,c,"static","readonly"),a(e,c,"static","override"),a(e,c,"override","readonly"),a(e,c,"abstract","override"),o(e,c,"declare","override"),o(e,c,"static","abstract")),t[c]=!0),null!=r&&r.includes(c)&&this.raise(n,{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)}throw new Error("Unreachable")}tsParseList(e,t){let s=[];for(;!this.tsIsListTerminator(e);)s.push(t());return s}tsParseDelimitedList(e,t,s){return Ws(this.tsParseDelimitedListWorker(e,t,!0,s))}tsParseDelimitedListWorker(e,t,s,r){let i=[],n=-1;for(;!this.tsIsListTerminator(e);){n=-1;let r=t();if(null==r)return;if(i.push(r),!this.eat(12)){if(this.tsIsListTerminator(e))break;return void(s&&this.expect(12))}n=this.state.lastTokStart}return r&&(r.value=n),i}tsParseBracketedList(e,t,s,r,i){r||(s?this.expect(0):this.expect(47));let n=this.tsParseDelimitedList(e,t,i);return s?this.expect(3):this.expect(48),n}tsParseImportType(){let e=this.startNode();return this.expect(83),this.expect(10),this.match(129)||this.raise(Ks.UnsupportedImportTypeArgument,{at:this.state.startLoc}),e.argument=this.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&&void 0!==arguments[0])||arguments[0],t=this.parseIdentifier(e);for(;this.eat(16);){let s=this.startNodeAtNode(t);s.left=t,s.right=this.parseIdentifier(e),t=this.finishNode(s,"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")}tsParseInOutModifiers(e){this.tsParseModifiers({modified:e,allowedModifiers:["in","out"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Ks.InvalidModifierOnTypeParameter})}tsParseNoneModifiers(e){this.tsParseModifiers({modified:e,allowedModifiers:[],disallowedModifiers:["in","out"],errorTemplate:Ks.InvalidModifierOnTypeParameterPositions})}tsParseTypeParameter(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.tsParseNoneModifiers.bind(this),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(138)?this.next():this.unexpected();let s={value:-1};return t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,s),0===t.params.length&&this.raise(Ks.EmptyTypeParameters,{at:t}),-1!==s.value&&this.addExtra(t,"trailingComma",s.value),this.finishNode(t,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(75!==this.lookahead().type)return null;this.next();let e=this.tsParseTypeReference();return e.typeParameters&&this.raise(Ks.CannotFindName,{at:e.typeName,name:"const"}),e}tsFillSignature(e,t){let s=19===e,r="parameters",i="typeAnnotation";t.typeParameters=this.tsTryParseTypeParameters(),this.expect(10),t[r]=this.tsParseBindingListForSignature(),(s||this.match(e))&&(t[i]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){return this.parseBindingList(11,41).map((e=>("Identifier"!==e.type&&"RestElement"!==e.type&&"ObjectPattern"!==e.type&&"ArrayPattern"!==e.type&&this.raise(Ks.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(),!!Z(this.state.type)&&(this.next(),this.match(14))}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 s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){this.eat(17)&&(e.optional=!0);let s=e;if(this.match(10)||this.match(47)){t&&this.raise(Ks.ReadonlyForMethodSignature,{at:e});let r=s;r.kind&&this.match(47)&&this.raise(Ks.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,r),this.tsParseTypeMemberSemicolon();let i="parameters",n="typeAnnotation";if("get"===r.kind)r[i].length>0&&(this.raise(T.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(r[i][0])&&this.raise(Ks.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if("set"===r.kind){if(1!==r[i].length)this.raise(T.BadSetterArity,{at:this.state.curPosition()});else{let e=r[i][0];this.isThisParam(e)&&this.raise(Ks.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),"Identifier"===e.type&&e.optional&&this.raise(Ks.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),"RestElement"===e.type&&this.raise(Ks.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}r[n]&&this.raise(Ks.SetAccesorCannotHaveReturnType,{at:r[n]})}else r.kind="method";return this.finishNode(r,"TSMethodSignature")}{let e=s;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({modified:e,allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]}),this.tsTryParseIndexSignature(e)||(this.parsePropertyName(e),!e.computed&&"Identifier"===e.key.type&&("get"===e.key.name||"set"===e.key.name)&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,this.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(118):(this.isContextual(118)&&this.next(),!(!this.match(0)||(this.next(),!this.tsIsIdentifier()))&&(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(118)):this.eatContextual(118)&&(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,s=null;return e.elementTypes.forEach((e=>{var r;let{type:i}=e;t&&"TSRestType"!==i&&"TSOptionalType"!==i&&!("TSNamedTupleMember"===i&&e.optional)&&this.raise(Ks.OptionalTypeBeforeRequired,{at:e}),t=t||"TSNamedTupleMember"===i&&e.optional||"TSOptionalType"===i,"TSRestType"===i&&(i=(e=e.typeAnnotation).type);let n="TSNamedTupleMember"===i;s=null!=(r=s)?r:n,s!==n&&this.raise(Ks.MixedLabeledAndUnlabeledElements,{at:e})})),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){let{start:e,startLoc:t}=this.state,s=this.eat(21),r=this.tsParseType(),i=this.eat(17);if(this.eat(14)){let e=this.startNodeAtNode(r);e.optional=i,"TSTypeReference"!==r.type||r.typeParameters||"Identifier"!==r.typeName.type?(this.raise(Ks.InvalidTupleMemberLabel,{at:r}),e.label=r):e.label=r.typeName,e.elementType=this.tsParseType(),r=this.finishNode(e,"TSNamedTupleMember")}else if(i){let e=this.startNodeAtNode(r);e.typeAnnotation=r,r=this.finishNode(e,"TSOptionalType")}if(s){let s=this.startNodeAt(e,t);s.typeAnnotation=r,r=this.finishNode(s,"TSRestType")}return r}tsParseParenthesizedType(){let e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){let s=this.startNode();return"TSConstructorType"===e&&(s.abstract=!!t,t&&this.next(),this.next()),this.tsFillSignature(19,s),this.finishNode(s,e)}tsParseLiteralTypeNode(){let e=this.startNode();return e.literal=(()=>{switch(this.state.type){case 130:case 131:case 129:case 85:case 86:return this.parseExprAtom();default:throw this.unexpected()}})(),this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){let e=this.startNode();return e.literal=this.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let e=this.tsParseThisTypeNode();return this.isContextual(113)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 129:case 130:case 131:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if("-"===this.state.value){let e=this.startNode(),t=this.lookahead();if(130!==t.type&&131!==t.type)throw this.unexpected();return 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(Z(e)||88===e||84===e){let t=88===e?"TSVoidKeyword":84===e?"TSNullKeyword":Ys(this.state.value);if(void 0!==t&&46!==this.lookaheadCharCode()){let e=this.startNode();return this.next(),this.finishNode(e,t)}return this.tsParseTypeReference()}}}throw 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(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Ks.UnexpectedReadonly,{at:e})}}tsParseInferType(){let e=this.startNode();this.expectContextual(112);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 he(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(112)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((()=>this.tsParseArrayTypeOrHigher()))}tsParseUnionOrIntersectionType(e,t,s){let r=this.startNode(),i=this.eat(s),n=[];do{n.push(t())}while(this.eat(s));return 1!==n.length||i?(r.types=n,this.finishNode(r,e)):n[0]}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)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(Z(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 this.parseBindingList(3,93,!0),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 s=this.startNode(),r=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(r&&this.match(78)){let e=this.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===e.type?(s.parameterName=e,s.asserts=!0,s.typeAnnotation=null,e=this.finishNode(s,"TSTypePredicate")):(this.resetStartLocationFromNode(e,s),e.asserts=!0),t.typeAnnotation=e,this.finishNode(t,"TSTypeAnnotation")}let i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i)return r?(s.parameterName=this.parseIdentifier(),s.asserts=r,s.typeAnnotation=null,t.typeAnnotation=this.finishNode(s,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,t);let n=this.tsParseTypeAnnotation(!1);return s.parameterName=i,s.typeAnnotation=n,s.asserts=r,t.typeAnnotation=this.finishNode(s,"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(113)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(106!==this.state.type)return!1;let e=this.state.containsEsc;return this.next(),!(!Z(this.state.type)&&!this.match(78)||(e&&this.raise(T.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),0))}tsParseTypeAnnotation(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.startNode();return this.tsInType((()=>{e&&this.expect(14),t.typeAnnotation=this.tsParseType()})),this.finishNode(t,"TSTypeAnnotation")}tsParseType(){Js(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(120)&&77===this.lookahead().type}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(Ks.ReservedTypeAssertion,{at:this.state.startLoc});let e=this.startNode(),t=this.tsTryNextParseConstantContext();return e.typeAnnotation=t||this.tsNextThenParseType(),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){let t=this.state.startLoc,s=this.tsParseDelimitedList("HeritageClauseElement",(()=>{let e=this.startNode();return e.expression=this.tsParseEntityName(),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")}));return s.length||this.raise(Ks.EmptyHeritageClauseType,{at:t,token:e}),s}tsParseInterfaceDeclaration(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.hasFollowingLineBreak())return null;this.expectContextual(125),t.declare&&(e.declare=!0),Z(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,dt)):(e.id=null,this.raise(Ks.MissingInterfaceName,{at:this.state.startLoc})),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));let s=this.startNode();return s.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(s,"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.bind(this)),this.expect(29),this.isContextual(111)&&16!==this.lookahead().type){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(129)?this.parseExprAtom():this.parseIdentifier(!0),this.eat(29)&&(e.initializer=this.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual(122),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?vt:ft),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(qe),this.expect(5),this.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[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(Ke),this.prodParam.enter(fs),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(109)?(e.global=!0,e.id=this.parseIdentifier()):this.match(129)?e.id=this.parseExprAtom():this.unexpected(),this.match(5)?(this.scope.enter(Ke),this.prodParam.enter(fs),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,lt),this.expect(29);let s=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==s.type&&this.raise(Ks.ImportAliasHasImportType,{at:s}),e.moduleReference=s,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(116)&&40===this.lookaheadCharCode()}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let e=this.startNode();if(this.expectContextual(116),this.expect(10),!this.match(129))throw this.unexpected();return e.expression=this.parseExprAtom(),this.expect(11),this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){let t=this.state.clone(),s=e();return this.state=t,s}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(),s=e();if(void 0!==s&&!1!==s)return s;this.state=t}tsTryParseDeclare(e){if(this.isLineTerminator())return;let t,s=this.state.type;return this.isContextual(99)&&(s=74,t="let"),this.tsInAmbientContext((()=>{if(68===s)return e.declare=!0,this.parseFunctionStatement(e,!1,!0);if(80===s)return e.declare=!0,this.parseClass(e,!0,!1);if(122===s)return this.tsParseEnumDeclaration(e,{declare:!0});if(109===s)return this.tsParseAmbientExternalModuleDeclaration(e);if(75===s||74===s)return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0})):(e.declare=!0,this.parseVarStatement(e,t||this.state.value,!0));if(125===s){let t=this.tsParseInterfaceDeclaration(e,{declare:!0});if(t)return t}return Z(s)?this.tsParseDeclaration(e,this.state.value,!0):void 0}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)}tsParseExpressionStatement(e,t){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(Ke),this.prodParam.enter(fs);let s=e;return s.global=!0,s.id=t,s.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(s,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,!1)}}tsParseDeclaration(e,t,s){switch(t){case"abstract":if(this.tsCheckLineTerminator(s)&&(this.match(80)||Z(this.state.type)))return this.tsParseAbstractDeclaration(e);break;case"module":if(this.tsCheckLineTerminator(s)){if(this.match(129))return this.tsParseAmbientExternalModuleDeclaration(e);if(Z(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(s)&&Z(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(s)&&Z(this.state.type))return this.tsParseTypeAliasDeclaration(e)}}tsCheckLineTerminator(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.match(47))return;let s=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let r=this.tsTryParseAndCatch((()=>{let s=this.startNodeAt(e,t);return s.typeParameters=this.tsParseTypeParameters(),super.parseFunctionParams(s),s.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),s}));return this.state.maybeInArrowParameters=s,r?this.parseArrowExpression(r,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(47===this.reScan_lt())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))))))),0===e.params.length&&this.raise(Ks.EmptyTypeArguments,{at:e}),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return de(this.state.type)}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){let s,r=this.state.start,i=this.state.startLoc,n=!1,a=!1;if(void 0!==e){let t={};this.tsParseModifiers({modified:t,allowedModifiers:["public","private","protected","override","readonly"]}),s=t.accessibility,a=t.override,n=t.readonly,!1===e&&(s||n||a)&&this.raise(Ks.UnexpectedParameterModifier,{at:i})}let o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);let c=this.parseMaybeDefault(o.start,o.loc.start,o);if(s||n||a){let e=this.startNodeAt(r,i);return t.length&&(e.decorators=t),s&&(e.accessibility=s),n&&(e.readonly=n),a&&(e.override=a),"Identifier"!==c.type&&"AssignmentPattern"!==c.type&&this.raise(Ks.UnsupportedParameterPropertyKind,{at:e}),e.parameter=c,this.finishNode(e,"TSParameterProperty")}return t.length&&(o.decorators=t),c}isSimpleParameter(e){return"TSParameterProperty"===e.type&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}parseFunctionBodyAndFinish(e,t){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let r="FunctionDeclaration"===t?"TSDeclareFunction":"ClassMethod"===t||"ClassPrivateMethod"===t?"TSDeclareMethod":void 0;r&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,r):"TSDeclareFunction"===r&&this.state.isAmbientContext&&(this.raise(Ks.DeclareFunctionHasImplementation,{at:e}),e.declare)?super.parseFunctionBodyAndFinish(e,r,s):super.parseFunctionBodyAndFinish(e,t,s)}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,yt):super.registerFunctionStatementId(...arguments)}tsCheckForInvalidTypeCasts(e){e.forEach((e=>{"TSTypeCastExpression"===(null==e?void 0:e.type)&&this.raise(Ks.UnexpectedTypeAnnotation,{at:e.typeAnnotation})}))}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(){let e=super.parseArrayLike(...arguments);return"ArrayExpression"===e.type&&this.tsCheckForInvalidTypeCasts(e.elements),e}parseSubscript(e,t,s,r,i){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let r=this.startNodeAt(t,s);return r.expression=e,this.finishNode(r,"TSNonNullExpression")}let n=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(r)return i.stop=!0,e;i.optionalChainMember=n=!0,this.next()}if(this.match(47)||this.match(51)){let a,o=this.tsTryParseAndCatch((()=>{if(!r&&this.atPossibleAsyncArrow(e)){let e=this.tsTryParseGenericAsyncArrowFunction(t,s);if(e)return e}let o=this.tsParseTypeArgumentsInExpression();if(!o)throw this.unexpected();if(n&&!this.match(10))throw a=this.state.curPosition(),this.unexpected();if(xe(this.state.type)){let r=this.parseTaggedTemplateExpression(e,t,s,i);return r.typeParameters=o,r}if(!r&&this.eat(10)){let r=this.startNodeAt(t,s);return r.callee=e,r.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(r.arguments),r.typeParameters=o,i.optionalChainMember&&(r.optional=n),this.finishCallExpression(r,i.optionalChainMember)}if(Xs(this.state.type)&&10!==this.state.type)throw this.unexpected();let c=this.startNodeAt(t,s);return c.expression=e,c.typeParameters=o,this.finishNode(c,"TSInstantiationExpression")}));if(a&&this.unexpected(a,10),o)return o}return super.parseSubscript(e,t,s,r,i)}parseNewCallee(e){var t;super.parseNewCallee(e);let{callee:s}=e;"TSInstantiationExpression"===s.type&&(null==(t=s.extra)||!t.parenthesized)&&(e.typeParameters=s.typeParameters,e.callee=s.expression)}parseExprOp(e,t,s,r){if(fe(58)>r&&!this.hasPrecedingLineBreak()&&this.isContextual(93)){let i=this.startNodeAt(t,s);i.expression=e;let n=this.tsTryNextParseConstantContext();return i.typeAnnotation=n||this.tsNextThenParseType(),this.finishNode(i,"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(i,t,s,r)}return super.parseExprOp(e,t,s,r)}checkReservedWord(e,t,s,r){this.state.isAmbientContext||super.checkReservedWord(e,t,s,r)}checkDuplicateExports(){}parseImport(e){if(e.importKind="value",Z(this.state.type)||this.match(55)||this.match(5)){let t=this.lookahead();if(this.isContextual(126)&&12!==t.type&&97!==t.type&&29!==t.type&&(e.importKind="type",this.next(),t=this.lookahead()),Z(this.state.type)&&29===t.type)return this.tsParseImportEqualsDeclaration(e)}let t=super.parseImport(e);return"type"===t.importKind&&t.specifiers.length>1&&"ImportDefaultSpecifier"===t.specifiers[0].type&&this.raise(Ks.TypeImportCannotSpecifyDefaultAndNamed,{at:t}),t}parseExport(e){if(this.match(83))return this.next(),this.isContextual(126)&&61!==this.lookaheadCharCode()?(e.importKind="type",this.next()):e.importKind="value",this.tsParseImportEqualsDeclaration(e,!0);if(this.eat(29)){let t=e;return t.expression=this.parseExpression(),this.semicolon(),this.finishNode(t,"TSExportAssignment")}if(this.eatContextual(93)){let t=e;return this.expectContextual(124),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,"TSNamespaceExportDeclaration")}return this.isContextual(126)&&5===this.lookahead().type?(this.next(),e.exportKind="type"):e.exportKind="value",super.parseExport(e)}isAbstractClass(){return this.isContextual(120)&&80===this.lookahead().type}parseExportDefaultExpression(){if(this.isAbstractClass()){let e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0),e}if(this.match(125)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,t){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{isAmbientContext:r}=this.state,i=super.parseVarStatement(e,t,s||r);if(!r)return i;for(let{id:e,init:s}of i.declarations)!s||("const"!==t||e.typeAnnotation?this.raise(Ks.InitializerNotAllowedInAmbientContext,{at:s}):"StringLiteral"!==s.type&&"BooleanLiteral"!==s.type&&"NumericLiteral"!==s.type&&"BigIntLiteral"!==s.type&&("TemplateLiteral"!==s.type||s.expressions.length>0)&&!tr(s)&&this.raise(Ks.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:s}));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(122))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(125)){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=>Qs(t)?e.accessibility===t:!!e[t]))}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&123===this.lookaheadCharCode()}parseClassMember(e,t,s){let r=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({modified:t,allowedModifiers:r,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Ks.InvalidModifierOnTypeParameterPositions});let i=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,r)&&this.raise(Ks.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),this.parseClassStaticBlock(e,t)):this.parseClassMemberWithIsStatic(e,t,s,!!t.static)};t.declare?this.tsInAmbientContext(i):i()}parseClassMemberWithIsStatic(e,t,s,r){let i=this.tsTryParseIndexSignature(t);if(i)return e.body.push(i),t.abstract&&this.raise(Ks.IndexSignatureHasAbstract,{at:t}),t.accessibility&&this.raise(Ks.IndexSignatureHasAccessibility,{at:t,modifier:t.accessibility}),t.declare&&this.raise(Ks.IndexSignatureHasDeclare,{at:t}),void(t.override&&this.raise(Ks.IndexSignatureHasOverride,{at:t}));!this.state.inAbstractClass&&t.abstract&&this.raise(Ks.NonAbstractClassHasAbstractMethod,{at:t}),t.override&&(s.hadSuperClass||this.raise(Ks.OverrideNotInSubClass,{at:t})),super.parseClassMemberWithIsStatic(e,t,s,r)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(Ks.ClassMethodHasReadonly,{at:e}),e.declare&&this.match(10)&&this.raise(Ks.ClassMethodHasDeclare,{at:e})}parseExpressionStatement(e,t){return("Identifier"===t.type?this.tsParseExpressionStatement(e,t):void 0)||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(e,t,s,r){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,t,s,r);let i=this.tryParse((()=>super.parseConditional(e,t,s)));return i.node?(i.error&&(this.state=i.failState),i.node):(i.error&&super.setOptionalParametersError(r,i.error),e)}parseParenItem(e,t,s){if(e=super.parseParenItem(e,t,s),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){let r=this.startNodeAt(t,s);return r.expression=e,r.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(r,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(121))return this.tsInAmbientContext((()=>this.parseExportDeclaration(e)));let t=this.state.start,s=this.state.startLoc,r=this.eatContextual(121);if(r&&(this.isContextual(121)||!this.shouldParseExportDeclaration()))throw this.raise(Ks.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let i=Z(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return i?(("TSInterfaceDeclaration"===i.type||"TSTypeAliasDeclaration"===i.type||r)&&(e.exportKind="type"),r&&(this.resetStartLocation(i,t,s),i.declare=!0),i):null}parseClassId(e,t,s){if((!t||s)&&this.isContextual(110))return;super.parseClassId(e,t,s,e.declare?yt:ut);let r=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));r&&(e.typeParameters=r)}parseClassPropertyAnnotation(e){!e.optional&&this.eat(35)&&(e.definite=!0);let t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&this.match(29)&&this.raise(Ks.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),e.abstract&&this.match(29)){let{key:t}=e;this.raise(Ks.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:"Identifier"!==t.type||e.computed?"[".concat(this.input.slice(t.start,t.end),"]"):t.name})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(Ks.PrivateElementHasAbstract,{at:e}),e.accessibility&&this.raise(Ks.PrivateElementHasAccessibility,{at:e,modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}pushClassMethod(e,t,s,r,i,n){let a=this.tsTryParseTypeParameters();a&&i&&this.raise(Ks.ConstructorHasTypeParameters,{at:a});let{declare:o=!1,kind:c}=t;o&&("get"===c||"set"===c)&&this.raise(Ks.DeclareAccessor,{at:t,kind:c}),a&&(t.typeParameters=a),super.pushClassMethod(e,t,s,r,i,n)}pushClassPrivateMethod(e,t,s,r){let i=this.tsTryParseTypeParameters();i&&(t.typeParameters=i),super.pushClassPrivateMethod(e,t,s,r)}declareClassPrivateMethodInScope(e,t){"TSDeclareMethod"!==e.type&&("MethodDefinition"===e.type&&!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(110)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e){let t=this.tsTryParseTypeParameters();t&&(e.typeParameters=t);for(var s=arguments.length,r=new Array(s>1?s-1:0),i=1;i<s;i++)r[i-1]=arguments[i];super.parseObjPropValue(e,...r)}parseFunctionParams(e,t){let s=this.tsTryParseTypeParameters();s&&(e.typeParameters=s),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),"Identifier"===e.id.type&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);let s=this.tsTryParseTypeAnnotation();s&&(e.id.typeAnnotation=s,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];var r,i,n,a,o,c,u;let l,p,h,d;if(this.hasPlugin("jsx")&&(this.match(138)||this.match(47))){if(l=this.state.clone(),p=this.tryParse((()=>super.parseMaybeAssign(...t)),l),!p.error)return p.node;let{context:e}=this.state,s=e[e.length-1];(s===I.j_oTag||s===I.j_expr)&&e.pop()}if(!(null!=(r=p)&&r.error||this.match(47)))return super.parseMaybeAssign(...t);l=l||this.state.clone();let m=this.tryParse((e=>{var s,r,i;d=this.tsParseTypeParameters();let n=super.parseMaybeAssign(...t);return("ArrowFunctionExpression"!==n.type||null!=(s=n.extra)&&s.parenthesized)&&e(),0!==(null==(r=d)?void 0:r.params.length)&&this.resetStartLocationFromNode(n,d),n.typeParameters=d,this.hasPlugin("jsx")&&1===n.typeParameters.params.length&&!(null!=(i=n.typeParameters.extra)&&i.trailingComma)&&n.typeParameters.params[0].constraint,n}),l);if(!m.error&&!m.aborted)return d&&this.reportReservedArrowTypeParam(d),m.node;if(!p&&(Js(!this.hasPlugin("jsx")),h=this.tryParse((()=>super.parseMaybeAssign(...t)),l),!h.error))return h.node;if(null!=(i=p)&&i.node)return this.state=p.failState,p.node;if(m.node)return this.state=m.failState,d&&this.reportReservedArrowTypeParam(d),m.node;if(null!=(n=h)&&n.node)return this.state=h.failState,h.node;throw null!=(a=p)&&a.thrown?p.error:m.thrown?m.error:null!=(o=h)&&o.thrown?h.error:(null==(c=p)?void 0:c.error)||m.error||(null==(u=h)?void 0:u.error)}reportReservedArrowTypeParam(e){var t;1===e.params.length&&(null==(t=e.extra)||!t.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Ks.ReservedArrowTypeParam,{at:e})}parseMaybeUnary(e){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e)}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){this.eat(17)&&("Identifier"!==e.type&&!this.state.isAmbientContext&&!this.state.inType&&this.raise(Ks.PatternIsOptional,{at:e}),e.optional=!0);let t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t),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&&void 0!==arguments[1]&&arguments[1];switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,t);break;case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":t?this.expressionScope.recordArrowParemeterBindingError(Ks.UnexpectedTypeCastInParameter,{at:e}):this.raise(Ks.UnexpectedTypeCastInParameter,{at:e}),this.toAssignable(e.expression,t);break;case"AssignmentExpression":!t&&"TSTypeCastExpression"===e.left.type&&(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":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"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,s){return Gs({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(s!==gt||!t)&&["expression",!0],TSTypeAssertion:(s!==gt||!t)&&["expression",!0]},e)||super.isValidLVal(e,t,s)}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){let t=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let s=super.parseMaybeDecoratorArguments(e);return s.typeParameters=t,s}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(){let e=super.parseMaybeDefault(...arguments);return"AssignmentPattern"===e.type&&e.typeAnnotation&&e.right.start<e.typeAnnotation.start&&this.raise(Ks.TypeAnnotationAfterAssign,{at:e.typeAnnotation}),e}getTokenFromCode(e){if(this.state.inType){if(62===e)return this.finishOp(48,1);if(60===e)return this.finishOp(47,1)}return super.getTokenFromCode(e)}reScan_lt_gt(){let{type:e}=this.state;47===e?(this.state.pos-=1,this.readToken_lt()):48===e&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:e}=this.state;return 51===e?(this.state.pos-=2,this.finishOp(47,1),47):e}toAssignableList(e){for(let t=0;t<e.length;t++){let s=e[t];"TSTypeCastExpression"===(null==s?void 0:s.type)&&(e[t]=this.typeCastToParameter(s))}super.toAssignableList(...arguments)}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),s=this.getObjectOrClassMethodParams(e)[0];return s&&this.isThisParam(s)?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){let t=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{for(var s=arguments.length,r=new Array(s>1?s-1:0),i=1;i<s;i++)r[i-1]=arguments[i];return super.parseClass(e,...r)}finally{this.state.inAbstractClass=t}}tsParseAbstractDeclaration(e){if(this.match(80))return e.abstract=!0,this.parseClass(e,!0,!1);if(this.isContextual(125)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(Ks.NonClassMethodPropertyHasAbstractModifer,{at:e}),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(){let e=super.parseMethod(...arguments);if(e.abstract&&(this.hasPlugin("estree")?e.value.body:e.body)){let{key:t}=e;this.raise(Ks.AbstractMethodHasImplementation,{at:e,methodName:"Identifier"!==t.type||e.computed?"[".concat(this.input.slice(t.start,t.end),"]"):t.name})}return e}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,s,r){return!t&&r?(this.parseTypeOnlyImportExportSpecifier(e,!1,s),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,t,s,r))}parseImportSpecifier(e,t,s,r){return!t&&r?(this.parseTypeOnlyImportExportSpecifier(e,!0,s),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,t,s,r))}parseTypeOnlyImportExportSpecifier(e,t,s){let r,i=t?"imported":"local",n=t?"local":"exported",a=e[i],o=!1,c=!0,u=a.loc.start;if(this.isContextual(93)){let e=this.parseIdentifier();if(this.isContextual(93)){let s=this.parseIdentifier();te(this.state.type)?(o=!0,a=e,r=t?this.parseIdentifier():this.parseModuleExportName(),c=!1):(r=s,c=!1)}else te(this.state.type)?(c=!1,r=t?this.parseIdentifier():this.parseModuleExportName()):(o=!0,a=e)}else te(this.state.type)&&(o=!0,t?(a=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(a.name,a.loc.start,!0,!0)):a=this.parseModuleExportName());o&&s&&this.raise(t?Ks.TypeModifierIsUsedInTypeImports:Ks.TypeModifierIsUsedInTypeExports,{at:u}),e[i]=a,e[n]=r,e[t?"importKind":"exportKind"]=o?"type":"value",c&&this.eatContextual(93)&&(e[n]=t?this.parseIdentifier():this.parseModuleExportName()),e[n]||(e[n]=Ps(e[i])),t&&this.checkIdentifier(e[n],lt)}};function tr(e){if("MemberExpression"!==e.type)return!1;let{computed:t,property:s}=e;return(!t||"StringLiteral"===s.type||!("TemplateLiteral"!==s.type||s.expressions.length>0))&&sr(e.object)}function sr(e){return"Identifier"===e.type||"MemberExpression"===e.type&&!e.computed&&sr(e.object)}var rr=D(a||(a=o(["placeholders"])))((e=>({ClassNameIsRequired:e("A class name is required."),UnexpectedSpace:e("Unexpected space in placeholder.")}))),ir=e=>class extends e{parsePlaceholder(e){if(this.match(140)){let t=this.startNode();return this.next(),this.assertNoSpace(),t.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(140),this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){let s=!(!e.expectedNode||"Placeholder"!==e.type);return e.expectedNode=t,s?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){return 37===e&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(140,2):super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){void 0!==e&&super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}isValidLVal(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),r=1;r<t;r++)s[r-1]=arguments[r];return"Placeholder"===e||super.isValidLVal(e,...s)}toAssignable(e){e&&"Placeholder"===e.type&&"Expression"===e.expectedNode?e.expectedNode="Pattern":super.toAssignable(...arguments)}isLet(e){return!!super.isLet(e)||!(!this.isContextual(99)||e)&&140===this.lookahead().type}verifyBreakContinue(e){e.label&&"Placeholder"===e.label.type||super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if("Placeholder"!==t.type||t.extra&&t.extra.parenthesized)return super.parseExpressionStatement(...arguments);if(this.match(14)){let s=e;return s.label=this.finishPlaceholder(t,"Identifier"),this.next(),s.body=this.parseStatement("label"),this.finishNode(s,"LabeledStatement")}return this.semicolon(),e.name=t.name,this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,s){let r=t?"ClassDeclaration":"ClassExpression";this.next(),this.takeDecorators(e);let i=this.state.strict,n=this.parsePlaceholder("Identifier");if(n){if(!(this.match(81)||this.match(140)||this.match(5))){if(s||!t)return e.id=null,e.body=this.finishPlaceholder(n,"ClassBody"),this.finishNode(e,r);throw this.raise(rr.ClassNameIsRequired,{at:this.state.startLoc})}e.id=n}else this.parseClassId(e,t,s);return this.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,i),this.finishNode(e,r)}parseExport(e){let t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual(97)&&!this.match(12))return e.specifiers=[],e.source=null,e.declaration=this.finishPlaceholder(t,"Declaration"),this.finishNode(e,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let s=this.startNode();return s.exported=t,e.specifiers=[this.finishNode(s,"ExportDefaultSpecifier")],super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(65)){let e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(me(140),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){return!!(e.specifiers&&e.specifiers.length>0)||super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){let{specifiers:t}=e;null!=t&&t.length&&(e.specifiers=t.filter((e=>"Placeholder"===e.exported.type))),super.checkExport(e),e.specifiers=t}parseImport(e){let t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);if(e.specifiers=[],!this.isContextual(97)&&!this.match(12))return e.source=this.finishPlaceholder(t,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");let s=this.startNodeAtNode(t);return s.local=t,this.finishNode(s,"ImportDefaultSpecifier"),e.specifiers.push(s),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(...arguments)}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(rr.UnexpectedSpace,{at:this.state.lastTokEndLoc})}},nr=e=>class extends e{parseV8Intrinsic(){if(this.match(54)){let e=this.state.startLoc,t=this.startNode();if(this.next(),Z(this.state.type)){let e=this.parseIdentifierName(this.state.start),s=this.createIdentifier(t,e);if(s.type="V8IntrinsicIdentifier",this.match(10))return s}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}};function ar(e,t){let[s,r]="string"==typeof t?[t,{}]:t,i=Object.keys(r),n=0===i.length;return e.some((e=>{if("string"==typeof e)return n&&e===s;{let[t,n]=e;if(t!==s)return!1;for(let e of i)if(n[e]!==r[e])return!1;return!0}}))}function or(e,t,s){let r=e.find((e=>Array.isArray(e)?e[0]===t:e===t));return r&&Array.isArray(r)?r[1][s]:null}var cr=["minimal","fsharp","hack","smart"],ur=["^^","@@","^","%","#"],lr=["hash","bar"];function pr(e){if(ar(e,"decorators")){if(ar(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let t=or(e,"decorators","decoratorsBeforeExport");if(null==t)throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'.");if("boolean"!=typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean.")}if(ar(e,"flow")&&ar(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(ar(e,"placeholders")&&ar(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(ar(e,"pipelineOperator")){let t=or(e,"pipelineOperator","proposal");if(!cr.includes(t)){let e=cr.map((e=>'"'.concat(e,'"'))).join(", ");throw new Error('"pipelineOperator" requires "proposal" option whose value must be one of: '.concat(e,"."))}let s=ar(e,["recordAndTuple",{syntaxType:"hash"}]);if("hack"===t){if(ar(e,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(ar(e,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let t=or(e,"pipelineOperator","topicToken");if(!ur.includes(t)){let e=ur.map((e=>'"'.concat(e,'"'))).join(", ");throw new Error('"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: '.concat(e,"."))}if("#"===t&&s)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if("smart"===t&&s)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(ar(e,"moduleAttributes")){if(ar(e,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if("may-2020"!==or(e,"moduleAttributes","version"))throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(ar(e,"recordAndTuple")&&!lr.includes(or(e,"recordAndTuple","syntaxType")))throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+lr.map((e=>"'".concat(e,"'"))).join(", "));if(ar(e,"asyncDoExpressions")&&!ar(e,"doExpressions")){let e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}}var hr={estree:N,jsx:$s,flow:Ms,typescript:er,v8intrinsic:nr,placeholders:ir},dr=Object.keys(hr),mr={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0};function fr(e){let t={};for(let s of Object.keys(mr))t[s]=e&&null!=e[s]?e[s]:mr[s];return t}var yr=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t],gr=e=>"ParenthesizedExpression"===e.type?gr(e.expression):e,xr=class extends ks{toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var s,r;let i;switch(("ParenthesizedExpression"===e.type||null!=(s=e.extra)&&s.parenthesized)&&(i=gr(e),t?"Identifier"===i.type?this.expressionScope.recordArrowParemeterBindingError(T.InvalidParenthesizedAssignment,{at:e}):"MemberExpression"!==i.type&&this.raise(T.InvalidParenthesizedAssignment,{at:e}):this.raise(T.InvalidParenthesizedAssignment,{at:e})),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let s=0,r=e.properties.length,i=r-1;s<r;s++){var n;let r=e.properties[s],a=s===i;this.toAssignableObjectExpressionProp(r,a,t),a&&"RestElement"===r.type&&null!=(n=e.extra)&&n.trailingCommaLoc&&this.raise(T.RestTrailingComma,{at:e.extra.trailingCommaLoc})}break;case"ObjectProperty":{let{key:s,value:r}=e;this.isPrivateName(s)&&this.classScope.usePrivateName(this.getPrivateNameSV(s),s.loc.start),this.toAssignable(r,t);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,null==(r=e.extra)?void 0:r.trailingCommaLoc,t);break;case"AssignmentExpression":"="!==e.operator&&this.raise(T.MissingEqInAssignment,{at:e.left.loc.end}),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(i,t)}}toAssignableObjectExpressionProp(e,t,s){if("ObjectMethod"===e.type)this.raise("get"===e.kind||"set"===e.kind?T.PatternHasAccessor:T.PatternHasMethod,{at:e.key});else if("SpreadElement"===e.type){e.type="RestElement";let r=e.argument;this.checkToRestConversion(r,!1),this.toAssignable(r,s),t||this.raise(T.RestTrailingComma,{at:e})}else this.toAssignable(e,s)}toAssignableList(e,t,s){let r=e.length-1;for(let i=0;i<=r;i++){let n=e[i];if(n){if("SpreadElement"===n.type){n.type="RestElement";let e=n.argument;this.checkToRestConversion(e,!0),this.toAssignable(e,s)}else this.toAssignable(n,s);"RestElement"===n.type&&(i<r?this.raise(T.RestTrailingComma,{at:n}):t&&this.raise(T.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,s)=>"ObjectMethod"!==e.type&&(s===t||"SpreadElement"!==e.type)&&this.isAssignable(e)))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every((e=>null===e||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)"ArrayExpression"===(null==t?void 0:t.type)&&this.toReferencedListDeep(t.elements)}parseSpread(e,t){let s=this.startNode();return this.next(),s.argument=this.parseMaybeAssignAllowIn(e,void 0,t),this.finishNode(s,"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,!0),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(e,t,s,r){let i=[],n=!0;for(;!this.eat(e);)if(n?n=!1:this.expect(12),s&&this.match(12))i.push(null);else{if(this.eat(e))break;if(this.match(21)){if(i.push(this.parseAssignableListItemTypes(this.parseRestBinding())),!this.checkCommaAfterRest(t)){this.expect(e);break}}else{let e=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(T.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)e.push(this.parseDecorator());i.push(this.parseAssignableListItem(r,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,start:s,startLoc:r}=this.state;return 21===t?this.parseBindingRestProperty(e):(134===t?(this.expectPlugin("destructuringPrivate",r),this.classScope.usePrivateName(this.state.value,r),e.key=this.parsePrivateName()):this.parsePropertyName(e),e.method=!1,this.parseObjPropValue(e,s,r,!1,!1,!0,!1),e)}parseAssignableListItem(e,t){let s=this.parseMaybeDefault();this.parseAssignableListItemTypes(s);let r=this.parseMaybeDefault(s.start,s.loc.start,s);return t.length&&(s.decorators=t),r}parseAssignableListItemTypes(e){return e}parseMaybeDefault(e,t,s){var r,i,n;if(t=null!=(r=t)?r:this.state.startLoc,e=null!=(i=e)?i:this.state.start,s=null!=(n=s)?n:this.parseBindingAtom(),!this.eat(29))return s;let a=this.startNodeAt(e,t);return a.left=s,a.right=this.parseMaybeAssignAllowIn(),this.finishNode(a,"AssignmentPattern")}isValidLVal(e,t,s){return yr({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},e)}checkLVal(e,t){let{in:s,binding:r=gt,checkClashes:i=!1,strictModeChanged:n=!1,allowingSloppyLetBinding:a=!(r&tt),hasParenthesizedAncestor:o=!1}=t;var c;let u=e.type;if(this.isObjectMethod(e))return;if("MemberExpression"===u)return void(r!==gt&&this.raise(T.InvalidPropertyBindingPattern,{at:e}));if("Identifier"===e.type){this.checkIdentifier(e,r,n,a);let{name:t}=e;return void(i&&(i.has(t)?this.raise(T.ParamDupe,{at:e}):i.add(t)))}let l=this.isValidLVal(e.type,!(o||null!=(c=e.extra)&&c.parenthesized)&&"AssignmentExpression"===s.type,r);if(!0===l)return;if(!1===l){let t=r===gt?T.InvalidLhs:T.InvalidLhsBinding;return void this.raise(t,{at:e,ancestor:"UpdateExpression"===s.type?{type:"UpdateExpression",prefix:s.prefix}:{type:s.type}})}let[p,h]=Array.isArray(l)?l:[l,"ParenthesizedExpression"===u],d="ArrayPattern"===e.type||"ObjectPattern"===e.type||"ParenthesizedExpression"===e.type?e:s;for(let t of[].concat(e[p]))t&&this.checkLVal(t,{in:d,binding:r,checkClashes:i,allowingSloppyLetBinding:a,strictModeChanged:n,hasParenthesizedAncestor:h})}checkIdentifier(e,t){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:!(t&tt);this.state.strict&&(s?Be(e.name,this.inModule):je(e.name))&&(t===gt?this.raise(T.StrictEvalArguments,{at:e,referenceName:e.name}):this.raise(T.StrictEvalArgumentsBinding,{at:e,bindingName:e.name})),!r&&"let"===e.name&&this.raise(T.LetInLexicalBinding,{at:e}),t&gt||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(T.InvalidRestAssignmentPattern,{at:e})}}checkCommaAfterRest(e){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===e?T.RestTrailingComma:T.ElementAfterRest,{at:this.state.startLoc}),!0)}},vr=class extends xr{checkProto(e,t,s,r){if("SpreadElement"===e.type||this.isObjectMethod(e)||e.computed||e.shorthand)return;let i=e.key;if("__proto__"===("Identifier"===i.type?i.name:i.value)){if(t)return void this.raise(T.RecordNoProto,{at:i});s.used&&(r?null===r.doubleProtoLoc&&(r.doubleProtoLoc=i.loc.start):this.raise(T.DuplicateProto,{at:i})),s.used=!0}}shouldExitDescending(e,t){return"ArrowFunctionExpression"===e.type&&e.start===t}getExpression(){this.enterInitialScopes(),this.nextToken();let e=this.parseExpression();return this.match(135)||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.start,s=this.state.startLoc,r=this.parseMaybeAssign(e);if(this.match(12)){let i=this.startNodeAt(t,s);for(i.expressions=[r];this.eat(12);)i.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(i.expressions),this.finishNode(i,"SequenceExpression")}return r}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd((()=>this.parseMaybeAssign(e,t)))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd((()=>this.parseMaybeAssign(e,t)))}setOptionalParametersError(e,t){var s;e.optionalParametersLoc=null!=(s=null==t?void 0:t.loc)?s:this.state.startLoc}parseMaybeAssign(e,t){let s,r=this.state.start,i=this.state.startLoc;if(this.isContextual(105)&&this.prodParam.hasYield){let e=this.parseYield();return t&&(e=t.call(this,e,r,i)),e}e?s=!1:(e=new As,s=!0);let{type:n}=this.state;(10===n||Z(n))&&(this.state.potentialArrowAt=this.state.start);let a=this.parseMaybeConditional(e);if(t&&(a=t.call(this,a,r,i)),ne(this.state.type)){let t=this.startNodeAt(r,i),s=this.state.value;return t.operator=s,this.match(29)?(this.toAssignable(a,!0),t.left=a,null!=e.doubleProtoLoc&&e.doubleProtoLoc.index>=r&&(e.doubleProtoLoc=null),null!=e.shorthandAssignLoc&&e.shorthandAssignLoc.index>=r&&(e.shorthandAssignLoc=null),null!=e.privateKeyLoc&&e.privateKeyLoc.index>=r&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null)):t.left=a,this.next(),t.right=this.parseMaybeAssign(),this.checkLVal(a,{in:this.finishNode(t,"AssignmentExpression")}),t}return s&&this.checkExpressionErrors(e,!0),a}parseMaybeConditional(e){let t=this.state.start,s=this.state.startLoc,r=this.state.potentialArrowAt,i=this.parseExprOps(e);return this.shouldExitDescending(i,r)?i:this.parseConditional(i,t,s,e)}parseConditional(e,t,s,r){if(this.eat(17)){let r=this.startNodeAt(t,s);return r.test=e,r.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),r.alternate=this.parseMaybeAssign(),this.finishNode(r,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(134)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){let t=this.state.start,s=this.state.startLoc,r=this.state.potentialArrowAt,i=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(i,r)?i:this.parseExprOp(i,t,s,-1)}parseExprOp(e,t,s,r){if(this.isPrivateName(e)){let t=this.getPrivateNameSV(e);(r>=fe(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(T.PrivateInExpectedIn,{at:e,identifierName:t}),this.classScope.usePrivateName(t,e.loc.start)}let i=this.state.type;if(ue(i)&&(this.prodParam.hasIn||!this.match(58))){let n=fe(i);if(n>r){if(39===i){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,s)}let a=this.startNodeAt(t,s);a.left=e,a.operator=this.state.value;let o=41===i||42===i,c=40===i;if(c&&(n=fe(42)),this.next(),39===i&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(T.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});a.right=this.parseExprOpRightExpr(i,n),this.finishNode(a,o||c?"LogicalExpression":"BinaryExpression");let u=this.state.type;if(c&&(41===u||42===u)||o&&40===u)throw this.raise(T.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(a,t,s,r)}}return e}parseExprOpRightExpr(e,t){let s=this.state.start,r=this.state.startLoc;if(39===e)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((()=>this.parseHackPipeBody()));case"smart":return this.withTopicBindingContext((()=>{if(this.prodParam.hasYield&&this.isContextual(105))throw this.raise(T.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),s,r)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(t)))}return this.parseExprOpBaseRightExpr(e,t)}parseExprOpBaseRightExpr(e,t){let s=this.state.start,r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,r,ge(e)?t-1:t)}parseHackPipeBody(){var e;let{startLoc:t}=this.state,s=this.parseMaybeAssign();return b.has(s.type)&&!(null!=(e=s.extra)&&e.parenthesized)&&this.raise(T.PipeUnparenthesizedBody,{at:t,type:s.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(T.PipeTopicUnused,{at:t}),s}checkExponentialAfterUnary(e){this.match(57)&&this.raise(T.UnexpectedTokenUnaryExponentiation,{at:e.argument})}parseMaybeUnary(e,t){let s=this.state.start,r=this.state.startLoc,i=this.isContextual(96);if(i&&this.isAwaitAllowed()){this.next();let e=this.parseAwait(s,r);return t||this.checkExponentialAfterUnary(e),e}let n=this.match(34),a=this.startNode();if(pe(this.state.type)){a.operator=this.state.value,a.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let s=this.match(89);if(this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&s){let e=a.argument;"Identifier"===e.type?this.raise(T.StrictDelete,{at:a}):this.hasPropertyAsPrivateName(e)&&this.raise(T.DeletePrivateField,{at:a})}if(!n)return t||this.checkExponentialAfterUnary(a),this.finishNode(a,"UnaryExpression")}let o=this.parseUpdate(a,n,e);if(i){let{type:e}=this.state;if((this.hasPlugin("v8intrinsic")?ie(e):ie(e)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(T.AwaitNotInAsyncContext,{at:r}),this.parseAwait(s,r)}return o}parseUpdate(e,t,s){if(t)return this.checkLVal(e.argument,{in:this.finishNode(e,"UpdateExpression")}),e;let r=this.state.start,i=this.state.startLoc,n=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,!1))return n;for(;le(this.state.type)&&!this.canInsertSemicolon();){let e=this.startNodeAt(r,i);e.operator=this.state.value,e.prefix=!1,e.argument=n,this.next(),this.checkLVal(n,{in:n=this.finishNode(e,"UpdateExpression")})}return n}parseExprSubscripts(e){let t=this.state.start,s=this.state.startLoc,r=this.state.potentialArrowAt,i=this.parseExprAtom(e);return this.shouldExitDescending(i,r)?i:this.parseSubscripts(i,t,s)}parseSubscripts(e,t,s,r){let i={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,s,r,i),i.maybeAsyncArrow=!1}while(!i.stop);return e}parseSubscript(e,t,s,r,i){let{type:n}=this.state;if(!r&&15===n)return this.parseBind(e,t,s,r,i);if(xe(n))return this.parseTaggedTemplateExpression(e,t,s,i);let a=!1;if(18===n){if(r&&40===this.lookaheadCharCode())return i.stop=!0,e;i.optionalChainMember=a=!0,this.next()}if(!r&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,s,i,a);{let r=this.eat(0);return r||a||this.eat(16)?this.parseMember(e,t,s,i,r,a):(i.stop=!0,e)}}parseMember(e,t,s,r,i,n){let a=this.startNodeAt(t,s);return a.object=e,a.computed=i,i?(a.property=this.parseExpression(),this.expect(3)):this.match(134)?("Super"===e.type&&this.raise(T.SuperPrivateField,{at:s}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),r.optionalChainMember?(a.optional=n,this.finishNode(a,"OptionalMemberExpression")):this.finishNode(a,"MemberExpression")}parseBind(e,t,s,r,i){let n=this.startNodeAt(t,s);return n.object=e,this.next(),n.callee=this.parseNoCallExpr(),i.stop=!0,this.parseSubscripts(this.finishNode(n,"BindExpression"),t,s,r)}parseCoverCallAndAsyncArrowHead(e,t,s,r,i){let n=this.state.maybeInArrowParameters,a=null;this.state.maybeInArrowParameters=!0,this.next();let o=this.startNodeAt(t,s);o.callee=e;let{maybeAsyncArrow:c,optionalChainMember:u}=r;return c&&(this.expressionScope.enter(ds()),a=new As),u&&(o.optional=i),o.arguments=i?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Import"===e.type,"Super"!==e.type,o,a),this.finishCallExpression(o,u),c&&this.shouldParseAsyncArrow()&&!i?(r.stop=!0,this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,s),o)):(c&&(this.checkExpressionErrors(a,!0),this.expressionScope.exit()),this.toReferencedArguments(o)),this.state.maybeInArrowParameters=n,o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,s,r){let i=this.startNodeAt(t,s);return i.tag=e,i.quasi=this.parseTemplate(!0),r.optionalChainMember&&this.raise(T.OptionalChainingNoTemplate,{at:s}),this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if("Import"===e.callee.type)if(2===e.arguments.length&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),0===e.arguments.length||e.arguments.length>2)this.raise(T.ImportCallArity,{at:e,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let t of e.arguments)"SpreadElement"===t.type&&this.raise(T.ImportCallSpreadArgument,{at:t});return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,s,r,i){let n=[],a=!0,o=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(e);){if(a)a=!1;else if(this.expect(12),this.match(e)){t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(T.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),r&&this.addTrailingCommaExtraToNode(r),this.next();break}n.push(this.parseExprListItem(!1,i,s))}return this.state.inFSharpPipelineDirectBody=o,n}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var s;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,null==(s=t.extra)?void 0:s.trailingCommaLoc),t.innerComments&&Ot(e,t.innerComments),t.callee.trailingComments&&Ot(e,t.callee.trailingComments),e}parseNoCallExpr(){let e=this.state.start,t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,!0)}parseExprAtom(e){let t,{type:s}=this.state;switch(s){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):(this.match(10)||this.raise(T.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(t,"Import"));case 78:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 130:return this.parseNumericLiteral(this.state.value);case 131:return this.parseBigIntLiteral(this.state.value);case 132:return this.parseDecimalLiteral(this.state.value);case 129:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 2:case 1:return this.parseArrayLike(2===this.state.type?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,e);case 6:case 7:return this.parseObjectLike(6===this.state.type?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,e);case 68:return this.parseFunctionOrFunctionSent();case 26:this.parseDecorators();case 80:return t=this.startNode(),this.takeDecorators(t),this.parseClass(t,!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;let e=t.callee=this.parseNoCallExpr();if("MemberExpression"===e.type)return this.finishNode(t,"BindExpression");throw this.raise(T.UnsupportedBind,{at:e})}case 134:return this.raise(T.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);throw this.unexpected()}case 47:{let e=this.input.codePointAt(this.nextTokenStart());if(Pe(e)||62===e){this.expectOnePlugin(["jsx","flow","typescript"]);break}throw this.unexpected()}default:if(Z(s)){if(this.isContextual(123)&&123===this.lookaheadCharCode()&&!this.hasFollowingLineBreak())return this.parseModuleExpression();let e=this.state.potentialArrowAt===this.state.start,t=this.state.containsEsc,s=this.parseIdentifier();if(!t&&"async"===s.name&&!this.canInsertSemicolon()){let{type:e}=this.state;if(68===e)return this.resetPreviousNodeTrailingComments(s),this.next(),this.parseFunction(this.startNodeAtNode(s),void 0,!0);if(Z(e))return 61===this.lookaheadCharCode()?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(s)):s;if(90===e)return this.resetPreviousNodeTrailingComments(s),this.parseDo(this.startNodeAtNode(s),!0)}return e&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(s),[s],!1)):s}throw this.unexpected()}}parseTopicReferenceThenEqualsSign(e,t){let s=this.getPluginOption("pipelineOperator","proposal");if(s)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=l(this.state.endLoc,-1),this.parseTopicReference(s);throw this.unexpected()}parseTopicReference(e){let t=this.startNode(),s=this.state.startLoc,r=this.state.type;return this.next(),this.finishTopicReference(t,s,e,r)}finishTopicReference(e,t,s,r){if(this.testTopicReferenceConfiguration(s,t,r)){let r="smart"===s?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise("smart"===s?T.PrimaryTopicNotAllowed:T.PipeTopicUnbound,{at:t}),this.registerTopicReference(),this.finishNode(e,r)}throw this.raise(T.PipeTopicUnconfiguredToken,{at:t,token:me(r)})}testTopicReferenceConfiguration(e,t,s){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:me(s)}]);case"smart":return 27===s;default:throw this.raise(T.PipeTopicRequiresHackPipes,{at:t})}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(Es(!0,this.prodParam.hasYield));let t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(T.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(e,t,!0),e}parseDo(e,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),e.async=t,this.next();let s=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(gs),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=s,this.finishNode(e,"DoExpression")}parseSuper(){let e=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(T.UnexpectedSuper,{at:e}):this.raise(T.SuperNotAllowed,{at:e}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(T.UnsupportedSuper,{at:e}),this.finishNode(e,"Super")}parsePrivateName(){let e=this.startNode(),t=this.startNodeAt(this.state.start+1,new c(this.state.curLine,this.state.start+1-this.state.lineStart,this.state.start+1)),s=this.state.value;return this.next(),e.id=this.createIdentifier(t,s),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,s){e.meta=t;let r=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==s||r)&&this.raise(T.UnsupportedMetaProperty,{at:e.property,target:t.name,onlyValidPropertyName:s}),this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){let t=this.createIdentifier(this.startNodeAtNode(e),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(T.ImportMetaOutsideModule,{at:t}),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,s){return this.addExtra(s,"rawValue",e),this.addExtra(s,"raw",this.input.slice(s.start,this.state.end)),s.value=e,this.next(),this.finishNode(s,t)}parseLiteral(e,t){let s=this.startNode();return this.parseLiteralAtNode(e,t,s)}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,s=this.state.start,r=this.state.startLoc;this.next(),this.expressionScope.enter(hs());let i=this.state.maybeInArrowParameters,n=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let a,o,c=this.state.start,u=this.state.startLoc,l=[],p=new As,h=!0;for(;!this.match(11);){if(h)h=!1;else if(this.expect(12,null===p.optionalParametersLoc?null:p.optionalParametersLoc),this.match(11)){o=this.state.startLoc;break}if(this.match(21)){let e=this.state.start,t=this.state.startLoc;if(a=this.state.startLoc,l.push(this.parseParenItem(this.parseRestBinding(),e,t)),!this.checkCommaAfterRest(41))break}else l.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem))}let d=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=i,this.state.inFSharpPipelineDirectBody=n;let m=this.startNodeAt(s,r);return e&&this.shouldParseArrow(l)&&(m=this.parseArrow(m))?(this.checkDestructuringPrivate(p),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(m,l,!1),m):(this.expressionScope.exit(),l.length||this.unexpected(this.state.lastTokStartLoc),o&&this.unexpected(o),a&&this.unexpected(a),this.checkExpressionErrors(p,!0),this.toReferencedListDeep(l,!0),l.length>1?(t=this.startNodeAt(c,u),t.expressions=l,this.finishNode(t,"SequenceExpression"),this.resetEndLocation(t,d)):t=l[0],this.wrapParenthesis(s,r,t))}wrapParenthesis(e,t,s){if(!this.options.createParenthesizedExpressions)return this.addExtra(s,"parenthesized",!0),this.addExtra(s,"parenStart",e),this.takeSurroundingComments(s,e,this.state.lastTokEndLoc.index),s;let r=this.startNodeAt(e,t);return r.expression=s,this.finishNode(r,"ParenthesizedExpression"),r}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t,s){return e}parseNewOrNewTarget(){let e=this.startNode();if(this.next(),this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();let s=this.parseMetaProperty(e,t,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&this.raise(T.UnexpectedNewTarget,{at:s}),s}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(),"Import"===e.callee.type?this.raise(T.ImportCallNotNewExpression,{at:e.callee}):this.isOptionalChain(e.callee)?this.raise(T.OptionalChainingNoNew,{at:this.state.lastTokEndLoc}):this.eat(18)&&this.raise(T.OptionalChainingNoNew,{at:this.state.startLoc})}parseTemplateElement(e){let{start:t,startLoc:s,end:r,value:i}=this.state,n=t+1,a=this.startNodeAt(n,l(s,1));null===i&&(e||this.raise(T.InvalidEscapeSequenceTemplate,{at:l(s,2)}));let o=this.match(24),c=o?-1:-2,u=r+c;return a.value={raw:this.input.slice(n,u).replace(/\r\n?/g,"\n"),cooked:null===i?null:i.slice(1,c)},a.tail=o,this.next(),this.finishNode(a,"TemplateElement"),this.resetEndLocation(a,l(this.state.lastTokEndLoc,c)),a}parseTemplate(e){let t=this.startNode();t.expressions=[];let s=this.parseTemplateElement(e);for(t.quasis=[s];!s.tail;)t.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),t.quasis.push(s=this.parseTemplateElement(e));return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,s,r){s&&this.expectPlugin("recordAndTuple");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let n=Object.create(null),a=!0,o=this.startNode();for(o.properties=[],this.next();!this.match(e);){if(a)a=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(o);break}let i;t?i=this.parseBindingProperty():(i=this.parsePropertyDefinition(r),this.checkProto(i,s,n,r)),s&&!this.isObjectProperty(i)&&"SpreadElement"!==i.type&&this.raise(T.InvalidRecordProperty,{at:i}),i.shorthand&&this.addExtra(i,"shorthand",!0),o.properties.push(i)}this.next(),this.state.inFSharpPipelineDirectBody=i;let c="ObjectExpression";return t?c="ObjectPattern":s&&(c="RecordExpression"),this.finishNode(o,c)}addTrailingCommaExtraToNode(e){this.addExtra(e,"trailingComma",this.state.lastTokStart),this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(e){return!e.computed&&"Identifier"===e.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let t=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(T.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)t.push(this.parseDecorator());let s,r,i=this.startNode(),n=!1,a=!1;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(i.decorators=t,t=[]),i.method=!1,e&&(s=this.state.start,r=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(i);let c=this.state.containsEsc,u=this.parsePropertyName(i,e);if(!o&&!c&&this.maybeAsyncOrAccessorProp(i)){let e=u.name;"async"===e&&!this.hasPrecedingLineBreak()&&(n=!0,this.resetPreviousNodeTrailingComments(u),o=this.eat(55),this.parsePropertyName(i)),("get"===e||"set"===e)&&(a=!0,this.resetPreviousNodeTrailingComments(u),i.kind=e,this.match(55)&&(o=!0,this.raise(T.AccessorIsGenerator,{at:this.state.curPosition(),kind:e}),this.next()),this.parsePropertyName(i))}return this.parseObjPropValue(i,s,r,o,n,!1,a,e),i}getGetterSetterExpectedParamCount(e){return"get"===e.kind?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;let s=this.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e);r.length!==s&&this.raise("get"===e.kind?T.BadGetterArity:T.BadSetterArity,{at:e}),"set"===e.kind&&"RestElement"===(null==(t=r[r.length-1])?void 0:t.type)&&this.raise(T.BadSetterRestParameter,{at:e})}parseObjectMethod(e,t,s,r,i){return i?(this.parseMethod(e,t,!1,!1,!1,"ObjectMethod"),this.checkGetterSetterParams(e),e):s||t||this.match(10)?(r&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,s,!1,!1,"ObjectMethod")):void 0}parseObjectProperty(e,t,s,r,i){if(e.shorthand=!1,this.eat(14))return e.value=r?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i),this.finishNode(e,"ObjectProperty");if(!e.computed&&"Identifier"===e.key.type){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),r)e.value=this.parseMaybeDefault(t,s,Ps(e.key));else if(this.match(29)){let r=this.state.startLoc;null!=i?null===i.shorthandAssignLoc&&(i.shorthandAssignLoc=r):this.raise(T.InvalidCoverInitializedName,{at:r}),e.value=this.parseMaybeDefault(t,s,Ps(e.key))}else e.value=Ps(e.key);return e.shorthand=!0,this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,s,r,i,n,a,o){let c=this.parseObjectMethod(e,r,i,n,a)||this.parseObjectProperty(e,t,s,n,o);return c||this.unexpected(),c}parsePropertyName(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let s,{type:r,value:i}=this.state;if(te(r))s=this.parseIdentifier(!0);else switch(r){case 130:s=this.parseNumericLiteral(i);break;case 129:s=this.parseStringLiteral(i);break;case 131:s=this.parseBigIntLiteral(i);break;case 132:s=this.parseDecimalLiteral(i);break;case 134:{let e=this.state.startLoc;null!=t?null===t.privateKeyLoc&&(t.privateKeyLoc=e):this.raise(T.UnexpectedPrivateField,{at:e}),s=this.parsePrivateName();break}default:throw this.unexpected()}e.key=s,134!==r&&(e.computed=!1)}return e.key}initFunction(e,t){e.id=null,e.generator=!1,e.async=!!t}parseMethod(e,t,s,r,i,n){let a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];this.initFunction(e,s),e.generator=!!t;let o=r;return this.scope.enter($e|Ge|(a?Je:0)|(i?We:0)),this.prodParam.enter(Es(s,e.generator)),this.parseFunctionParams(e,o),this.parseFunctionBodyAndFinish(e,n,!0),this.prodParam.exit(),this.scope.exit(),e}parseArrayLike(e,t,s,r){s&&this.expectPlugin("recordAndTuple");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let n=this.startNode();return this.next(),n.elements=this.parseExprList(e,!s,r,n),this.state.inFSharpPipelineDirectBody=i,this.finishNode(n,s?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,s,r){this.scope.enter($e|He);let i=Es(s,!1);!this.match(5)&&this.prodParam.hasIn&&(i|=vs),this.prodParam.enter(i),this.initFunction(e,s);let n=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=n,this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,s){this.toAssignableList(t,s,!1),e.params=t}parseFunctionBodyAndFinish(e,t){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.parseFunctionBody(e,!1,s),this.finishNode(e,t)}parseFunctionBody(e,t){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t&&!this.match(5);if(this.expressionScope.enter(ms()),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()|xs),e.body=this.parseBlock(!0,!1,(i=>{let n=!this.isSimpleParamList(e.params);i&&n&&this.raise(T.IllegalLanguageModeDirective,{at:"method"!==e.kind&&"constructor"!==e.kind||!e.key?e:e.key.loc.end});let a=!r&&this.state.strict;this.checkParams(e,!(this.state.strict||t||s||n),t,a),this.state.strict&&e.id&&this.checkIdentifier(e.id,xt,a)})),this.prodParam.exit(),this.state.labels=i}this.expressionScope.exit()}isSimpleParameter(e){return"Identifier"===e.type}isSimpleParamList(e){for(let t=0,s=e.length;t<s;t++)if(!this.isSimpleParameter(e[t]))return!1;return!0}checkParams(e,t,s){let r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!t&&new Set,n={type:"FormalParameters"};for(let t of e.params)this.checkLVal(t,{in:n,binding:pt,checkClashes:i,strictModeChanged:r})}parseExprList(e,t,s,r){let i=[],n=!0;for(;!this.eat(e);){if(n)n=!1;else if(this.expect(12),this.match(e)){r&&this.addTrailingCommaExtraToNode(r),this.next();break}i.push(this.parseExprListItem(t,s))}return i}parseExprListItem(e,t,s){let r;if(this.match(12))e||this.raise(T.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),r=null;else if(this.match(21)){let e=this.state.start,s=this.state.startLoc;r=this.parseParenItem(this.parseSpread(t),e,s)}else if(this.match(17)){this.expectPlugin("partialApplication"),s||this.raise(T.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(),s=this.parseIdentifierName(t.start,e);return this.createIdentifier(t,s)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}parseIdentifierName(e,t){let s,{startLoc:r,type:i}=this.state;if(!te(i))throw this.unexpected();s=this.state.value;let n=ee(i);return t?n&&this.replaceToken(128):this.checkReservedWord(s,r,n,!1),this.next(),s}checkReservedWord(e,t,s,r){if(!(e.length>10)&&Ue(e)){if("yield"===e){if(this.prodParam.hasYield)return void this.raise(T.YieldBindingIdentifier,{at:t})}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(T.AwaitBindingIdentifier,{at:t});if(this.scope.inStaticBlock)return void this.raise(T.AwaitBindingIdentifierInStaticBlock,{at:t});this.expressionScope.recordAsyncArrowParametersError({at:t})}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(T.ArgumentsInClass,{at:t});s&&Le(e)?this.raise(T.UnexpectedKeyword,{at:t,keyword:e}):(this.state.strict?r?Be:Oe:_e)(e,this.inModule)&&this.raise(T.UnexpectedReservedWord,{at:t,reservedWord:e})}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(e,t){let s=this.startNodeAt(e,t);return this.expressionScope.recordParameterInitializerError(T.AwaitExpressionFormalParameter,{at:s}),this.eat(55)&&this.raise(T.ObsoleteAwaitStar,{at:s}),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(s.argument=this.parseMaybeUnary(null,!0)),this.finishNode(s,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:e}=this.state;return 53===e||10===e||0===e||xe(e)||133===e||56===e||this.hasPlugin("v8intrinsic")&&54===e}parseYield(){let e=this.startNode();this.expressionScope.recordParameterInitializerError(T.YieldInParameter,{at:e}),this.next();let t=!1,s=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(55),this.state.type){case 13:case 135:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:s=this.parseMaybeAssign()}return e.delegate=t,e.argument=s,this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===e.type&&this.raise(T.PipelineHeadSequenceExpression,{at:t})}parseSmartPipelineBodyInStyle(e,t,s){let r=this.startNodeAt(t,s);return this.isSimpleReference(e)?(r.callee=e,this.finishNode(r,"PipelineBareFunction")):(this.checkSmartPipeTopicBodyEarlyErrors(s),r.expression=e,this.finishNode(r,"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(T.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(T.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"}]))return e();{let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}}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(vs&~t){this.prodParam.enter(t|vs);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){let t=this.prodParam.currentFlags();if(vs&t){this.prodParam.enter(t&~vs);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){let t=this.state.start,s=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let i=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,s,e);return this.state.inFSharpPipelineDirectBody=r,i}parseModuleExpression(){this.expectPlugin("moduleBlocks");let e=this.startNode();this.next(),this.eat(5);let t=this.initializeScopes(!0);this.enterInitialScopes();let s=this.startNode();try{e.body=this.parseProgram(s,8,"module")}finally{t()}return this.eat(8),this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}},br={kind:"loop"},Er={kind:"switch"},Cr=0,Ar=1,wr=2,Dr=4,Tr=/[\uD800-\uDFFF]/u,Pr=/in(?:stanceof)?/y;function Sr(e,t){for(let s=0;s<e.length;s++){let r=e[s],{type:i}=r;if("number"==typeof i){if(134===i){let{loc:t,start:i,value:n,end:a}=r,o=i+1,c=l(t.start,1);e.splice(s,1,new Kt({type:ve(27),value:"#",start:i,end:o,startLoc:t.start,endLoc:c}),new Kt({type:ve(128),value:n,start:o,end:a,startLoc:c,endLoc:t.end})),s++;continue}if(xe(i)){let n,a,o,c,u,{loc:p,start:h,value:d,end:m}=r,f=h+1,y=l(p.start,1);n=96===t.charCodeAt(h)?new Kt({type:ve(22),value:"`",start:h,end:f,startLoc:p.start,endLoc:y}):new Kt({type:ve(8),value:"}",start:h,end:f,startLoc:p.start,endLoc:y}),24===i?(o=m-1,c=l(p.end,-1),a=null===d?null:d.slice(1,-1),u=new Kt({type:ve(22),value:"`",start:o,end:m,startLoc:c,endLoc:p.end})):(o=m-2,c=l(p.end,-2),a=null===d?null:d.slice(1,-2),u=new Kt({type:ve(23),value:"${",start:o,end:m,startLoc:c,endLoc:p.end})),e.splice(s,1,n,new Kt({type:ve(20),value:a,start:f,end:o,startLoc:y,endLoc:c}),u),s+=2;continue}r.type=ve(i)}}return e}var kr=class extends vr{parseTopLevel(e,t){return e.program=this.parseProgram(t),e.comments=this.state.comments,this.options.tokens&&(e.tokens=Sr(this.tokens,this.input)),this.finishNode(e,"File")}parseProgram(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:135,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.options.sourceType;if(e.sourceType=s,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(T.ModuleExportUndefined,{at:t,localName:e});return this.finishNode(e,"Program")}stmtToDirective(e){let t=e;t.type="Directive",t.value=t.expression,delete t.expression;let s=t.value,r=s.value,i=this.input.slice(s.start,s.end),n=s.value=i.slice(1,-1);return this.addExtra(s,"raw",i),this.addExtra(s,"rawValue",n),this.addExtra(s,"expressionValue",r),s.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(e){return!!this.isContextual(99)&&this.isLetKeyword(e)}isLetKeyword(e){let t=this.nextTokenStart(),s=this.codePointAtPos(t);if(92===s||91===s)return!0;if(e)return!1;if(123===s)return!0;if(Pe(s)){if(Pr.lastIndex=t,Pr.test(this.input)){let e=this.codePointAtPos(Pr.lastIndex);if(!Se(e)&&92!==e)return!1}return!0}return!1}parseStatement(e,t){return this.match(26)&&this.parseDecorators(!0),this.parseStatementContent(e,t)}parseStatementContent(e,t){let s,r=this.state.type,i=this.startNode();switch(this.isLet(e)&&(r=74,s="let"),r){case 60:return this.parseBreakContinueStatement(i,!0);case 63:return this.parseBreakContinueStatement(i,!1);case 64:return this.parseDebuggerStatement(i);case 90:return this.parseDoStatement(i);case 91:return this.parseForStatement(i);case 68:if(46===this.lookaheadCharCode())break;return e&&(this.state.strict?this.raise(T.StrictFunction,{at:this.state.startLoc}):"if"!==e&&"label"!==e&&this.raise(T.SloppyFunction,{at:this.state.startLoc})),this.parseFunctionStatement(i,!1,!e);case 80:return e&&this.unexpected(),this.parseClass(i,!0);case 69:return this.parseIfStatement(i);case 70:return this.parseReturnStatement(i);case 71:return this.parseSwitchStatement(i);case 72:return this.parseThrowStatement(i);case 73:return this.parseTryStatement(i);case 75:case 74:return s=s||this.state.value,e&&"var"!==s&&this.raise(T.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(i,s);case 92:return this.parseWhileStatement(i);case 76:return this.parseWithStatement(i);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(i);case 83:{let e=this.lookaheadCharCode();if(40===e||46===e)break}case 82:{let e;return!this.options.allowImportExportEverywhere&&!t&&this.raise(T.UnexpectedImportExport,{at:this.state.startLoc}),this.next(),83===r?(e=this.parseImport(i),"ImportDeclaration"===e.type&&(!e.importKind||"value"===e.importKind)&&(this.sawUnambiguousESM=!0)):(e=this.parseExport(i),("ExportNamedDeclaration"===e.type&&(!e.exportKind||"value"===e.exportKind)||"ExportAllDeclaration"===e.type&&(!e.exportKind||"value"===e.exportKind)||"ExportDefaultDeclaration"===e.type)&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(i),e}default:if(this.isAsyncFunction())return e&&this.raise(T.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(i,!0,!e)}let n=this.state.value,a=this.parseExpression();return Z(r)&&"Identifier"===a.type&&this.eat(14)?this.parseLabeledStatement(i,n,a,e):this.parseExpressionStatement(i,a)}assertModuleNodeAllowed(e){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(T.ImportOutsideModule,{at:e})}takeDecorators(e){let t=this.state.decoratorStack[this.state.decoratorStack.length-1];t.length&&(e.decorators=t,this.resetStartLocationFromNode(e,t[0]),this.state.decoratorStack[this.state.decoratorStack.length-1]=[])}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){let t=this.state.decoratorStack[this.state.decoratorStack.length-1];for(;this.match(26);){let e=this.parseDecorator();t.push(e)}if(this.match(82))e||this.unexpected(),this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(T.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(T.UnexpectedLeadingDecorator,{at:this.state.startLoc})}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);let e=this.startNode();if(this.next(),this.hasPlugin("decorators")){this.state.decoratorStack.push([]);let t,s=this.state.start,r=this.state.startLoc;if(this.match(10)){let e=this.state.start,s=this.state.startLoc;this.next(),t=this.parseExpression(),this.expect(11),t=this.wrapParenthesis(e,s,t)}else for(t=this.parseIdentifier(!1);this.eat(16);){let e=this.startNodeAt(s,r);e.object=t,e.property=this.parseIdentifier(!0),e.computed=!1,t=this.finishNode(e,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(t),this.state.decoratorStack.pop()}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 s;for(s=0;s<this.state.labels.length;++s){let r=this.state.labels[s];if((null==e.label||r.name===e.label.name)&&(null!=r.kind&&(t||"loop"===r.kind)||e.label&&t))break}if(s===this.state.labels.length){let s=t?"BreakStatement":"ContinueStatement";this.raise(T.IllegalBreakContinue,{at:e,type:s})}}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let e=this.parseExpression();return this.expect(11),e}parseDoStatement(e){return this.next(),this.state.labels.push(br),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("do"))),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(br);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(t=this.state.lastTokStartLoc),this.scope.enter(qe),this.expect(10),this.match(13))return null!==t&&this.unexpected(t),this.parseFor(e,null);let s=this.isContextual(99),r=s&&this.isLetKeyword();if(this.match(74)||this.match(75)||r){let s=this.startNode(),i=r?"let":this.state.value;return this.next(),this.parseVar(s,!0,i),this.finishNode(s,"VariableDeclaration"),(this.match(58)||this.isContextual(101))&&1===s.declarations.length?this.parseForIn(e,s,t):(null!==t&&this.unexpected(t),this.parseFor(e,s))}let i=this.isContextual(95),n=new As,a=this.parseExpression(!0,n),o=this.isContextual(101);if(o&&(s&&this.raise(T.ForOfLet,{at:a}),null===t&&i&&"Identifier"===a.type&&this.raise(T.ForOfAsync,{at:a})),o||this.match(58)){this.checkDestructuringPrivate(n),this.toAssignable(a,!0);let s=o?"ForOfStatement":"ForInStatement";return this.checkLVal(a,{in:{type:s}}),this.parseForIn(e,a,t)}return this.checkExpressionErrors(n,!0),null!==t&&this.unexpected(t),this.parseFor(e,a)}parseFunctionStatement(e,t,s){return this.next(),this.parseFunction(e,Ar|(s?0:wr),t)}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(66)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(T.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,s=e.cases=[];this.expect(5),this.state.labels.push(Er),this.scope.enter(qe);for(let e;!this.match(8);)if(this.match(61)||this.match(65)){let r=this.match(61);t&&this.finishNode(t,"SwitchCase"),s.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(e&&this.raise(T.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),e=!0,t.test=null),this.expect(14)}else t?t.consequent.push(this.parseStatement(null)):this.unexpected();return this.scope.exit(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(T.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){let e=this.parseBindingAtom(),t="Identifier"===e.type;return this.scope.enter(t?Ve:0),this.checkLVal(e,{in:{type:"CatchClause"},binding:lt,allowingSloppyLetBinding:!0}),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(qe)),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(T.NoCatchOrFinally,{at:e}),this.finishNode(e,"TryStatement")}parseVarStatement(e,t){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.next(),this.parseVar(e,!1,t,s),this.semicolon(),this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(br),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("while"))),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(T.StrictWith,{at:this.state.startLoc}),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("with"))),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,s,r){for(let e of this.state.labels)e.name===t&&this.raise(T.LabelRedeclaration,{at:s,labelName:t});let i=oe(this.state.type)?"loop":this.match(71)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){let s=this.state.labels[t];if(s.statementStart!==e.start)break;s.statementStart=this.state.start,s.kind=i}return this.state.labels.push({name:t,kind:i,statementStart:this.state.start}),e.body=this.parseStatement(r?-1===r.indexOf("label")?r+"label":r:"label"),this.state.labels.pop(),e.label=s,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")}parseBlock(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],s=arguments.length>2?arguments[2]:void 0,r=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(qe),this.parseBlockBody(r,e,!1,8,s),t&&this.scope.exit(),this.finishNode(r,"BlockStatement")}isValidDirective(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized}parseBlockBody(e,t,s,r,i){let n=e.body=[],a=e.directives=[];this.parseBlockOrModuleBlockBody(n,t?a:void 0,s,r,i)}parseBlockOrModuleBlockBody(e,t,s,r,i){let n=this.state.strict,a=!1,o=!1;for(;!this.match(r);){let r=this.parseStatement(null,s);if(t&&!o){if(this.isValidDirective(r)){let e=this.stmtToDirective(r);t.push(e),!a&&"use strict"===e.value.value&&(a=!0,this.setStrict(!0));continue}o=!0,this.state.strictErrors.clear()}e.push(r)}i&&i.call(this,a),n||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("for"))),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,t,s){let r=this.match(58);return this.next(),r?null!==s&&this.unexpected(s):e.await=null!==s,"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!r||this.state.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(T.ForInOfLoopInitializer,{at:t,type:r?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===t.type&&this.raise(T.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("for"))),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")}parseVar(e,t,s){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.declarations=[];for(e.kind=s;;){let e=this.startNode();if(this.parseVarId(e,s),e.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,null===e.init&&!r&&("Identifier"===e.id.type||t&&(this.match(58)||this.isContextual(101))?"const"===s&&!(this.match(58)||this.isContextual(101))&&this.raise(T.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"}):this.raise(T.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"})),i.push(this.finishNode(e,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,{in:{type:"VariableDeclarator"},binding:"var"===t?pt:lt})}parseFunction(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Cr,s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t&Ar,i=t&wr,n=!(!r||t&Dr);this.initFunction(e,s),this.match(55)&&i&&this.raise(T.GeneratorInSingleStatementContext,{at:this.state.startLoc}),e.generator=this.eat(55),r&&(e.id=this.parseFunctionId(n));let a=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter($e),this.prodParam.enter(Es(s,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&&!i&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=a,e}parseFunctionId(e){return e||Z(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(ps()),e.params=this.parseBindingList(11,41,!1,t),this.expressionScope.exit()}registerFunctionStatementId(e){!e.id||this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?pt:lt:ht,e.id.loc.start)}parseClass(e,t,s){this.next(),this.takeDecorators(e);let r=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,s),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||"constructor"!==e.key.name&&"constructor"!==e.key.value)}parseClassBody(e,t){this.classScope.enter();let s={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(T.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,s),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&this.raise(T.DecoratorConstructor,{at:e})}})),this.state.strict=t,this.next(),r.length)throw this.raise(T.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){let s=this.parseIdentifier(!0);if(this.isClassMethod()){let r=t;return r.kind="method",r.computed=!1,r.key=s,r.static=!1,this.pushClassMethod(e,r,!1,!1,!1,!1),!0}if(this.isClassProperty()){let r=t;return r.computed=!1,r.key=s,r.static=!1,e.body.push(this.parseClassProperty(r)),!0}return this.resetPreviousNodeTrailingComments(s),!1}parseClassMember(e,t,s){let r=this.isContextual(104);if(r){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,s,r)}parseClassMemberWithIsStatic(e,t,s,r){let i=t,n=t,a=t,o=t,c=t,u=i,l=i;if(t.static=r,this.parsePropertyNamePrefixOperator(t),this.eat(55)){u.kind="method";let t=this.match(134);return this.parseClassElementName(u),t?void this.pushClassPrivateMethod(e,n,!0,!1):(this.isNonstaticConstructor(i)&&this.raise(T.ConstructorIsGenerator,{at:i.key}),void this.pushClassMethod(e,i,!0,!1,!1,!1))}let p=Z(this.state.type)&&!this.state.containsEsc,h=this.match(134),d=this.parseClassElementName(t),m=this.state.startLoc;if(this.parsePostMemberNameModifiers(l),this.isClassMethod()){if(u.kind="method",h)return void this.pushClassPrivateMethod(e,n,!1,!1);let r=this.isNonstaticConstructor(i),a=!1;r&&(i.kind="constructor",s.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(T.DuplicateConstructor,{at:d}),r&&this.hasPlugin("typescript")&&t.override&&this.raise(T.OverrideOnConstructor,{at:d}),s.hadConstructor=!0,a=s.hadSuperClass),this.pushClassMethod(e,i,!1,!1,r,a)}else if(this.isClassProperty())h?this.pushClassPrivateProperty(e,o):this.pushClassProperty(e,a);else if(p&&"async"===d.name&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(d);let t=this.eat(55);l.optional&&this.unexpected(m),u.kind="method";let s=this.match(134);this.parseClassElementName(u),this.parsePostMemberNameModifiers(l),s?this.pushClassPrivateMethod(e,n,t,!0):(this.isNonstaticConstructor(i)&&this.raise(T.ConstructorIsAsync,{at:i.key}),this.pushClassMethod(e,i,t,!0,!1,!1))}else if(!p||"get"!==d.name&&"set"!==d.name||this.match(55)&&this.isLineTerminator())if(p&&"accessor"===d.name&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(d);let t=this.match(134);this.parseClassElementName(a),this.pushClassAccessorProperty(e,c,t)}else this.isLineTerminator()?h?this.pushClassPrivateProperty(e,o):this.pushClassProperty(e,a):this.unexpected();else{this.resetPreviousNodeTrailingComments(d),u.kind=d.name;let t=this.match(134);this.parseClassElementName(i),t?this.pushClassPrivateMethod(e,n,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(T.ConstructorIsAccessor,{at:i.key}),this.pushClassMethod(e,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}}parseClassElementName(e){let{type:t,value:s}=this.state;if((128===t||129===t)&&e.static&&"prototype"===s&&this.raise(T.StaticPrototype,{at:this.state.startLoc}),134===t){"constructor"===s&&this.raise(T.ConstructorClassPrivateField,{at:this.state.startLoc});let t=this.parsePrivateName();return e.key=t,t}return this.parsePropertyName(e)}parseClassStaticBlock(e,t){var s;this.scope.enter(Je|Xe|Ge);let r=this.state.labels;this.state.labels=[],this.prodParam.enter(fs);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")),null!=(s=t.decorators)&&s.length&&this.raise(T.DecoratorStaticBlock,{at:t})}pushClassProperty(e,t){!t.computed&&("constructor"===t.key.name||"constructor"===t.key.value)&&this.raise(T.ConstructorClassField,{at:t.key}),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){let s=this.parseClassPrivateProperty(t);e.body.push(s),this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),Nt,s.key.loc.start)}pushClassAccessorProperty(e,t,s){if(!s&&!t.computed){let e=t.key;("constructor"===e.name||"constructor"===e.value)&&this.raise(T.ConstructorClassField,{at:e})}let r=this.parseClassAccessorProperty(t);e.body.push(r),s&&this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),Nt,r.key.loc.start)}pushClassMethod(e,t,s,r,i,n){e.body.push(this.parseMethod(t,s,r,i,n,"ClassMethod",!0))}pushClassPrivateMethod(e,t,s,r){let i=this.parseMethod(t,s,r,!1,!1,"ClassPrivateMethod",!0);e.body.push(i);let n="get"===i.kind?i.static?Tt:St:"set"===i.kind?i.static?Pt:kt:Nt;this.declareClassPrivateMethodInScope(i,n)}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(Je|Ge),this.expressionScope.enter(ms()),this.prodParam.enter(fs),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,s){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ut;if(Z(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,r);else{if(!s&&t)throw this.raise(T.MissingClassName,{at:this.state.startLoc});e.id=null}}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e){let t=this.maybeParseExportDefaultSpecifier(e),s=!t||this.eat(12),r=s&&this.eatExportStar(e),i=r&&this.maybeParseExportNamespaceSpecifier(e),n=s&&(!i||this.eat(12)),a=t||r;if(r&&!i)return t&&this.unexpected(),this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration");let o,c=this.maybeParseExportNamedSpecifiers(e);if(t&&s&&!r&&!c||i&&n&&!c)throw this.unexpected(null,5);if(a||c?(o=!1,this.parseExportFrom(e,a)):o=this.maybeParseExportDeclaration(e),a||c||o)return this.checkExport(e,!0,!1,!!e.source),this.finishNode(e,"ExportNamedDeclaration");if(this.eat(65))return e.declaration=this.parseExportDefaultExpression(),this.checkExport(e,!0,!0),this.finishNode(e,"ExportDefaultDeclaration");throw 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||(e.specifiers=[]);let t=this.startNodeAt(this.state.lastTokStart,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||(e.specifiers=[]);let t="type"===e.exportKind;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)}isAsyncFunction(){if(!this.isContextual(95))return!1;let e=this.nextTokenStart();return!Lt.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){let e=this.startNode(),t=this.isAsyncFunction();if(this.match(68)||t)return this.next(),t&&this.next(),this.parseFunction(e,Ar|Dr,t);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(T.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseDecorators(!1),this.parseClass(e,!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(T.UnsupportedDefaultExport,{at:this.state.startLoc});let s=this.parseMaybeAssignAllowIn();return this.semicolon(),s}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){let{type:e}=this.state;if(Z(e)){if(95===e&&!this.state.containsEsc||99===e)return!1;if((126===e||125===e)&&!this.state.containsEsc){let{type:e}=this.lookahead();if(Z(e)&&97!==e||5===e)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let t=this.nextTokenStart(),s=this.isUnparsedContextual(t,"from");if(44===this.input.charCodeAt(t)||Z(this.state.type)&&s)return!0;if(this.match(65)&&s){let e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return 34===e||39===e}return!1}parseExportFrom(e,t){if(this.eatContextual(97)){e.source=this.parseImportSource(),this.checkExport(e);let t=this.maybeParseImportAssertions();t&&(e.assertions=t)}else t&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){let{type:e}=this.state;if(26===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))){if(this.getPluginOption("decorators","decoratorsBeforeExport"))throw this.raise(T.DecoratorBeforeExport,{at:this.state.startLoc});return!0}return 74===e||75===e||68===e||80===e||this.isLet()||this.isAsyncFunction()}checkExport(e,t,s,r){if(t)if(s){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var i;let t=e.declaration;"Identifier"===t.type&&"from"===t.name&&t.end-t.start==4&&(null==(i=t.extra)||!i.parenthesized)&&this.raise(T.ExportDefaultFromAsIdentifier,{at:t})}}else if(e.specifiers&&e.specifiers.length)for(let t of e.specifiers){let{exported:e}=t,s="Identifier"===e.type?e.name:e.value;if(this.checkDuplicateExports(t,s),!r&&t.local){let{local:e}=t;"Identifier"!==e.type?this.raise(T.ExportBindingIsString,{at:t,localName:e.value,exportName:s}):(this.checkReservedWord(e.name,e.loc.start,!0,!1),this.scope.checkLocalExport(e))}}else if(e.declaration)if("FunctionDeclaration"===e.declaration.type||"ClassDeclaration"===e.declaration.type){let t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if("VariableDeclaration"===e.declaration.type)for(let t of e.declaration.declarations)this.checkDeclaration(t.id);if(this.state.decoratorStack[this.state.decoratorStack.length-1].length)throw this.raise(T.UnsupportedDecoratorExport,{at:e})}checkDeclaration(e){if("Identifier"===e.type)this.checkDuplicateExports(e,e.name);else if("ObjectPattern"===e.type)for(let t of e.properties)this.checkDeclaration(t);else if("ArrayPattern"===e.type)for(let t of e.elements)t&&this.checkDeclaration(t);else"ObjectProperty"===e.type?this.checkDeclaration(e.value):"RestElement"===e.type?this.checkDeclaration(e.argument):"AssignmentPattern"===e.type&&this.checkDeclaration(e.left)}checkDuplicateExports(e,t){this.exportedIdentifiers.has(t)&&("default"===t?this.raise(T.DuplicateDefaultExport,{at:e}):this.raise(T.DuplicateExport,{at:e,exportName:t})),this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){let t=[],s=!0;for(this.expect(5);!this.eat(8);){if(s)s=!1;else if(this.expect(12),this.eat(8))break;let r=this.isContextual(126),i=this.match(129),n=this.startNode();n.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(n,i,e,r))}return t}parseExportSpecifier(e,t,s,r){return this.eatContextual(93)?e.exported=this.parseModuleExportName():t?e.exported=Ss(e.local):e.exported||(e.exported=Ps(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(129)){let e=this.parseStringLiteral(this.state.value),t=e.value.match(Tr);return t&&this.raise(T.ModuleExportNameHasLoneSurrogate,{at:e,surrogateCharCode:t[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}parseImport(e){if(e.specifiers=[],!this.match(129)){let t=!this.maybeParseDefaultImportSpecifier(e)||this.eat(12),s=t&&this.maybeParseStarImportSpecifier(e);t&&!s&&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.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(129)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(e){return Z(this.state.type)}parseImportSpecifierLocal(e,t,s){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,s))}finishImportSpecifier(e,t){return this.checkLVal(e.local,{in:e,binding:lt}),this.finishNode(e,t)}parseAssertEntries(){let e=[],t=new Set;do{if(this.match(8))break;let s=this.startNode(),r=this.state.value;if(t.has(r)&&this.raise(T.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:r}),t.add(r),this.match(129)?s.key=this.parseStringLiteral(r):s.key=this.parseIdentifier(!0),this.expect(14),!this.match(129))throw this.raise(T.ModuleAttributeInvalidValue,{at:this.state.startLoc});s.value=this.parseStringLiteral(this.state.value),this.finishNode(s,"ImportAttribute"),e.push(s)}while(this.eat(12));return e}maybeParseModuleAttributes(){if(!this.match(76)||this.hasPrecedingLineBreak())return this.hasPlugin("moduleAttributes")?[]:null;this.expectPlugin("moduleAttributes"),this.next();let e=[],t=new Set;do{let s=this.startNode();if(s.key=this.parseIdentifier(!0),"type"!==s.key.name&&this.raise(T.ModuleAttributeDifferentFromType,{at:s.key}),t.has(s.key.name)&&this.raise(T.ModuleAttributesWithDuplicateKeys,{at:s.key,key:s.key.name}),t.add(s.key.name),this.expect(14),!this.match(129))throw this.raise(T.ModuleAttributeInvalidValue,{at:this.state.startLoc});s.value=this.parseStringLiteral(this.state.value),this.finishNode(s,"ImportAttribute"),e.push(s)}while(this.eat(12));return e}maybeParseImportAssertions(){if(!this.isContextual(94)||this.hasPrecedingLineBreak())return this.hasPlugin("importAssertions")?[]:null;this.expectPlugin("importAssertions"),this.next(),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)}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(T.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let s=this.startNode(),r=this.match(129),i=this.isContextual(126);s.imported=this.parseModuleExportName();let n=this.parseImportSpecifier(s,r,"type"===e.importKind||"typeof"===e.importKind,i);e.specifiers.push(n)}}parseImportSpecifier(e,t,s,r){if(this.eatContextual(93))e.local=this.parseIdentifier();else{let{imported:s}=e;if(t)throw this.raise(T.ImportBindingIsString,{at:e,importName:s.value});this.checkReservedWord(s.name,e.loc.start,!0,!0),e.local||(e.local=Ps(s))}return this.finishImportSpecifier(e,"ImportSpecifier")}isThisParam(e){return"Identifier"===e.type&&"this"===e.name}},Nr=class extends kr{constructor(e,t){super(e=fr(e),t),this.options=e,this.initializeScopes(),this.plugins=Fr(this.options.plugins),this.filename=e.sourceFilename}getScopeHandler(){return Zt}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 Fr(e){let t=new Map;for(let s of e){let[e,r]=Array.isArray(s)?s:[s,{}];t.has(e)||t.set(e,r||{})}return t}function Ir(e,t){var s;if("unambiguous"!==(null==(s=t)?void 0:s.sourceType))return Br(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";let s=Br(t,e),r=s.parse();if(s.sawUnambiguousESM)return r;if(s.ambiguousScriptDifferentAst)try{return t.sourceType="script",Br(t,e).parse()}catch{}else r.program.sourceType="script";return r}catch(s){try{return t.sourceType="script",Br(t,e).parse()}catch{}throw s}}function _r(e,t){let s=Br(t,e);return s.options.strictMode&&(s.state.strict=!0),s.getExpression()}function Or(e){let t={};for(let s of Object.keys(e))t[s]=ve(e[s]);return t}var jr=Or(Q);function Br(e,t){let s=Nr;return null!=e&&e.plugins&&(pr(e.plugins),s=Mr(e.plugins)),new s(e,t)}var Lr={};function Mr(e){let t=dr.filter((t=>ar(e,t))),s=t.join("/"),r=Lr[s];if(!r){r=Nr;for(let e of t)r=hr[e](r);Lr[s]=r}return r}e.parse=Ir,e.parseExpression=_r,e.tokTypes=jr}}),le=d({"src/language-js/parse/json.js"(e,t){g();var s=K(),r=Z(),i=Q(),n=ee();function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{allowComments:t=!0}=e;return function(e){let r,{parseExpression:i}=ue();try{r=i(e,{tokens:!0,ranges:!0})}catch(e){throw n(e)}if(!t&&s(r.comments))throw o(r.comments[0],"Comment");return c(r),r}}function o(e,t){let[s,i]=[e.loc.start,e.loc.end].map((e=>{let{line:t,column:s}=e;return{line:t,column:s+1}}));return r("".concat(t," is not allowed in JSON."),{start:s,end:i})}function c(e){switch(e.type){case"ArrayExpression":for(let t of e.elements)null!==t&&c(t);return;case"ObjectExpression":for(let t of e.properties)c(t);return;case"ObjectProperty":if(e.computed)throw o(e.key,"Computed key");if(e.shorthand)throw o(e.key,"Shorthand property");return"Identifier"!==e.key.type&&c(e.key),void c(e.value);case"UnaryExpression":{let{operator:t,argument:s}=e;if("+"!==t&&"-"!==t)throw o(e,"Operator '".concat(e.operator,"'"));if("NumericLiteral"===s.type||"Identifier"===s.type&&("Infinity"===s.name||"NaN"===s.name))return;throw o(s,"Operator '".concat(t,"' before '").concat(s.type,"'"))}case"Identifier":if("Infinity"!==e.name&&"NaN"!==e.name&&"undefined"!==e.name)throw o(e,"Identifier '".concat(e.name,"'"));return;case"TemplateLiteral":if(s(e.expressions))throw o(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 o(e,"'".concat(e.type,"'"))}}var u=a(),l={json:i({parse:u,hasPragma:()=>!0}),json5:i(u),"json-stringify":i({parse:a({allowComments:!1}),astFormat:"estree-json"})};t.exports=l}});g();var he=x(),de=v(),me=w(),fe=Q(),ye=ee(),ge=ce(),xe=le(),ve={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},Ee=["recordAndTuple",{syntaxType:"hash"}],Ce="v8intrinsic",Ae=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],we=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ve;return Object.assign(Object.assign({},t),{},{plugins:[...t.plugins,...e]})},De=/@(?:no)?flow\b/;function Te(e,t){if(t.filepath&&t.filepath.endsWith(".js.flow"))return!0;let s=de(e);s&&(e=e.slice(s.length));let r=me(e,0);return!1!==r&&(e=e.slice(0,r)),De.test(e)}function Pe(e,t,s){let r=ue()[e](t,s),i=r.errors.find((e=>!je.has(e.reasonCode)));if(i)throw i;return r}function Se(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),r=1;r<t;r++)s[r-1]=arguments[r];return function(t,r){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(("babel"===i.parser||"__babel_estree"===i.parser)&&Te(t,i))return i.parser="babel-flow",Ne(t,r,i);let n=s;"script"===i.__babelSourceType&&(n=n.map((e=>Object.assign(Object.assign({},e),{},{sourceType:"script"})))),/#[[{]/.test(t)&&(n=n.map((e=>we([Ee],e))));let a=/%[A-Z]/.test(t);t.includes("|>")?n=(a?[...Ae,Ce]:Ae).flatMap((e=>n.map((t=>we([e],t))))):a&&(n=n.map((e=>we([Ce],e))));let{result:o,error:c}=he(...n.map((s=>()=>Pe(e,t,s))));if(!o)throw ye(c);return i.originalText=t,ge(o,i)}}var ke=Se("parse",we(["jsx","flow"])),Ne=Se("parse",we(["jsx",["flow",{all:!0,enums:!0}]])),Fe=Se("parse",we(["jsx","typescript"]),we(["typescript"])),Ie=Se("parse",we(["jsx","flow","estree"])),_e=Se("parseExpression",we(["jsx"])),Oe=Se("parseExpression",we(["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"]),Be=fe(ke),Le=fe(Fe),Me=fe(_e),Re=fe(Oe);t.exports={parsers:Object.assign(Object.assign({babel:Be,"babel-flow":fe(Ne),"babel-ts":Le},xe),{},{__js_expression:Me,__vue_expression:Me,__vue_ts_expression:Re,__vue_event_binding:Be,__vue_ts_event_binding:Le,__babel_estree:fe(Ie)})}}));return Ee()}()})),md=ee(dd),fd=te((function(e,t){var s,r,i,n,a,o,c,u,l,p,h,d,m,f,y,g,x,v,b,E,C,A,w,D,T,P,S,k,N,F,I,_,O,j,B,L,M,R,U,q,z,$,H,V,G,W,J,X,K,Y,Q,ee,te,se,re,ie,ne,ae,oe,ce,ue,le,pe,he,de,me;e.exports=(r=(s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports))(((e,t)=>{var s=function(e){return e&&e.Math==Math&&e};t.exports=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof Z&&Z)||function(){return this}()||Function("return this")()})),i=s(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),n=s(((e,t)=>{var s=i();t.exports=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),a=s(((e,t)=>{var s=i();t.exports=!s((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),o=s(((e,t)=>{var s=a(),r=Function.prototype.call;t.exports=s?r.bind(r):function(){return r.apply(r,arguments)}})),c=s((e=>{var t={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,r=s&&!t.call({1:2},1);e.f=r?function(e){var t=s(this,e);return!!t&&t.enumerable}:t})),u=s(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),l=s(((e,t)=>{var s=a(),r=Function.prototype,i=r.bind,n=r.call,o=s&&i.bind(n,n);t.exports=s?function(e){return e&&o(e)}:function(e){return e&&function(){return n.apply(e,arguments)}}})),p=s(((e,t)=>{var s=l(),r=s({}.toString),i=s("".slice);t.exports=function(e){return i(r(e),8,-1)}})),h=s(((e,t)=>{var s=r(),n=l(),a=i(),o=p(),c=s.Object,u=n("".split);t.exports=a((function(){return!c("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?u(e,""):c(e)}:c})),d=s(((e,t)=>{var s=r().TypeError;t.exports=function(e){if(null==e)throw s("Can't call method on "+e);return e}})),m=s(((e,t)=>{var s=h(),r=d();t.exports=function(e){return s(r(e))}})),f=s(((e,t)=>{t.exports=function(e){return"function"==typeof e}})),y=s(((e,t)=>{var s=f();t.exports=function(e){return"object"==typeof e?null!==e:s(e)}})),g=s(((e,t)=>{var s=r(),i=f(),n=function(e){return i(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?n(s[e]):s[e]&&s[e][t]}})),x=s(((e,t)=>{var s=l();t.exports=s({}.isPrototypeOf)})),v=s(((e,t)=>{var s=g();t.exports=s("navigator","userAgent")||""})),b=s(((e,t)=>{var s,i,n=r(),a=v(),o=n.process,c=n.Deno,u=o&&o.versions||c&&c.version,l=u&&u.v8;l&&(i=(s=l.split("."))[0]>0&&s[0]<4?1:+(s[0]+s[1])),!i&&a&&(!(s=a.match(/Edge\/(\d+)/))||s[1]>=74)&&(s=a.match(/Chrome\/(\d+)/))&&(i=+s[1]),t.exports=i})),E=s(((e,t)=>{var s=b(),r=i();t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&s&&s<41}))})),C=s(((e,t)=>{var s=E();t.exports=s&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),A=s(((e,t)=>{var s=r(),i=g(),n=f(),a=x(),o=C(),c=s.Object;t.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return n(t)&&a(t.prototype,c(e))}})),w=s(((e,t)=>{var s=r().String;t.exports=function(e){try{return s(e)}catch{return"Object"}}})),D=s(((e,t)=>{var s=r(),i=f(),n=w(),a=s.TypeError;t.exports=function(e){if(i(e))return e;throw a(n(e)+" is not a function")}})),T=s(((e,t)=>{var s=D();t.exports=function(e,t){var r=e[t];return null==r?void 0:s(r)}})),P=s(((e,t)=>{var s=r(),i=o(),n=f(),a=y(),c=s.TypeError;t.exports=function(e,t){var s,r;if("string"===t&&n(s=e.toString)&&!a(r=i(s,e))||n(s=e.valueOf)&&!a(r=i(s,e))||"string"!==t&&n(s=e.toString)&&!a(r=i(s,e)))return r;throw c("Can't convert object to primitive value")}})),S=s(((e,t)=>{t.exports=!1})),k=s(((e,t)=>{var s=r(),i=Object.defineProperty;t.exports=function(e,t){try{i(s,e,{value:t,configurable:!0,writable:!0})}catch{s[e]=t}return t}})),N=s(((e,t)=>{var s=r(),i=k(),n="__core-js_shared__",a=s[n]||i(n,{});t.exports=a})),F=s(((e,t)=>{var s=S(),r=N();(t.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.2",mode:s?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})})),I=s(((e,t)=>{var s=r(),i=d(),n=s.Object;t.exports=function(e){return n(i(e))}})),_=s(((e,t)=>{var s=l(),r=I(),i=s({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(r(e),t)}})),O=s(((e,t)=>{var s=l(),r=0,i=Math.random(),n=s(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+n(++r+i,36)}})),j=s(((e,t)=>{var s=r(),i=F(),n=_(),a=O(),o=E(),c=C(),u=i("wks"),l=s.Symbol,p=l&&l.for,h=c?l:l&&l.withoutSetter||a;t.exports=function(e){if(!n(u,e)||!o&&"string"!=typeof u[e]){var t="Symbol."+e;o&&n(l,e)?u[e]=l[e]:u[e]=c&&p?p(t):h(t)}return u[e]}})),B=s(((e,t)=>{var s=r(),i=o(),n=y(),a=A(),c=T(),u=P(),l=j(),p=s.TypeError,h=l("toPrimitive");t.exports=function(e,t){if(!n(e)||a(e))return e;var s,r=c(e,h);if(r){if(void 0===t&&(t="default"),s=i(r,e,t),!n(s)||a(s))return s;throw p("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}})),L=s(((e,t)=>{var s=B(),r=A();t.exports=function(e){var t=s(e,"string");return r(t)?t:t+""}})),M=s(((e,t)=>{var s=r(),i=y(),n=s.document,a=i(n)&&i(n.createElement);t.exports=function(e){return a?n.createElement(e):{}}})),R=s(((e,t)=>{var s=n(),r=i(),a=M();t.exports=!s&&!r((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))})),U=s((e=>{var t=n(),s=o(),r=c(),i=u(),a=m(),l=L(),p=_(),h=R(),d=Object.getOwnPropertyDescriptor;e.f=t?d:function(e,t){if(e=a(e),t=l(t),h)try{return d(e,t)}catch{}if(p(e,t))return i(!s(r.f,e,t),e[t])}})),q=s(((e,t)=>{var s=n(),r=i();t.exports=s&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),z=s(((e,t)=>{var s=r(),i=y(),n=s.String,a=s.TypeError;t.exports=function(e){if(i(e))return e;throw a(n(e)+" is not an object")}})),$=s((e=>{var t=r(),s=n(),i=R(),a=q(),o=z(),c=L(),u=t.TypeError,l=Object.defineProperty,p=Object.getOwnPropertyDescriptor,h="enumerable",d="configurable",m="writable";e.f=s?a?function(e,t,s){if(o(e),t=c(t),o(s),"function"==typeof e&&"prototype"===t&&"value"in s&&m in s&&!s[m]){var r=p(e,t);r&&r[m]&&(e[t]=s.value,s={configurable:d in s?s[d]:r[d],enumerable:h in s?s[h]:r[h],writable:!1})}return l(e,t,s)}:l:function(e,t,s){if(o(e),t=c(t),o(s),i)try{return l(e,t,s)}catch{}if("get"in s||"set"in s)throw u("Accessors not supported");return"value"in s&&(e[t]=s.value),e}})),H=s(((e,t)=>{var s=n(),r=$(),i=u();t.exports=s?function(e,t,s){return r.f(e,t,i(1,s))}:function(e,t,s){return e[t]=s,e}})),V=s(((e,t)=>{var s=l(),r=f(),i=N(),n=s(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return n(e)}),t.exports=i.inspectSource})),G=s(((e,t)=>{var s=r(),i=f(),n=V(),a=s.WeakMap;t.exports=i(a)&&/native code/.test(n(a))})),W=s(((e,t)=>{var s=F(),r=O(),i=s("keys");t.exports=function(e){return i[e]||(i[e]=r(e))}})),J=s(((e,t)=>{t.exports={}})),X=s(((e,t)=>{var s,i,n,a,o,c,u,p,h=G(),d=r(),m=l(),f=y(),g=H(),x=_(),v=N(),b=W(),E=J(),C="Object already initialized",A=d.TypeError,w=d.WeakMap,D=function(e){return n(e)?i(e):s(e,{})},T=function(e){return function(t){var s;if(!f(t)||(s=i(t)).type!==e)throw A("Incompatible receiver, "+e+" required");return s}};h||v.state?(a=v.state||(v.state=new w),o=m(a.get),c=m(a.has),u=m(a.set),s=function(e,t){if(c(a,e))throw new A(C);return t.facade=e,u(a,e,t),t},i=function(e){return o(a,e)||{}},n=function(e){return c(a,e)}):(E[p=b("state")]=!0,s=function(e,t){if(x(e,p))throw new A(C);return t.facade=e,g(e,p,t),t},i=function(e){return x(e,p)?e[p]:{}},n=function(e){return x(e,p)}),t.exports={set:s,get:i,has:n,enforce:D,getterFor:T}})),K=s(((e,t)=>{var s=n(),r=_(),i=Function.prototype,a=s&&Object.getOwnPropertyDescriptor,o=r(i,"name"),c=o&&"something"===function(){}.name,u=o&&(!s||s&&a(i,"name").configurable);t.exports={EXISTS:o,PROPER:c,CONFIGURABLE:u}})),Y=s(((e,t)=>{var s=r(),i=f(),n=_(),a=H(),o=k(),c=V(),u=X(),l=K().CONFIGURABLE,p=u.get,h=u.enforce,d=String(String).split("String");(t.exports=function(e,t,r,c){var u,p=!!c&&!!c.unsafe,m=!!c&&!!c.enumerable,f=!!c&&!!c.noTargetGet,y=c&&void 0!==c.name?c.name:t;i(r)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!n(r,"name")||l&&r.name!==y)&&a(r,"name",y),(u=h(r)).source||(u.source=d.join("string"==typeof y?y:""))),e!==s?(p?!f&&e[t]&&(m=!0):delete e[t],m?e[t]=r:a(e,t,r)):m?e[t]=r:o(t,r)})(Function.prototype,"toString",(function(){return i(this)&&p(this).source||c(this)}))})),Q=s(((e,t)=>{var s=Math.ceil,r=Math.floor;t.exports=function(e){var t=+e;return t!=t||0===t?0:(t>0?r:s)(t)}})),ee=s(((e,t)=>{var s=Q(),r=Math.max,i=Math.min;t.exports=function(e,t){var n=s(e);return n<0?r(n+t,0):i(n,t)}})),te=s(((e,t)=>{var s=Q(),r=Math.min;t.exports=function(e){return e>0?r(s(e),9007199254740991):0}})),se=s(((e,t)=>{var s=te();t.exports=function(e){return s(e.length)}})),re=s(((e,t)=>{var s=m(),r=ee(),i=se(),n=function(e){return function(t,n,a){var o,c=s(t),u=i(c),l=r(a,u);if(e&&n!=n){for(;u>l;)if((o=c[l++])!=o)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};t.exports={includes:n(!0),indexOf:n(!1)}})),ie=s(((e,t)=>{var s=l(),r=_(),i=m(),n=re().indexOf,a=J(),o=s([].push);t.exports=function(e,t){var s,c=i(e),u=0,l=[];for(s in c)!r(a,s)&&r(c,s)&&o(l,s);for(;t.length>u;)r(c,s=t[u++])&&(~n(l,s)||o(l,s));return l}})),ne=s(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),ae=s((e=>{var t=ie(),s=ne().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,s)}})),oe=s((e=>{e.f=Object.getOwnPropertySymbols})),ce=s(((e,t)=>{var s=g(),r=l(),i=ae(),n=oe(),a=z(),o=r([].concat);t.exports=s("Reflect","ownKeys")||function(e){var t=i.f(a(e)),s=n.f;return s?o(t,s(e)):t}})),ue=s(((e,t)=>{var s=_(),r=ce(),i=U(),n=$();t.exports=function(e,t,a){for(var o=r(t),c=n.f,u=i.f,l=0;l<o.length;l++){var p=o[l];!s(e,p)&&(!a||!s(a,p))&&c(e,p,u(t,p))}}})),le=s(((e,t)=>{var s=i(),r=f(),n=/#|\.prototype\./,a=function(e,t){var i=c[o(e)];return i==l||i!=u&&(r(t)?s(t):!!t)},o=a.normalize=function(e){return String(e).replace(n,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a})),pe=s(((e,t)=>{var s=r(),i=U().f,n=H(),a=Y(),o=k(),c=ue(),u=le();t.exports=function(e,t){var r,l,p,h,d,m=e.target,f=e.global,y=e.stat;if(r=f?s:y?s[m]||o(m,{}):(s[m]||{}).prototype)for(l in t){if(h=t[l],p=e.noTargetGet?(d=i(r,l))&&d.value:r[l],!u(f?l:m+(y?".":"#")+l,e.forced)&&void 0!==p){if(typeof h==typeof p)continue;c(h,p)}(e.sham||p&&p.sham)&&n(h,"sham",!0),a(r,l,h,e)}}})),he=s((()=>{pe()({global:!0},{globalThis:r()})})),de=s((()=>{he()})),me=s(((e,t)=>{de();var s=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,a=(e,t)=>function(){return e&&(t=(0,e[i(e)[0]])(e=0)),t},o=(e,t)=>function(){return t||(0,e[i(e)[0]])((t={exports:{}}).exports,t),t.exports},c=(e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:!0})},u=(e,t,a,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of i(t))!n.call(e,c)&&c!==a&&s(e,c,{get:()=>t[c],enumerable:!(o=r(t,c))||o.enumerable});return e},l=e=>u(s({},"__esModule",{value:!0}),e),p=a({"<define:process>"(){}}),h=o({"src/common/parser-create-error.js"(e,t){function s(e,t){let s=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return s.loc=t,s}p(),t.exports=s}}),d=o({"src/utils/get-last.js"(e,t){p();var s=e=>e[e.length-1];t.exports=s}}),m=o({"src/utils/front-matter/parse.js"(e,t){p();var s=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function r(e){let t=e.match(s);if(!t)return{content:e};let{startDelimiter:r,language:i,value:n="",endDelimiter:a}=t.groups,o=i.trim()||"yaml";if("+++"===r&&(o="toml"),"yaml"!==o&&r!==a)return{content:e};let[c]=t;return{frontMatter:{type:"front-matter",lang:o,value:n,startDelimiter:r,endDelimiter:a,raw:c.replace(/\n$/,"")},content:c.replace(/[^\n]/g," ")+e.slice(c.length)}}t.exports=r}}),f={};function y(){if(typeof N>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),s=new Uint16Array(e);if(t[0]=1,t[1]=2,258===s[0])N="BE";else{if(513!==s[0])throw new Error("unable to figure out endianess");N="LE"}}return N}function g(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function x(){return[]}function v(){return 0}function b(){return Number.MAX_VALUE}function E(){return Number.MAX_VALUE}function C(){return[]}function A(){return"Browser"}function w(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function D(){}function T(){}function P(){return"javascript"}function S(){return"browser"}function k(){return"/tmp"}c(f,{EOL:()=>I,arch:()=>P,cpus:()=>C,default:()=>_,endianness:()=>y,freemem:()=>b,getNetworkInterfaces:()=>T,hostname:()=>g,loadavg:()=>x,networkInterfaces:()=>D,platform:()=>S,release:()=>w,tmpDir:()=>k,tmpdir:()=>F,totalmem:()=>E,type:()=>A,uptime:()=>v});var N,F,I,_,O=a({"node-modules-polyfills:os"(){p(),_={EOL:I="\n",tmpdir:F=k,tmpDir:k,networkInterfaces:D,getNetworkInterfaces:T,release:w,type:A,cpus:C,totalmem:E,freemem:b,uptime:v,loadavg:x,hostname:g,endianness:y}}}),j=o({"node-modules-polyfills-commonjs:os"(e,t){p();var s=(O(),l(f));if(s&&s.default){t.exports=s.default;for(let e in s)t.exports[e]=s[e]}else s&&(t.exports=s)}}),B=o({"node_modules/detect-newline/index.js"(e,t){p();var s=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let s=t.filter((e=>"\r\n"===e)).length;return s>t.length-s?"\r\n":"\n"};t.exports=s,t.exports.graceful=e=>"string"==typeof e&&s(e)||"\n"}}),L=o({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=j();return t=function(){return e},e}function s(){let e=r(B());return s=function(){return e},e}function r(e){return e&&e.__esModule?e:{default:e}}p(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=m,e.parse=y,e.parseWithComments=g,e.print=x,e.strip=f;var i=/\*\/$/,n=/^\/\*\*/,a=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,o=/(^|\s+)\/\/([^\r\n]*)/g,c=/^(\r?\n)+/,u=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,l=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,h=/(\r?\n|^) *\* ?/g,d=[];function m(e){let t=e.match(a);return t?t[0].trimLeft():""}function f(e){let t=e.match(a);return t&&t[0]?e.substring(t[0].length):e}function y(e){return g(e).pragmas}function g(e){let r=(0,s().default)(e)||t().EOL;e=e.replace(n,"").replace(i,"").replace(h,"$1");let a="";for(;a!==e;)a=e,e=e.replace(u,"".concat(r,"$1 $2").concat(r));e=e.replace(c,"").trimRight();let p,m=Object.create(null),f=e.replace(l,"").replace(c,"").trimRight();for(;p=l.exec(e);){let e=p[2].replace(o,"");"string"==typeof m[p[1]]||Array.isArray(m[p[1]])?m[p[1]]=d.concat(m[p[1]],e):m[p[1]]=e}return{comments:f,pragmas:m}}function x(e){let{comments:r="",pragmas:i={}}=e,n=(0,s().default)(r)||t().EOL,a="/**",o=" *",c=" */",u=Object.keys(i),l=u.map((e=>v(e,i[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>o+" "+e+n)).join("");if(!r){if(0===u.length)return"";if(1===u.length&&!Array.isArray(i[u[0]])){let e=i[u[0]];return"".concat(a," ").concat(v(u[0],e)[0]).concat(c)}}let p=r.split(n).map((e=>"".concat(o," ").concat(e))).join(n)+n;return a+n+(r?p:"")+(r&&u.length?o+n:"")+l+c}function v(e,t){return d.concat(t).map((t=>"@".concat(e," ").concat(t).trim()))}}}),M=o({"src/common/end-of-line.js"(e,t){function s(e){let t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"}function r(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}}function i(e,t){let s;switch(t){case"\n":s=/\n/g;break;case"\r":s=/\r/g;break;case"\r\n":s=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."))}let r=e.match(s);return r?r.length:0}function n(e){return e.replace(/\r\n?/g,"\n")}p(),t.exports={guessEndOfLine:s,convertEndOfLineToChars:r,countEndOfLineChars:i,normalizeEndOfLine:n}}}),R=o({"src/language-js/utils/get-shebang.js"(e,t){function s(e){if(!e.startsWith("#!"))return"";let t=e.indexOf("\n");return-1===t?e:e.slice(0,t)}p(),t.exports=s}}),U=o({"src/language-js/pragma.js"(e,t){p();var{parseWithComments:s,strip:r,extract:i,print:n}=L(),{normalizeEndOfLine:a}=M(),o=R();function c(e){let t=o(e);t&&(e=e.slice(t.length+1));let r=i(e),{pragmas:n,comments:a}=s(r);return{shebang:t,text:e,pragmas:n,comments:a}}function u(e){let t=Object.keys(c(e).pragmas);return t.includes("prettier")||t.includes("format")}function l(e){let{shebang:t,text:s,pragmas:i,comments:o}=c(e),u=r(s),l=n({pragmas:Object.assign({format:""},i),comments:o.trimStart()});return(t?"".concat(t,"\n"):"")+a(l)+(u.startsWith("\n")?"\n":"\n\n")+u}t.exports={hasPragma:u,insertPragma:l}}}),q=o({"src/language-css/pragma.js"(e,t){p();var s=U(),r=m();function i(e){return s.hasPragma(r(e).content)}function n(e){let{frontMatter:t,content:i}=r(e);return(t?t.raw+"\n\n":"")+s.insertPragma(i)}t.exports={hasPragma:i,insertPragma:n}}}),z=o({"src/utils/text/skip.js"(e,t){function s(e){return(t,s,r)=>{let i=r&&r.backwards;if(!1===s)return!1;let{length:n}=t,a=s;for(;a>=0&&a<n;){let s=t.charAt(a);if(e instanceof RegExp){if(!e.test(s))return a}else if(!e.includes(s))return a;i?a--:a++}return(-1===a||a===n)&&a}}p();var r=s(/\s/),i=s(" \t"),n=s(",; \t"),a=s(/[^\n\r]/);t.exports={skipWhitespace:r,skipSpaces:i,skipToLineEnd:n,skipEverythingButNewLine:a}}}),$=o({"src/utils/line-column-to-index.js"(e,t){p(),t.exports=function(e,t){let s=0;for(let r=0;r<e.line-1;++r)s=t.indexOf("\n",s)+1;return s+e.column}}}),H=o({"src/language-css/loc.js"(e,t){p();var{skipEverythingButNewLine:s}=z(),r=d(),i=$();function n(e,t){return"number"==typeof e.sourceIndex?e.sourceIndex:e.source?i(e.source.start,t)-1:null}function a(e,t){if("css-comment"===e.type&&e.inline)return s(t,e.source.startOffset);let n=e.nodes&&r(e.nodes);return n&&e.source&&!e.source.end&&(e=n),e.source&&e.source.end?i(e.source.end,t):null}function o(e,t){e.source&&(e.source.startOffset=n(e,t),e.source.endOffset=a(e,t));for(let s in e){let r=e[s];"source"===s||!r||"object"!=typeof r||("value-root"===r.type||"value-unknown"===r.type?c(r,u(e),r.text||r.value):o(r,t))}}function c(e,t,s){e.source&&(e.source.startOffset=n(e,s)+t,e.source.endOffset=a(e,s)+t);for(let r in e){let i=e[r];"source"===r||!i||"object"!=typeof i||c(i,t,s)}}function u(e){let t=e.source.startOffset;return"string"==typeof e.prop&&(t+=e.prop.length),"css-atrule"===e.type&&"string"==typeof e.name&&(t+=1+e.name.length+e.raws.afterName.match(/^\s*:?\s*/)[0].length),"css-atrule"!==e.type&&e.raws&&"string"==typeof e.raws.between&&(t+=e.raws.between.length),t}function l(e){let t,s="initial",r="initial",i=!1,n=[];for(let a=0;a<e.length;a++){let o=e[a];switch(s){case"initial":if("'"===o){s="single-quotes";continue}if('"'===o){s="double-quotes";continue}if(("u"===o||"U"===o)&&"url("===e.slice(a,a+4).toLowerCase()){s="url",a+=3;continue}if("*"===o&&"/"===e[a-1]){s="comment-block";continue}if("/"===o&&"/"===e[a-1]){s="comment-inline",t=a-1;continue}continue;case"single-quotes":if("'"===o&&"\\"!==e[a-1]&&(s=r,r="initial"),"\n"===o||"\r"===o)return e;continue;case"double-quotes":if('"'===o&&"\\"!==e[a-1]&&(s=r,r="initial"),"\n"===o||"\r"===o)return e;continue;case"url":if(")"===o&&(s="initial"),"\n"===o||"\r"===o)return e;if("'"===o){s="single-quotes",r="url";continue}if('"'===o){s="double-quotes",r="url";continue}continue;case"comment-block":"/"===o&&"*"===e[a-1]&&(s="initial");continue;case"comment-inline":('"'===o||"'"===o||"*"===o)&&(i=!0),("\n"===o||"\r"===o)&&(i&&n.push([t,a]),s="initial",i=!1);continue}}for(let[t,s]of n)e=e.slice(0,t)+e.slice(t,s).replace(/["'*]/g," ")+e.slice(s);return e}function h(e){return e.source.startOffset}function m(e){return e.source.endOffset}t.exports={locStart:h,locEnd:m,calculateLoc:o,replaceQuotesInInlineComments:l}}}),V=o({"src/utils/is-non-empty-array.js"(e,t){function s(e){return Array.isArray(e)&&e.length>0}p(),t.exports=s}}),G=o({"src/language-css/utils/has-scss-interpolation.js"(e,t){p();var s=V();function r(e){if(s(e))for(let t=e.length-1;t>0;t--)if("word"===e[t].type&&"{"===e[t].value&&"word"===e[t-1].type&&e[t-1].value.endsWith("#"))return!0;return!1}t.exports=r}}),W=o({"src/language-css/utils/has-string-or-function.js"(e,t){function s(e){return e.some((e=>"string"===e.type||"func"===e.type))}p(),t.exports=s}}),J=o({"src/language-css/utils/is-less-parser.js"(e,t){function s(e){return"css"===e.parser||"less"===e.parser}p(),t.exports=s}}),X=o({"src/language-css/utils/is-scss.js"(e,t){function s(e,t){return"less"===e||"scss"===e?"scss"===e:/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(t)}p(),t.exports=s}}),K=o({"src/language-css/utils/is-scss-nested-property-node.js"(e,t){function s(e){return!!e.selector&&e.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":")}p(),t.exports=s}}),Y=o({"src/language-css/utils/is-scss-variable.js"(e,t){function s(e){return Boolean("word"===(null==e?void 0:e.type)&&e.value.startsWith("$"))}p(),t.exports=s}}),Q=o({"src/language-css/utils/stringify-node.js"(e,t){function s(e){var t,r,i;if(e.groups){var n,a,o;let t=(null===(n=e.open)||void 0===n?void 0:n.value)||"",r=e.groups.map((e=>s(e))).join("comma_group"===(null===(a=e.groups[0])||void 0===a?void 0:a.type)?",":"");return t+r+((null===(o=e.close)||void 0===o?void 0:o.value)||"")}let c=(null===(t=e.raws)||void 0===t?void 0:t.before)||"",u=(null===(r=e.raws)||void 0===r?void 0:r.quote)||"";return c+u+("atword"===e.type?"@":"")+(e.value||"")+u+(e.unit||"")+(e.group?s(e.group):"")+((null===(i=e.raws)||void 0===i?void 0:i.after)||"")}p(),t.exports=s}}),Z=o({"src/language-css/utils/is-module-rule-name.js"(e,t){p();var s=new Set(["import","use","forward"]);function r(e){return s.has(e)}t.exports=r}}),ee=o({"node_modules/postcss-values-parser/lib/node.js"(e,t){p();var s=function(e,t){let r=new e.constructor;for(let i in e){if(!e.hasOwnProperty(i))continue;let n=e[i],a=typeof n;"parent"===i&&"object"===a?t&&(r[i]=t):"source"===i?r[i]=n:n instanceof Array?r[i]=n.map((e=>s(e,r))):"before"!==i&&"after"!==i&&"between"!==i&&"semicolon"!==i&&("object"===a&&null!==n&&(n=s(n)),r[i]=n)}return r};t.exports=class{constructor(e){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=e||{};let t=s(this);for(let s in e)t[s]=e[s];return t}cloneBefore(e){e=e||{};let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e){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)||"parent"===t)continue;let s=this[t];s instanceof Array?e[t]=s.map((e=>"object"==typeof e&&e.toJSON?e.toJSON():e)):"object"==typeof s&&s.toJSON?e[t]=s.toJSON():e[t]=s}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(),s=this.source.start.column,r=this.source.start.line;for(let i=0;i<e;i++)"\n"===t[i]?(s=1,r+=1):s+=1;return{line:r,column:s}}positionBy(e){let t=this.source.start;if(Object(e).index)t=this.positionInside(e.index);else if(Object(e).word){let s=this.toString().indexOf(e.word);-1!==s&&(t=this.positionInside(s))}return t}}}}),te=o({"node_modules/postcss-values-parser/lib/container.js"(e,t){p();var s=ee(),r=class extends s{constructor(e){super(e),this.nodes||(this.nodes=[])}push(e){return e.parent=this,this.nodes.push(e),this}each(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let t,s,r=this.lastEach;if(this.indexes[r]=0,this.nodes){for(;this.indexes[r]<this.nodes.length&&(t=this.indexes[r],s=e(this.nodes[t],t),!1!==s);)this.indexes[r]+=1;return delete this.indexes[r],s}}walk(e){return this.each(((t,s)=>{let r=e(t,s);return!1!==r&&t.walk&&(r=t.walk(e)),r}))}walkType(e,t){if(!e||!t)throw new Error("Parameters {type} and {callback} are required.");let s="function"==typeof e;return this.walk(((r,i)=>{if(s&&r instanceof e||!s&&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 s,r=this.index(e);this.nodes.splice(r+1,0,t);for(let e in this.indexes)s=this.indexes[e],r<=s&&(this.indexes[e]=s+this.nodes.length);return this}insertBefore(e,t){let s,r=this.index(e);this.nodes.splice(r,0,t);for(let e in this.indexes)s=this.indexes[e],r<=s&&(this.indexes[e]=s+this.nodes.length);return this}removeChild(e){let t;e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1);for(let s in this.indexes)t=this.indexes[s],t>=e&&(this.indexes[s]=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"number"==typeof e?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}}),se=o({"node_modules/postcss-values-parser/lib/root.js"(e,t){p();var s=te();t.exports=class extends s{constructor(e){super(e),this.type="root"}}}}),re=o({"node_modules/postcss-values-parser/lib/value.js"(e,t){p();var s=te();t.exports=class extends s{constructor(e){super(e),this.type="value",this.unbalanced=0}}}}),ie=o({"node_modules/postcss-values-parser/lib/atword.js"(e,t){p();var s=te(),r=class extends s{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("")}};s.registerWalker(r),t.exports=r}}),ne=o({"node_modules/postcss-values-parser/lib/colon.js"(e,t){p();var s=te(),r=ee(),i=class extends r{constructor(e){super(e),this.type="colon"}};s.registerWalker(i),t.exports=i}}),ae=o({"node_modules/postcss-values-parser/lib/comma.js"(e,t){p();var s=te(),r=ee(),i=class extends r{constructor(e){super(e),this.type="comma"}};s.registerWalker(i),t.exports=i}}),oe=o({"node_modules/postcss-values-parser/lib/comment.js"(e,t){p();var s=te(),r=ee(),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("")}};s.registerWalker(i),t.exports=i}}),ce=o({"node_modules/postcss-values-parser/lib/function.js"(e,t){p();var s=te(),r=class extends s{constructor(e){super(e),this.type="func",this.unbalanced=-1}};s.registerWalker(r),t.exports=r}}),ue=o({"node_modules/postcss-values-parser/lib/number.js"(e,t){p();var s=te(),r=ee(),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("")}};s.registerWalker(i),t.exports=i}}),le=o({"node_modules/postcss-values-parser/lib/operator.js"(e,t){p();var s=te(),r=ee(),i=class extends r{constructor(e){super(e),this.type="operator"}};s.registerWalker(i),t.exports=i}}),pe=o({"node_modules/postcss-values-parser/lib/paren.js"(e,t){p();var s=te(),r=ee(),i=class extends r{constructor(e){super(e),this.type="paren",this.parenType=""}};s.registerWalker(i),t.exports=i}}),he=o({"node_modules/postcss-values-parser/lib/string.js"(e,t){p();var s=te(),r=ee(),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("")}};s.registerWalker(i),t.exports=i}}),me=o({"node_modules/postcss-values-parser/lib/word.js"(e,t){p();var s=te(),r=ee(),i=class extends r{constructor(e){super(e),this.type="word"}};s.registerWalker(i),t.exports=i}}),fe=o({"node_modules/postcss-values-parser/lib/unicode-range.js"(e,t){p();var s=te(),r=ee(),i=class extends r{constructor(e){super(e),this.type="unicode-range"}};s.registerWalker(i),t.exports=i}});function ye(){throw new Error("setTimeout has not been defined")}function ge(){throw new Error("clearTimeout has not been defined")}function xe(e){if(Fe===setTimeout)return setTimeout(e,0);if((Fe===ye||!Fe)&&setTimeout)return Fe=setTimeout,setTimeout(e,0);try{return Fe(e,0)}catch{try{return Fe.call(null,e,0)}catch{return Fe.call(this,e,0)}}}function ve(e){if(Ie===clearTimeout)return clearTimeout(e);if((Ie===ge||!Ie)&&clearTimeout)return Ie=clearTimeout,clearTimeout(e);try{return Ie(e)}catch{try{return Ie.call(null,e)}catch{return Ie.call(this,e)}}}function be(){!Oe||!je||(Oe=!1,je.length?_e=je.concat(_e):Be=-1,_e.length&&Ee())}function Ee(){if(!Oe){var e=xe(be);Oe=!0;for(var t=_e.length;t;){for(je=_e,_e=[];++Be<t;)je&&je[Be].run();Be=-1,t=_e.length}je=null,Oe=!1,ve(e)}}function Ce(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var s=1;s<arguments.length;s++)t[s-1]=arguments[s];_e.push(new Ae(e,t)),1===_e.length&&!Oe&&xe(Ee)}function Ae(e,t){this.fun=e,this.array=t}function we(){}function De(e){throw new Error("process.binding is not supported")}function Te(){return"/"}function Pe(e){throw new Error("process.chdir is not supported")}function Se(){return 0}function ke(e){var t=.001*et.call(Ze),s=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(s-=e[0],(r-=e[1])<0&&(s--,r+=1e9)),[s,r]}function Ne(){return(new Date-tt)/1e3}var Fe,Ie,_e,Oe,je,Be,Le,Me,Re,Ue,qe,ze,$e,He,Ve,Ge,We,Je,Xe,Ke,Ye,Qe,Ze,et,tt,st,rt,it,nt=a({"node-modules-polyfills:process"(){p(),Fe=ye,Ie=ge,"function"==typeof globalThis.setTimeout&&(Fe=setTimeout),"function"==typeof globalThis.clearTimeout&&(Ie=clearTimeout),_e=[],Oe=!1,Be=-1,Ae.prototype.run=function(){this.fun.apply(null,this.array)},Le="browser",Me="browser",Re=!0,Ue={},qe=[],ze="",$e={},He={},Ve={},Ge=we,We=we,Je=we,Xe=we,Ke=we,Ye=we,Qe=we,Ze=globalThis.performance||{},et=Ze.now||Ze.mozNow||Ze.msNow||Ze.oNow||Ze.webkitNow||function(){return(new Date).getTime()},tt=new Date,st={nextTick:Ce,title:Le,browser:Re,env:Ue,argv:qe,version:ze,versions:$e,on:Ge,addListener:We,once:Je,off:Xe,removeListener:Ke,removeAllListeners:Ye,emit:Qe,binding:De,cwd:Te,chdir:Pe,umask:Se,hrtime:ke,platform:Me,release:He,config:Ve,uptime:Ne}}}),at=a({"node_modules/rollup-plugin-node-polyfills/polyfills/inherits.js"(){p(),rt="function"==typeof Object.create?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 s=function(){};s.prototype=t.prototype,e.prototype=new s,e.prototype.constructor=e},it=rt}}),ot={};function ct(e){if(!Tt(e)){for(var t=[],s=0;s<arguments.length;s++)t.push(pt(arguments[s]));return t.join(" ")}s=1;for(var r=arguments,i=r.length,n=String(e).replace(zt,(function(e){if("%%"===e)return"%";if(s>=i)return e;switch(e){case"%s":return String(r[s++]);case"%d":return Number(r[s++]);case"%j":try{return JSON.stringify(r[s++])}catch{return"[Circular]"}default:return e}})),a=r[s];s<i;a=r[++s])At(a)||!Nt(a)?n+=" "+a:n+=" "+pt(a);return n}function ut(e,t){if(St(globalThis.process))return function(){return ut(e,t).apply(this,arguments)};if(!0===st.noDeprecation)return e;var s=!1;function r(){if(!s){if(st.throwDeprecation)throw new Error(t);st.traceDeprecation?console.trace(t):console.error(t),s=!0}return e.apply(this,arguments)}return r}function lt(e){if(St(Ht)&&(Ht=st.env.NODE_DEBUG||""),e=e.toUpperCase(),!$t[e])if(new RegExp("\\b"+e+"\\b","i").test(Ht)){var t=0;$t[e]=function(){var s=ct.apply(null,arguments);console.error("%s %d: %s",e,t,s)}}else $t[e]=function(){};return $t[e]}function pt(e,t){var s={seen:[],stylize:dt};return arguments.length>=3&&(s.depth=arguments[2]),arguments.length>=4&&(s.colors=arguments[3]),Ct(t)?s.showHidden=t:t&&Ut(s,t),St(s.showHidden)&&(s.showHidden=!1),St(s.depth)&&(s.depth=2),St(s.colors)&&(s.colors=!1),St(s.customInspect)&&(s.customInspect=!0),s.colors&&(s.stylize=ht),ft(s,e,s.depth)}function ht(e,t){var s=pt.styles[t];return s?"["+pt.colors[s][0]+"m"+e+"["+pt.colors[s][1]+"m":e}function dt(e,t){return e}function mt(e){var t={};return e.forEach((function(e,s){t[e]=!0})),t}function ft(e,t,s){if(e.customInspect&&t&&_t(t.inspect)&&t.inspect!==pt&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(s,e);return Tt(r)||(r=ft(e,r,s)),r}var i=yt(e,t);if(i)return i;var n=Object.keys(t),a=mt(n);if(e.showHidden&&(n=Object.getOwnPropertyNames(t)),It(t)&&(n.indexOf("message")>=0||n.indexOf("description")>=0))return gt(t);if(0===n.length){if(_t(t)){var o=t.name?": "+t.name:"";return e.stylize("[Function"+o+"]","special")}if(kt(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(Ft(t))return e.stylize(Date.prototype.toString.call(t),"date");if(It(t))return gt(t)}var c,u="",l=!1,p=["{","}"];return Et(t)&&(l=!0,p=["[","]"]),_t(t)&&(u=" [Function"+(t.name?": "+t.name:"")+"]"),kt(t)&&(u=" "+RegExp.prototype.toString.call(t)),Ft(t)&&(u=" "+Date.prototype.toUTCString.call(t)),It(t)&&(u=" "+gt(t)),0!==n.length||l&&0!=t.length?s<0?kt(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),c=l?xt(e,t,s,a,n):n.map((function(r){return vt(e,t,s,a,r,l)})),e.seen.pop(),bt(c,u,p)):p[0]+u+p[1]}function yt(e,t){if(St(t))return e.stylize("undefined","undefined");if(Tt(t)){var s="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(s,"string")}return Dt(t)?e.stylize(""+t,"number"):Ct(t)?e.stylize(""+t,"boolean"):At(t)?e.stylize("null","null"):void 0}function gt(e){return"["+Error.prototype.toString.call(e)+"]"}function xt(e,t,s,r,i){for(var n=[],a=0,o=t.length;a<o;++a)qt(t,String(a))?n.push(vt(e,t,s,r,String(a),!0)):n.push("");return i.forEach((function(i){i.match(/^\d+$/)||n.push(vt(e,t,s,r,i,!0))})),n}function vt(e,t,s,r,i,n){var a,o,c;if((c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?o=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(o=e.stylize("[Setter]","special")),qt(r,i)||(a="["+i+"]"),o||(e.seen.indexOf(c.value)<0?(o=At(s)?ft(e,c.value,null):ft(e,c.value,s-1)).indexOf("\n")>-1&&(o=n?o.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+o.split("\n").map((function(e){return" "+e})).join("\n")):o=e.stylize("[Circular]","special")),St(a)){if(n&&i.match(/^\d+$/))return o;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+o}function bt(e,t,s){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?s[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+s[1]:s[0]+t+" "+e.join(", ")+" "+s[1]}function Et(e){return Array.isArray(e)}function Ct(e){return"boolean"==typeof e}function At(e){return null===e}function wt(e){return null==e}function Dt(e){return"number"==typeof e}function Tt(e){return"string"==typeof e}function Pt(e){return"symbol"==typeof e}function St(e){return void 0===e}function kt(e){return Nt(e)&&"[object RegExp]"===Bt(e)}function Nt(e){return"object"==typeof e&&null!==e}function Ft(e){return Nt(e)&&"[object Date]"===Bt(e)}function It(e){return Nt(e)&&("[object Error]"===Bt(e)||e instanceof Error)}function _t(e){return"function"==typeof e}function Ot(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||typeof e>"u"}function jt(e){return Buffer.isBuffer(e)}function Bt(e){return Object.prototype.toString.call(e)}function Lt(e){return e<10?"0"+e.toString(10):e.toString(10)}function Mt(){var e=new Date,t=[Lt(e.getHours()),Lt(e.getMinutes()),Lt(e.getSeconds())].join(":");return[e.getDate(),Vt[e.getMonth()],t].join(" ")}function Rt(){console.log("%s - %s",Mt(),ct.apply(null,arguments))}function Ut(e,t){if(!t||!Nt(t))return e;for(var s=Object.keys(t),r=s.length;r--;)e[s[r]]=t[s[r]];return e}function qt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}c(ot,{_extend:()=>Ut,debuglog:()=>lt,default:()=>Gt,deprecate:()=>ut,format:()=>ct,inherits:()=>it,inspect:()=>pt,isArray:()=>Et,isBoolean:()=>Ct,isBuffer:()=>jt,isDate:()=>Ft,isError:()=>It,isFunction:()=>_t,isNull:()=>At,isNullOrUndefined:()=>wt,isNumber:()=>Dt,isObject:()=>Nt,isPrimitive:()=>Ot,isRegExp:()=>kt,isString:()=>Tt,isSymbol:()=>Pt,isUndefined:()=>St,log:()=>Rt});var zt,$t,Ht,Vt,Gt,Wt=a({"node-modules-polyfills:util"(){p(),nt(),at(),zt=/%[sdj%]/g,$t={},pt.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]},pt.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},Vt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Gt={inherits:it,_extend:Ut,log:Rt,isBuffer:jt,isPrimitive:Ot,isFunction:_t,isError:It,isDate:Ft,isObject:Nt,isRegExp:kt,isUndefined:St,isSymbol:Pt,isString:Tt,isNumber:Dt,isNullOrUndefined:wt,isNull:At,isBoolean:Ct,isArray:Et,inspect:pt,deprecate:ut,format:ct,debuglog:lt}}}),Jt=o({"node-modules-polyfills-commonjs:util"(e,t){p();var s=(Wt(),l(ot));if(s&&s.default){t.exports=s.default;for(let e in s)t.exports[e]=s[e]}else s&&(t.exports=s)}}),Xt=o({"node_modules/postcss-values-parser/lib/errors/TokenizeError.js"(e,t){p();var s=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while tokzenizing.","function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};t.exports=s}}),Kt=o({"node_modules/postcss-values-parser/lib/tokenize.js"(e,t){p();var s="{".charCodeAt(0),r="}".charCodeAt(0),i="(".charCodeAt(0),n=")".charCodeAt(0),a="'".charCodeAt(0),o='"'.charCodeAt(0),c="\\".charCodeAt(0),u="/".charCodeAt(0),l=".".charCodeAt(0),h=",".charCodeAt(0),d=":".charCodeAt(0),m="*".charCodeAt(0),f="-".charCodeAt(0),y="+".charCodeAt(0),g="#".charCodeAt(0),x="\n".charCodeAt(0),v=" ".charCodeAt(0),b="\f".charCodeAt(0),E="\t".charCodeAt(0),C="\r".charCodeAt(0),A="@".charCodeAt(0),w="e".charCodeAt(0),D="E".charCodeAt(0),T="0".charCodeAt(0),P="9".charCodeAt(0),S="u".charCodeAt(0),k="U".charCodeAt(0),N=/[ \n\t\r\{\(\)'"\\;,/]/g,F=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,I=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,_=/^[a-z0-9]/i,O=/^[a-f0-9?\-]/i,j=Jt(),B=Xt();t.exports=function(e,t){t=t||{};let p,L,M,R,U,q,z,$,H,V,G,W=[],J=e.valueOf(),X=J.length,K=-1,Y=1,Q=0,Z=0,ee=null;function te(e){let t=j.format("Unclosed %s at line: %d, column: %d, token: %d",e,Y,Q-K,Q);throw new B(t)}for(;Q<X;){switch(p=J.charCodeAt(Q),p===x&&(K=Q,Y+=1),p){case x:case v:case E:case C:case b:L=Q;do{L+=1,p=J.charCodeAt(L),p===x&&(K=L,Y+=1)}while(p===v||p===x||p===E||p===C||p===b);W.push(["space",J.slice(Q,L),Y,Q-K,Y,L-K,Q]),Q=L-1;break;case d:L=Q+1,W.push(["colon",J.slice(Q,L),Y,Q-K,Y,L-K,Q]),Q=L-1;break;case h:L=Q+1,W.push(["comma",J.slice(Q,L),Y,Q-K,Y,L-K,Q]),Q=L-1;break;case s:W.push(["{","{",Y,Q-K,Y,L-K,Q]);break;case r:W.push(["}","}",Y,Q-K,Y,L-K,Q]);break;case i:Z++,ee=!ee&&1===Z&&W.length>0&&"word"===W[W.length-1][0]&&"url"===W[W.length-1][1],W.push(["(","(",Y,Q-K,Y,L-K,Q]);break;case n:Z--,ee=ee&&Z>0,W.push([")",")",Y,Q-K,Y,L-K,Q]);break;case a:case o:M=p===a?"'":'"',L=Q;do{for(H=!1,L=J.indexOf(M,L+1),-1===L&&te("quote"),V=L;J.charCodeAt(V-1)===c;)V-=1,H=!H}while(H);W.push(["string",J.slice(Q,L+1),Y,Q-K,Y,L-K,Q]),Q=L;break;case A:N.lastIndex=Q+1,N.test(J),L=0===N.lastIndex?J.length-1:N.lastIndex-2,W.push(["atword",J.slice(Q,L+1),Y,Q-K,Y,L-K,Q]),Q=L;break;case c:L=Q,p=J.charCodeAt(L+1),W.push(["word",J.slice(Q,L+1),Y,Q-K,Y,L-K,Q]),Q=L;break;case y:case f:case m:if(L=Q+1,G=J.slice(Q+1,L+1),J.slice(Q-1,Q),p===f&&G.charCodeAt(0)===f){L++,W.push(["word",J.slice(Q,L),Y,Q-K,Y,L-K,Q]),Q=L-1;break}W.push(["operator",J.slice(Q,L),Y,Q-K,Y,L-K,Q]),Q=L-1;break;default:if(p===u&&(J.charCodeAt(Q+1)===m||t.loose&&!ee&&J.charCodeAt(Q+1)===u)){if(J.charCodeAt(Q+1)===m)L=J.indexOf("*/",Q+2)+1,0===L&&te("comment");else{let e=J.indexOf("\n",Q+2);L=-1!==e?e-1:X}q=J.slice(Q,L+1),R=q.split("\n"),U=R.length-1,U>0?(z=Y+U,$=L-R[U].length):(z=Y,$=K),W.push(["comment",q,Y,Q-K,z,L-$,Q]),K=$,Y=z,Q=L}else if(p!==g||_.test(J.slice(Q+1,Q+2)))if(p!==S&&p!==k||J.charCodeAt(Q+1)!==y)if(p===u)L=Q+1,W.push(["operator",J.slice(Q,L),Y,Q-K,Y,L-K,Q]),Q=L-1;else{let e=F;if(p>=T&&p<=P&&(e=I),e.lastIndex=Q+1,e.test(J),L=0===e.lastIndex?J.length-1:e.lastIndex-2,e===I||p===l){let e=J.charCodeAt(L),t=J.charCodeAt(L+1),s=J.charCodeAt(L+2);(e===w||e===D)&&(t===f||t===y)&&s>=T&&s<=P&&(I.lastIndex=L+2,I.test(J),L=0===I.lastIndex?J.length-1:I.lastIndex-2)}W.push(["word",J.slice(Q,L+1),Y,Q-K,Y,L-K,Q]),Q=L}else{L=Q+2;do{L+=1,p=J.charCodeAt(L)}while(L<X&&O.test(J.slice(L,L+1)));W.push(["unicoderange",J.slice(Q,L),Y,Q-K,Y,L-K,Q]),Q=L-1}else L=Q+1,W.push(["#",J.slice(Q,L),Y,Q-K,Y,L-K,Q]),Q=L-1}Q++}return W}}}),Yt=o({"node_modules/flatten/index.js"(e,t){p(),t.exports=function(e,t){return(t="number"==typeof t?t:1/0)?s(e,1):Array.isArray(e)?e.map((function(e){return e})):e;function s(e,r){return e.reduce((function(e,i){return Array.isArray(i)&&r<t?e.concat(s(i,r+1)):e.concat(i)}),[])}}}}),Qt=o({"node_modules/indexes-of/index.js"(e,t){p(),t.exports=function(e,t){for(var s=-1,r=[];-1!==(s=e.indexOf(t,s+1));)r.push(s);return r}}}),Zt=o({"node_modules/uniq/uniq.js"(e,t){function s(e,t){for(var s=1,r=e.length,i=e[0],n=e[0],a=1;a<r;++a)if(n=i,t(i=e[a],n)){if(a===s){s++;continue}e[s++]=i}return e.length=s,e}function r(e){for(var t=1,s=e.length,r=e[0],i=e[0],n=1;n<s;++n,i=r)if(i=r,(r=e[n])!==i){if(n===t){t++;continue}e[t++]=r}return e.length=t,e}function i(e,t,i){return 0===e.length?e:t?(i||e.sort(t),s(e,t)):(i||e.sort(),r(e))}p(),t.exports=i}}),es=o({"node_modules/postcss-values-parser/lib/errors/ParserError.js"(e,t){p();var s=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while parsing.","function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};t.exports=s}}),ts=o({"node_modules/postcss-values-parser/lib/parser.js"(e,t){p();var s=se(),r=re(),i=ie(),n=ne(),a=ae(),o=oe(),c=ce(),u=ue(),l=le(),h=pe(),d=he(),m=me(),f=fe(),y=Kt(),g=Yt(),x=Qt(),v=Zt(),b=es();function E(e){return e.sort(((e,t)=>e-t))}t.exports=class{constructor(e,t){let i={loose:!1};this.cache=[],this.input=e,this.options=Object.assign({},i,t),this.position=0,this.unbalanced=0,this.root=new s;let n=new r;this.root.append(n),this.current=n,this.tokens=y(e,this.options)}parse(){return this.loop()}colon(){let e=this.currToken;this.newNode(new n({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 a({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,t=!1,s=this.currToken[1].replace(/\/\*|\*\//g,"");this.options.loose&&s.startsWith("//")&&(s=s.substring(2),t=!0),e=new o({value:s,inline:t,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++}error(e,t){throw new b(e+" at line: ".concat(t[2],", column ").concat(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,t=this.currToken[1];if("+"===t||"-"===t)if(this.options.loose||this.position>0&&("func"===this.current.type&&"calc"===this.current.value?("space"!==this.prevToken[0]&&"("!==this.prevToken[0]||"space"!==this.nextToken[0]&&"word"!==this.nextToken[0]||"word"===this.nextToken[0]&&"operator"!==this.current.last.type&&"("!==this.current.last.value)&&this.error("Syntax Error",this.currToken):("space"===this.nextToken[0]||"operator"===this.nextToken[0]||"operator"===this.prevToken[0])&&this.error("Syntax Error",this.currToken)),this.options.loose){if((!this.current.nodes.length||this.current.last&&"operator"===this.current.last.type)&&"word"===this.nextToken[0])return this.word()}else if("word"===this.nextToken[0])return this.word();return e=new l({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(e)}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":default:this.word();break;case"operator":this.operator();break;case"string":this.string();break;case"unicoderange":this.unicodeRange()}}parenOpen(){let e,t=1,s=this.position+1,r=this.currToken;for(;s<this.tokens.length&&t;){let e=this.tokens[s];"("===e[0]&&t++,")"===e[0]&&t--,s++}if(t&&this.error("Expected closing parenthesis",r),e=this.current.last,e&&"func"===e.type&&e.unbalanced<0&&(e.unbalanced=0,this.current=e),this.current.unbalanced++,this.newNode(new h({value:r[1],source:{start:{line:r[2],column:r[3]},end:{line:r[4],column:r[5]}},sourceIndex:r[6]})),this.position++,"func"===this.current.type&&this.current.unbalanced&&"url"===this.current.value&&"string"!==this.currToken[0]&&")"!==this.currToken[0]&&!this.options.loose){let e=this.nextToken,t=this.currToken[1],s={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:s,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){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++,(!(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 f({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,t,s=this.nextToken,r=this.currToken[1],n=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/;if(!/^(?!\#([a-z0-9]+))[\#\{\}]/gi.test(r))for(;s&&"word"===s[0];)this.position++,r+=this.currToken[1],s=this.nextToken;e=x(r,"@"),t=E(v(g([[0],e]))),t.forEach(((a,o)=>{let l,p=t[o+1]||r.length,h=r.slice(a,p);if(~e.indexOf(a))l=new i({value:h.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(p-1)}},sourceIndex:this.currToken[6]+t[o]});else if(n.test(this.currToken[1])){let e=h.replace(n,"");l=new u({value:h.replace(e,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(p-1)}},sourceIndex:this.currToken[6]+t[o],unit:e})}else l=new(s&&"("===s[0]?c:m)({value:h,source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(p-1)}},sourceIndex:this.currToken[6]+t[o]}),"word"===l.type?(l.isHex=/^#(.+)/.test(h),l.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(h)):this.cache.push(this.current);this.newNode(l)})),this.position++}string(){let e,t=this.currToken,s=this.currToken[1],r=/^(\"|\')/,i=r.test(s),n="";i&&(n=s.match(r)[0],s=s.slice(1,s.length-1)),e=new d({value:s,source:{start:{line:t[2],column:t[3]},end:{line:t[4],column:t[5]}},sourceIndex:t[6],quoted:i}),e.raws.quote=n,this.newNode(e),this.position++}word(){return this.splitWord()}newNode(e){return this.spaces&&(e.raws.before+=this.spaces,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]}}}}),ss=o({"node_modules/postcss-values-parser/lib/index.js"(e,t){p();var s=ts(),r=ie(),i=ne(),n=ae(),a=oe(),o=ce(),c=ue(),u=le(),l=pe(),h=he(),d=fe(),m=re(),f=me(),y=function(e,t){return new s(e,t)};y.atword=function(e){return new r(e)},y.colon=function(e){return new i(Object.assign({value:":"},e))},y.comma=function(e){return new n(Object.assign({value:","},e))},y.comment=function(e){return new a(e)},y.func=function(e){return new o(e)},y.number=function(e){return new c(e)},y.operator=function(e){return new u(e)},y.paren=function(e){return new l(Object.assign({value:"("},e))},y.string=function(e){return new h(Object.assign({quote:"'"},e))},y.value=function(e){return new m(e)},y.word=function(e){return new f(e)},y.unicodeRange=function(e){return new d(e)},t.exports=y}}),rs=o({"node_modules/postcss-selector-parser/dist/selectors/node.js"(e,t){p(),e.__esModule=!0;var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function e(t,r){if("object"!==(typeof t>"u"?"undefined":s(t)))return t;var i=new t.constructor;for(var n in t)if(t.hasOwnProperty(n)){var a=t[n],o=typeof a>"u"?"undefined":s(a);"parent"===n&&"object"===o?r&&(i[n]=r):i[n]=a instanceof Array?a.map((function(t){return e(t,i)})):e(a,i)}return i},n=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var s in r(this,e),t)this[s]=t[s];var i=t.spaces,n=(i=void 0===i?{}:i).before,a=void 0===n?"":n,o=i.after,c=void 0===o?"":o;this.spaces={before:a,after:c}}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&&void 0!==arguments[0]?arguments[0]:{},t=i(this);for(var s in e)t[s]=e[s];return t},e.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},e}();e.default=n,t.exports=e.default}}),is=o({"node_modules/postcss-selector-parser/dist/selectors/types.js"(e){p(),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"}}),ns=o({"node_modules/postcss-selector-parser/dist/selectors/container.js"(e,t){p(),e.__esModule=!0;var s=function(){function e(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,s,r){return s&&e(t.prototype,s),r&&e(t,r),t}}(),r=a(rs()),i=n(is());function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s]);return t.default=e,t}function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new 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)}var l=function(e){function t(s){o(this,t);var r=c(this,e.call(this,s));return r.nodes||(r.nodes=[]),r}return u(t,e),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"number"==typeof e?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 s in this.indexes)(t=this.indexes[s])>=e&&(this.indexes[s]=t-1);return this},t.prototype.removeAll=function(){var e=this.nodes,t=Array.isArray(e),s=0;for(e=t?e:e[Symbol.iterator]();;){var r;if(t){if(s>=e.length)break;r=e[s++]}else{if((s=e.next()).done)break;r=s.value}r.parent=void 0}return this.nodes=[],this},t.prototype.empty=function(){return this.removeAll()},t.prototype.insertAfter=function(e,t){var s=this.index(e);this.nodes.splice(s+1,0,t);var r=void 0;for(var i in this.indexes)s<=(r=this.indexes[i])&&(this.indexes[i]=r+this.nodes.length);return this},t.prototype.insertBefore=function(e,t){var s=this.index(e);this.nodes.splice(s,0,t);var r=void 0;for(var i in this.indexes)s<=(r=this.indexes[i])&&(this.indexes[i]=r+this.nodes.length);return this},t.prototype.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var t=this.lastEach;if(this.indexes[t]=0,this.length){for(var s=void 0,r=void 0;this.indexes[t]<this.length&&(s=this.indexes[t],!1!==(r=e(this.at(s),s)));)this.indexes[t]+=1;if(delete this.indexes[t],!1===r)return!1}},t.prototype.walk=function(e){return this.each((function(t,s){var r=e(t,s);if(!1!==r&&t.length&&(r=t.walk(e)),!1===r)return!1}))},t.prototype.walkAttributes=function(e){var t=this;return this.walk((function(s){if(s.type===i.ATTRIBUTE)return e.call(t,s)}))},t.prototype.walkClasses=function(e){var t=this;return this.walk((function(s){if(s.type===i.CLASS)return e.call(t,s)}))},t.prototype.walkCombinators=function(e){var t=this;return this.walk((function(s){if(s.type===i.COMBINATOR)return e.call(t,s)}))},t.prototype.walkComments=function(e){var t=this;return this.walk((function(s){if(s.type===i.COMMENT)return e.call(t,s)}))},t.prototype.walkIds=function(e){var t=this;return this.walk((function(s){if(s.type===i.ID)return e.call(t,s)}))},t.prototype.walkNesting=function(e){var t=this;return this.walk((function(s){if(s.type===i.NESTING)return e.call(t,s)}))},t.prototype.walkPseudos=function(e){var t=this;return this.walk((function(s){if(s.type===i.PSEUDO)return e.call(t,s)}))},t.prototype.walkTags=function(e){var t=this;return this.walk((function(s){if(s.type===i.TAG)return e.call(t,s)}))},t.prototype.walkUniversals=function(e){var t=this;return this.walk((function(s){if(s.type===i.UNIVERSAL)return e.call(t,s)}))},t.prototype.split=function(e){var t=this,s=[];return this.reduce((function(r,i,n){var a=e.call(t,i);return s.push(i),a?(r.push(s),s=[]):n===t.length-1&&r.push(s),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("")},s(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);e.default=l,t.exports=e.default}}),as=o({"node_modules/postcss-selector-parser/dist/selectors/root.js"(e,t){p(),e.__esModule=!0;var s=i(ns()),r=is();function i(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new 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)}var c=function(e){function t(s){n(this,t);var i=a(this,e.call(this,s));return i.type=r.ROOT,i}return o(t,e),t.prototype.toString=function(){var e=this.reduce((function(e,t){var s=String(t);return s?e+s+",":""}),"").slice(0,-1);return this.trailingComma?e+",":e},t}(s.default);e.default=c,t.exports=e.default}}),os=o({"node_modules/postcss-selector-parser/dist/selectors/selector.js"(e,t){p(),e.__esModule=!0;var s=i(ns()),r=is();function i(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new 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)}var c=function(e){function t(s){n(this,t);var i=a(this,e.call(this,s));return i.type=r.SELECTOR,i}return o(t,e),t}(s.default);e.default=c,t.exports=e.default}}),cs=o({"node_modules/postcss-selector-parser/dist/selectors/namespace.js"(e,t){p(),e.__esModule=!0;var s=function(){function e(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,s,r){return s&&e(t.prototype,s),r&&e(t,r),t}}();function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new 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)}var o=function(e){function t(){return i(this,t),n(this,e.apply(this,arguments))}return a(t,e),t.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")},s(t,[{key:"ns",get:function(){var e=this.namespace;return e?("string"==typeof e?e:"")+"|":""}}]),t}(r(rs()).default);e.default=o,t.exports=e.default}}),us=o({"node_modules/postcss-selector-parser/dist/selectors/className.js"(e,t){p(),e.__esModule=!0;var s=i(cs()),r=is();function i(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new 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)}var c=function(e){function t(s){n(this,t);var i=a(this,e.call(this,s));return i.type=r.CLASS,i}return o(t,e),t.prototype.toString=function(){return[this.spaces.before,this.ns,String("."+this.value),this.spaces.after].join("")},t}(s.default);e.default=c,t.exports=e.default}}),ls=o({"node_modules/postcss-selector-parser/dist/selectors/comment.js"(e,t){p(),e.__esModule=!0;var s=i(rs()),r=is();function i(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new 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)}var c=function(e){function t(s){n(this,t);var i=a(this,e.call(this,s));return i.type=r.COMMENT,i}return o(t,e),t}(s.default);e.default=c,t.exports=e.default}}),ps=o({"node_modules/postcss-selector-parser/dist/selectors/id.js"(e,t){p(),e.__esModule=!0;var s=i(cs()),r=is();function i(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new 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)}var c=function(e){function t(s){n(this,t);var i=a(this,e.call(this,s));return i.type=r.ID,i}return o(t,e),t.prototype.toString=function(){return[this.spaces.before,this.ns,String("#"+this.value),this.spaces.after].join("")},t}(s.default);e.default=c,t.exports=e.default}}),hs=o({"node_modules/postcss-selector-parser/dist/selectors/tag.js"(e,t){p(),e.__esModule=!0;var s=i(cs()),r=is();function i(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new 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)}var c=function(e){function t(s){n(this,t);var i=a(this,e.call(this,s));return i.type=r.TAG,i}return o(t,e),t}(s.default);e.default=c,t.exports=e.default}}),ds=o({"node_modules/postcss-selector-parser/dist/selectors/string.js"(e,t){p(),e.__esModule=!0;var s=i(rs()),r=is();function i(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new 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)}var c=function(e){function t(s){n(this,t);var i=a(this,e.call(this,s));return i.type=r.STRING,i}return o(t,e),t}(s.default);e.default=c,t.exports=e.default}}),ms=o({"node_modules/postcss-selector-parser/dist/selectors/pseudo.js"(e,t){p(),e.__esModule=!0;var s=i(ns()),r=is();function i(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new 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)}var c=function(e){function t(s){n(this,t);var i=a(this,e.call(this,s));return i.type=r.PSEUDO,i}return o(t,e),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}(s.default);e.default=c,t.exports=e.default}}),fs=o({"node_modules/postcss-selector-parser/dist/selectors/attribute.js"(e,t){p(),e.__esModule=!0;var s=i(cs()),r=is();function i(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new 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)}var c=function(e){function t(s){n(this,t);var i=a(this,e.call(this,s));return i.type=r.ATTRIBUTE,i.raws={},i}return o(t,e),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}(s.default);e.default=c,t.exports=e.default}}),ys=o({"node_modules/postcss-selector-parser/dist/selectors/universal.js"(e,t){p(),e.__esModule=!0;var s=i(cs()),r=is();function i(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new 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)}var c=function(e){function t(s){n(this,t);var i=a(this,e.call(this,s));return i.type=r.UNIVERSAL,i.value="*",i}return o(t,e),t}(s.default);e.default=c,t.exports=e.default}}),gs=o({"node_modules/postcss-selector-parser/dist/selectors/combinator.js"(e,t){p(),e.__esModule=!0;var s=i(rs()),r=is();function i(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new 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)}var c=function(e){function t(s){n(this,t);var i=a(this,e.call(this,s));return i.type=r.COMBINATOR,i}return o(t,e),t}(s.default);e.default=c,t.exports=e.default}}),xs=o({"node_modules/postcss-selector-parser/dist/selectors/nesting.js"(e,t){p(),e.__esModule=!0;var s=i(rs()),r=is();function i(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new 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)}var c=function(e){function t(s){n(this,t);var i=a(this,e.call(this,s));return i.type=r.NESTING,i.value="&",i}return o(t,e),t}(s.default);e.default=c,t.exports=e.default}}),vs=o({"node_modules/postcss-selector-parser/dist/sortAscending.js"(e,t){function s(e){return e.sort((function(e,t){return e-t}))}p(),e.__esModule=!0,e.default=s,t.exports=e.default}}),bs=o({"node_modules/postcss-selector-parser/dist/tokenize.js"(e,t){p(),e.__esModule=!0,e.default=S;var s=39,r=34,i=92,n=47,a=10,o=32,c=12,u=9,l=13,h=43,d=62,m=126,f=124,y=44,g=40,x=41,v=91,b=93,E=59,C=42,A=58,w=38,D=64,T=/[ \n\t\r\{\(\)'"\\;/]/g,P=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function S(e){for(var t=[],p=e.css.valueOf(),S=void 0,k=void 0,N=void 0,F=void 0,I=void 0,_=void 0,O=void 0,j=void 0,B=void 0,L=void 0,M=void 0,R=p.length,U=-1,q=1,z=0,$=function(t,s){if(!e.safe)throw e.error("Unclosed "+t,q,z-U,z);k=(p+=s).length-1};z<R;){switch((S=p.charCodeAt(z))===a&&(U=z,q+=1),S){case a:case o:case u:case l:case c:k=z;do{k+=1,(S=p.charCodeAt(k))===a&&(U=k,q+=1)}while(S===o||S===a||S===u||S===l||S===c);t.push(["space",p.slice(z,k),q,z-U,z]),z=k-1;break;case h:case d:case m:case f:k=z;do{k+=1,S=p.charCodeAt(k)}while(S===h||S===d||S===m||S===f);t.push(["combinator",p.slice(z,k),q,z-U,z]),z=k-1;break;case C:t.push(["*","*",q,z-U,z]);break;case w:t.push(["&","&",q,z-U,z]);break;case y:t.push([",",",",q,z-U,z]);break;case v:t.push(["[","[",q,z-U,z]);break;case b:t.push(["]","]",q,z-U,z]);break;case A:t.push([":",":",q,z-U,z]);break;case E:t.push([";",";",q,z-U,z]);break;case g:t.push(["(","(",q,z-U,z]);break;case x:t.push([")",")",q,z-U,z]);break;case s:case r:N=S===s?"'":'"',k=z;do{for(L=!1,-1===(k=p.indexOf(N,k+1))&&$("quote",N),M=k;p.charCodeAt(M-1)===i;)M-=1,L=!L}while(L);t.push(["string",p.slice(z,k+1),q,z-U,q,k-U,z]),z=k;break;case D:T.lastIndex=z+1,T.test(p),k=0===T.lastIndex?p.length-1:T.lastIndex-2,t.push(["at-word",p.slice(z,k+1),q,z-U,q,k-U,z]),z=k;break;case i:for(k=z,O=!0;p.charCodeAt(k+1)===i;)k+=1,O=!O;S=p.charCodeAt(k+1),O&&S!==n&&S!==o&&S!==a&&S!==u&&S!==l&&S!==c&&(k+=1),t.push(["word",p.slice(z,k+1),q,z-U,q,k-U,z]),z=k;break;default:S===n&&p.charCodeAt(z+1)===C?(0===(k=p.indexOf("*/",z+2)+1)&&$("comment","*/"),(I=(F=(_=p.slice(z,k+1)).split("\n")).length-1)>0?(j=q+I,B=k-F[I].length):(j=q,B=U),t.push(["comment",_,q,z-U,j,k-B,z]),U=B,q=j,z=k):(P.lastIndex=z+1,P.test(p),k=0===P.lastIndex?p.length-1:P.lastIndex-2,t.push(["word",p.slice(z,k+1),q,z-U,q,k-U,z]),z=k)}z++}return t}t.exports=e.default}}),Es=o({"node_modules/postcss-selector-parser/dist/parser.js"(e,t){p(),e.__esModule=!0;var s=function(){function e(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,s,r){return s&&e(t.prototype,s),r&&e(t,r),t}}(),r=A(Yt()),i=A(Qt()),n=A(Zt()),a=A(as()),o=A(os()),c=A(us()),u=A(ls()),l=A(ps()),h=A(hs()),d=A(ds()),m=A(ms()),f=A(fs()),y=A(ys()),g=A(gs()),x=A(xs()),v=A(vs()),b=A(bs()),E=C(is());function C(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s]);return t.default=e,t}function A(e){return e&&e.__esModule?e:{default:e}}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var D=function(){function e(t){w(this,e),this.input=t,this.lossy=!1===t.options.lossless,this.position=0,this.root=new a.default;var s=new o.default;return this.root.append(s),this.current=s,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,s=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),n={operator:r[1],value:r[2],source:{start:{line:s[2],column:s[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:s[4]};if(i.length>1?(""===i[0]&&(i[0]=!0),n.attribute=this.parseValue(i[2]),n.namespace=this.parseNamespace(i[0])):n.attribute=this.parseValue(r[0]),t=new f.default(n),r[2]){var a=r[2].split(/(\s+i\s*?)$/),o=a[0].trim();t.value=this.lossy?o:a[0],a[1]&&(t.insensitive=!0,this.lossy||(t.raws.insensitive=a[1])),t.quoted="'"===o[0]||'"'===o[0],t.raws.unquoted=t.quoted?o.slice(1,-1):o}this.newNode(t),this.position++},e.prototype.combinator=function(){if("|"===this.currToken[1])return this.namespace();for(var e=new g.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&&("space"===this.currToken[0]||"combinator"===this.currToken[0]);)this.nextToken&&"combinator"===this.nextToken[0]?(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&&"combinator"===this.prevToken[0]?e.spaces.after=this.parseSpace(this.currToken[1]):"combinator"===this.currToken[0]?e.value=this.currToken[1]:"space"===this.currToken[0]&&(e.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(e)},e.prototype.comma=function(){if(this.position===this.tokens.length-1)return this.root.trailingComma=!0,void this.position++;var e=new o.default;this.current.parent.append(e),this.current=e,this.position++},e.prototype.comment=function(){var e=new u.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;return"word"===this.nextToken[0]?(this.position++,this.word(e)):"*"===this.nextToken[0]?(this.position++,this.universal(e)):void 0},e.prototype.nesting=function(){this.newNode(new x.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===E.PSEUDO){var t=new o.default,s=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=s}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="",s=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("word"===this.currToken[0]){var r=void 0;this.splitWord(!1,(function(i,n){t+=i,r=new m.default({value:t,source:{start:{line:s[2],column:s[3]},end:{line:e.currToken[4],column:e.currToken[5]}},sourceIndex:s[4]}),e.newNode(r),n>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;0===this.position||","===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 d.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 y.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 s=this,a=this.nextToken,o=this.currToken[1];a&&"word"===a[0];){this.position++;var u=this.currToken[1];if(o+=u,u.lastIndexOf("\\")===u.length-1){var p=this.nextToken;p&&"space"===p[0]&&(o+=this.parseSpace(p[1]," "),this.position++)}a=this.nextToken}var d=(0,i.default)(o,"."),m=(0,i.default)(o,"#"),f=(0,i.default)(o,"#{");f.length&&(m=m.filter((function(e){return!~f.indexOf(e)})));var y=(0,v.default)((0,n.default)((0,r.default)([[0],d,m])));y.forEach((function(r,i){var n=y[i+1]||o.length,a=o.slice(r,n);if(0===i&&t)return t.call(s,a,y.length);var u=void 0;u=~d.indexOf(r)?new c.default({value:a.slice(1),source:{start:{line:s.currToken[2],column:s.currToken[3]+r},end:{line:s.currToken[4],column:s.currToken[3]+(n-1)}},sourceIndex:s.currToken[6]+y[i]}):~m.indexOf(r)?new l.default({value:a.slice(1),source:{start:{line:s.currToken[2],column:s.currToken[3]+r},end:{line:s.currToken[4],column:s.currToken[3]+(n-1)}},sourceIndex:s.currToken[6]+y[i]}):new h.default({value:a,source:{start:{line:s.currToken[2],column:s.currToken[3]+r},end:{line:s.currToken[4],column:s.currToken[3]+(n-1)}},sourceIndex:s.currToken[6]+y[i]}),s.newNode(u,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()}},e.prototype.parseNamespace=function(e){if(this.lossy&&"string"==typeof e){var t=e.trim();return!t.length||t}return e},e.prototype.parseSpace=function(e,t){return this.lossy?t||"":e},e.prototype.parseValue=function(e){return this.lossy&&e&&"string"==typeof e?e.trim():e},e.prototype.parseParenthesisToken=function(e){return this.lossy?"space"===e[0]?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.spaces=""),this.current.append(e)},s(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}();e.default=D,t.exports=e.default}}),Cs=o({"node_modules/postcss-selector-parser/dist/processor.js"(e,t){p(),e.__esModule=!0;var s=function(){function e(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,s,r){return s&&e(t.prototype,s),r&&e(t,r),t}}(),r=i(Es());function i(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(t){return n(this,e),this.func=t||function(){},this}return e.prototype.process=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=new r.default({css:e,error:function(e){throw new Error(e)},options:t});return this.res=s,this.func(s),this},s(e,[{key:"result",get:function(){return String(this.res)}}]),e}();e.default=a,t.exports=e.default}}),As=o({"node_modules/postcss-selector-parser/dist/index.js"(e,t){p(),e.__esModule=!0;var s=x(Cs()),r=x(fs()),i=x(us()),n=x(gs()),a=x(ls()),o=x(ps()),c=x(xs()),u=x(ms()),l=x(as()),h=x(os()),d=x(ds()),m=x(hs()),f=x(ys()),y=g(is());function g(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s]);return t.default=e,t}function x(e){return e&&e.__esModule?e:{default:e}}var v=function(e){return new s.default(e)};v.attribute=function(e){return new r.default(e)},v.className=function(e){return new i.default(e)},v.combinator=function(e){return new n.default(e)},v.comment=function(e){return new a.default(e)},v.id=function(e){return new o.default(e)},v.nesting=function(e){return new c.default(e)},v.pseudo=function(e){return new u.default(e)},v.root=function(e){return new l.default(e)},v.selector=function(e){return new h.default(e)},v.string=function(e){return new d.default(e)},v.tag=function(e){return new m.default(e)},v.universal=function(e){return new f.default(e)},Object.keys(y).forEach((function(e){"__esModule"!==e&&(v[e]=y[e])})),e.default=v,t.exports=e.default}}),ws=o({"node_modules/postcss-media-query-parser/dist/nodes/Node.js"(e){function t(e){this.after=e.after,this.before=e.before,this.type=e.type,this.value=e.value,this.sourceIndex=e.sourceIndex}p(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=t}}),Ds=o({"node_modules/postcss-media-query-parser/dist/nodes/Container.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0});var t=s(ws());function s(e){return e&&e.__esModule?e:{default:e}}function r(e){var t=this;this.constructor(e),this.nodes=e.nodes,void 0===this.after&&(this.after=this.nodes.length>0?this.nodes[this.nodes.length-1].after:""),void 0===this.before&&(this.before=this.nodes.length>0?this.nodes[0].before:""),void 0===this.sourceIndex&&(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 s="string"==typeof e||e instanceof RegExp,r=s?t:e,i="string"==typeof e?new RegExp(e):e,n=0;n<this.nodes.length;n++){var a=this.nodes[n];if((!s||i.test(a.type))&&r&&!1===r(a,n,this.nodes)||a.nodes&&!1===a.walk(e,t))return!1}return!0},r.prototype.each=function(){for(var e=arguments.length<=0||void 0===arguments[0]?function(){}:arguments[0],t=0;t<this.nodes.length;t++)if(!1===e(this.nodes[t],t,this.nodes))return!1;return!0},e.default=r}}),Ts=o({"node_modules/postcss-media-query-parser/dist/parsers.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.parseMediaFeature=i,e.parseMediaQuery=n,e.parseMediaList=a;var t=r(ws()),s=r(Ds());function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=[{mode:"normal",character:null}],s=[],r=0,i="",n=null,a=null,o=arguments.length<=1||void 0===arguments[1]?0:arguments[1],c=e;"("===e[0]&&")"===e[e.length-1]&&(c=e.substring(1,e.length-1),o++);for(var u=0;u<c.length;u++){var l=c[u];if(("'"===l||'"'===l)&&(!0===t[r].isCalculationEnabled?(t.push({mode:"string",isCalculationEnabled:!1,character:l}),r++):"string"===t[r].mode&&t[r].character===l&&"\\"!==c[u-1]&&(t.pop(),r--)),"{"===l?(t.push({mode:"interpolation",isCalculationEnabled:!0}),r++):"}"===l&&(t.pop(),r--),"normal"===t[r].mode&&":"===l){var p=c.substring(u+1);(a={type:"value",before:/^(\s*)/.exec(p)[1],after:/(\s*)$/.exec(p)[1],value:p.trim()}).sourceIndex=a.before.length+u+1+o,n={type:"colon",sourceIndex:u+o,after:a.before,value:":"};break}i+=l}return(i={type:"media-feature",before:/^(\s*)/.exec(i)[1],after:/(\s*)$/.exec(i)[1],value:i.trim()}).sourceIndex=i.before.length+o,s.push(i),null!==n&&(n.before=i.after,s.push(n)),null!==a&&s.push(a),s}function n(e){var r=arguments.length<=1||void 0===arguments[1]?0:arguments[1],n=[],a=0,o=!1,c=void 0;function u(){return{before:"",after:"",value:""}}c=u();for(var l=0;l<e.length;l++){var p=e[l];o?(c.value+=p,("{"===p||"("===p)&&a++,(")"===p||"}"===p)&&a--):-1!==p.search(/\s/)?c.before+=p:("("===p&&(c.type="media-feature-expression",a++),c.value=p,c.sourceIndex=r+l,o=!0),o&&0===a&&(")"===p||l===e.length-1||-1!==e[l+1].search(/\s/))&&(-1!==["not","only","and"].indexOf(c.value)&&(c.type="keyword"),"media-feature-expression"===c.type&&(c.nodes=i(c.value,c.sourceIndex)),n.push(Array.isArray(c.nodes)?new s.default(c):new t.default(c)),c=u(),o=!1)}for(var h=0;h<n.length;h++)if(c=n[h],h>0&&(n[h-1].after=c.before),void 0===c.type){if(h>0){if("media-feature-expression"===n[h-1].type){c.type="keyword";continue}if("not"===n[h-1].value||"only"===n[h-1].value){c.type="media-type";continue}if("and"===n[h-1].value){c.type="media-feature-expression";continue}"media-type"===n[h-1].type&&(n[h+1]?c.type="media-feature-expression"===n[h+1].type?"keyword":"media-feature-expression":c.type="media-feature-expression")}if(0===h){if(!n[h+1]){c.type="media-type";continue}if(n[h+1]&&("media-feature-expression"===n[h+1].type||"keyword"===n[h+1].type)){c.type="media-type";continue}if(n[h+2]){if("media-feature-expression"===n[h+2].type){c.type="media-type",n[h+1].type="keyword";continue}if("keyword"===n[h+2].type){c.type="keyword",n[h+1].type="media-type";continue}}if(n[h+3]&&"media-feature-expression"===n[h+3].type){c.type="keyword",n[h+1].type="media-type",n[h+2].type="keyword";continue}}}return n}function a(e){var r=[],i=0,a=0,o=/^(\s*)url\s*\(/.exec(e);if(null!==o){for(var c=o[0].length,u=1;u>0;){var l=e[c];"("===l&&u++,")"===l&&u--,c++}r.unshift(new t.default({type:"url",value:e.substring(0,c).trim(),sourceIndex:o[1].length,before:o[1],after:/^(\s*)/.exec(e.substring(c))[1]})),i=c}for(var p=i;p<e.length;p++){var h=e[p];if("("===h&&a++,")"===h&&a--,0===a&&","===h){var d=e.substring(i,p),m=/^(\s*)/.exec(d)[1];r.push(new s.default({type:"media-query",value:d.trim(),sourceIndex:i+m.length,nodes:n(d,i),before:m,after:/(\s*)$/.exec(d)[1]})),i=p+1}}var f=e.substring(i),y=/^(\s*)/.exec(f)[1];return r.push(new s.default({type:"media-query",value:f.trim(),sourceIndex:i+y.length,nodes:n(f,i),before:y,after:/(\s*)$/.exec(f)[1]})),r}}}),Ps=o({"node_modules/postcss-media-query-parser/dist/index.js"(e){p(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var t=r(Ds()),s=Ts();function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return new t.default({nodes:(0,s.parseMediaList)(e),type:"media-query-list",value:e.trim()})}}}),Ss={};function ks(e,t){for(var s=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),s++):s&&(e.splice(r,1),s--)}if(t)for(;s--;s)e.unshift("..");return e}function Ns(){for(var e="",t=!1,s=arguments.length-1;s>=-1&&!t;s--){var r=s>=0?arguments[s]:"/";if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");r&&(e=r+"/"+e,t="/"===r.charAt(0))}return(t?"/":"")+(e=ks(Ms(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function Fs(e){var t=Is(e),s="/"===Hs(e,-1);return!(e=ks(Ms(e.split("/"),(function(e){return!!e})),!t).join("/"))&&!t&&(e="."),e&&s&&(e+="/"),(t?"/":"")+e}function Is(e){return"/"===e.charAt(0)}function _s(){return Fs(Ms(Array.prototype.slice.call(arguments,0),(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function Os(e,t){function s(e){for(var t=0;t<e.length&&""===e[t];t++);for(var s=e.length-1;s>=0&&""===e[s];s--);return t>s?[]:e.slice(t,s-t+1)}e=Ns(e).substr(1),t=Ns(t).substr(1);for(var r=s(e.split("/")),i=s(t.split("/")),n=Math.min(r.length,i.length),a=n,o=0;o<n;o++)if(r[o]!==i[o]){a=o;break}var c=[];for(o=a;o<r.length;o++)c.push("..");return(c=c.concat(i.slice(a))).join("/")}function js(e){var t=Us(e),s=t[0],r=t[1];return s||r?(r&&(r=r.substr(0,r.length-1)),s+r):"."}function Bs(e,t){var s=Us(e)[2];return t&&s.substr(-1*t.length)===t&&(s=s.substr(0,s.length-t.length)),s}function Ls(e){return Us(e)[3]}function Ms(e,t){if(e.filter)return e.filter(t);for(var s=[],r=0;r<e.length;r++)t(e[r],r,e)&&s.push(e[r]);return s}c(Ss,{basename:()=>Bs,default:()=>$s,delimiter:()=>zs,dirname:()=>js,extname:()=>Ls,isAbsolute:()=>Is,join:()=>_s,normalize:()=>Fs,relative:()=>Os,resolve:()=>Ns,sep:()=>qs});var Rs,Us,qs,zs,$s,Hs,Vs=a({"node-modules-polyfills:path"(){p(),Rs=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Us=function(e){return Rs.exec(e).slice(1)},$s={extname:Ls,basename:Bs,dirname:js,sep:qs="/",delimiter:zs=":",relative:Os,join:_s,isAbsolute:Is,normalize:Fs,resolve:Ns},Hs="b"==="ab".substr(-1)?function(e,t,s){return e.substr(t,s)}:function(e,t,s){return t<0&&(t=e.length+t),e.substr(t,s)}}}),Gs=o({"node-modules-polyfills-commonjs:path"(e,t){p();var s=(Vs(),l(Ss));if(s&&s.default){t.exports=s.default;for(let e in s)t.exports[e]=s[e]}else s&&(t.exports=s)}}),Ws=o({"node_modules/picocolors/picocolors.browser.js"(e,t){p();var s=String,r=function(){return{isColorSupported:!1,reset:s,bold:s,dim:s,italic:s,underline:s,inverse:s,hidden:s,strikethrough:s,black:s,red:s,green:s,yellow:s,blue:s,magenta:s,cyan:s,white:s,gray:s,bgBlack:s,bgRed:s,bgGreen:s,bgYellow:s,bgBlue:s,bgMagenta:s,bgCyan:s,bgWhite:s}};t.exports=r(),t.exports.createColors=r}}),Js=o({"(disabled):node_modules/postcss/lib/terminal-highlight"(){p()}}),Xs=o({"node_modules/postcss/lib/css-syntax-error.js"(e,t){p(),e.__esModule=!0,e.default=void 0;var s=i(Ws()),r=i(Js());function i(e){return e&&e.__esModule?e:{default:e}}function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function o(e){var t="function"==typeof Map?new Map:void 0;return o=function(e){if(null===e||!l(e))return e;if("function"!=typeof e)throw new 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,s)}function s(){return c(e,arguments,d(this).constructor)}return s.prototype=Object.create(e.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),h(s,e)},o(e)}function c(e,t,s){return c=u()?Reflect.construct:function(e,t,s){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return s&&h(i,s.prototype),i},c.apply(null,arguments)}function u(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch{return!1}}function l(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}var m=function(e){function t(s,r,i,a,o,c){var u;return(u=e.call(this,s)||this).name="CssSyntaxError",u.reason=s,o&&(u.file=o),a&&(u.source=a),c&&(u.plugin=c),typeof r<"u"&&typeof i<"u"&&(u.line=r,u.column=i),u.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(n(u),t),u}a(t,e);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=s.default.isColorSupported),e&&(i=(0,r.default)(i)));var n=i.split(/\r?\n/),a=Math.max(this.line-3,0),o=Math.min(this.line+2,n.length),c=String(o).length;function u(t){return e&&s.default.red?s.default.red(s.default.bold(t)):t}function l(t){return e&&s.default.gray?s.default.gray(t):t}return n.slice(a,o).map((function(e,s){var r=a+1+s,i=" "+(" "+r).slice(-c)+" | ";if(r===t.line){var n=l(i.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return u(">")+l(i)+e+"\n "+n+u("^")}return" "+l(i)+e})).join("\n")},i.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(o(Error)),f=m;e.default=f,t.exports=e.default}}),Ks=o({"node_modules/postcss/lib/previous-map.js"(e,t){p(),t.exports=class{}}}),Ys=o({"node_modules/postcss/lib/input.js"(e,t){p(),e.__esModule=!0,e.default=void 0;var s=n(Gs()),r=n(Xs()),i=n(Ks());function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,s){return t&&a(e.prototype,t),s&&a(e,s),e}var c=0,u=function(){function e(e,t){if(void 0===t&&(t={}),null===e||typeof e>"u"||"object"==typeof e&&!e.toString)throw new Error("PostCSS received "+e+" instead of CSS string");this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(/^\w+:\/\//.test(t.from)||s.default.isAbsolute(t.from)?this.file=t.from:this.file=s.default.resolve(t.from));var r=new i.default(this.css,t);if(r.text){this.map=r;var n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}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,s,i){void 0===i&&(i={});var n,a=this.origin(t,s);return(n=a?new r.default(e,a.line,a.column,a.source,a.file,i.plugin):new r.default(e,t,s,this.css,this.file,i.plugin)).input={line:t,column:s,source:this.css},this.file&&(n.input.file=this.file),n},t.origin=function(e,t){if(!this.map)return!1;var s=this.map.consumer(),r=s.originalPositionFor({line:e,column:t});if(!r.source)return!1;var i={file:this.mapResolve(r.source),line:r.line,column:r.column},n=s.sourceContentFor(r.source);return n&&(i.source=n),i},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:s.default.resolve(this.map.consumer().sourceRoot||".",e)},o(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),l=u;e.default=l,t.exports=e.default}}),Qs=o({"node_modules/postcss/lib/stringifier.js"(e,t){p(),e.__esModule=!0,e.default=void 0;var s={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function r(e){return e[0].toUpperCase()+e.slice(1)}var i=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"),s=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+s+"*/",e)},t.decl=function(e,t){var s=this.raw(e,"between","colon"),r=e.prop+s+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 s="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?s+=e.raws.afterName:r&&(s+=" "),e.nodes)this.block(e,s+r);else{var i=(e.raws.between||"")+(t?";":"");this.builder(s+r+i,e)}},t.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var s=this.raw(e,"semicolon"),r=0;r<e.nodes.length;r++){var i=e.nodes[r],n=this.raw(i,"before");n&&this.builder(n),this.stringify(i,t!==r||s)}},t.block=function(e,t){var s,r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),s=this.raw(e,"after")):s=this.raw(e,"after","emptyBody"),s&&this.builder(s),this.builder("}",e,"end")},t.raw=function(e,t,i){var n;if(i||(i=t),t&&typeof(n=e.raws[t])<"u")return n;var a=e.parent;if("before"===i&&(!a||"root"===a.type&&a.first===e))return"";if(!a)return s[i];var o=e.root();if(o.rawCache||(o.rawCache={}),typeof o.rawCache[i]<"u")return o.rawCache[i];if("before"===i||"after"===i)return this.beforeAfter(e,i);var c="raw"+r(i);return this[c]?n=this[c](o,e):o.walk((function(e){if(typeof(n=e.raws[t])<"u")return!1})),typeof n>"u"&&(n=s[i]),o.rawCache[i]=n,n},t.rawSemicolon=function(e){var t;return e.walk((function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&typeof(t=e.raws.semicolon)<"u")return!1})),t},t.rawEmptyBody=function(e){var t;return e.walk((function(e){if(e.nodes&&0===e.nodes.length&&typeof(t=e.raws.after)<"u")return!1})),t},t.rawIndent=function(e){return e.raws.indent?e.raws.indent:(e.walk((function(s){var r=s.parent;if(r&&r!==e&&r.parent&&r.parent===e&&typeof s.raws.before<"u"){var i=s.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/[^\s]/g,""),!1}})),t);var t},t.rawBeforeComment=function(e,t){var s;return e.walkComments((function(e){if(typeof e.raws.before<"u")return-1!==(s=e.raws.before).indexOf("\n")&&(s=s.replace(/[^\n]+$/,"")),!1})),typeof s>"u"?s=this.raw(t,null,"beforeDecl"):s&&(s=s.replace(/[^\s]/g,"")),s},t.rawBeforeDecl=function(e,t){var s;return e.walkDecls((function(e){if(typeof e.raws.before<"u")return-1!==(s=e.raws.before).indexOf("\n")&&(s=s.replace(/[^\n]+$/,"")),!1})),typeof s>"u"?s=this.raw(t,null,"beforeRule"):s&&(s=s.replace(/[^\s]/g,"")),s},t.rawBeforeRule=function(e){var t;return e.walk((function(s){if(s.nodes&&(s.parent!==e||e.first!==s)&&typeof s.raws.before<"u")return-1!==(t=s.raws.before).indexOf("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(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-1!==(t=e.raws.after).indexOf("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/[^\s]/g,"")),t},t.rawBeforeOpen=function(e){var t;return e.walk((function(e){if("decl"!==e.type&&typeof(t=e.raws.between)<"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){var s;s="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var r=e.parent,i=0;r&&"root"!==r.type;)i+=1,r=r.parent;if(-1!==s.indexOf("\n")){var n=this.raw(e,null,"indent");if(n.length)for(var a=0;a<i;a++)s+=n}return s},t.rawValue=function(e,t){var s=e[t],r=e.raws[t];return r&&r.value===s?r.raw:s},e}(),n=i;e.default=n,t.exports=e.default}}),Zs=o({"node_modules/postcss/lib/stringify.js"(e,t){p(),e.__esModule=!0,e.default=void 0;var s=r(Qs());function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){new s.default(t).stringify(e)}var n=i;e.default=n,t.exports=e.default}}),er=o({"node_modules/postcss/lib/node.js"(e,t){p(),e.__esModule=!0,e.default=void 0;var s=n(Xs()),r=n(Qs()),i=n(Zs());function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var s=new e.constructor;for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],n=typeof i;"parent"===r&&"object"===n?t&&(s[r]=t):"source"===r?s[r]=i:i instanceof Array?s[r]=i.map((function(e){return a(e,s)})):("object"===n&&null!==i&&(i=a(i)),s[r]=i)}return s}var o=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},e)this[t]=e[t]}var t=e.prototype;return t.error=function(e,t){if(void 0===t&&(t={}),this.source){var r=this.positionBy(t);return this.source.input.error(e,r.line,r.column,t)}return new s.default(e)},t.warn=function(e,t,s){var r={node:this};for(var i in s)r[i]=s[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){void 0===e&&(e=i.default),e.stringify&&(e=e.stringify);var t="";return e(this,(function(e){t+=e})),t},t.clone=function(e){void 0===e&&(e={});var t=a(this);for(var s in e)t[s]=e[s];return t},t.cloneBefore=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertBefore(this,t),t},t.cloneAfter=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertAfter(this,t),t},t.replaceWith=function(){if(this.parent){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];for(var r=0,i=t;r<i.length;r++){var n=i[r];this.parent.insertBefore(this,n)}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)&&"parent"!==t){var s=this[t];s instanceof Array?e[t]=s.map((function(e){return"object"==typeof e&&e.toJSON?e.toJSON():e})):"object"==typeof s&&s.toJSON?e[t]=s.toJSON():e[t]=s}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(),s=this.source.start.column,r=this.source.start.line,i=0;i<e;i++)"\n"===t[i]?(s=1,r+=1):s+=1;return{line:r,column:s}},t.positionBy=function(e){var t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){var s=this.toString().indexOf(e.word);-1!==s&&(t=this.positionInside(s))}return t},e}(),c=o;e.default=c,t.exports=e.default}}),tr=o({"node_modules/postcss/lib/comment.js"(e,t){function s(e){return e&&e.__esModule?e:{default:e}}function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}p(),e.__esModule=!0,e.default=void 0;var i=function(e){function t(t){var s;return(s=e.call(this,t)||this).type="comment",s}return r(t,e),t}(s(er()).default),n=i;e.default=n,t.exports=e.default}}),sr=o({"node_modules/postcss/lib/declaration.js"(e,t){function s(e){return e&&e.__esModule?e:{default:e}}function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}p(),e.__esModule=!0,e.default=void 0;var i=function(e){function t(t){var s;return(s=e.call(this,t)||this).type="decl",s}return r(t,e),t}(s(er()).default),n=i;e.default=n,t.exports=e.default}}),rr=o({"node_modules/postcss/lib/tokenize.js"(e,t){p(),e.__esModule=!0,e.default=T;var s="'".charCodeAt(0),r='"'.charCodeAt(0),i="\\".charCodeAt(0),n="/".charCodeAt(0),a="\n".charCodeAt(0),o=" ".charCodeAt(0),c="\f".charCodeAt(0),u="\t".charCodeAt(0),l="\r".charCodeAt(0),h="[".charCodeAt(0),d="]".charCodeAt(0),m="(".charCodeAt(0),f=")".charCodeAt(0),y="{".charCodeAt(0),g="}".charCodeAt(0),x=";".charCodeAt(0),v="*".charCodeAt(0),b=":".charCodeAt(0),E="@".charCodeAt(0),C=/[ \n\t\r\f{}()'"\\;/[\]#]/g,A=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,w=/.[\\/("'\n]/,D=/[a-f0-9]/i;function T(e,t){void 0===t&&(t={});var p,T,P,S,k,N,F,I,_,O,j,B,L,M,R=e.css.valueOf(),U=t.ignoreErrors,q=R.length,z=-1,$=1,H=0,V=[],G=[];function W(){return H}function J(t){throw e.error("Unclosed "+t,$,H-z)}function X(){return 0===G.length&&H>=q}function K(e){if(G.length)return G.pop();if(!(H>=q)){var t=!!e&&e.ignoreUnclosed;switch(((p=R.charCodeAt(H))===a||p===c||p===l&&R.charCodeAt(H+1)!==a)&&(z=H,$+=1),p){case a:case o:case u:case l:case c:T=H;do{T+=1,(p=R.charCodeAt(T))===a&&(z=T,$+=1)}while(p===o||p===a||p===u||p===l||p===c);M=["space",R.slice(H,T)],H=T-1;break;case h:case d:case y:case g:case b:case x:case f:var W=String.fromCharCode(p);M=[W,W,$,H-z];break;case m:if(B=V.length?V.pop()[1]:"",L=R.charCodeAt(H+1),"url"===B&&L!==s&&L!==r&&L!==o&&L!==a&&L!==u&&L!==c&&L!==l){T=H;do{if(O=!1,-1===(T=R.indexOf(")",T+1))){if(U||t){T=H;break}J("bracket")}for(j=T;R.charCodeAt(j-1)===i;)j-=1,O=!O}while(O);M=["brackets",R.slice(H,T+1),$,H-z,$,T-z],H=T}else T=R.indexOf(")",H+1),N=R.slice(H,T+1),-1===T||w.test(N)?M=["(","(",$,H-z]:(M=["brackets",N,$,H-z,$,T-z],H=T);break;case s:case r:P=p===s?"'":'"',T=H;do{if(O=!1,-1===(T=R.indexOf(P,T+1))){if(U||t){T=H+1;break}J("string")}for(j=T;R.charCodeAt(j-1)===i;)j-=1,O=!O}while(O);N=R.slice(H,T+1),S=N.split("\n"),(k=S.length-1)>0?(I=$+k,_=T-S[k].length):(I=$,_=z),M=["string",R.slice(H,T+1),$,H-z,I,T-_],z=_,$=I,H=T;break;case E:C.lastIndex=H+1,C.test(R),T=0===C.lastIndex?R.length-1:C.lastIndex-2,M=["at-word",R.slice(H,T+1),$,H-z,$,T-z],H=T;break;case i:for(T=H,F=!0;R.charCodeAt(T+1)===i;)T+=1,F=!F;if(p=R.charCodeAt(T+1),F&&p!==n&&p!==o&&p!==a&&p!==u&&p!==l&&p!==c&&(T+=1,D.test(R.charAt(T)))){for(;D.test(R.charAt(T+1));)T+=1;R.charCodeAt(T+1)===o&&(T+=1)}M=["word",R.slice(H,T+1),$,H-z,$,T-z],H=T;break;default:p===n&&R.charCodeAt(H+1)===v?(0===(T=R.indexOf("*/",H+2)+1)&&(U||t?T=R.length:J("comment")),N=R.slice(H,T+1),S=N.split("\n"),(k=S.length-1)>0?(I=$+k,_=T-S[k].length):(I=$,_=z),M=["comment",N,$,H-z,I,T-_],z=_,$=I,H=T):(A.lastIndex=H+1,A.test(R),T=0===A.lastIndex?R.length-1:A.lastIndex-2,M=["word",R.slice(H,T+1),$,H-z,$,T-z],V.push(M),H=T)}return H++,M}}function Y(e){G.push(e)}return{back:Y,nextToken:K,endOfFile:X,position:W}}t.exports=e.default}}),ir=o({"node_modules/postcss/lib/parse.js"(e,t){p(),e.__esModule=!0,e.default=void 0;var s=i(yr()),r=i(Ys());function i(e){return e&&e.__esModule?e:{default:e}}function n(e,t){var i=new r.default(e,t),n=new s.default(i);try{n.parse()}catch(e){throw e}return n.root}var a=n;e.default=a,t.exports=e.default}}),nr=o({"node_modules/postcss/lib/list.js"(e,t){p(),e.__esModule=!0,e.default=void 0;var s={split:function(e,t,s){for(var r=[],i="",n=!1,a=0,o=!1,c=!1,u=0;u<e.length;u++){var l=e[u];o?c?c=!1:"\\"===l?c=!0:l===o&&(o=!1):'"'===l||"'"===l?o=l:"("===l?a+=1:")"===l?a>0&&(a-=1):0===a&&-1!==t.indexOf(l)&&(n=!0),n?(""!==i&&r.push(i.trim()),i="",n=!1):i+=l}return(s||""!==i)&&r.push(i.trim()),r},space:function(e){var t=[" ","\n","\t"];return s.split(e,t)},comma:function(e){return s.split(e,[","],!0)}},r=s;e.default=r,t.exports=e.default}}),ar=o({"node_modules/postcss/lib/rule.js"(e,t){p(),e.__esModule=!0,e.default=void 0;var s=i(or()),r=i(nr());function i(e){return e&&e.__esModule?e:{default:e}}function n(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,s){return t&&n(e.prototype,t),s&&n(e,s),e}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var c=function(e){function t(t){var s;return(s=e.call(this,t)||this).type="rule",s.nodes||(s.nodes=[]),s}return o(t,e),a(t,[{key:"selectors",get:function(){return r.default.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,s=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(s)}}]),t}(s.default),u=c;e.default=u,t.exports=e.default}}),or=o({"node_modules/postcss/lib/container.js"(e,t){p(),e.__esModule=!0,e.default=void 0;var s=i(sr()),r=i(tr());function i(e){return e&&e.__esModule?e:{default:e}}function n(e,t){var s;if(typeof Symbol>"u"||null==e[Symbol.iterator]){if(Array.isArray(e)||(s=a(e))||t&&e&&"number"==typeof e.length){s&&(e=s);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(s=e[Symbol.iterator]()).next.bind(s)}function a(e,t){if(e){if("string"==typeof e)return o(e,t);var s=Object.prototype.toString.call(e).slice(8,-1);if("Object"===s&&e.constructor&&(s=e.constructor.name),"Map"===s||"Set"===s)return Array.from(e);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return o(e,t)}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,r=new Array(t);s<t;s++)r[s]=e[s];return r}function c(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t,s){return t&&c(e.prototype,t),s&&c(e,s),e}function l(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function h(e){return e.map((function(e){return e.nodes&&(e.nodes=h(e.nodes)),delete e.source,e}))}var d=function(e){function t(){return e.apply(this,arguments)||this}l(t,e);var i=t.prototype;return i.push=function(e){return e.parent=this,this.nodes.push(e),this},i.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var t=this.lastEach;if(this.indexes[t]=0,this.nodes){for(var s,r;this.indexes[t]<this.nodes.length&&(s=this.indexes[t],!1!==(r=e(this.nodes[s],s)));)this.indexes[t]+=1;return delete this.indexes[t],r}},i.walk=function(e){return this.each((function(t,s){var r;try{r=e(t,s)}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!1!==r&&t.walk&&(r=t.walk(e)),r}))},i.walkDecls=function(e,t){return t?e instanceof RegExp?this.walk((function(s,r){if("decl"===s.type&&e.test(s.prop))return t(s,r)})):this.walk((function(s,r){if("decl"===s.type&&s.prop===e)return t(s,r)})):(t=e,this.walk((function(e,s){if("decl"===e.type)return t(e,s)})))},i.walkRules=function(e,t){return t?e instanceof RegExp?this.walk((function(s,r){if("rule"===s.type&&e.test(s.selector))return t(s,r)})):this.walk((function(s,r){if("rule"===s.type&&s.selector===e)return t(s,r)})):(t=e,this.walk((function(e,s){if("rule"===e.type)return t(e,s)})))},i.walkAtRules=function(e,t){return t?e instanceof RegExp?this.walk((function(s,r){if("atrule"===s.type&&e.test(s.name))return t(s,r)})):this.walk((function(s,r){if("atrule"===s.type&&s.name===e)return t(s,r)})):(t=e,this.walk((function(e,s){if("atrule"===e.type)return t(e,s)})))},i.walkComments=function(e){return this.walk((function(t,s){if("comment"===t.type)return e(t,s)}))},i.append=function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];for(var r=0,i=t;r<i.length;r++)for(var a,o=i[r],c=n(this.normalize(o,this.last));!(a=c()).done;){var u=a.value;this.nodes.push(u)}return this},i.prepend=function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];for(var r,i=n(t=t.reverse());!(r=i()).done;){for(var a,o=r.value,c=this.normalize(o,this.first,"prepend").reverse(),u=n(c);!(a=u()).done;){var l=a.value;this.nodes.unshift(l)}for(var p in this.indexes)this.indexes[p]=this.indexes[p]+c.length}return this},i.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var s,r=n(this.nodes);!(s=r()).done;)s.value.cleanRaws(t)},i.insertBefore=function(e,t){for(var s,r=0===(e=this.index(e))&&"prepend",i=this.normalize(t,this.nodes[e],r).reverse(),a=n(i);!(s=a()).done;){var o=s.value;this.nodes.splice(e,0,o)}var c;for(var u in this.indexes)e<=(c=this.indexes[u])&&(this.indexes[u]=c+i.length);return this},i.insertAfter=function(e,t){e=this.index(e);for(var s,r=this.normalize(t,this.nodes[e]).reverse(),i=n(r);!(s=i()).done;){var a=s.value;this.nodes.splice(e+1,0,a)}var o;for(var c in this.indexes)e<(o=this.indexes[c])&&(this.indexes[c]=o+r.length);return this},i.removeChild=function(e){var t;for(var s in e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1),this.indexes)(t=this.indexes[s])>=e&&(this.indexes[s]=t-1);return this},i.removeAll=function(){for(var e,t=n(this.nodes);!(e=t()).done;)e.value.parent=void 0;return this.nodes=[],this},i.replaceValues=function(e,t,s){return s||(s=t,t={}),this.walkDecls((function(r){t.props&&-1===t.props.indexOf(r.prop)||t.fast&&-1===r.value.indexOf(t.fast)||(r.value=r.value.replace(e,s))})),this},i.every=function(e){return this.nodes.every(e)},i.some=function(e){return this.nodes.some(e)},i.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},i.normalize=function(e,t){var i=this;if("string"==typeof e)e=h(ir()(e).nodes);else if(Array.isArray(e))for(var a,o=n(e=e.slice(0));!(a=o()).done;){var c=a.value;c.parent&&c.parent.removeChild(c,"ignore")}else if("root"===e.type)for(var u,l=n(e=e.nodes.slice(0));!(u=l()).done;){var p=u.value;p.parent&&p.parent.removeChild(p,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new s.default(e)]}else if(e.selector)e=[new(ar())(e)];else if(e.name)e=[new(cr())(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new r.default(e)]}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(er()).default),m=d;e.default=m,t.exports=e.default}}),cr=o({"node_modules/postcss/lib/at-rule.js"(e,t){function s(e){return e&&e.__esModule?e:{default:e}}function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}p(),e.__esModule=!0,e.default=void 0;var i=function(e){function t(t){var s;return(s=e.call(this,t)||this).type="atrule",s}r(t,e);var s=t.prototype;return s.append=function(){var t;this.nodes||(this.nodes=[]);for(var s=arguments.length,r=new Array(s),i=0;i<s;i++)r[i]=arguments[i];return(t=e.prototype.append).call.apply(t,[this].concat(r))},s.prepend=function(){var t;this.nodes||(this.nodes=[]);for(var s=arguments.length,r=new Array(s),i=0;i<s;i++)r[i]=arguments[i];return(t=e.prototype.prepend).call.apply(t,[this].concat(r))},t}(s(or()).default),n=i;e.default=n,t.exports=e.default}}),ur=o({"node_modules/postcss/lib/map-generator.js"(e,t){p(),t.exports=class{generate(){}}}}),lr=o({"node_modules/postcss/lib/warn-once.js"(e,t){p(),e.__esModule=!0,e.default=r;var s={};function r(e){s[e]||(s[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}t.exports=e.default}}),pr=o({"node_modules/postcss/lib/warning.js"(e,t){p(),e.__esModule=!0,e.default=void 0;var s=function(){function e(e,t){if(void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source){var s=t.node.positionBy(t);this.line=s.line,this.column=s.column}for(var r in t)this[r]=t[r]}return e.prototype.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}(),r=s;e.default=r,t.exports=e.default}}),hr=o({"node_modules/postcss/lib/result.js"(e,t){p(),e.__esModule=!0,e.default=void 0;var s=r(pr());function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function n(e,t,s){return t&&i(e.prototype,t),s&&i(e,s),e}var a=function(){function e(e,t,s){this.processor=e,this.messages=[],this.root=t,this.opts=s,this.css=void 0,this.map=void 0}var t=e.prototype;return t.toString=function(){return this.css},t.warn=function(e,t){void 0===t&&(t={}),t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var r=new s.default(e,t);return this.messages.push(r),r},t.warnings=function(){return this.messages.filter((function(e){return"warning"===e.type}))},n(e,[{key:"content",get:function(){return this.css}}]),e}(),o=a;e.default=o,t.exports=e.default}}),dr=o({"node_modules/postcss/lib/lazy-result.js"(e,t){p(),e.__esModule=!0,e.default=void 0;var s=a(ur()),r=a(Zs());a(lr());var i=a(hr()),n=a(ir());function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var s;if(typeof Symbol>"u"||null==e[Symbol.iterator]){if(Array.isArray(e)||(s=c(e))||t&&e&&"number"==typeof e.length){s&&(e=s);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(s=e[Symbol.iterator]()).next.bind(s)}function c(e,t){if(e){if("string"==typeof e)return u(e,t);var s=Object.prototype.toString.call(e).slice(8,-1);if("Object"===s&&e.constructor&&(s=e.constructor.name),"Map"===s||"Set"===s)return Array.from(e);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return u(e,t)}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,r=new Array(t);s<t;s++)r[s]=e[s];return r}function l(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t,s){return t&&l(e.prototype,t),s&&l(e,s),e}function d(e){return"object"==typeof e&&"function"==typeof e.then}var m=function(){function e(t,s,r){var a;if(this.stringified=!1,this.processed=!1,"object"==typeof s&&null!==s&&"root"===s.type)a=s;else if(s instanceof e||s instanceof i.default)a=s.root,s.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=s.map);else{var o=n.default;r.syntax&&(o=r.syntax.parse),r.parser&&(o=r.parser),o.parse&&(o=o.parse);try{a=o(s,r)}catch(e){this.error=e}}this.result=new i.default(t,a,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,"CssSyntaxError"!==e.name||e.plugin?t.postcssVersion:(e.plugin=t.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}},t.asyncTick=function(e,t){var s=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,d(i)?i.then((function(){s.asyncTick(e,t)})).catch((function(e){s.handleError(e,r),s.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,s){e.error?s(e.error):t(e.stringify())})):(this.processing||(this.processing=new Promise((function(t,s){if(e.error)return s(e.error);e.plugin=0,e.asyncTick(t,s)})).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 new Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;for(var e,t=o(this.result.processor.plugins);!(e=t()).done;){var s=e.value;if(d(this.run(s)))throw new 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 s.default(t,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result},h(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}(),f=m;e.default=f,t.exports=e.default}}),mr=o({"node_modules/postcss/lib/processor.js"(e,t){p(),e.__esModule=!0,e.default=void 0;var s=r(dr());function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var s;if(typeof Symbol>"u"||null==e[Symbol.iterator]){if(Array.isArray(e)||(s=n(e))||t&&e&&"number"==typeof e.length){s&&(e=s);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(s=e[Symbol.iterator]()).next.bind(s)}function n(e,t){if(e){if("string"==typeof e)return a(e,t);var s=Object.prototype.toString.call(e).slice(8,-1);if("Object"===s&&e.constructor&&(s=e.constructor.name),"Map"===s||"Set"===s)return Array.from(e);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return a(e,t)}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,r=new Array(t);s<t;s++)r[s]=e[s];return r}var o=function(){function e(e){void 0===e&&(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 void 0===t&&(t={}),0===this.plugins.length&&(t.parser,t.stringifier),new s.default(this,e,t)})),t.normalize=function(e){for(var t,s=[],r=i(e);!(t=r()).done;){var n=t.value;if(!0===n.postcss){var a=n();throw new Error("PostCSS plugin "+a.postcssPlugin+" requires PostCSS 8.\nMigration guide for end-users:\nhttps://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users")}if(n.postcss&&(n=n.postcss),"object"==typeof n&&Array.isArray(n.plugins))s=s.concat(n.plugins);else if("function"==typeof n)s.push(n);else if("object"!=typeof n||!n.parse&&!n.stringify)throw"object"==typeof n&&n.postcssPlugin?new Error("PostCSS plugin "+n.postcssPlugin+" requires PostCSS 8.\nMigration guide for end-users:\nhttps://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users"):new Error(n+" is not a PostCSS plugin")}return s},e}(),c=o;e.default=c,t.exports=e.default}}),fr=o({"node_modules/postcss/lib/root.js"(e,t){function s(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var s;if(typeof Symbol>"u"||null==e[Symbol.iterator]){if(Array.isArray(e)||(s=i(e))||t&&e&&"number"==typeof e.length){s&&(e=s);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(s=e[Symbol.iterator]()).next.bind(s)}function i(e,t){if(e){if("string"==typeof e)return n(e,t);var s=Object.prototype.toString.call(e).slice(8,-1);if("Object"===s&&e.constructor&&(s=e.constructor.name),"Map"===s||"Set"===s)return Array.from(e);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return n(e,t)}}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,r=new Array(t);s<t;s++)r[s]=e[s];return r}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}p(),e.__esModule=!0,e.default=void 0;var o=function(e){function t(t){var s;return(s=e.call(this,t)||this).type="root",s.nodes||(s.nodes=[]),s}a(t,e);var s=t.prototype;return s.removeChild=function(t,s){var r=this.index(t);return!s&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),e.prototype.removeChild.call(this,t)},s.normalize=function(t,s,i){var n=e.prototype.normalize.call(this,t);if(s)if("prepend"===i)this.nodes.length>1?s.raws.before=this.nodes[1].raws.before:delete s.raws.before;else if(this.first!==s)for(var a,o=r(n);!(a=o()).done;)a.value.raws.before=s.raws.before;return n},s.toResult=function(e){return void 0===e&&(e={}),new(dr())(new(mr()),this,e).stringify()},t}(s(or()).default),c=o;e.default=c,t.exports=e.default}}),yr=o({"node_modules/postcss/lib/parser.js"(e,t){p(),e.__esModule=!0,e.default=void 0;var s=c(sr()),r=c(rr()),i=c(tr()),n=c(cr()),a=c(fr()),o=c(ar());function c(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(e){this.input=e,this.root=new a.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)}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 s=e[1].slice(2,-2);if(/^\s*$/.test(s))t.text="",t.raws.left=s,t.raws.right="";else{var r=s.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 o.default;this.init(t,e[2],e[3]),t.selector="",t.raws.between="",this.current=t},t.other=function(e){for(var t=!1,s=null,r=!1,i=null,n=[],a=[],o=e;o;){if(s=o[0],a.push(o),"("===s||"["===s)i||(i=o),n.push("("===s?")":"]");else if(0===n.length){if(";"===s){if(r)return void this.decl(a);break}if("{"===s)return void this.rule(a);if("}"===s){this.tokenizer.back(a.pop()),t=!0;break}":"===s&&(r=!0)}else s===n[n.length-1]&&(n.pop(),0===n.length&&(i=null));o=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),n.length>0&&this.unclosedBracket(i),t&&r){for(;a.length&&("space"===(o=a[a.length-1][0])||"comment"===o);)this.tokenizer.back(a.pop());this.decl(a)}else this.unknownWord(a)},t.rule=function(e){e.pop();var t=new o.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 s.default;this.init(t);var r,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),i[4]?t.source.end={line:i[4],column:i[5]}:t.source.end={line:i[2],column:i[3]};"word"!==e[0][0];)1===e.length&&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 n=e[0][0];if(":"===n||"space"===n||"comment"===n)break;t.prop+=e.shift()[1]}for(t.raws.between="";e.length;){if(":"===(r=e.shift())[0]){t.raws.between+=r[1];break}"word"===r[0]&&/\w/.test(r[1])&&this.unknownWord([r]),t.raws.between+=r[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 a=e.length-1;a>0;a--){if("!important"===(r=e[a])[1].toLowerCase()){t.important=!0;var o=this.stringFrom(e,a);" !important"!==(o=this.spacesFromEnd(e)+o)&&(t.raws.important=o);break}if("important"===r[1].toLowerCase()){for(var c=e.slice(0),u="",l=a;l>0;l--){var p=c[l][0];if(0===u.trim().indexOf("!")&&"space"!==p)break;u=c.pop()[1]+u}0===u.trim().indexOf("!")&&(t.important=!0,t.raws.important=u,e=c)}if("space"!==r[0]&&"comment"!==r[0])break}this.raw(t,"value",e),-1!==t.value.indexOf(":")&&this.checkMissedSemicolon(e)},t.atrule=function(e){var t=new n.default;t.name=e[1].slice(1),""===t.name&&this.unnamedAtrule(t,e),this.init(t,e[2],e[3]);for(var s,r,i=!1,a=!1,o=[];!this.tokenizer.endOfFile();){if(";"===(e=this.tokenizer.nextToken())[0]){t.source.end={line:e[2],column:e[3]},this.semicolon=!0;break}if("{"===e[0]){a=!0;break}if("}"===e[0]){if(o.length>0){for(s=o[r=o.length-1];s&&"space"===s[0];)s=o[--r];s&&(t.source.end={line:s[4],column:s[5]})}this.end(e);break}if(o.push(e),this.tokenizer.endOfFile()){i=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(o),o.length?(t.raws.afterName=this.spacesAndCommentsFromStart(o),this.raw(t,"params",o),i&&(e=o[o.length-1],t.source.end={line:e[4],column:e[5]},this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),a&&(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&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},t.init=function(e,t,s){this.current.push(e),e.source={start:{line:t,column:s},input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},t.raw=function(e,t,s){for(var r,i,n,a,o=s.length,c="",u=!0,l=/^([.|#])?([\w])+/i,p=0;p<o;p+=1)"comment"!==(i=(r=s[p])[0])||"rule"!==e.type?"comment"===i||"space"===i&&p===o-1?u=!1:c+=r[1]:(a=s[p-1],n=s[p+1],"space"!==a[0]&&"space"!==n[0]&&l.test(a[1])&&l.test(n[1])?c+=r[1]:u=!1);if(!u){var h=s.reduce((function(e,t){return e+t[1]}),"");e.raws[t]={value:c,raw:h}}e[t]=c},t.spacesAndCommentsFromEnd=function(e){for(var t,s="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)s=e.pop()[1]+s;return s},t.spacesAndCommentsFromStart=function(e){for(var t,s="";e.length&&("space"===(t=e[0][0])||"comment"===t);)s+=e.shift()[1];return s},t.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},t.stringFrom=function(e,t){for(var s="",r=t;r<e.length;r++)s+=e[r][1];return e.splice(t,e.length-t),s},t.colon=function(e){for(var t,s,r,i=0,n=0;n<e.length;n++){if("("===(s=(t=e[n])[0])&&(i+=1),")"===s&&(i-=1),0===i&&":"===s){if(r){if("word"===r[0]&&"progid"===r[1])continue;return n}this.doubleColon(t)}r=t}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(!1!==t){for(var s,r=0,i=t-1;i>=0&&("space"===(s=e[i])[0]||2!==(r+=1));i--);throw this.input.error("Missed semicolon",s[2],s[3])}},e}();e.default=u,t.exports=e.default}}),gr=o({"node_modules/postcss-less/lib/nodes/inline-comment.js"(e,t){p();var s=rr(),r=Ys();t.exports={isInlineComment(e){if("word"===e[0]&&"//"===e[1].slice(0,2)){let t,i=e,n=[];for(;e;){if(/\r?\n/.test(e[1])){if(/['"].*\r?\n/.test(e[1])){n.push(e[1].substring(0,e[1].indexOf("\n")));let t=e[1].substring(e[1].indexOf("\n"));t+=this.input.css.valueOf().substring(this.tokenizer.position()),this.input=new r(t),this.tokenizer=s(this.input)}else this.tokenizer.back(e);break}n.push(e[1]),t=e,e=this.tokenizer.nextToken({ignoreUnclosed:!0})}let a=["comment",n.join(""),i[2],i[3],t[2],t[3]];return this.inlineComment(a),!0}if("/"===e[1]){let s=this.tokenizer.nextToken({ignoreUnclosed:!0});if("comment"===s[0]&&/^\/\*/.test(s[1]))return s[0]="word",s[1]=s[1].slice(1),e[1]="//",this.tokenizer.back(s),t.exports.isInlineComment.bind(this)(e)}return!1}}}}),xr=o({"node_modules/postcss-less/lib/nodes/interpolation.js"(e,t){p(),t.exports={interpolation(e){let t=e,s=[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]);)s.push(e),e=this.tokenizer.nextToken();let i=s.map((e=>e[1]));[t]=s;let n=s.pop(),a=[t[2],t[3]],o=[n[4]||n[2],n[5]||n[3]],c=["word",i.join("")].concat(a,o);return this.tokenizer.back(e),this.tokenizer.back(c),!0}}}}),vr=o({"node_modules/postcss-less/lib/nodes/mixin.js"(e,t){p();var s=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,r=/\.[0-9]/,i=e=>{let[,t]=e,[i]=t;return("."===i||"#"===i)&&!1===s.test(t)&&!1===r.test(t)};t.exports={isMixinToken:i}}}),br=o({"node_modules/postcss-less/lib/nodes/import.js"(e,t){p();var s=rr(),r=/^url\((.+)\)/;t.exports=e=>{let{name:t,params:i=""}=e;if("import"===t&&i.length){e.import=!0;let t=s({css:i});for(e.filename=i.replace(r,"$1");!t.endOfFile();){let[s,r]=t.nextToken();if("word"===s&&"url"===r)return;if("brackets"===s){e.options=r,e.filename=i.replace(r,"").trim();break}}}}}}),Er=o({"node_modules/postcss-less/lib/nodes/variable.js"(e,t){p();var s=/:$/,r=/^:(\s+)?/;t.exports=e=>{let{name:t,params:i=""}=e;if(":"===e.name.slice(-1)){if(s.test(t)){let[r]=t.match(s);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}}}}}),Cr=o({"node_modules/postcss-less/lib/LessParser.js"(e,t){p();var s=tr(),r=yr(),{isInlineComment:i}=gr(),{interpolation:n}=xr(),{isMixinToken:a}=vr(),o=br(),c=Er(),u=/(!\s*important)$/i;t.exports=class extends r{constructor(){super(...arguments),this.lastNode=null}atrule(e){n.bind(this)(e)||(super.atrule(e),o(this.lastNode),c(this.lastNode))}decl(){super.decl(...arguments),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(e){e[0][1]=" ".concat(e[0][1]);let t=e.findIndex((e=>"("===e[0])),s=e.reverse().find((e=>")"===e[0])),r=e.reverse().indexOf(s),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,s){super.init(e,t,s),this.lastNode=e}inlineComment(e){let t=new s,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,s=t[1].slice(0,1),r=e.findIndex((e=>"brackets"===e[0])),i=e.findIndex((e=>"("===e[0])),n="";if((r<0||r>3)&&i>0){let t=e.reduce(((e,t,s)=>")"===t[0]?s:e)),s=e.slice(i,t+i).map((e=>e[1])).join(""),[r]=e.slice(i),n=[r[2],r[3]],[a]=e.slice(t,t+1),o=[a[2],a[3]],c=["brackets",s].concat(n,o),u=e.slice(0,i),l=e.slice(t+1);(e=u).push(c),e=e.concat(l)}let a=[];for(let t of e)if(("!"===t[1]||a.length)&&a.push(t),"important"===t[1])break;if(a.length){let[t]=a,s=e.indexOf(t),r=a[a.length-1],i=[t[2],t[3]],n=[r[4],r[5]],o=["word",a.map((e=>e[1])).join("")].concat(i,n);e.splice(s,a.length,o)}let o=e.findIndex((e=>u.test(e[1])));o>0&&([,n]=e[o],e.splice(o,1));for(let t of e.reverse())this.tokenizer.back(t);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=s,n&&(this.lastNode.important=!0,this.lastNode.raws.important=n)}other(e){i.bind(this)(e)||super.other(e)}rule(e){let t=e[e.length-1],s=e[e.length-2];if("at-word"===s[0]&&"{"===t[0]&&(this.tokenizer.back(t),n.bind(this)(s))){let t=this.tokenizer.nextToken();e=e.slice(0,e.length-2).concat([t]);for(let t of e.reverse())this.tokenizer.back(t)}else super.rule(e),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(e){let[t]=e;"each"!==e[0][1]||"("!==e[1][0]?a(t)?this.mixin(e):super.unknownWord(e):this.each(e)}}}}),Ar=o({"node_modules/postcss-less/lib/LessStringifier.js"(e,t){p();var s=Qs();t.exports=class extends s{atrule(e,t){if(!e.mixin&&!e.variable&&!e.function)return void super.atrule(e,t);let s=e.function?"":e.raws.identifier||"@",r="".concat(s).concat(e.name),i=e.params?this.rawValue(e,"params"):"",n=e.raws.important||"";if(e.variable&&(i=e.value),typeof e.raws.afterName<"u"?r+=e.raws.afterName:i&&(r+=" "),e.nodes)this.block(e,r+i+n);else{let s=(e.raws.between||"")+n+(t?";":"");this.builder(r+i+s,e)}}comment(e){if(e.inline){let t=this.raw(e,"left","commentLeft"),s=this.raw(e,"right","commentRight");this.builder("//".concat(t).concat(e.text).concat(s),e)}else super.comment(e)}}}}),wr=o({"node_modules/postcss-less/lib/index.js"(e,t){p();var s=Ys(),r=Cr(),i=Ar();t.exports={parse(e,t){let i=new s(e,t),n=new r(i);return n.parse(),n.root},stringify(e,t){new i(t).stringify(e)},nodeToString(e){let s="";return t.exports.stringify(e,(e=>{s+=e})),s}}}}),Dr=o({"node_modules/postcss-scss/lib/scss-stringifier.js"(e,t){function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}p();var r=function(e){function t(){return e.apply(this,arguments)||this}s(t,e);var r=t.prototype;return r.comment=function(e){var t=this.raw(e,"left","commentLeft"),s=this.raw(e,"right","commentRight");if(e.raws.inline){var r=e.raws.text||e.text;this.builder("//"+t+r+s,e)}else this.builder("/*"+t+e.text+s+"*/",e)},r.decl=function(t,s){if(t.isNested){var r,i=this.raw(t,"between","colon"),n=t.prop+i+this.rawValue(t,"value");t.important&&(n+=t.raws.important||" !important"),this.builder(n+"{",t,"start"),t.nodes&&t.nodes.length?(this.body(t),r=this.raw(t,"after")):r=this.raw(t,"after","emptyBody"),r&&this.builder(r),this.builder("}",t,"end")}else e.prototype.decl.call(this,t,s)},r.rawValue=function(e,t){var s=e[t],r=e.raws[t];return r&&r.value===s?r.scss?r.scss:r.raw:s},t}(Qs());t.exports=r}}),Tr=o({"node_modules/postcss-scss/lib/scss-stringify.js"(e,t){p();var s=Dr();t.exports=function(e,t){new s(t).stringify(e)}}}),Pr=o({"node_modules/postcss-scss/lib/nested-declaration.js"(e,t){function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}p();var r=function(e){function t(t){var s;return(s=e.call(this,t)||this).type="decl",s.isNested=!0,s.nodes||(s.nodes=[]),s}return s(t,e),t}(or());t.exports=r}}),Sr=o({"node_modules/postcss-scss/lib/scss-tokenize.js"(e,t){p();var s="'".charCodeAt(0),r='"'.charCodeAt(0),i="\\".charCodeAt(0),n="/".charCodeAt(0),a="\n".charCodeAt(0),o=" ".charCodeAt(0),c="\f".charCodeAt(0),u="\t".charCodeAt(0),l="\r".charCodeAt(0),h="[".charCodeAt(0),d="]".charCodeAt(0),m="(".charCodeAt(0),f=")".charCodeAt(0),y="{".charCodeAt(0),g="}".charCodeAt(0),x=";".charCodeAt(0),v="*".charCodeAt(0),b=":".charCodeAt(0),E="@".charCodeAt(0),C=",".charCodeAt(0),A="#".charCodeAt(0),w=/[ \n\t\r\f{}()'"\\;/[\]#]/g,D=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,T=/.[\\/("'\n]/,P=/[a-f0-9]/i,S=/[\r\f\n]/g;t.exports=function(e,t){void 0===t&&(t={});var p,k,N,F,I,_,O,j,B,L,M,R,U,q,z=e.css.valueOf(),$=t.ignoreErrors,H=z.length,V=-1,G=1,W=0,J=[],X=[];function K(t){throw e.error("Unclosed "+t,G,W-V)}function Y(){return 0===X.length&&W>=H}function Q(){for(var e=1,t=!1,n=!1;e>0;)k+=1,z.length<=k&&K("interpolation"),p=z.charCodeAt(k),R=z.charCodeAt(k+1),t?n||p!==t?p===i?n=!L:n&&(n=!1):(t=!1,n=!1):p===s||p===r?t=p:p===g?e-=1:p===A&&R===y&&(e+=1)}function Z(){if(X.length)return X.pop();if(!(W>=H)){switch(((p=z.charCodeAt(W))===a||p===c||p===l&&z.charCodeAt(W+1)!==a)&&(V=W,G+=1),p){case a:case o:case u:case l:case c:k=W;do{k+=1,(p=z.charCodeAt(k))===a&&(V=k,G+=1)}while(p===o||p===a||p===u||p===l||p===c);U=["space",z.slice(W,k)],W=k-1;break;case h:U=["[","[",G,W-V];break;case d:U=["]","]",G,W-V];break;case y:U=["{","{",G,W-V];break;case g:U=["}","}",G,W-V];break;case C:U=["word",",",G,W-V,G,W-V+1];break;case b:U=[":",":",G,W-V];break;case x:U=[";",";",G,W-V];break;case m:if(M=J.length?J.pop()[1]:"",R=z.charCodeAt(W+1),"url"===M&&R!==s&&R!==r){for(q=1,L=!1,k=W+1;k<=z.length-1;){if((R=z.charCodeAt(k))===i)L=!L;else if(R===m)q+=1;else if(R===f&&0==(q-=1))break;k+=1}_=z.slice(W,k+1),F=_.split("\n"),(I=F.length-1)>0?(j=G+I,B=k-F[I].length):(j=G,B=V),U=["brackets",_,G,W-V,j,k-B],V=B,G=j,W=k}else k=z.indexOf(")",W+1),_=z.slice(W,k+1),-1===k||T.test(_)?U=["(","(",G,W-V]:(U=["brackets",_,G,W-V,G,k-V],W=k);break;case f:U=[")",")",G,W-V];break;case s:case r:for(N=p,k=W,L=!1;k<H&&(++k===H&&K("string"),p=z.charCodeAt(k),R=z.charCodeAt(k+1),L||p!==N);)p===i?L=!L:L?L=!1:p===A&&R===y&&Q();_=z.slice(W,k+1),F=_.split("\n"),(I=F.length-1)>0?(j=G+I,B=k-F[I].length):(j=G,B=V),U=["string",z.slice(W,k+1),G,W-V,j,k-B],V=B,G=j,W=k;break;case E:w.lastIndex=W+1,w.test(z),k=0===w.lastIndex?z.length-1:w.lastIndex-2,U=["at-word",z.slice(W,k+1),G,W-V,G,k-V],W=k;break;case i:for(k=W,O=!0;z.charCodeAt(k+1)===i;)k+=1,O=!O;if(p=z.charCodeAt(k+1),O&&p!==n&&p!==o&&p!==a&&p!==u&&p!==l&&p!==c&&(k+=1,P.test(z.charAt(k)))){for(;P.test(z.charAt(k+1));)k+=1;z.charCodeAt(k+1)===o&&(k+=1)}U=["word",z.slice(W,k+1),G,W-V,G,k-V],W=k;break;default:R=z.charCodeAt(W+1),p===A&&R===y?(k=W,Q(),_=z.slice(W,k+1),F=_.split("\n"),(I=F.length-1)>0?(j=G+I,B=k-F[I].length):(j=G,B=V),U=["word",_,G,W-V,j,k-B],V=B,G=j,W=k):p===n&&R===v?(0===(k=z.indexOf("*/",W+2)+1)&&($?k=z.length:K("comment")),_=z.slice(W,k+1),F=_.split("\n"),(I=F.length-1)>0?(j=G+I,B=k-F[I].length):(j=G,B=V),U=["comment",_,G,W-V,j,k-B],V=B,G=j,W=k):p===n&&R===n?(S.lastIndex=W+1,S.test(z),k=0===S.lastIndex?z.length-1:S.lastIndex-2,_=z.slice(W,k+1),U=["comment",_,G,W-V,G,k-V,"inline"],W=k):(D.lastIndex=W+1,D.test(z),k=0===D.lastIndex?z.length-1:D.lastIndex-2,U=["word",z.slice(W,k+1),G,W-V,G,k-V],J.push(U),W=k)}return W++,U}}function ee(e){X.push(e)}return{back:ee,nextToken:Z,endOfFile:Y}}}}),kr=o({"node_modules/postcss-scss/lib/scss-parser.js"(e,t){function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}p();var r=tr(),i=yr(),n=Pr(),a=Sr(),o=function(e){function t(){return e.apply(this,arguments)||this}s(t,e);var i=t.prototype;return i.createTokenizer=function(){this.tokenizer=a(this.input)},i.rule=function(t){var s=!1,r=0,i="",a=t,o=Array.isArray(a),c=0;for(a=o?a:a[Symbol.iterator]();;){var u;if(o){if(c>=a.length)break;u=a[c++]}else{if((c=a.next()).done)break;u=c.value}var l=u;if(s)"comment"!==l[0]&&"{"!==l[0]&&(i+=l[1]);else{if("space"===l[0]&&-1!==l[1].indexOf("\n"))break;"("===l[0]?r+=1:")"===l[0]?r-=1:0===r&&":"===l[0]&&(s=!0)}}if(!s||""===i.trim()||/^[a-zA-Z-:#]/.test(i))e.prototype.rule.call(this,t);else{t.pop();var p=new n;this.init(p);var h,d=t[t.length-1];for(d[4]?p.source.end={line:d[4],column:d[5]}:p.source.end={line:d[2],column:d[3]};"word"!==t[0][0];)p.raws.before+=t.shift()[1];for(p.source.start={line:t[0][2],column:t[0][3]},p.prop="";t.length;){var m=t[0][0];if(":"===m||"space"===m||"comment"===m)break;p.prop+=t.shift()[1]}for(p.raws.between="";t.length;){if(":"===(h=t.shift())[0]){p.raws.between+=h[1];break}p.raws.between+=h[1]}("_"===p.prop[0]||"*"===p.prop[0])&&(p.raws.before+=p.prop[0],p.prop=p.prop.slice(1)),p.raws.between+=this.spacesAndCommentsFromStart(t),this.precheckMissedSemicolon(t);for(var f=t.length-1;f>0;f--){if("!important"===(h=t[f])[1]){p.important=!0;var y=this.stringFrom(t,f);" !important"!==(y=this.spacesFromEnd(t)+y)&&(p.raws.important=y);break}if("important"===h[1]){for(var g=t.slice(0),x="",v=f;v>0;v--){var b=g[v][0];if(0===x.trim().indexOf("!")&&"space"!==b)break;x=g.pop()[1]+x}0===x.trim().indexOf("!")&&(p.important=!0,p.raws.important=x,t=g)}if("space"!==h[0]&&"comment"!==h[0])break}this.raw(p,"value",t),-1!==p.value.indexOf(":")&&this.checkMissedSemicolon(t),this.current=p}},i.comment=function(t){if("inline"===t[6]){var s=new r;this.init(s,t[2],t[3]),s.raws.inline=!0,s.source.end={line:t[4],column:t[5]};var i=t[1].slice(2);if(/^\s*$/.test(i))s.text="",s.raws.left=i,s.raws.right="";else{var n=i.match(/^(\s*)([^]*[^\s])(\s*)$/),a=n[2].replace(/(\*\/|\/\*)/g,"*//*");s.text=a,s.raws.left=n[1],s.raws.right=n[3],s.raws.text=n[2]}}else e.prototype.comment.call(this,t)},i.raw=function(t,s,r){if(e.prototype.raw.call(this,t,s,r),t.raws[s]){var i=t.raws[s].raw;t.raws[s].raw=r.reduce((function(e,t){return"comment"===t[0]&&"inline"===t[6]?e+"/*"+t[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*")+"*/":e+t[1]}),""),i!==t.raws[s].raw&&(t.raws[s].scss=i)}},t}(i);t.exports=o}}),Nr=o({"node_modules/postcss-scss/lib/scss-parse.js"(e,t){p();var s=Ys(),r=kr();t.exports=function(e,t){var i=new s(e,t),n=new r(i);return n.parse(),n.root}}}),Fr=o({"node_modules/postcss-scss/lib/scss-syntax.js"(e,t){p();var s=Tr(),r=Nr();t.exports={parse:r,stringify:s}}});p();var Ir=h(),_r=d(),Or=m(),{hasPragma:jr}=q(),{locStart:Br,locEnd:Lr}=H(),{calculateLoc:Mr,replaceQuotesInInlineComments:Rr}=H(),Ur=G(),qr=W(),zr=J(),$r=X(),Hr=K(),Vr=Y(),Gr=Q(),Wr=Z(),Jr=e=>{for(;e.parent;)e=e.parent;return e};function Xr(e,t){let{nodes:s}=e,r={open:null,close:null,groups:[],type:"paren_group"},i=[r],n=r,a={groups:[],type:"comma_group"},o=[a];for(let n=0;n<s.length;++n){let c=s[n];if($r(t.parser,c.value)&&"number"===c.type&&".."===c.unit&&"."===_r(c.value)&&(c.value=c.value.slice(0,-1),c.unit="..."),"func"===c.type&&"selector"===c.value&&(c.group.groups=[ti(Jr(e).text.slice(c.group.open.sourceIndex+1,c.group.close.sourceIndex))]),"func"===c.type&&"url"===c.value){let e=c.group&&c.group.groups||[],t=[];for(let s=0;s<e.length;s++){let r=e[s];"comma_group"===r.type?t=[...t,...r.groups]:t.push(r)}if(Ur(t)||!qr(t)&&!Vr(t[0])){let e=Gr({groups:c.group.groups});c.group.groups=[e.trim()]}}if("paren"===c.type&&"("===c.value)r={open:c,close:null,groups:[],type:"paren_group"},i.push(r),a={groups:[],type:"comma_group"},o.push(a);else if("paren"===c.type&&")"===c.value){if(a.groups.length>0&&r.groups.push(a),r.close=c,1===o.length)throw new Error("Unbalanced parenthesis");o.pop(),a=_r(o),a.groups.push(r),i.pop(),r=_r(i)}else"comma"===c.type?(r.groups.push(a),a={groups:[],type:"comma_group"},o[o.length-1]=a):a.groups.push(c)}return a.groups.length>0&&r.groups.push(a),n}function Kr(e){return"paren_group"===e.type&&!e.open&&!e.close&&1===e.groups.length||"comma_group"===e.type&&1===e.groups.length?Kr(e.groups[0]):"paren_group"===e.type||"comma_group"===e.type?Object.assign(Object.assign({},e),{},{groups:e.groups.map(Kr)}):e}function Yr(e,t,s){if(e&&"object"==typeof e){delete e.parent;for(let r in e)Yr(e[r],t,s),"type"===r&&"string"==typeof e[r]&&!e[r].startsWith(t)&&(!s||!s.test(e[r]))&&(e[r]=t+e[r])}return e}function Qr(e){if(e&&"object"==typeof e){delete e.parent;for(let t in e)Qr(e[t]);!Array.isArray(e)&&e.value&&!e.type&&(e.type="unknown")}return e}function Zr(e,t){if(e&&"object"==typeof e){for(let s in e)"parent"!==s&&(Zr(e[s],t),"nodes"===s&&(e.group=Kr(Xr(e,t)),delete e[s]));delete e.parent}return e}function ei(e,t){let s=ss(),r=null;try{r=s(e,{loose:!0}).parse()}catch{return{type:"value-unknown",value:e}}return r.text=e,Yr(Zr(r,t),"value-",/^selector-/)}function ti(e){if(/\/\/|\/\*/.test(e))return{type:"selector-unknown",value:e.trim()};let t=As(),s=null;try{t((e=>{s=e})).process(e)}catch{return{type:"selector-unknown",value:e}}return Yr(s,"selector-")}function si(e){let t=Ps().default,s=null;try{s=t(e)}catch{return{type:"selector-unknown",value:e}}return Yr(Qr(s),"media-")}var ri=/(\s*)(!default).*$/,ii=/(\s*)(!global).*$/;function ni(e,t){if(e&&"object"==typeof e){delete e.parent;for(let s in e)ni(e[s],t);if(!e.type)return e;e.raws||(e.raws={});let s="";"string"==typeof e.selector&&(s=e.raws.selector?e.raws.selector.scss?e.raws.selector.scss:e.raws.selector.raw:e.selector,e.raws.between&&e.raws.between.trim().length>0&&(s+=e.raws.between),e.raws.selector=s);let r="";"string"==typeof e.value&&(r=e.raws.value?e.raws.value.scss?e.raws.value.scss:e.raws.value.raw:e.value,r=r.trim(),e.raws.value=r);let i="";if("string"==typeof e.params&&(i=e.raws.params?e.raws.params.scss?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),s.trim().length>0)return s.startsWith("@")&&s.endsWith(":")?e:e.mixin?(e.selector=ei(s,t),e):(Hr(e)&&(e.isSCSSNesterProperty=!0),e.selector=ti(s),e);if(r.length>0){let s=r.match(ri);s&&(r=r.slice(0,s.index),e.scssDefault=!0,"!default"!==s[0].trim()&&(e.raws.scssDefault=s[0]));let i=r.match(ii);if(i&&(r=r.slice(0,i.index),e.scssGlobal=!0,"!global"!==i[0].trim()&&(e.raws.scssGlobal=i[0])),r.startsWith("progid:"))return{type:"value-unknown",value:r};e.value=ei(r,t)}if(zr(t)&&"css-decl"===e.type&&r.startsWith("extend(")&&(e.extend||(e.extend=":"===e.raws.between),e.extend&&!e.selector&&(delete e.value,e.selector=ti(r.slice(7,-1)))),"css-atrule"===e.type){if(zr(t)){if(e.mixin){let t=e.raws.identifier+e.name+e.raws.afterName+e.raws.params;return e.selector=ti(t),delete e.params,e}if(e.function)return e}if("css"===t.parser&&"custom-selector"===e.name){let t=e.params.match(/:--\S+\s+/)[0].trim();return e.customSelector=t,e.selector=ti(e.params.slice(t.length).trim()),delete e.params,e}if(zr(t)){if(e.name.includes(":")&&!e.params){e.variable=!0;let s=e.name.split(":");e.name=s[0],e.value=ei(s.slice(1).join(":"),t)}if(!["page","nest","keyframes"].includes(e.name)&&e.params&&":"===e.params[0]&&(e.variable=!0,e.value=ei(e.params.slice(1),t),e.raws.afterName+=":"),e.variable)return delete e.params,e}}if("css-atrule"===e.type&&i.length>0){let{name:s}=e,r=e.name.toLowerCase();return"warn"===s||"error"===s?(e.params={type:"media-unknown",value:i},e):"extend"===s||"nest"===s?(e.selector=ti(i),delete e.params,e):"at-root"===s?(/^\(\s*(?:without|with)\s*:.+\)$/s.test(i)?e.params=ei(i,t):(e.selector=ti(i),delete e.params),e):Wr(r)?(e.import=!0,delete e.filename,e.params=ei(i,t),e):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(s)?(i=i.replace(/(\$\S+?)(\s+)?\.{3}/,"$1...$2"),i=i.replace(/^(?!if)(\S+)(\s+)\(/,"$1($2"),e.value=ei(i,t),delete e.params,e):["media","custom-media"].includes(r)?i.includes("#{")?{type:"media-unknown",value:i}:(e.params=si(i),e):(e.params=i,e)}}return e}function ai(e,t,s){let r,i=Or(t),{frontMatter:n}=i;t=i.content;try{r=e(t)}catch(e){let{name:t,reason:s,line:r,column:i}=e;throw"number"!=typeof r?e:Ir("".concat(t,": ").concat(s),{start:{line:r,column:i}})}return r=ni(Yr(r,"css-"),s),Mr(r,t),n&&(n.source={startOffset:0,endOffset:n.raw.length},r.nodes.unshift(n)),r}function oi(e,t){let s,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=$r(r.parser,e)?[ui,ci]:[ci,ui];for(let n of i)try{return n(e,t,r)}catch(e){s=s||e}if(s)throw s}function ci(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=wr();return ai((e=>r.parse(Rr(e))),e,s)}function ui(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{parse:r}=Fr();return ai(r,e,s)}var li={astFormat:"postcss",hasPragma:jr,locStart:Br,locEnd:Lr};t.exports={parsers:{css:Object.assign(Object.assign({},li),{},{parse:oi}),less:Object.assign(Object.assign({},li),{},{parse:ci}),scss:Object.assign(Object.assign({},li),{},{parse:ui})}}})),me())})),yd=ee(fd),gd=te((function(e,t){e.exports=function(){var e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),t=e(((e,t)=>{var s=function(e){return e&&e.Math==Math&&e};t.exports=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof Z&&Z)||function(){return this}()||Function("return this")()})),s=e(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),r=e(((e,t)=>{var r=s();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),i=e(((e,t)=>{var r=s();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),n=e(((e,t)=>{var s=i(),r=Function.prototype.call;t.exports=s?r.bind(r):function(){return r.apply(r,arguments)}})),a=e((e=>{var t={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,r=s&&!t.call({1:2},1);e.f=r?function(e){var t=s(this,e);return!!t&&t.enumerable}:t})),o=e(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),c=e(((e,t)=>{var s=i(),r=Function.prototype,n=r.bind,a=r.call,o=s&&n.bind(a,a);t.exports=s?function(e){return e&&o(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}})),u=e(((e,t)=>{var s=c(),r=s({}.toString),i=s("".slice);t.exports=function(e){return i(r(e),8,-1)}})),l=e(((e,r)=>{var i=t(),n=c(),a=s(),o=u(),l=i.Object,p=n("".split);r.exports=a((function(){return!l("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?p(e,""):l(e)}:l})),p=e(((e,s)=>{var r=t().TypeError;s.exports=function(e){if(null==e)throw r("Can't call method on "+e);return e}})),h=e(((e,t)=>{var s=l(),r=p();t.exports=function(e){return s(r(e))}})),d=e(((e,t)=>{t.exports=function(e){return"function"==typeof e}})),m=e(((e,t)=>{var s=d();t.exports=function(e){return"object"==typeof e?null!==e:s(e)}})),f=e(((e,s)=>{var r=t(),i=d(),n=function(e){return i(e)?e:void 0};s.exports=function(e,t){return arguments.length<2?n(r[e]):r[e]&&r[e][t]}})),y=e(((e,t)=>{var s=c();t.exports=s({}.isPrototypeOf)})),g=e(((e,t)=>{var s=f();t.exports=s("navigator","userAgent")||""})),x=e(((e,s)=>{var r,i,n=t(),a=g(),o=n.process,c=n.Deno,u=o&&o.versions||c&&c.version,l=u&&u.v8;l&&(i=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),s.exports=i})),v=e(((e,t)=>{var r=x(),i=s();t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),b=e(((e,t)=>{var s=v();t.exports=s&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),E=e(((e,s)=>{var r=t(),i=f(),n=d(),a=y(),o=b(),c=r.Object;s.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return n(t)&&a(t.prototype,c(e))}})),C=e(((e,s)=>{var r=t().String;s.exports=function(e){try{return r(e)}catch{return"Object"}}})),A=e(((e,s)=>{var r=t(),i=d(),n=C(),a=r.TypeError;s.exports=function(e){if(i(e))return e;throw a(n(e)+" is not a function")}})),w=e(((e,t)=>{var s=A();t.exports=function(e,t){var r=e[t];return null==r?void 0:s(r)}})),D=e(((e,s)=>{var r=t(),i=n(),a=d(),o=m(),c=r.TypeError;s.exports=function(e,t){var s,r;if("string"===t&&a(s=e.toString)&&!o(r=i(s,e))||a(s=e.valueOf)&&!o(r=i(s,e))||"string"!==t&&a(s=e.toString)&&!o(r=i(s,e)))return r;throw c("Can't convert object to primitive value")}})),T=e(((e,t)=>{t.exports=!1})),P=e(((e,s)=>{var r=t(),i=Object.defineProperty;s.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch{r[e]=t}return t}})),S=e(((e,s)=>{var r=t(),i=P(),n="__core-js_shared__",a=r[n]||i(n,{});s.exports=a})),k=e(((e,t)=>{var s=T(),r=S();(t.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.2",mode:s?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})})),N=e(((e,s)=>{var r=t(),i=p(),n=r.Object;s.exports=function(e){return n(i(e))}})),F=e(((e,t)=>{var s=c(),r=N(),i=s({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(r(e),t)}})),I=e(((e,t)=>{var s=c(),r=0,i=Math.random(),n=s(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+n(++r+i,36)}})),_=e(((e,s)=>{var r=t(),i=k(),n=F(),a=I(),o=v(),c=b(),u=i("wks"),l=r.Symbol,p=l&&l.for,h=c?l:l&&l.withoutSetter||a;s.exports=function(e){if(!n(u,e)||!o&&"string"!=typeof u[e]){var t="Symbol."+e;o&&n(l,e)?u[e]=l[e]:u[e]=c&&p?p(t):h(t)}return u[e]}})),O=e(((e,s)=>{var r=t(),i=n(),a=m(),o=E(),c=w(),u=D(),l=_(),p=r.TypeError,h=l("toPrimitive");s.exports=function(e,t){if(!a(e)||o(e))return e;var s,r=c(e,h);if(r){if(void 0===t&&(t="default"),s=i(r,e,t),!a(s)||o(s))return s;throw p("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}})),j=e(((e,t)=>{var s=O(),r=E();t.exports=function(e){var t=s(e,"string");return r(t)?t:t+""}})),B=e(((e,s)=>{var r=t(),i=m(),n=r.document,a=i(n)&&i(n.createElement);s.exports=function(e){return a?n.createElement(e):{}}})),L=e(((e,t)=>{var i=r(),n=s(),a=B();t.exports=!i&&!n((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))})),M=e((e=>{var t=r(),s=n(),i=a(),c=o(),u=h(),l=j(),p=F(),d=L(),m=Object.getOwnPropertyDescriptor;e.f=t?m:function(e,t){if(e=u(e),t=l(t),d)try{return m(e,t)}catch{}if(p(e,t))return c(!s(i.f,e,t),e[t])}})),R=e(((e,t)=>{var i=r(),n=s();t.exports=i&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),U=e(((e,s)=>{var r=t(),i=m(),n=r.String,a=r.TypeError;s.exports=function(e){if(i(e))return e;throw a(n(e)+" is not an object")}})),q=e((e=>{var s=t(),i=r(),n=L(),a=R(),o=U(),c=j(),u=s.TypeError,l=Object.defineProperty,p=Object.getOwnPropertyDescriptor,h="enumerable",d="configurable",m="writable";e.f=i?a?function(e,t,s){if(o(e),t=c(t),o(s),"function"==typeof e&&"prototype"===t&&"value"in s&&m in s&&!s[m]){var r=p(e,t);r&&r[m]&&(e[t]=s.value,s={configurable:d in s?s[d]:r[d],enumerable:h in s?s[h]:r[h],writable:!1})}return l(e,t,s)}:l:function(e,t,s){if(o(e),t=c(t),o(s),n)try{return l(e,t,s)}catch{}if("get"in s||"set"in s)throw u("Accessors not supported");return"value"in s&&(e[t]=s.value),e}})),z=e(((e,t)=>{var s=r(),i=q(),n=o();t.exports=s?function(e,t,s){return i.f(e,t,n(1,s))}:function(e,t,s){return e[t]=s,e}})),$=e(((e,t)=>{var s=c(),r=d(),i=S(),n=s(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return n(e)}),t.exports=i.inspectSource})),H=e(((e,s)=>{var r=t(),i=d(),n=$(),a=r.WeakMap;s.exports=i(a)&&/native code/.test(n(a))})),V=e(((e,t)=>{var s=k(),r=I(),i=s("keys");t.exports=function(e){return i[e]||(i[e]=r(e))}})),G=e(((e,t)=>{t.exports={}})),W=e(((e,s)=>{var r,i,n,a,o,u,l,p,h=H(),d=t(),f=c(),y=m(),g=z(),x=F(),v=S(),b=V(),E=G(),C="Object already initialized",A=d.TypeError,w=d.WeakMap,D=function(e){return n(e)?i(e):r(e,{})},T=function(e){return function(t){var s;if(!y(t)||(s=i(t)).type!==e)throw A("Incompatible receiver, "+e+" required");return s}};h||v.state?(a=v.state||(v.state=new w),o=f(a.get),u=f(a.has),l=f(a.set),r=function(e,t){if(u(a,e))throw new A(C);return t.facade=e,l(a,e,t),t},i=function(e){return o(a,e)||{}},n=function(e){return u(a,e)}):(E[p=b("state")]=!0,r=function(e,t){if(x(e,p))throw new A(C);return t.facade=e,g(e,p,t),t},i=function(e){return x(e,p)?e[p]:{}},n=function(e){return x(e,p)}),s.exports={set:r,get:i,has:n,enforce:D,getterFor:T}})),J=e(((e,t)=>{var s=r(),i=F(),n=Function.prototype,a=s&&Object.getOwnPropertyDescriptor,o=i(n,"name"),c=o&&"something"===function(){}.name,u=o&&(!s||s&&a(n,"name").configurable);t.exports={EXISTS:o,PROPER:c,CONFIGURABLE:u}})),X=e(((e,s)=>{var r=t(),i=d(),n=F(),a=z(),o=P(),c=$(),u=W(),l=J().CONFIGURABLE,p=u.get,h=u.enforce,m=String(String).split("String");(s.exports=function(e,t,s,c){var u,p=!!c&&!!c.unsafe,d=!!c&&!!c.enumerable,f=!!c&&!!c.noTargetGet,y=c&&void 0!==c.name?c.name:t;i(s)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!n(s,"name")||l&&s.name!==y)&&a(s,"name",y),(u=h(s)).source||(u.source=m.join("string"==typeof y?y:""))),e!==r?(p?!f&&e[t]&&(d=!0):delete e[t],d?e[t]=s:a(e,t,s)):d?e[t]=s:o(t,s)})(Function.prototype,"toString",(function(){return i(this)&&p(this).source||c(this)}))})),K=e(((e,t)=>{var s=Math.ceil,r=Math.floor;t.exports=function(e){var t=+e;return t!=t||0===t?0:(t>0?r:s)(t)}})),Y=e(((e,t)=>{var s=K(),r=Math.max,i=Math.min;t.exports=function(e,t){var n=s(e);return n<0?r(n+t,0):i(n,t)}})),Q=e(((e,t)=>{var s=K(),r=Math.min;t.exports=function(e){return e>0?r(s(e),9007199254740991):0}})),ee=e(((e,t)=>{var s=Q();t.exports=function(e){return s(e.length)}})),te=e(((e,t)=>{var s=h(),r=Y(),i=ee(),n=function(e){return function(t,n,a){var o,c=s(t),u=i(c),l=r(a,u);if(e&&n!=n){for(;u>l;)if((o=c[l++])!=o)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};t.exports={includes:n(!0),indexOf:n(!1)}})),se=e(((e,t)=>{var s=c(),r=F(),i=h(),n=te().indexOf,a=G(),o=s([].push);t.exports=function(e,t){var s,c=i(e),u=0,l=[];for(s in c)!r(a,s)&&r(c,s)&&o(l,s);for(;t.length>u;)r(c,s=t[u++])&&(~n(l,s)||o(l,s));return l}})),re=e(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),ie=e((e=>{var t=se(),s=re().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,s)}})),ne=e((e=>{e.f=Object.getOwnPropertySymbols})),ae=e(((e,t)=>{var s=f(),r=c(),i=ie(),n=ne(),a=U(),o=r([].concat);t.exports=s("Reflect","ownKeys")||function(e){var t=i.f(a(e)),s=n.f;return s?o(t,s(e)):t}})),oe=e(((e,t)=>{var s=F(),r=ae(),i=M(),n=q();t.exports=function(e,t,a){for(var o=r(t),c=n.f,u=i.f,l=0;l<o.length;l++){var p=o[l];!s(e,p)&&(!a||!s(a,p))&&c(e,p,u(t,p))}}})),ce=e(((e,t)=>{var r=s(),i=d(),n=/#|\.prototype\./,a=function(e,t){var s=c[o(e)];return s==l||s!=u&&(i(t)?r(t):!!t)},o=a.normalize=function(e){return String(e).replace(n,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a})),ue=e(((e,s)=>{var r=t(),i=M().f,n=z(),a=X(),o=P(),c=oe(),u=ce();s.exports=function(e,t){var s,l,p,h,d,m=e.target,f=e.global,y=e.stat;if(s=f?r:y?r[m]||o(m,{}):(r[m]||{}).prototype)for(l in t){if(h=t[l],p=e.noTargetGet?(d=i(s,l))&&d.value:s[l],!u(f?l:m+(y?".":"#")+l,e.forced)&&void 0!==p){if(typeof h==typeof p)continue;c(h,p)}(e.sham||p&&p.sham)&&n(h,"sham",!0),a(s,l,h,e)}}})),le=e((()=>{ue()({global:!0},{globalThis:t()})})),pe=e((()=>{le()})),he=e(((e,t)=>{var s=u();t.exports=Array.isArray||function(e){return"Array"==s(e)}})),de=e(((e,t)=>{var s=c(),r=A(),n=i(),a=s(s.bind);t.exports=function(e,t){return r(e),void 0===t?e:n?a(e,t):function(){return e.apply(t,arguments)}}})),me=e(((e,s)=>{var r=t(),i=he(),n=ee(),a=de(),o=r.TypeError,c=function(e,t,s,r,u,l,p,h){for(var d,m,f=u,y=0,g=!!p&&a(p,h);y<r;){if(y in s){if(d=g?g(s[y],y,t):s[y],l>0&&i(d))m=n(d),f=c(e,t,d,m,f,l-1)-1;else{if(f>=9007199254740991)throw o("Exceed the acceptable array length");e[f]=d}f++}y++}return f};s.exports=c})),fe=e(((e,t)=>{var s={};s[_()("toStringTag")]="z",t.exports="[object z]"===String(s)})),ye=e(((e,s)=>{var r=t(),i=fe(),n=d(),a=u(),o=_()("toStringTag"),c=r.Object,l="Arguments"==a(function(){return arguments}()),p=function(e,t){try{return e[t]}catch{}};s.exports=i?a:function(e){var t,s,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(s=p(t=c(e),o))?s:l?a(t):"Object"==(r=a(t))&&n(t.callee)?"Arguments":r}})),ge=e(((e,t)=>{var r=c(),i=s(),n=d(),a=ye(),o=f(),u=$(),l=function(){},p=[],h=o("Reflect","construct"),m=/^\s*(?:class|function)\b/,y=r(m.exec),g=!m.exec(l),x=function(e){if(!n(e))return!1;try{return h(l,p,e),!0}catch{return!1}},v=function(e){if(!n(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return g||!!y(m,u(e))}catch{return!0}};v.sham=!0,t.exports=!h||i((function(){var e;return x(x.call)||!x(Object)||!x((function(){e=!0}))||e}))?v:x})),xe=e(((e,s)=>{var r=t(),i=he(),n=ge(),a=m(),o=_()("species"),c=r.Array;s.exports=function(e){var t;return i(e)&&(t=e.constructor,(n(t)&&(t===c||i(t.prototype))||a(t)&&null===(t=t[o]))&&(t=void 0)),void 0===t?c:t}})),ve=e(((e,t)=>{var s=xe();t.exports=function(e,t){return new(s(e))(0===t?0:t)}})),be=e((()=>{var e=ue(),t=me(),s=A(),r=N(),i=ee(),n=ve();e({target:"Array",proto:!0},{flatMap:function(e){var a,o=r(this),c=i(o);return s(e),(a=n(o,0)).length=t(a,o,o,c,0,1,e,arguments.length>1?arguments[1]:void 0),a}})})),Ee=e(((e,t)=>{t.exports={}})),Ce=e(((e,t)=>{var s=_(),r=Ee(),i=s("iterator"),n=Array.prototype;t.exports=function(e){return void 0!==e&&(r.Array===e||n[i]===e)}})),Ae=e(((e,t)=>{var s=ye(),r=w(),i=Ee(),n=_()("iterator");t.exports=function(e){if(null!=e)return r(e,n)||r(e,"@@iterator")||i[s(e)]}})),we=e(((e,s)=>{var r=t(),i=n(),a=A(),o=U(),c=C(),u=Ae(),l=r.TypeError;s.exports=function(e,t){var s=arguments.length<2?u(e):t;if(a(s))return o(i(s,e));throw l(c(e)+" is not iterable")}})),De=e(((e,t)=>{var s=n(),r=U(),i=w();t.exports=function(e,t,n){var a,o;r(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=s(a,e)}catch(e){o=!0,a=e}if("throw"===t)throw n;if(o)throw a;return r(a),n}})),Te=e(((e,s)=>{var r=t(),i=de(),a=n(),o=U(),c=C(),u=Ce(),l=ee(),p=y(),h=we(),d=Ae(),m=De(),f=r.TypeError,g=function(e,t){this.stopped=e,this.result=t},x=g.prototype;s.exports=function(e,t,s){var r,n,y,v,b,E,C,A=s&&s.that,w=!(!s||!s.AS_ENTRIES),D=!(!s||!s.IS_ITERATOR),T=!(!s||!s.INTERRUPTED),P=i(t,A),S=function(e){return r&&m(r,"normal",e),new g(!0,e)},k=function(e){return w?(o(e),T?P(e[0],e[1],S):P(e[0],e[1])):T?P(e,S):P(e)};if(D)r=e;else{if(!(n=d(e)))throw f(c(e)+" is not iterable");if(u(n)){for(y=0,v=l(e);v>y;y++)if((b=k(e[y]))&&p(x,b))return b;return new g(!1)}r=h(e,n)}for(E=r.next;!(C=a(E,r)).done;){try{b=k(C.value)}catch(e){m(r,"throw",e)}if("object"==typeof b&&b&&p(x,b))return b}return new g(!1)}})),Pe=e(((e,t)=>{var s=j(),r=q(),i=o();t.exports=function(e,t,n){var a=s(t);a in e?r.f(e,a,i(0,n)):e[a]=n}})),Se=e((()=>{var e=ue(),t=Te(),s=Pe();e({target:"Object",stat:!0},{fromEntries:function(e){var r={};return t(e,(function(e,t){s(r,e,t)}),{AS_ENTRIES:!0}),r}})})),ke=e(((e,t)=>{var s,r,i,n,a,o,c=["cliName","cliCategory","cliDescription"];function u(e,t){if(null==e)return{};var s,r,i=l(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)s=n[r],!(t.indexOf(s)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,s)||(i[s]=e[s]))}return i}function l(e,t){if(null==e)return{};var s,r,i={},n=Object.keys(e);for(r=0;r<n.length;r++)s=n[r],!(t.indexOf(s)>=0)&&(i[s]=e[s]);return i}function p(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}pe(),be(),Se();var h,d=Object.create,m=Object.defineProperty,f=Object.getOwnPropertyDescriptor,y=Object.getOwnPropertyNames,g=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty,v=(e,t)=>function(){return e&&(t=(0,e[y(e)[0]])(e=0)),t},b=(e,t)=>function(){return t||(0,e[y(e)[0]])((t={exports:{}}).exports,t),t.exports},E=(e,t)=>{for(var s in t)m(e,s,{get:t[s],enumerable:!0})},C=(e,t,s,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of y(t))!x.call(e,i)&&i!==s&&m(e,i,{get:()=>t[i],enumerable:!(r=f(t,i))||r.enumerable});return e},A=(e,t,s)=>(s=null!=e?d(g(e)):{},C(!t&&e&&e.__esModule?s:m(s,"default",{value:e,enumerable:!0}),e)),w=e=>C(m({},"__esModule",{value:!0}),e),D=v({"<define:process>"(){h={env:{},argv:[]}}}),T=b({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){function t(t){return t>=e.$TAB&&t<=e.$SPACE||t==e.$NBSP}function s(t){return e.$0<=t&&t<=e.$9}function r(t){return t>=e.$a&&t<=e.$z||t>=e.$A&&t<=e.$Z}function i(t){return t>=e.$a&&t<=e.$f||t>=e.$A&&t<=e.$F||s(t)}function n(t){return t===e.$LF||t===e.$CR}function a(t){return e.$0<=t&&t<=e.$7}D(),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,e.isWhitespace=t,e.isDigit=s,e.isAsciiLetter=r,e.isAsciiHexDigit=i,e.isNewLine=n,e.isOctalDigit=a}}),P=b({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(e,t,s){this.filePath=e,this.name=t,this.members=s}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}};e.StaticSymbol=t;var s=class{constructor(){this.cache=new Map}get(e,s,r){let i=(r=r||[]).length?".".concat(r.join(".")):"",n='"'.concat(e,'".').concat(s).concat(i),a=this.cache.get(n);return a||(a=new t(e,s,r),this.cache.set(n,a)),a}};e.StaticSymbolCache=s}}),S=b({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=/-+([a-z0-9])/g;function s(e){return e.replace(t,(function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];return t[1].toUpperCase()}))}function r(e,t){return n(e,":",t)}function i(e,t){return n(e,".",t)}function n(e,t,s){let r=e.indexOf(t);return-1==r?s:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function a(e,t,s){return Array.isArray(e)?t.visitArray(e,s):x(e)?t.visitStringMap(e,s):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,s):t.visitOther(e,s)}function o(e){return null!=e}function c(e){return void 0===e?null:e}e.dashCaseToCamelCase=s,e.splitAtColon=r,e.splitAtPeriod=i,e.visitValue=a,e.isDefined=o,e.noUndefined=c;var u=class{visitArray(e,t){return e.map((e=>a(e,this,t)))}visitStringMap(e,t){let s={};return Object.keys(e).forEach((r=>{s[r]=a(e[r],this,t)})),s}visitPrimitive(e,t){return e}visitOther(e,t){return e}};function l(e){throw new Error("Internal Error: ".concat(e))}function p(e,t){let s=Error(e);return s[h]=!0,t&&(s[d]=t),s}e.ValueTransformer=u,e.SyncAsync={assertSync:e=>{if(C(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>C(e)?e.then(t):t(e),all:e=>e.some(C)?Promise.all(e):e},e.error=l,e.syntaxError=p;var h="ngSyntaxError",d="ngParseErrors";function m(e){return e[h]}function f(e){return e[d]||[]}function y(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}e.isSyntaxError=m,e.getParseErrors=f,e.escapeRegExp=y;var g=Object.getPrototypeOf({});function x(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===g}function v(e){let t="";for(let s=0;s<e.length;s++){let r=e.charCodeAt(s);if(r>=55296&&r<=56319&&e.length>s+1){let t=e.charCodeAt(s+1);t>=56320&&t<=57343&&(s++,r=(r-55296<<10)+t-56320+65536)}r<=127?t+=String.fromCharCode(r):r<=2047?t+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?t+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(t+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128))}return t}function b(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(b).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);if(!e.toString)return"object";let t=e.toString();if(null==t)return""+t;let s=t.indexOf("\n");return-1===s?t:t.substring(0,s)}function E(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e}function C(e){return!!e&&"function"==typeof e.then}e.utf8Encode=v,e.stringify=b,e.resolveForwardRef=E,e.isPromise=C;var A=class{constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}};e.Version=A;var w=typeof window<"u"&&window,T=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,P=typeof globalThis<"u"&&globalThis||w||T;e.global=P}}),k=b({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=P(),s=S(),r=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function i(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=i;var n,a,o=0;function c(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 n=s.stringify(r);return n.indexOf("(")>=0?(n="anonymous_".concat(o++),r.__anonymousType=n):n=i(n),n}function u(e){let r=e.reference;return r instanceof t.StaticSymbol?r.filePath:"./".concat(s.stringify(r))}function l(e,t){return"View_".concat(c({reference:e}),"_").concat(t)}function p(e){return"RenderType_".concat(c({reference:e}))}function h(e){return"HostView_".concat(c({reference:e}))}function d(e){return"".concat(c({reference:e}),"NgFactory")}function m(e){return null!=e.value?i(e.value):c(e.identifier)}function f(e){return null!=e.identifier?e.identifier.reference:e.value}e.identifierName=c,e.identifierModuleUrl=u,e.viewClassName=l,e.rendererTypeName=p,e.hostViewClassName=h,e.componentFactoryName=d,(a=n=e.CompileSummaryKind||(e.CompileSummaryKind={}))[a.Pipe=0]="Pipe",a[a.Directive=1]="Directive",a[a.NgModule=2]="NgModule",a[a.Injectable=3]="Injectable",e.tokenName=m,e.tokenReference=f;var y=class{constructor(){let{moduleUrl:e,styles:t,styleUrls:s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.moduleUrl=e||null,this.styles=A(t),this.styleUrls=A(s)}};e.CompileStylesheetMetadata=y;var g=class{constructor(e){let{encapsulation:t,template:s,templateUrl:r,htmlAst:i,styles:n,styleUrls:a,externalStylesheets:o,animations:c,ngContentSelectors:u,interpolation:l,isInline:p,preserveWhitespaces:h}=e;if(this.encapsulation=t,this.template=s,this.templateUrl=r,this.htmlAst=i,this.styles=A(n),this.styleUrls=A(a),this.externalStylesheets=A(o),this.animations=c?T(c):[],this.ngContentSelectors=u||[],l&&2!=l.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=l,this.isInline=p,this.preserveWhitespaces=h}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};e.CompileTemplateMetadata=g;var x=class{static create(e){let{isHost:t,type:i,isComponent:n,selector:a,exportAs:o,changeDetection:c,inputs:u,outputs:l,host:p,providers:h,viewProviders:d,queries:m,guards:f,viewQueries:y,entryComponents:g,template:v,componentViewType:b,rendererType:E,componentFactory:C}=e,A={},w={},D={};null!=p&&Object.keys(p).forEach((e=>{let t=p[e],s=e.match(r);null===s?D[e]=t:null!=s[1]?w[s[1]]=t:null!=s[2]&&(A[s[2]]=t)}));let T={};null!=u&&u.forEach((e=>{let t=s.splitAtColon(e,[e,e]);T[t[0]]=t[1]}));let P={};return null!=l&&l.forEach((e=>{let t=s.splitAtColon(e,[e,e]);P[t[0]]=t[1]})),new x({isHost:t,type:i,isComponent:!!n,selector:a,exportAs:o,changeDetection:c,inputs:T,outputs:P,hostListeners:A,hostProperties:w,hostAttributes:D,providers:h,viewProviders:d,queries:m,guards:f,viewQueries:y,entryComponents:g,template:v,componentViewType:b,rendererType:E,componentFactory:C})}constructor(e){let{isHost:t,type:s,isComponent:r,selector:i,exportAs:n,changeDetection:a,inputs:o,outputs:c,hostListeners:u,hostProperties:l,hostAttributes:p,providers:h,viewProviders:d,queries:m,guards:f,viewQueries:y,entryComponents:g,template:x,componentViewType:v,rendererType:b,componentFactory:E}=e;this.isHost=!!t,this.type=s,this.isComponent=r,this.selector=i,this.exportAs=n,this.changeDetection=a,this.inputs=o,this.outputs=c,this.hostListeners=u,this.hostProperties=l,this.hostAttributes=p,this.providers=A(h),this.viewProviders=A(d),this.queries=A(m),this.guards=f,this.viewQueries=A(y),this.entryComponents=A(g),this.template=x,this.componentViewType=v,this.rendererType=b,this.componentFactory=E}toSummary(){return{summaryKind:n.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=x;var v=class{constructor(e){let{type:t,name:s,pure:r}=e;this.type=t,this.name=s,this.pure=!!r}toSummary(){return{summaryKind:n.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompilePipeMetadata=v;var b=class{};e.CompileShallowModuleMetadata=b;var E=class{constructor(e){let{type:t,providers:s,declaredDirectives:r,exportedDirectives:i,declaredPipes:n,exportedPipes:a,entryComponents:o,bootstrapComponents:c,importedModules:u,exportedModules:l,schemas:p,transitiveModule:h,id:d}=e;this.type=t||null,this.declaredDirectives=A(r),this.exportedDirectives=A(i),this.declaredPipes=A(n),this.exportedPipes=A(a),this.providers=A(s),this.entryComponents=A(o),this.bootstrapComponents=A(c),this.importedModules=A(u),this.exportedModules=A(l),this.schemas=A(p),this.id=d||null,this.transitiveModule=h||null}toSummary(){let e=this.transitiveModule;return{summaryKind:n.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}};e.CompileNgModuleMetadata=E;var C=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 A(e){return e||[]}e.TransitiveCompileNgModuleMetadata=C;var w=class{constructor(e,t){let{useClass:s,useValue:r,useExisting:i,useFactory:n,deps:a,multi:o}=t;this.token=e,this.useClass=s||null,this.useValue=r,this.useExisting=i,this.useFactory=n||null,this.dependencies=a||null,this.multi=!!o}};function T(e){return e.reduce(((e,t)=>{let s=Array.isArray(t)?T(t):t;return e.concat(s)}),[])}function k(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function N(e,s,r){let i;return i=r.isInline?s.type.reference instanceof t.StaticSymbol?"".concat(s.type.reference.filePath,".").concat(s.type.reference.name,".html"):"".concat(c(e),"/").concat(c(s.type),".html"):r.templateUrl,s.type.reference instanceof t.StaticSymbol?i:k(i)}function F(e,t){let s=e.moduleUrl.split(/\/\\/g),r=s[s.length-1];return k("css/".concat(t).concat(r,".ngstyle.js"))}function I(e){return k("".concat(c(e.type),"/module.ngfactory.js"))}function _(e,t){return k("".concat(c(e),"/").concat(c(t.type),".ngfactory.js"))}e.ProviderMeta=w,e.flatten=T,e.templateSourceUrl=N,e.sharedStylesheetJitUrl=F,e.ngModuleJitUrl=I,e.templateJitUrl=_}}),N=b({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=T(),s=k(),r=class{constructor(e,t,s,r){this.file=e,this.offset=t,this.line=s,this.col=r}toString(){return null!=this.offset?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}moveBy(e){let s=this.file.content,i=s.length,n=this.offset,a=this.line,o=this.col;for(;n>0&&e<0;)if(n--,e++,s.charCodeAt(n)==t.$LF){a--;let e=s.substr(0,n-1).lastIndexOf(String.fromCharCode(t.$LF));o=e>0?n-e:n}else o--;for(;n<i&&e>0;){let r=s.charCodeAt(n);n++,e--,r==t.$LF?(a++,o=0):o++}return new r(this.file,n,a,o)}getContext(e,t){let s=this.file.content,r=this.offset;if(null!=r){r>s.length-1&&(r=s.length-1);let i=r,n=0,a=0;for(;n<e&&r>0&&(r--,n++,"\n"!=s[r]||++a!=t););for(n=0,a=0;n<e&&i<s.length-1&&(i++,n++,"\n"!=s[i]||++a!=t););return{before:s.substring(r,this.offset),after:s.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 n,a=class{constructor(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.start=e,this.end=t,this.details=s}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),function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(n=e.ParseErrorLevel||(e.ParseErrorLevel={}));var o=class{constructor(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.ERROR;this.span=e,this.msg=t,this.level=s}contextualMessage(){let e=this.span.start.getContext(100,3);return e?"".concat(this.msg,' ("').concat(e.before,"[").concat(n[this.level]," ->]").concat(e.after,'")'):this.msg}toString(){let e=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(e)}};function c(e,t){let n=s.identifierModuleUrl(t),o=null!=n?"in ".concat(e," ").concat(s.identifierName(t)," in ").concat(n):"in ".concat(e," ").concat(s.identifierName(t)),c=new i("",o);return new a(new r(c,-1,-1,-1),new r(c,-1,-1,-1))}function u(e,t,s){let n="in ".concat(e," ").concat(t," in ").concat(s),o=new i("",n);return new a(new r(o,-1,-1,-1),new r(o,-1,-1,-1))}e.ParseError=o,e.typeSourceSpan=c,e.r3JitTypeSourceSpan=u}}),F=b({"src/utils/front-matter/parse.js"(e,t){D();var s=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function r(e){let t=e.match(s);if(!t)return{content:e};let{startDelimiter:r,language:i,value:n="",endDelimiter:a}=t.groups,o=i.trim()||"yaml";if("+++"===r&&(o="toml"),"yaml"!==o&&r!==a)return{content:e};let[c]=t;return{frontMatter:{type:"front-matter",lang:o,value:n,startDelimiter:r,endDelimiter:a,raw:c.replace(/\n$/,"")},content:c.replace(/[^\n]/g," ")+e.slice(c.length)}}t.exports=r}}),I=b({"src/utils/get-last.js"(e,t){D();var s=e=>e[e.length-1];t.exports=s}}),_=b({"src/common/parser-create-error.js"(e,t){function s(e,t){let s=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return s.loc=t,s}D(),t.exports=s}}),O={};function j(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}E(O,{default:()=>j});var B=v({"node_modules/escape-string-regexp/index.js"(){D()}}),L=b({"node_modules/semver/internal/debug.js"(e,t){D();var s="object"==typeof h&&h.env&&h.env.NODE_DEBUG&&/\bsemver\b/i.test(h.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];return console.error("SEMVER",...t)}:()=>{};t.exports=s}}),M=b({"node_modules/semver/internal/constants.js"(e,t){D();var s="2.0.0",r=256,i=Number.MAX_SAFE_INTEGER||9007199254740991,n=16;t.exports={SEMVER_SPEC_VERSION:s,MAX_LENGTH:r,MAX_SAFE_INTEGER:i,MAX_SAFE_COMPONENT_LENGTH:n}}}),R=b({"node_modules/semver/internal/re.js"(e,t){D();var{MAX_SAFE_COMPONENT_LENGTH:s}=M(),r=L(),i=(e=t.exports={}).re=[],n=e.src=[],a=e.t={},o=0,c=(e,t,s)=>{let c=o++;r(e,c,t),a[e]=c,n[c]=t,i[c]=new RegExp(t,s?"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","(".concat(n[a.NUMERICIDENTIFIER],")\\.(").concat(n[a.NUMERICIDENTIFIER],")\\.(").concat(n[a.NUMERICIDENTIFIER],")")),c("MAINVERSIONLOOSE","(".concat(n[a.NUMERICIDENTIFIERLOOSE],")\\.(").concat(n[a.NUMERICIDENTIFIERLOOSE],")\\.(").concat(n[a.NUMERICIDENTIFIERLOOSE],")")),c("PRERELEASEIDENTIFIER","(?:".concat(n[a.NUMERICIDENTIFIER],"|").concat(n[a.NONNUMERICIDENTIFIER],")")),c("PRERELEASEIDENTIFIERLOOSE","(?:".concat(n[a.NUMERICIDENTIFIERLOOSE],"|").concat(n[a.NONNUMERICIDENTIFIER],")")),c("PRERELEASE","(?:-(".concat(n[a.PRERELEASEIDENTIFIER],"(?:\\.").concat(n[a.PRERELEASEIDENTIFIER],")*))")),c("PRERELEASELOOSE","(?:-?(".concat(n[a.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(n[a.PRERELEASEIDENTIFIERLOOSE],")*))")),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD","(?:\\+(".concat(n[a.BUILDIDENTIFIER],"(?:\\.").concat(n[a.BUILDIDENTIFIER],")*))")),c("FULLPLAIN","v?".concat(n[a.MAINVERSION]).concat(n[a.PRERELEASE],"?").concat(n[a.BUILD],"?")),c("FULL","^".concat(n[a.FULLPLAIN],"$")),c("LOOSEPLAIN","[v=\\s]*".concat(n[a.MAINVERSIONLOOSE]).concat(n[a.PRERELEASELOOSE],"?").concat(n[a.BUILD],"?")),c("LOOSE","^".concat(n[a.LOOSEPLAIN],"$")),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE","".concat(n[a.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),c("XRANGEIDENTIFIER","".concat(n[a.NUMERICIDENTIFIER],"|x|X|\\*")),c("XRANGEPLAIN","[v=\\s]*(".concat(n[a.XRANGEIDENTIFIER],")(?:\\.(").concat(n[a.XRANGEIDENTIFIER],")(?:\\.(").concat(n[a.XRANGEIDENTIFIER],")(?:").concat(n[a.PRERELEASE],")?").concat(n[a.BUILD],"?)?)?")),c("XRANGEPLAINLOOSE","[v=\\s]*(".concat(n[a.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(n[a.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(n[a.XRANGEIDENTIFIERLOOSE],")(?:").concat(n[a.PRERELEASELOOSE],")?").concat(n[a.BUILD],"?)?)?")),c("XRANGE","^".concat(n[a.GTLT],"\\s*").concat(n[a.XRANGEPLAIN],"$")),c("XRANGELOOSE","^".concat(n[a.GTLT],"\\s*").concat(n[a.XRANGEPLAINLOOSE],"$")),c("COERCE","(^|[^\\d])(\\d{1,".concat(s,"})(?:\\.(\\d{1,").concat(s,"}))?(?:\\.(\\d{1,").concat(s,"}))?(?:$|[^\\d])")),c("COERCERTL",n[a.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM","(\\s*)".concat(n[a.LONETILDE],"\\s+"),!0),e.tildeTrimReplace="$1~",c("TILDE","^".concat(n[a.LONETILDE]).concat(n[a.XRANGEPLAIN],"$")),c("TILDELOOSE","^".concat(n[a.LONETILDE]).concat(n[a.XRANGEPLAINLOOSE],"$")),c("LONECARET","(?:\\^)"),c("CARETTRIM","(\\s*)".concat(n[a.LONECARET],"\\s+"),!0),e.caretTrimReplace="$1^",c("CARET","^".concat(n[a.LONECARET]).concat(n[a.XRANGEPLAIN],"$")),c("CARETLOOSE","^".concat(n[a.LONECARET]).concat(n[a.XRANGEPLAINLOOSE],"$")),c("COMPARATORLOOSE","^".concat(n[a.GTLT],"\\s*(").concat(n[a.LOOSEPLAIN],")$|^$")),c("COMPARATOR","^".concat(n[a.GTLT],"\\s*(").concat(n[a.FULLPLAIN],")$|^$")),c("COMPARATORTRIM","(\\s*)".concat(n[a.GTLT],"\\s*(").concat(n[a.LOOSEPLAIN],"|").concat(n[a.XRANGEPLAIN],")"),!0),e.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE","^\\s*(".concat(n[a.XRANGEPLAIN],")\\s+-\\s+(").concat(n[a.XRANGEPLAIN],")\\s*$")),c("HYPHENRANGELOOSE","^\\s*(".concat(n[a.XRANGEPLAINLOOSE],")\\s+-\\s+(").concat(n[a.XRANGEPLAINLOOSE],")\\s*$")),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),U=b({"node_modules/semver/internal/parse-options.js"(e,t){D();var s=["includePrerelease","loose","rtl"],r=e=>e?"object"!=typeof e?{loose:!0}:s.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{};t.exports=r}}),q=b({"node_modules/semver/internal/identifiers.js"(e,t){D();var s=/^[0-9]+$/,r=(e,t)=>{let r=s.test(e),i=s.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:e<t?-1:1},i=(e,t)=>r(t,e);t.exports={compareIdentifiers:r,rcompareIdentifiers:i}}}),z=b({"node_modules/semver/classes/semver.js"(e,t){D();var s=L(),{MAX_LENGTH:r,MAX_SAFE_INTEGER:i}=M(),{re:n,t:a}=R(),o=U(),{compareIdentifiers:c}=q(),u=class{constructor(e,t){if(t=o(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>r)throw new TypeError("version is longer than ".concat(r," characters"));s("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let c=e.trim().match(t.loose?n[a.LOOSE]:n[a.FULL]);if(!c)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+c[1],this.minor=+c[2],this.patch=+c[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new 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="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(e){if(s("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(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(s("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return c(r,i)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{let r=this.build[t],i=e.build[t];if(s("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)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":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(0===c(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}};t.exports=u}}),$=b({"node_modules/semver/functions/compare.js"(e,t){D();var s=z(),r=(e,t,r)=>new s(e,r).compare(new s(t,r));t.exports=r}}),H=b({"node_modules/semver/functions/lt.js"(e,t){D();var s=$(),r=(e,t,r)=>s(e,t,r)<0;t.exports=r}}),V=b({"node_modules/semver/functions/gte.js"(e,t){D();var s=$(),r=(e,t,r)=>s(e,t,r)>=0;t.exports=r}}),G=b({"src/utils/arrayify.js"(e,t){D(),t.exports=(e,t)=>Object.entries(e).map((e=>{let[s,r]=e;return Object.assign({[t]:s},r)}))}}),W=b({"package.json"(e,t){t.exports={version:"2.7.1"}}}),J=b({"node_modules/outdent/lib/index.js"(e,t){function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function r(){return typeof WeakMap<"u"?new WeakMap:i()}function i(){return{add:s,delete:s,get:s,set:s,has:function(e){return!1}}}D(),Object.defineProperty(e,"__esModule",{value:!0}),e.outdent=void 0;var n=Object.prototype.hasOwnProperty,a=function(e,t){return n.call(e,t)};function o(e,t){for(var s in t)a(t,s)&&(e[s]=t[s]);return e}var c=/^[ \t]*(?:\r\n|\r|\n)/,u=/(?:\r\n|\r|\n)[ \t]*$/,l=/^(?:[\r\n]|$)/,p=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,h=/^[ \t]*[\r\n][ \t\r\n]*$/;function d(e,t,s){var r=0,i=e[0].match(p);i&&(r=i[1].length);var n=new RegExp("(\\r\\n|\\r|\\n).{0,"+r+"}","g");t&&(e=e.slice(1));var a=s.newline,o=s.trimLeadingNewline,l=s.trimTrailingNewline,h="string"==typeof a,d=e.length;return e.map((function(e,t){return e=e.replace(n,"$1"),0===t&&o&&(e=e.replace(c,"")),t===d-1&&l&&(e=e.replace(u,"")),h&&(e=e.replace(/\r\n|\n|\r/g,(function(e){return a}))),e}))}function m(e,t){for(var s="",r=0,i=e.length;r<i;r++)s+=e[r],r<i-1&&(s+=t[r]);return s}function f(e){return a(e,"raw")&&a(e,"length")}function y(e){var t=r(),s=r();function i(r){for(var n=[],a=1;a<arguments.length;a++)n[a-1]=arguments[a];if(f(r)){var c=r,u=(n[0]===i||n[0]===g)&&h.test(c[0])&&l.test(c[1]),p=u?s:t,x=p.get(c);return x||(x=d(c,u,e),p.set(c,x)),0===n.length?x[0]:m(x,u?n.slice(1):n)}return y(o(o({},e),r||{}))}return o(i,{string:function(t){return d([t],!1,e)[0]}})}var g=y({trimLeadingNewline:!0,trimTrailingNewline:!0});if(e.outdent=g,e.default=g,typeof t<"u")try{t.exports=g,Object.defineProperty(g,"__esModule",{value:!0}),g.default=g,g.outdent=g}catch{}}}),X=b({"src/main/core-options.js"(e,t){D();var{outdent:c}=J(),u="Config",l="Editor",h="Format",d="Other",m="Output",f="Global",y="Special",g={cursorOffset:{since:"1.4.0",category:y,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:c(s||(s=p(["\n Print (to stderr) where a cursor at the given position would move to after formatting.\n This option cannot be used with --range-start and --range-end.\n "]))),cliCategory:l},endOfLine:{since:"1.15.0",category:f,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:c(r||(r=p(["\n Maintain existing\n (mixed values within one file are normalised by looking at what's used after the first line)\n "])))}]},filepath:{since:"1.4.0",category:y,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:d,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:y,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:d},parser:{since:"0.0.10",category:f,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:f,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:u},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:f,description:c(i||(i=p(["\n Custom directory that contains prettier plugins in node_modules subdirectory.\n Overrides default behavior when plugins are searched relatively to the location of Prettier.\n Multiple values are accepted.\n "]))),exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:u},printWidth:{since:"0.0.0",category:f,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:y,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:c(n||(n=p(["\n Format code ending at a given character offset (exclusive).\n The range will extend forwards to the end of the selected statement.\n This option cannot be used with --cursor-offset.\n "]))),cliCategory:l},rangeStart:{since:"1.4.0",category:y,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:c(a||(a=p(["\n Format code starting at a given character offset.\n The range will extend backwards to the start of the first line containing the selected statement.\n This option cannot be used with --cursor-offset.\n "]))),cliCategory:l},requirePragma:{since:"1.7.0",category:y,type:"boolean",default:!1,description:c(o||(o=p(["\n Require either '@prettier' or '@format' to be present in the file's first docblock comment\n in order for it to be formatted.\n "]))),cliCategory:d},tabWidth:{type:"int",category:f,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:f,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:f,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};t.exports={CATEGORY_CONFIG:u,CATEGORY_EDITOR:l,CATEGORY_FORMAT:h,CATEGORY_OTHER:d,CATEGORY_OUTPUT:m,CATEGORY_GLOBAL:f,CATEGORY_SPECIAL:y,options:g}}}),K=b({"src/main/support.js"(e,t){D();var s={compare:$(),lt:H(),gte:V()},r=G(),i=W().version,n=X().options;function a(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:a=!1,showInternal:l=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},p=i.split("-",1)[0],h=e.flatMap((e=>e.languages||[])).filter(m),d=r(Object.assign({},...e.map((e=>{let{options:t}=e;return t})),n),"name").filter((e=>m(e)&&f(e))).sort(((e,t)=>e.name===t.name?0:e.name<t.name?-1:1)).map(y).map((t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(m).sort(((e,t)=>s.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>m(e)&&f(e))),"parser"===t.name&&o(t,h,e));let r=Object.fromEntries(e.filter((e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name])).map((e=>[e.name,e.defaultOptions[t.name]])));return Object.assign(Object.assign({},t),{},{pluginDefaults:r})}));return{languages:h,options:d};function m(e){return t||!("since"in e)||e.since&&s.gte(p,e.since)}function f(e){return a||!("deprecated"in e)||e.deprecated&&s.lt(p,e.deprecated)}function y(e){return l?e:u(e,c)}}function o(e,t,s){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 n=s.find((e=>e.parsers&&e.parsers[t])),a=i.name;n&&n.name&&(a+=" (plugin: ".concat(n.name,")")),e.choices.push({value:t,description:a})}}t.exports={getSupportInfo:a}}}),Y=b({"src/utils/is-non-empty-array.js"(e,t){function s(e){return Array.isArray(e)&&e.length>0}D(),t.exports=s}});function Q(){let{onlyFirst:e=!1}=arguments.length>0&&void 0!==arguments[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 Z=v({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){D()}});function ee(e){if("string"!=typeof e)throw new TypeError("Expected a `string`, got `".concat(typeof e,"`"));return e.replace(Q(),"")}var te=v({"node_modules/strip-ansi/index.js"(){D(),Z()}});function se(e){return!!Number.isInteger(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||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)}var re=v({"node_modules/is-fullwidth-code-point/index.js"(){D()}}),ie=b({"node_modules/emoji-regex/index.js"(e,t){D(),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}}}),ne={};function ae(e){if("string"!=typeof e||0===e.length||0===(e=ee(e)).length)return 0;e=e.replace((0,oe.default)()," ");let t=0;for(let s=0;s<e.length;s++){let r=e.codePointAt(s);r<=31||r>=127&&r<=159||r>=768&&r<=879||(r>65535&&s++,t+=se(r)?2:1)}return t}E(ne,{default:()=>ae});var oe,ce=v({"node_modules/string-width/index.js"(){D(),te(),re(),oe=A(ie())}}),ue=b({"src/utils/get-string-width.js"(e,t){D();var s=(ce(),w(ne)).default,r=/[^\x20-\x7F]/;function i(e){return e?r.test(e)?s(e):e.length:0}t.exports=i}}),le=b({"src/utils/text/skip.js"(e,t){function s(e){return(t,s,r)=>{let i=r&&r.backwards;if(!1===s)return!1;let{length:n}=t,a=s;for(;a>=0&&a<n;){let s=t.charAt(a);if(e instanceof RegExp){if(!e.test(s))return a}else if(!e.includes(s))return a;i?a--:a++}return(-1===a||a===n)&&a}}D();var r=s(/\s/),i=s(" \t"),n=s(",; \t"),a=s(/[^\n\r]/);t.exports={skipWhitespace:r,skipSpaces:i,skipToLineEnd:n,skipEverythingButNewLine:a}}}),he=b({"src/utils/text/skip-inline-comment.js"(e,t){function s(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let s=t+2;s<e.length;++s)if("*"===e.charAt(s)&&"/"===e.charAt(s+1))return s+2;return t}D(),t.exports=s}}),de=b({"src/utils/text/skip-trailing-comment.js"(e,t){D();var{skipEverythingButNewLine:s}=le();function r(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?s(e,t):t)}t.exports=r}}),me=b({"src/utils/text/skip-newline.js"(e,t){function s(e,t,s){let r=s&&s.backwards;if(!1===t)return!1;let i=e.charAt(t);if(r){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t}D(),t.exports=s}}),fe=b({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){D();var s=he(),r=me(),i=de(),{skipSpaces:n}=le();function a(e,t){let a=null,o=t;for(;o!==a;)a=o,o=n(e,o),o=s(e,o),o=i(e,o),o=r(e,o);return o}t.exports=a}}),ye=b({"src/common/util.js"(e,t){D();var{default:s}=(B(),w(O)),r=I(),{getSupportInfo:i}=K(),n=Y(),a=ue(),{skipWhitespace:o,skipSpaces:c,skipToLineEnd:u,skipEverythingButNewLine:l}=le(),p=he(),h=de(),d=me(),m=fe(),f=e=>e[e.length-2];function y(e){return(t,s,r)=>{let i=r&&r.backwards;if(!1===s)return!1;let{length:n}=t,a=s;for(;a>=0&&a<n;){let s=t.charAt(a);if(e instanceof RegExp){if(!e.test(s))return a}else if(!e.includes(s))return a;i?a--:a++}return(-1===a||a===n)&&a}}function g(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=c(e,s.backwards?t-1:t,s);return r!==d(e,r,s)}function x(e,t,s){for(let r=t;r<s;++r)if("\n"===e.charAt(r))return!0;return!1}function v(e,t,s){let r=s(t)-1;return r=c(e,r,{backwards:!0}),r=d(e,r,{backwards:!0}),r=c(e,r,{backwards:!0}),r!==d(e,r,{backwards:!0})}function b(e,t){let s=null,r=t;for(;r!==s;)s=r,r=u(e,r),r=p(e,r),r=c(e,r);return r=h(e,r),r=d(e,r),!1!==r&&g(e,r)}function E(e,t,s){return b(e,s(t))}function C(e,t,s){return m(e,s(t))}function A(e,t,s){return e.charAt(C(e,t,s))}function T(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return c(e,s.backwards?t-1:t,s)!==t}function P(e,t){let s=0;for(let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;r<e.length;++r)"\t"===e[r]?s=s+t-s%t:s++;return s}function S(e,t){let s=e.lastIndexOf("\n");return-1===s?0:P(e.slice(s+1).match(/^[\t ]*/)[0],t)}function k(e,t){let s={quote:'"',regex:/"/g,escaped:"&quot;"},r={quote:"'",regex:/'/g,escaped:"&apos;"},i="'"===t?r:s,n=i===r?s:r,a=i;return(e.includes(i.quote)||e.includes(n.quote))&&(a=(e.match(i.regex)||[]).length>(e.match(n.regex)||[]).length?n:i),a}function N(e,t){let s=e.slice(1,-1);return F(s,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":k(s,t.singleQuote?"'":'"').quote,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))}function F(e,t,s){let r='"'===t?"'":'"',i=/\\(.)|(["'])/gs,n=e.replace(i,((e,i,n)=>i===r?i:n===t?"\\"+n:n||(s&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i)));return t+n+t}function _(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 j(e,t){let r=e.match(new RegExp("(".concat(s(t),")+"),"g"));return null===r?0:r.reduce(((e,s)=>Math.max(e,s.length/t.length)),0)}function L(e,t){let r=e.match(new RegExp("(".concat(s(t),")+"),"g"));if(null===r)return 0;let i=new Map,n=0;for(let e of r){let s=e.length/t.length;i.set(s,!0),s>n&&(n=s)}for(let e=1;e<n;e++)if(!i.get(e))return e;return n+1}function M(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=V(e)}function R(e,t){t.leading=!0,t.trailing=!1,M(e,t)}function U(e,t,s){t.leading=!1,t.trailing=!1,s&&(t.marker=s),M(e,t)}function q(e,t){t.leading=!1,t.trailing=!0,M(e,t)}function z(e,t){let{languages:s}=i({plugins:t.plugins}),r=s.find((t=>{let{name:s}=t;return s.toLowerCase()===e}))||s.find((t=>{let{aliases:s}=t;return Array.isArray(s)&&s.includes(e)}))||s.find((t=>{let{extensions:s}=t;return Array.isArray(s)&&s.includes(".".concat(e))}));return r&&r.parsers[0]}function $(e){return e&&"front-matter"===e.type}function H(e){let t=new WeakMap;return function(s){return t.has(s)||t.set(s,Symbol(e)),t.get(s)}}function V(e){let t=e.type||e.kind||"(unknown type)",s=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");return s.length>20&&(s=s.slice(0,19)+"…"),t+(s?" "+s:"")}t.exports={inferParserByLanguage:z,getStringWidth:a,getMaxContinuousCount:j,getMinNotPresentContinuousCount:L,getPenultimate:f,getLast:r,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:m,getNextNonSpaceNonCommentCharacterIndex:C,getNextNonSpaceNonCommentCharacter:A,skip:y,skipWhitespace:o,skipSpaces:c,skipToLineEnd:u,skipEverythingButNewLine:l,skipInlineComment:p,skipTrailingComment:h,skipNewline:d,isNextLineEmptyAfterIndex:b,isNextLineEmpty:E,isPreviousLineEmpty:v,hasNewline:g,hasNewlineInRange:x,hasSpaces:T,getAlignmentSize:P,getIndentSize:S,getPreferredQuote:k,printString:N,printNumber:_,makeString:F,addLeadingComment:R,addDanglingComment:U,addTrailingComment:q,isFrontMatterNode:$,isNonEmptyArray:n,createGroupIdMapper:H}}}),ge=b({"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"]}}}),xe=b({"src/language-html/utils/array-to-map.js"(e,t){function s(e){let t=Object.create(null);for(let s of e)t[s]=!0;return t}D(),t.exports=s}}),ve=b({"src/language-html/utils/html-tag-names.js"(e,t){D();var{htmlTagNames:s}=ge(),r=xe()(s);t.exports=r}}),Ee=b({"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"],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"]}}}}),Ce=b({"src/language-html/utils/map-object.js"(e,t){function s(e,t){let s=Object.create(null);for(let[r,i]of Object.entries(e))s[r]=t(i,r);return s}D(),t.exports=s}}),Ae=b({"src/language-html/utils/html-elements-attributes.js"(e,t){D();var{htmlElementAttributes:s}=Ee(),r=Ce()(s,xe());t.exports=r}}),we=b({"src/language-html/utils/is-unknown-namespace.js"(e,t){function s(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}D(),t.exports=s}}),De=b({"src/language-html/pragma.js"(e,t){function s(e){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(e)}function r(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}D(),t.exports={hasPragma:s,insertPragma:r}}}),Te=b({"src/language-html/ast.js"(e,t){D();var s={attrs:!0,children:!0},r=new Set(["parent"]),i=class{constructor(){let e=arguments.length>0&&void 0!==arguments[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 s&&(t=t.map((e=>this.createChild(e)))),!r.has(e))return void(this[e]=t);Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in s){let s=this[r];if(s){let a=n(s,(t=>t.map(e)));t!==s&&(t||(t=new i({parent:this.parent})),t.setProperty(r,a))}}if(t)for(let e in this)e in s||(t[e]=this[e]);return e(t||this)}walk(e){for(let t in s){let s=this[t];if(s)for(let t=0;t<s.length;t++)s[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(){var e;return null===(e=this.children)||void 0===e?void 0:e[0]}get lastChild(){var e;return null===(e=this.children)||void 0===e?void 0:e[this.children.length-1]}get prev(){var e;return null===(e=this.parent)||void 0===e?void 0:e.children[this.parent.children.indexOf(this)-1]}get next(){var e;return null===(e=this.parent)||void 0===e?void 0:e.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 n(e,t){let s=e.map(t);return s.some(((t,s)=>t!==e[s]))?s:e}t.exports={Node:i}}}),Pe=b({"src/language-html/conditional-comment.js"(e,t){D();var{ParseSourceSpan:s}=N(),r=[{regex:/^(\[if([^\]]*)]>)(.*?)<!\s*\[endif]$/s,parse:n},{regex:/^\[if([^\]]*)]><!$/,parse:a},{regex:/^<!\s*\[endif]$/,parse:o}];function i(e,t){if(e.value)for(let{regex:s,parse:i}of r){let r=e.value.match(s);if(r)return i(e,t,r)}return null}function n(e,t,r){let[,i,n,a]=r,o=4+i.length,c=e.sourceSpan.start.moveBy(o),u=c.moveBy(a.length),[l,p]=(()=>{try{return[!0,t(a,c).children]}catch{return[!1,[{type:"text",value:a,sourceSpan:new s(c,u)}]]}})();return{type:"ieConditionalComment",complete:l,children:p,condition:n.trim().replace(/\s+/g," "),sourceSpan:e.sourceSpan,startSourceSpan:new s(e.sourceSpan.start,c),endSourceSpan:new s(u,e.sourceSpan.end)}}function a(e,t,s){let[,r]=s;return{type:"ieConditionalStartComment",condition:r.trim().replace(/\s+/g," "),sourceSpan:e.sourceSpan}}function o(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}t.exports={parseIeConditionalComment:i}}}),ke=b({"src/language-html/loc.js"(e,t){function s(e){return e.sourceSpan.start.offset}function r(e){return e.sourceSpan.end.offset}D(),t.exports={locStart:s,locEnd:r}}}),Ne=b({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/tags.js"(e){var t;function s(e){if(":"!=e[0])return[null,e];let t=e.indexOf(":",1);if(-1==t)throw new Error('Unsupported format "'.concat(e,'" expecting ":namespace:name"'));return[e.slice(1,t),e.slice(t+1)]}function r(e){return"ng-container"===s(e)[1]}function i(e){return"ng-content"===s(e)[1]}function n(e){return"ng-template"===s(e)[1]}function a(e){return null===e?null:s(e)[0]}function o(e,t){return e?":".concat(e,":").concat(t):t}D(),Object.defineProperty(e,"__esModule",{value:!0}),(t=e.TagContentType||(e.TagContentType={}))[t.RAW_TEXT=0]="RAW_TEXT",t[t.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",t[t.PARSABLE_DATA=2]="PARSABLE_DATA",e.splitNsName=s,e.isNgContainer=r,e.isNgContent=i,e.isNgTemplate=n,e.getNsPrefix=a,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:" ",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:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",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}}),Fe=b({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_tags.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t,s,r=Ne(),i=class{constructor(){let{closedByChildren:e,implicitNamespacePrefix:t,contentType:s=r.TagContentType.PARSABLE_DATA,closedByParent:i=!1,isVoid:n=!1,ignoreFirstLf:a=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,e&&e.length>0&&e.forEach((e=>this.closedByChildren[e]=!0)),this.isVoid=n,this.closedByParent=i||n,this.implicitNamespacePrefix=t||null,this.contentType=s,this.ignoreFirstLf=a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}};function n(e){return s||(t=new i,s={base:new i({isVoid:!0}),meta:new i({isVoid:!0}),area:new i({isVoid:!0}),embed:new i({isVoid:!0}),link:new i({isVoid:!0}),img:new i({isVoid:!0}),input:new i({isVoid:!0}),param:new i({isVoid:!0}),hr:new i({isVoid:!0}),br:new i({isVoid:!0}),source:new i({isVoid:!0}),track:new i({isVoid:!0}),wbr:new i({isVoid:!0}),p:new i({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new i({closedByChildren:["tbody","tfoot"]}),tbody:new i({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new i({closedByChildren:["tbody"],closedByParent:!0}),tr:new i({closedByChildren:["tr"],closedByParent:!0}),td:new i({closedByChildren:["td","th"],closedByParent:!0}),th:new i({closedByChildren:["td","th"],closedByParent:!0}),col:new i({isVoid:!0}),svg:new i({implicitNamespacePrefix:"svg"}),math:new i({implicitNamespacePrefix:"math"}),li:new i({closedByChildren:["li"],closedByParent:!0}),dt:new i({closedByChildren:["dt","dd"]}),dd:new i({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new i({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new i({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new i({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new i({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new i({closedByChildren:["optgroup"],closedByParent:!0}),option:new i({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new i({ignoreFirstLf:!0}),listing:new i({ignoreFirstLf:!0}),style:new i({contentType:r.TagContentType.RAW_TEXT}),script:new i({contentType:r.TagContentType.RAW_TEXT}),title:new i({contentType:r.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new i({contentType:r.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),s[e]||t}e.HtmlTagDefinition=i,e.getHtmlTagDefinition=n}}),Ie=b({"node_modules/angular-html-parser/lib/compiler/src/ast_path.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?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 s=this.path[t];if(s instanceof e)return s}}push(e){this.path.push(e)}pop(){return this.path.pop()}};e.AstPath=t}}),_e=b({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/ast.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ie(),s=class{constructor(e,t,s){this.value=e,this.sourceSpan=t,this.i18n=s,this.type="text"}visit(e,t){return e.visitText(this,t)}};e.Text=s;var r=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}};e.CDATA=r;var i=class{constructor(e,t,s,r,i,n){this.switchValue=e,this.type=t,this.cases=s,this.sourceSpan=r,this.switchValueSourceSpan=i,this.i18n=n}visit(e,t){return e.visitExpansion(this,t)}};e.Expansion=i;var n=class{constructor(e,t,s,r,i){this.value=e,this.expression=t,this.sourceSpan=s,this.valueSourceSpan=r,this.expSourceSpan=i}visit(e,t){return e.visitExpansionCase(this,t)}};e.ExpansionCase=n;var a=class{constructor(e,t,s){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;this.name=e,this.value=t,this.sourceSpan=s,this.valueSpan=r,this.nameSpan=i,this.i18n=n,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}};e.Attribute=a;var o=class{constructor(e,t,s,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,o=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null;this.name=e,this.attrs=t,this.children=s,this.sourceSpan=r,this.startSourceSpan=i,this.endSourceSpan=n,this.nameSpan=a,this.i18n=o,this.type="element"}visit(e,t){return e.visitElement(this,t)}};e.Element=o;var c=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}};e.Comment=c;var u=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}};function l(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=[],i=e.visit?t=>e.visit(t,s)||t.visit(e,s):t=>t.visit(e,s);return t.forEach((e=>{let t=i(e);t&&r.push(t)})),r}e.DocType=u,e.visitAll=l;var p=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 s=[],r=this;function i(t){t&&s.push(l(r,t,e))}return t(i),Array.prototype.concat.apply([],s)}};function h(e){let t=e.sourceSpan.start.offset,s=e.sourceSpan.end.offset;return e instanceof o&&(e.endSourceSpan?s=e.endSourceSpan.end.offset:e.children&&e.children.length&&(s=h(e.children[e.children.length-1]).end)),{start:t,end:s}}function d(e,s){let r=[];return l(new class extends p{visit(e,t){let i=h(e);if(!(i.start<=s&&s<i.end))return!0;r.push(e)}},e),new t.AstPath(r,s)}e.RecursiveVisitor=p,e.findNode=d}}),Oe=b({"node_modules/angular-html-parser/lib/compiler/src/assertions.js"(e){function t(e,t){if(null!=t){if(!Array.isArray(t))throw new Error("Expected '".concat(e,"' to be an array of strings."));for(let s=0;s<t.length;s+=1)if("string"!=typeof t[s])throw new Error("Expected '".concat(e,"' to be an array of strings."))}}D(),Object.defineProperty(e,"__esModule",{value:!0}),e.assertArrayOfStrings=t;var s=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function r(e,t){if(null!=t&&(!Array.isArray(t)||2!=t.length))throw new Error("Expected '".concat(e,"' to be an array, [start, end]."));if(null!=t){let e=t[0],r=t[1];s.forEach((t=>{if(t.test(e)||t.test(r))throw new Error("['".concat(e,"', '").concat(r,"'] contains unusable interpolation symbol."))}))}}e.assertInterpolationSymbols=r}}),je=b({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/interpolation_config.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=Oe(),s=class{constructor(e,t){this.start=e,this.end=t}static fromArray(r){return r?(t.assertInterpolationSymbols("interpolation",r),new s(r[0],r[1])):e.DEFAULT_INTERPOLATION_CONFIG}};e.InterpolationConfig=s,e.DEFAULT_INTERPOLATION_CONFIG=new s("{{","}}")}}),Be=b({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/lexer.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t,s,r=T(),i=N(),n=je(),a=Ne();(s=t=e.TokenType||(e.TokenType={}))[s.TAG_OPEN_START=0]="TAG_OPEN_START",s[s.TAG_OPEN_END=1]="TAG_OPEN_END",s[s.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",s[s.TAG_CLOSE=3]="TAG_CLOSE",s[s.TEXT=4]="TEXT",s[s.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",s[s.RAW_TEXT=6]="RAW_TEXT",s[s.COMMENT_START=7]="COMMENT_START",s[s.COMMENT_END=8]="COMMENT_END",s[s.CDATA_START=9]="CDATA_START",s[s.CDATA_END=10]="CDATA_END",s[s.ATTR_NAME=11]="ATTR_NAME",s[s.ATTR_QUOTE=12]="ATTR_QUOTE",s[s.ATTR_VALUE=13]="ATTR_VALUE",s[s.DOC_TYPE_START=14]="DOC_TYPE_START",s[s.DOC_TYPE_END=15]="DOC_TYPE_END",s[s.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",s[s.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",s[s.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",s[s.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",s[s.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",s[s.EOF=21]="EOF";var o=class{constructor(e,t,s){this.type=e,this.parts=t,this.sourceSpan=s}};e.Token=o;var c=class extends i.ParseError{constructor(e,t,s){super(s,e),this.tokenType=t}};e.TokenError=c;var u=class{constructor(e,t){this.tokens=e,this.errors=t}};function l(e,t,s){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return new f(new i.ParseSourceFile(e,t),s,r).tokenize()}e.TokenizeResult=u,e.tokenize=l;var p=/\r\n?/g;function h(e){let t=e===r.$EOF?"EOF":String.fromCharCode(e);return'Unexpected character "'.concat(t,'"')}function d(e){return'Unknown entity "'.concat(e,'" - use the "&#<decimal>;" or "&#x<hex>;" syntax')}var m=class{constructor(e){this.error=e}},f=class{constructor(e,t,s){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=s.tokenizeExpansionForms||!1,this._interpolationConfig=s.interpolationConfig||n.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=s.leadingTriviaChars&&s.leadingTriviaChars.map((e=>e.codePointAt(0)||0)),this._canSelfClose=s.canSelfClose||!1,this._allowHtmComponentClosingTags=s.allowHtmComponentClosingTags||!1;let r=s.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=s.escapedString?new S(e,r):new P(e,r);try{this._cursor.init()}catch(e){this.handleError(e)}}_processCarriageReturns(e){return e.replace(p,"\n")}tokenize(){for(;this._cursor.peek()!==r.$EOF;){let e=this._cursor.clone();try{if(this._attemptCharCode(r.$LT))if(this._attemptCharCode(r.$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(r.$SLASH))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(r.$QUESTION)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(e){this.handleError(e)}}return this._beginToken(t.EOF),this._endToken([]),new u(w(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(E(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===r.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._cursor.clone();this._currentTokenStart=t,this._currentTokenType=e}_endToken(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._cursor.clone();if(null===this._currentTokenStart)throw new c("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(null===this._currentTokenType)throw new c("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let s=new o(this._currentTokenType,e,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(s),this._currentTokenStart=null,this._currentTokenType=null,s}_createError(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');let s=new c(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new m(s)}handleError(e){if(e instanceof k&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof m))throw e;this.errors.push(e.error)}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return!!C(this._cursor.peek(),e)&&(this._cursor.advance(),!0)}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(h(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let s=this._cursor.clone();for(let r=0;r<t;r++)if(!this._attemptCharCode(e.charCodeAt(r)))return this._cursor=s,!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(h(this._cursor.peek()),this._cursor.getSpan(t))}_requireStrCaseInsensitive(e){let t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(h(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){let s=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.clone().diff(s)<t)throw this._createError(h(this._cursor.peek()),this._cursor.getSpan(s))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_readChar(e){if(e&&this._cursor.peek()===r.$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(r.$HASH)){let t=this._cursor.clone();if(this._attemptCharCodeUntilFn(b),this._cursor.peek()!=r.$SEMICOLON)return this._cursor=t,"&";let s=this._cursor.getChars(t);this._cursor.advance();let i=a.NAMED_ENTITIES[s];if(!i)throw this._createError(d(s),this._cursor.getSpan(e));return i}{let t=this._attemptCharCode(r.$x)||this._attemptCharCode(r.$X),s=this._cursor.clone();if(this._attemptCharCodeUntilFn(v),this._cursor.peek()!=r.$SEMICOLON)throw this._createError(h(this._cursor.peek()),this._cursor.getSpan());let i=this._cursor.getChars(s);this._cursor.advance();try{let e=parseInt(i,t?16:10);return String.fromCharCode(e)}catch{throw this._createError(d(this._cursor.getChars(e)),this._cursor.getSpan())}}}_consumeRawText(e,s){this._beginToken(e?t.ESCAPABLE_RAW_TEXT:t.RAW_TEXT);let r=[];for(;;){let t=this._cursor.clone(),i=s();if(this._cursor=t,i)break;r.push(this._readChar(e))}return this._endToken([this._processCarriageReturns(r.join(""))])}_consumeComment(e){this._beginToken(t.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._attemptStr("--\x3e"))),this._beginToken(t.COMMENT_END),this._requireStr("--\x3e"),this._endToken([])}_consumeBogusComment(e){this._beginToken(t.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._cursor.peek()===r.$GT)),this._beginToken(t.COMMENT_END),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(t.CDATA_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._attemptStr("]]>"))),this._beginToken(t.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(t.DOC_TYPE_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._cursor.peek()===r.$GT)),this._beginToken(t.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e,t=this._cursor.clone(),s="";for(;this._cursor.peek()!==r.$COLON&&!x(this._cursor.peek());)this._cursor.advance();return this._cursor.peek()===r.$COLON?(s=this._cursor.getChars(t),this._cursor.advance(),e=this._cursor.clone()):e=t,this._requireCharCodeUntilFn(g,""===s?0:1),[s,this._cursor.getChars(e)]}_consumeTagOpen(e){let s,i,n,o=this.tokens.length,c=this._cursor.clone(),u=[];try{if(!r.isAsciiLetter(this._cursor.peek()))throw this._createError(h(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),i=n.parts[0],s=n.parts[1],this._attemptCharCodeUntilFn(y);this._cursor.peek()!==r.$SLASH&&this._cursor.peek()!==r.$GT;){let[e,t]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(y),this._attemptCharCode(r.$EQ)){this._attemptCharCodeUntilFn(y);let s=this._consumeAttributeValue();u.push({prefix:e,name:t,value:s})}else u.push({prefix:e,name:t});this._attemptCharCodeUntilFn(y)}this._consumeTagOpenEnd()}catch(s){if(s instanceof m)return this._cursor=c,n&&(this.tokens.length=o),this._beginToken(t.TEXT,e),void this._endToken(["<"]);throw s}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===t.TAG_OPEN_END_VOID)return;let l=this._getTagContentType(s,i,this._fullNameStack.length>0,u);this._handleFullNameStackForTagOpen(i,s),l===a.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(i,s,!1):l===a.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(i,s,!0)}_consumeRawTextWithTagClose(e,s,i){this._consumeRawText(i,(()=>!!(this._attemptCharCode(r.$LT)&&this._attemptCharCode(r.$SLASH)&&(this._attemptCharCodeUntilFn(y),this._attemptStrCaseInsensitive(e?"".concat(e,":").concat(s):s)))&&(this._attemptCharCodeUntilFn(y),this._attemptCharCode(r.$GT)))),this._beginToken(t.TAG_CLOSE),this._requireCharCodeUntilFn((e=>e===r.$GT),3),this._cursor.advance(),this._endToken([e,s]),this._handleFullNameStackForTagClose(e,s)}_consumeTagOpenStart(e){this._beginToken(t.TAG_OPEN_START,e);let s=this._consumePrefixAndName();return this._endToken(s)}_consumeAttributeName(){let e=this._cursor.peek();if(e===r.$SQ||e===r.$DQ)throw this._createError(h(e),this._cursor.getSpan());this._beginToken(t.ATTR_NAME);let s=this._consumePrefixAndName();return this._endToken(s),s}_consumeAttributeValue(){let e;if(this._cursor.peek()===r.$SQ||this._cursor.peek()===r.$DQ){this._beginToken(t.ATTR_QUOTE);let s=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(s)]),this._beginToken(t.ATTR_VALUE);let r=[];for(;this._cursor.peek()!==s;)r.push(this._readChar(!0));e=this._processCarriageReturns(r.join("")),this._endToken([e]),this._beginToken(t.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(s)])}else{this._beginToken(t.ATTR_VALUE);let s=this._cursor.clone();this._requireCharCodeUntilFn(g,1),e=this._processCarriageReturns(this._cursor.getChars(s)),this._endToken([e])}return e}_consumeTagOpenEnd(){let e=this._attemptCharCode(r.$SLASH)?t.TAG_OPEN_END_VOID:t.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(r.$GT),this._endToken([])}_consumeTagClose(e){if(this._beginToken(t.TAG_CLOSE,e),this._attemptCharCodeUntilFn(y),this._allowHtmComponentClosingTags&&this._attemptCharCode(r.$SLASH))this._attemptCharCodeUntilFn(y),this._requireCharCode(r.$GT),this._endToken([]);else{let[e,t]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(y),this._requireCharCode(r.$GT),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}}_consumeExpansionFormStart(){this._beginToken(t.EXPANSION_FORM_START),this._requireCharCode(r.$LBRACE),this._endToken([]),this._expansionCaseStack.push(t.EXPANSION_FORM_START),this._beginToken(t.RAW_TEXT);let e=this._readUntil(r.$COMMA);this._endToken([e]),this._requireCharCode(r.$COMMA),this._attemptCharCodeUntilFn(y),this._beginToken(t.RAW_TEXT);let s=this._readUntil(r.$COMMA);this._endToken([s]),this._requireCharCode(r.$COMMA),this._attemptCharCodeUntilFn(y)}_consumeExpansionCaseStart(){this._beginToken(t.EXPANSION_CASE_VALUE);let e=this._readUntil(r.$LBRACE).trim();this._endToken([e]),this._attemptCharCodeUntilFn(y),this._beginToken(t.EXPANSION_CASE_EXP_START),this._requireCharCode(r.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(y),this._expansionCaseStack.push(t.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(t.EXPANSION_CASE_EXP_END),this._requireCharCode(r.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(y),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(t.EXPANSION_FORM_END),this._requireCharCode(r.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}_consumeText(){let e=this._cursor.clone();this._beginToken(t.TEXT,e);let s=[];do{this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(s.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(s.push(this._interpolationConfig.end),this._inInterpolation=!1):s.push(this._readChar(!0))}while(!this._isTextEnd());this._endToken([this._processCarriageReturns(s.join(""))])}_isTextEnd(){return!!(this._cursor.peek()===r.$LT||this._cursor.peek()===r.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===r.$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]===t.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===t.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==r.$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 s=a.mergeNsAndName(e,t);(0===this._fullNameStack.length||this._fullNameStack[this._fullNameStack.length-1]===s)&&this._fullNameStack.push(s)}_handleFullNameStackForTagClose(e,t){let s=a.mergeNsAndName(e,t);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]===s&&this._fullNameStack.pop()}};function y(e){return!r.isWhitespace(e)||e===r.$EOF}function g(e){return r.isWhitespace(e)||e===r.$GT||e===r.$SLASH||e===r.$SQ||e===r.$DQ||e===r.$EQ}function x(e){return(e<r.$a||r.$z<e)&&(e<r.$A||r.$Z<e)&&(e<r.$0||e>r.$9)}function v(e){return e==r.$SEMICOLON||e==r.$EOF||!r.isAsciiHexDigit(e)}function b(e){return e==r.$SEMICOLON||e==r.$EOF||!r.isAsciiLetter(e)}function E(e){return e===r.$EQ||r.isAsciiLetter(e)||r.isDigit(e)}function C(e,t){return A(e)==A(t)}function A(e){return e>=r.$a&&e<=r.$z?e-r.$a+r.$A:e}function w(e){let s,r=[];for(let i=0;i<e.length;i++){let n=e[i];s&&s.type==t.TEXT&&n.type==t.TEXT?(s.parts[0]+=n.parts[0],s.sourceSpan.end=n.sourceSpan.end):(s=n,r.push(s))}return r}var P=class{constructor(e,t){if(e instanceof P)this.file=e.file,this.input=e.input,this.end=e.end,this.state=Object.assign({},e.state);else{if(!t)throw new 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 P(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=e||this,t)for(e=e.clone();this.diff(e)>0&&-1!==t.indexOf(e.peek());)e.advance();return new i.ParseSourceSpan(new i.ParseLocation(e.file,e.state.offset,e.state.line,e.state.column),new i.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 t=this.charAt(e.offset);t===r.$LF?(e.line++,e.column=0):r.isNewLine(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?r.$EOF:this.charAt(e.offset)}},S=class extends P{constructor(e,t){e instanceof S?(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 S(this)}getChars(e){let t=e.clone(),s="";for(;t.internalState.offset<this.internalState.offset;)s+=String.fromCodePoint(t.peek()),t.advance();return s}processEscapeSequence(){let e=()=>this.internalState.peek;if(e()===r.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),e()===r.$n)this.state.peek=r.$LF;else if(e()===r.$r)this.state.peek=r.$CR;else if(e()===r.$v)this.state.peek=r.$VTAB;else if(e()===r.$t)this.state.peek=r.$TAB;else if(e()===r.$b)this.state.peek=r.$BSPACE;else if(e()===r.$f)this.state.peek=r.$FF;else if(e()===r.$u)if(this.advanceState(this.internalState),e()===r.$LBRACE){this.advanceState(this.internalState);let t=this.clone(),s=0;for(;e()!==r.$RBRACE;)this.advanceState(this.internalState),s++;this.state.peek=this.decodeHexDigits(t,s)}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()===r.$x){this.advanceState(this.internalState);let e=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,2)}else if(r.isOctalDigit(e())){let t="",s=0,i=this.clone();for(;r.isOctalDigit(e())&&s<3;)i=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),s++;this.state.peek=parseInt(t,8),this.internalState=i.internalState}else r.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let s=this.input.substr(e.internalState.offset,t),r=parseInt(s,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}}),Le=b({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/parser.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=N(),s=_e(),r=Be(),i=Ne(),n=class extends t.ParseError{constructor(e,t,s){super(t,s),this.elementName=e}static create(e,t,s){return new n(e,t,s)}};e.TreeError=n;var a=class{constructor(e,t){this.rootNodes=e,this.errors=t}};e.ParseTreeResult=a;var o=class{constructor(e){this.getTagDefinition=e}parse(e,t,s){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n=arguments.length>4?arguments[4]:void 0,o=e=>function(t){for(var s=arguments.length,r=new Array(s>1?s-1:0),i=1;i<s;i++)r[i-1]=arguments[i];return e(t.toLowerCase(),...r)},u=i?this.getTagDefinition:o(this.getTagDefinition),l=e=>u(e).contentType,p=i?n:o(n),h=n?(e,t,s,r)=>{let i=p(e,t,s,r);return void 0!==i?i:l(e)}:l,d=r.tokenize(e,t,h,s),m=s&&s.canSelfClose||!1,f=s&&s.allowHtmComponentClosingTags||!1,y=new c(d.tokens,u,m,f,i).build();return new a(y.rootNodes,d.errors.concat(y.errors))}};e.Parser=o;var c=class{constructor(e,t,s,r,i){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=s,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 a(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(),n=this._getText(i),a=this._advanceIf(r.TokenType.CDATA_END);this._addToParent(new s.CDATA(n,new t.ParseSourceSpan(e.sourceSpan.start,(a||i).sourceSpan.end)))}_consumeComment(e){let i=this._advanceIf(r.TokenType.RAW_TEXT),n=this._advanceIf(r.TokenType.COMMENT_END),a=null!=i?i.parts[0].trim():null,o=new t.ParseSourceSpan(e.sourceSpan.start,(n||i||e).sourceSpan.end);this._addToParent(new s.Comment(a,o))}_consumeDocType(e){let i=this._advanceIf(r.TokenType.RAW_TEXT),n=this._advanceIf(r.TokenType.DOC_TYPE_END),a=null!=i?i.parts[0].trim():null,o=new t.ParseSourceSpan(e.sourceSpan.start,(n||i||e).sourceSpan.end);this._addToParent(new s.DocType(a,o))}_consumeExpansion(e){let i=this._advance(),a=this._advance(),o=[];for(;this._peek.type===r.TokenType.EXPANSION_CASE_VALUE;){let e=this._parseExpansionCase();if(!e)return;o.push(e)}if(this._peek.type!==r.TokenType.EXPANSION_FORM_END)return void this._errors.push(n.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));let c=new t.ParseSourceSpan(e.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new s.Expansion(i.parts[0],a.parts[0],o,c,i.sourceSpan)),this._advance()}_parseExpansionCase(){let e=this._advance();if(this._peek.type!==r.TokenType.EXPANSION_CASE_EXP_START)return this._errors.push(n.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let i=this._advance(),a=this._collectExpansionExpTokens(i);if(!a)return null;let o=this._advance();a.push(new r.Token(r.TokenType.EOF,[],o.sourceSpan));let u=new c(a,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive).build();if(u.errors.length>0)return this._errors=this._errors.concat(u.errors),null;let l=new t.ParseSourceSpan(e.sourceSpan.start,o.sourceSpan.end),p=new t.ParseSourceSpan(i.sourceSpan.start,o.sourceSpan.end);return new s.ExpansionCase(e.parts[0],u.rootNodes,l,e.sourceSpan,p)}_collectExpansionExpTokens(e){let t=[],s=[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)&&s.push(this._peek.type),this._peek.type===r.TokenType.EXPANSION_CASE_EXP_END){if(!u(s,r.TokenType.EXPANSION_CASE_EXP_START))return this._errors.push(n.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(s.pop(),0==s.length)return t}if(this._peek.type===r.TokenType.EXPANSION_FORM_END){if(!u(s,r.TokenType.EXPANSION_FORM_START))return this._errors.push(n.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;s.pop()}if(this._peek.type===r.TokenType.EOF)return this._errors.push(n.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&"\n"==t[0]){let e=this._getParentElement();null!=e&&0==e.children.length&&this.getTagDefinition(e.name).ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=this._getText(e);t.length>0&&this._addToParent(new s.Text(t,e.sourceSpan))}_closeVoidElement(){let e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()}_consumeStartTag(e){let a=e.parts[0],o=e.parts[1],c=[];for(;this._peek.type===r.TokenType.ATTR_NAME;)c.push(this._consumeAttr(this._advance()));let u=this._getElementFullName(a,o,this._getParentElement()),l=!1;if(this._peek.type===r.TokenType.TAG_OPEN_END_VOID){this._advance(),l=!0;let t=this.getTagDefinition(u);this.canSelfClose||t.canSelfClose||null!==i.getNsPrefix(u)||t.isVoid||this._errors.push(n.create(u,e.sourceSpan,'Only void and foreign elements can be self closed "'.concat(e.parts[1],'"')))}else this._peek.type===r.TokenType.TAG_OPEN_END&&(this._advance(),l=!1);let p=this._peek.sourceSpan.start,h=new t.ParseSourceSpan(e.sourceSpan.start,p),d=new t.ParseSourceSpan(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),m=new s.Element(u,c,[],h,h,void 0,d);this._pushElement(m),l&&(this._popElement(u),m.endSourceSpan=h)}_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&&0===e.parts.length?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(n.create(t,e.sourceSpan,'Void elements do not have end tags "'.concat(e.parts[1],'"')));else if(!this._popElement(t)){let s='Unexpected closing tag "'.concat(t,'". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags');this._errors.push(n.create(t,e.sourceSpan,s))}}_popElement(e){for(let t=this._elementStack.length-1;t>=0;t--){let s=this._elementStack[t];if(!e||(i.getNsPrefix(s.name)?s.name==e:s.name.toLowerCase()==e.toLowerCase()))return this._elementStack.splice(t,this._elementStack.length-t),!0;if(!this.getTagDefinition(s.name).closedByParent)return!1}return!1}_consumeAttr(e){let n,a,o=i.mergeNsAndName(e.parts[0],e.parts[1]),c=e.sourceSpan.end,u="";if(this._peek.type===r.TokenType.ATTR_QUOTE&&(a=this._advance().sourceSpan.start),this._peek.type===r.TokenType.ATTR_VALUE){let e=this._advance();u=e.parts[0],c=e.sourceSpan.end,n=e.sourceSpan}return this._peek.type===r.TokenType.ATTR_QUOTE&&(c=this._advance().sourceSpan.end,n=new t.ParseSourceSpan(a,c)),new s.Attribute(o,u,new t.ParseSourceSpan(e.sourceSpan.start,c),n,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();null!=t?t.children.push(e):this._rootNodes.push(e)}_insertBeforeContainer(e,t,s){if(t){if(e){let r=e.children.indexOf(t);e.children[r]=s}else this._rootNodes.push(s);s.children.push(t),this._elementStack.splice(this._elementStack.indexOf(t),0,s)}else this._addToParent(s),this._elementStack.push(s)}_getElementFullName(e,t,s){return""===e&&""===(e=this.getTagDefinition(t).implicitNamespacePrefix||"")&&null!=s&&(e=i.getNsPrefix(s.name)),i.mergeNsAndName(e,t)}};function u(e,t){return e.length>0&&e[e.length-1]===t}}}),Me=b({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=Fe(),s=Le(),r=Le();e.ParseTreeResult=r.ParseTreeResult,e.TreeError=r.TreeError;var i=class extends s.Parser{constructor(){super(t.getHtmlTagDefinition)}parse(e,t,s){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0;return super.parse(e,t,s,r,i)}};e.HtmlParser=i}}),Re=b({"node_modules/angular-html-parser/lib/angular-html-parser/src/index.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=Me(),s=Ne();e.TagContentType=s.TagContentType;var r=null,i=()=>(r||(r=new t.HtmlParser),r);function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{canSelfClose:s=!1,allowHtmComponentClosingTags:r=!1,isTagNameCaseSensitive:n=!1,getTagContentType:a}=t;return i().parse(e,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:s,allowHtmComponentClosingTags:r},n,a)}e.parse=n}});D();var{ParseSourceSpan:Ue,ParseLocation:qe,ParseSourceFile:ze}=N(),$e=F(),He=I(),Ve=_(),{inferParserByLanguage:Ge}=ye(),We=ve(),Je=Ae(),Xe=we(),{hasPragma:Ke}=De(),{Node:Ye}=Te(),{parseIeConditionalComment:Qe}=Pe(),{locStart:Ze,locEnd:et}=ke();function tt(e,t,s){let{recognizeSelfClosing:r,normalizeTagName:i,normalizeAttributeName:n,allowHtmComponentClosingTags:a,isTagNameCaseSensitive:o,getTagContentType:c}=t,u=Re(),{RecursiveVisitor:l,visitAll:p}=_e(),{ParseSourceSpan:h}=N(),{getHtmlTagDefinition:d}=Fe(),{rootNodes:m,errors:f}=u.parse(e,{canSelfClose:r,allowHtmComponentClosingTags:a,isTagNameCaseSensitive:o,getTagContentType:c});if("vue"===s.parser)if(m.some((e=>"docType"===e.type&&"html"===e.value||"element"===e.type&&"html"===e.name.toLowerCase()))){r=!0,i=!0,n=!0,a=!0,o=!1;let t=u.parse(e,{canSelfClose:r,allowHtmComponentClosingTags:a,isTagNameCaseSensitive:o});m=t.rootNodes,f=t.errors}else{let t=e=>{if(!e||"element"!==e.type||"template"!==e.name)return!1;let t=e.attrs.find((e=>"lang"===e.name)),r=t&&t.value;return!r||"html"===Ge(r,s)};if(m.some(t)){let s,i=()=>u.parse(e,{canSelfClose:r,allowHtmComponentClosingTags:a,isTagNameCaseSensitive:o}),n=()=>s||(s=i()),c=e=>n().rootNodes.find((t=>{let{startSourceSpan:s}=t;return s&&s.start.offset===e.startSourceSpan.start.offset}));for(let e=0;e<m.length;e++){let s=m[e],{endSourceSpan:r,startSourceSpan:i}=s;if(null===r)f=n().errors,m[e]=c(s)||s;else if(t(s)){let t=n(),a=i.end.offset,o=r.start.offset;for(let e of t.errors){let{offset:t}=e.span.start;if(a<t&&t<o){f=[e];break}}m[e]=c(s)||s}}}}if(f.length>0){let{msg:e,span:{start:t,end:s}}=f[0];throw Ve(e,{start:{line:t.line+1,column:t.col+1},end:{line:s.line+1,column:s.col+1}})}let y=e=>{let t=e.name.startsWith(":")?e.name.slice(1).split(":")[0]:null,s=e.nameSpan.toString(),r=null!==t&&s.startsWith("".concat(t,":")),i=r?s.slice(t.length+1):s;e.name=i,e.namespace=t,e.hasExplicitNamespace=r},g=e=>{switch(e.type){case"element":y(e);for(let t of e.attrs)y(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()}},x=(e,t)=>{let s=e.toLowerCase();return t(s)?s:e},v=e=>{if("element"===e.type&&(i&&(!e.namespace||e.namespace===e.tagDefinition.implicitNamespacePrefix||Xe(e))&&(e.name=x(e.name,(e=>e in We))),n)){let t=Je[e.name]||Object.create(null);for(let s of e.attrs)s.namespace||(s.name=x(s.name,(s=>e.name in Je&&(s in Je["*"]||s in t))))}},b=e=>{e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new h(e.sourceSpan.start,e.endSourceSpan.end))},E=e=>{if("element"===e.type){let t=d(o?e.name:e.name.toLowerCase());!e.namespace||e.namespace===t.implicitNamespacePrefix||Xe(e)?e.tagDefinition=t:e.tagDefinition=d("")}};return p(new class extends l{visit(e){g(e),E(e),v(e),b(e)}},m),m}function st(e,t,s){let r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],{frontMatter:i,content:n}=r?$e(e):{frontMatter:null,content:e},a=new ze(e,t.filepath),o=new qe(a,0,0,0),c=o.moveBy(e.length),u={type:"root",sourceSpan:new Ue(o,c),children:tt(n,s,t)};if(i){let e=new qe(a,0,0,0),t=e.moveBy(i.raw.length);i.sourceSpan=new Ue(e,t),u.children.unshift(i)}let l=new Ye(u),p=(r,i)=>{let{offset:n}=i,a=st(e.slice(0,n).replace(/[^\n\r]/g," ")+r,t,s,!1);a.sourceSpan=new Ue(i,He(a.children).sourceSpan.end);let o=a.children[0];return o.length===n?a.children.shift():(o.sourceSpan=new Ue(o.sourceSpan.start.moveBy(n),o.sourceSpan.end),o.value=o.value.slice(n)),a};return l.walk((e=>{if("comment"===e.type){let t=Qe(e,p);t&&e.parent.replaceChild(e,t)}})),l}function rt(){let{name:e,recognizeSelfClosing:t=!1,normalizeTagName:s=!1,normalizeAttributeName:r=!1,allowHtmComponentClosingTags:i=!1,isTagNameCaseSensitive:n=!1,getTagContentType:a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{parse:(o,c,u)=>st(o,Object.assign({parser:e},u),{recognizeSelfClosing:t,normalizeTagName:s,normalizeAttributeName:r,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:n,getTagContentType:a}),hasPragma:Ke,astFormat:"html",locStart:Ze,locEnd:et}}t.exports={parsers:{html:rt({name:"html",recognizeSelfClosing:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:rt({name:"angular"}),vue:rt({name:"vue",recognizeSelfClosing:!0,isTagNameCaseSensitive:!0,getTagContentType:(e,t,s,r)=>{if("html"!==e.toLowerCase()&&!s&&("template"!==e||r.some((e=>{let{name:t,value:s}=e;return"lang"===t&&"html"!==s&&""!==s&&void 0!==s}))))return Re().TagContentType.RAW_TEXT}}),lwc:rt({name:"lwc"})}}}));return ke()}()})),xd=ee(gd),vd=["css","scss","less","json","html","vue"],bd=function(e){var t=J({customFileTypeParser:{}},e);return function(e,s){var r;if("js"===s||"jsx"===s)r="babel";else if(vd.indexOf(s)>=0)r=s;else{if(!t.customFileTypeParser[s])return e;r=t.customFileTypeParser[s]}return H.default.format(e,{parser:r,plugins:Q([md,yd,xd],Y(t.plugins||[]),!1),singleQuote:!0,jsxSingleQuote:!0})}},Ed=function(e){return function(t){return X(void 0,void 0,void 0,(function(){var s,r,i;return K(this,(function(n){return s=e||"react",r=J({},t),i=r.ir,r.chunks.push({type:ua.STRING,fileType:ca.JS,name:Op,content:"\n import { createRef } from '".concat(s,"';\n "),linkAfter:[]}),i.utils&&i.utils.forEach((function(e){"function"===e.type&&r.chunks.push({type:ua.STRING,fileType:ca.JS,name:Lp,content:"\n export const ".concat(e.name," = ").concat(e.content.value,";\n "),linkAfter:[Op,jp,Bp]})})),[2,r]}))}))}};var Cd=require("fs-extra");function Ad(e){var t,s;return X(this,void 0,void 0,(function(){var r,i,n,a,o,c,u,l,p,h,d;return K(this,(function(m){switch(m.label){case 0:return m.trys.push([0,2,,3]),[4,ii("/editor/getExportDetail",{_id:e.projectId,auth:e.auth,count:!1,folders:null===(t=null==e?void 0:e.folder)||void 0===t?void 0:t.split(","),fileNames:null===(s=e.filter)||void 0===s?void 0:s.split(","),frame:e.frame,afterTime:e.afterTime})];case 1:return r=m.sent(),i=r.data,n=i.project,a=i.documents,o=i.componentDocs,n.documents=n.documents.filter((function(t){return!e.frame||(t.frames||[n.type]).includes(e.frame)})),c=a.map((function(e){return e._id})),u=o.filter((function(e){return!c.includes(e._id)})).concat(a),u=wd(n,u,e.frame),l={},p=[],u.forEach((function(e){e.componentsMap?e.componentsMap.forEach((function(e){var t="".concat(e.package,"_").concat(e.componentName);l[t]||(l[t]=!0,p.push(e))})):console.log("页面需要更新: ",e.title,e.fileName)})),h=J(J({},n.schema),{componentsMap:p,componentsTree:u.map((function(e){return"string"==typeof e.schema?JSON.parse(e.schema):e.schema}))}),[2,{project:n,schema:h,documents:wd(n,a,e.frame),componentDocs:wd(n,o,e.frame)}];case 2:throw d=m.sent(),console.log("[e] ",d),d;case 3:return[2]}}))}))}var wd=function(e,t,s){return t.filter((function(t){return!s||(t.frames||[e.type]).includes(s)})).map((function(t){var r;return(null===(r=t.componentsRoot)||void 0===r?void 0:r[s||e.type])&&(t.componentsMap=t.componentsRoot[s||e.type]),t}))},Dd=function(e){var t=e,s=null==e?void 0:e.__enable;return s&&(Object.keys(e).forEach((function(e){s.includes(e)||delete t[e]})),null==t||delete t.__enable),e},Td=function(e,t){return X(void 0,void 0,void 0,(function(){var e;return K(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,ii("/file/getUploadToken",J({},t))];case 1:return[2,s.sent().data];case 2:return e=s.sent(),console.log("getUpToken error: ",e),[3,3];case 3:return[2]}}))}))},Pd=function(e,t){return X(void 0,void 0,void 0,(function(){var s,r,i,n,a,o,c;return K(this,(function(u){switch(u.label){case 0:return[4,Td(0,t)];case 1:s=u.sent(),r=s.token,i=s.key,(n=new Nr).append("file",k.createReadStream(e.path+e.fileName)),n.append("key",i),n.append("token",r),u.label=2;case 2:return u.trys.push([2,4,,5]),[4,ti.post("https://up-z0.qiniup.com/",n,{headers:n.getHeaders()})];case 3:if(a=u.sent(),null===(c=a.data)||void 0===c?void 0:c.hash)return[2,a.data];throw console.log("File upload failed.",a.data),new Error("File upload failed.");case 4:throw o=u.sent(),console.error("Error uploading file:",o),new Error("Error uploading file");case 5:return[2]}}))}))},Sd=function(e){var t=/exports\.(\w+)/.exec(e);return t?t[1]:""};function kd(e){return X(this,void 0,void 0,(function(){var t;return K(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,V.mkdir(e,{recursive:!0})];case 1:return s.sent(),[3,3];case 2:if("EEXIST"===(t=s.sent()).code)return[2];throw t;case 3:return[2]}}))}))}exports.getPureValue=Dd,exports.initSolution=function(e,t){return X(this,void 0,void 0,(function(){var s,r,i,n,a,o,c,u,l,p,h,d,m;return K(this,(function(f){switch(f.label){case 0:return f.trys.push([0,11,,12]),s=process.cwd(),r=e[0]||"hello",i=T.resolve(s,r),"."===r&&(r=T.basename(s),i=s),n=function(e){return e.replace(/hello-world/g,Sh(r)).replace(/HelloWorld/g,kh(r)).replace(/Hello World/g,Ph(r))},[4,kd(i)];case 1:f.sent(),a=[{file:".editorconfig",content:"root = true\n\n[*]\nindent_style = space\nindent_size = 2\nend_of_line = lf\ncharset = utf-8\ntrim_trailing_whitespace = true\ninsert_final_newline = true\nquote_type = single\n\n[*.md]\ntrim_trailing_whitespace = false\n"},{file:".eslintignore",content:"# 忽略目录\nnode_modules/\nbuild/\ndist/\ntest-cases/\ntest/\ntests/\noutput/\nes/\nlib/\ncoverage/\n\n# 忽略文件\n**/*.min.js\n**/*-min.js\n**/*.bundle.js\n"},{file:".eslintrc.js",content:"module.exports = {\n extends: 'eslint-config-ali/typescript/react',\n rules: {\n 'max-len': ['error', { code: 200 }],\n 'comma-dangle': 0,\n },\n};\n"},{file:".gitignore",content:"# project custom\nbuild\nes\nlib\ndist\noutput\npackage-lock.json\ndeploy-space/packages\ndeploy-space/.env\ngenerated\n\n# IDE\n.vscode\n.idea\n\n# Logs\nlogs\n*.log\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\nlerna-debug.log*\n\n# Runtime data\npids\n*.pid\n*.seed\n*.pid.lock\n\n\n# Directory for instrumented libs generated by jscoverage/JSCover\nlib-cov\n\n# Coverage directory used by tools like istanbul\ncoverage\n\n# nyc test coverage\n.nyc_output\n\n# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)\n.grunt\n\n# Bower dependency directory (https://bower.io/)\nbower_components\n\n# node-waf configuration\n.lock-wscript\n\n# Compiled binary addons (https://nodejs.org/api/addons.html)\nbuild/Release\nlib\n\n# Dependency directories\nnode_modules/\njspm_packages/\n\n# TypeScript v1 declaration files\ntypings/\n\n# Optional npm cache directory\n.npm\n\n# Optional eslint cache\n.eslintcache\n\n# Optional REPL history\n.node_repl_history\n\n# Output of 'npm pack'\n*.tgz\n\n# Yarn Integrity file\n.yarn-integrity\n\n# dotenv environment variables file\n.env\n.env.test\n\n# parcel-bundler cache (https://parceljs.org/)\n.cache\n\n# next.js build output\n.next\n\n# nuxt.js build output\n.nuxt\n\n# vuepress build output\n.vuepress/dist\n\n# Serverless directories\n.serverless/\n\n# FuseBox cache\n.fusebox/\n\n# DynamoDB Local files\n.dynamodb/\n\n# mac config files\n.DS_Store\n\n# codealike\ncodealike.json\n.node\n"},{file:".prettierignore",content:"/test-cases/"},{file:".prettierrc",content:'{\n "tabWidth": 2,\n "singleQuote": true,\n "trailingComma": "es5"\n}\n'},{file:"CHANGELOG.md",content:""},{file:"CONTRIBUTING.md",content:"# 欢迎共建\n\n# 注意\n\n- 注意解决 eslint 问题\n- 注意代码格式化 -- 建议安装 prettier 插件\n- 发布前注意要跑通 demo 和所有的单测\n\n## 本地调试运行 Demo\n\n```sh\n> npm run demo\n```\n\n## 本地跑单测\n\n```sh\n> npm test\n```\n"},{file:"README.md",content:"# 低代码出码自定义方案之 Hello World\n\n## 直接执行\n\n```sh\n> npx ali-lowcode-solution-hello-world demo-schema.json\n```\n\n## 本地调试运行 Demo\n\n```sh\n> npm run demo\n```\n"},{file:"demo-schema.json",content:'{\n "version": "1.0.0",\n "componentsMap": [\n {\n "componentName": "Button",\n "package": "@alifd/next",\n "version": "1.19.18",\n "destructuring": true,\n "exportName": "Button"\n },\n {\n "componentName": "Button.Group",\n "package": "@alifd/next",\n "version": "1.19.18",\n "destructuring": true,\n "exportName": "Button",\n "subName": "Group"\n },\n {\n "componentName": "Input",\n "package": "@alifd/next",\n "version": "1.19.18",\n "destructuring": true,\n "exportName": "Input"\n },\n {\n "componentName": "Form",\n "package": "@alifd/next",\n "version": "1.19.18",\n "destructuring": true,\n "exportName": "Form"\n },\n {\n "componentName": "Form.Item",\n "package": "@alifd/next",\n "version": "1.19.18",\n "destructuring": true,\n "exportName": "Form",\n "subName": "Item"\n },\n {\n "componentName": "NumberPicker",\n "package": "@alifd/next",\n "version": "1.19.18",\n "destructuring": true,\n "exportName": "NumberPicker"\n },\n {\n "componentName": "Select",\n "package": "@alifd/next",\n "version": "1.19.18",\n "destructuring": true,\n "exportName": "Select"\n }\n ],\n "componentsTree": [\n {\n "componentName": "Page",\n "id": "node$1",\n "meta": {\n "title": "测试",\n "router": "/"\n },\n "props": {\n "ref": "outterView",\n "autoLoading": true\n },\n "fileName": "test",\n "state": {\n "text": "outter"\n },\n "lifeCycles": {\n "componentDidMount": {\n "type": "IPublicTypeJSExpression",\n "value": "function() { console.log(\'componentDidMount\'); }"\n }\n },\n "methodsModule": {\n "type": "JSModule",\n "source": "export function helloWorld() {\\n console.log(\'Hello world!\');\\n}\\n"\n },\n "dataSource": {\n "list": [\n {\n "id": "urlParams",\n "type": "urlParams"\n },\n\n {\n "id": "user",\n "type": "fetch",\n "options": {\n "method": "GET",\n "uri": "https://shs.xxx.com/mock/1458/demo/user",\n "isSync": true\n },\n "dataHandler": {\n "type": "IPublicTypeJSExpression",\n "value": "function (response) {\\nif (!response.data.success){\\n throw new Error(response.data.message);\\n }\\n return response.data.data;\\n}"\n }\n },\n\n {\n "id": "orders",\n "type": "fetch",\n "options": {\n "method": "GET",\n "uri": "https://shs.xxx.com/mock/1458/demo/orders",\n "isSync": true\n },\n "dataHandler": {\n "type": "IPublicTypeJSExpression",\n "value": "function (response) {\\nif (!response.data.success){\\n throw new Error(response.data.message);\\n }\\n return response.data.data.result;\\n}"\n }\n }\n ],\n "dataHandler": {\n "type": "IPublicTypeJSExpression",\n "value": "function (dataMap) {\\n console.info(\\"All datasources loaded:\\", dataMap);\\n}"\n }\n },\n "children": [\n {\n "componentName": "Form",\n "id": "node$2",\n "props": {\n "labelCol": {\n "type": "IPublicTypeJSExpression",\n "value": "this.state.colNum"\n },\n "style": {},\n "ref": "testForm"\n },\n "children": [\n {\n "componentName": "Form.Item",\n "id": "node$3",\n "props": {\n "label": "姓名:",\n "name": "name",\n "initValue": "李雷"\n },\n "children": [\n {\n "componentName": "Input",\n "id": "node$4",\n "props": {\n "placeholder": "请输入",\n "size": "medium",\n "style": {\n "width": 320\n }\n }\n }\n ]\n },\n {\n "componentName": "Form.Item",\n "id": "node$5",\n "props": {\n "label": "年龄:",\n "name": "age",\n "initValue": "22"\n },\n "children": [\n {\n "componentName": "NumberPicker",\n "id": "node$6",\n "props": {\n "size": "medium",\n "type": "normal"\n }\n }\n ]\n },\n {\n "componentName": "Form.Item",\n "id": "node$7",\n "props": {\n "label": "职业:",\n "name": "profession"\n },\n "children": [\n {\n "componentName": "Select",\n "id": "node$8",\n "props": {\n "dataSource": [\n {\n "label": "教师",\n "value": "t"\n },\n {\n "label": "医生",\n "value": "d"\n },\n {\n "label": "歌手",\n "value": "s"\n }\n ]\n }\n }\n ]\n },\n {\n "componentName": "Div",\n "id": "node$9",\n "props": {\n "style": {\n "textAlign": "center"\n }\n },\n "children": [\n {\n "componentName": "Button.Group",\n "id": "node$a",\n "props": {},\n "children": [\n {\n "componentName": "Button",\n "id": "node$b",\n "condition": {\n "type": "IPublicTypeJSExpression",\n "value": "this.index >= 1"\n },\n "loop": ["a", "b", "c"],\n "props": {\n "type": "primary",\n "style": {\n "margin": "0 5px 0 5px"\n }\n },\n "children": [\n {\n "type": "IPublicTypeJSExpression",\n "value": "this.item"\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n ],\n "constants": {\n "ENV": "prod",\n "DOMAIN": "xxx.xxx.com"\n },\n "css": "body {font-size: 12px;} .table { width: 100px;}",\n "config": {\n "sdkVersion": "1.0.3",\n "historyMode": "hash",\n "targetRootID": "J_Container",\n "layout": {\n "componentName": "BasicLayout",\n "props": {\n "logo": "...",\n "name": "测试网站"\n }\n },\n "theme": {\n "package": "@alife/theme-fusion",\n "version": "^0.1.0",\n "primary": "#ff9966"\n }\n },\n "meta": {\n "name": "demo应用",\n "git_group": "appGroup",\n "project_name": "app_demo",\n "description": "这是一个测试应用",\n "spma": "spa23d",\n "creator": "月飞"\n }\n}\n'},{file:"jest.config.js",content:"module.exports = {\n preset: 'ts-jest',\n testEnvironment: 'node',\n testPathIgnorePatterns: ['/node_modules/', '/test-cases/', '/static-files/', '/lib/'],\n};\n"},{file:"package.json",content:'{\n "name": "ali-lowcode-solution-hello-world",\n "version": "1.0.0",\n "description": "AlLowCode Code Generate Solution - Hello World",\n "files": [\n "src",\n "lib",\n "tests",\n "jest.config.js",\n ".editorconfig",\n ".eslintignore",\n ".eslintrc.js",\n ".gitignore",\n ".prettierignore",\n ".prettierrc",\n "CHANGELOG.md",\n "CONTRIBUTING.md",\n "demo-schema.json",\n "package.json",\n "README.md",\n "tsconfig.json"\n ],\n "main": "lib/index.js",\n "scripts": {\n "start": "jest --watch",\n "build": "npm run clean && concurrently \'npm run build:ts\' \'npm run lint\'",\n "build:ts": "tsc",\n "check:type": "tsc -p . --noEmit",\n "clean": "rm -rf build dist lib generated",\n "dev": "build-scripts start",\n "lint": "eslint --ext .tsx,.ts,.js,.jsx src",\n "lintfix": "eslint --fix --color --ext .tsx,.ts,.js,.jsx src",\n "lint-staged": "lint-staged",\n "prepublishOnly": "npm run build",\n "postpublish": "git push origin master --tags",\n "test": "jest",\n "test:watch": "jest --watch",\n "test:update-snapshots": "cross-env UPDATE_EXPECTED=true npx jest",\n "demo": "npm run build && npx @alilc/lowcode-code-generator --solution . --output generated demo-schema.json"\n },\n "repository": {\n "type": "git",\n "url": "git@github.com:your-name/ali-lowcode-solution-hello-world.git"\n },\n "author": "",\n "license": "ISC",\n "publishConfig": {\n "registry": "https://registry.npm.xxx.com"\n },\n "dependencies": {\n "@alilc/lowcode-code-generator": "^1.0.0-beta.16",\n "@alilc/lowcode-types": "^1.0.0-beta.21",\n "tslib": "^2.3.0"\n },\n "devDependencies": {\n "@types/async": "^3.2.3",\n "@types/jest": "^26.0.17",\n "@typescript-eslint/eslint-plugin": "^4.28.4",\n "@typescript-eslint/parser": "^4.28.4",\n "async": "^3.2.0",\n "babel-runtime": "^6.26.0",\n "concurrently": "^5.2.0",\n "cross-env": "^7.0.0",\n "debug": "^4.1.1",\n "eslint": "^7.31.0",\n "eslint-config-ali": "^12.1.0",\n "eslint-plugin-import": "^2.23.4",\n "eslint-plugin-react": "^7.24.0",\n "eslint-plugin-react-hooks": "^4.2.0",\n "glob": "^7.2.0",\n "husky": "4.2.5",\n "jest": "^26.6.3",\n "json5": "^2.2.0",\n "lint-staged": "10.1.x",\n "lodash": "^4.17.21",\n "md5": "^2.2.1",\n "prettier": "^2.3.2",\n "ts-jest": "^26.4.4",\n "ts-node": "^9.0.0",\n "typescript": "4.x"\n }\n}\n'},{file:"tsconfig.json",content:'{\n "compilerOptions": {\n "esModuleInterop": true,\n "declaration": true,\n "experimentalDecorators": true,\n "forceConsistentCasingInFileNames": true,\n "importHelpers": true,\n "incremental": false,\n "jsx": "react",\n "moduleResolution": "node",\n "resolveJsonModule": true,\n "skipLibCheck": true,\n "sourceMap": true,\n "strict": true,\n "stripInternal": true,\n "outDir": "./lib",\n "declarationDir": "./lib",\n "rootDirs": ["./src"],\n "target": "es6",\n "module": "commonjs",\n "lib": ["esnext"],\n "types": ["jest", "node"],\n "noUnusedLocals": false,\n "noUnusedParameters": false\n },\n "include": ["src/**/*", "typings/**/*"]\n}\n'},{file:"src/index.ts",content:"import CodeGen from '@alilc/lowcode-code-generator';\n\nimport examplePlugin from './plugins/example';\n\nexport default function createHelloWorldProjectBuilder() {\n return CodeGen.createProjectBuilder({\n template: CodeGen.solutionParts.icejs.template,\n plugins: {\n components: [\n CodeGen.plugins.react.reactCommonDeps(),\n CodeGen.plugins.common.esmodule({ fileType: 'jsx' }),\n CodeGen.plugins.react.containerClass(),\n CodeGen.plugins.react.containerInjectContext(),\n CodeGen.plugins.react.containerInjectUtils(),\n CodeGen.plugins.react.containerInjectDataSourceEngine(),\n CodeGen.plugins.react.containerInjectI18n(),\n CodeGen.plugins.react.containerInitState(),\n CodeGen.plugins.react.containerLifeCycle(),\n CodeGen.plugins.react.containerMethod(),\n examplePlugin(),\n CodeGen.plugins.react.jsx({\n nodeTypeMapping: {\n Div: 'div',\n Component: 'div',\n Page: 'div',\n Block: 'div',\n },\n }),\n CodeGen.plugins.style.css(),\n ],\n pages: [\n CodeGen.plugins.react.reactCommonDeps(),\n CodeGen.plugins.common.esmodule({ fileType: 'jsx' }),\n CodeGen.plugins.react.containerClass(),\n CodeGen.plugins.react.containerInjectContext(),\n CodeGen.plugins.react.containerInjectUtils(),\n CodeGen.plugins.react.containerInjectDataSourceEngine(),\n CodeGen.plugins.react.containerInjectI18n(),\n CodeGen.plugins.react.containerInitState(),\n CodeGen.plugins.react.containerLifeCycle(),\n CodeGen.plugins.react.containerMethod(),\n examplePlugin(),\n CodeGen.plugins.react.jsx({\n nodeTypeMapping: {\n Div: 'div',\n Component: 'div',\n Page: 'div',\n Block: 'div',\n },\n }),\n CodeGen.plugins.style.css(),\n ],\n router: [\n CodeGen.plugins.common.esmodule(),\n CodeGen.solutionParts.icejs.plugins.router(),\n ],\n entry: [CodeGen.solutionParts.icejs.plugins.entry()],\n constants: [CodeGen.plugins.project.constants()],\n utils: [\n CodeGen.plugins.common.esmodule(),\n CodeGen.plugins.project.utils('react'),\n ],\n i18n: [CodeGen.plugins.project.i18n()],\n globalStyle: [CodeGen.solutionParts.icejs.plugins.globalStyle()],\n htmlEntry: [CodeGen.solutionParts.icejs.plugins.entryHtml()],\n packageJSON: [CodeGen.solutionParts.icejs.plugins.packageJSON()],\n },\n postProcessors: [CodeGen.postprocessor.prettier()],\n });\n}\n"},{file:"src/plugins/example.ts",content:"import {\n ICodeStruct,\n BuilderComponentPlugin,\n BuilderComponentPluginFactory,\n FileType,\n ChunkType,\n IContainerInfo,\n COMMON_CHUNK_NAME,\n CLASS_DEFINE_CHUNK_NAME,\n DEFAULT_LINK_AFTER,\n} from '@alilc/lowcode-code-generator';\n\nexport interface PluginConfig {\n fileType: string;\n}\n\nconst pluginFactory: BuilderComponentPluginFactory<PluginConfig> = (\n config?\n) => {\n const cfg: PluginConfig = {\n fileType: FileType.JSX,\n ...config,\n };\n\n const plugin: BuilderComponentPlugin = async (pre: ICodeStruct) => {\n const next: ICodeStruct = {\n ...pre,\n };\n\n const ir = next.ir as IContainerInfo & {\n methodsModule?: {\n type?: 'JSModule';\n source?: string;\n };\n };\n\n if (ir.methodsModule?.type !== 'JSModule' || !ir.methodsModule?.source) {\n return next;\n }\n\n // 创建 methods.jsx\n next.chunks.push({\n type: ChunkType.STRING,\n subModule: 'methods',\n fileType: cfg.fileType,\n name: COMMON_CHUNK_NAME.CustomContent,\n content: ir.methodsModule.source,\n linkAfter: [],\n });\n\n // 引入对应的模块\n next.chunks.push({\n type: ChunkType.STRING,\n fileType: cfg.fileType,\n name: COMMON_CHUNK_NAME.InternalDepsImport,\n content: \"import __$$methodsModule from './methods';\",\n linkAfter: [...DEFAULT_LINK_AFTER[COMMON_CHUNK_NAME.InternalDepsImport]],\n });\n\n // 将导出的东东都放到 class 上实例方法部分\n next.chunks.push({\n type: ChunkType.STRING,\n fileType: cfg.fileType,\n name: CLASS_DEFINE_CHUNK_NAME.ConstructorContent,\n content: 'Object.assign(this, __$$methodsModule);',\n linkAfter: [\n ...DEFAULT_LINK_AFTER[CLASS_DEFINE_CHUNK_NAME.ConstructorContent],\n ],\n });\n\n return next;\n };\n\n return plugin;\n};\n\nexport default pluginFactory;\n"},{file:"tests/basic.test.ts",content:"test('basic functions should be ok', () => {\n // 这里放一些单元测试\n expect(0).toBe(0);\n});\n"}],f.label=2;case 2:f.trys.push([2,8,9,10]),o=function(e){var t="function"==typeof Symbol&&Symbol.iterator,s=t&&e[t],r=0;if(s)return s.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(a),c=o.next(),f.label=3;case 3:return c.done?[3,7]:(u=c.value,t.verbose&&console.log("%s",Xe.gray("creating file ".concat(u.file))),l=T.join(i,u.file),[4,kd(T.dirname(l))]);case 4:return f.sent(),[4,V.writeFile(l,n(u.content),{encoding:"utf-8"})];case 5:f.sent(),f.label=6;case 6:return c=o.next(),[3,3];case 7:return[3,10];case 8:return p=f.sent(),d={error:p},[3,10];case 9:try{c&&!c.done&&(m=o.return)&&m.call(o)}finally{if(d)throw d.error}return[7];case 10:return t.quiet||console.log("%s",Xe.green("solution ".concat(r," created successfully"))),[2,0];case 11:return h=f.sent(),console.log(Xe.red(Ke(h)||"Unexpected error: ".concat(h))),"object"==typeof h&&(null==h?void 0:h.stack)&&t.verbose&&console.log(Xe.gray(h.stack)),[2,1];case 12:return[2]}}))}))},exports.releaseMaterial=function(e){return X(this,void 0,void 0,(function(){var t,s,r,i,n,a,o,c,u,l,p,h,d,m,f,y,g,x,v;return K(this,(function(b){switch(b.label){case 0:return(t=e.auth)&&ri(t),s=process.cwd(),r="build/lowcode",i=D.default.resolve(process.cwd(),r),[4,function(e){return Promise.resolve().then((function(){return C(require(e))}))}(D.default.resolve(process.cwd(),"package.json"))];case 1:return n=b.sent(),a=n.name,o=n.version,c=k.readFileSync(D.default.resolve(process.cwd(),r,"view.js"),"utf-8"),u=Sd(c),l=k.readFileSync(D.default.resolve(process.cwd(),r,"meta.js"),"utf-8"),p=Sd(l),console.log("Uploading material..."),[4,mi(i+"/")];case 2:h=b.sent(),d=[],m=0,b.label=3;case 3:return m<h.length?(f=h[m],[4,Pd(f,{t:1,route:"material",path:"".concat(a,"/").concat(o,"/")+f.path.split("".concat(s,"/").concat(r,"/"))[1]+f.fileName})]):[3,6];case 4:y=b.sent(),d.push(y),b.label=5;case 5:return m++,[3,3];case 6:return g=d.find((function(e){return e.key.includes("".concat(o,"/view.js"))})),x=d.find((function(e){return e.key.includes("".concat(o,"/view.css"))})),v=d.find((function(e){return e.key.includes("".concat(o,"/meta.js"))})),console.log("Npm Name: ",a),console.log("Npm Version: ",o),console.log("Npm Export Name: ",u),console.log("Npm Js Url: ",g.url),console.log("Npm Css Url: ",x.url),console.log("Meta Export Name: ",p),console.log("Meta Url: ",v.url),[2,1]}}))}))},exports.run=function(e,t){var s,r,i;return X(this,void 0,void 0,(function(){var e,n,a,o,c,u,l,p,h,d,m,f,y,g,x,v,b,E,C,w,T,S,N,F,I,_,O,j,B,L;return K(this,(function(M){switch(M.label){case 0:e=D.default.join(A.default.homedir(),".cache","mengti_temp"),n=D.default.join(A.default.homedir(),".cache","mengti_translate"),t.clear&&fi(n),a=D.default.join(process.cwd()+"/"+(t.output||""))+"$__cacheTime",M.label=1;case 1:return M.trys.push([1,13,,14]),o=oi.getKey(a),console.log("[最后同步时间] ",o?new Date(Number(o)).toLocaleString():"无"),c=o&&!t.clear?Number(o):0,ri(t.auth),[4,Ad({projectId:t.id,auth:t.auth,filter:t.filter,folder:t.folder,frame:t.frame,afterTime:c})];case 2:return u=M.sent(),l=u.schema,p=u.project,h=u.documents,d=u.componentDocs,m=p.documents||[],f=m.map((function(e){return e.fileName})),p&&0!==h.length?(y=t.frame||p.type,x=(g="web"===y)?"vite":"taro",l=function(e){return qa.forEach((function(t){e.utils=e.utils||[];var s=e.utils.findIndex((function(e){return e.name===t.name}));s<0&&e.utils.push(t)})),e}(l),[4,hi(l,x)]):(console.log(Xe.yellow("提示:无文件更新,请确认是否保存!如需更新全部,请勾选清除缓存")),[2,0]);case 3:return l=M.sent(),[4,ra(l)];case 4:return l=M.sent(),v=function(e){return P.default.createProjectBuilder({template:Fh.template,plugins:{components:[zh(),Yh({fileType:"jsx"}),Hh(e),Vh(e),Uh(),P.default.plugins.react.containerInitState(),P.default.plugins.react.containerLifeCycle(),Gh(),Ih(),hd({nodeTypeMapping:{Div:"View",Component:"React.Fragment",Page:"View",Block:"React.Fragment"}}),P.default.plugins.style.css()],pages:[zh(),Yh({fileType:"jsx"}),Hh(e),Vh(e),Uh(),P.default.plugins.react.containerInitState(),P.default.plugins.react.containerLifeCycle(),Gh(),Ih(),hd({nodeTypeMapping:{Div:"div",Component:"React.Fragment",Page:"Page",Block:"React.Fragment"}}),P.default.plugins.style.css()],router:[P.default.plugins.common.esmodule(),Fh.plugins.router()],entry:[Fh.plugins.entry()],constants:[P.default.plugins.project.constants()],utils:[P.default.plugins.common.esmodule(),Ed("react")],i18n:[P.default.plugins.project.i18n()],globalStyle:[Fh.plugins.globalStyle()],htmlEntry:[Fh.plugins.entryHtml()],packageJSON:[Fh.plugins.packageJSON()]},postProcessors:[bd()]})}({type:y,solution:x}),t.env&&(b=null===(r=null===(s=p.envInfo)||void 0===s?void 0:s.list)||void 0===r?void 0:r.find((function(e){return e.alias===t.env})),b&&(l.constants=J(J({},l.constants),Dd(b.data)))),[4,v.generateProject(l)];case 5:return(E=M.sent()).files=E.files.filter((function(e){return"css"===e.ext||"jsx"===e.ext})),C=P.default.publishers.disk(),w=t.output,fi(e),[4,C.publish({project:E,outputPath:e,projectSlug:"example",createProjectFolder:!1})];case 6:return M.sent(),Cd.existsSync("./".concat(w,"/"))||Cd.mkdirSync("./".concat(w,"/"),{recursive:!0}),T=function(e){return e.path==="./".concat(w,"/")?"".concat(null==w?void 0:w.replace("src/",""),"/").concat(e.fileName.split(".")[0]):"".concat(null==w?void 0:w.replace("src/",""),"/").concat(e.name,"/index")},[4,mi("./".concat(w,"/"))];case 7:return S=M.sent(),[4,mi(e+"/")];case 8:N=M.sent(),F={components:S.filter((function(e){return["tsx","jsx"].includes(e.ext)&&e.path.includes("components")})).map((function(e){return e.name})).filter((function(e){return f.includes(e)})),pages:S.filter((function(e){return["tsx","jsx"].includes(e.ext)&&e.path.includes("pages")&&!e.path.includes("components")})).map((function(e){return e.name})).filter((function(e){return f.includes(e)})),pageUrls:S.filter((function(e){return["tsx","jsx"].includes(e.ext)&&e.path.includes("pages")&&!e.path.includes("components")})).filter((function(e){return f.includes(e.name)})).map((function(e){return T(e)}))},I=function(t){var s,r,i,n,a,o,c,u,m,f,y,v,b,E,C,A;return K(this,(function(D){switch(D.label){case 0:return(s=N[t]).path.includes("/BasicLayout/")?[3,10]:(r=s.name,"js"!==(i=s.ext)||"utils.js"!==s.fileName?[3,2]:[4,Ra(s,l,p,x)]);case 1:D.sent(),D.label=2;case 2:return"css"===i&&Cd.renameSync(s.path+"/"+s.fileName,s.path+"/"+s.fileName.replace("css","scss")),"jsx"!==i&&"tsx"!==i?[3,10]:(n=h.concat(d).find((function(e){return e.fileName.toLowerCase()===r.toLowerCase()})),"Page"===(null==n?void 0:n.type)&&(F.pages.includes(r)||(F.pages.push(r),F.pageUrls.push(T(s)))),"Component"===(null==n?void 0:n.type)&&(F.components.includes(r)||F.components.push(r)),console.log("TRANSFORM_TSX ===> ",s.name),[4,Zn(s,x,w)]);case 3:for(a=D.sent(),o=a.code,c=a.images,u=a.svgs,Cd.writeFileSync(s.path+"/"+s.fileName,o),Cd.renameSync(s.path+"/"+s.fileName,s.path+"/"+(g?s.fileName:s.fileName.replace("jsx","tsx"))),g||"Page"!==(null==n?void 0:n.type)||((m=["export default definePageConfig({"]).push(" navigationBarTitleText: '".concat(n.title,"',")),m.push(" navigationStyle: '".concat("custom","',")),m.push(" disableScroll: true,"),m.push("})"),Cd.writeFileSync(s.path+"/index.config.ts",m.join("\n"))),f=[],y=[],b=0;b<u.length;b++)if((v=u[b]).svgStr&&v.fileName)try{Cd.existsSync(s.path+"icons")||Cd.mkdirSync(s.path+"icons"),Cd.writeFileSync(s.path+"icons/"+v.fileName+".svg",v.svgStr),f.push("import ".concat(v.fileName," from './").concat(v.fileName,".svg").concat("vite"===x?"?raw":"","';")),y.push(" ".concat(v.fileName,","))}catch(e){console.log("[saveSvg Error] ",e)}f.length>0&&Cd.writeFileSync(s.path+"icons/index.ts",f.concat(["const ICONS = {"]).concat(y).concat(["}"]).concat("export default ICONS;").join("\n")),b=0,D.label=4;case 4:if(!(b<c.length))return[3,9];if(!(E=c[b]).url||!E.fileName)return[3,8];D.label=5;case 5:return D.trys.push([5,7,,8]),Cd.existsSync(s.path+"images")||Cd.mkdirSync(s.path+"images"),[4,ta(E.url,s.path+"images/"+E.fileName)];case 6:return D.sent(),[3,8];case 7:return C=D.sent(),console.log("[downloadFile Error] ",C),[3,8];case 8:return b++,[3,4];case 9:A="./".concat(w,"/").concat(s.name),"Component"===(null==n?void 0:n.type)&&(A="./".concat(w,"/components/").concat(s.name)),Cd.existsSync(A)&&fi(A),"Page"===(null==n?void 0:n.type)&&Cd.copySync("".concat(e,"/src/pages/").concat(s.name),A),"Component"===(null==n?void 0:n.type)&&Cd.copySync("".concat(e,"/src/components/").concat(s.name),A),D.label=10;case 10:return[2]}}))},_=0,M.label=9;case 9:return _<N.length?[5,I(_)]:[3,12];case 10:M.sent(),M.label=11;case 11:return _++,[3,9];case 12:return oi.setKey(a,String(Date.now())),(O=null===(i=p.appConfig)||void 0===i?void 0:i.indexPage)&&(F.pages=F.pages.sort((function(e,t){return e===O?-1:t===O?1:0})),j=F.pageUrls.find((function(e){return e.includes("/".concat(O,"/"))})),F.pageUrls=F.pageUrls.sort((function(e,t){return e===j?-1:t===j?1:0}))),Cd.writeFileSync("./".concat(w,"/map.json"),JSON.stringify(F)),Cd.copyFileSync("".concat(e,"/src/utils.js"),"./src/utils/utils.js"),Cd.copyFileSync("".concat(e,"/src/constants.js"),"./src/utils/constants.js"),B=function(e,t,s){var r,i='import { registerPartalComponent } from "'.concat("vite"===s?"@disscode/react/lib/utils/index.js":"cross-ui/utils",'";\n'),n="const partalComponentMaps = {\n",a=null===(r=e.documents)||void 0===r?void 0:r.filter((function(e){return e.portal}));return a.forEach((function(e){i="".concat(i,"import ").concat(e.fileName," from '../").concat(null==t?void 0:t.replace("src/",""),"/components/").concat(e.fileName,"';\n"),n="".concat(n," ").concat(e.fileName,",\n")})),n="".concat(n,"};"),i?"".concat(i,"\n").concat(n,"\nregisterPartalComponent(partalComponentMaps);"):""}(p,w,x),Cd.writeFileSync("./src/utils/portal.js",B),g||function(e,t,s){if("web"!==e){var r=t.appConfig||{};r.pages||(r.pages=s.pageUrls),r.window||(r.window={backgroundTextStyle:"light",navigationBarBackgroundColor:"#fff",navigationBarTitleText:t.title,navigationBarTextStyle:"black"});var i="./src/app.config.ts",n=k.readFileSync(i,"utf-8"),a=gi("".concat(n),{sourceType:"module",plugins:["jsx","typescript","decorators-legacy"]}),o=new Set;U.default(a,{ObjectExpression:function(e){var t,s;"defineAppConfig"!==(null===(t=e.parent.callee)||void 0===t?void 0:t.name)||o.has("defineAppConfig")||((null===(s=e.node.properties)||void 0===s?void 0:s.length)>0&&Object.keys(r).filter((function(e){return!["indexPage"].includes(e)})).forEach((function(t){var s,i,n,a,o,c=e.node.properties.findIndex((function(e){return e.key.name===t})),u=Ua(r[t]);if(c>=0){var l=e.node.properties[c];if("pages"===(null===(s=null==l?void 0:l.key)||void 0===s?void 0:s.name)&&"ArrayExpression"!==(null===(i=l.value)||void 0===i?void 0:i.type)){var p=R.program([R.variableDeclaration("const",[R.variableDeclarator(R.identifier("name"),R.objectExpression([l]))])]);U.default(p,{ArrayExpression:function(e){e.replaceWith(u)}}),R.isVariableDeclaration(p.body[0])&&(e.node.properties[c].value=null===(o=null===(a=null===(n=p.body[0].declarations[0].init)||void 0===n?void 0:n.properties)||void 0===a?void 0:a[0])||void 0===o?void 0:o.value)}else e.node.properties[c].value=u}else e.node.properties.push(R.objectProperty(R.identifier(t),u))})),o.add("defineAppConfig"))}});var c=Wn(a,{jsescOption:{minimal:!0}}).code;k.writeFileSync(i,c)}}(t.frame||p.type,p,F),oi.save(),[2,0];case 13:return L=M.sent(),console.log(Xe.red(Ke(L)||"Unexpected error: ".concat(L))),oi.removeKey(a),oi.save(),"object"==typeof L&&(null==L?void 0:L.stack)&&t.verbose&&console.log(Xe.gray(L.stack)),[2,1];case 14:return[2]}}))}))};
48
+ //# sourceMappingURL=index.js.map