/*
 URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js  MIT License (from JSCS). See below.
 The buffer module from node.js, for the browser.

 @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
 @license  MIT
 @author Toru Nagashima <https://github.com/mysticatea> */
(function(vb,wb){"object"===typeof exports&&"object"===typeof module?module.exports=wb():"function"===typeof define&&define.amd?define([],wb):"object"===typeof exports?exports.eslint=wb():vb.eslint=wb()})(this,function(){return(()=>{function vb(u){var c=Bb[u];if(void 0!==c)return c.exports;c=Bb[u]={id:u,loaded:!1,exports:{}};wb[u].call(c.exports,c,c.exports,vb);c.loaded=!0;return c.exports}var wb=[(u,c,a)=>{a(1);a(76);a(77);a(78);a(79);a(80);a(81);a(82);a(83);a(84);a(85);a(86);a(87);
a(88);a(89);a(90);a(102);a(104);a(107);a(109);a(111);a(113);a(114);a(115);a(116);a(118);a(119);a(121);a(125);a(126);a(127);a(128);a(132);a(133);a(135);a(136);a(137);a(140);a(141);a(142);a(143);a(144);a(149);a(151);a(152);a(153);a(154);a(161);a(163);a(166);a(167);a(168);a(169);a(170);a(171);a(175);a(176);a(178);a(179);a(180);a(182);a(183);a(184);a(185);a(186);a(187);a(193);a(195);a(196);a(197);a(199);a(200);a(202);a(203);a(205);a(206);a(207);a(208);a(209);a(210);a(211);a(212);a(213);a(214);a(215);
a(218);a(219);a(221);a(223);a(224);a(225);a(226);a(227);a(229);a(231);a(233);a(234);a(236);a(237);a(239);a(240);a(241);a(242);a(244);a(245);a(246);a(247);a(248);a(249);a(250);a(251);a(253);a(254);a(255);a(256);a(257);a(258);a(259);a(260);a(261);a(262);a(264);a(265);a(266);a(267);a(279);a(280);a(281);a(282);a(283);a(284);a(285);a(286);a(288);a(289);a(290);a(291);a(292);a(293);a(294);a(295);a(296);a(297);a(303);a(304);a(306);a(307);a(308);a(309);a(310);a(311);a(312);a(314);a(317);a(318);a(319);a(320);
a(324);a(325);a(327);a(328);a(329);a(330);a(332);a(333);a(334);a(335);a(336);a(337);a(339);a(340);a(341);a(344);a(345);a(346);a(347);a(348);a(349);a(350);a(351);a(352);a(353);a(354);a(355);a(356);a(362);a(363);a(364);a(365);a(366);a(367);a(368);a(369);a(370);a(371);a(372);a(373);a(374);a(378);a(379);a(380);a(381);a(382);a(383);a(384);a(385);a(386);a(387);a(388);a(389);a(390);a(391);a(392);a(393);a(394);a(395);a(396);a(397);a(398);a(399);a(400);a(402);a(403);a(406);a(407);a(408);a(409);a(410);a(414);
a(413);u.exports=a(69)},(u,c,a)=>{u=a(2);var b=a(3),d=a(18),m=a(29),h=a(5),k=a(20),p=a(6),l=a(32),g=a(58),f=a(16),n=a(15),e=a(17),q=a(39),t=a(33),r=a(9),v=a(13),z=a(59),E=a(8),A=a(62),D=a(64),F=a(49),C=a(66),B=a(56),I=a(4),J=a(38),M=a(7);c=a(40);var P=a(28),O=a(44),N=a(45),L=a(34),x=a(27),y=a(67),G=a(68),K=a(70),R=a(42),Z=a(71).forEach,aa=O("hidden");a=x("toPrimitive");var xa=R.set,X=R.getterFor("Symbol"),wa=Object.prototype,ka=b.Symbol,ra=d("JSON","stringify"),qa=I.f,va=J.f,U=C.f,pa=M.f,S=P("symbols"),
ma=P("op-symbols"),ya=P("string-to-symbol-registry"),Ga=P("symbol-to-string-registry");d=P("wks");b=b.QObject;var Ha=!b||!b.prototype||!b.prototype.findChild,ab=h&&p(function(){return 7!=A(va({},"a",{get:function(){return va(this,"a",{value:7}).a}})).a})?function(ja,T,da){var oa=qa(wa,T);oa&&delete wa[T];va(ja,T,da);oa&&ja!==wa&&va(wa,T,oa)}:va,ea=function(ja,T){var da=S[ja]=A(ka.prototype);xa(da,{type:"Symbol",tag:ja,description:T});h||(da.description=T);return da},za=function(ja,T,da){ja===wa&&
za(ma,T,da);q(ja);T=v(T);q(da);return l(S,T)?(da.enumerable?(l(ja,aa)&&ja[aa][T]&&(ja[aa][T]=!1),da=A(da,{enumerable:E(0,!1)})):(l(ja,aa)||va(ja,aa,E(1,{})),ja[aa][T]=!0),ab(ja,T,da)):va(ja,T,da)},Y=function(ja,T){q(ja);var da=r(T);T=D(da).concat(ia(da));Z(T,function(oa){h&&!W.call(da,oa)||za(ja,oa,da[oa])});return ja},W=function(ja){ja=v(ja);var T=pa.call(this,ja);return this===wa&&l(S,ja)&&!l(ma,ja)?!1:T||!l(this,ja)||!l(S,ja)||l(this,aa)&&this[aa][ja]?T:!0};b=function(ja,T){ja=r(ja);T=v(T);if(ja!==
wa||!l(S,T)||l(ma,T)){var da=qa(ja,T);!da||!l(S,T)||l(ja,aa)&&ja[aa][T]||(da.enumerable=!0);return da}};P=function(ja){ja=U(r(ja));var T=[];Z(ja,function(da){l(S,da)||l(N,da)||T.push(da)});return T};var ia=function(ja){var T=ja===wa;ja=U(T?ma:r(ja));var da=[];Z(ja,function(oa){!l(S,oa)||T&&!l(wa,oa)||da.push(S[oa])});return da};k||(ka=function(){if(this instanceof ka)throw TypeError("Symbol is not a constructor");var ja=arguments.length&&void 0!==arguments[0]?z(arguments[0]):void 0,T=L(ja),da=function(oa){this===
wa&&da.call(ma,oa);l(this,aa)&&l(this[aa],T)&&(this[aa][T]=!1);ab(this,T,E(1,oa))};h&&Ha&&ab(wa,T,{configurable:!0,set:da});return ea(T,ja)},c(ka.prototype,"toString",function(){return X(this).tag}),c(ka,"withoutSetter",function(ja){return ea(L(ja),ja)}),M.f=W,J.f=za,I.f=b,F.f=C.f=P,B.f=ia,y.f=function(ja){return ea(x(ja),ja)},h&&(va(ka.prototype,"description",{configurable:!0,get:function(){return X(this).description}}),m||c(wa,"propertyIsEnumerable",W,{unsafe:!0})));u({global:!0,wrap:!0,forced:!k,
sham:!k},{Symbol:ka});Z(D(d),function(ja){G(ja)});u({target:"Symbol",stat:!0,forced:!k},{"for":function(ja){ja=z(ja);if(l(ya,ja))return ya[ja];var T=ka(ja);ya[ja]=T;Ga[T]=ja;return T},keyFor:function(ja){if(!e(ja))throw TypeError(ja+" is not a symbol");if(l(Ga,ja))return Ga[ja]},useSetter:function(){Ha=!0},useSimple:function(){Ha=!1}});u({target:"Object",stat:!0,forced:!k,sham:!h},{create:function(ja,T){return void 0===T?A(ja):Y(A(ja),T)},defineProperty:za,defineProperties:Y,getOwnPropertyDescriptor:b});
u({target:"Object",stat:!0,forced:!k},{getOwnPropertyNames:P,getOwnPropertySymbols:ia});u({target:"Object",stat:!0,forced:p(function(){B.f(1)})},{getOwnPropertySymbols:function(ja){return B.f(t(ja))}});ra&&(m=!k||p(function(){var ja=ka();return"[null]"!=ra([ja])||"{}"!=ra({a:ja})||"{}"!=ra(Object(ja))}),u({target:"JSON",stat:!0,forced:m},{stringify:function(ja,T,da){for(var oa=[ja],V=1,ha;arguments.length>V;)oa.push(arguments[V++]);ha=T;if((n(T)||void 0!==ja)&&!e(ja))return g(T)||(T=function(la,ua){f(ha)&&
(ua=ha.call(this,la,ua));if(!e(ua))return ua}),oa[1]=T,ra.apply(null,oa)}}));if(!ka.prototype[a]){var na=ka.prototype.valueOf;c(ka.prototype,a,function(){return na.apply(this,arguments)})}K(ka,"Symbol");N[aa]=!0},(u,c,a)=>{var b=a(3),d=a(4).f,m=a(37),h=a(40),k=a(31),p=a(47),l=a(57);u.exports=function(g,f){var n=g.target,e=g.global,q=g.stat,t,r,v;if(r=e?b:q?b[n]||k(n,{}):(b[n]||{}).prototype)for(v in f){var z=f[v];var E=g.noTargetGet?(t=d(r,v))&&t.value:r[v];t=l(e?v:n+(q?".":"#")+v,g.forced);if(!t&&
void 0!==E){if(typeof z===typeof E)continue;p(z,E)}(g.sham||E&&E.sham)&&m(z,"sham",!0);h(r,v,z,g)}}},(u,c,a)=>{c=function(b){return b&&b.Math==Math&&b};u.exports=c("object"==typeof globalThis&&globalThis)||c("object"==typeof window&&window)||c("object"==typeof self&&self)||c("object"==typeof a.g&&a.g)||function(){return this}()||Function("return this")()},(u,c,a)=>{u=a(5);var b=a(7),d=a(8),m=a(9),h=a(13),k=a(32),p=a(35),l=Object.getOwnPropertyDescriptor;c.f=u?l:function(g,f){g=m(g);f=h(f);if(p)try{return l(g,
f)}catch(n){}if(k(g,f))return d(!b.f.call(g,f),g[f])}},(u,c,a)=>{c=a(6);u.exports=!c(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},u=>{u.exports=function(c){try{return!!c()}catch(a){return!0}}},(u,c)=>{u={}.propertyIsEnumerable;var a=Object.getOwnPropertyDescriptor,b=a&&!u.call({1:2},1);c.f=b?function(d){d=a(this,d);return!!d&&d.enumerable}:u},u=>{u.exports=function(c,a){return{enumerable:!(c&1),configurable:!(c&2),writable:!(c&4),value:a}}},(u,c,a)=>{var b=a(10),
d=a(12);u.exports=function(m){return b(d(m))}},(u,c,a)=>{c=a(6);var b=a(11),d="".split;u.exports=c(function(){return!Object("z").propertyIsEnumerable(0)})?function(m){return"String"==b(m)?d.call(m,""):Object(m)}:Object},u=>{var c={}.toString;u.exports=function(a){return c.call(a).slice(8,-1)}},u=>{u.exports=function(c){if(void 0==c)throw TypeError("Can't call method on "+c);return c}},(u,c,a)=>{var b=a(14),d=a(17);u.exports=function(m){m=b(m,"string");return d(m)?m:String(m)}},(u,c,a)=>{var b=a(15),
d=a(17),m=a(23),h=a(26),k=a(27)("toPrimitive");u.exports=function(p,l){if(!b(p)||d(p))return p;var g=m(p,k);if(g){void 0===l&&(l="default");p=g.call(p,l);if(!b(p)||d(p))return p;throw TypeError("Can't convert object to primitive value");}void 0===l&&(l="number");return h(p,l)}},(u,c,a)=>{var b=a(16);u.exports=function(d){return"object"===typeof d?null!==d:b(d)}},u=>{u.exports=function(c){return"function"===typeof c}},(u,c,a)=>{var b=a(16),d=a(18);c=a(19);u.exports=c?function(m){return"symbol"==typeof m}:
function(m){var h=d("Symbol");return b(h)&&Object(m)instanceof h}},(u,c,a)=>{var b=a(3),d=a(16);u.exports=function(m,h){if(2>arguments.length){var k=b[m];k=d(k)?k:void 0}else k=b[m]&&b[m][h];return k}},(u,c,a)=>{c=a(20);u.exports=c&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},(u,c,a)=>{var b=a(21);c=a(6);u.exports=!!Object.getOwnPropertySymbols&&!c(function(){var d=Symbol();return!String(d)||!(Object(d)instanceof Symbol)||!Symbol.sham&&b&&41>b})},(u,c,a)=>{c=a(3);a=a(22);var b=c.process;c=c.Deno;
c=(c=b&&b.versions||c&&c.version)&&c.v8;if(c){c=c.split(".");var d=4>c[0]?1:c[0]+c[1]}else a&&(c=a.match(/Edge\/(\d+)/),(!c||74<=c[1])&&(c=a.match(/Chrome\/(\d+)/))&&(d=c[1]));u.exports=d&&+d},(u,c,a)=>{c=a(18);u.exports=c("navigator","userAgent")||""},(u,c,a)=>{var b=a(24);u.exports=function(d,m){d=d[m];return null==d?void 0:b(d)}},(u,c,a)=>{var b=a(16),d=a(25);u.exports=function(m){if(b(m))return m;throw TypeError(d(m)+" is not a function");}},u=>{u.exports=function(c){try{return String(c)}catch(a){return"Object"}}},
(u,c,a)=>{var b=a(16),d=a(15);u.exports=function(m,h){var k,p;if("string"===h&&b(k=m.toString)&&!d(p=k.call(m))||b(k=m.valueOf)&&!d(p=k.call(m))||"string"!==h&&b(k=m.toString)&&!d(p=k.call(m)))return p;throw TypeError("Can't convert object to primitive value");}},(u,c,a)=>{c=a(3);var b=a(28),d=a(32),m=a(34),h=a(20);a=a(19);var k=b("wks"),p=c.Symbol,l=a?p:p&&p.withoutSetter||m;u.exports=function(g){if(!d(k,g)||!h&&"string"!=typeof k[g])h&&d(p,g)?k[g]=p[g]:k[g]=l("Symbol."+g);return k[g]}},(u,c,a)=>
{c=a(29);var b=a(30);(u.exports=function(d,m){return b[d]||(b[d]=void 0!==m?m:{})})("versions",[]).push({version:"3.18.1",mode:c?"pure":"global",copyright:"\u00a9 2021 Denis Pushkarev (zloirock.ru)"})},u=>{u.exports=!1},(u,c,a)=>{c=a(3);a=a(31);a=c["__core-js_shared__"]||a("__core-js_shared__",{});u.exports=a},(u,c,a)=>{var b=a(3);u.exports=function(d,m){try{Object.defineProperty(b,d,{value:m,configurable:!0,writable:!0})}catch(h){b[d]=m}return m}},(u,c,a)=>{var b=a(33),d={}.hasOwnProperty;u.exports=
Object.hasOwn||function(m,h){return d.call(b(m),h)}},(u,c,a)=>{var b=a(12);u.exports=function(d){return Object(b(d))}},u=>{var c=0,a=Math.random();u.exports=function(b){return"Symbol("+String(void 0===b?"":b)+")_"+(++c+a).toString(36)}},(u,c,a)=>{c=a(5);var b=a(6),d=a(36);u.exports=!c&&!b(function(){return 7!=Object.defineProperty(d("div"),"a",{get:function(){return 7}}).a})},(u,c,a)=>{c=a(3);a=a(15);var b=c.document,d=a(b)&&a(b.createElement);u.exports=function(m){return d?b.createElement(m):{}}},
(u,c,a)=>{c=a(5);var b=a(38),d=a(8);u.exports=c?function(m,h,k){return b.f(m,h,d(1,k))}:function(m,h,k){m[h]=k;return m}},(u,c,a)=>{u=a(5);var b=a(35),d=a(39),m=a(13),h=Object.defineProperty;c.f=u?h:function(k,p,l){d(k);p=m(p);d(l);if(b)try{return h(k,p,l)}catch(g){}if("get"in l||"set"in l)throw TypeError("Accessors not supported");"value"in l&&(k[p]=l.value);return k}},(u,c,a)=>{var b=a(15);u.exports=function(d){if(b(d))return d;throw TypeError(String(d)+" is not an object");}},(u,c,a)=>{var b=a(3),
d=a(16),m=a(32),h=a(37),k=a(31),p=a(41);c=a(42);var l=a(46).CONFIGURABLE,g=c.get,f=c.enforce,n=String(String).split("String");(u.exports=function(e,q,t,r){var v=r?!!r.unsafe:!1,z=r?!!r.enumerable:!1,E=r?!!r.noTargetGet:!1;r=r&&void 0!==r.name?r.name:q;if(d(t)){"Symbol("===String(r).slice(0,7)&&(r="["+String(r).replace(/^Symbol\(([^)]*)\)/,"$1")+"]");(!m(t,"name")||l&&t.name!==r)&&h(t,"name",r);var A=f(t);A.source||(A.source=n.join("string"==typeof r?r:""))}e===b?z?e[q]=t:k(q,t):(v?!E&&e[q]&&(z=!0):
delete e[q],z?e[q]=t:h(e,q,t))})(Function.prototype,"toString",function(){return d(this)&&g(this).source||p(this)})},(u,c,a)=>{c=a(16);a=a(30);var b=Function.toString;c(a.inspectSource)||(a.inspectSource=function(d){return b.call(d)});u.exports=a.inspectSource},(u,c,a)=>{c=a(43);var b=a(3),d=a(15),m=a(37),h=a(32),k=a(30),p=a(44);a=a(45);b=b.WeakMap;if(c||k.state){var l=k.state||(k.state=new b),g=l.get,f=l.has,n=l.set;var e=function(v,z){if(f.call(l,v))throw new TypeError("Object already initialized");
z.facade=v;n.call(l,v,z);return z};var q=function(v){return g.call(l,v)||{}};var t=function(v){return f.call(l,v)}}else{var r=p("state");a[r]=!0;e=function(v,z){if(h(v,r))throw new TypeError("Object already initialized");z.facade=v;m(v,r,z);return z};q=function(v){return h(v,r)?v[r]:{}};t=function(v){return h(v,r)}}u.exports={set:e,get:q,has:t,enforce:function(v){return t(v)?q(v):e(v,{})},getterFor:function(v){return function(z){var E;if(!d(z)||(E=q(z)).type!==v)throw TypeError("Incompatible receiver, "+
v+" required");return E}}}},(u,c,a)=>{var b=a(3);c=a(16);a=a(41);b=b.WeakMap;u.exports=c(b)&&/native code/.test(a(b))},(u,c,a)=>{c=a(28);var b=a(34),d=c("keys");u.exports=function(m){return d[m]||(d[m]=b(m))}},u=>{u.exports={}},(u,c,a)=>{c=a(5);var b=a(32);a=Function.prototype;var d=c&&Object.getOwnPropertyDescriptor,m=(b=b(a,"name"))&&"something"===function(){}.name;c=b&&(!c||c&&d(a,"name").configurable);u.exports={EXISTS:b,PROPER:m,CONFIGURABLE:c}},(u,c,a)=>{var b=a(32),d=a(48),m=a(4),h=a(38);u.exports=
function(k,p){for(var l=d(p),g=h.f,f=m.f,n=0;n<l.length;n++){var e=l[n];b(k,e)||g(k,e,f(p,e))}}},(u,c,a)=>{c=a(18);var b=a(49),d=a(56),m=a(39);u.exports=c("Reflect","ownKeys")||function(h){var k=b.f(m(h)),p=d.f;return p?k.concat(p(h)):k}},(u,c,a)=>{var b=a(50),d=a(55).concat("length","prototype");c.f=Object.getOwnPropertyNames||function(m){return b(m,d)}},(u,c,a)=>{var b=a(32),d=a(9),m=a(51).indexOf,h=a(45);u.exports=function(k,p){k=d(k);var l=0,g=[],f;for(f in k)!b(h,f)&&b(k,f)&&g.push(f);for(;p.length>
l;)b(k,f=p[l++])&&(~m(g,f)||g.push(f));return g}},(u,c,a)=>{var b=a(9),d=a(52),m=a(54);c=function(h){return function(k,p,l){k=b(k);var g=d(k.length);l=m(l,g);if(h&&p!=p)for(;g>l;){if(p=k[l++],p!=p)return!0}else for(;g>l;l++)if((h||l in k)&&k[l]===p)return h||l||0;return!h&&-1}};u.exports={includes:c(!0),indexOf:c(!1)}},(u,c,a)=>{var b=a(53),d=Math.min;u.exports=function(m){return 0<m?d(b(m),9007199254740991):0}},u=>{var c=Math.ceil,a=Math.floor;u.exports=function(b){return isNaN(b=+b)?0:(0<b?a:c)(b)}},
(u,c,a)=>{var b=a(53),d=Math.max,m=Math.min;u.exports=function(h,k){h=b(h);return 0>h?d(h+k,0):m(h,k)}},u=>{u.exports="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ")},(u,c)=>{c.f=Object.getOwnPropertySymbols},(u,c,a)=>{var b=a(6),d=a(16),m=/#|\.prototype\./;c=function(g,f){g=k[h(g)];return g==l?!0:g==p?!1:d(f)?b(f):!!f};var h=c.normalize=function(g){return String(g).replace(m,".").toLowerCase()},k=c.data={},p=c.NATIVE="N",l=c.POLYFILL="P";
u.exports=c},(u,c,a)=>{var b=a(11);u.exports=Array.isArray||function(d){return"Array"==b(d)}},(u,c,a)=>{var b=a(60);u.exports=function(d){if("Symbol"===b(d))throw TypeError("Cannot convert a Symbol value to a string");return String(d)}},(u,c,a)=>{c=a(61);var b=a(16),d=a(11),m=a(27)("toStringTag"),h="Arguments"==d(function(){return arguments}());u.exports=c?d:function(k){var p;if(void 0===k)var l="Undefined";else{if(null===k)var g="Null";else{a:{var f=k=Object(k);try{g=f[m];break a}catch(n){}g=void 0}g=
"string"==typeof(l=g)?l:h?d(k):"Object"==(p=d(k))&&b(k.callee)?"Arguments":p}l=g}return l}},(u,c,a)=>{c=a(27)("toStringTag");a={};a[c]="z";u.exports="[object z]"===String(a)},(u,c,a)=>{var b=a(39),d=a(63),m=a(55);c=a(45);var h=a(65),k=a(36),p=a(44)("IE_PROTO"),l=function(){},g=function(e){e.write("<script>\x3c/script>");e.close();return e.parentWindow.Object},f,n=function(){try{f=new ActiveXObject("htmlfile")}catch(q){}if("undefined"!=typeof document)if(document.domain&&f)var e=g(f);else e=k("iframe"),
e.style.display="none",h.appendChild(e),e.src="javascript:",e=e.contentWindow.document,e.open(),e.write("<script>document.F=Object\x3c/script>"),e.close(),e=e.F;else e=g(f);n=e;for(e=m.length;e--;)delete n.prototype[m[e]];return n()};c[p]=!0;u.exports=Object.create||function(e,q){if(null!==e){l.prototype=b(e);var t=new l;l.prototype=null;t[p]=e}else t=n();return void 0===q?t:d(t,q)}},(u,c,a)=>{c=a(5);var b=a(38),d=a(39),m=a(64);u.exports=c?Object.defineProperties:function(h,k){d(h);for(var p=m(k),
l=p.length,g=0,f;l>g;)b.f(h,f=p[g++],k[f]);return h}},(u,c,a)=>{var b=a(50),d=a(55);u.exports=Object.keys||function(m){return b(m,d)}},(u,c,a)=>{c=a(18);u.exports=c("document","documentElement")},(u,c,a)=>{var b=a(9),d=a(49).f,m={}.toString,h="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];u.exports.f=function(k){if(h&&"[object Window]"==m.call(k))try{var p=d(k)}catch(l){p=h.slice()}else p=d(b(k));return p}},(u,c,a)=>{u=a(27);c.f=u},(u,c,a)=>{var b=
a(69),d=a(32),m=a(67),h=a(38).f;u.exports=function(k){var p=b.Symbol||(b.Symbol={});d(p,k)||h(p,k,{value:m.f(k)})}},(u,c,a)=>{c=a(3);u.exports=c},(u,c,a)=>{var b=a(38).f,d=a(32),m=a(27)("toStringTag");u.exports=function(h,k,p){h&&!d(h=p?h:h.prototype,m)&&b(h,m,{configurable:!0,value:k})}},(u,c,a)=>{var b=a(72),d=a(10),m=a(33),h=a(52),k=a(73),p=[].push;c=function(l){var g=1==l,f=2==l,n=3==l,e=4==l,q=6==l,t=7==l,r=5==l||q;return function(v,z,E,A){var D=m(v),F=d(D);z=b(z,E,3);E=h(F.length);var C=0;A=
A||k;v=g?A(v,E):f||t?A(v,0):void 0;for(var B;E>C;C++)if(r||C in F)if(A=F[C],B=z(A,C,D),l)if(g)v[C]=B;else if(B)switch(l){case 3:return!0;case 5:return A;case 6:return C;case 2:p.call(v,A)}else switch(l){case 4:return!1;case 7:p.call(v,A)}return q?-1:n||e?e:v}};u.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},(u,c,a)=>{var b=a(24);u.exports=function(d,m,h){b(d);if(void 0===m)return d;switch(h){case 0:return function(){return d.call(m)};
case 1:return function(k){return d.call(m,k)};case 2:return function(k,p){return d.call(m,k,p)};case 3:return function(k,p,l){return d.call(m,k,p,l)}}return function(){return d.apply(m,arguments)}}},(u,c,a)=>{var b=a(74);u.exports=function(d,m){return new (b(d))(0===m?0:m)}},(u,c,a)=>{var b=a(58),d=a(75),m=a(15),h=a(27)("species");u.exports=function(k){if(b(k)){var p=k.constructor;d(p)&&(p===Array||b(p.prototype))?p=void 0:m(p)&&(p=p[h],null===p&&(p=void 0))}return void 0===p?Array:p}},(u,c,a)=>{c=
a(6);var b=a(16),d=a(60),m=a(18),h=a(41),k=[],p=m("Reflect","construct"),l=/^\s*(?:class|function)\b/,g=l.exec,f=!l.exec(function(){}),n=function(e){if(!b(e))return!1;try{return p(Object,k,e),!0}catch(q){return!1}};a=function(e){if(!b(e))return!1;switch(d(e)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return!1}return f||!!g.call(l,h(e))};u.exports=!p||c(function(){var e;return n(n.call)||!n(Object)||!n(function(){e=!0})||e})?a:n},(u,c,a)=>{u=a(2);var b=a(5),d=a(3),
m=a(32),h=a(16),k=a(15);c=a(38).f;a=a(47);var p=d.Symbol;if(b&&h(p)&&(!("description"in p.prototype)||void 0!==p().description)){var l={},g=function(){var q=1>arguments.length||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof g?new p(q):void 0===q?p():p(q);""===q&&(l[t]=!0);return t};a(g,p);a=g.prototype=p.prototype;a.constructor=g;var f=a.toString,n="Symbol(test)"==String(p("test")),e=/^Symbol\((.*)\)[^)]+$/;c(a,"description",{configurable:!0,get:function(){var q=k(this)?this.valueOf():
this,t=f.call(q);if(m(l,q))return"";q=n?t.slice(7,-1):t.replace(e,"$1");return""===q?void 0:q}});u({global:!0,forced:!0},{Symbol:g})}},(u,c,a)=>{a(68)("asyncIterator")},(u,c,a)=>{a(68)("hasInstance")},(u,c,a)=>{a(68)("isConcatSpreadable")},(u,c,a)=>{a(68)("iterator")},(u,c,a)=>{a(68)("match")},(u,c,a)=>{a(68)("matchAll")},(u,c,a)=>{a(68)("replace")},(u,c,a)=>{a(68)("search")},(u,c,a)=>{a(68)("species")},(u,c,a)=>{a(68)("split")},(u,c,a)=>{a(68)("toPrimitive")},(u,c,a)=>{a(68)("toStringTag")},(u,c,
a)=>{a(68)("unscopables")},(u,c,a)=>{u=a(2);var b=a(91),d=a(93);c=a(62);var m=a(37),h=a(8),k=a(95),p=a(96),l=a(59),g=function(f,n){var e=this;if(!(e instanceof g))return new g(f,n);d&&(e=d(Error(void 0),b(e)));void 0!==n&&m(e,"message",l(n));2<arguments.length&&k(e,arguments[2]);var q=[];p(f,q.push,{that:q});m(e,"errors",q);return e};g.prototype=c(Error.prototype,{constructor:h(5,g),message:h(5,""),name:h(5,"AggregateError")});u({global:!0},{AggregateError:g})},(u,c,a)=>{var b=a(32),d=a(16),m=a(33);
c=a(44);a=a(92);var h=c("IE_PROTO"),k=Object.prototype;u.exports=a?Object.getPrototypeOf:function(p){p=m(p);if(b(p,h))return p[h];var l=p.constructor;return d(l)&&p instanceof l?l.prototype:p instanceof Object?k:null}},(u,c,a)=>{c=a(6);u.exports=!c(function(){function b(){}b.prototype.constructor=null;return Object.getPrototypeOf(new b)!==b.prototype})},(u,c,a)=>{var b=a(39),d=a(94);u.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var m=!1,h={};try{var k=Object.getOwnPropertyDescriptor(Object.prototype,
"__proto__").set;k.call(h,[]);m=h instanceof Array}catch(p){}return function(p,l){b(p);d(l);m?k.call(p,l):p.__proto__=l;return p}}():void 0)},(u,c,a)=>{var b=a(16);u.exports=function(d){if("object"===typeof d||b(d))return d;throw TypeError("Can't set "+String(d)+" as a prototype");}},(u,c,a)=>{var b=a(15),d=a(37);u.exports=function(m,h){b(h)&&"cause"in h&&d(m,"cause",m.cause)}},(u,c,a)=>{var b=a(39),d=a(97),m=a(52),h=a(72),k=a(99),p=a(100),l=a(101),g=function(f,n){this.stopped=f;this.result=n};u.exports=
function(f,n,e){var q=!(!e||!e.AS_ENTRIES),t=!(!e||!e.IS_ITERATOR),r=!(!e||!e.INTERRUPTED),v=h(n,e&&e.that,1+q+r),z,E=function(D){A&&l(A,"normal",D);return new g(!0,D)};n=function(D){return q?(b(D),r?v(D[0],D[1],E):v(D[0],D[1])):r?v(D,E):v(D)};if(t)var A=f;else{t=p(f);if(!t)throw TypeError(String(f)+" is not iterable");if(d(t)){t=0;for(e=m(f.length);e>t;t++)if((z=n(f[t]))&&z instanceof g)return z;return new g(!1)}A=k(f,t)}for(f=A.next;!(t=f.call(A)).done;){try{z=n(t.value)}catch(D){l(A,"throw",D)}if("object"==
typeof z&&z&&z instanceof g)return z}return new g(!1)}},(u,c,a)=>{c=a(27);var b=a(98),d=c("iterator"),m=Array.prototype;u.exports=function(h){return void 0!==h&&(b.Array===h||m[d]===h)}},u=>{u.exports={}},(u,c,a)=>{var b=a(24),d=a(39),m=a(100);u.exports=function(h,k){var p=2>arguments.length?m(h):k;if(b(p))return d(p.call(h));throw TypeError(String(h)+" is not iterable");}},(u,c,a)=>{var b=a(60),d=a(23),m=a(98),h=a(27)("iterator");u.exports=function(k){if(void 0!=k)return d(k,h)||d(k,"@@iterator")||
m[b(k)]}},(u,c,a)=>{var b=a(39),d=a(23);u.exports=function(m,h,k){b(m);try{var p=d(m,"return");if(!p){if("throw"===h)throw k;return k}p=p.call(m)}catch(g){var l=!0;p=g}if("throw"===h)throw k;if(l)throw p;b(p);return k}},(u,c,a)=>{u=a(2);var b=a(33),d=a(52),m=a(53);a=a(103);u({target:"Array",proto:!0},{at:function(h){var k=b(this),p=d(k.length);h=m(h);h=0<=h?h:p+h;return 0>h||h>=p?void 0:k[h]}});a("at")},(u,c,a)=>{c=a(27);var b=a(62);a=a(38);var d=c("unscopables"),m=Array.prototype;void 0==m[d]&&a.f(m,
d,{configurable:!0,value:b(null)});u.exports=function(h){m[d][h]=!0}},(u,c,a)=>{u=a(2);var b=a(6),d=a(58),m=a(15),h=a(33),k=a(52),p=a(105),l=a(73);c=a(106);var g=a(27);a=a(21);var f=g("isConcatSpreadable");a=51<=a||!b(function(){var n=[];n[f]=!1;return n.concat()[0]!==n});c=c("concat");u({target:"Array",proto:!0,forced:!a||!c},{concat:function(n){var e=h(this),q=l(e,0),t=0,r;var v=-1;for(r=arguments.length;v<r;v++){var z=-1===v?e:arguments[v];var E=z;if(m(E)){var A=E[f];E=void 0!==A?!!A:d(E)}else E=
!1;if(E){A=k(z.length);if(9007199254740991<t+A)throw TypeError("Maximum allowed index exceeded");for(E=0;E<A;E++,t++)E in z&&p(q,t,z[E])}else{if(9007199254740991<=t)throw TypeError("Maximum allowed index exceeded");p(q,t++,z)}}q.length=t;return q}})},(u,c,a)=>{var b=a(13),d=a(38),m=a(8);u.exports=function(h,k,p){k=b(k);k in h?d.f(h,k,m(0,p)):h[k]=p}},(u,c,a)=>{var b=a(6);c=a(27);var d=a(21),m=c("species");u.exports=function(h){return 51<=d||!b(function(){var k=[];(k.constructor={})[m]=function(){return{foo:1}};
return 1!==k[h](Boolean).foo})}},(u,c,a)=>{u=a(2);c=a(108);a=a(103);u({target:"Array",proto:!0},{copyWithin:c});a("copyWithin")},(u,c,a)=>{var b=a(33),d=a(54),m=a(52),h=Math.min;u.exports=[].copyWithin||function(k,p){var l=b(this),g=m(l.length),f=d(k,g),n=d(p,g),e=2<arguments.length?arguments[2]:void 0;g=h((void 0===e?g:d(e,g))-n,g-f);e=1;n<f&&f<n+g&&(e=-1,n+=g-1,f+=g-1);for(;0<g--;)n in l?l[f]=l[n]:delete l[f],f+=e,n+=e;return l}},(u,c,a)=>{u=a(2);var b=a(71).every;a=a(110)("every");u({target:"Array",
proto:!0,forced:!a},{every:function(d){return b(this,d,1<arguments.length?arguments[1]:void 0)}})},(u,c,a)=>{var b=a(6);u.exports=function(d,m){var h=[][d];return!!h&&b(function(){h.call(null,m||function(){throw 1;},1)})}},(u,c,a)=>{u=a(2);c=a(112);a=a(103);u({target:"Array",proto:!0},{fill:c});a("fill")},(u,c,a)=>{var b=a(33),d=a(54),m=a(52);u.exports=function(h){var k=b(this),p=m(k.length),l=arguments.length,g=d(1<l?arguments[1]:void 0,p);l=2<l?arguments[2]:void 0;for(p=void 0===l?p:d(l,p);p>g;)k[g++]=
h;return k}},(u,c,a)=>{u=a(2);var b=a(71).filter;a=a(106)("filter");u({target:"Array",proto:!0,forced:!a},{filter:function(d){return b(this,d,1<arguments.length?arguments[1]:void 0)}})},(u,c,a)=>{u=a(2);var b=a(71).find;a=a(103);var d=!0;"find"in[]&&Array(1).find(function(){d=!1});u({target:"Array",proto:!0,forced:d},{find:function(m){return b(this,m,1<arguments.length?arguments[1]:void 0)}});a("find")},(u,c,a)=>{u=a(2);var b=a(71).findIndex;a=a(103);var d=!0;"findIndex"in[]&&Array(1).findIndex(function(){d=
!1});u({target:"Array",proto:!0,forced:d},{findIndex:function(m){return b(this,m,1<arguments.length?arguments[1]:void 0)}});a("findIndex")},(u,c,a)=>{u=a(2);var b=a(117),d=a(33),m=a(52),h=a(53),k=a(73);u({target:"Array",proto:!0},{flat:function(){var p=arguments.length?arguments[0]:void 0,l=d(this),g=m(l.length),f=k(l,0);f.length=b(f,l,l,g,0,void 0===p?1:h(p));return f}})},(u,c,a)=>{var b=a(58),d=a(52),m=a(72),h=function(k,p,l,g,f,n,e,q){var t=0;for(e=e?m(e,q,3):!1;t<g;){if(t in l){q=e?e(l[t],t,p):
l[t];if(0<n&&b(q))f=h(k,p,q,d(q.length),f,n-1)-1;else{if(9007199254740991<=f)throw TypeError("Exceed the acceptable array length");k[f]=q}f++}t++}return f};u.exports=h},(u,c,a)=>{u=a(2);var b=a(117),d=a(24),m=a(33),h=a(52),k=a(73);u({target:"Array",proto:!0},{flatMap:function(p){var l=m(this),g=h(l.length);d(p);var f=k(l,0);f.length=b(f,l,l,g,0,1,p,1<arguments.length?arguments[1]:void 0);return f}})},(u,c,a)=>{u=a(2);a=a(120);u({target:"Array",proto:!0,forced:[].forEach!=a},{forEach:a})},(u,c,a)=>
{var b=a(71).forEach;c=a(110)("forEach");u.exports=c?[].forEach:function(d){return b(this,d,1<arguments.length?arguments[1]:void 0)}},(u,c,a)=>{u=a(2);c=a(122);a=!a(124)(function(b){Array.from(b)});u({target:"Array",stat:!0,forced:a},{from:c})},(u,c,a)=>{var b=a(72),d=a(33),m=a(123),h=a(97),k=a(75),p=a(52),l=a(105),g=a(99),f=a(100);u.exports=function(n){var e=d(n),q=k(this),t=arguments.length,r=1<t?arguments[1]:void 0,v=void 0!==r;v&&(r=b(r,2<t?arguments[2]:void 0,2));var z=f(e);t=0;if(!z||this==
Array&&h(z))for(z=p(e.length),q=q?new this(z):Array(z);z>t;t++){var E=v?r(e[t],t):e[t];l(q,t,E)}else for(e=g(e,z),z=e.next,q=q?new this:[];!(E=z.call(e)).done;t++)E=v?m(e,r,[E.value,t],!0):E.value,l(q,t,E);q.length=t;return q}},(u,c,a)=>{var b=a(39),d=a(101);u.exports=function(m,h,k,p){try{return p?h(b(k)[0],k[1]):h(k)}catch(l){d(m,"throw",l)}}},(u,c,a)=>{var b=a(27)("iterator"),d=!1;try{var m=0;c={next:function(){return{done:!!m++}},"return":function(){d=!0}};c[b]=function(){return this};Array.from(c,
function(){throw 2;})}catch(h){}u.exports=function(h,k){if(!k&&!d)return!1;var p=!1;try{k={},k[b]=function(){return{next:function(){return{done:p=!0}}}},h(k)}catch(l){}return p}},(u,c,a)=>{u=a(2);var b=a(51).includes;a=a(103);u({target:"Array",proto:!0},{includes:function(d){return b(this,d,1<arguments.length?arguments[1]:void 0)}});a("includes")},(u,c,a)=>{u=a(2);var b=a(51).indexOf;a=a(110);var d=[].indexOf,m=!!d&&0>1/[1].indexOf(1,-0);a=a("indexOf");u({target:"Array",proto:!0,forced:m||!a},{indexOf:function(h){return m?
d.apply(this,arguments)||0:b(this,h,1<arguments.length?arguments[1]:void 0)}})},(u,c,a)=>{u=a(2);a=a(58);u({target:"Array",stat:!0},{isArray:a})},(u,c,a)=>{var b=a(9);c=a(103);var d=a(98),m=a(42);a=a(129);var h=m.set,k=m.getterFor("Array Iterator");u.exports=a(Array,"Array",function(p,l){h(this,{type:"Array Iterator",target:b(p),index:0,kind:l})},function(){var p=k(this),l=p.target,g=p.kind,f=p.index++;return!l||f>=l.length?(p.target=void 0,{value:void 0,done:!0}):"keys"==g?{value:f,done:!1}:"values"==
g?{value:l[f],done:!1}:{value:[f,l[f]],done:!1}},"values");d.Arguments=d.Array;c("keys");c("values");c("entries")},(u,c,a)=>{var b=a(2),d=a(29);c=a(46);var m=a(16),h=a(130),k=a(91),p=a(93),l=a(70),g=a(37),f=a(40),n=a(27),e=a(98);a=a(131);var q=c.PROPER,t=c.CONFIGURABLE,r=a.IteratorPrototype,v=a.BUGGY_SAFARI_ITERATORS,z=n("iterator"),E=function(){return this};u.exports=function(A,D,F,C,B,I,J){h(F,D,C);C=function(K){if(K===B&&L)return L;if(!v&&K in O)return O[K];switch(K){case "keys":return function(){return new F(this,
K)};case "values":return function(){return new F(this,K)};case "entries":return function(){return new F(this,K)}}return function(){return new F(this)}};var M=D+" Iterator",P=!1,O=A.prototype,N=O[z]||O["@@iterator"]||B&&O[B],L=!v&&N||C(B),x="Array"==D?O.entries||N:N,y;x&&(A=k(x.call(new A)),A!==Object.prototype&&A.next&&(d||k(A)===r||(p?p(A,r):m(A[z])||f(A,z,E)),l(A,M,!0,!0),d&&(e[M]=E)));q&&"values"==B&&N&&"values"!==N.name&&(!d&&t?g(O,"name","values"):(P=!0,L=function(){return N.call(this)}));if(B){var G=
{values:C("values"),keys:I?L:C("keys"),entries:C("entries")};if(J)for(y in G)!v&&!P&&y in O||f(O,y,G[y]);else b({target:D,proto:!0,forced:v||P},G)}d&&!J||O[z]===L||f(O,z,L,{name:B});e[D]=L;return G}},(u,c,a)=>{var b=a(131).IteratorPrototype,d=a(62),m=a(8),h=a(70),k=a(98),p=function(){return this};u.exports=function(l,g,f){g+=" Iterator";l.prototype=d(b,{next:m(1,f)});h(l,g,!1,!0);k[g]=p;return l}},(u,c,a)=>{c=a(6);var b=a(16),d=a(62),m=a(91),h=a(40),k=a(27);a=a(29);var p=k("iterator");k=!1;var l;
if([].keys){var g=[].keys();"next"in g?(m=m(m(g)),m!==Object.prototype&&(l=m)):k=!0}void 0==l||c(function(){var f={};return l[p].call(f)!==f})?l={}:a&&(l=d(l));b(l[p])||h(l,p,function(){return this});u.exports={IteratorPrototype:l,BUGGY_SAFARI_ITERATORS:k}},(u,c,a)=>{u=a(2);c=a(10);var b=a(9);a=a(110);var d=[].join;c=c!=Object;a=a("join",",");u({target:"Array",proto:!0,forced:c||!a},{join:function(m){return d.call(b(this),void 0===m?",":m)}})},(u,c,a)=>{u=a(2);a=a(134);u({target:"Array",proto:!0,
forced:a!==[].lastIndexOf},{lastIndexOf:a})},(u,c,a)=>{var b=a(9),d=a(53),m=a(52);c=a(110);var h=Math.min,k=[].lastIndexOf,p=!!k&&0>1/[1].lastIndexOf(1,-0);c=c("lastIndexOf");u.exports=p||!c?function(l){if(p)return k.apply(this,arguments)||0;var g=b(this),f=m(g.length),n=f-1;1<arguments.length&&(n=h(n,d(arguments[1])));for(0>n&&(n=f+n);0<=n;n--)if(n in g&&g[n]===l)return n||0;return-1}:k},(u,c,a)=>{u=a(2);var b=a(71).map;a=a(106)("map");u({target:"Array",proto:!0,forced:!a},{map:function(d){return b(this,
d,1<arguments.length?arguments[1]:void 0)}})},(u,c,a)=>{u=a(2);c=a(6);var b=a(75),d=a(105);a=c(function(){function m(){}return!(Array.of.call(m)instanceof m)});u({target:"Array",stat:!0,forced:a},{of:function(){for(var m=0,h=arguments.length,k=new (b(this)?this:Array)(h);h>m;)d(k,m,arguments[m++]);k.length=h;return k}})},(u,c,a)=>{u=a(2);var b=a(138).left,d=a(110);c=a(21);a=a(139);d=d("reduce");u({target:"Array",proto:!0,forced:!d||!a&&79<c&&83>c},{reduce:function(m){return b(this,m,arguments.length,
1<arguments.length?arguments[1]:void 0)}})},(u,c,a)=>{var b=a(24),d=a(33),m=a(10),h=a(52);c=function(k){return function(p,l,g,f){b(l);p=d(p);var n=m(p),e=h(p.length),q=k?e-1:0,t=k?-1:1;if(2>g)for(;;){if(q in n){f=n[q];q+=t;break}q+=t;if(k?0>q:e<=q)throw TypeError("Reduce of empty array with no initial value");}for(;k?0<=q:e>q;q+=t)q in n&&(f=l(f,n[q],q,p));return f}};u.exports={left:c(!1),right:c(!0)}},(u,c,a)=>{c=a(11);a=a(3);u.exports="process"==c(a.process)},(u,c,a)=>{u=a(2);var b=a(138).right,
d=a(110);c=a(21);a=a(139);d=d("reduceRight");u({target:"Array",proto:!0,forced:!d||!a&&79<c&&83>c},{reduceRight:function(m){return b(this,m,arguments.length,1<arguments.length?arguments[1]:void 0)}})},(u,c,a)=>{u=a(2);var b=a(58),d=[].reverse;a=[1,2];u({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){b(this)&&(this.length=this.length);return d.call(this)}})},(u,c,a)=>{u=a(2);var b=a(58),d=a(75),m=a(15),h=a(54),k=a(52),p=a(9),l=a(105);c=a(27);a=a(106)("slice");var g=
c("species"),f=[].slice,n=Math.max;u({target:"Array",proto:!0,forced:!a},{slice:function(e,q){var t=p(this),r=k(t.length);e=h(e,r);q=h(void 0===q?r:q,r);if(b(t)){var v=t.constructor;d(v)&&(v===Array||b(v.prototype))?v=void 0:m(v)&&(v=v[g],null===v&&(v=void 0));if(v===Array||void 0===v)return f.call(t,e,q)}v=new (void 0===v?Array:v)(n(q-e,0));for(r=0;e<q;e++,r++)e in t&&l(v,r,t[e]);v.length=r;return v}})},(u,c,a)=>{u=a(2);var b=a(71).some;a=a(110)("some");u({target:"Array",proto:!0,forced:!a},{some:function(d){return b(this,
d,1<arguments.length?arguments[1]:void 0)}})},(u,c,a)=>{u=a(2);var b=a(24),d=a(33),m=a(52),h=a(59);c=a(6);var k=a(145),p=a(110),l=a(146),g=a(147),f=a(21),n=a(148),e=[],q=e.sort;a=c(function(){e.sort(void 0)});var t=c(function(){e.sort(null)});p=p("sort");var r=!c(function(){if(f)return 70>f;if(!(l&&3<l)){if(g)return!0;if(n)return 603>n;var z="",E,A;for(E=65;76>E;E++){var D=String.fromCharCode(E);switch(E){case 66:case 69:case 70:case 72:var F=3;break;case 68:case 71:F=4;break;default:F=2}for(A=0;47>
A;A++)e.push({k:D+A,v:F})}e.sort(function(C,B){return B.v-C.v});for(A=0;A<e.length;A++)D=e[A].k.charAt(0),z.charAt(z.length-1)!==D&&(z+=D);return"DGBEFHACIJK"!==z}}),v=function(z){return function(E,A){return void 0===A?-1:void 0===E?1:void 0!==z?+z(E,A)||0:h(E)>h(A)?1:-1}};u({target:"Array",proto:!0,forced:a||!t||!p||!r},{sort:function(z){void 0!==z&&b(z);var E=d(this);if(r)return void 0===z?q.call(E):q.call(E,z);var A=[],D=m(E.length),F;for(F=0;F<D;F++)F in E&&A.push(E[F]);A=k(A,v(z));z=A.length;
for(F=0;F<z;)E[F]=A[F++];for(;F<D;)delete E[F++];return E}})},u=>{var c=Math.floor,a=function(b,d){var m=b.length,h=c(m/2);if(8>m){m=b.length;h=1;for(var k,p;h<m;){p=h;for(k=b[h];p&&0<d(b[p-1],k);)b[p]=b[--p];p!==h++&&(b[p]=k)}d=b}else{m=a(b.slice(0,h),d);b=a(b.slice(h),d);h=m.length;k=b.length;for(var l=p=0,g=[];p<h||l<k;)p<h&&l<k?g.push(0>=d(m[p],b[l])?m[p++]:b[l++]):g.push(p<h?m[p++]:b[l++]);d=g}return d};u.exports=a},(u,c,a)=>{c=a(22).match(/firefox\/(\d+)/i);u.exports=!!c&&+c[1]},(u,c,a)=>{c=
a(22);u.exports=/MSIE|Trident/.test(c)},(u,c,a)=>{c=a(22).match(/AppleWebKit\/(\d+)\./);u.exports=!!c&&+c[1]},(u,c,a)=>{a(150)("Array")},(u,c,a)=>{var b=a(18),d=a(38);c=a(27);var m=a(5),h=c("species");u.exports=function(k){k=b(k);var p=d.f;m&&k&&!k[h]&&p(k,h,{configurable:!0,get:function(){return this}})}},(u,c,a)=>{u=a(2);var b=a(54),d=a(53),m=a(52),h=a(33),k=a(73),p=a(105);a=a(106)("splice");var l=Math.max,g=Math.min;u({target:"Array",proto:!0,forced:!a},{splice:function(f,n){var e=h(this),q=m(e.length),
t=b(f,q),r=arguments.length,v,z;0===r?r=v=0:1===r?(r=0,v=q-t):(r-=2,v=g(l(d(n),0),q-t));if(9007199254740991<q+r-v)throw TypeError("Maximum allowed length exceeded");var E=k(e,v);for(z=0;z<v;z++){var A=t+z;A in e&&p(E,z,e[A])}E.length=v;if(r<v){for(z=t;z<q-v;z++){A=z+v;var D=z+r;A in e?e[D]=e[A]:delete e[D]}for(z=q;z>q-v+r;z--)delete e[z-1]}else if(r>v)for(z=q-v;z>t;z--)A=z+v-1,D=z+r-1,A in e?e[D]=e[A]:delete e[D];for(z=0;z<r;z++)e[z+t]=arguments[z+2];e.length=q-v+r;return E}})},(u,c,a)=>{a(103)("flat")},
(u,c,a)=>{a(103)("flatMap")},(u,c,a)=>{u=a(2);c=a(3);var b=a(155);a=a(150);b=b.ArrayBuffer;u({global:!0,forced:c.ArrayBuffer!==b},{ArrayBuffer:b});a("ArrayBuffer")},(u,c,a)=>{var b=a(3),d=a(5),m=a(156),h=a(46),k=a(37);c=a(157);var p=a(6),l=a(158),g=a(53),f=a(52),n=a(159),e=a(160),q=a(91),t=a(93),r=a(49).f,v=a(38).f,z=a(112),E=a(70);a=a(42);var A=h.PROPER,D=h.CONFIGURABLE,F=a.get,C=a.set,B=b.ArrayBuffer,I=B,J=b.DataView;h=J&&J.prototype;a=Object.prototype;var M=b.RangeError,P=e.pack,O=e.unpack,N=function(wa){return[wa&
255]},L=function(wa){return[wa&255,wa>>8&255]},x=function(wa){return[wa&255,wa>>8&255,wa>>16&255,wa>>24&255]},y=function(wa){return wa[3]<<24|wa[2]<<16|wa[1]<<8|wa[0]},G=function(wa){return P(wa,23,4)},K=function(wa){return P(wa,52,8)};b=function(wa,ka){v(wa.prototype,ka,{get:function(){return F(this)[ka]}})};var R=function(wa,ka,ra,qa){ra=n(ra);var va=F(wa);if(ra+ka>va.byteLength)throw M("Wrong index");wa=F(va.buffer).bytes;ra+=va.byteOffset;ka=wa.slice(ra,ra+ka);return qa?ka:ka.reverse()},Z=function(wa,
ka,ra,qa,va,U){ra=n(ra);var pa=F(wa);if(ra+ka>pa.byteLength)throw M("Wrong index");wa=F(pa.buffer).bytes;ra+=pa.byteOffset;qa=qa(+va);for(va=0;va<ka;va++)wa[ra+va]=qa[U?va:ka-va-1]};if(m){var aa=A&&"ArrayBuffer"!==B.name;if(p(function(){B(1)})&&p(function(){new B(-1)})&&!p(function(){new B;new B(1.5);new B(NaN);return aa&&!D}))aa&&D&&k(B,"name","ArrayBuffer");else{I=function(wa){l(this,I);return new B(n(wa))};m=I.prototype=B.prototype;r=r(B);p=0;for(var xa;r.length>p;)(xa=r[p++])in I||k(I,xa,B[xa]);
m.constructor=I}t&&q(h)!==a&&t(h,a);xa=new J(new I(2));var X=h.setInt8;xa.setInt8(0,2147483648);xa.setInt8(1,2147483649);!xa.getInt8(0)&&xa.getInt8(1)||c(h,{setInt8:function(wa,ka){X.call(this,wa,ka<<24>>24)},setUint8:function(wa,ka){X.call(this,wa,ka<<24>>24)}},{unsafe:!0})}else I=function(wa){l(this,I,"ArrayBuffer");wa=n(wa);C(this,{bytes:z.call(Array(wa),0),byteLength:wa});d||(this.byteLength=wa)},J=function(wa,ka,ra){l(this,J,"DataView");l(wa,I,"DataView");var qa=F(wa).byteLength;ka=g(ka);if(0>
ka||ka>qa)throw M("Wrong offset");ra=void 0===ra?qa-ka:f(ra);if(ka+ra>qa)throw M("Wrong length");C(this,{buffer:wa,byteLength:ra,byteOffset:ka});d||(this.buffer=wa,this.byteLength=ra,this.byteOffset=ka)},d&&(b(I,"byteLength"),b(J,"buffer"),b(J,"byteLength"),b(J,"byteOffset")),c(J.prototype,{getInt8:function(wa){return R(this,1,wa)[0]<<24>>24},getUint8:function(wa){return R(this,1,wa)[0]},getInt16:function(wa){var ka=R(this,2,wa,1<arguments.length?arguments[1]:void 0);return(ka[1]<<8|ka[0])<<16>>16},
getUint16:function(wa){var ka=R(this,2,wa,1<arguments.length?arguments[1]:void 0);return ka[1]<<8|ka[0]},getInt32:function(wa){return y(R(this,4,wa,1<arguments.length?arguments[1]:void 0))},getUint32:function(wa){return y(R(this,4,wa,1<arguments.length?arguments[1]:void 0))>>>0},getFloat32:function(wa){return O(R(this,4,wa,1<arguments.length?arguments[1]:void 0),23)},getFloat64:function(wa){return O(R(this,8,wa,1<arguments.length?arguments[1]:void 0),52)},setInt8:function(wa,ka){Z(this,1,wa,N,ka)},
setUint8:function(wa,ka){Z(this,1,wa,N,ka)},setInt16:function(wa,ka){Z(this,2,wa,L,ka,2<arguments.length?arguments[2]:void 0)},setUint16:function(wa,ka){Z(this,2,wa,L,ka,2<arguments.length?arguments[2]:void 0)},setInt32:function(wa,ka){Z(this,4,wa,x,ka,2<arguments.length?arguments[2]:void 0)},setUint32:function(wa,ka){Z(this,4,wa,x,ka,2<arguments.length?arguments[2]:void 0)},setFloat32:function(wa,ka){Z(this,4,wa,G,ka,2<arguments.length?arguments[2]:void 0)},setFloat64:function(wa,ka){Z(this,8,wa,
K,ka,2<arguments.length?arguments[2]:void 0)}});E(I,"ArrayBuffer");E(J,"DataView");u.exports={ArrayBuffer:I,DataView:J}},u=>{u.exports="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof DataView},(u,c,a)=>{var b=a(40);u.exports=function(d,m,h){for(var k in m)b(d,k,m[k],h);return d}},u=>{u.exports=function(c,a,b){if(c instanceof a)return c;throw TypeError("Incorrect "+(b?b+" ":"")+"invocation");}},(u,c,a)=>{var b=a(53),d=a(52);u.exports=function(m){if(void 0===m)return 0;m=b(m);var h=d(m);if(m!==
h)throw RangeError("Wrong length or index");return h}},u=>{var c=Math.abs,a=Math.pow,b=Math.floor,d=Math.log,m=Math.LN2;u.exports={pack:function(h,k,p){var l=Array(p);p=8*p-k-1;var g=(1<<p)-1,f=g>>1,n=23===k?a(2,-24)-a(2,-77):0,e=0>h||0===h&&0>1/h?1:0,q=0,t;h=c(h);if(h!=h||Infinity===h){h=h!=h?1:0;var r=g}else r=b(d(h)/m),1>h*(t=a(2,-r))&&(r--,t*=2),h=1<=r+f?h+n/t:h+n*a(2,1-f),2<=h*t&&(r++,t/=2),r+f>=g?(h=0,r=g):1<=r+f?(h=(h*t-1)*a(2,k),r+=f):(h=h*a(2,f-1)*a(2,k),r=0);for(;8<=k;l[q++]=h&255,h/=256,
k-=8);r=r<<k|h;for(p+=k;0<p;l[q++]=r&255,r/=256,p-=8);l[--q]|=128*e;return l},unpack:function(h,k){var p=h.length,l=8*p-k-1,g=(1<<l)-1,f=g>>1;l-=7;--p;var n=h[p--],e=n&127;for(n>>=7;0<l;e=256*e+h[p],p--,l-=8);var q=e&(1<<-l)-1;e>>=-l;for(l+=k;0<l;q=256*q+h[p],p--,l-=8);if(0===e)e=1-f;else{if(e===g)return q?NaN:n?-Infinity:Infinity;q+=a(2,k);e-=f}return(n?-1:1)*q*a(2,e-k)}}},(u,c,a)=>{u=a(2);a=a(162);u({target:"ArrayBuffer",stat:!0,forced:!a.NATIVE_ARRAY_BUFFER_VIEWS},{isView:a.isView})},(u,c,a)=>
{var b=a(156),d=a(5),m=a(3),h=a(16),k=a(15),p=a(32),l=a(60),g=a(25);c=a(37);var f=a(40),n=a(38).f,e=a(91),q=a(93),t=a(27),r=a(34),v=m.Int8Array,z=v&&v.prototype;a=(a=m.Uint8ClampedArray)&&a.prototype;var E=v&&e(v),A=z&&e(z);v=Object.prototype;var D=v.isPrototypeOf;t=t("toStringTag");var F=r("TYPED_ARRAY_TAG");r=r("TYPED_ARRAY_CONSTRUCTOR");var C=b&&!!q&&"Opera"!==l(m.opera);b=!1;var B,I,J,M={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,
Float64Array:8},P={BigInt64Array:8,BigUint64Array:8},O=function(N){if(!k(N))return!1;N=l(N);return p(M,N)||p(P,N)};for(B in M)(J=(I=m[B])&&I.prototype)?c(J,r,I):C=!1;for(B in P)(J=(I=m[B])&&I.prototype)&&c(J,r,I);if(!C||!h(E)||E===Function.prototype)if(E=function(){throw TypeError("Incorrect invocation");},C)for(B in M)m[B]&&q(m[B],E);if(!C||!A||A===v)if(A=E.prototype,C)for(B in M)m[B]&&q(m[B].prototype,A);C&&e(a)!==A&&q(a,A);if(d&&!p(A,t))for(B in b=!0,n(A,t,{get:function(){return k(this)?this[F]:
void 0}}),M)m[B]&&c(m[B],F,B);u.exports={NATIVE_ARRAY_BUFFER_VIEWS:C,TYPED_ARRAY_CONSTRUCTOR:r,TYPED_ARRAY_TAG:b&&F,aTypedArray:function(N){if(O(N))return N;throw TypeError("Target is not a typed array");},aTypedArrayConstructor:function(N){if(h(N)&&(!q||D.call(E,N)))return N;throw TypeError(g(N)+" is not a typed array constructor");},exportTypedArrayMethod:function(N,L,x){if(d){if(x)for(var y in M){var G=m[y];if(G&&p(G.prototype,N))try{delete G.prototype[N]}catch(K){}}A[N]&&!x||f(A,N,x?L:C&&z[N]||
L)}},exportTypedArrayStaticMethod:function(N,L,x){var y,G;if(d){if(q){if(x)for(y in M)if((G=m[y])&&p(G,N))try{delete G[N]}catch(K){}if(!E[N]||x)try{return f(E,N,x?L:C&&E[N]||L)}catch(K){}else return}for(y in M)G=m[y],!G||G[N]&&!x||f(G,N,L)}},isView:function(N){if(!k(N))return!1;N=l(N);return"DataView"===N||p(M,N)||p(P,N)},isTypedArray:O,TypedArray:E,TypedArrayPrototype:A}},(u,c,a)=>{u=a(2);c=a(6);var b=a(155),d=a(39),m=a(54),h=a(52),k=a(164),p=b.ArrayBuffer,l=b.DataView,g=p.prototype.slice;a=c(function(){return!(new p(2)).slice(1,
void 0).byteLength});u({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:a},{slice:function(f,n){if(void 0!==g&&void 0===n)return g.call(d(this),f);var e=d(this).byteLength;f=m(f,e);n=m(void 0===n?e:n,e);e=new (k(this,p))(h(n-f));for(var q=new l(this),t=new l(e),r=0;f<n;)t.setUint8(r++,q.getUint8(f++));return e}})},(u,c,a)=>{var b=a(39),d=a(165),m=a(27)("species");u.exports=function(h,k){h=b(h).constructor;var p;return void 0===h||void 0==(p=b(h)[m])?k:d(p)}},(u,c,a)=>{var b=a(75),d=a(25);u.exports=
function(m){if(b(m))return m;throw TypeError(d(m)+" is not a constructor");}},(u,c,a)=>{u=a(2);c=a(155);a=a(156);u({global:!0,forced:!a},{DataView:c.DataView})},(u,c,a)=>{u=a(2);a=a(6)(function(){return 120!==(new Date(16E11)).getYear()});var b=Date.prototype.getFullYear;u({target:"Date",proto:!0,forced:a},{getYear:function(){return b.call(this)-1900}})},(u,c,a)=>{a(2)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},(u,c,a)=>{u=a(2);var b=a(53),d=Date.prototype.getTime,m=Date.prototype.setFullYear;
u({target:"Date",proto:!0},{setYear:function(h){d.call(this);h=b(h);return m.call(this,0<=h&&99>=h?h+1900:h)}})},(u,c,a)=>{a(2)({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},(u,c,a)=>{u=a(2);a=a(172);u({target:"Date",proto:!0,forced:Date.prototype.toISOString!==a},{toISOString:a})},(u,c,a)=>{c=a(6);var b=a(173).start,d=Math.abs;a=Date.prototype;var m=a.getTime,h=a.toISOString;u.exports=c(function(){return"0385-07-25T07:06:39.999Z"!=h.call(new Date(-5E13-1))})||!c(function(){h.call(new Date(NaN))})?
function(){if(!isFinite(m.call(this)))throw RangeError("Invalid time value");var k=this.getUTCFullYear(),p=this.getUTCMilliseconds(),l=0>k?"-":9999<k?"+":"";return l+b(d(k),l?6:4,0)+"-"+b(this.getUTCMonth()+1,2,0)+"-"+b(this.getUTCDate(),2,0)+"T"+b(this.getUTCHours(),2,0)+":"+b(this.getUTCMinutes(),2,0)+":"+b(this.getUTCSeconds(),2,0)+"."+b(p,3,0)+"Z"}:h},(u,c,a)=>{var b=a(52),d=a(59),m=a(174),h=a(12),k=Math.ceil;c=function(p){return function(l,g,f){l=d(h(l));var n=l.length;f=void 0===f?" ":d(f);
g=b(g);if(g<=n||""==f)return l;g-=n;n=m.call(f,k(g/f.length));n.length>g&&(n=n.slice(0,g));return p?l+n:n+l}};u.exports={start:c(!1),end:c(!0)}},(u,c,a)=>{var b=a(53),d=a(59),m=a(12);u.exports=function(h){var k=d(m(this)),p="";h=b(h);if(0>h||Infinity==h)throw RangeError("Wrong number of repetitions");for(;0<h;(h>>>=1)&&(k+=k))h&1&&(p+=k);return p}},(u,c,a)=>{u=a(2);c=a(6);var b=a(33),d=a(14);a=c(function(){return null!==(new Date(NaN)).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})});
u({target:"Date",proto:!0,forced:a},{toJSON:function(m){m=b(this);var h=d(m,"number");return"number"!=typeof h||isFinite(h)?m.toISOString():null}})},(u,c,a)=>{u=a(40);c=a(177);a=a(27)("toPrimitive");var b=Date.prototype;a in b||u(b,a,c)},(u,c,a)=>{var b=a(39),d=a(26);u.exports=function(m){b(this);if("string"===m||"default"===m)m="string";else if("number"!==m)throw TypeError("Incorrect hint");return d(this,m)}},(u,c,a)=>{u=a(40);c=Date.prototype;var b=c.toString,d=c.getTime;"Invalid Date"!=String(new Date(NaN))&&
u(c,"toString",function(){var m=d.call(this);return m===m?b.call(this):"Invalid Date"})},(u,c,a)=>{u=a(2);var b=a(59),d=/[\w*+\-./@]/,m=function(h,k){for(h=h.toString(16);h.length<k;)h="0"+h;return h};u({global:!0},{escape:function(h){h=b(h);for(var k="",p=h.length,l=0,g;l<p;)g=h.charAt(l++),d.test(g)?k+=g:(g=g.charCodeAt(0),k=256>g?k+("%"+m(g,2)):k+("%u"+m(g,4).toUpperCase()));return k}})},(u,c,a)=>{u=a(2);a=a(181);u({target:"Function",proto:!0},{bind:a})},(u,c,a)=>{var b=a(24),d=a(15),m=[].slice,
h={};u.exports=Function.bind||function(k){var p=b(this),l=m.call(arguments,1),g=function(){var f=l.concat(m.call(arguments));if(this instanceof g){var n=f.length;if(!(n in h)){for(var e=[],q=0;q<n;q++)e[q]="a["+q+"]";h[n]=Function("C,a","return new C("+e.join(",")+")")}f=h[n](p,f)}else f=p.apply(k,f);return f};d(p.prototype)&&(g.prototype=p.prototype);return g}},(u,c,a)=>{var b=a(16),d=a(15);u=a(38);var m=a(91);a=a(27)("hasInstance");c=Function.prototype;a in c||u.f(c,a,{value:function(h){if(!b(this)||
!d(h))return!1;if(!d(this.prototype))return h instanceof this;for(;h=m(h);)if(this.prototype===h)return!0;return!1}})},(u,c,a)=>{u=a(5);c=a(46).EXISTS;a=a(38).f;var b=Function.prototype,d=b.toString,m=/^\s*function ([^ (]*)/;u&&!c&&a(b,"name",{configurable:!0,get:function(){try{return d.call(this).match(m)[1]}catch(h){return""}}})},(u,c,a)=>{u=a(2);a=a(3);u({global:!0},{globalThis:a})},(u,c,a)=>{u=a(2);c=a(18);a=a(6);var b=c("JSON","stringify"),d=/[\uD800-\uDFFF]/g,m=/^[\uD800-\uDBFF]$/,h=/^[\uDC00-\uDFFF]$/,
k=function(p,l,g){var f=g.charAt(l-1);l=g.charAt(l+1);return m.test(p)&&!h.test(l)||h.test(p)&&!m.test(f)?"\\u"+p.charCodeAt(0).toString(16):p};a=a(function(){return'"\\udf06\\ud834"'!==b("\udf06\ud834")||'"\\udead"'!==b("\udead")});b&&u({target:"JSON",stat:!0,forced:a},{stringify:function(p,l,g){var f=b.apply(null,arguments);return"string"==typeof f?f.replace(d,k):f}})},(u,c,a)=>{u=a(3);a(70)(u.JSON,"JSON",!0)},(u,c,a)=>{c=a(188);a=a(192);u.exports=c("Map",function(b){return function(){return b(this,
arguments.length?arguments[0]:void 0)}},a)},(u,c,a)=>{var b=a(2),d=a(3),m=a(57),h=a(40),k=a(189),p=a(96),l=a(158),g=a(16),f=a(15),n=a(6),e=a(124),q=a(70),t=a(191);u.exports=function(r,v,z){var E=-1!==r.indexOf("Map"),A=-1!==r.indexOf("Weak"),D=E?"set":"add",F=d[r],C=F&&F.prototype,B=F,I={},J=function(x){var y=C[x];h(C,x,"add"==x?function(G){y.call(this,0===G?0:G);return this}:"delete"==x?function(G){return A&&!f(G)?!1:y.call(this,0===G?0:G)}:"get"==x?function(G){return A&&!f(G)?void 0:y.call(this,
0===G?0:G)}:"has"==x?function(G){return A&&!f(G)?!1:y.call(this,0===G?0:G)}:function(G,K){y.call(this,0===G?0:G,K);return this})};if(m(r,!g(F)||!(A||C.forEach&&!n(function(){(new F).entries().next()}))))B=z.getConstructor(v,r,E,D),k.enable();else if(m(r,!0)){var M=new B,P=M[D](A?{}:-0,1)!=M,O=n(function(){M.has(1)}),N=e(function(x){new F(x)}),L=!A&&n(function(){for(var x=new F,y=5;y--;)x[D](y,y);return!x.has(-0)});N||(B=v(function(x,y){l(x,B,r);x=t(new F,x,B);void 0!=y&&p(y,x[D],{that:x,AS_ENTRIES:E});
return x}),B.prototype=C,C.constructor=B);if(O||L)J("delete"),J("has"),E&&J("get");(L||P)&&J(D);A&&C.clear&&delete C.clear}I[r]=B;b({global:!0,forced:B!=F},I);q(B,r);A||z.setStrong(B,r,E);return B}},(u,c,a)=>{var b=a(2);c=a(45);var d=a(15),m=a(32),h=a(38).f,k=a(49),p=a(66),l=a(34),g=a(190),f=!1,n=l("meta"),e=0,q=Object.isExtensible||function(){return!0},t=function(v){h(v,n,{value:{objectID:"O"+e++,weakData:{}}})},r=u.exports={enable:function(){r.enable=function(){};f=!0;var v=k.f,z=[].splice,E={};
E[n]=1;v(E).length&&(k.f=function(A){A=v(A);for(var D=0,F=A.length;D<F;D++)if(A[D]===n){z.call(A,D,1);break}return A},b({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:p.f}))},fastKey:function(v,z){if(!d(v))return"symbol"==typeof v?v:("string"==typeof v?"S":"P")+v;if(!m(v,n)){if(!q(v))return"F";if(!z)return"E";t(v)}return v[n].objectID},getWeakData:function(v,z){if(!m(v,n)){if(!q(v))return!0;if(!z)return!1;t(v)}return v[n].weakData},onFreeze:function(v){g&&f&&q(v)&&!m(v,n)&&t(v);return v}};
c[n]=!0},(u,c,a)=>{c=a(6);u.exports=!c(function(){return Object.isExtensible(Object.preventExtensions({}))})},(u,c,a)=>{var b=a(16),d=a(15),m=a(93);u.exports=function(h,k,p){var l,g;m&&b(l=k.constructor)&&l!==p&&d(g=l.prototype)&&g!==p.prototype&&m(h,g);return h}},(u,c,a)=>{var b=a(38).f,d=a(62),m=a(157),h=a(72),k=a(158),p=a(96),l=a(129),g=a(150),f=a(5),n=a(189).fastKey;c=a(42);var e=c.set,q=c.getterFor;u.exports={getConstructor:function(t,r,v,z){var E=t(function(C,B){k(C,E,r);e(C,{type:r,index:d(null),
first:void 0,last:void 0,size:0});f||(C.size=0);void 0!=B&&p(B,C[z],{that:C,AS_ENTRIES:v})}),A=q(r),D=function(C,B,I){var J=A(C),M=F(C,B),P;M?M.value=I:(J.last=M={index:P=n(B,!0),key:B,value:I,previous:B=J.last,next:void 0,removed:!1},J.first||(J.first=M),B&&(B.next=M),f?J.size++:C.size++,"F"!==P&&(J.index[P]=M));return C},F=function(C,B){C=A(C);var I=n(B);if("F"!==I)return C.index[I];for(C=C.first;C;C=C.next)if(C.key==B)return C};m(E.prototype,{clear:function(){for(var C=A(this),B=C.index,I=C.first;I;)I.removed=
!0,I.previous&&(I.previous=I.previous.next=void 0),delete B[I.index],I=I.next;C.first=C.last=void 0;f?C.size=0:this.size=0},"delete":function(C){var B=A(this);if(C=F(this,C)){var I=C.next,J=C.previous;delete B.index[C.index];C.removed=!0;J&&(J.next=I);I&&(I.previous=J);B.first==C&&(B.first=I);B.last==C&&(B.last=J);f?B.size--:this.size--}return!!C},forEach:function(C){for(var B=A(this),I=h(C,1<arguments.length?arguments[1]:void 0,3),J;J=J?J.next:B.first;)for(I(J.value,J.key,this);J&&J.removed;)J=J.previous},
has:function(C){return!!F(this,C)}});m(E.prototype,v?{get:function(C){return(C=F(this,C))&&C.value},set:function(C,B){return D(this,0===C?0:C,B)}}:{add:function(C){return D(this,C=0===C?0:C,C)}});f&&b(E.prototype,"size",{get:function(){return A(this).size}});return E},setStrong:function(t,r,v){var z=r+" Iterator",E=q(r),A=q(z);l(t,r,function(D,F){e(this,{type:z,target:D,state:E(D),kind:F,last:void 0})},function(){for(var D=A(this),F=D.kind,C=D.last;C&&C.removed;)C=C.previous;return D.target&&(D.last=
C=C?C.next:D.state.first)?"keys"==F?{value:C.key,done:!1}:"values"==F?{value:C.value,done:!1}:{value:[C.key,C.value],done:!1}:(D.target=void 0,{value:void 0,done:!0})},v?"entries":"values",!v,!0);g(r)}}},(u,c,a)=>{u=a(2);var b=a(194);a=Math.acosh;var d=Math.log,m=Math.sqrt,h=Math.LN2;a=!a||710!=Math.floor(a(Number.MAX_VALUE))||Infinity!=a(Infinity);u({target:"Math",stat:!0,forced:a},{acosh:function(k){return 1>(k=+k)?NaN:9.490626562425156E7<k?d(k)+h:b(k-1+m(k-1)*m(k+1))}})},u=>{var c=Math.log;u.exports=
Math.log1p||function(a){return-1E-8<(a=+a)&&1E-8>a?a-a*a/2:c(1+a)}},(u,c,a)=>{function b(h){return isFinite(h=+h)&&0!=h?0>h?-b(-h):d(h+m(h*h+1)):h}u=a(2);c=Math.asinh;var d=Math.log,m=Math.sqrt;u({target:"Math",stat:!0,forced:!(c&&0<1/c(0))},{asinh:b})},(u,c,a)=>{u=a(2);c=Math.atanh;var b=Math.log;u({target:"Math",stat:!0,forced:!(c&&0>1/c(-0))},{atanh:function(d){return 0==(d=+d)?d:b((1+d)/(1-d))/2}})},(u,c,a)=>{u=a(2);var b=a(198),d=Math.abs,m=Math.pow;u({target:"Math",stat:!0},{cbrt:function(h){return b(h=
+h)*m(d(h),1/3)}})},u=>{u.exports=Math.sign||function(c){return 0==(c=+c)||c!=c?c:0>c?-1:1}},(u,c,a)=>{u=a(2);var b=Math.floor,d=Math.log,m=Math.LOG2E;u({target:"Math",stat:!0},{clz32:function(h){return(h>>>=0)?31-b(d(h+.5)*m):32}})},(u,c,a)=>{u=a(2);var b=a(201);a=Math.cosh;var d=Math.abs,m=Math.E;u({target:"Math",stat:!0,forced:!a||Infinity===a(710)},{cosh:function(h){h=b(d(h)-1)+1;return m/2*(h+1/(h*m*m))}})},u=>{var c=Math.expm1,a=Math.exp;u.exports=!c||22025.465794806718<c(10)||22025.465794806718>
c(10)||-2E-17!=c(-2E-17)?function(b){return 0==(b=+b)?b:-1E-6<b&&1E-6>b?b+b*b/2:a(b)-1}:c},(u,c,a)=>{u=a(2);a=a(201);u({target:"Math",stat:!0,forced:a!=Math.expm1},{expm1:a})},(u,c,a)=>{u=a(2);a=a(204);u({target:"Math",stat:!0},{fround:a})},(u,c,a)=>{var b=a(198),d=Math.abs;c=Math.pow;var m=c(2,-52),h=c(2,-23),k=c(2,127)*(2-h),p=c(2,-126);u.exports=Math.fround||function(l){var g=d(l);l=b(l);if(g<p)return l*(g/p/h+1/m-1/m)*p*h;var f=(1+h/m)*g;g=f-(f-g);return g>k||g!=g?Infinity*l:l*g}},(u,c,a)=>{u=
a(2);c=Math.hypot;var b=Math.abs,d=Math.sqrt;c=!!c&&Infinity!==c(Infinity,NaN);u({target:"Math",stat:!0,forced:c},{hypot:function(m,h){for(var k=0,p=0,l=arguments.length,g=0,f,n;p<l;)f=b(arguments[p++]),g<f?(n=g/f,k=k*n*n+1,g=f):0<f?(n=f/g,k+=n*n):k+=f;return Infinity===g?Infinity:g*d(k)}})},(u,c,a)=>{u=a(2);a=a(6);var b=Math.imul;a=a(function(){return-5!=b(4294967295,5)||2!=b.length});u({target:"Math",stat:!0,forced:a},{imul:function(d,m){d=+d;m=+m;var h=65535&d,k=65535&m;return 0|h*k+((65535&d>>>
16)*k+h*(65535&m>>>16)<<16>>>0)}})},(u,c,a)=>{u=a(2);var b=Math.log,d=Math.LOG10E;u({target:"Math",stat:!0},{log10:function(m){return b(m)*d}})},(u,c,a)=>{u=a(2);a=a(194);u({target:"Math",stat:!0},{log1p:a})},(u,c,a)=>{u=a(2);var b=Math.log,d=Math.LN2;u({target:"Math",stat:!0},{log2:function(m){return b(m)/d}})},(u,c,a)=>{u=a(2);a=a(198);u({target:"Math",stat:!0},{sign:a})},(u,c,a)=>{u=a(2);c=a(6);var b=a(201),d=Math.abs,m=Math.exp,h=Math.E;a=c(function(){return-2E-17!=Math.sinh(-2E-17)});u({target:"Math",
stat:!0,forced:a},{sinh:function(k){return 1>d(k=+k)?(b(k)-b(-k))/2:(m(k-1)-m(-k-1))*(h/2)}})},(u,c,a)=>{u=a(2);var b=a(201),d=Math.exp;u({target:"Math",stat:!0},{tanh:function(m){var h=b(m=+m),k=b(-m);return Infinity==h?1:Infinity==k?-1:(h-k)/(d(m)+d(-m))}})},(u,c,a)=>{a(70)(Math,"Math",!0)},(u,c,a)=>{u=a(2);var b=Math.ceil,d=Math.floor;u({target:"Math",stat:!0},{trunc:function(m){return(0<m?d:b)(m)}})},(u,c,a)=>{var b=a(5);u=a(3);var d=a(57);c=a(40);var m=a(32),h=a(11),k=a(191),p=a(17),l=a(14),
g=a(6),f=a(62),n=a(49).f,e=a(4).f,q=a(38).f,t=a(216).trim,r=u.Number,v=r.prototype,z="Number"==h(f(v)),E=function(F){if(p(F))throw TypeError("Cannot convert a Symbol value to a number");var C=l(F,"number"),B;if("string"==typeof C&&2<C.length)if(C=t(C),F=C.charCodeAt(0),43===F||45===F){if(F=C.charCodeAt(2),88===F||120===F)return NaN}else if(48===F){switch(C.charCodeAt(1)){case 66:case 98:F=2;var I=49;break;case 79:case 111:F=8;I=55;break;default:return+C}C=C.slice(2);var J=C.length;for(B=0;B<J;B++){var M=
C.charCodeAt(B);if(48>M||M>I)return NaN}return parseInt(C,F)}return+C};if(d("Number",!r(" 0o1")||!r("0b1")||r("+0x1"))){var A=function(F){var C=1>arguments.length?0:F,B=this;return B instanceof A&&(z?g(function(){v.valueOf.call(B)}):"Number"!=h(B))?k(new r(E(C)),B,A):E(C)};a=b?n(r):"MAX_VALUE MIN_VALUE NaN NEGATIVE_INFINITY POSITIVE_INFINITY EPSILON isFinite isInteger isNaN isSafeInteger MAX_SAFE_INTEGER MIN_SAFE_INTEGER parseFloat parseInt isInteger fromString range".split(" ");b=0;for(var D;a.length>
b;b++)m(r,D=a[b])&&!m(A,D)&&q(A,D,e(r,D));A.prototype=v;v.constructor=A;c(u,"Number",A)}},(u,c,a)=>{var b=a(12),d=a(59);c="["+a(217)+"]";var m=RegExp("^"+c+c+"*"),h=RegExp(c+c+"*$");c=function(k){return function(p){p=d(b(p));k&1&&(p=p.replace(m,""));k&2&&(p=p.replace(h,""));return p}};u.exports={start:c(1),end:c(2),trim:c(3)}},u=>{u.exports="\t\n\x0B\f\r \u00a0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},(u,c,a)=>{a(2)({target:"Number",
stat:!0},{EPSILON:Math.pow(2,-52)})},(u,c,a)=>{u=a(2);a=a(220);u({target:"Number",stat:!0},{isFinite:a})},(u,c,a)=>{var b=a(3).isFinite;u.exports=Number.isFinite||function(d){return"number"==typeof d&&b(d)}},(u,c,a)=>{u=a(2);a=a(222);u({target:"Number",stat:!0},{isInteger:a})},(u,c,a)=>{var b=a(15),d=Math.floor;u.exports=function(m){return!b(m)&&isFinite(m)&&d(m)===m}},(u,c,a)=>{a(2)({target:"Number",stat:!0},{isNaN:function(b){return b!=b}})},(u,c,a)=>{u=a(2);var b=a(222),d=Math.abs;u({target:"Number",
stat:!0},{isSafeInteger:function(m){return b(m)&&9007199254740991>=d(m)}})},(u,c,a)=>{a(2)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},(u,c,a)=>{a(2)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},(u,c,a)=>{u=a(2);a=a(228);u({target:"Number",stat:!0,forced:Number.parseFloat!=a},{parseFloat:a})},(u,c,a)=>{var b=a(3);c=a(6);var d=a(59),m=a(216).trim;a=a(217);var h=b.parseFloat,k=(b=b.Symbol)&&b.iterator;c=-Infinity!==1/h(a+"-0")||k&&!c(function(){h(Object(k))});
u.exports=c?function(p){p=m(d(p));var l=h(p);return 0===l&&"-"==p.charAt(0)?-0:l}:h},(u,c,a)=>{u=a(2);a=a(230);u({target:"Number",stat:!0,forced:Number.parseInt!=a},{parseInt:a})},(u,c,a)=>{var b=a(3);c=a(6);var d=a(59),m=a(216).trim;a=a(217);var h=b.parseInt,k=(b=b.Symbol)&&b.iterator,p=/^[+-]?0[Xx]/;c=8!==h(a+"08")||22!==h(a+"0x16")||k&&!c(function(){h(Object(k))});u.exports=c?function(l,g){l=m(d(l));return h(l,g>>>0||(p.test(l)?16:10))}:h},(u,c,a)=>{u=a(2);var b=a(53),d=a(232),m=a(174);a=a(6);
var h=(1).toFixed,k=Math.floor,p=function(n,e,q){return 0===e?q:1===e%2?p(n,e-1,q*n):p(n*n,e/2,q)},l=function(n,e,q){for(var t=-1;6>++t;)q+=e*n[t],n[t]=q%1E7,q=k(q/1E7)},g=function(n,e){for(var q=6,t=0;0<=--q;)t+=n[q],n[q]=k(t/e),t=t%e*1E7},f=function(n){for(var e=6,q="";0<=--e;)if(""!==q||0===e||0!==n[e]){var t=String(n[e]);q=""===q?t:q+m.call("0",7-t.length)+t}return q};a=h&&("0.000"!==(8E-5).toFixed(3)||"1"!==(.9).toFixed(0)||"1.25"!==(1.255).toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||
!a(function(){h.call({})});u({target:"Number",proto:!0,forced:a},{toFixed:function(n){var e=d(this);n=b(n);var q=[0,0,0,0,0,0],t="",r="0";if(0>n||20<n)throw RangeError("Incorrect fraction digits");if(e!=e)return"NaN";if(-1E21>=e||1E21<=e)return String(e);0>e&&(t="-",e=-e);if(1E-21<e){r=0;for(var v=e*p(2,69,1);4096<=v;)r+=12,v/=4096;for(;2<=v;)r+=1,v/=2;r-=69;e=0>r?e*p(2,-r,1):e/p(2,r,1);e*=4503599627370496;r=52-r;if(0<r){l(q,0,e);for(e=n;7<=e;)l(q,1E7,0),e-=7;l(q,p(10,e,1),0);for(e=r-1;23<=e;)g(q,
8388608),e-=23;g(q,1<<e);l(q,1,1);g(q,2);r=f(q)}else l(q,0,e),l(q,1<<-r,0),r=f(q)+m.call("0",n)}0<n?(q=r.length,r=t+(q<=n?"0."+m.call("0",n-q)+r:r.slice(0,q-n)+"."+r.slice(q-n))):r=t+r;return r}})},u=>{var c=(1).valueOf;u.exports=function(a){return c.call(a)}},(u,c,a)=>{u=a(2);c=a(6);var b=a(232),d=(1).toPrecision;a=c(function(){return"1"!==d.call(1,void 0)})||!c(function(){d.call({})});u({target:"Number",proto:!0,forced:a},{toPrecision:function(m){return void 0===m?d.call(b(this)):d.call(b(this),
m)}})},(u,c,a)=>{u=a(2);a=a(235);u({target:"Object",stat:!0,forced:Object.assign!==a},{assign:a})},(u,c,a)=>{var b=a(5);c=a(6);var d=a(64),m=a(56),h=a(7),k=a(33),p=a(10),l=Object.assign,g=Object.defineProperty;u.exports=!l||c(function(){if(b&&1!==l({b:1},l(g({},"a",{enumerable:!0,get:function(){g(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var f={},n={},e=Symbol();f[e]=7;"abcdefghijklmnopqrst".split("").forEach(function(q){n[q]=q});return 7!=l({},f)[e]||"abcdefghijklmnopqrst"!=d(l({},
n)).join("")})?function(f,n){for(var e=k(f),q=arguments.length,t=1,r=m.f,v=h.f;q>t;)for(var z=p(arguments[t++]),E=r?d(z).concat(r(z)):d(z),A=E.length,D=0,F;A>D;)if(F=E[D++],!b||v.call(z,F))e[F]=z[F];return e}:l},(u,c,a)=>{u=a(2);c=a(5);a=a(62);u({target:"Object",stat:!0,sham:!c},{create:a})},(u,c,a)=>{u=a(2);c=a(5);var b=a(238),d=a(24),m=a(33),h=a(38);c&&u({target:"Object",proto:!0,forced:b},{__defineGetter__:function(k,p){h.f(m(this),k,{get:d(p),enumerable:!0,configurable:!0})}})},(u,c,a)=>{c=a(29);
var b=a(3),d=a(6),m=a(148);u.exports=c||!d(function(){if(!(m&&535>m)){var h=Math.random();__defineSetter__.call(null,h,function(){});delete b[h]}})},(u,c,a)=>{u=a(2);c=a(5);a=a(63);u({target:"Object",stat:!0,forced:!c,sham:!c},{defineProperties:a})},(u,c,a)=>{u=a(2);c=a(5);a=a(38);u({target:"Object",stat:!0,forced:!c,sham:!c},{defineProperty:a.f})},(u,c,a)=>{u=a(2);c=a(5);var b=a(238),d=a(24),m=a(33),h=a(38);c&&u({target:"Object",proto:!0,forced:b},{__defineSetter__:function(k,p){h.f(m(this),k,{set:d(p),
enumerable:!0,configurable:!0})}})},(u,c,a)=>{u=a(2);var b=a(243).entries;u({target:"Object",stat:!0},{entries:function(d){return b(d)}})},(u,c,a)=>{var b=a(5),d=a(64),m=a(9),h=a(7).f;c=function(k){return function(p){p=m(p);for(var l=d(p),g=l.length,f=0,n=[],e;g>f;)e=l[f++],b&&!h.call(p,e)||n.push(k?[e,p[e]]:p[e]);return n}};u.exports={entries:c(!0),values:c(!1)}},(u,c,a)=>{u=a(2);c=a(190);var b=a(6),d=a(15),m=a(189).onFreeze,h=Object.freeze;a=b(function(){h(1)});u({target:"Object",stat:!0,forced:a,
sham:!c},{freeze:function(k){return h&&d(k)?h(m(k)):k}})},(u,c,a)=>{u=a(2);var b=a(96),d=a(105);u({target:"Object",stat:!0},{fromEntries:function(m){var h={};b(m,function(k,p){d(h,k,p)},{AS_ENTRIES:!0});return h}})},(u,c,a)=>{u=a(2);c=a(6);var b=a(9),d=a(4).f;a=a(5);c=c(function(){d(1)});u({target:"Object",stat:!0,forced:!a||c,sham:!a},{getOwnPropertyDescriptor:function(m,h){return d(b(m),h)}})},(u,c,a)=>{u=a(2);c=a(5);var b=a(48),d=a(9),m=a(4),h=a(105);u({target:"Object",stat:!0,sham:!c},{getOwnPropertyDescriptors:function(k){k=
d(k);for(var p=m.f,l=b(k),g={},f=0,n,e;l.length>f;)e=p(k,n=l[f++]),void 0!==e&&h(g,n,e);return g}})},(u,c,a)=>{u=a(2);c=a(6);a=a(66).f;c=c(function(){return!Object.getOwnPropertyNames(1)});u({target:"Object",stat:!0,forced:c},{getOwnPropertyNames:a})},(u,c,a)=>{u=a(2);c=a(6);var b=a(33),d=a(91);a=a(92);c=c(function(){d(1)});u({target:"Object",stat:!0,forced:c,sham:!a},{getPrototypeOf:function(m){return d(b(m))}})},(u,c,a)=>{u=a(2);a=a(32);u({target:"Object",stat:!0},{hasOwn:a})},(u,c,a)=>{u=a(2);
a=a(252);u({target:"Object",stat:!0},{is:a})},u=>{u.exports=Object.is||function(c,a){return c===a?0!==c||1/c===1/a:c!=c&&a!=a}},(u,c,a)=>{u=a(2);c=a(6);var b=a(15),d=Object.isExtensible;a=c(function(){d(1)});u({target:"Object",stat:!0,forced:a},{isExtensible:function(m){return b(m)?d?d(m):!0:!1}})},(u,c,a)=>{u=a(2);c=a(6);var b=a(15),d=Object.isFrozen;a=c(function(){d(1)});u({target:"Object",stat:!0,forced:a},{isFrozen:function(m){return b(m)?d?d(m):!1:!0}})},(u,c,a)=>{u=a(2);c=a(6);var b=a(15),d=
Object.isSealed;a=c(function(){d(1)});u({target:"Object",stat:!0,forced:a},{isSealed:function(m){return b(m)?d?d(m):!1:!0}})},(u,c,a)=>{u=a(2);var b=a(33),d=a(64);a=a(6)(function(){d(1)});u({target:"Object",stat:!0,forced:a},{keys:function(m){return d(b(m))}})},(u,c,a)=>{u=a(2);c=a(5);var b=a(238),d=a(33),m=a(13),h=a(91),k=a(4).f;c&&u({target:"Object",proto:!0,forced:b},{__lookupGetter__:function(p){var l=d(this);p=m(p);var g;do if(g=k(l,p))return g.get;while(l=h(l))}})},(u,c,a)=>{u=a(2);c=a(5);var b=
a(238),d=a(33),m=a(13),h=a(91),k=a(4).f;c&&u({target:"Object",proto:!0,forced:b},{__lookupSetter__:function(p){var l=d(this);p=m(p);var g;do if(g=k(l,p))return g.set;while(l=h(l))}})},(u,c,a)=>{u=a(2);var b=a(15),d=a(189).onFreeze;c=a(190);a=a(6);var m=Object.preventExtensions;a=a(function(){m(1)});u({target:"Object",stat:!0,forced:a,sham:!c},{preventExtensions:function(h){return m&&b(h)?m(d(h)):h}})},(u,c,a)=>{u=a(2);var b=a(15),d=a(189).onFreeze;c=a(190);a=a(6);var m=Object.seal;a=a(function(){m(1)});
u({target:"Object",stat:!0,forced:a,sham:!c},{seal:function(h){return m&&b(h)?m(d(h)):h}})},(u,c,a)=>{u=a(2);a=a(93);u({target:"Object",stat:!0},{setPrototypeOf:a})},(u,c,a)=>{u=a(61);c=a(40);a=a(263);u||c(Object.prototype,"toString",a,{unsafe:!0})},(u,c,a)=>{c=a(61);var b=a(60);u.exports=c?{}.toString:function(){return"[object "+b(this)+"]"}},(u,c,a)=>{u=a(2);var b=a(243).values;u({target:"Object",stat:!0},{values:function(d){return b(d)}})},(u,c,a)=>{u=a(2);a=a(228);u({global:!0,forced:parseFloat!=
a},{parseFloat:a})},(u,c,a)=>{u=a(2);a=a(230);u({global:!0,forced:parseInt!=a},{parseInt:a})},(u,c,a)=>{u=a(2);var b=a(29),d=a(3);c=a(18);var m=a(268),h=a(40),k=a(157),p=a(93),l=a(70),g=a(150),f=a(24),n=a(16),e=a(15),q=a(158),t=a(41),r=a(96),v=a(124),z=a(164),E=a(269).set,A=a(271),D=a(274),F=a(276),C=a(275),B=a(277),I=a(42),J=a(57),M=a(27),P=a(278),O=a(139),N=a(21),L=M("species"),x=I.get,y=I.set,G=I.getterFor("Promise");a=m&&m.prototype;var K=m,R=a,Z=d.TypeError,aa=d.document,xa=d.process,X=C.f,wa=
X,ka=!!(aa&&aa.createEvent&&d.dispatchEvent),ra=n(d.PromiseRejectionEvent),qa=!1;v=(J=J("Promise",function(){var W=t(K),ia=W!==String(K);if(!ia&&66===N||b&&!R["finally"])return!0;if(51<=N&&/native code/.test(W))return!1;W=new K(function(ja){ja(1)});var na=function(ja){ja(function(){},function(){})};(W.constructor={})[L]=na;return(qa=W.then(function(){})instanceof na)?!ia&&P&&!ra:!0}))||!v(function(W){K.all(W)["catch"](function(){})});var va=function(W){var ia;return e(W)&&n(ia=W.then)?ia:!1},U=function(W,
ia){if(!W.notified){W.notified=!0;var na=W.reactions;A(function(){for(var ja=W.value,T=1==W.state,da=0;na.length>da;){var oa=na[da++],V=T?oa.ok:oa.fail,ha=oa.resolve,la=oa.reject,ua=oa.domain,ba;try{if(V){T||(2===W.rejection&&ma(W),W.rejection=1);if(!0===V)var w=ja;else if(ua&&ua.enter(),w=V(ja),ua){ua.exit();var H=!0}w===oa.promise?la(Z("Promise-chain cycle")):(ba=va(w))?ba.call(w,ha,la):ha(w)}else la(ja)}catch(Q){ua&&!H&&ua.exit(),la(Q)}}W.reactions=[];W.notified=!1;ia&&!W.rejection&&S(W)})}},pa=
function(W,ia,na){var ja;if(ka){var T=aa.createEvent("Event");T.promise=ia;T.reason=na;T.initEvent(W,!1,!0);d.dispatchEvent(T)}else T={promise:ia,reason:na};!ra&&(ja=d["on"+W])?ja(T):"unhandledrejection"===W&&F("Unhandled promise rejection",na)},S=function(W){E.call(d,function(){var ia=W.facade,na=W.value;if(1!==W.rejection&&!W.parent){var ja=B(function(){O?xa.emit("unhandledRejection",na,ia):pa("unhandledrejection",ia,na)});W.rejection=O||1!==W.rejection&&!W.parent?2:1;if(ja.error)throw ja.value;
}})},ma=function(W){E.call(d,function(){var ia=W.facade;O?xa.emit("rejectionHandled",ia):pa("rejectionhandled",ia,W.value)})},ya=function(W,ia,na){return function(ja){W(ia,ja,na)}},Ga=function(W,ia,na){W.done||(W.done=!0,na&&(W=na),W.value=ia,W.state=2,U(W,!0))},Ha=function(W,ia,na){if(!W.done){W.done=!0;na&&(W=na);try{if(W.facade===ia)throw Z("Promise can't be resolved itself");var ja=va(ia);ja?A(function(){var T={done:!1};try{ja.call(ia,ya(Ha,T,W),ya(Ga,T,W))}catch(da){Ga(T,da,W)}}):(W.value=ia,
W.state=1,U(W,!1))}catch(T){Ga({done:!1},T,W)}}};if(J){K=function(W){q(this,K,"Promise");f(W);ab.call(this);var ia=x(this);try{W(ya(Ha,ia),ya(Ga,ia))}catch(na){Ga(ia,na)}};R=K.prototype;var ab=function(W){y(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})};ab.prototype=k(R,{then:function(W,ia){var na=G(this),ja=X(z(this,K));ja.ok=n(W)?W:!0;ja.fail=n(ia)&&ia;ja.domain=O?xa.domain:void 0;na.parent=!0;na.reactions.push(ja);0!=na.state&&U(na,!1);return ja.promise},
"catch":function(W){return this.then(void 0,W)}});var ea=function(){var W=new ab,ia=x(W);this.promise=W;this.resolve=ya(Ha,ia);this.reject=ya(Ga,ia)};C.f=X=function(W){return W===K||W===Y?new ea(W):wa(W)};if(!b&&n(m)&&a!==Object.prototype){var za=a.then;qa||(h(a,"then",function(W,ia){var na=this;return(new K(function(ja,T){za.call(na,ja,T)})).then(W,ia)},{unsafe:!0}),h(a,"catch",R["catch"],{unsafe:!0}));try{delete a.constructor}catch(W){}p&&p(a,R)}}u({global:!0,wrap:!0,forced:J},{Promise:K});l(K,
"Promise",!1,!0);g("Promise");var Y=c("Promise");u({target:"Promise",stat:!0,forced:J},{reject:function(W){var ia=X(this);ia.reject.call(void 0,W);return ia.promise}});u({target:"Promise",stat:!0,forced:b||J},{resolve:function(W){return D(b&&this===Y?K:this,W)}});u({target:"Promise",stat:!0,forced:v},{all:function(W){var ia=this,na=X(ia),ja=na.resolve,T=na.reject,da=B(function(){var oa=f(ia.resolve),V=[],ha=0,la=1;r(W,function(ua){var ba=ha++,w=!1;V.push(void 0);la++;oa.call(ia,ua).then(function(H){w||
(w=!0,V[ba]=H,--la||ja(V))},T)});--la||ja(V)});da.error&&T(da.value);return na.promise},race:function(W){var ia=this,na=X(ia),ja=na.reject,T=B(function(){var da=f(ia.resolve);r(W,function(oa){da.call(ia,oa).then(na.resolve,ja)})});T.error&&ja(T.value);return na.promise}})},(u,c,a)=>{c=a(3);u.exports=c.Promise},(u,c,a)=>{var b=a(3),d=a(16),m=a(6);c=a(72);var h=a(65),k=a(36),p=a(270),l=a(139);a=b.setImmediate;var g=b.clearImmediate,f=b.process,n=b.MessageChannel,e=b.Dispatch,q=0,t={};try{var r=b.location}catch(F){}var v=
function(F){if(t.hasOwnProperty(F)){var C=t[F];delete t[F];C()}},z=function(F){return function(){v(F)}},E=function(F){v(F.data)},A=function(F){b.postMessage(String(F),r.protocol+"//"+r.host)};if(!a||!g)if(a=function(F){for(var C=[],B=arguments.length,I=1;B>I;)C.push(arguments[I++]);t[++q]=function(){(d(F)?F:Function(F)).apply(void 0,C)};D(q);return q},g=function(F){delete t[F]},l)var D=function(F){f.nextTick(z(F))};else e&&e.now?D=function(F){e.now(z(F))}:n&&!p?(m=new n,p=m.port2,m.port1.onmessage=
E,D=c(p.postMessage,p,1)):b.addEventListener&&d(b.postMessage)&&!b.importScripts&&r&&"file:"!==r.protocol&&!m(A)?(D=A,b.addEventListener("message",E,!1)):D="onreadystatechange"in k("script")?function(F){h.appendChild(k("script")).onreadystatechange=function(){h.removeChild(this);v(F)}}:function(F){setTimeout(z(F),0)};u.exports={set:a,clear:g}},(u,c,a)=>{c=a(22);u.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(c)},(u,c,a)=>{var b=a(3),d=a(4).f,m=a(269).set;c=a(270);var h=a(272),k=a(273),p=a(139);
a=b.MutationObserver||b.WebKitMutationObserver;var l=b.document,g=b.process,f=b.Promise;d=(d=d(b,"queueMicrotask"))&&d.value;var n,e;if(!d){var q=function(){var A;for(p&&(A=g.domain)&&A.exit();n;){var D=n.fn;n=n.next;try{D()}catch(F){throw n?v():e=void 0,F;}}e=void 0;A&&A.enter()};if(c||p||k||!a||!l)if(!h&&f&&f.resolve){var t=f.resolve(void 0);t.constructor=f;var r=t.then;var v=function(){r.call(t,q)}}else v=p?function(){g.nextTick(q)}:function(){m.call(b,q)};else{var z=!0;var E=l.createTextNode("");
(new a(q)).observe(E,{characterData:!0});v=function(){E.data=z=!z}}}u.exports=d||function(A){A={fn:A,next:void 0};e&&(e.next=A);n||(n=A,v());e=A}},(u,c,a)=>{c=a(22);a=a(3);u.exports=/ipad|iphone|ipod/i.test(c)&&void 0!==a.Pebble},(u,c,a)=>{c=a(22);u.exports=/web0s(?!.*chrome)/i.test(c)},(u,c,a)=>{var b=a(39),d=a(15),m=a(275);u.exports=function(h,k){b(h);if(d(k)&&k.constructor===h)return k;h=m.f(h);var p=h.resolve;p(k);return h.promise}},(u,c,a)=>{var b=a(24),d=function(m){var h,k;this.promise=new m(function(p,
l){if(void 0!==h||void 0!==k)throw TypeError("Bad Promise constructor");h=p;k=l});this.resolve=b(h);this.reject=b(k)};u.exports.f=function(m){return new d(m)}},(u,c,a)=>{var b=a(3);u.exports=function(d,m){var h=b.console;h&&h.error&&(1===arguments.length?h.error(d):h.error(d,m))}},u=>{u.exports=function(c){try{return{error:!1,value:c()}}catch(a){return{error:!0,value:a}}}},u=>{u.exports="object"==typeof window},(u,c,a)=>{u=a(2);var b=a(24),d=a(275),m=a(277),h=a(96);u({target:"Promise",stat:!0},{allSettled:function(k){var p=
this,l=d.f(p),g=l.resolve,f=l.reject,n=m(function(){var e=b(p.resolve),q=[],t=0,r=1;h(k,function(v){var z=t++,E=!1;q.push(void 0);r++;e.call(p,v).then(function(A){E||(E=!0,q[z]={status:"fulfilled",value:A},--r||g(q))},function(A){E||(E=!0,q[z]={status:"rejected",reason:A},--r||g(q))})});--r||g(q)});n.error&&f(n.value);return l.promise}})},(u,c,a)=>{u=a(2);var b=a(24),d=a(18),m=a(275),h=a(277),k=a(96);u({target:"Promise",stat:!0},{any:function(p){var l=this,g=m.f(l),f=g.resolve,n=g.reject,e=h(function(){var q=
b(l.resolve),t=[],r=0,v=1,z=!1;k(p,function(E){var A=r++,D=!1;t.push(void 0);v++;q.call(l,E).then(function(F){D||z||(z=!0,f(F))},function(F){D||z||(D=!0,t[A]=F,--v||n(new (d("AggregateError"))(t,"No one promise resolved")))})});--v||n(new (d("AggregateError"))(t,"No one promise resolved"))});e.error&&n(e.value);return g.promise}})},(u,c,a)=>{u=a(2);c=a(29);var b=a(268),d=a(6),m=a(18),h=a(16),k=a(164),p=a(274);a=a(40);d=!!b&&d(function(){b.prototype["finally"].call({then:function(){}},function(){})});
u({target:"Promise",proto:!0,real:!0,forced:d},{"finally":function(l){var g=k(this,m("Promise")),f=h(l);return this.then(f?function(n){return p(g,l()).then(function(){return n})}:l,f?function(n){return p(g,l()).then(function(){throw n;})}:l)}});!c&&h(b)&&(u=m("Promise").prototype["finally"],b.prototype["finally"]!==u&&a(b.prototype,"finally",u,{unsafe:!0}))},(u,c,a)=>{u=a(2);c=a(18);var b=a(24),d=a(39);a=a(6);var m=c("Reflect","apply"),h=Function.apply;a=!a(function(){m(function(){})});u({target:"Reflect",
stat:!0,forced:a},{apply:function(k,p,l){b(k);d(l);return m?m(k,p,l):h.call(k,p,l)}})},(u,c,a)=>{u=a(2);c=a(18);var b=a(165),d=a(39),m=a(15),h=a(62),k=a(181);a=a(6);var p=c("Reflect","construct"),l=a(function(){function f(){}return!(p(function(){},[],f)instanceof f)}),g=!a(function(){p(function(){})});a=l||g;u({target:"Reflect",stat:!0,forced:a,sham:a},{construct:function(f,n){b(f);d(n);var e=3>arguments.length?f:b(arguments[2]);if(g&&!l)return p(f,n,e);if(f==e){switch(n.length){case 0:return new f;
case 1:return new f(n[0]);case 2:return new f(n[0],n[1]);case 3:return new f(n[0],n[1],n[2]);case 4:return new f(n[0],n[1],n[2],n[3])}e=[null];e.push.apply(e,n);return new (k.apply(f,e))}e=e.prototype;e=h(m(e)?e:Object.prototype);var q=Function.apply.call(f,e,n);return m(q)?q:e}})},(u,c,a)=>{u=a(2);c=a(5);var b=a(39),d=a(13),m=a(38);a=a(6)(function(){Reflect.defineProperty(m.f({},1,{value:1}),1,{value:2})});u({target:"Reflect",stat:!0,forced:a,sham:!c},{defineProperty:function(h,k,p){b(h);k=d(k);
b(p);try{return m.f(h,k,p),!0}catch(l){return!1}}})},(u,c,a)=>{u=a(2);var b=a(39),d=a(4).f;u({target:"Reflect",stat:!0},{deleteProperty:function(m,h){var k=d(b(m),h);return k&&!k.configurable?!1:delete m[h]}})},(u,c,a)=>{function b(l,g){var f=3>arguments.length?l:arguments[2],n;if(m(l)===f)return l[g];if(n=k.f(l,g))return h(n)?n.value:void 0===n.get?void 0:n.get.call(f);if(d(n=p(l)))return b(n,g,f)}u=a(2);var d=a(15),m=a(39),h=a(287),k=a(4),p=a(91);u({target:"Reflect",stat:!0},{get:b})},(u,c,a)=>
{var b=a(32);u.exports=function(d){return void 0!==d&&(b(d,"value")||b(d,"writable"))}},(u,c,a)=>{u=a(2);c=a(5);var b=a(39),d=a(4);u({target:"Reflect",stat:!0,sham:!c},{getOwnPropertyDescriptor:function(m,h){return d.f(b(m),h)}})},(u,c,a)=>{u=a(2);var b=a(39),d=a(91);a=a(92);u({target:"Reflect",stat:!0,sham:!a},{getPrototypeOf:function(m){return d(b(m))}})},(u,c,a)=>{a(2)({target:"Reflect",stat:!0},{has:function(b,d){return d in b}})},(u,c,a)=>{u=a(2);var b=a(39),d=Object.isExtensible;u({target:"Reflect",
stat:!0},{isExtensible:function(m){b(m);return d?d(m):!0}})},(u,c,a)=>{u=a(2);a=a(48);u({target:"Reflect",stat:!0},{ownKeys:a})},(u,c,a)=>{u=a(2);var b=a(18),d=a(39);a=a(190);u({target:"Reflect",stat:!0,sham:!a},{preventExtensions:function(m){d(m);try{var h=b("Object","preventExtensions");h&&h(m);return!0}catch(k){return!1}}})},(u,c,a)=>{function b(f,n,e){var q=4>arguments.length?f:arguments[3],t=p.f(d(f),n);if(!t){if(m(t=l(f)))return b(t,n,e,q);t=g(0)}if(h(t)){if(!1===t.writable||!m(q))return!1;
if(t=p.f(q,n)){if(t.get||t.set||!1===t.writable)return!1;t.value=e;k.f(q,n,t)}else k.f(q,n,g(0,e))}else{t=t.set;if(void 0===t)return!1;t.call(q,e)}return!0}u=a(2);var d=a(39),m=a(15),h=a(287);c=a(6);var k=a(38),p=a(4),l=a(91),g=a(8);a=c(function(){var f=function(){},n=k.f(new f,"a",{configurable:!0});return!1!==Reflect.set(f.prototype,"a",1,n)});u({target:"Reflect",stat:!0,forced:a},{set:b})},(u,c,a)=>{u=a(2);var b=a(39),d=a(94),m=a(93);m&&u({target:"Reflect",stat:!0},{setPrototypeOf:function(h,k){b(h);
d(k);try{return m(h,k),!0}catch(p){return!1}}})},(u,c,a)=>{u=a(2);c=a(3);a=a(70);u({global:!0},{Reflect:{}});a(c.Reflect,"Reflect",!0)},(u,c,a)=>{var b=a(5);u=a(3);var d=a(57),m=a(191),h=a(37),k=a(38).f,p=a(49).f,l=a(298),g=a(59),f=a(299),n=a(300);c=a(40);var e=a(6),q=a(32),t=a(42).enforce,r=a(150),v=a(27),z=a(301),E=a(302),A=v("match"),D=u.RegExp,F=D.prototype,C=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,B=/a/g,I=/a/g;a=new D(B)!==B;var J=n.UNSUPPORTED_Y;a=b&&(!a||J||z||E||e(function(){I[A]=!1;return D(B)!=
B||D(I)==I||"/a/i"!=D(B,"i")}));if(d("RegExp",a)){var M=function(P,O){var N=this instanceof M,L=l(P),x=void 0===O,y=[],G=P,K,R;if(!N&&L&&x&&P.constructor===M)return P;if(L||P instanceof M)P=P.source,x&&(O="flags"in G?G.flags:f.call(G));P=void 0===P?"":g(P);O=void 0===O?"":g(O);G=P;z&&"dotAll"in B&&(K=!!O&&-1<O.indexOf("s"))&&(O=O.replace(/s/g,""));L=O;J&&"sticky"in B&&(R=!!O&&-1<O.indexOf("y"))&&(O=O.replace(/y/g,""));if(E){y=P.length;x=0;for(var Z="",aa=[],xa={},X=!1,wa=!1,ka=0,ra="",qa;x<=y;x++){qa=
P.charAt(x);if("\\"===qa)qa+=P.charAt(++x);else if("]"===qa)X=!1;else if(!X)switch(!0){case "["===qa:X=!0;break;case "("===qa:C.test(P.slice(x+1))&&(x+=2,wa=!0);Z+=qa;ka++;continue;case ">"===qa&&wa:if(""===ra||q(xa,ra))throw new SyntaxError("Invalid capture group name");xa[ra]=!0;aa.push([ra,ka]);wa=!1;ra="";continue}wa?ra+=qa:Z+=qa}y=[Z,aa];P=y[0];y=y[1]}O=m(D(P,O),N?this:F,M);if(K||R||y.length){N=t(O);if(K){N.dotAll=!0;K=M;x=P;Z=x.length;aa=0;xa="";for(X=!1;aa<=Z;aa++)wa=x.charAt(aa),"\\"===wa?
xa+=wa+x.charAt(++aa):X||"."!==wa?("["===wa?X=!0:"]"===wa&&(X=!1),xa+=wa):xa+="[\\s\\S]";N.raw=K(xa,L)}R&&(N.sticky=!0);y.length&&(N.groups=y)}if(P!==G)try{h(O,"source",""===G?"(?:)":G)}catch(va){}return O};a=function(P){P in M||k(M,P,{configurable:!0,get:function(){return D[P]},set:function(O){D[P]=O}})};p=p(D);for(d=0;p.length>d;)a(p[d++]);F.constructor=M;M.prototype=F;c(u,"RegExp",M)}r("RegExp")},(u,c,a)=>{var b=a(15),d=a(11),m=a(27)("match");u.exports=function(h){var k;return b(h)&&(void 0!==
(k=h[m])?!!k:"RegExp"==d(h))}},(u,c,a)=>{var b=a(39);u.exports=function(){var d=b(this),m="";d.global&&(m+="g");d.ignoreCase&&(m+="i");d.multiline&&(m+="m");d.dotAll&&(m+="s");d.unicode&&(m+="u");d.sticky&&(m+="y");return m}},(u,c,a)=>{u=a(6);var b=a(3).RegExp;c.UNSUPPORTED_Y=u(function(){var d=b("a","y");d.lastIndex=2;return null!=d.exec("abcd")});c.BROKEN_CARET=u(function(){var d=b("^r","gy");d.lastIndex=2;return null!=d.exec("str")})},(u,c,a)=>{c=a(6);var b=a(3).RegExp;u.exports=c(function(){var d=
b(".","s");return!(d.dotAll&&d.exec("\n")&&"s"===d.flags)})},(u,c,a)=>{c=a(6);var b=a(3).RegExp;u.exports=c(function(){var d=b("(?<a>b)","g");return"b"!==d.exec("b").groups.a||"bc"!=="b".replace(d,"$<a>c")})},(u,c,a)=>{u=a(5);c=a(301);var b=a(38).f,d=a(42).get,m=RegExp.prototype;u&&c&&b(m,"dotAll",{configurable:!0,get:function(){if(this!==m){if(this instanceof RegExp)return!!d(this).dotAll;throw TypeError("Incompatible receiver, RegExp required");}}})},(u,c,a)=>{u=a(2);a=a(305);u({target:"RegExp",
proto:!0,forced:/./.exec!==a},{exec:a})},(u,c,a)=>{var b=a(59),d=a(299);c=a(300);var m=a(28),h=a(62),k=a(42).get,p=a(301);a=a(302);var l=RegExp.prototype.exec,g=m("native-string-replace",String.prototype.replace),f=l,n=function(){var t=/a/,r=/b*/g;l.call(t,"a");l.call(r,"a");return 0!==t.lastIndex||0!==r.lastIndex}(),e=c.UNSUPPORTED_Y||c.BROKEN_CARET,q=void 0!==/()??/.exec("")[1];if(n||q||e||p||a)f=function(t){var r=k(this);t=b(t);var v=r.raw,z;if(v){v.lastIndex=this.lastIndex;var E=f.call(v,t);this.lastIndex=
v.lastIndex;return E}r=r.groups;v=e&&this.sticky;var A=d.call(this),D=this.source,F=0,C=t;v&&(A=A.replace("y",""),-1===A.indexOf("g")&&(A+="g"),C=t.slice(this.lastIndex),0<this.lastIndex&&(!this.multiline||this.multiline&&"\n"!==t.charAt(this.lastIndex-1))&&(D="(?: "+D+")",C=" "+C,F++),E=new RegExp("^(?:"+D+")",A));q&&(E=new RegExp("^"+D+"$(?!\\s)",A));if(n)var B=this.lastIndex;var I=l.call(v?E:this,C);v?I?(I.input=I.input.slice(F),I[0]=I[0].slice(F),I.index=this.lastIndex,this.lastIndex+=I[0].length):
this.lastIndex=0:n&&I&&(this.lastIndex=this.global?I.index+I[0].length:B);q&&I&&1<I.length&&g.call(I[0],E,function(){for(z=1;z<arguments.length-2;z++)void 0===arguments[z]&&(I[z]=void 0)});if(I&&r)for(I.groups=E=h(null),z=0;z<r.length;z++)B=r[z],E[B[0]]=I[B[1]];return I};u.exports=f},(u,c,a)=>{u=a(5);c=a(38);var b=a(299);a=a(6);u&&a(function(){return"sy"!==Object.getOwnPropertyDescriptor(RegExp.prototype,"flags").get.call({dotAll:!0,sticky:!0})})&&c.f(RegExp.prototype,"flags",{configurable:!0,get:b})},
(u,c,a)=>{u=a(5);c=a(300).UNSUPPORTED_Y;var b=a(38).f,d=a(42).get,m=RegExp.prototype;u&&c&&b(m,"sticky",{configurable:!0,get:function(){if(this!==m){if(this instanceof RegExp)return!!d(this).sticky;throw TypeError("Incompatible receiver, RegExp required");}}})},(u,c,a)=>{a(304);u=a(2);var b=a(16),d=a(15);a=function(){var h=!1,k=/[ac]/;k.exec=function(){h=!0;return/./.exec.apply(this,arguments)};return!0===k.test("abc")&&h}();var m=/./.test;u({target:"RegExp",proto:!0,forced:!a},{test:function(h){var k=
this.exec;if(!b(k))return m.call(this,h);h=k.call(this,h);if(null!==h&&!d(h))throw Error("RegExp exec method returned something other than an Object or null");return!!h}})},(u,c,a)=>{c=a(46).PROPER;u=a(40);var b=a(39),d=a(59),m=a(6),h=a(299),k=RegExp.prototype,p=k.toString;a=m(function(){return"/a/b"!=p.call({source:"a",flags:"b"})});c=c&&"toString"!=p.name;(a||c)&&u(RegExp.prototype,"toString",function(){var l=b(this),g=d(l.source),f=l.flags;l=d(void 0===f&&l instanceof RegExp&&!("flags"in k)?h.call(l):
f);return"/"+g+"/"+l},{unsafe:!0})},(u,c,a)=>{c=a(188);a=a(192);u.exports=c("Set",function(b){return function(){return b(this,arguments.length?arguments[0]:void 0)}},a)},(u,c,a)=>{u=a(2);var b=a(12),d=a(53),m=a(52),h=a(59);a=a(6)(function(){return"\ud842"!=="\ud842\udfb7".at(0)});u({target:"String",proto:!0,forced:a},{at:function(k){var p=h(b(this)),l=m(p.length);k=d(k);k=0<=k?k:l+k;return 0>k||k>=l?void 0:p.charAt(k)}})},(u,c,a)=>{u=a(2);var b=a(313).codeAt;u({target:"String",proto:!0},{codePointAt:function(d){return b(this,
d)}})},(u,c,a)=>{var b=a(53),d=a(59),m=a(12);c=function(h){return function(k,p){k=d(m(k));p=b(p);var l=k.length,g;if(0>p||p>=l)return h?"":void 0;var f=k.charCodeAt(p);return 55296>f||56319<f||p+1===l||56320>(g=k.charCodeAt(p+1))||57343<g?h?k.charAt(p):f:h?k.slice(p,p+2):(f-55296<<10)+(g-56320)+65536}};u.exports={codeAt:c(!1),charAt:c(!0)}},(u,c,a)=>{u=a(2);var b=a(4).f,d=a(52),m=a(59),h=a(315),k=a(12);c=a(316);a=a(29);var p="".endsWith,l=Math.min;c=c("endsWith");a=!a&&!c&&!!function(){var g=b(String.prototype,
"endsWith");return g&&!g.writable}();u({target:"String",proto:!0,forced:!a&&!c},{endsWith:function(g){var f=m(k(this));h(g);var n=1<arguments.length?arguments[1]:void 0,e=d(f.length);n=void 0===n?e:l(d(n),e);e=m(g);return p?p.call(f,e,n):f.slice(n-e.length,n)===e}})},(u,c,a)=>{var b=a(298);u.exports=function(d){if(b(d))throw TypeError("The method doesn't accept regular expressions");return d}},(u,c,a)=>{var b=a(27)("match");u.exports=function(d){var m=/./;try{"/./"[d](m)}catch(h){try{return m[b]=
!1,"/./"[d](m)}catch(k){}}return!1}},(u,c,a)=>{u=a(2);var b=a(54),d=String.fromCharCode;a=String.fromCodePoint;u({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(m){for(var h=[],k=arguments.length,p=0,l;k>p;){l=+arguments[p++];if(b(l,1114111)!==l)throw RangeError(l+" is not a valid code point");h.push(65536>l?d(l):d(((l-=65536)>>10)+55296,l%1024+56320))}return h.join("")}})},(u,c,a)=>{u=a(2);var b=a(315),d=a(12),m=a(59);a=a(316);u({target:"String",proto:!0,forced:!a("includes")},
{includes:function(h){return!!~m(d(this)).indexOf(m(b(h)),1<arguments.length?arguments[1]:void 0)}})},(u,c,a)=>{var b=a(313).charAt,d=a(59);u=a(42);a=a(129);var m=u.set,h=u.getterFor("String Iterator");a(String,"String",function(k){m(this,{type:"String Iterator",string:d(k),index:0})},function(){var k=h(this),p=k.string,l=k.index;if(l>=p.length)return{value:void 0,done:!0};p=b(p,l);k.index+=p.length;return{value:p,done:!1}})},(u,c,a)=>{u=a(321);var b=a(39),d=a(52),m=a(59),h=a(12),k=a(23),p=a(322),
l=a(323);u("match",function(g,f,n){return[function(e){var q=h(this),t=void 0==e?void 0:k(e,g);return t?t.call(e,q):(new RegExp(e))[g](m(q))},function(e){var q=b(this);e=m(e);var t=n(f,q,e);if(t.done)return t.value;if(!q.global)return l(q,e);t=q.unicode;q.lastIndex=0;for(var r=[],v=0,z;null!==(z=l(q,e));)z=m(z[0]),r[v]=z,""===z&&(q.lastIndex=p(e,d(q.lastIndex),t)),v++;return 0===v?null:r}]})},(u,c,a)=>{a(304);var b=a(40),d=a(305),m=a(6),h=a(27),k=a(37),p=h("species"),l=RegExp.prototype;u.exports=function(g,
f,n,e){var q=h(g),t=!m(function(){var z={};z[q]=function(){return 7};return 7!=""[g](z)}),r=t&&!m(function(){var z=!1,E=/a/;"split"===g&&(E={constructor:{}},E.constructor[p]=function(){return E},E.flags="",E[q]=/./[q]);E.exec=function(){z=!0;return null};E[q]("");return!z});if(!t||!r||n){var v=/./[q];f=f(q,""[g],function(z,E,A,D,F){var C=E.exec;return C===d||C===l.exec?t&&!F?{done:!0,value:v.call(E,A,D)}:{done:!0,value:z.call(A,E,D)}:{done:!1}});b(String.prototype,g,f[0]);b(l,q,f[1])}e&&k(l[q],"sham",
!0)}},(u,c,a)=>{var b=a(313).charAt;u.exports=function(d,m,h){return m+(h?b(d,m).length:1)}},(u,c,a)=>{var b=a(39),d=a(16),m=a(11),h=a(305);u.exports=function(k,p){var l=k.exec;if(d(l))return k=l.call(k,p),null!==k&&b(k),k;if("RegExp"===m(k))return h.call(k,p);throw TypeError("RegExp#exec called on incompatible receiver");}},(u,c,a)=>{u=a(2);c=a(130);var b=a(12),d=a(52),m=a(59),h=a(39),k=a(11),p=a(298),l=a(299),g=a(23),f=a(40),n=a(6),e=a(27),q=a(164),t=a(322),r=a(323),v=a(42),z=a(29),E=e("matchAll"),
A=v.set,D=v.getterFor("RegExp String Iterator"),F=RegExp.prototype,C="".matchAll,B=!!C&&!n(function(){"a".matchAll(/./)}),I=c(function(M,P,O,N){A(this,{type:"RegExp String Iterator",regexp:M,string:P,global:O,unicode:N,done:!1})},"RegExp String",function(){var M=D(this);if(M.done)return{value:void 0,done:!0};var P=M.regexp,O=M.string,N=r(P,O);if(null===N)return{value:void 0,done:M.done=!0};if(M.global)return""===m(N[0])&&(P.lastIndex=t(O,d(P.lastIndex),M.unicode)),{value:N,done:!1};M.done=!0;return{value:N,
done:!1}}),J=function(M){var P=h(this);M=m(M);var O=q(P,RegExp);var N=P.flags;void 0===N&&P instanceof RegExp&&!("flags"in F)&&(N=l.call(P));N=void 0===N?"":m(N);O=new O(O===RegExp?P.source:P,N);var L=!!~N.indexOf("g");N=!!~N.indexOf("u");O.lastIndex=d(P.lastIndex);return new I(O,M,L,N)};u({target:"String",proto:!0,forced:B},{matchAll:function(M){var P=b(this);if(null!=M){if(p(M)){var O=m(b("flags"in F?M.flags:l.call(M)));if(!~O.indexOf("g"))throw TypeError("`.matchAll` does not allow non-global regexes");
}if(B)return C.apply(P,arguments);O=g(M,E);void 0===O&&z&&"RegExp"==k(M)&&(O=J);if(O)return O.call(M,P)}else if(B)return C.apply(P,arguments);P=m(P);O=new RegExp(M,"g");return z?J.call(O,P):O[E](P)}});z||E in F||f(F,E,J)},(u,c,a)=>{u=a(2);var b=a(173).end;a=a(326);u({target:"String",proto:!0,forced:a},{padEnd:function(d){return b(this,d,1<arguments.length?arguments[1]:void 0)}})},(u,c,a)=>{c=a(22);u.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(c)},(u,c,a)=>{u=a(2);
var b=a(173).start;a=a(326);u({target:"String",proto:!0,forced:a},{padStart:function(d){return b(this,d,1<arguments.length?arguments[1]:void 0)}})},(u,c,a)=>{u=a(2);var b=a(9),d=a(33),m=a(52),h=a(59);a=Array.prototype;var k=a.push,p=a.join;u({target:"String",stat:!0},{raw:function(l){for(var g=b(d(l).raw),f=m(g.length),n=arguments.length,e=[],q=0;f>q;)k.call(e,h(g[q++])),q<n&&k.call(e,h(arguments[q]));return p.call(e,"")}})},(u,c,a)=>{u=a(2);a=a(174);u({target:"String",proto:!0},{repeat:a})},(u,c,
a)=>{u=a(321);c=a(6);var b=a(39),d=a(16),m=a(53),h=a(52),k=a(59),p=a(12),l=a(322),g=a(23),f=a(331),n=a(323),e=a(27)("replace"),q=Math.max,t=Math.min,r=function(z){return void 0===z?z:String(z)};a="$0"==="a".replace(/./,"$0");var v=/./[e]?""===/./[e]("a","$0"):!1;c=!c(function(){var z=/./;z.exec=function(){var E=[];E.groups={a:"7"};return E};return"7"!=="".replace(z,"$<a>")});u("replace",function(z,E,A){var D=v?"$":"$0";return[function(F,C){var B=p(this),I=void 0==F?void 0:g(F,e);return I?I.call(F,
B,C):E.call(k(B),F,C)},function(F,C){var B=b(this);F=k(F);if("string"===typeof C&&-1===C.indexOf(D)&&-1===C.indexOf("$<")){var I=A(E,B,F,C);if(I.done)return I.value}(I=d(C))||(C=k(C));var J=B.global;if(J){var M=B.unicode;B.lastIndex=0}for(var P=[];;){var O=n(B,F);if(null===O)break;P.push(O);if(!J)break;""===k(O[0])&&(B.lastIndex=l(F,h(B.lastIndex),M))}B="";for(J=M=0;J<P.length;J++){O=P[J];for(var N=k(O[0]),L=q(t(m(O.index),F.length),0),x=[],y=1;y<O.length;y++)x.push(r(O[y]));O=O.groups;I?(x=[N].concat(x,
L,F),void 0!==O&&x.push(O),O=k(C.apply(void 0,x))):O=f(N,F,L,x,O,C);L>=M&&(B+=F.slice(M,L)+O,M=L+N.length)}return B+F.slice(M)}]},!c||!a||v)},(u,c,a)=>{var b=a(33),d=Math.floor,m="".replace,h=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,k=/\$([$&'`]|\d{1,2})/g;u.exports=function(p,l,g,f,n,e){var q=g+p.length,t=f.length,r=k;void 0!==n&&(n=b(n),r=h);return m.call(e,r,function(v,z){switch(z.charAt(0)){case "$":return"$";case "&":return p;case "`":return l.slice(0,g);case "'":return l.slice(q);case "<":v=n[z.slice(1,
-1)];break;default:var E=+z;if(0===E)return v;if(E>t)return E=d(E/10),0===E?v:E<=t?void 0===f[E-1]?z.charAt(1):f[E-1]+z.charAt(1):v;v=f[E-1]}return void 0===v?"":v})}},(u,c,a)=>{u=a(2);var b=a(12),d=a(16),m=a(298),h=a(59),k=a(23),p=a(299),l=a(331);c=a(27);var g=a(29),f=c("replace"),n=RegExp.prototype,e=Math.max;u({target:"String",proto:!0},{replaceAll:function(q,t){var r=b(this),v,z,E=0,A="";if(null!=q){if(v=m(q)){var D=h(b("flags"in n?q.flags:p.call(q)));if(!~D.indexOf("g"))throw TypeError("`.replaceAll` does not allow non-global regexes");
}if(D=k(q,f))return D.call(q,r,t);if(g&&v)return h(r).replace(q,t)}r=h(r);q=h(q);(v=d(t))||(t=h(t));D=q.length;var F=e(1,D);for(z=0>r.length?-1:""===q?0:r.indexOf(q,0);-1!==z;){var C=v?h(t(q,z,r)):l(q,r,z,[],void 0,t);A+=r.slice(E,z)+C;E=z+D;C=z+F;z=C>r.length?-1:""===q?C:r.indexOf(q,C)}E<r.length&&(A+=r.slice(E));return A}})},(u,c,a)=>{u=a(321);var b=a(39),d=a(12),m=a(252),h=a(59),k=a(23),p=a(323);u("search",function(l,g,f){return[function(n){var e=d(this),q=void 0==n?void 0:k(n,l);return q?q.call(n,
e):(new RegExp(n))[l](h(e))},function(n){var e=b(this);n=h(n);var q=f(g,e,n);if(q.done)return q.value;q=e.lastIndex;m(q,0)||(e.lastIndex=0);n=p(e,n);m(e.lastIndex,q)||(e.lastIndex=q);return null===n?-1:n.index}]})},(u,c,a)=>{u=a(321);var b=a(298),d=a(39),m=a(12),h=a(164),k=a(322),p=a(52),l=a(59),g=a(23),f=a(323),n=a(305);c=a(300);a=a(6);var e=c.UNSUPPORTED_Y,q=[].push,t=Math.min;a=!a(function(){var r=/(?:)/,v=r.exec;r.exec=function(){return v.apply(this,arguments)};r="ab".split(r);return 2!==r.length||
"a"!==r[0]||"b"!==r[1]});u("split",function(r,v,z){var E="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||1<".".split(/()()/).length||"".split(/.?/).length?function(A,D){var F=l(m(this));D=void 0===D?4294967295:D>>>0;if(0===D)return[];if(void 0===A)return[F];if(!b(A))return v.call(F,A,D);var C=[],B=0;A=new RegExp(A.source,(A.ignoreCase?"i":"")+(A.multiline?"m":"")+(A.unicode?"u":"")+(A.sticky?"y":"")+"g");for(var I,
J,M;I=n.call(A,F);){J=A.lastIndex;if(J>B&&(C.push(F.slice(B,I.index)),1<I.length&&I.index<F.length&&q.apply(C,I.slice(1)),M=I[0].length,B=J,C.length>=D))break;A.lastIndex===I.index&&A.lastIndex++}B===F.length?(M||!A.test(""))&&C.push(""):C.push(F.slice(B));return C.length>D?C.slice(0,D):C}:"0".split(void 0,0).length?function(A,D){return void 0===A&&0===D?[]:v.call(this,A,D)}:v;return[function(A,D){var F=m(this),C=void 0==A?void 0:g(A,r);return C?C.call(A,F,D):E.call(l(F),A,D)},function(A,D){var F=
d(this);A=l(A);var C=z(E,F,A,D,E!==v);if(C.done)return C.value;var B=h(F,RegExp);C=F.unicode;F=new B(e?"^(?:"+F.source+")":F,(F.ignoreCase?"i":"")+(F.multiline?"m":"")+(F.unicode?"u":"")+(e?"g":"y"));D=void 0===D?4294967295:D>>>0;if(0===D)return[];if(0===A.length)return null===f(F,A)?[A]:[];var I=0,J=0;for(B=[];J<A.length;){F.lastIndex=e?0:J;var M=f(F,e?A.slice(J):A),P;if(null===M||(P=t(p(F.lastIndex+(e?J:0)),A.length))===I)J=k(A,J,C);else{B.push(A.slice(I,J));if(B.length===D)return B;for(I=1;I<=
M.length-1;I++)if(B.push(M[I]),B.length===D)return B;J=I=P}}B.push(A.slice(I));return B}]},!a,e)},(u,c,a)=>{u=a(2);var b=a(4).f,d=a(52),m=a(59),h=a(315),k=a(12);c=a(316);a=a(29);var p="".startsWith,l=Math.min;c=c("startsWith");a=!a&&!c&&!!function(){var g=b(String.prototype,"startsWith");return g&&!g.writable}();u({target:"String",proto:!0,forced:!a&&!c},{startsWith:function(g){var f=m(k(this));h(g);var n=d(l(1<arguments.length?arguments[1]:void 0,f.length)),e=m(g);return p?p.call(f,e,n):f.slice(n,
n+e.length)===e}})},(u,c,a)=>{u=a(2);var b=a(12),d=a(53),m=a(59),h="".slice,k=Math.max,p=Math.min;a=!"".substr||"b"!=="ab".substr(-1);u({target:"String",proto:!0,forced:a},{substr:function(l,g){var f=m(b(this)),n=f.length;l=d(l);Infinity===l&&(l=0);0>l&&(l=k(n+l,0));g=void 0===g?n:d(g);if(0>=g||Infinity===g)return"";n=p(l+g,n);return l>=n?"":h.call(f,l,n)}})},(u,c,a)=>{u=a(2);var b=a(216).trim;a=a(338);u({target:"String",proto:!0,forced:a("trim")},{trim:function(){return b(this)}})},(u,c,a)=>{var b=
a(46).PROPER,d=a(6),m=a(217);u.exports=function(h){return d(function(){return!!m[h]()||"\u200b\u0085\u180e"!=="\u200b\u0085\u180e"[h]()||b&&m[h].name!==h})}},(u,c,a)=>{u=a(2);var b=a(216).end;c=(a=a(338)("trimEnd"))?function(){return b(this)}:"".trimEnd;u({target:"String",proto:!0,name:"trimEnd",forced:a},{trimEnd:c,trimRight:c})},(u,c,a)=>{u=a(2);var b=a(216).start;c=(a=a(338)("trimStart"))?function(){return b(this)}:"".trimStart;u({target:"String",proto:!0,name:"trimStart",forced:a},{trimStart:c,
trimLeft:c})},(u,c,a)=>{u=a(2);var b=a(342);a=a(343);u({target:"String",proto:!0,forced:a("anchor")},{anchor:function(d){return b(this,"a","name",d)}})},(u,c,a)=>{var b=a(12),d=a(59),m=/"/g;u.exports=function(h,k,p,l){h=d(b(h));var g="<"+k;""!==p&&(g+=" "+p+'="'+d(l).replace(m,"&quot;")+'"');return g+">"+h+"</"+k+">"}},(u,c,a)=>{var b=a(6);u.exports=function(d){return b(function(){var m=""[d]('"');return m!==m.toLowerCase()||3<m.split('"').length})}},(u,c,a)=>{u=a(2);var b=a(342);a=a(343);u({target:"String",
proto:!0,forced:a("big")},{big:function(){return b(this,"big","","")}})},(u,c,a)=>{u=a(2);var b=a(342);a=a(343);u({target:"String",proto:!0,forced:a("blink")},{blink:function(){return b(this,"blink","","")}})},(u,c,a)=>{u=a(2);var b=a(342);a=a(343);u({target:"String",proto:!0,forced:a("bold")},{bold:function(){return b(this,"b","","")}})},(u,c,a)=>{u=a(2);var b=a(342);a=a(343);u({target:"String",proto:!0,forced:a("fixed")},{fixed:function(){return b(this,"tt","","")}})},(u,c,a)=>{u=a(2);var b=a(342);
a=a(343);u({target:"String",proto:!0,forced:a("fontcolor")},{fontcolor:function(d){return b(this,"font","color",d)}})},(u,c,a)=>{u=a(2);var b=a(342);a=a(343);u({target:"String",proto:!0,forced:a("fontsize")},{fontsize:function(d){return b(this,"font","size",d)}})},(u,c,a)=>{u=a(2);var b=a(342);a=a(343);u({target:"String",proto:!0,forced:a("italics")},{italics:function(){return b(this,"i","","")}})},(u,c,a)=>{u=a(2);var b=a(342);a=a(343);u({target:"String",proto:!0,forced:a("link")},{link:function(d){return b(this,
"a","href",d)}})},(u,c,a)=>{u=a(2);var b=a(342);a=a(343);u({target:"String",proto:!0,forced:a("small")},{small:function(){return b(this,"small","","")}})},(u,c,a)=>{u=a(2);var b=a(342);a=a(343);u({target:"String",proto:!0,forced:a("strike")},{strike:function(){return b(this,"strike","","")}})},(u,c,a)=>{u=a(2);var b=a(342);a=a(343);u({target:"String",proto:!0,forced:a("sub")},{sub:function(){return b(this,"sub","","")}})},(u,c,a)=>{u=a(2);var b=a(342);a=a(343);u({target:"String",proto:!0,forced:a("sup")},
{sup:function(){return b(this,"sup","","")}})},(u,c,a)=>{a(357)("Float32",function(b){return function(d,m,h){return b(this,d,m,h)}})},(u,c,a)=>{var b=a(2),d=a(3);c=a(5);var m=a(358),h=a(162),k=a(155),p=a(158),l=a(8),g=a(37),f=a(222),n=a(52),e=a(159),q=a(359),t=a(13),r=a(32),v=a(60),z=a(15),E=a(17),A=a(62),D=a(93),F=a(49).f,C=a(361),B=a(71).forEach,I=a(150),J=a(38),M=a(4),P=a(42),O=a(191),N=P.get,L=P.set,x=J.f,y=M.f,G=Math.round,K=d.RangeError,R=k.ArrayBuffer,Z=k.DataView,aa=h.NATIVE_ARRAY_BUFFER_VIEWS,
xa=h.TYPED_ARRAY_CONSTRUCTOR,X=h.TYPED_ARRAY_TAG,wa=h.TypedArray,ka=h.TypedArrayPrototype,ra=h.aTypedArrayConstructor,qa=h.isTypedArray,va=function(S,ma){var ya=0,Ga=ma.length;for(S=new (ra(S))(Ga);Ga>ya;)S[ya]=ma[ya++];return S};a=function(S,ma){x(S,ma,{get:function(){return N(this)[ma]}})};var U=function(S){var ma;return S instanceof R||"ArrayBuffer"==(ma=v(S))||"SharedArrayBuffer"==ma},pa=function(S,ma){return qa(S)&&!E(ma)&&ma in S&&f(+ma)&&0<=ma};h=function(S,ma){ma=t(ma);return pa(S,ma)?l(2,
S[ma]):y(S,ma)};k=function(S,ma,ya){ma=t(ma);return!(pa(S,ma)&&z(ya)&&r(ya,"value"))||r(ya,"get")||r(ya,"set")||ya.configurable||r(ya,"writable")&&!ya.writable||r(ya,"enumerable")&&!ya.enumerable?x(S,ma,ya):(S[ma]=ya.value,S)};c?(aa||(M.f=h,J.f=k,a(ka,"buffer"),a(ka,"byteOffset"),a(ka,"byteLength"),a(ka,"length")),b({target:"Object",stat:!0,forced:!aa},{getOwnPropertyDescriptor:h,defineProperty:k}),u.exports=function(S,ma,ya){var Ga=S.match(/\d+$/)[0]/8,Ha=S+(ya?"Clamped":"")+"Array",ab="get"+S,ea=
"set"+S,za=d[Ha],Y=za;S=Y&&Y.prototype;var W={},ia=function(na,ja){x(na,ja,{get:function(){var T=N(this);return T.view[ab](ja*Ga+T.byteOffset,!0)},set:function(T){var da=N(this);ya&&(T=0>(T=G(T))?0:255<T?255:T&255);da.view[ea](ja*Ga+da.byteOffset,T,!0)},enumerable:!0})};aa?m&&(Y=ma(function(na,ja,T,da){p(na,Y,Ha);return O(z(ja)?U(ja)?void 0!==da?new za(ja,q(T,Ga),da):void 0!==T?new za(ja,q(T,Ga)):new za(ja):qa(ja)?va(Y,ja):C.call(Y,ja):new za(e(ja)),na,Y)}),D&&D(Y,wa),B(F(za),function(na){na in Y||
g(Y,na,za[na])}),Y.prototype=S):(Y=ma(function(na,ja,T,da){p(na,Y,Ha);var oa=0,V=0;if(z(ja))if(U(ja)){var ha=ja;V=q(T,Ga);ja=ja.byteLength;if(void 0===da){if(ja%Ga)throw K("Wrong length");da=ja-V;if(0>da)throw K("Wrong length");}else if(da=n(da)*Ga,da+V>ja)throw K("Wrong length");ja=da/Ga}else return qa(ja)?va(Y,ja):C.call(Y,ja);else ja=e(ja),da=ja*Ga,ha=new R(da);for(L(na,{buffer:ha,byteOffset:V,byteLength:da,length:ja,view:new Z(ha)});oa<ja;)ia(na,oa++)}),D&&D(Y,wa),S=Y.prototype=A(ka));S.constructor!==
Y&&g(S,"constructor",Y);g(S,xa,Y);X&&g(S,X,Ha);W[Ha]=Y;b({global:!0,forced:Y!=za,sham:!aa},W);"BYTES_PER_ELEMENT"in Y||g(Y,"BYTES_PER_ELEMENT",Ga);"BYTES_PER_ELEMENT"in S||g(S,"BYTES_PER_ELEMENT",Ga);I(Ha)}):u.exports=function(){}},(u,c,a)=>{c=a(3);var b=a(6),d=a(124);a=a(162).NATIVE_ARRAY_BUFFER_VIEWS;var m=c.ArrayBuffer,h=c.Int8Array;u.exports=!a||!b(function(){h(1)})||!b(function(){new h(-1)})||!d(function(k){new h;new h(null);new h(1.5);new h(k)},!0)||b(function(){return 1!==(new h(new m(2),1,
void 0)).length})},(u,c,a)=>{var b=a(360);u.exports=function(d,m){d=b(d);if(d%m)throw RangeError("Wrong offset");return d}},(u,c,a)=>{var b=a(53);u.exports=function(d){d=b(d);if(0>d)throw RangeError("The argument can't be less than 0");return d}},(u,c,a)=>{var b=a(165),d=a(33),m=a(52),h=a(99),k=a(100),p=a(97),l=a(72),g=a(162).aTypedArrayConstructor;u.exports=function(f){var n=b(this),e=d(f),q=arguments.length,t=1<q?arguments[1]:void 0,r=void 0!==t,v=k(e);if(v&&!p(v)){var z=h(e,v);var E=z.next;for(e=
[];!(v=E.call(z)).done;)e.push(v.value)}r&&2<q&&(t=l(t,arguments[2],2));q=m(e.length);v=new (g(n))(q);for(n=0;q>n;n++)v[n]=r?t(e[n],n):e[n];return v}},(u,c,a)=>{a(357)("Float64",function(b){return function(d,m,h){return b(this,d,m,h)}})},(u,c,a)=>{a(357)("Int8",function(b){return function(d,m,h){return b(this,d,m,h)}})},(u,c,a)=>{a(357)("Int16",function(b){return function(d,m,h){return b(this,d,m,h)}})},(u,c,a)=>{a(357)("Int32",function(b){return function(d,m,h){return b(this,d,m,h)}})},(u,c,a)=>
{a(357)("Uint8",function(b){return function(d,m,h){return b(this,d,m,h)}})},(u,c,a)=>{a(357)("Uint8",function(b){return function(d,m,h){return b(this,d,m,h)}},!0)},(u,c,a)=>{a(357)("Uint16",function(b){return function(d,m,h){return b(this,d,m,h)}})},(u,c,a)=>{a(357)("Uint32",function(b){return function(d,m,h){return b(this,d,m,h)}})},(u,c,a)=>{u=a(162);var b=a(52),d=a(53),m=u.aTypedArray;a=u.exportTypedArrayMethod;a("at",function(h){var k=m(this),p=b(k.length);h=d(h);h=0<=h?h:p+h;return 0>h||h>=p?
void 0:k[h]})},(u,c,a)=>{u=a(162);var b=a(108),d=u.aTypedArray;a=u.exportTypedArrayMethod;a("copyWithin",function(m,h){return b.call(d(this),m,h,2<arguments.length?arguments[2]:void 0)})},(u,c,a)=>{u=a(162);var b=a(71).every,d=u.aTypedArray;a=u.exportTypedArrayMethod;a("every",function(m){return b(d(this),m,1<arguments.length?arguments[1]:void 0)})},(u,c,a)=>{u=a(162);var b=a(112),d=u.aTypedArray;a=u.exportTypedArrayMethod;a("fill",function(m){return b.apply(d(this),arguments)})},(u,c,a)=>{u=a(162);
var b=a(71).filter,d=a(375),m=u.aTypedArray;a=u.exportTypedArrayMethod;a("filter",function(h){var k=b(m(this),h,1<arguments.length?arguments[1]:void 0);return d(this,k)})},(u,c,a)=>{var b=a(376),d=a(377);u.exports=function(m,h){return b(d(m),h)}},u=>{u.exports=function(c,a){var b=0,d=a.length;for(c=new c(d);d>b;)c[b]=a[b++];return c}},(u,c,a)=>{c=a(162);var b=a(164),d=c.TYPED_ARRAY_CONSTRUCTOR,m=c.aTypedArrayConstructor;u.exports=function(h){return m(b(h,h[d]))}},(u,c,a)=>{u=a(162);var b=a(71).find,
d=u.aTypedArray;a=u.exportTypedArrayMethod;a("find",function(m){return b(d(this),m,1<arguments.length?arguments[1]:void 0)})},(u,c,a)=>{u=a(162);var b=a(71).findIndex,d=u.aTypedArray;a=u.exportTypedArrayMethod;a("findIndex",function(m){return b(d(this),m,1<arguments.length?arguments[1]:void 0)})},(u,c,a)=>{u=a(162);var b=a(71).forEach,d=u.aTypedArray;a=u.exportTypedArrayMethod;a("forEach",function(m){b(d(this),m,1<arguments.length?arguments[1]:void 0)})},(u,c,a)=>{u=a(358);c=a(162).exportTypedArrayStaticMethod;
a=a(361);c("from",a,u)},(u,c,a)=>{u=a(162);var b=a(51).includes,d=u.aTypedArray;a=u.exportTypedArrayMethod;a("includes",function(m){return b(d(this),m,1<arguments.length?arguments[1]:void 0)})},(u,c,a)=>{u=a(162);var b=a(51).indexOf,d=u.aTypedArray;a=u.exportTypedArrayMethod;a("indexOf",function(m){return b(d(this),m,1<arguments.length?arguments[1]:void 0)})},(u,c,a)=>{var b=a(3);u=a(46).PROPER;c=a(162);var d=a(128);a=a(27)("iterator");b=b.Uint8Array;var m=d.values,h=d.keys,k=d.entries,p=c.aTypedArray;
c=c.exportTypedArrayMethod;d=b&&b.prototype[a];d=!!d&&"values"===d.name;b=function(){return m.call(p(this))};c("entries",function(){return k.call(p(this))});c("keys",function(){return h.call(p(this))});c("values",b,u&&!d);c(a,b,u&&!d)},(u,c,a)=>{u=a(162);var b=u.aTypedArray;u=u.exportTypedArrayMethod;var d=[].join;u("join",function(m){return d.apply(b(this),arguments)})},(u,c,a)=>{u=a(162);var b=a(134),d=u.aTypedArray;a=u.exportTypedArrayMethod;a("lastIndexOf",function(m){return b.apply(d(this),arguments)})},
(u,c,a)=>{u=a(162);var b=a(71).map,d=a(377),m=u.aTypedArray;a=u.exportTypedArrayMethod;a("map",function(h){return b(m(this),h,1<arguments.length?arguments[1]:void 0,function(k,p){return new (d(k))(p)})})},(u,c,a)=>{u=a(162);a=a(358);var b=u.aTypedArrayConstructor;u=u.exportTypedArrayStaticMethod;u("of",function(){for(var d=0,m=arguments.length,h=new (b(this))(m);m>d;)h[d]=arguments[d++];return h},a)},(u,c,a)=>{u=a(162);var b=a(138).left,d=u.aTypedArray;a=u.exportTypedArrayMethod;a("reduce",function(m){return b(d(this),
m,arguments.length,1<arguments.length?arguments[1]:void 0)})},(u,c,a)=>{u=a(162);var b=a(138).right,d=u.aTypedArray;a=u.exportTypedArrayMethod;a("reduceRight",function(m){return b(d(this),m,arguments.length,1<arguments.length?arguments[1]:void 0)})},(u,c,a)=>{u=a(162);var b=u.aTypedArray;u=u.exportTypedArrayMethod;var d=Math.floor;u("reverse",function(){for(var m=b(this).length,h=d(m/2),k=0,p;k<h;)p=this[k],this[k++]=this[--m],this[m]=p;return this})},(u,c,a)=>{u=a(162);var b=a(52),d=a(359),m=a(33);
a=a(6);var h=u.aTypedArray;u=u.exportTypedArrayMethod;a=a(function(){(new Int8Array(1)).set({})});u("set",function(k){h(this);var p=d(1<arguments.length?arguments[1]:void 0,1),l=this.length,g=m(k),f=b(g.length),n=0;if(f+p>l)throw RangeError("Wrong length");for(;n<f;)this[p+n]=g[n++]},a)},(u,c,a)=>{u=a(162);var b=a(377);a=a(6);var d=u.aTypedArray;u=u.exportTypedArrayMethod;var m=[].slice;a=a(function(){(new Int8Array(1)).slice()});u("slice",function(h,k){h=m.call(d(this),h,k);var p=b(this);k=0;var l=
h.length;for(p=new p(l);l>k;)p[k]=h[k++];return p},a)},(u,c,a)=>{u=a(162);var b=a(71).some,d=u.aTypedArray;a=u.exportTypedArrayMethod;a("some",function(m){return b(d(this),m,1<arguments.length?arguments[1]:void 0)})},(u,c,a)=>{var b=a(162);c=a(3);u=a(6);var d=a(24),m=a(52),h=a(145),k=a(146),p=a(147),l=a(21),g=a(148),f=b.aTypedArray;a=b.exportTypedArrayMethod;var n=c.Uint16Array,e=n&&n.prototype.sort;c=!!e&&!u(function(){var r=new n(2);r.sort(null);r.sort({})});var q=!!e&&!u(function(){if(l)return 74>
l;if(k)return 67>k;if(p)return!0;if(g)return 602>g;var r=new n(516),v=Array(516),z;for(z=0;516>z;z++){var E=z%4;r[z]=515-z;v[z]=z-2*E+3}r.sort(function(A,D){return(A/4|0)-(D/4|0)});for(z=0;516>z;z++)if(r[z]!==v[z])return!0}),t=function(r){return function(v,z){return void 0!==r?+r(v,z)||0:z!==z?-1:v!==v?1:0===v&&0===z?0<1/v&&0>1/z?1:-1:v>z}};a("sort",function(r){void 0!==r&&d(r);if(q)return e.call(this,r);f(this);var v=m(this.length),z=Array(v),E;for(E=0;E<v;E++)z[E]=this[E];z=h(this,t(r));for(E=0;E<
v;E++)this[E]=z[E];return this},!q||c)},(u,c,a)=>{u=a(162);var b=a(52),d=a(54),m=a(377),h=u.aTypedArray;a=u.exportTypedArrayMethod;a("subarray",function(k,p){var l=h(this),g=l.length;k=d(k,g);return new (m(l))(l.buffer,l.byteOffset+k*l.BYTES_PER_ELEMENT,b((void 0===p?g:d(p,g))-k))})},(u,c,a)=>{u=a(3);c=a(162);a=a(6);var b=u.Int8Array,d=c.aTypedArray;u=c.exportTypedArrayMethod;var m=[].toLocaleString,h=[].slice,k=!!b&&a(function(){m.call(new b(1))});a=a(function(){return[1,2].toLocaleString()!=(new b([1,
2])).toLocaleString()})||!a(function(){b.prototype.toLocaleString.call([1,2])});u("toLocaleString",function(){return m.apply(k?h.call(d(this)):d(this),arguments)},a)},(u,c,a)=>{u=a(162).exportTypedArrayMethod;c=a(6);a=(a=a(3).Uint8Array)&&a.prototype||{};var b=[].toString,d=[].join;c(function(){b.call({})})&&(b=function(){return d.call(this)});u("toString",b,a.toString!=b)},(u,c,a)=>{u=a(2);var b=a(59),d=String.fromCharCode,m=/^[\da-f]{2}$/i,h=/^[\da-f]{4}$/i;u({global:!0},{unescape:function(k){k=
b(k);for(var p="",l=k.length,g=0,f,n;g<l;){f=k.charAt(g++);if("%"===f)if("u"===k.charAt(g)){if(n=k.slice(g+1,g+5),h.test(n)){p+=d(parseInt(n,16));g+=5;continue}}else if(n=k.slice(g,g+2),m.test(n)){p+=d(parseInt(n,16));g+=2;continue}p+=f}return p}})},(u,c,a)=>{var b=a(3);c=a(157);var d=a(189),m=a(188),h=a(401),k=a(15),p=a(42).enforce;a=a(43);b=!b.ActiveXObject&&"ActiveXObject"in b;var l=Object.isExtensible,g=function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}};u=u.exports=
m("WeakMap",g,h);if(a&&b){var f=h.getConstructor(g,"WeakMap",!0);d.enable();u=u.prototype;var n=u["delete"],e=u.has,q=u.get,t=u.set;c(u,{"delete":function(r){if(k(r)&&!l(r)){var v=p(this);v.frozen||(v.frozen=new f);return n.call(this,r)||v.frozen["delete"](r)}return n.call(this,r)},has:function(r){if(k(r)&&!l(r)){var v=p(this);v.frozen||(v.frozen=new f);return e.call(this,r)||v.frozen.has(r)}return e.call(this,r)},get:function(r){if(k(r)&&!l(r)){var v=p(this);v.frozen||(v.frozen=new f);return e.call(this,
r)?q.call(this,r):v.frozen.get(r)}return q.call(this,r)},set:function(r,v){if(k(r)&&!l(r)){var z=p(this);z.frozen||(z.frozen=new f);e.call(this,r)?t.call(this,r,v):z.frozen.set(r,v)}else t.call(this,r,v);return this}})}},(u,c,a)=>{var b=a(157),d=a(189).getWeakData,m=a(39),h=a(15),k=a(158),p=a(96);c=a(71);var l=a(32);a=a(42);var g=a.set,f=a.getterFor,n=c.find,e=c.findIndex,q=0,t=function(z){return z.frozen||(z.frozen=new r)},r=function(){this.entries=[]},v=function(z,E){return n(z.entries,function(A){return A[0]===
E})};r.prototype={get:function(z){if(z=v(this,z))return z[1]},has:function(z){return!!v(this,z)},set:function(z,E){var A=v(this,z);A?A[1]=E:this.entries.push([z,E])},"delete":function(z){var E=e(this.entries,function(A){return A[0]===z});~E&&this.entries.splice(E,1);return!!~E}};u.exports={getConstructor:function(z,E,A,D){var F=z(function(I,J){k(I,F,E);g(I,{type:E,id:q++,frozen:void 0});void 0!=J&&p(J,I[D],{that:I,AS_ENTRIES:A})}),C=f(E),B=function(I,J,M){var P=C(I),O=d(m(J),!0);!0===O?t(P).set(J,
M):O[P.id]=M;return I};b(F.prototype,{"delete":function(I){var J=C(this);if(!h(I))return!1;var M=d(I);return!0===M?t(J)["delete"](I):M&&l(M,J.id)&&delete M[J.id]},has:function(I){var J=C(this);if(!h(I))return!1;var M=d(I);return!0===M?t(J).has(I):M&&l(M,J.id)}});b(F.prototype,A?{get:function(I){var J=C(this);if(h(I)){var M=d(I);return!0===M?t(J).get(I):M?M[J.id]:void 0}},set:function(I,J){return B(this,I,J)}}:{add:function(I){return B(this,I,!0)}});return F}}},(u,c,a)=>{u=a(188);a=a(401);u("WeakSet",
function(b){return function(){return b(this,arguments.length?arguments[0]:void 0)}},a)},(u,c,a)=>{u=a(3);c=a(404);var b=a(405),d=a(120),m=a(37);a=function(k){if(k&&k.forEach!==d)try{m(k,"forEach",d)}catch(p){k.forEach=d}};for(var h in c)c[h]&&a(u[h]&&u[h].prototype);a(b)},u=>{u.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,
MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},(u,c,a)=>{c=(c=a(36)("span").classList)&&c.constructor&&c.constructor.prototype;u.exports=c===Object.prototype?void 0:c},(u,c,a)=>{u=a(3);var b=a(404);c=a(405);var d=a(128),m=a(37);a=a(27);var h=a("iterator"),k=a("toStringTag"),
p=d.values;a=function(g,f){if(g){if(g[h]!==p)try{m(g,h,p)}catch(e){g[h]=p}g[k]||m(g,k,f);if(b[f])for(var n in d)if(g[n]!==d[n])try{m(g,n,d[n])}catch(e){g[n]=d[n]}}};for(var l in b)a(u[l]&&u[l].prototype,l);a(c,"DOMTokenList")},(u,c,a)=>{u=a(2);c=a(3);a=a(269);u({global:!0,bind:!0,enumerable:!0,forced:!c.setImmediate||!c.clearImmediate},{setImmediate:a.set,clearImmediate:a.clear})},(u,c,a)=>{u=a(2);c=a(3);var b=a(271),d=a(139),m=c.process;u({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(h){var k=
d&&m.domain;b(k?k.bind(h):h)}})},(u,c,a)=>{u=a(2);c=a(3);var b=a(16);a=a(22);var d=[].slice;a=/MSIE .\./.test(a);var m=function(h){return function(k,p){var l=2<arguments.length,g=l?d.call(arguments,2):void 0;return h(l?function(){(b(k)?k:Function(k)).apply(this,g)}:k,p)}};u({global:!0,bind:!0,forced:a},{setTimeout:m(c.setTimeout),setInterval:m(c.setInterval)})},(u,c,a)=>{a(319);u=a(2);var b=a(5);c=a(411);var d=a(3),m=a(63),h=a(40),k=a(158),p=a(32),l=a(235),g=a(122),f=a(313).codeAt,n=a(412),e=a(59),
q=a(70),t=a(413);a=a(42);var r=d.URL,v=t.URLSearchParams,z=t.getState,E=a.set,A=a.getterFor("URL"),D=Math.floor,F=Math.pow,C=/[A-Za-z]/,B=/[\d+-.A-Za-z]/,I=/\d/,J=/^0x/i,M=/^[0-7]+$/,P=/^\d+$/,O=/^[\dA-Fa-f]+$/,N=/[\0\t\n\r #%/:<>?@[\\\]^|]/,L=/[\0\t\n\r #/:<>?@[\\\]^|]/,x=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,y=/[\t\n\r]/g,G=function(sa,Aa){var Ja;if("["==Aa.charAt(0)){if("]"!=Aa.charAt(Aa.length-1))return"Invalid host";var Ka=R(Aa.slice(1,-1));if(!Ka)return"Invalid host"}else if(qa(sa)){Aa=n(Aa);
if(N.test(Aa))return"Invalid host";Ka=K(Aa);if(null===Ka)return"Invalid host"}else{if(L.test(Aa))return"Invalid host";Ka="";Aa=g(Aa);for(Ja=0;Ja<Aa.length;Ja++)Ka+=ka(Aa[Ja],aa)}sa.host=Ka},K=function(sa){var Aa=sa.split("."),Ja;Aa.length&&""==Aa[Aa.length-1]&&Aa.pop();var Ka=Aa.length;if(4<Ka)return sa;var Ma=[];for(Ja=0;Ja<Ka;Ja++){var Za=Aa[Ja];if(""==Za)return sa;var Pa=10;1<Za.length&&"0"==Za.charAt(0)&&(Pa=J.test(Za)?16:8,Za=Za.slice(8==Pa?1:2));if(""===Za)Za=0;else{if(!(10==Pa?P:8==Pa?M:O).test(Za))return sa;
Za=parseInt(Za,Pa)}Ma.push(Za)}for(Ja=0;Ja<Ka;Ja++)if(Za=Ma[Ja],Ja==Ka-1){if(Za>=F(256,5-Ka))return null}else if(255<Za)return null;sa=Ma.pop();for(Ja=0;Ja<Ma.length;Ja++)sa+=Ma[Ja]*F(256,3-Ja);return sa},R=function(sa){var Aa=[0,0,0,0,0,0,0,0],Ja=0,Ka=null,Ma=0,Za,Pa;var fb=function(){return sa.charAt(Ma)};if(":"==fb()){if(":"!=sa.charAt(1))return;Ma+=2;Ja++;Ka=Ja}for(;fb();){if(8==Ja)return;if(":"==fb()){if(null!==Ka)return;Ma++;Ja++;Ka=Ja}else{for(Za=Pa=0;4>Pa&&O.test(fb());)Za=16*Za+parseInt(fb(),
16),Ma++,Pa++;if("."==fb()){if(0==Pa)return;Ma-=Pa;if(6<Ja)return;for(Za=0;fb();){Pa=null;if(0<Za)if("."==fb()&&4>Za)Ma++;else return;if(!I.test(fb()))return;for(;I.test(fb());){var rb=parseInt(fb(),10);if(null===Pa)Pa=rb;else{if(0==Pa)return;Pa=10*Pa+rb}if(255<Pa)return;Ma++}Aa[Ja]=256*Aa[Ja]+Pa;Za++;2!=Za&&4!=Za||Ja++}if(4!=Za)return;break}else if(":"==fb()){if(Ma++,!fb())return}else if(fb())return;Aa[Ja++]=Za}}if(null!==Ka)for(fb=Ja-Ka,Ja=7;0!=Ja&&0<fb;)Za=Aa[Ja],Aa[Ja--]=Aa[Ka+fb-1],Aa[Ka+--fb]=
Za;else if(8!=Ja)return;return Aa},Z=function(sa){var Aa,Ja;if("number"==typeof sa){var Ka=[];for(Aa=0;4>Aa;Aa++)Ka.unshift(sa%256),sa=D(sa/256);return Ka.join(".")}if("object"==typeof sa){Ka="";Aa=null;var Ma=1;for(var Za=null,Pa=0,fb=0;8>fb;fb++)0!==sa[fb]?(Pa>Ma&&(Aa=Za,Ma=Pa),Za=null,Pa=0):(null===Za&&(Za=fb),++Pa);Pa>Ma&&(Aa=Za);Ma=Aa;for(Aa=0;8>Aa;Aa++)Ja&&0===sa[Aa]||(Ja&&(Ja=!1),Ma===Aa?(Ka+=Aa?":":"::",Ja=!0):(Ka+=sa[Aa].toString(16),7>Aa&&(Ka+=":")));return"["+Ka+"]"}return sa},aa={},xa=
l({},aa,{" ":1,'"':1,"<":1,">":1,"`":1}),X=l({},xa,{"#":1,"?":1,"{":1,"}":1}),wa=l({},X,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ka=function(sa,Aa){var Ja=f(sa,0);return 32<Ja&&127>Ja&&!p(Aa,sa)?sa:encodeURIComponent(sa)},ra={ftp:21,file:null,http:80,https:443,ws:80,wss:443},qa=function(sa){return p(ra,sa.scheme)},va=function(sa){return!sa.host||sa.cannotBeABaseURL||"file"==sa.scheme},U=function(sa,Aa){var Ja;return 2==sa.length&&C.test(sa.charAt(0))&&(":"==(Ja=sa.charAt(1))||
!Aa&&"|"==Ja)},pa=function(sa){var Aa;return 1<sa.length&&U(sa.slice(0,2))&&(2==sa.length||"/"===(Aa=sa.charAt(2))||"\\"===Aa||"?"===Aa||"#"===Aa)},S=function(sa){var Aa=sa.path,Ja=Aa.length;!Ja||"file"==sa.scheme&&1==Ja&&U(Aa[0],!0)||Aa.pop()},ma={},ya={},Ga={},Ha={},ab={},ea={},za={},Y={},W={},ia={},na={},ja={},T={},da={},oa={},V={},ha={},la={},ua={},ba={},w={},H=function(sa,Aa,Ja,Ka){var Ma=Ja||ma,Za=0,Pa="",fb=!1,rb=!1,nb=!1;Ja||(sa.scheme="",sa.username="",sa.password="",sa.host=null,sa.port=
null,sa.path=[],sa.query=null,sa.fragment=null,sa.cannotBeABaseURL=!1,Aa=Aa.replace(x,""));Aa=Aa.replace(y,"");for(Aa=g(Aa);Za<=Aa.length;){var Ia=Aa[Za];switch(Ma){case ma:if(Ia&&C.test(Ia))Pa+=Ia.toLowerCase(),Ma=ya;else{if(Ja)return"Invalid scheme";Ma=Ga;continue}break;case ya:if(Ia&&(B.test(Ia)||"+"==Ia||"-"==Ia||"."==Ia))Pa+=Ia.toLowerCase();else if(":"==Ia){if(Ja&&(qa(sa)!=p(ra,Pa)||"file"==Pa&&(""!=sa.username||""!=sa.password||null!==sa.port)||"file"==sa.scheme&&!sa.host))return;sa.scheme=
Pa;if(Ja){qa(sa)&&ra[sa.scheme]==sa.port&&(sa.port=null);return}Pa="";"file"==sa.scheme?Ma=da:qa(sa)&&Ka&&Ka.scheme==sa.scheme?Ma=Ha:qa(sa)?Ma=Y:"/"==Aa[Za+1]?(Ma=ab,Za++):(sa.cannotBeABaseURL=!0,sa.path.push(""),Ma=ua)}else{if(Ja)return"Invalid scheme";Pa="";Ma=Ga;Za=0;continue}break;case Ga:if(!Ka||Ka.cannotBeABaseURL&&"#"!=Ia)return"Invalid scheme";if(Ka.cannotBeABaseURL&&"#"==Ia){sa.scheme=Ka.scheme;sa.path=Ka.path.slice();sa.query=Ka.query;sa.fragment="";sa.cannotBeABaseURL=!0;Ma=w;break}Ma=
"file"==Ka.scheme?da:ea;continue;case Ha:if("/"==Ia&&"/"==Aa[Za+1])Ma=W,Za++;else{Ma=ea;continue}break;case ab:if("/"==Ia){Ma=ia;break}else{Ma=la;continue}case ea:sa.scheme=Ka.scheme;if(void 0==Ia)sa.username=Ka.username,sa.password=Ka.password,sa.host=Ka.host,sa.port=Ka.port,sa.path=Ka.path.slice(),sa.query=Ka.query;else if("/"==Ia||"\\"==Ia&&qa(sa))Ma=za;else if("?"==Ia)sa.username=Ka.username,sa.password=Ka.password,sa.host=Ka.host,sa.port=Ka.port,sa.path=Ka.path.slice(),sa.query="",Ma=ba;else if("#"==
Ia)sa.username=Ka.username,sa.password=Ka.password,sa.host=Ka.host,sa.port=Ka.port,sa.path=Ka.path.slice(),sa.query=Ka.query,sa.fragment="",Ma=w;else{sa.username=Ka.username;sa.password=Ka.password;sa.host=Ka.host;sa.port=Ka.port;sa.path=Ka.path.slice();sa.path.pop();Ma=la;continue}break;case za:if(!qa(sa)||"/"!=Ia&&"\\"!=Ia)if("/"==Ia)Ma=ia;else{sa.username=Ka.username;sa.password=Ka.password;sa.host=Ka.host;sa.port=Ka.port;Ma=la;continue}else Ma=W;break;case Y:Ma=W;if("/"!=Ia||"/"!=Pa.charAt(Za+
1))continue;Za++;break;case W:if("/"!=Ia&&"\\"!=Ia){Ma=ia;continue}break;case ia:if("@"==Ia){fb&&(Pa="%40"+Pa);fb=!0;Pa=g(Pa);for(Ia=0;Ia<Pa.length;Ia++){var pb=Pa[Ia];":"!=pb||nb?(pb=ka(pb,wa),nb?sa.password+=pb:sa.username+=pb):nb=!0}Pa=""}else if(void 0==Ia||"/"==Ia||"?"==Ia||"#"==Ia||"\\"==Ia&&qa(sa)){if(fb&&""==Pa)return"Invalid authority";Za-=g(Pa).length+1;Pa="";Ma=na}else Pa+=Ia;break;case na:case ja:if(Ja&&"file"==sa.scheme){Ma=V;continue}else if(":"!=Ia||rb)if(void 0==Ia||"/"==Ia||"?"==
Ia||"#"==Ia||"\\"==Ia&&qa(sa)){if(qa(sa)&&""==Pa)return"Invalid host";if(Ja&&""==Pa&&(""!=sa.username||""!=sa.password||null!==sa.port))return;if(Ma=G(sa,Pa))return Ma;Pa="";Ma=ha;if(Ja)return;continue}else"["==Ia?rb=!0:"]"==Ia&&(rb=!1),Pa+=Ia;else{if(""==Pa)return"Invalid host";if(Ma=G(sa,Pa))return Ma;Pa="";Ma=T;if(Ja==ja)return}break;case T:if(I.test(Ia))Pa+=Ia;else if(void 0==Ia||"/"==Ia||"?"==Ia||"#"==Ia||"\\"==Ia&&qa(sa)||Ja){if(""!=Pa){Ma=parseInt(Pa,10);if(65535<Ma)return"Invalid port";sa.port=
qa(sa)&&Ma===ra[sa.scheme]?null:Ma;Pa=""}if(Ja)return;Ma=ha;continue}else return"Invalid port";break;case da:sa.scheme="file";if("/"==Ia||"\\"==Ia)Ma=oa;else if(Ka&&"file"==Ka.scheme)if(void 0==Ia)sa.host=Ka.host,sa.path=Ka.path.slice(),sa.query=Ka.query;else if("?"==Ia)sa.host=Ka.host,sa.path=Ka.path.slice(),sa.query="",Ma=ba;else if("#"==Ia)sa.host=Ka.host,sa.path=Ka.path.slice(),sa.query=Ka.query,sa.fragment="",Ma=w;else{pa(Aa.slice(Za).join(""))||(sa.host=Ka.host,sa.path=Ka.path.slice(),S(sa));
Ma=la;continue}else{Ma=la;continue}break;case oa:if("/"==Ia||"\\"==Ia){Ma=V;break}Ka&&"file"==Ka.scheme&&!pa(Aa.slice(Za).join(""))&&(U(Ka.path[0],!0)?sa.path.push(Ka.path[0]):sa.host=Ka.host);Ma=la;continue;case V:if(void 0==Ia||"/"==Ia||"\\"==Ia||"?"==Ia||"#"==Ia){if(!Ja&&U(Pa))Ma=la;else{if(""==Pa){if(sa.host="",Ja)return}else{if(Ma=G(sa,Pa))return Ma;"localhost"==sa.host&&(sa.host="");if(Ja)return;Pa=""}Ma=ha}continue}else Pa+=Ia;break;case ha:if(qa(sa)){if(Ma=la,"/"!=Ia&&"\\"!=Ia)continue}else if(!Ja&&
"?"==Ia)sa.query="",Ma=ba;else if(!Ja&&"#"==Ia)sa.fragment="",Ma=w;else if(void 0!=Ia&&(Ma=la,"/"!=Ia))continue;break;case la:if(void 0==Ia||"/"==Ia||"\\"==Ia&&qa(sa)||!Ja&&("?"==Ia||"#"==Ia)){pb=Pa;pb=pb.toLowerCase();".."===pb||"%2e."===pb||".%2e"===pb||"%2e%2e"===pb?(S(sa),"/"==Ia||"\\"==Ia&&qa(sa)||sa.path.push("")):"."===Pa||"%2e"===Pa.toLowerCase()?"/"==Ia||"\\"==Ia&&qa(sa)||sa.path.push(""):("file"==sa.scheme&&!sa.path.length&&U(Pa)&&(sa.host&&(sa.host=""),Pa=Pa.charAt(0)+":"),sa.path.push(Pa));
Pa="";if("file"==sa.scheme&&(void 0==Ia||"?"==Ia||"#"==Ia))for(;1<sa.path.length&&""===sa.path[0];)sa.path.shift();"?"==Ia?(sa.query="",Ma=ba):"#"==Ia&&(sa.fragment="",Ma=w)}else Pa+=ka(Ia,X);break;case ua:"?"==Ia?(sa.query="",Ma=ba):"#"==Ia?(sa.fragment="",Ma=w):void 0!=Ia&&(sa.path[0]+=ka(Ia,aa));break;case ba:Ja||"#"!=Ia?void 0!=Ia&&("'"==Ia&&qa(sa)?sa.query+="%27":sa.query="#"==Ia?sa.query+"%23":sa.query+ka(Ia,aa)):(sa.fragment="",Ma=w);break;case w:void 0!=Ia&&(sa.fragment+=ka(Ia,xa))}Za++}},
Q=function(sa){var Aa=k(this,Q,"URL"),Ja=1<arguments.length?arguments[1]:void 0,Ka=e(sa),Ma=E(Aa,{type:"URL"});if(void 0!==Ja)if(Ja instanceof Q)var Za=A(Ja);else if(Ja=H(Za={},e(Ja)))throw TypeError(Ja);if(Ja=H(Ma,Ka,null,Za))throw TypeError(Ja);var Pa=Ma.searchParams=new v;Ka=z(Pa);Ka.updateSearchParams(Ma.query);Ka.updateURL=function(){Ma.query=String(Pa)||null};b||(Aa.href=ca.call(Aa),Aa.origin=ta.call(Aa),Aa.protocol=Ca.call(Aa),Aa.username=Ba.call(Aa),Aa.password=Ea.call(Aa),Aa.host=Ua.call(Aa),
Aa.hostname=Sa.call(Aa),Aa.port=Va.call(Aa),Aa.pathname=cb.call(Aa),Aa.search=gb.call(Aa),Aa.searchParams=lb.call(Aa),Aa.hash=ob.call(Aa))};a=Q.prototype;var ca=function(){var sa=A(this),Aa=sa.scheme,Ja=sa.username,Ka=sa.password,Ma=sa.host,Za=sa.port,Pa=sa.path,fb=sa.query,rb=sa.fragment,nb=Aa+":";if(null!==Ma){nb+="//";if(""!=sa.username||""!=sa.password)nb+=Ja+(Ka?":"+Ka:"")+"@";nb+=Z(Ma);null!==Za&&(nb+=":"+Za)}else"file"==Aa&&(nb+="//");nb+=sa.cannotBeABaseURL?Pa[0]:Pa.length?"/"+Pa.join("/"):
"";null!==fb&&(nb+="?"+fb);null!==rb&&(nb+="#"+rb);return nb},ta=function(){var sa=A(this),Aa=sa.scheme,Ja=sa.port;if("blob"==Aa)try{return(new Q(Aa.path[0])).origin}catch(Ka){return"null"}return"file"!=Aa&&qa(sa)?Aa+"://"+Z(sa.host)+(null!==Ja?":"+Ja:""):"null"},Ca=function(){return A(this).scheme+":"},Ba=function(){return A(this).username},Ea=function(){return A(this).password},Ua=function(){var sa=A(this),Aa=sa.host;sa=sa.port;return null===Aa?"":null===sa?Z(Aa):Z(Aa)+":"+sa},Sa=function(){var sa=
A(this).host;return null===sa?"":Z(sa)},Va=function(){var sa=A(this).port;return null===sa?"":String(sa)},cb=function(){var sa=A(this),Aa=sa.path;return sa.cannotBeABaseURL?Aa[0]:Aa.length?"/"+Aa.join("/"):""},gb=function(){var sa=A(this).query;return sa?"?"+sa:""},lb=function(){return A(this).searchParams},ob=function(){var sa=A(this).fragment;return sa?"#"+sa:""};d=function(sa,Aa){return{get:sa,set:Aa,configurable:!0,enumerable:!0}};b&&m(a,{href:d(ca,function(sa){var Aa=A(this);sa=e(sa);if(sa=H(Aa,
sa))throw TypeError(sa);z(Aa.searchParams).updateSearchParams(Aa.query)}),origin:d(ta),protocol:d(Ca,function(sa){var Aa=A(this);H(Aa,e(sa)+":",ma)}),username:d(Ba,function(sa){var Aa=A(this);sa=g(e(sa));if(!va(Aa)){Aa.username="";for(var Ja=0;Ja<sa.length;Ja++)Aa.username+=ka(sa[Ja],wa)}}),password:d(Ea,function(sa){var Aa=A(this);sa=g(e(sa));if(!va(Aa)){Aa.password="";for(var Ja=0;Ja<sa.length;Ja++)Aa.password+=ka(sa[Ja],wa)}}),host:d(Ua,function(sa){var Aa=A(this);Aa.cannotBeABaseURL||H(Aa,e(sa),
na)}),hostname:d(Sa,function(sa){var Aa=A(this);Aa.cannotBeABaseURL||H(Aa,e(sa),ja)}),port:d(Va,function(sa){var Aa=A(this);va(Aa)||(sa=e(sa),""==sa?Aa.port=null:H(Aa,sa,T))}),pathname:d(cb,function(sa){var Aa=A(this);Aa.cannotBeABaseURL||(Aa.path=[],H(Aa,e(sa),ha))}),search:d(gb,function(sa){var Aa=A(this);sa=e(sa);""==sa?Aa.query=null:("?"==sa.charAt(0)&&(sa=sa.slice(1)),Aa.query="",H(Aa,sa,ba));z(Aa.searchParams).updateSearchParams(Aa.query)}),searchParams:d(lb),hash:d(ob,function(sa){var Aa=A(this);
sa=e(sa);""==sa?Aa.fragment=null:("#"==sa.charAt(0)&&(sa=sa.slice(1)),Aa.fragment="",H(Aa,sa,w))})});h(a,"toJSON",function(){return ca.call(this)},{enumerable:!0});h(a,"toString",function(){return ca.call(this)},{enumerable:!0});if(r){var mb=r.createObjectURL,tb=r.revokeObjectURL;mb&&h(Q,"createObjectURL",function(sa){return mb.apply(r,arguments)});tb&&h(Q,"revokeObjectURL",function(sa){return tb.apply(r,arguments)})}q(Q,"URL");u({global:!0,forced:!c,sham:!b},{URL:Q})},(u,c,a)=>{c=a(6);var b=a(27),
d=a(29),m=b("iterator");u.exports=!c(function(){var h=new URL("b?a=1&b=2&c=3","http://a"),k=h.searchParams,p="";h.pathname="c%20d";k.forEach(function(l,g){k["delete"]("b");p+=g+l});return d&&!h.toJSON||!k.sort||"http://a/c%20d?a=1&c=3"!==h.href||"3"!==k.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!k[m]||"a"!==(new URL("https://a@b")).username||"b"!==(new URLSearchParams(new URLSearchParams("a=b"))).get("a")||"xn--e1aybc"!==(new URL("http://\u0442\u0435\u0441\u0442")).host||"#%D0%B1"!==
(new URL("http://a#\u0431")).hash||"a1c3"!==p||"x"!==(new URL("http://x",void 0)).host})},u=>{var c=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,b=Math.floor,d=String.fromCharCode,m=function(k){return k+22+75*(26>k)},h=function(k){for(var p=[],l=[],g=0,f=k.length;g<f;){var n=k.charCodeAt(g++);if(55296<=n&&56319>=n&&g<f){var e=k.charCodeAt(g++);56320==(e&64512)?l.push(((n&1023)<<10)+(e&1023)+65536):(l.push(n),g--)}else l.push(n)}k=l;l=k.length;g=128;var q=0,t=72;for(f=0;f<k.length;f++){var r=k[f];128>
r&&p.push(d(r))}for((e=n=p.length)&&p.push("-");e<l;){var v=2147483647;for(f=0;f<k.length;f++)r=k[f],r>=g&&r<v&&(v=r);var z=e+1;if(v-g>b((2147483647-q)/z))throw RangeError("Overflow: input needs wider integers to process");q+=(v-g)*z;g=v;for(f=0;f<k.length;f++){r=k[f];if(r<g&&2147483647<++q)throw RangeError("Overflow: input needs wider integers to process");if(r==g){var E=q;for(r=36;;r+=36){v=r<=t?1:r>=t+26?26:r-t;if(E<v)break;E-=v;var A=36-v;p.push(d(m(v+E%A)));E=b(E/A)}p.push(d(m(E)));t=z;r=0;q=
e==n?b(q/700):q>>1;for(q+=b(q/t);455<q;r+=36)q=b(q/35);t=b(r+36*q/(q+38));q=0;++e}}++q;++g}return p.join("")};u.exports=function(k){var p=[];k=k.toLowerCase().replace(a,".").split(".");var l;for(l=0;l<k.length;l++){var g=k[l];p.push(c.test(g)?"xn--"+h(g):g)}return p.join(".")}},(u,c,a)=>{a(128);c=a(2);var b=a(18),d=a(411),m=a(40),h=a(157),k=a(70),p=a(130),l=a(42),g=a(158),f=a(16),n=a(32),e=a(72),q=a(60),t=a(39),r=a(15),v=a(59),z=a(62),E=a(8),A=a(99),D=a(100),F=a(27),C=b("fetch"),B=b("Request");a=
B&&B.prototype;var I=b("Headers");b=F("iterator");var J=l.set,M=l.getterFor("URLSearchParams"),P=l.getterFor("URLSearchParamsIterator"),O=/\+/g,N=Array(4),L=function(qa){return N[qa-1]||(N[qa-1]=RegExp("((?:%[\\da-f]{2}){"+qa+"})","gi"))},x=function(qa){try{return decodeURIComponent(qa)}catch(va){return qa}},y=function(qa){qa=qa.replace(O," ");var va=4;try{return decodeURIComponent(qa)}catch(U){for(;va;)qa=qa.replace(L(va--),x);return qa}},G=/[!'()~]|%20/g,K={"!":"%21","'":"%27","(":"%28",")":"%29",
"~":"%7E","%20":"+"},R=function(qa){return K[qa]},Z=function(qa,va){if(va){va=va.split("&");for(var U=0,pa;U<va.length;)pa=va[U++],pa.length&&(pa=pa.split("="),qa.push({key:y(pa.shift()),value:y(pa.join("="))}))}},aa=function(qa){this.entries.length=0;Z(this.entries,qa)},xa=function(qa,va){if(qa<va)throw TypeError("Not enough arguments");},X=p(function(qa,va){J(this,{type:"URLSearchParamsIterator",iterator:A(M(qa).entries),kind:va})},"Iterator",function(){var qa=P(this),va=qa.kind;qa=qa.iterator.next();
var U=qa.value;qa.done||(qa.value="keys"===va?U.key:"values"===va?U.value:[U.key,U.value]);return qa}),wa=function(){g(this,wa,"URLSearchParams");var qa=0<arguments.length?arguments[0]:void 0,va=[],U,pa,S,ma;J(this,{type:"URLSearchParams",entries:va,updateURL:function(){},updateSearchParams:aa});if(void 0!==qa)if(r(qa))if(U=D(qa))for(qa=A(qa,U),U=qa.next;!(pa=U.call(qa)).done;){pa=A(t(pa.value));var ya=pa.next;if((S=ya.call(pa)).done||(ma=ya.call(pa)).done||!ya.call(pa).done)throw TypeError("Expected sequence with length 2");
va.push({key:v(S.value),value:v(ma.value)})}else for(pa in qa)n(qa,pa)&&va.push({key:pa,value:v(qa[pa])});else Z(va,"string"===typeof qa?"?"===qa.charAt(0)?qa.slice(1):qa:v(qa))};p=wa.prototype;h(p,{append:function(qa,va){xa(arguments.length,2);var U=M(this);U.entries.push({key:v(qa),value:v(va)});U.updateURL()},"delete":function(qa){xa(arguments.length,1);for(var va=M(this),U=va.entries,pa=v(qa),S=0;S<U.length;)U[S].key===pa?U.splice(S,1):S++;va.updateURL()},get:function(qa){xa(arguments.length,
1);for(var va=M(this).entries,U=v(qa),pa=0;pa<va.length;pa++)if(va[pa].key===U)return va[pa].value;return null},getAll:function(qa){xa(arguments.length,1);for(var va=M(this).entries,U=v(qa),pa=[],S=0;S<va.length;S++)va[S].key===U&&pa.push(va[S].value);return pa},has:function(qa){xa(arguments.length,1);for(var va=M(this).entries,U=v(qa),pa=0;pa<va.length;)if(va[pa++].key===U)return!0;return!1},set:function(qa,va){xa(arguments.length,1);for(var U=M(this),pa=U.entries,S=!1,ma=v(qa),ya=v(va),Ga=0,Ha;Ga<
pa.length;Ga++)Ha=pa[Ga],Ha.key===ma&&(S?pa.splice(Ga--,1):(S=!0,Ha.value=ya));S||pa.push({key:ma,value:ya});U.updateURL()},sort:function(){var qa=M(this),va=qa.entries,U=va.slice(),pa,S;for(S=va.length=0;S<U.length;S++){var ma=U[S];for(pa=0;pa<S;pa++)if(va[pa].key>ma.key){va.splice(pa,0,ma);break}pa===S&&va.push(ma)}qa.updateURL()},forEach:function(qa){for(var va=M(this).entries,U=e(qa,1<arguments.length?arguments[1]:void 0,3),pa=0,S;pa<va.length;)S=va[pa++],U(S.value,S.key,this)},keys:function(){return new X(this,
"keys")},values:function(){return new X(this,"values")},entries:function(){return new X(this,"entries")}},{enumerable:!0});m(p,b,p.entries,{name:"entries"});m(p,"toString",function(){for(var qa=M(this).entries,va=[],U=0,pa;U<qa.length;)pa=qa[U++],va.push(encodeURIComponent(pa.key).replace(G,R)+"="+encodeURIComponent(pa.value).replace(G,R));return va.join("&")},{enumerable:!0});k(wa,"URLSearchParams");c({global:!0,forced:!d},{URLSearchParams:wa});if(!d&&f(I)){var ka=function(qa){if(r(qa)){var va=qa.body;
if("URLSearchParams"===q(va)){var U=qa.headers?new I(qa.headers):new I;U.has("content-type")||U.set("content-type","application/x-www-form-urlencoded;charset=UTF-8");return z(qa,{body:E(0,String(va)),headers:E(0,U)})}}return qa};f(C)&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(qa){return C(qa,1<arguments.length?ka(arguments[1]):{})}});if(f(B)){var ra=function(qa){g(this,ra,"Request");return new B(qa,1<arguments.length?ka(arguments[1]):{})};a.constructor=ra;ra.prototype=a;c({global:!0,forced:!0},
{Request:ra})}}u.exports={URLSearchParams:wa,getState:M}},(u,c,a)=>{a(2)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},u=>{u=function(c){function a(L,x,y){Object.defineProperty(L,x,{value:y,enumerable:!0,configurable:!0,writable:!0});return L[x]}function b(L,x,y,G){x=Object.create((x&&x.prototype instanceof m?x:m).prototype);G=new q(G||[]);x._invoke=g(L,y,G);return x}function d(L,x,y){try{return{type:"normal",arg:L.call(x,y)}}catch(G){return{type:"throw",
arg:G}}}function m(){}function h(){}function k(){}function p(L){["next","throw","return"].forEach(function(x){a(L,x,function(y){return this._invoke(x,y)})})}function l(L,x){function y(K,R,Z,aa){K=d(L[K],L,R);if("throw"===K.type)aa(K.arg);else{var xa=K.arg;return(K=xa.value)&&"object"===typeof K&&z.call(K,"__await")?x.resolve(K.__await).then(function(X){y("next",X,Z,aa)},function(X){y("throw",X,Z,aa)}):x.resolve(K).then(function(X){xa.value=X;Z(xa)},function(X){return y("throw",X,Z,aa)})}}var G;this._invoke=
function(K,R){function Z(){return new x(function(aa,xa){y(K,R,aa,xa)})}return G=G?G.then(Z,Z):Z()}}function g(L,x,y){var G=B;return function(K,R){if(G===J)throw Error("Generator is already running");if(G===M){if("throw"===K)throw R;return r()}y.method=K;for(y.arg=R;;){if(K=y.delegate)if(K=f(K,y)){if(K===P)continue;return K}if("next"===y.method)y.sent=y._sent=y.arg;else if("throw"===y.method){if(G===B)throw G=M,y.arg;y.dispatchException(y.arg)}else"return"===y.method&&y.abrupt("return",y.arg);G=J;
K=d(L,x,y);if("normal"===K.type){G=y.done?M:I;if(K.arg===P)continue;return{value:K.arg,done:y.done}}"throw"===K.type&&(G=M,y.method="throw",y.arg=K.arg)}}}function f(L,x){var y=L.iterator[x.method];if(y===E){x.delegate=null;if("throw"===x.method){if(L.iterator["return"]&&(x.method="return",x.arg=E,f(L,x),"throw"===x.method))return P;x.method="throw";x.arg=new TypeError("The iterator does not provide a 'throw' method")}return P}y=d(y,L.iterator,x.arg);if("throw"===y.type)return x.method="throw",x.arg=
y.arg,x.delegate=null,P;y=y.arg;if(!y)return x.method="throw",x.arg=new TypeError("iterator result is not an object"),x.delegate=null,P;if(y.done)x[L.resultName]=y.value,x.next=L.nextLoc,"return"!==x.method&&(x.method="next",x.arg=E);else return y;x.delegate=null;return P}function n(L){var x={tryLoc:L[0]};1 in L&&(x.catchLoc=L[1]);2 in L&&(x.finallyLoc=L[2],x.afterLoc=L[3]);this.tryEntries.push(x)}function e(L){var x=L.completion||{};x.type="normal";delete x.arg;L.completion=x}function q(L){this.tryEntries=
[{tryLoc:"root"}];L.forEach(n,this);this.reset(!0)}function t(L){if(L){var x=L[D];if(x)return x.call(L);if("function"===typeof L.next)return L;if(!isNaN(L.length)){var y=-1;x=function K(){for(;++y<L.length;)if(z.call(L,y))return K.value=L[y],K.done=!1,K;K.value=E;K.done=!0;return K};return x.next=x}}return{next:r}}function r(){return{value:E,done:!0}}var v=Object.prototype,z=v.hasOwnProperty,E,A="function"===typeof Symbol?Symbol:{},D=A.iterator||"@@iterator",F=A.asyncIterator||"@@asyncIterator",C=
A.toStringTag||"@@toStringTag";try{a({},"")}catch(L){a=function(x,y,G){return x[y]=G}}c.wrap=b;var B="suspendedStart",I="suspendedYield",J="executing",M="completed",P={};A={};a(A,D,function(){return this});var O=Object.getPrototypeOf;(O=O&&O(O(t([]))))&&O!==v&&z.call(O,D)&&(A=O);var N=k.prototype=m.prototype=Object.create(A);h.prototype=k;a(N,"constructor",k);a(k,"constructor",h);h.displayName=a(k,C,"GeneratorFunction");c.isGeneratorFunction=function(L){return(L="function"===typeof L&&L.constructor)?
L===h||"GeneratorFunction"===(L.displayName||L.name):!1};c.mark=function(L){Object.setPrototypeOf?Object.setPrototypeOf(L,k):(L.__proto__=k,a(L,C,"GeneratorFunction"));L.prototype=Object.create(N);return L};c.awrap=function(L){return{__await:L}};p(l.prototype);a(l.prototype,F,function(){return this});c.AsyncIterator=l;c.async=function(L,x,y,G,K){void 0===K&&(K=Promise);var R=new l(b(L,x,y,G),K);return c.isGeneratorFunction(x)?R:R.next().then(function(Z){return Z.done?Z.value:R.next()})};p(N);a(N,
C,"Generator");a(N,D,function(){return this});a(N,"toString",function(){return"[object Generator]"});c.keys=function(L){var x=[],y;for(y in L)x.push(y);x.reverse();return function K(){for(;x.length;){var R=x.pop();if(R in L)return K.value=R,K.done=!1,K}K.done=!0;return K}};c.values=t;q.prototype={constructor:q,reset:function(L){this.next=this.prev=0;this.sent=this._sent=E;this.done=!1;this.delegate=null;this.method="next";this.arg=E;this.tryEntries.forEach(e);if(!L)for(var x in this)"t"===x.charAt(0)&&
z.call(this,x)&&!isNaN(+x.slice(1))&&(this[x]=E)},stop:function(){this.done=!0;var L=this.tryEntries[0].completion;if("throw"===L.type)throw L.arg;return this.rval},dispatchException:function(L){function x(xa,X){R.type="throw";R.arg=L;y.next=xa;X&&(y.method="next",y.arg=E);return!!X}if(this.done)throw L;for(var y=this,G=this.tryEntries.length-1;0<=G;--G){var K=this.tryEntries[G],R=K.completion;if("root"===K.tryLoc)return x("end");if(K.tryLoc<=this.prev){var Z=z.call(K,"catchLoc"),aa=z.call(K,"finallyLoc");
if(Z&&aa){if(this.prev<K.catchLoc)return x(K.catchLoc,!0);if(this.prev<K.finallyLoc)return x(K.finallyLoc)}else if(Z){if(this.prev<K.catchLoc)return x(K.catchLoc,!0)}else if(aa){if(this.prev<K.finallyLoc)return x(K.finallyLoc)}else throw Error("try statement without catch or finally");}}},abrupt:function(L,x){for(var y=this.tryEntries.length-1;0<=y;--y){var G=this.tryEntries[y];if(G.tryLoc<=this.prev&&z.call(G,"finallyLoc")&&this.prev<G.finallyLoc){var K=G;break}}K&&("break"===L||"continue"===L)&&
K.tryLoc<=x&&x<=K.finallyLoc&&(K=null);y=K?K.completion:{};y.type=L;y.arg=x;return K?(this.method="next",this.next=K.finallyLoc,P):this.complete(y)},complete:function(L,x){if("throw"===L.type)throw L.arg;"break"===L.type||"continue"===L.type?this.next=L.arg:"return"===L.type?(this.rval=this.arg=L.arg,this.method="return",this.next="end"):"normal"===L.type&&x&&(this.next=x);return P},finish:function(L){for(var x=this.tryEntries.length-1;0<=x;--x){var y=this.tryEntries[x];if(y.finallyLoc===L)return this.complete(y.completion,
y.afterLoc),e(y),P}},"catch":function(L){for(var x=this.tryEntries.length-1;0<=x;--x){var y=this.tryEntries[x];if(y.tryLoc===L){L=y.completion;if("throw"===L.type){var G=L.arg;e(y)}return G}}throw Error("illegal catch attempt");},delegateYield:function(L,x,y){this.delegate={iterator:t(L),resultName:x,nextLoc:y};"next"===this.method&&(this.arg=E);return P}};return c}(u.exports);try{regeneratorRuntime=u}catch(c){"object"===typeof globalThis?globalThis.regeneratorRuntime=u:Function("r","regeneratorRuntime = r")(u)}},
(u,c,a)=>{function b(Y,W,{exportedVariables:ia,enabledGlobals:na}){for(const ja of new Set([...Object.keys(W),...Object.keys(na)])){const T=void 0===W[ja]?void 0:y.normalizeConfigGlobal(W[ja]),da=na[ja]&&na[ja].value||T,oa=na[ja]&&na[ja].comments;if("off"===da)continue;let V=Y.set.get(ja);V||(V=new M.Variable(ja,Y),Y.variables.push(V),Y.set.set(ja,V));V.eslintImplicitGlobalSetting=T;V.eslintExplicitGlobal=void 0!==oa;V.eslintExplicitGlobalComments=oa;V.writeable="writable"===da}Object.keys(ia).forEach(ja=>
{if(ja=Y.set.get(ja))ja.eslintUsed=!0});Y.through=Y.through.filter(ja=>{const T=Y.set.get(ja.identifier.name);return T?(ja.resolved=T,T.references.push(ja),!1):!0})}function d(Y){return Object.prototype.hasOwnProperty.call(U.rules,Y)?"Rule '".concat(Y,"' was removed and replaced by: ").concat(U.rules[Y].join(", ")):"Definition for rule '".concat(Y,"' was not found.")}function m(Y){const {ruleId:W=null,loc:ia=ma,message:na=d(Y.ruleId),severity:ja=2}=Y;return{ruleId:W,message:na,line:ia.start.line,
column:ia.start.column+1,endLine:ia.end.line,endColumn:ia.end.column+1,severity:ja,nodeType:null}}function h(Y){const {commentToken:W,type:ia,value:na,ruleMapper:ja}=Y;var T=Object.keys(S.parseListConfig(na));Y=T.length?T:[null];const da={directives:[],directiveProblems:[]};T={commentToken:W,ruleIds:T};for(const oa of Y)null===oa||null!==ja(oa)?da.directives.push({parentComment:T,type:ia,line:W.loc.start.line,column:W.loc.start.column+1,ruleId:oa}):da.directiveProblems.push(m({ruleId:oa,loc:W.loc}));
return da}function k(Y,W,ia,na){const ja={},T=Object.create(null),da={},oa=[],V=[],ha=new G({builtInRules:ka});W.comments.filter(la=>"Shebang"!==la.type).forEach(la=>{var ua=la.value.split(/\s-{2,}\s/u)[0].trim();const ba=/^(eslint(?:-env|-enable|-disable(?:(?:-next)?-line)?)?|exported|globals?)(?:\s|$)/u.exec(ua);if(ba){var w=ba[1],H=/^eslint-disable-(next-)?line$/u.test(w);if("Line"!==la.type||H)if(na)w="Block"===la.type?"/*".concat(w,"*/"):"//".concat(w),oa.push(m({ruleId:null,message:"'".concat(w,
"' has no effect because you have 'noInlineConfig' setting in ").concat(na,"."),loc:la.loc,severity:1}));else if(H&&la.loc.start.line!==la.loc.end.line)w="".concat(w," comment should not span multiple lines."),oa.push(m({ruleId:null,message:w,loc:la.loc}));else switch(ua=ua.slice(ba.index+w.length),w){case "eslint-disable":case "eslint-enable":case "eslint-disable-next-line":case "eslint-disable-line":{w=w.slice(7);const {directives:Q,directiveProblems:ca}=h({commentToken:la,type:w,value:ua,ruleMapper:ia});
V.push(...Q);oa.push(...ca);break}case "exported":Object.assign(da,S.parseStringConfig(ua,la));break;case "globals":case "global":for(const [Q,{value:ca}]of Object.entries(S.parseStringConfig(ua,la))){let ta;try{ta=y.normalizeConfigGlobal(ca)}catch(Ca){oa.push(m({ruleId:null,loc:la.loc,message:Ca.message}));continue}T[Q]?(T[Q].comments.push(la),T[Q].value=ta):T[Q]={comments:[la],value:ta}}break;case "eslint":{const Q=S.parseJsonConfig(ua,la.loc);Q.success?Object.keys(Q.config).forEach(ca=>{const ta=
ia(ca),Ca=Q.config[ca];if(null===ta)oa.push(m({ruleId:ca,loc:la.loc}));else{try{ha.validateRuleOptions(ta,ca,Ca)}catch(Ba){oa.push(m({ruleId:ca,message:Ba.message,loc:la.loc}));return}ja[ca]=Ca}}):oa.push(Q.error)}}}});return{configuredRules:ja,enabledGlobals:T,exportedVariables:da,problems:oa,disableDirectives:V}}function p(Y,W){return(Y[ya]||Y)===O&&"latest"===W?O.latestEcmaVersion:2015<=W?W-2009:W}function l(Y){let W,ia;for(Ga.lastIndex=0;null!==(W=Ga.exec(Y));)W[0].endsWith("*/")&&(ia=Object.assign(ia||
{},S.parseListConfig(W[1].split(/\s-{2,}\s/u)[0].trim())));return ia}function g(Y){const W=Y.split(J.sep),ia=W.lastIndexOf("<text>");return-1===ia?Y:W.slice(ia).join(J.sep)}function f(Y,W){const ia=!0===W.noInlineConfig,na=!1===Y.allowInlineConfig,ja=W.configNameOfNoInlineConfig?" (".concat(W.configNameOfNoInlineConfig,")"):"";let T=Y.reportUnusedDisableDirectives;"boolean"===typeof T&&(T=T?"error":"off");"string"!==typeof T&&(T=W.reportUnusedDisableDirectives?"warn":"off");return{filename:g(Y.filename||
"<input>"),allowInlineConfig:!na,warnInlineConfig:ia&&!na?"your config".concat(ja):null,reportUnusedDisableDirectives:T,disableFixes:!!Y.disableFixes}}function n(Y,W,ia){ia=ia.filter(na=>na.parserOptions).reduce((na,ja)=>N(na,ja.parserOptions),{});W=N(ia,W||{});"module"===W.sourceType&&(W.ecmaFeatures=Object.assign({},W.ecmaFeatures,{globalReturn:!1}));W.ecmaVersion=p(Y,W.ecmaVersion);return W}function e(Y,W){return Object.assign({},...W.filter(ia=>ia.globals).map(ia=>ia.globals),Y)}function q(Y){return 65279===
Y.charCodeAt(0)?Y.slice(1):Y}function t(Y){return Array.isArray(Y)?Y.slice(1):[]}function r(Y,W,ia){const na=W.ecmaFeatures||{};return M.analyze(Y,{ignoreEval:!0,nodejsScope:na.globalReturn,impliedStrict:na.impliedStrict,ecmaVersion:W.ecmaVersion||5,sourceType:W.sourceType||"script",childVisitorKeys:ia||P.KEYS,fallback:R.getKeys})}function v(Y,W,ia,na){const ja=q(Y).replace(x.shebangPattern,(T,da)=>"//".concat(da));ia=Object.assign({},ia,{loc:!0,range:!0,raw:!0,tokens:!0,comment:!0,eslintVisitorKeys:!0,
eslintScopeManager:!0,filePath:na});try{const T="function"===typeof W.parseForESLint?W.parseForESLint(ja,ia):{ast:W.parse(ja,ia)},da=T.ast,oa=T.services||{},V=T.visitorKeys||P.KEYS,ha=T.scopeManager||r(da,ia,V);return{success:!0,sourceCode:new Z({text:Y,ast:da,parserServices:oa,scopeManager:ha,visitorKeys:V})}}catch(T){return Y="Parsing error: ".concat(T.message.replace(/^line \d+:/iu,"").trim()),pa("%s\n%s",Y,T.stack),{success:!1,error:{ruleId:null,fatal:!0,severity:2,message:Y,line:T.lineNumber,
column:T.column}}}}function z(Y,W){const ia="Program"!==W.type;for(;W;W=W.parent){const na=Y.acquire(W,ia);if(na)return"function-expression-name"===na.type?na.childScopes[0]:na}return Y.scopes[0]}function E(Y,W,ia,na){ia=ia.ecmaFeatures&&ia.ecmaFeatures.globalReturn||"module"===ia.sourceType;Y=z(Y,W);for(Y="global"===Y.type&&ia?Y.childScopes[0]:Y;Y;Y=Y.upper)if(W=Y.variables.find(ja=>ja.name===na))return W.eslintUsed=!0;return!1}function A(Y,W){try{return Y.create(W)}catch(ia){throw ia.message="Error while loading rule '".concat(W.id,
"': ").concat(ia.message),ia;}}function D(Y,W,ia,na,ja,T,da,oa,V,ha){const la=ra(),ua=[];let ba=Y.ast;R.traverse(Y.ast,{enter(ca,ta){ca.parent=ta;ua.push({isEntering:!0,node:ca})},leave(ca){ua.push({isEntering:!1,node:ca})},visitorKeys:Y.visitorKeys});const w=Object.freeze(Object.assign(Object.create(ab),{getAncestors:()=>{var ca=ba;var ta=[];for(ca=ca.parent;ca;ca=ca.parent)ta.push(ca);return ta=ta.reverse()},getDeclaredVariables:Y.scopeManager.getDeclaredVariables.bind(Y.scopeManager),getCwd:()=>
V,getFilename:()=>da,getPhysicalFilename:()=>ha||da,getScope:()=>z(Y.scopeManager,ba),getSourceCode:()=>Y,markVariableAsUsed:ca=>E(Y.scopeManager,ba,na,ca),parserOptions:na,parserPath:ja,parserServices:Y.parserServices,settings:T})),H=[];Object.keys(W).forEach(ca=>{function ta(cb){return function(...gb){try{return cb(...gb)}catch(lb){throw lb.ruleId=ca,lb;}}}const Ca=y.getRuleSeverity(W[ca]);if(0!==Ca){var Ba=ia(ca);if(null===Ba)H.push(m({ruleId:ca}));else{var Ea=Ba.meta&&Ba.meta.messages,Ua=null,
Sa=Object.freeze(Object.assign(Object.create(w),{id:ca,options:t(W[ca]),report(...cb){null===Ua&&(Ua=wa({ruleId:ca,severity:Ca,sourceCode:Y,messageIds:Ea,disableFixes:oa}));cb=Ua(...cb);if(cb.fix&&(!Ba.meta||!Ba.meta.fixable))throw Error('Fixable rules must set the `meta.fixable` property to "code" or "whitespace".');if(cb.suggestions&&(!Ba.meta||!0!==Ba.meta.hasSuggestions)){if(Ba.meta&&Ba.meta.docs&&"undefined"!==typeof Ba.meta.docs.suggestion)throw Error("Rules with suggestions must set the `meta.hasSuggestions` property to `true`. `meta.docs.suggestion` is ignored by ESLint.");
throw Error("Rules with suggestions must set the `meta.hasSuggestions` property to `true`.");}H.push(cb)}})),Va=A(Ba,Sa);Object.keys(Va).forEach(cb=>{const gb=va.enabled?va.time(ca,Va[cb]):Va[cb];la.on(cb,ta(gb))})}}});const Q="Program"===ua[0].node.type?new aa(new X(la,{visitorKeys:Y.visitorKeys,fallback:R.getKeys})):new X(la,{visitorKeys:Y.visitorKeys,fallback:R.getKeys});ua.forEach(ca=>{ba=ca.node;try{ca.isEntering?Q.enterNode(ba):Q.leaveNode(ba)}catch(ta){throw ta.currentNode=ba,ta;}});return H}
function F(Y){if("object"===typeof Y){const {hasBOM:W,text:ia}=Y;return(W?"\ufeff":"")+ia}return String(Y)}function C(Y,W){return Y.lastConfigArray&&Y.lastConfigArray.pluginRules.get(W)||Y.ruleMap.get(W)}function B(Y){if(Y)return Y;if("object"===typeof I)return I.cwd()}var I=a(418);const J=a(417),M=a(419),P=a(461),O=a(462),N=a(466),L=a(467),x=a(468),{Legacy:{ConfigOps:y,ConfigValidator:G,environments:K}}=a(469),R=a(518),{SourceCode:Z}=a(522),aa=a(540),xa=a(547);c=a(549);const X=a(562),wa=a(564),ka=
a(567),ra=a(877),qa=a(878),va=a(879),U=a(880),pa=a(519)("eslint:linter"),S=new c,ma={start:{line:1,column:0},end:{line:1,column:1}},ya=Symbol.for("eslint.RuleTester.parser"),Ga=/\/\*\s*eslint-env\s(.+?)(?:\*\/|$)/gsu,Ha={getSource:"getText",getSourceLines:"getLines",getAllComments:"getAllComments",getNodeByRangeIndex:"getNodeByRangeIndex",getComments:"getComments",getCommentsBefore:"getCommentsBefore",getCommentsAfter:"getCommentsAfter",getCommentsInside:"getCommentsInside",getJSDocComment:"getJSDocComment",
getFirstToken:"getFirstToken",getFirstTokens:"getFirstTokens",getLastToken:"getLastToken",getLastTokens:"getLastTokens",getTokenAfter:"getTokenAfter",getTokenBefore:"getTokenBefore",getTokenByRangeStart:"getTokenByRangeStart",getTokens:"getTokens",getTokensAfter:"getTokensAfter",getTokensBefore:"getTokensBefore",getTokensBetween:"getTokensBetween"},ab=Object.freeze(Object.keys(Ha).reduce((Y,W)=>Object.assign(Y,{[W](...ia){return this.getSourceCode()[Ha[W]](...ia)}}),{})),ea=new WeakMap;class za{constructor({cwd:Y}=
{}){ea.set(this,{cwd:B(Y),lastConfigArray:null,lastSourceCode:null,parserMap:new Map([["espree",O]]),ruleMap:new ka});this.version=L.version}static get version(){return L.version}_verifyWithoutProcessors(Y,W,ia){const na=ea.get(this);var ja=W||{};W=f(ia,ja);if("string"===typeof Y){na.lastSourceCode=null;var T=Y}else na.lastSourceCode=Y,T=Y.text;Y="espree";var da=O;if("object"===typeof ja.parser&&null!==ja.parser)Y=ja.parser.filePath,da=ja.parser.definition;else if("string"===typeof ja.parser){if(!na.parserMap.has(ja.parser))return[{ruleId:null,
fatal:!0,severity:2,message:"Configured parser '".concat(ja.parser,"' was not found."),line:0,column:0}];Y=ja.parser;da=na.parserMap.get(ja.parser)}var oa=W.allowInlineConfig&&!W.warnInlineConfig?l(T):{};const V=Object.assign({builtin:!0},ja.env,oa);var ha=Object.keys(V).filter(ba=>V[ba]).map(ba=>na.lastConfigArray&&na.lastConfigArray.pluginEnvironments.get(ba)||K.get(ba)||null).filter(ba=>ba);oa=n(da,ja.parserOptions||{},ha);const la=e(ja.globals||{},ha);ha=ja.settings||{};if(na.lastSourceCode)na.lastSourceCode.scopeManager||
(na.lastSourceCode=new Z({text:na.lastSourceCode.text,ast:na.lastSourceCode.ast,parserServices:na.lastSourceCode.parserServices,visitorKeys:na.lastSourceCode.visitorKeys,scopeManager:r(na.lastSourceCode.ast,oa)}));else{T=v(T,da,oa,W.filename);if(!T.success)return[T.error];na.lastSourceCode=T.sourceCode}T=na.lastSourceCode;da=W.allowInlineConfig?k(W.filename,T.ast,ba=>C(na,ba),W.warnInlineConfig):{configuredRules:{},enabledGlobals:{},exportedVariables:{},problems:[],disableDirectives:[]};b(T.scopeManager.scopes[0],
la,{exportedVariables:da.exportedVariables,enabledGlobals:da.enabledGlobals});ja=Object.assign({},ja.rules,da.configuredRules);let ua;try{ua=D(T,ja,ba=>C(na,ba),oa,Y,ha,W.filename,W.disableFixes,na.cwd,ia.physicalFilename)}catch(ba){throw ba.message+="\nOccurred while linting ".concat(W.filename),pa("An error occurred while traversing"),pa("Filename:",W.filename),ba.currentNode&&({line:ia}=ba.currentNode.loc.start,pa("Line:",ia),ba.message+=":".concat(ia)),pa("Parser Options:",oa),pa("Parser Path:",
Y),pa("Settings:",ha),ba.ruleId&&(ba.message+='\nRule: "'.concat(ba.ruleId,'"')),ba;}return xa({directives:da.disableDirectives,disableFixes:W.disableFixes,problems:ua.concat(da.problems).sort((ba,w)=>ba.line-w.line||ba.column-w.column),reportUnusedDisableDirectives:W.reportUnusedDisableDirectives})}verify(Y,W,ia){pa("Verify");ia="string"===typeof ia?{filename:ia}:ia||{};return W&&"function"===typeof W.extractConfig?this._verifyWithConfigArray(Y,W,ia):ia.preprocess||ia.postprocess?this._verifyWithProcessor(Y,
W,ia):this._verifyWithoutProcessors(Y,W,ia)}_verifyWithConfigArray(Y,W,ia){pa("With ConfigArray: %s",ia.filename);ea.get(this).lastConfigArray=W;const na=W.extractConfig(ia.filename),ja=na.processor&&W.pluginProcessors.get(na.processor);if(ja){pa("Apply the processor: %o",na.processor);const {preprocess:T,postprocess:da,supportsAutofix:oa}=ja;return this._verifyWithProcessor(Y,na,{...ia,disableFixes:ia.disableFixes||!oa,postprocess:da,preprocess:T},W)}return this._verifyWithoutProcessors(Y,na,ia)}_verifyWithProcessor(Y,
W,ia,na){const ja=ia.filename||"<input>",T=g(ja),da=ia.physicalFilename||T,oa=F(Y);var V=ia.preprocess||(ua=>[ua]);Y=ia.postprocess||(ua=>ua.flat());const ha=ia.filterCodeBlock||(ua=>ua.endsWith(".js")),la=J.extname(ja);V=V(oa,T).map((ua,ba)=>{pa("A code block was found: %o",ua.filename||"(unnamed)");if("string"===typeof ua)return this._verifyWithoutProcessors(ua,W,ia);const w=ua.text;ua=J.join(ja,"".concat(ba,"_").concat(ua.filename));return ha(ua,w)?!na||oa===w&&J.extname(ua)===la?this._verifyWithoutProcessors(w,
W,{...ia,filename:ua,physicalFilename:da}):(pa("Resolving configuration again because the file content or extension was changed."),this._verifyWithConfigArray(w,na,{...ia,filename:ua,physicalFilename:da})):(pa("This code block was skipped."),[])});return Y(V,T)}getSourceCode(){return ea.get(this).lastSourceCode}defineRule(Y,W){ea.get(this).ruleMap.define(Y,W)}defineRules(Y){Object.getOwnPropertyNames(Y).forEach(W=>{this.defineRule(W,Y[W])})}getRules(){const {lastConfigArray:Y,ruleMap:W}=ea.get(this);
return new Map(function*(){yield*W;Y&&(yield*Y.pluginRules)}())}defineParser(Y,W){ea.get(this).parserMap.set(Y,W)}verifyAndFix(Y,W,ia){let na,ja=!1,T=0,da=Y;const oa=ia&&ia.filename||"".concat(Y.slice(0,10),"..."),V=ia&&"undefined"!==typeof ia.fix?ia.fix:!0;do{T++;pa("Linting code for ".concat(oa," (pass ").concat(T,")"));Y=this.verify(da,W,ia);pa("Generating fixed text for ".concat(oa," (pass ").concat(T,")"));na=qa.applyFixes(da,Y,V);if(1===Y.length&&Y[0].fatal)break;ja=ja||na.fixed;da=na.output}while(na.fixed&&
10>T);na.fixed&&(na.messages=this.verify(da,W,ia));na.fixed=ja;na.output=da;return na}}u.exports={Linter:za,getLinterInternalSlots(Y){return ea.get(Y)}}},(u,c,a)=>{function b(k){if("string"!==typeof k)throw new TypeError("Path must be a string. Received "+JSON.stringify(k));}function d(k,p){for(var l="",g=0,f=-1,n=0,e,q=0;q<=k.length;++q){if(q<k.length)e=k.charCodeAt(q);else if(47===e)break;else e=47;if(47===e){if(f!==q-1&&1!==n)if(f!==q-1&&2===n){if(2>l.length||2!==g||46!==l.charCodeAt(l.length-
1)||46!==l.charCodeAt(l.length-2))if(2<l.length){if(f=l.lastIndexOf("/"),f!==l.length-1){-1===f?(l="",g=0):(l=l.slice(0,f),g=l.length-1-l.lastIndexOf("/"));f=q;n=0;continue}}else if(2===l.length||1===l.length){l="";g=0;f=q;n=0;continue}p&&(l=0<l.length?l+"/..":"..",g=2)}else l=0<l.length?l+("/"+k.slice(f+1,q)):k.slice(f+1,q),g=q-f-1;f=q;n=0}else 46===e&&-1!==n?++n:n=-1}return l}var m=a(418),h={resolve:function(){for(var k="",p=!1,l,g=arguments.length-1;-1<=g&&!p;g--){if(0<=g)var f=arguments[g];else void 0===
l&&(l=m.cwd()),f=l;b(f);0!==f.length&&(k=f+"/"+k,p=47===f.charCodeAt(0))}k=d(k,!p);return p?0<k.length?"/"+k:"/":0<k.length?k:"."},normalize:function(k){b(k);if(0===k.length)return".";var p=47===k.charCodeAt(0),l=47===k.charCodeAt(k.length-1);k=d(k,!p);0!==k.length||p||(k=".");0<k.length&&l&&(k+="/");return p?"/"+k:k},isAbsolute:function(k){b(k);return 0<k.length&&47===k.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var k,p=0;p<arguments.length;++p){var l=arguments[p];b(l);
0<l.length&&(k=void 0===k?l:k+("/"+l))}return void 0===k?".":h.normalize(k)},relative:function(k,p){b(k);b(p);if(k===p)return"";k=h.resolve(k);p=h.resolve(p);if(k===p)return"";for(var l=1;l<k.length&&47===k.charCodeAt(l);++l);for(var g=k.length,f=g-l,n=1;n<p.length&&47===p.charCodeAt(n);++n);for(var e=p.length-n,q=f<e?f:e,t=-1,r=0;r<=q;++r){if(r===q){if(e>q){if(47===p.charCodeAt(n+r))return p.slice(n+r+1);if(0===r)return p.slice(n+r)}else f>q&&(47===k.charCodeAt(l+r)?t=r:0===r&&(t=0));break}var v=
k.charCodeAt(l+r),z=p.charCodeAt(n+r);if(v!==z)break;else 47===v&&(t=r)}f="";for(r=l+t+1;r<=g;++r)if(r===g||47===k.charCodeAt(r))f=0===f.length?f+"..":f+"/..";if(0<f.length)return f+p.slice(n+t);n+=t;47===p.charCodeAt(n)&&++n;return p.slice(n)},_makeLong:function(k){return k},dirname:function(k){b(k);if(0===k.length)return".";for(var p=k.charCodeAt(0),l=47===p,g=-1,f=!0,n=k.length-1;1<=n;--n)if(p=k.charCodeAt(n),47===p){if(!f){g=n;break}}else f=!1;return-1===g?l?"/":".":l&&1===g?"//":k.slice(0,g)},
basename:function(k,p){if(void 0!==p&&"string"!==typeof p)throw new TypeError('"ext" argument must be a string');b(k);var l=0,g=-1,f=!0,n;if(void 0!==p&&0<p.length&&p.length<=k.length){if(p.length===k.length&&p===k)return"";var e=p.length-1,q=-1;for(n=k.length-1;0<=n;--n){var t=k.charCodeAt(n);if(47===t){if(!f){l=n+1;break}}else-1===q&&(f=!1,q=n+1),0<=e&&(t===p.charCodeAt(e)?-1===--e&&(g=n):(e=-1,g=q))}l===g?g=q:-1===g&&(g=k.length);return k.slice(l,g)}for(n=k.length-1;0<=n;--n)if(47===k.charCodeAt(n)){if(!f){l=
n+1;break}}else-1===g&&(f=!1,g=n+1);return-1===g?"":k.slice(l,g)},extname:function(k){b(k);for(var p=-1,l=0,g=-1,f=!0,n=0,e=k.length-1;0<=e;--e){var q=k.charCodeAt(e);if(47===q){if(!f){l=e+1;break}}else-1===g&&(f=!1,g=e+1),46===q?-1===p?p=e:1!==n&&(n=1):-1!==p&&(n=-1)}return-1===p||-1===g||0===n||1===n&&p===g-1&&p===l+1?"":k.slice(p,g)},format:function(k){if(null===k||"object"!==typeof k)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof k);var p=k.dir||
k.root,l=k.base||(k.name||"")+(k.ext||"");k=p?p===k.root?p+l:p+"/"+l:l;return k},parse:function(k){b(k);var p={root:"",dir:"",base:"",ext:"",name:""};if(0===k.length)return p;var l=k.charCodeAt(0),g=47===l;if(g){p.root="/";var f=1}else f=0;for(var n=-1,e=0,q=-1,t=!0,r=k.length-1,v=0;r>=f;--r)if(l=k.charCodeAt(r),47===l){if(!t){e=r+1;break}}else-1===q&&(t=!1,q=r+1),46===l?-1===n?n=r:1!==v&&(v=1):-1!==n&&(v=-1);-1===n||-1===q||0===v||1===v&&n===q-1&&n===e+1?-1!==q&&(p.base=0===e&&g?p.name=k.slice(1,
q):p.name=k.slice(e,q)):(0===e&&g?(p.name=k.slice(1,n),p.base=k.slice(1,q)):(p.name=k.slice(e,n),p.base=k.slice(e,q)),p.ext=k.slice(n,q));0<e?p.dir=k.slice(0,e-1):g&&(p.dir="/");return p},sep:"/",delimiter:":",win32:null,posix:null};h.posix=h;u.exports=h},u=>{function c(){throw Error("setTimeout has not been defined");}function a(){throw Error("clearTimeout has not been defined");}function b(t){if(l===setTimeout)return setTimeout(t,0);if((l===c||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);
try{return l(t,0)}catch(r){try{return l.call(null,t,0)}catch(v){return l.call(this,t,0)}}}function d(t){if(g===clearTimeout)return clearTimeout(t);if((g===a||!g)&&clearTimeout)return g=clearTimeout,clearTimeout(t);try{return g(t)}catch(r){try{return g.call(null,t)}catch(v){return g.call(this,t)}}}function m(){n&&e&&(n=!1,e.length?f=e.concat(f):q=-1,f.length&&h())}function h(){if(!n){var t=b(m);n=!0;for(var r=f.length;r;){e=f;for(f=[];++q<r;)e&&e[q].run();q=-1;r=f.length}e=null;n=!1;d(t)}}function k(t,
r){this.fun=t;this.array=r}function p(){}u=u.exports={};try{var l="function"===typeof setTimeout?setTimeout:c}catch(t){l=c}try{var g="function"===typeof clearTimeout?clearTimeout:a}catch(t){g=a}var f=[],n=!1,e,q=-1;u.nextTick=function(t){var r=Array(arguments.length-1);if(1<arguments.length)for(var v=1;v<arguments.length;v++)r[v-1]=arguments[v];f.push(new k(t,r));1!==f.length||n||b(h)};k.prototype.run=function(){this.fun.apply(null,this.array)};u.title="browser";u.browser=!0;u.env={};u.argv=[];u.version=
"";u.versions={};u.on=p;u.addListener=p;u.once=p;u.off=p;u.removeListener=p;u.removeAllListeners=p;u.emit=p;u.prependListener=p;u.prependOnceListener=p;u.listeners=function(t){return[]};u.binding=function(t){throw Error("process.binding is not supported");};u.cwd=function(){return"/"};u.chdir=function(t){throw Error("process.chdir is not supported");};u.umask=function(){return 0}},(u,c,a)=>{function b(x){return x&&"object"===typeof x&&"default"in x?x:{"default":x}}function d(x,y,G,K){if(x.upper&&
x.upper.isStrict||G||"class"===x.type||"module"===x.type)return!0;if("block"===x.type||"switch"===x.type)return!1;if("function"===x.type){if(y.type===e.ArrowFunctionExpression&&y.body.type!==e.BlockStatement)return!1;x=y.type===e.Program?y:y.body;if(!x)return!1}else if("global"===x.type)x=y;else return!1;if(K)for(let R=0,Z=x.body.length;R<Z;++R){K=x.body[R];if(K.type!==e.DirectiveStatement)break;if('"use strict"'===K.raw||"'use strict'"===K.raw)return!0}else for(let R=0,Z=x.body.length;R<Z;++R){K=
x.body[R];if(K.type!==e.ExpressionStatement)break;K=K.expression;if(K.type!==e.Literal||"string"!==typeof K.value)break;if(null!==K.raw&&void 0!==K.raw){if('"use strict"'===K.raw||"'use strict'"===K.raw)return!0}else if("use strict"===K.value)return!0}return!1}function m(x){return x.type===g.ClassName||x.type===g.Variable&&"var"!==x.parent.kind}function h(x,y){function G(K){return"object"===typeof K&&K instanceof Object&&!(K instanceof Array)&&!(K instanceof RegExp)}for(const K in y)if(Object.prototype.hasOwnProperty.call(y,
K)){const R=y[K];G(R)?G(x[K])?h(x[K],R):x[K]=h({},R):x[K]=R}return x}Object.defineProperty(c,"__esModule",{value:!0});u=a(420);var k=a(458);a=a(459);var p=b(u);u=b(k);a=b(a);class l{constructor(x,y,G,K,R,Z,aa){this.identifier=x;this.from=y;this.tainted=!1;this.resolved=null;this.flag=G;this.isWrite()&&(this.writeExpr=K,this.partial=Z,this.init=aa);this.__maybeImplicitGlobal=R}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&l.WRITE)}isRead(){return!!(this.flag&
l.READ)}isReadOnly(){return this.flag===l.READ}isWriteOnly(){return this.flag===l.WRITE}isReadWrite(){return this.flag===l.RW}}l.READ=1;l.WRITE=2;l.RW=3;class g{constructor(x,y){this.name=x;this.identifiers=[];this.references=[];this.defs=[];this.tainted=!1;this.stack=!0;this.scope=y}}g.CatchClause="CatchClause";g.Parameter="Parameter";g.FunctionName="FunctionName";g.ClassName="ClassName";g.Variable="Variable";g.ImportBinding="ImportBinding";g.ImplicitGlobalVariable="ImplicitGlobalVariable";class f{constructor(x,
y,G,K,R,Z){this.type=x;this.name=y;this.node=G;this.parent=K;this.index=R;this.kind=Z}}class n extends f{constructor(x,y,G,K){super(g.Parameter,x,y,null,G,null);this.rest=K}}const {Syntax:e}=u["default"];class q{constructor(x,y,G,K,R){this.type=y;this.set=new Map;this.taints=new Map;this.dynamic="global"===this.type||"with"===this.type;this.block=K;this.through=[];this.variables=[];this.references=[];this.variableScope="global"===this.type||"function"===this.type||"module"===this.type||"class-field-initializer"===
this.type?this:G.variableScope;this.thisFound=this.directCallToEvalScope=this.functionExpressionScope=!1;this.__left=[];this.upper=G;this.isStrict=d(this,K,R,x.__useDirective());this.childScopes=[];this.upper&&this.upper.childScopes.push(this);this.__declaredVariables=x.__declaredVariables;x.scopes.push(this);(y=x.__nodeToScope.get(this.block))?y.push(this):x.__nodeToScope.set(this.block,[this])}__shouldStaticallyClose(x){return!this.dynamic||x.__isOptimistic()}__shouldStaticallyCloseForGlobal(x){x=
x.identifier.name;if(!this.set.has(x))return!1;x=this.set.get(x).defs;return 0<x.length&&x.every(m)}__staticCloseRef(x){this.__resolve(x)||this.__delegateToUpperScope(x)}__dynamicCloseRef(x){let y=this;do y.through.push(x),y=y.upper;while(y)}__globalCloseRef(x){this.__shouldStaticallyCloseForGlobal(x)?this.__staticCloseRef(x):this.__dynamicCloseRef(x)}__close(x){x=this.__shouldStaticallyClose(x)?this.__staticCloseRef:"global"!==this.type?this.__dynamicCloseRef:this.__globalCloseRef;for(let y=0,G=
this.__left.length;y<G;++y)x.call(this,this.__left[y]);this.__left=null;return this.upper}__isValidResolution(x,y){return!0}__resolve(x){var y=x.identifier.name;if(!this.set.has(y))return!1;y=this.set.get(y);if(!this.__isValidResolution(x,y))return!1;y.references.push(x);y.stack=y.stack&&x.from.variableScope===this.variableScope;x.tainted&&(y.tainted=!0,this.taints.set(y.name,!0));x.resolved=y;return!0}__delegateToUpperScope(x){this.upper&&this.upper.__left.push(x);this.through.push(x)}__addDeclaredVariablesOfNode(x,
y){if(null!==y&&void 0!==y){var G=this.__declaredVariables.get(y);if(null===G||void 0===G)G=[],this.__declaredVariables.set(y,G);-1===G.indexOf(x)&&G.push(x)}}__defineGeneric(x,y,G,K,R){let Z;Z=y.get(x);Z||(Z=new g(x,this),y.set(x,Z),G.push(Z));R&&(Z.defs.push(R),this.__addDeclaredVariablesOfNode(Z,R.node),this.__addDeclaredVariablesOfNode(Z,R.parent));K&&Z.identifiers.push(K)}__define(x,y){x&&x.type===e.Identifier&&this.__defineGeneric(x.name,this.set,this.variables,x,y)}__referencing(x,y,G,K,R,
Z){x&&x.type===e.Identifier&&"super"!==x.name&&(x=new l(x,this,y||l.READ,G,K,!!R,!!Z),this.references.push(x),this.__left.push(x))}__detectEval(){let x=this;this.directCallToEvalScope=!0;do x.dynamic=!0,x=x.upper;while(x)}__detectThis(){this.thisFound=!0}__isClosed(){return null===this.__left}resolve(x){let y,G,K;p["default"](this.__isClosed(),"Scope should be closed.");p["default"](x.type===e.Identifier,"Target should be identifier.");G=0;for(K=this.references.length;G<K;++G)if(y=this.references[G],
y.identifier===x)return y;return null}isStatic(){return!this.dynamic}isArgumentsMaterialized(){return!0}isThisMaterialized(){return!0}isUsedName(x){if(this.set.has(x))return!0;for(let y=0,G=this.through.length;y<G;++y)if(this.through[y].identifier.name===x)return!0;return!1}}class t extends q{constructor(x,y){super(x,"global",null,y,!1);this.implicit={set:new Map,variables:[],left:[]}}__close(x){const y=[];for(let K=0,R=this.__left.length;K<R;++K){var G=this.__left[K];G.__maybeImplicitGlobal&&!this.set.has(G.identifier.name)&&
y.push(G.__maybeImplicitGlobal)}for(let K=0,R=y.length;K<R;++K)G=y[K],this.__defineImplicit(G.pattern,new f(g.ImplicitGlobalVariable,G.pattern,G.node,null,null,null));this.implicit.left=this.__left;return super.__close(x)}__defineImplicit(x,y){x&&x.type===e.Identifier&&this.__defineGeneric(x.name,this.implicit.set,this.implicit.variables,x,y)}}class r extends q{constructor(x,y,G){super(x,"module",y,G,!1)}}class v extends q{constructor(x,y,G){super(x,"function-expression-name",y,G,!1);this.__define(G.id,
new f(g.FunctionName,G.id,G,null,null,null));this.functionExpressionScope=!0}}class z extends q{constructor(x,y,G){super(x,"catch",y,G,!1)}}class E extends q{constructor(x,y,G){super(x,"with",y,G,!1)}__close(x){if(this.__shouldStaticallyClose(x))return super.__close(x);for(let y=0,G=this.__left.length;y<G;++y)x=this.__left[y],x.tainted=!0,this.__delegateToUpperScope(x);this.__left=null;return this.upper}}class A extends q{constructor(x,y,G){super(x,"block",y,G,!1)}}class D extends q{constructor(x,
y,G){super(x,"switch",y,G,!1)}}class F extends q{constructor(x,y,G,K){super(x,"function",y,G,K);this.block.type!==e.ArrowFunctionExpression&&this.__defineArguments()}isArgumentsMaterialized(){if(this.block.type===e.ArrowFunctionExpression)return!1;if(!this.isStatic())return!0;const x=this.set.get("arguments");p["default"](x,"Always have arguments variable.");return x.tainted||0!==x.references.length}isThisMaterialized(){return this.isStatic()?this.thisFound:!0}__defineArguments(){this.__defineGeneric("arguments",
this.set,this.variables,null,null);this.taints.set("arguments",!0)}__isValidResolution(x,y){if("Program"===this.block.type)return!0;const G=this.block.body.range[0];return!(y.scope===this&&x.identifier.range[0]<G&&y.defs.every(K=>K.name.range[0]>=G))}}class C extends q{constructor(x,y,G){super(x,"for",y,G,!1)}}class B extends q{constructor(x,y,G){super(x,"class",y,G,!1)}}class I extends q{constructor(x,y,G){super(x,"class-field-initializer",y,G,!0)}}class J{constructor(x){this.scopes=[];this.globalScope=
null;this.__nodeToScope=new WeakMap;this.__currentScope=null;this.__options=x;this.__declaredVariables=new WeakMap}__useDirective(){return this.__options.directive}__isOptimistic(){return this.__options.optimistic}__ignoreEval(){return this.__options.ignoreEval}__isNodejsScope(){return this.__options.nodejsScope}isModule(){return"module"===this.__options.sourceType}isImpliedStrict(){return this.__options.impliedStrict}isStrictModeSupported(){return 5<=this.__options.ecmaVersion}__get(x){return this.__nodeToScope.get(x)}getDeclaredVariables(x){return this.__declaredVariables.get(x)||
[]}acquire(x,y){x=this.__get(x);if(!x||0===x.length)return null;if(1===x.length)return x[0];if(y)for(y=x.length-1;0<=y;--y){const G=x[y];if("function"!==G.type||!G.functionExpressionScope)return G}else for(let G=0,K=x.length;G<K;++G)if(y=x[G],"function"!==y.type||!y.functionExpressionScope)return y;return null}acquireAll(x){return this.__get(x)}release(x,y){return(x=this.__get(x))&&x.length?(x=x[0].upper)?this.acquire(x.block,y):null:null}attach(){}detach(){}__nestScope(x){x instanceof t&&(p["default"](null===
this.__currentScope),this.globalScope=x);return this.__currentScope=x}__nestGlobalScope(x){return this.__nestScope(new t(this,x))}__nestBlockScope(x){return this.__nestScope(new A(this,this.__currentScope,x))}__nestFunctionScope(x,y){return this.__nestScope(new F(this,this.__currentScope,x,y))}__nestForScope(x){return this.__nestScope(new C(this,this.__currentScope,x))}__nestCatchScope(x){return this.__nestScope(new z(this,this.__currentScope,x))}__nestWithScope(x){return this.__nestScope(new E(this,
this.__currentScope,x))}__nestClassScope(x){return this.__nestScope(new B(this,this.__currentScope,x))}__nestClassFieldInitializerScope(x){return this.__nestScope(new I(this,this.__currentScope,x))}__nestSwitchScope(x){return this.__nestScope(new D(this,this.__currentScope,x))}__nestModuleScope(x){return this.__nestScope(new r(this,this.__currentScope,x))}__nestFunctionExpressionNameScope(x){return this.__nestScope(new v(this,this.__currentScope,x))}__isES6(){return 6<=this.__options.ecmaVersion}}
const {Syntax:M}=u["default"];class P extends a["default"].Visitor{static isPattern(x){x=x.type;return x===M.Identifier||x===M.ObjectPattern||x===M.ArrayPattern||x===M.SpreadElement||x===M.RestElement||x===M.AssignmentPattern}constructor(x,y,G){super(null,x);this.rootPattern=y;this.callback=G;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(x){var y=this.restElements;y=y[y.length-1]||null;this.callback(x,{topLevel:x===this.rootPattern,rest:null!==y&&void 0!==y&&y.argument===
x,assignments:this.assignments})}Property(x){x.computed&&this.rightHandNodes.push(x.key);this.visit(x.value)}ArrayPattern(x){for(let y=0,G=x.elements.length;y<G;++y)this.visit(x.elements[y])}AssignmentPattern(x){this.assignments.push(x);this.visit(x.left);this.rightHandNodes.push(x.right);this.assignments.pop()}RestElement(x){this.restElements.push(x);this.visit(x.argument);this.restElements.pop()}MemberExpression(x){x.computed&&this.rightHandNodes.push(x.property);this.rightHandNodes.push(x.object)}SpreadElement(x){this.visit(x.argument)}ArrayExpression(x){x.elements.forEach(this.visit,
this)}AssignmentExpression(x){this.assignments.push(x);this.visit(x.left);this.rightHandNodes.push(x.right);this.assignments.pop()}CallExpression(x){x.arguments.forEach(y=>{this.rightHandNodes.push(y)});this.visit(x.callee)}}const {Syntax:O}=u["default"];class N extends a["default"].Visitor{constructor(x,y){super(null,y.options);this.declaration=x;this.referencer=y}visitImport(x,y){this.referencer.visitPattern(x,G=>{this.referencer.currentScope().__define(G,new f(g.ImportBinding,G,y,this.declaration,
null,null))})}ImportNamespaceSpecifier(x){const y=x.local||x.id;y&&this.visitImport(y,x)}ImportDefaultSpecifier(x){this.visitImport(x.local||x.id,x)}ImportSpecifier(x){const y=x.local||x.id;x.name?this.visitImport(x.name,x):this.visitImport(y,x)}}class L extends a["default"].Visitor{constructor(x,y){super(null,x);this.options=x;this.scopeManager=y;this.parent=null;this.isInnerMethodDefinition=!1}currentScope(){return this.scopeManager.__currentScope}close(x){for(;this.currentScope()&&x===this.currentScope().block;)this.scopeManager.__currentScope=
this.currentScope().__close(this.scopeManager)}pushInnerMethodDefinition(x){const y=this.isInnerMethodDefinition;this.isInnerMethodDefinition=x;return y}popInnerMethodDefinition(x){this.isInnerMethodDefinition=x}referencingDefaultValue(x,y,G,K){const R=this.currentScope();y.forEach(Z=>{R.__referencing(x,l.WRITE,Z.right,G,x!==Z.left,K)})}visitPattern(x,y,G){var K=y;"function"===typeof y&&(G=y,K={processRightHandNodes:!1});y=K.processRightHandNodes?this:null;K=new P(this.options,x,G);K.visit(x);null!==
y&&void 0!==y&&K.rightHandNodes.forEach(y.visit,y)}visitFunction(x){function y(Z,aa){R.currentScope().__define(Z,new n(Z,x,G,aa.rest));R.referencingDefaultValue(Z,aa.assignments,null,!0)}let G,K;x.type===O.FunctionDeclaration&&this.currentScope().__define(x.id,new f(g.FunctionName,x.id,x,null,null,null));x.type===O.FunctionExpression&&x.id&&this.scopeManager.__nestFunctionExpressionNameScope(x);this.scopeManager.__nestFunctionScope(x,this.isInnerMethodDefinition);const R=this;G=0;for(K=x.params.length;G<
K;++G)this.visitPattern(x.params[G],{processRightHandNodes:!0},y);x.rest&&this.visitPattern({type:"RestElement",argument:x.rest},Z=>{this.currentScope().__define(Z,new n(Z,x,x.params.length,!0))});x.body&&(x.body.type===O.BlockStatement?this.visitChildren(x.body):this.visit(x.body));this.close(x)}visitClass(x){x.type===O.ClassDeclaration&&this.currentScope().__define(x.id,new f(g.ClassName,x.id,x,null,null,null));this.visit(x.superClass);this.scopeManager.__nestClassScope(x);x.id&&this.currentScope().__define(x.id,
new f(g.ClassName,x.id,x));this.visit(x.body);this.close(x)}visitProperty(x){let y;x.computed&&this.visit(x.key);const G=x.type===O.MethodDefinition;G&&(y=this.pushInnerMethodDefinition(!0));this.visit(x.value);G&&this.popInnerMethodDefinition(y)}visitForIn(x){x.left.type===O.VariableDeclaration&&"var"!==x.left.kind&&this.scopeManager.__nestForScope(x);x.left.type===O.VariableDeclaration?(this.visit(x.left),this.visitPattern(x.left.declarations[0].id,y=>{this.currentScope().__referencing(y,l.WRITE,
x.right,null,!0,!0)})):this.visitPattern(x.left,{processRightHandNodes:!0},(y,G)=>{let K=null;this.currentScope().isStrict||(K={pattern:y,node:x});this.referencingDefaultValue(y,G.assignments,K,!1);this.currentScope().__referencing(y,l.WRITE,x.right,K,!0,!1)});this.visit(x.right);this.visit(x.body);this.close(x)}visitVariableDeclaration(x,y,G,K){const R=G.declarations[K],Z=R.init;this.visitPattern(R.id,{processRightHandNodes:!0},(aa,xa)=>{x.__define(aa,new f(y,aa,R,G,K,G.kind));this.referencingDefaultValue(aa,
xa.assignments,null,!0);Z&&this.currentScope().__referencing(aa,l.WRITE,Z,null,!xa.topLevel,!0)})}AssignmentExpression(x){P.isPattern(x.left)?"="===x.operator?this.visitPattern(x.left,{processRightHandNodes:!0},(y,G)=>{let K=null;this.currentScope().isStrict||(K={pattern:y,node:x});this.referencingDefaultValue(y,G.assignments,K,!1);this.currentScope().__referencing(y,l.WRITE,x.right,K,!G.topLevel,!1)}):this.currentScope().__referencing(x.left,l.RW,x.right):this.visit(x.left);this.visit(x.right)}CatchClause(x){this.scopeManager.__nestCatchScope(x);
this.visitPattern(x.param,{processRightHandNodes:!0},(y,G)=>{this.currentScope().__define(y,new f(g.CatchClause,x.param,x,null,null,null));this.referencingDefaultValue(y,G.assignments,null,!0)});this.visit(x.body);this.close(x)}Program(x){this.scopeManager.__nestGlobalScope(x);this.scopeManager.__isNodejsScope()&&(this.currentScope().isStrict=!1,this.scopeManager.__nestFunctionScope(x,!1));this.scopeManager.__isES6()&&this.scopeManager.isModule()&&this.scopeManager.__nestModuleScope(x);this.scopeManager.isStrictModeSupported()&&
this.scopeManager.isImpliedStrict()&&(this.currentScope().isStrict=!0);this.visitChildren(x);this.close(x)}Identifier(x){this.currentScope().__referencing(x)}PrivateIdentifier(){}UpdateExpression(x){P.isPattern(x.argument)?this.currentScope().__referencing(x.argument,l.RW,null):this.visitChildren(x)}MemberExpression(x){this.visit(x.object);x.computed&&this.visit(x.property)}Property(x){this.visitProperty(x)}PropertyDefinition(x){const {computed:y,key:G,value:K}=x;y&&this.visit(G);K&&(this.scopeManager.__nestClassFieldInitializerScope(K),
this.visit(K),this.close(K))}MethodDefinition(x){this.visitProperty(x)}BreakStatement(){}ContinueStatement(){}LabeledStatement(x){this.visit(x.body)}ForStatement(x){x.init&&x.init.type===O.VariableDeclaration&&"var"!==x.init.kind&&this.scopeManager.__nestForScope(x);this.visitChildren(x);this.close(x)}ClassExpression(x){this.visitClass(x)}ClassDeclaration(x){this.visitClass(x)}CallExpression(x){this.scopeManager.__ignoreEval()||x.callee.type!==O.Identifier||"eval"!==x.callee.name||this.currentScope().variableScope.__detectEval();
this.visitChildren(x)}BlockStatement(x){this.scopeManager.__isES6()&&this.scopeManager.__nestBlockScope(x);this.visitChildren(x);this.close(x)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(x){this.visit(x.object);this.scopeManager.__nestWithScope(x);this.visit(x.body);this.close(x)}VariableDeclaration(x){const y="var"===x.kind?this.currentScope().variableScope:this.currentScope();for(let G=0,K=x.declarations.length;G<K;++G){const R=x.declarations[G];this.visitVariableDeclaration(y,
g.Variable,x,G);R.init&&this.visit(R.init)}}SwitchStatement(x){this.visit(x.discriminant);this.scopeManager.__isES6()&&this.scopeManager.__nestSwitchScope(x);for(let y=0,G=x.cases.length;y<G;++y)this.visit(x.cases[y]);this.close(x)}FunctionDeclaration(x){this.visitFunction(x)}FunctionExpression(x){this.visitFunction(x)}ForOfStatement(x){this.visitForIn(x)}ForInStatement(x){this.visitForIn(x)}ArrowFunctionExpression(x){this.visitFunction(x)}ImportDeclaration(x){p["default"](this.scopeManager.__isES6()&&
this.scopeManager.isModule(),"ImportDeclaration should appear when the mode is ES6 and in the module context.");(new N(x,this)).visit(x)}visitExportDeclaration(x){x.source||(x.declaration?this.visit(x.declaration):this.visitChildren(x))}ExportDeclaration(x){this.visitExportDeclaration(x)}ExportAllDeclaration(x){this.visitExportDeclaration(x)}ExportDefaultDeclaration(x){this.visitExportDeclaration(x)}ExportNamedDeclaration(x){this.visitExportDeclaration(x)}ExportSpecifier(x){this.visit(x.id||x.local)}MetaProperty(){}}
c.Definition=f;c.PatternVisitor=P;c.Reference=l;c.Referencer=L;c.Scope=q;c.ScopeManager=J;c.Variable=g;c.analyze=function(x,y){y=h({optimistic:!1,directive:!1,nodejsScope:!1,impliedStrict:!1,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"},y);const G=new J(y);(new L(y,G)).visit(x);p["default"](null===G.__currentScope,"currentScope should be null.");return G};c.version="6.0.0"},(u,c,a)=>{function b(G){b="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(K){return typeof K}:
function(K){return K&&"function"===typeof Symbol&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K};return b(G)}function d(){var G=a(453);O=G.isDeepEqual;N=G.isDeepStrictEqual}function m(G){if(G.message instanceof Error)throw G.message;throw new B(G);}function h(G,K,R,Z,aa){var xa=arguments.length;if(0===xa)var X="Failed";else 1===xa?(R=G,G=void 0):(!1===L&&(L=!0,(v.emitWarning?v.emitWarning:z.warn.bind(z))("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.",
"DeprecationWarning","DEP0094")),2===xa&&(Z="!="));if(R instanceof Error)throw R;xa={actual:G,expected:K,operator:void 0===Z?"fail":Z,stackStartFn:aa||h};void 0!==R&&(xa.message=R);xa=new B(xa);X&&(xa.message=X,xa.generatedMessage=!0);throw xa;}function k(G,K,R,Z){if(!R){var aa=!1;if(0===K)aa=!0,Z="No value argument passed to `assert.ok()`";else if(Z instanceof Error)throw Z;G=new B({actual:R,expected:!0,message:Z,operator:"==",stackStartFn:G});G.generatedMessage=aa;throw G;}}function p(){for(var G=
arguments.length,K=Array(G),R=0;R<G;R++)K[R]=arguments[R];k.apply(void 0,[p,K.length].concat(K))}function l(G,K,R){if(2>arguments.length)throw new C("actual","expected");void 0===O&&d();N(G,K)&&m({actual:G,expected:K,message:R,operator:"notDeepStrictEqual",stackStartFn:l})}function g(G,K,R,Z){if("function"!==typeof K){if(M(K))return K.test(G);if(2===arguments.length)throw new A("expected",["Function","RegExp"],K);if("object"!==b(G)||null===G){var aa=new B({actual:G,expected:K,message:R,operator:"deepStrictEqual",
stackStartFn:Z});aa.operator=Z.name;throw aa;}var xa=Object.keys(K);if(K instanceof Error)xa.push("name","message");else if(0===xa.length)throw new D("error",K,"may not be an empty object");void 0===O&&d();xa.forEach(function(X){if(!("string"===typeof G[X]&&M(K[X])&&K[X].test(G[X])||X in G&&N(G[X],K[X]))){if(!R){X=new y(G,xa);var wa=new y(K,xa,G);X=new B({actual:X,expected:wa,operator:"deepStrictEqual",stackStartFn:Z});X.actual=G;X.expected=K;X.operator=Z.name;throw X;}m({actual:G,expected:K,message:R,
operator:Z.name,stackStartFn:Z})}});return!0}return void 0!==K.prototype&&G instanceof K?!0:Error.isPrototypeOf(K)?!1:!0===K.call({},G)}function f(G){if("function"!==typeof G)throw new A("fn","Function",G);try{G()}catch(K){return K}return x}function n(G){return J(G)||null!==G&&"object"===b(G)&&"function"===typeof G.then&&"function"===typeof G.catch}function e(G){return Promise.resolve().then(function(){if("function"===typeof G){var K=G();if(!n(K))throw new F("instance of Promise","promiseFn",K);}else if(n(G))K=
G;else throw new A("promiseFn",["Function","Promise"],G);return Promise.resolve().then(function(){return K}).then(function(){return x}).catch(function(R){return R})})}function q(G,K,R,Z){if("string"===typeof R){if(4===arguments.length)throw new A("error",["Object","Error","Function","RegExp"],R);if("object"===b(K)&&null!==K){if(K.message===R)throw new E("error/message",'The error message "'.concat(K.message,'" is identical to the message.'));}else if(K===R)throw new E("error/message",'The error "'.concat(K,
'" is identical to the message.'));Z=R;R=void 0}else if(null!=R&&"object"!==b(R)&&"function"!==typeof R)throw new A("error",["Object","Error","Function","RegExp"],R);if(K===x){var aa="";R&&R.name&&(aa+=" (".concat(R.name,")"));aa+=Z?": ".concat(Z):".";m({actual:void 0,expected:R,operator:G.name,message:"Missing expected ".concat("rejects"===G.name?"rejection":"exception").concat(aa),stackStartFn:G})}if(R&&!g(K,R,Z,G))throw K;}function t(G,K,R,Z){if(K!==x){"string"===typeof R&&(Z=R,R=void 0);if(!R||
g(K,R))Z=Z?": ".concat(Z):".",m({actual:K,expected:R,operator:G.name,message:"Got unwanted ".concat("doesNotReject"===G.name?"rejection":"exception").concat(Z,"\n")+'Actual message: "'.concat(K&&K.message,'"'),stackStartFn:G});throw K;}}function r(){for(var G=arguments.length,K=Array(G),R=0;R<G;R++)K[R]=arguments[R];k.apply(void 0,[r,K.length].concat(K))}var v=a(418),z=a(423);c=a(421).codes;var E=c.ERR_AMBIGUOUS_ARGUMENT,A=c.ERR_INVALID_ARG_TYPE,D=c.ERR_INVALID_ARG_VALUE,F=c.ERR_INVALID_RETURN_VALUE,
C=c.ERR_MISSING_ARGS,B=a(443),I=a(422).inspect;c=a(422).types;var J=c.isPromise,M=c.isRegExp;c=Object.assign?Object.assign:a(444).assign;var P=Object.is?Object.is:a(445);new Map;var O,N,L=!1;u=u.exports=p;var x={};u.fail=h;u.AssertionError=B;u.ok=p;u.equal=function aa(K,R,Z){if(2>arguments.length)throw new C("actual","expected");K!=R&&m({actual:K,expected:R,message:Z,operator:"==",stackStartFn:aa})};u.notEqual=function xa(R,Z,aa){if(2>arguments.length)throw new C("actual","expected");R==Z&&m({actual:R,
expected:Z,message:aa,operator:"!=",stackStartFn:xa})};u.deepEqual=function X(Z,aa,xa){if(2>arguments.length)throw new C("actual","expected");void 0===O&&d();O(Z,aa)||m({actual:Z,expected:aa,message:xa,operator:"deepEqual",stackStartFn:X})};u.notDeepEqual=function wa(aa,xa,X){if(2>arguments.length)throw new C("actual","expected");void 0===O&&d();O(aa,xa)&&m({actual:aa,expected:xa,message:X,operator:"notDeepEqual",stackStartFn:wa})};u.deepStrictEqual=function ka(xa,X,wa){if(2>arguments.length)throw new C("actual",
"expected");void 0===O&&d();N(xa,X)||m({actual:xa,expected:X,message:wa,operator:"deepStrictEqual",stackStartFn:ka})};u.notDeepStrictEqual=l;u.strictEqual=function ra(X,wa,ka){if(2>arguments.length)throw new C("actual","expected");P(X,wa)||m({actual:X,expected:wa,message:ka,operator:"strictEqual",stackStartFn:ra})};u.notStrictEqual=function qa(wa,ka,ra){if(2>arguments.length)throw new C("actual","expected");P(wa,ka)&&m({actual:wa,expected:ka,message:ra,operator:"notStrictEqual",stackStartFn:qa})};
var y=function va(ka,ra,qa){var U=this;if(!(this instanceof va))throw new TypeError("Cannot call a class as a function");ra.forEach(function(pa){pa in ka&&(void 0!==qa&&"string"===typeof qa[pa]&&M(ka[pa])&&ka[pa].test(qa[pa])?U[pa]=qa[pa]:U[pa]=ka[pa])})};u.throws=function qa(ra){for(var va=arguments.length,U=Array(1<va?va-1:0),pa=1;pa<va;pa++)U[pa-1]=arguments[pa];q.apply(void 0,[qa,f(ra)].concat(U))};u.rejects=function va(qa){for(var U=arguments.length,pa=Array(1<U?U-1:0),S=1;S<U;S++)pa[S-1]=arguments[S];
return e(qa).then(function(ma){return q.apply(void 0,[va,ma].concat(pa))})};u.doesNotThrow=function U(va){for(var pa=arguments.length,S=Array(1<pa?pa-1:0),ma=1;ma<pa;ma++)S[ma-1]=arguments[ma];t.apply(void 0,[U,f(va)].concat(S))};u.doesNotReject=function pa(U){for(var S=arguments.length,ma=Array(1<S?S-1:0),ya=1;ya<S;ya++)ma[ya-1]=arguments[ya];return e(U).then(function(Ga){return t.apply(void 0,[pa,Ga].concat(ma))})};u.ifError=function S(pa){if(null!==pa&&void 0!==pa){var ma="ifError got unwanted exception: ";
ma="object"===b(pa)&&"string"===typeof pa.message?0===pa.message.length&&pa.constructor?ma+pa.constructor.name:ma+pa.message:ma+I(pa);ma=new B({actual:pa,expected:null,operator:"ifError",message:ma,stackStartFn:S});pa=pa.stack;if("string"===typeof pa){pa=pa.split("\n");pa.shift();for(var ya=ma.stack.split("\n"),Ga=0;Ga<pa.length;Ga++){var Ha=ya.indexOf(pa[Ga]);if(-1!==Ha){ya=ya.slice(0,Ha);break}}ma.stack="".concat(ya.join("\n"),"\n").concat(pa.join("\n"))}throw ma;}};u.strict=c(r,u,{equal:u.strictEqual,
deepEqual:u.deepStrictEqual,notEqual:u.notStrictEqual,notDeepEqual:u.notDeepStrictEqual});u.strict.strict=u.strict},(u,c,a)=>{function b(n){b="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};return b(n)}function d(n){d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)};return d(n)}function m(n,
e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}});e&&h(n,e)}function h(n,e){h=Object.setPrototypeOf||function(q,t){q.__proto__=t;return q};return h(n,e)}function k(n,e,q){q||(q=Error);q=function(t){function r(v,z,E){if(!(this instanceof r))throw new TypeError("Cannot call a class as a function");v=d(r).call(this,"string"===typeof e?e:e(v,z,E));
if(!v||"object"!==b(v)&&"function"!==typeof v){if(void 0===this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");v=this}v.code=n;return v}m(r,t);return r}(q);l[n]=q}function p(n,e){if(Array.isArray(n)){var q=n.length;n=n.map(function(t){return String(t)});return 2<q?"one of ".concat(e," ").concat(n.slice(0,q-1).join(", "),", or ")+n[q-1]:2===q?"one of ".concat(e," ").concat(n[0]," or ").concat(n[1]):"of ".concat(e," ").concat(n[0])}return"of ".concat(e," ").concat(String(n))}
var l={},g,f;k("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError);k("ERR_INVALID_ARG_TYPE",function(n,e,q){void 0===g&&(g=a(420));g("string"===typeof n,"'name' must be a string");var t;if(t="string"===typeof e)t="not "===e.substr(0,4);t?(t="must not be",e=e.replace(/^not /,"")):t="must be";var r=void 0;if(void 0===r||r>n.length)r=n.length;" argument"===n.substring(r-9,r)?n="The ".concat(n," ").concat(t," ").concat(p(e,"type")):(r=void 0,"number"!==typeof r&&(r=0),r=r+1>n.length?
!1:-1!==n.indexOf(".",r),r=r?"property":"argument",n='The "'.concat(n,'" ').concat(r," ").concat(t," ").concat(p(e,"type")));return n+=". Received type ".concat(b(q))},TypeError);k("ERR_INVALID_ARG_VALUE",function(n,e){var q=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===f&&(f=a(422));var t=f.inspect(e);128<t.length&&(t="".concat(t.slice(0,128),"..."));return"The argument '".concat(n,"' ").concat(q,". Received ").concat(t)},TypeError,RangeError);k("ERR_INVALID_RETURN_VALUE",
function(n,e,q){q=q&&q.constructor&&q.constructor.name?"instance of ".concat(q.constructor.name):"type ".concat(b(q));return"Expected ".concat(n,' to be returned from the "').concat(e,'"')+" function but got ".concat(q,".")},TypeError);k("ERR_MISSING_ARGS",function(){for(var n=arguments.length,e=Array(n),q=0;q<n;q++)e[q]=arguments[q];void 0===g&&(g=a(420));g(0<e.length,"At least one arg needs to be specified");n="The ";q=e.length;e=e.map(function(t){return'"'.concat(t,'"')});switch(q){case 1:n+="".concat(e[0],
" argument");break;case 2:n+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:n+=e.slice(0,q-1).join(", "),n+=", and ".concat(e[q-1]," arguments")}return"".concat(n," must be specified")},TypeError);u.exports.codes=l},(u,c,a)=>{function b(G,K){var R={seen:[],stylize:m};3<=arguments.length&&(R.depth=arguments[2]);4<=arguments.length&&(R.colors=arguments[3]);q(K)?R.showHidden=K:K&&c._extend(R,K);v(R.showHidden)&&(R.showHidden=!1);v(R.depth)&&(R.depth=2);v(R.colors)&&(R.colors=!1);v(R.customInspect)&&
(R.customInspect=!0);R.colors&&(R.stylize=d);return k(R,G,R.depth)}function d(G,K){return(K=b.styles[K])?"\u001b["+b.colors[K][0]+"m"+G+"\u001b["+b.colors[K][1]+"m":G}function m(G,K){return G}function h(G){var K={};G.forEach(function(R,Z){K[R]=!0});return K}function k(G,K,R){if(G.customInspect&&K&&F(K.inspect)&&K.inspect!==c.inspect&&(!K.constructor||K.constructor.prototype!==K)){var Z=K.inspect(R,G);r(Z)||(Z=k(G,Z,R));return Z}if(Z=p(G,K))return Z;var aa=Object.keys(K),xa=h(aa);G.showHidden&&(aa=
Object.getOwnPropertyNames(K));if(D(K)&&(0<=aa.indexOf("message")||0<=aa.indexOf("description")))return l(K);if(0===aa.length){if(F(K))return G.stylize("[Function"+(K.name?": "+K.name:"")+"]","special");if(z(K))return G.stylize(RegExp.prototype.toString.call(K),"regexp");if(A(K))return G.stylize(Date.prototype.toString.call(K),"date");if(D(K))return l(K)}Z="";var X=!1,wa=["{","}"];e(K)&&(X=!0,wa=["[","]"]);F(K)&&(Z=" [Function"+(K.name?": "+K.name:"")+"]");z(K)&&(Z=" "+RegExp.prototype.toString.call(K));
A(K)&&(Z=" "+Date.prototype.toUTCString.call(K));D(K)&&(Z=" "+l(K));if(0===aa.length&&(!X||0==K.length))return wa[0]+Z+wa[1];if(0>R)return z(K)?G.stylize(RegExp.prototype.toString.call(K),"regexp"):G.stylize("[Object]","special");G.seen.push(K);aa=X?g(G,K,R,xa,aa):aa.map(function(ka){return f(G,K,R,xa,ka,X)});G.seen.pop();return n(aa,Z,wa)}function p(G,K){if(v(K))return G.stylize("undefined","undefined");if(r(K))return K="'"+JSON.stringify(K).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,
'"')+"'",G.stylize(K,"string");if(t(K))return G.stylize(""+K,"number");if(q(K))return G.stylize(""+K,"boolean");if(null===K)return G.stylize("null","null")}function l(G){return"["+Error.prototype.toString.call(G)+"]"}function g(G,K,R,Z,aa){for(var xa=[],X=0,wa=K.length;X<wa;++X)Object.prototype.hasOwnProperty.call(K,String(X))?xa.push(f(G,K,R,Z,String(X),!0)):xa.push("");aa.forEach(function(ka){ka.match(/^\d+$/)||xa.push(f(G,K,R,Z,ka,!0))});return xa}function f(G,K,R,Z,aa,xa){var X,wa;K=Object.getOwnPropertyDescriptor(K,
aa)||{value:K[aa]};K.get?wa=K.set?G.stylize("[Getter/Setter]","special"):G.stylize("[Getter]","special"):K.set&&(wa=G.stylize("[Setter]","special"));Object.prototype.hasOwnProperty.call(Z,aa)||(X="["+aa+"]");wa||(0>G.seen.indexOf(K.value)?(wa=null===R?k(G,K.value,null):k(G,K.value,R-1),-1<wa.indexOf("\n")&&(wa=xa?wa.split("\n").map(function(ka){return"  "+ka}).join("\n").substr(2):"\n"+wa.split("\n").map(function(ka){return"   "+ka}).join("\n"))):wa=G.stylize("[Circular]","special"));if(v(X)){if(xa&&
aa.match(/^\d+$/))return wa;X=JSON.stringify(""+aa);X.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(X=X.substr(1,X.length-2),X=G.stylize(X,"name")):(X=X.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),X=G.stylize(X,"string"))}return X+": "+wa}function n(G,K,R){var Z=0;return 60<G.reduce(function(aa,xa){Z++;0<=xa.indexOf("\n")&&Z++;return aa+xa.replace(/\u001b\[\d\d?m/g,"").length+1},0)?R[0]+(""===K?"":K+"\n ")+" "+G.join(",\n  ")+" "+R[1]:R[0]+K+" "+G.join(", ")+" "+R[1]}function e(G){return Array.isArray(G)}
function q(G){return"boolean"===typeof G}function t(G){return"number"===typeof G}function r(G){return"string"===typeof G}function v(G){return void 0===G}function z(G){return E(G)&&"[object RegExp]"===Object.prototype.toString.call(G)}function E(G){return"object"===typeof G&&null!==G}function A(G){return E(G)&&"[object Date]"===Object.prototype.toString.call(G)}function D(G){return E(G)&&("[object Error]"===Object.prototype.toString.call(G)||G instanceof Error)}function F(G){return"function"===typeof G}
function C(G){return 10>G?"0"+G.toString(10):G.toString(10)}function B(){var G=new Date,K=[C(G.getHours()),C(G.getMinutes()),C(G.getSeconds())].join(":");return[G.getDate(),x[G.getMonth()],K].join(" ")}function I(G,K){if(!G){var R=Error("Promise was rejected with a falsy value");R.reason=G;G=R}return K(G)}var J=a(418),M=a(423),P=Object.getOwnPropertyDescriptors||function(G){for(var K=Object.keys(G),R={},Z=0;Z<K.length;Z++)R[K[Z]]=Object.getOwnPropertyDescriptor(G,K[Z]);return R},O=/%[sdj%]/g;c.format=
function(G){if(!r(G)){for(var K=[],R=0;R<arguments.length;R++)K.push(b(arguments[R]));return K.join(" ")}R=1;var Z=arguments,aa=Z.length;K=String(G).replace(O,function(X){if("%%"===X)return"%";if(R>=aa)return X;switch(X){case "%s":return String(Z[R++]);case "%d":return Number(Z[R++]);case "%j":try{return JSON.stringify(Z[R++])}catch(wa){return"[Circular]"}default:return X}});for(var xa=Z[R];R<aa;xa=Z[++R])K=null!==xa&&E(xa)?K+(" "+b(xa)):K+(" "+xa);return K};c.deprecate=function(G,K){if("undefined"!==
typeof J&&!0===J.noDeprecation)return G;if("undefined"===typeof J)return function(){return c.deprecate(G,K).apply(this,arguments)};var R=!1;return function(){if(!R){if(J.throwDeprecation)throw Error(K);J.traceDeprecation?M.trace(K):M.error(K);R=!0}return G.apply(this,arguments)}};var N={},L=/^$/;J.env.NODE_DEBUG&&(u=J.env.NODE_DEBUG,u=u.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),L=new RegExp("^"+u+"$","i"));c.debuglog=function(G){G=G.toUpperCase();if(!N[G])if(L.test(G)){var K=
J.pid;N[G]=function(){var R=c.format.apply(c,arguments);M.error("%s %d: %s",G,K,R)}}else N[G]=function(){};return N[G]};c.inspect=b;b.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]};b.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"};c.types=a(424);c.isArray=e;c.isBoolean=q;
c.isNull=function(G){return null===G};c.isNullOrUndefined=function(G){return null==G};c.isNumber=t;c.isString=r;c.isSymbol=function(G){return"symbol"===typeof G};c.isUndefined=v;c.isRegExp=z;c.types.isRegExp=z;c.isObject=E;c.isDate=A;c.types.isDate=A;c.isError=D;c.types.isNativeError=D;c.isFunction=F;c.isPrimitive=function(G){return null===G||"boolean"===typeof G||"number"===typeof G||"string"===typeof G||"symbol"===typeof G||"undefined"===typeof G};c.isBuffer=a(441);var x="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" ");
c.log=function(){M.log("%s - %s",B(),c.format.apply(c,arguments))};c.inherits=a(442);c._extend=function(G,K){if(!K||!E(K))return G;for(var R=Object.keys(K),Z=R.length;Z--;)G[R[Z]]=K[R[Z]];return G};var y="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;c.promisify=function(G){function K(){for(var R,Z,aa=new Promise(function(wa,ka){R=wa;Z=ka}),xa=[],X=0;X<arguments.length;X++)xa.push(arguments[X]);xa.push(function(wa,ka){wa?Z(wa):R(ka)});try{G.apply(this,xa)}catch(wa){Z(wa)}return aa}
if("function"!==typeof G)throw new TypeError('The "original" argument must be of type Function');if(y&&G[y]){K=G[y];if("function"!==typeof K)throw new TypeError('The "util.promisify.custom" argument must be of type Function');Object.defineProperty(K,y,{value:K,enumerable:!1,writable:!1,configurable:!0});return K}Object.setPrototypeOf(K,Object.getPrototypeOf(G));y&&Object.defineProperty(K,y,{value:K,enumerable:!1,writable:!1,configurable:!0});return Object.defineProperties(K,P(G))};c.promisify.custom=
y;c.callbackify=function(G){function K(){for(var R=[],Z=0;Z<arguments.length;Z++)R.push(arguments[Z]);var aa=R.pop();if("function"!==typeof aa)throw new TypeError("The last argument must be of type Function");var xa=this,X=function(){return aa.apply(xa,arguments)};G.apply(this,R).then(function(wa){J.nextTick(X.bind(null,null,wa))},function(wa){J.nextTick(I.bind(null,wa,X))})}if("function"!==typeof G)throw new TypeError('The "original" argument must be of type Function');Object.setPrototypeOf(K,Object.getPrototypeOf(G));
Object.defineProperties(K,P(G));return K}},(u,c,a)=>{var b=a(422),d=a(420),m=Array.prototype.slice,h={};var k="undefined"!==typeof a.g&&a.g.console?a.g.console:"undefined"!==typeof window&&window.console?window.console:{};c=[[function(){},"log"],[function(){k.log.apply(k,arguments)},"info"],[function(){k.log.apply(k,arguments)},"warn"],[function(){k.warn.apply(k,arguments)},"error"],[function(g){h[g]=(new Date).getTime()},"time"],[function(g){var f=h[g];if(!f)throw Error("No such label: "+g);delete h[g];
f=(new Date).getTime()-f;k.log(g+": "+f+"ms")},"timeEnd"],[function(){var g=Error();g.name="Trace";g.message=b.format.apply(null,arguments);k.error(g.stack)},"trace"],[function(g){k.log(b.inspect(g)+"\n")},"dir"],[function(g){if(!g){var f=m.call(arguments,1);d.ok(!1,b.format.apply(null,f))}},"assert"]];for(a=0;a<c.length;a++){var p=c[a],l=p[0];p=p[1];k[p]||(k[p]=l)}u.exports=k},(u,c,a)=>{function b(x){return x.call.bind(x)}function d(x,y){if("object"!==typeof x)return!1;try{return y(x),!0}catch(G){return!1}}
function m(x){return"[object Map]"===I(x)}function h(x){return"[object Set]"===I(x)}function k(x){return"[object WeakMap]"===I(x)}function p(x){return"[object WeakSet]"===I(x)}function l(x){return"[object ArrayBuffer]"===I(x)}function g(x){return"undefined"===typeof ArrayBuffer?!1:l.working?l(x):x instanceof ArrayBuffer}function f(x){return"[object DataView]"===I(x)}function n(x){return"undefined"===typeof DataView?!1:f.working?f(x):x instanceof DataView}function e(x){return"[object SharedArrayBuffer]"===
I(x)}function q(x){if("undefined"===typeof L)return!1;"undefined"===typeof e.working&&(e.working=e(new L));return e.working?e(x):x instanceof L}function t(x){return d(x,J)}function r(x){return d(x,M)}function v(x){return d(x,P)}function z(x){return C&&d(x,O)}function E(x){return B&&d(x,N)}u=a(425);var A=a(435),D=a(436),F=a(440),C="undefined"!==typeof BigInt,B="undefined"!==typeof Symbol,I=b(Object.prototype.toString),J=b(Number.prototype.valueOf),M=b(String.prototype.valueOf),P=b(Boolean.prototype.valueOf);
if(C)var O=b(BigInt.prototype.valueOf);if(B)var N=b(Symbol.prototype.valueOf);c.isArgumentsObject=u;c.isGeneratorFunction=A;c.isTypedArray=F;c.isPromise=function(x){return"undefined"!==typeof Promise&&x instanceof Promise||null!==x&&"object"===typeof x&&"function"===typeof x.then&&"function"===typeof x.catch};c.isArrayBufferView=function(x){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(x):F(x)||n(x)};c.isUint8Array=function(x){return"Uint8Array"===D(x)};c.isUint8ClampedArray=
function(x){return"Uint8ClampedArray"===D(x)};c.isUint16Array=function(x){return"Uint16Array"===D(x)};c.isUint32Array=function(x){return"Uint32Array"===D(x)};c.isInt8Array=function(x){return"Int8Array"===D(x)};c.isInt16Array=function(x){return"Int16Array"===D(x)};c.isInt32Array=function(x){return"Int32Array"===D(x)};c.isFloat32Array=function(x){return"Float32Array"===D(x)};c.isFloat64Array=function(x){return"Float64Array"===D(x)};c.isBigInt64Array=function(x){return"BigInt64Array"===D(x)};c.isBigUint64Array=
function(x){return"BigUint64Array"===D(x)};m.working="undefined"!==typeof Map&&m(new Map);c.isMap=function(x){return"undefined"===typeof Map?!1:m.working?m(x):x instanceof Map};h.working="undefined"!==typeof Set&&h(new Set);c.isSet=function(x){return"undefined"===typeof Set?!1:h.working?h(x):x instanceof Set};k.working="undefined"!==typeof WeakMap&&k(new WeakMap);c.isWeakMap=function(x){return"undefined"===typeof WeakMap?!1:k.working?k(x):x instanceof WeakMap};p.working="undefined"!==typeof WeakSet&&
p(new WeakSet);c.isWeakSet=function(x){return p(x)};l.working="undefined"!==typeof ArrayBuffer&&l(new ArrayBuffer);c.isArrayBuffer=g;f.working="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof DataView&&f(new DataView(new ArrayBuffer(1),0,1));c.isDataView=n;var L="undefined"!==typeof SharedArrayBuffer?SharedArrayBuffer:void 0;c.isSharedArrayBuffer=q;c.isAsyncFunction=function(x){return"[object AsyncFunction]"===I(x)};c.isMapIterator=function(x){return"[object Map Iterator]"===I(x)};c.isSetIterator=
function(x){return"[object Set Iterator]"===I(x)};c.isGeneratorObject=function(x){return"[object Generator]"===I(x)};c.isWebAssemblyCompiledModule=function(x){return"[object WebAssembly.Module]"===I(x)};c.isNumberObject=t;c.isStringObject=r;c.isBooleanObject=v;c.isBigIntObject=z;c.isSymbolObject=E;c.isBoxedPrimitive=function(x){return t(x)||r(x)||v(x)||z(x)||E(x)};c.isAnyArrayBuffer=function(x){return"undefined"!==typeof Uint8Array&&(g(x)||q(x))};["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(x){Object.defineProperty(c,
x,{enumerable:!1,value:function(){throw Error(x+" is not supported in userland");}})})},(u,c,a)=>{var b=a(426)(),d=a(428)("Object.prototype.toString"),m=function(h){return b&&h&&"object"===typeof h&&Symbol.toStringTag in h?!1:"[object Arguments]"===d(h)};c=function(h){return m(h)?!0:null!==h&&"object"===typeof h&&"number"===typeof h.length&&0<=h.length&&"[object Array]"!==d(h)&&"[object Function]"===d(h.callee)};a=function(){return m(arguments)}();m.isLegacyArguments=c;u.exports=a?m:c},(u,c,a)=>{var b=
a(427);u.exports=function(){return b()&&!!Symbol.toStringTag}},u=>{u.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var c={},a=Symbol("test"),b=Object(a);if("string"===typeof a||"[object Symbol]"!==Object.prototype.toString.call(a)||"[object Symbol]"!==Object.prototype.toString.call(b))return!1;c[a]=42;for(a in c)return!1;if("function"===typeof Object.keys&&0!==Object.keys(c).length||"function"===
typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(c).length)return!1;b=Object.getOwnPropertySymbols(c);return 1!==b.length||b[0]!==a||!Object.prototype.propertyIsEnumerable.call(c,a)||"function"===typeof Object.getOwnPropertyDescriptor&&(c=Object.getOwnPropertyDescriptor(c,a),42!==c.value||!0!==c.enumerable)?!1:!0}},(u,c,a)=>{var b=a(429),d=a(434),m=d(b("String.prototype.indexOf"));u.exports=function(h,k){k=b(h,!!k);return"function"===typeof k&&-1<m(h,".prototype.")?d(k):k}},(u,c,
a)=>{var b=SyntaxError,d=Function,m=TypeError,h=function(B){try{return d(' return ('+B+").constructor;")()}catch(I){}},k=Object.getOwnPropertyDescriptor;if(k)try{k({},"")}catch(B){k=null}var p=function(){throw new m;};c=k?function(){try{return arguments.callee,p}catch(B){try{return k(arguments,"callee").get}catch(I){return p}}}():p;var l=a(430)(),g=Object.getPrototypeOf||function(B){return B.__proto__},f={},n="undefined"===typeof Uint8Array?void 0:g(Uint8Array),e={"%AggregateError%":"undefined"===
typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":l?g([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"===typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"===typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?
void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":d,"%GeneratorFunction%":f,"%Int8Array%":"undefined"===
typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":l?g(g([][Symbol.iterator]())):void 0,"%JSON%":"object"===typeof JSON?JSON:void 0,"%Map%":"undefined"===typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&l?g((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,
"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?void 0:Promise,"%Proxy%":"undefined"===typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&l?g((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,
"%StringIteratorPrototype%":l?g(""[Symbol.iterator]()):void 0,"%Symbol%":l?Symbol:void 0,"%SyntaxError%":b,"%ThrowTypeError%":c,"%TypedArray%":n,"%TypeError%":m,"%Uint8Array%":"undefined"===typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?
void 0:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?void 0:WeakSet},q=function J(I){if("%AsyncFunction%"===I)var M=h("async function () {}");else if("%GeneratorFunction%"===I)M=h("function* () {}");else if("%AsyncGeneratorFunction%"===I)M=h("async function* () {}");else if("%AsyncGenerator%"===I){var P=J("%AsyncGeneratorFunction%");P&&(M=P.prototype)}else"%AsyncIteratorPrototype%"===I&&(P=J("%AsyncGenerator%"))&&(M=g(P.prototype));return e[I]=
M},t={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],
"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array",
"prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype",
"then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError",
"prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]};c=a(431);var r=a(433),v=c.call(Function.call,
Array.prototype.concat),z=c.call(Function.apply,Array.prototype.splice),E=c.call(Function.call,String.prototype.replace),A=c.call(Function.call,String.prototype.slice),D=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,F=/\\(\\)?/g,C=function(I){var J=A(I,0,1),M=A(I,-1);if("%"===J&&"%"!==M)throw new b("invalid intrinsic syntax, expected closing `%`");if("%"===M&&"%"!==J)throw new b("invalid intrinsic syntax, expected opening `%`");var P=[];E(I,D,
function(O,N,L,x){P[P.length]=L?E(x,F,"$1"):N||O});return P};u.exports=function(I,J){if("string"!==typeof I||0===I.length)throw new m("intrinsic name must be a non-empty string");if(1<arguments.length&&"boolean"!==typeof J)throw new m('"allowMissing" argument must be a boolean');var M=C(I),P=0<M.length?M[0]:"";var O="%"+P+"%",N=O;if(r(t,N)){var L=t[N];N="%"+L[0]+"%"}if(r(e,N)){var x=e[N];x===f&&(x=q(N));if("undefined"===typeof x&&!J)throw new m("intrinsic "+O+" exists, but is not available. Please file an issue!");
}else throw new b("intrinsic "+O+" does not exist!");O=x;N=!1;L&&(P=L[0],z(M,v([0,1],L)));L=1;for(x=!0;L<M.length;L+=1){var y=M[L];var G=A(y,0,1);var K=A(y,-1);if(('"'===G||"'"===G||"`"===G||'"'===K||"'"===K||"`"===K)&&G!==K)throw new b("property names with quotes must have matching quotes");"constructor"!==y&&x||(N=!0);P+="."+y;G="%"+P+"%";if(r(e,G))O=e[G];else if(null!=O){if(!(y in O)){if(!J)throw new m("base intrinsic for "+I+" exists, but the property is not available.");return}k&&L+1>=M.length?
(K=k(O,y),O=(x=!!K)&&"get"in K&&!("originalValue"in K.get)?K.get:O[y]):(x=r(O,y),O=O[y]);x&&!N&&(e[G]=O)}}return O}},(u,c,a)=>{var b="undefined"!==typeof Symbol&&Symbol,d=a(427);u.exports=function(){return"function"!==typeof b||"function"!==typeof Symbol||"symbol"!==typeof b("foo")||"symbol"!==typeof Symbol("bar")?!1:d()}},(u,c,a)=>{c=a(432);u.exports=Function.prototype.bind||c},u=>{var c=Array.prototype.slice,a=Object.prototype.toString;u.exports=function(b){var d=this;if("function"!==typeof d||
"[object Function]"!==a.call(d))throw new TypeError("Function.prototype.bind called on incompatible "+d);for(var m=c.call(arguments,1),h,k=Math.max(0,d.length-m.length),p=[],l=0;l<k;l++)p.push("$"+l);h=Function("binder","return function ("+p.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof h){var g=d.apply(this,m.concat(c.call(arguments)));return Object(g)===g?g:this}return d.apply(b,m.concat(c.call(arguments)))});d.prototype&&(k=function(){},k.prototype=d.prototype,
h.prototype=new k,k.prototype=null);return h}},(u,c,a)=>{c=a(431);u.exports=c.call(Function.call,Object.prototype.hasOwnProperty)},(u,c,a)=>{var b=a(431);c=a(429);var d=c("%Function.prototype.apply%"),m=c("%Function.prototype.call%"),h=c("%Reflect.apply%",!0)||b.call(m,d),k=c("%Object.getOwnPropertyDescriptor%",!0),p=c("%Object.defineProperty%",!0),l=c("%Math.max%");if(p)try{p({},"a",{value:1})}catch(g){p=null}u.exports=function(g){var f=h(b,m,arguments);k&&p&&k(f,"length").configurable&&p(f,"length",
{value:1+l(0,g.length-(arguments.length-1))});return f};c=function(){return h(b,d,arguments)};p?p(u.exports,"apply",{value:c}):u.exports.apply=c},(u,c,a)=>{var b=Object.prototype.toString,d=Function.prototype.toString,m=/^\s*(?:function)?\*/,h=a(426)(),k=Object.getPrototypeOf,p;u.exports=function(l){if("function"!==typeof l)return!1;if(m.test(d.call(l)))return!0;if(!h)return"[object GeneratorFunction]"===b.call(l);if(!k)return!1;if("undefined"===typeof p){a:if(h){try{var g=Function("return function*() {}")();
break a}catch(f){}g=void 0}else g=!1;p=g?k(g):!1}return k(l)===p}},(u,c,a)=>{var b=a(437),d=a(438);c=a(428);var m=c("Object.prototype.toString"),h=a(426)(),k="undefined"===typeof globalThis?a.g:globalThis;d=d();var p=c("String.prototype.slice"),l={},g=a(439),f=Object.getPrototypeOf;h&&g&&f&&b(d,function(q){if("function"===typeof k[q]){var t=new k[q];if(Symbol.toStringTag in t){t=f(t);var r=g(t,Symbol.toStringTag);r||(t=f(t),r=g(t,Symbol.toStringTag));l[q]=r.get}}});var n=function(q){var t=!1;b(l,
function(r,v){if(!t)try{var z=r.call(q);z===v&&(t=z)}catch(E){}});return t},e=a(440);u.exports=function(q){return e(q)?h&&Symbol.toStringTag in q?n(q):p(m(q),8,-1):!1}},u=>{var c=Object.prototype.hasOwnProperty,a=Object.prototype.toString;u.exports=function(b,d,m){if("[object Function]"!==a.call(d))throw new TypeError("iterator must be a function");var h=b.length;if(h===+h)for(var k=0;k<h;k++)d.call(m,b[k],k,b);else for(k in b)c.call(b,k)&&d.call(m,b[k],k,b)}},(u,c,a)=>{var b="BigInt64Array BigUint64Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray".split(" "),
d="undefined"===typeof globalThis?a.g:globalThis;u.exports=function(){for(var m=[],h=0;h<b.length;h++)"function"===typeof d[b[h]]&&(m[m.length]=b[h]);return m}},(u,c,a)=>{if(c=a(429)("%Object.getOwnPropertyDescriptor%",!0))try{c([],"length")}catch(b){c=null}u.exports=c},(u,c,a)=>{var b=a(437);c=a(438);var d=a(428),m=d("Object.prototype.toString"),h=a(426)(),k="undefined"===typeof globalThis?a.g:globalThis,p=c(),l=d("Array.prototype.indexOf",!0)||function(t,r){for(var v=0;v<t.length;v+=1)if(t[v]===
r)return v;return-1},g=d("String.prototype.slice"),f={},n=a(439),e=Object.getPrototypeOf;h&&n&&e&&b(p,function(t){var r=new k[t];if(Symbol.toStringTag in r){r=e(r);var v=n(r,Symbol.toStringTag);v||(r=e(r),v=n(r,Symbol.toStringTag));f[t]=v.get}});var q=function(t){var r=!1;b(f,function(v,z){if(!r)try{r=v.call(t)===z}catch(E){}});return r};u.exports=function(t){return t&&"object"===typeof t?h&&Symbol.toStringTag in t?n?q(t):!1:(t=g(m(t),8,-1),-1<l(p,t)):!1}},u=>{u.exports=function(c){return c&&"object"===
typeof c&&"function"===typeof c.copy&&"function"===typeof c.fill&&"function"===typeof c.readUInt8}},u=>{u.exports="function"===typeof Object.create?function(c,a){a&&(c.super_=a,c.prototype=Object.create(a.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}))}:function(c,a){if(a){c.super_=a;var b=function(){};b.prototype=a.prototype;c.prototype=new b;c.prototype.constructor=c}}},(u,c,a)=>{function b(P){for(var O=1;O<arguments.length;O++){var N=null!=arguments[O]?arguments[O]:
{},L=Object.keys(N);"function"===typeof Object.getOwnPropertySymbols&&(L=L.concat(Object.getOwnPropertySymbols(N).filter(function(x){return Object.getOwnPropertyDescriptor(N,x).enumerable})));L.forEach(function(x){var y=N[x];x in P?Object.defineProperty(P,x,{value:y,enumerable:!0,configurable:!0,writable:!0}):P[x]=y})}return P}function d(P,O){for(var N=0;N<O.length;N++){var L=O[N];L.enumerable=L.enumerable||!1;L.configurable=!0;"value"in L&&(L.writable=!0);Object.defineProperty(P,L.key,L)}}function m(P,
O,N){O&&d(P.prototype,O);N&&d(P,N);return P}function h(P,O){return!O||"object"!==q(O)&&"function"!==typeof O?k(P):O}function k(P){if(void 0===P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P}function p(P,O){if("function"!==typeof O&&null!==O)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create(O&&O.prototype,{constructor:{value:P,writable:!0,configurable:!0}});O&&n(P,O)}function l(P){var O="function"===
typeof Map?new Map:void 0;l=function(N){function L(){return f(N,arguments,e(this).constructor)}if(null===N||-1===Function.toString.call(N).indexOf("[native code]"))return N;if("function"!==typeof N)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof O){if(O.has(N))return O.get(N);O.set(N,L)}L.prototype=Object.create(N.prototype,{constructor:{value:L,enumerable:!1,writable:!0,configurable:!0}});return n(L,N)};return l(P)}function g(){if("undefined"===typeof Reflect||
!Reflect.construct||Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(P){return!1}}function f(P,O,N){f=g()?Reflect.construct:function(L,x,y){var G=[null];G.push.apply(G,x);L=new (Function.bind.apply(L,G));y&&n(L,y.prototype);return L};return f.apply(null,arguments)}function n(P,O){n=Object.setPrototypeOf||function(N,L){N.__proto__=L;return N};return n(P,O)}function e(P){e=Object.setPrototypeOf?
Object.getPrototypeOf:function(O){return O.__proto__||Object.getPrototypeOf(O)};return e(P)}function q(P){q="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(O){return typeof O}:function(O){return O&&"function"===typeof Symbol&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O};return q(P)}function t(P,O,N){if(void 0===N||N>P.length)N=P.length;return P.substring(N-O.length,N)===O}function r(P,O){O=Math.floor(O);if(0==P.length||0==O)return"";var N=P.length*O;for(O=
Math.floor(Math.log(O)/Math.log(2));O;)P+=P,O--;return P+=P.substring(0,N-P.length)}function v(P){var O=Object.keys(P),N=Object.create(Object.getPrototypeOf(P));O.forEach(function(L){N[L]=P[L]});Object.defineProperty(N,"message",{value:P.message});return N}function z(P){return D(P,{compact:!1,customInspect:!1,depth:1E3,maxArrayLength:Infinity,showHidden:!1,breakLength:Infinity,showProxy:!1,sorted:!0,getters:!0})}function E(P,O,N){var L="",x="",y=0,G="",K=!1,R=z(P),Z=R.split("\n"),aa=z(O).split("\n"),
xa=0,X="";"strictEqual"===N&&"object"===q(P)&&"object"===q(O)&&null!==P&&null!==O&&(N="strictEqualObject");if(1===Z.length&&1===aa.length&&Z[0]!==aa[0]){var wa=Z[0].length+aa[0].length;if(10>=wa){if(!("object"===q(P)&&null!==P||"object"===q(O)&&null!==O||0===P&&0===O))return"".concat(M[N],"\n\n")+"".concat(Z[0]," !== ").concat(aa[0],"\n")}else if("strictEqualObject"!==N&&wa<(A.stderr&&A.stderr.isTTY?A.stderr.columns:80)){for(;Z[0][xa]===aa[0][xa];)xa++;2<xa&&(X="\n  ".concat(r(" ",xa),"^"),xa=0)}}P=
Z[Z.length-1];for(O=aa[aa.length-1];P===O;){2>xa++?G="\n  ".concat(P).concat(G):L=P;Z.pop();aa.pop();if(0===Z.length||0===aa.length)break;P=Z[Z.length-1];O=aa[aa.length-1]}P=Math.max(Z.length,aa.length);if(0===P){L=R.split("\n");if(30<L.length)for(L[26]="".concat(C,"...").concat(J);27<L.length;)L.pop();return"".concat(M.notIdentical,"\n\n").concat(L.join("\n"),"\n")}3<xa&&(G="\n".concat(C,"...").concat(J).concat(G),K=!0);""!==L&&(G="\n  ".concat(L).concat(G),L="");R=0;N=M[N]+"\n".concat(B,"+ actual").concat(J,
" ").concat(I,"- expected").concat(J);O=" ".concat(C,"...").concat(J," Lines skipped");for(xa=0;xa<P;xa++){wa=xa-y;if(Z.length<xa+1)1<wa&&2<xa&&(4<wa?(x+="\n".concat(C,"...").concat(J),K=!0):3<wa&&(x+="\n  ".concat(aa[xa-2]),R++),x+="\n  ".concat(aa[xa-1]),R++),y=xa,L+="\n".concat(I,"-").concat(J," ").concat(aa[xa]),R++;else if(aa.length<xa+1)1<wa&&2<xa&&(4<wa?(x+="\n".concat(C,"...").concat(J),K=!0):3<wa&&(x+="\n  ".concat(Z[xa-2]),R++),x+="\n  ".concat(Z[xa-1]),R++),y=xa,x+="\n".concat(B,"+").concat(J,
" ").concat(Z[xa]),R++;else{var ka=aa[xa],ra=Z[xa],qa=ra!==ka&&(!t(ra,",")||ra.slice(0,-1)!==ka);qa&&t(ka,",")&&ka.slice(0,-1)===ra&&(qa=!1,ra+=",");if(qa)1<wa&&2<xa&&(4<wa?(x+="\n".concat(C,"...").concat(J),K=!0):3<wa&&(x+="\n  ".concat(Z[xa-2]),R++),x+="\n  ".concat(Z[xa-1]),R++),y=xa,x+="\n".concat(B,"+").concat(J," ").concat(ra),L+="\n".concat(I,"-").concat(J," ").concat(ka),R+=2;else if(x+=L,L="",1===wa||0===xa)x+="\n  ".concat(ra),R++}if(20<R&&xa<P-2)return"".concat(N).concat(O,"\n").concat(x,
"\n").concat(C,"...").concat(J).concat(L,"\n")+"".concat(C,"...").concat(J)}return"".concat(N).concat(K?O:"","\n").concat(x).concat(L).concat(G).concat(X)}var A=a(418),D=a(422).inspect,F=a(421).codes.ERR_INVALID_ARG_TYPE,C="",B="",I="",J="",M={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",
notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};c=function(P){function O(N){if(!(this instanceof O))throw new TypeError("Cannot call a class as a function");
if("object"!==q(N)||null===N)throw new F("options","Object",N);var L=N.message,x=N.operator,y=N.stackStartFn,G=N.actual;N=N.expected;var K=Error.stackTraceLimit;Error.stackTraceLimit=0;if(null!=L)var R=h(this,e(O).call(this,String(L)));else if(A.stderr&&A.stderr.isTTY&&(A.stderr&&A.stderr.getColorDepth&&1!==A.stderr.getColorDepth()?(C="\u001b[34m",B="\u001b[32m",J="\u001b[39m",I="\u001b[31m"):I=J=B=C=""),"object"===q(G)&&null!==G&&"object"===q(N)&&null!==N&&"stack"in G&&G instanceof Error&&"stack"in
N&&N instanceof Error&&(G=v(G),N=v(N)),"deepStrictEqual"===x||"strictEqual"===x)R=h(this,e(O).call(this,E(G,N,x)));else if("notDeepStrictEqual"===x||"notStrictEqual"===x){R=M[x];var Z=z(G).split("\n");"notStrictEqual"===x&&"object"===q(G)&&null!==G&&(R=M.notStrictEqualObject);if(30<Z.length)for(Z[26]="".concat(C,"...").concat(J);27<Z.length;)Z.pop();R=1===Z.length?h(this,e(O).call(this,"".concat(R," ").concat(Z[0]))):h(this,e(O).call(this,"".concat(R,"\n\n").concat(Z.join("\n"),"\n")))}else{R=z(G);
Z="";var aa=M[x];"notDeepEqual"===x||"notEqual"===x?(R="".concat(M[x],"\n\n").concat(R),1024<R.length&&(R="".concat(R.slice(0,1021),"..."))):(Z="".concat(z(N)),512<R.length&&(R="".concat(R.slice(0,509),"...")),512<Z.length&&(Z="".concat(Z.slice(0,509),"...")),"deepEqual"===x||"equal"===x?R="".concat(aa,"\n\n").concat(R,"\n\nshould equal\n\n"):Z=" ".concat(x," ").concat(Z));R=h(this,e(O).call(this,"".concat(R).concat(Z)))}Error.stackTraceLimit=K;R.generatedMessage=!L;Object.defineProperty(k(R),"name",
{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0});R.code="ERR_ASSERTION";R.actual=G;R.expected=N;R.operator=x;Error.captureStackTrace&&Error.captureStackTrace(k(R),y);R.stack;R.name="AssertionError";return h(R)}p(O,P);m(O,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:D.custom,value:function(N,L){return D(this,b({},L,{customInspect:!1,depth:0}))}}]);return O}(l(Error));u.exports=c},u=>{function c(a,
b){if(void 0===a||null===a)throw new TypeError("Cannot convert first argument to object");for(var d=Object(a),m=1;m<arguments.length;m++){var h=arguments[m];if(void 0!==h&&null!==h)for(var k=Object.keys(Object(h)),p=0,l=k.length;p<l;p++){var g=k[p],f=Object.getOwnPropertyDescriptor(h,g);void 0!==f&&f.enumerable&&(d[g]=h[g])}}return d}u.exports={assign:c,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:c})}}},(u,c,a)=>{c=a(446);
var b=a(434),d=a(450),m=a(451);a=a(452);b=b(m(),Object);c(b,{getPolyfill:m,implementation:d,shim:a});u.exports=b},(u,c,a)=>{var b=a(447),d="function"===typeof Symbol&&"symbol"===typeof Symbol("foo"),m=Object.prototype.toString,h=Array.prototype.concat,k=Object.defineProperty;c=function(){var l={};try{k(l,"x",{enumerable:!1,value:l});for(var g in l)return!1;return l.x===l}catch(f){return!1}};var p=k&&c();c=function(l,g){var f=2<arguments.length?arguments[2]:{},n=b(g);d&&(n=h.call(n,Object.getOwnPropertySymbols(g)));
for(var e=0;e<n.length;e+=1){var q=l,t=n[e],r=g[n[e]],v=f[n[e]];if(!(t in q)||"function"===typeof v&&"[object Function]"===m.call(v)&&v())p?k(q,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):q[t]=r}};c.supportsDescriptors=!!p;u.exports=c},(u,c,a)=>{var b=Array.prototype.slice,d=a(448),m=Object.keys,h=m?function(p){return m(p)}:a(449),k=Object.keys;h.shim=function(){Object.keys?function(){var p=Object.keys(arguments);return p&&p.length===arguments.length}(1,2)||(Object.keys=function(p){return d(p)?
k(b.call(p)):k(p)}):Object.keys=h;return Object.keys||h};u.exports=h},u=>{var c=Object.prototype.toString;u.exports=function(a){var b=c.call(a),d="[object Arguments]"===b;d||(d="[object Array]"!==b&&null!==a&&"object"===typeof a&&"number"===typeof a.length&&0<=a.length&&"[object Function]"===c.call(a.callee));return d}},(u,c,a)=>{if(!Object.keys){var b=Object.prototype.hasOwnProperty,d=Object.prototype.toString,m=a(448);c=Object.prototype.propertyIsEnumerable;var h=!c.call({toString:null},"toString"),
k=c.call(function(){},"prototype"),p="toString toLocaleString valueOf hasOwnProperty isPrototypeOf propertyIsEnumerable constructor".split(" "),l=function(e){var q=e.constructor;return q&&q.prototype===e},g={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,
$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("undefined"===typeof window)return!1;for(var e in window)try{if(!g["$"+e]&&b.call(window,e)&&null!==window[e]&&"object"===typeof window[e])try{l(window[e])}catch(q){return!0}}catch(q){return!0}return!1}();var n=function(e){var q=null!==e&&"object"===typeof e,t="[object Function]"===d.call(e),r=m(e),v=q&&"[object String]"===d.call(e),z=[];if(!q&&!t&&!r)throw new TypeError("Object.keys called on a non-object");q=k&&t;if(v&&
0<e.length&&!b.call(e,0))for(v=0;v<e.length;++v)z.push(String(v));if(r&&0<e.length)for(r=0;r<e.length;++r)z.push(String(r));else for(var E in e)q&&"prototype"===E||!b.call(e,E)||z.push(String(E));if(h){if("undefined"!==typeof window&&f)try{var A=l(e)}catch(D){A=!1}else A=l(e);for(r=0;r<p.length;++r)A&&"constructor"===p[r]||!b.call(e,p[r])||z.push(p[r])}return z}}u.exports=n},u=>{u.exports=function(c,a){return 0===c&&0===a?1/c===1/a:c===a||c!==c&&a!==a?!0:!1}},(u,c,a)=>{var b=a(450);u.exports=function(){return"function"===
typeof Object.is?Object.is:b}},(u,c,a)=>{var b=a(451),d=a(446);u.exports=function(){var m=b();d(Object,{is:m},{is:function(){return Object.is!==m}});return m}},(u,c,a)=>{function b(ka,ra){var qa=Array.isArray(ka)?ka:void 0;if(!qa){qa=[];var va=!0,U=!1,pa=void 0;try{for(var S=ka[Symbol.iterator](),ma;!(va=(ma=S.next()).done)&&(qa.push(ma.value),!ra||qa.length!==ra);va=!0);}catch(ya){U=!0,pa=ya}finally{try{if(!va&&null!=S["return"])S["return"]()}finally{if(U)throw pa;}}}if(!(ka=qa))throw new TypeError("Invalid attempt to destructure non-iterable instance");
return ka}function d(ka){d="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(ra){return typeof ra}:function(ra){return ra&&"function"===typeof Symbol&&ra.constructor===Symbol&&ra!==Symbol.prototype?"symbol":typeof ra};return d(ka)}function m(ka){return ka.call.bind(ka)}function h(ka){if(0===ka.length||10<ka.length)return!0;for(var ra=0;ra<ka.length;ra++){var qa=ka.charCodeAt(ra);if(48>qa||57<qa)return!0}return 10===ka.length&&ka>=Math.pow(2,32)}function k(ka){return Object.keys(ka).filter(h).concat(F(ka).filter(Object.prototype.propertyIsEnumerable.bind(ka)))}
function p(ka,ra){if(ka===ra)return 0;for(var qa=ka.length,va=ra.length,U=0,pa=Math.min(qa,va);U<pa;++U)if(ka[U]!==ra[U]){qa=ka[U];va=ra[U];break}return qa<va?-1:va<qa?1:0}function l(ka,ra,qa,va){if(ka===ra)return 0!==ka?!0:qa?D(ka,ra):!0;if(qa){if("object"!==d(ka))return"number"===typeof ka&&C(ka)&&C(ra);if("object"!==d(ra)||null===ka||null===ra||Object.getPrototypeOf(ka)!==Object.getPrototypeOf(ra))return!1}else{if(null===ka||"object"!==d(ka))return null===ra||"object"!==d(ra)?ka==ra:!1;if(null===
ra||"object"!==d(ra))return!1}var U=J(ka),pa=J(ra);if(U!==pa)return!1;if(Array.isArray(ka)){if(ka.length!==ra.length)return!1;U=k(ka,void 0);pa=k(ra,void 0);return U.length!==pa.length?!1:f(ka,ra,qa,va,1,U)}if("[object Object]"===U&&(!N(ka)&&N(ra)||!x(ka)&&x(ra)))return!1;if(O(ka)){if(!O(ra)||Date.prototype.getTime.call(ka)!==Date.prototype.getTime.call(ra))return!1}else if(L(ka)){if((U=!L(ra))||(U=!(z?ka.source===ra.source&&ka.flags===ra.flags:RegExp.prototype.toString.call(ka)===RegExp.prototype.toString.call(ra))),
U)return!1}else if(y(ka)||ka instanceof Error){if(ka.message!==ra.message||ka.name!==ra.name)return!1}else{if(P(ka)){if(qa||!X(ka)&&!wa(ka)){if(U=ka.byteLength!==ra.byteLength?!1:0===p(new Uint8Array(ka.buffer,ka.byteOffset,ka.byteLength),new Uint8Array(ra.buffer,ra.byteOffset,ra.byteLength)),!U)return!1}else{a:if(ka.byteLength!==ra.byteLength)U=!1;else{for(U=0;U<ka.byteLength;U++)if(ka[U]!==ra[U]){U=!1;break a}U=!0}if(!U)return!1}U=k(ka,void 0);pa=k(ra,void 0);return U.length!==pa.length?!1:f(ka,
ra,qa,va,0,U)}if(x(ka))return x(ra)&&ka.size===ra.size?f(ka,ra,qa,va,2):!1;if(N(ka))return N(ra)&&ka.size===ra.size?f(ka,ra,qa,va,3):!1;if(M(ka)){if(ka.byteLength!==ra.byteLength||0!==p(new Uint8Array(ka),new Uint8Array(ra)))return!1}else{if(U=G(ka))U=!(K(ka)?K(ra)&&D(Number.prototype.valueOf.call(ka),Number.prototype.valueOf.call(ra)):R(ka)?R(ra)&&String.prototype.valueOf.call(ka)===String.prototype.valueOf.call(ra):Z(ka)?Z(ra)&&Boolean.prototype.valueOf.call(ka)===Boolean.prototype.valueOf.call(ra):
aa(ka)?aa(ra)&&BigInt.prototype.valueOf.call(ka)===BigInt.prototype.valueOf.call(ra):xa(ra)&&Symbol.prototype.valueOf.call(ka)===Symbol.prototype.valueOf.call(ra));if(U)return!1}}return f(ka,ra,qa,va,0)}function g(ka,ra){return ra.filter(function(qa){return I(ka,qa)})}function f(ka,ra,qa,va,U,pa){if(5===arguments.length){pa=Object.keys(ka);var S=Object.keys(ra);if(pa.length!==S.length)return!1}for(var ma=0;ma<pa.length;ma++)if(!B(ra,pa[ma]))return!1;if(qa&&5===arguments.length)if(S=F(ka),0!==S.length){var ya=
0;for(ma=0;ma<S.length;ma++){var Ga=S[ma];if(I(ka,Ga)){if(!I(ra,Ga))return!1;pa.push(Ga);ya++}else if(I(ra,Ga))return!1}ma=F(ra);if(S.length!==ma.length&&g(ra,ma).length!==ya)return!1}else if(S=F(ra),0!==S.length&&0!==g(ra,S).length)return!1;if(0===pa.length&&(0===U||1===U&&0===ka.length||0===ka.size))return!0;if(void 0===va)va={val1:new Map,val2:new Map,position:0};else{S=va.val1.get(ka);if(void 0!==S&&(ya=va.val2.get(ra),void 0!==ya))return S===ya;va.position++}va.val1.set(ka,va.position);va.val2.set(ra,
va.position);S=v(ka,ra,qa,pa,va,U);va.val1.delete(ka);va.val2.delete(ra);return S}function n(ka,ra,qa,va){for(var U=E(ka),pa=0;pa<U.length;pa++){var S=U[pa];if(l(ra,S,qa,va))return ka.delete(S),!0}return!1}function e(ka){switch(d(ka)){case "undefined":return null;case "object":return;case "symbol":return!1;case "string":ka=+ka;case "number":if(C(ka))return!1}return!0}function q(ka,ra,qa,va){for(var U=null,pa=E(ka),S=0;S<pa.length;S++){var ma=pa[S];if("object"===d(ma)&&null!==ma)null===U&&(U=new Set),
U.add(ma);else if(!ra.has(ma)){if(qa)return!1;var ya=ka;var Ga=ra,Ha=e(ma);ya=null!=Ha?Ha:Ga.has(Ha)&&!ya.has(Ha);if(!ya)return!1;null===U&&(U=new Set);U.add(ma)}}if(null!==U){ra=E(ra);for(pa=0;pa<ra.length;pa++)if(S=ra[pa],"object"===d(S)&&null!==S){if(!n(U,S,qa,va))return!1}else if(!qa&&!ka.has(S)&&!n(U,S,qa,va))return!1;return 0===U.size}return!0}function t(ka,ra,qa,va,U,pa){for(var S=E(ka),ma=0;ma<S.length;ma++){var ya=S[ma];if(l(qa,ya,U,pa)&&l(va,ra.get(ya),U,pa))return ka.delete(ya),!0}return!1}
function r(ka,ra,qa,va){for(var U=null,pa=A(ka),S=0;S<pa.length;S++){var ma=b(pa[S],2),ya=ma[0],Ga=ma[1];if("object"===d(ya)&&null!==ya)null===U&&(U=new Set),U.add(ya);else if(ma=ra.get(ya),void 0===ma&&!ra.has(ya)||!l(Ga,ma,qa,va)){if(qa)return!1;ma=ka;var Ha=ra,ab=va,ea=e(ya);if(null!=ea)ma=ea;else{var za=Ha.get(ea);ma=void 0===za&&!Ha.has(ea)||!l(Ga,za,!1,ab)?!1:!ma.has(ea)&&l(Ga,za,!1,ab)}if(!ma)return!1;null===U&&(U=new Set);U.add(ya)}}if(null!==U){ra=A(ra);for(pa=0;pa<ra.length;pa++)if(S=b(ra[pa],
2),ya=S[0],S=S[1],"object"===d(ya)&&null!==ya){if(!t(U,ka,ya,S,qa,va))return!1}else if(!(qa||ka.has(ya)&&l(ka.get(ya),S,!1,va)||t(U,ka,ya,S,!1,va)))return!1;return 0===U.size}return!0}function v(ka,ra,qa,va,U,pa){var S=0;if(2===pa){if(!q(ka,ra,qa,U))return!1}else if(3===pa){if(!r(ka,ra,qa,U))return!1}else if(1===pa)for(;S<ka.length;S++)if(B(ka,S)){if(!B(ra,S)||!l(ka[S],ra[S],qa,U))return!1}else{if(B(ra,S))return!1;for(va=Object.keys(ka);S<va.length;S++)if(pa=va[S],!B(ra,pa)||!l(ka[pa],ra[pa],qa,U))return!1;
return va.length!==Object.keys(ra).length?!1:!0}for(S=0;S<va.length;S++)if(pa=va[S],!l(ka[pa],ra[pa],qa,U))return!1;return!0}var z=void 0!==/a/g.flags,E=function(ka){var ra=[];ka.forEach(function(qa){return ra.push(qa)});return ra},A=function(ka){var ra=[];ka.forEach(function(qa,va){return ra.push([va,qa])});return ra},D=Object.is?Object.is:a(445),F=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},C=Number.isNaN?Number.isNaN:a(454),B=m(Object.prototype.hasOwnProperty),
I=m(Object.prototype.propertyIsEnumerable),J=m(Object.prototype.toString);c=a(422).types;var M=c.isAnyArrayBuffer,P=c.isArrayBufferView,O=c.isDate,N=c.isMap,L=c.isRegExp,x=c.isSet,y=c.isNativeError,G=c.isBoxedPrimitive,K=c.isNumberObject,R=c.isStringObject,Z=c.isBooleanObject,aa=c.isBigIntObject,xa=c.isSymbolObject,X=c.isFloat32Array,wa=c.isFloat64Array;u.exports={isDeepEqual:function(ka,ra){return l(ka,ra,!1)},isDeepStrictEqual:function(ka,ra){return l(ka,ra,!0)}}},(u,c,a)=>{var b=a(434);c=a(446);
var d=a(455),m=a(456);a=a(457);b=b(m(),Number);c(b,{getPolyfill:m,implementation:d,shim:a});u.exports=b},u=>{u.exports=function(c){return c!==c}},(u,c,a)=>{var b=a(455);u.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:b}},(u,c,a)=>{var b=a(446),d=a(456);u.exports=function(){var m=d();b(Number,{isNaN:m},{isNaN:function(){return Number.isNaN!==m}});return m}},(u,c)=>{(function d(b){function m(A){var D={},F;for(F in A)if(A.hasOwnProperty(F)){var C=A[F];D[F]=
"object"===typeof C&&null!==C?m(C):C}return D}function h(A,D){var F;var C=A.length;for(F=0;C;){var B=C>>>1;var I=F+B;D(A[I])?C=B:(F=I+1,C-=B+1)}return F}function k(A,D){this.parent=A;this.key=D}function p(A,D,F,C){this.node=A;this.path=D;this.wrap=F;this.ref=C}function l(){}function g(A){return null==A?!1:"object"===typeof A&&"string"===typeof A.type}function f(A,D){for(var F=A.length-1;0<=F;--F)if(A[F].node===D)return!0;return!1}function n(A,D){return(new l).traverse(A,D)}function e(A,D){var F=h(D,
function(C){return C.range[0]>A.range[0]});A.extendedRange=[A.range[0],A.range[1]];F!==D.length&&(A.extendedRange[1]=D[F].range[0]);--F;0<=F&&(A.extendedRange[0]=D[F].range[1]);return A}var q={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",
CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",
ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",
ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",
Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",
VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};var t={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],
CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],
ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers",
"source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],
SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object",
"body"],YieldExpression:["argument"]};var r={};var v={};var z={};var E={Break:r,Skip:v,Remove:z};k.prototype.replace=function(A){this.parent[this.key]=A};k.prototype.remove=function(){if(Array.isArray(this.parent))return this.parent.splice(this.key,1),!0;this.replace(null);return!1};l.prototype.path=function(){function A(M,P){if(Array.isArray(P))for(F=0,C=P.length;F<C;++F)M.push(P[F]);else M.push(P)}var D,F,C;if(!this.__current.path)return null;var B=[];var I=2;for(D=this.__leavelist.length;I<D;++I){var J=
this.__leavelist[I];A(B,J.path)}A(B,this.__current.path);return B};l.prototype.type=function(){return this.current().type||this.__current.wrap};l.prototype.parents=function(){var A;var D=[];var F=1;for(A=this.__leavelist.length;F<A;++F)D.push(this.__leavelist[F].node);return D};l.prototype.current=function(){return this.__current.node};l.prototype.__execute=function(A,D){var F=void 0;var C=this.__current;this.__current=D;this.__state=null;A&&(F=A.call(this,D.node,this.__leavelist[this.__leavelist.length-
1].node));this.__current=C;return F};l.prototype.notify=function(A){this.__state=A};l.prototype.skip=function(){this.notify(v)};l.prototype["break"]=function(){this.notify(r)};l.prototype.remove=function(){this.notify(z)};l.prototype.__initialize=function(A,D){this.visitor=D;this.root=A;this.__worklist=[];this.__leavelist=[];this.__fallback=this.__state=this.__current=null;"iteration"===D.fallback?this.__fallback=Object.keys:"function"===typeof D.fallback&&(this.__fallback=D.fallback);this.__keys=
t;D.keys&&(this.__keys=Object.assign(Object.create(this.__keys),D.keys))};l.prototype.traverse=function(A,D){var F,C,B;this.__initialize(A,D);var I={};var J=this.__worklist;var M=this.__leavelist;J.push(new p(A,null,null,null));for(M.push(new p(null,null,null,null));J.length;)if(A=J.pop(),A===I){A=M.pop();var P=this.__execute(D.leave,A);if(this.__state===r||P===r)break}else if(A.node){P=this.__execute(D.enter,A);if(this.__state===r||P===r)break;J.push(I);M.push(A);if(this.__state!==v&&P!==v){P=A.node;
var O=P.type||A.wrap;var N=this.__keys[O];if(!N)if(this.__fallback)N=this.__fallback(P);else throw Error("Unknown node type "+O+".");for(F=N.length;0<=--F;){var L=N[F];if(B=P[L])if(Array.isArray(B))for(C=B.length;0<=--C;){if(B[C]&&!f(M,B[C])){if(O!==q.ObjectExpression&&O!==q.ObjectPattern||"properties"!==N[F])if(g(B[C]))A=new p(B[C],[L,C],null,null);else continue;else A=new p(B[C],[L,C],"Property",null);J.push(A)}}else g(B)&&!f(M,B)&&J.push(new p(B,L,null,null))}}}};l.prototype.replace=function(A,
D){function F(G){if(G.ref.remove()){var K=G.ref.key;var R=G.ref.parent;for(G=M.length;G--;){var Z=M[G];if(Z.ref&&Z.ref.parent===R){if(Z.ref.key<K)break;--Z.ref.key}}}}var C,B,I;this.__initialize(A,D);var J={};var M=this.__worklist;var P=this.__leavelist;var O={root:A};var N=new p(A,null,null,new k(O,"root"));M.push(N);for(P.push(N);M.length;)if(N=M.pop(),N===J){N=P.pop();var L=this.__execute(D.leave,N);void 0!==L&&L!==r&&L!==v&&L!==z&&N.ref.replace(L);this.__state!==z&&L!==z||F(N);if(this.__state===
r||L===r)break}else{L=this.__execute(D.enter,N);void 0!==L&&L!==r&&L!==v&&L!==z&&(N.ref.replace(L),N.node=L);if(this.__state===z||L===z)F(N),N.node=null;if(this.__state===r||L===r)break;if(A=N.node)if(M.push(J),P.push(N),this.__state!==v&&L!==v){L=A.type||N.wrap;var x=this.__keys[L];if(!x)if(this.__fallback)x=this.__fallback(A);else throw Error("Unknown node type "+L+".");for(C=x.length;0<=--C;){var y=x[C];if(I=A[y])if(Array.isArray(I))for(B=I.length;0<=--B;){if(I[B]){if(L!==q.ObjectExpression&&L!==
q.ObjectPattern||"properties"!==x[C])if(g(I[B]))N=new p(I[B],[y,B],null,new k(I,B));else continue;else N=new p(I[B],[y,B],"Property",new k(I,B));M.push(N)}}else g(I)&&M.push(new p(I,y,null,new k(A,y)))}}}return O.root};b.Syntax=q;b.traverse=n;b.replace=function(A,D){return(new l).replace(A,D)};b.attachComments=function(A,D,F){var C=[],B;if(!A.range)throw Error("attachComments needs range information");if(!F.length){if(D.length){var I=0;for(B=D.length;I<B;I+=1)F=m(D[I]),F.extendedRange=[0,A.range[0]],
C.push(F);A.leadingComments=C}return A}I=0;for(B=D.length;I<B;I+=1)C.push(e(m(D[I]),F));var J=0;n(A,{enter:function(M){for(var P;J<C.length;){P=C[J];if(P.extendedRange[1]>M.range[0])break;P.extendedRange[1]===M.range[0]?(M.leadingComments||(M.leadingComments=[]),M.leadingComments.push(P),C.splice(J,1)):J+=1}if(J===C.length)return E.Break;if(C[J].extendedRange[0]>M.range[1])return E.Skip}});J=0;n(A,{leave:function(M){for(var P;J<C.length;){P=C[J];if(M.range[1]<P.extendedRange[0])break;M.range[1]===
P.extendedRange[0]?(M.trailingComments||(M.trailingComments=[]),M.trailingComments.push(P),C.splice(J,1)):J+=1}if(J===C.length)return E.Break;if(C[J].extendedRange[0]>M.range[1])return E.Skip}});return A};b.VisitorKeys=t;b.VisitorOption=E;b.Controller=l;b.cloneEnvironment=function(){return d({})};return b})(c)},(u,c,a)=>{(function(){function b(h){return null==h?!1:"object"===typeof h&&"string"===typeof h.type}function d(h,k){k=k||{};this.__visitor=h||this;this.__childVisitorKeys=k.childVisitorKeys?
Object.assign({},m.VisitorKeys,k.childVisitorKeys):m.VisitorKeys;"iteration"===k.fallback?this.__fallback=Object.keys:"function"===typeof k.fallback&&(this.__fallback=k.fallback)}var m=a(458);d.prototype.visitChildren=function(h){var k,p,l;if(null!=h){var g=h.type||m.Syntax.Property;var f=this.__childVisitorKeys[g];if(!f)if(this.__fallback)f=this.__fallback(h);else throw Error("Unknown node type "+g+".");var n=0;for(k=f.length;n<k;++n)if(l=h[f[n]])if(Array.isArray(l)){var e=0;for(p=l.length;e<p;++e)l[e]&&
(b(l[e])||(g===m.Syntax.ObjectExpression||g===m.Syntax.ObjectPattern)&&"properties"===f[n])&&this.visit(l[e])}else b(l)&&this.visit(l)}};d.prototype.visit=function(h){if(null!=h){var k=h.type||m.Syntax.Property;this.__visitor[k]?this.__visitor[k].call(this,h):this.visitChildren(h)}};c.version=a(460).version;c.Visitor=d;c.visit=function(h,k,p){(new d(k,p)).visit(h)}})()},u=>{u.exports=JSON.parse('{"_from":"esrecurse@^4.3.0","_id":"esrecurse@4.3.0","_inBundle":false,"_integrity":"sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==","_location":"/esrecurse","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"esrecurse@^4.3.0","name":"esrecurse","escapedName":"esrecurse","rawSpec":"^4.3.0","saveSpec":null,"fetchSpec":"^4.3.0"},"_requiredBy":["/eslint-scope","/webpack/eslint-scope"],"_resolved":"https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz","_shasum":"7ad7964d679abb28bee72cec63758b1c5d2c9921","_spec":"esrecurse@^4.3.0","_where":"/home/janb/Projekte/eslint/node_modules/eslint-scope","babel":{"presets":["es2015"]},"bugs":{"url":"https://github.com/estools/esrecurse/issues"},"bundleDependencies":false,"dependencies":{"estraverse":"^5.2.0"},"deprecated":false,"description":"ECMAScript AST recursive visitor","devDependencies":{"babel-cli":"^6.24.1","babel-eslint":"^7.2.3","babel-preset-es2015":"^6.24.1","babel-register":"^6.24.1","chai":"^4.0.2","esprima":"^4.0.0","gulp":"^3.9.0","gulp-bump":"^2.7.0","gulp-eslint":"^4.0.0","gulp-filter":"^5.0.0","gulp-git":"^2.4.1","gulp-mocha":"^4.3.1","gulp-tag-version":"^1.2.1","jsdoc":"^3.3.0-alpha10","minimist":"^1.1.0"},"engines":{"node":">=4.0"},"homepage":"https://github.com/estools/esrecurse","license":"BSD-2-Clause","main":"esrecurse.js","maintainers":[{"name":"Yusuke Suzuki","email":"utatane.tea@gmail.com","url":"https://github.com/Constellation"}],"name":"esrecurse","repository":{"type":"git","url":"git+https://github.com/estools/esrecurse.git"},"scripts":{"lint":"gulp lint","test":"gulp travis","unit-test":"gulp test"},"version":"4.3.0"}')},
(u,c)=>{function a(m){return!d.has(m)&&"_"!==m[0]}Object.defineProperty(c,"__esModule",{value:!0});const b={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],
ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["exported","source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],
ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportExpression:["source"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement",
"children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key",
"value"],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],
ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};u=Object.keys(b);for(const m of u)Object.freeze(b[m]);Object.freeze(b);const d=new Set(["parent","leadingComments","trailingComments"]);c.KEYS=b;c.getKeys=function(m){return Object.keys(m).filter(a)};
c.unionWith=function(m){const h=Object.assign({},b);for(const k of Object.keys(m))if(Object.prototype.hasOwnProperty.call(h,k)){const p=new Set(m[k]);for(const l of h[k])p.add(l);h[k]=Object.freeze(Array.from(p))}else h[k]=Object.freeze(Array.from(m[k]));return Object.freeze(h)}},(u,c,a)=>{function b(A){if(A&&A.__esModule)return A;var D=Object.create(null);A&&Object.keys(A).forEach(function(F){if("default"!==F){var C=Object.getOwnPropertyDescriptor(A,F);Object.defineProperty(D,F,C.get?C:{enumerable:!0,
get:function(){return A[F]}})}});D["default"]=A;return Object.freeze(D)}function d(A,D){const F=A[0];A=A[A.length-1];D={type:e.Template,value:D.slice(F.start,A.end)};F.loc&&(D.loc={start:F.loc.start,end:A.loc.end});F.range&&(D.start=F.range[0],D.end=A.range[1],D.range=[D.start,D.end]);return D}function m(A,D){this._acornTokTypes=A;this._tokens=[];this._curlyBrace=null;this._code=D}function h(A=5){let D="latest"===A?q[q.length-1]:A;if("number"!==typeof D)throw Error(`ecmaVersion must be a number or "latest". Received value of type ${typeof A} instead.`);
2015<=D&&(D-=2009);if(!q.includes(D))throw Error("Invalid ecmaVersion.");return D}function k(A="script"){if("script"===A||"module"===A)return A;throw Error("Invalid sourceType.");}function p(A){const D=h(A.ecmaVersion),F=k(A.sourceType),C=!0===A.range,B=!0===A.loc;if("module"===F&&6>D)throw Error("sourceType 'module' is not supported when ecmaVersion < 2015. Consider adding `{ ecmaVersion: 2015 }` to the parser options.");return Object.assign({},A,{ecmaVersion:D,sourceType:F,ranges:C,locations:B,
allowReserved:3===D?"never":!1})}Object.defineProperty(c,"__esModule",{value:!0});u=a(463);var l=a(464);a=a(461);var g=b(u),f=l&&"object"===typeof l&&"default"in l?l:{"default":l};u=b(a);var n={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",
CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",
FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",
SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",
YieldExpression:"YieldExpression",JSXIdentifier:"JSXIdentifier",JSXNamespacedName:"JSXNamespacedName",JSXMemberExpression:"JSXMemberExpression",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXElement:"JSXElement",JSXClosingElement:"JSXClosingElement",JSXOpeningElement:"JSXOpeningElement",JSXAttribute:"JSXAttribute",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",
ExportAllDeclaration:"ExportAllDeclaration",ExportSpecifier:"ExportSpecifier",ImportDeclaration:"ImportDeclaration",ImportSpecifier:"ImportSpecifier",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier"};const e={Boolean:"Boolean",EOF:"<end>",Identifier:"Identifier",PrivateIdentifier:"PrivateIdentifier",Keyword:"Keyword",Null:"Null",Numeric:"Numeric",Punctuator:"Punctuator",String:"String",RegularExpression:"RegularExpression",Template:"Template",JSXIdentifier:"JSXIdentifier",
JSXText:"JSXText"};m.prototype={constructor:m,translate(A,D){const F=A.type,C=this._acornTokTypes;F===C.name?(A.type=e.Identifier,"static"===A.value&&(A.type=e.Keyword),5<D.ecmaVersion&&("yield"===A.value||"let"===A.value)&&(A.type=e.Keyword)):F===C.privateId?A.type=e.PrivateIdentifier:F===C.semi||F===C.comma||F===C.parenL||F===C.parenR||F===C.braceL||F===C.braceR||F===C.dot||F===C.bracketL||F===C.colon||F===C.question||F===C.bracketR||F===C.ellipsis||F===C.arrow||F===C.jsxTagStart||F===C.incDec||
F===C.starstar||F===C.jsxTagEnd||F===C.prefix||F===C.questionDot||F.binop&&!F.keyword||F.isAssign?(A.type=e.Punctuator,A.value=this._code.slice(A.start,A.end)):F===C.jsxName?A.type=e.JSXIdentifier:"jsxText"===F.label||F===C.jsxAttrValueToken?A.type=e.JSXText:F.keyword?A.type="true"===F.keyword||"false"===F.keyword?e.Boolean:"null"===F.keyword?e.Null:e.Keyword:F===C.num?(A.type=e.Numeric,A.value=this._code.slice(A.start,A.end)):F===C.string?(D.jsxAttrValueToken?(D.jsxAttrValueToken=!1,A.type=e.JSXText):
A.type=e.String,A.value=this._code.slice(A.start,A.end)):F===C.regexp&&(A.type=e.RegularExpression,D=A.value,A.regex={flags:D.flags,pattern:D.pattern},A.value=`/${D.pattern}/${D.flags}`);return A},onToken(A,D){function F(){I.push(d(C._tokens,C._code));C._tokens=[]}const C=this,B=this._acornTokTypes,I=D.tokens,J=this._tokens;A.type===B.eof?this._curlyBrace&&I.push(this.translate(this._curlyBrace,D)):A.type===B.backQuote?(this._curlyBrace&&(I.push(this.translate(this._curlyBrace,D)),this._curlyBrace=
null),J.push(A),1<J.length&&F()):A.type===B.dollarBraceL?(J.push(A),F()):A.type===B.braceR?(this._curlyBrace&&I.push(this.translate(this._curlyBrace,D)),this._curlyBrace=A):A.type===B.template||A.type===B.invalidTemplate?(this._curlyBrace&&(J.push(this._curlyBrace),this._curlyBrace=null),J.push(A)):(this._curlyBrace&&(I.push(this.translate(this._curlyBrace,D)),this._curlyBrace=null),I.push(this.translate(A,D)))}};const q=[3,5,6,7,8,9,10,11,12,13],t=Symbol("espree's internal state"),r=Symbol("espree's esprimaFinishNode");
var v=()=>A=>{const D=Object.assign({},A.acorn.tokTypes);A.acornJsx&&Object.assign(D,A.acornJsx.tokTypes);return class extends A{constructor(F,C){if("object"!==typeof F||null===F)F={};"string"===typeof C||C instanceof String||(C=String(C));F=p(F);const B=F.ecmaFeatures||{},I=!0===F.tokens?new m(D,C):null;super({ecmaVersion:F.ecmaVersion,sourceType:F.sourceType,ranges:F.ranges,locations:F.locations,allowReserved:F.allowReserved,allowReturnOutsideFunction:!!B.globalReturn,allowAwaitOutsideFunction:void 0!==
F.allowAwaitOutsideFunction?!!F.allowAwaitOutsideFunction:void 0,onToken:J=>{if(I)I.onToken(J,this[t]);J.type!==D.eof&&(this[t].lastToken=J)},onComment:(J,M,P,O,N,L)=>{this[t].comments&&(J={type:J?"Block":"Line",value:M},"number"===typeof P&&(J.start=P,J.end=O,J.range=[P,O]),"object"===typeof N&&(J.loc={start:N,end:L}),P=J,this[t].comments.push(P))}},C);this[t]={tokens:I?[]:null,comments:!0===F.comment?[]:null,impliedStrict:!0===B.impliedStrict&&5<=this.options.ecmaVersion,ecmaVersion:this.options.ecmaVersion,
jsxAttrValueToken:!1,lastToken:null,templateElements:[]}}tokenize(){do this.next();while(this.type!==D.eof);this.next();const F=this[t],C=F.tokens;F.comments&&(C.comments=F.comments);return C}finishNode(...F){F=super.finishNode(...F);return this[r](F)}finishNodeAt(...F){F=super.finishNodeAt(...F);return this[r](F)}parse(){const F=this[t],C=super.parse();C.sourceType=this.options.sourceType;F.comments&&(C.comments=F.comments);F.tokens&&(C.tokens=F.tokens);if(C.body.length){const [B]=C.body;C.range&&
(C.range[0]=B.range[0]);C.loc&&(C.loc.start=B.loc.start);C.start=B.start}F.lastToken&&(C.range&&(C.range[1]=F.lastToken.range[1]),C.loc&&(C.loc.end=F.lastToken.loc.end),C.end=F.lastToken.end);this[t].templateElements.forEach(B=>{const I=B.tail?1:2;B.start+=-1;B.end+=I;B.range&&(B.range[0]+=-1,B.range[1]+=I);B.loc&&(B.loc.start.column+=-1,B.loc.end.column+=I)});return C}parseTopLevel(F){this[t].impliedStrict&&(this.strict=!0);return super.parseTopLevel(F)}raise(F,C){const B=A.acorn.getLineInfo(this.input,
F);C=new SyntaxError(C);C.index=F;C.lineNumber=B.line;C.column=B.column+1;throw C;}raiseRecoverable(F,C){this.raise(F,C)}unexpected(F){let C="Unexpected token";if(null!==F&&void 0!==F){this.pos=F;if(this.options.locations)for(;this.pos<this.lineStart;)this.lineStart=this.input.lastIndexOf("\n",this.lineStart-2)+1,--this.curLine;this.nextToken()}this.end>this.start&&(C+=` ${this.input.slice(this.start,this.end)}`);this.raise(this.start,C)}jsx_readString(F){F=super.jsx_readString(F);this.type===D.string&&
(this[t].jsxAttrValueToken=!0);return F}[r](F){"TemplateElement"===F.type&&this[t].templateElements.push(F);F.type.includes("Function")&&!F.generator&&(F.generator=!1);return F}}};const z={_regular:null,_jsx:null,get regular(){null===this._regular&&(this._regular=g.Parser.extend(v()));return this._regular},get jsx(){null===this._jsx&&(this._jsx=g.Parser.extend(f["default"](),v()));return this._jsx},get(A){return A&&A.ecmaFeatures&&A.ecmaFeatures.jsx?this.jsx:this.regular}};a=function(){let A,D={};
"function"===typeof Object.create&&(D=Object.create(null));for(A in n)Object.hasOwnProperty.call(n,A)&&(D[A]=n[A]);"function"===typeof Object.freeze&&Object.freeze(D);return D}();u=u.KEYS;l=q[q.length-1];const E=[...q];c.Syntax=a;c.VisitorKeys=u;c.latestEcmaVersion=l;c.parse=function(A,D){return(new (z.get(D))(D,A)).parse()};c.supportedEcmaVersions=E;c.tokenize=function(A,D){const F=z.get(D);D&&!0===D.tokens||(D=Object.assign({},D,{tokens:!0}));return(new F(D,A)).tokenize()};c.version="9.0.0"},function(u,
c,a){var b=a(423);(function(d,m){m(c)})(this,function(d){function m(w,H){for(var Q=65536,ca=0;ca<H.length;ca+=2){Q+=H[ca];if(Q>w)return!1;Q+=H[ca+1];if(Q>=w)return!0}}function h(w,H){return 65>w?36===w:91>w?!0:97>w?95===w:123>w?!0:65535>=w?170<=w&&y.test(String.fromCharCode(w)):!1===H?!1:m(w,K)}function k(w,H){return 48>w?36===w:58>w?!0:65>w?!1:91>w?!0:97>w?95===w:123>w?!0:65535>=w?170<=w&&G.test(String.fromCharCode(w)):!1===H?!1:m(w,K)||m(w,R)}function p(w,H){return new Z(w,{beforeExpr:!0,binop:H})}
function l(w,H){void 0===H&&(H={});H.keyword=w;return xa[w]=new Z(w,H)}function g(w){return 10===w||13===w||8232===w||8233===w}function f(w){return new RegExp("^(?:"+w.replace(/ /g,"|")+")$")}function n(w,H){for(var Q=1,ca=0;;){ka.lastIndex=ca;var ta=ka.exec(w);if(ta&&ta.index<H)++Q,ca=ta.index+ta[0].length;else return new S(Q,H-ca)}}function e(w){var H={},Q;for(Q in ya)H[Q]=w&&va.call(w,Q)?w[Q]:ya[Q];"latest"===H.ecmaVersion?H.ecmaVersion=1E8:null==H.ecmaVersion?(!Ga&&"object"===typeof b&&b.warn&&
(Ga=!0,b.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),H.ecmaVersion=11):2015<=H.ecmaVersion&&(H.ecmaVersion-=2009);null==H.allowReserved&&(H.allowReserved=5>H.ecmaVersion);if(pa(H.onToken)){var ca=H.onToken;H.onToken=function(ta){return ca.push(ta)}}pa(H.onComment)&&(H.onComment=q(H,H.onComment));return H}function q(w,H){return function(Q,ca,ta,Ca,Ba,Ea){Q={type:Q?"Block":"Line",value:ca,start:ta,end:Ca};w.locations&&(Q.loc=
new ma(this,Ba,Ea));w.ranges&&(Q.range=[ta,Ca]);H.push(Q)}}function t(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}function r(w,H){var Q=w.key;return!w.computed&&("Identifier"===Q.type&&Q.name===H||"Literal"===Q.type&&Q.value===H)}function v(w){return"MemberExpression"===w.type&&"PrivateIdentifier"===w.property.type||"ChainExpression"===w.type&&v(w.expression)}function z(w,H,Q,ca){w.type=H;w.end=Q;this.options.locations&&(w.loc.end=
ca);this.options.ranges&&(w.range[1]=Q);return w}function E(w){w=ha[w]={binary:f(oa[w]+" Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu"),
nonBinary:{General_Category:f("Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu"),
Script:f(V[w])}};w.nonBinary.Script_Extensions=w.nonBinary.Script;w.nonBinary.gc=w.nonBinary.General_Category;w.nonBinary.sc=w.nonBinary.Script;w.nonBinary.scx=w.nonBinary.Script_Extensions}function A(w){if(65535>=w)return String.fromCharCode(w);w-=65536;return String.fromCharCode((w>>10)+55296,(w&1023)+56320)}function D(w){return 36===w||40<=w&&43>=w||46===w||63===w||91<=w&&94>=w||123<=w&&125>=w}function F(w){return 65<=w&&90>=w||97<=w&&122>=w||95===w}function C(w){return F(w)||B(w)}function B(w){return 48<=
w&&57>=w}function I(w){return 48<=w&&57>=w||65<=w&&70>=w||97<=w&&102>=w}function J(w){return 65<=w&&70>=w?10+(w-65):97<=w&&102>=w?10+(w-97):w-48}function M(w){return"function"!==typeof BigInt?null:BigInt(w.replace(/_/g,""))}function P(w){if(65535>=w)return String.fromCharCode(w);w-=65536;return String.fromCharCode((w>>10)+55296,(w&1023)+56320)}var O={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",
5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},N={5:"break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this","5module":"break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this export import",
6:"break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this const class extends export import super"},L=/^in(stanceof)?$/,x="\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08c7\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\u9ffc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7ca\ua7f5-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc",
y=new RegExp("["+x+"]"),G=new RegExp("["+x+"\u200c\u200d\u00b7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08d3-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf\u1ac0\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1df9\u1dfb-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f]");
x=null;var K=[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,157,310,10,21,11,7,153,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,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,
3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,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,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,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,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,
2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,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,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],R=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,
10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239],Z=function(w,H){void 0===H&&(H={});this.label=w;
this.keyword=H.keyword;this.beforeExpr=!!H.beforeExpr;this.startsExpr=!!H.startsExpr;this.isLoop=!!H.isLoop;this.isAssign=!!H.isAssign;this.prefix=!!H.prefix;this.postfix=!!H.postfix;this.binop=H.binop||null;this.updateContext=null};x={beforeExpr:!0};var aa={startsExpr:!0},xa={},X={num:new Z("num",aa),regexp:new Z("regexp",aa),string:new Z("string",aa),name:new Z("name",aa),privateId:new Z("privateId",aa),eof:new Z("eof"),bracketL:new Z("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Z("]"),braceL:new Z("{",
{beforeExpr:!0,startsExpr:!0}),braceR:new Z("}"),parenL:new Z("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Z(")"),comma:new Z(",",x),semi:new Z(";",x),colon:new Z(":",x),dot:new Z("."),question:new Z("?",x),questionDot:new Z("?."),arrow:new Z("=>",x),template:new Z("template"),invalidTemplate:new Z("invalidTemplate"),ellipsis:new Z("...",x),backQuote:new Z("`",aa),dollarBraceL:new Z("${",{beforeExpr:!0,startsExpr:!0}),eq:new Z("=",{beforeExpr:!0,isAssign:!0}),assign:new Z("_=",{beforeExpr:!0,isAssign:!0}),
incDec:new Z("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Z("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:p("||",1),logicalAND:p("&&",2),bitwiseOR:p("|",3),bitwiseXOR:p("^",4),bitwiseAND:p("&",5),equality:p("==/!=/===/!==",6),relational:p("</>/<=/>=",7),bitShift:p("<</>>/>>>",8),plusMin:new Z("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:p("%",10),star:p("*",10),slash:p("/",10),starstar:new Z("**",{beforeExpr:!0}),coalesce:p("??",1),_break:l("break"),_case:l("case",
x),_catch:l("catch"),_continue:l("continue"),_debugger:l("debugger"),_default:l("default",x),_do:l("do",{isLoop:!0,beforeExpr:!0}),_else:l("else",x),_finally:l("finally"),_for:l("for",{isLoop:!0}),_function:l("function",aa),_if:l("if"),_return:l("return",x),_switch:l("switch"),_throw:l("throw",x),_try:l("try"),_var:l("var"),_const:l("const"),_while:l("while",{isLoop:!0}),_with:l("with"),_new:l("new",{beforeExpr:!0,startsExpr:!0}),_this:l("this",aa),_super:l("super",aa),_class:l("class",aa),_extends:l("extends",
x),_export:l("export"),_import:l("import",aa),_null:l("null",aa),_true:l("true",aa),_false:l("false",aa),_in:l("in",{beforeExpr:!0,binop:7}),_instanceof:l("instanceof",{beforeExpr:!0,binop:7}),_typeof:l("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:l("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:l("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},wa=/\r\n?|\n|\u2028|\u2029/,ka=new RegExp(wa.source,"g"),ra=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,qa=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
x=Object.prototype;var va=x.hasOwnProperty,U=x.toString,pa=Array.isArray||function(w){return"[object Array]"===U.call(w)},S=function(w,H){this.line=w;this.column=H};S.prototype.offset=function(w){return new S(this.line,this.column+w)};var ma=function(w,H,Q){this.start=H;this.end=Q;null!==w.sourceFile&&(this.source=w.sourceFile)},ya={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,
allowSuperOutsideMethod:null,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Ga=!1,Ha=function(w,H,Q){this.options=w=e(w);this.sourceFile=w.sourceFile;this.keywords=f(N[6<=w.ecmaVersion?6:"module"===w.sourceType?"5module":5]);var ca="";!0!==w.allowReserved&&(ca=O[6<=w.ecmaVersion?6:5===w.ecmaVersion?5:3],"module"===w.sourceType&&(ca+=" await"));this.reservedWords=f(ca);ca=(ca?ca+" ":"")+O.strict;this.reservedWordsStrict=
f(ca);this.reservedWordsStrictBind=f(ca+" "+O.strictBind);this.input=String(H);this.containsEsc=!1;Q?(this.pos=Q,this.lineStart=this.input.lastIndexOf("\n",Q-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(wa).length):(this.pos=this.lineStart=0,this.curLine=1);this.type=X.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();
this.exprAllowed=!0;this.strict=(this.inModule="module"===w.sourceType)||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.potentialArrowInForAwait=!1;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports=Object.create(null);0===this.pos&&w.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2);this.scopeStack=[];this.enterScope(1);this.regexpState=null;this.privateNameStack=[]};x={inFunction:{configurable:!0},inGenerator:{configurable:!0},
inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Ha.prototype.parse=function(){var w=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(w)};x.inFunction.get=function(){return 0<(this.currentVarScope().flags&2)};x.inGenerator.get=function(){return 0<(this.currentVarScope().flags&8)&&!this.currentVarScope().inClassFieldInit};
x.inAsync.get=function(){return 0<(this.currentVarScope().flags&4)&&!this.currentVarScope().inClassFieldInit};x.canAwait.get=function(){for(var w=this.scopeStack.length-1;0<=w;w--){var H=this.scopeStack[w];if(H.inClassFieldInit||H.flags&256)return!1;if(H.flags&2)return 0<(H.flags&4)}return this.inModule&&13<=this.options.ecmaVersion||this.options.allowAwaitOutsideFunction};x.allowSuper.get=function(){var w=this.currentThisScope(),H=w.inClassFieldInit;return 0<(w.flags&64)||H||this.options.allowSuperOutsideMethod};
x.allowDirectSuper.get=function(){return 0<(this.currentThisScope().flags&128)};x.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};x.allowNewDotTarget.get=function(){var w=this.currentThisScope(),H=w.inClassFieldInit;return 0<(w.flags&258)||H};x.inClassStaticBlock.get=function(){return 0<(this.currentVarScope().flags&256)};Ha.extend=function(){for(var w=[],H=arguments.length;H--;)w[H]=arguments[H];H=this;for(var Q=0;Q<w.length;Q++)H=w[Q](H);return H};
Ha.parse=function(w,H){return(new this(H,w)).parse()};Ha.parseExpressionAt=function(w,H,Q){w=new this(Q,w,H);w.nextToken();return w.parseExpression()};Ha.tokenizer=function(w,H){return new this(H,w)};Object.defineProperties(Ha.prototype,x);x=Ha.prototype;var ab=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;x.strictDirective=function(w){for(;;){qa.lastIndex=w;w+=qa.exec(this.input)[0].length;var H=ab.exec(this.input.slice(w));if(!H)return!1;if("use strict"===(H[1]||H[2])){qa.lastIndex=w+H[0].length;
w=qa.exec(this.input);H=w.index+w[0].length;var Q=this.input.charAt(H);return";"===Q||"}"===Q||wa.test(w[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(Q)||"!"===Q&&"="===this.input.charAt(H+1))}w+=H[0].length;qa.lastIndex=w;w+=qa.exec(this.input)[0].length;";"===this.input[w]&&w++}};x.eat=function(w){return this.type===w?(this.next(),!0):!1};x.isContextual=function(w){return this.type===X.name&&this.value===w&&!this.containsEsc};x.eatContextual=function(w){if(!this.isContextual(w))return!1;this.next();return!0};
x.expectContextual=function(w){this.eatContextual(w)||this.unexpected()};x.canInsertSemicolon=function(){return this.type===X.eof||this.type===X.braceR||wa.test(this.input.slice(this.lastTokEnd,this.start))};x.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon)this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc);return!0}};x.semicolon=function(){this.eat(X.semi)||this.insertSemicolon()||this.unexpected()};x.afterTrailingComma=function(w,H){if(this.type===
w){if(this.options.onTrailingComma)this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc);H||this.next();return!0}};x.expect=function(w){this.eat(w)||this.unexpected()};x.unexpected=function(w){this.raise(null!=w?w:this.start,"Unexpected token")};x.checkPatternErrors=function(w,H){w&&(-1<w.trailingComma&&this.raiseRecoverable(w.trailingComma,"Comma is not permitted after the rest element"),w=H?w.parenthesizedAssign:w.parenthesizedBind,-1<w&&this.raiseRecoverable(w,"Parenthesized pattern"))};
x.checkExpressionErrors=function(w,H){if(!w)return!1;var Q=w.shorthandAssign;w=w.doubleProto;if(!H)return 0<=Q||0<=w;0<=Q&&this.raise(Q,"Shorthand property assignments are valid only in destructuring patterns");0<=w&&this.raiseRecoverable(w,"Redefinition of __proto__ property")};x.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value");this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")};
x.isSimpleAssignTarget=function(w){return"ParenthesizedExpression"===w.type?this.isSimpleAssignTarget(w.expression):"Identifier"===w.type||"MemberExpression"===w.type};x=Ha.prototype;x.parseTopLevel=function(w){var H=Object.create(null);w.body||(w.body=[]);for(;this.type!==X.eof;){var Q=this.parseStatement(null,!0,H);w.body.push(Q)}if(this.inModule)for(H=0,Q=Object.keys(this.undefinedExports);H<Q.length;H+=1){var ca=Q[H];this.raiseRecoverable(this.undefinedExports[ca].start,"Export '"+ca+"' is not defined")}this.adaptDirectivePrologue(w.body);
this.next();w.sourceType=this.options.sourceType;return this.finishNode(w,"Program")};var ea={kind:"loop"},za={kind:"switch"};x.isLet=function(w){if(6>this.options.ecmaVersion||!this.isContextual("let"))return!1;qa.lastIndex=this.pos;var H=qa.exec(this.input);H=this.pos+H[0].length;var Q=this.input.charCodeAt(H);if(91===Q||92===Q||55295<Q&&56320>Q)return!0;if(w)return!1;if(123===Q)return!0;if(h(Q,!0)){for(w=H+1;k(Q=this.input.charCodeAt(w),!0);)++w;if(92===Q||55295<Q&&56320>Q)return!0;w=this.input.slice(H,
w);if(!L.test(w))return!0}return!1};x.isAsyncFunction=function(){if(8>this.options.ecmaVersion||!this.isContextual("async"))return!1;qa.lastIndex=this.pos;var w=qa.exec(this.input);w=this.pos+w[0].length;var H;return!wa.test(this.input.slice(this.pos,w))&&"function"===this.input.slice(w,w+8)&&(w+8===this.input.length||!(k(H=this.input.charCodeAt(w+8))||55295<H&&56320>H))};x.parseStatement=function(w,H,Q){var ca=this.type,ta=this.startNode();if(this.isLet(w)){ca=X._var;var Ca="let"}switch(ca){case X._break:case X._continue:return this.parseBreakContinueStatement(ta,
ca.keyword);case X._debugger:return this.parseDebuggerStatement(ta);case X._do:return this.parseDoStatement(ta);case X._for:return this.parseForStatement(ta);case X._function:return w&&(this.strict||"if"!==w&&"label"!==w)&&6<=this.options.ecmaVersion&&this.unexpected(),this.parseFunctionStatement(ta,!1,!w);case X._class:return w&&this.unexpected(),this.parseClass(ta,!0);case X._if:return this.parseIfStatement(ta);case X._return:return this.parseReturnStatement(ta);case X._switch:return this.parseSwitchStatement(ta);
case X._throw:return this.parseThrowStatement(ta);case X._try:return this.parseTryStatement(ta);case X._const:case X._var:return Ca=Ca||this.value,w&&"var"!==Ca&&this.unexpected(),this.parseVarStatement(ta,Ca);case X._while:return this.parseWhileStatement(ta);case X._with:return this.parseWithStatement(ta);case X.braceL:return this.parseBlock(!0,ta);case X.semi:return this.parseEmptyStatement(ta);case X._export:case X._import:if(10<this.options.ecmaVersion&&ca===X._import&&(qa.lastIndex=this.pos,
w=qa.exec(this.input),w=this.input.charCodeAt(this.pos+w[0].length),40===w||46===w))return this.parseExpressionStatement(ta,this.parseExpression());this.options.allowImportExportEverywhere||(H||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'"));return ca===X._import?this.parseImport(ta):this.parseExport(ta,Q);default:if(this.isAsyncFunction())return w&&this.unexpected(),
this.next(),this.parseFunctionStatement(ta,!0,!w);H=this.value;Q=this.parseExpression();return ca===X.name&&"Identifier"===Q.type&&this.eat(X.colon)?this.parseLabeledStatement(ta,H,Q,w):this.parseExpressionStatement(ta,Q)}};x.parseBreakContinueStatement=function(w,H){var Q="break"===H;this.next();this.eat(X.semi)||this.insertSemicolon()?w.label=null:this.type!==X.name?this.unexpected():(w.label=this.parseIdent(),this.semicolon());for(var ca=0;ca<this.labels.length;++ca){var ta=this.labels[ca];if(null==
w.label||ta.name===w.label.name){if(null!=ta.kind&&(Q||"loop"===ta.kind))break;if(w.label&&Q)break}}ca===this.labels.length&&this.raise(w.start,"Unsyntactic "+H);return this.finishNode(w,Q?"BreakStatement":"ContinueStatement")};x.parseDebuggerStatement=function(w){this.next();this.semicolon();return this.finishNode(w,"DebuggerStatement")};x.parseDoStatement=function(w){this.next();this.labels.push(ea);w.body=this.parseStatement("do");this.labels.pop();this.expect(X._while);w.test=this.parseParenExpression();
6<=this.options.ecmaVersion?this.eat(X.semi):this.semicolon();return this.finishNode(w,"DoWhileStatement")};x.parseForStatement=function(w){this.next();var H=9<=this.options.ecmaVersion&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(ea);this.enterScope(0);this.expect(X.parenL);if(this.type===X.semi)return-1<H&&this.unexpected(H),this.parseFor(w,null);var Q=this.isLet();if(this.type===X._var||this.type===X._const||Q){var ca=this.startNode();Q=Q?"let":this.value;this.next();
this.parseVar(ca,!0,Q);this.finishNode(ca,"VariableDeclaration");if((this.type===X._in||6<=this.options.ecmaVersion&&this.isContextual("of"))&&1===ca.declarations.length)return 9<=this.options.ecmaVersion&&(this.type===X._in?-1<H&&this.unexpected(H):w.await=-1<H),this.parseForIn(w,ca);-1<H&&this.unexpected(H);return this.parseFor(w,ca)}ca=this.isContextual("let");Q=!1;var ta=new t,Ca=this.parseExpression(-1<H?"await":!0,ta);if(this.type===X._in||(Q=6<=this.options.ecmaVersion&&this.isContextual("of")))return 9<=
this.options.ecmaVersion&&(this.type===X._in?-1<H&&this.unexpected(H):w.await=-1<H),ca&&Q&&this.raise(Ca.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(Ca,!1,ta),this.checkLValPattern(Ca),this.parseForIn(w,Ca);this.checkExpressionErrors(ta,!0);-1<H&&this.unexpected(H);return this.parseFor(w,Ca)};x.parseFunctionStatement=function(w,H,Q){this.next();return this.parseFunction(w,W|(Q?0:ia),!1,H)};x.parseIfStatement=function(w){this.next();w.test=this.parseParenExpression();
w.consequent=this.parseStatement("if");w.alternate=this.eat(X._else)?this.parseStatement("if"):null;return this.finishNode(w,"IfStatement")};x.parseReturnStatement=function(w){this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function");this.next();this.eat(X.semi)||this.insertSemicolon()?w.argument=null:(w.argument=this.parseExpression(),this.semicolon());return this.finishNode(w,"ReturnStatement")};x.parseSwitchStatement=function(w){this.next();
w.discriminant=this.parseParenExpression();w.cases=[];this.expect(X.braceL);this.labels.push(za);this.enterScope(0);for(var H,Q=!1;this.type!==X.braceR;)if(this.type===X._case||this.type===X._default){var ca=this.type===X._case;H&&this.finishNode(H,"SwitchCase");w.cases.push(H=this.startNode());H.consequent=[];this.next();ca?H.test=this.parseExpression():(Q&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),Q=!0,H.test=null);this.expect(X.colon)}else H||this.unexpected(),H.consequent.push(this.parseStatement(null));
this.exitScope();H&&this.finishNode(H,"SwitchCase");this.next();this.labels.pop();return this.finishNode(w,"SwitchStatement")};x.parseThrowStatement=function(w){this.next();wa.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw");w.argument=this.parseExpression();this.semicolon();return this.finishNode(w,"ThrowStatement")};var Y=[];x.parseTryStatement=function(w){this.next();w.block=this.parseBlock();w.handler=null;if(this.type===X._catch){var H=
this.startNode();this.next();if(this.eat(X.parenL)){H.param=this.parseBindingAtom();var Q="Identifier"===H.param.type;this.enterScope(Q?32:0);this.checkLValPattern(H.param,Q?4:2);this.expect(X.parenR)}else 10>this.options.ecmaVersion&&this.unexpected(),H.param=null,this.enterScope(0);H.body=this.parseBlock(!1);this.exitScope();w.handler=this.finishNode(H,"CatchClause")}w.finalizer=this.eat(X._finally)?this.parseBlock():null;w.handler||w.finalizer||this.raise(w.start,"Missing catch or finally clause");
return this.finishNode(w,"TryStatement")};x.parseVarStatement=function(w,H){this.next();this.parseVar(w,!1,H);this.semicolon();return this.finishNode(w,"VariableDeclaration")};x.parseWhileStatement=function(w){this.next();w.test=this.parseParenExpression();this.labels.push(ea);w.body=this.parseStatement("while");this.labels.pop();return this.finishNode(w,"WhileStatement")};x.parseWithStatement=function(w){this.strict&&this.raise(this.start,"'with' in strict mode");this.next();w.object=this.parseParenExpression();
w.body=this.parseStatement("with");return this.finishNode(w,"WithStatement")};x.parseEmptyStatement=function(w){this.next();return this.finishNode(w,"EmptyStatement")};x.parseLabeledStatement=function(w,H,Q,ca){for(var ta=0,Ca=this.labels;ta<Ca.length;ta+=1)Ca[ta].name===H&&this.raise(Q.start,"Label '"+H+"' is already declared");ta=this.type.isLoop?"loop":this.type===X._switch?"switch":null;for(Ca=this.labels.length-1;0<=Ca;Ca--){var Ba=this.labels[Ca];if(Ba.statementStart===w.start)Ba.statementStart=
this.start,Ba.kind=ta;else break}this.labels.push({name:H,kind:ta,statementStart:this.start});w.body=this.parseStatement(ca?-1===ca.indexOf("label")?ca+"label":ca:"label");this.labels.pop();w.label=Q;return this.finishNode(w,"LabeledStatement")};x.parseExpressionStatement=function(w,H){w.expression=H;this.semicolon();return this.finishNode(w,"ExpressionStatement")};x.parseBlock=function(w,H,Q){void 0===w&&(w=!0);void 0===H&&(H=this.startNode());H.body=[];this.expect(X.braceL);for(w&&this.enterScope(0);this.type!==
X.braceR;){var ca=this.parseStatement(null);H.body.push(ca)}Q&&(this.strict=!1);this.next();w&&this.exitScope();return this.finishNode(H,"BlockStatement")};x.parseFor=function(w,H){w.init=H;this.expect(X.semi);w.test=this.type===X.semi?null:this.parseExpression();this.expect(X.semi);w.update=this.type===X.parenR?null:this.parseExpression();this.expect(X.parenR);w.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(w,"ForStatement")};x.parseForIn=function(w,H){var Q=
this.type===X._in;this.next();"VariableDeclaration"===H.type&&null!=H.declarations[0].init&&(!Q||8>this.options.ecmaVersion||this.strict||"var"!==H.kind||"Identifier"!==H.declarations[0].id.type)&&this.raise(H.start,(Q?"for-in":"for-of")+" loop variable declaration may not have an initializer");w.left=H;w.right=Q?this.parseExpression():this.parseMaybeAssign();this.expect(X.parenR);w.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(w,Q?"ForInStatement":"ForOfStatement")};
x.parseVar=function(w,H,Q){w.declarations=[];for(w.kind=Q;;){var ca=this.startNode();this.parseVarId(ca,Q);this.eat(X.eq)?ca.init=this.parseMaybeAssign(H):"const"!==Q||this.type===X._in||6<=this.options.ecmaVersion&&this.isContextual("of")?"Identifier"===ca.id.type||H&&(this.type===X._in||this.isContextual("of"))?ca.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected();w.declarations.push(this.finishNode(ca,"VariableDeclarator"));if(!this.eat(X.comma))break}return w};
x.parseVarId=function(w,H){w.id=this.parseBindingAtom();this.checkLValPattern(w.id,"var"===H?1:2,!1)};var W=1,ia=2;x.parseFunction=function(w,H,Q,ca,ta){this.initFunction(w);if(9<=this.options.ecmaVersion||6<=this.options.ecmaVersion&&!ca)this.type===X.star&&H&ia&&this.unexpected(),w.generator=this.eat(X.star);8<=this.options.ecmaVersion&&(w.async=!!ca);H&W&&(w.id=H&4&&this.type!==X.name?null:this.parseIdent(),!w.id||H&ia||this.checkLValSimple(w.id,this.strict||w.generator||w.async?this.treatFunctionsAsVar?
1:2:3));ca=this.yieldPos;var Ca=this.awaitPos,Ba=this.awaitIdentPos;this.awaitIdentPos=this.awaitPos=this.yieldPos=0;this.enterScope(2|(w.async?4:0)|(w.generator?8:0));H&W||(w.id=this.type===X.name?this.parseIdent():null);this.parseFunctionParams(w);this.parseFunctionBody(w,Q,!1,ta);this.yieldPos=ca;this.awaitPos=Ca;this.awaitIdentPos=Ba;return this.finishNode(w,H&W?"FunctionDeclaration":"FunctionExpression")};x.parseFunctionParams=function(w){this.expect(X.parenL);w.params=this.parseBindingList(X.parenR,
!1,8<=this.options.ecmaVersion);this.checkYieldAwaitInDefaultParams()};x.parseClass=function(w,H){this.next();var Q=this.strict;this.strict=!0;this.parseClassId(w,H);this.parseClassSuper(w);var ca=this.enterClassBody(),ta=this.startNode(),Ca=!1;ta.body=[];for(this.expect(X.braceL);this.type!==X.braceR;){var Ba=this.parseClassElement(null!==w.superClass);if(Ba)if(ta.body.push(Ba),"MethodDefinition"===Ba.type&&"constructor"===Ba.kind)Ca&&this.raise(Ba.start,"Duplicate constructor in the same class"),
Ca=!0;else{var Ea;if(Ea=Ba.key&&"PrivateIdentifier"===Ba.key.type){Ea=ca;var Ua=Ba.key.name,Sa=Ea[Ua],Va="true";"MethodDefinition"!==Ba.type||"get"!==Ba.kind&&"set"!==Ba.kind||(Va=(Ba.static?"s":"i")+Ba.kind);"iget"===Sa&&"iset"===Va||"iset"===Sa&&"iget"===Va||"sget"===Sa&&"sset"===Va||"sset"===Sa&&"sget"===Va?(Ea[Ua]="true",Ea=!1):Sa?Ea=!0:(Ea[Ua]=Va,Ea=!1)}Ea&&this.raiseRecoverable(Ba.key.start,"Identifier '#"+Ba.key.name+"' has already been declared")}}this.strict=Q;this.next();w.body=this.finishNode(ta,
"ClassBody");this.exitClassBody();return this.finishNode(w,H?"ClassDeclaration":"ClassExpression")};x.parseClassElement=function(w){if(this.eat(X.semi))return null;var H=this.options.ecmaVersion,Q=this.startNode(),ca="",ta=!1,Ca=!1,Ba="method",Ea=!1;if(this.eatContextual("static")){if(13<=H&&this.eat(X.braceL))return this.parseClassStaticBlock(Q),Q;this.isClassElementNameStart()||this.type===X.star?Ea=!0:ca="static"}Q.static=Ea;!ca&&8<=H&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&
this.type!==X.star||this.canInsertSemicolon()?ca="async":Ca=!0);!ca&&(9<=H||!Ca)&&this.eat(X.star)&&(ta=!0);ca||Ca||ta||(Ea=this.value,!this.eatContextual("get")&&!this.eatContextual("set"))||(this.isClassElementNameStart()?Ba=Ea:ca=Ea);ca?(Q.computed=!1,Q.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),Q.key.name=ca,this.finishNode(Q.key,"Identifier")):this.parseClassElementName(Q);13>H||this.type===X.parenL||"method"!==Ba||ta||Ca?(w=(H=!Q.static&&r(Q,"constructor"))&&w,H&&"method"!==
Ba&&this.raise(Q.key.start,"Constructor can't have get/set modifier"),Q.kind=H?"constructor":Ba,this.parseClassMethod(Q,ta,Ca,w)):this.parseClassField(Q);return Q};x.isClassElementNameStart=function(){return this.type===X.name||this.type===X.privateId||this.type===X.num||this.type===X.string||this.type===X.bracketL||this.type.keyword};x.parseClassElementName=function(w){this.type===X.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),
w.computed=!1,w.key=this.parsePrivateIdent()):this.parsePropertyName(w)};x.parseClassMethod=function(w,H,Q,ca){var ta=w.key;"constructor"===w.kind?(H&&this.raise(ta.start,"Constructor can't be a generator"),Q&&this.raise(ta.start,"Constructor can't be an async method")):w.static&&r(w,"prototype")&&this.raise(ta.start,"Classes may not have a static property named prototype");H=w.value=this.parseMethod(H,Q,ca);"get"===w.kind&&0!==H.params.length&&this.raiseRecoverable(H.start,"getter should have no params");
"set"===w.kind&&1!==H.params.length&&this.raiseRecoverable(H.start,"setter should have exactly one param");"set"===w.kind&&"RestElement"===H.params[0].type&&this.raiseRecoverable(H.params[0].start,"Setter cannot use rest params");return this.finishNode(w,"MethodDefinition")};x.parseClassField=function(w){r(w,"constructor")?this.raise(w.key.start,"Classes can't have a field named 'constructor'"):w.static&&r(w,"prototype")&&this.raise(w.key.start,"Classes can't have a static field named 'prototype'");
if(this.eat(X.eq)){var H=this.currentThisScope(),Q=H.inClassFieldInit;H.inClassFieldInit=!0;w.value=this.parseMaybeAssign();H.inClassFieldInit=Q}else w.value=null;this.semicolon();return this.finishNode(w,"PropertyDefinition")};x.parseClassStaticBlock=function(w){w.body=[];var H=this.labels;this.labels=[];for(this.enterScope(320);this.type!==X.braceR;){var Q=this.parseStatement(null);w.body.push(Q)}this.next();this.exitScope();this.labels=H;return this.finishNode(w,"StaticBlock")};x.parseClassId=
function(w,H){this.type===X.name?(w.id=this.parseIdent(),H&&this.checkLValSimple(w.id,2,!1)):(!0===H&&this.unexpected(),w.id=null)};x.parseClassSuper=function(w){w.superClass=this.eat(X._extends)?this.parseExprSubscripts(!1):null};x.enterClassBody=function(){var w={declared:Object.create(null),used:[]};this.privateNameStack.push(w);return w.declared};x.exitClassBody=function(){var w=this.privateNameStack.pop(),H=w.declared;w=w.used;var Q=this.privateNameStack.length;Q=0===Q?null:this.privateNameStack[Q-
1];for(var ca=0;ca<w.length;++ca){var ta=w[ca];va.call(H,ta.name)||(Q?Q.used.push(ta):this.raiseRecoverable(ta.start,"Private field '#"+ta.name+"' must be declared in an enclosing class"))}};x.parseExport=function(w,H){this.next();if(this.eat(X.star))return 11<=this.options.ecmaVersion&&(this.eatContextual("as")?(w.exported=this.parseIdent(!0),this.checkExport(H,w.exported.name,this.lastTokStart)):w.exported=null),this.expectContextual("from"),this.type!==X.string&&this.unexpected(),w.source=this.parseExprAtom(),
this.semicolon(),this.finishNode(w,"ExportAllDeclaration");if(this.eat(X._default)){this.checkExport(H,"default",this.lastTokStart);var Q;this.type===X._function||(Q=this.isAsyncFunction())?(H=this.startNode(),this.next(),Q&&this.next(),w.declaration=this.parseFunction(H,W|4,!1,Q)):this.type===X._class?(Q=this.startNode(),w.declaration=this.parseClass(Q,"nullableID")):(w.declaration=this.parseMaybeAssign(),this.semicolon());return this.finishNode(w,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())w.declaration=
this.parseStatement(null),"VariableDeclaration"===w.declaration.type?this.checkVariableExport(H,w.declaration.declarations):this.checkExport(H,w.declaration.id.name,w.declaration.id.start),w.specifiers=[],w.source=null;else{w.declaration=null;w.specifiers=this.parseExportSpecifiers(H);if(this.eatContextual("from"))this.type!==X.string&&this.unexpected(),w.source=this.parseExprAtom();else{Q=0;for(H=w.specifiers;Q<H.length;Q+=1){var ca=H[Q];this.checkUnreserved(ca.local);this.checkLocalExport(ca.local)}w.source=
null}this.semicolon()}return this.finishNode(w,"ExportNamedDeclaration")};x.checkExport=function(w,H,Q){w&&(va.call(w,H)&&this.raiseRecoverable(Q,"Duplicate export '"+H+"'"),w[H]=!0)};x.checkPatternExport=function(w,H){var Q=H.type;if("Identifier"===Q)this.checkExport(w,H.name,H.start);else if("ObjectPattern"===Q)for(Q=0,H=H.properties;Q<H.length;Q+=1)this.checkPatternExport(w,H[Q]);else if("ArrayPattern"===Q)for(Q=0,H=H.elements;Q<H.length;Q+=1){var ca=H[Q];ca&&this.checkPatternExport(w,ca)}else"Property"===
Q?this.checkPatternExport(w,H.value):"AssignmentPattern"===Q?this.checkPatternExport(w,H.left):"RestElement"===Q?this.checkPatternExport(w,H.argument):"ParenthesizedExpression"===Q&&this.checkPatternExport(w,H.expression)};x.checkVariableExport=function(w,H){if(w)for(var Q=0;Q<H.length;Q+=1)this.checkPatternExport(w,H[Q].id)};x.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||
this.isAsyncFunction()};x.parseExportSpecifiers=function(w){var H=[],Q=!0;for(this.expect(X.braceL);!this.eat(X.braceR);){if(Q)Q=!1;else if(this.expect(X.comma),this.afterTrailingComma(X.braceR))break;var ca=this.startNode();ca.local=this.parseIdent(!0);ca.exported=this.eatContextual("as")?this.parseIdent(!0):ca.local;this.checkExport(w,ca.exported.name,ca.exported.start);H.push(this.finishNode(ca,"ExportSpecifier"))}return H};x.parseImport=function(w){this.next();this.type===X.string?(w.specifiers=
Y,w.source=this.parseExprAtom()):(w.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),w.source=this.type===X.string?this.parseExprAtom():this.unexpected());this.semicolon();return this.finishNode(w,"ImportDeclaration")};x.parseImportSpecifiers=function(){var w=[],H=!0;if(this.type===X.name){var Q=this.startNode();Q.local=this.parseIdent();this.checkLValSimple(Q.local,2);w.push(this.finishNode(Q,"ImportDefaultSpecifier"));if(!this.eat(X.comma))return w}if(this.type===X.star)return H=
this.startNode(),this.next(),this.expectContextual("as"),H.local=this.parseIdent(),this.checkLValSimple(H.local,2),w.push(this.finishNode(H,"ImportNamespaceSpecifier")),w;for(this.expect(X.braceL);!this.eat(X.braceR);){if(H)H=!1;else if(this.expect(X.comma),this.afterTrailingComma(X.braceR))break;Q=this.startNode();Q.imported=this.parseIdent(!0);this.eatContextual("as")?Q.local=this.parseIdent():(this.checkUnreserved(Q.imported),Q.local=Q.imported);this.checkLValSimple(Q.local,2);w.push(this.finishNode(Q,
"ImportSpecifier"))}return w};x.adaptDirectivePrologue=function(w){for(var H=0;H<w.length&&this.isDirectiveCandidate(w[H]);++H)w[H].directive=w[H].expression.raw.slice(1,-1)};x.isDirectiveCandidate=function(w){return"ExpressionStatement"===w.type&&"Literal"===w.expression.type&&"string"===typeof w.expression.value&&('"'===this.input[w.start]||"'"===this.input[w.start])};x=Ha.prototype;x.toAssignable=function(w,H,Q){if(6<=this.options.ecmaVersion&&w)switch(w.type){case "Identifier":this.inAsync&&"await"===
w.name&&this.raise(w.start,"Cannot use 'await' as identifier inside an async function");break;case "ObjectPattern":case "ArrayPattern":case "AssignmentPattern":case "RestElement":break;case "ObjectExpression":w.type="ObjectPattern";Q&&this.checkPatternErrors(Q,!0);Q=0;for(var ca=w.properties;Q<ca.length;Q+=1){var ta=ca[Q];this.toAssignable(ta,H);"RestElement"!==ta.type||"ArrayPattern"!==ta.argument.type&&"ObjectPattern"!==ta.argument.type||this.raise(ta.argument.start,"Unexpected token")}break;case "Property":"init"!==
w.kind&&this.raise(w.key.start,"Object pattern can't contain getter or setter");this.toAssignable(w.value,H);break;case "ArrayExpression":w.type="ArrayPattern";Q&&this.checkPatternErrors(Q,!0);this.toAssignableList(w.elements,H);break;case "SpreadElement":w.type="RestElement";this.toAssignable(w.argument,H);"AssignmentPattern"===w.argument.type&&this.raise(w.argument.start,"Rest elements cannot have a default value");break;case "AssignmentExpression":"="!==w.operator&&this.raise(w.left.end,"Only '=' operator can be used for specifying default value.");
w.type="AssignmentPattern";delete w.operator;this.toAssignable(w.left,H);break;case "ParenthesizedExpression":this.toAssignable(w.expression,H,Q);break;case "ChainExpression":this.raiseRecoverable(w.start,"Optional chaining cannot appear in left-hand side");break;case "MemberExpression":if(!H)break;default:this.raise(w.start,"Assigning to rvalue")}else Q&&this.checkPatternErrors(Q,!0);return w};x.toAssignableList=function(w,H){for(var Q=w.length,ca=0;ca<Q;ca++){var ta=w[ca];ta&&this.toAssignable(ta,
H)}Q&&(Q=w[Q-1],6===this.options.ecmaVersion&&H&&Q&&"RestElement"===Q.type&&"Identifier"!==Q.argument.type&&this.unexpected(Q.argument.start));return w};x.parseSpread=function(w){var H=this.startNode();this.next();H.argument=this.parseMaybeAssign(!1,w);return this.finishNode(H,"SpreadElement")};x.parseRestBinding=function(){var w=this.startNode();this.next();6===this.options.ecmaVersion&&this.type!==X.name&&this.unexpected();w.argument=this.parseBindingAtom();return this.finishNode(w,"RestElement")};
x.parseBindingAtom=function(){if(6<=this.options.ecmaVersion)switch(this.type){case X.bracketL:var w=this.startNode();this.next();w.elements=this.parseBindingList(X.bracketR,!0,!0);return this.finishNode(w,"ArrayPattern");case X.braceL:return this.parseObj(!0)}return this.parseIdent()};x.parseBindingList=function(w,H,Q){for(var ca=[],ta=!0;!this.eat(w);)if(ta?ta=!1:this.expect(X.comma),H&&this.type===X.comma)ca.push(null);else if(Q&&this.afterTrailingComma(w))break;else if(this.type===X.ellipsis){H=
this.parseRestBinding();this.parseBindingListItem(H);ca.push(H);this.type===X.comma&&this.raise(this.start,"Comma is not permitted after the rest element");this.expect(w);break}else{var Ca=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(Ca);ca.push(Ca)}return ca};x.parseBindingListItem=function(w){return w};x.parseMaybeDefault=function(w,H,Q){Q=Q||this.parseBindingAtom();if(6>this.options.ecmaVersion||!this.eat(X.eq))return Q;w=this.startNodeAt(w,H);w.left=Q;w.right=this.parseMaybeAssign();
return this.finishNode(w,"AssignmentPattern")};x.checkLValSimple=function(w,H,Q){void 0===H&&(H=0);var ca=0!==H;switch(w.type){case "Identifier":this.strict&&this.reservedWordsStrictBind.test(w.name)&&this.raiseRecoverable(w.start,(ca?"Binding ":"Assigning to ")+w.name+" in strict mode");ca&&(2===H&&"let"===w.name&&this.raiseRecoverable(w.start,"let is disallowed as a lexically bound name"),Q&&(va.call(Q,w.name)&&this.raiseRecoverable(w.start,"Argument name clash"),Q[w.name]=!0),5!==H&&this.declareName(w.name,
H,w.start));break;case "ChainExpression":this.raiseRecoverable(w.start,"Optional chaining cannot appear in left-hand side");break;case "MemberExpression":ca&&this.raiseRecoverable(w.start,"Binding member expression");break;case "ParenthesizedExpression":return ca&&this.raiseRecoverable(w.start,"Binding parenthesized expression"),this.checkLValSimple(w.expression,H,Q);default:this.raise(w.start,(ca?"Binding":"Assigning to")+" rvalue")}};x.checkLValPattern=function(w,H,Q){void 0===H&&(H=0);switch(w.type){case "ObjectPattern":var ca=
0;for(w=w.properties;ca<w.length;ca+=1)this.checkLValInnerPattern(w[ca],H,Q);break;case "ArrayPattern":ca=0;for(w=w.elements;ca<w.length;ca+=1){var ta=w[ca];ta&&this.checkLValInnerPattern(ta,H,Q)}break;default:this.checkLValSimple(w,H,Q)}};x.checkLValInnerPattern=function(w,H,Q){void 0===H&&(H=0);switch(w.type){case "Property":this.checkLValInnerPattern(w.value,H,Q);break;case "AssignmentPattern":this.checkLValPattern(w.left,H,Q);break;case "RestElement":this.checkLValPattern(w.argument,H,Q);break;
default:this.checkLValPattern(w,H,Q)}};x=function(w,H,Q,ca,ta){this.token=w;this.isExpr=!!H;this.preserveSpace=!!Q;this.override=ca;this.generator=!!ta};var na={b_stat:new x("{",!1),b_expr:new x("{",!0),b_tmpl:new x("${",!1),p_stat:new x("(",!1),p_expr:new x("(",!0),q_tmpl:new x("`",!0,!0,function(w){return w.tryReadTemplateToken()}),f_stat:new x("function",!1),f_expr:new x("function",!0),f_expr_gen:new x("function",!0,!1,null,!0),f_gen:new x("function",!1,!1,null,!0)};aa=Ha.prototype;aa.initialContext=
function(){return[na.b_stat]};aa.curContext=function(){return this.context[this.context.length-1]};aa.braceIsBlock=function(w){var H=this.curContext();return H===na.f_expr||H===na.f_stat?!0:w!==X.colon||H!==na.b_stat&&H!==na.b_expr?w===X._return||w===X.name&&this.exprAllowed?wa.test(this.input.slice(this.lastTokEnd,this.start)):w===X._else||w===X.semi||w===X.eof||w===X.parenR||w===X.arrow?!0:w===X.braceL?H===na.b_stat:w===X._var||w===X._const||w===X.name?!1:!this.exprAllowed:!H.isExpr};aa.inGeneratorContext=
function(){for(var w=this.context.length-1;1<=w;w--){var H=this.context[w];if("function"===H.token)return H.generator}return!1};aa.updateContext=function(w){var H,Q=this.type;Q.keyword&&w===X.dot?this.exprAllowed=!1:(H=Q.updateContext)?H.call(this,w):this.exprAllowed=Q.beforeExpr};aa.overrideContext=function(w){this.curContext()!==w&&(this.context[this.context.length-1]=w)};X.parenR.updateContext=X.braceR.updateContext=function(){if(1===this.context.length)this.exprAllowed=!0;else{var w=this.context.pop();
w===na.b_stat&&"function"===this.curContext().token&&(w=this.context.pop());this.exprAllowed=!w.isExpr}};X.braceL.updateContext=function(w){this.context.push(this.braceIsBlock(w)?na.b_stat:na.b_expr);this.exprAllowed=!0};X.dollarBraceL.updateContext=function(){this.context.push(na.b_tmpl);this.exprAllowed=!0};X.parenL.updateContext=function(w){this.context.push(w===X._if||w===X._for||w===X._with||w===X._while?na.p_stat:na.p_expr);this.exprAllowed=!0};X.incDec.updateContext=function(){};X._function.updateContext=
X._class.updateContext=function(w){!w.beforeExpr||w===X._else||w===X.semi&&this.curContext()!==na.p_stat||w===X._return&&wa.test(this.input.slice(this.lastTokEnd,this.start))||(w===X.colon||w===X.braceL)&&this.curContext()===na.b_stat?this.context.push(na.f_stat):this.context.push(na.f_expr);this.exprAllowed=!1};X.backQuote.updateContext=function(){this.curContext()===na.q_tmpl?this.context.pop():this.context.push(na.q_tmpl);this.exprAllowed=!1};X.star.updateContext=function(w){w===X._function&&(w=
this.context.length-1,this.context[w]=this.context[w]===na.f_expr?na.f_expr_gen:na.f_gen);this.exprAllowed=!0};X.name.updateContext=function(w){var H=!1;6<=this.options.ecmaVersion&&w!==X.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(H=!0);this.exprAllowed=H};aa=Ha.prototype;aa.checkPropClash=function(w,H,Q){if(!(9<=this.options.ecmaVersion&&"SpreadElement"===w.type||6<=this.options.ecmaVersion&&(w.computed||w.method||w.shorthand))){var ca=w.key;switch(ca.type){case "Identifier":var ta=
ca.name;break;case "Literal":ta=String(ca.value);break;default:return}w=w.kind;6<=this.options.ecmaVersion?"__proto__"===ta&&"init"===w&&(H.proto&&(Q?0>Q.doubleProto&&(Q.doubleProto=ca.start):this.raiseRecoverable(ca.start,"Redefinition of __proto__ property")),H.proto=!0):(ta="$"+ta,(Q=H[ta])?("init"===w?this.strict&&Q.init||Q.get||Q.set:Q.init||Q[w])&&this.raiseRecoverable(ca.start,"Redefinition of property"):Q=H[ta]={init:!1,get:!1,set:!1},Q[w]=!0)}};aa.parseExpression=function(w,H){var Q=this.start,
ca=this.startLoc,ta=this.parseMaybeAssign(w,H);if(this.type===X.comma){Q=this.startNodeAt(Q,ca);for(Q.expressions=[ta];this.eat(X.comma);)Q.expressions.push(this.parseMaybeAssign(w,H));return this.finishNode(Q,"SequenceExpression")}return ta};aa.parseMaybeAssign=function(w,H,Q){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(w);this.exprAllowed=!1}var ca=!1,ta=-1,Ca=-1;H?(ta=H.parenthesizedAssign,Ca=H.trailingComma,H.parenthesizedAssign=H.trailingComma=-1):(H=new t,ca=!0);
var Ba=this.start,Ea=this.startLoc;if(this.type===X.parenL||this.type===X.name)this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===w;var Ua=this.parseMaybeConditional(w,H);Q&&(Ua=Q.call(this,Ua,Ba,Ea));if(this.type.isAssign)return Q=this.startNodeAt(Ba,Ea),Q.operator=this.value,this.type===X.eq&&(Ua=this.toAssignable(Ua,!1,H)),ca||(H.parenthesizedAssign=H.trailingComma=H.doubleProto=-1),H.shorthandAssign>=Ua.start&&(H.shorthandAssign=-1),this.type===X.eq?this.checkLValPattern(Ua):
this.checkLValSimple(Ua),Q.left=Ua,this.next(),Q.right=this.parseMaybeAssign(w),this.finishNode(Q,"AssignmentExpression");ca&&this.checkExpressionErrors(H,!0);-1<ta&&(H.parenthesizedAssign=ta);-1<Ca&&(H.trailingComma=Ca);return Ua};aa.parseMaybeConditional=function(w,H){var Q=this.start,ca=this.startLoc,ta=this.parseExprOps(w,H);return this.checkExpressionErrors(H)?ta:this.eat(X.question)?(H=this.startNodeAt(Q,ca),H.test=ta,H.consequent=this.parseMaybeAssign(),this.expect(X.colon),H.alternate=this.parseMaybeAssign(w),
this.finishNode(H,"ConditionalExpression")):ta};aa.parseExprOps=function(w,H){var Q=this.start,ca=this.startLoc,ta=this.parseMaybeUnary(H,!1,!1,w);return this.checkExpressionErrors(H)?ta:ta.start===Q&&"ArrowFunctionExpression"===ta.type?ta:this.parseExprOp(ta,Q,ca,-1,w)};aa.parseExprOp=function(w,H,Q,ca,ta){var Ca=this.type.binop;if(null!=Ca&&(!ta||this.type!==X._in)&&Ca>ca){var Ba=this.type===X.logicalOR||this.type===X.logicalAND,Ea=this.type===X.coalesce;Ea&&(Ca=X.logicalAND.binop);var Ua=this.value;
this.next();var Sa=this.start,Va=this.startLoc;Ca=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,ta),Sa,Va,Ca,ta);w=this.buildBinary(H,Q,w,Ca,Ua,Ba||Ea);(Ba&&this.type===X.coalesce||Ea&&(this.type===X.logicalOR||this.type===X.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses");return this.parseExprOp(w,H,Q,ca,ta)}return w};aa.buildBinary=function(w,H,Q,ca,ta,Ca){w=this.startNodeAt(w,H);w.left=Q;w.operator=ta;
w.right=ca;return this.finishNode(w,Ca?"LogicalExpression":"BinaryExpression")};aa.parseMaybeUnary=function(w,H,Q,ca){var ta=this.start,Ca=this.startLoc;if(this.isContextual("await")&&this.canAwait){var Ba=this.parseAwait(ca);H=!0}else if(this.type.prefix){Ba=this.startNode();var Ea=this.type===X.incDec;Ba.operator=this.value;Ba.prefix=!0;this.next();Ba.argument=this.parseMaybeUnary(null,!0,Ea,ca);this.checkExpressionErrors(w,!0);Ea?this.checkLValSimple(Ba.argument):this.strict&&"delete"===Ba.operator&&
"Identifier"===Ba.argument.type?this.raiseRecoverable(Ba.start,"Deleting local variable in strict mode"):"delete"===Ba.operator&&v(Ba.argument)?this.raiseRecoverable(Ba.start,"Private fields can not be deleted"):H=!0;Ba=this.finishNode(Ba,Ea?"UpdateExpression":"UnaryExpression")}else{Ba=this.parseExprSubscripts(w,ca);if(this.checkExpressionErrors(w))return Ba;for(;this.type.postfix&&!this.canInsertSemicolon();)w=this.startNodeAt(ta,Ca),w.operator=this.value,w.prefix=!1,w.argument=Ba,this.checkLValSimple(Ba),
this.next(),Ba=this.finishNode(w,"UpdateExpression")}if(!Q&&this.eat(X.starstar))if(H)this.unexpected(this.lastTokStart);else return this.buildBinary(ta,Ca,Ba,this.parseMaybeUnary(null,!1,!1,ca),"**",!1);else return Ba};aa.parseExprSubscripts=function(w,H){var Q=this.start,ca=this.startLoc,ta=this.parseExprAtom(w,H);if("ArrowFunctionExpression"===ta.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return ta;H=this.parseSubscripts(ta,Q,ca,!1,H);w&&"MemberExpression"===H.type&&(w.parenthesizedAssign>=
H.start&&(w.parenthesizedAssign=-1),w.parenthesizedBind>=H.start&&(w.parenthesizedBind=-1),w.trailingComma>=H.start&&(w.trailingComma=-1));return H};aa.parseSubscripts=function(w,H,Q,ca,ta){for(var Ca=8<=this.options.ecmaVersion&&"Identifier"===w.type&&"async"===w.name&&this.lastTokEnd===w.end&&!this.canInsertSemicolon()&&5===w.end-w.start&&this.potentialArrowAt===w.start,Ba=!1;;){var Ea=this.parseSubscript(w,H,Q,ca,Ca,Ba,ta);Ea.optional&&(Ba=!0);if(Ea===w||"ArrowFunctionExpression"===Ea.type)return Ba&&
(w=this.startNodeAt(H,Q),w.expression=Ea,Ea=this.finishNode(w,"ChainExpression")),Ea;w=Ea}};aa.parseSubscript=function(w,H,Q,ca,ta,Ca,Ba){var Ea=11<=this.options.ecmaVersion,Ua=Ea&&this.eat(X.questionDot);ca&&Ua&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var Sa=this.eat(X.bracketL);if(Sa||Ua&&this.type!==X.parenL&&this.type!==X.backQuote||this.eat(X.dot))H=this.startNodeAt(H,Q),H.object=w,Sa?(H.property=this.parseExpression(),this.expect(X.bracketR)):
H.property=this.type===X.privateId&&"Super"!==w.type?this.parsePrivateIdent():this.parseIdent("never"!==this.options.allowReserved),H.computed=!!Sa,Ea&&(H.optional=Ua),w=this.finishNode(H,"MemberExpression");else if(!ca&&this.eat(X.parenL)){ca=new t;Ca=this.yieldPos;var Va=this.awaitPos,cb=this.awaitIdentPos;this.awaitIdentPos=this.awaitPos=this.yieldPos=0;Sa=this.parseExprList(X.parenR,8<=this.options.ecmaVersion,!1,ca);if(ta&&!Ua&&!this.canInsertSemicolon()&&this.eat(X.arrow))return this.checkPatternErrors(ca,
!1),this.checkYieldAwaitInDefaultParams(),0<this.awaitIdentPos&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=Ca,this.awaitPos=Va,this.awaitIdentPos=cb,this.parseArrowExpression(this.startNodeAt(H,Q),Sa,!0,Ba);this.checkExpressionErrors(ca,!0);this.yieldPos=Ca||this.yieldPos;this.awaitPos=Va||this.awaitPos;this.awaitIdentPos=cb||this.awaitIdentPos;H=this.startNodeAt(H,Q);H.callee=w;H.arguments=Sa;Ea&&(H.optional=Ua);w=this.finishNode(H,"CallExpression")}else this.type===
X.backQuote&&((Ua||Ca)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions"),Ea=this.startNodeAt(H,Q),Ea.tag=w,Ea.quasi=this.parseTemplate({isTagged:!0}),w=this.finishNode(Ea,"TaggedTemplateExpression"));return w};aa.parseExprAtom=function(w,H){this.type===X.slash&&this.readRegexp();var Q=this.potentialArrowAt===this.start;switch(this.type){case X._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),H=this.startNode(),
this.next(),this.type!==X.parenL||this.allowDirectSuper||this.raise(H.start,"super() call outside constructor of a subclass"),this.type!==X.dot&&this.type!==X.bracketL&&this.type!==X.parenL&&this.unexpected(),this.finishNode(H,"Super");case X._this:return H=this.startNode(),this.next(),this.finishNode(H,"ThisExpression");case X.name:w=this.start;var ca=this.startLoc,ta=this.containsEsc,Ca=this.parseIdent(!1);if(8<=this.options.ecmaVersion&&!ta&&"async"===Ca.name&&!this.canInsertSemicolon()&&this.eat(X._function))return this.overrideContext(na.f_expr),
this.parseFunction(this.startNodeAt(w,ca),0,!1,!0,H);if(Q&&!this.canInsertSemicolon()){if(this.eat(X.arrow))return this.parseArrowExpression(this.startNodeAt(w,ca),[Ca],!1,H);if(8<=this.options.ecmaVersion&&"async"===Ca.name&&this.type===X.name&&!ta&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return Ca=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(X.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(w,ca),[Ca],!0,H)}return Ca;case X.regexp:return Q=
this.value,H=this.parseLiteral(Q.value),H.regex={pattern:Q.pattern,flags:Q.flags},H;case X.num:case X.string:return this.parseLiteral(this.value);case X._null:case X._true:case X._false:return H=this.startNode(),H.value=this.type===X._null?null:this.type===X._true,H.raw=this.type.keyword,this.next(),this.finishNode(H,"Literal");case X.parenL:return ca=this.start,H=this.parseParenAndDistinguishExpression(Q,H),w&&(0>w.parenthesizedAssign&&!this.isSimpleAssignTarget(H)&&(w.parenthesizedAssign=ca),0>
w.parenthesizedBind&&(w.parenthesizedBind=ca)),H;case X.bracketL:return H=this.startNode(),this.next(),H.elements=this.parseExprList(X.bracketR,!0,!0,w),this.finishNode(H,"ArrayExpression");case X.braceL:return this.overrideContext(na.b_expr),this.parseObj(!1,w);case X._function:return H=this.startNode(),this.next(),this.parseFunction(H,0);case X._class:return this.parseClass(this.startNode(),!1);case X._new:return this.parseNew();case X.backQuote:return this.parseTemplate();case X._import:return 11<=
this.options.ecmaVersion?this.parseExprImport():this.unexpected();default:this.unexpected()}};aa.parseExprImport=function(){var w=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var H=this.parseIdent(!0);switch(this.type){case X.parenL:return this.parseDynamicImport(w);case X.dot:return w.meta=H,this.parseImportMeta(w);default:this.unexpected()}};aa.parseDynamicImport=function(w){this.next();w.source=this.parseMaybeAssign();if(!this.eat(X.parenR)){var H=
this.start;this.eat(X.comma)&&this.eat(X.parenR)?this.raiseRecoverable(H,"Trailing comma is not allowed in import()"):this.unexpected(H)}return this.finishNode(w,"ImportExpression")};aa.parseImportMeta=function(w){this.next();var H=this.containsEsc;w.property=this.parseIdent(!0);"meta"!==w.property.name&&this.raiseRecoverable(w.property.start,"The only valid meta property for import is 'import.meta'");H&&this.raiseRecoverable(w.start,"'import.meta' must not contain escaped characters");"module"===
this.options.sourceType||this.options.allowImportExportEverywhere||this.raiseRecoverable(w.start,"Cannot use 'import.meta' outside a module");return this.finishNode(w,"MetaProperty")};aa.parseLiteral=function(w){var H=this.startNode();H.value=w;H.raw=this.input.slice(this.start,this.end);110===H.raw.charCodeAt(H.raw.length-1)&&(H.bigint=H.raw.slice(0,-1).replace(/_/g,""));this.next();return this.finishNode(H,"Literal")};aa.parseParenExpression=function(){this.expect(X.parenL);var w=this.parseExpression();
this.expect(X.parenR);return w};aa.parseParenAndDistinguishExpression=function(w,H){var Q=this.start,ca=this.startLoc,ta=8<=this.options.ecmaVersion;if(6<=this.options.ecmaVersion){this.next();var Ca=this.start,Ba=this.startLoc,Ea=[],Ua=!0,Sa=!1,Va=new t,cb=this.yieldPos,gb=this.awaitPos;for(this.awaitPos=this.yieldPos=0;this.type!==X.parenR;)if(Ua?Ua=!1:this.expect(X.comma),ta&&this.afterTrailingComma(X.parenR,!0)){Sa=!0;break}else if(this.type===X.ellipsis){var lb=this.start;Ea.push(this.parseParenItem(this.parseRestBinding()));
this.type===X.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else Ea.push(this.parseMaybeAssign(!1,Va,this.parseParenItem));ta=this.lastTokEnd;Ua=this.lastTokEndLoc;this.expect(X.parenR);if(w&&!this.canInsertSemicolon()&&this.eat(X.arrow))return this.checkPatternErrors(Va,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=cb,this.awaitPos=gb,this.parseParenArrowList(Q,ca,Ea,H);Ea.length&&!Sa||this.unexpected(this.lastTokStart);lb&&this.unexpected(lb);this.checkExpressionErrors(Va,
!0);this.yieldPos=cb||this.yieldPos;this.awaitPos=gb||this.awaitPos;1<Ea.length?(w=this.startNodeAt(Ca,Ba),w.expressions=Ea,this.finishNodeAt(w,"SequenceExpression",ta,Ua)):w=Ea[0]}else w=this.parseParenExpression();return this.options.preserveParens?(Q=this.startNodeAt(Q,ca),Q.expression=w,this.finishNode(Q,"ParenthesizedExpression")):w};aa.parseParenItem=function(w){return w};aa.parseParenArrowList=function(w,H,Q,ca){return this.parseArrowExpression(this.startNodeAt(w,H),Q,ca)};var ja=[];aa.parseNew=
function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var w=this.startNode(),H=this.parseIdent(!0);if(6<=this.options.ecmaVersion&&this.eat(X.dot))return w.meta=H,H=this.containsEsc,w.property=this.parseIdent(!0),"target"!==w.property.name&&this.raiseRecoverable(w.property.start,"The only valid meta property for new is 'new.target'"),H&&this.raiseRecoverable(w.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(w.start,
"'new.target' can only be used in functions and class static block"),this.finishNode(w,"MetaProperty");H=this.start;var Q=this.startLoc,ca=this.type===X._import;w.callee=this.parseSubscripts(this.parseExprAtom(),H,Q,!0,!1);ca&&"ImportExpression"===w.callee.type&&this.raise(H,"Cannot use new with import()");this.eat(X.parenL)?w.arguments=this.parseExprList(X.parenR,8<=this.options.ecmaVersion,!1):w.arguments=ja;return this.finishNode(w,"NewExpression")};aa.parseTemplateElement=function(w){w=w.isTagged;
var H=this.startNode();this.type===X.invalidTemplate?(w||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),H.value={raw:this.value,cooked:null}):H.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value};this.next();H.tail=this.type===X.backQuote;return this.finishNode(H,"TemplateElement")};aa.parseTemplate=function(w){void 0===w&&(w={});w=w.isTagged;void 0===w&&(w=!1);var H=this.startNode();this.next();H.expressions=[];var Q=this.parseTemplateElement({isTagged:w});
for(H.quasis=[Q];!Q.tail;)this.type===X.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(X.dollarBraceL),H.expressions.push(this.parseExpression()),this.expect(X.braceR),H.quasis.push(Q=this.parseTemplateElement({isTagged:w}));this.next();return this.finishNode(H,"TemplateLiteral")};aa.isAsyncProp=function(w){return!w.computed&&"Identifier"===w.key.type&&"async"===w.key.name&&(this.type===X.name||this.type===X.num||this.type===X.string||this.type===X.bracketL||this.type.keyword||
9<=this.options.ecmaVersion&&this.type===X.star)&&!wa.test(this.input.slice(this.lastTokEnd,this.start))};aa.parseObj=function(w,H){var Q=this.startNode(),ca=!0,ta={};Q.properties=[];for(this.next();!this.eat(X.braceR);){if(ca)ca=!1;else if(this.expect(X.comma),5<=this.options.ecmaVersion&&this.afterTrailingComma(X.braceR))break;var Ca=this.parseProperty(w,H);w||this.checkPropClash(Ca,ta,H);Q.properties.push(Ca)}return this.finishNode(Q,w?"ObjectPattern":"ObjectExpression")};aa.parseProperty=function(w,
H){var Q=this.startNode(),ca;if(9<=this.options.ecmaVersion&&this.eat(X.ellipsis)){if(w)return Q.argument=this.parseIdent(!1),this.type===X.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(Q,"RestElement");this.type===X.parenL&&H&&(0>H.parenthesizedAssign&&(H.parenthesizedAssign=this.start),0>H.parenthesizedBind&&(H.parenthesizedBind=this.start));Q.argument=this.parseMaybeAssign(!1,H);this.type===X.comma&&H&&0>H.trailingComma&&(H.trailingComma=this.start);
return this.finishNode(Q,"SpreadElement")}if(6<=this.options.ecmaVersion){Q.method=!1;Q.shorthand=!1;if(w||H){var ta=this.start;var Ca=this.startLoc}w||(ca=this.eat(X.star))}var Ba=this.containsEsc;this.parsePropertyName(Q);if(!w&&!Ba&&8<=this.options.ecmaVersion&&!ca&&this.isAsyncProp(Q)){var Ea=!0;ca=9<=this.options.ecmaVersion&&this.eat(X.star);this.parsePropertyName(Q,H)}else Ea=!1;this.parsePropertyValue(Q,w,ca,Ea,ta,Ca,H,Ba);return this.finishNode(Q,"Property")};aa.parsePropertyValue=function(w,
H,Q,ca,ta,Ca,Ba,Ea){(Q||ca)&&this.type===X.colon&&this.unexpected();this.eat(X.colon)?(w.value=H?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,Ba),w.kind="init"):6<=this.options.ecmaVersion&&this.type===X.parenL?(H&&this.unexpected(),w.kind="init",w.method=!0,w.value=this.parseMethod(Q,ca)):H||Ea||!(5<=this.options.ecmaVersion)||w.computed||"Identifier"!==w.key.type||"get"!==w.key.name&&"set"!==w.key.name||this.type===X.comma||this.type===X.braceR||this.type===X.eq?6<=
this.options.ecmaVersion&&!w.computed&&"Identifier"===w.key.type?((Q||ca)&&this.unexpected(),this.checkUnreserved(w.key),"await"!==w.key.name||this.awaitIdentPos||(this.awaitIdentPos=ta),w.kind="init",H?w.value=this.parseMaybeDefault(ta,Ca,this.copyNode(w.key)):this.type===X.eq&&Ba?(0>Ba.shorthandAssign&&(Ba.shorthandAssign=this.start),w.value=this.parseMaybeDefault(ta,Ca,this.copyNode(w.key))):w.value=this.copyNode(w.key),w.shorthand=!0):this.unexpected():((Q||ca)&&this.unexpected(),w.kind=w.key.name,
this.parsePropertyName(w),w.value=this.parseMethod(!1),w.value.params.length!==("get"===w.kind?0:1)?(H=w.value.start,"get"===w.kind?this.raiseRecoverable(H,"getter should have no params"):this.raiseRecoverable(H,"setter should have exactly one param")):"set"===w.kind&&"RestElement"===w.value.params[0].type&&this.raiseRecoverable(w.value.params[0].start,"Setter cannot use rest params"))};aa.parsePropertyName=function(w){if(6<=this.options.ecmaVersion){if(this.eat(X.bracketL))return w.computed=!0,w.key=
this.parseMaybeAssign(),this.expect(X.bracketR),w.key;w.computed=!1}return w.key=this.type===X.num||this.type===X.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)};aa.initFunction=function(w){w.id=null;6<=this.options.ecmaVersion&&(w.generator=w.expression=!1);8<=this.options.ecmaVersion&&(w.async=!1)};aa.parseMethod=function(w,H,Q){var ca=this.startNode(),ta=this.yieldPos,Ca=this.awaitPos,Ba=this.awaitIdentPos;this.initFunction(ca);6<=this.options.ecmaVersion&&(ca.generator=
w);8<=this.options.ecmaVersion&&(ca.async=!!H);this.awaitIdentPos=this.awaitPos=this.yieldPos=0;this.enterScope(2|(H?4:0)|(ca.generator?8:0)|64|(Q?128:0));this.expect(X.parenL);ca.params=this.parseBindingList(X.parenR,!1,8<=this.options.ecmaVersion);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(ca,!1,!0,!1);this.yieldPos=ta;this.awaitPos=Ca;this.awaitIdentPos=Ba;return this.finishNode(ca,"FunctionExpression")};aa.parseArrowExpression=function(w,H,Q,ca){var ta=this.yieldPos,Ca=this.awaitPos,
Ba=this.awaitIdentPos;this.enterScope((Q?4:0)|18);this.initFunction(w);8<=this.options.ecmaVersion&&(w.async=!!Q);this.awaitIdentPos=this.awaitPos=this.yieldPos=0;w.params=this.toAssignableList(H,!0);this.parseFunctionBody(w,!0,!1,ca);this.yieldPos=ta;this.awaitPos=Ca;this.awaitIdentPos=Ba;return this.finishNode(w,"ArrowFunctionExpression")};aa.parseFunctionBody=function(w,H,Q,ca){var ta=this.strict,Ca=!1;H&&this.type!==X.braceL?(w.body=this.parseMaybeAssign(ca),w.expression=!0,this.checkParams(w,
!1)):(ca=7<=this.options.ecmaVersion&&!this.isSimpleParamList(w.params),(!ta||ca)&&(Ca=this.strictDirective(this.end))&&ca&&this.raiseRecoverable(w.start,"Illegal 'use strict' directive in function with non-simple parameter list"),ca=this.labels,this.labels=[],Ca&&(this.strict=!0),this.checkParams(w,!ta&&!Ca&&!H&&!Q&&this.isSimpleParamList(w.params)),this.strict&&w.id&&this.checkLValSimple(w.id,5),w.body=this.parseBlock(!1,void 0,Ca&&!ta),w.expression=!1,this.adaptDirectivePrologue(w.body.body),this.labels=
ca);this.exitScope()};aa.isSimpleParamList=function(w){for(var H=0;H<w.length;H+=1)if("Identifier"!==w[H].type)return!1;return!0};aa.checkParams=function(w,H){var Q=Object.create(null),ca=0;for(w=w.params;ca<w.length;ca+=1)this.checkLValInnerPattern(w[ca],1,H?null:Q)};aa.parseExprList=function(w,H,Q,ca){for(var ta=[],Ca=!0;!this.eat(w);){if(Ca)Ca=!1;else if(this.expect(X.comma),H&&this.afterTrailingComma(w))break;if(Q&&this.type===X.comma)var Ba=null;else this.type===X.ellipsis?(Ba=this.parseSpread(ca),
ca&&this.type===X.comma&&0>ca.trailingComma&&(ca.trailingComma=this.start)):Ba=this.parseMaybeAssign(!1,ca);ta.push(Ba)}return ta};aa.checkUnreserved=function(w){var H=w.start,Q=w.end;w=w.name;this.inGenerator&&"yield"===w&&this.raiseRecoverable(H,"Cannot use 'yield' as identifier inside a generator");this.inAsync&&"await"===w&&this.raiseRecoverable(H,"Cannot use 'await' as identifier inside an async function");this.currentThisScope().inClassFieldInit&&"arguments"===w&&this.raiseRecoverable(H,"Cannot use 'arguments' in class field initializer");
!this.inClassStaticBlock||"arguments"!==w&&"await"!==w||this.raise(H,"Cannot use "+w+" in class static initialization block");this.keywords.test(w)&&this.raise(H,"Unexpected keyword '"+w+"'");6>this.options.ecmaVersion&&-1!==this.input.slice(H,Q).indexOf("\\")||!(this.strict?this.reservedWordsStrict:this.reservedWords).test(w)||(this.inAsync||"await"!==w||this.raiseRecoverable(H,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(H,"The keyword '"+w+"' is reserved"))};aa.parseIdent=
function(w,H){H=this.startNode();this.type===X.name?H.name=this.value:this.type.keyword?(H.name=this.type.keyword,"class"!==H.name&&"function"!==H.name||this.lastTokEnd===this.lastTokStart+1&&46===this.input.charCodeAt(this.lastTokStart)||this.context.pop()):this.unexpected();this.next(!!w);this.finishNode(H,"Identifier");w||(this.checkUnreserved(H),"await"!==H.name||this.awaitIdentPos||(this.awaitIdentPos=H.start));return H};aa.parsePrivateIdent=function(){var w=this.startNode();this.type===X.privateId?
w.name=this.value:this.unexpected();this.next();this.finishNode(w,"PrivateIdentifier");0===this.privateNameStack.length?this.raise(w.start,"Private field '#"+w.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(w);return w};aa.parseYield=function(w){this.yieldPos||(this.yieldPos=this.start);var H=this.startNode();this.next();this.type===X.semi||this.canInsertSemicolon()||this.type!==X.star&&!this.type.startsExpr?(H.delegate=!1,H.argument=
null):(H.delegate=this.eat(X.star),H.argument=this.parseMaybeAssign(w));return this.finishNode(H,"YieldExpression")};aa.parseAwait=function(w){this.awaitPos||(this.awaitPos=this.start);var H=this.startNode();this.next();H.argument=this.parseMaybeUnary(null,!0,!1,w);return this.finishNode(H,"AwaitExpression")};aa=Ha.prototype;aa.raise=function(w,H){var Q=n(this.input,w);H+=" ("+Q.line+":"+Q.column+")";H=new SyntaxError(H);H.pos=w;H.loc=Q;H.raisedAt=this.pos;throw H;};aa.raiseRecoverable=aa.raise;aa.curPosition=
function(){if(this.options.locations)return new S(this.curLine,this.pos-this.lineStart)};aa=Ha.prototype;var T=function(w){this.flags=w;this.var=[];this.lexical=[];this.functions=[];this.inClassFieldInit=!1};aa.enterScope=function(w){this.scopeStack.push(new T(w))};aa.exitScope=function(){this.scopeStack.pop()};aa.treatFunctionsAsVarInScope=function(w){return w.flags&2||!this.inModule&&w.flags&1};aa.declareName=function(w,H,Q){var ca=!1;if(2===H)H=this.currentScope(),ca=-1<H.lexical.indexOf(w)||-1<
H.functions.indexOf(w)||-1<H.var.indexOf(w),H.lexical.push(w),this.inModule&&H.flags&1&&delete this.undefinedExports[w];else if(4===H)this.currentScope().lexical.push(w);else if(3===H)H=this.currentScope(),ca=this.treatFunctionsAsVar?-1<H.lexical.indexOf(w):-1<H.lexical.indexOf(w)||-1<H.var.indexOf(w),H.functions.push(w);else for(H=this.scopeStack.length-1;0<=H;--H){var ta=this.scopeStack[H];if(-1<ta.lexical.indexOf(w)&&!(ta.flags&32&&ta.lexical[0]===w)||!this.treatFunctionsAsVarInScope(ta)&&-1<ta.functions.indexOf(w)){ca=
!0;break}ta.var.push(w);this.inModule&&ta.flags&1&&delete this.undefinedExports[w];if(ta.flags&259)break}ca&&this.raiseRecoverable(Q,"Identifier '"+w+"' has already been declared")};aa.checkLocalExport=function(w){-1===this.scopeStack[0].lexical.indexOf(w.name)&&-1===this.scopeStack[0].var.indexOf(w.name)&&(this.undefinedExports[w.name]=w)};aa.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};aa.currentVarScope=function(){for(var w=this.scopeStack.length-1;;w--){var H=this.scopeStack[w];
if(H.flags&259)return H}};aa.currentThisScope=function(){for(var w=this.scopeStack.length-1;;w--){var H=this.scopeStack[w];if(H.flags&259&&!(H.flags&16))return H}};var da=function(w,H,Q){this.type="";this.start=H;this.end=0;w.options.locations&&(this.loc=new ma(w,Q));w.options.directSourceFile&&(this.sourceFile=w.options.directSourceFile);w.options.ranges&&(this.range=[H,0])};aa=Ha.prototype;aa.startNode=function(){return new da(this,this.start,this.startLoc)};aa.startNodeAt=function(w,H){return new da(this,
w,H)};aa.finishNode=function(w,H){return z.call(this,w,H,this.lastTokEnd,this.lastTokEndLoc)};aa.finishNodeAt=function(w,H,Q,ca){return z.call(this,w,H,Q,ca)};aa.copyNode=function(w){var H=new da(this,w.start,this.startLoc),Q;for(Q in w)H[Q]=w[Q];return H};var oa={9:"ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",
10:"ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS Extended_Pictographic",
11:"ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS Extended_Pictographic",
12:"ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS Extended_Pictographic EBase EComp EMod EPres ExtPict"},
V={9:"Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",
10:"Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",
11:"Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",
12:"Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi"},
ha={};E(9);E(10);E(11);E(12);aa=Ha.prototype;var la=function(w){this.parser=w;this.validFlags="gim"+(6<=w.options.ecmaVersion?"uy":"")+(9<=w.options.ecmaVersion?"s":"")+(13<=w.options.ecmaVersion?"d":"");this.unicodeProperties=ha[12<=w.options.ecmaVersion?12:w.options.ecmaVersion];this.flags=this.source="";this.start=0;this.switchN=this.switchU=!1;this.lastIntValue=this.pos=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=!1;this.maxBackReference=this.numCapturingParens=0;this.groupNames=
[];this.backReferenceNames=[]};la.prototype.reset=function(w,H,Q){var ca=-1!==Q.indexOf("u");this.start=w|0;this.source=H+"";this.flags=Q;this.switchU=ca&&6<=this.parser.options.ecmaVersion;this.switchN=ca&&9<=this.parser.options.ecmaVersion};la.prototype.raise=function(w){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+w)};la.prototype.at=function(w,H){void 0===H&&(H=!1);var Q=this.source,ca=Q.length;if(w>=ca)return-1;var ta=Q.charCodeAt(w);if(!H&&!this.switchU||
55295>=ta||57344<=ta||w+1>=ca)return ta;w=Q.charCodeAt(w+1);return 56320<=w&&57343>=w?(ta<<10)+w-56613888:ta};la.prototype.nextIndex=function(w,H){void 0===H&&(H=!1);var Q=this.source,ca=Q.length;if(w>=ca)return ca;var ta=Q.charCodeAt(w),Ca;return!H&&!this.switchU||55295>=ta||57344<=ta||w+1>=ca||56320>(Ca=Q.charCodeAt(w+1))||57343<Ca?w+1:w+2};la.prototype.current=function(w){void 0===w&&(w=!1);return this.at(this.pos,w)};la.prototype.lookahead=function(w){void 0===w&&(w=!1);return this.at(this.nextIndex(this.pos,
w),w)};la.prototype.advance=function(w){void 0===w&&(w=!1);this.pos=this.nextIndex(this.pos,w)};la.prototype.eat=function(w,H){void 0===H&&(H=!1);return this.current(H)===w?(this.advance(H),!0):!1};aa.validateRegExpFlags=function(w){for(var H=w.validFlags,Q=w.flags,ca=0;ca<Q.length;ca++){var ta=Q.charAt(ca);-1===H.indexOf(ta)&&this.raise(w.start,"Invalid regular expression flag");-1<Q.indexOf(ta,ca+1)&&this.raise(w.start,"Duplicate regular expression flag")}};aa.validateRegExpPattern=function(w){this.regexp_pattern(w);
!w.switchN&&9<=this.options.ecmaVersion&&0<w.groupNames.length&&(w.switchN=!0,this.regexp_pattern(w))};aa.regexp_pattern=function(w){w.pos=0;w.lastIntValue=0;w.lastStringValue="";w.lastAssertionIsQuantifiable=!1;w.numCapturingParens=0;w.maxBackReference=0;w.groupNames.length=0;w.backReferenceNames.length=0;this.regexp_disjunction(w);w.pos!==w.source.length&&(w.eat(41)&&w.raise("Unmatched ')'"),(w.eat(93)||w.eat(125))&&w.raise("Lone quantifier brackets"));w.maxBackReference>w.numCapturingParens&&w.raise("Invalid escape");
for(var H=0,Q=w.backReferenceNames;H<Q.length;H+=1)-1===w.groupNames.indexOf(Q[H])&&w.raise("Invalid named capture referenced")};aa.regexp_disjunction=function(w){for(this.regexp_alternative(w);w.eat(124);)this.regexp_alternative(w);this.regexp_eatQuantifier(w,!0)&&w.raise("Nothing to repeat");w.eat(123)&&w.raise("Lone quantifier brackets")};aa.regexp_alternative=function(w){for(;w.pos<w.source.length&&this.regexp_eatTerm(w););};aa.regexp_eatTerm=function(w){return this.regexp_eatAssertion(w)?(w.lastAssertionIsQuantifiable&&
this.regexp_eatQuantifier(w)&&w.switchU&&w.raise("Invalid quantifier"),!0):(w.switchU?this.regexp_eatAtom(w):this.regexp_eatExtendedAtom(w))?(this.regexp_eatQuantifier(w),!0):!1};aa.regexp_eatAssertion=function(w){var H=w.pos;w.lastAssertionIsQuantifiable=!1;if(w.eat(94)||w.eat(36))return!0;if(w.eat(92)){if(w.eat(66)||w.eat(98))return!0;w.pos=H}if(w.eat(40)&&w.eat(63)){var Q=!1;9<=this.options.ecmaVersion&&(Q=w.eat(60));if(w.eat(61)||w.eat(33))return this.regexp_disjunction(w),w.eat(41)||w.raise("Unterminated group"),
w.lastAssertionIsQuantifiable=!Q,!0}w.pos=H;return!1};aa.regexp_eatQuantifier=function(w,H){void 0===H&&(H=!1);return this.regexp_eatQuantifierPrefix(w,H)?(w.eat(63),!0):!1};aa.regexp_eatQuantifierPrefix=function(w,H){return w.eat(42)||w.eat(43)||w.eat(63)||this.regexp_eatBracedQuantifier(w,H)};aa.regexp_eatBracedQuantifier=function(w,H){var Q=w.pos;if(w.eat(123)){var ca=-1;if(this.regexp_eatDecimalDigits(w)){var ta=w.lastIntValue;w.eat(44)&&this.regexp_eatDecimalDigits(w)&&(ca=w.lastIntValue);if(w.eat(125))return-1!==
ca&&ca<ta&&!H&&w.raise("numbers out of order in {} quantifier"),!0}w.switchU&&!H&&w.raise("Incomplete quantifier");w.pos=Q}return!1};aa.regexp_eatAtom=function(w){return this.regexp_eatPatternCharacters(w)||w.eat(46)||this.regexp_eatReverseSolidusAtomEscape(w)||this.regexp_eatCharacterClass(w)||this.regexp_eatUncapturingGroup(w)||this.regexp_eatCapturingGroup(w)};aa.regexp_eatReverseSolidusAtomEscape=function(w){var H=w.pos;if(w.eat(92)){if(this.regexp_eatAtomEscape(w))return!0;w.pos=H}return!1};
aa.regexp_eatUncapturingGroup=function(w){var H=w.pos;if(w.eat(40)){if(w.eat(63)&&w.eat(58)){this.regexp_disjunction(w);if(w.eat(41))return!0;w.raise("Unterminated group")}w.pos=H}return!1};aa.regexp_eatCapturingGroup=function(w){if(w.eat(40)){9<=this.options.ecmaVersion?this.regexp_groupSpecifier(w):63===w.current()&&w.raise("Invalid group");this.regexp_disjunction(w);if(w.eat(41))return w.numCapturingParens+=1,!0;w.raise("Unterminated group")}return!1};aa.regexp_eatExtendedAtom=function(w){return w.eat(46)||
this.regexp_eatReverseSolidusAtomEscape(w)||this.regexp_eatCharacterClass(w)||this.regexp_eatUncapturingGroup(w)||this.regexp_eatCapturingGroup(w)||this.regexp_eatInvalidBracedQuantifier(w)||this.regexp_eatExtendedPatternCharacter(w)};aa.regexp_eatInvalidBracedQuantifier=function(w){this.regexp_eatBracedQuantifier(w,!0)&&w.raise("Nothing to repeat");return!1};aa.regexp_eatSyntaxCharacter=function(w){var H=w.current();return D(H)?(w.lastIntValue=H,w.advance(),!0):!1};aa.regexp_eatPatternCharacters=
function(w){for(var H=w.pos,Q=0;-1!==(Q=w.current())&&!D(Q);)w.advance();return w.pos!==H};aa.regexp_eatExtendedPatternCharacter=function(w){var H=w.current();return-1===H||36===H||40<=H&&43>=H||46===H||63===H||91===H||94===H||124===H?!1:(w.advance(),!0)};aa.regexp_groupSpecifier=function(w){w.eat(63)&&(this.regexp_eatGroupName(w)?(-1!==w.groupNames.indexOf(w.lastStringValue)&&w.raise("Duplicate capture group name"),w.groupNames.push(w.lastStringValue)):w.raise("Invalid group"))};aa.regexp_eatGroupName=
function(w){w.lastStringValue="";if(w.eat(60)){if(this.regexp_eatRegExpIdentifierName(w)&&w.eat(62))return!0;w.raise("Invalid capture group name")}return!1};aa.regexp_eatRegExpIdentifierName=function(w){w.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(w)){for(w.lastStringValue+=A(w.lastIntValue);this.regexp_eatRegExpIdentifierPart(w);)w.lastStringValue+=A(w.lastIntValue);return!0}return!1};aa.regexp_eatRegExpIdentifierStart=function(w){var H=w.pos,Q=11<=this.options.ecmaVersion,ca=w.current(Q);
w.advance(Q);92===ca&&this.regexp_eatRegExpUnicodeEscapeSequence(w,Q)&&(ca=w.lastIntValue);Q=ca;if(h(Q,!0)||36===Q||95===Q)return w.lastIntValue=ca,!0;w.pos=H;return!1};aa.regexp_eatRegExpIdentifierPart=function(w){var H=w.pos,Q=11<=this.options.ecmaVersion,ca=w.current(Q);w.advance(Q);92===ca&&this.regexp_eatRegExpUnicodeEscapeSequence(w,Q)&&(ca=w.lastIntValue);Q=ca;if(k(Q,!0)||36===Q||95===Q||8204===Q||8205===Q)return w.lastIntValue=ca,!0;w.pos=H;return!1};aa.regexp_eatAtomEscape=function(w){if(this.regexp_eatBackReference(w)||
this.regexp_eatCharacterClassEscape(w)||this.regexp_eatCharacterEscape(w)||w.switchN&&this.regexp_eatKGroupName(w))return!0;w.switchU&&(99===w.current()&&w.raise("Invalid unicode escape"),w.raise("Invalid escape"));return!1};aa.regexp_eatBackReference=function(w){var H=w.pos;if(this.regexp_eatDecimalEscape(w)){var Q=w.lastIntValue;if(w.switchU)return Q>w.maxBackReference&&(w.maxBackReference=Q),!0;if(Q<=w.numCapturingParens)return!0;w.pos=H}return!1};aa.regexp_eatKGroupName=function(w){if(w.eat(107)){if(this.regexp_eatGroupName(w))return w.backReferenceNames.push(w.lastStringValue),
!0;w.raise("Invalid named reference")}return!1};aa.regexp_eatCharacterEscape=function(w){return this.regexp_eatControlEscape(w)||this.regexp_eatCControlLetter(w)||this.regexp_eatZero(w)||this.regexp_eatHexEscapeSequence(w)||this.regexp_eatRegExpUnicodeEscapeSequence(w,!1)||!w.switchU&&this.regexp_eatLegacyOctalEscapeSequence(w)||this.regexp_eatIdentityEscape(w)};aa.regexp_eatCControlLetter=function(w){var H=w.pos;if(w.eat(99)){if(this.regexp_eatControlLetter(w))return!0;w.pos=H}return!1};aa.regexp_eatZero=
function(w){return 48!==w.current()||B(w.lookahead())?!1:(w.lastIntValue=0,w.advance(),!0)};aa.regexp_eatControlEscape=function(w){var H=w.current();return 116===H?(w.lastIntValue=9,w.advance(),!0):110===H?(w.lastIntValue=10,w.advance(),!0):118===H?(w.lastIntValue=11,w.advance(),!0):102===H?(w.lastIntValue=12,w.advance(),!0):114===H?(w.lastIntValue=13,w.advance(),!0):!1};aa.regexp_eatControlLetter=function(w){var H=w.current();return 65<=H&&90>=H||97<=H&&122>=H?(w.lastIntValue=H%32,w.advance(),!0):
!1};aa.regexp_eatRegExpUnicodeEscapeSequence=function(w,H){void 0===H&&(H=!1);var Q=w.pos;H=H||w.switchU;if(w.eat(117)){if(this.regexp_eatFixedHexDigits(w,4)){Q=w.lastIntValue;if(H&&55296<=Q&&56319>=Q){H=w.pos;if(w.eat(92)&&w.eat(117)&&this.regexp_eatFixedHexDigits(w,4)){var ca=w.lastIntValue;if(56320<=ca&&57343>=ca)return w.lastIntValue=1024*(Q-55296)+(ca-56320)+65536,!0}w.pos=H;w.lastIntValue=Q}return!0}if(ca=H&&w.eat(123)&&this.regexp_eatHexDigits(w)&&w.eat(125))ca=w.lastIntValue,ca=0<=ca&&1114111>=
ca;if(ca)return!0;H&&w.raise("Invalid unicode escape");w.pos=Q}return!1};aa.regexp_eatIdentityEscape=function(w){if(w.switchU)return this.regexp_eatSyntaxCharacter(w)?!0:w.eat(47)?(w.lastIntValue=47,!0):!1;var H=w.current();return 99===H||w.switchN&&107===H?!1:(w.lastIntValue=H,w.advance(),!0)};aa.regexp_eatDecimalEscape=function(w){w.lastIntValue=0;var H=w.current();if(49<=H&&57>=H){do w.lastIntValue=10*w.lastIntValue+(H-48),w.advance();while(48<=(H=w.current())&&57>=H);return!0}return!1};aa.regexp_eatCharacterClassEscape=
function(w){var H=w.current();if(100===H||68===H||115===H||83===H||119===H||87===H)return w.lastIntValue=-1,w.advance(),!0;if(w.switchU&&9<=this.options.ecmaVersion&&(80===H||112===H)){w.lastIntValue=-1;w.advance();if(w.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(w)&&w.eat(125))return!0;w.raise("Invalid property name")}return!1};aa.regexp_eatUnicodePropertyValueExpression=function(w){var H=w.pos;if(this.regexp_eatUnicodePropertyName(w)&&w.eat(61)){var Q=w.lastStringValue;if(this.regexp_eatUnicodePropertyValue(w))return this.regexp_validateUnicodePropertyNameAndValue(w,
Q,w.lastStringValue),!0}w.pos=H;return this.regexp_eatLoneUnicodePropertyNameOrValue(w)?(this.regexp_validateUnicodePropertyNameOrValue(w,w.lastStringValue),!0):!1};aa.regexp_validateUnicodePropertyNameAndValue=function(w,H,Q){va.call(w.unicodeProperties.nonBinary,H)||w.raise("Invalid property name");w.unicodeProperties.nonBinary[H].test(Q)||w.raise("Invalid property value")};aa.regexp_validateUnicodePropertyNameOrValue=function(w,H){w.unicodeProperties.binary.test(H)||w.raise("Invalid property name")};
aa.regexp_eatUnicodePropertyName=function(w){var H;for(w.lastStringValue="";F(H=w.current());)w.lastStringValue+=A(H),w.advance();return""!==w.lastStringValue};aa.regexp_eatUnicodePropertyValue=function(w){var H;for(w.lastStringValue="";C(H=w.current());)w.lastStringValue+=A(H),w.advance();return""!==w.lastStringValue};aa.regexp_eatLoneUnicodePropertyNameOrValue=function(w){return this.regexp_eatUnicodePropertyValue(w)};aa.regexp_eatCharacterClass=function(w){if(w.eat(91)){w.eat(94);this.regexp_classRanges(w);
if(w.eat(93))return!0;w.raise("Unterminated character class")}return!1};aa.regexp_classRanges=function(w){for(;this.regexp_eatClassAtom(w);){var H=w.lastIntValue;if(w.eat(45)&&this.regexp_eatClassAtom(w)){var Q=w.lastIntValue;!w.switchU||-1!==H&&-1!==Q||w.raise("Invalid character class");-1!==H&&-1!==Q&&H>Q&&w.raise("Range out of order in character class")}}};aa.regexp_eatClassAtom=function(w){var H=w.pos;if(w.eat(92)){if(this.regexp_eatClassEscape(w))return!0;if(w.switchU){var Q=w.current();(99===
Q||48<=Q&&55>=Q)&&w.raise("Invalid class escape");w.raise("Invalid escape")}w.pos=H}H=w.current();return 93!==H?(w.lastIntValue=H,w.advance(),!0):!1};aa.regexp_eatClassEscape=function(w){var H=w.pos;if(w.eat(98))return w.lastIntValue=8,!0;if(w.switchU&&w.eat(45))return w.lastIntValue=45,!0;if(!w.switchU&&w.eat(99)){if(this.regexp_eatClassControlLetter(w))return!0;w.pos=H}return this.regexp_eatCharacterClassEscape(w)||this.regexp_eatCharacterEscape(w)};aa.regexp_eatClassControlLetter=function(w){var H=
w.current();return B(H)||95===H?(w.lastIntValue=H%32,w.advance(),!0):!1};aa.regexp_eatHexEscapeSequence=function(w){var H=w.pos;if(w.eat(120)){if(this.regexp_eatFixedHexDigits(w,2))return!0;w.switchU&&w.raise("Invalid escape");w.pos=H}return!1};aa.regexp_eatDecimalDigits=function(w){var H=w.pos,Q;for(w.lastIntValue=0;B(Q=w.current());)w.lastIntValue=10*w.lastIntValue+(Q-48),w.advance();return w.pos!==H};aa.regexp_eatHexDigits=function(w){var H=w.pos,Q;for(w.lastIntValue=0;I(Q=w.current());)w.lastIntValue=
16*w.lastIntValue+J(Q),w.advance();return w.pos!==H};aa.regexp_eatLegacyOctalEscapeSequence=function(w){if(this.regexp_eatOctalDigit(w)){var H=w.lastIntValue;if(this.regexp_eatOctalDigit(w)){var Q=w.lastIntValue;3>=H&&this.regexp_eatOctalDigit(w)?w.lastIntValue=64*H+8*Q+w.lastIntValue:w.lastIntValue=8*H+Q}else w.lastIntValue=H;return!0}return!1};aa.regexp_eatOctalDigit=function(w){var H=w.current();if(48<=H&&55>=H)return w.lastIntValue=H-48,w.advance(),!0;w.lastIntValue=0;return!1};aa.regexp_eatFixedHexDigits=
function(w,H){for(var Q=w.pos,ca=w.lastIntValue=0;ca<H;++ca){var ta=w.current();if(!I(ta))return w.pos=Q,!1;w.lastIntValue=16*w.lastIntValue+J(ta);w.advance()}return!0};var ua=function(w){this.type=w.type;this.value=w.value;this.start=w.start;this.end=w.end;w.options.locations&&(this.loc=new ma(w,w.startLoc,w.endLoc));w.options.ranges&&(this.range=[w.start,w.end])};aa=Ha.prototype;aa.next=function(w){!w&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+
this.type.keyword);if(this.options.onToken)this.options.onToken(new ua(this));this.lastTokEnd=this.end;this.lastTokStart=this.start;this.lastTokEndLoc=this.endLoc;this.lastTokStartLoc=this.startLoc;this.nextToken()};aa.getToken=function(){this.next();return new ua(this)};"undefined"!==typeof Symbol&&(aa[Symbol.iterator]=function(){var w=this;return{next:function(){var H=w.getToken();return{done:H.type===X.eof,value:H}}}});aa.nextToken=function(){var w=this.curContext();w&&w.preserveSpace||this.skipSpace();
this.start=this.pos;this.options.locations&&(this.startLoc=this.curPosition());if(this.pos>=this.input.length)return this.finishToken(X.eof);if(w.override)return w.override(this);this.readToken(this.fullCharCodeAtPos())};aa.readToken=function(w){return h(w,6<=this.options.ecmaVersion)||92===w?this.readWord():this.getTokenFromCode(w)};aa.fullCharCodeAtPos=function(){var w=this.input.charCodeAt(this.pos);if(55295>=w||56320<=w)return w;var H=this.input.charCodeAt(this.pos+1);return 56319>=H||57344<=
H?w:(w<<10)+H-56613888};aa.skipBlockComment=function(){var w=this.options.onComment&&this.curPosition(),H=this.pos,Q=this.input.indexOf("*/",this.pos+=2);-1===Q&&this.raise(this.pos-2,"Unterminated comment");this.pos=Q+2;if(this.options.locations){ka.lastIndex=H;for(var ca;(ca=ka.exec(this.input))&&ca.index<this.pos;)++this.curLine,this.lineStart=ca.index+ca[0].length}if(this.options.onComment)this.options.onComment(!0,this.input.slice(H+2,Q),H,this.pos,w,this.curPosition())};aa.skipLineComment=function(w){for(var H=
this.pos,Q=this.options.onComment&&this.curPosition(),ca=this.input.charCodeAt(this.pos+=w);this.pos<this.input.length&&!g(ca);)ca=this.input.charCodeAt(++this.pos);if(this.options.onComment)this.options.onComment(!1,this.input.slice(H+w,this.pos),H,this.pos,Q,this.curPosition())};aa.skipSpace=function(){a:for(;this.pos<this.input.length;){var w=this.input.charCodeAt(this.pos);switch(w){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:++this.pos;
this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break a}break;default:if(8<w&&14>w||5760<=w&&ra.test(String.fromCharCode(w)))++this.pos;else break a}}};aa.finishToken=function(w,H){this.end=this.pos;this.options.locations&&(this.endLoc=this.curPosition());var Q=this.type;this.type=w;this.value=H;this.updateContext(Q)};aa.readToken_dot=function(){var w=
this.input.charCodeAt(this.pos+1);if(48<=w&&57>=w)return this.readNumber(!0);var H=this.input.charCodeAt(this.pos+2);if(6<=this.options.ecmaVersion&&46===w&&46===H)return this.pos+=3,this.finishToken(X.ellipsis);++this.pos;return this.finishToken(X.dot)};aa.readToken_slash=function(){var w=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===w?this.finishOp(X.assign,2):this.finishOp(X.slash,1)};aa.readToken_mult_modulo_exp=function(w){var H=this.input.charCodeAt(this.pos+
1),Q=1,ca=42===w?X.star:X.modulo;7<=this.options.ecmaVersion&&42===w&&42===H&&(++Q,ca=X.starstar,H=this.input.charCodeAt(this.pos+2));return 61===H?this.finishOp(X.assign,Q+1):this.finishOp(ca,Q)};aa.readToken_pipe_amp=function(w){var H=this.input.charCodeAt(this.pos+1);return H===w?12<=this.options.ecmaVersion&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(X.assign,3):this.finishOp(124===w?X.logicalOR:X.logicalAND,2):61===H?this.finishOp(X.assign,2):this.finishOp(124===w?X.bitwiseOR:X.bitwiseAND,
1)};aa.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(X.assign,2):this.finishOp(X.bitwiseXOR,1)};aa.readToken_plus_min=function(w){var H=this.input.charCodeAt(this.pos+1);return H===w?45!==H||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!wa.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(X.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===H?this.finishOp(X.assign,2):this.finishOp(X.plusMin,
1)};aa.readToken_lt_gt=function(w){var H=this.input.charCodeAt(this.pos+1),Q=1;if(H===w)return Q=62===w&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+Q)?this.finishOp(X.assign,Q+1):this.finishOp(X.bitShift,Q);if(33===H&&60===w&&!this.inModule&&45===this.input.charCodeAt(this.pos+2)&&45===this.input.charCodeAt(this.pos+3))return this.skipLineComment(4),this.skipSpace(),this.nextToken();61===H&&(Q=2);return this.finishOp(X.relational,Q)};aa.readToken_eq_excl=function(w){var H=
this.input.charCodeAt(this.pos+1);return 61===H?this.finishOp(X.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===w&&62===H&&6<=this.options.ecmaVersion?(this.pos+=2,this.finishToken(X.arrow)):this.finishOp(61===w?X.eq:X.prefix,1)};aa.readToken_question=function(){var w=this.options.ecmaVersion;if(11<=w){var H=this.input.charCodeAt(this.pos+1);if(46===H){var Q=this.input.charCodeAt(this.pos+2);if(48>Q||57<Q)return this.finishOp(X.questionDot,2)}if(63===H)return 12<=w&&61===this.input.charCodeAt(this.pos+
2)?this.finishOp(X.assign,3):this.finishOp(X.coalesce,2)}return this.finishOp(X.question,1)};aa.readToken_numberSign=function(){var w=35;if(13<=this.options.ecmaVersion&&(++this.pos,w=this.fullCharCodeAtPos(),h(w,!0)||92===w))return this.finishToken(X.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+P(w)+"'")};aa.getTokenFromCode=function(w){switch(w){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(X.parenL);case 41:return++this.pos,this.finishToken(X.parenR);
case 59:return++this.pos,this.finishToken(X.semi);case 44:return++this.pos,this.finishToken(X.comma);case 91:return++this.pos,this.finishToken(X.bracketL);case 93:return++this.pos,this.finishToken(X.bracketR);case 123:return++this.pos,this.finishToken(X.braceL);case 125:return++this.pos,this.finishToken(X.braceR);case 58:return++this.pos,this.finishToken(X.colon);case 96:if(6>this.options.ecmaVersion)break;++this.pos;return this.finishToken(X.backQuote);case 48:w=this.input.charCodeAt(this.pos+1);
if(120===w||88===w)return this.readRadixNumber(16);if(6<=this.options.ecmaVersion){if(111===w||79===w)return this.readRadixNumber(8);if(98===w||66===w)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(w);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(w);case 124:case 38:return this.readToken_pipe_amp(w);case 94:return this.readToken_caret();
case 43:case 45:return this.readToken_plus_min(w);case 60:case 62:return this.readToken_lt_gt(w);case 61:case 33:return this.readToken_eq_excl(w);case 63:return this.readToken_question();case 126:return this.finishOp(X.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+P(w)+"'")};aa.finishOp=function(w,H){var Q=this.input.slice(this.pos,this.pos+H);this.pos+=H;return this.finishToken(w,Q)};aa.readRegexp=function(){for(var w,H,Q=this.pos;;){this.pos>=
this.input.length&&this.raise(Q,"Unterminated regular expression");var ca=this.input.charAt(this.pos);wa.test(ca)&&this.raise(Q,"Unterminated regular expression");if(w)w=!1;else{if("["===ca)H=!0;else if("]"===ca&&H)H=!1;else if("/"===ca&&!H)break;w="\\"===ca}++this.pos}w=this.input.slice(Q,this.pos);++this.pos;ca=this.pos;H=this.readWord1();this.containsEsc&&this.unexpected(ca);ca=this.regexpState||(this.regexpState=new la(this));ca.reset(Q,w,H);this.validateRegExpFlags(ca);this.validateRegExpPattern(ca);
Q=null;try{Q=new RegExp(w,H)}catch(ta){}return this.finishToken(X.regexp,{pattern:w,flags:H,value:Q})};aa.readInt=function(w,H,Q){var ca=12<=this.options.ecmaVersion&&void 0===H;Q=Q&&48===this.input.charCodeAt(this.pos);for(var ta=this.pos,Ca=0,Ba=0,Ea=0,Ua=null==H?Infinity:H;Ea<Ua;++Ea,++this.pos){var Sa=this.input.charCodeAt(this.pos);if(ca&&95===Sa)Q&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===Ba&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),
0===Ea&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),Ba=Sa;else{var Va=97<=Sa?Sa-97+10:65<=Sa?Sa-65+10:48<=Sa&&57>=Sa?Sa-48:Infinity;if(Va>=w)break;Ba=Sa;Ca=Ca*w+Va}}ca&&95===Ba&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits");return this.pos===ta||null!=H&&this.pos-ta!==H?null:Ca};aa.readRadixNumber=function(w){var H=this.pos;this.pos+=2;var Q=this.readInt(w);null==Q&&this.raise(this.start+2,"Expected number in radix "+
w);11<=this.options.ecmaVersion&&110===this.input.charCodeAt(this.pos)?(Q=M(this.input.slice(H,this.pos)),++this.pos):h(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");return this.finishToken(X.num,Q)};aa.readNumber=function(w){var H=this.pos;w||null!==this.readInt(10,void 0,!0)||this.raise(H,"Invalid number");var Q=2<=this.pos-H&&48===this.input.charCodeAt(H);Q&&this.strict&&this.raise(H,"Invalid number");var ca=this.input.charCodeAt(this.pos);if(!Q&&!w&&11<=this.options.ecmaVersion&&
110===ca)return Q=M(this.input.slice(H,this.pos)),++this.pos,h(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(X.num,Q);Q&&/[89]/.test(this.input.slice(H,this.pos))&&(Q=!1);46!==ca||Q||(++this.pos,this.readInt(10),ca=this.input.charCodeAt(this.pos));69!==ca&&101!==ca||Q||(ca=this.input.charCodeAt(++this.pos),43!==ca&&45!==ca||++this.pos,null===this.readInt(10)&&this.raise(H,"Invalid number"));h(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");
w=this.input.slice(H,this.pos);Q=Q?parseInt(w,8):parseFloat(w.replace(/_/g,""));return this.finishToken(X.num,Q)};aa.readCodePoint=function(){if(123===this.input.charCodeAt(this.pos)){6>this.options.ecmaVersion&&this.unexpected();var w=++this.pos;var H=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;1114111<H&&this.invalidStringToken(w,"Code point out of bounds")}else H=this.readHexChar(4);return H};aa.readString=function(w){for(var H="",Q=++this.pos;;){this.pos>=this.input.length&&
this.raise(this.start,"Unterminated string constant");var ca=this.input.charCodeAt(this.pos);if(ca===w)break;92===ca?(H+=this.input.slice(Q,this.pos),H+=this.readEscapedChar(!1),Q=this.pos):8232===ca||8233===ca?(10>this.options.ecmaVersion&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(g(ca)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}H+=this.input.slice(Q,this.pos++);return this.finishToken(X.string,
H)};var ba={};aa.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(w){if(w===ba)this.readInvalidTemplateToken();else throw w;}this.inTemplateElement=!1};aa.invalidStringToken=function(w,H){if(this.inTemplateElement&&9<=this.options.ecmaVersion)throw ba;this.raise(w,H)};aa.readTmplToken=function(){for(var w="",H=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var Q=this.input.charCodeAt(this.pos);if(96===Q||36===Q&&123===
this.input.charCodeAt(this.pos+1)){if(this.pos===this.start&&(this.type===X.template||this.type===X.invalidTemplate)){if(36===Q)return this.pos+=2,this.finishToken(X.dollarBraceL);++this.pos;return this.finishToken(X.backQuote)}w+=this.input.slice(H,this.pos);return this.finishToken(X.template,w)}if(92===Q)w+=this.input.slice(H,this.pos),w+=this.readEscapedChar(!0),H=this.pos;else if(g(Q)){w+=this.input.slice(H,this.pos);++this.pos;switch(Q){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;
case 10:w+="\n";break;default:w+=String.fromCharCode(Q)}this.options.locations&&(++this.curLine,this.lineStart=this.pos);H=this.pos}else++this.pos}};aa.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case "\\":++this.pos;break;case "$":if("{"!==this.input[this.pos+1])break;case "`":return this.finishToken(X.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")};aa.readEscapedChar=function(w){var H=
this.input.charCodeAt(++this.pos);++this.pos;switch(H){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return P(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\x0B";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),
w)return this.invalidStringToken(this.pos-1,"Invalid escape sequence in template string"),null;default:if(48<=H&&55>=H){var Q=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],ca=parseInt(Q,8);255<ca&&(Q=Q.slice(0,-1),ca=parseInt(Q,8));this.pos+=Q.length-1;H=this.input.charCodeAt(this.pos);"0"===Q&&56!==H&&57!==H||!this.strict&&!w||this.invalidStringToken(this.pos-1-Q.length,w?"Octal literal in template string":"Octal literal in strict mode");return String.fromCharCode(ca)}return g(H)?"":String.fromCharCode(H)}};
aa.readHexChar=function(w){var H=this.pos;w=this.readInt(16,w);null===w&&this.invalidStringToken(H,"Bad character escape sequence");return w};aa.readWord1=function(){this.containsEsc=!1;for(var w="",H=!0,Q=this.pos,ca=6<=this.options.ecmaVersion;this.pos<this.input.length;){var ta=this.fullCharCodeAtPos();if(k(ta,ca))this.pos+=65535>=ta?1:2;else if(92===ta)this.containsEsc=!0,w+=this.input.slice(Q,this.pos),Q=this.pos,117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),
++this.pos,ta=this.readCodePoint(),(H?h:k)(ta,ca)||this.invalidStringToken(Q,"Invalid Unicode escape"),w+=P(ta),Q=this.pos;else break;H=!1}return w+this.input.slice(Q,this.pos)};aa.readWord=function(){var w=this.readWord1(),H=X.name;this.keywords.test(w)&&(H=xa[w]);return this.finishToken(H,w)};Ha.acorn={Parser:Ha,version:"8.5.0",defaultOptions:ya,Position:S,SourceLocation:ma,getLineInfo:n,Node:da,TokenType:Z,tokTypes:X,keywordTypes:xa,TokContext:x,tokContexts:na,isIdentifierChar:k,isIdentifierStart:h,
Token:ua,isNewLine:g,lineBreak:wa,lineBreakG:ka,nonASCIIwhitespace:ra};d.Node=da;d.Parser=Ha;d.Position=S;d.SourceLocation=ma;d.TokContext=x;d.Token=ua;d.TokenType=Z;d.defaultOptions=ya;d.getLineInfo=n;d.isIdentifierChar=k;d.isIdentifierStart=h;d.isNewLine=g;d.keywordTypes=xa;d.lineBreak=wa;d.lineBreakG=ka;d.nonASCIIwhitespace=ra;d.parse=function(w,H){return Ha.parse(w,H)};d.parseExpressionAt=function(w,H,Q){return Ha.parseExpressionAt(w,H,Q)};d.tokContexts=na;d.tokTypes=X;d.tokenizer=function(w,
H){return Ha.tokenizer(w,H)};d.version="8.5.0";Object.defineProperty(d,"__esModule",{value:!0})})},(u,c,a)=>{function b(g){g=g.Parser.acorn||g;var f=l.get(g);if(!f){const e=g.tokTypes;var n=g.TokContext;f=g.TokenType;const q=new n("<tag",!1),t=new n("</tag",!1),r=new n("<tag>...</tag>",!0,!0);n={tc_oTag:q,tc_cTag:t,tc_expr:r};f={jsxName:new f("jsxName"),jsxText:new f("jsxText",{beforeExpr:!0}),jsxTagStart:new f("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new f("jsxTagEnd")};f.jsxTagStart.updateContext=
function(){this.context.push(r);this.context.push(q);this.exprAllowed=!1};f.jsxTagEnd.updateContext=function(v){let z=this.context.pop();z===q&&v===e.slash||z===t?(this.context.pop(),this.exprAllowed=this.curContext()===r):this.exprAllowed=!0};f={tokContexts:n,tokTypes:f};l.set(g,f)}return f}function d(g){if(!g)return g;if("JSXIdentifier"===g.type)return g.name;if("JSXNamespacedName"===g.type)return g.namespace.name+":"+g.name.name;if("JSXMemberExpression"===g.type)return d(g.object)+"."+d(g.property)}
function m(g,f){const n=f.acorn||a(463),e=b(n),q=n.tokTypes,t=e.tokTypes,r=n.tokContexts,v=e.tokContexts.tc_oTag,z=e.tokContexts.tc_cTag,E=e.tokContexts.tc_expr,A=n.isNewLine,D=n.isIdentifierStart,F=n.isIdentifierChar;return class extends f{static get acornJsx(){return e}jsx_readToken(){let C="",B=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let I=this.input.charCodeAt(this.pos);switch(I){case 60:case 123:if(this.pos===this.start)return 60===I&&
this.exprAllowed?(++this.pos,this.finishToken(t.jsxTagStart)):this.getTokenFromCode(I);C+=this.input.slice(B,this.pos);return this.finishToken(t.jsxText,C);case 38:C+=this.input.slice(B,this.pos);C+=this.jsx_readEntity();B=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(62===I?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:A(I)?(C+=this.input.slice(B,this.pos),C+=this.jsx_readNewLine(!0),B=this.pos):++this.pos}}}jsx_readNewLine(C){let B=
this.input.charCodeAt(this.pos);++this.pos;13===B&&10===this.input.charCodeAt(this.pos)?(++this.pos,C=C?"\n":"\r\n"):C=String.fromCharCode(B);this.options.locations&&(++this.curLine,this.lineStart=this.pos);return C}jsx_readString(C){let B="",I=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let J=this.input.charCodeAt(this.pos);if(J===C)break;38===J?(B+=this.input.slice(I,this.pos),B+=this.jsx_readEntity(),I=this.pos):A(J)?(B+=this.input.slice(I,
this.pos),B+=this.jsx_readNewLine(!1),I=this.pos):++this.pos}B+=this.input.slice(I,this.pos++);return this.finishToken(q.string,B)}jsx_readEntity(){let C="",B=0,I,J=this.input[this.pos];"&"!==J&&this.raise(this.pos,"Entity must start with an ampersand");let M=++this.pos;for(;this.pos<this.input.length&&10>B++;){J=this.input[this.pos++];if(";"===J){"#"===C[0]?"x"===C[1]?(C=C.substr(2),k.test(C)&&(I=String.fromCharCode(parseInt(C,16)))):(C=C.substr(1),p.test(C)&&(I=String.fromCharCode(parseInt(C,10)))):
I=h[C];break}C+=J}return I?I:(this.pos=M,"&")}jsx_readWord(){let C,B=this.pos;do C=this.input.charCodeAt(++this.pos);while(F(C)||45===C);return this.finishToken(t.jsxName,this.input.slice(B,this.pos))}jsx_parseIdentifier(){let C=this.startNode();this.type===t.jsxName?C.name=this.value:this.type.keyword?C.name=this.type.keyword:this.unexpected();this.next();return this.finishNode(C,"JSXIdentifier")}jsx_parseNamespacedName(){var C=this.start;let B=this.startLoc,I=this.jsx_parseIdentifier();if(!g.allowNamespaces||
!this.eat(q.colon))return I;C=this.startNodeAt(C,B);C.namespace=I;C.name=this.jsx_parseIdentifier();return this.finishNode(C,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===t.jsxTagEnd)return"";let C=this.start,B=this.startLoc,I=this.jsx_parseNamespacedName();for(this.type!==q.dot||"JSXNamespacedName"!==I.type||g.allowNamespacedObjects||this.unexpected();this.eat(q.dot);){let J=this.startNodeAt(C,B);J.object=I;J.property=this.jsx_parseIdentifier();I=this.finishNode(J,"JSXMemberExpression")}return I}jsx_parseAttributeValue(){switch(this.type){case q.braceL:let C=
this.jsx_parseExpressionContainer();"JSXEmptyExpression"===C.expression.type&&this.raise(C.start,"JSX attributes must only be assigned a non-empty expression");return C;case t.jsxTagStart:case q.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let C=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(C,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let C=
this.startNode();this.next();C.expression=this.type===q.braceR?this.jsx_parseEmptyExpression():this.parseExpression();this.expect(q.braceR);return this.finishNode(C,"JSXExpressionContainer")}jsx_parseAttribute(){let C=this.startNode();if(this.eat(q.braceL))return this.expect(q.ellipsis),C.argument=this.parseMaybeAssign(),this.expect(q.braceR),this.finishNode(C,"JSXSpreadAttribute");C.name=this.jsx_parseNamespacedName();C.value=this.eat(q.eq)?this.jsx_parseAttributeValue():null;return this.finishNode(C,
"JSXAttribute")}jsx_parseOpeningElementAt(C,B){C=this.startNodeAt(C,B);C.attributes=[];if(B=this.jsx_parseElementName())C.name=B;for(;this.type!==q.slash&&this.type!==t.jsxTagEnd;)C.attributes.push(this.jsx_parseAttribute());C.selfClosing=this.eat(q.slash);this.expect(t.jsxTagEnd);return this.finishNode(C,B?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(C,B){C=this.startNodeAt(C,B);if(B=this.jsx_parseElementName())C.name=B;this.expect(t.jsxTagEnd);return this.finishNode(C,B?"JSXClosingElement":
"JSXClosingFragment")}jsx_parseElementAt(C,B){let I=this.startNodeAt(C,B),J=[],M=this.jsx_parseOpeningElementAt(C,B);C=null;if(!M.selfClosing){a:for(;;)switch(this.type){case t.jsxTagStart:C=this.start;B=this.startLoc;this.next();if(this.eat(q.slash)){C=this.jsx_parseClosingElementAt(C,B);break a}J.push(this.jsx_parseElementAt(C,B));break;case t.jsxText:J.push(this.parseExprAtom());break;case q.braceL:J.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}d(C.name)!==d(M.name)&&
this.raise(C.start,"Expected corresponding JSX closing tag for <"+d(M.name)+">")}B=M.name?"Element":"Fragment";I["opening"+B]=M;I["closing"+B]=C;I.children=J;this.type===q.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag");return this.finishNode(I,"JSX"+B)}jsx_parseText(){let C=this.parseLiteral(this.value);C.type="JSXText";return C}jsx_parseElement(){let C=this.start,B=this.startLoc;this.next();return this.jsx_parseElementAt(C,B)}parseExprAtom(C){return this.type===
t.jsxText?this.jsx_parseText():this.type===t.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(C)}readToken(C){let B=this.curContext();if(B===E)return this.jsx_readToken();if(B===v||B===z){if(D(C))return this.jsx_readWord();if(62==C)return++this.pos,this.finishToken(t.jsxTagEnd);if((34===C||39===C)&&B==v)return this.jsx_readString(C)}return 60===C&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1)?(++this.pos,this.finishToken(t.jsxTagStart)):super.readToken(C)}updateContext(C){if(this.type==
q.braceL){var B=this.curContext();B==v?this.context.push(r.b_expr):B==E?this.context.push(r.b_tmpl):super.updateContext(C);this.exprAllowed=!0}else if(this.type===q.slash&&C===t.jsxTagStart)this.context.length-=2,this.context.push(z),this.exprAllowed=!1;else return super.updateContext(C)}}}const h=a(465),k=/^[\da-fA-F]+$/,p=/^\d+$/,l=new WeakMap;u.exports=function(g){g=g||{};return function(f){return m({allowNamespaces:!1!==g.allowNamespaces,allowNamespacedObjects:!!g.allowNamespacedObjects},f)}};
Object.defineProperty(u.exports,"tokTypes",{get:function(){return b(a(463)).tokTypes},configurable:!0,enumerable:!0})},u=>{u.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\u00a0",iexcl:"\u00a1",cent:"\u00a2",pound:"\u00a3",curren:"\u00a4",yen:"\u00a5",brvbar:"\u00a6",sect:"\u00a7",uml:"\u00a8",copy:"\u00a9",ordf:"\u00aa",laquo:"\u00ab",not:"\u00ac",shy:"\u00ad",reg:"\u00ae",macr:"\u00af",deg:"\u00b0",plusmn:"\u00b1",sup2:"\u00b2",sup3:"\u00b3",acute:"\u00b4",micro:"\u00b5",para:"\u00b6",
middot:"\u00b7",cedil:"\u00b8",sup1:"\u00b9",ordm:"\u00ba",raquo:"\u00bb",frac14:"\u00bc",frac12:"\u00bd",frac34:"\u00be",iquest:"\u00bf",Agrave:"\u00c0",Aacute:"\u00c1",Acirc:"\u00c2",Atilde:"\u00c3",Auml:"\u00c4",Aring:"\u00c5",AElig:"\u00c6",Ccedil:"\u00c7",Egrave:"\u00c8",Eacute:"\u00c9",Ecirc:"\u00ca",Euml:"\u00cb",Igrave:"\u00cc",Iacute:"\u00cd",Icirc:"\u00ce",Iuml:"\u00cf",ETH:"\u00d0",Ntilde:"\u00d1",Ograve:"\u00d2",Oacute:"\u00d3",Ocirc:"\u00d4",Otilde:"\u00d5",Ouml:"\u00d6",times:"\u00d7",
Oslash:"\u00d8",Ugrave:"\u00d9",Uacute:"\u00da",Ucirc:"\u00db",Uuml:"\u00dc",Yacute:"\u00dd",THORN:"\u00de",szlig:"\u00df",agrave:"\u00e0",aacute:"\u00e1",acirc:"\u00e2",atilde:"\u00e3",auml:"\u00e4",aring:"\u00e5",aelig:"\u00e6",ccedil:"\u00e7",egrave:"\u00e8",eacute:"\u00e9",ecirc:"\u00ea",euml:"\u00eb",igrave:"\u00ec",iacute:"\u00ed",icirc:"\u00ee",iuml:"\u00ef",eth:"\u00f0",ntilde:"\u00f1",ograve:"\u00f2",oacute:"\u00f3",ocirc:"\u00f4",otilde:"\u00f5",ouml:"\u00f6",divide:"\u00f7",oslash:"\u00f8",
ugrave:"\u00f9",uacute:"\u00fa",ucirc:"\u00fb",uuml:"\u00fc",yacute:"\u00fd",thorn:"\u00fe",yuml:"\u00ff",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02c6",tilde:"\u02dc",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",
Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",
zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203a",oline:"\u203e",frasl:"\u2044",euro:"\u20ac",image:"\u2111",weierp:"\u2118",real:"\u211c",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",
lArr:"\u21d0",uArr:"\u21d1",rArr:"\u21d2",dArr:"\u21d3",hArr:"\u21d4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a","int":"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",
nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",lang:"\u2329",rang:"\u232a",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"}},(u,c,a)=>{function b(ba,w,H){switch(H.length){case 0:return ba.call(w);case 1:return ba.call(w,H[0]);case 2:return ba.call(w,H[0],H[1]);case 3:return ba.call(w,H[0],H[1],H[2])}return ba.apply(w,H)}function d(ba){return function(w){return ba(w)}}
function m(ba){var w=-1,H=null==ba?0:ba.length;for(this.clear();++w<H;){var Q=ba[w];this.set(Q[0],Q[1])}}function h(ba){var w=-1,H=null==ba?0:ba.length;for(this.clear();++w<H;){var Q=ba[w];this.set(Q[0],Q[1])}}function k(ba){var w=-1,H=null==ba?0:ba.length;for(this.clear();++w<H;){var Q=ba[w];this.set(Q[0],Q[1])}}function p(ba){this.size=(this.__data__=new h(ba)).size}function l(ba,w,H){(void 0===H||B(ba[w],H))&&(void 0!==H||w in ba)||f(ba,w,H)}function g(ba,w){for(var H=ba.length;H--;)if(B(ba[H][0],
w))return H;return-1}function f(ba,w,H){"__proto__"==w&&Y?Y(ba,w,{configurable:!0,enumerable:!0,value:H,writable:!0}):ba[w]=H}function n(ba){if(null==ba)return void 0===ba?"[object Undefined]":"[object Null]";if(za&&za in Object(ba)){var w=qa.call(ba,za),H=ba[za];try{ba[za]=void 0;var Q=!0}catch(ta){}var ca=U.call(ba);Q&&(w?ba[za]=H:delete ba[za]);ba=ca}else ba=U.call(ba);return ba}function e(ba){return O(ba)&&"[object Arguments]"==n(ba)}function q(ba){return O(ba)&&M(ba.length)&&!!R[n(ba)]}function t(ba,
w,H,Q,ca){ba!==w&&da(w,function(ta,Ca){ca||(ca=new p);if(P(ta)){ta=ca;var Ba=F(ba,Ca),Ea=F(w,Ca),Ua=ta.get(Ea);if(Ua)l(ba,Ca,Ua);else{var Sa=Q?Q(Ba,Ea,Ca+"",ba,w,ta):void 0;if(Ua=void 0===Sa){var Va=ha(Ea),cb=!Va&&la(Ea),gb=!Va&&!cb&&ua(Ea);Sa=Ea;if(Va||cb||gb)if(ha(Ba))Sa=Ba;else if(O(Ba)&&I(Ba))for(Sa=void 0,Va=-1,cb=Ba.length,Sa||(Sa=Array(cb));++Va<cb;)Sa[Va]=Ba[Va];else cb?(Ua=!1,Sa=Ea.slice()):gb?(Ua=!1,Ba=Ea.buffer,Sa=new Ba.constructor(Ba.byteLength),(new ya(Sa)).set(new ya(Ba)),Sa=new Ea.constructor(Sa,
Ea.byteOffset,Ea.length)):Sa=[];else if(O(Ea)&&"[object Object]"==n(Ea)?(Va=Ga(Ea),null===Va?Va=!0:(Va=qa.call(Va,"constructor")&&Va.constructor,Va="function"==typeof Va&&Va instanceof Va&&ra.call(Va)==pa)):Va=!1,Va||V(Ea))if(Sa=Ba,V(Ba)){Sa=N(Ba);Va=void 0;cb=!Va;Va||(Va={});gb=-1;for(var lb=Sa.length;++gb<lb;){var ob=Sa[gb],mb=void 0;void 0===mb&&(mb=Ba[ob]);if(cb)f(Va,ob,mb);else{var tb=Va,sa=tb[ob];qa.call(tb,ob)&&B(sa,mb)&&(void 0!==mb||ob in tb)||f(tb,ob,mb)}}Sa=Va}else{if(!P(Ba)||J(Ba))Sa=
"function"!=typeof Ea.constructor||A(Ea)?{}:T(Ga(Ea))}else Ua=!1}Ua&&(ta.set(Ea,Sa),t(Sa,Ea,H,Q,ta),ta["delete"](Ea));l(ba,Ca,Sa)}}else Ea=Q?Q(F(ba,Ca),ta,Ca+"",ba,w,ca):void 0,void 0===Ea&&(Ea=ta),l(ba,Ca,Ea)},N)}function r(ba,w){return oa(D(ba,w,x),ba+"")}function v(ba,w){ba=ba.__data__;var H=typeof w;return("string"==H||"number"==H||"symbol"==H||"boolean"==H?"__proto__"!==w:null===w)?ba["string"==typeof w?"string":"hash"]:ba.map}function z(ba,w){ba=null==ba?void 0:ba[w];w=!P(ba)||va&&va in ba?
!1:(J(ba)?S:G).test(C(ba));return w?ba:void 0}function E(ba,w){var H=typeof ba;w=null==w?9007199254740991:w;return!!w&&("number"==H||"symbol"!=H&&K.test(ba))&&-1<ba&&0==ba%1&&ba<w}function A(ba){var w=ba&&ba.constructor;return ba===("function"==typeof w&&w.prototype||wa)}function D(ba,w,H){w=W(void 0===w?ba.length-1:w,0);return function(){for(var Q=arguments,ca=-1,ta=W(Q.length-w,0),Ca=Array(ta);++ca<ta;)Ca[ca]=Q[w+ca];ca=-1;for(ta=Array(w+1);++ca<w;)ta[ca]=Q[ca];ta[w]=H(Ca);return b(ba,this,ta)}}
function F(ba,w){if(("constructor"!==w||"function"!==typeof ba[w])&&"__proto__"!=w)return ba[w]}function C(ba){if(null!=ba){try{return ra.call(ba)}catch(w){}return ba+""}return""}function B(ba,w){return ba===w||ba!==ba&&w!==w}function I(ba){return null!=ba&&M(ba.length)&&!J(ba)}function J(ba){if(!P(ba))return!1;ba=n(ba);return"[object Function]"==ba||"[object GeneratorFunction]"==ba||"[object AsyncFunction]"==ba||"[object Proxy]"==ba}function M(ba){return"number"==typeof ba&&-1<ba&&0==ba%1&&9007199254740991>=
ba}function P(ba){var w=typeof ba;return null!=ba&&("object"==w||"function"==w)}function O(ba){return null!=ba&&"object"==typeof ba}function N(ba){if(I(ba)){var w=ha(ba),H=!w&&V(ba),Q=!w&&!H&&la(ba),ca=!w&&!H&&!Q&&ua(ba);if(w=w||H||Q||ca){H=ba.length;for(var ta=String,Ca=-1,Ba=Array(H);++Ca<H;)Ba[Ca]=ta(Ca);H=Ba}else H=[];ta=H.length;for(var Ea in ba)w&&("length"==Ea||Q&&("offset"==Ea||"parent"==Ea)||ca&&("buffer"==Ea||"byteLength"==Ea||"byteOffset"==Ea)||E(Ea,ta))||H.push(Ea);ba=H}else if(P(ba)){Ea=
A(ba);ca=[];for(Q in ba)("constructor"!=Q||!Ea&&qa.call(ba,Q))&&ca.push(Q);ba=ca}else{Ea=[];if(null!=ba)for(ca in Object(ba))Ea.push(ca);ba=Ea}return ba}function L(ba){return function(){return ba}}function x(ba){return ba}function y(){return!1}u=a.nmd(u);var G=/^\[object .+?Constructor\]$/,K=/^(?:0|[1-9]\d*)$/,R={};R["[object Float32Array]"]=R["[object Float64Array]"]=R["[object Int8Array]"]=R["[object Int16Array]"]=R["[object Int32Array]"]=R["[object Uint8Array]"]=R["[object Uint8ClampedArray]"]=
R["[object Uint16Array]"]=R["[object Uint32Array]"]=!0;R["[object Arguments]"]=R["[object Array]"]=R["[object ArrayBuffer]"]=R["[object Boolean]"]=R["[object DataView]"]=R["[object Date]"]=R["[object Error]"]=R["[object Function]"]=R["[object Map]"]=R["[object Number]"]=R["[object Object]"]=R["[object RegExp]"]=R["[object Set]"]=R["[object String]"]=R["[object WeakMap]"]=!1;var Z="object"==typeof a.g&&a.g&&a.g.Object===Object&&a.g;a="object"==typeof self&&self&&self.Object===Object&&self;a=Z||a||
Function("return this")();var aa=(c=c&&!c.nodeType&&c)&&u&&!u.nodeType&&u,xa=(c=aa&&aa.exports===c)&&Z.process;Z=(Z=function(){try{var ba=aa&&aa.require&&aa.require("util").types;return ba?ba:xa&&xa.binding&&xa.binding("util")}catch(w){}}())&&Z.isTypedArray;var X=Array.prototype,wa=Object.prototype,ka=a["__core-js_shared__"],ra=Function.prototype.toString,qa=wa.hasOwnProperty,va=function(){var ba=/[^.]+$/.exec(ka&&ka.keys&&ka.keys.IE_PROTO||"");return ba?"Symbol(src)_1."+ba:""}(),U=wa.toString,pa=
ra.call(Object),S=RegExp("^"+ra.call(qa).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");c=c?a.Buffer:void 0;var ma=a.Symbol,ya=a.Uint8Array,Ga=function(ba,w){return function(H){return ba(w(H))}}(Object.getPrototypeOf,Object),Ha=Object.create,ab=wa.propertyIsEnumerable,ea=X.splice,za=ma?ma.toStringTag:void 0,Y=function(){try{var ba=z(Object,"defineProperty");ba({},"",{});return ba}catch(w){}}();c=c?c.isBuffer:void 0;var W=Math.max,
ia=Date.now,na=z(a,"Map"),ja=z(Object,"create"),T=function(){function ba(){}return function(w){if(!P(w))return{};if(Ha)return Ha(w);ba.prototype=w;w=new ba;ba.prototype=void 0;return w}}();m.prototype.clear=function(){this.__data__=ja?ja(null):{};this.size=0};m.prototype["delete"]=function(ba){ba=this.has(ba)&&delete this.__data__[ba];this.size-=ba?1:0;return ba};m.prototype.get=function(ba){var w=this.__data__;return ja?(ba=w[ba],"__lodash_hash_undefined__"===ba?void 0:ba):qa.call(w,ba)?w[ba]:void 0};
m.prototype.has=function(ba){var w=this.__data__;return ja?void 0!==w[ba]:qa.call(w,ba)};m.prototype.set=function(ba,w){var H=this.__data__;this.size+=this.has(ba)?0:1;H[ba]=ja&&void 0===w?"__lodash_hash_undefined__":w;return this};h.prototype.clear=function(){this.__data__=[];this.size=0};h.prototype["delete"]=function(ba){var w=this.__data__;ba=g(w,ba);if(0>ba)return!1;ba==w.length-1?w.pop():ea.call(w,ba,1);--this.size;return!0};h.prototype.get=function(ba){var w=this.__data__;ba=g(w,ba);return 0>
ba?void 0:w[ba][1]};h.prototype.has=function(ba){return-1<g(this.__data__,ba)};h.prototype.set=function(ba,w){var H=this.__data__,Q=g(H,ba);0>Q?(++this.size,H.push([ba,w])):H[Q][1]=w;return this};k.prototype.clear=function(){this.size=0;this.__data__={hash:new m,map:new (na||h),string:new m}};k.prototype["delete"]=function(ba){ba=v(this,ba)["delete"](ba);this.size-=ba?1:0;return ba};k.prototype.get=function(ba){return v(this,ba).get(ba)};k.prototype.has=function(ba){return v(this,ba).has(ba)};k.prototype.set=
function(ba,w){var H=v(this,ba),Q=H.size;H.set(ba,w);this.size+=H.size==Q?0:1;return this};p.prototype.clear=function(){this.__data__=new h;this.size=0};p.prototype["delete"]=function(ba){var w=this.__data__;ba=w["delete"](ba);this.size=w.size;return ba};p.prototype.get=function(ba){return this.__data__.get(ba)};p.prototype.has=function(ba){return this.__data__.has(ba)};p.prototype.set=function(ba,w){var H=this.__data__;if(H instanceof h){var Q=H.__data__;if(!na||199>Q.length)return Q.push([ba,w]),
this.size=++H.size,this;H=this.__data__=new k(Q)}H.set(ba,w);this.size=H.size;return this};var da=function(ba){return function(w,H,Q){var ca=-1,ta=Object(w);Q=Q(w);for(var Ca=Q.length;Ca--;){var Ba=Q[ba?Ca:++ca];if(!1===H(ta[Ba],Ba,ta))break}return w}}(),oa=function(ba){var w=0,H=0;return function(){var Q=ia(),ca=16-(Q-H);H=Q;if(0<ca){if(800<=++w)return arguments[0]}else w=0;return ba.apply(void 0,arguments)}}(Y?function(ba,w){return Y(ba,"toString",{configurable:!0,enumerable:!1,value:L(w),writable:!0})}:
x),V=e(function(){return arguments}())?e:function(ba){return O(ba)&&qa.call(ba,"callee")&&!ab.call(ba,"callee")},ha=Array.isArray,la=c||y,ua=Z?d(Z):q;a=function(ba){return r(function(w,H){var Q=-1,ca=H.length,ta=1<ca?H[ca-1]:void 0,Ca=2<ca?H[2]:void 0;ta=3<ba.length&&"function"==typeof ta?(ca--,ta):void 0;var Ba;if(Ba=Ca){Ba=H[0];var Ea=H[1];if(P(Ca)){var Ua=typeof Ea;Ba=("number"==Ua?I(Ca)&&E(Ea,Ca.length):"string"==Ua&&Ea in Ca)?B(Ca[Ea],Ba):!1}else Ba=!1}Ba&&(ta=3>ca?void 0:ta,ca=1);for(w=Object(w);++Q<
ca;)(Ca=H[Q])&&ba(w,Ca,Q,ta);return w})}(function(ba,w,H){t(ba,w,H)});u.exports=a},u=>{u.exports=JSON.parse('{"name":"eslint","version":"8.0.0-rc.0","author":"Nicholas C. Zakas <nicholas+npm@nczconsulting.com>","description":"An AST-based pattern checker for JavaScript.","bin":{"eslint":"./bin/eslint.js"},"main":"./lib/api.js","exports":{"./package.json":"./package.json",".":"./lib/api.js","./use-at-your-own-risk":"./lib/unsupported-api.js"},"scripts":{"test":"node Makefile.js test","test:cli":"mocha","lint":"node Makefile.js lint","fix":"node Makefile.js lint -- fix","fuzz":"node Makefile.js fuzz","generate-release":"node Makefile.js generateRelease","generate-alpharelease":"node Makefile.js generatePrerelease -- alpha","generate-betarelease":"node Makefile.js generatePrerelease -- beta","generate-rcrelease":"node Makefile.js generatePrerelease -- rc","publish-release":"node Makefile.js publishRelease","gensite":"node Makefile.js gensite","webpack":"node Makefile.js webpack","perf":"node Makefile.js perf"},"gitHooks":{"pre-commit":"lint-staged"},"lint-staged":{"*.js":"eslint --fix","*.md":"markdownlint"},"files":["LICENSE","README.md","bin","conf","lib","messages"],"repository":"eslint/eslint","funding":"https://opencollective.com/eslint","homepage":"https://eslint.org","bugs":"https://github.com/eslint/eslint/issues/","dependencies":{"@eslint/eslintrc":"^1.0.1","@humanwhocodes/config-array":"^0.6.0","ajv":"^6.10.0","chalk":"^4.0.0","cross-spawn":"^7.0.2","debug":"^4.3.2","doctrine":"^3.0.0","enquirer":"^2.3.5","escape-string-regexp":"^4.0.0","eslint-scope":"^6.0.0","eslint-utils":"^3.0.0","eslint-visitor-keys":"^3.0.0","espree":"^9.0.0","esquery":"^1.4.0","esutils":"^2.0.2","fast-deep-equal":"^3.1.3","file-entry-cache":"^6.0.1","functional-red-black-tree":"^1.0.1","glob-parent":"^6.0.1","globals":"^13.6.0","ignore":"^4.0.6","import-fresh":"^3.0.0","imurmurhash":"^0.1.4","is-glob":"^4.0.0","js-yaml":"^4.1.0","json-stable-stringify-without-jsonify":"^1.0.1","levn":"^0.4.1","lodash.merge":"^4.6.2","minimatch":"^3.0.4","natural-compare":"^1.4.0","optionator":"^0.9.1","progress":"^2.0.0","regexpp":"^3.2.0","semver":"^7.2.1","strip-ansi":"^6.0.0","strip-json-comments":"^3.1.0","text-table":"^0.2.0","v8-compile-cache":"^2.0.3"},"devDependencies":{"@babel/core":"^7.4.3","@babel/preset-env":"^7.4.3","babel-loader":"^8.0.5","chai":"^4.0.1","cheerio":"^0.22.0","common-tags":"^1.8.0","core-js":"^3.1.3","dateformat":"^4.5.1","ejs":"^3.0.2","eslint":"file:.","eslint-config-eslint":"file:packages/eslint-config-eslint","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-eslint-plugin":"^3.5.3","eslint-plugin-internal-rules":"file:tools/internal-rules","eslint-plugin-jsdoc":"^36.0.6","eslint-plugin-node":"^11.1.0","eslint-release":"^3.1.2","eslump":"^3.0.0","esprima":"^4.0.1","fs-teardown":"^0.1.3","glob":"^7.1.6","jsdoc":"^3.5.5","karma":"^6.1.1","karma-chrome-launcher":"^3.1.0","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-webpack":"^5.0.0","lint-staged":"^11.0.0","load-perf":"^0.2.0","markdownlint":"^0.23.1","markdownlint-cli":"^0.28.1","memfs":"^3.0.1","mocha":"^8.3.2","mocha-junit-reporter":"^2.0.0","node-polyfill-webpack-plugin":"^1.0.3","npm-license":"^0.3.3","nyc":"^15.0.1","proxyquire":"^2.0.1","puppeteer":"^9.1.1","recast":"^0.20.4","regenerator-runtime":"^0.13.2","shelljs":"^0.8.2","sinon":"^11.0.0","temp":"^0.9.0","webpack":"^5.23.0","webpack-cli":"^4.5.0","yorkie":"^2.0.0"},"keywords":["ast","lint","javascript","ecmascript","espree"],"license":"MIT","engines":{"node":"^12.22.0 || ^14.17.0 || >=16.0.0"}}')},
u=>{const c=/\r\n|[\r\n\u2028\u2029]/u;u.exports={breakableTypePattern:/^(?:(?:Do)?While|For(?:In|Of)?|Switch)Statement$/u,lineBreakPattern:c,createGlobalLinebreakMatcher:function(){return new RegExp(c.source,"gu")},shebangPattern:/^#!([^\r\n]+)/u}},(u,c,a)=>{function b(N){return N&&"object"===typeof N&&"default"in N?N:{"default":N}}function d(N){N=Array.isArray(N)?N[0]:N;return 0===N||1===N||2===N?N:"string"===typeof N?q[N.toLowerCase()]||0:0}function m(N){N=Array.isArray(N)?N[0]:N;"string"===typeof N&&
(N=N.toLowerCase());return-1!==t.indexOf(N)}function h(N){switch(N){case "off":return"off";case !0:case "true":case "writeable":case "writable":return"writable";case null:case !1:case "false":case "readable":case "readonly":return"readonly";default:throw Error(`'${N}' is not a valid configuration for a global (use 'readonly', 'writable', or 'off')`);}}var k=a(418);Object.defineProperty(c,"__esModule",{value:!0});u=a(422);var p=a(417),l=a(470);a=a(516);var g=b(u),f=b(p),n=b(l);u=b(a);const e=["off",
"warn","error"],q=e.reduce((N,L,x)=>{N[L]=x;return N},{}),t=[0,1,2,"off","warn","error"];a=Object.freeze({__proto__:null,getRuleSeverity:d,normalizeToStrings:function(N){N.rules&&Object.keys(N.rules).forEach(L=>{const x=N.rules[L];"number"===typeof x?N.rules[L]=e[x]||e[0]:Array.isArray(x)&&"number"===typeof x[0]&&(x[0]=e[x[0]]||e[0])})},isErrorSeverity:function(N){return 2===d(N)},isValidSeverity:m,isEverySeverityValid:function(N){return Object.keys(N).every(L=>m(N[L]))},normalizeConfigGlobal:h});
const r={ESLINT_LEGACY_ECMAFEATURES:"The 'ecmaFeatures' config file property is deprecated and has no effect.",ESLINT_PERSONAL_CONFIG_LOAD:"'~/.eslintrc.*' config files have been deprecated. Please use a config file per project or the '--config' option.",ESLINT_PERSONAL_CONFIG_SUPPRESS:"'~/.eslintrc.*' config files have been deprecated. Please remove it or add 'root:true' to the config files in your projects in order to avoid loading '~/.eslintrc.*' accidentally."},v=new Set,z={id:"http://json-schema.org/draft-04/schema#",
$schema:"http://json-schema.org/draft-04/schema#",description:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{enum:"array boolean integer null number object string".split(" ")},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string"},$schema:{type:"string"},
title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{$ref:"#/definitions/positiveInteger"},minLength:{$ref:"#/definitions/positiveIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],
default:{}},maxItems:{$ref:"#/definitions/positiveInteger"},minItems:{$ref:"#/definitions/positiveIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxProperties:{$ref:"#/definitions/positiveInteger"},minProperties:{$ref:"#/definitions/positiveIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},
default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},
not:{$ref:"#"}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}};p={$schema:{type:"string"},env:{type:"object"},extends:{$ref:"#/definitions/stringOrStrings"},globals:{type:"object"},overrides:{type:"array",items:{$ref:"#/definitions/overrideConfig"},additionalItems:!1},parser:{type:["string","null"]},parserOptions:{type:"object"},plugins:{type:"array"},processor:{type:"string"},rules:{type:"object"},settings:{type:"object"},noInlineConfig:{type:"boolean"},reportUnusedDisableDirectives:{type:"boolean"},
ecmaFeatures:{type:"object"}};const E={definitions:{stringOrStrings:{oneOf:[{type:"string"},{type:"array",items:{type:"string"},additionalItems:!1}]},stringOrStringsRequired:{oneOf:[{type:"string"},{type:"array",items:{type:"string"},additionalItems:!1,minItems:1}]},objectConfig:{type:"object",properties:{root:{type:"boolean"},ignorePatterns:{$ref:"#/definitions/stringOrStrings"},...p},additionalProperties:!1},overrideConfig:{type:"object",properties:{excludedFiles:{$ref:"#/definitions/stringOrStrings"},
files:{$ref:"#/definitions/stringOrStringsRequired"},...p},required:["files"],additionalProperties:!1}},$ref:"#/definitions/objectConfig"};p=function(N,L){const x={};for(const [y,G]of Object.entries(N))Object.hasOwnProperty.call(L,y)||(x[y]=G);return x}(u["default"].es2015,u["default"].es5);l={Atomics:!1,SharedArrayBuffer:!1};const A={BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,globalThis:!1};var D=new Map(Object.entries({builtin:{globals:u["default"].es5},es6:{globals:p,parserOptions:{ecmaVersion:6}},
es2015:{globals:p,parserOptions:{ecmaVersion:6}},es2017:{globals:{...p,...l},parserOptions:{ecmaVersion:8}},es2020:{globals:{...p,...l,...A},parserOptions:{ecmaVersion:11}},es2021:{globals:{...p,...l,...A,AggregateError:!1,FinalizationRegistry:!1,WeakRef:!1},parserOptions:{ecmaVersion:12}},browser:{globals:u["default"].browser},node:{globals:u["default"].node,parserOptions:{ecmaFeatures:{globalReturn:!0}}},"shared-node-browser":{globals:u["default"]["shared-node-browser"]},worker:{globals:u["default"].worker},
serviceworker:{globals:u["default"].serviceworker},commonjs:{globals:u["default"].commonjs,parserOptions:{ecmaFeatures:{globalReturn:!0}}},amd:{globals:u["default"].amd},mocha:{globals:u["default"].mocha},jasmine:{globals:u["default"].jasmine},jest:{globals:u["default"].jest},phantomjs:{globals:u["default"].phantomjs},jquery:{globals:u["default"].jquery},qunit:{globals:u["default"].qunit},prototypejs:{globals:u["default"].prototypejs},shelljs:{globals:u["default"].shelljs},meteor:{globals:u["default"].meteor},
mongo:{globals:u["default"].mongo},protractor:{globals:u["default"].protractor},applescript:{globals:u["default"].applescript},nashorn:{globals:u["default"].nashorn},atomtest:{globals:u["default"].atomtest},embertest:{globals:u["default"].embertest},webextensions:{globals:u["default"].webextensions},greasemonkey:{globals:u["default"].greasemonkey}}));const F=((N={})=>{N=new n["default"]({meta:!1,useDefaults:!0,validateSchema:!1,missingRefs:"ignore",verbose:!0,schemaId:"auto",...N});N.addMetaSchema(z);
N._opts.defaultMeta=z.id;return N})(),C=new WeakMap,B=Function.prototype;let I;const J={error:2,warn:1,off:0},M=new WeakSet;class P{constructor({builtInRules:N=new Map}={}){this.builtInRules=N}getRuleOptionsSchema(N){if(!N)return null;N=N.schema||N.meta&&N.meta.schema;return Array.isArray(N)?N.length?{type:"array",items:N,minItems:0,maxItems:N.length}:{type:"array",minItems:0,maxItems:0}:N||null}validateRuleSeverity(N){N=Array.isArray(N)?N[0]:N;const L="string"===typeof N?J[N.toLowerCase()]:N;if(0===
L||1===L||2===L)return L;throw Error(`\tSeverity should be one of the following: 0 = off, 1 = warn, 2 = error (you passed '${g["default"].inspect(N).replace(/'/gu,'"').replace(/\n/gu,"")}').\n`);}validateRuleSchema(N,L){if(!C.has(N)){const x=this.getRuleOptionsSchema(N);x&&C.set(N,F.compile(x))}if(N=C.get(N))if(N(L),N.errors)throw Error(N.errors.map(x=>`\tValue ${JSON.stringify(x.data)} ${x.message}.\n`).join(""));}validateRuleOptions(N,L,x,y=null){try{0!==this.validateRuleSeverity(x)&&this.validateRuleSchema(N,
Array.isArray(x)?x.slice(1):[])}catch(G){N=`Configuration for rule "${L}" is invalid:\n${G.message}`;if("string"===typeof y)throw Error(`${y}:\n\t${N}`);throw Error(N);}}validateEnvironment(N,L,x=B){N&&Object.keys(N).forEach(y=>{if(!x(y)&&!D.get(y))throw Error(`${L}:\n\tEnvironment key "${y}" is unknown\n`);})}validateRules(N,L,x=B){N&&Object.keys(N).forEach(y=>{const G=x(y)||this.builtInRules.get(y)||null;this.validateRuleOptions(G,y,N[y],L)})}validateGlobals(N,L=null){N&&Object.entries(N).forEach(([x,
y])=>{try{h(y)}catch(G){throw Error(`ESLint configuration of global '${x}' in ${L} is invalid:\n${G.message}`);}})}validateProcessor(N,L,x){if(N&&!x(N))throw Error(`ESLint configuration of processor in '${L}' is invalid: '${N}' was not found.`);}formatErrors(N){return N.map(L=>{if("additionalProperties"===L.keyword)return`Unexpected top-level property "${L.dataPath.length?`${L.dataPath.slice(1)}.${L.params.additionalProperty}`:L.params.additionalProperty}"`;if("type"===L.keyword){const x=L.dataPath.slice(1),
y=Array.isArray(L.schema)?L.schema.join("/"):L.schema;L=JSON.stringify(L.data);return`Property "${x}" is the wrong type (expected ${y} but got \`${L}\`)`}return`"${"."===L.dataPath[0]?L.dataPath.slice(1):L.dataPath}" ${L.message}. Value: ${JSON.stringify(L.data)}`}).map(L=>`\t- ${L}.\n`).join("")}validateConfigSchema(N,L=null){I=I||F.compile(E);if(!I(N))throw Error(`ESLint configuration in ${L} is invalid:\n${this.formatErrors(I.errors)}`);Object.hasOwnProperty.call(N,"ecmaFeatures")&&(N=JSON.stringify({source:L,
errorCode:"ESLINT_LEGACY_ECMAFEATURES"}),v.has(N)||(v.add(N),L=f["default"].relative(k.cwd(),L),k.emitWarning(`${r.ESLINT_LEGACY_ECMAFEATURES} (found in "${L}")`,"DeprecationWarning","ESLINT_LEGACY_ECMAFEATURES")))}validate(N,L,x,y){this.validateConfigSchema(N,L);this.validateRules(N.rules,L,x);this.validateEnvironment(N.env,L,y);this.validateGlobals(N.globals,L);for(const G of N.overrides||[])this.validateRules(G.rules,L,x),this.validateEnvironment(G.env,L,y),this.validateGlobals(N.globals,L)}validateConfigArray(N){const L=
Map.prototype.get.bind(N.pluginEnvironments),x=Map.prototype.get.bind(N.pluginProcessors),y=Map.prototype.get.bind(N.pluginRules);for(const G of N)M.has(G)||(M.add(G),this.validateEnvironment(G.env,G.name,L),this.validateGlobals(G.globals,G.name),this.validateProcessor(G.processor,G.name,x),this.validateRules(G.rules,G.name,y))}}const O=/^@.*\//iu;u=Object.freeze({__proto__:null,normalizePackageName:function(N,L){N.includes("\\")&&(N=N.replace(/\\/gu,"/"));if("@"===N.charAt(0)){const x=new RegExp(`^(@[^/]+)(?:/(?:${L})?)?$`,
"u"),y=new RegExp(`^${L}(-|$)`,"u");x.test(N)?N=N.replace(x,`$1/${L}`):y.test(N.split("/")[1])||(N=N.replace(/^@([^/]+)\/(.*)$/u,`@$1/${L}-$2`))}else N.startsWith(`${L}-`)||(N=`${L}-${N}`);return N},getShorthandName:function(N,L){if("@"===N[0]){let x=(new RegExp(`^(@[^/]+)/${L}$`,"u")).exec(N);if(x)return x[1];if(x=(new RegExp(`^(@[^/]+)/${L}-(.+)$`,"u")).exec(N))return`${x[1]}/${x[2]}`}else if(N.startsWith(`${L}-`))return N.slice(L.length+1);return N},getNamespaceFromTerm:function(N){return(N=N.match(O))?
N[0]:""}});c.Legacy={environments:D,ConfigOps:a,ConfigValidator:P,naming:u}},(u,c,a)=>{function b(B){if(!(this instanceof b))return new b(B);B=this._opts=A.copy(B)||{};var I=this._opts.logger;if(!1===I)this.logger={log:g,warn:g,error:g};else{void 0===I&&(I=f);if(!("object"==typeof I&&I.log&&I.warn&&I.error))throw Error("logger must implement log, warn and error methods");this.logger=I}this._schemas={};this._refs={};this._fragments={};this._formats=v(B.format);this._cache=B.cache||new q;this._loadingSchemas=
{};this._compilations=[];this.RULES=z();a:switch(B.schemaId){case "auto":I=p;break a;case "id":I=h;break a;default:I=k}this._getId=I;B.loopRequired=B.loopRequired||Infinity;"property"==B.errorDataPath&&(B._errorDataPathProperty=!0);void 0===B.serialize&&(B.serialize=r);I=A.copy(this._opts);for(var J=0;J<F.length;J++)delete I[F[J]];this._metaOpts=I;if(B.formats)for(var M in this._opts.formats)this.addFormat(M,this._opts.formats[M]);if(B.keywords)for(var P in this._opts.keywords)this.addKeyword(P,this._opts.keywords[P]);
this._opts.$data&&(M=a(515),this.addMetaSchema(M,M.$id,!0));!1!==this._opts.meta&&(M=a(514),this._opts.$data&&(M=E(M,C)),this.addMetaSchema(M,D,!0),this._refs["http://json-schema.org/schema"]=D);"object"==typeof B.meta&&this.addMetaSchema(B.meta);B.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}});if(B=this._opts.schemas)if(Array.isArray(B))this.addSchema(B);else for(var O in B)this.addSchema(B[O],O)}function d(B,I){I=e.normalizeId(I);return B._schemas[I]||B._refs[I]||B._fragments[I]}
function m(B,I,J){for(var M in I){var P=I[M];P.meta||J&&!J.test(M)||(B._cache.del(P.cacheKey),delete I[M])}}function h(B){B.$id&&this.logger.warn("schema $id ignored",B.$id);return B.id}function k(B){B.id&&this.logger.warn("schema id ignored",B.id);return B.$id}function p(B){if(B.$id&&B.id&&B.$id!=B.id)throw Error("schema $id is different from id");return B.$id||B.id}function l(B,I){if(B._schemas[I]||B._refs[I])throw Error('schema with key or id "'+I+'" already exists');}function g(){}var f=a(423),
n=a(471),e=a(472),q=a(482),t=a(477),r=a(480),v=a(483),z=a(484),E=a(509),A=a(475);u.exports=b;b.prototype.validate=function(B,I){if("string"==typeof B){var J=this.getSchema(B);if(!J)throw Error('no schema with key or ref "'+B+'"');}else J=this._addSchema(B),J=J.validate||this._compile(J);I=J(I);!0!==J.$async&&(this.errors=J.errors);return I};b.prototype.compile=function(B,I){B=this._addSchema(B,void 0,I);return B.validate||this._compile(B)};b.prototype.addSchema=function(B,I,J,M){if(Array.isArray(B)){for(I=
0;I<B.length;I++)this.addSchema(B[I],void 0,J,M);return this}var P=this._getId(B);if(void 0!==P&&"string"!=typeof P)throw Error("schema id must be string");I=e.normalizeId(I||P);l(this,I);this._schemas[I]=this._addSchema(B,J,M,!0);return this};b.prototype.addMetaSchema=function(B,I,J){this.addSchema(B,I,J,!0);return this};b.prototype.validateSchema=function(B,I){var J=B.$schema;if(void 0!==J&&"string"!=typeof J)throw Error("$schema must be a string");(J=J||this._opts.defaultMeta)||(J=this._opts.meta,
this._opts.defaultMeta="object"==typeof J?this._getId(J)||J:this.getSchema(D)?D:void 0,J=this._opts.defaultMeta);if(!J)return this.logger.warn("meta-schema not available"),this.errors=null,!0;B=this.validate(J,B);if(!B&&I)if(I="schema is invalid: "+this.errorsText(),"log"==this._opts.validateSchema)this.logger.error(I);else throw Error(I);return B};b.prototype.getSchema=function(B){var I=d(this,B);switch(typeof I){case "object":return I.validate||this._compile(I);case "string":return this.getSchema(I);
case "undefined":var J=e.schema.call(this,{schema:{}},B);if(J){I=J.schema;var M=J.root;J=J.baseId;var P=n.call(this,I,M,void 0,J);this._fragments[B]=new t({ref:B,fragment:!0,schema:I,root:M,baseId:J,validate:P});B=P}else B=void 0;return B}};b.prototype.removeSchema=function(B){if(B instanceof RegExp)return m(this,this._schemas,B),m(this,this._refs,B),this;switch(typeof B){case "undefined":m(this,this._schemas);m(this,this._refs);this._cache.clear();break;case "string":var I=d(this,B);I&&this._cache.del(I.cacheKey);
delete this._schemas[B];delete this._refs[B];break;case "object":if(I=(I=this._opts.serialize)?I(B):B,this._cache.del(I),B=this._getId(B))B=e.normalizeId(B),delete this._schemas[B],delete this._refs[B]}return this};b.prototype.addFormat=function(B,I){"string"==typeof I&&(I=new RegExp(I));this._formats[B]=I;return this};b.prototype.errorsText=function(B,I){B=B||this.errors;if(!B)return"No errors";I=I||{};var J=void 0===I.separator?", ":I.separator;I=void 0===I.dataVar?"data":I.dataVar;for(var M="",
P=0;P<B.length;P++){var O=B[P];O&&(M+=I+O.dataPath+" "+O.message+J)}return M.slice(0,-J.length)};b.prototype._addSchema=function(B,I,J,M){if("object"!=typeof B&&"boolean"!=typeof B)throw Error("schema should be object or boolean");var P=this._opts.serialize;P=P?P(B):B;var O=this._cache.get(P);if(O)return O;M=M||!1!==this._opts.addUsedSchema;(O=e.normalizeId(this._getId(B)))&&M&&l(this,O);I=!1!==this._opts.validateSchema&&!I;var N;I&&!(N=O&&O==e.normalizeId(B.$schema))&&this.validateSchema(B,!0);var L=
e.ids.call(this,B);J=new t({id:O,schema:B,localRefs:L,cacheKey:P,meta:J});"#"!=O[0]&&M&&(this._refs[O]=J);this._cache.put(P,J);I&&N&&this.validateSchema(B,!0);return J};b.prototype._compile=function(B,I){function J(){var O=B.validate,N=O.apply(this,arguments);J.errors=O.errors;return N}if(B.compiling)return B.validate=J,J.schema=B.schema,J.errors=null,J.root=I?I:J,!0===B.schema.$async&&(J.$async=!0),J;B.compiling=!0;if(B.meta){var M=this._opts;this._opts=this._metaOpts}try{var P=n.call(this,B.schema,
I,B.localRefs)}catch(O){throw delete B.validate,O;}finally{B.compiling=!1,B.meta&&(this._opts=M)}B.validate=P;B.refs=P.refs;B.refVal=P.refVal;B.root=P.root;return P};b.prototype.compileAsync=a(510);u=a(511);b.prototype.addKeyword=u.add;b.prototype.getKeyword=u.get;b.prototype.removeKeyword=u.remove;b.prototype.validateKeyword=u.validate;u=a(479);b.ValidationError=u.Validation;b.MissingRefError=u.MissingRef;b.$dataMetaSchema=E;var D="http://json-schema.org/draft-07/schema",F=["removeAdditional","useDefaults",
"coerceTypes","strictDefaults"],C=["/properties"]},(u,c,a)=>{function b(A,D,F,C){function B(){var pa=ka.validate,S=pa.apply(this,arguments);B.errors=pa.errors;return S}function I(pa,S,ma,ya){var Ga=!S||S&&S.schema==pa;if(S.schema!=D.schema)return b.call(x,pa,S,ma,ya);ma=!0===pa.$async;ya=r({isTop:!0,schema:pa,isRoot:Ga,baseId:ya,root:S,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:q.MissingRef,RULES:qa,validate:r,util:e,resolve:n,resolveRef:J,usePattern:O,useDefault:N,useCustomRule:L,
opts:y,formats:ra,logger:x.logger,self:x});ya=f(G,l)+f(R,k)+f(aa,p)+f(X,g)+ya;y.processCode&&(ya=y.processCode(ya,pa));try{var Ha=(new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",ya))(x,qa,ra,D,G,aa,X,z,v,E);G[0]=Ha}catch(ab){throw x.logger.error("Error compiling schema, function code:",ya),ab;}Ha.schema=pa;Ha.errors=null;Ha.refs=K;Ha.refVal=G;Ha.root=Ga?Ha:S;ma&&(Ha.$async=!0);!0===y.sourceCode&&(Ha.source={code:ya,patterns:R,
defaults:aa});return Ha}function J(pa,S,ma){S=n.url(pa,S);var ya=K[S];if(void 0!==ya)return pa=G[ya],P(pa,"refVal["+ya+"]");if(!ma&&D.refs&&(ya=D.refs[S],void 0!==ya))return pa=D.refVal[ya],ya=M(S,pa),P(pa,ya);ya=M(S);ma=n.call(x,I,D,S);if(void 0===ma){var Ga=F&&F[S];Ga&&(ma=n.inlineRef(Ga,y.inlineRefs)?Ga:b.call(x,Ga,D,F,pa))}if(void 0===ma)delete K[S];else return G[K[S]]=ma,P(ma,ya)}function M(pa,S){var ma=G.length;G[ma]=S;K[pa]=ma;return"refVal"+ma}function P(pa,S){return"object"==typeof pa||"boolean"==
typeof pa?{code:S,schema:pa,inline:!0}:{code:S,$async:pa&&!!pa.$async}}function O(pa){var S=Z[pa];void 0===S&&(S=Z[pa]=R.length,R[S]=pa);return"pattern"+S}function N(pa){switch(typeof pa){case "boolean":case "number":return""+pa;case "string":return e.toQuotedString(pa);case "object":if(null===pa)return"null";var S=t(pa),ma=xa[S];void 0===ma&&(ma=xa[S]=aa.length,aa[ma]=pa);return"default"+ma}}function L(pa,S,ma,ya){if(!1!==x._opts.validateSchema){var Ga=pa.definition.dependencies;if(Ga&&!Ga.every(function(ea){return Object.prototype.hasOwnProperty.call(ma,
ea)}))throw Error("parent schema must have all required keywords: "+Ga.join(","));if((Ga=pa.definition.validateSchema)&&!Ga(S))if(Ga="keyword schema is invalid: "+x.errorsText(Ga.errors),"log"==x._opts.validateSchema)x.logger.error(Ga);else throw Error(Ga);}Ga=pa.definition.compile;var Ha=pa.definition.inline,ab=pa.definition.macro;if(Ga)S=Ga.call(x,S,ma,ya);else if(ab)S=ab.call(x,S,ma,ya),!1!==y.validateSchema&&x.validateSchema(S,!0);else if(Ha)S=Ha.call(x,ya,pa.keyword,S,ma);else if(S=pa.definition.validate,
!S)return;if(void 0===S)throw Error('custom keyword "'+pa.keyword+'"failed to compile');pa=X.length;X[pa]=S;return{code:"customRule"+pa,validate:S}}var x=this,y=this._opts,G=[void 0],K={},R=[],Z={},aa=[],xa={},X=[];D=D||{schema:A,refVal:G,refs:K};var wa=d.call(this,A,D,C),ka=this._compilations[wa.index];if(wa.compiling)return ka.callValidate=B;var ra=this._formats,qa=this.RULES;try{var va=I(A,D,F,C);ka.validate=va;var U=ka.callValidate;U&&(U.schema=va.schema,U.errors=null,U.refs=va.refs,U.refVal=
va.refVal,U.root=va.root,U.$async=va.$async,y.sourceCode&&(U.source=va.source));return va}finally{m.call(this,A,D,C)}}function d(A,D,F){var C=h.call(this,A,D,F);if(0<=C)return{index:C,compiling:!0};C=this._compilations.length;this._compilations[C]={schema:A,root:D,baseId:F};return{index:C,compiling:!1}}function m(A,D,F){A=h.call(this,A,D,F);0<=A&&this._compilations.splice(A,1)}function h(A,D,F){for(var C=0;C<this._compilations.length;C++){var B=this._compilations[C];if(B.schema==A&&B.root==D&&B.baseId==
F)return C}return-1}function k(A,D){return"var pattern"+A+" = new RegExp("+e.toQuotedString(D[A])+");"}function p(A){return"var default"+A+" = defaults["+A+"];"}function l(A,D){return void 0===D[A]?"":"var refVal"+A+" = refVal["+A+"];"}function g(A){return"var customRule"+A+" = customRules["+A+"];"}function f(A,D){if(!A.length)return"";for(var F="",C=0;C<A.length;C++)F+=D(C,A);return F}var n=a(472),e=a(475),q=a(479),t=a(480),r=a(481),v=e.ucs2length,z=a(474),E=q.Validation;u.exports=b},(u,c,a)=>{function b(A,
D,F){var C=this._refs[F];if("string"==typeof C)if(this._refs[C])C=this._refs[C];else return b.call(this,A,D,C);C=C||this._schemas[F];if(C instanceof t)return h(C.schema,this._opts.inlineRefs)?C.schema:C.validate||this._compile(C);F=d.call(this,D,F);var B;if(F){var I=F.schema;D=F.root;var J=F.baseId}I instanceof t?B=I.validate||A.call(this,I.schema,D,void 0,J):void 0!==I&&(B=h(I,this._opts.inlineRefs)?I:A.call(this,I,D,void 0,J));return B}function d(A,D){var F=n.parse(D),C=n.serialize(F).split("#")[0]+
"#",B=l(this._getId(A.schema));if(0===Object.keys(A.schema).length||C!==B){C=g(C);var I=this._refs[C];if("string"==typeof I)return(B=d.call(this,A,I))?(A=B.schema,D=B.baseId,B=B.root,(C=this._getId(A))&&(D=f(D,C)),F=m.call(this,F,D,A,B)):F=void 0,F;if(I instanceof t)I.validate||this._compile(I),A=I;else if(I=this._schemas[C],I instanceof t){I.validate||this._compile(I);if(C==g(D))return{schema:I,root:A,baseId:B};A=I}else return;if(!A.schema)return;B=l(this._getId(A.schema))}return m.call(this,F,B,
A.schema,A)}function m(A,D,F,C){A.fragment=A.fragment||"";if("/"==A.fragment.slice(0,1)){A=A.fragment.split("/");for(var B=1;B<A.length;B++){var I=A[B];if(I){I=q.unescapeFragment(I);F=F[I];if(void 0===F)break;!v[I]&&((I=this._getId(F))&&(D=f(D,I)),F.$ref&&(I=f(D,F.$ref),I=d.call(this,C,I)))&&(F=I.schema,C=I.root,D=I.baseId)}}if(void 0!==F&&F!==C.schema)return{schema:F,root:C,baseId:D}}}function h(A,D){if(!1===D)return!1;if(void 0===D||!0===D)return k(A);if(D)return p(A)<=D}function k(A){if(Array.isArray(A))for(var D=
0;D<A.length;D++){var F=A[D];if("object"==typeof F&&!k(F))return!1}else for(D in A){if("$ref"==D)return!1;F=A[D];if("object"==typeof F&&!k(F))return!1}return!0}function p(A){var D=0;if(Array.isArray(A))for(var F=0;F<A.length;F++){var C=A[F];"object"==typeof C&&(D+=p(C));if(Infinity==D)return Infinity}else for(F in A){if("$ref"==F)return Infinity;if(z[F])D++;else if(C=A[F],"object"==typeof C&&(D+=p(C)+1),Infinity==D)return Infinity}return D}function l(A,D){!1!==D&&(A=g(A));A=n.parse(A);return n.serialize(A).split("#")[0]+
"#"}function g(A){return A?A.replace(E,""):""}function f(A,D){D=g(D);return n.resolve(A,D)}var n=a(473),e=a(474),q=a(475),t=a(477),r=a(478);u.exports=b;b.normalizeId=g;b.fullPath=l;b.url=f;b.ids=function(A){var D=g(this._getId(A)),F={"":D},C={"":l(D,!1)},B={},I=this;r(A,{allKeys:!0},function(J,M,P,O,N,L,x){if(""!==M){P=I._getId(J);L=F[O];O=C[O]+"/"+N;void 0!==x&&(O+="/"+("number"==typeof x?x:q.escapeFragment(x)));if("string"==typeof P)if(P=L=g(L?n.resolve(L,P):P),x=I._refs[P],"string"==typeof x&&
(x=I._refs[x]),x&&x.schema){if(!e(J,x.schema))throw Error('id "'+P+'" resolves to more than one schema');}else if(P!=g(O))if("#"==P[0]){if(B[P]&&!e(J,B[P]))throw Error('id "'+P+'" resolves to more than one schema');B[P]=J}else I._refs[P]=O;F[M]=L;C[M]=O}});return B};b.inlineRef=h;b.schema=d;var v=q.toHash(["properties","patternProperties","enum","dependencies","definitions"]),z=q.toHash("type format pattern maxLength minLength maxProperties minProperties maxItems minItems maximum minimum uniqueItems multipleOf required enum".split(" ")),
E=/#\/?$/},function(u,c){(function(a,b){b(c)})(this,function(a){function b(){for(var T=arguments.length,da=Array(T),oa=0;oa<T;oa++)da[oa]=arguments[oa];if(1<da.length){da[0]=da[0].slice(0,-1);T=da.length-1;for(oa=1;oa<T;++oa)da[oa]=da[oa].slice(1,-1);da[T]=da[T].slice(1);return da.join("")}return da[0]}function d(T){return"(?:"+T+")"}function m(T){return void 0===T?"undefined":null===T?"null":Object.prototype.toString.call(T).split(" ").pop().split("]").shift().toLowerCase()}function h(T){return T.toUpperCase()}
function k(T){var da=b("[0-9]","[A-Fa-f]"),oa=d(d("%[EFef]"+da+"%"+da+da+"%"+da+da)+"|"+d("%[89A-Fa-f]"+da+"%"+da+da)+"|"+d("%"+da+da)),V=b("[\\:\\/\\?\\#\\[\\]\\@]","[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]"),ha=T?"[\\uE000-\\uF8FF]":"[]";T=b("[A-Za-z]","[0-9]","[\\-\\.\\_\\~]",T?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]");var la=d("[A-Za-z]"+b("[A-Za-z]","[0-9]","[\\+\\-\\.]")+"*"),ua=d(d(oa+"|"+b(T,"[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]","[\\:]"))+"*");d(d("25[0-5]")+
"|"+d("2[0-4][0-9]")+"|"+d("1[0-9][0-9]")+"|"+d("[1-9][0-9]")+"|[0-9]");var ba=d(d("25[0-5]")+"|"+d("2[0-4][0-9]")+"|"+d("1[0-9][0-9]")+"|"+d("0?[1-9][0-9]")+"|0?0?[0-9]");ba=d(ba+"\\."+ba+"\\."+ba+"\\."+ba);var w=d(da+"{1,4}"),H=d(d(w+"\\:"+w)+"|"+ba),Q=d(d(w+"\\:")+"{6}"+H),ca=d("\\:\\:"+d(w+"\\:")+"{5}"+H),ta=d(d(w)+"?\\:\\:"+d(w+"\\:")+"{4}"+H),Ca=d(d(d(w+"\\:")+"{0,1}"+w)+"?\\:\\:"+d(w+"\\:")+"{3}"+H),Ba=d(d(d(w+"\\:")+"{0,2}"+w)+"?\\:\\:"+d(w+"\\:")+"{2}"+H),Ea=d(d(d(w+"\\:")+"{0,3}"+w)+"?\\:\\:"+
w+"\\:"+H);H=d(d(d(w+"\\:")+"{0,4}"+w)+"?\\:\\:"+H);var Ua=d(d(d(w+"\\:")+"{0,5}"+w)+"?\\:\\:"+w);w=d(d(d(w+"\\:")+"{0,6}"+w)+"?\\:\\:");Q=d([Q,ca,ta,Ca,Ba,Ea,H,Ua,w].join("|"));ca=d(d(T+"|"+oa)+"+");d(Q+"\\%25"+ca);ta=d(Q+d("\\%25|\\%(?!"+da+"{2})")+ca);Ca=d("[vV]"+da+"+\\."+b(T,"[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]","[\\:]")+"+");ta=d("\\["+d(ta+"|"+Q+"|"+Ca)+"\\]");Ca=d(d(oa+"|"+b(T,"[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]"))+"*");ta=d(ta+"|"+ba+"(?!"+Ca+")|"+Ca);Ca=d("[0-9]*");w=d(d(ua+"@")+"?"+ta+
d("\\:"+Ca)+"?");var Sa=d(oa+"|"+b(T,"[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]","[\\:\\@]"));Ba=d(Sa+"*");Ua=d(Sa+"+");H=d(d(oa+"|"+b(T,"[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]","[\\@]"))+"+");Ba=d(d("\\/"+Ba)+"*");Ea=d("\\/"+d(Ua+Ba)+"?");H=d(H+Ba);Ua=d(Ua+Ba);var Va="(?!"+Sa+")";d(Ba+"|"+Ea+"|"+H+"|"+Ua+"|"+Va);var cb=d(d(Sa+"|"+b("[\\/\\?]",ha))+"*");Sa=d(d(Sa+"|[\\/\\?]")+"*");var gb=d(d("\\/\\/"+w+Ba)+"|"+Ea+"|"+Ua+"|"+Va),lb=d(la+"\\:"+gb+d("\\?"+cb)+"?"+d("\\#"+Sa)+"?");w=d(d("\\/\\/"+w+Ba)+"|"+Ea+
"|"+H+"|"+Va);w=d(w+d("\\?"+cb)+"?"+d("\\#"+Sa)+"?");d(lb+"|"+w);d(la+"\\:"+gb+d("\\?"+cb)+"?");d(d("\\/\\/("+d("("+ua+")@")+"?("+ta+")"+d("\\:("+Ca+")")+"?)")+"?("+Ba+"|"+Ea+"|"+Ua+"|"+Va+")");d("\\?("+cb+")");d("\\#("+Sa+")");d(d("\\/\\/("+d("("+ua+")@")+"?("+ta+")"+d("\\:("+Ca+")")+"?)")+"?("+Ba+"|"+Ea+"|"+H+"|"+Va+")");d("\\?("+cb+")");d("\\#("+Sa+")");d(d("\\/\\/("+d("("+ua+")@")+"?("+ta+")"+d("\\:("+Ca+")")+"?)")+"?("+Ba+"|"+Ea+"|"+Ua+"|"+Va+")");d("\\?("+cb+")");d("\\#("+Sa+")");d("("+ua+")@");
d("\\:("+Ca+")");return{NOT_SCHEME:new RegExp(b("[^]","[A-Za-z]","[0-9]","[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(b("[^\\%\\:]",T,"[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]"),"g"),NOT_HOST:new RegExp(b("[^\\%\\[\\]\\:]",T,"[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]"),"g"),NOT_PATH:new RegExp(b("[^\\%\\/\\:\\@]",T,"[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]"),"g"),NOT_PATH_NOSCHEME:new RegExp(b("[^\\%\\/\\@]",T,"[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]"),"g"),NOT_QUERY:new RegExp(b("[^\\%]",T,"[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",
"[\\:\\@\\/\\?]",ha),"g"),NOT_FRAGMENT:new RegExp(b("[^\\%]",T,"[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]","[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(b("[^]",T,"[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]"),"g"),UNRESERVED:new RegExp(T,"g"),OTHER_CHARS:new RegExp(b("[^\\%]",T,V),"g"),PCT_ENCODED:new RegExp(oa,"g"),IPV4ADDRESS:new RegExp("^("+ba+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Q+")"+d(d("\\%25|\\%(?!"+da+"{2})")+"("+ca+")")+"?\\]?$")}}function p(T){throw new RangeError(x[T]);}function l(T,da){var oa=T.split("@"),
V="";1<oa.length&&(V=oa[0]+"@",T=oa[1]);T=T.replace(L,".");T=T.split(".");oa=[];for(var ha=T.length;ha--;)oa[ha]=da(T[ha]);da=oa.join(".");return V+da}function g(T){for(var da=[],oa=0,V=T.length;oa<V;){var ha=T.charCodeAt(oa++);if(55296<=ha&&56319>=ha&&oa<V){var la=T.charCodeAt(oa++);56320==(la&64512)?da.push(((ha&1023)<<10)+(la&1023)+65536):(da.push(ha),oa--)}else da.push(ha)}return da}function f(T){T=T.charCodeAt(0);return 16>T?"%0"+T.toString(16).toUpperCase():128>T?"%"+T.toString(16).toUpperCase():
2048>T?"%"+(T>>6|192).toString(16).toUpperCase()+"%"+(T&63|128).toString(16).toUpperCase():"%"+(T>>12|224).toString(16).toUpperCase()+"%"+(T>>6&63|128).toString(16).toUpperCase()+"%"+(T&63|128).toString(16).toUpperCase()}function n(T){for(var da="",oa=0,V=T.length;oa<V;){var ha=parseInt(T.substr(oa+1,2),16);if(128>ha)da+=String.fromCharCode(ha),oa+=3;else if(194<=ha&&224>ha){if(6<=V-oa){var la=parseInt(T.substr(oa+4,2),16);da+=String.fromCharCode((ha&31)<<6|la&63)}else da+=T.substr(oa,6);oa+=6}else if(224<=
ha){if(9<=V-oa){la=parseInt(T.substr(oa+4,2),16);var ua=parseInt(T.substr(oa+7,2),16);da+=String.fromCharCode((ha&15)<<12|(la&63)<<6|ua&63)}else da+=T.substr(oa,9);oa+=9}else da+=T.substr(oa,3),oa+=3}return da}function e(T,da){function oa(V){var ha=n(V);return ha.match(da.UNRESERVED)?ha:V}T.scheme&&(T.scheme=String(T.scheme).replace(da.PCT_ENCODED,oa).toLowerCase().replace(da.NOT_SCHEME,""));void 0!==T.userinfo&&(T.userinfo=String(T.userinfo).replace(da.PCT_ENCODED,oa).replace(da.NOT_USERINFO,f).replace(da.PCT_ENCODED,
h));void 0!==T.host&&(T.host=String(T.host).replace(da.PCT_ENCODED,oa).toLowerCase().replace(da.NOT_HOST,f).replace(da.PCT_ENCODED,h));void 0!==T.path&&(T.path=String(T.path).replace(da.PCT_ENCODED,oa).replace(T.scheme?da.NOT_PATH:da.NOT_PATH_NOSCHEME,f).replace(da.PCT_ENCODED,h));void 0!==T.query&&(T.query=String(T.query).replace(da.PCT_ENCODED,oa).replace(da.NOT_QUERY,f).replace(da.PCT_ENCODED,h));void 0!==T.fragment&&(T.fragment=String(T.fragment).replace(da.PCT_ENCODED,oa).replace(da.NOT_FRAGMENT,
f).replace(da.PCT_ENCODED,h));return T}function q(T){return T.replace(/^0*(.*)/,"$1")||"0"}function t(T,da){da=T.match(da.IPV4ADDRESS)||[];return(da=M(da,2)[1])?da.split(".").map(q).join("."):T}function r(T,da){var oa=T.match(da.IPV6ADDRESS)||[];oa=M(oa,3);var V=oa[1];oa=oa[2];if(V){T=V.toLowerCase().split("::").reverse();V=M(T,2);T=V[0];V=(V=V[1])?V.split(":").map(q):[];var ha=T.split(":").map(q),la=da.IPV4ADDRESS.test(ha[ha.length-1]),ua=la?7:8,ba=ha.length-ua;T=Array(ua);for(var w=0;w<ua;++w)T[w]=
V[w]||ha[ba+w]||"";la&&(T[ua-1]=t(T[ua-1],da));da=T.reduce(function(H,Q,ca){Q&&"0"!==Q||((Q=H[H.length-1])&&Q.index+Q.length===ca?Q.length++:H.push({index:ca,length:1}));return H},[]).sort(function(H,Q){return Q.length-H.length})[0];V=void 0;da&&1<da.length?(V=T.slice(0,da.index),da=T.slice(da.index+da.length),V=V.join(":")+"::"+da.join(":")):V=T.join(":");oa&&(V+="%"+oa);return V}return T}function v(T){var da=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},oa={},V=!1!==da.iri?J:I;"suffix"===
da.reference&&(T=(da.scheme?da.scheme+":":"")+"//"+T);var ha=T.match(wa);if(ha){ka?(oa.scheme=ha[1],oa.userinfo=ha[3],oa.host=ha[4],oa.port=parseInt(ha[5],10),oa.path=ha[6]||"",oa.query=ha[7],oa.fragment=ha[8],isNaN(oa.port)&&(oa.port=ha[5])):(oa.scheme=ha[1]||void 0,oa.userinfo=-1!==T.indexOf("@")?ha[3]:void 0,oa.host=-1!==T.indexOf("//")?ha[4]:void 0,oa.port=parseInt(ha[5],10),oa.path=ha[6]||"",oa.query=-1!==T.indexOf("?")?ha[7]:void 0,oa.fragment=-1!==T.indexOf("#")?ha[8]:void 0,isNaN(oa.port)&&
(oa.port=T.match(/\/\/(?:.|\n)*:(?:\/|\?|#|$)/)?ha[4]:void 0));oa.host&&(oa.host=r(t(oa.host,V),V));oa.reference=void 0!==oa.scheme||void 0!==oa.userinfo||void 0!==oa.host||void 0!==oa.port||oa.path||void 0!==oa.query?void 0===oa.scheme?"relative":void 0===oa.fragment?"absolute":"uri":"same-document";da.reference&&"suffix"!==da.reference&&da.reference!==oa.reference&&(oa.error=oa.error||"URI is not a "+da.reference+" reference.");ha=X[(da.scheme||oa.scheme||"").toLowerCase()];if(da.unicodeSupport||
ha&&ha.unicodeSupport)e(oa,V);else{if(oa.host&&(da.domainHost||ha&&ha.domainHost))try{oa.host=xa.toASCII(oa.host.replace(V.PCT_ENCODED,n).toLowerCase())}catch(la){oa.error=oa.error||"Host's domain name can not be converted to ASCII via punycode: "+la}e(oa,I)}ha&&ha.parse&&ha.parse(oa,da)}else oa.error=oa.error||"URI can not be parsed.";return oa}function z(T,da){da=!1!==da.iri?J:I;var oa=[];void 0!==T.userinfo&&(oa.push(T.userinfo),oa.push("@"));void 0!==T.host&&oa.push(r(t(String(T.host),da),da).replace(da.IPV6ADDRESS,
function(V,ha,la){return"["+ha+(la?"%25"+la:"")+"]"}));if("number"===typeof T.port||"string"===typeof T.port)oa.push(":"),oa.push(String(T.port));return oa.length?oa.join(""):void 0}function E(T){for(var da=[];T.length;)if(T.match(ra))T=T.replace(ra,"");else if(T.match(qa))T=T.replace(qa,"/");else if(T.match(va))T=T.replace(va,"/"),da.pop();else if("."===T||".."===T)T="";else{var oa=T.match(U);if(oa)oa=oa[0],T=T.slice(oa.length),da.push(oa);else throw Error("Unexpected dot segment condition");}return da.join("")}
function A(T){var da=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},oa=da.iri?J:I,V=[],ha=X[(da.scheme||T.scheme||"").toLowerCase()];ha&&ha.serialize&&ha.serialize(T,da);if(T.host&&!oa.IPV6ADDRESS.test(T.host)&&(da.domainHost||ha&&ha.domainHost))try{T.host=da.iri?xa.toUnicode(T.host):xa.toASCII(T.host.replace(oa.PCT_ENCODED,n).toLowerCase())}catch(ua){T.error=T.error||"Host's domain name can not be converted to "+(da.iri?"Unicode":"ASCII")+" via punycode: "+ua}e(T,oa);"suffix"!==da.reference&&
T.scheme&&(V.push(T.scheme),V.push(":"));oa=z(T,da);void 0!==oa&&("suffix"!==da.reference&&V.push("//"),V.push(oa),T.path&&"/"!==T.path.charAt(0)&&V.push("/"));if(void 0!==T.path){var la=T.path;da.absolutePath||ha&&ha.absolutePath||(la=E(la));void 0===oa&&(la=la.replace(/^\/\//,"/%2F"));V.push(la)}void 0!==T.query&&(V.push("?"),V.push(T.query));void 0!==T.fragment&&(V.push("#"),V.push(T.fragment));return V.join("")}function D(T,da){var oa=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},
V={};arguments[3]||(T=v(A(T,oa),oa),da=v(A(da,oa),oa));oa=oa||{};!oa.tolerant&&da.scheme?(V.scheme=da.scheme,V.userinfo=da.userinfo,V.host=da.host,V.port=da.port,V.path=E(da.path||""),V.query=da.query):(void 0!==da.userinfo||void 0!==da.host||void 0!==da.port?(V.userinfo=da.userinfo,V.host=da.host,V.port=da.port,V.path=E(da.path||""),V.query=da.query):(da.path?("/"===da.path.charAt(0)?V.path=E(da.path):(V.path=void 0===T.userinfo&&void 0===T.host&&void 0===T.port||T.path?T.path?T.path.slice(0,T.path.lastIndexOf("/")+
1)+da.path:da.path:"/"+da.path,V.path=E(V.path)),V.query=da.query):(V.path=T.path,V.query=void 0!==da.query?da.query:T.query),V.userinfo=T.userinfo,V.host=T.host,V.port=T.port),V.scheme=T.scheme);V.fragment=da.fragment;return V}function F(T,da){return T&&T.toString().replace(da&&da.iri?J.PCT_ENCODED:I.PCT_ENCODED,n)}function C(T){return"boolean"===typeof T.secure?T.secure:"wss"===String(T.scheme).toLowerCase()}function B(T){var da=n(T);return da.match(ea)?da:T}var I=k(!1),J=k(!0),M=function(){return function(T,
da){if(Array.isArray(T))return T;if(Symbol.iterator in Object(T)){var oa=[],V=!0,ha=!1,la=void 0;try{for(var ua=T[Symbol.iterator](),ba;!(V=(ba=ua.next()).done)&&(oa.push(ba.value),!da||oa.length!==da);V=!0);}catch(w){ha=!0,la=w}finally{try{if(!V&&ua["return"])ua["return"]()}finally{if(ha)throw la;}}return oa}throw new TypeError("Invalid attempt to destructure non-iterable instance");}}(),P=function(T){if(Array.isArray(T)){for(var da=0,oa=Array(T.length);da<T.length;da++)oa[da]=T[da];return oa}return Array.from(T)},
O=/^xn--/,N=/[^\0-\x7E]/,L=/[\x2E\u3002\uFF0E\uFF61]/g,x={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=Math.floor,G=String.fromCharCode,K=function(T,da){return T+22+75*(26>T)-((0!=da)<<5)},R=function(T,da,oa){var V=0;T=oa?y(T/700):T>>1;for(T+=y(T/da);455<T;V+=36)T=y(T/35);return y(V+36*T/(T+38))},Z=function(T){var da=[],oa=T.length,V=0,ha=128,la=72,ua=T.lastIndexOf("-");0>ua&&(ua=0);for(var ba=
0;ba<ua;++ba)128<=T.charCodeAt(ba)&&p("not-basic"),da.push(T.charCodeAt(ba));for(ua=0<ua?ua+1:0;ua<oa;){ba=V;for(var w=1,H=36;;H+=36){ua>=oa&&p("invalid-input");var Q=T.charCodeAt(ua++);Q=10>Q-48?Q-22:26>Q-65?Q-65:26>Q-97?Q-97:36;(36<=Q||Q>y((2147483647-V)/w))&&p("overflow");V+=Q*w;var ca=H<=la?1:H>=la+26?26:H-la;if(Q<ca)break;Q=36-ca;w>y(2147483647/Q)&&p("overflow");w*=Q}w=da.length+1;la=R(V-ba,w,0==ba);y(V/w)>2147483647-ha&&p("overflow");ha+=y(V/w);V%=w;da.splice(V++,0,ha)}return String.fromCodePoint.apply(String,
da)},aa=function(T){var da=[];T=g(T);var oa=T.length,V=128,ha=0,la=72,ua=!0,ba=!1,w=void 0;try{for(var H=T[Symbol.iterator](),Q;!(ua=(Q=H.next()).done);ua=!0){var ca=Q.value;128>ca&&da.push(G(ca))}}catch(mb){ba=!0,w=mb}finally{try{!ua&&H.return&&H.return()}finally{if(ba)throw w;}}for((ba=ua=da.length)&&da.push("-");ba<oa;){H=2147483647;w=!0;Q=!1;ca=void 0;try{for(var ta=T[Symbol.iterator](),Ca;!(w=(Ca=ta.next()).done);w=!0){var Ba=Ca.value;Ba>=V&&Ba<H&&(H=Ba)}}catch(mb){Q=!0,ca=mb}finally{try{!w&&
ta.return&&ta.return()}finally{if(Q)throw ca;}}w=ba+1;H-V>y((2147483647-ha)/w)&&p("overflow");ha+=(H-V)*w;V=H;H=!0;Q=!1;ca=void 0;try{for(var Ea=T[Symbol.iterator](),Ua;!(H=(Ua=Ea.next()).done);H=!0){var Sa=Ua.value;Sa<V&&2147483647<++ha&&p("overflow");if(Sa==V){for(var Va=ha,cb=36;;cb+=36){var gb=cb<=la?1:cb>=la+26?26:cb-la;if(Va<gb)break;var lb=Va-gb,ob=36-gb;da.push(G(K(gb+lb%ob,0)));Va=y(lb/ob)}da.push(G(K(Va,0)));la=R(ha,w,ba==ua);ha=0;++ba}}}catch(mb){Q=!0,ca=mb}finally{try{!H&&Ea.return&&Ea.return()}finally{if(Q)throw ca;
}}++ha;++V}return da.join("")},xa={version:"2.1.0",ucs2:{decode:g,encode:function(T){return String.fromCodePoint.apply(String,P(T))}},decode:Z,encode:aa,toASCII:function(T){return l(T,function(da){return N.test(da)?"xn--"+aa(da):da})},toUnicode:function(T){return l(T,function(da){return O.test(da)?Z(da.slice(4).toLowerCase()):da})}},X={},wa=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?::(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,ka=void 0==="".match(/(){0}/)[1],
ra=/^\.\.?\//,qa=/^\/\.(\/|$)/,va=/^\/\.\.(\/|$)/,U=/^\/?(?:.|\n)*?(?=\/|$)/,pa={scheme:"http",domainHost:!0,parse:function(T,da){T.host||(T.error=T.error||"HTTP URIs must have a host.");return T},serialize:function(T,da){da="https"===String(T.scheme).toLowerCase();if(T.port===(da?443:80)||""===T.port)T.port=void 0;T.path||(T.path="/");return T}},S={scheme:"https",domainHost:pa.domainHost,parse:pa.parse,serialize:pa.serialize},ma={scheme:"ws",domainHost:!0,parse:function(T,da){T.secure=C(T);T.resourceName=
(T.path||"/")+(T.query?"?"+T.query:"");T.path=void 0;T.query=void 0;return T},serialize:function(T,da){if(T.port===(C(T)?443:80)||""===T.port)T.port=void 0;"boolean"===typeof T.secure&&(T.scheme=T.secure?"wss":"ws",T.secure=void 0);if(T.resourceName){da=T.resourceName.split("?");var oa=M(da,2);da=oa[0];oa=oa[1];T.path=da&&"/"!==da?da:void 0;T.query=oa;T.resourceName=void 0}T.fragment=void 0;return T}},ya={scheme:"wss",domainHost:ma.domainHost,parse:ma.parse,serialize:ma.serialize},Ga={},Ha=d(d("%[EFef][0-9A-Fa-f]%[0-9A-Fa-f][0-9A-Fa-f]%[0-9A-Fa-f][0-9A-Fa-f]")+
"|"+d("%[89A-Fa-f][0-9A-Fa-f]%[0-9A-Fa-f][0-9A-Fa-f]")+"|"+d("%[0-9A-Fa-f][0-9A-Fa-f]")),ab=b("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),ea=/[A-Za-z0-9\-\.\_\~\xA0-\u200D\u2010-\u2029\u202F-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]/g,za=new RegExp(Ha,"g"),Y=new RegExp(b("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',ab),"g"),W=new RegExp(b("[^]","[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",
"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g");Ha={scheme:"mailto",parse:function(T,da){var oa=T.to=T.path?T.path.split(","):[];T.path=void 0;if(T.query){for(var V=!1,ha={},la=T.query.split("&"),ua=0,ba=la.length;ua<ba;++ua){var w=la[ua].split("=");switch(w[0]){case "to":w=w[1].split(",");for(var H=0,Q=w.length;H<Q;++H)oa.push(w[H]);break;case "subject":T.subject=F(w[1],da);break;case "body":T.body=F(w[1],da);break;default:V=!0,ha[F(w[0],da)]=F(w[1],da)}}V&&(T.headers=ha)}T.query=void 0;V=0;for(ha=oa.length;V<
ha;++V){la=oa[V].split("@");la[0]=F(la[0]);if(da.unicodeSupport)la[1]=F(la[1],da).toLowerCase();else try{la[1]=xa.toASCII(F(la[1],da).toLowerCase())}catch(ca){T.error=T.error||"Email address's domain name can not be converted to ASCII via punycode: "+ca}oa[V]=la.join("@")}return T},serialize:function(T,da){var oa=T.to;if(oa=void 0!==oa&&null!==oa?oa instanceof Array?oa:"number"!==typeof oa.length||oa.split||oa.setInterval||oa.call?[oa]:Array.prototype.slice.call(oa):[]){for(var V=0,ha=oa.length;V<
ha;++V){var la=String(oa[V]),ua=la.lastIndexOf("@"),ba=la.slice(0,ua).replace(za,B).replace(za,h).replace(Y,f);la=la.slice(ua+1);try{la=da.iri?xa.toUnicode(la):xa.toASCII(F(la,da).toLowerCase())}catch(H){T.error=T.error||"Email address's domain name can not be converted to "+(da.iri?"Unicode":"ASCII")+" via punycode: "+H}oa[V]=ba+"@"+la}T.path=oa.join(",")}da=T.headers=T.headers||{};T.subject&&(da.subject=T.subject);T.body&&(da.body=T.body);oa=[];for(var w in da)da[w]!==Ga[w]&&oa.push(w.replace(za,
B).replace(za,h).replace(W,f)+"="+da[w].replace(za,B).replace(za,h).replace(W,f));oa.length&&(T.query=oa.join("&"));return T}};var ia=/^([^:]+):(.*)/;ab={scheme:"urn",parse:function(T,da){var oa=T.path&&T.path.match(ia);if(oa){var V=da.scheme||T.scheme||"urn",ha=oa[1].toLowerCase();oa=oa[2];V=X[V+":"+(da.nid||ha)];T.nid=ha;T.nss=oa;T.path=void 0;V&&(T=V.parse(T,da))}else T.error=T.error||"URN can not be parsed.";return T},serialize:function(T,da){var oa=T.nid,V=X[(da.scheme||T.scheme||"urn")+":"+
(da.nid||oa)];V&&(T=V.serialize(T,da));V=T;V.path=(oa||da.nid)+":"+T.nss;return V}};var na=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ja={scheme:"urn:uuid",parse:function(T,da){T.uuid=T.nss;T.nss=void 0;da.tolerant||T.uuid&&T.uuid.match(na)||(T.error=T.error||"UUID is not valid.");return T},serialize:function(T,da){T.nss=(T.uuid||"").toLowerCase();return T}};X[pa.scheme]=pa;X[S.scheme]=S;X[ma.scheme]=ma;X[ya.scheme]=ya;X[Ha.scheme]=Ha;X[ab.scheme]=ab;X[ja.scheme]=ja;a.SCHEMES=X;a.pctEncChar=
f;a.pctDecChars=n;a.parse=v;a.removeDotSegments=E;a.serialize=A;a.resolveComponents=D;a.resolve=function(T,da,oa){var V={scheme:"null"};if(oa)for(var ha in oa)V[ha]=oa[ha];return A(D(v(T,V),v(da,V),V,!0),V)};a.normalize=function(T,da){"string"===typeof T?T=A(v(T,da),da):"object"===m(T)&&(T=v(A(T,da),da));return T};a.equal=function(T,da,oa){"string"===typeof T?T=A(v(T,oa),oa):"object"===m(T)&&(T=A(T,oa));"string"===typeof da?da=A(v(da,oa),oa):"object"===m(da)&&(da=A(da,oa));return T===da};a.escapeComponent=
function(T,da){return T&&T.toString().replace(da&&da.iri?J.ESCAPE:I.ESCAPE,f)};a.unescapeComponent=F;Object.defineProperty(a,"__esModule",{value:!0})})},u=>{u.exports=function d(a,b){if(a===b)return!0;if(a&&b&&"object"==typeof a&&"object"==typeof b){if(a.constructor!==b.constructor)return!1;var m;if(Array.isArray(a)){var h=a.length;if(h!=b.length)return!1;for(m=h;0!==m--;)if(!d(a[m],b[m]))return!1;return!0}if(a.constructor===RegExp)return a.source===b.source&&a.flags===b.flags;if(a.valueOf!==Object.prototype.valueOf)return a.valueOf()===
b.valueOf();if(a.toString!==Object.prototype.toString)return a.toString()===b.toString();var k=Object.keys(a);h=k.length;if(h!==Object.keys(b).length)return!1;for(m=h;0!==m--;)if(!Object.prototype.hasOwnProperty.call(b,k[m]))return!1;for(m=h;0!==m--;)if(h=k[m],!d(a[h],b[h]))return!1;return!0}return a!==a&&b!==b}},(u,c,a)=>{function b(r,v,z,E){var A=E?" !== ":" === ",D=E?" || ":" && ",F=E?"!":"";E=E?"":"!";switch(r){case "null":return v+A+"null";case "array":return F+"Array.isArray("+v+")";case "object":return"("+
F+v+D+"typeof "+v+A+'"object"'+D+E+"Array.isArray("+v+"))";case "integer":return"(typeof "+v+A+'"number"'+D+E+"("+v+" % 1)"+D+v+A+v+(z?D+F+"isFinite("+v+")":"")+")";case "number":return"(typeof "+v+A+'"'+r+'"'+(z?D+F+"isFinite("+v+")":"")+")";default:return"typeof "+v+A+'"'+r+'"'}}function d(r){for(var v={},z=0;z<r.length;z++)v[r[z]]=!0;return v}function m(r){return"number"==typeof r?"["+r+"]":n.test(r)?"."+r:"['"+h(r)+"']"}function h(r){return r.replace(e,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,
"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function k(r){return"'"+h(r)+"'"}function p(r,v){return'""'==r?v:(r+" + "+v).replace(/([^\\])' \+ '/g,"$1")}function l(r){return r.replace(/~/g,"~0").replace(/\//g,"~1")}function g(r){return r.replace(/~1/g,"/").replace(/~0/g,"~")}u.exports={copy:function(r,v){v=v||{};for(var z in r)v[z]=r[z];return v},checkDataType:b,checkDataTypes:function(r,v,z){switch(r.length){case 1:return b(r[0],v,z,!0);default:var E="";r=d(r);r.array&&r.object&&(E=r.null?"(":
"(!"+v+" || ",E+="typeof "+v+' !== "object")',delete r.null,delete r.array,delete r.object);r.number&&delete r.integer;for(var A in r)E+=(E?" && ":"")+b(A,v,z,!0);return E}},coerceToTypes:function(r,v){if(Array.isArray(v)){for(var z=[],E=0;E<v.length;E++){var A=v[E];f[A]?z[z.length]=A:"array"===r&&"array"===A&&(z[z.length]=A)}if(z.length)return z}else{if(f[v])return[v];if("array"===r&&"array"===v)return["array"]}},toHash:d,getProperty:m,escapeQuotes:h,equal:a(474),ucs2length:a(476),varOccurences:function(r,
v){return(r=r.match(new RegExp(v+"[^0-9]","g")))?r.length:0},varReplace:function(r,v,z){v+="([^0-9])";z=z.replace(/\$/g,"$$$$");return r.replace(new RegExp(v,"g"),z+"$1")},schemaHasRules:function(r,v){if("boolean"==typeof r)return!r;for(var z in r)if(v[z])return!0},schemaHasRulesExcept:function(r,v,z){if("boolean"==typeof r)return!r&&"not"!=z;for(var E in r)if(E!=z&&v[E])return!0},schemaUnknownRules:function(r,v){if("boolean"!=typeof r)for(var z in r)if(!v[z])return z},toQuotedString:k,getPathExpr:function(r,
v,z,E){return p(r,z?"'/' + "+v+(E?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):E?"'[' + "+v+" + ']'":"'[\\'' + "+v+" + '\\']'")},getPath:function(r,v,z){v=z?k("/"+l(v)):k(m(v));return p(r,v)},getData:function(r,v,z){if(""===r)return"rootData";if("/"==r[0]){if(!q.test(r))throw Error("Invalid JSON-pointer: "+r);var E=r;v="rootData"}else{E=r.match(t);if(!E)throw Error("Invalid JSON-pointer: "+r);r=+E[1];E=E[2];if("#"==E){if(r>=v)throw Error("Cannot access property/index "+r+" levels up, current level is "+
v);return z[v-r]}if(r>v)throw Error("Cannot access data "+r+" levels up, current level is "+v);v="data"+(v-r||"");if(!E)return v}z=v;E=E.split("/");for(r=0;r<E.length;r++){var A=E[r];A&&(v+=m(g(A)),z+=" && "+v)}return z},unescapeFragment:function(r){return g(decodeURIComponent(r))},unescapeJsonPointer:g,escapeFragment:function(r){return encodeURIComponent(l(r))},escapeJsonPointer:l};var f=d(["string","number","integer","boolean","null"]),n=/^[a-z$_][a-z$_0-9]*$/i,e=/'|\\/g,q=/^\/(?:[^~]|~0|~1)*$/,
t=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/},u=>{u.exports=function(c){for(var a=0,b=c.length,d=0,m;d<b;)a++,m=c.charCodeAt(d++),55296<=m&&56319>=m&&d<b&&(m=c.charCodeAt(d),56320==(m&64512)&&d++);return a}},(u,c,a)=>{var b=a(475);u.exports=function(d){b.copy(d,this)}},u=>{function c(b,d,m,h,k,p,l,g,f,n){if(h&&"object"==typeof h&&!Array.isArray(h)){d(h,k,p,l,g,f,n);for(var e in h){var q=h[e];if(Array.isArray(q)){if(e in a.arrayKeywords)for(var t=0;t<q.length;t++)c(b,d,m,q[t],k+"/"+e+"/"+t,p,k,e,h,t)}else if(e in
a.propsKeywords){if(q&&"object"==typeof q)for(var r in q)c(b,d,m,q[r],k+"/"+e+"/"+r.replace(/~/g,"~0").replace(/\//g,"~1"),p,k,e,h,r)}else(e in a.keywords||b.allKeys&&!(e in a.skipKeywords))&&c(b,d,m,q,k+"/"+e,p,k,e,h)}m(h,k,p,l,g,f,n)}}var a=u.exports=function(b,d,m){"function"==typeof d&&(m=d,d={});m=d.cb||m;c(d,"function"==typeof m?m:m.pre||function(){},m.post||function(){},b,"",b)};a.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0};a.arrayKeywords=
{items:!0,allOf:!0,anyOf:!0,oneOf:!0};a.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};a.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},(u,c,a)=>{function b(h,k,p){this.message=p||b.message(h,k);this.missingRef=m.url(h,k);this.missingSchema=m.normalizeId(m.fullPath(this.missingRef))}
function d(h){h.prototype=Object.create(Error.prototype);return h.prototype.constructor=h}var m=a(472);u.exports={Validation:d(function(h){this.message="validation failed";this.errors=h;this.ajv=this.validation=!0}),MissingRef:d(b)};b.message=function(h,k){return"can't resolve reference "+k+" from id "+h}},u=>{u.exports=function(c,a){a||(a={});"function"===typeof a&&(a={cmp:a});var b="boolean"===typeof a.cycles?a.cycles:!1,d=a.cmp&&function(h){return function(k){return function(p,l){return h({key:p,
value:k[p]},{key:l,value:k[l]})}}}(a.cmp),m=[];return function p(k){k&&k.toJSON&&"function"===typeof k.toJSON&&(k=k.toJSON());if(void 0!==k){if("number"==typeof k)return isFinite(k)?""+k:"null";if("object"!==typeof k)return JSON.stringify(k);var l;if(Array.isArray(k)){var g="[";for(l=0;l<k.length;l++)l&&(g+=","),g+=p(k[l])||"null";return g+"]"}if(null===k)return"null";if(-1!==m.indexOf(k)){if(b)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON");}var f=
m.push(k)-1,n=Object.keys(k).sort(d&&d(k));g="";for(l=0;l<n.length;l++){var e=n[l],q=p(k[e]);q&&(g&&(g+=","),g+=JSON.stringify(e)+":"+q)}m.splice(f,1);return"{"+g+"}"}}(c)}},u=>{u.exports=function(c,a,b){function d(M){M=M.rules;for(var P=0;P<M.length;P++)if(m(M[P]))return!0}function m(M){var P;if(!(P=void 0!==c.schema[M.keyword])&&(P=M.implements))a:{M=M.implements;for(P=0;P<M.length;P++)if(void 0!==c.schema[M[P]]){P=!0;break a}P=void 0}return P}b="";var h=!0===c.schema.$async,k=c.util.schemaHasRulesExcept(c.schema,
c.RULES.all,"$ref"),p=c.self._getId(c.schema);if(c.opts.strictKeywords){var l=c.util.schemaUnknownRules(c.schema,c.RULES.keywords);if(l)if(l="unknown keyword: "+l,"log"===c.opts.strictKeywords)c.logger.warn(l);else throw Error(l);}c.isTop&&(b+=" var validate = ",h&&(c.async=!0,b+="async "),b+="function(data, dataPath, parentData, parentDataProperty, rootData) {  ",p&&(c.opts.sourceCode||c.opts.processCode)&&(b+=" /*# sourceURL="+(p+" */ ")));if("boolean"==typeof c.schema||!k&&!c.schema.$ref){a=
"false schema";l=c.level;var g=c.dataLevel,f=c.schema[a],n=c.schemaPath+c.util.getProperty(a),e=c.errSchemaPath+"/"+a;p=!c.opts.allErrors;a="data"+(g||"");var q="valid"+l;if(!1===c.schema){c.isTop?p=!0:b+=" var "+q+" = false; ";var t=t||[];t.push(b);b="";!1!==c.createErrors?(b+=" { keyword: 'false schema' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(e)+" , params: {} ",!1!==c.opts.messages&&(b+=" , message: 'boolean schema is false' "),c.opts.verbose&&(b+=" , schema: false , parentSchema: validate.schema"+
c.schemaPath+" , data: "+a+" "),b+=" } "):b+=" {} ";n=b;b=t.pop();b=!c.compositeRule&&p?c.async?b+(" throw new ValidationError(["+n+"]); "):b+(" validate.errors = ["+n+"]; return false; "):b+(" var err = "+n+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ")}else b=c.isTop?h?b+" return data; ":b+" validate.errors = null; return true; ":b+(" var "+q+" = true; ");c.isTop&&(b+=" }; return validate; ");return b}if(c.isTop){var r=c.isTop;l=c.level=0;g=c.dataLevel=0;a="data";
c.rootId=c.resolve.fullPath(c.self._getId(c.root.schema));c.baseId=c.baseId||c.rootId;delete c.isTop;c.dataPathArr=[""];if(void 0!==c.schema.default&&c.opts.useDefaults&&c.opts.strictDefaults)if(e="default is ignored in the schema root","log"===c.opts.strictDefaults)c.logger.warn(e);else throw Error(e);b+=" var vErrors = null;  var errors = 0;      if (rootData === undefined) rootData = data; "}else{l=c.level;g=c.dataLevel;a="data"+(g||"");p&&(c.baseId=c.resolve.url(c.baseId,p));if(h&&!c.async)throw Error("async schema in sync schema");
b+=" var errs_"+l+" = errors;"}q="valid"+l;p=!c.opts.allErrors;var v="",z="",E=c.schema.type,A=Array.isArray(E);E&&c.opts.nullable&&!0===c.schema.nullable&&(A?-1==E.indexOf("null")&&(E=E.concat("null")):"null"!=E&&(E=[E,"null"],A=!0));A&&1==E.length&&(E=E[0],A=!1);if(c.schema.$ref&&k){if("fail"==c.opts.extendRefs)throw Error('$ref: validation keywords used in schema at path "'+c.errSchemaPath+'" (see option extendRefs)');!0!==c.opts.extendRefs&&(k=!1,c.logger.warn('$ref: keywords ignored in schema at path "'+
c.errSchemaPath+'"'))}c.schema.$comment&&c.opts.$comment&&(b+=" "+c.RULES.all.$comment.code(c,"$comment"));if(E){if(c.opts.coerceTypes)var D=c.util.coerceToTypes(c.opts.coerceTypes,E);n=c.RULES.types[E];if(D||A||!0===n||n&&!d(n)){n=c.schemaPath+".type";e=c.errSchemaPath+"/type";n=c.schemaPath+".type";e=c.errSchemaPath+"/type";b+=" if ("+c.util[A?"checkDataTypes":"checkDataType"](E,a,c.opts.strictNumbers,!0)+") { ";if(D){var F="dataType"+l,C="coerced"+l;b+=" var "+F+" = typeof "+a+"; var "+C+" = undefined; ";
"array"==c.opts.coerceTypes&&(b+=" if ("+F+" == 'object' && Array.isArray("+a+") && "+a+".length == 1) { "+a+" = "+a+"[0]; "+F+" = typeof "+a+"; if ("+c.util.checkDataType(c.schema.type,a,c.opts.strictNumbers)+") "+C+" = "+a+"; } ");b+=" if ("+C+" !== undefined) ; ";var B=D;if(B){f=-1;for(var I=B.length-1;f<I;){var J=B[f+=1];"string"==J?b+=" else if ("+F+" == 'number' || "+F+" == 'boolean') "+C+" = '' + "+a+"; else if ("+a+" === null) "+C+" = ''; ":"number"==J||"integer"==J?(b+=" else if ("+F+" == 'boolean' || "+
a+" === null || ("+F+" == 'string' && "+a+" && "+a+" == +"+a+" ","integer"==J&&(b+=" && !("+a+" % 1)"),b+=")) "+C+" = +"+a+"; "):"boolean"==J?b+=" else if ("+a+" === 'false' || "+a+" === 0 || "+a+" === null) "+C+" = false; else if ("+a+" === 'true' || "+a+" === 1) "+C+" = true; ":"null"==J?b+=" else if ("+a+" === '' || "+a+" === 0 || "+a+" === false) "+C+" = null; ":"array"==c.opts.coerceTypes&&"array"==J&&(b+=" else if ("+F+" == 'string' || "+F+" == 'number' || "+F+" == 'boolean' || "+a+" == null) "+
C+" = ["+a+"]; ")}}t=t||[];t.push(b+" else {   ");b="";!1!==c.createErrors?(b+=" { keyword: 'type' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(e)+" , params: { type: '",b=A?b+(""+E.join(",")):b+(""+E),b+="' } ",!1!==c.opts.messages&&(b+=" , message: 'should be ",b=A?b+(""+E.join(",")):b+(""+E),b+="' "),c.opts.verbose&&(b+=" , schema: validate.schema"+n+" , parentSchema: validate.schema"+c.schemaPath+" , data: "+a+" "),b+=" } "):b+=" {} ";n=b;b=t.pop();b=!c.compositeRule&&
p?c.async?b+(" throw new ValidationError(["+n+"]); "):b+(" validate.errors = ["+n+"]; return false; "):b+(" var err = "+n+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ");n=g?"data"+(g-1||""):"parentData";f=g?c.dataPathArr[g]:"parentDataProperty";b=b+(" } if ("+C+" !== undefined) {   ")+(a+" = "+C+"; ");g||(b+="if ("+n+" !== undefined)");b+=" "+n+"["+f+"] = "+C+"; } "}else t=t||[],t.push(b),b="",!1!==c.createErrors?(b+=" { keyword: 'type' , dataPath: (dataPath || '') + "+
c.errorPath+" , schemaPath: "+c.util.toQuotedString(e)+" , params: { type: '",b=A?b+(""+E.join(",")):b+(""+E),b+="' } ",!1!==c.opts.messages&&(b+=" , message: 'should be ",b=A?b+(""+E.join(",")):b+(""+E),b+="' "),c.opts.verbose&&(b+=" , schema: validate.schema"+n+" , parentSchema: validate.schema"+c.schemaPath+" , data: "+a+" "),b+=" } "):b+=" {} ",n=b,b=t.pop(),b=!c.compositeRule&&p?c.async?b+(" throw new ValidationError(["+n+"]); "):b+(" validate.errors = ["+n+"]; return false; "):b+(" var err = "+
n+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ");b+=" } "}}if(c.schema.$ref&&!k)b+=" "+c.RULES.all.$ref.code(c,"$ref")+" ",p&&(b+=" } if (errors === ",b=(r?b+"0":b+("errs_"+l))+") { ",z+="}");else if(k=c.RULES)for(g=-1,C=k.length-1;g<C;)if(n=k[g+=1],d(n)){n.type&&(b+=" if ("+c.util.checkDataType(n.type,a,c.opts.strictNumbers)+") { ");if(c.opts.useDefaults)if("object"==n.type&&c.schema.properties){if(f=c.schema.properties,B=Object.keys(f))for(J=-1,I=B.length-1;J<I;)if(F=
B[J+=1],e=f[F],void 0!==e.default)if(F=a+c.util.getProperty(F),c.compositeRule){if(c.opts.strictDefaults)if(e="default is ignored for: "+F,"log"===c.opts.strictDefaults)c.logger.warn(e);else throw Error(e);}else b+=" if ("+F+" === undefined ","empty"==c.opts.useDefaults&&(b+=" || "+F+" === null || "+F+" === '' "),b+=" ) "+F+" = ",b="shared"==c.opts.useDefaults?b+(" "+c.useDefault(e.default)+" "):b+(" "+JSON.stringify(e.default)+" "),b+="; "}else if("array"==n.type&&Array.isArray(c.schema.items)&&
(B=c.schema.items))for(f=-1,J=B.length-1;f<J;)if(e=B[f+=1],void 0!==e.default)if(F=a+"["+f+"]",c.compositeRule){if(c.opts.strictDefaults)if(e="default is ignored for: "+F,"log"===c.opts.strictDefaults)c.logger.warn(e);else throw Error(e);}else b+=" if ("+F+" === undefined ","empty"==c.opts.useDefaults&&(b+=" || "+F+" === null || "+F+" === '' "),b+=" ) "+F+" = ",b="shared"==c.opts.useDefaults?b+(" "+c.useDefault(e.default)+" "):b+(" "+JSON.stringify(e.default)+" "),b+="; ";if(f=n.rules)for(e=-1,F=
f.length-1;e<F;)if(B=f[e+=1],m(B)&&(B=B.code(c,B.keyword,n.type)))b+=" "+B+" ",p&&(v+="}");p&&(b+=" "+v+" ",v="");n.type&&(b+=" } ",E&&E===n.type&&!D&&(b+=" else { ",n=c.schemaPath+".type",e=c.errSchemaPath+"/type",t=t||[],t.push(b),b="",!1!==c.createErrors?(b+=" { keyword: 'type' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(e)+" , params: { type: '",b=A?b+(""+E.join(",")):b+(""+E),b+="' } ",!1!==c.opts.messages&&(b+=" , message: 'should be ",b=A?b+(""+E.join(",")):
b+(""+E),b+="' "),c.opts.verbose&&(b+=" , schema: validate.schema"+n+" , parentSchema: validate.schema"+c.schemaPath+" , data: "+a+" "),b+=" } "):b+=" {} ",n=b,b=t.pop(),b=!c.compositeRule&&p?c.async?b+(" throw new ValidationError(["+n+"]); "):b+(" validate.errors = ["+n+"]; return false; "):b+(" var err = "+n+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "),b+=" } "));p&&(b+=" if (errors === ",b=r?b+"0":b+("errs_"+l),b+=") { ",z+="}")}p&&(b+=" "+z+" ");r?(h?(b+=" if (errors === 0) return data;           ",
b+=" else throw new ValidationError(vErrors); "):(b+=" validate.errors = vErrors; ",b+=" return errors === 0;       "),b+=" }; return validate;"):b+=" var "+q+" = errors === errs_"+l+";";return b}},u=>{u=u.exports=function(){this._cache={}};u.prototype.put=function(c,a){this._cache[c]=a};u.prototype.get=function(c){return this._cache[c]};u.prototype.del=function(c){delete this._cache[c]};u.prototype.clear=function(){this._cache={}}},(u,c,a)=>{function b(A){return k.copy(b["full"==A?"full":"fast"])}
function d(A){var D=A.match(p);if(!D)return!1;A=+D[1];var F=+D[2];D=+D[3];return 1<=F&&12>=F&&1<=D&&D<=(2!=F||0!==A%4||0===A%100&&0!==A%400?l[F]:29)}function m(A,D){var F=A.match(g);if(!F)return!1;A=F[1];var C=F[2],B=F[3];F=F[5];return(23>=A&&59>=C&&59>=B||23==A&&59==C&&60==B)&&(!D||F)}function h(A){if(E.test(A))return!1;try{return new RegExp(A),!0}catch(D){return!1}}var k=a(475),p=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,l=[0,31,28,31,30,31,30,31,31,30,31,30,31],g=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;
c=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i;var f=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;
a=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i;var n=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,
e=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,q=/^(?:\/(?:[^~/]|~0|~1)*)*$/,t=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,r=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;u.exports=b;b.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,
"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":a,url:n,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:c,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,
regex:h,uuid:e,"json-pointer":q,"json-pointer-uri-fragment":t,"relative-json-pointer":r};b.full={date:d,time:m,"date-time":function(A){A=A.split(v);return 2==A.length&&d(A[0])&&m(A[1],!0)},uri:function(A){return z.test(A)&&f.test(A)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,
"uri-template":a,url:n,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:c,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,
regex:h,uuid:e,"json-pointer":q,"json-pointer-uri-fragment":t,"relative-json-pointer":r};var v=/t|\s/i,z=/\/|:/,E=/[^\\]\\Z/},(u,c,a)=>{var b=a(485),d=a(475).toHash;u.exports=function(){var m=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required",
"dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:"$ref const enum not anyOf oneOf allOf if".split(" ")}],h=["type","$comment"];m.all=d(h);m.types=d("number integer string array object boolean null".split(" "));m.forEach(function(k){k.rules=k.rules.map(function(p){if("object"==typeof p){var l=Object.keys(p)[0];var g=p[l];p=l;g.forEach(function(f){h.push(f);m.all[f]=!0})}h.push(p);return m.all[p]={keyword:p,code:b[p],implements:g}});m.all.$comment={keyword:"$comment",
code:b.$comment};k.type&&(m.types[k.type]=k)});m.keywords=d(h.concat("$schema $id id $data $async title description default definitions examples readOnly writeOnly contentMediaType contentEncoding additionalItems then else".split(" ")));m.custom={};return m}},(u,c,a)=>{u.exports={$ref:a(486),allOf:a(487),anyOf:a(488),$comment:a(489),const:a(490),contains:a(491),dependencies:a(492),"enum":a(493),format:a(494),"if":a(495),items:a(496),maximum:a(497),minimum:a(497),maxItems:a(498),minItems:a(498),maxLength:a(499),
minLength:a(499),maxProperties:a(500),minProperties:a(500),multipleOf:a(501),not:a(502),oneOf:a(503),pattern:a(504),properties:a(505),propertyNames:a(506),required:a(507),uniqueItems:a(508),validate:a(481)}},u=>{u.exports=function(c,a,b){b=" ";var d=c.dataLevel,m=c.schema[a],h=c.errSchemaPath+"/"+a;a=!c.opts.allErrors;var k="data"+(d||""),p="valid"+c.level;if("#"==m||"#/"==m)if(c.isRoot){var l=c.async;var g="validate"}else l=!0===c.root.schema.$async,g="root.refVal[0]";else{var f=c.resolveRef(c.baseId,
m,c.isRoot);if(void 0===f)if(f=c.MissingRefError.message(c.baseId,m),"fail"==c.opts.missingRefs){c.logger.error(f);var n=n||[];n.push(b);b="";!1!==c.createErrors?(b+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(h)+" , params: { ref: '"+c.util.escapeQuotes(m)+"' } ",!1!==c.opts.messages&&(b+=" , message: 'can\\'t resolve reference "+c.util.escapeQuotes(m)+"' "),c.opts.verbose&&(b+=" , schema: "+c.util.toQuotedString(m)+" , parentSchema: validate.schema"+
c.schemaPath+" , data: "+k+" "),b+=" } "):b+=" {} ";m=b;b=n.pop();b=!c.compositeRule&&a?c.async?b+(" throw new ValidationError(["+m+"]); "):b+(" validate.errors = ["+m+"]; return false; "):b+(" var err = "+m+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ");a&&(b+=" if (false) { ")}else if("ignore"==c.opts.missingRefs)c.logger.warn(f),a&&(b+=" if (true) { ");else throw new c.MissingRefError(c.baseId,m,f);else if(f.inline){var e=c.util.copy(c);e.level++;h="valid"+e.level;
e.schema=f.schema;e.schemaPath="";e.errSchemaPath=m;m=c.validate(e).replace(/validate\.schema/g,f.code);b+=" "+m+" ";a&&(b+=" if ("+h+") { ")}else l=!0===f.$async||c.async&&!1!==f.$async,g=f.code}if(g)if(n=n||[],n.push(b),b="",b=c.opts.passContext?b+(" "+g+".call(this, "):b+(" "+g+"( "),b+=" "+k+", (dataPath || '')",'""'!=c.errorPath&&(b+=" + "+c.errorPath),d=b+=" , "+(d?"data"+(d-1||""):"parentData")+" , "+(d?c.dataPathArr[d]:"parentDataProperty")+", rootData)  ",b=n.pop(),l){if(!c.async)throw Error("async schema referenced by sync schema");
a&&(b+=" var "+p+"; ");b+=" try { await "+d+"; ";a&&(b+=" "+p+" = true; ");b+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ";a&&(b+=" "+p+" = false; ");b+=" } ";a&&(b+=" if ("+p+") { ")}else b+=" if (!"+d+") { if (vErrors === null) vErrors = "+g+".errors; else vErrors = vErrors.concat("+g+".errors); errors = vErrors.length; } ",a&&(b+=" else { ");return b}},u=>{u.exports=function(c,
a,b){b=" ";var d=c.schema[a],m=c.schemaPath+c.util.getProperty(a);a=c.errSchemaPath+"/"+a;var h=!c.opts.allErrors,k=c.util.copy(c),p="";k.level++;var l="valid"+k.level,g=k.baseId,f=!0;if(d)for(var n,e=-1,q=d.length-1;e<q;)if(n=d[e+=1],c.opts.strictKeywords?"object"==typeof n&&0<Object.keys(n).length||!1===n:c.util.schemaHasRules(n,c.RULES.all))f=!1,k.schema=n,k.schemaPath=m+"["+e+"]",k.errSchemaPath=a+"/"+e,b+="  "+c.validate(k)+" ",k.baseId=g,h&&(b+=" if ("+l+") { ",p+="}");h&&(b=f?b+" if (true) { ":
b+(" "+p.slice(0,-1)+" "));return b}},u=>{u.exports=function(c,a,b){b=" ";var d=c.level,m=c.dataLevel,h=c.schema[a],k=c.schemaPath+c.util.getProperty(a);a=c.errSchemaPath+"/"+a;var p=!c.opts.allErrors;m="data"+(m||"");var l="valid"+d;d="errs__"+d;var g=c.util.copy(c),f="";g.level++;var n="valid"+g.level;if(h.every(function(z){return c.opts.strictKeywords?"object"==typeof z&&0<Object.keys(z).length||!1===z:c.util.schemaHasRules(z,c.RULES.all)})){var e=g.baseId;b+=" var "+d+" = errors; var "+l+" = false;  ";
var q=c.compositeRule;c.compositeRule=g.compositeRule=!0;if(h)for(var t,r=-1,v=h.length-1;r<v;)t=h[r+=1],g.schema=t,g.schemaPath=k+"["+r+"]",g.errSchemaPath=a+"/"+r,b+="  "+c.validate(g)+" ",g.baseId=e,b+=" "+l+" = "+l+" || "+n+"; if (!"+l+") { ",f+="}";c.compositeRule=g.compositeRule=q;b+=" "+f+" if (!"+l+") {   var err =   ";!1!==c.createErrors?(b+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(a)+" , params: {} ",!1!==c.opts.messages&&
(b+=" , message: 'should match some schema in anyOf' "),c.opts.verbose&&(b+=" , schema: validate.schema"+k+" , parentSchema: validate.schema"+c.schemaPath+" , data: "+m+" "),b+=" } "):b+=" {} ";b+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";!c.compositeRule&&p&&(b=c.async?b+" throw new ValidationError(vErrors); ":b+" validate.errors = vErrors; return false; ");b+=" } else {  errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } ";
c.opts.allErrors&&(b+=" } ")}else p&&(b+=" if (true) { ");return b}},u=>{u.exports=function(c,a,b){b=" ";var d=c.errSchemaPath+"/"+a;a=c.util.toQuotedString(c.schema[a]);!0===c.opts.$comment?b+=" console.log("+a+");":"function"==typeof c.opts.$comment&&(b+=" self._opts.$comment("+a+", "+c.util.toQuotedString(d)+", validate.root.schema);");return b}},u=>{u.exports=function(c,a,b){b=" ";var d=c.level,m=c.dataLevel,h=c.schema[a],k=c.schemaPath+c.util.getProperty(a),p=c.errSchemaPath+"/"+a;a=!c.opts.allErrors;
var l="data"+(m||""),g="valid"+d,f=c.opts.$data&&h&&h.$data;f&&(b+=" var schema"+d+" = "+c.util.getData(h.$data,m,c.dataPathArr)+"; ");f||(b+=" var schema"+d+" = validate.schema"+k+";");var n=n||[];n.push(b+("var "+g+" = equal("+l+", schema"+d+"); if (!"+g+") {   "));b="";!1!==c.createErrors?(b+=" { keyword: 'const' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(p)+" , params: { allowedValue: schema"+d+" } ",!1!==c.opts.messages&&(b+=" , message: 'should be equal to constant' "),
c.opts.verbose&&(b+=" , schema: validate.schema"+k+" , parentSchema: validate.schema"+c.schemaPath+" , data: "+l+" "),b+=" } "):b+=" {} ";d=b;b=n.pop();b=!c.compositeRule&&a?c.async?b+(" throw new ValidationError(["+d+"]); "):b+(" validate.errors = ["+d+"]; return false; "):b+(" var err = "+d+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ");b+=" }";a&&(b+=" else { ");return b}},u=>{u.exports=function(c,a,b){b=" ";var d=c.level,m=c.dataLevel,h=c.schema[a],k=c.schemaPath+
c.util.getProperty(a),p=c.errSchemaPath+"/"+a;a=!c.opts.allErrors;var l="data"+(m||""),g="valid"+d;m="errs__"+d;var f=c.util.copy(c);f.level++;var n="valid"+f.level,e="i"+d,q=f.dataLevel=c.dataLevel+1,t="data"+q,r=c.baseId;d=c.opts.strictKeywords?"object"==typeof h&&0<Object.keys(h).length||!1===h:c.util.schemaHasRules(h,c.RULES.all);b+="var "+m+" = errors;var "+g+";";d?(g=c.compositeRule,c.compositeRule=f.compositeRule=!0,f.schema=h,f.schemaPath=k,f.errSchemaPath=p,b+=" var "+n+" = false; for (var "+
e+" = 0; "+e+" < "+l+".length; "+e+"++) { ",f.errorPath=c.util.getPathExpr(c.errorPath,e,c.opts.jsonPointers,!0),h=l+"["+e+"]",f.dataPathArr[q]=e,e=c.validate(f),f.baseId=r,b=2>c.util.varOccurences(e,t)?b+(" "+c.util.varReplace(e,t,h)+" "):b+(" var "+t+" = "+h+"; "+e+" "),c.compositeRule=f.compositeRule=g,b=b+(" if ("+n+") break; }    if (!")+(n+") {")):b+=" if ("+l+".length == 0) {";var v=v||[];v.push(b);b="";!1!==c.createErrors?(b+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+c.errorPath+
" , schemaPath: "+c.util.toQuotedString(p)+" , params: {} ",!1!==c.opts.messages&&(b+=" , message: 'should contain a valid item' "),c.opts.verbose&&(b+=" , schema: validate.schema"+k+" , parentSchema: validate.schema"+c.schemaPath+" , data: "+l+" "),b+=" } "):b+=" {} ";k=b;b=v.pop();b=!c.compositeRule&&a?c.async?b+(" throw new ValidationError(["+k+"]); "):b+(" validate.errors = ["+k+"]; return false; "):b+(" var err = "+k+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ");
b+=" } else { ";d&&(b+="  errors = "+m+"; if (vErrors !== null) { if ("+m+") vErrors.length = "+m+"; else vErrors = null; } ");c.opts.allErrors&&(b+=" } ");return b}},u=>{u.exports=function(c,a,b){b=" ";var d=c.level,m=c.dataLevel,h=c.schema[a],k=c.schemaPath+c.util.getProperty(a);a=c.errSchemaPath+"/"+a;var p=!c.opts.allErrors;m="data"+(m||"");var l="errs__"+d,g=c.util.copy(c),f="";g.level++;var n="valid"+g.level,e={},q={},t=c.opts.ownProperties;for(z in h)if("__proto__"!=z){var r=h[z],v=Array.isArray(r)?
q:e;v[z]=r}h=c.errorPath;b=b+("var "+l+" = errors;var missing")+(d+";");for(var z in q)if(v=q[z],v.length){b+=" if ( "+m+c.util.getProperty(z)+" !== undefined ";t&&(b+=" && Object.prototype.hasOwnProperty.call("+m+", '"+c.util.escapeQuotes(z)+"') ");if(p){b+=" && ( ";var E=v;if(E)for(var A=-1,D=E.length-1;A<D;){r=E[A+=1];A&&(b+=" || ");var F=c.util.getProperty(r),C=m+F;b+=" ( ( "+C+" === undefined ";t&&(b+=" || ! Object.prototype.hasOwnProperty.call("+m+", '"+c.util.escapeQuotes(r)+"') ");b+=") && (missing"+
d+" = "+c.util.toQuotedString(c.opts.jsonPointers?r:F)+") ) "}b+=")) {  ";r="missing"+d;E="' + "+r+" + '";c.opts._errorDataPathProperty&&(c.errorPath=c.opts.jsonPointers?c.util.getPathExpr(h,r,!0):h+" + "+r);var B=B||[];B.push(b);b="";!1!==c.createErrors?(b+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(a)+" , params: { property: '"+c.util.escapeQuotes(z)+"', missingProperty: '"+E+"', depsCount: "+v.length+", deps: '"+c.util.escapeQuotes(1==
v.length?v[0]:v.join(", "))+"' } ",!1!==c.opts.messages&&(b+=" , message: 'should have ",b=1==v.length?b+("property "+c.util.escapeQuotes(v[0])):b+("properties "+c.util.escapeQuotes(v.join(", "))),b+=" when property "+c.util.escapeQuotes(z)+" is present' "),c.opts.verbose&&(b+=" , schema: validate.schema"+k+" , parentSchema: validate.schema"+c.schemaPath+" , data: "+m+" "),b+=" } "):b+=" {} ";v=b;b=B.pop();b=!c.compositeRule&&p?c.async?b+(" throw new ValidationError(["+v+"]); "):b+(" validate.errors = ["+
v+"]; return false; "):b+(" var err = "+v+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ")}else if(b+=" ) { ",A=v){D=-1;for(var I=A.length-1;D<I;)r=A[D+=1],F=c.util.getProperty(r),E=c.util.escapeQuotes(r),C=m+F,c.opts._errorDataPathProperty&&(c.errorPath=c.util.getPath(h,r,c.opts.jsonPointers)),b+=" if ( "+C+" === undefined ",t&&(b+=" || ! Object.prototype.hasOwnProperty.call("+m+", '"+c.util.escapeQuotes(r)+"') "),b+=") {  var err =   ",!1!==c.createErrors?(b+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+
c.errorPath+" , schemaPath: "+c.util.toQuotedString(a)+" , params: { property: '"+c.util.escapeQuotes(z)+"', missingProperty: '"+E+"', depsCount: "+v.length+", deps: '"+c.util.escapeQuotes(1==v.length?v[0]:v.join(", "))+"' } ",!1!==c.opts.messages&&(b+=" , message: 'should have ",b=1==v.length?b+("property "+c.util.escapeQuotes(v[0])):b+("properties "+c.util.escapeQuotes(v.join(", "))),b+=" when property "+c.util.escapeQuotes(z)+" is present' "),c.opts.verbose&&(b+=" , schema: validate.schema"+k+
" , parentSchema: validate.schema"+c.schemaPath+" , data: "+m+" "),b+=" } "):b+=" {} ",b+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}b+=" }   ";p&&(f+="}",b+=" else { ")}c.errorPath=h;B=g.baseId;for(z in e)if(r=e[z],c.opts.strictKeywords?"object"==typeof r&&0<Object.keys(r).length||!1===r:c.util.schemaHasRules(r,c.RULES.all))b+=" "+n+" = true; if ( "+m+c.util.getProperty(z)+" !== undefined ",t&&(b+=" && Object.prototype.hasOwnProperty.call("+m+", '"+c.util.escapeQuotes(z)+
"') "),b+=") { ",g.schema=r,g.schemaPath=k+c.util.getProperty(z),g.errSchemaPath=a+"/"+c.util.escapeFragment(z),b+="  "+c.validate(g)+" ",g.baseId=B,b+=" }  ",p&&(b+=" if ("+n+") { ",f+="}");p&&(b+="   "+f+" if ("+l+" == errors) {");return b}},u=>{u.exports=function(c,a,b){b=" ";var d=c.level,m=c.dataLevel,h=c.schema[a],k=c.schemaPath+c.util.getProperty(a),p=c.errSchemaPath+"/"+a;a=!c.opts.allErrors;var l="data"+(m||""),g="valid"+d,f=c.opts.$data&&h&&h.$data;f&&(b+=" var schema"+d+" = "+c.util.getData(h.$data,
m,c.dataPathArr)+"; ");m="i"+d;h="schema"+d;f||(b+=" var "+h+" = validate.schema"+k+";");b+="var "+g+";";f&&(b+=" if (schema"+d+" === undefined) "+g+" = true; else if (!Array.isArray(schema"+d+")) "+g+" = false; else {");b+=""+g+" = false;for (var "+m+"=0; "+m+"<"+h+".length; "+m+"++) if (equal("+l+", "+h+"["+m+"])) { "+g+" = true; break; }";f&&(b+="  }  ");var n=n||[];n.push(b+(" if (!"+g+") {   "));b="";!1!==c.createErrors?(b+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+
c.util.toQuotedString(p)+" , params: { allowedValues: schema"+d+" } ",!1!==c.opts.messages&&(b+=" , message: 'should be equal to one of the allowed values' "),c.opts.verbose&&(b+=" , schema: validate.schema"+k+" , parentSchema: validate.schema"+c.schemaPath+" , data: "+l+" "),b+=" } "):b+=" {} ";d=b;b=n.pop();b=!c.compositeRule&&a?c.async?b+(" throw new ValidationError(["+d+"]); "):b+(" validate.errors = ["+d+"]; return false; "):b+(" var err = "+d+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ");
b+=" }";a&&(b+=" else { ");return b}},u=>{u.exports=function(c,a,b){var d=" ",m=c.level,h=c.dataLevel,k=c.schema[a],p=c.schemaPath+c.util.getProperty(a),l=c.errSchemaPath+"/"+a;a=!c.opts.allErrors;var g="data"+(h||"");if(!1===c.opts.format)return a&&(d+=" if (true) { "),d;var f=c.opts.$data&&k&&k.$data;f?(d+=" var schema"+m+" = "+c.util.getData(k.$data,h,c.dataPathArr)+"; ",h="schema"+m):h=k;var n=c.opts.unknownFormats,e=Array.isArray(n);if(f){var q="format"+m,t="isObject"+m,r="formatType"+m;d+=" var "+
q+" = formats["+h+"]; var "+t+" = typeof "+q+" == 'object' && !("+q+" instanceof RegExp) && "+q+".validate; var "+r+" = "+t+" && "+q+".type || 'string'; if ("+t+") { ";c.async&&(d+=" var async"+m+" = "+q+".async; ");d+=" "+q+" = "+q+".validate; } if (  ";f&&(d+=" ("+h+" !== undefined && typeof "+h+" != 'string') || ");d+=" (";"ignore"!=n&&(d+=" ("+h+" && !"+q+" ",e&&(d+=" && self._opts.unknownFormats.indexOf("+h+") == -1 "),d+=") || ");d+=" ("+q+" && "+r+" == '"+b+"' && !(typeof "+q+" == 'function' ? ";
d=c.async?d+(" (async"+m+" ? await "+q+"("+g+") : "+q+"("+g+")) "):d+(" "+q+"("+g+") ");d+=" : "+q+".test("+g+"))))) {"}else{q=c.formats[k];if(!q){if("ignore"==n)return c.logger.warn('unknown format "'+k+'" ignored in schema at path "'+c.errSchemaPath+'"'),a&&(d+=" if (true) { "),d;if(e&&0<=n.indexOf(k))return a&&(d+=" if (true) { "),d;throw Error('unknown format "'+k+'" is used in schema at path "'+c.errSchemaPath+'"');}r=(t="object"==typeof q&&!(q instanceof RegExp)&&q.validate)&&q.type||"string";
if(t){var v=!0===q.async;q=q.validate}if(r!=b)return a&&(d+=" if (true) { "),d;if(v){if(!c.async)throw Error("async format in sync schema");b="formats"+c.util.getProperty(k)+".validate";d+=" if (!(await "+b+"("+g+"))) { "}else d+=" if (! ",b="formats"+c.util.getProperty(k),t&&(b+=".validate"),d=("function"==typeof q?d+(" "+b+"("+g+") "):d+(" "+b+".test("+g+") "))+") { "}var z=z||[];z.push(d);d="";!1!==c.createErrors?(d+=" { keyword: 'format' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+
c.util.toQuotedString(l)+" , params: { format:  ",d=f?d+(""+h):d+(""+c.util.toQuotedString(k)),d+="  } ",!1!==c.opts.messages&&(d+=" , message: 'should match format \"",d=f?d+("' + "+h+" + '"):d+(""+c.util.escapeQuotes(k)),d+="\"' "),c.opts.verbose&&(d+=" , schema:  ",d=f?d+("validate.schema"+p):d+(""+c.util.toQuotedString(k)),d+="         , parentSchema: validate.schema"+c.schemaPath+" , data: "+g+" "),d+=" } "):d+=" {} ";k=d;d=z.pop();d=!c.compositeRule&&a?c.async?d+(" throw new ValidationError(["+
k+"]); "):d+(" validate.errors = ["+k+"]; return false; "):d+(" var err = "+k+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ");d+=" } ";a&&(d+=" else { ");return d}},u=>{u.exports=function(c,a,b){b=" ";var d=c.level,m=c.dataLevel,h=c.schema[a],k=c.schemaPath+c.util.getProperty(a);a=c.errSchemaPath+"/"+a;var p=!c.opts.allErrors;m="data"+(m||"");var l="valid"+d,g="errs__"+d,f=c.util.copy(c);f.level++;var n="valid"+f.level,e=c.schema.then,q=c.schema["else"];e=void 0!==
e&&(c.opts.strictKeywords?"object"==typeof e&&0<Object.keys(e).length||!1===e:c.util.schemaHasRules(e,c.RULES.all));q=void 0!==q&&(c.opts.strictKeywords?"object"==typeof q&&0<Object.keys(q).length||!1===q:c.util.schemaHasRules(q,c.RULES.all));var t=f.baseId;if(e||q){f.createErrors=!1;f.schema=h;f.schemaPath=k;f.errSchemaPath=a;h=c.compositeRule;c.compositeRule=f.compositeRule=!0;b=b+(" var "+g+" = errors; var "+l+" = true;    ")+(c.validate(f)+" ");f.baseId=t;f.createErrors=!0;b+="  errors = "+g+
"; if (vErrors !== null) { if ("+g+") vErrors.length = "+g+"; else vErrors = null; }  ";c.compositeRule=f.compositeRule=h;if(e){f.schema=c.schema.then;f.schemaPath=c.schemaPath+".then";f.errSchemaPath=c.errSchemaPath+"/then";b=b+(" if ("+n+") {    ")+(c.validate(f)+" ");f.baseId=t;b+=" "+l+" = "+n+"; ";if(e&&q){var r="ifClause"+d;b+=" var "+r+" = 'then'; "}else r="'then'";b+=" } ";q&&(b+=" else { ")}else b+=" if (!"+n+") { ";q&&(f.schema=c.schema["else"],f.schemaPath=c.schemaPath+".else",f.errSchemaPath=
c.errSchemaPath+"/else",b+="  "+c.validate(f)+" ",f.baseId=t,b+=" "+l+" = "+n+"; ",e&&q?(r="ifClause"+d,b+=" var "+r+" = 'else'; "):r="'else'",b+=" } ");b+=" if (!"+l+") {   var err =   ";!1!==c.createErrors?(b+=" { keyword: 'if' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(a)+" , params: { failingKeyword: "+r+" } ",!1!==c.opts.messages&&(b+=" , message: 'should match \"' + "+r+" + '\" schema' "),c.opts.verbose&&(b+=" , schema: validate.schema"+k+" , parentSchema: validate.schema"+
c.schemaPath+" , data: "+m+" "),b+=" } "):b+=" {} ";b+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";!c.compositeRule&&p&&(b=c.async?b+" throw new ValidationError(vErrors); ":b+" validate.errors = vErrors; return false; ");b+=" }   ";p&&(b+=" else { ")}else p&&(b+=" if (true) { ");return b}},u=>{u.exports=function(c,a,b){b=" ";var d=c.level,m=c.dataLevel,h=c.schema[a],k=c.schemaPath+c.util.getProperty(a),p=c.errSchemaPath+"/"+a;a=!c.opts.allErrors;m="data"+(m||"");
var l="valid"+d,g="errs__"+d,f=c.util.copy(c),n="";f.level++;var e="valid"+f.level;d="i"+d;var q=f.dataLevel=c.dataLevel+1,t="data"+q,r=c.baseId;b+="var "+g+" = errors;var "+l+";";if(Array.isArray(h)){var v=c.schema.additionalItems;if(!1===v){b+=" "+l+" = "+m+".length <= "+h.length+"; ";var z=p;p=c.errSchemaPath+"/additionalItems";var E=E||[];E.push(b+("  if (!"+l+") {   "));b="";!1!==c.createErrors?(b+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+
c.util.toQuotedString(p)+" , params: { limit: "+h.length+" } ",!1!==c.opts.messages&&(b+=" , message: 'should NOT have more than "+h.length+" items' "),c.opts.verbose&&(b+=" , schema: false , parentSchema: validate.schema"+c.schemaPath+" , data: "+m+" "),b+=" } "):b+=" {} ";p=b;b=E.pop();b=!c.compositeRule&&a?c.async?b+(" throw new ValidationError(["+p+"]); "):b+(" validate.errors = ["+p+"]; return false; "):b+(" var err = "+p+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ");
b+=" } ";p=z;a&&(n+="}",b+=" else { ")}if(h)for(E=-1,l=h.length-1;E<l;){var A=h[E+=1];if(c.opts.strictKeywords?"object"==typeof A&&0<Object.keys(A).length||!1===A:c.util.schemaHasRules(A,c.RULES.all))b+=" "+e+" = true; if ("+m+".length > "+E+") { ",z=m+"["+E+"]",f.schema=A,f.schemaPath=k+"["+E+"]",f.errSchemaPath=p+"/"+E,f.errorPath=c.util.getPathExpr(c.errorPath,E,c.opts.jsonPointers,!0),f.dataPathArr[q]=E,A=c.validate(f),f.baseId=r,b=2>c.util.varOccurences(A,t)?b+(" "+c.util.varReplace(A,t,z)+" "):
b+(" var "+t+" = "+z+"; "+A+" "),b+=" }  ",a&&(b+=" if ("+e+") { ",n+="}")}"object"==typeof v&&(c.opts.strictKeywords?"object"==typeof v&&0<Object.keys(v).length||!1===v:c.util.schemaHasRules(v,c.RULES.all))&&(f.schema=v,f.schemaPath=c.schemaPath+".additionalItems",f.errSchemaPath=c.errSchemaPath+"/additionalItems",b+=" "+e+" = true; if ("+m+".length > "+h.length+") {  for (var "+d+" = "+h.length+"; "+d+" < "+m+".length; "+d+"++) { ",f.errorPath=c.util.getPathExpr(c.errorPath,d,c.opts.jsonPointers,
!0),z=m+"["+d+"]",f.dataPathArr[q]=d,A=c.validate(f),f.baseId=r,b=2>c.util.varOccurences(A,t)?b+(" "+c.util.varReplace(A,t,z)+" "):b+(" var "+t+" = "+z+"; "+A+" "),a&&(b+=" if (!"+e+") break; "),b+=" } }  ",a&&(b+=" if ("+e+") { ",n+="}"))}else if(c.opts.strictKeywords?"object"==typeof h&&0<Object.keys(h).length||!1===h:c.util.schemaHasRules(h,c.RULES.all))f.schema=h,f.schemaPath=k,f.errSchemaPath=p,b+="  for (var "+d+" = 0; "+d+" < "+m+".length; "+d+"++) { ",f.errorPath=c.util.getPathExpr(c.errorPath,
d,c.opts.jsonPointers,!0),z=m+"["+d+"]",f.dataPathArr[q]=d,A=c.validate(f),f.baseId=r,b=2>c.util.varOccurences(A,t)?b+(" "+c.util.varReplace(A,t,z)+" "):b+(" var "+t+" = "+z+"; "+A+" "),a&&(b+=" if (!"+e+") break; "),b+=" }";a&&(b+=" "+n+" if ("+g+" == errors) {");return b}},u=>{u.exports=function(c,a,b){b=" ";var d=c.level,m=c.dataLevel,h=c.schema[a],k=c.schemaPath+c.util.getProperty(a),p=c.errSchemaPath+"/"+a,l=!c.opts.allErrors,g="data"+(m||""),f=c.opts.$data&&h&&h.$data;if(f){b+=" var schema"+
d+" = "+c.util.getData(h.$data,m,c.dataPathArr)+"; ";var n="schema"+d}else n=h;var e="maximum"==a,q=e?"exclusiveMaximum":"exclusiveMinimum",t=c.schema[q],r=c.opts.$data&&t&&t.$data,v=e?"<":">",z=e?">":"<";var E=void 0;if(!f&&"number"!=typeof h&&void 0!==h)throw Error(a+" must be number");if(!r&&void 0!==t&&"number"!=typeof t&&"boolean"!=typeof t)throw Error(q+" must be number or boolean");if(r){t=c.util.getData(t.$data,m,c.dataPathArr);var A="exclusive"+d,D="exclType"+d;e="op"+d;m="' + "+e+" + '";
b+=" var schemaExcl"+d+" = "+t+"; ";t="schemaExcl"+d;E=q;var F=F||[];F.push(b+(" var "+A+"; var "+D+" = typeof "+t+"; if ("+D+" != 'boolean' && "+D+" != 'undefined' && "+D+" != 'number') { "));b="";!1!==c.createErrors?(b+=" { keyword: '"+(E||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(p)+" , params: {} ",!1!==c.opts.messages&&(b+=" , message: '"+q+" should be boolean' "),c.opts.verbose&&(b+=" , schema: validate.schema"+k+" , parentSchema: validate.schema"+
c.schemaPath+" , data: "+g+" "),b+=" } "):b+=" {} ";var C=b;b=F.pop();b=!c.compositeRule&&l?c.async?b+(" throw new ValidationError(["+C+"]); "):b+(" validate.errors = ["+C+"]; return false; "):b+(" var err = "+C+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ");b+=" } else if ( ";f&&(b+=" ("+n+" !== undefined && typeof "+n+" != 'number') || ");b+=" "+D+" == 'number' ? ( ("+A+" = "+n+" === undefined || "+t+" "+v+"= "+n+") ? "+g+" "+z+"= "+t+" : "+g+" "+z+" "+n+" ) : ( ("+
A+" = "+t+" === true) ? "+g+" "+z+"= "+n+" : "+g+" "+z+" "+n+" ) || "+g+" !== "+g+") { var op"+d+" = "+A+" ? '"+v+"' : '"+v+"='; ";void 0===h&&(E=q,p=c.errSchemaPath+"/"+q,n=t,f=r)}else d="number"==typeof t,m=v,d&&f?(e="'"+m+"'",b+=" if ( ",f&&(b+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),b+=" ( "+n+" === undefined || "+t+" "+v+"= "+n+" ? "+g+" "+z+"= "+t+" : "+g+" "+z+" "+n+" ) || "+g+" !== "+g+") { "):(d&&void 0===h?(A=!0,E=q,p=c.errSchemaPath+"/"+q,n=t,z+="="):(d&&(n=Math[e?"min":
"max"](t,h)),t===(d?n:!0)?(A=!0,E=q,p=c.errSchemaPath+"/"+q,z+="="):(A=!1,m+="=")),e="'"+m+"'",b+=" if ( ",f&&(b+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),b+=" "+g+" "+z+" "+n+" || "+g+" !== "+g+") { ");E=E||a;F=F||[];F.push(b);b="";!1!==c.createErrors?(b+=" { keyword: '"+(E||"_limit")+"' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(p)+" , params: { comparison: "+e+", limit: "+n+", exclusive: "+A+" } ",!1!==c.opts.messages&&(b+=" , message: 'should be "+
m+" ",b=f?b+("' + "+n):b+(""+n+"'")),c.opts.verbose&&(b+=" , schema:  ",b=(f?b+("validate.schema"+k):b+(""+h))+("         , parentSchema: validate.schema"+c.schemaPath+" , data: "+g+" ")),b+=" } "):b+=" {} ";C=b;b=F.pop();b=!c.compositeRule&&l?c.async?b+(" throw new ValidationError(["+C+"]); "):b+(" validate.errors = ["+C+"]; return false; "):b+(" var err = "+C+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ");b+=" } ";l&&(b+=" else { ");return b}},u=>{u.exports=function(c,
a,b){b=" ";var d=c.level,m=c.dataLevel,h=c.schema[a],k=c.schemaPath+c.util.getProperty(a),p=c.errSchemaPath+"/"+a,l=!c.opts.allErrors,g="data"+(m||""),f=c.opts.$data&&h&&h.$data;f?(b+=" var schema"+d+" = "+c.util.getData(h.$data,m,c.dataPathArr)+"; ",d="schema"+d):d=h;if(!f&&"number"!=typeof h)throw Error(a+" must be number");b+="if ( ";f&&(b+=" ("+d+" !== undefined && typeof "+d+" != 'number') || ");var n=n||[];n.push(b+(" "+g+".length "+("maxItems"==a?">":"<")+" "+d+") { "));b="";!1!==c.createErrors?
(b+=" { keyword: '"+(a||"_limitItems")+"' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(p)+" , params: { limit: "+d+" } ",!1!==c.opts.messages&&(b+=" , message: 'should NOT have ",b="maxItems"==a?b+"more":b+"fewer",b+=" than ",b=f?b+("' + "+d+" + '"):b+(""+h),b+=" items' "),c.opts.verbose&&(b+=" , schema:  ",b=f?b+("validate.schema"+k):b+(""+h),b+="         , parentSchema: validate.schema"+c.schemaPath+" , data: "+g+" "),b+=" } "):b+=" {} ";a=b;b=n.pop();b=!c.compositeRule&&
l?c.async?b+(" throw new ValidationError(["+a+"]); "):b+(" validate.errors = ["+a+"]; return false; "):b+(" var err = "+a+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ");b+="} ";l&&(b+=" else { ");return b}},u=>{u.exports=function(c,a,b){b=" ";var d=c.level,m=c.dataLevel,h=c.schema[a],k=c.schemaPath+c.util.getProperty(a),p=c.errSchemaPath+"/"+a,l=!c.opts.allErrors,g="data"+(m||""),f=c.opts.$data&&h&&h.$data;f?(b+=" var schema"+d+" = "+c.util.getData(h.$data,m,c.dataPathArr)+
"; ",d="schema"+d):d=h;if(!f&&"number"!=typeof h)throw Error(a+" must be number");b+="if ( ";f&&(b+=" ("+d+" !== undefined && typeof "+d+" != 'number') || ");b=!1===c.opts.unicode?b+(" "+g+".length "):b+(" ucs2length("+g+") ");var n=n||[];n.push(b+(" "+("maxLength"==a?">":"<")+" "+d+") { "));b="";!1!==c.createErrors?(b+=" { keyword: '"+(a||"_limitLength")+"' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(p)+" , params: { limit: "+d+" } ",!1!==c.opts.messages&&
(b+=" , message: 'should NOT be ",b="maxLength"==a?b+"longer":b+"shorter",b+=" than ",b=f?b+("' + "+d+" + '"):b+(""+h),b+=" characters' "),c.opts.verbose&&(b+=" , schema:  ",b=f?b+("validate.schema"+k):b+(""+h),b+="         , parentSchema: validate.schema"+c.schemaPath+" , data: "+g+" "),b+=" } "):b+=" {} ";a=b;b=n.pop();b=!c.compositeRule&&l?c.async?b+(" throw new ValidationError(["+a+"]); "):b+(" validate.errors = ["+a+"]; return false; "):b+(" var err = "+a+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ");
b+="} ";l&&(b+=" else { ");return b}},u=>{u.exports=function(c,a,b){b=" ";var d=c.level,m=c.dataLevel,h=c.schema[a],k=c.schemaPath+c.util.getProperty(a),p=c.errSchemaPath+"/"+a,l=!c.opts.allErrors,g="data"+(m||""),f=c.opts.$data&&h&&h.$data;f?(b+=" var schema"+d+" = "+c.util.getData(h.$data,m,c.dataPathArr)+"; ",d="schema"+d):d=h;if(!f&&"number"!=typeof h)throw Error(a+" must be number");b+="if ( ";f&&(b+=" ("+d+" !== undefined && typeof "+d+" != 'number') || ");var n=n||[];n.push(b+(" Object.keys("+
g+").length "+("maxProperties"==a?">":"<")+" "+d+") { "));b="";!1!==c.createErrors?(b+=" { keyword: '"+(a||"_limitProperties")+"' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(p)+" , params: { limit: "+d+" } ",!1!==c.opts.messages&&(b+=" , message: 'should NOT have ",b="maxProperties"==a?b+"more":b+"fewer",b+=" than ",b=f?b+("' + "+d+" + '"):b+(""+h),b+=" properties' "),c.opts.verbose&&(b+=" , schema:  ",b=f?b+("validate.schema"+k):b+(""+h),b+="         , parentSchema: validate.schema"+
c.schemaPath+" , data: "+g+" "),b+=" } "):b+=" {} ";a=b;b=n.pop();b=!c.compositeRule&&l?c.async?b+(" throw new ValidationError(["+a+"]); "):b+(" validate.errors = ["+a+"]; return false; "):b+(" var err = "+a+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ");b+="} ";l&&(b+=" else { ");return b}},u=>{u.exports=function(c,a,b){b=" ";var d=c.level,m=c.dataLevel,h=c.schema[a],k=c.schemaPath+c.util.getProperty(a),p=c.errSchemaPath+"/"+a,l=!c.opts.allErrors,g="data"+(m||""),
f=c.opts.$data&&h&&h.$data;f?(b+=" var schema"+d+" = "+c.util.getData(h.$data,m,c.dataPathArr)+"; ",m="schema"+d):m=h;if(!f&&"number"!=typeof h)throw Error(a+" must be number");b+="var division"+d+";if (";f&&(b+=" "+m+" !== undefined && ( typeof "+m+" != 'number' || ");b+=" (division"+d+" = "+g+" / "+m+", ";b=c.opts.multipleOfPrecision?b+(" Math.abs(Math.round(division"+d+") - division"+d+") > 1e-"+c.opts.multipleOfPrecision+" "):b+(" division"+d+" !== parseInt(division"+d+") ");b+=" ) ";f&&(b+="  )  ");
var n=n||[];n.push(b+" ) {   ");b="";!1!==c.createErrors?(b+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(p)+" , params: { multipleOf: "+m+" } ",!1!==c.opts.messages&&(b+=" , message: 'should be multiple of ",b=f?b+("' + "+m):b+(""+m+"'")),c.opts.verbose&&(b+=" , schema:  ",b=(f?b+("validate.schema"+k):b+(""+h))+("         , parentSchema: validate.schema"+c.schemaPath+" , data: "+g+" ")),b+=" } "):b+=" {} ";a=b;b=n.pop();b=!c.compositeRule&&
l?c.async?b+(" throw new ValidationError(["+a+"]); "):b+(" validate.errors = ["+a+"]; return false; "):b+(" var err = "+a+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ");b+="} ";l&&(b+=" else { ");return b}},u=>{u.exports=function(c,a,b){b=" ";var d=c.level,m=c.dataLevel,h=c.schema[a],k=c.schemaPath+c.util.getProperty(a),p=c.errSchemaPath+"/"+a;a=!c.opts.allErrors;m="data"+(m||"");d="errs__"+d;var l=c.util.copy(c);l.level++;var g="valid"+l.level;if(c.opts.strictKeywords?
"object"==typeof h&&0<Object.keys(h).length||!1===h:c.util.schemaHasRules(h,c.RULES.all)){l.schema=h;l.schemaPath=k;l.errSchemaPath=p;h=c.compositeRule;c.compositeRule=l.compositeRule=!0;l.createErrors=!1;if(l.opts.allErrors){var f=l.opts.allErrors;l.opts.allErrors=!1}b=b+(" var "+d+" = errors;   ")+(c.validate(l)+" ");l.createErrors=!0;f&&(l.opts.allErrors=f);c.compositeRule=l.compositeRule=h;var n=n||[];n.push(b+(" if ("+g+") {   "));b="";!1!==c.createErrors?(b+=" { keyword: 'not' , dataPath: (dataPath || '') + "+
c.errorPath+" , schemaPath: "+c.util.toQuotedString(p)+" , params: {} ",!1!==c.opts.messages&&(b+=" , message: 'should NOT be valid' "),c.opts.verbose&&(b+=" , schema: validate.schema"+k+" , parentSchema: validate.schema"+c.schemaPath+" , data: "+m+" "),b+=" } "):b+=" {} ";f=b;b=n.pop();b=!c.compositeRule&&a?c.async?b+(" throw new ValidationError(["+f+"]); "):b+(" validate.errors = ["+f+"]; return false; "):b+(" var err = "+f+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ");
b+=" } else {  errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } ";c.opts.allErrors&&(b+=" } ")}else b+="  var err =   ",!1!==c.createErrors?(b+=" { keyword: 'not' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(p)+" , params: {} ",!1!==c.opts.messages&&(b+=" , message: 'should NOT be valid' "),c.opts.verbose&&(b+=" , schema: validate.schema"+k+" , parentSchema: validate.schema"+c.schemaPath+" , data: "+m+" "),b+=
" } "):b+=" {} ",b+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a&&(b+=" if (false) { ");return b}},u=>{u.exports=function(c,a,b){b=" ";var d=c.level,m=c.dataLevel,h=c.schema[a],k=c.schemaPath+c.util.getProperty(a);a=c.errSchemaPath+"/"+a;var p=!c.opts.allErrors;m="data"+(m||"");var l="valid"+d,g="errs__"+d,f=c.util.copy(c),n="";f.level++;var e="valid"+f.level,q=f.baseId,t="prevValid"+d;d="passingSchemas"+d;b+="var "+g+" = errors , "+t+" = false , "+l+" = false , "+
d+" = null; ";var r=c.compositeRule;c.compositeRule=f.compositeRule=!0;if(h)for(var v,z=-1,E=h.length-1;z<E;)v=h[z+=1],(c.opts.strictKeywords?"object"==typeof v&&0<Object.keys(v).length||!1===v:c.util.schemaHasRules(v,c.RULES.all))?(f.schema=v,f.schemaPath=k+"["+z+"]",f.errSchemaPath=a+"/"+z,b+="  "+c.validate(f)+" ",f.baseId=q):b+=" var "+e+" = true; ",z&&(b+=" if ("+e+" && "+t+") { "+l+" = false; "+d+" = ["+d+", "+z+"]; } else { ",n+="}"),b+=" if ("+e+") { "+l+" = "+t+" = true; "+d+" = "+z+"; }";
c.compositeRule=f.compositeRule=r;b+=""+n+"if (!"+l+") {   var err =   ";!1!==c.createErrors?(b+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(a)+" , params: { passingSchemas: "+d+" } ",!1!==c.opts.messages&&(b+=" , message: 'should match exactly one schema in oneOf' "),c.opts.verbose&&(b+=" , schema: validate.schema"+k+" , parentSchema: validate.schema"+c.schemaPath+" , data: "+m+" "),b+=" } "):b+=" {} ";b+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";
!c.compositeRule&&p&&(b=c.async?b+" throw new ValidationError(vErrors); ":b+" validate.errors = vErrors; return false; ");b+="} else {  errors = "+g+"; if (vErrors !== null) { if ("+g+") vErrors.length = "+g+"; else vErrors = null; }";c.opts.allErrors&&(b+=" } ");return b}},u=>{u.exports=function(c,a,b){b=" ";var d=c.level,m=c.dataLevel,h=c.schema[a],k=c.schemaPath+c.util.getProperty(a),p=c.errSchemaPath+"/"+a;a=!c.opts.allErrors;var l="data"+(m||""),g=c.opts.$data&&h&&h.$data;g?(b+=" var schema"+
d+" = "+c.util.getData(h.$data,m,c.dataPathArr)+"; ",d="schema"+d):d=h;m=g?"(new RegExp("+d+"))":c.usePattern(h);b+="if ( ";g&&(b+=" ("+d+" !== undefined && typeof "+d+" != 'string') || ");var f=f||[];f.push(b+(" !"+m+".test("+l+") ) {   "));b="";!1!==c.createErrors?(b+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(p)+" , params: { pattern:  ",b=g?b+(""+d):b+(""+c.util.toQuotedString(h)),b+="  } ",!1!==c.opts.messages&&(b+=" , message: 'should match pattern \"",
b=g?b+("' + "+d+" + '"):b+(""+c.util.escapeQuotes(h)),b+="\"' "),c.opts.verbose&&(b+=" , schema:  ",b=g?b+("validate.schema"+k):b+(""+c.util.toQuotedString(h)),b+="         , parentSchema: validate.schema"+c.schemaPath+" , data: "+l+" "),b+=" } "):b+=" {} ";h=b;b=f.pop();b=!c.compositeRule&&a?c.async?b+(" throw new ValidationError(["+h+"]); "):b+(" validate.errors = ["+h+"]; return false; "):b+(" var err = "+h+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ");b+="} ";
a&&(b+=" else { ");return b}},u=>{u.exports=function(c,a,b){function d(G){return"__proto__"!==G}b=" ";var m=c.level,h=c.dataLevel,k=c.schema[a],p=c.schemaPath+c.util.getProperty(a),l=c.errSchemaPath+"/"+a;a=!c.opts.allErrors;h="data"+(h||"");var g="errs__"+m,f=c.util.copy(c),n="";f.level++;var e="valid"+f.level,q="key"+m,t="idx"+m,r=f.dataLevel=c.dataLevel+1,v="data"+r,z="dataProperties"+m,E=Object.keys(k||{}).filter(d),A=c.schema.patternProperties||{},D=Object.keys(A).filter(d),F=c.schema.additionalProperties,
C=E.length||D.length,B=!1===F,I="object"==typeof F&&Object.keys(F).length,J=c.opts.removeAdditional,M=B||I||J,P=c.opts.ownProperties,O=c.baseId,N=c.schema.required;if(N&&(!c.opts.$data||!N.$data)&&N.length<c.opts.loopRequired)var L=c.util.toHash(N);b+="var "+g+" = errors;var "+e+" = true;";P&&(b+=" var "+z+" = undefined;");if(M){b=P?b+(" "+z+" = "+z+" || Object.keys("+h+"); for (var "+t+"=0; "+t+"<"+z+".length; "+t+"++) { var "+q+" = "+z+"["+t+"]; "):b+(" for (var "+q+" in "+h+") { ");if(C){b+=" var isAdditional"+
m+" = !(false ";if(E.length)if(8<E.length)b+=" || validate.schema"+p+".hasOwnProperty("+q+") ";else if(E){N=-1;for(var x=E.length-1;N<x;)M=E[N+=1],b+=" || "+q+" == "+c.util.toQuotedString(M)+" "}if(D.length&&D)for(N=-1,x=D.length-1;N<x;)M=D[N+=1],b+=" || "+c.usePattern(M)+".test("+q+") ";b+=" ); if (isAdditional"+m+") { "}if("all"==J)b+=" delete "+h+"["+q+"]; ";else{m=c.errorPath;M="' + "+q+" + '";c.opts._errorDataPathProperty&&(c.errorPath=c.util.getPathExpr(c.errorPath,q,c.opts.jsonPointers));if(B)if(J)b+=
" delete "+h+"["+q+"]; ";else{B=l;l=c.errSchemaPath+"/additionalProperties";var y=y||[];y.push(b+(" "+e+" = false; "));b="";!1!==c.createErrors?(b+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(l)+" , params: { additionalProperty: '"+M+"' } ",!1!==c.opts.messages&&(b+=" , message: '",b=c.opts._errorDataPathProperty?b+"is an invalid additional property":b+"should NOT have additional properties",b+="' "),c.opts.verbose&&(b+=
" , schema: false , parentSchema: validate.schema"+c.schemaPath+" , data: "+h+" "),b+=" } "):b+=" {} ";l=b;b=y.pop();b=!c.compositeRule&&a?c.async?b+(" throw new ValidationError(["+l+"]); "):b+(" validate.errors = ["+l+"]; return false; "):b+(" var err = "+l+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ");l=B;a&&(b+=" break; ")}else I&&("failing"==J?(b+=" var "+g+" = errors;  ",M=c.compositeRule,c.compositeRule=f.compositeRule=!0,f.schema=F,f.schemaPath=c.schemaPath+
".additionalProperties",f.errSchemaPath=c.errSchemaPath+"/additionalProperties",f.errorPath=c.opts._errorDataPathProperty?c.errorPath:c.util.getPathExpr(c.errorPath,q,c.opts.jsonPointers),B=h+"["+q+"]",f.dataPathArr[r]=q,F=c.validate(f),f.baseId=O,b=2>c.util.varOccurences(F,v)?b+(" "+c.util.varReplace(F,v,B)+" "):b+(" var "+v+" = "+B+"; "+F+" "),b+=" if (!"+e+") { errors = "+g+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+h+
"["+q+"]; }  ",c.compositeRule=f.compositeRule=M):(f.schema=F,f.schemaPath=c.schemaPath+".additionalProperties",f.errSchemaPath=c.errSchemaPath+"/additionalProperties",f.errorPath=c.opts._errorDataPathProperty?c.errorPath:c.util.getPathExpr(c.errorPath,q,c.opts.jsonPointers),B=h+"["+q+"]",f.dataPathArr[r]=q,F=c.validate(f),f.baseId=O,b=2>c.util.varOccurences(F,v)?b+(" "+c.util.varReplace(F,v,B)+" "):b+(" var "+v+" = "+B+"; "+F+" "),a&&(b+=" if (!"+e+") break; ")));c.errorPath=m}C&&(b+=" } ");b+=" }  ";
a&&(b+=" if ("+e+") { ",n+="}")}C=c.opts.useDefaults&&!c.compositeRule;if(E.length&&E)for(I=-1,J=E.length-1;I<J;){M=E[I+=1];F=k[M];if(c.opts.strictKeywords?"object"==typeof F&&0<Object.keys(F).length||!1===F:c.util.schemaHasRules(F,c.RULES.all))N=c.util.getProperty(M),B=h+N,m=C&&void 0!==F.default,f.schema=F,f.schemaPath=p+N,f.errSchemaPath=l+"/"+c.util.escapeFragment(M),f.errorPath=c.util.getPath(c.errorPath,M,c.opts.jsonPointers),f.dataPathArr[r]=c.util.toQuotedString(M),F=c.validate(f),f.baseId=
O,2>c.util.varOccurences(F,v)?(F=c.util.varReplace(F,v,B),N=B):(N=v,b+=" var "+v+" = "+B+"; "),m?b+=" "+F+" ":(L&&L[M]?(b+=" if ( "+N+" === undefined ",P&&(b+=" || ! Object.prototype.hasOwnProperty.call("+h+", '"+c.util.escapeQuotes(M)+"') "),b+=") { "+e+" = false; ",m=c.errorPath,B=l,N=c.util.escapeQuotes(M),c.opts._errorDataPathProperty&&(c.errorPath=c.util.getPath(m,M,c.opts.jsonPointers)),l=c.errSchemaPath+"/required",y=y||[],y.push(b),b="",!1!==c.createErrors?(b+=" { keyword: 'required' , dataPath: (dataPath || '') + "+
c.errorPath+" , schemaPath: "+c.util.toQuotedString(l)+" , params: { missingProperty: '"+N+"' } ",!1!==c.opts.messages&&(b+=" , message: '",b=c.opts._errorDataPathProperty?b+"is a required property":b+("should have required property \\'"+N+"\\'"),b+="' "),c.opts.verbose&&(b+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+c.schemaPath+" , data: "+h+" "),b+=" } "):b+=" {} ",l=b,b=y.pop(),b=!c.compositeRule&&a?c.async?b+(" throw new ValidationError(["+l+"]); "):b+(" validate.errors = ["+
l+"]; return false; "):b+(" var err = "+l+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "),l=B,c.errorPath=m,b+=" } else { "):a?(b+=" if ( "+N+" === undefined ",P&&(b+=" || ! Object.prototype.hasOwnProperty.call("+h+", '"+c.util.escapeQuotes(M)+"') "),b+=") { "+e+" = true; } else { "):(b+=" if ("+N+" !== undefined ",P&&(b+=" &&   Object.prototype.hasOwnProperty.call("+h+", '"+c.util.escapeQuotes(M)+"') "),b+=" ) { "),b+=" "+F+" } ");a&&(b+=" if ("+e+") { ",n+="}")}if(D.length&&
D)for(L=-1,y=D.length-1;L<y;)if(M=D[L+=1],F=A[M],c.opts.strictKeywords?"object"==typeof F&&0<Object.keys(F).length||!1===F:c.util.schemaHasRules(F,c.RULES.all))f.schema=F,f.schemaPath=c.schemaPath+".patternProperties"+c.util.getProperty(M),f.errSchemaPath=c.errSchemaPath+"/patternProperties/"+c.util.escapeFragment(M),b=P?b+(" "+z+" = "+z+" || Object.keys("+h+"); for (var "+t+"=0; "+t+"<"+z+".length; "+t+"++) { var "+q+" = "+z+"["+t+"]; "):b+(" for (var "+q+" in "+h+") { "),b+=" if ("+c.usePattern(M)+
".test("+q+")) { ",f.errorPath=c.util.getPathExpr(c.errorPath,q,c.opts.jsonPointers),B=h+"["+q+"]",f.dataPathArr[r]=q,F=c.validate(f),f.baseId=O,b=2>c.util.varOccurences(F,v)?b+(" "+c.util.varReplace(F,v,B)+" "):b+(" var "+v+" = "+B+"; "+F+" "),a&&(b+=" if (!"+e+") break; "),b+=" } ",a&&(b+=" else "+e+" = true; "),b+=" }  ",a&&(b+=" if ("+e+") { ",n+="}");a&&(b+=" "+n+" if ("+g+" == errors) {");return b}},u=>{u.exports=function(c,a,b){b=" ";var d=c.level,m=c.dataLevel,h=c.schema[a],k=c.schemaPath+
c.util.getProperty(a);a=c.errSchemaPath+"/"+a;var p=!c.opts.allErrors;m="data"+(m||"");var l="errs__"+d,g=c.util.copy(c);g.level++;var f="valid"+g.level;b+="var "+l+" = errors;";if(c.opts.strictKeywords?"object"==typeof h&&0<Object.keys(h).length||!1===h:c.util.schemaHasRules(h,c.RULES.all)){g.schema=h;g.schemaPath=k;g.errSchemaPath=a;h="key"+d;var n="idx"+d,e="i"+d,q="' + "+h+" + '",t="data"+(g.dataLevel=c.dataLevel+1),r="dataProperties"+d,v=c.opts.ownProperties,z=c.baseId;v&&(b+=" var "+r+" = undefined; ");
b=(v?b+(" "+r+" = "+r+" || Object.keys("+m+"); for (var "+n+"=0; "+n+"<"+r+".length; "+n+"++) { var "+h+" = "+r+"["+n+"]; "):b+(" for (var "+h+" in "+m+") { "))+(" var startErrs"+d+" = errors; ");n=c.compositeRule;c.compositeRule=g.compositeRule=!0;r=c.validate(g);g.baseId=z;b=2>c.util.varOccurences(r,t)?b+(" "+c.util.varReplace(r,t,h)+" "):b+(" var "+t+" = "+h+"; "+r+" ");c.compositeRule=g.compositeRule=n;b+=" if (!"+f+") { for (var "+e+"=startErrs"+d+"; "+e+"<errors; "+e+"++) { vErrors["+e+"].propertyName = "+
h+"; }   var err =   ";!1!==c.createErrors?(b+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(a)+" , params: { propertyName: '"+q+"' } ",!1!==c.opts.messages&&(b+=" , message: 'property name \\'"+q+"\\' is invalid' "),c.opts.verbose&&(b+=" , schema: validate.schema"+k+" , parentSchema: validate.schema"+c.schemaPath+" , data: "+m+" "),b+=" } "):b+=" {} ";b+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";
!c.compositeRule&&p&&(b=c.async?b+" throw new ValidationError(vErrors); ":b+" validate.errors = vErrors; return false; ");p&&(b+=" break; ");b+=" } }"}p&&(b+="  if ("+l+" == errors) {");return b}},u=>{u.exports=function(c,a,b){b=" ";var d=c.level,m=c.dataLevel,h=c.schema[a],k=c.schemaPath+c.util.getProperty(a);a=c.errSchemaPath+"/"+a;var p=!c.opts.allErrors,l="data"+(m||""),g="valid"+d,f=c.opts.$data&&h&&h.$data;f&&(b+=" var schema"+d+" = "+c.util.getData(h.$data,m,c.dataPathArr)+"; ");var n="schema"+
d;if(!f)if(h.length<c.opts.loopRequired&&c.schema.properties&&Object.keys(c.schema.properties).length){var e=[];if(h)for(var q=-1,t=h.length-1;q<t;){m=h[q+=1];var r=c.schema.properties[m];r&&(c.opts.strictKeywords?"object"==typeof r&&0<Object.keys(r).length||!1===r:c.util.schemaHasRules(r,c.RULES.all))||(e[e.length]=m)}}else e=h;if(f||e.length){h=c.errorPath;q=f||e.length>=c.opts.loopRequired;m=c.opts.ownProperties;if(p){b+=" var missing"+d+"; ";if(q){f||(b+=" var "+n+" = validate.schema"+k+"; ");
q="i"+d;t="schema"+d+"["+q+"]";e="' + "+t+" + '";c.opts._errorDataPathProperty&&(c.errorPath=c.util.getPathExpr(h,t,c.opts.jsonPointers));b+=" var "+g+" = true; ";f&&(b+=" if (schema"+d+" === undefined) "+g+" = true; else if (!Array.isArray(schema"+d+")) "+g+" = false; else {");b+=" for (var "+q+" = 0; "+q+" < "+n+".length; "+q+"++) { "+g+" = "+l+"["+n+"["+q+"]] !== undefined ";m&&(b+=" &&   Object.prototype.hasOwnProperty.call("+l+", "+n+"["+q+"]) ");b+="; if (!"+g+") break; } ";f&&(b+="  }  ");
var v=v||[];v.push(b+("  if (!"+g+") {   "));b="";!1!==c.createErrors?(b+=" { keyword: 'required' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(a)+" , params: { missingProperty: '"+e+"' } ",!1!==c.opts.messages&&(b+=" , message: '",b=c.opts._errorDataPathProperty?b+"is a required property":b+("should have required property \\'"+e+"\\'"),b+="' "),c.opts.verbose&&(b+=" , schema: validate.schema"+k+" , parentSchema: validate.schema"+c.schemaPath+" , data: "+l+" "),
b+=" } "):b+=" {} ";k=b}else{b+=" if ( ";if(e)for(q=-1,t=e.length-1;q<t;)g=e[q+=1],q&&(b+=" || "),f=c.util.getProperty(g),n=l+f,b+=" ( ( "+n+" === undefined ",m&&(b+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+c.util.escapeQuotes(g)+"') "),b+=") && (missing"+d+" = "+c.util.toQuotedString(c.opts.jsonPointers?g:f)+") ) ";b+=") {  ";t="missing"+d;e="' + "+t+" + '";c.opts._errorDataPathProperty&&(c.errorPath=c.opts.jsonPointers?c.util.getPathExpr(h,t,!0):h+" + "+t);v=v||[];v.push(b);b="";!1!==
c.createErrors?(b+=" { keyword: 'required' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(a)+" , params: { missingProperty: '"+e+"' } ",!1!==c.opts.messages&&(b+=" , message: '",b=c.opts._errorDataPathProperty?b+"is a required property":b+("should have required property \\'"+e+"\\'"),b+="' "),c.opts.verbose&&(b+=" , schema: validate.schema"+k+" , parentSchema: validate.schema"+c.schemaPath+" , data: "+l+" "),b+=" } "):b+=" {} ";k=b}b=v.pop();b=!c.compositeRule&&
p?c.async?b+(" throw new ValidationError(["+k+"]); "):b+(" validate.errors = ["+k+"]; return false; "):b+(" var err = "+k+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ");b+=" } else { "}else if(q)f||(b+=" var "+n+" = validate.schema"+k+"; "),q="i"+d,t="schema"+d+"["+q+"]",e="' + "+t+" + '",c.opts._errorDataPathProperty&&(c.errorPath=c.util.getPathExpr(h,t,c.opts.jsonPointers)),f&&(b+=" if ("+n+" && !Array.isArray("+n+")) {  var err =   ",!1!==c.createErrors?(b+=" { keyword: 'required' , dataPath: (dataPath || '') + "+
c.errorPath+" , schemaPath: "+c.util.toQuotedString(a)+" , params: { missingProperty: '"+e+"' } ",!1!==c.opts.messages&&(b+=" , message: '",b=c.opts._errorDataPathProperty?b+"is a required property":b+("should have required property \\'"+e+"\\'"),b+="' "),c.opts.verbose&&(b+=" , schema: validate.schema"+k+" , parentSchema: validate.schema"+c.schemaPath+" , data: "+l+" "),b+=" } "):b+=" {} ",b+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+n+" !== undefined) { "),
b+=" for (var "+q+" = 0; "+q+" < "+n+".length; "+q+"++) { if ("+l+"["+n+"["+q+"]] === undefined ",m&&(b+=" || ! Object.prototype.hasOwnProperty.call("+l+", "+n+"["+q+"]) "),b+=") {  var err =   ",!1!==c.createErrors?(b+=" { keyword: 'required' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(a)+" , params: { missingProperty: '"+e+"' } ",!1!==c.opts.messages&&(b+=" , message: '",b=c.opts._errorDataPathProperty?b+"is a required property":b+("should have required property \\'"+
e+"\\'"),b+="' "),c.opts.verbose&&(b+=" , schema: validate.schema"+k+" , parentSchema: validate.schema"+c.schemaPath+" , data: "+l+" "),b+=" } "):b+=" {} ",b+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",f&&(b+="  }  ");else if(v=e)for(d=-1,p=v.length-1;d<p;)g=v[d+=1],f=c.util.getProperty(g),e=c.util.escapeQuotes(g),n=l+f,c.opts._errorDataPathProperty&&(c.errorPath=c.util.getPath(h,g,c.opts.jsonPointers)),b+=" if ( "+n+" === undefined ",m&&(b+=" || ! Object.prototype.hasOwnProperty.call("+
l+", '"+c.util.escapeQuotes(g)+"') "),b+=") {  var err =   ",!1!==c.createErrors?(b+=" { keyword: 'required' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(a)+" , params: { missingProperty: '"+e+"' } ",!1!==c.opts.messages&&(b+=" , message: '",b=c.opts._errorDataPathProperty?b+"is a required property":b+("should have required property \\'"+e+"\\'"),b+="' "),c.opts.verbose&&(b+=" , schema: validate.schema"+k+" , parentSchema: validate.schema"+c.schemaPath+" , data: "+
l+" "),b+=" } "):b+=" {} ",b+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } ";c.errorPath=h}else p&&(b+=" if (true) {");return b}},u=>{u.exports=function(c,a,b){b=" ";var d=c.level,m=c.dataLevel,h=c.schema[a],k=c.schemaPath+c.util.getProperty(a),p=c.errSchemaPath+"/"+a;a=!c.opts.allErrors;var l="data"+(m||""),g="valid"+d,f=c.opts.$data&&h&&h.$data;f?(b+=" var schema"+d+" = "+c.util.getData(h.$data,m,c.dataPathArr)+"; ",d="schema"+d):d=h;if((h||f)&&!1!==c.opts.uniqueItems){f&&
(b+=" var "+g+"; if ("+d+" === false || "+d+" === undefined) "+g+" = true; else if (typeof "+d+" != 'boolean') "+g+" = false; else { ");b+=" var i = "+l+".length , "+g+" = true , j; if (i > 1) { ";d=c.schema.items&&c.schema.items.type;m=Array.isArray(d);!d||"object"==d||"array"==d||m&&(0<=d.indexOf("object")||0<=d.indexOf("array"))?b+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+l+"[i], "+l+"[j])) { "+g+" = false; break outer; } } } ":(b=b+(" var itemIndices = {}, item; for (;i--;) { var item = "+
l+"[i];  if (")+(c.util["checkDataType"+(m?"s":"")](d,"item",c.opts.strictNumbers,!0)+") continue; "),m&&(b+=" if (typeof item == 'string') item = '\"' + item; "),b+=" if (typeof itemIndices[item] == 'number') { "+g+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } ");b+=" } ";f&&(b+="  }  ");var n=n||[];n.push(b+(" if (!"+g+") {   "));b="";!1!==c.createErrors?(b+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(p)+" , params: { i: i, j: j } ",
!1!==c.opts.messages&&(b+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),c.opts.verbose&&(b+=" , schema:  ",b=f?b+("validate.schema"+k):b+(""+h),b+="         , parentSchema: validate.schema"+c.schemaPath+" , data: "+l+" "),b+=" } "):b+=" {} ";h=b;b=n.pop();b=!c.compositeRule&&a?c.async?b+(" throw new ValidationError(["+h+"]); "):b+(" validate.errors = ["+h+"]; return false; "):b+(" var err = "+h+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ");
b+=" } ";a&&(b+=" else { ")}else a&&(b+=" if (true) { ");return b}},u=>{var c="multipleOf maximum exclusiveMaximum minimum exclusiveMinimum maxLength minLength pattern additionalItems maxItems minItems uniqueItems maxProperties minProperties required additionalProperties enum format const".split(" ");u.exports=function(a,b){for(var d=0;d<b.length;d++){a=JSON.parse(JSON.stringify(a));var m=b[d].split("/"),h=a,k;for(k=1;k<m.length;k++)h=h[m[k]];for(k=0;k<c.length;k++){m=c[k];var p=h[m];p&&(h[m]={anyOf:[p,
{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return a}},(u,c,a)=>{function b(m,h,k){function p(n){return(n=n.$schema)&&!g.getSchema(n)?b.call(g,{$ref:n},!0):Promise.resolve()}function l(n){function e(q){function t(){delete g._loadingSchemas[r]}var r=q.missingSchema;if(g._refs[r]||g._schemas[r])throw Error("Schema "+r+" is loaded but "+q.missingRef+" cannot be resolved");q=g._loadingSchemas[r];q||(q=g._loadingSchemas[r]=g._opts.loadSchema(r),q.then(t,
t));return q.then(function(v){if(!g._refs[r]&&!g._schemas[r])return p(v).then(function(){g._refs[r]||g._schemas[r]||g.addSchema(v,r,void 0,h)})}).then(function(){return l(n)})}try{return g._compile(n)}catch(q){if(q instanceof d)return e(q);throw q;}}var g=this;if("function"!=typeof this._opts.loadSchema)throw Error("options.loadSchema should be a function");"function"==typeof h&&(k=h,h=void 0);var f=p(m).then(function(){var n=g._addSchema(m,void 0,h);return n.validate||l(n)});k&&f.then(function(n){k(null,
n)},k);return f}var d=a(479).MissingRef;u.exports=b},(u,c,a)=>{function b(k,p){b.errors=null;var l=this._validateKeyword=this._validateKeyword||this.compile(h,!0);if(l(k))return!0;b.errors=l.errors;if(p)throw Error("custom keyword definition is invalid: "+this.errorsText(l.errors));return!1}var d=/^[a-z_$][a-z0-9_$-]*$/i,m=a(512),h=a(513);u.exports={add:function(k,p){function l(e,q,t){for(var r,v=0;v<g.length;v++){var z=g[v];if(z.type==q){r=z;break}}r||(r={type:q,rules:[]},g.push(r));q={keyword:e,
definition:t,custom:!0,code:m,implements:t.implements};r.rules.push(q);g.custom[e]=q}var g=this.RULES;if(g.keywords[k])throw Error("Keyword "+k+" is already defined");if(!d.test(k))throw Error("Keyword "+k+" is not a valid identifier");if(p){this.validateKeyword(p,!0);var f=p.type;if(Array.isArray(f))for(var n=0;n<f.length;n++)l(k,f[n],p);else l(k,f,p);if(f=p.metaSchema)p.$data&&this._opts.$data&&(f={anyOf:[f,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),
p.validateSchema=this.compile(f,!0)}g.keywords[k]=g.all[k]=!0;return this},get:function(k){var p=this.RULES.custom[k];return p?p.definition:this.RULES.keywords[k]||!1},remove:function(k){var p=this.RULES;delete p.keywords[k];delete p.all[k];delete p.custom[k];for(var l=0;l<p.length;l++)for(var g=p[l].rules,f=0;f<g.length;f++)if(g[f].keyword==k){g.splice(f,1);break}return this},validate:b}},u=>{u.exports=function(c,a,b){b=" ";var d=c.level,m=c.dataLevel,h=c.schema[a],k=c.schemaPath+c.util.getProperty(a),
p=c.errSchemaPath+"/"+a,l=!c.opts.allErrors,g="data"+(m||""),f="valid"+d,n="errs__"+d,e=c.opts.$data&&h&&h.$data;if(e){b+=" var schema"+d+" = "+c.util.getData(h.$data,m,c.dataPathArr)+"; ";var q="schema"+d}else q=h;var t="definition"+d,r=this.definition,v="";if(e&&r.$data){var z="keywordValidate"+d;var E=r.validateSchema;b+=" var "+t+" = RULES.custom['"+a+"'].definition; var "+z+" = "+t+".validate;"}else{var A=c.useCustomRule(this,h,c.schema,c);if(!A)return;q="validate.schema"+k;z=A.code;var D=r.compile;
var F=r.inline;var C=r.macro}a=z+".errors";h="i"+d;var B="ruleErr"+d,I=r.async;if(I&&!c.async)throw Error("async keyword in sync schema");F||C||(b+=""+a+" = null;");b+="var "+n+" = errors;var "+f+";";e&&r.$data&&(v+="}",b+=" if ("+q+" === undefined) { "+f+" = true; } else { ",E&&(v+="}",b+=" "+f+" = "+t+".validateSchema("+q+"); if ("+f+") { "));if(F)b=r.statements?b+(" "+A.validate+" "):b+(" "+f+" = "+A.validate+"; ");else if(C){d=c.util.copy(c);v="";d.level++;var J="valid"+d.level;d.schema=A.validate;
d.schemaPath="";A=c.compositeRule;c.compositeRule=d.compositeRule=!0;D=c.validate(d).replace(/validate\.schema/g,z);c.compositeRule=d.compositeRule=A;b+=" "+D}else{var M=M||[];M.push(b);b="  "+z+".call( ";b=c.opts.passContext?b+"this":b+"self";b=D||!1===r.schema?b+(" , "+g+" "):b+(" , "+q+" , "+g+" , validate.schema"+c.schemaPath+" ");b+=" , (dataPath || '')";'""'!=c.errorPath&&(b+=" + "+c.errorPath);var P=m?"data"+(m-1||""):"parentData",O=m?c.dataPathArr[m]:"parentDataProperty";A=b+(" , "+P+" , "+
O+" , rootData )  ");b=M.pop();!1===r.errors?(b+=" "+f+" = ",I&&(b+="await "),b+=""+A+"; "):I?(a="customErrors"+d,b+=" var "+a+" = null; try { "+f+" = await "+A+"; } catch (e) { "+f+" = false; if (e instanceof ValidationError) "+a+" = e.errors; else throw e; } "):b+=" "+a+" = null; "+f+" = "+A+"; "}r.modifying&&(b+=" if ("+P+") "+g+" = "+P+"["+O+"];");b+=""+v;r.valid?l&&(b+=" if (true) { "):(b+=" if ( ",void 0===r.valid?(b+=" !",b=C?b+(""+J):b+(""+f)):b+=" "+!r.valid+" ",J=this.keyword,M=M||[],M.push(b+
") { "),M=M||[],M.push(""),b="",!1!==c.createErrors?(b+=" { keyword: '"+(J||"custom")+"' , dataPath: (dataPath || '') + "+c.errorPath+" , schemaPath: "+c.util.toQuotedString(p)+" , params: { keyword: '"+this.keyword+"' } ",!1!==c.opts.messages&&(b+=" , message: 'should pass \""+this.keyword+"\" keyword validation' "),c.opts.verbose&&(b+=" , schema: validate.schema"+k+" , parentSchema: validate.schema"+c.schemaPath+" , data: "+g+" "),b+=" } "):b+=" {} ",P=b,b=M.pop(),P=b=!c.compositeRule&&l?c.async?
b+(" throw new ValidationError(["+P+"]); "):b+(" validate.errors = ["+P+"]; return false; "):b+(" var err = "+P+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "),b=M.pop(),F?r.errors?"full"!=r.errors&&(b+="  for (var "+h+"="+n+"; "+h+"<errors; "+h+"++) { var "+B+" = vErrors["+h+"]; if ("+B+".dataPath === undefined) "+B+".dataPath = (dataPath || '') + "+c.errorPath+"; if ("+B+".schemaPath === undefined) { "+B+'.schemaPath = "'+p+'"; } ',c.opts.verbose&&(b+=" "+B+".schema = "+
q+"; "+B+".data = "+g+"; "),b+=" } "):!1===r.errors?b+=" "+P+" ":(b+=" if ("+n+" == errors) { "+P+" } else {  for (var "+h+"="+n+"; "+h+"<errors; "+h+"++) { var "+B+" = vErrors["+h+"]; if ("+B+".dataPath === undefined) "+B+".dataPath = (dataPath || '') + "+c.errorPath+"; if ("+B+".schemaPath === undefined) { "+B+'.schemaPath = "'+p+'"; } ',c.opts.verbose&&(b+=" "+B+".schema = "+q+"; "+B+".data = "+g+"; "),b+=" } } "):C?(b+="   var err =   ",!1!==c.createErrors?(b+=" { keyword: '"+(J||"custom")+"' , dataPath: (dataPath || '') + "+
c.errorPath+" , schemaPath: "+c.util.toQuotedString(p)+" , params: { keyword: '"+this.keyword+"' } ",!1!==c.opts.messages&&(b+=" , message: 'should pass \""+this.keyword+"\" keyword validation' "),c.opts.verbose&&(b+=" , schema: validate.schema"+k+" , parentSchema: validate.schema"+c.schemaPath+" , data: "+g+" "),b+=" } "):b+=" {} ",b+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!c.compositeRule&&l&&(b=c.async?b+" throw new ValidationError(vErrors); ":b+" validate.errors = vErrors; return false; ")):
!1===r.errors?b+=" "+P+" ":(b+=" if (Array.isArray("+a+")) { if (vErrors === null) vErrors = "+a+"; else vErrors = vErrors.concat("+a+"); errors = vErrors.length;  for (var "+h+"="+n+"; "+h+"<errors; "+h+"++) { var "+B+" = vErrors["+h+"]; if ("+B+".dataPath === undefined) "+B+".dataPath = (dataPath || '') + "+c.errorPath+";  "+B+'.schemaPath = "'+p+'";  ',c.opts.verbose&&(b+=" "+B+".schema = "+q+"; "+B+".data = "+g+"; "),b+=" } } else { "+P+" } "),b+=" } ",l&&(b+=" else { "));return b}},(u,c,a)=>
{c=a(514);u.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:c.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:c.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},
async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},u=>{u.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},
u=>{u.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},(u,c,a)=>{u.exports=a(517)},u=>{u.exports=JSON.parse('{"builtin":{"AggregateError":false,"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"FinalizationRegistry":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakRef":false,"WeakSet":false},"es5":{"Array":false,"Boolean":false,"constructor":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"propertyIsEnumerable":false,"RangeError":false,"ReferenceError":false,"RegExp":false,"String":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false},"es2015":{"Array":false,"ArrayBuffer":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2017":{"Array":false,"ArrayBuffer":false,"Atomics":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2020":{"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2021":{"AggregateError":false,"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"FinalizationRegistry":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakRef":false,"WeakSet":false},"browser":{"AbortController":false,"AbortSignal":false,"addEventListener":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffectReadOnly":false,"AnimationEffectTiming":false,"AnimationEffectTimingReadOnly":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"applicationCache":false,"ApplicationCache":false,"ApplicationCacheErrorEvent":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioDestinationNode":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioWorkletGlobalScope ":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"blur":false,"BroadcastChannel":false,"btoa":false,"BudgetService":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"ClipboardEvent":false,"close":false,"closed":false,"CloseEvent":false,"Comment":false,"CompositionEvent":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ConvolverNode":false,"CountQueuingStrategy":false,"createImageBitmap":false,"Credential":false,"CredentialsContainer":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSS":false,"CSSConditionRule":false,"CSSFontFaceRule":false,"CSSGroupingRule":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSMatrixComponent":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSPageRule":false,"CSSPerspective":false,"CSSRotate":false,"CSSRule":false,"CSSRuleList":false,"CSSScale":false,"CSSSkew":false,"CSSSkewX":false,"CSSSkewY":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSSupportsRule":false,"CSSTransformValue":false,"CSSTranslate":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"defaultstatus":false,"defaultStatus":false,"DelayNode":false,"DeviceMotionEvent":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"dispatchEvent":false,"document":false,"Document":false,"DocumentFragment":false,"DocumentType":false,"DOMError":false,"DOMException":false,"DOMImplementation":false,"DOMMatrix":false,"DOMMatrixReadOnly":false,"DOMParser":false,"DOMPoint":false,"DOMPointReadOnly":false,"DOMQuad":false,"DOMRect":false,"DOMRectList":false,"DOMRectReadOnly":false,"DOMStringList":false,"DOMStringMap":false,"DOMTokenList":false,"DragEvent":false,"DynamicsCompressorNode":false,"Element":false,"ErrorEvent":false,"event":false,"Event":false,"EventSource":false,"EventTarget":false,"external":false,"fetch":false,"File":false,"FileList":false,"FileReader":false,"find":false,"focus":false,"FocusEvent":false,"FontFace":false,"FontFaceSetLoadEvent":false,"FormData":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadButton":false,"GamepadEvent":false,"getComputedStyle":false,"getSelection":false,"HashChangeEvent":false,"Headers":false,"history":false,"History":false,"HTMLAllCollection":false,"HTMLAnchorElement":false,"HTMLAreaElement":false,"HTMLAudioElement":false,"HTMLBaseElement":false,"HTMLBodyElement":false,"HTMLBRElement":false,"HTMLButtonElement":false,"HTMLCanvasElement":false,"HTMLCollection":false,"HTMLContentElement":false,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFieldSetElement":false,"HTMLFontElement":false,"HTMLFormControlsCollection":false,"HTMLFormElement":false,"HTMLFrameElement":false,"HTMLFrameSetElement":false,"HTMLHeadElement":false,"HTMLHeadingElement":false,"HTMLHRElement":false,"HTMLHtmlElement":false,"HTMLIFrameElement":false,"HTMLImageElement":false,"HTMLInputElement":false,"HTMLLabelElement":false,"HTMLLegendElement":false,"HTMLLIElement":false,"HTMLLinkElement":false,"HTMLMapElement":false,"HTMLMarqueeElement":false,"HTMLMediaElement":false,"HTMLMenuElement":false,"HTMLMetaElement":false,"HTMLMeterElement":false,"HTMLModElement":false,"HTMLObjectElement":false,"HTMLOListElement":false,"HTMLOptGroupElement":false,"HTMLOptionElement":false,"HTMLOptionsCollection":false,"HTMLOutputElement":false,"HTMLParagraphElement":false,"HTMLParamElement":false,"HTMLPictureElement":false,"HTMLPreElement":false,"HTMLProgressElement":false,"HTMLQuoteElement":false,"HTMLScriptElement":false,"HTMLSelectElement":false,"HTMLShadowElement":false,"HTMLSlotElement":false,"HTMLSourceElement":false,"HTMLSpanElement":false,"HTMLStyleElement":false,"HTMLTableCaptionElement":false,"HTMLTableCellElement":false,"HTMLTableColElement":false,"HTMLTableElement":false,"HTMLTableRowElement":false,"HTMLTableSectionElement":false,"HTMLTemplateElement":false,"HTMLTextAreaElement":false,"HTMLTimeElement":false,"HTMLTitleElement":false,"HTMLTrackElement":false,"HTMLUListElement":false,"HTMLUnknownElement":false,"HTMLVideoElement":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"IdleDeadline":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"indexedDB":false,"innerHeight":false,"innerWidth":false,"InputEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"Intl":false,"isSecureContext":false,"KeyboardEvent":false,"KeyframeEffect":false,"KeyframeEffectReadOnly":false,"length":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"matchMedia":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyMessageEvent":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaSettingsRange":false,"MediaSource":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackEvent":false,"menubar":false,"MessageChannel":false,"MessageEvent":false,"MessagePort":false,"MIDIAccess":false,"MIDIConnectionEvent":false,"MIDIInput":false,"MIDIInputMap":false,"MIDIMessageEvent":false,"MIDIOutput":false,"MIDIOutputMap":false,"MIDIPort":false,"MimeType":false,"MimeTypeArray":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigationPreloadManager":false,"navigator":false,"Navigator":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":true,"OffscreenCanvasRenderingContext2D":false,"onabort":true,"onafterprint":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinstallprompt":true,"onbeforeprint":true,"onbeforeunload":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncontextmenu":true,"oncuechange":true,"ondblclick":true,"ondevicemotion":true,"ondeviceorientation":true,"ondeviceorientationabsolute":true,"ondrag":true,"ondragend":true,"ondragenter":true,"ondragleave":true,"ondragover":true,"ondragstart":true,"ondrop":true,"ondurationchange":true,"onemptied":true,"onended":true,"onerror":true,"onfocus":true,"ongotpointercapture":true,"onhashchange":true,"oninput":true,"oninvalid":true,"onkeydown":true,"onkeypress":true,"onkeyup":true,"onlanguagechange":true,"onload":true,"onloadeddata":true,"onloadedmetadata":true,"onloadstart":true,"onlostpointercapture":true,"onmessage":true,"onmessageerror":true,"onmousedown":true,"onmouseenter":true,"onmouseleave":true,"onmousemove":true,"onmouseout":true,"onmouseover":true,"onmouseup":true,"onmousewheel":true,"onoffline":true,"ononline":true,"onpagehide":true,"onpageshow":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onsearch":true,"onseeked":true,"onseeking":true,"onselect":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitionend":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"openDatabase":false,"opener":false,"Option":false,"origin":false,"OscillatorNode":false,"outerHeight":false,"outerWidth":false,"OverconstrainedError":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"Path2D":false,"PaymentAddress":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"personalbar":false,"PhotoCapabilities":false,"Plugin":false,"PluginArray":false,"PointerEvent":false,"PopStateEvent":false,"postMessage":false,"Presentation":false,"PresentationAvailability":false,"PresentationConnection":false,"PresentationConnectionAvailableEvent":false,"PresentationConnectionCloseEvent":false,"PresentationConnectionList":false,"PresentationReceiver":false,"PresentationRequest":false,"print":false,"ProcessingInstruction":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queueMicrotask":false,"RadioNodeList":false,"Range":false,"ReadableStream":false,"registerProcessor":false,"RemotePlayback":false,"removeEventListener":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"resizeTo":false,"Response":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCIceCandidate":false,"RTCIceGatherer":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceEvent":false,"RTCRtpContributingSource":false,"RTCRtpReceiver":false,"RTCRtpSender":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"screen":false,"Screen":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"SharedWorker":false,"SourceBuffer":false,"SourceBufferList":false,"speechSynthesis":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageEvent":false,"StorageManager":false,"styleMedia":false,"StyleSheet":false,"StyleSheetList":false,"SubtleCrypto":false,"SVGAElement":false,"SVGAngle":false,"SVGAnimatedAngle":false,"SVGAnimatedBoolean":false,"SVGAnimatedEnumeration":false,"SVGAnimatedInteger":false,"SVGAnimatedLength":false,"SVGAnimatedLengthList":false,"SVGAnimatedNumber":false,"SVGAnimatedNumberList":false,"SVGAnimatedPreserveAspectRatio":false,"SVGAnimatedRect":false,"SVGAnimatedString":false,"SVGAnimatedTransformList":false,"SVGAnimateElement":false,"SVGAnimateMotionElement":false,"SVGAnimateTransformElement":false,"SVGAnimationElement":false,"SVGCircleElement":false,"SVGClipPathElement":false,"SVGComponentTransferFunctionElement":false,"SVGDefsElement":false,"SVGDescElement":false,"SVGDiscardElement":false,"SVGElement":false,"SVGEllipseElement":false,"SVGFEBlendElement":false,"SVGFEColorMatrixElement":false,"SVGFEComponentTransferElement":false,"SVGFECompositeElement":false,"SVGFEConvolveMatrixElement":false,"SVGFEDiffuseLightingElement":false,"SVGFEDisplacementMapElement":false,"SVGFEDistantLightElement":false,"SVGFEDropShadowElement":false,"SVGFEFloodElement":false,"SVGFEFuncAElement":false,"SVGFEFuncBElement":false,"SVGFEFuncGElement":false,"SVGFEFuncRElement":false,"SVGFEGaussianBlurElement":false,"SVGFEImageElement":false,"SVGFEMergeElement":false,"SVGFEMergeNodeElement":false,"SVGFEMorphologyElement":false,"SVGFEOffsetElement":false,"SVGFEPointLightElement":false,"SVGFESpecularLightingElement":false,"SVGFESpotLightElement":false,"SVGFETileElement":false,"SVGFETurbulenceElement":false,"SVGFilterElement":false,"SVGForeignObjectElement":false,"SVGGElement":false,"SVGGeometryElement":false,"SVGGradientElement":false,"SVGGraphicsElement":false,"SVGImageElement":false,"SVGLength":false,"SVGLengthList":false,"SVGLinearGradientElement":false,"SVGLineElement":false,"SVGMarkerElement":false,"SVGMaskElement":false,"SVGMatrix":false,"SVGMetadataElement":false,"SVGMPathElement":false,"SVGNumber":false,"SVGNumberList":false,"SVGPathElement":false,"SVGPatternElement":false,"SVGPoint":false,"SVGPointList":false,"SVGPolygonElement":false,"SVGPolylineElement":false,"SVGPreserveAspectRatio":false,"SVGRadialGradientElement":false,"SVGRect":false,"SVGRectElement":false,"SVGScriptElement":false,"SVGSetElement":false,"SVGStopElement":false,"SVGStringList":false,"SVGStyleElement":false,"SVGSVGElement":false,"SVGSwitchElement":false,"SVGSymbolElement":false,"SVGTextContentElement":false,"SVGTextElement":false,"SVGTextPathElement":false,"SVGTextPositioningElement":false,"SVGTitleElement":false,"SVGTransform":false,"SVGTransformList":false,"SVGTSpanElement":false,"SVGUnitTypes":false,"SVGUseElement":false,"SVGViewElement":false,"TaskAttributionTiming":false,"Text":false,"TextDecoder":false,"TextEncoder":false,"TextEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TimeRanges":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransitionEvent":false,"TreeWalker":false,"UIEvent":false,"URL":false,"URLSearchParams":false,"ValidityState":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLProgram":false,"WebGLQuery":false,"WebGLRenderbuffer":false,"WebGLRenderingContext":false,"WebGLSampler":false,"WebGLShader":false,"WebGLShaderPrecisionFormat":false,"WebGLSync":false,"WebGLTexture":false,"WebGLTransformFeedback":false,"WebGLUniformLocation":false,"WebGLVertexArrayObject":false,"WebSocket":false,"WheelEvent":false,"window":false,"Window":false,"Worker":false,"WritableStream":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XSLTProcessor":false},"worker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"clearInterval":false,"clearTimeout":false,"close":true,"console":false,"fetch":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":true,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onlanguagechange":true,"onmessage":true,"onoffline":true,"ononline":true,"onrejectionhandled":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"removeEventListener":false,"Request":false,"Response":false,"self":true,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"node":{"__dirname":false,"__filename":false,"AbortController":false,"Buffer":false,"clearImmediate":false,"clearInterval":false,"clearTimeout":false,"console":false,"exports":true,"global":false,"Intl":false,"module":false,"process":false,"queueMicrotask":false,"require":false,"setImmediate":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false},"nodeBuiltin":{"AbortController":false,"Buffer":false,"clearImmediate":false,"clearInterval":false,"clearTimeout":false,"console":false,"global":false,"Intl":false,"process":false,"queueMicrotask":false,"setImmediate":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false},"commonjs":{"exports":true,"global":false,"module":false,"require":false},"amd":{"define":false,"require":false},"mocha":{"after":false,"afterEach":false,"before":false,"beforeEach":false,"context":false,"describe":false,"it":false,"mocha":false,"run":false,"setup":false,"specify":false,"suite":false,"suiteSetup":false,"suiteTeardown":false,"teardown":false,"test":false,"xcontext":false,"xdescribe":false,"xit":false,"xspecify":false},"jasmine":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"expectAsync":false,"fail":false,"fdescribe":false,"fit":false,"it":false,"jasmine":false,"pending":false,"runs":false,"spyOn":false,"spyOnAllFunctions":false,"spyOnProperty":false,"waits":false,"waitsFor":false,"xdescribe":false,"xit":false},"jest":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fdescribe":false,"fit":false,"it":false,"jest":false,"pit":false,"require":false,"test":false,"xdescribe":false,"xit":false,"xtest":false},"qunit":{"asyncTest":false,"deepEqual":false,"equal":false,"expect":false,"module":false,"notDeepEqual":false,"notEqual":false,"notOk":false,"notPropEqual":false,"notStrictEqual":false,"ok":false,"propEqual":false,"QUnit":false,"raises":false,"start":false,"stop":false,"strictEqual":false,"test":false,"throws":false},"phantomjs":{"console":true,"exports":true,"phantom":true,"require":true,"WebPage":true},"couch":{"emit":false,"exports":false,"getRow":false,"log":false,"module":false,"provides":false,"require":false,"respond":false,"send":false,"start":false,"sum":false},"rhino":{"defineClass":false,"deserialize":false,"gc":false,"help":false,"importClass":false,"importPackage":false,"java":false,"load":false,"loadClass":false,"Packages":false,"print":false,"quit":false,"readFile":false,"readUrl":false,"runCommand":false,"seal":false,"serialize":false,"spawn":false,"sync":false,"toint32":false,"version":false},"nashorn":{"__DIR__":false,"__FILE__":false,"__LINE__":false,"com":false,"edu":false,"exit":false,"java":false,"Java":false,"javafx":false,"JavaImporter":false,"javax":false,"JSAdapter":false,"load":false,"loadWithNewGlobal":false,"org":false,"Packages":false,"print":false,"quit":false},"wsh":{"ActiveXObject":false,"CollectGarbage":false,"Debug":false,"Enumerator":false,"GetObject":false,"RuntimeObject":false,"ScriptEngine":false,"ScriptEngineBuildVersion":false,"ScriptEngineMajorVersion":false,"ScriptEngineMinorVersion":false,"VBArray":false,"WScript":false,"WSH":false},"jquery":{"$":false,"jQuery":false},"yui":{"YAHOO":false,"YAHOO_config":false,"YUI":false,"YUI_config":false},"shelljs":{"cat":false,"cd":false,"chmod":false,"config":false,"cp":false,"dirs":false,"echo":false,"env":false,"error":false,"exec":false,"exit":false,"find":false,"grep":false,"ln":false,"ls":false,"mkdir":false,"mv":false,"popd":false,"pushd":false,"pwd":false,"rm":false,"sed":false,"set":false,"target":false,"tempdir":false,"test":false,"touch":false,"which":false},"prototypejs":{"$":false,"$$":false,"$A":false,"$break":false,"$continue":false,"$F":false,"$H":false,"$R":false,"$w":false,"Abstract":false,"Ajax":false,"Autocompleter":false,"Builder":false,"Class":false,"Control":false,"Draggable":false,"Draggables":false,"Droppables":false,"Effect":false,"Element":false,"Enumerable":false,"Event":false,"Field":false,"Form":false,"Hash":false,"Insertion":false,"ObjectRange":false,"PeriodicalExecuter":false,"Position":false,"Prototype":false,"Scriptaculous":false,"Selector":false,"Sortable":false,"SortableObserver":false,"Sound":false,"Template":false,"Toggle":false,"Try":false},"meteor":{"$":false,"Accounts":false,"AccountsClient":false,"AccountsCommon":false,"AccountsServer":false,"App":false,"Assets":false,"Blaze":false,"check":false,"Cordova":false,"DDP":false,"DDPRateLimiter":false,"DDPServer":false,"Deps":false,"EJSON":false,"Email":false,"HTTP":false,"Log":false,"Match":false,"Meteor":false,"Mongo":false,"MongoInternals":false,"Npm":false,"Package":false,"Plugin":false,"process":false,"Random":false,"ReactiveDict":false,"ReactiveVar":false,"Router":false,"ServiceConfiguration":false,"Session":false,"share":false,"Spacebars":false,"Template":false,"Tinytest":false,"Tracker":false,"UI":false,"Utils":false,"WebApp":false,"WebAppInternals":false},"mongo":{"_isWindows":false,"_rand":false,"BulkWriteResult":false,"cat":false,"cd":false,"connect":false,"db":false,"getHostName":false,"getMemInfo":false,"hostname":false,"ISODate":false,"listFiles":false,"load":false,"ls":false,"md5sumFile":false,"mkdir":false,"Mongo":false,"NumberInt":false,"NumberLong":false,"ObjectId":false,"PlanCache":false,"print":false,"printjson":false,"pwd":false,"quit":false,"removeFile":false,"rs":false,"sh":false,"UUID":false,"version":false,"WriteResult":false},"applescript":{"$":false,"Application":false,"Automation":false,"console":false,"delay":false,"Library":false,"ObjC":false,"ObjectSpecifier":false,"Path":false,"Progress":false,"Ref":false},"serviceworker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"CacheStorage":false,"clearInterval":false,"clearTimeout":false,"Client":false,"clients":false,"Clients":false,"close":true,"console":false,"ExtendableEvent":false,"ExtendableMessageEvent":false,"fetch":false,"FetchEvent":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":false,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onfetch":true,"oninstall":true,"onlanguagechange":true,"onmessage":true,"onmessageerror":true,"onnotificationclick":true,"onnotificationclose":true,"onoffline":true,"ononline":true,"onpush":true,"onpushsubscriptionchange":true,"onrejectionhandled":true,"onsync":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"registration":false,"removeEventListener":false,"Request":false,"Response":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerGlobalScope":false,"ServiceWorkerMessageEvent":false,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"skipWaiting":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"WindowClient":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"atomtest":{"advanceClock":false,"atom":false,"fakeClearInterval":false,"fakeClearTimeout":false,"fakeSetInterval":false,"fakeSetTimeout":false,"resetTimeouts":false,"waitsForPromise":false},"embertest":{"andThen":false,"click":false,"currentPath":false,"currentRouteName":false,"currentURL":false,"fillIn":false,"find":false,"findAll":false,"findWithAssert":false,"keyEvent":false,"pauseTest":false,"resumeTest":false,"triggerEvent":false,"visit":false,"wait":false},"protractor":{"$":false,"$$":false,"browser":false,"by":false,"By":false,"DartObject":false,"element":false,"protractor":false},"shared-node-browser":{"clearInterval":false,"clearTimeout":false,"console":false,"setInterval":false,"setTimeout":false,"URL":false,"URLSearchParams":false},"webextensions":{"browser":false,"chrome":false,"opr":false},"greasemonkey":{"cloneInto":false,"createObjectIn":false,"exportFunction":false,"GM":false,"GM_addElement":false,"GM_addStyle":false,"GM_addValueChangeListener":false,"GM_deleteValue":false,"GM_download":false,"GM_getResourceText":false,"GM_getResourceURL":false,"GM_getTab":false,"GM_getTabs":false,"GM_getValue":false,"GM_info":false,"GM_listValues":false,"GM_log":false,"GM_notification":false,"GM_openInTab":false,"GM_registerMenuCommand":false,"GM_removeValueChangeListener":false,"GM_saveTab":false,"GM_setClipboard":false,"GM_setValue":false,"GM_unregisterMenuCommand":false,"GM_xmlhttpRequest":false,"unsafeWindow":false},"devtools":{"$":false,"$_":false,"$$":false,"$0":false,"$1":false,"$2":false,"$3":false,"$4":false,"$x":false,"chrome":false,"clear":false,"copy":false,"debug":false,"dir":false,"dirxml":false,"getEventListeners":false,"inspect":false,"keys":false,"monitor":false,"monitorEvents":false,"profile":false,"profileEnd":false,"queryObjects":false,"table":false,"undebug":false,"unmonitor":false,"unmonitorEvents":false,"values":false}}')},
(u,c,a)=>{function b(){}const d=a(461),m=a(519)("eslint:traverser");class h{constructor(){this._current=null;this._parents=[];this._broken=this._skipped=!1;this._leave=this._enter=this._visitorKeys=null}current(){return this._current}parents(){return this._parents.slice(0)}break(){this._broken=!0}skip(){this._skipped=!0}traverse(k,p){this._current=null;this._parents=[];this._broken=this._skipped=!1;this._visitorKeys=p.visitorKeys||d.KEYS;this._enter=p.enter||b;this._leave=p.leave||b;this._traverse(k,
null)}_traverse(k,p){if(null!==k&&"object"===typeof k&&"string"===typeof k.type){this._current=k;this._skipped=!1;this._enter(k,p);if(!this._skipped&&!this._broken){var l=this._visitorKeys[k.type];l||(l=d.getKeys(k),m('Unknown node type "%s": Estimated visitor keys %j',k.type,l));if(1<=l.length){this._parents.push(k);for(let g=0;g<l.length&&!this._broken;++g){const f=k[l[g]];if(Array.isArray(f))for(let n=0;n<f.length&&!this._broken;++n)this._traverse(f[n],k);else this._traverse(f,k)}this._parents.pop()}}this._broken||
this._leave(k,p);this._current=p}}static getKeys(k){return d.getKeys(k)}static traverse(k,p){(new h).traverse(k,p)}static get DEFAULT_VISITOR_KEYS(){return d.KEYS}}u.exports=h},(u,c,a)=>{var b=a(423),d=a(418);c.formatArgs=function(h){h[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+h[0]+(this.useColors?"%c ":" ")+"+"+u.exports.humanize(this.diff);if(this.useColors){var k="color: "+this.color;h.splice(1,0,k,"color: inherit");var p=0,l=0;h[0].replace(/%[a-zA-Z%]/g,g=>{"%%"!==
g&&(p++,"%c"===g&&(l=p))});h.splice(l,0,k)}};c.save=function(h){try{h?c.storage.setItem("debug",h):c.storage.removeItem("debug")}catch(k){}};c.load=function(){let h;try{h=c.storage.getItem("debug")}catch(k){}!h&&"undefined"!==typeof d&&"env"in d&&(h=d.env.DEBUG);return h};c.useColors=function(){return"undefined"!==typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs)?!0:"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?
!1:"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+)/)&&31<=parseInt(RegExp.$1,10)||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)};
a:{try{var m=localStorage;break a}catch(h){}m=void 0}c.storage=m;c.destroy=(()=>{let h=!1;return()=>{h||(h=!0,b.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();c.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".split(" ");
c.log=b.debug||b.log||(()=>{});u.exports=a(520)(c);({formatters:a}=u.exports);a.j=function(h){try{return JSON.stringify(h)}catch(k){return"[UnexpectedJSONParseError]: "+k.message}}},(u,c,a)=>{var b=a(423);u.exports=function(d){function m(p){function l(...q){if(l.enabled){var t=Number(new Date);l.diff=t-(g||t);l.prev=g;g=l.curr=t;q[0]=m.coerce(q[0]);"string"!==typeof q[0]&&q.unshift("%O");var r=0;q[0]=q[0].replace(/%([a-zA-Z%])/g,(v,z)=>{if("%%"===v)return"%";r++;z=m.formatters[z];"function"===typeof z&&
(v=z.call(l,q[r]),q.splice(r,1),r--);return v});m.formatArgs.call(l,q);(l.log||m.log).apply(l,q)}}let g,f=null,n,e;l.namespace=p;l.useColors=m.useColors();l.color=m.selectColor(p);l.extend=h;l.destroy=m.destroy;Object.defineProperty(l,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(null!==f)return f;n!==m.namespaces&&(n=m.namespaces,e=m.enabled(p));return e},set:q=>{f=q}});"function"===typeof m.init&&m.init(l);return l}function h(p,l){p=m(this.namespace+("undefined"===typeof l?":":l)+p);p.log=
this.log;return p}function k(p){return p.toString().substring(2,p.toString().length-2).replace(/\.\*\?$/,"*")}m.debug=m;m.default=m;m.coerce=function(p){return p instanceof Error?p.stack||p.message:p};m.disable=function(){const p=[...m.names.map(k),...m.skips.map(k).map(l=>"-"+l)].join();m.enable("");return p};m.enable=function(p){m.save(p);m.namespaces=p;m.names=[];m.skips=[];let l;const g=("string"===typeof p?p:"").split(/[\s,]+/),f=g.length;for(l=0;l<f;l++)g[l]&&(p=g[l].replace(/\*/g,".*?"),"-"===
p[0]?m.skips.push(new RegExp("^"+p.substr(1)+"$")):m.names.push(new RegExp("^"+p+"$")))};m.enabled=function(p){if("*"===p[p.length-1])return!0;let l,g;l=0;for(g=m.skips.length;l<g;l++)if(m.skips[l].test(p))return!1;l=0;for(g=m.names.length;l<g;l++)if(m.names[l].test(p))return!0;return!1};m.humanize=a(521);m.destroy=function(){b.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(d).forEach(p=>{m[p]=
d[p]});m.names=[];m.skips=[];m.formatters={};m.selectColor=function(p){let l=0;for(let g=0;g<p.length;g++)l=(l<<5)-l+p.charCodeAt(g),l|=0;return m.colors[Math.abs(l)%m.colors.length]};m.enable(m.load());return m}},u=>{function c(m){m=String(m);if(!(100<m.length)&&(m=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(m))){var h=parseFloat(m[1]);switch((m[2]||"ms").toLowerCase()){case "years":case "year":case "yrs":case "yr":case "y":return h*
d;case "weeks":case "week":case "w":return h*b;case "days":case "day":case "d":return 864E5*h;case "hours":case "hour":case "hrs":case "hr":case "h":return 36E5*h;case "minutes":case "minute":case "mins":case "min":case "m":return 6E4*h;case "seconds":case "second":case "secs":case "sec":case "s":return 1E3*h;case "milliseconds":case "millisecond":case "msecs":case "msec":case "ms":return h}}}function a(m,h,k,p){return Math.round(m/k)+" "+p+(h>=1.5*k?"s":"")}var b=6048E5,d=315576E5;u.exports=function(m,
h){h=h||{};var k=typeof m;if("string"===k&&0<m.length)return c(m);if("number"===k&&isFinite(m))return h.long?(h=Math.abs(m),m=864E5<=h?a(m,h,864E5,"day"):36E5<=h?a(m,h,36E5,"hour"):6E4<=h?a(m,h,6E4,"minute"):1E3<=h?a(m,h,1E3,"second"):m+" ms"):(h=Math.abs(m),m=864E5<=h?Math.round(m/864E5)+"d":36E5<=h?Math.round(m/36E5)+"h":6E4<=h?Math.round(m/6E4)+"m":1E3<=h?Math.round(m/1E3)+"s":m+"ms"),m;throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(m));}},(u,c,a)=>{u.exports=
{SourceCode:a(523)}},(u,c,a)=>{function b(p,l,g,f){if(l.range[0]<=g.range[0]&&l.range[1]>=g.range[0]||g.range[0]<=l.range[0]&&g.range[1]>=l.range[0])return!1;const [n,e]=l.range[1]<=g.range[0]?[l,g]:[g,l];g=p.getLastToken(n)||n;for(l=p.getFirstToken(e)||e;g!==l;){const q=p.getTokenAfter(g,{includeComments:!0});if(g.range[1]!==q.range[0]||f&&q!==l&&"JSXText"===q.type&&/\s/u.test(q.value))return!0;g=q}return!1}const {isCommentToken:d}=a(524);c=a(527);const m=a(468),h=a(518);class k extends c{constructor(p,
l){let g,f;if("string"===typeof p){var n=p;var e=l}else if("object"===typeof p&&null!==p){n=p.text;e=p.ast;var q=p.parserServices;g=p.scopeManager;f=p.visitorKeys}if(!e.tokens)throw Error("AST is missing the tokens array.");if(!e.comments)throw Error("AST is missing the comments array.");if(!e.loc)throw Error("AST is missing location information.");if(!e.range)throw Error("AST is missing range information");super(e.tokens,e.comments);this.text=(this.hasBOM=65279===n.charCodeAt(0))?n.slice(1):n;this.ast=
e;this.parserServices=q||{};this.scopeManager=g||null;this.visitorKeys=f||h.DEFAULT_VISITOR_KEYS;(p=this.text.match(m.shebangPattern))&&e.comments.length&&e.comments[0].value===p[1]&&(e.comments[0].type="Shebang");p=e.tokens;e=e.comments;l=[];for(q=n=0;n<p.length||q<e.length;)q>=e.length||n<p.length&&p[n].range[0]<e[q].range[0]?l.push(p[n++]):l.push(e[q++]);this.tokensAndComments=e=l;this.lines=[];this.lineStartIndices=[0];for(e=m.createGlobalLinebreakMatcher();p=e.exec(this.text);)this.lines.push(this.text.slice(this.lineStartIndices[this.lineStartIndices.length-
1],p.index)),this.lineStartIndices.push(p.index+p[0].length);this.lines.push(this.text.slice(this.lineStartIndices[this.lineStartIndices.length-1]));this._commentCache=new WeakMap;Object.freeze(this);Object.freeze(this.lines)}static splitLines(p){return p.split(m.createGlobalLinebreakMatcher())}getText(p,l,g){return p?this.text.slice(Math.max(p.range[0]-(l||0),0),p.range[1]+(g||0)):this.text}getLines(){return this.lines}getAllComments(){return this.ast.comments}getComments(p){if(this._commentCache.has(p))return this._commentCache.get(p);
const l={leading:[],trailing:[]};if("Program"===p.type)0===p.body.length&&(l.leading=p.comments);else{if(("BlockStatement"===p.type||"ClassBody"===p.type)&&0===p.body.length||"ObjectExpression"===p.type&&0===p.properties.length||"ArrayExpression"===p.type&&0===p.elements.length||"SwitchStatement"===p.type&&0===p.cases.length)l.trailing=this.getTokens(p,{includeComments:!0,filter:d});let g=this.getTokenBefore(p,{includeComments:!0});for(;g&&d(g)&&!(p.parent&&"Program"!==p.parent.type&&g.start<p.parent.start);)l.leading.push(g),
g=this.getTokenBefore(g,{includeComments:!0});l.leading.reverse();for(g=this.getTokenAfter(p,{includeComments:!0});g&&d(g)&&!(p.parent&&"Program"!==p.parent.type&&g.end>p.parent.end);)l.trailing.push(g),g=this.getTokenAfter(g,{includeComments:!0})}this._commentCache.set(p,l);return l}getJSDocComment(p){const l=f=>{const n=this.getTokenBefore(f,{includeComments:!0});return n&&d(n)&&"Block"===n.type&&"*"===n.value.charAt(0)&&1>=f.loc.start.line-n.loc.end.line?n:null};let g=p.parent;switch(p.type){case "ClassDeclaration":case "FunctionDeclaration":return l("ExportDefaultDeclaration"===
g.type||"ExportNamedDeclaration"===g.type||"ExportAllDeclaration"===g.type||"ExportSpecifier"===g.type?g:p);case "ClassExpression":return l(g.parent);case "ArrowFunctionExpression":case "FunctionExpression":if("CallExpression"!==g.type&&"NewExpression"!==g.type){for(;!this.getCommentsBefore(g).length&&!/Function/u.test(g.type)&&"MethodDefinition"!==g.type&&"Property"!==g.type&&(g=g.parent,g););if(g&&"FunctionDeclaration"!==g.type&&"Program"!==g.type)return l(g)}return l(p);default:return null}}getNodeByRangeIndex(p){let l=
null;h.traverse(this.ast,{visitorKeys:this.visitorKeys,enter(g){g.range[0]<=p&&p<g.range[1]?l=g:this.skip()},leave(g){g===l&&this.break()}});return l}isSpaceBetween(p,l){return b(this,p,l,!1)}isSpaceBetweenTokens(p,l){return b(this,p,l,!0)}getLocFromIndex(p){if("number"!==typeof p)throw new TypeError("Expected `index` to be a number.");if(0>p||p>this.text.length)throw new RangeError("Index out of range (requested index ".concat(p,", but source text has length ").concat(this.text.length,")."));if(p===
this.text.length)return{line:this.lines.length,column:this.lines[this.lines.length-1].length};const l=p>=this.lineStartIndices[this.lineStartIndices.length-1]?this.lineStartIndices.length:this.lineStartIndices.findIndex(g=>p<g);return{line:l,column:p-this.lineStartIndices[l-1]}}getIndexFromLoc(p){if("object"!==typeof p||"number"!==typeof p.line||"number"!==typeof p.column)throw new TypeError("Expected `loc` to be an object with numeric `line` and `column` properties.");if(0>=p.line)throw new RangeError("Line number out of range (line ".concat(p.line,
" requested). Line numbers should be 1-based."));if(p.line>this.lineStartIndices.length)throw new RangeError("Line number out of range (line ".concat(p.line," requested, but only ").concat(this.lineStartIndices.length," lines present)."));const l=this.lineStartIndices[p.line-1],g=p.line===this.lineStartIndices.length?this.text.length:this.lineStartIndices[p.line],f=l+p.column;if(p.line===this.lineStartIndices.length&&f>g||p.line<this.lineStartIndices.length&&f>=g)throw new RangeError("Column number out of range (column ".concat(p.column,
" requested, but the length of line ").concat(p.line," is ").concat(g-l,")."));return f}}u.exports=k},(u,c,a)=>{function b(V,ha){ha=ha.range[0];let la;do{la=!1;for(const ua of V.childScopes){const ba=ua.block.range;if(ba[0]<=ha&&ha<ba[1]){V=ua;la=!0;break}}}while(la);return V}function d(V,ha){let la=V;"string"===typeof ha?V=ha:(V=ha.name,la=b(la,ha));for(;null!=la;){ha=la.set.get(V);if(null!=ha)return ha;la=la.upper}return null}function m(V){return!this(V)}function h(V,ha){return"Punctuator"===V.type&&
V.value===ha}function k(V){return h(V,"=>")}function p(V){return h(V,",")}function l(V){return h(V,";")}function g(V){return h(V,":")}function f(V){return h(V,"(")}function n(V){return h(V,")")}function e(V){return h(V,"[")}function q(V){return h(V,"]")}function t(V){return h(V,"{")}function r(V){return h(V,"}")}function v(V){return["Block","Line","Shebang"].includes(V.type)}function z(V,ha){var la=V.parent;"ArrowFunctionExpression"===V.type?(V=ha.getTokenBefore(V.body,k),la=V.loc.start,V=V.loc.end):
(la="Property"===la.type||"MethodDefinition"===la.type||"PropertyDefinition"===la.type?la.loc.start:V.loc.start,V=(V.id?ha.getTokenAfter(V.id,f):ha.getFirstToken(V,f)).loc.start);return{start:{...la},end:{...V}}}function E(V,ha){const la=[];for(let ba=0;ba<V.length;++ba){var ua=V[ba];if(null==ua)la.length=ba+1;else if("SpreadElement"===ua.type){ua=A(ua.argument,ha);if(null==ua)return null;la.push(...ua.value)}else{ua=A(ua,ha);if(null==ua)return null;la.push(ua.value)}}return la}function A(V,ha){return null!=
V&&Object.hasOwnProperty.call(ma,V.type)?ma[V.type](V,ha):null}function D(V,ha){const la="Property"===V.type?V.key:V.property;return V.computed?A(la,ha):"Identifier"===la.type?{value:la.name}:"Literal"===la.type?la.bigint?{value:la.bigint}:{value:String(la.value)}:null}function F(V,ha=null){try{return A(V,ha)}catch(la){return null}}function C(V,ha=null){if(V&&"Literal"===V.type&&null===V.value){if(V.regex)return"/".concat(V.regex.pattern,"/").concat(V.regex.flags);if(V.bigint)return V.bigint}return(V=
F(V,ha))&&String(V.value)}function B(V,ha){switch(V.type){case "MemberExpression":if(V.computed)return C(V.property,ha);if("PrivateIdentifier"===V.property.type)break;return V.property.name;case "Property":case "MethodDefinition":case "PropertyDefinition":if(V.computed)return C(V.key,ha);if("Literal"===V.key.type)return String(V.key.value);if("PrivateIdentifier"!==V.key.type)return V.key.name}return null}function I(V,ha){const la=V.parent,ua=[],ba="Property"===la.type&&la.value===V,w="MethodDefinition"===
la.type&&la.value===V,H="PropertyDefinition"===la.type&&la.value===V;if(w||H)la.static&&ua.push("static"),"PrivateIdentifier"===la.key.type&&ua.push("private");V.async&&ua.push("async");V.generator&&ua.push("generator");if(ba||w){if("constructor"===la.kind)return"constructor";"get"===la.kind?ua.push("getter"):"set"===la.kind?ua.push("setter"):ua.push("method")}else H?ua.push("method"):("ArrowFunctionExpression"===V.type&&ua.push("arrow"),ua.push("function"));ba||w||H?"PrivateIdentifier"===la.key.type?
ua.push("#".concat(la.key.name)):(V=B(la))?ua.push("'".concat(V,"'")):ha&&(ha=ha.getText(la.key),ha.includes("\n")||ua.push("[".concat(ha,"]"))):V.id?ua.push("'".concat(V.id.name,"'")):"VariableDeclarator"===la.type&&la.id&&"Identifier"===la.id.type?ua.push("'".concat(la.id.name,"'")):"AssignmentExpression"!==la.type&&"AssignmentPattern"!==la.type||!la.left||"Identifier"!==la.left.type||ua.push("'".concat(la.left.name,"'"));return ua.join(" ")}function J(V){return null!==V&&"object"===typeof V&&"string"===
typeof V.type}function M(V,ha,{considerGetters:la=!1,considerImplicitTypeConversion:ua=!1}={}){return Ha.$visit(V,{considerGetters:la,considerImplicitTypeConversion:ua},ha.visitorKeys||G.KEYS)}function P(V,ha){const la=V.parent;switch(la.type){case "CallExpression":case "NewExpression":return 1===la.arguments.length&&la.arguments[0]===V?ha.getTokenAfter(la.callee,f):null;case "DoWhileStatement":return la.test===V?ha.getTokenAfter(la.body,f):null;case "IfStatement":case "WhileStatement":return la.test===
V?ha.getFirstToken(la,1):null;case "ImportExpression":return la.source===V?ha.getFirstToken(la,1):null;case "SwitchStatement":return la.discriminant===V?ha.getFirstToken(la,1):null;case "WithStatement":return la.object===V?ha.getFirstToken(la,1):null;default:return null}}function O(V,ha,la){let ua,ba;if("number"===typeof V){if(ua=V|0,V=ha,ha=la,!(1<=ua))throw new TypeError("'times' should be a positive integer.");}else ua=1;if(null==V||"CatchClause"===V.parent.type&&V.parent.param===V)return!1;la=
ba=V;do la=ha.getTokenBefore(la),ba=ha.getTokenAfter(ba);while(null!=la&&null!=ba&&f(la)&&n(ba)&&la!==P(V,ha)&&0<--ua);return 0===ua}function N(V,ha,la){function ua(Q){switch(Q){case "$$":return"$";case "$&":return H[0];case "$`":return ha.slice(0,H.index);case "$'":return ha.slice(H.index+H[0].length);default:{const ca=Q.slice(1);return ca in H?H[ca]:Q}}}const ba=[];let w=0,H=null;for(H of V.execAll(ha))ba.push(ha.slice(w,H.index)),ba.push(la.replace(ab,ua)),w=H.index+H[0].length;ba.push(ha.slice(w));
return ba.join("")}function L(V){return null==V||0!==V.defs.length||V.references.some(ha=>ha.isWrite())}function x(V){const ha=V.parent;switch(ha&&ha.type){case "ConditionalExpression":return ha.consequent===V||ha.alternate===V;case "LogicalExpression":return!0;case "SequenceExpression":return ha.expressions[ha.expressions.length-1]===V;case "ChainExpression":return!0;default:return!1}}function y(V,ha){return!(1===ha&&"default"===V)}Object.defineProperty(c,"__esModule",{value:!0});var G=function(V){return V&&
"object"===typeof V&&"default"in V?V["default"]:V}(a(525));u=m.bind(k);const K=m.bind(p),R=m.bind(l),Z=m.bind(g),aa=m.bind(f),xa=m.bind(n),X=m.bind(e),wa=m.bind(q),ka=m.bind(t),ra=m.bind(r),qa=m.bind(v),va="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof a.g?a.g:{},U=Object.freeze(new Set("Array ArrayBuffer BigInt BigInt64Array BigUint64Array Boolean DataView Date decodeURI decodeURIComponent encodeURI encodeURIComponent escape Float32Array Float64Array Function Infinity Int16Array Int32Array Int8Array isFinite isNaN isPrototypeOf JSON Map Math NaN Number Object parseFloat parseInt Promise Proxy Reflect RegExp Set String Symbol Uint16Array Uint32Array Uint8Array Uint8ClampedArray undefined unescape WeakMap WeakSet".split(" "))),
pa=new Set([Array.isArray,"function"===typeof BigInt?BigInt:void 0,Boolean,Date,Date.parse,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,escape,isFinite,isNaN,isPrototypeOf,...Object.getOwnPropertyNames(Math).map(V=>Math[V]).filter(V=>"function"===typeof V),Number,Number.isFinite,Number.isNaN,Number.parseFloat,Number.parseInt,Object,Object.entries,Object.is,Object.isExtensible,Object.isFrozen,Object.isSealed,Object.keys,Object.values,parseFloat,parseInt,RegExp,String,String.fromCharCode,
String.fromCodePoint,String.raw,Symbol.for,Symbol.keyFor,unescape].filter(V=>"function"===typeof V)),S=new Set([Object.freeze,Object.preventExtensions,Object.seal]),ma=Object.freeze({ArrayExpression(V,ha){V=E(V.elements,ha);return null!=V?{value:V}:null},AssignmentExpression(V,ha){return"="===V.operator?A(V.right,ha):null},BinaryExpression(V,ha){if("in"===V.operator||"instanceof"===V.operator)return null;const la=A(V.left,ha);ha=A(V.right,ha);if(null!=la&&null!=ha)switch(V.operator){case "==":return{value:la.value==
ha.value};case "!=":return{value:la.value!=ha.value};case "===":return{value:la.value===ha.value};case "!==":return{value:la.value!==ha.value};case "<":return{value:la.value<ha.value};case "<=":return{value:la.value<=ha.value};case ">":return{value:la.value>ha.value};case ">=":return{value:la.value>=ha.value};case "<<":return{value:la.value<<ha.value};case ">>":return{value:la.value>>ha.value};case ">>>":return{value:la.value>>>ha.value};case "+":return{value:la.value+ha.value};case "-":return{value:la.value-
ha.value};case "*":return{value:la.value*ha.value};case "/":return{value:la.value/ha.value};case "%":return{value:la.value%ha.value};case "**":return{value:Math.pow(la.value,ha.value)};case "|":return{value:la.value|ha.value};case "^":return{value:la.value^ha.value};case "&":return{value:la.value&ha.value}}return null},CallExpression(V,ha){const la=V.callee,ua=E(V.arguments,ha);if(null!=ua)if("MemberExpression"===la.type){if("PrivateIdentifier"===la.property.type)return null;var ba=A(la.object,ha);
if(null!=ba){if(null==ba.value&&(ba.optional||V.optional))return{value:void 0,optional:!0};V=D(la,ha);if(null!=V){ba=ba.value;V=V.value;if(pa.has(ba[V]))return{value:ba[V](...ua)};if(S.has(ba[V]))return{value:ua[0]}}}}else if(ba=A(la,ha),null!=ba){if(null==ba.value&&V.optional)return{value:void 0,optional:!0};V=ba.value;if(pa.has(V))return{value:V(...ua)};if(S.has(V))return{value:ua[0]}}return null},ConditionalExpression(V,ha){const la=A(V.test,ha);return null!=la?la.value?A(V.consequent,ha):A(V.alternate,
ha):null},ExpressionStatement(V,ha){return A(V.expression,ha)},Identifier(V,ha){if(null!=ha){V=d(ha,V);if(null!=V&&0===V.defs.length&&U.has(V.name)&&V.name in va)return{value:va[V.name]};if(null!=V&&1===V.defs.length&&(V=V.defs[0],V.parent&&"const"===V.parent.kind&&"Identifier"===V.node.id.type))return A(V.node.init,ha)}return null},Literal(V){return null==V.regex&&null==V.bigint||null!=V.value?{value:V.value}:null},LogicalExpression(V,ha){const la=A(V.left,ha);if(null!=la){if("||"===V.operator&&
!0===!!la.value||"&&"===V.operator&&!1===!!la.value||"??"===V.operator&&null!=la.value)return la;V=A(V.right,ha);if(null!=V)return V}return null},MemberExpression(V,ha){if("PrivateIdentifier"===V.property.type)return null;const la=A(V.object,ha);if(null!=la){if(null==la.value&&(la.optional||V.optional))return{value:void 0,optional:!0};V=D(V,ha);if(ha=null!=V){a:{ha=V.value;let ua=la.value;for(;("object"===typeof ua||"function"===typeof ua)&&null!==ua;){const ba=Object.getOwnPropertyDescriptor(ua,
ha);if(ba){ha=ba;break a}ua=Object.getPrototypeOf(ua)}ha=null}ha=null!=ha&&null!=ha.get;ha=!ha}if(ha)return{value:la.value[V.value]}}return null},ChainExpression(V,ha){V=A(V.expression,ha);return null!=V?{value:V.value}:null},NewExpression(V,ha){var la=A(V.callee,ha);V=E(V.arguments,ha);return null!=la&&null!=V&&(la=la.value,pa.has(la))?{value:new la(...V)}:null},ObjectExpression(V,ha){const la={};for(const ua of V.properties)if("Property"===ua.type){if("init"!==ua.kind)return null;V=D(ua,ha);const ba=
A(ua.value,ha);if(null==V||null==ba)return null;la[V.value]=ba.value}else if("SpreadElement"===ua.type||"ExperimentalSpreadProperty"===ua.type){V=A(ua.argument,ha);if(null==V)return null;Object.assign(la,V.value)}else return null;return{value:la}},SequenceExpression(V,ha){return A(V.expressions[V.expressions.length-1],ha)},TaggedTemplateExpression(V,ha){var la=A(V.tag,ha);ha=E(V.quasi.expressions,ha);if(null!=la&&null!=ha){la=la.value;const ua=V.quasi.quasis.map(ba=>ba.value.cooked);ua.raw=V.quasi.quasis.map(ba=>
ba.value.raw);if(la===String.raw)return{value:la(ua,...ha)}}return null},TemplateLiteral(V,ha){ha=E(V.expressions,ha);if(null!=ha){let la=V.quasis[0].value.cooked;for(let ua=0;ua<ha.length;++ua)la+=ha[ua],la+=V.quasis[ua+1].value.cooked;return{value:la}}return null},UnaryExpression(V,ha){if("delete"===V.operator)return null;if("void"===V.operator)return{value:void 0};ha=A(V.argument,ha);if(null!=ha)switch(V.operator){case "-":return{value:-ha.value};case "+":return{value:+ha.value};case "!":return{value:!ha.value};
case "~":return{value:~ha.value};case "typeof":return{value:typeof ha.value}}return null}}),ya=Object.freeze(new Set("== != < <= > >= << >> >>> + - * / % | ^ & in".split(" "))),Ga=Object.freeze(new Set(["-","+","!","~"])),Ha=Object.freeze(Object.assign(Object.create(null),{$visit(V,ha,la){const {type:ua}=V;return"function"===typeof this[ua]?this[ua](V,ha,la):this.$visitChildren(V,ha,la)},$visitChildren(V,ha,la){var {type:ua}=V;for(const ba of la[ua]||G.getKeys(V))if(ua=V[ba],Array.isArray(ua))for(const w of ua){if(J(w)&&
this.$visit(w,ha,la))return!0}else if(J(ua)&&this.$visit(ua,ha,la))return!0;return!1},ArrowFunctionExpression(){return!1},AssignmentExpression(){return!0},AwaitExpression(){return!0},BinaryExpression(V,ha,la){return ha.considerImplicitTypeConversion&&ya.has(V.operator)&&("Literal"!==V.left.type||"Literal"!==V.right.type)?!0:this.$visitChildren(V,ha,la)},CallExpression(){return!0},FunctionExpression(){return!1},ImportExpression(){return!0},MemberExpression(V,ha,la){return ha.considerGetters||ha.considerImplicitTypeConversion&&
V.computed&&"Literal"!==V.property.type?!0:this.$visitChildren(V,ha,la)},MethodDefinition(V,ha,la){return ha.considerImplicitTypeConversion&&V.computed&&"Literal"!==V.key.type?!0:this.$visitChildren(V,ha,la)},NewExpression(){return!0},Property(V,ha,la){return ha.considerImplicitTypeConversion&&V.computed&&"Literal"!==V.key.type?!0:this.$visitChildren(V,ha,la)},PropertyDefinition(V,ha,la){return ha.considerImplicitTypeConversion&&V.computed&&"Literal"!==V.key.type?!0:this.$visitChildren(V,ha,la)},
UnaryExpression(V,ha,la){return"delete"===V.operator||ha.considerImplicitTypeConversion&&Ga.has(V.operator)&&"Literal"!==V.argument.type?!0:this.$visitChildren(V,ha,la)},UpdateExpression(){return!0},YieldExpression(){return!0}})),ab=/\$(?:[$&`']|[1-9][0-9]?)/gu,ea=new WeakMap;class za{constructor(V,{escaped:ha=!1}={}){if(!(V instanceof RegExp))throw new TypeError("'pattern' should be a RegExp instance.");if(!V.flags.includes("g"))throw Error("'pattern' should contains 'g' flag.");ea.set(this,{pattern:new RegExp(V.source,
V.flags),escaped:!!ha})}*execAll(V){const {pattern:ha,escaped:la}=ea.get(this);let ua;var ba;for(ha.lastIndex=0;null!=(ua=ha.exec(V));){if(!(ba=la)){{ba=V;var w=ua.index;let H=!1;for(--w;0<=w&&92===ba.charCodeAt(w);--w)H=!H;ba=H}ba=!ba}ba&&(ba=ha.lastIndex,yield ua,ha.lastIndex=ba)}}test(V){return!this.execAll(V).next().done}[Symbol.replace](V,ha){if("function"===typeof ha){{V=String(V);const la=[];let ua=0;for(const ba of this.execAll(V))la.push(V.slice(ua,ba.index)),la.push(String(ha(...ba,ba.index,
ba.input))),ua=ba.index+ba[0].length;la.push(V.slice(ua));ha=la.join("")}}else ha=N(this,String(V),String(ha));return ha}}const Y=/^(?:Import|Export(?:All|Default|Named))Declaration$/u,W=Function.call.bind(Object.hasOwnProperty),ia=Symbol("read"),na=Symbol("call"),ja=Symbol("construct"),T=Symbol("esm"),da={require:{[na]:!0}};class oa{constructor(V,{mode:ha="strict",globalObjectNames:la=["global","globalThis","self","window"]}={}){this.variableStack=[];this.globalScope=V;this.mode=ha;this.globalObjectNames=
la.slice(0)}*iterateGlobalReferences(V){for(var ha of Object.keys(V)){const la=V[ha],ua=[ha],ba=this.globalScope.set.get(ha);L(ba)||(yield*this._iterateVariableReferences(ba,ua,la,!0))}for(const la of this.globalObjectNames)ha=this.globalScope.set.get(la),L(ha)||(yield*this._iterateVariableReferences(ha,[],V,!1))}*iterateCjsReferences(V){for(const {node:la}of this.iterateGlobalReferences(da)){var ha=C(la.arguments[0]);if(null==ha||!W(V,ha))continue;const ua=V[ha];ha=[ha];ua[ia]&&(yield{node:la,path:ha,
type:ia,info:ua[ia]});yield*this._iteratePropertyReferences(la,ha,ua)}}*iterateEsmReferences(V){var ha=this.globalScope.block;for(const ba of ha.body)if(Y.test(ba.type)&&null!=ba.source){var la=ba.source.value;if(W(V,la))if(ha=V[la],la=[la],ha[ia]&&(yield{node:ba,path:la,type:ia,info:ha[ia]}),"ExportAllDeclaration"===ba.type)for(const w of Object.keys(ha)){var ua=ha[w];ua[ia]&&(yield{node:ba,path:la.concat(w),type:ia,info:ua[ia]})}else for(const w of ba.specifiers){ua=W(ha,T);const H=this._iterateImportReferences(w,
la,ua?ha:"legacy"===this.mode?{default:ha,...ha}:{default:ha});if(ua)yield*H;else for(const Q of H)if(Q.path=Q.path.filter(y),2<=Q.path.length||Q.type!==ia)yield Q}}}*_iterateVariableReferences(V,ha,la,ua){if(!this.variableStack.includes(V)){this.variableStack.push(V);try{for(const ba of V.references){if(!ba.isRead())continue;const w=ba.identifier;ua&&la[ia]&&(yield{node:w,path:ha,type:ia,info:la[ia]});yield*this._iteratePropertyReferences(w,ha,la)}}finally{this.variableStack.pop()}}}*_iteratePropertyReferences(V,
ha,la){for(var ua=V;x(ua);)ua=ua.parent;V=ua.parent;"MemberExpression"===V.type?V.object===ua&&(ua=B(V),null!=ua&&W(la,ua)&&(ha=ha.concat(ua),la=la[ua],la[ia]&&(yield{node:V,path:ha,type:ia,info:la[ia]}),yield*this._iteratePropertyReferences(V,ha,la))):"CallExpression"===V.type?V.callee===ua&&la[na]&&(yield{node:V,path:ha,type:na,info:la[na]}):"NewExpression"===V.type?V.callee===ua&&la[ja]&&(yield{node:V,path:ha,type:ja,info:la[ja]}):"AssignmentExpression"===V.type?V.right===ua&&(yield*this._iterateLhsReferences(V.left,
ha,la),yield*this._iteratePropertyReferences(V,ha,la)):"AssignmentPattern"===V.type?V.right===ua&&(yield*this._iterateLhsReferences(V.left,ha,la)):"VariableDeclarator"===V.type&&V.init===ua&&(yield*this._iterateLhsReferences(V.id,ha,la))}*_iterateLhsReferences(V,ha,la){if("Identifier"===V.type){var ua=d(this.globalScope,V);null!=ua&&(yield*this._iterateVariableReferences(ua,ha,la,!1))}else if("ObjectPattern"===V.type)for(ua of V.properties){var ba=B(ua);null!=ba&&W(la,ba)&&(V=ha.concat(ba),ba=la[ba],
ba[ia]&&(yield{node:ua,path:V,type:ia,info:ba[ia]}),yield*this._iterateLhsReferences(ua.value,V,ba))}else"AssignmentPattern"===V.type&&(yield*this._iterateLhsReferences(V.left,ha,la))}*_iterateImportReferences(V,ha,la){var ua=V.type;"ImportSpecifier"===ua||"ImportDefaultSpecifier"===ua?(ua="ImportDefaultSpecifier"===ua?"default":V.imported.name,W(la,ua)&&(ha=ha.concat(ua),la=la[ua],la[ia]&&(yield{node:V,path:ha,type:ia,info:la[ia]}),yield*this._iterateVariableReferences(d(this.globalScope,V.local),
ha,la,!1))):"ImportNamespaceSpecifier"===ua?yield*this._iterateVariableReferences(d(this.globalScope,V.local),ha,la,!1):"ExportSpecifier"===ua&&(ua=V.local.name,W(la,ua)&&(ha=ha.concat(ua),la=la[ua],la[ia]&&(yield{node:V,path:ha,type:ia,info:la[ia]})))}}oa.READ=ia;oa.CALL=na;oa.CONSTRUCT=ja;oa.ESM=T;a={CALL:na,CONSTRUCT:ja,ESM:T,findVariable:d,getFunctionHeadLocation:z,getFunctionNameWithKind:I,getInnermostScope:b,getPropertyName:B,getStaticValue:F,getStringIfConstant:C,hasSideEffect:M,isArrowToken:k,
isClosingBraceToken:r,isClosingBracketToken:q,isClosingParenToken:n,isColonToken:g,isCommaToken:p,isCommentToken:v,isNotArrowToken:u,isNotClosingBraceToken:ra,isNotClosingBracketToken:wa,isNotClosingParenToken:xa,isNotColonToken:Z,isNotCommaToken:K,isNotCommentToken:qa,isNotOpeningBraceToken:ka,isNotOpeningBracketToken:X,isNotOpeningParenToken:aa,isNotSemicolonToken:R,isOpeningBraceToken:t,isOpeningBracketToken:e,isOpeningParenToken:f,isParenthesized:O,isSemicolonToken:l,PatternMatcher:za,READ:ia,
ReferenceTracker:oa};c.CALL=na;c.CONSTRUCT=ja;c.ESM=T;c.PatternMatcher=za;c.READ=ia;c.ReferenceTracker=oa;c["default"]=a;c.findVariable=d;c.getFunctionHeadLocation=z;c.getFunctionNameWithKind=I;c.getInnermostScope=b;c.getPropertyName=B;c.getStaticValue=F;c.getStringIfConstant=C;c.hasSideEffect=M;c.isArrowToken=k;c.isClosingBraceToken=r;c.isClosingBracketToken=q;c.isClosingParenToken=n;c.isColonToken=g;c.isCommaToken=p;c.isCommentToken=v;c.isNotArrowToken=u;c.isNotClosingBraceToken=ra;c.isNotClosingBracketToken=
wa;c.isNotClosingParenToken=xa;c.isNotColonToken=Z;c.isNotCommaToken=K;c.isNotCommentToken=qa;c.isNotOpeningBraceToken=ka;c.isNotOpeningBracketToken=X;c.isNotOpeningParenToken=aa;c.isNotSemicolonToken=R;c.isOpeningBraceToken=t;c.isOpeningBracketToken=e;c.isOpeningParenToken=f;c.isParenthesized=O;c.isSemicolonToken=l},(u,c,a)=>{function b(h){return!m.has(h)&&"_"!==h[0]}const d=a(526);c=Object.freeze(Object.keys(d));for(const h of c)Object.freeze(d[h]);Object.freeze(d);const m=new Set(["parent","leadingComments",
"trailingComments"]);u.exports=Object.freeze({KEYS:d,getKeys(h){return Object.keys(h).filter(b)},unionWith(h){const k=Object.assign({},d);for(const p of Object.keys(h))if(k.hasOwnProperty(p)){const l=new Set(h[p]);for(const g of k[p])l.add(g);k[p]=Object.freeze(Array.from(l))}else k[p]=Object.freeze(Array.from(h[p]));return Object.freeze(k)}})},u=>{u.exports=JSON.parse('{"AssignmentExpression":["left","right"],"AssignmentPattern":["left","right"],"ArrayExpression":["elements"],"ArrayPattern":["elements"],"ArrowFunctionExpression":["params","body"],"AwaitExpression":["argument"],"BlockStatement":["body"],"BinaryExpression":["left","right"],"BreakStatement":["label"],"CallExpression":["callee","arguments"],"CatchClause":["param","body"],"ChainExpression":["expression"],"ClassBody":["body"],"ClassDeclaration":["id","superClass","body"],"ClassExpression":["id","superClass","body"],"ConditionalExpression":["test","consequent","alternate"],"ContinueStatement":["label"],"DebuggerStatement":[],"DoWhileStatement":["body","test"],"EmptyStatement":[],"ExportAllDeclaration":["exported","source"],"ExportDefaultDeclaration":["declaration"],"ExportNamedDeclaration":["declaration","specifiers","source"],"ExportSpecifier":["exported","local"],"ExpressionStatement":["expression"],"ExperimentalRestProperty":["argument"],"ExperimentalSpreadProperty":["argument"],"ForStatement":["init","test","update","body"],"ForInStatement":["left","right","body"],"ForOfStatement":["left","right","body"],"FunctionDeclaration":["id","params","body"],"FunctionExpression":["id","params","body"],"Identifier":[],"IfStatement":["test","consequent","alternate"],"ImportDeclaration":["specifiers","source"],"ImportDefaultSpecifier":["local"],"ImportExpression":["source"],"ImportNamespaceSpecifier":["local"],"ImportSpecifier":["imported","local"],"JSXAttribute":["name","value"],"JSXClosingElement":["name"],"JSXElement":["openingElement","children","closingElement"],"JSXEmptyExpression":[],"JSXExpressionContainer":["expression"],"JSXIdentifier":[],"JSXMemberExpression":["object","property"],"JSXNamespacedName":["namespace","name"],"JSXOpeningElement":["name","attributes"],"JSXSpreadAttribute":["argument"],"JSXText":[],"JSXFragment":["openingFragment","children","closingFragment"],"Literal":[],"LabeledStatement":["label","body"],"LogicalExpression":["left","right"],"MemberExpression":["object","property"],"MetaProperty":["meta","property"],"MethodDefinition":["key","value"],"NewExpression":["callee","arguments"],"ObjectExpression":["properties"],"ObjectPattern":["properties"],"PrivateIdentifier":[],"Program":["body"],"Property":["key","value"],"PropertyDefinition":["key","value"],"RestElement":["argument"],"ReturnStatement":["argument"],"SequenceExpression":["expressions"],"SpreadElement":["argument"],"Super":[],"SwitchStatement":["discriminant","cases"],"SwitchCase":["test","consequent"],"TaggedTemplateExpression":["tag","quasi"],"TemplateElement":[],"TemplateLiteral":["quasis","expressions"],"ThisExpression":[],"ThrowStatement":["argument"],"TryStatement":["block","handler","finalizer"],"UnaryExpression":["argument"],"UpdateExpression":["argument"],"VariableDeclaration":["declarations"],"VariableDeclarator":["id","init"],"WhileStatement":["test","body"],"WithStatement":["object","body"],"YieldExpression":["argument"]}')},
(u,c,a)=>{function b(r,v,z,E,A,D,F){let C=!1,B=0,I=null;"number"===typeof F?B=F|0:"function"===typeof F?I=F:F&&(C=!!F.includeComments,B=F.skip|0,I=F.filter||null);k(0<=B,"options.skip should be zero or a positive integer.");k(!I||"function"===typeof I,"options.filter should be a function.");return r.createCursor(v,z,E,A,D,C,I,B,-1)}function d(r,v,z,E,A,D,F){let C=!1,B=0,I=!1,J=null;"number"===typeof F?(B=F|0,I=!0):"function"===typeof F?J=F:F&&(C=!!F.includeComments,B=F.count|0,I="number"===typeof F.count,
J=F.filter||null);k(0<=B,"options.count should be zero or a positive integer.");k(!J||"function"===typeof J,"options.filter should be a function.");return r.createCursor(v,z,E,A,D,C,J,0,I?B:-1)}function m(r,v,z,E,A,D,F){return"undefined"===typeof D&&"undefined"===typeof F?new g(r,v,z,E,A):"number"===typeof D||"undefined"===typeof D?new f(r,v,z,E,A,D|0,F|0):d(l.forward,r,v,z,E,A,D)}function h(r){const v=[];let z=r.getOneToken();for(;z&&p(z);)v.push(z),z=r.getOneToken();return v}const k=a(420),{isCommentToken:p}=
a(524),l=a(528),g=a(536),f=a(539),n=a(531),e=Symbol("tokens"),q=Symbol("comments"),t=Symbol("indexMap");u.exports=class{constructor(r,v){this[e]=r;this[q]=v;{const z=Object.create(null);let E=0,A=0,D,F=null;for(;E<r.length||A<v.length;){for(D=A<v.length?v[A].range[0]:Number.MAX_SAFE_INTEGER;E<r.length&&(F=r[E].range)[0]<D;)z[F[0]]=E,z[F[1]-1]=E,E+=1;for(D=E<r.length?r[E].range[0]:Number.MAX_SAFE_INTEGER;A<v.length&&(F=v[A].range)[0]<D;)z[F[0]]=E,z[F[1]-1]=E,A+=1}r=z}this[t]=r}getTokenByRangeStart(r,
v){return(v=l.forward.createBaseCursor(this[e],this[q],this[t],r,-1,v&&v.includeComments).getOneToken())&&v.range[0]===r?v:null}getFirstToken(r,v){return b(l.forward,this[e],this[q],this[t],r.range[0],r.range[1],v).getOneToken()}getLastToken(r,v){return b(l.backward,this[e],this[q],this[t],r.range[0],r.range[1],v).getOneToken()}getTokenBefore(r,v){return b(l.backward,this[e],this[q],this[t],-1,r.range[0],v).getOneToken()}getTokenAfter(r,v){return b(l.forward,this[e],this[q],this[t],r.range[1],-1,
v).getOneToken()}getFirstTokenBetween(r,v,z){return b(l.forward,this[e],this[q],this[t],r.range[1],v.range[0],z).getOneToken()}getLastTokenBetween(r,v,z){return b(l.backward,this[e],this[q],this[t],r.range[1],v.range[0],z).getOneToken()}getTokenOrCommentBefore(r,v){return this.getTokenBefore(r,{includeComments:!0,skip:v})}getTokenOrCommentAfter(r,v){return this.getTokenAfter(r,{includeComments:!0,skip:v})}getFirstTokens(r,v){return d(l.forward,this[e],this[q],this[t],r.range[0],r.range[1],v).getAllTokens()}getLastTokens(r,
v){return d(l.backward,this[e],this[q],this[t],r.range[0],r.range[1],v).getAllTokens().reverse()}getTokensBefore(r,v){return d(l.backward,this[e],this[q],this[t],-1,r.range[0],v).getAllTokens().reverse()}getTokensAfter(r,v){return d(l.forward,this[e],this[q],this[t],r.range[1],-1,v).getAllTokens()}getFirstTokensBetween(r,v,z){return d(l.forward,this[e],this[q],this[t],r.range[1],v.range[0],z).getAllTokens()}getLastTokensBetween(r,v,z){return d(l.backward,this[e],this[q],this[t],r.range[1],v.range[0],
z).getAllTokens().reverse()}getTokens(r,v,z){return m(this[e],this[q],this[t],r.range[0],r.range[1],v,z).getAllTokens()}getTokensBetween(r,v,z){return m(this[e],this[q],this[t],r.range[1],v.range[0],z,z).getAllTokens()}commentsExistBetween(r,v){r=n.search(this[q],r.range[1]);return r<this[q].length&&this[q][r].range[1]<=v.range[0]}getCommentsBefore(r){r=d(l.backward,this[e],this[q],this[t],-1,r.range[0],{includeComments:!0});return h(r).reverse()}getCommentsAfter(r){r=d(l.forward,this[e],this[q],
this[t],r.range[1],-1,{includeComments:!0});return h(r)}getCommentsInside(r){return this.getTokens(r,{includeComments:!0,filter:p})}}},(u,c,a)=>{u=a(529);const b=a(532),d=a(533),m=a(535),h=a(536),k=a(537),p=a(538);class l{constructor(g,f){this.TokenCursor=g;this.TokenCommentCursor=f}createBaseCursor(g,f,n,e,q,t){return new (t?this.TokenCommentCursor:this.TokenCursor)(g,f,n,e,q)}createCursor(g,f,n,e,q,t,r,v,z){g=this.createBaseCursor(g,f,n,e,q,t);r&&(g=new d(g,r));1<=v&&(g=new p(g,v));0<=z&&(g=new k(g,
z));return g}}c.forward=new l(h,m);c.backward=new l(b,u)},(u,c,a)=>{c=a(530);const b=a(531);u.exports=class extends c{constructor(d,m,h,k,p){super();this.tokens=d;this.comments=m;this.tokenIndex=b.getLastIndex(d,h,p);this.commentIndex=b.search(m,p)-1;this.border=k}moveNext(){const d=0<=this.tokenIndex?this.tokens[this.tokenIndex]:null,m=0<=this.commentIndex?this.comments[this.commentIndex]:null;d&&(!m||d.range[1]>m.range[1])?(this.current=d,--this.tokenIndex):m?(this.current=m,--this.commentIndex):
this.current=null;return!!this.current&&(-1===this.border||this.current.range[0]>=this.border)}}},u=>{u.exports=class{constructor(){this.current=null}getOneToken(){return this.moveNext()?this.current:null}getAllTokens(){const c=[];for(;this.moveNext();)c.push(this.current);return c}moveNext(){throw Error("Not implemented.");}}},(u,c)=>{c.search=function(a,b){const d=a.findIndex(m=>b<=m.range[0]);return-1===d?a.length:d};c.getFirstIndex=function(a,b,d){return d in b?b[d]:d-1 in b?(b=b[d-1],(a=0<=b&&
b<a.length?a[b]:null)&&a.range[0]>=d?b:b+1):0};c.getLastIndex=function(a,b,d){return d in b?b[d]-1:d-1 in b?(b=b[d-1],(a=0<=b&&b<a.length?a[b]:null)&&a.range[1]>d?b-1:b):a.length-1}},(u,c,a)=>{c=a(530);const b=a(531);u.exports=class extends c{constructor(d,m,h,k,p){super();this.tokens=d;this.index=b.getLastIndex(d,h,p);this.indexEnd=b.getFirstIndex(d,h,k)}moveNext(){return this.index>=this.indexEnd?(this.current=this.tokens[this.index],--this.index,!0):!1}getOneToken(){return this.index>=this.indexEnd?
this.tokens[this.index]:null}}},(u,c,a)=>{c=a(534);u.exports=class extends c{constructor(b,d){super(b);this.predicate=d}moveNext(){const b=this.predicate;for(;super.moveNext();)if(b(this.current))return!0;return!1}}},(u,c,a)=>{c=a(530);u.exports=class extends c{constructor(b){super();this.cursor=b}moveNext(){const b=this.cursor.moveNext();this.current=this.cursor.current;return b}}},(u,c,a)=>{c=a(530);const b=a(531);u.exports=class extends c{constructor(d,m,h,k,p){super();this.tokens=d;this.comments=
m;this.tokenIndex=b.getFirstIndex(d,h,k);this.commentIndex=b.search(m,k);this.border=p}moveNext(){const d=this.tokenIndex<this.tokens.length?this.tokens[this.tokenIndex]:null,m=this.commentIndex<this.comments.length?this.comments[this.commentIndex]:null;d&&(!m||d.range[0]<m.range[0])?(this.current=d,this.tokenIndex+=1):m?(this.current=m,this.commentIndex+=1):this.current=null;return!!this.current&&(-1===this.border||this.current.range[1]<=this.border)}}},(u,c,a)=>{c=a(530);const b=a(531);u.exports=
class extends c{constructor(d,m,h,k,p){super();this.tokens=d;this.index=b.getFirstIndex(d,h,k);this.indexEnd=b.getLastIndex(d,h,p)}moveNext(){return this.index<=this.indexEnd?(this.current=this.tokens[this.index],this.index+=1,!0):!1}getOneToken(){return this.index<=this.indexEnd?this.tokens[this.index]:null}getAllTokens(){return this.tokens.slice(this.index,this.indexEnd+1)}}},(u,c,a)=>{c=a(534);u.exports=class extends c{constructor(b,d){super(b);this.count=d}moveNext(){return 0<this.count?(--this.count,
super.moveNext()):!1}}},(u,c,a)=>{c=a(534);u.exports=class extends c{constructor(b,d){super(b);this.count=d}moveNext(){for(;0<this.count;)if(--this.count,!super.moveNext())return!1;return super.moveNext()}}},(u,c,a)=>{c=a(536);u.exports=class extends c{constructor(b,d,m,h,k,p,l){super(b,d,m,h,k);this.index=Math.max(0,this.index-p);this.indexEnd=Math.min(b.length-1,this.indexEnd+l)}}},(u,c,a)=>{function b(D){return!!D.test}function d(D){const F=D.parent;return F&&"PropertyDefinition"===F.type&&F.value===
D}function m(D){return"&&"===D||"||"===D||"??"===D}function h(D){return"&&="===D||"||="===D||"??="===D}function k(D){return"LabeledStatement"===D.parent.type?D.parent.label.name:null}function p(D){const F=D.parent;switch(F.type){case "ConditionalExpression":case "IfStatement":case "WhileStatement":case "DoWhileStatement":case "ForStatement":return F.test===D;case "LogicalExpression":return m(F.operator);case "AssignmentExpression":return h(F.operator);default:return!1}}function l(D){if("Literal"===
D.type)return!!D.value}function g(D){const F=D.parent;switch(F.type){case "LabeledStatement":case "BreakStatement":case "ContinueStatement":case "ArrayPattern":case "RestElement":case "ImportSpecifier":case "ImportDefaultSpecifier":case "ImportNamespaceSpecifier":case "CatchClause":return!1;case "FunctionDeclaration":case "FunctionExpression":case "ArrowFunctionExpression":case "ClassDeclaration":case "ClassExpression":case "VariableDeclarator":return F.id!==D;case "Property":case "PropertyDefinition":case "MethodDefinition":return F.key!==
D||F.computed||F.shorthand;case "AssignmentPattern":return F.key!==D;default:return!0}}function f(D,F){const C=r.getState(D.codePath),B=C.currentSegments,I=C.headSegments,J=Math.max(B.length,I.length);let M,P,O;for(M=0;M<J;++M)P=B[M],O=I[M],P!==O&&P&&(E.dump("onCodePathSegmentEnd ".concat(P.id)),P.reachable&&D.emitter.emit("onCodePathSegmentEnd",P,F));C.currentSegments=I;for(M=0;M<J;++M)P=B[M],O=I[M],P!==O&&O&&(E.dump("onCodePathSegmentStart ".concat(O.id)),v.markUsed(O),O.reachable&&D.emitter.emit("onCodePathSegmentStart",
O,F))}function n(D,F){function C(M){B&&(f(D,F),E.dumpState(F,I,!1));B=D.codePath=new r({id:D.idGenerator.next(),origin:M,upper:B,onLooped:D.onLooped});I=r.getState(B);E.dump("onCodePathStart ".concat(B.id));D.emitter.emit("onCodePathStart",B,F)}let B=D.codePath,I=B&&r.getState(B);const J=F.parent;d(F)&&C("class-field-initializer");switch(F.type){case "Program":C("program");break;case "FunctionDeclaration":case "FunctionExpression":case "ArrowFunctionExpression":C("function");break;case "ChainExpression":I.pushChainContext();
break;case "CallExpression":!0===F.optional&&I.makeOptionalNode();break;case "MemberExpression":!0===F.optional&&I.makeOptionalNode();break;case "LogicalExpression":m(F.operator)&&I.pushChoiceContext(F.operator,p(F));break;case "AssignmentExpression":h(F.operator)&&I.pushChoiceContext(F.operator.slice(0,-1),p(F));break;case "ConditionalExpression":case "IfStatement":I.pushChoiceContext("test",!1);break;case "SwitchStatement":I.pushSwitchContext(F.cases.some(b),k(F));break;case "TryStatement":I.pushTryContext(!!F.finalizer);
break;case "SwitchCase":J.discriminant!==F&&J.cases[0]!==F&&I.forkPath();break;case "WhileStatement":case "DoWhileStatement":case "ForStatement":case "ForInStatement":case "ForOfStatement":I.pushLoopContext(F.type,k(F));break;case "LabeledStatement":t.test(F.body.type)||I.pushBreakContext(!1,F.label.name)}f(D,F);E.dumpState(F,I,!1)}function e(D,F){function C(){let B=D.codePath;r.getState(B).makeFinal();{const I=r.getState(D.codePath),J=I.currentSegments;for(let M=0;M<J.length;++M){const P=J[M];E.dump("onCodePathSegmentEnd ".concat(P.id));
P.reachable&&D.emitter.emit("onCodePathSegmentEnd",P,F)}I.currentSegments=[]}E.dump("onCodePathEnd ".concat(B.id));D.emitter.emit("onCodePathEnd",B,F);E.dumpDot(B);(B=D.codePath=D.codePath.upper)&&E.dumpState(F,r.getState(B),!0)}switch(F.type){case "Program":case "FunctionDeclaration":case "FunctionExpression":case "ArrowFunctionExpression":C();break;case "CallExpression":!0===F.optional&&0===F.arguments.length&&r.getState(D.codePath).makeOptionalRight()}d(F)&&C()}const q=a(420),{breakableTypePattern:t}=
a(468),r=a(541),v=a(543),z=a(546),E=a(544);class A{constructor(D){this.original=D;this.emitter=D.emitter;this.codePath=null;this.idGenerator=new z("s");this.currentNode=null;this.onLooped=this.onLooped.bind(this)}enterNode(D){this.currentNode=D;if(D.parent){{const F=r.getState(this.codePath),C=D.parent;switch(C.type){case "CallExpression":!0===C.optional&&1<=C.arguments.length&&C.arguments[0]===D&&F.makeOptionalRight();break;case "MemberExpression":!0===C.optional&&C.property===D&&F.makeOptionalRight();
break;case "LogicalExpression":C.right===D&&m(C.operator)&&F.makeLogicalRight();break;case "AssignmentExpression":C.right===D&&h(C.operator)&&F.makeLogicalRight();break;case "ConditionalExpression":case "IfStatement":C.consequent===D?F.makeIfConsequent():C.alternate===D&&F.makeIfAlternate();break;case "SwitchCase":C.consequent[0]===D&&F.makeSwitchCaseBody(!1,!C.test);break;case "TryStatement":C.handler===D?F.makeCatchBlock():C.finalizer===D&&F.makeFinallyBlock();break;case "WhileStatement":C.test===
D?F.makeWhileTest(l(D)):(q(C.body===D),F.makeWhileBody());break;case "DoWhileStatement":C.body===D?F.makeDoWhileBody():(q(C.test===D),F.makeDoWhileTest(l(D)));break;case "ForStatement":C.test===D?F.makeForTest(l(D)):C.update===D?F.makeForUpdate():C.body===D&&F.makeForBody();break;case "ForInStatement":case "ForOfStatement":C.left===D?F.makeForInOfLeft():C.right===D?F.makeForInOfRight():(q(C.body===D),F.makeForInOfBody());break;case "AssignmentPattern":C.right===D&&(F.pushForkContext(),F.forkBypassPath(),
F.forkPath())}}}n(this,D);this.original.enterNode(D);this.currentNode=null}leaveNode(D){this.currentNode=D;{const F=r.getState(this.codePath);let C=!1;switch(D.type){case "ChainExpression":F.popChainContext();break;case "IfStatement":case "ConditionalExpression":F.popChoiceContext();break;case "LogicalExpression":m(D.operator)&&F.popChoiceContext();break;case "AssignmentExpression":h(D.operator)&&F.popChoiceContext();break;case "SwitchStatement":F.popSwitchContext();break;case "SwitchCase":0===D.consequent.length&&
F.makeSwitchCaseBody(!0,!D.test);F.forkContext.reachable&&(C=!0);break;case "TryStatement":F.popTryContext();break;case "BreakStatement":f(this,D);F.makeBreak(D.label&&D.label.name);C=!0;break;case "ContinueStatement":f(this,D);F.makeContinue(D.label&&D.label.name);C=!0;break;case "ReturnStatement":f(this,D);F.makeReturn();C=!0;break;case "ThrowStatement":f(this,D);F.makeThrow();C=!0;break;case "Identifier":g(D)&&(F.makeFirstThrowablePathInTryBlock(),C=!0);break;case "CallExpression":case "ImportExpression":case "MemberExpression":case "NewExpression":case "YieldExpression":F.makeFirstThrowablePathInTryBlock();
break;case "WhileStatement":case "DoWhileStatement":case "ForStatement":case "ForInStatement":case "ForOfStatement":F.popLoopContext();break;case "AssignmentPattern":F.popForkContext();break;case "LabeledStatement":t.test(D.body.type)||F.popBreakContext()}C||f(this,D);E.dumpState(D,F,!0)}this.original.leaveNode(D);e(this,D);this.currentNode=null}onLooped(D,F){D.reachable&&F.reachable&&(E.dump("onCodePathSegmentLoop ".concat(D.id," -> ").concat(F.id)),this.emitter.emit("onCodePathSegmentLoop",D,F,
this.currentNode))}}u.exports=A},(u,c,a)=>{const b=a(542),d=a(546);class m{constructor({id:h,origin:k,upper:p,onLooped:l}){this.id=h;this.origin=k;this.upper=p;this.childCodePaths=[];Object.defineProperty(this,"internal",{value:new b(new d("".concat(h,"_")),l)});p&&p.childCodePaths.push(this)}static getState(h){return h.internal}get initialSegment(){return this.internal.initialSegment}get finalSegments(){return this.internal.finalSegments}get returnedSegments(){return this.internal.returnedForkContext}get thrownSegments(){return this.internal.thrownForkContext}get currentSegments(){return this.internal.currentSegments}traverseSegments(h,
k){function p(E){return q[E.id]||e.isLoopedPrevSegment(E)}if("function"===typeof h){k=h;var l={}}else l=h||{};h=l.first||this.internal.initialSegment;l=l.last;let g=null,f=0,n=0,e=null;const q=Object.create(null),t=[[h,0]];let r=null,v=!1;const z={skip(){1>=t.length?v=!0:r=t[t.length-2][0]},break(){v=!0}};for(;0<t.length;){g=t[t.length-1];e=g[0];f=g[1];if(0===f){if(q[e.id]){t.pop();continue}if(e!==h&&0<e.prevSegments.length&&!e.prevSegments.every(p)){t.pop();continue}r&&-1!==e.prevSegments.indexOf(r)&&
(r=null);q[e.id]=!0;if(!r&&(k.call(this,e,z),e===l&&z.skip(),v))break}n=e.nextSegments.length-1;f<n?(g[1]+=1,t.push([e.nextSegments[f],0])):f===n?(g[0]=e.nextSegments[f],g[1]=0):t.pop()}}}u.exports=m},(u,c,a)=>{function b(f,n,e,q){for(let t=0;t<q.length;++t){const r=q[t];f.push(r);-1===n.indexOf(r)&&e.push(r)}}function d(f){let n=f.tryContext;for(;n;){if(n.hasFinalizer&&"finally"!==n.position)return n;n=n.upper}return f}function m(f){let n=f.tryContext;for(;n;){if("try"===n.position||n.hasFinalizer&&
"catch"===n.position)return n;n=n.upper}return f}function h(f,n,e){n=p.flattenUnusedSegments(n);e=p.flattenUnusedSegments(e);const q=Math.min(n.length,e.length);for(let t=0;t<q;++t){const r=n[t],v=e[t];v.reachable&&r.nextSegments.push(v);r.reachable&&v.prevSegments.push(r);r.allNextSegments.push(v);v.allPrevSegments.push(r);2<=v.allPrevSegments.length&&p.markPrevSegmentAsLooped(v,r);f.notifyLooped(r,v)}}function k(f,n,e){n.processed||(n.trueForkContext.add(e),n.falseForkContext.add(e),n.qqForkContext.add(e));
!0!==f.test&&f.brokenForkContext.addAll(n.falseForkContext);f.endOfTestSegments=n.trueForkContext.makeNext(0,-1)}const p=a(543),l=a(545);class g{constructor(f,n){this.idGenerator=f;this.notifyLooped=n;this.forkContext=l.newRoot(f);this.chainContext=this.breakContext=this.loopContext=this.tryContext=this.switchContext=this.choiceContext=null;this.currentSegments=[];this.initialSegment=this.forkContext.head[0];f=this.finalSegments=[];n=this.returnedForkContext=[];const e=this.thrownForkContext=[];n.add=
b.bind(null,n,e,f);e.add=b.bind(null,e,n,f)}get headSegments(){return this.forkContext.head}get parentForkContext(){const f=this.forkContext;return f&&f.upper}pushForkContext(f){return this.forkContext=l.newEmpty(this.forkContext,f)}popForkContext(){const f=this.forkContext;this.forkContext=f.upper;this.forkContext.replaceHead(f.makeNext(0,-1));return f}forkPath(){this.forkContext.add(this.parentForkContext.makeNext(-1,-1))}forkBypassPath(){this.forkContext.add(this.parentForkContext.head)}pushChoiceContext(f,
n){this.choiceContext={upper:this.choiceContext,kind:f,isForkingAsResult:n,trueForkContext:l.newEmpty(this.forkContext),falseForkContext:l.newEmpty(this.forkContext),qqForkContext:l.newEmpty(this.forkContext),processed:!1}}popChoiceContext(){const f=this.choiceContext;this.choiceContext=f.upper;var n=this.forkContext,e=n.head;switch(f.kind){case "&&":case "||":case "??":f.processed||(f.trueForkContext.add(e),f.falseForkContext.add(e),f.qqForkContext.add(e));if(f.isForkingAsResult)return n=this.choiceContext,
n.trueForkContext.addAll(f.trueForkContext),n.falseForkContext.addAll(f.falseForkContext),n.qqForkContext.addAll(f.qqForkContext),n.processed=!0,f;break;case "test":f.processed?(f.falseForkContext.clear(),f.falseForkContext.add(e)):(f.trueForkContext.clear(),f.trueForkContext.add(e));break;case "loop":return f;default:throw Error("unreachable");}e=f.trueForkContext;e.addAll(f.falseForkContext);n.replaceHead(e.makeNext(0,-1));return f}makeLogicalRight(){const f=this.choiceContext,n=this.forkContext;
if(f.processed){let e;switch(f.kind){case "&&":e=f.trueForkContext;break;case "||":e=f.falseForkContext;break;case "??":e=f.qqForkContext;break;default:throw Error("unreachable");}n.replaceHead(e.makeNext(0,-1));e.clear();f.processed=!1}else{switch(f.kind){case "&&":f.falseForkContext.add(n.head);break;case "||":f.trueForkContext.add(n.head);break;case "??":f.trueForkContext.add(n.head);f.falseForkContext.add(n.head);break;default:throw Error("unreachable");}n.replaceHead(n.makeNext(-1,-1))}}makeIfConsequent(){const f=
this.choiceContext,n=this.forkContext;f.processed||(f.trueForkContext.add(n.head),f.falseForkContext.add(n.head),f.qqForkContext.add(n.head));f.processed=!1;n.replaceHead(f.trueForkContext.makeNext(0,-1))}makeIfAlternate(){const f=this.choiceContext,n=this.forkContext;f.trueForkContext.clear();f.trueForkContext.add(n.head);f.processed=!0;n.replaceHead(f.falseForkContext.makeNext(0,-1))}pushChainContext(){this.chainContext={upper:this.chainContext,countChoiceContexts:0}}popChainContext(){var f=this.chainContext;
this.chainContext=f.upper;for(f=f.countChoiceContexts;0<f;--f)this.popChoiceContext()}makeOptionalNode(){this.chainContext&&(this.chainContext.countChoiceContexts+=1,this.pushChoiceContext("??",!1))}makeOptionalRight(){this.chainContext&&this.makeLogicalRight()}pushSwitchContext(f,n){this.switchContext={upper:this.switchContext,hasCase:f,defaultSegments:null,defaultBodySegments:null,foundDefault:!1,lastIsDefault:!1,countForks:0};this.pushBreakContext(!0,n)}popSwitchContext(){const f=this.switchContext;
this.switchContext=f.upper;var n=this.forkContext;const e=this.popBreakContext().brokenForkContext;if(0===f.countForks)e.empty||(e.add(n.makeNext(-1,-1)),n.replaceHead(e.makeNext(0,-1)));else{var q=n.head;this.forkBypassPath();n=n.head;e.add(q);if(!f.lastIsDefault)if(f.defaultBodySegments){q=f.defaultSegments;var t=f.defaultBodySegments;for(let z=0;z<q.length;++z){const E=q[z];var r=t[z],v=E.nextSegments;v.splice(v.indexOf(r),1);v=E.allNextSegments;v.splice(v.indexOf(r),1);v=r.prevSegments;v.splice(v.indexOf(E),
1);r=r.allPrevSegments;r.splice(r.indexOf(E),1)}h(this,n,f.defaultBodySegments)}else e.add(n);for(n=0;n<f.countForks;++n)this.forkContext=this.forkContext.upper;this.forkContext.replaceHead(e.makeNext(0,-1))}}makeSwitchCaseBody(f,n){const e=this.switchContext;if(e.hasCase){var q=this.forkContext,t=this.pushForkContext();t.add(q.makeNext(0,-1));n?(e.defaultSegments=q.head,f?e.foundDefault=!0:e.defaultBodySegments=t.head):!f&&e.foundDefault&&(e.foundDefault=!1,e.defaultBodySegments=t.head);e.lastIsDefault=
n;e.countForks+=1}}pushTryContext(f){this.tryContext={upper:this.tryContext,position:"try",hasFinalizer:f,returnedForkContext:f?l.newEmpty(this.forkContext):null,thrownForkContext:l.newEmpty(this.forkContext),lastOfTryIsReachable:!1,lastOfCatchIsReachable:!1}}popTryContext(){const f=this.tryContext;this.tryContext=f.upper;if("catch"===f.position)this.popForkContext();else{var n=f.returnedForkContext,e=f.thrownForkContext;if(!n.empty||!e.empty){var q=this.forkContext.head;this.forkContext=this.forkContext.upper;
var t=q.slice(0,q.length/2|0);q=q.slice(q.length/2|0);n.empty||d(this).returnedForkContext.add(q);e.empty||m(this).thrownForkContext.add(q);this.forkContext.replaceHead(t);f.lastOfTryIsReachable||f.lastOfCatchIsReachable||this.forkContext.makeUnreachable()}}}makeCatchBlock(){var f=this.tryContext;const n=this.forkContext,e=f.thrownForkContext;f.position="catch";f.thrownForkContext=l.newEmpty(n);f.lastOfTryIsReachable=n.reachable;e.add(n.head);f=e.makeNext(0,-1);this.pushForkContext();this.forkBypassPath();
this.forkContext.add(f)}makeFinallyBlock(){var f=this.tryContext;let n=this.forkContext;const e=f.returnedForkContext,q=f.thrownForkContext,t=n.head;"catch"===f.position?(this.popForkContext(),n=this.forkContext,f.lastOfCatchIsReachable=n.reachable):f.lastOfTryIsReachable=n.reachable;f.position="finally";if(!e.empty||!q.empty){f=n.makeNext(-1,-1);for(let v=0;v<n.count;++v){const z=[t[v]];for(var r=0;r<e.segmentsList.length;++r)z.push(e.segmentsList[r][v]);for(r=0;r<q.segmentsList.length;++r)z.push(q.segmentsList[r][v]);
f.push(p.newNext(this.idGenerator.next(),z))}this.pushForkContext(!0);this.forkContext.add(f)}}makeFirstThrowablePathInTryBlock(){const f=this.forkContext;if(f.reachable){var n=m(this);n!==this&&"try"===n.position&&n.thrownForkContext.empty&&(n.thrownForkContext.add(f.head),f.replaceHead(f.makeNext(-1,-1)))}}pushLoopContext(f,n){const e=this.forkContext,q=this.pushBreakContext(!0,n);switch(f){case "WhileStatement":this.pushChoiceContext("loop",!1);this.loopContext={upper:this.loopContext,type:f,label:n,
test:void 0,continueDestSegments:null,brokenForkContext:q.brokenForkContext};break;case "DoWhileStatement":this.pushChoiceContext("loop",!1);this.loopContext={upper:this.loopContext,type:f,label:n,test:void 0,entrySegments:null,continueForkContext:l.newEmpty(e),brokenForkContext:q.brokenForkContext};break;case "ForStatement":this.pushChoiceContext("loop",!1);this.loopContext={upper:this.loopContext,type:f,label:n,test:void 0,endOfInitSegments:null,testSegments:null,endOfTestSegments:null,updateSegments:null,
endOfUpdateSegments:null,continueDestSegments:null,brokenForkContext:q.brokenForkContext};break;case "ForInStatement":case "ForOfStatement":this.loopContext={upper:this.loopContext,type:f,label:n,prevSegments:null,leftSegments:null,endOfLeftSegments:null,continueDestSegments:null,brokenForkContext:q.brokenForkContext};break;default:throw Error('unknown type: "'.concat(f,'"'));}}popLoopContext(){const f=this.loopContext;this.loopContext=f.upper;const n=this.forkContext,e=this.popBreakContext().brokenForkContext;
switch(f.type){case "WhileStatement":case "ForStatement":this.popChoiceContext();h(this,n.head,f.continueDestSegments);break;case "DoWhileStatement":var q=this.popChoiceContext();q.processed||(q.trueForkContext.add(n.head),q.falseForkContext.add(n.head));!0!==f.test&&e.addAll(q.falseForkContext);q=q.trueForkContext.segmentsList;for(let t=0;t<q.length;++t)h(this,q[t],f.entrySegments);break;case "ForInStatement":case "ForOfStatement":e.add(n.head);h(this,n.head,f.leftSegments);break;default:throw Error("unreachable");
}e.empty?n.replaceHead(n.makeUnreachable(-1,-1)):n.replaceHead(e.makeNext(0,-1))}makeWhileTest(f){const n=this.loopContext,e=this.forkContext,q=e.makeNext(0,-1);n.test=f;n.continueDestSegments=q;e.replaceHead(q)}makeWhileBody(){const f=this.loopContext,n=this.choiceContext,e=this.forkContext;n.processed||(n.trueForkContext.add(e.head),n.falseForkContext.add(e.head));!0!==f.test&&f.brokenForkContext.addAll(n.falseForkContext);e.replaceHead(n.trueForkContext.makeNext(0,-1))}makeDoWhileBody(){const f=
this.loopContext,n=this.forkContext,e=n.makeNext(-1,-1);f.entrySegments=e;n.replaceHead(e)}makeDoWhileTest(f){const n=this.loopContext,e=this.forkContext;n.test=f;n.continueForkContext.empty||(n.continueForkContext.add(e.head),f=n.continueForkContext.makeNext(0,-1),e.replaceHead(f))}makeForTest(f){const n=this.loopContext,e=this.forkContext,q=e.head,t=e.makeNext(-1,-1);n.test=f;n.endOfInitSegments=q;n.continueDestSegments=n.testSegments=t;e.replaceHead(t)}makeForUpdate(){const f=this.loopContext;
var n=this.choiceContext;const e=this.forkContext;f.testSegments?k(f,n,e.head):f.endOfInitSegments=e.head;n=e.makeDisconnected(-1,-1);f.continueDestSegments=f.updateSegments=n;e.replaceHead(n)}makeForBody(){const f=this.loopContext;var n=this.choiceContext;const e=this.forkContext;f.updateSegments?(f.endOfUpdateSegments=e.head,f.testSegments&&h(this,f.endOfUpdateSegments,f.testSegments)):f.testSegments?k(f,n,e.head):f.endOfInitSegments=e.head;n=f.endOfTestSegments;n||(n=l.newEmpty(e),n.add(f.endOfInitSegments),
f.endOfUpdateSegments&&n.add(f.endOfUpdateSegments),n=n.makeNext(0,-1));f.continueDestSegments=f.continueDestSegments||n;e.replaceHead(n)}makeForInOfLeft(){const f=this.loopContext,n=this.forkContext,e=n.makeDisconnected(-1,-1);f.prevSegments=n.head;f.leftSegments=f.continueDestSegments=e;n.replaceHead(e)}makeForInOfRight(){const f=this.loopContext,n=this.forkContext;var e=l.newEmpty(n);e.add(f.prevSegments);e=e.makeNext(-1,-1);f.endOfLeftSegments=n.head;n.replaceHead(e)}makeForInOfBody(){const f=
this.loopContext,n=this.forkContext;var e=l.newEmpty(n);e.add(f.endOfLeftSegments);e=e.makeNext(-1,-1);h(this,n.head,f.leftSegments);f.brokenForkContext.add(n.head);n.replaceHead(e)}pushBreakContext(f,n){return this.breakContext={upper:this.breakContext,breakable:f,label:n,brokenForkContext:l.newEmpty(this.forkContext)}}popBreakContext(){const f=this.breakContext,n=this.forkContext;this.breakContext=f.upper;if(!f.breakable){const e=f.brokenForkContext;e.empty||(e.add(n.head),n.replaceHead(e.makeNext(0,
-1)))}return f}makeBreak(f){const n=this.forkContext;if(n.reachable){a:{let e=this.breakContext;for(;e;){if(f?e.label===f:e.breakable){f=e;break a}e=e.upper}f=null}f&&f.brokenForkContext.add(n.head);n.replaceHead(n.makeUnreachable(-1,-1))}}makeContinue(f){const n=this.forkContext;if(n.reachable){a:if(f){for(var e=this.loopContext;e;){if(e.label===f){f=e;break a}e=e.upper}f=null}else f=this.loopContext;f&&(f.continueDestSegments?(h(this,n.head,f.continueDestSegments),"ForInStatement"!==f.type&&"ForOfStatement"!==
f.type||f.brokenForkContext.add(n.head)):f.continueForkContext.add(n.head));n.replaceHead(n.makeUnreachable(-1,-1))}}makeReturn(){const f=this.forkContext;f.reachable&&(d(this).returnedForkContext.add(f.head),f.replaceHead(f.makeUnreachable(-1,-1)))}makeThrow(){const f=this.forkContext;f.reachable&&(m(this).thrownForkContext.add(f.head),f.replaceHead(f.makeUnreachable(-1,-1)))}makeFinal(){const f=this.currentSegments;0<f.length&&f[0].reachable&&this.returnedForkContext.add(f)}}u.exports=g},(u,c,a)=>
{function b(h){return h.reachable}const d=a(544);class m{constructor(h,k,p){this.id=h;this.nextSegments=[];this.prevSegments=k.filter(b);this.allNextSegments=[];this.allPrevSegments=k;this.reachable=p;Object.defineProperty(this,"internal",{value:{used:!1,loopedPrevSegments:[]}});d.enabled&&(this.internal.nodes=[])}isLoopedPrevSegment(h){return-1!==this.internal.loopedPrevSegments.indexOf(h)}static newRoot(h){return new m(h,[],!0)}static newNext(h,k){return new m(h,m.flattenUnusedSegments(k),k.some(b))}static newUnreachable(h,
k){h=new m(h,m.flattenUnusedSegments(k),!1);m.markUsed(h);return h}static newDisconnected(h,k){return new m(h,[],k.some(b))}static markUsed(h){if(!h.internal.used){h.internal.used=!0;var k;if(h.reachable)for(k=0;k<h.allPrevSegments.length;++k){const p=h.allPrevSegments[k];p.allNextSegments.push(h);p.nextSegments.push(h)}else for(k=0;k<h.allPrevSegments.length;++k)h.allPrevSegments[k].allNextSegments.push(h)}}static markPrevSegmentAsLooped(h,k){h.internal.loopedPrevSegments.push(k)}static flattenUnusedSegments(h){const k=
Object.create(null),p=[];for(let l=0;l<h.length;++l){const g=h[l];if(!k[g.id])if(g.internal.used)k[g.id]=!0,p.push(g);else for(let f=0;f<g.allPrevSegments.length;++f){const n=g.allPrevSegments[f];k[n.id]||(k[n.id]=!0,p.push(n))}}return p}}u.exports=m},(u,c,a)=>{function b(h){return h.id+(h.reachable?"":"!")}function d(h,k){k=k?":".concat(k):"";switch(h.type){case "Identifier":return"".concat(h.type).concat(k," (").concat(h.name,")");case "Literal":return"".concat(h.type).concat(k," (").concat(h.value,
")");default:return"".concat(h.type).concat(k)}}const m=a(519)("eslint:code-path");u.exports={enabled:m.enabled,dump:m,dumpState:m.enabled?function(h,k,p){for(let l=0;l<k.currentSegments.length;++l){const g=k.currentSegments[l].internal;if(p){const f=g.nodes.length-1;0<=f&&g.nodes[f]===d(h,"enter")?g.nodes[f]=d(h,void 0):g.nodes.push(d(h,"exit"))}else g.nodes.push(d(h,"enter"))}m(["".concat(k.currentSegments.map(b).join(","),")"),"".concat(h.type).concat(p?":exit":"")].join(" "))}:m,dumpDot:m.enabled?
function(h){let k='\ndigraph {\nnode[shape=box,style="rounded,filled",fillcolor=white];\ninitial[label="",shape=circle,style=filled,fillcolor=black,width=0.25,height=0.25];\n';0<h.returnedSegments.length&&(k+='final[label="",shape=doublecircle,style=filled,fillcolor=black,width=0.25,height=0.25];\n');0<h.thrownSegments.length&&(k+='thrown[label="\u2718",shape=circle,width=0.3,height=0.3,fixedsize];\n');const p=Object.create(null);h=this.makeDotArrows(h,p);for(const l in p){const g=p[l];k+="".concat(l,
"[");k=g.reachable?k+'label="':k+'style="rounded,dashed,filled",fillcolor="#FF9800",label="<<unreachable>>\\n';k=0<g.internal.nodes.length?k+g.internal.nodes.join("\\n"):k+"????";k+='"];\n'}k+="".concat(h,"\n");m("DOT",k+"}")}:m,makeDotArrows(h,k){const p=[[h.initialSegment,0]];k=k||Object.create(null);let l=h.initialSegment.id,g="initial->".concat(h.initialSegment.id);for(;0<p.length;){var f=p.pop();const n=f[0];f=f[1];if(k[n.id]&&0===f)continue;k[n.id]=n;const e=n.allNextSegments[f];e&&(g=l===n.id?
g+"->".concat(e.id):g+";\n".concat(n.id,"->").concat(e.id),l=e.id,p.unshift([n,1+f]),p.push([e,0]))}h.returnedSegments.forEach(n=>{g=l===n.id?g+"->final":g+";\n".concat(n.id,"->final");l=null});h.thrownSegments.forEach(n=>{g=l===n.id?g+"->thrown":g+";\n".concat(n.id,"->thrown");l=null});return"".concat(g,";")}}},(u,c,a)=>{function b(l){return l.reachable}function d(l,g,f,n){const e=l.segmentsList;g=0<=g?g:e.length+g;f=0<=f?f:e.length+f;const q=[];for(let t=0;t<l.count;++t){const r=[];for(let v=g;v<=
f;++v)r.push(e[v][t]);q.push(n(l.idGenerator.next(),r))}return q}function m(l,g){for(;g.length>l.count;){const f=[];for(let n=0,e=g.length/2|0;n<e;++n)f.push(k.newNext(l.idGenerator.next(),[g[n],g[n+e]]));g=f}return g}const h=a(420),k=a(543);class p{constructor(l,g,f){this.idGenerator=l;this.upper=g;this.count=f;this.segmentsList=[]}get head(){const l=this.segmentsList;return 0===l.length?[]:l[l.length-1]}get empty(){return 0===this.segmentsList.length}get reachable(){const l=this.head;return 0<l.length&&
l.some(b)}makeNext(l,g){return d(this,l,g,k.newNext)}makeUnreachable(l,g){return d(this,l,g,k.newUnreachable)}makeDisconnected(l,g){return d(this,l,g,k.newDisconnected)}add(l){h(l.length>=this.count,"".concat(l.length," >= ").concat(this.count));this.segmentsList.push(m(this,l))}replaceHead(l){h(l.length>=this.count,"".concat(l.length," >= ").concat(this.count));this.segmentsList.splice(-1,1,m(this,l))}addAll(l){h(l.count===this.count);l=l.segmentsList;for(let g=0;g<l.length;++g)this.segmentsList.push(l[g])}clear(){this.segmentsList=
[]}static newRoot(l){const g=new p(l,null,1);g.add([k.newRoot(l.next())]);return g}static newEmpty(l,g){return new p(l.idGenerator,l,(g?2:1)*l.count)}}u.exports=p},u=>{class c{constructor(a){this.prefix=String(a);this.n=0}next(){this.n=1+this.n|0;0>this.n&&(this.n=1);return this.prefix+this.n}}u.exports=c},(u,c,a)=>{function b(n,e){e||(e=n.slice(0));return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function d(n,e){return n.line-e.line||n.column-e.column}function m(n){const e=
new Map;for(const q of n)({unprocessedDirective:{parentComment:n}}=q),e.has(n)?e.get(n).push(q):e.set(n,[q]);return[...e.values()]}function h(n,e){const q=e.range[0]+2,t=/^\s*\S+\s+/u.exec(e.value)[0].length,r=e.value.slice(t).split(/\s-{2,}\s/u)[0].trimRight();return n.map(v=>{const {ruleId:z}=v;var E=(new RegExp(String.raw(g||(g=b(["(?:^|s*,s*)","(?:s*,s*|$)"],["(?:^|\\s*,\\s*)","(?:\\s*,\\s*|$)"])),f(z)),"u")).exec(r),A=E[0];E=t+E.index;const D=E+A.length;var F=A.indexOf(",");A=A.lastIndexOf(",");
F!==A?(F=E+F,E+=A):(F=E,E=D);return{description:"'".concat(z,"'"),fix:{range:[q+F,q+E],text:""},position:v.unprocessedDirective}})}function k(n,e){({range:e}=e);const q=n.filter(t=>t.ruleId).map(t=>"'".concat(t.ruleId,"'"));return{description:2>=q.length?q.join(" or "):"".concat(q.slice(0,q.length-1).join(", "),", or ").concat(q[q.length-1]),fix:{range:e,text:" "},position:n[0].unprocessedDirective}}function p(n){return m(n).flatMap(e=>{const {parentComment:q}=e[0].unprocessedDirective,t=new Set(q.ruleIds);
for(const r of e)t.delete(r.ruleId);return t.size?h(e,q.commentToken):[k(e,q.commentToken)]})}function l(n){const e=[];var q=0;let t=null;const r=new Map,v=new Set,z=new Set;for(const E of n.problems){for(;q<n.directives.length&&0>=d(n.directives[q],E);){const A=n.directives[q++];switch(A.type){case "disable":null===A.ruleId?(t=A,r.clear(),v.clear()):(t&&v.delete(A.ruleId),r.set(A.ruleId,A));break;case "enable":null===A.ruleId?(t=null,r.clear()):(t&&v.add(A.ruleId),r.delete(A.ruleId))}}r.has(E.ruleId)?
z.add(r.get(E.ruleId)):t&&!v.has(E.ruleId)?z.add(t):e.push(E)}q=n.directives.filter(E=>"disable"===E.type&&!z.has(E));q=p(q).map(({description:E,fix:A,position:D})=>({ruleId:null,message:E?"Unused eslint-disable directive (no problems were reported from ".concat(E,")."):"Unused eslint-disable directive (no problems were reported).",line:D.line,column:D.column,severity:"warn"===n.reportUnusedDisableDirectives?1:2,nodeType:null,...n.disableFixes?{}:{fix:A}}));return{problems:e,unusedDisableDirectives:q}}
var g;const f=a(548);u.exports=({directives:n,disableFixes:e,problems:q,reportUnusedDisableDirectives:t="off"})=>{const r=n.filter(v=>"disable"===v.type||"enable"===v.type).map(v=>Object.assign({},v,{unprocessedDirective:v})).sort(d);n=n.flatMap(v=>{switch(v.type){case "disable":case "enable":return[];case "disable-line":return[{type:"disable",line:v.line,column:1,ruleId:v.ruleId,unprocessedDirective:v},{type:"enable",line:v.line+1,column:0,ruleId:v.ruleId,unprocessedDirective:v}];case "disable-next-line":return[{type:"disable",
line:v.line+1,column:1,ruleId:v.ruleId,unprocessedDirective:v},{type:"enable",line:v.line+2,column:0,ruleId:v.ruleId,unprocessedDirective:v}];default:throw new TypeError("Unrecognized directive type '".concat(v.type,"'"));}}).sort(d);q=l({problems:q,directives:r,disableFixes:e,reportUnusedDisableDirectives:t});e=l({problems:q.problems,directives:n,disableFixes:e,reportUnusedDisableDirectives:t});return"off"!==t?e.problems.concat(q.unusedDisableDirectives).concat(e.unusedDisableDirectives).sort(d):
e.problems}},u=>{u.exports=c=>{if("string"!==typeof c)throw new TypeError("Expected a string");return c.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},(u,c,a)=>{const b=a(550),{Legacy:{ConfigOps:d}}=a(469),m=a(519)("eslint:config-comment-parser");u.exports=class{parseStringConfig(h,k){m("Parsing String config");const p={};h.replace(/\s*([:,])\s*/gu,"$1").split(/\s|,+/u).forEach(l=>{if(l){var [g,f=null]=l.split(":");p[g]={value:f,comment:k}}});return p}parseJsonConfig(h,k){m("Parsing JSON config");
let p={};try{if(p=b.parse("Object",h)||{},d.isEverySeverityValid(p))return{success:!0,config:p}}catch(l){m("Levn parsing failed; falling back to manual parsing.")}p={};h=h.replace(/([-a-zA-Z0-9/]+):/gu,'"$1":').replace(/(\]|[0-9])\s+(?=")/u,"$1,");try{p=JSON.parse("{".concat(h,"}"))}catch(l){return m("Manual parsing failed."),{success:!1,error:{ruleId:null,fatal:!0,severity:2,message:"Failed to parse JSON from '".concat(h,"': ").concat(l.message),line:k.start.line,column:k.start.column+1}}}return{success:!0,
config:p}}parseListConfig(h){m("Parsing list config");const k={};h.replace(/\s*,\s*/gu,",").split(/,+/u).forEach(p=>{(p=p.trim())&&(k[p]=!0)});return k}}},function(u,c,a){(function(){var b=a(551);var d=a(558);var m=a(559).parseType;var h=function(k,p,l){null==l&&(l={});null==l.explicit&&(l.explicit=!1);null==l.customTypes&&(l.customTypes={});return d(b(k,p,l),k,l)};u.exports={VERSION:"0.4.1",parse:function(k,p,l){return h(m(k),p,l)},parsedTypeParse:h}}).call(this)},function(u,c,a){(function(){function b(e,
q){if(e[0]===q)return e.shift();throw Error("Expected '"+q+"', but got '"+e[0]+"' instead in "+JSON.stringify(e)+".");}function d(e,q){if(e[0]===q)return e.shift()}function m(e,q,t){var r;var v=q[0];q=q[1];t&&b(e,v);v=[];for(r=","+(t?q:"");e.length&&t&&e[0]!==q;)v.push(p(e,r)),d(e,",");t&&b(e,q);return v}function h(e,q){var t;q&&b(e,"{");var r={};for(t=","+(q?"}":"");e.length&&(!q||"}"!==e[0]);){var v=k(e,":");b(e,":");r[v]=p(e,t);d(e,",")}q&&b(e,"}");return r}function k(e,q){var t;null==q&&(q="");
for(t="";e.length&&-1===q.indexOf(e[0]);)t+=e.shift();return t}function p(e,q){switch(e[0]){case "[":return m(e,["[","]"],!0);case "(":return m(e,["(",")"],!0);case "{":return h(e,!0);default:return k(e,q)}}function l(e){return!e}var g=a(552).reject;var f=/\[\]\(\)}{:,/.source;var n=RegExp("(\"(?:\\\\\"|[^\"])*\")|('(?:\\\\'|[^'])*')|(/(?:\\\\/|[^/])*/[a-zA-Z]*)|(#.*#)|(["+f+"])|([^\\s"+f+"](?:\\s*[^\\s"+f+"]+)*)|\\s*");u.exports=function(e,q,t){null==t&&(t={});if(!t.explicit&&1===e.length&&"String"===
e[0].type)return q;var r=g(l,q.split(n));var v=t;var z=e[0];t=z.type;z=z.structure;var E=r.concat();v.explicit||1!==e.length||(t||!z)&&"Array"!==t&&"Object"!==t?r=p(r):(e="array"===z||"Array"===t?m(r,["[","]"],"["===r[0]):"tuple"===z?m(r,["(",")"],"("===r[0]):h(r,"{"===r[0]),r=r.length?p("array"===z||"Array"===t?(E.unshift("["),E.push("]"),E):(E.unshift("("),E.push(")"),E)):e);if(!r)throw Error("Error parsing '"+q+"'.");return r}}).call(this)},(u,c,a)=>{function b(g,f){var n,e=function(q){return 1<
g.length?function(){var t=q?q.concat():[];n=f?n||this:this;return t.push.apply(t,arguments)<g.length&&arguments.length?e.call(n,t):g.apply(n,t)}:g};return e()}var d={}.toString;c=a(553);var m=a(554);var h=a(555);var k=a(556);a=a(557);var p=b(function(g,f){return d.call(f).slice(8,-1)===g});var l=b(function(g,f){var n,e=[];for(n=0;n<g;++n)e.push(f);return e});k.empty=m.empty;k.slice=m.slice;k.take=m.take;k.drop=m.drop;k.splitAt=m.splitAt;k.takeWhile=m.takeWhile;k.dropWhile=m.dropWhile;k.span=m.span;
k.breakStr=m.breakList;p={Func:c,List:m,Obj:h,Str:k,Num:a,id:function(g){return g},isType:p,replicate:l};p.each=m.each;p.map=m.map;p.filter=m.filter;p.compact=m.compact;p.reject=m.reject;p.partition=m.partition;p.find=m.find;p.head=m.head;p.first=m.first;p.tail=m.tail;p.last=m.last;p.initial=m.initial;p.empty=m.empty;p.reverse=m.reverse;p.difference=m.difference;p.intersection=m.intersection;p.union=m.union;p.countBy=m.countBy;p.groupBy=m.groupBy;p.fold=m.fold;p.foldl=m.foldl;p.fold1=m.fold1;p.foldl1=
m.foldl1;p.foldr=m.foldr;p.foldr1=m.foldr1;p.unfoldr=m.unfoldr;p.andList=m.andList;p.orList=m.orList;p.any=m.any;p.all=m.all;p.unique=m.unique;p.uniqueBy=m.uniqueBy;p.sort=m.sort;p.sortWith=m.sortWith;p.sortBy=m.sortBy;p.sum=m.sum;p.product=m.product;p.mean=m.mean;p.average=m.average;p.concat=m.concat;p.concatMap=m.concatMap;p.flatten=m.flatten;p.maximum=m.maximum;p.minimum=m.minimum;p.maximumBy=m.maximumBy;p.minimumBy=m.minimumBy;p.scan=m.scan;p.scanl=m.scanl;p.scan1=m.scan1;p.scanl1=m.scanl1;p.scanr=
m.scanr;p.scanr1=m.scanr1;p.slice=m.slice;p.take=m.take;p.drop=m.drop;p.splitAt=m.splitAt;p.takeWhile=m.takeWhile;p.dropWhile=m.dropWhile;p.span=m.span;p.breakList=m.breakList;p.zip=m.zip;p.zipWith=m.zipWith;p.zipAll=m.zipAll;p.zipAllWith=m.zipAllWith;p.at=m.at;p.elemIndex=m.elemIndex;p.elemIndices=m.elemIndices;p.findIndex=m.findIndex;p.findIndices=m.findIndices;p.apply=c.apply;p.curry=c.curry;p.flip=c.flip;p.fix=c.fix;p.over=c.over;p.split=k.split;p.join=k.join;p.lines=k.lines;p.unlines=k.unlines;
p.words=k.words;p.unwords=k.unwords;p.chars=k.chars;p.unchars=k.unchars;p.repeat=k.repeat;p.capitalize=k.capitalize;p.camelize=k.camelize;p.dasherize=k.dasherize;p.values=h.values;p.keys=h.keys;p.pairsToObj=h.pairsToObj;p.objToPairs=h.objToPairs;p.listsToObj=h.listsToObj;p.objToLists=h.objToLists;p.max=a.max;p.min=a.min;p.negate=a.negate;p.abs=a.abs;p.signum=a.signum;p.quot=a.quot;p.rem=a.rem;p.div=a.div;p.mod=a.mod;p.recip=a.recip;p.pi=a.pi;p.tau=a.tau;p.exp=a.exp;p.sqrt=a.sqrt;p.ln=a.ln;p.pow=a.pow;
p.sin=a.sin;p.tan=a.tan;p.cos=a.cos;p.acos=a.acos;p.asin=a.asin;p.atan=a.atan;p.atan2=a.atan2;p.truncate=a.truncate;p.round=a.round;p.ceiling=a.ceiling;p.floor=a.floor;p.isItNaN=a.isItNaN;p.even=a.even;p.odd=a.odd;p.gcd=a.gcd;p.lcm=a.lcm;p.VERSION="1.2.1";u.exports=p},u=>{function c(h,k){var p,l=function(g){return 1<h.length?function(){var f=g?g.concat():[];p=k?p||this:this;return f.push.apply(f,arguments)<h.length&&arguments.length?l.call(p,f):h.apply(p,f)}:h};return l()}var a={}.toString;var b=
c(function(h,k){return h.apply(null,k)});var d=c(function(h,k,p){return h(p,k)});var m=c(function(h,k,p,l){return h(k(p),k(l))});u.exports={curry:function(h){return c(h)},flip:d,fix:function(h){return function(k){return function(){return h(k(k)).apply(null,arguments)}}(function(k){return function(){return h(k(k)).apply(null,arguments)}})},apply:b,over:m,memoize:function(h){var k={};return function(){var p;var l=[];var g=0;for(p=arguments.length;g<p;++g)l.push(arguments[g]);var f,n=[];p=0;for(f=l.length;p<
f;++p)g=l[p],n.push(g+a.call(g).slice(8,-1));g=n.join("");return k[g]=g in k?k[g]:h.apply(null,l)}}}},u=>{function c(Y,W){var ia,na=function(ja){return 1<Y.length?function(){var T=ja?ja.concat():[];ia=W?ia||this:this;return T.push.apply(T,arguments)<Y.length&&arguments.length?na.call(ia,T):Y.apply(ia,T)}:Y};return na()}function a(Y,W){for(var ia=-1,na=W.length>>>0;++ia<na;)if(Y===W[ia])return!0;return!1}function b(){var Y=arguments;return function(){var W;var ia=Y[0].apply(this,arguments);for(W=1;W<
Y.length;++W)ia=Y[W](ia);return ia}}function d(Y){return!Y}var m,h,k,p,l,g,f={}.toString;var n=c(function(Y,W){var ia;var na=0;for(ia=W.length;na<ia;++na){var ja=W[na];Y(ja)}return W});var e=c(function(Y,W){var ia,na=[];var ja=0;for(ia=W.length;ja<ia;++ja){var T=W[ja];na.push(Y(T))}return na});var q=c(function(Y,W){var ia,na=[];var ja=0;for(ia=W.length;ja<ia;++ja){var T=W[ja];Y(T)&&na.push(T)}return na});var t=c(function(Y,W){var ia,na=[];var ja=0;for(ia=W.length;ja<ia;++ja){var T=W[ja];Y(T)||na.push(T)}return na});
var r=c(function(Y,W){Y=Ha(Y,W);W=W.slice();null!=Y&&W.splice(Y,1);return W});var v=c(function(Y,W){var ia;var na=[];var ja=[];var T=0;for(ia=W.length;T<ia;++T){var da=W[T];(Y(da)?na:ja).push(da)}return[na,ja]});var z=c(function(Y,W){var ia;var na=0;for(ia=W.length;na<ia;++na){var ja=W[na];if(Y(ja))return ja}});var E=m=function(Y){return Y[0]};var A=c(function(Y,W){var ia,na=[];var ja=[];var T=0;for(ia=W.length;T<ia;++T){var da=W[T];var oa=Y(da);a(oa,ja)||(ja.push(oa),na.push(da))}return na});var D=
h=c(function(Y,W,ia){var na;var ja=0;for(na=ia.length;ja<na;++ja){var T=ia[ja];W=Y(W,T)}return W});var F=k=c(function(Y,W){return D(Y,W[0],W.slice(1))});var C=c(function(Y,W,ia){var na;for(na=ia.length-1;0<=na;--na){var ja=ia[na];W=Y(ja,W)}return W});var B=c(function(Y,W){return C(Y,W[W.length-1],W.slice(0,-1))});var I=c(function(Y,W){var ia;for(ia=[];null!=(W=Y(W));)ia.push(W[0]),W=W[1];return ia});var J=c(function(Y,W){var ia;return[].concat.apply([],function(){var na,ja=[];var T=0;for(na=W.length;T<
na;++T)ia=W[T],ja.push(Y(ia));return ja}())});var M=function(Y){var W;return[].concat.apply([],function(){var ia,na=[];var ja=0;for(ia=Y.length;ja<ia;++ja)W=Y[ja],"Array"===f.call(W).slice(8,-1)?na.push(M(W)):na.push(W);return na}())};var P=c(function(Y,W){var ia;var na={};var ja=0;for(ia=W.length;ja<ia;++ja){var T=W[ja];T=Y(T);na[T]=T in na?na[T]+1:1}return na});var O=c(function(Y,W){var ia;var na={};var ja=0;for(ia=W.length;ja<ia;++ja){var T=W[ja];var da=Y(T);da in na?na[da].push(T):na[da]=[T]}return na});
var N=c(function(Y,W){var ia;var na=0;for(ia=W.length;na<ia;++na){var ja=W[na];if(Y(ja))return!0}return!1});var L=c(function(Y,W){var ia;var na=0;for(ia=W.length;na<ia;++na){var ja=W[na];if(!Y(ja))return!1}return!0});var x=c(function(Y,W){return W.concat().sort(Y)});var y=c(function(Y,W){return W.concat().sort(function(ia,na){return Y(ia)>Y(na)?1:Y(ia)<Y(na)?-1:0})});var G=p=function(Y){var W,ia;var na=W=0;for(ia=Y.length;na<ia;++na){var ja=Y[na];W+=ja}return W/Y.length};var K=c(function(Y,W){var ia;
var na=W[0];var ja=0;for(ia=(W=W.slice(1)).length;ja<ia;++ja){var T=W[ja];Y(T)>Y(na)&&(na=T)}return na});var R=c(function(Y,W){var ia;var na=W[0];var ja=0;for(ia=(W=W.slice(1)).length;ja<ia;++ja){var T=W[ja];Y(T)<Y(na)&&(na=T)}return na});var Z=l=c(function(Y,W,ia){var na;var ja=W;return[W].concat(function(){var T,da=[];var oa=0;for(T=ia.length;oa<T;++oa)na=ia[oa],da.push(ja=Y(ja,na));return da}())});var aa=g=c(function(Y,W){if(W.length)return Z(Y,W[0],W.slice(1))});var xa=c(function(Y,W,ia){ia=ia.concat().reverse();
return Z(Y,W,ia).reverse()});var X=c(function(Y,W){if(W.length)return W=W.concat().reverse(),Z(Y,W[0],W.slice(1)).reverse()});var wa=c(function(Y,W,ia){return ia.slice(Y,W)});var ka=c(function(Y,W){return 0>=Y?W.slice(0,0):W.slice(0,Y)});var ra=c(function(Y,W){return 0>=Y?W:W.slice(Y)});var qa=c(function(Y,W){return[ka(Y,W),ra(Y,W)]});var va=c(function(Y,W){var ia;var na=W.length;if(!na)return W;for(ia=0;ia<na&&Y(W[ia]);)ia+=1;return W.slice(0,ia)});var U=c(function(Y,W){var ia;var na=W.length;if(!na)return W;
for(ia=0;ia<na&&Y(W[ia]);)ia+=1;return W.slice(ia)});var pa=c(function(Y,W){return[va(Y,W),U(Y,W)]});var S=c(function(Y,W){return pa(b(Y,d),W)});var ma=c(function(Y,W){var ia;var na=[];var ja=W.length;var T=0;for(ia=Y.length;T<ia;++T){var da=T;var oa=Y[T];if(da===ja)break;na.push([oa,W[da]])}return na});var ya=c(function(Y,W,ia){var na;var ja=[];var T=ia.length;var da=0;for(na=W.length;da<na;++da){var oa=da;var V=W[da];if(oa===T)break;ja.push(Y(V,ia[oa]))}return ja});var Ga=c(function(Y,W){return 0>
Y?W[W.length+Y]:W[Y]});var Ha=c(function(Y,W){var ia;var na=0;for(ia=W.length;na<ia;++na){var ja=na;var T=W[na];if(T===Y)return ja}});var ab=c(function(Y,W){var ia,na=[];var ja=0;for(ia=W.length;ja<ia;++ja){var T=ja;var da=W[ja];da===Y&&na.push(T)}return na});var ea=c(function(Y,W){var ia;var na=0;for(ia=W.length;na<ia;++na){var ja=na;var T=W[na];if(Y(T))return ja}});var za=c(function(Y,W){var ia,na=[];var ja=0;for(ia=W.length;ja<ia;++ja){var T=ja;var da=W[ja];Y(da)&&na.push(T)}return na});u.exports=
{each:n,map:e,filter:q,compact:function(Y){var W,ia,na=[];var ja=0;for(W=Y.length;ja<W;++ja)(ia=Y[ja])&&na.push(ia);return na},reject:t,remove:r,partition:v,find:z,head:E,first:m,tail:function(Y){if(Y.length)return Y.slice(1)},last:function(Y){return Y[Y.length-1]},initial:function(Y){if(Y.length)return Y.slice(0,-1)},empty:function(Y){return!Y.length},reverse:function(Y){return Y.concat().reverse()},difference:function(Y){var W,ia;var na=[];var ja=1;for(W=arguments.length;ja<W;++ja)na.push(arguments[ja]);
W=[];ja=0;var T=Y.length;a:for(;ja<T;++ja){var da=Y[ja];var oa=0;for(ia=na.length;oa<ia;++oa){var V=na[oa];if(a(da,V))continue a}W.push(da)}return W},intersection:function(Y){var W,ia;var na=[];var ja=1;for(W=arguments.length;ja<W;++ja)na.push(arguments[ja]);W=[];ja=0;var T=Y.length;a:for(;ja<T;++ja){var da=Y[ja];var oa=0;for(ia=na.length;oa<ia;++oa){var V=na[oa];if(!a(da,V))continue a}W.push(da)}return W},union:function(){var Y,W,ia;var na=[];var ja=0;for(Y=arguments.length;ja<Y;++ja)na.push(arguments[ja]);
Y=[];ja=0;for(W=na.length;ja<W;++ja){var T=na[ja];var da=0;for(ia=T.length;da<ia;++da){var oa=T[da];a(oa,Y)||Y.push(oa)}}return Y},countBy:P,groupBy:O,fold:D,fold1:F,foldl:h,foldl1:k,foldr:C,foldr1:B,unfoldr:I,andList:function(Y){var W;var ia=0;for(W=Y.length;ia<W;++ia){var na=Y[ia];if(!na)return!1}return!0},orList:function(Y){var W,ia;var na=0;for(W=Y.length;na<W;++na)if(ia=Y[na])return!0;return!1},any:N,all:L,unique:function(Y){var W;var ia=[];var na=0;for(W=Y.length;na<W;++na){var ja=Y[na];a(ja,
ia)||ia.push(ja)}return ia},uniqueBy:A,sort:function(Y){return Y.concat().sort(function(W,ia){return W>ia?1:W<ia?-1:0})},sortWith:x,sortBy:y,sum:function(Y){var W,ia;var na=W=0;for(ia=Y.length;na<ia;++na){var ja=Y[na];W+=ja}return W},product:function(Y){var W;var ia=1;var na=0;for(W=Y.length;na<W;++na){var ja=Y[na];ia*=ja}return ia},mean:G,average:p,concat:function(Y){return[].concat.apply([],Y)},concatMap:J,flatten:M,maximum:function(Y){var W;var ia=Y[0];var na=0;for(W=(Y=Y.slice(1)).length;na<W;++na){var ja=
Y[na];ja>ia&&(ia=ja)}return ia},minimum:function(Y){var W;var ia=Y[0];var na=0;for(W=(Y=Y.slice(1)).length;na<W;++na){var ja=Y[na];ja<ia&&(ia=ja)}return ia},maximumBy:K,minimumBy:R,scan:Z,scan1:aa,scanl:l,scanl1:g,scanr:xa,scanr1:X,slice:wa,take:ka,drop:ra,splitAt:qa,takeWhile:va,dropWhile:U,span:pa,breakList:S,zip:ma,zipWith:ya,zipAll:function(){var Y,W,ia,na=[];var ja=[];var T=0;for(Y=arguments.length;T<Y;++T)ja.push(arguments[T]);Y=void 0;T=0;for(W=ja.length;T<W;++T){var da=ja[T];Y<=(ia=da.length)||
(Y=ia)}for(T=0;T<Y;++T){ia=T;var oa=[];var V=0;for(W=ja.length;V<W;++V)da=ja[V],oa.push(da[ia]);na.push(oa)}return na},zipAllWith:function(Y){function W(){var la,ua,ba=[];var w=0;for(ua=(la=oa).length;w<ua;++w)V=la[w],ba.push(V[ha]);return ba}var ia,na,ja=[];var T=[];var da=1;for(ia=arguments.length;da<ia;++da)T.push(arguments[da]);var oa=T;T=void 0;da=0;for(ia=oa.length;da<ia;++da){var V=oa[da];T<=(na=V.length)||(T=na)}for(da=0;da<T;++da){var ha=da;ja.push(Y.apply(null,W()))}return ja},at:Ga,elemIndex:Ha,
elemIndices:ab,findIndex:ea,findIndices:za}},u=>{function c(l,g){var f,n=function(e){return 1<l.length?function(){var q=e?e.concat():[];f=g?f||this:this;return q.push.apply(q,arguments)<l.length&&arguments.length?n.call(f,q):l.apply(f,q)}:l};return n()}var a=c(function(l,g){var f,n={};var e=0;for(f=l.length;e<f;++e){var q=e;var t=l[e];n[t]=g[q]}return n});var b=c(function(l,g){var f;for(f in g){var n=g[f];l(n)}return g});var d=c(function(l,g){var f,n={};for(f in g){var e=g[f];n[f]=l(e)}return n});
var m=c(function(l,g){var f,n={};for(f in g){var e=g[f];l(e)&&(n[f]=e)}return n});var h=c(function(l,g){var f,n={};for(f in g){var e=g[f];l(e)||(n[f]=e)}return n});var k=c(function(l,g){var f;var n={};var e={};for(f in g){var q=g[f];(l(q)?n:e)[f]=q}return[n,e]});var p=c(function(l,g){var f;for(f in g){var n=g[f];if(l(n))return n}});u.exports={values:function(l){var g,f=[];for(g in l){var n=l[g];f.push(n)}return f},keys:function(l){var g,f=[];for(g in l)f.push(g);return f},pairsToObj:function(l){var g,
f={};var n=0;for(g=l.length;n<g;++n){var e=l[n];f[e[0]]=e[1]}return f},objToPairs:function(l){var g,f=[];for(g in l){var n=l[g];f.push([g,n])}return f},listsToObj:a,objToLists:function(l){var g;var f=[];var n=[];for(g in l){var e=l[g];f.push(g);n.push(e)}return[f,n]},empty:function(l){for(var g in l)return!1;return!0},each:b,map:d,filter:m,compact:function(l){var g,f,n={};for(g in l)(f=l[g])&&(n[g]=f);return n},reject:h,partition:k,find:p}},u=>{function c(m,h){var k,p=function(l){return 1<m.length?
function(){var g=l?l.concat():[];k=h?k||this:this;return g.push.apply(g,arguments)<m.length&&arguments.length?p.call(k,g):m.apply(k,g)}:m};return p()}var a=c(function(m,h){return h.split(m)});var b=c(function(m,h){return h.join(m)});var d=c(function(m,h){var k;var p="";for(k=0;k<m;++k)p+=h;return p});u.exports={split:a,join:b,lines:function(m){return m.length?m.split("\n"):[]},unlines:function(m){return m.join("\n")},words:function(m){return m.length?m.split(/[ ]+/):[]},unwords:function(m){return m.join(" ")},
chars:function(m){return m.split("")},unchars:function(m){return m.join("")},reverse:function(m){return m.split("").reverse().join("")},repeat:d,capitalize:function(m){return m.charAt(0).toUpperCase()+m.slice(1)},camelize:function(m){return m.replace(/[-_]+(.)?/g,function(h,k){return(null!=k?k:"").toUpperCase()})},dasherize:function(m){return m.replace(/([^-A-Z])([A-Z]+)/g,function(h,k,p){return k+"-"+(1<p.length?p:p.toLowerCase())}).replace(/^([A-Z]+)/,function(h,k){return 1<k.length?k+"-":k.toLowerCase()})}}},
u=>{function c(M,P){var O,N=function(L){return 1<M.length?function(){var x=L?L.concat():[];O=P?O||this:this;return x.push.apply(x,arguments)<M.length&&arguments.length?N.call(O,x):M.apply(O,x)}:M};return N()}var a=c(function(M,P){return M>P?M:P});var b=c(function(M,P){return M<P?M:P});var d=Math.abs;var m=c(function(M,P){return~~(M/P)});var h=c(function(M,P){return M%P});var k=c(function(M,P){return Math.floor(M/P)});var p=c(function(M,P){return(M%P+P)%P});var l=Math.PI;var g=2*l;var f=Math.exp;var n=
Math.sqrt;var e=Math.log;var q=c(function(M,P){return Math.pow(M,P)});var t=Math.sin;var r=Math.tan;var v=Math.cos;var z=Math.asin;var E=Math.acos;var A=Math.atan;var D=c(function(M,P){return Math.atan2(M,P)});var F=Math.round;var C=Math.ceil;var B=Math.floor;var I=c(function(M,P){M=Math.abs(M);for(P=Math.abs(P);0!==P;){var O=M%P;M=P;P=O}return M});var J=c(function(M,P){return Math.abs(Math.floor(M/I(M,P)*P))});u.exports={max:a,min:b,negate:function(M){return-M},abs:d,signum:function(M){return 0>
M?-1:0<M?1:0},quot:m,rem:h,div:k,mod:p,recip:function(M){return 1/M},pi:l,tau:g,exp:f,sqrt:n,ln:e,pow:q,sin:t,tan:r,cos:v,acos:E,asin:z,atan:A,atan2:D,truncate:function(M){return~~M},round:F,ceiling:C,floor:B,isItNaN:function(M){return M!==M},even:function(M){return 0===M%2},odd:function(M){return 0!==M%2},gcd:I,lcm:J}},function(u,c,a){(function(){function b(g,f,n){if("Array"!==k.call(g).slice(8,-1))return{type:"Nothing"};f=f.of;var e,q=[];var t=0;for(e=g.length;t<e;++t){var r=g[t];q.push(h(r,f,n))}return{type:"Just",
value:q}}function d(g,f,n){var e;if("Object"!==k.call(g).slice(8,-1))return{type:"Nothing"};f=f.of;var q,t={};for(e in q=g)g=q[e],t[h(e,[{type:"String"}],n)]=h(g,f[e]||[{type:"*"}],n);return{type:"Just",value:t}}function m(g,f,n){var e;var q=f.type;var t=f.structure;if(q){t=(null!=(e=n.customTypes[q])?e.cast:void 0)||l[q];if(!t)throw Error("Type not defined: "+q+".");return t(g,n,h)}switch(t){case "array":return b(g,f,n);case "tuple":var r;if("Array"!==k.call(g).slice(8,-1))g={type:"Nothing"};else{q=
[];t=e=0;for(r=(f=f.of).length;t<r;++t){var v=f[t];v=h(g[e],v,n);"Undefined"!==k.call(v).slice(8,-1)&&q.push(v);e++}g=g.length<=e?{type:"Just",value:q}:{type:"Nothing"}}return g;case "fields":return d(g,f,n)}}function h(g,f,n){var e;var q=0;for(e=f.length;q<e;++q){var t=f[q];var r=m(g,t,n);var v=r.type;r=r.value;if("Nothing"!==v&&p([t],r,{customTypes:n.customTypes}))return r}throw Error("Value "+JSON.stringify(g)+" does not type check against "+JSON.stringify(f)+".");}var k={}.toString;var p=a(559).parsedTypeCheck;
var l={"*":function(g,f){switch(k.call(g).slice(8,-1)){case "Array":return m(g,{type:"Array"},f);case "Object":return m(g,{type:"Object"},f);default:return{type:"Just",value:h(g,[{type:"Undefined"},{type:"Null"},{type:"NaN"},{type:"Boolean"},{type:"Number"},{type:"Date"},{type:"RegExp"},{type:"Array"},{type:"Object"},{type:"String"}],(f.explicit=!0,f))}}},Undefined:function(g){return"undefined"===g||void 0===g?{type:"Just",value:void 0}:{type:"Nothing"}},Null:function(g){return"null"===g?{type:"Just",
value:null}:{type:"Nothing"}},NaN:function(g){return"NaN"===g?{type:"Just",value:NaN}:{type:"Nothing"}},Boolean:function(g){return"true"===g?{type:"Just",value:!0}:"false"===g?{type:"Just",value:!1}:{type:"Nothing"}},Number:function(g){return{type:"Just",value:+g}},Int:function(g){return{type:"Just",value:+g}},Float:function(g){return{type:"Just",value:+g}},Date:function(g,f){var n;return(n=/^#([\s\S]*)#$/.exec(g))?{type:"Just",value:new Date(+n[1]||n[1])}:f.explicit?{type:"Nothing"}:{type:"Just",
value:new Date(+g||g)}},RegExp:function(g,f){var n;return(n=/^\/([\s\S]*)\/([gimy]*)$/.exec(g))?{type:"Just",value:new RegExp(n[1],n[2])}:f.explicit?{type:"Nothing"}:{type:"Just",value:new RegExp(g)}},Array:function(g,f){return b(g,{of:[{type:"*"}]},f)},Object:function(g,f){return d(g,{of:{}},f)},String:function(g){var f;if("String"!==k.call(g).slice(8,-1))return{type:"Nothing"};var n=function(e,q){return e.replace(/\\([^u]|u[0-9a-fA-F]{4})/g,function(t,r){switch(r[0]){case q:return q;case "\\":return"\\";
case "b":return"\b";case "f":return"\f";case "n":return"\n";case "r":return"\r";case "t":return"\t";case "u":return JSON.parse('"'+t+'"');default:return r}})};return(f=g.match(/^'([\s\S]*)'$/))?{type:"Just",value:n(f[1],"'")}:(f=g.match(/^"([\s\S]*)"$/))?{type:"Just",value:n(f[1],'"')}:{type:"Just",value:g}}};u.exports=function(g,f,n){return n.explicit||1!==f.length||"String"!==f[0].type?h(g,f,n):g}}).call(this)},function(u,c,a){(function(){var b=a(560);var d=a(561);u.exports={VERSION:"0.4.0",typeCheck:function(m,
h,k){return d(b(m),h,k)},parsedTypeCheck:d,parseType:b}}).call(this)},function(u){(function(){function c(p){p=p[0];if(null==p)throw Error("Unexpected end of input.");return p}function a(p){var l=c(p);if(!h.test(l))throw Error("Expected text, got '"+l+"' instead.");return p.shift()}function b(p,l){var g=c(p);if(g!==l)throw Error("Expected '"+l+"', got '"+g+"' instead.");return p.shift()}function d(p){switch(p[0]){case "[":b(p,"[");if("]"===c(p))throw Error("Must specify type of Array - eg. [Type], got [] instead.");
var l=m(p);b(p,"]");return{structure:"array",of:l};case "(":l=[];b(p,"(");if(")"===c(p))throw Error("Tuple must be of at least length 1 - eg. (Type), got () instead.");for(;l.push(m(p)),","===p[0]&&p.shift(),")"!==c(p););b(p,")");return{structure:"tuple",of:l};case "{":var g;l={};b(p,"{");for(g=!1;;){if("..."===p[0]&&p.shift()){g=!0;break}var f=p;var n=a(f);b(f,":");f=m(f);f=[n,f];n=f[0];f=f[1];l[n]=f;","===p[0]&&p.shift();if("}"===c(p))break}b(p,"}");return{structure:"fields",of:l,subset:g}}}function m(p){var l;
if("::"===c(p))throw Error("No comment before comment separator '::' found.");var g=p[1];null!=g&&"::"===g&&(p.shift(),p.shift());g=[];var f={};"Maybe"===c(p)&&(p.shift(),g=[{type:"Undefined"},{type:"Null"}],f={Undefined:!0,Null:!0});for(;;){var n=p;var e=c(n);if((l="*"===e)||h.test(e))e=l?b(n,"*"):a(n),e=(n=d(n))?(n.type=e,n):{type:e};else{n=d(n);if(!n)throw Error("Unexpected character: "+e);e=n}n=e.type;l=e.structure;f[n]||g.push(e);null==l&&(f[n]=!0);if("|"!==p[0]||!p.shift())break}return g}var h=
/[\$\w]+/;var k=RegExp("\\.\\.\\.|::|->|"+h.source+"|\\S","g");u.exports=function(p){if(!p.length)throw Error("No type specified.");var l=p.match(k)||[];a:{var g=-1;for(var f=l.length>>>0;++g<f;)if("->"===l[g]){g=!0;break a}g=!1}if(g)throw Error("Function types are not supported. To validate that something is a function, you may use 'Function'.");try{return m(l)}catch(n){throw g=n,Error(g.message+" - Remaining tokens: "+JSON.stringify(l)+" - Initial input: '"+p+"'");}}}).call(this)},function(u,c,
a){(function(){function b(e,q,t){return l(function(r){return m(r,q.of,t)},e)}function d(e,q,t){if(!(e instanceof Object))return!1;switch(q.structure){case "fields":a:{var r,v;var z={};var E=0;for(A in e)z[A]=!0,E++;var A=0;for(r in v=q.of){var D=v[r];if(!m(e[r],D,t)){e=!1;break a}z[r]&&A++}e=q.subset||E===A}return e;case "array":return b(e,q,t);case "tuple":a:{E=z=0;for(r=(q=q.of).length;E<r;++E){A=q[E];if(!m(e[z],A,t)){e=!1;break a}z++}e=e.length<=z}return e}}function m(e,q,t){if("Array"!==h.call(q).slice(8,
-1))throw Error("Types must be in an array. Input: "+e+".");return p(function(r){var v;var z=r.type;var E=r.structure;if(z)r="*"===z?!0:(v=t.customTypes[z]||f[z])?(void 0===v.typeOf||v.typeOf===h.call(e).slice(8,-1))&&v.validate(e):z===h.call(e).slice(8,-1)&&(!E||d(e,r,t));else if(E)r=(v=n[E])&&v!==h.call(e).slice(8,-1)?!1:d(e,r,t);else throw Error("No type defined. Input: "+e+".");return r},q)}var h={}.toString;var k=a(552);var p=k.any;var l=k.all;var g=k.isItNaN;var f={Number:{typeOf:"Number",validate:function(e){return!g(e)}},
NaN:{typeOf:"Number",validate:g},Int:{typeOf:"Number",validate:function(e){return!g(e)&&0===e%1}},Float:{typeOf:"Number",validate:function(e){return!g(e)}},Date:{typeOf:"Date",validate:function(e){return!g(e.getTime())}}};var n={array:"Array",tuple:"Array"};u.exports=function(e,q,t){null==t&&(t={});null==t.customTypes&&(t.customTypes={});return m(q,e,t)}}).call(this)},(u,c,a)=>{function b(...e){return[...new Set(e.flat())]}function d(...e){if(0===e.length)return[];let q=[...new Set(e[0])];for(const t of e.slice(1))q=
q.filter(r=>t.includes(r));return q}function m(e){switch(e.type){case "identifier":return[e.value];case "matches":return e=e.selectors.map(m),e.every(Boolean)?b(...e):null;case "compound":return e=e.selectors.map(m).filter(q=>q),e.length?d(...e):null;case "child":case "descendant":case "sibling":case "adjacent":return m(e.right);default:return null}}function h(e){switch(e.type){case "child":case "descendant":case "sibling":case "adjacent":return h(e.left)+h(e.right);case "compound":case "not":case "matches":return e.selectors.reduce((q,
t)=>q+h(t),0);case "attribute":case "field":case "nth-child":case "nth-last-child":return 1;default:return 0}}function k(e){switch(e.type){case "child":case "descendant":case "sibling":case "adjacent":return k(e.left)+k(e.right);case "compound":case "not":case "matches":return e.selectors.reduce((q,t)=>q+k(t),0);case "identifier":return 1;default:return 0}}function p(e,q){return e.attributeCount-q.attributeCount||e.identifierCount-q.identifierCount||(e.rawSelector<=q.rawSelector?-1:1)}function l(e){if(f.has(e))return f.get(e);
try{var q=g.parse(e.replace(/:exit$/u,""))}catch(t){if(t.location&&t.location.start&&"number"===typeof t.location.start.offset)throw new SyntaxError('Syntax error in selector "'.concat(e,'" at position ').concat(t.location.start.offset,": ").concat(t.message));throw t;}q={rawSelector:e,isExit:e.endsWith(":exit"),parsedSelector:q,listenerTypes:m(q),attributeCount:h(q),identifierCount:k(q)};f.set(e,q);return q}const g=a(563),f=new Map;class n{constructor(e,q){this.emitter=e;this.esqueryOptions=q;this.currentAncestry=
[];this.enterSelectorsByNodeType=new Map;this.exitSelectorsByNodeType=new Map;this.anyTypeEnterSelectors=[];this.anyTypeExitSelectors=[];e.eventNames().forEach(t=>{const r=l(t);if(r.listenerTypes){const v=r.isExit?this.exitSelectorsByNodeType:this.enterSelectorsByNodeType;r.listenerTypes.forEach(z=>{v.has(z)||v.set(z,[]);v.get(z).push(r)})}else(r.isExit?this.anyTypeExitSelectors:this.anyTypeEnterSelectors).push(r)});this.anyTypeEnterSelectors.sort(p);this.anyTypeExitSelectors.sort(p);this.enterSelectorsByNodeType.forEach(t=>
t.sort(p));this.exitSelectorsByNodeType.forEach(t=>t.sort(p))}applySelector(e,q){g.matches(e,q.parsedSelector,this.currentAncestry,this.esqueryOptions)&&this.emitter.emit(q.rawSelector,e)}applySelectors(e,q){const t=(q?this.exitSelectorsByNodeType:this.enterSelectorsByNodeType).get(e.type)||[];q=q?this.anyTypeExitSelectors:this.anyTypeEnterSelectors;let r=0,v=0;for(;r<t.length||v<q.length;)r>=t.length||v<q.length&&0>p(q[v],t[r])?this.applySelector(e,q[v++]):this.applySelector(e,t[r++])}enterNode(e){e.parent&&
this.currentAncestry.unshift(e.parent);this.applySelectors(e,!1)}leaveNode(e){this.applySelectors(e,!0);this.currentAncestry.shift()}}u.exports=n},function(u,c,a){!function(b,d){u.exports=d()}(this,function(){function b(C){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(B){return typeof B}:function(B){return B&&"function"==typeof Symbol&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B})(C)}function d(C,B){if(!(C=function(I){if(Array.isArray(I))return I}(C)||
function(I,J){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(I)){var M=[],P=!0,O=!1,N=void 0;try{for(var L,x=I[Symbol.iterator]();!(P=(L=x.next()).done)&&(M.push(L.value),!J||M.length!==J);P=!0);}catch(y){O=!0,N=y}finally{try{P||null==x.return||x.return()}finally{if(O)throw N;}}return M}}(C,B)||h(C,B)))throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");return C}function m(C){var B=
Array.isArray(C)?k(C):void 0;B||(B="undefined"!=typeof Symbol&&Symbol.iterator in Object(C)?Array.from(C):void 0);if(!(C=B||h(C)))throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");return C}function h(C,B){if(C){if("string"==typeof C)return k(C,B);var I=Object.prototype.toString.call(C).slice(8,-1);return"Object"===I&&C.constructor&&(I=C.constructor.name),"Map"===I||"Set"===I?Array.from(C):"Arguments"===
I||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I)?k(C,B):void 0}}function k(C,B){(null==B||B>C.length)&&(B=C.length);for(var I=0,J=Array(B);I<B;I++)J[I]=C[I];return J}function p(C,B){var I;if("undefined"==typeof Symbol||null==C[Symbol.iterator]){if(Array.isArray(C)||(I=h(C))||B&&C&&"number"==typeof C.length){I&&(C=I);var J=0;B=function(){};return{s:B,n:function(){return J>=C.length?{done:!0}:{done:!1,value:C[J++]}},e:function(N){throw N;},f:B}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}var M,P=!0,O=!1;return{s:function(){I=C[Symbol.iterator]()},n:function(){var N=I.next();return P=N.done,N},e:function(N){O=!0;M=N},f:function(){try{P||null==I.return||I.return()}finally{if(O)throw M;}}}}function l(C,B){return C(B={exports:{}},B.exports),B.exports}function g(C,B,I,J){if(!B)return!0;if(!C)return!1;switch(I||(I=[]),B.type){case "wildcard":return!0;case "identifier":return B.value.toLowerCase()===C.type.toLowerCase();case "field":var M=B.name.split(".");return function G(L,x,y){if(0===
y.length)return L===x;if(null==x)return!1;x=x[y[0]];y=y.slice(1);if(Array.isArray(x)){var K;x=p(x);try{for(x.s();!(K=x.n()).done;)if(G(L,K.value,y))return!0}catch(R){x.e(R)}finally{x.f()}return!1}return G(L,x,y)}(C,I[M.length-1],M);case "matches":var P=p(B.selectors);try{for(P.s();!(M=P.n()).done;)if(g(C,M.value,I,J))return!0}catch(L){P.e(L)}finally{P.f()}return!1;case "compound":M=p(B.selectors);try{for(M.s();!(P=M.n()).done;)if(!g(C,P.value,I,J))return!1}catch(L){M.e(L)}finally{M.f()}return!0;case "not":var O;
M=p(B.selectors);try{for(M.s();!(O=M.n()).done;)if(g(C,O.value,I,J))return!1}catch(L){M.e(L)}finally{M.f()}return!0;case "has":if(M=function(){var L,x=[],y=p(B.selectors);try{var G=function(){var K=L.value,R=[];D.traverse(C,{enter:function(Z,aa){null!=aa&&R.unshift(aa);g(Z,K,R,J)&&x.push(Z)},leave:function(){R.shift()},keys:J&&J.visitorKeys,fallback:J&&J.fallback||"iteration"})};for(y.s();!(L=y.n()).done;)G()}catch(K){y.e(K)}finally{y.f()}return{v:0!==x.length}}(),"object"===b(M))return M.v;case "child":return!!g(C,
B.right,I,J)&&g(I[0],B.left,I.slice(1),J);case "descendant":if(g(C,B.right,I,J))for(M=0,P=I.length;M<P;++M)if(g(I[M],B.left,I.slice(M+1),J))return!0;return!1;case "attribute":I=function(L,x){var y;x=p(x.split("."));try{for(x.s();!(y=x.n()).done;){if(null==L)return L;L=L[y.value]}}catch(G){x.e(G)}finally{x.f()}return L}(C,B.name);switch(B.operator){case void 0:return null!=I;case "=":switch(B.value.type){case "regexp":return"string"==typeof I&&B.value.value.test(I);case "literal":return"".concat(B.value.value)===
"".concat(I);case "type":return B.value.value===b(I)}throw Error("Unknown selector value type: ".concat(B.value.type));case "!=":switch(B.value.type){case "regexp":return!B.value.value.test(I);case "literal":return"".concat(B.value.value)!=="".concat(I);case "type":return B.value.value!==b(I)}throw Error("Unknown selector value type: ".concat(B.value.type));case "<=":return I<=B.value.value;case "<":return I<B.value.value;case ">":return I>B.value.value;case ">=":return I>=B.value.value}throw Error("Unknown operator: ".concat(B.operator));
case "sibling":return g(C,B.right,I,J)&&e(C,B.left,I,"LEFT_SIDE",J)||B.left.subject&&g(C,B.left,I,J)&&e(C,B.right,I,"RIGHT_SIDE",J);case "adjacent":return g(C,B.right,I,J)&&q(C,B.left,I,"LEFT_SIDE",J)||B.right.subject&&g(C,B.left,I,J)&&q(C,B.right,I,"RIGHT_SIDE",J);case "nth-child":return g(C,B.right,I,J)&&t(C,I,function(){return B.index.value-1},J);case "nth-last-child":return g(C,B.right,I,J)&&t(C,I,function(L){return L-B.index.value},J);case "class":switch(B.name.toLowerCase()){case "statement":if("Statement"===
C.type.slice(-9))return!0;case "declaration":return"Declaration"===C.type.slice(-11);case "pattern":if("Pattern"===C.type.slice(-7))return!0;case "expression":return"Expression"===C.type.slice(-10)||"Literal"===C.type.slice(-7)||"Identifier"===C.type&&(0===I.length||"MetaProperty"!==I[0].type)||"MetaProperty"===C.type;case "function":return"FunctionDeclaration"===C.type||"FunctionExpression"===C.type||"ArrowFunctionExpression"===C.type}throw Error("Unknown class name: ".concat(B.name));}throw Error("Unknown selector type: ".concat(B.type));
}function f(C,B){var I=C.type;return B&&B.visitorKeys&&B.visitorKeys[I]?B.visitorKeys[I]:D.VisitorKeys[I]?D.VisitorKeys[I]:B&&"function"==typeof B.fallback?B.fallback(C):Object.keys(C).filter(function(J){return"type"!==J})}function n(C){return null!==C&&"object"===b(C)&&"string"==typeof C.type}function e(C,B,I,J,M){var P=d(I,1)[0];if(!P)return!1;var O,N=p(f(P,M));try{for(N.s();!(O=N.n()).done;){var L=P[O.value];if(Array.isArray(L)){var x=L.indexOf(C);if(!(0>x)){var y=void 0,G=void 0;for("LEFT_SIDE"===
J?(y=0,G=x):(y=x+1,G=L.length);y<G;++y)if(n(L[y])&&g(L[y],B,I,M))return!0}}}}catch(K){N.e(K)}finally{N.f()}return!1}function q(C,B,I,J,M){var P=d(I,1)[0];if(!P)return!1;var O,N=p(f(P,M));try{for(N.s();!(O=N.n()).done;){var L=P[O.value];if(Array.isArray(L)){var x=L.indexOf(C);if(!(0>x)&&("LEFT_SIDE"===J&&0<x&&n(L[x-1])&&g(L[x-1],B,I,M)||"RIGHT_SIDE"===J&&x<L.length-1&&n(L[x+1])&&g(L[x+1],B,I,M)))return!0}}}catch(y){N.e(y)}finally{N.f()}return!1}function t(C,B,I,J){B=d(B,1)[0];if(!B)return!1;var M;
J=p(f(B,J));try{for(J.s();!(M=J.n()).done;){var P=B[M.value];if(Array.isArray(P)){var O=P.indexOf(C);if(0<=O&&O===I(P.length))return!0}}}catch(N){J.e(N)}finally{J.f()}return!1}function r(C,B){if(null==C||"object"!=b(C))return[];null==B&&(B=C);for(var I=C.subject?[B]:[],J=0,M=[],P=Object.keys(C),O=0;O<P.length;O++)M.push([P[O],C[P[O]]]);for(;J<M.length;J++)C=d(M[J],2),P=C[1],I.push.apply(I,m(r(P,"left"===C[0]?P:B)));return I}function v(C,B,I,J){if(B){var M=[],P=r(B);D.traverse(C,{enter:function(O,
N){if(null!=N&&M.unshift(N),g(O,B,M,J))if(P.length)for(var L=0,x=P.length;L<x;++L){g(O,P[L],M,J)&&I(O,N,M);for(var y=0,G=M.length;y<G;++y){var K=M.slice(y+1);g(M[y],P[L],K,J)&&I(M[y],N,K)}}else I(O,N,M)},leave:function(){M.shift()},keys:J&&J.visitorKeys,fallback:J&&J.fallback||"iteration"})}}function z(C,B,I){var J=[];return v(C,B,function(M){J.push(M)},I),J}function E(C){return F.parse(C)}function A(C,B,I){return z(C,E(B),I)}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:
"undefined"!=typeof a.g?a.g:"undefined"!=typeof self&&self;var D=l(function(C,B){!function M(J){function P(ka){var ra,qa,va={};for(ra in ka)ka.hasOwnProperty(ra)&&(qa=ka[ra],va[ra]="object"==typeof qa&&null!==qa?P(qa):qa);return va}function O(ka,ra){this.parent=ka;this.key=ra}function N(ka,ra,qa,va){this.node=ka;this.path=ra;this.wrap=qa;this.ref=va}function L(){}function x(ka){return null!=ka&&"object"==typeof ka&&"string"==typeof ka.type}function y(ka,ra){for(var qa=ka.length-1;0<=qa;--qa)if(ka[qa].node===
ra)return!0;return!1}function G(ka,ra){return(new L).traverse(ka,ra)}function K(ka,ra){var qa;return qa=function(va,U){var pa,S,ma;var ya=va.length;for(S=0;ya;)U(va[ma=S+(pa=ya>>>1)])?ya=pa:(S=ma+1,ya-=pa+1);return S}(ra,function(va){return va.range[0]>ka.range[0]}),ka.extendedRange=[ka.range[0],ka.range[1]],qa!==ra.length&&(ka.extendedRange[1]=ra[qa].range[0]),0<=--qa&&(ka.extendedRange[0]=ra[qa].range[1]),ka}var R,Z,aa,xa,X,wa;return R={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",
ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",
ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",
ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",
MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",
TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},aa={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],
ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test",
"consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id",
"params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key",
"value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],
TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},Z={Break:xa={},Skip:X={},Remove:wa={}},O.prototype.replace=function(ka){this.parent[this.key]=ka},O.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)},L.prototype.path=
function(){function ka(S,ma){if(Array.isArray(ma))for(qa=0,va=ma.length;qa<va;++qa)S.push(ma[qa]);else S.push(ma)}var ra,qa,va;if(!this.__current.path)return null;var U=[];var pa=2;for(ra=this.__leavelist.length;pa<ra;++pa)ka(U,this.__leavelist[pa].path);return ka(U,this.__current.path),U},L.prototype.type=function(){return this.current().type||this.__current.wrap},L.prototype.parents=function(){var ka;var ra=[];var qa=1;for(ka=this.__leavelist.length;qa<ka;++qa)ra.push(this.__leavelist[qa].node);
return ra},L.prototype.current=function(){return this.__current.node},L.prototype.__execute=function(ka,ra){var qa,va;return va=void 0,qa=this.__current,this.__current=ra,this.__state=null,ka&&(va=ka.call(this,ra.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=qa,va},L.prototype.notify=function(ka){this.__state=ka},L.prototype.skip=function(){this.notify(X)},L.prototype.break=function(){this.notify(xa)},L.prototype.remove=function(){this.notify(wa)},L.prototype.__initialize=
function(ka,ra){this.visitor=ra;this.root=ka;this.__worklist=[];this.__leavelist=[];this.__fallback=this.__state=this.__current=null;"iteration"===ra.fallback?this.__fallback=Object.keys:"function"==typeof ra.fallback&&(this.__fallback=ra.fallback);this.__keys=aa;ra.keys&&(this.__keys=Object.assign(Object.create(this.__keys),ra.keys))},L.prototype.traverse=function(ka,ra){var qa,va,U,pa,S,ma,ya,Ga;this.__initialize(ka,ra);var Ha={};var ab=this.__worklist;var ea=this.__leavelist;ab.push(new N(ka,null,
null,null));for(ea.push(new N(null,null,null,null));ab.length;)if((ka=ab.pop())!==Ha){if(ka.node){if(U=this.__execute(ra.enter,ka),this.__state===xa||U===xa)break;if(ab.push(Ha),ea.push(ka),this.__state!==X&&U!==X){if(va=(qa=ka.node).type||ka.wrap,!(ya=this.__keys[va])){if(!this.__fallback)throw Error("Unknown node type "+va+".");ya=this.__fallback(qa)}for(S=ya.length;0<=--S;)if(Ga=qa[pa=ya[S]])if(Array.isArray(Ga))for(ma=Ga.length;0<=--ma;){if(Ga[ma]&&!y(ea,Ga[ma])){if(va!==R.ObjectExpression&&va!==
R.ObjectPattern||"properties"!==ya[S]){if(!x(Ga[ma]))continue;ka=new N(Ga[ma],[pa,ma],null,null)}else ka=new N(Ga[ma],[pa,ma],"Property",null);ab.push(ka)}}else x(Ga)&&!y(ea,Ga)&&ab.push(new N(Ga,pa,null,null))}}}else if(ka=ea.pop(),U=this.__execute(ra.leave,ka),this.__state===xa||U===xa)break},L.prototype.replace=function(ka,ra){function qa(W){var ia;if(W.ref.remove()){var na=W.ref.key;var ja=W.ref.parent;for(W=ea.length;W--;)if((ia=ea[W]).ref&&ia.ref.parent===ja){if(ia.ref.key<na)break;--ia.ref.key}}}
var va,U,pa,S,ma,ya,Ga,Ha;this.__initialize(ka,ra);var ab={};var ea=this.__worklist;var za=this.__leavelist;var Y=new N(ka,null,null,new O(Ga={root:ka},"root"));ea.push(Y);for(za.push(Y);ea.length;)if((Y=ea.pop())!==ab){if(void 0!==(U=this.__execute(ra.enter,Y))&&U!==xa&&U!==X&&U!==wa&&(Y.ref.replace(U),Y.node=U),this.__state!==wa&&U!==wa||(qa(Y),Y.node=null),this.__state===xa||U===xa)break;if((ka=Y.node)&&(ea.push(ab),za.push(Y),this.__state!==X&&U!==X)){if(va=ka.type||Y.wrap,!(ma=this.__keys[va])){if(!this.__fallback)throw Error("Unknown node type "+
va+".");ma=this.__fallback(ka)}for(pa=ma.length;0<=--pa;)if(ya=ka[Ha=ma[pa]])if(Array.isArray(ya))for(S=ya.length;0<=--S;){if(ya[S]){if(va!==R.ObjectExpression&&va!==R.ObjectPattern||"properties"!==ma[pa]){if(!x(ya[S]))continue;Y=new N(ya[S],[Ha,S],null,new O(ya,S))}else Y=new N(ya[S],[Ha,S],"Property",new O(ya,S));ea.push(Y)}}else x(ya)&&ea.push(new N(ya,Ha,null,new O(ka,Ha)))}}else if(Y=za.pop(),void 0!==(U=this.__execute(ra.leave,Y))&&U!==xa&&U!==X&&U!==wa&&Y.ref.replace(U),this.__state!==wa&&
U!==wa||qa(Y),this.__state===xa||U===xa)break;return Ga.root},J.Syntax=R,J.traverse=G,J.replace=function(ka,ra){return(new L).replace(ka,ra)},J.attachComments=function(ka,ra,qa){var va,U,pa=[];if(!ka.range)throw Error("attachComments needs range information");if(!qa.length){if(ra.length){var S=0;for(va=ra.length;S<va;S+=1)(qa=P(ra[S])).extendedRange=[0,ka.range[0]],pa.push(qa);ka.leadingComments=pa}return ka}S=0;for(va=ra.length;S<va;S+=1)pa.push(K(P(ra[S]),qa));return U=0,G(ka,{enter:function(ma){for(var ya;U<
pa.length&&!((ya=pa[U]).extendedRange[1]>ma.range[0]);)ya.extendedRange[1]===ma.range[0]?(ma.leadingComments||(ma.leadingComments=[]),ma.leadingComments.push(ya),pa.splice(U,1)):U+=1;return U===pa.length?Z.Break:pa[U].extendedRange[0]>ma.range[1]?Z.Skip:void 0}}),U=0,G(ka,{leave:function(ma){for(var ya;U<pa.length&&(ya=pa[U],!(ma.range[1]<ya.extendedRange[0]));)ma.range[1]===ya.extendedRange[0]?(ma.trailingComments||(ma.trailingComments=[]),ma.trailingComments.push(ya),pa.splice(U,1)):U+=1;return U===
pa.length?Z.Break:pa[U].extendedRange[0]>ma.range[1]?Z.Skip:void 0}}),ka},J.VisitorKeys=aa,J.VisitorOption=Z,J.Controller=L,J.cloneEnvironment=function(){return M({})},J}(B)}),F=l(function(C){C.exports&&(C.exports=function(){function B(I,J,M,P){this.message=I;this.expected=J;this.found=M;this.location=P;this.name="SyntaxError";"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,B)}return function(I,J){function M(){this.constructor=I}M.prototype=J.prototype;I.prototype=new M}(B,
Error),B.buildMessage=function(I,J){function M(L){return L.charCodeAt(0).toString(16).toUpperCase()}function P(L){return L.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(x){return"\\x0"+M(x)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(x){return"\\x"+M(x)})}function O(L){return L.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,
"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(x){return"\\x0"+M(x)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(x){return"\\x"+M(x)})}var N={literal:function(L){return'"'+P(L.text)+'"'},class:function(L){var x,y="";for(x=0;x<L.parts.length;x++)y+=L.parts[x]instanceof Array?O(L.parts[x][0])+"-"+O(L.parts[x][1]):O(L.parts[x]);return"["+(L.inverted?"^":"")+y+"]"},any:function(L){return"any character"},end:function(L){return"end of input"},other:function(L){return L.description}};
return"Expected "+function(L){var x,y,G=Array(L.length);for(x=0;x<L.length;x++)G[x]=(y=L[x],N[y.type](y));if(G.sort(),0<G.length){for(L=x=1;x<G.length;x++)G[x-1]!==G[x]&&(G[L]=G[x],L++);G.length=L}switch(G.length){case 1:return G[0];case 2:return G[0]+" or "+G[1];default:return G.slice(0,-1).join(", ")+", or "+G[G.length-1]}}(I)+" but "+(J?'"'+P(J)+'"':"end of input")+" found."},{SyntaxError:B,parse:function(I,J){function M(Fa,Wa){return{type:"literal",text:Fa,ignoreCase:Wa}}function P(Fa,Wa,Qa){return{type:"class",
parts:Fa,inverted:Wa,ignoreCase:Qa}}function O(Fa){var Wa,Qa=yb[Fa];if(Qa)return Qa;for(Wa=Fa-1;!yb[Wa];)Wa--;for(Qa={line:(Qa=yb[Wa]).line,column:Qa.column};Wa<Fa;)10===I.charCodeAt(Wa)?(Qa.line++,Qa.column=1):Qa.column++,Wa++;return yb[Fa]=Qa,Qa}function N(Fa,Wa){var Qa=O(Fa),Da=O(Wa);return{start:{offset:Fa,line:Qa.line,column:Qa.column},end:{offset:Wa,line:Da.line,column:Da.column}}}function L(Fa){fa<ub||(fa>ub&&(ub=fa,zb=[]),zb.push(Fa))}function x(){var Fa,Wa,Qa,Da,Na=30*fa,Ra=Ya[Na];return Ra?
(fa=Ra.nextPos,Ra.result):(Fa=fa,y()!==U&&(Qa=R())!==U&&y()!==U?Fa=1===(Da=Qa).length?Da[0]:{type:"matches",selectors:Da}:(fa=Fa,Fa=U),Fa===U&&((Wa=y())!==U&&(Wa=void 0),Fa=Wa),Ya[Na]={nextPos:fa,result:Fa},Fa)}function y(){var Fa,Wa,Qa=30*fa+1;if(Fa=Ya[Qa])return fa=Fa.nextPos,Fa.result;Fa=[];for(32===I.charCodeAt(fa)?(Wa=" ",fa++):(Wa=U,L(ma));Wa!==U;)Fa.push(Wa),32===I.charCodeAt(fa)?(Wa=" ",fa++):(Wa=U,L(ma));return Ya[Qa]={nextPos:fa,result:Fa},Fa}function G(){var Fa,Wa,Qa,Da=30*fa+2;if(Wa=Ya[Da])return fa=
Wa.nextPos,Wa.result;if(Wa=[],ya.test(I.charAt(fa))?(Qa=I.charAt(fa),fa++):(Qa=U,L(Ga)),Qa!==U)for(;Qa!==U;)Wa.push(Qa),ya.test(I.charAt(fa))?(Qa=I.charAt(fa),fa++):(Qa=U,L(Ga));else Wa=U;return Wa!==U&&(Wa=Wa.join("")),Fa=Wa,Ya[Da]={nextPos:fa,result:Fa},Fa}function K(){var Fa,Wa,Qa,Da=30*fa+3,Na=Ya[Da];return Na?(fa=Na.nextPos,Na.result):(Fa=fa,y()!==U?(62===I.charCodeAt(fa)?(Qa=">",fa++):(Qa=U,L(Ha)),Qa!==U&&y()!==U?Fa="child":(fa=Fa,Fa=U)):(fa=Fa,Fa=U),Fa===U&&(Fa=fa,y()!==U?(126===I.charCodeAt(fa)?
(Qa="~",fa++):(Qa=U,L(ab)),Qa!==U&&y()!==U?Fa="sibling":(fa=Fa,Fa=U)):(fa=Fa,Fa=U),Fa===U&&(Fa=fa,y()!==U?(43===I.charCodeAt(fa)?(Qa="+",fa++):(Qa=U,L(ea)),Qa!==U&&y()!==U?Fa="adjacent":(fa=Fa,Fa=U)):(fa=Fa,Fa=U),Fa===U&&(Fa=fa,32===I.charCodeAt(fa)?(Wa=" ",fa++):(Wa=U,L(ma)),Wa!==U&&y()!==U?Fa="descendant":(fa=Fa,Fa=U)))),Ya[Da]={nextPos:fa,result:Fa},Fa)}function R(){var Fa,Wa,Qa,Da,Na,Ra,Oa=30*fa+4;if(Fa=Ya[Oa])return fa=Fa.nextPos,Fa.result;if(Fa=fa,(Wa=Z())!==U){var bb=[];var db=fa;for((Qa=y())!==
U?(44===I.charCodeAt(fa)?(Da=",",fa++):(Da=U,L(za)),Da!==U&&(Na=y())!==U&&(Ra=Z())!==U?db=Qa=[Qa,Da,Na,Ra]:(fa=db,db=U)):(fa=db,db=U);db!==U;)bb.push(db),db=fa,(Qa=y())!==U?(44===I.charCodeAt(fa)?(Da=",",fa++):(Da=U,L(za)),Da!==U&&(Na=y())!==U&&(Ra=Z())!==U?db=Qa=[Qa,Da,Na,Ra]:(fa=db,db=U)):(fa=db,db=U);bb!==U?Fa=Wa=[Wa].concat(bb.map(function(ib){return ib[3]})):(fa=Fa,Fa=U)}else fa=Fa,Fa=U;return Ya[Oa]={nextPos:fa,result:Fa},Fa}function Z(){var Fa,Wa,Qa,Da,Na,Ra=30*fa+5;if(Fa=Ya[Ra])return fa=
Fa.nextPos,Fa.result;if(Fa=fa,(Wa=aa())!==U){var Oa=[];var bb=fa;for((Qa=K())!==U&&(Da=aa())!==U?bb=Qa=[Qa,Da]:(fa=bb,bb=U);bb!==U;)Oa.push(bb),bb=fa,(Qa=K())!==U&&(Da=aa())!==U?bb=Qa=[Qa,Da]:(fa=bb,bb=U);Oa!==U?(Na=Wa,Fa=Wa=Oa.reduce(function(db,ib){return{type:ib[0],left:db,right:ib[1]}},Na)):(fa=Fa,Fa=U)}else fa=Fa,Fa=U;return Ya[Ra]={nextPos:fa,result:Fa},Fa}function aa(){var Fa,Wa,Qa,Da,Na,Ra,Oa,bb=30*fa+6;if(Fa=Ya[bb])return fa=Fa.nextPos,Fa.result;if(Fa=fa,33===I.charCodeAt(fa)?(Wa="!",fa++):
(Wa=U,L(Y)),Wa===U&&(Wa=null),Wa!==U){if(Qa=[],(Da=xa())!==U)for(;Da!==U;)Qa.push(Da),Da=xa();else Qa=U;Qa!==U?(Na=Wa,Oa=1===(Ra=Qa).length?Ra[0]:{type:"compound",selectors:Ra},Na&&(Oa.subject=!0),Fa=Oa):(fa=Fa,Fa=U)}else fa=Fa,Fa=U;return Ya[bb]={nextPos:fa,result:Fa},Fa}function xa(){var Fa,Wa=30*fa+7,Qa=Ya[Wa];return Qa?(fa=Qa.nextPos,Qa.result):((Fa=function(){var Da,Na,Ra=30*fa+8,Oa=Ya[Ra];return Oa?(fa=Oa.nextPos,Oa.result):(42===I.charCodeAt(fa)?(Na="*",fa++):(Na=U,L(W)),Na!==U&&(Na={type:"wildcard",
value:Na}),Da=Na,Ya[Ra]={nextPos:fa,result:Da},Da)}())===U&&(Fa=function(){var Da,Na,Ra,Oa=30*fa+9,bb=Ya[Oa];return bb?(fa=bb.nextPos,bb.result):(Da=fa,35===I.charCodeAt(fa)?(Na="#",fa++):(Na=U,L(ia)),Na===U&&(Na=null),Na!==U&&(Ra=G())!==U?Da={type:"identifier",value:Ra}:(fa=Da,Da=U),Ya[Oa]={nextPos:fa,result:Da},Da)}())===U&&(Fa=function(){var Da,Na,Ra,Oa,bb=30*fa+10,db=Ya[bb];return db?(fa=db.nextPos,db.result):(Da=fa,91===I.charCodeAt(fa)?(Na="[",fa++):(Na=U,L(na)),Na!==U&&y()!==U&&(Ra=function(){var ib,
jb,xb,qb,Cb=30*fa+14,Ab=Ya[Cb];return Ab?(fa=Ab.nextPos,Ab.result):(ib=fa,(jb=X())!==U&&y()!==U&&(xb=function(){var La,Xa,Ta,$a=30*fa+12,eb=Ya[$a];return eb?(fa=eb.nextPos,eb.result):(La=fa,33===I.charCodeAt(fa)?(Xa="!",fa++):(Xa=U,L(Y)),Xa===U&&(Xa=null),Xa!==U?(61===I.charCodeAt(fa)?(Ta="=",fa++):(Ta=U,L(oa)),Ta!==U?(Xa=(Xa||"")+"=",La=Xa):(fa=La,La=U)):(fa=La,La=U),Ya[$a]={nextPos:fa,result:La},La)}())!==U&&y()!==U?((qb=function(){var La,Xa,Ta,$a,eb,sb=30*fa+18;if(La=Ya[sb])return fa=La.nextPos,
La.result;if(La=fa,"type("===I.substr(fa,5)?(Xa="type(",fa+=5):(Xa=U,L(Sa)),Xa!==U)if(y()!==U){if(Ta=[],Va.test(I.charAt(fa))?($a=I.charAt(fa),fa++):($a=U,L(cb)),$a!==U)for(;$a!==U;)Ta.push($a),Va.test(I.charAt(fa))?($a=I.charAt(fa),fa++):($a=U,L(cb));else Ta=U;Ta!==U&&y()!==U?(41===I.charCodeAt(fa)?(eb=")",fa++):(eb=U,L(gb)),eb!==U?(Xa={type:"type",value:Ta.join("")},La=Xa):(fa=La,La=U)):(fa=La,La=U)}else fa=La,La=U;else fa=La,La=U;return Ya[sb]={nextPos:fa,result:La},La}())===U&&(qb=function(){var La,
Xa,Ta,$a,eb,sb=30*fa+20;if(La=Ya[sb])return fa=La.nextPos,La.result;if(La=fa,47===I.charCodeAt(fa)?(Xa="/",fa++):(Xa=U,L(mb)),Xa!==U){if(Ta=[],tb.test(I.charAt(fa))?($a=I.charAt(fa),fa++):($a=U,L(sa)),$a!==U)for(;$a!==U;)Ta.push($a),tb.test(I.charAt(fa))?($a=I.charAt(fa),fa++):($a=U,L(sa));else Ta=U;if(Ta!==U)if(47===I.charCodeAt(fa)?($a="/",fa++):($a=U,L(mb)),$a!==U){var hb;$a=30*fa+19;if(hb=Ya[$a])var kb=(fa=hb.nextPos,hb.result);else{if(hb=[],lb.test(I.charAt(fa))?(kb=I.charAt(fa),fa++):(kb=U,
L(ob)),kb!==U)for(;kb!==U;)hb.push(kb),lb.test(I.charAt(fa))?(kb=I.charAt(fa),fa++):(kb=U,L(ob));else hb=U;kb=(Ya[$a]={nextPos:fa,result:hb},hb)}kb===U&&(kb=null);kb!==U?(eb=kb,Xa={type:"regexp",value:new RegExp(Ta.join(""),eb?eb.join(""):"")},La=Xa):(fa=La,La=U)}else fa=La,La=U;else fa=La,La=U}else fa=La,La=U;return Ya[sb]={nextPos:fa,result:La},La}()),qb!==U?(jb={type:"attribute",name:jb,operator:xb,value:qb},ib=jb):(fa=ib,ib=U)):(fa=ib,ib=U),ib===U&&(ib=fa,(jb=X())!==U&&y()!==U&&(xb=function(){var La,
Xa,Ta,$a=30*fa+11,eb=Ya[$a];return eb?(fa=eb.nextPos,eb.result):(La=fa,T.test(I.charAt(fa))?(Xa=I.charAt(fa),fa++):(Xa=U,L(da)),Xa===U&&(Xa=null),Xa!==U?(61===I.charCodeAt(fa)?(Ta="=",fa++):(Ta=U,L(oa)),Ta!==U?(Xa=(Xa||"")+"=",La=Xa):(fa=La,La=U)):(fa=La,La=U),La===U&&(V.test(I.charAt(fa))?(La=I.charAt(fa),fa++):(La=U,L(ha))),Ya[$a]={nextPos:fa,result:La},La)}())!==U&&y()!==U?((qb=function(){var La,Xa,Ta,$a,eb,sb=30*fa+15;if(La=Ya[sb])return fa=La.nextPos,La.result;if(La=fa,34===I.charCodeAt(fa)?
(Xa='"',fa++):(Xa=U,L(ua)),Xa!==U){var hb=[];ba.test(I.charAt(fa))?(Ta=I.charAt(fa),fa++):(Ta=U,L(w));for(Ta===U&&(Ta=fa,92===I.charCodeAt(fa)?($a="\\",fa++):($a=U,L(H)),$a!==U?(I.length>fa?(eb=I.charAt(fa),fa++):(eb=U,L(Q)),eb!==U?($a+=eb,Ta=$a):(fa=Ta,Ta=U)):(fa=Ta,Ta=U));Ta!==U;)hb.push(Ta),ba.test(I.charAt(fa))?(Ta=I.charAt(fa),fa++):(Ta=U,L(w)),Ta===U&&(Ta=fa,92===I.charCodeAt(fa)?($a="\\",fa++):($a=U,L(H)),$a!==U?(I.length>fa?(eb=I.charAt(fa),fa++):(eb=U,L(Q)),eb!==U?($a+=eb,Ta=$a):(fa=Ta,Ta=
U)):(fa=Ta,Ta=U));hb!==U?(34===I.charCodeAt(fa)?(Ta='"',fa++):(Ta=U,L(ua)),Ta!==U?(Xa=ca(hb),La=Xa):(fa=La,La=U)):(fa=La,La=U)}else fa=La,La=U;if(La===U)if(La=fa,39===I.charCodeAt(fa)?(Xa="'",fa++):(Xa=U,L(ta)),Xa!==U){hb=[];Ca.test(I.charAt(fa))?(Ta=I.charAt(fa),fa++):(Ta=U,L(Ba));for(Ta===U&&(Ta=fa,92===I.charCodeAt(fa)?($a="\\",fa++):($a=U,L(H)),$a!==U?(I.length>fa?(eb=I.charAt(fa),fa++):(eb=U,L(Q)),eb!==U?($a+=eb,Ta=$a):(fa=Ta,Ta=U)):(fa=Ta,Ta=U));Ta!==U;)hb.push(Ta),Ca.test(I.charAt(fa))?(Ta=
I.charAt(fa),fa++):(Ta=U,L(Ba)),Ta===U&&(Ta=fa,92===I.charCodeAt(fa)?($a="\\",fa++):($a=U,L(H)),$a!==U?(I.length>fa?(eb=I.charAt(fa),fa++):(eb=U,L(Q)),eb!==U?($a+=eb,Ta=$a):(fa=Ta,Ta=U)):(fa=Ta,Ta=U));hb!==U?(39===I.charCodeAt(fa)?(Ta="'",fa++):(Ta=U,L(ta)),Ta!==U?(Xa=ca(hb),La=Xa):(fa=La,La=U)):(fa=La,La=U)}else fa=La,La=U;return Ya[sb]={nextPos:fa,result:La},La}())===U&&(qb=function(){var La,Xa,Ta,$a,eb,sb=30*fa+16;if(La=Ya[sb])return fa=La.nextPos,La.result;var hb=La=fa;var kb=[];for(Ea.test(I.charAt(fa))?
(Xa=I.charAt(fa),fa++):(Xa=U,L(Ua));Xa!==U;)kb.push(Xa),Ea.test(I.charAt(fa))?(Xa=I.charAt(fa),fa++):(Xa=U,L(Ua));if(kb!==U?(46===I.charCodeAt(fa)?(Xa=".",fa++):(Xa=U,L(la)),Xa!==U?hb=[kb,Xa]:(fa=hb,hb=U)):(fa=hb,hb=U),hb===U&&(hb=null),hb!==U){if(kb=[],Ea.test(I.charAt(fa))?(Xa=I.charAt(fa),fa++):(Xa=U,L(Ua)),Xa!==U)for(;Xa!==U;)kb.push(Xa),Ea.test(I.charAt(fa))?(Xa=I.charAt(fa),fa++):(Xa=U,L(Ua));else kb=U;kb!==U?($a=kb,eb=(Ta=hb)?[].concat.apply([],Ta).join(""):"",hb={type:"literal",value:parseFloat(eb+
$a.join(""))},La=hb):(fa=La,La=U)}else fa=La,La=U;return Ya[sb]={nextPos:fa,result:La},La}())===U&&(qb=function(){var La,Xa,Ta=30*fa+17,$a=Ya[Ta];return $a?(fa=$a.nextPos,$a.result):((Xa=G())!==U&&(Xa={type:"literal",value:Xa}),La=Xa,Ya[Ta]={nextPos:fa,result:La},La)}()),qb!==U?(jb={type:"attribute",name:jb,operator:xb,value:qb},ib=jb):(fa=ib,ib=U)):(fa=ib,ib=U),ib===U&&(ib=fa,(jb=X())!==U&&(jb={type:"attribute",name:jb}),ib=jb)),Ya[Cb]={nextPos:fa,result:ib},ib)}())!==U&&y()!==U?(93===I.charCodeAt(fa)?
(Oa="]",fa++):(Oa=U,L(ja)),Oa!==U?Da=Na=Ra:(fa=Da,Da=U)):(fa=Da,Da=U),Ya[bb]={nextPos:fa,result:Da},Da)}())===U&&(Fa=function(){var Da,Na,Ra,Oa,bb,db=30*fa+21;if(Da=Ya[db])return fa=Da.nextPos,Da.result;if(Da=fa,46===I.charCodeAt(fa)?(Na=".",fa++):(Na=U,L(la)),Na!==U)if((Ra=G())!==U){var ib=[];var jb=fa;46===I.charCodeAt(fa)?(Oa=".",fa++):(Oa=U,L(la));for(Oa!==U&&(bb=G())!==U?jb=Oa=[Oa,bb]:(fa=jb,jb=U);jb!==U;)ib.push(jb),jb=fa,46===I.charCodeAt(fa)?(Oa=".",fa++):(Oa=U,L(la)),Oa!==U&&(bb=G())!==U?
jb=Oa=[Oa,bb]:(fa=jb,jb=U);ib!==U?(Na={type:"field",name:ib.reduce(function(xb,qb){return xb+qb[0]+qb[1]},Ra)},Da=Na):(fa=Da,Da=U)}else fa=Da,Da=U;else fa=Da,Da=U;return Ya[db]={nextPos:fa,result:Da},Da}())===U&&(Fa=function(){var Da,Na,Ra,Oa,bb=30*fa+22,db=Ya[bb];return db?(fa=db.nextPos,db.result):(Da=fa,":not("===I.substr(fa,5)?(Na=":not(",fa+=5):(Na=U,L(Aa)),Na!==U&&y()!==U&&(Ra=R())!==U&&y()!==U?(41===I.charCodeAt(fa)?(Oa=")",fa++):(Oa=U,L(gb)),Oa!==U?Da={type:"not",selectors:Ra}:(fa=Da,Da=U)):
(fa=Da,Da=U),Ya[bb]={nextPos:fa,result:Da},Da)}())===U&&(Fa=function(){var Da,Na,Ra,Oa,bb=30*fa+23,db=Ya[bb];return db?(fa=db.nextPos,db.result):(Da=fa,":matches("===I.substr(fa,9)?(Na=":matches(",fa+=9):(Na=U,L(Ja)),Na!==U&&y()!==U&&(Ra=R())!==U&&y()!==U?(41===I.charCodeAt(fa)?(Oa=")",fa++):(Oa=U,L(gb)),Oa!==U?Da={type:"matches",selectors:Ra}:(fa=Da,Da=U)):(fa=Da,Da=U),Ya[bb]={nextPos:fa,result:Da},Da)}())===U&&(Fa=function(){var Da,Na,Ra,Oa,bb=30*fa+24,db=Ya[bb];return db?(fa=db.nextPos,db.result):
(Da=fa,":has("===I.substr(fa,5)?(Na=":has(",fa+=5):(Na=U,L(Ka)),Na!==U&&y()!==U&&(Ra=R())!==U&&y()!==U?(41===I.charCodeAt(fa)?(Oa=")",fa++):(Oa=U,L(gb)),Oa!==U?Da={type:"has",selectors:Ra}:(fa=Da,Da=U)):(fa=Da,Da=U),Ya[bb]={nextPos:fa,result:Da},Da)}())===U&&(Fa=function(){var Da,Na,Ra=30*fa+25,Oa=Ya[Ra];return Oa?(fa=Oa.nextPos,Oa.result):(":first-child"===I.substr(fa,12)?(Na=":first-child",fa+=12):(Na=U,L(Ma)),Na!==U&&(Na=wa(1)),Da=Na,Ya[Ra]={nextPos:fa,result:Da},Da)}())===U&&(Fa=function(){var Da,
Na,Ra=30*fa+26,Oa=Ya[Ra];return Oa?(fa=Oa.nextPos,Oa.result):(":last-child"===I.substr(fa,11)?(Na=":last-child",fa+=11):(Na=U,L(Za)),Na!==U&&(Na=ka(1)),Da=Na,Ya[Ra]={nextPos:fa,result:Da},Da)}())===U&&(Fa=function(){var Da,Na,Ra,Oa,bb,db=30*fa+27;if(Da=Ya[db])return fa=Da.nextPos,Da.result;if(Da=fa,":nth-child("===I.substr(fa,11)?(Na=":nth-child(",fa+=11):(Na=U,L(Pa)),Na!==U)if(y()!==U){if(Ra=[],Ea.test(I.charAt(fa))?(Oa=I.charAt(fa),fa++):(Oa=U,L(Ua)),Oa!==U)for(;Oa!==U;)Ra.push(Oa),Ea.test(I.charAt(fa))?
(Oa=I.charAt(fa),fa++):(Oa=U,L(Ua));else Ra=U;Ra!==U&&y()!==U?(41===I.charCodeAt(fa)?(bb=")",fa++):(bb=U,L(gb)),bb!==U?(Na=wa(parseInt(Ra.join(""),10)),Da=Na):(fa=Da,Da=U)):(fa=Da,Da=U)}else fa=Da,Da=U;else fa=Da,Da=U;return Ya[db]={nextPos:fa,result:Da},Da}())===U&&(Fa=function(){var Da,Na,Ra,Oa,bb,db=30*fa+28;if(Da=Ya[db])return fa=Da.nextPos,Da.result;if(Da=fa,":nth-last-child("===I.substr(fa,16)?(Na=":nth-last-child(",fa+=16):(Na=U,L(fb)),Na!==U)if(y()!==U){if(Ra=[],Ea.test(I.charAt(fa))?(Oa=
I.charAt(fa),fa++):(Oa=U,L(Ua)),Oa!==U)for(;Oa!==U;)Ra.push(Oa),Ea.test(I.charAt(fa))?(Oa=I.charAt(fa),fa++):(Oa=U,L(Ua));else Ra=U;Ra!==U&&y()!==U?(41===I.charCodeAt(fa)?(bb=")",fa++):(bb=U,L(gb)),bb!==U?(Na=ka(parseInt(Ra.join(""),10)),Da=Na):(fa=Da,Da=U)):(fa=Da,Da=U)}else fa=Da,Da=U;else fa=Da,Da=U;return Ya[db]={nextPos:fa,result:Da},Da}())===U&&(Fa=function(){var Da,Na,Ra,Oa=30*fa+29,bb=Ya[Oa];return bb?(fa=bb.nextPos,bb.result):(Da=fa,58===I.charCodeAt(fa)?(Na=":",fa++):(Na=U,L(rb)),Na!==U?
("statement"===I.substr(fa,9).toLowerCase()?(Ra=I.substr(fa,9),fa+=9):(Ra=U,L(nb)),Ra===U&&("expression"===I.substr(fa,10).toLowerCase()?(Ra=I.substr(fa,10),fa+=10):(Ra=U,L(Ia)),Ra===U&&("declaration"===I.substr(fa,11).toLowerCase()?(Ra=I.substr(fa,11),fa+=11):(Ra=U,L(pb)),Ra===U&&("function"===I.substr(fa,8).toLowerCase()?(Ra=I.substr(fa,8),fa+=8):(Ra=U,L(Db)),Ra===U&&("pattern"===I.substr(fa,7).toLowerCase()?(Ra=I.substr(fa,7),fa+=7):(Ra=U,L(Eb)))))),Ra!==U?Da={type:"class",name:Ra}:(fa=Da,Da=U)):
(fa=Da,Da=U),Ya[Oa]={nextPos:fa,result:Da},Da)}()),Ya[Wa]={nextPos:fa,result:Fa},Fa)}function X(){var Fa,Wa,Qa,Da,Na=30*fa+13;if(Fa=Ya[Na])return fa=Fa.nextPos,Fa.result;if(Fa=fa,(Wa=G())!==U){var Ra=[];var Oa=fa;46===I.charCodeAt(fa)?(Qa=".",fa++):(Qa=U,L(la));for(Qa!==U&&(Da=G())!==U?Oa=Qa=[Qa,Da]:(fa=Oa,Oa=U);Oa!==U;)Ra.push(Oa),Oa=fa,46===I.charCodeAt(fa)?(Qa=".",fa++):(Qa=U,L(la)),Qa!==U&&(Da=G())!==U?Oa=Qa=[Qa,Da]:(fa=Oa,Oa=U);Ra!==U?Fa=[].concat.apply([Wa],Ra).join(""):(fa=Fa,Fa=U)}else fa=
Fa,Fa=U;return Ya[Na]={nextPos:fa,result:Fa},Fa}function wa(Fa){return{type:"nth-child",index:{type:"literal",value:Fa}}}function ka(Fa){return{type:"nth-last-child",index:{type:"literal",value:Fa}}}J=void 0!==J?J:{};var ra,qa,va,U={},pa={start:x},S=x,ma=M(" ",!1),ya=/^[^ [\],():#!=><~+.]/,Ga=P(" [],():#!=><~+.".split(""),!0,!1),Ha=M(">",!1),ab=M("~",!1),ea=M("+",!1),za=M(",",!1),Y=M("!",!1),W=M("*",!1),ia=M("#",!1),na=M("[",!1),ja=M("]",!1),T=/^[><!]/,da=P([">","<","!"],!1,!1),oa=M("=",!1),V=/^[><]/,
ha=P([">","<"],!1,!1),la=M(".",!1),ua=M('"',!1),ba=/^[^\\"]/,w=P(["\\",'"'],!0,!1),H=M("\\",!1),Q={type:"any"},ca=function(Fa){return{type:"literal",value:(Wa=Fa.join(""),Wa.replace(/\\(.)/g,function(Qa,Da){switch(Da){case "b":return"\b";case "f":return"\f";case "n":return"\n";case "r":return"\r";case "t":return"\t";case "v":return"\v";default:return Da}}))};var Wa},ta=M("'",!1),Ca=/^[^\\']/,Ba=P(["\\","'"],!0,!1),Ea=/^[0-9]/,Ua=P([["0","9"]],!1,!1),Sa=M("type(",!1),Va=/^[^ )]/,cb=P([" ",")"],!0,
!1),gb=M(")",!1),lb=/^[imsu]/,ob=P(["i","m","s","u"],!1,!1),mb=M("/",!1),tb=/^[^\/]/,sa=P(["/"],!0,!1),Aa=M(":not(",!1),Ja=M(":matches(",!1),Ka=M(":has(",!1),Ma=M(":first-child",!1),Za=M(":last-child",!1),Pa=M(":nth-child(",!1),fb=M(":nth-last-child(",!1),rb=M(":",!1),nb=M("statement",!0),Ia=M("expression",!0),pb=M("declaration",!0),Db=M("function",!0),Eb=M("pattern",!0),fa=0,yb=[{line:1,column:1}],ub=0,zb=[],Ya={};if("startRule"in J){if(!(J.startRule in pa))throw Error("Can't start parsing from rule \""+
J.startRule+'".');S=pa[J.startRule]}if((J=S())!==U&&fa===I.length)return J;throw J!==U&&fa<I.length&&L({type:"end"}),ra=zb,qa=ub<I.length?I.charAt(ub):null,va=ub<I.length?N(ub,ub+1):N(ub,ub),new B(B.buildMessage(ra,qa),ra,qa,va);}}}())});return A.parse=E,A.match=z,A.traverse=v,A.matches=g,A.query=A,A})},(u,c,a)=>{function b(...n){return 1===n.length?Object.assign({},n[0]):"string"===typeof n[1]?{node:n[0],message:n[1],data:n[2],fix:n[3]}:{node:n[0],loc:n[1],message:n[2],data:n[3],fix:n[4]}}function d(n){n&&
l(n.range&&"number"===typeof n.range[0]&&"number"===typeof n.range[1],"Fix has invalid range: ".concat(JSON.stringify(n,null,2)))}function m(n,e){return n.range[0]-e.range[0]||n.range[1]-e.range[1]}function h(n,e){if("function"!==typeof n.fix)return null;if((n=n.fix(g))&&Symbol.iterator in n){n=Array.from(n);for(var q of n)d(q);if(0===n.length)var t=null;else if(1===n.length)t=n[0];else{n.sort(m);e=e.text;q=n[0].range[0];var r=n[n.length-1].range[1],v="",z=Number.MIN_SAFE_INTEGER;for(t of n)l(t.range[0]>=
z,"Fix objects must not be overlapped in a report."),0<=t.range[0]&&(v+=e.slice(Math.max(0,q,z),t.range[0])),v+=t.text,z=t.range[1];v+=e.slice(Math.max(0,q,z),r);t={range:[q,r],text:v}}return t}d(n);return n}function k(n,e,q){return n.suggest&&Array.isArray(n.suggest)?n.suggest.map(t=>({...t,desc:f(t.desc||q[t.messageId],t.data),fix:h(t,e)})).filter(({fix:t})=>t):[]}function p(n,e){n&&Array.isArray(n)&&n.forEach(q=>{if(q.messageId){const {messageId:t}=q;if(!e)throw new TypeError("context.report() called with a suggest option with a messageId '".concat(t,
"', but no messages were present in the rule metadata."));if(!e[t])throw new TypeError("context.report() called with a suggest option with a messageId '".concat(t,"' which is not present in the 'messages' config: ").concat(JSON.stringify(e,null,2)));if(q.desc)throw new TypeError("context.report() called with a suggest option that defines both a 'messageId' and an 'desc'. Please only pass one.");}else if(!q.desc)throw new TypeError("context.report() called with a suggest option that doesn't have either a `desc` or `messageId`");
if("function"!==typeof q.fix)throw new TypeError("context.report() called with a suggest option without a fix function. See: ".concat(q));})}const l=a(420),g=a(565),f=a(566);u.exports=function(n){return(...e)=>{e=b(...e);var q=n.messageIds;e.node?l("object"===typeof e.node,"Node must be an object"):l(e.loc,"Node must be provided when reporting error if location is not provided");if(e.messageId){if(!q)throw new TypeError("context.report() called with a messageId, but no messages were present in the rule metadata.");
var t=e.messageId;if(e.message)throw new TypeError("context.report() called with a message and a messageId. Please only pass one.");if(!q||!Object.prototype.hasOwnProperty.call(q,t))throw new TypeError("context.report() called with a messageId of '".concat(t,"' which is not present in the 'messages' config: ").concat(JSON.stringify(q,null,2)));var r=q[t]}else if(e.message)r=e.message;else throw new TypeError("Missing `message` property in report() call; add a message that describes the linting problem.");
p(e.suggest,q);t=n.ruleId;var v=n.severity,z=e.node,E=f(r,e.data);r=e.messageId;var A=e.loc?e.loc.start?e.loc:{start:e.loc,end:null}:e.node.loc;var D=n.disableFixes?null:h(e,n.sourceCode);e=n.disableFixes?[]:k(e,n.sourceCode,q);q={ruleId:t,severity:v,message:E,line:A.start.line,column:A.start.column+1,nodeType:z&&z.type||null};r&&(q.messageId=r);A.end&&(q.endLine=A.end.line,q.endColumn=A.end.column+1);D&&(q.fix=D);e&&0<e.length&&(q.suggestions=e);return e=q}}},u=>{function c(b,d){return{range:[b,
b],text:d}}const a=Object.freeze({insertTextAfter(b,d){return this.insertTextAfterRange(b.range,d)},insertTextAfterRange(b,d){return c(b[1],d)},insertTextBefore(b,d){return this.insertTextBeforeRange(b.range,d)},insertTextBeforeRange(b,d){return c(b[0],d)},replaceText(b,d){return this.replaceTextRange(b.range,d)},replaceTextRange(b,d){return{range:b,text:d}},remove(b){return this.removeRange(b.range)},removeRange(b){return{range:b,text:""}}});u.exports=a},u=>{u.exports=(c,a)=>a?c.replace(/\{\{([^{}]+?)\}\}/gu,
(b,d)=>{d=d.trim();return d in a?a[d]:b}):c},(u,c,a)=>{const b=a(568);class d{constructor(){this._rules=Object.create(null)}define(m,h){var k=this._rules;h="function"===typeof h?Object.assign({create:h},h):h;k[m]=h}get(m){"string"===typeof this._rules[m]&&this.define(m,a(876)(this._rules[m]));return this._rules[m]?this._rules[m]:b.has(m)?b.get(m):null}*[Symbol.iterator](){yield*b;for(const m of Object.keys(this._rules))yield[m,this.get(m)]}}u.exports=d},(u,c,a)=>{({LazyLoadingRuleMap:c}=a(569));u.exports=
new c(Object.entries({"accessor-pairs":()=>a(570),"array-bracket-newline":()=>a(576),"array-bracket-spacing":()=>a(577),"array-callback-return":()=>a(578),"array-element-newline":()=>a(579),"arrow-body-style":()=>a(580),"arrow-parens":()=>a(581),"arrow-spacing":()=>a(582),"block-scoped-var":()=>a(583),"block-spacing":()=>a(584),"brace-style":()=>a(585),"callback-return":()=>a(586),camelcase:()=>a(587),"capitalized-comments":()=>a(588),"class-methods-use-this":()=>a(590),"comma-dangle":()=>a(591),
"comma-spacing":()=>a(592),"comma-style":()=>a(593),complexity:()=>a(594),"computed-property-spacing":()=>a(596),"consistent-return":()=>a(597),"consistent-this":()=>a(598),"constructor-super":()=>a(599),curly:()=>a(600),"default-case":()=>a(601),"default-case-last":()=>a(602),"default-param-last":()=>a(603),"dot-location":()=>a(604),"dot-notation":()=>a(605),"eol-last":()=>a(607),eqeqeq:()=>a(608),"for-direction":()=>a(609),"func-call-spacing":()=>a(610),"func-name-matching":()=>a(611),"func-names":()=>
a(612),"func-style":()=>a(613),"function-call-argument-newline":()=>a(614),"function-paren-newline":()=>a(615),"generator-star-spacing":()=>a(616),"getter-return":()=>a(617),"global-require":()=>a(618),"grouped-accessor-pairs":()=>a(619),"guard-for-in":()=>a(620),"handle-callback-err":()=>a(621),"id-blacklist":()=>a(622),"id-denylist":()=>a(623),"id-length":()=>a(624),"id-match":()=>a(625),"implicit-arrow-linebreak":()=>a(626),indent:()=>a(627),"indent-legacy":()=>a(629),"init-declarations":()=>a(630),
"jsx-quotes":()=>a(631),"key-spacing":()=>a(632),"keyword-spacing":()=>a(633),"line-comment-position":()=>a(634),"linebreak-style":()=>a(635),"lines-around-comment":()=>a(636),"lines-around-directive":()=>a(637),"lines-between-class-members":()=>a(638),"max-classes-per-file":()=>a(639),"max-depth":()=>a(640),"max-len":()=>a(641),"max-lines":()=>a(642),"max-lines-per-function":()=>a(643),"max-nested-callbacks":()=>a(644),"max-params":()=>a(645),"max-statements":()=>a(646),"max-statements-per-line":()=>
a(647),"multiline-comment-style":()=>a(648),"multiline-ternary":()=>a(649),"new-cap":()=>a(650),"new-parens":()=>a(651),"newline-after-var":()=>a(652),"newline-before-return":()=>a(653),"newline-per-chained-call":()=>a(654),"no-alert":()=>a(655),"no-array-constructor":()=>a(656),"no-async-promise-executor":()=>a(657),"no-await-in-loop":()=>a(658),"no-bitwise":()=>a(659),"no-buffer-constructor":()=>a(660),"no-caller":()=>a(661),"no-case-declarations":()=>a(662),"no-catch-shadow":()=>a(663),"no-class-assign":()=>
a(664),"no-compare-neg-zero":()=>a(665),"no-cond-assign":()=>a(666),"no-confusing-arrow":()=>a(667),"no-console":()=>a(668),"no-const-assign":()=>a(669),"no-constant-condition":()=>a(670),"no-constructor-return":()=>a(671),"no-continue":()=>a(672),"no-control-regex":()=>a(673),"no-debugger":()=>a(675),"no-delete-var":()=>a(676),"no-div-regex":()=>a(677),"no-dupe-args":()=>a(678),"no-dupe-class-members":()=>a(679),"no-dupe-else-if":()=>a(680),"no-dupe-keys":()=>a(681),"no-duplicate-case":()=>a(682),
"no-duplicate-imports":()=>a(683),"no-else-return":()=>a(684),"no-empty":()=>a(686),"no-empty-character-class":()=>a(687),"no-empty-function":()=>a(688),"no-empty-pattern":()=>a(689),"no-eq-null":()=>a(690),"no-eval":()=>a(691),"no-ex-assign":()=>a(692),"no-extend-native":()=>a(693),"no-extra-bind":()=>a(694),"no-extra-boolean-cast":()=>a(695),"no-extra-label":()=>a(696),"no-extra-parens":()=>a(697),"no-extra-semi":()=>a(698),"no-fallthrough":()=>a(699),"no-floating-decimal":()=>a(700),"no-func-assign":()=>
a(701),"no-global-assign":()=>a(702),"no-implicit-coercion":()=>a(703),"no-implicit-globals":()=>a(704),"no-implied-eval":()=>a(705),"no-import-assign":()=>a(706),"no-inline-comments":()=>a(707),"no-inner-declarations":()=>a(708),"no-invalid-regexp":()=>a(709),"no-invalid-this":()=>a(710),"no-irregular-whitespace":()=>a(711),"no-iterator":()=>a(712),"no-label-var":()=>a(713),"no-labels":()=>a(714),"no-lone-blocks":()=>a(715),"no-lonely-if":()=>a(716),"no-loop-func":()=>a(717),"no-loss-of-precision":()=>
a(718),"no-magic-numbers":()=>a(719),"no-misleading-character-class":()=>a(720),"no-mixed-operators":()=>a(726),"no-mixed-requires":()=>a(727),"no-mixed-spaces-and-tabs":()=>a(728),"no-multi-assign":()=>a(729),"no-multi-spaces":()=>a(730),"no-multi-str":()=>a(731),"no-multiple-empty-lines":()=>a(732),"no-native-reassign":()=>a(733),"no-negated-condition":()=>a(734),"no-negated-in-lhs":()=>a(735),"no-nested-ternary":()=>a(736),"no-new":()=>a(737),"no-new-func":()=>a(738),"no-new-object":()=>a(739),
"no-new-require":()=>a(740),"no-new-symbol":()=>a(741),"no-new-wrappers":()=>a(742),"no-nonoctal-decimal-escape":()=>a(743),"no-obj-calls":()=>a(744),"no-octal":()=>a(745),"no-octal-escape":()=>a(746),"no-param-reassign":()=>a(747),"no-path-concat":()=>a(748),"no-plusplus":()=>a(749),"no-process-env":()=>a(750),"no-process-exit":()=>a(751),"no-promise-executor-return":()=>a(752),"no-proto":()=>a(753),"no-prototype-builtins":()=>a(754),"no-redeclare":()=>a(755),"no-regex-spaces":()=>a(756),"no-restricted-exports":()=>
a(757),"no-restricted-globals":()=>a(758),"no-restricted-imports":()=>a(759),"no-restricted-modules":()=>a(761),"no-restricted-properties":()=>a(762),"no-restricted-syntax":()=>a(763),"no-return-assign":()=>a(764),"no-return-await":()=>a(765),"no-script-url":()=>a(766),"no-self-assign":()=>a(767),"no-self-compare":()=>a(768),"no-sequences":()=>a(769),"no-setter-return":()=>a(770),"no-shadow":()=>a(771),"no-shadow-restricted-names":()=>a(772),"no-spaced-func":()=>a(773),"no-sparse-arrays":()=>a(774),
"no-sync":()=>a(775),"no-tabs":()=>a(776),"no-template-curly-in-string":()=>a(777),"no-ternary":()=>a(778),"no-this-before-super":()=>a(779),"no-throw-literal":()=>a(780),"no-trailing-spaces":()=>a(781),"no-undef":()=>a(782),"no-undef-init":()=>a(783),"no-undefined":()=>a(784),"no-underscore-dangle":()=>a(785),"no-unexpected-multiline":()=>a(786),"no-unmodified-loop-condition":()=>a(787),"no-unneeded-ternary":()=>a(788),"no-unreachable":()=>a(789),"no-unreachable-loop":()=>a(790),"no-unsafe-finally":()=>
a(791),"no-unsafe-negation":()=>a(792),"no-unsafe-optional-chaining":()=>a(793),"no-unused-expressions":()=>a(794),"no-unused-labels":()=>a(795),"no-unused-vars":()=>a(796),"no-use-before-define":()=>a(797),"no-useless-backreference":()=>a(798),"no-useless-call":()=>a(799),"no-useless-catch":()=>a(800),"no-useless-computed-key":()=>a(801),"no-useless-concat":()=>a(802),"no-useless-constructor":()=>a(803),"no-useless-escape":()=>a(804),"no-useless-rename":()=>a(805),"no-useless-return":()=>a(806),
"no-var":()=>a(807),"no-void":()=>a(808),"no-warning-comments":()=>a(809),"no-whitespace-before-property":()=>a(810),"no-with":()=>a(811),"nonblock-statement-body-position":()=>a(812),"object-curly-newline":()=>a(813),"object-curly-spacing":()=>a(814),"object-property-newline":()=>a(815),"object-shorthand":()=>a(816),"one-var":()=>a(817),"one-var-declaration-per-line":()=>a(818),"operator-assignment":()=>a(819),"operator-linebreak":()=>a(820),"padded-blocks":()=>a(821),"padding-line-between-statements":()=>
a(822),"prefer-arrow-callback":()=>a(823),"prefer-const":()=>a(824),"prefer-destructuring":()=>a(825),"prefer-exponentiation-operator":()=>a(826),"prefer-named-capture-group":()=>a(827),"prefer-numeric-literals":()=>a(828),"prefer-object-spread":()=>a(829),"prefer-promise-reject-errors":()=>a(830),"prefer-reflect":()=>a(831),"prefer-regex-literals":()=>a(832),"prefer-rest-params":()=>a(833),"prefer-spread":()=>a(834),"prefer-template":()=>a(835),"quote-props":()=>a(836),quotes:()=>a(837),radix:()=>
a(838),"require-atomic-updates":()=>a(839),"require-await":()=>a(840),"require-jsdoc":()=>a(841),"require-unicode-regexp":()=>a(842),"require-yield":()=>a(843),"rest-spread-spacing":()=>a(844),semi:()=>a(845),"semi-spacing":()=>a(846),"semi-style":()=>a(847),"sort-imports":()=>a(848),"sort-keys":()=>a(849),"sort-vars":()=>a(851),"space-before-blocks":()=>a(852),"space-before-function-paren":()=>a(853),"space-in-parens":()=>a(854),"space-infix-ops":()=>a(855),"space-unary-ops":()=>a(856),"spaced-comment":()=>
a(857),strict:()=>a(858),"switch-colon-spacing":()=>a(859),"symbol-description":()=>a(860),"template-curly-spacing":()=>a(861),"template-tag-spacing":()=>a(862),"unicode-bom":()=>a(863),"use-isnan":()=>a(864),"valid-jsdoc":()=>a(865),"valid-typeof":()=>a(870),"vars-on-top":()=>a(871),"wrap-iife":()=>a(872),"wrap-regex":()=>a(873),"yield-star-spacing":()=>a(874),yoda:()=>a(875)}))},(u,c,a)=>{const b=a(519)("eslint:rules");class d extends Map{constructor(m){let h=m.length;super(b.enabled?m.map(([k,
p])=>{let l=null;return[k,()=>{l||(b("Loading rule %o (remaining=%d)",k,--h),l=p());return l}]}):m);Object.defineProperty(d.prototype,"set",{configurable:!0,value:void 0})}get(m){return(m=super.get(m))&&m()}*values(){for(const m of super.values())yield m()}*entries(){for(const [m,h]of super.entries())yield[m,h()]}forEach(m,h){for(const [k,p]of super.entries())m.call(h,p(),k,this)}}Object.defineProperties(d.prototype,{clear:{configurable:!0,value:void 0},delete:{configurable:!0,value:void 0},[Symbol.iterator]:{configurable:!0,
writable:!0,value:d.prototype.entries}});u.exports={LazyLoadingRuleMap:d}},(u,c,a)=>{function b(h){return"get"===h.kind||"set"===h.kind}function d(h,k,p,l){const g=h.parent;return"CallExpression"===g.type&&m.isSpecificMemberAccess(g.callee,p,l)&&g.arguments[k]===h}const m=a(571);u.exports={meta:{type:"suggestion",docs:{description:"enforce getter and setter pairs in objects and classes",recommended:!1,url:"https://eslint.org/docs/rules/accessor-pairs"},schema:[{type:"object",properties:{getWithoutSet:{type:"boolean",
default:!1},setWithoutGet:{type:"boolean",default:!0},enforceForClassMembers:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{missingGetterInPropertyDescriptor:"Getter is not present in property descriptor.",missingSetterInPropertyDescriptor:"Setter is not present in property descriptor.",missingGetterInObjectLiteral:"Getter is not present for {{ name }}.",missingSetterInObjectLiteral:"Setter is not present for {{ name }}.",missingGetterInClass:"Getter is not present for class {{ name }}.",
missingSetterInClass:"Setter is not present for class {{ name }}."}},create(h){function k(A,D){"Property"===A.type?h.report({node:A,messageId:"".concat(D,"InObjectLiteral"),loc:m.getFunctionHeadLoc(A.value,z),data:{name:m.getFunctionNameWithKind(A.value)}}):"MethodDefinition"===A.type?h.report({node:A,messageId:"".concat(D,"InClass"),loc:m.getFunctionHeadLoc(A.value,z),data:{name:m.getFunctionNameWithKind(A.value)}}):h.report({node:A,messageId:"".concat(D,"InPropertyDescriptor")})}function p(A){const D=
m.getStaticPropertyName(A);return{key:null!==D?D:z.getTokens(A.key),getters:"get"===A.kind?[A]:[],setters:"set"===A.kind?[A]:[]}}function l(A,D){const F=A.find(C=>{C=C.key;var B=D.key;if("string"===typeof C&&"string"===typeof B)C=C===B;else if(Array.isArray(C)&&Array.isArray(B))b:if(C.length!==B.length)C=!1;else{for(let I=0;I<C.length;I++){const J=C[I],M=B[I];if(J.type!==M.type||J.value!==M.value){C=!1;break b}}C=!0}else C=!1;return C});F?(F.getters.push(...D.getters),F.setters.push(...D.setters)):
A.push(D);return A}function g(A){A=A.filter(b).map(p).reduce(l,[]);for(const {getters:D,setters:F}of A){if(v&&F.length&&!D.length){A=F;for(const C of A)k(C,"missingGetter")}if(r&&D.length&&!F.length){A=D;for(const C of A)k(C,"missingSetter")}}}function f(A){g(A.properties.filter(D=>"Property"===D.type))}function n(A){var D=A.properties.filter(C=>"Property"===C.type&&"init"===C.kind&&!C.computed).map(({key:C})=>C.name);const F=D.includes("get");D=D.includes("set");v&&D&&!F&&k(A,"missingGetter");r&&
F&&!D&&k(A,"missingSetter")}function e(A){f(A);if(d(A,2,"Object","defineProperty")||d(A,2,"Reflect","defineProperty"))var D=!0;else D=A.parent.parent,D="ObjectExpression"===D.type&&(d(D,1,"Object","create")||d(D,1,"Object","defineProperties"));D&&n(A)}function q(A){A=A.body.filter(D=>"MethodDefinition"===D.type);g(A.filter(D=>D.static));g(A.filter(D=>!D.static))}var t=h.options[0]||{};const r=!0===t.getWithoutSet,v=!1!==t.setWithoutGet;t=!1!==t.enforceForClassMembers;const z=h.getSourceCode(),E={};
if(v||r)E.ObjectExpression=e,t&&(E.ClassBody=q);return E}}},(u,c,a)=>{function b(ea,za,Y){const W=ea.identifier;za=0===za||Y[za-1].identifier!==W;return W&&!1===ea.init&&ea.isWrite()&&za}function d(ea){return ea[0]!==ea[0].toLocaleLowerCase()}function m(ea){return ea.id&&d(ea.id.name)}function h(ea){for(;ea;ea=ea.parent)if(qa.test(ea.type))return ea;return null}function k(ea){return!(!ea||!qa.test(ea.type))}function p(ea){return!(!ea||!va.test(ea.type))}function l(ea){return"Literal"===ea.type&&null===
ea.value&&!ea.regex&&!ea.bigint}function g(ea){return l(ea)||"Identifier"===ea.type&&"undefined"===ea.name||"UnaryExpression"===ea.type&&"void"===ea.operator}function f(ea){return"CallExpression"===ea.parent.type&&ea.parent.callee===ea}function n(ea){switch(ea.type){case "Literal":if(null===ea.value){if(l(ea))return String(ea.value);if(ea.regex)return"/".concat(ea.regex.pattern,"/").concat(ea.regex.flags);if(ea.bigint)return ea.bigint}else return String(ea.value);break;case "TemplateLiteral":if(0===
ea.expressions.length&&1===ea.quasis.length)return ea.quasis[0].value.cooked}return null}function e(ea){let za;switch(ea&&ea.type){case "ChainExpression":return e(ea.expression);case "Property":case "PropertyDefinition":case "MethodDefinition":za=ea.key;break;case "MemberExpression":za=ea.property}return za?"Identifier"!==za.type||ea.computed?n(za):za.name:null}function q(ea){return ea&&"ChainExpression"===ea.type?ea.expression:ea}function t(ea,za){return"string"===typeof za?ea===za:za.test(ea)}function r(ea,
za){return"Identifier"===ea.type&&t(ea.name,za)}function v(ea,za,Y){ea=q(ea);return"MemberExpression"!==ea.type||za&&!r(ea.object,za)||Y&&(za=e(ea),"string"!==typeof za||!t(za,Y))?!1:!0}function z(ea,za){return ea.regex||za.regex?!(!ea.regex||!za.regex||ea.regex.pattern!==za.regex.pattern||ea.regex.flags!==za.regex.flags):ea.bigint||za.bigint?ea.bigint===za.bigint:ea.value===za.value}function E(ea,za,Y=!1){if(ea.type!==za.type)return"ChainExpression"===ea.type?E(ea.expression,za,Y):"ChainExpression"===
za.type?E(ea,za.expression,Y):!1;switch(ea.type){case "Super":case "ThisExpression":return!0;case "Identifier":case "PrivateIdentifier":return ea.name===za.name;case "Literal":return z(ea,za);case "ChainExpression":return E(ea.expression,za.expression,Y);case "MemberExpression":if(!Y){const W=e(ea);if(null!==W)return E(ea.object,za.object,Y)&&W===e(za)}return ea.computed===za.computed&&E(ea.object,za.object,Y)&&E(ea.property,za.property,Y);default:return!1}}function A(ea){return v(ea,U,"from")}function D(ea){return za=>
!ea(za)}function F(ea,za){const Y=za.getJSDocComment(ea);return Y&&ma.test(Y.value)?!0:za.getCommentsBefore(ea).some(W=>ma.test(W.value))}function C(ea){return"=>"===ea.value&&"Punctuator"===ea.type}function B(ea){return","===ea.value&&"Punctuator"===ea.type}function I(ea){return"."===ea.value&&"Punctuator"===ea.type}function J(ea){return"?."===ea.value&&"Punctuator"===ea.type}function M(ea){return";"===ea.value&&"Punctuator"===ea.type}function P(ea){return":"===ea.value&&"Punctuator"===ea.type}function O(ea){return"("===
ea.value&&"Punctuator"===ea.type}function N(ea){return")"===ea.value&&"Punctuator"===ea.type}function L(ea){return"["===ea.value&&"Punctuator"===ea.type}function x(ea){return"]"===ea.value&&"Punctuator"===ea.type}function y(ea){return"{"===ea.value&&"Punctuator"===ea.type}function G(ea){return"}"===ea.value&&"Punctuator"===ea.type}function K(ea,za){return"ArrowFunctionExpression"===ea.type&&1===ea.params.length?(ea=za.getFirstToken(ea.params[0]),za=za.getTokenBefore(ea),O(za)?za:ea):ea.id?za.getTokenAfter(ea.id,
O):za.getFirstToken(ea,O)}function R(ea){return"LogicalExpression"===ea.type&&("&&"===ea.operator||"||"===ea.operator)}function Z(ea){return"LogicalExpression"===ea.type&&"??"===ea.operator}c=a(572);const aa=a(462),xa=a(548),{breakableTypePattern:X,createGlobalLinebreakMatcher:wa,lineBreakPattern:ka,shebangPattern:ra}=a(468),qa=/^(?:Function(?:Declaration|Expression)|ArrowFunctionExpression)$/u,va=/^(?:DoWhile|For|ForIn|ForOf|While)Statement$/u,U=/Array$/u,pa=/^(?:every|filter|find|findIndex|forEach|map|some)$/u,
S=/^(?:bind|call|apply)$/u,ma=/^[\s*]*@this/mu;a=new Set(["\r\n","\r","\n","\u2028","\u2029"]);const ya=new Set(["Program","BlockStatement","SwitchCase"]),Ga=/^(?:0|0[0-7]*[89]\d*|[1-9](?:_?\d)*)$/u,Ha=/^(?:[^\\]|\\.)*\\(?:[1-9]|0[0-9])/su,ab=new Set(["&&=","||=","??="]);u.exports={COMMENTS_IGNORE_PATTERN:/^\s*(?:eslint|jshint\s+|jslint\s+|istanbul\s+|globals?\s+|exported\s+|jscs)/u,LINEBREAKS:a,LINEBREAK_MATCHER:ka,SHEBANG_MATCHER:ra,STATEMENT_LIST_PARENTS:ya,isTokenOnSameLine(ea,za){return ea.loc.end.line===
za.loc.start.line},isNullOrUndefined:g,isCallee:f,isES5Constructor:m,getUpperFunction:h,isFunction:k,isLoop:p,isInLoop:function(ea){for(;ea&&!k(ea);ea=ea.parent)if(p(ea))return!0;return!1},isArrayFromMethod:A,isParenthesised:function(ea,za){const Y=ea.getTokenBefore(za);ea=ea.getTokenAfter(za);return!(!Y||!ea)&&"("===Y.value&&Y.range[1]<=za.range[0]&&")"===ea.value&&ea.range[0]>=za.range[1]},createGlobalLinebreakMatcher:wa,equalTokens:function(ea,za,Y){ea=Y.getTokens(ea);za=Y.getTokens(za);if(ea.length!==
za.length)return!1;for(Y=0;Y<ea.length;++Y)if(ea[Y].type!==za[Y].type||ea[Y].value!==za[Y].value)return!1;return!0},isArrowToken:C,isClosingBraceToken:G,isClosingBracketToken:x,isClosingParenToken:N,isColonToken:P,isCommaToken:B,isCommentToken:function(ea){return"Line"===ea.type||"Block"===ea.type||"Shebang"===ea.type},isDotToken:I,isQuestionDotToken:J,isKeywordToken:function(ea){return"Keyword"===ea.type},isNotClosingBraceToken:D(G),isNotClosingBracketToken:D(x),isNotClosingParenToken:D(N),isNotColonToken:D(P),
isNotCommaToken:D(B),isNotDotToken:D(I),isNotQuestionDotToken:D(J),isNotOpeningBraceToken:D(y),isNotOpeningBracketToken:D(L),isNotOpeningParenToken:D(O),isNotSemicolonToken:D(M),isOpeningBraceToken:y,isOpeningBracketToken:L,isOpeningParenToken:O,isSemicolonToken:M,isEqToken:function(ea){return"="===ea.value&&"Punctuator"===ea.type},isStringLiteral(ea){return"Literal"===ea.type&&"string"===typeof ea.value||"TemplateLiteral"===ea.type},isBreakableStatement(ea){return X.test(ea.type)},getModifyingReferences(ea){return ea.filter(b)},
isSurroundedBy(ea,za){return ea[0]===za&&ea[ea.length-1]===za},isDirectiveComment(ea){const za=ea.value.trim();return"Line"===ea.type&&0===za.indexOf("eslint-")||"Block"===ea.type&&(0===za.indexOf("global ")||0===za.indexOf("eslint ")||0===za.indexOf("eslint-"))},getTrailingStatement:c.ast.trailingStatement,getVariableByName(ea,za){for(;ea;){const Y=ea.set.get(za);if(Y)return Y;ea=ea.upper}return null},isDefaultThisBinding(ea,za,{capIsConstructor:Y=!0}={}){if(ea&&ea.parent&&"PropertyDefinition"===
ea.parent.type&&ea.value===ea||Y&&m(ea)||F(ea,za))return!1;for(za=null===ea.id;ea;){const W=ea.parent;switch(W.type){case "LogicalExpression":case "ConditionalExpression":case "ChainExpression":ea=W;break;case "ReturnStatement":ea=h(W);if(null===ea||!f(ea))return!0;ea=ea.parent;break;case "ArrowFunctionExpression":if(ea!==W.body||!f(W))return!0;ea=W.parent;break;case "Property":case "PropertyDefinition":case "MethodDefinition":return W.value!==ea;case "AssignmentExpression":case "AssignmentPattern":return"MemberExpression"===
W.left.type||Y&&za&&"Identifier"===W.left.type&&d(W.left.name)?!1:!0;case "VariableDeclarator":return!(Y&&za&&W.init===ea&&"Identifier"===W.id.type&&d(W.id.name));case "MemberExpression":return W.object===ea&&v(W,null,S)?(Y="ChainExpression"===W.parent.type?W.parent:W,!(f(Y)&&1<=Y.parent.arguments.length&&!g(Y.parent.arguments[0]))):!0;case "CallExpression":return v(W.callee,"Reflect","apply")?3!==W.arguments.length||W.arguments[0]!==ea||g(W.arguments[1]):A(W.callee)?3!==W.arguments.length||W.arguments[1]!==
ea||g(W.arguments[2]):v(W.callee,null,pa)?2!==W.arguments.length||W.arguments[0]!==ea||g(W.arguments[1]):!0;default:return!0}}return!0},getPrecedence(ea){switch(ea.type){case "SequenceExpression":return 0;case "AssignmentExpression":case "ArrowFunctionExpression":case "YieldExpression":return 1;case "ConditionalExpression":return 3;case "LogicalExpression":switch(ea.operator){case "||":case "??":return 4;case "&&":return 5}case "BinaryExpression":switch(ea.operator){case "|":return 6;case "^":return 7;
case "&":return 8;case "==":case "!=":case "===":case "!==":return 9;case "<":case "<=":case ">":case ">=":case "in":case "instanceof":return 10;case "<<":case ">>":case ">>>":return 11;case "+":case "-":return 12;case "*":case "/":case "%":return 13;case "**":return 15}case "UnaryExpression":case "AwaitExpression":return 16;case "UpdateExpression":return 17;case "CallExpression":case "ChainExpression":case "ImportExpression":return 18;case "NewExpression":return 19;default:return 20}},isEmptyBlock(ea){return!(!ea||
"BlockStatement"!==ea.type||0!==ea.body.length)},isEmptyFunction(ea){return k(ea)&&u.exports.isEmptyBlock(ea.body)},getDirectivePrologue(ea){const za=[];if("Program"===ea.type||"FunctionDeclaration"===ea.type||"FunctionExpression"===ea.type||"ArrowFunctionExpression"===ea.type&&"BlockStatement"===ea.body.type){ea="Program"===ea.type?ea.body:ea.body.body;for(const Y of ea)if("ExpressionStatement"===Y.type&&"Literal"===Y.expression.type)za.push(Y);else break}return za},isDecimalInteger(ea){return"Literal"===
ea.type&&"number"===typeof ea.value&&Ga.test(ea.raw)},isDecimalIntegerNumericToken(ea){return"Numeric"===ea.type&&Ga.test(ea.value)},getFunctionNameWithKind(ea){var za=ea.parent;const Y=[];if("MethodDefinition"===za.type||"PropertyDefinition"===za.type)za.static&&Y.push("static"),za.computed||"PrivateIdentifier"!==za.key.type||Y.push("private");ea.async&&Y.push("async");ea.generator&&Y.push("generator");if("Property"===za.type||"MethodDefinition"===za.type){if("constructor"===za.kind)return"constructor";
"get"===za.kind?Y.push("getter"):"set"===za.kind?Y.push("setter"):Y.push("method")}else"PropertyDefinition"===za.type?Y.push("method"):("ArrowFunctionExpression"===ea.type&&Y.push("arrow"),Y.push("function"));"Property"===za.type||"MethodDefinition"===za.type||"PropertyDefinition"===za.type?za.computed||"PrivateIdentifier"!==za.key.type?(za=e(za),null!==za?Y.push("'".concat(za,"'")):ea.id&&Y.push("'".concat(ea.id.name,"'"))):Y.push("#".concat(za.key.name)):ea.id&&Y.push("'".concat(ea.id.name,"'"));
return Y.join(" ")},getFunctionHeadLoc(ea,za){var Y=ea.parent;"Property"===Y.type||"MethodDefinition"===Y.type||"PropertyDefinition"===Y.type?(Y=Y.loc.start,ea=K(ea,za).loc.start):"ArrowFunctionExpression"===ea.type?(ea=za.getTokenBefore(ea.body,C),Y=ea.loc.start,ea=ea.loc.end):(Y=ea.loc.start,ea=K(ea,za).loc.start);return{start:Object.assign({},Y),end:Object.assign({},ea)}},getNextLocation(ea,{line:za,column:Y}){return Y<ea.lines[za-1].length?{line:za,column:Y+1}:za<ea.lines.length?{line:za+1,column:0}:
null},getParenthesisedText(ea,za){let Y=ea.getFirstToken(za);for(za=ea.getLastToken(za);ea.getTokenBefore(Y)&&"Punctuator"===ea.getTokenBefore(Y).type&&"("===ea.getTokenBefore(Y).value&&ea.getTokenAfter(za)&&"Punctuator"===ea.getTokenAfter(za).type&&")"===ea.getTokenAfter(za).value;)Y=ea.getTokenBefore(Y),za=ea.getTokenAfter(za);return ea.getText().slice(Y.range[0],za.range[1])},couldBeError(ea){switch(ea.type){case "Identifier":case "CallExpression":case "NewExpression":case "MemberExpression":case "TaggedTemplateExpression":case "YieldExpression":case "AwaitExpression":case "ChainExpression":return!0;
case "AssignmentExpression":return["=","&&="].includes(ea.operator)?u.exports.couldBeError(ea.right):["||=","??="].includes(ea.operator)?u.exports.couldBeError(ea.left)||u.exports.couldBeError(ea.right):!1;case "SequenceExpression":return ea=ea.expressions,0!==ea.length&&u.exports.couldBeError(ea[ea.length-1]);case "LogicalExpression":return"&&"===ea.operator?u.exports.couldBeError(ea.right):u.exports.couldBeError(ea.left)||u.exports.couldBeError(ea.right);case "ConditionalExpression":return u.exports.couldBeError(ea.consequent)||
u.exports.couldBeError(ea.alternate);default:return!1}},isNumericLiteral(ea){return"Literal"===ea.type&&("number"===typeof ea.value||!!ea.bigint)},canTokensBeAdjacent(ea,za){var Y={ecmaVersion:aa.latestEcmaVersion,comment:!0,range:!0};if("string"===typeof ea){try{var W=aa.tokenize(ea,Y)}catch(na){return!1}ea=W.comments;W=W[W.length-1];ea.length&&(ea=ea[ea.length-1],ea.range[0]>W.range[0]&&(W=ea))}else W=ea;if("Shebang"===W.type)return!1;if("string"===typeof za){try{var ia=aa.tokenize(za,Y)}catch(na){return!1}za=
ia.comments;ia=ia[0];za.length&&(za=za[0],za.range[0]<ia.range[0]&&(ia=za))}else ia=za;return"Punctuator"===W.type||"Punctuator"===ia.type?"Punctuator"===W.type&&"Punctuator"===ia.type?(za=new Set(["+","++"]),Y=new Set(["-","--"]),!(za.has(W.value)&&za.has(ia.value)||Y.has(W.value)&&Y.has(ia.value))):"Punctuator"===W.type&&"/"===W.value?!["Block","Line","RegularExpression"].includes(ia.type):!0:"String"===W.type||"String"===ia.type||"Template"===W.type||"Template"===ia.type||"Numeric"!==W.type&&"Numeric"===
ia.type&&ia.value.startsWith(".")||"Block"===W.type||"Block"===ia.type||"Line"===ia.type?!0:!1},getNameLocationInGlobalDirectiveComment(ea,za,Y){var W=new RegExp("[\\s,]".concat(xa(Y),"(?:$|[\\s,:])"),"gu");W.lastIndex=za.value.indexOf("global")+6;W=W.exec(za.value);ea=ea.getLocFromIndex(za.range[0]+2+(W?W.index+1:0));return{start:ea,end:{line:ea.line,column:ea.column+(W?Y.length:1)}}},hasOctalOrNonOctalDecimalEscapeSequence(ea){return Ha.test(ea)},isLogicalExpression:R,isCoalesceExpression:Z,isMixedLogicalAndCoalesceExpressions:function(ea,
za){return R(ea)&&Z(za)||Z(ea)&&R(za)},isNullLiteral:l,getStaticStringValue:n,getStaticPropertyName:e,skipChainExpression:q,isSpecificId:r,isSpecificMemberAccess:v,equalLiteralValue:z,isSameReference:E,isLogicalAssignmentOperator:function(ea){return ab.has(ea)},getSwitchCaseColonToken:function(ea,za){return ea.test?za.getTokenAfter(ea.test,P):za.getFirstToken(ea,1)}}},(u,c,a)=>{c.ast=a(573);c.code=a(574);c.keyword=a(575)},u=>{(function(){function c(b){if(null==b)return!1;switch(b.type){case "BlockStatement":case "BreakStatement":case "ContinueStatement":case "DebuggerStatement":case "DoWhileStatement":case "EmptyStatement":case "ExpressionStatement":case "ForInStatement":case "ForStatement":case "IfStatement":case "LabeledStatement":case "ReturnStatement":case "SwitchStatement":case "ThrowStatement":case "TryStatement":case "VariableDeclaration":case "WhileStatement":case "WithStatement":return!0}return!1}
function a(b){switch(b.type){case "IfStatement":return null!=b.alternate?b.alternate:b.consequent;case "LabeledStatement":case "ForStatement":case "ForInStatement":case "WhileStatement":case "WithStatement":return b.body}return null}u.exports={isExpression:function(b){if(null==b)return!1;switch(b.type){case "ArrayExpression":case "AssignmentExpression":case "BinaryExpression":case "CallExpression":case "ConditionalExpression":case "FunctionExpression":case "Identifier":case "Literal":case "LogicalExpression":case "MemberExpression":case "NewExpression":case "ObjectExpression":case "SequenceExpression":case "ThisExpression":case "UnaryExpression":case "UpdateExpression":return!0}return!1},
isStatement:c,isIterationStatement:function(b){if(null==b)return!1;switch(b.type){case "DoWhileStatement":case "ForInStatement":case "ForStatement":case "WhileStatement":return!0}return!1},isSourceElement:function(b){return c(b)||null!=b&&"FunctionDeclaration"===b.type},isProblematicIfStatement:function(b){if("IfStatement"!==b.type||null==b.alternate)return!1;b=b.consequent;do{if("IfStatement"===b.type&&null==b.alternate)return!0;b=a(b)}while(b);return!1},trailingStatement:a}})()},u=>{(function(){function c(g){if(65535>=
g)return String.fromCharCode(g);var f=String.fromCharCode(Math.floor((g-65536)/1024)+55296);g=String.fromCharCode((g-65536)%1024+56320);return f+g}var a;var b=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/;
var d=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/;
var m=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/;
var h=/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/;
var k=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];var p=Array(128);for(a=0;128>a;++a)p[a]=97<=a&&122>=a||65<=a&&90>=a||36===a||95===a;var l=Array(128);for(a=0;128>a;++a)l[a]=97<=a&&122>=a||65<=a&&90>=a||48<=a&&57>=a||36===a||95===a;u.exports={isDecimalDigit:function(g){return 48<=g&&57>=g},isHexDigit:function(g){return 48<=g&&57>=g||97<=g&&102>=g||65<=g&&70>=g},isOctalDigit:function(g){return 48<=g&&55>=g},isWhiteSpace:function(g){return 32===g||9===g||11===
g||12===g||160===g||5760<=g&&0<=k.indexOf(g)},isLineTerminator:function(g){return 10===g||13===g||8232===g||8233===g},isIdentifierStartES5:function(g){return 128>g?p[g]:b.test(c(g))},isIdentifierPartES5:function(g){return 128>g?l[g]:d.test(c(g))},isIdentifierStartES6:function(g){return 128>g?p[g]:m.test(c(g))},isIdentifierPartES6:function(g){return 128>g?l[g]:h.test(c(g))}}})()},(u,c,a)=>{(function(){function b(g,f){return f||"yield"!==g?d(g,f):!1}function d(g,f){if(f)a:switch(g){case "implements":case "interface":case "package":case "private":case "protected":case "public":case "static":case "let":f=
!0;break a;default:f=!1}if(f)return!0;switch(g.length){case 2:return"if"===g||"in"===g||"do"===g;case 3:return"var"===g||"for"===g||"new"===g||"try"===g;case 4:return"this"===g||"else"===g||"case"===g||"void"===g||"with"===g||"enum"===g;case 5:return"while"===g||"break"===g||"catch"===g||"throw"===g||"const"===g||"yield"===g||"class"===g||"super"===g;case 6:return"return"===g||"typeof"===g||"delete"===g||"switch"===g||"export"===g||"import"===g;case 7:return"default"===g||"finally"===g||"extends"===
g;case 8:return"function"===g||"continue"===g||"debugger"===g;case 10:return"instanceof"===g;default:return!1}}function m(g,f){return"null"===g||"true"===g||"false"===g||b(g,f)}function h(g,f){return"null"===g||"true"===g||"false"===g||d(g,f)}function k(g){var f;if(0===g.length)return!1;var n=g.charCodeAt(0);if(!l.isIdentifierStartES5(n))return!1;var e=1;for(f=g.length;e<f;++e)if(n=g.charCodeAt(e),!l.isIdentifierPartES5(n))return!1;return!0}function p(g){var f;if(0===g.length)return!1;var n=l.isIdentifierStartES6;
var e=0;for(f=g.length;e<f;++e){var q=g.charCodeAt(e);if(55296<=q&&56319>=q){++e;if(e>=f)return!1;var t=g.charCodeAt(e);if(!(56320<=t&&57343>=t))return!1;q=1024*(q-55296)+(t-56320)+65536}if(!n(q))return!1;n=l.isIdentifierPartES6}return!0}var l=a(574);u.exports={isKeywordES5:b,isKeywordES6:d,isReservedWordES5:m,isReservedWordES6:h,isRestrictedWord:function(g){return"eval"===g||"arguments"===g},isIdentifierNameES5:k,isIdentifierNameES6:p,isIdentifierES5:function(g,f){return k(g)&&!m(g,f)},isIdentifierES6:function(g,
f){return p(g)&&!h(g,f)}}})()},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce linebreaks after opening and before closing array brackets",recommended:!1,url:"https://eslint.org/docs/rules/array-bracket-newline"},fixable:"whitespace",schema:[{oneOf:[{enum:["always","never","consistent"]},{type:"object",properties:{multiline:{type:"boolean"},minItems:{type:["integer","null"],minimum:0}},additionalProperties:!1}]}],messages:{unexpectedOpeningLinebreak:"There should be no linebreak after '['.",
unexpectedClosingLinebreak:"There should be no linebreak before ']'.",missingOpeningLinebreak:"A linebreak is required after '['.",missingClosingLinebreak:"A linebreak is required before ']'."}},create(d){function m(f,n){d.report({node:f,loc:n.loc,messageId:"unexpectedOpeningLinebreak",fix(e){const q=g.getTokenAfter(n,{includeComments:!0});return b.isCommentToken(q)?null:e.removeRange([n.range[1],q.range[0]])}})}function h(f,n){d.report({node:f,loc:n.loc,messageId:"unexpectedClosingLinebreak",fix(e){const q=
g.getTokenBefore(n,{includeComments:!0});return b.isCommentToken(q)?null:e.removeRange([q.range[1],n.range[0]])}})}function k(f,n){d.report({node:f,loc:n.loc,messageId:"missingOpeningLinebreak",fix(e){return e.insertTextAfter(n,"\n")}})}function p(f,n){d.report({node:f,loc:n.loc,messageId:"missingClosingLinebreak",fix(e){return e.insertTextBefore(n,"\n")}})}function l(f){const n=f.elements;var e,q=d.options[0],t=e=!1;q?"consistent"===q?(e=!0,q=Number.POSITIVE_INFINITY):"always"===q||0===q.minItems?
q=0:"never"===q?q=Number.POSITIVE_INFINITY:(t=!!q.multiline,q=q.minItems||Number.POSITIVE_INFINITY):(e=!1,t=!0,q=Number.POSITIVE_INFINITY);e={consistent:e,multiline:t,minItems:q};e={ArrayExpression:e,ArrayPattern:e}[f.type];t=g.getFirstToken(f);q=g.getLastToken(f);const r=g.getTokenAfter(t,{includeComments:!0}),v=g.getTokenBefore(q,{includeComments:!0}),z=g.getTokenAfter(t),E=g.getTokenBefore(q);n.length>=e.minItems||e.multiline&&0<n.length&&r.loc.start.line!==v.loc.end.line||0===n.length&&"Block"===
r.type&&r.loc.start.line!==v.loc.end.line&&r===v||e.consistent&&t.loc.end.line!==z.loc.start.line?(b.isTokenOnSameLine(t,z)&&k(f,t),b.isTokenOnSameLine(E,q)&&p(f,q)):(b.isTokenOnSameLine(t,z)||m(f,t),b.isTokenOnSameLine(E,q)||h(f,q))}const g=d.getSourceCode();return{ArrayPattern:l,ArrayExpression:l}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce consistent spacing inside array brackets",recommended:!1,url:"https://eslint.org/docs/rules/array-bracket-spacing"},
fixable:"whitespace",schema:[{enum:["always","never"]},{type:"object",properties:{singleValue:{type:"boolean"},objectsInArrays:{type:"boolean"},arraysInArrays:{type:"boolean"}},additionalProperties:!1}],messages:{unexpectedSpaceAfter:"There should be no space after '{{tokenValue}}'.",unexpectedSpaceBefore:"There should be no space before '{{tokenValue}}'.",missingSpaceAfter:"A space is required after '{{tokenValue}}'.",missingSpaceBefore:"A space is required before '{{tokenValue}}'."}},create(d){function m(r){return d.options[1]?
d.options[1][r]===!e:!1}function h(r,v){const z=q.getTokenAfter(v);d.report({node:r,loc:{start:v.loc.end,end:z.loc.start},messageId:"unexpectedSpaceAfter",data:{tokenValue:v.value},fix(E){return E.removeRange([v.range[1],z.range[0]])}})}function k(r,v){const z=q.getTokenBefore(v);d.report({node:r,loc:{start:z.loc.end,end:v.loc.start},messageId:"unexpectedSpaceBefore",data:{tokenValue:v.value},fix(E){return E.removeRange([z.range[1],v.range[0]])}})}function p(r,v){d.report({node:r,loc:v.loc,messageId:"missingSpaceAfter",
data:{tokenValue:v.value},fix(z){return z.insertTextAfter(v," ")}})}function l(r,v){d.report({node:r,loc:v.loc,messageId:"missingSpaceBefore",data:{tokenValue:v.value},fix(z){return z.insertTextBefore(v," ")}})}function g(r){return r&&("ObjectExpression"===r.type||"ObjectPattern"===r.type)}function f(r){return r&&("ArrayExpression"===r.type||"ArrayPattern"===r.type)}function n(r){if(!t.spaced||0!==r.elements.length){var v=q.getFirstToken(r),z=q.getFirstToken(r,1),E=r.typeAnnotation?q.getTokenBefore(r.typeAnnotation):
q.getLastToken(r),A=q.getTokenBefore(E),D=r.elements[0],F=r.elements[r.elements.length-1];D=t.objectsInArraysException&&g(D)||t.arraysInArraysException&&f(D)||t.singleElementException&&1===r.elements.length?!t.spaced:t.spaced;F=t.objectsInArraysException&&g(F)||t.arraysInArraysException&&f(F)||t.singleElementException&&1===r.elements.length?!t.spaced:t.spaced;b.isTokenOnSameLine(v,z)&&(D&&!q.isSpaceBetweenTokens(v,z)&&p(r,v),!D&&q.isSpaceBetweenTokens(v,z)&&h(r,v));v!==A&&b.isTokenOnSameLine(A,E)&&
(F&&!q.isSpaceBetweenTokens(A,E)&&l(r,E),!F&&q.isSpaceBetweenTokens(A,E)&&k(r,E))}}const e="always"===d.options[0],q=d.getSourceCode(),t={spaced:e,singleElementException:m("singleValue"),objectsInArraysException:m("objectsInArrays"),arraysInArraysException:m("arraysInArrays")};return{ArrayPattern:n,ArrayExpression:n}}}},(u,c,a)=>{function b(l){return l.reachable}function d(l){return["from","of","isArray"].includes(l)?"Array.".concat(l):"Array.prototype.".concat(l)}function m(l){for(;l;){const g=l.parent;
switch(g.type){case "LogicalExpression":case "ConditionalExpression":case "ChainExpression":l=g;break;case "ReturnStatement":l=h.getUpperFunction(g);if(null===l||!h.isCallee(l))return null;l=l.parent;break;case "CallExpression":return h.isArrayFromMethod(g.callee)&&2<=g.arguments.length&&g.arguments[1]===l?"from":h.isSpecificMemberAccess(g.callee,null,p)&&1<=g.arguments.length&&g.arguments[0]===l?h.getStaticPropertyName(g.callee):null;default:return null}}return null}const h=a(571),k=/^(?:Arrow)?FunctionExpression$/u,
p=/^(?:every|filter|find(?:Index)?|flatMap|forEach|map|reduce(?:Right)?|some|sort)$/u;u.exports={meta:{type:"problem",docs:{description:"enforce `return` statements in callbacks of array methods",recommended:!1,url:"https://eslint.org/docs/rules/array-callback-return"},schema:[{type:"object",properties:{allowImplicit:{type:"boolean",default:!1},checkForEach:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{expectedAtEnd:"{{arrayMethodName}}() expects a value to be returned at the end of {{name}}.",
expectedInside:"{{arrayMethodName}}() expects a return value from {{name}}.",expectedReturnValue:"{{arrayMethodName}}() expects a return value from {{name}}.",expectedNoReturnValue:"{{arrayMethodName}}() expects no useless return value from {{name}}."}},create(l){function g(q){if(e.shouldCheck){var t=null;"forEach"===e.arrayMethodName?f.checkForEach&&"ArrowFunctionExpression"===q.type&&q.expression&&(t="expectedNoReturnValue"):"BlockStatement"===q.body.type&&e.codePath.currentSegments.some(b)&&(t=
e.hasReturn?"expectedAtEnd":"expectedInside");if(t){const r=h.getFunctionNameWithKind(q);l.report({node:q,loc:h.getFunctionHeadLoc(q,n),messageId:t,data:{name:r,arrayMethodName:d(e.arrayMethodName)}})}}}const f=l.options[0]||{allowImplicit:!1,checkForEach:!1},n=l.getSourceCode();let e={arrayMethodName:null,upper:null,codePath:null,hasReturn:!1,shouldCheck:!1,node:null};return{onCodePathStart(q,t){let r=null;k.test(t.type)&&(r=m(t));e={arrayMethodName:r,upper:e,codePath:q,hasReturn:!1,shouldCheck:r&&
!t.async&&!t.generator,node:t}},onCodePathEnd(){e=e.upper},ReturnStatement(q){if(e.shouldCheck){e.hasReturn=!0;var t=null;"forEach"===e.arrayMethodName?f.checkForEach&&q.argument&&(t="expectedNoReturnValue"):f.allowImplicit||q.argument||(t="expectedReturnValue");t&&l.report({node:q,messageId:t,data:{name:h.getFunctionNameWithKind(e.node),arrayMethodName:d(e.arrayMethodName)}})}},"FunctionExpression:exit":g,"ArrowFunctionExpression:exit":g}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",
docs:{description:"enforce line breaks after each array element",recommended:!1,url:"https://eslint.org/docs/rules/array-element-newline"},fixable:"whitespace",schema:{definitions:{basicConfig:{oneOf:[{enum:["always","never","consistent"]},{type:"object",properties:{multiline:{type:"boolean"},minItems:{type:["integer","null"],minimum:0}},additionalProperties:!1}]}},items:[{oneOf:[{$ref:"#/definitions/basicConfig"},{type:"object",properties:{ArrayExpression:{$ref:"#/definitions/basicConfig"},ArrayPattern:{$ref:"#/definitions/basicConfig"}},
additionalProperties:!1,minProperties:1}]}]},messages:{unexpectedLineBreak:"There should be no linebreak here.",missingLineBreak:"There should be a linebreak after this element."}},create(d){function m(f){let n=!1,e=!1;(f=f||"always","always"!==f)&&0!==f.minItems?"never"===f?f=Number.POSITIVE_INFINITY:"consistent"===f?(n=!0,f=Number.POSITIVE_INFINITY):(e=!!f.multiline,f=f.minItems||Number.POSITIVE_INFINITY):f=0;return{consistent:n,multiline:e,minItems:f}}function h(f){if(f&&(f.ArrayExpression||f.ArrayPattern)){let n,
e;f.ArrayExpression&&(n=m(f.ArrayExpression));f.ArrayPattern&&(e=m(f.ArrayPattern));return{ArrayExpression:n,ArrayPattern:e}}f=m(f);return{ArrayExpression:f,ArrayPattern:f}}function k(f){const n=g.getTokenBefore(f,{includeComments:!0});d.report({loc:{start:n.loc.end,end:f.loc.start},messageId:"unexpectedLineBreak",fix(e){if(b.isCommentToken(n))return null;if(!b.isTokenOnSameLine(n,f))return e.replaceTextRange([n.range[1],f.range[0]]," ");const q=g.getTokenBefore(n,{includeComments:!0});return b.isCommentToken(q)?
null:e.replaceTextRange([q.range[1],n.range[0]],"")}})}function p(f){const n=g.getTokenBefore(f,{includeComments:!0});d.report({loc:{start:n.loc.end,end:f.loc.start},messageId:"missingLineBreak",fix(e){return e.replaceTextRange([n.range[1],f.range[0]],"\n")}})}function l(f){const n=f.elements,e=h(d.options[0])[f.type];if(e){var q=!1;e.multiline&&(q=n.filter(v=>null!==v).some(v=>v.loc.start.line!==v.loc.end.line));var t=f.elements.map((v,z)=>{const E=n[z-1];if(0===z||null===v||null===E)return!1;z=
g.getFirstTokenBetween(E,v,b.isCommaToken);v=g.getTokenBefore(z);z=g.getTokenAfter(z);return!b.isTokenOnSameLine(v,z)}).filter(v=>!0===v).length,r=n.length>=e.minItems||e.multiline&&q||e.consistent&&0<t&&t<f.elements.length;n.forEach((v,z)=>{const E=n[z-1];0!==z&&null!==v&&null!==E&&(z=g.getFirstTokenBetween(E,v,b.isCommaToken),v=g.getTokenBefore(z),z=g.getTokenAfter(z),r?b.isTokenOnSameLine(v,z)&&p(z):b.isTokenOnSameLine(v,z)||k(z))})}}const g=d.getSourceCode();return{ArrayPattern:l,ArrayExpression:l}}}},
(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"require braces around arrow function bodies",recommended:!1,url:"https://eslint.org/docs/rules/arrow-body-style"},schema:{anyOf:[{type:"array",items:[{enum:["always","never"]}],minItems:0,maxItems:1},{type:"array",items:[{enum:["as-needed"]},{type:"object",properties:{requireReturnForObjectLiteral:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2}]},fixable:"code",messages:{unexpectedOtherBlock:"Unexpected block statement surrounding arrow body.",
unexpectedEmptyBlock:"Unexpected block statement surrounding arrow body; put a value of `undefined` immediately after the `=>`.",unexpectedObjectBlock:"Unexpected block statement surrounding arrow body; parenthesize the returned value and move it immediately after the `=>`.",unexpectedSingleBlock:"Unexpected block statement surrounding arrow body; move the returned value immediately after the `=>`.",expectedBlock:"Expected block statement surrounding arrow body."}},create(d){function m(t){for(;!b.isParenthesised(e,
t);)t=t.parent;return e.getTokenAfter(t)}function h(t){return t&&t.parent?"ForStatement"===t.parent.type&&t.parent.init===t?!0:h(t.parent):!1}function k(t){const r=t.body;if("BlockStatement"===r.type){const v=r.body;if(!(1!==v.length&&!f||g&&n&&"ReturnStatement"===v[0].type&&v[0].argument&&"ObjectExpression"===v[0].argument.type)&&(f||g&&"ReturnStatement"===v[0].type)){let z;z=0===v.length?"unexpectedEmptyBlock":1<v.length?"unexpectedOtherBlock":null===v[0].argument?"unexpectedSingleBlock":b.isOpeningBraceToken(e.getFirstToken(v[0],
{skip:1}))?"unexpectedObjectBlock":"unexpectedSingleBlock";d.report({node:t,loc:r.loc,messageId:z,fix(E){const A=[];var D;(D=1!==v.length||"ReturnStatement"!==v[0].type||!v[0].argument)||(D=(D=e.getTokenAfter(r))&&"Punctuator"===D.type&&/^[([/`+-]/u.test(D.value));if(D)return A;D=e.getFirstToken(r);const F=e.getLastToken(r),C=e.getFirstToken(v[0],1),B=e.getLastToken(v[0]);e.commentsExistBetween(D,C)||e.commentsExistBetween(B,F)?A.push(E.remove(D),E.remove(F),E.remove(e.getTokenAfter(D))):A.push(E.removeRange([D.range[0],
C.range[0]]),E.removeRange([B.range[1],F.range[1]]));if(b.isOpeningBraceToken(C)||"SequenceExpression"===v[0].argument.type||q.hasInOperator&&h(t))b.isParenthesised(e,v[0].argument)||A.push(E.insertTextBefore(C,"("),E.insertTextAfter(B,")"));b.isSemicolonToken(B)&&A.push(E.remove(B));return A}})}}else(l||g&&n&&"ObjectExpression"===r.type)&&d.report({node:t,loc:r.loc,messageId:"expectedBlock",fix(v){const z=[];var E=e.getTokenBefore(r,b.isArrowToken);const [A,D]=e.getTokensAfter(E,{count:2});E=e.getLastToken(t);
let F=null;if(b.isOpeningParenToken(A)&&b.isOpeningBraceToken(D)){const C=e.getNodeByRangeIndex(D.range[0]);"ObjectExpression"===C.type&&(F=C)}F?(b.isTokenOnSameLine(A,D)?z.push(v.replaceText(A,"{return ")):z.push(v.replaceText(A,"{"),v.insertTextBefore(D,"return ")),z.push(v.remove(m(F)))):z.push(v.insertTextBefore(A,"{return "));z.push(v.insertTextAfter(E,"}"));return z}})}const p=d.options,l="always"===p[0],g=!p[0]||"as-needed"===p[0],f="never"===p[0],n=p[1]&&p[1].requireReturnForObjectLiteral,
e=d.getSourceCode();let q=null;return{["BinaryExpression[operator='in']"](){let t=q;for(;t;)t.hasInOperator=!0,t=t.upper},ArrowFunctionExpression(){q={upper:q,hasInOperator:!1}},["ArrowFunctionExpression:exit"](t){k(t);q=q.upper}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"require parentheses around arrow function arguments",recommended:!1,url:"https://eslint.org/docs/rules/arrow-parens"},fixable:"code",schema:[{enum:["always","as-needed"]},{type:"object",properties:{requireForBlockBody:{type:"boolean",
default:!1}},additionalProperties:!1}],messages:{unexpectedParens:"Unexpected parentheses around single function argument.",expectedParens:"Expected parentheses around arrow function argument.",unexpectedParensInline:"Unexpected parentheses around single function argument having a body with no curly braces.",expectedParensBlock:"Expected parentheses around arrow function argument having a body with curly braces."}},create(d){function m(g){const f=l.getTokenBefore(g.params[0]);return f&&b.isOpeningParenToken(f)&&
g.range[0]<=f.range[0]?f:null}function h(g,f){return l.getFirstToken(g,{skip:g.async?1:0})!==f}const k="as-needed"===d.options[0],p=k&&d.options[1]&&!0===d.options[1].requireForBlockBody,l=d.getSourceCode();return{["ArrowFunctionExpression[params.length=1]"](g){const f=!k||p&&"BlockStatement"===g.body.type,n=m(g),e=null!==n,[q]=g.params;f&&!e&&d.report({node:g,messageId:p?"expectedParensBlock":"expectedParens",loc:q.loc,*fix(t){yield t.insertTextBefore(q,"(");yield t.insertTextAfter(q,")")}});f||
!e||"Identifier"!==q.type||q.typeAnnotation||g.returnType||l.commentsExistBetween(n,l.getTokenAfter(g.params[0],b.isClosingParenToken))||h(g,n)||d.report({node:g,messageId:p?"unexpectedParensInline":"unexpectedParens",loc:q.loc,*fix(t){const r=l.getTokenBefore(n),v=l.getTokenAfter(g.params[0],b.isClosingParenToken);r&&r.range[1]===n.range[0]&&!b.canTokensBeAdjacent(r,l.getFirstToken(q))&&(yield t.insertTextBefore(n," "));yield t.removeRange([n.range[0],q.range[0]]);yield t.removeRange([q.range[1],
v.range[1]])}})}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce consistent spacing before and after the arrow in arrow functions",recommended:!1,url:"https://eslint.org/docs/rules/arrow-spacing"},fixable:"whitespace",schema:[{type:"object",properties:{before:{type:"boolean",default:!0},after:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{expectedBefore:"Missing space before =>.",unexpectedBefore:"Unexpected space before =>.",expectedAfter:"Missing space after =>.",
unexpectedAfter:"Unexpected space after =>."}},create(d){function m(p){p=k.getTokenBefore(p.body,b.isArrowToken);return{before:k.getTokenBefore(p),arrow:p,after:k.getTokenAfter(p)}}const h=Object.assign({},d.options[0]);h.before=!1!==h.before;h.after=!1!==h.after;const k=d.getSourceCode();return{ArrowFunctionExpression:function(p){const l=m(p);p=l.arrow.range[0]-l.before.range[1];var g=l.after.range[0]-l.arrow.range[1];h.before?0===p&&d.report({node:l.before,messageId:"expectedBefore",fix(f){return f.insertTextBefore(l.arrow,
" ")}}):0<p&&d.report({node:l.before,messageId:"unexpectedBefore",fix(f){return f.removeRange([l.before.range[1],l.arrow.range[0]])}});h.after?0===g&&d.report({node:l.after,messageId:"expectedAfter",fix(f){return f.insertTextAfter(l.arrow," ")}}):0<g&&d.report({node:l.after,messageId:"unexpectedAfter",fix(f){return f.removeRange([l.arrow.range[1],l.after.range[0]])}})}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"enforce the use of variables within the scope they are defined",recommended:!1,
url:"https://eslint.org/docs/rules/block-scoped-var"},schema:[],messages:{outOfScope:"'{{name}}' used outside of binding context."}},create(c){function a(h){m.push(h.range)}function b(){m.pop()}function d(h){h=h.identifier;c.report({node:h,messageId:"outOfScope",data:{name:h.name}})}let m=[];return{Program(h){m=[h.range]},BlockStatement:a,"BlockStatement:exit":b,ForStatement:a,"ForStatement:exit":b,ForInStatement:a,"ForInStatement:exit":b,ForOfStatement:a,"ForOfStatement:exit":b,SwitchStatement:a,
"SwitchStatement:exit":b,CatchClause:a,"CatchClause:exit":b,VariableDeclaration:function(h){function k(l){l=l.identifier.range;return l[0]<p[0]||l[1]>p[1]}if("var"===h.kind){var p=m[m.length-1];h=c.getDeclaredVariables(h);for(let l=0;l<h.length;++l)h[l].references.filter(k).forEach(d)}}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"disallow or enforce spaces inside of blocks after opening block and before closing block",recommended:!1,url:"https://eslint.org/docs/rules/block-spacing"},
fixable:"whitespace",schema:[{enum:["always","never"]}],messages:{missing:"Requires a space {{location}} '{{token}}'.",extra:"Unexpected space(s) {{location}} '{{token}}'."}},create(d){function m(f){return"SwitchStatement"===f.type?0<f.cases.length?g.getTokenBefore(f.cases[0]):g.getLastToken(f,1):g.getFirstToken(f)}function h(f,n){return!b.isTokenOnSameLine(f,n)||g.isSpaceBetweenTokens(f,n)===p}function k(f){const n=m(f),e=g.getLastToken(f),q=g.getTokenAfter(n,{includeComments:!0}),t=g.getTokenBefore(e,
{includeComments:!0});if("Punctuator"===n.type&&"{"===n.value&&"Punctuator"===e.type&&"}"===e.value&&q!==e&&(p||"Line"!==q.type)){if(!h(n,q)){var r=n.loc;"extra"===l&&(r={start:n.loc.end,end:q.loc.start});d.report({node:f,loc:r,messageId:l,data:{location:"after",token:n.value},fix(v){return p?v.insertTextBefore(q," "):v.removeRange([n.range[1],q.range[0]])}})}h(t,e)||(r=e.loc,"extra"===l&&(r={start:t.loc.end,end:e.loc.start}),d.report({node:f,loc:r,messageId:l,data:{location:"before",token:e.value},
fix(v){return p?v.insertTextAfter(t," "):v.removeRange([t.range[1],e.range[0]])}}))}}const p="never"!==d.options[0],l=p?"missing":"extra",g=d.getSourceCode();return{BlockStatement:k,SwitchStatement:k}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce consistent brace style for blocks",recommended:!1,url:"https://eslint.org/docs/rules/brace-style"},schema:[{enum:["1tbs","stroustrup","allman"]},{type:"object",properties:{allowSingleLine:{type:"boolean",default:!1}},
additionalProperties:!1}],fixable:"whitespace",messages:{nextLineOpen:"Opening curly brace does not appear on the same line as controlling statement.",sameLineOpen:"Opening curly brace appears on the same line as controlling statement.",blockSameLine:"Statement inside of curly braces should be on next line.",nextLineClose:"Closing curly brace does not appear on the same line as the subsequent block.",singleLineClose:"Closing curly brace should be on the same line as opening curly brace or on the line after the previous block.",
sameLineClose:"Closing curly brace appears on the same line as the subsequent block."}},create(d){function m(f,n){const e=[f.range[1],n.range[0]];return g.text.slice(e[0],e[1]).trim()?null:q=>q.replaceTextRange(e," ")}function h(f,n){const e=g.getTokenBefore(f),q=g.getTokenAfter(f),t=g.getTokenBefore(n),r=l.allowSingleLine&&b.isTokenOnSameLine(f,n);"allman"===p||b.isTokenOnSameLine(e,f)||d.report({node:f,messageId:"nextLineOpen",fix:m(e,f)});"allman"===p&&b.isTokenOnSameLine(e,f)&&!r&&d.report({node:f,
messageId:"sameLineOpen",fix:v=>v.insertTextBefore(f,"\n")});b.isTokenOnSameLine(f,q)&&q!==n&&!r&&d.report({node:f,messageId:"blockSameLine",fix:v=>v.insertTextAfter(f,"\n")});t!==f&&!r&&b.isTokenOnSameLine(t,n)&&d.report({node:n,messageId:"singleLineClose",fix:v=>v.insertTextBefore(n,"\n")})}function k(f){const n=g.getTokenAfter(f);"1tbs"!==p||b.isTokenOnSameLine(f,n)||d.report({node:f,messageId:"nextLineClose",fix:m(f,n)});"1tbs"!==p&&b.isTokenOnSameLine(f,n)&&d.report({node:f,messageId:"sameLineClose",
fix:e=>e.insertTextAfter(f,"\n")})}const p=d.options[0]||"1tbs",l=d.options[1]||{},g=d.getSourceCode();return{BlockStatement(f){b.STATEMENT_LIST_PARENTS.has(f.parent.type)||h(g.getFirstToken(f),g.getLastToken(f))},ClassBody(f){h(g.getFirstToken(f),g.getLastToken(f))},SwitchStatement(f){const n=g.getLastToken(f);f=g.getTokenBefore(f.cases.length?f.cases[0]:n);h(f,n)},IfStatement(f){"BlockStatement"===f.consequent.type&&f.alternate&&k(g.getLastToken(f.consequent))},TryStatement(f){k(g.getLastToken(f.block));
f.handler&&f.finalizer&&k(g.getLastToken(f.handler.body))}}}}},u=>{u.exports={meta:{deprecated:!0,replacedBy:[],type:"suggestion",docs:{description:"require `return` statements after callbacks",recommended:!1,url:"https://eslint.org/docs/rules/callback-return"},schema:[{type:"array",items:{type:"string"}}],messages:{missingReturn:"Expected return with your callback function."}},create(c){function a(k,p){return k.parent?-1===p.indexOf(k.parent.type)?a(k.parent,p):k.parent:null}function b(k){if("Identifier"===
k.type)return!0;if("MemberExpression"===k.type){if("Identifier"===k.object.type)return!0;if("MemberExpression"===k.object.type)return b(k.object)}return!1}function d(k,p){return p&&"ExpressionStatement"===p.type?p.expression===k||("BinaryExpression"===p.expression.type||"LogicalExpression"===p.expression.type)&&p.expression.right===k?!0:!1:!1}const m=c.options[0]||["callback","cb","next"],h=c.getSourceCode();return{CallExpression(k){if(b(k.callee)&&-1<m.indexOf(h.getText(k.callee))){var p=a(k,["BlockStatement",
"ReturnStatement","ArrowFunctionExpression"])||{};if("ReturnStatement"!==p.type&&"ArrowFunctionExpression"!==p.type){if("BlockStatement"===p.type){const l=p.body[p.body.length-1];if(d(k,l)){const g=p.parent.type;if("FunctionExpression"===g||"FunctionDeclaration"===g||"ArrowFunctionExpression"===g)return}if("ReturnStatement"===l.type&&d(k,p.body[p.body.length-2]))return}a(k,["FunctionDeclaration","FunctionExpression","ArrowFunctionExpression"])&&c.report({node:k,messageId:"missingReturn"})}}}}}}},
u=>{u.exports={meta:{type:"suggestion",docs:{description:"enforce camelcase naming convention",recommended:!1,url:"https://eslint.org/docs/rules/camelcase"},schema:[{type:"object",properties:{ignoreDestructuring:{type:"boolean",default:!1},ignoreImports:{type:"boolean",default:!1},ignoreGlobals:{type:"boolean",default:!1},properties:{enum:["always","never"]},allow:{type:"array",items:[{type:"string"}],minItems:0,uniqueItems:!0}},additionalProperties:!1}],messages:{notCamelCase:"Identifier '{{name}}' is not in camel case.",
notCamelCasePrivate:"#{{name}} is not in camel case."}},create(c){function a(t){return e.some(r=>t===r||t.match(new RegExp(r,"u")))}function b(t){var r=t.replace(/^_+|_+$/gu,"");r=r.includes("_")&&r!==r.toUpperCase();return!r||a(t)}function d(t){const r=t.parent;switch(r.type){case "AssignmentExpression":case "AssignmentPattern":return r.left===t;case "Property":return"ObjectPattern"===r.parent.type&&r.value===t;case "ArrayPattern":case "RestElement":return!0;default:return!1}}function m(t){const r=
t.name,v="AssignmentPattern"===t.parent.type?t.parent:t,z=v.parent;switch(z.type){case "Property":return"ObjectPattern"===z.parent.type&&z.value===v&&!z.computed&&"Identifier"===z.key.type&&z.key.name===r;case "ImportSpecifier":return z.local===t&&z.imported.name===r;default:return!1}}function h(t){q.has(t.range[0])||(q.add(t.range[0]),c.report({node:t,messageId:"PrivateIdentifier"===t.type?"notCamelCasePrivate":"notCamelCase",data:{name:t.name}}))}function k(t){"CallExpression"===t.parent.type||
"NewExpression"===t.parent.type||"AssignmentPattern"===t.parent.type&&t.parent.right===t||g&&m(t)||h(t)}const p=c.options[0]||{},l="never"===p.properties?"never":"always",g=p.ignoreDestructuring,f=p.ignoreImports,n=p.ignoreGlobals,e=p.allow||[],q=new Set;return{Program(){var t=c.getScope();if(!n)for(const r of t.variables)if(!(0<r.identifiers.length||b(r.name)))for(const v of r.references)k(v.identifier);for(const r of t.through)t=r.identifier,b(t.name)||k(t)},["VariableDeclaration FunctionDeclaration FunctionExpression ArrowFunctionExpression ClassDeclaration ClassExpression CatchClause".split(" ")](t){for(const r of c.getDeclaredVariables(t))if(!b(r.name)){t=
r.identifiers[0];g&&m(t)||h(t);for(const v of r.references)v.init||k(v.identifier)}},[["ObjectExpression > Property[computed!=true] > Identifier.key","MethodDefinition[computed!=true] > Identifier.key","PropertyDefinition[computed!=true] > Identifier.key","MethodDefinition > PrivateIdentifier.key","PropertyDefinition > PrivateIdentifier.key"]](t){"never"===l||b(t.name)||h(t)},["MemberExpression[computed!=true] > Identifier.property"](t){"never"!==l&&d(t.parent)&&!b(t.name)&&h(t)},ImportDeclaration(t){for(const r of c.getDeclaredVariables(t))if(!b(r.name)){t=
r.identifiers[0];f&&m(t)||h(t);for(const v of r.references)k(v.identifier)}},[["ExportAllDeclaration > Identifier.exported","ExportSpecifier > Identifier.exported"]](t){b(t.name)||h(t)},[["LabeledStatement > Identifier.label","BreakStatement > Identifier.label","ContinueStatement > Identifier.label"]](t){b(t.name)||h(t)}}}}},(u,c,a)=>{function b(g={}){return{Line:Object.assign({},l,g.line||g),Block:Object.assign({},l,g.block||g)}}function d(g){Object.keys(g).forEach(f=>{var n=g[f].ignorePattern;n&&
(n=RegExp("^\\s*(?:".concat(n,")"),"u"),g[f].ignorePatternRegExp=n)})}const m=a(589),h=a(571).COMMENTS_IGNORE_PATTERN,k=/\s/gu,p=/^\s*[^:/?#\s]+:\/\/[^?#]/u;c={type:"object",properties:{ignorePattern:{type:"string"},ignoreInlineComments:{type:"boolean"},ignoreConsecutiveComments:{type:"boolean"}},additionalProperties:!1};const l={ignorePattern:"",ignoreInlineComments:!1,ignoreConsecutiveComments:!1};u.exports={meta:{type:"suggestion",docs:{description:"enforce or disallow capitalization of the first letter of a comment",
recommended:!1,url:"https://eslint.org/docs/rules/capitalized-comments"},fixable:"code",schema:[{enum:["always","never"]},{oneOf:[c,{type:"object",properties:{line:c,block:c},additionalProperties:!1}]}],messages:{unexpectedLowercaseComment:"Comments should not begin with a lowercase character.",unexpectedUppercaseComment:"Comments should not begin with an uppercase character."}},create(g){function f(r,v){if(h.test(r.value))return!0;var z=r.value.replace(/\*/gu,"");if(v.ignorePatternRegExp&&v.ignorePatternRegExp.test(z))return!0;
var E;if(E=v.ignoreInlineComments){{E=t.getTokenBefore(r,{includeComments:!0});const A=t.getTokenAfter(r,{includeComments:!0});E=!(!E||!A||r.loc.start.line!==E.loc.end.line||r.loc.end.line!==A.loc.start.line)}}if(E)return!0;if(v=v.ignoreConsecutiveComments)r=t.getTokenBefore(r,{includeComments:!0}),v=!(!r||-1===["Block","Line"].indexOf(r.type));if(v||p.test(z))return!0;z=z.replace(k,"");if(0===z.length)return!0;r=z[0];if(!m.test(r))return!0;z=r!==r.toLocaleLowerCase();r=r!==r.toLocaleUpperCase();
return"always"===e&&r||"never"===e&&z?!1:!0}function n(r){f(r,q[r.type])||g.report({node:null,loc:r.loc,messageId:"always"===e?"unexpectedLowercaseComment":"unexpectedUppercaseComment",fix(v){const z=r.value.match(m);return v.replaceTextRange([r.range[0]+z.index+2,r.range[0]+z.index+3],"always"===e?z[0].toLocaleUpperCase():z[0].toLocaleLowerCase())}})}const e=g.options[0]||"always",q=b(g.options[1]),t=g.getSourceCode();d(q);return{Program(){t.getAllComments().filter(r=>"Shebang"!==r.type).forEach(n)}}}}},
u=>{u.exports=/[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B2\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDE00-\uDE11\uDE13-\uDE2B\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDE00-\uDE2F\uDE44\uDE80-\uDEAA]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF98]|[\uD80C\uD840-\uD868\uD86A-\uD86C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D]|\uD87E[\uDC00-\uDE1D]/u},
(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"enforce that class methods utilize `this`",recommended:!1,url:"https://eslint.org/docs/rules/class-methods-use-this"},schema:[{type:"object",properties:{exceptMethods:{type:"array",items:{type:"string"}},enforceForClassFields:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{missingThis:"Expected 'this' to be used by class {{name}}."}},create(d){function m(){e.push(!1)}function h(){return e.pop()}function k(){m()}
function p(q){const t=h();var r=q.parent;b:switch(r.type){case "MethodDefinition":var v=!r.static&&"constructor"!==r.kind;break b;case "PropertyDefinition":v=!r.static&&f;break b;default:v=!1}v?r.computed?r=!0:(v="PrivateIdentifier"===r.key.type?"#":"",r="Literal"===r.key.type?b.getStaticStringValue(r.key):r.key.name||"",r=!n.has(v+r)):r=!1;r&&!t&&d.report({node:q,loc:b.getFunctionHeadLoc(q,d.getSourceCode()),messageId:"missingThis",data:{name:b.getFunctionNameWithKind(q)}})}function l(){e.length&&
(e[e.length-1]=!0)}const g=Object.assign({},d.options[0]),f=!1!==g.enforceForClassFields,n=new Set(g.exceptMethods||[]),e=[];return{FunctionDeclaration:k,"FunctionDeclaration:exit":p,FunctionExpression:k,"FunctionExpression:exit":p,"PropertyDefinition:exit":h,"PropertyDefinition > *.key:exit":m,ThisExpression:l,Super:l,...f&&{"PropertyDefinition > ArrowFunctionExpression.value":k,"PropertyDefinition > ArrowFunctionExpression.value:exit":p}}}}},(u,c,a)=>{function b(h,k){return"string"===typeof h?{arrays:h,
objects:h,imports:h,exports:h,functions:!k||8>k?"ignore":h}:"object"===typeof h&&null!==h?{arrays:h.arrays||m.arrays,objects:h.objects||m.objects,imports:h.imports||m.imports,exports:h.exports||m.exports,functions:h.functions||m.functions}:m}const d=a(571),m=Object.freeze({arrays:"never",objects:"never",imports:"never",exports:"never",functions:"never"});u.exports={meta:{type:"layout",docs:{description:"require or disallow trailing commas",recommended:!1,url:"https://eslint.org/docs/rules/comma-dangle"},
fixable:"code",schema:{definitions:{value:{enum:["always-multiline","always","never","only-multiline"]},valueWithIgnore:{enum:["always-multiline","always","ignore","never","only-multiline"]}},type:"array",items:[{oneOf:[{$ref:"#/definitions/value"},{type:"object",properties:{arrays:{$ref:"#/definitions/valueWithIgnore"},objects:{$ref:"#/definitions/valueWithIgnore"},imports:{$ref:"#/definitions/valueWithIgnore"},exports:{$ref:"#/definitions/valueWithIgnore"},functions:{$ref:"#/definitions/valueWithIgnore"}},
additionalProperties:!1}]}],additionalItems:!1},messages:{unexpected:"Unexpected trailing comma.",missing:"Missing trailing comma."}},create(h){function k(t){function r(v){return v[v.length-1]}switch(t.type){case "ObjectExpression":case "ObjectPattern":return r(t.properties);case "ArrayExpression":case "ArrayPattern":return r(t.elements);case "ImportDeclaration":case "ExportNamedDeclaration":return r(t.specifiers);case "FunctionDeclaration":case "FunctionExpression":case "ArrowFunctionExpression":return r(t.params);
case "CallExpression":case "NewExpression":return r(t.arguments);default:return null}}function p(t,r){switch(t.type){case "ObjectExpression":case "ArrayExpression":case "CallExpression":case "NewExpression":return e.getLastToken(t,1);default:return t=e.getTokenAfter(r),d.isCommaToken(t)?t:e.getLastToken(r)}}function l(t){const r=k(t);if(!r)return!1;t=p(t,r);return e.getTokenAfter(t).loc.end.line!==t.loc.end.line}function g(t){const r=k(t);if(r&&("ImportDeclaration"!==t.type||"ImportSpecifier"===r.type)){var v=
p(t,r);d.isCommaToken(v)&&h.report({node:r,loc:v.loc,messageId:"unexpected",fix(z){return z.remove(v)}})}}function f(t){const r=k(t);if(r&&("ImportDeclaration"!==t.type||"ImportSpecifier"===r.type))if("RestElement"===r.type||"RestProperty"===r.type||"ExperimentalRestProperty"===r.type)g(t);else{var v=p(t,r);","!==v.value&&h.report({node:r,loc:{start:v.loc.end,end:d.getNextLocation(e,v.loc.end)},messageId:"missing",fix(z){return z.insertTextAfter(v,",")}})}}const n=b(h.options[0],h.parserOptions.ecmaVersion),
e=h.getSourceCode(),q={always:f,"always-multiline":function(t){l(t)?f(t):g(t)},"only-multiline":function(t){l(t)||g(t)},never:g,ignore:()=>{}};return{ObjectExpression:q[n.objects],ObjectPattern:q[n.objects],ArrayExpression:q[n.arrays],ArrayPattern:q[n.arrays],ImportDeclaration:q[n.imports],ExportNamedDeclaration:q[n.exports],FunctionDeclaration:q[n.functions],FunctionExpression:q[n.functions],ArrowFunctionExpression:q[n.functions],CallExpression:q[n.functions],NewExpression:q[n.functions]}}}},(u,
c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce consistent spacing before and after commas",recommended:!1,url:"https://eslint.org/docs/rules/comma-spacing"},fixable:"whitespace",schema:[{type:"object",properties:{before:{type:"boolean",default:!1},after:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{missing:"A space is required {{loc}} ','.",unexpected:"There should be no space {{loc}} ','."}},create(d){function m(f,n,e){d.report({node:f,fix(q){if(l[n])return"before"===
n?q.insertTextBefore(f," "):q.insertTextAfter(f," ");let t,r;"before"===n?(t=e.range[1],r=f.range[0]):(t=f.range[1],r=e.range[0]);return q.replaceTextRange([t,r],"")},messageId:l[n]?"missing":"unexpected",data:{loc:n}})}function h(f){let n=k.getFirstToken(f);f.elements.forEach(e=>{null===e?(e=k.getTokenAfter(n),b.isCommaToken(e)&&g.push(e)):e=k.getTokenAfter(e);n=e})}const k=d.getSourceCode(),p=k.tokensAndComments,l={before:d.options[0]?d.options[0].before:!1,after:d.options[0]?d.options[0].after:
!0},g=[];return{["Program:exit"](){p.forEach((f,n)=>{if(b.isCommaToken(f)&&(!f||"JSXText"!==f.type)){var e=p[n-1];n=p[n+1];e=b.isCommaToken(e)||g.includes(f)?null:e;n=b.isCommaToken(n)?null:n;e&&b.isTokenOnSameLine(e,f)&&l.before!==k.isSpaceBetweenTokens(e,f)&&m(f,"before",e);n&&b.isClosingParenToken(n)||(!n||l.after||"Line"!==n.type)&&n&&b.isTokenOnSameLine(f,n)&&l.after!==k.isSpaceBetweenTokens(f,n)&&m(f,"after",n)}})},ArrayExpression:h,ArrayPattern:h}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",
docs:{description:"enforce consistent comma style",recommended:!1,url:"https://eslint.org/docs/rules/comma-style"},fixable:"code",schema:[{enum:["first","last"]},{type:"object",properties:{exceptions:{type:"object",additionalProperties:{type:"boolean"}}},additionalProperties:!1}],messages:{unexpectedLineBeforeAndAfterComma:"Bad line breaking before and after ','.",expectedCommaFirst:"',' should be placed first.",expectedCommaLast:"',' should be placed last."}},create(d){function m(e,q){switch(e){case "between":return",".concat(q.replace(b.LINEBREAK_MATCHER,
""));case "first":return"".concat(q,",");case "last":return",".concat(q);default:return""}}function h(e,q,t,r){const v=g.text.slice(q.range[1],t.range[0])+g.text.slice(t.range[1],r.range[0]),z=[q.range[1],r.range[0]];return function(E){return E.replaceTextRange(z,m(e,v))}}function k(e,q,t,r){if(!b.isTokenOnSameLine(q,t)||!b.isTokenOnSameLine(e,q))if(b.isTokenOnSameLine(q,t)||b.isTokenOnSameLine(e,q))"first"!==l||b.isTokenOnSameLine(q,t)?"last"===l&&b.isTokenOnSameLine(q,t)&&d.report({node:r,loc:q.loc,
messageId:"expectedCommaLast",fix:h(l,e,q,t)}):d.report({node:r,loc:q.loc,messageId:"expectedCommaFirst",fix:h(l,e,q,t)});else{var v=g.getCommentsAfter(q)[0];v=v&&"Block"===v.type&&b.isTokenOnSameLine(q,v)?l:"between";d.report({node:r,loc:q.loc,messageId:"unexpectedLineBeforeAndAfterComma",fix:h(v,e,q,t)})}}function p(e,q){q=e[q];const t="ArrayExpression"===e.type||"ArrayPattern"===e.type;if(1<q.length||t){let r=g.getFirstToken(e);q.forEach(v=>{const z=v?g.getTokenBefore(v):r,E=v?g.getFirstToken(v):
g.getTokenAfter(z),A=v||E;b.isCommaToken(z)&&k(r,z,E,A);r=v?(v=g.getTokenAfter(v,b.isNotClosingParenToken))?g.getTokenBefore(v):g.ast.tokens[g.ast.tokens.length-1]:E});t&&(e=g.getLastToken(e),q=g.getTokenBefore(e),b.isCommaToken(q)&&k(g.getTokenBefore(q),q,e,e))}}const l=d.options[0]||"last",g=d.getSourceCode(),f={ArrayPattern:!0,ArrowFunctionExpression:!0,CallExpression:!0,FunctionDeclaration:!0,FunctionExpression:!0,ImportDeclaration:!0,ObjectPattern:!0,NewExpression:!0};if(2===d.options.length&&
Object.prototype.hasOwnProperty.call(d.options[1],"exceptions")){var n=Object.keys(d.options[1].exceptions);for(let e=0;e<n.length;e++)f[n[e]]=d.options[1].exceptions[n[e]]}n={};f.VariableDeclaration||(n.VariableDeclaration=function(e){p(e,"declarations")});f.ObjectExpression||(n.ObjectExpression=function(e){p(e,"properties")});f.ObjectPattern||(n.ObjectPattern=function(e){p(e,"properties")});f.ArrayExpression||(n.ArrayExpression=function(e){p(e,"elements")});f.ArrayPattern||(n.ArrayPattern=function(e){p(e,
"elements")});f.FunctionDeclaration||(n.FunctionDeclaration=function(e){p(e,"params")});f.FunctionExpression||(n.FunctionExpression=function(e){p(e,"params")});f.ArrowFunctionExpression||(n.ArrowFunctionExpression=function(e){p(e,"params")});f.CallExpression||(n.CallExpression=function(e){p(e,"arguments")});f.ImportDeclaration||(n.ImportDeclaration=function(e){p(e,"specifiers")});f.NewExpression||(n.NewExpression=function(e){p(e,"arguments")});return n}}},(u,c,a)=>{const b=a(571),{upperCaseFirst:d}=
a(595);u.exports={meta:{type:"suggestion",docs:{description:"enforce a maximum cyclomatic complexity allowed in a program",recommended:!1,url:"https://eslint.org/docs/rules/complexity"},schema:[{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{maximum:{type:"integer",minimum:0},max:{type:"integer",minimum:0}},additionalProperties:!1}]}],messages:{complex:"{{name}} has a complexity of {{complexity}}. Maximum allowed is {{max}}."}},create(m){function h(){l[l.length-1]++}const k=m.options[0];
let p=20;"object"===typeof k&&(Object.prototype.hasOwnProperty.call(k,"maximum")||Object.prototype.hasOwnProperty.call(k,"max"))?p=k.maximum||k.max:"number"===typeof k&&(p=k);const l=[];return{onCodePathStart(){l.push(1)},CatchClause:h,ConditionalExpression:h,LogicalExpression:h,ForStatement:h,ForInStatement:h,ForOfStatement:h,IfStatement:h,WhileStatement:h,DoWhileStatement:h,"SwitchCase[test]":h,AssignmentExpression(g){b.isLogicalAssignmentOperator(g.operator)&&h()},onCodePathEnd(g,f){const n=l.pop();
("function"===g.origin||"class-field-initializer"===g.origin)&&n>p&&(g="class-field-initializer"===g.origin?"class field initializer":b.getFunctionNameWithKind(f),m.report({node:f,messageId:"complex",data:{name:d(g),complexity:n,max:p}}))}}}}},u=>{u.exports={upperCaseFirst:function(c){return 1>=c.length?c.toUpperCase():c[0].toUpperCase()+c.slice(1)}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce consistent spacing inside computed property brackets",recommended:!1,
url:"https://eslint.org/docs/rules/computed-property-spacing"},fixable:"whitespace",schema:[{enum:["always","never"]},{type:"object",properties:{enforceForClassMembers:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{unexpectedSpaceBefore:"There should be no space before '{{tokenValue}}'.",unexpectedSpaceAfter:"There should be no space after '{{tokenValue}}'.",missingSpaceBefore:"A space is required before '{{tokenValue}}'.",missingSpaceAfter:"A space is required after '{{tokenValue}}'."}},
create(d){function m(q,t,r){d.report({node:q,loc:{start:t.loc.end,end:r.loc.start},messageId:"unexpectedSpaceAfter",data:{tokenValue:t.value},fix(v){return v.removeRange([t.range[1],r.range[0]])}})}function h(q,t,r){d.report({node:q,loc:{start:r.loc.end,end:t.loc.start},messageId:"unexpectedSpaceBefore",data:{tokenValue:t.value},fix(v){return v.removeRange([r.range[1],t.range[0]])}})}function k(q,t){d.report({node:q,loc:t.loc,messageId:"missingSpaceAfter",data:{tokenValue:t.value},fix(r){return r.insertTextAfter(t,
" ")}})}function p(q,t){d.report({node:q,loc:t.loc,messageId:"missingSpaceBefore",data:{tokenValue:t.value},fix(r){return r.insertTextBefore(t," ")}})}function l(q){return function(t){if(t.computed){var r=t[q],v=g.getTokenBefore(r,b.isOpeningBracketToken),z=g.getTokenAfter(v,{includeComments:!0});r=g.getTokenAfter(r,b.isClosingBracketToken);var E=g.getTokenBefore(r,{includeComments:!0});b.isTokenOnSameLine(v,z)&&(f?!g.isSpaceBetweenTokens(v,z)&&b.isTokenOnSameLine(v,z)&&k(t,v):g.isSpaceBetweenTokens(v,
z)&&m(t,v,z));b.isTokenOnSameLine(E,r)&&(f?!g.isSpaceBetweenTokens(E,r)&&b.isTokenOnSameLine(E,r)&&p(t,r):g.isSpaceBetweenTokens(E,r)&&h(t,r,E))}}}const g=d.getSourceCode(),f="always"===d.options[0],n=!d.options[1]||d.options[1].enforceForClassMembers,e={Property:l("key"),MemberExpression:l("property")};n&&(e.MethodDefinition=e.PropertyDefinition=e.Property);return e}}},(u,c,a)=>{function b(h){return!h.reachable}const d=a(571),{upperCaseFirst:m}=a(595);u.exports={meta:{type:"suggestion",docs:{description:"require `return` statements to either always or never specify values",
recommended:!1,url:"https://eslint.org/docs/rules/consistent-return"},schema:[{type:"object",properties:{treatUndefinedAsUnspecified:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{missingReturn:"Expected to return a value at the end of {{name}}.",missingReturnValue:"{{name}} expected a return value.",unexpectedReturnValue:"{{name}} expected no return value."}},create(h){function k(g){let f,n;!l.hasReturnValue||l.codePath.currentSegments.every(b)||d.isES5Constructor(g)||"FunctionExpression"===
g.type&&g.parent&&"MethodDefinition"===g.parent.type&&"constructor"===g.parent.kind||("Program"===g.type?(f={line:1,column:0},n="program"):f="ArrowFunctionExpression"===g.type?h.getSourceCode().getTokenBefore(g.body,d.isArrowToken).loc:"MethodDefinition"===g.parent.type||"Property"===g.parent.type&&g.parent.method?g.parent.key.loc:(g.id||h.getSourceCode().getFirstToken(g)).loc,n||(n=d.getFunctionNameWithKind(g)),h.report({node:g,loc:f,messageId:"missingReturn",data:{name:n}}))}const p=!0===(h.options[0]||
{}).treatUndefinedAsUnspecified;let l=null;return{onCodePathStart(g,f){l={upper:l,codePath:g,hasReturn:!1,hasReturnValue:!1,messageId:"",node:f}},onCodePathEnd(){l=l.upper},ReturnStatement(g){const f=g.argument;let n=!!f;p&&n&&(n=!d.isSpecificId(f,"undefined")&&"void"!==f.operator);l.hasReturn?l.hasReturnValue!==n&&h.report({node:g,messageId:l.messageId,data:l.data}):(l.hasReturn=!0,l.hasReturnValue=n,l.messageId=n?"missingReturnValue":"unexpectedReturnValue",l.data={name:"Program"===l.node.type?
"Program":m(d.getFunctionNameWithKind(l.node))})},"Program:exit":k,"FunctionDeclaration:exit":k,"FunctionExpression:exit":k,"ArrowFunctionExpression:exit":k}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"enforce consistent naming when capturing the current execution context",recommended:!1,url:"https://eslint.org/docs/rules/consistent-this"},schema:{type:"array",items:{type:"string",minLength:1},uniqueItems:!0},messages:{aliasNotAssignedToThis:"Designated alias '{{name}}' is not assigned to 'this'.",
unexpectedAlias:"Unexpected alias '{{name}}' for 'this'."}},create(c){function a(k,p){c.report({node:k,messageId:"aliasNotAssignedToThis",data:{name:p}})}function b(k,p,l){l="ThisExpression"===l.type;-1!==h.indexOf(p)?(!l||k.operator&&"="!==k.operator)&&a(k,p):l&&c.report({node:k,messageId:"unexpectedAlias",data:{name:p}})}function d(k,p){const l=p.set.get(k);l&&(l.defs.some(g=>"VariableDeclarator"===g.node.type&&null!==g.node.init)||l.references.some(g=>{const f=g.writeExpr;return g.from===p&&f&&
"ThisExpression"===f.type&&"="===f.parent.operator})||l.defs.map(g=>g.node).forEach(g=>{a(g,k)}))}function m(){const k=c.getScope();h.forEach(p=>{d(p,k)})}let h=[];0===c.options.length?h.push("that"):h=c.options;return{"Program:exit":m,"FunctionExpression:exit":m,"FunctionDeclaration:exit":m,VariableDeclarator(k){const p=k.id,l="ArrayPattern"===p.type||"ObjectPattern"===p.type;null===k.init||l||b(k,p.name,k.init)},AssignmentExpression(k){"Identifier"===k.left.type&&b(k,k.left.name,k.right)}}}}},u=>
{function c(b){return b.reachable}function a(b){if(!b)return!1;switch(b.type){case "ClassExpression":case "FunctionExpression":case "ThisExpression":case "MemberExpression":case "CallExpression":case "NewExpression":case "ChainExpression":case "YieldExpression":case "TaggedTemplateExpression":case "MetaProperty":return!0;case "Identifier":return"undefined"!==b.name;case "AssignmentExpression":return["=","&&="].includes(b.operator)?a(b.right):["||=","??="].includes(b.operator)?a(b.left)||a(b.right):
!1;case "LogicalExpression":return"&&"===b.operator?a(b.right):a(b.left)||a(b.right);case "ConditionalExpression":return a(b.alternate)||a(b.consequent);case "SequenceExpression":return a(b.expressions[b.expressions.length-1]);default:return!1}}u.exports={meta:{type:"problem",docs:{description:"require `super()` calls in constructors",recommended:!0,url:"https://eslint.org/docs/rules/constructor-super"},schema:[],messages:{missingSome:"Lacked a call of 'super()' in some code paths.",missingAll:"Expected to call 'super()'.",
duplicate:"Unexpected duplicate 'super()'.",badSuper:"Unexpected 'super()' because 'super' is not a constructor.",unexpected:"Unexpected 'super()'."}},create(b){function d(p){return p.reachable&&k[p.id].calledInSomePaths}function m(p){return 1===p.nextSegments.length&&p.nextSegments[0].isLoopedPrevSegment(p)?!0:p.reachable&&k[p.id].calledInEveryPaths}let h=null,k=Object.create(null);return{onCodePathStart(p,l){"FunctionExpression"===l.type&&"MethodDefinition"===l.parent.type&&"constructor"===l.parent.kind?
(l=l.parent.parent.parent.superClass,h={upper:h,isConstructor:!0,hasExtends:!!l,superIsConstructor:a(l),codePath:p}):h={upper:h,isConstructor:!1,hasExtends:!1,superIsConstructor:!1,codePath:p}},onCodePathEnd(p,l){var g=h.hasExtends;h=h.upper;g&&(g=p.returnedSegments,p=g.every(m),g=g.some(d),p||b.report({messageId:g?"missingSome":"missingAll",node:l.parent}))},onCodePathSegmentStart(p){if(h&&h.isConstructor&&h.hasExtends){var l=k[p.id]={calledInSomePaths:!1,calledInEveryPaths:!1,validNodes:[]};p=p.prevSegments;
0<p.length&&(l.calledInSomePaths=p.some(d),l.calledInEveryPaths=p.every(m))}},onCodePathSegmentLoop(p,l){if(h&&h.isConstructor&&h.hasExtends){var g=2<=l.prevSegments.length;h.codePath.traverseSegments({first:l,last:p},f=>{var n=k[f.id];f=f.prevSegments;n.calledInSomePaths=f.some(d);n.calledInEveryPaths=f.every(m);if(n.calledInSomePaths||g)for(f=n.validNodes,n.validNodes=[],n=0;n<f.length;++n)b.report({messageId:"duplicate",node:f[n]})})}},["CallExpression:exit"](p){if(h&&h.isConstructor&&"Super"===
p.callee.type)if(h.hasExtends){const l=h.codePath.currentSegments;let g=!1,f=null;for(let n=0;n<l.length;++n){const e=l[n];e.reachable&&(f=k[e.id],g=g||f.calledInSomePaths,f.calledInSomePaths=f.calledInEveryPaths=!0)}f&&(g?b.report({messageId:"duplicate",node:p}):h.superIsConstructor?f.validNodes.push(p):b.report({messageId:"badSuper",node:p}))}else h.codePath.currentSegments.some(c)&&b.report({messageId:"unexpected",node:p})},ReturnStatement(p){if(h&&h.isConstructor&&h.hasExtends&&p.argument){p=
h.codePath.currentSegments;for(let g=0;g<p.length;++g){var l=p[g];l.reachable&&(l=k[l.id],l.calledInSomePaths=l.calledInEveryPaths=!0)}}},["Program:exit"](){k=Object.create(null)}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"enforce consistent brace style for all control statements",recommended:!1,url:"https://eslint.org/docs/rules/curly"},schema:{anyOf:[{type:"array",items:[{enum:["all"]}],minItems:0,maxItems:1},{type:"array",items:[{enum:["multi","multi-line",
"multi-or-nest"]},{enum:["consistent"]}],minItems:0,maxItems:2}]},fixable:"code",messages:{missingCurlyAfter:"Expected { after '{{name}}'.",missingCurlyAfterCondition:"Expected { after '{{name}}' condition.",unexpectedCurlyAfter:"Unnecessary { after '{{name}}'.",unexpectedCurlyAfterCondition:"Unnecessary { after '{{name}}' condition."}},create(d){function m(r){const v=t.getTokenBefore(r);r=t.getLastToken(r);r=b.isSemicolonToken(r)?t.getTokenBefore(r):r;return v.loc.start.line===r.loc.end.line}function h(r){if("EmptyStatement"===
r.type)return!0;const v=t.getFirstToken(r);r=t.getLastToken(r);r=b.isSemicolonToken(r)?t.getTokenBefore(r):r;return v.loc.start.line===r.loc.end.line}function k(r){switch(r.type){case "IfStatement":return r.alternate?k(r.alternate):!0;case "ForStatement":case "ForInStatement":case "ForOfStatement":case "LabeledStatement":case "WithStatement":case "WhileStatement":return k(r.body);default:return!1}}function p(r){var v=r.body[0];var z="VariableDeclaration"===v.type?"const"===v.kind||"let"===v.kind:
"FunctionDeclaration"===v.type||"ClassDeclaration"===v.type;if(!z){if(v=k(v))r=t.getTokenAfter(r),v=!!r&&"else"===r.value&&"Keyword"===r.type;z=v}return z}function l(r,v,z,E){const A="BlockStatement"===v.type;var D=null;if(A&&(1!==v.body.length||p(v)))D=!0;else if(f)D=!1;else if(n)m(v)||(D=!0);else if(e)if(A){D=v.body[0];const F=t.getCommentsBefore(D);D=!h(D)||0<F.length}else D=!h(v);else D=!0;return{actual:A,expected:D,check(){null!==this.expected&&this.expected!==this.actual&&(this.expected?d.report({node:r,
loc:v.loc,messageId:E&&E.condition?"missingCurlyAfterCondition":"missingCurlyAfter",data:{name:z},fix:F=>F.replaceText(v,"{".concat(t.getText(v),"}"))}):d.report({node:r,loc:v.loc,messageId:E&&E.condition?"unexpectedCurlyAfterCondition":"unexpectedCurlyAfter",data:{name:z},fix(F){const C="DoWhileStatement"===r.type&&t.getTokenBefore(v).range[1]===v.range[0]&&!b.canTokensBeAdjacent("do",t.getFirstToken(v,{skip:1}));var B=t.getFirstToken(v);const I=t.getLastToken(v),J=t.getTokenBefore(I);{var M=t.getTokenBefore(I);
const P=t.getTokenAfter(I),O=t.getNodeByRangeIndex(M.range[0]);M=b.isSemicolonToken(M)||!P||"BlockStatement"===O.type&&"FunctionExpression"!==O.parent.type&&"ArrowFunctionExpression"!==O.parent.type?!1:M.loc.end.line===P.loc.start.line||/^[([/`+-]/u.test(P.value)||"Punctuator"===M.type&&("++"===M.value||"--"===M.value)?!0:!1}if(M)return null;B=t.getText().slice(B.range[1],J.range[0])+t.getText(J)+t.getText().slice(J.range[1],I.range[0]);return F.replaceText(v,(C?" ":"")+B)}}))}}}function g(r){const v=
[];for(;r;r=r.alternate)if(v.push(l(r,r.consequent,"if",{condition:!0})),r.alternate&&"IfStatement"!==r.alternate.type){v.push(l(r,r.alternate,"else"));break}if(q){const z=v.some(E=>null!==E.expected?E.expected:E.actual);v.forEach(E=>{E.expected=z})}return v}const f="multi"===d.options[0],n="multi-line"===d.options[0],e="multi-or-nest"===d.options[0],q="consistent"===d.options[1],t=d.getSourceCode();return{IfStatement(r){const v=r.parent;"IfStatement"===v.type&&v.alternate===r||g(r).forEach(z=>{z.check()})},
WhileStatement(r){l(r,r.body,"while",{condition:!0}).check()},DoWhileStatement(r){l(r,r.body,"do").check()},ForStatement(r){l(r,r.body,"for",{condition:!0}).check()},ForInStatement(r){l(r,r.body,"for-in").check()},ForOfStatement(r){l(r,r.body,"for-of").check()}}}}},u=>{const c=/^no default$/iu;u.exports={meta:{type:"suggestion",docs:{description:"require `default` cases in `switch` statements",recommended:!1,url:"https://eslint.org/docs/rules/default-case"},schema:[{type:"object",properties:{commentPattern:{type:"string"}},
additionalProperties:!1}],messages:{missingDefaultCase:"Expected a default case."}},create(a){function b(k){return k[k.length-1]}const d=a.options[0]||{},m=d.commentPattern?new RegExp(d.commentPattern,"u"):c,h=a.getSourceCode();return{SwitchStatement(k){if(k.cases.length&&!k.cases.some(l=>null===l.test)){let l;var p=b(k.cases);p=h.getCommentsAfter(p);p.length&&(l=b(p));l&&m.test(l.value.trim())||a.report({node:k,messageId:"missingDefaultCase"})}}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"enforce default clauses in switch statements to be last",
recommended:!1,url:"https://eslint.org/docs/rules/default-case-last"},schema:[],messages:{notLast:"Default clause should be the last clause."}},create(c){return{SwitchStatement(a){a=a.cases;const b=a.findIndex(d=>null===d.test);-1!==b&&b!==a.length-1&&c.report({node:a[b],messageId:"notLast"})}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"enforce default parameters to be last",recommended:!1,url:"https://eslint.org/docs/rules/default-param-last"},schema:[],messages:{shouldBeLast:"Default parameters should be last."}},
create(c){function a(b){let d=!1;for(let m=b.params.length-1;0<=m;--m){const h=b.params[m];"AssignmentPattern"!==h.type&&"RestElement"!==h.type?d=!0:d&&"AssignmentPattern"===h.type&&c.report({node:h,messageId:"shouldBeLast"})}}return{FunctionDeclaration:a,FunctionExpression:a,ArrowFunctionExpression:a}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce consistent newlines before and after dots",recommended:!1,url:"https://eslint.org/docs/rules/dot-location"},schema:[{enum:["object",
"property"]}],fixable:"code",messages:{expectedDotAfterObject:"Expected dot to be on same line as object.",expectedDotBeforeProperty:"Expected dot to be on same line as property."}},create(d){function m(l){const g=l.property,f=p.getTokenBefore(g);if(k){const n=p.getTokenBefore(f);b.isTokenOnSameLine(n,f)||d.report({node:l,loc:f.loc,messageId:"expectedDotAfterObject",*fix(e){f.value.startsWith(".")&&b.isDecimalIntegerNumericToken(n)?yield e.insertTextAfter(n," ".concat(f.value)):yield e.insertTextAfter(n,
f.value);yield e.remove(f)}})}else b.isTokenOnSameLine(f,g)||d.report({node:l,loc:f.loc,messageId:"expectedDotBeforeProperty",*fix(n){yield n.remove(f);yield n.insertTextBefore(g,f.value)}})}const h=d.options[0],k="object"===h||!h,p=d.getSourceCode();return{MemberExpression:function(l){l.computed||m(l)}}}}},(u,c,a)=>{const b=a(571),d=a(606),m=/^[a-zA-Z_$][a-zA-Z0-9_$]*$/u,h=new Set(["string","boolean"]);u.exports={meta:{type:"suggestion",docs:{description:"enforce dot notation whenever possible",
recommended:!1,url:"https://eslint.org/docs/rules/dot-notation"},schema:[{type:"object",properties:{allowKeywords:{type:"boolean",default:!0},allowPattern:{type:"string",default:""}},additionalProperties:!1}],fixable:"code",messages:{useDot:"[{{key}}] is better written in dot notation.",useBrackets:".{{key}} is a syntax error."}},create(k){function p(e,q){if(!(!m.test(q)||!g&&-1!==d.indexOf(String(q))||n&&n.test(q))){const t="Literal"===e.property.type?JSON.stringify(q):"`".concat(q,"`");k.report({node:e.property,
messageId:"useDot",data:{key:t},*fix(r){const v=f.getTokenAfter(e.object,b.isOpeningBracketToken),z=f.getLastToken(e),E=f.getTokenAfter(e);f.commentsExistBetween(v,z)||(e.optional||(yield r.insertTextBefore(v,b.isDecimalInteger(e.object)?" .":".")),yield r.replaceTextRange([v.range[0],z.range[1]],q),E&&z.range[1]===E.range[0]&&!b.canTokensBeAdjacent(String(q),E)&&(yield r.insertTextAfter(e," ")))}})}}const l=k.options[0]||{},g=void 0===l.allowKeywords||l.allowKeywords,f=k.getSourceCode();let n;l.allowPattern&&
(n=new RegExp(l.allowPattern,"u"));return{MemberExpression(e){e.computed&&"Literal"===e.property.type&&(h.has(typeof e.property.value)||b.isNullLiteral(e.property))&&p(e,e.property.value);e.computed&&"TemplateLiteral"===e.property.type&&0===e.property.expressions.length&&p(e,e.property.quasis[0].value.cooked);g||e.computed||"Identifier"!==e.property.type||-1===d.indexOf(String(e.property.name))||k.report({node:e.property,messageId:"useBrackets",data:{key:e.property.name},*fix(q){const t=f.getTokenBefore(e.property);
"Identifier"===e.object.type&&"let"===e.object.name&&!e.optional||f.commentsExistBetween(t,e.property)||(e.optional||(yield q.remove(t)),yield q.replaceText(e.property,'["'.concat(e.property.name,'"]')))}})}}}}},u=>{u.exports="abstract boolean break byte case catch char class const continue debugger default delete do double else enum export extends false final finally float for function goto if implements import in instanceof int interface long native new null package private protected public return short static super switch synchronized this throw throws transient true try typeof var void volatile while with".split(" ")},
u=>{u.exports={meta:{type:"layout",docs:{description:"require or disallow newline at the end of files",recommended:!1,url:"https://eslint.org/docs/rules/eol-last"},fixable:"whitespace",schema:[{enum:["always","never","unix","windows"]}],messages:{missing:"Newline required at end of file but not found.",unexpected:"Newline not allowed at end of file."}},create(c){return{Program:function(a){const b=c.getSourceCode(),d=b.getText(),m={column:b.lines[b.lines.length-1].length,line:b.lines.length},h="\r".concat("\n"),
k=d.endsWith("\n");if(d.length){var p=c.options[0]||"always",l=!1;"unix"===p&&(p="always");"windows"===p&&(p="always",l=!0);"always"!==p||k?"never"===p&&k&&c.report({node:a,loc:{start:{line:b.lines.length-1,column:b.lines[b.lines.length-2].length},end:{line:b.lines.length,column:0}},messageId:"unexpected",fix(g){const f=/(?:\r?\n)+$/u.exec(b.text).index;return g.replaceTextRange([f,b.text.length],"")}}):c.report({node:a,loc:m,messageId:"missing",fix(g){return g.insertTextAfterRange([0,d.length],l?
h:"\n")}})}}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"require the use of `===` and `!==`",recommended:!1,url:"https://eslint.org/docs/rules/eqeqeq"},schema:{anyOf:[{type:"array",items:[{enum:["always"]},{type:"object",properties:{null:{enum:["always","never","ignore"]}},additionalProperties:!1}],additionalItems:!1},{type:"array",items:[{enum:["smart","allow-null"]}],additionalItems:!1}]},fixable:"code",messages:{unexpected:"Expected '{{expectedOperator}}' and instead saw '{{actualOperator}}'."}},
create(d){function m(q){return"UnaryExpression"===q.type&&"typeof"===q.operator}function h(q){return m(q.left)||m(q.right)}function k(q){return"Literal"===q.left.type&&"Literal"===q.right.type&&typeof q.left.value===typeof q.right.value}function p(q,t){const r=f.getFirstTokenBetween(q.left,q.right,v=>v.value===q.operator);d.report({node:q,loc:r.loc,messageId:"unexpected",data:{expectedOperator:t,actualOperator:q.operator},fix(v){return h(q)||k(q)?v.replaceText(r,t):null}})}const l=d.options[0]||"always";
var g=d.options[1]||{};const f=d.getSourceCode();g="always"===l?g.null||"always":"ignore";const n="always"===g,e="never"===g;return{BinaryExpression(q){var t=b.isNullLiteral(q.right)||b.isNullLiteral(q.left);"=="!==q.operator&&"!="!==q.operator?e&&t&&p(q,q.operator.slice(0,-1)):"smart"===l&&(h(q)||k(q)||t)||(n||!t)&&p(q,"".concat(q.operator,"="))}}}}},u=>{u.exports={meta:{type:"problem",docs:{description:'enforce "for" loop update clause moving the counter in the right direction.',recommended:!0,
url:"https://eslint.org/docs/rules/for-direction"},fixable:null,schema:[],messages:{incorrectDirection:"The update clause in this loop moves the variable in the wrong direction."}},create(c){function a(d){c.report({node:d,messageId:"incorrectDirection"})}function b(d,m){if("UnaryExpression"===d.right.type){if("-"===d.right.operator)return-m}else if("Identifier"===d.right.type)return 0;return m}return{ForStatement(d){if(d.test&&"BinaryExpression"===d.test.type&&"Identifier"===d.test.left.type&&d.update){var m=
d.test.left.name,h=d.test.operator,k=d.update;if("<"===h||"<="===h)h=-1;else if(">"===h||">="===h)h=1;else return;if("UpdateExpression"===k.type){a:{if("Identifier"===k.argument.type&&k.argument.name===m){if("++"===k.operator){m=1;break a}if("--"===k.operator){m=-1;break a}}m=0}m===h&&a(d)}else{var p;if(p="AssignmentExpression"===k.type){a:{if(k.left.name===m){if("+="===k.operator){m=b(k,1);break a}if("-="===k.operator){m=b(k,-1);break a}}m=0}p=m===h}p&&a(d)}}}}}}},(u,c,a)=>{const b=a(571);u.exports=
{meta:{type:"layout",docs:{description:"require or disallow spacing between function identifiers and their invocations",recommended:!1,url:"https://eslint.org/docs/rules/func-call-spacing"},fixable:"whitespace",schema:{anyOf:[{type:"array",items:[{enum:["never"]}],minItems:0,maxItems:1},{type:"array",items:[{enum:["always"]},{type:"object",properties:{allowNewlines:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2}]},messages:{unexpectedWhitespace:"Unexpected whitespace between function name and paren.",
unexpectedNewline:"Unexpected newline between function name and paren.",missing:"Missing space between function name and paren."}},create(d){function m(g,f,n){const e=l.slice(f.range[1],n.range[0]).replace(/\/\*.*?\*\//gu,""),q=/\s/u.test(e),t=q&&b.LINEBREAK_MATCHER.test(e);h&&q?d.report({node:g,loc:{start:f.loc.end,end:{line:n.loc.start.line,column:n.loc.start.column-1}},messageId:"unexpectedWhitespace",fix(r){return p.commentsExistBetween(f,n)?null:g.optional?r.replaceTextRange([f.range[1],n.range[0]],
"?."):t?null:r.removeRange([f.range[1],n.range[0]])}}):h||q?h||k||!t||d.report({node:g,loc:{start:f.loc.end,end:n.loc.start},messageId:"unexpectedNewline",fix(r){if(!g.optional||p.commentsExistBetween(f,n))return null;const v=[f.range[1],n.range[0]],z=p.getTokenAfter(f);return z.range[0]===f.range[1]?r.replaceTextRange(v,"?. "):z.range[1]===n.range[0]?r.replaceTextRange(v," ?."):r.replaceTextRange(v," ?. ")}}):d.report({node:g,loc:{start:{line:f.loc.end.line,column:f.loc.end.column-1},end:n.loc.start},
messageId:"missing",fix(r){return g.optional?null:r.insertTextBefore(n," ")}})}const h="always"!==d.options[0],k=!h&&d.options[1]&&d.options[1].allowNewlines,p=d.getSourceCode(),l=p.getText();return{["CallExpression, NewExpression"](g){var f=p.getLastToken(g),n=p.getLastToken(g.callee);n=(f=p.getFirstTokenBetween(n,f,b.isOpeningParenToken))&&p.getTokenBefore(f,b.isNotQuestionDotToken);f&&f.range[1]<g.range[1]&&m(g,n,f)},ImportExpression(g){const f=p.getFirstToken(g),n=p.getTokenAfter(f);m(g,f,n)}}}}},
(u,c,a)=>{function b(h,k){return 6<=k?m.keyword.isIdentifierES6(h):m.keyword.isIdentifierES5(h)}const d=a(571),m=a(572);c={type:"object",properties:{considerPropertyDescriptor:{type:"boolean"},includeCommonJSModuleExports:{type:"boolean"}},additionalProperties:!1};u.exports={meta:{type:"suggestion",docs:{description:"require function names to match the name of the variable or property to which they are assigned",recommended:!1,url:"https://eslint.org/docs/rules/func-name-matching"},schema:{anyOf:[{type:"array",
additionalItems:!1,items:[{enum:["always","never"]},c]},{type:"array",additionalItems:!1,items:[c]}]},messages:{matchProperty:"Function name `{{funcName}}` should match property name `{{name}}`.",matchVariable:"Function name `{{funcName}}` should match variable name `{{name}}`.",notMatchProperty:"Function name `{{funcName}}` should not match property name `{{name}}`.",notMatchVariable:"Function name `{{funcName}}` should not match variable name `{{name}}`."}},create(h){function k(r,v,z){return z?
"CallExpression"===z.type&&d.isSpecificMemberAccess(z.callee,r,v):!1}function p(r,v){return"always"===n&&r!==v||"never"===n&&r===v}function l(r,v,z,E){h.report({node:r,messageId:"always"===n&&E?"matchProperty":"always"===n?"matchVariable":E?"notMatchProperty":"notMatchVariable",data:{name:v,funcName:z}})}function g(r){return"Literal"===r.type&&"string"===typeof r.value}const f=("object"===typeof h.options[0]?h.options[0]:h.options[1])||{},n="string"===typeof h.options[0]?h.options[0]:"always",e=f.considerPropertyDescriptor,
q=f.includeCommonJSModuleExports,t=h.parserOptions&&h.parserOptions.ecmaVersion?h.parserOptions.ecmaVersion:5;return{VariableDeclarator(r){r.init&&"FunctionExpression"===r.init.type&&"Identifier"===r.id.type&&r.init.id&&p(r.id.name,r.init.id.name)&&l(r,r.id.name,r.init.id.name,!1)},AssignmentExpression(r){var v;if(!(v="FunctionExpression"!==r.right.type||r.left.computed&&"Literal"!==r.left.property.type)&&(v=!q))a:{v=r.left;if("MemberExpression"===v.type&&"Identifier"===v.object.type&&"module"===
v.object.name){if("Identifier"===v.property.type&&"exports"===v.property.name){v=!0;break a}if("Literal"===v.property.type&&"exports"===v.property.value){v=!0;break a}}v=!1}if(!(v||"Identifier"!==r.left.type&&"MemberExpression"!==r.left.type)){var z=(v="MemberExpression"===r.left.type)?d.getStaticPropertyName(r.left):r.left.name;r.right.id&&z&&b(z)&&p(z,r.right.id.name)&&l(r,z,r.right.id.name,v)}},["Property, PropertyDefinition[value]"](r){if("FunctionExpression"===r.value.type&&r.value.id)if("Identifier"!==
r.key.type||r.computed)g(r.key)&&b(r.key.value,t)&&p(r.key.value,r.value.id.name)&&l(r,r.key.value,r.value.id.name,!0);else{const z=r.value.id.name;var v=r.key.name;e&&"value"===v&&"ObjectExpression"===r.parent.type?k("Object","defineProperty",r.parent.parent)||k("Reflect","defineProperty",r.parent.parent)?(v=r.parent.parent.arguments[1],g(v)&&p(v.value,z)&&l(r,v.value,z,!0)):k("Object","defineProperties",r.parent.parent.parent.parent)?(v=r.parent.parent.key.name,!r.parent.parent.computed&&p(v,z)&&
l(r,v,z,!0)):k("Object","create",r.parent.parent.parent.parent)?(v=r.parent.parent.key.name,!r.parent.parent.computed&&p(v,z)&&l(r,v,z,!0)):p(v,z)&&l(r,v,z,!0):p(v,z)&&l(r,v,z,!0)}}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"require or disallow named `function` expressions",recommended:!1,url:"https://eslint.org/docs/rules/func-names"},schema:{definitions:{value:{enum:["always","as-needed","never"]}},items:[{$ref:"#/definitions/value"},{type:"object",properties:{generators:{$ref:"#/definitions/value"}},
additionalProperties:!1}]},messages:{unnamed:"Unexpected unnamed {{name}}.",named:"Unexpected named {{name}}."}},create(d){function m(l){l=l.parent;return"MethodDefinition"===l.type||"Property"===l.type&&(l.method||"get"===l.kind||"set"===l.kind)}function h(l){d.report({node:l,messageId:"unnamed",loc:b.getFunctionHeadLoc(l,p),data:{name:b.getFunctionNameWithKind(l)}})}function k(l){var g=d.getDeclaredVariables(l)[0];if(!(g&&"FunctionName"===g.defs[0].type&&0<g.references.length)){g=!(!l.id||!l.id.name);
var f=l.generator&&1<d.options.length&&d.options[1].generators?d.options[1].generators:d.options[0]||"always";if("never"===f)g&&"FunctionDeclaration"!==l.type&&d.report({node:l,messageId:"named",loc:b.getFunctionHeadLoc(l,p),data:{name:b.getFunctionNameWithKind(l)}});else if("as-needed"===f){if(g=!g)g=l.parent,g=m(l)||"VariableDeclarator"===g.type&&"Identifier"===g.id.type&&g.init===l||"Property"===g.type&&g.value===l||"PropertyDefinition"===g.type&&g.value===l||"AssignmentExpression"===g.type&&"Identifier"===
g.left.type&&g.right===l||"AssignmentPattern"===g.type&&"Identifier"===g.left.type&&g.right===l,g=!g;g&&h(l)}else g||m(l)||h(l)}}const p=d.getSourceCode();return{"FunctionExpression:exit":k,"ExportDefaultDeclaration > FunctionDeclaration":k}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"enforce the consistent use of either `function` declarations or expressions",recommended:!1,url:"https://eslint.org/docs/rules/func-style"},schema:[{enum:["declaration","expression"]},{type:"object",
properties:{allowArrowFunctions:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{expression:"Expected a function expression.",declaration:"Expected a function declaration."}},create(c){const a="declaration"===c.options[0],b=[],d={FunctionDeclaration(m){b.push(!1);a||"ExportDefaultDeclaration"===m.parent.type||c.report({node:m,messageId:"expression"})},["FunctionDeclaration:exit"](){b.pop()},FunctionExpression(m){b.push(!1);a&&"VariableDeclarator"===m.parent.type&&c.report({node:m.parent,
messageId:"declaration"})},["FunctionExpression:exit"](){b.pop()},ThisExpression(){0<b.length&&(b[b.length-1]=!0)}};c.options[1]&&c.options[1].allowArrowFunctions||(d.ArrowFunctionExpression=function(){b.push(!1)},d["ArrowFunctionExpression:exit"]=function(m){const h=b.pop();a&&!h&&"VariableDeclarator"===m.parent.type&&c.report({node:m.parent,messageId:"declaration"})});return d}}},u=>{u.exports={meta:{type:"layout",docs:{description:"enforce line breaks between arguments of a function call",recommended:!1,
url:"https://eslint.org/docs/rules/function-call-argument-newline"},fixable:"whitespace",schema:[{enum:["always","never","consistent"]}],messages:{unexpectedLineBreak:"There should be no line break here.",missingLineBreak:"There should be a line break after this argument."}},create(c){function a(h,k){for(let l=1;l<h.arguments.length;l++){var p=d.getLastToken(h.arguments[l-1]);const g=d.getFirstToken(h.arguments[l]);k.check(p,g)&&(p=d.getTokenBefore(g,{includeComments:!0}),c.report({node:h,loc:{start:p.loc.end,
end:g.loc.start},messageId:k.messageId,fix:"Line"===p.type?null:k.createFix(g,p)}))}}function b(h){if(!(2>h.arguments.length)){var k=c.options[0]||"always";if("never"===k)a(h,m.unexpected);else if("always"===k)a(h,m.missing);else if("consistent"===k){k=d.getLastToken(h.arguments[0]);const p=d.getFirstToken(h.arguments[1]);k.loc.end.line===p.loc.start.line?a(h,m.unexpected):a(h,m.missing)}}}const d=c.getSourceCode(),m={unexpected:{messageId:"unexpectedLineBreak",check:(h,k)=>h.loc.end.line!==k.loc.start.line,
createFix:(h,k)=>p=>p.replaceTextRange([k.range[1],h.range[0]]," ")},missing:{messageId:"missingLineBreak",check:(h,k)=>h.loc.end.line===k.loc.start.line,createFix:(h,k)=>p=>p.replaceTextRange([k.range[1],h.range[0]],"\n")}};return{CallExpression:b,NewExpression:b}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce consistent line breaks inside function parentheses",recommended:!1,url:"https://eslint.org/docs/rules/function-paren-newline"},fixable:"whitespace",schema:[{oneOf:[{enum:["always",
"never","consistent","multiline","multiline-arguments"]},{type:"object",properties:{minItems:{type:"integer",minimum:0}},additionalProperties:!1}]}],messages:{expectedBefore:"Expected newline before ')'.",expectedAfter:"Expected newline after '('.",expectedBetween:"Expected newline between arguments/params.",unexpectedBefore:"Unexpected newline before ')'.",unexpectedAfter:"Unexpected newline after '('."}},create(d){function m(t,r){return n&&1===t.length?r:f||n?t.some((v,z)=>z!==t.length-1&&v.loc.end.line!==
t[z+1].loc.start.line):e?r:t.length>=q}function h(t,r){const v=t.leftParen,z=t.rightParen,E=l.getTokenAfter(v),A=l.getTokenBefore(z);t=!b.isTokenOnSameLine(v,E);const D=!b.isTokenOnSameLine(A,z);r=m(r,t);t&&!r?d.report({node:v,messageId:"unexpectedAfter",fix(F){return l.getText().slice(v.range[1],E.range[0]).trim()?null:F.removeRange([v.range[1],E.range[0]])}}):!t&&r&&d.report({node:v,messageId:"expectedAfter",fix:F=>F.insertTextAfter(v,"\n")});D&&!r?d.report({node:z,messageId:"unexpectedBefore",
fix(F){return l.getText().slice(A.range[1],z.range[0]).trim()?null:F.removeRange([A.range[1],z.range[0]])}}):!D&&r&&d.report({node:z,messageId:"expectedBefore",fix:F=>F.insertTextBefore(z,"\n")})}function k(t,r){t=t.leftParen;var v=l.getTokenAfter(t);t=!b.isTokenOnSameLine(t,v);t=m(r,t);for(v=0;v<=r.length-2;v++){const z=r[v],E=r[v+1];z.loc.end.line===E.loc.start.line&&t&&d.report({node:z,messageId:"expectedBetween",fix:A=>A.insertTextBefore(E,"\n")})}}function p(t){switch(t.type){case "NewExpression":if(!(t.arguments.length||
b.isOpeningParenToken(l.getLastToken(t,{skip:1}))&&b.isClosingParenToken(l.getLastToken(t))))return null;case "CallExpression":return{leftParen:l.getTokenAfter(t.callee,b.isOpeningParenToken),rightParen:l.getLastToken(t)};case "FunctionDeclaration":case "FunctionExpression":var r=l.getFirstToken(t,b.isOpeningParenToken);t=t.params.length?l.getTokenAfter(t.params[t.params.length-1],b.isClosingParenToken):l.getTokenAfter(r);return{leftParen:r,rightParen:t};case "ArrowFunctionExpression":return r=l.getFirstToken(t,
{skip:t.async?1:0}),b.isOpeningParenToken(r)?{leftParen:r,rightParen:l.getTokenBefore(t.body,b.isClosingParenToken)}:null;case "ImportExpression":return r=l.getFirstToken(t,1),t=l.getLastToken(t),{leftParen:r,rightParen:t};default:throw new TypeError("unexpected node with type ".concat(t.type));}}const l=d.getSourceCode(),g=d.options[0]||"multiline",f="multiline"===g,n="multiline-arguments"===g,e="consistent"===g;let q;q="object"===typeof g?g.minItems:"always"===g?0:"never"===g?Infinity:null;return{["ArrowFunctionExpression CallExpression FunctionDeclaration FunctionExpression ImportExpression NewExpression".split(" ")](t){const r=
p(t);t="ImportExpression"===t.type?[t.source]:b.isFunction(t)?t.params:t.arguments;r&&(h(r,t),n&&k(r,t))}}}}},u=>{const c={oneOf:[{enum:["before","after","both","neither"]},{type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"}},additionalProperties:!1}]};u.exports={meta:{type:"layout",docs:{description:"enforce consistent spacing around `*` operators in generator functions",recommended:!1,url:"https://eslint.org/docs/rules/generator-star-spacing"},fixable:"whitespace",schema:[{oneOf:[{enum:["before",
"after","both","neither"]},{type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"},named:c,anonymous:c,method:c},additionalProperties:!1}]}],messages:{missingBefore:"Missing space before *.",missingAfter:"Missing space after *.",unexpectedBefore:"Unexpected space before *.",unexpectedAfter:"Unexpected space after *."}},create(a){function b(f,n){return f?"string"===typeof f?p[f]:Object.assign({},n,f):n}function d(f){return"*"===f.value&&"Punctuator"===f.type}function m(f){return f[0].toUpperCase()+
f.slice(1)}function h(f,n,e,q){if(!!(q.range[0]-e.range[1])!==l[f][n]){const t="*"===e.value,r=l[f][n],v=t?e:q;f="".concat(r?"missing":"unexpected").concat(m(n));a.report({node:v,messageId:f,fix(z){return r?t?z.insertTextAfter(v," "):z.insertTextBefore(v," "):z.removeRange([e.range[1],q.range[0]])}})}}function k(f){if(f.generator){var n=g.getFirstToken(f.parent.method||"MethodDefinition"===f.parent.type?f.parent:f,d),e=g.getTokenBefore(n),q=g.getTokenAfter(n),t="named";"MethodDefinition"===f.parent.type||
"Property"===f.parent.type&&f.parent.method?t="method":f.id||(t="anonymous");"method"===t&&n===g.getFirstToken(f.parent)||h(t,"before",e,n);h(t,"after",n,q)}}const p={before:{before:!0,after:!1},after:{before:!1,after:!0},both:{before:!0,after:!0},neither:{before:!1,after:!1}},l=function(f){const n=b(f,p.before);return{named:b(f.named,n),anonymous:b(f.anonymous,n),method:b(f.method,n)}}(a.options[0]||{}),g=a.getSourceCode();return{FunctionDeclaration:k,FunctionExpression:k}}}},(u,c,a)=>{function b(h){return h.reachable}
const d=a(571),m=/^(?:Arrow)?FunctionExpression$/u;u.exports={meta:{type:"problem",docs:{description:"enforce `return` statements in getters",recommended:!0,url:"https://eslint.org/docs/rules/getter-return"},fixable:null,schema:[{type:"object",properties:{allowImplicit:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{expected:"Expected to return a value in {{name}}.",expectedAlways:"Expected {{name}} to always return a value."}},create(h){function k(f){g.shouldCheck&&g.codePath.currentSegments.some(b)&&
h.report({node:f,loc:d.getFunctionHeadLoc(f,l),messageId:g.hasReturn?"expectedAlways":"expected",data:{name:d.getFunctionNameWithKind(g.node)}})}const p=h.options[0]||{allowImplicit:!1},l=h.getSourceCode();let g={upper:null,codePath:null,hasReturn:!1,shouldCheck:!1,node:null};return{onCodePathStart(f,n){var e=g;var q=n.parent;q=m.test(n.type)&&"BlockStatement"===n.body.type&&("get"===q.kind||"Property"===q.type&&"get"===d.getStaticPropertyName(q)&&"ObjectExpression"===q.parent.type&&("CallExpression"===
q.parent.parent.type&&"defineProperty"===d.getStaticPropertyName(q.parent.parent.callee)||"Property"===q.parent.parent.type&&"ObjectExpression"===q.parent.parent.parent.type&&"CallExpression"===q.parent.parent.parent.parent.type&&"defineProperties"===d.getStaticPropertyName(q.parent.parent.parent.parent.callee)))?!0:!1;g={upper:e,codePath:f,hasReturn:!1,shouldCheck:q,node:n}},onCodePathEnd(){g=g.upper},ReturnStatement(f){g.shouldCheck&&(g.hasReturn=!0,p.allowImplicit||f.argument||h.report({node:f,
messageId:"expected",data:{name:d.getFunctionNameWithKind(g.node)}}))},"FunctionExpression:exit":k,"ArrowFunctionExpression:exit":k}}}},u=>{function c(d,m){d=d.references.filter(h=>h.identifier.range[0]===m.range[0]&&h.identifier.range[1]===m.range[1]);return 1===d.length?d[0]:null}function a(d,m){return(d=c(d,m))&&d.resolved&&0<d.resolved.defs.length}const b="AssignmentExpression VariableDeclarator MemberExpression ExpressionStatement CallExpression ConditionalExpression Program VariableDeclaration ChainExpression".split(" ");
u.exports={meta:{deprecated:!0,replacedBy:[],type:"suggestion",docs:{description:"require `require()` calls to be placed at top-level module scope",recommended:!1,url:"https://eslint.org/docs/rules/global-require"},schema:[],messages:{unexpected:"Unexpected require()."}},create(d){return{CallExpression(m){const h=d.getScope();"require"!==m.callee.name||a(h,m.callee)||d.getAncestors().every(k=>-1<b.indexOf(k.type))||d.report({node:m,messageId:"unexpected"})}}}}},(u,c,a)=>{function b(m){return"get"===
m.kind||"set"===m.kind}const d=a(571);u.exports={meta:{type:"suggestion",docs:{description:"require grouped accessor pairs in object literals and classes",recommended:!1,url:"https://eslint.org/docs/rules/grouped-accessor-pairs"},schema:[{enum:["anyOrder","getBeforeSet","setBeforeGet"]}],messages:{notGrouped:"Accessor pair {{ formerName }} and {{ latterName }} should be grouped.",invalidOrder:"Expected {{ latterName }} to be before {{ formerName }}."}},create(m){function h(n,e,q){m.report({node:q,
messageId:n,loc:d.getFunctionHeadLoc(q.value,f),data:{formerName:d.getFunctionNameWithKind(e.value),latterName:d.getFunctionNameWithKind(q.value)}})}function k(n){const e=d.getStaticPropertyName(n);return{key:null!==e?e:f.getTokens(n.key),getters:"get"===n.kind?[n]:[],setters:"set"===n.kind?[n]:[]}}function p(n,e){const q=n.find(t=>{t=t.key;var r=e.key;if("string"===typeof t&&"string"===typeof r)t=t===r;else if(Array.isArray(t)&&Array.isArray(r))b:if(t.length!==r.length)t=!1;else{for(let v=0;v<t.length;v++){const z=
t[v],E=r[v];if(z.type!==E.type||z.value!==E.value){t=!1;break b}}t=!0}else t=!1;return t});q?(q.getters.push(...e.getters),q.setters.push(...e.setters)):n.push(e);return n}function l(n,e){e=n.filter(e).filter(b).map(k).reduce(p,[]);for(const {getters:t,setters:r}of e)if(1===t.length&&1===r.length){var [q]=t;const [v]=r;e=n.indexOf(q);const z=n.indexOf(v),E=e<z?q:v;q=e<z?v:q;1<Math.abs(e-z)?h("notGrouped",E,q):("getBeforeSet"===g&&e>z||"setBeforeGet"===g&&e<z)&&h("invalidOrder",E,q)}}const g=m.options[0]||
"anyOrder",f=m.getSourceCode();return{ObjectExpression(n){l(n.properties,e=>"Property"===e.type)},ClassBody(n){l(n.body,e=>"MethodDefinition"===e.type&&!e.static);l(n.body,e=>"MethodDefinition"===e.type&&e.static)}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"require `for-in` loops to include an `if` statement",recommended:!1,url:"https://eslint.org/docs/rules/guard-for-in"},schema:[],messages:{wrap:"The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype."}},
create(c){return{ForInStatement(a){var b=a.body;if(!("EmptyStatement"===b.type||"IfStatement"===b.type||"BlockStatement"===b.type&&0===b.body.length||"BlockStatement"===b.type&&1===b.body.length&&"IfStatement"===b.body[0].type)){if("BlockStatement"===b.type&&1<=b.body.length&&"IfStatement"===b.body[0].type&&(b=b.body[0],"ContinueStatement"===b.consequent.type||"BlockStatement"===b.consequent.type&&1===b.consequent.body.length&&"ContinueStatement"===b.consequent.body[0].type))return;c.report({node:a,
messageId:"wrap"})}}}}}},u=>{u.exports={meta:{deprecated:!0,replacedBy:[],type:"suggestion",docs:{description:"require error handling in callbacks",recommended:!1,url:"https://eslint.org/docs/rules/handle-callback-err"},schema:[{type:"string"}],messages:{expected:"Expected error to be handled."}},create(c){function a(m){return m.variables.filter(h=>h.defs[0]&&"Parameter"===h.defs[0].type)}function b(m){var h=c.getScope();h=a(h)[0];var k;if(k=h)k=h.name,k="^"===d[0]?(new RegExp(d,"u")).test(k):k===
d;k&&0===h.references.length&&c.report({node:m,messageId:"expected"})}const d=c.options[0]||"err";return{FunctionDeclaration:b,FunctionExpression:b,ArrowFunctionExpression:b}}}},u=>{u.exports={meta:{deprecated:!0,replacedBy:["id-denylist"],type:"suggestion",docs:{description:"disallow specified identifiers",recommended:!1,url:"https://eslint.org/docs/rules/id-blacklist"},schema:{type:"array",items:{type:"string"},uniqueItems:!0},messages:{restricted:"Identifier '{{name}}' is restricted."}},create(c){function a(h){const k=
m.set.get(h.name);return k&&0===k.defs.length&&k.references.some(p=>p.identifier===h)}const b=new Set(c.options),d=new Set;let m;return{Program(){m=c.getScope()},Identifier(h){var k;if(k=b.has(h.name))if(k=h.parent,"MemberExpression"!==k.type||k.property!==h||k.computed){if(k="CallExpression"!==k.type&&"NewExpression"!==k.type)k=h.parent,k="ImportSpecifier"===k.type&&k.imported!==k.local&&k.imported===h||"ExportSpecifier"===k.type&&k.parent.source&&k.local!==k.exported&&k.local===h,k=!k;k&&(k=h.parent,
k=!k.computed&&"Property"===k.type&&"ObjectPattern"===k.parent.type&&k.value!==h&&k.key===h,k=!k);if(k){if(k=a(h))k=h.parent,k="Property"===k.type&&"ObjectExpression"===k.parent.type&&k.shorthand,k=!k;k=!k}}else{{const p=k.parent;k="AssignmentExpression"===p.type&&p.left===k||"ArrayPattern"===p.type||"RestElement"===p.type||"Property"===p.type&&p.value===k&&"ObjectPattern"===p.parent.type||"AssignmentPattern"===p.type&&p.left===k}}k&&!d.has(h.range.toString())&&(c.report({node:h,messageId:"restricted",
data:{name:h.name}}),d.add(h.range.toString()))}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow specified identifiers",recommended:!1,url:"https://eslint.org/docs/rules/id-denylist"},schema:{type:"array",items:{type:"string"},uniqueItems:!0},messages:{restricted:"Identifier '{{name}}' is restricted.",restrictedPrivate:"Identifier '#{{name}}' is restricted."}},create(c){function a(h){const k=m.set.get(h.name);return k&&0===k.defs.length&&k.references.some(p=>p.identifier===
h)}const b=new Set(c.options),d=new Set;let m;return{Program(){m=c.getScope()},[["Identifier","PrivateIdentifier"]](h){var k;if(k=b.has(h.name))if(k=h.parent,"MemberExpression"!==k.type||k.property!==h||k.computed){if(k="CallExpression"!==k.type&&"NewExpression"!==k.type)k=h.parent,k="ImportSpecifier"===k.type&&k.imported!==k.local&&k.imported===h||"ExportSpecifier"===k.type&&k.parent.source&&k.local!==k.exported&&k.local===h,k=!k;k&&(k=h.parent,k=!k.computed&&"Property"===k.type&&"ObjectPattern"===
k.parent.type&&k.key===h,k=!k);k=k&&!a(h)}else{{const p=k.parent;k="AssignmentExpression"===p.type&&p.left===k||"ArrayPattern"===p.type||"RestElement"===p.type||"Property"===p.type&&p.value===k&&"ObjectPattern"===p.parent.type||"AssignmentPattern"===p.type&&p.left===k}}k&&!d.has(h.range.toString())&&(c.report({node:h,messageId:"PrivateIdentifier"===h.type?"restrictedPrivate":"restricted",data:{name:h.name}}),d.add(h.range.toString()))}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"enforce minimum and maximum identifier lengths",
recommended:!1,url:"https://eslint.org/docs/rules/id-length"},schema:[{type:"object",properties:{min:{type:"integer",default:2},max:{type:"integer"},exceptions:{type:"array",uniqueItems:!0,items:{type:"string"}},exceptionPatterns:{type:"array",uniqueItems:!0,items:{type:"string"}},properties:{enum:["always","never"]}},additionalProperties:!1}],messages:{tooShort:"Identifier name '{{name}}' is too short (< {{min}}).",tooShortPrivate:"Identifier name '#{{name}}' is too short (< {{min}}).",tooLong:"Identifier name '{{name}}' is too long (> {{max}}).",
tooLongPrivate:"Identifier name #'{{name}}' is too long (> {{max}})."}},create(c){function a(f){return p.some(n=>n.test(f))}const b=c.options[0]||{},d="undefined"!==typeof b.min?b.min:2,m="undefined"!==typeof b.max?b.max:Infinity,h="never"!==b.properties,k=new Set(b.exceptions),p=(b.exceptionPatterns||[]).map(f=>new RegExp(f,"u")),l=new Set,g={MemberExpression:h&&function(f){return!f.computed&&(f.parent.left===f&&"AssignmentExpression"===f.parent.type||"Property"===f.parent.type&&f.parent.value===
f&&"ObjectPattern"===f.parent.parent.type&&f.parent.parent.parent.left===f.parent.parent)},AssignmentPattern(f,n){return f.left===n},VariableDeclarator(f,n){return f.id===n},Property(f,n){if("ObjectPattern"===f.parent.type){const e=f.value.name===f.key.name;return!e&&f.value===n||e&&f.key===n&&h}return h&&!f.computed&&f.key.name===n.name},ImportDefaultSpecifier:!0,RestElement:!0,FunctionExpression:!0,ArrowFunctionExpression:!0,ClassDeclaration:!0,FunctionDeclaration:!0,MethodDefinition:!0,PropertyDefinition:!0,
CatchClause:!0,ArrayPattern:!0};return{[["Identifier","PrivateIdentifier"]](f){const n=f.name;var e=f.parent;const q=n.length<d;var t=n.length>m;!q&&!t||k.has(n)||a(n)||!(t=g[e.type])||l.has(f.range.toString())||!0!==t&&!t(e,f)||(l.add(f.range.toString()),e=q?"tooShort":"tooLong","PrivateIdentifier"===f.type&&(e+="Private"),c.report({node:f,messageId:e,data:{name:n,min:d,max:m}}))}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"require identifiers to match a specified regular expression",
recommended:!1,url:"https://eslint.org/docs/rules/id-match"},schema:[{type:"string"},{type:"object",properties:{properties:{type:"boolean",default:!1},classFields:{type:"boolean",default:!1},onlyDeclarations:{type:"boolean",default:!1},ignoreDestructuring:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{notMatch:"Identifier '{{name}}' does not match the pattern '{{pattern}}'.",notMatchPrivate:"Identifier '#{{name}}' does not match the pattern '{{pattern}}'."}},create(c){function a(t,
r){return(!l||e.has(t.type))&&!n.has(t.type)&&!m.test(r)}function b(t){f.has(t.range.toString())||(c.report({node:t,messageId:"PrivateIdentifier"===t.type?"notMatchPrivate":"notMatch",data:{name:t.name,pattern:d}}),f.add(t.range.toString()))}const d=c.options[0]||"^.+$",m=new RegExp(d,"u"),h=c.options[1]||{},k=!!h.properties,p=!!h.classFields,l=!!h.onlyDeclarations,g=!!h.ignoreDestructuring,f=new Set,n=new Set(["CallExpression","NewExpression"]),e=new Set(["FunctionDeclaration","VariableDeclarator"]),
q=new Set(["ImportSpecifier","ImportNamespaceSpecifier","ImportDefaultSpecifier"]);return{Identifier(t){const r=t.name,v=t.parent,z="MemberExpression"===v.type?v.parent:v;if("MemberExpression"===v.type)k&&("Identifier"===v.object.type&&v.object.name===r?m.test(r)||b(t):"AssignmentExpression"===z.type&&"MemberExpression"===z.left.type&&z.left.property.name===t.name?m.test(r)||b(t):"AssignmentExpression"===z.type&&"MemberExpression"!==z.right.type&&(m.test(r)||b(t)));else if("Property"===v.type||"AssignmentPattern"===
v.type){if(v.parent&&"ObjectPattern"===v.parent.type){!g&&v.shorthand&&v.value.left&&!m.test(r)&&b(t);var E=v.key.name===v.value.name;if(!E&&v.key===t)return;!v.value.name||m.test(r)||E&&g||b(t)}if(!(E=!k)&&(E=g))a:{for({parent:E}=t;E;){if("ObjectPattern"===E.type){E=!0;break a}E=E.parent}E=!1}E||v.right!==t&&a(z,r)&&b(t)}else q.has(v.type)?v.local&&v.local.name===t.name&&!m.test(r)&&b(t):"PropertyDefinition"===v.type?p&&!m.test(r)&&b(t):a(z,r)&&b(t)},["PrivateIdentifier"](t){if("PropertyDefinition"!==
t.parent.type||p)m.test(t.name)||b(t)}}}}},(u,c,a)=>{const {isCommentToken:b,isNotOpeningParenToken:d}=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce the location of arrow function bodies",recommended:!1,url:"https://eslint.org/docs/rules/implicit-arrow-linebreak"},fixable:"whitespace",schema:[{enum:["beside","below"]}],messages:{expected:"Expected a linebreak before this expression.",unexpected:"Expected no linebreak before this expression."}},create(m){function h(l){if("BlockStatement"!==
l.body.type){var g=k.getTokenBefore(l.body,d),f=k.getTokenAfter(g);g.loc.end.line===f.loc.start.line&&"below"===p?m.report({node:f,messageId:"expected",fix:n=>n.insertTextBefore(f,"\n")}):g.loc.end.line!==f.loc.start.line&&"beside"===p&&m.report({node:f,messageId:"unexpected",fix(n){return k.getFirstTokenBetween(g,f,{includeComments:!0,filter:b})?null:n.replaceTextRange([g.range[1],f.range[0]]," ")}})}}const k=m.getSourceCode(),p=m.options[0]||"beside";return{ArrowFunctionExpression:l=>h(l)}}}},(u,
c,a)=>{const b=a(628),d=a(571),m=new Set("AssignmentExpression AssignmentPattern ArrayExpression ArrayPattern ArrowFunctionExpression AwaitExpression BlockStatement BinaryExpression BreakStatement CallExpression CatchClause ChainExpression ClassBody ClassDeclaration ClassExpression ConditionalExpression ContinueStatement DoWhileStatement DebuggerStatement EmptyStatement ExperimentalRestProperty ExperimentalSpreadProperty ExpressionStatement ForStatement ForInStatement ForOfStatement FunctionDeclaration FunctionExpression Identifier IfStatement Literal LabeledStatement LogicalExpression MemberExpression MetaProperty MethodDefinition NewExpression ObjectExpression ObjectPattern PrivateIdentifier Program Property PropertyDefinition RestElement ReturnStatement SequenceExpression SpreadElement Super SwitchCase SwitchStatement TaggedTemplateExpression TemplateElement TemplateLiteral ThisExpression ThrowStatement TryStatement UnaryExpression UpdateExpression VariableDeclaration VariableDeclarator WhileStatement WithStatement YieldExpression JSXFragment JSXOpeningFragment JSXClosingFragment JSXIdentifier JSXNamespacedName JSXMemberExpression JSXEmptyExpression JSXExpressionContainer JSXElement JSXClosingElement JSXOpeningElement JSXAttribute JSXSpreadAttribute JSXText ExportDefaultDeclaration ExportNamedDeclaration ExportAllDeclaration ExportSpecifier ImportDeclaration ImportSpecifier ImportDefaultSpecifier ImportNamespaceSpecifier ImportExpression".split(" "));
class h{constructor(){this._rbTree=b()}insert(l,g){const f=this._rbTree.find(l);this._rbTree=f.valid?f.update(g):this._rbTree.insert(l,g)}findLe(l){return(l=this._rbTree.le(l))&&{key:l.key,value:l.value}}deleteRange(l,g){if(l!==g)for(l=this._rbTree.ge(l);l.valid&&l.key<g;)this._rbTree=this._rbTree.remove(l.key),l.next()}}class k{constructor(l){this.sourceCode=l;this.firstTokensByLineNumber=l.tokensAndComments.reduce((g,f)=>{g.has(f.loc.start.line)||g.set(f.loc.start.line,f);!g.has(f.loc.end.line)&&
l.text.slice(f.range[1]-f.loc.end.column,f.range[1]).trim()&&g.set(f.loc.end.line,f);return g},new Map)}getFirstTokenOfLine(l){return this.firstTokensByLineNumber.get(l.loc.start.line)}isFirstTokenOfLine(l){return this.getFirstTokenOfLine(l)===l}getTokenIndent(l){return this.sourceCode.text.slice(l.range[0]-l.loc.start.column,l.range[0])}}class p{constructor(l,g,f){this._tokenInfo=l;this._indentSize=g;this._indentType=f;this._tree=new h;this._tree.insert(0,{offset:0,from:null,force:!1});this._lockedFirstTokens=
new WeakMap;this._desiredIndentCache=new WeakMap;this._ignoredTokens=new WeakSet}_getOffsetDescriptor(l){return this._tree.findLe(l.range[0]).value}matchOffsetOf(l,g){this._lockedFirstTokens.set(g,l)}setDesiredOffset(l,g,f){return this.setDesiredOffsets(l.range,g,f)}setDesiredOffsets(l,g,f,n){f={offset:f,from:g,force:n};n=this._tree.findLe(l[1]).value;const e=g&&g.range[0]>=l[0]&&g.range[1]<=l[1],q=e&&this._getOffsetDescriptor(g);this._tree.deleteRange(l[0]+1,l[1]);this._tree.insert(l[0],f);e&&(this._tree.insert(g.range[0],
q),this._tree.insert(g.range[1],f));this._tree.insert(l[1],n)}getDesiredIndent(l){if(!this._desiredIndentCache.has(l))if(this._ignoredTokens.has(l))this._desiredIndentCache.set(l,this._tokenInfo.getTokenIndent(l));else if(this._lockedFirstTokens.has(l)){var g=this._lockedFirstTokens.get(l);this._desiredIndentCache.set(l,this.getDesiredIndent(this._tokenInfo.getFirstTokenOfLine(g))+this._indentType.repeat(g.loc.start.column-this._tokenInfo.getFirstTokenOfLine(g).loc.start.column))}else{g=this._getOffsetDescriptor(l);
const f=!g.from||g.from.loc.start.line!==l.loc.start.line||/^\s*?\n/u.test(l.value)||g.force?g.offset*this._indentSize:0;this._desiredIndentCache.set(l,(g.from?this.getDesiredIndent(g.from):"")+this._indentType.repeat(f))}return this._desiredIndentCache.get(l)}ignoreToken(l){this._tokenInfo.isFirstTokenOfLine(l)&&this._ignoredTokens.add(l)}getFirstDependency(l){return this._getOffsetDescriptor(l).from}}c={oneOf:[{type:"integer",minimum:0},{enum:["first","off"]}]};u.exports={meta:{type:"layout",docs:{description:"enforce consistent indentation",
recommended:!1,url:"https://eslint.org/docs/rules/indent"},fixable:"whitespace",schema:[{oneOf:[{enum:["tab"]},{type:"integer",minimum:0}]},{type:"object",properties:{SwitchCase:{type:"integer",minimum:0,default:0},VariableDeclarator:{oneOf:[c,{type:"object",properties:{var:c,let:c,const:c},additionalProperties:!1}]},outerIIFEBody:{oneOf:[{type:"integer",minimum:0},{enum:["off"]}]},MemberExpression:{oneOf:[{type:"integer",minimum:0},{enum:["off"]}]},FunctionDeclaration:{type:"object",properties:{parameters:c,
body:{type:"integer",minimum:0}},additionalProperties:!1},FunctionExpression:{type:"object",properties:{parameters:c,body:{type:"integer",minimum:0}},additionalProperties:!1},CallExpression:{type:"object",properties:{arguments:c},additionalProperties:!1},ArrayExpression:c,ObjectExpression:c,ImportDeclaration:c,flatTernaryExpressions:{type:"boolean",default:!1},offsetTernaryExpressions:{type:"boolean",default:!1},ignoredNodes:{type:"array",items:{type:"string",not:{pattern:":exit$"}}},ignoreComments:{type:"boolean",
default:!1}},additionalProperties:!1}],messages:{wrongIndentation:"Expected indentation of {{expected}} but found {{actual}}."}},create(l){function g(x,y,G){x="".concat(x," ").concat(D).concat(1===x?"":"s");const K="space".concat(1===y?"":"s"),R="tab".concat(1===G?"":"s");y=0<y?"space"===D?y:"".concat(y," ").concat(K):0<G?"tab"===D?G:"".concat(G," ").concat(R):"0";return{expected:x,actual:y}}function f(x,y){var G=Array.from(I.getTokenIndent(x));const K=G.filter(R=>" "===R).length;G=G.filter(R=>"\t"===
R).length;l.report({node:x,messageId:"wrongIndentation",data:g(y.length,K,G),loc:{start:{line:x.loc.start.line,column:0},end:{line:x.loc.start.line,column:x.loc.start.column}},fix(R){return R.replaceTextRange([x.range[0]-x.loc.start.column,x.range[0]],y)}})}function n(x,y){x=I.getTokenIndent(x);return x===y||x.includes(" ")&&x.includes("\t")}function e(x,y,G,K){function R(Z){for(Z=B.getTokenBefore(Z);d.isOpeningParenToken(Z)&&Z!==y;)Z=B.getTokenBefore(Z);return B.getTokenAfter(Z)}J.setDesiredOffsets([y.range[1],
G.range[0]],y,"number"===typeof K?K:1);J.setDesiredOffset(G,y,0);"first"===K&&x.length&&!x[0]||x.forEach((Z,aa)=>{if(Z&&("off"===K&&J.ignoreToken(R(Z)),0!==aa))if("first"===K&&I.isFirstTokenOfLine(R(Z)))J.matchOffsetOf(R(x[0]),R(Z));else{const wa=(aa=x[aa-1])&&R(aa);var xa=aa&&B.getLastToken(aa),X;if(X=aa)X=xa.loc.end.line,xa=xa.value.match(/\s*$/u)[0].match(d.createGlobalLinebreakMatcher()),xa=null===xa?0:xa.length,X=X-xa>y.loc.end.line;X&&J.setDesiredOffsets([aa.range[1],Z.range[1]],wa,0)}})}function q(x){if("BlockStatement"!==
x.type){const G=B.getTokenBefore(x,d.isNotOpeningParenToken);var y=B.getFirstToken(x);let K=B.getLastToken(x);for(;d.isOpeningParenToken(B.getTokenBefore(y))&&d.isClosingParenToken(B.getTokenAfter(K));)y=B.getTokenBefore(y),K=B.getTokenAfter(K);J.setDesiredOffsets([y.range[0],K.range[1]],G,1);y=B.getLastToken(x);"EmptyStatement"!==x.type&&d.isSemicolonToken(y)&&J.setDesiredOffset(y,G,0)}}function t(x){let y;y=x.arguments.length?B.getFirstTokenBetween(x.callee,x.arguments[0],d.isOpeningParenToken):
B.getLastToken(x,1);const G=B.getLastToken(x);M.add(y);M.add(G);if(x.optional){var K=B.getTokenAfter(x.callee,d.isQuestionDotToken),R=B.getTokensBetween(x.callee,K,{filter:d.isClosingParenToken}).length;R=R?B.getTokenBefore(x.callee,{skip:R-1}):B.getFirstToken(x.callee);const Z=B.getTokenBefore(K);J.setDesiredOffset(K,Z.loc.end.line===y.loc.start.line?Z:R,1)}K="TaggedTemplateExpression"===x.callee.type?B.getFirstToken(x.callee.quasi):y;K=B.getTokenBefore(K);J.setDesiredOffset(y,K,0);e(x.arguments,
y,G,C.CallExpression.arguments)}function r(x){const y=[],G=[];x.forEach(K=>{d.isOpeningParenToken(K)?y.push(K):d.isClosingParenToken(K)&&G.unshift({left:y.pop(),right:K})});G.forEach(K=>{const R=K.left;K=K.right;if(!M.has(R)&&!M.has(K)){const Z=new Set(B.getTokensBetween(R,K));Z.forEach(aa=>{Z.has(J.getFirstDependency(aa))||J.setDesiredOffset(aa,R,1)})}J.setDesiredOffset(K,R,0)})}function v(x){const y=new Set(B.getTokens(x,{includeComments:!0}));y.forEach(G=>{if(!y.has(J.getFirstDependency(G))){const K=
I.getFirstTokenOfLine(G);G===K?J.ignoreToken(G):J.setDesiredOffset(G,K,0)}})}function z(x,y){for(;y.parent&&!y.parent.type.endsWith("Statement")&&!y.parent.type.endsWith("Declaration");)y=y.parent;y=y.parent;return!y||y.loc.start.line===x.loc.start.line}function E(x,y){x=x.loc.end.line;y=y.loc.start.line;if(x===y||x===y-1)return!1;for(x+=1;x<y;++x)if(!I.firstTokensByLineNumber.has(x))return!0;return!1}function A(x){L.add(x);P.add(B.getFirstToken(x))}let D="space";var F=4;const C={SwitchCase:0,VariableDeclarator:{var:1,
let:1,const:1},outerIIFEBody:1,FunctionDeclaration:{parameters:1,body:1},FunctionExpression:{parameters:1,body:1},CallExpression:{arguments:1},MemberExpression:1,ArrayExpression:1,ObjectExpression:1,ImportDeclaration:1,flatTernaryExpressions:!1,ignoredNodes:[],ignoreComments:!1};l.options.length&&("tab"===l.options[0]?(F=1,D="tab"):(F=l.options[0],D="space"),l.options[1]&&(Object.assign(C,l.options[1]),"number"===typeof C.VariableDeclarator||"first"===C.VariableDeclarator))&&(C.VariableDeclarator=
{var:C.VariableDeclarator,let:C.VariableDeclarator,const:C.VariableDeclarator});const B=l.getSourceCode(),I=new k(B),J=new p(I,F,"space"===D?" ":"\t"),M=new WeakSet,P=new Set;var O={["ArrayExpression, ArrayPattern"](x){const y=B.getFirstToken(x),G=B.getTokenAfter([...x.elements].reverse().find(K=>K)||y,d.isClosingBracketToken);e(x.elements,y,G,C.ArrayExpression)},["ObjectExpression, ObjectPattern"](x){const y=B.getFirstToken(x),G=B.getTokenAfter(x.properties.length?x.properties[x.properties.length-
1]:y,d.isClosingBraceToken);e(x.properties,y,G,C.ObjectExpression)},ArrowFunctionExpression(x){const y=B.getFirstToken(x,{skip:x.async?1:0});if(d.isOpeningParenToken(y)){const G=B.getTokenBefore(x.body,d.isClosingParenToken);M.add(y);M.add(G);e(x.params,y,G,C.FunctionExpression.parameters)}q(x.body)},AssignmentExpression(x){const y=B.getFirstTokenBetween(x.left,x.right,G=>G.value===x.operator);J.setDesiredOffsets([y.range[0],x.range[1]],B.getLastToken(x.left),1);J.ignoreToken(y);J.ignoreToken(B.getTokenAfter(y))},
["BinaryExpression, LogicalExpression"](x){const y=B.getFirstTokenBetween(x.left,x.right,K=>K.value===x.operator),G=B.getTokenAfter(y);J.ignoreToken(y);J.ignoreToken(G);J.setDesiredOffset(G,y,0)},["BlockStatement, ClassBody"](x){var y;if(y=x.parent)if(y=x.parent,y.parent&&"CallExpression"===y.parent.type&&y.parent.callee===y){for(y=y.parent&&y.parent.parent;"UnaryExpression"===y.type&&-1<["!","~","+","-"].indexOf(y.operator)||"AssignmentExpression"===y.type||"LogicalExpression"===y.type||"SequenceExpression"===
y.type||"VariableDeclarator"===y.type;)y=y.parent;y=("ExpressionStatement"===y.type||"VariableDeclaration"===y.type)&&"Program"===y.parent.type}else y=!1;y=y?C.outerIIFEBody:!x.parent||"FunctionExpression"!==x.parent.type&&"ArrowFunctionExpression"!==x.parent.type?x.parent&&"FunctionDeclaration"===x.parent.type?C.FunctionDeclaration.body:1:C.FunctionExpression.body;d.STATEMENT_LIST_PARENTS.has(x.parent.type)||J.setDesiredOffset(B.getFirstToken(x),B.getFirstToken(x.parent),0);e(x.body,B.getFirstToken(x),
B.getLastToken(x),y)},CallExpression:t,["ClassDeclaration[superClass], ClassExpression[superClass]"](x){const y=B.getFirstToken(x),G=B.getTokenBefore(x.superClass,d.isNotOpeningParenToken);J.setDesiredOffsets([G.range[0],x.body.range[0]],y,1)},ConditionalExpression(x){const y=B.getFirstToken(x);if(!C.flatTernaryExpressions||!d.isTokenOnSameLine(x.test,x.consequent)||z(y,x)){const G=B.getFirstTokenBetween(x.test,x.consequent,aa=>"Punctuator"===aa.type&&"?"===aa.value);x=B.getFirstTokenBetween(x.consequent,
x.alternate,aa=>"Punctuator"===aa.type&&":"===aa.value);const K=B.getTokenAfter(G),R=B.getTokenBefore(x),Z=B.getTokenAfter(x);J.setDesiredOffset(G,y,1);J.setDesiredOffset(x,y,1);J.setDesiredOffset(K,y,"Punctuator"===K.type&&C.offsetTernaryExpressions?2:1);R.loc.end.line===Z.loc.start.line?J.setDesiredOffset(Z,K,0):J.setDesiredOffset(Z,y,"Punctuator"===Z.type&&C.offsetTernaryExpressions?2:1)}},"DoWhileStatement, WhileStatement, ForInStatement, ForOfStatement":x=>q(x.body),ExportNamedDeclaration(x){if(null===
x.declaration){const y=B.getLastToken(x,d.isClosingBraceToken);e(x.specifiers,B.getFirstToken(x,{skip:1}),y,1);x.source&&J.setDesiredOffsets([y.range[1],x.range[1]],B.getFirstToken(x),1)}},ForStatement(x){const y=B.getFirstToken(x,1);x.init&&J.setDesiredOffsets(x.init.range,y,1);x.test&&J.setDesiredOffsets(x.test.range,y,1);x.update&&J.setDesiredOffsets(x.update.range,y,1);q(x.body)},["FunctionDeclaration, FunctionExpression"](x){const y=B.getTokenBefore(x.body),G=B.getTokenBefore(x.params.length?
x.params[0]:y);M.add(G);M.add(y);e(x.params,G,y,C[x.type].parameters)},IfStatement(x){q(x.consequent);x.alternate&&"IfStatement"!==x.alternate.type&&q(x.alternate)},ImportDeclaration(x){if(x.specifiers.some(R=>"ImportSpecifier"===R.type)){var y=B.getFirstToken(x,d.isOpeningBraceToken),G=B.getLastToken(x,d.isClosingBraceToken);e(x.specifiers.filter(R=>"ImportSpecifier"===R.type),y,G,C.ImportDeclaration)}y=B.getLastToken(x,R=>"Identifier"===R.type&&"from"===R.value);G=B.getLastToken(x,R=>"String"===
R.type);const K=B.getLastToken(x,R=>"Punctuator"===R.type&&";"===R.value);y&&J.setDesiredOffsets([y.range[0],K&&K.range[1]===G.range[1]?x.range[1]:G.range[1]],B.getFirstToken(x),1)},ImportExpression(x){const y=B.getFirstToken(x,1),G=B.getLastToken(x);M.add(y);M.add(G);J.setDesiredOffset(y,B.getTokenBefore(y),0);e([x.source],y,G,C.CallExpression.arguments)},["MemberExpression, JSXMemberExpression, MetaProperty"](x){var y="MetaProperty"===x.type?x.meta:x.object;const G=B.getFirstTokenBetween(y,x.property,
d.isNotClosingParenToken),K=B.getTokenAfter(G);var R=B.getTokensBetween(y,x.property,{filter:d.isClosingParenToken}).length;y=R?B.getTokenBefore(y,{skip:R-1}):B.getFirstToken(y);R=B.getTokenBefore(G);const Z=x.computed?G:K;x.computed&&(J.setDesiredOffset(B.getLastToken(x),G,0),J.setDesiredOffsets(x.property.range,G,1));y=R.loc.end.line===Z.loc.start.line?R:y;"number"===typeof C.MemberExpression?(J.setDesiredOffset(G,y,C.MemberExpression),J.setDesiredOffset(K,x.computed?G:y,C.MemberExpression)):(J.ignoreToken(G),
J.ignoreToken(K),J.setDesiredOffset(G,y,0),J.setDesiredOffset(K,G,0))},NewExpression(x){(0<x.arguments.length||d.isClosingParenToken(B.getLastToken(x))&&d.isOpeningParenToken(B.getLastToken(x,1)))&&t(x)},Property(x){x.shorthand||x.method||"init"!==x.kind||(x=B.getFirstTokenBetween(x.key,x.value,d.isColonToken),J.ignoreToken(B.getTokenAfter(x)))},PropertyDefinition(x){var y=B.getFirstToken(x);const G=B.getLastToken(x);let K;if(x.computed){var R=B.getTokenBefore(x.key,d.isOpeningBracketToken);const Z=
K=B.getTokenAfter(x.key,d.isClosingBracketToken),aa=[R.range[1],Z.range[0]];R!==y&&J.setDesiredOffset(R,y,0);J.setDesiredOffsets(aa,R,1);J.setDesiredOffset(Z,R,0)}else R=K=B.getFirstToken(x.key),R!==y&&J.setDesiredOffset(R,y,1);x.value?(x=B.getTokenBefore(x.value,d.isEqToken),y=B.getTokenAfter(x),J.setDesiredOffset(x,K,1),J.setDesiredOffset(y,x,1),d.isSemicolonToken(G)&&J.setDesiredOffset(G,x,1)):d.isSemicolonToken(G)&&J.setDesiredOffset(G,K,1)},SwitchStatement(x){const y=B.getTokenAfter(x.discriminant,
d.isOpeningBraceToken),G=B.getLastToken(x);J.setDesiredOffsets([y.range[1],G.range[0]],y,C.SwitchCase);x.cases.length&&B.getTokensBetween(x.cases[x.cases.length-1],G,{includeComments:!0,filter:d.isCommentToken}).forEach(K=>J.ignoreToken(K))},SwitchCase(x){if(1!==x.consequent.length||"BlockStatement"!==x.consequent[0].type){const y=B.getFirstToken(x);x=B.getTokenAfter(x);J.setDesiredOffsets([y.range[1],x.range[0]],y,1)}},TemplateLiteral(x){x.expressions.forEach((y,G)=>{y=x.quasis[G];G=x.quasis[G+1];
const K=y.loc.start.line===y.loc.end.line?B.getFirstToken(y):null;J.setDesiredOffsets([y.range[1],G.range[0]],K,1);J.setDesiredOffset(B.getFirstToken(G),K,0)})},VariableDeclaration(x){let y=Object.prototype.hasOwnProperty.call(C.VariableDeclarator,x.kind)?C.VariableDeclarator[x.kind]:1;const G=B.getFirstToken(x),K=B.getLastToken(x);if("first"===C.VariableDeclarator[x.kind]){if(1<x.declarations.length){e(x.declarations,G,K,"first");return}y=1}x.declarations[x.declarations.length-1].loc.start.line>
x.loc.start.line?J.setDesiredOffsets(x.range,G,y,!0):J.setDesiredOffsets(x.range,G,y);d.isSemicolonToken(K)&&J.ignoreToken(K)},VariableDeclarator(x){if(x.init){const y=B.getTokenBefore(x.init,d.isNotOpeningParenToken),G=B.getTokenAfter(y);J.ignoreToken(y);J.ignoreToken(G);J.setDesiredOffsets([G.range[0],x.range[1]],y,1);J.setDesiredOffset(y,B.getLastToken(x.id),0)}},["JSXAttribute[value]"](x){const y=B.getFirstTokenBetween(x.name,x.value,G=>"Punctuator"===G.type&&"="===G.value);J.setDesiredOffsets([y.range[0],
x.value.range[1]],B.getFirstToken(x.name),1)},JSXElement(x){x.closingElement&&e(x.children,B.getFirstToken(x.openingElement),B.getFirstToken(x.closingElement),1)},JSXOpeningElement(x){const y=B.getFirstToken(x);let G;x.selfClosing?(G=B.getLastToken(x,{skip:1}),J.setDesiredOffset(B.getLastToken(x),G,0)):G=B.getLastToken(x);J.setDesiredOffsets(x.name.range,B.getFirstToken(x));e(x.attributes,y,G,1)},JSXClosingElement(x){const y=B.getFirstToken(x);J.setDesiredOffsets(x.name.range,y,1)},JSXFragment(x){const y=
B.getFirstToken(x.openingFragment),G=B.getFirstToken(x.closingFragment);e(x.children,y,G,1)},JSXOpeningFragment(x){const y=B.getFirstToken(x),G=B.getLastToken(x);J.setDesiredOffsets(x.range,y,1);J.matchOffsetOf(y,G)},JSXClosingFragment(x){const y=B.getFirstToken(x);var G=B.getLastToken(x,{skip:1});const K=B.getLastToken(x);G=d.isTokenOnSameLine(G,K)?G:K;J.setDesiredOffsets(x.range,y,1);J.matchOffsetOf(y,G)},JSXExpressionContainer(x){const y=B.getFirstToken(x);x=B.getLastToken(x);J.setDesiredOffsets([y.range[1],
x.range[0]],y,1)},JSXSpreadAttribute(x){const y=B.getFirstToken(x);x=B.getLastToken(x);J.setDesiredOffsets([y.range[1],x.range[0]],y,1)},["*"](x){const y=B.getFirstToken(x);y&&!P.has(y)&&J.setDesiredOffsets(x.range,y,0)}};const N=[];F={};for(const [x,y]of Object.entries(O))F[x]=G=>N.push({listener:y,node:G});const L=new Set;O=C.ignoredNodes.reduce((x,y)=>Object.assign(x,{[y]:A}),{});return Object.assign(F,O,{["*:exit"](x){m.has(x.type)||A(x)},["Program:exit"](){C.ignoreComments&&B.getAllComments().forEach(y=>
J.ignoreToken(y));N.filter(y=>!L.has(y.node)).forEach(y=>y.listener(y.node));L.forEach(v);r(B.ast.tokens);const x=B.ast.comments.reduce((y,G)=>{const K=B.getTokenBefore(G,{includeComments:!0});return y.set(G,y.has(K)?y.get(K):K)},new WeakMap);B.lines.forEach((y,G)=>{G+=1;if(I.firstTokensByLineNumber.has(G)&&(y=I.firstTokensByLineNumber.get(G),y.loc.start.line===G)){if(d.isCommentToken(y)){const K=(G=x.get(y))?B.getTokenAfter(G):B.ast.tokens[0],R=G&&!E(G,y),Z=K&&!E(y,K);K&&d.isSemicolonToken(K)&&!d.isTokenOnSameLine(y,
K)&&J.setDesiredOffset(y,K,0);if(R&&n(y,J.getDesiredIndent(G))||Z&&n(y,J.getDesiredIndent(K)))return}n(y,J.getDesiredIndent(y))||f(y,J.getDesiredIndent(y))}})}})}}},u=>{function c(n,e,q,t,r,v){this._color=n;this.key=e;this.value=q;this.left=t;this.right=r;this._count=v}function a(n){return new c(n._color,n.key,n.value,n.left,n.right,n._count)}function b(n,e){return new c(n,e.key,e.value,e.left,e.right,e._count)}function d(n){n._count=1+(n.left?n.left._count:0)+(n.right?n.right._count:0)}function m(n,
e){this._compare=n;this.root=e}function h(n,e){if(e.left){var q=h(n,e.left);if(q)return q}if(q=n(e.key,e.value))return q;if(e.right)return h(n,e.right)}function k(n,e,q,t){if(0>=e(n,t.key)){if(t.left){var r=k(n,e,q,t.left);if(r)return r}if(r=q(t.key,t.value))return r}if(t.right)return k(n,e,q,t.right)}function p(n,e,q,t,r){var v=q(n,r.key),z=q(e,r.key);if(0>=v&&(r.left&&(v=p(n,e,q,t,r.left))||0<z&&(v=t(r.key,r.value))))return v;if(0<z&&r.right)return p(n,e,q,t,r.right)}function l(n,e){this.tree=n;
this._stack=e}function g(n,e){n.key=e.key;n.value=e.value;n.left=e.left;n.right=e.right;n._color=e._color;n._count=e._count}function f(n,e){return n<e?-1:n>e?1:0}u.exports=function(n){return new m(n||f,null)};u=m.prototype;Object.defineProperty(u,"keys",{get:function(){var n=[];this.forEach(function(e,q){n.push(e)});return n}});Object.defineProperty(u,"values",{get:function(){var n=[];this.forEach(function(e,q){n.push(q)});return n}});Object.defineProperty(u,"length",{get:function(){return this.root?
this.root._count:0}});u.insert=function(n,e){for(var q=this._compare,t=this.root,r=[],v=[];t;){var z=q(n,t.key);r.push(t);v.push(z);t=0>=z?t.left:t.right}r.push(new c(0,n,e,null,null,1));for(n=r.length-2;0<=n;--n)t=r[n],r[n]=0>=v[n]?new c(t._color,t.key,t.value,r[n+1],t.right,t._count+1):new c(t._color,t.key,t.value,t.left,r[n+1],t._count+1);for(n=r.length-1;1<n;--n){v=r[n-1];t=r[n];if(1===v._color||1===t._color)break;e=r[n-2];if(e.left===v)if(v.left===t)if((z=e.right)&&0===z._color)v._color=1,e.right=
b(1,z),e._color=0,--n;else{e._color=0;e.left=v.right;v._color=1;v.right=e;r[n-2]=v;r[n-1]=t;d(e);d(v);3<=n&&(n=r[n-3],n.left===e?n.left=v:n.right=v);break}else if((z=e.right)&&0===z._color)v._color=1,e.right=b(1,z),e._color=0,--n;else{v.right=t.left;e._color=0;e.left=t.right;t._color=1;t.left=v;t.right=e;r[n-2]=t;r[n-1]=v;d(e);d(v);d(t);3<=n&&(n=r[n-3],n.left===e?n.left=t:n.right=t);break}else if(v.right===t)if((z=e.left)&&0===z._color)v._color=1,e.left=b(1,z),e._color=0,--n;else{e._color=0;e.right=
v.left;v._color=1;v.left=e;r[n-2]=v;r[n-1]=t;d(e);d(v);3<=n&&(n=r[n-3],n.right===e?n.right=v:n.left=v);break}else if((z=e.left)&&0===z._color)v._color=1,e.left=b(1,z),e._color=0,--n;else{v.left=t.right;e._color=0;e.right=t.left;t._color=1;t.right=v;t.left=e;r[n-2]=t;r[n-1]=v;d(e);d(v);d(t);3<=n&&(n=r[n-3],n.right===e?n.right=t:n.left=t);break}}r[0]._color=1;return new m(q,r[0])};u.forEach=function(n,e,q){if(this.root)switch(arguments.length){case 1:return h(n,this.root);case 2:return k(e,this._compare,
n,this.root);case 3:if(!(0<=this._compare(e,q)))return p(e,q,this._compare,n,this.root)}};Object.defineProperty(u,"begin",{get:function(){for(var n=[],e=this.root;e;)n.push(e),e=e.left;return new l(this,n)}});Object.defineProperty(u,"end",{get:function(){for(var n=[],e=this.root;e;)n.push(e),e=e.right;return new l(this,n)}});u.at=function(n){if(0>n)return new l(this,[]);for(var e=this.root,q=[];;){q.push(e);if(e.left){if(n<e.left._count){e=e.left;continue}n-=e.left._count}if(!n)return new l(this,
q);--n;if(e.right){if(n>=e.right._count)break;e=e.right}else break}return new l(this,[])};u.ge=function(n){for(var e=this._compare,q=this.root,t=[],r=0;q;){var v=e(n,q.key);t.push(q);0>=v&&(r=t.length);q=0>=v?q.left:q.right}t.length=r;return new l(this,t)};u.gt=function(n){for(var e=this._compare,q=this.root,t=[],r=0;q;){var v=e(n,q.key);t.push(q);0>v&&(r=t.length);q=0>v?q.left:q.right}t.length=r;return new l(this,t)};u.lt=function(n){for(var e=this._compare,q=this.root,t=[],r=0;q;){var v=e(n,q.key);
t.push(q);0<v&&(r=t.length);q=0>=v?q.left:q.right}t.length=r;return new l(this,t)};u.le=function(n){for(var e=this._compare,q=this.root,t=[],r=0;q;){var v=e(n,q.key);t.push(q);0<=v&&(r=t.length);q=0>v?q.left:q.right}t.length=r;return new l(this,t)};u.find=function(n){for(var e=this._compare,q=this.root,t=[];q;){var r=e(n,q.key);t.push(q);if(0===r)return new l(this,t);q=0>=r?q.left:q.right}return new l(this,[])};u.remove=function(n){return(n=this.find(n))?n.remove():this};u.get=function(n){for(var e=
this._compare,q=this.root;q;){var t=e(n,q.key);if(0===t)return q.value;q=0>=t?q.left:q.right}};u=l.prototype;Object.defineProperty(u,"valid",{get:function(){return 0<this._stack.length}});Object.defineProperty(u,"node",{get:function(){return 0<this._stack.length?this._stack[this._stack.length-1]:null},enumerable:!0});u.clone=function(){return new l(this.tree,this._stack.slice())};u.remove=function(){var n=this._stack;if(0===n.length)return this.tree;var e=Array(n.length),q=n[n.length-1];e[e.length-
1]=new c(q._color,q.key,q.value,q.left,q.right,q._count);for(var t=n.length-2;0<=t;--t)q=n[t],e[t]=q.left===n[t+1]?new c(q._color,q.key,q.value,e[t+1],q.right,q._count):new c(q._color,q.key,q.value,q.left,e[t+1],q._count);q=e[e.length-1];if(q.left&&q.right){n=e.length;for(q=q.left;q.right;)e.push(q),q=q.right;t=e[n-1];e.push(new c(q._color,t.key,t.value,q.left,q.right,q._count));e[n-1].key=q.key;e[n-1].value=q.value;for(t=e.length-2;t>=n;--t)q=e[t],e[t]=new c(q._color,q.key,q.value,q.left,e[t+1],
q._count);e[n-1].left=e[n]}q=e[e.length-1];if(0===q._color)for(t=e[e.length-2],t.left===q?t.left=null:t.right===q&&(t.right=null),e.pop(),t=0;t<e.length;++t)e[t]._count--;else if(q.left||q.right)for(q.left?g(q,q.left):q.right&&g(q,q.right),q._color=1,t=0;t<e.length-1;++t)e[t]._count--;else{if(1===e.length)return new m(this.tree._compare,null);for(t=0;t<e.length;++t)e[t]._count--;t=e[e.length-2];for(var r,v,z,E=e.length-1;0<=E;--E){n=e[E];if(0===E){n._color=1;break}r=e[E-1];if(r.left===n){v=r.right;
if(v.right&&0===v.right._color){v=r.right=a(v);z=v.right=a(v.right);r.right=v.left;v.left=r;v.right=z;v._color=r._color;n._color=1;r._color=1;z._color=1;d(r);d(v);if(1<E){var A=e[E-2];A.left===r?A.left=v:A.right=v}e[E-1]=v;break}else if(v.left&&0===v.left._color){v=r.right=a(v);z=v.left=a(v.left);r.right=z.left;v.left=z.right;z.left=r;z.right=v;z._color=r._color;r._color=1;v._color=1;n._color=1;d(r);d(v);d(z);1<E&&(A=e[E-2],A.left===r?A.left=z:A.right=z);e[E-1]=z;break}if(1===v._color)if(0===r._color){r._color=
1;r.right=b(0,v);break}else r.right=b(0,v);else v=a(v),r.right=v.left,v.left=r,v._color=r._color,r._color=0,d(r),d(v),1<E&&(A=e[E-2],A.left===r?A.left=v:A.right=v),e[E-1]=v,e[E]=r,E+1<e.length?e[E+1]=n:e.push(n),E+=2}else{v=r.left;if(v.left&&0===v.left._color){v=r.left=a(v);z=v.left=a(v.left);r.left=v.right;v.right=r;v.left=z;v._color=r._color;n._color=1;r._color=1;z._color=1;d(r);d(v);1<E&&(A=e[E-2],A.right===r?A.right=v:A.left=v);e[E-1]=v;break}else if(v.right&&0===v.right._color){v=r.left=a(v);
z=v.right=a(v.right);r.left=z.right;v.right=z.left;z.right=r;z.left=v;z._color=r._color;r._color=1;v._color=1;n._color=1;d(r);d(v);d(z);1<E&&(A=e[E-2],A.right===r?A.right=z:A.left=z);e[E-1]=z;break}if(1===v._color)if(0===r._color){r._color=1;r.left=b(0,v);break}else r.left=b(0,v);else v=a(v),r.left=v.right,v.right=r,v._color=r._color,r._color=0,d(r),d(v),1<E&&(A=e[E-2],A.right===r?A.right=v:A.left=v),e[E-1]=v,e[E]=r,E+1<e.length?e[E+1]=n:e.push(n),E+=2}}t.left===q?t.left=null:t.right=null}return new m(this.tree._compare,
e[0])};Object.defineProperty(u,"key",{get:function(){if(0<this._stack.length)return this._stack[this._stack.length-1].key},enumerable:!0});Object.defineProperty(u,"value",{get:function(){if(0<this._stack.length)return this._stack[this._stack.length-1].value},enumerable:!0});Object.defineProperty(u,"index",{get:function(){var n=0,e=this._stack;if(0===e.length)return(n=this.tree.root)?n._count:0;e[e.length-1].left&&(n=e[e.length-1].left._count);for(var q=e.length-2;0<=q;--q)e[q+1]===e[q].right&&(++n,
e[q].left&&(n+=e[q].left._count));return n},enumerable:!0});u.next=function(){var n=this._stack;if(0!==n.length){var e=n[n.length-1];if(e.right)for(e=e.right;e;)n.push(e),e=e.left;else for(n.pop();0<n.length&&n[n.length-1].right===e;)e=n[n.length-1],n.pop()}};Object.defineProperty(u,"hasNext",{get:function(){var n=this._stack;if(0===n.length)return!1;if(n[n.length-1].right)return!0;for(var e=n.length-1;0<e;--e)if(n[e-1].left===n[e])return!0;return!1}});u.update=function(n){var e=this._stack;if(0===
e.length)throw Error("Can't update empty node!");var q=Array(e.length),t=e[e.length-1];q[q.length-1]=new c(t._color,t.key,n,t.left,t.right,t._count);for(n=e.length-2;0<=n;--n)t=e[n],q[n]=t.left===e[n+1]?new c(t._color,t.key,t.value,q[n+1],t.right,t._count):new c(t._color,t.key,t.value,t.left,q[n+1],t._count);return new m(this.tree._compare,q[0])};u.prev=function(){var n=this._stack;if(0!==n.length){var e=n[n.length-1];if(e.left)for(e=e.left;e;)n.push(e),e=e.right;else for(n.pop();0<n.length&&n[n.length-
1].left===e;)e=n[n.length-1],n.pop()}};Object.defineProperty(u,"hasPrev",{get:function(){var n=this._stack;if(0===n.length)return!1;if(n[n.length-1].left)return!0;for(var e=n.length-1;0<e;--e)if(n[e-1].right===n[e])return!0;return!1}})},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce consistent indentation",recommended:!1,url:"https://eslint.org/docs/rules/indent-legacy"},deprecated:!0,replacedBy:["indent"],fixable:"whitespace",schema:[{oneOf:[{enum:["tab"]},{type:"integer",
minimum:0}]},{type:"object",properties:{SwitchCase:{type:"integer",minimum:0},VariableDeclarator:{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{var:{type:"integer",minimum:0},let:{type:"integer",minimum:0},const:{type:"integer",minimum:0}}}]},outerIIFEBody:{type:"integer",minimum:0},MemberExpression:{type:"integer",minimum:0},FunctionDeclaration:{type:"object",properties:{parameters:{oneOf:[{type:"integer",minimum:0},{enum:["first"]}]},body:{type:"integer",minimum:0}}},FunctionExpression:{type:"object",
properties:{parameters:{oneOf:[{type:"integer",minimum:0},{enum:["first"]}]},body:{type:"integer",minimum:0}}},CallExpression:{type:"object",properties:{parameters:{oneOf:[{type:"integer",minimum:0},{enum:["first"]}]}}},ArrayExpression:{oneOf:[{type:"integer",minimum:0},{enum:["first"]}]},ObjectExpression:{oneOf:[{type:"integer",minimum:0},{enum:["first"]}]}},additionalProperties:!1}],messages:{expected:"Expected indentation of {{expected}} but found {{actual}}."}},create(d){function m(J,M,P){J="".concat(J,
" ").concat(D).concat(1===J?"":"s");const O="space".concat(1===M?"":"s"),N="tab".concat(1===P?"":"s");M=0<M&&0<P?"".concat(M," ").concat(O," and ").concat(P," ").concat(N):0<M?"space"===D?M:"".concat(M," ").concat(O):0<P?"tab"===D?P:"".concat(P," ").concat(N):"0";return{expected:J,actual:M}}function h(J,M,P,O,N,L){if(!P||!O){var x=("space"===D?" ":"\t").repeat(M),y=L?[J.range[1]-J.loc.end.column,J.range[1]-J.loc.end.column+P+O]:[J.range[0]-J.loc.start.column,J.range[0]-J.loc.start.column+P+O];d.report({node:J,
loc:N,messageId:"expected",data:m(M,P,O),fix:G=>G.replaceTextRange(y,x)})}}function k(J,M){J=M?B.getLastToken(J):B.getFirstToken(J);J=B.getText(J,J.loc.start.column).split("");M=J.slice(0,J.findIndex(P=>" "!==P&&"\t"!==P));J=M.filter(P=>" "===P).length;M=M.filter(P=>"\t"===P).length;return{space:J,tab:M,goodChar:"space"===D?J:M,badChar:"space"===D?M:J}}function p(J,M){const P=!0===M?B.getLastToken(J,1):B.getTokenBefore(J);return(!0===M?J.loc.end.line:J.loc.start.line)!==(P?P.loc.end.line:-1)}function l(J,
M){var P=k(J,!1);"ArrayExpression"===J.type||"ObjectExpression"===J.type||P.goodChar===M&&0===P.badChar||!p(J)||h(J,M,P.space,P.tab);"IfStatement"===J.type&&J.alternate&&(P=B.getTokenBefore(J.alternate),l(P,M),p(J.alternate)||l(J.alternate,M));"TryStatement"===J.type&&J.handler&&(P=B.getFirstToken(J.handler),l(P,M));"TryStatement"===J.type&&J.finalizer&&(P=B.getTokenBefore(J.finalizer),l(P,M));"DoWhileStatement"===J.type&&(J=B.getTokenAfter(J.body),l(J,M))}function g(J,M){J.forEach(P=>l(P,M))}function f(J,
M){const P=B.getLastToken(J),O=k(P,!0);O.goodChar===M&&0===O.badChar||!p(J,!0)||h(J,M,O.space,O.tab,{line:P.loc.start.line,column:P.loc.start.column},!0)}function n(J,M){const P=k(J,!1);P.goodChar===M&&0===P.badChar||!p(J)||h(J,M,P.space,P.tab,{line:J.loc.start.line,column:J.loc.start.column})}function e(J,M,P){J=J.parent;for(P=new Set(P||["Program"]);J.type!==M&&!P.has(J.type)&&"Program"!==J.type;)J=J.parent;return J.type===M?J:null}function q(J,M){return M&&M.parent.loc.start.line===J.loc.start.line&&
1<M.parent.declarations.length}function t(J){const M=B.getLastToken(J);return J.loc.start.line===M.loc.end.line}function r(J){if(!t(J)){var M="ArrayExpression"===J.type?J.elements:J.properties;M=M.filter(L=>null!==L);var P=e(J,"VariableDeclarator");if(p(J)){var O=J.parent;var N=k(O).goodChar;if(!P||P.loc.start.line!==J.loc.start.line)if("VariableDeclarator"!==O.type||P===P.parent.declarations[0])if("VariableDeclarator"===O.type&&P.loc.start.line===O.loc.start.line)N+=F*C.VariableDeclarator[P.parent.kind];
else if("ObjectExpression"===O.type||"ArrayExpression"===O.type){const L="ObjectExpression"===J.parent.type?J.parent.properties:J.parent.elements;L[0]&&L[0].loc.start.line===O.loc.start.line&&L[0].loc.end.line!==O.loc.start.line||(N="number"===typeof C[O.type]?N+C[O.type]*F:L[0].loc.start.column)}else if("CallExpression"===O.type||"NewExpression"===O.type)"number"===typeof C.CallExpression.arguments?N+=C.CallExpression.arguments*F:"first"===C.CallExpression.arguments?-1!==O.arguments.indexOf(J)&&
(N=O.arguments[0].loc.start.column):N+=F;else if("LogicalExpression"===O.type||"ArrowFunctionExpression"===O.type)N+=F;n(J,N)}else N=k(J).goodChar;O="first"===C[J.type]?M.length?M[0].loc.start.column:0:N+F*C[J.type];q(J,P)&&(O+=F*C.VariableDeclarator[P.parent.kind]);g(M,O);0<M.length&&M[M.length-1].loc.end.line===J.loc.end.line||f(J,N+(q(J,P)?C.VariableDeclarator[P.parent.kind]*F:0))}}function v(J){if(!t(J))if(!J.parent||"FunctionExpression"!==J.parent.type&&"FunctionDeclaration"!==J.parent.type&&
"ArrowFunctionExpression"!==J.parent.type){var M="IfStatement WhileStatement ForStatement ForInStatement ForOfStatement DoWhileStatement ClassDeclaration TryStatement".split(" ");M=J.parent&&-1!==M.indexOf(J.parent.type)&&("BlockStatement"===J.type||"ClassBody"===J.type||J.body&&"BlockStatement"===J.body.type||J.consequent&&"BlockStatement"===J.consequent.type)?k(J.parent).goodChar:J.parent&&"CatchClause"===J.parent.type?k(J.parent.parent).goodChar:k(J).goodChar;var P="IfStatement"===J.type&&"BlockStatement"!==
J.consequent.type?[J.consequent]:Array.isArray(J.body)?J.body:[J.body];0<P.length&&g(P,M+F);"BlockStatement"===J.type&&f(J,M)}else{P=J.parent;M=!P.parent||"Property"!==P.parent.type&&"ArrayExpression"!==P.parent.type?k(P).goodChar:k(P,!1).goodChar;if("CallExpression"===P.parent.type){var O=P.parent;if("FunctionExpression"!==P.type&&"ArrowFunctionExpression"!==P.type)O&&O.loc.start.line<J.loc.start.line&&(M=k(O).goodChar);else{var N=P.parent;(N=2<=N.arguments.length&&N.arguments[1]===P?N.arguments[0].loc.end.line>
N.arguments[0].loc.start.line:!1)&&O.callee.loc.start.line===O.callee.loc.end.line&&!p(P)&&(M=k(O).goodChar)}}O=F;if(N=null!==C.outerIIFEBody){{N=P.parent;let L=N.parent;if("CallExpression"!==N.type||N.callee!==P)N=!1;else{for(;"UnaryExpression"===L.type&&("!"===L.operator||"~"===L.operator||"+"===L.operator||"-"===L.operator)||"AssignmentExpression"===L.type||"LogicalExpression"===L.type||"SequenceExpression"===L.type||"VariableDeclarator"===L.type;)L=L.parent;N=("ExpressionStatement"===L.type||
"VariableDeclaration"===L.type)&&L.parent&&"Program"===L.parent.type}}}N?O=C.outerIIFEBody*F:"FunctionExpression"===P.type?O=C.FunctionExpression.body*F:"FunctionDeclaration"===P.type&&(O=C.FunctionDeclaration.body*F);M+=O;(P=e(J,"VariableDeclarator"))&&q(J,P)&&(M+=F*C.VariableDeclarator[P.parent.kind]);0<J.body.length&&g(J.body,M);f(J,M-O)}}function z(J){return J.declarations.reduce((M,P)=>{const O=M[M.length-1];(P.loc.start.line!==J.loc.start.line&&!O||O&&O.loc.start.line!==P.loc.start.line)&&M.push(P);
return M},[])}function E(J){"BlockStatement"!==J.body.type&&v(J)}function A(J,M){J="SwitchStatement"===J.type?J:J.parent;M="undefined"===typeof M?k(J).goodChar:M;if(I[J.loc.start.line])return I[J.loc.start.line];M=0<J.cases.length&&0===C.SwitchCase?M:M+F*C.SwitchCase;return I[J.loc.start.line]=M}let D="space",F=4;const C={SwitchCase:0,VariableDeclarator:{var:1,let:1,const:1},outerIIFEBody:null,FunctionDeclaration:{parameters:null,body:1},FunctionExpression:{parameters:null,body:1},CallExpression:{arguments:null},
ArrayExpression:1,ObjectExpression:1},B=d.getSourceCode();if(d.options.length&&("tab"===d.options[0]?(F=1,D="tab"):"number"===typeof d.options[0]&&(F=d.options[0],D="space"),d.options[1])){const J=d.options[1];C.SwitchCase=J.SwitchCase||0;const M=J.VariableDeclarator;"number"===typeof M?C.VariableDeclarator={var:M,let:M,const:M}:"object"===typeof M&&Object.assign(C.VariableDeclarator,M);"number"===typeof J.outerIIFEBody&&(C.outerIIFEBody=J.outerIIFEBody);"number"===typeof J.MemberExpression&&(C.MemberExpression=
J.MemberExpression);"object"===typeof J.FunctionDeclaration&&Object.assign(C.FunctionDeclaration,J.FunctionDeclaration);"object"===typeof J.FunctionExpression&&Object.assign(C.FunctionExpression,J.FunctionExpression);"object"===typeof J.CallExpression&&Object.assign(C.CallExpression,J.CallExpression);if("number"===typeof J.ArrayExpression||"string"===typeof J.ArrayExpression)C.ArrayExpression=J.ArrayExpression;if("number"===typeof J.ObjectExpression||"string"===typeof J.ObjectExpression)C.ObjectExpression=
J.ObjectExpression}const I={};return{Program(J){0<J.body.length&&g(J.body,k(J).goodChar)},ClassBody:v,BlockStatement:v,WhileStatement:E,ForStatement:E,ForInStatement:E,ForOfStatement:E,DoWhileStatement:E,IfStatement(J){"BlockStatement"!==J.consequent.type&&J.consequent.loc.start.line>J.loc.start.line&&v(J)},VariableDeclaration(J){if(J.declarations[J.declarations.length-1].loc.start.line>J.declarations[0].loc.start.line){{var M=z(J),P=k(J).goodChar;const O=M[M.length-1];P+=F*C.VariableDeclarator[J.kind];
g(M,P);B.getLastToken(J).loc.end.line<=O.loc.end.line||(M=B.getTokenBefore(O),","===M.value?f(J,k(M).goodChar):f(J,P-F))}}},ObjectExpression(J){r(J)},ArrayExpression(J){r(J)},MemberExpression(J){if("undefined"!==typeof C.MemberExpression&&!t(J)&&!e(J,"VariableDeclarator",["FunctionExpression","ArrowFunctionExpression"])&&!e(J,"AssignmentExpression",["FunctionExpression"])){var M=k(J).goodChar+F*C.MemberExpression,P=[J.property];J=B.getTokenBefore(J.property);"Punctuator"===J.type&&"."===J.value&&
P.push(J);g(P,M)}},SwitchStatement(J){const M=k(J).goodChar,P=A(J,M);g(J.cases,P);f(J,M)},SwitchCase(J){if(!t(J)){var M=A(J);g(J.consequent,M+F)}},FunctionDeclaration(J){t(J)||("first"===C.FunctionDeclaration.parameters&&J.params.length?g(J.params.slice(1),J.params[0].loc.start.column):null!==C.FunctionDeclaration.parameters&&g(J.params,k(J).goodChar+F*C.FunctionDeclaration.parameters))},FunctionExpression(J){t(J)||("first"===C.FunctionExpression.parameters&&J.params.length?g(J.params.slice(1),J.params[0].loc.start.column):
null!==C.FunctionExpression.parameters&&g(J.params,k(J).goodChar+F*C.FunctionExpression.parameters))},ReturnStatement(J){if(!t(J)){var M=k(J).goodChar;var P=B.getText(J).replace(B.getText(J.argument),"");if(P=/^return\s*?\(\s*?\);*?/u.test(P)){{const O=B.getLastToken(J,b.isClosingParenToken);B.getText(O,O.loc.start.column).slice(0,-1).trim()||(P=k(O,!0),P.goodChar!==M&&h(J,M,P.space,P.tab,{line:O.loc.start.line,column:O.loc.start.column},!0))}}else l(J,M)}},CallExpression(J){t(J)||("first"===C.CallExpression.arguments&&
J.arguments.length?g(J.arguments.slice(1),J.arguments[0].loc.start.column):null!==C.CallExpression.arguments&&g(J.arguments,k(J).goodChar+F*C.CallExpression.arguments))}}}}},u=>{function c(a){return"ForInStatement"===a.type||"ForOfStatement"===a.type||"ForStatement"===a.type}u.exports={meta:{type:"suggestion",docs:{description:"require or disallow initialization in variable declarations",recommended:!1,url:"https://eslint.org/docs/rules/init-declarations"},schema:{anyOf:[{type:"array",items:[{enum:["always"]}],
minItems:0,maxItems:1},{type:"array",items:[{enum:["never"]},{type:"object",properties:{ignoreForLoopInit:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2}]},messages:{initialized:"Variable '{{idName}}' should be initialized on declaration.",notInitialized:"Variable '{{idName}}' should not be initialized on declaration."}},create(a){const b=a.options[0]||"always",d=a.options[1]||{};return{["VariableDeclaration:exit"](m){const h=m.kind,k=m.declarations;for(let f=0;f<k.length;++f){const n=
k[f],e=n.id;var p=n;var l=p.parent,g=l.parent;p=c(g)?"ForStatement"===g.type?g.init===l:g.left===l:!!p.init;l=d.ignoreForLoopInit&&c(m.parent);g="";"always"!==b||p?"never"===b&&"const"!==h&&p&&!l&&(g="notInitialized"):g="initialized";"Identifier"===e.type&&g&&a.report({node:n,messageId:g,data:{idName:e.name}})}}}}}},(u,c,a)=>{const b=a(571),d={"prefer-double":{quote:'"',description:"singlequote",convert(m){return m.replace(/'/gu,'"')}},"prefer-single":{quote:"'",description:"doublequote",convert(m){return m.replace(/"/gu,
"'")}}};u.exports={meta:{type:"layout",docs:{description:"enforce the consistent use of either double or single quotes in JSX attributes",recommended:!1,url:"https://eslint.org/docs/rules/jsx-quotes"},fixable:"whitespace",schema:[{enum:["prefer-single","prefer-double"]}],messages:{unexpected:"Unexpected usage of {{description}}."}},create(m){function h(p){return-1!==p.value.indexOf(k.quote)||b.isSurroundedBy(p.raw,k.quote)}const k=d[m.options[0]||"prefer-double"];return{JSXAttribute(p){const l=p.value;
l&&b.isStringLiteral(l)&&!h(l)&&m.report({node:l,messageId:"unexpected",data:{description:k.description},fix(g){return g.replaceText(l,k.convert(l.raw))}})}}}}},(u,c,a)=>{function b(k){return k.loc.end.line===k.loc.start.line}function d(k,p){k.mode=p.mode||"strict";k.beforeColon="undefined"!==typeof p.beforeColon?+p.beforeColon:0;k.afterColon="undefined"!==typeof p.afterColon?+p.afterColon:1;"undefined"!==typeof p.align&&(k.align="object"===typeof p.align?p.align:{on:p.align,mode:k.mode,beforeColon:k.beforeColon,
afterColon:k.afterColon});return k}function m(k,p){"object"===typeof p.align?(k.align=d({},p.align),k.align.on=p.align.on||"colon",k.align.mode=p.align.mode||"strict",k.multiLine=d({},p.multiLine||p),k.singleLine=d({},p.singleLine||p)):(k.multiLine=d({},p.multiLine||p),k.singleLine=d({},p.singleLine||p),k.multiLine.align&&(k.align={on:k.multiLine.align.on,mode:k.multiLine.align.mode||k.multiLine.mode,beforeColon:k.multiLine.align.beforeColon,afterColon:k.multiLine.align.afterColon}));return k}const h=
a(571);u.exports={meta:{type:"layout",docs:{description:"enforce consistent spacing between keys and values in object literal properties",recommended:!1,url:"https://eslint.org/docs/rules/key-spacing"},fixable:"whitespace",schema:[{anyOf:[{type:"object",properties:{align:{anyOf:[{enum:["colon","value"]},{type:"object",properties:{mode:{enum:["strict","minimum"]},on:{enum:["colon","value"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1}]},mode:{enum:["strict","minimum"]},
beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1},{type:"object",properties:{singleLine:{type:"object",properties:{mode:{enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1},multiLine:{type:"object",properties:{align:{anyOf:[{enum:["colon","value"]},{type:"object",properties:{mode:{enum:["strict","minimum"]},on:{enum:["colon","value"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1}]},
mode:{enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1}},additionalProperties:!1},{type:"object",properties:{singleLine:{type:"object",properties:{mode:{enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1},multiLine:{type:"object",properties:{mode:{enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1},align:{type:"object",properties:{mode:{enum:["strict",
"minimum"]},on:{enum:["colon","value"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1}},additionalProperties:!1}]}],messages:{extraKey:"Extra space after {{computed}}key '{{key}}'.",extraValue:"Extra space before value for {{computed}}key '{{key}}'.",missingKey:"Missing space after {{computed}}key '{{key}}'.",missingValue:"Missing space before value for {{computed}}key '{{key}}'."}},create(k){function p(C,B){C=C.loc.start.line;const I=B.loc.start.line;if(1>=I-C)return!0;
B=F.getCommentsBefore(B);if(B.length&&1>=B[0].loc.start.line-C&&1>=I-B[B.length-1].loc.end.line){for(C=1;C<B.length;C++)if(1<B[C].loc.start.line-B[C-1].loc.end.line)return!1;return!0}return!1}function l(C){return!(C.method||C.shorthand||"init"!==C.kind||"Property"!==C.type)}function g(C){const B=C.key;return C.computed?F.getText().slice(B.range[0],B.range[1]):h.getStaticPropertyName(C)}function f(C,B,I,J,M){const P=I.length-J;var O=F.getTokenAfter(C.key,h.isColonToken);const N=F.getTokenBefore(O,
{includeComments:!0}),L=F.getTokenAfter(O,{includeComments:!0}),x="key"===B,y=0<P,G=Math.abs(P),K=Array(G+1).join(" ");var R=x?N.loc.end:O.loc.start;O=x?O.loc.start:L.loc.start;const Z=x?N.loc:L.loc;R=y?{start:R,end:O}:Z;if((P&&"strict"===M||0>P&&"minimum"===M||0<P&&!J&&"minimum"===M)&&(!J||!h.LINEBREAK_MATCHER.test(I))){if(y){let aa;aa=x?[N.range[1],N.range[1]+G]:[L.range[0]-G,L.range[0]];I=function(xa){return xa.removeRange(aa)}}else I=x?function(aa){return aa.insertTextAfter(N,K)}:function(aa){return aa.insertTextBefore(L,
K)};k.report({node:C[B],loc:R,messageId:y?"key"===B?"extraKey":"extraValue":"key"===B?"missingKey":"missingValue",data:{computed:C.computed?"computed ":"",key:g(C)},fix:I})}}function n(C){const B=F.getFirstToken(C);C=F.getTokenAfter(C.key,h.isColonToken);C=F.getTokenBefore(C);return C.range[1]-B.range[0]}function e(C){return(C=/(\s*):(\s*)/u.exec(F.getText().slice(C.key.range[1],C.value.range[0])))?{beforeColon:C[1],afterColon:C[2]}:null}function q(C){return 1===C.properties.length?[C.properties]:
C.properties.reduce((B,I)=>{const J=B[B.length-1],M=J[J.length-1];!M||p(M,I)?J.push(I):B.push([I]);return B},[[]])}function t(C,B){const I=e(C);I&&(f(C,"key",I.beforeColon,B.beforeColon,B.mode),f(C,"value",I.afterColon,B.afterColon,B.mode))}function r(C,B){const I=C.length;for(let J=0;J<I;J++)t(C[J],B)}function v(C){q(C).forEach(B=>{B=B.filter(l);var I;if(I=0<B.length)[I]=B,I=I.loc.start.line===B[B.length-1].loc.end.line;if(I)r(B,E);else{{I=B.length;const J=B.map(n),M=D.on;let P=Math.max(...J),O,
N,L;D&&1<I?(O=D.beforeColon,N=D.afterColon):(O=E.beforeColon,N=E.afterColon);L=D.mode;P+="colon"===M?O:N;for(let x=0;x<I;x++){const y=B[x],G=e(y);if(G){const K=J[x];"value"===M?(f(y,"key",G.beforeColon,O,L),f(y,"value",G.afterColon,P-K,L)):(f(y,"key",G.beforeColon,P-K,L),f(y,"value",G.afterColon,N,L))}}}}})}const z=m({},k.options[0]||{}),E=z.multiLine,A=z.singleLine,D=z.align||null,F=k.getSourceCode();return D?{ObjectExpression(C){b(C)?r(C.properties.filter(l),A):v(C)}}:{Property(C){t(C,b(C.parent)?
A:E)}}}}},(u,c,a)=>{const b=a(571),d=/^[)\]}>]$/u,m=/^(?:[([{<~!]|\+\+?|--?)$/u,h=/^[)\]}>*]$/u,k=/^[{*]$/u,p=/\$\{$/u,l=/^\}/u,g=/^(?:JSXElement|RegularExpression|String|Template|PrivateIdentifier)$/u,f=a(606).concat("as async await from get let of set yield".split(" "));(function(){f.sort();for(let n=1;n<f.length;++n)if(f[n]===f[n-1])throw Error("Duplication was found in the keyword list: ".concat(f[n]));})();u.exports={meta:{type:"layout",docs:{description:"enforce consistent spacing before and after keywords",
recommended:!1,url:"https://eslint.org/docs/rules/keyword-spacing"},fixable:"whitespace",schema:[{type:"object",properties:{before:{type:"boolean",default:!0},after:{type:"boolean",default:!0},overrides:{type:"object",properties:f.reduce((n,e)=>{n[e]={type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"}},additionalProperties:!1};return n},{}),additionalProperties:!1}},additionalProperties:!1}],messages:{expectedBefore:'Expected space(s) before "{{value}}".',expectedAfter:'Expected space(s) after "{{value}}".',
unexpectedBefore:'Unexpected space(s) before "{{value}}".',unexpectedAfter:'Unexpected space(s) after "{{value}}".'}},create(n){function e(O,N){const L=M.getTokenBefore(O);!L||!g.test(L.type)&&!N.test(L.value)||"Template"===L.type&&p.test(L.value)||!b.isTokenOnSameLine(L,O)||M.isSpaceBetweenTokens(L,O)||n.report({loc:O.loc,messageId:"expectedBefore",data:O,fix(x){return x.insertTextBefore(O," ")}})}function q(O,N){const L=M.getTokenBefore(O);L&&(g.test(L.type)||N.test(L.value))&&("Template"!==L.type||
!p.test(L.value))&&b.isTokenOnSameLine(L,O)&&M.isSpaceBetweenTokens(L,O)&&n.report({loc:{start:L.loc.end,end:O.loc.start},messageId:"unexpectedBefore",data:O,fix(x){return x.removeRange([L.range[1],O.range[0]])}})}function t(O,N){const L=M.getTokenAfter(O);!L||!g.test(L.type)&&!N.test(L.value)||"Template"===L.type&&l.test(L.value)||!b.isTokenOnSameLine(O,L)||M.isSpaceBetweenTokens(O,L)||n.report({loc:O.loc,messageId:"expectedAfter",data:O,fix(x){return x.insertTextAfter(O," ")}})}function r(O,N){const L=
M.getTokenAfter(O);L&&(g.test(L.type)||N.test(L.value))&&("Template"!==L.type||!l.test(L.value))&&b.isTokenOnSameLine(O,L)&&M.isSpaceBetweenTokens(O,L)&&n.report({loc:{start:O.loc.end,end:L.loc.start},messageId:"unexpectedAfter",data:O,fix(x){return x.removeRange([O.range[1],L.range[0]])}})}function v(O,N){P[O.value].before(O,N||d)}function z(O,N){P[O.value].after(O,N||m)}function E(O){v(O);z(O)}function A(O){(O=O&&M.getFirstToken(O))&&"Keyword"===O.type&&E(O)}function D(O){(O=O&&M.getFirstToken(O))&&
"Keyword"===O.type&&v(O)}function F(O){O&&(O=M.getTokenBefore(O,b.isKeywordToken),E(O))}function C(O){(O=O&&M.getFirstToken(O))&&("Keyword"===O.type&&"function"===O.value||"async"===O.value)&&v(O)}function B(O){A(O);F(O.superClass)}function I(O){var N=M.getFirstToken(O);v(N,h);z(N,k);"ExportDefaultDeclaration"===O.type&&E(M.getTokenAfter(N));"ExportAllDeclaration"===O.type&&O.exported&&(N=M.getTokenBefore(O.exported),v(N,h));O.source&&(O=M.getTokenBefore(O.source),v(O,h),z(O,k))}function J(O){O.static&&
A(O);if("get"===O.kind||"set"===O.kind||(O.method||"MethodDefinition"===O.type)&&O.value.async){O=M.getTokenBefore(O.key,N=>{switch(N.value){case "get":case "set":case "async":return!0;default:return!1}});if(!O)throw Error("Failed to find token get, set, or async beside method name");E(O)}}const M=n.getSourceCode(),P=function(O={}){const N=!1!==O.before,L=!1!==O.after,x={before:N?e:q,after:L?t:r};O=O&&O.overrides||{};const y=Object.create(null);for(let G=0;G<f.length;++G){const K=f[G],R=O[K];y[K]=
R?{before:("before"in R?R.before:N)?e:q,after:("after"in R?R.after:L)?t:r}:x}return y}(n.options[0]);return{DebuggerStatement:A,WithStatement:A,BreakStatement:A,ContinueStatement:A,ReturnStatement:A,ThrowStatement:A,TryStatement:function(O){A(O);A(O.handler);F(O.finalizer)},IfStatement:function(O){A(O);F(O.alternate)},SwitchStatement:A,SwitchCase:A,DoWhileStatement:function(O){A(O);F(O.test)},ForInStatement:function(O){A(O);O=M.getTokenBefore(O.right,b.isNotOpeningParenToken);"PrivateIdentifier"!==
M.getTokenBefore(O).type&&v(O);z(O)},ForOfStatement:function(O){O.await?(v(M.getFirstToken(O,0)),z(M.getFirstToken(O,1))):A(O);O=M.getTokenBefore(O.right,b.isNotOpeningParenToken);"PrivateIdentifier"!==M.getTokenBefore(O).type&&v(O);z(O)},ForStatement:A,WhileStatement:A,ClassDeclaration:B,ExportNamedDeclaration:I,ExportDefaultDeclaration:I,ExportAllDeclaration:I,FunctionDeclaration:C,ImportDeclaration:I,VariableDeclaration:A,ArrowFunctionExpression:C,AwaitExpression:function(O){v(M.getFirstToken(O))},
ClassExpression:B,FunctionExpression:C,NewExpression:D,Super:D,ThisExpression:D,UnaryExpression:D,YieldExpression:D,ImportNamespaceSpecifier:function(O){O=M.getFirstToken(O,1);v(O,h)},MethodDefinition:J,PropertyDefinition:J,Property:J}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce position of line comments",recommended:!1,url:"https://eslint.org/docs/rules/line-comment-position"},schema:[{oneOf:[{enum:["above","beside"]},{type:"object",properties:{position:{enum:["above",
"beside"]},ignorePattern:{type:"string"},applyDefaultPatterns:{type:"boolean"},applyDefaultIgnorePatterns:{type:"boolean"}},additionalProperties:!1}]}],messages:{above:"Expected comment to be above code.",beside:"Expected comment to be beside code."}},create(d){const m=d.options[0];let h,k,p=!0;m&&"string"!==typeof m?(h=!m.position||"above"===m.position,k=m.ignorePattern,p=Object.prototype.hasOwnProperty.call(m,"applyDefaultIgnorePatterns")?m.applyDefaultIgnorePatterns:!1!==m.applyDefaultPatterns):
h=!m||"above"===m;const l=b.COMMENTS_IGNORE_PATTERN,g=/^\s*falls?\s?through/u,f=new RegExp(k,"u"),n=d.getSourceCode();return{Program(){n.getAllComments().filter(e=>"Line"===e.type).forEach(e=>{if(!p||!l.test(e.value)&&!g.test(e.value))if(!k||!f.test(e.value)){var q=n.getTokenBefore(e,{includeComments:!0});q=q&&q.loc.end.line===e.loc.start.line;h?q&&d.report({node:e,messageId:"above"}):q||d.report({node:e,messageId:"beside"})}})}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce consistent linebreak style",
recommended:!1,url:"https://eslint.org/docs/rules/linebreak-style"},fixable:"whitespace",schema:[{enum:["unix","windows"]}],messages:{expectedLF:"Expected linebreaks to be 'LF' but found 'CRLF'.",expectedCRLF:"Expected linebreaks to be 'CRLF' but found 'LF'."}},create(d){function m(k,p){return function(l){return l.replaceTextRange(k,p)}}const h=d.getSourceCode();return{Program:function(k){const p="unix"===(d.options[0]||"unix"),l=p?"\n":"\r\n",g=h.getText(),f=b.createGlobalLinebreakMatcher();let n,
e=0;for(;null!==(n=f.exec(g));){e++;if(n[0]===l)continue;const q=n.index;d.report({node:k,loc:{start:{line:e,column:h.lines[e-1].length},end:{line:e+1,column:0}},messageId:p?"expectedLF":"expectedCRLF",fix:m([q,q+n[0].length],l)})}}}}}},(u,c,a)=>{function b(h){return h.map((k,p)=>({code:k.trim(),num:p+1})).filter(k=>!k.code).map(k=>k.num)}function d(h){const k=[];h.forEach(p=>{k.push(p.loc.start.line,p.loc.end.line)});return k}const m=a(571);u.exports={meta:{type:"layout",docs:{description:"require empty lines around comments",
recommended:!1,url:"https://eslint.org/docs/rules/lines-around-comment"},fixable:"whitespace",schema:[{type:"object",properties:{beforeBlockComment:{type:"boolean",default:!0},afterBlockComment:{type:"boolean",default:!1},beforeLineComment:{type:"boolean",default:!1},afterLineComment:{type:"boolean",default:!1},allowBlockStart:{type:"boolean",default:!1},allowBlockEnd:{type:"boolean",default:!1},allowClassStart:{type:"boolean"},allowClassEnd:{type:"boolean"},allowObjectStart:{type:"boolean"},allowObjectEnd:{type:"boolean"},
allowArrayStart:{type:"boolean"},allowArrayEnd:{type:"boolean"},ignorePattern:{type:"string"},applyDefaultIgnorePatterns:{type:"boolean"}},additionalProperties:!1}],messages:{after:"Expected line after comment.",before:"Expected line before comment."}},create(h){function k(O){let N=O;do N=C.getTokenBefore(N,{includeComments:!0});while(N&&m.isCommentToken(N));if(N&&m.isTokenOnSameLine(N,O))return!0;N=O;do N=C.getTokenAfter(N,{includeComments:!0});while(N&&m.isCommentToken(N));return N&&m.isTokenOnSameLine(O,
N)?!0:!1}function p(O,N){return O.type===N||O.body&&O.body.type===N||O.consequent&&O.consequent.type===N}function l(O,N){const L=C.getNodeByRangeIndex(O.range[0]);return L&&p(L,N)&&1===O.loc.start.line-L.loc.start.line}function g(O,N){const L=C.getNodeByRangeIndex(O.range[0]);return L&&p(L,N)&&1===L.loc.end.line-O.loc.end.line}function f(O){return l(O,"ClassBody")||l(O,"BlockStatement")||l(O,"SwitchCase")}function n(O){return g(O,"ClassBody")||g(O,"BlockStatement")||g(O,"SwitchCase")||g(O,"SwitchStatement")}
function e(O){return l(O,"ObjectExpression")||l(O,"ObjectPattern")}function q(O){return g(O,"ObjectExpression")||g(O,"ObjectPattern")}function t(O){return l(O,"ArrayExpression")||l(O,"ArrayPattern")}function r(O){return g(O,"ArrayExpression")||g(O,"ArrayPattern")}function v(O,N){if(!F||!A.test(O.value))if(!E||!D.test(O.value)){var L=N.after,x=N.before,y=O.loc.start.line-1;N=O.loc.end.line+1;var G=k(O),K=z.allowBlockStart&&f(O)&&!(!1===z.allowClassStart&&l(O,"ClassBody")),R=z.allowBlockEnd&&n(O)&&
!(!1===z.allowClassEnd&&g(O,"ClassBody")),Z=z.allowClassStart&&l(O,"ClassBody"),aa=z.allowClassEnd&&g(O,"ClassBody"),xa=z.allowObjectStart&&e(O),X=z.allowObjectEnd&&q(O),wa=z.allowArrayStart&&t(O),ka=z.allowArrayEnd&&r(O);K=K||Z||xa||wa;R=R||aa||X||ka;1>y&&(x=!1);N>=I&&(L=!1);if(!G){aa=C.getTokenBefore(O,{includeComments:!0});G=C.getTokenAfter(O,{includeComments:!0});if(!(K||!x||P.includes(y)||m.isCommentToken(aa)&&m.isTokenOnSameLine(aa,O))){x=O.range[0]-O.loc.start.column;const ra=[x,x];h.report({node:O,
messageId:"before",fix(qa){return qa.insertTextBeforeRange(ra,"\n")}})}R||!L||P.includes(N)||m.isCommentToken(G)&&m.isTokenOnSameLine(O,G)||h.report({node:O,messageId:"after",fix(ra){return ra.insertTextAfter(O,"\n")}})}}}const z=Object.assign({},h.options[0]),E=z.ignorePattern,A=m.COMMENTS_IGNORE_PATTERN,D=new RegExp(E,"u"),F=!1!==z.applyDefaultIgnorePatterns;z.beforeBlockComment="undefined"!==typeof z.beforeBlockComment?z.beforeBlockComment:!0;const C=h.getSourceCode();var B=C.lines;const I=B.length+
1,J=C.getAllComments(),M=d(J);B=b(B);const P=M.concat(B);return{Program(){J.forEach(O=>{"Line"===O.type?(z.beforeLineComment||z.afterLineComment)&&v(O,{after:z.afterLineComment,before:z.beforeLineComment}):"Block"===O.type&&(z.beforeBlockComment||z.afterBlockComment)&&v(O,{after:z.afterBlockComment,before:z.beforeBlockComment})})}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"require or disallow newlines around directives",recommended:!1,url:"https://eslint.org/docs/rules/lines-around-directive"},
schema:[{oneOf:[{enum:["always","never"]},{type:"object",properties:{before:{enum:["always","never"]},after:{enum:["always","never"]}},additionalProperties:!1,minProperties:2}]}],fixable:"whitespace",messages:{expected:'Expected newline {{location}} "{{value}}" directive.',unexpected:'Unexpected newline {{location}} "{{value}}" directive.'},deprecated:!0,replacedBy:["padding-line-between-statements"]},create(d){function m(q){const t=g.getTokenBefore(q,{includeComments:!0});return 2<=q.loc.start.line-
(t?t.loc.end.line:0)}function h(q){q=g.getLastToken(q);const t=g.getTokenBefore(q);return b.isSemicolonToken(q)&&q.loc.start.line>t.loc.end.line?t:q}function k(q){q=h(q);return 2<=g.getTokenAfter(q,{includeComments:!0}).loc.start.line-q.loc.end.line}function p(q,t,r){d.report({node:q,messageId:r?"expected":"unexpected",data:{value:q.expression.value,location:t},fix(v){const z=h(q);return r?"before"===t?v.insertTextBefore(q,"\n"):v.insertTextAfter(z,"\n"):v.removeRange("before"===t?[q.range[0]-1,q.range[0]]:
[z.range[1],z.range[1]+1])}})}function l(q){var t=b.getDirectivePrologue(q);if(t.length){var r=t[0],v=g.getCommentsBefore(r);v.length?("always"!==n||m(r)||p(r,"before",!0),"never"===n&&m(r)&&p(r,"before",!1)):"Program"===q.type&&"never"===n&&!v.length&&m(r)&&p(r,"before",!1);t=t[t.length-1];q="Program"===q.type?q.body:q.body.body;if(t!==q[q.length-1]||t.trailingComments)"always"!==e||k(t)||p(t,"after",!0),"never"===e&&k(t)&&p(t,"after",!1)}}const g=d.getSourceCode(),f=d.options[0]||"always",n="string"===
typeof f?f:f.before,e="string"===typeof f?f:f.after;return{Program:l,FunctionDeclaration:l,FunctionExpression:l,ArrowFunctionExpression:l}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"require or disallow an empty line between class members",recommended:!1,url:"https://eslint.org/docs/rules/lines-between-class-members"},fixable:"whitespace",schema:[{enum:["always","never"]},{type:"object",properties:{exceptAfterSingleLine:{type:"boolean",default:!1}},additionalProperties:!1}],
messages:{never:"Unexpected blank line between class members.",always:"Expected blank line between class members."}},create(d){function m(g,f){g=l.getLastToken(g);const n=l.getTokenBefore(g);f=l.getFirstToken(f);return b.isSemicolonToken(g)&&!b.isTokenOnSameLine(n,g)&&b.isTokenOnSameLine(g,f)?{curLast:n,nextFirst:g}:{curLast:g,nextFirst:f}}function h(g,f,n){const e=l.getTokenAfter(g,{includeComments:!0});return e!==f&&e.loc.start.line-g.loc.end.line<=n?h(e,f,n):g}function k(g,f,n){const e=l.getTokenBefore(g,
{includeComments:!0});return e!==f&&g.loc.start.line-e.loc.end.line<=n?k(e,f,n):g}const p=[];p[0]=d.options[0]||"always";p[1]=d.options[1]||{exceptAfterSingleLine:!1};const l=d.getSourceCode();return{ClassBody(g){g=g.body;for(let n=0;n<g.length-1;n++){var f=l.getFirstToken(g[n]);const {curLast:e,nextFirst:q}=m(g[n],g[n+1]);f=!!b.isTokenOnSameLine(f,e)&&p[1].exceptAfterSingleLine;const t=h(e,q,1),r=k(q,e,1),v=1<r.loc.start.line-t.loc.end.line,z=0!==l.getTokensBetween(t,r,{includeComments:!0}).length,
E=h(e,q,0);("always"===p[0]&&!f&&!v||"never"===p[0]&&v)&&d.report({node:g[n+1],messageId:v?"never":"always",fix(A){return z?null:v?A.replaceTextRange([t.range[1],r.range[0]],"\n"):A.insertTextAfter(E,"\n")}})}}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"enforce a maximum number of classes per file",recommended:!1,url:"https://eslint.org/docs/rules/max-classes-per-file"},schema:[{oneOf:[{type:"integer",minimum:1},{type:"object",properties:{ignoreExpressions:{type:"boolean"},max:{type:"integer",
minimum:1}},additionalProperties:!1}]}],messages:{maximumExceeded:"File has too many classes ({{ classCount }}). Maximum allowed is {{ max }}."}},create(c){const [a={}]=c.options,[b,d]="number"===typeof a?[!1,a||1]:[a.ignoreExpressions,a.max||1];let m=0;return{Program(){m=0},["Program:exit"](h){m>d&&c.report({node:h,messageId:"maximumExceeded",data:{classCount:m,max:d}})},["ClassDeclaration"](){m++},["ClassExpression"](){b||m++}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"enforce a maximum depth that blocks can be nested",
recommended:!1,url:"https://eslint.org/docs/rules/max-depth"},schema:[{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{maximum:{type:"integer",minimum:0},max:{type:"integer",minimum:0}},additionalProperties:!1}]}],messages:{tooDeeply:"Blocks are nested too deeply ({{depth}}). Maximum allowed is {{maxDepth}}."}},create(c){function a(){h.push(0)}function b(){h.pop()}function d(l){const g=++h[h.length-1];g>p&&c.report({node:l,messageId:"tooDeeply",data:{depth:g,maxDepth:p}})}function m(){h[h.length-
1]--}const h=[],k=c.options[0];let p=4;"object"===typeof k&&(Object.prototype.hasOwnProperty.call(k,"maximum")||Object.prototype.hasOwnProperty.call(k,"max"))&&(p=k.maximum||k.max);"number"===typeof k&&(p=k);return{Program:a,FunctionDeclaration:a,FunctionExpression:a,ArrowFunctionExpression:a,IfStatement(l){"IfStatement"!==l.parent.type&&d(l)},SwitchStatement:d,TryStatement:d,DoWhileStatement:d,WhileStatement:d,WithStatement:d,ForStatement:d,ForInStatement:d,ForOfStatement:d,"IfStatement:exit":m,
"SwitchStatement:exit":m,"TryStatement:exit":m,"DoWhileStatement:exit":m,"WhileStatement:exit":m,"WithStatement:exit":m,"ForStatement:exit":m,"ForInStatement:exit":m,"ForOfStatement:exit":m,"FunctionDeclaration:exit":b,"FunctionExpression:exit":b,"ArrowFunctionExpression:exit":b,"Program:exit":b}}}},u=>{const c={type:"object",properties:{code:{type:"integer",minimum:0},comments:{type:"integer",minimum:0},tabWidth:{type:"integer",minimum:0},ignorePattern:{type:"string"},ignoreComments:{type:"boolean"},
ignoreStrings:{type:"boolean"},ignoreUrls:{type:"boolean"},ignoreTemplateLiterals:{type:"boolean"},ignoreRegExpLiterals:{type:"boolean"},ignoreTrailingComments:{type:"boolean"}},additionalProperties:!1},a={anyOf:[c,{type:"integer",minimum:0}]};u.exports={meta:{type:"layout",docs:{description:"enforce a maximum line length",recommended:!1,url:"https://eslint.org/docs/rules/max-len"},schema:[a,a,c],messages:{max:"This line has a length of {{lineLength}}. Maximum allowed is {{maxLength}}.",maxComment:"This line has a comment length of {{lineLength}}. Maximum allowed is {{maxCommentLength}}."}},
create(b){function d(B,I){let J=0;B.replace(/\t/gu,(M,P)=>{M=P+J;J+=I-(I?M%I:0)-1});return Array.from(B).length+J}function m(B,I,J){return J&&J.loc.start.line===I&&I<=J.loc.end.line&&(J.loc.end.line>I||J.loc.end.column===B.length)}function h(){return n.ast.tokens.filter(B=>"String"===B.type||"JSXText"===B.type&&"JSXAttribute"===n.getNodeByRangeIndex(B.range[0]-1).type)}function k(){return n.ast.tokens.filter(B=>"Template"===B.type)}function p(){return n.ast.tokens.filter(B=>"RegularExpression"===
B.type)}function l(B,I){for(let O=I.loc.start.line;O<=I.loc.end.line;++O){var J=B,M=O,P=I;Array.isArray(J[M])||(J[M]=[]);J[M].push(P)}return B}function g(){const B=[];n.getAllComments().forEach(I=>{const J=n.getNodeByRangeIndex(I.range[0]);if(J&&J.parent&&"JSXEmptyExpression"===J.type&&"JSXExpressionContainer"===J.parent.type){var M=J.parent;M=M.loc.start.line===M.loc.end.line}else M=!1;M?B[B.length-1]!==J.parent&&B.push(J.parent):B.push(I)});return B}const f=/[^:/?#]:\/\/[^?#]/u,n=b.getSourceCode(),
e=Object.assign({},b.options[b.options.length-1]);"number"===typeof b.options[0]&&(e.code=b.options[0]);"number"===typeof b.options[1]&&(e.tabWidth=b.options[1]);const q="number"===typeof e.code?e.code:80,t="number"===typeof e.tabWidth?e.tabWidth:4,r=!!e.ignoreComments,v=!!e.ignoreStrings,z=!!e.ignoreTemplateLiterals,E=!!e.ignoreRegExpLiterals,A=!!e.ignoreTrailingComments||!!e.ignoreComments,D=!!e.ignoreUrls,F=e.comments;let C=e.ignorePattern||null;C&&(C=new RegExp(C,"u"));return{Program:function(B){const I=
n.lines,J=r||F||A?g():[];let M=0;const P=h().reduce(l,{}),O=k().reduce(l,{}),N=p().reduce(l,{});I.forEach((L,x)=>{var y=x+1;x=!1;if(M<J.length){do var G=J[++M];while(G&&G.loc.start.line<=y);G=J[--M];{var K=G;const R=K.loc.start,Z=K.loc.end,aa=!L.slice(0,K.loc.start.column).trim();K=K&&(R.line<y||R.line===y&&aa)&&(Z.line>y||Z.line===y&&Z.column===L.length)}if(K)x=!0;else if(A&&m(L,y,G))for(L=L.slice(0,G.loc.start.column).replace(/\s+$/u,""),G=M;m(L,y,J[--G]);)L=L.slice(0,J[G].loc.start.column).replace(/\s+$/u,
"")}C&&C.test(L)||D&&f.test(L)||v&&P[y]||z&&O[y]||E&&N[y]||(G=d(L,t),x&&r||(y={start:{line:y,column:0},end:{line:y,column:L.length}},x&&F?G>F&&b.report({node:B,loc:y,messageId:"maxComment",data:{lineLength:G,maxCommentLength:F}}):G>q&&b.report({node:B,loc:y,messageId:"max",data:{lineLength:G,maxLength:q}})))})}}}}},(u,c,a)=>{function b(m,h){return[...Array(h-m).keys()].map(k=>k+m)}const d=a(571);u.exports={meta:{type:"suggestion",docs:{description:"enforce a maximum number of lines per file",recommended:!1,
url:"https://eslint.org/docs/rules/max-lines"},schema:[{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{max:{type:"integer",minimum:0},skipComments:{type:"boolean"},skipBlankLines:{type:"boolean"}},additionalProperties:!1}]}],messages:{exceed:"File has too many lines ({{actual}}). Maximum allowed is {{max}}."}},create(m){function h(e){return e&&("Block"===e.type||"Line"===e.type)}function k(e){let q=e.loc.start.line,t=e.loc.end.line,r;r=e;do r=n.getTokenBefore(r,{includeComments:!0});
while(h(r));r&&d.isTokenOnSameLine(r,e)&&(q+=1);r=e;do r=n.getTokenAfter(r,{includeComments:!0});while(h(r));r&&d.isTokenOnSameLine(e,r)&&--t;return q<=t?b(q,t+1):[]}const p=m.options[0];let l=300;"object"===typeof p&&Object.prototype.hasOwnProperty.call(p,"max")?l=p.max:"number"===typeof p&&(l=p);const g=p&&p.skipComments,f=p&&p.skipBlankLines,n=m.getSourceCode();return{["Program:exit"](){let e=n.lines.map((q,t)=>({lineNumber:t+1,text:q}));1<e.length&&""===e[e.length-1].text&&e.pop();f&&(e=e.filter(q=>
""!==q.text.trim()));if(g){const q=n.getAllComments().flatMap(k);e=e.filter(t=>!q.includes(t.lineNumber))}e.length>l&&m.report({loc:{start:{line:e[l].lineNumber,column:0},end:{line:n.lines.length,column:n.lines[n.lines.length-1].length}},messageId:"exceed",data:{max:l,actual:e.length}})}}}}},(u,c,a)=>{function b(h){const k=new Map;h.forEach(p=>{for(let l=p.loc.start.line;l<=p.loc.end.line;l++)k.set(l,p)});return k}const d=a(571),{upperCaseFirst:m}=a(595);u.exports={meta:{type:"suggestion",docs:{description:"enforce a maximum number of lines of code in a function",
recommended:!1,url:"https://eslint.org/docs/rules/max-lines-per-function"},schema:[{oneOf:[{type:"object",properties:{max:{type:"integer",minimum:0},skipComments:{type:"boolean"},skipBlankLines:{type:"boolean"},IIFEs:{type:"boolean"}},additionalProperties:!1},{type:"integer",minimum:1}]}],messages:{exceed:"{{name}} has too many lines ({{lineCount}}). Maximum allowed is {{maxLines}}."}},create(h){function k(r){const v=!r.parent||r!==r.parent.value||"MethodDefinition"!==r.parent.type&&("Property"!==
r.parent.type||!0!==r.parent.method&&"get"!==r.parent.kind&&"set"!==r.parent.kind)?r:r.parent;if(q||"FunctionExpression"!==v.type&&"ArrowFunctionExpression"!==v.type||!v.parent||"CallExpression"!==v.parent.type||v.parent.callee!==v){var z=0;for(let F=v.loc.start.line-1;F<v.loc.end.line;++F){const C=l[F];if(n){var E;if(E=t.has(F+1)){{var A=C;E=F+1;var D=t.get(F+1);const B=D.loc.start,I=D.loc.end,J=B.line===E&&!A.slice(0,B.column).trim();A=I.line===E&&!A.slice(I.column).trim();E=D&&(B.line<E||J)&&(I.line>
E||A)}}if(E)continue}e&&C.match(/^\s*$/u)||z++}z>f&&(r=m(d.getFunctionNameWithKind(r)),h.report({node:v,messageId:"exceed",data:{name:r,lineCount:z,maxLines:f}}))}}const p=h.getSourceCode(),l=p.lines,g=h.options[0];let f=50,n=!1,e=!1,q=!1;"object"===typeof g?(f="number"===typeof g.max?g.max:50,n=!!g.skipComments,e=!!g.skipBlankLines,q=!!g.IIFEs):"number"===typeof g&&(f=g);const t=b(p.getAllComments());return{FunctionDeclaration:k,FunctionExpression:k,ArrowFunctionExpression:k}}}},u=>{u.exports={meta:{type:"suggestion",
docs:{description:"enforce a maximum depth that callbacks can be nested",recommended:!1,url:"https://eslint.org/docs/rules/max-nested-callbacks"},schema:[{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{maximum:{type:"integer",minimum:0},max:{type:"integer",minimum:0}},additionalProperties:!1}]}],messages:{exceed:"Too many nested callbacks ({{num}}). Maximum allowed is {{max}}."}},create(c){function a(k){"CallExpression"===k.parent.type&&h.push(k);h.length>m&&c.report({node:k,messageId:"exceed",
data:{num:h.length,max:m}})}function b(){h.pop()}const d=c.options[0];let m=10;"object"===typeof d&&(Object.prototype.hasOwnProperty.call(d,"maximum")||Object.prototype.hasOwnProperty.call(d,"max"))?m=d.maximum||d.max:"number"===typeof d&&(m=d);const h=[];return{ArrowFunctionExpression:a,"ArrowFunctionExpression:exit":b,FunctionExpression:a,"FunctionExpression:exit":b}}}},(u,c,a)=>{const b=a(571),{upperCaseFirst:d}=a(595);u.exports={meta:{type:"suggestion",docs:{description:"enforce a maximum number of parameters in function definitions",
recommended:!1,url:"https://eslint.org/docs/rules/max-params"},schema:[{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{maximum:{type:"integer",minimum:0},max:{type:"integer",minimum:0}},additionalProperties:!1}]}],messages:{exceed:"{{name}} has too many parameters ({{count}}). Maximum allowed is {{max}}."}},create(m){function h(g){g.params.length>l&&m.report({loc:b.getFunctionHeadLoc(g,k),node:g,messageId:"exceed",data:{name:d(b.getFunctionNameWithKind(g)),count:g.params.length,max:l}})}
const k=m.getSourceCode(),p=m.options[0];let l=3;"object"===typeof p&&(Object.prototype.hasOwnProperty.call(p,"maximum")||Object.prototype.hasOwnProperty.call(p,"max"))&&(l=p.maximum||p.max);"number"===typeof p&&(l=p);return{FunctionDeclaration:h,ArrowFunctionExpression:h,FunctionExpression:h}}}},(u,c,a)=>{const b=a(571),{upperCaseFirst:d}=a(595);u.exports={meta:{type:"suggestion",docs:{description:"enforce a maximum number of statements allowed in function blocks",recommended:!1,url:"https://eslint.org/docs/rules/max-statements"},
schema:[{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{maximum:{type:"integer",minimum:0},max:{type:"integer",minimum:0}},additionalProperties:!1}]},{type:"object",properties:{ignoreTopLevelFunctions:{type:"boolean"}},additionalProperties:!1}],messages:{exceed:"{{name}} has too many statements ({{count}}). Maximum allowed is {{max}}."}},create(m){function h(q,t,r){if(t>r){const v=d(b.getFunctionNameWithKind(q));m.report({node:q,messageId:"exceed",data:{name:v,count:t,max:r}})}}function k(){l.push(0)}
function p(q){const t=l.pop();f&&0===l.length?n.push({node:q,count:t}):h(q,t,e)}const l=[],g=m.options[0],f=m.options[1]&&m.options[1].ignoreTopLevelFunctions||!1,n=[];let e=10;"object"===typeof g&&(Object.prototype.hasOwnProperty.call(g,"maximum")||Object.prototype.hasOwnProperty.call(g,"max"))?e=g.maximum||g.max:"number"===typeof g&&(e=g);return{FunctionDeclaration:k,FunctionExpression:k,ArrowFunctionExpression:k,BlockStatement:function(q){l[l.length-1]+=q.body.length},"FunctionDeclaration:exit":p,
"FunctionExpression:exit":p,"ArrowFunctionExpression:exit":p,["Program:exit"](){1!==n.length&&n.forEach(q=>{h(q.node,q.count,e)})}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce a maximum number of statements allowed per line",recommended:!1,url:"https://eslint.org/docs/rules/max-statements-per-line"},schema:[{type:"object",properties:{max:{type:"integer",minimum:1,default:1}},additionalProperties:!1}],messages:{exceed:"This line has {{numberOfStatementsOnThisLine}} {{statements}}. Maximum allowed is {{maxStatementsPerLine}}."}},
create(d){function m(){e&&d.report({node:e,messageId:"exceed",data:{numberOfStatementsOnThisLine:n,maxStatementsPerLine:g,statements:1===n?"statement":"statements"}});e=null}function h(t){const r=t.loc.start.line;q.test(t.parent.type)&&t.parent.alternate!==t||(r===f?n+=1:(m(),n=1,f=r),n===g+1&&(e=e||t))}function k(t){t=p.getLastToken(t,b.isNotSemicolonToken).loc.end.line;t!==f&&(m(),n=1,f=t)}const p=d.getSourceCode(),l=d.options[0]||{},g="undefined"!==typeof l.max?l.max:1;let f=0,n=0,e;const q=/^(?:(?:DoWhile|For|ForIn|ForOf|If|Labeled|While)Statement|Export(?:Default|Named)Declaration)$/u;
return{BreakStatement:h,ClassDeclaration:h,ContinueStatement:h,DebuggerStatement:h,DoWhileStatement:h,ExpressionStatement:h,ForInStatement:h,ForOfStatement:h,ForStatement:h,FunctionDeclaration:h,IfStatement:h,ImportDeclaration:h,LabeledStatement:h,ReturnStatement:h,SwitchStatement:h,ThrowStatement:h,TryStatement:h,VariableDeclaration:h,WhileStatement:h,WithStatement:h,ExportNamedDeclaration:h,ExportDefaultDeclaration:h,ExportAllDeclaration:h,"BreakStatement:exit":k,"ClassDeclaration:exit":k,"ContinueStatement:exit":k,
"DebuggerStatement:exit":k,"DoWhileStatement:exit":k,"ExpressionStatement:exit":k,"ForInStatement:exit":k,"ForOfStatement:exit":k,"ForStatement:exit":k,"FunctionDeclaration:exit":k,"IfStatement:exit":k,"ImportDeclaration:exit":k,"LabeledStatement:exit":k,"ReturnStatement:exit":k,"SwitchStatement:exit":k,"ThrowStatement:exit":k,"TryStatement:exit":k,"VariableDeclaration:exit":k,"WhileStatement:exit":k,"WithStatement:exit":k,"ExportNamedDeclaration:exit":k,"ExportDefaultDeclaration:exit":k,"ExportAllDeclaration:exit":k,
"Program:exit":m}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"enforce a particular style for multiline comments",recommended:!1,url:"https://eslint.org/docs/rules/multiline-comment-style"},fixable:"whitespace",schema:[{enum:["starred-block","separate-lines","bare-block"]}],messages:{expectedBlock:"Expected a block comment instead of consecutive line comments.",expectedBareBlock:"Expected a block comment without padding stars.",startNewline:"Expected a linebreak after '/*'.",
endNewline:"Expected a linebreak before '*/'.",missingStar:"Expected a '*' at the start of this line.",alignment:"Expected this line to be aligned with the start of the comment.",expectedLines:"Expected multiple line comments instead of a block comment."}},create(d){function m([v]){if("Block"!==v.type)return!1;const z=v.value.split(b.LINEBREAK_MATCHER);return 0<z.length&&z.every((E,A)=>(0===A||A===z.length-1?/^\s*$/u:/^\s*\*/u).test(E))}function h([v]){if("Block"!==v.type)return!1;v=v.value.split(b.LINEBREAK_MATCHER);
return/^\*\s*$/u.test(v[0])&&v.slice(1,-1).every(z=>/^\s* /u.test(z))&&/^\s*$/u.test(v[v.length-1])}function k(v){const z=v.map(({value:E})=>E).filter(E=>E.trim().length).every(E=>E.startsWith(" "));return v.map(({value:E})=>z?E.replace(/^ /u,""):E)}function p(v){v=v.value.split(b.LINEBREAK_MATCHER).filter((E,A,D)=>!(0===A||A===D.length-1)).map(E=>E.replace(/^\s*$/u,""));const z=v.map(E=>E.replace(/\s*\*/u,"")).filter(E=>E.trim().length).every(E=>E.startsWith(" "));return v.map(E=>E.replace(z?/\s*\* ?/u:
/\s*\*/u,""))}function l(v){const z=v.value.split(b.LINEBREAK_MATCHER).map(D=>D.replace(/^\s*$/u,"")),E="".concat(q.text.slice(v.range[0]-v.loc.start.column,v.range[0]),"   ");let A="";for(const [D,F]of z.entries())F.trim().length&&0!==D&&([,v]=F.match(/^(\s*\*?\s*)/u),v.length<E.length&&(v=E.slice(v.length-E.length),v.length>A.length&&(A=v)));return z.map(D=>{D=D.match(/^(\s*\*?\s*)(.*)/u);const [,F,C]=D;return F.length>E.length?"".concat(F.slice(E.length-(A.length+F.length))).concat(C):F.length<
E.length?"".concat(F.slice(E.length)).concat(C):C})}function g(v){const [z]=v;return"Line"===z.type?k(v):m(v)?p(z):l(z)}function f(v){return q.text.slice(v.range[0]-v.loc.start.column,v.range[0])}function n(v,z){const E=f(v);return"/*\n".concat(z.map(A=>"".concat(E," * ").concat(A)).join("\n"),"\n").concat(E," */")}function e(v,z){return z.map(E=>"// ".concat(E)).join("\n".concat(f(v)))}const q=d.getSourceCode(),t=d.options[0]||"starred-block",r={["starred-block"](v){const [z]=v,E=g(v);if(!E.some(A=>
A.includes("*/")))if(1<v.length)d.report({loc:{start:z.loc.start,end:v[v.length-1].loc.end},messageId:"expectedBlock",fix(A){const D=[z.range[0],v[v.length-1].range[1]];return E.some(F=>F.startsWith("/"))?null:A.replaceTextRange(D,n(z,E))}});else{const A=z.value.split(b.LINEBREAK_MATCHER),D=f(z),F="".concat(D," *");if(!/^\*?\s*$/u.test(A[0])){const C=z.value.startsWith("*")?z.range[0]+1:z.range[0];d.report({loc:{start:z.loc.start,end:{line:z.loc.start.line,column:z.loc.start.column+2}},messageId:"startNewline",
fix:B=>B.insertTextAfterRange([C,C+2],"\n".concat(F))})}/^\s*$/u.test(A[A.length-1])||d.report({loc:{start:{line:z.loc.end.line,column:z.loc.end.column-2},end:z.loc.end},messageId:"endNewline",fix:C=>C.replaceTextRange([z.range[1]-2,z.range[1]],"\n".concat(F,"/"))});for(let C=z.loc.start.line+1;C<=z.loc.end.line;C++){const B=q.lines[C-1],I=/^\s*\*/u.test(B)?"alignment":"missingStar";B.startsWith(F)||d.report({loc:{start:{line:C,column:0},end:{line:C,column:B.length}},messageId:I,fix(J){const M=q.getIndexFromLoc({line:C,
column:0});if("alignment"===I){var [,P=""]=B.match(/^(\s*\*)/u)||[];return J.replaceTextRange([M,M+P.length],F)}[,P=""]=B.match(/^(\s*)/u)||[];const O=M+P.length;let N;for(const [L,x]of A.entries()){if(!/\S+/u.test(x))continue;const [,y="",G=""]=q.lines[z.loc.start.line-1+L].match(/^(\s*(?:\/?\*)?(\s*))/u)||[];N="".concat(P.slice(y.length)).concat(G);/^\s*\//u.test(B)&&0===N.length&&(N+=" ");break}return J.replaceTextRange([M,O],"".concat(F).concat(N))}})}}},["separate-lines"](v){const [z]=v;if("Block"===
z.type&&!h(v)){var E=g(v);(v=q.getTokenAfter(z,{includeComments:!0}))&&z.loc.end.line===v.loc.start.line||d.report({loc:{start:z.loc.start,end:{line:z.loc.start.line,column:z.loc.start.column+2}},messageId:"expectedLines",fix(A){return A.replaceText(z,e(z,E))}})}},["bare-block"](v){if(!h(v)){var [z]=v,E=g(v);"Line"===z.type&&1<E.length&&!E.some(A=>A.includes("*/"))&&d.report({loc:{start:z.loc.start,end:v[v.length-1].loc.end},messageId:"expectedBlock",fix(A){return A.replaceTextRange([z.range[0],v[v.length-
1].range[1]],"/* ".concat(E.join("\n".concat(f(z),"   "))," */"))}});m(v)&&d.report({loc:{start:z.loc.start,end:{line:z.loc.start.line,column:z.loc.start.column+2}},messageId:"expectedBareBlock",fix(A){return A.replaceText(z,"/* ".concat(E.join("\n".concat(f(z),"   "))," */"))}})}}};return{Program(){return q.getAllComments().filter(v=>"Shebang"!==v.type).filter(v=>!b.COMMENTS_IGNORE_PATTERN.test(v.value)).filter(v=>{const z=q.getTokenBefore(v,{includeComments:!0});return!z||z.loc.end.line<v.loc.start.line}).reduce((v,
z,E,A)=>{const D=q.getTokenBefore(z,{includeComments:!0});"Line"===z.type&&E&&"Line"===A[E-1].type&&D&&D.loc.end.line===z.loc.start.line-1&&D===A[E-1]?v[v.length-1].push(z):v.push([z]);return v},[]).filter(v=>!(1===v.length&&v[0].loc.start.line===v[0].loc.end.line)).forEach(r[t])}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce newlines between operands of ternary expressions",recommended:!1,url:"https://eslint.org/docs/rules/multiline-ternary"},schema:[{enum:["always",
"always-multiline","never"]}],messages:{expectedTestCons:"Expected newline between test and consequent of ternary expression.",expectedConsAlt:"Expected newline between consequent and alternate of ternary expression.",unexpectedTestCons:"Unexpected newline between test and consequent of ternary expression.",unexpectedConsAlt:"Unexpected newline between consequent and alternate of ternary expression."},fixable:"whitespace"},create(d){const m=d.getSourceCode(),h=d.options[0],k="never"!==h,p="always-multiline"===
h;return{ConditionalExpression(l){const g=m.getTokenAfter(l.test,b.isNotClosingParenToken),f=m.getTokenAfter(l.consequent,b.isNotClosingParenToken),n=m.getFirstToken(l),e=m.getTokenBefore(g),q=m.getTokenAfter(g),t=m.getTokenBefore(f),r=m.getTokenAfter(f),v=b.isTokenOnSameLine(e,q),z=b.isTokenOnSameLine(t,r),E=!!m.getCommentsInside(l).length;k?p&&l.loc.start.line===l.loc.end.line||(v&&d.report({node:l.test,loc:{start:n.loc.start,end:e.loc.end},messageId:"expectedTestCons",fix:A=>E?null:A.replaceTextRange([e.range[1],
g.range[0]],"\n")}),z&&d.report({node:l.consequent,loc:{start:q.loc.start,end:t.loc.end},messageId:"expectedConsAlt",fix:A=>E?null:A.replaceTextRange([t.range[1],f.range[0]],"\n")})):(v||d.report({node:l.test,loc:{start:n.loc.start,end:e.loc.end},messageId:"unexpectedTestCons",fix:A=>{if(E)return null;const D=[],F=b.isTokenOnSameLine(e,g),C=b.isTokenOnSameLine(g,q);F||D.push(A.removeRange([e.range[1],g.range[0]]));C||D.push(A.removeRange([g.range[1],q.range[0]]));return D}}),z||d.report({node:l.consequent,
loc:{start:q.loc.start,end:t.loc.end},messageId:"unexpectedConsAlt",fix:A=>{if(E)return null;const D=[],F=b.isTokenOnSameLine(t,f),C=b.isTokenOnSameLine(f,r);F||D.push(A.removeRange([t.range[1],f.range[0]]));C||D.push(A.removeRange([f.range[1],r.range[0]]));return D}}))}}}}},(u,c,a)=>{function b(p,l,g){if(Object.prototype.hasOwnProperty.call(p,l)&&!Array.isArray(p[l]))throw new TypeError("".concat(l,", if provided, must be an Array"));return p[l]||g}function d(p,l){p[l]=!0;return p}function m(p){p=
b(p,"capIsNewExceptions",k);p!==k&&(p=p.concat(k));return p.reduce(d,{})}const h=a(571),k="Array Boolean Date Error Function Number Object RegExp String Symbol BigInt".split(" ");u.exports={meta:{type:"suggestion",docs:{description:"require constructor names to begin with a capital letter",recommended:!1,url:"https://eslint.org/docs/rules/new-cap"},schema:[{type:"object",properties:{newIsCap:{type:"boolean",default:!0},capIsNew:{type:"boolean",default:!0},newIsCapExceptions:{type:"array",items:{type:"string"}},
newIsCapExceptionPattern:{type:"string"},capIsNewExceptions:{type:"array",items:{type:"string"}},capIsNewExceptionPattern:{type:"string"},properties:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{upper:"A function with a name starting with an uppercase letter should only be used as a constructor.",lower:"A constructor name should not start with a lowercase letter."}},create(p){function l(D){return"Identifier"===D.callee.type?D.callee.name:h.getStaticPropertyName(D.callee)||""}function g(D){D=
D.charAt(0);const F=D.toLowerCase(),C=D.toUpperCase();return F===C?"non-alpha":D===F?"lower":"upper"}function f(D,F,C,B){const I=A.getText(F.callee);if(D[C]||D[I]||B&&B.test(I))return!0;D=h.skipChainExpression(F.callee);return"UTC"===C&&"MemberExpression"===D.type?"Identifier"===D.object.type&&"Date"===D.object.name:q&&"MemberExpression"===D.type}function n(D,F){let C=h.skipChainExpression(D.callee);"MemberExpression"===C.type&&(C=C.property);p.report({node:D,loc:C.loc,messageId:F})}const e=Object.assign({},
p.options[0]);e.newIsCap=!1!==e.newIsCap;e.capIsNew=!1!==e.capIsNew;const q=!1===e.properties,t=b(e,"newIsCapExceptions",[]).reduce(d,{}),r=e.newIsCapExceptionPattern?new RegExp(e.newIsCapExceptionPattern,"u"):null,v=m(e),z=e.capIsNewExceptionPattern?new RegExp(e.capIsNewExceptionPattern,"u"):null,E={},A=p.getSourceCode();e.newIsCap&&(E.NewExpression=function(D){const F=l(D);F&&("lower"!==g(F)||f(t,D,F,r)||n(D,"lower"))});e.capIsNew&&(E.CallExpression=function(D){const F=l(D);F&&("upper"!==g(F)||
f(v,D,F,z)||n(D,"upper"))});return E}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce or disallow parentheses when invoking a constructor with no arguments",recommended:!1,url:"https://eslint.org/docs/rules/new-parens"},fixable:"code",schema:{anyOf:[{type:"array",items:[{enum:["always","never"]}],minItems:0,maxItems:1}]},messages:{missing:"Missing '()' invoking a constructor.",unnecessary:"Unnecessary '()' invoking a constructor with no arguments."}},create(d){const m=
"never"!==d.options[0],h=d.getSourceCode();return{NewExpression(k){if(0===k.arguments.length){var p=h.getLastToken(k),l=p&&b.isClosingParenToken(p)&&b.isOpeningParenToken(h.getTokenBefore(p))&&k.callee.range[1]<k.range[1];m?l||d.report({node:k,messageId:"missing",fix:g=>g.insertTextAfter(k,"()")}):l&&d.report({node:k,messageId:"unnecessary",fix:g=>[g.remove(h.getTokenBefore(p)),g.remove(p),g.insertTextBefore(k,"("),g.insertTextAfter(k,")")]})}}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",
docs:{description:"require or disallow an empty line after variable declarations",recommended:!1,url:"https://eslint.org/docs/rules/newline-after-var"},schema:[{enum:["never","always"]}],fixable:"whitespace",messages:{expected:"Expected blank line after variable declarations.",unexpected:"Unexpected blank line after variable declarations."},deprecated:!0,replacedBy:["padding-line-between-statements"]},create(d){function m(q){q=f.getLastToken(q);if("Punctuator"===q.type&&";"===q.value){const t=f.getTokenBefore(q);
if(t.loc.end.line!==q.loc.start.line)return t}return q}function h(q){return"var"===q||"let"===q||"const"===q}function k(q){return"ForStatement"===q||"ForInStatement"===q||"ForOfStatement"===q}function p(q){return"ExportNamedDeclaration"===q||"ExportSpecifier"===q||"ExportDefaultDeclaration"===q||"ExportAllDeclaration"===q}function l(q){q=f.getTokenAfter(q);return!q||"Punctuator"===q.type&&"}"===q.value}function g(q){q=e[q];return e[q+1]?g(q+1):q}const f=d.getSourceCode(),n="never"===d.options[0]?
"never":"always",e=f.getAllComments().reduce((q,t)=>{q[t.loc.start.line]=t.loc.end.line;return q},{});return{VariableDeclaration:function(q){const t=m(q),r=t===f.getLastToken(q)?f.getTokenAfter(q):f.getLastToken(q),v=t.loc.end.line+1;if(r&&!(k(q.parent.type)||p(q.parent.type)||"Keyword"===r.type&&h(r.value)||l(q))){var z=r.loc.start.line>v,E="undefined"!==typeof e[v];"never"===n&&z&&!E&&d.report({node:q,messageId:"unexpected",data:{identifier:q.name},fix(A){const D=f.getText().slice(t.range[1],r.range[0]).split(b.LINEBREAK_MATCHER);
return A.replaceTextRange([t.range[1],r.range[0]],"".concat(D.slice(0,-1).join(""),"\n").concat(D[D.length-1]))}});"always"!==n||z&&(!E||r.loc.start.line>g(v)+1)||d.report({node:q,messageId:"expected",data:{identifier:q.name},fix(A){return(z?g(v):t.loc.end.line)===r.loc.start.line?A.insertTextBefore(r,"\n\n"):A.insertTextBeforeRange([r.range[0]-r.loc.start.column,r.range[1]],"\n")}})}}}}}},u=>{u.exports={meta:{type:"layout",docs:{description:"require an empty line before `return` statements",recommended:!1,
url:"https://eslint.org/docs/rules/newline-before-return"},fixable:"whitespace",schema:[],messages:{expected:"Expected newline before return statement."},deprecated:!0,replacedBy:["padding-line-between-statements"]},create(c){function a(k,p){const l=h.getTokenBefore(k);return p.some(g=>l.value===g)}function b(k){const p=k.parent.type;return k.parent.body?Array.isArray(k.parent.body)?k.parent.body[0]===k:k.parent.body===k:"IfStatement"===p?a(k,["else",")"]):"DoWhileStatement"===p?a(k,["do"]):"SwitchCase"===
p?a(k,[":"]):a(k,[")"])}function d(k,p){const l=h.getCommentsBefore(k);let g=0;if(!l.length)return g;l.forEach(f=>{g++;"Block"===f.type&&(g+=f.loc.end.line-f.loc.start.line);f.loc.start.line===p&&g--;f.loc.end.line===k.loc.start.line&&g--});return g}function m(k){const p=k.loc.start.line;var l=(l=h.getTokenBefore(k))?l.loc.end.line:0;k=d(k,l);return 1<p-l-k}const h=c.getSourceCode();return{ReturnStatement(k){b(k)||m(k)||c.report({node:k,messageId:"expected",fix(p){{var l=h.getCommentsBefore(k);const g=
l[l.length-1],f=h.getTokenBefore(k);l=0===l.length?!0:g.loc.end.line===f.loc.end.line&&g.loc.end.line!==k.loc.start.line?!0:!1}return l?(l=h.getTokenBefore(k),p.insertTextBefore(k,k.loc.start.line===l.loc.end.line?"\n\n":"\n")):null}})}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"require a newline after each call in a method chain",recommended:!1,url:"https://eslint.org/docs/rules/newline-per-chained-call"},fixable:"whitespace",schema:[{type:"object",properties:{ignoreChainWithDepth:{type:"integer",
minimum:1,maximum:10,default:2}},additionalProperties:!1}],messages:{expected:"Expected line break before `{{callee}}`."}},create(d){function m(p){const l=p.computed?p.optional?"?.[":"[":p.optional?"?.":".",g=k.getText(p.property).split(b.LINEBREAK_MATCHER);return l+g[0]+(p.computed&&1===g.length?"]":"")}const h=(d.options[0]||{}).ignoreChainWithDepth||2,k=d.getSourceCode();return{["CallExpression:exit"](p){p=b.skipChainExpression(p.callee);if("MemberExpression"===p.type){for(var l=b.skipChainExpression(p.object),
g=1;l&&l.callee;)g+=1,l=b.skipChainExpression(b.skipChainExpression(l.callee).object);if(g>h&&b.isTokenOnSameLine(p.object,p.property)){const f=k.getTokenAfter(p.object,b.isNotClosingParenToken);d.report({node:p.property,loc:{start:f.loc.start,end:p.loc.end},messageId:"expected",data:{callee:m(p)},fix(n){return n.insertTextBefore(f,"\n")}})}}}}}}},(u,c,a)=>{function b(p,l){p=p.references.filter(g=>g.identifier.range[0]===l.range[0]&&g.identifier.range[1]===l.range[1]);return 1===p.length?p[0]:null}
function d(p,l){return(p=b(p,l))&&p.resolved&&0<p.resolved.defs.length}const {getStaticPropertyName:m,getVariableByName:h,skipChainExpression:k}=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow the use of `alert`, `confirm`, and `prompt`",recommended:!1,url:"https://eslint.org/docs/rules/no-alert"},schema:[],messages:{unexpected:"Unexpected {{name}}."}},create(p){return{CallExpression(l){var g=k(l.callee);const f=p.getScope();if("Identifier"===g.type){var n=g.name;!d(f,g)&&/^(alert|confirm|prompt)$/u.test(g.name)&&
p.report({node:l,messageId:"unexpected",data:{name:n}})}else{if(n="MemberExpression"===g.type)n=g.object,n="global"===f.type&&"ThisExpression"===n.type?!0:"Identifier"===n.type&&("window"===n.name||"globalThis"===n.name&&h(f,"globalThis"))?!d(f,n):!1;n&&(g=m(g),/^(alert|confirm|prompt)$/u.test(g)&&p.report({node:l,messageId:"unexpected",data:{name:g}}))}}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow `Array` constructors",recommended:!1,url:"https://eslint.org/docs/rules/no-array-constructor"},
schema:[],messages:{preferLiteral:"The array literal notation [] is preferable."}},create(c){function a(b){1!==b.arguments.length&&"Identifier"===b.callee.type&&"Array"===b.callee.name&&c.report({node:b,messageId:"preferLiteral"})}return{CallExpression:a,NewExpression:a}}}},u=>{u.exports={meta:{type:"problem",docs:{description:"disallow using an async function as a Promise executor",recommended:!0,url:"https://eslint.org/docs/rules/no-async-promise-executor"},fixable:null,schema:[],messages:{async:"Promise executor functions should not be async."}},
create(c){return{["NewExpression[callee.name='Promise'][arguments.0.async=true]"](a){c.report({node:c.getSourceCode().getFirstToken(a.arguments[0],b=>"async"===b.value),messageId:"async"})}}}}},u=>{function c(b){const d=b.type;return"FunctionDeclaration"===d||"FunctionExpression"===d||"ArrowFunctionExpression"===d||"ForOfStatement"===d&&!0===b.await}function a(b,d){switch(d.type){case "ForStatement":return b===d.test||b===d.update||b===d.body;case "ForOfStatement":case "ForInStatement":return b===
d.body;case "WhileStatement":case "DoWhileStatement":return b===d.test||b===d.body;default:return!1}}u.exports={meta:{type:"problem",docs:{description:"disallow `await` inside of loops",recommended:!1,url:"https://eslint.org/docs/rules/no-await-in-loop"},schema:[],messages:{unexpectedAwait:"Unexpected `await` inside a loop."}},create(b){function d(m){if("ForOfStatement"!==m.type||m.await)for(var h=m,k=h.parent;k&&!c(k);){if(a(h,k)){b.report({node:m,messageId:"unexpectedAwait"});break}h=k;k=k.parent}}
return{AwaitExpression:d,ForOfStatement:d}}}},u=>{const c="^ | & << >> >>> ^= |= &= <<= >>= >>>= ~".split(" ");u.exports={meta:{type:"suggestion",docs:{description:"disallow bitwise operators",recommended:!1,url:"https://eslint.org/docs/rules/no-bitwise"},schema:[{type:"object",properties:{allow:{type:"array",items:{enum:c},uniqueItems:!0},int32Hint:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{unexpected:"Unexpected use of '{{operator}}'."}},create(a){function b(k){-1===c.indexOf(k.operator)||
-1!==m.indexOf(k.operator)||h&&"|"===k.operator&&k.right&&"Literal"===k.right.type&&0===k.right.value||a.report({node:k,messageId:"unexpected",data:{operator:k.operator}})}const d=a.options[0]||{},m=d.allow||[],h=!0===d.int32Hint;return{AssignmentExpression:b,BinaryExpression:b,UnaryExpression:b}}}},u=>{u.exports={meta:{deprecated:!0,replacedBy:[],type:"problem",docs:{description:"disallow use of the `Buffer()` constructor",recommended:!1,url:"https://eslint.org/docs/rules/no-buffer-constructor"},
schema:[],messages:{deprecated:"{{expr}} is deprecated. Use Buffer.from(), Buffer.alloc(), or Buffer.allocUnsafe() instead."}},create(c){return{["CallExpression[callee.name='Buffer'], NewExpression[callee.name='Buffer']"](a){c.report({node:a,messageId:"deprecated",data:{expr:"CallExpression"===a.type?"Buffer()":"new Buffer()"}})}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow the use of `arguments.caller` or `arguments.callee`",recommended:!1,url:"https://eslint.org/docs/rules/no-caller"},
schema:[],messages:{unexpected:"Avoid arguments.{{prop}}."}},create(c){return{MemberExpression(a){const b=a.property.name;"arguments"===a.object.name&&!a.computed&&b&&b.match(/^calle[er]$/u)&&c.report({node:a,messageId:"unexpected",data:{prop:b}})}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow lexical declarations in case clauses",recommended:!0,url:"https://eslint.org/docs/rules/no-case-declarations"},schema:[],messages:{unexpected:"Unexpected lexical declaration in case block."}},
create(c){return{SwitchCase(a){for(let d=0;d<a.consequent.length;d++){const m=a.consequent[d];a:switch(m.type){case "FunctionDeclaration":case "ClassDeclaration":var b=!0;break a;case "VariableDeclaration":b="var"!==m.kind;break a;default:b=!1}b&&c.report({node:m,messageId:"unexpected"})}}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow `catch` clause parameters from shadowing variables in the outer scope",recommended:!1,url:"https://eslint.org/docs/rules/no-catch-shadow"},
replacedBy:["no-shadow"],deprecated:!0,schema:[],messages:{mutable:"Value of '{{name}}' may be overwritten in IE 8 and earlier."}},create(d){return{["CatchClause[param!=null]"](m){let h=d.getScope();h.block===m&&(h=h.upper);null!==b.getVariableByName(h,m.param.name)&&d.report({node:m,messageId:"mutable",data:{name:m.param.name}})}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"problem",docs:{description:"disallow reassigning class members",recommended:!0,url:"https://eslint.org/docs/rules/no-class-assign"},
schema:[],messages:{class:"'{{name}}' is a class."}},create(d){function m(k){b.getModifyingReferences(k.references).forEach(p=>{d.report({node:p.identifier,messageId:"class",data:{name:p.identifier.name}})})}function h(k){d.getDeclaredVariables(k).forEach(m)}return{ClassDeclaration:h,ClassExpression:h}}}},u=>{u.exports={meta:{type:"problem",docs:{description:"disallow comparing against -0",recommended:!0,url:"https://eslint.org/docs/rules/no-compare-neg-zero"},fixable:null,schema:[],messages:{unexpected:"Do not use the '{{operator}}' operator to compare against -0."}},
create(c){function a(d){return"UnaryExpression"===d.type&&"-"===d.operator&&"Literal"===d.argument.type&&0===d.argument.value}const b=new Set("> >= < <= == === != !==".split(" "));return{BinaryExpression(d){b.has(d.operator)&&(a(d.left)||a(d.right))&&c.report({node:d,messageId:"unexpected",data:{operator:d.operator}})}}}}},(u,c,a)=>{const b=a(571),d=new Set(["IfStatement","WhileStatement","DoWhileStatement","ForStatement","ConditionalExpression"]),m={DoWhileStatement:"a 'do...while' statement",ForStatement:"a 'for' statement",
IfStatement:"an 'if' statement",WhileStatement:"a 'while' statement"};u.exports={meta:{type:"problem",docs:{description:"disallow assignment operators in conditional expressions",recommended:!0,url:"https://eslint.org/docs/rules/no-cond-assign"},schema:[{enum:["except-parens","always"]}],messages:{unexpected:"Unexpected assignment within {{type}}.",missing:"Expected a conditional expression and instead saw an assignment."}},create(h){function k(f){var n;if(n=f.test&&"AssignmentExpression"===f.test.type)if("ForStatement"===
f.type)n=!b.isParenthesised(g,f.test);else{{n=f.test;const e=g.getTokenBefore(n,1),q=g.getTokenAfter(n,1);n=b.isParenthesised(g,n)&&e&&b.isOpeningParenToken(e)&&e.range[1]<=n.range[0]&&b.isClosingParenToken(q)&&q.range[0]>=n.range[1]}n=!n}n&&h.report({node:f.test,messageId:"missing"})}function p(f){a:{let e=f;do{var n=e;if(n.parent&&d.has(n.parent.type)&&n===n.parent.test){n=e.parent;break a}}while((e=e.parent)&&!b.isFunction(e));n=null}n&&h.report({node:f,messageId:"unexpected",data:{type:m[n.type]||
n.type}})}const l=h.options[0]||"except-parens",g=h.getSourceCode();return"always"===l?{AssignmentExpression:p}:{DoWhileStatement:k,ForStatement:k,IfStatement:k,WhileStatement:k,ConditionalExpression:k}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow arrow functions where they could be confused with comparisons",recommended:!1,url:"https://eslint.org/docs/rules/no-confusing-arrow"},fixable:"code",schema:[{type:"object",properties:{allowParens:{type:"boolean",
default:!0}},additionalProperties:!1}],messages:{confusing:"Arrow function used ambiguously with a conditional expression."}},create(d){const m=d.options[0]||{},h=m.allowParens||void 0===m.allowParens,k=d.getSourceCode();return{ArrowFunctionExpression:function(p){const l=p.body;!l||"ConditionalExpression"!==l.type||h&&b.isParenthesised(k,l)||d.report({node:p,messageId:"confusing",fix(g){return h&&g.replaceText(p.body,"(".concat(k.getText(p.body),")"))}})}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",
docs:{description:"disallow the use of `console`",recommended:!1,url:"https://eslint.org/docs/rules/no-console"},schema:[{type:"object",properties:{allow:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},additionalProperties:!1}],messages:{unexpected:"Unexpected console statement."}},create(d){function m(l){return(l=l.identifier)&&"console"===l.name}function h(l){var g=l.identifier;l=g.parent;if(g="MemberExpression"===l.type&&l.object===g)l=(l=b.getStaticPropertyName(l))&&-1!==p.indexOf(l),
g=!l;return g}function k(l){l=l.identifier.parent;d.report({node:l,loc:l.loc,messageId:"unexpected"})}const p=(d.options[0]||{}).allow||[];return{["Program:exit"](){var l=d.getScope();const g=b.getVariableByName(l,"console"),f=g&&0<g.defs.length;l=g?g.references:l.through.filter(m);f||l.filter(h).forEach(k)}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"problem",docs:{description:"disallow reassigning `const` variables",recommended:!0,url:"https://eslint.org/docs/rules/no-const-assign"},schema:[],
messages:{const:"'{{name}}' is constant."}},create(d){function m(h){b.getModifyingReferences(h.references).forEach(k=>{d.report({node:k.identifier,messageId:"const",data:{name:k.identifier.name}})})}return{VariableDeclaration(h){"const"===h.kind&&d.getDeclaredVariables(h).forEach(m)}}}}},u=>{u.exports={meta:{type:"problem",docs:{description:"disallow constant expressions in conditions",recommended:!0,url:"https://eslint.org/docs/rules/no-constant-condition"},schema:[{type:"object",properties:{checkLoops:{type:"boolean",
default:!0}},additionalProperties:!1}],messages:{unexpected:"Unexpected constant condition."}},create(c){function a(e){return null===e.value?"null"===e.raw?!1:"object"===typeof e.regex?!0:null:!!e.value}function b(e,q){switch(e.type){case "Literal":return"||"===q&&!0===a(e)||"&&"===q&&!1===a(e);case "UnaryExpression":return"&&"===q&&"void"===e.operator;case "LogicalExpression":return q===e.operator&&(b(e.left,q)||b(e.right,q));case "AssignmentExpression":return["||=","&&="].includes(e.operator)&&
q===e.operator.slice(0,-1)&&b(e.right,q)}return!1}function d(e,q){if(!e)return!0;switch(e.type){case "Literal":case "ArrowFunctionExpression":case "FunctionExpression":case "ObjectExpression":return!0;case "TemplateLiteral":return q&&e.quasis.some(t=>t.value.cooked.length)||e.expressions.every(t=>d(t,q));case "ArrayExpression":return"BinaryExpression"===e.parent.type&&"+"===e.parent.operator?e.elements.every(t=>d(t,!1)):!0;case "UnaryExpression":return"void"===e.operator||"typeof"===e.operator&&q?
!0:"!"===e.operator?d(e.argument,!0):d(e.argument,!1);case "BinaryExpression":return d(e.left,!1)&&d(e.right,!1)&&"in"!==e.operator;case "LogicalExpression":{const t=d(e.left,q),r=d(e.right,q),v=t&&b(e.left,e.operator);e=q&&r&&b(e.right,e.operator);return t&&r||v||e}case "AssignmentExpression":if("="===e.operator)return d(e.right,q);if(["||=","&&="].includes(e.operator)&&q)return b(e.right,e.operator.slice(0,-1));break;case "SequenceExpression":return d(e.expressions[e.expressions.length-1],q)}return!1}
function m(e){n.has(e)&&(n.delete(e),c.report({node:e.test,messageId:"unexpected"}))}function h(e){e.test&&d(e.test,!0)&&c.report({node:e.test,messageId:"unexpected"})}function k(){f.push(n);n=new Set}function p(){n=f.pop()}function l(e){g&&e.test&&d(e.test,!0)&&n.add(e)}const g=!1!==(c.options[0]||{}).checkLoops,f=[];let n=new Set;return{ConditionalExpression:h,IfStatement:h,WhileStatement:l,"WhileStatement:exit":m,DoWhileStatement:l,"DoWhileStatement:exit":m,ForStatement:l,"ForStatement > .test":e=>
l(e.parent),"ForStatement:exit":m,FunctionDeclaration:k,"FunctionDeclaration:exit":p,FunctionExpression:k,"FunctionExpression:exit":p,YieldExpression:()=>n.clear()}}}},u=>{u.exports={meta:{type:"problem",docs:{description:"disallow returning value from constructor",recommended:!1,url:"https://eslint.org/docs/rules/no-constructor-return"},schema:{},fixable:null,messages:{unexpected:"Unexpected return statement in constructor."}},create(c){const a=[];return{onCodePathStart(b,d){a.push(d)},onCodePathEnd(){a.pop()},
ReturnStatement(b){const d=a[a.length-1];d.parent&&("MethodDefinition"!==d.parent.type||"constructor"!==d.parent.kind||b.parent.parent!==d&&!b.argument||c.report({node:b,messageId:"unexpected"}))}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow `continue` statements",recommended:!1,url:"https://eslint.org/docs/rules/no-continue"},schema:[],messages:{unexpected:"Unexpected use of continue statement."}},create(c){return{ContinueStatement(a){c.report({node:a,messageId:"unexpected"})}}}}},
(u,c,a)=>{const b=a(674).RegExpValidator,d=new class{constructor(){this._source="";this._controlChars=[];this._validator=new b(this)}onPatternEnter(){this._controlChars=[]}onCharacter(m,h,k){0<=k&&31>=k&&(this._source.codePointAt(m)===k||this._source.slice(m,h).startsWith("\\x")||this._source.slice(m,h).startsWith("\\u"))&&this._controlChars.push("\\x".concat("0".concat(k.toString(16)).slice(-2)))}collectControlChars(m){try{this._source=m,this._validator.validatePattern(m)}catch(h){}return this._controlChars}};
u.exports={meta:{type:"problem",docs:{description:"disallow control characters in regular expressions",recommended:!0,url:"https://eslint.org/docs/rules/no-control-regex"},schema:[],messages:{unexpected:"Unexpected control character(s) in regular expression: {{controlChars}}."}},create(m){return{Literal(h){var k=h.regex?h.regex.pattern:"string"!==typeof h.value||"NewExpression"!==h.parent.type&&"CallExpression"!==h.parent.type||"Identifier"!==h.parent.callee.type||"RegExp"!==h.parent.callee.name||
h.parent.arguments[0]!==h?null:h.value;k&&(k=d.collectControlChars(k),0<k.length&&m.report({node:h,messageId:"unexpected",data:{controlChars:k.join(", ")}}))}}}}},(u,c)=>{function a(y){return 48>y?!1:58>y?!0:65>y?!1:91>y||95===y?!0:97>y?!1:123>y?!0:d(y,q||(q=b()))||d(y,t||(t=m("53 0 g9 33 o 0 70 4 7e 18 2 0 2 1 2 1 2 0 21 a 1d u 7 0 2u 6 3 5 3 1 2 3 3 9 o 0 v q 2k a g 9 y 8 a 0 p 3 2 8 2 2 2 4 18 2 3c e 2 w 1j 2 2 h 2 6 b 1 3 9 i 2 1l 0 2 6 3 1 3 2 a 0 b 1 3 9 f 0 3 2 1l 0 2 4 5 1 3 2 4 0 l b 4 0 c 2 1l 0 2 7 2 2 2 2 l 1 3 9 b 5 2 2 1l 0 2 6 3 1 3 2 8 2 b 1 3 9 j 0 1o 4 4 2 2 3 a 0 f 9 h 4 1m 6 2 2 2 3 8 1 c 1 3 9 i 2 1l 0 2 6 2 2 2 3 8 1 c 1 3 9 h 3 1k 1 2 6 2 2 2 3 a 0 b 1 3 9 i 2 1z 0 5 5 2 0 2 7 7 9 3 1 1q 0 3 6 d 7 2 9 2g 0 3 8 c 5 3 9 1r 1 7 9 c 0 2 0 2 0 5 1 1e j 2 1 6 a 2 z a 0 2t j 2 9 d 3 5 2 2 2 3 6 4 3 e b 2 e jk 2 a 8 pt 2 u 2 u 1 v 1 1t v a 0 3 9 y 2 3 9 40 0 3b b 5 b b 9 3l a 1p 4 1m 9 2 s 3 a 7 9 n d 2 1 1s 4 1c g c 9 i 8 d 2 v c 3 9 19 d 1d j 9 9 7 9 3b 2 2 k 5 0 7 0 3 2 5j 1l 2 4 g0 1 k 0 3g c 5 0 4 b 2db 2 3y 0 2p v ff 5 2y 1 n7q 9 1y 0 5 9 x 1 29 1 7l 0 4 0 5 0 o 4 5 0 2c 1 1f h b 9 7 h e a t 7 q c 19 3 1c d g 9 c 0 b 9 1c d d 0 9 1 3 9 y 2 1f 0 2 2 3 1 6 1 2 0 16 4 6 1 6l 7 2 1 3 9 fmt 0 ki f h f 4 1 p 2 5d 9 12 0 ji 0 6b 0 46 4 86 9 120 2 2 1 6 3 15 2 5 0 4m 1 fy 3 9 9 aa 1 4a a 4w 2 1i e w 9 g 3 1a a 1i 9 7 2 11 d 2 9 6 1 19 0 d 2 1d d 9 3 2 b 2b b 7 0 4h b 6 9 7 3 1k 1 2 6 3 1 3 2 a 0 b 1 3 6 4 4 5d h a 9 5 0 2a j d 9 5y 6 3 8 s 1 2b g g 9 2a c 9 9 2c e 5 9 6r e 4m 9 1z 5 2 1 3 3 2 0 2 1 d 9 3c 6 3 6 4 0 t 9 15 6 2 3 9 0 a a 1b f ba 7 2 7 h 9 1l l 2 d 3f 5 4 0 2 1 2 6 2 0 9 9 1d 4 2 1 2 4 9 9 96 3 ewa 9 3r 4 1o 6 q 9 s6 0 2 1i 8 3 2a 0 c 1 f58 1 43r 4 4 5 9 7 3 6 v 3 45 2 13e 1d e9 1i 5 1d 9 0 f 0 n 4 2 e 11t 6 2 g 3 6 2 1 2 4 7a 6 a 9 bn d 15j 6 32 6 6 9 3o7 9 gvt3 6n")))}
function b(){return m("4q 0 b 0 5 0 6 m 2 u 2 cp 5 b f 4 8 0 2 0 3m 4 2 1 3 3 2 0 7 0 2 2 2 0 2 j 2 2a 2 3u 9 4l 2 11 3 0 7 14 20 q 5 3 1a 16 10 1 2 2q 2 0 g 1 8 1 b 2 3 0 h 0 2 t u 2g c 0 p w a 1 5 0 6 l 5 0 a 0 4 0 o o 8 a 1i k 2 h 1p 1h 4 0 j 0 8 9 g f 5 7 3 1 3 l 2 6 2 0 4 3 4 0 h 0 e 1 2 2 f 1 b 0 9 5 5 1 3 l 2 6 2 1 2 1 2 1 w 3 2 0 k 2 h 8 2 2 2 l 2 6 2 1 2 4 4 0 j 0 g 1 o 0 c 7 3 1 3 l 2 6 2 1 2 4 4 0 v 1 2 2 g 0 i 0 2 5 4 2 2 3 4 1 2 0 2 1 4 1 4 2 4 b n 0 1h 7 2 2 2 m 2 f 4 0 r 2 6 1 v 0 5 7 2 2 2 m 2 9 2 4 4 0 x 0 2 1 g 1 i 8 2 2 2 14 3 0 h 0 6 2 9 2 p 5 6 h 4 n 2 8 2 0 3 6 1n 1b 2 1 d 6 1n 1 2 0 2 4 2 n 2 0 2 9 2 1 a 0 3 4 2 0 m 3 x 0 1s 7 2 z s 4 38 16 l 0 h 5 5 3 4 0 4 1 8 2 5 c d 0 i 11 2 0 6 0 3 16 2 98 2 3 3 6 2 0 2 3 3 14 2 3 3 w 2 3 3 6 2 0 2 3 3 e 2 1k 2 3 3 1u 12 f h 2d 3 5 4 h7 3 g 2 p 6 22 4 a 8 c 2 3 f h f h f c 2 2 g 1f 10 0 5 0 1w 2g 8 14 2 0 6 1x b u 1e t 3 4 c 17 5 p 1j m a 1g 2b 0 2m 1a i 6 1k t e 1 b 17 r z 16 2 b z 3 8 8 16 3 2 16 3 2 5 2 1 4 0 6 5b 1t 7p 3 5 3 11 3 5 3 7 2 0 2 0 2 0 2 u 3 1g 2 6 2 0 4 2 2 6 4 3 3 5 5 c 6 2 2 6 39 0 e 0 h c 2u 0 5 0 3 9 2 0 3 5 7 0 2 0 2 0 2 f 3 3 6 4 5 0 i 14 22g 1a 2 1a 2 3o 7 3 4 1 d 11 2 0 6 0 3 1j 8 0 h m a 6 2 6 2 6 2 6 2 6 2 6 2 6 2 6 fb 2 q 8 8 4 3 4 5 2d 5 4 2 2h 2 3 6 16 2 2l i v 1d f e9 533 1t g70 4 wc 1w 19 3 7g 4 f b 1 l 1a h u 3 27 14 8 3 2u 3 1g 3 8 17 c 2 2 2 3 2 m u 1f f 1d 1r 5 4 0 2 1 c r b m q s 8 1a t 0 h 4 2 9 b 4 2 14 o 2 2 7 l m 4 0 4 1d 2 0 4 1 3 4 3 0 2 0 p 2 3 a 8 2 d 5 3 5 3 5 a 6 2 6 2 16 2 d 7 36 u 8mb d m 5 1c 6it a5 3 2x 13 6 d 4 6 0 2 9 2 c 2 4 2 0 2 1 2 1 2 2z y a2 j 1r 3 1h 15 b 39 4 2 3q 11 p 7 p c 2g 4 5 3 5 3 5 3 2 10 b 2 p 2 i 2 1 2 e 3 d z 3e 1y 1g 7g s 4 1c 1c v e t 6 11 b t 3 z 5 7 2 4 17 4d j z 5 z 5 13 9 1f 4d 8m a l b 7 49 5 3 0 2 17 2 1 4 0 3 m b m a u 1u i 2 1 b l b p 1z 1j 7 1 1t 0 g 3 2 2 2 s 17 s 4 s 10 7 2 r s 1h b l b i e h 33 20 1k 1e e 1e e z 9p 15 7 1 27 s b 0 9 l 2z k s m d 1g 24 18 x o r z u 0 3 0 9 y 4 0 d 1b f 3 m 0 2 0 10 h 2 o 2d 6 2 0 2 3 2 e 2 9 8 1a 13 7 3 1 3 l 2 6 2 1 2 4 4 0 j 0 d 4 4f 1g j 3 l 2 v 1b l 1 2 0 55 1a 16 3 11 1b l 0 1o 16 e 0 20 q 6e 17 39 1r w 7 3 0 3 7 2 1 2 n g 0 2 0 2n 7 3 12 h 0 2 0 t 0 b 13 8 0 m 0 c 19 k 0 z 1k 7c 8 2 10 i 0 1e t 35 6 2 1 2 11 m 0 q 5 2 1 2 v f 0 94 i 5a 0 28 pl 2v 32 i 5f 24d tq 34i g6 6nu fs 8 u 36 t j 1b h 3 w k 6 i j5 1r 3l 22 6 0 1v c 1t 1 2 0 t 4qf 9 yd 17 8 6wo 7y 1e 2 i 3 9 az 1s5 2y 6 c 4 8 8 9 4mf 2c 2 1y 2 1 3 0 3 1 3 3 2 b 2 0 2 6 2 1s 2 3 3 7 2 6 2 r 2 3 2 4 2 0 4 6 2 9f 3 o 2 o 2 u 2 o 2 u 2 o 2 u 2 o 2 u 2 o 2 7 1th 18 b 6 h 0 aa 17 105 5g 1o 1v 8 0 xh 3 2 q 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 g 6 2 2 4 2 g 3et wyl z 378 c 65 3 4g1 f 5rk 2e8 f1 15v 3t6")}
function d(y,G){let K=0,R=G.length/2|0,Z,aa,xa;for(;K<R;)if(Z=(K+R)/2|0,aa=G[2*Z],xa=G[2*Z+1],y<aa)R=Z;else if(y>xa)K=Z+1;else return!0;return!1}function m(y){let G=0;return y.split(" ").map(K=>G+=parseInt(K,36)|0)}function h(y,G,K){return v.has(G)?2018<=y&&E.es2018.has(K):z.has(G)?2018<=y&&A.es2018.has(K)||2019<=y&&A.es2019.has(K)||2020<=y&&A.es2020.has(K)||2021<=y&&A.es2021.has(K):!1}function k(y){return 48<=y&&57>=y}function p(y){return 48<=y&&57>=y||65<=y&&70>=y||97<=y&&102>=y}function l(y){return 97<=
y&&102>=y?y-97+10:65<=y&&70>=y?y-65+10:y-48}function g(y){return 56320<=y&&57343>=y}function f(y){return 94===y||36===y||92===y||46===y||42===y||43===y||63===y||40===y||41===y||91===y||93===y||123===y||125===y||124===y}function n(y){return 65<=y&&90>=y||97<=y&&122>=y||95===y}function e(y){return n(y)||k(y)}Object.defineProperty(c,"__esModule",{value:!0});u=Object.freeze({});let q=void 0,t=void 0;class r{constructor(y,G,K,R){this._raw2018=y;this._raw2019=G;this._raw2020=K;this._raw2021=R}get es2018(){return this._set2018||
(this._set2018=new Set(this._raw2018.split(" ")))}get es2019(){return this._set2019||(this._set2019=new Set(this._raw2019.split(" ")))}get es2020(){return this._set2020||(this._set2020=new Set(this._raw2020.split(" ")))}get es2021(){return this._set2021||(this._set2021=new Set(this._raw2021.split(" ")))}}const v=new Set(["General_Category","gc"]),z=new Set(["Script","Script_Extensions","sc","scx"]),E=new r("C Cased_Letter Cc Cf Close_Punctuation Cn Co Combining_Mark Connector_Punctuation Control Cs Currency_Symbol Dash_Punctuation Decimal_Number Enclosing_Mark Final_Punctuation Format Initial_Punctuation L LC Letter Letter_Number Line_Separator Ll Lm Lo Lowercase_Letter Lt Lu M Mark Math_Symbol Mc Me Mn Modifier_Letter Modifier_Symbol N Nd Nl No Nonspacing_Mark Number Open_Punctuation Other Other_Letter Other_Number Other_Punctuation Other_Symbol P Paragraph_Separator Pc Pd Pe Pf Pi Po Private_Use Ps Punctuation S Sc Separator Sk Sm So Space_Separator Spacing_Mark Surrogate Symbol Titlecase_Letter Unassigned Uppercase_Letter Z Zl Zp Zs cntrl digit punct",
"","",""),A=new r("Adlam Adlm Aghb Ahom Anatolian_Hieroglyphs Arab Arabic Armenian Armi Armn Avestan Avst Bali Balinese Bamu Bamum Bass Bassa_Vah Batak Batk Beng Bengali Bhaiksuki Bhks Bopo Bopomofo Brah Brahmi Brai Braille Bugi Buginese Buhd Buhid Cakm Canadian_Aboriginal Cans Cari Carian Caucasian_Albanian Chakma Cham Cher Cherokee Common Copt Coptic Cprt Cuneiform Cypriot Cyrillic Cyrl Deseret Deva Devanagari Dsrt Dupl Duployan Egyp Egyptian_Hieroglyphs Elba Elbasan Ethi Ethiopic Geor Georgian Glag Glagolitic Gonm Goth Gothic Gran Grantha Greek Grek Gujarati Gujr Gurmukhi Guru Han Hang Hangul Hani Hano Hanunoo Hatr Hatran Hebr Hebrew Hira Hiragana Hluw Hmng Hung Imperial_Aramaic Inherited Inscriptional_Pahlavi Inscriptional_Parthian Ital Java Javanese Kaithi Kali Kana Kannada Katakana Kayah_Li Khar Kharoshthi Khmer Khmr Khoj Khojki Khudawadi Knda Kthi Lana Lao Laoo Latin Latn Lepc Lepcha Limb Limbu Lina Linb Linear_A Linear_B Lisu Lyci Lycian Lydi Lydian Mahajani Mahj Malayalam Mand Mandaic Mani Manichaean Marc Marchen Masaram_Gondi Meetei_Mayek Mend Mende_Kikakui Merc Mero Meroitic_Cursive Meroitic_Hieroglyphs Miao Mlym Modi Mong Mongolian Mro Mroo Mtei Mult Multani Myanmar Mymr Nabataean Narb Nbat New_Tai_Lue Newa Nko Nkoo Nshu Nushu Ogam Ogham Ol_Chiki Olck Old_Hungarian Old_Italic Old_North_Arabian Old_Permic Old_Persian Old_South_Arabian Old_Turkic Oriya Orkh Orya Osage Osge Osma Osmanya Pahawh_Hmong Palm Palmyrene Pau_Cin_Hau Pauc Perm Phag Phags_Pa Phli Phlp Phnx Phoenician Plrd Prti Psalter_Pahlavi Qaac Qaai Rejang Rjng Runic Runr Samaritan Samr Sarb Saur Saurashtra Sgnw Sharada Shavian Shaw Shrd Sidd Siddham SignWriting Sind Sinh Sinhala Sora Sora_Sompeng Soyo Soyombo Sund Sundanese Sylo Syloti_Nagri Syrc Syriac Tagalog Tagb Tagbanwa Tai_Le Tai_Tham Tai_Viet Takr Takri Tale Talu Tamil Taml Tang Tangut Tavt Telu Telugu Tfng Tglg Thaa Thaana Thai Tibetan Tibt Tifinagh Tirh Tirhuta Ugar Ugaritic Vai Vaii Wara Warang_Citi Xpeo Xsux Yi Yiii Zanabazar_Square Zanb Zinh Zyyy",
"Dogr Dogra Gong Gunjala_Gondi Hanifi_Rohingya Maka Makasar Medefaidrin Medf Old_Sogdian Rohg Sogd Sogdian Sogo","Elym Elymaic Hmnp Nand Nandinagari Nyiakeng_Puachue_Hmong Wancho Wcho","Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi"),D=new r("AHex ASCII ASCII_Hex_Digit Alpha Alphabetic Any Assigned Bidi_C Bidi_Control Bidi_M Bidi_Mirrored CI CWCF CWCM CWKCF CWL CWT CWU Case_Ignorable Cased Changes_When_Casefolded Changes_When_Casemapped Changes_When_Lowercased Changes_When_NFKC_Casefolded Changes_When_Titlecased Changes_When_Uppercased DI Dash Default_Ignorable_Code_Point Dep Deprecated Dia Diacritic Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Ext Extender Gr_Base Gr_Ext Grapheme_Base Grapheme_Extend Hex Hex_Digit IDC IDS IDSB IDST IDS_Binary_Operator IDS_Trinary_Operator ID_Continue ID_Start Ideo Ideographic Join_C Join_Control LOE Logical_Order_Exception Lower Lowercase Math NChar Noncharacter_Code_Point Pat_Syn Pat_WS Pattern_Syntax Pattern_White_Space QMark Quotation_Mark RI Radical Regional_Indicator SD STerm Sentence_Terminal Soft_Dotted Term Terminal_Punctuation UIdeo Unified_Ideograph Upper Uppercase VS Variation_Selector White_Space XIDC XIDS XID_Continue XID_Start space",
"Extended_Pictographic","","EBase EComp EMod EPres ExtPict"),F={at(y,G,K){return K<G?y.charCodeAt(K):-1},width(y){return 1}},C={at(y,G,K){return K<G?y.codePointAt(K):-1},width(y){return 65535<y?2:1}};class B{constructor(){this._impl=F;this._s="";this._end=this._i=0;this._cp1=-1;this._w1=1;this._cp2=-1;this._w2=1;this._cp3=-1;this._w3=1;this._cp4=-1}get source(){return this._s}get index(){return this._i}get currentCodePoint(){return this._cp1}get nextCodePoint(){return this._cp2}get nextCodePoint2(){return this._cp3}get nextCodePoint3(){return this._cp4}reset(y,
G,K,R){this._impl=R?C:F;this._s=y;this._end=K;this.rewind(G)}rewind(y){const G=this._impl;this._i=y;this._cp1=G.at(this._s,this._end,y);this._w1=G.width(this._cp1);this._cp2=G.at(this._s,this._end,y+this._w1);this._w2=G.width(this._cp2);this._cp3=G.at(this._s,this._end,y+this._w1+this._w2);this._w3=G.width(this._cp3);this._cp4=G.at(this._s,this._end,y+this._w1+this._w2+this._w3)}advance(){if(-1!==this._cp1){const y=this._impl;this._i+=this._w1;this._cp1=this._cp2;this._w1=this._w2;this._cp2=this._cp3;
this._w2=y.width(this._cp2);this._cp3=this._cp4;this._w3=y.width(this._cp3);this._cp4=y.at(this._s,this._end,this._i+this._w1+this._w2+this._w3)}}eat(y){return this._cp1===y?(this.advance(),!0):!1}eat2(y,G){return this._cp1===y&&this._cp2===G?(this.advance(),this.advance(),!0):!1}eat3(y,G,K){return this._cp1===y&&this._cp2===G&&this._cp3===K?(this.advance(),this.advance(),this.advance(),!0):!1}}class I extends SyntaxError{constructor(y,G,K,R){y&&(y.startsWith("/")||(y="/".concat(y,"/").concat(G?"u":
"")),y=": ".concat(y));super("Invalid regular expression".concat(y,": ").concat(R));this.index=K}}class J{constructor(y){this._reader=new B;this._nFlag=this._uFlag=!1;this._lastMaxValue=this._lastMinValue=this._lastIntValue=0;this._lastValValue=this._lastKeyValue=this._lastStrValue="";this._lastAssertionIsQuantifiable=!1;this._numCapturingParens=0;this._groupNames=new Set;this._backreferenceNames=new Set;this._options=y||{}}validateLiteral(y,G=0,K=y.length){this._uFlag=this._nFlag=!1;this.reset(y,
G,K);this.onLiteralEnter(G);if(this.eat(47)&&this.eatRegExpBody()&&this.eat(47)){const R=this.index,Z=y.includes("u",R);this.validateFlags(y,R,K);this.validatePattern(y,G+1,R-1,Z)}else G>=K?this.raise("Empty"):(y=String.fromCodePoint(this.currentCodePoint),this.raise("Unexpected character '".concat(y,"'")));this.onLiteralLeave(G,K)}validateFlags(y,G=0,K=y.length){const R=new Set;let Z=!1,aa=!1,xa=!1,X=!1,wa=!1,ka=!1,ra=!1;for(let qa=G;qa<K;++qa){const va=y.charCodeAt(qa);R.has(va)&&this.raise("Duplicated flag '".concat(y[qa],
"'"));R.add(va);103===va?Z=!0:105===va?aa=!0:109===va?xa=!0:117===va&&2015<=this.ecmaVersion?wa=!0:121===va&&2015<=this.ecmaVersion?X=!0:115===va&&2018<=this.ecmaVersion?ka=!0:100===va&&2022<=this.ecmaVersion?ra=!0:this.raise("Invalid flag '".concat(y[qa],"'"))}this.onFlags(G,K,Z,aa,xa,wa,X,ka,ra)}validatePattern(y,G=0,K=y.length,R=!1){this._uFlag=R&&2015<=this.ecmaVersion;this._nFlag=R&&2018<=this.ecmaVersion;this.reset(y,G,K);this.consumePattern();!this._nFlag&&2018<=this.ecmaVersion&&0<this._groupNames.size&&
(this._nFlag=!0,this.rewind(G),this.consumePattern())}get strict(){return!(!this._options.strict&&!this._uFlag)}get ecmaVersion(){return this._options.ecmaVersion||2022}onLiteralEnter(y){if(this._options.onLiteralEnter)this._options.onLiteralEnter(y)}onLiteralLeave(y,G){if(this._options.onLiteralLeave)this._options.onLiteralLeave(y,G)}onFlags(y,G,K,R,Z,aa,xa,X,wa){if(this._options.onFlags)this._options.onFlags(y,G,K,R,Z,aa,xa,X,wa)}onPatternEnter(y){if(this._options.onPatternEnter)this._options.onPatternEnter(y)}onPatternLeave(y,
G){if(this._options.onPatternLeave)this._options.onPatternLeave(y,G)}onDisjunctionEnter(y){if(this._options.onDisjunctionEnter)this._options.onDisjunctionEnter(y)}onDisjunctionLeave(y,G){if(this._options.onDisjunctionLeave)this._options.onDisjunctionLeave(y,G)}onAlternativeEnter(y,G){if(this._options.onAlternativeEnter)this._options.onAlternativeEnter(y,G)}onAlternativeLeave(y,G,K){if(this._options.onAlternativeLeave)this._options.onAlternativeLeave(y,G,K)}onGroupEnter(y){if(this._options.onGroupEnter)this._options.onGroupEnter(y)}onGroupLeave(y,
G){if(this._options.onGroupLeave)this._options.onGroupLeave(y,G)}onCapturingGroupEnter(y,G){if(this._options.onCapturingGroupEnter)this._options.onCapturingGroupEnter(y,G)}onCapturingGroupLeave(y,G,K){if(this._options.onCapturingGroupLeave)this._options.onCapturingGroupLeave(y,G,K)}onQuantifier(y,G,K,R,Z){if(this._options.onQuantifier)this._options.onQuantifier(y,G,K,R,Z)}onLookaroundAssertionEnter(y,G,K){if(this._options.onLookaroundAssertionEnter)this._options.onLookaroundAssertionEnter(y,G,K)}onLookaroundAssertionLeave(y,
G,K,R){if(this._options.onLookaroundAssertionLeave)this._options.onLookaroundAssertionLeave(y,G,K,R)}onEdgeAssertion(y,G,K){if(this._options.onEdgeAssertion)this._options.onEdgeAssertion(y,G,K)}onWordBoundaryAssertion(y,G,K,R){if(this._options.onWordBoundaryAssertion)this._options.onWordBoundaryAssertion(y,G,K,R)}onAnyCharacterSet(y,G,K){if(this._options.onAnyCharacterSet)this._options.onAnyCharacterSet(y,G,K)}onEscapeCharacterSet(y,G,K,R){if(this._options.onEscapeCharacterSet)this._options.onEscapeCharacterSet(y,
G,K,R)}onUnicodePropertyCharacterSet(y,G,K,R,Z,aa){if(this._options.onUnicodePropertyCharacterSet)this._options.onUnicodePropertyCharacterSet(y,G,K,R,Z,aa)}onCharacter(y,G,K){if(this._options.onCharacter)this._options.onCharacter(y,G,K)}onBackreference(y,G,K){if(this._options.onBackreference)this._options.onBackreference(y,G,K)}onCharacterClassEnter(y,G){if(this._options.onCharacterClassEnter)this._options.onCharacterClassEnter(y,G)}onCharacterClassLeave(y,G,K){if(this._options.onCharacterClassLeave)this._options.onCharacterClassLeave(y,
G,K)}onCharacterClassRange(y,G,K,R){if(this._options.onCharacterClassRange)this._options.onCharacterClassRange(y,G,K,R)}get source(){return this._reader.source}get index(){return this._reader.index}get currentCodePoint(){return this._reader.currentCodePoint}get nextCodePoint(){return this._reader.nextCodePoint}get nextCodePoint2(){return this._reader.nextCodePoint2}get nextCodePoint3(){return this._reader.nextCodePoint3}reset(y,G,K){this._reader.reset(y,G,K,this._uFlag)}rewind(y){this._reader.rewind(y)}advance(){this._reader.advance()}eat(y){return this._reader.eat(y)}eat2(y,
G){return this._reader.eat2(y,G)}eat3(y,G,K){return this._reader.eat3(y,G,K)}raise(y){throw new I(this.source,this._uFlag,this.index,y);}eatRegExpBody(){const y=this.index;let G=!1,K=!1;for(;;){const R=this.currentCodePoint;-1!==R&&10!==R&&13!==R&&8232!==R&&8233!==R||this.raise("Unterminated ".concat(G?"character class":"regular expression"));if(K)K=!1;else if(92===R)K=!0;else if(91===R)G=!0;else if(93===R)G=!1;else if(47===R&&!G||42===R&&this.index===y)break;this.advance()}return this.index!==y}consumePattern(){const y=
this.index;this._numCapturingParens=this.countCapturingParens();this._groupNames.clear();this._backreferenceNames.clear();this.onPatternEnter(y);this.consumeDisjunction();var G=this.currentCodePoint;-1!==this.currentCodePoint&&(41===G&&this.raise("Unmatched ')'"),92===G&&this.raise("\\ at end of pattern"),93!==G&&125!==G||this.raise("Lone quantifier brackets"),G=String.fromCodePoint(G),this.raise("Unexpected character '".concat(G,"'")));for(const K of this._backreferenceNames)this._groupNames.has(K)||
this.raise("Invalid named capture referenced");this.onPatternLeave(y,this.index)}countCapturingParens(){const y=this.index;let G=!1,K=!1,R=0,Z;for(;-1!==(Z=this.currentCodePoint);)K?K=!1:92===Z?K=!0:91===Z?G=!0:93===Z?G=!1:40!==Z||G||63===this.nextCodePoint&&(60!==this.nextCodePoint2||61===this.nextCodePoint3||33===this.nextCodePoint3)||(R+=1),this.advance();this.rewind(y);return R}consumeDisjunction(){const y=this.index;let G=0;this.onDisjunctionEnter(y);do this.consumeAlternative(G++);while(this.eat(124));
this.consumeQuantifier(!0)&&this.raise("Nothing to repeat");this.eat(123)&&this.raise("Lone quantifier brackets");this.onDisjunctionLeave(y,this.index)}consumeAlternative(y){const G=this.index;for(this.onAlternativeEnter(G,y);-1!==this.currentCodePoint&&this.consumeTerm(););this.onAlternativeLeave(G,this.index,y)}consumeTerm(){return this._uFlag||this.strict?this.consumeAssertion()||this.consumeAtom()&&this.consumeOptionalQuantifier():this.consumeAssertion()&&(!this._lastAssertionIsQuantifiable||
this.consumeOptionalQuantifier())||this.consumeExtendedAtom()&&this.consumeOptionalQuantifier()}consumeOptionalQuantifier(){this.consumeQuantifier();return!0}consumeAssertion(){const y=this.index;this._lastAssertionIsQuantifiable=!1;if(this.eat(94))return this.onEdgeAssertion(y,this.index,"start"),!0;if(this.eat(36))return this.onEdgeAssertion(y,this.index,"end"),!0;if(this.eat2(92,66))return this.onWordBoundaryAssertion(y,this.index,"word",!0),!0;if(this.eat2(92,98))return this.onWordBoundaryAssertion(y,
this.index,"word",!1),!0;if(this.eat2(40,63)){const G=2018<=this.ecmaVersion&&this.eat(60);let K=!1;if(this.eat(61)||(K=this.eat(33))){const R=G?"lookbehind":"lookahead";this.onLookaroundAssertionEnter(y,R,K);this.consumeDisjunction();this.eat(41)||this.raise("Unterminated group");this._lastAssertionIsQuantifiable=!G&&!this.strict;this.onLookaroundAssertionLeave(y,this.index,R,K);return!0}this.rewind(y)}return!1}consumeQuantifier(y=!1){const G=this.index;let K,R,Z;if(this.eat(42))K=0,R=Number.POSITIVE_INFINITY;
else if(this.eat(43))K=1,R=Number.POSITIVE_INFINITY;else if(this.eat(63))K=0,R=1;else if(this.eatBracedQuantifier(y))K=this._lastMinValue,R=this._lastMaxValue;else return!1;Z=!this.eat(63);if(!y)this.onQuantifier(G,this.index,K,R,Z);return!0}eatBracedQuantifier(y){const G=this.index;if(this.eat(123)){this._lastMinValue=0;this._lastMaxValue=Number.POSITIVE_INFINITY;if(this.eatDecimalDigits()&&(this._lastMinValue=this._lastMaxValue=this._lastIntValue,this.eat(44)&&(this._lastMaxValue=this.eatDecimalDigits()?
this._lastIntValue:Number.POSITIVE_INFINITY),this.eat(125)))return!y&&this._lastMaxValue<this._lastMinValue&&this.raise("numbers out of order in {} quantifier"),!0;y||!this._uFlag&&!this.strict||this.raise("Incomplete quantifier");this.rewind(G)}return!1}consumeAtom(){return this.consumePatternCharacter()||this.consumeDot()||this.consumeReverseSolidusAtomEscape()||this.consumeCharacterClass()||this.consumeUncapturingGroup()||this.consumeCapturingGroup()}consumeDot(){return this.eat(46)?(this.onAnyCharacterSet(this.index-
1,this.index,"any"),!0):!1}consumeReverseSolidusAtomEscape(){const y=this.index;if(this.eat(92)){if(this.consumeAtomEscape())return!0;this.rewind(y)}return!1}consumeUncapturingGroup(){const y=this.index;return this.eat3(40,63,58)?(this.onGroupEnter(y),this.consumeDisjunction(),this.eat(41)||this.raise("Unterminated group"),this.onGroupLeave(y,this.index),!0):!1}consumeCapturingGroup(){const y=this.index;if(this.eat(40)){let G=null;2018<=this.ecmaVersion?this.consumeGroupSpecifier()&&(G=this._lastStrValue):
63===this.currentCodePoint&&this.raise("Invalid group");this.onCapturingGroupEnter(y,G);this.consumeDisjunction();this.eat(41)||this.raise("Unterminated group");this.onCapturingGroupLeave(y,this.index,G);return!0}return!1}consumeExtendedAtom(){return this.consumeDot()||this.consumeReverseSolidusAtomEscape()||this.consumeReverseSolidusFollowedByC()||this.consumeCharacterClass()||this.consumeUncapturingGroup()||this.consumeCapturingGroup()||this.consumeInvalidBracedQuantifier()||this.consumeExtendedPatternCharacter()}consumeReverseSolidusFollowedByC(){const y=
this.index;return 92===this.currentCodePoint&&99===this.nextCodePoint?(this._lastIntValue=this.currentCodePoint,this.advance(),this.onCharacter(y,this.index,92),!0):!1}consumeInvalidBracedQuantifier(){this.eatBracedQuantifier(!0)&&this.raise("Nothing to repeat");return!1}consumePatternCharacter(){const y=this.index,G=this.currentCodePoint;return-1===G||f(G)?!1:(this.advance(),this.onCharacter(y,this.index,G),!0)}consumeExtendedPatternCharacter(){const y=this.index,G=this.currentCodePoint;return-1!==
G&&94!==G&&36!==G&&92!==G&&46!==G&&42!==G&&43!==G&&63!==G&&40!==G&&41!==G&&91!==G&&124!==G?(this.advance(),this.onCharacter(y,this.index,G),!0):!1}consumeGroupSpecifier(){if(this.eat(63)){if(this.eatGroupName()){if(!this._groupNames.has(this._lastStrValue))return this._groupNames.add(this._lastStrValue),!0;this.raise("Duplicate capture group name")}this.raise("Invalid group")}return!1}consumeAtomEscape(){if(this.consumeBackreference()||this.consumeCharacterClassEscape()||this.consumeCharacterEscape()||
this._nFlag&&this.consumeKGroupName())return!0;(this.strict||this._uFlag)&&this.raise("Invalid escape");return!1}consumeBackreference(){const y=this.index;if(this.eatDecimalEscape()){const G=this._lastIntValue;if(G<=this._numCapturingParens)return this.onBackreference(y-1,this.index,G),!0;(this.strict||this._uFlag)&&this.raise("Invalid escape");this.rewind(y)}return!1}consumeCharacterClassEscape(){const y=this.index;if(this.eat(100))return this._lastIntValue=-1,this.onEscapeCharacterSet(y-1,this.index,
"digit",!1),!0;if(this.eat(68))return this._lastIntValue=-1,this.onEscapeCharacterSet(y-1,this.index,"digit",!0),!0;if(this.eat(115))return this._lastIntValue=-1,this.onEscapeCharacterSet(y-1,this.index,"space",!1),!0;if(this.eat(83))return this._lastIntValue=-1,this.onEscapeCharacterSet(y-1,this.index,"space",!0),!0;if(this.eat(119))return this._lastIntValue=-1,this.onEscapeCharacterSet(y-1,this.index,"word",!1),!0;if(this.eat(87))return this._lastIntValue=-1,this.onEscapeCharacterSet(y-1,this.index,
"word",!0),!0;let G=!1;if(this._uFlag&&2018<=this.ecmaVersion&&(this.eat(112)||(G=this.eat(80)))){this._lastIntValue=-1;if(this.eat(123)&&this.eatUnicodePropertyValueExpression()&&this.eat(125))return this.onUnicodePropertyCharacterSet(y-1,this.index,"property",this._lastKeyValue,this._lastValValue||null,G),!0;this.raise("Invalid property name")}return!1}consumeCharacterEscape(){const y=this.index;return this.eatControlEscape()||this.eatCControlLetter()||this.eatZero()||this.eatHexEscapeSequence()||
this.eatRegExpUnicodeEscapeSequence()||!this.strict&&!this._uFlag&&this.eatLegacyOctalEscapeSequence()||this.eatIdentityEscape()?(this.onCharacter(y-1,this.index,this._lastIntValue),!0):!1}consumeKGroupName(){const y=this.index;if(this.eat(107)){if(this.eatGroupName()){const G=this._lastStrValue;this._backreferenceNames.add(G);this.onBackreference(y-1,this.index,G);return!0}this.raise("Invalid named reference")}return!1}consumeCharacterClass(){const y=this.index;if(this.eat(91)){const G=this.eat(94);
this.onCharacterClassEnter(y,G);this.consumeClassRanges();this.eat(93)||this.raise("Unterminated character class");this.onCharacterClassLeave(y,this.index,G);return!0}return!1}consumeClassRanges(){const y=this.strict||this._uFlag;for(;;){const G=this.index;if(!this.consumeClassAtom())break;const K=this._lastIntValue;if(!this.eat(45))continue;this.onCharacter(this.index-1,this.index,45);if(!this.consumeClassAtom())break;const R=this._lastIntValue;-1===K||-1===R?y&&this.raise("Invalid character class"):
(K>R&&this.raise("Range out of order in character class"),this.onCharacterClassRange(G,this.index,K,R))}}consumeClassAtom(){const y=this.index,G=this.currentCodePoint;if(-1!==G&&92!==G&&93!==G)return this.advance(),this._lastIntValue=G,this.onCharacter(y,this.index,this._lastIntValue),!0;if(this.eat(92)){if(this.consumeClassEscape())return!0;if(!this.strict&&99===this.currentCodePoint)return this._lastIntValue=92,this.onCharacter(y,this.index,this._lastIntValue),!0;(this.strict||this._uFlag)&&this.raise("Invalid escape");
this.rewind(y)}return!1}consumeClassEscape(){const y=this.index;if(this.eat(98))return this._lastIntValue=8,this.onCharacter(y-1,this.index,this._lastIntValue),!0;if(this._uFlag&&this.eat(45))return this._lastIntValue=45,this.onCharacter(y-1,this.index,this._lastIntValue),!0;let G=0;return this.strict||this._uFlag||99!==this.currentCodePoint||!k(G=this.nextCodePoint)&&95!==G?this.consumeCharacterClassEscape()||this.consumeCharacterEscape():(this.advance(),this.advance(),this._lastIntValue=G%32,this.onCharacter(y-
1,this.index,this._lastIntValue),!0)}eatGroupName(){if(this.eat(60)){if(this.eatRegExpIdentifierName()&&this.eat(62))return!0;this.raise("Invalid capture group name")}return!1}eatRegExpIdentifierName(){if(this.eatRegExpIdentifierStart()){for(this._lastStrValue=String.fromCodePoint(this._lastIntValue);this.eatRegExpIdentifierPart();)this._lastStrValue+=String.fromCodePoint(this._lastIntValue);return!0}return!1}eatRegExpIdentifierStart(){const y=this.index;var G=!this._uFlag&&2020<=this.ecmaVersion;
let K=this.currentCodePoint;this.advance();92===K&&this.eatRegExpUnicodeEscapeSequence(G)?K=this._lastIntValue:G&&55296<=K&&56319>=K&&g(this.currentCodePoint)&&(K=1024*(K-55296)+(this.currentCodePoint-56320)+65536,this.advance());G=K;if((65>G?0:91>G||(97>G?0:123>G||d(G,q||(q=b()))))||36===G||95===G)return this._lastIntValue=K,!0;this.index!==y&&this.rewind(y);return!1}eatRegExpIdentifierPart(){const y=this.index;var G=!this._uFlag&&2020<=this.ecmaVersion;let K=this.currentCodePoint;this.advance();
92===K&&this.eatRegExpUnicodeEscapeSequence(G)?K=this._lastIntValue:G&&55296<=K&&56319>=K&&g(this.currentCodePoint)&&(K=1024*(K-55296)+(this.currentCodePoint-56320)+65536,this.advance());G=K;if(a(G)||36===G||95===G||8204===G||8205===G)return this._lastIntValue=K,!0;this.index!==y&&this.rewind(y);return!1}eatCControlLetter(){const y=this.index;if(this.eat(99)){if(this.eatControlLetter())return!0;this.rewind(y)}return!1}eatZero(){return 48!==this.currentCodePoint||k(this.nextCodePoint)?!1:(this._lastIntValue=
0,this.advance(),!0)}eatControlEscape(){return this.eat(102)?(this._lastIntValue=12,!0):this.eat(110)?(this._lastIntValue=10,!0):this.eat(114)?(this._lastIntValue=13,!0):this.eat(116)?(this._lastIntValue=9,!0):this.eat(118)?(this._lastIntValue=11,!0):!1}eatControlLetter(){const y=this.currentCodePoint;return 65<=y&&90>=y||97<=y&&122>=y?(this.advance(),this._lastIntValue=y%32,!0):!1}eatRegExpUnicodeEscapeSequence(y=!1){const G=this.index;y=y||this._uFlag;if(this.eat(117)){if(y&&this.eatRegExpUnicodeSurrogatePairEscape()||
this.eatFixedHexDigits(4)||y&&this.eatRegExpUnicodeCodePointEscape())return!0;(this.strict||y)&&this.raise("Invalid unicode escape");this.rewind(G)}return!1}eatRegExpUnicodeSurrogatePairEscape(){const y=this.index;if(this.eatFixedHexDigits(4)){const G=this._lastIntValue;if(55296<=G&&56319>=G&&this.eat(92)&&this.eat(117)&&this.eatFixedHexDigits(4)){const K=this._lastIntValue;if(g(K))return this._lastIntValue=1024*(G-55296)+(K-56320)+65536,!0}this.rewind(y)}return!1}eatRegExpUnicodeCodePointEscape(){const y=
this.index;var G;if(G=this.eat(123)&&this.eatHexDigits()&&this.eat(125))G=this._lastIntValue,G=0<=G&&1114111>=G;if(G)return!0;this.rewind(y);return!1}eatIdentityEscape(){const y=this.currentCodePoint;return this.isValidIdentityEscape(y)?(this._lastIntValue=y,this.advance(),!0):!1}isValidIdentityEscape(y){return-1===y?!1:this._uFlag?f(y)||47===y:this.strict?!a(y):this._nFlag?!(99===y||107===y):99!==y}eatDecimalEscape(){this._lastIntValue=0;let y=this.currentCodePoint;if(49<=y&&57>=y){do this._lastIntValue=
10*this._lastIntValue+(y-48),this.advance();while(48<=(y=this.currentCodePoint)&&57>=y);return!0}return!1}eatUnicodePropertyValueExpression(){var y=this.index;if(this.eatUnicodePropertyName()&&this.eat(61)&&(this._lastKeyValue=this._lastStrValue,this.eatUnicodePropertyValue())){this._lastValValue=this._lastStrValue;if(h(this.ecmaVersion,this._lastKeyValue,this._lastValValue))return!0;this.raise("Invalid property name")}this.rewind(y);if(this.eatLoneUnicodePropertyNameOrValue()){const K=this._lastStrValue;
if(h(this.ecmaVersion,"General_Category",K))return this._lastKeyValue="General_Category",this._lastValValue=K,!0;y=this.ecmaVersion;var G=K;if(2018<=y&&D.es2018.has(G)||2019<=y&&D.es2019.has(G)||2021<=y&&D.es2021.has(G))return this._lastKeyValue=K,this._lastValValue="",!0;this.raise("Invalid property name")}return!1}eatUnicodePropertyName(){for(this._lastStrValue="";n(this.currentCodePoint);)this._lastStrValue+=String.fromCodePoint(this.currentCodePoint),this.advance();return""!==this._lastStrValue}eatUnicodePropertyValue(){for(this._lastStrValue=
"";e(this.currentCodePoint);)this._lastStrValue+=String.fromCodePoint(this.currentCodePoint),this.advance();return""!==this._lastStrValue}eatLoneUnicodePropertyNameOrValue(){return this.eatUnicodePropertyValue()}eatHexEscapeSequence(){const y=this.index;if(this.eat(120)){if(this.eatFixedHexDigits(2))return!0;(this._uFlag||this.strict)&&this.raise("Invalid escape");this.rewind(y)}return!1}eatDecimalDigits(){const y=this.index;for(this._lastIntValue=0;k(this.currentCodePoint);)this._lastIntValue=10*
this._lastIntValue+l(this.currentCodePoint),this.advance();return this.index!==y}eatHexDigits(){const y=this.index;for(this._lastIntValue=0;p(this.currentCodePoint);)this._lastIntValue=16*this._lastIntValue+l(this.currentCodePoint),this.advance();return this.index!==y}eatLegacyOctalEscapeSequence(){if(this.eatOctalDigit()){const y=this._lastIntValue;if(this.eatOctalDigit()){const G=this._lastIntValue;3>=y&&this.eatOctalDigit()?this._lastIntValue=64*y+8*G+this._lastIntValue:this._lastIntValue=8*y+
G}else this._lastIntValue=y;return!0}return!1}eatOctalDigit(){const y=this.currentCodePoint;if(48<=y&&55>=y)return this.advance(),this._lastIntValue=y-48,!0;this._lastIntValue=0;return!1}eatFixedHexDigits(y){const G=this.index;this._lastIntValue=0;for(let K=0;K<y;++K){const R=this.currentCodePoint;if(!p(R))return this.rewind(G),!1;this._lastIntValue=16*this._lastIntValue+l(R);this.advance()}return!0}}const M={},P={},O={};class N{constructor(y){this._node=M;this._flags=P;this._backreferences=[];this._capturingGroups=
[];this.source="";this.strict=!(!y||!y.strict);this.ecmaVersion=y&&y.ecmaVersion||2022}get pattern(){if("Pattern"!==this._node.type)throw Error("UnknownError");return this._node}get flags(){if("Flags"!==this._flags.type)throw Error("UnknownError");return this._flags}onFlags(y,G,K,R,Z,aa,xa,X,wa){this._flags={type:"Flags",parent:null,start:y,end:G,raw:this.source.slice(y,G),global:K,ignoreCase:R,multiline:Z,unicode:aa,sticky:xa,dotAll:X,hasIndices:wa}}onPatternEnter(y){this._node={type:"Pattern",parent:null,
start:y,end:y,raw:"",alternatives:[]};this._backreferences.length=0;this._capturingGroups.length=0}onPatternLeave(y,G){this._node.end=G;this._node.raw=this.source.slice(y,G);for(const K of this._backreferences){const R=K.ref;y="number"===typeof R?this._capturingGroups[R-1]:this._capturingGroups.find(Z=>Z.name===R);K.resolved=y;y.references.push(K)}}onAlternativeEnter(y){const G=this._node;if("Assertion"!==G.type&&"CapturingGroup"!==G.type&&"Group"!==G.type&&"Pattern"!==G.type)throw Error("UnknownError");
this._node={type:"Alternative",parent:G,start:y,end:y,raw:"",elements:[]};G.alternatives.push(this._node)}onAlternativeLeave(y,G){const K=this._node;if("Alternative"!==K.type)throw Error("UnknownError");K.end=G;K.raw=this.source.slice(y,G);this._node=K.parent}onGroupEnter(y){const G=this._node;if("Alternative"!==G.type)throw Error("UnknownError");this._node={type:"Group",parent:G,start:y,end:y,raw:"",alternatives:[]};G.elements.push(this._node)}onGroupLeave(y,G){const K=this._node;if("Group"!==K.type||
"Alternative"!==K.parent.type)throw Error("UnknownError");K.end=G;K.raw=this.source.slice(y,G);this._node=K.parent}onCapturingGroupEnter(y,G){const K=this._node;if("Alternative"!==K.type)throw Error("UnknownError");this._node={type:"CapturingGroup",parent:K,start:y,end:y,raw:"",name:G,alternatives:[],references:[]};K.elements.push(this._node);this._capturingGroups.push(this._node)}onCapturingGroupLeave(y,G){const K=this._node;if("CapturingGroup"!==K.type||"Alternative"!==K.parent.type)throw Error("UnknownError");
K.end=G;K.raw=this.source.slice(y,G);this._node=K.parent}onQuantifier(y,G,K,R,Z){y=this._node;if("Alternative"!==y.type)throw Error("UnknownError");const aa=y.elements.pop();if(null==aa||"Quantifier"===aa.type||"Assertion"===aa.type&&"lookahead"!==aa.kind)throw Error("UnknownError");G={type:"Quantifier",parent:y,start:aa.start,end:G,raw:this.source.slice(aa.start,G),min:K,max:R,greedy:Z,element:aa};y.elements.push(G);aa.parent=G}onLookaroundAssertionEnter(y,G,K){const R=this._node;if("Alternative"!==
R.type)throw Error("UnknownError");y=this._node={type:"Assertion",parent:R,start:y,end:y,raw:"",kind:G,negate:K,alternatives:[]};R.elements.push(y)}onLookaroundAssertionLeave(y,G){const K=this._node;if("Assertion"!==K.type||"Alternative"!==K.parent.type)throw Error("UnknownError");K.end=G;K.raw=this.source.slice(y,G);this._node=K.parent}onEdgeAssertion(y,G,K){const R=this._node;if("Alternative"!==R.type)throw Error("UnknownError");R.elements.push({type:"Assertion",parent:R,start:y,end:G,raw:this.source.slice(y,
G),kind:K})}onWordBoundaryAssertion(y,G,K,R){const Z=this._node;if("Alternative"!==Z.type)throw Error("UnknownError");Z.elements.push({type:"Assertion",parent:Z,start:y,end:G,raw:this.source.slice(y,G),kind:K,negate:R})}onAnyCharacterSet(y,G,K){const R=this._node;if("Alternative"!==R.type)throw Error("UnknownError");R.elements.push({type:"CharacterSet",parent:R,start:y,end:G,raw:this.source.slice(y,G),kind:K})}onEscapeCharacterSet(y,G,K,R){const Z=this._node;if("Alternative"!==Z.type&&"CharacterClass"!==
Z.type)throw Error("UnknownError");Z.elements.push({type:"CharacterSet",parent:Z,start:y,end:G,raw:this.source.slice(y,G),kind:K,negate:R})}onUnicodePropertyCharacterSet(y,G,K,R,Z,aa){const xa=this._node;if("Alternative"!==xa.type&&"CharacterClass"!==xa.type)throw Error("UnknownError");xa.elements.push({type:"CharacterSet",parent:xa,start:y,end:G,raw:this.source.slice(y,G),kind:K,key:R,value:Z,negate:aa})}onCharacter(y,G,K){const R=this._node;if("Alternative"!==R.type&&"CharacterClass"!==R.type)throw Error("UnknownError");
R.elements.push({type:"Character",parent:R,start:y,end:G,raw:this.source.slice(y,G),value:K})}onBackreference(y,G,K){const R=this._node;if("Alternative"!==R.type)throw Error("UnknownError");y={type:"Backreference",parent:R,start:y,end:G,raw:this.source.slice(y,G),ref:K,resolved:O};R.elements.push(y);this._backreferences.push(y)}onCharacterClassEnter(y,G){const K=this._node;if("Alternative"!==K.type)throw Error("UnknownError");this._node={type:"CharacterClass",parent:K,start:y,end:y,raw:"",negate:G,
elements:[]};K.elements.push(this._node)}onCharacterClassLeave(y,G){const K=this._node;if("CharacterClass"!==K.type||"Alternative"!==K.parent.type)throw Error("UnknownError");K.end=G;K.raw=this.source.slice(y,G);this._node=K.parent}onCharacterClassRange(y,G){const K=this._node;if("CharacterClass"!==K.type)throw Error("UnknownError");const R=K.elements,Z=R.pop(),aa=R.pop(),xa=R.pop();if(!xa||!Z||!aa||"Character"!==xa.type||"Character"!==Z.type||"Character"!==aa.type||45!==aa.value)throw Error("UnknownError");
y={type:"CharacterClassRange",parent:K,start:y,end:G,raw:this.source.slice(y,G),min:xa,max:Z};xa.parent=y;Z.parent=y;R.push(y)}}class L{constructor(y){this._state=new N(y);this._validator=new J(this._state)}parseLiteral(y,G=0,K=y.length){this._state.source=y;this._validator.validateLiteral(y,G,K);const R=this._state.pattern,Z=this._state.flags;y={type:"RegExpLiteral",parent:null,start:G,end:K,raw:y,pattern:R,flags:Z};R.parent=y;return Z.parent=y}parseFlags(y,G=0,K=y.length){this._state.source=y;this._validator.validateFlags(y,
G,K);return this._state.flags}parsePattern(y,G=0,K=y.length,R=!1){this._state.source=y;this._validator.validatePattern(y,G,K,R);return this._state.pattern}}class x{constructor(y){this._handlers=y}visit(y){switch(y.type){case "Alternative":this.visitAlternative(y);break;case "Assertion":this.visitAssertion(y);break;case "Backreference":this.visitBackreference(y);break;case "CapturingGroup":this.visitCapturingGroup(y);break;case "Character":this.visitCharacter(y);break;case "CharacterClass":this.visitCharacterClass(y);
break;case "CharacterClassRange":this.visitCharacterClassRange(y);break;case "CharacterSet":this.visitCharacterSet(y);break;case "Flags":this.visitFlags(y);break;case "Group":this.visitGroup(y);break;case "Pattern":this.visitPattern(y);break;case "Quantifier":this.visitQuantifier(y);break;case "RegExpLiteral":this.visitRegExpLiteral(y);break;default:throw Error("Unknown type: ".concat(y.type));}}visitAlternative(y){if(this._handlers.onAlternativeEnter)this._handlers.onAlternativeEnter(y);y.elements.forEach(this.visit,
this);if(this._handlers.onAlternativeLeave)this._handlers.onAlternativeLeave(y)}visitAssertion(y){if(this._handlers.onAssertionEnter)this._handlers.onAssertionEnter(y);"lookahead"!==y.kind&&"lookbehind"!==y.kind||y.alternatives.forEach(this.visit,this);if(this._handlers.onAssertionLeave)this._handlers.onAssertionLeave(y)}visitBackreference(y){if(this._handlers.onBackreferenceEnter)this._handlers.onBackreferenceEnter(y);if(this._handlers.onBackreferenceLeave)this._handlers.onBackreferenceLeave(y)}visitCapturingGroup(y){if(this._handlers.onCapturingGroupEnter)this._handlers.onCapturingGroupEnter(y);
y.alternatives.forEach(this.visit,this);if(this._handlers.onCapturingGroupLeave)this._handlers.onCapturingGroupLeave(y)}visitCharacter(y){if(this._handlers.onCharacterEnter)this._handlers.onCharacterEnter(y);if(this._handlers.onCharacterLeave)this._handlers.onCharacterLeave(y)}visitCharacterClass(y){if(this._handlers.onCharacterClassEnter)this._handlers.onCharacterClassEnter(y);y.elements.forEach(this.visit,this);if(this._handlers.onCharacterClassLeave)this._handlers.onCharacterClassLeave(y)}visitCharacterClassRange(y){if(this._handlers.onCharacterClassRangeEnter)this._handlers.onCharacterClassRangeEnter(y);
this.visitCharacter(y.min);this.visitCharacter(y.max);if(this._handlers.onCharacterClassRangeLeave)this._handlers.onCharacterClassRangeLeave(y)}visitCharacterSet(y){if(this._handlers.onCharacterSetEnter)this._handlers.onCharacterSetEnter(y);if(this._handlers.onCharacterSetLeave)this._handlers.onCharacterSetLeave(y)}visitFlags(y){if(this._handlers.onFlagsEnter)this._handlers.onFlagsEnter(y);if(this._handlers.onFlagsLeave)this._handlers.onFlagsLeave(y)}visitGroup(y){if(this._handlers.onGroupEnter)this._handlers.onGroupEnter(y);
y.alternatives.forEach(this.visit,this);if(this._handlers.onGroupLeave)this._handlers.onGroupLeave(y)}visitPattern(y){if(this._handlers.onPatternEnter)this._handlers.onPatternEnter(y);y.alternatives.forEach(this.visit,this);if(this._handlers.onPatternLeave)this._handlers.onPatternLeave(y)}visitQuantifier(y){if(this._handlers.onQuantifierEnter)this._handlers.onQuantifierEnter(y);this.visit(y.element);if(this._handlers.onQuantifierLeave)this._handlers.onQuantifierLeave(y)}visitRegExpLiteral(y){if(this._handlers.onRegExpLiteralEnter)this._handlers.onRegExpLiteralEnter(y);
this.visitPattern(y.pattern);this.visitFlags(y.flags);if(this._handlers.onRegExpLiteralLeave)this._handlers.onRegExpLiteralLeave(y)}}c.AST=u;c.RegExpParser=L;c.RegExpValidator=J;c.parseRegExpLiteral=function(y,G){return(new L(G)).parseLiteral(String(y))};c.validateRegExpLiteral=function(y,G){return(new J(G)).validateLiteral(y)};c.visitRegExpAST=function(y,G){(new x(G)).visit(y)}},u=>{u.exports={meta:{type:"problem",docs:{description:"disallow the use of `debugger`",recommended:!0,url:"https://eslint.org/docs/rules/no-debugger"},
fixable:null,schema:[],messages:{unexpected:"Unexpected 'debugger' statement."}},create(c){return{DebuggerStatement(a){c.report({node:a,messageId:"unexpected"})}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow deleting variables",recommended:!0,url:"https://eslint.org/docs/rules/no-delete-var"},schema:[],messages:{unexpected:"Variables should not be deleted."}},create(c){return{UnaryExpression(a){"delete"===a.operator&&"Identifier"===a.argument.type&&c.report({node:a,messageId:"unexpected"})}}}}},
u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow division operators explicitly at the beginning of regular expressions",recommended:!1,url:"https://eslint.org/docs/rules/no-div-regex"},fixable:"code",schema:[],messages:{unexpected:"A regular expression literal can be confused with '/='."}},create(c){const a=c.getSourceCode();return{Literal(b){const d=a.getFirstToken(b);"RegularExpression"===d.type&&"="===d.value[1]&&c.report({node:b,messageId:"unexpected",fix(m){return m.replaceTextRange([d.range[0]+
1,d.range[0]+2],"[=]")}})}}}}},u=>{u.exports={meta:{type:"problem",docs:{description:"disallow duplicate arguments in `function` definitions",recommended:!0,url:"https://eslint.org/docs/rules/no-dupe-args"},schema:[],messages:{unexpected:"Duplicate param '{{name}}'."}},create(c){function a(d){return"Parameter"===d.type}function b(d){const m=c.getDeclaredVariables(d);for(let h=0;h<m.length;++h){const k=m[h];2<=k.defs.filter(a).length&&c.report({node:d,messageId:"unexpected",data:{name:k.name}})}}return{FunctionDeclaration:b,
FunctionExpression:b}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"problem",docs:{description:"disallow duplicate class members",recommended:!0,url:"https://eslint.org/docs/rules/no-dupe-class-members"},schema:[],messages:{unexpected:"Duplicate name '{{name}}'."}},create(d){let m=[];return{Program(){m=[]},ClassBody(){m.push(Object.create(null))},["ClassBody:exit"](){m.pop()},["MethodDefinition, PropertyDefinition"](h){const k=b.getStaticPropertyName(h);var p="MethodDefinition"===h.type?h.kind:
"field";if(null!==k&&"constructor"!==p){{var l=h.static;const g=m[m.length-1],f="$".concat(k);g[f]||(g[f]={nonStatic:{init:!1,get:!1,set:!1},static:{init:!1,get:!1,set:!1}});l=g[f][l?"static":"nonStatic"]}"get"===p?(p=l.init||l.get,l.get=!0):"set"===p?(p=l.init||l.set,l.set=!0):(p=l.init||l.get||l.set,l.init=!0);p&&d.report({node:h,messageId:"unexpected",data:{name:k}})}}}}}},(u,c,a)=>{function b(p,l,g){return l.every(f=>g.some(n=>p(f,n)))}function d(p,l){return"LogicalExpression"===l.type&&l.operator===
p?[...d(p,l.left),...d(p,l.right)]:[l]}const m=a(571),h=d.bind(null,"||"),k=d.bind(null,"&&");u.exports={meta:{type:"problem",docs:{description:"disallow duplicate conditions in if-else-if chains",recommended:!0,url:"https://eslint.org/docs/rules/no-dupe-else-if"},schema:[],messages:{unexpected:"This branch can never execute. Its condition is a duplicate or covered by previous conditions in the if-else-if chain."}},create(p){function l(n,e){return n.type!==e.type?!1:"LogicalExpression"!==n.type||
"||"!==n.operator&&"&&"!==n.operator||n.operator!==e.operator?m.equalTokens(n,e,g):l(n.left,e.left)&&l(n.right,e.right)||l(n.left,e.right)&&l(n.right,e.left)}const g=p.getSourceCode(),f=b.bind(null,l);return{IfStatement(n){const e=n.test;var q="LogicalExpression"===e.type&&"&&"===e.operator?[e,...k(e)]:[e];for(q=q.map(t=>h(t).map(k));n.parent&&"IfStatement"===n.parent.type&&n.parent.alternate===n;){n=n.parent;const t=h(n.test).map(k);q=q.map(r=>r.filter(v=>!t.some(z=>f(z,v))));if(q.some(r=>0===r.length)){p.report({node:e,
messageId:"unexpected"});break}}}}}}},(u,c,a)=>{const b=a(571),d=/^(?:init|get)$/u,m=/^(?:init|set)$/u;class h{constructor(k,p){this.upper=k;this.node=p;this.properties=new Map}getPropertyInfo(k){k=b.getStaticPropertyName(k);this.properties.has(k)||this.properties.set(k,{get:!1,set:!1});return this.properties.get(k)}isPropertyDefined(k){const p=this.getPropertyInfo(k);return d.test(k.kind)&&p.get||m.test(k.kind)&&p.set}defineProperty(k){const p=this.getPropertyInfo(k);d.test(k.kind)&&(p.get=!0);m.test(k.kind)&&
(p.set=!0)}}u.exports={meta:{type:"problem",docs:{description:"disallow duplicate keys in object literals",recommended:!0,url:"https://eslint.org/docs/rules/no-dupe-keys"},schema:[],messages:{unexpected:"Duplicate key '{{name}}'."}},create(k){let p=null;return{ObjectExpression(l){p=new h(p,l)},["ObjectExpression:exit"](){p=p.upper},Property(l){const g=b.getStaticPropertyName(l);"ObjectExpression"===l.parent.type&&null!==g&&(p.isPropertyDefined(l)&&k.report({node:p.node,loc:l.key.loc,messageId:"unexpected",
data:{name:g}}),p.defineProperty(l))}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"problem",docs:{description:"disallow duplicate case labels",recommended:!0,url:"https://eslint.org/docs/rules/no-duplicate-case"},schema:[],messages:{unexpected:"Duplicate case label."}},create(d){const m=d.getSourceCode();return{SwitchStatement(h){const k=[];for(const p of h.cases)if(p.test){const l=p.test;k.some(g=>{g=g.type!==l.type?!1:b.equalTokens(g,l,m);return g})?d.report({node:p,messageId:"unexpected"}):
k.push(l)}}}}}},u=>{function c(l,g){return("named"===g?k:p).includes(l)}function a(l){if(l.specifiers&&0<l.specifiers.length){l=l.specifiers;const g=l.findIndex(({type:f})=>c(f,"named")||c(f,"namespace"));return l[-1<g?g:0].type}return"ExportAllDeclaration"===l.type?l.exported?"ExportNamespaceSpecifier":"ExportAll":"SideEffectImport"}function b(l,g){let f=0;for(;f<g.length;){var n=g[f];var e=a(l);n=a(n);e="ExportAll"===e&&"ExportAll"!==n&&"SideEffectImport"!==n||"ExportAll"!==e&&"SideEffectImport"!==
e&&"ExportAll"===n?!1:c(e,"namespace")&&c(n,"named")||c(n,"namespace")&&c(e,"named")?!1:!0;if(e)return!0;f++}return!1}function d(l,g){return l.filter(({declarationType:f})=>f===g).map(({node:f})=>f)}function m(l,g,f,n,e){const q=g&&g.source&&g.source.value?g.source.value.trim():"";if(f.has(q)){f=f.get(q);const t=[],r=d(f,"import");let v;e&&(v=d(f,"export"));"import"===n?(b(g,r)&&t.push("import"),e&&b(g,v)&&t.push("importAs")):"export"===n&&(b(g,v)&&t.push("export"),b(g,r)&&t.push("exportAs"));t.forEach(z=>
l.report({node:g,messageId:z,data:{module:q}}))}}function h(l,g,f,n){return function(e){const q=e&&e.source&&e.source.value?e.source.value.trim():"";if(q){m(l,e,g,f,n);e={node:e,declarationType:f};let t=[e];g.has(q)&&(t=[...g.get(q),e]);g.set(q,t)}}}const k=["ImportSpecifier","ExportSpecifier"],p=["ImportNamespaceSpecifier","ExportNamespaceSpecifier"];u.exports={meta:{type:"problem",docs:{description:"disallow duplicate module imports",recommended:!1,url:"https://eslint.org/docs/rules/no-duplicate-imports"},
schema:[{type:"object",properties:{includeExports:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{import:"'{{module}}' import is duplicated.",importAs:"'{{module}}' import is duplicated as export.",export:"'{{module}}' export is duplicated.",exportAs:"'{{module}}' export is duplicated as import."}},create(l){const g=(l.options[0]||{}).includeExports,f=new Map,n={ImportDeclaration:h(l,f,"import",g)};g&&(n.ExportNamedDeclaration=h(l,f,"export",g),n.ExportAllDeclaration=h(l,f,"export",
g));return n}}},(u,c,a)=>{const b=a(571),d=a(685);u.exports={meta:{type:"suggestion",docs:{description:"disallow `else` blocks after `return` statements in `if` statements",recommended:!1,url:"https://eslint.org/docs/rules/no-else-return"},schema:[{type:"object",properties:{allowElseIf:{type:"boolean",default:!0}},additionalProperties:!1}],fixable:"code",messages:{unexpected:"Unnecessary 'else' after 'return'."}},create(m){function h(t,r){if(0===t.length)return!0;const v=r.variableScope;if(r.variables.filter(({defs:z})=>
0<z.length).some(({name:z})=>t.includes(z))||r!==v&&"catch"===r.upper.type&&r.upper.variables.some(({name:z})=>t.includes(z))||r.variables.filter(({defs:z,references:E})=>0===z.length&&0<E.length).some(({name:z})=>t.includes(z))||r.through.some(z=>t.includes(z.identifier.name)))return!1;if(r!==v){const z=r.block.range;if(v.variables.filter(({name:E})=>t.includes(E)).some(E=>E.defs.some(({node:{range:A}})=>z[0]<=A[0]&&A[1]<=z[1])))return!1}return!0}function k(t,r){if("FunctionDeclaration"===t.type)return!1;
if("BlockStatement"!==t.type)return!0;var v=r.childScopes.find(({block:z})=>z===t);if(!v)return!0;v=v.variables.map(({name:z})=>z);return h(v,r)}function p(t){const r=m.getScope();m.report({node:t,messageId:"unexpected",fix:v=>{if(!k(t,r))return null;const z=m.getSourceCode();var E=z.getFirstToken(t);const A=z.getTokenBefore(E),D=z.getText(t);var F=z.getTokenBefore(A);var C="Punctuator"===E.type&&"{"===E.value?z.getTokenAfter(E):E;F="BlockStatement"!==t.parent.consequent.type&&";"!==F.value;C=/^[([/+`-]/u.test(C.value);
if(F&&C)return null;F=z.getLastToken(t);C=z.getTokenBefore(F);if(";"!==C.value){const B=(F=z.getTokenAfter(F))&&/^[([/+`-]/u.test(F.value);C=F&&F.loc.start.line===C.loc.start.line;if(B||C&&"}"!==F.value)return null}E="Punctuator"===E.type&&"{"===E.value?D.slice(1,-1):D;return(new d(v,z)).retainEnclosingFunction(t).replaceTextRange([A.range[0],t.range[1]],E)}})}function l(t){return"ReturnStatement"===t.type}function g(t){return"BlockStatement"===t.type?(t=t.body,(t=t[t.length-1])&&l(t)):l(t)}function f(t){var r;
(r=l(t))||(r="IfStatement"===t.type&&t.alternate&&t.consequent&&g(t.alternate)&&g(t.consequent));return r}function n(t){return"BlockStatement"===t.type?t.body.some(f):f(t)}function e(t){if(b.STATEMENT_LIST_PARENTS.has(t.parent.type)){for(var r=[],v;"IfStatement"===t.type;t=t.alternate){if(!t.alternate)return;r.push(t.consequent);v=t.alternate}r.every(n)&&p(v)}}function q(t){if(b.STATEMENT_LIST_PARENTS.has(t.parent.type)){var r=t.alternate;r&&n(t.consequent)&&p(r)}}return{"IfStatement:exit":m.options[0]&&
!1===m.options[0].allowElseIf?q:e}}}},(u,c,a)=>{const b=a(571);class d{constructor(m,h){this.fixer=m;this.sourceCode=h;this.retainedRange=null}retainRange(m){this.retainedRange=m;return this}retainEnclosingFunction(m){m=b.getUpperFunction(m);return this.retainRange(m?m.range:this.sourceCode.ast.range)}retainSurroundingTokens(m){const h=this.sourceCode.getTokenBefore(m)||m;m=this.sourceCode.getTokenAfter(m)||m;return this.retainRange([h.range[0],m.range[1]])}replaceTextRange(m,h){let k;k=this.retainedRange?
[Math.min(this.retainedRange[0],m[0]),Math.max(this.retainedRange[1],m[1])]:m;return this.fixer.replaceTextRange(k,this.sourceCode.text.slice(k[0],m[0])+h+this.sourceCode.text.slice(m[1],k[1]))}remove(m){return this.replaceTextRange(m.range,"")}}u.exports=d},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow empty block statements",recommended:!0,url:"https://eslint.org/docs/rules/no-empty"},schema:[{type:"object",properties:{allowEmptyCatch:{type:"boolean",default:!1}},
additionalProperties:!1}],messages:{unexpected:"Empty {{type}} statement."}},create(d){const m=(d.options[0]||{}).allowEmptyCatch||!1,h=d.getSourceCode();return{BlockStatement(k){0===k.body.length&&(b.isFunction(k.parent)||m&&"CatchClause"===k.parent.type||0<h.getCommentsInside(k).length||d.report({node:k,messageId:"unexpected",data:{type:"block"}}))},SwitchStatement(k){"undefined"!==typeof k.cases&&0!==k.cases.length||d.report({node:k,messageId:"unexpected",data:{type:"switch"}})}}}}},u=>{const c=
/^([^\\[]|\\.|\[([^\\\]]|\\.)+\])*$/u;u.exports={meta:{type:"problem",docs:{description:"disallow empty character classes in regular expressions",recommended:!0,url:"https://eslint.org/docs/rules/no-empty-character-class"},schema:[],messages:{unexpected:"Empty class."}},create(a){return{["Literal[regex]"](b){c.test(b.regex.pattern)||a.report({node:b,messageId:"unexpected"})}}}}},(u,c,a)=>{function b(m){var h=m.parent;if("ArrowFunctionExpression"===m.type)return"arrowFunctions";if("Property"===h.type){if("get"===
h.kind)return"getters";if("set"===h.kind)return"setters";h=h.method?"methods":"functions"}else if("MethodDefinition"===h.type){if("get"===h.kind)return"getters";if("set"===h.kind)return"setters";if("constructor"===h.kind)return"constructors";h="methods"}else h="functions";if(m.generator)m="generator";else if(m.async)m="async";else return h;return m+h[0].toUpperCase()+h.slice(1)}const d=a(571);c=Object.freeze("functions arrowFunctions generatorFunctions methods generatorMethods getters setters constructors asyncFunctions asyncMethods".split(" "));
u.exports={meta:{type:"suggestion",docs:{description:"disallow empty functions",recommended:!1,url:"https://eslint.org/docs/rules/no-empty-function"},schema:[{type:"object",properties:{allow:{type:"array",items:{enum:c},uniqueItems:!0}},additionalProperties:!1}],messages:{unexpected:"Unexpected empty {{name}}."}},create(m){function h(l){const g=b(l),f=d.getFunctionNameWithKind(l),n=p.getTokens(l.body,{includeComments:!0,filter:d.isCommentToken});-1===k.indexOf(g)&&"BlockStatement"===l.body.type&&
0===l.body.body.length&&0===n.length&&m.report({node:l,loc:l.body.loc,messageId:"unexpected",data:{name:f}})}const k=(m.options[0]||{}).allow||[],p=m.getSourceCode();return{ArrowFunctionExpression:h,FunctionDeclaration:h,FunctionExpression:h}}}},u=>{u.exports={meta:{type:"problem",docs:{description:"disallow empty destructuring patterns",recommended:!0,url:"https://eslint.org/docs/rules/no-empty-pattern"},schema:[],messages:{unexpected:"Unexpected empty {{type}} pattern."}},create(c){return{ObjectPattern(a){0===
a.properties.length&&c.report({node:a,messageId:"unexpected",data:{type:"object"}})},ArrayPattern(a){0===a.elements.length&&c.report({node:a,messageId:"unexpected",data:{type:"array"}})}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow `null` comparisons without type-checking operators",recommended:!1,url:"https://eslint.org/docs/rules/no-eq-null"},schema:[],messages:{unexpected:"Use '===' to compare with null."}},create(c){return{BinaryExpression(a){const b="=="===a.operator||
"!="===a.operator;("Literal"===a.right.type&&"null"===a.right.raw&&b||"Literal"===a.left.type&&"null"===a.left.raw&&b)&&c.report({node:a,messageId:"unexpected"})}}}}},(u,c,a)=>{const b=a(571),d=Object.freeze(["global","window","globalThis"]);u.exports={meta:{type:"suggestion",docs:{description:"disallow the use of `eval()`",recommended:!1,url:"https://eslint.org/docs/rules/no-eval"},schema:[{type:"object",properties:{allowIndirect:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{unexpected:"eval can be harmful."}},
create(m){function h(n){const e=m.getScope().isStrict;f={upper:f,node:n,strict:e,defaultThis:!1,initialized:e}}function k(){f=f.upper}function p(n){const e=n.parent;m.report({node:"CallExpression"===e.type&&e.callee===n?e:n,loc:("MemberExpression"===n.type?n.property:n).loc,messageId:"unexpected"})}const l=!(!m.options[0]||!m.options[0].allowIndirect),g=m.getSourceCode();let f=null;return l?{["CallExpression:exit"](n){const e=n.callee;!n.optional&&b.isSpecificId(e,"eval")&&p(e)}}:{["CallExpression:exit"](n){n=
n.callee;b.isSpecificId(n,"eval")&&p(n)},Program(n){const e=m.getScope(),q=m.parserOptions.ecmaFeatures||{};f={upper:null,node:n,strict:e.isStrict||"module"===n.sourceType||q.globalReturn&&e.childScopes[0].isStrict,defaultThis:!0,initialized:!0}},["Program:exit"](){const n=m.getScope();k();var e=b.getVariableByName(n,"eval");if(e){e=e.references;for(var q=0;q<e.length;++q){var t=e[q].identifier;"eval"!==t.name||b.isCallee(t)||p(t)}}for(e=0;e<d.length;++e)if(q=d[e],t=b.getVariableByName(n,q)){t=t.references;
for(let r=0;r<t.length;++r){let v=t[r].identifier.parent;for(;b.isSpecificMemberAccess(v,null,q);)v=v.parent;b.isSpecificMemberAccess(v,null,"eval")&&p(v)}}},FunctionDeclaration:h,"FunctionDeclaration:exit":k,FunctionExpression:h,"FunctionExpression:exit":k,ArrowFunctionExpression:h,"ArrowFunctionExpression:exit":k,"PropertyDefinition > *.value":h,"PropertyDefinition > *.value:exit":k,ThisExpression(n){b.isSpecificMemberAccess(n.parent,null,"eval")&&(f.initialized||(f.initialized=!0,f.defaultThis=
b.isDefaultThisBinding(f.node,g)),!f.strict&&f.defaultThis&&p(n.parent))}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"problem",docs:{description:"disallow reassigning exceptions in `catch` clauses",recommended:!0,url:"https://eslint.org/docs/rules/no-ex-assign"},schema:[],messages:{unexpected:"Do not assign to the exception parameter."}},create(d){function m(h){b.getModifyingReferences(h.references).forEach(k=>{d.report({node:k.identifier,messageId:"unexpected"})})}return{CatchClause(h){d.getDeclaredVariables(h).forEach(m)}}}}},
(u,c,a)=>{const b=a(571),d=a(516);u.exports={meta:{type:"suggestion",docs:{description:"disallow extending native types",recommended:!1,url:"https://eslint.org/docs/rules/no-extend-native"},schema:[{type:"object",properties:{exceptions:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}],messages:{unexpected:"{{builtin}} prototype is read only, properties should not be added."}},create(m){function h(g,f){m.report({node:g,messageId:"unexpected",data:{builtin:f}})}function k(g){if(g&&
g.parent&&"MemberExpression"===g.parent.type&&g.parent.object===g&&"prototype"===b.getStaticPropertyName(g.parent)){var f="ChainExpression"===g.parent.parent.type?g.parent.parent:g.parent;"MemberExpression"===f.parent.type&&f.parent.object===f&&"AssignmentExpression"===f.parent.parent.type&&f.parent.parent.left===f.parent?h(f.parent.parent,g.name):"CallExpression"===f.parent.type&&f.parent.arguments[0]===f&&b.isSpecificMemberAccess(f.parent.callee,"Object",/^definePropert(?:y|ies)$/u)&&h(f.parent,
g.name)}}const p=new Set((m.options[0]||{}).exceptions||[]),l=new Set(Object.keys(d.builtin).filter(g=>g[0].toUpperCase()===g[0]).filter(g=>!p.has(g)));return{["Program:exit"](){const g=m.getScope();l.forEach(f=>{(f=g.set.get(f))&&f.references&&f.references.map(n=>n.identifier).forEach(k)})}}}}},(u,c,a)=>{const b=a(571),d=new Set(["Literal","Identifier","ThisExpression","FunctionExpression"]);u.exports={meta:{type:"suggestion",docs:{description:"disallow unnecessary calls to `.bind()`",recommended:!1,
url:"https://eslint.org/docs/rules/no-extra-bind"},schema:[],fixable:"code",messages:{unexpected:"The function binding is unnecessary."}},create(m){function h(n){const e=n.parent,q="ChainExpression"===e.parent.type?e.parent.parent:e.parent;m.report({node:q,messageId:"unexpected",loc:e.property.loc,fix(t){if(!d.has(q.arguments[0].type))return null;const r=[[g.getTokenAfter(e.object,b.isNotClosingParenToken),g.getLastToken(e)],[g.getTokenAfter(e,b.isNotClosingParenToken),g.getLastToken(q)]];return g.commentsExistBetween(r[0][0],
r[1][1])?null:r.map(([v,z])=>t.removeRange([v.range[0],z.range[1]]))}})}function k(n){if(!b.isSpecificMemberAccess(n.parent,null,"bind"))return!1;n="ChainExpression"===n.parent.parent.type?n.parent.parent:n.parent;return"CallExpression"===n.parent.type&&n.parent.callee===n&&1===n.parent.arguments.length&&"SpreadElement"!==n.parent.arguments[0].type}function p(n){f={isBound:k(n),thisFound:!1,upper:f}}function l(n){f.isBound&&!f.thisFound&&h(n);f=f.upper}const g=m.getSourceCode();let f=null;return{"ArrowFunctionExpression:exit":function(n){k(n)&&
h(n)},FunctionDeclaration:p,"FunctionDeclaration:exit":l,FunctionExpression:p,"FunctionExpression:exit":l,ThisExpression:function(){f&&(f.thisFound=!0)}}}}},(u,c,a)=>{const b=a(571),d=a(524),m=b.getPrecedence;u.exports={meta:{type:"suggestion",docs:{description:"disallow unnecessary boolean casts",recommended:!0,url:"https://eslint.org/docs/rules/no-extra-boolean-cast"},schema:[{type:"object",properties:{enforceForLogicalOperands:{type:"boolean",default:!1}},additionalProperties:!1}],fixable:"code",
messages:{unexpectedCall:"Redundant Boolean call.",unexpectedNegation:"Redundant double negation."}},create(h){function k(f){if("ChainExpression"===f.parent.type)return k(f.parent);var n=f.parent;(n=("CallExpression"===n.type||"NewExpression"===n.type)&&"Identifier"===n.callee.type&&"Boolean"===n.callee.name&&f===f.parent.arguments[0]||-1!==g.indexOf(f.parent.type)&&f===f.parent.test||"UnaryExpression"===f.parent.type&&"!"===f.parent.operator)||(n=f.parent,n="LogicalExpression"===n.type&&("||"===
n.operator||"&&"===n.operator)&&h.options.length&&!0===h.options[0].enforceForLogicalOperands&&k(f.parent));return n}function p(f,n){if("ChainExpression"===f.parent.type)return p(f.parent,n);if(d.isParenthesized(1,f,l))return!1;const e=f.parent;switch(e.type){case "CallExpression":case "NewExpression":return"SequenceExpression"===n.type;case "IfStatement":case "DoWhileStatement":case "WhileStatement":case "ForStatement":return!1;case "ConditionalExpression":return m(n)<=m(e);case "UnaryExpression":return m(n)<
m(e);case "LogicalExpression":return b.isMixedLogicalAndCoalesceExpressions(n,e)?!0:f===e.left?m(n)<m(e):m(n)<=m(e);default:throw Error("Unexpected parent type: ".concat(e.type));}}const l=h.getSourceCode(),g=["IfStatement","DoWhileStatement","WhileStatement","ConditionalExpression","ForStatement"];return{UnaryExpression(f){const n=f.parent;"!"===f.operator&&"UnaryExpression"===n.type&&"!"===n.operator&&k(n)&&h.report({node:n,messageId:"unexpectedNegation",fix(e){if(l.getCommentsInside(n).length)return null;
if(p(n,f.argument))return e.replaceText(n,"(".concat(l.getText(f.argument),")"));let q="";const t=l.getTokenBefore(n),r=l.getFirstToken(f.argument);t&&t.range[1]===n.range[0]&&!b.canTokensBeAdjacent(t,r)&&(q=" ");return e.replaceText(n,q+l.getText(f.argument))}})},CallExpression(f){"Identifier"===f.callee.type&&"Boolean"===f.callee.name&&k(f)&&h.report({node:f,messageId:"unexpectedCall",fix(n){var e=f.parent;if(0===f.arguments.length){if("UnaryExpression"===e.type&&"!"===e.operator){if(l.getCommentsInside(e).length)return null;
let q="";const t=l.getTokenBefore(e);t&&t.range[1]===e.range[0]&&!b.canTokensBeAdjacent(t,"true")&&(q=" ");return n.replaceText(e,q+"true")}return l.getCommentsInside(f).length?null:n.replaceText(f,"false")}return 1===f.arguments.length?(e=f.arguments[0],"SpreadElement"===e.type||l.getCommentsInside(f).length?null:p(f,e)?n.replaceText(f,"(".concat(l.getText(e),")")):n.replaceText(f,l.getText(e))):null}})}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow unnecessary labels",
recommended:!1,url:"https://eslint.org/docs/rules/no-extra-label"},schema:[],fixable:"code",messages:{unexpected:"This label '{{name}}' is unnecessary."}},create(d){function m(g){l={label:"LabeledStatement"===g.parent.type?g.parent.label:null,breakable:!0,upper:l}}function h(){l=l.upper}function k(g){if(g.label){var f=g.label;for(let n=l;null!==n;n=n.upper)if(n.breakable||n.label&&n.label.name===f.name){n.breakable&&n.label&&n.label.name===f.name&&d.report({node:f,messageId:"unexpected",data:f,fix(e){const q=
p.getFirstToken(g);return p.commentsExistBetween(q,f)?null:e.removeRange([q.range[1],f.range[1]])}});break}}}const p=d.getSourceCode();let l=null;return{WhileStatement:m,"WhileStatement:exit":h,DoWhileStatement:m,"DoWhileStatement:exit":h,ForStatement:m,"ForStatement:exit":h,ForInStatement:m,"ForInStatement:exit":h,ForOfStatement:m,"ForOfStatement:exit":h,SwitchStatement:m,"SwitchStatement:exit":h,LabeledStatement:function(g){b.isBreakableStatement(g.body)||(l={label:g.label,breakable:!1,upper:l})},
"LabeledStatement:exit":function(g){b.isBreakableStatement(g.body)||(l=l.upper)},BreakStatement:k,ContinueStatement:k}}}},(u,c,a)=>{const {isParenthesized:b}=a(524),d=a(571);u.exports={meta:{type:"layout",docs:{description:"disallow unnecessary parentheses",recommended:!1,url:"https://eslint.org/docs/rules/no-extra-parens"},fixable:"code",schema:{anyOf:[{type:"array",items:[{enum:["functions"]}],minItems:0,maxItems:1},{type:"array",items:[{enum:["all"]},{type:"object",properties:{conditionalAssign:{type:"boolean"},
nestedBinaryExpressions:{type:"boolean"},returnAssign:{type:"boolean"},ignoreJSX:{enum:["none","all","single-line","multi-line"]},enforceForArrowConditionals:{type:"boolean"},enforceForSequenceExpressions:{type:"boolean"},enforceForNewInMemberExpressions:{type:"boolean"},enforceForFunctionPrototypeMethods:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2}]},messages:{unexpected:"Unnecessary parentheses around expression."}},create(m){function h(S){S=d.skipChainExpression(S);if("CallExpression"!==
S.type)return!1;S=d.skipChainExpression(S.callee);return"MemberExpression"===S.type&&"FunctionExpression"===S.object.type&&["call","apply"].includes(d.getStaticPropertyName(S))}function k(S){if("JSXElement"===S.type||"JSXFragment"===S.type){const ma=S.loc.start.line===S.loc.end.line;switch(X){case "all":return!1;case "multi-line":return ma;case "single-line":return!ma}}return"SequenceExpression"===S.type&&ka||h(S)&&qa?!1:R||"FunctionExpression"===S.type||"ArrowFunctionExpression"===S.type}function p(S){return k(S)&&
b(1,S,y)}function l(S){return k(S)&&b(2,S,y)}function g(S,ma){return k(S)&&b(1,S,y)&&(K(S)>=ma||b(2,S,y))?!0:!1}function f(S){return Z&&"AssignmentExpression"===S.test.type}function n(S){const ma=y.getLastToken(S),ya=y.getTokenBefore(ma);return 0<S.arguments.length||d.isOpeningParenToken(ya)&&d.isClosingParenToken(ma)&&S.callee.range[1]<S.range[1]}function e(S){return"AssignmentExpression"===S.type||"ConditionalExpression"===S.type&&("AssignmentExpression"===S.consequent.type||"AssignmentExpression"===
S.alternate.type)||S.left&&"AssignmentExpression"===S.left.type||S.right&&"AssignmentExpression"===S.right.type?!0:!1}function q(S){var ma;if(!(ma=!xa)){a:{for(ma=S;ma;ma=ma.parent)if("ReturnStatement"===ma.type||"ArrowFunctionExpression"===ma.type&&"BlockStatement"!==ma.body.type){ma=!0;break a}ma=!1}ma=!ma}return ma?!1:"ReturnStatement"===S.type?S.argument&&e(S.argument):"ArrowFunctionExpression"===S.type&&"BlockStatement"!==S.body.type?e(S.body):e(S)}function t(S,ma){return S.loc.end.line===ma.loc.start.line?
p(ma):l(ma)}function r(S){S=y.getTokenBefore(S);const ma=y.getTokenBefore(S,{includeComments:!0}),ya=y.getTokenAfter(S,{includeComments:!0});return ma&&ma.range[1]===S.range[0]&&S.range[1]===ya.range[0]&&!d.canTokensBeAdjacent(ma,ya)}function v(S){var ma=y.getTokensAfter(S,{count:2});const ya=ma[0];ma=ma[1];S=y.getLastToken(S);return ya&&ma&&!y.isSpaceBetweenTokens(ya,ma)&&!d.canTokensBeAdjacent(S,ma)}function z(S){S=d.skipChainExpression(S);return"CallExpression"===S.type&&"FunctionExpression"===
S.callee.type}function E(S){return S&&("Identifier"===S.type||"MemberExpression"===S.type)}function A(S){function ma(){m.report({node:S,loc:ya.loc,messageId:"unexpected",fix(Ha){const ab=y.text.slice(ya.range[1],Ga.range[0]);return Ha.replaceTextRange([ya.range[0],Ga.range[1]],(r(S)?" ":"")+ab+(v(S)?" ":""))}})}const ya=y.getTokenBefore(S),Ga=y.getTokenAfter(S);if(b(2,S,y)||!(G.has(y.getFirstToken(S))||z(S)&&!b(1,S.callee,y)))pa?pa.reports.push({node:S,finishReport:ma}):ma()}function D(S){g(S.argument,
K(S))&&A(S.argument)}function F(S){let ma=S.object;for(S=S.object.type;"MemberExpression"===S;)ma=ma.object,S=ma.type;return"CallExpression"===S}function C(S){const ma=S.callee;g(ma,K(S))&&(l(ma)||!(z(S)||"NewExpression"===ma.type&&!n(ma)&&("NewExpression"!==S.type||n(S))||"NewExpression"===S.type&&"MemberExpression"===ma.type&&F(ma)||!S.optional&&"ChainExpression"===ma.type))&&A(S.callee);S.arguments.filter(ya=>g(ya,va)).forEach(A)}function B(S){const ma=K(S),ya=K(S.left),Ga=K(S.right),Ha="**"===
S.operator,ab=aa&&("BinaryExpression"===S.right.type||"LogicalExpression"===S.right.type);(!aa||"BinaryExpression"!==S.left.type&&"LogicalExpression"!==S.left.type)&&p(S.left)&&(!(["AwaitExpression","UnaryExpression"].includes(S.left.type)&&Ha||d.isMixedLogicalAndCoalesceExpressions(S.left,S))&&(ya>ma||ya===ma&&!Ha)||b(2,S.left,y))&&A(S.left);!ab&&p(S.right)&&(!d.isMixedLogicalAndCoalesceExpressions(S.right,S)&&(Ga>ma||Ga===ma&&Ha)||b(2,S.right,y))&&A(S.right)}function I(S){S.superClass&&(K(S.superClass)>
U?p(S.superClass):l(S.superClass))&&A(S.superClass)}function J(S){g(S.argument,va)&&A(S.argument)}function M(S){const ma=b(1,S,y)?y.getTokenBefore(S):y.getFirstToken(S),ya=y.getTokenAfter(ma,d.isNotOpeningParenToken),Ga=ya?y.getTokenAfter(ya):null,Ha=ya?y.getTokenAfter(ya,d.isNotClosingParenToken):null;d.isOpeningParenToken(ma)&&(d.isOpeningBraceToken(ya)||"Keyword"===ya.type&&("function"===ya.value||"class"===ya.value||"let"===ya.value&&Ha&&(d.isOpeningBracketToken(Ha)||"Identifier"===Ha.type))||
ya&&"Identifier"===ya.type&&"async"===ya.value&&Ga&&"Keyword"===Ga.type&&"function"===Ga.value)&&G.add(ya);("ExportDefaultDeclaration"===S.parent.type?g(S,va):p(S))&&A(S)}function P(S,ma){switch(S.type){case "ArrayExpression":case "ArrayPattern":case "BlockStatement":case "ObjectExpression":case "ObjectPattern":case "TemplateLiteral":return!0;case "ArrowFunctionExpression":case "FunctionExpression":return S.params.includes(ma);case "CallExpression":case "NewExpression":return S.arguments.includes(ma);
case "MemberExpression":return S.computed&&S.property===ma;case "ConditionalExpression":return S.consequent===ma;default:return!1}}function O(){const {upper:S,inExpressionNodes:ma,reports:ya}=pa;S?(S.inExpressionNodes.push(...ma),S.reports.push(...ya)):ya.forEach(({finishReport:Ga})=>Ga());pa=S}function N(S){return pa.reports.some(ma=>ma.node===S)}function L(S){pa.reports=pa.reports.filter(ma=>ma.node!==S)}function x(S){return"MemberExpression"===S.type?"NewExpression"===S.parent.type&&S.parent.callee===
S?!0:S.parent.object===S&&x(S.parent):!1}const y=m.getSourceCode(),G=new WeakSet,K=d.getPrecedence,R="functions"!==m.options[0],Z=R&&m.options[1]&&!1===m.options[1].conditionalAssign,aa=R&&m.options[1]&&!1===m.options[1].nestedBinaryExpressions,xa=R&&m.options[1]&&!1===m.options[1].returnAssign,X=R&&m.options[1]&&m.options[1].ignoreJSX,wa=R&&m.options[1]&&!1===m.options[1].enforceForArrowConditionals,ka=R&&m.options[1]&&!1===m.options[1].enforceForSequenceExpressions,ra=R&&m.options[1]&&!1===m.options[1].enforceForNewInMemberExpressions,
qa=R&&m.options[1]&&!1===m.options[1].enforceForFunctionPrototypeMethods,va=K({type:"AssignmentExpression"}),U=K({type:"UpdateExpression"});let pa;return{ArrayExpression(S){S.elements.filter(ma=>ma&&g(ma,va)).forEach(A)},ArrayPattern(S){S.elements.filter(ma=>E(ma)&&p(ma)).forEach(A)},ArrowFunctionExpression(S){if(!(q(S)||"ConditionalExpression"===S.body.type&&wa||"BlockStatement"===S.body.type)){const ma=y.getFirstToken(S.body,d.isNotOpeningParenToken),ya=y.getTokenBefore(ma);d.isOpeningParenToken(ya)&&
d.isOpeningBraceToken(ma)&&G.add(ma);g(S.body,va)&&A(S.body)}},AssignmentExpression(S){E(S.left)&&p(S.left)&&A(S.left);!q(S)&&g(S.right,K(S))&&A(S.right)},BinaryExpression(S){pa&&"in"===S.operator&&pa.inExpressionNodes.push(S);B(S)},CallExpression:C,ConditionalExpression(S){q(S)||(!f(S)&&g(S.test,K({type:"LogicalExpression",operator:"||"}))&&A(S.test),g(S.consequent,va)&&A(S.consequent),g(S.alternate,va)&&A(S.alternate))},DoWhileStatement(S){p(S.test)&&!f(S)&&A(S.test)},ExportDefaultDeclaration:S=>
M(S.declaration),ExpressionStatement:S=>M(S.expression),ForInStatement(S){if("VariableDeclaration"!==S.left.type){const ma=y.getFirstToken(S.left,d.isNotOpeningParenToken);"let"===ma.value&&d.isOpeningBracketToken(y.getTokenAfter(ma,d.isNotClosingParenToken))&&G.add(ma)}p(S.left)&&A(S.left);p(S.right)&&A(S.right)},ForOfStatement(S){if("VariableDeclaration"!==S.left.type){const ma=y.getFirstToken(S.left,d.isNotOpeningParenToken);"let"===ma.value&&G.add(ma)}p(S.left)&&A(S.left);g(S.right,va)&&A(S.right)},
ForStatement(S){S.test&&p(S.test)&&!f(S)&&A(S.test);S.update&&p(S.update)&&A(S.update);if(S.init){if("VariableDeclaration"!==S.init.type){const ma=y.getFirstToken(S.init,d.isNotOpeningParenToken);"let"===ma.value&&d.isOpeningBracketToken(y.getTokenAfter(ma,d.isNotClosingParenToken))&&G.add(ma)}pa={upper:pa,inExpressionNodes:[],reports:[]};p(S.init)&&A(S.init)}},["ForStatement > *.init:exit"](S){pa.reports.length&&pa.inExpressionNodes.forEach(ma=>{var ya;for(ya=[ma];ma!==S;){ma=ma.parent;if(null===
ma)throw Error("Nodes are not in the ancestor-descendant relationship.");ya.push(ma)}ya=ya.reverse();let Ga;for(ma=0;ma<ya.length;ma++){const Ha=ya[ma];if(ma<ya.length-1&&P(Ha,ya[ma+1]))return;if(b(1,Ha,y))if(N(Ha)){if(b(2,Ha,y))return;Ga||(Ga=Ha)}else return}L(Ga)});O()},IfStatement(S){p(S.test)&&!f(S)&&A(S.test)},ImportExpression(S){({source:S}=S);"SequenceExpression"===S.type?l(S)&&A(S):p(S)&&A(S)},LogicalExpression:B,MemberExpression(S){const ma=x(S)&&F(S)?l(S.object):p(S.object)&&!(h(S.parent)&&
S.parent.callee===S&&qa);ma&&K(S.object)>=K(S)&&(S.computed||!(d.isDecimalInteger(S.object)||"Literal"===S.object.type&&S.object.regex))&&A(S.object);ma&&"CallExpression"===S.object.type&&A(S.object);ma&&!ra&&"NewExpression"===S.object.type&&n(S.object)&&A(S.object);ma&&S.optional&&"ChainExpression"===S.object.type&&A(S.object);S.computed&&p(S.property)&&A(S.property)},["MethodDefinition[computed=true]"](S){g(S.key,va)&&A(S.key)},NewExpression:C,ObjectExpression(S){S.properties.filter(ma=>ma.value&&
g(ma.value,va)).forEach(ma=>A(ma.value))},ObjectPattern(S){S.properties.filter(ma=>{ma=ma.value;return E(ma)&&p(ma)}).forEach(ma=>A(ma.value))},Property(S){S.computed&&({key:S}=S,S&&g(S,va)&&A(S))},PropertyDefinition(S){S.computed&&g(S.key,va)&&A(S.key);S.value&&g(S.value,va)&&A(S.value)},RestElement(S){S=S.argument;E(S)&&p(S)&&A(S)},ReturnStatement(S){const ma=y.getFirstToken(S);q(S)||!S.argument||!t(ma,S.argument)||"Literal"===S.argument.type&&S.argument.regex||A(S.argument)},SequenceExpression(S){const ma=
K(S);S.expressions.filter(ya=>g(ya,ma)).forEach(A)},SwitchCase(S){S.test&&p(S.test)&&A(S.test)},SwitchStatement(S){p(S.discriminant)&&A(S.discriminant)},ThrowStatement(S){const ma=y.getFirstToken(S);t(ma,S.argument)&&A(S.argument)},UnaryExpression:D,UpdateExpression(S){if(S.prefix)D(S);else{const {argument:ma}=S,ya=y.getLastToken(S);ma.loc.end.line===ya.loc.start.line?D(S):l(ma)&&A(ma)}},AwaitExpression:D,VariableDeclarator(S){!S.init||!g(S.init,va)||"Literal"===S.init.type&&S.init.regex||A(S.init)},
WhileStatement(S){p(S.test)&&!f(S)&&A(S.test)},WithStatement(S){p(S.object)&&A(S.object)},YieldExpression(S){if(S.argument){const ma=y.getFirstToken(S);(K(S.argument)>=K(S)&&t(ma,S.argument)||l(S.argument))&&A(S.argument)}},ClassDeclaration:I,ClassExpression:I,SpreadElement:J,SpreadProperty:J,ExperimentalSpreadProperty:J,TemplateLiteral(S){S.expressions.filter(ma=>ma&&p(ma)).forEach(A)},AssignmentPattern(S){const {left:ma,right:ya}=S;E(ma)&&p(ma)&&A(ma);ya&&g(ya,va)&&A(ya)}}}}},(u,c,a)=>{const b=
a(685),d=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow unnecessary semicolons",recommended:!0,url:"https://eslint.org/docs/rules/no-extra-semi"},fixable:"code",schema:[],messages:{unexpected:"Unnecessary semicolon."}},create(m){function h(l){m.report({node:l,messageId:"unexpected",fix(g){return(new b(g,m.getSourceCode())).retainSurroundingTokens(l).remove(l)}})}function k(l){for(;"Punctuator"===l.type&&!d.isClosingBraceToken(l);l=p.getTokenAfter(l))d.isSemicolonToken(l)&&h(l)}
const p=m.getSourceCode();return{EmptyStatement(l){-1==="ForStatement ForInStatement ForOfStatement WhileStatement DoWhileStatement IfStatement LabeledStatement WithStatement".split(" ").indexOf(l.parent.type)&&h(l)},ClassBody(l){k(p.getFirstToken(l,1))},["MethodDefinition, PropertyDefinition"](l){k(p.getTokenAfter(l))}}}}},u=>{function c(b){return b.reachable}const a=/falls?\s?through/iu;u.exports={meta:{type:"problem",docs:{description:"disallow fallthrough of `case` statements",recommended:!0,
url:"https://eslint.org/docs/rules/no-fallthrough"},schema:[{type:"object",properties:{commentPattern:{type:"string",default:""}},additionalProperties:!1}],messages:{case:"Expected a 'break' statement before 'case'.",default:"Expected a 'break' statement before 'default'."}},create(b){const d=b.options[0]||{};let m=null;const h=b.getSourceCode();let k=null,p=null;p=d.commentPattern?new RegExp(d.commentPattern,"u"):a;return{onCodePathStart(l){m=l},onCodePathEnd(){m=m.upper},SwitchCase(l){var g;if(g=
k){a:{var f=k;g=p;var n=b.getSourceCode();if(1===f.consequent.length&&"BlockStatement"===f.consequent[0].type&&(f=n.getLastToken(f.consequent[0]),(f=n.getCommentsBefore(f).pop())&&g.test(f.value))){g=!0;break a}n=n.getCommentsBefore(l).pop();g=!(!n||!g.test(n.value))}g=!g}g&&b.report({messageId:l.test?"case":"default",node:l});k=null},["SwitchCase:exit"](l){const g=h.getTokenAfter(l);m.currentSegments.some(c)&&(0<l.consequent.length||g.loc.start.line>l.loc.end.line+1)&&l.parent.cases[l.parent.cases.length-
1]!==l&&(k=l)}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow leading or trailing decimal points in numeric literals",recommended:!1,url:"https://eslint.org/docs/rules/no-floating-decimal"},schema:[],fixable:"code",messages:{leading:"A leading decimal point can be confused with a dot.",trailing:"A trailing decimal point can be confused with a dot."}},create(d){const m=d.getSourceCode();return{Literal(h){"number"===typeof h.value&&(h.raw.startsWith(".")&&
d.report({node:h,messageId:"leading",fix(k){var p=m.getTokenBefore(h);p=p&&p.range[1]===h.range[0]&&!b.canTokensBeAdjacent(p,"0".concat(h.raw));return k.insertTextBefore(h,p?" 0":"0")}}),h.raw.indexOf(".")===h.raw.length-1&&d.report({node:h,messageId:"trailing",fix:k=>k.insertTextAfter(h,"0")}))}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"problem",docs:{description:"disallow reassigning `function` declarations",recommended:!0,url:"https://eslint.org/docs/rules/no-func-assign"},schema:[],
messages:{isAFunction:"'{{name}}' is a function."}},create(d){function m(p){b.getModifyingReferences(p).forEach(l=>{d.report({node:l.identifier,messageId:"isAFunction",data:{name:l.identifier.name}})})}function h(p){"FunctionName"===p.defs[0].type&&m(p.references)}function k(p){d.getDeclaredVariables(p).forEach(h)}return{FunctionDeclaration:k,FunctionExpression:k}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow assignments to native objects or read-only global variables",recommended:!0,
url:"https://eslint.org/docs/rules/no-global-assign"},schema:[{type:"object",properties:{exceptions:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}],messages:{globalShouldNotBeModified:"Read-only global '{{name}}' should not be modified."}},create(c){function a(h,k,p){const l=h.identifier;!1!==h.init||!h.isWrite()||0!==k&&p[k-1].identifier===l||c.report({node:l,messageId:"globalShouldNotBeModified",data:{name:l.name}})}function b(h){!1===h.writeable&&-1===m.indexOf(h.name)&&
h.references.forEach(a)}const d=c.options[0],m=d&&d.exceptions||[];return{Program(){c.getScope().variables.forEach(b)}}}}},(u,c,a)=>{function b(g){return{boolean:"boolean"in g?g.boolean:!0,number:"number"in g?g.number:!0,string:"string"in g?g.string:!0,disallowTemplateShorthand:"disallowTemplateShorthand"in g?g.disallowTemplateShorthand:!1,allow:g.allow||[]}}function d(g){return"Literal"===g.type&&"number"===typeof g.value||"CallExpression"===g.type&&("Number"===g.callee.name||"parseInt"===g.callee.name||
"parseFloat"===g.callee.name)}function m(g){return p.isStringLiteral(g)||"CallExpression"===g.type&&"Identifier"===g.callee.type&&"String"===g.callee.name}function h(g){return p.isStringLiteral(g)&&(""===g.value||"TemplateLiteral"===g.type&&1===g.quasis.length&&""===g.quasis[0].value.cooked)}function k(g){return h(g.left)?g.right:g.left}const p=a(571),l=/^(?:i|lastI)ndexOf$/u;u.exports={meta:{type:"suggestion",docs:{description:"disallow shorthand type conversions",recommended:!1,url:"https://eslint.org/docs/rules/no-implicit-coercion"},
fixable:"code",schema:[{type:"object",properties:{boolean:{type:"boolean",default:!0},number:{type:"boolean",default:!0},string:{type:"boolean",default:!0},disallowTemplateShorthand:{type:"boolean",default:!1},allow:{type:"array",items:{enum:["~","!!","+","*"]},uniqueItems:!0}},additionalProperties:!1}],messages:{useRecommendation:"use `{{recommendation}}` instead."}},create(g){function f(q,t,r){g.report({node:q,messageId:"useRecommendation",data:{recommendation:t},fix(v){if(!r)return null;const z=
e.getTokenBefore(q);return z&&z.range[1]===q.range[0]&&!p.canTokensBeAdjacent(z,t)?v.replaceText(q," ".concat(t)):v.replaceText(q,t)}})}const n=b(g.options[0]||{}),e=g.getSourceCode();return{UnaryExpression(q){var t=0<=n.allow.indexOf("!!");!t&&n.boolean&&"!"===q.operator&&"UnaryExpression"===q.argument.type&&"!"===q.argument.operator&&(t="Boolean(".concat(e.getText(q.argument.argument),")"),f(q,t,!0));t=0<=n.allow.indexOf("~");if(t=!t&&n.boolean)"~"!==q.operator?t=!1:(t=p.skipChainExpression(q.argument),
t="CallExpression"===t.type&&p.isSpecificMemberAccess(t.callee,null,l));t&&(t="ChainExpression"===q.argument.type?">= 0":"!== -1",t="".concat(e.getText(q.argument)," ").concat(t),f(q,t,!1));t=0<=n.allow.indexOf("+");t||!n.number||"+"!==q.operator||d(q.argument)||(t="Number(".concat(e.getText(q.argument),")"),f(q,t,!0))},["BinaryExpression:exit"](q){var t=0<=n.allow.indexOf("*");if(t=!t&&n.number&&"*"===q.operator&&("Literal"===q.left.type&&1===q.left.value||"Literal"===q.right.type&&1===q.right.value)){{t=
q.left;const r=q.right;t="BinaryExpression"===r.type||d(r)?"BinaryExpression"===t.type||d(t)?null:t:r}}t&&(t="Number(".concat(e.getText(t),")"),f(q,t,!0));t=0<=n.allow.indexOf("+");if(t=!t&&n.string)t="+"===q.operator&&(h(q.left)&&!m(q.right)||h(q.right)&&!m(q.left));t&&(t="String(".concat(e.getText(k(q)),")"),f(q,t,!0))},AssignmentExpression(q){if(!(0<=n.allow.indexOf("+"))&&n.string&&"+="===q.operator&&h(q.right)){var t=e.getText(k(q));t="".concat(t," = String(").concat(t,")");f(q,t,!0)}},TemplateLiteral(q){if(n.disallowTemplateShorthand&&
"TaggedTemplateExpression"!==q.parent.type&&1===q.expressions.length&&""===q.quasis[0].value.cooked&&""===q.quasis[1].value.cooked&&!m(q.expressions[0])){var t=e.getText(q.expressions[0]);t="String(".concat(t,")");f(q,t,!0)}}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow declarations in the global scope",recommended:!1,url:"https://eslint.org/docs/rules/no-implicit-globals"},schema:[{type:"object",properties:{lexicalBindings:{type:"boolean",default:!1}},additionalProperties:!1}],
messages:{globalNonLexicalBinding:"Unexpected {{kind}} declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.",globalLexicalBinding:"Unexpected {{kind}} declaration in the global scope, wrap in a block or in an IIFE.",globalVariableLeak:"Global variable leak, declare the variable if it is intended to be local.",assignmentToReadonlyGlobal:"Unexpected assignment to read-only global variable.",redeclarationOfReadonlyGlobal:"Unexpected redeclaration of read-only global variable."}},
create(c){function a(d,m,h){c.report({node:d,messageId:m,data:{kind:h}})}const b=c.options[0]&&!0===c.options[0].lexicalBindings;return{Program(){const d=c.getScope();d.variables.forEach(m=>{const h=!1===m.writeable;!0!==m.writeable&&m.defs.forEach(k=>{const p=k.node;if("FunctionName"===k.type||"Variable"===k.type&&"var"===k.parent.kind)h?a(p,"redeclarationOfReadonlyGlobal"):a(p,"globalNonLexicalBinding","FunctionName"===k.type?"function":"'".concat(k.parent.kind,"'"));!b||"ClassName"!==k.type&&("Variable"!==
k.type||"let"!==k.parent.kind&&"const"!==k.parent.kind)||(h?a(p,"redeclarationOfReadonlyGlobal"):a(p,"globalLexicalBinding","ClassName"===k.type?"class":"'".concat(k.parent.kind,"'")))})});d.implicit.variables.forEach(m=>{const h=d.set.get(m.name);let k;if(h){if(h.writeable)return;k="assignmentToReadonlyGlobal"}else k="globalVariableLeak";m.defs.forEach(p=>{a(p.node,k)})})}}}}},(u,c,a)=>{const b=a(571),{getStaticValue:d}=a(524);u.exports={meta:{type:"suggestion",docs:{description:"disallow the use of `eval()`-like methods",
recommended:!1,url:"https://eslint.org/docs/rules/no-implied-eval"},schema:[],messages:{impliedEval:"Implied eval. Consider passing a function instead of a string."}},create(m){function h(f){return"Literal"===f.type&&"string"===typeof f.value||"TemplateLiteral"===f.type?!0:"BinaryExpression"===f.type&&"+"===f.operator?h(f.left)||h(f.right):!1}function k(f){const [n]=f.arguments;if(n){const e=d(n,m.getScope());(e&&"string"===typeof e.value||h(n))&&m.report({node:f,messageId:"impliedEval"})}}function p(f){const {references:n,
name:e}=f;n.forEach(q=>{for(q=q.identifier.parent;b.isSpecificMemberAccess(q,null,e);)q=q.parent;if(b.isSpecificMemberAccess(q,null,g)){q="ChainExpression"===q.parent.type?q.parent:q;const t=q.parent;"CallExpression"===t.type&&t.callee===q&&k(t)}})}const l=Object.freeze(["global","window","globalThis"]),g=/^(?:set(?:Interval|Timeout)|execScript)$/u;return{CallExpression(f){b.isSpecificId(f.callee,g)&&k(f)},["Program:exit"](){const f=m.getScope();l.map(n=>b.getVariableByName(f,n)).filter(n=>!!n&&0===
n.defs.length).forEach(p)}}}}},(u,c,a)=>{function b(p,l){var {parent:g}=p,f;if(f="MemberExpression"===g.type&&g.object===p){({parent:f}=g);f="AssignmentExpression"===f.type&&f.left===g||"ArrayPattern"===f.type||"Property"===f.type&&f.value===g&&"ObjectPattern"===f.parent.type||"RestElement"===f.type||"AssignmentPattern"===f.type&&f.left===g;if(!f){{f="ChainExpression"===g.parent.type?g.parent:g;const {parent:n}=f;f="UpdateExpression"===n.type&&n.argument===f||"UnaryExpression"===n.type&&"delete"===
n.operator&&n.argument===f}}f||({parent:f}=g,f="ForInStatement"===f.type&&f.left===g||"ForOfStatement"===f.type&&f.left===g)}(g=f)||({parent:g}=p,"CallExpression"!==g.type||g.arguments[0]!==p?g=!1:(p=h.skipChainExpression(g.callee),h.isSpecificMemberAccess(p,"Object",k.Object)||h.isSpecificMemberAccess(p,"Reflect",k.Reflect)?(l=m(l,p.object),g=null!==l&&"global"===l.scope.type):g=!1));return g}function d(p){let l=p.parent;for(;l&&"AssignmentExpression"!==l.type&&"UpdateExpression"!==l.type&&"UnaryExpression"!==
l.type&&"CallExpression"!==l.type&&"ForInStatement"!==l.type&&"ForOfStatement"!==l.type;)l=l.parent;return l||p}const {findVariable:m}=a(524),h=a(571),k={Object:/^(?:assign|definePropert(?:y|ies)|freeze|setPrototypeOf)$/u,Reflect:/^(?:(?:define|delete)Property|set(?:PrototypeOf)?)$/u};u.exports={meta:{type:"problem",docs:{description:"disallow assigning to imported bindings",recommended:!0,url:"https://eslint.org/docs/rules/no-import-assign"},schema:[],messages:{readonly:"'{{name}}' is read-only.",
readonlyMember:"The members of '{{name}}' are read-only."}},create(p){return{ImportDeclaration(l){const g=p.getScope();for(const f of p.getDeclaredVariables(l)){l=f.defs.some(e=>"ImportNamespaceSpecifier"===e.node.type);let n=null;for(const e of f.references){const q=e.identifier;q!==n&&(n=q,e.isWrite()?p.report({node:d(q),messageId:"readonly",data:{name:q.name}}):l&&b(q,g)&&p.report({node:d(q),messageId:"readonlyMember",data:{name:q.name}}))}}}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",
docs:{description:"disallow inline comments after code",recommended:!1,url:"https://eslint.org/docs/rules/no-inline-comments"},schema:[{type:"object",properties:{ignorePattern:{type:"string"}},additionalProperties:!1}],messages:{unexpectedInlineComment:"Unexpected comment inline with code."}},create(d){function m(l){var g=String(h.lines[l.loc.end.line-1]),f=String(h.lines[l.loc.start.line-1]).slice(0,l.loc.start.column).trim();g=g.slice(l.loc.end.column).trim();const n=!f,e=!g;if(!n||!e)if(!p||!p.test(l.value)){if((n||
"{"===f)&&(e||"}"===g)&&(f=h.getNodeByRangeIndex(l.range[0]))&&"JSXEmptyExpression"===f.type)return;b.isDirectiveComment(l)||d.report({node:l,messageId:"unexpectedInlineComment"})}}const h=d.getSourceCode(),k=d.options[0];let p;k&&k.ignorePattern&&(p=new RegExp(k.ignorePattern,"u"));return{Program(){h.getAllComments().filter(l=>"Shebang"!==l.type).forEach(m)}}}}},(u,c,a)=>{const b=a(571),d=new Set(["Program","ExportNamedDeclaration","ExportDefaultDeclaration"]),m=new Set(["FunctionDeclaration","FunctionExpression",
"ArrowFunctionExpression"]);u.exports={meta:{type:"problem",docs:{description:"disallow variable or `function` declarations in nested blocks",recommended:!0,url:"https://eslint.org/docs/rules/no-inner-declarations"},schema:[{enum:["functions","both"]}],messages:{moveDeclToRoot:"Move {{type}} declaration to {{body}} root."}},create(h){function k(p){var l=p.parent;"BlockStatement"===l.type&&m.has(l.parent.type)||d.has(l.type)||(l=b.getUpperFunction(l),h.report({node:p,messageId:"moveDeclToRoot",data:{type:"FunctionDeclaration"===
p.type?"function":"variable",body:null===l?"program":"function body"}}))}return{FunctionDeclaration:k,VariableDeclaration(p){"both"===h.options[0]&&"var"===p.kind&&k(p)}}}}},(u,c,a)=>{const b=new (a(674).RegExpValidator),d=/[dgimsuy]/gu;u.exports={meta:{type:"problem",docs:{description:"disallow invalid regular expression strings in `RegExp` constructors",recommended:!0,url:"https://eslint.org/docs/rules/no-invalid-regexp"},schema:[{type:"object",properties:{allowConstructorFlags:{type:"array",items:{type:"string"}}},
additionalProperties:!1}],messages:{regexMessage:"{{message}}."}},create(m){function h(g){return g&&"Literal"===g.type&&"string"===typeof g.value}function k(g,f){try{return b.validatePattern(g,void 0,void 0,f),null}catch(n){return n.message}}var p=m.options[0];let l=null;p&&p.allowConstructorFlags&&(p=p.allowConstructorFlags.join("").replace(d,""))&&(l=new RegExp("[".concat(p,"]"),"giu"));return{["CallExpression, NewExpression"](g){if("Identifier"===g.callee.type&&"RegExp"===g.callee.name&&h(g.arguments[0])){var f=
g.arguments[0].value;var n=2>g.arguments.length?"":h(g.arguments[1])?g.arguments[1].value:null;n&&l&&(n=n.replace(l,""));var e;if(e=n){var q=n;try{b.validateFlags(q),e=null}catch(t){e="Invalid flags supplied to RegExp constructor '".concat(q,"'")}}(f=e||(null===n?k(f,!0)&&k(f,!1):k(f,n.includes("u"))))&&m.report({node:g,messageId:"regexMessage",data:{message:f}})}}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow `this` keywords outside of classes or class-like objects",
recommended:!1,url:"https://eslint.org/docs/rules/no-invalid-this"},schema:[{type:"object",properties:{capIsConstructor:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{unexpectedThis:"Unexpected 'this'."}},create(d){function m(g){p.push({init:!d.getScope().isStrict,node:g,valid:!0})}function h(){p.pop()}const k=!1!==(d.options[0]||{}).capIsConstructor,p=[],l=d.getSourceCode();p.getCurrent=function(){const g=this[this.length-1];g.init||(g.init=!0,g.valid=!b.isDefaultThisBinding(g.node,
l,{capIsConstructor:k}));return g};return{Program(g){const f=d.getScope(),n=d.parserOptions.ecmaFeatures||{};p.push({init:!0,node:g,valid:!(f.isStrict||"module"===g.sourceType||n.globalReturn&&f.childScopes[0].isStrict)})},["Program:exit"](){p.pop()},FunctionDeclaration:m,"FunctionDeclaration:exit":h,FunctionExpression:m,"FunctionExpression:exit":h,"PropertyDefinition > *.value":m,"PropertyDefinition > *.value:exit":h,ThisExpression(g){const f=p.getCurrent();f&&!f.valid&&d.report({node:g,messageId:"unexpectedThis"})}}}}},
(u,c,a)=>{const b=/[\f\v\u0085\ufeff\u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u200b\u202f\u205f\u3000\u2028\u2029]/u,d=/[\f\v\u0085\ufeff\u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u200b\u202f\u205f\u3000]+/mgu,m=/[\u2028\u2029]/mgu,h=a(571).createGlobalLinebreakMatcher();u.exports={meta:{type:"problem",docs:{description:"disallow irregular whitespace",recommended:!0,url:"https://eslint.org/docs/rules/no-irregular-whitespace"},
schema:[{type:"object",properties:{skipComments:{type:"boolean",default:!1},skipStrings:{type:"boolean",default:!0},skipTemplates:{type:"boolean",default:!1},skipRegExps:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{noIrregularWhitespace:"Irregular whitespace not allowed."}},create(k){function p(F){const C=F.loc.start,B=F.loc.end;q=q.filter(({loc:{start:I}})=>I.line<C.line||I.line===C.line&&I.column<C.column||I.line===B.line&&I.column>=B.column||I.line>B.line)}function l(F){const C=
z&&!!F.regex;(v&&"string"===typeof F.value||C)&&b.test(F.raw)&&p(F)}function g(F){"string"===typeof F.value.raw&&b.test(F.value.raw)&&p(F)}function f(F){b.test(F.value)&&p(F)}function n(F){E.lines.forEach((C,B)=>{B+=1;let I;for(;null!==(I=d.exec(C));)q.push({node:F,messageId:"noIrregularWhitespace",loc:{start:{line:B,column:I.index},end:{line:B,column:I.index+I[0].length}}})})}function e(){}let q=[];var t=k.options[0]||{};const r=!!t.skipComments,v=!1!==t.skipStrings,z=!!t.skipRegExps;t=!!t.skipTemplates;
const E=k.getSourceCode(),A=E.getAllComments(),D={};b.test(E.getText())?(D.Program=function(F){n(F);{const B=E.getText(),I=E.lines,J=B.match(h);var C=-1;let M;for(;null!==(M=m.exec(B));)C=J.indexOf(M[0],C+1)||0,q.push({node:F,messageId:"noIrregularWhitespace",loc:{start:{line:C+1,column:I[C].length},end:{line:C+2,column:0}}})}},D.Identifier=l,D.Literal=l,D.TemplateElement=t?g:e,D["Program:exit"]=function(){r&&A.forEach(f);q.forEach(F=>k.report(F))}):D.Program=e;return D}}},(u,c,a)=>{const {getStaticPropertyName:b}=
a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow the use of the `__iterator__` property",recommended:!1,url:"https://eslint.org/docs/rules/no-iterator"},schema:[],messages:{noIterator:"Reserved name '__iterator__'."}},create(d){return{MemberExpression(m){"__iterator__"===b(m)&&d.report({node:m,messageId:"noIterator"})}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow labels that share a name with a variable",recommended:!1,url:"https://eslint.org/docs/rules/no-label-var"},
schema:[],messages:{identifierClashWithLabel:"Found identifier with same name as label."}},create(d){return{LabeledStatement(m){const h=d.getScope();null!==b.getVariableByName(h,m.label.name)&&d.report({node:m,messageId:"identifierClashWithLabel"})}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow labeled statements",recommended:!1,url:"https://eslint.org/docs/rules/no-labels"},schema:[{type:"object",properties:{allowLoop:{type:"boolean",default:!1},allowSwitch:{type:"boolean",
default:!1}},additionalProperties:!1}],messages:{unexpectedLabel:"Unexpected labeled statement.",unexpectedLabelInBreak:"Unexpected label in break statement.",unexpectedLabelInContinue:"Unexpected label in continue statement."}},create(d){function m(f){switch(f){case "loop":return p;case "switch":return l;default:return!1}}function h(f){let n=g;for(;n;){if(n.label===f)return n.kind;n=n.upper}return"other"}const k=d.options[0],p=k&&k.allowLoop,l=k&&k.allowSwitch;let g=null;return{LabeledStatement(f){var n=
f.label.name;f=f.body;f=b.isLoop(f)?"loop":"SwitchStatement"===f.type?"switch":"other";g={label:n,kind:f,upper:g}},["LabeledStatement:exit"](f){m(g.kind)||d.report({node:f,messageId:"unexpectedLabel"});g=g.upper},BreakStatement(f){f.label&&!m(h(f.label.name))&&d.report({node:f,messageId:"unexpectedLabelInBreak"})},ContinueStatement(f){f.label&&!m(h(f.label.name))&&d.report({node:f,messageId:"unexpectedLabelInContinue"})}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow unnecessary nested blocks",
recommended:!1,url:"https://eslint.org/docs/rules/no-lone-blocks"},schema:[],messages:{redundantBlock:"Block is redundant.",redundantNestedBlock:"Nested block is redundant."}},create(c){function a(k){c.report({node:k,messageId:"BlockStatement"===k.parent.type?"redundantNestedBlock":"redundantBlock"})}function b(k){return"BlockStatement"===k.parent.type||"Program"===k.parent.type||"SwitchCase"===k.parent.type&&!(k.parent.consequent[0]===k&&1===k.parent.consequent.length)}function d(){if(0!==m.length){var k=
c.getAncestors().pop();m[m.length-1]===k&&m.pop()}}const m=[];let h;h={BlockStatement(k){b(k)&&a(k)}};6<=c.parserOptions.ecmaVersion&&(h={BlockStatement(k){b(k)&&m.push(k)},["BlockStatement:exit"](k){0<m.length&&m[m.length-1]===k?(m.pop(),a(k)):"BlockStatement"===k.parent.type&&1===k.parent.body.length&&a(k)},VariableDeclaration:function(k){"let"!==k.kind&&"const"!==k.kind||d()},FunctionDeclaration:function(){c.getScope().isStrict&&d()}},h.ClassDeclaration=d);return h}}},u=>{u.exports={meta:{type:"suggestion",
docs:{description:"disallow `if` statements as the only statement in `else` blocks",recommended:!1,url:"https://eslint.org/docs/rules/no-lonely-if"},schema:[],fixable:"code",messages:{unexpectedLonelyIf:"Unexpected if as the only statement in an else block."}},create(c){const a=c.getSourceCode();return{IfStatement(b){var d=c.getAncestors();const m=d.pop();d=d.pop();m&&"BlockStatement"===m.type&&1===m.body.length&&d&&"IfStatement"===d.type&&m===d.alternate&&c.report({node:b,messageId:"unexpectedLonelyIf",
fix(h){const k=a.getFirstToken(m),p=a.getLastToken(m),l=a.getTokenBefore(k),g=a.getTokenAfter(p),f=a.getLastToken(b.consequent),n=a.getText();return n.slice(k.range[1],b.range[0]).trim()||n.slice(b.range[1],p.range[0]).trim()||"BlockStatement"!==b.consequent.type&&";"!==f.value&&g&&(b.consequent.loc.end.line===g.loc.start.line||/^[([/+`-]/u.test(g.value)||"++"===f.value||"--"===f.value)?null:h.replaceTextRange([k.range[0],p.range[1]],(l.range[1]===k.range[0]?" ":"")+a.getText(b))}})}}}}},u=>{function c(d){for(;d.parent;d=
d.parent){const m=d.parent;switch(m.type){case "WhileStatement":case "DoWhileStatement":return m;case "ForStatement":if(m.init!==d)return m;break;case "ForInStatement":case "ForOfStatement":if(m.right!==d)return m;break;case "ArrowFunctionExpression":case "FunctionExpression":case "FunctionDeclaration":return null}}return null}function a(d,m){m=m?m.range[1]:0;let h=d;for(;d&&d.range[0]>=m;)h=d,d=c(d);return h}function b(d,m){function h(g){const f=g.identifier;return!g.isWrite()||k.scope.variableScope===
g.from.variableScope&&f.range[0]<l}const k=m.resolved,p=(m=(m=k&&k.defs[0])&&m.parent)&&"VariableDeclaration"===m.type?m.kind:"";if("const"===p||"let"===p&&m.range[0]>d.range[0]&&m.range[1]<d.range[1])return!0;const l=a(d,"let"===p?m:null).range[0];return!!k&&k.references.every(h)}u.exports={meta:{type:"suggestion",docs:{description:"disallow function declarations that contain unsafe references inside loop statements",recommended:!1,url:"https://eslint.org/docs/rules/no-loop-func"},schema:[],messages:{unsafeRefs:"Function declared in a loop contains unsafe references to variable(s) {{ varNames }}."}},
create(d){function m(h){const k=c(h);if(k){var p=d.getScope().through.filter(l=>!b(k,l)).map(l=>l.identifier.name);0<p.length&&d.report({node:h,messageId:"unsafeRefs",data:{varNames:"'".concat(p.join("', '"),"'")}})}}return{ArrowFunctionExpression:m,FunctionExpression:m,FunctionDeclaration:m}}}},u=>{u.exports={meta:{type:"problem",docs:{description:"disallow literal numbers that lose precision",recommended:!0,url:"https://eslint.org/docs/rules/no-loss-of-precision"},schema:[],messages:{noLossOfPrecision:"This number literal will lose precision at runtime."}},
create(c){function a(m){return"0x 0X 0b 0B 0o 0O".split(" ").every(h=>!m.raw.startsWith(h))&&!/^0[0-7]+$/u.test(m.raw)}function b(m){return"".concat(m.slice(0,1),".").concat(m.slice(1))}function d(m){var h=m.replace("E","e").split("e"),k=h[0];m.includes(".")?(k=k.replace(/^0*/u,""),k.startsWith(".")?(k=k.split(".").pop(),m=k.replace(/^0*/u,""),k={magnitude:m.length-k.length-1,coefficient:b(m)}):k={magnitude:k.indexOf(".")-1,coefficient:b(k.replace(".",""))}):(m=k.replace(/^0*/u,"").replace(/0*$/u,
""),k={magnitude:k.startsWith("0")?k.length-2:k.length-1,coefficient:b(m)});m=k;k=m.coefficient;h=1<h.length?parseInt(h[1],10)+m.magnitude:m.magnitude;return"".concat(k,"e").concat(h)}return{Literal(m){var h;if(h=m.value&&"number"===typeof m.value)if(a(m)){h=d(m.raw.replace(/_/gu,""));var k=h.split("e")[0].replace(".","").length;100<k?h=!0:(k=m.value.toPrecision(k),k=d(k),h=h!==k)}else h=m.raw.replace(/_/gu,"").toUpperCase(),k=h.startsWith("0B")?2:h.startsWith("0X")?16:8,h=!h.endsWith(m.value.toString(k).toUpperCase());
h&&c.report({messageId:"noLossOfPrecision",node:m})}}}}},(u,c,a)=>{function b(h){return"string"===typeof h?BigInt(h.slice(0,-1)):h}const d=a(571),m=2**32-1;u.exports={meta:{type:"suggestion",docs:{description:"disallow magic numbers",recommended:!1,url:"https://eslint.org/docs/rules/no-magic-numbers"},schema:[{type:"object",properties:{detectObjects:{type:"boolean",default:!1},enforceConst:{type:"boolean",default:!1},ignore:{type:"array",items:{anyOf:[{type:"number"},{type:"string",pattern:"^[+-]?(?:0|[1-9][0-9]*)n$"}]},
uniqueItems:!0},ignoreArrayIndexes:{type:"boolean",default:!1},ignoreDefaultValues:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{useConst:"Number constants declarations must use 'const'.",noMagic:"No magic number: {{raw}}."}},create(h){const k=h.options[0]||{},p=!!k.detectObjects,l=!!k.enforceConst,g=(k.ignore||[]).map(b),f=!!k.ignoreArrayIndexes,n=!!k.ignoreDefaultValues,e=p?[]:["ObjectExpression","Property","AssignmentExpression"];return{Literal(q){if(d.isNumericLiteral(q)){if("UnaryExpression"===
q.parent.type&&"-"===q.parent.operator){var t=q.parent;var r=-q.value;q="-".concat(q.raw)}else t=q,r=q.value,q=q.raw;var v=t.parent,z;!(z=-1!==g.indexOf(r))&&(z=n)&&(z=t.parent,z="AssignmentPattern"===z.type&&z.right===t);z||(z=t.parent,z="CallExpression"===z.type&&t===z.arguments[1]&&(d.isSpecificId(z.callee,"parseInt")||d.isSpecificMemberAccess(z.callee,"Number","parseInt")));!(z=z||0===t.parent.type.indexOf("JSX"))&&(z=f)&&(z=t.parent,z="MemberExpression"===z.type&&z.property===t&&(Number.isInteger(r)||
"bigint"===typeof r)&&0<=r&&r<m);z||("VariableDeclarator"===v.type?l&&"const"!==v.parent.kind&&h.report({node:t,messageId:"useConst"}):(-1===e.indexOf(v.type)||"AssignmentExpression"===v.type&&"Identifier"===v.left.type)&&h.report({node:t,messageId:"noMagic",data:{raw:q}}))}}}}}},(u,c,a)=>{function*b(r){let v=[];for(const z of r)switch(z.type){case "Character":v.push(z.value);break;case "CharacterClassRange":v.push(z.min.value);yield v;v=[z.max.value];break;case "CharacterSet":0<v.length&&(yield v,
v=[])}0<v.length&&(yield v)}const {CALL:d,CONSTRUCT:m,ReferenceTracker:h,getStringIfConstant:k}=a(524),{RegExpParser:p,visitRegExpAST:l}=a(674),{isCombiningCharacter:g,isEmojiModifier:f,isRegionalIndicatorSymbol:n,isSurrogatePair:e}=a(721),q={surrogatePairWithoutUFlag(r){return r.some((v,z)=>0!==z&&e(r[z-1],v))},combiningClass(r){return r.some((v,z)=>0!==z&&g(v)&&!g(r[z-1]))},emojiModifier(r){return r.some((v,z)=>0!==z&&f(v)&&!f(r[z-1]))},regionalIndicatorSymbol(r){return r.some((v,z)=>0!==z&&n(v)&&
n(r[z-1]))},zwj(r){const v=r.length-1;return r.some((z,E)=>0!==E&&E!==v&&8205===z&&8205!==r[E-1]&&8205!==r[E+1])}},t=Object.keys(q);u.exports={meta:{type:"problem",docs:{description:"disallow characters which are made with multiple code points in character class syntax",recommended:!0,url:"https://eslint.org/docs/rules/no-misleading-character-class"},schema:[],messages:{surrogatePairWithoutUFlag:"Unexpected surrogate pair in character class. Use 'u' flag.",combiningClass:"Unexpected combined character in character class.",
emojiModifier:"Unexpected modified Emoji in character class.",regionalIndicatorSymbol:"Unexpected national flag in character class.",zwj:"Unexpected joined character sequence in character class."}},create(r){function v(E,A,D){const F={surrogatePairWithoutUFlag:!1,combiningClass:!1,variationSelector:!1,emojiModifier:!1,regionalIndicatorSymbol:!1,zwj:!1};let C;try{C=z.parsePattern(A,0,A.length,D.includes("u"))}catch(B){return}l(C,{onCharacterClassEnter(B){for(const I of b(B.elements))for(const J of t)F[J]=
F[J]||q[J](I)}});for(const B of t)F[B]&&r.report({node:E,messageId:B})}const z=new p;return{["Literal[regex]"](E){v(E,E.regex.pattern,E.regex.flags)},["Program"](){const E=r.getScope();var A=new h(E);for(const {node:D}of A.iterateGlobalReferences({RegExp:{[d]:!0,[m]:!0}})){const [F,C]=D.arguments;A=k(F,E);const B=k(C,E);"string"===typeof A&&v(D,A,B||"")}}}}}},(u,c,a)=>{u.exports={isCombiningCharacter:a(722),isEmojiModifier:a(723),isRegionalIndicatorSymbol:a(724),isSurrogatePair:a(725)}},u=>{u.exports=
function(c){return/^[\p{Mc}\p{Me}\p{Mn}]$/u.test(String.fromCodePoint(c))}},u=>{u.exports=function(c){return 127995<=c&&127999>=c}},u=>{u.exports=function(c){return 127462<=c&&127487>=c}},u=>{u.exports=function(c,a){return 55296<=c&&56320>c&&56320<=a&&57344>a}},(u,c,a)=>{function b(e={}){return{groups:e.groups&&0<e.groups.length?e.groups:f,allowSamePrecedence:!1!==e.allowSamePrecedence}}function d(e,q,t){return e.some(r=>-1!==r.indexOf(q)&&-1!==r.indexOf(t))}function m(e){return"ConditionalExpression"===
e.type?e.test:e.left}const h=a(571);c="+ - * / % **".split(" ");a="& | ^ ~ << >> >>>".split(" ");const k="== != === !== > >= < <=".split(" "),p=["&&","||"],l=["in","instanceof"],g=[].concat(c,a,k,p,l,["?:"],["??"]),f=[c,a,k,p,l],n=/^(?:Binary|Logical|Conditional)Expression$/u;u.exports={meta:{type:"suggestion",docs:{description:"disallow mixed binary operators",recommended:!1,url:"https://eslint.org/docs/rules/no-mixed-operators"},schema:[{type:"object",properties:{groups:{type:"array",items:{type:"array",
items:{enum:g},minItems:2,uniqueItems:!0},uniqueItems:!0},allowSamePrecedence:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{unexpectedMixedOperator:"Unexpected mix of '{{leftOperator}}' and '{{rightOperator}}'. Use parentheses to clarify the intended order of operations."}},create(e){function q(v){var z;if(z=n.test(v.parent.type)&&v.operator!==v.parent.operator&&!h.isParenthesised(t,v))z=v.parent,z=!d(r.groups,v.operator,"ConditionalExpression"===z.type?"?:":z.operator)||r.allowSamePrecedence&&
h.getPrecedence(v)===h.getPrecedence(z),z=!z;if(z){var E=v.parent;z=m(E)===v?v:E;v=m(E)!==v?v:E;E={leftOperator:z.operator||"?:",rightOperator:v.operator||"?:"};e.report({node:z,loc:t.getTokenAfter(m(z),h.isNotClosingParenToken).loc,messageId:"unexpectedMixedOperator",data:E});e.report({node:v,loc:t.getTokenAfter(m(v),h.isNotClosingParenToken).loc,messageId:"unexpectedMixedOperator",data:E})}}const t=e.getSourceCode(),r=b(e.options[0]);return{BinaryExpression:q,LogicalExpression:q}}}},u=>{u.exports=
{meta:{deprecated:!0,replacedBy:[],type:"suggestion",docs:{description:"disallow `require` calls to be mixed with regular variable declarations",recommended:!1,url:"https://eslint.org/docs/rules/no-mixed-requires"},schema:[{oneOf:[{type:"boolean"},{type:"object",properties:{grouping:{type:"boolean"},allowCall:{type:"boolean"}},additionalProperties:!1}]}],messages:{noMixRequire:"Do not mix 'require' and other declarations.",noMixCoreModuleFileComputed:"Do not mix core, module, file and computed requires."}},
create(c){function a(g){return g?"CallExpression"===g.type&&"Identifier"===g.callee.type&&"require"===g.callee.name?"require":p&&"CallExpression"===g.type&&"CallExpression"===g.callee.type?a(g.callee):"MemberExpression"===g.type?a(g.object):"other":"uninitialized"}function b(g){if("MemberExpression"===g.type)return b(g.object);if(0===g.arguments.length)return"computed";g=g.arguments[0];return"Literal"!==g.type||"string"!==typeof g.value?"computed":-1!==l.indexOf(g.value)?"core":/^\.{0,2}\//u.test(g.value)?
"file":"module"}function d(g){const f={};g.forEach(n=>{n=a(n.init);f[n]=!0});return!(!f.require||!f.uninitialized&&!f.other)}function m(g){const f={};g.forEach(n=>{"require"===a(n.init)&&(f[b(n.init)]=!0)});return 1>=Object.keys(f).length}const h=c.options[0];let k=!1,p=!1;"object"===typeof h?(k=h.grouping,p=h.allowCall):k=!!h;const l="assert buffer child_process cluster crypto dgram dns domain events fs http https net os path punycode querystring readline repl smalloc stream string_decoder tls tty url util v8 vm zlib".split(" ");
return{VariableDeclaration(g){d(g.declarations)?c.report({node:g,messageId:"noMixRequire"}):k&&!m(g.declarations)&&c.report({node:g,messageId:"noMixCoreModuleFileComputed"})}}}}},u=>{u.exports={meta:{type:"layout",docs:{description:"disallow mixed spaces and tabs for indentation",recommended:!0,url:"https://eslint.org/docs/rules/no-mixed-spaces-and-tabs"},schema:[{enum:["smart-tabs",!0,!1]}],messages:{mixedSpacesAndTabs:"Mixed spaces and tabs."}},create(c){const a=c.getSourceCode();let b;switch(c.options[0]){case !0:case "smart-tabs":b=
!0;break;default:b=!1}return{["Program:exit"](d){const m=a.lines,h=a.getAllComments(),k=new Set;h.forEach(l=>{for(let g=l.loc.start.line+1;g<=l.loc.end.line;g++)k.add(g)});let p=/^(?=( +|\t+))\1(?:\t| )/u;b&&(p=/^(?=(\t*))\1(?=( +))\2\t/u);m.forEach((l,g)=>{if(l=p.exec(l))g+=1,l={start:{line:g,column:l[0].length-2},end:{line:g,column:l[0].length}},k.has(g)||(g=a.getNodeByRangeIndex(a.getIndexFromLoc(l.start)))&&["Literal","TemplateElement"].includes(g.type)||c.report({node:d,loc:l,messageId:"mixedSpacesAndTabs"})})}}}}},
u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow use of chained assignment expressions",recommended:!1,url:"https://eslint.org/docs/rules/no-multi-assign"},schema:[{type:"object",properties:{ignoreNonDeclaration:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{unexpectedChain:"Unexpected chained assignment."}},create(c){const a=["VariableDeclarator > AssignmentExpression.init","PropertyDefinition > AssignmentExpression.value"];(c.options[0]||{ignoreNonDeclaration:!1}).ignoreNonDeclaration||
a.push("AssignmentExpression > AssignmentExpression.right");return{[a](b){c.report({node:b,messageId:"unexpectedChain"})}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"disallow multiple spaces",recommended:!1,url:"https://eslint.org/docs/rules/no-multi-spaces"},fixable:"whitespace",schema:[{type:"object",properties:{exceptions:{type:"object",patternProperties:{"^([A-Z][a-z]*)+$":{type:"boolean"}},additionalProperties:!1},ignoreEOLComments:{type:"boolean",default:!1}},
additionalProperties:!1}],messages:{multipleSpaces:"Multiple spaces found before '{{displayValue}}'."}},create(d){function m(f){f=f.value.split("\n");const n=f[0],e="".concat(n.slice(0,12),"...");return 1===f.length&&12>=n.length?n:e}const h=d.getSourceCode(),k=d.options[0]||{},p=k.ignoreEOLComments,l=Object.assign({Property:!0},k.exceptions),g=0<Object.keys(l).filter(f=>l[f]).length;return{Program(){h.tokensAndComments.forEach((f,n,e)=>{if(n!==e.length-1){var q=e[n+1];if(!(!h.text.slice(f.range[1],
q.range[0]).includes("  ")||f.loc.end.line<q.loc.start.line||p&&b.isCommentToken(q)&&(n===e.length-2||q.loc.end.line<e[n+2].loc.start.line))){if(g&&(n=h.getNodeByRangeIndex(q.range[0]-1))&&l[n.type])return;n="Block"===q.type?"/*".concat(m(q),"*/"):"Line"===q.type?"//".concat(m(q)):q.value;d.report({node:q,loc:{start:f.loc.end,end:q.loc.start},messageId:"multipleSpaces",data:{displayValue:n},fix:t=>t.replaceTextRange([f.range[1],q.range[0]]," ")})}}})}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",
docs:{description:"disallow multiline strings",recommended:!1,url:"https://eslint.org/docs/rules/no-multi-str"},schema:[],messages:{multilineString:"Multiline support is limited to browsers supporting ES5 only."}},create(d){return{Literal(m){b.LINEBREAK_MATCHER.test(m.raw)&&0!==m.parent.type.indexOf("JSX")&&d.report({node:m,messageId:"multilineString"})}}}}},u=>{u.exports={meta:{type:"layout",docs:{description:"disallow multiple empty lines",recommended:!1,url:"https://eslint.org/docs/rules/no-multiple-empty-lines"},
fixable:"whitespace",schema:[{type:"object",properties:{max:{type:"integer",minimum:0},maxEOF:{type:"integer",minimum:0},maxBOF:{type:"integer",minimum:0}},required:["max"],additionalProperties:!1}],messages:{blankBeginningOfFile:"Too many blank lines at the beginning of file. Max of {{max}} allowed.",blankEndOfFile:"Too many blank lines at the end of file. Max of {{max}} allowed.",consecutiveBlank:"More than {{max}} blank {{pluralizedLines}} not allowed."}},create(c){let a=2,b=a,d=a;c.options.length&&
(a=c.options[0].max,b="undefined"!==typeof c.options[0].maxEOF?c.options[0].maxEOF:a,d="undefined"!==typeof c.options[0].maxBOF?c.options[0].maxBOF:a);const m=c.getSourceCode(),h=""===m.lines[m.lines.length-1]?m.lines.slice(0,-1):m.lines,k=new Set;return{TemplateLiteral(p){p.quasis.forEach(l=>{for(let g=l.loc.start.line;g<l.loc.end.line;g++)k.add(g)})},["Program:exit"](p){return h.reduce((l,g,f)=>{(g.trim()||k.has(f+1))&&l.push(f+1);return l},[]).concat(h.length+1).reduce((l,g)=>{let f,n;0===l?(f=
"blankBeginningOfFile",n=d):g===h.length+1?(f="blankEndOfFile",n=b):(f="consecutiveBlank",n=a);g-l-1>n&&c.report({node:p,loc:{start:{line:l+n+1,column:0},end:{line:g,column:0}},messageId:f,data:{max:n,pluralizedLines:1===n?"line":"lines"},fix(e){const q=m.getIndexFromLoc({line:l+1,column:0});var t=g-n;t=t<=h.length?m.getIndexFromLoc({line:t,column:0}):m.text.length;return e.removeRange([q,t])}});return g},0)}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow assignments to native objects or read-only global variables",
recommended:!1,url:"https://eslint.org/docs/rules/no-native-reassign"},deprecated:!0,replacedBy:["no-global-assign"],schema:[{type:"object",properties:{exceptions:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}],messages:{nativeReassign:"Read-only global '{{name}}' should not be modified."}},create(c){function a(h,k,p){const l=h.identifier;!1!==h.init||!h.isWrite()||0!==k&&p[k-1].identifier===l||c.report({node:l,messageId:"nativeReassign",data:l})}function b(h){!1===
h.writeable&&-1===m.indexOf(h.name)&&h.references.forEach(a)}const d=c.options[0],m=d&&d.exceptions||[];return{Program(){c.getScope().variables.forEach(b)}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow negated conditions",recommended:!1,url:"https://eslint.org/docs/rules/no-negated-condition"},schema:[],messages:{unexpectedNegated:"Unexpected negated condition."}},create(c){function a(b){var d=b.test;(d="UnaryExpression"===d.type&&"!"===d.operator)||(b=b.test,d="BinaryExpression"===
b.type&&("!="===b.operator||"!=="===b.operator));return d}return{IfStatement(b){b.alternate&&"IfStatement"!==b.alternate.type&&a(b)&&c.report({node:b,messageId:"unexpectedNegated"})},ConditionalExpression(b){a(b)&&c.report({node:b,messageId:"unexpectedNegated"})}}}}},u=>{u.exports={meta:{type:"problem",docs:{description:"disallow negating the left operand in `in` expressions",recommended:!1,url:"https://eslint.org/docs/rules/no-negated-in-lhs"},replacedBy:["no-unsafe-negation"],deprecated:!0,schema:[],
messages:{negatedLHS:"The 'in' expression's left operand is negated."}},create(c){return{BinaryExpression(a){"in"===a.operator&&"UnaryExpression"===a.left.type&&"!"===a.left.operator&&c.report({node:a,messageId:"negatedLHS"})}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow nested ternary expressions",recommended:!1,url:"https://eslint.org/docs/rules/no-nested-ternary"},schema:[],messages:{noNestedTernary:"Do not nest ternary expressions."}},create(c){return{ConditionalExpression(a){"ConditionalExpression"!==
a.alternate.type&&"ConditionalExpression"!==a.consequent.type||c.report({node:a,messageId:"noNestedTernary"})}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow `new` operators outside of assignments or comparisons",recommended:!1,url:"https://eslint.org/docs/rules/no-new"},schema:[],messages:{noNewStatement:"Do not use 'new' for side effects."}},create(c){return{["ExpressionStatement > NewExpression"](a){c.report({node:a.parent,messageId:"noNewStatement"})}}}}},(u,c,a)=>{const b=
a(571),d=new Set(["apply","bind","call"]);u.exports={meta:{type:"suggestion",docs:{description:"disallow `new` operators with the `Function` object",recommended:!1,url:"https://eslint.org/docs/rules/no-new-func"},schema:[],messages:{noFunctionConstructor:"The Function constructor is eval."}},create(m){return{["Program:exit"](){const h=m.getScope().set.get("Function");h&&0===h.defs.length&&h.references.forEach(k=>{k=k.identifier;const {parent:p}=k;let l;p&&(k!==p.callee||"NewExpression"!==p.type&&
"CallExpression"!==p.type?"MemberExpression"===p.type&&k===p.object&&d.has(b.getStaticPropertyName(p))&&(k="ChainExpression"===p.parent.type?p.parent:p,"CallExpression"===k.parent.type&&k.parent.callee===k&&(l=k.parent)):l=p);l&&m.report({node:l,messageId:"noFunctionConstructor"})})}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow `Object` constructors",recommended:!1,url:"https://eslint.org/docs/rules/no-new-object"},schema:[],messages:{preferLiteral:"The object literal notation {} is preferrable."}},
create(d){return{NewExpression(m){const h=b.getVariableByName(d.getScope(),m.callee.name);h&&0<h.identifiers.length||"Object"===m.callee.name&&d.report({node:m,messageId:"preferLiteral"})}}}}},u=>{u.exports={meta:{deprecated:!0,replacedBy:[],type:"suggestion",docs:{description:"disallow `new` operators with calls to `require`",recommended:!1,url:"https://eslint.org/docs/rules/no-new-require"},schema:[],messages:{noNewRequire:"Unexpected use of new with require."}},create(c){return{NewExpression(a){"Identifier"===
a.callee.type&&"require"===a.callee.name&&c.report({node:a,messageId:"noNewRequire"})}}}}},u=>{u.exports={meta:{type:"problem",docs:{description:"disallow `new` operators with the `Symbol` object",recommended:!0,url:"https://eslint.org/docs/rules/no-new-symbol"},schema:[],messages:{noNewSymbol:"`Symbol` cannot be called as a constructor."}},create(c){return{["Program:exit"](){const a=c.getScope().set.get("Symbol");a&&0===a.defs.length&&a.references.forEach(b=>{b=b.identifier;const d=b.parent;d&&"NewExpression"===
d.type&&d.callee===b&&c.report({node:b,messageId:"noNewSymbol"})})}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow `new` operators with the `String`, `Number`, and `Boolean` objects",recommended:!1,url:"https://eslint.org/docs/rules/no-new-wrappers"},schema:[],messages:{noConstructor:"Do not use {{fn}} as a constructor."}},create(c){return{NewExpression(a){-1<["String","Number","Boolean"].indexOf(a.callee.name)&&c.report({node:a,messageId:"noConstructor",data:{fn:a.callee.name}})}}}}},
u=>{const c=/\\[89]/u;u.exports={meta:{type:"suggestion",docs:{description:"disallow `\\8` and `\\9` escape sequences in string literals",recommended:!0,url:"https://eslint.org/docs/rules/no-nonoctal-decimal-escape"},hasSuggestions:!0,schema:[],messages:{decimalEscape:"Don't use '{{decimalEscape}}' escape sequence.",refactor:"Replace '{{original}}' with '{{replacement}}'. This maintains the current functionality.",escapeBackslash:"Replace '{{original}}' with '{{replacement}}' to include the actual backslash character."}},
create(a){function b(m,h,k){return{messageId:m,data:{original:d.getText().slice(...h),replacement:k},fix(p){return p.replaceTextRange(h,k)}}}const d=a.getSourceCode();return{Literal(m){if("string"===typeof m.value&&c.test(m.raw))for(var h=/(?:[^\\]|(?<previousEscape>\\.))*?(?<decimalEscape>\\[89])/suy,k;k=h.exec(m.raw);){const {previousEscape:p,decimalEscape:l}=k.groups;k=m.range[0]+k.index+k[0].length;const g=k-l.length,f=[g,k],n=[];"\\0"===p?n.push(b("refactor",[g-p.length,k],"".concat("\\u".concat((0).toString(16).padStart(4,
"0"))).concat(l[1])),b("refactor",f,"\\u".concat(l[1].charCodeAt(0).toString(16).padStart(4,"0")))):n.push(b("refactor",f,l[1]));n.push(b("escapeBackslash",f,"\\".concat(l)));a.report({node:m,loc:{start:d.getLocFromIndex(g),end:d.getLocFromIndex(k)},messageId:"decimalEscape",data:{decimalEscape:l},suggest:n})}}}}}},(u,c,a)=>{function b(l){return"ChainExpression"===l.type?b(l.expression):"MemberExpression"===l.type?k(l):l.name}const {CALL:d,CONSTRUCT:m,ReferenceTracker:h}=a(524),k=a(571).getStaticPropertyName,
p=["Atomics","JSON","Math","Reflect"];u.exports={meta:{type:"problem",docs:{description:"disallow calling global object properties as functions",recommended:!0,url:"https://eslint.org/docs/rules/no-obj-calls"},schema:[],messages:{unexpectedCall:"'{{name}}' is not a function.",unexpectedRefCall:"'{{name}}' is reference to '{{ref}}', which is not a function."}},create(l){return{Program(){var g=l.getScope();g=new h(g);const f={};for(var n of p)f[n]={[d]:!0,[m]:!0};for(const {node:e,path:q}of g.iterateGlobalReferences(f))n=
b(e.callee),g=q[0],l.report({node:e,messageId:n===g?"unexpectedCall":"unexpectedRefCall",data:{name:n,ref:g}})}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow octal literals",recommended:!0,url:"https://eslint.org/docs/rules/no-octal"},schema:[],messages:{noOcatal:"Octal literals should not be used."}},create(c){return{Literal(a){"number"===typeof a.value&&/^0[0-9]/u.test(a.raw)&&c.report({node:a,messageId:"noOcatal"})}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow octal escape sequences in string literals",
recommended:!1,url:"https://eslint.org/docs/rules/no-octal-escape"},schema:[],messages:{octalEscapeSequence:"Don't use octal: '\\{{sequence}}'. Use '\\u....' instead."}},create(c){return{Literal(a){if("string"===typeof a.value){var b=a.raw.match(/^(?:[^\\]|\\.)*?\\([0-3][0-7]{1,2}|[4-7][0-7]|0(?=[89])|[1-7])/su);b&&c.report({node:a,messageId:"octalEscapeSequence",data:{sequence:b[1]}})}}}}}},u=>{const c=/(?:Statement|Declaration|Function(?:Expression)?|Program)$/u;u.exports={meta:{type:"suggestion",
docs:{description:"disallow reassigning `function` parameters",recommended:!1,url:"https://eslint.org/docs/rules/no-param-reassign"},schema:[{oneOf:[{type:"object",properties:{props:{enum:[!1]}},additionalProperties:!1},{type:"object",properties:{props:{enum:[!0]},ignorePropertyModificationsFor:{type:"array",items:{type:"string"},uniqueItems:!0},ignorePropertyModificationsForRegex:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}]}],messages:{assignmentToFunctionParam:"Assignment to function parameter '{{name}}'.",
assignmentToFunctionParamProp:"Assignment to property of function parameter '{{name}}'."}},create(a){function b(f){f=f.identifier;let n=f.parent;for(;n&&(!c.test(n.type)||"ForInStatement"===n.type||"ForOfStatement"===n.type);){switch(n.type){case "AssignmentExpression":return n.left===f;case "UpdateExpression":return!0;case "UnaryExpression":if("delete"===n.operator)return!0;break;case "ForInStatement":case "ForOfStatement":return n.left===f?!0:!1;case "CallExpression":if(n.callee!==f)return!1;break;
case "MemberExpression":if(n.property===f)return!1;break;case "Property":if(n.key===f)return!1;break;case "ConditionalExpression":if(n.test===f)return!1}f=n;n=f.parent}return!1}function d(f){return l.includes(f)||g.some(n=>(new RegExp(n,"u")).test(f))}function m(f,n,e){const q=f.identifier;!q||f.init||0!==n&&e[n-1].identifier===q||(f.isWrite()?a.report({node:q,messageId:"assignmentToFunctionParam",data:{name:q.name}}):p&&b(f)&&!d(q.name)&&a.report({node:q,messageId:"assignmentToFunctionParamProp",
data:{name:q.name}}))}function h(f){"Parameter"===f.defs[0].type&&f.references.forEach(m)}function k(f){a.getDeclaredVariables(f).forEach(h)}const p=a.options[0]&&a.options[0].props,l=a.options[0]&&a.options[0].ignorePropertyModificationsFor||[],g=a.options[0]&&a.options[0].ignorePropertyModificationsForRegex||[];return{"FunctionDeclaration:exit":k,"FunctionExpression:exit":k,"ArrowFunctionExpression:exit":k}}}},u=>{u.exports={meta:{deprecated:!0,replacedBy:[],type:"suggestion",docs:{description:"disallow string concatenation with `__dirname` and `__filename`",
recommended:!1,url:"https://eslint.org/docs/rules/no-path-concat"},schema:[],messages:{usePathFunctions:"Use path.join() or path.resolve() instead of + to create paths."}},create(c){const a=/^__(?:dir|file)name$/u;return{BinaryExpression(b){const d=b.left,m=b.right;"+"===b.operator&&("Identifier"===d.type&&a.test(d.name)||"Identifier"===m.type&&a.test(m.name))&&c.report({node:b,messageId:"usePathFunctions"})}}}}},u=>{function c(a){var b=a.parent;if("SequenceExpression"===b.type)return c(b);b=a.parent;
return a="ForStatement"===b.type&&b.update===a}u.exports={meta:{type:"suggestion",docs:{description:"disallow the unary operators `++` and `--`",recommended:!1,url:"https://eslint.org/docs/rules/no-plusplus"},schema:[{type:"object",properties:{allowForLoopAfterthoughts:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{unexpectedUnaryOp:"Unary operator '{{operator}}' used."}},create(a){const b=a.options[0];let d=!1;"object"===typeof b&&(d=!0===b.allowForLoopAfterthoughts);return{UpdateExpression(m){d&&
c(m)||a.report({node:m,messageId:"unexpectedUnaryOp",data:{operator:m.operator}})}}}}},u=>{u.exports={meta:{deprecated:!0,replacedBy:[],type:"suggestion",docs:{description:"disallow the use of `process.env`",recommended:!1,url:"https://eslint.org/docs/rules/no-process-env"},schema:[],messages:{unexpectedProcessEnv:"Unexpected use of process.env."}},create(c){return{MemberExpression(a){const b=a.property.name;"process"===a.object.name&&!a.computed&&b&&"env"===b&&c.report({node:a,messageId:"unexpectedProcessEnv"})}}}}},
u=>{u.exports={meta:{deprecated:!0,replacedBy:[],type:"suggestion",docs:{description:"disallow the use of `process.exit()`",recommended:!1,url:"https://eslint.org/docs/rules/no-process-exit"},schema:[],messages:{noProcessExit:"Don't use process.exit(); throw an error instead."}},create(c){return{["CallExpression > MemberExpression.callee[object.name = 'process'][property.name = 'exit']"](a){c.report({node:a.parent,messageId:"noProcessExit"})}}}}},(u,c,a)=>{const {findVariable:b}=a(524),d=new Set(["ArrowFunctionExpression",
"FunctionExpression"]);u.exports={meta:{type:"problem",docs:{description:"disallow returning values from Promise executor functions",recommended:!1,url:"https://eslint.org/docs/rules/no-promise-executor-return"},schema:[],messages:{returnsValue:"Return values from promise executor functions cannot be read."}},create(m){function h(p){m.report({node:p,messageId:"returnsValue"})}let k=null;return{onCodePathStart(p,l){p=k;var g;if(g=d.has(l.type)){{g=m.getScope();const n=l.parent;var f;if(f="NewExpression"===
n.type&&n.arguments[0]===l&&"Identifier"===n.callee.type&&"Promise"===n.callee.name)f=n.callee,g=g.upper,g="function-expression-name"===g.type?g.upper:g,g=b(g,f),f=null!==g&&"global"===g.scope.type&&0===g.defs.length;g=f}}k={upper:p,shouldCheck:g};k.shouldCheck&&"ArrowFunctionExpression"===l.type&&l.expression&&h(l.body)},onCodePathEnd(){k=k.upper},ReturnStatement(p){k.shouldCheck&&p.argument&&h(p)}}}}},(u,c,a)=>{const {getStaticPropertyName:b}=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow the use of the `__proto__` property",
recommended:!1,url:"https://eslint.org/docs/rules/no-proto"},schema:[],messages:{unexpectedProto:"The '__proto__' property is deprecated."}},create(d){return{MemberExpression(m){"__proto__"===b(m)&&d.report({node:m,messageId:"unexpectedProto"})}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"problem",docs:{description:"disallow calling some `Object.prototype` methods directly on objects",recommended:!0,url:"https://eslint.org/docs/rules/no-prototype-builtins"},schema:[],messages:{prototypeBuildIn:"Do not access Object.prototype method '{{prop}}' from target object."}},
create(d){const m=["hasOwnProperty","isPrototypeOf","propertyIsEnumerable"];return{CallExpression:function(h){const k=b.skipChainExpression(h.callee);if("MemberExpression"===k.type){var p=b.getStaticPropertyName(k);null!==p&&-1<m.indexOf(p)&&d.report({messageId:"prototypeBuildIn",loc:k.property.loc,data:{prop:p},node:h})}}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow variable redeclaration",recommended:!0,url:"https://eslint.org/docs/rules/no-redeclare"},
messages:{redeclared:"'{{id}}' is already defined.",redeclaredAsBuiltin:"'{{id}}' is already defined as a built-in global variable.",redeclaredBySyntax:"'{{id}}' is already defined by a variable declaration."},schema:[{type:"object",properties:{builtinGlobals:{type:"boolean",default:!0}},additionalProperties:!1}]},create(d){function*m(g){!p.builtinGlobals||"readonly"!==g.eslintImplicitGlobalSetting&&"writable"!==g.eslintImplicitGlobalSetting||(yield{type:"builtin"});for(const f of g.identifiers)yield{type:"syntax",
node:f,loc:f.loc};if(g.eslintExplicitGlobalComments)for(const f of g.eslintExplicitGlobalComments)yield{type:"comment",node:f,loc:b.getNameLocationInGlobalDirectiveComment(l,f,g.name)}}function h(g){for(const f of g.variables){const [n,...e]=m(f);if(0===e.length)continue;g="builtin"===n.type?"redeclaredAsBuiltin":"redeclaredBySyntax";const q={id:f.name};for(const {type:t,node:r,loc:v}of e)d.report({node:r,loc:v,messageId:t===n.type?"redeclared":g,data:q})}}function k(g){const f=d.getScope();f.block===
g&&h(f)}const p={builtinGlobals:!(0!==d.options.length&&!d.options[0].builtinGlobals)},l=d.getSourceCode();return{Program(){const g=d.getScope();h(g);"global"===g.type&&g.childScopes[0]&&g.block===g.childScopes[0].block&&h(g.childScopes[0])},FunctionDeclaration:k,FunctionExpression:k,ArrowFunctionExpression:k,BlockStatement:k,ForStatement:k,ForInStatement:k,ForOfStatement:k,SwitchStatement:k}}}},(u,c,a)=>{function b(p){return p&&"Literal"===p.type&&"string"===typeof p.value}const d=a(571),m=a(674),
h=new m.RegExpParser,k=/ {2}/u;u.exports={meta:{type:"suggestion",docs:{description:"disallow multiple spaces in regular expressions",recommended:!0,url:"https://eslint.org/docs/rules/no-regex-spaces"},schema:[],fixable:"code",messages:{multipleSpaces:"Spaces are hard to count. Use {{{length}}}."}},create(p){function l(f,n,e,q,t){if(k.test(e)){var r=[];try{var v=h.parsePattern(n,0,n.length,t.includes("u"))}catch(z){return}m.visitRegExpAST(v,{onCharacterClassEnter(z){r.push(z)}});for(t=/( {2,})(?: [+*{?]|[^+*{?]|$)/gu;v=
t.exec(n);){const {1:{length:z},index:E}=v;if(r.every(({start:A,end:D})=>E<A||D<=E)){p.report({node:f,messageId:"multipleSpaces",data:{length:z},fix(A){return n!==e?null:A.replaceTextRange([q+E,q+E+z]," {".concat(z,"}"))}});break}}}}function g(f){var n=p.getScope(),e=(n=d.getVariableByName(n,"RegExp"))&&0<n.defs.length,q=f.arguments[0];n=f.arguments[1];if("Identifier"===f.callee.type&&"RegExp"===f.callee.name&&b(q)&&!e){e=q.value;const t=q.raw.slice(1,-1);q=q.range[0]+1;n=b(n)?n.value:"";l(f,e,t,
q,n)}}return{Literal:function(f){if(f.regex){const n=f.regex.pattern,e=f.raw.slice(1,f.raw.lastIndexOf("/"));l(f,n,e,f.range[0]+1,f.regex.flags)}},CallExpression:g,NewExpression:g}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow specified names in exports",recommended:!1,url:"https://eslint.org/docs/rules/no-restricted-exports"},schema:[{type:"object",properties:{restrictedNamedExports:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}],messages:{restrictedNamed:"'{{name}}' is restricted from being used as an exported name."}},
create(c){function a(d){const m=d.name;b.has(m)&&c.report({node:d,messageId:"restrictedNamed",data:{name:m}})}const b=new Set(c.options[0]&&c.options[0].restrictedNamedExports);return{ExportAllDeclaration(d){d.exported&&a(d.exported)},ExportNamedDeclaration(d){const m=d.declaration;m?"FunctionDeclaration"===m.type||"ClassDeclaration"===m.type?a(m.id):"VariableDeclaration"===m.type&&c.getDeclaredVariables(m).map(h=>h.defs.find(k=>k.parent===m)).map(h=>h.name).forEach(a):d.specifiers.map(h=>h.exported).forEach(a)}}}}},
u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow specified global variables",recommended:!1,url:"https://eslint.org/docs/rules/no-restricted-globals"},schema:{type:"array",items:{oneOf:[{type:"string"},{type:"object",properties:{name:{type:"string"},message:{type:"string"}},required:["name"],additionalProperties:!1}]},uniqueItems:!0,minItems:0},messages:{defaultMessage:"Unexpected use of '{{name}}'.",customMessage:"Unexpected use of '{{name}}'. {{customMessage}}"}},create(c){function a(d){const m=
d.identifier.name,h=b[m];c.report({node:d.identifier,messageId:h?"customMessage":"defaultMessage",data:{name:m,customMessage:h}})}if(0===c.options.length)return{};const b=c.options.reduce((d,m)=>{"string"===typeof m?d[m]=null:d[m.name]=m.message;return d},{});return{Program(){const d=c.getScope();d.variables.forEach(m=>{!m.defs.length&&Object.prototype.hasOwnProperty.call(b,m.name)&&m.references.forEach(a)});d.through.forEach(m=>{Object.prototype.hasOwnProperty.call(b,m.identifier.name)&&a(m)})}}}}},
(u,c,a)=>{const b=a(760);c={type:"array",items:{anyOf:[{type:"string"},{type:"object",properties:{name:{type:"string"},message:{type:"string",minLength:1},importNames:{type:"array",items:{type:"string"}}},additionalProperties:!1,required:["name"]}]},uniqueItems:!0};u.exports={meta:{type:"suggestion",docs:{description:"disallow specified modules when loaded by `import`",recommended:!1,url:"https://eslint.org/docs/rules/no-restricted-imports"},messages:{path:"'{{importSource}}' import is restricted from being used.",
pathWithCustomMessage:"'{{importSource}}' import is restricted from being used. {{customMessage}}",patterns:"'{{importSource}}' import is restricted from being used by a pattern.",patternWithCustomMessage:"'{{importSource}}' import is restricted from being used by a pattern. {{customMessage}}",everything:"* import is invalid because '{{importNames}}' from '{{importSource}}' is restricted.",everythingWithCustomMessage:"* import is invalid because '{{importNames}}' from '{{importSource}}' is restricted. {{customMessage}}",
importName:"'{{importName}}' import from '{{importSource}}' is restricted.",importNameWithCustomMessage:"'{{importName}}' import from '{{importSource}}' is restricted. {{customMessage}}"},schema:{anyOf:[c,{type:"array",items:[{type:"object",properties:{paths:c,patterns:{anyOf:[{type:"array",items:{type:"string"},uniqueItems:!0},{type:"array",items:{type:"object",properties:{group:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0},message:{type:"string",minLength:1}},additionalProperties:!1,
required:["group"]},uniqueItems:!0}]}},additionalProperties:!1}],additionalItems:!1}]}},create(d){function m(e,q,t){if(Object.prototype.hasOwnProperty.call(f,e)){var r=f[e].message,v=f[e].importNames;if(v){if(q.has("*")){const z=q.get("*")[0];d.report({node:t,messageId:r?"everythingWithCustomMessage":"everything",loc:z.loc,data:{importSource:e,importNames:v,customMessage:r}})}v.forEach(z=>{q.has(z)&&q.get(z).forEach(E=>{d.report({node:t,messageId:r?"importNameWithCustomMessage":"importName",loc:E.loc,
data:{importSource:e,customMessage:r,importName:z}})})})}else d.report({node:t,messageId:r?"pathWithCustomMessage":"path",data:{importSource:e,customMessage:r}})}}function h(e){const q=e.source.value.trim(),t=new Map;if("ExportAllDeclaration"===e.type){var r=k.getFirstToken(e,1);t.set("*",[{loc:r.loc}])}else if(e.specifiers)for(r of e.specifiers){let v;const z={loc:r.loc};"ImportDefaultSpecifier"===r.type?v="default":"ImportNamespaceSpecifier"===r.type?v="*":r.imported?v=r.imported.name:r.local&&
(v=r.local.name);v&&(t.has(v)?t.get(v).push(z):t.set(v,[z]))}m(q,t,e);n.forEach(v=>{if(v.matcher.ignores(q)){{const z=e.source.value.trim();d.report({node:e,messageId:v.customMessage?"patternWithCustomMessage":"patterns",data:{importSource:z,customMessage:v.customMessage}})}}})}const k=d.getSourceCode();var p=Array.isArray(d.options)?d.options:[];const l="object"===typeof p[0]&&(Object.prototype.hasOwnProperty.call(p[0],"paths")||Object.prototype.hasOwnProperty.call(p[0],"patterns")),g=(l?p[0].paths:
d.options)||[],f=g.reduce((e,q)=>{"string"===typeof q?e[q]={message:null}:e[q.name]={message:q.message,importNames:q.importNames};return e},{});p=(l?p[0].patterns:[])||[];const n=0<p.length&&"string"===typeof p[0]?[{matcher:b().add(p)}]:p.map(({group:e,message:q})=>({matcher:b().add(e),customMessage:q}));return 0===Object.keys(g).length&&0===n.length?{}:{ImportDeclaration:h,ExportNamedDeclaration(e){e.source&&h(e)},ExportAllDeclaration:h}}}},(u,c,a)=>{function b(r){return Array.isArray(r)?r:[r]}c=
a(418);const d=/^\s+$/,m=/^\\!/,h=/^\\#/,k="undefined"!==typeof Symbol?Symbol.for("node-ignore"):"node-ignore",p=/([0-z])-([0-z])/g,l=r=>r.replace(p,(v,z,E)=>z.charCodeAt(0)<=E.charCodeAt(0)?v:"");a=[[/\\?\s+$/,r=>0===r.indexOf("\\")?" ":""],[/\\\s/g,()=>" "],[/[\\^$.|*+(){]/g,r=>"\\".concat(r)],[/\[([^\]/]*)($|\])/g,(r,v,z)=>"]"===z?"[".concat(l(v),"]"):"\\".concat(r)],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"]];const g=[[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?
"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(r,v,z)=>v+6<z.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)\\\*(?=.+)/g,(r,v)=>"".concat(v,"[^\\/]*")],[/(\^|\\\/)?\\\*$/,(r,v)=>{r=v?"".concat(v,"[^/]+"):"[^/]*";return"".concat(r,"(?=$|\\/$)")}],[/\\\\\\/g,()=>"\\"]],f=[...a,[/(?:[^*/])$/,r=>"".concat(r,"(?=$|\\/)")],...g],n=[...a,[/(?:[^*])$/,r=>"".concat(r,"(?=$|\\/$)")],...g],e=Object.create(null),q=(r,v,z)=>{const E=e[r];if(E)return E;v=(v?n:f).reduce((A,D)=>A.replace(D[0],D[1].bind(r)),r);return e[r]=
z?new RegExp(v,"i"):new RegExp(v)};class t{constructor({ignorecase:r=!0}={}){this._rules=[];this._ignorecase=r;Object.defineProperty(this,k,{value:!0});this._initCache()}_initCache(){this._cache=Object.create(null)}add(r){this._added=!1;"string"===typeof r&&(r=r.split(/\r?\n/g));b(r).forEach(this._addPattern,this);this._added&&this._initCache();return this}addPattern(r){return this.add(r)}_addPattern(r){if(r&&r[k])this._rules=this._rules.concat(r._rules),this._added=!0;else if(r&&"string"===typeof r&&
!d.test(r)&&0!==r.indexOf("#")){{var v=this._ignorecase;const z=r;let E=!1;0===r.indexOf("!")&&(E=!0,r=r.substr(1));r=r.replace(m,"!").replace(h,"#");v=q(r,E,v);r={origin:z,pattern:r,negative:E,regex:v}}this._added=!0;this._rules.push(r)}}filter(r){return b(r).filter(v=>this._filter(v))}createFilter(){return r=>this._filter(r)}ignores(r){return!this._filter(r)}_filter(r,v){if(!r)return!1;if(r in this._cache)return this._cache[r];v||(v=r.split("/"));v.pop();return this._cache[r]=v.length?this._filter(v.join("/")+
"/",v)&&this._test(r):this._test(r)}_test(r){let v=0;this._rules.forEach(z=>{v^z.negative||(v=z.negative^z.regex.test(r))});return!v}}if("undefined"!==typeof c&&(c.env&&c.env.IGNORE_TEST_WIN32||"win32"===c.platform)){const r=t.prototype._filter;t.prototype._filter=function(v,z){v=/^\\\\\?\\/.test(v)||/[^\x00-\x80]+/.test(v)?v:v.replace(/\\/g,"/");return r.call(this,v,z)}}u.exports=r=>new t(r)},(u,c,a)=>{const b=a(760);c={type:"array",items:{anyOf:[{type:"string"},{type:"object",properties:{name:{type:"string"},
message:{type:"string",minLength:1}},additionalProperties:!1,required:["name"]}]},uniqueItems:!0};u.exports={meta:{deprecated:!0,replacedBy:[],type:"suggestion",docs:{description:"disallow specified modules when loaded by `require`",recommended:!1,url:"https://eslint.org/docs/rules/no-restricted-modules"},schema:{anyOf:[c,{type:"array",items:{type:"object",properties:{paths:c,patterns:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1},additionalItems:!1}]},messages:{defaultMessage:"'{{name}}' module is restricted from being used.",
customMessage:"'{{name}}' module is restricted from being used. {{customMessage}}",patternMessage:"'{{name}}' module is restricted from being used by a pattern."}},create(d){const m=Array.isArray(d.options)?d.options:[],h="object"===typeof m[0]&&(Object.prototype.hasOwnProperty.call(m[0],"paths")||Object.prototype.hasOwnProperty.call(m[0],"patterns")),k=(h?m[0].paths:d.options)||[],p=(h?m[0].patterns:[])||[],l=k.reduce((f,n)=>{"string"===typeof n?f[n]=null:f[n.name]=n.message;return f},{});if(0===
Object.keys(k).length&&0===p.length)return{};const g=b().add(p);return{CallExpression(f){if("Identifier"===f.callee.type&&"require"===f.callee.name&&f.arguments.length){var n=(n=f.arguments[0])&&"Literal"===n.type&&"string"===typeof n.value?n.value.trim():n&&"TemplateLiteral"===n.type&&0===n.expressions.length?n.quasis[0].value.cooked.trim():null;if(n){if(Object.prototype.hasOwnProperty.call(l,n)){{const e=l[n];d.report({node:f,messageId:e?"customMessage":"defaultMessage",data:{name:n,customMessage:e}})}}0<
p.length&&g.ignores(n)&&d.report({node:f,messageId:"patternMessage",data:{name:n}})}}}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow certain properties on certain objects",recommended:!1,url:"https://eslint.org/docs/rules/no-restricted-properties"},schema:{type:"array",items:{anyOf:[{type:"object",properties:{object:{type:"string"},property:{type:"string"},message:{type:"string"}},additionalProperties:!1,required:["object"]},{type:"object",properties:{object:{type:"string"},
property:{type:"string"},message:{type:"string"}},additionalProperties:!1,required:["property"]}]},uniqueItems:!0},messages:{restrictedObjectProperty:"'{{objectName}}.{{propertyName}}' is restricted from being used.{{message}}",restrictedProperty:"'{{propertyName}}' is restricted from being used.{{message}}"}},create(d){function m(f,n,e){if(null!==e){var q=p.get(n);q=q?q.get(e):l.get(n);var t=g.get(e);q?(q=q.message?" ".concat(q.message):"",d.report({node:f,messageId:"restrictedObjectProperty",data:{objectName:n,
propertyName:e,message:q}})):t&&(n=t.message?" ".concat(t.message):"",d.report({node:f,messageId:"restrictedProperty",data:{propertyName:e,message:n}}))}}function h(f){if("Identifier"===f.right.type){const n=f.right.name;"ObjectPattern"===f.left.type&&f.left.properties.forEach(e=>{m(f.left,n,b.getStaticPropertyName(e))})}}const k=d.options;if(0===k.length)return{};const p=new Map,l=new Map,g=new Map;k.forEach(f=>{const n=f.object,e=f.property;"undefined"===typeof n?g.set(e,{message:f.message}):"undefined"===
typeof e?l.set(n,{message:f.message}):(p.has(n)||p.set(n,new Map),p.get(n).set(e,{message:f.message}))});return{MemberExpression(f){m(f,f.object&&f.object.name,b.getStaticPropertyName(f))},VariableDeclarator(f){if(f.init&&"Identifier"===f.init.type){const n=f.init.name;"ObjectPattern"===f.id.type&&f.id.properties.forEach(e=>{m(f.id,n,b.getStaticPropertyName(e))})}},AssignmentExpression:h,AssignmentPattern:h}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow specified syntax",recommended:!1,
url:"https://eslint.org/docs/rules/no-restricted-syntax"},schema:{type:"array",items:{oneOf:[{type:"string"},{type:"object",properties:{selector:{type:"string"},message:{type:"string"}},required:["selector"],additionalProperties:!1}]},uniqueItems:!0,minItems:0},messages:{restrictedSyntax:"{{message}}"}},create(c){return c.options.reduce((a,b)=>{const d="string"===typeof b,m=d?b:b.selector,h=!d&&b.message?b.message:"Using '".concat(m,"' is not allowed.");return Object.assign(a,{[m](k){c.report({node:k,
messageId:"restrictedSyntax",data:{message:h}})}})},{})}}},(u,c,a)=>{const b=a(571),d=/^(?:[a-zA-Z]+?Statement|ArrowFunctionExpression|FunctionExpression|ClassExpression)$/u;u.exports={meta:{type:"suggestion",docs:{description:"disallow assignment operators in `return` statements",recommended:!1,url:"https://eslint.org/docs/rules/no-return-assign"},schema:[{enum:["except-parens","always"]}],messages:{returnAssignment:"Return statement should not contain assignment.",arrowAssignment:"Arrow function should not return assignment."}},
create(m){const h="except-parens"!==(m.options[0]||"except-parens"),k=m.getSourceCode();return{AssignmentExpression(p){if(h||!b.isParenthesised(k,p)){for(var l=p.parent;l&&!d.test(l.type);)p=l,l=l.parent;l&&"ReturnStatement"===l.type?m.report({node:l,messageId:"returnAssignment"}):l&&"ArrowFunctionExpression"===l.type&&l.body===p&&m.report({node:l,messageId:"arrowAssignment"})}}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow unnecessary `return await`",
recommended:!1,url:"https://eslint.org/docs/rules/no-return-await"},fixable:null,schema:[],messages:{redundantUseOfAwait:"Redundant use of `await` on a return value."}},create(d){function m(k){for(;!b.isFunction(k)&&"Program"!==k.type;){if("TryStatement"===k.parent.type&&(k===k.parent.block||k===k.parent.handler&&k.parent.finalizer))return!0;k=k.parent}return!1}function h(k){return"ArrowFunctionExpression"===k.parent.type?!0:"ReturnStatement"===k.parent.type?!m(k.parent):"ConditionalExpression"===
k.parent.type&&(k===k.parent.consequent||k===k.parent.alternate)||"LogicalExpression"===k.parent.type&&k===k.parent.right||"SequenceExpression"===k.parent.type&&k===k.parent.expressions[k.parent.expressions.length-1]?h(k.parent):!1}return{AwaitExpression(k){h(k)&&!m(k)&&d.report({node:d.getSourceCode().getFirstToken(k),loc:k.loc,messageId:"redundantUseOfAwait"})}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow `javascript:` urls",recommended:!1,url:"https://eslint.org/docs/rules/no-script-url"},
schema:[],messages:{unexpectedScriptURL:"Script URL is a form of eval."}},create(d){function m(h){const k=b.getStaticStringValue(h);"string"===typeof k&&0===k.toLowerCase().indexOf("javascript:")&&d.report({node:h,messageId:"unexpectedScriptURL"})}return{Literal(h){h.value&&"string"===typeof h.value&&m(h)},TemplateLiteral(h){h.parent&&"TaggedTemplateExpression"===h.parent.type||m(h)}}}}},(u,c,a)=>{function b(h,k,p,l){if(h&&k)if("Identifier"===h.type&&"Identifier"===k.type&&h.name===k.name)l(k);else if("ArrayPattern"===
h.type&&"ArrayExpression"===k.type){var g=Math.min(h.elements.length,k.elements.length);for(var f=0;f<g;++f){var n=h.elements[f];const e=k.elements[f];if(n&&"RestElement"===n.type&&f<k.elements.length-1)break;b(n,e,p,l);if(e&&"SpreadElement"===e.type)break}}else if("RestElement"===h.type&&"SpreadElement"===k.type)b(h.argument,k.argument,p,l);else if("ObjectPattern"===h.type&&"ObjectExpression"===k.type&&1<=k.properties.length){g=0;for(f=k.properties.length-1;0<=f;--f)if(n=k.properties[f].type,"SpreadElement"===
n||"ExperimentalSpreadProperty"===n){g=f+1;break}for(f=0;f<h.properties.length;++f)for(n=g;n<k.properties.length;++n)b(h.properties[f],k.properties[n],p,l)}else"Property"!==h.type||"Property"!==k.type||"init"!==k.kind||k.method?p&&"MemberExpression"===d.skipChainExpression(h).type&&"MemberExpression"===d.skipChainExpression(k).type&&d.isSameReference(h,k)&&l(k):(g=d.getStaticPropertyName(h),null!==g&&g===d.getStaticPropertyName(k)&&b(h.value,k.value,p,l))}const d=a(571),m=/\s+/gu;u.exports={meta:{type:"problem",
docs:{description:"disallow assignments where both sides are exactly the same",recommended:!0,url:"https://eslint.org/docs/rules/no-self-assign"},schema:[{type:"object",properties:{props:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{selfAssignment:"'{{name}}' is assigned to itself."}},create(h){function k(g){h.report({node:g,messageId:"selfAssignment",data:{name:p.getText(g).replace(m,"")}})}const p=h.getSourceCode(),[{props:l=!0}={}]=h.options;return{AssignmentExpression(g){"="===
g.operator&&b(g.left,g.right,l,k)}}}}},u=>{u.exports={meta:{type:"problem",docs:{description:"disallow comparisons where both sides are exactly the same",recommended:!1,url:"https://eslint.org/docs/rules/no-self-compare"},schema:[],messages:{comparingToSelf:"Comparing to itself is potentially pointless."}},create(c){function a(d,m){d=b.getTokens(d);const h=b.getTokens(m);return d.length===h.length&&d.every((k,p)=>k.type===h[p].type&&k.value===h[p].value)}const b=c.getSourceCode();return{BinaryExpression(d){(new Set("=== == !== != > < >= <=".split(" "))).has(d.operator)&&
a(d.left,d.right)&&c.report({node:d,messageId:"comparingToSelf"})}}}}},(u,c,a)=>{const b=a(571),d={allowInParentheses:!0};u.exports={meta:{type:"suggestion",docs:{description:"disallow comma operators",recommended:!1,url:"https://eslint.org/docs/rules/no-sequences"},schema:[{properties:{allowInParentheses:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{unexpectedCommaExpression:"Unexpected use of comma operator."}},create(m){const h=Object.assign({},d,m.options[0]),k=m.getSourceCode(),
p={DoWhileStatement:"test",IfStatement:"test",SwitchStatement:"discriminant",WhileStatement:"test",WithStatement:"object",ArrowFunctionExpression:"body"};return{SequenceExpression(l){if("ForStatement"!==l.parent.type||l!==l.parent.init&&l!==l.parent.update){if(h.allowInParentheses)if(l.parent&&p[l.parent.type]&&l===l.parent[p[l.parent.type]]){{var g=k.getTokenBefore(l,1);const f=k.getTokenAfter(l,1);g=b.isParenthesised(k,l)&&g&&f&&b.isOpeningParenToken(g)&&g.range[1]<=l.range[0]&&b.isClosingParenToken(f)&&
f.range[0]>=l.range[1]}if(g)return}else if(b.isParenthesised(k,l))return;g=k.getTokenAfter(l.expressions[0],b.isCommaToken);m.report({node:l,loc:g.loc,messageId:"unexpectedCommaExpression"})}}}}}},(u,c,a)=>{function b(h,k,p,l,g){var f=h.parent;if(h="CallExpression"===f.type&&f.arguments[g]===h&&d.isSpecificMemberAccess(f.callee,p,l))f=d.skipChainExpression(f.callee).object,k=m(k,f),h=null!==k&&"global"===k.scope.type&&0===k.defs.length;return h}const d=a(571),{findVariable:m}=a(524);u.exports={meta:{type:"problem",
docs:{description:"disallow returning values from setters",recommended:!0,url:"https://eslint.org/docs/rules/no-setter-return"},schema:[],messages:{returnsValue:"Setter cannot return a value."}},create(h){function k(f){var n=h.getScope().upper;var e="function-expression-name"===n.type?n.upper:n;n=g;var q=f.parent;if("Property"!==q.type&&"MethodDefinition"!==q.type||"set"!==q.kind||q.value!==f){if(f="Property"===q.type&&q.value===f&&"set"===d.getStaticPropertyName(q)&&"ObjectExpression"===q.parent.type)b:if(f=
q.parent,b(f,e,"Object","defineProperty",2)||b(f,e,"Reflect","defineProperty",2))f=!0;else{q=f.parent;if("Property"===q.type&&q.value===f&&(f=q.parent,"ObjectExpression"===f.type&&(b(f,e,"Object","create",1)||b(f,e,"Object","defineProperties",1)))){f=!0;break b}f=!1}e=f?!0:!1}else e=!0;g={upper:n,isSetter:e}}function p(){g=g.upper}function l(f){h.report({node:f,messageId:"returnsValue"})}let g=null;return{FunctionDeclaration:k,FunctionExpression:k,ArrowFunctionExpression(f){k(f);g.isSetter&&f.expression&&
l(f.body)},"FunctionDeclaration:exit":p,"FunctionExpression:exit":p,"ArrowFunctionExpression:exit":p,ReturnStatement(f){g&&g.isSetter&&f.argument&&l(f)}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow variable declarations from shadowing variables declared in the outer scope",recommended:!1,url:"https://eslint.org/docs/rules/no-shadow"},schema:[{type:"object",properties:{builtinGlobals:{type:"boolean",default:!1},hoist:{enum:["all","functions","never"],
default:"functions"},allow:{type:"array",items:{type:"string"}}},additionalProperties:!1}],messages:{noShadow:"'{{name}}' is already declared in the upper scope on line {{shadowedLine}} column {{shadowedColumn}}.",noShadowGlobal:"'{{name}}' is already a global variable."}},create(d){function m(l){return(l=l.defs[0])&&l.name.range}var h=d.options[0]&&d.options[0].builtinGlobals,k=d.options[0]&&d.options[0].hoist||"functions",p=d.options[0]&&d.options[0].allow||[];return{["Program:exit"](){const l=
d.getScope().childScopes.slice();for(;l.length;){var g=l.pop();l.push(...g.childScopes);{const t=g.variables;for(let r=0;r<t.length;++r){const v=t[r];var f;(f=0===v.identifiers.length)||(f=v.scope.block,f="ClassDeclaration"===f.type&&f.id===v.identifiers[0]);if(!f&&-1===p.indexOf(v.name)){f=b.getVariableByName(g.upper,v.name);var n;if(n=f&&(0<f.identifiers.length||h&&"writeable"in f)){{n=f.scope;var e=f.defs[0];e=e&&e.parent&&e.parent.range;var q=v.scope;const z=v.defs[0],E=z&&z.name.range;n=e&&E&&
e[0]<E[0]&&E[1]<e[1]&&("FunctionName"===z.type&&"FunctionExpression"===z.node.type||"ClassExpression"===z.node.type)&&n===q.upper}n=!n}n&&!(n="all"===k)&&(q=f,n=q.defs[0],e=m(v),q=m(q),n=e&&q&&e[1]<q[0]&&("functions"!==k||!n||"FunctionDeclaration"!==n.node.type),n=!n);n&&(f=(f=f.identifiers[0])?{global:!1,line:f.loc.start.line,column:f.loc.start.column+1}:{global:!0},n=f.global?"noShadowGlobal":"noShadow",e={name:v.name},f.global||(e.shadowedLine=f.line,e.shadowedColumn=f.column),d.report({node:v.identifiers[0],
messageId:n,data:e}))}}}}}}}}},u=>{function c(a){return"undefined"===a.name&&a.references.every(b=>!b.isWrite())&&a.defs.every(b=>"VariableDeclarator"===b.node.type&&null===b.node.init)}u.exports={meta:{type:"suggestion",docs:{description:"disallow identifiers from shadowing restricted names",recommended:!0,url:"https://eslint.org/docs/rules/no-shadow-restricted-names"},schema:[],messages:{shadowingRestrictedName:"Shadowing of global property '{{name}}'."}},create(a){const b=new Set(["undefined",
"NaN","Infinity","arguments","eval"]);return{["VariableDeclaration, :function, CatchClause"](d){for(const m of a.getDeclaredVariables(d))0<m.defs.length&&b.has(m.name)&&!c(m)&&a.report({node:m.defs[0].name,messageId:"shadowingRestrictedName",data:{name:m.name}})}}}}},u=>{u.exports={meta:{type:"layout",docs:{description:"disallow spacing between function identifiers and their applications (deprecated)",recommended:!1,url:"https://eslint.org/docs/rules/no-spaced-func"},deprecated:!0,replacedBy:["func-call-spacing"],
fixable:"whitespace",schema:[],messages:{noSpacedFunction:"Unexpected space between function name and paren."}},create(c){function a(d){const m=b.getLastToken(d.callee);let h=m,k=b.getTokenAfter(m);for(;k&&k.range[1]<d.range[1]&&"("!==k.value;)h=k,k=b.getTokenAfter(k);k&&k.range[1]<d.range[1]&&b.isSpaceBetweenTokens(h,k)&&c.report({node:d,loc:m.loc.start,messageId:"noSpacedFunction",fix(p){return p.removeRange([h.range[1],k.range[0]])}})}const b=c.getSourceCode();return{CallExpression:a,NewExpression:a}}}},
u=>{u.exports={meta:{type:"problem",docs:{description:"disallow sparse arrays",recommended:!0,url:"https://eslint.org/docs/rules/no-sparse-arrays"},schema:[],messages:{unexpectedSparseArray:"Unexpected comma in middle of array."}},create(c){return{ArrayExpression(a){-1<a.elements.indexOf(null)&&c.report({node:a,messageId:"unexpectedSparseArray"})}}}}},u=>{u.exports={meta:{deprecated:!0,replacedBy:[],type:"suggestion",docs:{description:"disallow synchronous methods",recommended:!1,url:"https://eslint.org/docs/rules/no-sync"},
schema:[{type:"object",properties:{allowAtRootLevel:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{noSync:"Unexpected sync method: '{{propertyName}}'."}},create(c){return{[c.options[0]&&c.options[0].allowAtRootLevel?":function MemberExpression[property.name=/.*Sync$/]":"MemberExpression[property.name=/.*Sync$/]"](a){c.report({node:a,messageId:"noSync",data:{propertyName:a.property.name}})}}}}},u=>{const c=/\t+/gu,a=/\S/u;u.exports={meta:{type:"layout",docs:{description:"disallow all tabs",
recommended:!1,url:"https://eslint.org/docs/rules/no-tabs"},schema:[{type:"object",properties:{allowIndentationTabs:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{unexpectedTab:"Unexpected tab character."}},create(b){const d=b.getSourceCode(),m=b.options&&b.options[0]&&b.options[0].allowIndentationTabs;return{Program(h){d.getLines().forEach((k,p)=>{let l;for(;null!==(l=c.exec(k));)m&&!a.test(k.slice(0,l.index))||b.report({node:h,loc:{start:{line:p+1,column:l.index},end:{line:p+1,
column:l.index+l[0].length}},messageId:"unexpectedTab"})})}}}}},u=>{u.exports={meta:{type:"problem",docs:{description:"disallow template literal placeholder syntax in regular strings",recommended:!1,url:"https://eslint.org/docs/rules/no-template-curly-in-string"},schema:[],messages:{unexpectedTemplateExpression:"Unexpected template string expression."}},create(c){const a=/\$\{[^}]+\}/u;return{Literal(b){"string"===typeof b.value&&a.test(b.value)&&c.report({node:b,messageId:"unexpectedTemplateExpression"})}}}}},
u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow ternary operators",recommended:!1,url:"https://eslint.org/docs/rules/no-ternary"},schema:[],messages:{noTernaryOperator:"Ternary operator used."}},create(c){return{ConditionalExpression(a){c.report({node:a,messageId:"noTernaryOperator"})}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"problem",docs:{description:"disallow `this`/`super` before calling `super()` in constructors",recommended:!0,url:"https://eslint.org/docs/rules/no-this-before-super"},
schema:[],messages:{noBeforeSuper:"'{{kind}}' is not allowed before 'super()'."}},create(d){function m(f){return!f.reachable||g[f.id].superCalled}function h(){return!!(l&&l.isConstructor&&l.hasExtends)}function k(){return h()&&!l.codePath.currentSegments.every(m)}function p(f){const n=l.codePath.currentSegments;for(let e=0;e<n.length;++e){const q=n[e];q.reachable&&g[q.id].invalidNodes.push(f)}}let l=null,g=Object.create(null);return{onCodePathStart(f,n){"FunctionExpression"===n.type&&"MethodDefinition"===
n.parent.type&&"constructor"===n.parent.kind?(n=n.parent.parent.parent,l={upper:l,isConstructor:!0,hasExtends:!(!n.superClass||b.isNullOrUndefined(n.superClass)),codePath:f}):l={upper:l,isConstructor:!1,hasExtends:!1,codePath:f}},onCodePathEnd(f){const n=l.hasExtends;l=l.upper;n&&f.traverseSegments((e,q)=>{e=g[e.id];for(let t=0;t<e.invalidNodes.length;++t){const r=e.invalidNodes[t];d.report({messageId:"noBeforeSuper",node:r,data:{kind:"Super"===r.type?"super":"this"}})}e.superCalled&&q.skip()})},
onCodePathSegmentStart(f){h()&&(g[f.id]={superCalled:0<f.prevSegments.length&&f.prevSegments.every(m),invalidNodes:[]})},onCodePathSegmentLoop(f,n){h()&&l.codePath.traverseSegments({first:n,last:f},(e,q)=>{const t=g[e.id];t.superCalled?(t.invalidNodes=[],q.skip()):0<e.prevSegments.length&&e.prevSegments.every(m)&&(t.superCalled=!0,t.invalidNodes=[])})},ThisExpression(f){k()&&p(f)},Super(f){!b.isCallee(f)&&k()&&p(f)},["CallExpression:exit"](f){if("Super"===f.callee.type&&k()){f=l.codePath.currentSegments;
for(let n=0;n<f.length;++n){const e=f[n];e.reachable&&(g[e.id].superCalled=!0)}}},["Program:exit"](){g=Object.create(null)}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow throwing literals as exceptions",recommended:!1,url:"https://eslint.org/docs/rules/no-throw-literal"},schema:[],messages:{object:"Expected an error object to be thrown.",undef:"Do not throw undefined."}},create(d){return{ThrowStatement(m){b.couldBeError(m.argument)?"Identifier"===m.argument.type&&
"undefined"===m.argument.name&&d.report({node:m,messageId:"undef"}):d.report({node:m,messageId:"object"})}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"disallow trailing whitespace at the end of lines",recommended:!1,url:"https://eslint.org/docs/rules/no-trailing-spaces"},fixable:"whitespace",schema:[{type:"object",properties:{skipBlankLines:{type:"boolean",default:!1},ignoreComments:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{trailingSpace:"Trailing spaces not allowed."}},
create(d){function m(e,q,t){d.report({node:e,loc:q,messageId:"trailingSpace",fix(r){return r.removeRange(t)}})}function h(e){const q=new Set;e.forEach(t=>{const r="Block"===t.type?t.loc.end.line-1:t.loc.end.line;for(t=t.loc.start.line;t<=r;t++)q.add(t)});return q}const k=d.getSourceCode(),p="^".concat("[ \t\u00a0\u2000-\u200b\u3000]","*$"),l="".concat("[ \t\u00a0\u2000-\u200b\u3000]","+$"),g=d.options[0]||{},f=g.skipBlankLines||!1,n=g.ignoreComments||!1;return{Program:function(e){const q=new RegExp(l,
"u"),t=new RegExp(p,"u"),r=k.lines,v=k.getText().match(b.createGlobalLinebreakMatcher());var z=k.getAllComments();z=h(z);let E=0;var A;for(let F=0,C=r.length;F<C;F++){const B=F+1;var D=v&&v[F]?v[F].length:1;const I=r[F].length+D;if(A=q.exec(r[F])){D={start:{line:B,column:A.index},end:{line:B,column:I-D}};A=E+D.start.column;const J=E+D.end.column,M=k.getNodeByRangeIndex(A);if(M&&"TemplateElement"===M.type&&A>M.parent.range[0]&&J<M.parent.range[1]){E+=I;continue}if(f&&t.test(r[F])){E+=I;continue}A=
[A,J];n&&z.has(B)||m(e,D,A)}E+=I}}}}}},u=>{u.exports={meta:{type:"problem",docs:{description:"disallow the use of undeclared variables unless mentioned in `/*global */` comments",recommended:!0,url:"https://eslint.org/docs/rules/no-undef"},schema:[{type:"object",properties:{typeof:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{undef:"'{{name}}' is not defined."}},create(c){const a=c.options[0],b=a&&!0===a.typeof||!1;return{["Program:exit"](){c.getScope().through.forEach(d=>{d=d.identifier;
var m;if(m=!b)m=d.parent,m="UnaryExpression"===m.type&&"typeof"===m.operator;m||c.report({node:d,messageId:"undef",data:d})})}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow initializing variables to `undefined`",recommended:!1,url:"https://eslint.org/docs/rules/no-undef-init"},schema:[],fixable:"code",messages:{unnecessaryUndefinedInit:"It's not necessary to initialize '{{name}}' to undefined."}},create(d){const m=d.getSourceCode();return{VariableDeclarator(h){const k=
m.getText(h.id),p=h.init&&h.init.name;var l=d.getScope();l=(l=b.getVariableByName(l,"undefined"))&&0<l.defs.length;const g=m.getLastToken(h);"undefined"!==p||"const"===h.parent.kind||l||d.report({node:h,messageId:"unnecessaryUndefinedInit",data:{name:k},fix(f){return"var"===h.parent.kind||"ArrayPattern"===h.id.type||"ObjectPattern"===h.id.type||m.commentsExistBetween(h.id,g)?null:f.removeRange([h.id.range[1],h.range[1]])}})}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow the use of `undefined` as an identifier",
recommended:!1,url:"https://eslint.org/docs/rules/no-undefined"},schema:[],messages:{unexpectedUndefined:"Unexpected use of undefined."}},create(c){function a(d){c.report({node:d,messageId:"unexpectedUndefined"})}function b(d){if(d=d.set.get("undefined")){var m=d.defs;d.references.filter(h=>!h.init).forEach(h=>a(h.identifier));m.forEach(h=>a(h.name))}}return{["Program:exit"](){const d=[c.getScope()];for(;d.length;){const m=d.pop();d.push(...m.childScopes);b(m)}}}}}},u=>{u.exports={meta:{type:"suggestion",
docs:{description:"disallow dangling underscores in identifiers",recommended:!1,url:"https://eslint.org/docs/rules/no-underscore-dangle"},schema:[{type:"object",properties:{allow:{type:"array",items:{type:"string"}},allowAfterThis:{type:"boolean",default:!1},allowAfterSuper:{type:"boolean",default:!1},allowAfterThisConstructor:{type:"boolean",default:!1},enforceInMethodNames:{type:"boolean",default:!1},allowFunctionParams:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{unexpectedUnderscore:"Unexpected dangling '_' in '{{identifier}}'."}},
create(c){function a(q){return p.some(t=>t===q)}function b(q){const t=q.length;return"_"!==q&&("_"===q[0]||"_"===q[t-1])}function d(q){e||q.params.forEach(t=>{var {type:r}=t;r="RestElement"===r?t.argument:"AssignmentPattern"===r?t.left:t;"Identifier"===r.type&&(r=r.name,b(r)&&!a(r)&&c.report({node:t,messageId:"unexpectedUnderscore",data:{identifier:r}}))})}function m(q){if("FunctionDeclaration"===q.type&&q.id){const t=q.id.name;"undefined"!==typeof t&&b(t)&&!a(t)&&c.report({node:q,messageId:"unexpectedUnderscore",
data:{identifier:t}})}d(q)}function h(q){const t=q.key.name,r="MethodDefinition"===q.type||"Property"===q.type&&q.method;"undefined"!==typeof t&&n&&r&&b(t)&&!a(t)&&c.report({node:q,messageId:"unexpectedUnderscore",data:{identifier:"PrivateIdentifier"===q.key.type?"#".concat(t):t}})}const k=c.options[0]||{},p=k.allow?k.allow:[],l="undefined"!==typeof k.allowAfterThis?k.allowAfterThis:!1,g="undefined"!==typeof k.allowAfterSuper?k.allowAfterSuper:!1,f="undefined"!==typeof k.allowAfterThisConstructor?
k.allowAfterThisConstructor:!1,n="undefined"!==typeof k.enforceInMethodNames?k.enforceInMethodNames:!1,e="undefined"!==typeof k.allowFunctionParams?k.allowFunctionParams:!0;return{FunctionDeclaration:m,VariableDeclarator:function(q){const t=q.id.name;"undefined"!==typeof t&&b(t)&&"_"!==t&&!a(t)&&c.report({node:q,messageId:"unexpectedUnderscore",data:{identifier:t}})},MemberExpression:function(q){const t=q.property.name,r="ThisExpression"===q.object.type,v="Super"===q.object.type,z="MemberExpression"===
q.object.type&&"constructor"===q.object.property.name&&"ThisExpression"===q.object.object.type;"undefined"===typeof t||!b(t)||r&&l||v&&g||z&&f||"__proto__"===t||a(t)||c.report({node:q,messageId:"unexpectedUnderscore",data:{identifier:t}})},MethodDefinition:h,PropertyDefinition:h,Property:h,FunctionExpression:m,ArrowFunctionExpression:m}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"problem",docs:{description:"disallow confusing multiline expressions",recommended:!0,url:"https://eslint.org/docs/rules/no-unexpected-multiline"},
schema:[],messages:{function:"Unexpected newline between function and ( of function call.",property:"Unexpected newline between object and [ of property access.",taggedTemplate:"Unexpected newline between template tag and template literal.",division:"Unexpected newline between numerator and division operator."}},create(d){function m(p,l){const g=k.getTokenAfter(p,b.isNotClosingParenToken),f=k.getTokenBefore(g);g.loc.start.line!==f.loc.end.line&&d.report({node:p,loc:g.loc,messageId:l})}const h=/^[gimsuy]+$/u,
k=d.getSourceCode();return{MemberExpression(p){p.computed&&!p.optional&&m(p.object,"property")},TaggedTemplateExpression(p){const {quasi:l}=p;k.getTokenBefore(l).loc.end.line!==l.loc.start.line&&d.report({node:p,loc:{start:l.loc.start,end:{line:l.loc.start.line,column:l.loc.start.column+1}},messageId:"taggedTemplate"})},CallExpression(p){0===p.arguments.length||p.optional||m(p.callee,"function")},["BinaryExpression[operator='/'] > BinaryExpression[operator='/'].left"](p){const l=k.getTokenAfter(p,
f=>"/"===f.value),g=k.getTokenAfter(l);"Identifier"===g.type&&h.test(g.value)&&l.range[1]===g.range[0]&&m(p.left,"division")}}}}},(u,c,a)=>{function b(t){if(t.init){const r=t.resolved&&t.resolved.defs[0];if(!r||"Variable"!==r.type||"var"!==r.parent.kind)return!1}return t.isWrite()}function d(t){return!t.modified}function m(t){return!(t.modified||t.group)}function h(t,r){t=t.range;r=r.identifier.range;return t[0]<=r[0]&&r[1]<=t[1]}const k=a(518),p=a(571),l=/(?:(?:Call|Class|Function|Member|New|Yield)Expression|Statement|Declaration)$/u,
g=/^(?:DoWhile|For|While)Statement$/u,f=/^(?:BinaryExpression|ConditionalExpression)$/u,n=/^(?:ArrowFunction|Class|Function)Expression$/u,e=/^(?:Call|Member|New|TaggedTemplate|Yield)Expression$/u,q={WhileStatement:h,DoWhileStatement:h,ForStatement(t,r){return h(t,r)&&!(t.init&&h(t.init,r))}};u.exports={meta:{type:"problem",docs:{description:"disallow unmodified loop conditions",recommended:!1,url:"https://eslint.org/docs/rules/no-unmodified-loop-condition"},schema:[],messages:{loopConditionNotModified:"'{{name}}' is not modified in this loop."}},
create(t){function r(C){C=C.reference.identifier;t.report({node:C,messageId:"loopConditionNotModified",data:C})}function v(C){C.every(d)&&C.forEach(r)}function z(C){let B=!1;k.traverse(C,{visitorKeys:D.visitorKeys,enter(I){e.test(I.type)?(B=!0,this.break()):n.test(I.type)&&this.skip()}});return B}function E(C){if(C.init)return null;let B=null,I=C.identifier,J=I.parent;for(;J;){if(l.test(J.type)){if(g.test(J.type)&&J.test===I)return{reference:C,group:B,isInLoop:q[J.type].bind(null,J),modified:!1};
break}if(f.test(J.type))if(z(J))break;else B=J;I=J;J=J.parent}return null}function A(C){const B=C.references.map(E).filter(Boolean);if(0!==B.length){for(var I=0;I<B.length;++I){var J=B[I];if(J.group){var M=F.get(J.group);M||(M=[],F.set(J.group,M));M.push(J)}}C=C.references.filter(b);if(0<C.length)for(I=0;I<B.length;++I)for(J=B[I],M=0;!J.modified&&M<C.length;++M){const O=C[M];let N,L;var P;if(!(P=J.isInLoop(O))){a:{for(P=O.identifier;P;){if("FunctionDeclaration"===P.type){P=P.id?P:null;break a}P=P.parent}P=
null}P=!!((N=P)&&(L=p.getVariableByName(O.from.upper,N.id.name))&&L.references.some(J.isInLoop))}J.modified=P}B.filter(m).forEach(r)}}const D=t.getSourceCode();let F=null;return{["Program:exit"](){const C=[t.getScope()];F=new Map;let B;for(;B=C.pop();)C.push(...B.childScopes),B.variables.forEach(A);F.forEach(v);F=null}}}}},(u,c,a)=>{const b=a(571),d=new Set("== === != !== > >= < <= in instanceof".split(" ")),m={"==":"!=","!=":"==","===":"!==","!==":"==="},h=b.getPrecedence({type:"LogicalExpression",
operator:"||"});u.exports={meta:{type:"suggestion",docs:{description:"disallow ternary operators when simpler alternatives exist",recommended:!1,url:"https://eslint.org/docs/rules/no-unneeded-ternary"},schema:[{type:"object",properties:{defaultAssignment:{type:"boolean",default:!0}},additionalProperties:!1}],fixable:"code",messages:{unnecessaryConditionalExpression:"Unnecessary use of boolean literals in conditional expression.",unnecessaryConditionalAssignment:"Unnecessary use of conditional expression for default assignment."}},
create(k){function p(e){return"Literal"===e.type&&"boolean"===typeof e.value}function l(e){if("BinaryExpression"===e.type&&Object.prototype.hasOwnProperty.call(m,e.operator)){const q=n.getFirstTokenBetween(e.left,e.right,r=>r.value===e.operator),t=n.getText();return t.slice(e.range[0],q.range[0])+m[e.operator]+t.slice(q.range[1],e.range[1])}return b.getPrecedence(e)<b.getPrecedence({type:"UnaryExpression"})?"!(".concat(b.getParenthesisedText(n,e),")"):"!".concat(b.getParenthesisedText(n,e))}function g(e){return"BinaryExpression"===
e.type&&d.has(e.operator)||"UnaryExpression"===e.type&&"!"===e.operator}const f=!1!==(k.options[0]||{}).defaultAssignment,n=k.getSourceCode();return{ConditionalExpression(e){p(e.alternate)&&p(e.consequent)?k.report({node:e,messageId:"unnecessaryConditionalExpression",fix(q){return e.consequent.value===e.alternate.value?"Identifier"===e.test.type?q.replaceText(e,e.consequent.value.toString()):null:e.alternate.value?q.replaceText(e,l(e.test)):q.replaceText(e,g(e.test)?b.getParenthesisedText(n,e.test):
"!".concat(l(e.test)))}}):f||"Identifier"!==e.test.type||"Identifier"!==e.consequent.type||e.test.name!==e.consequent.name||k.report({node:e,messageId:"unnecessaryConditionalAssignment",fix:q=>{const t=(b.getPrecedence(e.alternate)<h||b.isCoalesceExpression(e.alternate))&&!b.isParenthesised(n,e.alternate)?"(".concat(n.getText(e.alternate),")"):b.getParenthesisedText(n,e.alternate),r=b.getParenthesisedText(n,e.test);return q.replaceText(e,"".concat(r," || ").concat(t))}})}}}}},u=>{function c(d){return!!d.init}
function a(d){return!d.reachable}class b{constructor(d){this.sourceCode=d;this.endNode=this.startNode=null}get location(){return{start:this.startNode.loc.start,end:this.endNode.loc.end}}get isEmpty(){return!(this.startNode&&this.endNode)}contains(d){return d.range[0]>=this.startNode.range[0]&&d.range[1]<=this.endNode.range[1]}isConsecutive(d){return this.contains(this.sourceCode.getTokenBefore(d))}merge(d){this.endNode=d}reset(d){this.startNode=this.endNode=d}}u.exports={meta:{type:"problem",docs:{description:"disallow unreachable code after `return`, `throw`, `continue`, and `break` statements",
recommended:!0,url:"https://eslint.org/docs/rules/no-unreachable"},schema:[],messages:{unreachableCode:"Unreachable code."}},create(d){function m(l){let g=null;if(l&&("PropertyDefinition"===l.type||h.currentSegments.every(a))){if(p.isEmpty){p.reset(l);return}if(p.contains(l))return;if(p.isConsecutive(l)){p.merge(l);return}g=l}p.isEmpty||d.report({messageId:"unreachableCode",loc:p.location,node:p.startNode});p.reset(g)}let h=null,k=null;const p=new b(d.getSourceCode());return{onCodePathStart(l){h=
l},onCodePathEnd(){h=h.upper},BlockStatement:m,BreakStatement:m,ClassDeclaration:m,ContinueStatement:m,DebuggerStatement:m,DoWhileStatement:m,ExpressionStatement:m,ForInStatement:m,ForOfStatement:m,ForStatement:m,IfStatement:m,ImportDeclaration:m,LabeledStatement:m,ReturnStatement:m,SwitchStatement:m,ThrowStatement:m,TryStatement:m,VariableDeclaration(l){("var"!==l.kind||l.declarations.some(c))&&m(l)},WhileStatement:m,WithStatement:m,ExportNamedDeclaration:m,ExportDefaultDeclaration:m,ExportAllDeclaration:m,
["Program:exit"](){m()},["MethodDefinition[kind='constructor']"](){k={upper:k,hasSuperCall:!1}},["MethodDefinition[kind='constructor']:exit"](l){const {hasSuperCall:g}=k;k=k.upper;if(l.value.body&&(l=l.parent.parent,l.superClass&&!g))for(const f of l.body.body)"PropertyDefinition"!==f.type||f.static||m(f)},["CallExpression > Super.callee"](){k&&(k.hasSuperCall=!0)}}}}},u=>{function c(d){const m=d.parent;if(m)switch(m.type){case "WhileStatement":return d===m.test;case "DoWhileStatement":return d===
m.body;case "ForStatement":return d===(m.update||m.test||m.body);case "ForInStatement":case "ForOfStatement":return d===m.left}return!1}function a(d,m){return d.filter(h=>!m.includes(h))}const b=["WhileStatement","DoWhileStatement","ForStatement","ForInStatement","ForOfStatement"];u.exports={meta:{type:"problem",docs:{description:"disallow loops with a body that allows only one iteration",recommended:!1,url:"https://eslint.org/docs/rules/no-unreachable-loop"},schema:[{type:"object",properties:{ignore:{type:"array",
items:{enum:b},uniqueItems:!0}},additionalProperties:!1}],messages:{invalid:"Invalid loop. Its body allows only one iteration."}},create(d){const m=a(b,d.options[0]&&d.options[0].ignore||[]).join(","),h=new Map,k=new Set;let p=null;return{onCodePathStart(l){p=l},onCodePathEnd(){p=p.upper},[m](l){p.currentSegments.some(g=>g.reachable)&&k.add(l)},onCodePathSegmentStart(l,g){c(g)&&h.set(l,g.parent)},onCodePathSegmentLoop(l,g,f){l=h.get(g);f!==l&&"ContinueStatement"!==f.type||k.delete(l)},["Program:exit"](){k.forEach(l=>
d.report({node:l,messageId:"invalid"}))}}}}},u=>{const c=/^(?:Program|(?:Function|Class)(?:Declaration|Expression)|ArrowFunctionExpression)$/u,a=/^(?:Program|(?:Function|Class)(?:Declaration|Expression)|ArrowFunctionExpression|DoWhileStatement|WhileStatement|ForOfStatement|ForInStatement|ForStatement|SwitchStatement)$/u,b=/^(?:Program|(?:Function|Class)(?:Declaration|Expression)|ArrowFunctionExpression|DoWhileStatement|WhileStatement|ForOfStatement|ForInStatement|ForStatement)$/u;u.exports={meta:{type:"problem",
docs:{description:"disallow control flow statements in `finally` blocks",recommended:!0,url:"https://eslint.org/docs/rules/no-unsafe-finally"},schema:[],messages:{unsafeUsage:"Unsafe usage of {{nodeType}}."}},create(d){function m(h){a:{var k=h.label;let p=!1,l;l="BreakStatement"!==h.type||h.label?"ContinueStatement"===h.type?b:c:a;for(let g=h;g&&!l.test(g.type);g=g.parent)if(g.parent.label&&k&&g.parent.label.name===k.name&&(p=!0),"TryStatement"===g.parent.type&&g.parent.finalizer===g){if(k&&p){k=
!1;break a}k=!0;break a}k=!1}k&&d.report({messageId:"unsafeUsage",data:{nodeType:h.type},node:h,line:h.loc.line,column:h.loc.column})}return{ReturnStatement:m,ThrowStatement:m,BreakStatement:m,ContinueStatement:m}}}},(u,c,a)=>{function b(m){return"UnaryExpression"===m.type&&"!"===m.operator}const d=a(571);u.exports={meta:{type:"problem",docs:{description:"disallow negating the left operand of relational operators",recommended:!0,url:"https://eslint.org/docs/rules/no-unsafe-negation"},hasSuggestions:!0,
schema:[{type:"object",properties:{enforceForOrderingRelations:{type:"boolean",default:!1}},additionalProperties:!1}],fixable:null,messages:{unexpected:"Unexpected negating the left operand of '{{operator}}' operator.",suggestNegatedExpression:"Negate '{{operator}}' expression instead of its left operand. This changes the current behavior.",suggestParenthesisedNegation:"Wrap negation in '()' to make the intention explicit. This preserves the current behavior."}},create(m){const h=m.getSourceCode(),
k=!0===(m.options[0]||{}).enforceForOrderingRelations;return{BinaryExpression(p){const l=p.operator,g=k&&("<"===l||">"===l||">="===l||"<="===l);"in"!==l&&"instanceof"!==l&&!g||!b(p.left)||d.isParenthesised(h,p.left)||m.report({node:p,loc:p.left.loc,messageId:"unexpected",data:{operator:l},suggest:[{messageId:"suggestNegatedExpression",data:{operator:l},fix(f){const n=[h.getFirstToken(p.left).range[1],p.range[1]],e=h.text.slice(n[0],n[1]);return f.replaceTextRange(n,"(".concat(e,")"))}},{messageId:"suggestParenthesisedNegation",
fix(f){return f.replaceText(p.left,"(".concat(h.getText(p.left),")"))}}]})}}}}},u=>{function c(m){return"ObjectPattern"===m.type||"ArrayPattern"===m.type}const a=new Set("+ - / * % **".split(" ")),b=new Set("+= -= /= *= %= **=".split(" ")),d=new Set(["in","instanceof"]);u.exports={meta:{type:"problem",docs:{description:"disallow use of optional chaining in contexts where the `undefined` value is not allowed",recommended:!0,url:"https://eslint.org/docs/rules/no-unsafe-optional-chaining"},schema:[{type:"object",
properties:{disallowArithmeticOperators:{type:"boolean",default:!1}},additionalProperties:!1}],fixable:null,messages:{unsafeOptionalChain:"Unsafe usage of optional chaining. If it short-circuits with 'undefined' the evaluation will throw TypeError.",unsafeArithmetic:"Unsafe arithmetic operation on optional chaining. It can result in NaN."}},create(m){function h(f){m.report({messageId:"unsafeOptionalChain",node:f})}function k(f){m.report({messageId:"unsafeArithmetic",node:f})}function p(f,n){if(f)switch(f.type){case "LogicalExpression":"||"===
f.operator||"??"===f.operator?p(f.right,n):"&&"===f.operator&&(p(f.left,n),p(f.right,n));break;case "SequenceExpression":p(f.expressions[f.expressions.length-1],n);break;case "ConditionalExpression":p(f.consequent,n);p(f.alternate,n);break;case "AwaitExpression":p(f.argument,n);break;case "ChainExpression":n(f)}}function l(f){p(f,h)}const g=(m.options[0]||{}).disallowArithmeticOperators||!1;return{["AssignmentExpression, AssignmentPattern"](f){c(f.left)&&l(f.right)},["ClassDeclaration, ClassExpression"](f){l(f.superClass)},
CallExpression(f){f.optional||l(f.callee)},NewExpression(f){l(f.callee)},VariableDeclarator(f){c(f.id)&&l(f.init)},MemberExpression(f){f.optional||l(f.object)},TaggedTemplateExpression(f){l(f.tag)},ForOfStatement(f){l(f.right)},SpreadElement(f){f.parent&&"ObjectExpression"!==f.parent.type&&l(f.argument)},BinaryExpression(f){d.has(f.operator)&&l(f.right);g&&a.has(f.operator)&&(p(f.right,k),p(f.left,k))},WithStatement(f){l(f.object)},UnaryExpression(f){g&&a.has(f.operator)&&p(f.argument,k)},AssignmentExpression(f){g&&
b.has(f.operator)&&p(f.right,k)}}}}},u=>{function c(){return!0}function a(){return!1}u.exports={meta:{type:"suggestion",docs:{description:"disallow unused expressions",recommended:!1,url:"https://eslint.org/docs/rules/no-unused-expressions"},schema:[{type:"object",properties:{allowShortCircuit:{type:"boolean",default:!1},allowTernary:{type:"boolean",default:!1},allowTaggedTemplates:{type:"boolean",default:!1},enforceForJSX:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{unusedExpression:"Expected an assignment or function call and instead saw an expression."}},
create(b){const d=b.options[0]||{},m=d.allowShortCircuit||!1,h=d.allowTernary||!1,k=d.allowTaggedTemplates||!1,p=d.enforceForJSX||!1,l=Object.assign(Object.create(null),{isDisallowed(g){return(l[g.type]||a)(g)},ArrayExpression:c,ArrowFunctionExpression:c,BinaryExpression:c,ChainExpression(g){return l.isDisallowed(g.expression)},ClassExpression:c,ConditionalExpression(g){return h?l.isDisallowed(g.consequent)||l.isDisallowed(g.alternate):!0},FunctionExpression:c,Identifier:c,JSXElement(){return p},
JSXFragment(){return p},Literal:c,LogicalExpression(g){return m?l.isDisallowed(g.right):!0},MemberExpression:c,MetaProperty:c,ObjectExpression:c,SequenceExpression:c,TaggedTemplateExpression(){return!k},TemplateLiteral:c,ThisExpression:c,UnaryExpression(g){return"void"!==g.operator&&"delete"!==g.operator}});return{ExpressionStatement(g){var f;if(f=l.isDisallowed(g.expression)){var n=b.getAncestors();f=n[n.length-1];n=n[n.length-2];if(n="Program"===f.type||"BlockStatement"===f.type&&/Function/u.test(n.type)){a:{f=
f.body;for(n=0;n<f.length;++n){var e=f[n];e="ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"===typeof e.expression.value;if(!e){f=f.slice(0,n);break a}}f=f.slice()}n=0<=f.indexOf(g)}f=!n}f&&b.report({node:g,messageId:"unusedExpression"})}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow unused labels",recommended:!0,url:"https://eslint.org/docs/rules/no-unused-labels"},schema:[],fixable:"code",messages:{unused:"'{{name}}:' is defined but never used."}},
create(c){function a(m){if(m.label){m=m.label.name;for(var h=d;h;){if(h.label===m){h.used=!0;break}h=h.upper}}}const b=c.getSourceCode();let d=null;return{LabeledStatement:function(m){d={label:m.label.name,used:!1,upper:d}},"LabeledStatement:exit":function(m){d.used||c.report({node:m.label,messageId:"unused",data:m.label,fix(h){return b.getTokenAfter(m.label,{includeComments:!0})===b.getTokenBefore(m.body,{includeComments:!0})?h.removeRange([m.range[0],m.body.range[0]]):null}});d=d.upper},BreakStatement:a,
ContinueStatement:a}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"problem",docs:{description:"disallow unused variables",recommended:!0,url:"https://eslint.org/docs/rules/no-unused-vars"},schema:[{oneOf:[{enum:["all","local"]},{type:"object",properties:{vars:{enum:["all","local"]},varsIgnorePattern:{type:"string"},args:{enum:["all","after-used","none"]},ignoreRestSiblings:{type:"boolean"},argsIgnorePattern:{type:"string"},caughtErrors:{enum:["all","none"]},caughtErrorsIgnorePattern:{type:"string"}},
additionalProperties:!1}]}],messages:{unusedVar:"'{{varName}}' is {{action}} but never used{{additional}}."}},create(d){function m(D){var F=D.defs&&D.defs[0]&&D.defs[0].type;let C,B;"CatchClause"===F&&z.caughtErrorsIgnorePattern?(C="args",B=z.caughtErrorsIgnorePattern.toString()):"Parameter"===F&&z.argsIgnorePattern?(C="args",B=z.argsIgnorePattern.toString()):"Parameter"!==F&&z.varsIgnorePattern&&(C="vars",B=z.varsIgnorePattern.toString());F=C?". Allowed unused ".concat(C," must match ").concat(B):
"";return{varName:D.name,action:"defined",additional:F}}function h(D){const F=z.varsIgnorePattern?". Allowed unused vars must match ".concat(z.varsIgnorePattern.toString()):"";return{varName:D.name,action:"assigned a value",additional:F}}function k(D){return"Property"===D.type&&"ObjectPattern"===D.parent.type&&v.test(D.parent.properties[D.parent.properties.length-1].type)}function p(D){if(z.ignoreRestSiblings){const F=D.defs.some(C=>k(C.name.parent));D=D.references.some(C=>k(C.identifier.parent));
return F||D}return!1}function l(D){const F=[];D.defs.forEach(C=>{const {type:B,node:I}=C;"FunctionName"===B&&F.push(I);"Variable"!==B||!I.init||"FunctionExpression"!==I.init.type&&"ArrowFunctionExpression"!==I.init.type||F.push(I.init)});return F}function g(D,F){return D.range[0]>=F.range[0]&&D.range[1]<=F.range[1]}function f(D){const F=D.parent;return"ExpressionStatement"===F.type?!0:"SequenceExpression"===F.type?F.expressions[F.expressions.length-1]!==D?!0:f(F):!1}function n(D,F){let C=D;for(D=
D.parent;D&&g(D,F);){switch(D.type){case "SequenceExpression":if(D.expressions[D.expressions.length-1]!==C)return!1;break;case "CallExpression":case "NewExpression":return D.callee!==C;case "AssignmentExpression":case "TaggedTemplateExpression":case "YieldExpression":return!0;default:if(A.test(D.type))return!0}C=D;D=D.parent}return!1}function e(D){const F=l(D),C=0<F.length;let B=null;return D.references.some(I=>{var J=I.identifier.parent;"VariableDeclarator"===J.type&&(J=J.parent.parent);J="ForInStatement"!==
J.type?!1:(J="BlockStatement"===J.body.type?J.body.body[0]:J.body)?"ReturnStatement"===J.type:!1;if(J)return!0;J=B;var M=I.identifier,P=M.parent,O;(O=I.isRead())&&!(O="AssignmentExpression"===P.type&&P.left===M&&f(P)||"UpdateExpression"===P.type&&f(P))&&(O=J&&g(M,J))&&(J=(M=b.getUpperFunction(M))&&g(M,J)&&n(M,J),O=!J);J=O;{M=B;O=I.identifier;P=O.parent;const N=I.from.variableScope!==I.resolved.scope.variableScope||b.isInLoop(O);B=M&&g(O,M)?M:"AssignmentExpression"===P.type&&f(P)&&O===P.left&&!N?P.right:
null}if(J=I.isRead()&&!J){if(J=C)a:{for(I=I.from;I;){if(0<=F.indexOf(I.block)){J=!0;break a}I=I.upper}J=!1}J=!J}return J})}function q(D){const F=d.getDeclaredVariables(D.defs[0].node);return!F.slice(F.indexOf(D)+1).some(C=>0<C.references.length||C.eslintUsed)}function t(D,F){const C=D.variables,B=D.childScopes;let I,J;if("global"!==D.type||"all"===z.vars)for(I=0,J=C.length;I<J;++I){const O=C[I];if(!("class"===D.type&&D.block.id===O.identifiers[0]||D.functionExpressionScope||O.eslintUsed||"function"===
D.type&&"arguments"===O.name&&0===O.identifiers.length)){var M=O.defs[0];if(M){var P=M.type;if("CatchClause"===P){if("none"===z.caughtErrors)continue;if(z.caughtErrorsIgnorePattern&&z.caughtErrorsIgnorePattern.test(M.name.name))continue}if("Parameter"===P){if(("Property"===M.node.parent.type||"MethodDefinition"===M.node.parent.type)&&"set"===M.node.parent.kind)continue;if("none"===z.args)continue;if(z.argsIgnorePattern&&z.argsIgnorePattern.test(M.name.name))continue;if("after-used"===z.args&&b.isFunction(M.name.parent)&&
!q(O))continue}else if(z.varsIgnorePattern&&z.varsIgnorePattern.test(M.name.name))continue}if(M=!e(O)){a:if(M=O.defs[0]){P=M.node;if("VariableDeclarator"===P.type)P=P.parent;else if("Parameter"===M.type){M=!1;break a}M=0===P.parent.type.indexOf("Export")}else M=!1;M=!M}M&&!p(O)&&F.push(O)}}I=0;for(J=B.length;I<J;++I)t(B[I],F);return F}const r=d.getSourceCode(),v=/^(?:RestElement|(?:Experimental)?RestProperty)$/u,z={vars:"all",args:"after-used",ignoreRestSiblings:!1,caughtErrors:"none"},E=d.options[0];
E&&("string"===typeof E?z.vars=E:(z.vars=E.vars||z.vars,z.args=E.args||z.args,z.ignoreRestSiblings=E.ignoreRestSiblings||z.ignoreRestSiblings,z.caughtErrors=E.caughtErrors||z.caughtErrors,E.varsIgnorePattern&&(z.varsIgnorePattern=new RegExp(E.varsIgnorePattern,"u")),E.argsIgnorePattern&&(z.argsIgnorePattern=new RegExp(E.argsIgnorePattern,"u")),E.caughtErrorsIgnorePattern&&(z.caughtErrorsIgnorePattern=new RegExp(E.caughtErrorsIgnorePattern,"u"))));const A=/(?:Statement|Declaration)$/u;return{["Program:exit"](D){const F=
t(d.getScope(),[]);for(let C=0,B=F.length;C<B;++C){const I=F[C];if(0<I.defs.length){const J=I.references.filter(P=>P.isWrite()&&P.from.variableScope===I.scope.variableScope);let M;0<J.length&&(M=J[J.length-1]);d.report({node:M?M.identifier:I.identifiers[0],messageId:"unusedVar",data:I.references.some(P=>P.isWrite())?h(I):m(I)})}else I.eslintExplicitGlobalComments&&d.report({node:D,loc:b.getNameLocationInGlobalDirectiveComment(r,I.eslintExplicitGlobalComments[0],I.name),messageId:"unusedVar",data:m(I)})}}}}}},
u=>{function c(h){let k=!0,p=!0,l=!0;"string"===typeof h?k="nofunc"!==h:"object"===typeof h&&null!==h&&(k=!1!==h.functions,p=!1!==h.classes,l=!1!==h.variables);return{functions:k,classes:p,variables:l}}function a(h,k){return h&&h.range[0]<=k&&k<=h.range[1]}function b(h,k){if(h.scope!==k.from)return!1;h=h.identifiers[0].parent;for(k=k.identifier.range[1];h;){if("VariableDeclarator"===h.type){if(a(h.init,k)||m.test(h.parent.parent.type)&&a(h.parent.parent.right,k))return!0;break}else if("AssignmentPattern"===
h.type){if(a(h.right,k))return!0}else if(d.test(h.type))break;h=h.parent}return!1}const d=/^(?:(?:Function|Class)(?:Declaration|Expression)|ArrowFunctionExpression|CatchClause|ImportDeclaration|ExportNamedDeclaration)$/u,m=/^For(?:In|Of)Statement$/u;u.exports={meta:{type:"problem",docs:{description:"disallow the use of variables before they are defined",recommended:!1,url:"https://eslint.org/docs/rules/no-use-before-define"},schema:[{oneOf:[{enum:["nofunc"]},{type:"object",properties:{functions:{type:"boolean"},
classes:{type:"boolean"},variables:{type:"boolean"}},additionalProperties:!1}]}],messages:{usedBeforeDefined:"'{{name}}' was used before it was defined."}},create(h){function k(l){l.references.forEach(g=>{const f=g.resolved;g.init||!f||0===f.identifiers.length||f.identifiers[0].range[1]<g.identifier.range[1]&&!b(f,g)||!("FunctionName"===f.defs[0].type?p.functions:"ClassName"===f.defs[0].type&&f.scope.variableScope!==g.from.variableScope?p.classes:"Variable"===f.defs[0].type&&f.scope.variableScope!==
g.from.variableScope?p.variables:1)||h.report({node:g.identifier,messageId:"usedBeforeDefined",data:g.identifier})});l.childScopes.forEach(k)}const p=c(h.options[0]);return{Program(){k(h.getScope())}}}}},(u,c,a)=>{function b(e){const q=[];do q.push(e),e=e.parent;while(e);return q}function d(e){return"Assertion"===e.type&&("lookahead"===e.kind||"lookbehind"===e.kind)}function m(e){return d(e)&&e.negate}const {CALL:h,CONSTRUCT:k,ReferenceTracker:p,getStringIfConstant:l}=a(524),{RegExpParser:g,visitRegExpAST:f}=
a(674),n=new g;u.exports={meta:{type:"problem",docs:{description:"disallow useless backreferences in regular expressions",recommended:!0,url:"https://eslint.org/docs/rules/no-useless-backreference"},schema:[],messages:{nested:"Backreference '{{ bref }}' will be ignored. It references group '{{ group }}' from within that group.",forward:"Backreference '{{ bref }}' will be ignored. It references group '{{ group }}' which appears later in the pattern.",backward:"Backreference '{{ bref }}' will be ignored. It references group '{{ group }}' which appears before in the same lookbehind.",
disjunctive:"Backreference '{{ bref }}' will be ignored. It references group '{{ group }}' which is in another alternative.",intoNegativeLookaround:"Backreference '{{ bref }}' will be ignored. It references group '{{ group }}' which is in a negative lookaround."}},create(e){function q(t,r,v){let z;try{z=n.parsePattern(r,0,r.length,v.includes("u"))}catch(E){return}f(z,{onBackreferenceEnter(E){const A=E.resolved;var D=b(E),F=b(A);let C=null;if(D.includes(A))C="nested";else{var B=D.length-1;let I=F.length-
1;do B--,I--;while(D[B]===F[I]);B=I+1;D=F.slice(0,B);F=(F=F.slice(B).find(d))&&"lookbehind"===F.kind;!F&&E.end<=A.start?C="forward":F&&A.end<=E.start?C="backward":"Alternative"===D[D.length-1].type?C="disjunctive":D.some(m)&&(C="intoNegativeLookaround")}C&&e.report({node:t,messageId:C,data:{bref:E.raw,group:A.raw}})}})}return{["Literal[regex]"](t){const {pattern:r,flags:v}=t.regex;q(t,r,v)},Program(){const t=e.getScope();var r=new p(t),v={RegExp:{[h]:!0,[k]:!0}};for(const {node:z}of r.iterateGlobalReferences(v)){const [E,
A]=z.arguments;r=l(E,t);v=l(A,t);"string"===typeof r&&q(z,r,v||"")}}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow unnecessary calls to `.call()` and `.apply()`",recommended:!1,url:"https://eslint.org/docs/rules/no-useless-call"},schema:[],messages:{unnecessaryCall:"Unnecessary '.{{name}}()'."}},create(d){const m=d.getSourceCode();return{CallExpression(h){var k=b.skipChainExpression(h.callee);if(k="MemberExpression"===k.type&&"Identifier"===k.property.type&&
!1===k.computed&&("call"===k.property.name&&1<=h.arguments.length||"apply"===k.property.name&&2===h.arguments.length&&"ArrayExpression"===h.arguments[1].type)){k=b.skipChainExpression(h.callee);var p=b.skipChainExpression(k.object);p="MemberExpression"===p.type?p.object:null;var l=h.arguments[0];p=p?b.equalTokens(p,l,m):b.isNullOrUndefined(l);p&&d.report({node:h,messageId:"unnecessaryCall",data:{name:k.property.name}})}}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow unnecessary `catch` clauses",
recommended:!0,url:"https://eslint.org/docs/rules/no-useless-catch"},schema:[],messages:{unnecessaryCatchClause:"Unnecessary catch clause.",unnecessaryCatch:"Unnecessary try/catch wrapper."}},create(c){return{CatchClause(a){a.param&&"Identifier"===a.param.type&&a.body.body.length&&"ThrowStatement"===a.body.body[0].type&&"Identifier"===a.body.body[0].argument.type&&a.body.body[0].argument.name===a.param.name&&(a.parent.finalizer?c.report({node:a,messageId:"unnecessaryCatchClause"}):c.report({node:a.parent,
messageId:"unnecessaryCatch"}))}}}}},(u,c,a)=>{function b(m){if(!m.computed)return!1;var {key:h}=m;if("Literal"!==h.type)return!1;({value:h}=h);if("number"!==typeof h&&"string"!==typeof h)return!1;switch(m.type){case "Property":return"__proto__"!==h;case "PropertyDefinition":return m.static?"constructor"!==h&&"prototype"!==h:"constructor"!==h;case "MethodDefinition":return m.static?"prototype"!==h:"constructor"!==h;default:throw Error("Unexpected node type: ".concat(m.type));}}const d=a(571);u.exports=
{meta:{type:"suggestion",docs:{description:"disallow unnecessary computed property keys in objects and classes",recommended:!1,url:"https://eslint.org/docs/rules/no-useless-computed-key"},schema:[{type:"object",properties:{enforceForClassMembers:{type:"boolean",default:!1}},additionalProperties:!1}],fixable:"code",messages:{unnecessarilyComputedProperty:"Unnecessarily computed property [{{property}}] found."}},create(m){function h(g){if(b(g)){const {key:f}=g;m.report({node:g,messageId:"unnecessarilyComputedProperty",
data:{property:p.getText(f)},fix(n){const e=p.getTokenBefore(f,d.isOpeningBracketToken),q=p.getTokenAfter(f,d.isClosingBracketToken);if(p.commentsExistBetween(e,q))return null;var t=p.getTokenBefore(e);t=(t.range[1]!==e.range[0]||d.canTokensBeAdjacent(t,p.getFirstToken(f))?"":" ")+f.raw;return n.replaceTextRange([e.range[0],q.range[1]],t)}})}}function k(){}const p=m.getSourceCode(),l=m.options[0]&&m.options[0].enforceForClassMembers;return{Property:h,MethodDefinition:l?h:k,PropertyDefinition:l?h:
k}}}},(u,c,a)=>{function b(h){return"BinaryExpression"===h.type&&"+"===h.operator}function d(h){return"+"===h.value&&"Punctuator"===h.type}const m=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow unnecessary concatenation of literals or template literals",recommended:!1,url:"https://eslint.org/docs/rules/no-useless-concat"},schema:[],messages:{unexpectedConcat:"Unexpected string concatenation of literals."}},create(h){const k=h.getSourceCode();return{BinaryExpression(p){if("+"===
p.operator){var l;for(l=p.left;b(l);)l=l.right;var g;for(g=p.right;b(g);)g=g.left;m.isStringLiteral(l)&&m.isStringLiteral(g)&&m.isTokenOnSameLine(l,g)&&(l=k.getFirstTokenBetween(l,g,d),h.report({node:p,loc:l.loc,messageId:"unexpectedConcat"}))}}}}}},u=>{function c(b){return"Identifier"===b.type||"RestElement"===b.type}function a(b,d){return"Identifier"===b.type&&"Identifier"===d.type&&b.name===d.name}u.exports={meta:{type:"suggestion",docs:{description:"disallow unnecessary constructors",recommended:!1,
url:"https://eslint.org/docs/rules/no-useless-constructor"},schema:[],messages:{noUselessConstructor:"Useless constructor."}},create(b){return{MethodDefinition:function(d){if("constructor"===d.kind&&d.value.body){var m=d.value.body.body,h=d.value.params;if(d.parent.parent.superClass){var k;if(k=1===m.length&&"ExpressionStatement"===m[0].type&&"CallExpression"===m[0].expression.type&&"Super"===m[0].expression.callee.type&&h.every(c))if(k=m[0].expression.arguments,!(k=1===k.length&&"SpreadElement"===
k[0].type&&"Identifier"===k[0].argument.type&&"arguments"===k[0].argument.name))a:if(m=m[0].expression.arguments,h.length!==m.length)k=!1;else{for(let l=0;l<h.length;++l){k=h[l];var p=m[l];if(!(a(k,p)||"RestElement"===k.type&&"SpreadElement"===p.type&&a(k.argument,p.argument))){k=!1;break a}}k=!0}h=k}else h=0===m.length;h&&b.report({node:d,messageId:"noUselessConstructor"})}}}}}},(u,c,a)=>{function b(p,l){return new Set(function*(){yield*p;yield*l}())}function d(p){const l=[];p.split("").reduce((g,
f,n)=>{if(!g.escapeNextChar){if("\\"===f)return Object.assign(g,{escapeNextChar:!0});if("["===f&&!g.inCharClass)return Object.assign(g,{inCharClass:!0,startingCharClass:!0});if("]"===f&&g.inCharClass)return l.length&&l[l.length-1].inCharClass&&(l[l.length-1].endsCharClass=!0),Object.assign(g,{inCharClass:!1,startingCharClass:!1})}l.push({text:f,index:n,escaped:g.escapeNextChar,inCharClass:g.inCharClass,startsCharClass:g.startingCharClass,endsCharClass:!1});return Object.assign(g,{escapeNextChar:!1,
startingCharClass:!1})},{escapeNextChar:!1,inCharClass:!1,startingCharClass:!1});return l}c=a(571);const m=b(new Set("\\nrvtbfux"),c.LINEBREAKS),h=new Set("\\bcdDfnpPrsStvwWxu0123456789]"),k=b(h,new Set("^/.$*+?[{}|()Bk"));u.exports={meta:{type:"suggestion",docs:{description:"disallow unnecessary escape characters",recommended:!0,url:"https://eslint.org/docs/rules/no-useless-escape"},hasSuggestions:!0,messages:{unnecessaryEscape:"Unnecessary escape character: \\{{character}}.",removeEscape:"Remove the `\\`. This maintains the current functionality.",
escapeBackslash:"Replace the `\\` with `\\\\` to include the actual backslash character."},schema:[]},create(p){function l(e,q,t){q=e.range[0]+q;const r=[q,q+1];q=n.getLocFromIndex(q);p.report({node:e,loc:{start:q,end:{line:q.line,column:q.column+1}},messageId:"unnecessaryEscape",data:{character:t},suggest:[{messageId:"removeEscape",fix(v){return v.removeRange(r)}},{messageId:"escapeBackslash",fix(v){return v.insertTextBeforeRange(r,"\\")}}]})}function g(e,q){var t="TemplateElement"===e.type;const r=
q[0][1];let v=!m.has(r);t?(t="`"===r,"$"===r?v="{"!==q.input[q.index+2]:"{"===r&&(v="$"!==q.input[q.index-1])):t=r===e.raw[0];v&&!t&&l(e,q.index,q[0].slice(1))}function f(e){var q="TemplateElement"===e.type;if(!(q&&e.parent&&e.parent.parent&&"TaggedTemplateExpression"===e.parent.parent.type&&e.parent===e.parent.parent.quasi))if("string"===typeof e.value||q){if("JSXAttribute"!==e.parent.type&&"JSXElement"!==e.parent.type&&"JSXFragment"!==e.parent.type){q=q?n.getText(e):e.raw;for(var t=/\\[^\d]/gu,
r;r=t.exec(q);)g(e,r)}}else e.regex&&d(e.regex.pattern).filter(v=>!("-"===v.text&&v.inCharClass&&!v.startsCharClass&&!v.endsCharClass)).filter(v=>!("^"===v.text&&v.startsCharClass)).filter(v=>v.escaped).filter(v=>!(v.inCharClass?h:k).has(v.text)).forEach(v=>l(e,v.index,v.text))}const n=p.getSourceCode();return{Literal:f,TemplateElement:f}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow renaming import, export, and destructured assignments to the same name",
recommended:!1,url:"https://eslint.org/docs/rules/no-useless-rename"},fixable:"code",schema:[{type:"object",properties:{ignoreDestructuring:{type:"boolean",default:!1},ignoreImport:{type:"boolean",default:!1},ignoreExport:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{unnecessarilyRenamed:"{{type}} {{name}} unnecessarily renamed."}},create(d){function m(f,n,e){return d.report({node:f,messageId:"unnecessarilyRenamed",data:{name:"Identifier"===n.type?n.name:n.value,type:e},fix(q){const t=
"Property"===f.type?f.value:f.local;return h.getCommentsInside(f).length>h.getCommentsInside(t).length||"AssignmentPattern"===t.type&&b.isParenthesised(h,t.left)?null:q.replaceText(f,h.getText(t))}})}const h=d.getSourceCode(),k=d.options[0]||{},p=!0===k.ignoreDestructuring,l=!0===k.ignoreImport,g=!0===k.ignoreExport;return{ObjectPattern:function(f){if(!p)for(const n of f.properties)"Property"!==n.type||n.shorthand||n.computed||("Identifier"===n.key.type&&n.key.name||"Literal"===n.key.type&&n.key.value)===
("AssignmentPattern"===n.value.type?n.value.left.name:n.value.name)&&m(n,n.key,"Destructuring assignment")},ImportSpecifier:function(f){l||f.imported.name===f.local.name&&f.imported.range[0]!==f.local.range[0]&&m(f,f.imported,"Import")},ExportSpecifier:function(f){g||f.local.name===f.exported.name&&f.local.range[0]!==f.exported.range[0]&&m(f,f.local,"Export")}}}}},(u,c,a)=>{function b(k,p){p=k.indexOf(p);-1!==p&&k.splice(p,1)}function d(k){for(;k&&k.parent&&!m.isFunction(k);k=k.parent)if("TryStatement"===
k.parent.type&&k.parent.finalizer===k)return!0;return!1}const m=a(571),h=a(685);u.exports={meta:{type:"suggestion",docs:{description:"disallow redundant return statements",recommended:!1,url:"https://eslint.org/docs/rules/no-useless-return"},fixable:"code",schema:[],messages:{unnecessaryReturn:"Unnecessary return statement."}},create(k){function p(r){r=n.get(r);return!r||r.returned}function l(r,v,z){z=z||new WeakSet;for(const E of v)E.reachable?r.push(...n.get(E).uselessReturns):z.has(E)||(z.add(E),
l(r,E.allPrevSegments.filter(p),z));return r}function g(r){if(r.reachable){r=n.get(r);for(const v of r.uselessReturns)b(t.uselessReturns,v);r.uselessReturns=[]}else e.add(r),r.allPrevSegments.filter(p).filter(v=>!e.has(v)).forEach(g)}function f(){t.codePath.currentSegments.forEach(g)}const n=new WeakMap,e=new WeakSet,q=k.getSourceCode();let t=null;return{onCodePathStart(r){t={upper:t,uselessReturns:[],codePath:r}},onCodePathEnd(){for(const r of t.uselessReturns)k.report({node:r,loc:r.loc,messageId:"unnecessaryReturn",
fix(v){return m.STATEMENT_LIST_PARENTS.has(r.parent.type)&&!q.getCommentsInside(r).length?(new h(v,q)).retainEnclosingFunction(r).remove(r):null}});t=t.upper},onCodePathSegmentStart(r){const v={uselessReturns:l([],r.allPrevSegments),returned:!1};n.set(r,v)},ReturnStatement(r){r.argument&&f();if(!(r.argument||m.isInLoop(r)||d(r))&&t.codePath.currentSegments.some(v=>v.reachable)){for(const v of t.codePath.currentSegments){const z=n.get(v);z&&(z.uselessReturns.push(r),z.returned=!0)}t.uselessReturns.push(r)}},
ClassDeclaration:f,ContinueStatement:f,DebuggerStatement:f,DoWhileStatement:f,EmptyStatement:f,ExpressionStatement:f,ForInStatement:f,ForOfStatement:f,ForStatement:f,IfStatement:f,ImportDeclaration:f,LabeledStatement:f,SwitchStatement:f,ThrowStatement:f,TryStatement:f,VariableDeclaration:f,WhileStatement:f,WithStatement:f,ExportNamedDeclaration:f,ExportDefaultDeclaration:f,ExportAllDeclaration:f}}}},(u,c,a)=>{function b(q){return!!q.scope&&"global"===q.scope.type}function d(q){for(;"function"!==q.type&&
"global"!==q.type;)q=q.upper;return q}function m(q){const t=d(q.scope);return q.references.some(r=>d(r.from)!==t)}function h(q){return("ForOfStatement"===q.parent.type||"ForInStatement"===q.parent.type)&&q===q.parent.left}function k(q){return q.declarations.every(t=>null!==t.init)}function p(q){return 2<=q.defs.length}function l(q){function t(r){const v=q.range;r=r.identifier.range;return r[0]<v[0]||r[1]>v[1]}return function(r){return r.references.some(t)}}function g(q){const t=q.range[0],r=q.range[1];
return v=>{const z=v.defs[0].name,E=z.range[0],A="AssignmentPattern"===z.parent.type?z.parent.right:null,D=A&&A.range[0],F=A&&A.range[1];return v.references.some(C=>{const B=C.identifier.range[0],I=C.identifier.range[1];return!C.init&&(B<E||null!==A&&B>=D&&I<=F||B>=t&&I<=r)})}}function f(q){return"let"===q.name}const n=a(571),e=/^(?:Program|BlockStatement|SwitchStatement|ForStatement|ForInStatement|ForOfStatement)$/u;u.exports={meta:{type:"suggestion",docs:{description:"require `let` or `const` instead of `var`",
recommended:!1,url:"https://eslint.org/docs/rules/no-var"},schema:[],fixable:"code",messages:{unexpectedVar:"Unexpected var, use let or const instead."}},create(q){function t(E){return E.init?q.getDeclaredVariables(E).some(g(E.init)):!1}function r(E){const A=q.getDeclaredVariables(E);var D;a:{for(D=E;D;D=D.parent)if(e.test(D.type))break a;D=null}return"SwitchCase"===E.parent.type||E.declarations.some(t)||A.some(b)||A.some(p)||A.some(l(D))||A.some(f)||n.isInLoop(E)&&(A.some(m)||!h(E)&&!k(E))||!(h(E)||
"ForStatement"===E.parent.type&&E.parent.init===E||n.STATEMENT_LIST_PARENTS.has(E.parent.type))?!1:!0}function v(E){q.report({node:E,messageId:"unexpectedVar",fix(A){const D=z.getFirstToken(E,{filter:F=>"var"===F.value});return r(E)?A.replaceText(D,"let"):null}})}const z=q.getSourceCode();return{["VariableDeclaration:exit"](E){"var"===E.kind&&v(E)}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"disallow `void` operators",recommended:!1,url:"https://eslint.org/docs/rules/no-void"},messages:{noVoid:"Expected 'undefined' and instead saw 'void'."},
schema:[{type:"object",properties:{allowAsStatement:{type:"boolean",default:!1}},additionalProperties:!1}]},create(c){const a=c.options[0]&&c.options[0].allowAsStatement;return{['UnaryExpression[operator="void"]'](b){a&&b.parent&&"ExpressionStatement"===b.parent.type||c.report({node:b,messageId:"noVoid"})}}}}},(u,c,a)=>{const b=a(548),d=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow specified warning terms in comments",recommended:!1,url:"https://eslint.org/docs/rules/no-warning-comments"},
schema:[{type:"object",properties:{terms:{type:"array",items:{type:"string"}},location:{enum:["start","anywhere"]}},additionalProperties:!1}],messages:{unexpectedComment:"Unexpected '{{matchedTerm}}' comment: '{{comment}}'."}},create(m){function h(q){const t=[];e.forEach((r,v)=>{r.test(q)&&t.push(g[v])});return t}function k(q){const t=q.value;d.isDirectiveComment(q)&&n.test(t)||h(t).forEach(r=>{let v="",z=!1;for(const E of t.trim().split(/\s+/u)){const A=v?"".concat(v," ").concat(E):E;if(40>=A.length)v=
A;else{z=!0;break}}m.report({node:q,messageId:"unexpectedComment",data:{matchedTerm:r,comment:"".concat(v).concat(z?"...":"")}})})}const p=m.getSourceCode(),l=m.options[0]||{},g=l.terms||["todo","fixme","xxx"],f=l.location||"start",n=/\bno-warning-comments\b/u,e=g.map(function(q){const t=b(q),r="|".concat("\\b");let v;const z=/\w$/u.test(q)?"\\b":"";v="start"===f?"^\\s*":/^\w/u.test(q)?"\\b":"";return"start"===f?new RegExp(v+t+z,"iu"):new RegExp(v+t+z+r+q+"\\b","iu")});return{Program(){p.getAllComments().filter(q=>
"Shebang"!==q.type).forEach(k)}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"disallow whitespace before properties",recommended:!1,url:"https://eslint.org/docs/rules/no-whitespace-before-property"},fixable:"whitespace",schema:[],messages:{unexpectedWhitespace:"Unexpected whitespace before property {{propName}}."}},create(d){function m(k,p,l){d.report({node:k,messageId:"unexpectedWhitespace",data:{propName:h.getText(k.property)},fix(g){let f="";if(!k.computed&&!k.optional&&
b.isDecimalInteger(k.object)||h.commentsExistBetween(p,l))return null;k.optional?f="?.":k.computed||(f=".");return g.replaceTextRange([p.range[1],l.range[0]],f)}})}const h=d.getSourceCode();return{MemberExpression(k){let p,l;b.isTokenOnSameLine(k.object,k.property)&&(k.computed?(p=h.getTokenBefore(k.property,b.isOpeningBracketToken),l=h.getTokenBefore(p,k.optional?1:0)):(p=h.getFirstToken(k.property),l=h.getTokenBefore(p,1)),h.isSpaceBetweenTokens(l,p)&&m(k,l,p))}}}}},u=>{u.exports={meta:{type:"suggestion",
docs:{description:"disallow `with` statements",recommended:!0,url:"https://eslint.org/docs/rules/no-with"},schema:[],messages:{unexpectedWith:"Unexpected use of 'with' statement."}},create(c){return{WithStatement(a){c.report({node:a,messageId:"unexpectedWith"})}}}}},u=>{const c={enum:["beside","below","any"]};u.exports={meta:{type:"layout",docs:{description:"enforce the location of single-line statements",recommended:!1,url:"https://eslint.org/docs/rules/nonblock-statement-body-position"},fixable:"whitespace",
schema:[c,{properties:{overrides:{properties:{if:c,else:c,while:c,do:c,for:c},additionalProperties:!1}},additionalProperties:!1}],messages:{expectNoLinebreak:"Expected no linebreak before this statement.",expectLinebreak:"Expected a linebreak before this statement."}},create(a){function b(m,h){h=a.options[1]&&a.options[1].overrides&&a.options[1].overrides[h]||a.options[0]||"beside";if("BlockStatement"!==m.type&&"any"!==h){var k=d.getTokenBefore(m);k.loc.end.line===m.loc.start.line&&"below"===h?a.report({node:m,
messageId:"expectLinebreak",fix:p=>p.insertTextBefore(m,"\n")}):k.loc.end.line!==m.loc.start.line&&"beside"===h&&a.report({node:m,messageId:"expectNoLinebreak",fix(p){return d.getText().slice(k.range[1],m.range[0]).trim()?null:p.replaceTextRange([k.range[1],m.range[0]]," ")}})}}const d=a.getSourceCode();return{IfStatement(m){b(m.consequent,"if");m.alternate&&"IfStatement"!==m.alternate.type&&b(m.alternate,"else")},WhileStatement:m=>b(m.body,"while"),DoWhileStatement:m=>b(m.body,"do"),ForStatement:m=>
b(m.body,"for"),ForInStatement:m=>b(m.body,"for"),ForOfStatement:m=>b(m.body,"for")}}}},(u,c,a)=>{function b(p){let l=!1,g=Number.POSITIVE_INFINITY,f=!1;p?"always"===p?g=0:"never"===p?g=Number.POSITIVE_INFINITY:(l=!!p.multiline,g=p.minProperties||Number.POSITIVE_INFINITY,f=!!p.consistent):f=!0;return{multiline:l,minProperties:g,consistent:f}}function d(p){return"object"===typeof p&&null!==p||"string"===typeof p}function m(p){if("object"===typeof p&&null!==p&&Object.values(p).some(d))return{ObjectExpression:b(p.ObjectExpression),
ObjectPattern:b(p.ObjectPattern),ImportDeclaration:b(p.ImportDeclaration),ExportNamedDeclaration:b(p.ExportDeclaration)};p=b(p);return{ObjectExpression:p,ObjectPattern:p,ImportDeclaration:p,ExportNamedDeclaration:p}}function h(p,l,g,f){p="ObjectExpression"===p.type||"ObjectPattern"===p.type?p.properties:p.specifiers.filter(n=>"ImportSpecifier"===n.type||"ExportSpecifier"===n.type);return p.length>=l.minProperties||l.multiline&&0<p.length&&g.loc.start.line!==f.loc.end.line}const k=a(571);c={oneOf:[{enum:["always",
"never"]},{type:"object",properties:{multiline:{type:"boolean"},minProperties:{type:"integer",minimum:0},consistent:{type:"boolean"}},additionalProperties:!1,minProperties:1}]};u.exports={meta:{type:"layout",docs:{description:"enforce consistent line breaks after opening and before closing braces",recommended:!1,url:"https://eslint.org/docs/rules/object-curly-newline"},fixable:"whitespace",schema:[{oneOf:[c,{type:"object",properties:{ObjectExpression:c,ObjectPattern:c,ImportDeclaration:c,ExportDeclaration:c},
additionalProperties:!1,minProperties:1}]}],messages:{unexpectedLinebreakBeforeClosingBrace:"Unexpected line break before this closing brace.",unexpectedLinebreakAfterOpeningBrace:"Unexpected line break after this opening brace.",expectedLinebreakBeforeClosingBrace:"Expected a line break before this closing brace.",expectedLinebreakAfterOpeningBrace:"Expected a line break after this opening brace."}},create(p){function l(n){var e=f[n.type];if(("ImportDeclaration"!==n.type||n.specifiers.some(D=>"ImportSpecifier"===
D.type))&&("ExportNamedDeclaration"!==n.type||n.specifiers.some(D=>"ExportSpecifier"===D.type))){var q=g.getFirstToken(n,D=>"{"===D.value);var t=n.typeAnnotation?g.getTokenBefore(n.typeAnnotation):g.getLastToken(n,D=>"}"===D.value);var r=g.getTokenAfter(q,{includeComments:!0}),v=g.getTokenBefore(t,{includeComments:!0}),z=h(n,e,r,v),E=k.isCommentToken(r),A=k.isCommentToken(v);r=g.getTokenAfter(q);v=g.getTokenBefore(t);if(z)k.isTokenOnSameLine(q,r)&&p.report({messageId:"expectedLinebreakAfterOpeningBrace",
node:n,loc:q.loc,fix(D){return E?null:D.insertTextAfter(q,"\n")}}),k.isTokenOnSameLine(v,t)&&p.report({messageId:"expectedLinebreakBeforeClosingBrace",node:n,loc:t.loc,fix(D){return A?null:D.insertTextBefore(t,"\n")}});else{e=e.consistent;z=!k.isTokenOnSameLine(q,r);const D=!k.isTokenOnSameLine(v,t);(!e&&z||e&&z&&!D)&&p.report({messageId:"unexpectedLinebreakAfterOpeningBrace",node:n,loc:q.loc,fix(F){return E?null:F.removeRange([q.range[1],r.range[0]])}});(!e&&D||e&&!z&&D)&&p.report({messageId:"unexpectedLinebreakBeforeClosingBrace",
node:n,loc:t.loc,fix(F){return A?null:F.removeRange([v.range[1],t.range[0]])}})}}}const g=p.getSourceCode(),f=m(p.options[0]);return{ObjectExpression:l,ObjectPattern:l,ImportDeclaration:l,ExportNamedDeclaration:l}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce consistent spacing inside braces",recommended:!1,url:"https://eslint.org/docs/rules/object-curly-spacing"},fixable:"whitespace",schema:[{enum:["always","never"]},{type:"object",properties:{arraysInObjects:{type:"boolean"},
objectsInObjects:{type:"boolean"}},additionalProperties:!1}],messages:{requireSpaceBefore:"A space is required before '{{token}}'.",requireSpaceAfter:"A space is required after '{{token}}'.",unexpectedSpaceBefore:"There should be no space before '{{token}}'.",unexpectedSpaceAfter:"There should be no space after '{{token}}'."}},create(d){function m(q,t){const r=d.getSourceCode().getTokenAfter(t,{includeComments:!0});d.report({node:q,loc:{start:t.loc.end,end:r.loc.start},messageId:"unexpectedSpaceAfter",
data:{token:t.value},fix(v){return v.removeRange([t.range[1],r.range[0]])}})}function h(q,t){const r=d.getSourceCode().getTokenBefore(t,{includeComments:!0});d.report({node:q,loc:{start:r.loc.end,end:t.loc.start},messageId:"unexpectedSpaceBefore",data:{token:t.value},fix(v){return v.removeRange([r.range[1],t.range[0]])}})}function k(q,t){d.report({node:q,loc:t.loc,messageId:"requireSpaceAfter",data:{token:t.value},fix(r){return r.insertTextAfter(t," ")}})}function p(q,t){d.report({node:q,loc:t.loc,
messageId:"requireSpaceBefore",data:{token:t.value},fix(r){return r.insertTextBefore(t," ")}})}function l(q,t,r,v,z){if(b.isTokenOnSameLine(t,r)){const E=n.isSpaceBetweenTokens(t,r);e.spaced&&!E&&k(q,t);!e.spaced&&E&&"Line"!==r.type&&m(q,t)}b.isTokenOnSameLine(v,z)&&(t=(e.arraysInObjectsException&&b.isClosingBracketToken(v)||e.objectsInObjectsException&&b.isClosingBraceToken(v))&&n.getNodeByRangeIndex(v.range[0]).type,t=e.arraysInObjectsException&&"ArrayExpression"===t||e.objectsInObjectsException&&
("ObjectExpression"===t||"ObjectPattern"===t)?!e.spaced:e.spaced,v=n.isSpaceBetweenTokens(v,z),t&&!v&&p(q,z),!t&&v&&h(q,z))}function g(q){if(0!==q.properties.length){var t=n.getFirstToken(q);var r=n.getTokenAfter(q.properties[q.properties.length-1],b.isClosingBraceToken);var v=n.getTokenAfter(t,{includeComments:!0}),z=n.getTokenBefore(r,{includeComments:!0});l(q,t,v,z,r)}}const f="always"===d.options[0],n=d.getSourceCode(),e={spaced:f,arraysInObjectsException:d.options[1]?d.options[1].arraysInObjects===
!f:!1,objectsInObjectsException:d.options[1]?d.options[1].objectsInObjects===!f:!1};return{ObjectPattern:g,ObjectExpression:g,ImportDeclaration:function(q){if(0!==q.specifiers.length){var t=q.specifiers[0],r=q.specifiers[q.specifiers.length-1];if("ImportSpecifier"===r.type){"ImportSpecifier"!==t.type&&(t=q.specifiers[1]);t=n.getTokenBefore(t);r=n.getTokenAfter(r,b.isNotCommaToken);var v=n.getTokenAfter(t,{includeComments:!0}),z=n.getTokenBefore(r,{includeComments:!0});l(q,t,v,z,r)}}},ExportNamedDeclaration:function(q){if(0!==
q.specifiers.length){var t=q.specifiers[q.specifiers.length-1],r=n.getTokenBefore(q.specifiers[0]);t=n.getTokenAfter(t,b.isNotCommaToken);var v=n.getTokenAfter(r,{includeComments:!0}),z=n.getTokenBefore(t,{includeComments:!0});l(q,r,v,z,t)}}}}}},u=>{u.exports={meta:{type:"layout",docs:{description:"enforce placing object properties on separate lines",recommended:!1,url:"https://eslint.org/docs/rules/object-property-newline"},schema:[{type:"object",properties:{allowAllPropertiesOnSameLine:{type:"boolean",
default:!1},allowMultiplePropertiesPerLine:{type:"boolean",default:!1}},additionalProperties:!1}],fixable:"whitespace",messages:{propertiesOnNewlineAll:"Object properties must go on a new line if they aren't all on the same line.",propertiesOnNewline:"Object properties must go on a new line."}},create(c){const a=c.options[0]&&(c.options[0].allowAllPropertiesOnSameLine||c.options[0].allowMultiplePropertiesPerLine),b=a?"propertiesOnNewlineAll":"propertiesOnNewline",d=c.getSourceCode();return{ObjectExpression(m){if(a&&
1<m.properties.length){var h=d.getFirstToken(m.properties[0]),k=d.getLastToken(m.properties[m.properties.length-1]);if(h.loc.end.line===k.loc.start.line)return}for(h=1;h<m.properties.length;h++){k=d.getLastToken(m.properties[h-1]);const p=d.getFirstToken(m.properties[h]);k.loc.end.line===p.loc.start.line&&c.report({node:m,loc:p.loc,messageId:b,fix(l){const g=[d.getTokenBefore(p).range[1],p.range[0]];return d.text.slice(g[0],g[1]).trim()?null:l.replaceTextRange(g,"\n")}})}}}}}},(u,c,a)=>{const b=a(571);
u.exports={meta:{type:"suggestion",docs:{description:"require or disallow method and property shorthand syntax for object literals",recommended:!1,url:"https://eslint.org/docs/rules/object-shorthand"},fixable:"code",schema:{anyOf:[{type:"array",items:[{enum:"always methods properties never consistent consistent-as-needed".split(" ")}],minItems:0,maxItems:1},{type:"array",items:[{enum:["always","methods","properties"]},{type:"object",properties:{avoidQuotes:{type:"boolean"}},additionalProperties:!1}],
minItems:0,maxItems:2},{type:"array",items:[{enum:["always","methods"]},{type:"object",properties:{ignoreConstructors:{type:"boolean"},avoidQuotes:{type:"boolean"},avoidExplicitReturnArrows:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2}]},messages:{expectedAllPropertiesShorthanded:"Expected shorthand for all properties.",expectedLiteralMethodLongform:"Expected longform method syntax for string literal keys.",expectedPropertyShorthand:"Expected property shorthand.",expectedPropertyLongform:"Expected longform property syntax.",
expectedMethodShorthand:"Expected method shorthand.",expectedMethodLongform:"Expected longform method syntax.",unexpectedMix:"Unexpected mix of shorthand and non-shorthand properties."}},create(d){function m(N){const L=J.exec(N);if(!L)return!1;N=N.charAt(L.index);return N===N.toUpperCase()}function h(N){return"set"!==N.kind&&"get"!==N.kind&&"SpreadElement"!==N.type&&"SpreadProperty"!==N.type&&"ExperimentalSpreadProperty"!==N.type}function k(N){return"Literal"===N.type&&"string"===typeof N.value}function p(N){return N.shorthand||
N.method}function l(N){const L=N.value;return"FunctionExpression"===L.type?!L.id:"Identifier"===L.type?b.getStaticPropertyName(N)===L.name:!1}function g(N,L){const x=N.properties.filter(h);if(0<x.length){const y=x.filter(p);y.length!==x.length&&(0<y.length?d.report({node:N,messageId:"unexpectedMix"}):L&&x.every(l)&&d.report({node:N,messageId:"expectedAllPropertiesShorthanded"}))}}function f(N,L){var x=L.computed?I.getFirstToken(L,b.isOpeningBracketToken):I.getFirstToken(L.key),y=L.computed?I.getFirstTokenBetween(L.key,
L.value,b.isClosingBracketToken):I.getLastToken(L.key),G=I.text.slice(x.range[0],y.range[1]),K="";if(I.commentsExistBetween(y,L.value))return null;L.value.async&&(K+="async ");L.value.generator&&(K+="*");x=[x.range[0],L.range[1]];G=K+G;if("FunctionExpression"===L.value.type)return K=I.getTokens(L.value).find(aa=>"Keyword"===aa.type&&"function"===aa.value),K=L.value.generator?I.getTokenAfter(K):K,N.replaceTextRange(x,G+I.text.slice(K.range[1],L.value.range[1]));y=I.getTokenBefore(L.value.body,b.isArrowToken);
K=I.text.slice(y.range[1],L.value.range[1]);var R=!1;let Z;Z=0===L.value.params.length?I.getFirstToken(L.value,b.isOpeningParenToken):I.getTokenBefore(L.value.params[0]);if(1===L.value.params.length){R=b.isOpeningParenToken(Z);const aa=Z.range[0]<L.range[0];R=!R||aa}L=R?L.value.params[0].range[0]:Z.range[0];y=I.getTokenBefore(y).range[1];L=I.text.slice(L,y);L=R?"(".concat(L,")"):L;return N.replaceTextRange(x,G+L+K)}function n(N,L){var x=L.computed?I.getTokens(L).find(K=>"["===K.value):I.getFirstToken(L.key);
const y=L.computed?I.getTokensBetween(L.key,L.value).find(K=>"]"===K.value):I.getLastToken(L.key);x=I.text.slice(x.range[0],y.range[1]);let G="function";L.value.async&&(G="async ".concat(G));L.value.generator&&(G="".concat(G,"*"));return N.replaceTextRange([L.range[0],y.range[1]],"".concat(x,": ").concat(G))}function e(){M.unshift(new Set);d.getScope().variables.filter(N=>"arguments"===N.name).forEach(N=>{N.references.map(L=>L.identifier).forEach(L=>O.add(L))})}function q(){M.shift()}function t(){M[0].forEach(N=>
P.add(N))}var r=d.options[0]||"always";const v="methods"===r||"always"===r,z="properties"===r||"always"===r,E="never"===r,A="consistent"===r,D="consistent-as-needed"===r;r=d.options[1]||{};const F=r.ignoreConstructors,C=r.avoidQuotes,B=!!r.avoidExplicitReturnArrows,I=d.getSourceCode(),J=/[^_$0-9]/u,M=[],P=new WeakSet,O=new WeakSet;return{Program:e,FunctionDeclaration:e,FunctionExpression:e,"Program:exit":q,"FunctionDeclaration:exit":q,"FunctionExpression:exit":q,ArrowFunctionExpression(N){M[0].add(N)},
["ArrowFunctionExpression:exit"](N){M[0].delete(N)},ThisExpression:t,Super:t,MetaProperty(N){"new"===N.meta.name&&"target"===N.property.name&&t()},Identifier(N){O.has(N)&&t()},ObjectExpression(N){A?g(N,!1):D&&g(N,!0)},["Property:exit"](N){"ObjectPattern"===N.parent.type||"get"===N.kind||"set"===N.kind||N.computed&&"FunctionExpression"!==N.value.type&&"ArrowFunctionExpression"!==N.value.type||(N.method||N.shorthand?N.method&&(E||C&&k(N.key))?d.report({node:N,messageId:E?"expectedMethodLongform":"expectedLiteralMethodLongform",
fix:L=>n(L,N)}):E&&d.report({node:N,messageId:"expectedPropertyLongform",fix:L=>L.insertTextAfter(N.key,": ".concat(N.key.name))}):!v||N.value.id||"FunctionExpression"!==N.value.type&&"ArrowFunctionExpression"!==N.value.type?"Identifier"===N.value.type&&N.key.name===N.value.name&&z?d.report({node:N,messageId:"expectedPropertyShorthand",fix(L){return L.replaceText(N,N.value.name)}}):"Identifier"===N.value.type&&"Literal"===N.key.type&&N.key.value===N.value.name&&z&&!C&&d.report({node:N,messageId:"expectedPropertyShorthand",
fix(L){return L.replaceText(N,N.value.name)}}):F&&"Identifier"===N.key.type&&m(N.key.name)||C&&k(N.key)||("FunctionExpression"===N.value.type||"ArrowFunctionExpression"===N.value.type&&"BlockStatement"===N.value.body.type&&B&&!P.has(N.value))&&d.report({node:N,messageId:"expectedMethodShorthand",fix:L=>f(L,N)}))}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"enforce variables to be declared either together or separately in functions",recommended:!1,url:"https://eslint.org/docs/rules/one-var"},
fixable:"code",schema:[{oneOf:[{enum:["always","never","consecutive"]},{type:"object",properties:{separateRequires:{type:"boolean"},var:{enum:["always","never","consecutive"]},let:{enum:["always","never","consecutive"]},const:{enum:["always","never","consecutive"]}},additionalProperties:!1},{type:"object",properties:{initialized:{enum:["always","never","consecutive"]},uninitialized:{enum:["always","never","consecutive"]}},additionalProperties:!1}]}],messages:{combineUninitialized:"Combine this with the previous '{{type}}' statement with uninitialized variables.",
combineInitialized:"Combine this with the previous '{{type}}' statement with initialized variables.",splitUninitialized:"Split uninitialized '{{type}}' declarations into multiple statements.",splitInitialized:"Split initialized '{{type}}' declarations into multiple statements.",splitRequires:"Split requires to be separated into a single block.",combine:"Combine this with the previous '{{type}}' statement.",split:"Split '{{type}}' declarations into multiple statements."}},create(d){function m(){v.push({let:{initialized:!1,
uninitialized:!1},const:{initialized:!1,uninitialized:!1}})}function h(){r.push({initialized:!1,uninitialized:!1});m()}function k(){v.pop()}function p(){r.pop();k()}function l(z){return z.init&&"CallExpression"===z.init.type&&"require"===z.init.callee.name}function g(z){const E={uninitialized:0,initialized:0};for(let A=0;A<z.length;A++)null===z[A].init?E.uninitialized++:E.initialized++;return E}function f(z){const E=z[0];z=Array.isArray(E.parent.parent.body)?E.parent.parent.body:[];const A=z.findIndex(F=>
F.range[0]===E.parent.range[0]),D=z[A-1];return F=>{const C=t.getTokenBefore(E),B=t.getTokenBefore(C),I=[];D&&D.kind===t.getText(C)&&(";"===B.value?I.push(F.replaceText(B,",")):I.push(F.insertTextAfter(B,",")),I.push(F.replaceText(C,"")));return I}}function n(z){const {parent:E}=z;return b.STATEMENT_LIST_PARENTS.has(("ExportNamedDeclaration"===E.type?E:z).parent.type)?A=>z.declarations.map(D=>{D=t.getTokenAfter(D);if(null===D)return null;var F=t.getTokenAfter(D,{includeComments:!0});if(","!==D.value)return null;
const C="ExportNamedDeclaration"===z.parent.type?"export ":"";if(F.range[0]===D.range[1])return A.replaceText(D,"; ".concat(C).concat(z.kind," "));if(F.loc.start.line>D.loc.end.line||"Line"===F.type||"Block"===F.type){for(;"Line"===F.type||"Block"===F.type;)F=t.getTokenAfter(F,{includeComments:!0});return A.replaceTextRange([D.range[0],F.range[0]],";".concat(t.text.slice(D.range[1],F.range[0])).concat(C).concat(z.kind," "))}return A.replaceText(D,"; ".concat(C).concat(z.kind))}).filter(D=>D):null}
const e=d.options[0]||"always",q={};"string"===typeof e?(q.var={uninitialized:e,initialized:e},q.let={uninitialized:e,initialized:e},q.const={uninitialized:e,initialized:e}):"object"===typeof e&&(q.separateRequires=!!e.separateRequires,q.var={uninitialized:e.var,initialized:e.var},q.let={uninitialized:e.let,initialized:e.let},q.const={uninitialized:e.const,initialized:e.const},Object.prototype.hasOwnProperty.call(e,"uninitialized")&&(q.var.uninitialized=e.uninitialized,q.let.uninitialized=e.uninitialized,
q.const.uninitialized=e.uninitialized),Object.prototype.hasOwnProperty.call(e,"initialized")&&(q.var.initialized=e.initialized,q.let.initialized=e.initialized,q.const.initialized=e.initialized));const t=d.getSourceCode(),r=[],v=[];return{Program:h,FunctionDeclaration:h,FunctionExpression:h,ArrowFunctionExpression:h,BlockStatement:m,ForStatement:m,ForInStatement:m,ForOfStatement:m,SwitchStatement:m,VariableDeclaration:function(z){const E=z.parent,A=z.kind;if(q[A]){var D=z.declarations,F=g(D),C=D.some(l)&&
!D.every(l);"always"===q[A].initialized&&q.separateRequires&&C&&d.report({node:z,messageId:"splitRequires"});C=E.body&&0<E.body.length&&E.body.indexOf(z)||0;if(0<C){C=E.body[C-1];var B="VariableDeclaration"===C.type,I=D.concat(C.declarations||[]);!B||C.kind!==A||I.some(l)&&!I.every(l)||(C=g(C.declarations),"consecutive"===q[A].initialized&&"consecutive"===q[A].uninitialized?d.report({node:z,messageId:"combine",data:{type:A},fix:f(D)}):"consecutive"===q[A].initialized&&0<F.initialized&&0<C.initialized?
d.report({node:z,messageId:"combineInitialized",data:{type:A},fix:f(D)}):"consecutive"===q[A].uninitialized&&0<F.uninitialized&&0<C.uninitialized&&d.report({node:z,messageId:"combineUninitialized",data:{type:A},fix:f(D)}))}C=g(D);B=q[A]||{};if("var"===A)var J=r[r.length-1];else"let"===A?J=v[v.length-1].let:"const"===A&&(J=v[v.length-1].const);I=D.some(l);if("always"===B.uninitialized&&"always"===B.initialized&&(J.uninitialized||J.initialized)&&!I||0<C.uninitialized&&"always"===B.uninitialized&&J.uninitialized||
0<C.initialized&&"always"===B.initialized&&J.initialized&&!I||J.required&&I)J=!1;else{for(C=0;C<D.length;C++)null===D[C].init?q[A]&&"always"===q[A].uninitialized&&(J.uninitialized=!0):q[A]&&"always"===q[A].initialized&&(q.separateRequires&&l(D[C])?J.required=!0:J.initialized=!0);J=!0}if(!J)if("always"===q[A].initialized&&"always"===q[A].uninitialized)d.report({node:z,messageId:"combine",data:{type:A},fix:f(D)});else if("always"===q[A].initialized&&0<F.initialized&&d.report({node:z,messageId:"combineInitialized",
data:{type:A},fix:f(D)}),"always"===q[A].uninitialized&&0<F.uninitialized){if(z.parent.left===z&&("ForInStatement"===z.parent.type||"ForOfStatement"===z.parent.type))return;d.report({node:z,messageId:"combineUninitialized",data:{type:A},fix:f(D)})}("ForStatement"!==E.type||E.init!==z)&&1<F.uninitialized+F.initialized&&("never"===q[A].initialized&&"never"===q[A].uninitialized?d.report({node:z,messageId:"split",data:{type:A},fix:n(z)}):"never"===q[A].initialized&&0<F.initialized?d.report({node:z,messageId:"splitInitialized",
data:{type:A},fix:n(z)}):"never"===q[A].uninitialized&&0<F.uninitialized&&d.report({node:z,messageId:"splitUninitialized",data:{type:A},fix:n(z)}))}},"ForStatement:exit":k,"ForOfStatement:exit":k,"ForInStatement:exit":k,"SwitchStatement:exit":k,"BlockStatement:exit":k,"Program:exit":p,"FunctionDeclaration:exit":p,"FunctionExpression:exit":p,"ArrowFunctionExpression:exit":p}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"require or disallow newlines around variable declarations",recommended:!1,
url:"https://eslint.org/docs/rules/one-var-declaration-per-line"},schema:[{enum:["always","initializations"]}],fixable:"whitespace",messages:{expectVarOnNewline:"Expected variable declaration to be on a new line."}},create(c){function a(d){return"ForStatement"===d||"ForInStatement"===d||"ForOfStatement"===d}const b="always"===c.options[0];return{VariableDeclaration:function(d){if(!a(d.parent.type)){var m;d.declarations.forEach(h=>{m&&m.loc.end.line===h.loc.start.line&&(b||m.init||h.init)&&c.report({node:d,
messageId:"expectVarOnNewline",loc:h.loc,fix:k=>k.insertTextBefore(h,"\n")});m=h})}}}}}},(u,c,a)=>{function b(m){return"Identifier"===m.type||"MemberExpression"===m.type&&("Identifier"===m.object.type||"ThisExpression"===m.object.type)&&(!m.computed||"Literal"===m.property.type)}const d=a(571);u.exports={meta:{type:"suggestion",docs:{description:"require or disallow assignment operator shorthand where possible",recommended:!1,url:"https://eslint.org/docs/rules/operator-assignment"},schema:[{enum:["always",
"never"]}],fixable:"code",messages:{replaced:"Assignment (=) can be replaced with operator assignment ({{operator}}=).",unexpected:"Unexpected operator assignment ({{operator}}=) shorthand."}},create(m){function h(g){return l.getFirstTokenBetween(g.left,g.right,f=>f.value===g.operator)}function k(g){if("="===g.operator&&"BinaryExpression"===g.right.type){var f=g.left,n=g.right,e=n.operator;if(0<=["*","&","^","|"].indexOf(e)||0<="+ - / % << >> >>> **".split(" ").indexOf(e))d.isSameReference(f,n.left,
!0)?m.report({node:g,messageId:"replaced",data:{operator:e},fix(q){if(b(f)&&b(n.left)){const t=h(g),r=h(n),v=l.getText().slice(g.range[0],t.range[0]),z=l.getText().slice(r.range[1],g.right.range[1]);return l.commentsExistBetween(t,r)?null:q.replaceText(g,"".concat(v).concat(n.operator,"=").concat(z))}return null}}):d.isSameReference(f,n.right,!0)&&0<=["*","&","^","|"].indexOf(e)&&m.report({node:g,messageId:"replaced",data:{operator:e}})}}function p(g){"="===g.operator||d.isLogicalAssignmentOperator(g.operator)||
m.report({node:g,messageId:"unexpected",data:{operator:g.operator},fix(f){if(b(g.left)){var n=l.getFirstToken(g),e=h(g);const q=l.getText().slice(g.range[0],e.range[0]),t=g.operator.slice(0,-1);if(l.commentsExistBetween(n,e))return null;if(d.getPrecedence(g.right)<=d.getPrecedence({type:"BinaryExpression",operator:t})&&!d.isParenthesised(l,g.right))e="".concat(l.text.slice(e.range[1],g.right.range[0]),"(").concat(l.getText(g.right),")");else{n=l.getTokenAfter(e,{includeComments:!0});let r="";e.range[1]!==
n.range[0]||d.canTokensBeAdjacent({type:"Punctuator",value:t},n)||(r=" ");e="".concat(r).concat(l.text.slice(e.range[1],g.range[1]))}return f.replaceText(g,"".concat(q,"= ").concat(q).concat(t).concat(e))}return null}})}const l=m.getSourceCode();return{AssignmentExpression:"never"!==m.options[0]?k:p}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce consistent linebreak style for operators",recommended:!1,url:"https://eslint.org/docs/rules/operator-linebreak"},
schema:[{enum:["after","before","none",null]},{type:"object",properties:{overrides:{type:"object",additionalProperties:{enum:["after","before","none","ignore"]}}},additionalProperties:!1}],fixable:"code",messages:{operatorAtBeginning:"'{{operator}}' should be placed at the beginning of the line.",operatorAtEnd:"'{{operator}}' should be placed at the end of the line.",badLinebreak:"Bad line breaking before and after '{{operator}}'.",noLinebreak:"There should be no line break before or after '{{operator}}'."}},
create(d){function m(e,q){return t=>{const r=n.getTokenBefore(e),v=n.getTokenAfter(e),z=n.text.slice(r.range[1],e.range[0]),E=n.text.slice(e.range[1],v.range[0]);var A=!b.isTokenOnSameLine(r,e),D=!b.isTokenOnSameLine(e,v);if(A!==D&&"none"!==q){if(n.getTokenBefore(e,{includeComments:!0})!==r&&n.getTokenAfter(e,{includeComments:!0})!==v)return null;A=E;D=z}else if(D=b.createGlobalLinebreakMatcher(),A="before"===q||z.trim()?z:z.replace(D,""),D="after"===q||E.trim()?E:E.replace(D,""),A===z&&D===E)return null;
""===D&&"Punctuator"===v.type&&"+-".includes(e.value)&&v.value===e.value&&(D+=" ");return t.replaceTextRange([r.range[1],v.range[0]],A+e.value+D)}}function h(e,q,t){q=n.getTokenBefore(q,D=>D.value===t);const r=n.getTokenBefore(q),v=n.getTokenAfter(q),z=f[t],E=z||l,A=m(q,E);b.isTokenOnSameLine(r,q)&&b.isTokenOnSameLine(q,v)||("ignore"===z||b.isTokenOnSameLine(r,q)||b.isTokenOnSameLine(q,v)?"before"===E&&b.isTokenOnSameLine(r,q)?d.report({node:e,loc:q.loc,messageId:"operatorAtBeginning",data:{operator:t},
fix:A}):"after"===E&&b.isTokenOnSameLine(q,v)?d.report({node:e,loc:q.loc,messageId:"operatorAtEnd",data:{operator:t},fix:A}):"none"===E&&d.report({node:e,loc:q.loc,messageId:"noLinebreak",data:{operator:t},fix:A}):d.report({node:e,loc:q.loc,messageId:"badLinebreak",data:{operator:t},fix:A}))}function k(e){h(e,e.right,e.operator)}const p=!d.options[0],l=d.options[0]||"after",g=d.options[1]||{},f=g.overrides?Object.assign({},g.overrides):{};p&&!f["?"]&&(f["?"]="before");p&&!f[":"]&&(f[":"]="before");
const n=d.getSourceCode();return{BinaryExpression:k,LogicalExpression:k,AssignmentExpression:k,VariableDeclarator(e){e.init&&h(e,e.init,"=")},PropertyDefinition(e){e.value&&h(e,e.value,"=")},ConditionalExpression(e){h(e,e.consequent,"?");h(e,e.alternate,":")}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"require or disallow padding within blocks",recommended:!1,url:"https://eslint.org/docs/rules/padded-blocks"},fixable:"whitespace",schema:[{oneOf:[{enum:["always",
"never"]},{type:"object",properties:{blocks:{enum:["always","never"]},switches:{enum:["always","never"]},classes:{enum:["always","never"]}},additionalProperties:!1,minProperties:1}]},{type:"object",properties:{allowSingleLineBlocks:{type:"boolean"}},additionalProperties:!1}],messages:{alwaysPadBlock:"Block must be padded by blank lines.",neverPadBlock:"Block must not be padded by blank lines."}},create(d){function m(e){return"SwitchStatement"===e.type?n.getTokenBefore(e.cases[0]):n.getFirstToken(e)}
function h(e){let q=e;do e=q,q=n.getTokenAfter(q,{includeComments:!0});while(("Line"===q.type||"Block"===q.type)&&q.loc.start.line===e.loc.end.line);return q}function k(e){let q;do q=e,e=n.getTokenBefore(e,{includeComments:!0});while(("Line"===e.type||"Block"===e.type)&&e.loc.end.line===q.loc.start.line);return e}function p(e){var q=m(e);const t=h(q),r=n.getTokenBefore(t,{includeComments:!0});q=n.getLastToken(e);const v=k(q),z=n.getTokenAfter(v,{includeComments:!0});q=2<=t.loc.start.line-r.loc.end.line;
const E=2<=z.loc.start.line-v.loc.end.line;if(!l.allowSingleLineBlocks||!b.isTokenOnSameLine(r,z)){a:switch(e.type){case "BlockStatement":var A=l.blocks;break a;case "SwitchStatement":A=l.switches;break a;case "ClassBody":A=l.classes;break a;default:throw Error("unreachable");}A?(q||d.report({node:e,loc:{start:r.loc.start,end:t.loc.start},fix(D){return D.insertTextAfter(r,"\n")},messageId:"alwaysPadBlock"}),E||d.report({node:e,loc:{end:z.loc.start,start:v.loc.end},fix(D){return D.insertTextBefore(z,
"\n")},messageId:"alwaysPadBlock"})):(q&&d.report({node:e,loc:{start:r.loc.start,end:t.loc.start},fix(D){return D.replaceTextRange([r.range[1],t.range[0]-t.loc.start.column],"\n")},messageId:"neverPadBlock"}),E&&d.report({node:e,loc:{end:z.loc.start,start:v.loc.end},messageId:"neverPadBlock",fix(D){return D.replaceTextRange([v.range[1],z.range[0]-z.loc.start.column],"\n")}}))}}const l={};var g=d.options[0]||"always",f=d.options[1]||{};"string"===typeof g?(g="always"===g,l.blocks=g,l.switches=g,l.classes=
g):(Object.prototype.hasOwnProperty.call(g,"blocks")&&(l.blocks="always"===g.blocks),Object.prototype.hasOwnProperty.call(g,"switches")&&(l.switches="always"===g.switches),Object.prototype.hasOwnProperty.call(g,"classes")&&(l.classes="always"===g.classes));Object.prototype.hasOwnProperty.call(f,"allowSingleLineBlocks")&&(l.allowSingleLineBlocks=!0===f.allowSingleLineBlocks);const n=d.getSourceCode();f={};Object.prototype.hasOwnProperty.call(l,"switches")&&(f.SwitchStatement=function(e){0!==e.cases.length&&
p(e)});Object.prototype.hasOwnProperty.call(l,"blocks")&&(f.BlockStatement=function(e){0!==e.body.length&&p(e)});Object.prototype.hasOwnProperty.call(l,"classes")&&(f.ClassBody=function(e){0!==e.body.length&&p(e)});return f}}},(u,c,a)=>{function b(D,F){F||(F=D.slice(0));return Object.freeze(Object.defineProperties(D,{raw:{value:Object.freeze(F)}}))}function d(D){return{test:(F,C)=>C.getFirstToken(F).value===D}}function m(D){return{test:(F,C)=>F.loc.start.line===F.loc.end.line&&C.getFirstToken(F).value===
D}}function h(D){return{test:(F,C)=>F.loc.start.line!==F.loc.end.line&&C.getFirstToken(F).value===D}}function k(D){return{test:F=>F.type===D}}function p(D){return"ExpressionStatement"===D.type?(D=t.skipChainExpression(D.expression),"UnaryExpression"===D.type&&(D=t.skipChainExpression(D.argument)),"CallExpression"===D.type&&t.isFunction(D.callee)):!1}function l(D,F){if("DoWhileStatement"===F.type&&"BlockStatement"===F.body.type||p(F))return!0;D=(F=D.getLastToken(F,t.isNotSemicolonToken))&&t.isClosingBraceToken(F)?
D.getNodeByRangeIndex(F.range[0]):null;return!!D&&("BlockStatement"===D.type||"SwitchStatement"===D.type)}function g(D,F){return"ExpressionStatement"===D.type&&("Program"===D.parent.type||"BlockStatement"===D.parent.type&&t.isFunction(D.parent.parent))&&"Literal"===D.expression.type&&"string"===typeof D.expression.value&&!t.isParenthesised(F,D.expression)}function f(D,F){if(g(D,F)){for(const C of D.parent.body){if(C===D)break;if(!g(C,F))return!1}return!0}return!1}function n(D,F){const C=D.getLastToken(F),
B=D.getTokenBefore(C);D=D.getTokenAfter(C);return B&&D&&B.range[0]>=F.range[0]&&t.isSemicolonToken(C)&&C.loc.start.line!==B.loc.end.line&&C.loc.end.line===D.loc.start.line?B:C}function e(D,F,C){return F+C}var q;const t=a(571);c="[".concat(Array.from(t.LINEBREAKS).join(""),"]");const r=new RegExp(String.raw(q||(q=b(["^(s*?",")s*","(s*;?)$"],["^(\\s*?",")\\s*","(\\s*;?)$"])),c,c),"u"),v=/^(?:module\s*\.\s*)?exports(?:\s*\.|\s*\[|$)/u,z=/^require\(/u,E={any:{verify:function(){}},never:{verify:function(D,
F,C,B){0!==B.length&&D.report({node:C,messageId:"unexpectedBlankLine",fix(I){if(2<=B.length)return null;const J=B[0][0].range[1],M=B[0][1].range[0],P=D.getSourceCode().text.slice(J,M).replace(r,e);return I.replaceTextRange([J,M],P)}})}},always:{verify:function(D,F,C,B){0<B.length||D.report({node:C,messageId:"expectedBlankLine",fix(I){var J=D.getSourceCode();let M=n(J,F);J=J.getFirstTokenBetween(M,C,{includeComments:!0,filter(P){return t.isTokenOnSameLine(M,P)?(M=P,!1):!0}})||C;J=t.isTokenOnSameLine(M,
J)?"\n\n":"\n";return I.insertTextAfter(M,J)}})}}},A={"*":{test:()=>!0},"block-like":{test:(D,F)=>l(F,D)},"cjs-export":{test:(D,F)=>"ExpressionStatement"===D.type&&"AssignmentExpression"===D.expression.type&&v.test(F.getText(D.expression.left))},"cjs-import":{test:(D,F)=>"VariableDeclaration"===D.type&&0<D.declarations.length&&!!D.declarations[0].init&&z.test(F.getText(D.declarations[0].init))},directive:{test:f},expression:{test:(D,F)=>"ExpressionStatement"===D.type&&!f(D,F)},iife:{test:p},"multiline-block-like":{test:(D,
F)=>D.loc.start.line!==D.loc.end.line&&l(F,D)},"multiline-expression":{test:(D,F)=>D.loc.start.line!==D.loc.end.line&&"ExpressionStatement"===D.type&&!f(D,F)},"multiline-const":h("const"),"multiline-let":h("let"),"multiline-var":h("var"),"singleline-const":m("const"),"singleline-let":m("let"),"singleline-var":m("var"),block:k("BlockStatement"),empty:k("EmptyStatement"),function:k("FunctionDeclaration"),break:d("break"),case:d("case"),class:d("class"),const:d("const"),continue:d("continue"),debugger:d("debugger"),
default:d("default"),do:d("do"),export:d("export"),for:d("for"),if:d("if"),import:d("import"),let:d("let"),return:d("return"),switch:d("switch"),throw:d("throw"),try:d("try"),var:d("var"),while:d("while"),with:d("with")};u.exports={meta:{type:"layout",docs:{description:"require or disallow padding lines between statements",recommended:!1,url:"https://eslint.org/docs/rules/padding-line-between-statements"},fixable:"whitespace",schema:{definitions:{paddingType:{enum:Object.keys(E)},statementType:{anyOf:[{enum:Object.keys(A)},
{type:"array",items:{enum:Object.keys(A)},minItems:1,uniqueItems:!0,additionalItems:!1}]}},type:"array",items:{type:"object",properties:{blankLine:{$ref:"#/definitions/paddingType"},prev:{$ref:"#/definitions/statementType"},next:{$ref:"#/definitions/statementType"}},additionalProperties:!1,required:["blankLine","prev","next"]},additionalItems:!1},messages:{unexpectedBlankLine:"Unexpected blank line before this statement.",expectedBlankLine:"Expected blank line before this statement."}},create(D){function F(){P=
{upper:P,prevNode:null}}function C(){P=P.upper}function B(O,N){for(;"LabeledStatement"===O.type;)O=O.body;return Array.isArray(N)?N.some(B.bind(null,O)):A[N].test(O,J)}function I(O){var N=O.parent.type;if(t.STATEMENT_LIST_PARENTS.has(N)||"SwitchStatement"===N){if(N=P.prevNode){var L;a:{for(L=M.length-1;0<=L;--L){var x=M[L];if(B(N,x.prev)&&B(O,x.next)){L=E[x.blankLine];break a}}L=E.any}{x=[];let y=n(J,N);if(2<=O.loc.start.line-y.loc.end.line){do{const G=J.getTokenAfter(y,{includeComments:!0});2<=G.loc.start.line-
y.loc.end.line&&x.push([y,G]);y=G}while(y.range[0]<O.range[0])}}L.verify(D,N,O,x)}P.prevNode=O}}const J=D.getSourceCode(),M=D.options||[];let P=null;return{Program:F,BlockStatement:F,SwitchStatement:F,"Program:exit":C,"BlockStatement:exit":C,"SwitchStatement:exit":C,":statement":I,SwitchCase:function(O){I(O);F()},"SwitchCase:exit":C}}}},(u,c,a)=>{function b(k){k=k.variables;for(let p=0;p<k.length;++p){const l=k[p];if("arguments"===l.name)return 0===l.identifiers.length?l:null}return null}function d(k){const p=
{isCallback:!1,isLexicalThis:!1};var l=k;let g=k.parent;for(k=!1;l;){switch(g.type){case "LogicalExpression":case "ChainExpression":case "ConditionalExpression":break;case "MemberExpression":if(g.object!==l||g.property.computed||"Identifier"!==g.property.type||"bind"!==g.property.name)return p;l="ChainExpression"===g.parent.type?g.parent:g;if(h.isCallee(l))k||(k=!0,p.isLexicalThis=1===l.parent.arguments.length&&"ThisExpression"===l.parent.arguments[0].type),g=l.parent;else return p;break;case "CallExpression":case "NewExpression":return g.callee!==
l&&(p.isCallback=!0),p;default:return p}l=g;g=g.parent}throw Error("unreachable");}function m(k){return k.every(p=>"Identifier"===p.type)&&k.length!==(new Set(k.map(p=>p.name))).size}const h=a(571);u.exports={meta:{type:"suggestion",docs:{description:"require using arrow functions for callbacks",recommended:!1,url:"https://eslint.org/docs/rules/prefer-arrow-callback"},schema:[{type:"object",properties:{allowNamedFunctions:{type:"boolean",default:!1},allowUnboundThis:{type:"boolean",default:!0}},additionalProperties:!1}],
fixable:"code",messages:{preferArrowCallback:"Unexpected function expression."}},create(k){function p(){q.push({this:!1,super:!1,meta:!1})}function l(){return q.pop()}const g=k.options[0]||{},f=!1!==g.allowUnboundThis,n=g.allowNamedFunctions,e=k.getSourceCode();let q=[];return{Program(){q=[]},ThisExpression(){const t=q[q.length-1];t&&(t.this=!0)},Super(){const t=q[q.length-1];t&&(t.super=!0)},MetaProperty(t){const r=q[q.length-1];r&&"new"===t.meta.name&&"target"===t.property.name&&(r.meta=!0)},FunctionDeclaration:p,
"FunctionDeclaration:exit":l,FunctionExpression:p,["FunctionExpression:exit"](t){const r=l();if(!(n&&t.id&&t.id.name||t.generator)){var v=k.getDeclaredVariables(t)[0];if(!(v&&"FunctionName"===v.defs[0].type&&0<v.references.length||(v=b(k.getScope()),v&&0<v.references.length))){var z=d(t);!z.isCallback||f&&r.this&&!z.isLexicalThis||r.super||r.meta||k.report({node:t,messageId:"preferArrowCallback",*fix(E){if(!(!z.isLexicalThis&&r.this||m(t.params))){if(z.isLexicalThis){var A=t.parent;if("MemberExpression"!==
A.type)return;var D=A.parent,F=e.getTokenAfter(A.object,h.isNotClosingParenToken);D=e.getLastToken(D);if(h.isParenthesised(e,A)||e.commentsExistBetween(F,D))return;yield E.removeRange([F.range[0],D.range[1]])}A=e.getFirstToken(t,t.async?1:0);F=e.getTokenAfter(A,h.isOpeningParenToken);e.commentsExistBetween(A,F)?(yield E.remove(A),t.id&&(yield E.remove(t.id))):yield E.removeRange([A.range[0],F.range[0]]);yield E.insertTextBefore(t.body,"=> ");A=z.isLexicalThis?t.parent.parent:t;"ChainExpression"===
A.type&&(A=A.parent);"CallExpression"===A.parent.type||"ConditionalExpression"===A.parent.type||h.isParenthesised(e,A)||h.isParenthesised(e,t)||(yield E.insertTextBefore(A,"("),yield E.insertTextAfter(A,")"))}}})}}}}}}},(u,c,a)=>{function b(q){for(q=q.parent;f.test(q.type);)q=q.parent;return"VariableDeclarator"===q.type||"AssignmentExpression"===q.type&&"ExpressionStatement"===q.parent.type&&n.test(q.parent.parent.type)}function d(q,t){if(t.through.find(r=>r.resolved&&r.resolved.name===q))return!0;
t=g.getVariableByName(t,q);return null!==t?t.defs.some(r=>"Parameter"===r.type):!1}function m(q){if(!q.isWrite())return null;for(q=q.identifier.parent;f.test(q.type);)q=q.parent;return e.test(q.type)?q:null}function h(q){switch(q.type){case "ObjectPattern":return q.properties.some(t=>t?h(t.argument||t.value):!1);case "ArrayPattern":return q.elements.some(t=>t?h(t):!1);case "AssignmentPattern":return h(q.left);case "MemberExpression":return!0}return!1}function k(q,t){if(q.eslintUsed&&"global"===q.scope.type)return null;
var r=null;let v=!1;const z=q.references;for(let E=0;E<z.length;++E){const A=z[E];if(A.isWrite()){if(null!==r&&r.identifier!==A.identifier)return null;r=m(A);if(null!==r&&void 0!==r.left){r=r.left;let D=!1,F=!1;"ObjectPattern"===r.type?(D=r.properties.filter(C=>C.value).map(C=>C.value.name).some(C=>d(C,q.scope)),F=h(r)):"ArrayPattern"===r.type&&(D=r.elements.map(C=>C&&C.name).some(C=>d(C,q.scope)),F=h(r));if(D||F)return null}r=A}else if(A.isRead()&&null===r){if(t)return null;v=!0}}return null!==r&&
r.from===q.scope&&b(r.identifier)?v?q.defs[0].name:r.identifier:null}function p(q,t,r){return!q||r(q)?null:q.type===t?q:p(q.parent,t,r)}const l=a(685),g=a(571),f=/^(?:.+?Pattern|RestElement|SpreadProperty|ExperimentalRestProperty|Property)$/u,n=/^(?:Program|BlockStatement|SwitchCase)$/u,e=/^(?:VariableDeclarator|AssignmentExpression)$/u;u.exports={meta:{type:"suggestion",docs:{description:"require `const` declarations for variables that are never reassigned after declared",recommended:!1,url:"https://eslint.org/docs/rules/prefer-const"},
fixable:"code",schema:[{type:"object",properties:{destructuring:{enum:["any","all"],default:"any"},ignoreReadBeforeAssign:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{useConst:"'{{name}}' is never reassigned. Use 'const' instead."}},create(q){function t(B){const I=B.filter(Boolean);if(B.length&&(z||I.length===B.length)){const M=p(B[0],"VariableDeclaration",N=>N.type.endsWith("Statement")),P=null===M;if(!P&&0<M.declarations.length){var J=M.declarations[0];J.init&&(J=J.init.parent,
"VariableDeclarator"===J.type&&(J.id.name!==C&&(C=J.id.name,D=0),"ObjectPattern"===J.id.type&&J.init.name!==C&&(C=J.init.name,D=0),J.id!==F&&(F=J.id,D=0)))}let O=M&&("ForInStatement"===M.parent.type||"ForOfStatement"===M.parent.type||M.declarations.every(N=>N.init))&&I.length===B.length;!P&&M.declarations&&1!==M.declarations.length&&M&&M.declarations&&1<=M.declarations.length&&(D+=I.length,O=O&&D===M.declarations.length);I.forEach(N=>{q.report({node:N,messageId:"useConst",data:N,fix:O?L=>{const x=
v.getFirstToken(M,y=>y.value===M.kind);return(new l(L,v)).retainRange(M.range).replaceTextRange(x.range,"const")}:null})})}}const r=q.options[0]||{},v=q.getSourceCode(),z="all"!==r.destructuring,E=!0===r.ignoreReadBeforeAssign,A=[];let D=0,F=null,C="";return{["Program:exit"](){var B=new Map;for(let M=0;M<A.length;++M){var I=A[M];const P=I.references;I=k(I,E);let O=null;for(let N=0;N<P.length;++N){var J=P[N];const L=J.identifier;L!==O&&(O=L,(J=m(J))&&(B.has(J)?B.get(J).push(I):B.set(J,[I])))}}B.forEach(t)},
VariableDeclaration(B){"let"!==B.kind||"ForStatement"===B.parent.type&&B.parent.init===B||A.push(...q.getDeclaredVariables(B))}}}}},(u,c,a)=>{const b=a(571),d=b.getPrecedence({type:"AssignmentExpression"});u.exports={meta:{type:"suggestion",docs:{description:"require destructuring from arrays and/or objects",recommended:!1,url:"https://eslint.org/docs/rules/prefer-destructuring"},fixable:"code",schema:[{oneOf:[{type:"object",properties:{VariableDeclarator:{type:"object",properties:{array:{type:"boolean"},
object:{type:"boolean"}},additionalProperties:!1},AssignmentExpression:{type:"object",properties:{array:{type:"boolean"},object:{type:"boolean"}},additionalProperties:!1}},additionalProperties:!1},{type:"object",properties:{array:{type:"boolean"},object:{type:"boolean"}},additionalProperties:!1}]},{type:"object",properties:{enforceForRenamedProperties:{type:"boolean"}},additionalProperties:!1}],messages:{preferDestructuring:"Use {{type}} destructuring."}},create(m){function h(n,e){return f&&f[n]&&
f[n][e]}function k(n,e,q){m.report({node:n,messageId:"preferDestructuring",data:{type:e},fix:q})}function p(n,e,q){if("MemberExpression"===e.type&&"Super"!==e.object.type&&"PrivateIdentifier"!==e.property.type)if(Number.isInteger(e.property.value))h(q.type,"array")&&k(q,"array",null);else{var t="VariableDeclarator"!==q.type||"Identifier"!==q.id.type||"MemberExpression"!==q.init.type||q.init.computed||"Identifier"!==q.init.property.type||q.id.name!==q.init.property.name?null:r=>{{const z=q.init;var v=
m.getSourceCode();v.getCommentsInside(q).length>v.getCommentsInside(z.object).length?r=null:(v=v.getText(z.object),b.getPrecedence(z.object)<d&&(v="(".concat(v,")")),r=r.replaceText(q,"{".concat(z.property.name,"} = ").concat(v)))}return r};if(h(q.type,"object")&&g)k(q,"object",t);else if(h(q.type,"object")){const r=e.property;("Literal"===r.type&&n.name===r.value||"Identifier"===r.type&&n.name===r.name&&!e.computed)&&k(q,"object",t)}}}const l=m.options[0],g=m.options[1]&&m.options[1].enforceForRenamedProperties;
let f={VariableDeclarator:{array:!0,object:!0},AssignmentExpression:{array:!0,object:!0}};l&&(f="undefined"!==typeof l.array||"undefined"!==typeof l.object?{VariableDeclarator:l,AssignmentExpression:l}:l);return{VariableDeclarator:function(n){n.init&&"MemberExpression"===n.init.type&&p(n.id,n.init,n)},AssignmentExpression:function(n){"="===n.operator&&p(n.left,n.right,n)}}}}},(u,c,a)=>{function b(g){return h.getPrecedence(g)<=l||"AwaitExpression"===g.type||"UnaryExpression"===g.type}function d(g,
f){const n="ChainExpression"===g.parent.type?g.parent.parent:g.parent;return("ClassDeclaration"===n.type||n.type.endsWith("Expression")&&h.getPrecedence(n)>=l&&!("BinaryExpression"===n.type&&"**"===n.operator&&n.right===g)&&!(("CallExpression"===n.type||"NewExpression"===n.type)&&n.arguments.includes(g))&&!("MemberExpression"===n.type&&n.computed&&n.property===g)&&"ArrayExpression"!==n.type)&&!h.isParenthesised(f,g)}function m(g,f){return f?"(".concat(g,")"):g}const h=a(571),{CALL:k,ReferenceTracker:p}=
a(524),l=h.getPrecedence({type:"BinaryExpression",operator:"**"});u.exports={meta:{type:"suggestion",docs:{description:"disallow the use of `Math.pow` in favor of the `**` operator",recommended:!1,url:"https://eslint.org/docs/rules/prefer-exponentiation-operator"},schema:[],fixable:"code",messages:{useExponentiation:"Use the '**' operator instead of 'Math.pow'."}},create(g){function f(e){g.report({node:e,messageId:"useExponentiation",fix(q){if(2!==e.arguments.length||e.arguments.some(B=>"SpreadElement"===
B.type)||0<n.getCommentsInside(e).length)return null;var t=e.arguments[0],r=e.arguments[1],v=n.getText(t),z=n.getText(r);const E=b(t),A=h.getPrecedence(r)<l;var D=d(e,n);let F="",C="";if(!D){if(!E){t=n.getFirstToken(t);const B=n.getTokenBefore(e);B&&B.range[1]===e.range[0]&&!h.canTokensBeAdjacent(B,t)&&(F=" ")}A||(r=n.getLastToken(r),(t=n.getTokenAfter(e))&&e.range[1]===t.range[0]&&!h.canTokensBeAdjacent(r,t)&&(C=" "))}v=m(v,E);z=m(z,A);D=m("".concat(v,"**").concat(z),D);return q.replaceText(e,"".concat(F).concat(D).concat(C))}})}
const n=g.getSourceCode();return{Program(){var e=g.getScope();e=new p(e);const q={Math:{pow:{[k]:!0}}};for(const {node:t}of e.iterateGlobalReferences(q))f(t)}}}}},(u,c,a)=>{const {CALL:b,CONSTRUCT:d,ReferenceTracker:m,getStringIfConstant:h}=a(524),k=a(674),p=new k.RegExpParser;u.exports={meta:{type:"suggestion",docs:{description:"enforce using named capture group in regular expression",recommended:!1,url:"https://eslint.org/docs/rules/prefer-named-capture-group"},schema:[],messages:{required:"Capture group '{{group}}' should be converted to a named or non-capturing group."}},
create(l){function g(f,n,e){let q;try{q=p.parsePattern(f,0,f.length,e)}catch(t){return}k.visitRegExpAST(q,{onCapturingGroupEnter(t){t.name||l.report({node:n,messageId:"required",data:{group:t.raw}})}})}return{Literal(f){f.regex&&g(f.regex.pattern,f,f.regex.flags.includes("u"))},Program(){var f=l.getScope();f=new m(f);var n={RegExp:{[b]:!0,[d]:!0}};for(const {node:e}of f.iterateGlobalReferences(n))f=h(e.arguments[0]),n=h(e.arguments[1]),f&&g(f,e,n&&n.includes("u"))}}}}},(u,c,a)=>{function b(h){return d.isSpecificId(h,
"parseInt")||d.isSpecificMemberAccess(h,"Number","parseInt")}const d=a(571),m=new Map([[2,{system:"binary",literalPrefix:"0b"}],[8,{system:"octal",literalPrefix:"0o"}],[16,{system:"hexadecimal",literalPrefix:"0x"}]]);u.exports={meta:{type:"suggestion",docs:{description:"disallow `parseInt()` and `Number.parseInt()` in favor of binary, octal, and hexadecimal literals",recommended:!1,url:"https://eslint.org/docs/rules/prefer-numeric-literals"},schema:[],messages:{useLiteral:"Use {{system}} literals instead of {{functionName}}()."},
fixable:"code"},create(h){const k=h.getSourceCode();return{["CallExpression[arguments.length=2]"](p){const [l,g]=p.arguments,f=d.getStaticStringValue(l),n=g.value;if(null!==f&&d.isStringLiteral(l)&&"Literal"===g.type&&"number"===typeof n&&m.has(n)&&b(p.callee)){const {system:e,literalPrefix:q}=m.get(n);h.report({node:p,messageId:"useLiteral",data:{system:e,functionName:k.getText(p.callee)},fix(t){if(k.getCommentsInside(p).length)return null;const r="".concat(q).concat(f);if(+r!==parseInt(f,n))return null;
const v=k.getTokenBefore(p),z=k.getTokenAfter(p);let E="",A="";v&&v.range[1]===p.range[0]&&!d.canTokensBeAdjacent(v,r)&&(E=" ");z&&p.range[1]===z.range[0]&&!d.canTokensBeAdjacent(r,z)&&(A=" ");return t.replaceText(p,"".concat(E).concat(r).concat(A))}})}}}}}},(u,c,a)=>{function b(v){return v.arguments.some(z=>"SpreadElement"===z.type)}function d(v){return"Property"===v.type&&("get"===v.kind||"set"===v.kind)}function m(v){return v.properties.some(d)}function h(v){return v.arguments.filter(z=>"ObjectExpression"===
z.type).some(m)}function k(v,z,E){const A=[E.getFirstToken(v),E.getLastToken(v)];let D=E.getTokenBefore(v);for(v=E.getTokenAfter(v);D&&v&&D.range[0]>z.range[0]&&e(D)&&q(v);)A.push(D,v),D=E.getTokenBefore(D),v=E.getTokenAfter(v);return A.sort((F,C)=>F.range[0]-C.range[0])}function p(v,z){const E=z.text;let A=v.range[0];if((v=z.getTokenBefore(v,{includeComments:!0}))&&"Line"===v.type)return A;for(;r.test(E[A-1]||"");)--A;return A}function l(v,z){return function*(E){const A=z.getTokenAfter(v.callee,
e);var D=z.getLastToken(v);yield E.removeRange([v.range[0],A.range[0]]);a:{var F=v.parent;switch(F.type){case "VariableDeclarator":case "ArrayExpression":case "ReturnStatement":case "CallExpression":case "Property":F=!1;break a;case "AssignmentExpression":F=F.left===v&&!t(z,v);break a;default:F=!t(z,v)}}F?(yield E.replaceText(A,"({"),yield E.replaceText(D,"})")):(yield E.replaceText(A,"{"),yield E.replaceText(D,"}"));for(const I of v.arguments){var C=k(I,A,z),B=C.shift();D=C.pop();if("ObjectExpression"===
I.type){F=z.getLastToken(I,1);const J=z.getTokenAfter(D);for(const M of C)yield E.remove(M);C=B.range[0];{const M=z.text;for(B=B.range[1];r.test(M[B]||"");)B+=1}C=[C,B];D=[Math.max(p(D,z),C[1]),D.range[1]];yield E.removeRange(C);yield E.removeRange(D);(0===I.properties.length||n(F))&&n(J)&&(yield E.remove(J))}else{a:switch(I.type){case "AssignmentExpression":case "ArrowFunctionExpression":case "ConditionalExpression":F=!t(z,I);break a;default:F=!1}F?(yield E.insertTextBefore(B,"...("),yield E.insertTextAfter(D,
")")):yield E.insertTextBefore(B,"...")}}}}const {CALL:g,ReferenceTracker:f}=a(524),{isCommaToken:n,isOpeningParenToken:e,isClosingParenToken:q,isParenthesised:t}=a(571),r=/\s/u;u.exports={meta:{type:"suggestion",docs:{description:"disallow using Object.assign with an object literal as the first argument and prefer the use of object spread instead.",recommended:!1,url:"https://eslint.org/docs/rules/prefer-object-spread"},schema:[],fixable:"code",messages:{useSpreadMessage:"Use an object spread instead of `Object.assign` eg: `{ ...foo }`.",
useLiteralMessage:"Use an object literal instead of `Object.assign`. eg: `{ foo: bar }`."}},create(v){const z=v.getSourceCode();return{Program(){var E=v.getScope();E=new f(E);var A={Object:{assign:{[g]:!0}}};for(const {node:D}of E.iterateGlobalReferences(A))!(1<=D.arguments.length&&"ObjectExpression"===D.arguments[0].type)||b(D)||1<D.arguments.length&&h(D)||(E=1===D.arguments.length?"useLiteralMessage":"useSpreadMessage",A=l(D,z),v.report({node:D,messageId:E,fix:A}))}}}}},(u,c,a)=>{const b=a(571);
u.exports={meta:{type:"suggestion",docs:{description:"require using Error objects as Promise rejection reasons",recommended:!1,url:"https://eslint.org/docs/rules/prefer-promise-reject-errors"},fixable:null,schema:[{type:"object",properties:{allowEmptyReject:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{rejectAnError:"Expected the Promise rejection reason to be an Error."}},create(d){function m(k){if(k.arguments.length||!h)k.arguments.length&&b.couldBeError(k.arguments[0])&&("Identifier"!==
k.arguments[0].type||"undefined"!==k.arguments[0].name)||d.report({node:k,messageId:"rejectAnError"})}const h=d.options.length&&d.options[0].allowEmptyReject;return{CallExpression(k){b.isSpecificMemberAccess(k.callee,"Promise","reject")&&m(k)},["NewExpression:exit"](k){"Identifier"===k.callee.type&&"Promise"===k.callee.name&&k.arguments.length&&b.isFunction(k.arguments[0])&&1<k.arguments[0].params.length&&"Identifier"===k.arguments[0].params[1].type&&d.getDeclaredVariables(k.arguments[0]).find(p=>
p.name===k.arguments[0].params[1].name).references.filter(p=>p.isRead()).filter(p=>"CallExpression"===p.identifier.parent.type&&p.identifier===p.identifier.parent.callee).forEach(p=>m(p.identifier.parent))}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"require `Reflect` methods where applicable",recommended:!1,url:"https://eslint.org/docs/rules/prefer-reflect"},deprecated:!0,replacedBy:[],schema:[{type:"object",properties:{exceptions:{type:"array",items:{enum:"apply call delete defineProperty getOwnPropertyDescriptor getPrototypeOf setPrototypeOf isExtensible getOwnPropertyNames preventExtensions".split(" ")},
uniqueItems:!0}},additionalProperties:!1}],messages:{preferReflect:"Avoid using {{existing}}, instead use {{substitute}}."}},create(c){function a(h,k,p){c.report({node:h,messageId:"preferReflect",data:{existing:k,substitute:p}})}const b={apply:"Function.prototype.apply",call:"Function.prototype.call",defineProperty:"Object.defineProperty",getOwnPropertyDescriptor:"Object.getOwnPropertyDescriptor",getPrototypeOf:"Object.getPrototypeOf",setPrototypeOf:"Object.setPrototypeOf",isExtensible:"Object.isExtensible",
getOwnPropertyNames:"Object.getOwnPropertyNames",preventExtensions:"Object.preventExtensions"},d={apply:"Reflect.apply",call:"Reflect.apply",defineProperty:"Reflect.defineProperty",getOwnPropertyDescriptor:"Reflect.getOwnPropertyDescriptor",getPrototypeOf:"Reflect.getPrototypeOf",setPrototypeOf:"Reflect.setPrototypeOf",isExtensible:"Reflect.isExtensible",getOwnPropertyNames:"Reflect.getOwnPropertyNames",preventExtensions:"Reflect.preventExtensions"},m=(c.options[0]||{}).exceptions||[];return{CallExpression(h){const k=
(h.callee.property||{}).name,p="Reflect"===(h.callee.object||{}).name,l=Object.prototype.hasOwnProperty.call(d,k),g=-1!==m.indexOf(k);!l||p||g||a(h,b[k],d[k])},UnaryExpression(h){const k="delete"===h.operator,p="Identifier"===h.argument.type,l=-1!==m.indexOf("delete");!k||p||l||a(h,"the delete keyword","Reflect.deleteProperty")}}}}},(u,c,a)=>{function b(g){return"Literal"===g.type&&Object.prototype.hasOwnProperty.call(g,"regex")}function d(g){return"TemplateLiteral"===g.type&&0===g.expressions.length}
const m=a(571),{CALL:h,CONSTRUCT:k,ReferenceTracker:p,findVariable:l}=a(524);u.exports={meta:{type:"suggestion",docs:{description:"disallow use of the `RegExp` constructor in favor of regular expression literals",recommended:!1,url:"https://eslint.org/docs/rules/prefer-regex-literals"},schema:[{type:"object",properties:{disallowRedundantWrapping:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{unexpectedRegExp:"Use a regular expression literal instead of the 'RegExp' constructor.",
unexpectedRedundantRegExp:"Regular expression literal is unnecessarily wrapped within a 'RegExp' constructor.",unexpectedRedundantRegExpWithFlags:"Use regular expression literal with flags instead of the 'RegExp' constructor."}},create(g){function f(e){var q;if(!(q="Literal"===e.type&&"string"===typeof e.value||d(e))){if(q="TaggedTemplateExpression"===e.type&&m.isSpecificMemberAccess(e.tag,"String","raw")){{q=m.skipChainExpression(e.tag).object;const t=g.getScope();q=l(t,q);q=null!==q&&"global"===
q.scope.type&&0===q.defs.length}}q=q&&d(e.quasi)}return q}const [{disallowRedundantWrapping:n=!1}={}]=g.options;return{Program(){var e=g.getScope();e=new p(e);const q={RegExp:{[h]:!0,[k]:!0}};for(const {node:t}of e.iterateGlobalReferences(q)){if(e=n)e=t.arguments,e=1===e.length&&b(e[0])?!0:2===e.length&&b(e[0])&&f(e[1])?!0:!1;e?2===t.arguments.length?g.report({node:t,messageId:"unexpectedRedundantRegExpWithFlags"}):g.report({node:t,messageId:"unexpectedRedundantRegExp"}):(e=t.arguments,e=1!==e.length&&
2!==e.length||!e.every(f)?!1:!0,e&&g.report({node:t,messageId:"unexpectedRegExp"}))}}}}}},u=>{function c(a){a=a.identifier;const b=a.parent;return!("MemberExpression"===b.type&&b.object===a&&!b.computed)}u.exports={meta:{type:"suggestion",docs:{description:"require rest parameters instead of `arguments`",recommended:!1,url:"https://eslint.org/docs/rules/prefer-rest-params"},schema:[],messages:{preferRestParams:"Use the rest parameters instead of 'arguments'."}},create(a){function b(m){a.report({node:m.identifier,
loc:m.identifier.loc,messageId:"preferRestParams"})}function d(){a:{var m=a.getScope().variables;for(let h=0;h<m.length;++h){const k=m[h];if("arguments"===k.name){m=0===k.identifiers.length?k:null;break a}}m=null}m&&m.references.filter(c).forEach(b)}return{"FunctionDeclaration:exit":d,"FunctionExpression:exit":d}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"require spread operators instead of `.apply()`",recommended:!1,url:"https://eslint.org/docs/rules/prefer-spread"},
schema:[],fixable:null,messages:{preferSpread:"Use the spread operator instead of '.apply()'."}},create(d){const m=d.getSourceCode();return{CallExpression(h){if(b.isSpecificMemberAccess(h.callee,null,"apply")&&2===h.arguments.length&&"ArrayExpression"!==h.arguments[1].type&&"SpreadElement"!==h.arguments[1].type){var k=b.skipChainExpression(b.skipChainExpression(h.callee).object);k="MemberExpression"===k.type?k.object:null;var p=h.arguments[0];k=k?b.equalTokens(k,p,m):b.isNullOrUndefined(p);k&&d.report({node:h,
messageId:"preferSpread"})}}}}}},(u,c,a)=>{function b(f){return"BinaryExpression"===f.type&&"+"===f.operator}function d(f){for(;b(f.parent);)f=f.parent;return f}function m(f){return b(f)?m(f.left)||m(f.right):"Literal"===f.type&&"string"===typeof f.value?g.hasOctalOrNonOctalDecimalEscapeSequence(f.raw):!1}function h(f){return b(f)?h(f.right)||h(f.left):g.isStringLiteral(f)}function k(f){return b(f)?k(f.right)||k(f.left):!g.isStringLiteral(f)}function p(f){return"BinaryExpression"===f.type?p(f.left):
"TemplateLiteral"===f.type?f.expressions.length&&f.quasis.length&&f.quasis[0].range[0]===f.quasis[0].range[1]:"Literal"!==f.type||"string"!==typeof f.value}function l(f){return"BinaryExpression"===f.type?p(f.right):"TemplateLiteral"===f.type?f.expressions.length&&f.quasis.length&&f.quasis[f.quasis.length-1].range[0]===f.quasis[f.quasis.length-1].range[1]:"Literal"!==f.type||"string"!==typeof f.value}const g=a(571);u.exports={meta:{type:"suggestion",docs:{description:"require template literals instead of string concatenation",
recommended:!1,url:"https://eslint.org/docs/rules/prefer-template"},schema:[],fixable:"code",messages:{unexpectedStringConcatenation:"Unexpected string concatenation."}},create(f){function n(v,z){const E=[v].concat(t.getTokensBetween(v,z)).concat(z),A=t.getText();return E.slice(0,-1).reduce((D,F,C)=>D+A.slice(F.range[1],E[C+1].range[0]),"")}function e(v,z,E){if("Literal"===v.type&&"string"===typeof v.value)return"`".concat(v.raw.slice(1,-1).replace(/\\*(\$\{|`)/gu,D=>D.lastIndexOf("\\")%2?"\\".concat(D):
D).replace(new RegExp("\\\\".concat(v.raw[0]),"gu"),v.raw[0]),"`");if("TemplateLiteral"===v.type)return t.getText(v);if(b(v)&&h(v)&&k(v)){var A=t.getFirstTokenBetween(v.left,v.right,B=>"+"===B.value);const D=n(v.left,A);A=n(A,v.right);const F=l(v.left),C=p(v.right);return F?e(v.left,z,D+A).slice(0,-1)+e(v.right,null,E).slice(1):C?e(v.left,z,null).slice(0,-1)+e(v.right,D+A,E).slice(1):"".concat(e(v.left,z,null)).concat(D,"+").concat(A).concat(e(v.right,E,null))}return"`${".concat(z||"").concat(t.getText(v)).concat(E||
"","}`")}function q(v){if(g.isStringLiteral(v)&&b(v.parent)){var z=d(v.parent);r[z.range[0]]||(r[z.range[0]]=!0,k(z)&&f.report({node:z,messageId:"unexpectedStringConcatenation",fix:E=>{{const A=d(v.parent);E=m(A)?null:E.replaceText(A,e(A,null,null))}return E}}))}}const t=f.getSourceCode();let r=Object.create(null);return{Program(){r=Object.create(null)},Literal:q,TemplateLiteral:q}}}},(u,c,a)=>{const b=a(462),d=a(571),m=a(606);u.exports={meta:{type:"suggestion",docs:{description:"require quotes around object literal property names",
recommended:!1,url:"https://eslint.org/docs/rules/quote-props"},schema:{anyOf:[{type:"array",items:[{enum:["always","as-needed","consistent","consistent-as-needed"]}],minItems:0,maxItems:1},{type:"array",items:[{enum:["always","as-needed","consistent","consistent-as-needed"]},{type:"object",properties:{keywords:{type:"boolean"},unnecessary:{type:"boolean"},numbers:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2}]},fixable:"code",messages:{requireQuotesDueToReservedWord:"Properties should be quoted as '{{property}}' is a reserved word.",
inconsistentlyQuotedProperty:"Inconsistently quoted property '{{key}}' found.",unnecessarilyQuotedProperty:"Unnecessarily quoted property '{{property}}' found.",unquotedReservedProperty:"Unquoted reserved word '{{property}}' used as key.",unquotedNumericProperty:"Unquoted number literal '{{property}}' used as key.",unquotedPropertyFound:"Unquoted property '{{property}}' found.",redundantQuoting:"Properties shouldn't be quoted as all quotes are redundant."}},create(h){function k(z,E,A){return 1===
E.length&&0===E[0].start&&E[0].end===z.length&&(0<=["Identifier","Keyword","Null","Boolean"].indexOf(E[0].type)||"Numeric"===E[0].type&&!A&&String(+E[0].value)===E[0].value)}function p(z){return"Identifier"===z.type?z.name:z.value}function l(z){return"Literal"===z.type&&"string"===typeof z.value?v.getText(z):'"'.concat("Identifier"===z.type?z.name:z.value,'"')}function g(z){const E=z.key;if(!(z.method||z.computed||z.shorthand))if("Literal"===E.type&&"string"===typeof E.value){let A;try{A=b.tokenize(E.value)}catch(D){return}1!==
A.length||0<=m.indexOf(A[0].value)&&q||t&&k(E.value,A,r)&&h.report({node:z,messageId:"unnecessarilyQuotedProperty",data:{property:E.value},fix:D=>D.replaceText(E,p(E))})}else q&&"Identifier"===E.type&&0<=m.indexOf(E.name)?h.report({node:z,messageId:"unquotedReservedProperty",data:{property:E.name},fix:A=>A.replaceText(E,l(E))}):r&&"Literal"===E.type&&d.isNumericLiteral(E)&&h.report({node:z,messageId:"unquotedNumericProperty",data:{property:E.value},fix:A=>A.replaceText(E,l(E))})}function f(z){const E=
z.key;z.method||z.computed||z.shorthand||"Literal"===E.type&&"string"===typeof E.value||h.report({node:z,messageId:"unquotedPropertyFound",data:{property:E.name||E.value},fix:A=>A.replaceText(E,l(E))})}function n(z,E){const A=[],D=[];let F=null,C=!1;z.properties.forEach(B=>{const I=B.key;if(I&&!B.method&&!B.computed&&!B.shorthand)if("Literal"===I.type&&"string"===typeof I.value){if(A.push(B),E){let J;try{J=b.tokenize(I.value)}catch(M){C=!0;return}C=C||!k(I.value,J)||q&&0<=m.indexOf(J[0].value)}}else q&&
E&&"Identifier"===I.type&&0<=m.indexOf(I.name)?(D.push(B),C=!0,F=I.name):D.push(B)});E&&A.length&&!C?A.forEach(B=>{h.report({node:B,messageId:"redundantQuoting",fix:I=>I.replaceText(B.key,p(B.key))})}):D.length&&F?D.forEach(B=>{h.report({node:B,messageId:"requireQuotesDueToReservedWord",data:{property:F},fix:I=>I.replaceText(B.key,l(B.key))})}):A.length&&D.length&&D.forEach(B=>{h.report({node:B,messageId:"inconsistentlyQuotedProperty",data:{key:B.key.name||B.key.value},fix:I=>I.replaceText(B.key,
l(B.key))})})}const e=h.options[0],q=h.options[1]&&h.options[1].keywords,t=!h.options[1]||!1!==h.options[1].unnecessary,r=h.options[1]&&h.options[1].numbers,v=h.getSourceCode();return{Property(z){"always"!==e&&e||f(z);"as-needed"===e&&g(z)},ObjectExpression(z){"consistent"===e&&n(z,!1);"consistent-as-needed"===e&&n(z,!0)}}}}},(u,c,a)=>{function b(p,l){l||(l=p.slice(0));return Object.freeze(Object.defineProperties(p,{raw:{value:Object.freeze(l)}}))}var d;const m=a(571),h={double:{quote:'"',alternateQuote:"'",
description:"doublequote"},single:{quote:"'",alternateQuote:'"',description:"singlequote"},backtick:{quote:"`",alternateQuote:'"',description:"backtick"}},k=new RegExp(String.raw(d||(d=b(["(^|[^\\])(\\\\)*[","]"],["(^|[^\\\\])(\\\\\\\\)*[","]"])),Array.from(m.LINEBREAKS).join("")),"u");h.double.convert=h.single.convert=h.backtick.convert=function(p){const l=this.quote,g=p[0];return l===g?p:l+p.slice(1,-1).replace(/\\(\$\{|\r\n?|\n|.)|["'`]|\$\{|(\r\n?|\n)/gu,(f,n,e)=>n===g||"`"===g&&"${"===n?n:f===
l||"`"===l&&"${"===f?"\\".concat(f):e&&"`"===g?"\\n":f)+l};u.exports={meta:{type:"layout",docs:{description:"enforce the consistent use of either backticks, double, or single quotes",recommended:!1,url:"https://eslint.org/docs/rules/quotes"},fixable:"code",schema:[{enum:["single","double","backtick"]},{anyOf:[{enum:["avoid-escape"]},{type:"object",properties:{avoidEscape:{type:"boolean"},allowTemplateLiterals:{type:"boolean"}},additionalProperties:!1}]}],messages:{wrongQuotes:"Strings must use {{description}}."}},
create(p){function l(v){const z=v.parent.parent;if("Program"!==z.type&&("BlockStatement"!==z.type||!m.isFunction(z.parent)))return!1;for(let E=0;E<z.body.length;++E){const A=z.body[E];if(A===v.parent)return!0;if("ExpressionStatement"!==A.type||"Literal"!==A.expression.type||"string"!==typeof A.expression.value)break}return!1}function g(v){const z=v.parent;switch(z.type){case "ExpressionStatement":return l(v);case "Property":case "PropertyDefinition":case "MethodDefinition":return z.key===v&&!z.computed;
case "ImportDeclaration":case "ExportNamedDeclaration":case "ExportAllDeclaration":return z.source===v;default:return!1}}const f=p.options[0],n=h[f||"double"],e=p.options[1],q=e&&!0===e.allowTemplateLiterals,t=p.getSourceCode();let r=e&&!0===e.avoidEscape;"avoid-escape"===e&&(r=!0);return{Literal(v){var z=v.value;const E=v.raw;n&&"string"===typeof z&&(z="backtick"===f&&g(v)||"JSXAttribute"===v.parent.type||"JSXElement"===v.parent.type||"JSXFragment"===v.parent.type||m.isSurroundedBy(E,n.quote),!z&&
r&&(z=m.isSurroundedBy(E,n.alternateQuote)&&0<=E.indexOf(n.quote)),z||p.report({node:v,messageId:"wrongQuotes",data:{description:n.description},fix(A){return"backtick"===f&&m.hasOctalOrNonOctalDecimalEscapeSequence(E)?null:A.replaceText(v,n.convert(v.raw))}}))},TemplateLiteral(v){q||"backtick"===f||"TaggedTemplateExpression"===v.parent.type&&v===v.parent.quasi||0<v.expressions.length||1<=v.quasis.length&&k.test(v.quasis[0].value.raw)||p.report({node:v,messageId:"wrongQuotes",data:{description:n.description},
fix(z){return l(v)?null:z.replaceText(v,n.convert(t.getText(v)))}})}}}}},(u,c,a)=>{function b(k){return!("Literal"===k.type&&!h.has(k.value)||"Identifier"===k.type&&"undefined"===k.name)}function d(k){return"Literal"===k.type&&10===k.value}const m=a(571),h=new Set(Array.from({length:35},(k,p)=>p+2));u.exports={meta:{type:"suggestion",docs:{description:"enforce the consistent use of the radix argument when using `parseInt()`",recommended:!1,url:"https://eslint.org/docs/rules/radix"},hasSuggestions:!0,
schema:[{enum:["always","as-needed"]}],messages:{missingParameters:"Missing parameters.",redundantRadix:"Redundant radix parameter.",missingRadix:"Missing radix parameter.",invalidRadix:"Invalid radix parameter, must be an integer between 2 and 36.",addRadixParameter10:"Add radix parameter `10` for parsing decimal numbers."}},create(k){function p(g){const f=g.arguments;switch(f.length){case 0:k.report({node:g,messageId:"missingParameters"});break;case 1:"always"===l&&k.report({node:g,messageId:"missingRadix",
suggest:[{messageId:"addRadixParameter10",fix(n){const e=k.getSourceCode().getTokens(g),q=e[e.length-2];return n.insertTextBefore(e[e.length-1],"Punctuator"===q.type&&","===q.value?" 10,":", 10")}}]});break;default:"as-needed"===l&&d(f[1])?k.report({node:g,messageId:"redundantRadix"}):b(f[1])||k.report({node:g,messageId:"invalidRadix"})}}const l=k.options[0]||"always";return{["Program:exit"](){const g=k.getScope();let f;f=m.getVariableByName(g,"parseInt");!f||1<=f.defs.length||f.references.forEach(n=>
{n=n.identifier;m.isCallee(n)&&p(n.parent)});f=m.getVariableByName(g,"Number");!f||1<=f.defs.length||f.references.forEach(n=>{n=n.identifier.parent;const e="ChainExpression"===n.parent.type?n.parent:n;"MemberExpression"===n.type&&!n.computed&&"Identifier"===n.property.type&&"parseInt"===n.property.name&&m.isCallee(e)&&p(e.parent)})}}}}},u=>{function c(d,m=new Map){for(const h of d.references)null!==h.resolved&&m.set(h.identifier,h);for(const h of d.childScopes)"function"!==h.type&&c(h,m);return m}
function a(d,m){if(!d||m&&d.defs.some(k=>"Parameter"===k.type))return!1;const h=d.scope.variableScope;return d.references.every(k=>k.from.variableScope===h)}class b{constructor(){this.info=new WeakMap}initialize(d){const m=new Set,h=new Set;for(const k of d.prevSegments){const p=this.info.get(k);p&&(p.outdatedReadVariables.forEach(Set.prototype.add,m),p.freshReadVariables.forEach(Set.prototype.add,h))}this.info.set(d,{outdatedReadVariables:m,freshReadVariables:h})}markAsRead(d,m){for(const h of d)if(d=
this.info.get(h))d.freshReadVariables.add(m),d.outdatedReadVariables.delete(m)}makeOutdated(d){for(const m of d)if(d=this.info.get(m))d.freshReadVariables.forEach(Set.prototype.add,d.outdatedReadVariables),d.freshReadVariables.clear()}isOutdated(d,m){for(const h of d)if((d=this.info.get(h))&&d.outdatedReadVariables.has(m))return!0;return!1}}u.exports={meta:{type:"problem",docs:{description:"disallow assignments that can lead to race conditions due to usage of `await` or `yield`",recommended:!1,url:"https://eslint.org/docs/rules/require-atomic-updates"},
fixable:null,schema:[],messages:{nonAtomicUpdate:"Possible race condition: `{{value}}` might be reassigned based on an outdated value of `{{value}}`."}},create(d){const m=d.getSourceCode(),h=new Map,k=new b;let p=null;return{onCodePathStart(l){const g=d.getScope();p={upper:p,codePath:l,referenceMap:"function"===g.type&&(g.block.async||g.block.generator)?c(g):null}},onCodePathEnd(){p=p.upper},onCodePathSegmentStart(l){k.initialize(l)},Identifier(l){const {codePath:g,referenceMap:f}=p;if(l=f&&f.get(l)){var n=
l.resolved;a:if(l.writeExpr)var e=l.writeExpr;else{for(e=l.identifier;e;){var q=e.parent.type;if("AssignmentExpression"===q&&e.parent.left===e){e=e.parent.right;break a}if("MemberExpression"===q&&e.parent.object===e)e=e.parent;else break}e=null}q="MemberExpression"===l.identifier.parent.type;!l.isRead()||e&&"="===e.parent.operator||k.markAsRead(g.currentSegments,n);e&&e.parent.right===e&&!a(n,q)&&(n=h.get(e),n||(n=[],h.set(e,n)),n.push(l))}},[":expression:exit"](l){const {codePath:g,referenceMap:f}=
p;if(f){"AwaitExpression"!==l.type&&"YieldExpression"!==l.type||k.makeOutdated(g.currentSegments);var n=h.get(l);if(n){h.delete(l);for(const e of n)k.isOutdated(g.currentSegments,e.resolved)&&d.report({node:l.parent,messageId:"nonAtomicUpdate",data:{value:m.getText(l.parent.left)}})}}}}}}},(u,c,a)=>{function b(m){return m[0].toUpperCase()+m.slice(1)}const d=a(571);u.exports={meta:{type:"suggestion",docs:{description:"disallow async functions which have no `await` expression",recommended:!1,url:"https://eslint.org/docs/rules/require-await"},
schema:[],messages:{missingAwait:"{{name}} has no 'await' expression."}},create(m){function h(){l={upper:l,hasAwait:!1}}function k(g){g.generator||!g.async||l.hasAwait||d.isEmptyFunction(g)||m.report({node:g,loc:d.getFunctionHeadLoc(g,p),messageId:"missingAwait",data:{name:b(d.getFunctionNameWithKind(g))}});l=l.upper}const p=m.getSourceCode();let l=null;return{FunctionDeclaration:h,FunctionExpression:h,ArrowFunctionExpression:h,"FunctionDeclaration:exit":k,"FunctionExpression:exit":k,"ArrowFunctionExpression:exit":k,
AwaitExpression(){l&&(l.hasAwait=!0)},ForOfStatement(g){l&&g.await&&(l.hasAwait=!0)}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"require JSDoc comments",recommended:!1,url:"https://eslint.org/docs/rules/require-jsdoc"},schema:[{type:"object",properties:{require:{type:"object",properties:{ClassDeclaration:{type:"boolean",default:!1},MethodDefinition:{type:"boolean",default:!1},FunctionDeclaration:{type:"boolean",default:!0},ArrowFunctionExpression:{type:"boolean",default:!1},FunctionExpression:{type:"boolean",
default:!1}},additionalProperties:!1,default:{}}},additionalProperties:!1}],deprecated:!0,replacedBy:[],messages:{missingJSDocComment:"Missing JSDoc comment."}},create(c){function a(m){b.getJSDocComment(m)||c.report({node:m,messageId:"missingJSDocComment"})}const b=c.getSourceCode(),d=Object.assign({FunctionDeclaration:!0,MethodDefinition:!1,ClassDeclaration:!1,ArrowFunctionExpression:!1,FunctionExpression:!1},c.options[0]&&c.options[0].require);return{FunctionDeclaration(m){d.FunctionDeclaration&&
a(m)},FunctionExpression(m){(d.MethodDefinition&&"MethodDefinition"===m.parent.type||d.FunctionExpression&&("VariableDeclarator"===m.parent.type||"Property"===m.parent.type&&m===m.parent.value))&&a(m)},ClassDeclaration(m){d.ClassDeclaration&&a(m)},ArrowFunctionExpression(m){d.ArrowFunctionExpression&&"VariableDeclarator"===m.parent.type&&a(m)}}}}},(u,c,a)=>{const {CALL:b,CONSTRUCT:d,ReferenceTracker:m,getStringIfConstant:h}=a(524);u.exports={meta:{type:"suggestion",docs:{description:"enforce the use of `u` flag on RegExp",
recommended:!1,url:"https://eslint.org/docs/rules/require-unicode-regexp"},messages:{requireUFlag:"Use the 'u' flag."},schema:[]},create(k){return{["Literal[regex]"](p){(p.regex.flags||"").includes("u")||k.report({node:p,messageId:"requireUFlag"})},Program(){const p=k.getScope();var l=new m(p),g={RegExp:{[b]:!0,[d]:!0}};for(const {node:f}of l.iterateGlobalReferences(g))l=f.arguments[1],g=h(l,p),l&&("string"!==typeof g||g.includes("u"))||k.report({node:f,messageId:"requireUFlag"})}}}}},u=>{u.exports=
{meta:{type:"suggestion",docs:{description:"require generator functions to contain `yield`",recommended:!0,url:"https://eslint.org/docs/rules/require-yield"},schema:[],messages:{missingYield:"This generator function does not have 'yield'."}},create(c){function a(m){m.generator&&d.push(0)}function b(m){m.generator&&0===d.pop()&&0<m.body.body.length&&c.report({node:m,messageId:"missingYield"})}const d=[];return{FunctionDeclaration:a,"FunctionDeclaration:exit":b,FunctionExpression:a,"FunctionExpression:exit":b,
YieldExpression(){0<d.length&&(d[d.length-1]+=1)}}}}},u=>{u.exports={meta:{type:"layout",docs:{description:"enforce spacing between rest and spread operators and their expressions",recommended:!1,url:"https://eslint.org/docs/rules/rest-spread-spacing"},fixable:"whitespace",schema:[{enum:["always","never"]}],messages:{unexpectedWhitespace:"Unexpected whitespace after {{type}} operator.",expectedWhitespace:"Expected whitespace after {{type}} operator."}},create(c){function a(m){const h=b.getFirstToken(m),
k=b.getTokenAfter(h),p=b.isSpaceBetweenTokens(h,k);let l;switch(m.type){case "SpreadElement":l="spread";"ObjectExpression"===m.parent.type&&(l+=" property");break;case "RestElement":l="rest";"ObjectPattern"===m.parent.type&&(l+=" property");break;case "ExperimentalSpreadProperty":l="spread property";break;case "ExperimentalRestProperty":l="rest property";break;default:return}d&&!p?c.report({node:m,loc:h.loc,messageId:"expectedWhitespace",data:{type:l},fix(g){return g.replaceTextRange([h.range[1],
k.range[0]]," ")}}):!d&&p&&c.report({node:m,loc:{start:h.loc.end,end:k.loc.start},messageId:"unexpectedWhitespace",data:{type:l},fix(g){return g.removeRange([h.range[1],k.range[0]])}})}const b=c.getSourceCode(),d="always"===c.options[0];return{SpreadElement:a,RestElement:a,ExperimentalSpreadProperty:a,ExperimentalRestProperty:a}}}},(u,c,a)=>{const b=a(685),d=a(571);u.exports={meta:{type:"layout",docs:{description:"require or disallow semicolons instead of ASI",recommended:!1,url:"https://eslint.org/docs/rules/semi"},
fixable:"code",schema:{anyOf:[{type:"array",items:[{enum:["never"]},{type:"object",properties:{beforeStatementContinuationChars:{enum:["always","any","never"]}},additionalProperties:!1}],minItems:0,maxItems:2},{type:"array",items:[{enum:["always"]},{type:"object",properties:{omitLastInOneLineBlock:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2}]},messages:{missingSemi:"Missing semicolon.",extraSemi:"Extra semicolon."}},create(m){function h(z,E){const A=v.getLastToken(z);let D,F;
E?(E="extraSemi",F=A.loc,D=function(C){return(new b(C,v)).retainSurroundingTokens(A).remove(A)}):(E="missingSemi",F={start:A.loc.end,end:d.getNextLocation(v,A.loc.end)},D=function(C){return C.insertTextAfter(A,";")});m.report({node:z,loc:F,messageId:E,fix:D})}function k(z){const E=z.type;if("DoWhileStatement"===E||"BreakStatement"===E||"ContinueStatement"===E||"DebuggerStatement"===E||"ImportDeclaration"===E||"ExportAllDeclaration"===E)return!1;if("ReturnStatement"===E)return!!z.argument;if("ExportNamedDeclaration"===
E)return!!z.declaration;z=v.getLastToken(z,1);d.isClosingBraceToken(z)?(z=v.getNodeByRangeIndex(z.range[0]),z="BlockStatement"===z.type&&"ArrowFunctionExpression"===z.parent.type):z=!1;return z?!1:!0}function p(z){return!!z&&g.test(z.value)&&"++"!==z.value&&"--"!==z.value}function l(z){const E=d.isSemicolonToken(v.getLastToken(z));if(q){var A;if(A=E)if(A=v.getLastToken(z),A=v.getTokenAfter(A),A=!A||d.isClosingBraceToken(A)||d.isSemicolonToken(A))A=!0;else if("PropertyDefinition"!==z.type?A=!1:z.computed||
"Identifier"!==z.key.type||!f.has(z.key.name)||z.static&&"static"===z.key.name||z.value?(A=v.getTokenAfter(z),A=n.has(A.value)):A=!0,A)A=!1;else{A=v.getLastToken(z,1);var D=v.getTokenAfter(z);A=(A=!!D&&d.isTokenOnSameLine(A,D))?!1:"PropertyDefinition"!==z.type&&"never"===r&&!k(z)||!p(v.getTokenAfter(z))?!0:!1}A?h(z,!0):!E&&"always"===r&&"PropertyDefinition"!==z.type&&p(v.getTokenAfter(z))&&h(z)}else{if(A=t)A=z.parent,A=(D=v.getTokenAfter(z))&&"}"===D.value?!!A&&"BlockStatement"===A.type&&A.loc.start.line===
A.loc.end.line:!1;E&&A?h(z,!0):E||A||h(z)}}const g=/^[-[(/+`]/u,f=new Set(["get","set","static"]),n=new Set(["*","in","instanceof"]),e=m.options[1],q="never"===m.options[0],t=!(!e||!e.omitLastInOneLineBlock),r=e&&e.beforeStatementContinuationChars||"any",v=m.getSourceCode();return{VariableDeclaration:function(z){const E=z.parent;"ForStatement"===E.type&&E.init===z||/^For(?:In|Of)Statement/u.test(E.type)&&E.left===z||l(z)},ExpressionStatement:l,ReturnStatement:l,ThrowStatement:l,DoWhileStatement:l,
DebuggerStatement:l,BreakStatement:l,ContinueStatement:l,ImportDeclaration:l,ExportAllDeclaration:l,ExportNamedDeclaration(z){z.declaration||l(z)},ExportDefaultDeclaration(z){/(?:Class|Function)Declaration/u.test(z.declaration.type)||l(z)},PropertyDefinition:l}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce consistent spacing before and after semicolons",recommended:!1,url:"https://eslint.org/docs/rules/semi-spacing"},fixable:"whitespace",schema:[{type:"object",
properties:{before:{type:"boolean",default:!1},after:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{unexpectedWhitespaceBefore:"Unexpected whitespace before semicolon.",unexpectedWhitespaceAfter:"Unexpected whitespace after semicolon.",missingWhitespaceBefore:"Missing whitespace before semicolon.",missingWhitespaceAfter:"Missing whitespace after semicolon."}},create(d){function m(r){const v=e.getTokenBefore(r);return v&&b.isTokenOnSameLine(v,r)&&e.isSpaceBetweenTokens(v,r)}function h(r){const v=
e.getTokenAfter(r);return v&&b.isTokenOnSameLine(r,v)&&e.isSpaceBetweenTokens(r,v)}function k(r){const v=e.getTokenAfter(r);return!(v&&b.isTokenOnSameLine(r,v))}function p(r){const v=e.getTokenBefore(r);return!(v&&b.isTokenOnSameLine(r,v))}function l(r){return(r=e.getTokenAfter(r))&&b.isClosingBraceToken(r)||b.isClosingParenToken(r)}function g(r,v){if(b.isSemicolonToken(r)){if(m(r)){if(!q){const z=e.getTokenBefore(r);d.report({node:v,loc:{start:z.loc.end,end:r.loc.start},messageId:"unexpectedWhitespaceBefore",
fix(E){return E.removeRange([z.range[1],r.range[0]])}})}}else q&&d.report({node:v,loc:r.loc,messageId:"missingWhitespaceBefore",fix(z){return z.insertTextBefore(r," ")}});if(!p(r)&&!k(r)&&!l(r))if(h(r)){if(!t){const z=e.getTokenAfter(r);d.report({node:v,loc:{start:r.loc.end,end:z.loc.start},messageId:"unexpectedWhitespaceAfter",fix(E){return E.removeRange([r.range[1],z.range[0]])}})}}else t&&d.report({node:v,loc:r.loc,messageId:"missingWhitespaceAfter",fix(z){return z.insertTextAfter(r," ")}})}}function f(r){const v=
e.getLastToken(r);g(v,r)}const n=d.options[0],e=d.getSourceCode();let q=!1,t=!0;"object"===typeof n&&(q=n.before,t=n.after);return{VariableDeclaration:f,ExpressionStatement:f,BreakStatement:f,ContinueStatement:f,DebuggerStatement:f,DoWhileStatement:f,ReturnStatement:f,ThrowStatement:f,ImportDeclaration:f,ExportNamedDeclaration:f,ExportAllDeclaration:f,ExportDefaultDeclaration:f,ForStatement(r){r.init&&g(e.getTokenAfter(r.init),r);r.test&&g(e.getTokenAfter(r.test),r)},PropertyDefinition:f}}}},(u,c,
a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce location of semicolons",recommended:!1,url:"https://eslint.org/docs/rules/semi-style"},schema:[{enum:["last","first"]}],fixable:"whitespace",messages:{expectedSemiColon:"Expected this semicolon to be at {{pos}}."}},create(d){function m(p,l){const g=h.getTokenBefore(p),f=h.getTokenAfter(p),n=!g||b.isTokenOnSameLine(g,p),e=!f||b.isTokenOnSameLine(p,f);("last"===l&&!n||"first"===l&&!e)&&d.report({loc:p.loc,messageId:"expectedSemiColon",
data:{pos:"last"===l?"the end of the previous line":"the beginning of the next line"},fix(q){return g&&f&&h.commentsExistBetween(g,f)?null:q.replaceTextRange([g?g.range[1]:p.range[0],f?f.range[0]:p.range[1]],"last"===l?";\n":"\n;")}})}const h=d.getSourceCode(),k=d.options[0]||"last";return{["BreakStatement,ContinueStatement,DebuggerStatement,DoWhileStatement,ExportAllDeclaration,ExportDefaultDeclaration,ExportNamedDeclaration,ExpressionStatement,ImportDeclaration,ReturnStatement,ThrowStatement,VariableDeclaration,PropertyDefinition"](p){var l;
if(l="first"===k)if(l=p.parent.type,"IfStatement"===l&&p.parent.consequent===p&&p.parent.alternate)l=!0;else if("DoWhileStatement"===l)l=!0;else{{l=p.parent;const g=l.type;l="BlockStatement"===g||"Program"===g||"ClassBody"===g?l.body:"SwitchCase"===g?l.consequent:null}l=null!==l&&l[l.length-1]===p}l||(p=h.getLastToken(p),b.isSemicolonToken(p)&&m(p,k))},ForStatement(p){const l=p.init&&h.getTokenAfter(p.init,b.isSemicolonToken);p=p.test&&h.getTokenAfter(p.test,b.isSemicolonToken);l&&m(l,"last");p&&
m(p,"last")}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"enforce sorted import declarations within modules",recommended:!1,url:"https://eslint.org/docs/rules/sort-imports"},schema:[{type:"object",properties:{ignoreCase:{type:"boolean",default:!1},memberSyntaxSortOrder:{type:"array",items:{enum:["none","all","multiple","single"]},uniqueItems:!0,minItems:4,maxItems:4},ignoreDeclarationSort:{type:"boolean",default:!1},ignoreMemberSort:{type:"boolean",default:!1},allowSeparatedGroups:{type:"boolean",
default:!1}},additionalProperties:!1}],fixable:"code",messages:{sortImportsAlphabetically:"Imports should be sorted alphabetically.",sortMembersAlphabetically:"Member '{{memberName}}' of the import declaration should be sorted alphabetically.",unexpectedSyntaxOrder:"Expected '{{syntaxA}}' syntax before '{{syntaxB}}' syntax."}},create(c){function a(f){return 0===f.specifiers.length?"none":"ImportNamespaceSpecifier"===f.specifiers[0].type?"all":1===f.specifiers.length?"single":"multiple"}const b=c.options[0]||
{},d=b.ignoreCase||!1,m=b.ignoreDeclarationSort||!1,h=b.ignoreMemberSort||!1,k=b.memberSyntaxSortOrder||["none","all","multiple","single"],p=b.allowSeparatedGroups||!1,l=c.getSourceCode();let g=null;return{ImportDeclaration(f){if(!m){g&&p&&0<Math.max(f.loc.start.line-g.loc.end.line-1,0)&&(g=null);if(g){const n=k.indexOf(a(f)),e=k.indexOf(a(g));let q=f.specifiers[0]?f.specifiers[0].local.name:null,t=g.specifiers[0]?g.specifiers[0].local.name:null;d&&(t=t&&t.toLowerCase(),q=q&&q.toLowerCase());n!==
e?n<e&&c.report({node:f,messageId:"unexpectedSyntaxOrder",data:{syntaxA:k[n],syntaxB:k[e]}}):t&&q&&q<t&&c.report({node:f,messageId:"sortImportsAlphabetically"})}g=f}if(!h){const n=f.specifiers.filter(q=>"ImportSpecifier"===q.type),e=d?q=>q.local.name.toLowerCase():q=>q.local.name;f=n.map(e).findIndex((q,t,r)=>r[t-1]>q);-1!==f&&c.report({node:n[f],messageId:"sortMembersAlphabetically",data:{memberName:n[f].local.name},fix(q){return n.some(t=>l.getCommentsBefore(t).length||l.getCommentsAfter(t).length)?
null:q.replaceTextRange([n[0].range[0],n[n.length-1].range[1]],n.slice().sort((t,r)=>{t=e(t);r=e(r);return t>r?1:-1}).reduce((t,r,v)=>{v=v===n.length-1?"":l.getText().slice(n[v].range[1],n[v+1].range[0]);return t+l.getText(r)+v},""))}})}}}}}},(u,c,a)=>{const b=a(571),d=a(850),m={asc(h,k){return h<=k},ascI(h,k){return h.toLowerCase()<=k.toLowerCase()},ascN(h,k){return 0>=d(h,k)},ascIN(h,k){return 0>=d(h.toLowerCase(),k.toLowerCase())},desc(h,k){return m.asc(k,h)},descI(h,k){return m.ascI(k,h)},descN(h,
k){return m.ascN(k,h)},descIN(h,k){return m.ascIN(k,h)}};u.exports={meta:{type:"suggestion",docs:{description:"require object keys to be sorted",recommended:!1,url:"https://eslint.org/docs/rules/sort-keys"},schema:[{enum:["asc","desc"]},{type:"object",properties:{caseSensitive:{type:"boolean",default:!0},natural:{type:"boolean",default:!1},minKeys:{type:"integer",minimum:2,default:2}},additionalProperties:!1}],messages:{sortKeys:"Expected object keys to be in {{natural}}{{insensitive}}{{order}}ending order. '{{thisName}}' should be before '{{prevName}}'."}},
create(h){const k=h.options[0]||"asc",p=h.options[1],l=p&&!1===p.caseSensitive,g=p&&p.natural,f=p&&p.minKeys,n=m[k+(l?"I":"")+(g?"N":"")];let e=null;return{ObjectExpression(q){e={upper:e,prevName:null,numKeys:q.properties.length}},["ObjectExpression:exit"](){e=e.upper},SpreadElement(q){"ObjectExpression"===q.parent.type&&(e.prevName=null)},Property(q){if("ObjectPattern"!==q.parent.type){var t=e.prevName,r=e.numKeys;var v=b.getStaticPropertyName(q);v=null!==v?v:q.key.name||null;null!==v&&(e.prevName=
v);null===t||null===v||r<f||n(t,v)||h.report({node:q,loc:q.key.loc,messageId:"sortKeys",data:{thisName:v,prevName:t,order:k,insensitive:l?"insensitive ":"",natural:g?"natural ":""}})}}}}}},u=>{var c=function(a,b){function d(f,n,e){if(e){for(m=n;e=d(f,m),76>e&&65<e;)++m;return+f.slice(n-1,m)}e=l&&l.indexOf(f.charAt(n));return-1<e?e+76:(e=f.charCodeAt(n)||0,45>e||127<e)?e:46>e?65:48>e?e-1:58>e?e+18:65>e?e-11:91>e?e+11:97>e?e-37:123>e?e+5:e-63}var m,h=1,k=0,p=0,l=String.alphabet;if((a+="")!=(b+=""))for(;h;){var g=
d(a,k++);h=d(b,p++);76>g&&76>h&&66<g&&66<h&&(g=d(a,k,k),h=d(b,p,k=m),p=m);if(g!=h)return g<h?-1:1}return 0};try{u.exports=c}catch(a){String.naturalCompare=c}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"require variables within the same declaration block to be sorted",recommended:!1,url:"https://eslint.org/docs/rules/sort-vars"},schema:[{type:"object",properties:{ignoreCase:{type:"boolean",default:!1}},additionalProperties:!1}],fixable:"code",messages:{sortVars:"Variables within the same declaration block should be sorted alphabetically."}},
create(c){const a=(c.options[0]||{}).ignoreCase||!1,b=c.getSourceCode();return{VariableDeclaration(d){const m=d.declarations.filter(l=>"Identifier"===l.id.type),h=a?l=>l.id.name.toLowerCase():l=>l.id.name,k=m.some(l=>null!==l.init&&"Literal"!==l.init.type);let p=!1;m.slice(1).reduce((l,g)=>{const f=h(l);return h(g)<f?(c.report({node:g,messageId:"sortVars",fix(n){return k||p?null:n.replaceTextRange([m[0].range[0],m[m.length-1].range[1]],m.slice().sort((e,q)=>{e=h(e);q=h(q);return e>q?1:-1}).reduce((e,
q,t)=>{t=t===m.length-1?"":b.getText().slice(m[t].range[1],m[t+1].range[0]);return e+b.getText(q)+t},""))}}),p=!0,l):g},m[0])}}}}},(u,c,a)=>{function b(m){const h=m.parent;return"BlockStatement"===m.type&&d.isFunction(h)&&h.body===m}const d=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce consistent spacing before blocks",recommended:!1,url:"https://eslint.org/docs/rules/space-before-blocks"},fixable:"whitespace",schema:[{oneOf:[{enum:["always","never"]},{type:"object",properties:{keywords:{enum:["always",
"never","off"]},functions:{enum:["always","never","off"]},classes:{enum:["always","never","off"]}},additionalProperties:!1}]}],messages:{unexpectedSpace:"Unexpected space before opening brace.",missingSpace:"Missing space before opening brace."}},create(m){function h(r,v){return d.isArrowToken(r)||d.isKeywordToken(r)&&!b(v)||d.isColonToken(r)&&v.parent&&"SwitchCase"===v.parent.type&&r===d.getSwitchCaseColonToken(v.parent,l)}function k(r){const v=l.getTokenBefore(r);if(v&&!h(v,r)&&d.isTokenOnSameLine(v,
r)){const z=l.isSpaceBetweenTokens(v,r);let E,A;b(r)?(E=g,A=e):"ClassBody"===r.type?(E=n,A=t):(E=f,A=q);E&&!z?m.report({node:r,messageId:"missingSpace",fix(D){return D.insertTextBefore(r," ")}}):A&&z&&m.report({node:r,messageId:"unexpectedSpace",fix(D){return D.removeRange([v.range[1],r.range[0]])}})}}const p=m.options[0],l=m.getSourceCode();let g=!0,f=!0,n=!0,e=!1,q=!1,t=!1;"object"===typeof p?(g="always"===p.functions,f="always"===p.keywords,n="always"===p.classes,e="never"===p.functions,q="never"===
p.keywords,t="never"===p.classes):"never"===p&&(n=f=g=!1,t=q=e=!0);return{BlockStatement:k,ClassBody:k,SwitchStatement:function(r){const v=r.cases;r=0<v.length?l.getTokenBefore(v[0]):l.getLastToken(r,1);k(r)}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce consistent spacing before `function` definition opening parenthesis",recommended:!1,url:"https://eslint.org/docs/rules/space-before-function-paren"},fixable:"whitespace",schema:[{oneOf:[{enum:["always","never"]},
{type:"object",properties:{anonymous:{enum:["always","never","ignore"]},named:{enum:["always","never","ignore"]},asyncArrow:{enum:["always","never","ignore"]}},additionalProperties:!1}]}],messages:{unexpectedSpace:"Unexpected space before function parentheses.",missingSpace:"Missing space before function parentheses."}},create(d){function m(g){if("ArrowFunctionExpression"===g.type){if(g.async&&b.isOpeningParenToken(k.getFirstToken(g,{skip:1})))return l.asyncArrow||p}else{if(g.id)var f=!0;else f=g.parent,
f="MethodDefinition"===f.type||"Property"===f.type&&("get"===f.kind||"set"===f.kind||f.method);if(f)return l.named||p;if(!g.generator)return l.anonymous||p}return"ignore"}function h(g){const f=m(g);if("ignore"!==f){var n=k.getFirstToken(g,b.isOpeningParenToken),e=k.getTokenBefore(n),q=k.isSpaceBetweenTokens(e,n);q&&"never"===f?d.report({node:g,loc:{start:e.loc.end,end:n.loc.start},messageId:"unexpectedSpace",fix(t){const r=k.getCommentsBefore(n);return r.some(v=>"Line"===v.type)?null:t.replaceTextRange([e.range[1],
n.range[0]],r.reduce((v,z)=>v+k.getText(z),""))}}):q||"always"!==f||d.report({node:g,loc:n.loc,messageId:"missingSpace",fix:t=>t.insertTextAfter(e," ")})}}const k=d.getSourceCode(),p="string"===typeof d.options[0]?d.options[0]:"always",l="object"===typeof d.options[0]?d.options[0]:{};return{ArrowFunctionExpression:h,FunctionDeclaration:h,FunctionExpression:h}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce consistent spacing inside parentheses",recommended:!1,
url:"https://eslint.org/docs/rules/space-in-parens"},fixable:"whitespace",schema:[{enum:["always","never"]},{type:"object",properties:{exceptions:{type:"array",items:{enum:["{}","[]","()","empty"]},uniqueItems:!0}},additionalProperties:!1}],messages:{missingOpeningSpace:"There must be a space after this paren.",missingClosingSpace:"There must be a space before this paren.",rejectedOpeningSpace:"There should be no space after this paren.",rejectedClosingSpace:"There should be no space before this paren."}},
create(d){function m(){const t=[],r=[];n.braceException&&(t.push("{"),r.push("}"));n.bracketException&&(t.push("["),r.push("]"));n.parenException&&(t.push("("),r.push(")"));n.empty&&(t.push(")"),r.push("("));return{openers:t,closers:r}}function h(t,r){return q.isSpaceBetweenTokens(t,r)||!n.empty&&b.isClosingParenToken(r)?!1:g?!e.openers.includes(r.value):e.openers.includes(r.value)}function k(t,r){return b.isTokenOnSameLine(t,r)&&"Line"!==r.type&&q.isSpaceBetweenTokens(t,r)?g?e.openers.includes(r.value):
!e.openers.includes(r.value):!1}function p(t,r){return q.isSpaceBetweenTokens(t,r)||!n.empty&&b.isOpeningParenToken(t)?!1:g?!e.closers.includes(t.value):e.closers.includes(t.value)}function l(t,r){return b.isTokenOnSameLine(t,r)&&q.isSpaceBetweenTokens(t,r)?g?e.closers.includes(t.value):!e.closers.includes(t.value):!1}const g="always"===d.options[0],f=d.options[1]&&d.options[1].exceptions||[],n={};let e;f.length&&(n.braceException=f.includes("{}"),n.bracketException=f.includes("[]"),n.parenException=
f.includes("()"),n.empty=f.includes("empty"));const q=d.getSourceCode();return{Program:function(t){e=m();const r=q.tokensAndComments;r.forEach((v,z)=>{const E=r[z-1],A=r[z+1];if(b.isOpeningParenToken(v)||b.isClosingParenToken(v))"("===v.value&&h(v,A)&&d.report({node:t,loc:v.loc,messageId:"missingOpeningSpace",fix(D){return D.insertTextAfter(v," ")}}),"("===v.value&&k(v,A)&&d.report({node:t,loc:{start:v.loc.end,end:A.loc.start},messageId:"rejectedOpeningSpace",fix(D){return D.removeRange([v.range[1],
A.range[0]])}}),")"===v.value&&p(E,v)&&d.report({node:t,loc:v.loc,messageId:"missingClosingSpace",fix(D){return D.insertTextBefore(v," ")}}),")"===v.value&&l(E,v)&&d.report({node:t,loc:{start:E.loc.end,end:v.loc.start},messageId:"rejectedClosingSpace",fix(D){return D.removeRange([E.range[1],v.range[0]])}})})}}}}},(u,c,a)=>{const {isEqToken:b}=a(571);u.exports={meta:{type:"layout",docs:{description:"require spacing around infix operators",recommended:!1,url:"https://eslint.org/docs/rules/space-infix-ops"},
fixable:"whitespace",schema:[{type:"object",properties:{int32Hint:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{missingSpace:"Operator '{{operator}}' must be spaced."}},create(d){function m(g,f,n){g=l.getFirstTokenBetween(g,f,q=>q.value===n);f=l.getTokenBefore(g);const e=l.getTokenAfter(g);return l.isSpaceBetweenTokens(f,g)&&l.isSpaceBetweenTokens(g,e)?null:g}function h(g,f){d.report({node:g,loc:f.loc,messageId:"missingSpace",data:{operator:f.value},fix(n){const e=l.getTokenBefore(f),
q=l.getTokenAfter(f);let t="";0===f.range[0]-e.range[1]&&(t=" ");t+=f.value;0===q.range[0]-f.range[1]&&(t+=" ");return n.replaceText(f,t)}})}function k(g){const f=m(g.left.typeAnnotation?g.left.typeAnnotation:g.left,g.right,g.operator||"=");f&&(p&&l.getText(g).endsWith("|0")||h(g,f))}const p=d.options[0]?!0===d.options[0].int32Hint:!1,l=d.getSourceCode();return{AssignmentExpression:k,AssignmentPattern:k,BinaryExpression:k,LogicalExpression:k,ConditionalExpression:function(g){const f=m(g.test,g.consequent,
"?"),n=m(g.consequent,g.alternate,":");f&&h(g,f);n&&h(g,n)},VariableDeclarator:function(g){var f=g.id.typeAnnotation?g.id.typeAnnotation:g.id;const n=g.init;n&&(f=m(f,n,"="))&&h(g,f)},PropertyDefinition(g){if(g.value){var f=l.getTokenBefore(g.value,b),n=l.getTokenBefore(f),e=l.getTokenAfter(f);l.isSpaceBetweenTokens(n,f)&&l.isSpaceBetweenTokens(f,e)||h(g,f)}}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"enforce consistent spacing before or after unary operators",
recommended:!1,url:"https://eslint.org/docs/rules/space-unary-ops"},fixable:"whitespace",schema:[{type:"object",properties:{words:{type:"boolean",default:!0},nonwords:{type:"boolean",default:!1},overrides:{type:"object",additionalProperties:{type:"boolean"}}},additionalProperties:!1}],messages:{unexpectedBefore:"Unexpected space before unary operator '{{operator}}'.",unexpectedAfter:"Unexpected space after unary operator '{{operator}}'.",unexpectedAfterWord:"Unexpected space after unary word operator '{{word}}'.",
wordOperator:"Unary word operator '{{word}}' must be followed by whitespace.",operator:"Unary operator '{{operator}}' must be followed by whitespace.",beforeUnaryExpressions:"Space is required before unary expressions '{{token}}'."}},create(d){function m(e,q,t,r){t.range[0]===q.range[1]&&d.report({node:e,messageId:"wordOperator",data:{word:r},fix(v){return v.insertTextAfter(q," ")}})}function h(e,q,t,r){b.canTokensBeAdjacent(q,t)&&t.range[0]>q.range[1]&&d.report({node:e,messageId:"unexpectedAfterWord",
data:{word:r},fix(v){return v.removeRange([q.range[1],t.range[0]])}})}function k(e,q,t,r){f.overrides&&Object.prototype.hasOwnProperty.call(f.overrides,r)?f.overrides[r]?m(e,q,t,r):h(e,q,t,r):f.words?m(e,q,t,r):h(e,q,t,r)}function p(e,q,t){e.prefix?e&&"UnaryExpression"===e.type&&"!"===e.argument.operator&&e.argument&&"UnaryExpression"===e.argument.type&&"!"===e.argument.operator||q.range[1]===t.range[0]&&d.report({node:e,messageId:"operator",data:{operator:q.value},fix(r){return r.insertTextAfter(q,
" ")}}):q.range[1]===t.range[0]&&d.report({node:e,messageId:"beforeUnaryExpressions",data:{token:t.value},fix(r){return r.insertTextBefore(t," ")}})}function l(e,q,t){e.prefix?t.range[0]>q.range[1]&&d.report({node:e,messageId:"unexpectedAfter",data:{operator:q.value},fix(r){return b.canTokensBeAdjacent(q,t)?r.removeRange([q.range[1],t.range[0]]):null}}):t.range[0]>q.range[1]&&d.report({node:e,messageId:"unexpectedBefore",data:{operator:t.value},fix(r){return r.removeRange([q.range[1],t.range[0]])}})}
function g(e){var q="UpdateExpression"!==e.type||e.prefix?n.getFirstTokens(e,2):n.getLastTokens(e,2);const t=q[0],r=q[1];"NewExpression"!==e.type&&!e.prefix||"Keyword"!==t.type?(q=e.prefix?q[0].value:q[1].value,f.overrides&&Object.prototype.hasOwnProperty.call(f.overrides,q)?f.overrides[q]?p(e,t,r):l(e,t,r):f.nonwords?p(e,t,r):l(e,t,r)):k(e,t,r,t.value)}const f=d.options[0]||{words:!0,nonwords:!1},n=d.getSourceCode();return{UnaryExpression:g,UpdateExpression:g,NewExpression:g,YieldExpression:function(e){const q=
n.getFirstTokens(e,3);e.argument&&!e.delegate&&k(e,q[0],q[1],"yield")},AwaitExpression:function(e){const q=n.getFirstTokens(e,3);k(e,q[0],q[1],"await")}}}}},(u,c,a)=>{function b(p){return"(?:".concat(h(p),")")}function d(p){return"".concat(b(p),"+")}function m(p){let l="";0===p.length?l+="\\s":(l+="(?:\\s|",1===p.length?l+=d(p[0]):(l=l+"(?:"+p.map(d).join("|"),l+=")"),l+="(?:$|[".concat(Array.from(k.LINEBREAKS).join(""),"]))"));return l}const h=a(548),k=a(571);u.exports={meta:{type:"suggestion",docs:{description:"enforce consistent spacing after the `//` or `/*` in a comment",
recommended:!1,url:"https://eslint.org/docs/rules/spaced-comment"},fixable:"whitespace",schema:[{enum:["always","never"]},{type:"object",properties:{exceptions:{type:"array",items:{type:"string"}},markers:{type:"array",items:{type:"string"}},line:{type:"object",properties:{exceptions:{type:"array",items:{type:"string"}},markers:{type:"array",items:{type:"string"}}},additionalProperties:!1},block:{type:"object",properties:{exceptions:{type:"array",items:{type:"string"}},markers:{type:"array",items:{type:"string"}},
balanced:{type:"boolean",default:!1}},additionalProperties:!1}},additionalProperties:!1}],messages:{unexpectedSpaceAfterMarker:"Unexpected space or tab after marker ({{refChar}}) in comment.",expectedExceptionAfter:"Expected exception block, space or tab after '{{refChar}}' in comment.",unexpectedSpaceBefore:"Unexpected space or tab before '*/' in comment.",unexpectedSpaceAfter:"Unexpected space or tab after '{{refChar}}' in comment.",expectedSpaceBefore:"Expected space or tab before '*/' in comment.",
expectedSpaceAfter:"Expected space or tab after '{{refChar}}' in comment."}},create(p){function l(v,z,E,A){const D="block"===v.type.toLowerCase()?"/*":"//";p.report({node:v,fix(F){const C=v.range[0];let B=C+2;if(e)return E&&(B+=E[0].length),F.insertTextAfterRange([C,B]," ");B+=E[0].length;return F.replaceTextRange([C,B],D+(E[1]?E[1]:""))},messageId:z,data:{refChar:A}})}function g(v,z,E){p.report({node:v,fix(A){if(e)return A.insertTextAfterRange([v.range[0],v.range[1]-2]," ");const D=v.range[1]-2;
return A.replaceTextRange([D-E[0].length,D],"")},messageId:z})}function f(v){const z=v.type.toLowerCase(),E=r[z];var A="block"===z?"/*":"//";if(0!==v.value.length&&!E.markers.has(v.value)){var D=E.beginRegex.exec(v.value),F=E.endRegex.exec(v.value);e?(D||(A=(D=E.captureMarker.exec(v.value))?A+D[0]:A,E.hasExceptions?l(v,"expectedExceptionAfter",D,A):l(v,"expectedSpaceAfter",D,A)),t&&"block"===z&&!F&&g(v,"expectedSpaceBefore")):(D&&(D[1]?l(v,"unexpectedSpaceAfterMarker",D,D[1]):l(v,"unexpectedSpaceAfter",
D,A)),t&&"block"===z&&F&&g(v,"unexpectedSpaceBefore",F))}}const n=p.getSourceCode(),e="never"!==p.options[0],q=p.options[1]||{},t=q.block&&q.block.balanced,r=["block","line"].reduce((v,z)=>{var E=q[z]&&q[z].markers||q.markers||[];E=-1===E.indexOf("*")?E.concat("*"):E;const A=q[z]&&q[z].exceptions||q.exceptions||[];if(e){var D="^";1===E.length?D+=b(E[0]):(D=D+"(?:"+E.map(b).join("|"),D+=")");D=D+"?"+m(A);D=new RegExp(D,"u")}else D="^(".concat(E.map(b).join("|"),")?[ \t]+"),D=new RegExp(D,"u");v[z]=
{beginRegex:D,endRegex:t&&e?new RegExp("".concat(m(A),"$"),"u"):RegExp("[ \t]+$","u"),hasExceptions:0<A.length,captureMarker:new RegExp("^(".concat(E.map(b).join("|"),")"),"u"),markers:new Set(E)};return v},{});return{Program(){n.getAllComments().filter(v=>"Shebang"!==v.type).forEach(f)}}}}},(u,c,a)=>{function b(h){const k=[];for(let p=0;p<h.length;p++){const l=h[p];if("ExpressionStatement"===l.type&&"Literal"===l.expression.type&&"use strict"===l.expression.value)k[p]=l;else break}return k}function d(h){return"Identifier"===
h.type}const m=a(571);u.exports={meta:{type:"suggestion",docs:{description:"require or disallow strict mode directives",recommended:!1,url:"https://eslint.org/docs/rules/strict"},schema:[{enum:["never","global","function","safe"]}],fixable:"code",messages:{function:"Use the function form of 'use strict'.",global:"Use the global form of 'use strict'.",multiple:"Multiple 'use strict' directives.",never:"Strict mode is not permitted.",unnecessary:"Unnecessary 'use strict' directive.",module:"'use strict' is unnecessary inside of modules.",
implied:"'use strict' is unnecessary when implied strict mode is enabled.",unnecessaryInClasses:"'use strict' is unnecessary inside of classes.",nonSimpleParameterList:"'use strict' directive inside a function with non-simple parameter list throws a syntax error since ES2016.",wrap:"Wrap {{name}} in a function with 'use strict' directive."}},create(h){function k(r){return"multiple"===r||"unnecessary"===r||"module"===r||"implied"===r||"unnecessaryInClasses"===r}function p(r){return v=>v.remove(r)}
function l(r,v,z,E,A){r.slice(v,z).forEach(D=>{h.report({node:D,messageId:E,fix:A?p(D):null})})}function g(){e.pop()}function f(r){const v="BlockStatement"===r.body.type?b(r.body.body):[];if("function"===t){{const z=0<q.length,E=0===e.length&&0===q.length,A=0<e.length&&e[e.length-1],D=0<v.length;D?(r.params.every(d)?A?h.report({node:v[0],messageId:"unnecessary",fix:p(v[0])}):z&&h.report({node:v[0],messageId:"unnecessaryInClasses",fix:p(v[0])}):h.report({node:v[0],messageId:"nonSimpleParameterList"}),
l(v,1,v.length,"multiple",!0)):E&&(r.params.every(d)?h.report({node:r,messageId:"function"}):h.report({node:r,messageId:"wrap",data:{name:m.getFunctionNameWithKind(r)}}));e.push(A||D)}}else 0<v.length&&(r.params.every(d)?(r=k(t),l(v,0,v.length,t,r)):(h.report({node:v[0],messageId:"nonSimpleParameterList"}),l(v,1,v.length,"multiple",!0)))}var n=h.parserOptions.ecmaFeatures||{};const e=[],q=[];let t=h.options[0]||"safe";n.impliedStrict?t="implied":"safe"===t&&(t=n.globalReturn?"global":"function");
n={Program(r){const v=b(r.body);"module"===r.sourceType&&(t="module");"global"===t?(0<r.body.length&&0===v.length&&h.report({node:r,messageId:"global"}),l(v,1,v.length,"multiple",!0)):(r=k(t),l(v,0,v.length,t,r))},FunctionDeclaration:f,FunctionExpression:f,ArrowFunctionExpression:f};"function"===t&&Object.assign(n,{ClassBody(){q.push(!0)},["ClassBody:exit"](){q.pop()},"FunctionDeclaration:exit":g,"FunctionExpression:exit":g,"ArrowFunctionExpression:exit":g});return n}}},(u,c,a)=>{const b=a(571);u.exports=
{meta:{type:"layout",docs:{description:"enforce spacing around colons of switch statements",recommended:!1,url:"https://eslint.org/docs/rules/switch-colon-spacing"},schema:[{type:"object",properties:{before:{type:"boolean",default:!1},after:{type:"boolean",default:!0}},additionalProperties:!1}],fixable:"whitespace",messages:{expectedBefore:"Expected space(s) before this colon.",expectedAfter:"Expected space(s) after this colon.",unexpectedBefore:"Unexpected space(s) before this colon.",unexpectedAfter:"Unexpected space(s) after this colon."}},
create(d){function m(f,n,e){return b.isClosingBraceToken(n)||!b.isTokenOnSameLine(f,n)||k.isSpaceBetweenTokens(f,n)===e}function h(f,n,e,q){return null!==k.getFirstTokenBetween(n,e,{includeComments:!0,filter:b.isCommentToken})?null:q?f.insertTextAfter(n," "):f.removeRange([n.range[1],e.range[0]])}const k=d.getSourceCode(),p=d.options[0]||{},l=!0===p.before,g=!1!==p.after;return{SwitchCase(f){const n=b.getSwitchCaseColonToken(f,k),e=k.getTokenBefore(n),q=k.getTokenAfter(n);m(e,n,l)||d.report({node:f,
loc:n.loc,messageId:l?"expectedBefore":"unexpectedBefore",fix:t=>h(t,e,n,l)});m(n,q,g)||d.report({node:f,loc:n.loc,messageId:g?"expectedAfter":"unexpectedAfter",fix:t=>h(t,n,q,g)})}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"suggestion",docs:{description:"require symbol descriptions",recommended:!1,url:"https://eslint.org/docs/rules/symbol-description"},fixable:null,schema:[],messages:{expected:"Expected Symbol to have a description."}},create(d){return{["Program:exit"](){var m=d.getScope();
(m=b.getVariableByName(m,"Symbol"))&&0===m.defs.length&&m.references.forEach(h=>{h=h.identifier;b.isCallee(h)&&(h=h.parent,0===h.arguments.length&&d.report({node:h,messageId:"expected"}))})}}}}},(u,c,a)=>{const b=a(571);u.exports={meta:{type:"layout",docs:{description:"require or disallow spacing around embedded expressions of template strings",recommended:!1,url:"https://eslint.org/docs/rules/template-curly-spacing"},fixable:"whitespace",schema:[{enum:["always","never"]}],messages:{expectedBefore:"Expected space(s) before '}'.",
expectedAfter:"Expected space(s) after '${'.",unexpectedBefore:"Unexpected space(s) before '}'.",unexpectedAfter:"Unexpected space(s) after '${'."}},create(d){function m(l){if(l.value.startsWith("}")){var g=k.getTokenBefore(l,{includeComments:!0}),f=k.isSpaceBetween(g,l);b.isTokenOnSameLine(g,l)&&(p&&!f&&d.report({loc:{start:l.loc.start,end:{line:l.loc.start.line,column:l.loc.start.column+1}},messageId:"expectedBefore",fix:n=>n.insertTextBefore(l," ")}),!p&&f&&d.report({loc:{start:g.loc.end,end:l.loc.start},
messageId:"unexpectedBefore",fix:n=>n.removeRange([g.range[1],l.range[0]])}))}}function h(l){if(l.value.endsWith("${")){var g=k.getTokenAfter(l,{includeComments:!0}),f=k.isSpaceBetween(l,g);b.isTokenOnSameLine(l,g)&&(p&&!f&&d.report({loc:{start:{line:l.loc.end.line,column:l.loc.end.column-2},end:l.loc.end},messageId:"expectedAfter",fix:n=>n.insertTextAfter(l," ")}),!p&&f&&d.report({loc:{start:l.loc.end,end:g.loc.start},messageId:"unexpectedAfter",fix:n=>n.removeRange([l.range[1],g.range[0]])}))}}
const k=d.getSourceCode(),p="always"===d.options[0];return{TemplateElement(l){l=k.getFirstToken(l);m(l);h(l)}}}}},u=>{u.exports={meta:{type:"layout",docs:{description:"require or disallow spacing between template tags and their literals",recommended:!1,url:"https://eslint.org/docs/rules/template-tag-spacing"},fixable:"whitespace",schema:[{enum:["always","never"]}],messages:{unexpected:"Unexpected space between template tag and template literal.",missing:"Missing space between template tag and template literal."}},
create(c){const a="always"!==c.options[0],b=c.getSourceCode();return{TaggedTemplateExpression:function(d){const m=b.getTokenBefore(d.quasi),h=b.getFirstToken(d.quasi),k=b.isSpaceBetweenTokens(m,h);a&&k?c.report({node:d,loc:{start:m.loc.end,end:h.loc.start},messageId:"unexpected",fix(p){const l=b.getCommentsBefore(d.quasi);return l.some(g=>"Line"===g.type)?null:p.replaceTextRange([m.range[1],h.range[0]],l.reduce((g,f)=>g+b.getText(f),""))}}):a||k||c.report({node:d,loc:{start:d.loc.start,end:h.loc.start},
messageId:"missing",fix(p){return p.insertTextAfter(m," ")}})}}}}},u=>{u.exports={meta:{type:"layout",docs:{description:"require or disallow Unicode byte order mark (BOM)",recommended:!1,url:"https://eslint.org/docs/rules/unicode-bom"},fixable:"whitespace",schema:[{enum:["always","never"]}],messages:{expected:"Expected Unicode BOM (Byte Order Mark).",unexpected:"Unexpected Unicode BOM (Byte Order Mark)."}},create(c){return{Program:function(a){const b=c.getSourceCode(),d={column:0,line:1},m=c.options[0]||
"never";b.hasBOM||"always"!==m?b.hasBOM&&"never"===m&&c.report({node:a,loc:d,messageId:"unexpected",fix(h){return h.removeRange([-1,0])}}):c.report({node:a,loc:d,messageId:"expected",fix(h){return h.insertTextBeforeRange([0,1],"\ufeff")}})}}}}},(u,c,a)=>{function b(m){return!!m&&(d.isSpecificId(m,"NaN")||d.isSpecificMemberAccess(m,"Number","NaN"))}const d=a(571);u.exports={meta:{type:"problem",docs:{description:"require calls to `isNaN()` when checking for `NaN`",recommended:!0,url:"https://eslint.org/docs/rules/use-isnan"},
schema:[{type:"object",properties:{enforceForSwitchCase:{type:"boolean",default:!0},enforceForIndexOf:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{comparisonWithNaN:"Use the isNaN function to compare with NaN.",switchNaN:"'switch(NaN)' can never match a case clause. Use Number.isNaN instead of the switch.",caseNaN:"'case NaN' can never match. Use Number.isNaN before the switch.",indexOfNaN:"Array prototype method '{{ methodName }}' cannot find NaN."}},create(m){function h(g){b(g.discriminant)&&
m.report({node:g,messageId:"switchNaN"});for(const f of g.cases)b(f.test)&&m.report({node:f,messageId:"caseNaN"})}function k(g){var f=d.skipChainExpression(g.callee);"MemberExpression"===f.type&&(f=d.getStaticPropertyName(f),"indexOf"!==f&&"lastIndexOf"!==f||1!==g.arguments.length||!b(g.arguments[0])||m.report({node:g,messageId:"indexOfNaN",data:{methodName:f}}))}const p=m.options[0]&&m.options[0].enforceForIndexOf,l={BinaryExpression:function(g){/^(?:[<>]|[!=]=)=?$/u.test(g.operator)&&(b(g.left)||
b(g.right))&&m.report({node:g,messageId:"comparisonWithNaN"})}};if(!m.options[0]||m.options[0].enforceForSwitchCase)l.SwitchStatement=h;p&&(l.CallExpression=k);return l}}},(u,c,a)=>{const b=a(866);u.exports={meta:{type:"suggestion",docs:{description:"enforce valid JSDoc comments",recommended:!1,url:"https://eslint.org/docs/rules/valid-jsdoc"},schema:[{type:"object",properties:{prefer:{type:"object",additionalProperties:{type:"string"}},preferType:{type:"object",additionalProperties:{type:"string"}},
requireReturn:{type:"boolean",default:!0},requireParamDescription:{type:"boolean",default:!0},requireReturnDescription:{type:"boolean",default:!0},matchDescription:{type:"string"},requireReturnType:{type:"boolean",default:!0},requireParamType:{type:"boolean",default:!0}},additionalProperties:!1}],fixable:"code",messages:{unexpectedTag:"Unexpected @{{title}} tag; function has no return statement.",expected:"Expected JSDoc for '{{name}}' but found '{{jsdocName}}'.",use:"Use @{{name}} instead.",useType:"Use '{{expectedTypeName}}' instead of '{{currentTypeName}}'.",
syntaxError:"JSDoc syntax error.",missingBrace:"JSDoc type missing brace.",missingParamDesc:"Missing JSDoc parameter description for '{{name}}'.",missingParamType:"Missing JSDoc parameter type for '{{name}}'.",missingReturnType:"Missing JSDoc return type.",missingReturnDesc:"Missing JSDoc return description.",missingReturn:"Missing JSDoc @{{returns}} for function.",missingParam:"Missing JSDoc for parameter '{{name}}'.",duplicateParam:"Duplicate JSDoc parameter '{{name}}'.",unsatisfiedDesc:"JSDoc description does not satisfy the regex pattern."},
deprecated:!0,replacedBy:[]},create(d){function m(B){return"ClassExpression"===B.type||"ClassDeclaration"===B.type}function h(B){C.push({returnPresent:"ArrowFunctionExpression"===B.type&&"BlockStatement"!==B.body.type||m(B)||B.async})}function k(B){return null===B.type||"void"===B.type.name||"UndefinedLiteral"===B.type.type}function p(B){return"UndefinedLiteral"!==B&&"NullLiteral"!==B&&"NullableLiteral"!==B&&"FunctionType"!==B&&"AllLiteral"!==B}function l(B){let I;B.name?I=B:B.expression&&(I=B.expression);
return{currentType:I,expectedTypeName:I&&D[I.name]}}function g(B,I){return{start:t.getLocFromIndex(B.range[0]+2+I.range[0]),end:t.getLocFromIndex(B.range[0]+2+I.range[1])}}function f(B,I){if(I&&p(I.type)){var J=[],M=[];switch(I.type){case "TypeApplication":M="UnionType"===I.applications[0].type?I.applications[0].elements:I.applications;J.push(l(I));break;case "RecordType":M=I.fields;break;case "UnionType":case "ArrayType":M=I.elements;break;case "FieldType":I.value&&J.push(l(I.value));break;default:J.push(l(I))}M.forEach(f.bind(null,
B));J.forEach(P=>{P.expectedTypeName&&P.expectedTypeName!==P.currentType.name&&d.report({node:B,messageId:"useType",loc:g(B,P.currentType),data:{currentTypeName:P.currentType.name,expectedTypeName:P.expectedTypeName},fix(O){return O.replaceTextRange(P.currentType.range.map(N=>B.range[0]+2+N),P.expectedTypeName)}})})}}function n(B){const I=t.getJSDocComment(B),J=C.pop(),M=Object.create(null),P=[];let O=!1,N,L=!1,x=!1,y=!1,G=!1;if(I){let K;try{K=b.parse(I.value,{strict:!0,unwrap:!0,sloppy:!0,range:!0})}catch(Z){/braces/iu.test(Z.message)?
d.report({node:I,messageId:"missingBrace"}):d.report({node:I,messageId:"syntaxError"});return}K.tags.forEach(Z=>{switch(Z.title.toLowerCase()){case "param":case "arg":case "argument":P.push(Z);break;case "return":case "returns":O=!0;N=Z;break;case "constructor":case "class":L=!0;break;case "override":case "inheritdoc":y=!0;break;case "abstract":case "virtual":G=!0;break;case "interface":x=!0}if(Object.prototype.hasOwnProperty.call(q,Z.title)&&Z.title!==q[Z.title]){const aa=g(I,Z);d.report({node:I,
messageId:"use",loc:{start:aa.start,end:{line:aa.start.line,column:aa.start.column+"@".concat(Z.title).length}},data:{name:q[Z.title]},fix(xa){return xa.replaceTextRange([I.range[0]+Z.range[0]+3,I.range[0]+Z.range[0]+Z.title.length+3],q[Z.title])}})}F&&Z.type&&f(I,Z.type)});P.forEach(Z=>{A&&!Z.type&&d.report({node:I,messageId:"missingParamType",loc:g(I,Z),data:{name:Z.name}});!Z.description&&v&&d.report({node:I,messageId:"missingParamDesc",loc:g(I,Z),data:{name:Z.name}});M[Z.name]?d.report({node:I,
messageId:"duplicateParam",loc:g(I,Z),data:{name:Z.name}}):-1===Z.name.indexOf(".")&&(M[Z.name]=Z)});O&&(r||J.returnPresent||null!==N.type&&k(N)||G?(E&&!N.type&&d.report({node:I,messageId:"missingReturnType"}),k(N)||N.description||!z||d.report({node:I,messageId:"missingReturnDesc"})):d.report({node:I,messageId:"unexpectedTag",loc:g(I,N),data:{title:N.title}}));y||O||L||x||"get"===B.parent.kind||"constructor"===B.parent.kind||"set"===B.parent.kind||m(B)||(r||J.returnPresent&&!B.async)&&d.report({node:I,
messageId:"missingReturn",data:{returns:q.returns||"returns"}});const R=Object.keys(M);B.params&&B.params.forEach((Z,aa)=>{Z="AssignmentPattern"===Z.type?Z.left:Z;"Identifier"===Z.type&&(Z=Z.name,R[aa]&&Z!==R[aa]?d.report({node:I,messageId:"expected",loc:g(I,M[R[aa]]),data:{name:Z,jsdocName:R[aa]}}):M[Z]||y||d.report({node:I,messageId:"missingParam",data:{name:Z}}))});e.matchDescription&&((new RegExp(e.matchDescription,"u")).test(K.description)||d.report({node:I,messageId:"unsatisfiedDesc"}))}}const e=
d.options[0]||{},q=e.prefer||{},t=d.getSourceCode(),r=!1!==e.requireReturn,v=!1!==e.requireParamDescription,z=!1!==e.requireReturnDescription,E=!1!==e.requireReturnType,A=!1!==e.requireParamType,D=e.preferType||{},F=0!==Object.keys(D).length,C=[];return{ArrowFunctionExpression:h,FunctionExpression:h,FunctionDeclaration:h,ClassExpression:h,ClassDeclaration:h,"ArrowFunctionExpression:exit":n,"FunctionExpression:exit":n,"FunctionDeclaration:exit":n,"ClassExpression:exit":n,"ClassDeclaration:exit":n,
ReturnStatement:function(B){const I=C[C.length-1];I&&null!==B.argument&&(I.returnPresent=!0)}}}}},(u,c,a)=>{(function(){function b(r){return 97<=r&&122>=r||65<=r&&90>=r||48<=r&&57>=r}function d(r){return"param"===r||"argument"===r||"arg"===r}function m(r){return"return"===r||"returns"===r}function h(r){return"property"===r||"prop"===r}function k(r){return d(r)||h(r)||"alias"===r||"this"===r||"mixes"===r||"requires"===r}function p(r){return h(r)||d(r)}function l(r){return d(r)||m(r)||"define"===r||
"enum"===r||"implements"===r||"this"===r||"type"===r||"typedef"===r||h(r)}function g(r){return r.replace(/^\/\*\*?/,"").replace(/\*\/$/,"").replace(/([ \f\t\v\u00a0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]*(?:\*[ \f\t\v\u00a0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]?)?)(.+|[\r\n\u2028\u2029])/g,"$2").replace(/\s*$/,"")}var f;var n=a(572);var e=a(867);var q=a(868);var t=function(){var r=Object.prototype.hasOwnProperty;return function(v,z){return r.call(v,z)}}();(function(r){function v(){var y=
M.charCodeAt(B);B+=1;!n.code.isLineTerminator(y)||13===y&&10===M.charCodeAt(B)||(I+=1);return String.fromCharCode(y)}function z(y,G,K){var R,Z,aa;for(R=!1;B<G;){var xa=M.charCodeAt(B);if(n.code.isWhiteSpace(xa))v();else{123===xa?v():R=!0;break}}if(R)return null;R=1;for(Z="";B<G;)if(xa=M.charCodeAt(B),n.code.isLineTerminator(xa))v();else{if(125===xa){if(--R,0===R){v();break}}else 123===xa&&(R+=1);""===Z&&(aa=B);Z+=v()}return 0!==R?q.throwError("Braces are not balanced"):p(y)?e.parseParamType(Z,{startIndex:F(aa),
range:K}):e.parseType(Z,{startIndex:F(aa),range:K})}function E(y){var G;if(!n.code.isIdentifierStartES5(M.charCodeAt(B))&&!M[B].match(/[0-9]/))return null;for(G=v();B<y&&n.code.isIdentifierPartES5(M.charCodeAt(B));)G+=v();return G}function A(y){for(;B<y&&(n.code.isWhiteSpace(M.charCodeAt(B))||n.code.isLineTerminator(M.charCodeAt(B)));)v()}function D(y,G,K){var R="",Z;A(y);if(B>=y)return null;if(91===M.charCodeAt(B))if(G){var aa=!0;R=v()}else return null;R+=E(y);if(K)for(58!==M.charCodeAt(B)||"module"!==
R&&"external"!==R&&"event"!==R||(R+=v(),R+=E(y)),91===M.charCodeAt(B)&&93===M.charCodeAt(B+1)&&(R+=v(),R+=v());46===M.charCodeAt(B)||47===M.charCodeAt(B)||35===M.charCodeAt(B)||45===M.charCodeAt(B)||126===M.charCodeAt(B);)R+=v(),R+=E(y);if(aa){A(y);if(61===M.charCodeAt(B))for(R+=v(),A(y),K=1;B<y;){G=M.charCodeAt(B);n.code.isWhiteSpace(G)&&!Z&&(A(y),G=M.charCodeAt(B));39===G&&(Z?"'"===Z&&(Z=""):Z="'");34===G&&(Z?'"'===Z&&(Z=""):Z='"');if(91===G)K++;else if(93===G&&0===--K)break;R+=v()}A(y);if(B>=y||
93!==M.charCodeAt(B))return null;R+=v()}return R}function F(y){if(M===P)return y;a:{for(var G=P,K=G.replace(/^\/\*\*?/,""),R=0,Z=/([ \f\t\v\u00a0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]*(?:\*[ \f\t\v\u00a0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]?)?)(.+|[\r\n\u2028\u2029])/g,aa;aa=Z.exec(K);)if(R+=aa[1].length,aa.index+aa[0].length>y+R){y=y+R+G.length-K.length;break a}y=G.replace(/\*\/$/,"").replace(/\s*$/,"").length}return y}function C(y,G){this._options=y;this._title=G.toLowerCase();
this._tag={title:G,description:null};this._options.lineNumbers&&(this._tag.lineNumber=I);this._first=B-G.length-1;this._last=0;this._extra={}}var B,I,J,M,P,O,N,L;C.prototype.addError=function(y){var G=Array.prototype.slice.call(arguments,1),K=y.replace(/%(\d)/g,function(R,Z){q.assert(Z<G.length,"Message reference must be in range");return G[Z]});this._tag.errors||(this._tag.errors=[]);L&&q.throwError(K);this._tag.errors.push(K);return O};C.prototype.parseType=function(){if(l(this._title))try{if(this._tag.type=
z(this._title,this._last,this._options.range),!(this._tag.type||d(this._title)||m(this._title)||this.addError("Missing or invalid tag type")))return!1}catch(G){if(this._tag.type=null,!this.addError(G.message))return!1}else{var y=this._title;if(l(y)||"throws"===y||"const"===y||"constant"===y||"namespace"===y||"member"===y||"var"===y||"module"===y||"constructor"===y||"class"===y||"extends"===y||"augments"===y||"public"===y||"private"===y||"protected"===y)try{this._tag.type=z(this._title,this._last,
this._options.range)}catch(G){}}return!0};C.prototype._parseNamePath=function(y){var G=D(this._last,N&&p(this._title),!0);if(!G&&!y&&!this.addError("Missing or invalid tag name"))return!1;this._tag.name=G;return!0};C.prototype.parseNamePath=function(){return this._parseNamePath(!1)};C.prototype.parseNamePathOptional=function(){return this._parseNamePath(!0)};C.prototype.parseName=function(){var y=this._title;if(k(y)||"const"===y||"constant"===y){y=this._tag;var G=this._last,K=N&&p(this._title);var R=
this._title;R=h(R)||d(R);y.name=D(G,K,R);if(this._tag.name)y=this._tag.name,"["===y.charAt(0)&&"]"===y.charAt(y.length-1)&&(y=y.substring(1,y.length-1).split("="),1<y.length&&(this._tag["default"]=y.slice(1).join("=")),this._tag.name=y[0],this._tag.type&&"OptionalType"!==this._tag.type.type&&(this._tag.type={type:"OptionalType",expression:this._tag.type}));else{if(!k(this._title))return!0;if(d(this._title)&&this._tag.type&&this._tag.type.name)this._extra.name=this._tag.type,this._tag.name=this._tag.type.name,
this._tag.type=null;else if(!this.addError("Missing or invalid tag name"))return!1}}return!0};C.prototype.parseDescription=function(){var y=M.slice(B,this._last).trim();y&&(/^-\s+/.test(y)&&(y=y.substring(2)),this._tag.description=y);return!0};C.prototype.parseCaption=function(){var y=M.slice(B,this._last).trim(),G=y.indexOf("<caption>"),K=y.indexOf("</caption>");0<=G&&0<=K?(this._tag.caption=y.substring(G+9,K).trim(),this._tag.description=y.substring(K+10).trim()):this._tag.description=y;return!0};
C.prototype.parseKind=function(){var y=M.slice(B,this._last).trim();this._tag.kind=y;return t({"class":!0,constant:!0,event:!0,external:!0,file:!0,"function":!0,member:!0,mixin:!0,module:!0,namespace:!0,typedef:!0},y)||this.addError("Invalid kind name '%0'",y)?!0:!1};C.prototype.parseAccess=function(){var y=M.slice(B,this._last).trim();this._tag.access=y;return"private"===y||"protected"===y||"public"===y||this.addError("Invalid access name '%0'",y)?!0:!1};C.prototype.parseThis=function(){var y=M.slice(B,
this._last).trim();return y&&"{"===y.charAt(0)?this.parseType()&&"NameExpression"===this._tag.type.type||"UnionType"===this._tag.type.type?(this._tag.name=this._tag.type.name,!0):this.addError("Invalid name for this"):this.parseNamePath()};C.prototype.parseVariation=function(){var y=M.slice(B,this._last).trim();var G=parseFloat(y,10);this._tag.variation=G;return isNaN(G)&&!this.addError("Invalid variation '%0'",y)?!1:!0};C.prototype.ensureEnd=function(){var y=M.slice(B,this._last).trim();return y&&
!this.addError("Unknown content '%0'",y)?!1:!0};C.prototype.epilogue=function(){var y=this._tag.description;return!p(this._title)||this._tag.type||!y||"["!==y.charAt(0)||(this._tag.type=this._extra.name,this._tag.name||(this._tag.name=void 0),N||this.addError("Missing or invalid tag name"))?!0:!1};var x={access:["parseAccess"],alias:["parseNamePath","ensureEnd"],augments:["parseType","parseNamePathOptional","ensureEnd"],constructor:["parseType","parseNamePathOptional","ensureEnd"],"class":["parseType",
"parseNamePathOptional","ensureEnd"],"extends":["parseType","parseNamePathOptional","ensureEnd"],example:["parseCaption"],deprecated:["parseDescription"],global:["ensureEnd"],inner:["ensureEnd"],instance:["ensureEnd"],kind:["parseKind"],mixes:["parseNamePath","ensureEnd"],mixin:["parseNamePathOptional","ensureEnd"],member:["parseType","parseNamePathOptional","ensureEnd"],method:["parseNamePathOptional","ensureEnd"],module:["parseType","parseNamePathOptional","ensureEnd"],func:["parseNamePathOptional",
"ensureEnd"],"function":["parseNamePathOptional","ensureEnd"],"var":["parseType","parseNamePathOptional","ensureEnd"],name:["parseNamePath","ensureEnd"],namespace:["parseType","parseNamePathOptional","ensureEnd"],"private":["parseType","parseDescription"],"protected":["parseType","parseDescription"],"public":["parseType","parseDescription"],readonly:["ensureEnd"],requires:["parseNamePath","ensureEnd"],since:["parseDescription"],"static":["ensureEnd"],summary:["parseDescription"],"this":["parseThis",
"ensureEnd"],todo:["parseDescription"],typedef:["parseType","parseNamePathOptional"],variation:["parseVariation"],version:["parseDescription"]};C.prototype.parse=function(){var y;if(!this._title&&!this.addError("Missing or invalid title"))return null;var G=B;for(y=!1;G<J;){var K=M.charCodeAt(G);if(n.code.isLineTerminator(K)&&(13!==K||10!==M.charCodeAt(G+1)))y=!0;else if(y){if(64===K)break;n.code.isWhiteSpace(K)||(y=!1)}G+=1}this._last=G;this._options.range&&(this._tag.range=[this._first,M.slice(0,
this._last).replace(/\s*$/,"").length].map(F));G=t(x,this._title)?x[this._title]:["parseType","parseName","parseDescription","epilogue"];K=0;for(y=G.length;K<y;++K){var R=G[K];if(!this[R]())return null}return this._tag};r.parse=function(y,G){var K=[],R;void 0===G&&(G={});M="boolean"===typeof G.unwrap&&G.unwrap?g(y):y;P=y;if(G.tags)if(Array.isArray(G.tags)){var Z={};y=0;for(R=G.tags.length;y<R;y++)"string"===typeof G.tags[y]?Z[G.tags[y]]=!0:q.throwError('Invalid "tags" parameter: '+G.tags)}else q.throwError('Invalid "tags" parameter: '+
G.tags);J=M.length;I=B=0;O=G.recoverable;N=G.sloppy;L=G.strict;y=G.preserveWhitespace;R="";var aa;for(aa=!0;B<J;){var xa=M.charCodeAt(B);if(aa&&64===xa)break;n.code.isLineTerminator(xa)?aa=!0:aa&&!n.code.isWhiteSpace(xa)&&(aa=!1);R+=v()}for(y=y?R:R.trim();;){R=G;for(;B<J&&64!==M.charCodeAt(B);)v();B>=J?xa=!1:(q.assert(64===M.charCodeAt(B)),xa=!0);if(xa){xa="";for(v();B<J&&b(M.charCodeAt(B));)xa+=v();xa=new C(R,xa);for(R=xa.parse();B<xa._last;)v()}else R=null;if(!R)break;Z&&!Z.hasOwnProperty(R.title)||
K.push(R)}return{description:y,tags:K}}})(f={});c.version=q.VERSION;c.parse=f.parse;c.parseType=e.parseType;c.parseParamType=e.parseParamType;c.unwrapComment=g;c.Syntax=function(r){var v={},z;for(z in r)r.hasOwnProperty(z)&&(v[z]=r[z]);return v}(e.Syntax);c.Error=q.DoctrineError;c.type={Syntax:c.Syntax,parseType:e.parseType,parseParamType:e.parseParamType,stringify:e.stringify}})()},(u,c,a)=>{(function(){function b(L){return-1==="><(){}[],:*|?!=".indexOf(String.fromCharCode(L))&&!M.code.isWhiteSpace(L)&&
!M.code.isLineTerminator(L)}function d(L,x,y,G){this._previous=L;this._index=x;this._token=y;this._value=G}function m(L,x){J&&(L.range=[x[0]+I,x[1]+I]);return L}function h(){var L=E.charAt(D);D+=1;return L}function k(){var L="";var x=E.charCodeAt(D);if(46!==x){L=h();x=E.charCodeAt(D);if("0"===L){if(120===x||88===x){for(L+=h();D<A;){x=E.charCodeAt(D);if(!M.code.isHexDigit(x))break;L+=h()}2>=L.length&&P.throwError("unexpected token");D<A&&(x=E.charCodeAt(D),M.code.isIdentifierStartES5(x)&&P.throwError("unexpected token"));
B=parseInt(L,16);return N.NUMBER}if(M.code.isOctalDigit(x)){for(L+=h();D<A;){x=E.charCodeAt(D);if(!M.code.isOctalDigit(x))break;L+=h()}D<A&&(x=E.charCodeAt(D),(M.code.isIdentifierStartES5(x)||M.code.isDecimalDigit(x))&&P.throwError("unexpected token"));B=parseInt(L,8);return N.NUMBER}M.code.isDecimalDigit(x)&&P.throwError("unexpected token")}for(;D<A;){x=E.charCodeAt(D);if(!M.code.isDecimalDigit(x))break;L+=h()}}if(46===x)for(L+=h();D<A;){x=E.charCodeAt(D);if(!M.code.isDecimalDigit(x))break;L+=h()}if(101===
x||69===x){L+=h();x=E.charCodeAt(D);if(43===x||45===x)L+=h();x=E.charCodeAt(D);if(M.code.isDecimalDigit(x))for(L+=h();D<A;){x=E.charCodeAt(D);if(!M.code.isDecimalDigit(x))break;L+=h()}else P.throwError("unexpected token")}D<A&&(x=E.charCodeAt(D),M.code.isIdentifierStartES5(x)&&P.throwError("unexpected token"));B=parseFloat(L);return N.NUMBER}function p(){for(F=D;D<A&&M.code.isWhiteSpace(E.charCodeAt(D));)h();if(D>=A)return C=N.EOF;var L=E.charCodeAt(D);switch(L){case 39:case 34:L="";var x=E.charAt(D);
for(++D;D<A;){var y=h();if(y===x){x="";break}else if("\\"===y)if(y=h(),M.code.isLineTerminator(y.charCodeAt(0)))"\r"===y&&10===E.charCodeAt(D)&&++D;else switch(y){case "n":L+="\n";break;case "r":L+="\r";break;case "t":L+="\t";break;case "u":case "x":var G=D;a:{var K,R=0;var Z="u"===y?4:2;for(K=0;K<Z;++K)if(D<A&&M.code.isHexDigit(E.charCodeAt(D))){var aa=h();R=16*R+"0123456789abcdef".indexOf(aa.toLowerCase())}else{aa="";break a}aa=String.fromCharCode(R)}aa?L+=aa:(D=G,L+=y);break;case "b":L+="\b";break;
case "f":L+="\f";break;case "v":L+="\v";break;default:M.code.isOctalDigit(y.charCodeAt(0))?(G="01234567".indexOf(y),D<A&&M.code.isOctalDigit(E.charCodeAt(D))&&(G=8*G+"01234567".indexOf(h()),0<="0123".indexOf(y)&&D<A&&M.code.isOctalDigit(E.charCodeAt(D))&&(G=8*G+"01234567".indexOf(h()))),L+=String.fromCharCode(G)):L+=y}else if(M.code.isLineTerminator(y.charCodeAt(0)))break;else L+=y}""!==x&&P.throwError("unexpected quote");B=L;return C=N.STRING;case 58:return h(),C=N.COLON;case 44:return h(),C=N.COMMA;
case 40:return h(),C=N.LPAREN;case 41:return h(),C=N.RPAREN;case 91:return h(),C=N.LBRACK;case 93:return h(),C=N.RBRACK;case 123:return h(),C=N.LBRACE;case 125:return h(),C=N.RBRACE;case 46:if(D+1<A){L=E.charCodeAt(D+1);if(60===L)return h(),h(),C=N.DOT_LT;if(46===L&&D+2<A&&46===E.charCodeAt(D+2))return h(),h(),h(),C=N.REST;if(M.code.isDecimalDigit(L))return C=k()}return C=N.ILLEGAL;case 60:return h(),C=N.LT;case 62:return h(),C=N.GT;case 42:return h(),C=N.STAR;case 124:return h(),C=N.PIPE;case 63:return h(),
C=N.QUESTION;case 33:return h(),C=N.BANG;case 61:return h(),C=N.EQUAL;case 45:return C=k();default:if(M.code.isDecimalDigit(L))return C=k();P.assert(b(L));a:{for(B=h();D<A&&b(E.charCodeAt(D));){L=E.charCodeAt(D);if(46===L){if(D+1>=A){C=N.ILLEGAL;break a}L=E.charCodeAt(D+1);if(60===L)break}B+=h()}C=N.NAME}return C}}function l(L,x){P.assert(C===L,x||"consumed token not matched");p()}function g(L,x){C!==L&&P.throwError(x||"unexpected token");p()}function f(){var L=F;var x=B;C===N.NAME||C===N.STRING?
p():C===N.NUMBER?(l(N.NUMBER),x=String(x)):(P.throwError("unexpected token"),x=void 0);return C===N.COLON?(l(N.COLON),m({type:O.FieldType,key:x,value:t()},[L,F])):m({type:O.FieldType,key:x,value:null},[L,F])}function n(){var L=D-B.length;var x=B;var y=D-x.length;g(N.NAME);C!==N.COLON||"module"!==x&&"external"!==x&&"event"!==x||(l(N.COLON),x+=":"+B,g(N.NAME));x=m({type:O.NameExpression,name:x},[y,F]);if(C===N.DOT_LT||C===N.LT){p();y=[];for(y.push(r());C===N.COMMA;)l(N.COMMA),y.push(r());g(N.GT);return m({type:O.TypeApplication,
expression:x,applications:y},[L,F])}return x}function e(){for(var L=[],x=!1,y,G=!1,K,R=D-3,Z;C!==N.RPAREN;)C===N.REST&&(l(N.REST),G=!0),K=F,y=t(),y.type===O.NameExpression&&C===N.COLON&&(Z=F-y.name.length,l(N.COLON),y=m({type:O.ParameterType,name:y.name,expression:t()},[Z,F])),C===N.EQUAL?(l(N.EQUAL),y=m({type:O.OptionalType,expression:y},[K,F]),x=!0):x&&P.throwError("unexpected token"),G&&(y=m({type:O.RestType,expression:y},[R,F])),L.push(y),C!==N.RPAREN&&g(N.COMMA);return L}function q(){switch(C){case N.STAR:return l(N.STAR),
m({type:O.AllLiteral},[F-1,F]);case N.LPAREN:var L=D-1;l(N.LPAREN,"UnionType should start with (");var x=[];if(C!==N.RPAREN)for(;;){x.push(t());if(C===N.RPAREN)break;g(N.PIPE)}l(N.RPAREN,"UnionType should end with )");return m({type:O.UnionType,elements:x},[L,F]);case N.LBRACK:L=D-1;l(N.LBRACK,"ArrayType should start with [");for(x=[];C!==N.RBRACK;){if(C===N.REST){var y=D-3;l(N.REST);x.push(m({type:O.RestType,expression:t()},[y,F]));break}else x.push(t());C!==N.RBRACK&&g(N.COMMA)}g(N.RBRACK);return m({type:O.ArrayType,
elements:x},[L,F]);case N.LBRACE:L=D-1;l(N.LBRACE,"RecordType should start with {");x=[];if(C===N.COMMA)l(N.COMMA);else for(;C!==N.RBRACE;)x.push(f()),C!==N.RBRACE&&g(N.COMMA);y=D;g(N.RBRACE);return m({type:O.RecordType,fields:x},[L,y]);case N.NAME:var G=D-B.length;if("null"===B)return l(N.NAME),m({type:O.NullLiteral},[G,F]);if("undefined"===B)return l(N.NAME),m({type:O.UndefinedLiteral},[G,F]);if("true"===B||"false"===B)return l(N.NAME),m({type:O.BooleanLiteralType,value:"true"===B},[G,F]);G=d.save();
if("function"===B)try{var K=D-B.length;P.assert(C===N.NAME&&"function"===B,"FunctionType should start with 'function'");l(N.NAME);g(N.LPAREN);x=!1;y=[];L=null;C!==N.RPAREN&&(C!==N.NAME||"this"!==B&&"new"!==B?y=e():(x="new"===B,l(N.NAME),g(N.COLON),L=n(),C===N.COMMA&&(l(N.COMMA),y=e())));g(N.RPAREN);var R=null;C===N.COLON&&(l(N.COLON,"ResultType should start with :"),C===N.NAME&&"void"===B?(l(N.NAME),R={type:O.VoidLiteral}):R=t());var Z=m({type:O.FunctionType,params:y,result:R},[K,F]);L&&(Z["this"]=
L,x&&(Z["new"]=!0));return Z}catch(aa){G.restore()}return n();case N.STRING:return p(),m({type:O.StringLiteralType,value:B},[F-B.length-2,F]);case N.NUMBER:return p(),m({type:O.NumericLiteralType,value:B},[F-String(B).length,F]);default:P.throwError("unexpected token")}}function t(){if(C===N.QUESTION){var L=D-1;l(N.QUESTION);return C===N.COMMA||C===N.EQUAL||C===N.RBRACE||C===N.RPAREN||C===N.PIPE||C===N.EOF||C===N.RBRACK||C===N.GT?m({type:O.NullableLiteral},[L,F]):m({type:O.NullableType,expression:q(),
prefix:!0},[L,F])}if(C===N.BANG)return L=D-1,l(N.BANG),m({type:O.NonNullableType,expression:q(),prefix:!0},[L,F]);L=F;var x=q();return C===N.BANG?(l(N.BANG),m({type:O.NonNullableType,expression:x,prefix:!1},[L,F])):C===N.QUESTION?(l(N.QUESTION),m({type:O.NullableType,expression:x,prefix:!1},[L,F])):C===N.LBRACK?(l(N.LBRACK),g(N.RBRACK,"expected an array-style type declaration ("+B+"[])"),m({type:O.TypeApplication,expression:m({type:O.NameExpression,name:"Array"},[L,F]),applications:[x]},[L,F])):x}
function r(){var L=t();if(C!==N.PIPE)return L;L=[L];for(l(N.PIPE);;){L.push(t());if(C!==N.PIPE)break;l(N.PIPE)}return m({type:O.UnionType,elements:L},[0,D])}function v(){if(C===N.REST)return l(N.REST),m({type:O.RestType,expression:r()},[0,D]);var L=r();return C===N.EQUAL?(l(N.EQUAL),m({type:O.OptionalType,expression:L},[0,D])):L}function z(L,x,y){var G;switch(L.type){case O.NullableLiteral:var K="?";break;case O.AllLiteral:K="*";break;case O.NullLiteral:K="null";break;case O.UndefinedLiteral:K="undefined";
break;case O.VoidLiteral:K="void";break;case O.UnionType:K=y?"":"(";var R=0;for(G=L.elements.length;R<G;++R)K+=z(L.elements[R],x),R+1!==G&&(K+=x?"|":" | ");y||(K+=")");break;case O.ArrayType:K="[";R=0;for(G=L.elements.length;R<G;++R)K+=z(L.elements[R],x),R+1!==G&&(K+=x?",":", ");K+="]";break;case O.RecordType:K="{";R=0;for(G=L.fields.length;R<G;++R)K+=z(L.fields[R],x),R+1!==G&&(K+=x?",":", ");K+="}";break;case O.FieldType:K=L.value?L.key+(x?":":": ")+z(L.value,x):L.key;break;case O.FunctionType:K=
x?"function(":"function (";L["this"]&&(K=L["new"]?K+(x?"new:":"new: "):K+(x?"this:":"this: "),K+=z(L["this"],x),0!==L.params.length&&(K+=x?",":", "));R=0;for(G=L.params.length;R<G;++R)K+=z(L.params[R],x),R+1!==G&&(K+=x?",":", ");K+=")";L.result&&(K+=(x?":":": ")+z(L.result,x));break;case O.ParameterType:K=L.name+(x?":":": ")+z(L.expression,x);break;case O.RestType:K="...";L.expression&&(K+=z(L.expression,x));break;case O.NonNullableType:K=L.prefix?"!"+z(L.expression,x):z(L.expression,x)+"!";break;
case O.OptionalType:K=z(L.expression,x)+"=";break;case O.NullableType:K=L.prefix?"?"+z(L.expression,x):z(L.expression,x)+"?";break;case O.NameExpression:K=L.name;break;case O.TypeApplication:K=z(L.expression,x)+".<";R=0;for(G=L.applications.length;R<G;++R)K+=z(L.applications[R],x),R+1!==G&&(K+=x?",":", ");K+=">";break;case O.StringLiteralType:K='"'+L.value+'"';break;case O.NumericLiteralType:K=String(L.value);break;case O.BooleanLiteralType:K=String(L.value);break;default:P.throwError("Unknown type "+
L.type)}return K}var E,A,D,F,C,B,I,J;var M=a(572);var P=a(868);var O={NullableLiteral:"NullableLiteral",AllLiteral:"AllLiteral",NullLiteral:"NullLiteral",UndefinedLiteral:"UndefinedLiteral",VoidLiteral:"VoidLiteral",UnionType:"UnionType",ArrayType:"ArrayType",RecordType:"RecordType",FieldType:"FieldType",FunctionType:"FunctionType",ParameterType:"ParameterType",RestType:"RestType",NonNullableType:"NonNullableType",OptionalType:"OptionalType",NullableType:"NullableType",NameExpression:"NameExpression",
TypeApplication:"TypeApplication",StringLiteralType:"StringLiteralType",NumericLiteralType:"NumericLiteralType",BooleanLiteralType:"BooleanLiteralType"};var N={ILLEGAL:0,DOT_LT:1,REST:2,LT:3,GT:4,LPAREN:5,RPAREN:6,LBRACE:7,RBRACE:8,LBRACK:9,RBRACK:10,COMMA:11,COLON:12,STAR:13,PIPE:14,QUESTION:15,BANG:16,EQUAL:17,NAME:18,STRING:19,NUMBER:20,EOF:21};d.prototype.restore=function(){F=this._previous;D=this._index;C=this._token;B=this._value};d.save=function(){return new d(F,D,C,B)};c.parseType=function(L,
x){E=L;A=E.length;F=D=0;J=x&&x.range;I=x&&x.startIndex||0;p();L=r();if(x&&x.midstream)return{expression:L,index:F};C!==N.EOF&&P.throwError("not reach to EOF");return L};c.parseParamType=function(L,x){E=L;A=E.length;F=D=0;J=x&&x.range;I=x&&x.startIndex||0;p();L=v();if(x&&x.midstream)return{expression:L,index:F};C!==N.EOF&&P.throwError("not reach to EOF");return L};c.stringify=function(L,x){null==x&&(x={});return z(L,x.compact,x.topLevel)};c.Syntax=O})()},(u,c,a)=>{(function(){function b(m){this.name=
"DoctrineError";this.message=m}var d=a(869).version;c.VERSION=d;b.prototype=function(){var m=function(){};m.prototype=Error.prototype;return new m}();b.prototype.constructor=b;c.DoctrineError=b;c.throwError=function(m){throw new b(m);};c.assert=a(420)})()},u=>{u.exports=JSON.parse('{"_from":"doctrine@^3.0.0","_id":"doctrine@3.0.0","_inBundle":false,"_integrity":"sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==","_location":"/doctrine","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"doctrine@^3.0.0","name":"doctrine","escapedName":"doctrine","rawSpec":"^3.0.0","saveSpec":null,"fetchSpec":"^3.0.0"},"_requiredBy":["/","/eslint"],"_resolved":"https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz","_shasum":"addebead72a6574db783639dc87a121773973961","_spec":"doctrine@^3.0.0","_where":"/home/janb/Projekte/eslint","bugs":{"url":"https://github.com/eslint/doctrine/issues"},"bundleDependencies":false,"dependencies":{"esutils":"^2.0.2"},"deprecated":false,"description":"JSDoc parser","devDependencies":{"coveralls":"^3.0.1","dateformat":"^1.0.11","eslint":"^1.10.3","eslint-release":"^1.0.0","linefix":"^0.1.1","mocha":"^3.4.2","npm-license":"^0.3.1","nyc":"^10.3.2","semver":"^5.0.3","shelljs":"^0.5.3","shelljs-nodecli":"^0.1.1","should":"^5.0.1"},"directories":{"lib":"./lib"},"engines":{"node":">=6.0.0"},"files":["lib"],"homepage":"https://github.com/eslint/doctrine","license":"Apache-2.0","main":"lib/doctrine.js","maintainers":[{"name":"Nicholas C. Zakas","email":"nicholas+npm@nczconsulting.com","url":"https://www.nczonline.net"},{"name":"Yusuke Suzuki","email":"utatane.tea@gmail.com","url":"https://github.com/Constellation"}],"name":"doctrine","repository":{"type":"git","url":"git+https://github.com/eslint/doctrine.git"},"scripts":{"coveralls":"nyc report --reporter=text-lcov | coveralls","generate-alpharelease":"eslint-generate-prerelease alpha","generate-betarelease":"eslint-generate-prerelease beta","generate-rcrelease":"eslint-generate-prerelease rc","generate-release":"eslint-generate-release","lint":"eslint lib/","pretest":"npm run lint","publish-release":"eslint-publish-release","test":"nyc mocha"},"version":"3.0.0"}')},
u=>{u.exports={meta:{type:"problem",docs:{description:"enforce comparing `typeof` expressions against valid strings",recommended:!0,url:"https://eslint.org/docs/rules/valid-typeof"},schema:[{type:"object",properties:{requireStringLiterals:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{invalidValue:"Invalid typeof comparison value.",notString:"Typeof comparisons should be to string literals."}},create(c){function a(h){return"UnaryExpression"===h.type&&"typeof"===h.operator}const b=
"symbol undefined object boolean number string function bigint".split(" "),d=["==","===","!=","!=="],m=c.options[0]&&c.options[0].requireStringLiterals;return{UnaryExpression(h){if(a(h)){const k=c.getAncestors().pop();"BinaryExpression"===k.type&&-1!==d.indexOf(k.operator)&&(h=k.left===h?k.right:k.left,"Literal"===h.type||"TemplateLiteral"===h.type&&!h.expressions.length?-1===b.indexOf("Literal"===h.type?h.value:h.quasis[0].value.cooked)&&c.report({node:h,messageId:"invalidValue"}):m&&!a(h)&&c.report({node:h,
messageId:"notString"}))}}}}}},u=>{u.exports={meta:{type:"suggestion",docs:{description:"require `var` declarations be placed at the top of their containing scope",recommended:!1,url:"https://eslint.org/docs/rules/vars-on-top"},schema:[],messages:{top:"All 'var' declarations must be at the top of the function scope."}},create(c){function a(d,m){const h=m.length;let k=0;for(;k<h;++k){var p=m[k];if(p=!("ExpressionStatement"===p.type&&"Literal"===p.expression.type&&"string"===typeof p.expression.value))p=
m[k],p=!("ImportDeclaration"===p.type||"ImportSpecifier"===p.type||"ImportDefaultSpecifier"===p.type||"ImportNamespaceSpecifier"===p.type);if(p)break}for(;k<h;++k){p=m[k];if(!("VariableDeclaration"===p.type||"ExportNamedDeclaration"===p.type&&p.declaration&&"VariableDeclaration"===p.declaration.type))break;if(m[k]===d)return!0}return!1}function b(d,m){a(d,m.body)||c.report({node:d,messageId:"top"})}return{["VariableDeclaration[kind='var']"](d){if("ExportNamedDeclaration"===d.parent.type)b(d.parent,
d.parent.parent);else if("Program"===d.parent.type)b(d,d.parent);else{var m=d.parent;/Function/u.test(d.parent.parent.type)&&"BlockStatement"===m.type&&a(d,m.body)||c.report({node:d,messageId:"top"})}}}}}},(u,c,a)=>{const b=a(571),d=a(524);u.exports={meta:{type:"layout",docs:{description:"require parentheses around immediate `function` invocations",recommended:!1,url:"https://eslint.org/docs/rules/wrap-iife"},schema:[{enum:["outside","inside","any"]},{type:"object",properties:{functionPrototypeMethods:{type:"boolean",
default:!1}},additionalProperties:!1}],fixable:"code",messages:{wrapInvocation:"Wrap an immediate function invocation in parentheses.",wrapExpression:"Wrap only the function expression in parens.",moveInvocation:"Move the invocation into the parens that contain the function."}},create(m){function h(g){g=b.skipChainExpression(g.callee);return"FunctionExpression"===g.type?g:!p||"MemberExpression"!==g.type||"FunctionExpression"!==g.object.type||"call"!==b.getStaticPropertyName(g)&&"apply"!==b.getStaticPropertyName(g)?
null:g.object}const k=m.options[0]||"outside",p=m.options[1]&&m.options[1].functionPrototypeMethods,l=m.getSourceCode();return{CallExpression(g){const f=h(g);if(f){var n=b.isParenthesised(l,g),e=b.isParenthesised(l,f);n||e?"inside"!==k||e?"outside"!==k||n||m.report({node:g,messageId:"moveInvocation",fix(q){const t=l.getTokenAfter(f);return q.replaceTextRange([t.range[0],g.range[1]],"".concat(l.getText().slice(t.range[1],g.range[1]),")"))}}):m.report({node:g,messageId:"wrapExpression",fix(q){var t;
if(t=d.isParenthesized(1,g,l))t="ChainExpression"===g.parent.type?g.parent:g,t="NewExpression"===t.parent.type&&t.parent.callee===t,t=!t;return t?(t=l.getTokenAfter(g),q.replaceTextRange([f.range[1],t.range[1]],")".concat(l.getText().slice(f.range[1],t.range[0])))):q.replaceText(f,"(".concat(l.getText(f),")"))}}):m.report({node:g,messageId:"wrapInvocation",fix(q){const t="inside"===k?f:g;return q.replaceText(t,"(".concat(l.getText(t),")"))}})}}}}}},u=>{u.exports={meta:{type:"layout",docs:{description:"require parenthesis around regex literals",
recommended:!1,url:"https://eslint.org/docs/rules/wrap-regex"},schema:[],fixable:"code",messages:{requireParens:"Wrap the regexp literal in parens to disambiguate the slash."}},create(c){const a=c.getSourceCode();return{Literal(b){if("RegularExpression"===a.getFirstToken(b).type){const m=a.getTokenBefore(b),h=a.getTokenAfter(b);var d=c.getAncestors();d=d[d.length-1];"MemberExpression"!==d.type||d.object!==b||m&&"("===m.value&&h&&")"===h.value||c.report({node:b,messageId:"requireParens",fix:k=>k.replaceText(b,
"(".concat(a.getText(b),")"))})}}}}}},u=>{u.exports={meta:{type:"layout",docs:{description:"require or disallow spacing around the `*` in `yield*` expressions",recommended:!1,url:"https://eslint.org/docs/rules/yield-star-spacing"},fixable:"whitespace",schema:[{oneOf:[{enum:["before","after","both","neither"]},{type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"}},additionalProperties:!1}]}],messages:{missingBefore:"Missing space before *.",missingAfter:"Missing space after *.",
unexpectedBefore:"Unexpected space before *.",unexpectedAfter:"Unexpected space after *."}},create(c){function a(m,h,k){if(b.isSpaceBetweenTokens(h,k)!==d[m]){const p="*"===h.value,l=d[m],g=p?h:k;let f="";f=l?"before"===m?"missingBefore":"missingAfter":"before"===m?"unexpectedBefore":"unexpectedAfter";c.report({node:g,messageId:f,fix(n){return l?p?n.insertTextAfter(g," "):n.insertTextBefore(g," "):n.removeRange([h.range[1],k.range[0]])}})}}const b=c.getSourceCode(),d=function(m){return m&&"string"!==
typeof m?m:{before:{before:!0,after:!1},after:{before:!1,after:!0},both:{before:!0,after:!0},neither:{before:!1,after:!1}}[m||"after"]}(c.options[0]);return{YieldExpression:function(m){if(m.delegate){m=b.getFirstTokens(m,3);var h=m[1],k=m[2];a("before",m[0],h);a("after",h,k)}}}}}},(u,c,a)=>{function b(p){return"UnaryExpression"===p.type&&"-"===p.operator&&p.prefix&&k.isNumericLiteral(p.argument)}function d(p){return"TemplateLiteral"===p.type&&0===p.expressions.length}function m(p){return b(p)||d(p)}
function h(p){return"Literal"===p.type?p:b(p)?{type:"Literal",value:-p.argument.value,raw:"-".concat(p.argument.value)}:d(p)?{type:"Literal",value:p.quasis[0].value.cooked,raw:p.quasis[0].value.raw}:null}const k=a(571);u.exports={meta:{type:"suggestion",docs:{description:'require or disallow "Yoda" conditions',recommended:!1,url:"https://eslint.org/docs/rules/yoda"},schema:[{enum:["always","never"]},{type:"object",properties:{exceptRange:{type:"boolean",default:!1},onlyEquality:{type:"boolean",default:!1}},
additionalProperties:!1}],fixable:"code",messages:{expected:"Expected literal to be on the {{expectedSide}} side of {{operator}}."}},create(p){function l(r){function v(){if("&&"===r.operator&&k.isSameReference(E.right,A.left)){const D=h(E.left),F=h(A.right);if(null===D&&null===F)return!1;if(null===F||null===D||D.value<=F.value)return!0}return!1}function z(){if("||"===r.operator&&k.isSameReference(E.left,A.right)){const D=h(E.right),F=h(A.left);if(null===D&&null===F)return!1;if(null===F||null===D||
D.value<=F.value)return!0}return!1}const E=r.left,A=r.right;return"LogicalExpression"===r.type&&"BinaryExpression"===E.type&&"BinaryExpression"===A.type&&0<=["<","<="].indexOf(E.operator)&&0<=["<","<="].indexOf(A.operator)&&(v()||z())&&k.isParenthesised(q,r)}function g(r){const v=q.getFirstTokenBetween(r.left,r.right,P=>P.value===r.operator),z=q.getTokenBefore(v),E=q.getTokenAfter(v);var A=q.getText();const D=A.slice(r.range[0],z.range[1]),F=A.slice(z.range[1],v.range[0]),C=A.slice(v.range[1],E.range[0]);
A=A.slice(E.range[0],r.range[1]);const B=q.getTokenBefore(r),I=q.getTokenAfter(r);let J="",M="";B&&B.range[1]===r.range[0]&&!k.canTokensBeAdjacent(B,E)&&(J=" ");I&&r.range[1]===I.range[0]&&!k.canTokensBeAdjacent(z,I)&&(M=" ");return J+A+F+t[v.value]+C+D+M}const f="always"===p.options[0],n=p.options[1]&&p.options[1].exceptRange,e=p.options[1]&&p.options[1].onlyEquality,q=p.getSourceCode(),t={"===":"===","!==":"!==","==":"==","!=":"!=","<":">",">":"<","<=":">=",">=":"<="};return{BinaryExpression(r){const v=
f?r.left:r.right,z=f?r.right:r.left;"Literal"!==z.type&&!m(z)||"Literal"===v.type||m(v)||!/^(==|===)$/u.test(r.operator)&&e||!/^(==|===|!=|!==|<|>|<=|>=)$/u.test(r.operator)||n&&l(p.getAncestors().pop())||p.report({node:r,messageId:"expected",data:{operator:r.operator,expectedSide:f?"left":"right"},fix:E=>E.replaceText(r,g(r))})}}}}},u=>{function c(a){a=Error("Cannot find module '"+a+"'");a.code="MODULE_NOT_FOUND";throw a;}c.keys=()=>[];c.resolve=c;c.id=876;u.exports=c},u=>{u.exports=()=>{const c=
Object.create(null);return Object.freeze({on(a,b){a in c?c[a].push(b):c[a]=[b]},emit(a,...b){a in c&&c[a].forEach(d=>d(...b))},eventNames(){return Object.keys(c)}})}},(u,c,a)=>{function b(k,p){return k.fix.range[0]-p.fix.range[0]||k.fix.range[1]-p.fix.range[1]}function d(k,p){return k.line-p.line||k.column-p.column}function m(){Object.freeze(this)}const h=a(519)("eslint:source-code-fixer");m.applyFixes=function(k,p,l){function g(v){const z=v.fix,E=z.range[0],A=z.range[1];if(t>=E||E>A)return f.push(v),
!1;if(0>E&&0<=A||0===E&&z.text.startsWith("\ufeff"))r="";r+=q.slice(Math.max(0,t),Math.max(0,E));r+=z.text;t=A;return!0}h("Applying fixes");if(!1===l)return h("shouldFix parameter was false, not attempting fixes"),{fixed:!1,messages:p,output:k};const f=[],n=[],e=k.startsWith("\ufeff")?"\ufeff":"",q=e?k.slice(1):k;let t=Number.NEGATIVE_INFINITY,r=e;p.forEach(v=>{Object.prototype.hasOwnProperty.call(v,"fix")?n.push(v):f.push(v)});if(n.length){h("Found fixes to apply");k=!1;for(const v of n.sort(b))"function"!==
typeof l||l(v)?(g(v),k=!0):f.push(v);r+=q.slice(Math.max(0,t));return{fixed:k,messages:f.sort(d),output:r}}h("No fixes to apply");return{fixed:!1,messages:p,output:e+q}};u.exports=m},(u,c,a)=>{function b(f,n,e){return Array(n-f.length+1).join(e||" ")+f}function d(){if("string"!==typeof h.env.TIMING)return 10;if("all"===h.env.TIMING.toLowerCase())return Number.POSITIVE_INFINITY;const f=Number.parseInt(h.env.TIMING,10);return 10<f?f:10}function m(f){let n=0;var e=Object.keys(f).map(t=>{const r=f[t];
n+=r;return[t,r]}).sort((t,r)=>r[1]-t[1]).slice(0,d());e.forEach(t=>{t.push("".concat((100*t[1]/n).toFixed(1),"%"));t[1]=t[1].toFixed(3)});e.unshift(l);const q=[];e.forEach(t=>{const r=t.length;for(let v=0;v<r;v++){const z=t[v].length;if(!q[v]||z>q[v])q[v]=z}});e=e.map(t=>t.map((r,v)=>g[v](r,q[v])).join(" | "));e.splice(1,0,q.map((t,r)=>g[r](":",t+(0!==r&&r!==q.length-1?2:1),"-")).join("|"));k.log(e.join("\n"))}var h=a(418),k=a(423);const p=!!h.env.TIMING,l=["Rule","Time (ms)","Relative"],g=[function(f,
n,e){return f+Array(n-f.length+1).join(e||" ")},b,b];u.exports=function(){const f=Object.create(null);if(p)h.on("exit",()=>{m(f)});return{time:function(n,e){"undefined"===typeof f[n]&&(f[n]=0);return function(...q){let t=h.hrtime();e(...q);t=h.hrtime(t);f[n]+=1E3*t[0]+t[1]/1E6}},enabled:p,getListSize:d}}()},u=>{u.exports=JSON.parse('{"rules":{"generator-star":["generator-star-spacing"],"global-strict":["strict"],"no-arrow-condition":["no-confusing-arrow","no-constant-condition"],"no-comma-dangle":["comma-dangle"],"no-empty-class":["no-empty-character-class"],"no-empty-label":["no-labels"],"no-extra-strict":["strict"],"no-reserved-keys":["quote-props"],"no-space-before-semi":["semi-spacing"],"no-wrap-func":["no-extra-parens"],"space-after-function-name":["space-before-function-paren"],"space-after-keywords":["keyword-spacing"],"space-before-function-parentheses":["space-before-function-paren"],"space-before-keywords":["keyword-spacing"],"space-in-brackets":["object-curly-spacing","array-bracket-spacing","computed-property-spacing"],"space-return-throw-case":["keyword-spacing"],"space-unary-word-ops":["space-unary-ops"],"spaced-line-comment":["spaced-comment"]}}')}],
Bb={};(()=>{vb.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||(new Function("return this"))()}catch(u){if("object"===typeof window)return window}}()})();(()=>{vb.o=(u,c)=>Object.prototype.hasOwnProperty.call(u,c)})();(()=>{vb.nmd=u=>{u.paths=[];u.children||(u.children=[]);return u}})();vb(0);vb(415);return vb(416)})()});
