@appthen/cli 1.0.25 → 1.0.27

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("os"),t=require("tty"),s=require("path"),r=require("child_process"),i=require("@mengti/code-generator"),n=require("fs"),a=require("@babel/types"),o=require("@babel/traverse"),c=require("crypto"),u=require("http"),l=require("https"),p=require("url"),h=require("stream"),d=require("assert"),f=require("util"),m=require("zlib"),y=require("glob");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)}function A(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(s){if("default"!==s&&!(s in e)){var r=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(e,s,r.get?r:{enumerable:!0,get:function(){return t[s]}})}}))})),Object.freeze(e)}var w=E(e),D=E(t),T=E(s),S=C(s),P=E(i),k=C(n),N=E(n),I=E(a),_=C(a),F=E(o),O=E(c),L=E(u),B=E(l),j=E(p),M=E(h),R=E(d),U=E(f),q=E(m),$=E(y),z=E(g),H=E(x),V=E(v),G=C(b),W=E(b),J=function(e,t){return J=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])},J(e,t)};function X(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}J(e,t),e.prototype=null===t?Object.create(t):(s.prototype=t.prototype,new s)}var K=function(){return K=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},K.apply(this,arguments)};function Y(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 Z(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(o){return function(c){return function(o){if(s)throw new TypeError("Generator is already executing.");for(;n&&(n=0,o[0]&&(a=0)),a;)try{if(s=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{s=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}}function Q(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 ee(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))}"function"==typeof SuppressedError&&SuppressedError;var te="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function se(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function re(e,t){return e(t={exports:{}},t.exports),t.exports}function ie(e){return e&&e.default||e}var ne={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 ae={};for(const e of Object.keys(ne))ae[ne[e]]=e;const oe={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 ce=oe;for(const e of Object.keys(oe)){if(!("channels"in oe[e]))throw new Error("missing channels property: "+e);if(!("labels"in oe[e]))throw new Error("missing channel labels property: "+e);if(oe[e].labels.length!==oe[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:s}=oe[e];delete oe[e].channels,delete oe[e].labels,Object.defineProperty(oe[e],"channels",{value:t}),Object.defineProperty(oe[e],"labels",{value:s})}function ue(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}function le(e){const t=function(){const e={},t=Object.keys(ce);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(ce[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 pe(e,t){return function(s){return t(e(s))}}function he(e,t){const s=[t[e].parent,e];let r=ce[t[e].parent][e],i=t[e].parent;for(;t[i].parent;)s.unshift(t[i].parent),r=pe(ce[t[i].parent][i],r),i=t[i].parent;return r.conversion=s,r}oe.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]},oe.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]},oe.rgb.hwb=function(e){const t=e[0],s=e[1];let r=e[2];const i=oe.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]},oe.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]},oe.rgb.keyword=function(e){const t=ae[e];if(t)return t;let s,r=1/0;for(const t of Object.keys(ne)){const i=ue(e,ne[t]);i<r&&(r=i,s=t)}return s},oe.keyword.rgb=function(e){return ne[e]},oe.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)]},oe.rgb.lab=function(e){const t=oe.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)]},oe.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},oe.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)]},oe.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]}},oe.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]},oe.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,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]},oe.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))]},oe.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]},oe.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)]},oe.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]},oe.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]},oe.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)]},oe.rgb.ansi16=function(e,t=null){const[s,r,i]=e;let n=null===t?oe.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},oe.hsv.ansi16=function(e){return oe.rgb.ansi16(oe.hsv.rgb(e),e[2])},oe.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)},oe.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]},oe.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]},oe.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},oe.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]},oe.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]},oe.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]},oe.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]},oe.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)]},oe.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]},oe.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]},oe.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)]},oe.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]},oe.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},oe.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},oe.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},oe.gray.hsl=function(e){return[0,0,e[0]]},oe.gray.hsv=oe.gray.hsl,oe.gray.hwb=function(e){return[0,100,e[0]]},oe.gray.cmyk=function(e){return[0,0,0,e[0]]},oe.gray.lab=function(e){return[e[0],0,0]},oe.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},oe.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const de={};Object.keys(ce).forEach((e=>{de[e]={},Object.defineProperty(de[e],"channels",{value:ce[e].channels}),Object.defineProperty(de[e],"labels",{value:ce[e].labels});const t=function(e){const t=le(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]=he(e,t))}return s}(e);Object.keys(t).forEach((s=>{const r=t[s];de[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),de[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 fe=de,me=re((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=fe);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}})})),ye=(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:ge}=process;let xe;function ve(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function be(e,t){if(0===xe)return 0;if(ye("color=16m")||ye("color=full")||ye("color=truecolor"))return 3;if(ye("color=256"))return 2;if(e&&!t&&void 0===xe)return 0;const s=xe||0;if("dumb"===ge.TERM)return s;if("win32"===process.platform){const e=w.default.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in ge)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in ge))||"codeship"===ge.CI_NAME?1:s;if("TEAMCITY_VERSION"in ge)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ge.TEAMCITY_VERSION)?1:0;if("truecolor"===ge.COLORTERM)return 3;if("TERM_PROGRAM"in ge){const e=parseInt((ge.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ge.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(ge.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ge.TERM)||"COLORTERM"in ge?1:s}ye("no-color")||ye("no-colors")||ye("color=false")||ye("color=never")?xe=0:(ye("color")||ye("colors")||ye("color=true")||ye("color=always"))&&(xe=1),"FORCE_COLOR"in ge&&(xe="true"===ge.FORCE_COLOR?1:"false"===ge.FORCE_COLOR?0:0===ge.FORCE_COLOR.length?1:Math.min(parseInt(ge.FORCE_COLOR,10),3));var Ee={supportsColor:function(e){return ve(be(e,e&&e.isTTY))},stdout:ve(be(!0,D.default.isatty(1))),stderr:ve(be(!0,D.default.isatty(2)))};var Ce={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 Ae=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,we=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,De=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Te=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,Se=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function Pe(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)):Se.get(e)||e}function ke(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(De)))throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`);s.push(i[2].replace(Te,((e,t,s)=>t?Pe(t):s)))}else s.push(r)}return s}function Ne(e){we.lastIndex=0;const t=[];let s;for(;null!==(s=we.exec(e));){const e=s[1];if(s[2]){const r=ke(e,s[2]);t.push([e].concat(r))}else t.push([e])}return t}function Ie(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 _e=(e,t)=>{const s=[],r=[];let i=[];if(t.replace(Ae,((t,n,a,o,c,u)=>{if(n)i.push(Pe(n));else if(o){const t=i.join("");i=[],r.push(0===s.length?t:Ie(e,s)(t)),s.push({inverse:a,styles:Ne(o)})}else if(c){if(0===s.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Ie(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:Oe}=Ee,{stringReplaceAll:Le,stringEncaseCRLFWithFirstIndex:Be}=Ce,{isArray:je}=Array,Me=["ansi","ansi","ansi256","ansi16m"],Re=Object.create(null);class Ue{constructor(e){return qe(e)}}const qe=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)=>Xe(t.template,...e),Object.setPrototypeOf(t,$e.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=Ue,t.template};function $e(e){return qe(e)}for(const[e,t]of Object.entries(me))Re[e]={get(){const s=Ge(this,Ve(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:s}),s}};Re.visible={get(){const e=Ge(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const ze=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of ze)Re[e]={get(){const{level:t}=this;return function(...s){const r=Ve(me.color[Me[t]][e](...s),me.color.close,this._styler);return Ge(this,r,this._isEmpty)}}};for(const e of ze){Re["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...s){const r=Ve(me.bgColor[Me[t]][e](...s),me.bgColor.close,this._styler);return Ge(this,r,this._isEmpty)}}}}const He=Object.defineProperties((()=>{}),{...Re,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),Ve=(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}},Ge=(e,t,s)=>{const r=(...e)=>je(e[0])&&je(e[0].raw)?We(r,Xe(r,...e)):We(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,He),r._generator=e,r._styler=t,r._isEmpty=s,r},We=(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=Le(t,s.close,s.open),s=s.parent;const n=t.indexOf("\n");return-1!==n&&(t=Be(t,i,r,n)),r+t+i};let Je;const Xe=(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===Je&&(Je=_e),Je(e,i.join(""))};Object.defineProperties($e.prototype,Re);const Ke=$e();Ke.supportsColor=Fe,Ke.stderr=$e({level:Oe?Oe.level:0}),Ke.stderr.supportsColor=Oe;var Ye=Ke;function Ze(e){return e?e instanceof Error?e.message:"string"==typeof e?e:"object"==typeof e&&null!==e?Ze(e.message)||Ze(e.errorMessage)||Ze(e.detail):null:null}function Qe(e,t){k.readdirSync(e).forEach((function(s,r){if(k.statSync(e+s).isDirectory())Qe(e+s+"/",t);else{var i=s.split("."),n=e.split("/")[e.split("/").length-2],a=i[i.length-1],o={path:e.lastIndexOf("/")===e.length-1?e.slice(0,-1):e,fileName:s,name:n,ext:a};t.push(o)}}))}var et=function(e){var t=[];return Qe(e,t),t};function tt(e){k.existsSync(e)&&(k.readdirSync(e).forEach((function(t,s){var r=e+"/"+t;k.statSync(r).isDirectory()?tt(r):k.unlinkSync(r)})),k.rmdirSync(e))}var st=re((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)}const a="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";var o={ImportMetaOutsideModule:{message:"import.meta may appear only with 'sourceType: \"module\"'",code:a},ImportOutsideModule:{message:"'import' and 'export' may appear only with 'sourceType: \"module\"'",code:a}};const c={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"},u=({type:e,prefix:t})=>"UpdateExpression"===e?c.UpdateExpression[String(t)]:c[e];var l={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.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:e})=>`Missing initializer in ${e} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',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.",DynamicImportPhaseRequiresImportExpressions:({phase:e})=>`'import.${e}(...)' can only be parsed when using the 'createImportExpressions' option.`,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.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:e})=>`Unsyntactic ${"BreakStatement"===e?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",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`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({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 ${u(e)}.`,InvalidLhsBinding:({ancestor:e})=>`Binding invalid left-hand side in ${u(e)}.`,InvalidLhsOptionalChaining:({ancestor:e})=>`Invalid optional chaining in the left-hand side of ${u(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 disallowed as a lexically bound name.",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 or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',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.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({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.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",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 p=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var h={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 ${u({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 d=["toMessage"],f=["message"];function m(e,t,s){Object.defineProperty(e,t,{enumerable:!1,configurable:!0,value:s})}function y(e){let{toMessage:t}=e,i=s(e,d);return function e(s,n){const a=new SyntaxError;return Object.assign(a,i,{loc:s,pos:s.index}),"missingPlugin"in n&&Object.assign(a,{missingPlugin:n.missingPlugin}),m(a,"clone",(function(t={}){var i;const{line:a,column:o,index:c}=null!=(i=t.loc)?i:s;return e(new r(a,o,c),Object.assign({},n,t.details))})),m(a,"details",n),Object.defineProperty(a,"message",{configurable:!0,get(){const e=`${t(n)} (${s.line}:${s.column})`;return this.message=e,e},set(e){Object.defineProperty(this,"message",{value:e,writable:!0})}}),a}}function g(e,t){if(Array.isArray(e))return t=>g(t,e[0]);const r={};for(const i of Object.keys(e)){const n=e[i],a="string"==typeof n?{message:()=>n}:"function"==typeof n?{message:n}:n,{message:o}=a,c=s(a,f),u="string"==typeof o?()=>o:o;r[i]=y(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:i,toMessage:u},t?{syntaxPlugin:t}:{},c))}return r}const x=Object.assign({},g(o),g(l),g({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."}),g`pipelineOperator`(h)),{defineProperty:v}=Object,b=(e,t)=>v(e,t,{enumerable:!1,value:e[t]});function E(e){return e.loc.start&&b(e.loc.start,"index"),e.loc.end&&b(e.loc.end,"index"),e}class C{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}}const A={brace:new C("{"),j_oTag:new C("<tag"),j_cTag:new C("</tag"),j_expr:new C("<tag>...</tag>",!0)};A.template=new C("`",!0);const w=!0,D=!0,T=!0,S=!0,P=!0;class k{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 N=new Map;function I(e,t={}){t.keyword=e;const s=U(e,t);return N.set(e,s),s}function _(e,t){return U(e,{beforeExpr:w,binop:t})}let F=-1;const O=[],L=[],B=[],j=[],M=[],R=[];function U(e,t={}){var s,r,i,n;return++F,L.push(e),B.push(null!=(s=t.binop)?s:-1),j.push(null!=(r=t.beforeExpr)&&r),M.push(null!=(i=t.startsExpr)&&i),R.push(null!=(n=t.prefix)&&n),O.push(new k(e,t)),F}function q(e,t={}){var s,r,i,n;return++F,N.set(e,F),L.push(e),B.push(null!=(s=t.binop)?s:-1),j.push(null!=(r=t.beforeExpr)&&r),M.push(null!=(i=t.startsExpr)&&i),R.push(null!=(n=t.prefix)&&n),O.push(new k("name",t)),F}const $={bracketL:U("[",{beforeExpr:w,startsExpr:D}),bracketHashL:U("#[",{beforeExpr:w,startsExpr:D}),bracketBarL:U("[|",{beforeExpr:w,startsExpr:D}),bracketR:U("]"),bracketBarR:U("|]"),braceL:U("{",{beforeExpr:w,startsExpr:D}),braceBarL:U("{|",{beforeExpr:w,startsExpr:D}),braceHashL:U("#{",{beforeExpr:w,startsExpr:D}),braceR:U("}"),braceBarR:U("|}"),parenL:U("(",{beforeExpr:w,startsExpr:D}),parenR:U(")"),comma:U(",",{beforeExpr:w}),semi:U(";",{beforeExpr:w}),colon:U(":",{beforeExpr:w}),doubleColon:U("::",{beforeExpr:w}),dot:U("."),question:U("?",{beforeExpr:w}),questionDot:U("?."),arrow:U("=>",{beforeExpr:w}),template:U("template"),ellipsis:U("...",{beforeExpr:w}),backQuote:U("`",{startsExpr:D}),dollarBraceL:U("${",{beforeExpr:w,startsExpr:D}),templateTail:U("...`",{startsExpr:D}),templateNonTail:U("...${",{beforeExpr:w,startsExpr:D}),at:U("@"),hash:U("#",{startsExpr:D}),interpreterDirective:U("#!..."),eq:U("=",{beforeExpr:w,isAssign:S}),assign:U("_=",{beforeExpr:w,isAssign:S}),slashAssign:U("_=",{beforeExpr:w,isAssign:S}),xorAssign:U("_=",{beforeExpr:w,isAssign:S}),moduloAssign:U("_=",{beforeExpr:w,isAssign:S}),incDec:U("++/--",{prefix:P,postfix:!0,startsExpr:D}),bang:U("!",{beforeExpr:w,prefix:P,startsExpr:D}),tilde:U("~",{beforeExpr:w,prefix:P,startsExpr:D}),doubleCaret:U("^^",{startsExpr:D}),doubleAt:U("@@",{startsExpr:D}),pipeline:_("|>",0),nullishCoalescing:_("??",1),logicalOR:_("||",1),logicalAND:_("&&",2),bitwiseOR:_("|",3),bitwiseXOR:_("^",4),bitwiseAND:_("&",5),equality:_("==/!=/===/!==",6),lt:_("</>/<=/>=",7),gt:_("</>/<=/>=",7),relational:_("</>/<=/>=",7),bitShift:_("<</>>/>>>",8),bitShiftL:_("<</>>/>>>",8),bitShiftR:_("<</>>/>>>",8),plusMin:U("+/-",{beforeExpr:w,binop:9,prefix:P,startsExpr:D}),modulo:U("%",{binop:10,startsExpr:D}),star:U("*",{binop:10}),slash:_("/",10),exponent:U("**",{beforeExpr:w,binop:11,rightAssociative:!0}),_in:I("in",{beforeExpr:w,binop:7}),_instanceof:I("instanceof",{beforeExpr:w,binop:7}),_break:I("break"),_case:I("case",{beforeExpr:w}),_catch:I("catch"),_continue:I("continue"),_debugger:I("debugger"),_default:I("default",{beforeExpr:w}),_else:I("else",{beforeExpr:w}),_finally:I("finally"),_function:I("function",{startsExpr:D}),_if:I("if"),_return:I("return",{beforeExpr:w}),_switch:I("switch"),_throw:I("throw",{beforeExpr:w,prefix:P,startsExpr:D}),_try:I("try"),_var:I("var"),_const:I("const"),_with:I("with"),_new:I("new",{beforeExpr:w,startsExpr:D}),_this:I("this",{startsExpr:D}),_super:I("super",{startsExpr:D}),_class:I("class",{startsExpr:D}),_extends:I("extends",{beforeExpr:w}),_export:I("export"),_import:I("import",{startsExpr:D}),_null:I("null",{startsExpr:D}),_true:I("true",{startsExpr:D}),_false:I("false",{startsExpr:D}),_typeof:I("typeof",{beforeExpr:w,prefix:P,startsExpr:D}),_void:I("void",{beforeExpr:w,prefix:P,startsExpr:D}),_delete:I("delete",{beforeExpr:w,prefix:P,startsExpr:D}),_do:I("do",{isLoop:T,beforeExpr:w}),_for:I("for",{isLoop:T}),_while:I("while",{isLoop:T}),_as:q("as",{startsExpr:D}),_assert:q("assert",{startsExpr:D}),_async:q("async",{startsExpr:D}),_await:q("await",{startsExpr:D}),_defer:q("defer",{startsExpr:D}),_from:q("from",{startsExpr:D}),_get:q("get",{startsExpr:D}),_let:q("let",{startsExpr:D}),_meta:q("meta",{startsExpr:D}),_of:q("of",{startsExpr:D}),_sent:q("sent",{startsExpr:D}),_set:q("set",{startsExpr:D}),_source:q("source",{startsExpr:D}),_static:q("static",{startsExpr:D}),_using:q("using",{startsExpr:D}),_yield:q("yield",{startsExpr:D}),_asserts:q("asserts",{startsExpr:D}),_checks:q("checks",{startsExpr:D}),_exports:q("exports",{startsExpr:D}),_global:q("global",{startsExpr:D}),_implements:q("implements",{startsExpr:D}),_intrinsic:q("intrinsic",{startsExpr:D}),_infer:q("infer",{startsExpr:D}),_is:q("is",{startsExpr:D}),_mixins:q("mixins",{startsExpr:D}),_proto:q("proto",{startsExpr:D}),_require:q("require",{startsExpr:D}),_satisfies:q("satisfies",{startsExpr:D}),_keyof:q("keyof",{startsExpr:D}),_readonly:q("readonly",{startsExpr:D}),_unique:q("unique",{startsExpr:D}),_abstract:q("abstract",{startsExpr:D}),_declare:q("declare",{startsExpr:D}),_enum:q("enum",{startsExpr:D}),_module:q("module",{startsExpr:D}),_namespace:q("namespace",{startsExpr:D}),_interface:q("interface",{startsExpr:D}),_type:q("type",{startsExpr:D}),_opaque:q("opaque",{startsExpr:D}),name:U("name",{startsExpr:D}),string:U("string",{startsExpr:D}),num:U("num",{startsExpr:D}),bigint:U("bigint",{startsExpr:D}),decimal:U("decimal",{startsExpr:D}),regexp:U("regexp",{startsExpr:D}),privateName:U("#name",{startsExpr:D}),eof:U("eof"),jsxName:U("jsxName"),jsxText:U("jsxText",{beforeExpr:!0}),jsxTagStart:U("jsxTagStart",{startsExpr:!0}),jsxTagEnd:U("jsxTagEnd"),placeholder:U("%%",{startsExpr:!0})};function z(e){return e>=93&&e<=132}function H(e){return e>=58&&e<=132}function V(e){return e>=58&&e<=136}function G(e){return M[e]}function W(e){return e>=129&&e<=131}function J(e){return e>=58&&e<=92}function X(e){return 34===e}function K(e){return L[e]}function Y(e){return B[e]}function Z(e){return e>=24&&e<=25}function Q(e){return O[e]}O[8].updateContext=e=>{e.pop()},O[5].updateContext=O[7].updateContext=O[23].updateContext=e=>{e.push(A.brace)},O[22].updateContext=e=>{e[e.length-1]===A.template?e.pop():e.push(A.template)},O[142].updateContext=e=>{e.push(A.j_expr,A.j_oTag)};let ee="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",te="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const se=new RegExp("["+ee+"]"),re=new RegExp("["+ee+te+"]");ee=te=null;const ie=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],ne=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function ae(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 oe(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&se.test(String.fromCharCode(e)):ae(e,ie)))}function ce(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&re.test(String.fromCharCode(e)):ae(e,ie)||ae(e,ne))))}const ue=["implements","interface","let","package","private","protected","public","static","yield"],le=["eval","arguments"],pe=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"]),he=new Set(ue),de=new Set(le);function fe(e,t){return t&&"await"===e||"enum"===e}function me(e,t){return fe(e,t)||he.has(e)}function ye(e){return de.has(e)}function ge(e,t){return me(e,t)||ye(e)}const xe=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"]);class ve{constructor(e){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=e}}class be{constructor(e,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=t}get inTopLevel(){return(1&this.currentScope().flags)>0}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get inClass(){return(64&this.currentThisScopeFlags())>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(64&e)>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(451&t)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new ve(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){return this.scopeStack.pop().flags}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);let i=r.names.get(e)||0;16&t?i|=4:(r.firstLexicalName||(r.firstLexicalName=e),i|=2),r.names.set(e,i),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.names.set(e,1|(r.names.get(e)||0)),this.maybeExportDefined(r,e),!(387&r.flags));--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(x.VarRedeclaration,r,{identifierName:t})}isRedeclaredInScope(e,t,s){if(!(1&s))return!1;if(8&s)return e.names.has(t);const r=e.names.get(t);return 16&s?(2&r)>0||!this.treatFunctionsAsVarInScope(e)&&(1&r)>0:(2&r)>0&&!(8&e.flags&&e.firstLexicalName===t)||!this.treatFunctionsAsVarInScope(e)&&(4&r)>0}checkLocalExport(e){const{name:t}=e;this.scopeStack[0].names.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(387&t)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(451&t&&!(4&t))return t}}}class Ee extends ve{constructor(...e){super(...e),this.declareFunctions=new Set}}class Ce extends be{createScope(e){return new Ee(e)}declareName(e,t,s){const r=this.currentScope();if(2048&t)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){if(super.isRedeclaredInScope(e,t,s))return!0;if(2048&s&&!e.declareFunctions.has(t)){const s=e.names.get(t);return(4&s)>0||(2&s)>0}return!1}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}}class Ae{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 we(e,t){void 0===e.trailingComments?e.trailingComments=t:e.trailingComments.unshift(...t)}function De(e,t){void 0===e.innerComments?e.innerComments=t:e.innerComments.unshift(...t)}function Te(e,t,s){let r=null,i=t.length;for(;null===r&&i>0;)r=t[--i];null===r||r.start>s.start?De(e,s.comments):we(r,s.comments)}class Se extends Ae{addComment(e){this.filename&&(e.loc.filename=this.filename);const{commentsLen:t}=this.state;this.comments.length!=t&&(this.comments.length=t),this.comments.push(e),this.state.commentsLen++}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&&we(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":Te(s,s.properties,e);break;case"CallExpression":case"OptionalCallExpression":Te(s,s.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Te(s,s.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Te(s,s.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":Te(s,s.specifiers,e);break;default:De(s,t)}else De(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)}resetPreviousIdentifierLeadingComments(e){const{commentStack:t}=this.state,{length:s}=t;0!==s&&(t[s-1].trailingNode===e?t[s-1].trailingNode=null:s>=2&&t[s-2].trailingNode===e&&(t[s-2].trailingNode=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 Pe=/\r\n?|[\n\u2028\u2029]/,ke=new RegExp(Pe.source,"g");function Ne(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}const Ie=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,_e=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g,Fe=new RegExp("(?=("+_e.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function Oe(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 Le{constructor(){this.flags=1024,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.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=139,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[A.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(1&this.flags)>0}set strict(e){e?this.flags|=1:this.flags&=-2}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)}get maybeInArrowParameters(){return(2&this.flags)>0}set maybeInArrowParameters(e){e?this.flags|=2:this.flags&=-3}get inType(){return(4&this.flags)>0}set inType(e){e?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(8&this.flags)>0}set noAnonFunctionType(e){e?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(16&this.flags)>0}set hasFlowComment(e){e?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(32&this.flags)>0}set isAmbientContext(e){e?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(64&this.flags)>0}set inAbstractClass(e){e?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(128&this.flags)>0}set inDisallowConditionalTypesContext(e){e?this.flags|=128:this.flags&=-129}get soloAwait(){return(256&this.flags)>0}set soloAwait(e){e?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(512&this.flags)>0}set inFSharpPipelineDirectBody(e){e?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(1024&this.flags)>0}set canStartJSXElement(e){e?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(2048&this.flags)>0}set containsEsc(e){e?this.flags|=2048:this.flags&=-2049}curPosition(){return new r(this.curLine,this.pos-this.lineStart,this.pos)}clone(){const e=new Le;return e.flags=this.flags,e.curLine=this.curLine,e.lineStart=this.lineStart,e.startLoc=this.startLoc,e.endLoc=this.endLoc,e.errors=this.errors.slice(),e.potentialArrowAt=this.potentialArrowAt,e.noArrowAt=this.noArrowAt.slice(),e.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),e.topicContext=this.topicContext,e.labels=this.labels.slice(),e.commentsLen=this.commentsLen,e.commentStack=this.commentStack.slice(),e.pos=this.pos,e.type=this.type,e.value=this.value,e.start=this.start,e.end=this.end,e.lastTokEndLoc=this.lastTokEndLoc,e.lastTokStartLoc=this.lastTokStartLoc,e.context=this.context.slice(),e.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,e.strictErrors=this.strictErrors,e.tokensLength=this.tokensLength,e}}var Be=function(e){return e>=48&&e<=57};const je={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Me={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 Re(e,t,s,r,i,n){const a=s,o=r,c=i;let u="",l=null,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(Ue(e,d,t,s)){u+=t.slice(p,s);break}if(92===d){u+=t.slice(p,s);const a=qe(t,s,r,i,"template"===e,n);null!==a.ch||l?u+=a.ch:l={pos:s,lineStart:r,curLine:i},({pos:s,lineStart:r,curLine:i}=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,firstInvalidLoc:l,lineStart:r,curLine:i,containsInvalid:!!l}}function Ue(e,t,s,r){return"template"===e?96===t||36===t&&123===s.charCodeAt(r+1):t===("double"===e?34:39)}function qe(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}=$e(e,t,s,r,2,!1,a,n)),o(null===i?null:String.fromCharCode(i))}case 117:{let i;return({code:i,pos:t}=He(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 $e(e,t,s,r,i,n,a,o){const c=t;let u;return({n:u,pos:t}=ze(e,t,s,r,16,i,n,!1,o,!a)),null===u&&(a?o.invalidEscapeSequence(c,s,r):t=c-1),{code:u,pos:t}}function ze(e,t,s,r,i,n,a,o,c,u){const l=t,p=16===i?je.hex:je.decBinOct,h=16===i?Me.hex:10===i?Me.dec:8===i?Me.oct:Me.bin;let d=!1,f=0;for(let l=0,m=null==n?1/0:n;l<m;++l){const n=e.charCodeAt(t);let l;if(95!==n||"bail"===o){if(l=n>=97?n-97+10:n>=65?n-65+10:Be(n)?n-48:1/0,l>=i){if(l<=9&&u)return{n:null,pos:t};if(l<=9&&c.invalidDigit(t,s,r,i))l=0;else{if(!a)break;l=0,d=!0}}++t,f=f*i+l}else{const i=e.charCodeAt(t-1),n=e.charCodeAt(t+1);if(o){if(Number.isNaN(n)||!h(n)||p.has(i)||p.has(n)){if(u)return{n:null,pos:t};c.unexpectedNumericSeparator(t,s,r)}}else{if(u)return{n:null,pos:t};c.numericSeparatorInEscapeSequence(t,s,r)}++t}}return t===l||null!=n&&t-l!==n||d?{n:null,pos:t}:{n:f,pos:t}}function He(e,t,s,r,i,n){let a;if(123===e.charCodeAt(t)){if(++t,({code:a,pos:t}=$e(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}=$e(e,t,s,r,4,!1,i,n));return{code:a,pos:t}}function Ve(e,t,s){return new r(s,e-t,e)}const Ge=new Set([103,109,115,105,121,117,100,118]);class We{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 Je extends Se{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(e,t,s,r)=>!!this.options.errorRecovery&&(this.raise(x.InvalidDigit,Ve(e,t,s),{radix:r}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(x.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(x.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(x.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(x.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(e,t,s)=>{this.recordStrictModeErrors(x.StrictNumericEscape,Ve(e,t,s))},unterminated:(e,t,s)=>{throw this.raise(x.UnterminatedString,Ve(e-1,t,s))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(x.StrictNumericEscape),unterminated:(e,t,s)=>{throw this.raise(x.UnterminatedTemplate,Ve(e,t,s))}}),this.state=new Le,this.state.init(e),this.input=t,this.length=t.length,this.comments=[],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 We(this.state)),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 Ie.lastIndex=e,Ie.test(this.input)?Ie.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(e){return _e.lastIndex=e,_e.test(this.input)?_e.lastIndex:e}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}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,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(139):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(e){let t;this.isLookahead||(t=this.state.curPosition());const s=this.state.pos,r=this.input.indexOf(e,s+2);if(-1===r)throw this.raise(x.UnterminatedComment,this.state.curPosition());for(this.state.pos=r+e.length,ke.lastIndex=s+2;ke.test(this.input)&&ke.lastIndex<=r;)++this.state.curLine,this.state.lineStart=ke.lastIndex;if(this.isLookahead)return;const n={type:"CommentBlock",value:this.input.slice(s+2,r),start:s,end:r+e.length,loc:new i(t,this.state.curPosition())};return this.options.tokens&&this.pushToken(n),n}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(;!Ne(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(Oe(s))++this.state.pos;else if(45===s&&!this.inModule&&this.options.annexB){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))}}else{if(60!==s||this.inModule||!this.options.annexB)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))}}}}}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(x.UnexpectedDigitAfterHash,this.state.curPosition());if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"bar"===this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===t?x.RecordExpressionHashIncorrectStartSyntaxType:x.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else oe(t)?(++this.state.pos,this.finishToken(138,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(138,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;!Ne(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(x.RecordExpressionBarIncorrectEndSyntaxType,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(x.TupleExpressionBarIncorrectEndSyntaxType,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);94===this.input.codePointAt(this.state.pos)&&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(x.TupleExpressionBarIncorrectStartSyntaxType,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(x.RecordExpressionBarIncorrectStartSyntaxType,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(oe(e))return void this.readWord(e)}throw this.raise(x.InvalidOrUnexpectedToken,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(x.UnterminatedRegExp,n(e,1));const t=this.input.charCodeAt(i);if(Ne(t))throw this.raise(x.UnterminatedRegExp,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(Ge.has(e))118===e?o.includes("u")&&this.raise(x.IncompatibleRegExpUVFlags,c()):117===e&&o.includes("v")&&this.raise(x.IncompatibleRegExpUVFlags,c()),o.includes(t)&&this.raise(x.DuplicateRegExpFlags,c());else{if(!ce(e)&&92!==e)break;this.raise(x.MalformedRegExpFlags,c())}++i,o+=t}this.state.pos=i,this.finishToken(137,{pattern:a,flags:o})}readInt(e,t,s=!1,r=!0){const{n:i,pos:n}=ze(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,t,s,r,this.errorHandlers_readInt,!1);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(x.InvalidDigit,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(x.InvalidDecimal,t);if(oe(this.codePointAtPos(this.state.pos)))throw this.raise(x.NumberIdentifier,this.state.curPosition());if(s){const e=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(135,e)}else this.finishToken(134,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(x.InvalidNumber,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(x.StrictOctalLiteral,s),!this.state.strict){const t=e.indexOf("_");t>0&&this.raise(x.ZeroDigitNumericSeparator,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(x.InvalidOrMissingExponent,s),r=!0,o=!0,l=this.input.charCodeAt(this.state.pos)),110===l&&((r||u)&&this.raise(x.InvalidBigIntLiteral,s),++this.state.pos,i=!0),109===l&&(this.expectPlugin("decimal",this.state.curPosition()),(o||u)&&this.raise(x.InvalidDecimal,s),++this.state.pos,a=!0),oe(this.codePointAtPos(this.state.pos)))throw this.raise(x.NumberIdentifier,this.state.curPosition());const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(i)return void this.finishToken(135,p);if(a)return void this.finishToken(136,p);const h=c?parseInt(p,8):parseFloat(p);this.finishToken(134,h)}readCodePoint(e){const{code:t,pos:s}=He(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}=Re(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(133,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const e=this.input[this.state.pos],{str:t,firstInvalidLoc:s,pos:i,curLine:n,lineStart:a}=Re("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=i+1,this.state.lineStart=a,this.state.curLine=n,s&&(this.state.firstInvalidTemplateEscapePos=new r(s.curLine,s.pos-s.lineStart,s.pos)),96===this.input.codePointAt(i)?this.finishToken(24,s?null:e+t+"`"):(this.state.pos++,this.finishToken(25,s?null:e+t+"${"))}recordStrictModeErrors(e,t){const s=t.index;this.state.strict&&!this.state.strictErrors.has(s)?this.raise(e,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(ce(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?oe:ce;if(117!==this.input.charCodeAt(++this.state.pos)){this.raise(x.MissingUnicodeEscape,this.state.curPosition()),r=this.state.pos-1;continue}++this.state.pos;const n=this.readCodePoint(!0);null!==n&&(i(n)||this.raise(x.EscapedCharNotAnIdentifier,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=N.get(t);void 0!==s?this.finishToken(s,K(s)):this.finishToken(132,t)}checkKeywordEscapes(){const{type:e}=this.state;J(e)&&this.state.containsEsc&&this.raise(x.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:K(e)})}raise(e,t,s={}){const i=e(t instanceof r?t:t.loc.start,s);if(!this.options.errorRecovery)throw i;return this.isLookahead||this.state.errors.push(i),i}raiseOverwrite(e,t,s={}){const i=t instanceof r?t:t.loc.start,n=i.index,a=this.state.errors;for(let t=a.length-1;t>=0;t--){const r=a[t];if(r.loc.index===n)return a[t]=e(i,s);if(r.loc.index<n)break}return this.raise(e,t,s)}updateContext(e){}unexpected(e,t){throw this.raise(x.UnexpectedToken,null!=e?e:this.state.startLoc,{expected:t?K(t):null})}expectPlugin(e,t){if(this.hasPlugin(e))return!0;throw this.raise(x.MissingPlugin,null!=t?t:this.state.startLoc,{missingPlugin:[e]})}expectOnePlugin(e){if(!e.some((e=>this.hasPlugin(e))))throw this.raise(x.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:e})}errorBuilder(e){return(t,s,r)=>{this.raise(e,Ve(t,s,r))}}}class Xe{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class Ke{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 Xe)}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(x.InvalidPrivateFieldResolution,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(x.PrivateNameRedeclaration,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(x.InvalidPrivateFieldResolution,t,{identifierName:e})}}class Ye{constructor(e=0){this.type=e}canBeArrowParameterDeclaration(){return 2===this.type||1===this.type}isCertainlyParameterDeclaration(){return 3===this.type}}class Ze extends Ye{constructor(e){super(e),this.declarationErrors=new Map}recordDeclarationError(e,t){const s=t.index;this.declarationErrors.set(s,[e,t])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}}class Qe{constructor(e){this.parser=void 0,this.stack=[new Ye],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,t){const s=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)}recordArrowParameterBindingError(e,t){const{stack:s}=this,r=s[s.length-1],i=t.loc.start;if(r.isCertainlyParameterDeclaration())this.parser.raise(e,i);else{if(!r.canBeArrowParameterDeclaration())return;r.recordDeclarationError(e,i)}}recordAsyncArrowParametersError(e){const{stack:t}=this;let s=t.length-1,r=t[s];for(;r.canBeArrowParameterDeclaration();)2===r.type&&r.recordDeclarationError(x.AwaitBindingIdentifier,e),r=t[--s]}validateAsPattern(){const{stack:e}=this,t=e[e.length-1];t.canBeArrowParameterDeclaration()&&t.iterateErrors((([t,s])=>{this.parser.raise(t,s);let r=e.length-2,i=e[r];for(;i.canBeArrowParameterDeclaration();)i.clearDeclarationError(s.index),i=e[--r]}))}}function et(){return new Ye}class tt{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 st(e,t){return(e?2:0)|(t?1:0)}class rt extends Je{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!(ce(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,this.state.startLoc);this.unexpected(null,e)}}canInsertSemicolon(){return this.match(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Pe.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return Fe.lastIndex=this.state.end,Fe.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=!0){(e?this.isLineTerminator():this.eat(13))||this.raise(x.MissingSemicolon,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(x.InvalidCoverInitializedName,s),null!=r&&this.raise(x.DuplicateProto,r),null!=i&&this.raise(x.UnexpectedPrivateField,i),null!=n&&this.unexpected(n)}isLiteralPropertyName(){return V(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)}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 tt;const o=this.classScope;this.classScope=new Ke(this);const c=this.expressionScope;return this.expressionScope=new Qe(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 it{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class nt{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 at=nt.prototype;function ot(e){const{type:t,start:s,end:r,loc:i,range:n,extra:a,name:o}=e,c=Object.create(at);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 ct(e){const{type:t,start:s,end:r,loc:i,range:n,extra:a}=e;if("Placeholder"===t)return function(e){return ot(e)}(e);const o=Object.create(at);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}at.__clone=function(){const e=new nt(void 0,this.start,this.loc.start),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 ut extends rt{startNode(){const e=this.state.startLoc;return new nt(this,e.index,e)}startNodeAt(e){return new nt(this,e.index,e)}startNodeAtNode(e){return this.startNodeAt(e.loc.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEndLoc)}finishNodeAt(e,t,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){e.start=t.index,e.loc.start=t,this.options.ranges&&(e.range[0]=t.index)}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.loc.start)}}const lt=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),pt=g`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}\`.`,EnumStringMemberInconsistentlyInitialized:({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.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({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 ht(e){return"type"===e.importKind||"typeof"===e.importKind}const dt={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};const ft=/\*?\s*@((?:no)?flow)\b/;const mt={__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:"♦"},yt=g`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 gt(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function xt(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return xt(e.object)+"."+xt(e.property);throw new Error("Node had unexpected type: "+e.type)}class vt extends ve{constructor(...e){super(...e),this.tsNames=new Map}}class bt extends be{constructor(...e){super(...e),this.importsStack=[]}createScope(e){return this.importsStack.push(new Set),new vt(e)}enter(e){256==e&&this.importsStack.push(new Set),super.enter(e)}exit(){const e=super.exit();return 256==e&&this.importsStack.pop(),e}hasImport(e,t){const s=this.importsStack.length;if(this.importsStack[s-1].has(e))return!0;if(!t&&s>1)for(let t=0;t<s-1;t++)if(this.importsStack[t].has(e))return!0;return!1}declareName(e,t,s){if(4096&t)return this.hasImport(e,!0)&&this.parser.raise(x.VarRedeclaration,s,{identifierName:e}),void this.importsStack[this.importsStack.length-1].add(e);const r=this.currentScope();let i=r.tsNames.get(e)||0;if(1024&t)return this.maybeExportDefined(r,e),void r.tsNames.set(e,16|i);super.declareName(e,t,s),2&t&&(1&t||(this.checkRedeclarationInScope(r,e,t,s),this.maybeExportDefined(r,e)),i|=1),256&t&&(i|=2),512&t&&(i|=4),128&t&&(i|=8),i&&r.tsNames.set(e,i)}isRedeclaredInScope(e,t,s){const r=e.tsNames.get(t);if((2&r)>0){if(256&s){return!!(512&s)!==(4&r)>0}return!0}return 128&s&&(8&r)>0?!!(2&e.names.get(t))&&!!(1&s):!!(2&s&&(1&r)>0)||super.isRedeclaredInScope(e,t,s)}checkLocalExport(e){const{name:t}=e;if(this.hasImport(t))return;for(let e=this.scopeStack.length-1;e>=0;e--){const s=this.scopeStack[e].tsNames.get(t);if((1&s)>0||(16&s)>0)return}super.checkLocalExport(e)}}const Et=e=>"ParenthesizedExpression"===e.type?Et(e.expression):e;class Ct extends ut{toAssignable(e,t=!1){var s,r;let i;switch(("ParenthesizedExpression"===e.type||null!=(s=e.extra)&&s.parenthesized)&&(i=Et(e),t?"Identifier"===i.type?this.expressionScope.recordArrowParameterBindingError(x.InvalidParenthesizedAssignment,e):"MemberExpression"===i.type||this.isOptionalMemberExpression(i)||this.raise(x.InvalidParenthesizedAssignment,e):this.raise(x.InvalidParenthesizedAssignment,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(x.RestTrailingComma,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(x.MissingEqInAssignment,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?x.PatternHasAccessor:x.PatternHasMethod,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(x.RestTrailingComma,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(x.RestTrailingComma,n):t&&this.raise(x.RestTrailingComma,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,1),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(e,t,s){const r=1&s,i=[];let n=!0;for(;!this.eat(e);)if(n?n=!1:this.expect(12),r&&this.match(12))i.push(null);else{if(this.eat(e))break;if(this.match(21)){if(i.push(this.parseAssignableListItemTypes(this.parseRestBinding(),s)),!this.checkCommaAfterRest(t)){this.expect(e);break}}else{const e=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(x.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)e.push(this.parseDecorator());i.push(this.parseAssignableListItem(s,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,startLoc:s}=this.state;return 21===t?this.parseBindingRestProperty(e):(138===t?(this.expectPlugin("destructuringPrivate",s),this.classScope.usePrivateName(this.state.value,s),e.key=this.parsePrivateName()):this.parsePropertyName(e),e.method=!1,this.parseObjPropValue(e,s,!1,!1,!0,!1))}parseAssignableListItem(e,t){const s=this.parseMaybeDefault();this.parseAssignableListItemTypes(s,e);const r=this.parseMaybeDefault(s.loc.start,s);return t.length&&(s.decorators=t),r}parseAssignableListItemTypes(e,t){return e}parseMaybeDefault(e,t){var s;if(null!=e||(e=this.state.startLoc),t=null!=(s=t)?s:this.parseBindingAtom(),!this.eat(29))return t;const r=this.startNodeAt(e);return r.left=t,r.right=this.parseMaybeAssignAllowIn(),this.finishNode(r,"AssignmentPattern")}isValidLVal(e,t,s){return((e,t)=>hasOwnProperty.call(e,t)&&e[t])({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},e)}isOptionalMemberExpression(e){return"OptionalMemberExpression"===e.type}checkLVal(e,{in:t,binding:s=64,checkClashes:r=!1,strictModeChanged:i=!1,hasParenthesizedAncestor:n=!1}){var a;const o=e.type;if(this.isObjectMethod(e))return;const c=this.isOptionalMemberExpression(e);if(c||"MemberExpression"===o)return c&&(this.expectPlugin("optionalChainingAssign",e.loc.start),"AssignmentExpression"!==t.type&&this.raise(x.InvalidLhsOptionalChaining,e,{ancestor:t})),void(64!==s&&this.raise(x.InvalidPropertyBindingPattern,e));if("Identifier"===o){this.checkIdentifier(e,s,i);const{name:t}=e;return void(r&&(r.has(t)?this.raise(x.ParamDupe,e):r.add(t)))}const u=this.isValidLVal(o,!(n||null!=(a=e.extra)&&a.parenthesized)&&"AssignmentExpression"===t.type,s);if(!0===u)return;if(!1===u){const r=64===s?x.InvalidLhs:x.InvalidLhsBinding;return void this.raise(r,e,{ancestor:t})}const[l,p]=Array.isArray(u)?u:[u,"ParenthesizedExpression"===o],h="ArrayPattern"===o||"ObjectPattern"===o?{type:o}:t;for(const t of[].concat(e[l]))t&&this.checkLVal(t,{in:h,binding:s,checkClashes:r,strictModeChanged:i,hasParenthesizedAncestor:p})}checkIdentifier(e,t,s=!1){this.state.strict&&(s?ge(e.name,this.inModule):ye(e.name))&&(64===t?this.raise(x.StrictEvalArguments,e,{referenceName:e.name}):this.raise(x.StrictEvalArgumentsBinding,e,{bindingName:e.name})),8192&t&&"let"===e.name&&this.raise(x.LetInLexicalBinding,e),64&t||this.declareNameFromIdentifier(e,t)}declareNameFromIdentifier(e,t){this.scope.declareName(e.name,t,e.loc.start)}checkToRestConversion(e,t){switch(e.type){case"ParenthesizedExpression":this.checkToRestConversion(e.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(x.InvalidRestAssignmentPattern,e)}}checkCommaAfterRest(e){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===e?x.RestTrailingComma:x.ElementAfterRest,this.state.startLoc),!0)}}function At(e){if(!e)throw new Error("Assert fail")}const wt=g`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.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({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'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",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.",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.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:e})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e}.`});function Dt(e){return"private"===e||"public"===e||"protected"===e}function Tt(e){return"in"===e||"out"===e}function St(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))&&Nt(e.object)}function Pt(e,t){var s;const{type:r}=e;if(null!=(s=e.extra)&&s.parenthesized)return!1;if(t){if("Literal"===r){const{value:t}=e;if("string"==typeof t||"boolean"==typeof t)return!0}}else if("StringLiteral"===r||"BooleanLiteral"===r)return!0;return!(!kt(e,t)&&!function(e,t){if("UnaryExpression"===e.type){const{operator:s,argument:r}=e;if("-"===s&&kt(r,t))return!0}return!1}(e,t))||("TemplateLiteral"===r&&0===e.expressions.length||!!St(e))}function kt(e,t){return t?"Literal"===e.type&&("number"==typeof e.value||"bigint"in e):"NumericLiteral"===e.type||"BigIntLiteral"===e.type}function Nt(e){return"Identifier"===e.type||"MemberExpression"===e.type&&!e.computed&&Nt(e.object)}const It=g`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});function _t(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 Ft(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 Ot=["minimal","fsharp","hack","smart"],Lt=["^^","@@","^","%","#"],Bt=["hash","bar"];const jt={estree:e=>class extends e{parse(){const e=E(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(E)),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;delete e.value,t.type="Literal",t.raw=t.extra.raw,t.value=t.extra.expressionValue;const s=e;return s.type="ExpressionStatement",s.expression=t,s.directive=t.extra.rawValue,delete t.extra,s}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){const i=super.parseObjectProperty(e,t,s,r);return i&&(i.kind="init",i.type="Property"),i}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(x.PatternHasAccessor,e.key):e.method?this.raise(x.PatternHasMethod,e.key):super.toAssignableObjectExpressionProp(e,t,s)}finishCallExpression(e,t){const s=super.finishCallExpression(e,t);if("Import"===s.callee.type){var r,i;if(s.type="ImportExpression",s.source=s.arguments[0],this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))s.options=null!=(r=s.arguments[1])?r:null,s.attributes=null!=(i=s.arguments[1])?i:null;delete s.arguments,delete s.callee}return s}toReferencedArguments(e){"ImportExpression"!==e.type&&super.toReferencedArguments(e)}parseExport(e,t){const s=this.state.lastTokStartLoc,r=super.parseExport(e,t);switch(r.type){case"ExportAllDeclaration":r.exported=null;break;case"ExportNamedDeclaration":1===r.specifiers.length&&"ExportNamespaceSpecifier"===r.specifiers[0].type&&(r.type="ExportAllDeclaration",r.exported=r.specifiers[0].exported,delete r.specifiers);case"ExportDefaultDeclaration":{var i;const{declaration:e}=r;"ClassDeclaration"===(null==e?void 0:e.type)&&(null==(i=e.decorators)?void 0:i.length)>0&&e.start===r.start&&this.resetStartLocation(r,s)}}return r}parseSubscript(e,t,s,r){const i=super.parseSubscript(e,t,s,r);if(r.optionalChainMember){if("OptionalMemberExpression"!==i.type&&"OptionalCallExpression"!==i.type||(i.type=i.type.substring(8)),r.stop){const e=this.startNodeAtNode(i);return e.expression=i,this.finishNode(e,"ChainExpression")}}else"MemberExpression"!==i.type&&"CallExpression"!==i.type||(i.optional=!1);return i}isOptionalMemberExpression(e){return"ChainExpression"===e.type?"MemberExpression"===e.expression.type:super.isOptionalMemberExpression(e)}hasPropertyAsPrivateName(e){return"ChainExpression"===e.type&&(e=e.expression),super.hasPropertyAsPrivateName(e)}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 E(super.finishNodeAt(e,t,s))}resetStartLocation(e,t){super.resetStartLocation(e,t),E(e)}resetEndLocation(e,t=this.state.lastTokEndLoc){super.resetEndLocation(e,t),E(e)}},jsx:e=>class extends e{jsxReadToken(){let e="",t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(yt.UnterminatedJsxContent,this.state.startLoc);const s=this.input.charCodeAt(this.state.pos);switch(s){case 60:case 123:return this.state.pos===this.state.start?void(60===s&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(142)):super.getTokenFromCode(s)):(e+=this.input.slice(t,this.state.pos),void this.finishToken(141,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:Ne(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(x.UnterminatedString,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):Ne(r)?(t+=this.input.slice(s,this.state.pos),t+=this.jsxReadNewLine(!1),s=this.state.pos):++this.state.pos}t+=this.input.slice(s,this.state.pos++),this.finishToken(133,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=mt[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(ce(e)||45===e);this.finishToken(140,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){const e=this.startNode();return this.match(140)?e.name=this.state.value:J(this.state.type)?e.name=K(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){const e=this.state.startLoc,t=this.jsxParseIdentifier();if(!this.eat(14))return t;const s=this.startNodeAt(e);return s.namespace=t,s.name=this.jsxParseIdentifier(),this.finishNode(s,"JSXNamespacedName")}jsxParseElementName(){const e=this.state.startLoc;let t=this.jsxParseNamespacedName();if("JSXNamespacedName"===t.type)return t;for(;this.eat(16);){const s=this.startNodeAt(e);s.object=t,s.property=this.jsxParseIdentifier(),t=this.finishNode(s,"JSXMemberExpression")}return t}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.setContext(A.brace),this.next(),e=this.jsxParseExpressionContainer(e,A.j_oTag),"JSXEmptyExpression"===e.expression.type&&this.raise(yt.AttributeIsEmpty,e),e;case 142:case 133:return this.parseExprAtom();default:throw this.raise(yt.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){const e=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.setContext(A.j_expr),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(A.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(A.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){const t=this.startNodeAt(e);return this.eat(143)?this.finishNode(t,"JSXOpeningFragment"):(t.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(t))}jsxParseOpeningElementAfterName(e){const t=[];for(;!this.match(56)&&!this.match(143);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(56),this.expect(143),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e){const t=this.startNodeAt(e);return this.eat(143)?this.finishNode(t,"JSXClosingFragment"):(t.name=this.jsxParseElementName(),this.expect(143),this.finishNode(t,"JSXClosingElement"))}jsxParseElementAt(e){const t=this.startNodeAt(e),s=[],r=this.jsxParseOpeningElementAt(e);let i=null;if(!r.selfClosing){e:for(;;)switch(this.state.type){case 142:if(e=this.state.startLoc,this.next(),this.eat(56)){i=this.jsxParseClosingElementAt(e);break e}s.push(this.jsxParseElementAt(e));break;case 141:s.push(this.parseExprAtom());break;case 5:{const e=this.startNode();this.setContext(A.brace),this.next(),this.match(21)?s.push(this.jsxParseSpreadChild(e)):s.push(this.jsxParseExpressionContainer(e,A.j_expr));break}default:this.unexpected()}gt(r)&&!gt(i)&&null!==i?this.raise(yt.MissingClosingTagFragment,i):!gt(r)&&gt(i)?this.raise(yt.MissingClosingTagElement,i,{openingTagName:xt(r.name)}):gt(r)||gt(i)||xt(i.name)!==xt(r.name)&&this.raise(yt.MissingClosingTagElement,i,{openingTagName:xt(r.name)})}if(gt(r)?(t.openingFragment=r,t.closingFragment=i):(t.openingElement=r,t.closingElement=i),t.children=s,this.match(47))throw this.raise(yt.UnwrappedAdjacentJSXElements,this.state.startLoc);return gt(r)?this.finishNode(t,"JSXFragment"):this.finishNode(t,"JSXElement")}jsxParseElement(){const e=this.state.startLoc;return this.next(),this.jsxParseElementAt(e)}setContext(e){const{context:t}=this.state;t[t.length-1]=e}parseExprAtom(e){return this.match(141)?this.parseLiteral(this.state.value,"JSXText"):this.match(142)?this.jsxParseElement():this.match(47)&&33!==this.input.charCodeAt(this.state.pos)?(this.replaceToken(142),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(e){const t=this.curContext();if(t!==A.j_expr){if(t===A.j_oTag||t===A.j_cTag){if(oe(e))return void this.jsxReadWord();if(62===e)return++this.state.pos,void this.finishToken(143);if((34===e||39===e)&&t===A.j_oTag)return void this.jsxReadString(e)}if(60===e&&this.state.canStartJSXElement&&33!==this.input.charCodeAt(this.state.pos+1))return++this.state.pos,void this.finishToken(142);super.getTokenFromCode(e)}else this.jsxReadToken()}updateContext(e){const{context:t,type:s}=this.state;if(56===s&&142===e)t.splice(-2,2,A.j_cTag),this.state.canStartJSXElement=!1;else if(142===s)t.push(A.j_oTag);else if(143===s){const s=t[t.length-1];s===A.j_oTag&&56===e||s===A.j_cTag?(t.pop(),this.state.canStartJSXElement=t[t.length-1]===A.j_expr):(this.setContext(A.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=function(e){return j[e]}(s)}},flow:e=>class extends e{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return Ce}shouldParseTypes(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){133!==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=ft.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;}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(110),this.state.lastTokStartLoc.index>t.index+1&&this.raise(pt.UnexpectedSpaceBetweenModuloChecks,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){return this.match(80)?this.flowParseDeclareClass(e):this.match(68)?this.flowParseDeclareFunction(e):this.match(74)?this.flowParseDeclareVariable(e):this.eatContextual(127)?this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(pt.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(e)):this.isContextual(130)?this.flowParseDeclareTypeAlias(e):this.isContextual(131)?this.flowParseDeclareOpaqueType(e):this.isContextual(129)?this.flowParseDeclareInterface(e):this.match(82)?this.flowParseDeclareExportDeclaration(e,t):void 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(133)?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(130)||this.match(87)||this.raise(pt.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(e)):(this.expectContextual(125,pt.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(pt.DuplicateDeclareModuleExports,e),"ES"===r&&this.raise(pt.AmbiguousDeclareModuleKind,e),r="CommonJS",i=!0):("CommonJS"===r&&this.raise(pt.AmbiguousDeclareModuleKind,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(130)||this.isContextual(129))&&!t){const e=this.state.value;throw this.raise(pt.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:e,suggestion:dt[e]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(131)?(e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131)?("ExportNamedDeclaration"===(e=this.parseExport(e,null)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e):void this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(111),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,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?17:8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12));if(t){if(e.implements=[],e.mixins=[],this.eatContextual(117))do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12));if(this.eatContextual(113))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,!1),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){"_"===e&&this.raise(pt.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(e,t,s){lt.has(e)&&this.raise(s?pt.AssignReservedType:pt.UnexpectedReservedType,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,8201,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(130),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,8201,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(pt.MissingTypeParamDefault,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(142)?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(129),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(134)||this.match(133)?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.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(118)){const t=this.lookahead();14!==t.type&&17!==t.type&&(this.next(),n=this.state.startLoc,e=!1)}if(e&&this.isContextual(106)){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(99)||this.isContextual(104)){V(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(pt.UnexpectedExplicitInexactInObject,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(pt.InexactInsideExact,this.state.lastTokStartLoc):this.raise(pt.InexactInsideNonObject,this.state.lastTokStartLoc),r&&this.raise(pt.InexactVariance,r),null):(n||this.raise(pt.UnexpectedSpreadType,this.state.lastTokStartLoc),null!=s&&this.unexpected(s),r&&this.raise(pt.SpreadVariance,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.loc.start)),"get"!==i&&"set"!==i||this.flowCheckGetterSetterParams(e),!n&&"constructor"===e.key.name&&e.value.this&&this.raise(pt.ThisParamBannedInConstructor,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?pt.GetterMayNotHaveThisParam:pt.SetterMayNotHaveThisParam,e.value.this),s!==t&&this.raise("get"===e.kind?x.BadGetterArity:x.BadSetterArity,e),"set"===e.kind&&e.value.rest&&this.raise(x.BadSetterRestParameter,e)}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(e,t){null!=e||(e=this.state.startLoc);let s=t||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const t=this.startNodeAt(e);t.qualification=s,t.id=this.flowParseRestrictedIdentifier(!0),s=this.finishNode(t,"QualifiedTypeIdentifier")}return s}flowParseGenericType(e,t){const s=this.startNodeAt(e);return s.typeParameters=null,s.id=this.flowParseQualifiedTypeIdentifier(e,t),this.match(47)&&(s.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(s,"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(pt.ThisParamMustBeFirst,i),t=this.parseIdentifier(a),this.eat(17)&&(s=!0,a&&this.raise(pt.ThisParamMayNotBeOptional,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.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){switch(s.name){case"any":return this.finishNode(t,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(t,"BooleanTypeAnnotation");case"mixed":return this.finishNode(t,"MixedTypeAnnotation");case"empty":return this.finishNode(t,"EmptyTypeAnnotation");case"number":return this.finishNode(t,"NumberTypeAnnotation");case"string":return this.finishNode(t,"StringTypeAnnotation");case"symbol":return this.finishNode(t,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(s.name),this.flowParseGenericType(e,s)}}flowParsePrimaryType(){const e=this.state.startLoc,t=this.startNode();let s,r,i=!1;const n=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,r=this.flowParseTupleType(),this.state.noAnonFunctionType=n,r;case 47:return t.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),s=this.flowParseFunctionTypeParams(),t.params=s.params,t.rest=s.rest,t.this=s._this,this.expect(11),this.expect(19),t.returnType=this.flowParseType(),this.finishNode(t,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(z(this.state.type)||this.match(78)){const e=this.lookahead().type;i=17!==e&&14!==e}else i=!0;if(i){if(this.state.noAnonFunctionType=!1,r=this.flowParseType(),this.state.noAnonFunctionType=n,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),r;this.eat(12)}return s=r?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(r)]):this.flowParseFunctionTypeParams(),t.params=s.params,t.rest=s.rest,t.this=s._this,this.expect(11),this.expect(19),t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation");case 133:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return t.value=this.match(85),this.next(),this.finishNode(t,"BooleanLiteralTypeAnnotation");case 53:if("-"===this.state.value){if(this.next(),this.match(134))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",t);if(this.match(135))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",t);throw this.raise(pt.UnexpectedSubtractionOperand,this.state.startLoc)}return void this.unexpected();case 134:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 135:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(t,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(t,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(t,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(t,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(J(this.state.type)){const e=K(this.state.type);return this.next(),super.createIdentifier(t,e)}if(z(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,t,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){const e=this.state.startLoc;let t=this.flowParsePrimaryType(),s=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const r=this.startNodeAt(e),i=this.eat(18);s=s||i,this.expect(0),!i&&this.match(3)?(r.elementType=t,this.next(),t=this.finishNode(r,"ArrayTypeAnnotation")):(r.objectType=t,r.indexType=this.flowParseType(),this.expect(3),s?(r.optional=i,t=this.finishNode(r,"OptionalIndexedAccessType")):t=this.finishNode(r,"IndexedAccessType"))}return t}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.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(132===this.state.type&&"_"===this.state.value){const e=this.state.startLoc,t=this.parseIdentifier();return this.flowParseGenericType(e,t)}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){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)}parseStatementLike(e){if(this.state.strict&&this.isContextual(129)){if(H(this.lookahead().type)){const e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(126)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}const t=super.parseStatementLike(e);return void 0!==this.flowPragma||this.isValidDirective(t)||(this.flowPragma=null),t}parseExpressionStatement(e,t,s){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,s)}shouldParseExportDeclaration(){const{type:e}=this.state;return W(e)||this.shouldParseEnums()&&126===e?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;return W(e)||this.shouldParseEnums()&&126===e?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(126)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,s){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(s),e}this.expect(17);const r=this.state.clone(),i=this.state.noArrowAt,n=this.startNodeAt(t);let{consequent:a,failed:o}=this.tryParseConditionalConsequent(),[c,u]=this.getArrowLikeExpressions(a);if(o||u.length>0){const e=[...i];if(u.length>0){this.state=r,this.state.noArrowAt=e;for(let t=0;t<u.length;t++)e.push(u[t].start);({consequent:a,failed:o}=this.tryParseConditionalConsequent()),[c,u]=this.getArrowLikeExpressions(a)}o&&c.length>1&&this.raise(pt.AmbiguousConditionalArrow,r.startLoc),o&&1===c.length&&(this.state=r,e.push(c[0].start),this.state.noArrowAt=e,({consequent:a,failed:o}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(a,!0),this.state.noArrowAt=i,this.expect(14),n.test=e,n.consequent=a,n.alternate=this.forwardNoArrowParamsConversionAt(n,(()=>this.parseMaybeAssign(void 0,void 0))),this.finishNode(n,"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){if(e=super.parseParenItem(e,t),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){const s=this.startNodeAt(t);return s.expression=e,s.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(s,"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)}parseExportDeclaration(e){if(this.isContextual(130)){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(131)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}if(this.isContextual(129)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseInterface(t)}if(this.shouldParseEnums()&&this.isContextual(126)){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(130)||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(125)){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(pt.DeclareClassElement,r):t.value&&this.raise(pt.DeclareClassFieldInitializer,t.value))}isIterator(e){return"iterator"===e||"asyncIterator"===e}readIterator(){const e=super.readWord1(),t="@@"+e;this.isIterator(e)&&this.state.inType||this.raise(x.InvalidIdentifier,this.state.curPosition(),{identifierName:t}),this.finishToken(132,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);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&&oe(s)}(e,t,this.input.charCodeAt(this.state.pos+2))?super.getTokenFromCode(e):(this.state.pos+=2,this.readIterator()):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(pt.TypeCastInPattern,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(pt.ThisParamBannedInConstructor,t)}else if("MethodDefinition"===t.type&&i&&t.value.params){const e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(pt.ThisParamBannedInConstructor,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(113)){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(pt.GetterMayNotHaveThisParam,s):this.isThisParam(s)&&this.raise(pt.SetterMayNotHaveThisParam,s)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,s,r,i,n,a){let o;e.variance&&this.unexpected(e.variance.loc.start),delete e.variance,this.match(47)&&!n&&(o=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const c=super.parseObjPropValue(e,t,s,r,i,n,a);return o&&((c.value||c).typeParameters=o),c}parseAssignableListItemTypes(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(pt.PatternIsOptional,e),this.isThisParam(e)&&this.raise(pt.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(pt.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(pt.ThisParamNoDefault,e),this.resetEndLocation(e),e}parseMaybeDefault(e,t){const s=super.parseMaybeDefault(e,t);return"AssignmentPattern"===s.type&&s.typeAnnotation&&s.right.start<s.typeAnnotation.start&&this.raise(pt.TypeBeforeInitializer,s.typeAnnotation),s}checkImportReflection(e){super.checkImportReflection(e),e.module&&"value"!==e.importKind&&this.raise(pt.ImportReflectionHasImportType,e.specifiers[0].loc.start)}parseImportSpecifierLocal(e,t,s){t.local=ht(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,s))}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){if(!e)return!0;const t=this.lookaheadCharCode();return 123===t||42===t}return!e&&this.isContextual(87)}applyImportPhase(e,t,s,r){if(super.applyImportPhase(e,t,s,r),t){if(!s&&this.match(65))return;e.exportKind="type"===s?s:"value"}else"type"===s&&this.match(55)&&this.unexpected(),e.importKind="type"===s||"typeof"===s?s:"value"}parseImportSpecifier(e,t,s,r,i){const n=e.imported;let a=null;"Identifier"===n.type&&("type"===n.name?a="type":"typeof"===n.name&&(a="typeof"));let o=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){const t=this.parseIdentifier(!0);null===a||H(this.state.type)?(e.imported=n,e.importKind=null,e.local=this.parseIdentifier()):(e.imported=t,e.importKind=a,e.local=ot(t))}else{if(null!==a&&H(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=a;else{if(t)throw this.raise(x.ImportBindingIsString,e,{importName:n.value});e.imported=n,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():(o=!0,e.local=ot(e.imported))}const c=ht(e);return s&&c&&this.raise(pt.ImportTypeShorthandOnlyInPureImport,e),(s||c)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),!o||s||c||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(142)||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!==A.j_oTag&&n!==A.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(pt.UnexpectedTypeParameterBeforeAsyncArrowFunction,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(pt.UnexpectedTokenAfterTypeParameter,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(pt.ThisParamMustBeFirst,e.params[t]);super.checkParams(e,t,s,r)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&-1===this.state.noArrowAt.indexOf(this.state.start))}parseSubscripts(e,t,s){if("Identifier"===e.type&&"async"===e.name&&-1!==this.state.noArrowAt.indexOf(t.index)){this.next();const s=this.startNodeAt(t);s.callee=e,s.arguments=super.parseCallExpressionArguments(11,!1),e=this.finishNode(s,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.match(47)){const r=this.state.clone(),i=this.tryParse((e=>this.parseAsyncArrowWithTypeParameters(t)||e()),r);if(!i.error&&!i.aborted)return i.node;const n=this.tryParse((()=>super.parseSubscripts(e,t,s)),r);if(n.node&&!n.error)return n.node;if(i.node)return this.state=i.failState,i.node;if(n.node)return this.state=n.failState,n.node;throw i.error||n.error}return super.parseSubscripts(e,t,s)}parseSubscript(e,t,s,r){if(this.match(18)&&this.isLookaheadToken_lt()){if(r.optionalChainMember=!0,s)return r.stop=!0,e;this.next();const i=this.startNodeAt(t);return i.callee=e,i.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),i.arguments=this.parseCallExpressionArguments(11,!1),i.optional=!0,this.finishCallExpression(i,!0)}if(!s&&this.shouldParseTypes()&&this.match(47)){const s=this.startNodeAt(t);s.callee=e;const i=this.tryParse((()=>(s.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),s.arguments=super.parseCallExpressionArguments(11,!1),r.optionalChainMember&&(s.optional=!1),this.finishCallExpression(s,r.optionalChainMember))));if(i.node)return i.error&&(this.state=i.failState),i.node}return super.parseSubscript(e,t,s,r)}parseNewCallee(e){super.parseNewCallee(e);let t=null;this.shouldParseTypes()&&this.match(47)&&(t=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node),e.typeArguments=t}parseAsyncArrowWithTypeParameters(e){const t=this.startNodeAt(e);if(this.parseFunctionParams(t,!1),this.parseArrow(t))return super.parseArrowExpression(t,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(pt.UnterminatedFlowComment,this.state.curPosition()),s}skipBlockComment(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/");{if(this.state.hasFlowComment)throw this.raise(pt.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();const e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0)}}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(x.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(pt.EnumBooleanMemberNotInitialized,e,{memberName:s,enumName:t})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(t.explicitType?"symbol"===t.explicitType?pt.EnumInvalidMemberInitializerSymbolType:pt.EnumInvalidMemberInitializerPrimaryType:pt.EnumInvalidMemberInitializerUnknownType,e,t)}flowEnumErrorNumberMemberNotInitialized(e,t){this.raise(pt.EnumNumberMemberNotInitialized,e,t)}flowEnumErrorStringMemberInconsistentlyInitialized(e,t){this.raise(pt.EnumStringMemberInconsistentlyInitialized,e,t)}flowEnumMemberInit(){const e=this.state.startLoc,t=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{const s=this.parseNumericLiteral(this.state.value);return t()?{type:"number",loc:s.loc.start,value:s}:{type:"invalid",loc:e}}case 133:{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(pt.EnumInvalidMemberName,a,{memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:e}),s.has(c)&&this.raise(pt.EnumDuplicateMemberName,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.flowEnumErrorStringMemberInconsistentlyInitialized(t,{enumName:s});return t}for(const e of t)this.flowEnumErrorStringMemberInconsistentlyInitialized(e,{enumName:s});return e}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(102))return null;if(!z(this.state.type))throw this.raise(pt.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:e});const{value:t}=this.state;return this.next(),"boolean"!==t&&"number"!==t&&"string"!==t&&"symbol"!==t&&this.raise(pt.EnumInvalidExplicitType,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(pt.EnumInconsistentMemberValues,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{constructor(...e){super(...e),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:wt.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:wt.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:wt.InvalidModifierOnTypeParameter})}getScopeHandler(){return bt}tsIsIdentifier(){return z(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(138)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!z(this.state.type)&&58!==this.state.type&&75!==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({allowedModifiers:e,disallowedModifiers:t,stopOnStartOfClassStaticBlock:s,errorTemplate:r=wt.InvalidModifierOnTypeMember},i){const n=(e,t,s,r)=>{t===s&&i[r]&&this.raise(wt.InvalidModifiersOrder,e,{orderedModifiers:[s,r]})},a=(e,t,s,r)=>{(i[s]&&t===r||i[r]&&t===s)&&this.raise(wt.IncompatibleModifiers,e,{modifiers:[s,r]})};for(;;){const{startLoc:o}=this.state,c=this.tsParseModifier(e.concat(null!=t?t:[]),s);if(!c)break;Dt(c)?i.accessibility?this.raise(wt.DuplicateAccessibilityModifier,o,{modifier:c}):(n(o,c,c,"override"),n(o,c,c,"static"),n(o,c,c,"readonly"),i.accessibility=c):Tt(c)?(i[c]&&this.raise(wt.DuplicateModifier,o,{modifier:c}),i[c]=!0,n(o,c,"in","out")):(hasOwnProperty.call(i,c)?this.raise(wt.DuplicateModifier,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")),i[c]=!0),null!=t&&t.includes(c)&&this.raise(r,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)}}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.lastTokStartLoc.index}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(133)||this.raise(wt.UnsupportedImportTypeArgument,this.state.startLoc),e.argument=super.parseExprAtom(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(e.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(e.options=super.parseMaybeAssignAllowIn(),this.eat(12))),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")}tsParseTypeParameter(e){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(142)?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(wt.EmptyTypeParameters,t),-1!==s.value&&this.addExtra(t,"trailingComma",s.value),this.finishNode(t,"TSTypeParameterDeclaration")}tsFillSignature(e,t){const s=19===e,r="typeAnnotation";t.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),t.parameters=this.tsParseBindingListForSignature(),(s||this.match(e))&&(t[r]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){const e=super.parseBindingList(11,41,2);for(const t of e){const{type:e}=t;"AssignmentPattern"!==e&&"TSParameterProperty"!==e||this.raise(wt.UnsupportedSignatureParameterKind,t,{type:e})}return 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);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(wt.ReadonlyForMethodSignature,e);const r=s;r.kind&&this.match(47)&&this.raise(wt.AccesorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,r),this.tsParseTypeMemberSemicolon();const i="parameters",n="typeAnnotation";if("get"===r.kind)r[i].length>0&&(this.raise(x.BadGetterArity,this.state.curPosition()),this.isThisParam(r[i][0])&&this.raise(wt.AccesorCannotDeclareThisParameter,this.state.curPosition()));else if("set"===r.kind){if(1!==r[i].length)this.raise(x.BadSetterArity,this.state.curPosition());else{const e=r[i][0];this.isThisParam(e)&&this.raise(wt.AccesorCannotDeclareThisParameter,this.state.curPosition()),"Identifier"===e.type&&e.optional&&this.raise(wt.SetAccesorCannotHaveOptionalParameter,this.state.curPosition()),"RestElement"===e.type&&this.raise(wt.SetAccesorCannotHaveRestParameter,this.state.curPosition())}r[n]&&this.raise(wt.SetAccesorCannotHaveReturnType,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({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e);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(122):(this.isContextual(122)&&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(122)):this.eatContextual(122)&&(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;return e.elementTypes.forEach((e=>{const{type:s}=e;!t||"TSRestType"===s||"TSOptionalType"===s||"TSNamedTupleMember"===s&&e.optional||this.raise(wt.OptionalTypeBeforeRequired,e),t||(t="TSNamedTupleMember"===s&&e.optional||"TSOptionalType"===s)})),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{startLoc:e}=this.state,t=this.eat(21);let s,r,i,n;const a=H(this.state.type)?this.lookaheadCharCode():null;if(58===a)s=!0,i=!1,r=this.parseIdentifier(!0),this.expect(14),n=this.tsParseType();else if(63===a){i=!0;const e=this.state.startLoc,t=this.state.value,a=this.tsParseNonArrayType();58===this.lookaheadCharCode()?(s=!0,r=this.createIdentifier(this.startNodeAt(e),t),this.expect(17),this.expect(14),n=this.tsParseType()):(s=!1,n=a,this.expect(17))}else n=this.tsParseType(),i=this.eat(17),s=this.eat(14);if(s){let e;r?(e=this.startNodeAtNode(r),e.optional=i,e.label=r,e.elementType=n,this.eat(17)&&(e.optional=!0,this.raise(wt.TupleOptionalAfterType,this.state.lastTokStartLoc))):(e=this.startNodeAtNode(n),e.optional=i,this.raise(wt.InvalidTupleMemberLabel,n),e.label=n,e.elementType=this.tsParseType()),n=this.finishNode(e,"TSNamedTupleMember")}else if(i){const e=this.startNodeAtNode(n);e.typeAnnotation=n,n=this.finishNode(e,"TSOptionalType")}if(t){const t=this.startNodeAt(e);t.typeAnnotation=n,n=this.finishNode(t,"TSRestType")}return n}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();switch(this.state.type){case 134:case 135:case 133:case 85:case 86:e.literal=super.parseExprAtom();break;default:this.unexpected()}return 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(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 133:case 134:case 135:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if("-"===this.state.value){const e=this.startNode(),t=this.lookahead();return 134!==t.type&&135!==t.type&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{const{type:e}=this.state;if(z(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()}}}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(wt.UnexpectedReadonly,e)}}tsParseInferType(){const e=this.startNode();this.expectContextual(115);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>=121&&e<=123}(this.state.type)&&!this.state.containsEsc;return e?this.tsParseTypeOperator():this.isContextual(115)?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(z(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,1),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(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(109!==this.state.type)return!1;const e=this.state.containsEsc;return this.next(),!(!z(this.state.type)&&!this.match(78))&&(e&&this.raise(x.InvalidEscapedReservedWord,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(){At(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(124)&&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(wt.ReservedTypeAssertion,this.state.startLoc);const e=this.startNode();return e.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType()))),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){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(wt.EmptyHeritageClauseType,t,{token:e}),s}tsParseInterfaceDeclaration(e,t={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),t.declare&&(e.declare=!0),z(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(wt.MissingInterfaceName,this.state.startLoc)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),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),this.expect(29),this.isContextual(114)&&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){if(this.match(e))return this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsInType((()=>(this.expect(e),this.tsParseType())))}tsNextThenParseType(){return this.tsInType((()=>(this.next(),this.tsParseType())))}tsParseEnumMember(){const e=this.startNode();return e.id=this.match(133)?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(126),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?8971:8459),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(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(112)?(e.global=!0,e.id=this.parseIdentifier()):this.match(133)?e.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t,s){e.isExport=s||!1,e.id=t||this.parseIdentifier(),this.checkIdentifier(e.id,4096),this.expect(29);const r=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==r.type&&this.raise(wt.ImportAliasHasImportType,r),e.moduleReference=r,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&40===this.lookaheadCharCode()}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const e=this.startNode();return this.expectContextual(119),this.expect(10),this.match(133)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,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();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(100)&&(s=74,t="let"),this.tsInAmbientContext((()=>{switch(s){case 68:return e.declare=!0,super.parseFunctionStatement(e,!1,!1);case 80:return e.declare=!0,this.parseClass(e,!0,!1);case 126:return this.tsParseEnumDeclaration(e,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(e);case 75:case 74: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));case 129:{const t=this.tsParseInterfaceDeclaration(e,{declare:!0});if(t)return t}default:if(z(s))return this.tsParseDeclaration(e,this.state.value,!0,null)}}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(e,t,s){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);return t&&(t.declare=!0),t}case"global":if(this.match(5)){this.scope.enter(256),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,s)}}tsParseDeclaration(e,t,s,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(s)&&(this.match(80)||z(this.state.type)))return this.tsParseAbstractDeclaration(e,r);break;case"module":if(this.tsCheckLineTerminator(s)){if(this.match(133))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){if(!this.match(47))return;const t=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const s=this.tsTryParseAndCatch((()=>{const t=this.startNodeAt(e);return t.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(t),t.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),t}));return this.state.maybeInArrowParameters=t,s?super.parseArrowExpression(s,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(wt.EmptyTypeArguments,e):this.state.inType||this.curContext()!==A.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return function(e){return e>=124&&e<=130}(this.state.type)}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const s=this.state.startLoc,r={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},r);const i=r.accessibility,n=r.override,a=r.readonly;4&e||!(i||a||n)||this.raise(wt.UnexpectedParameterModifier,s);const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o,e);const c=this.parseMaybeDefault(o.loc.start,o);if(i||a||n){const e=this.startNodeAt(s);return t.length&&(e.decorators=t),i&&(e.accessibility=i),a&&(e.readonly=a),n&&(e.override=n),"Identifier"!==c.type&&"AssignmentPattern"!==c.type&&this.raise(wt.UnsupportedParameterPropertyKind,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)}tsDisallowOptionalPattern(e){for(const t of e.params)"Identifier"!==t.type&&t.optional&&!this.state.isAmbientContext&&this.raise(wt.PatternIsOptional,t)}setArrowFunctionParameters(e,t,s){super.setArrowFunctionParameters(e,t,s),this.tsDisallowOptionalPattern(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(wt.DeclareFunctionHasImplementation,e),e.declare)?super.parseFunctionBodyAndFinish(e,r,s):(this.tsDisallowOptionalPattern(e),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(wt.UnexpectedTypeAnnotation,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){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const s=this.startNodeAt(t);return s.expression=e,this.finishNode(s,"TSNonNullExpression")}let i=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(s)return r.stop=!0,e;r.optionalChainMember=i=!0,this.next()}if(this.match(47)||this.match(51)){let n;const a=this.tsTryParseAndCatch((()=>{if(!s&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t);if(e)return e}const a=this.tsParseTypeArgumentsInExpression();if(!a)return;if(i&&!this.match(10))return void(n=this.state.curPosition());if(Z(this.state.type)){const s=super.parseTaggedTemplateExpression(e,t,r);return s.typeParameters=a,s}if(!s&&this.eat(10)){const s=this.startNodeAt(t);return s.callee=e,s.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(s.arguments),s.typeParameters=a,r.optionalChainMember&&(s.optional=i),this.finishCallExpression(s,r.optionalChainMember)}const o=this.state.type;if(48===o||52===o||10!==o&&G(o)&&!this.hasPrecedingLineBreak())return;const c=this.startNodeAt(t);return c.expression=e,c.typeParameters=a,this.finishNode(c,"TSInstantiationExpression")}));if(n&&this.unexpected(n,10),a)return"TSInstantiationExpression"===a.type&&(this.match(16)||this.match(18)&&40!==this.lookaheadCharCode())&&this.raise(wt.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),a}return super.parseSubscript(e,t,s,r)}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){let r;if(Y(58)>s&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(r=this.isContextual(120)))){const i=this.startNodeAt(t);return i.expression=e,i.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?(r&&this.raise(x.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType()))),this.finishNode(i,r?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(i,t,s)}return super.parseExprOp(e,t,s)}checkReservedWord(e,t,s,r){this.state.isAmbientContext||super.checkReservedWord(e,t,s,r)}checkImportReflection(e){super.checkImportReflection(e),e.module&&"value"!==e.importKind&&this.raise(wt.ImportReflectionHasImportType,e.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){const t=this.lookaheadCharCode();return e?123===t||42===t:61!==t}return!e&&this.isContextual(87)}applyImportPhase(e,t,s,r){super.applyImportPhase(e,t,s,r),t?e.exportKind="type"===s?"type":"value":e.importKind="type"===s||"typeof"===s?s:"value"}parseImport(e){if(this.match(133))return e.importKind="value",super.parseImport(e);let t;if(z(this.state.type)&&61===this.lookaheadCharCode())return e.importKind="value",this.tsParseImportEqualsDeclaration(e);if(this.isContextual(130)){const s=this.parseMaybeImportPhase(e,!1);if(61===this.lookaheadCharCode())return this.tsParseImportEqualsDeclaration(e,s);t=super.parseImportSpecifiersAndAfter(e,s)}else t=super.parseImport(e);return"type"===t.importKind&&t.specifiers.length>1&&"ImportDefaultSpecifier"===t.specifiers[0].type&&this.raise(wt.TypeImportCannotSpecifyDefaultAndNamed,t),t}parseExport(e,t){if(this.match(83)){this.next();let t=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?t=this.parseMaybeImportPhase(e,!1):e.importKind="value",this.tsParseImportEqualsDeclaration(e,t,!0)}if(this.eat(29)){const t=e;return t.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(t,"TSExportAssignment")}if(this.eatContextual(93)){const t=e;return this.expectContextual(128),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,"TSNamespaceExportDeclaration")}return super.parseExport(e,t)}isAbstractClass(){return this.isContextual(124)&&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(129)){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(wt.InitializerNotAllowedInAmbientContext,s):Pt(s,this.hasPlugin("estree"))||this.raise(wt.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,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(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){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=>Dt(t)?e.accessibility===t:!!e[t]))}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&123===this.lookaheadCharCode()}parseClassMember(e,t,s){const r=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:r,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:wt.InvalidModifierOnTypeParameterPositions},t);const i=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,r)&&this.raise(wt.StaticBlockCannotHaveModifier,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(wt.IndexSignatureHasAbstract,t),t.accessibility&&this.raise(wt.IndexSignatureHasAccessibility,t,{modifier:t.accessibility}),t.declare&&this.raise(wt.IndexSignatureHasDeclare,t),void(t.override&&this.raise(wt.IndexSignatureHasOverride,t));!this.state.inAbstractClass&&t.abstract&&this.raise(wt.NonAbstractClassHasAbstractMethod,t),t.override&&(s.hadSuperClass||this.raise(wt.OverrideNotInSubClass,t)),super.parseClassMemberWithIsStatic(e,t,s,r)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(wt.ClassMethodHasReadonly,e),e.declare&&this.match(10)&&this.raise(wt.ClassMethodHasDeclare,e)}parseExpressionStatement(e,t,s){return("Identifier"===t.type?this.tsParseExpressionStatement(e,t,s):void 0)||super.parseExpressionStatement(e,t,s)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(e,t,s){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,t,s);const r=this.tryParse((()=>super.parseConditional(e,t)));return r.node?(r.error&&(this.state=r.failState),r.node):(r.error&&super.setOptionalParametersError(s,r.error),e)}parseParenItem(e,t){if(e=super.parseParenItem(e,t),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){const s=this.startNodeAt(t);return s.expression=e,s.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(s,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext((()=>this.parseExportDeclaration(e)));const t=this.state.startLoc,s=this.eatContextual(125);if(s&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(wt.ExpectedAmbientAfterExportDeclare,this.state.startLoc);const r=z(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return r?(("TSInterfaceDeclaration"===r.type||"TSTypeAliasDeclaration"===r.type||s)&&(e.exportKind="type"),s&&(this.resetStartLocation(r,t),r.declare=!0),r):null}parseClassId(e,t,s,r){if((!t||s)&&this.isContextual(113))return;super.parseClassId(e,t,s,e.declare?1024:8331);const i=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);i&&(e.typeParameters=i)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));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(wt.DeclareClassFieldHasInitializer,this.state.startLoc),e.abstract&&this.match(29)){const{key:t}=e;this.raise(wt.AbstractPropertyHasInitializer,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(wt.PrivateElementHasAbstract,e),e.accessibility&&this.raise(wt.PrivateElementHasAccessibility,e,{modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(wt.AccessorCannotBeOptional,e),super.parseClassAccessorProperty(e)}pushClassMethod(e,t,s,r,i,n){const a=this.tsTryParseTypeParameters(this.tsParseConstModifier);a&&i&&this.raise(wt.ConstructorHasTypeParameters,a);const{declare:o=!1,kind:c}=t;!o||"get"!==c&&"set"!==c||this.raise(wt.DeclareAccessor,t,{kind:c}),a&&(t.typeParameters=a),super.pushClassMethod(e,t,s,r,i,n)}pushClassPrivateMethod(e,t,s,r){const i=this.tsTryParseTypeParameters(this.tsParseConstModifier);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(113)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,t,s,r,i,n,a){const o=this.tsTryParseTypeParameters(this.tsParseConstModifier);return o&&(e.typeParameters=o),super.parseObjPropValue(e,t,s,r,i,n,a)}parseFunctionParams(e,t){const s=this.tsTryParseTypeParameters(this.tsParseConstModifier);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;let o,c,u,l;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(o=this.state.clone(),c=this.tryParse((()=>super.parseMaybeAssign(e,t)),o),!c.error)return c.node;const{context:s}=this.state,r=s[s.length-1];r!==A.j_oTag&&r!==A.j_expr||s.pop()}if(!(null!=(s=c)&&s.error||this.match(47)))return super.parseMaybeAssign(e,t);o&&o!==this.state||(o=this.state.clone());const p=this.tryParse((s=>{var r,i;l=this.tsParseTypeParameters(this.tsParseConstModifier);const n=super.parseMaybeAssign(e,t);return("ArrowFunctionExpression"!==n.type||null!=(r=n.extra)&&r.parenthesized)&&s(),0!==(null==(i=l)?void 0:i.params.length)&&this.resetStartLocationFromNode(n,l),n.typeParameters=l,n}),o);if(!p.error&&!p.aborted)return l&&this.reportReservedArrowTypeParam(l),p.node;if(!c&&(At(!this.hasPlugin("jsx")),u=this.tryParse((()=>super.parseMaybeAssign(e,t)),o),!u.error))return u.node;if(null!=(r=c)&&r.node)return this.state=c.failState,c.node;if(p.node)return this.state=p.failState,l&&this.reportReservedArrowTypeParam(l),p.node;if(null!=(i=u)&&i.node)return this.state=u.failState,u.node;throw(null==(n=c)?void 0:n.error)||p.error||(null==(a=u)?void 0:a.error)}reportReservedArrowTypeParam(e){var t;1!==e.params.length||e.params[0].constraint||null!=(t=e.extra)&&t.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(wt.ReservedArrowTypeParam,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,t){if(!(2&t))return e;this.eat(17)&&(e.optional=!0);const s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s),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"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":t?this.expressionScope.recordArrowParameterBindingError(wt.UnexpectedTypeCastInParameter,e):this.raise(wt.UnexpectedTypeCastInParameter,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"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,t);break;default:super.toAssignable(e,t)}}checkToRestConversion(e,t){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,s){return((e,t)=>hasOwnProperty.call(e,t)&&e[t])({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(64!==s||!t)&&["expression",!0],TSSatisfiesExpression:(64!==s||!t)&&["expression",!0],TSTypeAssertion:(64!==s||!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){const s=super.parseMaybeDefault(e,t);return"AssignmentPattern"===s.type&&s.typeAnnotation&&s.right.start<s.typeAnnotation.start&&this.raise(wt.TypeAnnotationAfterAssign,s.typeAnnotation),s}getTokenFromCode(e){if(this.state.inType){if(62===e)return void this.finishOp(48,1);if(60===e)return void this.finishOp(47,1)}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,t){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(t,this.parseClass(e,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(wt.NonClassMethodPropertyHasAbstractModifer,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(wt.AbstractMethodHasImplementation,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,i){return!t&&r?(this.parseTypeOnlyImportExportSpecifier(e,!0,s),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,t,s,r,s?4098:4096))}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();H(this.state.type)?(o=!0,a=e,n=t?this.parseIdentifier():this.parseModuleExportName(),c=!1):(n=s,c=!1)}else H(this.state.type)?(c=!1,n=t?this.parseIdentifier():this.parseModuleExportName()):(o=!0,a=e)}else H(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?wt.TypeModifierIsUsedInTypeImports:wt.TypeModifierIsUsedInTypeExports,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]=ot(e[r])),t&&this.checkIdentifier(e[i],o?4098:4096)}},v8intrinsic:e=>class extends e{parseV8Intrinsic(){if(this.match(54)){const e=this.state.startLoc,t=this.startNode();if(this.next(),z(this.state.type)){const e=this.parseIdentifierName(),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(144)){const t=this.startNode();return this.next(),this.assertNoSpace(),t.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),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){37===e&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(144,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)}chStartsBindingIdentifier(e,t){if(super.chStartsBindingIdentifier(e,t))return!0;return 144===this.lookahead().type}verifyBreakContinue(e,t){e.label&&"Placeholder"===e.label.type||super.verifyBreakContinue(e,t)}parseExpressionStatement(e,t){var s;if("Placeholder"!==t.type||null!=(s=t.extra)&&s.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.parseStatementOrSloppyAnnexBFunctionDeclaration(),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();const i=this.state.strict,n=this.parsePlaceholder("Identifier");if(n){if(!(this.match(81)||this.match(144)||this.match(5))){if(s||!t)return e.id=null,e.body=this.finishPlaceholder(n,"ClassBody"),this.finishNode(e,r);throw this.raise(It.ClassNameIsRequired,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,t){const s=this.parsePlaceholder("Identifier");if(!s)return super.parseExport(e,t);if(!this.isContextual(98)&&!this.match(12))return e.specifiers=[],e.source=null,e.declaration=this.finishPlaceholder(s,"Declaration"),this.finishNode(e,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const r=this.startNode();return r.exported=s,e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],super.parseExport(e,t)}isExportDefaultSpecifier(){if(this.match(65)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(K(144),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e,t){var s;return!(null==(s=e.specifiers)||!s.length)||super.maybeParseExportDefaultSpecifier(e,t)}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(98)&&!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(98),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(It.UnexpectedSpace,this.state.lastTokEndLoc)}}},Mt=Object.keys(jt),Rt={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};class Ut extends Ct{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(x.RecordNoProto,i);s.used&&(r?null===r.doubleProtoLoc&&(r.doubleProtoLoc=i.loc.start):this.raise(x.DuplicateProto,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(139)||this.unexpected(),this.finalizeRemainingComments(),e.comments=this.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.startLoc,s=this.parseMaybeAssign(e);if(this.match(12)){const r=this.startNodeAt(t);for(r.expressions=[s];this.eat(12);)r.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(r.expressions),this.finishNode(r,"SequenceExpression")}return s}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.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let e=this.parseYield();return t&&(e=t.call(this,e,s)),e}let r;e?r=!1:(e=new it,r=!0);const{type:i}=this.state;(10===i||z(i))&&(this.state.potentialArrowAt=this.state.start);let n=this.parseMaybeConditional(e);if(t&&(n=t.call(this,n,s)),function(e){return e>=29&&e<=33}(this.state.type)){const t=this.startNodeAt(s),r=this.state.value;if(t.operator=r,this.match(29)){this.toAssignable(n,!0),t.left=n;const r=s.index;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)}else t.left=n;return this.next(),t.right=this.parseMaybeAssign(),this.checkLVal(n,{in:this.finishNode(t,"AssignmentExpression")}),t}return r&&this.checkExpressionErrors(e,!0),n}parseMaybeConditional(e){const t=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseExprOps(e);return this.shouldExitDescending(r,s)?r:this.parseConditional(r,t,e)}parseConditional(e,t,s){if(this.eat(17)){const s=this.startNodeAt(t);return s.test=e,s.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),s.alternate=this.parseMaybeAssign(),this.finishNode(s,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){const t=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(r,s)?r:this.parseExprOp(r,t,-1)}parseExprOp(e,t,s){if(this.isPrivateName(e)){const t=this.getPrivateNameSV(e);(s>=Y(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(x.PrivateInExpectedIn,e,{identifierName:t}),this.classScope.usePrivateName(t,e.loc.start)}const r=this.state.type;if(function(e){return e>=39&&e<=59}(r)&&(this.prodParam.hasIn||!this.match(58))){let i=Y(r);if(i>s){if(39===r){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,t)}const n=this.startNodeAt(t);n.left=e,n.operator=this.state.value;const a=41===r||42===r,o=40===r;if(o&&(i=Y(42)),this.next(),39===r&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(x.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);n.right=this.parseExprOpRightExpr(r,i);const c=this.finishNode(n,a||o?"LogicalExpression":"BinaryExpression"),u=this.state.type;if(o&&(41===u||42===u)||a&&40===u)throw this.raise(x.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(c,t,s)}}return e}parseExprOpRightExpr(e,t){const s=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(108))throw this.raise(x.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),s)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(t)))}return this.parseExprOpBaseRightExpr(e,t)}parseExprOpBaseRightExpr(e,t){const s=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,function(e){return 57===e}(e)?t-1:t)}parseHackPipeBody(){var e;const{startLoc:t}=this.state,s=this.parseMaybeAssign();return!p.has(s.type)||null!=(e=s.extra)&&e.parenthesized||this.raise(x.PipeUnparenthesizedBody,t,{type:s.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(x.PipeTopicUnused,t),s}checkExponentialAfterUnary(e){this.match(57)&&this.raise(x.UnexpectedTokenUnaryExponentiation,e.argument)}parseMaybeUnary(e,t){const s=this.state.startLoc,r=this.isContextual(96);if(r&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(s);return t||this.checkExponentialAfterUnary(e),e}const i=this.match(34),n=this.startNode();if(function(e){return R[e]}(this.state.type)){n.operator=this.state.value,n.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const s=this.match(89);if(this.next(),n.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&s){const e=n.argument;"Identifier"===e.type?this.raise(x.StrictDelete,n):this.hasPropertyAsPrivateName(e)&&this.raise(x.DeletePrivateField,n)}if(!i)return t||this.checkExponentialAfterUnary(n),this.finishNode(n,"UnaryExpression")}const a=this.parseUpdate(n,i,e);if(r){const{type:e}=this.state;if((this.hasPlugin("v8intrinsic")?G(e):G(e)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(x.AwaitNotInAsyncContext,s),this.parseAwait(s)}return a}parseUpdate(e,t,s){if(t){const t=e;return this.checkLVal(t.argument,{in:this.finishNode(t,"UpdateExpression")}),e}const r=this.state.startLoc;let i=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,!1))return i;for(;X(this.state.type)&&!this.canInsertSemicolon();){const e=this.startNodeAt(r);e.operator=this.state.value,e.prefix=!1,e.argument=i,this.next(),this.checkLVal(i,{in:i=this.finishNode(e,"UpdateExpression")})}return i}parseExprSubscripts(e){const t=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseExprAtom(e);return this.shouldExitDescending(r,s)?r:this.parseSubscripts(r,t)}parseSubscripts(e,t,s){const r={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,s,r),r.maybeAsyncArrow=!1}while(!r.stop);return e}parseSubscript(e,t,s,r){const{type:i}=this.state;if(!s&&15===i)return this.parseBind(e,t,s,r);if(Z(i))return this.parseTaggedTemplateExpression(e,t,r);let n=!1;if(18===i){if(s&&(this.raise(x.OptionalChainingNoNew,this.state.startLoc),40===this.lookaheadCharCode()))return r.stop=!0,e;r.optionalChainMember=n=!0,this.next()}if(!s&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,r,n);{const s=this.eat(0);return s||n||this.eat(16)?this.parseMember(e,t,r,s,n):(r.stop=!0,e)}}parseMember(e,t,s,r,i){const n=this.startNodeAt(t);return n.object=e,n.computed=r,r?(n.property=this.parseExpression(),this.expect(3)):this.match(138)?("Super"===e.type&&this.raise(x.SuperPrivateField,t),this.classScope.usePrivateName(this.state.value,this.state.startLoc),n.property=this.parsePrivateName()):n.property=this.parseIdentifier(!0),s.optionalChainMember?(n.optional=i,this.finishNode(n,"OptionalMemberExpression")):this.finishNode(n,"MemberExpression")}parseBind(e,t,s,r){const i=this.startNodeAt(t);return i.object=e,this.next(),i.callee=this.parseNoCallExpr(),r.stop=!0,this.parseSubscripts(this.finishNode(i,"BindExpression"),t,s)}parseCoverCallAndAsyncArrowHead(e,t,s,r){const i=this.state.maybeInArrowParameters;let n=null;this.state.maybeInArrowParameters=!0,this.next();const a=this.startNodeAt(t);a.callee=e;const{maybeAsyncArrow:o,optionalChainMember:c}=s;o&&(this.expressionScope.enter(new Ze(2)),n=new it),c&&(a.optional=r),a.arguments=r?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Import"===e.type,"Super"!==e.type,a,n);let u=this.finishCallExpression(a,c);return o&&this.shouldParseAsyncArrow()&&!r?(s.stop=!0,this.checkDestructuringPrivate(n),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),u=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),u)):(o&&(this.checkExpressionErrors(n,!0),this.expressionScope.exit()),this.toReferencedArguments(u)),this.state.maybeInArrowParameters=i,u}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,s){const r=this.startNodeAt(t);return r.tag=e,r.quasi=this.parseTemplate(!0),s.optionalChainMember&&this.raise(x.OptionalChainingNoTemplate,t),this.finishNode(r,"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}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(e,t){if("Import"===e.callee.type)if(2===e.arguments.length&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),0===e.arguments.length||e.arguments.length>2)this.raise(x.ImportCallArity,e,{maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(const t of e.arguments)"SpreadElement"===t.type&&this.raise(x.ImportCallSpreadArgument,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("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")||this.raise(x.ImportCallArgumentTrailingComma,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&&De(e,t.innerComments),t.callee.trailingComments&&De(e,t.callee.trailingComments),e}parseNoCallExpr(){const e=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,!0)}parseExprAtom(e){let t,s=null;const{type:r}=this.state;switch(r){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):this.match(10)?this.options.createImportExpressions?this.parseImportCall(t):this.finishNode(t,"Import"):(this.raise(x.UnsupportedImport,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 134:return this.parseNumericLiteral(this.state.value);case 135:return this.parseBigIntLiteral(this.state.value);case 136:return this.parseDecimalLiteral(this.state.value);case 133: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:s=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(s,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;const e=t.callee=this.parseNoCallExpr();if("MemberExpression"===e.type)return this.finishNode(t,"BindExpression");throw this.raise(x.UnsupportedBind,e)}case 138:return this.raise(x.PrivateInExpectedIn,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);this.unexpected();break}case 47:{const e=this.input.codePointAt(this.nextTokenStart());oe(e)||62===e?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(z(r)){if(this.isContextual(127)&&123===this.lookaheadInLineCharCode())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.parseAsyncFunctionExpression(this.startNodeAtNode(s));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}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);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?x.PrimaryTopicNotAllowed:x.PipeTopicUnbound,t),this.registerTopicReference(),this.finishNode(e,r)}throw this.raise(x.PipeTopicUnconfiguredToken,t,{token:K(r)})}testTopicReferenceConfiguration(e,t,s){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:K(s)}]);case"smart":return 27===s;default:throw this.raise(x.PipeTopicRequiresHackPipes,t)}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(st(!0,this.prodParam.hasYield));const t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(x.LineTerminatorBeforeArrow,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(x.UnexpectedSuper,e):this.raise(x.SuperNotAllowed,e),this.match(10)||this.match(0)||this.match(16)||this.raise(x.UnsupportedSuper,e),this.finishNode(e,"Super")}parsePrivateName(){const e=this.startNode(),t=this.startNodeAt(n(this.state.startLoc,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(103)?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(x.UnsupportedMetaProperty,e.property,{target:t.name,onlyValidPropertyName:s}),this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(x.ImportMetaOutsideModule,t),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){const t=this.isContextual(105);if(t||this.unexpected(),this.expectPlugin(t?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(x.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),e.phase=t?"source":"defer",this.parseImportCall(e)}return 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.startLoc;let s;this.next(),this.expressionScope.enter(new Ze(1));const r=this.state.maybeInArrowParameters,i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const n=this.state.startLoc,a=[],o=new it;let c,u,l=!0;for(;!this.match(11);){if(l)l=!1;else if(this.expect(12,null===o.optionalParametersLoc?null:o.optionalParametersLoc),this.match(11)){u=this.state.startLoc;break}if(this.match(21)){const e=this.state.startLoc;if(c=this.state.startLoc,a.push(this.parseParenItem(this.parseRestBinding(),e)),!this.checkCommaAfterRest(41))break}else a.push(this.parseMaybeAssignAllowIn(o,this.parseParenItem))}const p=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=r,this.state.inFSharpPipelineDirectBody=i;let h=this.startNodeAt(t);return e&&this.shouldParseArrow(a)&&(h=this.parseArrow(h))?(this.checkDestructuringPrivate(o),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(h,a,!1),h):(this.expressionScope.exit(),a.length||this.unexpected(this.state.lastTokStartLoc),u&&this.unexpected(u),c&&this.unexpected(c),this.checkExpressionErrors(o,!0),this.toReferencedListDeep(a,!0),a.length>1?(s=this.startNodeAt(n),s.expressions=a,this.finishNode(s,"SequenceExpression"),this.resetEndLocation(s,p)):s=a[0],this.wrapParenthesis(t,s))}wrapParenthesis(e,t){if(!this.options.createParenthesizedExpressions)return this.addExtra(t,"parenthesized",!0),this.addExtra(t,"parenStart",e.index),this.takeSurroundingComments(t,e.index,this.state.lastTokEndLoc.index),t;const s=this.startNodeAt(e);return s.expression=t,this.finishNode(s,"ParenthesizedExpression")}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t){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.options.allowNewTargetOutsideFunction||this.raise(x.UnexpectedNewTarget,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){const t=this.match(83),s=this.parseNoCallExpr();e.callee=s,!t||"Import"!==s.type&&"ImportExpression"!==s.type||this.raise(x.ImportCallNotNewExpression,s)}parseTemplateElement(e){const{start:t,startLoc:s,end:r,value:i}=this.state,a=t+1,o=this.startNodeAt(n(s,1));null===i&&(e||this.raise(x.InvalidEscapeSequenceTemplate,n(this.state.firstInvalidTemplateEscapePos,1)));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(x.InvalidRecordProperty,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.lastTokStartLoc.index),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(x.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)t.push(this.parseDecorator());const s=this.startNode();let r,i=!1,n=!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.startLoc);let a=this.eat(55);this.parsePropertyNamePrefixOperator(s);const o=this.state.containsEsc,c=this.parsePropertyName(s,e);if(!a&&!o&&this.maybeAsyncOrAccessorProp(s)){const e=c.name;"async"!==e||this.hasPrecedingLineBreak()||(i=!0,this.resetPreviousNodeTrailingComments(c),a=this.eat(55),this.parsePropertyName(s)),"get"!==e&&"set"!==e||(n=!0,this.resetPreviousNodeTrailingComments(c),s.kind=e,this.match(55)&&(a=!0,this.raise(x.AccessorIsGenerator,this.state.curPosition(),{kind:e}),this.next()),this.parsePropertyName(s))}return this.parseObjPropValue(s,r,a,i,!1,n,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?x.BadGetterArity:x.BadSetterArity,e),"set"===e.kind&&"RestElement"===(null==(t=r[r.length-1])?void 0:t.type)&&this.raise(x.BadSetterRestParameter,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){if(e.shorthand=!1,this.eat(14))return e.value=s?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(r),this.finishNode(e,"ObjectProperty");if(!e.computed&&"Identifier"===e.key.type){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),s)e.value=this.parseMaybeDefault(t,ot(e.key));else if(this.match(29)){const s=this.state.startLoc;null!=r?null===r.shorthandAssignLoc&&(r.shorthandAssignLoc=s):this.raise(x.InvalidCoverInitializedName,s),e.value=this.parseMaybeDefault(t,ot(e.key))}else e.value=ot(e.key);return e.shorthand=!0,this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,s,r,i,n,a){const o=this.parseObjectMethod(e,s,r,i,n)||this.parseObjectProperty(e,t,i,a);return o||this.unexpected(),o}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(H(s))i=this.parseIdentifier(!0);else switch(s){case 134:i=this.parseNumericLiteral(r);break;case 133:i=this.parseStringLiteral(r);break;case 135:i=this.parseBigIntLiteral(r);break;case 136:i=this.parseDecimalLiteral(r);break;case 138:{const e=this.state.startLoc;null!=t?null===t.privateKeyLoc&&(t.privateKeyLoc=e):this.raise(x.UnexpectedPrivateField,e),i=this.parsePrivateName();break}default:this.unexpected()}e.key=i,138!==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,this.scope.enter(18|(a?64:0)|(i?32:0)),this.prodParam.enter(st(s,e.generator)),this.parseFunctionParams(e,r);const o=this.parseFunctionBodyAndFinish(e,n,!0);return this.prodParam.exit(),this.scope.exit(),o}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=st(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(et()),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(x.IllegalLanguageModeDirective,"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(x.UnexpectedToken,this.state.curPosition(),{unexpected:","}),r=null;else if(this.match(21)){const e=this.state.startLoc;r=this.parseParenItem(this.parseSpread(t),e)}else if(this.match(17)){this.expectPlugin("partialApplication"),s||this.raise(x.UnexpectedArgumentPlaceholder,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(e);return this.createIdentifier(t,s)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}parseIdentifierName(e){let t;const{startLoc:s,type:r}=this.state;H(r)?t=this.state.value:this.unexpected();const i=function(e){return e<=92}(r);return e?i&&this.replaceToken(132):this.checkReservedWord(t,s,i,!1),this.next(),t}checkReservedWord(e,t,s,r){if(e.length>10)return;if(!function(e){return xe.has(e)}(e))return;if(s&&function(e){return pe.has(e)}(e))return void this.raise(x.UnexpectedKeyword,t,{keyword:e});if((this.state.strict?r?ge:me:fe)(e,this.inModule))this.raise(x.UnexpectedReservedWord,t,{reservedWord:e});else if("yield"===e){if(this.prodParam.hasYield)return void this.raise(x.YieldBindingIdentifier,t)}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(x.AwaitBindingIdentifier,t);if(this.scope.inStaticBlock)return void this.raise(x.AwaitBindingIdentifierInStaticBlock,t);this.expressionScope.recordAsyncArrowParametersError(t)}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(x.ArgumentsInClass,t)}isAwaitAllowed(){return!!this.prodParam.hasAwait||!(!this.options.allowAwaitOutsideFunction||this.scope.inFunction)}parseAwait(e){const t=this.startNodeAt(e);return this.expressionScope.recordParameterInitializerError(x.AwaitExpressionFormalParameter,t),this.eat(55)&&this.raise(x.ObsoleteAwaitStar,t),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(t.argument=this.parseMaybeUnary(null,!0)),this.finishNode(t,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;const{type:e}=this.state;return 53===e||10===e||0===e||Z(e)||102===e&&!this.state.containsEsc||137===e||56===e||this.hasPlugin("v8intrinsic")&&54===e}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(x.YieldInParameter,e),this.next();let t=!1,s=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(55),this.state.type){case 13:case 139: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")}parseImportCall(e){return this.next(),e.source=this.parseMaybeAssignAllowIn(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(e.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(e.options=this.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.finishNode(e,"ImportExpression")}checkPipelineAtInfixOperator(e,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===e.type&&this.raise(x.PipelineHeadSequenceExpression,t)}parseSmartPipelineBodyInStyle(e,t){if(this.isSimpleReference(e)){const s=this.startNodeAt(t);return s.callee=e,this.finishNode(s,"PipelineBareFunction")}{const s=this.startNodeAt(t);return this.checkSmartPipeTopicBodyEarlyErrors(t),s.expression=e,this.finishNode(s,"PipelineTopicExpression")}}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19))throw this.raise(x.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(x.PipelineTopicUnused,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.startLoc;this.state.potentialArrowAt=this.state.start;const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const r=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);return this.state.inFSharpPipelineDirectBody=s,r}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const t=this.startNodeAt(this.state.endLoc);this.next();const s=this.initializeScopes(!0);this.enterInitialScopes();try{e.body=this.parseProgram(t,8,"module")}finally{s()}return this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}}const qt={kind:1},$t={kind:2},zt=/[\uD800-\uDFFF]/u,Ht=/in(?:stanceof)?/y;class Vt extends Ut{parseTopLevel(e,t){return e.program=this.parseProgram(t),e.comments=this.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(138===i){const{loc:t,start:i,value:a,end:o}=r,c=i+1,u=n(t.start,1);e.splice(s,1,new We({type:Q(27),value:"#",start:i,end:c,startLoc:t.start,endLoc:u}),new We({type:Q(132),value:a,start:c,end:o,startLoc:u,endLoc:t.end})),s++;continue}if(Z(i)){const{loc:a,start:o,value:c,end:u}=r,l=o+1,p=n(a.start,1);let h,d,f,m,y;h=96===t.charCodeAt(o)?new We({type:Q(22),value:"`",start:o,end:l,startLoc:a.start,endLoc:p}):new We({type:Q(8),value:"}",start:o,end:l,startLoc:a.start,endLoc:p}),24===i?(f=u-1,m=n(a.end,-1),d=null===c?null:c.slice(1,-1),y=new We({type:Q(22),value:"`",start:f,end:u,startLoc:m,endLoc:a.end})):(f=u-2,m=n(a.end,-2),d=null===c?null:c.slice(1,-2),y=new We({type:Q(23),value:"${",start:f,end:u,startLoc:m,endLoc:a.end})),e.splice(s,1,h,new We({type:Q(20),value:d,start:l,end:f,startLoc:p,endLoc:m}),y),s+=2;continue}r.type=Q(i)}}return e}(this.tokens,this.input)),this.finishNode(e,"File")}parseProgram(e,t=139,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(x.ModuleExportUndefined,t,{localName:e});let r;return r=139===t?this.finishNode(e,"Program"):this.finishNodeAt(e,"Program",n(this.state.startLoc,-1)),r}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(){return!!this.isContextual(100)&&this.hasFollowingBindingAtom()}chStartsBindingIdentifier(e,t){if(oe(e)){if(Ht.lastIndex=t,Ht.test(this.input)){const e=this.codePointAtPos(Ht.lastIndex);if(!ce(e)&&92!==e)return!1}return!0}return 92===e}chStartsBindingPattern(e){return 91===e||123===e}hasFollowingBindingAtom(){const e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingPattern(t)||this.chStartsBindingIdentifier(t,e)}hasInLineFollowingBindingIdentifier(){const e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)}startsUsingForOf(){const{type:e,containsEsc:t}=this.lookahead();return!(102===e&&!t)&&(z(e)&&!this.hasFollowingLineBreak()?(this.expectPlugin("explicitResourceManagement"),!0):void 0)}startsAwaitUsing(){let e=this.nextTokenInLineStart();if(this.isUnparsedContextual(e,"using")){e=this.nextTokenInLineStartSince(e+5);const t=this.codePointAtPos(e);if(this.chStartsBindingIdentifier(t,e))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(e=!1){let t=0;return this.options.annexB&&!this.state.strict&&(t|=4,e&&(t|=8)),this.parseStatementLike(t)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(e){let t=null;return this.match(26)&&(t=this.parseDecorators(!0)),this.parseStatementContent(e,t)}parseStatementContent(e,t){const s=this.state.type,r=this.startNode(),i=!!(2&e),n=!!(4&e),a=1&e;switch(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.parseDoWhileStatement(r);case 91:return this.parseForStatement(r);case 68:if(46===this.lookaheadCharCode())break;return n||this.raise(this.state.strict?x.StrictFunction:this.options.annexB?x.SloppyFunctionAnnexB:x.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(r,!1,!i&&n);case 80:return i||this.unexpected(),this.parseClass(this.maybeTakeDecorators(t,r),!0);case 69:return this.parseIfStatement(r);case 70:return this.parseReturnStatement(r);case 71:return this.parseSwitchStatement(r);case 72:return this.parseThrowStatement(r);case 73:return this.parseTryStatement(r);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.isAwaitAllowed()?i||this.raise(x.UnexpectedLexicalDeclaration,r):this.raise(x.AwaitUsingNotInAsyncContext,r),this.next(),this.parseVarStatement(r,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(x.UnexpectedUsingDeclaration,this.state.startLoc):i||this.raise(x.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(r,"using");case 100:{if(this.state.containsEsc)break;const e=this.nextTokenStart(),t=this.codePointAtPos(e);if(91!==t){if(!i&&this.hasFollowingLineBreak())break;if(!this.chStartsBindingIdentifier(t,e)&&123!==t)break}}case 75:i||this.raise(x.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{const e=this.state.value;return this.parseVarStatement(r,e)}case 92:return this.parseWhileStatement(r);case 76:return this.parseWithStatement(r);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(r);case 83:{const e=this.lookaheadCharCode();if(40===e||46===e)break}case 82:{let e;return this.options.allowImportExportEverywhere||a||this.raise(x.UnexpectedImportExport,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,t),("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 i||this.raise(x.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(r,!0,!i&&n)}const o=this.state.value,c=this.parseExpression();return z(s)&&"Identifier"===c.type&&this.eat(14)?this.parseLabeledStatement(r,o,c,e):this.parseExpressionStatement(r,c,t)}assertModuleNodeAllowed(e){this.options.allowImportExportEverywhere||this.inModule||this.raise(x.ImportOutsideModule,e)}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&!1!==this.getPluginOption("decorators","decoratorsBeforeExport")}maybeTakeDecorators(e,t,s){return e&&(t.decorators&&t.decorators.length>0?("boolean"!=typeof this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(x.DecoratorsBeforeAfterExport,t.decorators[0]),t.decorators.unshift(...e)):t.decorators=e,this.resetStartLocationFromNode(t,e[0]),s&&this.resetStartLocationFromNode(s,t)),t}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){const t=[];do{t.push(this.parseDecorator())}while(this.match(26));if(this.match(82))e||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(x.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(x.UnexpectedLeadingDecorator,this.state.startLoc);return t}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const e=this.startNode();if(this.next(),this.hasPlugin("decorators")){const t=this.state.startLoc;let s;if(this.match(10)){const t=this.state.startLoc;this.next(),s=this.parseExpression(),this.expect(11),s=this.wrapParenthesis(t,s);const r=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(s),!1===this.getPluginOption("decorators","allowCallParenthesized")&&e.expression!==s&&this.raise(x.DecoratorArgumentsOutsideParentheses,r)}else{for(s=this.parseIdentifier(!1);this.eat(16);){const e=this.startNodeAt(t);e.object=s,this.match(138)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),e.property=this.parsePrivateName()):e.property=this.parseIdentifier(!0),e.computed=!1,s=this.finishNode(e,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(s)}}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||1===r.kind))break;if(e.label&&t)break}}if(s===this.state.labels.length){const s=t?"BreakStatement":"ContinueStatement";this.raise(x.IllegalBreakContinue,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}parseDoWhileStatement(e){return this.next(),this.state.labels.push(qt),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.state.labels.pop(),this.expect(92),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next(),this.state.labels.push(qt);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(100);{const r=this.isContextual(96)&&this.startsAwaitUsing(),i=r||this.isContextual(107)&&this.startsUsingForOf(),n=s&&this.hasFollowingBindingAtom()||i;if(this.match(74)||this.match(75)||n){const s=this.startNode();let n;r?(n="await using",this.isAwaitAllowed()||this.raise(x.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):n=this.state.value,this.next(),this.parseVar(s,!0,n);const a=this.finishNode(s,"VariableDeclaration"),o=this.match(58);return o&&i&&this.raise(x.ForInUsing,a),(o||this.isContextual(102))&&1===a.declarations.length?this.parseForIn(e,a,t):(null!==t&&this.unexpected(t),this.parseFor(e,a))}}const r=this.isContextual(95),i=new it,n=this.parseExpression(!0,i),a=this.isContextual(102);if(a&&(s&&this.raise(x.ForOfLet,n),null===t&&r&&"Identifier"===n.type&&this.raise(x.ForOfAsync,n)),a||this.match(58)){this.checkDestructuringPrivate(i),this.toAssignable(n,!0);const s=a?"ForOfStatement":"ForInStatement";return this.checkLVal(n,{in:{type:s}}),this.parseForIn(e,n,t)}return this.checkExpressionErrors(i,!0),null!==t&&this.unexpected(t),this.parseFor(e,n)}parseFunctionStatement(e,t,s){return this.next(),this.parseFunction(e,1|(s?2:0)|(t?8:0))}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),e.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(x.IllegalReturn,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($t),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(x.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),e=!0,s.test=null),this.expect(14)}else s?s.consequent.push(this.parseStatementListItem()):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(x.NewlineAfterThrow,this.state.lastTokEndLoc),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&"Identifier"===e.type?8:0),this.checkLVal(e,{in:{type:"CatchClause"},binding:9}),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(x.NoCatchOrFinally,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(qt),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(x.StrictWith,this.state.startLoc),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,s,r){for(const e of this.state.labels)e.name===t&&this.raise(x.LabelRedeclaration,s,{labelName:t});const i=function(e){return e>=90&&e<=92}(this.state.type)?1:this.match(71)?2: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=8&r?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),e.label=s,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t,s){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=s?this.parseModuleItem():this.parseStatementListItem();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)}null==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())),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.options.annexB&&!this.state.strict&&"var"===t.kind&&"Identifier"===t.declarations[0].id.type||this.raise(x.ForInOfLoopInitializer,t,{type:r?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===t.type&&this.raise(x.InvalidLhs,t,{ancestor:{type:"ForStatement"}}),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")}parseVar(e,t,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(102))?"const"!==s||this.match(58)||this.isContextual(102)||this.raise(x.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"const"}):this.raise(x.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"})),i.push(this.finishNode(e,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,t){const s=this.parseBindingAtom();this.checkLVal(s,{in:{type:"VariableDeclarator"},binding:"var"===t?5:8201}),e.id=s}parseAsyncFunctionExpression(e){return this.parseFunction(e,8)}parseFunction(e,t=0){const s=2&t,r=!!(1&t),i=r&&!(4&t),n=!!(8&t);this.initFunction(e,n),this.match(55)&&(s&&this.raise(x.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),e.generator=!0),r&&(e.id=this.parseFunctionId(i));const a=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(st(n,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&&!s&&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(new Ye(3)),e.params=this.parseBindingList(11,41,2|(t?4:0)),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:8201:17,e.id.loc.start)}parseClass(e,t,s){this.next();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(x.DecoratorSemicolon,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(x.DecoratorConstructor,e)}})),this.state.strict=t,this.next(),r.length)throw this.raise(x.TrailingDecorator,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(106);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(138);return this.parseClassElementName(u),t?void this.pushClassPrivateMethod(e,n,!0,!1):(this.isNonstaticConstructor(i)&&this.raise(x.ConstructorIsGenerator,i.key),void this.pushClassMethod(e,i,!0,!1,!1,!1))}const p=z(this.state.type)&&!this.state.containsEsc,h=this.match(138),d=this.parseClassElementName(t),f=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(x.DuplicateConstructor,d),r&&this.hasPlugin("typescript")&&t.override&&this.raise(x.OverrideOnConstructor,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(f),u.kind="method";const s=this.match(138);this.parseClassElementName(u),this.parsePostMemberNameModifiers(l),s?this.pushClassPrivateMethod(e,n,t,!0):(this.isNonstaticConstructor(i)&&this.raise(x.ConstructorIsAsync,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(138);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(138);this.parseClassElementName(i),t?this.pushClassPrivateMethod(e,n,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(x.ConstructorIsAccessor,i.key),this.pushClassMethod(e,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}}parseClassElementName(e){const{type:t,value:s}=this.state;if(132!==t&&133!==t||!e.static||"prototype"!==s||this.raise(x.StaticPrototype,this.state.startLoc),138===t){"constructor"===s&&this.raise(x.ConstructorClassPrivateField,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(x.DecoratorStaticBlock,t)}pushClassProperty(e,t){t.computed||"constructor"!==t.key.name&&"constructor"!==t.key.value||this.raise(x.ConstructorClassField,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(x.ConstructorClassField,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(et()),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=8331){if(z(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,r);else{if(!s&&t)throw this.raise(x.MissingClassName,this.state.startLoc);e.id=null}}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e,t){const s=this.parseMaybeImportPhase(e,!0),r=this.maybeParseExportDefaultSpecifier(e,s),i=!r||this.eat(12),n=i&&this.eatExportStar(e),a=n&&this.maybeParseExportNamespaceSpecifier(e),o=i&&(!a||this.eat(12)),c=r||n;if(n&&!a){if(r&&this.unexpected(),t)throw this.raise(x.UnsupportedDecoratorExport,e);return this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration")}const u=this.maybeParseExportNamedSpecifiers(e);let l;if(r&&i&&!n&&!u&&this.unexpected(null,5),a&&o&&this.unexpected(null,98),c||u){if(l=!1,t)throw this.raise(x.UnsupportedDecoratorExport,e);this.parseExportFrom(e,c)}else l=this.maybeParseExportDeclaration(e);if(c||u||l){var p;const s=e;if(this.checkExport(s,!0,!1,!!s.source),"ClassDeclaration"===(null==(p=s.declaration)?void 0:p.type))this.maybeTakeDecorators(t,s.declaration,s);else if(t)throw this.raise(x.UnsupportedDecoratorExport,e);return this.finishNode(s,"ExportNamedDeclaration")}if(this.eat(65)){const s=e,r=this.parseExportDefaultExpression();if(s.declaration=r,"ClassDeclaration"===r.type)this.maybeTakeDecorators(t,r,s);else if(t)throw this.raise(x.UnsupportedDecoratorExport,e);return this.checkExport(s,!0,!0),this.finishNode(s,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e,t){if(t||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",null==t?void 0:t.loc.start);const s=t||this.parseIdentifier(!0),r=this.startNodeAtNode(s);return r.exported=s,e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(93)){e.specifiers||(e.specifiers=[]);const t=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),t.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){e.specifiers||(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.nextTokenInLineStart();return this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();if(this.match(68))return this.next(),this.parseFunction(e,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(e,13);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(x.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(x.UnsupportedDefaultExport,this.state.startLoc);const t=this.parseMaybeAssignAllowIn();return this.semicolon(),t}parseExportDeclaration(e){if(this.match(80)){return this.parseClass(this.startNode(),!0,!1)}return this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:e}=this.state;if(z(e)){if(95===e&&!this.state.containsEsc||100===e)return!1;if((130===e||129===e)&&!this.state.containsEsc){const{type:e}=this.lookahead();if(z(e)&&98!==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)||z(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){this.eatContextual(98)?(e.source=this.parseImportSource(),this.checkExport(e),this.maybeParseImportAttributes(e),this.checkJSONModuleImport(e)):t&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){const{type:e}=this.state;return 26===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(x.DecoratorBeforeExport,this.state.startLoc),!0):74===e||75===e||68===e||80===e||this.isLet()||this.isAsyncFunction()}checkExport(e,t,s,r){var i;if(t)if(s){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var n;const t=e.declaration;"Identifier"!==t.type||"from"!==t.name||t.end-t.start!=4||null!=(n=t.extra)&&n.parenthesized||this.raise(x.ExportDefaultFromAsIdentifier,t)}}else if(null!=(i=e.specifiers)&&i.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(x.ExportBindingIsString,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)}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(x.DuplicateDefaultExport,e):this.raise(x.DuplicateExport,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(130),i=this.match(133),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=ct(e.local):e.exported||(e.exported=ot(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){const e=this.parseStringLiteral(this.state.value),t=e.value.match(zt);return t&&this.raise(x.ModuleExportNameHasLoneSurrogate,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)))}checkImportReflection(e){const{specifiers:t}=e,s=1===t.length?t[0].type:null;if("source"===e.phase)"ImportDefaultSpecifier"!==s&&this.raise(x.SourcePhaseImportRequiresDefault,t[0].loc.start);else if("defer"===e.phase)"ImportNamespaceSpecifier"!==s&&this.raise(x.DeferImportRequiresNamespace,t[0].loc.start);else if(e.module){var r;"ImportDefaultSpecifier"!==s&&this.raise(x.ImportReflectionNotBinding,t[0].loc.start),(null==(r=e.assertions)?void 0:r.length)>0&&this.raise(x.ImportReflectionHasAssertion,t[0].loc.start)}}checkJSONModuleImport(e){if(this.isJSONModuleImport(e)&&"ExportAllDeclaration"!==e.type){const{specifiers:t}=e;if(null!=t){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(x.ImportJSONBindingNotDefault,e.loc.start)}}}isPotentialImportPhase(e){return!e&&(this.isContextual(105)||this.isContextual(97)||this.isContextual(127))}applyImportPhase(e,t,s,r){t||("module"===s?(this.expectPlugin("importReflection",r),e.module=!0):this.hasPlugin("importReflection")&&(e.module=!1),"source"===s?(this.expectPlugin("sourcePhaseImports",r),e.phase="source"):"defer"===s?(this.expectPlugin("deferredImportEvaluation",r),e.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(e.phase=null))}parseMaybeImportPhase(e,t){if(!this.isPotentialImportPhase(t))return this.applyImportPhase(e,t,null),null;const s=this.parseIdentifier(!0),{type:r}=this.state;return(H(r)?98!==r||102===this.lookaheadCharCode():12!==r)?(this.resetPreviousIdentifierLeadingComments(s),this.applyImportPhase(e,t,s.name,s.loc.start),null):(this.applyImportPhase(e,t,null),s)}isPrecedingIdImportPhase(e){const{type:t}=this.state;return z(t)?98!==t||102===this.lookaheadCharCode():12!==t}parseImport(e){return this.match(133)?this.parseImportSourceAndAttributes(e):this.parseImportSpecifiersAndAfter(e,this.parseMaybeImportPhase(e,!1))}parseImportSpecifiersAndAfter(e,t){e.specifiers=[];const s=!this.maybeParseDefaultImportSpecifier(e,t)||this.eat(12),r=s&&this.maybeParseStarImportSpecifier(e);return s&&!r&&this.parseNamedImportSpecifiers(e),this.expectContextual(98),this.parseImportSourceAndAttributes(e)}parseImportSourceAndAttributes(e){return null!=e.specifiers||(e.specifiers=[]),e.source=this.parseImportSource(),this.maybeParseImportAttributes(e),this.checkImportReflection(e),this.checkJSONModuleImport(e),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(133)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(e,t,s){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,s))}finishImportSpecifier(e,t,s=8201){return this.checkLVal(e.local,{in:{type:t},binding:s}),this.finishNode(e,t)}parseImportAttributes(){this.expect(5);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(x.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:r}),t.add(r),this.match(133)?s.key=this.parseStringLiteral(r):s.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(x.ModuleAttributeInvalidValue,this.state.startLoc);s.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return this.expect(8),e}parseModuleAttributes(){const e=[],t=new Set;do{const s=this.startNode();if(s.key=this.parseIdentifier(!0),"type"!==s.key.name&&this.raise(x.ModuleAttributeDifferentFromType,s.key),t.has(s.key.name)&&this.raise(x.ModuleAttributesWithDuplicateKeys,s.key,{key:s.key.name}),t.add(s.key.name),this.expect(14),!this.match(133))throw this.raise(x.ModuleAttributeInvalidValue,this.state.startLoc);s.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return e}maybeParseImportAttributes(e){let t,s=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&40===this.lookaheadCharCode())return;this.next(),this.hasPlugin("moduleAttributes")?t=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),t=this.parseImportAttributes()),s=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(!0!==this.getPluginOption("importAttributes","deprecatedAssertSyntax")&&this.raise(x.ImportAttributesUseAssert,this.state.startLoc),this.addExtra(e,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),t=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))t=[];else{if(!this.hasPlugin("moduleAttributes"))return;t=[]}!s&&this.hasPlugin("importAssertions")?e.assertions=t:e.attributes=t}maybeParseDefaultImportSpecifier(e,t){if(t){const s=this.startNodeAtNode(t);return s.local=t,e.specifiers.push(this.finishImportSpecifier(s,"ImportDefaultSpecifier")),!0}return!!H(this.state.type)&&(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(x.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}const s=this.startNode(),r=this.match(133),i=this.isContextual(130);s.imported=this.parseModuleExportName();const n=this.parseImportSpecifier(s,r,"type"===e.importKind||"typeof"===e.importKind,i,void 0);e.specifiers.push(n)}}parseImportSpecifier(e,t,s,r,i){if(this.eatContextual(93))e.local=this.parseIdentifier();else{const{imported:s}=e;if(t)throw this.raise(x.ImportBindingIsString,e,{importName:s.value});this.checkReservedWord(s.name,e.loc.start,!0,!0),e.local||(e.local=ot(s))}return this.finishImportSpecifier(e,"ImportSpecifier",i)}isThisParam(e){return"Identifier"===e.type&&"this"===e.name}}class Gt extends Vt{constructor(e,t){super(e=function(e){if(null==e)return Object.assign({},Rt);if(null!=e.annexB&&!1!==e.annexB)throw new Error("The `annexB` option can only be set to `false`.");const t={};for(const r of Object.keys(Rt)){var s;t[r]=null!=(s=e[r])?s:Rt[r]}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 be}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.comments.length=this.state.commentsLen,e}}const Wt=function(e){const t={};for(const s of Object.keys(e))t[s]=Q(e[s]);return t}($);function Jt(e,t){let s=Gt;return null!=e&&e.plugins&&(!function(e){if(_t(e,"decorators")){if(_t(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const t=Ft(e,"decorators","decoratorsBeforeExport");if(null!=t&&"boolean"!=typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const s=Ft(e,"decorators","allowCallParenthesized");if(null!=s&&"boolean"!=typeof s)throw new Error("'allowCallParenthesized' must be a boolean.")}if(_t(e,"flow")&&_t(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(_t(e,"placeholders")&&_t(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(_t(e,"pipelineOperator")){const t=Ft(e,"pipelineOperator","proposal");if(!Ot.includes(t)){const e=Ot.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}const s=_t(e,["recordAndTuple",{syntaxType:"hash"}]);if("hack"===t){if(_t(e,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(_t(e,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const t=Ft(e,"pipelineOperator","topicToken");if(!Lt.includes(t)){const e=Lt.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(_t(e,"moduleAttributes")){if(_t(e,"importAssertions")||_t(e,"importAttributes"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if("may-2020"!==Ft(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(_t(e,"importAssertions")&&_t(e,"importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(_t(e,"recordAndTuple")&&null!=Ft(e,"recordAndTuple","syntaxType")&&!Bt.includes(Ft(e,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+Bt.map((e=>`'${e}'`)).join(", "));if(_t(e,"asyncDoExpressions")&&!_t(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}if(_t(e,"optionalChainingAssign")&&"2023-07"!==Ft(e,"optionalChainingAssign","version"))throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}(e.plugins),s=function(e){const t=Mt.filter((t=>_t(e,t))),s=t.join("/");let r=Xt[s];if(!r){r=Gt;for(const e of t)r=jt[e](r);Xt[s]=r}return r}(e.plugins)),new s(e,t)}const Xt={};t.parse=function(e,t){var s;if("unambiguous"!==(null==(s=t)?void 0:s.sourceType))return Jt(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";const s=Jt(t,e),r=s.parse();if(s.sawUnambiguousESM)return r;if(s.ambiguousScriptDifferentAst)try{return t.sourceType="script",Jt(t,e).parse()}catch(e){}else r.program.sourceType="script";return r}catch(s){try{return t.sourceType="script",Jt(t,e).parse()}catch(e){}throw s}},t.parseExpression=function(e,t){const s=Jt(t,e);return s.options.strictMode&&(s.state.strict=!0),s.getExpression()},t.tokTypes=Wt}));se(st);var rt=st.parse,it=st.parseExpression;st.tokTypes;class nt{constructor(){this._indexes={__proto__:null},this.array=[]}}function at(e,t){return e._indexes[t]}function ot(e,t){const s=at(e,t);if(void 0!==s)return s;const{array:r,_indexes:i}=e,n=r.push(t);return i[t]=n-1}const ct=",".charCodeAt(0),ut=";".charCodeAt(0),lt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",pt=new Uint8Array(64),ht=new Uint8Array(128);for(let e=0;e<64;e++){const t=lt.charCodeAt(e);pt[e]=t,ht[t]=e}const dt="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 ft(e,t){const s=e.indexOf(";",t);return-1===s?e.length:s}function mt(e,t,s,r){let i=0,n=0,a=0;do{const s=e.charCodeAt(t++);a=ht[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 yt(e,t,s){return!(t>=s)&&e.charCodeAt(t)!==ct}function gt(e){e.sort(xt)}function xt(e,t){return e[0]-t[0]}function vt(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+=dt.decode(i),a=0),i[a++]=ut),0!==u.length){t[0]=0;for(let e=0;e<u.length;e++){const s=u[e];a>r&&(o+=dt.decode(n),i.copyWithin(0,r,a),a-=r),e>0&&(i[a++]=ct),a=bt(i,a,t,s,0),1!==s.length&&(a=bt(i,a,t,s,1),a=bt(i,a,t,s,2),a=bt(i,a,t,s,3),4!==s.length&&(a=bt(i,a,t,s,4)))}}}return o+dt.decode(i.subarray(0,a))}function bt(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++]=pt[s]}while(a>0);return t}const Et=/^[\w+.-]+:\/\//,Ct=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,At=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function wt(e){return e.startsWith("/")}function Dt(e){return/^[.?#]/.test(e)}function Tt(e){const t=Ct.exec(e);return St(t[1],t[2]||"",t[3],t[4]||"",t[5]||"/",t[6]||"",t[7]||"")}function St(e,t,s,r,i,n,a){return{scheme:e,user:t,host:s,port:r,path:i,query:n,hash:a,type:7}}function Pt(e){if(function(e){return e.startsWith("//")}(e)){const t=Tt("http:"+e);return t.scheme="",t.type=6,t}if(wt(e)){const t=Tt("http://foo.com"+e);return t.scheme="",t.host="",t.type=5,t}if(function(e){return e.startsWith("file:")}(e))return function(e){const t=At.exec(e),s=t[2];return St("file:","",t[1]||"","",wt(s)?s:"/"+s,t[3]||"",t[4]||"")}(e);if(function(e){return Et.test(e)}(e))return Tt(e);const t=Tt("http://foo.com/"+e);return t.scheme="",t.host="",t.type=e?e.startsWith("?")?3:e.startsWith("#")?2:4:1,t}function kt(e,t){const s=t<=4,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 Nt(e,t){if(!e&&!t)return"";const s=Pt(e);let r=s.type;if(t&&7!==r){const e=Pt(t),i=e.type;switch(r){case 1:s.hash=e.hash;case 2:s.query=e.query;case 3:case 4:!function(e,t){kt(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 5:s.user=e.user,s.host=e.host,s.port=e.port;case 6:s.scheme=e.scheme}i>r&&(r=i)}kt(s,r);const i=s.query+s.hash;switch(r){case 2:case 3:return i;case 4:{const r=s.path.slice(1);return r?Dt(t||e)&&!Dt(r)?"./"+r+i:r+i:i||"."}case 5:return s.path+i;default:return s.scheme+"//"+s.user+s.host+s.port+s.path+i}}function It(e,t){return t&&!t.endsWith("/")&&(t+="/"),Nt(e,t)}const _t=0,Ft=1,Ot=2,Lt=3,Bt=4,jt=1,Mt=2;function Rt(e,t){for(let s=t;s<e.length;s++)if(!Ut(e[s]))return s;return e.length}function Ut(e){for(let t=1;t<e.length;t++)if(e[t][_t]<e[t-1][_t])return!1;return!0}function qt(e,t){return t||(e=e.slice()),e.sort($t)}function $t(e,t){return e[_t]-t[_t]}let zt=!1;function Ht(e,t,s){for(let r=s+1;r<e.length&&e[r][_t]===t;s=r++);return s}function Vt(e,t,s){for(let r=s-1;r>=0&&e[r][_t]===t;s=r--);return s}function Gt(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function Wt(e,t,s,r){const{lastKey:i,lastNeedle:n,lastIndex:a}=s;let o=0,c=e.length-1;if(r===i){if(t===n)return zt=-1!==a&&e[a][_t]===t,a;t>=n?o=-1===a?0:a:c=a}return s.lastKey=r,s.lastNeedle=t,s.lastIndex=function(e,t,s,r){for(;s<=r;){const i=s+(r-s>>1),n=e[i][_t]-t;if(0===n)return zt=!0,i;n<0?s=i+1:r=i-1}return zt=!1,s-1}(e,t,o,c)}function Jt(e,t,s){for(let s=e.length;s>t;s--)e[s]=e[s-1];e[t]=s}function Xt(){return{__proto__:null}}function Kt(e){return"string"==typeof e?JSON.parse(e):e}function Yt(e,t,s,r,i,n,a,o,c,u,l){const{sections:p}=e;for(let e=0;e<p.length;e++){const{map:h,offset:d}=p[e];let f=u,m=l;if(e+1<p.length){const t=p[e+1].offset;f=Math.min(u,o+t.line),f===u?m=Math.min(l,c+t.column):f<u&&(m=c+t.column)}Zt(h,t,s,r,i,n,a,o+d.line,c+d.column,f,m)}}function Zt(e,t,s,r,i,n,a,o,c,u,l){const p=Kt(e);if("sections"in p)return Yt(...arguments);const h=new ns(p,t),d=r.length,f=n.length,m=os(h),{resolvedSources:y,sourcesContent:g,ignoreList:x}=h;if(Qt(r,y),Qt(n,h.names),g)Qt(i,g);else for(let e=0;e<y.length;e++)i.push(null);if(x)for(let e=0;e<x.length;e++)a.push(x[e]+d);for(let e=0;e<m.length;e++){const t=o+e;if(t>u)return;const r=es(s,t),i=0===e?c:0,n=m[e];for(let e=0;e<n.length;e++){const s=n[e],a=i+s[_t];if(t===u&&a>=l)return;if(1===s.length){r.push([a]);continue}const o=d+s[Ft],c=s[Ot],p=s[Lt];r.push(4===s.length?[a,o,c,p]:[a,o,c,p,f+s[Bt]])}}}function Qt(e,t){for(let s=0;s<t.length;s++)e.push(t[s])}function es(e,t){for(let s=e.length;s<=t;s++)e[s]=[];return e[t]}const ts="`line` must be greater than 0 (lines start at line 1)",ss="`column` must be greater than or equal to 0 (columns start at column 0)",rs=-1,is=1;class ns{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,this.ignoreList=r.ignoreList||r.x_google_ignoreList||void 0;const l=It(o||"",function(e){if(!e)return"";const t=e.lastIndexOf("/");return e.slice(0,t+1)}(t));this.resolvedSources=c.map((e=>It(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=Rt(e,0);if(s===e.length)return e;t||(e=e.slice());for(let r=s;r<e.length;r=Rt(e,r+1))e[r]=qt(e[r],t);return e}(p,s)),this._decodedMemo={lastKey:-1,lastNeedle:-1,lastIndex:-1},this._bySources=void 0,this._bySourceMemos=void 0}}function as(e){var t,s;return null!==(t=(s=e)._encoded)&&void 0!==t?t:s._encoded=vt(e._decoded)}function os(e){var t;return(t=e)._decoded||(t._decoded=function(e){const t=new Int32Array(5),s=[];let r=0;do{const i=ft(e,r),n=[];let a=!0,o=0;t[0]=0;for(let s=r;s<i;s++){let r;s=mt(e,s,t,0);const c=t[0];c<o&&(a=!1),o=c,yt(e,s,i)?(s=mt(e,s,t,1),s=mt(e,s,t,2),s=mt(e,s,t,3),yt(e,s,i)?(s=mt(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||gt(n),s.push(n),r=i+1}while(r<=e.length);return s}(e._encoded))}function cs(e,t){const{sources:s,resolvedSources:r}=e;let i=s.indexOf(t);return-1===i&&(i=r.indexOf(t)),i}function us(e,t){const s=new ns(ls(e,[]),t);return s._decoded=e.mappings,s}function ls(e,t){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:t,ignoreList:e.ignoreList||e.x_google_ignoreList}}function ps(e,t,s,r){return{source:e,line:t,column:s,name:r}}function hs(e,t){return{line:e,column:t}}function ds(e,t,s,r,i){let n=Wt(e,r,t,s);return zt?n=(i===rs?Ht:Vt)(e,r,n):i===rs&&n++,-1===n||n===e.length?-1:n}function fs(e,t,s,r,i,n){var a;if(--s<0)throw new Error(ts);if(r<0)throw new Error(ss);const{sources:o,resolvedSources:c}=e;let u=o.indexOf(t);if(-1===u&&(u=c.indexOf(t)),-1===u)return n?[]:hs(null,null);const l=(a=e)._bySources||(a._bySources=function(e,t){const s=t.map(Xt);for(let r=0;r<e.length;r++){const i=e[r];for(let e=0;e<i.length;e++){const n=i[e];if(1===n.length)continue;const a=n[Ft],o=n[Ot],c=n[Lt],u=s[a],l=u[o]||(u[o]=[]),p=t[a];let h=Ht(l,c,Wt(l,c,p,o));p.lastIndex=++h,Jt(l,h,[c,r,n[_t]])}}return s}(os(e),e._bySourceMemos=o.map(Gt))),p=l[u][s];if(null==p)return n?[]:hs(null,null);const h=e._bySourceMemos[u];if(n)return function(e,t,s,r,i){let n=ds(e,t,s,r,is);if(zt||i!==rs||n++,-1===n||n===e.length)return[];const a=zt?r:e[n][_t];zt||(n=Vt(e,a,n));const o=Ht(e,a,n),c=[];for(;n<=o;n++){const t=e[n];c.push(hs(t[jt]+1,t[Mt]))}return c}(p,h,s,r,i);const d=ds(p,h,s,r,i);if(-1===d)return hs(null,null);const f=p[d];return hs(f[jt]+1,f[Mt])}var ms=Object.freeze({__proto__:null,AnyMap:function(e,t){const s=Kt(e);if(!("sections"in s))return new ns(s,t);const r=[],i=[],n=[],a=[],o=[];Yt(s,t,r,i,n,a,o,0,0,1/0,1/0);return us({version:3,file:s.file,names:a,sources:i,sourcesContent:n,mappings:r,ignoreList:o})},GREATEST_LOWER_BOUND:is,LEAST_UPPER_BOUND:rs,TraceMap:ns,allGeneratedPositionsFor:function(e,t){const{source:s,line:r,column:i,bias:n}=t;return fs(e,s,r,i,n||rs,!0)},decodedMap:function(e){return ls(e,os(e))},decodedMappings:os,eachMapping:function(e,t){const s=os(e),{names:r,resolvedSources: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=e+1,c=a[0];let u=null,l=null,p=null,h=null;1!==a.length&&(u=i[a[1]],l=a[2]+1,p=a[3]),5===a.length&&(h=r[a[4]]),t({generatedLine:o,generatedColumn:c,source:u,originalLine:l,originalColumn:p,name:h})}}},encodedMap:function(e){return ls(e,as(e))},encodedMappings:as,generatedPositionFor:function(e,t){const{source:s,line:r,column:i,bias:n}=t;return fs(e,s,r,i,n||is,!1)},isIgnored:function(e,t){const{ignoreList:s}=e;if(null==s)return!1;const r=cs(e,t);return-1!==r&&s.includes(r)},originalPositionFor:function(e,t){let{line:s,column:r,bias:i}=t;if(s--,s<0)throw new Error(ts);if(r<0)throw new Error(ss);const n=os(e);if(s>=n.length)return ps(null,null,null,null);const a=n[s],o=ds(a,e._decodedMemo,s,r,i||is);if(-1===o)return ps(null,null,null,null);const c=a[o];if(1===c.length)return ps(null,null,null,null);const{names:u,resolvedSources:l}=e;return ps(l[c[Ft]],c[Ot]+1,c[Lt],5===c.length?u[c[Bt]]:null)},presortedDecodedMap:us,sourceContentFor:function(e,t){const{sourcesContent:s}=e;if(null==s)return null;const r=cs(e,t);return-1===r?null:s[r]},traceSegment:function(e,t,s){const r=os(e);if(t>=r.length)return null;const i=r[t],n=ds(i,e._decodedMemo,t,s,is);return-1===n?null:i[n]}});const ys=0,gs=1,xs=2,vs=3,bs=4,Es=-1;class Cs{constructor({file:e,sourceRoot:t}={}){this._names=new nt,this._sources=new nt,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=t,this._ignoreList=new nt}}function As(e){const{_mappings:t,_sources:s,_sourcesContent:r,_names:i,_ignoreList:n}=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)}(t),{version:3,file:e.file||void 0,names:i.array,sourceRoot:e.sourceRoot||void 0,sources:s.array,sourcesContent:r,mappings:t,ignoreList:n.array}}function ws(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),f=function(e,t){let s=e.length;for(let r=s-1;r>=0;s=r--){if(t>=e[r][ys])break}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,f))return;return Ds(d,f,[r])}const m=ot(l,i),y=o?ot(h,o):Es;if(m===p.length&&(p[m]=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[gs]&&r===a[xs]&&i===a[vs]&&n===(5===a.length?a[bs]:Es))}(d,f,m,n,a,y))return Ds(d,f,o?[r,m,n,a,y]:[r,m,n,a])}function Ds(e,t,s){for(let s=e.length;s>t;s--)e[s]=e[s-1];e[t]=s}function Ts(e,t){for(let s=0;s<t.length;s++)ot(e,t[s])}function Ss(e,t,s){const{generated:r,source:i,original:n,name:a,content:o}=s;return i?ws(e,t,r.line-1,r.column,i,n.line-1,n.column,a,o):ws(e,t,r.line-1,r.column,null,null,null,null,null)}var Ps=Object.freeze({__proto__:null,GenMapping:Cs,addMapping:function(e,t){return Ss(!1,e,t)},addSegment:function(e,t,s,r,i,n,a,o){return ws(!1,e,t,s,r,i,n,a,o)},allMappings:function(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[ys]};let c,u,l;1!==a.length&&(c=r.array[a[gs]],u={line:a[xs]+1,column:a[vs]},5===a.length&&(l=i.array[a[bs]])),t.push({generated:o,source:c,original:u,name:l})}}return t},fromMap:function(e){const t=new ns(e),s=new Cs({file:t.file,sourceRoot:t.sourceRoot});return Ts(s._names,t.names),Ts(s._sources,t.sources),s._sourcesContent=t.sourcesContent||t.sources.map((()=>null)),s._mappings=os(t),t.ignoreList&&Ts(s._ignoreList,t.ignoreList),s},maybeAddMapping:(e,t)=>Ss(!0,e,t),maybeAddSegment:(e,t,s,r,i,n,a,o)=>ws(!0,e,t,s,r,i,n,a,o),setIgnore:function(e,t,s=!0){const{_sources:r,_sourcesContent:i,_ignoreList:n}=e,a=ot(r,t);a===i.length&&(i[a]=null),s?ot(n,a):function(e,t){const s=at(e,t);if(void 0===s)return;const{array:r,_indexes:i}=e;for(let e=s+1;e<r.length;e++){const t=r[e];r[e-1]=t,i[t]--}i[t]=void 0,r.pop()}(n,a)},setSourceContent:function(e,t,s){const{_sources:r,_sourcesContent:i}=e;i[ot(r,t)]=s},toDecodedMap:As,toEncodedMap:function(e){const t=As(e);return Object.assign(Object.assign({},t),{mappings:vt(t.mappings)})}}),ks=ie(Ps),Ns=ie(ms),Is=re((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,this._inputMap=void 0;const r=this._map=new ks.GenMapping({sourceRoot:e.sourceRoot});if(this._sourceFileName=null==(s=e.sourceFileName)?void 0:s.replace(/\\/g,"/"),this._rawMappings=void 0,e.inputSourceMap){this._inputMap=new Ns.TraceMap(e.inputSourceMap);const t=this._inputMap.resolvedSources;if(t.length)for(let e=0;e<t.length;e++){var i;(0,ks.setSourceContent)(r,t[e],null==(i=this._inputMap.sourcesContent)?void 0:i[e])}}if("string"!=typeof t||e.inputSourceMap){if("object"==typeof t)for(const e of Object.keys(t))(0,ks.setSourceContent)(r,e.replace(/\\/g,"/"),t[e])}else(0,ks.setSourceContent)(r,this._sourceFileName,t)}get(){return(0,ks.toEncodedMap)(this._map)}getDecoded(){return(0,ks.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,ks.allMappings)(this._map))}mark(e,t,s,r,i,n){var a;let o;if(this._rawMappings=void 0,null!=t)if(this._inputMap){if(o=(0,Ns.originalPositionFor)(this._inputMap,{line:t,column:s}),!o.name&&i){const e=(0,Ns.originalPositionFor)(this._inputMap,i);e.name&&(r=e.name)}}else o={source:(null==n?void 0:n.replace(/\\/g,"/"))||this._sourceFileName,line:t,column:s};(0,ks.maybeAddMapping)(this._map,{name:r,generated:e,source:null==(a=o)?void 0:a.source,original:o})}}}));se(Is);var _s=re((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class{constructor(e,t){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._indentChar="",this._fastIndentations=[],this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=e,this._indentChar=t;for(let e=0;e<64;e++)this._fastIndentations.push(t.repeat(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,identifierNamePos:void 0,filename:""})}_pushQueue(e,t,s,r,i){const n=this._queueCursor;n===this._queue.length&&this._allocQueue();const a=this._queue[n];a.char=e,a.repeat=t,a.line=s,a.column=r,a.filename=i,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 __mergedMap(){return this.map},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.filename)}queueIndentation(e){0!==e&&this._pushQueue(-1,e,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){if(this._last=e,-1===e){const e=this._fastIndentations[t];this._str+=void 0!==e?e:t>1?this._indentChar.repeat(t):this._indentChar}else this._str+=t>1?String.fromCharCode(e).repeat(t):String.fromCharCode(e);10!==e?(this._mark(s.line,s.column,s.identifierName,s.identifierNamePos,s.filename),this._position.column+=t):(this._position.line++,this._position.column=0),this._canMarkIdName&&(s.identifierName=void 0,s.identifierNamePos=void 0)}_append(e,t,s){const r=e.length,i=this._position;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(i.column+=r);const{column:n,identifierName:a,identifierNamePos:o,filename:c}=t;let u=t.line;null==a&&null==o||!this._canMarkIdName||(t.identifierName=void 0,t.identifierNamePos=void 0);let l=e.indexOf("\n"),p=0;for(0!==l&&this._mark(u,n,a,o,c);-1!==l;)i.line++,i.column=0,p=l+1,p<r&&void 0!==u&&this._mark(++u,0,null,null,c),l=e.indexOf("\n",p);i.column+=r-p}_mark(e,t,s,r,i){var n;null==(n=this._map)||n.mark(this._position,e,t,s,r,i)}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}getNewlineCount(){const e=this._queueCursor;let t=0;if(0===e)return 10===this._last?1:0;for(let s=e-1;s>=0&&10===this._queue[s].char;s--)t++;return t===e&&10===this._last?t+1:t}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 void t();this.source("start",e);const s=e.identifierName,r=this._sourcePosition;s&&(this._canMarkIdName=!1,r.identifierName=s),t(),s&&(this._canMarkIdName=!0,r.identifierName=void 0,r.identifierNamePos=void 0),this.source("end",e)}source(e,t){this._map&&this._normalizePosition(e,t,0)}sourceWithOffset(e,t,s){this._map&&this._normalizePosition(e,t,s)}withSource(e,t,s){this._map&&this.source(e,t),s()}_normalizePosition(e,t,s){const r=t[e],i=this._sourcePosition;r&&(i.line=r.line,i.column=Math.max(r.column+s,0),i.filename=t.filename)}getCurrentColumn(){const e=this._queue,t=this._queueCursor;let s=-1,r=0;for(let i=0;i<t;i++){const t=e[i];10===t.char&&(s=r),r+=t.repeat}return-1===s?this._position.column+r:r-1-s}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}}}));se(_s);var Fs=re((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:f,isStringLiteral:m}=I.default;function y(e,t){return e?(p(e)||f(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=t.nodes={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(m(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}};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}))}))}));se(Fs),Fs.nodes;var Os=re((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowFunctionExpression=function(e,t){return a(t)||x(e,t)},t.AssignmentExpression=function(e,t){return!!l(e.left)||x(e,t)},t.Binary=function(e,t){const s=t.type;if("**"===e.operator&&"BinaryExpression"===s&&"**"===t.operator)return t.left===e;if(m(e,t))return!0;if(y(e,t)||"UnaryExpression"===s||"SpreadElement"===s||"AwaitExpression"===s)return!0;if("BinaryExpression"===s||"LogicalExpression"===s){const r=d.get(t.operator),i=d.get(e.operator);if(r===i&&t.right===e&&"LogicalExpression"!==s||r>i)return!0}return},t.BinaryExpression=function(e,t){if("in"===e.operator){const e=t.type;return"VariableDeclarator"===e||"ForStatement"===e||"ForInStatement"===e||"ForOfStatement"===e}return!1},t.ClassExpression=function(e,t,s){return v(s,5)},t.ConditionalExpression=x,t.DoExpression=function(e,t,s){return!e.async&&v(s,1)},t.FunctionExpression=function(e,t,s){return v(s,5)},t.FunctionTypeAnnotation=function(e,t,s){if(s.length<3)return;const i=t.type;return"UnionTypeAnnotation"===i||"IntersectionTypeAnnotation"===i||"ArrayTypeAnnotation"===i||"TypeAnnotation"===i&&r(s[s.length-3])},t.Identifier=function(e,t,s){var r;const i=t.type;if(null!=(r=e.extra)&&r.parenthesized&&"AssignmentExpression"===i&&t.left===e){const e=t.right.type;if(("FunctionExpression"===e||"ClassExpression"===e)&&null==t.right.id)return!0}if("let"===e.name){return v(s,u(t,{object:e,computed:!0})||p(t,{object:e,computed:!0,optional:!1})?57:32)}return"async"===e.name&&o(t)&&e===t.left},t.LogicalExpression=function(e,t){const s=t.type;if(f(s))return!0;if("LogicalExpression"!==s)return!1;switch(e.operator){case"||":return"??"===t.operator||"&&"===t.operator;case"&&":return"??"===t.operator;case"??":return"??"!==t.operator}},t.NullableTypeAnnotation=function(e,t){return s(t)},t.ObjectExpression=function(e,t,s){return v(s,3)},t.OptionalIndexedAccessType=function(e,t){return c(t)&&t.objectType===e},t.OptionalCallExpression=t.OptionalMemberExpression=function(e,t){return n(t)&&t.callee===e||u(t)&&t.object===e},t.SequenceExpression=function(e,t){const s=t.type;if("ForStatement"===s||"ThrowStatement"===s||"ReturnStatement"===s||"IfStatement"===s&&t.test===e||"WhileStatement"===s&&t.test===e||"ForInStatement"===s&&t.right===e||"SwitchStatement"===s&&t.discriminant===e||"ExpressionStatement"===s&&t.expression===e)return!1;return!0},t.TSTypeAssertion=t.TSSatisfiesExpression=t.TSAsExpression=function(){return!0},t.TSInferType=function(e,t){const s=t.type;return"TSArrayType"===s||"TSOptionalType"===s},t.TSInstantiationExpression=function(e,t){const s=t.type;return("CallExpression"===s||"OptionalCallExpression"===s||"NewExpression"===s||"TSInstantiationExpression"===s)&&!!t.typeParameters},t.TSIntersectionType=t.TSUnionType=function(e,t){const s=t.type;return"TSArrayType"===s||"TSOptionalType"===s||"TSIntersectionType"===s||"TSUnionType"===s||"TSRestType"===s},t.UnaryLike=g,t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=function(e,t){const s=t.type;return"ArrayTypeAnnotation"===s||"NullableTypeAnnotation"===s||"IntersectionTypeAnnotation"===s||"UnionTypeAnnotation"===s},t.UpdateExpression=function(e,t){return y(e,t)||m(e,t)},t.AwaitExpression=t.YieldExpression=function(e,t){const s=t.type;return"BinaryExpression"===s||"LogicalExpression"===s||"UnaryExpression"===s||"SpreadElement"===s||y(e,t)||"AwaitExpression"===s&&h(e)||"ConditionalExpression"===s&&e===t.test||m(e,t)};const{isArrayTypeAnnotation:s,isArrowFunctionExpression:r,isBinaryExpression:i,isCallExpression:n,isExportDeclaration:a,isForOfStatement:o,isIndexedAccessType:c,isMemberExpression:u,isObjectPattern:l,isOptionalMemberExpression:p,isYieldExpression:h}=I.default,d=new Map([["||",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]]);function f(e){return"TSAsExpression"===e||"TSSatisfiesExpression"===e||"TSTypeAssertion"===e}const m=(e,t)=>{const s=t.type;return("ClassDeclaration"===s||"ClassExpression"===s)&&t.superClass===e},y=(e,t)=>{const s=t.type;return("MemberExpression"===s||"OptionalMemberExpression"===s)&&t.object===e||("CallExpression"===s||"OptionalCallExpression"===s||"NewExpression"===s)&&t.callee===e||"TaggedTemplateExpression"===s&&t.tag===e||"TSNonNullExpression"===s};function g(e,t){return y(e,t)||i(t)&&"**"===t.operator&&t.left===e||m(e,t)}function x(e,t){const s=t.type;return!!("UnaryExpression"===s||"SpreadElement"===s||"BinaryExpression"===s||"LogicalExpression"===s||"ConditionalExpression"===s&&t.test===e||"AwaitExpression"===s||f(s))||g(e,t)}function v(e,t){const s=1&t,r=2&t,i=4&t,n=8&t,a=16&t,o=32&t;let c=e.length-1;if(c<=0)return;let u=e[c];c--;let l=e[c];for(;c>=0;){const t=l.type;if(s&&"ExpressionStatement"===t&&l.expression===u||i&&"ExportDefaultDeclaration"===t&&u===l.declaration||r&&"ArrowFunctionExpression"===t&&l.body===u||n&&"ForStatement"===t&&l.init===u||a&&"ForInStatement"===t&&l.left===u||o&&"ForOfStatement"===t&&l.left===u)return!0;if(!(c>0&&(y(u,l)&&"NewExpression"!==t||"SequenceExpression"===t&&l.expressions[0]===u||"UpdateExpression"===t&&!l.prefix||"ConditionalExpression"===t&&l.test===u||("BinaryExpression"===t||"LogicalExpression"===t)&&l.left===u||"AssignmentExpression"===t&&l.left===u)))return!1;u=l,c--,l=e[c]}return!1}}));se(Os),Os.ArrowFunctionExpression,Os.AssignmentExpression,Os.Binary,Os.BinaryExpression,Os.ClassExpression,Os.ConditionalExpression,Os.DoExpression,Os.FunctionExpression,Os.FunctionTypeAnnotation,Os.Identifier,Os.LogicalExpression,Os.NullableTypeAnnotation,Os.ObjectExpression,Os.OptionalIndexedAccessType,Os.OptionalCallExpression,Os.OptionalMemberExpression,Os.SequenceExpression,Os.TSTypeAssertion,Os.TSSatisfiesExpression,Os.TSAsExpression,Os.TSInferType,Os.TSInstantiationExpression,Os.TSIntersectionType,Os.TSUnionType,Os.UnaryLike,Os.IntersectionTypeAnnotation,Os.UnionTypeAnnotation,Os.UpdateExpression,Os.AwaitExpression,Os.YieldExpression;var Ls=re((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.needsParens=function(e,t,s){var r;if(!t)return!1;if(a(t)&&t.callee===e&&l(e))return!0;return null==(r=c.get(e.type))?void 0:r(e,t,s)},t.needsWhitespace=p,t.needsWhitespaceAfter=function(e,t){return p(e,t,2)},t.needsWhitespaceBefore=function(e,t){return p(e,t,1)};const{FLIPPED_ALIAS_KEYS:s,isCallExpression:r,isExpressionStatement:i,isMemberExpression:n,isNewExpression:a}=I.default;function o(e){const t=new Map;function r(e,s){const r=t.get(e);t.set(e,r?function(e,t,i){var n;return null!=(n=r(e,t,i))?n:s(e,t,i)}: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(Os),u=o(Fs.nodes);function l(e){return!!r(e)||n(e)&&l(e.object)}function p(e,t,s){var r;if(!e)return!1;i(e)&&(e=e.expression);const n=null==(r=u.get(e.type))?void 0:r(e,t);return"number"==typeof n&&!!(n&s)}}));se(Ls),Ls.needsParens,Ls.needsWhitespace,Ls.needsWhitespaceAfter,Ls.needsWhitespaceBefore;var Bs=re((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)}}));se(Bs),Bs.TaggedTemplateExpression,Bs.TemplateElement,Bs.TemplateLiteral;var js=re((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&&!Ls.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.rightParens(e)},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){if("ParenthesizedExpression"===e.type)return!1;return!a("CallExpression"===e.type?e.callee: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",!0),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",!0),this.space(),this.tokenChar(123),this.indent();const{body:t}=e;(t.body.length||t.directives.length)&&this.newline();this.print(t,e),this.dedent(),this.rightBrace(e)},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.rightParens(e)},t.OptionalCallExpression=function(e){this.print(e.callee,e),this.print(e.typeParameters,e),e.optional&&this.token("?.");this.print(e.typeArguments,e),this.tokenChar(40),this.printList(e.arguments,e),this.rightParens(e)},t.OptionalMemberExpression=function(e){let{computed:t}=e;const{optional:s,property:n}=e;if(this.print(e.object,e),!t&&i(n))throw new TypeError("Got a MemberExpression for MemberExpression property");r(n)&&"number"==typeof n.value&&(t=!0);s&&this.token("?.");t?(this.tokenChar(91),this.print(n,e),this.tokenChar(93)):(s||this.tokenChar(46),this.print(n,e))},t.ParenthesizedExpression=function(e){this.tokenChar(40),this.print(e.expression,e),this.rightParens(e)},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){const{operator:t}=e;"void"===t||"delete"===t||"typeof"===t||"throw"===t?(this.word(t),this.space()):this.token(t);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",!0),e.delegate?(this.tokenChar(42),e.argument&&(this.space(),this.print(e.argument,e))):e.argument&&(this.space(),this.printTerminatorless(e.argument,e,!1))},t._shouldPrintDecoratorsBeforeExport=function(e){if("boolean"==typeof this.format.decoratorsBeforeExport)return this.format.decoratorsBeforeExport;return"number"==typeof e.start&&e.start===e.declaration.start};const{isCallExpression:s,isLiteral:r,isMemberExpression:i,isNewExpression:n}=I.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}}}));se(js),js.LogicalExpression,js.BinaryExpression,js.AssignmentExpression,js.AssignmentPattern,js.AwaitExpression,js.BindExpression,js.CallExpression,js.ConditionalExpression,js.Decorator,js.DoExpression,js.EmptyStatement,js.ExpressionStatement,js.Import,js.MemberExpression,js.MetaProperty,js.ModuleExpression,js.NewExpression,js.OptionalCallExpression,js.OptionalMemberExpression,js.ParenthesizedExpression,js.PrivateName,js.SequenceExpression,js.Super,js.ThisExpression,js.UnaryExpression,js.UpdateExpression,js.V8IntrinsicIdentifier,js.YieldExpression,js._shouldPrintDecoratorsBeforeExport;var Ms=re((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.BreakStatement=function(e){this.word("break"),c(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"),c(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"),c(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.rightBrace(e)},t.ThrowStatement=function(e){this.word("throw"),c(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());const{kind:i}=e;this.word(i,"using"===i||"await using"===i),this.space();let n=!1;if(!s(t))for(const t of e.declarations)t.init&&(n=!0);if(this.printList(e.declarations,e,{separator:n?function(){this.tokenChar(44),this.newline()}:void 0,indent:e.declarations.length>1}),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}=I.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.noIndentInnerCommentsHere(),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)}function c(e,t,s,r){t&&(e.space(),e.printTerminatorless(t,s,r)),e.semicolon()}t.ForInStatement=o,t.ForOfStatement=o}));se(Ms),Ms.BreakStatement,Ms.CatchClause,Ms.ContinueStatement,Ms.DebuggerStatement,Ms.DoWhileStatement,Ms.ForOfStatement,Ms.ForInStatement,Ms.ForStatement,Ms.IfStatement,Ms.LabeledStatement,Ms.ReturnStatement,Ms.SwitchCase,Ms.SwitchStatement,Ms.ThrowStatement,Ms.TryStatement,Ms.VariableDeclaration,Ms.VariableDeclarator,Ms.WhileStatement,Ms.WithStatement;var Rs=re((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ClassAccessorProperty=function(e){var t;this.printJoin(e.decorators,e);const s=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;s&&this.catchUp(s);this.tsPrintClassMemberModifiers(e),this.word("accessor",!0),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),0===e.body.length?this.tokenChar(125):(this.newline(),this.printSequence(e.body,e,{indent:!0}),this.endsWith(10)||this.newline(),this.rightBrace(e))},t.ClassExpression=t.ClassDeclaration=function(e,t){(s(t)||r(t))&&this._shouldPrintDecoratorsBeforeExport(t)||this.printJoin(e.decorators,e);e.declare&&(this.word("declare"),this.space());e.abstract&&(this.word("abstract"),this.space());this.word("class"),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){var t;this.printJoin(e.decorators,e);const s=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;s&&this.catchUp(s);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(e))},t._classMethodHead=function(e){var t;this.printJoin(e.decorators,e);const s=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;s&&this.catchUp(s);this.tsPrintClassMemberModifiers(e),this._methodHead(e)};const{isExportDefaultDeclaration:s,isExportNamedDeclaration:r}=I.default}));se(Rs),Rs.ClassAccessorProperty,Rs.ClassBody,Rs.ClassExpression,Rs.ClassDeclaration,Rs.ClassMethod,Rs.ClassPrivateMethod,Rs.ClassPrivateProperty,Rs.ClassProperty,Rs.StaticBlock,Rs._classMethodHead;var Us=re((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowFunctionExpression=function(e,t){e.async&&(this.word("async",!0),this.space());let r;this.format.retainLines||1!==e.params.length||!s(r=e.params[0])||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,r)?this._params(e,void 0,t):this.print(r,e,!0);this._predicate(e,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.print(e.body,e)},t.FunctionDeclaration=t.FunctionExpression=function(e,t){this._functionHead(e,t),this.space(),this.print(e.body,e)},t._functionHead=function(e,t){e.async&&(this.word("async"),this._endsWithInnerRaw=!1,this.space());this.word("function"),e.generator&&(this._endsWithInnerRaw=!1,this.tokenChar(42));this.space(),e.id&&this.print(e.id,e);this._params(e,e.id,t),"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.word("async",!0),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,e.computed&&"StringLiteral"!==e.key.type?void 0:e.key,void 0)},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){const s=e.length;for(let r=0;r<s;r++)this._param(e[r],t),r<e.length-1&&(this.tokenChar(44),this.space())},t._params=function(e,t,s){this.print(e.typeParameters,e);const i=r.call(this,t,s);i&&this.sourceIdentifierName(i.name,i.pos);this.tokenChar(40),this._parameters(e.params,e),this.tokenChar(41);const n="ArrowFunctionExpression"===e.type;this.print(e.returnType,e,n),this._noLineTerminator=n},t._predicate=function(e,t){e.predicate&&(e.returnType||this.tokenChar(58),this.space(),this.print(e.predicate,e,t))};const{isIdentifier:s}=I.default;function r(e,t){let s,r=e;if(!r&&t){const e=t.type;"VariableDeclarator"===e?r=t.id:"AssignmentExpression"===e||"AssignmentPattern"===e?r=t.left:"ObjectProperty"===e||"ClassProperty"===e?t.computed&&"StringLiteral"!==t.key.type||(r=t.key):"ClassPrivateProperty"!==e&&"ClassAccessorProperty"!==e||(r=t.key)}if(r){var i,n;if("Identifier"===r.type)s={pos:null==(i=r.loc)?void 0:i.start,name:(null==(n=r.loc)?void 0:n.identifierName)||r.name};else if("PrivateName"===r.type){var a;s={pos:null==(a=r.loc)?void 0:a.start,name:"#"+r.id.name}}else if("StringLiteral"===r.type){var o;s={pos:null==(o=r.loc)?void 0:o.start,name:r.value}}return s}}}));se(Us),Us.ArrowFunctionExpression,Us.FunctionDeclaration,Us.FunctionExpression,Us._functionHead,Us._methodHead,Us._param,Us._parameters,Us._params,Us._predicate;var qs=re((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ExportAllDeclaration=function(e){var t,s;this.word("export"),this.space(),"type"===e.exportKind&&(this.word("type"),this.space());this.tokenChar(42),this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(s=e.assertions)&&s.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e);this.semicolon()},t.ExportDefaultDeclaration=function(e){u(this,e),this.word("export"),this.noIndentInnerCommentsHere(),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){if(u(this,e),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 n=e.specifiers.slice(0);let a=!1;for(;;){const t=n[0];if(!r(t)&&!i(t))break;a=!0,this.print(n.shift(),e),n.length&&(this.tokenChar(44),this.space())}var t,s;if((n.length||!n.length&&!a)&&(this.tokenChar(123),n.length&&(this.space(),this.printList(n,e),this.space()),this.tokenChar(125)),e.source)this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(s=e.assertions)&&s.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,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){var t,s;this.word("import"),this.space();const r="type"===e.importKind||"typeof"===e.importKind;r?(this.noIndentInnerCommentsHere(),this.word(e.importKind),this.space()):e.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):e.phase&&(this.noIndentInnerCommentsHere(),this.word(e.phase),this.space());const i=e.specifiers.slice(0),o=!!i.length;for(;o;){const t=i[0];if(!n(t)&&!a(t))break;this.print(i.shift(),e),i.length&&(this.tokenChar(44),this.space())}i.length?(this.tokenChar(123),this.space(),this.printList(i,e),this.space(),this.tokenChar(125)):r&&!o&&(this.tokenChar(123),this.tokenChar(125));(o||r)&&(this.space(),this.word("from"),this.space());null!=(t=e.attributes)&&t.length||null!=(s=e.assertions)&&s.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e);this.semicolon()},t.ImportDefaultSpecifier=function(e){this.print(e.local,e)},t.ImportExpression=function(e){this.word("import"),e.phase&&(this.tokenChar(46),this.word(e.phase));this.tokenChar(40),this.print(e.source,e),null!=e.options&&(this.tokenChar(44),this.space(),this.print(e.options,e));this.tokenChar(41)},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))},t._printAttributes=function(e){const{importAttributesKeyword:t}=this.format,{attributes:s,assertions:r}=e;!s||t||c||(c=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));const i="assert"===t||!t&&r;if(this.word(i?"assert":"with"),this.space(),!i&&"with"!==t)return void this.printList(s||r,e);this.tokenChar(123),this.space(),this.printList(s||r,e),this.space(),this.tokenChar(125)};const{isClassDeclaration:s,isExportDefaultSpecifier:r,isExportNamespaceSpecifier:i,isImportDefaultSpecifier:n,isImportNamespaceSpecifier:a,isStatement:o}=I.default;let c=!1;function u(e,t){s(t.declaration)&&e._shouldPrintDecoratorsBeforeExport(t)&&e.printJoin(t.declaration.decorators,t)}}));se(qs),qs.ExportAllDeclaration,qs.ExportDefaultDeclaration,qs.ExportDefaultSpecifier,qs.ExportNamedDeclaration,qs.ExportNamespaceSpecifier,qs.ExportSpecifier,qs.ImportAttribute,qs.ImportDeclaration,qs.ImportDefaultSpecifier,qs.ImportExpression,qs.ImportNamespaceSpecifier,qs.ImportSpecifier,qs._printAttributes;const $s={},zs=$s.hasOwnProperty,Hs=(e,t)=>{for(const s in e)zs.call(e,s)&&t(s,e[s])},Vs=$s.toString,Gs=Array.isArray,Ws=Buffer.isBuffer,Js={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},Xs=/["'\\\b\f\n\r\t]/,Ks=/[0-9]/,Ys=/[ !#-&\(-\[\]-_a-~]/,Zs=(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?(Hs(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,f=!0;const m="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]"==Vs.call(e))(e)){if((e=>"[object Map]"==Vs.call(e))(e))return 0==e.size?"new Map()":(a||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+Zs(Array.from(e),t)+")");if((e=>"[object Set]"==Vs.call(e))(e))return 0==e.size?"new Set()":"new Set("+Zs(Array.from(e),t)+")";if(Ws(e))return 0==e.length?"Buffer.from([])":"Buffer.from("+Zs(Array.from(e),t)+")";if(Gs(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=>{f=!1,p&&(t.__inline2__=!1),d.push((a||p?"":c)+Zs(e,t))})),f?"[]":p?"["+d.join(", ")+"]":"["+h+d.join(","+h)+h+(a?"":u)+"]";if(!(e=>"number"==typeof e||"[object Number]"==Vs.call(e))(e))return(e=>"[object Object]"==Vs.call(e))(e)?(d=[],t.wrap=!0,s(),Hs(e,((e,s)=>{f=!1,d.push((a?"":c)+Zs(e,t)+":"+(a?"":" ")+Zs(s,t))})),f?"{}":"{"+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(m)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(Ys.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&&!Ks.test(v.charAt(b+1))){d+="\\0";continue}if(Xs.test(e)){d+=Js[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};Zs.version="2.5.2";var Qs=Zs,er=re((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);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){var t;this.sourceIdentifierName((null==(t=e.loc)?void 0:t.identifierName)||e.name),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,i=r+"";s.numbers?this.number(Qs(r,s),r):null==t?this.number(i,r):this.format.minified?this.number(t.length<i.length?t:i,r):this.number(t,r)},t.ObjectPattern=t.ObjectExpression=function(e){const t=e.properties;this.tokenChar(123),t.length&&(this.space(),this.printList(t,e,{indent:!0,statement:!0}),this.space());this.sourceWithOffset("end",e.loc,-1),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&&null!=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),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=Qs(e.value,this.format.jsescOption);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);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}=I.default;const i=new Set(["^^","@@","^","%","#"])}));se(er),er.ArgumentPlaceholder,er.ArrayPattern,er.ArrayExpression,er.BigIntLiteral,er.BooleanLiteral,er.DecimalLiteral,er.Identifier,er.NullLiteral,er.NumericLiteral,er.ObjectPattern,er.ObjectExpression,er.ObjectMethod,er.ObjectProperty,er.PipelineBareFunction,er.PipelinePrimaryTopicReference,er.PipelineTopicExpression,er.RecordExpression,er.RegExpLiteral,er.SpreadElement,er.RestElement,er.StringLiteral,er.TopicReference,er.TupleExpression;var tr=re((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(),qs.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);const s=null==t?void 0:t.type;null!=s&&("ObjectTypeCallProperty"===s||"ObjectTypeInternalSlot"===s||"DeclareFunction"===s||"ObjectTypeProperty"===s&&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){var t;this.word("interface"),null!=(t=e.extends)&&t.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 er.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.newline(),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 er.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));if("DeclareClass"===e.type){var s,r;null!=(s=e.mixins)&&s.length&&(this.space(),this.word("mixins"),this.space(),this.printList(e.mixins,e)),null!=(r=e.implements)&&r.length&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements,e))}this.space(),this.print(e.body,e)},t._variance=function(e){var t;const s=null==(t=e.variance)?void 0:t.kind;null!=s&&("plus"===s?this.tokenChar(43):"minus"===s&&this.tokenChar(45))};const{isDeclareExportDeclaration:s,isStatement:r}=I.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()}}));se(tr),tr.AnyTypeAnnotation,tr.ArrayTypeAnnotation,tr.BooleanLiteralTypeAnnotation,tr.BooleanTypeAnnotation,tr.DeclareClass,tr.DeclareExportAllDeclaration,tr.DeclareExportDeclaration,tr.DeclareFunction,tr.DeclareInterface,tr.DeclareModule,tr.DeclareModuleExports,tr.DeclareOpaqueType,tr.DeclareTypeAlias,tr.DeclareVariable,tr.DeclaredPredicate,tr.EmptyTypeAnnotation,tr.EnumBooleanBody,tr.EnumBooleanMember,tr.EnumDeclaration,tr.EnumDefaultedMember,tr.EnumNumberBody,tr.EnumNumberMember,tr.EnumStringBody,tr.EnumStringMember,tr.EnumSymbolBody,tr.ExistsTypeAnnotation,tr.FunctionTypeAnnotation,tr.FunctionTypeParam,tr.IndexedAccessType,tr.InferredPredicate,tr.InterfaceDeclaration,tr.GenericTypeAnnotation,tr.ClassImplements,tr.InterfaceExtends,tr.InterfaceTypeAnnotation,tr.IntersectionTypeAnnotation,tr.MixedTypeAnnotation,tr.NullLiteralTypeAnnotation,tr.NullableTypeAnnotation,tr.NumberLiteralTypeAnnotation,tr.NumberTypeAnnotation,tr.ObjectTypeAnnotation,tr.ObjectTypeCallProperty,tr.ObjectTypeIndexer,tr.ObjectTypeInternalSlot,tr.ObjectTypeProperty,tr.ObjectTypeSpreadProperty,tr.OpaqueType,tr.OptionalIndexedAccessType,tr.QualifiedTypeIdentifier,tr.StringLiteralTypeAnnotation,tr.StringTypeAnnotation,tr.SymbolTypeAnnotation,tr.ThisTypeAnnotation,tr.TupleTypeAnnotation,tr.TypeAlias,tr.TypeAnnotation,tr.TypeCastExpression,tr.TypeParameter,tr.TypeParameterDeclaration,tr.TypeParameterInstantiation,tr.TypeofTypeAnnotation,tr.UnionTypeAnnotation,tr.Variance,tr.VoidTypeAnnotation,tr._interfaceish,tr._variance;var sr=re((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.BlockStatement=function(e){var t;this.tokenChar(123);const s=null==(t=e.directives)?void 0:t.length;if(s){var r;const t=e.body.length?2:1;this.printSequence(e.directives,e,{indent:!0,trailingCommentsLineOffset:t}),null!=(r=e.directives[s-1].trailingComments)&&r.length||this.newline(t)}this.printSequence(e.body,e,{indent:!0}),this.rightBrace(e)},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}`),this.newline(1,!0)},t.Placeholder=function(e){this.token("%%"),this.print(e.name),this.token("%%"),"Statement"===e.expectedNode&&this.semicolon()},t.Program=function(e){var t;this.noIndentInnerCommentsHere(),this.printInnerComments();const s=null==(t=e.directives)?void 0:t.length;if(s){var r;const t=e.body.length?2:1;this.printSequence(e.directives,e,{trailingCommentsLineOffset:t}),null!=(r=e.directives[s-1].trailingComments)&&r.length||this.newline(t)}this.printSequence(e.body,e)};const s=/(?:^|[^\\])(?:\\\\)*'/,r=/(?:^|[^\\])(?:\\\\)*"/}));se(sr),sr.BlockStatement,sr.Directive,sr.DirectiveLiteral,sr.File,sr.InterpreterDirective,sr.Placeholder,sr.Program;var rr=re((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(){this.printInnerComments()},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)}}));se(rr),rr.JSXAttribute,rr.JSXClosingElement,rr.JSXClosingFragment,rr.JSXElement,rr.JSXEmptyExpression,rr.JSXExpressionContainer,rr.JSXFragment,rr.JSXIdentifier,rr.JSXMemberExpression,rr.JSXNamespacedName,rr.JSXOpeningElement,rr.JSXOpeningFragment,rr.JSXSpreadAttribute,rr.JSXSpreadChild,rr.JSXText;var ir=re((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(s)}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.TSSatisfiesExpression=t.TSAsExpression=function(e){var t;const{type:s,expression:r,typeAnnotation:i}=e,n=!(null==(t=r.trailingComments)||!t.length);this.print(r,e,!0,void 0,n),this.space(),this.word("TSAsExpression"===s?"as":"satisfies"),this.space(),this.print(i,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,t){e.declare&&(this.word("declare"),this.space());this._functionHead(e,t),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}=e;t&&(this.word("readonly"),this.space());this.tsPrintPropertyOrMethodName(e),this.print(e.typeAnnotation,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)}}));se(ir),ir.TSAnyKeyword,ir.TSArrayType,ir.TSSatisfiesExpression,ir.TSAsExpression,ir.TSBigIntKeyword,ir.TSBooleanKeyword,ir.TSCallSignatureDeclaration,ir.TSConditionalType,ir.TSConstructSignatureDeclaration,ir.TSConstructorType,ir.TSDeclareFunction,ir.TSDeclareMethod,ir.TSEnumDeclaration,ir.TSEnumMember,ir.TSExportAssignment,ir.TSExpressionWithTypeArguments,ir.TSExternalModuleReference,ir.TSFunctionType,ir.TSImportEqualsDeclaration,ir.TSImportType,ir.TSIndexSignature,ir.TSIndexedAccessType,ir.TSInferType,ir.TSInstantiationExpression,ir.TSInterfaceBody,ir.TSInterfaceDeclaration,ir.TSIntersectionType,ir.TSIntrinsicKeyword,ir.TSLiteralType,ir.TSMappedType,ir.TSMethodSignature,ir.TSModuleBlock,ir.TSModuleDeclaration,ir.TSNamedTupleMember,ir.TSNamespaceExportDeclaration,ir.TSNeverKeyword,ir.TSNonNullExpression,ir.TSNullKeyword,ir.TSNumberKeyword,ir.TSObjectKeyword,ir.TSOptionalType,ir.TSParameterProperty,ir.TSParenthesizedType,ir.TSPropertySignature,ir.TSQualifiedName,ir.TSRestType,ir.TSStringKeyword,ir.TSSymbolKeyword,ir.TSThisType,ir.TSTupleType,ir.TSTypeAliasDeclaration,ir.TSTypeAnnotation,ir.TSTypeAssertion,ir.TSTypeLiteral,ir.TSTypeOperator,ir.TSTypeParameter,ir.TSTypeParameterDeclaration,ir.TSTypeParameterInstantiation,ir.TSTypePredicate,ir.TSTypeQuery,ir.TSTypeReference,ir.TSUndefinedKeyword,ir.TSUnionType,ir.TSUnknownKeyword,ir.TSVoidKeyword,ir.tsPrintClassMemberModifiers,ir.tsPrintFunctionOrConstructorType,ir.tsPrintPropertyOrMethodName,ir.tsPrintSignatureDeclarationBase,ir.tsPrintTypeLiteralOrInterfaceBody;var nr=re((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(Bs).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Bs[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Bs[e]}}))})),Object.keys(js).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===js[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return js[e]}}))})),Object.keys(Ms).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ms[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ms[e]}}))})),Object.keys(Rs).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Rs[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Rs[e]}}))})),Object.keys(Us).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Us[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Us[e]}}))})),Object.keys(qs).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===qs[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return qs[e]}}))})),Object.keys(er).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===er[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return er[e]}}))})),Object.keys(tr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tr[e]}}))})),Object.keys(sr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===sr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return sr[e]}}))})),Object.keys(rr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===rr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return rr[e]}}))})),Object.keys(ir).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ir[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ir[e]}}))}))}));se(nr);var ar=re((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const{isFunction:s,isStatement:r,isClassBody:i,isTSInterfaceBody:n,isTSEnumDeclaration:a}=I.default,o=/e/i,c=/\.0+$/,u=/[\n\r\u2028\u2029]/,l=/[\n\r\u2028\u2029]|\*\//,{needsParens:p}=Ls;class h{constructor(e,t){this.inForStatementInitCounter=0,this._printStack=[],this._indent=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._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.format=e,this._indentRepeat=e.indent.style.length,this._inputMap=null==t?void 0:t._inputMap,this._buf=new _s.default(t,e.indent.style[0])}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),this._noLineTerminator=!1}rightBrace(e){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)}rightParens(e){this.sourceWithOffset("end",e.loc,-1),this.tokenChar(41)}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,t=!1){this._maybePrintInnerComments(),(this._endsWithWord||47===e.charCodeAt(0)&&this.endsWith(47))&&this._space(),this._maybeAddAuxComment(),this._append(e,!1),this._endsWithWord=!0,this._noLineTerminator=t}number(e,t){this.word(e),this._endsWithInteger=Number.isInteger(t)&&!function(e){if(e.length>2&&48===e.charCodeAt(0)){const t=e.charCodeAt(1);return 98===t||111===t||120===t}return!1}(e)&&!o.test(e)&&!c.test(e)&&46!==e.charCodeAt(e.length-1)}token(e,t=!1){this._maybePrintInnerComments();const s=this.getLastChar(),r=e.charCodeAt(0);(33===s&&("--"===e||61===r)||43===r&&43===s||45===r&&45===s||46===r&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._append(e,t),this._noLineTerminator=!1}tokenChar(e){this._maybePrintInnerComments();const t=this.getLastChar();(43===e&&43===t||45===e&&45===t||46===e&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._appendChar(e),this._noLineTerminator=!1}newline(e=1,t){if(!(e<=0)){if(!t){if(this.format.retainLines||this.format.compact)return;if(this.format.concise)return void this.space()}e>2&&(e=2),e-=this._buf.getNewlineCount();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){e?(this._catchUp("start",e),this._buf.exactSource(e,t)):t()}source(e,t){t&&(this._catchUp(e,t),this._buf.source(e,t))}sourceWithOffset(e,t,s){t&&(this._catchUp(e,t),this._buf.sourceWithOffset(e,t,s))}withSource(e,t,s){t?(this._catchUp(e,t),this._buf.withSource(e,t,s)):s()}sourceIdentifierName(e,t){if(!this._buf._canMarkIdName)return;const s=this._buf._sourcePosition;s.identifierNamePos=t,s.identifierName=e}_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._getIndent())}_shouldIndent(e){if(this._indent&&10!==e&&this.endsWith(10))return!0}_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)return;if(47!==t)return void(this._parenPushNewlineState=null)}this.tokenChar(40),this.indent(),t.printed=!0}catchUp(e){if(!this.format.retainLines)return;const t=e-this._buf.getCurrentLine();for(let e=0;e<t;e++)this._newline()}_catchUp(e,t){var s;if(!this.format.retainLines)return;const r=null==t||null==(s=t[e])?void 0:s.line;if(null!=r){const e=r-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);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,r,i){var n,a;if(!e)return;this._endsWithInnerRaw=!1;const o=e.type,c=this.format,u=c.concise;e._compact&&(c.concise=!0);const l=this[o];if(void 0===l)throw new ReferenceError(`unknown node of type ${JSON.stringify(o)} with constructor ${JSON.stringify(e.constructor.name)}`);this._printStack.push(e);const h=this._insideAux;this._insideAux=null==e.loc,this._maybeAddAuxComment(this._insideAux&&!h);const d=null==(n=e.extra)?void 0:n.parenthesized;let f=i||d&&c.retainFunctionParens&&"FunctionExpression"===o||p(e,t,this._printStack);if(!f&&d&&null!=(a=e.leadingComments)&&a.length&&"CommentBlock"===e.leadingComments[0].type){switch(null==t?void 0:t.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(t.callee!==e)break;default:f=!0}}f&&(this.tokenChar(40),this._endsWithInnerRaw=!1),this._lastCommentLine=0,this._printLeadingComments(e,t);const m="Program"===o||"File"===o?null:e.loc;this.exactSource(m,l.bind(this,e,t)),f?(this._printTrailingComments(e,t),this.tokenChar(41),this._noLineTerminator=s):s&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(e,t)):this._printTrailingComments(e,t,r),this._printStack.pop(),c.concise=u,this._insideAux=h,this._endsWithInnerRaw=!1}_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},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;const e=this.format.auxiliaryCommentAfter;e&&this._printComment({type:"CommentBlock",value:e},0)}getPossibleRaw(e){const t=e.extra;if(null!=(null==t?void 0:t.raw)&&null!=t.rawValue&&e.value===t.rawValue)return t.raw}printJoin(e,t,s={}){if(null==e||!e.length)return;let{indent:r}=s;if(null==r&&this.format.retainLines){var i;const t=null==(i=e[0].loc)?void 0:i.start.line;null!=t&&t!==this._buf.getCurrentLine()&&(r=!0)}r&&this.indent();const n={addNewlines:s.addNewlines,nextNodeStartLine:0},a=s.separator?s.separator.bind(this):null,o=e.length;for(let r=0;r<o;r++){const i=e[r];var c;if(i)if(s.statement&&this._printNewline(0===r,n),this.print(i,t,void 0,s.trailingCommentsLineOffset||0),null==s.iterator||s.iterator(i,r),r<o-1&&(null==a||a()),s.statement)if(null!=(c=i.trailingComments)&&c.length||(this._lastCommentLine=0),r+1===o)this.newline(1);else{var u;const t=e[r+1];n.nextNodeStartLine=(null==(u=t.loc)?void 0:u.start.line)||0,this._printNewline(!0,n)}}r&&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,t,s){const{innerComments:r,trailingComments:i}=e;null!=r&&r.length&&this._printComments(2,r,e,t,s),null!=i&&i.length&&this._printComments(2,i,e,t,s)}_printLeadingComments(e,t){const s=e.leadingComments;null!=s&&s.length&&this._printComments(0,s,e,t)}_maybePrintInnerComments(){this._endsWithInnerRaw&&this.printInnerComments(),this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(){const e=this._printStack[this._printStack.length-1],t=e.innerComments;if(null==t||!t.length)return;const s=this.endsWith(32),r=this._indentInnerComments,i=this._printedComments.size;r&&this.indent(),this._printComments(1,t,e),s&&i!==this._printedComments.size&&this.space(),r&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(e,t,s={}){s.statement=!0,null!=s.indent||(s.indent=!1),this.printJoin(e,t,s)}printList(e,t,s={}){null==s.separator&&(s.separator=d),this.printJoin(e,t,s)}_printNewline(e,t){const s=this.format;if(s.retainLines||s.compact)return;if(s.concise)return void this.space();if(!e)return;const r=t.nextNodeStartLine,i=this._lastCommentLine;if(r>0&&i>0){const e=r-i;if(e>=0)return void this.newline(e||1)}this._buf.hasContent()&&this.newline(1)}_shouldPrintComment(e){return e.ignore||this._printedComments.has(e)?0:this._noLineTerminator&&l.test(e.value)?2:(this._printedComments.add(e),this.format.shouldPrintComment(e.value)?1:0)}_printComment(e,t){const s=this._noLineTerminator,r="CommentBlock"===e.type,i=r&&1!==t&&!this._noLineTerminator;i&&this._buf.hasContent()&&2!==t&&this.newline(1);const n=this.getLastChar();let a;if(91!==n&&123!==n&&this.space(),r){const{_parenPushNewlineState:t}=this;if(!1===(null==t?void 0:t.printed)&&u.test(e.value)&&(this.tokenChar(40),this.indent(),t.printed=!0),a=`/*${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");a=a.replace(e,"\n")}if(this.format.concise)a=a.replace(/\n(?!$)/g,"\n");else{let e=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&(e+=this._getIndent()),a=a.replace(/\n(?!$)/g,`\n${" ".repeat(e)}`)}}}else a=s?`/*${e.value}*/`:`//${e.value}`;this.endsWith(47)&&this._space(),this.source("start",e.loc),this._append(a,r),r||s||this.newline(1,!0),i&&3!==t&&this.newline(1)}_printComments(e,t,o,c,l=0){const p=o.loc,h=t.length;let d=!!p;const f=d?p.start.line:0,m=d?p.end.line:0;let y=0,g=0;const x=this._noLineTerminator?function(){}:this.newline.bind(this);for(let p=0;p<h;p++){const v=t[p],b=this._shouldPrintComment(v);if(2===b){d=!1;break}if(d&&v.loc&&1===b){const t=v.loc.start.line,s=v.loc.end.line;if(0===e){let e=0;0===p?!this._buf.hasContent()||"CommentLine"!==v.type&&t==s||(e=g=1):e=t-y,y=s,x(e),this._printComment(v,1),p+1===h&&(x(Math.max(f-y,g)),y=f)}else if(1===e){const e=t-(0===p?f:y);y=s,x(e),this._printComment(v,1),p+1===h&&(x(Math.min(1,m-y)),y=m)}else{const e=t-(0===p?m-l:y);y=s,x(e),this._printComment(v,1)}}else{if(d=!1,1!==b)continue;if(1===h){const t=v.loc?v.loc.start.line===v.loc.end.line:!u.test(v.value),l=t&&!r(o)&&!i(c)&&!n(c)&&!a(c);0===e?this._printComment(v,l&&"ObjectExpression"!==o.type||t&&s(c,{body:o})?1:0):l&&2===e?this._printComment(v,1):this._printComment(v,0)}else 1!==e||"ObjectExpression"===o.type&&o.properties.length>1||"ClassBody"===o.type||"TSInterfaceBody"===o.type?this._printComment(v,0):this._printComment(v,0===p?2:p===h-1?3:0)}}2===e&&d&&y&&(this._lastCommentLine=y)}}function d(){this.tokenChar(44),this.space()}Object.assign(h.prototype,nr),h.prototype.Noop=function(){},t.default=h}));se(ar);var or=re((function(e,t){function s(e,t){var s;const r={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:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},t.jsescOption),recordAndTupleSyntaxType:null!=(s=t.recordAndTupleSyntaxType)?s:"hash",topicToken:t.topicToken,importAttributesKeyword:t.importAttributesKeyword};r.decoratorsBeforeExport=t.decoratorsBeforeExport,r.jsescOption.json=t.jsonCompatibleStrings,r.minified?(r.compact=!0,r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)):r.shouldPrintComment=r.shouldPrintComment||(e=>r.comments||e.includes("@license")||e.includes("@preserve")),"auto"===r.compact&&(r.compact="string"==typeof e&&e.length>5e5,r.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${t.filename} as it exceeds the max of 500KB.`)),r.compact&&(r.indent.adjustMultilineComment=!1);const{auxiliaryCommentBefore:i,auxiliaryCommentAfter:n,shouldPrintComment:a}=r;return i&&!a(i)&&(r.auxiliaryCommentBefore=void 0),n&&!a(n)&&(r.auxiliaryCommentAfter=void 0),r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t={},r){const i=s(r,t),n=t.sourceMaps?new Is.default(t,r):null;return new ar.default(i,n).generate(e)},t.CodeGenerator=class{constructor(e,t={},r){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=e,this._format=s(r,t),this._map=t.sourceMaps?new Is.default(t,r):null}generate(){return new ar.default(this._format,this._map).generate(this._ast)}}})),cr=se(or);or.CodeGenerator;let ur,lr,pr=e=>((e=>{!ur||ur.length<e?(ur=Buffer.allocUnsafe(128*e),O.default.randomFillSync(ur),lr=0):lr+e>ur.length&&(O.default.randomFillSync(ur),lr=0),lr+=e})(e-=0),ur.subarray(lr-e,lr));var hr=((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,pr))("0123456789abcdefghijklmnopqrstuvwxyz",6),dr=function(e,t,s){var r=[],i=[],n=k.readFileSync(e.path+"/"+e.fileName,"utf-8"),a=n.includes("this.props?.children")||n.includes("this.props.children");n=(n=n.replace("{$eval(() => this.props?.children)}","<Outlet />")).replace("{$eval(() => this.props.children)}","<Outlet />"),"vite"===t&&(n=n.replace("constants = constants;","constants = constants;\n history = utils.history;"));var o=rt("".concat(n),{sourceType:"module",plugins:["jsx","typescript","decorators-legacy"]});if(F.default(o,{Program:function(e){var r=e.node.body;r.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 i=r.find((function(e){return e.source&&"ruoqing-components"===e.source.value}));i&&["$eval","$createChildContext","$evalArray"].forEach((function(e){i.specifiers.push(_.importSpecifier(_.identifier(e),_.identifier(e)))}));var n=r.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)}));i&&n>-1&&(r.splice(n,1),i.specifiers.push(_.importSpecifier(_.identifier("dataSource"),_.identifier("dataSource"))));var o=r.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)}));i&&o>-1&&(r.splice(o,1),i.specifiers.push(_.importSpecifier(_.identifier("requestHandle"),_.identifier("requestHandle"))));var c=r.findIndex((function(e){var t;return"./index.css"===(null===(t=null==e?void 0:e.source)||void 0===t?void 0:t.value)}));r.splice(c,1,_.importDeclaration([],_.stringLiteral("vite"===t?"./index.css":"./index.scss")));var u=Q(rt("const { px, RefsManager, $eval, $evalArray, $createChildContext } = utils;",{sourceType:"module",plugins:["jsx","typescript","decorators-legacy"]}).program.body,1)[0];if(r.splice(c+1,0,u),a){var l=_.importDeclaration([_.importSpecifier(_.identifier("Outlet"),_.identifier("Outlet"))],_.stringLiteral("react-router-dom"));r.splice(c+2,0,l)}},ImportDeclaration:function(e){var t,s,r;e.node.specifiers&&e.node.specifiers.length>0&&(e.node.specifiers=e.node.specifiers.filter((function(e){return!(e.imported&&"Component"===e.imported.name)}))),"StringLiteral"===(null===(t=e.node.source)||void 0===t?void 0:t.type)&&(null===(r=null===(s=e.node)||void 0===s?void 0:s.source)||void 0===r?void 0:r.value)&&(e.node.source.value=e.node.source.value.replace("/src/index.tsx",""))},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(_.jsxExpressionContainer(_.callExpression(_.identifier("px"),[_.numericLiteral(Number(n))]))):e.replaceWith(_.callExpression(_.identifier("px"),[_.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)||hr(6)))}u||(u="svg_".concat(hr(6))),i.findIndex((function(e){return e.fileName===u}))>-1&&(u="".concat(u,"_").concat(hr(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(_.jsxAttribute(_.jsxIdentifier("svg"),_.jsxExpressionContainer(_.memberExpression(_.identifier("ICONS"),_.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 f=e.container.find((function(e){return"className"===e.name.name}));if(f){var m=(d=null===(c=null==f?void 0:f.value)||void 0===c?void 0:c.value).split("__");d=(m.length>0?m[m.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=_.jSXExpressionContainer(_.identifier(x));e.node.value=d?v:null,r.push({url:y,fileName:g,line:_.importDeclaration([_.importDefaultSpecifier(_.identifier(x))],_.stringLiteral("./images/".concat(g)))})}}},Identifier:function(e){"__$$context"===e.node.name&&"CallExpression"===e.parentPath.type&&(e.node.name="this")},FunctionExpression:function(e){if("JSXExpressionContainer"===e.parent.type){var t=_.arrowFunctionExpression(e.node.params,e.node.body,!1);e.replaceWith(t)}},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;_.isMemberExpression(t.callee)&&_.isIdentifier(t.callee.property,{name:"stopPropagation"})&&e.replaceWith(_.optionalCallExpression(_.memberExpression(t.callee.object,_.identifier("stopPropagation")),[],!0))}}),i.length>0){var c=!1;F.default(o,{ImportDeclaration:function(e){if(!c){var t=_.importDeclaration([_.importDefaultSpecifier(_.identifier("ICONS"))],_.stringLiteral("./icons"));e.insertBefore(t),c=!0}}})}if(r.length>0){var u=!1;F.default(o,{ImportDeclaration:function(e){u||(r.forEach((function(t){e.insertBefore(t.line)})),u=!0)}})}return{code:cr(o).code,images:r,svgs:i}},fr=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)}},mr=Object.prototype.toString,yr=function(e){return function(t){var s=mr.call(t);return e[s]||(e[s]=s.slice(8,-1).toLowerCase())}}(Object.create(null));function gr(e){return e=e.toLowerCase(),function(t){return yr(t)===e}}function xr(e){return Array.isArray(e)}function vr(e){return void 0===e}var br=gr("ArrayBuffer");function Er(e){return null!==e&&"object"==typeof e}function Cr(e){if("object"!==yr(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var Ar=gr("Date"),wr=gr("File"),Dr=gr("Blob"),Tr=gr("FileList");function Sr(e){return"[object Function]"===mr.call(e)}var Pr=gr("URLSearchParams");function kr(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),xr(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 Nr,Ir=(Nr="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return Nr&&e instanceof Nr}),_r={isArray:xr,isArrayBuffer:br,isBuffer:function(e){return null!==e&&!vr(e)&&null!==e.constructor&&!vr(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||mr.call(e)===t||Sr(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&br(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:Er,isPlainObject:Cr,isUndefined:vr,isDate:Ar,isFile:wr,isBlob:Dr,isFunction:Sr,isStream:function(e){return Er(e)&&Sr(e.pipe)},isURLSearchParams:Pr,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:kr,merge:function e(){var t={};function s(s,r){Cr(t[r])&&Cr(s)?t[r]=e(t[r],s):Cr(s)?t[r]=e({},s):xr(s)?t[r]=s.slice():t[r]=s}for(var r=0,i=arguments.length;r<i;r++)kr(arguments[r],s);return t},extend:function(e,t,s){return kr(t,(function(t,r){e[r]=s&&"function"==typeof t?fr(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:yr,kindOfTest:gr,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(vr(t))return null;for(var s=new Array(t);t-- >0;)s[t]=e[t];return s},isTypedArray:Ir,isFileList:Tr};function Fr(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Or=function(e,t,s){if(!t)return e;var r;if(s)r=s(t);else if(_r.isURLSearchParams(t))r=t.toString();else{var i=[];_r.forEach(t,(function(e,t){null!=e&&(_r.isArray(e)?t+="[]":e=[e],_r.forEach(e,(function(e){_r.isDate(e)?e=e.toISOString():_r.isObject(e)&&(e=JSON.stringify(e)),i.push(Fr(t)+"="+Fr(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 Lr(){this.handlers=[]}Lr.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},Lr.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},Lr.prototype.forEach=function(e){_r.forEach(this.handlers,(function(t){null!==t&&e(t)}))};var Br=Lr,jr=function(e,t){_r.forEach(e,(function(s,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=s,delete e[r])}))};function Mr(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)}_r.inherits(Mr,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 Rr=Mr.prototype,Ur={};["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){Ur[e]={value:e}})),Object.defineProperties(Mr,Ur),Object.defineProperty(Rr,"isAxiosError",{value:!0}),Mr.from=function(e,t,s,r,i,n){var a=Object.create(Rr);return _r.toFlatObject(e,a,(function(e){return e!==Error.prototype})),Mr.call(a,e.message,t,s,r,i),a.name=e.name,n&&Object.assign(a,n),a};var qr=Mr,$r={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};var zr=function(e,t){t=t||new FormData;var s=[];function r(e){return null===e?"":_r.isDate(e)?e.toISOString():_r.isArrayBuffer(e)||_r.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(i,n){if(_r.isPlainObject(i)||_r.isArray(i)){if(-1!==s.indexOf(i))throw Error("Circular reference detected in "+n);s.push(i),_r.forEach(i,(function(s,i){if(!_r.isUndefined(s)){var a,o=n?n+"."+i:i;if(s&&!n&&"object"==typeof s)if(_r.endsWith(i,"{}"))s=JSON.stringify(s);else if(_r.endsWith(i,"[]")&&(a=_r.toArray(s)))return void a.forEach((function(e){!_r.isUndefined(e)&&t.append(o,r(e))}));e(s,o)}})),s.pop()}else t.append(n,r(i))}(e),t},Hr=function(e,t,s){var r=s.config.validateStatus;s.status&&r&&!r(s.status)?t(new qr("Request failed with status code "+s.status,[qr.ERR_BAD_REQUEST,qr.ERR_BAD_RESPONSE][Math.floor(s.status/100)-4],s.config,s.request,s)):e(s)},Vr=_r.isStandardBrowserEnv()?{write:function(e,t,s,r,i,n){var a=[];a.push(e+"="+encodeURIComponent(t)),_r.isNumber(s)&&a.push("expires="+new Date(s).toGMTString()),_r.isString(r)&&a.push("path="+r),_r.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(){}},Gr=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},Wr=["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"],Jr=_r.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=_r.isString(t)?r(t):t;return s.protocol===e.protocol&&s.host===e.host}}():function(){return!0};function Xr(e){qr.call(this,null==e?"canceled":e,qr.ERR_CANCELED),this.name="CanceledError"}_r.inherits(Xr,qr,{__CANCEL__:!0});var Kr=Xr,Yr=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)}_r.isFormData(i)&&_r.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=Gr(e.baseURL,e.url);function h(){if(c){var r="getAllResponseHeaders"in c?function(e){var t,s,r,i={};return e?(_r.forEach(e.split("\n"),(function(e){if(r=e.indexOf(":"),t=_r.trim(e.substr(0,r)).toLowerCase(),s=_r.trim(e.substr(r+1)),t){if(i[t]&&Wr.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};Hr((function(e){t(e),o()}),(function(e){s(e),o()}),i),c=null}}if(c.open(e.method.toUpperCase(),Or(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 qr("Request aborted",qr.ECONNABORTED,e,c)),c=null)},c.onerror=function(){s(new qr("Network Error",qr.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||$r;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),s(new qr(t,r.clarifyTimeoutError?qr.ETIMEDOUT:qr.ECONNABORTED,e,c)),c=null},_r.isStandardBrowserEnv()){var d=(e.withCredentials||Jr(p))&&e.xsrfCookieName?Vr.read(e.xsrfCookieName):void 0;d&&(n[e.xsrfHeaderName]=d)}"setRequestHeader"in c&&_r.forEach(n,(function(e,t){void 0===i&&"content-type"===t.toLowerCase()?delete n[t]:c.setRequestHeader(t,e)})),_r.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 Kr: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 f=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(p);f&&-1===["http","https","file"].indexOf(f)?s(new qr("Unsupported protocol "+f+":",qr.ERR_BAD_REQUEST,e)):c.send(i)}))},Zr=1e3,Qr=6e4,ei=60*Qr,ti=24*ei,si=7*ti,ri=365.25*ti,ii=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*ri;case"weeks":case"week":case"w":return s*si;case"days":case"day":case"d":return s*ti;case"hours":case"hour":case"hrs":case"hr":case"h":return s*ei;case"minutes":case"minute":case"mins":case"min":case"m":return s*Qr;case"seconds":case"second":case"secs":case"sec":case"s":return s*Zr;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>=ti)return ni(e,t,ti,"day");if(t>=ei)return ni(e,t,ei,"hour");if(t>=Qr)return ni(e,t,Qr,"minute");if(t>=Zr)return ni(e,t,Zr,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=ti)return Math.round(e/ti)+"d";if(t>=ei)return Math.round(e/ei)+"h";if(t>=Qr)return Math.round(e/Qr)+"m";if(t>=Zr)return Math.round(e/Zr)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function ni(e,t,s,r){var i=t>=1.5*s;return Math.round(e/s)+" "+r+(i?"s":"")}var ai=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=ii,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},oi=re((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=ai(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}));oi.formatArgs,oi.save,oi.load,oi.useColors,oi.storage,oi.destroy,oi.colors,oi.log;var ci=re((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(U.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):D.default.isatty(process.stderr.fd)},t.destroy=U.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=Ee;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=ai(t);const{formatters:s}=e.exports;s.o=function(e){return this.inspectOpts.colors=this.useColors,U.default.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},s.O=function(e){return this.inspectOpts.colors=this.useColors,U.default.inspect(e,this.inspectOpts)}}));ci.init,ci.log,ci.formatArgs,ci.save,ci.load,ci.useColors,ci.destroy,ci.colors,ci.inspectOpts;var ui,li=re((function(e){"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=oi:e.exports=ci})),pi=function(){if(!ui){try{ui=li("follow-redirects")}catch(e){}"function"!=typeof ui&&(ui=function(){})}ui.apply(null,arguments)},hi=j.default.URL,di=M.default.Writable,fi=!1;try{R.default(new hi)}catch(e){fi="ERR_INVALID_URL"===e.code}var mi=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],yi=["abort","aborted","connect","error","socket","timeout"],gi=Object.create(null);yi.forEach((function(e){gi[e]=function(t,s,r){this._redirectable.emit(e,t,s,r)}}));var xi=Ii("ERR_INVALID_URL","Invalid URL",TypeError),vi=Ii("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),bi=Ii("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",vi),Ei=Ii("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),Ci=Ii("ERR_STREAM_WRITE_AFTER_END","write after end"),Ai=di.prototype.destroy||Ti;function wi(e,t){di.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){try{s._processResponse(e)}catch(e){s.emit("error",e instanceof vi?e:new vi({cause:e}))}},this._performRequest()}function Di(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){var a;return a=e,hi&&a instanceof hi?e=ki(e):Fi(e)?e=ki(Si(e)):(n=r,r=Pi(e),e={protocol:i}),Oi(r)&&(n=r,r=null),(r=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,r)).nativeProtocols=s,Fi(r.host)||Fi(r.hostname)||(r.hostname="::1"),R.default.equal(r.protocol,i,"protocol mismatch"),pi("options",r),new wi(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 Ti(){}function Si(e){var t;if(fi)t=new hi(e);else if(!Fi((t=Pi(j.default.parse(e))).protocol))throw new xi({input:e});return t}function Pi(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new xi({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new xi({input:e.href||e});return e}function ki(e,t){var s=t||{};for(var r of mi)s[r]=e[r];return s.hostname.startsWith("[")&&(s.hostname=s.hostname.slice(1,-1)),""!==s.port&&(s.port=Number(s.port)),s.path=s.search?s.pathname+s.search:s.pathname,s}function Ni(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 Ii(e,t,s){function r(s){Error.captureStackTrace(this,this.constructor),Object.assign(this,s||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return r.prototype=new(s||Error),Object.defineProperties(r.prototype,{constructor:{value:r,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),r}function _i(e,t){for(var s of yi)e.removeListener(s,gi[s]);e.on("error",Ti),e.destroy(t)}function Fi(e){return"string"==typeof e||e instanceof String}function Oi(e){return"function"==typeof e}wi.prototype=Object.create(di.prototype),wi.prototype.abort=function(){_i(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},wi.prototype.destroy=function(e){return _i(this._currentRequest,e),Ai.call(this,e),this},wi.prototype.write=function(e,t,s){if(this._ending)throw new Ci;if(!Fi(e)&&("object"!=typeof(r=e)||!("length"in r)))throw new TypeError("data should be a string, Buffer or Uint8Array");var r;Oi(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 Ei),this.abort()):s&&s()},wi.prototype.end=function(e,t,s){if(Oi(e)?(s=e,e=t=null):Oi(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)},wi.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},wi.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},wi.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),s.removeListener("close",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.on("close",n),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){wi.prototype[e]=function(t,s){return this._currentRequest[e](t,s)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(wi.prototype,e,{get:function(){return this._currentRequest[e]}})})),wi.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))}},wi.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);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,yi))r.on(i,gi[i]);if(this._currentUrl=/^\//.test(this._options.path)?j.default.format(this._options):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()}()}},wi.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var s,r=e.headers.location;if(!r||!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(_i(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new bi;var i=this._options.beforeRedirect;i&&(s=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=[],Ni(/^content-/i,this._options.headers));var a=Ni(/^host$/i,this._options.headers),o=Si(this._currentUrl),c=a||o.host,u=/^\w+:/.test(r)?this._currentUrl:j.default.format(Object.assign(o,{host:c})),l=function(e,t){return fi?new hi(e,t):Si(j.default.resolve(t,e))}(r,u);if(pi("redirecting to",l.href),this._isRedirect=!0,ki(l,this._options),(l.protocol!==o.protocol&&"https:"!==l.protocol||l.host!==c&&!function(e,t){R.default(Fi(e)&&Fi(t));var s=e.length-t.length-1;return s>0&&"."===e[s]&&e.endsWith(t)}(l.host,c))&&Ni(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),Oi(i)){var p={headers:e.headers,statusCode:t},h={url:u,method:n,headers:s};i(this._options,p,h),this._sanitizeOptions(this._options)}this._performRequest()};var Li=Di({http:L.default,https:B.default}),Bi=Di;Li.wrap=Bi;var ji="0.27.2",Mi=Li.http,Ri=Li.https,Ui=ji,qi=/https:?/,$i=["http:","https:","file:"];function zi(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,zi(e,t,e.href)}}var Hi=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/"+Ui,_r.isFormData(c)&&_r.isFunction(c.getHeaders))Object.assign(u,c.getHeaders());else if(c&&!_r.isStream(c)){if(Buffer.isBuffer(c));else if(_r.isArrayBuffer(c))c=Buffer.from(new Uint8Array(c));else{if(!_r.isString(c))return o(new qr("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",qr.ERR_BAD_REQUEST,e));c=Buffer.from(c,"utf-8")}if(e.maxBodyLength>-1&&c.length>e.maxBodyLength)return o(new qr("Request body larger than maxBodyLength limit",qr.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=Gr(e.baseURL,e.url),d=j.default.parse(h),f=d.protocol||$i[0];if(-1===$i.indexOf(f))return o(new qr("Unsupported protocol "+f,qr.ERR_BAD_REQUEST,e));if(!p&&d.auth){var m=d.auth.split(":");p=(m[0]||"")+":"+(m[1]||"")}p&&l.authorization&&delete u[l.authorization];var y=qi.test(f),g=y?e.httpsAgent:e.httpAgent;try{Or(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:Or(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=f.slice(0,-1)+"_proxy",A=process.env[C]||process.env[C.toUpperCase()];if(A){var w=j.default.parse(A),D=process.env.no_proxy||process.env.NO_PROXY,T=!0;if(D){var S=D.split(",").map((function(e){return e.trim()}));T=!S.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 P=w.auth.split(":");E.auth={username:P[0],password:P[1]}}}}E&&(v.headers.host=d.hostname+(d.port?":"+d.port:""),zi(v,E,f+"//"+d.hostname+(d.port?":"+d.port:"")+v.path));var k=y&&(!E||qi.test(E.protocol));e.transport?b=e.transport:0===e.maxRedirects?b=k?B.default:L.default:(e.maxRedirects&&(v.maxRedirects=e.maxRedirects),e.beforeRedirect&&(v.beforeRedirect=e.beforeRedirect),b=k?Ri:Mi),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(q.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,Hr(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 qr("maxContentLength size of "+e.maxContentLength+" exceeded",qr.ERR_BAD_RESPONSE,e,r)))})),s.on("aborted",(function(){a||(s.destroy(),o(new qr("maxContentLength size of "+e.maxContentLength+" exceeded",qr.ERR_BAD_RESPONSE,e,r)))})),s.on("error",(function(t){N.aborted||o(qr.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=_r.stripBOM(t))),i.data=t}catch(t){o(qr.from(t,null,e,i.request,i))}Hr(n,o,i)}))}}}));if(N.on("error",(function(t){o(qr.from(t,null,e,N))})),N.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){var I=parseInt(e.timeout,10);if(isNaN(I))return void o(new qr("error trying to parse `config.timeout` to int",qr.ERR_BAD_OPTION_VALUE,e,N));N.setTimeout(I,(function(){N.abort();var t=e.transitional||$r;o(new qr("timeout of "+I+"ms exceeded",t.clarifyTimeoutError?qr.ETIMEDOUT:qr.ECONNABORTED,e,N))}))}(e.cancelToken||e.signal)&&(r=function(e){N.aborted||(N.abort(),o(!e||e&&e.type?new Kr:e))},e.cancelToken&&e.cancelToken.subscribe(r),e.signal&&(e.signal.aborted?r():e.signal.addEventListener("abort",r))),_r.isStream(c)?c.on("error",(function(t){o(qr.from(t,e,null,N))})).pipe(N):N.end(c)}))},Vi=M.default.Stream,Gi=Wi;function Wi(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}U.default.inherits(Wi,Vi),Wi.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(Wi.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),Wi.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},Wi.prototype.resume=function(){this._released||this.release(),this.source.resume()},Wi.prototype.pause=function(){this.source.pause()},Wi.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},Wi.prototype.pipe=function(){var e=Vi.prototype.pipe.apply(this,arguments);return this.resume(),e},Wi.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))},Wi.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 Ji=M.default.Stream,Xi=Ki;function Ki(){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}U.default.inherits(Ki,Ji),Ki.create=function(e){var t=new this;for(var s in e=e||{})t[s]=e[s];return t},Ki.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},Ki.prototype.append=function(e){if(Ki.isStreamLike(e)){if(!(e instanceof Gi)){var t=Gi.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},Ki.prototype.pipe=function(e,t){return Ji.prototype.pipe.call(this,e,t),this.resume(),e},Ki.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}}},Ki.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){Ki.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},Ki.prototype._pipeNext=function(e){if(this._currentStream=e,Ki.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},Ki.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},Ki.prototype.write=function(e){this.emit("data",e)},Ki.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},Ki.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")},Ki.prototype.end=function(){this._reset(),this.emit("end")},Ki.prototype.destroy=function(){this._reset(),this.emit("close")},Ki.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},Ki.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},Ki.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)},Ki.prototype._emitError=function(e){this._reset(),this.emit("error",e)};var Yi=ie(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}}})),Zi=re((function(e,t){var s=T.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&&Yi[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(Yi).forEach((function(r){var i=Yi[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(Yi[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)}));Zi.charset,Zi.charsets,Zi.contentType,Zi.extension,Zi.extensions,Zi.lookup,Zi.types;var Qi=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 en=function(e){var t=!1;return Qi((function(){t=!0})),function(s,r){t?e(s,r):Qi((function(){e(s,r)}))}};var tn=function(e){Object.keys(e.jobs).forEach(sn.bind(e)),e.jobs={}};function sn(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}var rn=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,en(r)):e(s,t,en(r));return i}(t,i,e[i],(function(e,t){i in s.jobs&&(delete s.jobs[i],e?tn(s):s.results[i]=t,r(e,s.results))}))};var nn=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 an=function(e){if(!Object.keys(this.jobs).length)return;this.index=this.size,tn(this),en(e)(null,this.results)};var on=function(e,t,s){var r=nn(e);for(;r.index<(r.keyedList||e).length;)rn(e,t,r,(function(e,t){e?s(e,t):0!==Object.keys(r.jobs).length||s(null,r.results)})),r.index++;return an.bind(r,s)};var cn=function(e,t,s,r){var i=nn(e,s);return rn(e,t,i,(function s(n,a){n?r(n,a):(i.index++,i.index<(i.keyedList||e).length?rn(e,t,i,s):r(null,i.results))})),an.bind(i,r)},un=pn,ln=function(e,t){return-1*pn(e,t)};function pn(e,t){return e<t?-1:e>t?1:0}cn.ascending=un,cn.descending=ln;var hn={parallel:on,serial:function(e,t,s){return cn(e,t,null,s)},serialOrdered:cn},dn=function(e,t){return Object.keys(t).forEach((function(s){e[s]=e[s]||t[s]})),e},fn=j.default.parse,mn=M.default.Stream,yn=gn;function gn(e){if(!(this instanceof gn))return new gn(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Xi.call(this),e=e||{})this[t]=e[t]}U.default.inherits(gn,Xi),gn.LINE_BREAK="\r\n",gn.DEFAULT_CONTENT_TYPE="application/octet-stream",gn.prototype.append=function(e,t,s){"string"==typeof(s=s||{})&&(s={filename:s});var r=Xi.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),U.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)}},gn.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)+gn.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof mn)&&(s.knownLength||this._valuesToMeasure.push(t))},gn.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)):N.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")},gn.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&&dn(o,s.header),o)o.hasOwnProperty(c)&&null!=(r=o[c])&&(Array.isArray(r)||(r=[r]),r.length&&(a+=c+": "+r.join("; ")+gn.LINE_BREAK));return"--"+this.getBoundary()+gn.LINE_BREAK+a+gn.LINE_BREAK},gn.prototype._getContentDisposition=function(e,t){var s,r;return"string"==typeof t.filepath?s=T.default.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?s=T.default.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(s=T.default.basename(e.client._httpMessage.path||"")),s&&(r='filename="'+s+'"'),r},gn.prototype._getContentType=function(e,t){var s=t.contentType;return!s&&e.name&&(s=Zi.lookup(e.name)),!s&&e.path&&(s=Zi.lookup(e.path)),!s&&e.readable&&e.hasOwnProperty("httpVersion")&&(s=e.headers["content-type"]),s||!t.filepath&&!t.filename||(s=Zi.lookup(t.filepath||t.filename)),s||"object"!=typeof e||(s=gn.DEFAULT_CONTENT_TYPE),s},gn.prototype._multiPartFooter=function(){return function(e){var t=gn.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},gn.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+gn.LINE_BREAK},gn.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},gn.prototype.setBoundary=function(e){this._boundary=e},gn.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},gn.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(gn.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},gn.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},gn.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},gn.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},gn.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?hn.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))},gn.prototype.submit=function(e,t){var s,r,i={method:"post"};return"string"==typeof e?(e=fn(e),r=dn({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i)):(r=dn(e,i)).port||(r.port="https:"==r.protocol?443:80),r.headers=this.getHeaders(e.headers),s="https:"==r.protocol?B.default.request(r):L.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},gn.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},gn.prototype.toString=function(){return"[object FormData]"};var xn=yn,vn={"Content-Type":"application/x-www-form-urlencoded"};function bn(e,t){!_r.isUndefined(e)&&_r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var En,Cn={transitional:$r,adapter:("undefined"!=typeof XMLHttpRequest?En=Yr:"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process)&&(En=Hi),En),transformRequest:[function(e,t){if(jr(t,"Accept"),jr(t,"Content-Type"),_r.isFormData(e)||_r.isArrayBuffer(e)||_r.isBuffer(e)||_r.isStream(e)||_r.isFile(e)||_r.isBlob(e))return e;if(_r.isArrayBufferView(e))return e.buffer;if(_r.isURLSearchParams(e))return bn(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var s,r=_r.isObject(e),i=t&&t["Content-Type"];if((s=_r.isFileList(e))||r&&"multipart/form-data"===i){var n=this.env&&this.env.FormData;return zr(s?{"files[]":e}:e,n&&new n)}return r||"application/json"===i?(bn(t,"application/json"),function(e,t,s){if(_r.isString(e))try{return(t||JSON.parse)(e),_r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(s||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||Cn.transitional,s=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,i=!s&&"json"===this.responseType;if(i||r&&_r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw qr.from(e,qr.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:xn},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};_r.forEach(["delete","get","head"],(function(e){Cn.headers[e]={}})),_r.forEach(["post","put","patch"],(function(e){Cn.headers[e]=_r.merge(vn)}));var An=Cn,wn=function(e,t,s){var r=this||An;return _r.forEach(s,(function(s){e=s.call(r,e,t)})),e},Dn=function(e){return!(!e||!e.__CANCEL__)};function Tn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Kr}var Sn=function(e){return Tn(e),e.headers=e.headers||{},e.data=wn.call(e,e.data,e.headers,e.transformRequest),e.headers=_r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),_r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||An.adapter)(e).then((function(t){return Tn(e),t.data=wn.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return Dn(t)||(Tn(e),t&&t.response&&(t.response.data=wn.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))},Pn=function(e,t){t=t||{};var s={};function r(e,t){return _r.isPlainObject(e)&&_r.isPlainObject(t)?_r.merge(e,t):_r.isPlainObject(t)?_r.merge({},t):_r.isArray(t)?t.slice():t}function i(s){return _r.isUndefined(t[s])?_r.isUndefined(e[s])?void 0:r(void 0,e[s]):r(e[s],t[s])}function n(e){if(!_r.isUndefined(t[e]))return r(void 0,t[e])}function a(s){return _r.isUndefined(t[s])?_r.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 _r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||i,r=t(e);_r.isUndefined(r)&&t!==o||(s[e]=r)})),s},kn=ji,Nn={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){Nn[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}}));var In={};Nn.transitional=function(e,t,s){function r(e,t){return"[Axios v"+kn+"] Transitional option '"+e+"'"+t+(s?". "+s:"")}return function(s,i,n){if(!1===e)throw new qr(r(i," has been removed"+(t?" in "+t:"")),qr.ERR_DEPRECATED);return t&&!In[i]&&(In[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 _n={assertOptions:function(e,t,s){if("object"!=typeof e)throw new qr("options must be an object",qr.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 qr("option "+n+" must be "+c,qr.ERR_BAD_OPTION_VALUE)}else if(!0!==s)throw new qr("Unknown option "+n,qr.ERR_BAD_OPTION)}},validators:Nn},Fn=_n.validators;function On(e){this.defaults=e,this.interceptors={request:new Br,response:new Br}}On.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=Pn(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&&_n.assertOptions(s,{silentJSONParsing:Fn.transitional(Fn.boolean),forcedJSONParsing:Fn.transitional(Fn.boolean),clarifyTimeoutError:Fn.transitional(Fn.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=[Sn,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=Sn(c)}catch(e){return Promise.reject(e)}for(;a.length;)n=n.then(a.shift(),a.shift());return n},On.prototype.getUri=function(e){e=Pn(this.defaults,e);var t=Gr(e.baseURL,e.url);return Or(t,e.params,e.paramsSerializer)},_r.forEach(["delete","get","head","options"],(function(e){On.prototype[e]=function(t,s){return this.request(Pn(s||{},{method:e,url:t,data:(s||{}).data}))}})),_r.forEach(["post","put","patch"],(function(e){function t(t){return function(s,r,i){return this.request(Pn(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:s,data:r}))}}On.prototype[e]=t(),On.prototype[e+"Form"]=t(!0)}));var Ln=On;function Bn(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 Kr(e),t(s.reason))}))}Bn.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},Bn.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},Bn.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},Bn.source=function(){var e;return{token:new Bn((function(t){e=t})),cancel:e}};var jn=Bn;var Mn=function e(t){var s=new Ln(t),r=fr(Ln.prototype.request,s);return _r.extend(r,Ln.prototype,s),_r.extend(r,s),r.create=function(s){return e(Pn(t,s))},r}(An);Mn.Axios=Ln,Mn.CanceledError=Kr,Mn.CancelToken=jn,Mn.isCancel=Dn,Mn.VERSION=ji,Mn.toFormData=zr,Mn.AxiosError=qr,Mn.Cancel=Mn.CanceledError,Mn.all=function(e){return Promise.all(e)},Mn.spread=function(e){return function(t){return e.apply(null,t)}},Mn.isAxiosError=function(e){return _r.isObject(e)&&!0===e.isAxiosError};var Rn=Mn,Un=Mn;Rn.default=Un;var qn=Rn,$n=function(e){var t=T.default.join(w.default.homedir(),".cache",e);return N.default.existsSync(t)||N.default.mkdirSync(t,{recursive:!0}),t},zn=$n("mengti_file"),Hn=function(e,t){return Y(void 0,void 0,void 0,(function(){var s,r,i,n;return Z(this,(function(a){switch(a.label){case 0:return s=e.includes("?")?e.split("?")[0]:e,r=s.split("/")[s.split("/").length-1],i=zn+"/"+r,k.existsSync(i)?(k.copyFileSync(i,t),[2,{filePath:t}]):(n=k.createWriteStream(i),[4,qn({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)}))]}}))}))};const{parse:Vn,stringify:Gn}=JSON,{keys:Wn}=Object,Jn=String,Xn="string",Kn={},Yn="object",Zn=(e,t)=>t,Qn=e=>e instanceof Jn?Jn(e):e,ea=(e,t)=>typeof t===Xn?new Jn(t):t,ta=(e,t,s,r)=>{const i=[];for(let n=Wn(s),{length:a}=n,o=0;o<a;o++){const a=n[o],c=s[a];if(c instanceof Jn){const n=e[c];typeof n!==Yn||t.has(n)?s[a]=r.call(s,a,n):(t.add(n),s[a]=Kn,i.push({k:a,a:[e,t,n,r]}))}else s[a]!==Kn&&(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,ta.apply(null,n))}return s},sa=(e,t,s)=>{const r=Jn(t.push(s)-1);return e.set(s,r),r},ra=(e,t)=>{const s=Vn(e,ea).map(Qn),r=s[0],i=t||Zn,n=typeof r===Yn&&r?ta(s,new Set,r,i):r;return i.call({"":n},"",n)},ia=(e,t,s)=>{const r=t&&typeof t===Yn?(e,s)=>""===e||-1<t.indexOf(e)?s:void 0:t||Zn,i=new Map,n=[],a=[];let o=+sa(i,n,r.call({"":e},"",e)),c=!o;for(;o<n.length;)c=!0,a[o]=Gn(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 Yn:if(null===s)return s;case Xn:return i.get(s)||sa(i,n,s)}return s}};var na=Object.freeze({__proto__:null,parse:ra,stringify:ia,toJSON:e=>Vn(ia(e)),fromJSON:e=>ra(Gn(e))}),aa={tryParse:function(e,t){var s;try{s=this.readJSON(e)}catch(e){s=t}return s},readJSON:function(e){return na.parse(N.default.readFileSync(e,{encoding:"utf8"}))},writeJSON:function(e,t){N.default.mkdirSync(T.default.dirname(e),{recursive:!0}),N.default.writeFileSync(e,na.stringify(t))}};let oa;try{oa=$.default}catch(e){}const ca={nosort:!0,silent:!0};let ua=0;const la="win32"===process.platform,pa=e=>{if(["unlink","chmod","stat","lstat","rmdir","readdir"].forEach((t=>{e[t]=e[t]||N.default[t],e[t+="Sync"]=e[t]||N.default[t]})),e.maxBusyTries=e.maxBusyTries||3,e.emfileWait=e.emfileWait||1e3,!1===e.glob&&(e.disableGlob=!0),!0!==e.disableGlob&&void 0===oa)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");e.disableGlob=e.disableGlob||!1,e.glob=e.glob||ca},ha=(e,t,s)=>{"function"==typeof t&&(s=t,t={}),R.default(e,"rimraf: missing path"),R.default.equal(typeof e,"string","rimraf: path should be a string"),R.default.equal(typeof s,"function","rimraf: callback function required"),R.default(t,"rimraf: invalid options argument provided"),R.default.equal(typeof t,"object","rimraf: options should be object"),pa(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((()=>da(e,t,a)),100*r);if("EMFILE"===o.code&&ua<t.emfileWait)return setTimeout((()=>da(e,t,a)),ua++);"ENOENT"===o.code&&(o=null)}ua=0,(e=>{i=i||e,0==--n&&s(i)})(o)};da(e,t,a)})));if(t.disableGlob||!oa.hasMagic(e))return a(null,[e]);t.lstat(e,((s,r)=>{if(!s)return a(null,[e]);oa(e,t.glob,a)}))},da=(e,t,s)=>{R.default(e),R.default(t),R.default("function"==typeof s),t.lstat(e,((r,i)=>r&&"ENOENT"===r.code?s(null):(r&&"EPERM"===r.code&&la&&fa(e,t,r,s),i&&i.isDirectory()?ya(e,t,r,s):void t.unlink(e,(r=>{if(r){if("ENOENT"===r.code)return s(null);if("EPERM"===r.code)return la?fa(e,t,r,s):ya(e,t,r,s);if("EISDIR"===r.code)return ya(e,t,r,s)}return s(r)})))))},fa=(e,t,s,r)=>{R.default(e),R.default(t),R.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()?ya(e,t,s,r):t.unlink(e,r)}))}))},ma=(e,t,s)=>{R.default(e),R.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()?va(e,t,s):t.unlinkSync(e)},ya=(e,t,s,r)=>{R.default(e),R.default(t),R.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):ga(e,t,r)}))},ga=(e,t,s)=>{R.default(e),R.default(t),R.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=>{ha(T.default.join(e,r),t,(r=>{if(!n)return r?s(n=r):void(0==--a&&t.rmdir(e,s))}))}))}))},xa=(e,t)=>{let s;if(pa(t=t||{}),R.default(e,"rimraf: missing path"),R.default.equal(typeof e,"string","rimraf: path should be a string"),R.default(t,"rimraf: missing options"),R.default.equal(typeof t,"object","rimraf: options should be object"),t.disableGlob||!oa.hasMagic(e))s=[e];else try{t.lstatSync(e),s=[e]}catch(r){s=oa.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&&la&&ma(r,t,e)}try{i&&i.isDirectory()?va(r,t,null):t.unlinkSync(r)}catch(e){if("ENOENT"===e.code)return;if("EPERM"===e.code)return la?ma(r,t,e):va(r,t,e);if("EISDIR"!==e.code)throw e;va(r,t,e)}}},va=(e,t,s)=>{R.default(e),R.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||ba(e,t)}},ba=(e,t)=>{R.default(e),R.default(t),t.readdirSync(e).forEach((s=>xa(T.default.join(e,s),t)));const s=la?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 Ea=ha;ha.sync=xa;var Ca=Ea.sync,Aa=function(e){return!!N.default.existsSync(e)&&(Ca(e,{glob:!1}),!0)},wa=aa.writeJSON,Da={load:function(e,t){var s=this;s._visited={},s._persisted={},s._pathToFile=t?T.default.resolve(t,e):T.default.resolve(__dirname,"../.cache/",e),N.default.existsSync(s._pathToFile)&&(s._persisted=aa.tryParse(s._pathToFile,{}))},loadFile:function(e){var t=T.default.dirname(e),s=T.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(),wa(t._pathToFile,t._persisted)},removeCacheFile:function(){return Aa(this._pathToFile)},destroy:function(){var e=this;e._visited={},e._persisted={},e.removeCacheFile()}},Ta={load:function(e,t){return this.create(e,t)},create:function(e,t){var s=Object.create(Da);return s.load(e,t),s},createFromFile:function(e){var t=Object.create(Da);return t.loadFile(e),t},clearCacheById:function(e,t){var s=t?T.default.resolve(t,e):T.default.resolve(__dirname,"../.cache/",e);return Aa(s)},clearAll:function(e){var t=e?T.default.resolve(e):T.default.resolve(__dirname,"../.cache/");return Aa(t)}},Sa="";function Pa(e){Sa=e}var ka=function(e,t,s){var r=(void 0===s?{method:"POST"}:s).method;return Y(this,void 0,void 0,(function(){var s,i,n,a;return Z(this,(function(o){switch(o.label){case 0:return s=Q((Sa||"").split("##"),2),i=s[0],n=s[1],a={"Content-Type":"application/json",Authorization:"Bearer ".concat(i),client:n||""},[4,qn({method:r,url:(process.env.DEV?"http://127.0.0.1:1626":"https://editor.appthen.com")+e,data:t,headers:a})];case 1:return[2,o.sent()]}}))}))};require("getpinyin").getFirstPY;var Na,Ia=$n("mengti_translate"),_a=Ta.load("default",Ia);!function(e){e.Initial="init",e.Loading="loading",e.Loaded="loaded",e.Error="error"}(Na||(Na={}));var Fa=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 Oa(e){return e&&"JSExpression"===e.type&&"function"!==e.extType}function La(e){return"object"==typeof e&&e&&"JSFunction"===e.type}function Ba(e){return e&&"JSSlot"===e.type}Fa.Environment,Fa.Library,Fa.Theme,Fa.Runtime,Fa.Components,Fa.App;var ja,Ma,Ra,Ua,qa,$a=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}(),za=function(){function e(e){void 0===e&&(e=null),this._bindings=new $a,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 $a(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}(),Ha=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 za(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"}(ja||(ja={})),function(e){e.AST="ast",e.STRING="string",e.JSON="json"}(Ma||(Ma={})),function(e){e.COMPONENT="component",e.UTILS="utils",e.I18N="i18n"}(Ra||(Ra={})),function(e){e.PAGE="pages",e.BLOCK="components",e.COMPONENT="components",e.UTILS="utils"}(Ua||(Ua={})),function(e){e.External="External",e.Internal="Internal"}(qa||(qa={}));var Va,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 X(t,e),t}(Error);!function(e){function t(){return null!==e&&e.apply(this,arguments)||this}X(t,e)}(Ga),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}X(t,e)}(Ga),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}X(t,e)}(Ga),function(e){e.BEFORE="NodeCodePieceBefore",e.TAG="NodeCodePieceTag",e.ATTR="NodeCodePieceAttr",e.CHILDREN="NodeCodePieceChildren",e.AFTER="NodeCodePieceAfter"}(Va||(Va={}));var Wa=function(e){function t(t,s){var r=this.constructor,i=e.call(this,'Failed to parse expression "'.concat("string"==typeof t?t:cr(t),'"'))||this;return i.expr=t,i.detail=s,Object.setPrototypeOf(i,r.prototype),i}return X(t,e),t}(Error),Ja={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"]}},Xa={ArrowFunctionExpression:!1,FunctionExpression:!0,FunctionDeclaration:!0,ClassDeclaration:!0,ClassExpression:!0,ClassBody:!0,ClassImplements:!0,ClassMethod:!0,ClassPrivateMethod:!0,ClassProperty:!0,ClassPrivateProperty:!0,DeclareClass:!0},Ka=["arguments","this","super"];function Ya(e,t,s){if(void 0===t&&(t="_this"),void 0===s&&(s=[]),!e)return e;try{var r="string"==typeof e?it(e):e,i=_.expressionStatement(r),n=_.file(_.program([i])),a=new Set(s),o=Xa[r.type]?-1:0;return F.default(n,{enter:function(e){Xa[e.node.type]&&o++},exit:function(e){Xa[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(_.identifier(r.node.name))}o<=0&&s.replaceWith(_.identifier(t))}}},ThisExpression:function(e){e.isThisExpression()&&"MemberExpression"!==e.parent.type&&o<=0&&e.replaceWith(_.identifier(t))}}),cr(i.expression,{sourceMaps:!1}).code}catch(t){throw new Wa(e,t)}}function Za(e){try{var t=rt("(".concat(e,");")),s=null;return F.default(t,{FunctionExpression:function(e){s=e.node,e.stop()}}),s}catch(t){throw new Wa(e,t)}}function Qa(e,t){if(Oa(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?it(e):e,r=_.expressionStatement(s),i=_.file(_.program([r]));return F.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(_.identifier(r))}}}),cr(r.expression,{sourceMaps:!1}).code}catch(t){throw new Wa(e,t)}}(s,t);return r}throw new Ga("Not a IPublicTypeJSExpression")}function eo(e,t){if(void 0===t&&(t={name:void 0,isMember:!1,isBlock:!1,isArrow:!1,isBindExpr:!1}),function(e){return Oa(e)||La(e)}(e)){var s=e;return t.isMember?function(e,t){var s=Za(t);if(s){var r=_.classMethod("method",e&&_.identifier(e)||s.id||_.identifier("notDefineName"),s.params,s.body,void 0,void 0,void 0,s.async||void 0);return cr(r,{sourceMaps:!1}).code}throw new Error("Can not find Function Statement")}(t.name||"",s.value):t.isBlock?function(e){var t=Za(e);if(t){var s=t.body.body,r=_.program(s,void 0,"module",void 0);return cr(r,{sourceMaps:!1}).code}throw new Error("Can not find Function Statement")}(s.value):t.isArrow?function(e){var t=Za(e);if(t){var s=_.arrowFunctionExpression(t.params,t.body,t.async||void 0);return cr(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 to(e){return e.length>=2&&"{"===e[0]&&"}"===e[e.length-1]?e.slice(1,e.length-1):e}function so(e,t,s){if(Ba(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?to(t(e,s))||"null":"[\n".concat(e.map((function(e){return"string"==typeof e?JSON.stringify(e):to(t(e,s))||"null"})).join(",\n")||"null","\n]");return to(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 ro(e,t,s,r,i){var n=[];Array.isArray(s)?n.push.apply(n,ee([],Q(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 io(e,t,s){void 0===s&&(s={});var r=e.map((function(e){return po(e,t,s)})).join(",");return"[".concat(r,"]")}function no(e,t,s){if(void 0===s&&(s={}),"i18n"===e.type)return e.params&&"object"==typeof e.params?"this._i18nText(".concat(po(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=po(e[r],t,s);return"".concat(i,": ").concat(n)})).join(",\n");return"{".concat(r,"}")}function ao(e){return JSON.stringify(e)}function oo(e){return String(e)}function co(e){return e?"true":"false"}function uo(e){var t=function(e){if(!e)return[];try{var t=new $a,s=rt("!(".concat(e,");")),r=function(e){"object"==typeof e&&a.isIdentifier(e)&&Ka.includes(e.name)&&t.add(e.name)};return F.default(s,{enter:function(e){var t,s=e.node,i=null===(t=Ja[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 Wa(e,t)}}(e.value);return t.includes("arguments")?eo(e,{isBindExpr:!0}):eo(e,{isArrow:!0})}function lo(e,t,s){return void 0===s&&(s={}),s.nodeGenerator?so(e,t,s.nodeGenerator):""}function po(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)?ro(e,t,s.handlers.array,io,s):io(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)?ro(d,t,s.handlers.expression,Qa,s):Qa(d,t)}if(Oa(e))return(null===(n=s.handlers)||void 0===n?void 0:n.expression)?ro(e,t,s.handlers.expression,Qa,s):Qa(e,t);if(La(e))return(null===(a=s.handlers)||void 0===a?void 0:a.function)?ro(e,t,s.handlers.function,uo,s):uo(e);if(Ba(e))return(null===(o=s.handlers)||void 0===o?void 0:o.slot)?ro(e,t,s.handlers.slot,lo,s):lo(e,t,s);if(function(e){return"object"==typeof e&&null!=e&&"DataSource"===e.type}(e))return po({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)?ro(e,t,s.handlers.object,no,s):no(e,t,s);if(z.default.isString(e))return(null===(u=s.handlers)||void 0===u?void 0:u.string)?ro(e,t,s.handlers.string,ao,s):ao(e);if(z.default.isNumber(e))return(null===(l=s.handlers)||void 0===l?void 0:l.number)?ro(e,t,s.handlers.number,oo,s):oo(e);if(z.default.isBoolean(e))return(null===(p=s.handlers)||void 0===p?void 0:p.boolean)?ro(e,t,s.handlers.boolean,co,s):co(e);throw new Ga("Meet unknown composite value type")}function ho(e,t,s){return void 0===s&&(s={}),po(e,t,s)}function fo(e,t){return Oa(e)||La(e)?{type:"JSExpression",value:"function(){ return ((".concat(e.value,"))}")}:{type:"JSExpression",value:"function(){return((".concat(ho(e,t),"))}")}}var mo=function(e,t,s,r,i){var n,a=k.readFileSync(e.path+"/"+e.fileName,"utf-8");a.includes("this.history")&&(a=a.replace(/this\.history/g,"this.utils.history"));var o=rt("".concat(a),{sourceType:"module",plugins:["typescript","decorators-legacy"]}),c=new Set,u=new Set,l=new Set(["Laf"]),p={};"vite"===r&&(p["@/utils/router"]=[{name:"redirectTo"},{name:"navigateTo"},{name:"navigateBack"},{name:"history"}]);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)}));var d=Object.values(p).map((function(e){return e.map((function(e){return e.name}))})).flat();F.default(o,{MemberExpression:function(e){e.node.object&&"ThisExpression"===e.node.object.type&&e.node.property&&"constants"===e.node.property.name&&e.replaceWith(_.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(_.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)}}}),F.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,_.importDeclaration(Array.from(c).filter((function(e){return!u.has(e)&&!l.has(e)&&!d.includes(e)})).map((function(e){return _.importSpecifier(_.identifier(e),_.identifier(e))})),_.stringLiteral("vite"===r?"@appthen/react/lib/utils/index.js":"cross-ui/utils"))),t.splice(2,0,_.importDeclaration(["requestHandle"].map((function(e){return _.importSpecifier(_.identifier(e),_.identifier(e))})),_.stringLiteral("./dataSource"))),t.splice(3,0,_.importDeclaration([_.importDefaultSpecifier(_.identifier("constants"))],_.stringLiteral("./constants")));var s=-1;Object.keys(p).forEach((function(e){var r,i,n,a,o=h.find((function(t){return t.package.package===e})),u=((null==o?void 0:o.package)||{}).destructuring,l=function(e){var t=e.replace(/[@/]/g,"-"),s=t.replace(/-([a-z])/g,(function(e){return e[1].toUpperCase()}));/^\d/.test(s)&&(s="pkg".concat(s));return s}(e),d=p[e];!1===u?(s+=1,t.splice(4+s,0,_.importDeclaration([_.importDefaultSpecifier(_.identifier(l))],_.stringLiteral(e))),d.forEach((function(e){s+=1;var r=_.memberExpression(_.identifier(l),_.identifier(e.name)),i=_.variableDeclarator(_.identifier(e.name),r),n=_.variableDeclaration("const",[i]),a=_.exportNamedDeclaration(n);t.splice(4+s,0,a)}))):a=_.exportNamedDeclaration(null,"*"===(null===(i=null===(r=d[0])||void 0===r?void 0:r.npm)||void 0===i?void 0:i.exportName)?[_.exportNamespaceSpecifier(_.identifier(null===(n=d[0])||void 0===n?void 0:n.name))]:d.map((function(e){var t;return _.exportSpecifier(_.identifier((null===(t=e.npm)||void 0===t?void 0:t.exportName)||e.name),_.identifier(e.name))})),_.stringLiteral(e)),!e.includes("@/utils")&&a&&(s+=1,t.splice(4+s,0,a));var f=d.filter((function(e){return c.has(e.name)}));f.length>0&&(s+=1,t.splice(4+s,0,_.importDeclaration(f.map((function(e){return _.importSpecifier(_.identifier(e.name),_.identifier(e.name))})),_.stringLiteral(e))))}))}});var f,m,y,g=cr(o).code;if(g=g+"\n"+(f=t.dataSource,m=Ha.createRootScope(),y=f&&f.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(ho(K(K({},f),{list:ee([],Q(y.map((function(e){return K(K({},e),{isInit:fo(e.isInit,m),options:fo(e.options,m)})}))),!1)}),m,{handlers:{function:function(e){return Ya(e.value,"_this")},expression:function(e){return Ya(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 g=g.replace('export * as _ from "lodash";','export { default as _ } from "lodash";'),k.writeFileSync(e.path+"/"+e.fileName,g),{code:g}};var yo=function(e){if("string"==typeof e)return _.stringLiteral(e);if("number"==typeof e)return _.numericLiteral(e);if("boolean"==typeof e)return _.booleanLiteral(e);if(Array.isArray(e))return _.arrayExpression(e.map((function(e){return yo(e)})));if("object"==typeof e&&null!==e)return _.objectExpression(Object.entries(e).map((function(e){var t=Q(e,2),s=t[0],r=t[1];return _.objectProperty(_.identifier(s),yo(r))})));throw new Error("Unsupported value type: ".concat(typeof e))},go=function(e){return e instanceof Buffer},xo=re((function(e){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var s=function(){};s.prototype=t.prototype,e.prototype=new s,e.prototype.constructor=e}})),vo=re((function(e){try{var t=U.default;if("function"!=typeof t.inherits)throw"";e.exports=t.inherits}catch(t){e.exports=xo}})),bo=re((function(e,t){var s=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),s={},r=0;r<t.length;r++)s[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return s},r=/%[sdj%]/g;t.format=function(e){if(!y(e)){for(var t=[],s=0;s<arguments.length;s++)t.push(a(arguments[s]));return t.join(" ")}s=1;for(var i=arguments,n=i.length,o=String(e).replace(r,(function(e){if("%%"===e)return"%";if(s>=n)return e;switch(e){case"%s":return String(i[s++]);case"%d":return Number(i[s++]);case"%j":try{return JSON.stringify(i[s++])}catch(e){return"[Circular]"}default:return e}})),c=i[s];s<n;c=i[++s])f(c)||!v(c)?o+=" "+c:o+=" "+a(c);return o},t.deprecate=function(e,s){if("undefined"!=typeof process&&!0===process.noDeprecation)return e;if("undefined"==typeof process)return function(){return t.deprecate(e,s).apply(this,arguments)};var r=!1;return function(){if(!r){if(process.throwDeprecation)throw new Error(s);process.traceDeprecation?console.trace(s):console.error(s),r=!0}return e.apply(this,arguments)}};var i,n={};function a(e,s){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),d(s)?r.showHidden=s:s&&t._extend(r,s),g(r.showHidden)&&(r.showHidden=!1),g(r.depth)&&(r.depth=2),g(r.colors)&&(r.colors=!1),g(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=o),u(r,e,r.depth)}function o(e,t){var s=a.styles[t];return s?"["+a.colors[s][0]+"m"+e+"["+a.colors[s][1]+"m":e}function c(e,t){return e}function u(e,s,r){if(e.customInspect&&s&&C(s.inspect)&&s.inspect!==t.inspect&&(!s.constructor||s.constructor.prototype!==s)){var i=s.inspect(r,e);return y(i)||(i=u(e,i,r)),i}var n=function(e,t){if(g(t))return e.stylize("undefined","undefined");if(y(t)){var s="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(s,"string")}if(m(t))return e.stylize(""+t,"number");if(d(t))return e.stylize(""+t,"boolean");if(f(t))return e.stylize("null","null")}(e,s);if(n)return n;var a=Object.keys(s),o=function(e){var t={};return e.forEach((function(e,s){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(s)),E(s)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return l(s);if(0===a.length){if(C(s)){var c=s.name?": "+s.name:"";return e.stylize("[Function"+c+"]","special")}if(x(s))return e.stylize(RegExp.prototype.toString.call(s),"regexp");if(b(s))return e.stylize(Date.prototype.toString.call(s),"date");if(E(s))return l(s)}var v,A="",w=!1,D=["{","}"];(h(s)&&(w=!0,D=["[","]"]),C(s))&&(A=" [Function"+(s.name?": "+s.name:"")+"]");return x(s)&&(A=" "+RegExp.prototype.toString.call(s)),b(s)&&(A=" "+Date.prototype.toUTCString.call(s)),E(s)&&(A=" "+l(s)),0!==a.length||w&&0!=s.length?r<0?x(s)?e.stylize(RegExp.prototype.toString.call(s),"regexp"):e.stylize("[Object]","special"):(e.seen.push(s),v=w?function(e,t,s,r,i){for(var n=[],a=0,o=t.length;a<o;++a)T(t,String(a))?n.push(p(e,t,s,r,String(a),!0)):n.push("");return i.forEach((function(i){i.match(/^\d+$/)||n.push(p(e,t,s,r,i,!0))})),n}(e,s,r,o,a):a.map((function(t){return p(e,s,r,o,t,w)})),e.seen.pop(),function(e,t,s){var r=e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(r>60)return s[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+s[1];return s[0]+t+" "+e.join(", ")+" "+s[1]}(v,A,D)):D[0]+A+D[1]}function l(e){return"["+Error.prototype.toString.call(e)+"]"}function p(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")),T(r,i)||(a="["+i+"]"),o||(e.seen.indexOf(c.value)<0?(o=f(s)?u(e,c.value,null):u(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")),g(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 h(e){return Array.isArray(e)}function d(e){return"boolean"==typeof e}function f(e){return null===e}function m(e){return"number"==typeof e}function y(e){return"string"==typeof e}function g(e){return void 0===e}function x(e){return v(e)&&"[object RegExp]"===A(e)}function v(e){return"object"==typeof e&&null!==e}function b(e){return v(e)&&"[object Date]"===A(e)}function E(e){return v(e)&&("[object Error]"===A(e)||e instanceof Error)}function C(e){return"function"==typeof e}function A(e){return Object.prototype.toString.call(e)}function w(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(g(i)&&(i=process.env.NODE_DEBUG||""),e=e.toUpperCase(),!n[e])if(new RegExp("\\b"+e+"\\b","i").test(i)){var s=process.pid;n[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,s,r)}}else n[e]=function(){};return n[e]},t.inspect=a,a.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]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=h,t.isBoolean=d,t.isNull=f,t.isNullOrUndefined=function(e){return null==e},t.isNumber=m,t.isString=y,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=g,t.isRegExp=x,t.isObject=v,t.isDate=b,t.isError=E,t.isFunction=C,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=go;var D=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",function(){var e=new Date,t=[w(e.getHours()),w(e.getMinutes()),w(e.getSeconds())].join(":");return[e.getDate(),D[e.getMonth()],t].join(" ")}(),t.format.apply(t,arguments))},t.inherits=vo,t._extend=function(e,t){if(!t||!v(t))return e;for(var s=Object.keys(t),r=s.length;r--;)e[s[r]]=t[s[r]];return e};var S="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function P(e,t){if(!e){var s=new Error("Promise was rejected with a falsy value");s.reason=e,e=s}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(S&&e[S]){var t;if("function"!=typeof(t=e[S]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,S,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,s,r=new Promise((function(e,r){t=e,s=r})),i=[],n=0;n<arguments.length;n++)i.push(arguments[n]);i.push((function(e,r){e?s(e):t(r)}));try{e.apply(this,i)}catch(e){s(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),S&&Object.defineProperty(t,S,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,s(e))},t.promisify.custom=S,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],s=0;s<arguments.length;s++)t.push(arguments[s]);var r=t.pop();if("function"!=typeof r)throw new TypeError("The last argument must be of type Function");var i=this,n=function(){return r.apply(i,arguments)};e.apply(this,t).then((function(e){process.nextTick(n,null,e)}),(function(e){process.nextTick(P,e,n)}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,s(e)),t}}));bo.format,bo.deprecate,bo.debuglog,bo.inspect,bo.isArray,bo.isBoolean,bo.isNull,bo.isNullOrUndefined,bo.isNumber,bo.isString,bo.isSymbol,bo.isUndefined,bo.isRegExp,bo.isObject,bo.isDate,bo.isError,bo.isFunction,bo.isPrimitive,bo.isBuffer,bo.log,bo.inherits,bo._extend,bo.promisify,bo.callbackify;var Eo={ROOT:0,GROUP:1,POSITION:2,SET:3,RANGE:4,REPETITION:5,REFERENCE:6,CHAR:7};Eo.ROOT,Eo.GROUP,Eo.POSITION,Eo.SET,Eo.RANGE,Eo.REPETITION,Eo.REFERENCE,Eo.CHAR;var Co=function(){return[{type:Eo.RANGE,from:48,to:57}]},Ao=function(){return[{type:Eo.CHAR,value:95},{type:Eo.RANGE,from:97,to:122},{type:Eo.RANGE,from:65,to:90}].concat(Co())},wo=function(){return[{type:Eo.CHAR,value:9},{type:Eo.CHAR,value:10},{type:Eo.CHAR,value:11},{type:Eo.CHAR,value:12},{type:Eo.CHAR,value:13},{type:Eo.CHAR,value:32},{type:Eo.CHAR,value:160},{type:Eo.CHAR,value:5760},{type:Eo.CHAR,value:6158},{type:Eo.CHAR,value:8192},{type:Eo.CHAR,value:8193},{type:Eo.CHAR,value:8194},{type:Eo.CHAR,value:8195},{type:Eo.CHAR,value:8196},{type:Eo.CHAR,value:8197},{type:Eo.CHAR,value:8198},{type:Eo.CHAR,value:8199},{type:Eo.CHAR,value:8200},{type:Eo.CHAR,value:8201},{type:Eo.CHAR,value:8202},{type:Eo.CHAR,value:8232},{type:Eo.CHAR,value:8233},{type:Eo.CHAR,value:8239},{type:Eo.CHAR,value:8287},{type:Eo.CHAR,value:12288},{type:Eo.CHAR,value:65279}]},Do=function(){return{type:Eo.SET,set:Ao(),not:!1}},To=function(){return{type:Eo.SET,set:Ao(),not:!0}},So=function(){return{type:Eo.SET,set:Co(),not:!1}},Po=function(){return{type:Eo.SET,set:Co(),not:!0}},ko=function(){return{type:Eo.SET,set:wo(),not:!1}},No=function(){return{type:Eo.SET,set:wo(),not:!0}},Io=function(){return{type:Eo.SET,set:[{type:Eo.CHAR,value:10},{type:Eo.CHAR,value:13},{type:Eo.CHAR,value:8232},{type:Eo.CHAR,value:8233}],not:!0}},_o=re((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(Do());else if(r[2])n.push(So());else if(r[3])n.push(ko());else if(r[4])n.push(To());else if(r[5])n.push(Po());else if(r[6])n.push(No());else if(r[7])n.push({type:Eo.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:Eo.CHAR,value:i.charCodeAt(0)})}t.error(s,"Unterminated character class")},t.error=function(e,t){throw new SyntaxError("Invalid regular expression: /"+e+"/: "+t)}}));_o.strToChars,_o.tokenizeClass,_o.error;var Fo=function(){return{type:Eo.POSITION,value:"b"}},Oo=function(){return{type:Eo.POSITION,value:"B"}},Lo=function(){return{type:Eo.POSITION,value:"^"}},Bo=function(){return{type:Eo.POSITION,value:"$"}},jo=function(e){var t,s,r=0,i={type:Eo.ROOT,stack:[]},n=i,a=i.stack,o=[],c=function(t){_o.error(e,"Nothing to repeat at column "+(t-1))},u=_o.strToChars(e);for(t=u.length;r<t;)switch(s=u[r++]){case"\\":switch(s=u[r++]){case"b":a.push(Fo());break;case"B":a.push(Oo());break;case"w":a.push(Do());break;case"W":a.push(To());break;case"d":a.push(So());break;case"D":a.push(Po());break;case"s":a.push(ko());break;case"S":a.push(No());break;default:/\d/.test(s)?a.push({type:Eo.REFERENCE,value:parseInt(s,10)}):a.push({type:Eo.CHAR,value:s.charCodeAt(0)})}break;case"^":a.push(Lo());break;case"$":a.push(Bo());break;case"[":var l;"^"===u[r]?(l=!0,r++):l=!1;var p=_o.tokenizeClass(u.slice(r),e);r+=p[1],a.push({type:Eo.SET,set:p[0],not:l});break;case".":a.push(Io());break;case"(":var h={type:Eo.GROUP,stack:[],remember:!0};"?"===(s=u[r])&&(s=u[r+1],r+=2,"="===s?h.followedBy=!0:"!"===s?h.notFollowedBy=!0:":"!==s&&_o.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&&_o.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 f,m,y=/^(\d+)(,(\d+)?)?\}/.exec(u.slice(r));null!==y?(0===a.length&&c(r),f=parseInt(y[1],10),m=y[2]?y[3]?parseInt(y[3],10):1/0:f,r+=y[0].length,a.push({type:Eo.REPETITION,min:f,max:m,value:a.pop()})):a.push({type:Eo.CHAR,value:123});break;case"?":0===a.length&&c(r),a.push({type:Eo.REPETITION,min:0,max:1,value:a.pop()});break;case"+":0===a.length&&c(r),a.push({type:Eo.REPETITION,min:1,max:1/0,value:a.pop()});break;case"*":0===a.length&&c(r),a.push({type:Eo.REPETITION,min:0,max:1/0,value:a.pop()});break;default:a.push({type:Eo.CHAR,value:s.charCodeAt(0)})}return 0!==o.length&&_o.error(e,"Unterminated group"),i},Mo=jo.types=Eo,Ro=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=jo(e)}catch(e){return!1}var i=0;return function e(t,s){if(t.type===Mo.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)};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("os"),t=require("tty"),s=require("path"),r=require("child_process"),i=require("@mengti/code-generator"),n=require("fs"),a=require("@babel/types"),o=require("@babel/traverse"),c=require("crypto"),u=require("http"),l=require("https"),p=require("url"),h=require("stream"),d=require("assert"),f=require("util"),m=require("zlib"),y=require("glob");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)}function A(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(s){if("default"!==s&&!(s in e)){var r=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(e,s,r.get?r:{enumerable:!0,get:function(){return t[s]}})}}))})),Object.freeze(e)}var w=E(e),D=E(t),T=E(s),S=C(s),P=E(i),k=C(n),N=E(n),I=E(a),_=C(a),F=E(o),O=E(c),L=E(u),B=E(l),j=E(p),M=E(h),R=E(d),U=E(f),q=E(m),$=E(y),z=E(g),H=E(x),V=E(v),G=C(b),W=E(b),J=function(e,t){return J=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])},J(e,t)};function X(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}J(e,t),e.prototype=null===t?Object.create(t):(s.prototype=t.prototype,new s)}var K=function(){return K=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},K.apply(this,arguments)};function Y(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 Z(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(o){return function(c){return function(o){if(s)throw new TypeError("Generator is already executing.");for(;n&&(n=0,o[0]&&(a=0)),a;)try{if(s=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{s=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}}function Q(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 ee(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))}"function"==typeof SuppressedError&&SuppressedError;var te="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function se(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function re(e,t){return e(t={exports:{}},t.exports),t.exports}function ie(e){return e&&e.default||e}var ne={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 ae={};for(const e of Object.keys(ne))ae[ne[e]]=e;const oe={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 ce=oe;for(const e of Object.keys(oe)){if(!("channels"in oe[e]))throw new Error("missing channels property: "+e);if(!("labels"in oe[e]))throw new Error("missing channel labels property: "+e);if(oe[e].labels.length!==oe[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:s}=oe[e];delete oe[e].channels,delete oe[e].labels,Object.defineProperty(oe[e],"channels",{value:t}),Object.defineProperty(oe[e],"labels",{value:s})}function ue(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}function le(e){const t=function(){const e={},t=Object.keys(ce);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(ce[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 pe(e,t){return function(s){return t(e(s))}}function he(e,t){const s=[t[e].parent,e];let r=ce[t[e].parent][e],i=t[e].parent;for(;t[i].parent;)s.unshift(t[i].parent),r=pe(ce[t[i].parent][i],r),i=t[i].parent;return r.conversion=s,r}oe.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]},oe.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]},oe.rgb.hwb=function(e){const t=e[0],s=e[1];let r=e[2];const i=oe.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]},oe.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]},oe.rgb.keyword=function(e){const t=ae[e];if(t)return t;let s,r=1/0;for(const t of Object.keys(ne)){const i=ue(e,ne[t]);i<r&&(r=i,s=t)}return s},oe.keyword.rgb=function(e){return ne[e]},oe.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)]},oe.rgb.lab=function(e){const t=oe.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)]},oe.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},oe.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)]},oe.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]}},oe.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]},oe.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,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]},oe.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))]},oe.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]},oe.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)]},oe.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]},oe.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]},oe.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)]},oe.rgb.ansi16=function(e,t=null){const[s,r,i]=e;let n=null===t?oe.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},oe.hsv.ansi16=function(e){return oe.rgb.ansi16(oe.hsv.rgb(e),e[2])},oe.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)},oe.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]},oe.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]},oe.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},oe.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]},oe.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]},oe.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]},oe.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]},oe.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)]},oe.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]},oe.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]},oe.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)]},oe.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]},oe.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},oe.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},oe.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},oe.gray.hsl=function(e){return[0,0,e[0]]},oe.gray.hsv=oe.gray.hsl,oe.gray.hwb=function(e){return[0,100,e[0]]},oe.gray.cmyk=function(e){return[0,0,0,e[0]]},oe.gray.lab=function(e){return[e[0],0,0]},oe.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},oe.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const de={};Object.keys(ce).forEach((e=>{de[e]={},Object.defineProperty(de[e],"channels",{value:ce[e].channels}),Object.defineProperty(de[e],"labels",{value:ce[e].labels});const t=function(e){const t=le(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]=he(e,t))}return s}(e);Object.keys(t).forEach((s=>{const r=t[s];de[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),de[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 fe=de,me=re((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=fe);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}})})),ye=(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:ge}=process;let xe;function ve(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function be(e,t){if(0===xe)return 0;if(ye("color=16m")||ye("color=full")||ye("color=truecolor"))return 3;if(ye("color=256"))return 2;if(e&&!t&&void 0===xe)return 0;const s=xe||0;if("dumb"===ge.TERM)return s;if("win32"===process.platform){const e=w.default.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in ge)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in ge))||"codeship"===ge.CI_NAME?1:s;if("TEAMCITY_VERSION"in ge)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ge.TEAMCITY_VERSION)?1:0;if("truecolor"===ge.COLORTERM)return 3;if("TERM_PROGRAM"in ge){const e=parseInt((ge.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ge.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(ge.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ge.TERM)||"COLORTERM"in ge?1:s}ye("no-color")||ye("no-colors")||ye("color=false")||ye("color=never")?xe=0:(ye("color")||ye("colors")||ye("color=true")||ye("color=always"))&&(xe=1),"FORCE_COLOR"in ge&&(xe="true"===ge.FORCE_COLOR?1:"false"===ge.FORCE_COLOR?0:0===ge.FORCE_COLOR.length?1:Math.min(parseInt(ge.FORCE_COLOR,10),3));var Ee={supportsColor:function(e){return ve(be(e,e&&e.isTTY))},stdout:ve(be(!0,D.default.isatty(1))),stderr:ve(be(!0,D.default.isatty(2)))};var Ce={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 Ae=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,we=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,De=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Te=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,Se=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function Pe(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)):Se.get(e)||e}function ke(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(De)))throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`);s.push(i[2].replace(Te,((e,t,s)=>t?Pe(t):s)))}else s.push(r)}return s}function Ne(e){we.lastIndex=0;const t=[];let s;for(;null!==(s=we.exec(e));){const e=s[1];if(s[2]){const r=ke(e,s[2]);t.push([e].concat(r))}else t.push([e])}return t}function Ie(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 _e=(e,t)=>{const s=[],r=[];let i=[];if(t.replace(Ae,((t,n,a,o,c,u)=>{if(n)i.push(Pe(n));else if(o){const t=i.join("");i=[],r.push(0===s.length?t:Ie(e,s)(t)),s.push({inverse:a,styles:Ne(o)})}else if(c){if(0===s.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Ie(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:Oe}=Ee,{stringReplaceAll:Le,stringEncaseCRLFWithFirstIndex:Be}=Ce,{isArray:je}=Array,Me=["ansi","ansi","ansi256","ansi16m"],Re=Object.create(null);class Ue{constructor(e){return qe(e)}}const qe=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)=>Xe(t.template,...e),Object.setPrototypeOf(t,$e.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=Ue,t.template};function $e(e){return qe(e)}for(const[e,t]of Object.entries(me))Re[e]={get(){const s=Ge(this,Ve(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:s}),s}};Re.visible={get(){const e=Ge(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const ze=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of ze)Re[e]={get(){const{level:t}=this;return function(...s){const r=Ve(me.color[Me[t]][e](...s),me.color.close,this._styler);return Ge(this,r,this._isEmpty)}}};for(const e of ze){Re["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...s){const r=Ve(me.bgColor[Me[t]][e](...s),me.bgColor.close,this._styler);return Ge(this,r,this._isEmpty)}}}}const He=Object.defineProperties((()=>{}),{...Re,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),Ve=(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}},Ge=(e,t,s)=>{const r=(...e)=>je(e[0])&&je(e[0].raw)?We(r,Xe(r,...e)):We(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,He),r._generator=e,r._styler=t,r._isEmpty=s,r},We=(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=Le(t,s.close,s.open),s=s.parent;const n=t.indexOf("\n");return-1!==n&&(t=Be(t,i,r,n)),r+t+i};let Je;const Xe=(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===Je&&(Je=_e),Je(e,i.join(""))};Object.defineProperties($e.prototype,Re);const Ke=$e();Ke.supportsColor=Fe,Ke.stderr=$e({level:Oe?Oe.level:0}),Ke.stderr.supportsColor=Oe;var Ye=Ke;function Ze(e){return e?e instanceof Error?e.message:"string"==typeof e?e:"object"==typeof e&&null!==e?Ze(e.message)||Ze(e.errorMessage)||Ze(e.detail):null:null}function Qe(e,t){k.readdirSync(e).forEach((function(s,r){if(k.statSync(e+s).isDirectory())Qe(e+s+"/",t);else{var i=s.split("."),n=e.split("/")[e.split("/").length-2],a=i[i.length-1],o={path:e.lastIndexOf("/")===e.length-1?e.slice(0,-1):e,fileName:s,name:n,ext:a};t.push(o)}}))}var et=function(e){var t=[];return Qe(e,t),t};function tt(e){k.existsSync(e)&&(k.readdirSync(e).forEach((function(t,s){var r=e+"/"+t;k.statSync(r).isDirectory()?tt(r):k.unlinkSync(r)})),k.rmdirSync(e))}var st=re((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)}const a="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";var o={ImportMetaOutsideModule:{message:"import.meta may appear only with 'sourceType: \"module\"'",code:a},ImportOutsideModule:{message:"'import' and 'export' may appear only with 'sourceType: \"module\"'",code:a}};const c={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"},u=({type:e,prefix:t})=>"UpdateExpression"===e?c.UpdateExpression[String(t)]:c[e];var l={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.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:e})=>`Missing initializer in ${e} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',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.",DynamicImportPhaseRequiresImportExpressions:({phase:e})=>`'import.${e}(...)' can only be parsed when using the 'createImportExpressions' option.`,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.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:e})=>`Unsyntactic ${"BreakStatement"===e?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",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`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({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 ${u(e)}.`,InvalidLhsBinding:({ancestor:e})=>`Binding invalid left-hand side in ${u(e)}.`,InvalidLhsOptionalChaining:({ancestor:e})=>`Invalid optional chaining in the left-hand side of ${u(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 disallowed as a lexically bound name.",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 or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',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.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({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.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",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 p=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var h={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 ${u({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 d=["toMessage"],f=["message"];function m(e,t,s){Object.defineProperty(e,t,{enumerable:!1,configurable:!0,value:s})}function y(e){let{toMessage:t}=e,i=s(e,d);return function e(s,n){const a=new SyntaxError;return Object.assign(a,i,{loc:s,pos:s.index}),"missingPlugin"in n&&Object.assign(a,{missingPlugin:n.missingPlugin}),m(a,"clone",(function(t={}){var i;const{line:a,column:o,index:c}=null!=(i=t.loc)?i:s;return e(new r(a,o,c),Object.assign({},n,t.details))})),m(a,"details",n),Object.defineProperty(a,"message",{configurable:!0,get(){const e=`${t(n)} (${s.line}:${s.column})`;return this.message=e,e},set(e){Object.defineProperty(this,"message",{value:e,writable:!0})}}),a}}function g(e,t){if(Array.isArray(e))return t=>g(t,e[0]);const r={};for(const i of Object.keys(e)){const n=e[i],a="string"==typeof n?{message:()=>n}:"function"==typeof n?{message:n}:n,{message:o}=a,c=s(a,f),u="string"==typeof o?()=>o:o;r[i]=y(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:i,toMessage:u},t?{syntaxPlugin:t}:{},c))}return r}const x=Object.assign({},g(o),g(l),g({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."}),g`pipelineOperator`(h)),{defineProperty:v}=Object,b=(e,t)=>v(e,t,{enumerable:!1,value:e[t]});function E(e){return e.loc.start&&b(e.loc.start,"index"),e.loc.end&&b(e.loc.end,"index"),e}class C{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}}const A={brace:new C("{"),j_oTag:new C("<tag"),j_cTag:new C("</tag"),j_expr:new C("<tag>...</tag>",!0)};A.template=new C("`",!0);const w=!0,D=!0,T=!0,S=!0,P=!0;class k{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 N=new Map;function I(e,t={}){t.keyword=e;const s=U(e,t);return N.set(e,s),s}function _(e,t){return U(e,{beforeExpr:w,binop:t})}let F=-1;const O=[],L=[],B=[],j=[],M=[],R=[];function U(e,t={}){var s,r,i,n;return++F,L.push(e),B.push(null!=(s=t.binop)?s:-1),j.push(null!=(r=t.beforeExpr)&&r),M.push(null!=(i=t.startsExpr)&&i),R.push(null!=(n=t.prefix)&&n),O.push(new k(e,t)),F}function q(e,t={}){var s,r,i,n;return++F,N.set(e,F),L.push(e),B.push(null!=(s=t.binop)?s:-1),j.push(null!=(r=t.beforeExpr)&&r),M.push(null!=(i=t.startsExpr)&&i),R.push(null!=(n=t.prefix)&&n),O.push(new k("name",t)),F}const $={bracketL:U("[",{beforeExpr:w,startsExpr:D}),bracketHashL:U("#[",{beforeExpr:w,startsExpr:D}),bracketBarL:U("[|",{beforeExpr:w,startsExpr:D}),bracketR:U("]"),bracketBarR:U("|]"),braceL:U("{",{beforeExpr:w,startsExpr:D}),braceBarL:U("{|",{beforeExpr:w,startsExpr:D}),braceHashL:U("#{",{beforeExpr:w,startsExpr:D}),braceR:U("}"),braceBarR:U("|}"),parenL:U("(",{beforeExpr:w,startsExpr:D}),parenR:U(")"),comma:U(",",{beforeExpr:w}),semi:U(";",{beforeExpr:w}),colon:U(":",{beforeExpr:w}),doubleColon:U("::",{beforeExpr:w}),dot:U("."),question:U("?",{beforeExpr:w}),questionDot:U("?."),arrow:U("=>",{beforeExpr:w}),template:U("template"),ellipsis:U("...",{beforeExpr:w}),backQuote:U("`",{startsExpr:D}),dollarBraceL:U("${",{beforeExpr:w,startsExpr:D}),templateTail:U("...`",{startsExpr:D}),templateNonTail:U("...${",{beforeExpr:w,startsExpr:D}),at:U("@"),hash:U("#",{startsExpr:D}),interpreterDirective:U("#!..."),eq:U("=",{beforeExpr:w,isAssign:S}),assign:U("_=",{beforeExpr:w,isAssign:S}),slashAssign:U("_=",{beforeExpr:w,isAssign:S}),xorAssign:U("_=",{beforeExpr:w,isAssign:S}),moduloAssign:U("_=",{beforeExpr:w,isAssign:S}),incDec:U("++/--",{prefix:P,postfix:!0,startsExpr:D}),bang:U("!",{beforeExpr:w,prefix:P,startsExpr:D}),tilde:U("~",{beforeExpr:w,prefix:P,startsExpr:D}),doubleCaret:U("^^",{startsExpr:D}),doubleAt:U("@@",{startsExpr:D}),pipeline:_("|>",0),nullishCoalescing:_("??",1),logicalOR:_("||",1),logicalAND:_("&&",2),bitwiseOR:_("|",3),bitwiseXOR:_("^",4),bitwiseAND:_("&",5),equality:_("==/!=/===/!==",6),lt:_("</>/<=/>=",7),gt:_("</>/<=/>=",7),relational:_("</>/<=/>=",7),bitShift:_("<</>>/>>>",8),bitShiftL:_("<</>>/>>>",8),bitShiftR:_("<</>>/>>>",8),plusMin:U("+/-",{beforeExpr:w,binop:9,prefix:P,startsExpr:D}),modulo:U("%",{binop:10,startsExpr:D}),star:U("*",{binop:10}),slash:_("/",10),exponent:U("**",{beforeExpr:w,binop:11,rightAssociative:!0}),_in:I("in",{beforeExpr:w,binop:7}),_instanceof:I("instanceof",{beforeExpr:w,binop:7}),_break:I("break"),_case:I("case",{beforeExpr:w}),_catch:I("catch"),_continue:I("continue"),_debugger:I("debugger"),_default:I("default",{beforeExpr:w}),_else:I("else",{beforeExpr:w}),_finally:I("finally"),_function:I("function",{startsExpr:D}),_if:I("if"),_return:I("return",{beforeExpr:w}),_switch:I("switch"),_throw:I("throw",{beforeExpr:w,prefix:P,startsExpr:D}),_try:I("try"),_var:I("var"),_const:I("const"),_with:I("with"),_new:I("new",{beforeExpr:w,startsExpr:D}),_this:I("this",{startsExpr:D}),_super:I("super",{startsExpr:D}),_class:I("class",{startsExpr:D}),_extends:I("extends",{beforeExpr:w}),_export:I("export"),_import:I("import",{startsExpr:D}),_null:I("null",{startsExpr:D}),_true:I("true",{startsExpr:D}),_false:I("false",{startsExpr:D}),_typeof:I("typeof",{beforeExpr:w,prefix:P,startsExpr:D}),_void:I("void",{beforeExpr:w,prefix:P,startsExpr:D}),_delete:I("delete",{beforeExpr:w,prefix:P,startsExpr:D}),_do:I("do",{isLoop:T,beforeExpr:w}),_for:I("for",{isLoop:T}),_while:I("while",{isLoop:T}),_as:q("as",{startsExpr:D}),_assert:q("assert",{startsExpr:D}),_async:q("async",{startsExpr:D}),_await:q("await",{startsExpr:D}),_defer:q("defer",{startsExpr:D}),_from:q("from",{startsExpr:D}),_get:q("get",{startsExpr:D}),_let:q("let",{startsExpr:D}),_meta:q("meta",{startsExpr:D}),_of:q("of",{startsExpr:D}),_sent:q("sent",{startsExpr:D}),_set:q("set",{startsExpr:D}),_source:q("source",{startsExpr:D}),_static:q("static",{startsExpr:D}),_using:q("using",{startsExpr:D}),_yield:q("yield",{startsExpr:D}),_asserts:q("asserts",{startsExpr:D}),_checks:q("checks",{startsExpr:D}),_exports:q("exports",{startsExpr:D}),_global:q("global",{startsExpr:D}),_implements:q("implements",{startsExpr:D}),_intrinsic:q("intrinsic",{startsExpr:D}),_infer:q("infer",{startsExpr:D}),_is:q("is",{startsExpr:D}),_mixins:q("mixins",{startsExpr:D}),_proto:q("proto",{startsExpr:D}),_require:q("require",{startsExpr:D}),_satisfies:q("satisfies",{startsExpr:D}),_keyof:q("keyof",{startsExpr:D}),_readonly:q("readonly",{startsExpr:D}),_unique:q("unique",{startsExpr:D}),_abstract:q("abstract",{startsExpr:D}),_declare:q("declare",{startsExpr:D}),_enum:q("enum",{startsExpr:D}),_module:q("module",{startsExpr:D}),_namespace:q("namespace",{startsExpr:D}),_interface:q("interface",{startsExpr:D}),_type:q("type",{startsExpr:D}),_opaque:q("opaque",{startsExpr:D}),name:U("name",{startsExpr:D}),string:U("string",{startsExpr:D}),num:U("num",{startsExpr:D}),bigint:U("bigint",{startsExpr:D}),decimal:U("decimal",{startsExpr:D}),regexp:U("regexp",{startsExpr:D}),privateName:U("#name",{startsExpr:D}),eof:U("eof"),jsxName:U("jsxName"),jsxText:U("jsxText",{beforeExpr:!0}),jsxTagStart:U("jsxTagStart",{startsExpr:!0}),jsxTagEnd:U("jsxTagEnd"),placeholder:U("%%",{startsExpr:!0})};function z(e){return e>=93&&e<=132}function H(e){return e>=58&&e<=132}function V(e){return e>=58&&e<=136}function G(e){return M[e]}function W(e){return e>=129&&e<=131}function J(e){return e>=58&&e<=92}function X(e){return 34===e}function K(e){return L[e]}function Y(e){return B[e]}function Z(e){return e>=24&&e<=25}function Q(e){return O[e]}O[8].updateContext=e=>{e.pop()},O[5].updateContext=O[7].updateContext=O[23].updateContext=e=>{e.push(A.brace)},O[22].updateContext=e=>{e[e.length-1]===A.template?e.pop():e.push(A.template)},O[142].updateContext=e=>{e.push(A.j_expr,A.j_oTag)};let ee="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",te="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const se=new RegExp("["+ee+"]"),re=new RegExp("["+ee+te+"]");ee=te=null;const ie=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],ne=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function ae(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 oe(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&se.test(String.fromCharCode(e)):ae(e,ie)))}function ce(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&re.test(String.fromCharCode(e)):ae(e,ie)||ae(e,ne))))}const ue=["implements","interface","let","package","private","protected","public","static","yield"],le=["eval","arguments"],pe=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"]),he=new Set(ue),de=new Set(le);function fe(e,t){return t&&"await"===e||"enum"===e}function me(e,t){return fe(e,t)||he.has(e)}function ye(e){return de.has(e)}function ge(e,t){return me(e,t)||ye(e)}const xe=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"]);class ve{constructor(e){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=e}}class be{constructor(e,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=t}get inTopLevel(){return(1&this.currentScope().flags)>0}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get inClass(){return(64&this.currentThisScopeFlags())>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(64&e)>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(451&t)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new ve(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){return this.scopeStack.pop().flags}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);let i=r.names.get(e)||0;16&t?i|=4:(r.firstLexicalName||(r.firstLexicalName=e),i|=2),r.names.set(e,i),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.names.set(e,1|(r.names.get(e)||0)),this.maybeExportDefined(r,e),!(387&r.flags));--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(x.VarRedeclaration,r,{identifierName:t})}isRedeclaredInScope(e,t,s){if(!(1&s))return!1;if(8&s)return e.names.has(t);const r=e.names.get(t);return 16&s?(2&r)>0||!this.treatFunctionsAsVarInScope(e)&&(1&r)>0:(2&r)>0&&!(8&e.flags&&e.firstLexicalName===t)||!this.treatFunctionsAsVarInScope(e)&&(4&r)>0}checkLocalExport(e){const{name:t}=e;this.scopeStack[0].names.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(387&t)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(451&t&&!(4&t))return t}}}class Ee extends ve{constructor(...e){super(...e),this.declareFunctions=new Set}}class Ce extends be{createScope(e){return new Ee(e)}declareName(e,t,s){const r=this.currentScope();if(2048&t)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){if(super.isRedeclaredInScope(e,t,s))return!0;if(2048&s&&!e.declareFunctions.has(t)){const s=e.names.get(t);return(4&s)>0||(2&s)>0}return!1}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}}class Ae{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 we(e,t){void 0===e.trailingComments?e.trailingComments=t:e.trailingComments.unshift(...t)}function De(e,t){void 0===e.innerComments?e.innerComments=t:e.innerComments.unshift(...t)}function Te(e,t,s){let r=null,i=t.length;for(;null===r&&i>0;)r=t[--i];null===r||r.start>s.start?De(e,s.comments):we(r,s.comments)}class Se extends Ae{addComment(e){this.filename&&(e.loc.filename=this.filename);const{commentsLen:t}=this.state;this.comments.length!=t&&(this.comments.length=t),this.comments.push(e),this.state.commentsLen++}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&&we(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":Te(s,s.properties,e);break;case"CallExpression":case"OptionalCallExpression":Te(s,s.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Te(s,s.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Te(s,s.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":Te(s,s.specifiers,e);break;default:De(s,t)}else De(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)}resetPreviousIdentifierLeadingComments(e){const{commentStack:t}=this.state,{length:s}=t;0!==s&&(t[s-1].trailingNode===e?t[s-1].trailingNode=null:s>=2&&t[s-2].trailingNode===e&&(t[s-2].trailingNode=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 Pe=/\r\n?|[\n\u2028\u2029]/,ke=new RegExp(Pe.source,"g");function Ne(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}const Ie=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,_e=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g,Fe=new RegExp("(?=("+_e.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function Oe(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 Le{constructor(){this.flags=1024,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.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=139,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[A.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(1&this.flags)>0}set strict(e){e?this.flags|=1:this.flags&=-2}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)}get maybeInArrowParameters(){return(2&this.flags)>0}set maybeInArrowParameters(e){e?this.flags|=2:this.flags&=-3}get inType(){return(4&this.flags)>0}set inType(e){e?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(8&this.flags)>0}set noAnonFunctionType(e){e?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(16&this.flags)>0}set hasFlowComment(e){e?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(32&this.flags)>0}set isAmbientContext(e){e?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(64&this.flags)>0}set inAbstractClass(e){e?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(128&this.flags)>0}set inDisallowConditionalTypesContext(e){e?this.flags|=128:this.flags&=-129}get soloAwait(){return(256&this.flags)>0}set soloAwait(e){e?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(512&this.flags)>0}set inFSharpPipelineDirectBody(e){e?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(1024&this.flags)>0}set canStartJSXElement(e){e?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(2048&this.flags)>0}set containsEsc(e){e?this.flags|=2048:this.flags&=-2049}curPosition(){return new r(this.curLine,this.pos-this.lineStart,this.pos)}clone(){const e=new Le;return e.flags=this.flags,e.curLine=this.curLine,e.lineStart=this.lineStart,e.startLoc=this.startLoc,e.endLoc=this.endLoc,e.errors=this.errors.slice(),e.potentialArrowAt=this.potentialArrowAt,e.noArrowAt=this.noArrowAt.slice(),e.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),e.topicContext=this.topicContext,e.labels=this.labels.slice(),e.commentsLen=this.commentsLen,e.commentStack=this.commentStack.slice(),e.pos=this.pos,e.type=this.type,e.value=this.value,e.start=this.start,e.end=this.end,e.lastTokEndLoc=this.lastTokEndLoc,e.lastTokStartLoc=this.lastTokStartLoc,e.context=this.context.slice(),e.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,e.strictErrors=this.strictErrors,e.tokensLength=this.tokensLength,e}}var Be=function(e){return e>=48&&e<=57};const je={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Me={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 Re(e,t,s,r,i,n){const a=s,o=r,c=i;let u="",l=null,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(Ue(e,d,t,s)){u+=t.slice(p,s);break}if(92===d){u+=t.slice(p,s);const a=qe(t,s,r,i,"template"===e,n);null!==a.ch||l?u+=a.ch:l={pos:s,lineStart:r,curLine:i},({pos:s,lineStart:r,curLine:i}=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,firstInvalidLoc:l,lineStart:r,curLine:i,containsInvalid:!!l}}function Ue(e,t,s,r){return"template"===e?96===t||36===t&&123===s.charCodeAt(r+1):t===("double"===e?34:39)}function qe(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}=$e(e,t,s,r,2,!1,a,n)),o(null===i?null:String.fromCharCode(i))}case 117:{let i;return({code:i,pos:t}=He(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 $e(e,t,s,r,i,n,a,o){const c=t;let u;return({n:u,pos:t}=ze(e,t,s,r,16,i,n,!1,o,!a)),null===u&&(a?o.invalidEscapeSequence(c,s,r):t=c-1),{code:u,pos:t}}function ze(e,t,s,r,i,n,a,o,c,u){const l=t,p=16===i?je.hex:je.decBinOct,h=16===i?Me.hex:10===i?Me.dec:8===i?Me.oct:Me.bin;let d=!1,f=0;for(let l=0,m=null==n?1/0:n;l<m;++l){const n=e.charCodeAt(t);let l;if(95!==n||"bail"===o){if(l=n>=97?n-97+10:n>=65?n-65+10:Be(n)?n-48:1/0,l>=i){if(l<=9&&u)return{n:null,pos:t};if(l<=9&&c.invalidDigit(t,s,r,i))l=0;else{if(!a)break;l=0,d=!0}}++t,f=f*i+l}else{const i=e.charCodeAt(t-1),n=e.charCodeAt(t+1);if(o){if(Number.isNaN(n)||!h(n)||p.has(i)||p.has(n)){if(u)return{n:null,pos:t};c.unexpectedNumericSeparator(t,s,r)}}else{if(u)return{n:null,pos:t};c.numericSeparatorInEscapeSequence(t,s,r)}++t}}return t===l||null!=n&&t-l!==n||d?{n:null,pos:t}:{n:f,pos:t}}function He(e,t,s,r,i,n){let a;if(123===e.charCodeAt(t)){if(++t,({code:a,pos:t}=$e(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}=$e(e,t,s,r,4,!1,i,n));return{code:a,pos:t}}function Ve(e,t,s){return new r(s,e-t,e)}const Ge=new Set([103,109,115,105,121,117,100,118]);class We{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 Je extends Se{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(e,t,s,r)=>!!this.options.errorRecovery&&(this.raise(x.InvalidDigit,Ve(e,t,s),{radix:r}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(x.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(x.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(x.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(x.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(e,t,s)=>{this.recordStrictModeErrors(x.StrictNumericEscape,Ve(e,t,s))},unterminated:(e,t,s)=>{throw this.raise(x.UnterminatedString,Ve(e-1,t,s))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(x.StrictNumericEscape),unterminated:(e,t,s)=>{throw this.raise(x.UnterminatedTemplate,Ve(e,t,s))}}),this.state=new Le,this.state.init(e),this.input=t,this.length=t.length,this.comments=[],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 We(this.state)),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 Ie.lastIndex=e,Ie.test(this.input)?Ie.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(e){return _e.lastIndex=e,_e.test(this.input)?_e.lastIndex:e}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}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,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(139):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(e){let t;this.isLookahead||(t=this.state.curPosition());const s=this.state.pos,r=this.input.indexOf(e,s+2);if(-1===r)throw this.raise(x.UnterminatedComment,this.state.curPosition());for(this.state.pos=r+e.length,ke.lastIndex=s+2;ke.test(this.input)&&ke.lastIndex<=r;)++this.state.curLine,this.state.lineStart=ke.lastIndex;if(this.isLookahead)return;const n={type:"CommentBlock",value:this.input.slice(s+2,r),start:s,end:r+e.length,loc:new i(t,this.state.curPosition())};return this.options.tokens&&this.pushToken(n),n}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(;!Ne(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(Oe(s))++this.state.pos;else if(45===s&&!this.inModule&&this.options.annexB){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))}}else{if(60!==s||this.inModule||!this.options.annexB)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))}}}}}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(x.UnexpectedDigitAfterHash,this.state.curPosition());if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"bar"===this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===t?x.RecordExpressionHashIncorrectStartSyntaxType:x.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else oe(t)?(++this.state.pos,this.finishToken(138,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(138,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;!Ne(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(x.RecordExpressionBarIncorrectEndSyntaxType,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(x.TupleExpressionBarIncorrectEndSyntaxType,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);94===this.input.codePointAt(this.state.pos)&&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(x.TupleExpressionBarIncorrectStartSyntaxType,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(x.RecordExpressionBarIncorrectStartSyntaxType,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(oe(e))return void this.readWord(e)}throw this.raise(x.InvalidOrUnexpectedToken,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(x.UnterminatedRegExp,n(e,1));const t=this.input.charCodeAt(i);if(Ne(t))throw this.raise(x.UnterminatedRegExp,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(Ge.has(e))118===e?o.includes("u")&&this.raise(x.IncompatibleRegExpUVFlags,c()):117===e&&o.includes("v")&&this.raise(x.IncompatibleRegExpUVFlags,c()),o.includes(t)&&this.raise(x.DuplicateRegExpFlags,c());else{if(!ce(e)&&92!==e)break;this.raise(x.MalformedRegExpFlags,c())}++i,o+=t}this.state.pos=i,this.finishToken(137,{pattern:a,flags:o})}readInt(e,t,s=!1,r=!0){const{n:i,pos:n}=ze(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,t,s,r,this.errorHandlers_readInt,!1);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(x.InvalidDigit,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(x.InvalidDecimal,t);if(oe(this.codePointAtPos(this.state.pos)))throw this.raise(x.NumberIdentifier,this.state.curPosition());if(s){const e=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(135,e)}else this.finishToken(134,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(x.InvalidNumber,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(x.StrictOctalLiteral,s),!this.state.strict){const t=e.indexOf("_");t>0&&this.raise(x.ZeroDigitNumericSeparator,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(x.InvalidOrMissingExponent,s),r=!0,o=!0,l=this.input.charCodeAt(this.state.pos)),110===l&&((r||u)&&this.raise(x.InvalidBigIntLiteral,s),++this.state.pos,i=!0),109===l&&(this.expectPlugin("decimal",this.state.curPosition()),(o||u)&&this.raise(x.InvalidDecimal,s),++this.state.pos,a=!0),oe(this.codePointAtPos(this.state.pos)))throw this.raise(x.NumberIdentifier,this.state.curPosition());const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(i)return void this.finishToken(135,p);if(a)return void this.finishToken(136,p);const h=c?parseInt(p,8):parseFloat(p);this.finishToken(134,h)}readCodePoint(e){const{code:t,pos:s}=He(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}=Re(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(133,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const e=this.input[this.state.pos],{str:t,firstInvalidLoc:s,pos:i,curLine:n,lineStart:a}=Re("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=i+1,this.state.lineStart=a,this.state.curLine=n,s&&(this.state.firstInvalidTemplateEscapePos=new r(s.curLine,s.pos-s.lineStart,s.pos)),96===this.input.codePointAt(i)?this.finishToken(24,s?null:e+t+"`"):(this.state.pos++,this.finishToken(25,s?null:e+t+"${"))}recordStrictModeErrors(e,t){const s=t.index;this.state.strict&&!this.state.strictErrors.has(s)?this.raise(e,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(ce(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?oe:ce;if(117!==this.input.charCodeAt(++this.state.pos)){this.raise(x.MissingUnicodeEscape,this.state.curPosition()),r=this.state.pos-1;continue}++this.state.pos;const n=this.readCodePoint(!0);null!==n&&(i(n)||this.raise(x.EscapedCharNotAnIdentifier,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=N.get(t);void 0!==s?this.finishToken(s,K(s)):this.finishToken(132,t)}checkKeywordEscapes(){const{type:e}=this.state;J(e)&&this.state.containsEsc&&this.raise(x.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:K(e)})}raise(e,t,s={}){const i=e(t instanceof r?t:t.loc.start,s);if(!this.options.errorRecovery)throw i;return this.isLookahead||this.state.errors.push(i),i}raiseOverwrite(e,t,s={}){const i=t instanceof r?t:t.loc.start,n=i.index,a=this.state.errors;for(let t=a.length-1;t>=0;t--){const r=a[t];if(r.loc.index===n)return a[t]=e(i,s);if(r.loc.index<n)break}return this.raise(e,t,s)}updateContext(e){}unexpected(e,t){throw this.raise(x.UnexpectedToken,null!=e?e:this.state.startLoc,{expected:t?K(t):null})}expectPlugin(e,t){if(this.hasPlugin(e))return!0;throw this.raise(x.MissingPlugin,null!=t?t:this.state.startLoc,{missingPlugin:[e]})}expectOnePlugin(e){if(!e.some((e=>this.hasPlugin(e))))throw this.raise(x.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:e})}errorBuilder(e){return(t,s,r)=>{this.raise(e,Ve(t,s,r))}}}class Xe{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class Ke{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 Xe)}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(x.InvalidPrivateFieldResolution,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(x.PrivateNameRedeclaration,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(x.InvalidPrivateFieldResolution,t,{identifierName:e})}}class Ye{constructor(e=0){this.type=e}canBeArrowParameterDeclaration(){return 2===this.type||1===this.type}isCertainlyParameterDeclaration(){return 3===this.type}}class Ze extends Ye{constructor(e){super(e),this.declarationErrors=new Map}recordDeclarationError(e,t){const s=t.index;this.declarationErrors.set(s,[e,t])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}}class Qe{constructor(e){this.parser=void 0,this.stack=[new Ye],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,t){const s=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)}recordArrowParameterBindingError(e,t){const{stack:s}=this,r=s[s.length-1],i=t.loc.start;if(r.isCertainlyParameterDeclaration())this.parser.raise(e,i);else{if(!r.canBeArrowParameterDeclaration())return;r.recordDeclarationError(e,i)}}recordAsyncArrowParametersError(e){const{stack:t}=this;let s=t.length-1,r=t[s];for(;r.canBeArrowParameterDeclaration();)2===r.type&&r.recordDeclarationError(x.AwaitBindingIdentifier,e),r=t[--s]}validateAsPattern(){const{stack:e}=this,t=e[e.length-1];t.canBeArrowParameterDeclaration()&&t.iterateErrors((([t,s])=>{this.parser.raise(t,s);let r=e.length-2,i=e[r];for(;i.canBeArrowParameterDeclaration();)i.clearDeclarationError(s.index),i=e[--r]}))}}function et(){return new Ye}class tt{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 st(e,t){return(e?2:0)|(t?1:0)}class rt extends Je{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!(ce(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,this.state.startLoc);this.unexpected(null,e)}}canInsertSemicolon(){return this.match(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Pe.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return Fe.lastIndex=this.state.end,Fe.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=!0){(e?this.isLineTerminator():this.eat(13))||this.raise(x.MissingSemicolon,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(x.InvalidCoverInitializedName,s),null!=r&&this.raise(x.DuplicateProto,r),null!=i&&this.raise(x.UnexpectedPrivateField,i),null!=n&&this.unexpected(n)}isLiteralPropertyName(){return V(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)}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 tt;const o=this.classScope;this.classScope=new Ke(this);const c=this.expressionScope;return this.expressionScope=new Qe(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 it{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class nt{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 at=nt.prototype;function ot(e){const{type:t,start:s,end:r,loc:i,range:n,extra:a,name:o}=e,c=Object.create(at);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 ct(e){const{type:t,start:s,end:r,loc:i,range:n,extra:a}=e;if("Placeholder"===t)return function(e){return ot(e)}(e);const o=Object.create(at);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}at.__clone=function(){const e=new nt(void 0,this.start,this.loc.start),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 ut extends rt{startNode(){const e=this.state.startLoc;return new nt(this,e.index,e)}startNodeAt(e){return new nt(this,e.index,e)}startNodeAtNode(e){return this.startNodeAt(e.loc.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEndLoc)}finishNodeAt(e,t,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){e.start=t.index,e.loc.start=t,this.options.ranges&&(e.range[0]=t.index)}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.loc.start)}}const lt=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),pt=g`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}\`.`,EnumStringMemberInconsistentlyInitialized:({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.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({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 ht(e){return"type"===e.importKind||"typeof"===e.importKind}const dt={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};const ft=/\*?\s*@((?:no)?flow)\b/;const mt={__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:"♦"},yt=g`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 gt(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function xt(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return xt(e.object)+"."+xt(e.property);throw new Error("Node had unexpected type: "+e.type)}class vt extends ve{constructor(...e){super(...e),this.tsNames=new Map}}class bt extends be{constructor(...e){super(...e),this.importsStack=[]}createScope(e){return this.importsStack.push(new Set),new vt(e)}enter(e){256==e&&this.importsStack.push(new Set),super.enter(e)}exit(){const e=super.exit();return 256==e&&this.importsStack.pop(),e}hasImport(e,t){const s=this.importsStack.length;if(this.importsStack[s-1].has(e))return!0;if(!t&&s>1)for(let t=0;t<s-1;t++)if(this.importsStack[t].has(e))return!0;return!1}declareName(e,t,s){if(4096&t)return this.hasImport(e,!0)&&this.parser.raise(x.VarRedeclaration,s,{identifierName:e}),void this.importsStack[this.importsStack.length-1].add(e);const r=this.currentScope();let i=r.tsNames.get(e)||0;if(1024&t)return this.maybeExportDefined(r,e),void r.tsNames.set(e,16|i);super.declareName(e,t,s),2&t&&(1&t||(this.checkRedeclarationInScope(r,e,t,s),this.maybeExportDefined(r,e)),i|=1),256&t&&(i|=2),512&t&&(i|=4),128&t&&(i|=8),i&&r.tsNames.set(e,i)}isRedeclaredInScope(e,t,s){const r=e.tsNames.get(t);if((2&r)>0){if(256&s){return!!(512&s)!==(4&r)>0}return!0}return 128&s&&(8&r)>0?!!(2&e.names.get(t))&&!!(1&s):!!(2&s&&(1&r)>0)||super.isRedeclaredInScope(e,t,s)}checkLocalExport(e){const{name:t}=e;if(this.hasImport(t))return;for(let e=this.scopeStack.length-1;e>=0;e--){const s=this.scopeStack[e].tsNames.get(t);if((1&s)>0||(16&s)>0)return}super.checkLocalExport(e)}}const Et=e=>"ParenthesizedExpression"===e.type?Et(e.expression):e;class Ct extends ut{toAssignable(e,t=!1){var s,r;let i;switch(("ParenthesizedExpression"===e.type||null!=(s=e.extra)&&s.parenthesized)&&(i=Et(e),t?"Identifier"===i.type?this.expressionScope.recordArrowParameterBindingError(x.InvalidParenthesizedAssignment,e):"MemberExpression"===i.type||this.isOptionalMemberExpression(i)||this.raise(x.InvalidParenthesizedAssignment,e):this.raise(x.InvalidParenthesizedAssignment,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(x.RestTrailingComma,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(x.MissingEqInAssignment,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?x.PatternHasAccessor:x.PatternHasMethod,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(x.RestTrailingComma,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(x.RestTrailingComma,n):t&&this.raise(x.RestTrailingComma,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,1),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(e,t,s){const r=1&s,i=[];let n=!0;for(;!this.eat(e);)if(n?n=!1:this.expect(12),r&&this.match(12))i.push(null);else{if(this.eat(e))break;if(this.match(21)){if(i.push(this.parseAssignableListItemTypes(this.parseRestBinding(),s)),!this.checkCommaAfterRest(t)){this.expect(e);break}}else{const e=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(x.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)e.push(this.parseDecorator());i.push(this.parseAssignableListItem(s,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,startLoc:s}=this.state;return 21===t?this.parseBindingRestProperty(e):(138===t?(this.expectPlugin("destructuringPrivate",s),this.classScope.usePrivateName(this.state.value,s),e.key=this.parsePrivateName()):this.parsePropertyName(e),e.method=!1,this.parseObjPropValue(e,s,!1,!1,!0,!1))}parseAssignableListItem(e,t){const s=this.parseMaybeDefault();this.parseAssignableListItemTypes(s,e);const r=this.parseMaybeDefault(s.loc.start,s);return t.length&&(s.decorators=t),r}parseAssignableListItemTypes(e,t){return e}parseMaybeDefault(e,t){var s;if(null!=e||(e=this.state.startLoc),t=null!=(s=t)?s:this.parseBindingAtom(),!this.eat(29))return t;const r=this.startNodeAt(e);return r.left=t,r.right=this.parseMaybeAssignAllowIn(),this.finishNode(r,"AssignmentPattern")}isValidLVal(e,t,s){return((e,t)=>hasOwnProperty.call(e,t)&&e[t])({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},e)}isOptionalMemberExpression(e){return"OptionalMemberExpression"===e.type}checkLVal(e,{in:t,binding:s=64,checkClashes:r=!1,strictModeChanged:i=!1,hasParenthesizedAncestor:n=!1}){var a;const o=e.type;if(this.isObjectMethod(e))return;const c=this.isOptionalMemberExpression(e);if(c||"MemberExpression"===o)return c&&(this.expectPlugin("optionalChainingAssign",e.loc.start),"AssignmentExpression"!==t.type&&this.raise(x.InvalidLhsOptionalChaining,e,{ancestor:t})),void(64!==s&&this.raise(x.InvalidPropertyBindingPattern,e));if("Identifier"===o){this.checkIdentifier(e,s,i);const{name:t}=e;return void(r&&(r.has(t)?this.raise(x.ParamDupe,e):r.add(t)))}const u=this.isValidLVal(o,!(n||null!=(a=e.extra)&&a.parenthesized)&&"AssignmentExpression"===t.type,s);if(!0===u)return;if(!1===u){const r=64===s?x.InvalidLhs:x.InvalidLhsBinding;return void this.raise(r,e,{ancestor:t})}const[l,p]=Array.isArray(u)?u:[u,"ParenthesizedExpression"===o],h="ArrayPattern"===o||"ObjectPattern"===o?{type:o}:t;for(const t of[].concat(e[l]))t&&this.checkLVal(t,{in:h,binding:s,checkClashes:r,strictModeChanged:i,hasParenthesizedAncestor:p})}checkIdentifier(e,t,s=!1){this.state.strict&&(s?ge(e.name,this.inModule):ye(e.name))&&(64===t?this.raise(x.StrictEvalArguments,e,{referenceName:e.name}):this.raise(x.StrictEvalArgumentsBinding,e,{bindingName:e.name})),8192&t&&"let"===e.name&&this.raise(x.LetInLexicalBinding,e),64&t||this.declareNameFromIdentifier(e,t)}declareNameFromIdentifier(e,t){this.scope.declareName(e.name,t,e.loc.start)}checkToRestConversion(e,t){switch(e.type){case"ParenthesizedExpression":this.checkToRestConversion(e.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(x.InvalidRestAssignmentPattern,e)}}checkCommaAfterRest(e){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===e?x.RestTrailingComma:x.ElementAfterRest,this.state.startLoc),!0)}}function At(e){if(!e)throw new Error("Assert fail")}const wt=g`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.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({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'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",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.",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.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:e})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e}.`});function Dt(e){return"private"===e||"public"===e||"protected"===e}function Tt(e){return"in"===e||"out"===e}function St(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))&&Nt(e.object)}function Pt(e,t){var s;const{type:r}=e;if(null!=(s=e.extra)&&s.parenthesized)return!1;if(t){if("Literal"===r){const{value:t}=e;if("string"==typeof t||"boolean"==typeof t)return!0}}else if("StringLiteral"===r||"BooleanLiteral"===r)return!0;return!(!kt(e,t)&&!function(e,t){if("UnaryExpression"===e.type){const{operator:s,argument:r}=e;if("-"===s&&kt(r,t))return!0}return!1}(e,t))||("TemplateLiteral"===r&&0===e.expressions.length||!!St(e))}function kt(e,t){return t?"Literal"===e.type&&("number"==typeof e.value||"bigint"in e):"NumericLiteral"===e.type||"BigIntLiteral"===e.type}function Nt(e){return"Identifier"===e.type||"MemberExpression"===e.type&&!e.computed&&Nt(e.object)}const It=g`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});function _t(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 Ft(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 Ot=["minimal","fsharp","hack","smart"],Lt=["^^","@@","^","%","#"],Bt=["hash","bar"];const jt={estree:e=>class extends e{parse(){const e=E(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(E)),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;delete e.value,t.type="Literal",t.raw=t.extra.raw,t.value=t.extra.expressionValue;const s=e;return s.type="ExpressionStatement",s.expression=t,s.directive=t.extra.rawValue,delete t.extra,s}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){const i=super.parseObjectProperty(e,t,s,r);return i&&(i.kind="init",i.type="Property"),i}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(x.PatternHasAccessor,e.key):e.method?this.raise(x.PatternHasMethod,e.key):super.toAssignableObjectExpressionProp(e,t,s)}finishCallExpression(e,t){const s=super.finishCallExpression(e,t);if("Import"===s.callee.type){var r,i;if(s.type="ImportExpression",s.source=s.arguments[0],this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))s.options=null!=(r=s.arguments[1])?r:null,s.attributes=null!=(i=s.arguments[1])?i:null;delete s.arguments,delete s.callee}return s}toReferencedArguments(e){"ImportExpression"!==e.type&&super.toReferencedArguments(e)}parseExport(e,t){const s=this.state.lastTokStartLoc,r=super.parseExport(e,t);switch(r.type){case"ExportAllDeclaration":r.exported=null;break;case"ExportNamedDeclaration":1===r.specifiers.length&&"ExportNamespaceSpecifier"===r.specifiers[0].type&&(r.type="ExportAllDeclaration",r.exported=r.specifiers[0].exported,delete r.specifiers);case"ExportDefaultDeclaration":{var i;const{declaration:e}=r;"ClassDeclaration"===(null==e?void 0:e.type)&&(null==(i=e.decorators)?void 0:i.length)>0&&e.start===r.start&&this.resetStartLocation(r,s)}}return r}parseSubscript(e,t,s,r){const i=super.parseSubscript(e,t,s,r);if(r.optionalChainMember){if("OptionalMemberExpression"!==i.type&&"OptionalCallExpression"!==i.type||(i.type=i.type.substring(8)),r.stop){const e=this.startNodeAtNode(i);return e.expression=i,this.finishNode(e,"ChainExpression")}}else"MemberExpression"!==i.type&&"CallExpression"!==i.type||(i.optional=!1);return i}isOptionalMemberExpression(e){return"ChainExpression"===e.type?"MemberExpression"===e.expression.type:super.isOptionalMemberExpression(e)}hasPropertyAsPrivateName(e){return"ChainExpression"===e.type&&(e=e.expression),super.hasPropertyAsPrivateName(e)}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 E(super.finishNodeAt(e,t,s))}resetStartLocation(e,t){super.resetStartLocation(e,t),E(e)}resetEndLocation(e,t=this.state.lastTokEndLoc){super.resetEndLocation(e,t),E(e)}},jsx:e=>class extends e{jsxReadToken(){let e="",t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(yt.UnterminatedJsxContent,this.state.startLoc);const s=this.input.charCodeAt(this.state.pos);switch(s){case 60:case 123:return this.state.pos===this.state.start?void(60===s&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(142)):super.getTokenFromCode(s)):(e+=this.input.slice(t,this.state.pos),void this.finishToken(141,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:Ne(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(x.UnterminatedString,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):Ne(r)?(t+=this.input.slice(s,this.state.pos),t+=this.jsxReadNewLine(!1),s=this.state.pos):++this.state.pos}t+=this.input.slice(s,this.state.pos++),this.finishToken(133,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=mt[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(ce(e)||45===e);this.finishToken(140,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){const e=this.startNode();return this.match(140)?e.name=this.state.value:J(this.state.type)?e.name=K(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){const e=this.state.startLoc,t=this.jsxParseIdentifier();if(!this.eat(14))return t;const s=this.startNodeAt(e);return s.namespace=t,s.name=this.jsxParseIdentifier(),this.finishNode(s,"JSXNamespacedName")}jsxParseElementName(){const e=this.state.startLoc;let t=this.jsxParseNamespacedName();if("JSXNamespacedName"===t.type)return t;for(;this.eat(16);){const s=this.startNodeAt(e);s.object=t,s.property=this.jsxParseIdentifier(),t=this.finishNode(s,"JSXMemberExpression")}return t}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.setContext(A.brace),this.next(),e=this.jsxParseExpressionContainer(e,A.j_oTag),"JSXEmptyExpression"===e.expression.type&&this.raise(yt.AttributeIsEmpty,e),e;case 142:case 133:return this.parseExprAtom();default:throw this.raise(yt.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){const e=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.setContext(A.j_expr),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(A.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(A.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){const t=this.startNodeAt(e);return this.eat(143)?this.finishNode(t,"JSXOpeningFragment"):(t.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(t))}jsxParseOpeningElementAfterName(e){const t=[];for(;!this.match(56)&&!this.match(143);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(56),this.expect(143),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e){const t=this.startNodeAt(e);return this.eat(143)?this.finishNode(t,"JSXClosingFragment"):(t.name=this.jsxParseElementName(),this.expect(143),this.finishNode(t,"JSXClosingElement"))}jsxParseElementAt(e){const t=this.startNodeAt(e),s=[],r=this.jsxParseOpeningElementAt(e);let i=null;if(!r.selfClosing){e:for(;;)switch(this.state.type){case 142:if(e=this.state.startLoc,this.next(),this.eat(56)){i=this.jsxParseClosingElementAt(e);break e}s.push(this.jsxParseElementAt(e));break;case 141:s.push(this.parseExprAtom());break;case 5:{const e=this.startNode();this.setContext(A.brace),this.next(),this.match(21)?s.push(this.jsxParseSpreadChild(e)):s.push(this.jsxParseExpressionContainer(e,A.j_expr));break}default:this.unexpected()}gt(r)&&!gt(i)&&null!==i?this.raise(yt.MissingClosingTagFragment,i):!gt(r)&&gt(i)?this.raise(yt.MissingClosingTagElement,i,{openingTagName:xt(r.name)}):gt(r)||gt(i)||xt(i.name)!==xt(r.name)&&this.raise(yt.MissingClosingTagElement,i,{openingTagName:xt(r.name)})}if(gt(r)?(t.openingFragment=r,t.closingFragment=i):(t.openingElement=r,t.closingElement=i),t.children=s,this.match(47))throw this.raise(yt.UnwrappedAdjacentJSXElements,this.state.startLoc);return gt(r)?this.finishNode(t,"JSXFragment"):this.finishNode(t,"JSXElement")}jsxParseElement(){const e=this.state.startLoc;return this.next(),this.jsxParseElementAt(e)}setContext(e){const{context:t}=this.state;t[t.length-1]=e}parseExprAtom(e){return this.match(141)?this.parseLiteral(this.state.value,"JSXText"):this.match(142)?this.jsxParseElement():this.match(47)&&33!==this.input.charCodeAt(this.state.pos)?(this.replaceToken(142),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(e){const t=this.curContext();if(t!==A.j_expr){if(t===A.j_oTag||t===A.j_cTag){if(oe(e))return void this.jsxReadWord();if(62===e)return++this.state.pos,void this.finishToken(143);if((34===e||39===e)&&t===A.j_oTag)return void this.jsxReadString(e)}if(60===e&&this.state.canStartJSXElement&&33!==this.input.charCodeAt(this.state.pos+1))return++this.state.pos,void this.finishToken(142);super.getTokenFromCode(e)}else this.jsxReadToken()}updateContext(e){const{context:t,type:s}=this.state;if(56===s&&142===e)t.splice(-2,2,A.j_cTag),this.state.canStartJSXElement=!1;else if(142===s)t.push(A.j_oTag);else if(143===s){const s=t[t.length-1];s===A.j_oTag&&56===e||s===A.j_cTag?(t.pop(),this.state.canStartJSXElement=t[t.length-1]===A.j_expr):(this.setContext(A.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=function(e){return j[e]}(s)}},flow:e=>class extends e{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return Ce}shouldParseTypes(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){133!==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=ft.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;}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(110),this.state.lastTokStartLoc.index>t.index+1&&this.raise(pt.UnexpectedSpaceBetweenModuloChecks,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){return this.match(80)?this.flowParseDeclareClass(e):this.match(68)?this.flowParseDeclareFunction(e):this.match(74)?this.flowParseDeclareVariable(e):this.eatContextual(127)?this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(pt.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(e)):this.isContextual(130)?this.flowParseDeclareTypeAlias(e):this.isContextual(131)?this.flowParseDeclareOpaqueType(e):this.isContextual(129)?this.flowParseDeclareInterface(e):this.match(82)?this.flowParseDeclareExportDeclaration(e,t):void 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(133)?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(130)||this.match(87)||this.raise(pt.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(e)):(this.expectContextual(125,pt.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(pt.DuplicateDeclareModuleExports,e),"ES"===r&&this.raise(pt.AmbiguousDeclareModuleKind,e),r="CommonJS",i=!0):("CommonJS"===r&&this.raise(pt.AmbiguousDeclareModuleKind,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(130)||this.isContextual(129))&&!t){const e=this.state.value;throw this.raise(pt.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:e,suggestion:dt[e]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(131)?(e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131)?("ExportNamedDeclaration"===(e=this.parseExport(e,null)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e):void this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(111),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,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?17:8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12));if(t){if(e.implements=[],e.mixins=[],this.eatContextual(117))do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12));if(this.eatContextual(113))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,!1),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){"_"===e&&this.raise(pt.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(e,t,s){lt.has(e)&&this.raise(s?pt.AssignReservedType:pt.UnexpectedReservedType,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,8201,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(130),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,8201,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(pt.MissingTypeParamDefault,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(142)?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(129),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(134)||this.match(133)?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.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(118)){const t=this.lookahead();14!==t.type&&17!==t.type&&(this.next(),n=this.state.startLoc,e=!1)}if(e&&this.isContextual(106)){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(99)||this.isContextual(104)){V(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(pt.UnexpectedExplicitInexactInObject,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(pt.InexactInsideExact,this.state.lastTokStartLoc):this.raise(pt.InexactInsideNonObject,this.state.lastTokStartLoc),r&&this.raise(pt.InexactVariance,r),null):(n||this.raise(pt.UnexpectedSpreadType,this.state.lastTokStartLoc),null!=s&&this.unexpected(s),r&&this.raise(pt.SpreadVariance,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.loc.start)),"get"!==i&&"set"!==i||this.flowCheckGetterSetterParams(e),!n&&"constructor"===e.key.name&&e.value.this&&this.raise(pt.ThisParamBannedInConstructor,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?pt.GetterMayNotHaveThisParam:pt.SetterMayNotHaveThisParam,e.value.this),s!==t&&this.raise("get"===e.kind?x.BadGetterArity:x.BadSetterArity,e),"set"===e.kind&&e.value.rest&&this.raise(x.BadSetterRestParameter,e)}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(e,t){null!=e||(e=this.state.startLoc);let s=t||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const t=this.startNodeAt(e);t.qualification=s,t.id=this.flowParseRestrictedIdentifier(!0),s=this.finishNode(t,"QualifiedTypeIdentifier")}return s}flowParseGenericType(e,t){const s=this.startNodeAt(e);return s.typeParameters=null,s.id=this.flowParseQualifiedTypeIdentifier(e,t),this.match(47)&&(s.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(s,"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(pt.ThisParamMustBeFirst,i),t=this.parseIdentifier(a),this.eat(17)&&(s=!0,a&&this.raise(pt.ThisParamMayNotBeOptional,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.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){switch(s.name){case"any":return this.finishNode(t,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(t,"BooleanTypeAnnotation");case"mixed":return this.finishNode(t,"MixedTypeAnnotation");case"empty":return this.finishNode(t,"EmptyTypeAnnotation");case"number":return this.finishNode(t,"NumberTypeAnnotation");case"string":return this.finishNode(t,"StringTypeAnnotation");case"symbol":return this.finishNode(t,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(s.name),this.flowParseGenericType(e,s)}}flowParsePrimaryType(){const e=this.state.startLoc,t=this.startNode();let s,r,i=!1;const n=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,r=this.flowParseTupleType(),this.state.noAnonFunctionType=n,r;case 47:return t.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),s=this.flowParseFunctionTypeParams(),t.params=s.params,t.rest=s.rest,t.this=s._this,this.expect(11),this.expect(19),t.returnType=this.flowParseType(),this.finishNode(t,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(z(this.state.type)||this.match(78)){const e=this.lookahead().type;i=17!==e&&14!==e}else i=!0;if(i){if(this.state.noAnonFunctionType=!1,r=this.flowParseType(),this.state.noAnonFunctionType=n,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),r;this.eat(12)}return s=r?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(r)]):this.flowParseFunctionTypeParams(),t.params=s.params,t.rest=s.rest,t.this=s._this,this.expect(11),this.expect(19),t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation");case 133:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return t.value=this.match(85),this.next(),this.finishNode(t,"BooleanLiteralTypeAnnotation");case 53:if("-"===this.state.value){if(this.next(),this.match(134))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",t);if(this.match(135))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",t);throw this.raise(pt.UnexpectedSubtractionOperand,this.state.startLoc)}return void this.unexpected();case 134:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 135:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(t,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(t,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(t,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(t,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(J(this.state.type)){const e=K(this.state.type);return this.next(),super.createIdentifier(t,e)}if(z(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,t,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){const e=this.state.startLoc;let t=this.flowParsePrimaryType(),s=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const r=this.startNodeAt(e),i=this.eat(18);s=s||i,this.expect(0),!i&&this.match(3)?(r.elementType=t,this.next(),t=this.finishNode(r,"ArrayTypeAnnotation")):(r.objectType=t,r.indexType=this.flowParseType(),this.expect(3),s?(r.optional=i,t=this.finishNode(r,"OptionalIndexedAccessType")):t=this.finishNode(r,"IndexedAccessType"))}return t}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.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(132===this.state.type&&"_"===this.state.value){const e=this.state.startLoc,t=this.parseIdentifier();return this.flowParseGenericType(e,t)}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){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)}parseStatementLike(e){if(this.state.strict&&this.isContextual(129)){if(H(this.lookahead().type)){const e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(126)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}const t=super.parseStatementLike(e);return void 0!==this.flowPragma||this.isValidDirective(t)||(this.flowPragma=null),t}parseExpressionStatement(e,t,s){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,s)}shouldParseExportDeclaration(){const{type:e}=this.state;return W(e)||this.shouldParseEnums()&&126===e?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;return W(e)||this.shouldParseEnums()&&126===e?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(126)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,s){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(s),e}this.expect(17);const r=this.state.clone(),i=this.state.noArrowAt,n=this.startNodeAt(t);let{consequent:a,failed:o}=this.tryParseConditionalConsequent(),[c,u]=this.getArrowLikeExpressions(a);if(o||u.length>0){const e=[...i];if(u.length>0){this.state=r,this.state.noArrowAt=e;for(let t=0;t<u.length;t++)e.push(u[t].start);({consequent:a,failed:o}=this.tryParseConditionalConsequent()),[c,u]=this.getArrowLikeExpressions(a)}o&&c.length>1&&this.raise(pt.AmbiguousConditionalArrow,r.startLoc),o&&1===c.length&&(this.state=r,e.push(c[0].start),this.state.noArrowAt=e,({consequent:a,failed:o}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(a,!0),this.state.noArrowAt=i,this.expect(14),n.test=e,n.consequent=a,n.alternate=this.forwardNoArrowParamsConversionAt(n,(()=>this.parseMaybeAssign(void 0,void 0))),this.finishNode(n,"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){if(e=super.parseParenItem(e,t),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){const s=this.startNodeAt(t);return s.expression=e,s.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(s,"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)}parseExportDeclaration(e){if(this.isContextual(130)){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(131)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}if(this.isContextual(129)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseInterface(t)}if(this.shouldParseEnums()&&this.isContextual(126)){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(130)||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(125)){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(pt.DeclareClassElement,r):t.value&&this.raise(pt.DeclareClassFieldInitializer,t.value))}isIterator(e){return"iterator"===e||"asyncIterator"===e}readIterator(){const e=super.readWord1(),t="@@"+e;this.isIterator(e)&&this.state.inType||this.raise(x.InvalidIdentifier,this.state.curPosition(),{identifierName:t}),this.finishToken(132,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);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&&oe(s)}(e,t,this.input.charCodeAt(this.state.pos+2))?super.getTokenFromCode(e):(this.state.pos+=2,this.readIterator()):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(pt.TypeCastInPattern,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(pt.ThisParamBannedInConstructor,t)}else if("MethodDefinition"===t.type&&i&&t.value.params){const e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(pt.ThisParamBannedInConstructor,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(113)){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(pt.GetterMayNotHaveThisParam,s):this.isThisParam(s)&&this.raise(pt.SetterMayNotHaveThisParam,s)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,s,r,i,n,a){let o;e.variance&&this.unexpected(e.variance.loc.start),delete e.variance,this.match(47)&&!n&&(o=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const c=super.parseObjPropValue(e,t,s,r,i,n,a);return o&&((c.value||c).typeParameters=o),c}parseAssignableListItemTypes(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(pt.PatternIsOptional,e),this.isThisParam(e)&&this.raise(pt.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(pt.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(pt.ThisParamNoDefault,e),this.resetEndLocation(e),e}parseMaybeDefault(e,t){const s=super.parseMaybeDefault(e,t);return"AssignmentPattern"===s.type&&s.typeAnnotation&&s.right.start<s.typeAnnotation.start&&this.raise(pt.TypeBeforeInitializer,s.typeAnnotation),s}checkImportReflection(e){super.checkImportReflection(e),e.module&&"value"!==e.importKind&&this.raise(pt.ImportReflectionHasImportType,e.specifiers[0].loc.start)}parseImportSpecifierLocal(e,t,s){t.local=ht(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,s))}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){if(!e)return!0;const t=this.lookaheadCharCode();return 123===t||42===t}return!e&&this.isContextual(87)}applyImportPhase(e,t,s,r){if(super.applyImportPhase(e,t,s,r),t){if(!s&&this.match(65))return;e.exportKind="type"===s?s:"value"}else"type"===s&&this.match(55)&&this.unexpected(),e.importKind="type"===s||"typeof"===s?s:"value"}parseImportSpecifier(e,t,s,r,i){const n=e.imported;let a=null;"Identifier"===n.type&&("type"===n.name?a="type":"typeof"===n.name&&(a="typeof"));let o=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){const t=this.parseIdentifier(!0);null===a||H(this.state.type)?(e.imported=n,e.importKind=null,e.local=this.parseIdentifier()):(e.imported=t,e.importKind=a,e.local=ot(t))}else{if(null!==a&&H(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=a;else{if(t)throw this.raise(x.ImportBindingIsString,e,{importName:n.value});e.imported=n,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():(o=!0,e.local=ot(e.imported))}const c=ht(e);return s&&c&&this.raise(pt.ImportTypeShorthandOnlyInPureImport,e),(s||c)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),!o||s||c||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(142)||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!==A.j_oTag&&n!==A.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(pt.UnexpectedTypeParameterBeforeAsyncArrowFunction,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(pt.UnexpectedTokenAfterTypeParameter,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(pt.ThisParamMustBeFirst,e.params[t]);super.checkParams(e,t,s,r)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&-1===this.state.noArrowAt.indexOf(this.state.start))}parseSubscripts(e,t,s){if("Identifier"===e.type&&"async"===e.name&&-1!==this.state.noArrowAt.indexOf(t.index)){this.next();const s=this.startNodeAt(t);s.callee=e,s.arguments=super.parseCallExpressionArguments(11,!1),e=this.finishNode(s,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.match(47)){const r=this.state.clone(),i=this.tryParse((e=>this.parseAsyncArrowWithTypeParameters(t)||e()),r);if(!i.error&&!i.aborted)return i.node;const n=this.tryParse((()=>super.parseSubscripts(e,t,s)),r);if(n.node&&!n.error)return n.node;if(i.node)return this.state=i.failState,i.node;if(n.node)return this.state=n.failState,n.node;throw i.error||n.error}return super.parseSubscripts(e,t,s)}parseSubscript(e,t,s,r){if(this.match(18)&&this.isLookaheadToken_lt()){if(r.optionalChainMember=!0,s)return r.stop=!0,e;this.next();const i=this.startNodeAt(t);return i.callee=e,i.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),i.arguments=this.parseCallExpressionArguments(11,!1),i.optional=!0,this.finishCallExpression(i,!0)}if(!s&&this.shouldParseTypes()&&this.match(47)){const s=this.startNodeAt(t);s.callee=e;const i=this.tryParse((()=>(s.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),s.arguments=super.parseCallExpressionArguments(11,!1),r.optionalChainMember&&(s.optional=!1),this.finishCallExpression(s,r.optionalChainMember))));if(i.node)return i.error&&(this.state=i.failState),i.node}return super.parseSubscript(e,t,s,r)}parseNewCallee(e){super.parseNewCallee(e);let t=null;this.shouldParseTypes()&&this.match(47)&&(t=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node),e.typeArguments=t}parseAsyncArrowWithTypeParameters(e){const t=this.startNodeAt(e);if(this.parseFunctionParams(t,!1),this.parseArrow(t))return super.parseArrowExpression(t,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(pt.UnterminatedFlowComment,this.state.curPosition()),s}skipBlockComment(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/");{if(this.state.hasFlowComment)throw this.raise(pt.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();const e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0)}}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(x.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(pt.EnumBooleanMemberNotInitialized,e,{memberName:s,enumName:t})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(t.explicitType?"symbol"===t.explicitType?pt.EnumInvalidMemberInitializerSymbolType:pt.EnumInvalidMemberInitializerPrimaryType:pt.EnumInvalidMemberInitializerUnknownType,e,t)}flowEnumErrorNumberMemberNotInitialized(e,t){this.raise(pt.EnumNumberMemberNotInitialized,e,t)}flowEnumErrorStringMemberInconsistentlyInitialized(e,t){this.raise(pt.EnumStringMemberInconsistentlyInitialized,e,t)}flowEnumMemberInit(){const e=this.state.startLoc,t=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{const s=this.parseNumericLiteral(this.state.value);return t()?{type:"number",loc:s.loc.start,value:s}:{type:"invalid",loc:e}}case 133:{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(pt.EnumInvalidMemberName,a,{memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:e}),s.has(c)&&this.raise(pt.EnumDuplicateMemberName,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.flowEnumErrorStringMemberInconsistentlyInitialized(t,{enumName:s});return t}for(const e of t)this.flowEnumErrorStringMemberInconsistentlyInitialized(e,{enumName:s});return e}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(102))return null;if(!z(this.state.type))throw this.raise(pt.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:e});const{value:t}=this.state;return this.next(),"boolean"!==t&&"number"!==t&&"string"!==t&&"symbol"!==t&&this.raise(pt.EnumInvalidExplicitType,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(pt.EnumInconsistentMemberValues,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{constructor(...e){super(...e),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:wt.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:wt.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:wt.InvalidModifierOnTypeParameter})}getScopeHandler(){return bt}tsIsIdentifier(){return z(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(138)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!z(this.state.type)&&58!==this.state.type&&75!==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({allowedModifiers:e,disallowedModifiers:t,stopOnStartOfClassStaticBlock:s,errorTemplate:r=wt.InvalidModifierOnTypeMember},i){const n=(e,t,s,r)=>{t===s&&i[r]&&this.raise(wt.InvalidModifiersOrder,e,{orderedModifiers:[s,r]})},a=(e,t,s,r)=>{(i[s]&&t===r||i[r]&&t===s)&&this.raise(wt.IncompatibleModifiers,e,{modifiers:[s,r]})};for(;;){const{startLoc:o}=this.state,c=this.tsParseModifier(e.concat(null!=t?t:[]),s);if(!c)break;Dt(c)?i.accessibility?this.raise(wt.DuplicateAccessibilityModifier,o,{modifier:c}):(n(o,c,c,"override"),n(o,c,c,"static"),n(o,c,c,"readonly"),i.accessibility=c):Tt(c)?(i[c]&&this.raise(wt.DuplicateModifier,o,{modifier:c}),i[c]=!0,n(o,c,"in","out")):(hasOwnProperty.call(i,c)?this.raise(wt.DuplicateModifier,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")),i[c]=!0),null!=t&&t.includes(c)&&this.raise(r,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)}}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.lastTokStartLoc.index}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(133)||this.raise(wt.UnsupportedImportTypeArgument,this.state.startLoc),e.argument=super.parseExprAtom(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(e.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(e.options=super.parseMaybeAssignAllowIn(),this.eat(12))),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")}tsParseTypeParameter(e){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(142)?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(wt.EmptyTypeParameters,t),-1!==s.value&&this.addExtra(t,"trailingComma",s.value),this.finishNode(t,"TSTypeParameterDeclaration")}tsFillSignature(e,t){const s=19===e,r="typeAnnotation";t.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),t.parameters=this.tsParseBindingListForSignature(),(s||this.match(e))&&(t[r]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){const e=super.parseBindingList(11,41,2);for(const t of e){const{type:e}=t;"AssignmentPattern"!==e&&"TSParameterProperty"!==e||this.raise(wt.UnsupportedSignatureParameterKind,t,{type:e})}return 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);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(wt.ReadonlyForMethodSignature,e);const r=s;r.kind&&this.match(47)&&this.raise(wt.AccesorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,r),this.tsParseTypeMemberSemicolon();const i="parameters",n="typeAnnotation";if("get"===r.kind)r[i].length>0&&(this.raise(x.BadGetterArity,this.state.curPosition()),this.isThisParam(r[i][0])&&this.raise(wt.AccesorCannotDeclareThisParameter,this.state.curPosition()));else if("set"===r.kind){if(1!==r[i].length)this.raise(x.BadSetterArity,this.state.curPosition());else{const e=r[i][0];this.isThisParam(e)&&this.raise(wt.AccesorCannotDeclareThisParameter,this.state.curPosition()),"Identifier"===e.type&&e.optional&&this.raise(wt.SetAccesorCannotHaveOptionalParameter,this.state.curPosition()),"RestElement"===e.type&&this.raise(wt.SetAccesorCannotHaveRestParameter,this.state.curPosition())}r[n]&&this.raise(wt.SetAccesorCannotHaveReturnType,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({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e);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(122):(this.isContextual(122)&&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(122)):this.eatContextual(122)&&(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;return e.elementTypes.forEach((e=>{const{type:s}=e;!t||"TSRestType"===s||"TSOptionalType"===s||"TSNamedTupleMember"===s&&e.optional||this.raise(wt.OptionalTypeBeforeRequired,e),t||(t="TSNamedTupleMember"===s&&e.optional||"TSOptionalType"===s)})),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{startLoc:e}=this.state,t=this.eat(21);let s,r,i,n;const a=H(this.state.type)?this.lookaheadCharCode():null;if(58===a)s=!0,i=!1,r=this.parseIdentifier(!0),this.expect(14),n=this.tsParseType();else if(63===a){i=!0;const e=this.state.startLoc,t=this.state.value,a=this.tsParseNonArrayType();58===this.lookaheadCharCode()?(s=!0,r=this.createIdentifier(this.startNodeAt(e),t),this.expect(17),this.expect(14),n=this.tsParseType()):(s=!1,n=a,this.expect(17))}else n=this.tsParseType(),i=this.eat(17),s=this.eat(14);if(s){let e;r?(e=this.startNodeAtNode(r),e.optional=i,e.label=r,e.elementType=n,this.eat(17)&&(e.optional=!0,this.raise(wt.TupleOptionalAfterType,this.state.lastTokStartLoc))):(e=this.startNodeAtNode(n),e.optional=i,this.raise(wt.InvalidTupleMemberLabel,n),e.label=n,e.elementType=this.tsParseType()),n=this.finishNode(e,"TSNamedTupleMember")}else if(i){const e=this.startNodeAtNode(n);e.typeAnnotation=n,n=this.finishNode(e,"TSOptionalType")}if(t){const t=this.startNodeAt(e);t.typeAnnotation=n,n=this.finishNode(t,"TSRestType")}return n}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();switch(this.state.type){case 134:case 135:case 133:case 85:case 86:e.literal=super.parseExprAtom();break;default:this.unexpected()}return 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(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 133:case 134:case 135:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if("-"===this.state.value){const e=this.startNode(),t=this.lookahead();return 134!==t.type&&135!==t.type&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{const{type:e}=this.state;if(z(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()}}}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(wt.UnexpectedReadonly,e)}}tsParseInferType(){const e=this.startNode();this.expectContextual(115);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>=121&&e<=123}(this.state.type)&&!this.state.containsEsc;return e?this.tsParseTypeOperator():this.isContextual(115)?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(z(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,1),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(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(109!==this.state.type)return!1;const e=this.state.containsEsc;return this.next(),!(!z(this.state.type)&&!this.match(78))&&(e&&this.raise(x.InvalidEscapedReservedWord,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(){At(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(124)&&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(wt.ReservedTypeAssertion,this.state.startLoc);const e=this.startNode();return e.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType()))),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){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(wt.EmptyHeritageClauseType,t,{token:e}),s}tsParseInterfaceDeclaration(e,t={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),t.declare&&(e.declare=!0),z(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(wt.MissingInterfaceName,this.state.startLoc)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),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),this.expect(29),this.isContextual(114)&&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){if(this.match(e))return this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsInType((()=>(this.expect(e),this.tsParseType())))}tsNextThenParseType(){return this.tsInType((()=>(this.next(),this.tsParseType())))}tsParseEnumMember(){const e=this.startNode();return e.id=this.match(133)?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(126),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?8971:8459),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(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(112)?(e.global=!0,e.id=this.parseIdentifier()):this.match(133)?e.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t,s){e.isExport=s||!1,e.id=t||this.parseIdentifier(),this.checkIdentifier(e.id,4096),this.expect(29);const r=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==r.type&&this.raise(wt.ImportAliasHasImportType,r),e.moduleReference=r,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&40===this.lookaheadCharCode()}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const e=this.startNode();return this.expectContextual(119),this.expect(10),this.match(133)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,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();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(100)&&(s=74,t="let"),this.tsInAmbientContext((()=>{switch(s){case 68:return e.declare=!0,super.parseFunctionStatement(e,!1,!1);case 80:return e.declare=!0,this.parseClass(e,!0,!1);case 126:return this.tsParseEnumDeclaration(e,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(e);case 75:case 74: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));case 129:{const t=this.tsParseInterfaceDeclaration(e,{declare:!0});if(t)return t}default:if(z(s))return this.tsParseDeclaration(e,this.state.value,!0,null)}}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(e,t,s){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);return t&&(t.declare=!0),t}case"global":if(this.match(5)){this.scope.enter(256),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,s)}}tsParseDeclaration(e,t,s,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(s)&&(this.match(80)||z(this.state.type)))return this.tsParseAbstractDeclaration(e,r);break;case"module":if(this.tsCheckLineTerminator(s)){if(this.match(133))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){if(!this.match(47))return;const t=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const s=this.tsTryParseAndCatch((()=>{const t=this.startNodeAt(e);return t.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(t),t.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),t}));return this.state.maybeInArrowParameters=t,s?super.parseArrowExpression(s,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(wt.EmptyTypeArguments,e):this.state.inType||this.curContext()!==A.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return function(e){return e>=124&&e<=130}(this.state.type)}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const s=this.state.startLoc,r={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},r);const i=r.accessibility,n=r.override,a=r.readonly;4&e||!(i||a||n)||this.raise(wt.UnexpectedParameterModifier,s);const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o,e);const c=this.parseMaybeDefault(o.loc.start,o);if(i||a||n){const e=this.startNodeAt(s);return t.length&&(e.decorators=t),i&&(e.accessibility=i),a&&(e.readonly=a),n&&(e.override=n),"Identifier"!==c.type&&"AssignmentPattern"!==c.type&&this.raise(wt.UnsupportedParameterPropertyKind,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)}tsDisallowOptionalPattern(e){for(const t of e.params)"Identifier"!==t.type&&t.optional&&!this.state.isAmbientContext&&this.raise(wt.PatternIsOptional,t)}setArrowFunctionParameters(e,t,s){super.setArrowFunctionParameters(e,t,s),this.tsDisallowOptionalPattern(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(wt.DeclareFunctionHasImplementation,e),e.declare)?super.parseFunctionBodyAndFinish(e,r,s):(this.tsDisallowOptionalPattern(e),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(wt.UnexpectedTypeAnnotation,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){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const s=this.startNodeAt(t);return s.expression=e,this.finishNode(s,"TSNonNullExpression")}let i=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(s)return r.stop=!0,e;r.optionalChainMember=i=!0,this.next()}if(this.match(47)||this.match(51)){let n;const a=this.tsTryParseAndCatch((()=>{if(!s&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t);if(e)return e}const a=this.tsParseTypeArgumentsInExpression();if(!a)return;if(i&&!this.match(10))return void(n=this.state.curPosition());if(Z(this.state.type)){const s=super.parseTaggedTemplateExpression(e,t,r);return s.typeParameters=a,s}if(!s&&this.eat(10)){const s=this.startNodeAt(t);return s.callee=e,s.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(s.arguments),s.typeParameters=a,r.optionalChainMember&&(s.optional=i),this.finishCallExpression(s,r.optionalChainMember)}const o=this.state.type;if(48===o||52===o||10!==o&&G(o)&&!this.hasPrecedingLineBreak())return;const c=this.startNodeAt(t);return c.expression=e,c.typeParameters=a,this.finishNode(c,"TSInstantiationExpression")}));if(n&&this.unexpected(n,10),a)return"TSInstantiationExpression"===a.type&&(this.match(16)||this.match(18)&&40!==this.lookaheadCharCode())&&this.raise(wt.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),a}return super.parseSubscript(e,t,s,r)}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){let r;if(Y(58)>s&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(r=this.isContextual(120)))){const i=this.startNodeAt(t);return i.expression=e,i.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?(r&&this.raise(x.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType()))),this.finishNode(i,r?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(i,t,s)}return super.parseExprOp(e,t,s)}checkReservedWord(e,t,s,r){this.state.isAmbientContext||super.checkReservedWord(e,t,s,r)}checkImportReflection(e){super.checkImportReflection(e),e.module&&"value"!==e.importKind&&this.raise(wt.ImportReflectionHasImportType,e.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){const t=this.lookaheadCharCode();return e?123===t||42===t:61!==t}return!e&&this.isContextual(87)}applyImportPhase(e,t,s,r){super.applyImportPhase(e,t,s,r),t?e.exportKind="type"===s?"type":"value":e.importKind="type"===s||"typeof"===s?s:"value"}parseImport(e){if(this.match(133))return e.importKind="value",super.parseImport(e);let t;if(z(this.state.type)&&61===this.lookaheadCharCode())return e.importKind="value",this.tsParseImportEqualsDeclaration(e);if(this.isContextual(130)){const s=this.parseMaybeImportPhase(e,!1);if(61===this.lookaheadCharCode())return this.tsParseImportEqualsDeclaration(e,s);t=super.parseImportSpecifiersAndAfter(e,s)}else t=super.parseImport(e);return"type"===t.importKind&&t.specifiers.length>1&&"ImportDefaultSpecifier"===t.specifiers[0].type&&this.raise(wt.TypeImportCannotSpecifyDefaultAndNamed,t),t}parseExport(e,t){if(this.match(83)){this.next();let t=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?t=this.parseMaybeImportPhase(e,!1):e.importKind="value",this.tsParseImportEqualsDeclaration(e,t,!0)}if(this.eat(29)){const t=e;return t.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(t,"TSExportAssignment")}if(this.eatContextual(93)){const t=e;return this.expectContextual(128),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,"TSNamespaceExportDeclaration")}return super.parseExport(e,t)}isAbstractClass(){return this.isContextual(124)&&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(129)){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(wt.InitializerNotAllowedInAmbientContext,s):Pt(s,this.hasPlugin("estree"))||this.raise(wt.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,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(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){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=>Dt(t)?e.accessibility===t:!!e[t]))}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&123===this.lookaheadCharCode()}parseClassMember(e,t,s){const r=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:r,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:wt.InvalidModifierOnTypeParameterPositions},t);const i=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,r)&&this.raise(wt.StaticBlockCannotHaveModifier,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(wt.IndexSignatureHasAbstract,t),t.accessibility&&this.raise(wt.IndexSignatureHasAccessibility,t,{modifier:t.accessibility}),t.declare&&this.raise(wt.IndexSignatureHasDeclare,t),void(t.override&&this.raise(wt.IndexSignatureHasOverride,t));!this.state.inAbstractClass&&t.abstract&&this.raise(wt.NonAbstractClassHasAbstractMethod,t),t.override&&(s.hadSuperClass||this.raise(wt.OverrideNotInSubClass,t)),super.parseClassMemberWithIsStatic(e,t,s,r)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(wt.ClassMethodHasReadonly,e),e.declare&&this.match(10)&&this.raise(wt.ClassMethodHasDeclare,e)}parseExpressionStatement(e,t,s){return("Identifier"===t.type?this.tsParseExpressionStatement(e,t,s):void 0)||super.parseExpressionStatement(e,t,s)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(e,t,s){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,t,s);const r=this.tryParse((()=>super.parseConditional(e,t)));return r.node?(r.error&&(this.state=r.failState),r.node):(r.error&&super.setOptionalParametersError(s,r.error),e)}parseParenItem(e,t){if(e=super.parseParenItem(e,t),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){const s=this.startNodeAt(t);return s.expression=e,s.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(s,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext((()=>this.parseExportDeclaration(e)));const t=this.state.startLoc,s=this.eatContextual(125);if(s&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(wt.ExpectedAmbientAfterExportDeclare,this.state.startLoc);const r=z(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return r?(("TSInterfaceDeclaration"===r.type||"TSTypeAliasDeclaration"===r.type||s)&&(e.exportKind="type"),s&&(this.resetStartLocation(r,t),r.declare=!0),r):null}parseClassId(e,t,s,r){if((!t||s)&&this.isContextual(113))return;super.parseClassId(e,t,s,e.declare?1024:8331);const i=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);i&&(e.typeParameters=i)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));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(wt.DeclareClassFieldHasInitializer,this.state.startLoc),e.abstract&&this.match(29)){const{key:t}=e;this.raise(wt.AbstractPropertyHasInitializer,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(wt.PrivateElementHasAbstract,e),e.accessibility&&this.raise(wt.PrivateElementHasAccessibility,e,{modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(wt.AccessorCannotBeOptional,e),super.parseClassAccessorProperty(e)}pushClassMethod(e,t,s,r,i,n){const a=this.tsTryParseTypeParameters(this.tsParseConstModifier);a&&i&&this.raise(wt.ConstructorHasTypeParameters,a);const{declare:o=!1,kind:c}=t;!o||"get"!==c&&"set"!==c||this.raise(wt.DeclareAccessor,t,{kind:c}),a&&(t.typeParameters=a),super.pushClassMethod(e,t,s,r,i,n)}pushClassPrivateMethod(e,t,s,r){const i=this.tsTryParseTypeParameters(this.tsParseConstModifier);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(113)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,t,s,r,i,n,a){const o=this.tsTryParseTypeParameters(this.tsParseConstModifier);return o&&(e.typeParameters=o),super.parseObjPropValue(e,t,s,r,i,n,a)}parseFunctionParams(e,t){const s=this.tsTryParseTypeParameters(this.tsParseConstModifier);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;let o,c,u,l;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(o=this.state.clone(),c=this.tryParse((()=>super.parseMaybeAssign(e,t)),o),!c.error)return c.node;const{context:s}=this.state,r=s[s.length-1];r!==A.j_oTag&&r!==A.j_expr||s.pop()}if(!(null!=(s=c)&&s.error||this.match(47)))return super.parseMaybeAssign(e,t);o&&o!==this.state||(o=this.state.clone());const p=this.tryParse((s=>{var r,i;l=this.tsParseTypeParameters(this.tsParseConstModifier);const n=super.parseMaybeAssign(e,t);return("ArrowFunctionExpression"!==n.type||null!=(r=n.extra)&&r.parenthesized)&&s(),0!==(null==(i=l)?void 0:i.params.length)&&this.resetStartLocationFromNode(n,l),n.typeParameters=l,n}),o);if(!p.error&&!p.aborted)return l&&this.reportReservedArrowTypeParam(l),p.node;if(!c&&(At(!this.hasPlugin("jsx")),u=this.tryParse((()=>super.parseMaybeAssign(e,t)),o),!u.error))return u.node;if(null!=(r=c)&&r.node)return this.state=c.failState,c.node;if(p.node)return this.state=p.failState,l&&this.reportReservedArrowTypeParam(l),p.node;if(null!=(i=u)&&i.node)return this.state=u.failState,u.node;throw(null==(n=c)?void 0:n.error)||p.error||(null==(a=u)?void 0:a.error)}reportReservedArrowTypeParam(e){var t;1!==e.params.length||e.params[0].constraint||null!=(t=e.extra)&&t.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(wt.ReservedArrowTypeParam,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,t){if(!(2&t))return e;this.eat(17)&&(e.optional=!0);const s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s),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"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":t?this.expressionScope.recordArrowParameterBindingError(wt.UnexpectedTypeCastInParameter,e):this.raise(wt.UnexpectedTypeCastInParameter,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"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,t);break;default:super.toAssignable(e,t)}}checkToRestConversion(e,t){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,s){return((e,t)=>hasOwnProperty.call(e,t)&&e[t])({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(64!==s||!t)&&["expression",!0],TSSatisfiesExpression:(64!==s||!t)&&["expression",!0],TSTypeAssertion:(64!==s||!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){const s=super.parseMaybeDefault(e,t);return"AssignmentPattern"===s.type&&s.typeAnnotation&&s.right.start<s.typeAnnotation.start&&this.raise(wt.TypeAnnotationAfterAssign,s.typeAnnotation),s}getTokenFromCode(e){if(this.state.inType){if(62===e)return void this.finishOp(48,1);if(60===e)return void this.finishOp(47,1)}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,t){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(t,this.parseClass(e,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(wt.NonClassMethodPropertyHasAbstractModifer,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(wt.AbstractMethodHasImplementation,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,i){return!t&&r?(this.parseTypeOnlyImportExportSpecifier(e,!0,s),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,t,s,r,s?4098:4096))}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();H(this.state.type)?(o=!0,a=e,n=t?this.parseIdentifier():this.parseModuleExportName(),c=!1):(n=s,c=!1)}else H(this.state.type)?(c=!1,n=t?this.parseIdentifier():this.parseModuleExportName()):(o=!0,a=e)}else H(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?wt.TypeModifierIsUsedInTypeImports:wt.TypeModifierIsUsedInTypeExports,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]=ot(e[r])),t&&this.checkIdentifier(e[i],o?4098:4096)}},v8intrinsic:e=>class extends e{parseV8Intrinsic(){if(this.match(54)){const e=this.state.startLoc,t=this.startNode();if(this.next(),z(this.state.type)){const e=this.parseIdentifierName(),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(144)){const t=this.startNode();return this.next(),this.assertNoSpace(),t.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),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){37===e&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(144,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)}chStartsBindingIdentifier(e,t){if(super.chStartsBindingIdentifier(e,t))return!0;return 144===this.lookahead().type}verifyBreakContinue(e,t){e.label&&"Placeholder"===e.label.type||super.verifyBreakContinue(e,t)}parseExpressionStatement(e,t){var s;if("Placeholder"!==t.type||null!=(s=t.extra)&&s.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.parseStatementOrSloppyAnnexBFunctionDeclaration(),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();const i=this.state.strict,n=this.parsePlaceholder("Identifier");if(n){if(!(this.match(81)||this.match(144)||this.match(5))){if(s||!t)return e.id=null,e.body=this.finishPlaceholder(n,"ClassBody"),this.finishNode(e,r);throw this.raise(It.ClassNameIsRequired,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,t){const s=this.parsePlaceholder("Identifier");if(!s)return super.parseExport(e,t);if(!this.isContextual(98)&&!this.match(12))return e.specifiers=[],e.source=null,e.declaration=this.finishPlaceholder(s,"Declaration"),this.finishNode(e,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const r=this.startNode();return r.exported=s,e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],super.parseExport(e,t)}isExportDefaultSpecifier(){if(this.match(65)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(K(144),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e,t){var s;return!(null==(s=e.specifiers)||!s.length)||super.maybeParseExportDefaultSpecifier(e,t)}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(98)&&!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(98),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(It.UnexpectedSpace,this.state.lastTokEndLoc)}}},Mt=Object.keys(jt),Rt={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};class Ut extends Ct{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(x.RecordNoProto,i);s.used&&(r?null===r.doubleProtoLoc&&(r.doubleProtoLoc=i.loc.start):this.raise(x.DuplicateProto,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(139)||this.unexpected(),this.finalizeRemainingComments(),e.comments=this.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.startLoc,s=this.parseMaybeAssign(e);if(this.match(12)){const r=this.startNodeAt(t);for(r.expressions=[s];this.eat(12);)r.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(r.expressions),this.finishNode(r,"SequenceExpression")}return s}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.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let e=this.parseYield();return t&&(e=t.call(this,e,s)),e}let r;e?r=!1:(e=new it,r=!0);const{type:i}=this.state;(10===i||z(i))&&(this.state.potentialArrowAt=this.state.start);let n=this.parseMaybeConditional(e);if(t&&(n=t.call(this,n,s)),function(e){return e>=29&&e<=33}(this.state.type)){const t=this.startNodeAt(s),r=this.state.value;if(t.operator=r,this.match(29)){this.toAssignable(n,!0),t.left=n;const r=s.index;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)}else t.left=n;return this.next(),t.right=this.parseMaybeAssign(),this.checkLVal(n,{in:this.finishNode(t,"AssignmentExpression")}),t}return r&&this.checkExpressionErrors(e,!0),n}parseMaybeConditional(e){const t=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseExprOps(e);return this.shouldExitDescending(r,s)?r:this.parseConditional(r,t,e)}parseConditional(e,t,s){if(this.eat(17)){const s=this.startNodeAt(t);return s.test=e,s.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),s.alternate=this.parseMaybeAssign(),this.finishNode(s,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){const t=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(r,s)?r:this.parseExprOp(r,t,-1)}parseExprOp(e,t,s){if(this.isPrivateName(e)){const t=this.getPrivateNameSV(e);(s>=Y(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(x.PrivateInExpectedIn,e,{identifierName:t}),this.classScope.usePrivateName(t,e.loc.start)}const r=this.state.type;if(function(e){return e>=39&&e<=59}(r)&&(this.prodParam.hasIn||!this.match(58))){let i=Y(r);if(i>s){if(39===r){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,t)}const n=this.startNodeAt(t);n.left=e,n.operator=this.state.value;const a=41===r||42===r,o=40===r;if(o&&(i=Y(42)),this.next(),39===r&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(x.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);n.right=this.parseExprOpRightExpr(r,i);const c=this.finishNode(n,a||o?"LogicalExpression":"BinaryExpression"),u=this.state.type;if(o&&(41===u||42===u)||a&&40===u)throw this.raise(x.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(c,t,s)}}return e}parseExprOpRightExpr(e,t){const s=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(108))throw this.raise(x.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),s)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(t)))}return this.parseExprOpBaseRightExpr(e,t)}parseExprOpBaseRightExpr(e,t){const s=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,function(e){return 57===e}(e)?t-1:t)}parseHackPipeBody(){var e;const{startLoc:t}=this.state,s=this.parseMaybeAssign();return!p.has(s.type)||null!=(e=s.extra)&&e.parenthesized||this.raise(x.PipeUnparenthesizedBody,t,{type:s.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(x.PipeTopicUnused,t),s}checkExponentialAfterUnary(e){this.match(57)&&this.raise(x.UnexpectedTokenUnaryExponentiation,e.argument)}parseMaybeUnary(e,t){const s=this.state.startLoc,r=this.isContextual(96);if(r&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(s);return t||this.checkExponentialAfterUnary(e),e}const i=this.match(34),n=this.startNode();if(function(e){return R[e]}(this.state.type)){n.operator=this.state.value,n.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const s=this.match(89);if(this.next(),n.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&s){const e=n.argument;"Identifier"===e.type?this.raise(x.StrictDelete,n):this.hasPropertyAsPrivateName(e)&&this.raise(x.DeletePrivateField,n)}if(!i)return t||this.checkExponentialAfterUnary(n),this.finishNode(n,"UnaryExpression")}const a=this.parseUpdate(n,i,e);if(r){const{type:e}=this.state;if((this.hasPlugin("v8intrinsic")?G(e):G(e)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(x.AwaitNotInAsyncContext,s),this.parseAwait(s)}return a}parseUpdate(e,t,s){if(t){const t=e;return this.checkLVal(t.argument,{in:this.finishNode(t,"UpdateExpression")}),e}const r=this.state.startLoc;let i=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,!1))return i;for(;X(this.state.type)&&!this.canInsertSemicolon();){const e=this.startNodeAt(r);e.operator=this.state.value,e.prefix=!1,e.argument=i,this.next(),this.checkLVal(i,{in:i=this.finishNode(e,"UpdateExpression")})}return i}parseExprSubscripts(e){const t=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseExprAtom(e);return this.shouldExitDescending(r,s)?r:this.parseSubscripts(r,t)}parseSubscripts(e,t,s){const r={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,s,r),r.maybeAsyncArrow=!1}while(!r.stop);return e}parseSubscript(e,t,s,r){const{type:i}=this.state;if(!s&&15===i)return this.parseBind(e,t,s,r);if(Z(i))return this.parseTaggedTemplateExpression(e,t,r);let n=!1;if(18===i){if(s&&(this.raise(x.OptionalChainingNoNew,this.state.startLoc),40===this.lookaheadCharCode()))return r.stop=!0,e;r.optionalChainMember=n=!0,this.next()}if(!s&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,r,n);{const s=this.eat(0);return s||n||this.eat(16)?this.parseMember(e,t,r,s,n):(r.stop=!0,e)}}parseMember(e,t,s,r,i){const n=this.startNodeAt(t);return n.object=e,n.computed=r,r?(n.property=this.parseExpression(),this.expect(3)):this.match(138)?("Super"===e.type&&this.raise(x.SuperPrivateField,t),this.classScope.usePrivateName(this.state.value,this.state.startLoc),n.property=this.parsePrivateName()):n.property=this.parseIdentifier(!0),s.optionalChainMember?(n.optional=i,this.finishNode(n,"OptionalMemberExpression")):this.finishNode(n,"MemberExpression")}parseBind(e,t,s,r){const i=this.startNodeAt(t);return i.object=e,this.next(),i.callee=this.parseNoCallExpr(),r.stop=!0,this.parseSubscripts(this.finishNode(i,"BindExpression"),t,s)}parseCoverCallAndAsyncArrowHead(e,t,s,r){const i=this.state.maybeInArrowParameters;let n=null;this.state.maybeInArrowParameters=!0,this.next();const a=this.startNodeAt(t);a.callee=e;const{maybeAsyncArrow:o,optionalChainMember:c}=s;o&&(this.expressionScope.enter(new Ze(2)),n=new it),c&&(a.optional=r),a.arguments=r?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Import"===e.type,"Super"!==e.type,a,n);let u=this.finishCallExpression(a,c);return o&&this.shouldParseAsyncArrow()&&!r?(s.stop=!0,this.checkDestructuringPrivate(n),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),u=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),u)):(o&&(this.checkExpressionErrors(n,!0),this.expressionScope.exit()),this.toReferencedArguments(u)),this.state.maybeInArrowParameters=i,u}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,s){const r=this.startNodeAt(t);return r.tag=e,r.quasi=this.parseTemplate(!0),s.optionalChainMember&&this.raise(x.OptionalChainingNoTemplate,t),this.finishNode(r,"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}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(e,t){if("Import"===e.callee.type)if(2===e.arguments.length&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),0===e.arguments.length||e.arguments.length>2)this.raise(x.ImportCallArity,e,{maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(const t of e.arguments)"SpreadElement"===t.type&&this.raise(x.ImportCallSpreadArgument,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("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")||this.raise(x.ImportCallArgumentTrailingComma,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&&De(e,t.innerComments),t.callee.trailingComments&&De(e,t.callee.trailingComments),e}parseNoCallExpr(){const e=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,!0)}parseExprAtom(e){let t,s=null;const{type:r}=this.state;switch(r){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):this.match(10)?this.options.createImportExpressions?this.parseImportCall(t):this.finishNode(t,"Import"):(this.raise(x.UnsupportedImport,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 134:return this.parseNumericLiteral(this.state.value);case 135:return this.parseBigIntLiteral(this.state.value);case 136:return this.parseDecimalLiteral(this.state.value);case 133: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:s=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(s,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;const e=t.callee=this.parseNoCallExpr();if("MemberExpression"===e.type)return this.finishNode(t,"BindExpression");throw this.raise(x.UnsupportedBind,e)}case 138:return this.raise(x.PrivateInExpectedIn,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);this.unexpected();break}case 47:{const e=this.input.codePointAt(this.nextTokenStart());oe(e)||62===e?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(z(r)){if(this.isContextual(127)&&123===this.lookaheadInLineCharCode())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.parseAsyncFunctionExpression(this.startNodeAtNode(s));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}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);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?x.PrimaryTopicNotAllowed:x.PipeTopicUnbound,t),this.registerTopicReference(),this.finishNode(e,r)}throw this.raise(x.PipeTopicUnconfiguredToken,t,{token:K(r)})}testTopicReferenceConfiguration(e,t,s){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:K(s)}]);case"smart":return 27===s;default:throw this.raise(x.PipeTopicRequiresHackPipes,t)}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(st(!0,this.prodParam.hasYield));const t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(x.LineTerminatorBeforeArrow,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(x.UnexpectedSuper,e):this.raise(x.SuperNotAllowed,e),this.match(10)||this.match(0)||this.match(16)||this.raise(x.UnsupportedSuper,e),this.finishNode(e,"Super")}parsePrivateName(){const e=this.startNode(),t=this.startNodeAt(n(this.state.startLoc,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(103)?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(x.UnsupportedMetaProperty,e.property,{target:t.name,onlyValidPropertyName:s}),this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(x.ImportMetaOutsideModule,t),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){const t=this.isContextual(105);if(t||this.unexpected(),this.expectPlugin(t?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(x.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),e.phase=t?"source":"defer",this.parseImportCall(e)}return 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.startLoc;let s;this.next(),this.expressionScope.enter(new Ze(1));const r=this.state.maybeInArrowParameters,i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const n=this.state.startLoc,a=[],o=new it;let c,u,l=!0;for(;!this.match(11);){if(l)l=!1;else if(this.expect(12,null===o.optionalParametersLoc?null:o.optionalParametersLoc),this.match(11)){u=this.state.startLoc;break}if(this.match(21)){const e=this.state.startLoc;if(c=this.state.startLoc,a.push(this.parseParenItem(this.parseRestBinding(),e)),!this.checkCommaAfterRest(41))break}else a.push(this.parseMaybeAssignAllowIn(o,this.parseParenItem))}const p=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=r,this.state.inFSharpPipelineDirectBody=i;let h=this.startNodeAt(t);return e&&this.shouldParseArrow(a)&&(h=this.parseArrow(h))?(this.checkDestructuringPrivate(o),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(h,a,!1),h):(this.expressionScope.exit(),a.length||this.unexpected(this.state.lastTokStartLoc),u&&this.unexpected(u),c&&this.unexpected(c),this.checkExpressionErrors(o,!0),this.toReferencedListDeep(a,!0),a.length>1?(s=this.startNodeAt(n),s.expressions=a,this.finishNode(s,"SequenceExpression"),this.resetEndLocation(s,p)):s=a[0],this.wrapParenthesis(t,s))}wrapParenthesis(e,t){if(!this.options.createParenthesizedExpressions)return this.addExtra(t,"parenthesized",!0),this.addExtra(t,"parenStart",e.index),this.takeSurroundingComments(t,e.index,this.state.lastTokEndLoc.index),t;const s=this.startNodeAt(e);return s.expression=t,this.finishNode(s,"ParenthesizedExpression")}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t){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.options.allowNewTargetOutsideFunction||this.raise(x.UnexpectedNewTarget,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){const t=this.match(83),s=this.parseNoCallExpr();e.callee=s,!t||"Import"!==s.type&&"ImportExpression"!==s.type||this.raise(x.ImportCallNotNewExpression,s)}parseTemplateElement(e){const{start:t,startLoc:s,end:r,value:i}=this.state,a=t+1,o=this.startNodeAt(n(s,1));null===i&&(e||this.raise(x.InvalidEscapeSequenceTemplate,n(this.state.firstInvalidTemplateEscapePos,1)));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(x.InvalidRecordProperty,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.lastTokStartLoc.index),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(x.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)t.push(this.parseDecorator());const s=this.startNode();let r,i=!1,n=!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.startLoc);let a=this.eat(55);this.parsePropertyNamePrefixOperator(s);const o=this.state.containsEsc,c=this.parsePropertyName(s,e);if(!a&&!o&&this.maybeAsyncOrAccessorProp(s)){const e=c.name;"async"!==e||this.hasPrecedingLineBreak()||(i=!0,this.resetPreviousNodeTrailingComments(c),a=this.eat(55),this.parsePropertyName(s)),"get"!==e&&"set"!==e||(n=!0,this.resetPreviousNodeTrailingComments(c),s.kind=e,this.match(55)&&(a=!0,this.raise(x.AccessorIsGenerator,this.state.curPosition(),{kind:e}),this.next()),this.parsePropertyName(s))}return this.parseObjPropValue(s,r,a,i,!1,n,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?x.BadGetterArity:x.BadSetterArity,e),"set"===e.kind&&"RestElement"===(null==(t=r[r.length-1])?void 0:t.type)&&this.raise(x.BadSetterRestParameter,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){if(e.shorthand=!1,this.eat(14))return e.value=s?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(r),this.finishNode(e,"ObjectProperty");if(!e.computed&&"Identifier"===e.key.type){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),s)e.value=this.parseMaybeDefault(t,ot(e.key));else if(this.match(29)){const s=this.state.startLoc;null!=r?null===r.shorthandAssignLoc&&(r.shorthandAssignLoc=s):this.raise(x.InvalidCoverInitializedName,s),e.value=this.parseMaybeDefault(t,ot(e.key))}else e.value=ot(e.key);return e.shorthand=!0,this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,s,r,i,n,a){const o=this.parseObjectMethod(e,s,r,i,n)||this.parseObjectProperty(e,t,i,a);return o||this.unexpected(),o}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(H(s))i=this.parseIdentifier(!0);else switch(s){case 134:i=this.parseNumericLiteral(r);break;case 133:i=this.parseStringLiteral(r);break;case 135:i=this.parseBigIntLiteral(r);break;case 136:i=this.parseDecimalLiteral(r);break;case 138:{const e=this.state.startLoc;null!=t?null===t.privateKeyLoc&&(t.privateKeyLoc=e):this.raise(x.UnexpectedPrivateField,e),i=this.parsePrivateName();break}default:this.unexpected()}e.key=i,138!==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,this.scope.enter(18|(a?64:0)|(i?32:0)),this.prodParam.enter(st(s,e.generator)),this.parseFunctionParams(e,r);const o=this.parseFunctionBodyAndFinish(e,n,!0);return this.prodParam.exit(),this.scope.exit(),o}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=st(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(et()),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(x.IllegalLanguageModeDirective,"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(x.UnexpectedToken,this.state.curPosition(),{unexpected:","}),r=null;else if(this.match(21)){const e=this.state.startLoc;r=this.parseParenItem(this.parseSpread(t),e)}else if(this.match(17)){this.expectPlugin("partialApplication"),s||this.raise(x.UnexpectedArgumentPlaceholder,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(e);return this.createIdentifier(t,s)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}parseIdentifierName(e){let t;const{startLoc:s,type:r}=this.state;H(r)?t=this.state.value:this.unexpected();const i=function(e){return e<=92}(r);return e?i&&this.replaceToken(132):this.checkReservedWord(t,s,i,!1),this.next(),t}checkReservedWord(e,t,s,r){if(e.length>10)return;if(!function(e){return xe.has(e)}(e))return;if(s&&function(e){return pe.has(e)}(e))return void this.raise(x.UnexpectedKeyword,t,{keyword:e});if((this.state.strict?r?ge:me:fe)(e,this.inModule))this.raise(x.UnexpectedReservedWord,t,{reservedWord:e});else if("yield"===e){if(this.prodParam.hasYield)return void this.raise(x.YieldBindingIdentifier,t)}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(x.AwaitBindingIdentifier,t);if(this.scope.inStaticBlock)return void this.raise(x.AwaitBindingIdentifierInStaticBlock,t);this.expressionScope.recordAsyncArrowParametersError(t)}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(x.ArgumentsInClass,t)}isAwaitAllowed(){return!!this.prodParam.hasAwait||!(!this.options.allowAwaitOutsideFunction||this.scope.inFunction)}parseAwait(e){const t=this.startNodeAt(e);return this.expressionScope.recordParameterInitializerError(x.AwaitExpressionFormalParameter,t),this.eat(55)&&this.raise(x.ObsoleteAwaitStar,t),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(t.argument=this.parseMaybeUnary(null,!0)),this.finishNode(t,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;const{type:e}=this.state;return 53===e||10===e||0===e||Z(e)||102===e&&!this.state.containsEsc||137===e||56===e||this.hasPlugin("v8intrinsic")&&54===e}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(x.YieldInParameter,e),this.next();let t=!1,s=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(55),this.state.type){case 13:case 139: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")}parseImportCall(e){return this.next(),e.source=this.parseMaybeAssignAllowIn(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(e.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(e.options=this.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.finishNode(e,"ImportExpression")}checkPipelineAtInfixOperator(e,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===e.type&&this.raise(x.PipelineHeadSequenceExpression,t)}parseSmartPipelineBodyInStyle(e,t){if(this.isSimpleReference(e)){const s=this.startNodeAt(t);return s.callee=e,this.finishNode(s,"PipelineBareFunction")}{const s=this.startNodeAt(t);return this.checkSmartPipeTopicBodyEarlyErrors(t),s.expression=e,this.finishNode(s,"PipelineTopicExpression")}}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19))throw this.raise(x.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(x.PipelineTopicUnused,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.startLoc;this.state.potentialArrowAt=this.state.start;const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const r=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);return this.state.inFSharpPipelineDirectBody=s,r}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const t=this.startNodeAt(this.state.endLoc);this.next();const s=this.initializeScopes(!0);this.enterInitialScopes();try{e.body=this.parseProgram(t,8,"module")}finally{s()}return this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}}const qt={kind:1},$t={kind:2},zt=/[\uD800-\uDFFF]/u,Ht=/in(?:stanceof)?/y;class Vt extends Ut{parseTopLevel(e,t){return e.program=this.parseProgram(t),e.comments=this.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(138===i){const{loc:t,start:i,value:a,end:o}=r,c=i+1,u=n(t.start,1);e.splice(s,1,new We({type:Q(27),value:"#",start:i,end:c,startLoc:t.start,endLoc:u}),new We({type:Q(132),value:a,start:c,end:o,startLoc:u,endLoc:t.end})),s++;continue}if(Z(i)){const{loc:a,start:o,value:c,end:u}=r,l=o+1,p=n(a.start,1);let h,d,f,m,y;h=96===t.charCodeAt(o)?new We({type:Q(22),value:"`",start:o,end:l,startLoc:a.start,endLoc:p}):new We({type:Q(8),value:"}",start:o,end:l,startLoc:a.start,endLoc:p}),24===i?(f=u-1,m=n(a.end,-1),d=null===c?null:c.slice(1,-1),y=new We({type:Q(22),value:"`",start:f,end:u,startLoc:m,endLoc:a.end})):(f=u-2,m=n(a.end,-2),d=null===c?null:c.slice(1,-2),y=new We({type:Q(23),value:"${",start:f,end:u,startLoc:m,endLoc:a.end})),e.splice(s,1,h,new We({type:Q(20),value:d,start:l,end:f,startLoc:p,endLoc:m}),y),s+=2;continue}r.type=Q(i)}}return e}(this.tokens,this.input)),this.finishNode(e,"File")}parseProgram(e,t=139,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(x.ModuleExportUndefined,t,{localName:e});let r;return r=139===t?this.finishNode(e,"Program"):this.finishNodeAt(e,"Program",n(this.state.startLoc,-1)),r}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(){return!!this.isContextual(100)&&this.hasFollowingBindingAtom()}chStartsBindingIdentifier(e,t){if(oe(e)){if(Ht.lastIndex=t,Ht.test(this.input)){const e=this.codePointAtPos(Ht.lastIndex);if(!ce(e)&&92!==e)return!1}return!0}return 92===e}chStartsBindingPattern(e){return 91===e||123===e}hasFollowingBindingAtom(){const e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingPattern(t)||this.chStartsBindingIdentifier(t,e)}hasInLineFollowingBindingIdentifier(){const e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)}startsUsingForOf(){const{type:e,containsEsc:t}=this.lookahead();return!(102===e&&!t)&&(z(e)&&!this.hasFollowingLineBreak()?(this.expectPlugin("explicitResourceManagement"),!0):void 0)}startsAwaitUsing(){let e=this.nextTokenInLineStart();if(this.isUnparsedContextual(e,"using")){e=this.nextTokenInLineStartSince(e+5);const t=this.codePointAtPos(e);if(this.chStartsBindingIdentifier(t,e))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(e=!1){let t=0;return this.options.annexB&&!this.state.strict&&(t|=4,e&&(t|=8)),this.parseStatementLike(t)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(e){let t=null;return this.match(26)&&(t=this.parseDecorators(!0)),this.parseStatementContent(e,t)}parseStatementContent(e,t){const s=this.state.type,r=this.startNode(),i=!!(2&e),n=!!(4&e),a=1&e;switch(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.parseDoWhileStatement(r);case 91:return this.parseForStatement(r);case 68:if(46===this.lookaheadCharCode())break;return n||this.raise(this.state.strict?x.StrictFunction:this.options.annexB?x.SloppyFunctionAnnexB:x.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(r,!1,!i&&n);case 80:return i||this.unexpected(),this.parseClass(this.maybeTakeDecorators(t,r),!0);case 69:return this.parseIfStatement(r);case 70:return this.parseReturnStatement(r);case 71:return this.parseSwitchStatement(r);case 72:return this.parseThrowStatement(r);case 73:return this.parseTryStatement(r);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.isAwaitAllowed()?i||this.raise(x.UnexpectedLexicalDeclaration,r):this.raise(x.AwaitUsingNotInAsyncContext,r),this.next(),this.parseVarStatement(r,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(x.UnexpectedUsingDeclaration,this.state.startLoc):i||this.raise(x.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(r,"using");case 100:{if(this.state.containsEsc)break;const e=this.nextTokenStart(),t=this.codePointAtPos(e);if(91!==t){if(!i&&this.hasFollowingLineBreak())break;if(!this.chStartsBindingIdentifier(t,e)&&123!==t)break}}case 75:i||this.raise(x.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{const e=this.state.value;return this.parseVarStatement(r,e)}case 92:return this.parseWhileStatement(r);case 76:return this.parseWithStatement(r);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(r);case 83:{const e=this.lookaheadCharCode();if(40===e||46===e)break}case 82:{let e;return this.options.allowImportExportEverywhere||a||this.raise(x.UnexpectedImportExport,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,t),("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 i||this.raise(x.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(r,!0,!i&&n)}const o=this.state.value,c=this.parseExpression();return z(s)&&"Identifier"===c.type&&this.eat(14)?this.parseLabeledStatement(r,o,c,e):this.parseExpressionStatement(r,c,t)}assertModuleNodeAllowed(e){this.options.allowImportExportEverywhere||this.inModule||this.raise(x.ImportOutsideModule,e)}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&!1!==this.getPluginOption("decorators","decoratorsBeforeExport")}maybeTakeDecorators(e,t,s){return e&&(t.decorators&&t.decorators.length>0?("boolean"!=typeof this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(x.DecoratorsBeforeAfterExport,t.decorators[0]),t.decorators.unshift(...e)):t.decorators=e,this.resetStartLocationFromNode(t,e[0]),s&&this.resetStartLocationFromNode(s,t)),t}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){const t=[];do{t.push(this.parseDecorator())}while(this.match(26));if(this.match(82))e||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(x.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(x.UnexpectedLeadingDecorator,this.state.startLoc);return t}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const e=this.startNode();if(this.next(),this.hasPlugin("decorators")){const t=this.state.startLoc;let s;if(this.match(10)){const t=this.state.startLoc;this.next(),s=this.parseExpression(),this.expect(11),s=this.wrapParenthesis(t,s);const r=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(s),!1===this.getPluginOption("decorators","allowCallParenthesized")&&e.expression!==s&&this.raise(x.DecoratorArgumentsOutsideParentheses,r)}else{for(s=this.parseIdentifier(!1);this.eat(16);){const e=this.startNodeAt(t);e.object=s,this.match(138)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),e.property=this.parsePrivateName()):e.property=this.parseIdentifier(!0),e.computed=!1,s=this.finishNode(e,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(s)}}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||1===r.kind))break;if(e.label&&t)break}}if(s===this.state.labels.length){const s=t?"BreakStatement":"ContinueStatement";this.raise(x.IllegalBreakContinue,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}parseDoWhileStatement(e){return this.next(),this.state.labels.push(qt),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.state.labels.pop(),this.expect(92),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next(),this.state.labels.push(qt);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(100);{const r=this.isContextual(96)&&this.startsAwaitUsing(),i=r||this.isContextual(107)&&this.startsUsingForOf(),n=s&&this.hasFollowingBindingAtom()||i;if(this.match(74)||this.match(75)||n){const s=this.startNode();let n;r?(n="await using",this.isAwaitAllowed()||this.raise(x.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):n=this.state.value,this.next(),this.parseVar(s,!0,n);const a=this.finishNode(s,"VariableDeclaration"),o=this.match(58);return o&&i&&this.raise(x.ForInUsing,a),(o||this.isContextual(102))&&1===a.declarations.length?this.parseForIn(e,a,t):(null!==t&&this.unexpected(t),this.parseFor(e,a))}}const r=this.isContextual(95),i=new it,n=this.parseExpression(!0,i),a=this.isContextual(102);if(a&&(s&&this.raise(x.ForOfLet,n),null===t&&r&&"Identifier"===n.type&&this.raise(x.ForOfAsync,n)),a||this.match(58)){this.checkDestructuringPrivate(i),this.toAssignable(n,!0);const s=a?"ForOfStatement":"ForInStatement";return this.checkLVal(n,{in:{type:s}}),this.parseForIn(e,n,t)}return this.checkExpressionErrors(i,!0),null!==t&&this.unexpected(t),this.parseFor(e,n)}parseFunctionStatement(e,t,s){return this.next(),this.parseFunction(e,1|(s?2:0)|(t?8:0))}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),e.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(x.IllegalReturn,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($t),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(x.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),e=!0,s.test=null),this.expect(14)}else s?s.consequent.push(this.parseStatementListItem()):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(x.NewlineAfterThrow,this.state.lastTokEndLoc),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&"Identifier"===e.type?8:0),this.checkLVal(e,{in:{type:"CatchClause"},binding:9}),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(x.NoCatchOrFinally,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(qt),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(x.StrictWith,this.state.startLoc),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,s,r){for(const e of this.state.labels)e.name===t&&this.raise(x.LabelRedeclaration,s,{labelName:t});const i=function(e){return e>=90&&e<=92}(this.state.type)?1:this.match(71)?2: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=8&r?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),e.label=s,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t,s){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=s?this.parseModuleItem():this.parseStatementListItem();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)}null==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())),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.options.annexB&&!this.state.strict&&"var"===t.kind&&"Identifier"===t.declarations[0].id.type||this.raise(x.ForInOfLoopInitializer,t,{type:r?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===t.type&&this.raise(x.InvalidLhs,t,{ancestor:{type:"ForStatement"}}),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")}parseVar(e,t,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(102))?"const"!==s||this.match(58)||this.isContextual(102)||this.raise(x.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"const"}):this.raise(x.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"})),i.push(this.finishNode(e,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,t){const s=this.parseBindingAtom();this.checkLVal(s,{in:{type:"VariableDeclarator"},binding:"var"===t?5:8201}),e.id=s}parseAsyncFunctionExpression(e){return this.parseFunction(e,8)}parseFunction(e,t=0){const s=2&t,r=!!(1&t),i=r&&!(4&t),n=!!(8&t);this.initFunction(e,n),this.match(55)&&(s&&this.raise(x.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),e.generator=!0),r&&(e.id=this.parseFunctionId(i));const a=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(st(n,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&&!s&&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(new Ye(3)),e.params=this.parseBindingList(11,41,2|(t?4:0)),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:8201:17,e.id.loc.start)}parseClass(e,t,s){this.next();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(x.DecoratorSemicolon,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(x.DecoratorConstructor,e)}})),this.state.strict=t,this.next(),r.length)throw this.raise(x.TrailingDecorator,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(106);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(138);return this.parseClassElementName(u),t?void this.pushClassPrivateMethod(e,n,!0,!1):(this.isNonstaticConstructor(i)&&this.raise(x.ConstructorIsGenerator,i.key),void this.pushClassMethod(e,i,!0,!1,!1,!1))}const p=z(this.state.type)&&!this.state.containsEsc,h=this.match(138),d=this.parseClassElementName(t),f=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(x.DuplicateConstructor,d),r&&this.hasPlugin("typescript")&&t.override&&this.raise(x.OverrideOnConstructor,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(f),u.kind="method";const s=this.match(138);this.parseClassElementName(u),this.parsePostMemberNameModifiers(l),s?this.pushClassPrivateMethod(e,n,t,!0):(this.isNonstaticConstructor(i)&&this.raise(x.ConstructorIsAsync,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(138);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(138);this.parseClassElementName(i),t?this.pushClassPrivateMethod(e,n,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(x.ConstructorIsAccessor,i.key),this.pushClassMethod(e,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}}parseClassElementName(e){const{type:t,value:s}=this.state;if(132!==t&&133!==t||!e.static||"prototype"!==s||this.raise(x.StaticPrototype,this.state.startLoc),138===t){"constructor"===s&&this.raise(x.ConstructorClassPrivateField,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(x.DecoratorStaticBlock,t)}pushClassProperty(e,t){t.computed||"constructor"!==t.key.name&&"constructor"!==t.key.value||this.raise(x.ConstructorClassField,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(x.ConstructorClassField,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(et()),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=8331){if(z(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,r);else{if(!s&&t)throw this.raise(x.MissingClassName,this.state.startLoc);e.id=null}}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e,t){const s=this.parseMaybeImportPhase(e,!0),r=this.maybeParseExportDefaultSpecifier(e,s),i=!r||this.eat(12),n=i&&this.eatExportStar(e),a=n&&this.maybeParseExportNamespaceSpecifier(e),o=i&&(!a||this.eat(12)),c=r||n;if(n&&!a){if(r&&this.unexpected(),t)throw this.raise(x.UnsupportedDecoratorExport,e);return this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration")}const u=this.maybeParseExportNamedSpecifiers(e);let l;if(r&&i&&!n&&!u&&this.unexpected(null,5),a&&o&&this.unexpected(null,98),c||u){if(l=!1,t)throw this.raise(x.UnsupportedDecoratorExport,e);this.parseExportFrom(e,c)}else l=this.maybeParseExportDeclaration(e);if(c||u||l){var p;const s=e;if(this.checkExport(s,!0,!1,!!s.source),"ClassDeclaration"===(null==(p=s.declaration)?void 0:p.type))this.maybeTakeDecorators(t,s.declaration,s);else if(t)throw this.raise(x.UnsupportedDecoratorExport,e);return this.finishNode(s,"ExportNamedDeclaration")}if(this.eat(65)){const s=e,r=this.parseExportDefaultExpression();if(s.declaration=r,"ClassDeclaration"===r.type)this.maybeTakeDecorators(t,r,s);else if(t)throw this.raise(x.UnsupportedDecoratorExport,e);return this.checkExport(s,!0,!0),this.finishNode(s,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e,t){if(t||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",null==t?void 0:t.loc.start);const s=t||this.parseIdentifier(!0),r=this.startNodeAtNode(s);return r.exported=s,e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(93)){e.specifiers||(e.specifiers=[]);const t=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),t.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){e.specifiers||(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.nextTokenInLineStart();return this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();if(this.match(68))return this.next(),this.parseFunction(e,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(e,13);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(x.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(x.UnsupportedDefaultExport,this.state.startLoc);const t=this.parseMaybeAssignAllowIn();return this.semicolon(),t}parseExportDeclaration(e){if(this.match(80)){return this.parseClass(this.startNode(),!0,!1)}return this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:e}=this.state;if(z(e)){if(95===e&&!this.state.containsEsc||100===e)return!1;if((130===e||129===e)&&!this.state.containsEsc){const{type:e}=this.lookahead();if(z(e)&&98!==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)||z(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){this.eatContextual(98)?(e.source=this.parseImportSource(),this.checkExport(e),this.maybeParseImportAttributes(e),this.checkJSONModuleImport(e)):t&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){const{type:e}=this.state;return 26===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(x.DecoratorBeforeExport,this.state.startLoc),!0):74===e||75===e||68===e||80===e||this.isLet()||this.isAsyncFunction()}checkExport(e,t,s,r){var i;if(t)if(s){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var n;const t=e.declaration;"Identifier"!==t.type||"from"!==t.name||t.end-t.start!=4||null!=(n=t.extra)&&n.parenthesized||this.raise(x.ExportDefaultFromAsIdentifier,t)}}else if(null!=(i=e.specifiers)&&i.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(x.ExportBindingIsString,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)}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(x.DuplicateDefaultExport,e):this.raise(x.DuplicateExport,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(130),i=this.match(133),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=ct(e.local):e.exported||(e.exported=ot(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){const e=this.parseStringLiteral(this.state.value),t=e.value.match(zt);return t&&this.raise(x.ModuleExportNameHasLoneSurrogate,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)))}checkImportReflection(e){const{specifiers:t}=e,s=1===t.length?t[0].type:null;if("source"===e.phase)"ImportDefaultSpecifier"!==s&&this.raise(x.SourcePhaseImportRequiresDefault,t[0].loc.start);else if("defer"===e.phase)"ImportNamespaceSpecifier"!==s&&this.raise(x.DeferImportRequiresNamespace,t[0].loc.start);else if(e.module){var r;"ImportDefaultSpecifier"!==s&&this.raise(x.ImportReflectionNotBinding,t[0].loc.start),(null==(r=e.assertions)?void 0:r.length)>0&&this.raise(x.ImportReflectionHasAssertion,t[0].loc.start)}}checkJSONModuleImport(e){if(this.isJSONModuleImport(e)&&"ExportAllDeclaration"!==e.type){const{specifiers:t}=e;if(null!=t){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(x.ImportJSONBindingNotDefault,e.loc.start)}}}isPotentialImportPhase(e){return!e&&(this.isContextual(105)||this.isContextual(97)||this.isContextual(127))}applyImportPhase(e,t,s,r){t||("module"===s?(this.expectPlugin("importReflection",r),e.module=!0):this.hasPlugin("importReflection")&&(e.module=!1),"source"===s?(this.expectPlugin("sourcePhaseImports",r),e.phase="source"):"defer"===s?(this.expectPlugin("deferredImportEvaluation",r),e.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(e.phase=null))}parseMaybeImportPhase(e,t){if(!this.isPotentialImportPhase(t))return this.applyImportPhase(e,t,null),null;const s=this.parseIdentifier(!0),{type:r}=this.state;return(H(r)?98!==r||102===this.lookaheadCharCode():12!==r)?(this.resetPreviousIdentifierLeadingComments(s),this.applyImportPhase(e,t,s.name,s.loc.start),null):(this.applyImportPhase(e,t,null),s)}isPrecedingIdImportPhase(e){const{type:t}=this.state;return z(t)?98!==t||102===this.lookaheadCharCode():12!==t}parseImport(e){return this.match(133)?this.parseImportSourceAndAttributes(e):this.parseImportSpecifiersAndAfter(e,this.parseMaybeImportPhase(e,!1))}parseImportSpecifiersAndAfter(e,t){e.specifiers=[];const s=!this.maybeParseDefaultImportSpecifier(e,t)||this.eat(12),r=s&&this.maybeParseStarImportSpecifier(e);return s&&!r&&this.parseNamedImportSpecifiers(e),this.expectContextual(98),this.parseImportSourceAndAttributes(e)}parseImportSourceAndAttributes(e){return null!=e.specifiers||(e.specifiers=[]),e.source=this.parseImportSource(),this.maybeParseImportAttributes(e),this.checkImportReflection(e),this.checkJSONModuleImport(e),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(133)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(e,t,s){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,s))}finishImportSpecifier(e,t,s=8201){return this.checkLVal(e.local,{in:{type:t},binding:s}),this.finishNode(e,t)}parseImportAttributes(){this.expect(5);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(x.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:r}),t.add(r),this.match(133)?s.key=this.parseStringLiteral(r):s.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(x.ModuleAttributeInvalidValue,this.state.startLoc);s.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return this.expect(8),e}parseModuleAttributes(){const e=[],t=new Set;do{const s=this.startNode();if(s.key=this.parseIdentifier(!0),"type"!==s.key.name&&this.raise(x.ModuleAttributeDifferentFromType,s.key),t.has(s.key.name)&&this.raise(x.ModuleAttributesWithDuplicateKeys,s.key,{key:s.key.name}),t.add(s.key.name),this.expect(14),!this.match(133))throw this.raise(x.ModuleAttributeInvalidValue,this.state.startLoc);s.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return e}maybeParseImportAttributes(e){let t,s=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&40===this.lookaheadCharCode())return;this.next(),this.hasPlugin("moduleAttributes")?t=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),t=this.parseImportAttributes()),s=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(!0!==this.getPluginOption("importAttributes","deprecatedAssertSyntax")&&this.raise(x.ImportAttributesUseAssert,this.state.startLoc),this.addExtra(e,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),t=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))t=[];else{if(!this.hasPlugin("moduleAttributes"))return;t=[]}!s&&this.hasPlugin("importAssertions")?e.assertions=t:e.attributes=t}maybeParseDefaultImportSpecifier(e,t){if(t){const s=this.startNodeAtNode(t);return s.local=t,e.specifiers.push(this.finishImportSpecifier(s,"ImportDefaultSpecifier")),!0}return!!H(this.state.type)&&(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(x.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}const s=this.startNode(),r=this.match(133),i=this.isContextual(130);s.imported=this.parseModuleExportName();const n=this.parseImportSpecifier(s,r,"type"===e.importKind||"typeof"===e.importKind,i,void 0);e.specifiers.push(n)}}parseImportSpecifier(e,t,s,r,i){if(this.eatContextual(93))e.local=this.parseIdentifier();else{const{imported:s}=e;if(t)throw this.raise(x.ImportBindingIsString,e,{importName:s.value});this.checkReservedWord(s.name,e.loc.start,!0,!0),e.local||(e.local=ot(s))}return this.finishImportSpecifier(e,"ImportSpecifier",i)}isThisParam(e){return"Identifier"===e.type&&"this"===e.name}}class Gt extends Vt{constructor(e,t){super(e=function(e){if(null==e)return Object.assign({},Rt);if(null!=e.annexB&&!1!==e.annexB)throw new Error("The `annexB` option can only be set to `false`.");const t={};for(const r of Object.keys(Rt)){var s;t[r]=null!=(s=e[r])?s:Rt[r]}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 be}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.comments.length=this.state.commentsLen,e}}const Wt=function(e){const t={};for(const s of Object.keys(e))t[s]=Q(e[s]);return t}($);function Jt(e,t){let s=Gt;return null!=e&&e.plugins&&(!function(e){if(_t(e,"decorators")){if(_t(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const t=Ft(e,"decorators","decoratorsBeforeExport");if(null!=t&&"boolean"!=typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const s=Ft(e,"decorators","allowCallParenthesized");if(null!=s&&"boolean"!=typeof s)throw new Error("'allowCallParenthesized' must be a boolean.")}if(_t(e,"flow")&&_t(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(_t(e,"placeholders")&&_t(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(_t(e,"pipelineOperator")){const t=Ft(e,"pipelineOperator","proposal");if(!Ot.includes(t)){const e=Ot.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}const s=_t(e,["recordAndTuple",{syntaxType:"hash"}]);if("hack"===t){if(_t(e,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(_t(e,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const t=Ft(e,"pipelineOperator","topicToken");if(!Lt.includes(t)){const e=Lt.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(_t(e,"moduleAttributes")){if(_t(e,"importAssertions")||_t(e,"importAttributes"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if("may-2020"!==Ft(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(_t(e,"importAssertions")&&_t(e,"importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(_t(e,"recordAndTuple")&&null!=Ft(e,"recordAndTuple","syntaxType")&&!Bt.includes(Ft(e,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+Bt.map((e=>`'${e}'`)).join(", "));if(_t(e,"asyncDoExpressions")&&!_t(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}if(_t(e,"optionalChainingAssign")&&"2023-07"!==Ft(e,"optionalChainingAssign","version"))throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}(e.plugins),s=function(e){const t=Mt.filter((t=>_t(e,t))),s=t.join("/");let r=Xt[s];if(!r){r=Gt;for(const e of t)r=jt[e](r);Xt[s]=r}return r}(e.plugins)),new s(e,t)}const Xt={};t.parse=function(e,t){var s;if("unambiguous"!==(null==(s=t)?void 0:s.sourceType))return Jt(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";const s=Jt(t,e),r=s.parse();if(s.sawUnambiguousESM)return r;if(s.ambiguousScriptDifferentAst)try{return t.sourceType="script",Jt(t,e).parse()}catch(e){}else r.program.sourceType="script";return r}catch(s){try{return t.sourceType="script",Jt(t,e).parse()}catch(e){}throw s}},t.parseExpression=function(e,t){const s=Jt(t,e);return s.options.strictMode&&(s.state.strict=!0),s.getExpression()},t.tokTypes=Wt}));se(st);var rt=st.parse,it=st.parseExpression;st.tokTypes;class nt{constructor(){this._indexes={__proto__:null},this.array=[]}}function at(e,t){return e._indexes[t]}function ot(e,t){const s=at(e,t);if(void 0!==s)return s;const{array:r,_indexes:i}=e,n=r.push(t);return i[t]=n-1}const ct=",".charCodeAt(0),ut=";".charCodeAt(0),lt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",pt=new Uint8Array(64),ht=new Uint8Array(128);for(let e=0;e<64;e++){const t=lt.charCodeAt(e);pt[e]=t,ht[t]=e}const dt="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 ft(e,t){const s=e.indexOf(";",t);return-1===s?e.length:s}function mt(e,t,s,r){let i=0,n=0,a=0;do{const s=e.charCodeAt(t++);a=ht[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 yt(e,t,s){return!(t>=s)&&e.charCodeAt(t)!==ct}function gt(e){e.sort(xt)}function xt(e,t){return e[0]-t[0]}function vt(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+=dt.decode(i),a=0),i[a++]=ut),0!==u.length){t[0]=0;for(let e=0;e<u.length;e++){const s=u[e];a>r&&(o+=dt.decode(n),i.copyWithin(0,r,a),a-=r),e>0&&(i[a++]=ct),a=bt(i,a,t,s,0),1!==s.length&&(a=bt(i,a,t,s,1),a=bt(i,a,t,s,2),a=bt(i,a,t,s,3),4!==s.length&&(a=bt(i,a,t,s,4)))}}}return o+dt.decode(i.subarray(0,a))}function bt(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++]=pt[s]}while(a>0);return t}const Et=/^[\w+.-]+:\/\//,Ct=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,At=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function wt(e){return e.startsWith("/")}function Dt(e){return/^[.?#]/.test(e)}function Tt(e){const t=Ct.exec(e);return St(t[1],t[2]||"",t[3],t[4]||"",t[5]||"/",t[6]||"",t[7]||"")}function St(e,t,s,r,i,n,a){return{scheme:e,user:t,host:s,port:r,path:i,query:n,hash:a,type:7}}function Pt(e){if(function(e){return e.startsWith("//")}(e)){const t=Tt("http:"+e);return t.scheme="",t.type=6,t}if(wt(e)){const t=Tt("http://foo.com"+e);return t.scheme="",t.host="",t.type=5,t}if(function(e){return e.startsWith("file:")}(e))return function(e){const t=At.exec(e),s=t[2];return St("file:","",t[1]||"","",wt(s)?s:"/"+s,t[3]||"",t[4]||"")}(e);if(function(e){return Et.test(e)}(e))return Tt(e);const t=Tt("http://foo.com/"+e);return t.scheme="",t.host="",t.type=e?e.startsWith("?")?3:e.startsWith("#")?2:4:1,t}function kt(e,t){const s=t<=4,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 Nt(e,t){if(!e&&!t)return"";const s=Pt(e);let r=s.type;if(t&&7!==r){const e=Pt(t),i=e.type;switch(r){case 1:s.hash=e.hash;case 2:s.query=e.query;case 3:case 4:!function(e,t){kt(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 5:s.user=e.user,s.host=e.host,s.port=e.port;case 6:s.scheme=e.scheme}i>r&&(r=i)}kt(s,r);const i=s.query+s.hash;switch(r){case 2:case 3:return i;case 4:{const r=s.path.slice(1);return r?Dt(t||e)&&!Dt(r)?"./"+r+i:r+i:i||"."}case 5:return s.path+i;default:return s.scheme+"//"+s.user+s.host+s.port+s.path+i}}function It(e,t){return t&&!t.endsWith("/")&&(t+="/"),Nt(e,t)}const _t=0,Ft=1,Ot=2,Lt=3,Bt=4,jt=1,Mt=2;function Rt(e,t){for(let s=t;s<e.length;s++)if(!Ut(e[s]))return s;return e.length}function Ut(e){for(let t=1;t<e.length;t++)if(e[t][_t]<e[t-1][_t])return!1;return!0}function qt(e,t){return t||(e=e.slice()),e.sort($t)}function $t(e,t){return e[_t]-t[_t]}let zt=!1;function Ht(e,t,s){for(let r=s+1;r<e.length&&e[r][_t]===t;s=r++);return s}function Vt(e,t,s){for(let r=s-1;r>=0&&e[r][_t]===t;s=r--);return s}function Gt(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function Wt(e,t,s,r){const{lastKey:i,lastNeedle:n,lastIndex:a}=s;let o=0,c=e.length-1;if(r===i){if(t===n)return zt=-1!==a&&e[a][_t]===t,a;t>=n?o=-1===a?0:a:c=a}return s.lastKey=r,s.lastNeedle=t,s.lastIndex=function(e,t,s,r){for(;s<=r;){const i=s+(r-s>>1),n=e[i][_t]-t;if(0===n)return zt=!0,i;n<0?s=i+1:r=i-1}return zt=!1,s-1}(e,t,o,c)}function Jt(e,t,s){for(let s=e.length;s>t;s--)e[s]=e[s-1];e[t]=s}function Xt(){return{__proto__:null}}function Kt(e){return"string"==typeof e?JSON.parse(e):e}function Yt(e,t,s,r,i,n,a,o,c,u,l){const{sections:p}=e;for(let e=0;e<p.length;e++){const{map:h,offset:d}=p[e];let f=u,m=l;if(e+1<p.length){const t=p[e+1].offset;f=Math.min(u,o+t.line),f===u?m=Math.min(l,c+t.column):f<u&&(m=c+t.column)}Zt(h,t,s,r,i,n,a,o+d.line,c+d.column,f,m)}}function Zt(e,t,s,r,i,n,a,o,c,u,l){const p=Kt(e);if("sections"in p)return Yt(...arguments);const h=new ns(p,t),d=r.length,f=n.length,m=os(h),{resolvedSources:y,sourcesContent:g,ignoreList:x}=h;if(Qt(r,y),Qt(n,h.names),g)Qt(i,g);else for(let e=0;e<y.length;e++)i.push(null);if(x)for(let e=0;e<x.length;e++)a.push(x[e]+d);for(let e=0;e<m.length;e++){const t=o+e;if(t>u)return;const r=es(s,t),i=0===e?c:0,n=m[e];for(let e=0;e<n.length;e++){const s=n[e],a=i+s[_t];if(t===u&&a>=l)return;if(1===s.length){r.push([a]);continue}const o=d+s[Ft],c=s[Ot],p=s[Lt];r.push(4===s.length?[a,o,c,p]:[a,o,c,p,f+s[Bt]])}}}function Qt(e,t){for(let s=0;s<t.length;s++)e.push(t[s])}function es(e,t){for(let s=e.length;s<=t;s++)e[s]=[];return e[t]}const ts="`line` must be greater than 0 (lines start at line 1)",ss="`column` must be greater than or equal to 0 (columns start at column 0)",rs=-1,is=1;class ns{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,this.ignoreList=r.ignoreList||r.x_google_ignoreList||void 0;const l=It(o||"",function(e){if(!e)return"";const t=e.lastIndexOf("/");return e.slice(0,t+1)}(t));this.resolvedSources=c.map((e=>It(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=Rt(e,0);if(s===e.length)return e;t||(e=e.slice());for(let r=s;r<e.length;r=Rt(e,r+1))e[r]=qt(e[r],t);return e}(p,s)),this._decodedMemo={lastKey:-1,lastNeedle:-1,lastIndex:-1},this._bySources=void 0,this._bySourceMemos=void 0}}function as(e){var t,s;return null!==(t=(s=e)._encoded)&&void 0!==t?t:s._encoded=vt(e._decoded)}function os(e){var t;return(t=e)._decoded||(t._decoded=function(e){const t=new Int32Array(5),s=[];let r=0;do{const i=ft(e,r),n=[];let a=!0,o=0;t[0]=0;for(let s=r;s<i;s++){let r;s=mt(e,s,t,0);const c=t[0];c<o&&(a=!1),o=c,yt(e,s,i)?(s=mt(e,s,t,1),s=mt(e,s,t,2),s=mt(e,s,t,3),yt(e,s,i)?(s=mt(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||gt(n),s.push(n),r=i+1}while(r<=e.length);return s}(e._encoded))}function cs(e,t){const{sources:s,resolvedSources:r}=e;let i=s.indexOf(t);return-1===i&&(i=r.indexOf(t)),i}function us(e,t){const s=new ns(ls(e,[]),t);return s._decoded=e.mappings,s}function ls(e,t){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:t,ignoreList:e.ignoreList||e.x_google_ignoreList}}function ps(e,t,s,r){return{source:e,line:t,column:s,name:r}}function hs(e,t){return{line:e,column:t}}function ds(e,t,s,r,i){let n=Wt(e,r,t,s);return zt?n=(i===rs?Ht:Vt)(e,r,n):i===rs&&n++,-1===n||n===e.length?-1:n}function fs(e,t,s,r,i,n){var a;if(--s<0)throw new Error(ts);if(r<0)throw new Error(ss);const{sources:o,resolvedSources:c}=e;let u=o.indexOf(t);if(-1===u&&(u=c.indexOf(t)),-1===u)return n?[]:hs(null,null);const l=(a=e)._bySources||(a._bySources=function(e,t){const s=t.map(Xt);for(let r=0;r<e.length;r++){const i=e[r];for(let e=0;e<i.length;e++){const n=i[e];if(1===n.length)continue;const a=n[Ft],o=n[Ot],c=n[Lt],u=s[a],l=u[o]||(u[o]=[]),p=t[a];let h=Ht(l,c,Wt(l,c,p,o));p.lastIndex=++h,Jt(l,h,[c,r,n[_t]])}}return s}(os(e),e._bySourceMemos=o.map(Gt))),p=l[u][s];if(null==p)return n?[]:hs(null,null);const h=e._bySourceMemos[u];if(n)return function(e,t,s,r,i){let n=ds(e,t,s,r,is);if(zt||i!==rs||n++,-1===n||n===e.length)return[];const a=zt?r:e[n][_t];zt||(n=Vt(e,a,n));const o=Ht(e,a,n),c=[];for(;n<=o;n++){const t=e[n];c.push(hs(t[jt]+1,t[Mt]))}return c}(p,h,s,r,i);const d=ds(p,h,s,r,i);if(-1===d)return hs(null,null);const f=p[d];return hs(f[jt]+1,f[Mt])}var ms=Object.freeze({__proto__:null,AnyMap:function(e,t){const s=Kt(e);if(!("sections"in s))return new ns(s,t);const r=[],i=[],n=[],a=[],o=[];Yt(s,t,r,i,n,a,o,0,0,1/0,1/0);return us({version:3,file:s.file,names:a,sources:i,sourcesContent:n,mappings:r,ignoreList:o})},GREATEST_LOWER_BOUND:is,LEAST_UPPER_BOUND:rs,TraceMap:ns,allGeneratedPositionsFor:function(e,t){const{source:s,line:r,column:i,bias:n}=t;return fs(e,s,r,i,n||rs,!0)},decodedMap:function(e){return ls(e,os(e))},decodedMappings:os,eachMapping:function(e,t){const s=os(e),{names:r,resolvedSources: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=e+1,c=a[0];let u=null,l=null,p=null,h=null;1!==a.length&&(u=i[a[1]],l=a[2]+1,p=a[3]),5===a.length&&(h=r[a[4]]),t({generatedLine:o,generatedColumn:c,source:u,originalLine:l,originalColumn:p,name:h})}}},encodedMap:function(e){return ls(e,as(e))},encodedMappings:as,generatedPositionFor:function(e,t){const{source:s,line:r,column:i,bias:n}=t;return fs(e,s,r,i,n||is,!1)},isIgnored:function(e,t){const{ignoreList:s}=e;if(null==s)return!1;const r=cs(e,t);return-1!==r&&s.includes(r)},originalPositionFor:function(e,t){let{line:s,column:r,bias:i}=t;if(s--,s<0)throw new Error(ts);if(r<0)throw new Error(ss);const n=os(e);if(s>=n.length)return ps(null,null,null,null);const a=n[s],o=ds(a,e._decodedMemo,s,r,i||is);if(-1===o)return ps(null,null,null,null);const c=a[o];if(1===c.length)return ps(null,null,null,null);const{names:u,resolvedSources:l}=e;return ps(l[c[Ft]],c[Ot]+1,c[Lt],5===c.length?u[c[Bt]]:null)},presortedDecodedMap:us,sourceContentFor:function(e,t){const{sourcesContent:s}=e;if(null==s)return null;const r=cs(e,t);return-1===r?null:s[r]},traceSegment:function(e,t,s){const r=os(e);if(t>=r.length)return null;const i=r[t],n=ds(i,e._decodedMemo,t,s,is);return-1===n?null:i[n]}});const ys=0,gs=1,xs=2,vs=3,bs=4,Es=-1;class Cs{constructor({file:e,sourceRoot:t}={}){this._names=new nt,this._sources=new nt,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=t,this._ignoreList=new nt}}function As(e){const{_mappings:t,_sources:s,_sourcesContent:r,_names:i,_ignoreList:n}=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)}(t),{version:3,file:e.file||void 0,names:i.array,sourceRoot:e.sourceRoot||void 0,sources:s.array,sourcesContent:r,mappings:t,ignoreList:n.array}}function ws(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),f=function(e,t){let s=e.length;for(let r=s-1;r>=0;s=r--){if(t>=e[r][ys])break}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,f))return;return Ds(d,f,[r])}const m=ot(l,i),y=o?ot(h,o):Es;if(m===p.length&&(p[m]=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[gs]&&r===a[xs]&&i===a[vs]&&n===(5===a.length?a[bs]:Es))}(d,f,m,n,a,y))return Ds(d,f,o?[r,m,n,a,y]:[r,m,n,a])}function Ds(e,t,s){for(let s=e.length;s>t;s--)e[s]=e[s-1];e[t]=s}function Ts(e,t){for(let s=0;s<t.length;s++)ot(e,t[s])}function Ss(e,t,s){const{generated:r,source:i,original:n,name:a,content:o}=s;return i?ws(e,t,r.line-1,r.column,i,n.line-1,n.column,a,o):ws(e,t,r.line-1,r.column,null,null,null,null,null)}var Ps=Object.freeze({__proto__:null,GenMapping:Cs,addMapping:function(e,t){return Ss(!1,e,t)},addSegment:function(e,t,s,r,i,n,a,o){return ws(!1,e,t,s,r,i,n,a,o)},allMappings:function(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[ys]};let c,u,l;1!==a.length&&(c=r.array[a[gs]],u={line:a[xs]+1,column:a[vs]},5===a.length&&(l=i.array[a[bs]])),t.push({generated:o,source:c,original:u,name:l})}}return t},fromMap:function(e){const t=new ns(e),s=new Cs({file:t.file,sourceRoot:t.sourceRoot});return Ts(s._names,t.names),Ts(s._sources,t.sources),s._sourcesContent=t.sourcesContent||t.sources.map((()=>null)),s._mappings=os(t),t.ignoreList&&Ts(s._ignoreList,t.ignoreList),s},maybeAddMapping:(e,t)=>Ss(!0,e,t),maybeAddSegment:(e,t,s,r,i,n,a,o)=>ws(!0,e,t,s,r,i,n,a,o),setIgnore:function(e,t,s=!0){const{_sources:r,_sourcesContent:i,_ignoreList:n}=e,a=ot(r,t);a===i.length&&(i[a]=null),s?ot(n,a):function(e,t){const s=at(e,t);if(void 0===s)return;const{array:r,_indexes:i}=e;for(let e=s+1;e<r.length;e++){const t=r[e];r[e-1]=t,i[t]--}i[t]=void 0,r.pop()}(n,a)},setSourceContent:function(e,t,s){const{_sources:r,_sourcesContent:i}=e;i[ot(r,t)]=s},toDecodedMap:As,toEncodedMap:function(e){const t=As(e);return Object.assign(Object.assign({},t),{mappings:vt(t.mappings)})}}),ks=ie(Ps),Ns=ie(ms),Is=re((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,this._inputMap=void 0;const r=this._map=new ks.GenMapping({sourceRoot:e.sourceRoot});if(this._sourceFileName=null==(s=e.sourceFileName)?void 0:s.replace(/\\/g,"/"),this._rawMappings=void 0,e.inputSourceMap){this._inputMap=new Ns.TraceMap(e.inputSourceMap);const t=this._inputMap.resolvedSources;if(t.length)for(let e=0;e<t.length;e++){var i;(0,ks.setSourceContent)(r,t[e],null==(i=this._inputMap.sourcesContent)?void 0:i[e])}}if("string"!=typeof t||e.inputSourceMap){if("object"==typeof t)for(const e of Object.keys(t))(0,ks.setSourceContent)(r,e.replace(/\\/g,"/"),t[e])}else(0,ks.setSourceContent)(r,this._sourceFileName,t)}get(){return(0,ks.toEncodedMap)(this._map)}getDecoded(){return(0,ks.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,ks.allMappings)(this._map))}mark(e,t,s,r,i,n){var a;let o;if(this._rawMappings=void 0,null!=t)if(this._inputMap){if(o=(0,Ns.originalPositionFor)(this._inputMap,{line:t,column:s}),!o.name&&i){const e=(0,Ns.originalPositionFor)(this._inputMap,i);e.name&&(r=e.name)}}else o={source:(null==n?void 0:n.replace(/\\/g,"/"))||this._sourceFileName,line:t,column:s};(0,ks.maybeAddMapping)(this._map,{name:r,generated:e,source:null==(a=o)?void 0:a.source,original:o})}}}));se(Is);var _s=re((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class{constructor(e,t){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._indentChar="",this._fastIndentations=[],this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=e,this._indentChar=t;for(let e=0;e<64;e++)this._fastIndentations.push(t.repeat(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,identifierNamePos:void 0,filename:""})}_pushQueue(e,t,s,r,i){const n=this._queueCursor;n===this._queue.length&&this._allocQueue();const a=this._queue[n];a.char=e,a.repeat=t,a.line=s,a.column=r,a.filename=i,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 __mergedMap(){return this.map},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.filename)}queueIndentation(e){0!==e&&this._pushQueue(-1,e,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){if(this._last=e,-1===e){const e=this._fastIndentations[t];this._str+=void 0!==e?e:t>1?this._indentChar.repeat(t):this._indentChar}else this._str+=t>1?String.fromCharCode(e).repeat(t):String.fromCharCode(e);10!==e?(this._mark(s.line,s.column,s.identifierName,s.identifierNamePos,s.filename),this._position.column+=t):(this._position.line++,this._position.column=0),this._canMarkIdName&&(s.identifierName=void 0,s.identifierNamePos=void 0)}_append(e,t,s){const r=e.length,i=this._position;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(i.column+=r);const{column:n,identifierName:a,identifierNamePos:o,filename:c}=t;let u=t.line;null==a&&null==o||!this._canMarkIdName||(t.identifierName=void 0,t.identifierNamePos=void 0);let l=e.indexOf("\n"),p=0;for(0!==l&&this._mark(u,n,a,o,c);-1!==l;)i.line++,i.column=0,p=l+1,p<r&&void 0!==u&&this._mark(++u,0,null,null,c),l=e.indexOf("\n",p);i.column+=r-p}_mark(e,t,s,r,i){var n;null==(n=this._map)||n.mark(this._position,e,t,s,r,i)}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}getNewlineCount(){const e=this._queueCursor;let t=0;if(0===e)return 10===this._last?1:0;for(let s=e-1;s>=0&&10===this._queue[s].char;s--)t++;return t===e&&10===this._last?t+1:t}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 void t();this.source("start",e);const s=e.identifierName,r=this._sourcePosition;s&&(this._canMarkIdName=!1,r.identifierName=s),t(),s&&(this._canMarkIdName=!0,r.identifierName=void 0,r.identifierNamePos=void 0),this.source("end",e)}source(e,t){this._map&&this._normalizePosition(e,t,0)}sourceWithOffset(e,t,s){this._map&&this._normalizePosition(e,t,s)}withSource(e,t,s){this._map&&this.source(e,t),s()}_normalizePosition(e,t,s){const r=t[e],i=this._sourcePosition;r&&(i.line=r.line,i.column=Math.max(r.column+s,0),i.filename=t.filename)}getCurrentColumn(){const e=this._queue,t=this._queueCursor;let s=-1,r=0;for(let i=0;i<t;i++){const t=e[i];10===t.char&&(s=r),r+=t.repeat}return-1===s?this._position.column+r:r-1-s}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}}}));se(_s);var Fs=re((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:f,isStringLiteral:m}=I.default;function y(e,t){return e?(p(e)||f(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=t.nodes={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(m(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}};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}))}))}));se(Fs),Fs.nodes;var Os=re((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowFunctionExpression=function(e,t){return a(t)||x(e,t)},t.AssignmentExpression=function(e,t){return!!l(e.left)||x(e,t)},t.Binary=function(e,t){const s=t.type;if("**"===e.operator&&"BinaryExpression"===s&&"**"===t.operator)return t.left===e;if(m(e,t))return!0;if(y(e,t)||"UnaryExpression"===s||"SpreadElement"===s||"AwaitExpression"===s)return!0;if("BinaryExpression"===s||"LogicalExpression"===s){const r=d.get(t.operator),i=d.get(e.operator);if(r===i&&t.right===e&&"LogicalExpression"!==s||r>i)return!0}return},t.BinaryExpression=function(e,t){if("in"===e.operator){const e=t.type;return"VariableDeclarator"===e||"ForStatement"===e||"ForInStatement"===e||"ForOfStatement"===e}return!1},t.ClassExpression=function(e,t,s){return v(s,5)},t.ConditionalExpression=x,t.DoExpression=function(e,t,s){return!e.async&&v(s,1)},t.FunctionExpression=function(e,t,s){return v(s,5)},t.FunctionTypeAnnotation=function(e,t,s){if(s.length<3)return;const i=t.type;return"UnionTypeAnnotation"===i||"IntersectionTypeAnnotation"===i||"ArrayTypeAnnotation"===i||"TypeAnnotation"===i&&r(s[s.length-3])},t.Identifier=function(e,t,s){var r;const i=t.type;if(null!=(r=e.extra)&&r.parenthesized&&"AssignmentExpression"===i&&t.left===e){const e=t.right.type;if(("FunctionExpression"===e||"ClassExpression"===e)&&null==t.right.id)return!0}if("let"===e.name){return v(s,u(t,{object:e,computed:!0})||p(t,{object:e,computed:!0,optional:!1})?57:32)}return"async"===e.name&&o(t)&&e===t.left},t.LogicalExpression=function(e,t){const s=t.type;if(f(s))return!0;if("LogicalExpression"!==s)return!1;switch(e.operator){case"||":return"??"===t.operator||"&&"===t.operator;case"&&":return"??"===t.operator;case"??":return"??"!==t.operator}},t.NullableTypeAnnotation=function(e,t){return s(t)},t.ObjectExpression=function(e,t,s){return v(s,3)},t.OptionalIndexedAccessType=function(e,t){return c(t)&&t.objectType===e},t.OptionalCallExpression=t.OptionalMemberExpression=function(e,t){return n(t)&&t.callee===e||u(t)&&t.object===e},t.SequenceExpression=function(e,t){const s=t.type;if("ForStatement"===s||"ThrowStatement"===s||"ReturnStatement"===s||"IfStatement"===s&&t.test===e||"WhileStatement"===s&&t.test===e||"ForInStatement"===s&&t.right===e||"SwitchStatement"===s&&t.discriminant===e||"ExpressionStatement"===s&&t.expression===e)return!1;return!0},t.TSTypeAssertion=t.TSSatisfiesExpression=t.TSAsExpression=function(){return!0},t.TSInferType=function(e,t){const s=t.type;return"TSArrayType"===s||"TSOptionalType"===s},t.TSInstantiationExpression=function(e,t){const s=t.type;return("CallExpression"===s||"OptionalCallExpression"===s||"NewExpression"===s||"TSInstantiationExpression"===s)&&!!t.typeParameters},t.TSIntersectionType=t.TSUnionType=function(e,t){const s=t.type;return"TSArrayType"===s||"TSOptionalType"===s||"TSIntersectionType"===s||"TSUnionType"===s||"TSRestType"===s},t.UnaryLike=g,t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=function(e,t){const s=t.type;return"ArrayTypeAnnotation"===s||"NullableTypeAnnotation"===s||"IntersectionTypeAnnotation"===s||"UnionTypeAnnotation"===s},t.UpdateExpression=function(e,t){return y(e,t)||m(e,t)},t.AwaitExpression=t.YieldExpression=function(e,t){const s=t.type;return"BinaryExpression"===s||"LogicalExpression"===s||"UnaryExpression"===s||"SpreadElement"===s||y(e,t)||"AwaitExpression"===s&&h(e)||"ConditionalExpression"===s&&e===t.test||m(e,t)};const{isArrayTypeAnnotation:s,isArrowFunctionExpression:r,isBinaryExpression:i,isCallExpression:n,isExportDeclaration:a,isForOfStatement:o,isIndexedAccessType:c,isMemberExpression:u,isObjectPattern:l,isOptionalMemberExpression:p,isYieldExpression:h}=I.default,d=new Map([["||",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]]);function f(e){return"TSAsExpression"===e||"TSSatisfiesExpression"===e||"TSTypeAssertion"===e}const m=(e,t)=>{const s=t.type;return("ClassDeclaration"===s||"ClassExpression"===s)&&t.superClass===e},y=(e,t)=>{const s=t.type;return("MemberExpression"===s||"OptionalMemberExpression"===s)&&t.object===e||("CallExpression"===s||"OptionalCallExpression"===s||"NewExpression"===s)&&t.callee===e||"TaggedTemplateExpression"===s&&t.tag===e||"TSNonNullExpression"===s};function g(e,t){return y(e,t)||i(t)&&"**"===t.operator&&t.left===e||m(e,t)}function x(e,t){const s=t.type;return!!("UnaryExpression"===s||"SpreadElement"===s||"BinaryExpression"===s||"LogicalExpression"===s||"ConditionalExpression"===s&&t.test===e||"AwaitExpression"===s||f(s))||g(e,t)}function v(e,t){const s=1&t,r=2&t,i=4&t,n=8&t,a=16&t,o=32&t;let c=e.length-1;if(c<=0)return;let u=e[c];c--;let l=e[c];for(;c>=0;){const t=l.type;if(s&&"ExpressionStatement"===t&&l.expression===u||i&&"ExportDefaultDeclaration"===t&&u===l.declaration||r&&"ArrowFunctionExpression"===t&&l.body===u||n&&"ForStatement"===t&&l.init===u||a&&"ForInStatement"===t&&l.left===u||o&&"ForOfStatement"===t&&l.left===u)return!0;if(!(c>0&&(y(u,l)&&"NewExpression"!==t||"SequenceExpression"===t&&l.expressions[0]===u||"UpdateExpression"===t&&!l.prefix||"ConditionalExpression"===t&&l.test===u||("BinaryExpression"===t||"LogicalExpression"===t)&&l.left===u||"AssignmentExpression"===t&&l.left===u)))return!1;u=l,c--,l=e[c]}return!1}}));se(Os),Os.ArrowFunctionExpression,Os.AssignmentExpression,Os.Binary,Os.BinaryExpression,Os.ClassExpression,Os.ConditionalExpression,Os.DoExpression,Os.FunctionExpression,Os.FunctionTypeAnnotation,Os.Identifier,Os.LogicalExpression,Os.NullableTypeAnnotation,Os.ObjectExpression,Os.OptionalIndexedAccessType,Os.OptionalCallExpression,Os.OptionalMemberExpression,Os.SequenceExpression,Os.TSTypeAssertion,Os.TSSatisfiesExpression,Os.TSAsExpression,Os.TSInferType,Os.TSInstantiationExpression,Os.TSIntersectionType,Os.TSUnionType,Os.UnaryLike,Os.IntersectionTypeAnnotation,Os.UnionTypeAnnotation,Os.UpdateExpression,Os.AwaitExpression,Os.YieldExpression;var Ls=re((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.needsParens=function(e,t,s){var r;if(!t)return!1;if(a(t)&&t.callee===e&&l(e))return!0;return null==(r=c.get(e.type))?void 0:r(e,t,s)},t.needsWhitespace=p,t.needsWhitespaceAfter=function(e,t){return p(e,t,2)},t.needsWhitespaceBefore=function(e,t){return p(e,t,1)};const{FLIPPED_ALIAS_KEYS:s,isCallExpression:r,isExpressionStatement:i,isMemberExpression:n,isNewExpression:a}=I.default;function o(e){const t=new Map;function r(e,s){const r=t.get(e);t.set(e,r?function(e,t,i){var n;return null!=(n=r(e,t,i))?n:s(e,t,i)}: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(Os),u=o(Fs.nodes);function l(e){return!!r(e)||n(e)&&l(e.object)}function p(e,t,s){var r;if(!e)return!1;i(e)&&(e=e.expression);const n=null==(r=u.get(e.type))?void 0:r(e,t);return"number"==typeof n&&!!(n&s)}}));se(Ls),Ls.needsParens,Ls.needsWhitespace,Ls.needsWhitespaceAfter,Ls.needsWhitespaceBefore;var Bs=re((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)}}));se(Bs),Bs.TaggedTemplateExpression,Bs.TemplateElement,Bs.TemplateLiteral;var js=re((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&&!Ls.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.rightParens(e)},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){if("ParenthesizedExpression"===e.type)return!1;return!a("CallExpression"===e.type?e.callee: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",!0),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",!0),this.space(),this.tokenChar(123),this.indent();const{body:t}=e;(t.body.length||t.directives.length)&&this.newline();this.print(t,e),this.dedent(),this.rightBrace(e)},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.rightParens(e)},t.OptionalCallExpression=function(e){this.print(e.callee,e),this.print(e.typeParameters,e),e.optional&&this.token("?.");this.print(e.typeArguments,e),this.tokenChar(40),this.printList(e.arguments,e),this.rightParens(e)},t.OptionalMemberExpression=function(e){let{computed:t}=e;const{optional:s,property:n}=e;if(this.print(e.object,e),!t&&i(n))throw new TypeError("Got a MemberExpression for MemberExpression property");r(n)&&"number"==typeof n.value&&(t=!0);s&&this.token("?.");t?(this.tokenChar(91),this.print(n,e),this.tokenChar(93)):(s||this.tokenChar(46),this.print(n,e))},t.ParenthesizedExpression=function(e){this.tokenChar(40),this.print(e.expression,e),this.rightParens(e)},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){const{operator:t}=e;"void"===t||"delete"===t||"typeof"===t||"throw"===t?(this.word(t),this.space()):this.token(t);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",!0),e.delegate?(this.tokenChar(42),e.argument&&(this.space(),this.print(e.argument,e))):e.argument&&(this.space(),this.printTerminatorless(e.argument,e,!1))},t._shouldPrintDecoratorsBeforeExport=function(e){if("boolean"==typeof this.format.decoratorsBeforeExport)return this.format.decoratorsBeforeExport;return"number"==typeof e.start&&e.start===e.declaration.start};const{isCallExpression:s,isLiteral:r,isMemberExpression:i,isNewExpression:n}=I.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}}}));se(js),js.LogicalExpression,js.BinaryExpression,js.AssignmentExpression,js.AssignmentPattern,js.AwaitExpression,js.BindExpression,js.CallExpression,js.ConditionalExpression,js.Decorator,js.DoExpression,js.EmptyStatement,js.ExpressionStatement,js.Import,js.MemberExpression,js.MetaProperty,js.ModuleExpression,js.NewExpression,js.OptionalCallExpression,js.OptionalMemberExpression,js.ParenthesizedExpression,js.PrivateName,js.SequenceExpression,js.Super,js.ThisExpression,js.UnaryExpression,js.UpdateExpression,js.V8IntrinsicIdentifier,js.YieldExpression,js._shouldPrintDecoratorsBeforeExport;var Ms=re((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.BreakStatement=function(e){this.word("break"),c(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"),c(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"),c(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.rightBrace(e)},t.ThrowStatement=function(e){this.word("throw"),c(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());const{kind:i}=e;this.word(i,"using"===i||"await using"===i),this.space();let n=!1;if(!s(t))for(const t of e.declarations)t.init&&(n=!0);if(this.printList(e.declarations,e,{separator:n?function(){this.tokenChar(44),this.newline()}:void 0,indent:e.declarations.length>1}),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}=I.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.noIndentInnerCommentsHere(),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)}function c(e,t,s,r){t&&(e.space(),e.printTerminatorless(t,s,r)),e.semicolon()}t.ForInStatement=o,t.ForOfStatement=o}));se(Ms),Ms.BreakStatement,Ms.CatchClause,Ms.ContinueStatement,Ms.DebuggerStatement,Ms.DoWhileStatement,Ms.ForOfStatement,Ms.ForInStatement,Ms.ForStatement,Ms.IfStatement,Ms.LabeledStatement,Ms.ReturnStatement,Ms.SwitchCase,Ms.SwitchStatement,Ms.ThrowStatement,Ms.TryStatement,Ms.VariableDeclaration,Ms.VariableDeclarator,Ms.WhileStatement,Ms.WithStatement;var Rs=re((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ClassAccessorProperty=function(e){var t;this.printJoin(e.decorators,e);const s=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;s&&this.catchUp(s);this.tsPrintClassMemberModifiers(e),this.word("accessor",!0),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),0===e.body.length?this.tokenChar(125):(this.newline(),this.printSequence(e.body,e,{indent:!0}),this.endsWith(10)||this.newline(),this.rightBrace(e))},t.ClassExpression=t.ClassDeclaration=function(e,t){(s(t)||r(t))&&this._shouldPrintDecoratorsBeforeExport(t)||this.printJoin(e.decorators,e);e.declare&&(this.word("declare"),this.space());e.abstract&&(this.word("abstract"),this.space());this.word("class"),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){var t;this.printJoin(e.decorators,e);const s=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;s&&this.catchUp(s);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(e))},t._classMethodHead=function(e){var t;this.printJoin(e.decorators,e);const s=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;s&&this.catchUp(s);this.tsPrintClassMemberModifiers(e),this._methodHead(e)};const{isExportDefaultDeclaration:s,isExportNamedDeclaration:r}=I.default}));se(Rs),Rs.ClassAccessorProperty,Rs.ClassBody,Rs.ClassExpression,Rs.ClassDeclaration,Rs.ClassMethod,Rs.ClassPrivateMethod,Rs.ClassPrivateProperty,Rs.ClassProperty,Rs.StaticBlock,Rs._classMethodHead;var Us=re((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowFunctionExpression=function(e,t){e.async&&(this.word("async",!0),this.space());let r;this.format.retainLines||1!==e.params.length||!s(r=e.params[0])||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,r)?this._params(e,void 0,t):this.print(r,e,!0);this._predicate(e,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.print(e.body,e)},t.FunctionDeclaration=t.FunctionExpression=function(e,t){this._functionHead(e,t),this.space(),this.print(e.body,e)},t._functionHead=function(e,t){e.async&&(this.word("async"),this._endsWithInnerRaw=!1,this.space());this.word("function"),e.generator&&(this._endsWithInnerRaw=!1,this.tokenChar(42));this.space(),e.id&&this.print(e.id,e);this._params(e,e.id,t),"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.word("async",!0),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,e.computed&&"StringLiteral"!==e.key.type?void 0:e.key,void 0)},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){const s=e.length;for(let r=0;r<s;r++)this._param(e[r],t),r<e.length-1&&(this.tokenChar(44),this.space())},t._params=function(e,t,s){this.print(e.typeParameters,e);const i=r.call(this,t,s);i&&this.sourceIdentifierName(i.name,i.pos);this.tokenChar(40),this._parameters(e.params,e),this.tokenChar(41);const n="ArrowFunctionExpression"===e.type;this.print(e.returnType,e,n),this._noLineTerminator=n},t._predicate=function(e,t){e.predicate&&(e.returnType||this.tokenChar(58),this.space(),this.print(e.predicate,e,t))};const{isIdentifier:s}=I.default;function r(e,t){let s,r=e;if(!r&&t){const e=t.type;"VariableDeclarator"===e?r=t.id:"AssignmentExpression"===e||"AssignmentPattern"===e?r=t.left:"ObjectProperty"===e||"ClassProperty"===e?t.computed&&"StringLiteral"!==t.key.type||(r=t.key):"ClassPrivateProperty"!==e&&"ClassAccessorProperty"!==e||(r=t.key)}if(r){var i,n;if("Identifier"===r.type)s={pos:null==(i=r.loc)?void 0:i.start,name:(null==(n=r.loc)?void 0:n.identifierName)||r.name};else if("PrivateName"===r.type){var a;s={pos:null==(a=r.loc)?void 0:a.start,name:"#"+r.id.name}}else if("StringLiteral"===r.type){var o;s={pos:null==(o=r.loc)?void 0:o.start,name:r.value}}return s}}}));se(Us),Us.ArrowFunctionExpression,Us.FunctionDeclaration,Us.FunctionExpression,Us._functionHead,Us._methodHead,Us._param,Us._parameters,Us._params,Us._predicate;var qs=re((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ExportAllDeclaration=function(e){var t,s;this.word("export"),this.space(),"type"===e.exportKind&&(this.word("type"),this.space());this.tokenChar(42),this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(s=e.assertions)&&s.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e);this.semicolon()},t.ExportDefaultDeclaration=function(e){u(this,e),this.word("export"),this.noIndentInnerCommentsHere(),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){if(u(this,e),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 n=e.specifiers.slice(0);let a=!1;for(;;){const t=n[0];if(!r(t)&&!i(t))break;a=!0,this.print(n.shift(),e),n.length&&(this.tokenChar(44),this.space())}var t,s;if((n.length||!n.length&&!a)&&(this.tokenChar(123),n.length&&(this.space(),this.printList(n,e),this.space()),this.tokenChar(125)),e.source)this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(s=e.assertions)&&s.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,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){var t,s;this.word("import"),this.space();const r="type"===e.importKind||"typeof"===e.importKind;r?(this.noIndentInnerCommentsHere(),this.word(e.importKind),this.space()):e.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):e.phase&&(this.noIndentInnerCommentsHere(),this.word(e.phase),this.space());const i=e.specifiers.slice(0),o=!!i.length;for(;o;){const t=i[0];if(!n(t)&&!a(t))break;this.print(i.shift(),e),i.length&&(this.tokenChar(44),this.space())}i.length?(this.tokenChar(123),this.space(),this.printList(i,e),this.space(),this.tokenChar(125)):r&&!o&&(this.tokenChar(123),this.tokenChar(125));(o||r)&&(this.space(),this.word("from"),this.space());null!=(t=e.attributes)&&t.length||null!=(s=e.assertions)&&s.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e);this.semicolon()},t.ImportDefaultSpecifier=function(e){this.print(e.local,e)},t.ImportExpression=function(e){this.word("import"),e.phase&&(this.tokenChar(46),this.word(e.phase));this.tokenChar(40),this.print(e.source,e),null!=e.options&&(this.tokenChar(44),this.space(),this.print(e.options,e));this.tokenChar(41)},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))},t._printAttributes=function(e){const{importAttributesKeyword:t}=this.format,{attributes:s,assertions:r}=e;!s||t||c||(c=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));const i="assert"===t||!t&&r;if(this.word(i?"assert":"with"),this.space(),!i&&"with"!==t)return void this.printList(s||r,e);this.tokenChar(123),this.space(),this.printList(s||r,e),this.space(),this.tokenChar(125)};const{isClassDeclaration:s,isExportDefaultSpecifier:r,isExportNamespaceSpecifier:i,isImportDefaultSpecifier:n,isImportNamespaceSpecifier:a,isStatement:o}=I.default;let c=!1;function u(e,t){s(t.declaration)&&e._shouldPrintDecoratorsBeforeExport(t)&&e.printJoin(t.declaration.decorators,t)}}));se(qs),qs.ExportAllDeclaration,qs.ExportDefaultDeclaration,qs.ExportDefaultSpecifier,qs.ExportNamedDeclaration,qs.ExportNamespaceSpecifier,qs.ExportSpecifier,qs.ImportAttribute,qs.ImportDeclaration,qs.ImportDefaultSpecifier,qs.ImportExpression,qs.ImportNamespaceSpecifier,qs.ImportSpecifier,qs._printAttributes;const $s={},zs=$s.hasOwnProperty,Hs=(e,t)=>{for(const s in e)zs.call(e,s)&&t(s,e[s])},Vs=$s.toString,Gs=Array.isArray,Ws=Buffer.isBuffer,Js={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},Xs=/["'\\\b\f\n\r\t]/,Ks=/[0-9]/,Ys=/[ !#-&\(-\[\]-_a-~]/,Zs=(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?(Hs(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,f=!0;const m="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]"==Vs.call(e))(e)){if((e=>"[object Map]"==Vs.call(e))(e))return 0==e.size?"new Map()":(a||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+Zs(Array.from(e),t)+")");if((e=>"[object Set]"==Vs.call(e))(e))return 0==e.size?"new Set()":"new Set("+Zs(Array.from(e),t)+")";if(Ws(e))return 0==e.length?"Buffer.from([])":"Buffer.from("+Zs(Array.from(e),t)+")";if(Gs(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=>{f=!1,p&&(t.__inline2__=!1),d.push((a||p?"":c)+Zs(e,t))})),f?"[]":p?"["+d.join(", ")+"]":"["+h+d.join(","+h)+h+(a?"":u)+"]";if(!(e=>"number"==typeof e||"[object Number]"==Vs.call(e))(e))return(e=>"[object Object]"==Vs.call(e))(e)?(d=[],t.wrap=!0,s(),Hs(e,((e,s)=>{f=!1,d.push((a?"":c)+Zs(e,t)+":"+(a?"":" ")+Zs(s,t))})),f?"{}":"{"+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(m)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(Ys.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&&!Ks.test(v.charAt(b+1))){d+="\\0";continue}if(Xs.test(e)){d+=Js[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};Zs.version="2.5.2";var Qs=Zs,er=re((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);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){var t;this.sourceIdentifierName((null==(t=e.loc)?void 0:t.identifierName)||e.name),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,i=r+"";s.numbers?this.number(Qs(r,s),r):null==t?this.number(i,r):this.format.minified?this.number(t.length<i.length?t:i,r):this.number(t,r)},t.ObjectPattern=t.ObjectExpression=function(e){const t=e.properties;this.tokenChar(123),t.length&&(this.space(),this.printList(t,e,{indent:!0,statement:!0}),this.space());this.sourceWithOffset("end",e.loc,-1),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&&null!=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),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=Qs(e.value,this.format.jsescOption);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);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}=I.default;const i=new Set(["^^","@@","^","%","#"])}));se(er),er.ArgumentPlaceholder,er.ArrayPattern,er.ArrayExpression,er.BigIntLiteral,er.BooleanLiteral,er.DecimalLiteral,er.Identifier,er.NullLiteral,er.NumericLiteral,er.ObjectPattern,er.ObjectExpression,er.ObjectMethod,er.ObjectProperty,er.PipelineBareFunction,er.PipelinePrimaryTopicReference,er.PipelineTopicExpression,er.RecordExpression,er.RegExpLiteral,er.SpreadElement,er.RestElement,er.StringLiteral,er.TopicReference,er.TupleExpression;var tr=re((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(),qs.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);const s=null==t?void 0:t.type;null!=s&&("ObjectTypeCallProperty"===s||"ObjectTypeInternalSlot"===s||"DeclareFunction"===s||"ObjectTypeProperty"===s&&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){var t;this.word("interface"),null!=(t=e.extends)&&t.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 er.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.newline(),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 er.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));if("DeclareClass"===e.type){var s,r;null!=(s=e.mixins)&&s.length&&(this.space(),this.word("mixins"),this.space(),this.printList(e.mixins,e)),null!=(r=e.implements)&&r.length&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements,e))}this.space(),this.print(e.body,e)},t._variance=function(e){var t;const s=null==(t=e.variance)?void 0:t.kind;null!=s&&("plus"===s?this.tokenChar(43):"minus"===s&&this.tokenChar(45))};const{isDeclareExportDeclaration:s,isStatement:r}=I.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()}}));se(tr),tr.AnyTypeAnnotation,tr.ArrayTypeAnnotation,tr.BooleanLiteralTypeAnnotation,tr.BooleanTypeAnnotation,tr.DeclareClass,tr.DeclareExportAllDeclaration,tr.DeclareExportDeclaration,tr.DeclareFunction,tr.DeclareInterface,tr.DeclareModule,tr.DeclareModuleExports,tr.DeclareOpaqueType,tr.DeclareTypeAlias,tr.DeclareVariable,tr.DeclaredPredicate,tr.EmptyTypeAnnotation,tr.EnumBooleanBody,tr.EnumBooleanMember,tr.EnumDeclaration,tr.EnumDefaultedMember,tr.EnumNumberBody,tr.EnumNumberMember,tr.EnumStringBody,tr.EnumStringMember,tr.EnumSymbolBody,tr.ExistsTypeAnnotation,tr.FunctionTypeAnnotation,tr.FunctionTypeParam,tr.IndexedAccessType,tr.InferredPredicate,tr.InterfaceDeclaration,tr.GenericTypeAnnotation,tr.ClassImplements,tr.InterfaceExtends,tr.InterfaceTypeAnnotation,tr.IntersectionTypeAnnotation,tr.MixedTypeAnnotation,tr.NullLiteralTypeAnnotation,tr.NullableTypeAnnotation,tr.NumberLiteralTypeAnnotation,tr.NumberTypeAnnotation,tr.ObjectTypeAnnotation,tr.ObjectTypeCallProperty,tr.ObjectTypeIndexer,tr.ObjectTypeInternalSlot,tr.ObjectTypeProperty,tr.ObjectTypeSpreadProperty,tr.OpaqueType,tr.OptionalIndexedAccessType,tr.QualifiedTypeIdentifier,tr.StringLiteralTypeAnnotation,tr.StringTypeAnnotation,tr.SymbolTypeAnnotation,tr.ThisTypeAnnotation,tr.TupleTypeAnnotation,tr.TypeAlias,tr.TypeAnnotation,tr.TypeCastExpression,tr.TypeParameter,tr.TypeParameterDeclaration,tr.TypeParameterInstantiation,tr.TypeofTypeAnnotation,tr.UnionTypeAnnotation,tr.Variance,tr.VoidTypeAnnotation,tr._interfaceish,tr._variance;var sr=re((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.BlockStatement=function(e){var t;this.tokenChar(123);const s=null==(t=e.directives)?void 0:t.length;if(s){var r;const t=e.body.length?2:1;this.printSequence(e.directives,e,{indent:!0,trailingCommentsLineOffset:t}),null!=(r=e.directives[s-1].trailingComments)&&r.length||this.newline(t)}this.printSequence(e.body,e,{indent:!0}),this.rightBrace(e)},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}`),this.newline(1,!0)},t.Placeholder=function(e){this.token("%%"),this.print(e.name),this.token("%%"),"Statement"===e.expectedNode&&this.semicolon()},t.Program=function(e){var t;this.noIndentInnerCommentsHere(),this.printInnerComments();const s=null==(t=e.directives)?void 0:t.length;if(s){var r;const t=e.body.length?2:1;this.printSequence(e.directives,e,{trailingCommentsLineOffset:t}),null!=(r=e.directives[s-1].trailingComments)&&r.length||this.newline(t)}this.printSequence(e.body,e)};const s=/(?:^|[^\\])(?:\\\\)*'/,r=/(?:^|[^\\])(?:\\\\)*"/}));se(sr),sr.BlockStatement,sr.Directive,sr.DirectiveLiteral,sr.File,sr.InterpreterDirective,sr.Placeholder,sr.Program;var rr=re((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(){this.printInnerComments()},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)}}));se(rr),rr.JSXAttribute,rr.JSXClosingElement,rr.JSXClosingFragment,rr.JSXElement,rr.JSXEmptyExpression,rr.JSXExpressionContainer,rr.JSXFragment,rr.JSXIdentifier,rr.JSXMemberExpression,rr.JSXNamespacedName,rr.JSXOpeningElement,rr.JSXOpeningFragment,rr.JSXSpreadAttribute,rr.JSXSpreadChild,rr.JSXText;var ir=re((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(s)}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.TSSatisfiesExpression=t.TSAsExpression=function(e){var t;const{type:s,expression:r,typeAnnotation:i}=e,n=!(null==(t=r.trailingComments)||!t.length);this.print(r,e,!0,void 0,n),this.space(),this.word("TSAsExpression"===s?"as":"satisfies"),this.space(),this.print(i,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,t){e.declare&&(this.word("declare"),this.space());this._functionHead(e,t),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}=e;t&&(this.word("readonly"),this.space());this.tsPrintPropertyOrMethodName(e),this.print(e.typeAnnotation,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)}}));se(ir),ir.TSAnyKeyword,ir.TSArrayType,ir.TSSatisfiesExpression,ir.TSAsExpression,ir.TSBigIntKeyword,ir.TSBooleanKeyword,ir.TSCallSignatureDeclaration,ir.TSConditionalType,ir.TSConstructSignatureDeclaration,ir.TSConstructorType,ir.TSDeclareFunction,ir.TSDeclareMethod,ir.TSEnumDeclaration,ir.TSEnumMember,ir.TSExportAssignment,ir.TSExpressionWithTypeArguments,ir.TSExternalModuleReference,ir.TSFunctionType,ir.TSImportEqualsDeclaration,ir.TSImportType,ir.TSIndexSignature,ir.TSIndexedAccessType,ir.TSInferType,ir.TSInstantiationExpression,ir.TSInterfaceBody,ir.TSInterfaceDeclaration,ir.TSIntersectionType,ir.TSIntrinsicKeyword,ir.TSLiteralType,ir.TSMappedType,ir.TSMethodSignature,ir.TSModuleBlock,ir.TSModuleDeclaration,ir.TSNamedTupleMember,ir.TSNamespaceExportDeclaration,ir.TSNeverKeyword,ir.TSNonNullExpression,ir.TSNullKeyword,ir.TSNumberKeyword,ir.TSObjectKeyword,ir.TSOptionalType,ir.TSParameterProperty,ir.TSParenthesizedType,ir.TSPropertySignature,ir.TSQualifiedName,ir.TSRestType,ir.TSStringKeyword,ir.TSSymbolKeyword,ir.TSThisType,ir.TSTupleType,ir.TSTypeAliasDeclaration,ir.TSTypeAnnotation,ir.TSTypeAssertion,ir.TSTypeLiteral,ir.TSTypeOperator,ir.TSTypeParameter,ir.TSTypeParameterDeclaration,ir.TSTypeParameterInstantiation,ir.TSTypePredicate,ir.TSTypeQuery,ir.TSTypeReference,ir.TSUndefinedKeyword,ir.TSUnionType,ir.TSUnknownKeyword,ir.TSVoidKeyword,ir.tsPrintClassMemberModifiers,ir.tsPrintFunctionOrConstructorType,ir.tsPrintPropertyOrMethodName,ir.tsPrintSignatureDeclarationBase,ir.tsPrintTypeLiteralOrInterfaceBody;var nr=re((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(Bs).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Bs[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Bs[e]}}))})),Object.keys(js).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===js[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return js[e]}}))})),Object.keys(Ms).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ms[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ms[e]}}))})),Object.keys(Rs).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Rs[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Rs[e]}}))})),Object.keys(Us).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Us[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Us[e]}}))})),Object.keys(qs).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===qs[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return qs[e]}}))})),Object.keys(er).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===er[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return er[e]}}))})),Object.keys(tr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tr[e]}}))})),Object.keys(sr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===sr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return sr[e]}}))})),Object.keys(rr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===rr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return rr[e]}}))})),Object.keys(ir).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ir[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ir[e]}}))}))}));se(nr);var ar=re((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const{isFunction:s,isStatement:r,isClassBody:i,isTSInterfaceBody:n,isTSEnumDeclaration:a}=I.default,o=/e/i,c=/\.0+$/,u=/[\n\r\u2028\u2029]/,l=/[\n\r\u2028\u2029]|\*\//,{needsParens:p}=Ls;class h{constructor(e,t){this.inForStatementInitCounter=0,this._printStack=[],this._indent=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._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.format=e,this._indentRepeat=e.indent.style.length,this._inputMap=null==t?void 0:t._inputMap,this._buf=new _s.default(t,e.indent.style[0])}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),this._noLineTerminator=!1}rightBrace(e){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)}rightParens(e){this.sourceWithOffset("end",e.loc,-1),this.tokenChar(41)}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,t=!1){this._maybePrintInnerComments(),(this._endsWithWord||47===e.charCodeAt(0)&&this.endsWith(47))&&this._space(),this._maybeAddAuxComment(),this._append(e,!1),this._endsWithWord=!0,this._noLineTerminator=t}number(e,t){this.word(e),this._endsWithInteger=Number.isInteger(t)&&!function(e){if(e.length>2&&48===e.charCodeAt(0)){const t=e.charCodeAt(1);return 98===t||111===t||120===t}return!1}(e)&&!o.test(e)&&!c.test(e)&&46!==e.charCodeAt(e.length-1)}token(e,t=!1){this._maybePrintInnerComments();const s=this.getLastChar(),r=e.charCodeAt(0);(33===s&&("--"===e||61===r)||43===r&&43===s||45===r&&45===s||46===r&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._append(e,t),this._noLineTerminator=!1}tokenChar(e){this._maybePrintInnerComments();const t=this.getLastChar();(43===e&&43===t||45===e&&45===t||46===e&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._appendChar(e),this._noLineTerminator=!1}newline(e=1,t){if(!(e<=0)){if(!t){if(this.format.retainLines||this.format.compact)return;if(this.format.concise)return void this.space()}e>2&&(e=2),e-=this._buf.getNewlineCount();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){e?(this._catchUp("start",e),this._buf.exactSource(e,t)):t()}source(e,t){t&&(this._catchUp(e,t),this._buf.source(e,t))}sourceWithOffset(e,t,s){t&&(this._catchUp(e,t),this._buf.sourceWithOffset(e,t,s))}withSource(e,t,s){t?(this._catchUp(e,t),this._buf.withSource(e,t,s)):s()}sourceIdentifierName(e,t){if(!this._buf._canMarkIdName)return;const s=this._buf._sourcePosition;s.identifierNamePos=t,s.identifierName=e}_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._getIndent())}_shouldIndent(e){if(this._indent&&10!==e&&this.endsWith(10))return!0}_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)return;if(47!==t)return void(this._parenPushNewlineState=null)}this.tokenChar(40),this.indent(),t.printed=!0}catchUp(e){if(!this.format.retainLines)return;const t=e-this._buf.getCurrentLine();for(let e=0;e<t;e++)this._newline()}_catchUp(e,t){var s;if(!this.format.retainLines)return;const r=null==t||null==(s=t[e])?void 0:s.line;if(null!=r){const e=r-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);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,r,i){var n,a;if(!e)return;this._endsWithInnerRaw=!1;const o=e.type,c=this.format,u=c.concise;e._compact&&(c.concise=!0);const l=this[o];if(void 0===l)throw new ReferenceError(`unknown node of type ${JSON.stringify(o)} with constructor ${JSON.stringify(e.constructor.name)}`);this._printStack.push(e);const h=this._insideAux;this._insideAux=null==e.loc,this._maybeAddAuxComment(this._insideAux&&!h);const d=null==(n=e.extra)?void 0:n.parenthesized;let f=i||d&&c.retainFunctionParens&&"FunctionExpression"===o||p(e,t,this._printStack);if(!f&&d&&null!=(a=e.leadingComments)&&a.length&&"CommentBlock"===e.leadingComments[0].type){switch(null==t?void 0:t.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(t.callee!==e)break;default:f=!0}}f&&(this.tokenChar(40),this._endsWithInnerRaw=!1),this._lastCommentLine=0,this._printLeadingComments(e,t);const m="Program"===o||"File"===o?null:e.loc;this.exactSource(m,l.bind(this,e,t)),f?(this._printTrailingComments(e,t),this.tokenChar(41),this._noLineTerminator=s):s&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(e,t)):this._printTrailingComments(e,t,r),this._printStack.pop(),c.concise=u,this._insideAux=h,this._endsWithInnerRaw=!1}_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},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;const e=this.format.auxiliaryCommentAfter;e&&this._printComment({type:"CommentBlock",value:e},0)}getPossibleRaw(e){const t=e.extra;if(null!=(null==t?void 0:t.raw)&&null!=t.rawValue&&e.value===t.rawValue)return t.raw}printJoin(e,t,s={}){if(null==e||!e.length)return;let{indent:r}=s;if(null==r&&this.format.retainLines){var i;const t=null==(i=e[0].loc)?void 0:i.start.line;null!=t&&t!==this._buf.getCurrentLine()&&(r=!0)}r&&this.indent();const n={addNewlines:s.addNewlines,nextNodeStartLine:0},a=s.separator?s.separator.bind(this):null,o=e.length;for(let r=0;r<o;r++){const i=e[r];var c;if(i)if(s.statement&&this._printNewline(0===r,n),this.print(i,t,void 0,s.trailingCommentsLineOffset||0),null==s.iterator||s.iterator(i,r),r<o-1&&(null==a||a()),s.statement)if(null!=(c=i.trailingComments)&&c.length||(this._lastCommentLine=0),r+1===o)this.newline(1);else{var u;const t=e[r+1];n.nextNodeStartLine=(null==(u=t.loc)?void 0:u.start.line)||0,this._printNewline(!0,n)}}r&&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,t,s){const{innerComments:r,trailingComments:i}=e;null!=r&&r.length&&this._printComments(2,r,e,t,s),null!=i&&i.length&&this._printComments(2,i,e,t,s)}_printLeadingComments(e,t){const s=e.leadingComments;null!=s&&s.length&&this._printComments(0,s,e,t)}_maybePrintInnerComments(){this._endsWithInnerRaw&&this.printInnerComments(),this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(){const e=this._printStack[this._printStack.length-1],t=e.innerComments;if(null==t||!t.length)return;const s=this.endsWith(32),r=this._indentInnerComments,i=this._printedComments.size;r&&this.indent(),this._printComments(1,t,e),s&&i!==this._printedComments.size&&this.space(),r&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(e,t,s={}){s.statement=!0,null!=s.indent||(s.indent=!1),this.printJoin(e,t,s)}printList(e,t,s={}){null==s.separator&&(s.separator=d),this.printJoin(e,t,s)}_printNewline(e,t){const s=this.format;if(s.retainLines||s.compact)return;if(s.concise)return void this.space();if(!e)return;const r=t.nextNodeStartLine,i=this._lastCommentLine;if(r>0&&i>0){const e=r-i;if(e>=0)return void this.newline(e||1)}this._buf.hasContent()&&this.newline(1)}_shouldPrintComment(e){return e.ignore||this._printedComments.has(e)?0:this._noLineTerminator&&l.test(e.value)?2:(this._printedComments.add(e),this.format.shouldPrintComment(e.value)?1:0)}_printComment(e,t){const s=this._noLineTerminator,r="CommentBlock"===e.type,i=r&&1!==t&&!this._noLineTerminator;i&&this._buf.hasContent()&&2!==t&&this.newline(1);const n=this.getLastChar();let a;if(91!==n&&123!==n&&this.space(),r){const{_parenPushNewlineState:t}=this;if(!1===(null==t?void 0:t.printed)&&u.test(e.value)&&(this.tokenChar(40),this.indent(),t.printed=!0),a=`/*${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");a=a.replace(e,"\n")}if(this.format.concise)a=a.replace(/\n(?!$)/g,"\n");else{let e=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&(e+=this._getIndent()),a=a.replace(/\n(?!$)/g,`\n${" ".repeat(e)}`)}}}else a=s?`/*${e.value}*/`:`//${e.value}`;this.endsWith(47)&&this._space(),this.source("start",e.loc),this._append(a,r),r||s||this.newline(1,!0),i&&3!==t&&this.newline(1)}_printComments(e,t,o,c,l=0){const p=o.loc,h=t.length;let d=!!p;const f=d?p.start.line:0,m=d?p.end.line:0;let y=0,g=0;const x=this._noLineTerminator?function(){}:this.newline.bind(this);for(let p=0;p<h;p++){const v=t[p],b=this._shouldPrintComment(v);if(2===b){d=!1;break}if(d&&v.loc&&1===b){const t=v.loc.start.line,s=v.loc.end.line;if(0===e){let e=0;0===p?!this._buf.hasContent()||"CommentLine"!==v.type&&t==s||(e=g=1):e=t-y,y=s,x(e),this._printComment(v,1),p+1===h&&(x(Math.max(f-y,g)),y=f)}else if(1===e){const e=t-(0===p?f:y);y=s,x(e),this._printComment(v,1),p+1===h&&(x(Math.min(1,m-y)),y=m)}else{const e=t-(0===p?m-l:y);y=s,x(e),this._printComment(v,1)}}else{if(d=!1,1!==b)continue;if(1===h){const t=v.loc?v.loc.start.line===v.loc.end.line:!u.test(v.value),l=t&&!r(o)&&!i(c)&&!n(c)&&!a(c);0===e?this._printComment(v,l&&"ObjectExpression"!==o.type||t&&s(c,{body:o})?1:0):l&&2===e?this._printComment(v,1):this._printComment(v,0)}else 1!==e||"ObjectExpression"===o.type&&o.properties.length>1||"ClassBody"===o.type||"TSInterfaceBody"===o.type?this._printComment(v,0):this._printComment(v,0===p?2:p===h-1?3:0)}}2===e&&d&&y&&(this._lastCommentLine=y)}}function d(){this.tokenChar(44),this.space()}Object.assign(h.prototype,nr),h.prototype.Noop=function(){},t.default=h}));se(ar);var or=re((function(e,t){function s(e,t){var s;const r={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:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},t.jsescOption),recordAndTupleSyntaxType:null!=(s=t.recordAndTupleSyntaxType)?s:"hash",topicToken:t.topicToken,importAttributesKeyword:t.importAttributesKeyword};r.decoratorsBeforeExport=t.decoratorsBeforeExport,r.jsescOption.json=t.jsonCompatibleStrings,r.minified?(r.compact=!0,r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)):r.shouldPrintComment=r.shouldPrintComment||(e=>r.comments||e.includes("@license")||e.includes("@preserve")),"auto"===r.compact&&(r.compact="string"==typeof e&&e.length>5e5,r.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${t.filename} as it exceeds the max of 500KB.`)),r.compact&&(r.indent.adjustMultilineComment=!1);const{auxiliaryCommentBefore:i,auxiliaryCommentAfter:n,shouldPrintComment:a}=r;return i&&!a(i)&&(r.auxiliaryCommentBefore=void 0),n&&!a(n)&&(r.auxiliaryCommentAfter=void 0),r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t={},r){const i=s(r,t),n=t.sourceMaps?new Is.default(t,r):null;return new ar.default(i,n).generate(e)},t.CodeGenerator=class{constructor(e,t={},r){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=e,this._format=s(r,t),this._map=t.sourceMaps?new Is.default(t,r):null}generate(){return new ar.default(this._format,this._map).generate(this._ast)}}})),cr=se(or);or.CodeGenerator;let ur,lr,pr=e=>((e=>{!ur||ur.length<e?(ur=Buffer.allocUnsafe(128*e),O.default.randomFillSync(ur),lr=0):lr+e>ur.length&&(O.default.randomFillSync(ur),lr=0),lr+=e})(e-=0),ur.subarray(lr-e,lr));var hr=((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,pr))("0123456789abcdefghijklmnopqrstuvwxyz",6),dr=function(e,t,s){var r=[],i=[],n=k.readFileSync(e.path+"/"+e.fileName,"utf-8"),a=n.includes("this.props?.children")||n.includes("this.props.children");n=(n=n.replace("{$eval(() => this.props?.children)}","<Outlet />")).replace("{$eval(() => this.props.children)}","<Outlet />"),"vite"===t&&(n=n.replace("constants = constants;","constants = constants;\n history = utils.history;"));var o=rt("".concat(n),{sourceType:"module",plugins:["jsx","typescript","decorators-legacy"]});if(F.default(o,{Program:function(e){var r=e.node.body;r.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 i=r.find((function(e){return e.source&&"ruoqing-components"===e.source.value}));i&&["$eval","$createChildContext","$evalArray"].forEach((function(e){i.specifiers.push(_.importSpecifier(_.identifier(e),_.identifier(e)))}));var n=r.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)}));i&&n>-1&&(r.splice(n,1),i.specifiers.push(_.importSpecifier(_.identifier("dataSource"),_.identifier("dataSource"))));var o=r.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)}));i&&o>-1&&(r.splice(o,1),i.specifiers.push(_.importSpecifier(_.identifier("requestHandle"),_.identifier("requestHandle"))));var c=r.findIndex((function(e){var t;return"./index.css"===(null===(t=null==e?void 0:e.source)||void 0===t?void 0:t.value)}));r.splice(c,1,_.importDeclaration([],_.stringLiteral("vite"===t?"./index.css":"./index.scss")));var u=Q(rt("const { px, RefsManager, $eval, $evalArray, $createChildContext } = utils;",{sourceType:"module",plugins:["jsx","typescript","decorators-legacy"]}).program.body,1)[0];if(r.splice(c+1,0,u),a){var l=_.importDeclaration([_.importSpecifier(_.identifier("Outlet"),_.identifier("Outlet"))],_.stringLiteral("react-router-dom"));r.splice(c+2,0,l)}},ImportDeclaration:function(e){var t,s,r;e.node.specifiers&&e.node.specifiers.length>0&&(e.node.specifiers=e.node.specifiers.filter((function(e){return!(e.imported&&"Component"===e.imported.name)}))),"StringLiteral"===(null===(t=e.node.source)||void 0===t?void 0:t.type)&&(null===(r=null===(s=e.node)||void 0===s?void 0:s.source)||void 0===r?void 0:r.value)&&(e.node.source.value=e.node.source.value.replace("/src/index.tsx",""))},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(_.jsxExpressionContainer(_.callExpression(_.identifier("px"),[_.numericLiteral(Number(n))]))):e.replaceWith(_.callExpression(_.identifier("px"),[_.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)||hr(6)))}u||(u="svg_".concat(hr(6))),i.findIndex((function(e){return e.fileName===u}))>-1&&(u="".concat(u,"_").concat(hr(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(_.jsxAttribute(_.jsxIdentifier("svg"),_.jsxExpressionContainer(_.memberExpression(_.identifier("ICONS"),_.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 f=e.container.find((function(e){return"className"===e.name.name}));if(f){var m=(d=null===(c=null==f?void 0:f.value)||void 0===c?void 0:c.value).split("__");d=(m.length>0?m[m.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=_.jSXExpressionContainer(_.identifier(x));e.node.value=d?v:null,r.push({url:y,fileName:g,line:_.importDeclaration([_.importDefaultSpecifier(_.identifier(x))],_.stringLiteral("./images/".concat(g)))})}}},Identifier:function(e){"__$$context"===e.node.name&&"CallExpression"===e.parentPath.type&&(e.node.name="this")},FunctionExpression:function(e){if("JSXExpressionContainer"===e.parent.type){var t=_.arrowFunctionExpression(e.node.params,e.node.body,!1);e.replaceWith(t)}},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;_.isMemberExpression(t.callee)&&_.isIdentifier(t.callee.property,{name:"stopPropagation"})&&e.replaceWith(_.optionalCallExpression(_.memberExpression(t.callee.object,_.identifier("stopPropagation")),[],!0))}}),i.length>0){var c=!1;F.default(o,{ImportDeclaration:function(e){if(!c){var t=_.importDeclaration([_.importDefaultSpecifier(_.identifier("ICONS"))],_.stringLiteral("./icons"));e.insertBefore(t),c=!0}}})}if(r.length>0){var u=!1;F.default(o,{ImportDeclaration:function(e){u||(r.forEach((function(t){e.insertBefore(t.line)})),u=!0)}})}return{code:cr(o).code,images:r,svgs:i}},fr=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)}},mr=Object.prototype.toString,yr=function(e){return function(t){var s=mr.call(t);return e[s]||(e[s]=s.slice(8,-1).toLowerCase())}}(Object.create(null));function gr(e){return e=e.toLowerCase(),function(t){return yr(t)===e}}function xr(e){return Array.isArray(e)}function vr(e){return void 0===e}var br=gr("ArrayBuffer");function Er(e){return null!==e&&"object"==typeof e}function Cr(e){if("object"!==yr(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var Ar=gr("Date"),wr=gr("File"),Dr=gr("Blob"),Tr=gr("FileList");function Sr(e){return"[object Function]"===mr.call(e)}var Pr=gr("URLSearchParams");function kr(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),xr(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 Nr,Ir=(Nr="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return Nr&&e instanceof Nr}),_r={isArray:xr,isArrayBuffer:br,isBuffer:function(e){return null!==e&&!vr(e)&&null!==e.constructor&&!vr(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||mr.call(e)===t||Sr(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&br(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:Er,isPlainObject:Cr,isUndefined:vr,isDate:Ar,isFile:wr,isBlob:Dr,isFunction:Sr,isStream:function(e){return Er(e)&&Sr(e.pipe)},isURLSearchParams:Pr,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:kr,merge:function e(){var t={};function s(s,r){Cr(t[r])&&Cr(s)?t[r]=e(t[r],s):Cr(s)?t[r]=e({},s):xr(s)?t[r]=s.slice():t[r]=s}for(var r=0,i=arguments.length;r<i;r++)kr(arguments[r],s);return t},extend:function(e,t,s){return kr(t,(function(t,r){e[r]=s&&"function"==typeof t?fr(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:yr,kindOfTest:gr,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(vr(t))return null;for(var s=new Array(t);t-- >0;)s[t]=e[t];return s},isTypedArray:Ir,isFileList:Tr};function Fr(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Or=function(e,t,s){if(!t)return e;var r;if(s)r=s(t);else if(_r.isURLSearchParams(t))r=t.toString();else{var i=[];_r.forEach(t,(function(e,t){null!=e&&(_r.isArray(e)?t+="[]":e=[e],_r.forEach(e,(function(e){_r.isDate(e)?e=e.toISOString():_r.isObject(e)&&(e=JSON.stringify(e)),i.push(Fr(t)+"="+Fr(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 Lr(){this.handlers=[]}Lr.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},Lr.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},Lr.prototype.forEach=function(e){_r.forEach(this.handlers,(function(t){null!==t&&e(t)}))};var Br=Lr,jr=function(e,t){_r.forEach(e,(function(s,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=s,delete e[r])}))};function Mr(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)}_r.inherits(Mr,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 Rr=Mr.prototype,Ur={};["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){Ur[e]={value:e}})),Object.defineProperties(Mr,Ur),Object.defineProperty(Rr,"isAxiosError",{value:!0}),Mr.from=function(e,t,s,r,i,n){var a=Object.create(Rr);return _r.toFlatObject(e,a,(function(e){return e!==Error.prototype})),Mr.call(a,e.message,t,s,r,i),a.name=e.name,n&&Object.assign(a,n),a};var qr=Mr,$r={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};var zr=function(e,t){t=t||new FormData;var s=[];function r(e){return null===e?"":_r.isDate(e)?e.toISOString():_r.isArrayBuffer(e)||_r.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(i,n){if(_r.isPlainObject(i)||_r.isArray(i)){if(-1!==s.indexOf(i))throw Error("Circular reference detected in "+n);s.push(i),_r.forEach(i,(function(s,i){if(!_r.isUndefined(s)){var a,o=n?n+"."+i:i;if(s&&!n&&"object"==typeof s)if(_r.endsWith(i,"{}"))s=JSON.stringify(s);else if(_r.endsWith(i,"[]")&&(a=_r.toArray(s)))return void a.forEach((function(e){!_r.isUndefined(e)&&t.append(o,r(e))}));e(s,o)}})),s.pop()}else t.append(n,r(i))}(e),t},Hr=function(e,t,s){var r=s.config.validateStatus;s.status&&r&&!r(s.status)?t(new qr("Request failed with status code "+s.status,[qr.ERR_BAD_REQUEST,qr.ERR_BAD_RESPONSE][Math.floor(s.status/100)-4],s.config,s.request,s)):e(s)},Vr=_r.isStandardBrowserEnv()?{write:function(e,t,s,r,i,n){var a=[];a.push(e+"="+encodeURIComponent(t)),_r.isNumber(s)&&a.push("expires="+new Date(s).toGMTString()),_r.isString(r)&&a.push("path="+r),_r.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(){}},Gr=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},Wr=["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"],Jr=_r.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=_r.isString(t)?r(t):t;return s.protocol===e.protocol&&s.host===e.host}}():function(){return!0};function Xr(e){qr.call(this,null==e?"canceled":e,qr.ERR_CANCELED),this.name="CanceledError"}_r.inherits(Xr,qr,{__CANCEL__:!0});var Kr=Xr,Yr=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)}_r.isFormData(i)&&_r.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=Gr(e.baseURL,e.url);function h(){if(c){var r="getAllResponseHeaders"in c?function(e){var t,s,r,i={};return e?(_r.forEach(e.split("\n"),(function(e){if(r=e.indexOf(":"),t=_r.trim(e.substr(0,r)).toLowerCase(),s=_r.trim(e.substr(r+1)),t){if(i[t]&&Wr.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};Hr((function(e){t(e),o()}),(function(e){s(e),o()}),i),c=null}}if(c.open(e.method.toUpperCase(),Or(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 qr("Request aborted",qr.ECONNABORTED,e,c)),c=null)},c.onerror=function(){s(new qr("Network Error",qr.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||$r;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),s(new qr(t,r.clarifyTimeoutError?qr.ETIMEDOUT:qr.ECONNABORTED,e,c)),c=null},_r.isStandardBrowserEnv()){var d=(e.withCredentials||Jr(p))&&e.xsrfCookieName?Vr.read(e.xsrfCookieName):void 0;d&&(n[e.xsrfHeaderName]=d)}"setRequestHeader"in c&&_r.forEach(n,(function(e,t){void 0===i&&"content-type"===t.toLowerCase()?delete n[t]:c.setRequestHeader(t,e)})),_r.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 Kr: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 f=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(p);f&&-1===["http","https","file"].indexOf(f)?s(new qr("Unsupported protocol "+f+":",qr.ERR_BAD_REQUEST,e)):c.send(i)}))},Zr=1e3,Qr=6e4,ei=60*Qr,ti=24*ei,si=7*ti,ri=365.25*ti,ii=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*ri;case"weeks":case"week":case"w":return s*si;case"days":case"day":case"d":return s*ti;case"hours":case"hour":case"hrs":case"hr":case"h":return s*ei;case"minutes":case"minute":case"mins":case"min":case"m":return s*Qr;case"seconds":case"second":case"secs":case"sec":case"s":return s*Zr;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>=ti)return ni(e,t,ti,"day");if(t>=ei)return ni(e,t,ei,"hour");if(t>=Qr)return ni(e,t,Qr,"minute");if(t>=Zr)return ni(e,t,Zr,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=ti)return Math.round(e/ti)+"d";if(t>=ei)return Math.round(e/ei)+"h";if(t>=Qr)return Math.round(e/Qr)+"m";if(t>=Zr)return Math.round(e/Zr)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function ni(e,t,s,r){var i=t>=1.5*s;return Math.round(e/s)+" "+r+(i?"s":"")}var ai=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=ii,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},oi=re((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=ai(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}));oi.formatArgs,oi.save,oi.load,oi.useColors,oi.storage,oi.destroy,oi.colors,oi.log;var ci=re((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(U.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):D.default.isatty(process.stderr.fd)},t.destroy=U.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=Ee;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=ai(t);const{formatters:s}=e.exports;s.o=function(e){return this.inspectOpts.colors=this.useColors,U.default.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},s.O=function(e){return this.inspectOpts.colors=this.useColors,U.default.inspect(e,this.inspectOpts)}}));ci.init,ci.log,ci.formatArgs,ci.save,ci.load,ci.useColors,ci.destroy,ci.colors,ci.inspectOpts;var ui,li=re((function(e){"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=oi:e.exports=ci})),pi=function(){if(!ui){try{ui=li("follow-redirects")}catch(e){}"function"!=typeof ui&&(ui=function(){})}ui.apply(null,arguments)},hi=j.default.URL,di=M.default.Writable,fi=!1;try{R.default(new hi)}catch(e){fi="ERR_INVALID_URL"===e.code}var mi=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],yi=["abort","aborted","connect","error","socket","timeout"],gi=Object.create(null);yi.forEach((function(e){gi[e]=function(t,s,r){this._redirectable.emit(e,t,s,r)}}));var xi=Ii("ERR_INVALID_URL","Invalid URL",TypeError),vi=Ii("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),bi=Ii("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",vi),Ei=Ii("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),Ci=Ii("ERR_STREAM_WRITE_AFTER_END","write after end"),Ai=di.prototype.destroy||Ti;function wi(e,t){di.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){try{s._processResponse(e)}catch(e){s.emit("error",e instanceof vi?e:new vi({cause:e}))}},this._performRequest()}function Di(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){var a;return a=e,hi&&a instanceof hi?e=ki(e):Fi(e)?e=ki(Si(e)):(n=r,r=Pi(e),e={protocol:i}),Oi(r)&&(n=r,r=null),(r=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,r)).nativeProtocols=s,Fi(r.host)||Fi(r.hostname)||(r.hostname="::1"),R.default.equal(r.protocol,i,"protocol mismatch"),pi("options",r),new wi(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 Ti(){}function Si(e){var t;if(fi)t=new hi(e);else if(!Fi((t=Pi(j.default.parse(e))).protocol))throw new xi({input:e});return t}function Pi(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new xi({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new xi({input:e.href||e});return e}function ki(e,t){var s=t||{};for(var r of mi)s[r]=e[r];return s.hostname.startsWith("[")&&(s.hostname=s.hostname.slice(1,-1)),""!==s.port&&(s.port=Number(s.port)),s.path=s.search?s.pathname+s.search:s.pathname,s}function Ni(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 Ii(e,t,s){function r(s){Error.captureStackTrace(this,this.constructor),Object.assign(this,s||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return r.prototype=new(s||Error),Object.defineProperties(r.prototype,{constructor:{value:r,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),r}function _i(e,t){for(var s of yi)e.removeListener(s,gi[s]);e.on("error",Ti),e.destroy(t)}function Fi(e){return"string"==typeof e||e instanceof String}function Oi(e){return"function"==typeof e}wi.prototype=Object.create(di.prototype),wi.prototype.abort=function(){_i(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},wi.prototype.destroy=function(e){return _i(this._currentRequest,e),Ai.call(this,e),this},wi.prototype.write=function(e,t,s){if(this._ending)throw new Ci;if(!Fi(e)&&("object"!=typeof(r=e)||!("length"in r)))throw new TypeError("data should be a string, Buffer or Uint8Array");var r;Oi(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 Ei),this.abort()):s&&s()},wi.prototype.end=function(e,t,s){if(Oi(e)?(s=e,e=t=null):Oi(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)},wi.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},wi.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},wi.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),s.removeListener("close",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.on("close",n),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){wi.prototype[e]=function(t,s){return this._currentRequest[e](t,s)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(wi.prototype,e,{get:function(){return this._currentRequest[e]}})})),wi.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))}},wi.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);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,yi))r.on(i,gi[i]);if(this._currentUrl=/^\//.test(this._options.path)?j.default.format(this._options):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()}()}},wi.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var s,r=e.headers.location;if(!r||!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(_i(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new bi;var i=this._options.beforeRedirect;i&&(s=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=[],Ni(/^content-/i,this._options.headers));var a=Ni(/^host$/i,this._options.headers),o=Si(this._currentUrl),c=a||o.host,u=/^\w+:/.test(r)?this._currentUrl:j.default.format(Object.assign(o,{host:c})),l=function(e,t){return fi?new hi(e,t):Si(j.default.resolve(t,e))}(r,u);if(pi("redirecting to",l.href),this._isRedirect=!0,ki(l,this._options),(l.protocol!==o.protocol&&"https:"!==l.protocol||l.host!==c&&!function(e,t){R.default(Fi(e)&&Fi(t));var s=e.length-t.length-1;return s>0&&"."===e[s]&&e.endsWith(t)}(l.host,c))&&Ni(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),Oi(i)){var p={headers:e.headers,statusCode:t},h={url:u,method:n,headers:s};i(this._options,p,h),this._sanitizeOptions(this._options)}this._performRequest()};var Li=Di({http:L.default,https:B.default}),Bi=Di;Li.wrap=Bi;var ji="0.27.2",Mi=Li.http,Ri=Li.https,Ui=ji,qi=/https:?/,$i=["http:","https:","file:"];function zi(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,zi(e,t,e.href)}}var Hi=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/"+Ui,_r.isFormData(c)&&_r.isFunction(c.getHeaders))Object.assign(u,c.getHeaders());else if(c&&!_r.isStream(c)){if(Buffer.isBuffer(c));else if(_r.isArrayBuffer(c))c=Buffer.from(new Uint8Array(c));else{if(!_r.isString(c))return o(new qr("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",qr.ERR_BAD_REQUEST,e));c=Buffer.from(c,"utf-8")}if(e.maxBodyLength>-1&&c.length>e.maxBodyLength)return o(new qr("Request body larger than maxBodyLength limit",qr.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=Gr(e.baseURL,e.url),d=j.default.parse(h),f=d.protocol||$i[0];if(-1===$i.indexOf(f))return o(new qr("Unsupported protocol "+f,qr.ERR_BAD_REQUEST,e));if(!p&&d.auth){var m=d.auth.split(":");p=(m[0]||"")+":"+(m[1]||"")}p&&l.authorization&&delete u[l.authorization];var y=qi.test(f),g=y?e.httpsAgent:e.httpAgent;try{Or(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:Or(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=f.slice(0,-1)+"_proxy",A=process.env[C]||process.env[C.toUpperCase()];if(A){var w=j.default.parse(A),D=process.env.no_proxy||process.env.NO_PROXY,T=!0;if(D){var S=D.split(",").map((function(e){return e.trim()}));T=!S.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 P=w.auth.split(":");E.auth={username:P[0],password:P[1]}}}}E&&(v.headers.host=d.hostname+(d.port?":"+d.port:""),zi(v,E,f+"//"+d.hostname+(d.port?":"+d.port:"")+v.path));var k=y&&(!E||qi.test(E.protocol));e.transport?b=e.transport:0===e.maxRedirects?b=k?B.default:L.default:(e.maxRedirects&&(v.maxRedirects=e.maxRedirects),e.beforeRedirect&&(v.beforeRedirect=e.beforeRedirect),b=k?Ri:Mi),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(q.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,Hr(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 qr("maxContentLength size of "+e.maxContentLength+" exceeded",qr.ERR_BAD_RESPONSE,e,r)))})),s.on("aborted",(function(){a||(s.destroy(),o(new qr("maxContentLength size of "+e.maxContentLength+" exceeded",qr.ERR_BAD_RESPONSE,e,r)))})),s.on("error",(function(t){N.aborted||o(qr.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=_r.stripBOM(t))),i.data=t}catch(t){o(qr.from(t,null,e,i.request,i))}Hr(n,o,i)}))}}}));if(N.on("error",(function(t){o(qr.from(t,null,e,N))})),N.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){var I=parseInt(e.timeout,10);if(isNaN(I))return void o(new qr("error trying to parse `config.timeout` to int",qr.ERR_BAD_OPTION_VALUE,e,N));N.setTimeout(I,(function(){N.abort();var t=e.transitional||$r;o(new qr("timeout of "+I+"ms exceeded",t.clarifyTimeoutError?qr.ETIMEDOUT:qr.ECONNABORTED,e,N))}))}(e.cancelToken||e.signal)&&(r=function(e){N.aborted||(N.abort(),o(!e||e&&e.type?new Kr:e))},e.cancelToken&&e.cancelToken.subscribe(r),e.signal&&(e.signal.aborted?r():e.signal.addEventListener("abort",r))),_r.isStream(c)?c.on("error",(function(t){o(qr.from(t,e,null,N))})).pipe(N):N.end(c)}))},Vi=M.default.Stream,Gi=Wi;function Wi(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}U.default.inherits(Wi,Vi),Wi.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(Wi.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),Wi.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},Wi.prototype.resume=function(){this._released||this.release(),this.source.resume()},Wi.prototype.pause=function(){this.source.pause()},Wi.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},Wi.prototype.pipe=function(){var e=Vi.prototype.pipe.apply(this,arguments);return this.resume(),e},Wi.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))},Wi.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 Ji=M.default.Stream,Xi=Ki;function Ki(){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}U.default.inherits(Ki,Ji),Ki.create=function(e){var t=new this;for(var s in e=e||{})t[s]=e[s];return t},Ki.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},Ki.prototype.append=function(e){if(Ki.isStreamLike(e)){if(!(e instanceof Gi)){var t=Gi.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},Ki.prototype.pipe=function(e,t){return Ji.prototype.pipe.call(this,e,t),this.resume(),e},Ki.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}}},Ki.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){Ki.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},Ki.prototype._pipeNext=function(e){if(this._currentStream=e,Ki.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},Ki.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},Ki.prototype.write=function(e){this.emit("data",e)},Ki.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},Ki.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")},Ki.prototype.end=function(){this._reset(),this.emit("end")},Ki.prototype.destroy=function(){this._reset(),this.emit("close")},Ki.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},Ki.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},Ki.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)},Ki.prototype._emitError=function(e){this._reset(),this.emit("error",e)};var Yi=ie(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}}})),Zi=re((function(e,t){var s=T.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&&Yi[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(Yi).forEach((function(r){var i=Yi[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(Yi[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)}));Zi.charset,Zi.charsets,Zi.contentType,Zi.extension,Zi.extensions,Zi.lookup,Zi.types;var Qi=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 en=function(e){var t=!1;return Qi((function(){t=!0})),function(s,r){t?e(s,r):Qi((function(){e(s,r)}))}};var tn=function(e){Object.keys(e.jobs).forEach(sn.bind(e)),e.jobs={}};function sn(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}var rn=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,en(r)):e(s,t,en(r));return i}(t,i,e[i],(function(e,t){i in s.jobs&&(delete s.jobs[i],e?tn(s):s.results[i]=t,r(e,s.results))}))};var nn=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 an=function(e){if(!Object.keys(this.jobs).length)return;this.index=this.size,tn(this),en(e)(null,this.results)};var on=function(e,t,s){var r=nn(e);for(;r.index<(r.keyedList||e).length;)rn(e,t,r,(function(e,t){e?s(e,t):0!==Object.keys(r.jobs).length||s(null,r.results)})),r.index++;return an.bind(r,s)};var cn=function(e,t,s,r){var i=nn(e,s);return rn(e,t,i,(function s(n,a){n?r(n,a):(i.index++,i.index<(i.keyedList||e).length?rn(e,t,i,s):r(null,i.results))})),an.bind(i,r)},un=pn,ln=function(e,t){return-1*pn(e,t)};function pn(e,t){return e<t?-1:e>t?1:0}cn.ascending=un,cn.descending=ln;var hn={parallel:on,serial:function(e,t,s){return cn(e,t,null,s)},serialOrdered:cn},dn=function(e,t){return Object.keys(t).forEach((function(s){e[s]=e[s]||t[s]})),e},fn=j.default.parse,mn=M.default.Stream,yn=gn;function gn(e){if(!(this instanceof gn))return new gn(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Xi.call(this),e=e||{})this[t]=e[t]}U.default.inherits(gn,Xi),gn.LINE_BREAK="\r\n",gn.DEFAULT_CONTENT_TYPE="application/octet-stream",gn.prototype.append=function(e,t,s){"string"==typeof(s=s||{})&&(s={filename:s});var r=Xi.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),U.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)}},gn.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)+gn.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof mn)&&(s.knownLength||this._valuesToMeasure.push(t))},gn.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)):N.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")},gn.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&&dn(o,s.header),o)o.hasOwnProperty(c)&&null!=(r=o[c])&&(Array.isArray(r)||(r=[r]),r.length&&(a+=c+": "+r.join("; ")+gn.LINE_BREAK));return"--"+this.getBoundary()+gn.LINE_BREAK+a+gn.LINE_BREAK},gn.prototype._getContentDisposition=function(e,t){var s,r;return"string"==typeof t.filepath?s=T.default.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?s=T.default.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(s=T.default.basename(e.client._httpMessage.path||"")),s&&(r='filename="'+s+'"'),r},gn.prototype._getContentType=function(e,t){var s=t.contentType;return!s&&e.name&&(s=Zi.lookup(e.name)),!s&&e.path&&(s=Zi.lookup(e.path)),!s&&e.readable&&e.hasOwnProperty("httpVersion")&&(s=e.headers["content-type"]),s||!t.filepath&&!t.filename||(s=Zi.lookup(t.filepath||t.filename)),s||"object"!=typeof e||(s=gn.DEFAULT_CONTENT_TYPE),s},gn.prototype._multiPartFooter=function(){return function(e){var t=gn.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},gn.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+gn.LINE_BREAK},gn.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},gn.prototype.setBoundary=function(e){this._boundary=e},gn.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},gn.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(gn.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},gn.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},gn.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},gn.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},gn.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?hn.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))},gn.prototype.submit=function(e,t){var s,r,i={method:"post"};return"string"==typeof e?(e=fn(e),r=dn({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i)):(r=dn(e,i)).port||(r.port="https:"==r.protocol?443:80),r.headers=this.getHeaders(e.headers),s="https:"==r.protocol?B.default.request(r):L.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},gn.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},gn.prototype.toString=function(){return"[object FormData]"};var xn=yn,vn={"Content-Type":"application/x-www-form-urlencoded"};function bn(e,t){!_r.isUndefined(e)&&_r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var En,Cn={transitional:$r,adapter:("undefined"!=typeof XMLHttpRequest?En=Yr:"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process)&&(En=Hi),En),transformRequest:[function(e,t){if(jr(t,"Accept"),jr(t,"Content-Type"),_r.isFormData(e)||_r.isArrayBuffer(e)||_r.isBuffer(e)||_r.isStream(e)||_r.isFile(e)||_r.isBlob(e))return e;if(_r.isArrayBufferView(e))return e.buffer;if(_r.isURLSearchParams(e))return bn(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var s,r=_r.isObject(e),i=t&&t["Content-Type"];if((s=_r.isFileList(e))||r&&"multipart/form-data"===i){var n=this.env&&this.env.FormData;return zr(s?{"files[]":e}:e,n&&new n)}return r||"application/json"===i?(bn(t,"application/json"),function(e,t,s){if(_r.isString(e))try{return(t||JSON.parse)(e),_r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(s||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||Cn.transitional,s=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,i=!s&&"json"===this.responseType;if(i||r&&_r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw qr.from(e,qr.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:xn},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};_r.forEach(["delete","get","head"],(function(e){Cn.headers[e]={}})),_r.forEach(["post","put","patch"],(function(e){Cn.headers[e]=_r.merge(vn)}));var An=Cn,wn=function(e,t,s){var r=this||An;return _r.forEach(s,(function(s){e=s.call(r,e,t)})),e},Dn=function(e){return!(!e||!e.__CANCEL__)};function Tn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Kr}var Sn=function(e){return Tn(e),e.headers=e.headers||{},e.data=wn.call(e,e.data,e.headers,e.transformRequest),e.headers=_r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),_r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||An.adapter)(e).then((function(t){return Tn(e),t.data=wn.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return Dn(t)||(Tn(e),t&&t.response&&(t.response.data=wn.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))},Pn=function(e,t){t=t||{};var s={};function r(e,t){return _r.isPlainObject(e)&&_r.isPlainObject(t)?_r.merge(e,t):_r.isPlainObject(t)?_r.merge({},t):_r.isArray(t)?t.slice():t}function i(s){return _r.isUndefined(t[s])?_r.isUndefined(e[s])?void 0:r(void 0,e[s]):r(e[s],t[s])}function n(e){if(!_r.isUndefined(t[e]))return r(void 0,t[e])}function a(s){return _r.isUndefined(t[s])?_r.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 _r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||i,r=t(e);_r.isUndefined(r)&&t!==o||(s[e]=r)})),s},kn=ji,Nn={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){Nn[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}}));var In={};Nn.transitional=function(e,t,s){function r(e,t){return"[Axios v"+kn+"] Transitional option '"+e+"'"+t+(s?". "+s:"")}return function(s,i,n){if(!1===e)throw new qr(r(i," has been removed"+(t?" in "+t:"")),qr.ERR_DEPRECATED);return t&&!In[i]&&(In[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 _n={assertOptions:function(e,t,s){if("object"!=typeof e)throw new qr("options must be an object",qr.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 qr("option "+n+" must be "+c,qr.ERR_BAD_OPTION_VALUE)}else if(!0!==s)throw new qr("Unknown option "+n,qr.ERR_BAD_OPTION)}},validators:Nn},Fn=_n.validators;function On(e){this.defaults=e,this.interceptors={request:new Br,response:new Br}}On.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=Pn(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&&_n.assertOptions(s,{silentJSONParsing:Fn.transitional(Fn.boolean),forcedJSONParsing:Fn.transitional(Fn.boolean),clarifyTimeoutError:Fn.transitional(Fn.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=[Sn,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=Sn(c)}catch(e){return Promise.reject(e)}for(;a.length;)n=n.then(a.shift(),a.shift());return n},On.prototype.getUri=function(e){e=Pn(this.defaults,e);var t=Gr(e.baseURL,e.url);return Or(t,e.params,e.paramsSerializer)},_r.forEach(["delete","get","head","options"],(function(e){On.prototype[e]=function(t,s){return this.request(Pn(s||{},{method:e,url:t,data:(s||{}).data}))}})),_r.forEach(["post","put","patch"],(function(e){function t(t){return function(s,r,i){return this.request(Pn(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:s,data:r}))}}On.prototype[e]=t(),On.prototype[e+"Form"]=t(!0)}));var Ln=On;function Bn(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 Kr(e),t(s.reason))}))}Bn.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},Bn.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},Bn.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},Bn.source=function(){var e;return{token:new Bn((function(t){e=t})),cancel:e}};var jn=Bn;var Mn=function e(t){var s=new Ln(t),r=fr(Ln.prototype.request,s);return _r.extend(r,Ln.prototype,s),_r.extend(r,s),r.create=function(s){return e(Pn(t,s))},r}(An);Mn.Axios=Ln,Mn.CanceledError=Kr,Mn.CancelToken=jn,Mn.isCancel=Dn,Mn.VERSION=ji,Mn.toFormData=zr,Mn.AxiosError=qr,Mn.Cancel=Mn.CanceledError,Mn.all=function(e){return Promise.all(e)},Mn.spread=function(e){return function(t){return e.apply(null,t)}},Mn.isAxiosError=function(e){return _r.isObject(e)&&!0===e.isAxiosError};var Rn=Mn,Un=Mn;Rn.default=Un;var qn=Rn,$n=function(e){var t=T.default.join(w.default.homedir(),".cache",e);return N.default.existsSync(t)||N.default.mkdirSync(t,{recursive:!0}),t},zn=$n("mengti_file"),Hn=function(e,t){return Y(void 0,void 0,void 0,(function(){var s,r,i,n;return Z(this,(function(a){switch(a.label){case 0:return s=e.includes("?")?e.split("?")[0]:e,r=s.split("/")[s.split("/").length-1],i=zn+"/"+r,k.existsSync(i)?(k.copyFileSync(i,t),[2,{filePath:t}]):(n=k.createWriteStream(i),[4,qn({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)}))]}}))}))};const{parse:Vn,stringify:Gn}=JSON,{keys:Wn}=Object,Jn=String,Xn="string",Kn={},Yn="object",Zn=(e,t)=>t,Qn=e=>e instanceof Jn?Jn(e):e,ea=(e,t)=>typeof t===Xn?new Jn(t):t,ta=(e,t,s,r)=>{const i=[];for(let n=Wn(s),{length:a}=n,o=0;o<a;o++){const a=n[o],c=s[a];if(c instanceof Jn){const n=e[c];typeof n!==Yn||t.has(n)?s[a]=r.call(s,a,n):(t.add(n),s[a]=Kn,i.push({k:a,a:[e,t,n,r]}))}else s[a]!==Kn&&(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,ta.apply(null,n))}return s},sa=(e,t,s)=>{const r=Jn(t.push(s)-1);return e.set(s,r),r},ra=(e,t)=>{const s=Vn(e,ea).map(Qn),r=s[0],i=t||Zn,n=typeof r===Yn&&r?ta(s,new Set,r,i):r;return i.call({"":n},"",n)},ia=(e,t,s)=>{const r=t&&typeof t===Yn?(e,s)=>""===e||-1<t.indexOf(e)?s:void 0:t||Zn,i=new Map,n=[],a=[];let o=+sa(i,n,r.call({"":e},"",e)),c=!o;for(;o<n.length;)c=!0,a[o]=Gn(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 Yn:if(null===s)return s;case Xn:return i.get(s)||sa(i,n,s)}return s}};var na=Object.freeze({__proto__:null,parse:ra,stringify:ia,toJSON:e=>Vn(ia(e)),fromJSON:e=>ra(Gn(e))}),aa={tryParse:function(e,t){var s;try{s=this.readJSON(e)}catch(e){s=t}return s},readJSON:function(e){return na.parse(N.default.readFileSync(e,{encoding:"utf8"}))},writeJSON:function(e,t){N.default.mkdirSync(T.default.dirname(e),{recursive:!0}),N.default.writeFileSync(e,na.stringify(t))}};let oa;try{oa=$.default}catch(e){}const ca={nosort:!0,silent:!0};let ua=0;const la="win32"===process.platform,pa=e=>{if(["unlink","chmod","stat","lstat","rmdir","readdir"].forEach((t=>{e[t]=e[t]||N.default[t],e[t+="Sync"]=e[t]||N.default[t]})),e.maxBusyTries=e.maxBusyTries||3,e.emfileWait=e.emfileWait||1e3,!1===e.glob&&(e.disableGlob=!0),!0!==e.disableGlob&&void 0===oa)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");e.disableGlob=e.disableGlob||!1,e.glob=e.glob||ca},ha=(e,t,s)=>{"function"==typeof t&&(s=t,t={}),R.default(e,"rimraf: missing path"),R.default.equal(typeof e,"string","rimraf: path should be a string"),R.default.equal(typeof s,"function","rimraf: callback function required"),R.default(t,"rimraf: invalid options argument provided"),R.default.equal(typeof t,"object","rimraf: options should be object"),pa(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((()=>da(e,t,a)),100*r);if("EMFILE"===o.code&&ua<t.emfileWait)return setTimeout((()=>da(e,t,a)),ua++);"ENOENT"===o.code&&(o=null)}ua=0,(e=>{i=i||e,0==--n&&s(i)})(o)};da(e,t,a)})));if(t.disableGlob||!oa.hasMagic(e))return a(null,[e]);t.lstat(e,((s,r)=>{if(!s)return a(null,[e]);oa(e,t.glob,a)}))},da=(e,t,s)=>{R.default(e),R.default(t),R.default("function"==typeof s),t.lstat(e,((r,i)=>r&&"ENOENT"===r.code?s(null):(r&&"EPERM"===r.code&&la&&fa(e,t,r,s),i&&i.isDirectory()?ya(e,t,r,s):void t.unlink(e,(r=>{if(r){if("ENOENT"===r.code)return s(null);if("EPERM"===r.code)return la?fa(e,t,r,s):ya(e,t,r,s);if("EISDIR"===r.code)return ya(e,t,r,s)}return s(r)})))))},fa=(e,t,s,r)=>{R.default(e),R.default(t),R.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()?ya(e,t,s,r):t.unlink(e,r)}))}))},ma=(e,t,s)=>{R.default(e),R.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()?va(e,t,s):t.unlinkSync(e)},ya=(e,t,s,r)=>{R.default(e),R.default(t),R.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):ga(e,t,r)}))},ga=(e,t,s)=>{R.default(e),R.default(t),R.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=>{ha(T.default.join(e,r),t,(r=>{if(!n)return r?s(n=r):void(0==--a&&t.rmdir(e,s))}))}))}))},xa=(e,t)=>{let s;if(pa(t=t||{}),R.default(e,"rimraf: missing path"),R.default.equal(typeof e,"string","rimraf: path should be a string"),R.default(t,"rimraf: missing options"),R.default.equal(typeof t,"object","rimraf: options should be object"),t.disableGlob||!oa.hasMagic(e))s=[e];else try{t.lstatSync(e),s=[e]}catch(r){s=oa.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&&la&&ma(r,t,e)}try{i&&i.isDirectory()?va(r,t,null):t.unlinkSync(r)}catch(e){if("ENOENT"===e.code)return;if("EPERM"===e.code)return la?ma(r,t,e):va(r,t,e);if("EISDIR"!==e.code)throw e;va(r,t,e)}}},va=(e,t,s)=>{R.default(e),R.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||ba(e,t)}},ba=(e,t)=>{R.default(e),R.default(t),t.readdirSync(e).forEach((s=>xa(T.default.join(e,s),t)));const s=la?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 Ea=ha;ha.sync=xa;var Ca=Ea.sync,Aa=function(e){return!!N.default.existsSync(e)&&(Ca(e,{glob:!1}),!0)},wa=aa.writeJSON,Da={load:function(e,t){var s=this;s._visited={},s._persisted={},s._pathToFile=t?T.default.resolve(t,e):T.default.resolve(__dirname,"../.cache/",e),N.default.existsSync(s._pathToFile)&&(s._persisted=aa.tryParse(s._pathToFile,{}))},loadFile:function(e){var t=T.default.dirname(e),s=T.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(),wa(t._pathToFile,t._persisted)},removeCacheFile:function(){return Aa(this._pathToFile)},destroy:function(){var e=this;e._visited={},e._persisted={},e.removeCacheFile()}},Ta={load:function(e,t){return this.create(e,t)},create:function(e,t){var s=Object.create(Da);return s.load(e,t),s},createFromFile:function(e){var t=Object.create(Da);return t.loadFile(e),t},clearCacheById:function(e,t){var s=t?T.default.resolve(t,e):T.default.resolve(__dirname,"../.cache/",e);return Aa(s)},clearAll:function(e){var t=e?T.default.resolve(e):T.default.resolve(__dirname,"../.cache/");return Aa(t)}},Sa="";function Pa(e){Sa=e}var ka=function(e,t,s){var r=(void 0===s?{method:"POST"}:s).method;return Y(this,void 0,void 0,(function(){var s,i,n,a;return Z(this,(function(o){switch(o.label){case 0:return s=Q((Sa||"").split("##"),2),i=s[0],n=s[1],a={"Content-Type":"application/json",Authorization:"Bearer ".concat(i),client:n||""},[4,qn({method:r,url:(process.env.DEV?"http://127.0.0.1:1626":"https://editor.appthen.com")+e,data:t,headers:a})];case 1:return[2,o.sent()]}}))}))};require("getpinyin").getFirstPY;var Na,Ia=$n("mengti_translate"),_a=Ta.load("default",Ia);!function(e){e.Initial="init",e.Loading="loading",e.Loaded="loaded",e.Error="error"}(Na||(Na={}));var Fa=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 Oa(e){return e&&"JSExpression"===e.type&&"function"!==e.extType}function La(e){return"object"==typeof e&&e&&"JSFunction"===e.type}function Ba(e){return e&&"JSSlot"===e.type}Fa.Environment,Fa.Library,Fa.Theme,Fa.Runtime,Fa.Components,Fa.App;var ja,Ma,Ra,Ua,qa,$a=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}(),za=function(){function e(e){void 0===e&&(e=null),this._bindings=new $a,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 $a(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}(),Ha=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 za(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"}(ja||(ja={})),function(e){e.AST="ast",e.STRING="string",e.JSON="json"}(Ma||(Ma={})),function(e){e.COMPONENT="component",e.UTILS="utils",e.I18N="i18n"}(Ra||(Ra={})),function(e){e.PAGE="pages",e.BLOCK="components",e.COMPONENT="components",e.UTILS="utils"}(Ua||(Ua={})),function(e){e.External="External",e.Internal="Internal"}(qa||(qa={}));var Va,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 X(t,e),t}(Error);!function(e){function t(){return null!==e&&e.apply(this,arguments)||this}X(t,e)}(Ga),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}X(t,e)}(Ga),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}X(t,e)}(Ga),function(e){e.BEFORE="NodeCodePieceBefore",e.TAG="NodeCodePieceTag",e.ATTR="NodeCodePieceAttr",e.CHILDREN="NodeCodePieceChildren",e.AFTER="NodeCodePieceAfter"}(Va||(Va={}));var Wa=function(e){function t(t,s){var r=this.constructor,i=e.call(this,'Failed to parse expression "'.concat("string"==typeof t?t:cr(t),'"'))||this;return i.expr=t,i.detail=s,Object.setPrototypeOf(i,r.prototype),i}return X(t,e),t}(Error),Ja={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"]}},Xa={ArrowFunctionExpression:!1,FunctionExpression:!0,FunctionDeclaration:!0,ClassDeclaration:!0,ClassExpression:!0,ClassBody:!0,ClassImplements:!0,ClassMethod:!0,ClassPrivateMethod:!0,ClassProperty:!0,ClassPrivateProperty:!0,DeclareClass:!0},Ka=["arguments","this","super"];function Ya(e,t,s){if(void 0===t&&(t="_this"),void 0===s&&(s=[]),!e)return e;try{var r="string"==typeof e?it(e):e,i=_.expressionStatement(r),n=_.file(_.program([i])),a=new Set(s),o=Xa[r.type]?-1:0;return F.default(n,{enter:function(e){Xa[e.node.type]&&o++},exit:function(e){Xa[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(_.identifier(r.node.name))}o<=0&&s.replaceWith(_.identifier(t))}}},ThisExpression:function(e){e.isThisExpression()&&"MemberExpression"!==e.parent.type&&o<=0&&e.replaceWith(_.identifier(t))}}),cr(i.expression,{sourceMaps:!1}).code}catch(t){throw new Wa(e,t)}}function Za(e){try{var t=rt("(".concat(e,");")),s=null;return F.default(t,{FunctionExpression:function(e){s=e.node,e.stop()}}),s}catch(t){throw new Wa(e,t)}}function Qa(e,t){if(Oa(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?it(e):e,r=_.expressionStatement(s),i=_.file(_.program([r]));return F.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(_.identifier(r))}}}),cr(r.expression,{sourceMaps:!1}).code}catch(t){throw new Wa(e,t)}}(s,t);return r}throw new Ga("Not a IPublicTypeJSExpression")}function eo(e,t){if(void 0===t&&(t={name:void 0,isMember:!1,isBlock:!1,isArrow:!1,isBindExpr:!1}),function(e){return Oa(e)||La(e)}(e)){var s=e;return t.isMember?function(e,t){var s=Za(t);if(s){var r=_.classMethod("method",e&&_.identifier(e)||s.id||_.identifier("notDefineName"),s.params,s.body,void 0,void 0,void 0,s.async||void 0);return cr(r,{sourceMaps:!1}).code}throw new Error("Can not find Function Statement")}(t.name||"",s.value):t.isBlock?function(e){var t=Za(e);if(t){var s=t.body.body,r=_.program(s,void 0,"module",void 0);return cr(r,{sourceMaps:!1}).code}throw new Error("Can not find Function Statement")}(s.value):t.isArrow?function(e){var t=Za(e);if(t){var s=_.arrowFunctionExpression(t.params,t.body,t.async||void 0);return cr(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 to(e){return e.length>=2&&"{"===e[0]&&"}"===e[e.length-1]?e.slice(1,e.length-1):e}function so(e,t,s){if(Ba(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?to(t(e,s))||"null":"[\n".concat(e.map((function(e){return"string"==typeof e?JSON.stringify(e):to(t(e,s))||"null"})).join(",\n")||"null","\n]");return to(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 ro(e,t,s,r,i){var n=[];Array.isArray(s)?n.push.apply(n,ee([],Q(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 io(e,t,s){void 0===s&&(s={});var r=e.map((function(e){return po(e,t,s)})).join(",");return"[".concat(r,"]")}function no(e,t,s){if(void 0===s&&(s={}),"i18n"===e.type)return e.params&&"object"==typeof e.params?"this._i18nText(".concat(po(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=po(e[r],t,s);return"".concat(i,": ").concat(n)})).join(",\n");return"{".concat(r,"}")}function ao(e){return JSON.stringify(e)}function oo(e){return String(e)}function co(e){return e?"true":"false"}function uo(e){var t=function(e){if(!e)return[];try{var t=new $a,s=rt("!(".concat(e,");")),r=function(e){"object"==typeof e&&a.isIdentifier(e)&&Ka.includes(e.name)&&t.add(e.name)};return F.default(s,{enter:function(e){var t,s=e.node,i=null===(t=Ja[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 Wa(e,t)}}(e.value);return t.includes("arguments")?eo(e,{isBindExpr:!0}):eo(e,{isArrow:!0})}function lo(e,t,s){return void 0===s&&(s={}),s.nodeGenerator?so(e,t,s.nodeGenerator):""}function po(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)?ro(e,t,s.handlers.array,io,s):io(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)?ro(d,t,s.handlers.expression,Qa,s):Qa(d,t)}if(Oa(e))return(null===(n=s.handlers)||void 0===n?void 0:n.expression)?ro(e,t,s.handlers.expression,Qa,s):Qa(e,t);if(La(e))return(null===(a=s.handlers)||void 0===a?void 0:a.function)?ro(e,t,s.handlers.function,uo,s):uo(e);if(Ba(e))return(null===(o=s.handlers)||void 0===o?void 0:o.slot)?ro(e,t,s.handlers.slot,lo,s):lo(e,t,s);if(function(e){return"object"==typeof e&&null!=e&&"DataSource"===e.type}(e))return po({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)?ro(e,t,s.handlers.object,no,s):no(e,t,s);if(z.default.isString(e))return(null===(u=s.handlers)||void 0===u?void 0:u.string)?ro(e,t,s.handlers.string,ao,s):ao(e);if(z.default.isNumber(e))return(null===(l=s.handlers)||void 0===l?void 0:l.number)?ro(e,t,s.handlers.number,oo,s):oo(e);if(z.default.isBoolean(e))return(null===(p=s.handlers)||void 0===p?void 0:p.boolean)?ro(e,t,s.handlers.boolean,co,s):co(e);throw new Ga("Meet unknown composite value type")}function ho(e,t,s){return void 0===s&&(s={}),po(e,t,s)}function fo(e,t){return Oa(e)||La(e)?{type:"JSExpression",value:"function(){ return ((".concat(e.value,"))}")}:{type:"JSExpression",value:"function(){return((".concat(ho(e,t),"))}")}}var mo=function(e,t,s,r,i){var n,a=k.readFileSync(e.path+"/"+e.fileName,"utf-8");a.includes("this.history")&&(a=a.replace(/this\.history/g,"this.utils.history"));var o=rt("".concat(a),{sourceType:"module",plugins:["typescript","decorators-legacy"]}),c=new Set,u=new Set,l=new Set(["Laf"]),p={};"vite"===r&&(p["@/utils/router"]=[{name:"redirectTo"},{name:"navigateTo"},{name:"navigateBack"},{name:"history"}]);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"),d=[];null==h||h.forEach((function(e){var t,s,r;(null===(t=e.utils)||void 0===t?void 0:t.length)>0&&(p[e.package.package]=e.utils),(null===(s=e.advanced)||void 0===s?void 0:s.extendCode)&&d.push(null===(r=e.advanced)||void 0===r?void 0:r.extendCode)}));var f=Object.values(p).map((function(e){return e.map((function(e){return e.name}))})).flat();F.default(o,{MemberExpression:function(e){e.node.object&&"ThisExpression"===e.node.object.type&&e.node.property&&"constants"===e.node.property.name&&e.replaceWith(_.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(_.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)}}}),F.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,_.importDeclaration(Array.from(c).filter((function(e){return!u.has(e)&&!l.has(e)&&!f.includes(e)})).map((function(e){return _.importSpecifier(_.identifier(e),_.identifier(e))})),_.stringLiteral("vite"===r?"@appthen/react/lib/utils/index.js":"cross-ui/utils"))),t.splice(2,0,_.importDeclaration(["requestHandle"].map((function(e){return _.importSpecifier(_.identifier(e),_.identifier(e))})),_.stringLiteral("./dataSource"))),t.splice(3,0,_.importDeclaration([_.importDefaultSpecifier(_.identifier("constants"))],_.stringLiteral("./constants")));var s=-1;Object.keys(p).forEach((function(e){var r,i,n,a,o=h.find((function(t){return t.package.package===e})),u=((null==o?void 0:o.package)||{}).destructuring,l=function(e){var t=e.replace(/[@/]/g,"-"),s=t.replace(/-([a-z])/g,(function(e){return e[1].toUpperCase()}));/^\d/.test(s)&&(s="pkg".concat(s));return s}(e),d=p[e];!1===u?(s+=1,t.splice(4+s,0,_.importDeclaration([_.importDefaultSpecifier(_.identifier(l))],_.stringLiteral(e))),d.forEach((function(e){s+=1;var r=_.memberExpression(_.identifier(l),_.identifier(e.name)),i=_.variableDeclarator(_.identifier(e.name),r),n=_.variableDeclaration("const",[i]),a=_.exportNamedDeclaration(n);t.splice(4+s,0,a)}))):a=_.exportNamedDeclaration(null,"*"===(null===(i=null===(r=d[0])||void 0===r?void 0:r.npm)||void 0===i?void 0:i.exportName)?[_.exportNamespaceSpecifier(_.identifier(null===(n=d[0])||void 0===n?void 0:n.name))]:d.map((function(e){var t;return _.exportSpecifier(_.identifier((null===(t=e.npm)||void 0===t?void 0:t.exportName)||e.name),_.identifier(e.name))})),_.stringLiteral(e)),!e.includes("@/utils")&&a&&(s+=1,t.splice(4+s,0,a));var f=d.filter((function(e){return c.has(e.name)}));f.length>0&&(s+=1,t.splice(4+s,0,_.importDeclaration(f.map((function(e){return _.importSpecifier(_.identifier(e.name),_.identifier(e.name))})),_.stringLiteral(e))))}))}});var m,y,g,x=cr(o).code;if(x=x+"\n"+(m=t.dataSource,y=Ha.createRootScope(),g=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(ho(K(K({},m),{list:ee([],Q(g.map((function(e){return K(K({},e),{isInit:fo(e.isInit,y),options:fo(e.options,y)})}))),!1)}),y,{handlers:{function:function(e){return Ya(e.value,"_this")},expression:function(e){return Ya(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 v=0;v<s.plugins.length;v++){"laf"===s.plugins[v].pluginName&&(x="".concat(x,'\nimport { Cloud } from "laf-client-sdk";\nexport const Laf = Cloud;'))}return x=x.replace('export * as _ from "lodash";','export { default as _ } from "lodash";'),d.length>0&&(x=d.join("\n")+"\n"+x),k.writeFileSync(e.path+"/"+e.fileName,x),{code:x}};var yo=function(e){if("string"==typeof e)return _.stringLiteral(e);if("number"==typeof e)return _.numericLiteral(e);if("boolean"==typeof e)return _.booleanLiteral(e);if(Array.isArray(e))return _.arrayExpression(e.map((function(e){return yo(e)})));if("object"==typeof e&&null!==e)return _.objectExpression(Object.entries(e).map((function(e){var t=Q(e,2),s=t[0],r=t[1];return _.objectProperty(_.identifier(s),yo(r))})));throw new Error("Unsupported value type: ".concat(typeof e))},go=function(e){return e instanceof Buffer},xo=re((function(e){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var s=function(){};s.prototype=t.prototype,e.prototype=new s,e.prototype.constructor=e}})),vo=re((function(e){try{var t=U.default;if("function"!=typeof t.inherits)throw"";e.exports=t.inherits}catch(t){e.exports=xo}})),bo=re((function(e,t){var s=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),s={},r=0;r<t.length;r++)s[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return s},r=/%[sdj%]/g;t.format=function(e){if(!y(e)){for(var t=[],s=0;s<arguments.length;s++)t.push(a(arguments[s]));return t.join(" ")}s=1;for(var i=arguments,n=i.length,o=String(e).replace(r,(function(e){if("%%"===e)return"%";if(s>=n)return e;switch(e){case"%s":return String(i[s++]);case"%d":return Number(i[s++]);case"%j":try{return JSON.stringify(i[s++])}catch(e){return"[Circular]"}default:return e}})),c=i[s];s<n;c=i[++s])f(c)||!v(c)?o+=" "+c:o+=" "+a(c);return o},t.deprecate=function(e,s){if("undefined"!=typeof process&&!0===process.noDeprecation)return e;if("undefined"==typeof process)return function(){return t.deprecate(e,s).apply(this,arguments)};var r=!1;return function(){if(!r){if(process.throwDeprecation)throw new Error(s);process.traceDeprecation?console.trace(s):console.error(s),r=!0}return e.apply(this,arguments)}};var i,n={};function a(e,s){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),d(s)?r.showHidden=s:s&&t._extend(r,s),g(r.showHidden)&&(r.showHidden=!1),g(r.depth)&&(r.depth=2),g(r.colors)&&(r.colors=!1),g(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=o),u(r,e,r.depth)}function o(e,t){var s=a.styles[t];return s?"["+a.colors[s][0]+"m"+e+"["+a.colors[s][1]+"m":e}function c(e,t){return e}function u(e,s,r){if(e.customInspect&&s&&C(s.inspect)&&s.inspect!==t.inspect&&(!s.constructor||s.constructor.prototype!==s)){var i=s.inspect(r,e);return y(i)||(i=u(e,i,r)),i}var n=function(e,t){if(g(t))return e.stylize("undefined","undefined");if(y(t)){var s="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(s,"string")}if(m(t))return e.stylize(""+t,"number");if(d(t))return e.stylize(""+t,"boolean");if(f(t))return e.stylize("null","null")}(e,s);if(n)return n;var a=Object.keys(s),o=function(e){var t={};return e.forEach((function(e,s){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(s)),E(s)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return l(s);if(0===a.length){if(C(s)){var c=s.name?": "+s.name:"";return e.stylize("[Function"+c+"]","special")}if(x(s))return e.stylize(RegExp.prototype.toString.call(s),"regexp");if(b(s))return e.stylize(Date.prototype.toString.call(s),"date");if(E(s))return l(s)}var v,A="",w=!1,D=["{","}"];(h(s)&&(w=!0,D=["[","]"]),C(s))&&(A=" [Function"+(s.name?": "+s.name:"")+"]");return x(s)&&(A=" "+RegExp.prototype.toString.call(s)),b(s)&&(A=" "+Date.prototype.toUTCString.call(s)),E(s)&&(A=" "+l(s)),0!==a.length||w&&0!=s.length?r<0?x(s)?e.stylize(RegExp.prototype.toString.call(s),"regexp"):e.stylize("[Object]","special"):(e.seen.push(s),v=w?function(e,t,s,r,i){for(var n=[],a=0,o=t.length;a<o;++a)T(t,String(a))?n.push(p(e,t,s,r,String(a),!0)):n.push("");return i.forEach((function(i){i.match(/^\d+$/)||n.push(p(e,t,s,r,i,!0))})),n}(e,s,r,o,a):a.map((function(t){return p(e,s,r,o,t,w)})),e.seen.pop(),function(e,t,s){var r=e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(r>60)return s[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+s[1];return s[0]+t+" "+e.join(", ")+" "+s[1]}(v,A,D)):D[0]+A+D[1]}function l(e){return"["+Error.prototype.toString.call(e)+"]"}function p(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")),T(r,i)||(a="["+i+"]"),o||(e.seen.indexOf(c.value)<0?(o=f(s)?u(e,c.value,null):u(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")),g(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 h(e){return Array.isArray(e)}function d(e){return"boolean"==typeof e}function f(e){return null===e}function m(e){return"number"==typeof e}function y(e){return"string"==typeof e}function g(e){return void 0===e}function x(e){return v(e)&&"[object RegExp]"===A(e)}function v(e){return"object"==typeof e&&null!==e}function b(e){return v(e)&&"[object Date]"===A(e)}function E(e){return v(e)&&("[object Error]"===A(e)||e instanceof Error)}function C(e){return"function"==typeof e}function A(e){return Object.prototype.toString.call(e)}function w(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(g(i)&&(i=process.env.NODE_DEBUG||""),e=e.toUpperCase(),!n[e])if(new RegExp("\\b"+e+"\\b","i").test(i)){var s=process.pid;n[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,s,r)}}else n[e]=function(){};return n[e]},t.inspect=a,a.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]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=h,t.isBoolean=d,t.isNull=f,t.isNullOrUndefined=function(e){return null==e},t.isNumber=m,t.isString=y,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=g,t.isRegExp=x,t.isObject=v,t.isDate=b,t.isError=E,t.isFunction=C,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=go;var D=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",function(){var e=new Date,t=[w(e.getHours()),w(e.getMinutes()),w(e.getSeconds())].join(":");return[e.getDate(),D[e.getMonth()],t].join(" ")}(),t.format.apply(t,arguments))},t.inherits=vo,t._extend=function(e,t){if(!t||!v(t))return e;for(var s=Object.keys(t),r=s.length;r--;)e[s[r]]=t[s[r]];return e};var S="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function P(e,t){if(!e){var s=new Error("Promise was rejected with a falsy value");s.reason=e,e=s}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(S&&e[S]){var t;if("function"!=typeof(t=e[S]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,S,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,s,r=new Promise((function(e,r){t=e,s=r})),i=[],n=0;n<arguments.length;n++)i.push(arguments[n]);i.push((function(e,r){e?s(e):t(r)}));try{e.apply(this,i)}catch(e){s(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),S&&Object.defineProperty(t,S,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,s(e))},t.promisify.custom=S,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],s=0;s<arguments.length;s++)t.push(arguments[s]);var r=t.pop();if("function"!=typeof r)throw new TypeError("The last argument must be of type Function");var i=this,n=function(){return r.apply(i,arguments)};e.apply(this,t).then((function(e){process.nextTick(n,null,e)}),(function(e){process.nextTick(P,e,n)}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,s(e)),t}}));bo.format,bo.deprecate,bo.debuglog,bo.inspect,bo.isArray,bo.isBoolean,bo.isNull,bo.isNullOrUndefined,bo.isNumber,bo.isString,bo.isSymbol,bo.isUndefined,bo.isRegExp,bo.isObject,bo.isDate,bo.isError,bo.isFunction,bo.isPrimitive,bo.isBuffer,bo.log,bo.inherits,bo._extend,bo.promisify,bo.callbackify;var Eo={ROOT:0,GROUP:1,POSITION:2,SET:3,RANGE:4,REPETITION:5,REFERENCE:6,CHAR:7};Eo.ROOT,Eo.GROUP,Eo.POSITION,Eo.SET,Eo.RANGE,Eo.REPETITION,Eo.REFERENCE,Eo.CHAR;var Co=function(){return[{type:Eo.RANGE,from:48,to:57}]},Ao=function(){return[{type:Eo.CHAR,value:95},{type:Eo.RANGE,from:97,to:122},{type:Eo.RANGE,from:65,to:90}].concat(Co())},wo=function(){return[{type:Eo.CHAR,value:9},{type:Eo.CHAR,value:10},{type:Eo.CHAR,value:11},{type:Eo.CHAR,value:12},{type:Eo.CHAR,value:13},{type:Eo.CHAR,value:32},{type:Eo.CHAR,value:160},{type:Eo.CHAR,value:5760},{type:Eo.CHAR,value:6158},{type:Eo.CHAR,value:8192},{type:Eo.CHAR,value:8193},{type:Eo.CHAR,value:8194},{type:Eo.CHAR,value:8195},{type:Eo.CHAR,value:8196},{type:Eo.CHAR,value:8197},{type:Eo.CHAR,value:8198},{type:Eo.CHAR,value:8199},{type:Eo.CHAR,value:8200},{type:Eo.CHAR,value:8201},{type:Eo.CHAR,value:8202},{type:Eo.CHAR,value:8232},{type:Eo.CHAR,value:8233},{type:Eo.CHAR,value:8239},{type:Eo.CHAR,value:8287},{type:Eo.CHAR,value:12288},{type:Eo.CHAR,value:65279}]},Do=function(){return{type:Eo.SET,set:Ao(),not:!1}},To=function(){return{type:Eo.SET,set:Ao(),not:!0}},So=function(){return{type:Eo.SET,set:Co(),not:!1}},Po=function(){return{type:Eo.SET,set:Co(),not:!0}},ko=function(){return{type:Eo.SET,set:wo(),not:!1}},No=function(){return{type:Eo.SET,set:wo(),not:!0}},Io=function(){return{type:Eo.SET,set:[{type:Eo.CHAR,value:10},{type:Eo.CHAR,value:13},{type:Eo.CHAR,value:8232},{type:Eo.CHAR,value:8233}],not:!0}},_o=re((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(Do());else if(r[2])n.push(So());else if(r[3])n.push(ko());else if(r[4])n.push(To());else if(r[5])n.push(Po());else if(r[6])n.push(No());else if(r[7])n.push({type:Eo.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:Eo.CHAR,value:i.charCodeAt(0)})}t.error(s,"Unterminated character class")},t.error=function(e,t){throw new SyntaxError("Invalid regular expression: /"+e+"/: "+t)}}));_o.strToChars,_o.tokenizeClass,_o.error;var Fo=function(){return{type:Eo.POSITION,value:"b"}},Oo=function(){return{type:Eo.POSITION,value:"B"}},Lo=function(){return{type:Eo.POSITION,value:"^"}},Bo=function(){return{type:Eo.POSITION,value:"$"}},jo=function(e){var t,s,r=0,i={type:Eo.ROOT,stack:[]},n=i,a=i.stack,o=[],c=function(t){_o.error(e,"Nothing to repeat at column "+(t-1))},u=_o.strToChars(e);for(t=u.length;r<t;)switch(s=u[r++]){case"\\":switch(s=u[r++]){case"b":a.push(Fo());break;case"B":a.push(Oo());break;case"w":a.push(Do());break;case"W":a.push(To());break;case"d":a.push(So());break;case"D":a.push(Po());break;case"s":a.push(ko());break;case"S":a.push(No());break;default:/\d/.test(s)?a.push({type:Eo.REFERENCE,value:parseInt(s,10)}):a.push({type:Eo.CHAR,value:s.charCodeAt(0)})}break;case"^":a.push(Lo());break;case"$":a.push(Bo());break;case"[":var l;"^"===u[r]?(l=!0,r++):l=!1;var p=_o.tokenizeClass(u.slice(r),e);r+=p[1],a.push({type:Eo.SET,set:p[0],not:l});break;case".":a.push(Io());break;case"(":var h={type:Eo.GROUP,stack:[],remember:!0};"?"===(s=u[r])&&(s=u[r+1],r+=2,"="===s?h.followedBy=!0:"!"===s?h.notFollowedBy=!0:":"!==s&&_o.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&&_o.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 f,m,y=/^(\d+)(,(\d+)?)?\}/.exec(u.slice(r));null!==y?(0===a.length&&c(r),f=parseInt(y[1],10),m=y[2]?y[3]?parseInt(y[3],10):1/0:f,r+=y[0].length,a.push({type:Eo.REPETITION,min:f,max:m,value:a.pop()})):a.push({type:Eo.CHAR,value:123});break;case"?":0===a.length&&c(r),a.push({type:Eo.REPETITION,min:0,max:1,value:a.pop()});break;case"+":0===a.length&&c(r),a.push({type:Eo.REPETITION,min:1,max:1/0,value:a.pop()});break;case"*":0===a.length&&c(r),a.push({type:Eo.REPETITION,min:0,max:1/0,value:a.pop()});break;default:a.push({type:Eo.CHAR,value:s.charCodeAt(0)})}return 0!==o.length&&_o.error(e,"Unterminated group"),i},Mo=jo.types=Eo,Ro=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=jo(e)}catch(e){return!1}var i=0;return function e(t,s){if(t.type===Mo.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)};
2
2
  /*!
3
3
  * isobject <https://github.com/jonschlinkert/isobject>
4
4
  *
@@ -72,4 +72,4 @@ var tp=function(e){for(var t=arguments.length,s=0;++s<t;)e=sp(e,arguments[s]);re
72
72
  `,cliCategory:i},requirePragma:{since:"1.7.0",category:u,type:"boolean",default:!1,description:s`
73
73
  Require either '@prettier' or '@format' to be present in the file's first docblock comment
74
74
  in order for it to be formatted.
75
- `,cliCategory:a},tabWidth:{type:"int",category:c,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:c,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:c,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};t.exports={CATEGORY_CONFIG:r,CATEGORY_EDITOR:i,CATEGORY_FORMAT:n,CATEGORY_OTHER:a,CATEGORY_OUTPUT:o,CATEGORY_GLOBAL:c,CATEGORY_SPECIAL:u,options:l}}}),z=d({"src/main/support.js"(e,t){x();var i={compare:B(),lt:j(),gte:M()},n=R(),a=U().version,o=$().options;function c(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:c=!1,showInternal:l=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},p=a.split("-",1)[0],h=e.flatMap((e=>e.languages||[])).filter(f),d=n(Object.assign({},...e.map((e=>{let{options:t}=e;return t})),o),"name").filter((e=>f(e)&&m(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(f).sort(((e,t)=>i.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>f(e)&&m(e))),"parser"===t.name&&u(t,h,e));let s=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:s})}));return{languages:h,options:d};function f(e){return t||!("since"in e)||e.since&&i.gte(p,e.since)}function m(e){return c||!("deprecated"in e)||e.deprecated&&i.lt(p,e.deprecated)}function y(e){return l?e:r(e,s)}}function u(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: ${n.name})`),e.choices.push({value:t,description:a})}}t.exports={getSupportInfo:c}}}),H=d({"src/utils/is-non-empty-array.js"(e,t){function s(e){return Array.isArray(e)&&e.length>0}x(),t.exports=s}});function V(){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 G=h({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){x()}});function W(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(V(),"")}var J=h({"node_modules/strip-ansi/index.js"(){x(),G()}});function X(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 K=h({"node_modules/is-fullwidth-code-point/index.js"(){x()}}),Y=d({"node_modules/emoji-regex/index.js"(e,t){x(),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}}}),Z={};function Q(e){if("string"!=typeof e||0===e.length||0===(e=W(e)).length)return 0;e=e.replace((0,ee.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+=X(r)?2:1)}return t}f(Z,{default:()=>Q});var ee,te=h({"node_modules/string-width/index.js"(){x(),J(),K(),ee=y(Y())}}),se=d({"src/utils/get-string-width.js"(e,t){x();var s=(te(),g(Z)).default,r=/[^\x20-\x7F]/;function i(e){return e?r.test(e)?s(e):e.length:0}t.exports=i}}),re=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}}x();var r=s(/\s/),i=s(" \t"),n=s(",; \t"),a=s(/[^\n\r]/);t.exports={skipWhitespace:r,skipSpaces:i,skipToLineEnd:n,skipEverythingButNewLine:a}}}),ie=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}x(),t.exports=s}}),ne=d({"src/utils/text/skip-trailing-comment.js"(e,t){x();var{skipEverythingButNewLine:s}=re();function r(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?s(e,t):t)}t.exports=r}}),ae=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}x(),t.exports=s}}),oe=d({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){x();var s=ie(),r=ae(),i=ne(),{skipSpaces:n}=re();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}}),ce=d({"src/common/util.js"(e,t){x();var{default:s}=(k(),g(S)),r=D(),{getSupportInfo:i}=z(),n=H(),a=se(),{skipWhitespace:o,skipSpaces:c,skipToLineEnd:u,skipEverythingButNewLine:l}=re(),p=ie(),h=ne(),d=ae(),f=oe(),m=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 v(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 b(e,t,s){for(let r=t;r<s;++r)if("\n"===e.charAt(r))return!0;return!1}function E(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 C(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&&v(e,r)}function A(e,t,s){return C(e,s(t))}function w(e,t,s){return f(e,s(t))}function T(e,t,s){return e.charAt(w(e,t,s))}function P(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return c(e,s.backwards?t-1:t,s)!==t}function N(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 I(e,t){let s=e.lastIndexOf("\n");return-1===s?0:N(e.slice(s+1).match(/^[\t ]*/)[0],t)}function _(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 F(e,t){let s=e.slice(1,-1);return O(s,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":_(s,t.singleQuote?"'":'"').quote,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))}function O(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 L(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 B(e,t){let r=e.match(new RegExp(`(${s(t)})+`,"g"));return null===r?0:r.reduce(((e,s)=>Math.max(e,s.length/t.length)),0)}function j(e,t){let r=e.match(new RegExp(`(${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=W(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 $(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(`.${e}`)}));return r&&r.parsers[0]}function V(e){return e&&"front-matter"===e.type}function G(e){let t=new WeakMap;return function(s){return t.has(s)||t.set(s,Symbol(e)),t.get(s)}}function W(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:$,getStringWidth:a,getMaxContinuousCount:B,getMinNotPresentContinuousCount:j,getPenultimate:m,getLast:r,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:f,getNextNonSpaceNonCommentCharacterIndex:w,getNextNonSpaceNonCommentCharacter:T,skip:y,skipWhitespace:o,skipSpaces:c,skipToLineEnd:u,skipEverythingButNewLine:l,skipInlineComment:p,skipTrailingComment:h,skipNewline:d,isNextLineEmptyAfterIndex:C,isNextLineEmpty:A,isPreviousLineEmpty:E,hasNewline:v,hasNewlineInRange:b,hasSpaces:P,getAlignmentSize:N,getIndentSize:I,getPreferredQuote:_,printString:F,printNumber:L,makeString:O,addLeadingComment:R,addDanglingComment:U,addTrailingComment:q,isFrontMatterNode:V,isNonEmptyArray:n,createGroupIdMapper:G}}}),ue=d({"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"]}}}),le=d({"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}x(),t.exports=s}}),pe=d({"src/language-html/utils/html-tag-names.js"(e,t){x();var{htmlTagNames:s}=ue(),r=le()(s);t.exports=r}}),he=d({"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"]}}}}),de=d({"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}x(),t.exports=s}}),fe=d({"src/language-html/utils/html-elements-attributes.js"(e,t){x();var{htmlElementAttributes:s}=he(),r=de()(s,le());t.exports=r}}),ye=d({"src/language-html/utils/is-unknown-namespace.js"(e,t){function s(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}x(),t.exports=s}}),ge=d({"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/,"")}x(),t.exports={hasPragma:s,insertPragma:r}}}),xe=d({"src/language-html/ast.js"(e,t){x();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}}}),ve=d({"src/language-html/conditional-comment.js"(e,t){x();var{ParseSourceSpan:s}=A(),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}}}),be=d({"src/language-html/loc.js"(e,t){function s(e){return e.sourceSpan.start.offset}function r(e){return e.sourceSpan.end.offset}x(),t.exports={locStart:s,locEnd:r}}}),Ee=d({"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 "${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?`:${e}:${t}`:t}x(),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}}),Ce=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_tags.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t,s,r=Ee(),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}}),Ae=d({"node_modules/angular-html-parser/lib/compiler/src/ast_path.js"(e){x(),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}}),we=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/ast.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ae(),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}}),De=d({"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 '${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 '${e}' to be an array of strings.`)}}x(),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 '${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(`['${e}', '${r}'] contains unusable interpolation symbol.`)}))}}e.assertInterpolationSymbols=r}}),Se=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/interpolation_config.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=De(),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("{{","}}")}}),Pe=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/lexer.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t,s=v(),r=A(),i=Se(),n=Ee();!function(e){e[e.TAG_OPEN_START=0]="TAG_OPEN_START",e[e.TAG_OPEN_END=1]="TAG_OPEN_END",e[e.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",e[e.TAG_CLOSE=3]="TAG_CLOSE",e[e.TEXT=4]="TEXT",e[e.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",e[e.RAW_TEXT=6]="RAW_TEXT",e[e.COMMENT_START=7]="COMMENT_START",e[e.COMMENT_END=8]="COMMENT_END",e[e.CDATA_START=9]="CDATA_START",e[e.CDATA_END=10]="CDATA_END",e[e.ATTR_NAME=11]="ATTR_NAME",e[e.ATTR_QUOTE=12]="ATTR_QUOTE",e[e.ATTR_VALUE=13]="ATTR_VALUE",e[e.DOC_TYPE_START=14]="DOC_TYPE_START",e[e.DOC_TYPE_END=15]="DOC_TYPE_END",e[e.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",e[e.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",e[e.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",e[e.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",e[e.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",e[e.EOF=21]="EOF"}(t=e.TokenType||(e.TokenType={}));var a=class{constructor(e,t,s){this.type=e,this.parts=t,this.sourceSpan=s}};e.Token=a;var o=class extends r.ParseError{constructor(e,t,s){super(s,e),this.tokenType=t}};e.TokenError=o;var c=class{constructor(e,t){this.tokens=e,this.errors=t}};function u(e,t,s){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return new f(new r.ParseSourceFile(e,t),s,i).tokenize()}e.TokenizeResult=c,e.tokenize=u;var l=/\r\n?/g;function p(e){return`Unexpected character "${e===s.$EOF?"EOF":String.fromCharCode(e)}"`}function h(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}var d=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||i.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 P(e,r):new S(e,r);try{this._cursor.init()}catch(e){this.handleError(e)}}_processCarriageReturns(e){return e.replace(l,"\n")}tokenize(){for(;this._cursor.peek()!==s.$EOF;){let e=this._cursor.clone();try{if(this._attemptCharCode(s.$LT))if(this._attemptCharCode(s.$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(s.$SLASH))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(s.$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 c(T(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(C(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===s.$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 o("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 o("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let s=new a(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 o(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new d(s)}handleError(e){if(e instanceof k&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof d))throw e;this.errors.push(e.error)}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return!!w(this._cursor.peek(),e)&&(this._cursor.advance(),!0)}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(p(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(p(this._cursor.peek()),this._cursor.getSpan(t))}_requireStrCaseInsensitive(e){let t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(p(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(p(this._cursor.peek()),this._cursor.getSpan(s))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_readChar(e){if(e&&this._cursor.peek()===s.$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(s.$HASH)){let t=this._cursor.clone();if(this._attemptCharCodeUntilFn(E),this._cursor.peek()!=s.$SEMICOLON)return this._cursor=t,"&";let r=this._cursor.getChars(t);this._cursor.advance();let i=n.NAMED_ENTITIES[r];if(!i)throw this._createError(h(r),this._cursor.getSpan(e));return i}{let t=this._attemptCharCode(s.$x)||this._attemptCharCode(s.$X),r=this._cursor.clone();if(this._attemptCharCodeUntilFn(b),this._cursor.peek()!=s.$SEMICOLON)throw this._createError(p(this._cursor.peek()),this._cursor.getSpan());let i=this._cursor.getChars(r);this._cursor.advance();try{let e=parseInt(i,t?16:10);return String.fromCharCode(e)}catch{throw this._createError(h(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()===s.$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()===s.$GT)),this._beginToken(t.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e,t=this._cursor.clone(),r="";for(;this._cursor.peek()!==s.$COLON&&!g(this._cursor.peek());)this._cursor.advance();return this._cursor.peek()===s.$COLON?(r=this._cursor.getChars(t),this._cursor.advance(),e=this._cursor.clone()):e=t,this._requireCharCodeUntilFn(y,""===r?0:1),[r,this._cursor.getChars(e)]}_consumeTagOpen(e){let r,i,a,o=this.tokens.length,c=this._cursor.clone(),u=[];try{if(!s.isAsciiLetter(this._cursor.peek()))throw this._createError(p(this._cursor.peek()),this._cursor.getSpan(e));for(a=this._consumeTagOpenStart(e),i=a.parts[0],r=a.parts[1],this._attemptCharCodeUntilFn(m);this._cursor.peek()!==s.$SLASH&&this._cursor.peek()!==s.$GT;){let[e,t]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(m),this._attemptCharCode(s.$EQ)){this._attemptCharCodeUntilFn(m);let s=this._consumeAttributeValue();u.push({prefix:e,name:t,value:s})}else u.push({prefix:e,name:t});this._attemptCharCodeUntilFn(m)}this._consumeTagOpenEnd()}catch(s){if(s instanceof d)return this._cursor=c,a&&(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(r,i,this._fullNameStack.length>0,u);this._handleFullNameStackForTagOpen(i,r),l===n.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(i,r,!1):l===n.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(i,r,!0)}_consumeRawTextWithTagClose(e,r,i){this._consumeRawText(i,(()=>!!(this._attemptCharCode(s.$LT)&&this._attemptCharCode(s.$SLASH)&&(this._attemptCharCodeUntilFn(m),this._attemptStrCaseInsensitive(e?`${e}:${r}`:r)))&&(this._attemptCharCodeUntilFn(m),this._attemptCharCode(s.$GT)))),this._beginToken(t.TAG_CLOSE),this._requireCharCodeUntilFn((e=>e===s.$GT),3),this._cursor.advance(),this._endToken([e,r]),this._handleFullNameStackForTagClose(e,r)}_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===s.$SQ||e===s.$DQ)throw this._createError(p(e),this._cursor.getSpan());this._beginToken(t.ATTR_NAME);let r=this._consumePrefixAndName();return this._endToken(r),r}_consumeAttributeValue(){let e;if(this._cursor.peek()===s.$SQ||this._cursor.peek()===s.$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(y,1),e=this._processCarriageReturns(this._cursor.getChars(s)),this._endToken([e])}return e}_consumeTagOpenEnd(){let e=this._attemptCharCode(s.$SLASH)?t.TAG_OPEN_END_VOID:t.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(s.$GT),this._endToken([])}_consumeTagClose(e){if(this._beginToken(t.TAG_CLOSE,e),this._attemptCharCodeUntilFn(m),this._allowHtmComponentClosingTags&&this._attemptCharCode(s.$SLASH))this._attemptCharCodeUntilFn(m),this._requireCharCode(s.$GT),this._endToken([]);else{let[e,t]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(m),this._requireCharCode(s.$GT),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}}_consumeExpansionFormStart(){this._beginToken(t.EXPANSION_FORM_START),this._requireCharCode(s.$LBRACE),this._endToken([]),this._expansionCaseStack.push(t.EXPANSION_FORM_START),this._beginToken(t.RAW_TEXT);let e=this._readUntil(s.$COMMA);this._endToken([e]),this._requireCharCode(s.$COMMA),this._attemptCharCodeUntilFn(m),this._beginToken(t.RAW_TEXT);let r=this._readUntil(s.$COMMA);this._endToken([r]),this._requireCharCode(s.$COMMA),this._attemptCharCodeUntilFn(m)}_consumeExpansionCaseStart(){this._beginToken(t.EXPANSION_CASE_VALUE);let e=this._readUntil(s.$LBRACE).trim();this._endToken([e]),this._attemptCharCodeUntilFn(m),this._beginToken(t.EXPANSION_CASE_EXP_START),this._requireCharCode(s.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(m),this._expansionCaseStack.push(t.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(t.EXPANSION_CASE_EXP_END),this._requireCharCode(s.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(m),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(t.EXPANSION_FORM_END),this._requireCharCode(s.$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()===s.$LT||this._cursor.peek()===s.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===s.$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()!==s.$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=n.mergeNsAndName(e,t);(0===this._fullNameStack.length||this._fullNameStack[this._fullNameStack.length-1]===s)&&this._fullNameStack.push(s)}_handleFullNameStackForTagClose(e,t){let s=n.mergeNsAndName(e,t);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]===s&&this._fullNameStack.pop()}};function m(e){return!s.isWhitespace(e)||e===s.$EOF}function y(e){return s.isWhitespace(e)||e===s.$GT||e===s.$SLASH||e===s.$SQ||e===s.$DQ||e===s.$EQ}function g(e){return(e<s.$a||s.$z<e)&&(e<s.$A||s.$Z<e)&&(e<s.$0||e>s.$9)}function b(e){return e==s.$SEMICOLON||e==s.$EOF||!s.isAsciiHexDigit(e)}function E(e){return e==s.$SEMICOLON||e==s.$EOF||!s.isAsciiLetter(e)}function C(e){return e===s.$EQ||s.isAsciiLetter(e)||s.isDigit(e)}function w(e,t){return D(e)==D(t)}function D(e){return e>=s.$a&&e<=s.$z?e-s.$a+s.$A:e}function T(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 S=class{constructor(e,t){if(e instanceof S)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 S(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 r.ParseSourceSpan(new r.ParseLocation(e.file,e.state.offset,e.state.line,e.state.column),new r.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===s.$LF?(e.line++,e.column=0):s.isNewLine(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?s.$EOF:this.charAt(e.offset)}},P=class extends S{constructor(e,t){e instanceof P?(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 P(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()===s.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),e()===s.$n)this.state.peek=s.$LF;else if(e()===s.$r)this.state.peek=s.$CR;else if(e()===s.$v)this.state.peek=s.$VTAB;else if(e()===s.$t)this.state.peek=s.$TAB;else if(e()===s.$b)this.state.peek=s.$BSPACE;else if(e()===s.$f)this.state.peek=s.$FF;else if(e()===s.$u)if(this.advanceState(this.internalState),e()===s.$LBRACE){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;e()!==s.$RBRACE;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let e=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,4)}else if(e()===s.$x){this.advanceState(this.internalState);let e=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,2)}else if(s.isOctalDigit(e())){let t="",r=0,i=this.clone();for(;s.isOctalDigit(e())&&r<3;)i=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=i.internalState}else s.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}}),ke=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/parser.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=A(),s=we(),r=Pe(),i=Ee(),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),f=s&&s.canSelfClose||!1,m=s&&s.allowHtmComponentClosingTags||!1,y=new c(d.tokens,u,f,m,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 "${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),f=new s.Element(u,c,[],h,h,void 0,d);this._pushElement(f),l&&(this._popElement(u),f.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 "${e.parts[1]}"`));else if(!this._popElement(t)){let s=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this._errors.push(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}}}),Ne=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ce(),s=ke(),r=ke();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}}),Ie=d({"node_modules/angular-html-parser/lib/angular-html-parser/src/index.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ne(),s=Ee();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}});x();var{ParseSourceSpan:_e,ParseLocation:Fe,ParseSourceFile:Le}=A(),Be=w(),je=D(),Me=T(),{inferParserByLanguage:Re}=ce(),Ue=pe(),qe=fe(),$e=ye(),{hasPragma:ze}=ge(),{Node:He}=xe(),{parseIeConditionalComment:Ve}=ve(),{locStart:Ge,locEnd:We}=be();function Je(e,t,s){let{canSelfClose:r,normalizeTagName:i,normalizeAttributeName:n,allowHtmComponentClosingTags:a,isTagNameCaseSensitive:o,getTagContentType:c}=t,u=Ie(),{RecursiveVisitor:l,visitAll:p}=we(),{ParseSourceSpan:h}=A(),{getHtmlTagDefinition:d}=Ce(),{rootNodes:f,errors:m}=u.parse(e,{canSelfClose:r,allowHtmComponentClosingTags:a,isTagNameCaseSensitive:o,getTagContentType:c});if("vue"===s.parser)if(f.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});f=t.rootNodes,m=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"===Re(r,s)};if(f.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<f.length;e++){let s=f[e],{endSourceSpan:r,startSourceSpan:i}=s;if(null===r)m=n().errors,f[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){m=[e];break}}f[e]=c(s)||s}}}}if(m.length>0){let{msg:e,span:{start:t,end:s}}=m[0];throw Me(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(`${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||$e(e))&&(e.name=x(e.name,(e=>e in Ue))),n)){let t=qe[e.name]||Object.create(null);for(let s of e.attrs)s.namespace||(s.name=x(s.name,(s=>e.name in qe&&(s in qe["*"]||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||$e(e)?e.tagDefinition=t:e.tagDefinition=d("")}};return p(new class extends l{visit(e){g(e),E(e),v(e),b(e)}},f),f}function Xe(e,t,s){let r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],{frontMatter:i,content:n}=r?Be(e):{frontMatter:null,content:e},a=new Le(e,t.filepath),o=new Fe(a,0,0,0),c=o.moveBy(e.length),u={type:"root",sourceSpan:new _e(o,c),children:Je(n,s,t)};if(i){let e=new Fe(a,0,0,0),t=e.moveBy(i.raw.length);i.sourceSpan=new _e(e,t),u.children.unshift(i)}let l=new He(u),p=(r,i)=>{let{offset:n}=i,a=Xe(e.slice(0,n).replace(/[^\n\r]/g," ")+r,t,s,!1);a.sourceSpan=new _e(i,je(a.children).sourceSpan.end);let o=a.children[0];return o.length===n?a.children.shift():(o.sourceSpan=new _e(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=Ve(e,p);t&&e.parent.replaceChild(e,t)}})),l}function Ke(){let{name:e,canSelfClose: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)=>Xe(o,Object.assign({parser:e},u),{canSelfClose:t,normalizeTagName:s,normalizeAttributeName:r,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:n,getTagContentType:a}),hasPragma:ze,astFormat:"html",locStart:Ge,locEnd:We}}t.exports={parsers:{html:Ke({name:"html",canSelfClose:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Ke({name:"angular",canSelfClose:!0}),vue:Ke({name:"vue",canSelfClose:!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 Ie().TagContentType.RAW_TEXT}}),lwc:Ke({name:"lwc"})}}}));return Le()}()})),gd=se(yd),xd=["css","scss","less","json","html","vue"],vd=function(e){var t=K({customFileTypeParser:{}},e);return function(e,s){var r;if("js"===s||"jsx"===s)r="babel";else if(xd.indexOf(s)>=0)r=s;else{if(!t.customFileTypeParser[s])return e;r=t.customFileTypeParser[s]}return V.default.format(e,{parser:r,plugins:ee([dd,md,gd],Q(t.plugins||[]),!1),singleQuote:!0,jsxSingleQuote:!0})}},bd=function(e){return function(t){return Y(void 0,void 0,void 0,(function(){var s,r,i;return Z(this,(function(n){return s=e||"react",r=K({},t),i=r.ir,r.chunks.push({type:Ma.STRING,fileType:ja.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:Ma.STRING,fileType:ja.JS,name:jp,content:"\n export const ".concat(e.name," = ").concat(e.content.value,";\n "),linkAfter:[Op,Lp,Bp]})})),[2,r]}))}))}};var Ed=function(e){var t,s=e.schema.router;if(s&&0!==(null===(t=s.routes)||void 0===t?void 0:t.length)){var r=[],i=function(e){e.forEach((function(e){e.page&&-1===r.indexOf(e.page)&&r.push(e.page),e.children&&e.children.length>0&&i(e.children)}))};i(s.routes);var n=s.routes.map((function(e){return Ad(e)})),a=r.map((function(e){return function(e,t){var s=e.slice(0,1).toUpperCase()+e.slice(1);return _.variableDeclaration("const",[_.variableDeclarator(_.identifier(s),_.callExpression(_.identifier("lazy"),[_.arrowFunctionExpression([],_.callExpression(_.identifier("import"),[_.stringLiteral(t)]))]))])}(e,"./pages/".concat(e))}));return{fileLazyImports:a,routeElements:n}}};function Cd(e){var t;try{var s=rt(e,{sourceType:"module",plugins:["jsx"]});return null===(t=null==s?void 0:s.program)||void 0===t?void 0:t.body[0]}catch(e){return console.error("解析错误:",e),null}}function Ad(e){var t=[];return e.children&&(t=e.children.map((function(e){return Ad(e)}))),e.redirect?Cd('<Route path="'.concat(e.path,'" element={<Navigate to="').concat(e.redirect,'"/>}></Route>')):function(e,t,s,r){void 0===s&&(s=!1),void 0===r&&(r=null);var i=[_.jsxAttribute(_.jsxIdentifier("path"),_.stringLiteral(e))];s&&i.push(_.jsxAttribute(_.jsxIdentifier("exact")));var n=_.jsxOpeningElement(_.jsxIdentifier("Route"),i,!r);return t||r?(t&&i.push(_.jsxAttribute(_.jsxIdentifier("element"),_.jsxExpressionContainer(_.jsxElement(_.jsxOpeningElement(_.jsxIdentifier(t.slice(0,1).toUpperCase()+t.slice(1)),[],!0),null,[],!1)))),_.jsxElement(n,_.jsxClosingElement(_.jsxIdentifier("Route")),r||[],!1)):_.jsxElement(n,_.jsxClosingElement(_.jsxIdentifier("Route")),[],!1)}(e.path,e.page,e.exact,t)}var wd=require("fs-extra");function Dd(e){var t,s;return Y(this,void 0,void 0,(function(){var r,i;return Z(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,ka("/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"string"==typeof(r=n.sent()).data.schema&&(r.data.schema=JSON.parse(r.data.schema)),[2,r.data];case 2:throw i=n.sent(),console.log("[ERROR] ",i),i;case 3:return[2]}}))}))}var Td=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},Sd=function(e,t){return Y(void 0,void 0,void 0,(function(){var e;return Z(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,ka("/file/getUploadToken",K({},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 Y(void 0,void 0,void 0,(function(){var s,r,i,n,a,o,c;return Z(this,(function(u){switch(u.label){case 0:return[4,Sd(0,t)];case 1:s=u.sent(),r=s.token,i=s.key,(n=new yn).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,qn.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]}}))}))},kd=function(e){var t=/exports\.(\w+)/.exec(e);return t?t[1]:""};function Nd(e){return Y(this,void 0,void 0,(function(){var t;return Z(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,G.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]}}))}))}var Id=ie(A({__proto__:null,default:N.default},[k])),_d=function(){if("object"==typeof process&&process.versions&&process.versions.electron)try{const e=Id;if(Object.keys(e).length>0)return e}catch(e){}return N.default},Fd={LOCHDR:30,LOCSIG:67324752,LOCVER:4,LOCFLG:6,LOCHOW:8,LOCTIM:10,LOCCRC:14,LOCSIZ:18,LOCLEN:22,LOCNAM:26,LOCEXT:28,EXTSIG:134695760,EXTHDR:16,EXTCRC:4,EXTSIZ:8,EXTLEN:12,CENHDR:46,CENSIG:33639248,CENVEM:4,CENVER:6,CENFLG:8,CENHOW:10,CENTIM:12,CENCRC:16,CENSIZ:20,CENLEN:24,CENNAM:28,CENEXT:30,CENCOM:32,CENDSK:34,CENATT:36,CENATX:38,CENOFF:42,ENDHDR:22,ENDSIG:101010256,ENDSUB:8,ENDTOT:10,ENDSIZ:12,ENDOFF:16,ENDCOM:20,END64HDR:20,END64SIG:117853008,END64START:4,END64OFF:8,END64NUMDISKS:16,ZIP64SIG:101075792,ZIP64HDR:56,ZIP64LEAD:12,ZIP64SIZE:4,ZIP64VEM:12,ZIP64VER:14,ZIP64DSK:16,ZIP64DSKDIR:20,ZIP64SUB:24,ZIP64TOT:32,ZIP64SIZB:40,ZIP64OFF:48,ZIP64EXTRA:56,STORED:0,SHRUNK:1,REDUCED1:2,REDUCED2:3,REDUCED3:4,REDUCED4:5,IMPLODED:6,DEFLATED:8,ENHANCED_DEFLATED:9,PKWARE:10,BZIP2:12,LZMA:14,IBM_TERSE:18,IBM_LZ77:19,AES_ENCRYPT:99,FLG_ENC:1,FLG_COMP1:2,FLG_COMP2:4,FLG_DESC:8,FLG_ENH:16,FLG_PATCH:32,FLG_STR:64,FLG_EFS:2048,FLG_MSK:4096,FILE:2,BUFFER:1,NONE:0,EF_ID:0,EF_SIZE:2,ID_ZIP64:1,ID_AVINFO:7,ID_PFS:8,ID_OS2:9,ID_NTFS:10,ID_OPENVMS:12,ID_UNIX:13,ID_FORK:14,ID_PATCH:15,ID_X509_PKCS7:20,ID_X509_CERTID_F:21,ID_X509_CERTID_C:22,ID_STRONGENC:23,ID_RECORD_MGT:24,ID_X509_PKCS7_RL:25,ID_IBM1:101,ID_IBM2:102,ID_POSZIP:18064,EF_ZIP64_OR_32:4294967295,EF_ZIP64_OR_16:65535,EF_ZIP64_SUNCOMP:0,EF_ZIP64_SCOMP:8,EF_ZIP64_RHO:16,EF_ZIP64_DSN:24},Od={INVALID_LOC:"Invalid LOC header (bad signature)",INVALID_CEN:"Invalid CEN header (bad signature)",INVALID_END:"Invalid END header (bad signature)",NO_DATA:"Nothing to decompress",BAD_CRC:"CRC32 checksum failed",FILE_IN_THE_WAY:"There is a file in the way: %s",UNKNOWN_METHOD:"Invalid/unsupported compression method",AVAIL_DATA:"inflate::Available inflate data did not terminate",INVALID_DISTANCE:"inflate::Invalid literal/length or distance code in fixed or dynamic block",TO_MANY_CODES:"inflate::Dynamic block code description: too many length or distance codes",INVALID_REPEAT_LEN:"inflate::Dynamic block code description: repeat more than specified lengths",INVALID_REPEAT_FIRST:"inflate::Dynamic block code description: repeat lengths with no first length",INCOMPLETE_CODES:"inflate::Dynamic block code description: code lengths codes incomplete",INVALID_DYN_DISTANCE:"inflate::Dynamic block code description: invalid distance code lengths",INVALID_CODES_LEN:"inflate::Dynamic block code description: invalid literal/length code lengths",INVALID_STORE_BLOCK:"inflate::Stored block length did not match one's complement",INVALID_BLOCK_TYPE:"inflate::Invalid block type (type == 3)",CANT_EXTRACT_FILE:"Could not extract the file",CANT_OVERRIDE:"Target file already exists",NO_ZIP:"No zip file was loaded",NO_ENTRY:"Entry doesn't exist",DIRECTORY_CONTENT_ERROR:"A directory cannot have content",FILE_NOT_FOUND:"File not found: %s",NOT_IMPLEMENTED:"Not implemented",INVALID_FILENAME:"Invalid filename",INVALID_FORMAT:"Invalid or unsupported zip format. No END header found"};Od.INVALID_LOC,Od.INVALID_CEN,Od.INVALID_END,Od.NO_DATA,Od.BAD_CRC,Od.FILE_IN_THE_WAY,Od.UNKNOWN_METHOD,Od.AVAIL_DATA,Od.INVALID_DISTANCE,Od.TO_MANY_CODES,Od.INVALID_REPEAT_LEN,Od.INVALID_REPEAT_FIRST,Od.INCOMPLETE_CODES,Od.INVALID_DYN_DISTANCE,Od.INVALID_CODES_LEN,Od.INVALID_STORE_BLOCK,Od.INVALID_BLOCK_TYPE,Od.CANT_EXTRACT_FILE,Od.CANT_OVERRIDE,Od.NO_ZIP,Od.NO_ENTRY,Od.DIRECTORY_CONTENT_ERROR,Od.FILE_NOT_FOUND,Od.NOT_IMPLEMENTED,Od.INVALID_FILENAME,Od.INVALID_FORMAT;const Ld=_d(),Bd="object"==typeof process&&"win32"===process.platform,jd=e=>e&&"object"==typeof e,Md=new Uint32Array(256).map(((e,t)=>{for(let e=0;e<8;e++)1&t?t=3988292384^t>>>1:t>>>=1;return t>>>0}));function Rd(e){this.sep=T.default.sep,this.fs=Ld,jd(e)&&jd(e.fs)&&"function"==typeof e.fs.statSync&&(this.fs=e.fs)}var Ud=Rd;Rd.prototype.makeDir=function(e){const t=this;!function(e){let s=e.split(t.sep)[0];e.split(t.sep).forEach((function(e){if(e&&":"!==e.substr(-1,1)){var r;s+=t.sep+e;try{r=t.fs.statSync(s)}catch(e){t.fs.mkdirSync(s)}if(r&&r.isFile())throw Od.FILE_IN_THE_WAY.replace("%s",s)}}))}(e)},Rd.prototype.writeFileTo=function(e,t,s,r){const i=this;if(i.fs.existsSync(e)){if(!s)return!1;if(i.fs.statSync(e).isDirectory())return!1}var n,a=T.default.dirname(e);i.fs.existsSync(a)||i.makeDir(a);try{n=i.fs.openSync(e,"w",438)}catch(t){i.fs.chmodSync(e,438),n=i.fs.openSync(e,"w",438)}if(n)try{i.fs.writeSync(n,t,0,t.length,0)}finally{i.fs.closeSync(n)}return i.fs.chmodSync(e,r||438),!0},Rd.prototype.writeFileToAsync=function(e,t,s,r,i){"function"==typeof r&&(i=r,r=void 0);const n=this;n.fs.exists(e,(function(a){if(a&&!s)return i(!1);n.fs.stat(e,(function(s,o){if(a&&o.isDirectory())return i(!1);var c=T.default.dirname(e);n.fs.exists(c,(function(s){s||n.makeDir(c),n.fs.open(e,"w",438,(function(s,a){s?n.fs.chmod(e,438,(function(){n.fs.open(e,"w",438,(function(s,a){n.fs.write(a,t,0,t.length,0,(function(){n.fs.close(a,(function(){n.fs.chmod(e,r||438,(function(){i(!0)}))}))}))}))})):a?n.fs.write(a,t,0,t.length,0,(function(){n.fs.close(a,(function(){n.fs.chmod(e,r||438,(function(){i(!0)}))}))})):n.fs.chmod(e,r||438,(function(){i(!0)}))}))}))}))}))},Rd.prototype.findFiles=function(e){const t=this;return function e(s,r,i){"boolean"==typeof r&&(i=r,r=void 0);let n=[];return t.fs.readdirSync(s).forEach((function(a){var o=T.default.join(s,a);t.fs.statSync(o).isDirectory()&&i&&(n=n.concat(e(o,r,i))),r&&!r.test(o)||n.push(T.default.normalize(o)+(t.fs.statSync(o).isDirectory()?t.sep:""))})),n}(e,void 0,!0)},Rd.prototype.getAttributes=function(){},Rd.prototype.setAttributes=function(){},Rd.crc32update=function(e,t){return Md[255&(e^t)]^e>>>8},Rd.crc32=function(e){"string"==typeof e&&(e=Buffer.from(e,"utf8")),Md.length||genCRCTable();let t=e.length,s=-1;for(let r=0;r<t;)s=Rd.crc32update(s,e[r++]);return~s>>>0},Rd.methodToString=function(e){switch(e){case Fd.STORED:return"STORED ("+e+")";case Fd.DEFLATED:return"DEFLATED ("+e+")";default:return"UNSUPPORTED ("+e+")"}},Rd.canonical=function(e){if(!e)return"";var t=T.default.posix.normalize("/"+e.split("\\").join("/"));return T.default.join(".",t)},Rd.sanitize=function(e,t){e=T.default.resolve(T.default.normalize(e));for(var s=t.split("/"),r=0,i=s.length;r<i;r++){var n=T.default.normalize(T.default.join(e,s.slice(r,i).join(T.default.sep)));if(0===n.indexOf(e))return n}return T.default.normalize(T.default.join(e,T.default.basename(t)))},Rd.toBuffer=function(e){return Buffer.isBuffer(e)?e:e instanceof Uint8Array?Buffer.from(e):"string"==typeof e?Buffer.from(e,"utf8"):Buffer.alloc(0)},Rd.readBigUInt64LE=function(e,t){var s=Buffer.from(e.slice(t,t+8));return s.swap64(),parseInt(`0x${s.toString("hex")}`)},Rd.isWin=Bd,Rd.crcTable=Md;const qd=_d();qd.existsSync=qd.existsSync||T.default.existsSync;var $d=Ud,zd=Fd,Hd=Od,Vd=function(e){var t=e||"",s={directory:!1,readonly:!1,hidden:!1,executable:!1,mtime:0,atime:0},r=null;return t&&qd.existsSync(t)?(r=qd.statSync(t),s.directory=r.isDirectory(),s.mtime=r.mtime,s.atime=r.atime,s.executable=!!(73&r.mode),s.readonly=!(128&r.mode),s.hidden="."===T.default.basename(t)[0]):console.warn("Invalid path: "+t),{get directory(){return s.directory},get readOnly(){return s.readonly},get hidden(){return s.hidden},get mtime(){return s.mtime},get atime(){return s.atime},get executable(){return s.executable},decodeAttributes:function(){},encodeAttributes:function(){},toJSON:function(){return{path:t,isDirectory:s.directory,isReadOnly:s.readonly,isHidden:s.hidden,isExecutable:s.executable,mTime:s.mtime,aTime:s.atime}},toString:function(){return JSON.stringify(this.toJSON(),null,"\t")}}};$d.Constants=zd,$d.Errors=Hd,$d.FileAttr=Vd;var Gd=$d.Constants,Wd=$d.Constants,Jd=function(){var e=20,t=10,s=0,r=0,i=0,n=0,a=0,o=0,c=0,u=0,l=0,p=0,h=0,d=0,f=0;e|=$d.isWin?2560:768,s|=Gd.FLG_EFS;var m={};function y(e){e=new Date(e),i=(e.getFullYear()-1980&127)<<25|e.getMonth()+1<<21|e.getDate()<<16|e.getHours()<<11|e.getMinutes()<<5|e.getSeconds()>>1}return y(+new Date),{get made(){return e},set made(t){e=t},get version(){return t},set version(e){t=e},get flags(){return s},set flags(e){s=e},get method(){return r},set method(e){switch(e){case Gd.STORED:this.version=10;case Gd.DEFLATED:default:this.version=20}r=e},get time(){return new Date(1980+(i>>25&127),(i>>21&15)-1,i>>16&31,i>>11&31,i>>5&63,(31&i)<<1)},set time(e){y(e)},get timeHighByte(){return i>>>8&255},get crc(){return n},set crc(e){n=Math.max(0,e)>>>0},get compressedSize(){return a},set compressedSize(e){a=Math.max(0,e)>>>0},get size(){return o},set size(e){o=Math.max(0,e)>>>0},get fileNameLength(){return c},set fileNameLength(e){c=e},get extraLength(){return u},set extraLength(e){u=e},get commentLength(){return l},set commentLength(e){l=e},get diskNumStart(){return p},set diskNumStart(e){p=Math.max(0,e)>>>0},get inAttr(){return h},set inAttr(e){h=Math.max(0,e)>>>0},get attr(){return d},set attr(e){d=Math.max(0,e)>>>0},get fileAttr(){return d?d>>>0>>16&4095:0},get offset(){return f},set offset(e){f=Math.max(0,e)>>>0},get encripted(){return!(1&~s)},get entryHeaderSize(){return Gd.CENHDR+c+u+l},get realDataOffset(){return f+Gd.LOCHDR+m.fnameLen+m.extraLen},get dataHeader(){return m},loadDataHeaderFromBinary:function(e){var t=e.slice(f,f+Gd.LOCHDR);if(t.readUInt32LE(0)!==Gd.LOCSIG)throw new Error($d.Errors.INVALID_LOC);m={version:t.readUInt16LE(Gd.LOCVER),flags:t.readUInt16LE(Gd.LOCFLG),method:t.readUInt16LE(Gd.LOCHOW),time:t.readUInt32LE(Gd.LOCTIM),crc:t.readUInt32LE(Gd.LOCCRC),compressedSize:t.readUInt32LE(Gd.LOCSIZ),size:t.readUInt32LE(Gd.LOCLEN),fnameLen:t.readUInt16LE(Gd.LOCNAM),extraLen:t.readUInt16LE(Gd.LOCEXT)}},loadFromBinary:function(m){if(m.length!==Gd.CENHDR||m.readUInt32LE(0)!==Gd.CENSIG)throw new Error($d.Errors.INVALID_CEN);e=m.readUInt16LE(Gd.CENVEM),t=m.readUInt16LE(Gd.CENVER),s=m.readUInt16LE(Gd.CENFLG),r=m.readUInt16LE(Gd.CENHOW),i=m.readUInt32LE(Gd.CENTIM),n=m.readUInt32LE(Gd.CENCRC),a=m.readUInt32LE(Gd.CENSIZ),o=m.readUInt32LE(Gd.CENLEN),c=m.readUInt16LE(Gd.CENNAM),u=m.readUInt16LE(Gd.CENEXT),l=m.readUInt16LE(Gd.CENCOM),p=m.readUInt16LE(Gd.CENDSK),h=m.readUInt16LE(Gd.CENATT),d=m.readUInt32LE(Gd.CENATX),f=m.readUInt32LE(Gd.CENOFF)},dataHeaderToBinary:function(){var e=Buffer.alloc(Gd.LOCHDR);return e.writeUInt32LE(Gd.LOCSIG,0),e.writeUInt16LE(t,Gd.LOCVER),e.writeUInt16LE(s,Gd.LOCFLG),e.writeUInt16LE(r,Gd.LOCHOW),e.writeUInt32LE(i,Gd.LOCTIM),e.writeUInt32LE(n,Gd.LOCCRC),e.writeUInt32LE(a,Gd.LOCSIZ),e.writeUInt32LE(o,Gd.LOCLEN),e.writeUInt16LE(c,Gd.LOCNAM),e.writeUInt16LE(u,Gd.LOCEXT),e},entryHeaderToBinary:function(){var m=Buffer.alloc(Gd.CENHDR+c+u+l);return m.writeUInt32LE(Gd.CENSIG,0),m.writeUInt16LE(e,Gd.CENVEM),m.writeUInt16LE(t,Gd.CENVER),m.writeUInt16LE(s,Gd.CENFLG),m.writeUInt16LE(r,Gd.CENHOW),m.writeUInt32LE(i,Gd.CENTIM),m.writeUInt32LE(n,Gd.CENCRC),m.writeUInt32LE(a,Gd.CENSIZ),m.writeUInt32LE(o,Gd.CENLEN),m.writeUInt16LE(c,Gd.CENNAM),m.writeUInt16LE(u,Gd.CENEXT),m.writeUInt16LE(l,Gd.CENCOM),m.writeUInt16LE(p,Gd.CENDSK),m.writeUInt16LE(h,Gd.CENATT),m.writeUInt32LE(d,Gd.CENATX),m.writeUInt32LE(f,Gd.CENOFF),m.fill(0,Gd.CENHDR),m},toJSON:function(){const i=function(e){return e+" bytes"};return{made:e,version:t,flags:s,method:$d.methodToString(r),time:this.time,crc:"0x"+n.toString(16).toUpperCase(),compressedSize:i(a),size:i(o),fileNameLength:i(c),extraLength:i(u),commentLength:i(l),diskNumStart:p,inAttr:h,attr:d,offset:f,entryHeaderSize:i(Gd.CENHDR+c+u+l)}},toString:function(){return JSON.stringify(this.toJSON(),null,"\t")}}},Xd=function(){var e=0,t=0,s=0,r=0,i=0;return{get diskEntries(){return e},set diskEntries(s){e=t=s},get totalEntries(){return t},set totalEntries(s){t=e=s},get size(){return s},set size(e){s=e},get offset(){return r},set offset(e){r=e},get commentLength(){return i},set commentLength(e){i=e},get mainHeaderSize(){return Wd.ENDHDR+i},loadFromBinary:function(n){if((n.length!==Wd.ENDHDR||n.readUInt32LE(0)!==Wd.ENDSIG)&&(n.length<Wd.ZIP64HDR||n.readUInt32LE(0)!==Wd.ZIP64SIG))throw new Error($d.Errors.INVALID_END);n.readUInt32LE(0)===Wd.ENDSIG?(e=n.readUInt16LE(Wd.ENDSUB),t=n.readUInt16LE(Wd.ENDTOT),s=n.readUInt32LE(Wd.ENDSIZ),r=n.readUInt32LE(Wd.ENDOFF),i=n.readUInt16LE(Wd.ENDCOM)):(e=$d.readBigUInt64LE(n,Wd.ZIP64SUB),t=$d.readBigUInt64LE(n,Wd.ZIP64TOT),s=$d.readBigUInt64LE(n,Wd.ZIP64SIZE),r=$d.readBigUInt64LE(n,Wd.ZIP64OFF),i=0)},toBinary:function(){var n=Buffer.alloc(Wd.ENDHDR+i);return n.writeUInt32LE(Wd.ENDSIG,0),n.writeUInt32LE(0,4),n.writeUInt16LE(e,Wd.ENDSUB),n.writeUInt16LE(t,Wd.ENDTOT),n.writeUInt32LE(s,Wd.ENDSIZ),n.writeUInt32LE(r,Wd.ENDOFF),n.writeUInt16LE(i,Wd.ENDCOM),n.fill(" ",Wd.ENDHDR),n},toJSON:function(){return{diskEntries:e,totalEntries:t,size:s+" bytes",offset:function(e,t){let s=e.toString(16).toUpperCase();for(;s.length<t;)s="0"+s;return"0x"+s}(r,4),commentLength:i}},toString:function(){return JSON.stringify(this.toJSON(),null,"\t")}}},Kd={EntryHeader:Jd,MainHeader:Xd};const{randomFillSync:Yd}=O.default,Zd=new Uint32Array(256).map(((e,t)=>{for(let e=0;e<8;e++)1&t?t=t>>>1^3988292384:t>>>=1;return t>>>0})),Qd=(e,t)=>Math.imul(e,t)>>>0,ef=(e,t)=>Zd[255&(e^t)]^e>>>8,tf=()=>"function"==typeof Yd?Yd(Buffer.alloc(12)):tf.node();tf.node=()=>{const e=Buffer.alloc(12),t=e.length;for(let s=0;s<t;s++)e[s]=256*Math.random()&255;return e};const sf={genSalt:tf};function rf(e){const t=Buffer.isBuffer(e)?e:Buffer.from(e);this.keys=new Uint32Array([305419896,591751049,878082192]);for(let e=0;e<t.length;e++)this.updateKeys(t[e])}rf.prototype.updateKeys=function(e){const t=this.keys;return t[0]=ef(t[0],e),t[1]+=255&t[0],t[1]=Qd(t[1],134775813)+1,t[2]=ef(t[2],t[1]>>>24),e},rf.prototype.next=function(){const e=(2|this.keys[2])>>>0;return Qd(e,1^e)>>8&255};var nf={decrypt:function(e,t,s){if(!e||!Buffer.isBuffer(e)||e.length<12)return Buffer.alloc(0);const r=function(e){const t=new rf(e);return function(e){const s=Buffer.alloc(e.length);let r=0;for(let i of e)s[r++]=t.updateKeys(i^t.next());return s}}(s),i=r(e.slice(0,12)),n=8&~t.flags?t.crc>>>24:t.timeHighByte;if(i[11]!==n)throw"ADM-ZIP: Wrong Password";return r(e.slice(12))},encrypt:function(e,t,s,r=!1){null==e&&(e=Buffer.alloc(0)),Buffer.isBuffer(e)||(e=Buffer.from(e.toString()));const i=function(e){const t=new rf(e);return function(e,s,r=0){s||(s=Buffer.alloc(e.length));for(let i of e){const e=t.next();s[r++]=i^e,t.updateKeys(i)}return s}}(s),n=sf.genSalt();n[11]=t.crc>>>24&255,r&&(n[10]=t.crc>>>16&255);const a=Buffer.alloc(e.length+12);return i(n,a),i(e,a,12)},_salter:function(e){Buffer.isBuffer(e)&&e.length>=12?sf.genSalt=function(){return e.slice(0,12)}:sf.genSalt="node"===e?tf.node:tf}},af=function(e){var t=q.default,s={chunkSize:1024*(parseInt(e.length/1024)+1)};return{deflate:function(){return t.deflateRawSync(e,s)},deflateAsync:function(r){var i=t.createDeflateRaw(s),n=[],a=0;i.on("data",(function(e){n.push(e),a+=e.length})),i.on("end",(function(){var e=Buffer.alloc(a),t=0;e.fill(0);for(var s=0;s<n.length;s++){var i=n[s];i.copy(e,t),t+=i.length}r&&r(e)})),i.end(e)}}},of=function(e){var t=q.default;return{inflate:function(){return t.inflateRawSync(e)},inflateAsync:function(s){var r=t.createInflateRaw(),i=[],n=0;r.on("data",(function(e){i.push(e),n+=e.length})),r.on("end",(function(){var e=Buffer.alloc(n),t=0;e.fill(0);for(var r=0;r<i.length;r++){var a=i[r];a.copy(e,t),t+=a.length}s&&s(e)})),r.end(e)}}},cf={Deflater:af,Inflater:of,ZipCrypto:nf},uf=$d.Constants,lf=function(e){var t=new Kd.EntryHeader,s=Buffer.alloc(0),r=Buffer.alloc(0),i=!1,n=null,a=Buffer.alloc(0);function o(){return e&&Buffer.isBuffer(e)?(t.loadDataHeaderFromBinary(e),e.slice(t.realDataOffset,t.realDataOffset+t.compressedSize)):Buffer.alloc(0)}function c(e){return!(8&~t.flags&&$d.crc32(e)!==t.dataHeader.crc)}function u(e,r,n){if(void 0===r&&"string"==typeof e&&(n=e,e=void 0),i)return e&&r&&r(Buffer.alloc(0),$d.Errors.DIRECTORY_CONTENT_ERROR),Buffer.alloc(0);var a=o();if(0===a.length)return e&&r&&r(a),a;if(t.encripted){if("string"!=typeof n&&!Buffer.isBuffer(n))throw new Error("ADM-ZIP: Incompatible password parameter");a=cf.ZipCrypto.decrypt(a,t,n)}var u=Buffer.alloc(t.size);switch(t.method){case $d.Constants.STORED:if(a.copy(u),c(u))return e&&r&&r(u),u;throw e&&r&&r(u,$d.Errors.BAD_CRC),new Error($d.Errors.BAD_CRC);case $d.Constants.DEFLATED:var l=new cf.Inflater(a);if(!e){if(l.inflate(u).copy(u,0),!c(u))throw new Error($d.Errors.BAD_CRC+" "+s.toString());return u}l.inflateAsync((function(e){e.copy(e,0),r&&(c(e)?r(e):r(e,$d.Errors.BAD_CRC))}));break;default:throw e&&r&&r(Buffer.alloc(0),$d.Errors.UNKNOWN_METHOD),new Error($d.Errors.UNKNOWN_METHOD)}}function l(s,r){if((!n||!n.length)&&Buffer.isBuffer(e))return s&&r&&r(o()),o();if(n.length&&!i){var a;switch(t.method){case $d.Constants.STORED:return t.compressedSize=t.size,a=Buffer.alloc(n.length),n.copy(a),s&&r&&r(a),a;default:case $d.Constants.DEFLATED:var c=new cf.Deflater(n);if(!s){var u=c.deflate();return t.compressedSize=u.length,u}c.deflateAsync((function(e){a=Buffer.alloc(e.length),t.compressedSize=e.length,e.copy(a),r&&r(a)})),c=null}}else{if(!s||!r)return Buffer.alloc(0);r(Buffer.alloc(0))}}function p(e,t){return(e.readUInt32LE(t+4)<<4)+e.readUInt32LE(t)}function h(e){var s,r,i,n;e.length>=uf.EF_ZIP64_SCOMP&&(s=p(e,uf.EF_ZIP64_SUNCOMP),t.size===uf.EF_ZIP64_OR_32&&(t.size=s)),e.length>=uf.EF_ZIP64_RHO&&(r=p(e,uf.EF_ZIP64_SCOMP),t.compressedSize===uf.EF_ZIP64_OR_32&&(t.compressedSize=r)),e.length>=uf.EF_ZIP64_DSN&&(i=p(e,uf.EF_ZIP64_RHO),t.offset===uf.EF_ZIP64_OR_32&&(t.offset=i)),e.length>=uf.EF_ZIP64_DSN+4&&(n=e.readUInt32LE(uf.EF_ZIP64_DSN),t.diskNumStart===uf.EF_ZIP64_OR_16&&(t.diskNumStart=n))}return{get entryName(){return s.toString()},get rawEntryName(){return s},set entryName(e){var r=(s=$d.toBuffer(e))[s.length-1];i=47===r||92===r,t.fileNameLength=s.length},get extra(){return a},set extra(e){a=e,t.extraLength=e.length,function(e){for(var t,s,r,i=0;i<e.length;)t=e.readUInt16LE(i),i+=2,s=e.readUInt16LE(i),i+=2,r=e.slice(i,i+s),i+=s,uf.ID_ZIP64===t&&h(r)}(e)},get comment(){return r.toString()},set comment(e){r=$d.toBuffer(e),t.commentLength=r.length},get name(){var e=s.toString();return i?e.substr(e.length-1).split("/").pop():e.split("/").pop()},get isDirectory(){return i},getCompressedData:function(){return l(!1,null)},getCompressedDataAsync:function(e){l(!0,e)},setData:function(e){n=$d.toBuffer(e),!i&&n.length?(t.size=n.length,t.method=$d.Constants.DEFLATED,t.crc=$d.crc32(e),t.changed=!0):t.method=$d.Constants.STORED},getData:function(e){return t.changed?n:u(!1,null,e)},getDataAsync:function(e,s){t.changed?e(n):u(!0,e,s)},set attr(e){t.attr=e},get attr(){return t.attr},set header(e){t.loadFromBinary(e)},get header(){return t},packHeader:function(){var e=t.entryHeaderToBinary(),i=$d.Constants.CENHDR;return s.copy(e,i),i+=s.length,t.extraLength&&(a.copy(e,i),i+=t.extraLength),t.commentLength&&r.copy(e,i),e},toJSON:function(){const s=function(e){return"<"+(e&&e.length+" bytes buffer"||"null")+">"};return{entryName:this.entryName,name:this.name,comment:this.comment,isDirectory:this.isDirectory,header:t.toJSON(),compressedData:s(e),data:s(n)}},toString:function(){return JSON.stringify(this.toJSON(),null,"\t")}}},pf=function(e,t){var s=[],r={},i=Buffer.alloc(0),n=new Kd.MainHeader,a=!1;const o=Object.assign(Object.create(null),t),{noSort:c}=o;function u(){a=!0,r={},s=new Array(n.diskEntries);for(var t=n.offset,i=0;i<s.length;i++){var o=t,c=new lf(e);c.header=e.slice(o,o+=$d.Constants.CENHDR),c.entryName=e.slice(o,o+=c.header.fileNameLength),c.header.extraLength&&(c.extra=e.slice(o,o+=c.header.extraLength)),c.header.commentLength&&(c.comment=e.slice(o,o+c.header.commentLength)),t+=c.header.entryHeaderSize,s[i]=c,r[c.entryName]=c}}function l(){s.length>1&&!c&&s.sort(((e,t)=>e.entryName.toLowerCase().localeCompare(t.entryName.toLowerCase())))}return e?function(t){var s=e.length-$d.Constants.ENDHDR,r=Math.max(0,s-65535),a=r,o=e.length,c=-1,l=0;for(;s>=a;s--)if(80===e[s])if(e.readUInt32LE(s)!==$d.Constants.ENDSIG)if(e.readUInt32LE(s)!==$d.Constants.END64SIG){if(e.readUInt32LE(s)===$d.Constants.ZIP64SIG){c=s,o=s+$d.readBigUInt64LE(e,s+$d.Constants.ZIP64SIZE)+$d.Constants.ZIP64LEAD;break}}else a=r;else c=s,l=s,o=s+$d.Constants.ENDHDR,a=s-$d.Constants.END64HDR;if(!~c)throw new Error($d.Errors.INVALID_FORMAT);n.loadFromBinary(e.slice(c,o)),n.commentLength&&(i=e.slice(l+$d.Constants.ENDHDR));t&&u()}(o.readEntries):a=!0,{get entries(){return a||u(),s},get comment(){return i.toString()},set comment(e){i=$d.toBuffer(e),n.commentLength=i.length},getEntryCount:function(){return a?s.length:n.diskEntries},forEach:function(t){a?s.forEach(t):function(t){const s=n.diskEntries;let r=n.offset;for(let i=0;i<s;i++){let s=r;const i=new lf(e);i.header=e.slice(s,s+=$d.Constants.CENHDR),i.entryName=e.slice(s,s+=i.header.fileNameLength),r+=i.header.entryHeaderSize,t(i)}}(t)},getEntry:function(e){return a||u(),r[e]||null},setEntry:function(e){a||u(),s.push(e),r[e.entryName]=e,n.totalEntries=s.length},deleteEntry:function(e){a||u();var t=r[e];if(t&&t.isDirectory){var i=this;this.getEntryChildren(t).forEach((function(t){t.entryName!==e&&i.deleteEntry(t.entryName)}))}s.splice(s.indexOf(t),1),delete r[e],n.totalEntries=s.length},getEntryChildren:function(e){if(a||u(),e&&e.isDirectory){const t=[],r=e.entryName,i=r.length;return s.forEach((function(e){e.entryName.substr(0,i)===r&&t.push(e)})),t}return[]},compressToBuffer:function(){a||u(),l();const e=[],t=[];let r=0,o=0;n.size=0,n.offset=0;for(const i of s){const s=i.getCompressedData();i.header.offset=o;const a=i.header.dataHeaderToBinary(),c=i.rawEntryName.length,u=Buffer.alloc(c+i.extra.length);i.rawEntryName.copy(u,0),i.extra.copy(u,c);const l=a.length+u.length+s.length;o+=l,e.push(a),e.push(u),e.push(s);const p=i.packHeader();t.push(p),n.size+=p.length,r+=l+p.length}r+=n.mainHeaderSize,n.offset=o,o=0;const c=Buffer.alloc(r);for(const t of e)t.copy(c,o),o+=t.length;for(const e of t)e.copy(c,o),o+=e.length;const p=n.toBinary();return i&&i.copy(p,$d.Constants.ENDHDR),p.copy(c,o),c},toAsyncBuffer:function(e,t,r,o){try{a||u(),l();const t=[],c=[];let p=0,h=0;n.size=0,n.offset=0;const d=function(s){if(s.length){const e=s.pop(),i=e.entryName+e.extra.toString();r&&r(i),e.getCompressedDataAsync((function(r){o&&o(i),e.header.offset=h;const a=e.header.dataHeaderToBinary(),u=Buffer.alloc(i.length,i),l=a.length+u.length+r.length;h+=l,t.push(a),t.push(u),t.push(r);const f=e.packHeader();c.push(f),n.size+=f.length,p+=l+f.length,d(s)}))}else{p+=n.mainHeaderSize,n.offset=h,h=0;const s=Buffer.alloc(p);t.forEach((function(e){e.copy(s,h),h+=e.length})),c.forEach((function(e){e.copy(s,h),h+=e.length}));const r=n.toBinary();i&&i.copy(r,$d.Constants.ENDHDR),r.copy(s,h),e(s)}};d(s)}catch(e){t(e)}}}};const hf=(e,t)=>"boolean"==typeof e?e:t,df=(e,t)=>"string"==typeof e?e:t,ff={noSort:!1,readEntries:!1,method:$d.Constants.NONE,fs:null};var mf=function(e,t){let s=null;const r=Object.assign(Object.create(null),ff);e&&"object"==typeof e&&(e instanceof Uint8Array||(Object.assign(r,e),e=r.input?r.input:void 0,r.input&&delete r.input),Buffer.isBuffer(e)&&(s=e,r.method=$d.Constants.BUFFER,e=void 0)),Object.assign(r,t);const i=new $d(r);if(e&&"string"==typeof e){if(!i.fs.existsSync(e))throw new Error($d.Errors.INVALID_FILENAME);r.method=$d.Constants.FILE,r.filename=e,s=i.fs.readFileSync(e)}const n=new pf(s,r),{canonical:a,sanitize:o}=$d;function c(e){var t;if(e&&n&&("string"==typeof e&&(t=n.getEntry(e)),"object"==typeof e&&void 0!==e.entryName&&void 0!==e.header&&(t=n.getEntry(e.entryName)),t))return t;return null}function u(e){const{join:t,normalize:s,sep:r}=T.default.posix;return t(".",s(r+e.split("\\").join(r)+r))}return{readFile:function(e,t){var s=c(e);return s&&s.getData(t)||null},readFileAsync:function(e,t){var s=c(e);s?s.getDataAsync(t):t(null,"getEntry failed for:"+e)},readAsText:function(e,t){var s=c(e);if(s){var r=s.getData();if(r&&r.length)return r.toString(t||"utf8")}return""},readAsTextAsync:function(e,t,s){var r=c(e);r?r.getDataAsync((function(e,r){r?t(e,r):e&&e.length?t(e.toString(s||"utf8")):t("")})):t("")},deleteFile:function(e){var t=c(e);t&&n.deleteEntry(t.entryName)},addZipComment:function(e){n.comment=e},getZipComment:function(){return n.comment||""},addZipEntryComment:function(e,t){var s=c(e);s&&(s.comment=t)},getZipEntryComment:function(e){var t=c(e);return t&&t.comment||""},updateFile:function(e,t){var s=c(e);s&&s.setData(t)},addLocalFile:function(e,t,s,r){if(!i.fs.existsSync(e))throw new Error($d.Errors.FILE_NOT_FOUND.replace("%s",e));{t=t?u(t):"";var n=e.split("\\").join("/").split("/").pop();t+=s||n;const a=i.fs.statSync(e);this.addFile(t,i.fs.readFileSync(e),r,a)}},addLocalFolder:function(e,t,s,r){var n;if(s instanceof RegExp?(n=s,s=function(e){return n.test(e)}):"function"!=typeof s&&(s=function(){return!0}),t=t?u(t):"",e=T.default.normalize(e),!i.fs.existsSync(e))throw new Error($d.Errors.FILE_NOT_FOUND.replace("%s",e));{const n=i.findFiles(e),a=this;n.length&&n.forEach((function(n){var o=T.default.relative(e,n).split("\\").join("/");if(s(o)){var c=i.fs.statSync(n);c.isFile()?a.addFile(t+o,i.fs.readFileSync(n),"",r||c):a.addFile(t+o+"/",Buffer.alloc(0),"",r||c)}}))}},addLocalFolderAsync:function(e,t,s,r){var n;r instanceof RegExp?(n=r,r=function(e){return n.test(e)}):"function"!=typeof r&&(r=function(){return!0}),s=s?u(s):"",e=T.default.normalize(e);var a=this;i.fs.open(e,"r",(function(n){if(n&&"ENOENT"===n.code)t(void 0,$d.Errors.FILE_NOT_FOUND.replace("%s",e));else if(n)t(void 0,n);else{var o=i.findFiles(e),c=-1,u=function(){if((c+=1)<o.length){var n=o[c],l=T.default.relative(e,n).split("\\").join("/");l=l.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^\x20-\x7E]/g,""),r(l)?i.fs.stat(n,(function(e,r){e&&t(void 0,e),r.isFile()?i.fs.readFile(n,(function(e,i){e?t(void 0,e):(a.addFile(s+l,i,"",r),u())})):(a.addFile(s+l+"/",Buffer.alloc(0),"",r),u())})):process.nextTick((()=>{u()}))}else t(!0,void 0)};u()}}))},addLocalFolderPromise:function(e,t){return new Promise(((s,r)=>{const{filter:i,zipPath:n}=Object.assign({},t);this.addLocalFolderAsync(e,((e,t)=>{t&&r(t),e&&s(this)}),n,i)}))},addFile:function(e,t,s,r){let a=c(e);const o=null!=a;o||(a=new lf,a.entryName=e),a.comment=s||"";const u="object"==typeof r&&r instanceof i.fs.Stats;u&&(a.header.time=r.mtime);var l=a.isDirectory?16:0;let p=a.isDirectory?16384:32768;p|=u?4095&r.mode:"number"==typeof r?4095&r:a.isDirectory?493:420,l=(l|p<<16)>>>0,a.attr=l,a.setData(t),o||n.setEntry(a)},getEntries:function(e){return n.password=e,n?n.entries:[]},getEntry:function(e){return c(e)},getEntryCount:function(){return n.getEntryCount()},forEach:function(e){return n.forEach(e)},extractEntryTo:function(e,t,s,r,u,l){r=hf(r,!1),u=hf(u,!1),s=hf(s,!0),l=df(l,df(u,void 0));var p=c(e);if(!p)throw new Error($d.Errors.NO_ENTRY);var h=a(p.entryName),d=o(t,l&&!p.isDirectory?l:s?h:T.default.basename(h));if(p.isDirectory)return n.getEntryChildren(p).forEach((function(e){if(e.isDirectory)return;var n=e.getData();if(!n)throw new Error($d.Errors.CANT_EXTRACT_FILE);var c=a(e.entryName),l=o(t,s?c:T.default.basename(c));const p=u?e.header.fileAttr:void 0;i.writeFileTo(l,n,r,p)})),!0;var f=p.getData(n.password);if(!f)throw new Error($d.Errors.CANT_EXTRACT_FILE);if(i.fs.existsSync(d)&&!r)throw new Error($d.Errors.CANT_OVERRIDE);const m=u?e.header.fileAttr:void 0;return i.writeFileTo(d,f,r,m),!0},test:function(e){if(!n)return!1;for(var t in n.entries)try{if(t.isDirectory)continue;if(!n.entries[t].getData(e))return!1}catch(e){return!1}return!0},extractAllTo:function(e,t,s,r){if(t=hf(t,!1),r=df(s,r),s=hf(s,!1),!n)throw new Error($d.Errors.NO_ZIP);n.entries.forEach((function(n){var c=o(e,a(n.entryName.toString()));if(n.isDirectory)return void i.makeDir(c);var u=n.getData(r);if(!u)throw new Error($d.Errors.CANT_EXTRACT_FILE);const l=s?n.header.fileAttr:void 0;i.writeFileTo(c,u,t,l);try{i.fs.utimesSync(c,n.header.time,n.header.time)}catch(e){throw new Error($d.Errors.CANT_EXTRACT_FILE)}}))},extractAllToAsync:function(e,t,s,r){if(t=hf(t,!1),"function"!=typeof s||r||(r=s),s=hf(s,!1),r||(r=function(e){throw new Error(e)}),!n)return void r(new Error($d.Errors.NO_ZIP));e=T.default.resolve(e);const c=t=>o(e,T.default.normalize(a(t.entryName.toString()))),u=(e,t)=>new Error(e+': "'+t+'"'),l=[],p=new Set;n.entries.forEach((e=>{e.isDirectory?l.push(e):p.add(e)}));for(const e of l){const t=c(e),n=s?e.header.fileAttr:void 0;try{i.makeDir(t),n&&i.fs.chmodSync(t,n),i.fs.utimesSync(t,e.header.time,e.header.time)}catch(e){r(u("Unable to create folder",t))}}const h=()=>{0===p.size&&r()};for(const n of p.values()){const c=T.default.normalize(a(n.entryName.toString())),l=o(e,c);n.getDataAsync((function(e,a){if(a)r(new Error(a));else if(e){const a=s?n.header.fileAttr:void 0;i.writeFileToAsync(l,e,t,a,(function(e){e?i.fs.utimes(l,n.header.time,n.header.time,(function(e){e?r(u("Unable to set times",l)):(h(),p.delete(n))})):r(u("Unable to write file",l))}))}else r(new Error($d.Errors.CANT_EXTRACT_FILE))}))}h()},writeZip:function(e,t){if(1===arguments.length&&"function"==typeof e&&(t=e,e=""),!e&&r.filename&&(e=r.filename),e){var s=n.compressToBuffer();if(s){var a=i.writeFileTo(e,s,!0);"function"==typeof t&&t(a?null:new Error("failed"),"")}}},writeZipPromise:function(e,t){const{overwrite:s,perm:n}=Object.assign({overwrite:!0},t);return new Promise(((t,a)=>{!e&&r.filename&&(e=r.filename),e||a("ADM-ZIP: ZIP File Name Missing"),this.toBufferPromise().then((r=>{i.writeFileToAsync(e,r,s,n,(e=>e?t(e):a("ADM-ZIP: Wasn't able to write zip file")))}),a)}))},toBufferPromise:function(){return new Promise(((e,t)=>{n.toAsyncBuffer(e,t)}))},toBuffer:function(e,t,s,r){return this.valueOf=2,"function"==typeof e?(n.toAsyncBuffer(e,t,s,r),null):n.compressToBuffer()}}};function yf(e,t){return Y(this,void 0,void 0,(function(){return Z(this,(function(s){try{new mf(e).extractAllTo(t,!0),N.default.unlinkSync(e)}catch(e){throw console.error("Error extracting template:",e),e}return[2]}))}))}function gf(e,t){return Y(this,void 0,void 0,(function(){var s,r;return Z(this,(function(i){switch(i.label){case 0:return i.trys.push([0,4,,5]),console.log("Downloading template from ".concat(e,"...")),[4,W.default.ensureDir(t)];case 1:return i.sent(),s="".concat(t,"/template").concat(Date.now(),".zip"),[4,Hn(e,s)];case 2:return i.sent(),console.log("Template downloaded."),[4,yf(s,t)];case 3:return i.sent(),[3,5];case 4:throw r=i.sent(),console.error("Error downloading or extracting template:"),r;case 5:return[2]}}))}))}function xf(e,t,s){return Y(this,void 0,void 0,(function(){var r,i,n,a,o,c;return Z(this,(function(u){switch(u.label){case 0:return r=process.cwd(),i="".concat(r,"/").concat(s),[4,gf(t,r)];case 1:return u.sent(),[4,W.default.readdir(r,{withFileTypes:!0})];case 2:if(n=u.sent(),!(a=n.find((function(t){return t.isDirectory()&&t.name.startsWith(e.zipName||"---")}))))throw new Error("Failed to find the extracted template directory.");return o="".concat(r,"/").concat(a.name),console.log("oldPath",o),[4,W.default.pathExists(o)];case 3:return c=u.sent(),console.log("isExist: ",c),[4,W.default.rename("".concat(r,"/").concat(a.name),i)];case 4:return u.sent(),console.log('Project "'.concat(s,'" created successfully from template.')),[2]}}))}))}exports.create=function(e){return Y(this,void 0,void 0,(function(){var t,s,r,i,n,a,o,c,u;return Z(this,(function(l){switch(l.label){case 0:s=(t=e||{}).template,r=void 0===s?"vite":s,i=t.folder,n=void 0===i?"appthen-assets-starter":i,console.log("template: ",r),l.label=1;case 1:return l.trys.push([1,6,,7]),[4,ka("/material/templates",{},{method:"GET"})];case 2:return a=l.sent(),o=a.data,c=o.find((function(e){return e.name===r})),c?[4,xf(c,c.url,n)]:[3,4];case 3:return l.sent(),[3,5];case 4:console.log("[ERROR] ","template not found"),l.label=5;case 5:return[3,7];case 6:throw u=l.sent(),console.log("[e] ",u),u;case 7:return[2,1]}}))}))},exports.fuck=function(){},exports.getPureValue=Td,exports.initSolution=function(e,t){return Y(this,void 0,void 0,(function(){var s,r,i,n,a,o,c,u,l,p,h,d,f;return Z(this,(function(m){switch(m.label){case 0:return m.trys.push([0,11,,12]),s=process.cwd(),r=e[0]||"hello",i=S.resolve(s,r),"."===r&&(r=S.basename(s),i=s),n=function(e){return e.replace(/hello-world/g,Ph(r)).replace(/HelloWorld/g,kh(r)).replace(/Hello World/g,Sh(r))},[4,Nd(i)];case 1:m.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"}],m.label=2;case 2:m.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(),m.label=3;case 3:return c.done?[3,7]:(u=c.value,t.verbose&&console.log("%s",Ye.gray("creating file ".concat(u.file))),l=S.join(i,u.file),[4,Nd(S.dirname(l))]);case 4:return m.sent(),[4,G.writeFile(l,n(u.content),{encoding:"utf-8"})];case 5:m.sent(),m.label=6;case 6:return c=o.next(),[3,3];case 7:return[3,10];case 8:return p=m.sent(),d={error:p},[3,10];case 9:try{c&&!c.done&&(f=o.return)&&f.call(o)}finally{if(d)throw d.error}return[7];case 10:return t.quiet||console.log("%s",Ye.green("solution ".concat(r," created successfully"))),[2,0];case 11:return h=m.sent(),console.log(Ye.red(Ze(h)||"Unexpected error: ".concat(h))),"object"==typeof h&&(null==h?void 0:h.stack)&&t.verbose&&console.log(Ye.gray(h.stack)),[2,1];case 12:return[2]}}))}))},exports.releaseMaterial=function(e){return Y(this,void 0,void 0,(function(){var t,s,r,i,n,a,o,c,u,l,p,h,d,f,m,y,g,x,v,b,E,A;return Z(this,(function(w){switch(w.label){case 0:return(t=e.auth)&&Pa(t),s=process.cwd(),r="build/lowcode",i=T.default.resolve(process.cwd(),r),(n=k.existsSync(i))||(i=T.default.resolve(process.cwd(),"dist")),[4,function(e){return Promise.resolve().then((function(){return C(require(e))}))}(T.default.resolve(process.cwd(),"package.json"))];case 1:return a=w.sent(),o=a.name,c=a.version,n&&(console.log("lceViewJS: ",T.default.resolve(process.cwd(),r,"view.js")),p=k.readFileSync(T.default.resolve(process.cwd(),r,"view.js"),"utf-8"),u=kd(p),h=k.readFileSync(T.default.resolve(process.cwd(),r,"meta.js"),"utf-8"),l=kd(h)),console.log("Uploading material..."),[4,et(i+"/")];case 2:d=w.sent(),f=[],m=0,w.label=3;case 3:return m<d.length?(y=d[m],(g=k.readFileSync(y.path+"/"+y.fileName,"utf-8"))&&0!==g.trim().length?[3,4]:(console.log("File is empty Do not Upload: ",y.path+"/"+y.fileName),[3,6])):[3,7];case 4:return x="".concat(o,"/").concat(c,"/")+(y.path.split("".concat(s,"/").concat(r,"/"))[1]||"")+y.fileName,[4,Pd(y,{t:1,route:"material",path:x})];case 5:v=w.sent(),f.push(v),w.label=6;case 6:return m++,[3,3];case 7:return console.log("Npm Name: ",o),console.log("Npm Version: ",c),n?(b=f.find((function(e){return e.key.includes("".concat(c,"/view.js"))})),E=f.find((function(e){return e.key.includes("".concat(c,"/view.css"))})),A=f.find((function(e){return e.key.includes("".concat(c,"/meta.js"))})),console.log("Npm Export Name: ",u),console.log("Npm Js Url: ",null==b?void 0:b.url),console.log("Npm Css Url: ",null==E?void 0:E.url),console.log("Meta Export Name: ",l),console.log("Meta Url: ",null==A?void 0:A.url)):f.length>0&&f.forEach((function(e){console.log("File Name: ",e.key),console.log("File Url: ",e.url)})),[2,1]}}))}))},exports.run=function(e,t){var s,i,n;return Y(this,void 0,void 0,(function(){var e,a,o,c,u,l,p,h,d,f,m,y,g,x,v,b,E,C,A,D,S,N,I,O,L,B,j,M,R,U,q,$,z,H;return Z(this,(function(V){switch(V.label){case 0:e=T.default.join(w.default.homedir(),".cache","mengti_temp"),a=T.default.join(w.default.homedir(),".cache","mengti_translate"),t.clear&&tt(a),o=T.default.join(process.cwd()+"/"+(t.output||""))+"$__cacheTime",V.label=1;case 1:return V.trys.push([1,11,,12]),c=_a.getKey(o),console.log("[最后同步时间] ",c?new Date(Number(c)).toLocaleString():"无"),u=c&&!t.clear?Number(c):0,Pa(t.auth),[4,Dd({projectId:t.id,auth:t.auth,filter:t.filter,folder:t.folder,frame:t.frame,afterTime:u})];case 2:return l=V.sent(),p=l.schema,h=l.project,d=l.documents,f=l.componentDocs,m=l.packageJSON,y=h.documents||[],g=y.map((function(e){return e.fileName})),h&&0!==d.length?(x=t.frame||h.type,b=(v="web"===x)?"vite":"taro",E=t.output,C=function(e){return P.default.createProjectBuilder({template:Ih.template,plugins:{components:[$h(),Yh({fileType:"jsx"}),Hh(e),Vh(e),Uh(),P.default.plugins.react.containerInitState(),P.default.plugins.react.containerLifeCycle(),Gh(),_h(),pd({nodeTypeMapping:{Div:"View",Component:"React.Fragment",Page:"View",Block:"React.Fragment"}}),P.default.plugins.style.css()],pages:[$h(),Yh({fileType:"jsx"}),Hh(e),Vh(e),Uh(),P.default.plugins.react.containerInitState(),P.default.plugins.react.containerLifeCycle(),Gh(),_h(),pd({nodeTypeMapping:{Div:"div",Component:"React.Fragment",Page:"Page",Block:"React.Fragment"}}),P.default.plugins.style.css()],router:[P.default.plugins.common.esmodule(),Ih.plugins.router()],entry:[Ih.plugins.entry()],constants:[P.default.plugins.project.constants()],utils:[P.default.plugins.common.esmodule(),bd("react")],i18n:[P.default.plugins.project.i18n()],globalStyle:[Ih.plugins.globalStyle()],htmlEntry:[Ih.plugins.entryHtml()],packageJSON:[Ih.plugins.packageJSON()]},postProcessors:[vd()]})}({type:x,solution:b}),t.env&&(A=null===(i=null===(s=h.envInfo)||void 0===s?void 0:s.list)||void 0===i?void 0:i.find((function(e){return e.alias===t.env})),A&&(p.constants=K(K({},p.constants),Td(A.data)))),[4,C.generateProject(p)]):(console.log(Ye.yellow("提示:无文件更新,请确认是否保存!如需更新全部,请勾选清除缓存")),[2,0]);case 3:return(D=V.sent()).files=D.files.filter((function(e){return"css"===e.ext||"jsx"===e.ext})),S=P.default.publishers.disk(),tt(e),[4,S.publish({project:D,outputPath:e,projectSlug:"example",createProjectFolder:!1})];case 4:return V.sent(),wd.existsSync("./".concat(E,"/"))||wd.mkdirSync("./".concat(E,"/"),{recursive:!0}),N=function(e){return e.path==="./".concat(E,"/")?"".concat(null==E?void 0:E.replace("src/",""),"/").concat(e.fileName.split(".")[0]):"".concat(null==E?void 0:E.replace("src/",""),"/").concat(e.name,"/index")},[4,et("./".concat(E,"/"))];case 5:return I=V.sent(),[4,et(e+"/")];case 6:O=V.sent(),L={components:I.filter((function(e){return["tsx","jsx"].includes(e.ext)&&e.path.includes("components")})).map((function(e){return e.name})).filter((function(e){return g.includes(e)})),pages:I.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 g.includes(e)})),pageUrls:I.filter((function(e){return["tsx","jsx"].includes(e.ext)&&e.path.includes("pages")&&!e.path.includes("components")})).filter((function(e){return g.includes(e.name)})).map((function(e){return N(e)}))},B=function(t){var s,r,i,n,a,o,c,u,l,m,y,g,x,C,A,w,D,T;return Z(this,(function(S){switch(S.label){case 0:return(s=O[t]).path.includes("/BasicLayout/")?[3,10]:(r=s.name,"js"!==(i=s.ext)||"utils.js"!==s.fileName?[3,2]:[4,mo(s,p,h,b)]);case 1:S.sent(),S.label=2;case 2:return"css"!==i&&"scss"!==i||(n=s.path+"/"+s.fileName,"taro"===b?(wd.renameSync(s.path+"/"+s.fileName,s.path+"/"+s.fileName.replace("css","scss")),n=s.path+"/"+s.fileName.replace("css","scss")):"scss"===i&&(wd.renameSync(s.path+"/"+s.fileName,s.path+"/"+s.fileName.replace("scss","css")),n=s.path+"/"+s.fileName.replace("scss","css")),(a=wd.readFileSync(n,"utf8"))&&a.includes("calc")&&wd.writeFileSync(n,a.replace(/&nbsp;/g," "),"utf8")),"jsx"!==i&&"tsx"!==i?[3,10]:(o=d.concat(f).find((function(e){return e.fileName.toLowerCase()===r.toLowerCase()})),"Page"===(null==o?void 0:o.type)&&(L.pages.includes(r)||(L.pages.push(r),L.pageUrls.push(N(s)))),"Component"===(null==o?void 0:o.type)&&(L.components.includes(r)||L.components.push(r)),console.log("[BUILD FILE]",s.name),[4,dr(s,b,E)]);case 3:for(c=S.sent(),u=c.code,l=c.images,m=c.svgs,wd.writeFileSync(s.path+"/"+s.fileName,u),wd.renameSync(s.path+"/"+s.fileName,s.path+"/"+(v?s.fileName:s.fileName.replace("jsx","tsx"))),v||"Page"!==(null==o?void 0:o.type)||((y=["export default definePageConfig({"]).push(" navigationBarTitleText: '".concat(o.title,"',")),y.push(" navigationStyle: '".concat("custom","',")),y.push(" disableScroll: true,"),y.push("})"),wd.writeFileSync(s.path+"/index.config.ts",y.join("\n"))),g=[],x=[],A=0;A<m.length;A++)if((C=m[A]).svgStr&&C.fileName)try{wd.existsSync(s.path+"/icons")||wd.mkdirSync(s.path+"/icons"),wd.writeFileSync(s.path+"/icons/"+C.fileName+".svg",C.svgStr),g.push("import ".concat(C.fileName," from './").concat(C.fileName,".svg").concat("vite"===b?"?raw":"","';")),x.push(" ".concat(C.fileName,","))}catch(e){console.log("[saveSvg Error] ",e)}g.length>0&&wd.writeFileSync(s.path+"/icons/index.ts",g.concat(["const ICONS = {"]).concat(x).concat(["}"]).concat("export default ICONS;").join("\n")),A=0,S.label=4;case 4:if(!(A<l.length))return[3,9];if(!(w=l[A]).url||!w.fileName)return[3,8];S.label=5;case 5:return S.trys.push([5,7,,8]),wd.existsSync(s.path+"/images")||wd.mkdirSync(s.path+"/images"),[4,Hn(w.url,s.path+"/images/"+w.fileName)];case 6:return S.sent(),[3,8];case 7:return D=S.sent(),console.log("[downloadFile Error] ",D),[3,8];case 8:return A++,[3,4];case 9:T="./".concat(E,"/").concat(s.name),"Component"===(null==o?void 0:o.type)&&(T="./".concat(E,"/components/").concat(s.name)),wd.existsSync(T)&&tt(T),"Page"===(null==o?void 0:o.type)&&wd.copySync("".concat(e,"/src/pages/").concat(s.name),T),"Component"===(null==o?void 0:o.type)&&wd.copySync("".concat(e,"/src/components/").concat(s.name),T),S.label=10;case 10:return[2]}}))},j=0,V.label=7;case 7:return j<O.length?[5,B(j)]:[3,10];case 8:V.sent(),V.label=9;case 9:return j++,[3,7];case 10:return _a.setKey(o,String(Date.now())),(M=null===(n=h.appConfig)||void 0===n?void 0:n.indexPage)&&(L.pages=L.pages.sort((function(e,t){return e===M?-1:t===M?1:0})),R=L.pageUrls.find((function(e){return e.includes("/".concat(M,"/"))})),L.pageUrls=L.pageUrls.sort((function(e,t){return e===R?-1:t===R?1:0}))),wd.writeFileSync("./".concat(E,"/map.json"),JSON.stringify(L)),"vite"===b?(U=wd.readFileSync("".concat(e,"/src/global.css"),"utf-8"),q=U.split("\n").slice(6).join("\n"),wd.writeFileSync("./src/App.css",q)):console.log("[INFO] Taro 端全局样式需要适配..."),wd.copyFileSync("".concat(e,"/src/utils.js"),"./src/utils/utils.js"),wd.copyFileSync("".concat(e,"/src/constants.js"),"./src/utils/constants.js"),$=function(e,t,s){var r,i='import { registerPartalComponent } from "'.concat("vite"===s?"@appthen/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);"):""}(h,E,b),wd.writeFileSync("./src/utils/portal.js",$),v?(!function(e,t,s){var r,i,n,a,o=k.readFileSync("./src/App.jsx","utf8"),c=rt("".concat(o),{sourceType:"module",plugins:["jsx","typescript","decorators-legacy"]});c.program.body=c.program.body.filter((function(e){var t,s,r,i;return!("VariableDeclaration"===e.type&&"lazy"===(null===(i=null===(r=null===(s=null===(t=e.declarations)||void 0===t?void 0:t[0])||void 0===s?void 0:s.init)||void 0===r?void 0:r.callee)||void 0===i?void 0:i.name))}));var u=Ed(e);if(u){var l=u.fileLazyImports,p=u.routeElements;F.default(c,{Program:function(e){var t=e.node.body,s=t.findIndex((function(e){return"ExportDefaultDeclaration"===e.type}));t.splice.apply(t,ee([s,0],Q(l),!1))},JSXElement:function(e){var t,s,r=e.node;"Routes"===(null===(s=null===(t=r.openingElement)||void 0===t?void 0:t.name)||void 0===s?void 0:s.name)&&(r.children=p)}})}var h=e.schema.config;if(null===(r=null==h?void 0:h.layout)||void 0===r?void 0:r.componentName){var d=h.layout,f=d.componentName,m=d.props,y=Cd("\n <".concat(f,"\n ").concat(Object.keys(m||{}).map((function(e){var t="";return"string"==typeof m[e]?t="'".concat(m[e],"'"):"number"==typeof m[e]?t="".concat(m[e]):"object"==typeof m[e]&&(t="{".concat(JSON.stringify(m[e]),"}")),"".concat(e,"=").concat(t)})).join("\n"),"\n ><AntdApp></AntdApp></").concat(f,">\n ")).expression,g=!1;F.default(c,{JSXElement:function(e){var t,s,r,i,n=e.node;"ConfigProvider"!==(null===(s=null===(t=n.openingElement)||void 0===t?void 0:t.name)||void 0===s?void 0:s.name)||g||(y.children[0].children=n.children,e.replaceWith(y),g=!0),"HashRouter"!==(null===(i=null===(r=n.openingElement)||void 0===r?void 0:r.name)||void 0===i?void 0:i.name)||g||(y.children[0].children=[n],e.replaceWith(y),g=!0)}})}var x=cr(c).code;!(null===(a=null===(n=null===(i=e.schema)||void 0===i?void 0:i.config)||void 0===n?void 0:n.layout)||void 0===a?void 0:a.componentName)||x.includes("from 'antd'")||x.includes('from "antd"')||(x="import { ConfigProvider, App as AntdApp } from 'antd';\n".concat(x)),k.writeFileSync("./src/App.jsx",x,"utf8")}(h),z=function(e){var t=k.readFileSync("./package.json","utf8"),s=JSON.parse(t),r=!1;return e.dependencies&&(Object.keys(e.dependencies).forEach((function(t){s.dependencies[t]!==e.dependencies[t]&&(r=!0)})),Object.keys(s.dependencies).forEach((function(t){s.dependencies[t]!==e.dependencies[t]&&(r=!0)}))),s.dependencies=e.dependencies,k.writeFileSync("./package.json",JSON.stringify(s),"utf8"),r}(m),z&&(console.log("[INFO] package.json 文件已更新,将重新安装依赖"),"pnpm",r.execSync("".concat("pnpm"," install --registry=https://registry.npmmirror.com"),{stdio:"inherit"}),console.log("[INFO] 本地依赖已更新,请重新启动项目"))):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=rt("".concat(n),{sourceType:"module",plugins:["jsx","typescript","decorators-legacy"]}),o=new Set;F.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=yo(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=_.program([_.variableDeclaration("const",[_.variableDeclarator(_.identifier("name"),_.objectExpression([l]))])]);F.default(p,{ArrayExpression:function(e){e.replaceWith(u)}}),_.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(_.objectProperty(_.identifier(t),u))})),o.add("defineAppConfig"))}});var c=cr(a,{jsescOption:{minimal:!0}}).code;k.writeFileSync(i,c)}}(t.frame||h.type,h,L),_a.save(),[2,0];case 11:return H=V.sent(),console.log(Ye.red(Ze(H)||"Unexpected error: ".concat(H))),_a.removeKey(o),_a.save(),"object"==typeof H&&(null==H?void 0:H.stack)&&t.verbose&&console.log(Ye.gray(H.stack)),[2,1];case 12:return[2]}}))}))};
75
+ `,cliCategory:a},tabWidth:{type:"int",category:c,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:c,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:c,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};t.exports={CATEGORY_CONFIG:r,CATEGORY_EDITOR:i,CATEGORY_FORMAT:n,CATEGORY_OTHER:a,CATEGORY_OUTPUT:o,CATEGORY_GLOBAL:c,CATEGORY_SPECIAL:u,options:l}}}),z=d({"src/main/support.js"(e,t){x();var i={compare:B(),lt:j(),gte:M()},n=R(),a=U().version,o=$().options;function c(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:c=!1,showInternal:l=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},p=a.split("-",1)[0],h=e.flatMap((e=>e.languages||[])).filter(f),d=n(Object.assign({},...e.map((e=>{let{options:t}=e;return t})),o),"name").filter((e=>f(e)&&m(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(f).sort(((e,t)=>i.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>f(e)&&m(e))),"parser"===t.name&&u(t,h,e));let s=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:s})}));return{languages:h,options:d};function f(e){return t||!("since"in e)||e.since&&i.gte(p,e.since)}function m(e){return c||!("deprecated"in e)||e.deprecated&&i.lt(p,e.deprecated)}function y(e){return l?e:r(e,s)}}function u(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: ${n.name})`),e.choices.push({value:t,description:a})}}t.exports={getSupportInfo:c}}}),H=d({"src/utils/is-non-empty-array.js"(e,t){function s(e){return Array.isArray(e)&&e.length>0}x(),t.exports=s}});function V(){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 G=h({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){x()}});function W(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(V(),"")}var J=h({"node_modules/strip-ansi/index.js"(){x(),G()}});function X(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 K=h({"node_modules/is-fullwidth-code-point/index.js"(){x()}}),Y=d({"node_modules/emoji-regex/index.js"(e,t){x(),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}}}),Z={};function Q(e){if("string"!=typeof e||0===e.length||0===(e=W(e)).length)return 0;e=e.replace((0,ee.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+=X(r)?2:1)}return t}f(Z,{default:()=>Q});var ee,te=h({"node_modules/string-width/index.js"(){x(),J(),K(),ee=y(Y())}}),se=d({"src/utils/get-string-width.js"(e,t){x();var s=(te(),g(Z)).default,r=/[^\x20-\x7F]/;function i(e){return e?r.test(e)?s(e):e.length:0}t.exports=i}}),re=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}}x();var r=s(/\s/),i=s(" \t"),n=s(",; \t"),a=s(/[^\n\r]/);t.exports={skipWhitespace:r,skipSpaces:i,skipToLineEnd:n,skipEverythingButNewLine:a}}}),ie=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}x(),t.exports=s}}),ne=d({"src/utils/text/skip-trailing-comment.js"(e,t){x();var{skipEverythingButNewLine:s}=re();function r(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?s(e,t):t)}t.exports=r}}),ae=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}x(),t.exports=s}}),oe=d({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){x();var s=ie(),r=ae(),i=ne(),{skipSpaces:n}=re();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}}),ce=d({"src/common/util.js"(e,t){x();var{default:s}=(k(),g(S)),r=D(),{getSupportInfo:i}=z(),n=H(),a=se(),{skipWhitespace:o,skipSpaces:c,skipToLineEnd:u,skipEverythingButNewLine:l}=re(),p=ie(),h=ne(),d=ae(),f=oe(),m=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 v(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 b(e,t,s){for(let r=t;r<s;++r)if("\n"===e.charAt(r))return!0;return!1}function E(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 C(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&&v(e,r)}function A(e,t,s){return C(e,s(t))}function w(e,t,s){return f(e,s(t))}function T(e,t,s){return e.charAt(w(e,t,s))}function P(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return c(e,s.backwards?t-1:t,s)!==t}function N(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 I(e,t){let s=e.lastIndexOf("\n");return-1===s?0:N(e.slice(s+1).match(/^[\t ]*/)[0],t)}function _(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 F(e,t){let s=e.slice(1,-1);return O(s,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":_(s,t.singleQuote?"'":'"').quote,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))}function O(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 L(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 B(e,t){let r=e.match(new RegExp(`(${s(t)})+`,"g"));return null===r?0:r.reduce(((e,s)=>Math.max(e,s.length/t.length)),0)}function j(e,t){let r=e.match(new RegExp(`(${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=W(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 $(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(`.${e}`)}));return r&&r.parsers[0]}function V(e){return e&&"front-matter"===e.type}function G(e){let t=new WeakMap;return function(s){return t.has(s)||t.set(s,Symbol(e)),t.get(s)}}function W(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:$,getStringWidth:a,getMaxContinuousCount:B,getMinNotPresentContinuousCount:j,getPenultimate:m,getLast:r,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:f,getNextNonSpaceNonCommentCharacterIndex:w,getNextNonSpaceNonCommentCharacter:T,skip:y,skipWhitespace:o,skipSpaces:c,skipToLineEnd:u,skipEverythingButNewLine:l,skipInlineComment:p,skipTrailingComment:h,skipNewline:d,isNextLineEmptyAfterIndex:C,isNextLineEmpty:A,isPreviousLineEmpty:E,hasNewline:v,hasNewlineInRange:b,hasSpaces:P,getAlignmentSize:N,getIndentSize:I,getPreferredQuote:_,printString:F,printNumber:L,makeString:O,addLeadingComment:R,addDanglingComment:U,addTrailingComment:q,isFrontMatterNode:V,isNonEmptyArray:n,createGroupIdMapper:G}}}),ue=d({"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"]}}}),le=d({"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}x(),t.exports=s}}),pe=d({"src/language-html/utils/html-tag-names.js"(e,t){x();var{htmlTagNames:s}=ue(),r=le()(s);t.exports=r}}),he=d({"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"]}}}}),de=d({"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}x(),t.exports=s}}),fe=d({"src/language-html/utils/html-elements-attributes.js"(e,t){x();var{htmlElementAttributes:s}=he(),r=de()(s,le());t.exports=r}}),ye=d({"src/language-html/utils/is-unknown-namespace.js"(e,t){function s(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}x(),t.exports=s}}),ge=d({"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/,"")}x(),t.exports={hasPragma:s,insertPragma:r}}}),xe=d({"src/language-html/ast.js"(e,t){x();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}}}),ve=d({"src/language-html/conditional-comment.js"(e,t){x();var{ParseSourceSpan:s}=A(),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}}}),be=d({"src/language-html/loc.js"(e,t){function s(e){return e.sourceSpan.start.offset}function r(e){return e.sourceSpan.end.offset}x(),t.exports={locStart:s,locEnd:r}}}),Ee=d({"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 "${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?`:${e}:${t}`:t}x(),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}}),Ce=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_tags.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t,s,r=Ee(),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}}),Ae=d({"node_modules/angular-html-parser/lib/compiler/src/ast_path.js"(e){x(),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}}),we=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/ast.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ae(),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}}),De=d({"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 '${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 '${e}' to be an array of strings.`)}}x(),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 '${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(`['${e}', '${r}'] contains unusable interpolation symbol.`)}))}}e.assertInterpolationSymbols=r}}),Se=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/interpolation_config.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=De(),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("{{","}}")}}),Pe=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/lexer.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t,s=v(),r=A(),i=Se(),n=Ee();!function(e){e[e.TAG_OPEN_START=0]="TAG_OPEN_START",e[e.TAG_OPEN_END=1]="TAG_OPEN_END",e[e.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",e[e.TAG_CLOSE=3]="TAG_CLOSE",e[e.TEXT=4]="TEXT",e[e.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",e[e.RAW_TEXT=6]="RAW_TEXT",e[e.COMMENT_START=7]="COMMENT_START",e[e.COMMENT_END=8]="COMMENT_END",e[e.CDATA_START=9]="CDATA_START",e[e.CDATA_END=10]="CDATA_END",e[e.ATTR_NAME=11]="ATTR_NAME",e[e.ATTR_QUOTE=12]="ATTR_QUOTE",e[e.ATTR_VALUE=13]="ATTR_VALUE",e[e.DOC_TYPE_START=14]="DOC_TYPE_START",e[e.DOC_TYPE_END=15]="DOC_TYPE_END",e[e.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",e[e.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",e[e.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",e[e.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",e[e.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",e[e.EOF=21]="EOF"}(t=e.TokenType||(e.TokenType={}));var a=class{constructor(e,t,s){this.type=e,this.parts=t,this.sourceSpan=s}};e.Token=a;var o=class extends r.ParseError{constructor(e,t,s){super(s,e),this.tokenType=t}};e.TokenError=o;var c=class{constructor(e,t){this.tokens=e,this.errors=t}};function u(e,t,s){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return new f(new r.ParseSourceFile(e,t),s,i).tokenize()}e.TokenizeResult=c,e.tokenize=u;var l=/\r\n?/g;function p(e){return`Unexpected character "${e===s.$EOF?"EOF":String.fromCharCode(e)}"`}function h(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}var d=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||i.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 P(e,r):new S(e,r);try{this._cursor.init()}catch(e){this.handleError(e)}}_processCarriageReturns(e){return e.replace(l,"\n")}tokenize(){for(;this._cursor.peek()!==s.$EOF;){let e=this._cursor.clone();try{if(this._attemptCharCode(s.$LT))if(this._attemptCharCode(s.$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(s.$SLASH))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(s.$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 c(T(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(C(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===s.$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 o("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 o("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let s=new a(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 o(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new d(s)}handleError(e){if(e instanceof k&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof d))throw e;this.errors.push(e.error)}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return!!w(this._cursor.peek(),e)&&(this._cursor.advance(),!0)}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(p(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(p(this._cursor.peek()),this._cursor.getSpan(t))}_requireStrCaseInsensitive(e){let t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(p(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(p(this._cursor.peek()),this._cursor.getSpan(s))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_readChar(e){if(e&&this._cursor.peek()===s.$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(s.$HASH)){let t=this._cursor.clone();if(this._attemptCharCodeUntilFn(E),this._cursor.peek()!=s.$SEMICOLON)return this._cursor=t,"&";let r=this._cursor.getChars(t);this._cursor.advance();let i=n.NAMED_ENTITIES[r];if(!i)throw this._createError(h(r),this._cursor.getSpan(e));return i}{let t=this._attemptCharCode(s.$x)||this._attemptCharCode(s.$X),r=this._cursor.clone();if(this._attemptCharCodeUntilFn(b),this._cursor.peek()!=s.$SEMICOLON)throw this._createError(p(this._cursor.peek()),this._cursor.getSpan());let i=this._cursor.getChars(r);this._cursor.advance();try{let e=parseInt(i,t?16:10);return String.fromCharCode(e)}catch{throw this._createError(h(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()===s.$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()===s.$GT)),this._beginToken(t.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e,t=this._cursor.clone(),r="";for(;this._cursor.peek()!==s.$COLON&&!g(this._cursor.peek());)this._cursor.advance();return this._cursor.peek()===s.$COLON?(r=this._cursor.getChars(t),this._cursor.advance(),e=this._cursor.clone()):e=t,this._requireCharCodeUntilFn(y,""===r?0:1),[r,this._cursor.getChars(e)]}_consumeTagOpen(e){let r,i,a,o=this.tokens.length,c=this._cursor.clone(),u=[];try{if(!s.isAsciiLetter(this._cursor.peek()))throw this._createError(p(this._cursor.peek()),this._cursor.getSpan(e));for(a=this._consumeTagOpenStart(e),i=a.parts[0],r=a.parts[1],this._attemptCharCodeUntilFn(m);this._cursor.peek()!==s.$SLASH&&this._cursor.peek()!==s.$GT;){let[e,t]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(m),this._attemptCharCode(s.$EQ)){this._attemptCharCodeUntilFn(m);let s=this._consumeAttributeValue();u.push({prefix:e,name:t,value:s})}else u.push({prefix:e,name:t});this._attemptCharCodeUntilFn(m)}this._consumeTagOpenEnd()}catch(s){if(s instanceof d)return this._cursor=c,a&&(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(r,i,this._fullNameStack.length>0,u);this._handleFullNameStackForTagOpen(i,r),l===n.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(i,r,!1):l===n.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(i,r,!0)}_consumeRawTextWithTagClose(e,r,i){this._consumeRawText(i,(()=>!!(this._attemptCharCode(s.$LT)&&this._attemptCharCode(s.$SLASH)&&(this._attemptCharCodeUntilFn(m),this._attemptStrCaseInsensitive(e?`${e}:${r}`:r)))&&(this._attemptCharCodeUntilFn(m),this._attemptCharCode(s.$GT)))),this._beginToken(t.TAG_CLOSE),this._requireCharCodeUntilFn((e=>e===s.$GT),3),this._cursor.advance(),this._endToken([e,r]),this._handleFullNameStackForTagClose(e,r)}_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===s.$SQ||e===s.$DQ)throw this._createError(p(e),this._cursor.getSpan());this._beginToken(t.ATTR_NAME);let r=this._consumePrefixAndName();return this._endToken(r),r}_consumeAttributeValue(){let e;if(this._cursor.peek()===s.$SQ||this._cursor.peek()===s.$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(y,1),e=this._processCarriageReturns(this._cursor.getChars(s)),this._endToken([e])}return e}_consumeTagOpenEnd(){let e=this._attemptCharCode(s.$SLASH)?t.TAG_OPEN_END_VOID:t.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(s.$GT),this._endToken([])}_consumeTagClose(e){if(this._beginToken(t.TAG_CLOSE,e),this._attemptCharCodeUntilFn(m),this._allowHtmComponentClosingTags&&this._attemptCharCode(s.$SLASH))this._attemptCharCodeUntilFn(m),this._requireCharCode(s.$GT),this._endToken([]);else{let[e,t]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(m),this._requireCharCode(s.$GT),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}}_consumeExpansionFormStart(){this._beginToken(t.EXPANSION_FORM_START),this._requireCharCode(s.$LBRACE),this._endToken([]),this._expansionCaseStack.push(t.EXPANSION_FORM_START),this._beginToken(t.RAW_TEXT);let e=this._readUntil(s.$COMMA);this._endToken([e]),this._requireCharCode(s.$COMMA),this._attemptCharCodeUntilFn(m),this._beginToken(t.RAW_TEXT);let r=this._readUntil(s.$COMMA);this._endToken([r]),this._requireCharCode(s.$COMMA),this._attemptCharCodeUntilFn(m)}_consumeExpansionCaseStart(){this._beginToken(t.EXPANSION_CASE_VALUE);let e=this._readUntil(s.$LBRACE).trim();this._endToken([e]),this._attemptCharCodeUntilFn(m),this._beginToken(t.EXPANSION_CASE_EXP_START),this._requireCharCode(s.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(m),this._expansionCaseStack.push(t.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(t.EXPANSION_CASE_EXP_END),this._requireCharCode(s.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(m),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(t.EXPANSION_FORM_END),this._requireCharCode(s.$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()===s.$LT||this._cursor.peek()===s.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===s.$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()!==s.$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=n.mergeNsAndName(e,t);(0===this._fullNameStack.length||this._fullNameStack[this._fullNameStack.length-1]===s)&&this._fullNameStack.push(s)}_handleFullNameStackForTagClose(e,t){let s=n.mergeNsAndName(e,t);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]===s&&this._fullNameStack.pop()}};function m(e){return!s.isWhitespace(e)||e===s.$EOF}function y(e){return s.isWhitespace(e)||e===s.$GT||e===s.$SLASH||e===s.$SQ||e===s.$DQ||e===s.$EQ}function g(e){return(e<s.$a||s.$z<e)&&(e<s.$A||s.$Z<e)&&(e<s.$0||e>s.$9)}function b(e){return e==s.$SEMICOLON||e==s.$EOF||!s.isAsciiHexDigit(e)}function E(e){return e==s.$SEMICOLON||e==s.$EOF||!s.isAsciiLetter(e)}function C(e){return e===s.$EQ||s.isAsciiLetter(e)||s.isDigit(e)}function w(e,t){return D(e)==D(t)}function D(e){return e>=s.$a&&e<=s.$z?e-s.$a+s.$A:e}function T(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 S=class{constructor(e,t){if(e instanceof S)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 S(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 r.ParseSourceSpan(new r.ParseLocation(e.file,e.state.offset,e.state.line,e.state.column),new r.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===s.$LF?(e.line++,e.column=0):s.isNewLine(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?s.$EOF:this.charAt(e.offset)}},P=class extends S{constructor(e,t){e instanceof P?(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 P(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()===s.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),e()===s.$n)this.state.peek=s.$LF;else if(e()===s.$r)this.state.peek=s.$CR;else if(e()===s.$v)this.state.peek=s.$VTAB;else if(e()===s.$t)this.state.peek=s.$TAB;else if(e()===s.$b)this.state.peek=s.$BSPACE;else if(e()===s.$f)this.state.peek=s.$FF;else if(e()===s.$u)if(this.advanceState(this.internalState),e()===s.$LBRACE){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;e()!==s.$RBRACE;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let e=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,4)}else if(e()===s.$x){this.advanceState(this.internalState);let e=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,2)}else if(s.isOctalDigit(e())){let t="",r=0,i=this.clone();for(;s.isOctalDigit(e())&&r<3;)i=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=i.internalState}else s.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}}),ke=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/parser.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=A(),s=we(),r=Pe(),i=Ee(),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),f=s&&s.canSelfClose||!1,m=s&&s.allowHtmComponentClosingTags||!1,y=new c(d.tokens,u,f,m,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 "${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),f=new s.Element(u,c,[],h,h,void 0,d);this._pushElement(f),l&&(this._popElement(u),f.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 "${e.parts[1]}"`));else if(!this._popElement(t)){let s=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this._errors.push(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}}}),Ne=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ce(),s=ke(),r=ke();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}}),Ie=d({"node_modules/angular-html-parser/lib/angular-html-parser/src/index.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ne(),s=Ee();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}});x();var{ParseSourceSpan:_e,ParseLocation:Fe,ParseSourceFile:Le}=A(),Be=w(),je=D(),Me=T(),{inferParserByLanguage:Re}=ce(),Ue=pe(),qe=fe(),$e=ye(),{hasPragma:ze}=ge(),{Node:He}=xe(),{parseIeConditionalComment:Ve}=ve(),{locStart:Ge,locEnd:We}=be();function Je(e,t,s){let{canSelfClose:r,normalizeTagName:i,normalizeAttributeName:n,allowHtmComponentClosingTags:a,isTagNameCaseSensitive:o,getTagContentType:c}=t,u=Ie(),{RecursiveVisitor:l,visitAll:p}=we(),{ParseSourceSpan:h}=A(),{getHtmlTagDefinition:d}=Ce(),{rootNodes:f,errors:m}=u.parse(e,{canSelfClose:r,allowHtmComponentClosingTags:a,isTagNameCaseSensitive:o,getTagContentType:c});if("vue"===s.parser)if(f.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});f=t.rootNodes,m=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"===Re(r,s)};if(f.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<f.length;e++){let s=f[e],{endSourceSpan:r,startSourceSpan:i}=s;if(null===r)m=n().errors,f[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){m=[e];break}}f[e]=c(s)||s}}}}if(m.length>0){let{msg:e,span:{start:t,end:s}}=m[0];throw Me(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(`${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||$e(e))&&(e.name=x(e.name,(e=>e in Ue))),n)){let t=qe[e.name]||Object.create(null);for(let s of e.attrs)s.namespace||(s.name=x(s.name,(s=>e.name in qe&&(s in qe["*"]||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||$e(e)?e.tagDefinition=t:e.tagDefinition=d("")}};return p(new class extends l{visit(e){g(e),E(e),v(e),b(e)}},f),f}function Xe(e,t,s){let r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],{frontMatter:i,content:n}=r?Be(e):{frontMatter:null,content:e},a=new Le(e,t.filepath),o=new Fe(a,0,0,0),c=o.moveBy(e.length),u={type:"root",sourceSpan:new _e(o,c),children:Je(n,s,t)};if(i){let e=new Fe(a,0,0,0),t=e.moveBy(i.raw.length);i.sourceSpan=new _e(e,t),u.children.unshift(i)}let l=new He(u),p=(r,i)=>{let{offset:n}=i,a=Xe(e.slice(0,n).replace(/[^\n\r]/g," ")+r,t,s,!1);a.sourceSpan=new _e(i,je(a.children).sourceSpan.end);let o=a.children[0];return o.length===n?a.children.shift():(o.sourceSpan=new _e(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=Ve(e,p);t&&e.parent.replaceChild(e,t)}})),l}function Ke(){let{name:e,canSelfClose: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)=>Xe(o,Object.assign({parser:e},u),{canSelfClose:t,normalizeTagName:s,normalizeAttributeName:r,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:n,getTagContentType:a}),hasPragma:ze,astFormat:"html",locStart:Ge,locEnd:We}}t.exports={parsers:{html:Ke({name:"html",canSelfClose:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Ke({name:"angular",canSelfClose:!0}),vue:Ke({name:"vue",canSelfClose:!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 Ie().TagContentType.RAW_TEXT}}),lwc:Ke({name:"lwc"})}}}));return Le()}()})),gd=se(yd),xd=["css","scss","less","json","html","vue"],vd=function(e){var t=K({customFileTypeParser:{}},e);return function(e,s){var r;if("js"===s||"jsx"===s)r="babel";else if(xd.indexOf(s)>=0)r=s;else{if(!t.customFileTypeParser[s])return e;r=t.customFileTypeParser[s]}return V.default.format(e,{parser:r,plugins:ee([dd,md,gd],Q(t.plugins||[]),!1),singleQuote:!0,jsxSingleQuote:!0})}},bd=function(e){return function(t){return Y(void 0,void 0,void 0,(function(){var s,r,i;return Z(this,(function(n){return s=e||"react",r=K({},t),i=r.ir,r.chunks.push({type:Ma.STRING,fileType:ja.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:Ma.STRING,fileType:ja.JS,name:jp,content:"\n export const ".concat(e.name," = ").concat(e.content.value,";\n "),linkAfter:[Op,Lp,Bp]})})),[2,r]}))}))}};var Ed=function(e){var t,s=e.schema.router;if(s&&0!==(null===(t=s.routes)||void 0===t?void 0:t.length)){var r=[],i=function(e){e.forEach((function(e){e.page&&-1===r.indexOf(e.page)&&r.push(e.page),e.children&&e.children.length>0&&i(e.children)}))};i(s.routes);var n=s.routes.map((function(e){return Ad(e)})),a=r.map((function(e){return function(e,t){var s=e.slice(0,1).toUpperCase()+e.slice(1);return _.variableDeclaration("const",[_.variableDeclarator(_.identifier(s),_.callExpression(_.identifier("lazy"),[_.arrowFunctionExpression([],_.callExpression(_.identifier("import"),[_.stringLiteral(t)]))]))])}(e,"./pages/".concat(e))}));return{fileLazyImports:a,routeElements:n}}};function Cd(e){var t;try{var s=rt(e,{sourceType:"module",plugins:["jsx"]});return null===(t=null==s?void 0:s.program)||void 0===t?void 0:t.body[0]}catch(e){return console.error("解析错误:",e),null}}function Ad(e){var t=[];return e.children&&(t=e.children.map((function(e){return Ad(e)}))),e.redirect?Cd('<Route path="'.concat(e.path,'" element={<Navigate to="').concat(e.redirect,'"/>}></Route>')):function(e,t,s,r){void 0===s&&(s=!1),void 0===r&&(r=null);var i=[_.jsxAttribute(_.jsxIdentifier("path"),_.stringLiteral(e))];s&&i.push(_.jsxAttribute(_.jsxIdentifier("exact")));var n=_.jsxOpeningElement(_.jsxIdentifier("Route"),i,!r);return t||r?(t&&i.push(_.jsxAttribute(_.jsxIdentifier("element"),_.jsxExpressionContainer(_.jsxElement(_.jsxOpeningElement(_.jsxIdentifier(t.slice(0,1).toUpperCase()+t.slice(1)),[],!0),null,[],!1)))),_.jsxElement(n,_.jsxClosingElement(_.jsxIdentifier("Route")),r||[],!1)):_.jsxElement(n,_.jsxClosingElement(_.jsxIdentifier("Route")),[],!1)}(e.path,e.page,e.exact,t)}var wd=require("fs-extra");function Dd(e){var t,s;return Y(this,void 0,void 0,(function(){var r,i;return Z(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,ka("/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"string"==typeof(r=n.sent()).data.schema&&(r.data.schema=JSON.parse(r.data.schema)),[2,r.data];case 2:throw i=n.sent(),console.log("[ERROR] ",i),i;case 3:return[2]}}))}))}var Td=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},Sd=function(e,t){return Y(void 0,void 0,void 0,(function(){var e;return Z(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,ka("/file/getUploadToken",K({},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 Y(void 0,void 0,void 0,(function(){var s,r,i,n,a,o,c;return Z(this,(function(u){switch(u.label){case 0:return[4,Sd(0,t)];case 1:s=u.sent(),r=s.token,i=s.key,(n=new yn).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,qn.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]}}))}))},kd=function(e){var t=/exports\.(\w+)/.exec(e);return t?t[1]:""};function Nd(e){return Y(this,void 0,void 0,(function(){var t;return Z(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,G.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]}}))}))}var Id=ie(A({__proto__:null,default:N.default},[k])),_d=function(){if("object"==typeof process&&process.versions&&process.versions.electron)try{const e=Id;if(Object.keys(e).length>0)return e}catch(e){}return N.default},Fd={LOCHDR:30,LOCSIG:67324752,LOCVER:4,LOCFLG:6,LOCHOW:8,LOCTIM:10,LOCCRC:14,LOCSIZ:18,LOCLEN:22,LOCNAM:26,LOCEXT:28,EXTSIG:134695760,EXTHDR:16,EXTCRC:4,EXTSIZ:8,EXTLEN:12,CENHDR:46,CENSIG:33639248,CENVEM:4,CENVER:6,CENFLG:8,CENHOW:10,CENTIM:12,CENCRC:16,CENSIZ:20,CENLEN:24,CENNAM:28,CENEXT:30,CENCOM:32,CENDSK:34,CENATT:36,CENATX:38,CENOFF:42,ENDHDR:22,ENDSIG:101010256,ENDSUB:8,ENDTOT:10,ENDSIZ:12,ENDOFF:16,ENDCOM:20,END64HDR:20,END64SIG:117853008,END64START:4,END64OFF:8,END64NUMDISKS:16,ZIP64SIG:101075792,ZIP64HDR:56,ZIP64LEAD:12,ZIP64SIZE:4,ZIP64VEM:12,ZIP64VER:14,ZIP64DSK:16,ZIP64DSKDIR:20,ZIP64SUB:24,ZIP64TOT:32,ZIP64SIZB:40,ZIP64OFF:48,ZIP64EXTRA:56,STORED:0,SHRUNK:1,REDUCED1:2,REDUCED2:3,REDUCED3:4,REDUCED4:5,IMPLODED:6,DEFLATED:8,ENHANCED_DEFLATED:9,PKWARE:10,BZIP2:12,LZMA:14,IBM_TERSE:18,IBM_LZ77:19,AES_ENCRYPT:99,FLG_ENC:1,FLG_COMP1:2,FLG_COMP2:4,FLG_DESC:8,FLG_ENH:16,FLG_PATCH:32,FLG_STR:64,FLG_EFS:2048,FLG_MSK:4096,FILE:2,BUFFER:1,NONE:0,EF_ID:0,EF_SIZE:2,ID_ZIP64:1,ID_AVINFO:7,ID_PFS:8,ID_OS2:9,ID_NTFS:10,ID_OPENVMS:12,ID_UNIX:13,ID_FORK:14,ID_PATCH:15,ID_X509_PKCS7:20,ID_X509_CERTID_F:21,ID_X509_CERTID_C:22,ID_STRONGENC:23,ID_RECORD_MGT:24,ID_X509_PKCS7_RL:25,ID_IBM1:101,ID_IBM2:102,ID_POSZIP:18064,EF_ZIP64_OR_32:4294967295,EF_ZIP64_OR_16:65535,EF_ZIP64_SUNCOMP:0,EF_ZIP64_SCOMP:8,EF_ZIP64_RHO:16,EF_ZIP64_DSN:24},Od={INVALID_LOC:"Invalid LOC header (bad signature)",INVALID_CEN:"Invalid CEN header (bad signature)",INVALID_END:"Invalid END header (bad signature)",NO_DATA:"Nothing to decompress",BAD_CRC:"CRC32 checksum failed",FILE_IN_THE_WAY:"There is a file in the way: %s",UNKNOWN_METHOD:"Invalid/unsupported compression method",AVAIL_DATA:"inflate::Available inflate data did not terminate",INVALID_DISTANCE:"inflate::Invalid literal/length or distance code in fixed or dynamic block",TO_MANY_CODES:"inflate::Dynamic block code description: too many length or distance codes",INVALID_REPEAT_LEN:"inflate::Dynamic block code description: repeat more than specified lengths",INVALID_REPEAT_FIRST:"inflate::Dynamic block code description: repeat lengths with no first length",INCOMPLETE_CODES:"inflate::Dynamic block code description: code lengths codes incomplete",INVALID_DYN_DISTANCE:"inflate::Dynamic block code description: invalid distance code lengths",INVALID_CODES_LEN:"inflate::Dynamic block code description: invalid literal/length code lengths",INVALID_STORE_BLOCK:"inflate::Stored block length did not match one's complement",INVALID_BLOCK_TYPE:"inflate::Invalid block type (type == 3)",CANT_EXTRACT_FILE:"Could not extract the file",CANT_OVERRIDE:"Target file already exists",NO_ZIP:"No zip file was loaded",NO_ENTRY:"Entry doesn't exist",DIRECTORY_CONTENT_ERROR:"A directory cannot have content",FILE_NOT_FOUND:"File not found: %s",NOT_IMPLEMENTED:"Not implemented",INVALID_FILENAME:"Invalid filename",INVALID_FORMAT:"Invalid or unsupported zip format. No END header found"};Od.INVALID_LOC,Od.INVALID_CEN,Od.INVALID_END,Od.NO_DATA,Od.BAD_CRC,Od.FILE_IN_THE_WAY,Od.UNKNOWN_METHOD,Od.AVAIL_DATA,Od.INVALID_DISTANCE,Od.TO_MANY_CODES,Od.INVALID_REPEAT_LEN,Od.INVALID_REPEAT_FIRST,Od.INCOMPLETE_CODES,Od.INVALID_DYN_DISTANCE,Od.INVALID_CODES_LEN,Od.INVALID_STORE_BLOCK,Od.INVALID_BLOCK_TYPE,Od.CANT_EXTRACT_FILE,Od.CANT_OVERRIDE,Od.NO_ZIP,Od.NO_ENTRY,Od.DIRECTORY_CONTENT_ERROR,Od.FILE_NOT_FOUND,Od.NOT_IMPLEMENTED,Od.INVALID_FILENAME,Od.INVALID_FORMAT;const Ld=_d(),Bd="object"==typeof process&&"win32"===process.platform,jd=e=>e&&"object"==typeof e,Md=new Uint32Array(256).map(((e,t)=>{for(let e=0;e<8;e++)1&t?t=3988292384^t>>>1:t>>>=1;return t>>>0}));function Rd(e){this.sep=T.default.sep,this.fs=Ld,jd(e)&&jd(e.fs)&&"function"==typeof e.fs.statSync&&(this.fs=e.fs)}var Ud=Rd;Rd.prototype.makeDir=function(e){const t=this;!function(e){let s=e.split(t.sep)[0];e.split(t.sep).forEach((function(e){if(e&&":"!==e.substr(-1,1)){var r;s+=t.sep+e;try{r=t.fs.statSync(s)}catch(e){t.fs.mkdirSync(s)}if(r&&r.isFile())throw Od.FILE_IN_THE_WAY.replace("%s",s)}}))}(e)},Rd.prototype.writeFileTo=function(e,t,s,r){const i=this;if(i.fs.existsSync(e)){if(!s)return!1;if(i.fs.statSync(e).isDirectory())return!1}var n,a=T.default.dirname(e);i.fs.existsSync(a)||i.makeDir(a);try{n=i.fs.openSync(e,"w",438)}catch(t){i.fs.chmodSync(e,438),n=i.fs.openSync(e,"w",438)}if(n)try{i.fs.writeSync(n,t,0,t.length,0)}finally{i.fs.closeSync(n)}return i.fs.chmodSync(e,r||438),!0},Rd.prototype.writeFileToAsync=function(e,t,s,r,i){"function"==typeof r&&(i=r,r=void 0);const n=this;n.fs.exists(e,(function(a){if(a&&!s)return i(!1);n.fs.stat(e,(function(s,o){if(a&&o.isDirectory())return i(!1);var c=T.default.dirname(e);n.fs.exists(c,(function(s){s||n.makeDir(c),n.fs.open(e,"w",438,(function(s,a){s?n.fs.chmod(e,438,(function(){n.fs.open(e,"w",438,(function(s,a){n.fs.write(a,t,0,t.length,0,(function(){n.fs.close(a,(function(){n.fs.chmod(e,r||438,(function(){i(!0)}))}))}))}))})):a?n.fs.write(a,t,0,t.length,0,(function(){n.fs.close(a,(function(){n.fs.chmod(e,r||438,(function(){i(!0)}))}))})):n.fs.chmod(e,r||438,(function(){i(!0)}))}))}))}))}))},Rd.prototype.findFiles=function(e){const t=this;return function e(s,r,i){"boolean"==typeof r&&(i=r,r=void 0);let n=[];return t.fs.readdirSync(s).forEach((function(a){var o=T.default.join(s,a);t.fs.statSync(o).isDirectory()&&i&&(n=n.concat(e(o,r,i))),r&&!r.test(o)||n.push(T.default.normalize(o)+(t.fs.statSync(o).isDirectory()?t.sep:""))})),n}(e,void 0,!0)},Rd.prototype.getAttributes=function(){},Rd.prototype.setAttributes=function(){},Rd.crc32update=function(e,t){return Md[255&(e^t)]^e>>>8},Rd.crc32=function(e){"string"==typeof e&&(e=Buffer.from(e,"utf8")),Md.length||genCRCTable();let t=e.length,s=-1;for(let r=0;r<t;)s=Rd.crc32update(s,e[r++]);return~s>>>0},Rd.methodToString=function(e){switch(e){case Fd.STORED:return"STORED ("+e+")";case Fd.DEFLATED:return"DEFLATED ("+e+")";default:return"UNSUPPORTED ("+e+")"}},Rd.canonical=function(e){if(!e)return"";var t=T.default.posix.normalize("/"+e.split("\\").join("/"));return T.default.join(".",t)},Rd.sanitize=function(e,t){e=T.default.resolve(T.default.normalize(e));for(var s=t.split("/"),r=0,i=s.length;r<i;r++){var n=T.default.normalize(T.default.join(e,s.slice(r,i).join(T.default.sep)));if(0===n.indexOf(e))return n}return T.default.normalize(T.default.join(e,T.default.basename(t)))},Rd.toBuffer=function(e){return Buffer.isBuffer(e)?e:e instanceof Uint8Array?Buffer.from(e):"string"==typeof e?Buffer.from(e,"utf8"):Buffer.alloc(0)},Rd.readBigUInt64LE=function(e,t){var s=Buffer.from(e.slice(t,t+8));return s.swap64(),parseInt(`0x${s.toString("hex")}`)},Rd.isWin=Bd,Rd.crcTable=Md;const qd=_d();qd.existsSync=qd.existsSync||T.default.existsSync;var $d=Ud,zd=Fd,Hd=Od,Vd=function(e){var t=e||"",s={directory:!1,readonly:!1,hidden:!1,executable:!1,mtime:0,atime:0},r=null;return t&&qd.existsSync(t)?(r=qd.statSync(t),s.directory=r.isDirectory(),s.mtime=r.mtime,s.atime=r.atime,s.executable=!!(73&r.mode),s.readonly=!(128&r.mode),s.hidden="."===T.default.basename(t)[0]):console.warn("Invalid path: "+t),{get directory(){return s.directory},get readOnly(){return s.readonly},get hidden(){return s.hidden},get mtime(){return s.mtime},get atime(){return s.atime},get executable(){return s.executable},decodeAttributes:function(){},encodeAttributes:function(){},toJSON:function(){return{path:t,isDirectory:s.directory,isReadOnly:s.readonly,isHidden:s.hidden,isExecutable:s.executable,mTime:s.mtime,aTime:s.atime}},toString:function(){return JSON.stringify(this.toJSON(),null,"\t")}}};$d.Constants=zd,$d.Errors=Hd,$d.FileAttr=Vd;var Gd=$d.Constants,Wd=$d.Constants,Jd=function(){var e=20,t=10,s=0,r=0,i=0,n=0,a=0,o=0,c=0,u=0,l=0,p=0,h=0,d=0,f=0;e|=$d.isWin?2560:768,s|=Gd.FLG_EFS;var m={};function y(e){e=new Date(e),i=(e.getFullYear()-1980&127)<<25|e.getMonth()+1<<21|e.getDate()<<16|e.getHours()<<11|e.getMinutes()<<5|e.getSeconds()>>1}return y(+new Date),{get made(){return e},set made(t){e=t},get version(){return t},set version(e){t=e},get flags(){return s},set flags(e){s=e},get method(){return r},set method(e){switch(e){case Gd.STORED:this.version=10;case Gd.DEFLATED:default:this.version=20}r=e},get time(){return new Date(1980+(i>>25&127),(i>>21&15)-1,i>>16&31,i>>11&31,i>>5&63,(31&i)<<1)},set time(e){y(e)},get timeHighByte(){return i>>>8&255},get crc(){return n},set crc(e){n=Math.max(0,e)>>>0},get compressedSize(){return a},set compressedSize(e){a=Math.max(0,e)>>>0},get size(){return o},set size(e){o=Math.max(0,e)>>>0},get fileNameLength(){return c},set fileNameLength(e){c=e},get extraLength(){return u},set extraLength(e){u=e},get commentLength(){return l},set commentLength(e){l=e},get diskNumStart(){return p},set diskNumStart(e){p=Math.max(0,e)>>>0},get inAttr(){return h},set inAttr(e){h=Math.max(0,e)>>>0},get attr(){return d},set attr(e){d=Math.max(0,e)>>>0},get fileAttr(){return d?d>>>0>>16&4095:0},get offset(){return f},set offset(e){f=Math.max(0,e)>>>0},get encripted(){return!(1&~s)},get entryHeaderSize(){return Gd.CENHDR+c+u+l},get realDataOffset(){return f+Gd.LOCHDR+m.fnameLen+m.extraLen},get dataHeader(){return m},loadDataHeaderFromBinary:function(e){var t=e.slice(f,f+Gd.LOCHDR);if(t.readUInt32LE(0)!==Gd.LOCSIG)throw new Error($d.Errors.INVALID_LOC);m={version:t.readUInt16LE(Gd.LOCVER),flags:t.readUInt16LE(Gd.LOCFLG),method:t.readUInt16LE(Gd.LOCHOW),time:t.readUInt32LE(Gd.LOCTIM),crc:t.readUInt32LE(Gd.LOCCRC),compressedSize:t.readUInt32LE(Gd.LOCSIZ),size:t.readUInt32LE(Gd.LOCLEN),fnameLen:t.readUInt16LE(Gd.LOCNAM),extraLen:t.readUInt16LE(Gd.LOCEXT)}},loadFromBinary:function(m){if(m.length!==Gd.CENHDR||m.readUInt32LE(0)!==Gd.CENSIG)throw new Error($d.Errors.INVALID_CEN);e=m.readUInt16LE(Gd.CENVEM),t=m.readUInt16LE(Gd.CENVER),s=m.readUInt16LE(Gd.CENFLG),r=m.readUInt16LE(Gd.CENHOW),i=m.readUInt32LE(Gd.CENTIM),n=m.readUInt32LE(Gd.CENCRC),a=m.readUInt32LE(Gd.CENSIZ),o=m.readUInt32LE(Gd.CENLEN),c=m.readUInt16LE(Gd.CENNAM),u=m.readUInt16LE(Gd.CENEXT),l=m.readUInt16LE(Gd.CENCOM),p=m.readUInt16LE(Gd.CENDSK),h=m.readUInt16LE(Gd.CENATT),d=m.readUInt32LE(Gd.CENATX),f=m.readUInt32LE(Gd.CENOFF)},dataHeaderToBinary:function(){var e=Buffer.alloc(Gd.LOCHDR);return e.writeUInt32LE(Gd.LOCSIG,0),e.writeUInt16LE(t,Gd.LOCVER),e.writeUInt16LE(s,Gd.LOCFLG),e.writeUInt16LE(r,Gd.LOCHOW),e.writeUInt32LE(i,Gd.LOCTIM),e.writeUInt32LE(n,Gd.LOCCRC),e.writeUInt32LE(a,Gd.LOCSIZ),e.writeUInt32LE(o,Gd.LOCLEN),e.writeUInt16LE(c,Gd.LOCNAM),e.writeUInt16LE(u,Gd.LOCEXT),e},entryHeaderToBinary:function(){var m=Buffer.alloc(Gd.CENHDR+c+u+l);return m.writeUInt32LE(Gd.CENSIG,0),m.writeUInt16LE(e,Gd.CENVEM),m.writeUInt16LE(t,Gd.CENVER),m.writeUInt16LE(s,Gd.CENFLG),m.writeUInt16LE(r,Gd.CENHOW),m.writeUInt32LE(i,Gd.CENTIM),m.writeUInt32LE(n,Gd.CENCRC),m.writeUInt32LE(a,Gd.CENSIZ),m.writeUInt32LE(o,Gd.CENLEN),m.writeUInt16LE(c,Gd.CENNAM),m.writeUInt16LE(u,Gd.CENEXT),m.writeUInt16LE(l,Gd.CENCOM),m.writeUInt16LE(p,Gd.CENDSK),m.writeUInt16LE(h,Gd.CENATT),m.writeUInt32LE(d,Gd.CENATX),m.writeUInt32LE(f,Gd.CENOFF),m.fill(0,Gd.CENHDR),m},toJSON:function(){const i=function(e){return e+" bytes"};return{made:e,version:t,flags:s,method:$d.methodToString(r),time:this.time,crc:"0x"+n.toString(16).toUpperCase(),compressedSize:i(a),size:i(o),fileNameLength:i(c),extraLength:i(u),commentLength:i(l),diskNumStart:p,inAttr:h,attr:d,offset:f,entryHeaderSize:i(Gd.CENHDR+c+u+l)}},toString:function(){return JSON.stringify(this.toJSON(),null,"\t")}}},Xd=function(){var e=0,t=0,s=0,r=0,i=0;return{get diskEntries(){return e},set diskEntries(s){e=t=s},get totalEntries(){return t},set totalEntries(s){t=e=s},get size(){return s},set size(e){s=e},get offset(){return r},set offset(e){r=e},get commentLength(){return i},set commentLength(e){i=e},get mainHeaderSize(){return Wd.ENDHDR+i},loadFromBinary:function(n){if((n.length!==Wd.ENDHDR||n.readUInt32LE(0)!==Wd.ENDSIG)&&(n.length<Wd.ZIP64HDR||n.readUInt32LE(0)!==Wd.ZIP64SIG))throw new Error($d.Errors.INVALID_END);n.readUInt32LE(0)===Wd.ENDSIG?(e=n.readUInt16LE(Wd.ENDSUB),t=n.readUInt16LE(Wd.ENDTOT),s=n.readUInt32LE(Wd.ENDSIZ),r=n.readUInt32LE(Wd.ENDOFF),i=n.readUInt16LE(Wd.ENDCOM)):(e=$d.readBigUInt64LE(n,Wd.ZIP64SUB),t=$d.readBigUInt64LE(n,Wd.ZIP64TOT),s=$d.readBigUInt64LE(n,Wd.ZIP64SIZE),r=$d.readBigUInt64LE(n,Wd.ZIP64OFF),i=0)},toBinary:function(){var n=Buffer.alloc(Wd.ENDHDR+i);return n.writeUInt32LE(Wd.ENDSIG,0),n.writeUInt32LE(0,4),n.writeUInt16LE(e,Wd.ENDSUB),n.writeUInt16LE(t,Wd.ENDTOT),n.writeUInt32LE(s,Wd.ENDSIZ),n.writeUInt32LE(r,Wd.ENDOFF),n.writeUInt16LE(i,Wd.ENDCOM),n.fill(" ",Wd.ENDHDR),n},toJSON:function(){return{diskEntries:e,totalEntries:t,size:s+" bytes",offset:function(e,t){let s=e.toString(16).toUpperCase();for(;s.length<t;)s="0"+s;return"0x"+s}(r,4),commentLength:i}},toString:function(){return JSON.stringify(this.toJSON(),null,"\t")}}},Kd={EntryHeader:Jd,MainHeader:Xd};const{randomFillSync:Yd}=O.default,Zd=new Uint32Array(256).map(((e,t)=>{for(let e=0;e<8;e++)1&t?t=t>>>1^3988292384:t>>>=1;return t>>>0})),Qd=(e,t)=>Math.imul(e,t)>>>0,ef=(e,t)=>Zd[255&(e^t)]^e>>>8,tf=()=>"function"==typeof Yd?Yd(Buffer.alloc(12)):tf.node();tf.node=()=>{const e=Buffer.alloc(12),t=e.length;for(let s=0;s<t;s++)e[s]=256*Math.random()&255;return e};const sf={genSalt:tf};function rf(e){const t=Buffer.isBuffer(e)?e:Buffer.from(e);this.keys=new Uint32Array([305419896,591751049,878082192]);for(let e=0;e<t.length;e++)this.updateKeys(t[e])}rf.prototype.updateKeys=function(e){const t=this.keys;return t[0]=ef(t[0],e),t[1]+=255&t[0],t[1]=Qd(t[1],134775813)+1,t[2]=ef(t[2],t[1]>>>24),e},rf.prototype.next=function(){const e=(2|this.keys[2])>>>0;return Qd(e,1^e)>>8&255};var nf={decrypt:function(e,t,s){if(!e||!Buffer.isBuffer(e)||e.length<12)return Buffer.alloc(0);const r=function(e){const t=new rf(e);return function(e){const s=Buffer.alloc(e.length);let r=0;for(let i of e)s[r++]=t.updateKeys(i^t.next());return s}}(s),i=r(e.slice(0,12)),n=8&~t.flags?t.crc>>>24:t.timeHighByte;if(i[11]!==n)throw"ADM-ZIP: Wrong Password";return r(e.slice(12))},encrypt:function(e,t,s,r=!1){null==e&&(e=Buffer.alloc(0)),Buffer.isBuffer(e)||(e=Buffer.from(e.toString()));const i=function(e){const t=new rf(e);return function(e,s,r=0){s||(s=Buffer.alloc(e.length));for(let i of e){const e=t.next();s[r++]=i^e,t.updateKeys(i)}return s}}(s),n=sf.genSalt();n[11]=t.crc>>>24&255,r&&(n[10]=t.crc>>>16&255);const a=Buffer.alloc(e.length+12);return i(n,a),i(e,a,12)},_salter:function(e){Buffer.isBuffer(e)&&e.length>=12?sf.genSalt=function(){return e.slice(0,12)}:sf.genSalt="node"===e?tf.node:tf}},af=function(e){var t=q.default,s={chunkSize:1024*(parseInt(e.length/1024)+1)};return{deflate:function(){return t.deflateRawSync(e,s)},deflateAsync:function(r){var i=t.createDeflateRaw(s),n=[],a=0;i.on("data",(function(e){n.push(e),a+=e.length})),i.on("end",(function(){var e=Buffer.alloc(a),t=0;e.fill(0);for(var s=0;s<n.length;s++){var i=n[s];i.copy(e,t),t+=i.length}r&&r(e)})),i.end(e)}}},of=function(e){var t=q.default;return{inflate:function(){return t.inflateRawSync(e)},inflateAsync:function(s){var r=t.createInflateRaw(),i=[],n=0;r.on("data",(function(e){i.push(e),n+=e.length})),r.on("end",(function(){var e=Buffer.alloc(n),t=0;e.fill(0);for(var r=0;r<i.length;r++){var a=i[r];a.copy(e,t),t+=a.length}s&&s(e)})),r.end(e)}}},cf={Deflater:af,Inflater:of,ZipCrypto:nf},uf=$d.Constants,lf=function(e){var t=new Kd.EntryHeader,s=Buffer.alloc(0),r=Buffer.alloc(0),i=!1,n=null,a=Buffer.alloc(0);function o(){return e&&Buffer.isBuffer(e)?(t.loadDataHeaderFromBinary(e),e.slice(t.realDataOffset,t.realDataOffset+t.compressedSize)):Buffer.alloc(0)}function c(e){return!(8&~t.flags&&$d.crc32(e)!==t.dataHeader.crc)}function u(e,r,n){if(void 0===r&&"string"==typeof e&&(n=e,e=void 0),i)return e&&r&&r(Buffer.alloc(0),$d.Errors.DIRECTORY_CONTENT_ERROR),Buffer.alloc(0);var a=o();if(0===a.length)return e&&r&&r(a),a;if(t.encripted){if("string"!=typeof n&&!Buffer.isBuffer(n))throw new Error("ADM-ZIP: Incompatible password parameter");a=cf.ZipCrypto.decrypt(a,t,n)}var u=Buffer.alloc(t.size);switch(t.method){case $d.Constants.STORED:if(a.copy(u),c(u))return e&&r&&r(u),u;throw e&&r&&r(u,$d.Errors.BAD_CRC),new Error($d.Errors.BAD_CRC);case $d.Constants.DEFLATED:var l=new cf.Inflater(a);if(!e){if(l.inflate(u).copy(u,0),!c(u))throw new Error($d.Errors.BAD_CRC+" "+s.toString());return u}l.inflateAsync((function(e){e.copy(e,0),r&&(c(e)?r(e):r(e,$d.Errors.BAD_CRC))}));break;default:throw e&&r&&r(Buffer.alloc(0),$d.Errors.UNKNOWN_METHOD),new Error($d.Errors.UNKNOWN_METHOD)}}function l(s,r){if((!n||!n.length)&&Buffer.isBuffer(e))return s&&r&&r(o()),o();if(n.length&&!i){var a;switch(t.method){case $d.Constants.STORED:return t.compressedSize=t.size,a=Buffer.alloc(n.length),n.copy(a),s&&r&&r(a),a;default:case $d.Constants.DEFLATED:var c=new cf.Deflater(n);if(!s){var u=c.deflate();return t.compressedSize=u.length,u}c.deflateAsync((function(e){a=Buffer.alloc(e.length),t.compressedSize=e.length,e.copy(a),r&&r(a)})),c=null}}else{if(!s||!r)return Buffer.alloc(0);r(Buffer.alloc(0))}}function p(e,t){return(e.readUInt32LE(t+4)<<4)+e.readUInt32LE(t)}function h(e){var s,r,i,n;e.length>=uf.EF_ZIP64_SCOMP&&(s=p(e,uf.EF_ZIP64_SUNCOMP),t.size===uf.EF_ZIP64_OR_32&&(t.size=s)),e.length>=uf.EF_ZIP64_RHO&&(r=p(e,uf.EF_ZIP64_SCOMP),t.compressedSize===uf.EF_ZIP64_OR_32&&(t.compressedSize=r)),e.length>=uf.EF_ZIP64_DSN&&(i=p(e,uf.EF_ZIP64_RHO),t.offset===uf.EF_ZIP64_OR_32&&(t.offset=i)),e.length>=uf.EF_ZIP64_DSN+4&&(n=e.readUInt32LE(uf.EF_ZIP64_DSN),t.diskNumStart===uf.EF_ZIP64_OR_16&&(t.diskNumStart=n))}return{get entryName(){return s.toString()},get rawEntryName(){return s},set entryName(e){var r=(s=$d.toBuffer(e))[s.length-1];i=47===r||92===r,t.fileNameLength=s.length},get extra(){return a},set extra(e){a=e,t.extraLength=e.length,function(e){for(var t,s,r,i=0;i<e.length;)t=e.readUInt16LE(i),i+=2,s=e.readUInt16LE(i),i+=2,r=e.slice(i,i+s),i+=s,uf.ID_ZIP64===t&&h(r)}(e)},get comment(){return r.toString()},set comment(e){r=$d.toBuffer(e),t.commentLength=r.length},get name(){var e=s.toString();return i?e.substr(e.length-1).split("/").pop():e.split("/").pop()},get isDirectory(){return i},getCompressedData:function(){return l(!1,null)},getCompressedDataAsync:function(e){l(!0,e)},setData:function(e){n=$d.toBuffer(e),!i&&n.length?(t.size=n.length,t.method=$d.Constants.DEFLATED,t.crc=$d.crc32(e),t.changed=!0):t.method=$d.Constants.STORED},getData:function(e){return t.changed?n:u(!1,null,e)},getDataAsync:function(e,s){t.changed?e(n):u(!0,e,s)},set attr(e){t.attr=e},get attr(){return t.attr},set header(e){t.loadFromBinary(e)},get header(){return t},packHeader:function(){var e=t.entryHeaderToBinary(),i=$d.Constants.CENHDR;return s.copy(e,i),i+=s.length,t.extraLength&&(a.copy(e,i),i+=t.extraLength),t.commentLength&&r.copy(e,i),e},toJSON:function(){const s=function(e){return"<"+(e&&e.length+" bytes buffer"||"null")+">"};return{entryName:this.entryName,name:this.name,comment:this.comment,isDirectory:this.isDirectory,header:t.toJSON(),compressedData:s(e),data:s(n)}},toString:function(){return JSON.stringify(this.toJSON(),null,"\t")}}},pf=function(e,t){var s=[],r={},i=Buffer.alloc(0),n=new Kd.MainHeader,a=!1;const o=Object.assign(Object.create(null),t),{noSort:c}=o;function u(){a=!0,r={},s=new Array(n.diskEntries);for(var t=n.offset,i=0;i<s.length;i++){var o=t,c=new lf(e);c.header=e.slice(o,o+=$d.Constants.CENHDR),c.entryName=e.slice(o,o+=c.header.fileNameLength),c.header.extraLength&&(c.extra=e.slice(o,o+=c.header.extraLength)),c.header.commentLength&&(c.comment=e.slice(o,o+c.header.commentLength)),t+=c.header.entryHeaderSize,s[i]=c,r[c.entryName]=c}}function l(){s.length>1&&!c&&s.sort(((e,t)=>e.entryName.toLowerCase().localeCompare(t.entryName.toLowerCase())))}return e?function(t){var s=e.length-$d.Constants.ENDHDR,r=Math.max(0,s-65535),a=r,o=e.length,c=-1,l=0;for(;s>=a;s--)if(80===e[s])if(e.readUInt32LE(s)!==$d.Constants.ENDSIG)if(e.readUInt32LE(s)!==$d.Constants.END64SIG){if(e.readUInt32LE(s)===$d.Constants.ZIP64SIG){c=s,o=s+$d.readBigUInt64LE(e,s+$d.Constants.ZIP64SIZE)+$d.Constants.ZIP64LEAD;break}}else a=r;else c=s,l=s,o=s+$d.Constants.ENDHDR,a=s-$d.Constants.END64HDR;if(!~c)throw new Error($d.Errors.INVALID_FORMAT);n.loadFromBinary(e.slice(c,o)),n.commentLength&&(i=e.slice(l+$d.Constants.ENDHDR));t&&u()}(o.readEntries):a=!0,{get entries(){return a||u(),s},get comment(){return i.toString()},set comment(e){i=$d.toBuffer(e),n.commentLength=i.length},getEntryCount:function(){return a?s.length:n.diskEntries},forEach:function(t){a?s.forEach(t):function(t){const s=n.diskEntries;let r=n.offset;for(let i=0;i<s;i++){let s=r;const i=new lf(e);i.header=e.slice(s,s+=$d.Constants.CENHDR),i.entryName=e.slice(s,s+=i.header.fileNameLength),r+=i.header.entryHeaderSize,t(i)}}(t)},getEntry:function(e){return a||u(),r[e]||null},setEntry:function(e){a||u(),s.push(e),r[e.entryName]=e,n.totalEntries=s.length},deleteEntry:function(e){a||u();var t=r[e];if(t&&t.isDirectory){var i=this;this.getEntryChildren(t).forEach((function(t){t.entryName!==e&&i.deleteEntry(t.entryName)}))}s.splice(s.indexOf(t),1),delete r[e],n.totalEntries=s.length},getEntryChildren:function(e){if(a||u(),e&&e.isDirectory){const t=[],r=e.entryName,i=r.length;return s.forEach((function(e){e.entryName.substr(0,i)===r&&t.push(e)})),t}return[]},compressToBuffer:function(){a||u(),l();const e=[],t=[];let r=0,o=0;n.size=0,n.offset=0;for(const i of s){const s=i.getCompressedData();i.header.offset=o;const a=i.header.dataHeaderToBinary(),c=i.rawEntryName.length,u=Buffer.alloc(c+i.extra.length);i.rawEntryName.copy(u,0),i.extra.copy(u,c);const l=a.length+u.length+s.length;o+=l,e.push(a),e.push(u),e.push(s);const p=i.packHeader();t.push(p),n.size+=p.length,r+=l+p.length}r+=n.mainHeaderSize,n.offset=o,o=0;const c=Buffer.alloc(r);for(const t of e)t.copy(c,o),o+=t.length;for(const e of t)e.copy(c,o),o+=e.length;const p=n.toBinary();return i&&i.copy(p,$d.Constants.ENDHDR),p.copy(c,o),c},toAsyncBuffer:function(e,t,r,o){try{a||u(),l();const t=[],c=[];let p=0,h=0;n.size=0,n.offset=0;const d=function(s){if(s.length){const e=s.pop(),i=e.entryName+e.extra.toString();r&&r(i),e.getCompressedDataAsync((function(r){o&&o(i),e.header.offset=h;const a=e.header.dataHeaderToBinary(),u=Buffer.alloc(i.length,i),l=a.length+u.length+r.length;h+=l,t.push(a),t.push(u),t.push(r);const f=e.packHeader();c.push(f),n.size+=f.length,p+=l+f.length,d(s)}))}else{p+=n.mainHeaderSize,n.offset=h,h=0;const s=Buffer.alloc(p);t.forEach((function(e){e.copy(s,h),h+=e.length})),c.forEach((function(e){e.copy(s,h),h+=e.length}));const r=n.toBinary();i&&i.copy(r,$d.Constants.ENDHDR),r.copy(s,h),e(s)}};d(s)}catch(e){t(e)}}}};const hf=(e,t)=>"boolean"==typeof e?e:t,df=(e,t)=>"string"==typeof e?e:t,ff={noSort:!1,readEntries:!1,method:$d.Constants.NONE,fs:null};var mf=function(e,t){let s=null;const r=Object.assign(Object.create(null),ff);e&&"object"==typeof e&&(e instanceof Uint8Array||(Object.assign(r,e),e=r.input?r.input:void 0,r.input&&delete r.input),Buffer.isBuffer(e)&&(s=e,r.method=$d.Constants.BUFFER,e=void 0)),Object.assign(r,t);const i=new $d(r);if(e&&"string"==typeof e){if(!i.fs.existsSync(e))throw new Error($d.Errors.INVALID_FILENAME);r.method=$d.Constants.FILE,r.filename=e,s=i.fs.readFileSync(e)}const n=new pf(s,r),{canonical:a,sanitize:o}=$d;function c(e){var t;if(e&&n&&("string"==typeof e&&(t=n.getEntry(e)),"object"==typeof e&&void 0!==e.entryName&&void 0!==e.header&&(t=n.getEntry(e.entryName)),t))return t;return null}function u(e){const{join:t,normalize:s,sep:r}=T.default.posix;return t(".",s(r+e.split("\\").join(r)+r))}return{readFile:function(e,t){var s=c(e);return s&&s.getData(t)||null},readFileAsync:function(e,t){var s=c(e);s?s.getDataAsync(t):t(null,"getEntry failed for:"+e)},readAsText:function(e,t){var s=c(e);if(s){var r=s.getData();if(r&&r.length)return r.toString(t||"utf8")}return""},readAsTextAsync:function(e,t,s){var r=c(e);r?r.getDataAsync((function(e,r){r?t(e,r):e&&e.length?t(e.toString(s||"utf8")):t("")})):t("")},deleteFile:function(e){var t=c(e);t&&n.deleteEntry(t.entryName)},addZipComment:function(e){n.comment=e},getZipComment:function(){return n.comment||""},addZipEntryComment:function(e,t){var s=c(e);s&&(s.comment=t)},getZipEntryComment:function(e){var t=c(e);return t&&t.comment||""},updateFile:function(e,t){var s=c(e);s&&s.setData(t)},addLocalFile:function(e,t,s,r){if(!i.fs.existsSync(e))throw new Error($d.Errors.FILE_NOT_FOUND.replace("%s",e));{t=t?u(t):"";var n=e.split("\\").join("/").split("/").pop();t+=s||n;const a=i.fs.statSync(e);this.addFile(t,i.fs.readFileSync(e),r,a)}},addLocalFolder:function(e,t,s,r){var n;if(s instanceof RegExp?(n=s,s=function(e){return n.test(e)}):"function"!=typeof s&&(s=function(){return!0}),t=t?u(t):"",e=T.default.normalize(e),!i.fs.existsSync(e))throw new Error($d.Errors.FILE_NOT_FOUND.replace("%s",e));{const n=i.findFiles(e),a=this;n.length&&n.forEach((function(n){var o=T.default.relative(e,n).split("\\").join("/");if(s(o)){var c=i.fs.statSync(n);c.isFile()?a.addFile(t+o,i.fs.readFileSync(n),"",r||c):a.addFile(t+o+"/",Buffer.alloc(0),"",r||c)}}))}},addLocalFolderAsync:function(e,t,s,r){var n;r instanceof RegExp?(n=r,r=function(e){return n.test(e)}):"function"!=typeof r&&(r=function(){return!0}),s=s?u(s):"",e=T.default.normalize(e);var a=this;i.fs.open(e,"r",(function(n){if(n&&"ENOENT"===n.code)t(void 0,$d.Errors.FILE_NOT_FOUND.replace("%s",e));else if(n)t(void 0,n);else{var o=i.findFiles(e),c=-1,u=function(){if((c+=1)<o.length){var n=o[c],l=T.default.relative(e,n).split("\\").join("/");l=l.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^\x20-\x7E]/g,""),r(l)?i.fs.stat(n,(function(e,r){e&&t(void 0,e),r.isFile()?i.fs.readFile(n,(function(e,i){e?t(void 0,e):(a.addFile(s+l,i,"",r),u())})):(a.addFile(s+l+"/",Buffer.alloc(0),"",r),u())})):process.nextTick((()=>{u()}))}else t(!0,void 0)};u()}}))},addLocalFolderPromise:function(e,t){return new Promise(((s,r)=>{const{filter:i,zipPath:n}=Object.assign({},t);this.addLocalFolderAsync(e,((e,t)=>{t&&r(t),e&&s(this)}),n,i)}))},addFile:function(e,t,s,r){let a=c(e);const o=null!=a;o||(a=new lf,a.entryName=e),a.comment=s||"";const u="object"==typeof r&&r instanceof i.fs.Stats;u&&(a.header.time=r.mtime);var l=a.isDirectory?16:0;let p=a.isDirectory?16384:32768;p|=u?4095&r.mode:"number"==typeof r?4095&r:a.isDirectory?493:420,l=(l|p<<16)>>>0,a.attr=l,a.setData(t),o||n.setEntry(a)},getEntries:function(e){return n.password=e,n?n.entries:[]},getEntry:function(e){return c(e)},getEntryCount:function(){return n.getEntryCount()},forEach:function(e){return n.forEach(e)},extractEntryTo:function(e,t,s,r,u,l){r=hf(r,!1),u=hf(u,!1),s=hf(s,!0),l=df(l,df(u,void 0));var p=c(e);if(!p)throw new Error($d.Errors.NO_ENTRY);var h=a(p.entryName),d=o(t,l&&!p.isDirectory?l:s?h:T.default.basename(h));if(p.isDirectory)return n.getEntryChildren(p).forEach((function(e){if(e.isDirectory)return;var n=e.getData();if(!n)throw new Error($d.Errors.CANT_EXTRACT_FILE);var c=a(e.entryName),l=o(t,s?c:T.default.basename(c));const p=u?e.header.fileAttr:void 0;i.writeFileTo(l,n,r,p)})),!0;var f=p.getData(n.password);if(!f)throw new Error($d.Errors.CANT_EXTRACT_FILE);if(i.fs.existsSync(d)&&!r)throw new Error($d.Errors.CANT_OVERRIDE);const m=u?e.header.fileAttr:void 0;return i.writeFileTo(d,f,r,m),!0},test:function(e){if(!n)return!1;for(var t in n.entries)try{if(t.isDirectory)continue;if(!n.entries[t].getData(e))return!1}catch(e){return!1}return!0},extractAllTo:function(e,t,s,r){if(t=hf(t,!1),r=df(s,r),s=hf(s,!1),!n)throw new Error($d.Errors.NO_ZIP);n.entries.forEach((function(n){var c=o(e,a(n.entryName.toString()));if(n.isDirectory)return void i.makeDir(c);var u=n.getData(r);if(!u)throw new Error($d.Errors.CANT_EXTRACT_FILE);const l=s?n.header.fileAttr:void 0;i.writeFileTo(c,u,t,l);try{i.fs.utimesSync(c,n.header.time,n.header.time)}catch(e){throw new Error($d.Errors.CANT_EXTRACT_FILE)}}))},extractAllToAsync:function(e,t,s,r){if(t=hf(t,!1),"function"!=typeof s||r||(r=s),s=hf(s,!1),r||(r=function(e){throw new Error(e)}),!n)return void r(new Error($d.Errors.NO_ZIP));e=T.default.resolve(e);const c=t=>o(e,T.default.normalize(a(t.entryName.toString()))),u=(e,t)=>new Error(e+': "'+t+'"'),l=[],p=new Set;n.entries.forEach((e=>{e.isDirectory?l.push(e):p.add(e)}));for(const e of l){const t=c(e),n=s?e.header.fileAttr:void 0;try{i.makeDir(t),n&&i.fs.chmodSync(t,n),i.fs.utimesSync(t,e.header.time,e.header.time)}catch(e){r(u("Unable to create folder",t))}}const h=()=>{0===p.size&&r()};for(const n of p.values()){const c=T.default.normalize(a(n.entryName.toString())),l=o(e,c);n.getDataAsync((function(e,a){if(a)r(new Error(a));else if(e){const a=s?n.header.fileAttr:void 0;i.writeFileToAsync(l,e,t,a,(function(e){e?i.fs.utimes(l,n.header.time,n.header.time,(function(e){e?r(u("Unable to set times",l)):(h(),p.delete(n))})):r(u("Unable to write file",l))}))}else r(new Error($d.Errors.CANT_EXTRACT_FILE))}))}h()},writeZip:function(e,t){if(1===arguments.length&&"function"==typeof e&&(t=e,e=""),!e&&r.filename&&(e=r.filename),e){var s=n.compressToBuffer();if(s){var a=i.writeFileTo(e,s,!0);"function"==typeof t&&t(a?null:new Error("failed"),"")}}},writeZipPromise:function(e,t){const{overwrite:s,perm:n}=Object.assign({overwrite:!0},t);return new Promise(((t,a)=>{!e&&r.filename&&(e=r.filename),e||a("ADM-ZIP: ZIP File Name Missing"),this.toBufferPromise().then((r=>{i.writeFileToAsync(e,r,s,n,(e=>e?t(e):a("ADM-ZIP: Wasn't able to write zip file")))}),a)}))},toBufferPromise:function(){return new Promise(((e,t)=>{n.toAsyncBuffer(e,t)}))},toBuffer:function(e,t,s,r){return this.valueOf=2,"function"==typeof e?(n.toAsyncBuffer(e,t,s,r),null):n.compressToBuffer()}}};function yf(e,t){return Y(this,void 0,void 0,(function(){return Z(this,(function(s){try{new mf(e).extractAllTo(t,!0),N.default.unlinkSync(e)}catch(e){throw console.error("Error extracting template:",e),e}return[2]}))}))}function gf(e,t){return Y(this,void 0,void 0,(function(){var s,r;return Z(this,(function(i){switch(i.label){case 0:return i.trys.push([0,4,,5]),console.log("Downloading template from ".concat(e,"...")),[4,W.default.ensureDir(t)];case 1:return i.sent(),s="".concat(t,"/template").concat(Date.now(),".zip"),[4,Hn(e,s)];case 2:return i.sent(),console.log("Template downloaded."),[4,yf(s,t)];case 3:return i.sent(),[3,5];case 4:throw r=i.sent(),console.error("Error downloading or extracting template:"),r;case 5:return[2]}}))}))}function xf(e,t,s){return Y(this,void 0,void 0,(function(){var r,i,n,a,o,c;return Z(this,(function(u){switch(u.label){case 0:return r=process.cwd(),i="".concat(r,"/").concat(s),[4,gf(t,r)];case 1:return u.sent(),[4,W.default.readdir(r,{withFileTypes:!0})];case 2:if(n=u.sent(),!(a=n.find((function(t){return t.isDirectory()&&t.name.startsWith(e.zipName||"---")}))))throw new Error("Failed to find the extracted template directory.");return o="".concat(r,"/").concat(a.name),console.log("oldPath",o),[4,W.default.pathExists(o)];case 3:return c=u.sent(),console.log("isExist: ",c),[4,W.default.rename("".concat(r,"/").concat(a.name),i)];case 4:return u.sent(),console.log('Project "'.concat(s,'" created successfully from template.')),[2]}}))}))}exports.create=function(e){return Y(this,void 0,void 0,(function(){var t,s,r,i,n,a,o,c,u;return Z(this,(function(l){switch(l.label){case 0:s=(t=e||{}).template,r=void 0===s?"vite":s,i=t.folder,n=void 0===i?"appthen-assets-starter":i,console.log("template: ",r),l.label=1;case 1:return l.trys.push([1,6,,7]),[4,ka("/material/templates",{},{method:"GET"})];case 2:return a=l.sent(),o=a.data,c=o.find((function(e){return e.name===r})),c?[4,xf(c,c.url,n)]:[3,4];case 3:return l.sent(),[3,5];case 4:console.log("[ERROR] ","template not found"),l.label=5;case 5:return[3,7];case 6:throw u=l.sent(),console.log("[e] ",u),u;case 7:return[2,1]}}))}))},exports.fuck=function(){},exports.getPureValue=Td,exports.initSolution=function(e,t){return Y(this,void 0,void 0,(function(){var s,r,i,n,a,o,c,u,l,p,h,d,f;return Z(this,(function(m){switch(m.label){case 0:return m.trys.push([0,11,,12]),s=process.cwd(),r=e[0]||"hello",i=S.resolve(s,r),"."===r&&(r=S.basename(s),i=s),n=function(e){return e.replace(/hello-world/g,Ph(r)).replace(/HelloWorld/g,kh(r)).replace(/Hello World/g,Sh(r))},[4,Nd(i)];case 1:m.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"}],m.label=2;case 2:m.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(),m.label=3;case 3:return c.done?[3,7]:(u=c.value,t.verbose&&console.log("%s",Ye.gray("creating file ".concat(u.file))),l=S.join(i,u.file),[4,Nd(S.dirname(l))]);case 4:return m.sent(),[4,G.writeFile(l,n(u.content),{encoding:"utf-8"})];case 5:m.sent(),m.label=6;case 6:return c=o.next(),[3,3];case 7:return[3,10];case 8:return p=m.sent(),d={error:p},[3,10];case 9:try{c&&!c.done&&(f=o.return)&&f.call(o)}finally{if(d)throw d.error}return[7];case 10:return t.quiet||console.log("%s",Ye.green("solution ".concat(r," created successfully"))),[2,0];case 11:return h=m.sent(),console.log(Ye.red(Ze(h)||"Unexpected error: ".concat(h))),"object"==typeof h&&(null==h?void 0:h.stack)&&t.verbose&&console.log(Ye.gray(h.stack)),[2,1];case 12:return[2]}}))}))},exports.releaseMaterial=function(e){return Y(this,void 0,void 0,(function(){var t,s,r,i,n,a,o,c,u,l,p,h,d,f,m,y,g,x,v,b,E,A;return Z(this,(function(w){switch(w.label){case 0:return(t=e.auth)&&Pa(t),s=process.cwd(),r="build/lowcode",i=T.default.resolve(process.cwd(),r),(n=k.existsSync(i))||(i=T.default.resolve(process.cwd(),"dist")),[4,function(e){return Promise.resolve().then((function(){return C(require(e))}))}(T.default.resolve(process.cwd(),"package.json"))];case 1:return a=w.sent(),o=a.name,c=a.version,n&&(console.log("lceViewJS: ",T.default.resolve(process.cwd(),r,"view.js")),p=k.readFileSync(T.default.resolve(process.cwd(),r,"view.js"),"utf-8"),u=kd(p),h=k.readFileSync(T.default.resolve(process.cwd(),r,"meta.js"),"utf-8"),l=kd(h)),console.log("Uploading material..."),[4,et(i+"/")];case 2:d=w.sent(),f=[],m=0,w.label=3;case 3:return m<d.length?(y=d[m],(g=k.readFileSync(y.path+"/"+y.fileName,"utf-8"))&&0!==g.trim().length?[3,4]:(console.log("File is empty Do not Upload: ",y.path+"/"+y.fileName),[3,6])):[3,7];case 4:return x="".concat(o,"/").concat(c,"/")+(y.path.split("".concat(s,"/").concat(r,"/"))[1]||"")+y.fileName,[4,Pd(y,{t:1,route:"material",path:x})];case 5:v=w.sent(),f.push(v),w.label=6;case 6:return m++,[3,3];case 7:return console.log("Npm Name: ",o),console.log("Npm Version: ",c),n?(b=f.find((function(e){return e.key.includes("".concat(c,"/view.js"))})),E=f.find((function(e){return e.key.includes("".concat(c,"/view.css"))})),A=f.find((function(e){return e.key.includes("".concat(c,"/meta.js"))})),console.log("Npm Export Name: ",u),console.log("Npm Js Url: ",null==b?void 0:b.url),console.log("Npm Css Url: ",null==E?void 0:E.url),console.log("Meta Export Name: ",l),console.log("Meta Url: ",null==A?void 0:A.url)):f.length>0&&f.forEach((function(e){console.log("File Name: ",e.key),console.log("File Url: ",e.url)})),[2,1]}}))}))},exports.run=function(e,t){var s,i,n;return Y(this,void 0,void 0,(function(){var e,a,o,c,u,l,p,h,d,f,m,y,g,x,v,b,E,C,A,D,S,N,I,O,L,B,j,M,R,U,q,$,z,H;return Z(this,(function(V){switch(V.label){case 0:e=T.default.join(w.default.homedir(),".cache","mengti_temp"),a=T.default.join(w.default.homedir(),".cache","mengti_translate"),t.clear&&tt(a),o=T.default.join(process.cwd()+"/"+(t.output||""))+"$__cacheTime",V.label=1;case 1:return V.trys.push([1,11,,12]),c=_a.getKey(o),console.log("[最后同步时间] ",c?new Date(Number(c)).toLocaleString():"无"),u=c&&!t.clear?Number(c):0,Pa(t.auth),[4,Dd({projectId:t.id,auth:t.auth,filter:t.filter,folder:t.folder,frame:t.frame,afterTime:u})];case 2:return l=V.sent(),p=l.schema,h=l.project,d=l.documents,f=l.componentDocs,m=l.packageJSON,y=h.documents||[],g=y.map((function(e){return e.fileName})),h&&0!==d.length?(x=t.frame||h.type,b=(v="web"===x)?"vite":"taro",E=t.output,C=function(e){return P.default.createProjectBuilder({template:Ih.template,plugins:{components:[$h(),Yh({fileType:"jsx"}),Hh(e),Vh(e),Uh(),P.default.plugins.react.containerInitState(),P.default.plugins.react.containerLifeCycle(),Gh(),_h(),pd({nodeTypeMapping:{Div:"View",Component:"React.Fragment",Page:"View",Block:"React.Fragment"}}),P.default.plugins.style.css()],pages:[$h(),Yh({fileType:"jsx"}),Hh(e),Vh(e),Uh(),P.default.plugins.react.containerInitState(),P.default.plugins.react.containerLifeCycle(),Gh(),_h(),pd({nodeTypeMapping:{Div:"div",Component:"React.Fragment",Page:"Page",Block:"React.Fragment"}}),P.default.plugins.style.css()],router:[P.default.plugins.common.esmodule(),Ih.plugins.router()],entry:[Ih.plugins.entry()],constants:[P.default.plugins.project.constants()],utils:[P.default.plugins.common.esmodule(),bd("react")],i18n:[P.default.plugins.project.i18n()],globalStyle:[Ih.plugins.globalStyle()],htmlEntry:[Ih.plugins.entryHtml()],packageJSON:[Ih.plugins.packageJSON()]},postProcessors:[vd()]})}({type:x,solution:b}),t.env&&(A=null===(i=null===(s=h.envInfo)||void 0===s?void 0:s.list)||void 0===i?void 0:i.find((function(e){return e.alias===t.env})),A&&(p.constants=K(K({},p.constants),Td(A.data)))),[4,C.generateProject(p)]):(console.log(Ye.yellow("提示:无文件更新,请确认是否保存!如需更新全部,请勾选清除缓存")),[2,0]);case 3:return(D=V.sent()).files=D.files.filter((function(e){return"css"===e.ext||"jsx"===e.ext})),S=P.default.publishers.disk(),tt(e),[4,S.publish({project:D,outputPath:e,projectSlug:"example",createProjectFolder:!1})];case 4:return V.sent(),wd.existsSync("./".concat(E,"/"))||wd.mkdirSync("./".concat(E,"/"),{recursive:!0}),N=function(e){return e.path==="./".concat(E,"/")?"".concat(null==E?void 0:E.replace("src/",""),"/").concat(e.fileName.split(".")[0]):"".concat(null==E?void 0:E.replace("src/",""),"/").concat(e.name,"/index")},[4,et("./".concat(E,"/"))];case 5:return I=V.sent(),[4,et(e+"/")];case 6:O=V.sent(),L={components:I.filter((function(e){return["tsx","jsx"].includes(e.ext)&&e.path.includes("components")})).map((function(e){return e.name})).filter((function(e){return g.includes(e)})),pages:I.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 g.includes(e)})),pageUrls:I.filter((function(e){return["tsx","jsx"].includes(e.ext)&&e.path.includes("pages")&&!e.path.includes("components")})).filter((function(e){return g.includes(e.name)})).map((function(e){return N(e)}))},B=function(t){var s,r,i,n,a,o,c,u,l,m,y,g,x,C,A,w,D,T;return Z(this,(function(S){switch(S.label){case 0:return(s=O[t]).path.includes("/BasicLayout/")?[3,10]:(r=s.name,"js"!==(i=s.ext)||"utils.js"!==s.fileName?[3,2]:[4,mo(s,p,h,b)]);case 1:S.sent(),S.label=2;case 2:return"css"!==i&&"scss"!==i||(n=s.path+"/"+s.fileName,"taro"===b?(wd.renameSync(s.path+"/"+s.fileName,s.path+"/"+s.fileName.replace("css","scss")),n=s.path+"/"+s.fileName.replace("css","scss")):"scss"===i&&(wd.renameSync(s.path+"/"+s.fileName,s.path+"/"+s.fileName.replace("scss","css")),n=s.path+"/"+s.fileName.replace("scss","css")),(a=wd.readFileSync(n,"utf8"))&&a.includes("calc")&&wd.writeFileSync(n,a.replace(/&nbsp;/g," "),"utf8")),"jsx"!==i&&"tsx"!==i?[3,10]:(o=d.concat(f).find((function(e){return e.fileName.toLowerCase()===r.toLowerCase()})),"Page"===(null==o?void 0:o.type)&&(L.pages.includes(r)||(L.pages.push(r),L.pageUrls.push(N(s)))),"Component"===(null==o?void 0:o.type)&&(L.components.includes(r)||L.components.push(r)),console.log("[BUILD FILE]",s.name),[4,dr(s,b,E)]);case 3:for(c=S.sent(),u=c.code,l=c.images,m=c.svgs,wd.writeFileSync(s.path+"/"+s.fileName,u),wd.renameSync(s.path+"/"+s.fileName,s.path+"/"+(v?s.fileName:s.fileName.replace("jsx","tsx"))),v||"Page"!==(null==o?void 0:o.type)||((y=["export default definePageConfig({"]).push(" navigationBarTitleText: '".concat(o.title,"',")),y.push(" navigationStyle: '".concat("custom","',")),y.push(" disableScroll: true,"),y.push("})"),wd.writeFileSync(s.path+"/index.config.ts",y.join("\n"))),g=[],x=[],A=0;A<m.length;A++)if((C=m[A]).svgStr&&C.fileName)try{wd.existsSync(s.path+"/icons")||wd.mkdirSync(s.path+"/icons"),wd.writeFileSync(s.path+"/icons/"+C.fileName+".svg",C.svgStr),g.push("import ".concat(C.fileName," from './").concat(C.fileName,".svg").concat("vite"===b?"?raw":"","';")),x.push(" ".concat(C.fileName,","))}catch(e){console.log("[saveSvg Error] ",e)}g.length>0&&wd.writeFileSync(s.path+"/icons/index.ts",g.concat(["const ICONS = {"]).concat(x).concat(["}"]).concat("export default ICONS;").join("\n")),A=0,S.label=4;case 4:if(!(A<l.length))return[3,9];if(!(w=l[A]).url||!w.fileName)return[3,8];S.label=5;case 5:return S.trys.push([5,7,,8]),wd.existsSync(s.path+"/images")||wd.mkdirSync(s.path+"/images"),[4,Hn(w.url,s.path+"/images/"+w.fileName)];case 6:return S.sent(),[3,8];case 7:return D=S.sent(),console.log("[downloadFile Error] ",D),[3,8];case 8:return A++,[3,4];case 9:T="./".concat(E,"/").concat(s.name),"Component"===(null==o?void 0:o.type)&&(T="./".concat(E,"/components/").concat(s.name)),wd.existsSync(T)&&tt(T),"Page"===(null==o?void 0:o.type)&&wd.copySync("".concat(e,"/src/pages/").concat(s.name),T),"Component"===(null==o?void 0:o.type)&&wd.copySync("".concat(e,"/src/components/").concat(s.name),T),S.label=10;case 10:return[2]}}))},j=0,V.label=7;case 7:return j<O.length?[5,B(j)]:[3,10];case 8:V.sent(),V.label=9;case 9:return j++,[3,7];case 10:return _a.setKey(o,String(Date.now())),(M=null===(n=h.appConfig)||void 0===n?void 0:n.indexPage)&&(L.pages=L.pages.sort((function(e,t){return e===M?-1:t===M?1:0})),R=L.pageUrls.find((function(e){return e.includes("/".concat(M,"/"))})),L.pageUrls=L.pageUrls.sort((function(e,t){return e===R?-1:t===R?1:0}))),wd.writeFileSync("./".concat(E,"/map.json"),JSON.stringify(L)),"vite"===b?(U=wd.readFileSync("".concat(e,"/src/global.css"),"utf-8"),q=U.split("\n").slice(6).join("\n"),wd.writeFileSync("./src/App.css",q)):console.log("[INFO] Taro 端全局样式需要适配..."),wd.copyFileSync("".concat(e,"/src/utils.js"),"./src/utils/utils.js"),wd.copyFileSync("".concat(e,"/src/constants.js"),"./src/utils/constants.js"),$=function(e,t,s){var r,i='import { registerPartalComponent } from "'.concat("vite"===s?"@appthen/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);"):""}(h,E,b),wd.writeFileSync("./src/utils/portal.js",$),v?(!function(e,t,s){var r,i,n,a,o=k.readFileSync("./src/App.jsx","utf8"),c=rt("".concat(o),{sourceType:"module",plugins:["jsx","typescript","decorators-legacy"]});c.program.body=c.program.body.filter((function(e){var t,s,r,i;return!("VariableDeclaration"===e.type&&"lazy"===(null===(i=null===(r=null===(s=null===(t=e.declarations)||void 0===t?void 0:t[0])||void 0===s?void 0:s.init)||void 0===r?void 0:r.callee)||void 0===i?void 0:i.name))}));var u=Ed(e);if(u){var l=u.fileLazyImports,p=u.routeElements;F.default(c,{Program:function(e){var t=e.node.body,s=t.findIndex((function(e){return"ExportDefaultDeclaration"===e.type}));t.splice.apply(t,ee([s,0],Q(l),!1))},JSXElement:function(e){var t,s,r=e.node;"Routes"===(null===(s=null===(t=r.openingElement)||void 0===t?void 0:t.name)||void 0===s?void 0:s.name)&&(r.children=p)}})}var h=e.schema.config;if(null===(r=null==h?void 0:h.layout)||void 0===r?void 0:r.componentName){var d,f=h.layout,m=f.componentName,y=f.props,g=Cd("\n <".concat(m,"\n ").concat(Object.keys(y||{}).map((function(e){var t="";return"string"==typeof y[e]?t="'".concat(y[e],"'"):"number"==typeof y[e]?t="".concat(y[e]):"object"==typeof y[e]&&(t="{".concat(JSON.stringify(y[e]),"}")),"".concat(e,"=").concat(t)})).join("\n"),"\n ><AntdApp></AntdApp></").concat(m,">\n ")).expression;F.default(c,{JSXElement:function(e){var t,s;"HashRouter"===(null===(s=null===(t=e.node.openingElement)||void 0===t?void 0:t.name)||void 0===s?void 0:s.name)&&(d=e)}});var x=!1;F.default(c,{JSXElement:function(e){var t,s,r,i,n=e.node;"ConfigProvider"!==(null===(s=null===(t=n.openingElement)||void 0===t?void 0:t.name)||void 0===s?void 0:s.name)||x||(o.includes("<AntdApp>")&&d?g.children[0].children=d.parent.children:g.children[0].children=n.children,e.replaceWith(g),x=!0),"HashRouter"!==(null===(i=null===(r=n.openingElement)||void 0===r?void 0:r.name)||void 0===i?void 0:i.name)||x||(g.children[0].children=[n],e.replaceWith(g),x=!0)}})}var v=cr(c).code;!(null===(a=null===(n=null===(i=e.schema)||void 0===i?void 0:i.config)||void 0===n?void 0:n.layout)||void 0===a?void 0:a.componentName)||v.includes("from 'antd'")||v.includes('from "antd"')||(v="import { ConfigProvider, App as AntdApp } from 'antd';\n".concat(v)),k.writeFileSync("./src/App.jsx",v,"utf8")}(h),z=function(e){var t=k.readFileSync("./package.json","utf8"),s=JSON.parse(t),r=!1;return e.dependencies&&(Object.keys(e.dependencies).forEach((function(t){s.dependencies[t]!==e.dependencies[t]&&(r=!0)})),Object.keys(s.dependencies).forEach((function(t){s.dependencies[t]!==e.dependencies[t]&&(r=!0)}))),s.dependencies=e.dependencies,k.writeFileSync("./package.json",JSON.stringify(s),"utf8"),r}(m),z&&(console.log("[INFO] package.json 文件已更新,将重新安装依赖"),"pnpm",r.execSync("".concat("pnpm"," install --registry=https://registry.npmmirror.com"),{stdio:"inherit"}),console.log("[INFO] 本地依赖已更新,请重新启动项目"))):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=rt("".concat(n),{sourceType:"module",plugins:["jsx","typescript","decorators-legacy"]}),o=new Set;F.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=yo(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=_.program([_.variableDeclaration("const",[_.variableDeclarator(_.identifier("name"),_.objectExpression([l]))])]);F.default(p,{ArrayExpression:function(e){e.replaceWith(u)}}),_.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(_.objectProperty(_.identifier(t),u))})),o.add("defineAppConfig"))}});var c=cr(a,{jsescOption:{minimal:!0}}).code;k.writeFileSync(i,c)}}(t.frame||h.type,h,L),_a.save(),[2,0];case 11:return H=V.sent(),console.log(Ye.red(Ze(H)||"Unexpected error: ".concat(H))),_a.removeKey(o),_a.save(),"object"==typeof H&&(null==H?void 0:H.stack)&&t.verbose&&console.log(Ye.gray(H.stack)),[2,1];case 12:return[2]}}))}))};