vzcode 1.32.0 → 1.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,136 +0,0 @@
1
- var BP=Object.defineProperty;var D0=kt=>{throw TypeError(kt)};var LP=(kt,Pt,wt)=>Pt in kt?BP(kt,Pt,{enumerable:!0,configurable:!0,writable:!0,value:wt}):kt[Pt]=wt;var St=(kt,Pt,wt)=>LP(kt,typeof Pt!="symbol"?Pt+"":Pt,wt),Pp=(kt,Pt,wt)=>Pt.has(kt)||D0("Cannot "+wt);var Tt=(kt,Pt,wt)=>(Pp(kt,Pt,"read from private field"),wt?wt.call(kt):Pt.get(kt)),Xt=(kt,Pt,wt)=>Pt.has(kt)?D0("Cannot add the same private member more than once"):Pt instanceof WeakSet?Pt.add(kt):Pt.set(kt,wt),hr=(kt,Pt,wt,Xr)=>(Pp(kt,Pt,"write to private field"),Xr?Xr.call(kt,wt):Pt.set(kt,wt),wt),xr=(kt,Pt,wt)=>(Pp(kt,Pt,"access private method"),wt);(function(){"use strict";if(!kt)var kt=globalThis||window;function Pt(a){return a&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var wt=typeof kt<"u"?kt:typeof self<"u"?self:typeof window<"u"?window:{};function Xr(){throw new Error("setTimeout has not been defined")}function Bp(){throw new Error("clearTimeout has not been defined")}var Cr=Xr,wr=Bp;typeof wt.setTimeout=="function"&&(Cr=setTimeout),typeof wt.clearTimeout=="function"&&(wr=clearTimeout);function Lp(a){if(Cr===setTimeout)return setTimeout(a,0);if((Cr===Xr||!Cr)&&setTimeout)return Cr=setTimeout,setTimeout(a,0);try{return Cr(a,0)}catch{try{return Cr.call(null,a,0)}catch{return Cr.call(this,a,0)}}}function F0(a){if(wr===clearTimeout)return clearTimeout(a);if((wr===Bp||!wr)&&clearTimeout)return wr=clearTimeout,clearTimeout(a);try{return wr(a)}catch{try{return wr.call(null,a)}catch{return wr.call(this,a)}}}var dr=[],qr=!1,kr,vn=-1;function R0(){!qr||!kr||(qr=!1,kr.length?dr=kr.concat(dr):vn=-1,dr.length&&Op())}function Op(){if(!qr){var a=Lp(R0);qr=!0;for(var e=dr.length;e;){for(kr=dr,dr=[];++vn<e;)kr&&kr[vn].run();vn=-1,e=dr.length}kr=null,qr=!1,F0(a)}}function _0(a){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];dr.push(new Np(a,e)),dr.length===1&&!qr&&Lp(Op)}function Np(a,e){this.fun=a,this.array=e}Np.prototype.run=function(){this.fun.apply(null,this.array)};var B0="browser",L0="browser",O0=!0,N0={},j0=[],M0="",U0={},q0={},V0={};function Dr(){}var $0=Dr,W0=Dr,G0=Dr,z0=Dr,H0=Dr,K0=Dr,X0=Dr;function J0(a){throw new Error("process.binding is not supported")}function Y0(){return"/"}function Q0(a){throw new Error("process.chdir is not supported")}function Z0(){return 0}var Vr=wt.performance||{},ex=Vr.now||Vr.mozNow||Vr.msNow||Vr.oNow||Vr.webkitNow||function(){return new Date().getTime()};function tx(a){var e=ex.call(Vr)*.001,n=Math.floor(e),o=Math.floor(e%1*1e9);return a&&(n=n-a[0],o=o-a[1],o<0&&(n--,o+=1e9)),[n,o]}var rx=new Date;function nx(){var a=new Date,e=a-rx;return e/1e3}var Mt={nextTick:_0,title:B0,browser:O0,env:N0,argv:j0,version:M0,versions:U0,on:$0,addListener:W0,once:G0,off:z0,removeListener:H0,removeAllListeners:K0,emit:X0,binding:J0,cwd:Y0,chdir:Q0,umask:Z0,hrtime:tx,platform:L0,release:q0,config:V0,uptime:nx};function jp(a,e){for(var n=0,o=a.length-1;o>=0;o--){var t=a[o];t==="."?a.splice(o,1):t===".."?(a.splice(o,1),n++):n&&(a.splice(o,1),n--)}if(e)for(;n--;n)a.unshift("..");return a}var sx=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,$n=function(a){return sx.exec(a).slice(1)};function En(){for(var a="",e=!1,n=arguments.length-1;n>=-1&&!e;n--){var o=n>=0?arguments[n]:"/";if(typeof o!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!o)continue;a=o+"/"+a,e=o.charAt(0)==="/"}return a=jp(zn(a.split("/"),function(t){return!!t}),!e).join("/"),(e?"/":"")+a||"."}function Wn(a){var e=Gn(a),n=ix(a,-1)==="/";return a=jp(zn(a.split("/"),function(o){return!!o}),!e).join("/"),!a&&!e&&(a="."),a&&n&&(a+="/"),(e?"/":"")+a}function Gn(a){return a.charAt(0)==="/"}function Mp(){var a=Array.prototype.slice.call(arguments,0);return Wn(zn(a,function(e,n){if(typeof e!="string")throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))}function Up(a,e){a=En(a).substr(1),e=En(e).substr(1);function n(h){for(var i=0;i<h.length&&h[i]==="";i++);for(var f=h.length-1;f>=0&&h[f]==="";f--);return i>f?[]:h.slice(i,f-i+1)}for(var o=n(a.split("/")),t=n(e.split("/")),c=Math.min(o.length,t.length),p=c,u=0;u<c;u++)if(o[u]!==t[u]){p=u;break}for(var r=[],u=p;u<o.length;u++)r.push("..");return r=r.concat(t.slice(p)),r.join("/")}var qp="/",Vp=":";function $p(a){var e=$n(a),n=e[0],o=e[1];return!n&&!o?".":(o&&(o=o.substr(0,o.length-1)),n+o)}function Wp(a,e){var n=$n(a)[2];return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n}function Gp(a){return $n(a)[3]}var ax={extname:Gp,basename:Wp,dirname:$p,sep:qp,delimiter:Vp,relative:Up,join:Mp,isAbsolute:Gn,normalize:Wn,resolve:En};function zn(a,e){if(a.filter)return a.filter(e);for(var n=[],o=0;o<a.length;o++)e(a[o],o,a)&&n.push(a[o]);return n}var ix="ab".substr(-1)==="b"?function(a,e,n){return a.substr(e,n)}:function(a,e,n){return e<0&&(e=a.length+e),a.substr(e,n)},ox=Object.freeze({__proto__:null,basename:Wp,default:ax,delimiter:Vp,dirname:$p,extname:Gp,isAbsolute:Gn,join:Mp,normalize:Wn,relative:Up,resolve:En,sep:qp}),Sn=Pt(ox),Qt={},Hn={},zp;function Hp(){return zp||(zp=1,function(a){(function e(n){var o,t,c,p,u,r;function h(w){var E={},k,x;for(k in w)w.hasOwnProperty(k)&&(x=w[k],typeof x=="object"&&x!==null?E[k]=h(x):E[k]=x);return E}function i(w,E){var k,x,A,I;for(x=w.length,A=0;x;)k=x>>>1,I=A+k,E(w[I])?x=k:(A=I+1,x-=k+1);return A}o={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",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",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"},c={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"],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"]},p={},u={},r={},t={Break:p,Skip:u,Remove:r};function f(w,E){this.parent=w,this.key=E}f.prototype.replace=function(E){this.parent[this.key]=E},f.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function m(w,E,k,x){this.node=w,this.path=E,this.wrap=k,this.ref=x}function s(){}s.prototype.path=function(){var E,k,x,A,I,B;function M(P,D){if(Array.isArray(D))for(x=0,A=D.length;x<A;++x)P.push(D[x]);else P.push(D)}if(!this.__current.path)return null;for(I=[],E=2,k=this.__leavelist.length;E<k;++E)B=this.__leavelist[E],M(I,B.path);return M(I,this.__current.path),I},s.prototype.type=function(){var w=this.current();return w.type||this.__current.wrap},s.prototype.parents=function(){var E,k,x;for(x=[],E=1,k=this.__leavelist.length;E<k;++E)x.push(this.__leavelist[E].node);return x},s.prototype.current=function(){return this.__current.node},s.prototype.__execute=function(E,k){var x,A;return A=void 0,x=this.__current,this.__current=k,this.__state=null,E&&(A=E.call(this,k.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=x,A},s.prototype.notify=function(E){this.__state=E},s.prototype.skip=function(){this.notify(u)},s.prototype.break=function(){this.notify(p)},s.prototype.remove=function(){this.notify(r)},s.prototype.__initialize=function(w,E){this.visitor=E,this.root=w,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,E.fallback==="iteration"?this.__fallback=Object.keys:typeof E.fallback=="function"&&(this.__fallback=E.fallback),this.__keys=c,E.keys&&(this.__keys=Object.assign(Object.create(this.__keys),E.keys))};function l(w){return w==null?!1:typeof w=="object"&&typeof w.type=="string"}function d(w,E){return(w===o.ObjectExpression||w===o.ObjectPattern)&&E==="properties"}function g(w,E){for(var k=w.length-1;k>=0;--k)if(w[k].node===E)return!0;return!1}s.prototype.traverse=function(E,k){var x,A,I,B,M,P,D,R,N,q,L,W;for(this.__initialize(E,k),W={},x=this.__worklist,A=this.__leavelist,x.push(new m(E,null,null,null)),A.push(new m(null,null,null,null));x.length;){if(I=x.pop(),I===W){if(I=A.pop(),P=this.__execute(k.leave,I),this.__state===p||P===p)return;continue}if(I.node){if(P=this.__execute(k.enter,I),this.__state===p||P===p)return;if(x.push(W),A.push(I),this.__state===u||P===u)continue;if(B=I.node,M=B.type||I.wrap,q=this.__keys[M],!q)if(this.__fallback)q=this.__fallback(B);else throw new Error("Unknown node type "+M+".");for(R=q.length;(R-=1)>=0;)if(D=q[R],L=B[D],!!L){if(Array.isArray(L)){for(N=L.length;(N-=1)>=0;)if(L[N]&&!g(A,L[N])){if(d(M,q[R]))I=new m(L[N],[D,N],"Property",null);else if(l(L[N]))I=new m(L[N],[D,N],null,null);else continue;x.push(I)}}else if(l(L)){if(g(A,L))continue;x.push(new m(L,D,null,null))}}}}},s.prototype.replace=function(E,k){var x,A,I,B,M,P,D,R,N,q,L,W,_;function H(K){var re,te,xe,Y;if(K.ref.remove()){for(te=K.ref.key,Y=K.ref.parent,re=x.length;re--;)if(xe=x[re],xe.ref&&xe.ref.parent===Y){if(xe.ref.key<te)break;--xe.ref.key}}}for(this.__initialize(E,k),L={},x=this.__worklist,A=this.__leavelist,W={root:E},P=new m(E,null,null,new f(W,"root")),x.push(P),A.push(P);x.length;){if(P=x.pop(),P===L){if(P=A.pop(),M=this.__execute(k.leave,P),M!==void 0&&M!==p&&M!==u&&M!==r&&P.ref.replace(M),(this.__state===r||M===r)&&H(P),this.__state===p||M===p)return W.root;continue}if(M=this.__execute(k.enter,P),M!==void 0&&M!==p&&M!==u&&M!==r&&(P.ref.replace(M),P.node=M),(this.__state===r||M===r)&&(H(P),P.node=null),this.__state===p||M===p)return W.root;if(I=P.node,!!I&&(x.push(L),A.push(P),!(this.__state===u||M===u))){if(B=I.type||P.wrap,N=this.__keys[B],!N)if(this.__fallback)N=this.__fallback(I);else throw new Error("Unknown node type "+B+".");for(D=N.length;(D-=1)>=0;)if(_=N[D],q=I[_],!!q)if(Array.isArray(q)){for(R=q.length;(R-=1)>=0;)if(q[R]){if(d(B,N[D]))P=new m(q[R],[_,R],"Property",new f(q,R));else if(l(q[R]))P=new m(q[R],[_,R],null,new f(q,R));else continue;x.push(P)}}else l(q)&&x.push(new m(q,_,null,new f(I,_)))}}return W.root};function v(w,E){var k=new s;return k.traverse(w,E)}function S(w,E){var k=new s;return k.replace(w,E)}function b(w,E){var k;return k=i(E,function(A){return A.range[0]>w.range[0]}),w.extendedRange=[w.range[0],w.range[1]],k!==E.length&&(w.extendedRange[1]=E[k].range[0]),k-=1,k>=0&&(w.extendedRange[0]=E[k].range[1]),w}function C(w,E,k){var x=[],A,I,B,M;if(!w.range)throw new Error("attachComments needs range information");if(!k.length){if(E.length){for(B=0,I=E.length;B<I;B+=1)A=h(E[B]),A.extendedRange=[0,w.range[0]],x.push(A);w.leadingComments=x}return w}for(B=0,I=E.length;B<I;B+=1)x.push(b(h(E[B]),k));return M=0,v(w,{enter:function(P){for(var D;M<x.length&&(D=x[M],!(D.extendedRange[1]>P.range[0]));)D.extendedRange[1]===P.range[0]?(P.leadingComments||(P.leadingComments=[]),P.leadingComments.push(D),x.splice(M,1)):M+=1;if(M===x.length)return t.Break;if(x[M].extendedRange[0]>P.range[1])return t.Skip}}),M=0,v(w,{leave:function(P){for(var D;M<x.length&&(D=x[M],!(P.range[1]<D.extendedRange[0]));)P.range[1]===D.extendedRange[0]?(P.trailingComments||(P.trailingComments=[]),P.trailingComments.push(D),x.splice(M,1)):M+=1;if(M===x.length)return t.Break;if(x[M].extendedRange[0]>P.range[1])return t.Skip}}),w}return n.Syntax=o,n.traverse=v,n.replace=S,n.attachComments=C,n.VisitorKeys=c,n.VisitorOption=t,n.Controller=s,n.cloneEnvironment=function(){return e({})},n})(a)}(Hn)),Hn}var Jr={},lx="4.3.0",ux={version:lx},Kp;function cx(){return Kp||(Kp=1,function(){var a=Hp();function e(t){return t==null?!1:typeof t=="object"&&typeof t.type=="string"}function n(t,c){return(t===a.Syntax.ObjectExpression||t===a.Syntax.ObjectPattern)&&c==="properties"}function o(t,c){c=c||{},this.__visitor=t||this,this.__childVisitorKeys=c.childVisitorKeys?Object.assign({},a.VisitorKeys,c.childVisitorKeys):a.VisitorKeys,c.fallback==="iteration"?this.__fallback=Object.keys:typeof c.fallback=="function"&&(this.__fallback=c.fallback)}o.prototype.visitChildren=function(t){var c,p,u,r,h,i,f;if(t!=null){if(c=t.type||a.Syntax.Property,p=this.__childVisitorKeys[c],!p)if(this.__fallback)p=this.__fallback(t);else throw new Error("Unknown node type "+c+".");for(u=0,r=p.length;u<r;++u)if(f=t[p[u]],f)if(Array.isArray(f))for(h=0,i=f.length;h<i;++h)f[h]&&(e(f[h])||n(c,p[u]))&&this.visit(f[h]);else e(f)&&this.visit(f)}},o.prototype.visit=function(t){var c;if(t!=null){if(c=t.type||a.Syntax.Property,this.__visitor[c]){this.__visitor[c].call(this,t);return}this.visitChildren(t)}},Jr.version=ux.version,Jr.Visitor=o,Jr.visit=function(t,c,p){var u=new o(c,p);u.visit(t)}}()),Jr}var Xp;function Kn(){if(Xp)return Qt;Xp=1,Object.defineProperty(Qt,"__esModule",{value:!0});var a=Hp(),e=cx();function n(Y){return Y&&typeof Y=="object"&&"default"in Y?Y:{default:Y}}var o=n(a),t=n(e);function c(Y,F="Assertion failed."){if(!Y)throw new Error(F)}const p=1,u=2,r=p|u;class h{constructor(F,z,ne,ae,be,Pe,Ie){this.identifier=F,this.from=z,this.tainted=!1,this.resolved=null,this.flag=ne,this.isWrite()&&(this.writeExpr=ae,this.partial=Pe,this.init=Ie),this.__maybeImplicitGlobal=be}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&h.WRITE)}isRead(){return!!(this.flag&h.READ)}isReadOnly(){return this.flag===h.READ}isWriteOnly(){return this.flag===h.WRITE}isReadWrite(){return this.flag===h.RW}}h.READ=p,h.WRITE=u,h.RW=r;class i{constructor(F,z){this.name=F,this.identifiers=[],this.references=[],this.defs=[],this.tainted=!1,this.stack=!0,this.scope=z}}i.CatchClause="CatchClause",i.Parameter="Parameter",i.FunctionName="FunctionName",i.ClassName="ClassName",i.Variable="Variable",i.ImportBinding="ImportBinding",i.ImplicitGlobalVariable="ImplicitGlobalVariable";class f{constructor(F,z,ne,ae,be,Pe){this.type=F,this.name=z,this.node=ne,this.parent=ae,this.index=be,this.kind=Pe}}class m extends f{constructor(F,z,ne,ae){super(i.Parameter,F,z,null,ne,null),this.rest=ae}}const{Syntax:s}=o.default;function l(Y,F,z){let ne;if(Y.upper&&Y.upper.isStrict||z||Y.type==="class"||Y.type==="module")return!0;if(Y.type==="block"||Y.type==="switch")return!1;if(Y.type==="function"){if(F.type===s.ArrowFunctionExpression&&F.body.type!==s.BlockStatement||(F.type===s.Program?ne=F:ne=F.body,!ne))return!1}else if(Y.type==="global")ne=F;else return!1;for(let ae=0,be=ne.body.length;ae<be;++ae){const Pe=ne.body[ae];if(typeof Pe.directive!="string")break;if(Pe.directive==="use strict")return!0}return!1}function d(Y,F){Y.scopes.push(F);const z=Y.__nodeToScope.get(F.block);z?z.push(F):Y.__nodeToScope.set(F.block,[F])}function g(Y){return Y.type===i.ClassName||Y.type===i.Variable&&Y.parent.kind!=="var"}class v{constructor(F,z,ne,ae,be){this.type=z,this.set=new Map,this.taints=new Map,this.dynamic=this.type==="global"||this.type==="with",this.block=ae,this.through=[],this.variables=[],this.references=[],this.variableScope=this.type==="global"||this.type==="module"||this.type==="function"||this.type==="class-field-initializer"||this.type==="class-static-block"?this:ne.variableScope,this.functionExpressionScope=!1,this.directCallToEvalScope=!1,this.thisFound=!1,this.__left=[],this.upper=ne,this.isStrict=F.isStrictModeSupported()?l(this,ae,be):!1,this.childScopes=[],this.upper&&this.upper.childScopes.push(this),this.__declaredVariables=F.__declaredVariables,d(F,this)}__shouldStaticallyClose(F){return!this.dynamic||F.__isOptimistic()}__shouldStaticallyCloseForGlobal(F){const z=F.identifier.name;if(!this.set.has(z))return!1;const ae=this.set.get(z).defs;return ae.length>0&&ae.every(g)}__staticCloseRef(F){this.__resolve(F)||this.__delegateToUpperScope(F)}__dynamicCloseRef(F){let z=this;do z.through.push(F),z=z.upper;while(z)}__globalCloseRef(F){this.__shouldStaticallyCloseForGlobal(F)?this.__staticCloseRef(F):this.__dynamicCloseRef(F)}__close(F){let z;this.__shouldStaticallyClose(F)?z=this.__staticCloseRef:this.type!=="global"?z=this.__dynamicCloseRef:z=this.__globalCloseRef;for(let ne=0,ae=this.__left.length;ne<ae;++ne){const be=this.__left[ne];z.call(this,be)}return this.__left=null,this.upper}__isValidResolution(F,z){return!0}__resolve(F){const z=F.identifier.name;if(!this.set.has(z))return!1;const ne=this.set.get(z);return this.__isValidResolution(F,ne)?(ne.references.push(F),ne.stack=ne.stack&&F.from.variableScope===this.variableScope,F.tainted&&(ne.tainted=!0,this.taints.set(ne.name,!0)),F.resolved=ne,!0):!1}__delegateToUpperScope(F){this.upper&&this.upper.__left.push(F),this.through.push(F)}__addDeclaredVariablesOfNode(F,z){if(z==null)return;let ne=this.__declaredVariables.get(z);ne==null&&(ne=[],this.__declaredVariables.set(z,ne)),ne.includes(F)||ne.push(F)}__defineGeneric(F,z,ne,ae,be){let Pe;Pe=z.get(F),Pe||(Pe=new i(F,this),z.set(F,Pe),ne.push(Pe)),be&&(Pe.defs.push(be),this.__addDeclaredVariablesOfNode(Pe,be.node),this.__addDeclaredVariablesOfNode(Pe,be.parent)),ae&&Pe.identifiers.push(ae)}__define(F,z){F&&F.type===s.Identifier&&this.__defineGeneric(F.name,this.set,this.variables,F,z)}__referencing(F,z,ne,ae,be,Pe){if(!F||F.type!==s.Identifier&&F.type!=="JSXIdentifier"||F.name==="super")return;const Ie=new h(F,this,z||h.READ,ne,ae,!!be,!!Pe);this.references.push(Ie),this.__left.push(Ie)}__detectEval(){let F=this;this.directCallToEvalScope=!0;do F.dynamic=!0,F=F.upper;while(F)}__detectThis(){this.thisFound=!0}__isClosed(){return this.__left===null}resolve(F){let z,ne,ae;for(c(this.__isClosed(),"Scope should be closed."),c(F.type===s.Identifier,"Target should be identifier."),ne=0,ae=this.references.length;ne<ae;++ne)if(z=this.references[ne],z.identifier===F)return z;return null}isStatic(){return!this.dynamic}isArgumentsMaterialized(){return!0}isThisMaterialized(){return!0}isUsedName(F){if(this.set.has(F))return!0;for(let z=0,ne=this.through.length;z<ne;++z)if(this.through[z].identifier.name===F)return!0;return!1}}class S extends v{constructor(F,z){super(F,"global",null,z,!1),this.implicit={set:new Map,variables:[],left:[]}}__close(F){const z=[];for(let ne=0,ae=this.__left.length;ne<ae;++ne){const be=this.__left[ne];be.__maybeImplicitGlobal&&!this.set.has(be.identifier.name)&&z.push(be.__maybeImplicitGlobal)}for(let ne=0,ae=z.length;ne<ae;++ne){const be=z[ne];this.__defineImplicit(be.pattern,new f(i.ImplicitGlobalVariable,be.pattern,be.node,null,null,null))}return this.implicit.left=this.__left,super.__close(F)}__defineImplicit(F,z){F&&F.type===s.Identifier&&this.__defineGeneric(F.name,this.implicit.set,this.implicit.variables,F,z)}}class b extends v{constructor(F,z,ne){super(F,"module",z,ne,!1)}}class C extends v{constructor(F,z,ne){super(F,"function-expression-name",z,ne,!1),this.__define(ne.id,new f(i.FunctionName,ne.id,ne,null,null,null)),this.functionExpressionScope=!0}}class w extends v{constructor(F,z,ne){super(F,"catch",z,ne,!1)}}class E extends v{constructor(F,z,ne){super(F,"with",z,ne,!1)}__close(F){if(this.__shouldStaticallyClose(F))return super.__close(F);for(let z=0,ne=this.__left.length;z<ne;++z){const ae=this.__left[z];ae.tainted=!0,this.__delegateToUpperScope(ae)}return this.__left=null,this.upper}}class k extends v{constructor(F,z,ne){super(F,"block",z,ne,!1)}}class x extends v{constructor(F,z,ne){super(F,"switch",z,ne,!1)}}class A extends v{constructor(F,z,ne,ae){super(F,"function",z,ne,ae),this.block.type!==s.ArrowFunctionExpression&&this.__defineArguments()}isArgumentsMaterialized(){if(this.block.type===s.ArrowFunctionExpression)return!1;if(!this.isStatic())return!0;const F=this.set.get("arguments");return c(F,"Always have arguments variable."),F.tainted||F.references.length!==0}isThisMaterialized(){return this.isStatic()?this.thisFound:!0}__defineArguments(){this.__defineGeneric("arguments",this.set,this.variables,null,null),this.taints.set("arguments",!0)}__isValidResolution(F,z){if(this.block.type==="Program")return!0;const ne=this.block.body.range[0];return!(z.scope===this&&F.identifier.range[0]<ne&&z.defs.every(ae=>ae.name.range[0]>=ne))}}class I extends v{constructor(F,z,ne){super(F,"for",z,ne,!1)}}class B extends v{constructor(F,z,ne){super(F,"class",z,ne,!1)}}class M extends v{constructor(F,z,ne){super(F,"class-field-initializer",z,ne,!0)}}class P extends v{constructor(F,z,ne){super(F,"class-static-block",z,ne,!0)}}class D{constructor(F){this.scopes=[],this.globalScope=null,this.__nodeToScope=new WeakMap,this.__currentScope=null,this.__options=F,this.__declaredVariables=new WeakMap}__isOptimistic(){return this.__options.optimistic}__ignoreEval(){return this.__options.ignoreEval}__isJSXEnabled(){return this.__options.jsx===!0}isGlobalReturn(){return this.__options.nodejsScope||this.__options.sourceType==="commonjs"}isModule(){return this.__options.sourceType==="module"}isImpliedStrict(){return this.__options.impliedStrict}isStrictModeSupported(){return this.__options.ecmaVersion>=5}__get(F){return this.__nodeToScope.get(F)}getDeclaredVariables(F){return this.__declaredVariables.get(F)||[]}acquire(F,z){function ne(be){return!(be.type==="function"&&be.functionExpressionScope)}const ae=this.__get(F);if(!ae||ae.length===0)return null;if(ae.length===1)return ae[0];if(z)for(let be=ae.length-1;be>=0;--be){const Pe=ae[be];if(ne(Pe))return Pe}else for(let be=0,Pe=ae.length;be<Pe;++be){const Ie=ae[be];if(ne(Ie))return Ie}return null}acquireAll(F){return this.__get(F)}release(F,z){const ne=this.__get(F);if(ne&&ne.length){const ae=ne[0].upper;return ae?this.acquire(ae.block,z):null}return null}attach(){}detach(){}__nestScope(F){return F instanceof S&&(c(this.__currentScope===null),this.globalScope=F),this.__currentScope=F,F}__nestGlobalScope(F){return this.__nestScope(new S(this,F))}__nestBlockScope(F){return this.__nestScope(new k(this,this.__currentScope,F))}__nestFunctionScope(F,z){return this.__nestScope(new A(this,this.__currentScope,F,z))}__nestForScope(F){return this.__nestScope(new I(this,this.__currentScope,F))}__nestCatchScope(F){return this.__nestScope(new w(this,this.__currentScope,F))}__nestWithScope(F){return this.__nestScope(new E(this,this.__currentScope,F))}__nestClassScope(F){return this.__nestScope(new B(this,this.__currentScope,F))}__nestClassFieldInitializerScope(F){return this.__nestScope(new M(this,this.__currentScope,F))}__nestClassStaticBlockScope(F){return this.__nestScope(new P(this,this.__currentScope,F))}__nestSwitchScope(F){return this.__nestScope(new x(this,this.__currentScope,F))}__nestModuleScope(F){return this.__nestScope(new b(this,this.__currentScope,F))}__nestFunctionExpressionNameScope(F){return this.__nestScope(new C(this,this.__currentScope,F))}__isES6(){return this.__options.ecmaVersion>=6}}const{Syntax:R}=o.default;function N(Y){return Y.at(-1)||null}class q extends t.default.Visitor{static isPattern(F){const z=F.type;return z===R.Identifier||z===R.ObjectPattern||z===R.ArrayPattern||z===R.SpreadElement||z===R.RestElement||z===R.AssignmentPattern}constructor(F,z,ne){super(null,F),this.rootPattern=z,this.callback=ne,this.assignments=[],this.rightHandNodes=[],this.restElements=[]}Identifier(F){const z=N(this.restElements);this.callback(F,{topLevel:F===this.rootPattern,rest:z!=null&&z.argument===F,assignments:this.assignments})}Property(F){F.computed&&this.rightHandNodes.push(F.key),this.visit(F.value)}ArrayPattern(F){for(let z=0,ne=F.elements.length;z<ne;++z){const ae=F.elements[z];this.visit(ae)}}AssignmentPattern(F){this.assignments.push(F),this.visit(F.left),this.rightHandNodes.push(F.right),this.assignments.pop()}RestElement(F){this.restElements.push(F),this.visit(F.argument),this.restElements.pop()}MemberExpression(F){F.computed&&this.rightHandNodes.push(F.property),this.rightHandNodes.push(F.object)}SpreadElement(F){this.visit(F.argument)}ArrayExpression(F){F.elements.forEach(this.visit,this)}AssignmentExpression(F){this.assignments.push(F),this.visit(F.left),this.rightHandNodes.push(F.right),this.assignments.pop()}CallExpression(F){F.arguments.forEach(z=>{this.rightHandNodes.push(z)}),this.visit(F.callee)}}const{Syntax:L}=o.default;function W(Y,F,z,ne){const ae=new q(Y,F,ne);ae.visit(F),z!=null&&ae.rightHandNodes.forEach(z.visit,z)}class _ extends t.default.Visitor{constructor(F,z){super(null,z.options),this.declaration=F,this.referencer=z}visitImport(F,z){this.referencer.visitPattern(F,ne=>{this.referencer.currentScope().__define(ne,new f(i.ImportBinding,ne,z,this.declaration,null,null))})}ImportNamespaceSpecifier(F){const z=F.local||F.id;z&&this.visitImport(z,F)}ImportDefaultSpecifier(F){const z=F.local||F.id;this.visitImport(z,F)}ImportSpecifier(F){const z=F.local||F.id;F.name?this.visitImport(F.name,F):this.visitImport(z,F)}}class H extends t.default.Visitor{constructor(F,z){super(null,F),this.options=F,this.scopeManager=z,this.parent=null,this.isInnerMethodDefinition=!1}currentScope(){return this.scopeManager.__currentScope}close(F){for(;this.currentScope()&&F===this.currentScope().block;)this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}pushInnerMethodDefinition(F){const z=this.isInnerMethodDefinition;return this.isInnerMethodDefinition=F,z}popInnerMethodDefinition(F){this.isInnerMethodDefinition=F}referencingDefaultValue(F,z,ne,ae){const be=this.currentScope();z.forEach(Pe=>{be.__referencing(F,h.WRITE,Pe.right,ne,F!==Pe.left,ae)})}visitPattern(F,z,ne){let ae=z,be=ne;typeof z=="function"&&(be=z,ae={processRightHandNodes:!1}),W(this.options,F,ae.processRightHandNodes?this:null,be)}visitFunction(F){let z,ne;F.type===L.FunctionDeclaration&&this.currentScope().__define(F.id,new f(i.FunctionName,F.id,F,null,null,null)),F.type===L.FunctionExpression&&F.id&&this.scopeManager.__nestFunctionExpressionNameScope(F),this.scopeManager.__nestFunctionScope(F,this.isInnerMethodDefinition);const ae=this;function be(Pe,Ie){ae.currentScope().__define(Pe,new m(Pe,F,z,Ie.rest)),ae.referencingDefaultValue(Pe,Ie.assignments,null,!0)}for(z=0,ne=F.params.length;z<ne;++z)this.visitPattern(F.params[z],{processRightHandNodes:!0},be);F.rest&&this.visitPattern({type:"RestElement",argument:F.rest},Pe=>{this.currentScope().__define(Pe,new m(Pe,F,F.params.length,!0))}),F.body&&(F.body.type===L.BlockStatement?this.visitChildren(F.body):this.visit(F.body)),this.close(F)}visitClass(F){F.type===L.ClassDeclaration&&this.currentScope().__define(F.id,new f(i.ClassName,F.id,F,null,null,null)),this.scopeManager.__nestClassScope(F),F.id&&this.currentScope().__define(F.id,new f(i.ClassName,F.id,F)),this.visit(F.superClass),this.visit(F.body),this.close(F)}visitProperty(F){let z;F.computed&&this.visit(F.key);const ne=F.type===L.MethodDefinition;ne&&(z=this.pushInnerMethodDefinition(!0)),this.visit(F.value),ne&&this.popInnerMethodDefinition(z)}visitForIn(F){F.left.type===L.VariableDeclaration&&F.left.kind!=="var"&&this.scopeManager.__nestForScope(F),F.left.type===L.VariableDeclaration?(this.visit(F.left),this.visitPattern(F.left.declarations[0].id,z=>{this.currentScope().__referencing(z,h.WRITE,F.right,null,!0,!0)})):this.visitPattern(F.left,{processRightHandNodes:!0},(z,ne)=>{let ae=null;this.currentScope().isStrict||(ae={pattern:z,node:F}),this.referencingDefaultValue(z,ne.assignments,ae,!1),this.currentScope().__referencing(z,h.WRITE,F.right,ae,!0,!1)}),this.visit(F.right),this.visit(F.body),this.close(F)}visitVariableDeclaration(F,z,ne,ae){const be=ne.declarations[ae],Pe=be.init;this.visitPattern(be.id,{processRightHandNodes:!0},(Ie,ue)=>{F.__define(Ie,new f(z,Ie,be,ne,ae,ne.kind)),this.referencingDefaultValue(Ie,ue.assignments,null,!0),Pe&&this.currentScope().__referencing(Ie,h.WRITE,Pe,null,!ue.topLevel,!0)})}AssignmentExpression(F){q.isPattern(F.left)?F.operator==="="?this.visitPattern(F.left,{processRightHandNodes:!0},(z,ne)=>{let ae=null;this.currentScope().isStrict||(ae={pattern:z,node:F}),this.referencingDefaultValue(z,ne.assignments,ae,!1),this.currentScope().__referencing(z,h.WRITE,F.right,ae,!ne.topLevel,!1)}):this.currentScope().__referencing(F.left,h.RW,F.right):this.visit(F.left),this.visit(F.right)}CatchClause(F){this.scopeManager.__nestCatchScope(F),this.visitPattern(F.param,{processRightHandNodes:!0},(z,ne)=>{this.currentScope().__define(z,new f(i.CatchClause,z,F,null,null,null)),this.referencingDefaultValue(z,ne.assignments,null,!0)}),this.visit(F.body),this.close(F)}Program(F){this.scopeManager.__nestGlobalScope(F),this.scopeManager.isGlobalReturn()&&(this.currentScope().isStrict=!1,this.scopeManager.__nestFunctionScope(F,!1)),this.scopeManager.__isES6()&&this.scopeManager.isModule()&&this.scopeManager.__nestModuleScope(F),this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()&&(this.currentScope().isStrict=!0),this.visitChildren(F),this.close(F)}Identifier(F){this.currentScope().__referencing(F)}PrivateIdentifier(){}UpdateExpression(F){q.isPattern(F.argument)?this.currentScope().__referencing(F.argument,h.RW,null):this.visitChildren(F)}MemberExpression(F){this.visit(F.object),F.computed&&this.visit(F.property)}Property(F){this.visitProperty(F)}PropertyDefinition(F){const{computed:z,key:ne,value:ae}=F;z&&this.visit(ne),ae&&(this.scopeManager.__nestClassFieldInitializerScope(ae),this.visit(ae),this.close(ae))}StaticBlock(F){this.scopeManager.__nestClassStaticBlockScope(F),this.visitChildren(F),this.close(F)}MethodDefinition(F){this.visitProperty(F)}BreakStatement(){}ContinueStatement(){}LabeledStatement(F){this.visit(F.body)}ForStatement(F){F.init&&F.init.type===L.VariableDeclaration&&F.init.kind!=="var"&&this.scopeManager.__nestForScope(F),this.visitChildren(F),this.close(F)}ClassExpression(F){this.visitClass(F)}ClassDeclaration(F){this.visitClass(F)}CallExpression(F){!this.scopeManager.__ignoreEval()&&F.callee.type===L.Identifier&&F.callee.name==="eval"&&this.currentScope().variableScope.__detectEval(),this.visitChildren(F)}BlockStatement(F){this.scopeManager.__isES6()&&this.scopeManager.__nestBlockScope(F),this.visitChildren(F),this.close(F)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(F){this.visit(F.object),this.scopeManager.__nestWithScope(F),this.visit(F.body),this.close(F)}VariableDeclaration(F){const z=F.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let ne=0,ae=F.declarations.length;ne<ae;++ne){const be=F.declarations[ne];this.visitVariableDeclaration(z,i.Variable,F,ne),be.init&&this.visit(be.init)}}SwitchStatement(F){this.visit(F.discriminant),this.scopeManager.__isES6()&&this.scopeManager.__nestSwitchScope(F);for(let z=0,ne=F.cases.length;z<ne;++z)this.visit(F.cases[z]);this.close(F)}FunctionDeclaration(F){this.visitFunction(F)}FunctionExpression(F){this.visitFunction(F)}ForOfStatement(F){this.visitForIn(F)}ForInStatement(F){this.visitForIn(F)}ArrowFunctionExpression(F){this.visitFunction(F)}ImportDeclaration(F){c(this.scopeManager.__isES6()&&this.scopeManager.isModule(),"ImportDeclaration should appear when the mode is ES6 and in the module context."),new _(F,this).visit(F)}visitExportDeclaration(F){if(!F.source){if(F.declaration){this.visit(F.declaration);return}this.visitChildren(F)}}ExportDeclaration(F){this.visitExportDeclaration(F)}ExportAllDeclaration(F){this.visitExportDeclaration(F)}ExportDefaultDeclaration(F){this.visitExportDeclaration(F)}ExportNamedDeclaration(F){this.visitExportDeclaration(F)}ExportSpecifier(F){const z=F.id||F.local;this.visit(z)}MetaProperty(){}JSXIdentifier(F){this.scopeManager.__isJSXEnabled()&&F.name!=="this"&&this.currentScope().__referencing(F)}JSXMemberExpression(F){this.visit(F.object)}JSXElement(F){this.scopeManager.__isJSXEnabled()?(this.visit(F.openingElement),F.children.forEach(this.visit,this)):this.visitChildren(F)}JSXOpeningElement(F){if(this.scopeManager.__isJSXEnabled()){const z=F.name;(z.type==="JSXIdentifier"&&z.name[0].toUpperCase()===z.name[0]||z.type==="JSXMemberExpression")&&this.visit(z)}F.attributes.forEach(this.visit,this)}JSXAttribute(F){F.value&&this.visit(F.value)}JSXExpressionContainer(F){this.visit(F.expression)}JSXNamespacedName(F){this.visit(F.namespace),this.visit(F.name)}}const K="8.3.0";function re(){return{optimistic:!1,nodejsScope:!1,impliedStrict:!1,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function te(Y,F){function z(ne){return typeof ne=="object"&&ne instanceof Object&&!(ne instanceof Array)&&!(ne instanceof RegExp)}for(const ne in F)if(Object.hasOwn(F,ne)){const ae=F[ne];z(ae)?z(Y[ne])?te(Y[ne],ae):Y[ne]=te({},ae):Y[ne]=ae}return Y}function xe(Y,F){const z=te(re(),F),ne=new D(z);return new H(z,ne).visit(Y),c(ne.__currentScope===null,"currentScope should be null."),ne}return Qt.Definition=f,Qt.PatternVisitor=q,Qt.Reference=h,Qt.Referencer=H,Qt.Scope=v,Qt.ScopeManager=D,Qt.Variable=i,Qt.analyze=xe,Qt.version=K,Qt}var Yr={},Jp;function Qr(){if(Jp)return Yr;Jp=1;const a={ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],AwaitExpression:["argument"],BinaryExpression:["left","right"],BlockStatement:["body"],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:[],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ExportAllDeclaration:["exported","source","attributes"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportAttribute:["key","value"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportExpression:["source","options"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXClosingFragment:[],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXFragment:["openingFragment","children","closingFragment"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes"],JSXOpeningFragment:[],JSXSpreadAttribute:["argument"],JSXSpreadChild:["expression"],JSXText:[],LabeledStatement:["label","body"],Literal:[],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"],StaticBlock:["body"],Super:[],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],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"]},e=Object.keys(a);for(const p of e)Object.freeze(a[p]);Object.freeze(a);const n=new Set(["parent","leadingComments","trailingComments"]);function o(p){return!n.has(p)&&p[0]!=="_"}function t(p){return Object.keys(p).filter(o)}function c(p){const u=Object.assign({},a);for(const r of Object.keys(p))if(Object.hasOwn(u,r)){const h=new Set(p[r]);for(const i of u[r])h.add(i);u[r]=Object.freeze(Array.from(h))}else u[r]=Object.freeze(Array.from(p[r]));return Object.freeze(u)}return Yr.KEYS=a,Yr.getKeys=t,Yr.unionWith=c,Yr}var tr={},bn={exports:{}},Yp;function Xn(){return Yp||(Yp=1,function(a,e){(function(n,o){o(e)})(this,function(n){var o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,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,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],t=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],c="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",p="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",u={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"},r="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",h={5:r,"5module":r+" export import",6:r+" const class extends export import super"},i=/^in(stanceof)?$/,f=new RegExp("["+p+"]"),m=new RegExp("["+p+c+"]");function s(y,T){for(var U=65536,X=0;X<T.length;X+=2){if(U+=T[X],U>y)return!1;if(U+=T[X+1],U>=y)return!0}return!1}function l(y,T){return y<65?y===36:y<91?!0:y<97?y===95:y<123?!0:y<=65535?y>=170&&f.test(String.fromCharCode(y)):T===!1?!1:s(y,t)}function d(y,T){return y<48?y===36:y<58?!0:y<65?!1:y<91?!0:y<97?y===95:y<123?!0:y<=65535?y>=170&&m.test(String.fromCharCode(y)):T===!1?!1:s(y,t)||s(y,o)}var g=function(T,U){U===void 0&&(U={}),this.label=T,this.keyword=U.keyword,this.beforeExpr=!!U.beforeExpr,this.startsExpr=!!U.startsExpr,this.isLoop=!!U.isLoop,this.isAssign=!!U.isAssign,this.prefix=!!U.prefix,this.postfix=!!U.postfix,this.binop=U.binop||null,this.updateContext=null};function v(y,T){return new g(y,{beforeExpr:!0,binop:T})}var S={beforeExpr:!0},b={startsExpr:!0},C={};function w(y,T){return T===void 0&&(T={}),T.keyword=y,C[y]=new g(y,T)}var E={num:new g("num",b),regexp:new g("regexp",b),string:new g("string",b),name:new g("name",b),privateId:new g("privateId",b),eof:new g("eof"),bracketL:new g("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new g("]"),braceL:new g("{",{beforeExpr:!0,startsExpr:!0}),braceR:new g("}"),parenL:new g("(",{beforeExpr:!0,startsExpr:!0}),parenR:new g(")"),comma:new g(",",S),semi:new g(";",S),colon:new g(":",S),dot:new g("."),question:new g("?",S),questionDot:new g("?."),arrow:new g("=>",S),template:new g("template"),invalidTemplate:new g("invalidTemplate"),ellipsis:new g("...",S),backQuote:new g("`",b),dollarBraceL:new g("${",{beforeExpr:!0,startsExpr:!0}),eq:new g("=",{beforeExpr:!0,isAssign:!0}),assign:new g("_=",{beforeExpr:!0,isAssign:!0}),incDec:new g("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new g("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:v("||",1),logicalAND:v("&&",2),bitwiseOR:v("|",3),bitwiseXOR:v("^",4),bitwiseAND:v("&",5),equality:v("==/!=/===/!==",6),relational:v("</>/<=/>=",7),bitShift:v("<</>>/>>>",8),plusMin:new g("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:v("%",10),star:v("*",10),slash:v("/",10),starstar:new g("**",{beforeExpr:!0}),coalesce:v("??",1),_break:w("break"),_case:w("case",S),_catch:w("catch"),_continue:w("continue"),_debugger:w("debugger"),_default:w("default",S),_do:w("do",{isLoop:!0,beforeExpr:!0}),_else:w("else",S),_finally:w("finally"),_for:w("for",{isLoop:!0}),_function:w("function",b),_if:w("if"),_return:w("return",S),_switch:w("switch"),_throw:w("throw",S),_try:w("try"),_var:w("var"),_const:w("const"),_while:w("while",{isLoop:!0}),_with:w("with"),_new:w("new",{beforeExpr:!0,startsExpr:!0}),_this:w("this",b),_super:w("super",b),_class:w("class",b),_extends:w("extends",S),_export:w("export"),_import:w("import",b),_null:w("null",b),_true:w("true",b),_false:w("false",b),_in:w("in",{beforeExpr:!0,binop:7}),_instanceof:w("instanceof",{beforeExpr:!0,binop:7}),_typeof:w("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:w("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:w("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},k=/\r\n?|\n|\u2028|\u2029/,x=new RegExp(k.source,"g");function A(y){return y===10||y===13||y===8232||y===8233}function I(y,T,U){U===void 0&&(U=y.length);for(var X=T;X<U;X++){var pe=y.charCodeAt(X);if(A(pe))return X<U-1&&pe===13&&y.charCodeAt(X+1)===10?X+2:X+1}return-1}var B=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,M=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,P=Object.prototype,D=P.hasOwnProperty,R=P.toString,N=Object.hasOwn||function(y,T){return D.call(y,T)},q=Array.isArray||function(y){return R.call(y)==="[object Array]"},L=Object.create(null);function W(y){return L[y]||(L[y]=new RegExp("^(?:"+y.replace(/ /g,"|")+")$"))}function _(y){return y<=65535?String.fromCharCode(y):(y-=65536,String.fromCharCode((y>>10)+55296,(y&1023)+56320))}var H=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,K=function(T,U){this.line=T,this.column=U};K.prototype.offset=function(T){return new K(this.line,this.column+T)};var re=function(T,U,X){this.start=U,this.end=X,T.sourceFile!==null&&(this.source=T.sourceFile)};function te(y,T){for(var U=1,X=0;;){var pe=I(y,X,T);if(pe<0)return new K(U,T-X);++U,X=pe}}var xe={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Y=!1;function F(y){var T={};for(var U in xe)T[U]=y&&N(y,U)?y[U]:xe[U];if(T.ecmaVersion==="latest"?T.ecmaVersion=1e8:T.ecmaVersion==null?(!Y&&typeof console=="object"&&console.warn&&(Y=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
2
- Defaulting to 2020, but this will stop working in the future.`)),T.ecmaVersion=11):T.ecmaVersion>=2015&&(T.ecmaVersion-=2009),T.allowReserved==null&&(T.allowReserved=T.ecmaVersion<5),(!y||y.allowHashBang==null)&&(T.allowHashBang=T.ecmaVersion>=14),q(T.onToken)){var X=T.onToken;T.onToken=function(pe){return X.push(pe)}}return q(T.onComment)&&(T.onComment=z(T,T.onComment)),T}function z(y,T){return function(U,X,pe,Ue,ze,ot){var ct={type:U?"Block":"Line",value:X,start:pe,end:Ue};y.locations&&(ct.loc=new re(this,ze,ot)),y.ranges&&(ct.range=[pe,Ue]),T.push(ct)}}var ne=1,ae=2,be=4,Pe=8,Ie=16,ue=32,ve=64,G=128,J=256,Te=ne|ae|J;function $(y,T){return ae|(y?be:0)|(T?Pe:0)}var se=0,De=1,Le=2,Fe=3,V=4,et=5,nt=function(T,U,X){this.options=T=F(T),this.sourceFile=T.sourceFile,this.keywords=W(h[T.ecmaVersion>=6?6:T.sourceType==="module"?"5module":5]);var pe="";T.allowReserved!==!0&&(pe=u[T.ecmaVersion>=6?6:T.ecmaVersion===5?5:3],T.sourceType==="module"&&(pe+=" await")),this.reservedWords=W(pe);var Ue=(pe?pe+" ":"")+u.strict;this.reservedWordsStrict=W(Ue),this.reservedWordsStrictBind=W(Ue+" "+u.strictBind),this.input=String(U),this.containsEsc=!1,X?(this.pos=X,this.lineStart=this.input.lastIndexOf(`
3
- `,X-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(k).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=E.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.inModule=T.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&T.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(ne),this.regexpState=null,this.privateNameStack=[]},lt={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}};nt.prototype.parse=function(){var T=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(T)},lt.inFunction.get=function(){return(this.currentVarScope().flags&ae)>0},lt.inGenerator.get=function(){return(this.currentVarScope().flags&Pe)>0&&!this.currentVarScope().inClassFieldInit},lt.inAsync.get=function(){return(this.currentVarScope().flags&be)>0&&!this.currentVarScope().inClassFieldInit},lt.canAwait.get=function(){for(var y=this.scopeStack.length-1;y>=0;y--){var T=this.scopeStack[y];if(T.inClassFieldInit||T.flags&J)return!1;if(T.flags&ae)return(T.flags&be)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},lt.allowSuper.get=function(){var y=this.currentThisScope(),T=y.flags,U=y.inClassFieldInit;return(T&ve)>0||U||this.options.allowSuperOutsideMethod},lt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&G)>0},lt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},lt.allowNewDotTarget.get=function(){var y=this.currentThisScope(),T=y.flags,U=y.inClassFieldInit;return(T&(ae|J))>0||U},lt.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&J)>0},nt.extend=function(){for(var T=[],U=arguments.length;U--;)T[U]=arguments[U];for(var X=this,pe=0;pe<T.length;pe++)X=T[pe](X);return X},nt.parse=function(T,U){return new this(U,T).parse()},nt.parseExpressionAt=function(T,U,X){var pe=new this(X,T,U);return pe.nextToken(),pe.parseExpression()},nt.tokenizer=function(T,U){return new this(U,T)},Object.defineProperties(nt.prototype,lt);var Qe=nt.prototype,Xe=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;Qe.strictDirective=function(y){if(this.options.ecmaVersion<5)return!1;for(;;){M.lastIndex=y,y+=M.exec(this.input)[0].length;var T=Xe.exec(this.input.slice(y));if(!T)return!1;if((T[1]||T[2])==="use strict"){M.lastIndex=y+T[0].length;var U=M.exec(this.input),X=U.index+U[0].length,pe=this.input.charAt(X);return pe===";"||pe==="}"||k.test(U[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(pe)||pe==="!"&&this.input.charAt(X+1)==="=")}y+=T[0].length,M.lastIndex=y,y+=M.exec(this.input)[0].length,this.input[y]===";"&&y++}},Qe.eat=function(y){return this.type===y?(this.next(),!0):!1},Qe.isContextual=function(y){return this.type===E.name&&this.value===y&&!this.containsEsc},Qe.eatContextual=function(y){return this.isContextual(y)?(this.next(),!0):!1},Qe.expectContextual=function(y){this.eatContextual(y)||this.unexpected()},Qe.canInsertSemicolon=function(){return this.type===E.eof||this.type===E.braceR||k.test(this.input.slice(this.lastTokEnd,this.start))},Qe.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Qe.semicolon=function(){!this.eat(E.semi)&&!this.insertSemicolon()&&this.unexpected()},Qe.afterTrailingComma=function(y,T){if(this.type===y)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),T||this.next(),!0},Qe.expect=function(y){this.eat(y)||this.unexpected()},Qe.unexpected=function(y){this.raise(y??this.start,"Unexpected token")};var pt=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Qe.checkPatternErrors=function(y,T){if(y){y.trailingComma>-1&&this.raiseRecoverable(y.trailingComma,"Comma is not permitted after the rest element");var U=T?y.parenthesizedAssign:y.parenthesizedBind;U>-1&&this.raiseRecoverable(U,T?"Assigning to rvalue":"Parenthesized pattern")}},Qe.checkExpressionErrors=function(y,T){if(!y)return!1;var U=y.shorthandAssign,X=y.doubleProto;if(!T)return U>=0||X>=0;U>=0&&this.raise(U,"Shorthand property assignments are valid only in destructuring patterns"),X>=0&&this.raiseRecoverable(X,"Redefinition of __proto__ property")},Qe.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")},Qe.isSimpleAssignTarget=function(y){return y.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(y.expression):y.type==="Identifier"||y.type==="MemberExpression"};var tt=nt.prototype;tt.parseTopLevel=function(y){var T=Object.create(null);for(y.body||(y.body=[]);this.type!==E.eof;){var U=this.parseStatement(null,!0,T);y.body.push(U)}if(this.inModule)for(var X=0,pe=Object.keys(this.undefinedExports);X<pe.length;X+=1){var Ue=pe[X];this.raiseRecoverable(this.undefinedExports[Ue].start,"Export '"+Ue+"' is not defined")}return this.adaptDirectivePrologue(y.body),this.next(),y.sourceType=this.options.sourceType,this.finishNode(y,"Program")};var Dt={kind:"loop"},st={kind:"switch"};tt.isLet=function(y){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;M.lastIndex=this.pos;var T=M.exec(this.input),U=this.pos+T[0].length,X=this.input.charCodeAt(U);if(X===91||X===92)return!0;if(y)return!1;if(X===123||X>55295&&X<56320)return!0;if(l(X,!0)){for(var pe=U+1;d(X=this.input.charCodeAt(pe),!0);)++pe;if(X===92||X>55295&&X<56320)return!0;var Ue=this.input.slice(U,pe);if(!i.test(Ue))return!0}return!1},tt.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;M.lastIndex=this.pos;var y=M.exec(this.input),T=this.pos+y[0].length,U;return!k.test(this.input.slice(this.pos,T))&&this.input.slice(T,T+8)==="function"&&(T+8===this.input.length||!(d(U=this.input.charCodeAt(T+8))||U>55295&&U<56320))},tt.parseStatement=function(y,T,U){var X=this.type,pe=this.startNode(),Ue;switch(this.isLet(y)&&(X=E._var,Ue="let"),X){case E._break:case E._continue:return this.parseBreakContinueStatement(pe,X.keyword);case E._debugger:return this.parseDebuggerStatement(pe);case E._do:return this.parseDoStatement(pe);case E._for:return this.parseForStatement(pe);case E._function:return y&&(this.strict||y!=="if"&&y!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(pe,!1,!y);case E._class:return y&&this.unexpected(),this.parseClass(pe,!0);case E._if:return this.parseIfStatement(pe);case E._return:return this.parseReturnStatement(pe);case E._switch:return this.parseSwitchStatement(pe);case E._throw:return this.parseThrowStatement(pe);case E._try:return this.parseTryStatement(pe);case E._const:case E._var:return Ue=Ue||this.value,y&&Ue!=="var"&&this.unexpected(),this.parseVarStatement(pe,Ue);case E._while:return this.parseWhileStatement(pe);case E._with:return this.parseWithStatement(pe);case E.braceL:return this.parseBlock(!0,pe);case E.semi:return this.parseEmptyStatement(pe);case E._export:case E._import:if(this.options.ecmaVersion>10&&X===E._import){M.lastIndex=this.pos;var ze=M.exec(this.input),ot=this.pos+ze[0].length,ct=this.input.charCodeAt(ot);if(ct===40||ct===46)return this.parseExpressionStatement(pe,this.parseExpression())}return this.options.allowImportExportEverywhere||(T||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'")),X===E._import?this.parseImport(pe):this.parseExport(pe,U);default:if(this.isAsyncFunction())return y&&this.unexpected(),this.next(),this.parseFunctionStatement(pe,!0,!y);var Et=this.value,vt=this.parseExpression();return X===E.name&&vt.type==="Identifier"&&this.eat(E.colon)?this.parseLabeledStatement(pe,Et,vt,y):this.parseExpressionStatement(pe,vt)}},tt.parseBreakContinueStatement=function(y,T){var U=T==="break";this.next(),this.eat(E.semi)||this.insertSemicolon()?y.label=null:this.type!==E.name?this.unexpected():(y.label=this.parseIdent(),this.semicolon());for(var X=0;X<this.labels.length;++X){var pe=this.labels[X];if((y.label==null||pe.name===y.label.name)&&(pe.kind!=null&&(U||pe.kind==="loop")||y.label&&U))break}return X===this.labels.length&&this.raise(y.start,"Unsyntactic "+T),this.finishNode(y,U?"BreakStatement":"ContinueStatement")},tt.parseDebuggerStatement=function(y){return this.next(),this.semicolon(),this.finishNode(y,"DebuggerStatement")},tt.parseDoStatement=function(y){return this.next(),this.labels.push(Dt),y.body=this.parseStatement("do"),this.labels.pop(),this.expect(E._while),y.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(E.semi):this.semicolon(),this.finishNode(y,"DoWhileStatement")},tt.parseForStatement=function(y){this.next();var T=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Dt),this.enterScope(0),this.expect(E.parenL),this.type===E.semi)return T>-1&&this.unexpected(T),this.parseFor(y,null);var U=this.isLet();if(this.type===E._var||this.type===E._const||U){var X=this.startNode(),pe=U?"let":this.value;return this.next(),this.parseVar(X,!0,pe),this.finishNode(X,"VariableDeclaration"),(this.type===E._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&X.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===E._in?T>-1&&this.unexpected(T):y.await=T>-1),this.parseForIn(y,X)):(T>-1&&this.unexpected(T),this.parseFor(y,X))}var Ue=this.isContextual("let"),ze=!1,ot=this.containsEsc,ct=new pt,Et=this.start,vt=T>-1?this.parseExprSubscripts(ct,"await"):this.parseExpression(!0,ct);return this.type===E._in||(ze=this.options.ecmaVersion>=6&&this.isContextual("of"))?(T>-1?(this.type===E._in&&this.unexpected(T),y.await=!0):ze&&this.options.ecmaVersion>=8&&(vt.start===Et&&!ot&&vt.type==="Identifier"&&vt.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(y.await=!1)),Ue&&ze&&this.raise(vt.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(vt,!1,ct),this.checkLValPattern(vt),this.parseForIn(y,vt)):(this.checkExpressionErrors(ct,!0),T>-1&&this.unexpected(T),this.parseFor(y,vt))},tt.parseFunctionStatement=function(y,T,U){return this.next(),this.parseFunction(y,ge|(U?0:ye),!1,T)},tt.parseIfStatement=function(y){return this.next(),y.test=this.parseParenExpression(),y.consequent=this.parseStatement("if"),y.alternate=this.eat(E._else)?this.parseStatement("if"):null,this.finishNode(y,"IfStatement")},tt.parseReturnStatement=function(y){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(E.semi)||this.insertSemicolon()?y.argument=null:(y.argument=this.parseExpression(),this.semicolon()),this.finishNode(y,"ReturnStatement")},tt.parseSwitchStatement=function(y){this.next(),y.discriminant=this.parseParenExpression(),y.cases=[],this.expect(E.braceL),this.labels.push(st),this.enterScope(0);for(var T,U=!1;this.type!==E.braceR;)if(this.type===E._case||this.type===E._default){var X=this.type===E._case;T&&this.finishNode(T,"SwitchCase"),y.cases.push(T=this.startNode()),T.consequent=[],this.next(),X?T.test=this.parseExpression():(U&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),U=!0,T.test=null),this.expect(E.colon)}else T||this.unexpected(),T.consequent.push(this.parseStatement(null));return this.exitScope(),T&&this.finishNode(T,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(y,"SwitchStatement")},tt.parseThrowStatement=function(y){return this.next(),k.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),y.argument=this.parseExpression(),this.semicolon(),this.finishNode(y,"ThrowStatement")};var Ce=[];tt.parseCatchClauseParam=function(){var y=this.parseBindingAtom(),T=y.type==="Identifier";return this.enterScope(T?ue:0),this.checkLValPattern(y,T?V:Le),this.expect(E.parenR),y},tt.parseTryStatement=function(y){if(this.next(),y.block=this.parseBlock(),y.handler=null,this.type===E._catch){var T=this.startNode();this.next(),this.eat(E.parenL)?T.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),T.param=null,this.enterScope(0)),T.body=this.parseBlock(!1),this.exitScope(),y.handler=this.finishNode(T,"CatchClause")}return y.finalizer=this.eat(E._finally)?this.parseBlock():null,!y.handler&&!y.finalizer&&this.raise(y.start,"Missing catch or finally clause"),this.finishNode(y,"TryStatement")},tt.parseVarStatement=function(y,T,U){return this.next(),this.parseVar(y,!1,T,U),this.semicolon(),this.finishNode(y,"VariableDeclaration")},tt.parseWhileStatement=function(y){return this.next(),y.test=this.parseParenExpression(),this.labels.push(Dt),y.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(y,"WhileStatement")},tt.parseWithStatement=function(y){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),y.object=this.parseParenExpression(),y.body=this.parseStatement("with"),this.finishNode(y,"WithStatement")},tt.parseEmptyStatement=function(y){return this.next(),this.finishNode(y,"EmptyStatement")},tt.parseLabeledStatement=function(y,T,U,X){for(var pe=0,Ue=this.labels;pe<Ue.length;pe+=1){var ze=Ue[pe];ze.name===T&&this.raise(U.start,"Label '"+T+"' is already declared")}for(var ot=this.type.isLoop?"loop":this.type===E._switch?"switch":null,ct=this.labels.length-1;ct>=0;ct--){var Et=this.labels[ct];if(Et.statementStart===y.start)Et.statementStart=this.start,Et.kind=ot;else break}return this.labels.push({name:T,kind:ot,statementStart:this.start}),y.body=this.parseStatement(X?X.indexOf("label")===-1?X+"label":X:"label"),this.labels.pop(),y.label=U,this.finishNode(y,"LabeledStatement")},tt.parseExpressionStatement=function(y,T){return y.expression=T,this.semicolon(),this.finishNode(y,"ExpressionStatement")},tt.parseBlock=function(y,T,U){for(y===void 0&&(y=!0),T===void 0&&(T=this.startNode()),T.body=[],this.expect(E.braceL),y&&this.enterScope(0);this.type!==E.braceR;){var X=this.parseStatement(null);T.body.push(X)}return U&&(this.strict=!1),this.next(),y&&this.exitScope(),this.finishNode(T,"BlockStatement")},tt.parseFor=function(y,T){return y.init=T,this.expect(E.semi),y.test=this.type===E.semi?null:this.parseExpression(),this.expect(E.semi),y.update=this.type===E.parenR?null:this.parseExpression(),this.expect(E.parenR),y.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(y,"ForStatement")},tt.parseForIn=function(y,T){var U=this.type===E._in;return this.next(),T.type==="VariableDeclaration"&&T.declarations[0].init!=null&&(!U||this.options.ecmaVersion<8||this.strict||T.kind!=="var"||T.declarations[0].id.type!=="Identifier")&&this.raise(T.start,(U?"for-in":"for-of")+" loop variable declaration may not have an initializer"),y.left=T,y.right=U?this.parseExpression():this.parseMaybeAssign(),this.expect(E.parenR),y.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(y,U?"ForInStatement":"ForOfStatement")},tt.parseVar=function(y,T,U,X){for(y.declarations=[],y.kind=U;;){var pe=this.startNode();if(this.parseVarId(pe,U),this.eat(E.eq)?pe.init=this.parseMaybeAssign(T):!X&&U==="const"&&!(this.type===E._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!X&&pe.id.type!=="Identifier"&&!(T&&(this.type===E._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):pe.init=null,y.declarations.push(this.finishNode(pe,"VariableDeclarator")),!this.eat(E.comma))break}return y},tt.parseVarId=function(y,T){y.id=this.parseBindingAtom(),this.checkLValPattern(y.id,T==="var"?De:Le,!1)};var ge=1,ye=2,Re=4;tt.parseFunction=function(y,T,U,X,pe){this.initFunction(y),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!X)&&(this.type===E.star&&T&ye&&this.unexpected(),y.generator=this.eat(E.star)),this.options.ecmaVersion>=8&&(y.async=!!X),T&ge&&(y.id=T&Re&&this.type!==E.name?null:this.parseIdent(),y.id&&!(T&ye)&&this.checkLValSimple(y.id,this.strict||y.generator||y.async?this.treatFunctionsAsVar?De:Le:Fe));var Ue=this.yieldPos,ze=this.awaitPos,ot=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope($(y.async,y.generator)),T&ge||(y.id=this.type===E.name?this.parseIdent():null),this.parseFunctionParams(y),this.parseFunctionBody(y,U,!1,pe),this.yieldPos=Ue,this.awaitPos=ze,this.awaitIdentPos=ot,this.finishNode(y,T&ge?"FunctionDeclaration":"FunctionExpression")},tt.parseFunctionParams=function(y){this.expect(E.parenL),y.params=this.parseBindingList(E.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},tt.parseClass=function(y,T){this.next();var U=this.strict;this.strict=!0,this.parseClassId(y,T),this.parseClassSuper(y);var X=this.enterClassBody(),pe=this.startNode(),Ue=!1;for(pe.body=[],this.expect(E.braceL);this.type!==E.braceR;){var ze=this.parseClassElement(y.superClass!==null);ze&&(pe.body.push(ze),ze.type==="MethodDefinition"&&ze.kind==="constructor"?(Ue&&this.raiseRecoverable(ze.start,"Duplicate constructor in the same class"),Ue=!0):ze.key&&ze.key.type==="PrivateIdentifier"&&We(X,ze)&&this.raiseRecoverable(ze.key.start,"Identifier '#"+ze.key.name+"' has already been declared"))}return this.strict=U,this.next(),y.body=this.finishNode(pe,"ClassBody"),this.exitClassBody(),this.finishNode(y,T?"ClassDeclaration":"ClassExpression")},tt.parseClassElement=function(y){if(this.eat(E.semi))return null;var T=this.options.ecmaVersion,U=this.startNode(),X="",pe=!1,Ue=!1,ze="method",ot=!1;if(this.eatContextual("static")){if(T>=13&&this.eat(E.braceL))return this.parseClassStaticBlock(U),U;this.isClassElementNameStart()||this.type===E.star?ot=!0:X="static"}if(U.static=ot,!X&&T>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===E.star)&&!this.canInsertSemicolon()?Ue=!0:X="async"),!X&&(T>=9||!Ue)&&this.eat(E.star)&&(pe=!0),!X&&!Ue&&!pe){var ct=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?ze=ct:X=ct)}if(X?(U.computed=!1,U.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),U.key.name=X,this.finishNode(U.key,"Identifier")):this.parseClassElementName(U),T<13||this.type===E.parenL||ze!=="method"||pe||Ue){var Et=!U.static&&ce(U,"constructor"),vt=Et&&y;Et&&ze!=="method"&&this.raise(U.key.start,"Constructor can't have get/set modifier"),U.kind=Et?"constructor":ze,this.parseClassMethod(U,pe,Ue,vt)}else this.parseClassField(U);return U},tt.isClassElementNameStart=function(){return this.type===E.name||this.type===E.privateId||this.type===E.num||this.type===E.string||this.type===E.bracketL||this.type.keyword},tt.parseClassElementName=function(y){this.type===E.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),y.computed=!1,y.key=this.parsePrivateIdent()):this.parsePropertyName(y)},tt.parseClassMethod=function(y,T,U,X){var pe=y.key;y.kind==="constructor"?(T&&this.raise(pe.start,"Constructor can't be a generator"),U&&this.raise(pe.start,"Constructor can't be an async method")):y.static&&ce(y,"prototype")&&this.raise(pe.start,"Classes may not have a static property named prototype");var Ue=y.value=this.parseMethod(T,U,X);return y.kind==="get"&&Ue.params.length!==0&&this.raiseRecoverable(Ue.start,"getter should have no params"),y.kind==="set"&&Ue.params.length!==1&&this.raiseRecoverable(Ue.start,"setter should have exactly one param"),y.kind==="set"&&Ue.params[0].type==="RestElement"&&this.raiseRecoverable(Ue.params[0].start,"Setter cannot use rest params"),this.finishNode(y,"MethodDefinition")},tt.parseClassField=function(y){if(ce(y,"constructor")?this.raise(y.key.start,"Classes can't have a field named 'constructor'"):y.static&&ce(y,"prototype")&&this.raise(y.key.start,"Classes can't have a static field named 'prototype'"),this.eat(E.eq)){var T=this.currentThisScope(),U=T.inClassFieldInit;T.inClassFieldInit=!0,y.value=this.parseMaybeAssign(),T.inClassFieldInit=U}else y.value=null;return this.semicolon(),this.finishNode(y,"PropertyDefinition")},tt.parseClassStaticBlock=function(y){y.body=[];var T=this.labels;for(this.labels=[],this.enterScope(J|ve);this.type!==E.braceR;){var U=this.parseStatement(null);y.body.push(U)}return this.next(),this.exitScope(),this.labels=T,this.finishNode(y,"StaticBlock")},tt.parseClassId=function(y,T){this.type===E.name?(y.id=this.parseIdent(),T&&this.checkLValSimple(y.id,Le,!1)):(T===!0&&this.unexpected(),y.id=null)},tt.parseClassSuper=function(y){y.superClass=this.eat(E._extends)?this.parseExprSubscripts(null,!1):null},tt.enterClassBody=function(){var y={declared:Object.create(null),used:[]};return this.privateNameStack.push(y),y.declared},tt.exitClassBody=function(){var y=this.privateNameStack.pop(),T=y.declared,U=y.used;if(this.options.checkPrivateFields)for(var X=this.privateNameStack.length,pe=X===0?null:this.privateNameStack[X-1],Ue=0;Ue<U.length;++Ue){var ze=U[Ue];N(T,ze.name)||(pe?pe.used.push(ze):this.raiseRecoverable(ze.start,"Private field '#"+ze.name+"' must be declared in an enclosing class"))}};function We(y,T){var U=T.key.name,X=y[U],pe="true";return T.type==="MethodDefinition"&&(T.kind==="get"||T.kind==="set")&&(pe=(T.static?"s":"i")+T.kind),X==="iget"&&pe==="iset"||X==="iset"&&pe==="iget"||X==="sget"&&pe==="sset"||X==="sset"&&pe==="sget"?(y[U]="true",!1):X?!0:(y[U]=pe,!1)}function ce(y,T){var U=y.computed,X=y.key;return!U&&(X.type==="Identifier"&&X.name===T||X.type==="Literal"&&X.value===T)}tt.parseExportAllDeclaration=function(y,T){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(y.exported=this.parseModuleExportName(),this.checkExport(T,y.exported,this.lastTokStart)):y.exported=null),this.expectContextual("from"),this.type!==E.string&&this.unexpected(),y.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(y.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(y,"ExportAllDeclaration")},tt.parseExport=function(y,T){if(this.next(),this.eat(E.star))return this.parseExportAllDeclaration(y,T);if(this.eat(E._default))return this.checkExport(T,"default",this.lastTokStart),y.declaration=this.parseExportDefaultDeclaration(),this.finishNode(y,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())y.declaration=this.parseExportDeclaration(y),y.declaration.type==="VariableDeclaration"?this.checkVariableExport(T,y.declaration.declarations):this.checkExport(T,y.declaration.id,y.declaration.id.start),y.specifiers=[],y.source=null;else{if(y.declaration=null,y.specifiers=this.parseExportSpecifiers(T),this.eatContextual("from"))this.type!==E.string&&this.unexpected(),y.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(y.attributes=this.parseWithClause());else{for(var U=0,X=y.specifiers;U<X.length;U+=1){var pe=X[U];this.checkUnreserved(pe.local),this.checkLocalExport(pe.local),pe.local.type==="Literal"&&this.raise(pe.local.start,"A string literal cannot be used as an exported binding without `from`.")}y.source=null}this.semicolon()}return this.finishNode(y,"ExportNamedDeclaration")},tt.parseExportDeclaration=function(y){return this.parseStatement(null)},tt.parseExportDefaultDeclaration=function(){var y;if(this.type===E._function||(y=this.isAsyncFunction())){var T=this.startNode();return this.next(),y&&this.next(),this.parseFunction(T,ge|Re,!1,y)}else if(this.type===E._class){var U=this.startNode();return this.parseClass(U,"nullableID")}else{var X=this.parseMaybeAssign();return this.semicolon(),X}},tt.checkExport=function(y,T,U){y&&(typeof T!="string"&&(T=T.type==="Identifier"?T.name:T.value),N(y,T)&&this.raiseRecoverable(U,"Duplicate export '"+T+"'"),y[T]=!0)},tt.checkPatternExport=function(y,T){var U=T.type;if(U==="Identifier")this.checkExport(y,T,T.start);else if(U==="ObjectPattern")for(var X=0,pe=T.properties;X<pe.length;X+=1){var Ue=pe[X];this.checkPatternExport(y,Ue)}else if(U==="ArrayPattern")for(var ze=0,ot=T.elements;ze<ot.length;ze+=1){var ct=ot[ze];ct&&this.checkPatternExport(y,ct)}else U==="Property"?this.checkPatternExport(y,T.value):U==="AssignmentPattern"?this.checkPatternExport(y,T.left):U==="RestElement"&&this.checkPatternExport(y,T.argument)},tt.checkVariableExport=function(y,T){if(y)for(var U=0,X=T;U<X.length;U+=1){var pe=X[U];this.checkPatternExport(y,pe.id)}},tt.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},tt.parseExportSpecifier=function(y){var T=this.startNode();return T.local=this.parseModuleExportName(),T.exported=this.eatContextual("as")?this.parseModuleExportName():T.local,this.checkExport(y,T.exported,T.exported.start),this.finishNode(T,"ExportSpecifier")},tt.parseExportSpecifiers=function(y){var T=[],U=!0;for(this.expect(E.braceL);!this.eat(E.braceR);){if(U)U=!1;else if(this.expect(E.comma),this.afterTrailingComma(E.braceR))break;T.push(this.parseExportSpecifier(y))}return T},tt.parseImport=function(y){return this.next(),this.type===E.string?(y.specifiers=Ce,y.source=this.parseExprAtom()):(y.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),y.source=this.type===E.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(y.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(y,"ImportDeclaration")},tt.parseImportSpecifier=function(){var y=this.startNode();return y.imported=this.parseModuleExportName(),this.eatContextual("as")?y.local=this.parseIdent():(this.checkUnreserved(y.imported),y.local=y.imported),this.checkLValSimple(y.local,Le),this.finishNode(y,"ImportSpecifier")},tt.parseImportDefaultSpecifier=function(){var y=this.startNode();return y.local=this.parseIdent(),this.checkLValSimple(y.local,Le),this.finishNode(y,"ImportDefaultSpecifier")},tt.parseImportNamespaceSpecifier=function(){var y=this.startNode();return this.next(),this.expectContextual("as"),y.local=this.parseIdent(),this.checkLValSimple(y.local,Le),this.finishNode(y,"ImportNamespaceSpecifier")},tt.parseImportSpecifiers=function(){var y=[],T=!0;if(this.type===E.name&&(y.push(this.parseImportDefaultSpecifier()),!this.eat(E.comma)))return y;if(this.type===E.star)return y.push(this.parseImportNamespaceSpecifier()),y;for(this.expect(E.braceL);!this.eat(E.braceR);){if(T)T=!1;else if(this.expect(E.comma),this.afterTrailingComma(E.braceR))break;y.push(this.parseImportSpecifier())}return y},tt.parseWithClause=function(){var y=[];if(!this.eat(E._with))return y;this.expect(E.braceL);for(var T={},U=!0;!this.eat(E.braceR);){if(U)U=!1;else if(this.expect(E.comma),this.afterTrailingComma(E.braceR))break;var X=this.parseImportAttribute(),pe=X.key.type==="Identifier"?X.key.name:X.key.value;N(T,pe)&&this.raiseRecoverable(X.key.start,"Duplicate attribute key '"+pe+"'"),T[pe]=!0,y.push(X)}return y},tt.parseImportAttribute=function(){var y=this.startNode();return y.key=this.type===E.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(E.colon),this.type!==E.string&&this.unexpected(),y.value=this.parseExprAtom(),this.finishNode(y,"ImportAttribute")},tt.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===E.string){var y=this.parseLiteral(this.value);return H.test(y.value)&&this.raise(y.start,"An export name cannot include a lone surrogate."),y}return this.parseIdent(!0)},tt.adaptDirectivePrologue=function(y){for(var T=0;T<y.length&&this.isDirectiveCandidate(y[T]);++T)y[T].directive=y[T].expression.raw.slice(1,-1)},tt.isDirectiveCandidate=function(y){return this.options.ecmaVersion>=5&&y.type==="ExpressionStatement"&&y.expression.type==="Literal"&&typeof y.expression.value=="string"&&(this.input[y.start]==='"'||this.input[y.start]==="'")};var de=nt.prototype;de.toAssignable=function(y,T,U){if(this.options.ecmaVersion>=6&&y)switch(y.type){case"Identifier":this.inAsync&&y.name==="await"&&this.raise(y.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":y.type="ObjectPattern",U&&this.checkPatternErrors(U,!0);for(var X=0,pe=y.properties;X<pe.length;X+=1){var Ue=pe[X];this.toAssignable(Ue,T),Ue.type==="RestElement"&&(Ue.argument.type==="ArrayPattern"||Ue.argument.type==="ObjectPattern")&&this.raise(Ue.argument.start,"Unexpected token")}break;case"Property":y.kind!=="init"&&this.raise(y.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(y.value,T);break;case"ArrayExpression":y.type="ArrayPattern",U&&this.checkPatternErrors(U,!0),this.toAssignableList(y.elements,T);break;case"SpreadElement":y.type="RestElement",this.toAssignable(y.argument,T),y.argument.type==="AssignmentPattern"&&this.raise(y.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":y.operator!=="="&&this.raise(y.left.end,"Only '=' operator can be used for specifying default value."),y.type="AssignmentPattern",delete y.operator,this.toAssignable(y.left,T);break;case"ParenthesizedExpression":this.toAssignable(y.expression,T,U);break;case"ChainExpression":this.raiseRecoverable(y.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!T)break;default:this.raise(y.start,"Assigning to rvalue")}else U&&this.checkPatternErrors(U,!0);return y},de.toAssignableList=function(y,T){for(var U=y.length,X=0;X<U;X++){var pe=y[X];pe&&this.toAssignable(pe,T)}if(U){var Ue=y[U-1];this.options.ecmaVersion===6&&T&&Ue&&Ue.type==="RestElement"&&Ue.argument.type!=="Identifier"&&this.unexpected(Ue.argument.start)}return y},de.parseSpread=function(y){var T=this.startNode();return this.next(),T.argument=this.parseMaybeAssign(!1,y),this.finishNode(T,"SpreadElement")},de.parseRestBinding=function(){var y=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==E.name&&this.unexpected(),y.argument=this.parseBindingAtom(),this.finishNode(y,"RestElement")},de.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case E.bracketL:var y=this.startNode();return this.next(),y.elements=this.parseBindingList(E.bracketR,!0,!0),this.finishNode(y,"ArrayPattern");case E.braceL:return this.parseObj(!0)}return this.parseIdent()},de.parseBindingList=function(y,T,U,X){for(var pe=[],Ue=!0;!this.eat(y);)if(Ue?Ue=!1:this.expect(E.comma),T&&this.type===E.comma)pe.push(null);else{if(U&&this.afterTrailingComma(y))break;if(this.type===E.ellipsis){var ze=this.parseRestBinding();this.parseBindingListItem(ze),pe.push(ze),this.type===E.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(y);break}else pe.push(this.parseAssignableListItem(X))}return pe},de.parseAssignableListItem=function(y){var T=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(T),T},de.parseBindingListItem=function(y){return y},de.parseMaybeDefault=function(y,T,U){if(U=U||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(E.eq))return U;var X=this.startNodeAt(y,T);return X.left=U,X.right=this.parseMaybeAssign(),this.finishNode(X,"AssignmentPattern")},de.checkLValSimple=function(y,T,U){T===void 0&&(T=se);var X=T!==se;switch(y.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(y.name)&&this.raiseRecoverable(y.start,(X?"Binding ":"Assigning to ")+y.name+" in strict mode"),X&&(T===Le&&y.name==="let"&&this.raiseRecoverable(y.start,"let is disallowed as a lexically bound name"),U&&(N(U,y.name)&&this.raiseRecoverable(y.start,"Argument name clash"),U[y.name]=!0),T!==et&&this.declareName(y.name,T,y.start));break;case"ChainExpression":this.raiseRecoverable(y.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":X&&this.raiseRecoverable(y.start,"Binding member expression");break;case"ParenthesizedExpression":return X&&this.raiseRecoverable(y.start,"Binding parenthesized expression"),this.checkLValSimple(y.expression,T,U);default:this.raise(y.start,(X?"Binding":"Assigning to")+" rvalue")}},de.checkLValPattern=function(y,T,U){switch(T===void 0&&(T=se),y.type){case"ObjectPattern":for(var X=0,pe=y.properties;X<pe.length;X+=1){var Ue=pe[X];this.checkLValInnerPattern(Ue,T,U)}break;case"ArrayPattern":for(var ze=0,ot=y.elements;ze<ot.length;ze+=1){var ct=ot[ze];ct&&this.checkLValInnerPattern(ct,T,U)}break;default:this.checkLValSimple(y,T,U)}},de.checkLValInnerPattern=function(y,T,U){switch(T===void 0&&(T=se),y.type){case"Property":this.checkLValInnerPattern(y.value,T,U);break;case"AssignmentPattern":this.checkLValPattern(y.left,T,U);break;case"RestElement":this.checkLValPattern(y.argument,T,U);break;default:this.checkLValPattern(y,T,U)}};var he=function(T,U,X,pe,Ue){this.token=T,this.isExpr=!!U,this.preserveSpace=!!X,this.override=pe,this.generator=!!Ue},ke={b_stat:new he("{",!1),b_expr:new he("{",!0),b_tmpl:new he("${",!1),p_stat:new he("(",!1),p_expr:new he("(",!0),q_tmpl:new he("`",!0,!0,function(y){return y.tryReadTemplateToken()}),f_stat:new he("function",!1),f_expr:new he("function",!0),f_expr_gen:new he("function",!0,!1,null,!0),f_gen:new he("function",!1,!1,null,!0)},$e=nt.prototype;$e.initialContext=function(){return[ke.b_stat]},$e.curContext=function(){return this.context[this.context.length-1]},$e.braceIsBlock=function(y){var T=this.curContext();return T===ke.f_expr||T===ke.f_stat?!0:y===E.colon&&(T===ke.b_stat||T===ke.b_expr)?!T.isExpr:y===E._return||y===E.name&&this.exprAllowed?k.test(this.input.slice(this.lastTokEnd,this.start)):y===E._else||y===E.semi||y===E.eof||y===E.parenR||y===E.arrow?!0:y===E.braceL?T===ke.b_stat:y===E._var||y===E._const||y===E.name?!1:!this.exprAllowed},$e.inGeneratorContext=function(){for(var y=this.context.length-1;y>=1;y--){var T=this.context[y];if(T.token==="function")return T.generator}return!1},$e.updateContext=function(y){var T,U=this.type;U.keyword&&y===E.dot?this.exprAllowed=!1:(T=U.updateContext)?T.call(this,y):this.exprAllowed=U.beforeExpr},$e.overrideContext=function(y){this.curContext()!==y&&(this.context[this.context.length-1]=y)},E.parenR.updateContext=E.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var y=this.context.pop();y===ke.b_stat&&this.curContext().token==="function"&&(y=this.context.pop()),this.exprAllowed=!y.isExpr},E.braceL.updateContext=function(y){this.context.push(this.braceIsBlock(y)?ke.b_stat:ke.b_expr),this.exprAllowed=!0},E.dollarBraceL.updateContext=function(){this.context.push(ke.b_tmpl),this.exprAllowed=!0},E.parenL.updateContext=function(y){var T=y===E._if||y===E._for||y===E._with||y===E._while;this.context.push(T?ke.p_stat:ke.p_expr),this.exprAllowed=!0},E.incDec.updateContext=function(){},E._function.updateContext=E._class.updateContext=function(y){y.beforeExpr&&y!==E._else&&!(y===E.semi&&this.curContext()!==ke.p_stat)&&!(y===E._return&&k.test(this.input.slice(this.lastTokEnd,this.start)))&&!((y===E.colon||y===E.braceL)&&this.curContext()===ke.b_stat)?this.context.push(ke.f_expr):this.context.push(ke.f_stat),this.exprAllowed=!1},E.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},E.backQuote.updateContext=function(){this.curContext()===ke.q_tmpl?this.context.pop():this.context.push(ke.q_tmpl),this.exprAllowed=!1},E.star.updateContext=function(y){if(y===E._function){var T=this.context.length-1;this.context[T]===ke.f_expr?this.context[T]=ke.f_expr_gen:this.context[T]=ke.f_gen}this.exprAllowed=!0},E.name.updateContext=function(y){var T=!1;this.options.ecmaVersion>=6&&y!==E.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(T=!0),this.exprAllowed=T};var Ee=nt.prototype;Ee.checkPropClash=function(y,T,U){if(!(this.options.ecmaVersion>=9&&y.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(y.computed||y.method||y.shorthand))){var X=y.key,pe;switch(X.type){case"Identifier":pe=X.name;break;case"Literal":pe=String(X.value);break;default:return}var Ue=y.kind;if(this.options.ecmaVersion>=6){pe==="__proto__"&&Ue==="init"&&(T.proto&&(U?U.doubleProto<0&&(U.doubleProto=X.start):this.raiseRecoverable(X.start,"Redefinition of __proto__ property")),T.proto=!0);return}pe="$"+pe;var ze=T[pe];if(ze){var ot;Ue==="init"?ot=this.strict&&ze.init||ze.get||ze.set:ot=ze.init||ze[Ue],ot&&this.raiseRecoverable(X.start,"Redefinition of property")}else ze=T[pe]={init:!1,get:!1,set:!1};ze[Ue]=!0}},Ee.parseExpression=function(y,T){var U=this.start,X=this.startLoc,pe=this.parseMaybeAssign(y,T);if(this.type===E.comma){var Ue=this.startNodeAt(U,X);for(Ue.expressions=[pe];this.eat(E.comma);)Ue.expressions.push(this.parseMaybeAssign(y,T));return this.finishNode(Ue,"SequenceExpression")}return pe},Ee.parseMaybeAssign=function(y,T,U){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(y);this.exprAllowed=!1}var X=!1,pe=-1,Ue=-1,ze=-1;T?(pe=T.parenthesizedAssign,Ue=T.trailingComma,ze=T.doubleProto,T.parenthesizedAssign=T.trailingComma=-1):(T=new pt,X=!0);var ot=this.start,ct=this.startLoc;(this.type===E.parenL||this.type===E.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=y==="await");var Et=this.parseMaybeConditional(y,T);if(U&&(Et=U.call(this,Et,ot,ct)),this.type.isAssign){var vt=this.startNodeAt(ot,ct);return vt.operator=this.value,this.type===E.eq&&(Et=this.toAssignable(Et,!1,T)),X||(T.parenthesizedAssign=T.trailingComma=T.doubleProto=-1),T.shorthandAssign>=Et.start&&(T.shorthandAssign=-1),this.type===E.eq?this.checkLValPattern(Et):this.checkLValSimple(Et),vt.left=Et,this.next(),vt.right=this.parseMaybeAssign(y),ze>-1&&(T.doubleProto=ze),this.finishNode(vt,"AssignmentExpression")}else X&&this.checkExpressionErrors(T,!0);return pe>-1&&(T.parenthesizedAssign=pe),Ue>-1&&(T.trailingComma=Ue),Et},Ee.parseMaybeConditional=function(y,T){var U=this.start,X=this.startLoc,pe=this.parseExprOps(y,T);if(this.checkExpressionErrors(T))return pe;if(this.eat(E.question)){var Ue=this.startNodeAt(U,X);return Ue.test=pe,Ue.consequent=this.parseMaybeAssign(),this.expect(E.colon),Ue.alternate=this.parseMaybeAssign(y),this.finishNode(Ue,"ConditionalExpression")}return pe},Ee.parseExprOps=function(y,T){var U=this.start,X=this.startLoc,pe=this.parseMaybeUnary(T,!1,!1,y);return this.checkExpressionErrors(T)||pe.start===U&&pe.type==="ArrowFunctionExpression"?pe:this.parseExprOp(pe,U,X,-1,y)},Ee.parseExprOp=function(y,T,U,X,pe){var Ue=this.type.binop;if(Ue!=null&&(!pe||this.type!==E._in)&&Ue>X){var ze=this.type===E.logicalOR||this.type===E.logicalAND,ot=this.type===E.coalesce;ot&&(Ue=E.logicalAND.binop);var ct=this.value;this.next();var Et=this.start,vt=this.startLoc,qt=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,pe),Et,vt,Ue,pe),mr=this.buildBinary(T,U,y,qt,ct,ze||ot);return(ze&&this.type===E.coalesce||ot&&(this.type===E.logicalOR||this.type===E.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(mr,T,U,X,pe)}return y},Ee.buildBinary=function(y,T,U,X,pe,Ue){X.type==="PrivateIdentifier"&&this.raise(X.start,"Private identifier can only be left side of binary expression");var ze=this.startNodeAt(y,T);return ze.left=U,ze.operator=pe,ze.right=X,this.finishNode(ze,Ue?"LogicalExpression":"BinaryExpression")},Ee.parseMaybeUnary=function(y,T,U,X){var pe=this.start,Ue=this.startLoc,ze;if(this.isContextual("await")&&this.canAwait)ze=this.parseAwait(X),T=!0;else if(this.type.prefix){var ot=this.startNode(),ct=this.type===E.incDec;ot.operator=this.value,ot.prefix=!0,this.next(),ot.argument=this.parseMaybeUnary(null,!0,ct,X),this.checkExpressionErrors(y,!0),ct?this.checkLValSimple(ot.argument):this.strict&&ot.operator==="delete"&&O(ot.argument)?this.raiseRecoverable(ot.start,"Deleting local variable in strict mode"):ot.operator==="delete"&&Q(ot.argument)?this.raiseRecoverable(ot.start,"Private fields can not be deleted"):T=!0,ze=this.finishNode(ot,ct?"UpdateExpression":"UnaryExpression")}else if(!T&&this.type===E.privateId)(X||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),ze=this.parsePrivateIdent(),this.type!==E._in&&this.unexpected();else{if(ze=this.parseExprSubscripts(y,X),this.checkExpressionErrors(y))return ze;for(;this.type.postfix&&!this.canInsertSemicolon();){var Et=this.startNodeAt(pe,Ue);Et.operator=this.value,Et.prefix=!1,Et.argument=ze,this.checkLValSimple(ze),this.next(),ze=this.finishNode(Et,"UpdateExpression")}}if(!U&&this.eat(E.starstar))if(T)this.unexpected(this.lastTokStart);else return this.buildBinary(pe,Ue,ze,this.parseMaybeUnary(null,!1,!1,X),"**",!1);else return ze};function O(y){return y.type==="Identifier"||y.type==="ParenthesizedExpression"&&O(y.expression)}function Q(y){return y.type==="MemberExpression"&&y.property.type==="PrivateIdentifier"||y.type==="ChainExpression"&&Q(y.expression)||y.type==="ParenthesizedExpression"&&Q(y.expression)}Ee.parseExprSubscripts=function(y,T){var U=this.start,X=this.startLoc,pe=this.parseExprAtom(y,T);if(pe.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return pe;var Ue=this.parseSubscripts(pe,U,X,!1,T);return y&&Ue.type==="MemberExpression"&&(y.parenthesizedAssign>=Ue.start&&(y.parenthesizedAssign=-1),y.parenthesizedBind>=Ue.start&&(y.parenthesizedBind=-1),y.trailingComma>=Ue.start&&(y.trailingComma=-1)),Ue},Ee.parseSubscripts=function(y,T,U,X,pe){for(var Ue=this.options.ecmaVersion>=8&&y.type==="Identifier"&&y.name==="async"&&this.lastTokEnd===y.end&&!this.canInsertSemicolon()&&y.end-y.start===5&&this.potentialArrowAt===y.start,ze=!1;;){var ot=this.parseSubscript(y,T,U,X,Ue,ze,pe);if(ot.optional&&(ze=!0),ot===y||ot.type==="ArrowFunctionExpression"){if(ze){var ct=this.startNodeAt(T,U);ct.expression=ot,ot=this.finishNode(ct,"ChainExpression")}return ot}y=ot}},Ee.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(E.arrow)},Ee.parseSubscriptAsyncArrow=function(y,T,U,X){return this.parseArrowExpression(this.startNodeAt(y,T),U,!0,X)},Ee.parseSubscript=function(y,T,U,X,pe,Ue,ze){var ot=this.options.ecmaVersion>=11,ct=ot&&this.eat(E.questionDot);X&&ct&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var Et=this.eat(E.bracketL);if(Et||ct&&this.type!==E.parenL&&this.type!==E.backQuote||this.eat(E.dot)){var vt=this.startNodeAt(T,U);vt.object=y,Et?(vt.property=this.parseExpression(),this.expect(E.bracketR)):this.type===E.privateId&&y.type!=="Super"?vt.property=this.parsePrivateIdent():vt.property=this.parseIdent(this.options.allowReserved!=="never"),vt.computed=!!Et,ot&&(vt.optional=ct),y=this.finishNode(vt,"MemberExpression")}else if(!X&&this.eat(E.parenL)){var qt=new pt,mr=this.yieldPos,Ur=this.awaitPos,Se=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var je=this.parseExprList(E.parenR,this.options.ecmaVersion>=8,!1,qt);if(pe&&!ct&&this.shouldParseAsyncArrow())return this.checkPatternErrors(qt,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=mr,this.awaitPos=Ur,this.awaitIdentPos=Se,this.parseSubscriptAsyncArrow(T,U,je,ze);this.checkExpressionErrors(qt,!0),this.yieldPos=mr||this.yieldPos,this.awaitPos=Ur||this.awaitPos,this.awaitIdentPos=Se||this.awaitIdentPos;var He=this.startNodeAt(T,U);He.callee=y,He.arguments=je,ot&&(He.optional=ct),y=this.finishNode(He,"CallExpression")}else if(this.type===E.backQuote){(ct||Ue)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var mt=this.startNodeAt(T,U);mt.tag=y,mt.quasi=this.parseTemplate({isTagged:!0}),y=this.finishNode(mt,"TaggedTemplateExpression")}return y},Ee.parseExprAtom=function(y,T,U){this.type===E.slash&&this.readRegexp();var X,pe=this.potentialArrowAt===this.start;switch(this.type){case E._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),X=this.startNode(),this.next(),this.type===E.parenL&&!this.allowDirectSuper&&this.raise(X.start,"super() call outside constructor of a subclass"),this.type!==E.dot&&this.type!==E.bracketL&&this.type!==E.parenL&&this.unexpected(),this.finishNode(X,"Super");case E._this:return X=this.startNode(),this.next(),this.finishNode(X,"ThisExpression");case E.name:var Ue=this.start,ze=this.startLoc,ot=this.containsEsc,ct=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!ot&&ct.name==="async"&&!this.canInsertSemicolon()&&this.eat(E._function))return this.overrideContext(ke.f_expr),this.parseFunction(this.startNodeAt(Ue,ze),0,!1,!0,T);if(pe&&!this.canInsertSemicolon()){if(this.eat(E.arrow))return this.parseArrowExpression(this.startNodeAt(Ue,ze),[ct],!1,T);if(this.options.ecmaVersion>=8&&ct.name==="async"&&this.type===E.name&&!ot&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return ct=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(E.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(Ue,ze),[ct],!0,T)}return ct;case E.regexp:var Et=this.value;return X=this.parseLiteral(Et.value),X.regex={pattern:Et.pattern,flags:Et.flags},X;case E.num:case E.string:return this.parseLiteral(this.value);case E._null:case E._true:case E._false:return X=this.startNode(),X.value=this.type===E._null?null:this.type===E._true,X.raw=this.type.keyword,this.next(),this.finishNode(X,"Literal");case E.parenL:var vt=this.start,qt=this.parseParenAndDistinguishExpression(pe,T);return y&&(y.parenthesizedAssign<0&&!this.isSimpleAssignTarget(qt)&&(y.parenthesizedAssign=vt),y.parenthesizedBind<0&&(y.parenthesizedBind=vt)),qt;case E.bracketL:return X=this.startNode(),this.next(),X.elements=this.parseExprList(E.bracketR,!0,!0,y),this.finishNode(X,"ArrayExpression");case E.braceL:return this.overrideContext(ke.b_expr),this.parseObj(!1,y);case E._function:return X=this.startNode(),this.next(),this.parseFunction(X,0);case E._class:return this.parseClass(this.startNode(),!1);case E._new:return this.parseNew();case E.backQuote:return this.parseTemplate();case E._import:return this.options.ecmaVersion>=11?this.parseExprImport(U):this.unexpected();default:return this.parseExprAtomDefault()}},Ee.parseExprAtomDefault=function(){this.unexpected()},Ee.parseExprImport=function(y){var T=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===E.parenL&&!y)return this.parseDynamicImport(T);if(this.type===E.dot){var U=this.startNodeAt(T.start,T.loc&&T.loc.start);return U.name="import",T.meta=this.finishNode(U,"Identifier"),this.parseImportMeta(T)}else this.unexpected()},Ee.parseDynamicImport=function(y){if(this.next(),y.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(E.parenR)?y.options=null:(this.expect(E.comma),this.afterTrailingComma(E.parenR)?y.options=null:(y.options=this.parseMaybeAssign(),this.eat(E.parenR)||(this.expect(E.comma),this.afterTrailingComma(E.parenR)||this.unexpected())));else if(!this.eat(E.parenR)){var T=this.start;this.eat(E.comma)&&this.eat(E.parenR)?this.raiseRecoverable(T,"Trailing comma is not allowed in import()"):this.unexpected(T)}return this.finishNode(y,"ImportExpression")},Ee.parseImportMeta=function(y){this.next();var T=this.containsEsc;return y.property=this.parseIdent(!0),y.property.name!=="meta"&&this.raiseRecoverable(y.property.start,"The only valid meta property for import is 'import.meta'"),T&&this.raiseRecoverable(y.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(y.start,"Cannot use 'import.meta' outside a module"),this.finishNode(y,"MetaProperty")},Ee.parseLiteral=function(y){var T=this.startNode();return T.value=y,T.raw=this.input.slice(this.start,this.end),T.raw.charCodeAt(T.raw.length-1)===110&&(T.bigint=T.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(T,"Literal")},Ee.parseParenExpression=function(){this.expect(E.parenL);var y=this.parseExpression();return this.expect(E.parenR),y},Ee.shouldParseArrow=function(y){return!this.canInsertSemicolon()},Ee.parseParenAndDistinguishExpression=function(y,T){var U=this.start,X=this.startLoc,pe,Ue=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var ze=this.start,ot=this.startLoc,ct=[],Et=!0,vt=!1,qt=new pt,mr=this.yieldPos,Ur=this.awaitPos,Se;for(this.yieldPos=0,this.awaitPos=0;this.type!==E.parenR;)if(Et?Et=!1:this.expect(E.comma),Ue&&this.afterTrailingComma(E.parenR,!0)){vt=!0;break}else if(this.type===E.ellipsis){Se=this.start,ct.push(this.parseParenItem(this.parseRestBinding())),this.type===E.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else ct.push(this.parseMaybeAssign(!1,qt,this.parseParenItem));var je=this.lastTokEnd,He=this.lastTokEndLoc;if(this.expect(E.parenR),y&&this.shouldParseArrow(ct)&&this.eat(E.arrow))return this.checkPatternErrors(qt,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=mr,this.awaitPos=Ur,this.parseParenArrowList(U,X,ct,T);(!ct.length||vt)&&this.unexpected(this.lastTokStart),Se&&this.unexpected(Se),this.checkExpressionErrors(qt,!0),this.yieldPos=mr||this.yieldPos,this.awaitPos=Ur||this.awaitPos,ct.length>1?(pe=this.startNodeAt(ze,ot),pe.expressions=ct,this.finishNodeAt(pe,"SequenceExpression",je,He)):pe=ct[0]}else pe=this.parseParenExpression();if(this.options.preserveParens){var mt=this.startNodeAt(U,X);return mt.expression=pe,this.finishNode(mt,"ParenthesizedExpression")}else return pe},Ee.parseParenItem=function(y){return y},Ee.parseParenArrowList=function(y,T,U,X){return this.parseArrowExpression(this.startNodeAt(y,T),U,!1,X)};var ie=[];Ee.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var y=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===E.dot){var T=this.startNodeAt(y.start,y.loc&&y.loc.start);T.name="new",y.meta=this.finishNode(T,"Identifier"),this.next();var U=this.containsEsc;return y.property=this.parseIdent(!0),y.property.name!=="target"&&this.raiseRecoverable(y.property.start,"The only valid meta property for new is 'new.target'"),U&&this.raiseRecoverable(y.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(y.start,"'new.target' can only be used in functions and class static block"),this.finishNode(y,"MetaProperty")}var X=this.start,pe=this.startLoc;return y.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),X,pe,!0,!1),this.eat(E.parenL)?y.arguments=this.parseExprList(E.parenR,this.options.ecmaVersion>=8,!1):y.arguments=ie,this.finishNode(y,"NewExpression")},Ee.parseTemplateElement=function(y){var T=y.isTagged,U=this.startNode();return this.type===E.invalidTemplate?(T||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),U.value={raw:this.value.replace(/\r\n?/g,`
4
- `),cooked:null}):U.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
5
- `),cooked:this.value},this.next(),U.tail=this.type===E.backQuote,this.finishNode(U,"TemplateElement")},Ee.parseTemplate=function(y){y===void 0&&(y={});var T=y.isTagged;T===void 0&&(T=!1);var U=this.startNode();this.next(),U.expressions=[];var X=this.parseTemplateElement({isTagged:T});for(U.quasis=[X];!X.tail;)this.type===E.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(E.dollarBraceL),U.expressions.push(this.parseExpression()),this.expect(E.braceR),U.quasis.push(X=this.parseTemplateElement({isTagged:T}));return this.next(),this.finishNode(U,"TemplateLiteral")},Ee.isAsyncProp=function(y){return!y.computed&&y.key.type==="Identifier"&&y.key.name==="async"&&(this.type===E.name||this.type===E.num||this.type===E.string||this.type===E.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===E.star)&&!k.test(this.input.slice(this.lastTokEnd,this.start))},Ee.parseObj=function(y,T){var U=this.startNode(),X=!0,pe={};for(U.properties=[],this.next();!this.eat(E.braceR);){if(X)X=!1;else if(this.expect(E.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(E.braceR))break;var Ue=this.parseProperty(y,T);y||this.checkPropClash(Ue,pe,T),U.properties.push(Ue)}return this.finishNode(U,y?"ObjectPattern":"ObjectExpression")},Ee.parseProperty=function(y,T){var U=this.startNode(),X,pe,Ue,ze;if(this.options.ecmaVersion>=9&&this.eat(E.ellipsis))return y?(U.argument=this.parseIdent(!1),this.type===E.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(U,"RestElement")):(U.argument=this.parseMaybeAssign(!1,T),this.type===E.comma&&T&&T.trailingComma<0&&(T.trailingComma=this.start),this.finishNode(U,"SpreadElement"));this.options.ecmaVersion>=6&&(U.method=!1,U.shorthand=!1,(y||T)&&(Ue=this.start,ze=this.startLoc),y||(X=this.eat(E.star)));var ot=this.containsEsc;return this.parsePropertyName(U),!y&&!ot&&this.options.ecmaVersion>=8&&!X&&this.isAsyncProp(U)?(pe=!0,X=this.options.ecmaVersion>=9&&this.eat(E.star),this.parsePropertyName(U)):pe=!1,this.parsePropertyValue(U,y,X,pe,Ue,ze,T,ot),this.finishNode(U,"Property")},Ee.parseGetterSetter=function(y){y.kind=y.key.name,this.parsePropertyName(y),y.value=this.parseMethod(!1);var T=y.kind==="get"?0:1;if(y.value.params.length!==T){var U=y.value.start;y.kind==="get"?this.raiseRecoverable(U,"getter should have no params"):this.raiseRecoverable(U,"setter should have exactly one param")}else y.kind==="set"&&y.value.params[0].type==="RestElement"&&this.raiseRecoverable(y.value.params[0].start,"Setter cannot use rest params")},Ee.parsePropertyValue=function(y,T,U,X,pe,Ue,ze,ot){(U||X)&&this.type===E.colon&&this.unexpected(),this.eat(E.colon)?(y.value=T?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,ze),y.kind="init"):this.options.ecmaVersion>=6&&this.type===E.parenL?(T&&this.unexpected(),y.kind="init",y.method=!0,y.value=this.parseMethod(U,X)):!T&&!ot&&this.options.ecmaVersion>=5&&!y.computed&&y.key.type==="Identifier"&&(y.key.name==="get"||y.key.name==="set")&&this.type!==E.comma&&this.type!==E.braceR&&this.type!==E.eq?((U||X)&&this.unexpected(),this.parseGetterSetter(y)):this.options.ecmaVersion>=6&&!y.computed&&y.key.type==="Identifier"?((U||X)&&this.unexpected(),this.checkUnreserved(y.key),y.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=pe),y.kind="init",T?y.value=this.parseMaybeDefault(pe,Ue,this.copyNode(y.key)):this.type===E.eq&&ze?(ze.shorthandAssign<0&&(ze.shorthandAssign=this.start),y.value=this.parseMaybeDefault(pe,Ue,this.copyNode(y.key))):y.value=this.copyNode(y.key),y.shorthand=!0):this.unexpected()},Ee.parsePropertyName=function(y){if(this.options.ecmaVersion>=6){if(this.eat(E.bracketL))return y.computed=!0,y.key=this.parseMaybeAssign(),this.expect(E.bracketR),y.key;y.computed=!1}return y.key=this.type===E.num||this.type===E.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},Ee.initFunction=function(y){y.id=null,this.options.ecmaVersion>=6&&(y.generator=y.expression=!1),this.options.ecmaVersion>=8&&(y.async=!1)},Ee.parseMethod=function(y,T,U){var X=this.startNode(),pe=this.yieldPos,Ue=this.awaitPos,ze=this.awaitIdentPos;return this.initFunction(X),this.options.ecmaVersion>=6&&(X.generator=y),this.options.ecmaVersion>=8&&(X.async=!!T),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope($(T,X.generator)|ve|(U?G:0)),this.expect(E.parenL),X.params=this.parseBindingList(E.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(X,!1,!0,!1),this.yieldPos=pe,this.awaitPos=Ue,this.awaitIdentPos=ze,this.finishNode(X,"FunctionExpression")},Ee.parseArrowExpression=function(y,T,U,X){var pe=this.yieldPos,Ue=this.awaitPos,ze=this.awaitIdentPos;return this.enterScope($(U,!1)|Ie),this.initFunction(y),this.options.ecmaVersion>=8&&(y.async=!!U),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,y.params=this.toAssignableList(T,!0),this.parseFunctionBody(y,!0,!1,X),this.yieldPos=pe,this.awaitPos=Ue,this.awaitIdentPos=ze,this.finishNode(y,"ArrowFunctionExpression")},Ee.parseFunctionBody=function(y,T,U,X){var pe=T&&this.type!==E.braceL,Ue=this.strict,ze=!1;if(pe)y.body=this.parseMaybeAssign(X),y.expression=!0,this.checkParams(y,!1);else{var ot=this.options.ecmaVersion>=7&&!this.isSimpleParamList(y.params);(!Ue||ot)&&(ze=this.strictDirective(this.end),ze&&ot&&this.raiseRecoverable(y.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var ct=this.labels;this.labels=[],ze&&(this.strict=!0),this.checkParams(y,!Ue&&!ze&&!T&&!U&&this.isSimpleParamList(y.params)),this.strict&&y.id&&this.checkLValSimple(y.id,et),y.body=this.parseBlock(!1,void 0,ze&&!Ue),y.expression=!1,this.adaptDirectivePrologue(y.body.body),this.labels=ct}this.exitScope()},Ee.isSimpleParamList=function(y){for(var T=0,U=y;T<U.length;T+=1){var X=U[T];if(X.type!=="Identifier")return!1}return!0},Ee.checkParams=function(y,T){for(var U=Object.create(null),X=0,pe=y.params;X<pe.length;X+=1){var Ue=pe[X];this.checkLValInnerPattern(Ue,De,T?null:U)}},Ee.parseExprList=function(y,T,U,X){for(var pe=[],Ue=!0;!this.eat(y);){if(Ue)Ue=!1;else if(this.expect(E.comma),T&&this.afterTrailingComma(y))break;var ze=void 0;U&&this.type===E.comma?ze=null:this.type===E.ellipsis?(ze=this.parseSpread(X),X&&this.type===E.comma&&X.trailingComma<0&&(X.trailingComma=this.start)):ze=this.parseMaybeAssign(!1,X),pe.push(ze)}return pe},Ee.checkUnreserved=function(y){var T=y.start,U=y.end,X=y.name;if(this.inGenerator&&X==="yield"&&this.raiseRecoverable(T,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&X==="await"&&this.raiseRecoverable(T,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&X==="arguments"&&this.raiseRecoverable(T,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(X==="arguments"||X==="await")&&this.raise(T,"Cannot use "+X+" in class static initialization block"),this.keywords.test(X)&&this.raise(T,"Unexpected keyword '"+X+"'"),!(this.options.ecmaVersion<6&&this.input.slice(T,U).indexOf("\\")!==-1)){var pe=this.strict?this.reservedWordsStrict:this.reservedWords;pe.test(X)&&(!this.inAsync&&X==="await"&&this.raiseRecoverable(T,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(T,"The keyword '"+X+"' is reserved"))}},Ee.parseIdent=function(y){var T=this.parseIdentNode();return this.next(!!y),this.finishNode(T,"Identifier"),y||(this.checkUnreserved(T),T.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=T.start)),T},Ee.parseIdentNode=function(){var y=this.startNode();return this.type===E.name?y.name=this.value:this.type.keyword?(y.name=this.type.keyword,(y.name==="class"||y.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=E.name):this.unexpected(),y},Ee.parsePrivateIdent=function(){var y=this.startNode();return this.type===E.privateId?y.name=this.value:this.unexpected(),this.next(),this.finishNode(y,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(y.start,"Private field '#"+y.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(y)),y},Ee.parseYield=function(y){this.yieldPos||(this.yieldPos=this.start);var T=this.startNode();return this.next(),this.type===E.semi||this.canInsertSemicolon()||this.type!==E.star&&!this.type.startsExpr?(T.delegate=!1,T.argument=null):(T.delegate=this.eat(E.star),T.argument=this.parseMaybeAssign(y)),this.finishNode(T,"YieldExpression")},Ee.parseAwait=function(y){this.awaitPos||(this.awaitPos=this.start);var T=this.startNode();return this.next(),T.argument=this.parseMaybeUnary(null,!0,!1,y),this.finishNode(T,"AwaitExpression")};var Z=nt.prototype;Z.raise=function(y,T){var U=te(this.input,y);T+=" ("+U.line+":"+U.column+")";var X=new SyntaxError(T);throw X.pos=y,X.loc=U,X.raisedAt=this.pos,X},Z.raiseRecoverable=Z.raise,Z.curPosition=function(){if(this.options.locations)return new K(this.curLine,this.pos-this.lineStart)};var le=nt.prototype,Ae=function(T){this.flags=T,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};le.enterScope=function(y){this.scopeStack.push(new Ae(y))},le.exitScope=function(){this.scopeStack.pop()},le.treatFunctionsAsVarInScope=function(y){return y.flags&ae||!this.inModule&&y.flags&ne},le.declareName=function(y,T,U){var X=!1;if(T===Le){var pe=this.currentScope();X=pe.lexical.indexOf(y)>-1||pe.functions.indexOf(y)>-1||pe.var.indexOf(y)>-1,pe.lexical.push(y),this.inModule&&pe.flags&ne&&delete this.undefinedExports[y]}else if(T===V){var Ue=this.currentScope();Ue.lexical.push(y)}else if(T===Fe){var ze=this.currentScope();this.treatFunctionsAsVar?X=ze.lexical.indexOf(y)>-1:X=ze.lexical.indexOf(y)>-1||ze.var.indexOf(y)>-1,ze.functions.push(y)}else for(var ot=this.scopeStack.length-1;ot>=0;--ot){var ct=this.scopeStack[ot];if(ct.lexical.indexOf(y)>-1&&!(ct.flags&ue&&ct.lexical[0]===y)||!this.treatFunctionsAsVarInScope(ct)&&ct.functions.indexOf(y)>-1){X=!0;break}if(ct.var.push(y),this.inModule&&ct.flags&ne&&delete this.undefinedExports[y],ct.flags&Te)break}X&&this.raiseRecoverable(U,"Identifier '"+y+"' has already been declared")},le.checkLocalExport=function(y){this.scopeStack[0].lexical.indexOf(y.name)===-1&&this.scopeStack[0].var.indexOf(y.name)===-1&&(this.undefinedExports[y.name]=y)},le.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},le.currentVarScope=function(){for(var y=this.scopeStack.length-1;;y--){var T=this.scopeStack[y];if(T.flags&Te)return T}},le.currentThisScope=function(){for(var y=this.scopeStack.length-1;;y--){var T=this.scopeStack[y];if(T.flags&Te&&!(T.flags&Ie))return T}};var _e=function(T,U,X){this.type="",this.start=U,this.end=0,T.options.locations&&(this.loc=new re(T,X)),T.options.directSourceFile&&(this.sourceFile=T.options.directSourceFile),T.options.ranges&&(this.range=[U,0])},Ve=nt.prototype;Ve.startNode=function(){return new _e(this,this.start,this.startLoc)},Ve.startNodeAt=function(y,T){return new _e(this,y,T)};function Ye(y,T,U,X){return y.type=T,y.end=U,this.options.locations&&(y.loc.end=X),this.options.ranges&&(y.range[1]=U),y}Ve.finishNode=function(y,T){return Ye.call(this,y,T,this.lastTokEnd,this.lastTokEndLoc)},Ve.finishNodeAt=function(y,T,U,X){return Ye.call(this,y,T,U,X)},Ve.copyNode=function(y){var T=new _e(this,y.start,this.startLoc);for(var U in y)T[U]=y[U];return T};var me="Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz",oe="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",we=oe+" Extended_Pictographic",Be=we,Ne=Be+" EBase EComp EMod EPres ExtPict",at=Ne,qe=at,Je={9:oe,10:we,11:Be,12:Ne,13:at,14:qe},Ze="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",Oe={9:"",10:"",11:"",12:"",13:"",14:Ze},Ke="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",it="Adlam Adlm 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 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",ht=it+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",ft=ht+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",gt=ft+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",yt=gt+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",dt=yt+" "+me,At={9:it,10:ht,11:ft,12:gt,13:yt,14:dt},Ft={};function Rt(y){var T=Ft[y]={binary:W(Je[y]+" "+Ke),binaryOfStrings:W(Oe[y]),nonBinary:{General_Category:W(Ke),Script:W(At[y])}};T.nonBinary.Script_Extensions=T.nonBinary.Script,T.nonBinary.gc=T.nonBinary.General_Category,T.nonBinary.sc=T.nonBinary.Script,T.nonBinary.scx=T.nonBinary.Script_Extensions}for(var _t=0,Ut=[9,10,11,12,13,14];_t<Ut.length;_t+=1){var Vt=Ut[_t];Rt(Vt)}var ut=nt.prototype,Wt=function(T,U){this.parent=T,this.base=U||this};Wt.prototype.separatedFrom=function(T){for(var U=this;U;U=U.parent)for(var X=T;X;X=X.parent)if(U.base===X.base&&U!==X)return!0;return!1},Wt.prototype.sibling=function(){return new Wt(this.parent,this.base)};var Bt=function(T){this.parser=T,this.validFlags="gim"+(T.options.ecmaVersion>=6?"uy":"")+(T.options.ecmaVersion>=9?"s":"")+(T.options.ecmaVersion>=13?"d":"")+(T.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Ft[T.options.ecmaVersion>=14?14:T.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};Bt.prototype.reset=function(T,U,X){var pe=X.indexOf("v")!==-1,Ue=X.indexOf("u")!==-1;this.start=T|0,this.source=U+"",this.flags=X,pe&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=Ue&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=Ue&&this.parser.options.ecmaVersion>=9)},Bt.prototype.raise=function(T){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+T)},Bt.prototype.at=function(T,U){U===void 0&&(U=!1);var X=this.source,pe=X.length;if(T>=pe)return-1;var Ue=X.charCodeAt(T);if(!(U||this.switchU)||Ue<=55295||Ue>=57344||T+1>=pe)return Ue;var ze=X.charCodeAt(T+1);return ze>=56320&&ze<=57343?(Ue<<10)+ze-56613888:Ue},Bt.prototype.nextIndex=function(T,U){U===void 0&&(U=!1);var X=this.source,pe=X.length;if(T>=pe)return pe;var Ue=X.charCodeAt(T),ze;return!(U||this.switchU)||Ue<=55295||Ue>=57344||T+1>=pe||(ze=X.charCodeAt(T+1))<56320||ze>57343?T+1:T+2},Bt.prototype.current=function(T){return T===void 0&&(T=!1),this.at(this.pos,T)},Bt.prototype.lookahead=function(T){return T===void 0&&(T=!1),this.at(this.nextIndex(this.pos,T),T)},Bt.prototype.advance=function(T){T===void 0&&(T=!1),this.pos=this.nextIndex(this.pos,T)},Bt.prototype.eat=function(T,U){return U===void 0&&(U=!1),this.current(U)===T?(this.advance(U),!0):!1},Bt.prototype.eatChars=function(T,U){U===void 0&&(U=!1);for(var X=this.pos,pe=0,Ue=T;pe<Ue.length;pe+=1){var ze=Ue[pe],ot=this.at(X,U);if(ot===-1||ot!==ze)return!1;X=this.nextIndex(X,U)}return this.pos=X,!0},ut.validateRegExpFlags=function(y){for(var T=y.validFlags,U=y.flags,X=!1,pe=!1,Ue=0;Ue<U.length;Ue++){var ze=U.charAt(Ue);T.indexOf(ze)===-1&&this.raise(y.start,"Invalid regular expression flag"),U.indexOf(ze,Ue+1)>-1&&this.raise(y.start,"Duplicate regular expression flag"),ze==="u"&&(X=!0),ze==="v"&&(pe=!0)}this.options.ecmaVersion>=15&&X&&pe&&this.raise(y.start,"Invalid regular expression flag")};function nr(y){for(var T in y)return!0;return!1}ut.validateRegExpPattern=function(y){this.regexp_pattern(y),!y.switchN&&this.options.ecmaVersion>=9&&nr(y.groupNames)&&(y.switchN=!0,this.regexp_pattern(y))},ut.regexp_pattern=function(y){y.pos=0,y.lastIntValue=0,y.lastStringValue="",y.lastAssertionIsQuantifiable=!1,y.numCapturingParens=0,y.maxBackReference=0,y.groupNames=Object.create(null),y.backReferenceNames.length=0,y.branchID=null,this.regexp_disjunction(y),y.pos!==y.source.length&&(y.eat(41)&&y.raise("Unmatched ')'"),(y.eat(93)||y.eat(125))&&y.raise("Lone quantifier brackets")),y.maxBackReference>y.numCapturingParens&&y.raise("Invalid escape");for(var T=0,U=y.backReferenceNames;T<U.length;T+=1){var X=U[T];y.groupNames[X]||y.raise("Invalid named capture referenced")}},ut.regexp_disjunction=function(y){var T=this.options.ecmaVersion>=16;for(T&&(y.branchID=new Wt(y.branchID,null)),this.regexp_alternative(y);y.eat(124);)T&&(y.branchID=y.branchID.sibling()),this.regexp_alternative(y);T&&(y.branchID=y.branchID.parent),this.regexp_eatQuantifier(y,!0)&&y.raise("Nothing to repeat"),y.eat(123)&&y.raise("Lone quantifier brackets")},ut.regexp_alternative=function(y){for(;y.pos<y.source.length&&this.regexp_eatTerm(y););},ut.regexp_eatTerm=function(y){return this.regexp_eatAssertion(y)?(y.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(y)&&y.switchU&&y.raise("Invalid quantifier"),!0):(y.switchU?this.regexp_eatAtom(y):this.regexp_eatExtendedAtom(y))?(this.regexp_eatQuantifier(y),!0):!1},ut.regexp_eatAssertion=function(y){var T=y.pos;if(y.lastAssertionIsQuantifiable=!1,y.eat(94)||y.eat(36))return!0;if(y.eat(92)){if(y.eat(66)||y.eat(98))return!0;y.pos=T}if(y.eat(40)&&y.eat(63)){var U=!1;if(this.options.ecmaVersion>=9&&(U=y.eat(60)),y.eat(61)||y.eat(33))return this.regexp_disjunction(y),y.eat(41)||y.raise("Unterminated group"),y.lastAssertionIsQuantifiable=!U,!0}return y.pos=T,!1},ut.regexp_eatQuantifier=function(y,T){return T===void 0&&(T=!1),this.regexp_eatQuantifierPrefix(y,T)?(y.eat(63),!0):!1},ut.regexp_eatQuantifierPrefix=function(y,T){return y.eat(42)||y.eat(43)||y.eat(63)||this.regexp_eatBracedQuantifier(y,T)},ut.regexp_eatBracedQuantifier=function(y,T){var U=y.pos;if(y.eat(123)){var X=0,pe=-1;if(this.regexp_eatDecimalDigits(y)&&(X=y.lastIntValue,y.eat(44)&&this.regexp_eatDecimalDigits(y)&&(pe=y.lastIntValue),y.eat(125)))return pe!==-1&&pe<X&&!T&&y.raise("numbers out of order in {} quantifier"),!0;y.switchU&&!T&&y.raise("Incomplete quantifier"),y.pos=U}return!1},ut.regexp_eatAtom=function(y){return this.regexp_eatPatternCharacters(y)||y.eat(46)||this.regexp_eatReverseSolidusAtomEscape(y)||this.regexp_eatCharacterClass(y)||this.regexp_eatUncapturingGroup(y)||this.regexp_eatCapturingGroup(y)},ut.regexp_eatReverseSolidusAtomEscape=function(y){var T=y.pos;if(y.eat(92)){if(this.regexp_eatAtomEscape(y))return!0;y.pos=T}return!1},ut.regexp_eatUncapturingGroup=function(y){var T=y.pos;if(y.eat(40)){if(y.eat(63)){if(this.options.ecmaVersion>=16){var U=this.regexp_eatModifiers(y),X=y.eat(45);if(U||X){for(var pe=0;pe<U.length;pe++){var Ue=U.charAt(pe);U.indexOf(Ue,pe+1)>-1&&y.raise("Duplicate regular expression modifiers")}if(X){var ze=this.regexp_eatModifiers(y);!U&&!ze&&y.current()===58&&y.raise("Invalid regular expression modifiers");for(var ot=0;ot<ze.length;ot++){var ct=ze.charAt(ot);(ze.indexOf(ct,ot+1)>-1||U.indexOf(ct)>-1)&&y.raise("Duplicate regular expression modifiers")}}}}if(y.eat(58)){if(this.regexp_disjunction(y),y.eat(41))return!0;y.raise("Unterminated group")}}y.pos=T}return!1},ut.regexp_eatCapturingGroup=function(y){if(y.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(y):y.current()===63&&y.raise("Invalid group"),this.regexp_disjunction(y),y.eat(41))return y.numCapturingParens+=1,!0;y.raise("Unterminated group")}return!1},ut.regexp_eatModifiers=function(y){for(var T="",U=0;(U=y.current())!==-1&&Ar(U);)T+=_(U),y.advance();return T};function Ar(y){return y===105||y===109||y===115}ut.regexp_eatExtendedAtom=function(y){return y.eat(46)||this.regexp_eatReverseSolidusAtomEscape(y)||this.regexp_eatCharacterClass(y)||this.regexp_eatUncapturingGroup(y)||this.regexp_eatCapturingGroup(y)||this.regexp_eatInvalidBracedQuantifier(y)||this.regexp_eatExtendedPatternCharacter(y)},ut.regexp_eatInvalidBracedQuantifier=function(y){return this.regexp_eatBracedQuantifier(y,!0)&&y.raise("Nothing to repeat"),!1},ut.regexp_eatSyntaxCharacter=function(y){var T=y.current();return yr(T)?(y.lastIntValue=T,y.advance(),!0):!1};function yr(y){return y===36||y>=40&&y<=43||y===46||y===63||y>=91&&y<=94||y>=123&&y<=125}ut.regexp_eatPatternCharacters=function(y){for(var T=y.pos,U=0;(U=y.current())!==-1&&!yr(U);)y.advance();return y.pos!==T},ut.regexp_eatExtendedPatternCharacter=function(y){var T=y.current();return T!==-1&&T!==36&&!(T>=40&&T<=43)&&T!==46&&T!==63&&T!==91&&T!==94&&T!==124?(y.advance(),!0):!1},ut.regexp_groupSpecifier=function(y){if(y.eat(63)){this.regexp_eatGroupName(y)||y.raise("Invalid group");var T=this.options.ecmaVersion>=16,U=y.groupNames[y.lastStringValue];if(U)if(T)for(var X=0,pe=U;X<pe.length;X+=1){var Ue=pe[X];Ue.separatedFrom(y.branchID)||y.raise("Duplicate capture group name")}else y.raise("Duplicate capture group name");T?(U||(y.groupNames[y.lastStringValue]=[])).push(y.branchID):y.groupNames[y.lastStringValue]=!0}},ut.regexp_eatGroupName=function(y){if(y.lastStringValue="",y.eat(60)){if(this.regexp_eatRegExpIdentifierName(y)&&y.eat(62))return!0;y.raise("Invalid capture group name")}return!1},ut.regexp_eatRegExpIdentifierName=function(y){if(y.lastStringValue="",this.regexp_eatRegExpIdentifierStart(y)){for(y.lastStringValue+=_(y.lastIntValue);this.regexp_eatRegExpIdentifierPart(y);)y.lastStringValue+=_(y.lastIntValue);return!0}return!1},ut.regexp_eatRegExpIdentifierStart=function(y){var T=y.pos,U=this.options.ecmaVersion>=11,X=y.current(U);return y.advance(U),X===92&&this.regexp_eatRegExpUnicodeEscapeSequence(y,U)&&(X=y.lastIntValue),sr(X)?(y.lastIntValue=X,!0):(y.pos=T,!1)};function sr(y){return l(y,!0)||y===36||y===95}ut.regexp_eatRegExpIdentifierPart=function(y){var T=y.pos,U=this.options.ecmaVersion>=11,X=y.current(U);return y.advance(U),X===92&&this.regexp_eatRegExpUnicodeEscapeSequence(y,U)&&(X=y.lastIntValue),pr(X)?(y.lastIntValue=X,!0):(y.pos=T,!1)};function pr(y){return d(y,!0)||y===36||y===95||y===8204||y===8205}ut.regexp_eatAtomEscape=function(y){return this.regexp_eatBackReference(y)||this.regexp_eatCharacterClassEscape(y)||this.regexp_eatCharacterEscape(y)||y.switchN&&this.regexp_eatKGroupName(y)?!0:(y.switchU&&(y.current()===99&&y.raise("Invalid unicode escape"),y.raise("Invalid escape")),!1)},ut.regexp_eatBackReference=function(y){var T=y.pos;if(this.regexp_eatDecimalEscape(y)){var U=y.lastIntValue;if(y.switchU)return U>y.maxBackReference&&(y.maxBackReference=U),!0;if(U<=y.numCapturingParens)return!0;y.pos=T}return!1},ut.regexp_eatKGroupName=function(y){if(y.eat(107)){if(this.regexp_eatGroupName(y))return y.backReferenceNames.push(y.lastStringValue),!0;y.raise("Invalid named reference")}return!1},ut.regexp_eatCharacterEscape=function(y){return this.regexp_eatControlEscape(y)||this.regexp_eatCControlLetter(y)||this.regexp_eatZero(y)||this.regexp_eatHexEscapeSequence(y)||this.regexp_eatRegExpUnicodeEscapeSequence(y,!1)||!y.switchU&&this.regexp_eatLegacyOctalEscapeSequence(y)||this.regexp_eatIdentityEscape(y)},ut.regexp_eatCControlLetter=function(y){var T=y.pos;if(y.eat(99)){if(this.regexp_eatControlLetter(y))return!0;y.pos=T}return!1},ut.regexp_eatZero=function(y){return y.current()===48&&!Tr(y.lookahead())?(y.lastIntValue=0,y.advance(),!0):!1},ut.regexp_eatControlEscape=function(y){var T=y.current();return T===116?(y.lastIntValue=9,y.advance(),!0):T===110?(y.lastIntValue=10,y.advance(),!0):T===118?(y.lastIntValue=11,y.advance(),!0):T===102?(y.lastIntValue=12,y.advance(),!0):T===114?(y.lastIntValue=13,y.advance(),!0):!1},ut.regexp_eatControlLetter=function(y){var T=y.current();return er(T)?(y.lastIntValue=T%32,y.advance(),!0):!1};function er(y){return y>=65&&y<=90||y>=97&&y<=122}ut.regexp_eatRegExpUnicodeEscapeSequence=function(y,T){T===void 0&&(T=!1);var U=y.pos,X=T||y.switchU;if(y.eat(117)){if(this.regexp_eatFixedHexDigits(y,4)){var pe=y.lastIntValue;if(X&&pe>=55296&&pe<=56319){var Ue=y.pos;if(y.eat(92)&&y.eat(117)&&this.regexp_eatFixedHexDigits(y,4)){var ze=y.lastIntValue;if(ze>=56320&&ze<=57343)return y.lastIntValue=(pe-55296)*1024+(ze-56320)+65536,!0}y.pos=Ue,y.lastIntValue=pe}return!0}if(X&&y.eat(123)&&this.regexp_eatHexDigits(y)&&y.eat(125)&&vr(y.lastIntValue))return!0;X&&y.raise("Invalid unicode escape"),y.pos=U}return!1};function vr(y){return y>=0&&y<=1114111}ut.regexp_eatIdentityEscape=function(y){if(y.switchU)return this.regexp_eatSyntaxCharacter(y)?!0:y.eat(47)?(y.lastIntValue=47,!0):!1;var T=y.current();return T!==99&&(!y.switchN||T!==107)?(y.lastIntValue=T,y.advance(),!0):!1},ut.regexp_eatDecimalEscape=function(y){y.lastIntValue=0;var T=y.current();if(T>=49&&T<=57){do y.lastIntValue=10*y.lastIntValue+(T-48),y.advance();while((T=y.current())>=48&&T<=57);return!0}return!1};var Er=0,Gt=1,zt=2;ut.regexp_eatCharacterClassEscape=function(y){var T=y.current();if(Or(T))return y.lastIntValue=-1,y.advance(),Gt;var U=!1;if(y.switchU&&this.options.ecmaVersion>=9&&((U=T===80)||T===112)){y.lastIntValue=-1,y.advance();var X;if(y.eat(123)&&(X=this.regexp_eatUnicodePropertyValueExpression(y))&&y.eat(125))return U&&X===zt&&y.raise("Invalid property name"),X;y.raise("Invalid property name")}return Er};function Or(y){return y===100||y===68||y===115||y===83||y===119||y===87}ut.regexp_eatUnicodePropertyValueExpression=function(y){var T=y.pos;if(this.regexp_eatUnicodePropertyName(y)&&y.eat(61)){var U=y.lastStringValue;if(this.regexp_eatUnicodePropertyValue(y)){var X=y.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(y,U,X),Gt}}if(y.pos=T,this.regexp_eatLoneUnicodePropertyNameOrValue(y)){var pe=y.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(y,pe)}return Er},ut.regexp_validateUnicodePropertyNameAndValue=function(y,T,U){N(y.unicodeProperties.nonBinary,T)||y.raise("Invalid property name"),y.unicodeProperties.nonBinary[T].test(U)||y.raise("Invalid property value")},ut.regexp_validateUnicodePropertyNameOrValue=function(y,T){if(y.unicodeProperties.binary.test(T))return Gt;if(y.switchV&&y.unicodeProperties.binaryOfStrings.test(T))return zt;y.raise("Invalid property name")},ut.regexp_eatUnicodePropertyName=function(y){var T=0;for(y.lastStringValue="";Nr(T=y.current());)y.lastStringValue+=_(T),y.advance();return y.lastStringValue!==""};function Nr(y){return er(y)||y===95}ut.regexp_eatUnicodePropertyValue=function(y){var T=0;for(y.lastStringValue="";hn(T=y.current());)y.lastStringValue+=_(T),y.advance();return y.lastStringValue!==""};function hn(y){return Nr(y)||Tr(y)}ut.regexp_eatLoneUnicodePropertyNameOrValue=function(y){return this.regexp_eatUnicodePropertyValue(y)},ut.regexp_eatCharacterClass=function(y){if(y.eat(91)){var T=y.eat(94),U=this.regexp_classContents(y);return y.eat(93)||y.raise("Unterminated character class"),T&&U===zt&&y.raise("Negated character class may contain strings"),!0}return!1},ut.regexp_classContents=function(y){return y.current()===93?Gt:y.switchV?this.regexp_classSetExpression(y):(this.regexp_nonEmptyClassRanges(y),Gt)},ut.regexp_nonEmptyClassRanges=function(y){for(;this.regexp_eatClassAtom(y);){var T=y.lastIntValue;if(y.eat(45)&&this.regexp_eatClassAtom(y)){var U=y.lastIntValue;y.switchU&&(T===-1||U===-1)&&y.raise("Invalid character class"),T!==-1&&U!==-1&&T>U&&y.raise("Range out of order in character class")}}},ut.regexp_eatClassAtom=function(y){var T=y.pos;if(y.eat(92)){if(this.regexp_eatClassEscape(y))return!0;if(y.switchU){var U=y.current();(U===99||zr(U))&&y.raise("Invalid class escape"),y.raise("Invalid escape")}y.pos=T}var X=y.current();return X!==93?(y.lastIntValue=X,y.advance(),!0):!1},ut.regexp_eatClassEscape=function(y){var T=y.pos;if(y.eat(98))return y.lastIntValue=8,!0;if(y.switchU&&y.eat(45))return y.lastIntValue=45,!0;if(!y.switchU&&y.eat(99)){if(this.regexp_eatClassControlLetter(y))return!0;y.pos=T}return this.regexp_eatCharacterClassEscape(y)||this.regexp_eatCharacterEscape(y)},ut.regexp_classSetExpression=function(y){var T=Gt,U;if(!this.regexp_eatClassSetRange(y))if(U=this.regexp_eatClassSetOperand(y)){U===zt&&(T=zt);for(var X=y.pos;y.eatChars([38,38]);){if(y.current()!==38&&(U=this.regexp_eatClassSetOperand(y))){U!==zt&&(T=Gt);continue}y.raise("Invalid character in character class")}if(X!==y.pos)return T;for(;y.eatChars([45,45]);)this.regexp_eatClassSetOperand(y)||y.raise("Invalid character in character class");if(X!==y.pos)return T}else y.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(y)){if(U=this.regexp_eatClassSetOperand(y),!U)return T;U===zt&&(T=zt)}},ut.regexp_eatClassSetRange=function(y){var T=y.pos;if(this.regexp_eatClassSetCharacter(y)){var U=y.lastIntValue;if(y.eat(45)&&this.regexp_eatClassSetCharacter(y)){var X=y.lastIntValue;return U!==-1&&X!==-1&&U>X&&y.raise("Range out of order in character class"),!0}y.pos=T}return!1},ut.regexp_eatClassSetOperand=function(y){return this.regexp_eatClassSetCharacter(y)?Gt:this.regexp_eatClassStringDisjunction(y)||this.regexp_eatNestedClass(y)},ut.regexp_eatNestedClass=function(y){var T=y.pos;if(y.eat(91)){var U=y.eat(94),X=this.regexp_classContents(y);if(y.eat(93))return U&&X===zt&&y.raise("Negated character class may contain strings"),X;y.pos=T}if(y.eat(92)){var pe=this.regexp_eatCharacterClassEscape(y);if(pe)return pe;y.pos=T}return null},ut.regexp_eatClassStringDisjunction=function(y){var T=y.pos;if(y.eatChars([92,113])){if(y.eat(123)){var U=this.regexp_classStringDisjunctionContents(y);if(y.eat(125))return U}else y.raise("Invalid escape");y.pos=T}return null},ut.regexp_classStringDisjunctionContents=function(y){for(var T=this.regexp_classString(y);y.eat(124);)this.regexp_classString(y)===zt&&(T=zt);return T},ut.regexp_classString=function(y){for(var T=0;this.regexp_eatClassSetCharacter(y);)T++;return T===1?Gt:zt},ut.regexp_eatClassSetCharacter=function(y){var T=y.pos;if(y.eat(92))return this.regexp_eatCharacterEscape(y)||this.regexp_eatClassSetReservedPunctuator(y)?!0:y.eat(98)?(y.lastIntValue=8,!0):(y.pos=T,!1);var U=y.current();return U<0||U===y.lookahead()&&Gr(U)||jr(U)?!1:(y.advance(),y.lastIntValue=U,!0)};function Gr(y){return y===33||y>=35&&y<=38||y>=42&&y<=44||y===46||y>=58&&y<=64||y===94||y===96||y===126}function jr(y){return y===40||y===41||y===45||y===47||y>=91&&y<=93||y>=123&&y<=125}ut.regexp_eatClassSetReservedPunctuator=function(y){var T=y.current();return dn(T)?(y.lastIntValue=T,y.advance(),!0):!1};function dn(y){return y===33||y===35||y===37||y===38||y===44||y===45||y>=58&&y<=62||y===64||y===96||y===126}ut.regexp_eatClassControlLetter=function(y){var T=y.current();return Tr(T)||T===95?(y.lastIntValue=T%32,y.advance(),!0):!1},ut.regexp_eatHexEscapeSequence=function(y){var T=y.pos;if(y.eat(120)){if(this.regexp_eatFixedHexDigits(y,2))return!0;y.switchU&&y.raise("Invalid escape"),y.pos=T}return!1},ut.regexp_eatDecimalDigits=function(y){var T=y.pos,U=0;for(y.lastIntValue=0;Tr(U=y.current());)y.lastIntValue=10*y.lastIntValue+(U-48),y.advance();return y.pos!==T};function Tr(y){return y>=48&&y<=57}ut.regexp_eatHexDigits=function(y){var T=y.pos,U=0;for(y.lastIntValue=0;Mr(U=y.current());)y.lastIntValue=16*y.lastIntValue+Sr(U),y.advance();return y.pos!==T};function Mr(y){return y>=48&&y<=57||y>=65&&y<=70||y>=97&&y<=102}function Sr(y){return y>=65&&y<=70?10+(y-65):y>=97&&y<=102?10+(y-97):y-48}ut.regexp_eatLegacyOctalEscapeSequence=function(y){if(this.regexp_eatOctalDigit(y)){var T=y.lastIntValue;if(this.regexp_eatOctalDigit(y)){var U=y.lastIntValue;T<=3&&this.regexp_eatOctalDigit(y)?y.lastIntValue=T*64+U*8+y.lastIntValue:y.lastIntValue=T*8+U}else y.lastIntValue=T;return!0}return!1},ut.regexp_eatOctalDigit=function(y){var T=y.current();return zr(T)?(y.lastIntValue=T-48,y.advance(),!0):(y.lastIntValue=0,!1)};function zr(y){return y>=48&&y<=55}ut.regexp_eatFixedHexDigits=function(y,T){var U=y.pos;y.lastIntValue=0;for(var X=0;X<T;++X){var pe=y.current();if(!Mr(pe))return y.pos=U,!1;y.lastIntValue=16*y.lastIntValue+Sr(pe),y.advance()}return!0};var br=function(T){this.type=T.type,this.value=T.value,this.start=T.start,this.end=T.end,T.options.locations&&(this.loc=new re(T,T.startLoc,T.endLoc)),T.options.ranges&&(this.range=[T.start,T.end])},bt=nt.prototype;bt.next=function(y){!y&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new br(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},bt.getToken=function(){return this.next(),new br(this)},typeof Symbol<"u"&&(bt[Symbol.iterator]=function(){var y=this;return{next:function(){var T=y.getToken();return{done:T.type===E.eof,value:T}}}}),bt.nextToken=function(){var y=this.curContext();if((!y||!y.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(E.eof);if(y.override)return y.override(this);this.readToken(this.fullCharCodeAtPos())},bt.readToken=function(y){return l(y,this.options.ecmaVersion>=6)||y===92?this.readWord():this.getTokenFromCode(y)},bt.fullCharCodeAtPos=function(){var y=this.input.charCodeAt(this.pos);if(y<=55295||y>=56320)return y;var T=this.input.charCodeAt(this.pos+1);return T<=56319||T>=57344?y:(y<<10)+T-56613888},bt.skipBlockComment=function(){var y=this.options.onComment&&this.curPosition(),T=this.pos,U=this.input.indexOf("*/",this.pos+=2);if(U===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=U+2,this.options.locations)for(var X=void 0,pe=T;(X=I(this.input,pe,this.pos))>-1;)++this.curLine,pe=this.lineStart=X;this.options.onComment&&this.options.onComment(!0,this.input.slice(T+2,U),T,this.pos,y,this.curPosition())},bt.skipLineComment=function(y){for(var T=this.pos,U=this.options.onComment&&this.curPosition(),X=this.input.charCodeAt(this.pos+=y);this.pos<this.input.length&&!A(X);)X=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(T+y,this.pos),T,this.pos,U,this.curPosition())},bt.skipSpace=function(){e:for(;this.pos<this.input.length;){var y=this.input.charCodeAt(this.pos);switch(y){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++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 e}break;default:if(y>8&&y<14||y>=5760&&B.test(String.fromCharCode(y)))++this.pos;else break e}}},bt.finishToken=function(y,T){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var U=this.type;this.type=y,this.value=T,this.updateContext(U)},bt.readToken_dot=function(){var y=this.input.charCodeAt(this.pos+1);if(y>=48&&y<=57)return this.readNumber(!0);var T=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&y===46&&T===46?(this.pos+=3,this.finishToken(E.ellipsis)):(++this.pos,this.finishToken(E.dot))},bt.readToken_slash=function(){var y=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):y===61?this.finishOp(E.assign,2):this.finishOp(E.slash,1)},bt.readToken_mult_modulo_exp=function(y){var T=this.input.charCodeAt(this.pos+1),U=1,X=y===42?E.star:E.modulo;return this.options.ecmaVersion>=7&&y===42&&T===42&&(++U,X=E.starstar,T=this.input.charCodeAt(this.pos+2)),T===61?this.finishOp(E.assign,U+1):this.finishOp(X,U)},bt.readToken_pipe_amp=function(y){var T=this.input.charCodeAt(this.pos+1);if(T===y){if(this.options.ecmaVersion>=12){var U=this.input.charCodeAt(this.pos+2);if(U===61)return this.finishOp(E.assign,3)}return this.finishOp(y===124?E.logicalOR:E.logicalAND,2)}return T===61?this.finishOp(E.assign,2):this.finishOp(y===124?E.bitwiseOR:E.bitwiseAND,1)},bt.readToken_caret=function(){var y=this.input.charCodeAt(this.pos+1);return y===61?this.finishOp(E.assign,2):this.finishOp(E.bitwiseXOR,1)},bt.readToken_plus_min=function(y){var T=this.input.charCodeAt(this.pos+1);return T===y?T===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||k.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(E.incDec,2):T===61?this.finishOp(E.assign,2):this.finishOp(E.plusMin,1)},bt.readToken_lt_gt=function(y){var T=this.input.charCodeAt(this.pos+1),U=1;return T===y?(U=y===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+U)===61?this.finishOp(E.assign,U+1):this.finishOp(E.bitShift,U)):T===33&&y===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(T===61&&(U=2),this.finishOp(E.relational,U))},bt.readToken_eq_excl=function(y){var T=this.input.charCodeAt(this.pos+1);return T===61?this.finishOp(E.equality,this.input.charCodeAt(this.pos+2)===61?3:2):y===61&&T===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(E.arrow)):this.finishOp(y===61?E.eq:E.prefix,1)},bt.readToken_question=function(){var y=this.options.ecmaVersion;if(y>=11){var T=this.input.charCodeAt(this.pos+1);if(T===46){var U=this.input.charCodeAt(this.pos+2);if(U<48||U>57)return this.finishOp(E.questionDot,2)}if(T===63){if(y>=12){var X=this.input.charCodeAt(this.pos+2);if(X===61)return this.finishOp(E.assign,3)}return this.finishOp(E.coalesce,2)}}return this.finishOp(E.question,1)},bt.readToken_numberSign=function(){var y=this.options.ecmaVersion,T=35;if(y>=13&&(++this.pos,T=this.fullCharCodeAtPos(),l(T,!0)||T===92))return this.finishToken(E.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+_(T)+"'")},bt.getTokenFromCode=function(y){switch(y){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(E.parenL);case 41:return++this.pos,this.finishToken(E.parenR);case 59:return++this.pos,this.finishToken(E.semi);case 44:return++this.pos,this.finishToken(E.comma);case 91:return++this.pos,this.finishToken(E.bracketL);case 93:return++this.pos,this.finishToken(E.bracketR);case 123:return++this.pos,this.finishToken(E.braceL);case 125:return++this.pos,this.finishToken(E.braceR);case 58:return++this.pos,this.finishToken(E.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(E.backQuote);case 48:var T=this.input.charCodeAt(this.pos+1);if(T===120||T===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(T===111||T===79)return this.readRadixNumber(8);if(T===98||T===66)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(y);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(y);case 124:case 38:return this.readToken_pipe_amp(y);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(y);case 60:case 62:return this.readToken_lt_gt(y);case 61:case 33:return this.readToken_eq_excl(y);case 63:return this.readToken_question();case 126:return this.finishOp(E.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+_(y)+"'")},bt.finishOp=function(y,T){var U=this.input.slice(this.pos,this.pos+T);return this.pos+=T,this.finishToken(y,U)},bt.readRegexp=function(){for(var y,T,U=this.pos;;){this.pos>=this.input.length&&this.raise(U,"Unterminated regular expression");var X=this.input.charAt(this.pos);if(k.test(X)&&this.raise(U,"Unterminated regular expression"),y)y=!1;else{if(X==="[")T=!0;else if(X==="]"&&T)T=!1;else if(X==="/"&&!T)break;y=X==="\\"}++this.pos}var pe=this.input.slice(U,this.pos);++this.pos;var Ue=this.pos,ze=this.readWord1();this.containsEsc&&this.unexpected(Ue);var ot=this.regexpState||(this.regexpState=new Bt(this));ot.reset(U,pe,ze),this.validateRegExpFlags(ot),this.validateRegExpPattern(ot);var ct=null;try{ct=new RegExp(pe,ze)}catch{}return this.finishToken(E.regexp,{pattern:pe,flags:ze,value:ct})},bt.readInt=function(y,T,U){for(var X=this.options.ecmaVersion>=12&&T===void 0,pe=U&&this.input.charCodeAt(this.pos)===48,Ue=this.pos,ze=0,ot=0,ct=0,Et=T??1/0;ct<Et;++ct,++this.pos){var vt=this.input.charCodeAt(this.pos),qt=void 0;if(X&&vt===95){pe&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),ot===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),ct===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),ot=vt;continue}if(vt>=97?qt=vt-97+10:vt>=65?qt=vt-65+10:vt>=48&&vt<=57?qt=vt-48:qt=1/0,qt>=y)break;ot=vt,ze=ze*y+qt}return X&&ot===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===Ue||T!=null&&this.pos-Ue!==T?null:ze};function gn(y,T){return T?parseInt(y,8):parseFloat(y.replace(/_/g,""))}function Hr(y){return typeof BigInt!="function"?null:BigInt(y.replace(/_/g,""))}bt.readRadixNumber=function(y){var T=this.pos;this.pos+=2;var U=this.readInt(y);return U==null&&this.raise(this.start+2,"Expected number in radix "+y),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(U=Hr(this.input.slice(T,this.pos)),++this.pos):l(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(E.num,U)},bt.readNumber=function(y){var T=this.pos;!y&&this.readInt(10,void 0,!0)===null&&this.raise(T,"Invalid number");var U=this.pos-T>=2&&this.input.charCodeAt(T)===48;U&&this.strict&&this.raise(T,"Invalid number");var X=this.input.charCodeAt(this.pos);if(!U&&!y&&this.options.ecmaVersion>=11&&X===110){var pe=Hr(this.input.slice(T,this.pos));return++this.pos,l(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(E.num,pe)}U&&/[89]/.test(this.input.slice(T,this.pos))&&(U=!1),X===46&&!U&&(++this.pos,this.readInt(10),X=this.input.charCodeAt(this.pos)),(X===69||X===101)&&!U&&(X=this.input.charCodeAt(++this.pos),(X===43||X===45)&&++this.pos,this.readInt(10)===null&&this.raise(T,"Invalid number")),l(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var Ue=gn(this.input.slice(T,this.pos),U);return this.finishToken(E.num,Ue)},bt.readCodePoint=function(){var y=this.input.charCodeAt(this.pos),T;if(y===123){this.options.ecmaVersion<6&&this.unexpected();var U=++this.pos;T=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,T>1114111&&this.invalidStringToken(U,"Code point out of bounds")}else T=this.readHexChar(4);return T},bt.readString=function(y){for(var T="",U=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var X=this.input.charCodeAt(this.pos);if(X===y)break;X===92?(T+=this.input.slice(U,this.pos),T+=this.readEscapedChar(!1),U=this.pos):X===8232||X===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(A(X)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return T+=this.input.slice(U,this.pos++),this.finishToken(E.string,T)};var Kr={};bt.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(y){if(y===Kr)this.readInvalidTemplateToken();else throw y}this.inTemplateElement=!1},bt.invalidStringToken=function(y,T){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Kr;this.raise(y,T)},bt.readTmplToken=function(){for(var y="",T=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var U=this.input.charCodeAt(this.pos);if(U===96||U===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===E.template||this.type===E.invalidTemplate)?U===36?(this.pos+=2,this.finishToken(E.dollarBraceL)):(++this.pos,this.finishToken(E.backQuote)):(y+=this.input.slice(T,this.pos),this.finishToken(E.template,y));if(U===92)y+=this.input.slice(T,this.pos),y+=this.readEscapedChar(!0),T=this.pos;else if(A(U)){switch(y+=this.input.slice(T,this.pos),++this.pos,U){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:y+=`
6
- `;break;default:y+=String.fromCharCode(U);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),T=this.pos}else++this.pos}},bt.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(E.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
7
- `&&++this.pos;case`
8
- `:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")},bt.readEscapedChar=function(y){var T=this.input.charCodeAt(++this.pos);switch(++this.pos,T){case 110:return`
9
- `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return _(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++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"),y){var U=this.pos-1;this.invalidStringToken(U,"Invalid escape sequence in template string")}default:if(T>=48&&T<=55){var X=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],pe=parseInt(X,8);return pe>255&&(X=X.slice(0,-1),pe=parseInt(X,8)),this.pos+=X.length-1,T=this.input.charCodeAt(this.pos),(X!=="0"||T===56||T===57)&&(this.strict||y)&&this.invalidStringToken(this.pos-1-X.length,y?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(pe)}return A(T)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(T)}},bt.readHexChar=function(y){var T=this.pos,U=this.readInt(16,y);return U===null&&this.invalidStringToken(T,"Bad character escape sequence"),U},bt.readWord1=function(){this.containsEsc=!1;for(var y="",T=!0,U=this.pos,X=this.options.ecmaVersion>=6;this.pos<this.input.length;){var pe=this.fullCharCodeAtPos();if(d(pe,X))this.pos+=pe<=65535?1:2;else if(pe===92){this.containsEsc=!0,y+=this.input.slice(U,this.pos);var Ue=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var ze=this.readCodePoint();(T?l:d)(ze,X)||this.invalidStringToken(Ue,"Invalid Unicode escape"),y+=_(ze),U=this.pos}else break;T=!1}return y+this.input.slice(U,this.pos)},bt.readWord=function(){var y=this.readWord1(),T=E.name;return this.keywords.test(y)&&(T=C[y]),this.finishToken(T,y)};var Ge="8.14.0";nt.acorn={Parser:nt,version:Ge,defaultOptions:xe,Position:K,SourceLocation:re,getLineInfo:te,Node:_e,TokenType:g,tokTypes:E,keywordTypes:C,TokContext:he,tokContexts:ke,isIdentifierChar:d,isIdentifierStart:l,Token:br,isNewLine:A,lineBreak:k,lineBreakG:x,nonASCIIwhitespace:B};function j(y,T){return nt.parse(y,T)}function ee(y,T,U){return nt.parseExpressionAt(y,T,U)}function fe(y,T){return nt.tokenizer(y,T)}n.Node=_e,n.Parser=nt,n.Position=K,n.SourceLocation=re,n.TokContext=he,n.Token=br,n.TokenType=g,n.defaultOptions=xe,n.getLineInfo=te,n.isIdentifierChar=d,n.isIdentifierStart=l,n.isNewLine=A,n.keywordTypes=C,n.lineBreak=k,n.lineBreakG=x,n.nonASCIIwhitespace=B,n.parse=j,n.parseExpressionAt=ee,n.tokContexts=ke,n.tokTypes=E,n.tokenizer=fe,n.version=Ge})}(bn,bn.exports)),bn.exports}var Jn={exports:{}},Yn,Qp;function fx(){return Qp||(Qp=1,Yn={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),Yn}var Zp;function px(){return Zp||(Zp=1,function(a){const e=fx(),n=/^[\da-fA-F]+$/,o=/^\d+$/,t=new WeakMap;function c(r){r=r.Parser.acorn||r;let h=t.get(r);if(!h){const i=r.tokTypes,f=r.TokContext,m=r.TokenType,s=new f("<tag",!1),l=new f("</tag",!1),d=new f("<tag>...</tag>",!0,!0),g={tc_oTag:s,tc_cTag:l,tc_expr:d},v={jsxName:new m("jsxName"),jsxText:new m("jsxText",{beforeExpr:!0}),jsxTagStart:new m("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new m("jsxTagEnd")};v.jsxTagStart.updateContext=function(){this.context.push(d),this.context.push(s),this.exprAllowed=!1},v.jsxTagEnd.updateContext=function(S){let b=this.context.pop();b===s&&S===i.slash||b===l?(this.context.pop(),this.exprAllowed=this.curContext()===d):this.exprAllowed=!0},h={tokContexts:g,tokTypes:v},t.set(r,h)}return h}function p(r){if(!r)return r;if(r.type==="JSXIdentifier")return r.name;if(r.type==="JSXNamespacedName")return r.namespace.name+":"+r.name.name;if(r.type==="JSXMemberExpression")return p(r.object)+"."+p(r.property)}a.exports=function(r){return r=r||{},function(h){return u({allowNamespaces:r.allowNamespaces!==!1,allowNamespacedObjects:!!r.allowNamespacedObjects},h)}},Object.defineProperty(a.exports,"tokTypes",{get:function(){return c(Xn()).tokTypes},configurable:!0,enumerable:!0});function u(r,h){const i=h.acorn||Xn(),f=c(i),m=i.tokTypes,s=f.tokTypes,l=i.tokContexts,d=f.tokContexts.tc_oTag,g=f.tokContexts.tc_cTag,v=f.tokContexts.tc_expr,S=i.isNewLine,b=i.isIdentifierStart,C=i.isIdentifierChar;return class extends h{static get acornJsx(){return f}jsx_readToken(){let w="",E=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let k=this.input.charCodeAt(this.pos);switch(k){case 60:case 123:return this.pos===this.start?k===60&&this.exprAllowed?(++this.pos,this.finishToken(s.jsxTagStart)):this.getTokenFromCode(k):(w+=this.input.slice(E,this.pos),this.finishToken(s.jsxText,w));case 38:w+=this.input.slice(E,this.pos),w+=this.jsx_readEntity(),E=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(k===62?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:S(k)?(w+=this.input.slice(E,this.pos),w+=this.jsx_readNewLine(!0),E=this.pos):++this.pos}}}jsx_readNewLine(w){let E=this.input.charCodeAt(this.pos),k;return++this.pos,E===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,k=w?`
10
- `:`\r
11
- `):k=String.fromCharCode(E),this.options.locations&&(++this.curLine,this.lineStart=this.pos),k}jsx_readString(w){let E="",k=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let x=this.input.charCodeAt(this.pos);if(x===w)break;x===38?(E+=this.input.slice(k,this.pos),E+=this.jsx_readEntity(),k=this.pos):S(x)?(E+=this.input.slice(k,this.pos),E+=this.jsx_readNewLine(!1),k=this.pos):++this.pos}return E+=this.input.slice(k,this.pos++),this.finishToken(m.string,E)}jsx_readEntity(){let w="",E=0,k,x=this.input[this.pos];x!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let A=++this.pos;for(;this.pos<this.input.length&&E++<10;){if(x=this.input[this.pos++],x===";"){w[0]==="#"?w[1]==="x"?(w=w.substr(2),n.test(w)&&(k=String.fromCharCode(parseInt(w,16)))):(w=w.substr(1),o.test(w)&&(k=String.fromCharCode(parseInt(w,10)))):k=e[w];break}w+=x}return k||(this.pos=A,"&")}jsx_readWord(){let w,E=this.pos;do w=this.input.charCodeAt(++this.pos);while(C(w)||w===45);return this.finishToken(s.jsxName,this.input.slice(E,this.pos))}jsx_parseIdentifier(){let w=this.startNode();return this.type===s.jsxName?w.name=this.value:this.type.keyword?w.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(w,"JSXIdentifier")}jsx_parseNamespacedName(){let w=this.start,E=this.startLoc,k=this.jsx_parseIdentifier();if(!r.allowNamespaces||!this.eat(m.colon))return k;var x=this.startNodeAt(w,E);return x.namespace=k,x.name=this.jsx_parseIdentifier(),this.finishNode(x,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===s.jsxTagEnd)return"";let w=this.start,E=this.startLoc,k=this.jsx_parseNamespacedName();for(this.type===m.dot&&k.type==="JSXNamespacedName"&&!r.allowNamespacedObjects&&this.unexpected();this.eat(m.dot);){let x=this.startNodeAt(w,E);x.object=k,x.property=this.jsx_parseIdentifier(),k=this.finishNode(x,"JSXMemberExpression")}return k}jsx_parseAttributeValue(){switch(this.type){case m.braceL:let w=this.jsx_parseExpressionContainer();return w.expression.type==="JSXEmptyExpression"&&this.raise(w.start,"JSX attributes must only be assigned a non-empty expression"),w;case s.jsxTagStart:case m.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let w=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(w,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let w=this.startNode();return this.next(),w.expression=this.type===m.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(m.braceR),this.finishNode(w,"JSXExpressionContainer")}jsx_parseAttribute(){let w=this.startNode();return this.eat(m.braceL)?(this.expect(m.ellipsis),w.argument=this.parseMaybeAssign(),this.expect(m.braceR),this.finishNode(w,"JSXSpreadAttribute")):(w.name=this.jsx_parseNamespacedName(),w.value=this.eat(m.eq)?this.jsx_parseAttributeValue():null,this.finishNode(w,"JSXAttribute"))}jsx_parseOpeningElementAt(w,E){let k=this.startNodeAt(w,E);k.attributes=[];let x=this.jsx_parseElementName();for(x&&(k.name=x);this.type!==m.slash&&this.type!==s.jsxTagEnd;)k.attributes.push(this.jsx_parseAttribute());return k.selfClosing=this.eat(m.slash),this.expect(s.jsxTagEnd),this.finishNode(k,x?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(w,E){let k=this.startNodeAt(w,E),x=this.jsx_parseElementName();return x&&(k.name=x),this.expect(s.jsxTagEnd),this.finishNode(k,x?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(w,E){let k=this.startNodeAt(w,E),x=[],A=this.jsx_parseOpeningElementAt(w,E),I=null;if(!A.selfClosing){e:for(;;)switch(this.type){case s.jsxTagStart:if(w=this.start,E=this.startLoc,this.next(),this.eat(m.slash)){I=this.jsx_parseClosingElementAt(w,E);break e}x.push(this.jsx_parseElementAt(w,E));break;case s.jsxText:x.push(this.parseExprAtom());break;case m.braceL:x.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}p(I.name)!==p(A.name)&&this.raise(I.start,"Expected corresponding JSX closing tag for <"+p(A.name)+">")}let B=A.name?"Element":"Fragment";return k["opening"+B]=A,k["closing"+B]=I,k.children=x,this.type===m.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(k,"JSX"+B)}jsx_parseText(){let w=this.parseLiteral(this.value);return w.type="JSXText",w}jsx_parseElement(){let w=this.start,E=this.startLoc;return this.next(),this.jsx_parseElementAt(w,E)}parseExprAtom(w){return this.type===s.jsxText?this.jsx_parseText():this.type===s.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(w)}readToken(w){let E=this.curContext();if(E===v)return this.jsx_readToken();if(E===d||E===g){if(b(w))return this.jsx_readWord();if(w==62)return++this.pos,this.finishToken(s.jsxTagEnd);if((w===34||w===39)&&E==d)return this.jsx_readString(w)}return w===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(s.jsxTagStart)):super.readToken(w)}updateContext(w){if(this.type==m.braceL){var E=this.curContext();E==d?this.context.push(l.b_expr):E==v?this.context.push(l.b_tmpl):super.updateContext(w),this.exprAllowed=!0}else if(this.type===m.slash&&w===s.jsxTagStart)this.context.length-=2,this.context.push(g),this.exprAllowed=!1;else return super.updateContext(w)}}}}(Jn)),Jn.exports}var Zr={},em;function mx(){if(em)return Zr;em=1;const a={ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],AwaitExpression:["argument"],BinaryExpression:["left","right"],BlockStatement:["body"],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:[],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ExportAllDeclaration:["exported","source","attributes"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportAttribute:["key","value"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportExpression:["source","options"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXClosingFragment:[],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXFragment:["openingFragment","children","closingFragment"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes"],JSXOpeningFragment:[],JSXSpreadAttribute:["argument"],JSXSpreadChild:["expression"],JSXText:[],LabeledStatement:["label","body"],Literal:[],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"],StaticBlock:["body"],Super:[],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],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"]},e=Object.keys(a);for(const p of e)Object.freeze(a[p]);Object.freeze(a);const n=new Set(["parent","leadingComments","trailingComments"]);function o(p){return!n.has(p)&&p[0]!=="_"}function t(p){return Object.keys(p).filter(o)}function c(p){const u=Object.assign({},a);for(const r of Object.keys(p))if(Object.hasOwn(u,r)){const h=new Set(p[r]);for(const i of u[r])h.add(i);u[r]=Object.freeze(Array.from(h))}else u[r]=Object.freeze(Array.from(p[r]));return Object.freeze(u)}return Zr.KEYS=a,Zr.getKeys=t,Zr.unionWith=c,Zr}var tm;function xn(){if(tm)return tr;tm=1,Object.defineProperty(tr,"__esModule",{value:!0});var a=Xn(),e=px(),n=mx();function o(R){return R&&typeof R=="object"&&"default"in R?R:{default:R}}function t(R){if(R&&R.__esModule)return R;var N=Object.create(null);return R&&Object.keys(R).forEach(function(q){if(q!=="default"){var L=Object.getOwnPropertyDescriptor(R,q);Object.defineProperty(N,q,L.get?L:{enumerable:!0,get:function(){return R[q]}})}}),N.default=R,Object.freeze(N)}var c=t(a),p=o(e),u=t(n);const r={Boolean:"Boolean",Identifier:"Identifier",PrivateIdentifier:"PrivateIdentifier",Keyword:"Keyword",Null:"Null",Numeric:"Numeric",Punctuator:"Punctuator",String:"String",RegularExpression:"RegularExpression",Template:"Template",JSXIdentifier:"JSXIdentifier",JSXText:"JSXText"};function h(R,N){const q=R[0],L=R.at(-1),W={type:r.Template,value:N.slice(q.start,L.end)};return q.loc&&(W.loc={start:q.loc.start,end:L.loc.end}),q.range&&(W.start=q.range[0],W.end=L.range[1],W.range=[W.start,W.end]),W}function i(R,N){this._acornTokTypes=R,this._tokens=[],this._curlyBrace=null,this._code=N}i.prototype={constructor:i,translate(R,N){const q=R.type,L=this._acornTokTypes;if(q===L.name)R.type=r.Identifier,R.value==="static"&&(R.type=r.Keyword),N.ecmaVersion>5&&(R.value==="yield"||R.value==="let")&&(R.type=r.Keyword);else if(q===L.privateId)R.type=r.PrivateIdentifier;else if(q===L.semi||q===L.comma||q===L.parenL||q===L.parenR||q===L.braceL||q===L.braceR||q===L.dot||q===L.bracketL||q===L.colon||q===L.question||q===L.bracketR||q===L.ellipsis||q===L.arrow||q===L.jsxTagStart||q===L.incDec||q===L.starstar||q===L.jsxTagEnd||q===L.prefix||q===L.questionDot||q.binop&&!q.keyword||q.isAssign)R.type=r.Punctuator,R.value=this._code.slice(R.start,R.end);else if(q===L.jsxName)R.type=r.JSXIdentifier;else if(q.label==="jsxText"||q===L.jsxAttrValueToken)R.type=r.JSXText;else if(q.keyword)q.keyword==="true"||q.keyword==="false"?R.type=r.Boolean:q.keyword==="null"?R.type=r.Null:R.type=r.Keyword;else if(q===L.num)R.type=r.Numeric,R.value=this._code.slice(R.start,R.end);else if(q===L.string)N.jsxAttrValueToken?(N.jsxAttrValueToken=!1,R.type=r.JSXText):R.type=r.String,R.value=this._code.slice(R.start,R.end);else if(q===L.regexp){R.type=r.RegularExpression;const W=R.value;R.regex={flags:W.flags,pattern:W.pattern},R.value=`/${W.pattern}/${W.flags}`}return R},onToken(R,N){const q=this._acornTokTypes,L=N.tokens,W=this._tokens,_=()=>{L.push(h(this._tokens,this._code)),this._tokens=[]};if(R.type===q.eof){this._curlyBrace&&L.push(this.translate(this._curlyBrace,N));return}if(R.type===q.backQuote){this._curlyBrace&&(L.push(this.translate(this._curlyBrace,N)),this._curlyBrace=null),W.push(R),W.length>1&&_();return}if(R.type===q.dollarBraceL){W.push(R),_();return}if(R.type===q.braceR){this._curlyBrace&&L.push(this.translate(this._curlyBrace,N)),this._curlyBrace=R;return}if(R.type===q.template||R.type===q.invalidTemplate){this._curlyBrace&&(W.push(this._curlyBrace),this._curlyBrace=null),W.push(R);return}this._curlyBrace&&(L.push(this.translate(this._curlyBrace,N)),this._curlyBrace=null),L.push(this.translate(R,N))}};const f=[3,5,6,7,8,9,10,11,12,13,14,15,16];function m(){return f.at(-1)}function s(){return[...f]}function l(R=5){let N=R==="latest"?m():R;if(typeof N!="number")throw new Error(`ecmaVersion must be a number or "latest". Received value of type ${typeof R} instead.`);if(N>=2015&&(N-=2009),!f.includes(N))throw new Error("Invalid ecmaVersion.");return N}function d(R="script"){if(R==="script"||R==="module")return R;if(R==="commonjs")return"script";throw new Error("Invalid sourceType.")}function g(R){const N=l(R.ecmaVersion),q=d(R.sourceType),L=R.range===!0,W=R.loc===!0;if(N!==3&&R.allowReserved)throw new Error("`allowReserved` is only supported when ecmaVersion is 3");if(typeof R.allowReserved<"u"&&typeof R.allowReserved!="boolean")throw new Error("`allowReserved`, when present, must be `true` or `false`");const _=N===3?R.allowReserved||"never":!1,H=R.ecmaFeatures||{},K=R.sourceType==="commonjs"||!!H.globalReturn;if(q==="module"&&N<6)throw new Error("sourceType 'module' is not supported when ecmaVersion < 2015. Consider adding `{ ecmaVersion: 2015 }` to the parser options.");return Object.assign({},R,{ecmaVersion:N,sourceType:q,ranges:L,locations:W,allowReserved:_,allowReturnOutsideFunction:K})}const v=Symbol("espree's internal state"),S=Symbol("espree's esprimaFinishNode");function b(R,N,q,L,W,_,H){let K;R?K="Block":H.slice(q,q+2)==="#!"?K="Hashbang":K="Line";const re={type:K,value:N};return typeof q=="number"&&(re.start=q,re.end=L,re.range=[q,L]),typeof W=="object"&&(re.loc={start:W,end:_}),re}var C=()=>R=>{const N=Object.assign({},R.acorn.tokTypes);return R.acornJsx&&Object.assign(N,R.acornJsx.tokTypes),class extends R{constructor(L,W){(typeof L!="object"||L===null)&&(L={}),typeof W!="string"&&!(W instanceof String)&&(W=String(W));const _=L.sourceType,H=g(L),K=H.ecmaFeatures||{},re=H.tokens===!0?new i(N,W):null,te={originalSourceType:_||H.sourceType,tokens:re?[]:null,comments:H.comment===!0?[]:null,impliedStrict:K.impliedStrict===!0&&H.ecmaVersion>=5,ecmaVersion:H.ecmaVersion,jsxAttrValueToken:!1,lastToken:null,templateElements:[]};super({ecmaVersion:H.ecmaVersion,sourceType:H.sourceType,ranges:H.ranges,locations:H.locations,allowReserved:H.allowReserved,allowReturnOutsideFunction:H.allowReturnOutsideFunction,onToken(xe){re&&re.onToken(xe,te),xe.type!==N.eof&&(te.lastToken=xe)},onComment(xe,Y,F,z,ne,ae){if(te.comments){const be=b(xe,Y,F,z,ne,ae,W);te.comments.push(be)}}},W),this[v]=te}tokenize(){do this.next();while(this.type!==N.eof);this.next();const L=this[v],W=L.tokens;return L.comments&&(W.comments=L.comments),W}finishNode(...L){const W=super.finishNode(...L);return this[S](W)}finishNodeAt(...L){const W=super.finishNodeAt(...L);return this[S](W)}parse(){const L=this[v],W=super.parse();if(W.sourceType=L.originalSourceType,L.comments&&(W.comments=L.comments),L.tokens&&(W.tokens=L.tokens),W.body.length){const[_]=W.body;W.range&&(W.range[0]=_.range[0]),W.loc&&(W.loc.start=_.loc.start),W.start=_.start}return L.lastToken&&(W.range&&(W.range[1]=L.lastToken.range[1]),W.loc&&(W.loc.end=L.lastToken.loc.end),W.end=L.lastToken.end),this[v].templateElements.forEach(_=>{const K=_.tail?1:2;_.start+=-1,_.end+=K,_.range&&(_.range[0]+=-1,_.range[1]+=K),_.loc&&(_.loc.start.column+=-1,_.loc.end.column+=K)}),W}parseTopLevel(L){return this[v].impliedStrict&&(this.strict=!0),super.parseTopLevel(L)}raise(L,W){const _=R.acorn.getLineInfo(this.input,L),H=new SyntaxError(W);throw H.index=L,H.lineNumber=_.line,H.column=_.column+1,H}raiseRecoverable(L,W){this.raise(L,W)}unexpected(L){let W="Unexpected token";if(L!=null){if(this.pos=L,this.options.locations)for(;this.pos<this.lineStart;)this.lineStart=this.input.lastIndexOf(`
12
- `,this.lineStart-2)+1,--this.curLine;this.nextToken()}this.end>this.start&&(W+=` ${this.input.slice(this.start,this.end)}`),this.raise(this.start,W)}jsx_readString(L){const W=super.jsx_readString(L);return this.type===N.string&&(this[v].jsxAttrValueToken=!0),W}[S](L){return L.type==="TemplateElement"&&this[v].templateElements.push(L),L.type.includes("Function")&&!L.generator&&(L.generator=!1),L}}};const w="10.3.0",E={_regular:null,_jsx:null,get regular(){return this._regular===null&&(this._regular=c.Parser.extend(C())),this._regular},get jsx(){return this._jsx===null&&(this._jsx=c.Parser.extend(p.default(),C())),this._jsx},get(R){return!!(R&&R.ecmaFeatures&&R.ecmaFeatures.jsx)?this.jsx:this.regular}};function k(R,N){const q=E.get(N);return(!N||N.tokens!==!0)&&(N=Object.assign({},N,{tokens:!0})),new q(N,R).tokenize()}function x(R,N){const q=E.get(N);return new q(N,R).parse()}const A=w,I="espree",B=function(){return u.KEYS}(),M=function(){let R,N={};typeof Object.create=="function"&&(N=Object.create(null));for(R in B)Object.hasOwn(B,R)&&(N[R]=R);return typeof Object.freeze=="function"&&Object.freeze(N),N}(),P=m(),D=s();return tr.Syntax=M,tr.VisitorKeys=B,tr.latestEcmaVersion=P,tr.name=I,tr.parse=x,tr.supportedEcmaVersions=D,tr.tokenize=k,tr.version=A,tr}var en={exports:{}};en.exports;var rm;function hx(){return rm||(rm=1,function(a,e){var n=200,o="__lodash_hash_undefined__",t=800,c=16,p=9007199254740991,u="[object Arguments]",r="[object Array]",h="[object AsyncFunction]",i="[object Boolean]",f="[object Date]",m="[object Error]",s="[object Function]",l="[object GeneratorFunction]",d="[object Map]",g="[object Number]",v="[object Null]",S="[object Object]",b="[object Proxy]",C="[object RegExp]",w="[object Set]",E="[object String]",k="[object Undefined]",x="[object WeakMap]",A="[object ArrayBuffer]",I="[object DataView]",B="[object Float32Array]",M="[object Float64Array]",P="[object Int8Array]",D="[object Int16Array]",R="[object Int32Array]",N="[object Uint8Array]",q="[object Uint8ClampedArray]",L="[object Uint16Array]",W="[object Uint32Array]",_=/[\\^$.*+?()[\]{}|]/g,H=/^\[object .+?Constructor\]$/,K=/^(?:0|[1-9]\d*)$/,re={};re[B]=re[M]=re[P]=re[D]=re[R]=re[N]=re[q]=re[L]=re[W]=!0,re[u]=re[r]=re[A]=re[i]=re[I]=re[f]=re[m]=re[s]=re[d]=re[g]=re[S]=re[C]=re[w]=re[E]=re[x]=!1;var te=typeof wt=="object"&&wt&&wt.Object===Object&&wt,xe=typeof self=="object"&&self&&self.Object===Object&&self,Y=te||xe||Function("return this")(),F=e&&!e.nodeType&&e,z=F&&!0&&a&&!a.nodeType&&a,ne=z&&z.exports===F,ae=ne&&te.process,be=function(){try{var Se=z&&z.require&&z.require("util").types;return Se||ae&&ae.binding&&ae.binding("util")}catch{}}(),Pe=be&&be.isTypedArray;function Ie(Se,je,He){switch(He.length){case 0:return Se.call(je);case 1:return Se.call(je,He[0]);case 2:return Se.call(je,He[0],He[1]);case 3:return Se.call(je,He[0],He[1],He[2])}return Se.apply(je,He)}function ue(Se,je){for(var He=-1,mt=Array(Se);++He<Se;)mt[He]=je(He);return mt}function ve(Se){return function(je){return Se(je)}}function G(Se,je){return Se==null?void 0:Se[je]}function J(Se,je){return function(He){return Se(je(He))}}var Te=Array.prototype,$=Function.prototype,se=Object.prototype,De=Y["__core-js_shared__"],Le=$.toString,Fe=se.hasOwnProperty,V=function(){var Se=/[^.]+$/.exec(De&&De.keys&&De.keys.IE_PROTO||"");return Se?"Symbol(src)_1."+Se:""}(),et=se.toString,nt=Le.call(Object),lt=RegExp("^"+Le.call(Fe).replace(_,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Qe=ne?Y.Buffer:void 0,Xe=Y.Symbol,pt=Y.Uint8Array;Qe&&Qe.allocUnsafe;var tt=J(Object.getPrototypeOf,Object),Dt=Object.create,st=se.propertyIsEnumerable,Ce=Te.splice,ge=Xe?Xe.toStringTag:void 0,ye=function(){try{var Se=Or(Object,"defineProperty");return Se({},"",{}),Se}catch{}}(),Re=Qe?Qe.isBuffer:void 0,We=Math.max,ce=Date.now,de=Or(Y,"Map"),he=Or(Object,"create"),ke=function(){function Se(){}return function(je){if(!pe(je))return{};if(Dt)return Dt(je);Se.prototype=je;var He=new Se;return Se.prototype=void 0,He}}();function $e(Se){var je=-1,He=Se==null?0:Se.length;for(this.clear();++je<He;){var mt=Se[je];this.set(mt[0],mt[1])}}function Ee(){this.__data__=he?he(null):{},this.size=0}function O(Se){var je=this.has(Se)&&delete this.__data__[Se];return this.size-=je?1:0,je}function Q(Se){var je=this.__data__;if(he){var He=je[Se];return He===o?void 0:He}return Fe.call(je,Se)?je[Se]:void 0}function ie(Se){var je=this.__data__;return he?je[Se]!==void 0:Fe.call(je,Se)}function Z(Se,je){var He=this.__data__;return this.size+=this.has(Se)?0:1,He[Se]=he&&je===void 0?o:je,this}$e.prototype.clear=Ee,$e.prototype.delete=O,$e.prototype.get=Q,$e.prototype.has=ie,$e.prototype.set=Z;function le(Se){var je=-1,He=Se==null?0:Se.length;for(this.clear();++je<He;){var mt=Se[je];this.set(mt[0],mt[1])}}function Ae(){this.__data__=[],this.size=0}function _e(Se){var je=this.__data__,He=dt(je,Se);if(He<0)return!1;var mt=je.length-1;return He==mt?je.pop():Ce.call(je,He,1),--this.size,!0}function Ve(Se){var je=this.__data__,He=dt(je,Se);return He<0?void 0:je[He][1]}function Ye(Se){return dt(this.__data__,Se)>-1}function me(Se,je){var He=this.__data__,mt=dt(He,Se);return mt<0?(++this.size,He.push([Se,je])):He[mt][1]=je,this}le.prototype.clear=Ae,le.prototype.delete=_e,le.prototype.get=Ve,le.prototype.has=Ye,le.prototype.set=me;function oe(Se){var je=-1,He=Se==null?0:Se.length;for(this.clear();++je<He;){var mt=Se[je];this.set(mt[0],mt[1])}}function we(){this.size=0,this.__data__={hash:new $e,map:new(de||le),string:new $e}}function Be(Se){var je=zt(this,Se).delete(Se);return this.size-=je?1:0,je}function Ne(Se){return zt(this,Se).get(Se)}function at(Se){return zt(this,Se).has(Se)}function qe(Se,je){var He=zt(this,Se),mt=He.size;return He.set(Se,je),this.size+=He.size==mt?0:1,this}oe.prototype.clear=we,oe.prototype.delete=Be,oe.prototype.get=Ne,oe.prototype.has=at,oe.prototype.set=qe;function Je(Se){var je=this.__data__=new le(Se);this.size=je.size}function Ze(){this.__data__=new le,this.size=0}function Oe(Se){var je=this.__data__,He=je.delete(Se);return this.size=je.size,He}function Ke(Se){return this.__data__.get(Se)}function it(Se){return this.__data__.has(Se)}function ht(Se,je){var He=this.__data__;if(He instanceof le){var mt=He.__data__;if(!de||mt.length<n-1)return mt.push([Se,je]),this.size=++He.size,this;He=this.__data__=new oe(mt)}return He.set(Se,je),this.size=He.size,this}Je.prototype.clear=Ze,Je.prototype.delete=Oe,Je.prototype.get=Ke,Je.prototype.has=it,Je.prototype.set=ht;function ft(Se,je){var He=ee(Se),mt=!He&&j(Se),xt=!He&&!mt&&T(Se),It=!He&&!mt&&!xt&&ot(Se),Lt=He||mt||xt||It,Ct=Lt?ue(Se.length,String):[],Ot=Ct.length;for(var ar in Se)Lt&&(ar=="length"||xt&&(ar=="offset"||ar=="parent")||It&&(ar=="buffer"||ar=="byteLength"||ar=="byteOffset")||Gr(ar,Ot))||Ct.push(ar);return Ct}function gt(Se,je,He){(He!==void 0&&!Ge(Se[je],He)||He===void 0&&!(je in Se))&&At(Se,je,He)}function yt(Se,je,He){var mt=Se[je];(!(Fe.call(Se,je)&&Ge(mt,He))||He===void 0&&!(je in Se))&&At(Se,je,He)}function dt(Se,je){for(var He=Se.length;He--;)if(Ge(Se[He][0],je))return He;return-1}function At(Se,je,He){je=="__proto__"&&ye?ye(Se,je,{configurable:!0,enumerable:!0,value:He,writable:!0}):Se[je]=He}var Ft=Gt();function Rt(Se){return Se==null?Se===void 0?k:v:ge&&ge in Object(Se)?Nr(Se):zr(Se)}function _t(Se){return Ue(Se)&&Rt(Se)==u}function Ut(Se){if(!pe(Se)||Tr(Se))return!1;var je=U(Se)?lt:H;return je.test(Kr(Se))}function Vt(Se){return Ue(Se)&&X(Se.length)&&!!re[Rt(Se)]}function ut(Se){if(!pe(Se))return Sr(Se);var je=Mr(Se),He=[];for(var mt in Se)mt=="constructor"&&(je||!Fe.call(Se,mt))||He.push(mt);return He}function Wt(Se,je,He,mt,xt){Se!==je&&Ft(je,function(It,Lt){if(xt||(xt=new Je),pe(It))Bt(Se,je,Lt,He,Wt,mt,xt);else{var Ct=mt?mt(bt(Se,Lt),It,Lt+"",Se,je,xt):void 0;Ct===void 0&&(Ct=It),gt(Se,Lt,Ct)}},Et)}function Bt(Se,je,He,mt,xt,It,Lt){var Ct=bt(Se,He),Ot=bt(je,He),ar=Lt.get(Ot);if(ar){gt(Se,He,ar);return}var Yt=It?It(Ct,Ot,He+"",Se,je,Lt):void 0,yn=Yt===void 0;if(yn){var Dp=ee(Ot),Ip=!Dp&&T(Ot),k0=!Dp&&!Ip&&ot(Ot);Yt=Ot,Dp||Ip||k0?ee(Ct)?Yt=Ct:y(Ct)?Yt=er(Ct):Ip?(yn=!1,Yt=yr(Ot)):k0?(yn=!1,Yt=pr(Ot)):Yt=[]:ze(Ot)||j(Ot)?(Yt=Ct,j(Ct)?Yt=ct(Ct):(!pe(Ct)||U(Ct))&&(Yt=hn(Ot))):yn=!1}yn&&(Lt.set(Ot,Yt),xt(Yt,Ot,mt,It,Lt),Lt.delete(Ot)),gt(Se,He,Yt)}function nr(Se,je){return gn(br(Se,je,mr),Se+"")}var Ar=ye?function(Se,je){return ye(Se,"toString",{configurable:!0,enumerable:!1,value:qt(je),writable:!0})}:mr;function yr(Se,je){return Se.slice()}function sr(Se){var je=new Se.constructor(Se.byteLength);return new pt(je).set(new pt(Se)),je}function pr(Se,je){var He=sr(Se.buffer);return new Se.constructor(He,Se.byteOffset,Se.length)}function er(Se,je){var He=-1,mt=Se.length;for(je||(je=Array(mt));++He<mt;)je[He]=Se[He];return je}function vr(Se,je,He,mt){var xt=!He;He||(He={});for(var It=-1,Lt=je.length;++It<Lt;){var Ct=je[It],Ot=void 0;Ot===void 0&&(Ot=Se[Ct]),xt?At(He,Ct,Ot):yt(He,Ct,Ot)}return He}function Er(Se){return nr(function(je,He){var mt=-1,xt=He.length,It=xt>1?He[xt-1]:void 0,Lt=xt>2?He[2]:void 0;for(It=Se.length>3&&typeof It=="function"?(xt--,It):void 0,Lt&&jr(He[0],He[1],Lt)&&(It=xt<3?void 0:It,xt=1),je=Object(je);++mt<xt;){var Ct=He[mt];Ct&&Se(je,Ct,mt,It)}return je})}function Gt(Se){return function(je,He,mt){for(var xt=-1,It=Object(je),Lt=mt(je),Ct=Lt.length;Ct--;){var Ot=Lt[++xt];if(He(It[Ot],Ot,It)===!1)break}return je}}function zt(Se,je){var He=Se.__data__;return dn(je)?He[typeof je=="string"?"string":"hash"]:He.map}function Or(Se,je){var He=G(Se,je);return Ut(He)?He:void 0}function Nr(Se){var je=Fe.call(Se,ge),He=Se[ge];try{Se[ge]=void 0;var mt=!0}catch{}var xt=et.call(Se);return mt&&(je?Se[ge]=He:delete Se[ge]),xt}function hn(Se){return typeof Se.constructor=="function"&&!Mr(Se)?ke(tt(Se)):{}}function Gr(Se,je){var He=typeof Se;return je=je??p,!!je&&(He=="number"||He!="symbol"&&K.test(Se))&&Se>-1&&Se%1==0&&Se<je}function jr(Se,je,He){if(!pe(He))return!1;var mt=typeof je;return(mt=="number"?fe(He)&&Gr(je,He.length):mt=="string"&&je in He)?Ge(He[je],Se):!1}function dn(Se){var je=typeof Se;return je=="string"||je=="number"||je=="symbol"||je=="boolean"?Se!=="__proto__":Se===null}function Tr(Se){return!!V&&V in Se}function Mr(Se){var je=Se&&Se.constructor,He=typeof je=="function"&&je.prototype||se;return Se===He}function Sr(Se){var je=[];if(Se!=null)for(var He in Object(Se))je.push(He);return je}function zr(Se){return et.call(Se)}function br(Se,je,He){return je=We(je===void 0?Se.length-1:je,0),function(){for(var mt=arguments,xt=-1,It=We(mt.length-je,0),Lt=Array(It);++xt<It;)Lt[xt]=mt[je+xt];xt=-1;for(var Ct=Array(je+1);++xt<je;)Ct[xt]=mt[xt];return Ct[je]=He(Lt),Ie(Se,this,Ct)}}function bt(Se,je){if(!(je==="constructor"&&typeof Se[je]=="function")&&je!="__proto__")return Se[je]}var gn=Hr(Ar);function Hr(Se){var je=0,He=0;return function(){var mt=ce(),xt=c-(mt-He);if(He=mt,xt>0){if(++je>=t)return arguments[0]}else je=0;return Se.apply(void 0,arguments)}}function Kr(Se){if(Se!=null){try{return Le.call(Se)}catch{}try{return Se+""}catch{}}return""}function Ge(Se,je){return Se===je||Se!==Se&&je!==je}var j=_t(function(){return arguments}())?_t:function(Se){return Ue(Se)&&Fe.call(Se,"callee")&&!st.call(Se,"callee")},ee=Array.isArray;function fe(Se){return Se!=null&&X(Se.length)&&!U(Se)}function y(Se){return Ue(Se)&&fe(Se)}var T=Re||Ur;function U(Se){if(!pe(Se))return!1;var je=Rt(Se);return je==s||je==l||je==h||je==b}function X(Se){return typeof Se=="number"&&Se>-1&&Se%1==0&&Se<=p}function pe(Se){var je=typeof Se;return Se!=null&&(je=="object"||je=="function")}function Ue(Se){return Se!=null&&typeof Se=="object"}function ze(Se){if(!Ue(Se)||Rt(Se)!=S)return!1;var je=tt(Se);if(je===null)return!0;var He=Fe.call(je,"constructor")&&je.constructor;return typeof He=="function"&&He instanceof He&&Le.call(He)==nt}var ot=Pe?ve(Pe):Vt;function ct(Se){return vr(Se,Et(Se))}function Et(Se){return fe(Se)?ft(Se):ut(Se)}var vt=Er(function(Se,je,He){Wt(Se,je,He)});function qt(Se){return function(){return Se}}function mr(Se){return Se}function Ur(){return!1}a.exports=vt}(en,en.exports)),en.exports}var dx="9.28.0",gx={version:dx},Cn={},ir=[],Zt=[],yx=typeof Uint8Array<"u"?Uint8Array:Array,Qn=!1;function nm(){Qn=!0;for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,n=a.length;e<n;++e)ir[e]=a[e],Zt[a.charCodeAt(e)]=e;Zt[45]=62,Zt[95]=63}function vx(a){Qn||nm();var e,n,o,t,c,p,u=a.length;if(u%4>0)throw new Error("Invalid string. Length must be a multiple of 4");c=a[u-2]==="="?2:a[u-1]==="="?1:0,p=new yx(u*3/4-c),o=c>0?u-4:u;var r=0;for(e=0,n=0;e<o;e+=4,n+=3)t=Zt[a.charCodeAt(e)]<<18|Zt[a.charCodeAt(e+1)]<<12|Zt[a.charCodeAt(e+2)]<<6|Zt[a.charCodeAt(e+3)],p[r++]=t>>16&255,p[r++]=t>>8&255,p[r++]=t&255;return c===2?(t=Zt[a.charCodeAt(e)]<<2|Zt[a.charCodeAt(e+1)]>>4,p[r++]=t&255):c===1&&(t=Zt[a.charCodeAt(e)]<<10|Zt[a.charCodeAt(e+1)]<<4|Zt[a.charCodeAt(e+2)]>>2,p[r++]=t>>8&255,p[r++]=t&255),p}function Ex(a){return ir[a>>18&63]+ir[a>>12&63]+ir[a>>6&63]+ir[a&63]}function Sx(a,e,n){for(var o,t=[],c=e;c<n;c+=3)o=(a[c]<<16)+(a[c+1]<<8)+a[c+2],t.push(Ex(o));return t.join("")}function sm(a){Qn||nm();for(var e,n=a.length,o=n%3,t="",c=[],p=16383,u=0,r=n-o;u<r;u+=p)c.push(Sx(a,u,u+p>r?r:u+p));return o===1?(e=a[n-1],t+=ir[e>>2],t+=ir[e<<4&63],t+="=="):o===2&&(e=(a[n-2]<<8)+a[n-1],t+=ir[e>>10],t+=ir[e>>4&63],t+=ir[e<<2&63],t+="="),c.push(t),c.join("")}function wn(a,e,n,o,t){var c,p,u=t*8-o-1,r=(1<<u)-1,h=r>>1,i=-7,f=n?t-1:0,m=n?-1:1,s=a[e+f];for(f+=m,c=s&(1<<-i)-1,s>>=-i,i+=u;i>0;c=c*256+a[e+f],f+=m,i-=8);for(p=c&(1<<-i)-1,c>>=-i,i+=o;i>0;p=p*256+a[e+f],f+=m,i-=8);if(c===0)c=1-h;else{if(c===r)return p?NaN:(s?-1:1)*(1/0);p=p+Math.pow(2,o),c=c-h}return(s?-1:1)*p*Math.pow(2,c-o)}function am(a,e,n,o,t,c){var p,u,r,h=c*8-t-1,i=(1<<h)-1,f=i>>1,m=t===23?Math.pow(2,-24)-Math.pow(2,-77):0,s=o?0:c-1,l=o?1:-1,d=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,p=i):(p=Math.floor(Math.log(e)/Math.LN2),e*(r=Math.pow(2,-p))<1&&(p--,r*=2),p+f>=1?e+=m/r:e+=m*Math.pow(2,1-f),e*r>=2&&(p++,r/=2),p+f>=i?(u=0,p=i):p+f>=1?(u=(e*r-1)*Math.pow(2,t),p=p+f):(u=e*Math.pow(2,f-1)*Math.pow(2,t),p=0));t>=8;a[n+s]=u&255,s+=l,u/=256,t-=8);for(p=p<<t|u,h+=t;h>0;a[n+s]=p&255,s+=l,p/=256,h-=8);a[n+s-l]|=d*128}var bx={}.toString,im=Array.isArray||function(a){return bx.call(a)=="[object Array]"};/*!
13
- * The buffer module from node.js, for the browser.
14
- *
15
- * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
16
- * @license MIT
17
- */var xx=50;rt.TYPED_ARRAY_SUPPORT=wt.TYPED_ARRAY_SUPPORT!==void 0?wt.TYPED_ARRAY_SUPPORT:!0,An();function An(){return rt.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function gr(a,e){if(An()<e)throw new RangeError("Invalid typed array length");return rt.TYPED_ARRAY_SUPPORT?(a=new Uint8Array(e),a.__proto__=rt.prototype):(a===null&&(a=new rt(e)),a.length=e),a}function rt(a,e,n){if(!rt.TYPED_ARRAY_SUPPORT&&!(this instanceof rt))return new rt(a,e,n);if(typeof a=="number"){if(typeof e=="string")throw new Error("If encoding is specified then the first argument must be a string");return Zn(this,a)}return om(this,a,e,n)}rt.poolSize=8192,rt._augment=function(a){return a.__proto__=rt.prototype,a};function om(a,e,n,o){if(typeof e=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer?Ax(a,e,n,o):typeof e=="string"?wx(a,e,n):Tx(a,e)}rt.from=function(a,e,n){return om(null,a,e,n)},rt.TYPED_ARRAY_SUPPORT&&(rt.prototype.__proto__=Uint8Array.prototype,rt.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&rt[Symbol.species]);function lm(a){if(typeof a!="number")throw new TypeError('"size" argument must be a number');if(a<0)throw new RangeError('"size" argument must not be negative')}function Cx(a,e,n,o){return lm(e),e<=0?gr(a,e):n!==void 0?typeof o=="string"?gr(a,e).fill(n,o):gr(a,e).fill(n):gr(a,e)}rt.alloc=function(a,e,n){return Cx(null,a,e,n)};function Zn(a,e){if(lm(e),a=gr(a,e<0?0:ts(e)|0),!rt.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)a[n]=0;return a}rt.allocUnsafe=function(a){return Zn(null,a)},rt.allocUnsafeSlow=function(a){return Zn(null,a)};function wx(a,e,n){if((typeof n!="string"||n==="")&&(n="utf8"),!rt.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var o=um(e,n)|0;a=gr(a,o);var t=a.write(e,n);return t!==o&&(a=a.slice(0,t)),a}function es(a,e){var n=e.length<0?0:ts(e.length)|0;a=gr(a,n);for(var o=0;o<n;o+=1)a[o]=e[o]&255;return a}function Ax(a,e,n,o){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(o||0))throw new RangeError("'length' is out of bounds");return n===void 0&&o===void 0?e=new Uint8Array(e):o===void 0?e=new Uint8Array(e,n):e=new Uint8Array(e,n,o),rt.TYPED_ARRAY_SUPPORT?(a=e,a.__proto__=rt.prototype):a=es(a,e),a}function Tx(a,e){if(or(e)){var n=ts(e.length)|0;return a=gr(a,n),a.length===0||e.copy(a,0,0,n),a}if(e){if(typeof ArrayBuffer<"u"&&e.buffer instanceof ArrayBuffer||"length"in e)return typeof e.length!="number"||Gx(e.length)?gr(a,0):es(a,e);if(e.type==="Buffer"&&im(e.data))return es(a,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function ts(a){if(a>=An())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+An().toString(16)+" bytes");return a|0}rt.isBuffer=zx;function or(a){return!!(a!=null&&a._isBuffer)}rt.compare=function(e,n){if(!or(e)||!or(n))throw new TypeError("Arguments must be Buffers");if(e===n)return 0;for(var o=e.length,t=n.length,c=0,p=Math.min(o,t);c<p;++c)if(e[c]!==n[c]){o=e[c],t=n[c];break}return o<t?-1:t<o?1:0},rt.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},rt.concat=function(e,n){if(!im(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return rt.alloc(0);var o;if(n===void 0)for(n=0,o=0;o<e.length;++o)n+=e[o].length;var t=rt.allocUnsafe(n),c=0;for(o=0;o<e.length;++o){var p=e[o];if(!or(p))throw new TypeError('"list" argument must be an Array of Buffers');p.copy(t,c),c+=p.length}return t};function um(a,e){if(or(a))return a.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(a)||a instanceof ArrayBuffer))return a.byteLength;typeof a!="string"&&(a=""+a);var n=a.length;if(n===0)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Dn(a).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return vm(a).length;default:if(o)return Dn(a).length;e=(""+e).toLowerCase(),o=!0}}rt.byteLength=um;function kx(a,e,n){var o=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,e>>>=0,n<=e))return"";for(a||(a="utf8");;)switch(a){case"hex":return Nx(this,e,n);case"utf8":case"utf-8":return mm(this,e,n);case"ascii":return Lx(this,e,n);case"latin1":case"binary":return Ox(this,e,n);case"base64":return _x(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return jx(this,e,n);default:if(o)throw new TypeError("Unknown encoding: "+a);a=(a+"").toLowerCase(),o=!0}}rt.prototype._isBuffer=!0;function Ir(a,e,n){var o=a[e];a[e]=a[n],a[n]=o}rt.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var n=0;n<e;n+=2)Ir(this,n,n+1);return this},rt.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var n=0;n<e;n+=4)Ir(this,n,n+3),Ir(this,n+1,n+2);return this},rt.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var n=0;n<e;n+=8)Ir(this,n,n+7),Ir(this,n+1,n+6),Ir(this,n+2,n+5),Ir(this,n+3,n+4);return this},rt.prototype.toString=function(){var e=this.length|0;return e===0?"":arguments.length===0?mm(this,0,e):kx.apply(this,arguments)},rt.prototype.equals=function(e){if(!or(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:rt.compare(this,e)===0},rt.prototype.inspect=function(){var e="",n=xx;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},rt.prototype.compare=function(e,n,o,t,c){if(!or(e))throw new TypeError("Argument must be a Buffer");if(n===void 0&&(n=0),o===void 0&&(o=e?e.length:0),t===void 0&&(t=0),c===void 0&&(c=this.length),n<0||o>e.length||t<0||c>this.length)throw new RangeError("out of range index");if(t>=c&&n>=o)return 0;if(t>=c)return-1;if(n>=o)return 1;if(n>>>=0,o>>>=0,t>>>=0,c>>>=0,this===e)return 0;for(var p=c-t,u=o-n,r=Math.min(p,u),h=this.slice(t,c),i=e.slice(n,o),f=0;f<r;++f)if(h[f]!==i[f]){p=h[f],u=i[f];break}return p<u?-1:u<p?1:0};function cm(a,e,n,o,t){if(a.length===0)return-1;if(typeof n=="string"?(o=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=t?0:a.length-1),n<0&&(n=a.length+n),n>=a.length){if(t)return-1;n=a.length-1}else if(n<0)if(t)n=0;else return-1;if(typeof e=="string"&&(e=rt.from(e,o)),or(e))return e.length===0?-1:fm(a,e,n,o,t);if(typeof e=="number")return e=e&255,rt.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?t?Uint8Array.prototype.indexOf.call(a,e,n):Uint8Array.prototype.lastIndexOf.call(a,e,n):fm(a,[e],n,o,t);throw new TypeError("val must be string, number or Buffer")}function fm(a,e,n,o,t){var c=1,p=a.length,u=e.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(a.length<2||e.length<2)return-1;c=2,p/=2,u/=2,n/=2}function r(s,l){return c===1?s[l]:s.readUInt16BE(l*c)}var h;if(t){var i=-1;for(h=n;h<p;h++)if(r(a,h)===r(e,i===-1?0:h-i)){if(i===-1&&(i=h),h-i+1===u)return i*c}else i!==-1&&(h-=h-i),i=-1}else for(n+u>p&&(n=p-u),h=n;h>=0;h--){for(var f=!0,m=0;m<u;m++)if(r(a,h+m)!==r(e,m)){f=!1;break}if(f)return h}return-1}rt.prototype.includes=function(e,n,o){return this.indexOf(e,n,o)!==-1},rt.prototype.indexOf=function(e,n,o){return cm(this,e,n,o,!0)},rt.prototype.lastIndexOf=function(e,n,o){return cm(this,e,n,o,!1)};function Dx(a,e,n,o){n=Number(n)||0;var t=a.length-n;o?(o=Number(o),o>t&&(o=t)):o=t;var c=e.length;if(c%2!==0)throw new TypeError("Invalid hex string");o>c/2&&(o=c/2);for(var p=0;p<o;++p){var u=parseInt(e.substr(p*2,2),16);if(isNaN(u))return p;a[n+p]=u}return p}function Ix(a,e,n,o){return In(Dn(e,a.length-n),a,n,o)}function pm(a,e,n,o){return In($x(e),a,n,o)}function Px(a,e,n,o){return pm(a,e,n,o)}function Fx(a,e,n,o){return In(vm(e),a,n,o)}function Rx(a,e,n,o){return In(Wx(e,a.length-n),a,n,o)}rt.prototype.write=function(e,n,o,t){if(n===void 0)t="utf8",o=this.length,n=0;else if(o===void 0&&typeof n=="string")t=n,o=this.length,n=0;else if(isFinite(n))n=n|0,isFinite(o)?(o=o|0,t===void 0&&(t="utf8")):(t=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var c=this.length-n;if((o===void 0||o>c)&&(o=c),e.length>0&&(o<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");t||(t="utf8");for(var p=!1;;)switch(t){case"hex":return Dx(this,e,n,o);case"utf8":case"utf-8":return Ix(this,e,n,o);case"ascii":return pm(this,e,n,o);case"latin1":case"binary":return Px(this,e,n,o);case"base64":return Fx(this,e,n,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rx(this,e,n,o);default:if(p)throw new TypeError("Unknown encoding: "+t);t=(""+t).toLowerCase(),p=!0}},rt.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function _x(a,e,n){return e===0&&n===a.length?sm(a):sm(a.slice(e,n))}function mm(a,e,n){n=Math.min(a.length,n);for(var o=[],t=e;t<n;){var c=a[t],p=null,u=c>239?4:c>223?3:c>191?2:1;if(t+u<=n){var r,h,i,f;switch(u){case 1:c<128&&(p=c);break;case 2:r=a[t+1],(r&192)===128&&(f=(c&31)<<6|r&63,f>127&&(p=f));break;case 3:r=a[t+1],h=a[t+2],(r&192)===128&&(h&192)===128&&(f=(c&15)<<12|(r&63)<<6|h&63,f>2047&&(f<55296||f>57343)&&(p=f));break;case 4:r=a[t+1],h=a[t+2],i=a[t+3],(r&192)===128&&(h&192)===128&&(i&192)===128&&(f=(c&15)<<18|(r&63)<<12|(h&63)<<6|i&63,f>65535&&f<1114112&&(p=f))}}p===null?(p=65533,u=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),t+=u}return Bx(o)}var hm=4096;function Bx(a){var e=a.length;if(e<=hm)return String.fromCharCode.apply(String,a);for(var n="",o=0;o<e;)n+=String.fromCharCode.apply(String,a.slice(o,o+=hm));return n}function Lx(a,e,n){var o="";n=Math.min(a.length,n);for(var t=e;t<n;++t)o+=String.fromCharCode(a[t]&127);return o}function Ox(a,e,n){var o="";n=Math.min(a.length,n);for(var t=e;t<n;++t)o+=String.fromCharCode(a[t]);return o}function Nx(a,e,n){var o=a.length;(!e||e<0)&&(e=0),(!n||n<0||n>o)&&(n=o);for(var t="",c=e;c<n;++c)t+=Vx(a[c]);return t}function jx(a,e,n){for(var o=a.slice(e,n),t="",c=0;c<o.length;c+=2)t+=String.fromCharCode(o[c]+o[c+1]*256);return t}rt.prototype.slice=function(e,n){var o=this.length;e=~~e,n=n===void 0?o:~~n,e<0?(e+=o,e<0&&(e=0)):e>o&&(e=o),n<0?(n+=o,n<0&&(n=0)):n>o&&(n=o),n<e&&(n=e);var t;if(rt.TYPED_ARRAY_SUPPORT)t=this.subarray(e,n),t.__proto__=rt.prototype;else{var c=n-e;t=new rt(c,void 0);for(var p=0;p<c;++p)t[p]=this[p+e]}return t};function Ht(a,e,n){if(a%1!==0||a<0)throw new RangeError("offset is not uint");if(a+e>n)throw new RangeError("Trying to access beyond buffer length")}rt.prototype.readUIntLE=function(e,n,o){e=e|0,n=n|0,o||Ht(e,n,this.length);for(var t=this[e],c=1,p=0;++p<n&&(c*=256);)t+=this[e+p]*c;return t},rt.prototype.readUIntBE=function(e,n,o){e=e|0,n=n|0,o||Ht(e,n,this.length);for(var t=this[e+--n],c=1;n>0&&(c*=256);)t+=this[e+--n]*c;return t},rt.prototype.readUInt8=function(e,n){return n||Ht(e,1,this.length),this[e]},rt.prototype.readUInt16LE=function(e,n){return n||Ht(e,2,this.length),this[e]|this[e+1]<<8},rt.prototype.readUInt16BE=function(e,n){return n||Ht(e,2,this.length),this[e]<<8|this[e+1]},rt.prototype.readUInt32LE=function(e,n){return n||Ht(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},rt.prototype.readUInt32BE=function(e,n){return n||Ht(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},rt.prototype.readIntLE=function(e,n,o){e=e|0,n=n|0,o||Ht(e,n,this.length);for(var t=this[e],c=1,p=0;++p<n&&(c*=256);)t+=this[e+p]*c;return c*=128,t>=c&&(t-=Math.pow(2,8*n)),t},rt.prototype.readIntBE=function(e,n,o){e=e|0,n=n|0,o||Ht(e,n,this.length);for(var t=n,c=1,p=this[e+--t];t>0&&(c*=256);)p+=this[e+--t]*c;return c*=128,p>=c&&(p-=Math.pow(2,8*n)),p},rt.prototype.readInt8=function(e,n){return n||Ht(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},rt.prototype.readInt16LE=function(e,n){n||Ht(e,2,this.length);var o=this[e]|this[e+1]<<8;return o&32768?o|4294901760:o},rt.prototype.readInt16BE=function(e,n){n||Ht(e,2,this.length);var o=this[e+1]|this[e]<<8;return o&32768?o|4294901760:o},rt.prototype.readInt32LE=function(e,n){return n||Ht(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},rt.prototype.readInt32BE=function(e,n){return n||Ht(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},rt.prototype.readFloatLE=function(e,n){return n||Ht(e,4,this.length),wn(this,e,!0,23,4)},rt.prototype.readFloatBE=function(e,n){return n||Ht(e,4,this.length),wn(this,e,!1,23,4)},rt.prototype.readDoubleLE=function(e,n){return n||Ht(e,8,this.length),wn(this,e,!0,52,8)},rt.prototype.readDoubleBE=function(e,n){return n||Ht(e,8,this.length),wn(this,e,!1,52,8)};function Jt(a,e,n,o,t,c){if(!or(a))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>t||e<c)throw new RangeError('"value" argument is out of bounds');if(n+o>a.length)throw new RangeError("Index out of range")}rt.prototype.writeUIntLE=function(e,n,o,t){if(e=+e,n=n|0,o=o|0,!t){var c=Math.pow(2,8*o)-1;Jt(this,e,n,o,c,0)}var p=1,u=0;for(this[n]=e&255;++u<o&&(p*=256);)this[n+u]=e/p&255;return n+o},rt.prototype.writeUIntBE=function(e,n,o,t){if(e=+e,n=n|0,o=o|0,!t){var c=Math.pow(2,8*o)-1;Jt(this,e,n,o,c,0)}var p=o-1,u=1;for(this[n+p]=e&255;--p>=0&&(u*=256);)this[n+p]=e/u&255;return n+o},rt.prototype.writeUInt8=function(e,n,o){return e=+e,n=n|0,o||Jt(this,e,n,1,255,0),rt.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[n]=e&255,n+1};function Tn(a,e,n,o){e<0&&(e=65535+e+1);for(var t=0,c=Math.min(a.length-n,2);t<c;++t)a[n+t]=(e&255<<8*(o?t:1-t))>>>(o?t:1-t)*8}rt.prototype.writeUInt16LE=function(e,n,o){return e=+e,n=n|0,o||Jt(this,e,n,2,65535,0),rt.TYPED_ARRAY_SUPPORT?(this[n]=e&255,this[n+1]=e>>>8):Tn(this,e,n,!0),n+2},rt.prototype.writeUInt16BE=function(e,n,o){return e=+e,n=n|0,o||Jt(this,e,n,2,65535,0),rt.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=e&255):Tn(this,e,n,!1),n+2};function kn(a,e,n,o){e<0&&(e=4294967295+e+1);for(var t=0,c=Math.min(a.length-n,4);t<c;++t)a[n+t]=e>>>(o?t:3-t)*8&255}rt.prototype.writeUInt32LE=function(e,n,o){return e=+e,n=n|0,o||Jt(this,e,n,4,4294967295,0),rt.TYPED_ARRAY_SUPPORT?(this[n+3]=e>>>24,this[n+2]=e>>>16,this[n+1]=e>>>8,this[n]=e&255):kn(this,e,n,!0),n+4},rt.prototype.writeUInt32BE=function(e,n,o){return e=+e,n=n|0,o||Jt(this,e,n,4,4294967295,0),rt.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=e&255):kn(this,e,n,!1),n+4},rt.prototype.writeIntLE=function(e,n,o,t){if(e=+e,n=n|0,!t){var c=Math.pow(2,8*o-1);Jt(this,e,n,o,c-1,-c)}var p=0,u=1,r=0;for(this[n]=e&255;++p<o&&(u*=256);)e<0&&r===0&&this[n+p-1]!==0&&(r=1),this[n+p]=(e/u>>0)-r&255;return n+o},rt.prototype.writeIntBE=function(e,n,o,t){if(e=+e,n=n|0,!t){var c=Math.pow(2,8*o-1);Jt(this,e,n,o,c-1,-c)}var p=o-1,u=1,r=0;for(this[n+p]=e&255;--p>=0&&(u*=256);)e<0&&r===0&&this[n+p+1]!==0&&(r=1),this[n+p]=(e/u>>0)-r&255;return n+o},rt.prototype.writeInt8=function(e,n,o){return e=+e,n=n|0,o||Jt(this,e,n,1,127,-128),rt.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[n]=e&255,n+1},rt.prototype.writeInt16LE=function(e,n,o){return e=+e,n=n|0,o||Jt(this,e,n,2,32767,-32768),rt.TYPED_ARRAY_SUPPORT?(this[n]=e&255,this[n+1]=e>>>8):Tn(this,e,n,!0),n+2},rt.prototype.writeInt16BE=function(e,n,o){return e=+e,n=n|0,o||Jt(this,e,n,2,32767,-32768),rt.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=e&255):Tn(this,e,n,!1),n+2},rt.prototype.writeInt32LE=function(e,n,o){return e=+e,n=n|0,o||Jt(this,e,n,4,2147483647,-2147483648),rt.TYPED_ARRAY_SUPPORT?(this[n]=e&255,this[n+1]=e>>>8,this[n+2]=e>>>16,this[n+3]=e>>>24):kn(this,e,n,!0),n+4},rt.prototype.writeInt32BE=function(e,n,o){return e=+e,n=n|0,o||Jt(this,e,n,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),rt.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=e&255):kn(this,e,n,!1),n+4};function dm(a,e,n,o,t,c){if(n+o>a.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function gm(a,e,n,o,t){return t||dm(a,e,n,4),am(a,e,n,o,23,4),n+4}rt.prototype.writeFloatLE=function(e,n,o){return gm(this,e,n,!0,o)},rt.prototype.writeFloatBE=function(e,n,o){return gm(this,e,n,!1,o)};function ym(a,e,n,o,t){return t||dm(a,e,n,8),am(a,e,n,o,52,8),n+8}rt.prototype.writeDoubleLE=function(e,n,o){return ym(this,e,n,!0,o)},rt.prototype.writeDoubleBE=function(e,n,o){return ym(this,e,n,!1,o)},rt.prototype.copy=function(e,n,o,t){if(o||(o=0),!t&&t!==0&&(t=this.length),n>=e.length&&(n=e.length),n||(n=0),t>0&&t<o&&(t=o),t===o||e.length===0||this.length===0)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("sourceStart out of bounds");if(t<0)throw new RangeError("sourceEnd out of bounds");t>this.length&&(t=this.length),e.length-n<t-o&&(t=e.length-n+o);var c=t-o,p;if(this===e&&o<n&&n<t)for(p=c-1;p>=0;--p)e[p+n]=this[p+o];else if(c<1e3||!rt.TYPED_ARRAY_SUPPORT)for(p=0;p<c;++p)e[p+n]=this[p+o];else Uint8Array.prototype.set.call(e,this.subarray(o,o+c),n);return c},rt.prototype.fill=function(e,n,o,t){if(typeof e=="string"){if(typeof n=="string"?(t=n,n=0,o=this.length):typeof o=="string"&&(t=o,o=this.length),e.length===1){var c=e.charCodeAt(0);c<256&&(e=c)}if(t!==void 0&&typeof t!="string")throw new TypeError("encoding must be a string");if(typeof t=="string"&&!rt.isEncoding(t))throw new TypeError("Unknown encoding: "+t)}else typeof e=="number"&&(e=e&255);if(n<0||this.length<n||this.length<o)throw new RangeError("Out of range index");if(o<=n)return this;n=n>>>0,o=o===void 0?this.length:o>>>0,e||(e=0);var p;if(typeof e=="number")for(p=n;p<o;++p)this[p]=e;else{var u=or(e)?e:Dn(new rt(e,t).toString()),r=u.length;for(p=0;p<o-n;++p)this[p+n]=u[p%r]}return this};var Mx=/[^+\/0-9A-Za-z-_]/g;function Ux(a){if(a=qx(a).replace(Mx,""),a.length<2)return"";for(;a.length%4!==0;)a=a+"=";return a}function qx(a){return a.trim?a.trim():a.replace(/^\s+|\s+$/g,"")}function Vx(a){return a<16?"0"+a.toString(16):a.toString(16)}function Dn(a,e){e=e||1/0;for(var n,o=a.length,t=null,c=[],p=0;p<o;++p){if(n=a.charCodeAt(p),n>55295&&n<57344){if(!t){if(n>56319){(e-=3)>-1&&c.push(239,191,189);continue}else if(p+1===o){(e-=3)>-1&&c.push(239,191,189);continue}t=n;continue}if(n<56320){(e-=3)>-1&&c.push(239,191,189),t=n;continue}n=(t-55296<<10|n-56320)+65536}else t&&(e-=3)>-1&&c.push(239,191,189);if(t=null,n<128){if((e-=1)<0)break;c.push(n)}else if(n<2048){if((e-=2)<0)break;c.push(n>>6|192,n&63|128)}else if(n<65536){if((e-=3)<0)break;c.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((e-=4)<0)break;c.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return c}function $x(a){for(var e=[],n=0;n<a.length;++n)e.push(a.charCodeAt(n)&255);return e}function Wx(a,e){for(var n,o,t,c=[],p=0;p<a.length&&!((e-=2)<0);++p)n=a.charCodeAt(p),o=n>>8,t=n%256,c.push(t),c.push(o);return c}function vm(a){return vx(Ux(a))}function In(a,e,n,o){for(var t=0;t<o&&!(t+n>=e.length||t>=a.length);++t)e[t+n]=a[t];return t}function Gx(a){return a!==a}function zx(a){return a!=null&&(!!a._isBuffer||Em(a)||Hx(a))}function Em(a){return!!a.constructor&&typeof a.constructor.isBuffer=="function"&&a.constructor.isBuffer(a)}function Hx(a){return typeof a.readFloatLE=="function"&&typeof a.slice=="function"&&Em(a.slice(0,0))}var Pn;typeof Object.create=="function"?Pn=function(e,n){e.super_=n,e.prototype=Object.create(n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:Pn=function(e,n){e.super_=n;var o=function(){};o.prototype=n.prototype,e.prototype=new o,e.prototype.constructor=e};var Sm=Object.getOwnPropertyDescriptors||function(e){for(var n=Object.keys(e),o={},t=0;t<n.length;t++)o[n[t]]=Object.getOwnPropertyDescriptor(e,n[t]);return o},Kx=/%[sdj%]/g;function Fn(a){if(!rn(a)){for(var e=[],n=0;n<arguments.length;n++)e.push(lr(arguments[n]));return e.join(" ")}for(var n=1,o=arguments,t=o.length,c=String(a).replace(Kx,function(u){if(u==="%%")return"%";if(n>=t)return u;switch(u){case"%s":return String(o[n++]);case"%d":return Number(o[n++]);case"%j":try{return JSON.stringify(o[n++])}catch{return"[Circular]"}default:return u}}),p=o[n];n<t;p=o[++n])tn(p)||!Pr(p)?c+=" "+p:c+=" "+lr(p);return c}function rs(a,e){if(ur(wt.process))return function(){return rs(a,e).apply(this,arguments)};if(Mt.noDeprecation===!0)return a;var n=!1;function o(){if(!n){if(Mt.throwDeprecation)throw new Error(e);Mt.traceDeprecation?console.trace(e):console.error(e),n=!0}return a.apply(this,arguments)}return o}var Rn={},ns;function bm(a){if(ur(ns)&&(ns=Mt.env.NODE_DEBUG||""),a=a.toUpperCase(),!Rn[a])if(new RegExp("\\b"+a+"\\b","i").test(ns)){var e=0;Rn[a]=function(){var n=Fn.apply(null,arguments);console.error("%s %d: %s",a,e,n)}}else Rn[a]=function(){};return Rn[a]}function lr(a,e){var n={seen:[],stylize:Jx};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Bn(e)?n.showHidden=e:e&&cs(n,e),ur(n.showHidden)&&(n.showHidden=!1),ur(n.depth)&&(n.depth=2),ur(n.colors)&&(n.colors=!1),ur(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Xx),_n(n,a,n.depth)}lr.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]},lr.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function Xx(a,e){var n=lr.styles[e];return n?"\x1B["+lr.colors[n][0]+"m"+a+"\x1B["+lr.colors[n][1]+"m":a}function Jx(a,e){return a}function Yx(a){var e={};return a.forEach(function(n,o){e[n]=!0}),e}function _n(a,e,n){if(a.customInspect&&e&&an(e.inspect)&&e.inspect!==lr&&!(e.constructor&&e.constructor.prototype===e)){var o=e.inspect(n,a);return rn(o)||(o=_n(a,o,n)),o}var t=Qx(a,e);if(t)return t;var c=Object.keys(e),p=Yx(c);if(a.showHidden&&(c=Object.getOwnPropertyNames(e)),sn(e)&&(c.indexOf("message")>=0||c.indexOf("description")>=0))return ss(e);if(c.length===0){if(an(e)){var u=e.name?": "+e.name:"";return a.stylize("[Function"+u+"]","special")}if(nn(e))return a.stylize(RegExp.prototype.toString.call(e),"regexp");if(Ln(e))return a.stylize(Date.prototype.toString.call(e),"date");if(sn(e))return ss(e)}var r="",h=!1,i=["{","}"];if(is(e)&&(h=!0,i=["[","]"]),an(e)){var f=e.name?": "+e.name:"";r=" [Function"+f+"]"}if(nn(e)&&(r=" "+RegExp.prototype.toString.call(e)),Ln(e)&&(r=" "+Date.prototype.toUTCString.call(e)),sn(e)&&(r=" "+ss(e)),c.length===0&&(!h||e.length==0))return i[0]+r+i[1];if(n<0)return nn(e)?a.stylize(RegExp.prototype.toString.call(e),"regexp"):a.stylize("[Object]","special");a.seen.push(e);var m;return h?m=Zx(a,e,n,p,c):m=c.map(function(s){return as(a,e,n,p,s,h)}),a.seen.pop(),eC(m,r,i)}function Qx(a,e){if(ur(e))return a.stylize("undefined","undefined");if(rn(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return a.stylize(n,"string")}if(os(e))return a.stylize(""+e,"number");if(Bn(e))return a.stylize(""+e,"boolean");if(tn(e))return a.stylize("null","null")}function ss(a){return"["+Error.prototype.toString.call(a)+"]"}function Zx(a,e,n,o,t){for(var c=[],p=0,u=e.length;p<u;++p)km(e,String(p))?c.push(as(a,e,n,o,String(p),!0)):c.push("");return t.forEach(function(r){r.match(/^\d+$/)||c.push(as(a,e,n,o,r,!0))}),c}function as(a,e,n,o,t,c){var p,u,r;if(r=Object.getOwnPropertyDescriptor(e,t)||{value:e[t]},r.get?r.set?u=a.stylize("[Getter/Setter]","special"):u=a.stylize("[Getter]","special"):r.set&&(u=a.stylize("[Setter]","special")),km(o,t)||(p="["+t+"]"),u||(a.seen.indexOf(r.value)<0?(tn(n)?u=_n(a,r.value,null):u=_n(a,r.value,n-1),u.indexOf(`
18
- `)>-1&&(c?u=u.split(`
19
- `).map(function(h){return" "+h}).join(`
20
- `).substr(2):u=`
21
- `+u.split(`
22
- `).map(function(h){return" "+h}).join(`
23
- `))):u=a.stylize("[Circular]","special")),ur(p)){if(c&&t.match(/^\d+$/))return u;p=JSON.stringify(""+t),p.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(p=p.substr(1,p.length-2),p=a.stylize(p,"name")):(p=p.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),p=a.stylize(p,"string"))}return p+": "+u}function eC(a,e,n){var o=a.reduce(function(t,c){return c.indexOf(`
24
- `)>=0,t+c.replace(/\u001b\[\d\d?m/g,"").length+1},0);return o>60?n[0]+(e===""?"":e+`
25
- `)+" "+a.join(`,
26
- `)+" "+n[1]:n[0]+e+" "+a.join(", ")+" "+n[1]}function is(a){return Array.isArray(a)}function Bn(a){return typeof a=="boolean"}function tn(a){return a===null}function xm(a){return a==null}function os(a){return typeof a=="number"}function rn(a){return typeof a=="string"}function Cm(a){return typeof a=="symbol"}function ur(a){return a===void 0}function nn(a){return Pr(a)&&ls(a)==="[object RegExp]"}function Pr(a){return typeof a=="object"&&a!==null}function Ln(a){return Pr(a)&&ls(a)==="[object Date]"}function sn(a){return Pr(a)&&(ls(a)==="[object Error]"||a instanceof Error)}function an(a){return typeof a=="function"}function wm(a){return a===null||typeof a=="boolean"||typeof a=="number"||typeof a=="string"||typeof a=="symbol"||typeof a>"u"}function Am(a){return rt.isBuffer(a)}function ls(a){return Object.prototype.toString.call(a)}function us(a){return a<10?"0"+a.toString(10):a.toString(10)}var tC=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function rC(){var a=new Date,e=[us(a.getHours()),us(a.getMinutes()),us(a.getSeconds())].join(":");return[a.getDate(),tC[a.getMonth()],e].join(" ")}function Tm(){console.log("%s - %s",rC(),Fn.apply(null,arguments))}function cs(a,e){if(!e||!Pr(e))return a;for(var n=Object.keys(e),o=n.length;o--;)a[n[o]]=e[n[o]];return a}function km(a,e){return Object.prototype.hasOwnProperty.call(a,e)}var Fr=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function fs(a){if(typeof a!="function")throw new TypeError('The "original" argument must be of type Function');if(Fr&&a[Fr]){var e=a[Fr];if(typeof e!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,Fr,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var n,o,t=new Promise(function(u,r){n=u,o=r}),c=[],p=0;p<arguments.length;p++)c.push(arguments[p]);c.push(function(u,r){u?o(u):n(r)});try{a.apply(this,c)}catch(u){o(u)}return t}return Object.setPrototypeOf(e,Object.getPrototypeOf(a)),Fr&&Object.defineProperty(e,Fr,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,Sm(a))}fs.custom=Fr;function nC(a,e){if(!a){var n=new Error("Promise was rejected with a falsy value");n.reason=a,a=n}return e(a)}function Dm(a){if(typeof a!="function")throw new TypeError('The "original" argument must be of type Function');function e(){for(var n=[],o=0;o<arguments.length;o++)n.push(arguments[o]);var t=n.pop();if(typeof t!="function")throw new TypeError("The last argument must be of type Function");var c=this,p=function(){return t.apply(c,arguments)};a.apply(this,n).then(function(u){Mt.nextTick(p.bind(null,null,u))},function(u){Mt.nextTick(nC.bind(null,u,p))})}return Object.setPrototypeOf(e,Object.getPrototypeOf(a)),Object.defineProperties(e,Sm(a)),e}var sC={inherits:Pn,_extend:cs,log:Tm,isBuffer:Am,isPrimitive:wm,isFunction:an,isError:sn,isDate:Ln,isObject:Pr,isRegExp:nn,isUndefined:ur,isSymbol:Cm,isString:rn,isNumber:os,isNullOrUndefined:xm,isNull:tn,isBoolean:Bn,isArray:is,inspect:lr,deprecate:rs,format:Fn,debuglog:bm,promisify:fs,callbackify:Dm},aC=Object.freeze({__proto__:null,_extend:cs,callbackify:Dm,debuglog:bm,default:sC,deprecate:rs,format:Fn,inherits:Pn,inspect:lr,isArray:is,isBoolean:Bn,isBuffer:Am,isDate:Ln,isError:sn,isFunction:an,isNull:tn,isNullOrUndefined:xm,isNumber:os,isObject:Pr,isPrimitive:wm,isRegExp:nn,isString:rn,isSymbol:Cm,isUndefined:ur,log:Tm,promisify:fs}),iC=Pt(aC),On={exports:{}};/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */var Im;function oC(){return Im||(Im=1,function(a,e){(function(n,o){o(e)})(this,function(n){function o(){for(var me=arguments.length,oe=Array(me),we=0;we<me;we++)oe[we]=arguments[we];if(oe.length>1){oe[0]=oe[0].slice(0,-1);for(var Be=oe.length-1,Ne=1;Ne<Be;++Ne)oe[Ne]=oe[Ne].slice(1,-1);return oe[Be]=oe[Be].slice(1),oe.join("")}else return oe[0]}function t(me){return"(?:"+me+")"}function c(me){return me===void 0?"undefined":me===null?"null":Object.prototype.toString.call(me).split(" ").pop().split("]").shift().toLowerCase()}function p(me){return me.toUpperCase()}function u(me){return me!=null?me instanceof Array?me:typeof me.length!="number"||me.split||me.setInterval||me.call?[me]:Array.prototype.slice.call(me):[]}function r(me,oe){var we=me;if(oe)for(var Be in oe)we[Be]=oe[Be];return we}function h(me){var oe="[A-Za-z]",we="[0-9]",Be=o(we,"[A-Fa-f]"),Ne=t(t("%[EFef]"+Be+"%"+Be+Be+"%"+Be+Be)+"|"+t("%[89A-Fa-f]"+Be+"%"+Be+Be)+"|"+t("%"+Be+Be)),at="[\\:\\/\\?\\#\\[\\]\\@]",qe="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",Je=o(at,qe),Ze=me?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",Oe=me?"[\\uE000-\\uF8FF]":"[]",Ke=o(oe,we,"[\\-\\.\\_\\~]",Ze);t(oe+o(oe,we,"[\\+\\-\\.]")+"*"),t(t(Ne+"|"+o(Ke,qe,"[\\:]"))+"*");var it=t(t("25[0-5]")+"|"+t("2[0-4]"+we)+"|"+t("1"+we+we)+"|"+t("0?[1-9]"+we)+"|0?0?"+we),ht=t(it+"\\."+it+"\\."+it+"\\."+it),ft=t(Be+"{1,4}"),gt=t(t(ft+"\\:"+ft)+"|"+ht),yt=t(t(ft+"\\:")+"{6}"+gt),dt=t("\\:\\:"+t(ft+"\\:")+"{5}"+gt),At=t(t(ft)+"?\\:\\:"+t(ft+"\\:")+"{4}"+gt),Ft=t(t(t(ft+"\\:")+"{0,1}"+ft)+"?\\:\\:"+t(ft+"\\:")+"{3}"+gt),Rt=t(t(t(ft+"\\:")+"{0,2}"+ft)+"?\\:\\:"+t(ft+"\\:")+"{2}"+gt),_t=t(t(t(ft+"\\:")+"{0,3}"+ft)+"?\\:\\:"+ft+"\\:"+gt),Ut=t(t(t(ft+"\\:")+"{0,4}"+ft)+"?\\:\\:"+gt),Vt=t(t(t(ft+"\\:")+"{0,5}"+ft)+"?\\:\\:"+ft),ut=t(t(t(ft+"\\:")+"{0,6}"+ft)+"?\\:\\:"),Wt=t([yt,dt,At,Ft,Rt,_t,Ut,Vt,ut].join("|")),Bt=t(t(Ke+"|"+Ne)+"+");t("[vV]"+Be+"+\\."+o(Ke,qe,"[\\:]")+"+"),t(t(Ne+"|"+o(Ke,qe))+"*");var nr=t(Ne+"|"+o(Ke,qe,"[\\:\\@]"));return t(t(Ne+"|"+o(Ke,qe,"[\\@]"))+"+"),t(t(nr+"|"+o("[\\/\\?]",Oe))+"*"),{NOT_SCHEME:new RegExp(o("[^]",oe,we,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(o("[^\\%\\:]",Ke,qe),"g"),NOT_HOST:new RegExp(o("[^\\%\\[\\]\\:]",Ke,qe),"g"),NOT_PATH:new RegExp(o("[^\\%\\/\\:\\@]",Ke,qe),"g"),NOT_PATH_NOSCHEME:new RegExp(o("[^\\%\\/\\@]",Ke,qe),"g"),NOT_QUERY:new RegExp(o("[^\\%]",Ke,qe,"[\\:\\@\\/\\?]",Oe),"g"),NOT_FRAGMENT:new RegExp(o("[^\\%]",Ke,qe,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(o("[^]",Ke,qe),"g"),UNRESERVED:new RegExp(Ke,"g"),OTHER_CHARS:new RegExp(o("[^\\%]",Ke,Je),"g"),PCT_ENCODED:new RegExp(Ne,"g"),IPV4ADDRESS:new RegExp("^("+ht+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Wt+")"+t(t("\\%25|\\%(?!"+Be+"{2})")+"("+Bt+")")+"?\\]?$")}}var i=h(!1),f=h(!0),m=function(){function me(oe,we){var Be=[],Ne=!0,at=!1,qe=void 0;try{for(var Je=oe[Symbol.iterator](),Ze;!(Ne=(Ze=Je.next()).done)&&(Be.push(Ze.value),!(we&&Be.length===we));Ne=!0);}catch(Oe){at=!0,qe=Oe}finally{try{!Ne&&Je.return&&Je.return()}finally{if(at)throw qe}}return Be}return function(oe,we){if(Array.isArray(oe))return oe;if(Symbol.iterator in Object(oe))return me(oe,we);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(me){if(Array.isArray(me)){for(var oe=0,we=Array(me.length);oe<me.length;oe++)we[oe]=me[oe];return we}else return Array.from(me)},l=2147483647,d=36,g=1,v=26,S=38,b=700,C=72,w=128,E="-",k=/^xn--/,x=/[^\0-\x7E]/,A=/[\x2E\u3002\uFF0E\uFF61]/g,I={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},B=d-g,M=Math.floor,P=String.fromCharCode;function D(me){throw new RangeError(I[me])}function R(me,oe){for(var we=[],Be=me.length;Be--;)we[Be]=oe(me[Be]);return we}function N(me,oe){var we=me.split("@"),Be="";we.length>1&&(Be=we[0]+"@",me=we[1]),me=me.replace(A,".");var Ne=me.split("."),at=R(Ne,oe).join(".");return Be+at}function q(me){for(var oe=[],we=0,Be=me.length;we<Be;){var Ne=me.charCodeAt(we++);if(Ne>=55296&&Ne<=56319&&we<Be){var at=me.charCodeAt(we++);(at&64512)==56320?oe.push(((Ne&1023)<<10)+(at&1023)+65536):(oe.push(Ne),we--)}else oe.push(Ne)}return oe}var L=function(oe){return String.fromCodePoint.apply(String,s(oe))},W=function(oe){return oe-48<10?oe-22:oe-65<26?oe-65:oe-97<26?oe-97:d},_=function(oe,we){return oe+22+75*(oe<26)-((we!=0)<<5)},H=function(oe,we,Be){var Ne=0;for(oe=Be?M(oe/b):oe>>1,oe+=M(oe/we);oe>B*v>>1;Ne+=d)oe=M(oe/B);return M(Ne+(B+1)*oe/(oe+S))},K=function(oe){var we=[],Be=oe.length,Ne=0,at=w,qe=C,Je=oe.lastIndexOf(E);Je<0&&(Je=0);for(var Ze=0;Ze<Je;++Ze)oe.charCodeAt(Ze)>=128&&D("not-basic"),we.push(oe.charCodeAt(Ze));for(var Oe=Je>0?Je+1:0;Oe<Be;){for(var Ke=Ne,it=1,ht=d;;ht+=d){Oe>=Be&&D("invalid-input");var ft=W(oe.charCodeAt(Oe++));(ft>=d||ft>M((l-Ne)/it))&&D("overflow"),Ne+=ft*it;var gt=ht<=qe?g:ht>=qe+v?v:ht-qe;if(ft<gt)break;var yt=d-gt;it>M(l/yt)&&D("overflow"),it*=yt}var dt=we.length+1;qe=H(Ne-Ke,dt,Ke==0),M(Ne/dt)>l-at&&D("overflow"),at+=M(Ne/dt),Ne%=dt,we.splice(Ne++,0,at)}return String.fromCodePoint.apply(String,we)},re=function(oe){var we=[];oe=q(oe);var Be=oe.length,Ne=w,at=0,qe=C,Je=!0,Ze=!1,Oe=void 0;try{for(var Ke=oe[Symbol.iterator](),it;!(Je=(it=Ke.next()).done);Je=!0){var ht=it.value;ht<128&&we.push(P(ht))}}catch(Gt){Ze=!0,Oe=Gt}finally{try{!Je&&Ke.return&&Ke.return()}finally{if(Ze)throw Oe}}var ft=we.length,gt=ft;for(ft&&we.push(E);gt<Be;){var yt=l,dt=!0,At=!1,Ft=void 0;try{for(var Rt=oe[Symbol.iterator](),_t;!(dt=(_t=Rt.next()).done);dt=!0){var Ut=_t.value;Ut>=Ne&&Ut<yt&&(yt=Ut)}}catch(Gt){At=!0,Ft=Gt}finally{try{!dt&&Rt.return&&Rt.return()}finally{if(At)throw Ft}}var Vt=gt+1;yt-Ne>M((l-at)/Vt)&&D("overflow"),at+=(yt-Ne)*Vt,Ne=yt;var ut=!0,Wt=!1,Bt=void 0;try{for(var nr=oe[Symbol.iterator](),Ar;!(ut=(Ar=nr.next()).done);ut=!0){var yr=Ar.value;if(yr<Ne&&++at>l&&D("overflow"),yr==Ne){for(var sr=at,pr=d;;pr+=d){var er=pr<=qe?g:pr>=qe+v?v:pr-qe;if(sr<er)break;var vr=sr-er,Er=d-er;we.push(P(_(er+vr%Er,0))),sr=M(vr/Er)}we.push(P(_(sr,0))),qe=H(at,Vt,gt==ft),at=0,++gt}}}catch(Gt){Wt=!0,Bt=Gt}finally{try{!ut&&nr.return&&nr.return()}finally{if(Wt)throw Bt}}++at,++Ne}return we.join("")},te=function(oe){return N(oe,function(we){return k.test(we)?K(we.slice(4).toLowerCase()):we})},xe=function(oe){return N(oe,function(we){return x.test(we)?"xn--"+re(we):we})},Y={version:"2.1.0",ucs2:{decode:q,encode:L},decode:K,encode:re,toASCII:xe,toUnicode:te},F={};function z(me){var oe=me.charCodeAt(0),we=void 0;return oe<16?we="%0"+oe.toString(16).toUpperCase():oe<128?we="%"+oe.toString(16).toUpperCase():oe<2048?we="%"+(oe>>6|192).toString(16).toUpperCase()+"%"+(oe&63|128).toString(16).toUpperCase():we="%"+(oe>>12|224).toString(16).toUpperCase()+"%"+(oe>>6&63|128).toString(16).toUpperCase()+"%"+(oe&63|128).toString(16).toUpperCase(),we}function ne(me){for(var oe="",we=0,Be=me.length;we<Be;){var Ne=parseInt(me.substr(we+1,2),16);if(Ne<128)oe+=String.fromCharCode(Ne),we+=3;else if(Ne>=194&&Ne<224){if(Be-we>=6){var at=parseInt(me.substr(we+4,2),16);oe+=String.fromCharCode((Ne&31)<<6|at&63)}else oe+=me.substr(we,6);we+=6}else if(Ne>=224){if(Be-we>=9){var qe=parseInt(me.substr(we+4,2),16),Je=parseInt(me.substr(we+7,2),16);oe+=String.fromCharCode((Ne&15)<<12|(qe&63)<<6|Je&63)}else oe+=me.substr(we,9);we+=9}else oe+=me.substr(we,3),we+=3}return oe}function ae(me,oe){function we(Be){var Ne=ne(Be);return Ne.match(oe.UNRESERVED)?Ne:Be}return me.scheme&&(me.scheme=String(me.scheme).replace(oe.PCT_ENCODED,we).toLowerCase().replace(oe.NOT_SCHEME,"")),me.userinfo!==void 0&&(me.userinfo=String(me.userinfo).replace(oe.PCT_ENCODED,we).replace(oe.NOT_USERINFO,z).replace(oe.PCT_ENCODED,p)),me.host!==void 0&&(me.host=String(me.host).replace(oe.PCT_ENCODED,we).toLowerCase().replace(oe.NOT_HOST,z).replace(oe.PCT_ENCODED,p)),me.path!==void 0&&(me.path=String(me.path).replace(oe.PCT_ENCODED,we).replace(me.scheme?oe.NOT_PATH:oe.NOT_PATH_NOSCHEME,z).replace(oe.PCT_ENCODED,p)),me.query!==void 0&&(me.query=String(me.query).replace(oe.PCT_ENCODED,we).replace(oe.NOT_QUERY,z).replace(oe.PCT_ENCODED,p)),me.fragment!==void 0&&(me.fragment=String(me.fragment).replace(oe.PCT_ENCODED,we).replace(oe.NOT_FRAGMENT,z).replace(oe.PCT_ENCODED,p)),me}function be(me){return me.replace(/^0*(.*)/,"$1")||"0"}function Pe(me,oe){var we=me.match(oe.IPV4ADDRESS)||[],Be=m(we,2),Ne=Be[1];return Ne?Ne.split(".").map(be).join("."):me}function Ie(me,oe){var we=me.match(oe.IPV6ADDRESS)||[],Be=m(we,3),Ne=Be[1],at=Be[2];if(Ne){for(var qe=Ne.toLowerCase().split("::").reverse(),Je=m(qe,2),Ze=Je[0],Oe=Je[1],Ke=Oe?Oe.split(":").map(be):[],it=Ze.split(":").map(be),ht=oe.IPV4ADDRESS.test(it[it.length-1]),ft=ht?7:8,gt=it.length-ft,yt=Array(ft),dt=0;dt<ft;++dt)yt[dt]=Ke[dt]||it[gt+dt]||"";ht&&(yt[ft-1]=Pe(yt[ft-1],oe));var At=yt.reduce(function(Vt,ut,Wt){if(!ut||ut==="0"){var Bt=Vt[Vt.length-1];Bt&&Bt.index+Bt.length===Wt?Bt.length++:Vt.push({index:Wt,length:1})}return Vt},[]),Ft=At.sort(function(Vt,ut){return ut.length-Vt.length})[0],Rt=void 0;if(Ft&&Ft.length>1){var _t=yt.slice(0,Ft.index),Ut=yt.slice(Ft.index+Ft.length);Rt=_t.join(":")+"::"+Ut.join(":")}else Rt=yt.join(":");return at&&(Rt+="%"+at),Rt}else return me}var ue=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,ve="".match(/(){0}/)[1]===void 0;function G(me){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},we={},Be=oe.iri!==!1?f:i;oe.reference==="suffix"&&(me=(oe.scheme?oe.scheme+":":"")+"//"+me);var Ne=me.match(ue);if(Ne){ve?(we.scheme=Ne[1],we.userinfo=Ne[3],we.host=Ne[4],we.port=parseInt(Ne[5],10),we.path=Ne[6]||"",we.query=Ne[7],we.fragment=Ne[8],isNaN(we.port)&&(we.port=Ne[5])):(we.scheme=Ne[1]||void 0,we.userinfo=me.indexOf("@")!==-1?Ne[3]:void 0,we.host=me.indexOf("//")!==-1?Ne[4]:void 0,we.port=parseInt(Ne[5],10),we.path=Ne[6]||"",we.query=me.indexOf("?")!==-1?Ne[7]:void 0,we.fragment=me.indexOf("#")!==-1?Ne[8]:void 0,isNaN(we.port)&&(we.port=me.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?Ne[4]:void 0)),we.host&&(we.host=Ie(Pe(we.host,Be),Be)),we.scheme===void 0&&we.userinfo===void 0&&we.host===void 0&&we.port===void 0&&!we.path&&we.query===void 0?we.reference="same-document":we.scheme===void 0?we.reference="relative":we.fragment===void 0?we.reference="absolute":we.reference="uri",oe.reference&&oe.reference!=="suffix"&&oe.reference!==we.reference&&(we.error=we.error||"URI is not a "+oe.reference+" reference.");var at=F[(oe.scheme||we.scheme||"").toLowerCase()];if(!oe.unicodeSupport&&(!at||!at.unicodeSupport)){if(we.host&&(oe.domainHost||at&&at.domainHost))try{we.host=Y.toASCII(we.host.replace(Be.PCT_ENCODED,ne).toLowerCase())}catch(qe){we.error=we.error||"Host's domain name can not be converted to ASCII via punycode: "+qe}ae(we,i)}else ae(we,Be);at&&at.parse&&at.parse(we,oe)}else we.error=we.error||"URI can not be parsed.";return we}function J(me,oe){var we=oe.iri!==!1?f:i,Be=[];return me.userinfo!==void 0&&(Be.push(me.userinfo),Be.push("@")),me.host!==void 0&&Be.push(Ie(Pe(String(me.host),we),we).replace(we.IPV6ADDRESS,function(Ne,at,qe){return"["+at+(qe?"%25"+qe:"")+"]"})),(typeof me.port=="number"||typeof me.port=="string")&&(Be.push(":"),Be.push(String(me.port))),Be.length?Be.join(""):void 0}var Te=/^\.\.?\//,$=/^\/\.(\/|$)/,se=/^\/\.\.(\/|$)/,De=/^\/?(?:.|\n)*?(?=\/|$)/;function Le(me){for(var oe=[];me.length;)if(me.match(Te))me=me.replace(Te,"");else if(me.match($))me=me.replace($,"/");else if(me.match(se))me=me.replace(se,"/"),oe.pop();else if(me==="."||me==="..")me="";else{var we=me.match(De);if(we){var Be=we[0];me=me.slice(Be.length),oe.push(Be)}else throw new Error("Unexpected dot segment condition")}return oe.join("")}function Fe(me){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},we=oe.iri?f:i,Be=[],Ne=F[(oe.scheme||me.scheme||"").toLowerCase()];if(Ne&&Ne.serialize&&Ne.serialize(me,oe),me.host&&!we.IPV6ADDRESS.test(me.host)){if(oe.domainHost||Ne&&Ne.domainHost)try{me.host=oe.iri?Y.toUnicode(me.host):Y.toASCII(me.host.replace(we.PCT_ENCODED,ne).toLowerCase())}catch(Je){me.error=me.error||"Host's domain name can not be converted to "+(oe.iri?"Unicode":"ASCII")+" via punycode: "+Je}}ae(me,we),oe.reference!=="suffix"&&me.scheme&&(Be.push(me.scheme),Be.push(":"));var at=J(me,oe);if(at!==void 0&&(oe.reference!=="suffix"&&Be.push("//"),Be.push(at),me.path&&me.path.charAt(0)!=="/"&&Be.push("/")),me.path!==void 0){var qe=me.path;!oe.absolutePath&&(!Ne||!Ne.absolutePath)&&(qe=Le(qe)),at===void 0&&(qe=qe.replace(/^\/\//,"/%2F")),Be.push(qe)}return me.query!==void 0&&(Be.push("?"),Be.push(me.query)),me.fragment!==void 0&&(Be.push("#"),Be.push(me.fragment)),Be.join("")}function V(me,oe){var we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Be=arguments[3],Ne={};return Be||(me=G(Fe(me,we),we),oe=G(Fe(oe,we),we)),we=we||{},!we.tolerant&&oe.scheme?(Ne.scheme=oe.scheme,Ne.userinfo=oe.userinfo,Ne.host=oe.host,Ne.port=oe.port,Ne.path=Le(oe.path||""),Ne.query=oe.query):(oe.userinfo!==void 0||oe.host!==void 0||oe.port!==void 0?(Ne.userinfo=oe.userinfo,Ne.host=oe.host,Ne.port=oe.port,Ne.path=Le(oe.path||""),Ne.query=oe.query):(oe.path?(oe.path.charAt(0)==="/"?Ne.path=Le(oe.path):((me.userinfo!==void 0||me.host!==void 0||me.port!==void 0)&&!me.path?Ne.path="/"+oe.path:me.path?Ne.path=me.path.slice(0,me.path.lastIndexOf("/")+1)+oe.path:Ne.path=oe.path,Ne.path=Le(Ne.path)),Ne.query=oe.query):(Ne.path=me.path,oe.query!==void 0?Ne.query=oe.query:Ne.query=me.query),Ne.userinfo=me.userinfo,Ne.host=me.host,Ne.port=me.port),Ne.scheme=me.scheme),Ne.fragment=oe.fragment,Ne}function et(me,oe,we){var Be=r({scheme:"null"},we);return Fe(V(G(me,Be),G(oe,Be),Be,!0),Be)}function nt(me,oe){return typeof me=="string"?me=Fe(G(me,oe),oe):c(me)==="object"&&(me=G(Fe(me,oe),oe)),me}function lt(me,oe,we){return typeof me=="string"?me=Fe(G(me,we),we):c(me)==="object"&&(me=Fe(me,we)),typeof oe=="string"?oe=Fe(G(oe,we),we):c(oe)==="object"&&(oe=Fe(oe,we)),me===oe}function Qe(me,oe){return me&&me.toString().replace(!oe||!oe.iri?i.ESCAPE:f.ESCAPE,z)}function Xe(me,oe){return me&&me.toString().replace(!oe||!oe.iri?i.PCT_ENCODED:f.PCT_ENCODED,ne)}var pt={scheme:"http",domainHost:!0,parse:function(oe,we){return oe.host||(oe.error=oe.error||"HTTP URIs must have a host."),oe},serialize:function(oe,we){var Be=String(oe.scheme).toLowerCase()==="https";return(oe.port===(Be?443:80)||oe.port==="")&&(oe.port=void 0),oe.path||(oe.path="/"),oe}},tt={scheme:"https",domainHost:pt.domainHost,parse:pt.parse,serialize:pt.serialize};function Dt(me){return typeof me.secure=="boolean"?me.secure:String(me.scheme).toLowerCase()==="wss"}var st={scheme:"ws",domainHost:!0,parse:function(oe,we){var Be=oe;return Be.secure=Dt(Be),Be.resourceName=(Be.path||"/")+(Be.query?"?"+Be.query:""),Be.path=void 0,Be.query=void 0,Be},serialize:function(oe,we){if((oe.port===(Dt(oe)?443:80)||oe.port==="")&&(oe.port=void 0),typeof oe.secure=="boolean"&&(oe.scheme=oe.secure?"wss":"ws",oe.secure=void 0),oe.resourceName){var Be=oe.resourceName.split("?"),Ne=m(Be,2),at=Ne[0],qe=Ne[1];oe.path=at&&at!=="/"?at:void 0,oe.query=qe,oe.resourceName=void 0}return oe.fragment=void 0,oe}},Ce={scheme:"wss",domainHost:st.domainHost,parse:st.parse,serialize:st.serialize},ge={},ye="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",Re="[0-9A-Fa-f]",We=t(t("%[EFef]"+Re+"%"+Re+Re+"%"+Re+Re)+"|"+t("%[89A-Fa-f]"+Re+"%"+Re+Re)+"|"+t("%"+Re+Re)),ce="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",de="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",he=o(de,'[\\"\\\\]'),ke="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",$e=new RegExp(ye,"g"),Ee=new RegExp(We,"g"),O=new RegExp(o("[^]",ce,"[\\.]",'[\\"]',he),"g"),Q=new RegExp(o("[^]",ye,ke),"g"),ie=Q;function Z(me){var oe=ne(me);return oe.match($e)?oe:me}var le={scheme:"mailto",parse:function(oe,we){var Be=oe,Ne=Be.to=Be.path?Be.path.split(","):[];if(Be.path=void 0,Be.query){for(var at=!1,qe={},Je=Be.query.split("&"),Ze=0,Oe=Je.length;Ze<Oe;++Ze){var Ke=Je[Ze].split("=");switch(Ke[0]){case"to":for(var it=Ke[1].split(","),ht=0,ft=it.length;ht<ft;++ht)Ne.push(it[ht]);break;case"subject":Be.subject=Xe(Ke[1],we);break;case"body":Be.body=Xe(Ke[1],we);break;default:at=!0,qe[Xe(Ke[0],we)]=Xe(Ke[1],we);break}}at&&(Be.headers=qe)}Be.query=void 0;for(var gt=0,yt=Ne.length;gt<yt;++gt){var dt=Ne[gt].split("@");if(dt[0]=Xe(dt[0]),we.unicodeSupport)dt[1]=Xe(dt[1],we).toLowerCase();else try{dt[1]=Y.toASCII(Xe(dt[1],we).toLowerCase())}catch(At){Be.error=Be.error||"Email address's domain name can not be converted to ASCII via punycode: "+At}Ne[gt]=dt.join("@")}return Be},serialize:function(oe,we){var Be=oe,Ne=u(oe.to);if(Ne){for(var at=0,qe=Ne.length;at<qe;++at){var Je=String(Ne[at]),Ze=Je.lastIndexOf("@"),Oe=Je.slice(0,Ze).replace(Ee,Z).replace(Ee,p).replace(O,z),Ke=Je.slice(Ze+1);try{Ke=we.iri?Y.toUnicode(Ke):Y.toASCII(Xe(Ke,we).toLowerCase())}catch(gt){Be.error=Be.error||"Email address's domain name can not be converted to "+(we.iri?"Unicode":"ASCII")+" via punycode: "+gt}Ne[at]=Oe+"@"+Ke}Be.path=Ne.join(",")}var it=oe.headers=oe.headers||{};oe.subject&&(it.subject=oe.subject),oe.body&&(it.body=oe.body);var ht=[];for(var ft in it)it[ft]!==ge[ft]&&ht.push(ft.replace(Ee,Z).replace(Ee,p).replace(Q,z)+"="+it[ft].replace(Ee,Z).replace(Ee,p).replace(ie,z));return ht.length&&(Be.query=ht.join("&")),Be}},Ae=/^([^\:]+)\:(.*)/,_e={scheme:"urn",parse:function(oe,we){var Be=oe.path&&oe.path.match(Ae),Ne=oe;if(Be){var at=we.scheme||Ne.scheme||"urn",qe=Be[1].toLowerCase(),Je=Be[2],Ze=at+":"+(we.nid||qe),Oe=F[Ze];Ne.nid=qe,Ne.nss=Je,Ne.path=void 0,Oe&&(Ne=Oe.parse(Ne,we))}else Ne.error=Ne.error||"URN can not be parsed.";return Ne},serialize:function(oe,we){var Be=we.scheme||oe.scheme||"urn",Ne=oe.nid,at=Be+":"+(we.nid||Ne),qe=F[at];qe&&(oe=qe.serialize(oe,we));var Je=oe,Ze=oe.nss;return Je.path=(Ne||we.nid)+":"+Ze,Je}},Ve=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Ye={scheme:"urn:uuid",parse:function(oe,we){var Be=oe;return Be.uuid=Be.nss,Be.nss=void 0,!we.tolerant&&(!Be.uuid||!Be.uuid.match(Ve))&&(Be.error=Be.error||"UUID is not valid."),Be},serialize:function(oe,we){var Be=oe;return Be.nss=(oe.uuid||"").toLowerCase(),Be}};F[pt.scheme]=pt,F[tt.scheme]=tt,F[st.scheme]=st,F[Ce.scheme]=Ce,F[le.scheme]=le,F[_e.scheme]=_e,F[Ye.scheme]=Ye,n.SCHEMES=F,n.pctEncChar=z,n.pctDecChars=ne,n.parse=G,n.removeDotSegments=Le,n.serialize=Fe,n.resolveComponents=V,n.resolve=et,n.normalize=nt,n.equal=lt,n.escapeComponent=Qe,n.unescapeComponent=Xe,Object.defineProperty(n,"__esModule",{value:!0})})}(On,On.exports)),On.exports}var ps,Pm;function ms(){return Pm||(Pm=1,ps=function a(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var o,t,c;if(Array.isArray(e)){if(o=e.length,o!=n.length)return!1;for(t=o;t--!==0;)if(!a(e[t],n[t]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(c=Object.keys(e),o=c.length,o!==Object.keys(n).length)return!1;for(t=o;t--!==0;)if(!Object.prototype.hasOwnProperty.call(n,c[t]))return!1;for(t=o;t--!==0;){var p=c[t];if(!a(e[p],n[p]))return!1}return!0}return e!==e&&n!==n}),ps}var hs,Fm;function lC(){return Fm||(Fm=1,hs=function(e){for(var n=0,o=e.length,t=0,c;t<o;)n++,c=e.charCodeAt(t++),c>=55296&&c<=56319&&t<o&&(c=e.charCodeAt(t),(c&64512)==56320&&t++);return n}),hs}var ds,Rm;function $r(){if(Rm)return ds;Rm=1,ds={copy:a,checkDataType:e,checkDataTypes:n,coerceToTypes:t,toHash:c,getProperty:r,escapeQuotes:h,equal:ms(),ucs2length:lC(),varOccurences:i,varReplace:f,schemaHasRules:m,schemaHasRulesExcept:s,schemaUnknownRules:l,toQuotedString:d,getPathExpr:g,getPath:v,getData:C,unescapeFragment:E,unescapeJsonPointer:A,escapeFragment:k,escapeJsonPointer:x};function a(I,B){B=B||{};for(var M in I)B[M]=I[M];return B}function e(I,B,M,P){var D=P?" !== ":" === ",R=P?" || ":" && ",N=P?"!":"",q=P?"":"!";switch(I){case"null":return B+D+"null";case"array":return N+"Array.isArray("+B+")";case"object":return"("+N+B+R+"typeof "+B+D+'"object"'+R+q+"Array.isArray("+B+"))";case"integer":return"(typeof "+B+D+'"number"'+R+q+"("+B+" % 1)"+R+B+D+B+(M?R+N+"isFinite("+B+")":"")+")";case"number":return"(typeof "+B+D+'"'+I+'"'+(M?R+N+"isFinite("+B+")":"")+")";default:return"typeof "+B+D+'"'+I+'"'}}function n(I,B,M){switch(I.length){case 1:return e(I[0],B,M,!0);default:var P="",D=c(I);D.array&&D.object&&(P=D.null?"(":"(!"+B+" || ",P+="typeof "+B+' !== "object")',delete D.null,delete D.array,delete D.object),D.number&&delete D.integer;for(var R in D)P+=(P?" && ":"")+e(R,B,M,!0);return P}}var o=c(["string","number","integer","boolean","null"]);function t(I,B){if(Array.isArray(B)){for(var M=[],P=0;P<B.length;P++){var D=B[P];(o[D]||I==="array"&&D==="array")&&(M[M.length]=D)}if(M.length)return M}else{if(o[B])return[B];if(I==="array"&&B==="array")return["array"]}}function c(I){for(var B={},M=0;M<I.length;M++)B[I[M]]=!0;return B}var p=/^[a-z$_][a-z$_0-9]*$/i,u=/'|\\/g;function r(I){return typeof I=="number"?"["+I+"]":p.test(I)?"."+I:"['"+h(I)+"']"}function h(I){return I.replace(u,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function i(I,B){B+="[^0-9]";var M=I.match(new RegExp(B,"g"));return M?M.length:0}function f(I,B,M){return B+="([^0-9])",M=M.replace(/\$/g,"$$$$"),I.replace(new RegExp(B,"g"),M+"$1")}function m(I,B){if(typeof I=="boolean")return!I;for(var M in I)if(B[M])return!0}function s(I,B,M){if(typeof I=="boolean")return!I&&M!="not";for(var P in I)if(P!=M&&B[P])return!0}function l(I,B){if(typeof I!="boolean"){for(var M in I)if(!B[M])return M}}function d(I){return"'"+h(I)+"'"}function g(I,B,M,P){var D=M?"'/' + "+B+(P?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):P?"'[' + "+B+" + ']'":"'[\\'' + "+B+" + '\\']'";return w(I,D)}function v(I,B,M){var P=d(M?"/"+x(B):r(B));return w(I,P)}var S=/^\/(?:[^~]|~0|~1)*$/,b=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function C(I,B,M){var P,D,R,N;if(I==="")return"rootData";if(I[0]=="/"){if(!S.test(I))throw new Error("Invalid JSON-pointer: "+I);D=I,R="rootData"}else{if(N=I.match(b),!N)throw new Error("Invalid JSON-pointer: "+I);if(P=+N[1],D=N[2],D=="#"){if(P>=B)throw new Error("Cannot access property/index "+P+" levels up, current level is "+B);return M[B-P]}if(P>B)throw new Error("Cannot access data "+P+" levels up, current level is "+B);if(R="data"+(B-P||""),!D)return R}for(var q=R,L=D.split("/"),W=0;W<L.length;W++){var _=L[W];_&&(R+=r(A(_)),q+=" && "+R)}return q}function w(I,B){return I=='""'?B:(I+" + "+B).replace(/([^\\])' \+ '/g,"$1")}function E(I){return A(decodeURIComponent(I))}function k(I){return encodeURIComponent(x(I))}function x(I){return I.replace(/~/g,"~0").replace(/\//g,"~1")}function A(I){return I.replace(/~1/g,"/").replace(/~0/g,"~")}return ds}var gs,_m;function Bm(){if(_m)return gs;_m=1;var a=$r();gs=e;function e(n){a.copy(n,this)}return gs}var ys={exports:{}},Lm;function uC(){if(Lm)return ys.exports;Lm=1;var a=ys.exports=function(o,t,c){typeof t=="function"&&(c=t,t={}),c=t.cb||c;var p=typeof c=="function"?c:c.pre||function(){},u=c.post||function(){};e(t,p,u,o,"",o)};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};function e(o,t,c,p,u,r,h,i,f,m){if(p&&typeof p=="object"&&!Array.isArray(p)){t(p,u,r,h,i,f,m);for(var s in p){var l=p[s];if(Array.isArray(l)){if(s in a.arrayKeywords)for(var d=0;d<l.length;d++)e(o,t,c,l[d],u+"/"+s+"/"+d,r,u,s,p,d)}else if(s in a.propsKeywords){if(l&&typeof l=="object")for(var g in l)e(o,t,c,l[g],u+"/"+s+"/"+n(g),r,u,s,p,g)}else(s in a.keywords||o.allKeys&&!(s in a.skipKeywords))&&e(o,t,c,l,u+"/"+s,r,u,s,p)}c(p,u,r,h,i,f,m)}}function n(o){return o.replace(/~/g,"~0").replace(/\//g,"~1")}return ys.exports}var vs,Om;function Es(){if(Om)return vs;Om=1;var a=oC(),e=ms(),n=$r(),o=Bm(),t=uC();vs=c,c.normalizeId=v,c.fullPath=l,c.url=S,c.ids=b,c.inlineRef=f,c.schema=p;function c(C,w,E){var k=this._refs[E];if(typeof k=="string")if(this._refs[k])k=this._refs[k];else return c.call(this,C,w,k);if(k=k||this._schemas[E],k instanceof o)return f(k.schema,this._opts.inlineRefs)?k.schema:k.validate||this._compile(k);var x=p.call(this,w,E),A,I,B;return x&&(A=x.schema,w=x.root,B=x.baseId),A instanceof o?I=A.validate||C.call(this,A.schema,w,void 0,B):A!==void 0&&(I=f(A,this._opts.inlineRefs)?A:C.call(this,A,w,void 0,B)),I}function p(C,w){var E=a.parse(w),k=d(E),x=l(this._getId(C.schema));if(Object.keys(C.schema).length===0||k!==x){var A=v(k),I=this._refs[A];if(typeof I=="string")return u.call(this,C,I,E);if(I instanceof o)I.validate||this._compile(I),C=I;else if(I=this._schemas[A],I instanceof o){if(I.validate||this._compile(I),A==v(w))return{schema:I,root:C,baseId:x};C=I}else return;if(!C.schema)return;x=l(this._getId(C.schema))}return h.call(this,E,x,C.schema,C)}function u(C,w,E){var k=p.call(this,C,w);if(k){var x=k.schema,A=k.baseId;C=k.root;var I=this._getId(x);return I&&(A=S(A,I)),h.call(this,E,A,x,C)}}var r=n.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function h(C,w,E,k){if(C.fragment=C.fragment||"",C.fragment.slice(0,1)=="/"){for(var x=C.fragment.split("/"),A=1;A<x.length;A++){var I=x[A];if(I){if(I=n.unescapeFragment(I),E=E[I],E===void 0)break;var B;if(!r[I]&&(B=this._getId(E),B&&(w=S(w,B)),E.$ref)){var M=S(w,E.$ref),P=p.call(this,k,M);P&&(E=P.schema,k=P.root,w=P.baseId)}}}if(E!==void 0&&E!==k.schema)return{schema:E,root:k,baseId:w}}}var i=n.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function f(C,w){if(w===!1)return!1;if(w===void 0||w===!0)return m(C);if(w)return s(C)<=w}function m(C){var w;if(Array.isArray(C)){for(var E=0;E<C.length;E++)if(w=C[E],typeof w=="object"&&!m(w))return!1}else for(var k in C)if(k=="$ref"||(w=C[k],typeof w=="object"&&!m(w)))return!1;return!0}function s(C){var w=0,E;if(Array.isArray(C)){for(var k=0;k<C.length;k++)if(E=C[k],typeof E=="object"&&(w+=s(E)),w==1/0)return 1/0}else for(var x in C){if(x=="$ref")return 1/0;if(i[x])w++;else if(E=C[x],typeof E=="object"&&(w+=s(E)+1),w==1/0)return 1/0}return w}function l(C,w){w!==!1&&(C=v(C));var E=a.parse(C);return d(E)}function d(C){return a.serialize(C).split("#")[0]+"#"}var g=/#\/?$/;function v(C){return C?C.replace(g,""):""}function S(C,w){return w=v(w),a.resolve(C,w)}function b(C){var w=v(this._getId(C)),E={"":w},k={"":l(w,!1)},x={},A=this;return t(C,{allKeys:!0},function(I,B,M,P,D,R,N){if(B!==""){var q=A._getId(I),L=E[P],W=k[P]+"/"+D;if(N!==void 0&&(W+="/"+(typeof N=="number"?N:n.escapeFragment(N))),typeof q=="string"){q=L=v(L?a.resolve(L,q):q);var _=A._refs[q];if(typeof _=="string"&&(_=A._refs[_]),_&&_.schema){if(!e(I,_.schema))throw new Error('id "'+q+'" resolves to more than one schema')}else if(q!=v(W))if(q[0]=="#"){if(x[q]&&!e(I,x[q]))throw new Error('id "'+q+'" resolves to more than one schema');x[q]=I}else A._refs[q]=W}E[B]=L,k[B]=W}}),x}return vs}var Ss,Nm;function bs(){if(Nm)return Ss;Nm=1;var a=Es();Ss={Validation:o(e),MissingRef:o(n)};function e(t){this.message="validation failed",this.errors=t,this.ajv=this.validation=!0}n.message=function(t,c){return"can't resolve reference "+c+" from id "+t};function n(t,c,p){this.message=p||n.message(t,c),this.missingRef=a.url(t,c),this.missingSchema=a.normalizeId(a.fullPath(this.missingRef))}function o(t){return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}return Ss}var xs,jm;function Mm(){return jm||(jm=1,xs=function(a,e){e||(e={}),typeof e=="function"&&(e={cmp:e});var n=typeof e.cycles=="boolean"?e.cycles:!1,o=e.cmp&&function(c){return function(p){return function(u,r){var h={key:u,value:p[u]},i={key:r,value:p[r]};return c(h,i)}}}(e.cmp),t=[];return function c(p){if(p&&p.toJSON&&typeof p.toJSON=="function"&&(p=p.toJSON()),p!==void 0){if(typeof p=="number")return isFinite(p)?""+p:"null";if(typeof p!="object")return JSON.stringify(p);var u,r;if(Array.isArray(p)){for(r="[",u=0;u<p.length;u++)u&&(r+=","),r+=c(p[u])||"null";return r+"]"}if(p===null)return"null";if(t.indexOf(p)!==-1){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var h=t.push(p)-1,i=Object.keys(p).sort(o&&o(p));for(r="",u=0;u<i.length;u++){var f=i[u],m=c(p[f]);m&&(r&&(r+=","),r+=JSON.stringify(f)+":"+m)}return t.splice(h,1),"{"+r+"}"}}(a)}),xs}var Cs,Um;function qm(){return Um||(Um=1,Cs=function(e,n,o){var t="",c=e.schema.$async===!0,p=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),u=e.self._getId(e.schema);if(e.opts.strictKeywords){var r=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(r){var h="unknown keyword: "+r;if(e.opts.strictKeywords==="log")e.logger.warn(h);else throw new Error(h)}}if(e.isTop&&(t+=" var validate = ",c&&(e.async=!0,t+="async "),t+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",u&&(e.opts.sourceCode||e.opts.processCode)&&(t+=" "+("/*# sourceURL="+u+" */")+" ")),typeof e.schema=="boolean"||!(p||e.schema.$ref)){var n="false schema",i=e.level,f=e.dataLevel,m=e.schema[n],s=e.schemaPath+e.util.getProperty(n),l=e.errSchemaPath+"/"+n,w=!e.opts.allErrors,x,d="data"+(f||""),C="valid"+i;if(e.schema===!1){e.isTop?w=!0:t+=" var "+C+" = false; ";var g=g||[];g.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(x||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'boolean schema is false' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var v=t;t=g.pop(),!e.compositeRule&&w?e.async?t+=" throw new ValidationError(["+v+"]); ":t+=" validate.errors = ["+v+"]; return false; ":t+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?c?t+=" return data; ":t+=" validate.errors = null; return true; ":t+=" var "+C+" = true; ";return e.isTop&&(t+=" }; return validate; "),t}if(e.isTop){var S=e.isTop,i=e.level=0,f=e.dataLevel=0,d="data";if(e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[""],e.schema.default!==void 0&&e.opts.useDefaults&&e.opts.strictDefaults){var b="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(b);else throw new Error(b)}t+=" var vErrors = null; ",t+=" var errors = 0; ",t+=" if (rootData === undefined) rootData = data; "}else{var i=e.level,f=e.dataLevel,d="data"+(f||"");if(u&&(e.baseId=e.resolve.url(e.baseId,u)),c&&!e.async)throw new Error("async schema in sync schema");t+=" var errs_"+i+" = errors;"}var C="valid"+i,w=!e.opts.allErrors,E="",k="",x,A=e.schema.type,I=Array.isArray(A);if(A&&e.opts.nullable&&e.schema.nullable===!0&&(I?A.indexOf("null")==-1&&(A=A.concat("null")):A!="null"&&(A=[A,"null"],I=!0)),I&&A.length==1&&(A=A[0],I=!1),e.schema.$ref&&p){if(e.opts.extendRefs=="fail")throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');e.opts.extendRefs!==!0&&(p=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(t+=" "+e.RULES.all.$comment.code(e,"$comment")),A){if(e.opts.coerceTypes)var B=e.util.coerceToTypes(e.opts.coerceTypes,A);var M=e.RULES.types[A];if(B||I||M===!0||M&&!$(M)){var s=e.schemaPath+".type",l=e.errSchemaPath+"/type",s=e.schemaPath+".type",l=e.errSchemaPath+"/type",P=I?"checkDataTypes":"checkDataType";if(t+=" if ("+e.util[P](A,d,e.opts.strictNumbers,!0)+") { ",B){var D="dataType"+i,R="coerced"+i;t+=" var "+D+" = typeof "+d+"; var "+R+" = undefined; ",e.opts.coerceTypes=="array"&&(t+=" if ("+D+" == 'object' && Array.isArray("+d+") && "+d+".length == 1) { "+d+" = "+d+"[0]; "+D+" = typeof "+d+"; if ("+e.util.checkDataType(e.schema.type,d,e.opts.strictNumbers)+") "+R+" = "+d+"; } "),t+=" if ("+R+" !== undefined) ; ";var N=B;if(N)for(var q,L=-1,W=N.length-1;L<W;)q=N[L+=1],q=="string"?t+=" else if ("+D+" == 'number' || "+D+" == 'boolean') "+R+" = '' + "+d+"; else if ("+d+" === null) "+R+" = ''; ":q=="number"||q=="integer"?(t+=" else if ("+D+" == 'boolean' || "+d+" === null || ("+D+" == 'string' && "+d+" && "+d+" == +"+d+" ",q=="integer"&&(t+=" && !("+d+" % 1)"),t+=")) "+R+" = +"+d+"; "):q=="boolean"?t+=" else if ("+d+" === 'false' || "+d+" === 0 || "+d+" === null) "+R+" = false; else if ("+d+" === 'true' || "+d+" === 1) "+R+" = true; ":q=="null"?t+=" else if ("+d+" === '' || "+d+" === 0 || "+d+" === false) "+R+" = null; ":e.opts.coerceTypes=="array"&&q=="array"&&(t+=" else if ("+D+" == 'string' || "+D+" == 'number' || "+D+" == 'boolean' || "+d+" == null) "+R+" = ["+d+"]; ");t+=" else { ";var g=g||[];g.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(x||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { type: '",I?t+=""+A.join(","):t+=""+A,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",I?t+=""+A.join(","):t+=""+A,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var v=t;t=g.pop(),!e.compositeRule&&w?e.async?t+=" throw new ValidationError(["+v+"]); ":t+=" validate.errors = ["+v+"]; return false; ":t+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } if ("+R+" !== undefined) { ";var _=f?"data"+(f-1||""):"parentData",H=f?e.dataPathArr[f]:"parentDataProperty";t+=" "+d+" = "+R+"; ",f||(t+="if ("+_+" !== undefined)"),t+=" "+_+"["+H+"] = "+R+"; } "}else{var g=g||[];g.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(x||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { type: '",I?t+=""+A.join(","):t+=""+A,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",I?t+=""+A.join(","):t+=""+A,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var v=t;t=g.pop(),!e.compositeRule&&w?e.async?t+=" throw new ValidationError(["+v+"]); ":t+=" validate.errors = ["+v+"]; return false; ":t+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}t+=" } "}}if(e.schema.$ref&&!p)t+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",w&&(t+=" } if (errors === ",S?t+="0":t+="errs_"+i,t+=") { ",k+="}");else{var K=e.RULES;if(K){for(var M,re=-1,te=K.length-1;re<te;)if(M=K[re+=1],$(M)){if(M.type&&(t+=" if ("+e.util.checkDataType(M.type,d,e.opts.strictNumbers)+") { "),e.opts.useDefaults){if(M.type=="object"&&e.schema.properties){var m=e.schema.properties,xe=Object.keys(m),Y=xe;if(Y)for(var F,z=-1,ne=Y.length-1;z<ne;){F=Y[z+=1];var ae=m[F];if(ae.default!==void 0){var be=d+e.util.getProperty(F);if(e.compositeRule){if(e.opts.strictDefaults){var b="default is ignored for: "+be;if(e.opts.strictDefaults==="log")e.logger.warn(b);else throw new Error(b)}}else t+=" if ("+be+" === undefined ",e.opts.useDefaults=="empty"&&(t+=" || "+be+" === null || "+be+" === '' "),t+=" ) "+be+" = ",e.opts.useDefaults=="shared"?t+=" "+e.useDefault(ae.default)+" ":t+=" "+JSON.stringify(ae.default)+" ",t+="; "}}}else if(M.type=="array"&&Array.isArray(e.schema.items)){var Pe=e.schema.items;if(Pe){for(var ae,L=-1,Ie=Pe.length-1;L<Ie;)if(ae=Pe[L+=1],ae.default!==void 0){var be=d+"["+L+"]";if(e.compositeRule){if(e.opts.strictDefaults){var b="default is ignored for: "+be;if(e.opts.strictDefaults==="log")e.logger.warn(b);else throw new Error(b)}}else t+=" if ("+be+" === undefined ",e.opts.useDefaults=="empty"&&(t+=" || "+be+" === null || "+be+" === '' "),t+=" ) "+be+" = ",e.opts.useDefaults=="shared"?t+=" "+e.useDefault(ae.default)+" ":t+=" "+JSON.stringify(ae.default)+" ",t+="; "}}}}var ue=M.rules;if(ue){for(var ve,G=-1,J=ue.length-1;G<J;)if(ve=ue[G+=1],se(ve)){var Te=ve.code(e,ve.keyword,M.type);Te&&(t+=" "+Te+" ",w&&(E+="}"))}}if(w&&(t+=" "+E+" ",E=""),M.type&&(t+=" } ",A&&A===M.type&&!B)){t+=" else { ";var s=e.schemaPath+".type",l=e.errSchemaPath+"/type",g=g||[];g.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(x||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { type: '",I?t+=""+A.join(","):t+=""+A,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",I?t+=""+A.join(","):t+=""+A,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var v=t;t=g.pop(),!e.compositeRule&&w?e.async?t+=" throw new ValidationError(["+v+"]); ":t+=" validate.errors = ["+v+"]; return false; ":t+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } "}w&&(t+=" if (errors === ",S?t+="0":t+="errs_"+i,t+=") { ",k+="}")}}}w&&(t+=" "+k+" "),S?(c?(t+=" if (errors === 0) return data; ",t+=" else throw new ValidationError(vErrors); "):(t+=" validate.errors = vErrors; ",t+=" return errors === 0; "),t+=" }; return validate;"):t+=" var "+C+" = errors === errs_"+i+";";function $(Le){for(var Fe=Le.rules,V=0;V<Fe.length;V++)if(se(Fe[V]))return!0}function se(Le){return e.schema[Le.keyword]!==void 0||Le.implements&&De(Le)}function De(Le){for(var Fe=Le.implements,V=0;V<Fe.length;V++)if(e.schema[Fe[V]]!==void 0)return!0}return t}),Cs}var ws,Vm;function cC(){if(Vm)return ws;Vm=1;var a=Es(),e=$r(),n=bs(),o=Mm(),t=qm(),c=e.ucs2length,p=ms(),u=n.Validation;ws=r;function r(v,S,b,C){var w=this,E=this._opts,k=[void 0],x={},A=[],I={},B=[],M={},P=[];S=S||{schema:v,refVal:k,refs:x};var D=h.call(this,v,S,C),R=this._compilations[D.index];if(D.compiling)return R.callValidate=_;var N=this._formats,q=this.RULES;try{var L=H(v,S,b,C);R.validate=L;var W=R.callValidate;return W&&(W.schema=L.schema,W.errors=null,W.refs=L.refs,W.refVal=L.refVal,W.root=L.root,W.$async=L.$async,E.sourceCode&&(W.source=L.source)),L}finally{i.call(this,v,S,C)}function _(){var ae=R.validate,be=ae.apply(this,arguments);return _.errors=ae.errors,be}function H(ae,be,Pe,Ie){var ue=!be||be&&be.schema==ae;if(be.schema!=S.schema)return r.call(w,ae,be,Pe,Ie);var ve=ae.$async===!0,G=t({isTop:!0,schema:ae,isRoot:ue,baseId:Ie,root:be,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:n.MissingRef,RULES:q,validate:t,util:e,resolve:a,resolveRef:K,usePattern:F,useDefault:z,useCustomRule:ne,opts:E,formats:N,logger:w.logger,self:w});G=g(k,l)+g(A,m)+g(B,s)+g(P,d)+G,E.processCode&&(G=E.processCode(G,ae));var J;try{var Te=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",G);J=Te(w,q,N,S,k,B,P,p,c,u),k[0]=J}catch($){throw w.logger.error("Error compiling schema, function code:",G),$}return J.schema=ae,J.errors=null,J.refs=x,J.refVal=k,J.root=ue?J:be,ve&&(J.$async=!0),E.sourceCode===!0&&(J.source={code:G,patterns:A,defaults:B}),J}function K(ae,be,Pe){be=a.url(ae,be);var Ie=x[be],ue,ve;if(Ie!==void 0)return ue=k[Ie],ve="refVal["+Ie+"]",Y(ue,ve);if(!Pe&&S.refs){var G=S.refs[be];if(G!==void 0)return ue=S.refVal[G],ve=re(be,ue),Y(ue,ve)}ve=re(be);var J=a.call(w,H,S,be);if(J===void 0){var Te=b&&b[be];Te&&(J=a.inlineRef(Te,E.inlineRefs)?Te:r.call(w,Te,S,b,ae))}if(J===void 0)te(be);else return xe(be,J),Y(J,ve)}function re(ae,be){var Pe=k.length;return k[Pe]=be,x[ae]=Pe,"refVal"+Pe}function te(ae){delete x[ae]}function xe(ae,be){var Pe=x[ae];k[Pe]=be}function Y(ae,be){return typeof ae=="object"||typeof ae=="boolean"?{code:be,schema:ae,inline:!0}:{code:be,$async:ae&&!!ae.$async}}function F(ae){var be=I[ae];return be===void 0&&(be=I[ae]=A.length,A[be]=ae),"pattern"+be}function z(ae){switch(typeof ae){case"boolean":case"number":return""+ae;case"string":return e.toQuotedString(ae);case"object":if(ae===null)return"null";var be=o(ae),Pe=M[be];return Pe===void 0&&(Pe=M[be]=B.length,B[Pe]=ae),"default"+Pe}}function ne(ae,be,Pe,Ie){if(w._opts.validateSchema!==!1){var ue=ae.definition.dependencies;if(ue&&!ue.every(function(Fe){return Object.prototype.hasOwnProperty.call(Pe,Fe)}))throw new Error("parent schema must have all required keywords: "+ue.join(","));var ve=ae.definition.validateSchema;if(ve){var G=ve(be);if(!G){var J="keyword schema is invalid: "+w.errorsText(ve.errors);if(w._opts.validateSchema=="log")w.logger.error(J);else throw new Error(J)}}}var Te=ae.definition.compile,$=ae.definition.inline,se=ae.definition.macro,De;if(Te)De=Te.call(w,be,Pe,Ie);else if(se)De=se.call(w,be,Pe,Ie),E.validateSchema!==!1&&w.validateSchema(De,!0);else if($)De=$.call(w,Ie,ae.keyword,be,Pe);else if(De=ae.definition.validate,!De)return;if(De===void 0)throw new Error('custom keyword "'+ae.keyword+'"failed to compile');var Le=P.length;return P[Le]=De,{code:"customRule"+Le,validate:De}}}function h(v,S,b){var C=f.call(this,v,S,b);return C>=0?{index:C,compiling:!0}:(C=this._compilations.length,this._compilations[C]={schema:v,root:S,baseId:b},{index:C,compiling:!1})}function i(v,S,b){var C=f.call(this,v,S,b);C>=0&&this._compilations.splice(C,1)}function f(v,S,b){for(var C=0;C<this._compilations.length;C++){var w=this._compilations[C];if(w.schema==v&&w.root==S&&w.baseId==b)return C}return-1}function m(v,S){return"var pattern"+v+" = new RegExp("+e.toQuotedString(S[v])+");"}function s(v){return"var default"+v+" = defaults["+v+"];"}function l(v,S){return S[v]===void 0?"":"var refVal"+v+" = refVal["+v+"];"}function d(v){return"var customRule"+v+" = customRules["+v+"];"}function g(v,S){if(!v.length)return"";for(var b="",C=0;C<v.length;C++)b+=S(C,v);return b}return ws}var As={exports:{}},$m;function fC(){if($m)return As.exports;$m=1;var a=As.exports=function(){this._cache={}};return a.prototype.put=function(n,o){this._cache[n]=o},a.prototype.get=function(n){return this._cache[n]},a.prototype.del=function(n){delete this._cache[n]},a.prototype.clear=function(){this._cache={}},As.exports}var Ts,Wm;function pC(){if(Wm)return Ts;Wm=1;var a=$r(),e=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,n=[0,31,28,31,30,31,30,31,31,30,31,30,31],o=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,t=/^(?=.{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,c=/^(?:[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,p=/^(?:[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,u=/^(?:(?:[^\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,r=/^(?:(?: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,h=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,i=/^(?:\/(?:[^~/]|~0|~1)*)*$/,f=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,m=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;Ts=s;function s(k){return k=k=="full"?"full":"fast",a.copy(s[k])}s.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":u,url:r,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:t,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:E,uuid:h,"json-pointer":i,"json-pointer-uri-fragment":f,"relative-json-pointer":m},s.full={date:d,time:g,"date-time":S,uri:C,"uri-reference":p,"uri-template":u,url:r,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:t,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:E,uuid:h,"json-pointer":i,"json-pointer-uri-fragment":f,"relative-json-pointer":m};function l(k){return k%4===0&&(k%100!==0||k%400===0)}function d(k){var x=k.match(e);if(!x)return!1;var A=+x[1],I=+x[2],B=+x[3];return I>=1&&I<=12&&B>=1&&B<=(I==2&&l(A)?29:n[I])}function g(k,x){var A=k.match(o);if(!A)return!1;var I=A[1],B=A[2],M=A[3],P=A[5];return(I<=23&&B<=59&&M<=59||I==23&&B==59&&M==60)&&(!x||P)}var v=/t|\s/i;function S(k){var x=k.split(v);return x.length==2&&d(x[0])&&g(x[1],!0)}var b=/\/|:/;function C(k){return b.test(k)&&c.test(k)}var w=/[^\\]\\Z/;function E(k){if(w.test(k))return!1;try{return new RegExp(k),!0}catch{return!1}}return Ts}var ks,Gm;function mC(){return Gm||(Gm=1,ks=function(e,n,o){var t=" ",c=e.level,p=e.dataLevel,u=e.schema[n],r=e.errSchemaPath+"/"+n,h=!e.opts.allErrors,i="data"+(p||""),f="valid"+c,m,s;if(u=="#"||u=="#/")e.isRoot?(m=e.async,s="validate"):(m=e.root.schema.$async===!0,s="root.refVal[0]");else{var l=e.resolveRef(e.baseId,u,e.isRoot);if(l===void 0){var d=e.MissingRefError.message(e.baseId,u);if(e.opts.missingRefs=="fail"){e.logger.error(d);var g=g||[];g.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(r)+" , params: { ref: '"+e.util.escapeQuotes(u)+"' } ",e.opts.messages!==!1&&(t+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(u)+"' "),e.opts.verbose&&(t+=" , schema: "+e.util.toQuotedString(u)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+i+" "),t+=" } "):t+=" {} ";var v=t;t=g.pop(),!e.compositeRule&&h?e.async?t+=" throw new ValidationError(["+v+"]); ":t+=" validate.errors = ["+v+"]; return false; ":t+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",h&&(t+=" if (false) { ")}else if(e.opts.missingRefs=="ignore")e.logger.warn(d),h&&(t+=" if (true) { ");else throw new e.MissingRefError(e.baseId,u,d)}else if(l.inline){var S=e.util.copy(e);S.level++;var b="valid"+S.level;S.schema=l.schema,S.schemaPath="",S.errSchemaPath=u;var C=e.validate(S).replace(/validate\.schema/g,l.code);t+=" "+C+" ",h&&(t+=" if ("+b+") { ")}else m=l.$async===!0||e.async&&l.$async!==!1,s=l.code}if(s){var g=g||[];g.push(t),t="",e.opts.passContext?t+=" "+s+".call(this, ":t+=" "+s+"( ",t+=" "+i+", (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var w=p?"data"+(p-1||""):"parentData",E=p?e.dataPathArr[p]:"parentDataProperty";t+=" , "+w+" , "+E+", rootData) ";var k=t;if(t=g.pop(),m){if(!e.async)throw new Error("async schema referenced by sync schema");h&&(t+=" var "+f+"; "),t+=" try { await "+k+"; ",h&&(t+=" "+f+" = true; "),t+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",h&&(t+=" "+f+" = false; "),t+=" } ",h&&(t+=" if ("+f+") { ")}else t+=" if (!"+k+") { if (vErrors === null) vErrors = "+s+".errors; else vErrors = vErrors.concat("+s+".errors); errors = vErrors.length; } ",h&&(t+=" else { ")}return t}),ks}var Ds,zm;function hC(){return zm||(zm=1,Ds=function(e,n,o){var t=" ",c=e.schema[n],p=e.schemaPath+e.util.getProperty(n),u=e.errSchemaPath+"/"+n,r=!e.opts.allErrors,h=e.util.copy(e),i="";h.level++;var f="valid"+h.level,m=h.baseId,s=!0,l=c;if(l)for(var d,g=-1,v=l.length-1;g<v;)d=l[g+=1],(e.opts.strictKeywords?typeof d=="object"&&Object.keys(d).length>0||d===!1:e.util.schemaHasRules(d,e.RULES.all))&&(s=!1,h.schema=d,h.schemaPath=p+"["+g+"]",h.errSchemaPath=u+"/"+g,t+=" "+e.validate(h)+" ",h.baseId=m,r&&(t+=" if ("+f+") { ",i+="}"));return r&&(s?t+=" if (true) { ":t+=" "+i.slice(0,-1)+" "),t}),Ds}var Is,Hm;function dC(){return Hm||(Hm=1,Is=function(e,n,o){var t=" ",c=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),h=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,f="data"+(p||""),m="valid"+c,s="errs__"+c,l=e.util.copy(e),d="";l.level++;var g="valid"+l.level,v=u.every(function(x){return e.opts.strictKeywords?typeof x=="object"&&Object.keys(x).length>0||x===!1:e.util.schemaHasRules(x,e.RULES.all)});if(v){var S=l.baseId;t+=" var "+s+" = errors; var "+m+" = false; ";var b=e.compositeRule;e.compositeRule=l.compositeRule=!0;var C=u;if(C)for(var w,E=-1,k=C.length-1;E<k;)w=C[E+=1],l.schema=w,l.schemaPath=r+"["+E+"]",l.errSchemaPath=h+"/"+E,t+=" "+e.validate(l)+" ",l.baseId=S,t+=" "+m+" = "+m+" || "+g+"; if (!"+m+") { ",d+="}";e.compositeRule=l.compositeRule=b,t+=" "+d+" if (!"+m+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&i&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+=" } else { errors = "+s+"; if (vErrors !== null) { if ("+s+") vErrors.length = "+s+"; else vErrors = null; } ",e.opts.allErrors&&(t+=" } ")}else i&&(t+=" if (true) { ");return t}),Is}var Ps,Km;function gC(){return Km||(Km=1,Ps=function(e,n,o){var t=" ",c=e.schema[n],p=e.errSchemaPath+"/"+n;e.opts.allErrors;var u=e.util.toQuotedString(c);return e.opts.$comment===!0?t+=" console.log("+u+");":typeof e.opts.$comment=="function"&&(t+=" self._opts.$comment("+u+", "+e.util.toQuotedString(p)+", validate.root.schema);"),t}),Ps}var Fs,Xm;function yC(){return Xm||(Xm=1,Fs=function(e,n,o){var t=" ",c=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),h=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,f="data"+(p||""),m="valid"+c,s=e.opts.$data&&u&&u.$data;s&&(t+=" var schema"+c+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; "),s||(t+=" var schema"+c+" = validate.schema"+r+";"),t+="var "+m+" = equal("+f+", schema"+c+"); if (!"+m+") { ";var l=l||[];l.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { allowedValue: schema"+c+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be equal to constant' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var d=t;return t=l.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+d+"]); ":t+=" validate.errors = ["+d+"]; return false; ":t+=" var err = "+d+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" }",i&&(t+=" else { "),t}),Fs}var Rs,Jm;function vC(){return Jm||(Jm=1,Rs=function(e,n,o){var t=" ",c=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),h=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,f="data"+(p||""),m="valid"+c,s="errs__"+c,l=e.util.copy(e),d="";l.level++;var g="valid"+l.level,v="i"+c,S=l.dataLevel=e.dataLevel+1,b="data"+S,C=e.baseId,w=e.opts.strictKeywords?typeof u=="object"&&Object.keys(u).length>0||u===!1:e.util.schemaHasRules(u,e.RULES.all);if(t+="var "+s+" = errors;var "+m+";",w){var E=e.compositeRule;e.compositeRule=l.compositeRule=!0,l.schema=u,l.schemaPath=r,l.errSchemaPath=h,t+=" var "+g+" = false; for (var "+v+" = 0; "+v+" < "+f+".length; "+v+"++) { ",l.errorPath=e.util.getPathExpr(e.errorPath,v,e.opts.jsonPointers,!0);var k=f+"["+v+"]";l.dataPathArr[S]=v;var x=e.validate(l);l.baseId=C,e.util.varOccurences(x,b)<2?t+=" "+e.util.varReplace(x,b,k)+" ":t+=" var "+b+" = "+k+"; "+x+" ",t+=" if ("+g+") break; } ",e.compositeRule=l.compositeRule=E,t+=" "+d+" if (!"+g+") {"}else t+=" if ("+f+".length == 0) {";var A=A||[];A.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should contain a valid item' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var I=t;return t=A.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+I+"]); ":t+=" validate.errors = ["+I+"]; return false; ":t+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { ",w&&(t+=" errors = "+s+"; if (vErrors !== null) { if ("+s+") vErrors.length = "+s+"; else vErrors = null; } "),e.opts.allErrors&&(t+=" } "),t}),Rs}var _s,Ym;function EC(){return Ym||(Ym=1,_s=function(e,n,o){var t=" ",c=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),h=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,f="data"+(p||""),m="errs__"+c,s=e.util.copy(e),l="";s.level++;var d="valid"+s.level,g={},v={},S=e.opts.ownProperties;for(E in u)if(E!="__proto__"){var b=u[E],C=Array.isArray(b)?v:g;C[E]=b}t+="var "+m+" = errors;";var w=e.errorPath;t+="var missing"+c+";";for(var E in v)if(C=v[E],C.length){if(t+=" if ( "+f+e.util.getProperty(E)+" !== undefined ",S&&(t+=" && Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(E)+"') "),i){t+=" && ( ";var k=C;if(k)for(var x,A=-1,I=k.length-1;A<I;){x=k[A+=1],A&&(t+=" || ");var B=e.util.getProperty(x),M=f+B;t+=" ( ( "+M+" === undefined ",S&&(t+=" || ! Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(x)+"') "),t+=") && (missing"+c+" = "+e.util.toQuotedString(e.opts.jsonPointers?x:B)+") ) "}t+=")) { ";var P="missing"+c,D="' + "+P+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(w,P,!0):w+" + "+P);var R=R||[];R.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { property: '"+e.util.escapeQuotes(E)+"', missingProperty: '"+D+"', depsCount: "+C.length+", deps: '"+e.util.escapeQuotes(C.length==1?C[0]:C.join(", "))+"' } ",e.opts.messages!==!1&&(t+=" , message: 'should have ",C.length==1?t+="property "+e.util.escapeQuotes(C[0]):t+="properties "+e.util.escapeQuotes(C.join(", ")),t+=" when property "+e.util.escapeQuotes(E)+" is present' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var N=t;t=R.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+N+"]); ":t+=" validate.errors = ["+N+"]; return false; ":t+=" var err = "+N+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{t+=" ) { ";var q=C;if(q)for(var x,L=-1,W=q.length-1;L<W;){x=q[L+=1];var B=e.util.getProperty(x),D=e.util.escapeQuotes(x),M=f+B;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(w,x,e.opts.jsonPointers)),t+=" if ( "+M+" === undefined ",S&&(t+=" || ! Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(x)+"') "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { property: '"+e.util.escapeQuotes(E)+"', missingProperty: '"+D+"', depsCount: "+C.length+", deps: '"+e.util.escapeQuotes(C.length==1?C[0]:C.join(", "))+"' } ",e.opts.messages!==!1&&(t+=" , message: 'should have ",C.length==1?t+="property "+e.util.escapeQuotes(C[0]):t+="properties "+e.util.escapeQuotes(C.join(", ")),t+=" when property "+e.util.escapeQuotes(E)+" is present' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}t+=" } ",i&&(l+="}",t+=" else { ")}e.errorPath=w;var _=s.baseId;for(var E in g){var b=g[E];(e.opts.strictKeywords?typeof b=="object"&&Object.keys(b).length>0||b===!1:e.util.schemaHasRules(b,e.RULES.all))&&(t+=" "+d+" = true; if ( "+f+e.util.getProperty(E)+" !== undefined ",S&&(t+=" && Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(E)+"') "),t+=") { ",s.schema=b,s.schemaPath=r+e.util.getProperty(E),s.errSchemaPath=h+"/"+e.util.escapeFragment(E),t+=" "+e.validate(s)+" ",s.baseId=_,t+=" } ",i&&(t+=" if ("+d+") { ",l+="}"))}return i&&(t+=" "+l+" if ("+m+" == errors) {"),t}),_s}var Bs,Qm;function SC(){return Qm||(Qm=1,Bs=function(e,n,o){var t=" ",c=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),h=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,f="data"+(p||""),m="valid"+c,s=e.opts.$data&&u&&u.$data;s&&(t+=" var schema"+c+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ");var l="i"+c,d="schema"+c;s||(t+=" var "+d+" = validate.schema"+r+";"),t+="var "+m+";",s&&(t+=" if (schema"+c+" === undefined) "+m+" = true; else if (!Array.isArray(schema"+c+")) "+m+" = false; else {"),t+=""+m+" = false;for (var "+l+"=0; "+l+"<"+d+".length; "+l+"++) if (equal("+f+", "+d+"["+l+"])) { "+m+" = true; break; }",s&&(t+=" } "),t+=" if (!"+m+") { ";var g=g||[];g.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { allowedValues: schema"+c+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var v=t;return t=g.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+v+"]); ":t+=" validate.errors = ["+v+"]; return false; ":t+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" }",i&&(t+=" else { "),t}),Bs}var Ls,Zm;function bC(){return Zm||(Zm=1,Ls=function(e,n,o){var t=" ",c=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),h=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,f="data"+(p||"");if(e.opts.format===!1)return i&&(t+=" if (true) { "),t;var m=e.opts.$data&&u&&u.$data,s;m?(t+=" var schema"+c+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",s="schema"+c):s=u;var l=e.opts.unknownFormats,d=Array.isArray(l);if(m){var g="format"+c,v="isObject"+c,S="formatType"+c;t+=" var "+g+" = formats["+s+"]; var "+v+" = typeof "+g+" == 'object' && !("+g+" instanceof RegExp) && "+g+".validate; var "+S+" = "+v+" && "+g+".type || 'string'; if ("+v+") { ",e.async&&(t+=" var async"+c+" = "+g+".async; "),t+=" "+g+" = "+g+".validate; } if ( ",m&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'string') || "),t+=" (",l!="ignore"&&(t+=" ("+s+" && !"+g+" ",d&&(t+=" && self._opts.unknownFormats.indexOf("+s+") == -1 "),t+=") || "),t+=" ("+g+" && "+S+" == '"+o+"' && !(typeof "+g+" == 'function' ? ",e.async?t+=" (async"+c+" ? await "+g+"("+f+") : "+g+"("+f+")) ":t+=" "+g+"("+f+") ",t+=" : "+g+".test("+f+"))))) {"}else{var g=e.formats[u];if(!g){if(l=="ignore")return e.logger.warn('unknown format "'+u+'" ignored in schema at path "'+e.errSchemaPath+'"'),i&&(t+=" if (true) { "),t;if(d&&l.indexOf(u)>=0)return i&&(t+=" if (true) { "),t;throw new Error('unknown format "'+u+'" is used in schema at path "'+e.errSchemaPath+'"')}var v=typeof g=="object"&&!(g instanceof RegExp)&&g.validate,S=v&&g.type||"string";if(v){var b=g.async===!0;g=g.validate}if(S!=o)return i&&(t+=" if (true) { "),t;if(b){if(!e.async)throw new Error("async format in sync schema");var C="formats"+e.util.getProperty(u)+".validate";t+=" if (!(await "+C+"("+f+"))) { "}else{t+=" if (! ";var C="formats"+e.util.getProperty(u);v&&(C+=".validate"),typeof g=="function"?t+=" "+C+"("+f+") ":t+=" "+C+".test("+f+") ",t+=") { "}}var w=w||[];w.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { format: ",m?t+=""+s:t+=""+e.util.toQuotedString(u),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match format "`,m?t+="' + "+s+" + '":t+=""+e.util.escapeQuotes(u),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",m?t+="validate.schema"+r:t+=""+e.util.toQuotedString(u),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var E=t;return t=w.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+E+"]); ":t+=" validate.errors = ["+E+"]; return false; ":t+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",i&&(t+=" else { "),t}),Ls}var Os,eh;function xC(){return eh||(eh=1,Os=function(e,n,o){var t=" ",c=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),h=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,f="data"+(p||""),m="valid"+c,s="errs__"+c,l=e.util.copy(e);l.level++;var d="valid"+l.level,g=e.schema.then,v=e.schema.else,S=g!==void 0&&(e.opts.strictKeywords?typeof g=="object"&&Object.keys(g).length>0||g===!1:e.util.schemaHasRules(g,e.RULES.all)),b=v!==void 0&&(e.opts.strictKeywords?typeof v=="object"&&Object.keys(v).length>0||v===!1:e.util.schemaHasRules(v,e.RULES.all)),C=l.baseId;if(S||b){var w;l.createErrors=!1,l.schema=u,l.schemaPath=r,l.errSchemaPath=h,t+=" var "+s+" = errors; var "+m+" = true; ";var E=e.compositeRule;e.compositeRule=l.compositeRule=!0,t+=" "+e.validate(l)+" ",l.baseId=C,l.createErrors=!0,t+=" errors = "+s+"; if (vErrors !== null) { if ("+s+") vErrors.length = "+s+"; else vErrors = null; } ",e.compositeRule=l.compositeRule=E,S?(t+=" if ("+d+") { ",l.schema=e.schema.then,l.schemaPath=e.schemaPath+".then",l.errSchemaPath=e.errSchemaPath+"/then",t+=" "+e.validate(l)+" ",l.baseId=C,t+=" "+m+" = "+d+"; ",S&&b?(w="ifClause"+c,t+=" var "+w+" = 'then'; "):w="'then'",t+=" } ",b&&(t+=" else { ")):t+=" if (!"+d+") { ",b&&(l.schema=e.schema.else,l.schemaPath=e.schemaPath+".else",l.errSchemaPath=e.errSchemaPath+"/else",t+=" "+e.validate(l)+" ",l.baseId=C,t+=" "+m+" = "+d+"; ",S&&b?(w="ifClause"+c,t+=" var "+w+" = 'else'; "):w="'else'",t+=" } "),t+=" if (!"+m+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { failingKeyword: "+w+" } ",e.opts.messages!==!1&&(t+=` , message: 'should match "' + `+w+` + '" schema' `),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&i&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+=" } ",i&&(t+=" else { ")}else i&&(t+=" if (true) { ");return t}),Os}var Ns,th;function CC(){return th||(th=1,Ns=function(e,n,o){var t=" ",c=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),h=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,f="data"+(p||""),m="valid"+c,s="errs__"+c,l=e.util.copy(e),d="";l.level++;var g="valid"+l.level,v="i"+c,S=l.dataLevel=e.dataLevel+1,b="data"+S,C=e.baseId;if(t+="var "+s+" = errors;var "+m+";",Array.isArray(u)){var w=e.schema.additionalItems;if(w===!1){t+=" "+m+" = "+f+".length <= "+u.length+"; ";var E=h;h=e.errSchemaPath+"/additionalItems",t+=" if (!"+m+") { ";var k=k||[];k.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { limit: "+u.length+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have more than "+u.length+" items' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var x=t;t=k.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+x+"]); ":t+=" validate.errors = ["+x+"]; return false; ":t+=" var err = "+x+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",h=E,i&&(d+="}",t+=" else { ")}var A=u;if(A){for(var I,B=-1,M=A.length-1;B<M;)if(I=A[B+=1],e.opts.strictKeywords?typeof I=="object"&&Object.keys(I).length>0||I===!1:e.util.schemaHasRules(I,e.RULES.all)){t+=" "+g+" = true; if ("+f+".length > "+B+") { ";var P=f+"["+B+"]";l.schema=I,l.schemaPath=r+"["+B+"]",l.errSchemaPath=h+"/"+B,l.errorPath=e.util.getPathExpr(e.errorPath,B,e.opts.jsonPointers,!0),l.dataPathArr[S]=B;var D=e.validate(l);l.baseId=C,e.util.varOccurences(D,b)<2?t+=" "+e.util.varReplace(D,b,P)+" ":t+=" var "+b+" = "+P+"; "+D+" ",t+=" } ",i&&(t+=" if ("+g+") { ",d+="}")}}if(typeof w=="object"&&(e.opts.strictKeywords?typeof w=="object"&&Object.keys(w).length>0||w===!1:e.util.schemaHasRules(w,e.RULES.all))){l.schema=w,l.schemaPath=e.schemaPath+".additionalItems",l.errSchemaPath=e.errSchemaPath+"/additionalItems",t+=" "+g+" = true; if ("+f+".length > "+u.length+") { for (var "+v+" = "+u.length+"; "+v+" < "+f+".length; "+v+"++) { ",l.errorPath=e.util.getPathExpr(e.errorPath,v,e.opts.jsonPointers,!0);var P=f+"["+v+"]";l.dataPathArr[S]=v;var D=e.validate(l);l.baseId=C,e.util.varOccurences(D,b)<2?t+=" "+e.util.varReplace(D,b,P)+" ":t+=" var "+b+" = "+P+"; "+D+" ",i&&(t+=" if (!"+g+") break; "),t+=" } } ",i&&(t+=" if ("+g+") { ",d+="}")}}else if(e.opts.strictKeywords?typeof u=="object"&&Object.keys(u).length>0||u===!1:e.util.schemaHasRules(u,e.RULES.all)){l.schema=u,l.schemaPath=r,l.errSchemaPath=h,t+=" for (var "+v+" = 0; "+v+" < "+f+".length; "+v+"++) { ",l.errorPath=e.util.getPathExpr(e.errorPath,v,e.opts.jsonPointers,!0);var P=f+"["+v+"]";l.dataPathArr[S]=v;var D=e.validate(l);l.baseId=C,e.util.varOccurences(D,b)<2?t+=" "+e.util.varReplace(D,b,P)+" ":t+=" var "+b+" = "+P+"; "+D+" ",i&&(t+=" if (!"+g+") break; "),t+=" }"}return i&&(t+=" "+d+" if ("+s+" == errors) {"),t}),Ns}var js,rh;function nh(){return rh||(rh=1,js=function(e,n,o){var t=" ",c=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),h=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,C,f="data"+(p||""),m=e.opts.$data&&u&&u.$data,s;m?(t+=" var schema"+c+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",s="schema"+c):s=u;var l=n=="maximum",d=l?"exclusiveMaximum":"exclusiveMinimum",g=e.schema[d],v=e.opts.$data&&g&&g.$data,S=l?"<":">",b=l?">":"<",C=void 0;if(!(m||typeof u=="number"||u===void 0))throw new Error(n+" must be number");if(!(v||g===void 0||typeof g=="number"||typeof g=="boolean"))throw new Error(d+" must be number or boolean");if(v){var w=e.util.getData(g.$data,p,e.dataPathArr),E="exclusive"+c,k="exclType"+c,x="exclIsNumber"+c,A="op"+c,I="' + "+A+" + '";t+=" var schemaExcl"+c+" = "+w+"; ",w="schemaExcl"+c,t+=" var "+E+"; var "+k+" = typeof "+w+"; if ("+k+" != 'boolean' && "+k+" != 'undefined' && "+k+" != 'number') { ";var C=d,B=B||[];B.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(C||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: '"+d+" should be boolean' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var M=t;t=B.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+M+"]); ":t+=" validate.errors = ["+M+"]; return false; ":t+=" var err = "+M+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else if ( ",m&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'number') || "),t+=" "+k+" == 'number' ? ( ("+E+" = "+s+" === undefined || "+w+" "+S+"= "+s+") ? "+f+" "+b+"= "+w+" : "+f+" "+b+" "+s+" ) : ( ("+E+" = "+w+" === true) ? "+f+" "+b+"= "+s+" : "+f+" "+b+" "+s+" ) || "+f+" !== "+f+") { var op"+c+" = "+E+" ? '"+S+"' : '"+S+"='; ",u===void 0&&(C=d,h=e.errSchemaPath+"/"+d,s=w,m=v)}else{var x=typeof g=="number",I=S;if(x&&m){var A="'"+I+"'";t+=" if ( ",m&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'number') || "),t+=" ( "+s+" === undefined || "+g+" "+S+"= "+s+" ? "+f+" "+b+"= "+g+" : "+f+" "+b+" "+s+" ) || "+f+" !== "+f+") { "}else{x&&u===void 0?(E=!0,C=d,h=e.errSchemaPath+"/"+d,s=g,b+="="):(x&&(s=Math[l?"min":"max"](g,u)),g===(x?s:!0)?(E=!0,C=d,h=e.errSchemaPath+"/"+d,b+="="):(E=!1,I+="="));var A="'"+I+"'";t+=" if ( ",m&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'number') || "),t+=" "+f+" "+b+" "+s+" || "+f+" !== "+f+") { "}}C=C||n;var B=B||[];B.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(C||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { comparison: "+A+", limit: "+s+", exclusive: "+E+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be "+I+" ",m?t+="' + "+s:t+=""+s+"'"),e.opts.verbose&&(t+=" , schema: ",m?t+="validate.schema"+r:t+=""+u,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var M=t;return t=B.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+M+"]); ":t+=" validate.errors = ["+M+"]; return false; ":t+=" var err = "+M+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",i&&(t+=" else { "),t}),js}var Ms,sh;function ah(){return sh||(sh=1,Ms=function(e,n,o){var t=" ",c=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),h=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,d,f="data"+(p||""),m=e.opts.$data&&u&&u.$data,s;if(m?(t+=" var schema"+c+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",s="schema"+c):s=u,!(m||typeof u=="number"))throw new Error(n+" must be number");var l=n=="maxItems"?">":"<";t+="if ( ",m&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'number') || "),t+=" "+f+".length "+l+" "+s+") { ";var d=n,g=g||[];g.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(d||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { limit: "+s+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",n=="maxItems"?t+="more":t+="fewer",t+=" than ",m?t+="' + "+s+" + '":t+=""+u,t+=" items' "),e.opts.verbose&&(t+=" , schema: ",m?t+="validate.schema"+r:t+=""+u,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var v=t;return t=g.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+v+"]); ":t+=" validate.errors = ["+v+"]; return false; ":t+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",i&&(t+=" else { "),t}),Ms}var Us,ih;function oh(){return ih||(ih=1,Us=function(e,n,o){var t=" ",c=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),h=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,d,f="data"+(p||""),m=e.opts.$data&&u&&u.$data,s;if(m?(t+=" var schema"+c+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",s="schema"+c):s=u,!(m||typeof u=="number"))throw new Error(n+" must be number");var l=n=="maxLength"?">":"<";t+="if ( ",m&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'number') || "),e.opts.unicode===!1?t+=" "+f+".length ":t+=" ucs2length("+f+") ",t+=" "+l+" "+s+") { ";var d=n,g=g||[];g.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(d||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { limit: "+s+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be ",n=="maxLength"?t+="longer":t+="shorter",t+=" than ",m?t+="' + "+s+" + '":t+=""+u,t+=" characters' "),e.opts.verbose&&(t+=" , schema: ",m?t+="validate.schema"+r:t+=""+u,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var v=t;return t=g.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+v+"]); ":t+=" validate.errors = ["+v+"]; return false; ":t+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",i&&(t+=" else { "),t}),Us}var qs,lh;function uh(){return lh||(lh=1,qs=function(e,n,o){var t=" ",c=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),h=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,d,f="data"+(p||""),m=e.opts.$data&&u&&u.$data,s;if(m?(t+=" var schema"+c+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",s="schema"+c):s=u,!(m||typeof u=="number"))throw new Error(n+" must be number");var l=n=="maxProperties"?">":"<";t+="if ( ",m&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'number') || "),t+=" Object.keys("+f+").length "+l+" "+s+") { ";var d=n,g=g||[];g.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(d||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { limit: "+s+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",n=="maxProperties"?t+="more":t+="fewer",t+=" than ",m?t+="' + "+s+" + '":t+=""+u,t+=" properties' "),e.opts.verbose&&(t+=" , schema: ",m?t+="validate.schema"+r:t+=""+u,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var v=t;return t=g.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+v+"]); ":t+=" validate.errors = ["+v+"]; return false; ":t+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",i&&(t+=" else { "),t}),qs}var Vs,ch;function wC(){return ch||(ch=1,Vs=function(e,n,o){var t=" ",c=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),h=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,f="data"+(p||""),m=e.opts.$data&&u&&u.$data,s;if(m?(t+=" var schema"+c+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",s="schema"+c):s=u,!(m||typeof u=="number"))throw new Error(n+" must be number");t+="var division"+c+";if (",m&&(t+=" "+s+" !== undefined && ( typeof "+s+" != 'number' || "),t+=" (division"+c+" = "+f+" / "+s+", ",e.opts.multipleOfPrecision?t+=" Math.abs(Math.round(division"+c+") - division"+c+") > 1e-"+e.opts.multipleOfPrecision+" ":t+=" division"+c+" !== parseInt(division"+c+") ",t+=" ) ",m&&(t+=" ) "),t+=" ) { ";var l=l||[];l.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { multipleOf: "+s+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be multiple of ",m?t+="' + "+s:t+=""+s+"'"),e.opts.verbose&&(t+=" , schema: ",m?t+="validate.schema"+r:t+=""+u,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var d=t;return t=l.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+d+"]); ":t+=" validate.errors = ["+d+"]; return false; ":t+=" var err = "+d+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",i&&(t+=" else { "),t}),Vs}var $s,fh;function AC(){return fh||(fh=1,$s=function(e,n,o){var t=" ",c=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),h=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,f="data"+(p||""),m="errs__"+c,s=e.util.copy(e);s.level++;var l="valid"+s.level;if(e.opts.strictKeywords?typeof u=="object"&&Object.keys(u).length>0||u===!1:e.util.schemaHasRules(u,e.RULES.all)){s.schema=u,s.schemaPath=r,s.errSchemaPath=h,t+=" var "+m+" = errors; ";var d=e.compositeRule;e.compositeRule=s.compositeRule=!0,s.createErrors=!1;var g;s.opts.allErrors&&(g=s.opts.allErrors,s.opts.allErrors=!1),t+=" "+e.validate(s)+" ",s.createErrors=!0,g&&(s.opts.allErrors=g),e.compositeRule=s.compositeRule=d,t+=" if ("+l+") { ";var v=v||[];v.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be valid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var S=t;t=v.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+S+"]); ":t+=" validate.errors = ["+S+"]; return false; ":t+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { errors = "+m+"; if (vErrors !== null) { if ("+m+") vErrors.length = "+m+"; else vErrors = null; } ",e.opts.allErrors&&(t+=" } ")}else t+=" var err = ",e.createErrors!==!1?(t+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be valid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i&&(t+=" if (false) { ");return t}),$s}var Ws,ph;function TC(){return ph||(ph=1,Ws=function(e,n,o){var t=" ",c=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),h=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,f="data"+(p||""),m="valid"+c,s="errs__"+c,l=e.util.copy(e),d="";l.level++;var g="valid"+l.level,v=l.baseId,S="prevValid"+c,b="passingSchemas"+c;t+="var "+s+" = errors , "+S+" = false , "+m+" = false , "+b+" = null; ";var C=e.compositeRule;e.compositeRule=l.compositeRule=!0;var w=u;if(w)for(var E,k=-1,x=w.length-1;k<x;)E=w[k+=1],(e.opts.strictKeywords?typeof E=="object"&&Object.keys(E).length>0||E===!1:e.util.schemaHasRules(E,e.RULES.all))?(l.schema=E,l.schemaPath=r+"["+k+"]",l.errSchemaPath=h+"/"+k,t+=" "+e.validate(l)+" ",l.baseId=v):t+=" var "+g+" = true; ",k&&(t+=" if ("+g+" && "+S+") { "+m+" = false; "+b+" = ["+b+", "+k+"]; } else { ",d+="}"),t+=" if ("+g+") { "+m+" = "+S+" = true; "+b+" = "+k+"; }";return e.compositeRule=l.compositeRule=C,t+=""+d+"if (!"+m+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { passingSchemas: "+b+" } ",e.opts.messages!==!1&&(t+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&i&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+="} else { errors = "+s+"; if (vErrors !== null) { if ("+s+") vErrors.length = "+s+"; else vErrors = null; }",e.opts.allErrors&&(t+=" } "),t}),Ws}var Gs,mh;function kC(){return mh||(mh=1,Gs=function(e,n,o){var t=" ",c=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),h=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,f="data"+(p||""),m=e.opts.$data&&u&&u.$data,s;m?(t+=" var schema"+c+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",s="schema"+c):s=u;var l=m?"(new RegExp("+s+"))":e.usePattern(u);t+="if ( ",m&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'string') || "),t+=" !"+l+".test("+f+") ) { ";var d=d||[];d.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { pattern: ",m?t+=""+s:t+=""+e.util.toQuotedString(u),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match pattern "`,m?t+="' + "+s+" + '":t+=""+e.util.escapeQuotes(u),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",m?t+="validate.schema"+r:t+=""+e.util.toQuotedString(u),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var g=t;return t=d.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+g+"]); ":t+=" validate.errors = ["+g+"]; return false; ":t+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",i&&(t+=" else { "),t}),Gs}var zs,hh;function DC(){return hh||(hh=1,zs=function(e,n,o){var t=" ",c=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),h=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,f="data"+(p||""),m="errs__"+c,s=e.util.copy(e),l="";s.level++;var d="valid"+s.level,g="key"+c,v="idx"+c,S=s.dataLevel=e.dataLevel+1,b="data"+S,C="dataProperties"+c,w=Object.keys(u||{}).filter(L),E=e.schema.patternProperties||{},k=Object.keys(E).filter(L),x=e.schema.additionalProperties,A=w.length||k.length,I=x===!1,B=typeof x=="object"&&Object.keys(x).length,M=e.opts.removeAdditional,P=I||B||M,D=e.opts.ownProperties,R=e.baseId,N=e.schema.required;if(N&&!(e.opts.$data&&N.$data)&&N.length<e.opts.loopRequired)var q=e.util.toHash(N);function L(lt){return lt!=="__proto__"}if(t+="var "+m+" = errors;var "+d+" = true;",D&&(t+=" var "+C+" = undefined;"),P){if(D?t+=" "+C+" = "+C+" || Object.keys("+f+"); for (var "+v+"=0; "+v+"<"+C+".length; "+v+"++) { var "+g+" = "+C+"["+v+"]; ":t+=" for (var "+g+" in "+f+") { ",A){if(t+=" var isAdditional"+c+" = !(false ",w.length)if(w.length>8)t+=" || validate.schema"+r+".hasOwnProperty("+g+") ";else{var W=w;if(W)for(var _,H=-1,K=W.length-1;H<K;)_=W[H+=1],t+=" || "+g+" == "+e.util.toQuotedString(_)+" "}if(k.length){var re=k;if(re)for(var te,xe=-1,Y=re.length-1;xe<Y;)te=re[xe+=1],t+=" || "+e.usePattern(te)+".test("+g+") "}t+=" ); if (isAdditional"+c+") { "}if(M=="all")t+=" delete "+f+"["+g+"]; ";else{var F=e.errorPath,z="' + "+g+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers)),I)if(M)t+=" delete "+f+"["+g+"]; ";else{t+=" "+d+" = false; ";var ne=h;h=e.errSchemaPath+"/additionalProperties";var ae=ae||[];ae.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { additionalProperty: '"+z+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is an invalid additional property":t+="should NOT have additional properties",t+="' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var be=t;t=ae.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+be+"]); ":t+=" validate.errors = ["+be+"]; return false; ":t+=" var err = "+be+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",h=ne,i&&(t+=" break; ")}else if(B)if(M=="failing"){t+=" var "+m+" = errors; ";var Pe=e.compositeRule;e.compositeRule=s.compositeRule=!0,s.schema=x,s.schemaPath=e.schemaPath+".additionalProperties",s.errSchemaPath=e.errSchemaPath+"/additionalProperties",s.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers);var Ie=f+"["+g+"]";s.dataPathArr[S]=g;var ue=e.validate(s);s.baseId=R,e.util.varOccurences(ue,b)<2?t+=" "+e.util.varReplace(ue,b,Ie)+" ":t+=" var "+b+" = "+Ie+"; "+ue+" ",t+=" if (!"+d+") { errors = "+m+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+f+"["+g+"]; } ",e.compositeRule=s.compositeRule=Pe}else{s.schema=x,s.schemaPath=e.schemaPath+".additionalProperties",s.errSchemaPath=e.errSchemaPath+"/additionalProperties",s.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers);var Ie=f+"["+g+"]";s.dataPathArr[S]=g;var ue=e.validate(s);s.baseId=R,e.util.varOccurences(ue,b)<2?t+=" "+e.util.varReplace(ue,b,Ie)+" ":t+=" var "+b+" = "+Ie+"; "+ue+" ",i&&(t+=" if (!"+d+") break; ")}e.errorPath=F}A&&(t+=" } "),t+=" } ",i&&(t+=" if ("+d+") { ",l+="}")}var ve=e.opts.useDefaults&&!e.compositeRule;if(w.length){var G=w;if(G)for(var _,J=-1,Te=G.length-1;J<Te;){_=G[J+=1];var $=u[_];if(e.opts.strictKeywords?typeof $=="object"&&Object.keys($).length>0||$===!1:e.util.schemaHasRules($,e.RULES.all)){var se=e.util.getProperty(_),Ie=f+se,De=ve&&$.default!==void 0;s.schema=$,s.schemaPath=r+se,s.errSchemaPath=h+"/"+e.util.escapeFragment(_),s.errorPath=e.util.getPath(e.errorPath,_,e.opts.jsonPointers),s.dataPathArr[S]=e.util.toQuotedString(_);var ue=e.validate(s);if(s.baseId=R,e.util.varOccurences(ue,b)<2){ue=e.util.varReplace(ue,b,Ie);var Le=Ie}else{var Le=b;t+=" var "+b+" = "+Ie+"; "}if(De)t+=" "+ue+" ";else{if(q&&q[_]){t+=" if ( "+Le+" === undefined ",D&&(t+=" || ! Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(_)+"') "),t+=") { "+d+" = false; ";var F=e.errorPath,ne=h,Fe=e.util.escapeQuotes(_);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(F,_,e.opts.jsonPointers)),h=e.errSchemaPath+"/required";var ae=ae||[];ae.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { missingProperty: '"+Fe+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+Fe+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var be=t;t=ae.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+be+"]); ":t+=" validate.errors = ["+be+"]; return false; ":t+=" var err = "+be+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",h=ne,e.errorPath=F,t+=" } else { "}else i?(t+=" if ( "+Le+" === undefined ",D&&(t+=" || ! Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(_)+"') "),t+=") { "+d+" = true; } else { "):(t+=" if ("+Le+" !== undefined ",D&&(t+=" && Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(_)+"') "),t+=" ) { ");t+=" "+ue+" } "}}i&&(t+=" if ("+d+") { ",l+="}")}}if(k.length){var V=k;if(V)for(var te,et=-1,nt=V.length-1;et<nt;){te=V[et+=1];var $=E[te];if(e.opts.strictKeywords?typeof $=="object"&&Object.keys($).length>0||$===!1:e.util.schemaHasRules($,e.RULES.all)){s.schema=$,s.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(te),s.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(te),D?t+=" "+C+" = "+C+" || Object.keys("+f+"); for (var "+v+"=0; "+v+"<"+C+".length; "+v+"++) { var "+g+" = "+C+"["+v+"]; ":t+=" for (var "+g+" in "+f+") { ",t+=" if ("+e.usePattern(te)+".test("+g+")) { ",s.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers);var Ie=f+"["+g+"]";s.dataPathArr[S]=g;var ue=e.validate(s);s.baseId=R,e.util.varOccurences(ue,b)<2?t+=" "+e.util.varReplace(ue,b,Ie)+" ":t+=" var "+b+" = "+Ie+"; "+ue+" ",i&&(t+=" if (!"+d+") break; "),t+=" } ",i&&(t+=" else "+d+" = true; "),t+=" } ",i&&(t+=" if ("+d+") { ",l+="}")}}}return i&&(t+=" "+l+" if ("+m+" == errors) {"),t}),zs}var Hs,dh;function IC(){return dh||(dh=1,Hs=function(e,n,o){var t=" ",c=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),h=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,f="data"+(p||""),m="errs__"+c,s=e.util.copy(e),l="";s.level++;var d="valid"+s.level;if(t+="var "+m+" = errors;",e.opts.strictKeywords?typeof u=="object"&&Object.keys(u).length>0||u===!1:e.util.schemaHasRules(u,e.RULES.all)){s.schema=u,s.schemaPath=r,s.errSchemaPath=h;var g="key"+c,v="idx"+c,S="i"+c,b="' + "+g+" + '",C=s.dataLevel=e.dataLevel+1,w="data"+C,E="dataProperties"+c,k=e.opts.ownProperties,x=e.baseId;k&&(t+=" var "+E+" = undefined; "),k?t+=" "+E+" = "+E+" || Object.keys("+f+"); for (var "+v+"=0; "+v+"<"+E+".length; "+v+"++) { var "+g+" = "+E+"["+v+"]; ":t+=" for (var "+g+" in "+f+") { ",t+=" var startErrs"+c+" = errors; ";var A=g,I=e.compositeRule;e.compositeRule=s.compositeRule=!0;var B=e.validate(s);s.baseId=x,e.util.varOccurences(B,w)<2?t+=" "+e.util.varReplace(B,w,A)+" ":t+=" var "+w+" = "+A+"; "+B+" ",e.compositeRule=s.compositeRule=I,t+=" if (!"+d+") { for (var "+S+"=startErrs"+c+"; "+S+"<errors; "+S+"++) { vErrors["+S+"].propertyName = "+g+"; } var err = ",e.createErrors!==!1?(t+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { propertyName: '"+b+"' } ",e.opts.messages!==!1&&(t+=" , message: 'property name \\'"+b+"\\' is invalid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&i&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),i&&(t+=" break; "),t+=" } }"}return i&&(t+=" "+l+" if ("+m+" == errors) {"),t}),Hs}var Ks,gh;function PC(){return gh||(gh=1,Ks=function(e,n,o){var t=" ",c=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),h=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,f="data"+(p||""),m="valid"+c,s=e.opts.$data&&u&&u.$data;s&&(t+=" var schema"+c+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ");var l="schema"+c;if(!s)if(u.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var d=[],g=u;if(g)for(var v,S=-1,b=g.length-1;S<b;){v=g[S+=1];var C=e.schema.properties[v];C&&(e.opts.strictKeywords?typeof C=="object"&&Object.keys(C).length>0||C===!1:e.util.schemaHasRules(C,e.RULES.all))||(d[d.length]=v)}}else var d=u;if(s||d.length){var w=e.errorPath,E=s||d.length>=e.opts.loopRequired,k=e.opts.ownProperties;if(i)if(t+=" var missing"+c+"; ",E){s||(t+=" var "+l+" = validate.schema"+r+"; ");var x="i"+c,A="schema"+c+"["+x+"]",I="' + "+A+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(w,A,e.opts.jsonPointers)),t+=" var "+m+" = true; ",s&&(t+=" if (schema"+c+" === undefined) "+m+" = true; else if (!Array.isArray(schema"+c+")) "+m+" = false; else {"),t+=" for (var "+x+" = 0; "+x+" < "+l+".length; "+x+"++) { "+m+" = "+f+"["+l+"["+x+"]] !== undefined ",k&&(t+=" && Object.prototype.hasOwnProperty.call("+f+", "+l+"["+x+"]) "),t+="; if (!"+m+") break; } ",s&&(t+=" } "),t+=" if (!"+m+") { ";var B=B||[];B.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { missingProperty: '"+I+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+I+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var M=t;t=B.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+M+"]); ":t+=" validate.errors = ["+M+"]; return false; ":t+=" var err = "+M+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { "}else{t+=" if ( ";var P=d;if(P)for(var D,x=-1,R=P.length-1;x<R;){D=P[x+=1],x&&(t+=" || ");var N=e.util.getProperty(D),q=f+N;t+=" ( ( "+q+" === undefined ",k&&(t+=" || ! Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(D)+"') "),t+=") && (missing"+c+" = "+e.util.toQuotedString(e.opts.jsonPointers?D:N)+") ) "}t+=") { ";var A="missing"+c,I="' + "+A+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(w,A,!0):w+" + "+A);var B=B||[];B.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { missingProperty: '"+I+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+I+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var M=t;t=B.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+M+"]); ":t+=" validate.errors = ["+M+"]; return false; ":t+=" var err = "+M+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { "}else if(E){s||(t+=" var "+l+" = validate.schema"+r+"; ");var x="i"+c,A="schema"+c+"["+x+"]",I="' + "+A+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(w,A,e.opts.jsonPointers)),s&&(t+=" if ("+l+" && !Array.isArray("+l+")) { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { missingProperty: '"+I+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+I+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+l+" !== undefined) { "),t+=" for (var "+x+" = 0; "+x+" < "+l+".length; "+x+"++) { if ("+f+"["+l+"["+x+"]] === undefined ",k&&(t+=" || ! Object.prototype.hasOwnProperty.call("+f+", "+l+"["+x+"]) "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { missingProperty: '"+I+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+I+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",s&&(t+=" } ")}else{var L=d;if(L)for(var D,W=-1,_=L.length-1;W<_;){D=L[W+=1];var N=e.util.getProperty(D),I=e.util.escapeQuotes(D),q=f+N;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(w,D,e.opts.jsonPointers)),t+=" if ( "+q+" === undefined ",k&&(t+=" || ! Object.prototype.hasOwnProperty.call("+f+", '"+e.util.escapeQuotes(D)+"') "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { missingProperty: '"+I+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+I+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=w}else i&&(t+=" if (true) {");return t}),Ks}var Xs,yh;function FC(){return yh||(yh=1,Xs=function(e,n,o){var t=" ",c=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),h=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,f="data"+(p||""),m="valid"+c,s=e.opts.$data&&u&&u.$data,l;if(s?(t+=" var schema"+c+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",l="schema"+c):l=u,(u||s)&&e.opts.uniqueItems!==!1){s&&(t+=" var "+m+"; if ("+l+" === false || "+l+" === undefined) "+m+" = true; else if (typeof "+l+" != 'boolean') "+m+" = false; else { "),t+=" var i = "+f+".length , "+m+" = true , j; if (i > 1) { ";var d=e.schema.items&&e.schema.items.type,g=Array.isArray(d);if(!d||d=="object"||d=="array"||g&&(d.indexOf("object")>=0||d.indexOf("array")>=0))t+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+f+"[i], "+f+"[j])) { "+m+" = false; break outer; } } } ";else{t+=" var itemIndices = {}, item; for (;i--;) { var item = "+f+"[i]; ";var v="checkDataType"+(g?"s":"");t+=" if ("+e.util[v](d,"item",e.opts.strictNumbers,!0)+") continue; ",g&&(t+=` if (typeof item == 'string') item = '"' + item; `),t+=" if (typeof itemIndices[item] == 'number') { "+m+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}t+=" } ",s&&(t+=" } "),t+=" if (!"+m+") { ";var S=S||[];S.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { i: i, j: j } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(t+=" , schema: ",s?t+="validate.schema"+r:t+=""+u,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var b=t;t=S.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",i&&(t+=" else { ")}else i&&(t+=" if (true) { ");return t}),Xs}var Js,vh;function RC(){return vh||(vh=1,Js={$ref:mC(),allOf:hC(),anyOf:dC(),$comment:gC(),const:yC(),contains:vC(),dependencies:EC(),enum:SC(),format:bC(),if:xC(),items:CC(),maximum:nh(),minimum:nh(),maxItems:ah(),minItems:ah(),maxLength:oh(),minLength:oh(),maxProperties:uh(),minProperties:uh(),multipleOf:wC(),not:AC(),oneOf:TC(),pattern:kC(),properties:DC(),propertyNames:IC(),required:PC(),uniqueItems:FC(),validate:qm()}),Js}var Ys,Eh;function _C(){if(Eh)return Ys;Eh=1;var a=RC(),e=$r().toHash;return Ys=function(){var o=[{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"]}],t=["type","$comment"],c=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"],p=["number","integer","string","array","object","boolean","null"];return o.all=e(t),o.types=e(p),o.forEach(function(u){u.rules=u.rules.map(function(r){var h;if(typeof r=="object"){var i=Object.keys(r)[0];h=r[i],r=i,h.forEach(function(m){t.push(m),o.all[m]=!0})}t.push(r);var f=o.all[r]={keyword:r,code:a[r],implements:h};return f}),o.all.$comment={keyword:"$comment",code:a.$comment},u.type&&(o.types[u.type]=u)}),o.keywords=e(t.concat(c)),o.custom={},o},Ys}var Qs,Sh;function BC(){if(Sh)return Qs;Sh=1;var a=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];return Qs=function(e,n){for(var o=0;o<n.length;o++){e=JSON.parse(JSON.stringify(e));var t=n[o].split("/"),c=e,p;for(p=1;p<t.length;p++)c=c[t[p]];for(p=0;p<a.length;p++){var u=a[p],r=c[u];r&&(c[u]={anyOf:[r,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return e},Qs}var Zs,bh;function LC(){if(bh)return Zs;bh=1;var a=bs().MissingRef;Zs=e;function e(n,o,t){var c=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");typeof o=="function"&&(t=o,o=void 0);var p=u(n).then(function(){var h=c._addSchema(n,void 0,o);return h.validate||r(h)});return t&&p.then(function(h){t(null,h)},t),p;function u(h){var i=h.$schema;return i&&!c.getSchema(i)?e.call(c,{$ref:i},!0):Promise.resolve()}function r(h){try{return c._compile(h)}catch(f){if(f instanceof a)return i(f);throw f}function i(f){var m=f.missingSchema;if(d(m))throw new Error("Schema "+m+" is loaded but "+f.missingRef+" cannot be resolved");var s=c._loadingSchemas[m];return s||(s=c._loadingSchemas[m]=c._opts.loadSchema(m),s.then(l,l)),s.then(function(g){if(!d(m))return u(g).then(function(){d(m)||c.addSchema(g,m,void 0,o)})}).then(function(){return r(h)});function l(){delete c._loadingSchemas[m]}function d(g){return c._refs[g]||c._schemas[g]}}}}return Zs}var ea,xh;function OC(){return xh||(xh=1,ea=function(e,n,o){var t=" ",c=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),h=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,f,m="data"+(p||""),s="valid"+c,l="errs__"+c,d=e.opts.$data&&u&&u.$data,g;d?(t+=" var schema"+c+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",g="schema"+c):g=u;var v=this,S="definition"+c,b=v.definition,C="",w,E,k,x,A;if(d&&b.$data){A="keywordValidate"+c;var I=b.validateSchema;t+=" var "+S+" = RULES.custom['"+n+"'].definition; var "+A+" = "+S+".validate;"}else{if(x=e.useCustomRule(v,u,e.schema,e),!x)return;g="validate.schema"+r,A=x.code,w=b.compile,E=b.inline,k=b.macro}var B=A+".errors",M="i"+c,P="ruleErr"+c,D=b.async;if(D&&!e.async)throw new Error("async keyword in sync schema");if(E||k||(t+=""+B+" = null;"),t+="var "+l+" = errors;var "+s+";",d&&b.$data&&(C+="}",t+=" if ("+g+" === undefined) { "+s+" = true; } else { ",I&&(C+="}",t+=" "+s+" = "+S+".validateSchema("+g+"); if ("+s+") { ")),E)b.statements?t+=" "+x.validate+" ":t+=" "+s+" = "+x.validate+"; ";else if(k){var R=e.util.copy(e),C="";R.level++;var N="valid"+R.level;R.schema=x.validate,R.schemaPath="";var q=e.compositeRule;e.compositeRule=R.compositeRule=!0;var L=e.validate(R).replace(/validate\.schema/g,A);e.compositeRule=R.compositeRule=q,t+=" "+L}else{var W=W||[];W.push(t),t="",t+=" "+A+".call( ",e.opts.passContext?t+="this":t+="self",w||b.schema===!1?t+=" , "+m+" ":t+=" , "+g+" , "+m+" , validate.schema"+e.schemaPath+" ",t+=" , (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var _=p?"data"+(p-1||""):"parentData",H=p?e.dataPathArr[p]:"parentDataProperty";t+=" , "+_+" , "+H+" , rootData ) ";var K=t;t=W.pop(),b.errors===!1?(t+=" "+s+" = ",D&&(t+="await "),t+=""+K+"; "):D?(B="customErrors"+c,t+=" var "+B+" = null; try { "+s+" = await "+K+"; } catch (e) { "+s+" = false; if (e instanceof ValidationError) "+B+" = e.errors; else throw e; } "):t+=" "+B+" = null; "+s+" = "+K+"; "}if(b.modifying&&(t+=" if ("+_+") "+m+" = "+_+"["+H+"];"),t+=""+C,b.valid)i&&(t+=" if (true) { ");else{t+=" if ( ",b.valid===void 0?(t+=" !",k?t+=""+N:t+=""+s):t+=" "+!b.valid+" ",t+=") { ",f=v.keyword;var W=W||[];W.push(t),t="";var W=W||[];W.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(f||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { keyword: '"+v.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+v.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var re=t;t=W.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+re+"]); ":t+=" validate.errors = ["+re+"]; return false; ":t+=" var err = "+re+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var te=t;t=W.pop(),E?b.errors?b.errors!="full"&&(t+=" for (var "+M+"="+l+"; "+M+"<errors; "+M+"++) { var "+P+" = vErrors["+M+"]; if ("+P+".dataPath === undefined) "+P+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+P+".schemaPath === undefined) { "+P+'.schemaPath = "'+h+'"; } ',e.opts.verbose&&(t+=" "+P+".schema = "+g+"; "+P+".data = "+m+"; "),t+=" } "):b.errors===!1?t+=" "+te+" ":(t+=" if ("+l+" == errors) { "+te+" } else { for (var "+M+"="+l+"; "+M+"<errors; "+M+"++) { var "+P+" = vErrors["+M+"]; if ("+P+".dataPath === undefined) "+P+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+P+".schemaPath === undefined) { "+P+'.schemaPath = "'+h+'"; } ',e.opts.verbose&&(t+=" "+P+".schema = "+g+"; "+P+".data = "+m+"; "),t+=" } } "):k?(t+=" var err = ",e.createErrors!==!1?(t+=" { keyword: '"+(f||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { keyword: '"+v.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+v.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&i&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; ")):b.errors===!1?t+=" "+te+" ":(t+=" if (Array.isArray("+B+")) { if (vErrors === null) vErrors = "+B+"; else vErrors = vErrors.concat("+B+"); errors = vErrors.length; for (var "+M+"="+l+"; "+M+"<errors; "+M+"++) { var "+P+" = vErrors["+M+"]; if ("+P+".dataPath === undefined) "+P+".dataPath = (dataPath || '') + "+e.errorPath+"; "+P+'.schemaPath = "'+h+'"; ',e.opts.verbose&&(t+=" "+P+".schema = "+g+"; "+P+".data = "+m+"; "),t+=" } } else { "+te+" } "),t+=" } ",i&&(t+=" else { ")}return t}),ea}var NC="http://json-schema.org/draft-07/schema#",jC="http://json-schema.org/draft-07/schema#",MC="Core schema meta-schema",UC={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:!0,default:[]}},qC=["object","boolean"],VC={$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:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},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:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},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:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},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:"#"}},Ch={$schema:NC,$id:jC,title:MC,definitions:UC,type:qC,properties:VC,default:!0},ta,wh;function $C(){if(wh)return ta;wh=1;var a=Ch;return ta={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:a.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:a.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"}]}}},ta}var ra,Ah;function WC(){if(Ah)return ra;Ah=1;var a=/^[a-z_$][a-z0-9_$-]*$/i,e=OC(),n=$C();ra={add:o,get:t,remove:c,validate:p};function o(u,r){var h=this.RULES;if(h.keywords[u])throw new Error("Keyword "+u+" is already defined");if(!a.test(u))throw new Error("Keyword "+u+" is not a valid identifier");if(r){this.validateKeyword(r,!0);var i=r.type;if(Array.isArray(i))for(var f=0;f<i.length;f++)s(u,i[f],r);else s(u,i,r);var m=r.metaSchema;m&&(r.$data&&this._opts.$data&&(m={anyOf:[m,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),r.validateSchema=this.compile(m,!0))}h.keywords[u]=h.all[u]=!0;function s(l,d,g){for(var v,S=0;S<h.length;S++){var b=h[S];if(b.type==d){v=b;break}}v||(v={type:d,rules:[]},h.push(v));var C={keyword:l,definition:g,custom:!0,code:e,implements:g.implements};v.rules.push(C),h.custom[l]=C}return this}function t(u){var r=this.RULES.custom[u];return r?r.definition:this.RULES.keywords[u]||!1}function c(u){var r=this.RULES;delete r.keywords[u],delete r.all[u],delete r.custom[u];for(var h=0;h<r.length;h++)for(var i=r[h].rules,f=0;f<i.length;f++)if(i[f].keyword==u){i.splice(f,1);break}return this}function p(u,r){p.errors=null;var h=this._validateKeyword=this._validateKeyword||this.compile(n,!0);if(h(u))return!0;if(p.errors=h.errors,r)throw new Error("custom keyword definition is invalid: "+this.errorsText(h.errors));return!1}return ra}var GC="http://json-schema.org/draft-07/schema#",zC="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",HC="Meta-schema for $data reference (JSON Schema extension proposal)",KC="object",XC=["$data"],JC={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},YC=!1,QC={$schema:GC,$id:zC,description:HC,type:KC,required:XC,properties:JC,additionalProperties:YC},na,Th;function kh(){if(Th)return na;Th=1;var a=cC(),e=Es(),n=fC(),o=Bm(),t=Mm(),c=pC(),p=_C(),u=BC(),r=$r();na=l,l.prototype.validate=d,l.prototype.compile=g,l.prototype.addSchema=v,l.prototype.addMetaSchema=S,l.prototype.validateSchema=b,l.prototype.getSchema=w,l.prototype.removeSchema=x,l.prototype.addFormat=q,l.prototype.errorsText=N,l.prototype._addSchema=I,l.prototype._compile=B,l.prototype.compileAsync=LC();var h=WC();l.prototype.addKeyword=h.add,l.prototype.getKeyword=h.get,l.prototype.removeKeyword=h.remove,l.prototype.validateKeyword=h.validate;var i=bs();l.ValidationError=i.Validation,l.MissingRefError=i.MissingRef,l.$dataMetaSchema=u;var f="http://json-schema.org/draft-07/schema",m=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],s=["/properties"];function l(Y){if(!(this instanceof l))return new l(Y);Y=this._opts=r.copy(Y)||{},te(this),this._schemas={},this._refs={},this._fragments={},this._formats=c(Y.format),this._cache=Y.cache||new n,this._loadingSchemas={},this._compilations=[],this.RULES=p(),this._getId=M(Y),Y.loopRequired=Y.loopRequired||1/0,Y.errorDataPath=="property"&&(Y._errorDataPathProperty=!0),Y.serialize===void 0&&(Y.serialize=t),this._metaOpts=re(this),Y.formats&&_(this),Y.keywords&&H(this),L(this),typeof Y.meta=="object"&&this.addMetaSchema(Y.meta),Y.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),W(this)}function d(Y,F){var z;if(typeof Y=="string"){if(z=this.getSchema(Y),!z)throw new Error('no schema with key or ref "'+Y+'"')}else{var ne=this._addSchema(Y);z=ne.validate||this._compile(ne)}var ae=z(F);return z.$async!==!0&&(this.errors=z.errors),ae}function g(Y,F){var z=this._addSchema(Y,void 0,F);return z.validate||this._compile(z)}function v(Y,F,z,ne){if(Array.isArray(Y)){for(var ae=0;ae<Y.length;ae++)this.addSchema(Y[ae],void 0,z,ne);return this}var be=this._getId(Y);if(be!==void 0&&typeof be!="string")throw new Error("schema id must be string");return F=e.normalizeId(F||be),K(this,F),this._schemas[F]=this._addSchema(Y,z,ne,!0),this}function S(Y,F,z){return this.addSchema(Y,F,z,!0),this}function b(Y,F){var z=Y.$schema;if(z!==void 0&&typeof z!="string")throw new Error("$schema must be a string");if(z=z||this._opts.defaultMeta||C(this),!z)return this.logger.warn("meta-schema not available"),this.errors=null,!0;var ne=this.validate(z,Y);if(!ne&&F){var ae="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(ae);else throw new Error(ae)}return ne}function C(Y){var F=Y._opts.meta;return Y._opts.defaultMeta=typeof F=="object"?Y._getId(F)||F:Y.getSchema(f)?f:void 0,Y._opts.defaultMeta}function w(Y){var F=k(this,Y);switch(typeof F){case"object":return F.validate||this._compile(F);case"string":return this.getSchema(F);case"undefined":return E(this,Y)}}function E(Y,F){var z=e.schema.call(Y,{schema:{}},F);if(z){var ne=z.schema,ae=z.root,be=z.baseId,Pe=a.call(Y,ne,ae,void 0,be);return Y._fragments[F]=new o({ref:F,fragment:!0,schema:ne,root:ae,baseId:be,validate:Pe}),Pe}}function k(Y,F){return F=e.normalizeId(F),Y._schemas[F]||Y._refs[F]||Y._fragments[F]}function x(Y){if(Y instanceof RegExp)return A(this,this._schemas,Y),A(this,this._refs,Y),this;switch(typeof Y){case"undefined":return A(this,this._schemas),A(this,this._refs),this._cache.clear(),this;case"string":var F=k(this,Y);return F&&this._cache.del(F.cacheKey),delete this._schemas[Y],delete this._refs[Y],this;case"object":var z=this._opts.serialize,ne=z?z(Y):Y;this._cache.del(ne);var ae=this._getId(Y);ae&&(ae=e.normalizeId(ae),delete this._schemas[ae],delete this._refs[ae])}return this}function A(Y,F,z){for(var ne in F){var ae=F[ne];!ae.meta&&(!z||z.test(ne))&&(Y._cache.del(ae.cacheKey),delete F[ne])}}function I(Y,F,z,ne){if(typeof Y!="object"&&typeof Y!="boolean")throw new Error("schema should be object or boolean");var ae=this._opts.serialize,be=ae?ae(Y):Y,Pe=this._cache.get(be);if(Pe)return Pe;ne=ne||this._opts.addUsedSchema!==!1;var Ie=e.normalizeId(this._getId(Y));Ie&&ne&&K(this,Ie);var ue=this._opts.validateSchema!==!1&&!F,ve;ue&&!(ve=Ie&&Ie==e.normalizeId(Y.$schema))&&this.validateSchema(Y,!0);var G=e.ids.call(this,Y),J=new o({id:Ie,schema:Y,localRefs:G,cacheKey:be,meta:z});return Ie[0]!="#"&&ne&&(this._refs[Ie]=J),this._cache.put(be,J),ue&&ve&&this.validateSchema(Y,!0),J}function B(Y,F){if(Y.compiling)return Y.validate=ae,ae.schema=Y.schema,ae.errors=null,ae.root=F||ae,Y.schema.$async===!0&&(ae.$async=!0),ae;Y.compiling=!0;var z;Y.meta&&(z=this._opts,this._opts=this._metaOpts);var ne;try{ne=a.call(this,Y.schema,F,Y.localRefs)}catch(be){throw delete Y.validate,be}finally{Y.compiling=!1,Y.meta&&(this._opts=z)}return Y.validate=ne,Y.refs=ne.refs,Y.refVal=ne.refVal,Y.root=ne.root,ne;function ae(){var be=Y.validate,Pe=be.apply(this,arguments);return ae.errors=be.errors,Pe}}function M(Y){switch(Y.schemaId){case"auto":return R;case"id":return P;default:return D}}function P(Y){return Y.$id&&this.logger.warn("schema $id ignored",Y.$id),Y.id}function D(Y){return Y.id&&this.logger.warn("schema id ignored",Y.id),Y.$id}function R(Y){if(Y.$id&&Y.id&&Y.$id!=Y.id)throw new Error("schema $id is different from id");return Y.$id||Y.id}function N(Y,F){if(Y=Y||this.errors,!Y)return"No errors";F=F||{};for(var z=F.separator===void 0?", ":F.separator,ne=F.dataVar===void 0?"data":F.dataVar,ae="",be=0;be<Y.length;be++){var Pe=Y[be];Pe&&(ae+=ne+Pe.dataPath+" "+Pe.message+z)}return ae.slice(0,-z.length)}function q(Y,F){return typeof F=="string"&&(F=new RegExp(F)),this._formats[Y]=F,this}function L(Y){var F;if(Y._opts.$data&&(F=QC,Y.addMetaSchema(F,F.$id,!0)),Y._opts.meta!==!1){var z=Ch;Y._opts.$data&&(z=u(z,s)),Y.addMetaSchema(z,f,!0),Y._refs["http://json-schema.org/schema"]=f}}function W(Y){var F=Y._opts.schemas;if(F)if(Array.isArray(F))Y.addSchema(F);else for(var z in F)Y.addSchema(F[z],z)}function _(Y){for(var F in Y._opts.formats){var z=Y._opts.formats[F];Y.addFormat(F,z)}}function H(Y){for(var F in Y._opts.keywords){var z=Y._opts.keywords[F];Y.addKeyword(F,z)}}function K(Y,F){if(Y._schemas[F]||Y._refs[F])throw new Error('schema with key or id "'+F+'" already exists')}function re(Y){for(var F=r.copy(Y._opts),z=0;z<m.length;z++)delete F[m[z]];return F}function te(Y){var F=Y._opts.logger;if(F===!1)Y.logger={log:xe,warn:xe,error:xe};else{if(F===void 0&&(F=console),!(typeof F=="object"&&F.log&&F.warn&&F.error))throw new Error("logger must implement log, warn and error methods");Y.logger=F}}function xe(){}return na}var ZC={AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},e1={Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},t1={Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},r1={Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},n1={Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},s1={AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},a1={AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,AudioWorkletGlobalScope:!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,ClipboardItem:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,CompressionStream:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMatrixComponent:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSPerspective:!1,CSSRotate:!1,CSSRule:!1,CSSRuleList:!1,CSSScale:!1,CSSSkew:!1,CSSSkewX:!1,CSSSkewY:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CSSTransformValue:!1,CSSTranslate:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,DecompressionStream:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectList:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,FormDataEvent:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaMetadata:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamConstraints:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NavigatorUAData:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,OffscreenCanvasRenderingContext2D:!1,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,OverconstrainedError:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,registerProcessor:!1,RemotePlayback:!1,removeEventListener:!1,reportError:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,structuredClone:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubmitEvent:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,ToggleEvent:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransformStream:!1,TransformStreamDefaultController:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XRAnchor:!1,XRBoundedReferenceSpace:!1,XRCPUDepthInformation:!1,XRDepthInformation:!1,XRFrame:!1,XRInputSource:!1,XRInputSourceArray:!1,XRInputSourceEvent:!1,XRInputSourcesChangeEvent:!1,XRPose:!1,XRReferenceSpace:!1,XRReferenceSpaceEvent:!1,XRRenderState:!1,XRRigidTransform:!1,XRSession:!1,XRSessionEvent:!1,XRSpace:!1,XRSystem:!1,XRView:!1,XRViewerPose:!1,XRViewport:!1,XRWebGLBinding:!1,XRWebGLDepthInformation:!1,XRWebGLLayer:!1,XSLTProcessor:!1},i1={addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,ErrorEvent:!1,Event:!1,fetch:!1,File:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,removeEventListener:!1,reportError:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,SubtleCrypto:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLSearchParams:!1,WebAssembly:!1,WebSocket:!1,Worker:!1,WorkerGlobalScope:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1,XMLHttpRequest:!1},o1={__dirname:!1,__filename:!1,AbortController:!1,AbortSignal:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Buffer:!1,ByteLengthQueuingStrategy:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,DOMException:!1,Event:!1,EventTarget:!1,exports:!0,fetch:!1,File:!1,FormData:!1,global:!1,Headers:!1,Intl:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,module:!1,performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,process:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,Request:!1,require:!1,Response:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,structuredClone:!1,SubtleCrypto:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLSearchParams:!1,WebAssembly:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1},l1={AbortController:!1,AbortSignal:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Buffer:!1,ByteLengthQueuingStrategy:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,DOMException:!1,Event:!1,EventTarget:!1,fetch:!1,File:!1,FormData:!1,global:!1,Headers:!1,Intl:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,process:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,Request:!1,Response:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,structuredClone:!1,SubtleCrypto:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLSearchParams:!1,WebAssembly:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1},u1={exports:!0,global:!1,module:!1,require:!1},c1={define:!1,require:!1},f1={after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},p1={afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,expectAsync:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnAllFunctions:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},m1={afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},h1={asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},d1={console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},g1={emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},y1={defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},v1={__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},E1={ActiveXObject:!1,CollectGarbage:!1,Debug:!1,Enumerator:!1,GetObject:!1,RuntimeObject:!1,ScriptEngine:!1,ScriptEngineBuildVersion:!1,ScriptEngineMajorVersion:!1,ScriptEngineMinorVersion:!1,VBArray:!1,WScript:!1,WSH:!1},S1={$:!1,jQuery:!1},b1={YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},x1={cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},C1={$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},w1={$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},A1={_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},T1={$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},k1={addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,ErrorEvent:!1,Event:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,File:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!1,indexedDB:!1,location:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onoffline:!0,ononline:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,registration:!1,removeEventListener:!1,Request:!1,Response:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,SubtleCrypto:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLSearchParams:!1,WebAssembly:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1,XMLHttpRequest:!1},D1={advanceClock:!1,atom:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},I1={andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},P1={$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},F1={browser:!1,chrome:!1,opr:!1},R1={cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addElement:!1,GM_addStyle:!1,GM_addValueChangeListener:!1,GM_deleteValue:!1,GM_download:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getTab:!1,GM_getTabs:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_notification:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_removeValueChangeListener:!1,GM_saveTab:!1,GM_setClipboard:!1,GM_setValue:!1,GM_unregisterMenuCommand:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},_1={$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1},B1={builtin:ZC,es5:e1,es2015:t1,es2017:r1,es2020:n1,es2021:s1,browser:a1,worker:i1,node:o1,nodeBuiltin:l1,commonjs:u1,amd:c1,mocha:f1,jasmine:p1,jest:m1,qunit:h1,phantomjs:d1,couch:g1,rhino:y1,nashorn:v1,wsh:E1,jquery:S1,yui:b1,shelljs:x1,prototypejs:C1,meteor:w1,mongo:A1,applescript:T1,serviceworker:k1,atomtest:D1,embertest:I1,protractor:P1,"shared-node-browser":{AbortController:!1,AbortSignal:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,ByteLengthQueuingStrategy:!1,clearInterval:!1,clearTimeout:!1,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,DOMException:!1,Event:!1,EventTarget:!1,fetch:!1,File:!1,FormData:!1,Headers:!1,Intl:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,Request:!1,Response:!1,setInterval:!1,setTimeout:!1,structuredClone:!1,SubtleCrypto:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLSearchParams:!1,WebAssembly:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1},webextensions:F1,greasemonkey:R1,devtools:_1},sa,Dh;function L1(){return Dh||(Dh=1,sa=B1),sa}var Ih;function Ph(){if(Ih)return Cn;Ih=1,Object.defineProperty(Cn,"__esModule",{value:!0});var a=iC,e=Sn,n=kh(),o=L1();function t(Ie){return Ie&&typeof Ie=="object"&&"default"in Ie?Ie:{default:Ie}}var c=t(a),p=t(e),u=t(n),r=t(o);const h=["off","warn","error"],i=h.reduce((Ie,ue,ve)=>(Ie[ue]=ve,Ie),{}),f=new Set([0,1,2,"off","warn","error"]);function m(Ie){const ue=Array.isArray(Ie)?Ie[0]:Ie;return ue===0||ue===1||ue===2?ue:typeof ue=="string"&&i[ue.toLowerCase()]||0}function s(Ie){Ie.rules&&Object.keys(Ie.rules).forEach(ue=>{const ve=Ie.rules[ue];typeof ve=="number"?Ie.rules[ue]=h[ve]||h[0]:Array.isArray(ve)&&typeof ve[0]=="number"&&(ve[0]=h[ve[0]]||h[0])})}function l(Ie){return m(Ie)===2}function d(Ie){let ue=Array.isArray(Ie)?Ie[0]:Ie;return typeof ue=="string"&&(ue=ue.toLowerCase()),f.has(ue)}function g(Ie){return Object.keys(Ie).every(ue=>d(Ie[ue]))}function v(Ie){switch(Ie){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 new Error(`'${Ie}' is not a valid configuration for a global (use 'readonly', 'writable', or 'off')`)}}var S={__proto__:null,getRuleSeverity:m,normalizeToStrings:s,isErrorSeverity:l,isValidSeverity:d,isEverySeverityValid:g,normalizeConfigGlobal:v};const b={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."},C=new Set;function w(Ie,ue){const ve=JSON.stringify({source:Ie,errorCode:ue});if(C.has(ve))return;C.add(ve);const G=p.default.relative(process.cwd(),Ie),J=b[ue];process.emitWarning(`${J} (found in "${G}")`,"DeprecationWarning",ue)}const E={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"]},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:{}};var k=(Ie={})=>{const ue=new u.default({meta:!1,useDefaults:!0,validateSchema:!1,missingRefs:"ignore",verbose:!0,schemaId:"auto",...Ie});return ue.addMetaSchema(E),ue._opts.defaultMeta=E.id,ue};function x(Ie){return typeof Ie=="object"&&Ie!==null&&!Array.isArray(Ie)}function A(Ie,ue){if(ue===void 0)return Ie;if(!x(Ie)||!x(ue))return ue;const ve={...Ie,...ue};for(const G of Object.keys(ue))Object.prototype.propertyIsEnumerable.call(Ie,G)&&(ve[G]=A(Ie[G],ue[G]));return ve}function I(Ie,ue){return!Ie||!ue?ue||Ie||[]:[...Ie.map((ve,G)=>A(ve,ue[G])),...ue.slice(Ie.length)]}const B={$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"}},M={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"},...B},additionalProperties:!1},overrideConfig:{type:"object",properties:{excludedFiles:{$ref:"#/definitions/stringOrStrings"},files:{$ref:"#/definitions/stringOrStringsRequired"},...B},required:["files"],additionalProperties:!1}},$ref:"#/definitions/objectConfig"};function P(Ie,ue){const ve={};for(const[G,J]of Object.entries(Ie))Object.hasOwn(ue,G)||(ve[G]=J);return ve}const D=P(r.default.es2015,r.default.es5),R={Atomics:!1,SharedArrayBuffer:!1},N={BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,globalThis:!1},q={AggregateError:!1,FinalizationRegistry:!1,WeakRef:!1};var L=new Map(Object.entries({builtin:{globals:r.default.es5},es6:{globals:D,parserOptions:{ecmaVersion:6}},es2015:{globals:D,parserOptions:{ecmaVersion:6}},es2016:{globals:D,parserOptions:{ecmaVersion:7}},es2017:{globals:{...D,...R},parserOptions:{ecmaVersion:8}},es2018:{globals:{...D,...R},parserOptions:{ecmaVersion:9}},es2019:{globals:{...D,...R},parserOptions:{ecmaVersion:10}},es2020:{globals:{...D,...R,...N},parserOptions:{ecmaVersion:11}},es2021:{globals:{...D,...R,...N,...q},parserOptions:{ecmaVersion:12}},es2022:{globals:{...D,...R,...N,...q},parserOptions:{ecmaVersion:13}},es2023:{globals:{...D,...R,...N,...q},parserOptions:{ecmaVersion:14}},es2024:{globals:{...D,...R,...N,...q},parserOptions:{ecmaVersion:15}},browser:{globals:r.default.browser},node:{globals:r.default.node,parserOptions:{ecmaFeatures:{globalReturn:!0}}},"shared-node-browser":{globals:r.default["shared-node-browser"]},worker:{globals:r.default.worker},serviceworker:{globals:r.default.serviceworker},commonjs:{globals:r.default.commonjs,parserOptions:{ecmaFeatures:{globalReturn:!0}}},amd:{globals:r.default.amd},mocha:{globals:r.default.mocha},jasmine:{globals:r.default.jasmine},jest:{globals:r.default.jest},phantomjs:{globals:r.default.phantomjs},jquery:{globals:r.default.jquery},qunit:{globals:r.default.qunit},prototypejs:{globals:r.default.prototypejs},shelljs:{globals:r.default.shelljs},meteor:{globals:r.default.meteor},mongo:{globals:r.default.mongo},protractor:{globals:r.default.protractor},applescript:{globals:r.default.applescript},nashorn:{globals:r.default.nashorn},atomtest:{globals:r.default.atomtest},embertest:{globals:r.default.embertest},webextensions:{globals:r.default.webextensions},greasemonkey:{globals:r.default.greasemonkey}}));const W=k(),_=new WeakMap,H=Function.prototype;let K;const re={error:2,warn:1,off:0},te=new WeakSet,xe=Object.freeze({type:"array",minItems:0,maxItems:0});class Y{constructor({builtInRules:ue=new Map}={}){this.builtInRules=ue}getRuleOptionsSchema(ue){if(!ue)return null;if(!ue.meta)return{...xe};const ve=ue.meta.schema;if(typeof ve>"u")return{...xe};if(ve===!1)return null;if(typeof ve!="object"||ve===null)throw new TypeError("Rule's `meta.schema` must be an array or object");return Array.isArray(ve)?ve.length?{type:"array",items:ve,minItems:0,maxItems:ve.length}:{...xe}:ve}validateRuleSeverity(ue){const ve=Array.isArray(ue)?ue[0]:ue,G=typeof ve=="string"?re[ve.toLowerCase()]:ve;if(G===0||G===1||G===2)return G;throw new Error(` Severity should be one of the following: 0 = off, 1 = warn, 2 = error (you passed '${c.default.inspect(ve).replace(/'/gu,'"').replace(/\n/gu,"")}').
27
- `)}validateRuleSchema(ue,ve){var J;if(!_.has(ue))try{const Te=this.getRuleOptionsSchema(ue);Te&&_.set(ue,W.compile(Te))}catch(Te){const $=new Error(Te.message,{cause:Te});throw $.code="ESLINT_INVALID_RULE_OPTIONS_SCHEMA",$}const G=_.get(ue);if(G){const Te=I((J=ue.meta)==null?void 0:J.defaultOptions,ve);if(G(Te),G.errors)throw new Error(G.errors.map($=>` Value ${JSON.stringify($.data)} ${$.message}.
28
- `).join(""))}}validateRuleOptions(ue,ve,G,J=null){try{this.validateRuleSeverity(G)!==0&&this.validateRuleSchema(ue,Array.isArray(G)?G.slice(1):[])}catch(Te){let $=Te.code==="ESLINT_INVALID_RULE_OPTIONS_SCHEMA"?`Error while processing options validation schema of rule '${ve}': ${Te.message}`:`Configuration for rule "${ve}" is invalid:
29
- ${Te.message}`;typeof J=="string"&&($=`${J}:
30
- ${$}`);const se=new Error($,{cause:Te});throw Te.code&&(se.code=Te.code),se}}validateEnvironment(ue,ve,G=H){ue&&Object.keys(ue).forEach(J=>{if(!(G(J)||L.get(J)||null)){const $=`${ve}:
31
- Environment key "${J}" is unknown
32
- `;throw new Error($)}})}validateRules(ue,ve,G=H){ue&&Object.keys(ue).forEach(J=>{const Te=G(J)||this.builtInRules.get(J)||null;this.validateRuleOptions(Te,J,ue[J],ve)})}validateGlobals(ue,ve=null){ue&&Object.entries(ue).forEach(([G,J])=>{try{v(J)}catch(Te){throw new Error(`ESLint configuration of global '${G}' in ${ve} is invalid:
33
- ${Te.message}`)}})}validateProcessor(ue,ve,G){if(ue&&!G(ue))throw new Error(`ESLint configuration of processor in '${ve}' is invalid: '${ue}' was not found.`)}formatErrors(ue){return ue.map(ve=>{if(ve.keyword==="additionalProperties")return`Unexpected top-level property "${ve.dataPath.length?`${ve.dataPath.slice(1)}.${ve.params.additionalProperty}`:ve.params.additionalProperty}"`;if(ve.keyword==="type"){const J=ve.dataPath.slice(1),Te=Array.isArray(ve.schema)?ve.schema.join("/"):ve.schema,$=JSON.stringify(ve.data);return`Property "${J}" is the wrong type (expected ${Te} but got \`${$}\`)`}return`"${ve.dataPath[0]==="."?ve.dataPath.slice(1):ve.dataPath}" ${ve.message}. Value: ${JSON.stringify(ve.data)}`}).map(ve=>` - ${ve}.
34
- `).join("")}validateConfigSchema(ue,ve=null){if(K=K||W.compile(M),!K(ue))throw new Error(`ESLint configuration in ${ve} is invalid:
35
- ${this.formatErrors(K.errors)}`);Object.hasOwn(ue,"ecmaFeatures")&&w(ve,"ESLINT_LEGACY_ECMAFEATURES")}validate(ue,ve,G,J){this.validateConfigSchema(ue,ve),this.validateRules(ue.rules,ve,G),this.validateEnvironment(ue.env,ve,J),this.validateGlobals(ue.globals,ve);for(const Te of ue.overrides||[])this.validateRules(Te.rules,ve,G),this.validateEnvironment(Te.env,ve,J),this.validateGlobals(ue.globals,ve)}validateConfigArray(ue){const ve=Map.prototype.get.bind(ue.pluginEnvironments),G=Map.prototype.get.bind(ue.pluginProcessors),J=Map.prototype.get.bind(ue.pluginRules);for(const Te of ue)te.has(Te)||(te.add(Te),this.validateEnvironment(Te.env,Te.name,ve),this.validateGlobals(Te.globals,Te.name),this.validateProcessor(Te.processor,Te.name,G),this.validateRules(Te.rules,Te.name,J))}}const F=/^@.*\//iu;function z(Ie,ue){let ve=Ie;if(ve.includes("\\")&&(ve=ve.replace(/\\/gu,"/")),ve.charAt(0)==="@"){const G=new RegExp(`^(@[^/]+)(?:/(?:${ue})?)?$`,"u"),J=new RegExp(`^${ue}(-|$)`,"u");G.test(ve)?ve=ve.replace(G,`$1/${ue}`):J.test(ve.split("/")[1])||(ve=ve.replace(/^@([^/]+)\/(.*)$/u,`@$1/${ue}-$2`))}else ve.startsWith(`${ue}-`)||(ve=`${ue}-${ve}`);return ve}function ne(Ie,ue){if(Ie[0]==="@"){let ve=new RegExp(`^(@[^/]+)/${ue}$`,"u").exec(Ie);if(ve)return ve[1];if(ve=new RegExp(`^(@[^/]+)/${ue}-(.+)$`,"u").exec(Ie),ve)return`${ve[1]}/${ve[2]}`}else if(Ie.startsWith(`${ue}-`))return Ie.slice(ue.length+1);return Ie}function ae(Ie){const ue=Ie.match(F);return ue?ue[0]:""}var be={__proto__:null,normalizePackageName:z,getShorthandName:ne,getNamespaceFromTerm:ae};const Pe={environments:L,ConfigOps:S,ConfigValidator:Y,naming:be};return Cn.Legacy=Pe,Cn}var aa={exports:{}},Nn={exports:{}},ia,Fh;function O1(){if(Fh)return ia;Fh=1;var a=1e3,e=a*60,n=e*60,o=n*24,t=o*7,c=o*365.25;ia=function(i,f){f=f||{};var m=typeof i;if(m==="string"&&i.length>0)return p(i);if(m==="number"&&isFinite(i))return f.long?r(i):u(i);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(i))};function p(i){if(i=String(i),!(i.length>100)){var f=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(f){var m=parseFloat(f[1]),s=(f[2]||"ms").toLowerCase();switch(s){case"years":case"year":case"yrs":case"yr":case"y":return m*c;case"weeks":case"week":case"w":return m*t;case"days":case"day":case"d":return m*o;case"hours":case"hour":case"hrs":case"hr":case"h":return m*n;case"minutes":case"minute":case"mins":case"min":case"m":return m*e;case"seconds":case"second":case"secs":case"sec":case"s":return m*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return m;default:return}}}}function u(i){var f=Math.abs(i);return f>=o?Math.round(i/o)+"d":f>=n?Math.round(i/n)+"h":f>=e?Math.round(i/e)+"m":f>=a?Math.round(i/a)+"s":i+"ms"}function r(i){var f=Math.abs(i);return f>=o?h(i,f,o,"day"):f>=n?h(i,f,n,"hour"):f>=e?h(i,f,e,"minute"):f>=a?h(i,f,a,"second"):i+" ms"}function h(i,f,m,s){var l=f>=m*1.5;return Math.round(i/m)+" "+s+(l?"s":"")}return ia}var oa,Rh;function N1(){if(Rh)return oa;Rh=1;function a(e){o.debug=o,o.default=o,o.coerce=h,o.disable=u,o.enable=c,o.enabled=r,o.humanize=O1(),o.destroy=i,Object.keys(e).forEach(f=>{o[f]=e[f]}),o.names=[],o.skips=[],o.formatters={};function n(f){let m=0;for(let s=0;s<f.length;s++)m=(m<<5)-m+f.charCodeAt(s),m|=0;return o.colors[Math.abs(m)%o.colors.length]}o.selectColor=n;function o(f){let m,s=null,l,d;function g(...v){if(!g.enabled)return;const S=g,b=Number(new Date),C=b-(m||b);S.diff=C,S.prev=m,S.curr=b,m=b,v[0]=o.coerce(v[0]),typeof v[0]!="string"&&v.unshift("%O");let w=0;v[0]=v[0].replace(/%([a-zA-Z%])/g,(k,x)=>{if(k==="%%")return"%";w++;const A=o.formatters[x];if(typeof A=="function"){const I=v[w];k=A.call(S,I),v.splice(w,1),w--}return k}),o.formatArgs.call(S,v),(S.log||o.log).apply(S,v)}return g.namespace=f,g.useColors=o.useColors(),g.color=o.selectColor(f),g.extend=t,g.destroy=o.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:()=>s!==null?s:(l!==o.namespaces&&(l=o.namespaces,d=o.enabled(f)),d),set:v=>{s=v}}),typeof o.init=="function"&&o.init(g),g}function t(f,m){const s=o(this.namespace+(typeof m>"u"?":":m)+f);return s.log=this.log,s}function c(f){o.save(f),o.namespaces=f,o.names=[],o.skips=[];const m=(typeof f=="string"?f:"").trim().replace(" ",",").split(",").filter(Boolean);for(const s of m)s[0]==="-"?o.skips.push(s.slice(1)):o.names.push(s)}function p(f,m){let s=0,l=0,d=-1,g=0;for(;s<f.length;)if(l<m.length&&(m[l]===f[s]||m[l]==="*"))m[l]==="*"?(d=l,g=s,l++):(s++,l++);else if(d!==-1)l=d+1,g++,s=g;else return!1;for(;l<m.length&&m[l]==="*";)l++;return l===m.length}function u(){const f=[...o.names,...o.skips.map(m=>"-"+m)].join(",");return o.enable(""),f}function r(f){for(const m of o.skips)if(p(f,m))return!1;for(const m of o.names)if(p(f,m))return!0;return!1}function h(f){return f instanceof Error?f.stack||f.message:f}function i(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return o.enable(o.load()),o}return oa=a,oa}var _h;function j1(){return _h||(_h=1,function(a,e){e.formatArgs=o,e.save=t,e.load=c,e.useColors=n,e.storage=p(),e.destroy=(()=>{let r=!1;return()=>{r||(r=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.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"];function n(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let r;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(r=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(r[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function o(r){if(r[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+r[0]+(this.useColors?"%c ":" ")+"+"+a.exports.humanize(this.diff),!this.useColors)return;const h="color: "+this.color;r.splice(1,0,h,"color: inherit");let i=0,f=0;r[0].replace(/%[a-zA-Z%]/g,m=>{m!=="%%"&&(i++,m==="%c"&&(f=i))}),r.splice(f,0,h)}e.log=console.debug||console.log||(()=>{});function t(r){try{r?e.storage.setItem("debug",r):e.storage.removeItem("debug")}catch{}}function c(){let r;try{r=e.storage.getItem("debug")}catch{}return!r&&typeof Mt<"u"&&"env"in Mt&&(r=Mt.env.DEBUG),r}function p(){try{return localStorage}catch{}}a.exports=N1()(e);const{formatters:u}=a.exports;u.j=function(r){try{return JSON.stringify(r)}catch(h){return"[UnexpectedJSONParseError]: "+h.message}}}(Nn,Nn.exports)),Nn.exports}var Bh;function Rr(){return Bh||(Bh=1,aa.exports=j1()),aa.exports}var la,Lh;function ua(){if(Lh)return la;Lh=1;const a=Qr(),e=Rr()("eslint:traverser");function n(){}function o(p){return p!==null&&typeof p=="object"&&typeof p.type=="string"}function t(p,u){let r=p[u.type];return r||(r=a.getKeys(u),e('Unknown node type "%s": Estimated visitor keys %j',u.type,r)),r}class c{constructor(){this._current=null,this._parents=[],this._skipped=!1,this._broken=!1,this._visitorKeys=null,this._enter=null,this._leave=null}current(){return this._current}parents(){return this._parents.slice(0)}break(){this._broken=!0}skip(){this._skipped=!0}traverse(u,r){this._current=null,this._parents=[],this._skipped=!1,this._broken=!1,this._visitorKeys=r.visitorKeys||a.KEYS,this._enter=r.enter||n,this._leave=r.leave||n,this._traverse(u,null)}_traverse(u,r){if(o(u)){if(this._current=u,this._skipped=!1,this._enter(u,r),!this._skipped&&!this._broken){const h=t(this._visitorKeys,u);if(h.length>=1){this._parents.push(u);for(let i=0;i<h.length&&!this._broken;++i){const f=u[h[i]];if(Array.isArray(f))for(let m=0;m<f.length&&!this._broken;++m)this._traverse(f[m],u);else this._traverse(f,u)}this._parents.pop()}}this._broken||this._leave(u,r),this._current=r}}static getKeys(u){return a.getKeys(u)}static traverse(u,r){new c().traverse(u,r)}static get DEFAULT_VISITOR_KEYS(){return a.KEYS}}return la=c,la}var ca={},Wr={},Oh;function M1(){if(Oh)return Wr;Oh=1,Object.defineProperty(Wr,"__esModule",{value:!0});const a={ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],AwaitExpression:["argument"],BinaryExpression:["left","right"],BlockStatement:["body"],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:[],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ExportAllDeclaration:["exported","source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],ForStatement:["init","test","update","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"],JSXClosingFragment:[],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXFragment:["openingFragment","children","closingFragment"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes"],JSXOpeningFragment:[],JSXSpreadAttribute:["argument"],JSXSpreadChild:["expression"],JSXText:[],LabeledStatement:["label","body"],Literal:[],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"],StaticBlock:["body"],Super:[],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],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"]},e=Object.keys(a);for(const p of e)Object.freeze(a[p]);Object.freeze(a);const n=new Set(["parent","leadingComments","trailingComments"]);function o(p){return!n.has(p)&&p[0]!=="_"}function t(p){return Object.keys(p).filter(o)}function c(p){const u=Object.assign({},a);for(const r of Object.keys(p))if(Object.prototype.hasOwnProperty.call(u,r)){const h=new Set(p[r]);for(const i of u[r])h.add(i);u[r]=Object.freeze(Array.from(h))}else u[r]=Object.freeze(Array.from(p[r]));return Object.freeze(u)}return Wr.KEYS=a,Wr.getKeys=t,Wr.unionWith=c,Wr}var Nh;function $t(){return Nh||(Nh=1,function(a){Object.defineProperty(a,"__esModule",{value:!0});var e=M1();function n(Ce,ge){const ye=ge.range[0];let Re=Ce,We=!1;do{We=!1;for(const ce of Re.childScopes){const de=ce.block.range;if(de[0]<=ye&&ye<de[1]){Re=ce,We=!0;break}}}while(We);return Re}function o(Ce,ge){let ye="",Re=Ce;for(typeof ge=="string"?ye=ge:(ye=ge.name,Re=n(Re,ge));Re!=null;){const We=Re.set.get(ye);if(We!=null)return We;Re=Re.upper}return null}function t(Ce){return!this(Ce)}function c(Ce){return t.bind(Ce)}function p(Ce,ge){return Ce.type==="Punctuator"&&Ce.value===ge}function u(Ce){return p(Ce,"=>")}function r(Ce){return p(Ce,",")}function h(Ce){return p(Ce,";")}function i(Ce){return p(Ce,":")}function f(Ce){return p(Ce,"(")}function m(Ce){return p(Ce,")")}function s(Ce){return p(Ce,"[")}function l(Ce){return p(Ce,"]")}function d(Ce){return p(Ce,"{")}function g(Ce){return p(Ce,"}")}function v(Ce){return["Block","Line","Shebang"].includes(Ce.type)}const S=c(u),b=c(r),C=c(h),w=c(i),E=c(f),k=c(m),x=c(s),A=c(l),I=c(d),B=c(g),M=c(v);function P(Ce,ge){return Ce.id?ge.getTokenAfter(Ce.id,f):ge.getFirstToken(Ce,f)}function D(Ce,ge){const ye=Ce.parent;let Re=null,We=null;if(Ce.type==="ArrowFunctionExpression"){const ce=ge.getTokenBefore(Ce.body,u);Re=ce.loc.start,We=ce.loc.end}else ye.type==="Property"||ye.type==="MethodDefinition"||ye.type==="PropertyDefinition"?(Re=ye.loc.start,We=P(Ce,ge).loc.start):(Re=Ce.loc.start,We=P(Ce,ge).loc.start);return{start:{...Re},end:{...We}}}const R=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof wt<"u"?wt:{},N=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"])),q=new Set([Array.isArray,typeof BigInt=="function"?BigInt:void 0,Boolean,Date,Date.parse,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,escape,isFinite,isNaN,isPrototypeOf,...Object.getOwnPropertyNames(Math).map(Ce=>Math[Ce]).filter(Ce=>typeof Ce=="function"),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(Ce=>typeof Ce=="function")),L=new Set([Object.freeze,Object.preventExtensions,Object.seal]);function W(Ce,ge){let ye=Ce;for(;(typeof ye=="object"||typeof ye=="function")&&ye!==null;){const Re=Object.getOwnPropertyDescriptor(ye,ge);if(Re)return Re;ye=Object.getPrototypeOf(ye)}return null}function _(Ce,ge){const ye=W(Ce,ge);return ye!=null&&ye.get!=null}function H(Ce,ge){const ye=[];for(let Re=0;Re<Ce.length;++Re){const We=Ce[Re];if(We==null)ye.length=Re+1;else if(We.type==="SpreadElement"){const ce=re(We.argument,ge);if(ce==null)return null;ye.push(...ce.value)}else{const ce=re(We,ge);if(ce==null)return null;ye.push(ce.value)}}return ye}const K=Object.freeze({ArrayExpression(Ce,ge){const ye=H(Ce.elements,ge);return ye!=null?{value:ye}:null},AssignmentExpression(Ce,ge){return Ce.operator==="="?re(Ce.right,ge):null},BinaryExpression(Ce,ge){if(Ce.operator==="in"||Ce.operator==="instanceof")return null;const ye=re(Ce.left,ge),Re=re(Ce.right,ge);if(ye!=null&&Re!=null)switch(Ce.operator){case"==":return{value:ye.value==Re.value};case"!=":return{value:ye.value!=Re.value};case"===":return{value:ye.value===Re.value};case"!==":return{value:ye.value!==Re.value};case"<":return{value:ye.value<Re.value};case"<=":return{value:ye.value<=Re.value};case">":return{value:ye.value>Re.value};case">=":return{value:ye.value>=Re.value};case"<<":return{value:ye.value<<Re.value};case">>":return{value:ye.value>>Re.value};case">>>":return{value:ye.value>>>Re.value};case"+":return{value:ye.value+Re.value};case"-":return{value:ye.value-Re.value};case"*":return{value:ye.value*Re.value};case"/":return{value:ye.value/Re.value};case"%":return{value:ye.value%Re.value};case"**":return{value:ye.value**Re.value};case"|":return{value:ye.value|Re.value};case"^":return{value:ye.value^Re.value};case"&":return{value:ye.value&Re.value}}return null},CallExpression(Ce,ge){const ye=Ce.callee,Re=H(Ce.arguments,ge);if(Re!=null)if(ye.type==="MemberExpression"){if(ye.property.type==="PrivateIdentifier")return null;const We=re(ye.object,ge);if(We!=null){if(We.value==null&&(We.optional||Ce.optional))return{value:void 0,optional:!0};const ce=te(ye,ge);if(ce!=null){const de=We.value,he=ce.value;if(q.has(de[he]))return{value:de[he](...Re)};if(L.has(de[he]))return{value:Re[0]}}}}else{const We=re(ye,ge);if(We!=null){if(We.value==null&&Ce.optional)return{value:void 0,optional:!0};const ce=We.value;if(q.has(ce))return{value:ce(...Re)};if(L.has(ce))return{value:Re[0]}}}return null},ConditionalExpression(Ce,ge){const ye=re(Ce.test,ge);return ye!=null?ye.value?re(Ce.consequent,ge):re(Ce.alternate,ge):null},ExpressionStatement(Ce,ge){return re(Ce.expression,ge)},Identifier(Ce,ge){if(ge!=null){const ye=o(ge,Ce);if(ye!=null&&ye.defs.length===0&&N.has(ye.name)&&ye.name in R)return{value:R[ye.name]};if(ye!=null&&ye.defs.length===1){const Re=ye.defs[0];if(Re.parent&&Re.parent.kind==="const"&&Re.node.id.type==="Identifier")return re(Re.node.init,ge)}}return null},Literal(Ce){return(Ce.regex!=null||Ce.bigint!=null)&&Ce.value==null?null:{value:Ce.value}},LogicalExpression(Ce,ge){const ye=re(Ce.left,ge);if(ye!=null){if(Ce.operator==="||"&&ye.value||Ce.operator==="&&"&&!ye.value||Ce.operator==="??"&&ye.value!=null)return ye;const Re=re(Ce.right,ge);if(Re!=null)return Re}return null},MemberExpression(Ce,ge){if(Ce.property.type==="PrivateIdentifier")return null;const ye=re(Ce.object,ge);if(ye!=null){if(ye.value==null&&(ye.optional||Ce.optional))return{value:void 0,optional:!0};const Re=te(Ce,ge);if(Re!=null&&!_(ye.value,Re.value))return{value:ye.value[Re.value]}}return null},ChainExpression(Ce,ge){const ye=re(Ce.expression,ge);return ye!=null?{value:ye.value}:null},NewExpression(Ce,ge){const ye=re(Ce.callee,ge),Re=H(Ce.arguments,ge);if(ye!=null&&Re!=null){const We=ye.value;if(q.has(We))return{value:new We(...Re)}}return null},ObjectExpression(Ce,ge){const ye={};for(const Re of Ce.properties)if(Re.type==="Property"){if(Re.kind!=="init")return null;const We=te(Re,ge),ce=re(Re.value,ge);if(We==null||ce==null)return null;ye[We.value]=ce.value}else if(Re.type==="SpreadElement"||Re.type==="ExperimentalSpreadProperty"){const We=re(Re.argument,ge);if(We==null)return null;Object.assign(ye,We.value)}else return null;return{value:ye}},SequenceExpression(Ce,ge){const ye=Ce.expressions[Ce.expressions.length-1];return re(ye,ge)},TaggedTemplateExpression(Ce,ge){const ye=re(Ce.tag,ge),Re=H(Ce.quasi.expressions,ge);if(ye!=null&&Re!=null){const We=ye.value,ce=Ce.quasi.quasis.map(de=>de.value.cooked);if(ce.raw=Ce.quasi.quasis.map(de=>de.value.raw),We===String.raw)return{value:We(ce,...Re)}}return null},TemplateLiteral(Ce,ge){const ye=H(Ce.expressions,ge);if(ye!=null){let Re=Ce.quasis[0].value.cooked;for(let We=0;We<ye.length;++We)Re+=ye[We],Re+=Ce.quasis[We+1].value.cooked;return{value:Re}}return null},UnaryExpression(Ce,ge){if(Ce.operator==="delete")return null;if(Ce.operator==="void")return{value:void 0};const ye=re(Ce.argument,ge);if(ye!=null)switch(Ce.operator){case"-":return{value:-ye.value};case"+":return{value:+ye.value};case"!":return{value:!ye.value};case"~":return{value:~ye.value};case"typeof":return{value:typeof ye.value}}return null}});function re(Ce,ge){return Ce!=null&&Object.hasOwnProperty.call(K,Ce.type)?K[Ce.type](Ce,ge):null}function te(Ce,ge){const ye=Ce.type==="Property"?Ce.key:Ce.property;return Ce.computed?re(ye,ge):ye.type==="Identifier"?{value:ye.name}:ye.type==="Literal"?ye.bigint?{value:ye.bigint}:{value:String(ye.value)}:null}function xe(Ce,ge=null){try{return re(Ce,ge)}catch{return null}}function Y(Ce,ge=null){if(Ce&&Ce.type==="Literal"&&Ce.value===null){if(Ce.regex)return`/${Ce.regex.pattern}/${Ce.regex.flags}`;if(Ce.bigint)return Ce.bigint}const ye=xe(Ce,ge);return ye&&String(ye.value)}function F(Ce,ge){switch(Ce.type){case"MemberExpression":return Ce.computed?Y(Ce.property,ge):Ce.property.type==="PrivateIdentifier"?null:Ce.property.name;case"Property":case"MethodDefinition":case"PropertyDefinition":return Ce.computed?Y(Ce.key,ge):Ce.key.type==="Literal"?String(Ce.key.value):Ce.key.type==="PrivateIdentifier"?null:Ce.key.name}return null}function z(Ce,ge){const ye=Ce.parent,Re=[],We=ye.type==="Property"&&ye.value===Ce,ce=ye.type==="MethodDefinition"&&ye.value===Ce,de=ye.type==="PropertyDefinition"&&ye.value===Ce;if((ce||de)&&(ye.static&&Re.push("static"),ye.key.type==="PrivateIdentifier"&&Re.push("private")),Ce.async&&Re.push("async"),Ce.generator&&Re.push("generator"),We||ce){if(ye.kind==="constructor")return"constructor";ye.kind==="get"?Re.push("getter"):ye.kind==="set"?Re.push("setter"):Re.push("method")}else de?Re.push("method"):(Ce.type==="ArrowFunctionExpression"&&Re.push("arrow"),Re.push("function"));if(We||ce||de)if(ye.key.type==="PrivateIdentifier")Re.push(`#${ye.key.name}`);else{const he=F(ye);if(he)Re.push(`'${he}'`);else if(ge){const ke=ge.getText(ye.key);ke.includes(`
36
- `)||Re.push(`[${ke}]`)}}else Ce.id?Re.push(`'${Ce.id.name}'`):ye.type==="VariableDeclarator"&&ye.id&&ye.id.type==="Identifier"?Re.push(`'${ye.id.name}'`):(ye.type==="AssignmentExpression"||ye.type==="AssignmentPattern")&&ye.left&&ye.left.type==="Identifier"?Re.push(`'${ye.left.name}'`):ye.type==="ExportDefaultDeclaration"&&ye.declaration===Ce&&Re.push("'default'");return Re.join(" ")}const ne=Object.freeze(new Set(["==","!=","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","|","^","&","in"])),ae=Object.freeze(new Set(["-","+","!","~"]));function be(Ce){return Ce!==null&&typeof Ce=="object"&&typeof Ce.type=="string"}const Pe=Object.freeze(Object.assign(Object.create(null),{$visit(Ce,ge,ye){const{type:Re}=Ce;return typeof this[Re]=="function"?this[Re](Ce,ge,ye):this.$visitChildren(Ce,ge,ye)},$visitChildren(Ce,ge,ye){const{type:Re}=Ce;for(const We of ye[Re]||e.getKeys(Ce)){const ce=Ce[We];if(Array.isArray(ce)){for(const de of ce)if(be(de)&&this.$visit(de,ge,ye))return!0}else if(be(ce)&&this.$visit(ce,ge,ye))return!0}return!1},ArrowFunctionExpression(){return!1},AssignmentExpression(){return!0},AwaitExpression(){return!0},BinaryExpression(Ce,ge,ye){return ge.considerImplicitTypeConversion&&ne.has(Ce.operator)&&(Ce.left.type!=="Literal"||Ce.right.type!=="Literal")?!0:this.$visitChildren(Ce,ge,ye)},CallExpression(){return!0},FunctionExpression(){return!1},ImportExpression(){return!0},MemberExpression(Ce,ge,ye){return ge.considerGetters||ge.considerImplicitTypeConversion&&Ce.computed&&Ce.property.type!=="Literal"?!0:this.$visitChildren(Ce,ge,ye)},MethodDefinition(Ce,ge,ye){return ge.considerImplicitTypeConversion&&Ce.computed&&Ce.key.type!=="Literal"?!0:this.$visitChildren(Ce,ge,ye)},NewExpression(){return!0},Property(Ce,ge,ye){return ge.considerImplicitTypeConversion&&Ce.computed&&Ce.key.type!=="Literal"?!0:this.$visitChildren(Ce,ge,ye)},PropertyDefinition(Ce,ge,ye){return ge.considerImplicitTypeConversion&&Ce.computed&&Ce.key.type!=="Literal"?!0:this.$visitChildren(Ce,ge,ye)},UnaryExpression(Ce,ge,ye){return Ce.operator==="delete"||ge.considerImplicitTypeConversion&&ae.has(Ce.operator)&&Ce.argument.type!=="Literal"?!0:this.$visitChildren(Ce,ge,ye)},UpdateExpression(){return!0},YieldExpression(){return!0}}));function Ie(Ce,ge,{considerGetters:ye=!1,considerImplicitTypeConversion:Re=!1}={}){return Pe.$visit(Ce,{considerGetters:ye,considerImplicitTypeConversion:Re},ge.visitorKeys||e.KEYS)}function ue(Ce,ge){const ye=Ce.parent;switch(ye.type){case"CallExpression":case"NewExpression":return ye.arguments.length===1&&ye.arguments[0]===Ce?ge.getTokenAfter(ye.callee,f):null;case"DoWhileStatement":return ye.test===Ce?ge.getTokenAfter(ye.body,f):null;case"IfStatement":case"WhileStatement":return ye.test===Ce?ge.getFirstToken(ye,1):null;case"ImportExpression":return ye.source===Ce?ge.getFirstToken(ye,1):null;case"SwitchStatement":return ye.discriminant===Ce?ge.getFirstToken(ye,1):null;case"WithStatement":return ye.object===Ce?ge.getFirstToken(ye,1):null;default:return null}}function ve(Ce,ge,ye){let Re,We,ce,de,he;if(typeof Ce=="number"){if(Re=Ce|0,We=ge,ce=ye,!(Re>=1))throw new TypeError("'times' should be a positive integer.")}else Re=1,We=Ce,ce=ge;if(We==null||We.parent==null||We.parent.type==="CatchClause"&&We.parent.param===We)return!1;de=he=We;do de=ce.getTokenBefore(de),he=ce.getTokenAfter(he);while(de!=null&&he!=null&&f(de)&&m(he)&&de!==ue(We,ce)&&--Re>0);return Re===0}const G=/\$(?:[$&`']|[1-9][0-9]?)/gu,J=new WeakMap;function Te(Ce,ge){let ye=!1;for(let Re=ge-1;Re>=0&&Ce.charCodeAt(Re)===92;--Re)ye=!ye;return ye}function $(Ce,ge,ye){const Re=[];let We=0,ce=null;function de(he){switch(he){case"$$":return"$";case"$&":return ce[0];case"$`":return ge.slice(0,ce.index);case"$'":return ge.slice(ce.index+ce[0].length);default:{const ke=he.slice(1);return ke in ce?ce[ke]:he}}}for(ce of Ce.execAll(ge))Re.push(ge.slice(We,ce.index)),Re.push(ye.replace(G,de)),We=ce.index+ce[0].length;return Re.push(ge.slice(We)),Re.join("")}function se(Ce,ge,ye){const Re=[];let We=0;for(const ce of Ce.execAll(ge))Re.push(ge.slice(We,ce.index)),Re.push(String(ye(...ce,ce.index,ce.input))),We=ce.index+ce[0].length;return Re.push(ge.slice(We)),Re.join("")}class De{constructor(ge,{escaped:ye=!1}={}){if(!(ge instanceof RegExp))throw new TypeError("'pattern' should be a RegExp instance.");if(!ge.flags.includes("g"))throw new Error("'pattern' should contains 'g' flag.");J.set(this,{pattern:new RegExp(ge.source,ge.flags),escaped:!!ye})}*execAll(ge){const{pattern:ye,escaped:Re}=J.get(this);let We=null,ce=0;for(ye.lastIndex=0;(We=ye.exec(ge))!=null;)(Re||!Te(ge,We.index))&&(ce=ye.lastIndex,yield We,ye.lastIndex=ce)}test(ge){return!this.execAll(ge).next().done}[Symbol.replace](ge,ye){return typeof ye=="function"?se(this,String(ge),ye):$(this,String(ge),String(ye))}}const Le=/^(?:Import|Export(?:All|Default|Named))Declaration$/u,Fe=Function.call.bind(Object.hasOwnProperty),V=Symbol("read"),et=Symbol("call"),nt=Symbol("construct"),lt=Symbol("esm"),Qe={require:{[et]:!0}};function Xe(Ce){return Ce==null||Ce.defs.length!==0||Ce.references.some(ge=>ge.isWrite())}function pt(Ce){const ge=Ce.parent;switch(ge&&ge.type){case"ConditionalExpression":return ge.consequent===Ce||ge.alternate===Ce;case"LogicalExpression":return!0;case"SequenceExpression":return ge.expressions[ge.expressions.length-1]===Ce;case"ChainExpression":return!0;default:return!1}}class tt{constructor(ge,{mode:ye="strict",globalObjectNames:Re=["global","globalThis","self","window"]}={}){this.variableStack=[],this.globalScope=ge,this.mode=ye,this.globalObjectNames=Re.slice(0)}*iterateGlobalReferences(ge){for(const ye of Object.keys(ge)){const Re=ge[ye],We=[ye],ce=this.globalScope.set.get(ye);Xe(ce)||(yield*this._iterateVariableReferences(ce,We,Re,!0))}for(const ye of this.globalObjectNames){const Re=[],We=this.globalScope.set.get(ye);Xe(We)||(yield*this._iterateVariableReferences(We,Re,ge,!1))}}*iterateCjsReferences(ge){for(const{node:ye}of this.iterateGlobalReferences(Qe)){const Re=Y(ye.arguments[0]);if(Re==null||!Fe(ge,Re))continue;const We=ge[Re],ce=[Re];We[V]&&(yield{node:ye,path:ce,type:V,info:We[V]}),yield*this._iteratePropertyReferences(ye,ce,We)}}*iterateEsmReferences(ge){const ye=this.globalScope.block;for(const Re of ye.body){if(!Le.test(Re.type)||Re.source==null)continue;const We=Re.source.value;if(!Fe(ge,We))continue;const ce=ge[We],de=[We];if(ce[V]&&(yield{node:Re,path:de,type:V,info:ce[V]}),Re.type==="ExportAllDeclaration")for(const he of Object.keys(ce)){const ke=ce[he];ke[V]&&(yield{node:Re,path:de.concat(he),type:V,info:ke[V]})}else for(const he of Re.specifiers){const ke=Fe(ce,lt),$e=this._iterateImportReferences(he,de,ke?ce:this.mode==="legacy"?{default:ce,...ce}:{default:ce});if(ke)yield*$e;else for(const Ee of $e)Ee.path=Ee.path.filter(Dt),(Ee.path.length>=2||Ee.type!==V)&&(yield Ee)}}}*_iterateVariableReferences(ge,ye,Re,We){if(!this.variableStack.includes(ge)){this.variableStack.push(ge);try{for(const ce of ge.references){if(!ce.isRead())continue;const de=ce.identifier;We&&Re[V]&&(yield{node:de,path:ye,type:V,info:Re[V]}),yield*this._iteratePropertyReferences(de,ye,Re)}}finally{this.variableStack.pop()}}}*_iteratePropertyReferences(ge,ye,Re){let We=ge;for(;pt(We);)We=We.parent;const ce=We.parent;if(ce.type==="MemberExpression"){if(ce.object===We){const de=F(ce);if(de==null||!Fe(Re,de))return;ye=ye.concat(de);const he=Re[de];he[V]&&(yield{node:ce,path:ye,type:V,info:he[V]}),yield*this._iteratePropertyReferences(ce,ye,he)}return}if(ce.type==="CallExpression"){ce.callee===We&&Re[et]&&(yield{node:ce,path:ye,type:et,info:Re[et]});return}if(ce.type==="NewExpression"){ce.callee===We&&Re[nt]&&(yield{node:ce,path:ye,type:nt,info:Re[nt]});return}if(ce.type==="AssignmentExpression"){ce.right===We&&(yield*this._iterateLhsReferences(ce.left,ye,Re),yield*this._iteratePropertyReferences(ce,ye,Re));return}if(ce.type==="AssignmentPattern"){ce.right===We&&(yield*this._iterateLhsReferences(ce.left,ye,Re));return}ce.type==="VariableDeclarator"&&ce.init===We&&(yield*this._iterateLhsReferences(ce.id,ye,Re))}*_iterateLhsReferences(ge,ye,Re){if(ge.type==="Identifier"){const We=o(this.globalScope,ge);We!=null&&(yield*this._iterateVariableReferences(We,ye,Re,!1));return}if(ge.type==="ObjectPattern"){for(const We of ge.properties){const ce=F(We);if(ce==null||!Fe(Re,ce))continue;const de=ye.concat(ce),he=Re[ce];he[V]&&(yield{node:We,path:de,type:V,info:he[V]}),yield*this._iterateLhsReferences(We.value,de,he)}return}ge.type==="AssignmentPattern"&&(yield*this._iterateLhsReferences(ge.left,ye,Re))}*_iterateImportReferences(ge,ye,Re){const We=ge.type;if(We==="ImportSpecifier"||We==="ImportDefaultSpecifier"){const ce=We==="ImportDefaultSpecifier"?"default":ge.imported.name;if(!Fe(Re,ce))return;ye=ye.concat(ce);const de=Re[ce];de[V]&&(yield{node:ge,path:ye,type:V,info:de[V]}),yield*this._iterateVariableReferences(o(this.globalScope,ge.local),ye,de,!1);return}if(We==="ImportNamespaceSpecifier"){yield*this._iterateVariableReferences(o(this.globalScope,ge.local),ye,Re,!1);return}if(We==="ExportSpecifier"){const ce=ge.local.name;if(!Fe(Re,ce))return;ye=ye.concat(ce);const de=Re[ce];de[V]&&(yield{node:ge,path:ye,type:V,info:de[V]})}}}tt.READ=V,tt.CALL=et,tt.CONSTRUCT=nt,tt.ESM=lt;function Dt(Ce,ge){return!(ge===1&&Ce==="default")}var st={CALL:et,CONSTRUCT:nt,ESM:lt,findVariable:o,getFunctionHeadLocation:D,getFunctionNameWithKind:z,getInnermostScope:n,getPropertyName:F,getStaticValue:xe,getStringIfConstant:Y,hasSideEffect:Ie,isArrowToken:u,isClosingBraceToken:g,isClosingBracketToken:l,isClosingParenToken:m,isColonToken:i,isCommaToken:r,isCommentToken:v,isNotArrowToken:S,isNotClosingBraceToken:B,isNotClosingBracketToken:A,isNotClosingParenToken:k,isNotColonToken:w,isNotCommaToken:b,isNotCommentToken:M,isNotOpeningBraceToken:I,isNotOpeningBracketToken:x,isNotOpeningParenToken:E,isNotSemicolonToken:C,isOpeningBraceToken:d,isOpeningBracketToken:s,isOpeningParenToken:f,isParenthesized:ve,isSemicolonToken:h,PatternMatcher:De,READ:V,ReferenceTracker:tt};a.CALL=et,a.CONSTRUCT=nt,a.ESM=lt,a.PatternMatcher=De,a.READ=V,a.ReferenceTracker=tt,a.default=st,a.findVariable=o,a.getFunctionHeadLocation=D,a.getFunctionNameWithKind=z,a.getInnermostScope=n,a.getPropertyName=F,a.getStaticValue=xe,a.getStringIfConstant=Y,a.hasSideEffect=Ie,a.isArrowToken=u,a.isClosingBraceToken=g,a.isClosingBracketToken=l,a.isClosingParenToken=m,a.isColonToken=i,a.isCommaToken=r,a.isCommentToken=v,a.isNotArrowToken=S,a.isNotClosingBraceToken=B,a.isNotClosingBracketToken=A,a.isNotClosingParenToken=k,a.isNotColonToken=w,a.isNotCommaToken=b,a.isNotCommentToken=M,a.isNotOpeningBraceToken=I,a.isNotOpeningBracketToken=x,a.isNotOpeningParenToken=E,a.isNotSemicolonToken=C,a.isOpeningBraceToken=d,a.isOpeningBracketToken=s,a.isOpeningParenToken=f,a.isParenthesized=ve,a.isSemicolonToken=h}(ca)),ca}var fa,jh;function jn(){if(jh)return fa;jh=1;function a(e,n="Assertion failed."){if(!e)throw new Error(n)}return fa=a,fa}var pa,Mh;function on(){return Mh||(Mh=1,pa=class{constructor(){this.current=null}getOneToken(){return this.moveNext()?this.current:null}getAllTokens(){const e=[];for(;this.moveNext();)e.push(this.current);return e}moveNext(){throw new Error("Not implemented.")}}),pa}var ln={},Uh;function un(){return Uh||(Uh=1,ln.search=function(e,n){for(let o=0,t=e.length-1;o<=t;){const c=(o+t)/2|0,u=e[c].range[0];if(n<=u){if(c===o)return c;t=c}else o=c+1}return e.length},ln.getFirstIndex=function(e,n,o){if(o in n)return n[o];if(o-1 in n){const t=n[o-1],c=e[t];return c?c.range[0]>=o?t:t+1:e.length}return 0},ln.getLastIndex=function(e,n,o){if(o in n)return n[o]-1;if(o-1 in n){const t=n[o-1],c=e[t];return c?c.range[1]>o?t-1:t:e.length-1}return e.length-1}),ln}var ma,qh;function U1(){if(qh)return ma;qh=1;const a=on(),e=un();return ma=class extends a{constructor(o,t,c,p,u){super(),this.tokens=o,this.comments=t,this.tokenIndex=e.getLastIndex(o,c,u),this.commentIndex=e.search(t,u)-1,this.border=p}moveNext(){const o=this.tokenIndex>=0?this.tokens[this.tokenIndex]:null,t=this.commentIndex>=0?this.comments[this.commentIndex]:null;return o&&(!t||o.range[1]>t.range[1])?(this.current=o,this.tokenIndex-=1):t?(this.current=t,this.commentIndex-=1):this.current=null,!!this.current&&(this.border===-1||this.current.range[0]>=this.border)}},ma}var ha,Vh;function q1(){if(Vh)return ha;Vh=1;const a=on(),{getLastIndex:e,getFirstIndex:n}=un();return ha=class extends a{constructor(t,c,p,u,r){super(),this.tokens=t,this.index=e(t,p,r),this.indexEnd=n(t,p,u)}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}},ha}var da,$h;function ga(){if($h)return da;$h=1;const a=on();return da=class extends a{constructor(n){super(),this.cursor=n}moveNext(){const n=this.cursor.moveNext();return this.current=this.cursor.current,n}},da}var ya,Wh;function V1(){if(Wh)return ya;Wh=1;const a=ga();return ya=class extends a{constructor(n,o){super(n),this.predicate=o}moveNext(){const n=this.predicate;for(;super.moveNext();)if(n(this.current))return!0;return!1}},ya}var va,Gh;function $1(){if(Gh)return va;Gh=1;const a=on(),{getFirstIndex:e,search:n}=un();return va=class extends a{constructor(t,c,p,u,r){super(),this.tokens=t,this.comments=c,this.tokenIndex=e(t,p,u),this.commentIndex=n(c,u),this.border=r}moveNext(){const t=this.tokenIndex<this.tokens.length?this.tokens[this.tokenIndex]:null,c=this.commentIndex<this.comments.length?this.comments[this.commentIndex]:null;return t&&(!c||t.range[0]<c.range[0])?(this.current=t,this.tokenIndex+=1):c?(this.current=c,this.commentIndex+=1):this.current=null,!!this.current&&(this.border===-1||this.current.range[1]<=this.border)}},va}var Ea,zh;function Sa(){if(zh)return Ea;zh=1;const a=on(),{getFirstIndex:e,getLastIndex:n}=un();return Ea=class extends a{constructor(t,c,p,u,r){super(),this.tokens=t,this.index=e(t,p,u),this.indexEnd=n(t,p,r)}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)}},Ea}var ba,Hh;function W1(){if(Hh)return ba;Hh=1;const a=ga();return ba=class extends a{constructor(n,o){super(n),this.count=o}moveNext(){return this.count>0?(this.count-=1,super.moveNext()):!1}},ba}var xa,Kh;function G1(){if(Kh)return xa;Kh=1;const a=ga();return xa=class extends a{constructor(n,o){super(n),this.count=o}moveNext(){for(;this.count>0;)if(this.count-=1,!super.moveNext())return!1;return super.moveNext()}},xa}var Ca,Xh;function z1(){if(Xh)return Ca;Xh=1;const a=U1(),e=q1(),n=V1(),o=$1(),t=Sa(),c=W1(),p=G1();class u{constructor(h,i){this.TokenCursor=h,this.TokenCommentCursor=i}createBaseCursor(h,i,f,m,s,l){const d=l?this.TokenCommentCursor:this.TokenCursor;return new d(h,i,f,m,s)}createCursor(h,i,f,m,s,l,d,g,v){let S=this.createBaseCursor(h,i,f,m,s,l);return d&&(S=new n(S,d)),g>=1&&(S=new p(S,g)),v>=0&&(S=new c(S,v)),S}}return Ca={forward:new u(t,o),backward:new u(e,a)},Ca}var wa,Jh;function H1(){if(Jh)return wa;Jh=1;const a=Sa();return wa=class extends a{constructor(n,o,t,c,p,u,r){super(n,o,t,c,p),this.index=Math.max(0,this.index-u),this.indexEnd=Math.min(n.length-1,this.indexEnd+r)}},wa}var Aa,Yh;function K1(){if(Yh)return Aa;Yh=1;const{isCommentToken:a}=$t(),e=jn(),n=z1(),o=Sa(),t=H1(),c=un(),p=Symbol("tokens"),u=Symbol("comments"),r=Symbol("indexMap");function h(l,d){const g=Object.create(null);let v=0,S=0,b,C;for(;v<l.length||S<d.length;){for(b=S<d.length?d[S].range[0]:Number.MAX_SAFE_INTEGER;v<l.length&&(C=l[v].range)[0]<b;)g[C[0]]=v,g[C[1]-1]=v,v+=1;for(b=v<l.length?l[v].range[0]:Number.MAX_SAFE_INTEGER;S<d.length&&(C=d[S].range)[0]<b;)g[C[0]]=v,g[C[1]-1]=v,S+=1}return g}function i(l,d,g,v,S,b,C){let w=!1,E=0,k=null;return typeof C=="number"?E=C|0:typeof C=="function"?k=C:C&&(w=!!C.includeComments,E=C.skip|0,k=C.filter||null),e(E>=0,"options.skip should be zero or a positive integer."),e(!k||typeof k=="function","options.filter should be a function."),l.createCursor(d,g,v,S,b,w,k,E,-1)}function f(l,d,g,v,S,b,C){let w=!1,E=0,k=!1,x=null;return typeof C=="number"?(E=C|0,k=!0):typeof C=="function"?x=C:C&&(w=!!C.includeComments,E=C.count|0,k=typeof C.count=="number",x=C.filter||null),e(E>=0,"options.count should be zero or a positive integer."),e(!x||typeof x=="function","options.filter should be a function."),l.createCursor(d,g,v,S,b,w,x,0,k?E:-1)}function m(l,d,g,v,S,b,C){return typeof b>"u"&&typeof C>"u"?new o(l,d,g,v,S):typeof b=="number"||typeof b>"u"?new t(l,d,g,v,S,b|0,C|0):f(n.forward,l,d,g,v,S,b)}function s(l){const d=[];let g=l.getOneToken();for(;g&&a(g);)d.push(g),g=l.getOneToken();return d}return Aa=class{constructor(d,g){this[p]=d,this[u]=g,this[r]=h(d,g)}getTokenByRangeStart(d,g){const v=g&&g.includeComments,S=n.forward.createBaseCursor(this[p],this[u],this[r],d,-1,v).getOneToken();return S&&S.range[0]===d?S:null}getFirstToken(d,g){return i(n.forward,this[p],this[u],this[r],d.range[0],d.range[1],g).getOneToken()}getLastToken(d,g){return i(n.backward,this[p],this[u],this[r],d.range[0],d.range[1],g).getOneToken()}getTokenBefore(d,g){return i(n.backward,this[p],this[u],this[r],-1,d.range[0],g).getOneToken()}getTokenAfter(d,g){return i(n.forward,this[p],this[u],this[r],d.range[1],-1,g).getOneToken()}getFirstTokenBetween(d,g,v){return i(n.forward,this[p],this[u],this[r],d.range[1],g.range[0],v).getOneToken()}getLastTokenBetween(d,g,v){return i(n.backward,this[p],this[u],this[r],d.range[1],g.range[0],v).getOneToken()}getTokenOrCommentBefore(d,g){return this.getTokenBefore(d,{includeComments:!0,skip:g})}getTokenOrCommentAfter(d,g){return this.getTokenAfter(d,{includeComments:!0,skip:g})}getFirstTokens(d,g){return f(n.forward,this[p],this[u],this[r],d.range[0],d.range[1],g).getAllTokens()}getLastTokens(d,g){return f(n.backward,this[p],this[u],this[r],d.range[0],d.range[1],g).getAllTokens().reverse()}getTokensBefore(d,g){return f(n.backward,this[p],this[u],this[r],-1,d.range[0],g).getAllTokens().reverse()}getTokensAfter(d,g){return f(n.forward,this[p],this[u],this[r],d.range[1],-1,g).getAllTokens()}getFirstTokensBetween(d,g,v){return f(n.forward,this[p],this[u],this[r],d.range[1],g.range[0],v).getAllTokens()}getLastTokensBetween(d,g,v){return f(n.backward,this[p],this[u],this[r],d.range[1],g.range[0],v).getAllTokens().reverse()}getTokens(d,g,v){return m(this[p],this[u],this[r],d.range[0],d.range[1],g,v).getAllTokens()}getTokensBetween(d,g,v){return m(this[p],this[u],this[r],d.range[1],g.range[0],v,v).getAllTokens()}commentsExistBetween(d,g){const v=c.search(this[u],d.range[1]);return v<this[u].length&&this[u][v].range[1]<=g.range[0]}getCommentsBefore(d){const g=f(n.backward,this[p],this[u],this[r],-1,d.range[0],{includeComments:!0});return s(g).reverse()}getCommentsAfter(d){const g=f(n.forward,this[p],this[u],this[r],d.range[1],-1,{includeComments:!0});return s(g)}getCommentsInside(d){return this.getTokens(d,{includeComments:!0,filter:a})}},Aa}var Ta,Qh;function Mn(){if(Qh)return Ta;Qh=1;const a=/^(?:(?:Do)?While|For(?:In|Of)?|Switch)Statement$/u,e=/\r\n|[\r\n\u2028\u2029]/u,n=/^#!([^\r\n]+)/u;function o(){return new RegExp(e.source,"gu")}return Ta={breakableTypePattern:a,lineBreakPattern:e,createGlobalLinebreakMatcher:o,shebangPattern:n},Ta}var ka,Zh;function ed(){if(Zh)return ka;Zh=1;const a={exports:!0,global:!1,module:!1,require:!1},e={Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},n={...e,JSON:!1},o={...n,ArrayBuffer:!1,DataView:!1,Float32Array:!1,Float64Array:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,Map:!1,Promise:!1,Proxy:!1,Reflect:!1,Set:!1,Symbol:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,WeakMap:!1,WeakSet:!1},t={...o},c={...t,Atomics:!1,SharedArrayBuffer:!1},p={...c},u={...p},r={...u,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,globalThis:!1},h={...r,AggregateError:!1,FinalizationRegistry:!1,WeakRef:!1},i={...h},f={...i},m={...f},s={...m};return ka={commonjs:a,es3:e,es5:n,es2015:o,es2016:t,es2017:c,es2018:p,es2019:u,es2020:r,es2021:h,es2022:i,es2023:f,es2024:m,es2025:s},ka}var Da,td;function rd(){return td||(td=1,Da={directivesPattern:/^(eslint(?:-env|-enable|-disable(?:(?:-next)?-line)?)?|exported|globals?)(?:\s|$)/u}),Da}var Ia,nd;function sd(){if(nd)return Ia;nd=1;const a=Rr()("eslint:code-path");function e(o){return o.id+(o.reachable?"":"!")}function n(o,t){const c=t?`:${t}`:"";switch(o.type){case"Identifier":return`${o.type}${c} (${o.name})`;case"Literal":return`${o.type}${c} (${o.value})`;default:return`${o.type}${c}`}}return Ia={enabled:a.enabled,dump:a,dumpState:a.enabled?function(o,t,c){for(let p=0;p<t.currentSegments.length;++p){const u=t.currentSegments[p].internal;if(c){const r=u.nodes.length-1;r>=0&&u.nodes[r]===n(o,"enter")?u.nodes[r]=n(o,void 0):u.nodes.push(n(o,"exit"))}else u.nodes.push(n(o,"enter"))}a([`${t.currentSegments.map(e).join(",")})`,`${o.type}${c?":exit":""}`].join(" "))}:a,dumpDot:a.enabled?function(o){let t=`
37
- digraph {
38
- node[shape=box,style="rounded,filled",fillcolor=white];
39
- initial[label="",shape=circle,style=filled,fillcolor=black,width=0.25,height=0.25];
40
- `;o.returnedSegments.length>0&&(t+=`final[label="",shape=doublecircle,style=filled,fillcolor=black,width=0.25,height=0.25];
41
- `),o.thrownSegments.length>0&&(t+=`thrown[label="✘",shape=circle,width=0.3,height=0.3,fixedsize=true];
42
- `);const c=Object.create(null),p=this.makeDotArrows(o,c);for(const u in c){const r=c[u];t+=`${u}[`,r.reachable?t+='label="':t+='style="rounded,dashed,filled",fillcolor="#FF9800",label="<<unreachable>>\\n',r.internal.nodes.length>0?t+=r.internal.nodes.join("\\n"):t+="????",t+=`"];
43
- `}t+=`${p}
44
- `,t+="}",a("DOT",t)}:a,makeDotArrows(o,t){const c=[[o.initialSegment,0]],p=t||Object.create(null);let u=o.initialSegment.id,r=`initial->${o.initialSegment.id}`;for(;c.length>0;){const h=c.pop(),i=h[0],f=h[1];if(p[i.id]&&f===0)continue;p[i.id]=i;const m=i.allNextSegments[f];m&&(u===i.id?r+=`->${m.id}`:r+=`;
45
- ${i.id}->${m.id}`,u=m.id,c.unshift([i,1+f]),c.push([m,0]))}return o.returnedSegments.forEach(h=>{u===h.id?r+="->final":r+=`;
46
- ${h.id}->final`,u=null}),o.thrownSegments.forEach(h=>{u===h.id?r+="->thrown":r+=`;
47
- ${h.id}->thrown`,u=null}),`${r};`}},Ia}var Pa,ad;function Fa(){if(ad)return Pa;ad=1;const a=sd();function e(o){return o.reachable}class n{constructor(t,c,p){this.id=t,this.nextSegments=[],this.prevSegments=c.filter(e),this.allNextSegments=[],this.allPrevSegments=c,this.reachable=p,Object.defineProperty(this,"internal",{value:{used:!1,loopedPrevSegments:[]}}),a.enabled&&(this.internal.nodes=[])}isLoopedPrevSegment(t){return this.internal.loopedPrevSegments.includes(t)}static newRoot(t){return new n(t,[],!0)}static newNext(t,c){return new n(t,n.flattenUnusedSegments(c),c.some(e))}static newUnreachable(t,c){const p=new n(t,n.flattenUnusedSegments(c),!1);return n.markUsed(p),p}static newDisconnected(t,c){return new n(t,[],c.some(e))}static markUsed(t){if(t.internal.used)return;t.internal.used=!0;let c;if(t.reachable)for(c=0;c<t.allPrevSegments.length;++c){const p=t.allPrevSegments[c];p.allNextSegments.push(t),p.nextSegments.push(t)}else for(c=0;c<t.allPrevSegments.length;++c)t.allPrevSegments[c].allNextSegments.push(t)}static markPrevSegmentAsLooped(t,c){t.internal.loopedPrevSegments.push(c)}static flattenUnusedSegments(t){const c=new Set;for(let p=0;p<t.length;++p){const u=t[p];if(!c.has(u))if(u.internal.used)c.add(u);else for(let r=0;r<u.allPrevSegments.length;++r){const h=u.allPrevSegments[r];c.has(h)||c.add(h)}}return[...c]}}return Pa=n,Pa}var Ra,id;function X1(){if(id)return Ra;id=1;const a=jn(),e=Fa();function n(p){return p.reachable}function o(p,u,r,h){const i=p.segmentsList,f=u>=0?u:i.length+u,m=r>=0?r:i.length+r,s=[];for(let l=0;l<p.count;++l){const d=[];for(let g=f;g<=m;++g)d.push(i[g][l]);s.push(h(p.idGenerator.next(),d))}return s}function t(p,u){let r=u;for(;r.length>p.count;){const h=[];for(let i=0,f=Math.floor(r.length/2);i<f;++i)h.push(e.newNext(p.idGenerator.next(),[r[i],r[i+f]]));r=h}return r}class c{constructor(u,r,h){this.idGenerator=u,this.upper=r,this.count=h,this.segmentsList=[]}get head(){const u=this.segmentsList;return u.length===0?[]:u.at(-1)}get empty(){return this.segmentsList.length===0}get reachable(){const u=this.head;return u.length>0&&u.some(n)}makeNext(u,r){return o(this,u,r,e.newNext)}makeUnreachable(u,r){return o(this,u,r,e.newUnreachable)}makeDisconnected(u,r){return o(this,u,r,e.newDisconnected)}add(u){a(u.length>=this.count,`${u.length} >= ${this.count}`),this.segmentsList.push(t(this,u))}replaceHead(u){a(u.length>=this.count,`${u.length} >= ${this.count}`),this.segmentsList.splice(-1,1,t(this,u))}addAll(u){a(u.count===this.count),this.segmentsList.push(...u.segmentsList)}clear(){this.segmentsList=[]}static newRoot(u){const r=new c(u,null,1);return r.add([e.newRoot(u.next())]),r}static newEmpty(u,r){return new c(u.idGenerator,u,(r?2:1)*u.count)}}return Ra=c,Ra}var _a,od;function J1(){if(od)return _a;od=1;const a=Fa(),e=X1();class n{constructor(x,A,I,B){this.upper=x,this.breakable=A,this.label=I,this.brokenForkContext=e.newEmpty(B)}}class o{constructor(x){this.upper=x,this.choiceContextCount=0}}class t{constructor(x,A,I,B){this.upper=x,this.kind=A,this.isForkingAsResult=I,this.trueForkContext=e.newEmpty(B),this.falseForkContext=e.newEmpty(B),this.nullishForkContext=e.newEmpty(B),this.processed=!1}}class c{constructor(x,A,I,B){this.upper=x,this.type=A,this.label=I,this.brokenForkContext=B.brokenForkContext}}class p extends c{constructor(x,A,I){super(x,"WhileStatement",A,I),this.test=void 0,this.continueDestSegments=null}}class u extends c{constructor(x,A,I,B){super(x,"DoWhileStatement",A,I),this.test=void 0,this.entrySegments=null,this.continueForkContext=e.newEmpty(B)}}class r extends c{constructor(x,A,I){super(x,"ForStatement",A,I),this.test=void 0,this.endOfInitSegments=null,this.testSegments=null,this.endOfTestSegments=null,this.updateSegments=null,this.endOfUpdateSegments=null,this.continueDestSegments=null}}class h extends c{constructor(x,A,I){super(x,"ForInStatement",A,I),this.prevSegments=null,this.leftSegments=null,this.endOfLeftSegments=null,this.continueDestSegments=null}}class i extends c{constructor(x,A,I){super(x,"ForOfStatement",A,I),this.prevSegments=null,this.leftSegments=null,this.endOfLeftSegments=null,this.continueDestSegments=null}}class f{constructor(x,A){this.upper=x,this.hasCase=A,this.defaultSegments=null,this.defaultBodySegments=null,this.foundEmptyDefault=!1,this.lastIsDefault=!1,this.forkCount=0}}class m{constructor(x,A,I){this.upper=x,this.hasFinalizer=A,this.position="try",this.returnedForkContext=A?e.newEmpty(I):null,this.thrownForkContext=e.newEmpty(I),this.lastOfTryIsReachable=!1,this.lastOfCatchIsReachable=!1}}function s(k,x,A,I){for(let B=0;B<I.length;++B){const M=I[B];k.push(M),x.includes(M)||A.push(M)}}function l(k,x){if(!x)return k.loopContext;let A=k.loopContext;for(;A;){if(A.label===x)return A;A=A.upper}return null}function d(k,x){let A=k.breakContext;for(;A;){if(x?A.label===x:A.breakable)return A;A=A.upper}return null}function g(k){let x=k.tryContext;for(;x;){if(x.hasFinalizer&&x.position!=="finally")return x;x=x.upper}return k}function v(k){let x=k.tryContext;for(;x;){if(x.position==="try"||x.hasFinalizer&&x.position==="catch")return x;x=x.upper}return k}function S(k,x){k.splice(k.indexOf(x),1)}function b(k,x){for(let A=0;A<k.length;++A){const I=k[A],B=x[A];S(I.nextSegments,B),S(I.allNextSegments,B),S(B.prevSegments,I),S(B.allPrevSegments,I)}}function C(k,x,A){const I=a.flattenUnusedSegments(x),B=a.flattenUnusedSegments(A),M=Math.min(I.length,B.length);for(let P=0;P<M;++P){const D=I[P],R=B[P];R.reachable&&D.nextSegments.push(R),D.reachable&&R.prevSegments.push(D),D.allNextSegments.push(R),R.allPrevSegments.push(D),R.allPrevSegments.length>=2&&a.markPrevSegmentAsLooped(R,D),k.notifyLooped(D,R)}}function w(k,x,A){x.processed||(x.trueForkContext.add(A),x.falseForkContext.add(A),x.nullishForkContext.add(A)),k.test!==!0&&k.brokenForkContext.addAll(x.falseForkContext),k.endOfTestSegments=x.trueForkContext.makeNext(0,-1)}class E{constructor(x,A){this.idGenerator=x,this.notifyLooped=A,this.forkContext=e.newRoot(x),this.choiceContext=null,this.switchContext=null,this.tryContext=null,this.loopContext=null,this.breakContext=null,this.chainContext=null,this.currentSegments=[],this.initialSegment=this.forkContext.head[0],this.finalSegments=[],this.returnedForkContext=[],this.thrownForkContext=[];const I=this.finalSegments,B=this.returnedForkContext,M=this.thrownForkContext;B.add=s.bind(null,B,M,I),M.add=s.bind(null,M,B,I)}get headSegments(){return this.forkContext.head}get parentForkContext(){const x=this.forkContext;return x&&x.upper}pushForkContext(x){return this.forkContext=e.newEmpty(this.forkContext,x),this.forkContext}popForkContext(){const x=this.forkContext;return this.forkContext=x.upper,this.forkContext.replaceHead(x.makeNext(0,-1)),x}forkPath(){this.forkContext.add(this.parentForkContext.makeNext(-1,-1))}forkBypassPath(){this.forkContext.add(this.parentForkContext.head)}pushChoiceContext(x,A){this.choiceContext=new t(this.choiceContext,x,A,this.forkContext)}popChoiceContext(){const x=this.choiceContext,A=this.forkContext,I=A.head;switch(this.choiceContext=x.upper,x.kind){case"&&":case"||":case"??":if(x.processed||(x.trueForkContext.add(I),x.falseForkContext.add(I),x.nullishForkContext.add(I)),x.isForkingAsResult){const M=this.choiceContext;return M.trueForkContext.addAll(x.trueForkContext),M.falseForkContext.addAll(x.falseForkContext),M.nullishForkContext.addAll(x.nullishForkContext),M.processed=!0,x}break;case"test":x.processed?(x.falseForkContext.clear(),x.falseForkContext.add(I)):(x.trueForkContext.clear(),x.trueForkContext.add(I));break;case"loop":return x;default:throw new Error("unreachable")}const B=x.trueForkContext;return B.addAll(x.falseForkContext),A.replaceHead(B.makeNext(0,-1)),x}makeLogicalRight(){const x=this.choiceContext,A=this.forkContext;if(x.processed){let I;switch(x.kind){case"&&":I=x.trueForkContext;break;case"||":I=x.falseForkContext;break;case"??":I=x.nullishForkContext;break;default:throw new Error("unreachable")}A.replaceHead(I.makeNext(0,-1)),I.clear(),x.processed=!1}else{switch(x.kind){case"&&":x.falseForkContext.add(A.head),x.nullishForkContext.add(A.head);break;case"||":x.trueForkContext.add(A.head);break;case"??":x.trueForkContext.add(A.head),x.falseForkContext.add(A.head);break;default:throw new Error("unreachable")}A.replaceHead(A.makeNext(-1,-1))}}makeIfConsequent(){const x=this.choiceContext,A=this.forkContext;x.processed||(x.trueForkContext.add(A.head),x.falseForkContext.add(A.head),x.nullishForkContext.add(A.head)),x.processed=!1,A.replaceHead(x.trueForkContext.makeNext(0,-1))}makeIfAlternate(){const x=this.choiceContext,A=this.forkContext;x.trueForkContext.clear(),x.trueForkContext.add(A.head),x.processed=!0,A.replaceHead(x.falseForkContext.makeNext(0,-1))}pushChainContext(){this.chainContext=new o(this.chainContext)}popChainContext(){const x=this.chainContext;this.chainContext=x.upper;for(let A=x.choiceContextCount;A>0;--A)this.popChoiceContext()}makeOptionalNode(){this.chainContext&&(this.chainContext.choiceContextCount+=1,this.pushChoiceContext("??",!1))}makeOptionalRight(){this.chainContext&&this.makeLogicalRight()}pushSwitchContext(x,A){this.switchContext=new f(this.switchContext,x),this.pushBreakContext(!0,A)}popSwitchContext(){const x=this.switchContext;this.switchContext=x.upper;const A=this.forkContext,I=this.popBreakContext().brokenForkContext;if(x.forkCount===0){I.empty||(I.add(A.makeNext(-1,-1)),A.replaceHead(I.makeNext(0,-1)));return}const B=A.head;this.forkBypassPath();const M=A.head;I.add(B),x.lastIsDefault||(x.defaultBodySegments?(b(x.defaultSegments,x.defaultBodySegments),C(this,M,x.defaultBodySegments)):I.add(M));for(let P=0;P<x.forkCount;++P)this.forkContext=this.forkContext.upper;this.forkContext.replaceHead(I.makeNext(0,-1))}makeSwitchCaseBody(x,A){const I=this.switchContext;if(!I.hasCase)return;const B=this.forkContext,M=this.pushForkContext();M.add(B.makeNext(0,-1)),A?(I.defaultSegments=B.head,x?I.foundEmptyDefault=!0:I.defaultBodySegments=M.head):!x&&I.foundEmptyDefault&&(I.foundEmptyDefault=!1,I.defaultBodySegments=M.head),I.lastIsDefault=A,I.forkCount+=1}pushTryContext(x){this.tryContext=new m(this.tryContext,x,this.forkContext)}popTryContext(){const x=this.tryContext;if(this.tryContext=x.upper,x.position==="catch"){this.popForkContext();return}const A=x.returnedForkContext,I=x.thrownForkContext;if(A.empty&&I.empty)return;const B=this.forkContext.head;this.forkContext=this.forkContext.upper;const M=B.slice(0,B.length/2|0),P=B.slice(B.length/2|0);A.empty||g(this).returnedForkContext.add(P),I.empty||v(this).thrownForkContext.add(P),this.forkContext.replaceHead(M),!x.lastOfTryIsReachable&&!x.lastOfCatchIsReachable&&this.forkContext.makeUnreachable()}makeCatchBlock(){const x=this.tryContext,A=this.forkContext,I=x.thrownForkContext;x.position="catch",x.thrownForkContext=e.newEmpty(A),x.lastOfTryIsReachable=A.reachable,I.add(A.head);const B=I.makeNext(0,-1);this.pushForkContext(),this.forkBypassPath(),this.forkContext.add(B)}makeFinallyBlock(){const x=this.tryContext;let A=this.forkContext;const I=x.returnedForkContext,B=x.thrownForkContext,M=A.head;if(x.position==="catch"?(this.popForkContext(),A=this.forkContext,x.lastOfCatchIsReachable=A.reachable):x.lastOfTryIsReachable=A.reachable,x.position="finally",I.empty&&B.empty)return;const P=A.makeNext(-1,-1);for(let D=0;D<A.count;++D){const R=[M[D]];for(let N=0;N<I.segmentsList.length;++N)R.push(I.segmentsList[N][D]);for(let N=0;N<B.segmentsList.length;++N)R.push(B.segmentsList[N][D]);P.push(a.newNext(this.idGenerator.next(),R))}this.pushForkContext(!0),this.forkContext.add(P)}makeFirstThrowablePathInTryBlock(){const x=this.forkContext;if(!x.reachable)return;const A=v(this);A===this||A.position!=="try"||!A.thrownForkContext.empty||(A.thrownForkContext.add(x.head),x.replaceHead(x.makeNext(-1,-1)))}pushLoopContext(x,A){const I=this.forkContext,B=this.pushBreakContext(!0,A);switch(x){case"WhileStatement":this.pushChoiceContext("loop",!1),this.loopContext=new p(this.loopContext,A,B);break;case"DoWhileStatement":this.pushChoiceContext("loop",!1),this.loopContext=new u(this.loopContext,A,B,I);break;case"ForStatement":this.pushChoiceContext("loop",!1),this.loopContext=new r(this.loopContext,A,B);break;case"ForInStatement":this.loopContext=new h(this.loopContext,A,B);break;case"ForOfStatement":this.loopContext=new i(this.loopContext,A,B);break;default:throw new Error(`unknown type: "${x}"`)}}popLoopContext(){const x=this.loopContext;this.loopContext=x.upper;const A=this.forkContext,I=this.popBreakContext().brokenForkContext;switch(x.type){case"WhileStatement":case"ForStatement":this.popChoiceContext(),C(this,A.head,x.continueDestSegments);break;case"DoWhileStatement":{const B=this.popChoiceContext();B.processed||(B.trueForkContext.add(A.head),B.falseForkContext.add(A.head)),x.test!==!0&&I.addAll(B.falseForkContext);const M=B.trueForkContext.segmentsList;for(let P=0;P<M.length;++P)C(this,M[P],x.entrySegments);break}case"ForInStatement":case"ForOfStatement":I.add(A.head),C(this,A.head,x.leftSegments);break;default:throw new Error("unreachable")}I.empty?A.replaceHead(A.makeUnreachable(-1,-1)):A.replaceHead(I.makeNext(0,-1))}makeWhileTest(x){const A=this.loopContext,I=this.forkContext,B=I.makeNext(0,-1);A.test=x,A.continueDestSegments=B,I.replaceHead(B)}makeWhileBody(){const x=this.loopContext,A=this.choiceContext,I=this.forkContext;A.processed||(A.trueForkContext.add(I.head),A.falseForkContext.add(I.head)),x.test!==!0&&x.brokenForkContext.addAll(A.falseForkContext),I.replaceHead(A.trueForkContext.makeNext(0,-1))}makeDoWhileBody(){const x=this.loopContext,A=this.forkContext,I=A.makeNext(-1,-1);x.entrySegments=I,A.replaceHead(I)}makeDoWhileTest(x){const A=this.loopContext,I=this.forkContext;if(A.test=x,!A.continueForkContext.empty){A.continueForkContext.add(I.head);const B=A.continueForkContext.makeNext(0,-1);I.replaceHead(B)}}makeForTest(x){const A=this.loopContext,I=this.forkContext,B=I.head,M=I.makeNext(-1,-1);A.test=x,A.endOfInitSegments=B,A.continueDestSegments=A.testSegments=M,I.replaceHead(M)}makeForUpdate(){const x=this.loopContext,A=this.choiceContext,I=this.forkContext;x.testSegments?w(x,A,I.head):x.endOfInitSegments=I.head;const B=I.makeDisconnected(-1,-1);x.continueDestSegments=x.updateSegments=B,I.replaceHead(B)}makeForBody(){const x=this.loopContext,A=this.choiceContext,I=this.forkContext;x.updateSegments?(x.endOfUpdateSegments=I.head,x.testSegments&&C(this,x.endOfUpdateSegments,x.testSegments)):x.testSegments?w(x,A,I.head):x.endOfInitSegments=I.head;let B=x.endOfTestSegments;if(!B){const M=e.newEmpty(I);M.add(x.endOfInitSegments),x.endOfUpdateSegments&&M.add(x.endOfUpdateSegments),B=M.makeNext(0,-1)}x.continueDestSegments=x.continueDestSegments||B,I.replaceHead(B)}makeForInOfLeft(){const x=this.loopContext,A=this.forkContext,I=A.makeDisconnected(-1,-1);x.prevSegments=A.head,x.leftSegments=x.continueDestSegments=I,A.replaceHead(I)}makeForInOfRight(){const x=this.loopContext,A=this.forkContext,I=e.newEmpty(A);I.add(x.prevSegments);const B=I.makeNext(-1,-1);x.endOfLeftSegments=A.head,A.replaceHead(B)}makeForInOfBody(){const x=this.loopContext,A=this.forkContext,I=e.newEmpty(A);I.add(x.endOfLeftSegments);const B=I.makeNext(-1,-1);C(this,A.head,x.leftSegments),x.brokenForkContext.add(A.head),A.replaceHead(B)}pushBreakContext(x,A){return this.breakContext=new n(this.breakContext,x,A,this.forkContext),this.breakContext}popBreakContext(){const x=this.breakContext,A=this.forkContext;if(this.breakContext=x.upper,!x.breakable){const I=x.brokenForkContext;I.empty||(I.add(A.head),A.replaceHead(I.makeNext(0,-1)))}return x}makeBreak(x){const A=this.forkContext;if(!A.reachable)return;const I=d(this,x);I&&I.brokenForkContext.add(A.head),A.replaceHead(A.makeUnreachable(-1,-1))}makeContinue(x){const A=this.forkContext;if(!A.reachable)return;const I=l(this,x);I&&(I.continueDestSegments?(C(this,A.head,I.continueDestSegments),(I.type==="ForInStatement"||I.type==="ForOfStatement")&&I.brokenForkContext.add(A.head)):I.continueForkContext.add(A.head)),A.replaceHead(A.makeUnreachable(-1,-1))}makeReturn(){const x=this.forkContext;x.reachable&&(g(this).returnedForkContext.add(x.head),x.replaceHead(x.makeUnreachable(-1,-1)))}makeThrow(){const x=this.forkContext;x.reachable&&(v(this).thrownForkContext.add(x.head),x.replaceHead(x.makeUnreachable(-1,-1)))}makeFinal(){const x=this.currentSegments;x.length>0&&x[0].reachable&&this.returnedForkContext.add(x)}}return _a=E,_a}var Ba,ld;function ud(){if(ld)return Ba;ld=1;class a{constructor(n){this.prefix=String(n),this.n=0}next(){return this.n=1+this.n|0,this.n<0&&(this.n=1),this.prefix+this.n}}return Ba=a,Ba}var La,cd;function Y1(){if(cd)return La;cd=1;const a=J1(),e=ud();class n{constructor({id:t,origin:c,upper:p,onLooped:u}){this.id=t,this.origin=c,this.upper=p,this.childCodePaths=[],Object.defineProperty(this,"internal",{value:new a(new e(`${t}_`),u)}),p&&p.childCodePaths.push(this)}static getState(t){return t.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}traverseSegments(t,c){let p,u;typeof t=="function"?(u=t,p={}):(p=t||{},u=c);const r=p.first||this.internal.initialSegment,h=p.last;let i,f,m,s=null;const l=new Set,d=[[r,0]],g=new Set;let v=!1;const S={skip(){g.add(s)},break(){v=!0}};function b(w){return l.has(w)||s.isLoopedPrevSegment(w)}function C(w){return g.has(w)||s.isLoopedPrevSegment(w)}for(;d.length>0;){if(i=d.at(-1),s=i[0],f=i[1],f===0){if(l.has(s)){d.pop();continue}if(s!==r&&s.prevSegments.length>0&&!s.prevSegments.every(b)){d.pop();continue}if(l.add(s),g.size>0&&s.prevSegments.length>0&&s.prevSegments.every(C))g.add(s);else if(u.call(this,s,S),s===h&&S.skip(),v)break}m=s.nextSegments.length-1,f<m?(i[1]+=1,d.push([s.nextSegments[f],0])):f===m?(i[0]=s.nextSegments[f],i[1]=0):d.pop()}}}return La=n,La}var Oa,fd;function Q1(){if(fd)return Oa;fd=1;const a=jn(),{breakableTypePattern:e}=Mn(),n=Y1(),o=Fa(),t=ud(),c=sd();function p(w){return!!w.test}function u(w){const E=w.parent;return E&&E.type==="PropertyDefinition"&&E.value===w}function r(w){return w==="&&"||w==="||"||w==="??"}function h(w){return w==="&&="||w==="||="||w==="??="}function i(w){return w.parent.type==="LabeledStatement"?w.parent.label.name:null}function f(w){const E=w.parent;switch(E.type){case"ConditionalExpression":case"IfStatement":case"WhileStatement":case"DoWhileStatement":case"ForStatement":return E.test===w;case"LogicalExpression":return r(E.operator);case"AssignmentExpression":return h(E.operator);default:return!1}}function m(w){if(w.type==="Literal")return!!w.value}function s(w){const E=w.parent;switch(E.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 E.id!==w;case"Property":case"PropertyDefinition":case"MethodDefinition":return E.key!==w||E.computed||E.shorthand;case"AssignmentPattern":return E.key!==w;default:return!0}}function l(w,E){const k=w.codePath,x=n.getState(k),A=x.currentSegments,I=x.headSegments,B=Math.max(A.length,I.length);let M,P,D;for(M=0;M<B;++M)if(P=A[M],D=I[M],P!==D&&P){const R=P.reachable?"onCodePathSegmentEnd":"onUnreachableCodePathSegmentEnd";c.dump(`${R} ${P.id}`),w.emitter.emit(R,P,E)}for(x.currentSegments=I,M=0;M<B;++M)if(P=A[M],D=I[M],P!==D&&D){const R=D.reachable?"onCodePathSegmentStart":"onUnreachableCodePathSegmentStart";c.dump(`${R} ${D.id}`),o.markUsed(D),w.emitter.emit(R,D,E)}}function d(w,E){const k=n.getState(w.codePath),x=k.currentSegments;for(let A=0;A<x.length;++A){const I=x[A],B=I.reachable?"onCodePathSegmentEnd":"onUnreachableCodePathSegmentEnd";c.dump(`${B} ${I.id}`),w.emitter.emit(B,I,E)}k.currentSegments=[]}function g(w,E){const k=w.codePath,x=n.getState(k),A=E.parent;switch(A.type){case"CallExpression":A.optional===!0&&A.arguments.length>=1&&A.arguments[0]===E&&x.makeOptionalRight();break;case"MemberExpression":A.optional===!0&&A.property===E&&x.makeOptionalRight();break;case"LogicalExpression":A.right===E&&r(A.operator)&&x.makeLogicalRight();break;case"AssignmentExpression":A.right===E&&h(A.operator)&&x.makeLogicalRight();break;case"ConditionalExpression":case"IfStatement":A.consequent===E?x.makeIfConsequent():A.alternate===E&&x.makeIfAlternate();break;case"SwitchCase":A.consequent[0]===E&&x.makeSwitchCaseBody(!1,!A.test);break;case"TryStatement":A.handler===E?x.makeCatchBlock():A.finalizer===E&&x.makeFinallyBlock();break;case"WhileStatement":A.test===E?x.makeWhileTest(m(E)):(a(A.body===E),x.makeWhileBody());break;case"DoWhileStatement":A.body===E?x.makeDoWhileBody():(a(A.test===E),x.makeDoWhileTest(m(E)));break;case"ForStatement":A.test===E?x.makeForTest(m(E)):A.update===E?x.makeForUpdate():A.body===E&&x.makeForBody();break;case"ForInStatement":case"ForOfStatement":A.left===E?x.makeForInOfLeft():A.right===E?x.makeForInOfRight():(a(A.body===E),x.makeForInOfBody());break;case"AssignmentPattern":A.right===E&&(x.pushForkContext(),x.forkBypassPath(),x.forkPath());break}}function v(w,E){let k=w.codePath,x=k&&n.getState(k);const A=E.parent;function I(B){k&&(l(w,E),c.dumpState(E,x,!1)),k=w.codePath=new n({id:w.idGenerator.next(),origin:B,upper:k,onLooped:w.onLooped}),x=n.getState(k),c.dump(`onCodePathStart ${k.id}`),w.emitter.emit("onCodePathStart",k,E)}switch(u(E)&&I("class-field-initializer"),E.type){case"Program":I("program");break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":I("function");break;case"StaticBlock":I("class-static-block");break;case"ChainExpression":x.pushChainContext();break;case"CallExpression":E.optional===!0&&x.makeOptionalNode();break;case"MemberExpression":E.optional===!0&&x.makeOptionalNode();break;case"LogicalExpression":r(E.operator)&&x.pushChoiceContext(E.operator,f(E));break;case"AssignmentExpression":h(E.operator)&&x.pushChoiceContext(E.operator.slice(0,-1),f(E));break;case"ConditionalExpression":case"IfStatement":x.pushChoiceContext("test",!1);break;case"SwitchStatement":x.pushSwitchContext(E.cases.some(p),i(E));break;case"TryStatement":x.pushTryContext(!!E.finalizer);break;case"SwitchCase":A.discriminant!==E&&A.cases[0]!==E&&x.forkPath();break;case"WhileStatement":case"DoWhileStatement":case"ForStatement":case"ForInStatement":case"ForOfStatement":x.pushLoopContext(E.type,i(E));break;case"LabeledStatement":e.test(E.body.type)||x.pushBreakContext(!1,E.label.name);break}l(w,E),c.dumpState(E,x,!1)}function S(w,E){const k=w.codePath,x=n.getState(k);let A=!1;switch(E.type){case"ChainExpression":x.popChainContext();break;case"IfStatement":case"ConditionalExpression":x.popChoiceContext();break;case"LogicalExpression":r(E.operator)&&x.popChoiceContext();break;case"AssignmentExpression":h(E.operator)&&x.popChoiceContext();break;case"SwitchStatement":x.popSwitchContext();break;case"SwitchCase":E.consequent.length===0&&x.makeSwitchCaseBody(!0,!E.test),x.forkContext.reachable&&(A=!0);break;case"TryStatement":x.popTryContext();break;case"BreakStatement":l(w,E),x.makeBreak(E.label&&E.label.name),A=!0;break;case"ContinueStatement":l(w,E),x.makeContinue(E.label&&E.label.name),A=!0;break;case"ReturnStatement":l(w,E),x.makeReturn(),A=!0;break;case"ThrowStatement":l(w,E),x.makeThrow(),A=!0;break;case"Identifier":s(E)&&(x.makeFirstThrowablePathInTryBlock(),A=!0);break;case"CallExpression":case"ImportExpression":case"MemberExpression":case"NewExpression":case"YieldExpression":x.makeFirstThrowablePathInTryBlock();break;case"WhileStatement":case"DoWhileStatement":case"ForStatement":case"ForInStatement":case"ForOfStatement":x.popLoopContext();break;case"AssignmentPattern":x.popForkContext();break;case"LabeledStatement":e.test(E.body.type)||x.popBreakContext();break}A||l(w,E),c.dumpState(E,x,!0)}function b(w,E){function k(){let x=w.codePath;n.getState(x).makeFinal(),d(w,E),c.dump(`onCodePathEnd ${x.id}`),w.emitter.emit("onCodePathEnd",x,E),c.dumpDot(x),x=w.codePath=w.codePath.upper,x&&c.dumpState(E,n.getState(x),!0)}switch(E.type){case"Program":case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"StaticBlock":{k();break}case"CallExpression":E.optional===!0&&E.arguments.length===0&&n.getState(w.codePath).makeOptionalRight();break}u(E)&&k()}class C{constructor(E){this.original=E,this.emitter=E.emitter,this.codePath=null,this.idGenerator=new t("s"),this.currentNode=null,this.onLooped=this.onLooped.bind(this)}enterNode(E){this.currentNode=E,E.parent&&g(this,E),v(this,E),this.original.enterNode(E),this.currentNode=null}leaveNode(E){this.currentNode=E,S(this,E),this.original.leaveNode(E),b(this,E),this.currentNode=null}onLooped(E,k){E.reachable&&k.reachable&&(c.dump(`onCodePathSegmentLoop ${E.id} -> ${k.id}`),this.emitter.emit("onCodePathSegmentLoop",E,k,this.currentNode))}}return Oa=C,Oa}var Na,pd;function md(){return pd||(pd=1,Na=()=>{const a=Object.create(null);return Object.freeze({on(e,n){e in a?a[e].push(n):a[e]=[n]},emit(e,...n){e in a&&a[e].forEach(o=>o(...n))},eventNames(){return Object.keys(a)}})}),Na}var _r={},ja={exports:{}},Ma={exports:{}},Ua,hd;function Z1(){if(hd)return Ua;hd=1;var a,e,n,o,t,c,p={}.toString;a=u(function(r,h){return r.apply(null,h)}),e=function(r){return u(r)},n=u(function(r,h,i){return r(i,h)}),o=function(r){return function(h){return function(){return r(h(h)).apply(null,arguments)}}(function(h){return function(){return r(h(h)).apply(null,arguments)}})},t=u(function(r,h,i,f){return r(h(i),h(f))}),c=function(r){var h;return h={},function(){var i,f,m,s,l,d;for(f=[],m=0,s=arguments.length;m<s;++m)f.push(arguments[m]);return i=f,l=function(){var g,v,S,b=[];for(g=0,S=(v=i).length;g<S;++g)d=v[g],b.push(d+p.call(d).slice(8,-1));return b}().join(""),h[l]=l in h?h[l]:r.apply(null,i)}},Ua={curry:e,flip:n,fix:o,apply:a,over:t,memoize:c};function u(r,h){var i,f=function(m){return r.length>1?function(){var s=m?m.concat():[];return i=this,s.push.apply(s,arguments)<r.length&&arguments.length?f.call(i,s):r.apply(i,s)}:r};return f()}return Ua}var qa,dd;function ew(){if(dd)return qa;dd=1;var a,e,n,o,t,c,p,u,r,h,i,f,m,s,l,d,g,v,S,b,C,w,E,k,x,A,I,B,M,P,D,R,N,q,L,W,_,H,K,re,te,xe,Y,F,z,ne,ae,be,Pe,Ie,ue,ve,G,J,Te,$,se,De,Le,Fe,V,et,nt,lt,Qe,Xe,pt,tt,Dt,st,Ce={}.toString;a=ge(function(ce,de){var he,ke,$e;for(he=0,ke=de.length;he<ke;++he)$e=de[he],ce($e);return de}),e=ge(function(ce,de){var he,ke,$e,Ee=[];for(he=0,ke=de.length;he<ke;++he)$e=de[he],Ee.push(ce($e));return Ee}),n=function(ce){var de,he,ke,$e=[];for(de=0,he=ce.length;de<he;++de)ke=ce[de],ke&&$e.push(ke);return $e},o=ge(function(ce,de){var he,ke,$e,Ee=[];for(he=0,ke=de.length;he<ke;++he)$e=de[he],ce($e)&&Ee.push($e);return Ee}),t=ge(function(ce,de){var he,ke,$e,Ee=[];for(he=0,ke=de.length;he<ke;++he)$e=de[he],ce($e)||Ee.push($e);return Ee}),c=ge(function(ce,de){var he,ke;return he=pt(ce,de),ke=de.slice(),he!=null&&ke.splice(he,1),ke}),p=ge(function(ce,de){var he,ke,$e,Ee,O;for(he=[],ke=[],$e=0,Ee=de.length;$e<Ee;++$e)O=de[$e],(ce(O)?he:ke).push(O);return[he,ke]}),u=ge(function(ce,de){var he,ke,$e;for(he=0,ke=de.length;he<ke;++he)if($e=de[he],ce($e))return $e}),r=h=function(ce){return ce[0]},i=function(ce){if(ce.length)return ce.slice(1)},f=function(ce){return ce[ce.length-1]},m=function(ce){if(ce.length)return ce.slice(0,-1)},s=function(ce){return!ce.length},l=function(ce){return ce.concat().reverse()},d=function(ce){var de,he,ke,$e;for(de=[],he=0,ke=ce.length;he<ke;++he)$e=ce[he],ye($e,de)||de.push($e);return de},g=ge(function(ce,de){var he,ke,$e,Ee,O,Q=[];for(he=[],ke=0,$e=de.length;ke<$e;++ke)Ee=de[ke],O=ce(Ee),!ye(O,he)&&(he.push(O),Q.push(Ee));return Q}),v=S=ge(function(ce,de,he){var ke,$e,Ee;for(ke=0,$e=he.length;ke<$e;++ke)Ee=he[ke],de=ce(de,Ee);return de}),b=C=ge(function(ce,de){return v(ce,de[0],de.slice(1))}),w=ge(function(ce,de,he){var ke,$e;for(ke=he.length-1;ke>=0;--ke)$e=he[ke],de=ce($e,de);return de}),E=ge(function(ce,de){return w(ce,de[de.length-1],de.slice(0,-1))}),k=ge(function(ce,de){var he,ke,$e;for(he=[],ke=de;($e=ce(ke))!=null;)he.push($e[0]),ke=$e[1];return he}),x=function(ce){return[].concat.apply([],ce)},A=ge(function(ce,de){var he;return[].concat.apply([],function(){var ke,$e,Ee,O=[];for(ke=0,Ee=($e=de).length;ke<Ee;++ke)he=$e[ke],O.push(ce(he));return O}())}),I=function(ce){var de;return[].concat.apply([],function(){var he,ke,$e,Ee=[];for(he=0,$e=(ke=ce).length;he<$e;++he)de=ke[he],Ce.call(de).slice(8,-1)==="Array"?Ee.push(I(de)):Ee.push(de);return Ee}())},B=function(ce){var de,he,ke,$e,Ee,O,Q,ie,Z,le;for(he=[],ke=1,$e=arguments.length;ke<$e;++ke)he.push(arguments[ke]);de=he,Ee=[];e:for(ke=0,O=ce.length;ke<O;++ke){for(Q=ce[ke],ie=0,Z=de.length;ie<Z;++ie)if(le=de[ie],ye(Q,le))continue e;Ee.push(Q)}return Ee},M=function(ce){var de,he,ke,$e,Ee,O,Q,ie,Z,le;for(he=[],ke=1,$e=arguments.length;ke<$e;++ke)he.push(arguments[ke]);de=he,Ee=[];e:for(ke=0,O=ce.length;ke<O;++ke){for(Q=ce[ke],ie=0,Z=de.length;ie<Z;++ie)if(le=de[ie],!ye(Q,le))continue e;Ee.push(Q)}return Ee},P=function(){var ce,de,he,ke,$e,Ee,O,Q,ie,Z;for(de=[],he=0,ke=arguments.length;he<ke;++he)de.push(arguments[he]);for(ce=de,$e=[],he=0,Ee=ce.length;he<Ee;++he)for(O=ce[he],Q=0,ie=O.length;Q<ie;++Q)Z=O[Q],ye(Z,$e)||$e.push(Z);return $e},D=ge(function(ce,de){var he,ke,$e,Ee,O;for(he={},ke=0,$e=de.length;ke<$e;++ke)Ee=de[ke],O=ce(Ee),O in he?he[O]+=1:he[O]=1;return he}),R=ge(function(ce,de){var he,ke,$e,Ee,O;for(he={},ke=0,$e=de.length;ke<$e;++ke)Ee=de[ke],O=ce(Ee),O in he?he[O].push(Ee):he[O]=[Ee];return he}),N=function(ce){var de,he,ke;for(de=0,he=ce.length;de<he;++de)if(ke=ce[de],!ke)return!1;return!0},q=function(ce){var de,he,ke;for(de=0,he=ce.length;de<he;++de)if(ke=ce[de],ke)return!0;return!1},L=ge(function(ce,de){var he,ke,$e;for(he=0,ke=de.length;he<ke;++he)if($e=de[he],ce($e))return!0;return!1}),W=ge(function(ce,de){var he,ke,$e;for(he=0,ke=de.length;he<ke;++he)if($e=de[he],!ce($e))return!1;return!0}),_=function(ce){return ce.concat().sort(function(de,he){return de>he?1:de<he?-1:0})},H=ge(function(ce,de){return de.concat().sort(ce)}),K=ge(function(ce,de){return de.concat().sort(function(he,ke){return ce(he)>ce(ke)?1:ce(he)<ce(ke)?-1:0})}),re=function(ce){var de,he,ke,$e;for(de=0,he=0,ke=ce.length;he<ke;++he)$e=ce[he],de+=$e;return de},te=function(ce){var de,he,ke,$e;for(de=1,he=0,ke=ce.length;he<ke;++he)$e=ce[he],de*=$e;return de},xe=Y=function(ce){var de,he,ke,$e;for(de=0,he=0,ke=ce.length;he<ke;++he)$e=ce[he],de+=$e;return de/ce.length},F=function(ce){var de,he,ke,$e,Ee;for(de=ce[0],he=0,$e=(ke=ce.slice(1)).length;he<$e;++he)Ee=ke[he],Ee>de&&(de=Ee);return de},z=function(ce){var de,he,ke,$e,Ee;for(de=ce[0],he=0,$e=(ke=ce.slice(1)).length;he<$e;++he)Ee=ke[he],Ee<de&&(de=Ee);return de},ne=ge(function(ce,de){var he,ke,$e,Ee,O;for(he=de[0],ke=0,Ee=($e=de.slice(1)).length;ke<Ee;++ke)O=$e[ke],ce(O)>ce(he)&&(he=O);return he}),ae=ge(function(ce,de){var he,ke,$e,Ee,O;for(he=de[0],ke=0,Ee=($e=de.slice(1)).length;ke<Ee;++ke)O=$e[ke],ce(O)<ce(he)&&(he=O);return he}),be=Pe=ge(function(ce,de,he){var ke,$e;return ke=de,[de].concat(function(){var Ee,O,Q,ie=[];for(Ee=0,Q=(O=he).length;Ee<Q;++Ee)$e=O[Ee],ie.push(ke=ce(ke,$e));return ie}())}),Ie=ue=ge(function(ce,de){if(de.length)return be(ce,de[0],de.slice(1))}),ve=ge(function(ce,de,he){return he=he.concat().reverse(),be(ce,de,he).reverse()}),G=ge(function(ce,de){if(de.length)return de=de.concat().reverse(),be(ce,de[0],de.slice(1)).reverse()}),J=ge(function(ce,de,he){return he.slice(ce,de)}),Te=ge(function(ce,de){return ce<=0?de.slice(0,0):de.slice(0,ce)}),$=ge(function(ce,de){return ce<=0?de:de.slice(ce)}),se=ge(function(ce,de){return[Te(ce,de),$(ce,de)]}),De=ge(function(ce,de){var he,ke;if(he=de.length,!he)return de;for(ke=0;ke<he&&ce(de[ke]);)ke+=1;return de.slice(0,ke)}),Le=ge(function(ce,de){var he,ke;if(he=de.length,!he)return de;for(ke=0;ke<he&&ce(de[ke]);)ke+=1;return de.slice(ke)}),Fe=ge(function(ce,de){return[De(ce,de),Le(ce,de)]}),V=ge(function(ce,de){return Fe(Re(ce,We),de)}),et=ge(function(ce,de){var he,ke,$e,Ee,O,Q;for(he=[],ke=de.length,$e=0,Ee=ce.length;$e<Ee&&(O=$e,Q=ce[$e],O!==ke);++$e)he.push([Q,de[O]]);return he}),nt=ge(function(ce,de,he){var ke,$e,Ee,O,Q,ie;for(ke=[],$e=he.length,Ee=0,O=de.length;Ee<O&&(Q=Ee,ie=de[Ee],Q!==$e);++Ee)ke.push(ce(ie,he[Q]));return ke}),lt=function(){var ce,de,he,ke,$e,Ee,O,Q,ie,Z,le,Ae=[];for(de=[],he=0,ke=arguments.length;he<ke;++he)de.push(arguments[he]);for(ce=de,$e=void 0,he=0,Ee=ce.length;he<Ee;++he)O=ce[he],$e<=(Q=O.length)||($e=Q);for(he=0;he<$e;++he){for(ie=he,Z=[],le=0,Ee=ce.length;le<Ee;++le)O=ce[le],Z.push(O[ie]);Ae.push(Z)}return Ae},Qe=function(ce){var de,he,ke,$e,Ee,O,Q,ie,Z,le=[];for(he=[],ke=1,$e=arguments.length;ke<$e;++ke)he.push(arguments[ke]);for(de=he,Ee=void 0,ke=0,O=de.length;ke<O;++ke)Q=de[ke],Ee<=(ie=Q.length)||(Ee=ie);for(ke=0;ke<Ee;++ke)Z=ke,le.push(ce.apply(null,Ae()));return le;function Ae(){var _e,Ve,Ye,me=[];for(_e=0,Ye=(Ve=de).length;_e<Ye;++_e)Q=Ve[_e],me.push(Q[Z]);return me}},Xe=ge(function(ce,de){return ce<0?de[de.length+ce]:de[ce]}),pt=ge(function(ce,de){var he,ke,$e,Ee;for(he=0,ke=de.length;he<ke;++he)if($e=he,Ee=de[he],Ee===ce)return $e}),tt=ge(function(ce,de){var he,ke,$e,Ee,O=[];for(he=0,ke=de.length;he<ke;++he)$e=he,Ee=de[he],Ee===ce&&O.push($e);return O}),Dt=ge(function(ce,de){var he,ke,$e,Ee;for(he=0,ke=de.length;he<ke;++he)if($e=he,Ee=de[he],ce(Ee))return $e}),st=ge(function(ce,de){var he,ke,$e,Ee,O=[];for(he=0,ke=de.length;he<ke;++he)$e=he,Ee=de[he],ce(Ee)&&O.push($e);return O}),qa={each:a,map:e,filter:o,compact:n,reject:t,remove:c,partition:p,find:u,head:r,first:h,tail:i,last:f,initial:m,empty:s,reverse:l,difference:B,intersection:M,union:P,countBy:D,groupBy:R,fold:v,fold1:b,foldl:S,foldl1:C,foldr:w,foldr1:E,unfoldr:k,andList:N,orList:q,any:L,all:W,unique:d,uniqueBy:g,sort:_,sortWith:H,sortBy:K,sum:re,product:te,mean:xe,average:Y,concat:x,concatMap:A,flatten:I,maximum:F,minimum:z,maximumBy:ne,minimumBy:ae,scan:be,scan1:Ie,scanl:Pe,scanl1:ue,scanr:ve,scanr1:G,slice:J,take:Te,drop:$,splitAt:se,takeWhile:De,dropWhile:Le,span:Fe,breakList:V,zip:et,zipWith:nt,zipAll:lt,zipAllWith:Qe,at:Xe,elemIndex:pt,elemIndices:tt,findIndex:Dt,findIndices:st};function ge(ce,de){var he,ke=function($e){return ce.length>1?function(){var Ee=$e?$e.concat():[];return he=this,Ee.push.apply(Ee,arguments)<ce.length&&arguments.length?ke.call(he,Ee):ce.apply(he,Ee)}:ce};return ke()}function ye(ce,de){for(var he=-1,ke=de.length>>>0;++he<ke;)if(ce===de[he])return!0;return!1}function Re(){var ce=arguments;return function(){var de,he;for(he=ce[0].apply(this,arguments),de=1;de<ce.length;++de)he=ce[de](he);return he}}function We(ce){return!ce}return qa}var Va,gd;function tw(){if(gd)return Va;gd=1;var a,e,n,o,t,c,p,u,r,h,i,f,m,s;a=function(d){var g,v,S=[];for(g in d)v=d[g],S.push(v);return S},e=function(d){var g,v=[];for(g in d)v.push(g);return v},n=function(d){var g,v,S,b={};for(g=0,v=d.length;g<v;++g)S=d[g],b[S[0]]=S[1];return b},o=function(d){var g,v,S=[];for(g in d)v=d[g],S.push([g,v]);return S},t=l(function(d,g){var v,S,b,C,w={};for(v=0,S=d.length;v<S;++v)b=v,C=d[v],w[C]=g[b];return w}),c=function(d){var g,v,S,b;g=[],v=[];for(S in d)b=d[S],g.push(S),v.push(b);return[g,v]},p=function(d){var g;for(g in d)return!1;return!0},u=l(function(d,g){var v,S;for(v in g)S=g[v],d(S);return g}),r=l(function(d,g){var v,S,b={};for(v in g)S=g[v],b[v]=d(S);return b}),h=function(d){var g,v,S={};for(g in d)v=d[g],v&&(S[g]=v);return S},i=l(function(d,g){var v,S,b={};for(v in g)S=g[v],d(S)&&(b[v]=S);return b}),f=l(function(d,g){var v,S,b={};for(v in g)S=g[v],d(S)||(b[v]=S);return b}),m=l(function(d,g){var v,S,b,C;v={},S={};for(b in g)C=g[b],(d(C)?v:S)[b]=C;return[v,S]}),s=l(function(d,g){var v,S;for(v in g)if(S=g[v],d(S))return S}),Va={values:a,keys:e,pairsToObj:n,objToPairs:o,listsToObj:t,objToLists:c,empty:p,each:u,map:r,filter:i,compact:h,reject:f,partition:m,find:s};function l(d,g){var v,S=function(b){return d.length>1?function(){var C=b?b.concat():[];return v=this,C.push.apply(C,arguments)<d.length&&arguments.length?S.call(v,C):d.apply(v,C)}:d};return S()}return Va}var $a,yd;function rw(){if(yd)return $a;yd=1;var a,e,n,o,t,c,p,u,r,h,i,f,m;a=s(function(l,d){return d.split(l)}),e=s(function(l,d){return d.join(l)}),n=function(l){return l.length?l.split(`
48
- `):[]},o=function(l){return l.join(`
49
- `)},t=function(l){return l.length?l.split(/[ ]+/):[]},c=function(l){return l.join(" ")},p=function(l){return l.split("")},u=function(l){return l.join("")},r=function(l){return l.split("").reverse().join("")},h=s(function(l,d){var g,v;for(g="",v=0;v<l;++v)g+=d;return g}),i=function(l){return l.charAt(0).toUpperCase()+l.slice(1)},f=function(l){return l.replace(/[-_]+(.)?/g,function(d,g){return(g??"").toUpperCase()})},m=function(l){return l.replace(/([^-A-Z])([A-Z]+)/g,function(d,g,v){return g+"-"+(v.length>1?v:v.toLowerCase())}).replace(/^([A-Z]+)/,function(d,g){return g.length>1?g+"-":g.toLowerCase()})},$a={split:a,join:e,lines:n,unlines:o,words:t,unwords:c,chars:p,unchars:u,reverse:r,repeat:h,capitalize:i,camelize:f,dasherize:m};function s(l,d){var g,v=function(S){return l.length>1?function(){var b=S?S.concat():[];return g=this,b.push.apply(b,arguments)<l.length&&arguments.length?v.call(g,b):l.apply(g,b)}:l};return v()}return $a}var Wa,vd;function nw(){if(vd)return Wa;vd=1;var a,e,n,o,t,c,p,u,r,h,i,f,m,s,l,d,g,v,S,b,C,w,E,k,x,A,I,B,M,P,D,R;a=N(function(q,L){return q>L?q:L}),e=N(function(q,L){return q<L?q:L}),n=function(q){return-q},o=Math.abs,t=function(q){return q<0?-1:q>0?1:0},c=N(function(q,L){return~~(q/L)}),p=N(function(q,L){return q%L}),u=N(function(q,L){return Math.floor(q/L)}),r=N(function(q,L){var W;return(q%(W=L)+W)%W}),h=function(q){return 1/q},i=Math.PI,f=i*2,m=Math.exp,s=Math.sqrt,l=Math.log,d=N(function(q,L){return Math.pow(q,L)}),g=Math.sin,v=Math.tan,S=Math.cos,b=Math.asin,C=Math.acos,w=Math.atan,E=N(function(q,L){return Math.atan2(q,L)}),k=function(q){return~~q},x=Math.round,A=Math.ceil,I=Math.floor,B=function(q){return q!==q},M=function(q){return q%2===0},P=function(q){return q%2!==0},D=N(function(q,L){var W;for(q=Math.abs(q),L=Math.abs(L);L!==0;)W=q%L,q=L,L=W;return q}),R=N(function(q,L){return Math.abs(Math.floor(q/D(q,L)*L))}),Wa={max:a,min:e,negate:n,abs:o,signum:t,quot:c,rem:p,div:u,mod:r,recip:h,pi:i,tau:f,exp:m,sqrt:s,ln:l,pow:d,sin:g,tan:v,cos:S,acos:C,asin:b,atan:w,atan2:E,truncate:k,round:x,ceiling:A,floor:I,isItNaN:B,even:M,odd:P,gcd:D,lcm:R};function N(q,L){var W,_=function(H){return q.length>1?function(){var K=H?H.concat():[];return W=this,K.push.apply(K,arguments)<q.length&&arguments.length?_.call(W,K):q.apply(W,K)}:q};return _()}return Wa}var Ga,Ed;function Sd(){if(Ed)return Ga;Ed=1;var a,e,n,o,t,c,p,u,r,h={}.toString;a=Z1(),e=ew(),n=tw(),o=rw(),t=nw(),c=function(f){return f},p=i(function(f,m){return h.call(m).slice(8,-1)===f}),u=i(function(f,m){var s,l=[];for(s=0;s<f;++s)l.push(m);return l}),o.empty=e.empty,o.slice=e.slice,o.take=e.take,o.drop=e.drop,o.splitAt=e.splitAt,o.takeWhile=e.takeWhile,o.dropWhile=e.dropWhile,o.span=e.span,o.breakStr=e.breakList,r={Func:a,List:e,Obj:n,Str:o,Num:t,id:c,isType:p,replicate:u},r.each=e.each,r.map=e.map,r.filter=e.filter,r.compact=e.compact,r.reject=e.reject,r.partition=e.partition,r.find=e.find,r.head=e.head,r.first=e.first,r.tail=e.tail,r.last=e.last,r.initial=e.initial,r.empty=e.empty,r.reverse=e.reverse,r.difference=e.difference,r.intersection=e.intersection,r.union=e.union,r.countBy=e.countBy,r.groupBy=e.groupBy,r.fold=e.fold,r.foldl=e.foldl,r.fold1=e.fold1,r.foldl1=e.foldl1,r.foldr=e.foldr,r.foldr1=e.foldr1,r.unfoldr=e.unfoldr,r.andList=e.andList,r.orList=e.orList,r.any=e.any,r.all=e.all,r.unique=e.unique,r.uniqueBy=e.uniqueBy,r.sort=e.sort,r.sortWith=e.sortWith,r.sortBy=e.sortBy,r.sum=e.sum,r.product=e.product,r.mean=e.mean,r.average=e.average,r.concat=e.concat,r.concatMap=e.concatMap,r.flatten=e.flatten,r.maximum=e.maximum,r.minimum=e.minimum,r.maximumBy=e.maximumBy,r.minimumBy=e.minimumBy,r.scan=e.scan,r.scanl=e.scanl,r.scan1=e.scan1,r.scanl1=e.scanl1,r.scanr=e.scanr,r.scanr1=e.scanr1,r.slice=e.slice,r.take=e.take,r.drop=e.drop,r.splitAt=e.splitAt,r.takeWhile=e.takeWhile,r.dropWhile=e.dropWhile,r.span=e.span,r.breakList=e.breakList,r.zip=e.zip,r.zipWith=e.zipWith,r.zipAll=e.zipAll,r.zipAllWith=e.zipAllWith,r.at=e.at,r.elemIndex=e.elemIndex,r.elemIndices=e.elemIndices,r.findIndex=e.findIndex,r.findIndices=e.findIndices,r.apply=a.apply,r.curry=a.curry,r.flip=a.flip,r.fix=a.fix,r.over=a.over,r.split=o.split,r.join=o.join,r.lines=o.lines,r.unlines=o.unlines,r.words=o.words,r.unwords=o.unwords,r.chars=o.chars,r.unchars=o.unchars,r.repeat=o.repeat,r.capitalize=o.capitalize,r.camelize=o.camelize,r.dasherize=o.dasherize,r.values=n.values,r.keys=n.keys,r.pairsToObj=n.pairsToObj,r.objToPairs=n.objToPairs,r.listsToObj=n.listsToObj,r.objToLists=n.objToLists,r.max=t.max,r.min=t.min,r.negate=t.negate,r.abs=t.abs,r.signum=t.signum,r.quot=t.quot,r.rem=t.rem,r.div=t.div,r.mod=t.mod,r.recip=t.recip,r.pi=t.pi,r.tau=t.tau,r.exp=t.exp,r.sqrt=t.sqrt,r.ln=t.ln,r.pow=t.pow,r.sin=t.sin,r.tan=t.tan,r.cos=t.cos,r.acos=t.acos,r.asin=t.asin,r.atan=t.atan,r.atan2=t.atan2,r.truncate=t.truncate,r.round=t.round,r.ceiling=t.ceiling,r.floor=t.floor,r.isItNaN=t.isItNaN,r.even=t.even,r.odd=t.odd,r.gcd=t.gcd,r.lcm=t.lcm,r.VERSION="1.2.1",Ga=r;function i(f,m){var s,l=function(d){return f.length>1?function(){var g=d?d.concat():[];return s=this,g.push.apply(g,arguments)<f.length&&arguments.length?l.call(s,g):f.apply(s,g)}:f};return l()}return Ga}var bd;function sw(){return bd||(bd=1,(function(){var a,e,n;a=Sd().reject;function o(s,l){if(s[0]===l)return s.shift();throw new Error("Expected '"+l+"', but got '"+s[0]+"' instead in "+JSON.stringify(s)+".")}function t(s,l){if(s[0]===l)return s.shift()}function c(s,l,d){var g,v,S,b;for(g=l[0],v=l[1],d&&o(s,g),S=[],b=","+(d?v:"");s.length&&d&&s[0]!==v;)S.push(i(s,b)),t(s,",");return d&&o(s,v),S}function p(s,l){return c(s,["[","]"],l)}function u(s,l){return c(s,["(",")"],l)}function r(s,l){var d,g,v;for(l&&o(s,"{"),d={},g=","+(l?"}":"");s.length&&(!l||s[0]!=="}");)v=h(s,":"),o(s,":"),d[v]=i(s,g),t(s,",");return l&&o(s,"}"),d}function h(s,l){var d;for(l==null&&(l=""),d="";s.length&&l.indexOf(s[0])===-1;)d+=s.shift();return d}function i(s,l){switch(s[0]){case"[":return p(s,!0);case"(":return u(s,!0);case"{":return r(s,!0);default:return h(s,l)}}function f(s,l,d){var g,v,S,b,C,w,E,k;return g=l[0],v=g.type,S=g.structure,b=s.concat(),!d.explicit&&l.length===1&&(!v&&S||v==="Array"||v==="Object")?(C=S==="array"||v==="Array"?p(s,s[0]==="["):S==="tuple"?u(s,s[0]==="("):r(s,s[0]==="{"),w=s.length?i(S==="array"||v==="Array"?(E=b,E.unshift("["),E.push("]"),E):(k=b,k.unshift("("),k.push(")"),k)):C):w=i(s),w}e=/\[\]\(\)}{:,/.source,n=RegExp(`("(?:\\\\"|[^"])*")|('(?:\\\\'|[^'])*')|(/(?:\\\\/|[^/])*/[a-zA-Z]*)|(#.*#)|([`+e+"])|([^\\s"+e+"](?:\\s*[^\\s"+e+"]+)*)|\\s*"),Ma.exports=function(s,l,d){var g,v;if(d==null&&(d={}),!d.explicit&&s.length===1&&s[0].type==="String")return l;if(g=a(m,l.split(n)),v=f(g,s,d),!v)throw new Error("Error parsing '"+l+"'.");return v};function m(s){return!s}}).call(this)),Ma.exports}var za={exports:{}},Ha={exports:{}},Ka={exports:{}},xd;function aw(){return xd||(xd=1,(function(){var a,e;a=/[\$\w]+/;function n(l){var d;if(d=l[0],d==null)throw new Error("Unexpected end of input.");return d}function o(l){var d;if(d=n(l),!a.test(d))throw new Error("Expected text, got '"+d+"' instead.");return l.shift()}function t(l,d){var g;if(g=n(l),g!==d)throw new Error("Expected '"+d+"', got '"+g+"' instead.");return l.shift()}function c(l,d){var g;return g=l[0],g===d?l.shift():null}function p(l){var d;if(t(l,"["),n(l)==="]")throw new Error("Must specify type of Array - eg. [Type], got [] instead.");return d=m(l),t(l,"]"),{structure:"array",of:d}}function u(l){var d;if(d=[],t(l,"("),n(l)===")")throw new Error("Tuple must be of at least length 1 - eg. (Type), got () instead.");for(;d.push(m(l)),c(l,","),n(l)!==")";);return t(l,")"),{structure:"tuple",of:d}}function r(l){var d,g,v,S,b;for(d={},t(l,"{"),g=!1;;){if(c(l,"...")){g=!0;break}if(v=h(l),S=v[0],b=v[1],d[S]=b,c(l,","),n(l)==="}")break}return t(l,"}"),{structure:"fields",of:d,subset:g}}function h(l){var d,g;return d=o(l),t(l,":"),g=m(l),[d,g]}function i(l){switch(l[0]){case"[":return p(l);case"(":return u(l);case"{":return r(l)}}function f(l){var d,g,v,S;if(d=n(l),g=d==="*",g||a.test(d))return v=g?t(l,"*"):o(l),S=i(l),S?(S.type=v,S):{type:v};if(S=i(l),!S)throw new Error("Unexpected character: "+d);return S}function m(l){var d,g,v,S,b,C;if(n(l)==="::")throw new Error("No comment before comment separator '::' found.");for(d=l[1],d!=null&&d==="::"&&(l.shift(),l.shift()),g=[],v={},n(l)==="Maybe"&&(l.shift(),g=[{type:"Undefined"},{type:"Null"}],v={Undefined:!0,Null:!0});S=f(l),b=S.type,C=S.structure,v[b]||g.push(S),C==null&&(v[b]=!0),!!c(l,"|"););return g}e=RegExp("\\.\\.\\.|::|->|"+a.source+"|\\S","g"),Ka.exports=function(l){var d,g;if(!l.length)throw new Error("No type specified.");if(d=l.match(e)||[],s("->",d))throw new Error("Function types are not supported. To validate that something is a function, you may use 'Function'.");try{return m(d)}catch(v){throw g=v,new Error(g.message+" - Remaining tokens: "+JSON.stringify(d)+" - Initial input: '"+l+"'")}};function s(l,d){for(var g=-1,v=d.length>>>0;++g<v;)if(l===d[g])return!0;return!1}}).call(this)),Ka.exports}var Xa={exports:{}},Cd;function iw(){return Cd||(Cd=1,(function(){var a,e,n,o,t,c,p={}.toString;a=Sd(),e=a.any,n=a.all,o=a.isItNaN,t={Number:{typeOf:"Number",validate:function(s){return!o(s)}},NaN:{typeOf:"Number",validate:o},Int:{typeOf:"Number",validate:function(s){return!o(s)&&s%1===0}},Float:{typeOf:"Number",validate:function(s){return!o(s)}},Date:{typeOf:"Date",validate:function(s){return!o(s.getTime())}}},c={array:"Array",tuple:"Array"};function u(s,l,d){return n(function(g){return m(g,l.of,d)},s)}function r(s,l,d){var g,v,S,b,C;for(g=0,v=0,b=(S=l.of).length;v<b;++v){if(C=S[v],!m(s[g],C,d))return!1;g++}return s.length<=g}function h(s,l,d){var g,v,S,b,C,w,E;g={},v=0;for(S in s)g[S]=!0,v++;b=0;for(C in w=l.of){if(E=w[C],!m(s[C],E,d))return!1;g[C]&&b++}return l.subset||v===b}function i(s,l,d){if(!(s instanceof Object))return!1;switch(l.structure){case"fields":return h(s,l,d);case"array":return u(s,l,d);case"tuple":return r(s,l,d)}}function f(s,l,d){var g,v,S,b;if(g=l.type,v=l.structure,g)return g==="*"?!0:(S=d.customTypes[g]||t[g],S?(S.typeOf===void 0||S.typeOf===p.call(s).slice(8,-1))&&S.validate(s):g===p.call(s).slice(8,-1)&&(!v||i(s,l,d)));if(v)return(b=c[v])&&b!==p.call(s).slice(8,-1)?!1:i(s,l,d);throw new Error("No type defined. Input: "+s+".")}function m(s,l,d){if(p.call(l).slice(8,-1)!=="Array")throw new Error("Types must be in an array. Input: "+s+".");return e(function(g){return f(s,g,d)},l)}Xa.exports=function(s,l,d){return d==null&&(d={}),d.customTypes==null&&(d.customTypes={}),m(l,s,d)}}).call(this)),Xa.exports}var wd;function Ad(){return wd||(wd=1,(function(){var a,e,n,o;a="0.4.0",e=aw(),n=iw(),o=function(t,c,p){return n(e(t),c,p)},Ha.exports={VERSION:a,typeCheck:o,parsedTypeCheck:n,parseType:e}}).call(this)),Ha.exports}var Td;function ow(){return Td||(Td=1,(function(){var a,e,n={}.toString;a=Ad().parsedTypeCheck,e={"*":function(r,h){switch(n.call(r).slice(8,-1)){case"Array":return p(r,{type:"Array"},h);case"Object":return p(r,{type:"Object"},h);default:return{type:"Just",value:u(r,[{type:"Undefined"},{type:"Null"},{type:"NaN"},{type:"Boolean"},{type:"Number"},{type:"Date"},{type:"RegExp"},{type:"Array"},{type:"Object"},{type:"String"}],(h.explicit=!0,h))}}},Undefined:function(r){return r==="undefined"||r===void 0?{type:"Just",value:void 0}:{type:"Nothing"}},Null:function(r){return r==="null"?{type:"Just",value:null}:{type:"Nothing"}},NaN:function(r){return r==="NaN"?{type:"Just",value:NaN}:{type:"Nothing"}},Boolean:function(r){return r==="true"?{type:"Just",value:!0}:r==="false"?{type:"Just",value:!1}:{type:"Nothing"}},Number:function(r){return{type:"Just",value:+r}},Int:function(r){return{type:"Just",value:+r}},Float:function(r){return{type:"Just",value:+r}},Date:function(r,h){var i;return(i=/^\#([\s\S]*)\#$/.exec(r))?{type:"Just",value:new Date(+i[1]||i[1])}:h.explicit?{type:"Nothing"}:{type:"Just",value:new Date(+r||r)}},RegExp:function(r,h){var i;return(i=/^\/([\s\S]*)\/([gimy]*)$/.exec(r))?{type:"Just",value:new RegExp(i[1],i[2])}:h.explicit?{type:"Nothing"}:{type:"Just",value:new RegExp(r)}},Array:function(r,h){return o(r,{of:[{type:"*"}]},h)},Object:function(r,h){return c(r,{of:{}},h)},String:function(r){var h,i;return n.call(r).slice(8,-1)!=="String"?{type:"Nothing"}:(h=function(f,m){return f.replace(/\\([^u]|u[0-9a-fA-F]{4})/g,function(s,l){switch(l[0]){case m:return m;case"\\":return"\\";case"b":return"\b";case"f":return"\f";case"n":return`
50
- `;case"r":return"\r";case"t":return" ";case"u":return JSON.parse('"'+s+'"');default:return l}})},(i=r.match(/^'([\s\S]*)'$/))?{type:"Just",value:h(i[1],"'")}:(i=r.match(/^"([\s\S]*)"$/))?{type:"Just",value:h(i[1],'"')}:{type:"Just",value:r})}};function o(r,h,i){var f,m;return n.call(r).slice(8,-1)!=="Array"?{type:"Nothing"}:(f=h.of,{type:"Just",value:function(){var s,l,d,g=[];for(s=0,d=(l=r).length;s<d;++s)m=l[s],g.push(u(m,f,i));return g}()})}function t(r,h,i){var f,m,s,l,d,g,v;if(n.call(r).slice(8,-1)!=="Array")return{type:"Nothing"};for(f=[],m=0,s=0,d=(l=h.of).length;s<d;++s)g=l[s],v=u(r[m],g,i),n.call(v).slice(8,-1)!=="Undefined"&&f.push(v),m++;return r.length<=m?{type:"Just",value:f}:{type:"Nothing"}}function c(r,h,i){var f,m,s;return n.call(r).slice(8,-1)!=="Object"?{type:"Nothing"}:(f=h.of,{type:"Just",value:function(){var l,d={};for(m in l=r)s=l[m],d[u(m,[{type:"String"}],i)]=u(s,f[m]||[{type:"*"}],i);return d}()})}function p(r,h,i){var f,m,s,l;if(f=h.type,m=h.structure,f){if(s=((l=i.customTypes[f])!=null?l.cast:void 0)||e[f],!s)throw new Error("Type not defined: "+f+".");return s(r,i,u)}else switch(m){case"array":return o(r,h,i);case"tuple":return t(r,h,i);case"fields":return c(r,h,i)}}function u(r,h,i){var f,m,s,l,d,g;for(f=0,m=h.length;f<m;++f)if(s=h[f],l=p(r,s,i),d=l.type,g=l.value,d!=="Nothing"&&a([s],g,{customTypes:i.customTypes}))return g;throw new Error("Value "+JSON.stringify(r)+" does not type check against "+JSON.stringify(h)+".")}za.exports=function(r,h,i){return!i.explicit&&h.length===1&&h[0].type==="String"?r:u(r,h,i)}}).call(this)),za.exports}var kd;function lw(){return kd||(kd=1,(function(){var a,e,n,o,t,c;a=sw(),e=ow(),n=Ad().parseType,o="0.4.1",t=function(p,u,r){return r==null&&(r={}),r.explicit==null&&(r.explicit=!1),r.customTypes==null&&(r.customTypes={}),e(a(p,u,r),p,r)},c=function(p,u,r){return t(n(p),u,r)},ja.exports={VERSION:o,parse:c,parsedTypeParse:t}}).call(this)),ja.exports}var Dd;function Id(){var d,I0,v;if(Dd)return _r;Dd=1;var a=lw();const e=/^([a-z]+(?:-[a-z]+)*)(?:\s|$)/u,n=new Set([0,1,2,"off","warn","error"]);function o(S){const b=Array.isArray(S)?S[0]:S;return n.has(b)}function t(S){return Object.values(S).every(o)}class c{constructor(b,C,w){St(this,"label","");St(this,"value","");St(this,"justification","");this.label=b,this.value=C,this.justification=w}}class p{constructor(){Xt(this,d)}parseStringConfig(b){const C={};return b.trim().replace(new RegExp("(?<!\\s)\\s*([:,])\\s*","gu"),"$1").split(/\s|,+/u).forEach(E=>{if(!E)return;const[k,x=null]=E.split(":");C[k]=x}),C}parseJSONLikeConfig(b){try{const w=a.parse("Object",b)||{};if(t(w))return{ok:!0,config:w}}catch{}const C=b.replace(/([-a-zA-Z0-9/]+):/gu,'"$1":').replace(/(\]|[0-9])\s+(?=")/u,"$1,");try{return{ok:!0,config:JSON.parse(`{${C}}`)}}catch(w){const E=w instanceof Error?w.message:String(w);return{ok:!1,error:{message:`Failed to parse JSON from '${C}': ${E}`}}}}parseListConfig(b){const C={};return b.split(",").forEach(w=>{const E=w.trim().replace(/^(?<quote>['"]?)(?<ruleId>.*)\k<quote>$/su,"$<ruleId>");E&&(C[E]=!0)}),C}parseDirective(b){const{directivePart:C,justificationPart:w}=xr(this,d,I0).call(this,b),E=e.exec(C);if(!E)return;const k=E[1],x=C.slice(E.index+k.length);return new c(k,x.trim(),w)}}d=new WeakSet,I0=function(b){const C=/\s-{2,}\s/u.exec(b);if(!C)return{directivePart:b.trim(),justificationPart:""};const w=b.slice(0,C.index).trim(),E=b.slice(C.index+C[0].length).trim();return{directivePart:w,justificationPart:E}};function u(S){return"loc"in S}function r(S){return"position"in S}function h(S){return"range"in S}function i(S){return"position"in S}class f{constructor({target:b,phase:C,args:w}){St(this,"type","visit");St(this,"kind",1);St(this,"target");St(this,"phase");St(this,"args");this.target=b,this.phase=C,this.args=w}}class m{constructor({target:b,args:C}){St(this,"type","call");St(this,"kind",2);St(this,"target");St(this,"args");this.target=b,this.args=C}}class s{constructor({type:b,node:C,value:w,justification:E}){St(this,"type");St(this,"node");St(this,"value");St(this,"justification");this.type=b,this.node=C,this.value=w,this.justification=E}}class l{constructor({text:b,ast:C,lineEndingPattern:w=/\r?\n/u}){Xt(this,v);St(this,"ast");St(this,"text");this.ast=C,this.text=b,hr(this,v,b.split(w))}getLoc(b){if(u(b))return b.loc;if(r(b))return b.position;throw new Error("Custom getLoc() method must be implemented in the subclass.")}getRange(b){if(h(b))return b.range;if(i(b))return[b.position.start.offset,b.position.end.offset];throw new Error("Custom getRange() method must be implemented in the subclass.")}getParent(b){throw new Error("Not implemented.")}getAncestors(b){if(!b)throw new TypeError("Missing required argument: node.");const C=[];for(let w=this.getParent(b);w;w=this.getParent(w))C.push(w);return C.reverse()}getText(b,C,w){if(b){const E=this.getRange(b);return this.text.slice(Math.max(E[0]-(C||0),0),E[1]+(w||0))}return this.text}get lines(){return Tt(this,v)}traverse(){throw new Error("Not implemented.")}}return v=new WeakMap,_r.CallMethodStep=m,_r.ConfigCommentParser=p,_r.Directive=s,_r.TextSourceCodeBase=l,_r.VisitNodeStep=f,_r}var Ja,Pd;function uw(){var I;if(Pd)return Ja;Pd=1;const{isCommentToken:a}=$t(),e=K1(),n=Mn(),o=ua(),t=ed(),{directivesPattern:c}=rd(),p=Q1(),u=md(),{ConfigCommentParser:r,VisitNodeStep:h,CallMethodStep:i,Directive:f}=Id(),m=Kn(),s=new r,l=["onCodePathStart","onCodePathEnd","onCodePathSegmentStart","onCodePathSegmentEnd","onCodePathSegmentLoop","onUnreachableCodePathSegmentStart","onUnreachableCodePathSegmentEnd"];function d(B){if(!B)throw new TypeError(`Unexpected empty AST. (${B})`);if(!B.tokens)throw new TypeError("AST is missing the tokens array.");if(!B.comments)throw new TypeError("AST is missing the comments array.");if(!B.loc)throw new TypeError("AST is missing location information.");if(!B.range)throw new TypeError("AST is missing range information")}function g(B){switch(B){case 3:return t.es3;case 5:return t.es5;default:return B<2015?t[`es${B+2009}`]:t[`es${B}`]}}function v(B){return B.type==="ExportDefaultDeclaration"||B.type==="ExportNamedDeclaration"||B.type==="ExportAllDeclaration"||B.type==="ExportSpecifier"}function S(B,M){const P=[];let D=0,R=0;for(;D<B.length||R<M.length;)R>=M.length||D<B.length&&B[D].range[0]<M[R].range[0]?P.push(B[D++]):P.push(M[R++]);return P}function b(B){switch(B){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 new Error(`'${B}' is not a valid configuration for a global (use 'readonly', 'writable', or 'off')`)}}function C(B,M){return B.range[0]<=M.range[0]&&B.range[1]>=M.range[0]||M.range[0]<=B.range[0]&&M.range[1]>=B.range[0]}function w(B,M,P,D){if(C(M,P))return!1;const[R,N]=M.range[1]<=P.range[0]?[M,P]:[P,M],q=B.getLastToken(R)||R,L=B.getFirstToken(N)||N;let W=q;for(;W!==L;){const _=B.getTokenAfter(W,{includeComments:!0});if(W.range[1]!==_.range[0]||D&&_!==L&&_.type==="JSXText"&&/\s/u.test(_.value))return!0;W=_}return!1}function E(B,M={},P={}){for(const R of new Set([...Object.keys(M),...Object.keys(P)])){const N=M[R]===void 0?void 0:b(M[R]),L=P[R]&&P[R].value||N,W=P[R]&&P[R].comments;if(L==="off")continue;let _=B.set.get(R);_||(_=new m.Variable(R,B),B.variables.push(_),B.set.set(R,_)),_.eslintImplicitGlobalSetting=N,_.eslintExplicitGlobal=W!==void 0,_.eslintExplicitGlobalComments=W,_.writeable=L==="writable"}B.through=B.through.filter(R=>{const N=R.identifier.name,q=B.set.get(N);return q?(R.resolved=q,q.references.push(R),!1):!0});const{implicit:D}=B;typeof D=="object"&&D!==null&&(D.variables=D.variables.filter(R=>{const N=R.name;return B.set.has(N)?(D.set.delete(N),!1):!0}),D.left&&(D.left=D.left.filter(R=>!B.set.has(R.identifier.name))))}function k(B,M){Object.keys(M).forEach(P=>{const D=B.set.get(P);D&&(D.eslintUsed=!0,D.eslintExported=!0)})}const x=Symbol("caches");class A extends e{constructor(P,D){let R,N,q,L,W,_;typeof P=="string"?(R=P,q=D,N=!1):typeof P=="object"&&P!==null&&(R=P.text,q=P.ast,N=P.hasBOM,L=P.parserServices,W=P.scopeManager,_=P.visitorKeys),d(q);super(q.tokens,q.comments);Xt(this,I);this[x]=new Map([["scopes",new WeakMap],["vars",new Map],["configNodes",void 0]]),this.isESTree=q.type==="Program";const H=R.charCodeAt(0)===65279;this.hasBOM=H||!!N,this.text=H?R.slice(1):R,this.ast=q,this.parserServices=L||{},this.scopeManager=W||null,this.visitorKeys=_||o.DEFAULT_VISITOR_KEYS;const K=this.text.match(n.shebangPattern);K&&q.comments.length&&q.comments[0].value===K[1]&&(q.comments[0].type="Shebang"),this.tokensAndComments=S(q.tokens,q.comments),this.lines=[],this.lineStartIndices=[0];const te=n.createGlobalLinebreakMatcher();let xe;for(;xe=te.exec(this.text);)this.lines.push(this.text.slice(this.lineStartIndices.at(-1),xe.index)),this.lineStartIndices.push(xe.index+xe[0].length);this.lines.push(this.text.slice(this.lineStartIndices.at(-1))),Object.freeze(this),Object.freeze(this.lines)}static splitLines(P){return P.split(n.createGlobalLinebreakMatcher())}getText(P,D,R){return P?this.text.slice(Math.max(P.range[0]-(D||0),0),P.range[1]+(R||0)):this.text}getLines(){return this.lines}getAllComments(){return this.ast.comments}getJSDocComment(P){const D=N=>{const q=this.getTokenBefore(N,{includeComments:!0});return q&&a(q)&&q.type==="Block"&&q.value.charAt(0)==="*"&&N.loc.start.line-q.loc.end.line<=1?q:null};let R=P.parent;switch(P.type){case"ClassDeclaration":case"FunctionDeclaration":return D(v(R)?R:P);case"ClassExpression":return D(R.parent);case"ArrowFunctionExpression":case"FunctionExpression":if(R.type!=="CallExpression"&&R.type!=="NewExpression"){for(;!this.getCommentsBefore(R).length&&!/Function/u.test(R.type)&&R.type!=="MethodDefinition"&&R.type!=="Property"&&(R=R.parent,!!R););if(R&&R.type!=="FunctionDeclaration"&&R.type!=="Program")return D(R)}return D(P);default:return null}}getNodeByRangeIndex(P){let D=null;return o.traverse(this.ast,{visitorKeys:this.visitorKeys,enter(R){R.range[0]<=P&&P<R.range[1]?D=R:this.skip()},leave(R){R===D&&this.break()}}),D}isSpaceBetween(P,D){return w(this,P,D,!1)}isSpaceBetweenTokens(P,D){return w(this,P,D,!0)}getLocFromIndex(P){if(typeof P!="number")throw new TypeError("Expected `index` to be a number.");if(P<0||P>this.text.length)throw new RangeError(`Index out of range (requested index ${P}, but source text has length ${this.text.length}).`);if(P===this.text.length)return{line:this.lines.length,column:this.lines.at(-1).length};const D=P>=this.lineStartIndices.at(-1)?this.lineStartIndices.length:this.lineStartIndices.findIndex(R=>P<R);return{line:D,column:P-this.lineStartIndices[D-1]}}getIndexFromLoc(P){if(typeof P!="object"||typeof P.line!="number"||typeof P.column!="number")throw new TypeError("Expected `loc` to be an object with numeric `line` and `column` properties.");if(P.line<=0)throw new RangeError(`Line number out of range (line ${P.line} requested). Line numbers should be 1-based.`);if(P.line>this.lineStartIndices.length)throw new RangeError(`Line number out of range (line ${P.line} requested, but only ${this.lineStartIndices.length} lines present).`);const D=this.lineStartIndices[P.line-1],R=P.line===this.lineStartIndices.length?this.text.length:this.lineStartIndices[P.line],N=D+P.column;if(P.line===this.lineStartIndices.length&&N>R||P.line<this.lineStartIndices.length&&N>=R)throw new RangeError(`Column number out of range (column ${P.column} requested, but the length of line ${P.line} is ${R-D}).`);return N}getScope(P){if(!P)throw new TypeError("Missing required argument: node.");const D=this[x].get("scopes"),R=D.get(P);if(R)return R;const N=P.type!=="Program";for(let q=P;q;q=q.parent){const L=this.scopeManager.acquire(q,N);if(L)return L.type==="function-expression-name"?(D.set(P,L.childScopes[0]),L.childScopes[0]):(D.set(P,L),L)}return D.set(P,this.scopeManager.scopes[0]),this.scopeManager.scopes[0]}getDeclaredVariables(P){return this.scopeManager.getDeclaredVariables(P)}getAncestors(P){if(!P)throw new TypeError("Missing required argument: node.");const D=[];for(let R=P.parent;R;R=R.parent)D.push(R);return D.reverse()}getLoc(P){return P.loc}getRange(P){return P.range}markVariableAsUsed(P,D=this.ast){const R=this.getScope(D);let N=R;R.type==="global"&&R.childScopes.length>0&&R.childScopes[0].block===this.ast&&(N=R.childScopes[0]);for(let q=N;q;q=q.upper){const L=q.variables.find(W=>W.name===P);if(L)return L.eslintUsed=!0,!0}return!1}getInlineConfigNodes(){let P=this[x].get("configNodes");return P||(P=this.ast.comments.filter(D=>{if(D.type==="Shebang")return!1;const R=s.parseDirective(D.value);return!R||!c.test(R.label)?!1:D.type!=="Line"||!!/^eslint-disable-(next-)?line$/u.test(R.label)}),this[x].set("configNodes",P),P)}getDisableDirectives(){const P=this[x].get("disableDirectives");if(P)return P;const D=[],R=[];this.getInlineConfigNodes().forEach(q=>{const{label:L,value:W,justification:_}=s.parseDirective(q.value),H=/^eslint-disable-(next-)?line$/u.test(L);if(!(q.type==="Line"&&!H)){if(L==="eslint-disable-line"&&q.loc.start.line!==q.loc.end.line){const K=`${L} comment should not span multiple lines.`;D.push({ruleId:null,message:K,loc:q.loc});return}switch(L){case"eslint-disable":case"eslint-enable":case"eslint-disable-next-line":case"eslint-disable-line":{const K=L.slice(7);R.push(new f({type:K,node:q,value:W,justification:_}))}}}});const N={problems:D,directives:R};return this[x].set("disableDirectives",N),N}applyLanguageOptions(P){const D=Object.assign(Object.create(null),g(P.ecmaVersion),P.sourceType==="commonjs"?t.commonjs:void 0,P.globals);this[x].get("vars").set("configGlobals",D)}applyInlineConfig(){const P=[],D=[],R={},N=Object.create(null);this.getInlineConfigNodes().forEach(L=>{const{label:W,value:_}=s.parseDirective(L.value);switch(W){case"exported":Object.assign(R,s.parseListConfig(_));break;case"globals":case"global":for(const[H,K]of Object.entries(s.parseStringConfig(_))){let re;try{re=b(K)}catch(te){P.push({ruleId:null,loc:L.loc,message:te.message});continue}N[H]?(N[H].comments.push(L),N[H].value=re):N[H]={comments:[L],value:re}}break;case"eslint":{const H=s.parseJSONLikeConfig(_);H.ok?D.push({config:{rules:H.config},loc:L.loc}):P.push({ruleId:null,loc:L.loc,message:H.error.message});break}}});const q=this[x].get("vars");return q.set("inlineGlobals",N),q.set("exportedVariables",R),{configs:D,problems:P}}finalize(){const P=this[x].get("vars"),D=P.get("configGlobals"),R=P.get("inlineGlobals"),N=P.get("exportedVariables"),q=this.scopeManager.scopes[0];E(q,D,R),N&&k(q,N)}traverse(){if(Tt(this,I))return Tt(this,I);const P=hr(this,I,[]),D=u();let R={enterNode(N){P.push(new h({target:N,phase:1,args:[N,N.parent]}))},leaveNode(N){P.push(new h({target:N,phase:2,args:[N,N.parent]}))},emitter:D};return this.isESTree&&(R=new p(R),l.forEach(N=>{D.on(N,(...q)=>{P.push(new i({target:N,args:q}))})})),o.traverse(this.ast,{enter(N,q){N.parent=q,R.enterNode(N)},leave(N){R.leaveNode(N)},visitorKeys:this.visitorKeys}),P}}return I=new WeakMap,Ja=A,Ja}var Ya,Fd;function Rd(){return Fd||(Fd=1,Ya={SourceCode:uw()}),Ya}var Qa,_d;function Un(){return _d||(_d=1,Qa=a=>{if(typeof a!="string")throw new TypeError("Expected a string");return a.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}),Qa}var Za,Bd;function cw(){if(Bd)return Za;Bd=1;const a=Un(),{Legacy:{ConfigOps:e}}=Ph();function n(h,i){return h.line-i.line||h.column-i.column}function o(h){const i=new Map;for(const f of h){const{unprocessedDirective:{parentDirective:m}}=f;i.has(m)?i.get(m).push(f):i.set(m,[f])}return[...i.values()]}function t(h,i,f){const m=i.value.trim(),s=f.text.indexOf(m,f.getRange(i.node)[0]);return h.map(l=>{const{ruleId:d}=l,v=new RegExp(String.raw`(?:^|\s*,\s*)(?<quote>['"]?)${a(d)}\k<quote>(?:\s*,\s*|$)`,"u").exec(m),S=v[0],b=s+v.index,C=b+S.length,w=S.indexOf(","),E=S.lastIndexOf(",");let k,x;return w!==E?(k=b+w,x=b+E):(k=b,x=C),{description:`'${d}'`,fix:{range:[k,x],text:""},unprocessedDirective:l.unprocessedDirective}})}function c(h,i,f){const m=f.getRange(i),s=h.filter(l=>l.ruleId).map(l=>`'${l.ruleId}'`);return{description:s.length<=2?s.join(" or "):`${s.slice(0,s.length-1).join(", ")}, or ${s.at(-1)}`,fix:{range:m,text:" "},unprocessedDirective:h[0].unprocessedDirective}}function p(h,i){return o(h).flatMap(m=>{const{parentDirective:s}=m[0].unprocessedDirective,l=new Set(s.ruleIds);for(const d of m)l.delete(d.ruleId);return l.size?t(m,s,i):[c(m,s.node,i)]})}function u(h){const i=new Map,f=new Set;for(let m=h.length-1;m>=0;m--){const s=h[m];if(s.type==="disable"){if(i.size===0)continue;if(s.ruleId===null){for(const l of i.values())f.add(l);i.clear()}else{const l=i.get(s.ruleId);if(l)f.add(l);else{const d=i.get(null);d&&f.add(d)}}}else s.type==="enable"&&(s.ruleId===null?(i.clear(),i.set(null,s)):i.set(s.ruleId,s))}return f}function r(h){const i=[],f=new Set,{sourceCode:m}=h;for(const b of h.problems){let C=[],w=0;for(;w<h.directives.length&&n(h.directives[w],b)<=0;){const E=h.directives[w++];if(E.ruleId===null||E.ruleId===b.ruleId)switch(E.type){case"disable":C.push(E);break;case"enable":C=[];break}}if(C.length>0){const E=C.map(k=>({kind:"directive",justification:k.unprocessedDirective.justification}));b.suppressions?b.suppressions=b.suppressions.concat(E):(b.suppressions=E,f.add(C.at(-1)))}i.push(b)}const s=h.directives.filter(b=>b.type==="disable"&&!f.has(b)&&!h.rulesToIgnore.has(b.ruleId)),l=new Set(h.directives.filter(b=>b.unprocessedDirective.type==="enable"&&!h.rulesToIgnore.has(b.ruleId)));if(l.size>0)for(const b of u(h.directives))l.delete(b);const d=p(s,m).concat(p(l,m)),g=h.language.columnStart===1?0:1,v=h.language.lineStart===1?0:1,S=d.map(({description:b,fix:C,unprocessedDirective:w})=>{const{parentDirective:E,type:k,line:x,column:A}=w;let I;k==="enable"?I=b?`Unused eslint-enable directive (no matching eslint-disable directives were found for ${b}).`:"Unused eslint-enable directive (no matching eslint-disable directives were found).":I=b?`Unused eslint-disable directive (no problems were reported from ${b}).`:"Unused eslint-disable directive (no problems were reported).";const B=m.getLoc(E.node);return{ruleId:null,message:I,line:k==="disable-next-line"?B.start.line+v:x,column:k==="disable-next-line"?B.start.column+g:A,severity:h.reportUnusedDisableDirectives==="warn"?1:2,nodeType:null,...h.disableFixes?{}:{fix:C}}});return{problems:i,unusedDirectives:S}}return Za=({language:h,sourceCode:i,directives:f,disableFixes:m,problems:s,configuredRules:l,ruleFilter:d,reportUnusedDisableDirectives:g="off"})=>{const v=f.filter(E=>E.type==="disable"||E.type==="enable").map(E=>Object.assign({},E,{unprocessedDirective:E})).sort(n),S=f.flatMap(E=>{switch(E.type){case"disable":case"enable":return[];case"disable-line":return[{type:"disable",line:E.line,column:1,ruleId:E.ruleId,unprocessedDirective:E},{type:"enable",line:E.line+1,column:0,ruleId:E.ruleId,unprocessedDirective:E}];case"disable-next-line":return[{type:"disable",line:E.line+1,column:1,ruleId:E.ruleId,unprocessedDirective:E},{type:"enable",line:E.line+2,column:0,ruleId:E.ruleId,unprocessedDirective:E}];default:throw new TypeError(`Unrecognized directive type '${E.type}'`)}}).sort(n),b=l&&d?new Set(Object.keys(l).filter(E=>{const k=e.getRuleSeverity(l[E]);return k===0?!1:!d({severity:k,ruleId:E})})):new Set;b.size>0&&b.add(null);const C=r({language:h,sourceCode:i,problems:s,directives:v,disableFixes:m,reportUnusedDisableDirectives:g,rulesToIgnore:b}),w=r({language:h,sourceCode:i,problems:C.problems,directives:S,disableFixes:m,reportUnusedDisableDirectives:g,rulesToIgnore:b});return g!=="off"?w.problems.concat(C.unusedDirectives).concat(w.unusedDirectives).sort(n):w.problems},Za}var ei,Ld;function fw(){var n;if(Ld)return ei;Ld=1;function a(o,t){return{range:[o,o],text:t}}class e{constructor({sourceCode:t}){Xt(this,n);hr(this,n,t)}insertTextAfter(t,c){const p=Tt(this,n).getRange(t);return this.insertTextAfterRange(p,c)}insertTextAfterRange(t,c){return a(t[1],c)}insertTextBefore(t,c){const p=Tt(this,n).getRange(t);return this.insertTextBeforeRange(p,c)}insertTextBeforeRange(t,c){return a(t[0],c)}replaceText(t,c){const p=Tt(this,n).getRange(t);return this.replaceTextRange(p,c)}replaceTextRange(t,c){return{range:t,text:c}}remove(t){const c=Tt(this,n).getRange(t);return this.removeRange(c)}removeRange(t){return{range:t,text:""}}}return n=new WeakMap,ei={RuleFixer:e},ei}var ti,Od;function pw(){if(Od)return ti;Od=1;function a(){return/\{\{([^{}]+?)\}\}/gu}function e(n,o){if(!o)return n;const t=a();return n.replace(t,(c,p)=>{const u=p.trim();return u in o?o[u]:c})}return ti={getPlaceholderMatcher:a,interpolate:e},ti}var ri,Nd;function mw(){if(Nd)return ri;Nd=1;const a=jn(),{RuleFixer:e}=fw(),{interpolate:n}=pw();function o(...l){return l.length===1?Object.assign({},l[0]):typeof l[1]=="string"?{node:l[0],message:l[1],data:l[2],fix:l[3]}:{node:l[0],loc:l[1],message:l[2],data:l[3],fix:l[4]}}function t(l){l.node?a(typeof l.node=="object","Node must be an object"):a(l.loc,"Node must be provided when reporting error if location is not provided")}function c(l){return l.loc.start?l.loc:{start:l.loc,end:null}}function p(l){return l?{range:[l.range[0],l.range[1]],text:l.text}:null}function u(l){l&&a(l.range&&typeof l.range[0]=="number"&&typeof l.range[1]=="number",`Fix has invalid range: ${JSON.stringify(l,null,2)}`)}function r(l,d){return l.range[0]-d.range[0]||l.range[1]-d.range[1]}function h(l,d){for(const w of l)u(w);if(l.length===0)return null;if(l.length===1)return p(l[0]);l.sort(r);const g=d.text,v=l[0].range[0],S=l.at(-1).range[1];let b="",C=Number.MIN_SAFE_INTEGER;for(const w of l)a(w.range[0]>=C,"Fix objects must not be overlapped in a report."),w.range[0]>=0&&(b+=g.slice(Math.max(0,v,C),w.range[0])),b+=w.text,C=w.range[1];return b+=g.slice(Math.max(0,v,C),S),{range:[v,S],text:b}}function i(l,d){if(typeof l.fix!="function")return null;const g=new e({sourceCode:d}),v=l.fix(g);return v&&Symbol.iterator in v?h(Array.from(v),d):(u(v),p(v))}function f(l,d,g){return!l.suggest||!Array.isArray(l.suggest)?[]:l.suggest.map(v=>{const S=v.desc||g[v.messageId];return{...v,desc:n(S,v.data),fix:i(v,d)}}).filter(({fix:v})=>v)}function m(l){const{language:d}=l,g=d.columnStart===1?0:1,v=d.lineStart===1?0:1,S={ruleId:l.ruleId,severity:l.severity,message:l.message,line:l.loc.start.line+v,column:l.loc.start.column+g,nodeType:l.node&&l.node.type||null};return l.messageId&&(S.messageId=l.messageId),l.loc.end&&(S.endLine=l.loc.end.line+v,S.endColumn=l.loc.end.column+g),l.fix&&(S.fix=l.fix),l.suggestions&&l.suggestions.length>0&&(S.suggestions=l.suggestions),S}function s(l,d){l&&Array.isArray(l)&&l.forEach(g=>{if(g.messageId){const{messageId:v}=g;if(!d)throw new TypeError(`context.report() called with a suggest option with a messageId '${v}', but no messages were present in the rule metadata.`);if(!d[v])throw new TypeError(`context.report() called with a suggest option with a messageId '${v}' which is not present in the 'messages' config: ${JSON.stringify(d,null,2)}`);if(g.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(!g.desc)throw new TypeError("context.report() called with a suggest option that doesn't have either a `desc` or `messageId`");if(typeof g.fix!="function")throw new TypeError(`context.report() called with a suggest option without a fix function. See: ${g}`)})}return ri=function(d){return(...g)=>{const v=o(...g),S=d.messageIds,{sourceCode:b}=d;t(v);let C;if(v.messageId){if(!S)throw new TypeError("context.report() called with a messageId, but no messages were present in the rule metadata.");const w=v.messageId;if(v.message)throw new TypeError("context.report() called with a message and a messageId. Please only pass one.");if(!S||!Object.hasOwn(S,w))throw new TypeError(`context.report() called with a messageId of '${w}' which is not present in the 'messages' config: ${JSON.stringify(S,null,2)}`);C=S[w]}else if(v.message)C=v.message;else throw new TypeError("Missing `message` property in report() call; add a message that describes the linting problem.");return s(v.suggest,S),m({ruleId:d.ruleId,severity:d.severity,node:v.node,message:n(C,v.data),messageId:v.messageId,loc:v.loc?c(v):b.getLoc(v.node),fix:d.disableFixes?null:i(v,b),suggestions:d.disableFixes?[]:f(v,b,S),language:d.language})}},ri}function hw(a){throw new Error('Could not dynamically require "'+a+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ni,jd;function dw(){if(jd)return ni;jd=1;const a=Rr()("eslint:rules");class e extends Map{constructor(o){let t=o.length;super(a.enabled?o.map(([c,p])=>{let u=null;return[c,()=>(u||(a("Loading rule %o (remaining=%d)",c,--t),u=p()),u)]}):o),Object.defineProperty(e.prototype,"set",{configurable:!0,value:void 0})}get(o){const t=super.get(o);return t&&t()}*values(){for(const o of super.values())yield o()}*entries(){for(const[o,t]of super.entries())yield[o,t()]}forEach(o,t){for(const[c,p]of super.entries())o.call(t,p(),c,this)}}return Object.defineProperties(e.prototype,{clear:{configurable:!0,value:void 0},delete:{configurable:!0,value:void 0},[Symbol.iterator]:{configurable:!0,writable:!0,value:e.prototype.entries}}),ni={LazyLoadingRuleMap:e},ni}var si={exports:{}},cn={},ai={exports:{}},Md;function gw(){return Md||(Md=1,function(){function a(p){if(p==null)return!1;switch(p.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function e(p){if(p==null)return!1;switch(p.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function n(p){if(p==null)return!1;switch(p.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 o(p){return n(p)||p!=null&&p.type==="FunctionDeclaration"}function t(p){switch(p.type){case"IfStatement":return p.alternate!=null?p.alternate:p.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return p.body}return null}function c(p){var u;if(p.type!=="IfStatement"||p.alternate==null)return!1;u=p.consequent;do{if(u.type==="IfStatement"&&u.alternate==null)return!0;u=t(u)}while(u);return!1}ai.exports={isExpression:a,isStatement:n,isIterationStatement:e,isSourceElement:o,isProblematicIfStatement:c,trailingStatement:t}}()),ai.exports}var ii={exports:{}},Ud;function qd(){return Ud||(Ud=1,function(){var a,e,n,o,t,c;e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},a={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function p(g){return 48<=g&&g<=57}function u(g){return 48<=g&&g<=57||97<=g&&g<=102||65<=g&&g<=70}function r(g){return g>=48&&g<=55}n=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function h(g){return g===32||g===9||g===11||g===12||g===160||g>=5760&&n.indexOf(g)>=0}function i(g){return g===10||g===13||g===8232||g===8233}function f(g){if(g<=65535)return String.fromCharCode(g);var v=String.fromCharCode(Math.floor((g-65536)/1024)+55296),S=String.fromCharCode((g-65536)%1024+56320);return v+S}for(o=new Array(128),c=0;c<128;++c)o[c]=c>=97&&c<=122||c>=65&&c<=90||c===36||c===95;for(t=new Array(128),c=0;c<128;++c)t[c]=c>=97&&c<=122||c>=65&&c<=90||c>=48&&c<=57||c===36||c===95;function m(g){return g<128?o[g]:e.NonAsciiIdentifierStart.test(f(g))}function s(g){return g<128?t[g]:e.NonAsciiIdentifierPart.test(f(g))}function l(g){return g<128?o[g]:a.NonAsciiIdentifierStart.test(f(g))}function d(g){return g<128?t[g]:a.NonAsciiIdentifierPart.test(f(g))}ii.exports={isDecimalDigit:p,isHexDigit:u,isOctalDigit:r,isWhiteSpace:h,isLineTerminator:i,isIdentifierStartES5:m,isIdentifierPartES5:s,isIdentifierStartES6:l,isIdentifierPartES6:d}}()),ii.exports}var oi={exports:{}},Vd;function yw(){return Vd||(Vd=1,function(){var a=qd();function e(m){switch(m){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function n(m,s){return!s&&m==="yield"?!1:o(m,s)}function o(m,s){if(s&&e(m))return!0;switch(m.length){case 2:return m==="if"||m==="in"||m==="do";case 3:return m==="var"||m==="for"||m==="new"||m==="try";case 4:return m==="this"||m==="else"||m==="case"||m==="void"||m==="with"||m==="enum";case 5:return m==="while"||m==="break"||m==="catch"||m==="throw"||m==="const"||m==="yield"||m==="class"||m==="super";case 6:return m==="return"||m==="typeof"||m==="delete"||m==="switch"||m==="export"||m==="import";case 7:return m==="default"||m==="finally"||m==="extends";case 8:return m==="function"||m==="continue"||m==="debugger";case 10:return m==="instanceof";default:return!1}}function t(m,s){return m==="null"||m==="true"||m==="false"||n(m,s)}function c(m,s){return m==="null"||m==="true"||m==="false"||o(m,s)}function p(m){return m==="eval"||m==="arguments"}function u(m){var s,l,d;if(m.length===0||(d=m.charCodeAt(0),!a.isIdentifierStartES5(d)))return!1;for(s=1,l=m.length;s<l;++s)if(d=m.charCodeAt(s),!a.isIdentifierPartES5(d))return!1;return!0}function r(m,s){return(m-55296)*1024+(s-56320)+65536}function h(m){var s,l,d,g,v;if(m.length===0)return!1;for(v=a.isIdentifierStartES6,s=0,l=m.length;s<l;++s){if(d=m.charCodeAt(s),55296<=d&&d<=56319){if(++s,s>=l||(g=m.charCodeAt(s),!(56320<=g&&g<=57343)))return!1;d=r(d,g)}if(!v(d))return!1;v=a.isIdentifierPartES6}return!0}function i(m,s){return u(m)&&!t(m,s)}function f(m,s){return h(m)&&!c(m,s)}oi.exports={isKeywordES5:n,isKeywordES6:o,isReservedWordES5:t,isReservedWordES6:c,isRestrictedWord:p,isIdentifierNameES5:u,isIdentifierNameES6:h,isIdentifierES5:i,isIdentifierES6:f}}()),oi.exports}var $d;function Wd(){return $d||($d=1,function(){cn.ast=gw(),cn.code=qd(),cn.keyword=yw()}()),cn}var li,Gd;function ui(){return Gd||(Gd=1,li={LATEST_ECMA_VERSION:2025}),li}var zd;function Me(){return zd||(zd=1,function(a){const{KEYS:e}=Qr(),n=Wd(),o=xn(),t=Un(),{breakableTypePattern:c,createGlobalLinebreakMatcher:p,lineBreakPattern:u,shebangPattern:r}=Mn(),h=ed(),{LATEST_ECMA_VERSION:i}=ui(),f=/^(?:Function(?:Declaration|Expression)|ArrowFunctionExpression)$/u,m=/^(?:DoWhile|For|ForIn|ForOf|While)Statement$/u,s=/^(?:every|filter|find(?:Last)?(?:Index)?|flatMap|forEach|map|some)$/u,l=/Array$/u,d=/^(?:bind|call|apply)$/u,g=/^[\s*]*@this/mu,v=/^\s*(?:eslint|jshint\s+|jslint\s+|istanbul\s+|globals?\s+|exported\s+|jscs)/u,S=/^(?:eslint[- ]|(?:globals?|exported) )/u,b=new Set([`\r
51
- `,"\r",`
52
- `,"\u2028","\u2029"]),C=new Set(["Program","BlockStatement","StaticBlock","SwitchCase"]),w=/^(?:0|0[0-7]*[89]\d*|[1-9](?:_?\d)*)$/u,E=/^(?:[^\\]|\\.)*\\(?:[1-9]|0[0-9])/su,k=new Set(["&&=","||=","??="]),x=h[`es${i}`];function A(O,Q,ie){const Z=O.identifier,le=Q===0||ie[Q-1].identifier!==Z;return Z&&O.init===!1&&O.isWrite()&&le}function I(O){return O[0]!==O[0].toLocaleLowerCase()}function B(O){return O.id&&I(O.id.name)}function M(O){for(let Q=O;Q;Q=Q.parent)if(f.test(Q.type))return Q;return null}function P(O){return!!(O&&f.test(O.type))}function D(O){return!!(O&&m.test(O.type))}function R(O){for(let Q=O;Q&&!P(Q);Q=Q.parent)if(D(Q))return!0;return!1}function N(O){return O.type==="Literal"&&O.value===null&&!O.regex&&!O.bigint}function q(O){return N(O)||O.type==="Identifier"&&O.name==="undefined"||O.type==="UnaryExpression"&&O.operator==="void"}function L(O){return O.parent.type==="CallExpression"&&O.parent.callee===O}function W(O){switch(O.type){case"Literal":if(O.value===null){if(N(O))return String(O.value);if(O.regex)return`/${O.regex.pattern}/${O.regex.flags}`;if(O.bigint)return O.bigint}else return String(O.value);break;case"TemplateLiteral":if(O.expressions.length===0&&O.quasis.length===1)return O.quasis[0].value.cooked;break}return null}function _(O){let Q;switch(O&&O.type){case"ChainExpression":return _(O.expression);case"Property":case"PropertyDefinition":case"MethodDefinition":Q=O.key;break;case"MemberExpression":Q=O.property;break}return Q?Q.type==="Identifier"&&!O.computed?Q.name:W(Q):null}function H(O){return O&&O.type==="ChainExpression"?O.expression:O}function K(O,Q){return typeof Q=="string"?O===Q:Q.test(O)}function re(O,Q){return O.type==="Identifier"&&K(O.name,Q)}function te(O,Q,ie){const Z=H(O);if(Z.type!=="MemberExpression"||Q&&!re(Z.object,Q))return!1;if(ie){const le=_(Z);if(typeof le!="string"||!K(le,ie))return!1}return!0}function xe(O,Q){return O.regex||Q.regex?!!(O.regex&&Q.regex&&O.regex.pattern===Q.regex.pattern&&O.regex.flags===Q.regex.flags):O.bigint||Q.bigint?O.bigint===Q.bigint:O.value===Q.value}function Y(O,Q,ie=!1){if(O.type!==Q.type)return O.type==="ChainExpression"?Y(O.expression,Q,ie):Q.type==="ChainExpression"?Y(O,Q.expression,ie):!1;switch(O.type){case"Super":case"ThisExpression":return!0;case"Identifier":case"PrivateIdentifier":return O.name===Q.name;case"Literal":return xe(O,Q);case"ChainExpression":return Y(O.expression,Q.expression,ie);case"MemberExpression":{if(!ie){const Z=_(O);if(Z!==null)return Y(O.object,Q.object,ie)&&Z===_(Q)}return O.computed===Q.computed&&Y(O.object,Q.object,ie)&&Y(O.property,Q.property,ie)}default:return!1}}function F(O){return te(O,"Reflect","apply")}function z(O){return te(O,l,"from")}function ne(O){return te(O,null,s)}function ae(O){return Q=>!O(Q)}function be(O,Q){const ie=Q.getJSDocComment(O);return ie&&g.test(ie.value)?!0:Q.getCommentsBefore(O).some(Z=>g.test(Z.value))}function Pe(O,Q){const ie=O.getTokenBefore(Q),Z=O.getTokenAfter(Q);return!!(ie&&Z)&&ie.value==="("&&ie.range[1]<=Q.range[0]&&Z.value===")"&&Z.range[0]>=Q.range[1]}function Ie(O){return O.value==="="&&O.type==="Punctuator"}function ue(O){return O.value==="=>"&&O.type==="Punctuator"}function ve(O){return O.value===","&&O.type==="Punctuator"}function G(O){return O.value==="."&&O.type==="Punctuator"}function J(O){return O.value==="?."&&O.type==="Punctuator"}function Te(O){return O.value===";"&&O.type==="Punctuator"}function $(O){return O.value===":"&&O.type==="Punctuator"}function se(O){return O.value==="("&&O.type==="Punctuator"}function De(O){return O.value===")"&&O.type==="Punctuator"}function Le(O){return O.value==="["&&O.type==="Punctuator"}function Fe(O){return O.value==="]"&&O.type==="Punctuator"}function V(O){return O.value==="{"&&O.type==="Punctuator"}function et(O){return O.value==="}"&&O.type==="Punctuator"}function nt(O){return O.type==="Line"||O.type==="Block"||O.type==="Shebang"}function lt(O){return O.type==="Keyword"}function Qe(O,Q){if(O.type==="ArrowFunctionExpression"&&O.params.length===1){const ie=Q.getFirstToken(O.params[0]),Z=Q.getTokenBefore(ie);return se(Z)?Z:ie}return O.id?Q.getTokenAfter(O.id,se):Q.getFirstToken(O,se)}function Xe(O,Q,ie){const Z=ie.getTokens(O),le=ie.getTokens(Q);if(Z.length!==le.length)return!1;for(let Ae=0;Ae<Z.length;++Ae)if(Z[Ae].type!==le[Ae].type||Z[Ae].value!==le[Ae].value)return!1;return!0}function pt(O){return O.type==="LogicalExpression"&&(O.operator==="&&"||O.operator==="||")}function tt(O){return O.type==="LogicalExpression"&&O.operator==="??"}function Dt(O,Q){return pt(O)&&tt(Q)||tt(O)&&pt(Q)}function st(O){return k.has(O)}function Ce(O,Q){return O.test?Q.getTokenAfter(O.test,$):Q.getFirstToken(O,1)}function ge(O){return O.type==="Identifier"?O.name:O.value}function ye(O){return O.value===null?O.raw==="null"?!1:typeof O.regex=="object"?!0:null:!!O.value}function Re(O,Q){switch(O.type){case"Literal":return Q==="||"&&ye(O)===!0||Q==="&&"&&ye(O)===!1;case"UnaryExpression":return Q==="&&"&&O.operator==="void";case"LogicalExpression":return Q===O.operator&&(Re(O.left,Q)||Re(O.right,Q));case"AssignmentExpression":return["||=","&&="].includes(O.operator)&&Q===O.operator.slice(0,-1)&&Re(O.right,Q)}return!1}function We(O,Q){const ie=O.references.find(Z=>Z.identifier===Q);return!!(ie&&ie.resolved&&ie.resolved.scope.type==="global"&&ie.resolved.defs.length===0)}function ce(O,Q,ie){if(!Q)return!0;switch(Q.type){case"Literal":case"ArrowFunctionExpression":case"FunctionExpression":return!0;case"ClassExpression":case"ObjectExpression":return!0;case"TemplateLiteral":return ie&&Q.quasis.some(Z=>Z.value.cooked.length)||Q.expressions.every(Z=>ce(O,Z,!1));case"ArrayExpression":return ie?!0:Q.elements.every(Z=>ce(O,Z,!1));case"UnaryExpression":return Q.operator==="void"||Q.operator==="typeof"&&ie?!0:Q.operator==="!"?ce(O,Q.argument,!0):ce(O,Q.argument,!1);case"BinaryExpression":return ce(O,Q.left,!1)&&ce(O,Q.right,!1)&&Q.operator!=="in";case"LogicalExpression":{const Z=ce(O,Q.left,ie),le=ce(O,Q.right,ie),Ae=Z&&Re(Q.left,Q.operator),_e=ie&&le&&Re(Q.right,Q.operator);return Z&&le||Ae||_e}case"NewExpression":return ie;case"AssignmentExpression":return Q.operator==="="?ce(O,Q.right,ie):["||=","&&="].includes(Q.operator)&&ie?Re(Q.right,Q.operator.slice(0,-1)):!1;case"SequenceExpression":return ce(O,Q.expressions.at(-1),ie);case"SpreadElement":return ce(O,Q.argument,ie);case"CallExpression":return Q.callee.type==="Identifier"&&Q.callee.name==="Boolean"&&(Q.arguments.length===0||ce(O,Q.arguments[0],!0))?We(O,Q.callee):!1;case"Identifier":return Q.name==="undefined"&&We(O,Q)}return!1}function de(O){if(O.type!=="ExpressionStatement")return!1;const Q=O.parent;return Q.type==="Program"||Q.type==="TSModuleBlock"||Q.type==="BlockStatement"&&P(Q.parent)}function he(O){return O.type==="ExpressionStatement"&&typeof O.directive=="string"}function ke(O){const Q=O.range[0];let ie=O;for(;(ie=ie.parent)&&ie.range[0]===Q;)if(ie.type==="ExpressionStatement")return!0;return!1}let $e;{const O=new Set(["BreakStatement","ContinueStatement"]),Q=new Set(["ExportAllDeclaration","ExportNamedDeclaration","ImportDeclaration"]),ie=new Set(["Identifier","Keyword"]),Z={__proto__:null,break:"BreakStatement",continue:"ContinueStatement",debugger:"DebuggerStatement",do:"DoWhileStatement",else:"IfStatement",return:"ReturnStatement",yield:"YieldExpression"},le=new Set([":",";","{","=>","++","--"]),Ae=new Set(["DoWhileStatement","ForInStatement","ForOfStatement","ForStatement","IfStatement","WhileStatement","WithStatement"]);$e=function(_e,Ve){const Ye=_e.getTokenBefore(Ve);if(!Ye||Ye.type==="Punctuator"&&le.has(Ye.value))return!1;const me=_e.getNodeByRangeIndex(Ye.range[0]);if(De(Ye))return!Ae.has(me.type);if(et(Ye))return me.type==="BlockStatement"&&me.parent.type==="FunctionExpression"&&me.parent.parent.type!=="MethodDefinition"||me.type==="ClassBody"&&me.parent.type==="ClassExpression"||me.type==="ObjectExpression";if(ie.has(Ye.type)){if(O.has(me.parent.type))return!1;const oe=Ye.value,we=Z[oe];return me.type!==we}return Ye.type==="String"?!Q.has(me.parent.type):!0}}function Ee(O){const{parent:Q}=O;if(Q.type==="ImportAttribute"&&Q.key===O)return!0;if(Q.type==="Property"&&!Q.computed&&(Q.key===O||Q.value===O&&Q.shorthand&&!Q.method)&&Q.parent.type==="ObjectExpression"){const ie=Q.parent,Z=ie.parent;if(Z.type==="ImportExpression"&&Z.options===ie)return!0;if(Z.type==="Property"&&Z.value===ie)return Ee(Z.key)}return!1}a.exports={COMMENTS_IGNORE_PATTERN:v,LINEBREAKS:b,LINEBREAK_MATCHER:u,SHEBANG_MATCHER:r,STATEMENT_LIST_PARENTS:C,ECMASCRIPT_GLOBALS:x,isTokenOnSameLine(O,Q){return O.loc.end.line===Q.loc.start.line},isNullOrUndefined:q,isCallee:L,isES5Constructor:B,getUpperFunction:M,isFunction:P,isLoop:D,isInLoop:R,isArrayFromMethod:z,isParenthesised:Pe,createGlobalLinebreakMatcher:p,equalTokens:Xe,isArrowToken:ue,isClosingBraceToken:et,isClosingBracketToken:Fe,isClosingParenToken:De,isColonToken:$,isCommaToken:ve,isCommentToken:nt,isDotToken:G,isQuestionDotToken:J,isKeywordToken:lt,isNotClosingBraceToken:ae(et),isNotClosingBracketToken:ae(Fe),isNotClosingParenToken:ae(De),isNotColonToken:ae($),isNotCommaToken:ae(ve),isNotDotToken:ae(G),isNotQuestionDotToken:ae(J),isNotOpeningBraceToken:ae(V),isNotOpeningBracketToken:ae(Le),isNotOpeningParenToken:ae(se),isNotSemicolonToken:ae(Te),isOpeningBraceToken:V,isOpeningBracketToken:Le,isOpeningParenToken:se,isSemicolonToken:Te,isEqToken:Ie,isStringLiteral(O){return O.type==="Literal"&&typeof O.value=="string"||O.type==="TemplateLiteral"},isBreakableStatement(O){return c.test(O.type)},getModifyingReferences(O){return O.filter(A)},isSurroundedBy(O,Q){return O[0]===Q&&O.at(-1)===Q},isDirectiveComment(O){const Q=O.value.trim();return O.type==="Line"&&Q.startsWith("eslint-")||O.type==="Block"&&S.test(Q)},getTrailingStatement:n.ast.trailingStatement,getVariableByName(O,Q){let ie=O;for(;ie;){const Z=ie.set.get(Q);if(Z)return Z;ie=ie.upper}return null},isDefaultThisBinding(O,Q,{capIsConstructor:ie=!0}={}){if(O.parent.type==="PropertyDefinition"&&O.parent.value===O||O.type==="StaticBlock"||(O.type==="FunctionDeclaration"||O.type==="FunctionExpression")&&O.params.some(Ae=>Ae.type==="Identifier"&&Ae.name==="this")||ie&&B(O)||be(O,Q))return!1;const Z=O.id===null;let le=O;for(;le;){const Ae=le.parent;switch(Ae.type){case"LogicalExpression":case"ConditionalExpression":case"ChainExpression":le=Ae;break;case"ReturnStatement":{const _e=M(Ae);if(_e===null||!L(_e))return!0;le=_e.parent;break}case"ArrowFunctionExpression":if(le!==Ae.body||!L(Ae))return!0;le=Ae.parent;break;case"Property":case"PropertyDefinition":case"MethodDefinition":return Ae.value!==le;case"AssignmentExpression":case"AssignmentPattern":return!(Ae.left.type==="MemberExpression"||ie&&Z&&Ae.left.type==="Identifier"&&I(Ae.left.name));case"VariableDeclarator":return!(ie&&Z&&Ae.init===le&&Ae.id.type==="Identifier"&&I(Ae.id.name));case"MemberExpression":if(Ae.object===le&&te(Ae,null,d)){const _e=Ae.parent.type==="ChainExpression"?Ae.parent:Ae;return!(L(_e)&&_e.parent.arguments.length>=1&&!q(_e.parent.arguments[0]))}return!0;case"CallExpression":return F(Ae.callee)?Ae.arguments.length!==3||Ae.arguments[0]!==le||q(Ae.arguments[1]):z(Ae.callee)?Ae.arguments.length!==3||Ae.arguments[1]!==le||q(Ae.arguments[2]):ne(Ae.callee)?Ae.arguments.length!==2||Ae.arguments[0]!==le||q(Ae.arguments[1]):!0;default:return!0}}return!0},getPrecedence(O){switch(O.type){case"SequenceExpression":return 0;case"AssignmentExpression":case"ArrowFunctionExpression":case"YieldExpression":return 1;case"ConditionalExpression":return 3;case"LogicalExpression":switch(O.operator){case"||":case"??":return 4;case"&&":return 5}case"BinaryExpression":switch(O.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 O.type in e?20:-1}},isEmptyBlock(O){return!!(O&&O.type==="BlockStatement"&&O.body.length===0)},isEmptyFunction(O){return P(O)&&a.exports.isEmptyBlock(O.body)},getDirectivePrologue(O){const Q=[];if(O.type==="Program"||O.type==="FunctionDeclaration"||O.type==="FunctionExpression"||O.type==="ArrowFunctionExpression"&&O.body.type==="BlockStatement"){const ie=O.type==="Program"?O.body:O.body.body;for(const Z of ie)if(Z.type==="ExpressionStatement"&&Z.expression.type==="Literal")Q.push(Z);else break}return Q},isDecimalInteger(O){return O.type==="Literal"&&typeof O.value=="number"&&w.test(O.raw)},isDecimalIntegerNumericToken(O){return O.type==="Numeric"&&w.test(O.value)},getFunctionNameWithKind(O){const Q=O.parent,ie=[];if((Q.type==="MethodDefinition"||Q.type==="PropertyDefinition")&&(Q.static&&ie.push("static"),!Q.computed&&Q.key.type==="PrivateIdentifier"&&ie.push("private")),O.async&&ie.push("async"),O.generator&&ie.push("generator"),Q.type==="Property"||Q.type==="MethodDefinition"){if(Q.kind==="constructor")return"constructor";Q.kind==="get"?ie.push("getter"):Q.kind==="set"?ie.push("setter"):ie.push("method")}else Q.type==="PropertyDefinition"?ie.push("method"):(O.type==="ArrowFunctionExpression"&&ie.push("arrow"),ie.push("function"));if(Q.type==="Property"||Q.type==="MethodDefinition"||Q.type==="PropertyDefinition")if(!Q.computed&&Q.key.type==="PrivateIdentifier")ie.push(`#${Q.key.name}`);else{const Z=_(Q);Z!==null?ie.push(`'${Z}'`):O.id&&ie.push(`'${O.id.name}'`)}else O.id&&ie.push(`'${O.id.name}'`);return ie.join(" ")},getFunctionHeadLoc(O,Q){const ie=O.parent;let Z,le;if(ie.type==="Property"||ie.type==="MethodDefinition"||ie.type==="PropertyDefinition")Z=ie.loc.start,le=Qe(O,Q).loc.start;else if(O.type==="ArrowFunctionExpression"){const Ae=Q.getTokenBefore(O.body,ue);Z=Ae.loc.start,le=Ae.loc.end}else Z=O.loc.start,le=Qe(O,Q).loc.start;return{start:Object.assign({},Z),end:Object.assign({},le)}},getNextLocation(O,{line:Q,column:ie}){return ie<O.lines[Q-1].length?{line:Q,column:ie+1}:Q<O.lines.length?{line:Q+1,column:0}:null},getParenthesisedText(O,Q){let ie=O.getFirstToken(Q),Z=O.getLastToken(Q);for(;O.getTokenBefore(ie)&&O.getTokenBefore(ie).type==="Punctuator"&&O.getTokenBefore(ie).value==="("&&O.getTokenAfter(Z)&&O.getTokenAfter(Z).type==="Punctuator"&&O.getTokenAfter(Z).value===")";)ie=O.getTokenBefore(ie),Z=O.getTokenAfter(Z);return O.getText().slice(ie.range[0],Z.range[1])},couldBeError(O){switch(O.type){case"Identifier":case"CallExpression":case"NewExpression":case"MemberExpression":case"TaggedTemplateExpression":case"YieldExpression":case"AwaitExpression":case"ChainExpression":return!0;case"AssignmentExpression":return["=","&&="].includes(O.operator)?a.exports.couldBeError(O.right):["||=","??="].includes(O.operator)?a.exports.couldBeError(O.left)||a.exports.couldBeError(O.right):!1;case"SequenceExpression":{const Q=O.expressions;return Q.length!==0&&a.exports.couldBeError(Q.at(-1))}case"LogicalExpression":return O.operator==="&&"?a.exports.couldBeError(O.right):a.exports.couldBeError(O.left)||a.exports.couldBeError(O.right);case"ConditionalExpression":return a.exports.couldBeError(O.consequent)||a.exports.couldBeError(O.alternate);default:return!1}},isNumericLiteral(O){return O.type==="Literal"&&(typeof O.value=="number"||!!O.bigint)},canTokensBeAdjacent(O,Q){const ie={ecmaVersion:o.latestEcmaVersion,comment:!0,range:!0};let Z;if(typeof O=="string"){let Ae;try{Ae=o.tokenize(O,ie)}catch{return!1}const _e=Ae.comments;if(Z=Ae.at(-1),_e.length){const Ve=_e.at(-1);(!Z||Ve.range[0]>Z.range[0])&&(Z=Ve)}}else Z=O;if(Z.type==="Shebang"||Z.type==="Hashbang")return!1;let le;if(typeof Q=="string"){let Ae;try{Ae=o.tokenize(Q,ie)}catch{return!1}const _e=Ae.comments;if(le=Ae[0],_e.length){const Ve=_e[0];(!le||Ve.range[0]<le.range[0])&&(le=Ve)}}else le=Q;if(Z.type==="Punctuator"||le.type==="Punctuator"){if(Z.type==="Punctuator"&&le.type==="Punctuator"){const Ae=new Set(["+","++"]),_e=new Set(["-","--"]);return!(Ae.has(Z.value)&&Ae.has(le.value)||_e.has(Z.value)&&_e.has(le.value))}return Z.type==="Punctuator"&&Z.value==="/"?!["Block","Line","RegularExpression"].includes(le.type):!0}return!!(Z.type==="String"||le.type==="String"||Z.type==="Template"||le.type==="Template"||Z.type!=="Numeric"&&le.type==="Numeric"&&le.value.startsWith(".")||Z.type==="Block"||le.type==="Block"||le.type==="Line"||le.type==="PrivateIdentifier")},getNameLocationInGlobalDirectiveComment(O,Q,ie){const Z=new RegExp(`[\\s,]${t(ie)}(?:$|[\\s,:])`,"gu");Z.lastIndex=Q.value.indexOf("global")+6;const le=Z.exec(Q.value),Ae=O.getLocFromIndex(Q.range[0]+2+(le?le.index+1:0)),_e={line:Ae.line,column:Ae.column+(le?ie.length:1)};return{start:Ae,end:_e}},hasOctalOrNonOctalDecimalEscapeSequence(O){return E.test(O)},isStaticTemplateLiteral(O){return O.type==="TemplateLiteral"&&O.expressions.length===0},areBracesNecessary(O,Q){function ie(Ve){return Ve.type==="VariableDeclaration"?Ve.kind==="const"||Ve.kind==="let":Ve.type==="FunctionDeclaration"||Ve.type==="ClassDeclaration"}function Z(Ve){return Ve.value==="else"&&Ve.type==="Keyword"}function le(Ve){const Ye=Q.getTokenAfter(Ve);return!!Ye&&Z(Ye)}function Ae(Ve){switch(Ve.type){case"IfStatement":return Ve.alternate?Ae(Ve.alternate):!0;case"ForStatement":case"ForInStatement":case"ForOfStatement":case"LabeledStatement":case"WithStatement":case"WhileStatement":return Ae(Ve.body);default:return!1}}const _e=O.body[0];return ie(_e)||Ae(_e)&&le(O)},isReferenceToGlobalVariable:We,isLogicalExpression:pt,isCoalesceExpression:tt,isMixedLogicalAndCoalesceExpressions:Dt,isNullLiteral:N,getStaticStringValue:W,getStaticPropertyName:_,skipChainExpression:H,isSpecificId:re,isSpecificMemberAccess:te,equalLiteralValue:xe,isSameReference:Y,isLogicalAssignmentOperator:st,getSwitchCaseColonToken:Ce,getModuleExportName:ge,isConstant:ce,isTopLevelExpressionStatement:de,isDirective:he,isStartOfExpressionStatement:ke,needsPrecedingSemicolon:$e,isImportAttributeKey:Ee}}(si)),si.exports}var ci,Hd;function vw(){if(Hd)return ci;Hd=1;const a=Me();function e(p,u){if(p.length!==u.length)return!1;for(let r=0;r<p.length;r++){const h=p[r],i=u[r];if(h.type!==i.type||h.value!==i.value)return!1}return!0}function n(p,u){return typeof p=="string"&&typeof u=="string"?p===u:Array.isArray(p)&&Array.isArray(u)?e(p,u):!1}function o(p){return p.kind==="get"||p.kind==="set"}function t(p,u,r,h){const i=p.parent;return i.type==="CallExpression"&&a.isSpecificMemberAccess(i.callee,r,h)&&i.arguments[u]===p}function c(p){if(t(p,2,"Object","defineProperty")||t(p,2,"Reflect","defineProperty"))return!0;const u=p.parent.parent;return u.type==="ObjectExpression"&&(t(u,1,"Object","create")||t(u,1,"Object","defineProperties"))}return ci={meta:{type:"suggestion",defaultOptions:[{enforceForClassMembers:!0,getWithoutSet:!1,setWithoutGet:!0}],docs:{description:"Enforce getter and setter pairs in objects and classes",recommended:!1,url:"https://eslint.org/docs/latest/rules/accessor-pairs"},schema:[{type:"object",properties:{getWithoutSet:{type:"boolean"},setWithoutGet:{type:"boolean"},enforceForClassMembers:{type:"boolean"}},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(p){const[{getWithoutSet:u,setWithoutGet:r,enforceForClassMembers:h}]=p.options,i=p.sourceCode;function f(b,C){b.type==="Property"?p.report({node:b,messageId:`${C}InObjectLiteral`,loc:a.getFunctionHeadLoc(b.value,i),data:{name:a.getFunctionNameWithKind(b.value)}}):b.type==="MethodDefinition"?p.report({node:b,messageId:`${C}InClass`,loc:a.getFunctionHeadLoc(b.value,i),data:{name:a.getFunctionNameWithKind(b.value)}}):p.report({node:b,messageId:`${C}InPropertyDescriptor`})}function m(b,C){for(const w of b)f(w,C)}function s(b){const C=[];let w=!1;for(let E=0;E<b.length;E++){const k=b[E];if(o(k)){const x=a.getStaticPropertyName(k),A=x!==null?x:i.getTokens(k.key);for(let I=0;I<C.length;I++){const B=C[I];if(n(B.key,A)){B.getters.push(...k.kind==="get"?[k]:[]),B.setters.push(...k.kind==="set"?[k]:[]),w=!0;break}}w||C.push({key:A,getters:k.kind==="get"?[k]:[],setters:k.kind==="set"?[k]:[]}),w=!1}}for(const{getters:E,setters:k}of C)r&&k.length&&!E.length&&m(k,"missingGetter"),u&&E.length&&!k.length&&m(E,"missingSetter")}function l(b){s(b.properties.filter(C=>C.type==="Property"))}function d(b){const C=new Set(b.properties.filter(k=>k.type==="Property"&&k.kind==="init"&&!k.computed).map(({key:k})=>k.name)),w=C.has("get"),E=C.has("set");r&&E&&!w&&f(b,"missingGetter"),u&&w&&!E&&f(b,"missingSetter")}function g(b){l(b),c(b)&&d(b)}function v(b){const C=b.body.filter(w=>w.type==="MethodDefinition");s(C.filter(w=>w.static)),s(C.filter(w=>!w.static))}const S={};return(r||u)&&(S.ObjectExpression=g,h&&(S.ClassBody=v)),S}},ci}var fi,Kd;function Ew(){if(Kd)return fi;Kd=1;const a=Me();return fi={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"array-bracket-newline",url:"https://eslint.style/rules/js/array-bracket-newline"}}]},type:"layout",docs:{description:"Enforce linebreaks after opening and before closing array brackets",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.sourceCode;function o(i){let f=!1,m=!1,s;return i?i==="consistent"?(f=!0,s=Number.POSITIVE_INFINITY):i==="always"||i.minItems===0?s=0:i==="never"?s=Number.POSITIVE_INFINITY:(m=!!i.multiline,s=i.minItems||Number.POSITIVE_INFINITY):(f=!1,m=!0,s=Number.POSITIVE_INFINITY),{consistent:f,multiline:m,minItems:s}}function t(i){const f=o(i);return{ArrayExpression:f,ArrayPattern:f}}function c(i,f){e.report({node:i,loc:f.loc,messageId:"unexpectedOpeningLinebreak",fix(m){const s=n.getTokenAfter(f,{includeComments:!0});return a.isCommentToken(s)?null:m.removeRange([f.range[1],s.range[0]])}})}function p(i,f){e.report({node:i,loc:f.loc,messageId:"unexpectedClosingLinebreak",fix(m){const s=n.getTokenBefore(f,{includeComments:!0});return a.isCommentToken(s)?null:m.removeRange([s.range[1],f.range[0]])}})}function u(i,f){e.report({node:i,loc:f.loc,messageId:"missingOpeningLinebreak",fix(m){return m.insertTextAfter(f,`
53
- `)}})}function r(i,f){e.report({node:i,loc:f.loc,messageId:"missingClosingLinebreak",fix(m){return m.insertTextBefore(f,`
54
- `)}})}function h(i){const f=i.elements,s=t(e.options[0])[i.type],l=n.getFirstToken(i),d=n.getLastToken(i),g=n.getTokenAfter(l,{includeComments:!0}),v=n.getTokenBefore(d,{includeComments:!0}),S=n.getTokenAfter(l),b=n.getTokenBefore(d);f.length>=s.minItems||s.multiline&&f.length>0&&g.loc.start.line!==v.loc.end.line||f.length===0&&g.type==="Block"&&g.loc.start.line!==v.loc.end.line&&g===v||s.consistent&&l.loc.end.line!==S.loc.start.line?(a.isTokenOnSameLine(l,S)&&u(i,l),a.isTokenOnSameLine(b,d)&&r(i,d)):(a.isTokenOnSameLine(l,S)||c(i,l),a.isTokenOnSameLine(b,d)||p(i,d))}return{ArrayPattern:h,ArrayExpression:h}}},fi}var pi,Xd;function Sw(){if(Xd)return pi;Xd=1;const a=Me();return pi={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"array-bracket-spacing",url:"https://eslint.style/rules/js/array-bracket-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing inside array brackets",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.options[0]==="always",o=e.sourceCode;function t(s){return e.options[1]?e.options[1][s]===!n:!1}const c={spaced:n,singleElementException:t("singleValue"),objectsInArraysException:t("objectsInArrays"),arraysInArraysException:t("arraysInArrays")};function p(s,l){const d=o.getTokenAfter(l);e.report({node:s,loc:{start:l.loc.end,end:d.loc.start},messageId:"unexpectedSpaceAfter",data:{tokenValue:l.value},fix(g){return g.removeRange([l.range[1],d.range[0]])}})}function u(s,l){const d=o.getTokenBefore(l);e.report({node:s,loc:{start:d.loc.end,end:l.loc.start},messageId:"unexpectedSpaceBefore",data:{tokenValue:l.value},fix(g){return g.removeRange([d.range[1],l.range[0]])}})}function r(s,l){e.report({node:s,loc:l.loc,messageId:"missingSpaceAfter",data:{tokenValue:l.value},fix(d){return d.insertTextAfter(l," ")}})}function h(s,l){e.report({node:s,loc:l.loc,messageId:"missingSpaceBefore",data:{tokenValue:l.value},fix(d){return d.insertTextBefore(l," ")}})}function i(s){return s&&(s.type==="ObjectExpression"||s.type==="ObjectPattern")}function f(s){return s&&(s.type==="ArrayExpression"||s.type==="ArrayPattern")}function m(s){if(c.spaced&&s.elements.length===0)return;const l=o.getFirstToken(s),d=o.getFirstToken(s,1),g=s.typeAnnotation?o.getTokenBefore(s.typeAnnotation):o.getLastToken(s),v=o.getTokenBefore(g),S=s.elements[0],b=s.elements.at(-1),C=c.objectsInArraysException&&i(S)||c.arraysInArraysException&&f(S)||c.singleElementException&&s.elements.length===1?!c.spaced:c.spaced,w=c.objectsInArraysException&&i(b)||c.arraysInArraysException&&f(b)||c.singleElementException&&s.elements.length===1?!c.spaced:c.spaced;a.isTokenOnSameLine(l,d)&&(C&&!o.isSpaceBetweenTokens(l,d)&&r(s,l),!C&&o.isSpaceBetweenTokens(l,d)&&p(s,l)),l!==v&&a.isTokenOnSameLine(v,g)&&(w&&!o.isSpaceBetweenTokens(v,g)&&h(s,g),!w&&o.isSpaceBetweenTokens(v,g)&&u(s,g))}return{ArrayPattern:m,ArrayExpression:m}}},pi}var mi,Jd;function bw(){if(Jd)return mi;Jd=1;const a=Me(),e=/^(?:Arrow)?FunctionExpression$/u,n=/^(?:every|filter|find(?:Last)?(?:Index)?|flatMap|forEach|map|reduce(?:Right)?|some|sort|toSorted)$/u;function o(i){return a.isSpecificMemberAccess(i,null,n)}function t(i){for(const f of i)if(f.reachable)return!0;return!1}function c(i){return["from","of","isArray"].includes(i)?"Array.".concat(i):"Array.prototype.".concat(i)}function p(i){let f=i;for(;f;){const m=f.parent;switch(m.type){case"LogicalExpression":case"ConditionalExpression":case"ChainExpression":f=m;break;case"ReturnStatement":{const s=a.getUpperFunction(m);if(s===null||!a.isCallee(s))return null;f=s.parent;break}case"CallExpression":return a.isArrayFromMethod(m.callee)&&m.arguments.length>=2&&m.arguments[1]===f?"from":o(m.callee)&&m.arguments.length>=1&&m.arguments[0]===f?a.getStaticPropertyName(m.callee):null;default:return null}}return null}function u(i){return i.type==="UnaryExpression"&&i.operator==="void"}function r(i,f,m){const s=a.getPrecedence(f)<a.getPrecedence({type:"UnaryExpression",operator:"void"})&&!a.isParenthesised(i,f),l=i.getTokenBefore(f,f.parent.type==="ArrowFunctionExpression"?a.isArrowToken:v=>v.type==="Keyword"&&v.value==="return"),d=i.getTokenAfter(l),g=l.value==="return"&&l.range[1]===d.range[0];return[m.insertTextBefore(d,`${g?" ":""}void ${s?"(":""}`),m.insertTextAfter(f,s?")":"")]}function h(i,f,m){const s=i.getTokenBefore(f.body,a.isArrowToken),l=i.getTokenAfter(s),d=i.getLastToken(f);return[m.insertTextBefore(l,"{"),m.insertTextAfter(d,"}")]}return mi={meta:{type:"problem",defaultOptions:[{allowImplicit:!1,checkForEach:!1,allowVoid:!1}],docs:{description:"Enforce `return` statements in callbacks of array methods",recommended:!1,url:"https://eslint.org/docs/latest/rules/array-callback-return"},hasSuggestions:!0,schema:[{type:"object",properties:{allowImplicit:{type:"boolean"},checkForEach:{type:"boolean"},allowVoid:{type:"boolean"}},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}}.",wrapBraces:"Wrap the expression in `{}`.",prependVoid:"Prepend `void` to the expression."}},create(i){const[f]=i.options,m=i.sourceCode;let s={arrayMethodName:null,upper:null,codePath:null,hasReturn:!1,shouldCheck:!1,node:null};function l(d){if(!s.shouldCheck)return;const g={messageId:"",suggest:[]};if(s.arrayMethodName==="forEach"){if(f.checkForEach&&d.type==="ArrowFunctionExpression"&&d.expression)if(f.allowVoid){if(u(d.body))return;g.messageId="expectedNoReturnValue",g.suggest=[{messageId:"wrapBraces",fix(v){return h(m,d,v)}},{messageId:"prependVoid",fix(v){return r(m,d.body,v)}}]}else g.messageId="expectedNoReturnValue",g.suggest=[{messageId:"wrapBraces",fix(v){return h(m,d,v)}}]}else d.body.type==="BlockStatement"&&t(s.currentSegments)&&(g.messageId=s.hasReturn?"expectedAtEnd":"expectedInside");if(g.messageId){const v=a.getFunctionNameWithKind(d);i.report({node:d,loc:a.getFunctionHeadLoc(d,m),messageId:g.messageId,data:{name:v,arrayMethodName:c(s.arrayMethodName)},suggest:g.suggest.length!==0?g.suggest:null})}}return{onCodePathStart(d,g){let v=null;e.test(g.type)&&(v=p(g)),s={arrayMethodName:v,upper:s,codePath:d,hasReturn:!1,shouldCheck:v&&!g.async&&!g.generator,node:g,currentSegments:new Set}},onCodePathEnd(){s=s.upper},onUnreachableCodePathSegmentStart(d){s.currentSegments.add(d)},onUnreachableCodePathSegmentEnd(d){s.currentSegments.delete(d)},onCodePathSegmentStart(d){s.currentSegments.add(d)},onCodePathSegmentEnd(d){s.currentSegments.delete(d)},ReturnStatement(d){if(!s.shouldCheck)return;s.hasReturn=!0;const g={messageId:"",suggest:[]};if(s.arrayMethodName==="forEach"){if(f.checkForEach&&d.argument)if(f.allowVoid){if(u(d.argument))return;g.messageId="expectedNoReturnValue",g.suggest=[{messageId:"prependVoid",fix(v){return r(m,d.argument,v)}}]}else g.messageId="expectedNoReturnValue"}else!f.allowImplicit&&!d.argument&&(g.messageId="expectedReturnValue");g.messageId&&i.report({node:d,messageId:g.messageId,data:{name:a.getFunctionNameWithKind(s.node),arrayMethodName:c(s.arrayMethodName)},suggest:g.suggest.length!==0?g.suggest:null})},"FunctionExpression:exit":l,"ArrowFunctionExpression:exit":l}}},mi}var hi,Yd;function xw(){if(Yd)return hi;Yd=1;const a=Me();return hi={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"array-element-newline",url:"https://eslint.style/rules/js/array-element-newline"}}]},type:"layout",docs:{description:"Enforce line breaks after each array element",recommended:!1,url:"https://eslint.org/docs/latest/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}]}},type:"array",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(e){const n=e.sourceCode;function o(r){let h=!1,i=!1,f;const m=r||"always";return m==="always"||m.minItems===0?f=0:m==="never"?f=Number.POSITIVE_INFINITY:m==="consistent"?(h=!0,f=Number.POSITIVE_INFINITY):(i=!!m.multiline,f=m.minItems||Number.POSITIVE_INFINITY),{consistent:h,multiline:i,minItems:f}}function t(r){if(r&&(r.ArrayExpression||r.ArrayPattern)){let i,f;return r.ArrayExpression&&(i=o(r.ArrayExpression)),r.ArrayPattern&&(f=o(r.ArrayPattern)),{ArrayExpression:i,ArrayPattern:f}}const h=o(r);return{ArrayExpression:h,ArrayPattern:h}}function c(r){const h=n.getTokenBefore(r,{includeComments:!0});e.report({loc:{start:h.loc.end,end:r.loc.start},messageId:"unexpectedLineBreak",fix(i){if(a.isCommentToken(h))return null;if(!a.isTokenOnSameLine(h,r))return i.replaceTextRange([h.range[1],r.range[0]]," ");const f=n.getTokenBefore(h,{includeComments:!0});return a.isCommentToken(f)?null:i.replaceTextRange([f.range[1],h.range[0]],"")}})}function p(r){const h=n.getTokenBefore(r,{includeComments:!0});e.report({loc:{start:h.loc.end,end:r.loc.start},messageId:"missingLineBreak",fix(i){return i.replaceTextRange([h.range[1],r.range[0]],`
55
- `)}})}function u(r){const h=r.elements,f=t(e.options[0])[r.type];if(!f)return;let m=!1;f.multiline&&(m=h.filter(d=>d!==null).some(d=>d.loc.start.line!==d.loc.end.line));let s=0;for(let d=0;d<r.elements.length;d++){const g=r.elements[d],v=h[d-1];if(d===0||g===null||v===null)continue;const S=n.getFirstTokenBetween(v,g,a.isCommaToken),b=n.getTokenBefore(S),C=n.getTokenAfter(S);a.isTokenOnSameLine(b,C)||s++}const l=h.length>=f.minItems||f.multiline&&m||f.consistent&&s>0&&s<r.elements.length;h.forEach((d,g)=>{const v=h[g-1];if(g===0||d===null||v===null)return;const S=n.getFirstTokenBetween(v,d,a.isCommaToken),b=n.getTokenBefore(S),C=n.getTokenAfter(S);l?a.isTokenOnSameLine(b,C)&&p(C):a.isTokenOnSameLine(b,C)||c(C)})}return{ArrayPattern:u,ArrayExpression:u}}},hi}var di,Qd;function Cw(){if(Qd)return di;Qd=1;const a=Me();return di={meta:{type:"suggestion",defaultOptions:["as-needed"],docs:{description:"Require braces around arrow function bodies",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/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(e){const n=e.options,o=n[0]==="always",t=n[0]==="as-needed",c=n[0]==="never",p=n[1]&&n[1].requireReturnForObjectLiteral,u=e.sourceCode;let r=null;function h(s){return s&&s.type==="Punctuator"&&/^[([/`+-]/u.test(s.value)}function i(s){let l=s;for(;!a.isParenthesised(u,l);)l=l.parent;return u.getTokenAfter(l)}function f(s){return s&&s.parent?s.parent.type==="ForStatement"&&s.parent.init===s?!0:f(s.parent):!1}function m(s){const l=s.body;if(l.type==="BlockStatement"){const d=l.body;if(d.length!==1&&!c||t&&p&&d[0].type==="ReturnStatement"&&d[0].argument&&d[0].argument.type==="ObjectExpression")return;if(c||t&&d[0].type==="ReturnStatement"){let g;d.length===0?g="unexpectedEmptyBlock":d.length>1||d[0].type!=="ReturnStatement"?g="unexpectedOtherBlock":d[0].argument===null?g="unexpectedSingleBlock":a.isOpeningBraceToken(u.getFirstToken(d[0],{skip:1}))?g="unexpectedObjectBlock":g="unexpectedSingleBlock",e.report({node:s,loc:l.loc,messageId:g,fix(v){const S=[];if(d.length!==1||d[0].type!=="ReturnStatement"||!d[0].argument||h(u.getTokenAfter(l)))return S;const b=u.getFirstToken(l),C=u.getLastToken(l),w=u.getFirstToken(d[0],1),E=u.getLastToken(d[0]);return u.commentsExistBetween(b,w)||u.commentsExistBetween(E,C)?S.push(v.remove(b),v.remove(C),v.remove(u.getTokenAfter(b))):S.push(v.removeRange([b.range[0],w.range[0]]),v.removeRange([E.range[1],C.range[1]])),(a.isOpeningBraceToken(w)||d[0].argument.type==="SequenceExpression"||r.hasInOperator&&f(s))&&(a.isParenthesised(u,d[0].argument)||S.push(v.insertTextBefore(w,"("),v.insertTextAfter(E,")"))),a.isSemicolonToken(E)&&S.push(v.remove(E)),S}})}}else(o||t&&p&&l.type==="ObjectExpression")&&e.report({node:s,loc:l.loc,messageId:"expectedBlock",fix(d){const g=[],v=u.getTokenBefore(l,a.isArrowToken),[S,b]=u.getTokensAfter(v,{count:2}),C=u.getLastToken(s);let w=null;if(a.isOpeningParenToken(S)&&a.isOpeningBraceToken(b)){const E=u.getNodeByRangeIndex(b.range[0]);E.type==="ObjectExpression"&&(w=E)}if(w){const E=S,k=b;a.isTokenOnSameLine(E,k)?g.push(d.replaceText(E,"{return ")):g.push(d.replaceText(E,"{"),d.insertTextBefore(k,"return ")),g.push(d.remove(i(w))),g.push(d.insertTextAfter(C,"}"))}else g.push(d.insertTextBefore(S,"{return ")),g.push(d.insertTextAfter(C,"}"));return g}})}return{"BinaryExpression[operator='in']"(){let s=r;for(;s;)s.hasInOperator=!0,s=s.upper},ArrowFunctionExpression(){r={upper:r,hasInOperator:!1}},"ArrowFunctionExpression:exit"(s){m(s),r=r.upper}}}},di}var gi,Zd;function ww(){if(Zd)return gi;Zd=1;const a=Me();function e(n){return n.body.type==="BlockStatement"}return gi={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"arrow-parens",url:"https://eslint.style/rules/js/arrow-parens"}}]},type:"layout",docs:{description:"Require parentheses around arrow function arguments",recommended:!1,url:"https://eslint.org/docs/latest/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(n){const o=n.options[0]==="as-needed",t=o&&n.options[1]&&n.options[1].requireForBlockBody===!0,c=n.sourceCode;function p(i){const f=c.getTokenBefore(i.params[0]);return f&&a.isOpeningParenToken(f)&&i.range[0]<=f.range[0]?f:null}function u(i){return c.getTokenAfter(i.params[0],a.isClosingParenToken)}function r(i,f){return c.commentsExistBetween(f,u(i))}function h(i,f){const m=i.async?1:0;return c.getFirstToken(i,{skip:m})!==f}return{"ArrowFunctionExpression[params.length=1]"(i){const f=!o||t&&e(i),m=p(i),s=m!==null,[l]=i.params;f&&!s&&n.report({node:i,messageId:t?"expectedParensBlock":"expectedParens",loc:l.loc,*fix(d){yield d.insertTextBefore(l,"("),yield d.insertTextAfter(l,")")}}),!f&&s&&l.type==="Identifier"&&!l.typeAnnotation&&!i.returnType&&!r(i,m)&&!h(i,m)&&n.report({node:i,messageId:t?"unexpectedParensInline":"unexpectedParens",loc:l.loc,*fix(d){const g=c.getTokenBefore(m),v=u(i);g&&g.range[1]===m.range[0]&&!a.canTokensBeAdjacent(g,c.getFirstToken(l))&&(yield d.insertTextBefore(m," ")),yield d.removeRange([m.range[0],l.range[0]]),yield d.removeRange([l.range[1],v.range[1]])}})}}}},gi}var yi,eg;function Aw(){if(eg)return yi;eg=1;const a=Me();return yi={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"arrow-spacing",url:"https://eslint.style/rules/js/arrow-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing before and after the arrow in arrow functions",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=Object.assign({},e.options[0]);n.before=n.before!==!1,n.after=n.after!==!1;const o=e.sourceCode;function t(u){const r=o.getTokenBefore(u.body,a.isArrowToken);return{before:o.getTokenBefore(r),arrow:r,after:o.getTokenAfter(r)}}function c(u){const r=u.arrow.range[0]-u.before.range[1],h=u.after.range[0]-u.arrow.range[1];return{before:r,after:h}}function p(u){const r=t(u),h=c(r);n.before?h.before===0&&e.report({node:r.before,messageId:"expectedBefore",fix(i){return i.insertTextBefore(r.arrow," ")}}):h.before>0&&e.report({node:r.before,messageId:"unexpectedBefore",fix(i){return i.removeRange([r.before.range[1],r.arrow.range[0]])}}),n.after?h.after===0&&e.report({node:r.after,messageId:"expectedAfter",fix(i){return i.insertTextAfter(r.arrow," ")}}):h.after>0&&e.report({node:r.after,messageId:"unexpectedAfter",fix(i){return i.removeRange([r.arrow.range[1],r.after.range[0]])}})}return{ArrowFunctionExpression:p}}},yi}var vi,tg;function Tw(){return tg||(tg=1,vi={meta:{type:"suggestion",docs:{description:"Enforce the use of variables within the scope they are defined",recommended:!1,url:"https://eslint.org/docs/latest/rules/block-scoped-var"},schema:[],messages:{outOfScope:"'{{name}}' declared on line {{definitionLine}} column {{definitionColumn}} is used outside of binding context."}},create(a){let e=[];const n=a.sourceCode;function o(u){e.push(u.range)}function t(){e.pop()}function c(u,r){const h=u.identifier,i=r.name.loc.start;a.report({node:h,messageId:"outOfScope",data:{name:h.name,definitionLine:i.line,definitionColumn:i.column+1}})}function p(u){if(u.kind!=="var")return;const r=e.at(-1);function h(f){const m=f.identifier.range;return m[0]<r[0]||m[1]>r[1]}const i=n.getDeclaredVariables(u);for(let f=0;f<i.length;++f)i[f].references.filter(h).forEach(m=>c(m,i[f].defs.find(s=>s.parent===u)))}return{Program(u){e=[u.range]},BlockStatement:o,"BlockStatement:exit":t,ForStatement:o,"ForStatement:exit":t,ForInStatement:o,"ForInStatement:exit":t,ForOfStatement:o,"ForOfStatement:exit":t,SwitchStatement:o,"SwitchStatement:exit":t,CatchClause:o,"CatchClause:exit":t,StaticBlock:o,"StaticBlock:exit":t,VariableDeclaration:p}}}),vi}var Ei,rg;function kw(){if(rg)return Ei;rg=1;const a=Me();return Ei={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"block-spacing",url:"https://eslint.style/rules/js/block-spacing"}}]},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/latest/rules/block-spacing"},fixable:"whitespace",schema:[{enum:["always","never"]}],messages:{missing:"Requires a space {{location}} '{{token}}'.",extra:"Unexpected space(s) {{location}} '{{token}}'."}},create(e){const n=e.options[0]!=="never",o=n?"missing":"extra",t=e.sourceCode;function c(r){return r.type==="SwitchStatement"?r.cases.length>0?t.getTokenBefore(r.cases[0]):t.getLastToken(r,1):r.type==="StaticBlock"?t.getFirstToken(r,{skip:1}):t.getFirstToken(r)}function p(r,h){return!a.isTokenOnSameLine(r,h)||t.isSpaceBetweenTokens(r,h)===n}function u(r){const h=c(r),i=t.getLastToken(r),f=t.getTokenAfter(h,{includeComments:!0}),m=t.getTokenBefore(i,{includeComments:!0});if(!(h.type!=="Punctuator"||h.value!=="{"||i.type!=="Punctuator"||i.value!=="}"||f===i)&&!(!n&&f.type==="Line")){if(!p(h,f)){let s=h.loc;o==="extra"&&(s={start:h.loc.end,end:f.loc.start}),e.report({node:r,loc:s,messageId:o,data:{location:"after",token:h.value},fix(l){return n?l.insertTextBefore(f," "):l.removeRange([h.range[1],f.range[0]])}})}if(!p(m,i)){let s=i.loc;o==="extra"&&(s={start:m.loc.end,end:i.loc.start}),e.report({node:r,loc:s,messageId:o,data:{location:"before",token:i.value},fix(l){return n?l.insertTextAfter(m," "):l.removeRange([m.range[1],i.range[0]])}})}}}return{BlockStatement:u,StaticBlock:u,SwitchStatement:u}}},Ei}var Si,ng;function Dw(){if(ng)return Si;ng=1;const a=Me();return Si={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"brace-style",url:"https://eslint.style/rules/js/brace-style"}}]},type:"layout",docs:{description:"Enforce consistent brace style for blocks",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.options[0]||"1tbs",o=e.options[1]||{},t=e.sourceCode;function c(r,h){const i=[r.range[1],h.range[0]];return t.text.slice(i[0],i[1]).trim()?null:m=>m.replaceTextRange(i," ")}function p(r,h){const i=t.getTokenBefore(r),f=t.getTokenAfter(r),m=t.getTokenBefore(h),s=o.allowSingleLine&&a.isTokenOnSameLine(r,h);n!=="allman"&&!a.isTokenOnSameLine(i,r)&&e.report({node:r,messageId:"nextLineOpen",fix:c(i,r)}),n==="allman"&&a.isTokenOnSameLine(i,r)&&!s&&e.report({node:r,messageId:"sameLineOpen",fix:l=>l.insertTextBefore(r,`
56
- `)}),a.isTokenOnSameLine(r,f)&&f!==h&&!s&&e.report({node:r,messageId:"blockSameLine",fix:l=>l.insertTextAfter(r,`
57
- `)}),m!==r&&!s&&a.isTokenOnSameLine(m,h)&&e.report({node:h,messageId:"singleLineClose",fix:l=>l.insertTextBefore(h,`
58
- `)})}function u(r){const h=t.getTokenAfter(r);n==="1tbs"&&!a.isTokenOnSameLine(r,h)&&e.report({node:r,messageId:"nextLineClose",fix:c(r,h)}),n!=="1tbs"&&a.isTokenOnSameLine(r,h)&&e.report({node:r,messageId:"sameLineClose",fix:i=>i.insertTextAfter(r,`
59
- `)})}return{BlockStatement(r){a.STATEMENT_LIST_PARENTS.has(r.parent.type)||p(t.getFirstToken(r),t.getLastToken(r))},StaticBlock(r){p(t.getFirstToken(r,{skip:1}),t.getLastToken(r))},ClassBody(r){p(t.getFirstToken(r),t.getLastToken(r))},SwitchStatement(r){const h=t.getLastToken(r),i=t.getTokenBefore(r.cases.length?r.cases[0]:h);p(i,h)},IfStatement(r){r.consequent.type==="BlockStatement"&&r.alternate&&u(t.getLastToken(r.consequent))},TryStatement(r){u(t.getLastToken(r.block)),r.handler&&r.finalizer&&u(t.getLastToken(r.handler.body))}}}},Si}var bi,sg;function Iw(){return sg||(sg=1,bi={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:null,replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"callback-return",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/callback-return.md"}}]},type:"suggestion",docs:{description:"Require `return` statements after callbacks",recommended:!1,url:"https://eslint.org/docs/latest/rules/callback-return"},schema:[{type:"array",items:{type:"string"}}],messages:{missingReturn:"Expected return with your callback function."}},create(a){const e=a.options[0]||["callback","cb","next"],n=a.sourceCode;function o(u,r){return u.parent?r.includes(u.parent.type)?u.parent:o(u.parent,r):null}function t(u){if(u.type==="Identifier")return!0;if(u.type==="MemberExpression"){if(u.object.type==="Identifier")return!0;if(u.object.type==="MemberExpression")return t(u.object)}return!1}function c(u){return t(u.callee)&&e.includes(n.getText(u.callee))}function p(u,r){return!r||r.type!=="ExpressionStatement"?!1:r.expression===u||(r.expression.type==="BinaryExpression"||r.expression.type==="LogicalExpression")&&r.expression.right===u}return{CallExpression(u){if(!c(u))return;const r=o(u,["BlockStatement","ReturnStatement","ArrowFunctionExpression"])||{};if(r.type!=="ReturnStatement"&&r.type!=="ArrowFunctionExpression"){if(r.type==="BlockStatement"){const h=r.body.at(-1);if(p(u,h)){const i=r.parent.type;if(i==="FunctionExpression"||i==="FunctionDeclaration"||i==="ArrowFunctionExpression")return}if(h.type==="ReturnStatement"&&p(u,r.body.at(-2)))return}o(u,["FunctionDeclaration","FunctionExpression","ArrowFunctionExpression"])&&a.report({node:u,messageId:"missingReturn"})}}}}}),bi}var xi,ag;function Pw(){if(ag)return xi;ag=1;const a=Me();return xi={meta:{type:"suggestion",defaultOptions:[{allow:[],ignoreDestructuring:!1,ignoreGlobals:!1,ignoreImports:!1,properties:"always"}],docs:{description:"Enforce camelcase naming convention",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/camelcase"},schema:[{type:"object",properties:{ignoreDestructuring:{type:"boolean"},ignoreImports:{type:"boolean"},ignoreGlobals:{type:"boolean"},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(e){const[{allow:n,ignoreDestructuring:o,ignoreGlobals:t,ignoreImports:c,properties:p}]=e.options,u=e.sourceCode,r=new Set;function h(g){const v=g.replace(/^_+|_+$/gu,"");return v.includes("_")&&v!==v.toUpperCase()}function i(g){return n.some(v=>g===v||g.match(new RegExp(v,"u")))}function f(g){return!h(g)||i(g)}function m(g){const v=g.parent;switch(v.type){case"AssignmentExpression":case"AssignmentPattern":return v.left===g;case"Property":return v.parent.type==="ObjectPattern"&&v.value===g;case"ArrayPattern":case"RestElement":return!0;default:return!1}}function s(g){const v=g.name,S=g.parent.type==="AssignmentPattern"?g.parent:g,b=S.parent;switch(b.type){case"Property":return(b.parent.type==="ObjectPattern"||b.parent.type==="ObjectExpression")&&b.value===S&&!b.computed&&b.key.type==="Identifier"&&b.key.name===v;case"ImportSpecifier":return b.local===g&&a.getModuleExportName(b.imported)===v;default:return!1}}function l(g){r.has(g.range[0])||(r.add(g.range[0]),e.report({node:g,messageId:g.type==="PrivateIdentifier"?"notCamelCasePrivate":"notCamelCase",data:{name:g.name}}))}function d(g){g.parent.type==="CallExpression"||g.parent.type==="NewExpression"||g.parent.type==="AssignmentPattern"&&g.parent.right===g||o&&s(g)||a.isImportAttributeKey(g)||l(g)}return{Program(g){const v=u.getScope(g);if(!t){for(const S of v.variables)if(!(S.identifiers.length>0||f(S.name)))for(const b of S.references)d(b.identifier)}for(const S of v.through){const b=S.identifier;f(b.name)||a.isImportAttributeKey(b)||d(b)}},[["VariableDeclaration","FunctionDeclaration","FunctionExpression","ArrowFunctionExpression","ClassDeclaration","ClassExpression","CatchClause"]](g){for(const v of u.getDeclaredVariables(g)){if(f(v.name))continue;const S=v.identifiers[0];o&&s(S)||l(S);for(const b of v.references)b.init||d(b.identifier)}},[["ObjectExpression > Property[computed!=true] > Identifier.key","MethodDefinition[computed!=true] > Identifier.key","PropertyDefinition[computed!=true] > Identifier.key","MethodDefinition > PrivateIdentifier.key","PropertyDefinition > PrivateIdentifier.key"]](g){p==="never"||a.isImportAttributeKey(g)||f(g.name)||l(g)},"MemberExpression[computed!=true] > Identifier.property"(g){p==="never"||!m(g.parent)||f(g.name)||l(g)},ImportDeclaration(g){for(const v of u.getDeclaredVariables(g)){if(f(v.name))continue;const S=v.identifiers[0];c&&s(S)||l(S);for(const b of v.references)d(b.identifier)}},[["ExportAllDeclaration > Identifier.exported","ExportSpecifier > Identifier.exported"]](g){f(g.name)||l(g)},[["LabeledStatement > Identifier.label","BreakStatement > Identifier.label","ContinueStatement > Identifier.label"]](g){f(g.name)||l(g)}}}},xi}var Ci,ig;function Fw(){if(ig)return Ci;ig=1;const e=Me().COMMENTS_IGNORE_PATTERN,n=/\s/gu,o=/^\s*[^:/?#\s]+:\/\/[^?#]/u,t=new RegExp("\\p{L}","u"),c={type:"object",properties:{ignorePattern:{type:"string"},ignoreInlineComments:{type:"boolean"},ignoreConsecutiveComments:{type:"boolean"}},additionalProperties:!1},p={ignorePattern:"",ignoreInlineComments:!1,ignoreConsecutiveComments:!1};function u(i,f){return Object.assign({},p,i[f]||i)}function r(i={}){return{Line:u(i,"line"),Block:u(i,"block")}}function h(i){Object.keys(i).forEach(f=>{const m=i[f].ignorePattern;if(m){const s=RegExp(`^\\s*(?:${m})`,"u");i[f].ignorePatternRegExp=s}})}return Ci={meta:{type:"suggestion",docs:{description:"Enforce or disallow capitalization of the first letter of a comment",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/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(i){const f=i.options[0]||"always",m=r(i.options[1]),s=i.sourceCode;h(m);function l(S){const b=s.getTokenBefore(S,{includeComments:!0}),C=s.getTokenAfter(S,{includeComments:!0});return!!(b&&C&&S.loc.start.line===b.loc.end.line&&S.loc.end.line===C.loc.start.line)}function d(S){const b=s.getTokenBefore(S,{includeComments:!0});return!!(b&&["Block","Line"].includes(b.type))}function g(S,b){if(e.test(S.value))return!0;const C=S.value.replace(/\*/gu,"");if(b.ignorePatternRegExp&&b.ignorePatternRegExp.test(C)||b.ignoreInlineComments&&l(S)||b.ignoreConsecutiveComments&&d(S)||o.test(C))return!0;const w=C.replace(n,"");if(w.length===0)return!0;const[E]=w;if(!t.test(E))return!0;const k=E!==E.toLocaleLowerCase(),x=E!==E.toLocaleUpperCase();return!(f==="always"&&x||f==="never"&&k)}function v(S){const b=m[S.type];if(!g(S,b)){const w=f==="always"?"unexpectedLowercaseComment":"unexpectedUppercaseComment";i.report({node:null,loc:S.loc,messageId:w,fix(E){const k=S.value.match(t),x=k[0],A=S.range[0]+k.index+2;return E.replaceTextRange([A,A+x.length],f==="always"?x.toLocaleUpperCase():x.toLocaleLowerCase())}})}}return{Program(){s.getAllComments().filter(b=>b.type!=="Shebang").forEach(v)}}}},Ci}var wi,og;function Rw(){if(og)return wi;og=1;const a=Me();return wi={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",defaultOptions:[{enforceForClassFields:!0,exceptMethods:[],ignoreOverrideMethods:!1}],docs:{description:"Enforce that class methods utilize `this`",recommended:!1,url:"https://eslint.org/docs/latest/rules/class-methods-use-this"},schema:[{type:"object",properties:{exceptMethods:{type:"array",items:{type:"string"}},enforceForClassFields:{type:"boolean"},ignoreOverrideMethods:{type:"boolean"},ignoreClassesWithImplements:{enum:["all","public-fields"]}},additionalProperties:!1}],messages:{missingThis:"Expected 'this' to be used by class {{name}}."}},create(e){const[n]=e.options,{enforceForClassFields:o,ignoreOverrideMethods:t,ignoreClassesWithImplements:c}=n,p=new Set(n.exceptMethods),u=[];function r(){u.push(!1)}function h(){return u.pop()}function i(){r()}function f(g){switch(g.type){case"MethodDefinition":return!g.static&&g.kind!=="constructor";case"PropertyDefinition":return!g.static&&o;default:return!1}}function m(g){var S;const v=g.parent.parent;return(v==null?void 0:v.type)==="ClassDeclaration"&&((S=v.implements)==null?void 0:S.length)>0}function s(g){if(f(g)){if(g.computed)return!0;if(t&&g.override||c&&m(g)&&(c==="all"||c==="public-fields"&&g.key.type!=="PrivateIdentifier"&&(!g.accessibility||g.accessibility==="public")))return!1;const v=g.key.type==="PrivateIdentifier"?"#":"",S=g.key.type==="Literal"?a.getStaticStringValue(g.key):g.key.name||"";return!p.has(v+S)}return!1}function l(g){const v=h();s(g.parent)&&!v&&e.report({node:g,loc:a.getFunctionHeadLoc(g,e.sourceCode),messageId:"missingThis",data:{name:a.getFunctionNameWithKind(g)}})}function d(){u.length&&(u[u.length-1]=!0)}return{FunctionDeclaration:i,"FunctionDeclaration:exit":l,FunctionExpression:i,"FunctionExpression:exit":l,"PropertyDefinition > *.key:exit":r,"PropertyDefinition:exit":h,StaticBlock:r,"StaticBlock:exit":h,ThisExpression:d,Super:d,...o&&{"PropertyDefinition > ArrowFunctionExpression.value":i,"PropertyDefinition > ArrowFunctionExpression.value:exit":l}}}},wi}var Ai,lg;function _w(){if(lg)return Ai;lg=1;const a=Me(),e=Object.freeze({arrays:"never",objects:"never",imports:"never",exports:"never",functions:"never"});function n(t){return!(t.type==="RestElement"||t.type==="RestProperty"||t.type==="ExperimentalRestProperty")}function o(t,c){return typeof t=="string"?{arrays:t,objects:t,imports:t,exports:t,functions:c<2017?"ignore":t}:typeof t=="object"&&t!==null?{arrays:t.arrays||e.arrays,objects:t.objects||e.objects,imports:t.imports||e.imports,exports:t.exports||e.exports,functions:t.functions||e.functions}:e}return Ai={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"comma-dangle",url:"https://eslint.style/rules/js/comma-dangle"}}]},type:"layout",docs:{description:"Require or disallow trailing commas",recommended:!1,url:"https://eslint.org/docs/latest/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(t){const c=o(t.options[0],t.languageOptions.ecmaVersion),p=t.sourceCode;function u(d){function g(v){return v.at(-1)}switch(d.type){case"ObjectExpression":case"ObjectPattern":return g(d.properties);case"ArrayExpression":case"ArrayPattern":return g(d.elements);case"ImportDeclaration":case"ExportNamedDeclaration":return g(d.specifiers);case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":return g(d.params);case"CallExpression":case"NewExpression":return g(d.arguments);default:return null}}function r(d,g){switch(d.type){case"ObjectExpression":case"ArrayExpression":case"CallExpression":case"NewExpression":return p.getLastToken(d,1);default:{const v=p.getTokenAfter(g);return a.isCommaToken(v)?v:p.getLastToken(g)}}}function h(d){const g=u(d);if(!g)return!1;const v=r(d,g);return p.getTokenAfter(v).loc.end.line!==v.loc.end.line}function i(d){const g=u(d);if(!g||d.type==="ImportDeclaration"&&g.type!=="ImportSpecifier")return;const v=r(d,g);a.isCommaToken(v)&&t.report({node:g,loc:v.loc,messageId:"unexpected",*fix(S){yield S.remove(v),yield S.insertTextBefore(p.getTokenBefore(v),""),yield S.insertTextAfter(p.getTokenAfter(v),"")}})}function f(d){const g=u(d);if(!g||d.type==="ImportDeclaration"&&g.type!=="ImportSpecifier")return;if(!n(g)){i(d);return}const v=r(d,g);v.value!==","&&t.report({node:g,loc:{start:v.loc.end,end:a.getNextLocation(p,v.loc.end)},messageId:"missing",*fix(S){yield S.insertTextAfter(v,","),yield S.insertTextBefore(v,""),yield S.insertTextAfter(p.getTokenAfter(v),"")}})}function m(d){h(d)?f(d):i(d)}function s(d){h(d)||i(d)}const l={always:f,"always-multiline":m,"only-multiline":s,never:i,ignore(){}};return{ObjectExpression:l[c.objects],ObjectPattern:l[c.objects],ArrayExpression:l[c.arrays],ArrayPattern:l[c.arrays],ImportDeclaration:l[c.imports],ExportNamedDeclaration:l[c.exports],FunctionDeclaration:l[c.functions],FunctionExpression:l[c.functions],ArrowFunctionExpression:l[c.functions],CallExpression:l[c.functions],NewExpression:l[c.functions]}}},Ai}var Ti,ug;function Bw(){if(ug)return Ti;ug=1;const a=Me();return Ti={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"comma-spacing",url:"https://eslint.style/rules/js/comma-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing before and after commas",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.sourceCode,o=n.tokensAndComments,t={before:e.options[0]?e.options[0].before:!1,after:e.options[0]?e.options[0].after:!0},c=[];function p(r,h,i){e.report({node:r,fix(f){if(t[h])return h==="before"?f.insertTextBefore(r," "):f.insertTextAfter(r," ");let m,s;const l="";return h==="before"?(m=i.range[1],s=r.range[0]):(m=r.range[1],s=i.range[0]),f.replaceTextRange([m,s],l)},messageId:t[h]?"missing":"unexpected",data:{loc:h}})}function u(r){let h=n.getFirstToken(r);r.elements.forEach(i=>{let f;i===null?(f=n.getTokenAfter(h),a.isCommaToken(f)&&c.push(f)):f=n.getTokenAfter(i),h=f})}return{"Program:exit"(){o.forEach((r,h)=>{if(!a.isCommaToken(r))return;const i=o[h-1],f=o[h+1];i&&!a.isCommaToken(i)&&!c.includes(r)&&a.isTokenOnSameLine(i,r)&&t.before!==n.isSpaceBetweenTokens(i,r)&&p(r,"before",i),f&&!a.isCommaToken(f)&&!a.isClosingParenToken(f)&&!a.isClosingBracketToken(f)&&!a.isClosingBraceToken(f)&&!(!t.after&&f.type==="Line")&&a.isTokenOnSameLine(r,f)&&t.after!==n.isSpaceBetweenTokens(r,f)&&p(r,"after",f)})},ArrayExpression:u,ArrayPattern:u}}},Ti}var ki,cg;function Lw(){if(cg)return ki;cg=1;const a=Me();return ki={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"comma-style",url:"https://eslint.style/rules/js/comma-style"}}]},type:"layout",docs:{description:"Enforce consistent comma style",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.options[0]||"last",o=e.sourceCode,t={ArrayPattern:!0,ArrowFunctionExpression:!0,CallExpression:!0,FunctionDeclaration:!0,FunctionExpression:!0,ImportDeclaration:!0,ObjectPattern:!0,NewExpression:!0};if(e.options.length===2&&Object.hasOwn(e.options[1],"exceptions")){const i=Object.keys(e.options[1].exceptions);for(let f=0;f<i.length;f++)t[i[f]]=e.options[1].exceptions[i[f]]}function c(i,f){switch(i){case"between":return`,${f.replace(a.LINEBREAK_MATCHER,"")}`;case"first":return`${f},`;case"last":return`,${f}`;default:return""}}function p(i,f,m,s){const l=o.text.slice(f.range[1],m.range[0])+o.text.slice(m.range[1],s.range[0]),d=[f.range[1],s.range[0]];return function(g){return g.replaceTextRange(d,c(i,l))}}function u(i,f,m,s){if(!(a.isTokenOnSameLine(f,m)&&a.isTokenOnSameLine(i,f)))if(!a.isTokenOnSameLine(f,m)&&!a.isTokenOnSameLine(i,f)){const l=o.getCommentsAfter(f)[0],d=l&&l.type==="Block"&&a.isTokenOnSameLine(f,l)?n:"between";e.report({node:s,loc:f.loc,messageId:"unexpectedLineBeforeAndAfterComma",fix:p(d,i,f,m)})}else n==="first"&&!a.isTokenOnSameLine(f,m)?e.report({node:s,loc:f.loc,messageId:"expectedCommaFirst",fix:p(n,i,f,m)}):n==="last"&&a.isTokenOnSameLine(f,m)&&e.report({node:s,loc:f.loc,messageId:"expectedCommaLast",fix:p(n,i,f,m)})}function r(i,f){const m=i[f],s=i.type==="ArrayExpression"||i.type==="ArrayPattern";if(m.length>1||s){let l=o.getFirstToken(i);if(m.forEach(d=>{const g=d?o.getTokenBefore(d):l,v=d?o.getFirstToken(d):o.getTokenAfter(g),S=d||v;if(a.isCommaToken(g)&&u(l,g,v,S),d){const b=o.getTokenAfter(d,a.isNotClosingParenToken);l=b?o.getTokenBefore(b):o.ast.tokens.at(-1)}else l=v}),s){const d=o.getLastToken(i),g=o.getTokenBefore(d);a.isCommaToken(g)&&u(o.getTokenBefore(g),g,d,d)}}}const h={};return t.VariableDeclaration||(h.VariableDeclaration=function(i){r(i,"declarations")}),t.ObjectExpression||(h.ObjectExpression=function(i){r(i,"properties")}),t.ObjectPattern||(h.ObjectPattern=function(i){r(i,"properties")}),t.ArrayExpression||(h.ArrayExpression=function(i){r(i,"elements")}),t.ArrayPattern||(h.ArrayPattern=function(i){r(i,"elements")}),t.FunctionDeclaration||(h.FunctionDeclaration=function(i){r(i,"params")}),t.FunctionExpression||(h.FunctionExpression=function(i){r(i,"params")}),t.ArrowFunctionExpression||(h.ArrowFunctionExpression=function(i){r(i,"params")}),t.CallExpression||(h.CallExpression=function(i){r(i,"arguments")}),t.ImportDeclaration||(h.ImportDeclaration=function(i){r(i,"specifiers")}),t.NewExpression||(h.NewExpression=function(i){r(i,"arguments")}),h}},ki}var Di,fg;function Br(){if(fg)return Di;fg=1;const a=/^[\u0000-\u007f]*$/u;let e;function n(t){return t.length<=1?t.toUpperCase():t[0].toUpperCase()+t.slice(1)}function o(t){if(a.test(t))return t.length;e??(e=new Intl.Segmenter("en-US"));let c=0;for(const p of e.segment(t))c++;return c}return Di={upperCaseFirst:n,getGraphemeCount:o},Di}var Ii,pg;function Ow(){if(pg)return Ii;pg=1;const a=Me(),{upperCaseFirst:e}=Br(),n=20;return Ii={meta:{type:"suggestion",defaultOptions:[n],docs:{description:"Enforce a maximum cyclomatic complexity allowed in a program",recommended:!1,url:"https://eslint.org/docs/latest/rules/complexity"},schema:[{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{maximum:{type:"integer",minimum:0},max:{type:"integer",minimum:0},variant:{enum:["classic","modified"]}},additionalProperties:!1}]}],messages:{complex:"{{name}} has a complexity of {{complexity}}. Maximum allowed is {{max}}."}},create(o){const t=o.options[0];let c=n,p="classic";typeof t=="object"?((Object.hasOwn(t,"maximum")||Object.hasOwn(t,"max"))&&(c=t.maximum||t.max),Object.hasOwn(t,"variant")&&(p=t.variant)):typeof t=="number"&&(c=t);const u=p==="modified",r=[];function h(){r[r.length-1]++}return{onCodePathStart(){r.push(1)},CatchClause:h,ConditionalExpression:h,LogicalExpression:h,ForStatement:h,ForInStatement:h,ForOfStatement:h,IfStatement:h,WhileStatement:h,DoWhileStatement:h,AssignmentPattern:h,"SwitchCase[test]":()=>u||h(),SwitchStatement:()=>u&&h(),AssignmentExpression(i){a.isLogicalAssignmentOperator(i.operator)&&h()},MemberExpression(i){i.optional===!0&&h()},CallExpression(i){i.optional===!0&&h()},onCodePathEnd(i,f){const m=r.pop();if(!(i.origin!=="function"&&i.origin!=="class-field-initializer"&&i.origin!=="class-static-block")&&m>c){let s;i.origin==="class-field-initializer"?s="class field initializer":i.origin==="class-static-block"?s="class static block":s=a.getFunctionNameWithKind(f),o.report({node:f,messageId:"complex",data:{name:e(s),complexity:m,max:c}})}}}}},Ii}var Pi,mg;function Nw(){if(mg)return Pi;mg=1;const a=Me();return Pi={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"computed-property-spacing",url:"https://eslint.style/rules/js/computed-property-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing inside computed property brackets",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.sourceCode,o=e.options[0]==="always",t=!e.options[1]||e.options[1].enforceForClassMembers;function c(f,m,s){e.report({node:f,loc:{start:m.loc.end,end:s.loc.start},messageId:"unexpectedSpaceAfter",data:{tokenValue:m.value},fix(l){return l.removeRange([m.range[1],s.range[0]])}})}function p(f,m,s){e.report({node:f,loc:{start:s.loc.end,end:m.loc.start},messageId:"unexpectedSpaceBefore",data:{tokenValue:m.value},fix(l){return l.removeRange([s.range[1],m.range[0]])}})}function u(f,m){e.report({node:f,loc:m.loc,messageId:"missingSpaceAfter",data:{tokenValue:m.value},fix(s){return s.insertTextAfter(m," ")}})}function r(f,m){e.report({node:f,loc:m.loc,messageId:"missingSpaceBefore",data:{tokenValue:m.value},fix(s){return s.insertTextBefore(m," ")}})}function h(f){return function(m){if(!m.computed)return;const s=m[f],l=n.getTokenBefore(s,a.isOpeningBracketToken),d=n.getTokenAfter(l,{includeComments:!0}),g=n.getTokenAfter(s,a.isClosingBracketToken),v=n.getTokenBefore(g,{includeComments:!0});a.isTokenOnSameLine(l,d)&&(o?!n.isSpaceBetweenTokens(l,d)&&a.isTokenOnSameLine(l,d)&&u(m,l):n.isSpaceBetweenTokens(l,d)&&c(m,l,d)),a.isTokenOnSameLine(v,g)&&(o?!n.isSpaceBetweenTokens(v,g)&&a.isTokenOnSameLine(v,g)&&r(m,g):n.isSpaceBetweenTokens(v,g)&&p(m,g,v))}}const i={Property:h("key"),MemberExpression:h("property")};return t&&(i.MethodDefinition=i.PropertyDefinition=i.Property),i}},Pi}var Fi,hg;function jw(){if(hg)return Fi;hg=1;const a=Me(),{upperCaseFirst:e}=Br();function n(t){for(const c of t)if(c.reachable)return!1;return!0}function o(t){return t.type==="FunctionExpression"&&t.parent&&t.parent.type==="MethodDefinition"&&t.parent.kind==="constructor"}return Fi={meta:{type:"suggestion",docs:{description:"Require `return` statements to either always or never specify values",recommended:!1,url:"https://eslint.org/docs/latest/rules/consistent-return"},schema:[{type:"object",properties:{treatUndefinedAsUnspecified:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{treatUndefinedAsUnspecified:!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(t){const[{treatUndefinedAsUnspecified:c}]=t.options;let p=null;function u(r){let h,i;!p.hasReturnValue||n(p.currentSegments)||a.isES5Constructor(r)||o(r)||(r.type==="Program"?(h={line:1,column:0},i="program"):r.type==="ArrowFunctionExpression"?h=t.sourceCode.getTokenBefore(r.body,a.isArrowToken).loc:r.parent.type==="MethodDefinition"||r.parent.type==="Property"&&r.parent.method?h=r.parent.key.loc:h=(r.id||t.sourceCode.getFirstToken(r)).loc,i||(i=a.getFunctionNameWithKind(r)),t.report({node:r,loc:h,messageId:"missingReturn",data:{name:i}}))}return{onCodePathStart(r,h){p={upper:p,codePath:r,hasReturn:!1,hasReturnValue:!1,messageId:"",node:h,currentSegments:new Set}},onCodePathEnd(){p=p.upper},onUnreachableCodePathSegmentStart(r){p.currentSegments.add(r)},onUnreachableCodePathSegmentEnd(r){p.currentSegments.delete(r)},onCodePathSegmentStart(r){p.currentSegments.add(r)},onCodePathSegmentEnd(r){p.currentSegments.delete(r)},ReturnStatement(r){const h=r.argument;let i=!!h;c&&i&&(i=!a.isSpecificId(h,"undefined")&&h.operator!=="void"),p.hasReturn?p.hasReturnValue!==i&&t.report({node:r,messageId:p.messageId,data:p.data}):(p.hasReturn=!0,p.hasReturnValue=i,p.messageId=i?"missingReturnValue":"unexpectedReturnValue",p.data={name:p.node.type==="Program"?"Program":e(a.getFunctionNameWithKind(p.node))})},"Program:exit":u,"FunctionDeclaration:exit":u,"FunctionExpression:exit":u,"ArrowFunctionExpression:exit":u}}},Fi}var Ri,dg;function Mw(){return dg||(dg=1,Ri={meta:{type:"suggestion",docs:{description:"Enforce consistent naming when capturing the current execution context",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/consistent-this"},schema:{type:"array",items:{type:"string",minLength:1},uniqueItems:!0},defaultOptions:["that"],messages:{aliasNotAssignedToThis:"Designated alias '{{name}}' is not assigned to 'this'.",unexpectedAlias:"Unexpected alias '{{name}}' for 'this'."}},create(a){const e=a.options,n=a.sourceCode;function o(u,r){a.report({node:u,messageId:"aliasNotAssignedToThis",data:{name:r}})}function t(u,r,h){const i=h.type==="ThisExpression";e.includes(r)?(!i||u.operator&&u.operator!=="=")&&o(u,r):i&&a.report({node:u,messageId:"unexpectedAlias",data:{name:r}})}function c(u,r){const h=r.set.get(u);h&&(h.defs.some(i=>i.node.type==="VariableDeclarator"&&i.node.init!==null)||h.references.some(i=>{const f=i.writeExpr;return i.from===r&&f&&f.type==="ThisExpression"&&f.parent.operator==="="})||h.defs.map(i=>i.node).forEach(i=>{o(i,u)}))}function p(u){const r=n.getScope(u),h=u.type==="Program"&&u.sourceType==="module"?r.childScopes[0]:null;e.forEach(i=>{c(i,r),h&&c(i,h)})}return{"Program:exit":p,"FunctionExpression:exit":p,"FunctionDeclaration:exit":p,VariableDeclarator(u){const r=u.id,h=r.type==="ArrayPattern"||r.type==="ObjectPattern";u.init!==null&&!h&&t(u,r.name,u.init)},AssignmentExpression(u){u.left.type==="Identifier"&&t(u,u.left.name,u.right)}}}}),Ri}var _i,gg;function Uw(){if(gg)return _i;gg=1;function a(o){return o.type==="FunctionExpression"&&o.parent.type==="MethodDefinition"&&o.parent.kind==="constructor"}function e(o){if(!o)return!1;switch(o.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 o.name!=="undefined";case"AssignmentExpression":return["=","&&="].includes(o.operator)?e(o.right):["||=","??="].includes(o.operator)?e(o.left)||e(o.right):!1;case"LogicalExpression":return o.operator==="&&"?e(o.right):e(o.left)||e(o.right);case"ConditionalExpression":return e(o.alternate)||e(o.consequent);case"SequenceExpression":{const t=o.expressions.at(-1);return e(t)}default:return!1}}class n{constructor(){St(this,"calledInEveryPaths",!1);St(this,"calledInSomePaths",!1);St(this,"validNodes",[])}}return _i={meta:{type:"problem",docs:{description:"Require `super()` calls in constructors",recommended:!0,url:"https://eslint.org/docs/latest/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."}},create(o){let t=null;const c=Object.create(null);function p(h){return h.reachable&&c[h.id].calledInSomePaths}function u(h){return!!c[h.id]}function r(h){return h.reachable&&c[h.id].calledInEveryPaths}return{onCodePathStart(h,i){if(a(i)){const m=i.parent.parent.parent.superClass;t={upper:t,isConstructor:!0,hasExtends:!!m,superIsConstructor:e(m),codePath:h,currentSegments:new Set}}else t={upper:t,isConstructor:!1,hasExtends:!1,superIsConstructor:!1,codePath:h,currentSegments:new Set}},onCodePathEnd(h,i){const f=t.hasExtends;if(t=t.upper,!f)return;const m=h.returnedSegments,s=m.every(r),l=m.some(p);s||o.report({messageId:l?"missingSome":"missingAll",node:i.parent})},onCodePathSegmentStart(h,i){if(t.currentSegments.add(h),!(t.isConstructor&&t.hasExtends))return;const f=c[h.id]=new n,m=h.prevSegments.filter(u);m.length>0&&(f.calledInSomePaths=m.some(p),f.calledInEveryPaths=m.every(r)),i.parent&&i.parent.type==="ForStatement"&&i.parent.update===i&&(f.calledInEveryPaths=!0)},onUnreachableCodePathSegmentStart(h){t.currentSegments.add(h)},onUnreachableCodePathSegmentEnd(h){t.currentSegments.delete(h)},onCodePathSegmentEnd(h){t.currentSegments.delete(h)},onCodePathSegmentLoop(h,i){t.isConstructor&&t.hasExtends&&t.codePath.traverseSegments({first:i,last:h},(f,m)=>{const s=c[f.id];if(!s){m.skip();return}const l=f.prevSegments.filter(u),d=l.some(p),g=l.every(r);if(s.calledInSomePaths||(s.calledInSomePaths=d),s.calledInEveryPaths||(s.calledInEveryPaths=g),d){const v=s.validNodes;s.validNodes=[];for(let S=0;S<v.length;++S){const b=v[S];o.report({messageId:"duplicate",node:b})}}})},"CallExpression:exit"(h){if(!(t.isConstructor&&t.hasExtends)||h.callee.type!=="Super")return;const i=t.currentSegments;let f=!1,m=null;for(const s of i)s.reachable&&(m=c[s.id],f=f||m.calledInSomePaths,m.calledInSomePaths=m.calledInEveryPaths=!0);m&&(f?o.report({messageId:"duplicate",node:h}):t.superIsConstructor?m.validNodes.push(h):o.report({messageId:"badSuper",node:h}))},ReturnStatement(h){if(!(t.isConstructor&&t.hasExtends)||!h.argument)return;const i=t.currentSegments;for(const f of i)if(f.reachable){const m=c[f.id];m.calledInSomePaths=m.calledInEveryPaths=!0}}}}},_i}var Bi,yg;function qw(){if(yg)return Bi;yg=1;const a=Me();return Bi={meta:{type:"suggestion",docs:{description:"Enforce consistent brace style for all control statements",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/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}]},defaultOptions:["all"],fixable:"code",messages:{missingCurlyAfter:"Expected { after '{{name}}'.",missingCurlyAfterCondition:"Expected { after '{{name}}' condition.",unexpectedCurlyAfter:"Unnecessary { after '{{name}}'.",unexpectedCurlyAfterCondition:"Unnecessary { after '{{name}}' condition."}},create(e){const n=e.options[0]==="multi",o=e.options[0]==="multi-line",t=e.options[0]==="multi-or-nest",c=e.options[1]==="consistent",p=e.sourceCode;function u(m){const s=p.getTokenBefore(m),l=p.getLastToken(m),d=a.isSemicolonToken(l)?p.getTokenBefore(l):l;return s.loc.start.line===d.loc.end.line}function r(m){if(m.type==="EmptyStatement")return!0;const s=p.getFirstToken(m),l=p.getLastToken(m),d=a.isSemicolonToken(l)?p.getTokenBefore(l):l;return s.loc.start.line===d.loc.end.line}function h(m){const s=p.getTokenBefore(m),l=p.getTokenAfter(m),d=p.getNodeByRangeIndex(s.range[0]);return a.isSemicolonToken(s)||!l||d.type==="BlockStatement"&&d.parent.type!=="FunctionExpression"&&d.parent.type!=="ArrowFunctionExpression"?!1:!!(s.loc.end.line===l.loc.start.line||/^[([/`+-]/u.test(l.value)||s.type==="Punctuator"&&(s.value==="++"||s.value==="--"))}function i(m,s,l,d){const g=s.type==="BlockStatement";let v=null;if(g&&(s.body.length!==1||a.areBracesNecessary(s,p)))v=!0;else if(n)v=!1;else if(o)u(s)||(v=!0);else if(t)if(g){const S=s.body[0],b=p.getCommentsBefore(S);v=!r(S)||b.length>0}else v=!r(s);else v=!0;return{actual:g,expected:v,check(){this.expected!==null&&this.expected!==this.actual&&(this.expected?e.report({node:m,loc:s.loc,messageId:d&&d.condition?"missingCurlyAfterCondition":"missingCurlyAfter",data:{name:l},fix:S=>S.replaceText(s,`{${p.getText(s)}}`)}):e.report({node:m,loc:s.loc,messageId:d&&d.condition?"unexpectedCurlyAfterCondition":"unexpectedCurlyAfter",data:{name:l},fix(S){const b=m.type==="DoWhileStatement"&&p.getTokenBefore(s).range[1]===s.range[0]&&!a.canTokensBeAdjacent("do",p.getFirstToken(s,{skip:1})),C=p.getFirstToken(s),w=p.getLastToken(s),E=p.getTokenBefore(w);if(h(w))return null;const k=p.getText().slice(C.range[1],E.range[0])+p.getText(E)+p.getText().slice(E.range[1],w.range[0]);return S.replaceText(s,(b?" ":"")+k)}}))}}}function f(m){const s=[];for(let l=m;l;l=l.alternate)if(s.push(i(l,l.consequent,"if",{condition:!0})),l.alternate&&l.alternate.type!=="IfStatement"){s.push(i(l,l.alternate,"else"));break}if(c){const l=s.some(d=>d.expected!==null?d.expected:d.actual);s.forEach(d=>{d.expected=l})}return s}return{IfStatement(m){const s=m.parent;s.type==="IfStatement"&&s.alternate===m||f(m).forEach(d=>{d.check()})},WhileStatement(m){i(m,m.body,"while",{condition:!0}).check()},DoWhileStatement(m){i(m,m.body,"do").check()},ForStatement(m){i(m,m.body,"for",{condition:!0}).check()},ForInStatement(m){i(m,m.body,"for-in").check()},ForOfStatement(m){i(m,m.body,"for-of").check()}}}},Bi}var Li,vg;function Vw(){if(vg)return Li;vg=1;const a=/^no default$/iu;return Li={meta:{type:"suggestion",defaultOptions:[{}],docs:{description:"Require `default` cases in `switch` statements",recommended:!1,url:"https://eslint.org/docs/latest/rules/default-case"},schema:[{type:"object",properties:{commentPattern:{type:"string"}},additionalProperties:!1}],messages:{missingDefaultCase:"Expected a default case."}},create(e){const[n]=e.options,o=n.commentPattern?new RegExp(n.commentPattern,"u"):a,t=e.sourceCode;function c(p){return p.at(-1)}return{SwitchStatement(p){if(!p.cases.length)return;if(!p.cases.some(r=>r.test===null)){let r;const h=c(p.cases),i=t.getCommentsAfter(h);i.length&&(r=c(i)),(!r||!o.test(r.value.trim()))&&e.report({node:p,messageId:"missingDefaultCase"})}}}}},Li}var Oi,Eg;function $w(){return Eg||(Eg=1,Oi={meta:{type:"suggestion",docs:{description:"Enforce `default` clauses in `switch` statements to be last",recommended:!1,url:"https://eslint.org/docs/latest/rules/default-case-last"},schema:[],messages:{notLast:"Default clause should be the last clause."}},create(a){return{SwitchStatement(e){const n=e.cases,o=n.findIndex(t=>t.test===null);if(o!==-1&&o!==n.length-1){const t=n[o];a.report({node:t,messageId:"notLast"})}}}}}),Oi}var Ni,Sg;function Ww(){if(Sg)return Ni;Sg=1;function a(e){return!(e.type==="AssignmentPattern"||e.type==="RestElement"||e.optional)}return Ni={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",docs:{description:"Enforce default parameters to be last",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/default-param-last"},schema:[],messages:{shouldBeLast:"Default parameters should be last."}},create(e){function n(o){let t=!1;for(let c=o.params.length-1;c>=0;c-=1){const p=o.params[c],u=p.type==="TSParameterProperty"?p.parameter:p;if(a(u)){t=!0;continue}t&&e.report({node:p,messageId:"shouldBeLast"})}}return{FunctionDeclaration:n,FunctionExpression:n,ArrowFunctionExpression:n}}},Ni}var ji,bg;function Gw(){if(bg)return ji;bg=1;const a=Me();return ji={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"dot-location",url:"https://eslint.style/rules/js/dot-location"}}]},type:"layout",docs:{description:"Enforce consistent newlines before and after dots",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.options[0],o=n==="object"||!n,t=e.sourceCode;function c(u){const r=u.property,h=t.getTokenBefore(r);if(o){const i=t.getTokenBefore(h);a.isTokenOnSameLine(i,h)||e.report({node:u,loc:h.loc,messageId:"expectedDotAfterObject",*fix(f){h.value.startsWith(".")&&a.isDecimalIntegerNumericToken(i)?yield f.insertTextAfter(i,` ${h.value}`):yield f.insertTextAfter(i,h.value),yield f.remove(h)}})}else a.isTokenOnSameLine(h,r)||e.report({node:u,loc:h.loc,messageId:"expectedDotBeforeProperty",*fix(i){yield i.remove(h),yield i.insertTextBefore(r,h.value)}})}function p(u){u.computed||c(u)}return{MemberExpression:p}}},ji}var Mi,xg;function Ui(){return xg||(xg=1,Mi=["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"]),Mi}var qi,Cg;function zw(){if(Cg)return qi;Cg=1;const a=Me(),e=Ui(),n=/^[a-zA-Z_$][a-zA-Z0-9_$]*$/u,o=new Set(["string","boolean"]);return qi={meta:{type:"suggestion",defaultOptions:[{allowKeywords:!0,allowPattern:""}],docs:{description:"Enforce dot notation whenever possible",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/dot-notation"},schema:[{type:"object",properties:{allowKeywords:{type:"boolean"},allowPattern:{type:"string"}},additionalProperties:!1}],fixable:"code",messages:{useDot:"[{{key}}] is better written in dot notation.",useBrackets:".{{key}} is a syntax error."}},create(t){const[c]=t.options,p=c.allowKeywords,u=t.sourceCode;let r;c.allowPattern&&(r=new RegExp(c.allowPattern,"u"));function h(i,f){if(n.test(f)&&(p||!e.includes(String(f)))&&!(r&&r.test(f))){const m=i.property.type==="Literal"?JSON.stringify(f):`\`${f}\``;t.report({node:i.property,messageId:"useDot",data:{key:m},*fix(s){const l=u.getTokenAfter(i.object,a.isOpeningBracketToken),d=u.getLastToken(i),g=u.getTokenAfter(i);u.commentsExistBetween(l,d)||(i.optional||(yield s.insertTextBefore(l,a.isDecimalInteger(i.object)?" .":".")),yield s.replaceTextRange([l.range[0],d.range[1]],f),g&&d.range[1]===g.range[0]&&!a.canTokensBeAdjacent(String(f),g)&&(yield s.insertTextAfter(i," ")))}})}}return{MemberExpression(i){i.computed&&i.property.type==="Literal"&&(o.has(typeof i.property.value)||a.isNullLiteral(i.property))&&h(i,i.property.value),i.computed&&a.isStaticTemplateLiteral(i.property)&&h(i,i.property.quasis[0].value.cooked),!p&&!i.computed&&i.property.type==="Identifier"&&e.includes(String(i.property.name))&&t.report({node:i.property,messageId:"useBrackets",data:{key:i.property.name},*fix(f){const m=u.getTokenBefore(i.property);i.object.type==="Identifier"&&i.object.name==="let"&&!i.optional||u.commentsExistBetween(m,i.property)||(i.optional||(yield f.remove(m)),yield f.replaceText(i.property,`["${i.property.name}"]`))}})}}}},qi}var Vi,wg;function Hw(){return wg||(wg=1,Vi={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"eol-last",url:"https://eslint.style/rules/js/eol-last"}}]},type:"layout",docs:{description:"Require or disallow newline at the end of files",recommended:!1,url:"https://eslint.org/docs/latest/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(a){return{Program:function(n){const o=a.sourceCode,t=o.getText(),c=o.lines.at(-1),p={column:c.length,line:o.lines.length},u=`
60
- `,r=`\r${u}`,h=t.endsWith(u);if(!t.length)return;let i=a.options[0]||"always",f=!1;if(i==="unix"&&(i="always"),i==="windows"&&(i="always",f=!0),i==="always"&&!h)a.report({node:n,loc:p,messageId:"missing",fix(m){return m.insertTextAfterRange([0,t.length],f?r:u)}});else if(i==="never"&&h){const m=o.lines.at(-2);a.report({node:n,loc:{start:{line:o.lines.length-1,column:m.length},end:{line:o.lines.length,column:0}},messageId:"unexpected",fix(s){const l=/(?:\r?\n)+$/u,d=l.exec(o.text),g=d.index,v=o.text.length;return s.replaceTextRange([g,v],"")}})}}}}}),Vi}var $i,Ag;function Kw(){if(Ag)return $i;Ag=1;const a=Me();return $i={meta:{type:"suggestion",hasSuggestions:!0,docs:{description:"Require the use of `===` and `!==`",recommended:!1,url:"https://eslint.org/docs/latest/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}}'.",replaceOperator:"Use '{{expectedOperator}}' instead of '{{actualOperator}}'."}},create(e){const n=e.options[0]||"always",o=e.options[1]||{},t=e.sourceCode,c=n==="always"?o.null||"always":"ignore",p=c==="always",u=c==="never";function r(s){return s.type==="UnaryExpression"&&s.operator==="typeof"}function h(s){return r(s.left)||r(s.right)}function i(s){return s.left.type==="Literal"&&s.right.type==="Literal"&&typeof s.left.value==typeof s.right.value}function f(s){return a.isNullLiteral(s.right)||a.isNullLiteral(s.left)}function m(s,l){const d=t.getFirstTokenBetween(s.left,s.right,v=>v.value===s.operator),g={node:s,loc:d.loc,messageId:"unexpected",data:{expectedOperator:l,actualOperator:s.operator}};h(s)||i(s)?e.report({...g,fix(v){return v.replaceText(d,l)}}):e.report({...g,suggest:[{messageId:"replaceOperator",data:{expectedOperator:l,actualOperator:s.operator},fix:v=>v.replaceText(d,l)}]})}return{BinaryExpression(s){const l=f(s);if(s.operator!=="=="&&s.operator!=="!="){u&&l&&m(s,s.operator.slice(0,-1));return}n==="smart"&&(h(s)||i(s)||l)||!p&&l||m(s,`${s.operator}=`)}}}},$i}var Wi,Tg;function Xw(){if(Tg)return Wi;Tg=1;const{getStaticValue:a}=$t();return Wi={meta:{type:"problem",docs:{description:"Enforce `for` loop update clause moving the counter in the right direction",recommended:!0,url:"https://eslint.org/docs/latest/rules/for-direction"},fixable:null,schema:[],messages:{incorrectDirection:"The update clause in this loop moves the variable in the wrong direction."}},create(e){const{sourceCode:n}=e;function o(u){e.report({node:u,messageId:"incorrectDirection"})}function t(u,r){const h=a(u.right,n.getScope(u));if(h&&["bigint","boolean","number"].includes(typeof h.value)){const i=Math.sign(Number(h.value))||0;return r*i}return 0}function c(u,r){if(u.argument.type==="Identifier"&&u.argument.name===r){if(u.operator==="++")return 1;if(u.operator==="--")return-1}return 0}function p(u,r){if(u.left.name===r){if(u.operator==="+=")return t(u,1);if(u.operator==="-=")return t(u,-1)}return 0}return{ForStatement(u){if(u.test&&u.test.type==="BinaryExpression"&&u.update)for(const r of["left","right"]){if(u.test[r].type!=="Identifier")continue;const h=u.test[r].name,i=u.test.operator,f=u.update;let m;if(i==="<"||i==="<=")m=r==="left"?-1:1;else if(i===">"||i===">=")m=r==="left"?1:-1;else return;f.type==="UpdateExpression"?c(f,h)===m&&o(u):f.type==="AssignmentExpression"&&p(f,h)===m&&o(u)}}}}},Wi}var Gi,kg;function Jw(){if(kg)return Gi;kg=1;const a=Me();return Gi={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"function-call-spacing",url:"https://eslint.style/rules/js/function-call-spacing"}}]},type:"layout",docs:{description:"Require or disallow spacing between function identifiers and their invocations",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.options[0]!=="always",o=!n&&e.options[1]&&e.options[1].allowNewlines,t=e.sourceCode,c=t.getText();function p(u,r,h){const i=c.slice(r.range[1],h.range[0]).replace(/\/\*.*?\*\//gu,""),f=/\s/u.test(i),m=f&&a.LINEBREAK_MATCHER.test(i);n&&f?e.report({node:u,loc:{start:r.loc.end,end:{line:h.loc.start.line,column:h.loc.start.column-1}},messageId:"unexpectedWhitespace",fix(s){return t.commentsExistBetween(r,h)?null:u.optional?s.replaceTextRange([r.range[1],h.range[0]],"?."):m?null:s.removeRange([r.range[1],h.range[0]])}}):!n&&!f?e.report({node:u,loc:{start:{line:r.loc.end.line,column:r.loc.end.column-1},end:h.loc.start},messageId:"missing",fix(s){return u.optional?null:s.insertTextBefore(h," ")}}):!n&&!o&&m&&e.report({node:u,loc:{start:r.loc.end,end:h.loc.start},messageId:"unexpectedNewline",fix(s){if(!u.optional||t.commentsExistBetween(r,h))return null;const l=[r.range[1],h.range[0]],d=t.getTokenAfter(r);return d.range[0]===r.range[1]?s.replaceTextRange(l,"?. "):d.range[1]===h.range[0]?s.replaceTextRange(l," ?."):s.replaceTextRange(l," ?. ")}})}return{"CallExpression, NewExpression"(u){const r=t.getLastToken(u),h=t.getLastToken(u.callee),i=t.getFirstTokenBetween(h,r,a.isOpeningParenToken),f=i&&t.getTokenBefore(i,a.isNotQuestionDotToken);i&&i.range[1]<u.range[1]&&p(u,f,i)},ImportExpression(u){const r=t.getFirstToken(u),h=t.getTokenAfter(r);p(u,r,h)}}}},Gi}var zi,Dg;function Yw(){if(Dg)return zi;Dg=1;const a=Me(),e=Wd();function n(p){return p.type==="MemberExpression"&&p.object.type==="Identifier"&&p.object.name==="module"&&(p.property.type==="Identifier"&&p.property.name==="exports"||p.property.type==="Literal"&&p.property.value==="exports")}function o(p,u){return u>=2015?e.keyword.isIdentifierES6(p):e.keyword.isIdentifierES5(p)}const t={enum:["always","never"]},c={type:"object",properties:{considerPropertyDescriptor:{type:"boolean"},includeCommonJSModuleExports:{type:"boolean"}},additionalProperties:!1};return zi={meta:{type:"suggestion",docs:{description:"Require function names to match the name of the variable or property to which they are assigned",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/func-name-matching"},schema:{anyOf:[{type:"array",additionalItems:!1,items:[t,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(p){const u=(typeof p.options[0]=="object"?p.options[0]:p.options[1])||{},r=typeof p.options[0]=="string"?p.options[0]:"always",h=u.considerPropertyDescriptor,i=u.includeCommonJSModuleExports,f=p.languageOptions.ecmaVersion;function m(g,v,S){return S?S.type==="CallExpression"&&a.isSpecificMemberAccess(S.callee,g,v):!1}function s(g,v){return r==="always"&&g!==v||r==="never"&&g===v}function l(g,v,S,b){let C;r==="always"&&b?C="matchProperty":r==="always"?C="matchVariable":b?C="notMatchProperty":C="notMatchVariable",p.report({node:g,messageId:C,data:{name:v,funcName:S}})}function d(g){return g.type==="Literal"&&typeof g.value=="string"}return{VariableDeclarator(g){!g.init||g.init.type!=="FunctionExpression"||g.id.type!=="Identifier"||g.init.id&&s(g.id.name,g.init.id.name)&&l(g,g.id.name,g.init.id.name,!1)},AssignmentExpression(g){if(g.right.type!=="FunctionExpression"||g.left.computed&&g.left.property.type!=="Literal"||!i&&n(g.left)||g.left.type!=="Identifier"&&g.left.type!=="MemberExpression")return;const v=g.left.type==="MemberExpression",S=v?a.getStaticPropertyName(g.left):g.left.name;g.right.id&&S&&o(S)&&s(S,g.right.id.name)&&l(g,S,g.right.id.name,v)},"Property, PropertyDefinition[value]"(g){if(g.value.type==="FunctionExpression"&&g.value.id){if(g.key.type==="Identifier"&&!g.computed){const v=g.value.id.name;let S=g.key.name;if(h&&S==="value"&&g.parent.type==="ObjectExpression")if(m("Object","defineProperty",g.parent.parent)||m("Reflect","defineProperty",g.parent.parent)){const b=g.parent.parent.arguments[1];d(b)&&s(b.value,v)&&l(g,b.value,v,!0)}else m("Object","defineProperties",g.parent.parent.parent.parent)||m("Object","create",g.parent.parent.parent.parent)?(S=g.parent.parent.key.name,!g.parent.parent.computed&&s(S,v)&&l(g,S,v,!0)):s(S,v)&&l(g,S,v,!0);else s(S,v)&&l(g,S,v,!0);return}d(g.key)&&o(g.key.value,f)&&s(g.key.value,g.value.id.name)&&l(g,g.key.value,g.value.id.name,!0)}}}}},zi}var Hi,Ig;function Qw(){if(Ig)return Hi;Ig=1;const a=Me();function e(n){return n&&n.defs[0].type==="FunctionName"}return Hi={meta:{type:"suggestion",defaultOptions:["always",{}],docs:{description:"Require or disallow named `function` expressions",recommended:!1,url:"https://eslint.org/docs/latest/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(n){const o=n.sourceCode;function t(i){return i.generator&&n.options[1].generators?n.options[1].generators:n.options[0]}function c(i){const f=i.parent;return f.type==="MethodDefinition"||f.type==="Property"&&(f.method||f.kind==="get"||f.kind==="set")}function p(i){const f=i.parent;return c(i)||f.type==="VariableDeclarator"&&f.id.type==="Identifier"&&f.init===i||f.type==="Property"&&f.value===i||f.type==="PropertyDefinition"&&f.value===i||f.type==="AssignmentExpression"&&f.left.type==="Identifier"&&f.right===i||f.type==="AssignmentPattern"&&f.left.type==="Identifier"&&f.right===i}function u(i){n.report({node:i,messageId:"unnamed",loc:a.getFunctionHeadLoc(i,o),data:{name:a.getFunctionNameWithKind(i)}})}function r(i){n.report({node:i,messageId:"named",loc:a.getFunctionHeadLoc(i,o),data:{name:a.getFunctionNameWithKind(i)}})}function h(i){const f=o.getDeclaredVariables(i)[0];if(e(f)&&f.references.length>0)return;const m=!!(i.id&&i.id.name),s=t(i);s==="never"?m&&i.type!=="FunctionDeclaration"&&r(i):s==="as-needed"?!m&&!p(i)&&u(i):!m&&!c(i)&&u(i)}return{"FunctionExpression:exit":h,"ExportDefaultDeclaration > FunctionDeclaration":h}}},Hi}var Ki,Pg;function Zw(){return Pg||(Pg=1,Ki={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",defaultOptions:["expression",{allowArrowFunctions:!1,allowTypeAnnotation:!1,overrides:{}}],docs:{description:"Enforce the consistent use of either `function` declarations or expressions assigned to variables",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/func-style"},schema:[{enum:["declaration","expression"]},{type:"object",properties:{allowArrowFunctions:{type:"boolean"},allowTypeAnnotation:{type:"boolean"},overrides:{type:"object",properties:{namedExports:{enum:["declaration","expression","ignore"]}},additionalProperties:!1}},additionalProperties:!1}],messages:{expression:"Expected a function expression.",declaration:"Expected a function declaration."}},create(a){const[e,{allowArrowFunctions:n,allowTypeAnnotation:o,overrides:t}]=a.options,c=e==="declaration",{namedExports:p}=t,u=[];function r(i){const f=i.id.name;return i.parent.type==="ExportNamedDeclaration"?i.parent.parent.body.some(m=>{var s;return m.type==="ExportNamedDeclaration"&&((s=m.declaration)==null?void 0:s.type)==="TSDeclareFunction"&&m.declaration.id.name===f}):i.parent.type==="SwitchCase"?i.parent.parent.cases.some(m=>m.consequent.some(s=>s.type==="TSDeclareFunction"&&s.id.name===f)):Array.isArray(i.parent.body)&&i.parent.body.some(m=>m.type==="TSDeclareFunction"&&m.id.name===f)}const h={FunctionDeclaration(i){u.push(!1),!c&&i.parent.type!=="ExportDefaultDeclaration"&&(typeof p>"u"||i.parent.type!=="ExportNamedDeclaration")&&!r(i)&&a.report({node:i,messageId:"expression"}),i.parent.type==="ExportNamedDeclaration"&&p==="expression"&&!r(i)&&a.report({node:i,messageId:"expression"})},"FunctionDeclaration:exit"(){u.pop()},FunctionExpression(i){u.push(!1),c&&i.parent.type==="VariableDeclarator"&&(typeof p>"u"||i.parent.parent.parent.type!=="ExportNamedDeclaration")&&!(o&&i.parent.id.typeAnnotation)&&a.report({node:i.parent,messageId:"declaration"}),i.parent.type==="VariableDeclarator"&&i.parent.parent.parent.type==="ExportNamedDeclaration"&&p==="declaration"&&!(o&&i.parent.id.typeAnnotation)&&a.report({node:i.parent,messageId:"declaration"})},"FunctionExpression:exit"(){u.pop()},"ThisExpression, Super"(){u.length>0&&(u[u.length-1]=!0)}};return n||(h.ArrowFunctionExpression=function(){u.push(!1)},h["ArrowFunctionExpression:exit"]=function(i){!u.pop()&&i.parent.type==="VariableDeclarator"&&(c&&(typeof p>"u"||i.parent.parent.parent.type!=="ExportNamedDeclaration")&&!(o&&i.parent.id.typeAnnotation)&&a.report({node:i.parent,messageId:"declaration"}),i.parent.parent.parent.type==="ExportNamedDeclaration"&&p==="declaration"&&!(o&&i.parent.id.typeAnnotation)&&a.report({node:i.parent,messageId:"declaration"}))}),h}}),Ki}var Xi,Fg;function eA(){return Fg||(Fg=1,Xi={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"function-call-argument-newline",url:"https://eslint.style/rules/js/function-call-argument-newline"}}]},type:"layout",docs:{description:"Enforce line breaks between arguments of a function call",recommended:!1,url:"https://eslint.org/docs/latest/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(a){const e=a.sourceCode,n={unexpected:{messageId:"unexpectedLineBreak",check:(c,p)=>c.loc.end.line!==p.loc.start.line,createFix:(c,p)=>u=>u.replaceTextRange([p.range[1],c.range[0]]," ")},missing:{messageId:"missingLineBreak",check:(c,p)=>c.loc.end.line===p.loc.start.line,createFix:(c,p)=>u=>u.replaceTextRange([p.range[1],c.range[0]],`
61
- `)}};function o(c,p){for(let u=1;u<c.arguments.length;u++){const r=e.getLastToken(c.arguments[u-1]),h=e.getFirstToken(c.arguments[u]);if(p.check(r,h)){const i=e.getTokenBefore(h,{includeComments:!0}),f=i.type==="Line";a.report({node:c,loc:{start:i.loc.end,end:h.loc.start},messageId:p.messageId,fix:f?null:p.createFix(h,i)})}}}function t(c){if(c.arguments.length<2)return;const p=a.options[0]||"always";if(p==="never")o(c,n.unexpected);else if(p==="always")o(c,n.missing);else if(p==="consistent"){const u=e.getLastToken(c.arguments[0]),r=e.getFirstToken(c.arguments[1]);u.loc.end.line===r.loc.start.line?o(c,n.unexpected):o(c,n.missing)}}return{CallExpression:t,NewExpression:t}}}),Xi}var Ji,Rg;function tA(){if(Rg)return Ji;Rg=1;const a=Me();return Ji={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"function-paren-newline",url:"https://eslint.style/rules/js/function-paren-newline"}}]},type:"layout",docs:{description:"Enforce consistent line breaks inside function parentheses",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.sourceCode,o=e.options[0]||"multiline",t=o==="multiline",c=o==="multiline-arguments",p=o==="consistent";let u;typeof o=="object"?u=o.minItems:o==="always"?u=0:o==="never"?u=1/0:u=null;function r(m,s){return c&&m.length===1?s:t||c?m.some((l,d)=>d!==m.length-1&&l.loc.end.line!==m[d+1].loc.start.line):p?s:m.length>=u}function h(m,s){const l=m.leftParen,d=m.rightParen,g=n.getTokenAfter(l),v=n.getTokenBefore(d),S=!a.isTokenOnSameLine(l,g),b=!a.isTokenOnSameLine(v,d),C=r(s,S);S&&!C?e.report({node:l,messageId:"unexpectedAfter",fix(w){return n.getText().slice(l.range[1],g.range[0]).trim()?null:w.removeRange([l.range[1],g.range[0]])}}):!S&&C&&e.report({node:l,messageId:"expectedAfter",fix:w=>w.insertTextAfter(l,`
62
- `)}),b&&!C?e.report({node:d,messageId:"unexpectedBefore",fix(w){return n.getText().slice(v.range[1],d.range[0]).trim()?null:w.removeRange([v.range[1],d.range[0]])}}):!b&&C&&e.report({node:d,messageId:"expectedBefore",fix:w=>w.insertTextBefore(d,`
63
- `)})}function i(m,s){const l=m.leftParen,d=n.getTokenAfter(l),g=!a.isTokenOnSameLine(l,d),v=r(s,g);for(let S=0;S<=s.length-2;S++){const b=s[S],C=s[S+1];!(b.loc.end.line!==C.loc.start.line)&&v&&e.report({node:b,messageId:"expectedBetween",fix:E=>E.insertTextBefore(C,`
64
- `)})}}function f(m){switch(m.type){case"NewExpression":if(!m.arguments.length&&!(a.isOpeningParenToken(n.getLastToken(m,{skip:1}))&&a.isClosingParenToken(n.getLastToken(m))&&m.callee.range[1]<m.range[1]))return null;case"CallExpression":return{leftParen:n.getTokenAfter(m.callee,a.isOpeningParenToken),rightParen:n.getLastToken(m)};case"FunctionDeclaration":case"FunctionExpression":{const s=n.getFirstToken(m,a.isOpeningParenToken),l=m.params.length?n.getTokenAfter(m.params.at(-1),a.isClosingParenToken):n.getTokenAfter(s);return{leftParen:s,rightParen:l}}case"ArrowFunctionExpression":{const s=n.getFirstToken(m,{skip:m.async?1:0});if(!a.isOpeningParenToken(s))return null;const l=m.params.length?n.getTokenAfter(m.params.at(-1),a.isClosingParenToken):n.getTokenAfter(s);return{leftParen:s,rightParen:l}}case"ImportExpression":{const s=n.getFirstToken(m,1),l=n.getLastToken(m);return{leftParen:s,rightParen:l}}default:throw new TypeError(`unexpected node with type ${m.type}`)}}return{[["ArrowFunctionExpression","CallExpression","FunctionDeclaration","FunctionExpression","ImportExpression","NewExpression"]](m){const s=f(m);let l;m.type==="ImportExpression"?l=[m.source]:a.isFunction(m)?l=m.params:l=m.arguments,s&&(h(s,l),c&&i(s,l))}}}},Ji}var Yi,_g;function rA(){if(_g)return Yi;_g=1;const a={oneOf:[{enum:["before","after","both","neither"]},{type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"}},additionalProperties:!1}]};return Yi={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"generator-star-spacing",url:"https://eslint.style/rules/js/generator-star-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing around `*` operators in generator functions",recommended:!1,url:"https://eslint.org/docs/latest/rules/generator-star-spacing"},fixable:"whitespace",schema:[{oneOf:[{enum:["before","after","both","neither"]},{type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"},named:a,anonymous:a,method:a},additionalProperties:!1}]}],messages:{missingBefore:"Missing space before *.",missingAfter:"Missing space after *.",unexpectedBefore:"Unexpected space before *.",unexpectedAfter:"Unexpected space after *."}},create(e){const n={before:{before:!0,after:!1},after:{before:!1,after:!0},both:{before:!0,after:!0},neither:{before:!1,after:!1}};function o(f,m){return f?typeof f=="string"?n[f]:Object.assign({},m,f):m}const t=function(f){const m=o(f,n.before);return{named:o(f.named,m),anonymous:o(f.anonymous,m),method:o(f.method,m)}}(e.options[0]||{}),c=e.sourceCode;function p(f){return f.value==="*"&&f.type==="Punctuator"}function u(f){return c.getFirstToken(f.parent.method||f.parent.type==="MethodDefinition"?f.parent:f,p)}function r(f){return f[0].toUpperCase()+f.slice(1)}function h(f,m,s,l){if(!!(l.range[0]-s.range[1])!==t[f][m]){const d=s.value==="*",g=t[f][m],v=d?s:l,S=`${g?"missing":"unexpected"}${r(m)}`;e.report({node:v,messageId:S,fix(b){return g?d?b.insertTextAfter(v," "):b.insertTextBefore(v," "):b.removeRange([s.range[1],l.range[0]])}})}}function i(f){if(!f.generator)return;const m=u(f),s=c.getTokenBefore(m),l=c.getTokenAfter(m);let d="named";f.parent.type==="MethodDefinition"||f.parent.type==="Property"&&f.parent.method?d="method":f.id||(d="anonymous"),d==="method"&&m===c.getFirstToken(f.parent)||h(d,"before",s,m),h(d,"after",m,l)}return{FunctionDeclaration:i,FunctionExpression:i}}},Yi}var Qi,Bg;function nA(){if(Bg)return Qi;Bg=1;const a=Me(),e=/^(?:Arrow)?FunctionExpression$/u;function n(o){for(const t of o)if(t.reachable)return!0;return!1}return Qi={meta:{type:"problem",defaultOptions:[{allowImplicit:!1}],docs:{description:"Enforce `return` statements in getters",recommended:!0,url:"https://eslint.org/docs/latest/rules/getter-return"},fixable:null,schema:[{type:"object",properties:{allowImplicit:{type:"boolean"}},additionalProperties:!1}],messages:{expected:"Expected to return a value in {{name}}.",expectedAlways:"Expected {{name}} to always return a value."}},create(o){const[{allowImplicit:t}]=o.options,c=o.sourceCode;let p={upper:null,codePath:null,hasReturn:!1,shouldCheck:!1,node:null,currentSegments:[]};function u(h){p.shouldCheck&&n(p.currentSegments)&&o.report({node:h,loc:a.getFunctionHeadLoc(h,c),messageId:p.hasReturn?"expectedAlways":"expected",data:{name:a.getFunctionNameWithKind(p.node)}})}function r(h){const i=h.parent;if(e.test(h.type)&&h.body.type==="BlockStatement"){if(i.kind==="get")return!0;if(i.type==="Property"&&a.getStaticPropertyName(i)==="get"&&i.parent.type==="ObjectExpression"){if(i.parent.parent.type==="CallExpression"){const f=i.parent.parent.callee;if(a.isSpecificMemberAccess(f,"Object","defineProperty")||a.isSpecificMemberAccess(f,"Reflect","defineProperty"))return!0}if(i.parent.parent.type==="Property"&&i.parent.parent.parent.type==="ObjectExpression"&&i.parent.parent.parent.parent.type==="CallExpression"){const f=i.parent.parent.parent.parent.callee;return a.isSpecificMemberAccess(f,"Object","defineProperties")||a.isSpecificMemberAccess(f,"Object","create")}}}return!1}return{onCodePathStart(h,i){p={upper:p,codePath:h,hasReturn:!1,shouldCheck:r(i),node:i,currentSegments:new Set}},onCodePathEnd(){p=p.upper},onUnreachableCodePathSegmentStart(h){p.currentSegments.add(h)},onUnreachableCodePathSegmentEnd(h){p.currentSegments.delete(h)},onCodePathSegmentStart(h){p.currentSegments.add(h)},onCodePathSegmentEnd(h){p.currentSegments.delete(h)},ReturnStatement(h){p.shouldCheck&&(p.hasReturn=!0,!t&&!h.argument&&o.report({node:h,messageId:"expected",data:{name:a.getFunctionNameWithKind(p.node)}}))},"FunctionExpression:exit":u,"ArrowFunctionExpression:exit":u}}},Qi}var Zi,Lg;function sA(){if(Lg)return Zi;Lg=1;const a=new Set(["AssignmentExpression","VariableDeclarator","MemberExpression","ExpressionStatement","CallExpression","ConditionalExpression","Program","VariableDeclaration","ChainExpression"]);function e(o,t){const c=o.references.filter(p=>p.identifier.range[0]===t.range[0]&&p.identifier.range[1]===t.range[1]);return c.length===1?c[0]:null}function n(o,t){const c=e(o,t);return c&&c.resolved&&c.resolved.defs.length>0}return Zi={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:null,replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"global-require",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/global-require.md"}}]},type:"suggestion",docs:{description:"Require `require()` calls to be placed at top-level module scope",recommended:!1,url:"https://eslint.org/docs/latest/rules/global-require"},schema:[],messages:{unexpected:"Unexpected require()."}},create(o){const t=o.sourceCode;return{CallExpression(c){const p=t.getScope(c);c.callee.name==="require"&&!n(p,c.callee)&&(t.getAncestors(c).every(r=>a.has(r.type))||o.report({node:c,messageId:"unexpected"}))}}}},Zi}var eo,Og;function aA(){if(Og)return eo;Og=1;const a=Me();function e(t,c){if(t.length!==c.length)return!1;for(let p=0;p<t.length;p++){const u=t[p],r=c[p];if(u.type!==r.type||u.value!==r.value)return!1}return!0}function n(t,c){return typeof t=="string"&&typeof c=="string"?t===c:Array.isArray(t)&&Array.isArray(c)?e(t,c):!1}function o(t){return t.kind==="get"||t.kind==="set"}return eo={meta:{type:"suggestion",defaultOptions:["anyOrder"],docs:{description:"Require grouped accessor pairs in object literals and classes",recommended:!1,url:"https://eslint.org/docs/latest/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(t){const[c]=t.options,p=t.sourceCode;function u(h,i,f){t.report({node:f,messageId:h,loc:a.getFunctionHeadLoc(f.value,p),data:{formerName:a.getFunctionNameWithKind(i.value),latterName:a.getFunctionNameWithKind(f.value)}})}function r(h,i){const f=[];let m=!1;for(let s=0;s<h.length;s++){const l=h[s];if(i(l)&&o(l)){const d=a.getStaticPropertyName(l),g=d!==null?d:p.getTokens(l.key);for(let v=0;v<f.length;v++){const S=f[v];if(n(S.key,g)){S.getters.push(...l.kind==="get"?[l]:[]),S.setters.push(...l.kind==="set"?[l]:[]),m=!0;break}}m||f.push({key:g,getters:l.kind==="get"?[l]:[],setters:l.kind==="set"?[l]:[]}),m=!1}}for(const{getters:s,setters:l}of f)if(s.length===1&&l.length===1){const[d]=s,[g]=l,v=h.indexOf(d),S=h.indexOf(g),b=v<S?d:g,C=v<S?g:d;Math.abs(v-S)>1?u("notGrouped",b,C):(c==="getBeforeSet"&&v>S||c==="setBeforeGet"&&v<S)&&u("invalidOrder",b,C)}}return{ObjectExpression(h){r(h.properties,i=>i.type==="Property")},ClassBody(h){r(h.body,i=>i.type==="MethodDefinition"&&!i.static),r(h.body,i=>i.type==="MethodDefinition"&&i.static)}}}},eo}var to,Ng;function iA(){return Ng||(Ng=1,to={meta:{type:"suggestion",docs:{description:"Require `for-in` loops to include an `if` statement",recommended:!1,url:"https://eslint.org/docs/latest/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(a){return{ForInStatement(e){const n=e.body;if(n.type!=="EmptyStatement"&&n.type!=="IfStatement"&&!(n.type==="BlockStatement"&&n.body.length===0)&&!(n.type==="BlockStatement"&&n.body.length===1&&n.body[0].type==="IfStatement")){if(n.type==="BlockStatement"&&n.body.length>=1&&n.body[0].type==="IfStatement"){const o=n.body[0];if(o.consequent.type==="ContinueStatement"||o.consequent.type==="BlockStatement"&&o.consequent.body.length===1&&o.consequent.body[0].type==="ContinueStatement")return}a.report({node:e,messageId:"wrap"})}}}}}),to}var ro,jg;function oA(){return jg||(jg=1,ro={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:null,replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"handle-callback-err",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/handle-callback-err.md"}}]},type:"suggestion",docs:{description:"Require error handling in callbacks",recommended:!1,url:"https://eslint.org/docs/latest/rules/handle-callback-err"},schema:[{type:"string"}],messages:{expected:"Expected error to be handled."}},create(a){const e=a.options[0]||"err",n=a.sourceCode;function o(u){return u[0]==="^"}function t(u){return o(e)?new RegExp(e,"u").test(u):u===e}function c(u){return u.variables.filter(r=>r.defs[0]&&r.defs[0].type==="Parameter")}function p(u){const r=n.getScope(u),h=c(r),i=h[0];i&&t(i.name)&&i.references.length===0&&a.report({node:u,messageId:"expected"})}return{FunctionDeclaration:p,FunctionExpression:p,ArrowFunctionExpression:p}}}),ro}var no,Mg;function lA(){if(Mg)return no;Mg=1;function a(t){const c=t.parent;return c.type==="AssignmentExpression"&&c.left===t||c.type==="ArrayPattern"||c.type==="RestElement"||c.type==="Property"&&c.value===t&&c.parent.type==="ObjectPattern"||c.type==="AssignmentPattern"&&c.left===t}function e(t){const c=t.parent;return c.type==="ImportSpecifier"&&c.imported!==c.local&&c.imported===t||c.type==="ExportSpecifier"&&c.parent.source&&c.local!==c.exported&&c.local===t}function n(t){const c=t.parent;return!c.computed&&c.type==="Property"&&c.parent.type==="ObjectPattern"&&c.value!==t&&c.key===t}function o(t){const c=t.parent;return c.type==="Property"&&c.parent.type==="ObjectExpression"&&c.shorthand}return no={meta:{deprecated:{message:"The rule was renamed.",url:"https://eslint.org/blog/2020/07/eslint-v7.5.0-released/#deprecating-id-blacklist",deprecatedSince:"7.5.0",availableUntil:null,replacedBy:[{rule:{name:"id-denylist",url:"https://eslint.org/docs/rules/id-denylist"}}]},type:"suggestion",docs:{description:"Disallow specified identifiers",recommended:!1,url:"https://eslint.org/docs/latest/rules/id-blacklist"},schema:{type:"array",items:{type:"string"},uniqueItems:!0},messages:{restricted:"Identifier '{{name}}' is restricted."}},create(t){const c=new Set(t.options),p=new Set,u=t.sourceCode;let r;function h(s){return c.has(s)}function i(s){const l=r.set.get(s.name);return l&&l.defs.length===0&&l.references.some(d=>d.identifier===s)}function f(s){const l=s.parent;return l.type==="MemberExpression"&&l.property===s&&!l.computed?a(l):l.type!=="CallExpression"&&l.type!=="NewExpression"&&!e(s)&&!n(s)&&!(i(s)&&!o(s))}function m(s){p.has(s.range.toString())||(t.report({node:s,messageId:"restricted",data:{name:s.name}}),p.add(s.range.toString()))}return{Program(s){r=u.getScope(s)},Identifier(s){h(s.name)&&f(s)&&m(s)}}}},no}var so,Ug;function uA(){if(Ug)return so;Ug=1;const a=Me();function e(t){const c=t.parent;return c.type==="AssignmentExpression"&&c.left===t||c.type==="ArrayPattern"||c.type==="RestElement"||c.type==="Property"&&c.value===t&&c.parent.type==="ObjectPattern"||c.type==="AssignmentPattern"&&c.left===t}function n(t){const c=t.parent;return c.type==="ImportSpecifier"&&c.imported!==c.local&&c.imported===t||c.type==="ExportSpecifier"&&c.parent.source&&c.local!==c.exported&&c.local===t}function o(t){const c=t.parent;return!c.computed&&c.type==="Property"&&c.parent.type==="ObjectPattern"&&c.key===t}return so={meta:{type:"suggestion",defaultOptions:[],docs:{description:"Disallow specified identifiers",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/id-denylist"},schema:{type:"array",items:{type:"string"},uniqueItems:!0},messages:{restricted:"Identifier '{{name}}' is restricted.",restrictedPrivate:"Identifier '#{{name}}' is restricted."}},create(t){const c=new Set(t.options),p=new Set,u=t.sourceCode;let r;function h(s){return c.has(s)}function i(s){const l=r.set.get(s.name);return l&&l.defs.length===0&&l.references.some(d=>d.identifier===s)}function f(s){if(a.isImportAttributeKey(s))return!1;const l=s.parent;return l.type==="MemberExpression"&&l.property===s&&!l.computed?e(l):l.type!=="CallExpression"&&l.type!=="NewExpression"&&!n(s)&&!o(s)&&!i(s)}function m(s){if(!p.has(s.range.toString())){const l=s.type==="PrivateIdentifier";t.report({node:s,messageId:l?"restrictedPrivate":"restricted",data:{name:s.name}}),p.add(s.range.toString())}}return{Program(s){r=u.getScope(s)},[["Identifier","PrivateIdentifier"]](s){h(s.name)&&f(s)&&m(s)}}}},so}var ao,qg;function cA(){if(qg)return ao;qg=1;const{getGraphemeCount:a}=Br(),{getModuleExportName:e,isImportAttributeKey:n}=Me();return ao={meta:{type:"suggestion",defaultOptions:[{exceptionPatterns:[],exceptions:[],min:2,properties:"always"}],docs:{description:"Enforce minimum and maximum identifier lengths",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/id-length"},schema:[{type:"object",properties:{min:{type:"integer"},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(o){const[t]=o.options,{max:c=1/0,min:p}=t,u=t.properties!=="never",r=new Set(t.exceptions),h=t.exceptionPatterns.map(s=>new RegExp(s,"u")),i=new Set;function f(s){return h.some(l=>l.test(s))}const m={MemberExpression:u&&function(s){return!s.computed&&(s.parent.left===s&&s.parent.type==="AssignmentExpression"||s.parent.type==="Property"&&s.parent.value===s&&s.parent.parent.type==="ObjectPattern"&&s.parent.parent.parent.left===s.parent.parent)},AssignmentPattern(s,l){return s.left===l},VariableDeclarator(s,l){return s.id===l},Property(s,l){if(s.parent.type==="ObjectPattern"){const d=s.value.name===s.key.name;return!d&&s.value===l||d&&s.key===l&&u}return u&&!n(l)&&!s.computed&&s.key.name===l.name},ImportSpecifier(s,l){return s.local===l&&e(s.imported)!==e(s.local)},ImportDefaultSpecifier:!0,ImportNamespaceSpecifier:!0,RestElement:!0,FunctionExpression:!0,ArrowFunctionExpression:!0,ClassDeclaration:!0,FunctionDeclaration:!0,MethodDefinition:!0,PropertyDefinition:!0,CatchClause:!0,ArrayPattern:!0};return{[["Identifier","PrivateIdentifier"]](s){const l=s.name,d=s.parent,g=a(l),v=g<p,S=g>c;if(!(v||S)||r.has(l)||f(l))return;const b=m[d.type];if(b&&!i.has(s.range.toString())&&(b===!0||b(d,s))){i.add(s.range.toString());let C=v?"tooShort":"tooLong";s.type==="PrivateIdentifier"&&(C+="Private"),o.report({node:s,messageId:C,data:{name:l,min:p,max:c}})}}}}},ao}var io,Vg;function fA(){if(Vg)return io;Vg=1;const a=Me();return io={meta:{type:"suggestion",defaultOptions:["^.+$",{classFields:!1,ignoreDestructuring:!1,onlyDeclarations:!1,properties:!1}],docs:{description:"Require identifiers to match a specified regular expression",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/id-match"},schema:[{type:"string"},{type:"object",properties:{properties:{type:"boolean"},classFields:{type:"boolean"},onlyDeclarations:{type:"boolean"},ignoreDestructuring:{type:"boolean"}},additionalProperties:!1}],messages:{notMatch:"Identifier '{{name}}' does not match the pattern '{{pattern}}'.",notMatchPrivate:"Identifier '#{{name}}' does not match the pattern '{{pattern}}'."}},create(e){const[n,{classFields:o,ignoreDestructuring:t,onlyDeclarations:c,properties:p}]=e.options,u=new RegExp(n,"u"),r=e.sourceCode;let h;const i=new Set,f=new Set(["CallExpression","NewExpression"]),m=new Set(["FunctionDeclaration","VariableDeclarator"]),s=new Set(["ImportSpecifier","ImportNamespaceSpecifier","ImportDefaultSpecifier"]);function l(b){const C=h.set.get(b.name);return C&&C.defs.length===0&&C.references.some(w=>w.identifier===b)}function d(b){return!u.test(b)}function g(b){let{parent:C}=b;for(;C;){if(C.type==="ObjectPattern")return!0;C=C.parent}return!1}function v(b,C){return(!c||m.has(b.type))&&!f.has(b.type)&&d(C)}function S(b){if(!i.has(b.range.toString())){const C=b.type==="PrivateIdentifier"?"notMatchPrivate":"notMatch";e.report({node:b,messageId:C,data:{name:b.name,pattern:n}}),i.add(b.range.toString())}}return{Program(b){h=r.getScope(b)},Identifier(b){const C=b.name,w=b.parent,E=w.type==="MemberExpression"?w.parent:w;if(!(l(b)||a.isImportAttributeKey(b)))if(w.type==="MemberExpression"){if(!p)return;w.object.type==="Identifier"&&w.object.name===C||E.type==="AssignmentExpression"&&E.left.type==="MemberExpression"&&E.left.property.name===b.name?d(C)&&S(b):E.type==="AssignmentExpression"&&E.right.type!=="MemberExpression"&&d(C)&&S(b)}else if(w.type==="Property"&&w.parent.type==="ObjectExpression"&&w.key===b&&!w.computed)p&&d(C)&&S(b);else if(w.type==="Property"||w.type==="AssignmentPattern"){if(w.parent&&w.parent.type==="ObjectPattern"){!t&&w.shorthand&&w.value.left&&d(C)&&S(b);const k=w.key.name===w.value.name;if(!k&&w.key===b)return;w.value.name&&d(C)&&!(k&&t)&&S(b)}if(!p&&!w.computed||t&&g(b))return;w.right!==b&&v(E,C)&&S(b)}else s.has(w.type)?w.local&&w.local.name===b.name&&d(C)&&S(b):w.type==="PropertyDefinition"?o&&d(C)&&S(b):v(E,C)&&S(b)},PrivateIdentifier(b){b.parent.type==="PropertyDefinition"&&!o||d(b.name)&&S(b)}}}},io}var oo,$g;function pA(){if($g)return oo;$g=1;const{isCommentToken:a,isNotOpeningParenToken:e}=Me();return oo={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"implicit-arrow-linebreak",url:"https://eslint.style/rules/js/implicit-arrow-linebreak"}}]},type:"layout",docs:{description:"Enforce the location of arrow function bodies",recommended:!1,url:"https://eslint.org/docs/latest/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(n){const o=n.sourceCode,t=n.options[0]||"beside";function c(p){if(p.body.type==="BlockStatement")return;const u=o.getTokenBefore(p.body,e),r=o.getTokenAfter(u);u.loc.end.line===r.loc.start.line&&t==="below"?n.report({node:r,messageId:"expected",fix:h=>h.insertTextBefore(r,`
65
- `)}):u.loc.end.line!==r.loc.start.line&&t==="beside"&&n.report({node:r,messageId:"unexpected",fix(h){return o.getFirstTokenBetween(u,r,{includeComments:!0,filter:a})?null:h.replaceTextRange([u.range[1],r.range[0]]," ")}})}return{ArrowFunctionExpression:p=>c(p)}}},oo}var lo,Wg;function mA(){if(Wg)return lo;Wg=1;const a=Me(),e=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","StaticBlock","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"]);class n{constructor(u){this._values=Array(u+1)}insert(u,r){this._values[u]=r}findLastNotAfter(u){const r=this._values;for(let h=u;h>=0;h--){const i=r[h];if(i)return i}}deleteRange(u,r){this._values.fill(void 0,u,r)}}class o{constructor(u){this.sourceCode=u,this.firstTokensByLineNumber=new Map;const r=u.tokensAndComments;for(let h=0;h<r.length;h++){const i=r[h];this.firstTokensByLineNumber.has(i.loc.start.line)||this.firstTokensByLineNumber.set(i.loc.start.line,i),!this.firstTokensByLineNumber.has(i.loc.end.line)&&u.text.slice(i.range[1]-i.loc.end.column,i.range[1]).trim()&&this.firstTokensByLineNumber.set(i.loc.end.line,i)}}getFirstTokenOfLine(u){return this.firstTokensByLineNumber.get(u.loc.start.line)}isFirstTokenOfLine(u){return this.getFirstTokenOfLine(u)===u}getTokenIndent(u){return this.sourceCode.text.slice(u.range[0]-u.loc.start.column,u.range[0])}}class t{constructor(u,r,h,i){this._tokenInfo=u,this._indentSize=r,this._indentType=h,this._indexMap=new n(i),this._indexMap.insert(0,{offset:0,from:null,force:!1}),this._lockedFirstTokens=new WeakMap,this._desiredIndentCache=new WeakMap,this._ignoredTokens=new WeakSet}_getOffsetDescriptor(u){return this._indexMap.findLastNotAfter(u.range[0])}matchOffsetOf(u,r){this._lockedFirstTokens.set(r,u)}setDesiredOffset(u,r,h){return this.setDesiredOffsets(u.range,r,h)}setDesiredOffsets(u,r,h,i){const f={offset:h,from:r,force:i},m=this._indexMap.findLastNotAfter(u[1]),s=r&&r.range[0]>=u[0]&&r.range[1]<=u[1],l=s&&this._getOffsetDescriptor(r);this._indexMap.deleteRange(u[0]+1,u[1]),this._indexMap.insert(u[0],f),s&&(this._indexMap.insert(r.range[0],l),this._indexMap.insert(r.range[1],f)),this._indexMap.insert(u[1],m)}getDesiredIndent(u){if(!this._desiredIndentCache.has(u))if(this._ignoredTokens.has(u))this._desiredIndentCache.set(u,this._tokenInfo.getTokenIndent(u));else if(this._lockedFirstTokens.has(u)){const r=this._lockedFirstTokens.get(u);this._desiredIndentCache.set(u,this.getDesiredIndent(this._tokenInfo.getFirstTokenOfLine(r))+this._indentType.repeat(r.loc.start.column-this._tokenInfo.getFirstTokenOfLine(r).loc.start.column))}else{const r=this._getOffsetDescriptor(u),h=r.from&&r.from.loc.start.line===u.loc.start.line&&!/^\s*?\n/u.test(u.value)&&!r.force?0:r.offset*this._indentSize;this._desiredIndentCache.set(u,(r.from?this.getDesiredIndent(r.from):"")+this._indentType.repeat(h))}return this._desiredIndentCache.get(u)}ignoreToken(u){this._tokenInfo.isFirstTokenOfLine(u)&&this._ignoredTokens.add(u)}getFirstDependency(u){return this._getOffsetDescriptor(u).from}}const c={oneOf:[{type:"integer",minimum:0},{enum:["first","off"]}]};return lo={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"indent",url:"https://eslint.style/rules/js/indent"}}]},type:"layout",docs:{description:"Enforce consistent indentation",recommended:!1,url:"https://eslint.org/docs/latest/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},StaticBlock:{type:"object",properties:{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(p){let i="space",f=4;const m={SwitchCase:0,VariableDeclarator:{var:1,let:1,const:1},outerIIFEBody:1,FunctionDeclaration:{parameters:1,body:1},FunctionExpression:{parameters:1,body:1},StaticBlock:{body:1},CallExpression:{arguments:1},MemberExpression:1,ArrayExpression:1,ObjectExpression:1,ImportDeclaration:1,flatTernaryExpressions:!1,ignoredNodes:[],ignoreComments:!1};p.options.length&&(p.options[0]==="tab"?(f=1,i="tab"):(f=p.options[0],i="space"),p.options[1]&&(Object.assign(m,p.options[1]),(typeof m.VariableDeclarator=="number"||m.VariableDeclarator==="first")&&(m.VariableDeclarator={var:m.VariableDeclarator,let:m.VariableDeclarator,const:m.VariableDeclarator})));const s=p.sourceCode,l=new o(s),d=new t(l,f,i==="space"?" ":" ",s.text.length),g=new WeakSet;function v(_,H,K){const re=`${_} ${i}${_===1?"":"s"}`,te=`space${H===1?"":"s"}`,xe=`tab${K===1?"":"s"}`;let Y;return H>0?Y=i==="space"?H:`${H} ${te}`:K>0?Y=i==="tab"?K:`${K} ${xe}`:Y="0",{expected:re,actual:Y}}function S(_,H){const K=Array.from(l.getTokenIndent(_)),re=K.filter(xe=>xe===" ").length,te=K.filter(xe=>xe===" ").length;p.report({node:_,messageId:"wrongIndentation",data:v(H.length,re,te),loc:{start:{line:_.loc.start.line,column:0},end:{line:_.loc.start.line,column:_.loc.start.column}},fix(xe){const Y=[_.range[0]-_.loc.start.column,_.range[0]],F=H;return xe.replaceTextRange(Y,F)}})}function b(_,H){const K=l.getTokenIndent(_);return K===H||K.includes(" ")&&K.includes(" ")}function C(_){if(!_.parent||_.parent.type!=="CallExpression"||_.parent.callee!==_)return!1;let H=_.parent&&_.parent.parent;for(;H.type==="UnaryExpression"&&["!","~","+","-"].includes(H.operator)||H.type==="AssignmentExpression"||H.type==="LogicalExpression"||H.type==="SequenceExpression"||H.type==="VariableDeclarator";)H=H.parent;return(H.type==="ExpressionStatement"||H.type==="VariableDeclaration")&&H.parent.type==="Program"}function w(_){const K=_.match(/\s*$/u)[0].match(a.createGlobalLinebreakMatcher());return K===null?0:K.length}function E(_,H,K,re){function te(xe){let Y=s.getTokenBefore(xe);for(;a.isOpeningParenToken(Y)&&Y!==H;)Y=s.getTokenBefore(Y);return s.getTokenAfter(Y)}d.setDesiredOffsets([H.range[1],K.range[0]],H,typeof re=="number"?re:1),d.setDesiredOffset(K,H,0),!(re==="first"&&_.length&&!_[0])&&_.forEach((xe,Y)=>{if(xe&&(re==="off"&&d.ignoreToken(te(xe)),Y!==0))if(re==="first"&&l.isFirstTokenOfLine(te(xe)))d.matchOffsetOf(te(_[0]),te(xe));else{const F=_[Y-1],z=F&&te(F),ne=F&&s.getLastToken(F);F&&ne.loc.end.line-w(ne.value)>H.loc.end.line&&d.setDesiredOffsets([F.range[1],xe.range[1]],z,0)}})}function k(_){if(_.type!=="BlockStatement"){const H=s.getTokenBefore(_,a.isNotOpeningParenToken);let K=s.getFirstToken(_),re=s.getLastToken(_);for(;a.isOpeningParenToken(s.getTokenBefore(K))&&a.isClosingParenToken(s.getTokenAfter(re));)K=s.getTokenBefore(K),re=s.getTokenAfter(re);d.setDesiredOffsets([K.range[0],re.range[1]],H,1)}}function x(_){let H;_.arguments.length?H=s.getFirstTokenBetween(_.callee,_.arguments[0],a.isOpeningParenToken):H=s.getLastToken(_,1);const K=s.getLastToken(_);if(g.add(H),g.add(K),_.optional){const xe=s.getTokenAfter(_.callee,a.isQuestionDotToken),Y=s.getTokensBetween(_.callee,xe,{filter:a.isClosingParenToken}).length,F=Y?s.getTokenBefore(_.callee,{skip:Y-1}):s.getFirstToken(_.callee),z=s.getTokenBefore(xe),ne=z.loc.end.line===H.loc.start.line?z:F;d.setDesiredOffset(xe,ne,1)}const re=_.callee.type==="TaggedTemplateExpression"?s.getFirstToken(_.callee.quasi):H,te=s.getTokenBefore(re);d.setDesiredOffset(H,te,0),E(_.arguments,H,K,m.CallExpression.arguments)}function A(_){const H=[],K=[];for(let re=0;re<_.length;re++){const te=_[re];a.isOpeningParenToken(te)?H.push(te):a.isClosingParenToken(te)&&K.push({left:H.pop(),right:te})}for(let re=K.length-1;re>=0;re--){const te=K[re].left,xe=K[re].right;if(!g.has(te)&&!g.has(xe)){const Y=new Set(s.getTokensBetween(te,xe));Y.forEach(F=>{Y.has(d.getFirstDependency(F))||d.setDesiredOffset(F,te,1)})}d.setDesiredOffset(xe,te,0)}}function I(_){const H=new Set(s.getTokens(_,{includeComments:!0}));H.forEach(K=>{if(!H.has(d.getFirstDependency(K))){const re=l.getFirstTokenOfLine(K);K===re?d.ignoreToken(K):d.setDesiredOffset(K,re,0)}})}function B(_,H){let K=H;for(;K.parent&&!K.parent.type.endsWith("Statement")&&!K.parent.type.endsWith("Declaration");)K=K.parent;return K=K.parent,!K||K.loc.start.line===_.loc.start.line}function M(_,H){const K=_.loc.end.line,re=H.loc.start.line;if(K===re||K===re-1)return!1;for(let te=K+1;te<re;++te)if(!l.firstTokensByLineNumber.has(te))return!0;return!1}const P=new Set,D={"ArrayExpression, ArrayPattern"(_){const H=s.getFirstToken(_),K=s.getTokenAfter([..._.elements].reverse().find(re=>re)||H,a.isClosingBracketToken);E(_.elements,H,K,m.ArrayExpression)},"ObjectExpression, ObjectPattern"(_){const H=s.getFirstToken(_),K=s.getTokenAfter(_.properties.length?_.properties.at(-1):H,a.isClosingBraceToken);E(_.properties,H,K,m.ObjectExpression)},ArrowFunctionExpression(_){const H=s.getFirstToken(_,{skip:_.async?1:0});if(a.isOpeningParenToken(H)){const K=H,re=s.getTokenBefore(_.body,a.isClosingParenToken);g.add(K),g.add(re),E(_.params,K,re,m.FunctionExpression.parameters)}k(_.body)},AssignmentExpression(_){const H=s.getFirstTokenBetween(_.left,_.right,K=>K.value===_.operator);d.setDesiredOffsets([H.range[0],_.range[1]],s.getLastToken(_.left),1),d.ignoreToken(H),d.ignoreToken(s.getTokenAfter(H))},"BinaryExpression, LogicalExpression"(_){const H=s.getFirstTokenBetween(_.left,_.right,re=>re.value===_.operator),K=s.getTokenAfter(H);d.ignoreToken(H),d.ignoreToken(K),d.setDesiredOffset(K,H,0)},"BlockStatement, ClassBody"(_){let H;_.parent&&C(_.parent)?H=m.outerIIFEBody:_.parent&&(_.parent.type==="FunctionExpression"||_.parent.type==="ArrowFunctionExpression")?H=m.FunctionExpression.body:_.parent&&_.parent.type==="FunctionDeclaration"?H=m.FunctionDeclaration.body:H=1,a.STATEMENT_LIST_PARENTS.has(_.parent.type)||d.setDesiredOffset(s.getFirstToken(_),s.getFirstToken(_.parent),0),E(_.body,s.getFirstToken(_),s.getLastToken(_),H)},CallExpression:x,"ClassDeclaration[superClass], ClassExpression[superClass]"(_){const H=s.getFirstToken(_),K=s.getTokenBefore(_.superClass,a.isNotOpeningParenToken);d.setDesiredOffsets([K.range[0],_.body.range[0]],H,1)},ConditionalExpression(_){const H=s.getFirstToken(_);if(!m.flatTernaryExpressions||!a.isTokenOnSameLine(_.test,_.consequent)||B(H,_)){const K=s.getFirstTokenBetween(_.test,_.consequent,F=>F.type==="Punctuator"&&F.value==="?"),re=s.getFirstTokenBetween(_.consequent,_.alternate,F=>F.type==="Punctuator"&&F.value===":"),te=s.getTokenAfter(K),xe=s.getTokenBefore(re),Y=s.getTokenAfter(re);d.setDesiredOffset(K,H,1),d.setDesiredOffset(re,H,1),d.setDesiredOffset(te,H,te.type==="Punctuator"&&m.offsetTernaryExpressions?2:1),xe.loc.end.line===Y.loc.start.line?d.setDesiredOffset(Y,te,0):d.setDesiredOffset(Y,H,Y.type==="Punctuator"&&m.offsetTernaryExpressions?2:1)}},"DoWhileStatement, WhileStatement, ForInStatement, ForOfStatement, WithStatement":_=>k(_.body),ExportNamedDeclaration(_){if(_.declaration===null){const H=s.getLastToken(_,a.isClosingBraceToken);E(_.specifiers,s.getFirstToken(_,{skip:1}),H,1),_.source&&d.setDesiredOffsets([H.range[1],_.range[1]],s.getFirstToken(_),1)}},ForStatement(_){const H=s.getFirstToken(_,1);_.init&&d.setDesiredOffsets(_.init.range,H,1),_.test&&d.setDesiredOffsets(_.test.range,H,1),_.update&&d.setDesiredOffsets(_.update.range,H,1),k(_.body)},"FunctionDeclaration, FunctionExpression"(_){const H=s.getTokenBefore(_.body),K=s.getTokenBefore(_.params.length?_.params[0]:H);g.add(K),g.add(H),E(_.params,K,H,m[_.type].parameters)},IfStatement(_){k(_.consequent),_.alternate&&k(_.alternate)},":matches(DoWhileStatement, ForStatement, ForInStatement, ForOfStatement, IfStatement, WhileStatement, WithStatement):exit"(_){let H;_.type==="IfStatement"?(H=[_.consequent],_.alternate&&H.push(_.alternate)):H=[_.body];for(const K of H){const re=s.getLastToken(K);if(a.isSemicolonToken(re)){const te=s.getTokenBefore(re),xe=s.getTokenAfter(re);!a.isTokenOnSameLine(te,re)&&xe&&a.isTokenOnSameLine(re,xe)&&d.setDesiredOffset(re,s.getFirstToken(_),0)}}},ImportDeclaration(_){if(_.specifiers.some(te=>te.type==="ImportSpecifier")){const te=s.getFirstToken(_,a.isOpeningBraceToken),xe=s.getLastToken(_,a.isClosingBraceToken);E(_.specifiers.filter(Y=>Y.type==="ImportSpecifier"),te,xe,m.ImportDeclaration)}const H=s.getLastToken(_,te=>te.type==="Identifier"&&te.value==="from"),K=s.getLastToken(_,te=>te.type==="String"),re=s.getLastToken(_,te=>te.type==="Punctuator"&&te.value===";");if(H){const te=re&&re.range[1]===K.range[1]?_.range[1]:K.range[1];d.setDesiredOffsets([H.range[0],te],s.getFirstToken(_),1)}},ImportExpression(_){const H=s.getFirstToken(_,1),K=s.getLastToken(_);g.add(H),g.add(K),d.setDesiredOffset(H,s.getTokenBefore(H),0),E([_.source],H,K,m.CallExpression.arguments)},"MemberExpression, JSXMemberExpression, MetaProperty"(_){const H=_.type==="MetaProperty"?_.meta:_.object,K=s.getFirstTokenBetween(H,_.property,a.isNotClosingParenToken),re=s.getTokenAfter(K),te=s.getTokensBetween(H,_.property,{filter:a.isClosingParenToken}).length,xe=te?s.getTokenBefore(H,{skip:te-1}):s.getFirstToken(H),Y=s.getTokenBefore(K),F=_.computed?K:re;_.computed&&(d.setDesiredOffset(s.getLastToken(_),K,0),d.setDesiredOffsets(_.property.range,K,1));const z=Y.loc.end.line===F.loc.start.line?Y:xe;typeof m.MemberExpression=="number"?(d.setDesiredOffset(K,z,m.MemberExpression),d.setDesiredOffset(re,_.computed?K:z,m.MemberExpression)):(d.ignoreToken(K),d.ignoreToken(re),d.setDesiredOffset(K,z,0),d.setDesiredOffset(re,K,0))},NewExpression(_){(_.arguments.length>0||a.isClosingParenToken(s.getLastToken(_))&&a.isOpeningParenToken(s.getLastToken(_,1)))&&x(_)},Property(_){if(!_.shorthand&&!_.method&&_.kind==="init"){const H=s.getFirstTokenBetween(_.key,_.value,a.isColonToken);d.ignoreToken(s.getTokenAfter(H))}},PropertyDefinition(_){const H=s.getFirstToken(_),K=s.getLastToken(_);let re;if(_.computed){const te=s.getTokenBefore(_.key,a.isOpeningBracketToken),xe=re=s.getTokenAfter(_.key,a.isClosingBracketToken),Y=[te.range[1],xe.range[0]];te!==H&&d.setDesiredOffset(te,H,0),d.setDesiredOffsets(Y,te,1),d.setDesiredOffset(xe,te,0)}else{const te=re=s.getFirstToken(_.key);te!==H&&d.setDesiredOffset(te,H,1)}if(_.value){const te=s.getTokenBefore(_.value,a.isEqToken),xe=s.getTokenAfter(te);d.setDesiredOffset(te,re,1),d.setDesiredOffset(xe,te,1),a.isSemicolonToken(K)&&d.setDesiredOffset(K,te,1)}else a.isSemicolonToken(K)&&d.setDesiredOffset(K,re,1)},StaticBlock(_){const H=s.getFirstToken(_,{skip:1}),K=s.getLastToken(_);E(_.body,H,K,m.StaticBlock.body)},SwitchStatement(_){const H=s.getTokenAfter(_.discriminant,a.isOpeningBraceToken),K=s.getLastToken(_);d.setDesiredOffsets([H.range[1],K.range[0]],H,m.SwitchCase),_.cases.length&&s.getTokensBetween(_.cases.at(-1),K,{includeComments:!0,filter:a.isCommentToken}).forEach(re=>d.ignoreToken(re))},SwitchCase(_){if(!(_.consequent.length===1&&_.consequent[0].type==="BlockStatement")){const H=s.getFirstToken(_),K=s.getTokenAfter(_);d.setDesiredOffsets([H.range[1],K.range[0]],H,1)}},TemplateLiteral(_){_.expressions.forEach((H,K)=>{const re=_.quasis[K],te=_.quasis[K+1],xe=re.loc.start.line===re.loc.end.line?s.getFirstToken(re):null;d.setDesiredOffsets([re.range[1],te.range[0]],xe,1),d.setDesiredOffset(s.getFirstToken(te),xe,0)})},VariableDeclaration(_){let H=Object.hasOwn(m.VariableDeclarator,_.kind)?m.VariableDeclarator[_.kind]:1;const K=s.getFirstToken(_),re=s.getLastToken(_);if(m.VariableDeclarator[_.kind]==="first"){if(_.declarations.length>1){E(_.declarations,K,re,"first");return}H=1}_.declarations.at(-1).loc.start.line>_.loc.start.line?d.setDesiredOffsets(_.range,K,H,!0):d.setDesiredOffsets(_.range,K,H),a.isSemicolonToken(re)&&d.ignoreToken(re)},VariableDeclarator(_){if(_.init){const H=s.getTokenBefore(_.init,a.isNotOpeningParenToken),K=s.getTokenAfter(H);d.ignoreToken(H),d.ignoreToken(K),d.setDesiredOffsets([K.range[0],_.range[1]],H,1),d.setDesiredOffset(H,s.getLastToken(_.id),0)}},"JSXAttribute[value]"(_){const H=s.getFirstTokenBetween(_.name,_.value,K=>K.type==="Punctuator"&&K.value==="=");d.setDesiredOffsets([H.range[0],_.value.range[1]],s.getFirstToken(_.name),1)},JSXElement(_){_.closingElement&&E(_.children,s.getFirstToken(_.openingElement),s.getFirstToken(_.closingElement),1)},JSXOpeningElement(_){const H=s.getFirstToken(_);let K;_.selfClosing?(K=s.getLastToken(_,{skip:1}),d.setDesiredOffset(s.getLastToken(_),K,0)):K=s.getLastToken(_),d.setDesiredOffsets(_.name.range,s.getFirstToken(_)),E(_.attributes,H,K,1)},JSXClosingElement(_){const H=s.getFirstToken(_);d.setDesiredOffsets(_.name.range,H,1)},JSXFragment(_){const H=s.getFirstToken(_.openingFragment),K=s.getFirstToken(_.closingFragment);E(_.children,H,K,1)},JSXOpeningFragment(_){const H=s.getFirstToken(_),K=s.getLastToken(_);d.setDesiredOffsets(_.range,H,1),d.matchOffsetOf(H,K)},JSXClosingFragment(_){const H=s.getFirstToken(_),K=s.getLastToken(_,{skip:1}),re=s.getLastToken(_),te=a.isTokenOnSameLine(K,re)?K:re;d.setDesiredOffsets(_.range,H,1),d.matchOffsetOf(H,te)},JSXExpressionContainer(_){const H=s.getFirstToken(_),K=s.getLastToken(_);d.setDesiredOffsets([H.range[1],K.range[0]],H,1)},JSXSpreadAttribute(_){const H=s.getFirstToken(_),K=s.getLastToken(_);d.setDesiredOffsets([H.range[1],K.range[0]],H,1)},"*"(_){const H=s.getFirstToken(_);H&&!P.has(H)&&d.setDesiredOffsets(_.range,H,0)}},R=[],N={};for(const[_,H]of Object.entries(D))N[_]=K=>R.push({listener:H,node:K});const q=new Set;function L(_){q.add(_),P.add(s.getFirstToken(_))}const W=m.ignoredNodes.reduce((_,H)=>Object.assign(_,{[H]:L}),{});return Object.assign(N,W,{"*:exit"(_){e.has(_.type)||L(_)},"Program:exit"(){m.ignoreComments&&s.getAllComments().forEach(H=>d.ignoreToken(H));for(let H=0;H<R.length;H++){const K=R[H];q.has(K.node)||K.listener(K.node)}q.forEach(I),A(s.ast.tokens);const _=new WeakMap;for(let H=0;H<s.ast.comments.length;H++){const K=s.ast.comments[H],re=s.getTokenBefore(K,{includeComments:!0}),te=_.has(re)?_.get(re):re;_.set(K,te)}for(let H=1;H<s.lines.length+1;H++){if(!l.firstTokensByLineNumber.has(H))continue;const K=l.firstTokensByLineNumber.get(H);if(K.loc.start.line===H){if(a.isCommentToken(K)){const re=_.get(K),te=re?s.getTokenAfter(re):s.ast.tokens[0],xe=re&&!M(re,K),Y=te&&!M(K,te);if(te&&a.isSemicolonToken(te)&&!a.isTokenOnSameLine(K,te)&&d.setDesiredOffset(K,te,0),xe&&b(K,d.getDesiredIndent(re))||Y&&b(K,d.getDesiredIndent(te)))continue}b(K,d.getDesiredIndent(K))||S(K,d.getDesiredIndent(K))}}}})}},lo}var uo,Gg;function hA(){if(Gg)return uo;Gg=1;const a=Me();return uo={meta:{type:"layout",docs:{description:"Enforce consistent indentation",recommended:!1,url:"https://eslint.org/docs/latest/rules/indent-legacy"},deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"4.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"indent",url:"https://eslint.style/rules/js/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(e){let c="space",p=4;const u={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},r=e.sourceCode;if(e.options.length&&(e.options[0]==="tab"?(p=1,c="tab"):typeof e.options[0]=="number"&&(p=e.options[0],c="space"),e.options[1])){const L=e.options[1];u.SwitchCase=L.SwitchCase||0;const W=L.VariableDeclarator;typeof W=="number"?u.VariableDeclarator={var:W,let:W,const:W}:typeof W=="object"&&Object.assign(u.VariableDeclarator,W),typeof L.outerIIFEBody=="number"&&(u.outerIIFEBody=L.outerIIFEBody),typeof L.MemberExpression=="number"&&(u.MemberExpression=L.MemberExpression),typeof L.FunctionDeclaration=="object"&&Object.assign(u.FunctionDeclaration,L.FunctionDeclaration),typeof L.FunctionExpression=="object"&&Object.assign(u.FunctionExpression,L.FunctionExpression),typeof L.CallExpression=="object"&&Object.assign(u.CallExpression,L.CallExpression),(typeof L.ArrayExpression=="number"||typeof L.ArrayExpression=="string")&&(u.ArrayExpression=L.ArrayExpression),(typeof L.ObjectExpression=="number"||typeof L.ObjectExpression=="string")&&(u.ObjectExpression=L.ObjectExpression)}const h={};function i(L,W,_){const H=`${L} ${c}${L===1?"":"s"}`,K=`space${W===1?"":"s"}`,re=`tab${_===1?"":"s"}`;let te;return W>0&&_>0?te=`${W} ${K} and ${_} ${re}`:W>0?te=c==="space"?W:`${W} ${K}`:_>0?te=c==="tab"?_:`${_} ${re}`:te="0",{expected:H,actual:te}}function f(L,W,_,H,K,re){if(_&&H)return;const te=(c==="space"?" ":" ").repeat(W),xe=re?[L.range[1]-L.loc.end.column,L.range[1]-L.loc.end.column+_+H]:[L.range[0]-L.loc.start.column,L.range[0]-L.loc.start.column+_+H];e.report({node:L,loc:K,messageId:"expected",data:i(W,_,H),fix:Y=>Y.replaceTextRange(xe,te)})}function m(L,W){const _=W?r.getLastToken(L):r.getFirstToken(L),H=r.getText(_,_.loc.start.column).split(""),K=H.slice(0,H.findIndex(xe=>xe!==" "&&xe!==" ")),re=K.filter(xe=>xe===" ").length,te=K.filter(xe=>xe===" ").length;return{space:re,tab:te,goodChar:c==="space"?re:te,badChar:c==="space"?te:re}}function s(L,W){const _=W===!0?r.getLastToken(L,1):r.getTokenBefore(L),H=W===!0?L.loc.end.line:L.loc.start.line,K=_?_.loc.end.line:-1;return H!==K}function l(L,W){const _=m(L,!1);if(L.type!=="ArrayExpression"&&L.type!=="ObjectExpression"&&(_.goodChar!==W||_.badChar!==0)&&s(L)&&f(L,W,_.space,_.tab),L.type==="IfStatement"&&L.alternate){const H=r.getTokenBefore(L.alternate);l(H,W),s(L.alternate)||l(L.alternate,W)}if(L.type==="TryStatement"&&L.handler){const H=r.getFirstToken(L.handler);l(H,W)}if(L.type==="TryStatement"&&L.finalizer){const H=r.getTokenBefore(L.finalizer);l(H,W)}if(L.type==="DoWhileStatement"){const H=r.getTokenAfter(L.body);l(H,W)}}function d(L,W){L.forEach(_=>l(_,W))}function g(L,W){const _=r.getLastToken(L),H=m(_,!0);(H.goodChar!==W||H.badChar!==0)&&s(L,!0)&&f(L,W,H.space,H.tab,{line:_.loc.start.line,column:_.loc.start.column},!0)}function v(L,W){const _=r.getLastToken(L,a.isClosingParenToken);if(r.getText(_,_.loc.start.column).slice(0,-1).trim())return;const K=m(_,!0);K.goodChar!==W&&f(L,W,K.space,K.tab,{line:_.loc.start.line,column:_.loc.start.column},!0)}function S(L,W){const _=m(L,!1);(_.goodChar!==W||_.badChar!==0)&&s(L)&&f(L,W,_.space,_.tab,{line:L.loc.start.line,column:L.loc.start.column})}function b(L,W,_){let H=L.parent;const K=new Set(_||["Program"]);for(;H.type!==W&&!K.has(H.type)&&H.type!=="Program";)H=H.parent;return H.type===W?H:null}function C(L){return b(L,"VariableDeclarator")}function w(L,W){return W&&W.parent.loc.start.line===L.loc.start.line&&W.parent.declarations.length>1}function E(L){const W=L.parent;return W.arguments.length>=2&&W.arguments[1]===L?W.arguments[0].loc.end.line>W.arguments[0].loc.start.line:!1}function k(L){const W=L.parent;let _=W.parent;if(W.type!=="CallExpression"||W.callee!==L)return!1;for(;_.type==="UnaryExpression"&&(_.operator==="!"||_.operator==="~"||_.operator==="+"||_.operator==="-")||_.type==="AssignmentExpression"||_.type==="LogicalExpression"||_.type==="SequenceExpression"||_.type==="VariableDeclarator";)_=_.parent;return(_.type==="ExpressionStatement"||_.type==="VariableDeclaration")&&_.parent&&_.parent.type==="Program"}function x(L){const W=L.parent;let _;if(W.parent&&(W.parent.type==="Property"||W.parent.type==="ArrayExpression")?_=m(W,!1).goodChar:_=m(W).goodChar,W.parent.type==="CallExpression"){const re=W.parent;W.type!=="FunctionExpression"&&W.type!=="ArrowFunctionExpression"?re&&re.loc.start.line<L.loc.start.line&&(_=m(re).goodChar):E(W)&&re.callee.loc.start.line===re.callee.loc.end.line&&!s(W)&&(_=m(re).goodChar)}let H=p;u.outerIIFEBody!==null&&k(W)?H=u.outerIIFEBody*p:W.type==="FunctionExpression"?H=u.FunctionExpression.body*p:W.type==="FunctionDeclaration"&&(H=u.FunctionDeclaration.body*p),_+=H;const K=C(L);K&&w(L,K)&&(_+=p*u.VariableDeclarator[K.parent.kind]),L.body.length>0&&d(L.body,_),g(L,_-H)}function A(L){const W=r.getLastToken(L),_=L.loc.start.line,H=W.loc.end.line;return _===H}function I(L){if(A(L))return;let W=L.type==="ArrayExpression"?L.elements:L.properties;W=W.filter(re=>re!==null);let _,H;const K=C(L);if(s(L)){const re=L.parent;if(_=m(re).goodChar,(!K||K.loc.start.line!==L.loc.start.line)&&(re.type!=="VariableDeclarator"||K===K.parent.declarations[0]))if(re.type==="VariableDeclarator"&&K.loc.start.line===re.loc.start.line)_+=p*u.VariableDeclarator[K.parent.kind];else if(re.type==="ObjectExpression"||re.type==="ArrayExpression"){const te=L.parent.type==="ObjectExpression"?L.parent.properties:L.parent.elements;te[0]&&te[0].loc.start.line===re.loc.start.line&&te[0].loc.end.line!==re.loc.start.line||(typeof u[re.type]=="number"?_+=u[re.type]*p:_=te[0].loc.start.column)}else re.type==="CallExpression"||re.type==="NewExpression"?typeof u.CallExpression.arguments=="number"?_+=u.CallExpression.arguments*p:u.CallExpression.arguments==="first"?re.arguments.includes(L)&&(_=re.arguments[0].loc.start.column):_+=p:(re.type==="LogicalExpression"||re.type==="ArrowFunctionExpression")&&(_+=p);S(L,_)}else _=m(L).goodChar;u[L.type]==="first"?H=W.length?W[0].loc.start.column:0:H=_+p*u[L.type],w(L,K)&&(H+=p*u.VariableDeclarator[K.parent.kind]),d(W,H),!(W.length>0&&W.at(-1).loc.end.line===L.loc.end.line)&&g(L,_+(w(L,K)?u.VariableDeclarator[K.parent.kind]*p:0))}function B(L){return L.type==="BlockStatement"||L.type==="ClassBody"||L.body&&L.body.type==="BlockStatement"||L.consequent&&L.consequent.type==="BlockStatement"}function M(L){if(A(L))return;if(L.parent&&(L.parent.type==="FunctionExpression"||L.parent.type==="FunctionDeclaration"||L.parent.type==="ArrowFunctionExpression")){x(L);return}let W,_;const H=["IfStatement","WhileStatement","ForStatement","ForInStatement","ForOfStatement","DoWhileStatement","ClassDeclaration","TryStatement"];L.parent&&H.includes(L.parent.type)&&B(L)?W=m(L.parent).goodChar:L.parent&&L.parent.type==="CatchClause"?W=m(L.parent.parent).goodChar:W=m(L).goodChar,L.type==="IfStatement"&&L.consequent.type!=="BlockStatement"?_=[L.consequent]:Array.isArray(L.body)?_=L.body:_=[L.body],_.length>0&&d(_,W+p),L.type==="BlockStatement"&&g(L,W)}function P(L){return L.declarations.reduce((W,_)=>{const H=W.at(-1);return(_.loc.start.line!==L.loc.start.line&&!H||H&&H.loc.start.line!==_.loc.start.line)&&W.push(_),W},[])}function D(L){const W=P(L),_=m(L).goodChar,H=W.at(-1),K=_+p*u.VariableDeclarator[L.kind];if(d(W,K),r.getLastToken(L).loc.end.line<=H.loc.end.line)return;const re=r.getTokenBefore(H);re.value===","?g(L,m(re).goodChar):g(L,K-p)}function R(L){L.body.type!=="BlockStatement"&&M(L)}function N(L,W){const _=L.type==="SwitchStatement"?L:L.parent,H=typeof W>"u"?m(_).goodChar:W;let K;return h[_.loc.start.line]?h[_.loc.start.line]:(_.cases.length>0&&u.SwitchCase===0?K=H:K=H+p*u.SwitchCase,h[_.loc.start.line]=K,K)}function q(L){const W=/^return\s*?\(\s*?\);*?/u,_=r.getText(L).replace(r.getText(L.argument),"");return W.test(_)}return{Program(L){L.body.length>0&&d(L.body,m(L).goodChar)},ClassBody:M,BlockStatement:M,WhileStatement:R,ForStatement:R,ForInStatement:R,ForOfStatement:R,DoWhileStatement:R,IfStatement(L){L.consequent.type!=="BlockStatement"&&L.consequent.loc.start.line>L.loc.start.line&&M(L)},VariableDeclaration(L){L.declarations.at(-1).loc.start.line>L.declarations[0].loc.start.line&&D(L)},ObjectExpression(L){I(L)},ArrayExpression(L){I(L)},MemberExpression(L){if(typeof u.MemberExpression>"u"||A(L)||b(L,"VariableDeclarator",["FunctionExpression","ArrowFunctionExpression"])||b(L,"AssignmentExpression",["FunctionExpression"]))return;const W=m(L).goodChar+p*u.MemberExpression,_=[L.property],H=r.getTokenBefore(L.property);H.type==="Punctuator"&&H.value==="."&&_.push(H),d(_,W)},SwitchStatement(L){const W=m(L).goodChar,_=N(L,W);d(L.cases,_),g(L,W)},SwitchCase(L){if(A(L))return;const W=N(L);d(L.consequent,W+p)},FunctionDeclaration(L){A(L)||(u.FunctionDeclaration.parameters==="first"&&L.params.length?d(L.params.slice(1),L.params[0].loc.start.column):u.FunctionDeclaration.parameters!==null&&d(L.params,m(L).goodChar+p*u.FunctionDeclaration.parameters))},FunctionExpression(L){A(L)||(u.FunctionExpression.parameters==="first"&&L.params.length?d(L.params.slice(1),L.params[0].loc.start.column):u.FunctionExpression.parameters!==null&&d(L.params,m(L).goodChar+p*u.FunctionExpression.parameters))},ReturnStatement(L){if(A(L))return;const W=m(L).goodChar;q(L)?v(L,W):l(L,W)},CallExpression(L){A(L)||(u.CallExpression.arguments==="first"&&L.arguments.length?d(L.arguments.slice(1),L.arguments[0].loc.start.column):u.CallExpression.arguments!==null&&d(L.arguments,m(L).goodChar+p*u.CallExpression.arguments))}}}},uo}var co,zg;function dA(){if(zg)return co;zg=1;function a(n){return n.type==="ForInStatement"||n.type==="ForOfStatement"||n.type==="ForStatement"}function e(n){const o=n.parent,t=o.parent;return a(t)?t.type==="ForStatement"?t.init===o:t.left===o:!!n.init}return co={meta:{type:"suggestion",dialects:["typescript","javascript"],language:"javascript",docs:{description:"Require or disallow initialization in variable declarations",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/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(n){const o="always",t="never",c=n.options[0]||o,p=n.options[1]||{};let u=!1;return{TSModuleDeclaration(r){r.declare&&(u=!0)},"TSModuleDeclaration:exit"(r){r.declare&&(u=!1)},"VariableDeclaration:exit"(r){const h=r.kind,i=r.declarations;if(!(r.declare||u))for(let f=0;f<i.length;++f){const m=i[f],s=m.id,l=e(m),d=p.ignoreForLoopInit&&a(r.parent);let g="";c===o&&!l?g="initialized":c===t&&h!=="const"&&l&&!d&&(g="notInitialized"),s.type==="Identifier"&&g&&n.report({node:m,messageId:g,data:{idName:s.name}})}}}}},co}var fo,Hg;function gA(){if(Hg)return fo;Hg=1;const a=Me(),e={"prefer-double":{quote:'"',description:"singlequote",convert(n){return n.replace(/'/gu,'"')}},"prefer-single":{quote:"'",description:"doublequote",convert(n){return n.replace(/"/gu,"'")}}};return fo={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"jsx-quotes",url:"https://eslint.style/rules/js/jsx-quotes"}}]},type:"layout",docs:{description:"Enforce the consistent use of either double or single quotes in JSX attributes",recommended:!1,url:"https://eslint.org/docs/latest/rules/jsx-quotes"},fixable:"whitespace",schema:[{enum:["prefer-single","prefer-double"]}],messages:{unexpected:"Unexpected usage of {{description}}."}},create(n){const o=n.options[0]||"prefer-double",t=e[o];function c(p){return p.value.includes(t.quote)||a.isSurroundedBy(p.raw,t.quote)}return{JSXAttribute(p){const u=p.value;u&&a.isStringLiteral(u)&&!c(u)&&n.report({node:u,messageId:"unexpected",data:{description:t.description},fix(r){return r.replaceText(u,t.convert(u.raw))}})}}}},fo}var po,Kg;function yA(){if(Kg)return po;Kg=1;const a=Me(),{getGraphemeCount:e}=Br();function n(r){return a.LINEBREAK_MATCHER.test(r)}function o(r){return r.at(-1)}function t(r){return r.loc.end.line===r.loc.start.line}function c(r){const[h]=r,i=o(r);return h.loc.start.line===i.loc.end.line}function p(r,h){return r.mode=h.mode||"strict",typeof h.beforeColon<"u"?r.beforeColon=+h.beforeColon:r.beforeColon=0,typeof h.afterColon<"u"?r.afterColon=+h.afterColon:r.afterColon=1,typeof h.align<"u"&&(typeof h.align=="object"?r.align=h.align:r.align={on:h.align,mode:r.mode,beforeColon:r.beforeColon,afterColon:r.afterColon}),r}function u(r,h){return typeof h.align=="object"?(r.align=p({},h.align),r.align.on=h.align.on||"colon",r.align.mode=h.align.mode||"strict",r.multiLine=p({},h.multiLine||h),r.singleLine=p({},h.singleLine||h)):(r.multiLine=p({},h.multiLine||h),r.singleLine=p({},h.singleLine||h),r.multiLine.align&&(r.align={on:r.multiLine.align.on,mode:r.multiLine.align.mode||r.multiLine.mode,beforeColon:r.multiLine.align.beforeColon,afterColon:r.multiLine.align.afterColon})),r}return po={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"key-spacing",url:"https://eslint.style/rules/js/key-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing between keys and values in object literal properties",recommended:!1,url:"https://eslint.org/docs/latest/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(r){const h=r.options[0]||{},i=u({},h),f=i.multiLine,m=i.singleLine,s=i.align||null,l=r.sourceCode;function d(P){return!(P.method||P.shorthand||P.kind!=="init"||P.type!=="Property")}function g(P){return l.getTokenAfter(P,a.isColonToken)}function v(P){const D=g(P);return l.getTokenBefore(D)}function S(P){const D=g(P);return l.getTokenAfter(D)}function b(P,D){const R=P.loc.start.line,N=(d(D)?S(D.key):D).loc.start.line;if(N-R<=1)return!0;const q=l.getCommentsBefore(D);if(q.length&&q[0].loc.start.line-R<=1&&N-o(q).loc.end.line<=1){for(let L=1;L<q.length;L++)if(q[L].loc.start.line-q[L-1].loc.end.line>1)return!1;return!0}return!1}function C(P){const D=P.key;return P.computed?l.getText().slice(D.range[0],D.range[1]):a.getStaticPropertyName(P)}function w(P,D,R,N,q){const L=R.length-N;if((L&&q==="strict"||L<0&&q==="minimum"||L>0&&!N&&q==="minimum")&&!(N&&n(R))){const W=g(P.key),_=l.getTokenBefore(W,{includeComments:!0}),H=l.getTokenAfter(W,{includeComments:!0}),K=D==="key",re=L>0,te=Math.abs(L),xe=Array(te+1).join(" "),Y=K?_.loc.end:W.loc.start,F=K?W.loc.start:H.loc.start,z=K?_.loc:H.loc,ne=re?{start:Y,end:F}:z;let ae;if(re){let Pe;K?Pe=[_.range[1],_.range[1]+te]:Pe=[H.range[0]-te,H.range[0]],ae=function(Ie){return Ie.removeRange(Pe)}}else K?ae=function(Pe){return Pe.insertTextAfter(_,xe)}:ae=function(Pe){return Pe.insertTextBefore(H,xe)};let be;re?be=D==="key"?"extraKey":"extraValue":be=D==="key"?"missingKey":"missingValue",r.report({node:P[D],loc:ne,messageId:be,data:{computed:P.computed?"computed ":"",key:C(P)},fix:ae})}}function E(P){const D=l.getFirstToken(P),R=v(P.key);return e(l.getText().slice(D.range[0],R.range[1]))}function k(P){const D=/(\s*):(\s*)/u.exec(l.getText().slice(P.key.range[1],P.value.range[0]));return D?{beforeColon:D[1],afterColon:D[2]}:null}function x(P){return P.properties.length===1?[P.properties]:P.properties.reduce((D,R)=>{const N=o(D),q=o(N);return!q||b(q,R)?N.push(R):D.push([R]),D},[[]])}function A(P){const D=P.length,R=P.map(E),N=s.on;let q=Math.max(...R),L,W,_;s&&D>1?(L=s.beforeColon,W=s.afterColon,_=s.mode):(L=f.beforeColon,W=f.afterColon,_=s.mode),q+=N==="colon"?L:W;for(let H=0;H<D;H++){const K=P[H],re=k(K);if(re){const te=R[H];N==="value"?(w(K,"key",re.beforeColon,L,_),w(K,"value",re.afterColon,q-te,_)):(w(K,"key",re.beforeColon,q-te,_),w(K,"value",re.afterColon,W,_))}}}function I(P,D){const R=k(P);R&&(w(P,"key",R.beforeColon,D.beforeColon,D.mode),w(P,"value",R.afterColon,D.afterColon,D.mode))}function B(P,D){const R=P.length;for(let N=0;N<R;N++)I(P[N],D)}function M(P){x(P).forEach(D=>{const R=D.filter(d);R.length>0&&c(R)?B(R,f):A(R)})}return s?{ObjectExpression(P){t(P)?B(P.properties.filter(d),m):M(P)}}:{Property(P){I(P,t(P.parent)?m:f)}}}},po}var mo,Xg;function vA(){if(Xg)return mo;Xg=1;const a=Me(),e=Ui(),n=/^[)\]}>]$/u,o=/^(?:[([{<~!]|\+\+?|--?)$/u,t=/^[)\]}>*]$/u,c=/^[{*]$/u,p=/\$\{$/u,u=/^\}/u,r=/^(?:JSXElement|RegularExpression|String|Template|PrivateIdentifier)$/u,h=e.concat(["as","async","await","from","get","let","of","set","yield"]);(function(){h.sort();for(let m=1;m<h.length;++m)if(h[m]===h[m-1])throw new Error(`Duplication was found in the keyword list: ${h[m]}`)})();function i(m){return m.type==="Template"&&p.test(m.value)}function f(m){return m.type==="Template"&&u.test(m.value)}return mo={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"keyword-spacing",url:"https://eslint.style/rules/js/keyword-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing before and after keywords",recommended:!1,url:"https://eslint.org/docs/latest/rules/keyword-spacing"},fixable:"whitespace",schema:[{type:"object",properties:{before:{type:"boolean",default:!0},after:{type:"boolean",default:!0},overrides:{type:"object",properties:h.reduce((m,s)=>(m[s]={type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"}},additionalProperties:!1},m),{}),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(m){const s=m.sourceCode,l=new WeakSet;function d(te,xe){const Y=s.getTokenBefore(te);Y&&(r.test(Y.type)||xe.test(Y.value))&&!i(Y)&&!l.has(Y)&&a.isTokenOnSameLine(Y,te)&&!s.isSpaceBetweenTokens(Y,te)&&m.report({loc:te.loc,messageId:"expectedBefore",data:te,fix(F){return F.insertTextBefore(te," ")}})}function g(te,xe){const Y=s.getTokenBefore(te);Y&&(r.test(Y.type)||xe.test(Y.value))&&!i(Y)&&!l.has(Y)&&a.isTokenOnSameLine(Y,te)&&s.isSpaceBetweenTokens(Y,te)&&m.report({loc:{start:Y.loc.end,end:te.loc.start},messageId:"unexpectedBefore",data:te,fix(F){return F.removeRange([Y.range[1],te.range[0]])}})}function v(te,xe){const Y=s.getTokenAfter(te);Y&&(r.test(Y.type)||xe.test(Y.value))&&!f(Y)&&!l.has(Y)&&a.isTokenOnSameLine(te,Y)&&!s.isSpaceBetweenTokens(te,Y)&&m.report({loc:te.loc,messageId:"expectedAfter",data:te,fix(F){return F.insertTextAfter(te," ")}})}function S(te,xe){const Y=s.getTokenAfter(te);Y&&(r.test(Y.type)||xe.test(Y.value))&&!f(Y)&&!l.has(Y)&&a.isTokenOnSameLine(te,Y)&&s.isSpaceBetweenTokens(te,Y)&&m.report({loc:{start:te.loc.end,end:Y.loc.start},messageId:"unexpectedAfter",data:te,fix(F){return F.removeRange([te.range[1],Y.range[0]])}})}function b(te={}){const xe=te.before!==!1,Y=te.after!==!1,F={before:xe?d:g,after:Y?v:S},z=te&&te.overrides||{},ne=Object.create(null);for(let ae=0;ae<h.length;++ae){const be=h[ae],Pe=z[be];if(Pe){const Ie="before"in Pe?Pe.before:xe,ue="after"in Pe?Pe.after:Y;ne[be]={before:Ie?d:g,after:ue?v:S}}else ne[be]=F}return ne}const C=b(m.options[0]);function w(te,xe){C[te.value].before(te,xe||n)}function E(te,xe){C[te.value].after(te,xe||o)}function k(te){w(te),E(te)}function x(te){const xe=te&&s.getFirstToken(te);xe&&xe.type==="Keyword"&&k(xe)}function A(te){const xe=te&&s.getFirstToken(te);xe&&xe.type==="Keyword"&&w(xe)}function I(te){if(te){const xe=s.getTokenBefore(te,a.isKeywordToken);k(xe)}}function B(te){const xe=te&&s.getFirstToken(te);xe&&(xe.type==="Keyword"&&xe.value==="function"||xe.value==="async")&&w(xe)}function M(te){x(te),I(te.superClass)}function P(te){x(te),I(te.alternate)}function D(te){x(te),x(te.handler),I(te.finalizer)}function R(te){x(te),I(te.test)}function N(te){x(te);const xe=s.getTokenBefore(te.right,a.isNotOpeningParenToken);s.getTokenBefore(xe).type!=="PrivateIdentifier"&&w(xe),E(xe)}function q(te){te.await?(w(s.getFirstToken(te,0)),E(s.getFirstToken(te,1))):x(te);const xe=s.getTokenBefore(te.right,a.isNotOpeningParenToken);s.getTokenBefore(xe).type!=="PrivateIdentifier"&&w(xe),E(xe)}function L(te){const xe=s.getFirstToken(te);if(w(xe,t),E(xe,c),te.type==="ExportDefaultDeclaration"&&k(s.getTokenAfter(xe)),te.type==="ExportAllDeclaration"&&te.exported){const Y=s.getTokenBefore(te.exported);w(Y,t),E(Y,c)}if(te.source){const Y=s.getTokenBefore(te.source);w(Y,t),E(Y,c)}}function W(te){if(te.imported.range[0]!==te.local.range[0]){const xe=s.getTokenBefore(te.local);w(xe,t)}}function _(te){if(te.local.range[0]!==te.exported.range[0]){const xe=s.getTokenBefore(te.exported);w(xe,t),E(xe,c)}}function H(te){const xe=s.getFirstToken(te,1);w(xe,t)}function K(te){if(te.static&&x(te),te.kind==="get"||te.kind==="set"||(te.method||te.type==="MethodDefinition")&&te.value.async){const xe=s.getTokenBefore(te.key,Y=>{switch(Y.value){case"get":case"set":case"async":return!0;default:return!1}});if(!xe)throw new Error("Failed to find token get, set, or async beside method name");k(xe)}}function re(te){w(s.getFirstToken(te))}return{DebuggerStatement:x,WithStatement:x,BreakStatement:x,ContinueStatement:x,ReturnStatement:x,ThrowStatement:x,TryStatement:D,IfStatement:P,SwitchStatement:x,SwitchCase:x,DoWhileStatement:R,ForInStatement:N,ForOfStatement:q,ForStatement:x,WhileStatement:x,ClassDeclaration:M,ExportNamedDeclaration:L,ExportDefaultDeclaration:L,ExportAllDeclaration:L,FunctionDeclaration:B,ImportDeclaration:L,VariableDeclaration:x,ArrowFunctionExpression:B,AwaitExpression:re,ClassExpression:M,FunctionExpression:B,NewExpression:A,Super:A,ThisExpression:A,UnaryExpression:A,YieldExpression:A,ImportSpecifier:W,ExportSpecifier:_,ImportNamespaceSpecifier:H,MethodDefinition:K,PropertyDefinition:K,StaticBlock:x,Property:K,"BinaryExpression[operator='>']"(te){const xe=s.getTokenBefore(te.right,a.isNotOpeningParenToken);l.add(xe)}}}},mo}var ho,Jg;function EA(){if(Jg)return ho;Jg=1;const a=Me();return ho={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"9.3.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"line-comment-position",url:"https://eslint.style/rules/js/line-comment-position"}}]},type:"layout",docs:{description:"Enforce position of line comments",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.options[0];let o,t,c=!0;!n||typeof n=="string"?o=!n||n==="above":(o=!n.position||n.position==="above",t=n.ignorePattern,Object.hasOwn(n,"applyDefaultIgnorePatterns")?c=n.applyDefaultIgnorePatterns:c=n.applyDefaultPatterns!==!1);const p=a.COMMENTS_IGNORE_PATTERN,u=/^\s*falls?\s?through/u,r=new RegExp(t,"u"),h=e.sourceCode;return{Program(){h.getAllComments().filter(f=>f.type==="Line").forEach(f=>{if(c&&(p.test(f.value)||u.test(f.value))||t&&r.test(f.value))return;const m=h.getTokenBefore(f,{includeComments:!0}),s=m&&m.loc.end.line===f.loc.start.line;o?s&&e.report({node:f,messageId:"above"}):s||e.report({node:f,messageId:"beside"})})}}}},ho}var go,Yg;function SA(){if(Yg)return go;Yg=1;const a=Me();return go={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"linebreak-style",url:"https://eslint.style/rules/js/linebreak-style"}}]},type:"layout",docs:{description:"Enforce consistent linebreak style",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.sourceCode;function o(t,c){return function(p){return p.replaceTextRange(t,c)}}return{Program:function(c){const p=e.options[0]||"unix",u=p==="unix",r=u?`
66
- `:`\r
67
- `,h=n.getText(),i=a.createGlobalLinebreakMatcher();let f,m=0;for(;(f=i.exec(h))!==null;){if(m++,f[0]===r)continue;const s=f.index,l=[s,s+f[0].length];e.report({node:c,loc:{start:{line:m,column:n.lines[m-1].length},end:{line:m+1,column:0}},messageId:u?"expectedLF":"expectedCRLF",fix:o(l,r)})}}}}},go}var yo,Qg;function bA(){if(Qg)return yo;Qg=1;const a=Me();function e(o){return o.map((c,p)=>({code:c.trim(),num:p+1})).filter(c=>!c.code).map(c=>c.num)}function n(o){const t=[];return o.forEach(c=>{const p=c.loc.start.line,u=c.loc.end.line;t.push(p,u)}),t}return yo={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"lines-around-comment",url:"https://eslint.style/rules/js/lines-around-comment"}}]},type:"layout",docs:{description:"Require empty lines around comments",recommended:!1,url:"https://eslint.org/docs/latest/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"},afterHashbangComment:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{after:"Expected line after comment.",before:"Expected line before comment."}},create(o){const t=Object.assign({},o.options[0]),c=t.ignorePattern,p=a.COMMENTS_IGNORE_PATTERN,u=new RegExp(c,"u"),r=t.applyDefaultIgnorePatterns!==!1;t.beforeBlockComment=typeof t.beforeBlockComment<"u"?t.beforeBlockComment:!0;const h=o.sourceCode,i=h.lines,f=i.length+1,m=h.getAllComments(),s=n(m),l=e(i),d=new Set(s.concat(l));function g(D){let R=D;do R=h.getTokenBefore(R,{includeComments:!0});while(R&&a.isCommentToken(R));if(R&&a.isTokenOnSameLine(R,D))return!0;R=D;do R=h.getTokenAfter(R,{includeComments:!0});while(R&&a.isCommentToken(R));return!!(R&&a.isTokenOnSameLine(D,R))}function v(D,R){return D.type===R||D.body&&D.body.type===R||D.consequent&&D.consequent.type===R}function S(D){const R=h.getNodeByRangeIndex(D.range[0]);if(R&&R.type==="StaticBlock"){const N=h.getFirstToken(R,{skip:1});return D.range[0]>=N.range[0]?R:null}return R}function b(D,R){const N=S(D);if(N&&v(N,R)){let q=N;return N.type==="StaticBlock"?q=h.getFirstToken(N,{skip:1}):N.type==="SwitchStatement"&&(q=h.getTokenAfter(N.discriminant,{filter:a.isOpeningBraceToken})),D.loc.start.line-q.loc.start.line===1}return!1}function C(D,R){const N=S(D);return!!N&&v(N,R)&&N.loc.end.line-D.loc.end.line===1}function w(D){return b(D,"ClassBody")||b(D,"BlockStatement")||b(D,"StaticBlock")||b(D,"SwitchCase")||b(D,"SwitchStatement")}function E(D){return C(D,"ClassBody")||C(D,"BlockStatement")||C(D,"StaticBlock")||C(D,"SwitchCase")||C(D,"SwitchStatement")}function k(D){return b(D,"ClassBody")}function x(D){return C(D,"ClassBody")}function A(D){return b(D,"ObjectExpression")||b(D,"ObjectPattern")}function I(D){return C(D,"ObjectExpression")||C(D,"ObjectPattern")}function B(D){return b(D,"ArrayExpression")||b(D,"ArrayPattern")}function M(D){return C(D,"ArrayExpression")||C(D,"ArrayPattern")}function P(D,R){if(r&&p.test(D.value)||c&&u.test(D.value))return;let N=R.after,q=R.before;const L=D.loc.start.line-1,W=D.loc.end.line+1,_=g(D),H=t.allowBlockStart&&w(D)&&!(t.allowClassStart===!1&&k(D)),K=t.allowBlockEnd&&E(D)&&!(t.allowClassEnd===!1&&x(D)),re=t.allowClassStart&&k(D),te=t.allowClassEnd&&x(D),xe=t.allowObjectStart&&A(D),Y=t.allowObjectEnd&&I(D),F=t.allowArrayStart&&B(D),z=t.allowArrayEnd&&M(D),ne=H||re||xe||F,ae=K||te||Y||z;if(L<1&&(q=!1),W>=f&&(N=!1),_)return;const be=h.getTokenBefore(D,{includeComments:!0}),Pe=h.getTokenAfter(D,{includeComments:!0});if(!ne&&q&&!d.has(L)&&!(a.isCommentToken(be)&&a.isTokenOnSameLine(be,D))){const Ie=D.range[0]-D.loc.start.column,ue=[Ie,Ie];o.report({node:D,messageId:"before",fix(ve){return ve.insertTextBeforeRange(ue,`
68
- `)}})}!ae&&N&&!d.has(W)&&!(a.isCommentToken(Pe)&&a.isTokenOnSameLine(D,Pe))&&o.report({node:D,messageId:"after",fix(Ie){return Ie.insertTextAfter(D,`
69
- `)}})}return{Program(){m.forEach(D=>{D.type==="Line"?(t.beforeLineComment||t.afterLineComment)&&P(D,{after:t.afterLineComment,before:t.beforeLineComment}):D.type==="Block"?(t.beforeBlockComment||t.afterBlockComment)&&P(D,{after:t.afterBlockComment,before:t.beforeBlockComment}):D.type==="Shebang"&&t.afterHashbangComment&&P(D,{after:t.afterHashbangComment,before:!1})})}}}},yo}var vo,Zg;function xA(){if(Zg)return vo;Zg=1;const a=Me();return vo={meta:{type:"layout",docs:{description:"Require or disallow newlines around directives",recommended:!1,url:"https://eslint.org/docs/latest/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:{message:"The rule was replaced with a more general rule.",url:"https://eslint.org/blog/2017/06/eslint-v4.0.0-released/",deprecatedSince:"4.0.0",availableUntil:null,replacedBy:[{message:"The new rule moved to a plugin.",url:"https://eslint.org/docs/latest/rules/padding-line-between-statements#examples",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"padding-line-between-statements",url:"https://eslint.style/rules/js/padding-line-between-statements"}}]}},create(e){const n=e.sourceCode,o=e.options[0]||"always",t=typeof o=="string"?o:o.before,c=typeof o=="string"?o:o.after;function p(f){const m=n.getTokenBefore(f,{includeComments:!0}),s=m?m.loc.end.line:0;return f.loc.start.line-s>=2}function u(f){const m=n.getLastToken(f),s=n.getTokenBefore(m);return a.isSemicolonToken(m)&&m.loc.start.line>s.loc.end.line?s:m}function r(f){const m=u(f);return n.getTokenAfter(m,{includeComments:!0}).loc.start.line-m.loc.end.line>=2}function h(f,m,s){e.report({node:f,messageId:s?"expected":"unexpected",data:{value:f.expression.value,location:m},fix(l){const d=u(f);return s?m==="before"?l.insertTextBefore(f,`
70
- `):l.insertTextAfter(d,`
71
- `):l.removeRange(m==="before"?[f.range[0]-1,f.range[0]]:[d.range[1],d.range[1]+1])}})}function i(f){const m=a.getDirectivePrologue(f);if(!m.length)return;const s=m[0],l=n.getCommentsBefore(s);l.length?(t==="always"&&!p(s)&&h(s,"before",!0),t==="never"&&p(s)&&h(s,"before",!1)):f.type==="Program"&&t==="never"&&!l.length&&p(s)&&h(s,"before",!1);const d=m.at(-1),g=f.type==="Program"?f.body:f.body.body;d===g.at(-1)&&!d.trailingComments||(c==="always"&&!r(d)&&h(d,"after",!0),c==="never"&&r(d)&&h(d,"after",!1))}return{Program:i,FunctionDeclaration:i,FunctionExpression:i,ArrowFunctionExpression:i}}},vo}var Eo,ey;function CA(){if(ey)return Eo;ey=1;const a=Me(),e={"*":{test:()=>!0},field:{test:n=>n.type==="PropertyDefinition"},method:{test:n=>n.type==="MethodDefinition"}};return Eo={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"lines-between-class-members",url:"https://eslint.style/rules/js/lines-between-class-members"}}]},type:"layout",docs:{description:"Require or disallow an empty line between class members",recommended:!1,url:"https://eslint.org/docs/latest/rules/lines-between-class-members"},fixable:"whitespace",schema:[{anyOf:[{type:"object",properties:{enforce:{type:"array",items:{type:"object",properties:{blankLine:{enum:["always","never"]},prev:{enum:["method","field","*"]},next:{enum:["method","field","*"]}},additionalProperties:!1,required:["blankLine","prev","next"]},minItems:1}},additionalProperties:!1,required:["enforce"]},{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(n){const o=[];o[0]=n.options[0]||"always",o[1]=n.options[1]||{exceptAfterSingleLine:!1};const t=typeof o[0]=="object"?o[0].enforce:[{blankLine:o[0],prev:"*",next:"*"}],c=n.sourceCode;function p(m,s){const l=c.getLastToken(m),d=c.getTokenBefore(l),g=c.getFirstToken(s);return a.isSemicolonToken(l)&&!a.isTokenOnSameLine(d,l)&&a.isTokenOnSameLine(l,g)?{curLast:d,nextFirst:l}:{curLast:l,nextFirst:g}}function u(m,s,l){const d=c.getTokenAfter(m,{includeComments:!0});return d!==s&&d.loc.start.line-m.loc.end.line<=l?u(d,s,l):m}function r(m,s,l){const d=c.getTokenBefore(m,{includeComments:!0});return d!==s&&m.loc.start.line-d.loc.end.line<=l?r(d,s,l):m}function h(m,s){return c.getTokensBetween(m,s,{includeComments:!0}).length!==0}function i(m,s){return e[s].test(m)}function f(m,s){for(let l=t.length-1;l>=0;--l){const d=t[l];if(i(m,d.prev)&&i(s,d.next))return d.blankLine}return null}return{ClassBody(m){const s=m.body;for(let l=0;l<s.length-1;l++){const d=c.getFirstToken(s[l]),{curLast:g,nextFirst:v}=p(s[l],s[l+1]),b=!!a.isTokenOnSameLine(d,g)&&o[1].exceptAfterSingleLine,C=u(g,v,1),w=r(v,g,1),E=w.loc.start.line-C.loc.end.line>1,k=h(C,w),x=u(g,v,0),A=f(s[l],s[l+1]);A==="never"&&E?n.report({node:s[l+1],messageId:"never",fix(I){return k?null:I.replaceTextRange([C.range[1],w.range[0]],`
72
- `)}}):A==="always"&&!b&&!E&&n.report({node:s[l+1],messageId:"always",fix(I){return k?null:I.insertTextAfter(x,`
73
- `)}})}}}}},Eo}var So,ty;function wA(){if(ty)return So;ty=1;const a=Me(),e=new Set(["Identifier","Super","ThisExpression"]);function n(f,m){return f.type==="Identifier"&&f.name==="undefined"?a.isReferenceToGlobalVariable(m,f):f.type==="UnaryExpression"&&f.operator==="void"&&f.argument.type==="Literal"&&f.argument.value===0}function o(f){return f.type==="Identifier"&&f.name!=="undefined"||f.type==="MemberExpression"}function t(f,m){if(f.type!=="BinaryExpression"||f.operator!=="==")return!1;const s=o(f.left)?"left":"right",l=s==="left"?"right":"left";return o(f[s])&&(a.isNullLiteral(f[l])||n(f[l],m))}function c(f){return f.type==="LogicalExpression"&&f.operator==="||"&&f.left.type==="BinaryExpression"&&f.left.operator==="==="&&f.right.type==="BinaryExpression"&&f.right.operator==="==="}function p(f,m){if(!c(f))return!1;const s=o(f.left.left)?"left":"right",l=s==="left"?"right":"left",d=o(f.right.left)?"left":"right",g=d==="left"?"right":"left";return a.isSameReference(f.left[s],f.right[d])&&(a.isNullLiteral(f.left[l])&&n(f.right[g],m)||n(f.left[l],m)&&a.isNullLiteral(f.right[g]))}function u(f,m){return f.type==="CallExpression"&&f.callee.name==="Boolean"&&f.arguments.length===1&&a.isReferenceToGlobalVariable(m,f.callee)}function r(f,m){const s=f.type==="UnaryExpression"&&f.operator==="!",l=s?f.argument:f;switch(!0){case o(l):return{reference:l,operator:s?"||":"&&"};case(l.type==="UnaryExpression"&&l.operator==="!"&&o(l.argument)):return{reference:l.argument,operator:"&&"};case(u(l,m)&&o(l.arguments[0])):return{reference:l.arguments[0],operator:s?"||":"&&"};case t(f,m):return{reference:o(f.left)?f.left:f.right,operator:"??"};case p(f,m):return{reference:o(f.left.left)?f.left.left:f.left.right,operator:"??"};default:return null}}function h(f){return f.type==="Program"?!1:f.parent.type==="WithStatement"&&f.parent.body===f?!0:h(f.parent)}function i(f,m){let s=m.left;for(;s.type==="LogicalExpression"&&s.operator===m.operator;){if(a.isParenthesised(f,s))return s;s=s.left}return s}return So={meta:{type:"suggestion",docs:{description:"Require or disallow logical assignment operator shorthand",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/logical-assignment-operators"},schema:{type:"array",oneOf:[{items:[{const:"always"},{type:"object",properties:{enforceForIfStatements:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2},{items:[{const:"never"}],minItems:1,maxItems:1}]},fixable:"code",hasSuggestions:!0,messages:{assignment:"Assignment (=) can be replaced with operator assignment ({{operator}}).",useLogicalOperator:"Convert this assignment to use the operator {{ operator }}.",logical:"Logical expression can be replaced with an assignment ({{ operator }}).",convertLogical:"Replace this logical expression with an assignment with the operator {{ operator }}.",if:"'if' statement can be replaced with a logical operator assignment with operator {{ operator }}.",convertIf:"Replace this 'if' statement with a logical assignment with operator {{ operator }}.",unexpected:"Unexpected logical operator assignment ({{operator}}) shorthand.",separate:"Separate the logical assignment into an assignment with a logical operator."}},create(f){const m=f.options[0]==="never"?"never":"always",s=m==="always"&&f.options.length>1&&f.options[1].enforceForIfStatements,l=f.sourceCode,d=l.getScope(l.ast).isStrict;function g(C){return C.type==="Identifier"&&(d||!h(C))}function v(C){return!d&&h(C)?C.type==="Identifier":C.type==="MemberExpression"&&e.has(C.object.type)&&(!C.computed||C.property.type!=="MemberExpression"&&C.property.type!=="ChainExpression")}function S(C,w,E){return E?{...C,fix:w.fix}:{...C,suggest:[w]}}function b(C){return l.getFirstTokenBetween(C.left,C.right,w=>w.value===C.operator)}return m==="never"?{AssignmentExpression(C){if(!a.isLogicalAssignmentOperator(C.operator))return;const w={messageId:"unexpected",node:C,data:{operator:C.operator}},E={messageId:"separate",*fix(k){if(l.getCommentsInside(C).length>0)return;const x=b(C);yield k.replaceText(x,"=");const A=l.getText(C.left),I=C.operator.slice(0,-1);yield k.insertTextAfter(x,` ${A} ${I}`);const B=a.getPrecedence(C.right)<=a.getPrecedence({type:"LogicalExpression",operator:I}),M=C.operator==="??="&&a.isLogicalExpression(C.right);!a.isParenthesised(l,C.right)&&(B||M)&&(yield k.insertTextBefore(C.right,"("),yield k.insertTextAfter(C.right,")"))}};f.report(S(w,E,g(C.left)))}}:{"AssignmentExpression[operator='='][right.type='LogicalExpression']"(C){const w=i(l,C.right);if(!a.isSameReference(C.left,w))return;const E={messageId:"assignment",node:C,data:{operator:`${C.right.operator}=`}},k={messageId:"useLogicalOperator",data:{operator:`${C.right.operator}=`},*fix(x){if(l.getCommentsInside(C).length>0)return;const A=b(C);yield x.insertTextBefore(A,C.right.operator);const I=b(w.parent),B=l.getTokenAfter(I);yield x.removeRange([w.parent.range[0],B.range[0]])}};f.report(S(E,k,g(C.left)))},'LogicalExpression[right.type="AssignmentExpression"][right.operator="="]'(C){if(o(C.left)&&a.isSameReference(C.left,C.right.left)){const w={messageId:"logical",node:C,data:{operator:`${C.operator}=`}},E={messageId:"convertLogical",data:{operator:`${C.operator}=`},*fix(x){if(l.getCommentsInside(C).length>0)return;const A=a.getPrecedence(C.parent),I=C.parent.type!=="ExpressionStatement"&&(A===-1||a.getPrecedence({type:"AssignmentExpression"})<A);!a.isParenthesised(l,C)&&I&&(yield x.insertTextBefore(C,"("),yield x.insertTextAfter(C,")")),yield x.removeRange([C.range[0],C.right.range[0]]),yield x.removeRange([C.right.range[1],C.range[1]]);const B=b(C.right);yield x.insertTextBefore(B,C.operator)}},k=g(C.left)||v(C.left);f.report(S(w,E,k))}},"IfStatement[alternate=null]"(C){if(!s)return;const w=C.consequent.type==="BlockStatement";if(w&&C.consequent.body.length!==1)return;const E=w?C.consequent.body[0]:C.consequent,k=l.getScope(C),x=r(C.test,k);if(E.type==="ExpressionStatement"&&E.expression.type==="AssignmentExpression"&&E.expression.operator==="="&&x!==null&&a.isSameReference(x.reference,E.expression.left)){const A={messageId:"if",node:C,data:{operator:`${x.operator}=`}},I={messageId:"convertIf",data:{operator:`${x.operator}=`},*fix(M){if(l.getCommentsInside(C).length>0)return;const P=l.getFirstToken(E),D=l.getTokenBefore(C);if(D!==null&&D.value!==";"&&D.value!=="{"&&P.type!=="Identifier"&&P.type!=="Keyword")return;const R=b(E.expression);yield M.insertTextBefore(R,x.operator),yield M.removeRange([C.range[0],E.range[0]]),yield M.removeRange([E.range[1],C.range[1]]);const N=l.getTokenAfter(E.expression);w&&N!==null&&N.value!==";"&&(yield M.insertTextAfter(C,";"))}},B=g(x.reference)||C.test.type!=="LogicalExpression"&&v(x.reference);f.report(S(A,I,B))}}}}},So}var bo,ry;function AA(){return ry||(ry=1,bo={meta:{type:"suggestion",docs:{description:"Enforce a maximum number of classes per file",recommended:!1,url:"https://eslint.org/docs/latest/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(a){const[e={}]=a.options,[n,o]=typeof e=="number"?[!1,e||1]:[e.ignoreExpressions,e.max||1];let t=0;return{Program(){t=0},"Program:exit"(c){t>o&&a.report({node:c,messageId:"maximumExceeded",data:{classCount:t,max:o}})},ClassDeclaration(){t++},ClassExpression(){n||t++}}}}),bo}var xo,ny;function TA(){return ny||(ny=1,xo={meta:{type:"suggestion",docs:{description:"Enforce a maximum depth that blocks can be nested",recommended:!1,url:"https://eslint.org/docs/latest/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(a){const e=[],n=a.options[0];let o=4;typeof n=="object"&&(Object.hasOwn(n,"maximum")||Object.hasOwn(n,"max"))&&(o=n.maximum||n.max),typeof n=="number"&&(o=n);function t(){e.push(0)}function c(){e.pop()}function p(r){const h=++e[e.length-1];h>o&&a.report({node:r,messageId:"tooDeeply",data:{depth:h,maxDepth:o}})}function u(){e[e.length-1]--}return{Program:t,FunctionDeclaration:t,FunctionExpression:t,ArrowFunctionExpression:t,StaticBlock:t,IfStatement(r){r.parent.type!=="IfStatement"&&p(r)},SwitchStatement:p,TryStatement:p,DoWhileStatement:p,WhileStatement:p,WithStatement:p,ForStatement:p,ForInStatement:p,ForOfStatement:p,"IfStatement:exit":u,"SwitchStatement:exit":u,"TryStatement:exit":u,"DoWhileStatement:exit":u,"WhileStatement:exit":u,"WithStatement:exit":u,"ForStatement:exit":u,"ForInStatement:exit":u,"ForOfStatement:exit":u,"FunctionDeclaration:exit":c,"FunctionExpression:exit":c,"ArrowFunctionExpression:exit":c,"StaticBlock:exit":c,"Program:exit":c}}}),xo}var Co,sy;function kA(){if(sy)return Co;sy=1;const a={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},e={anyOf:[a,{type:"integer",minimum:0}]};return Co={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"max-len",url:"https://eslint.style/rules/js/max-len"}}]},type:"layout",docs:{description:"Enforce a maximum line length",recommended:!1,url:"https://eslint.org/docs/latest/rules/max-len"},schema:[e,e,a],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(n){const o=/[^:/?#]:\/\/[^?#]/u,t=n.sourceCode;function c(M,P){let D=0;return M.replace(/\t/gu,(R,N)=>{const q=N+D,L=P?q%P:0,W=P-L;D+=W-1}),Array.from(M).length+D}const p=Object.assign({},n.options.at(-1));typeof n.options[0]=="number"&&(p.code=n.options[0]),typeof n.options[1]=="number"&&(p.tabWidth=n.options[1]);const u=typeof p.code=="number"?p.code:80,r=typeof p.tabWidth=="number"?p.tabWidth:4,h=!!p.ignoreComments,i=!!p.ignoreStrings,f=!!p.ignoreTemplateLiterals,m=!!p.ignoreRegExpLiterals,s=!!p.ignoreTrailingComments||!!p.ignoreComments,l=!!p.ignoreUrls,d=p.comments;let g=p.ignorePattern||null;g&&(g=new RegExp(g,"u"));function v(M,P,D){return D&&D.loc.start.line===P&&P<=D.loc.end.line&&(D.loc.end.line>P||D.loc.end.column===M.length)}function S(M,P,D){const R=D.loc.start,N=D.loc.end,q=!M.slice(0,D.loc.start.column).trim();return D&&(R.line<P||R.line===P&&q)&&(N.line>P||N.line===P&&N.column===M.length)}function b(M){if(!M||!M.parent||M.type!=="JSXEmptyExpression"||M.parent.type!=="JSXExpressionContainer")return!1;const P=M.parent;return P.loc.start.line===P.loc.end.line}function C(M,P){return M.slice(0,P.loc.start.column).replace(/\s+$/u,"")}function w(M,P,D){Array.isArray(M[P])||(M[P]=[]),M[P].push(D)}function E(){return t.ast.tokens.filter(M=>M.type==="String"||M.type==="JSXText"&&t.getNodeByRangeIndex(M.range[0]-1).type==="JSXAttribute")}function k(){return t.ast.tokens.filter(M=>M.type==="Template")}function x(){return t.ast.tokens.filter(M=>M.type==="RegularExpression")}function A(M){const P={};for(let D=0;D<M.length;D++){const R=M[D];for(let N=R.loc.start.line;N<=R.loc.end.line;++N)w(P,N,R)}return P}function I(){const M=[];return t.getAllComments().forEach(P=>{const D=t.getNodeByRangeIndex(P.range[0]);b(D)?M.at(-1)!==D.parent&&M.push(D.parent):M.push(P)}),M}function B(M){const P=t.lines,D=h||d||s?I():[];let R=0;const N=E(),q=A(N),L=k(),W=A(L),_=x(),H=A(_);P.forEach((K,re)=>{const te=re+1;let xe=!1,Y;if(R<D.length){let ae;do ae=D[++R];while(ae&&ae.loc.start.line<=te);if(ae=D[--R],S(K,te,ae))xe=!0,Y=K;else if(s&&v(K,te,ae)){Y=C(K,ae);let be=R;for(;v(Y,te,D[--be]);)Y=C(Y,D[be])}else Y=K}else Y=K;if(g&&g.test(Y)||l&&o.test(Y)||i&&q[te]||f&&W[te]||m&&H[te])return;const F=c(Y,r),z=xe&&d;if(xe&&h)return;const ne={start:{line:te,column:0},end:{line:te,column:Y.length}};z?F>d&&n.report({node:M,loc:ne,messageId:"maxComment",data:{lineLength:F,maxCommentLength:d}}):F>u&&n.report({node:M,loc:ne,messageId:"max",data:{lineLength:F,maxLength:u}})})}return{Program:B}}},Co}var wo,ay;function DA(){if(ay)return wo;ay=1;const a=Me();function e(n,o){return[...Array(o-n).keys()].map(t=>t+n)}return wo={meta:{type:"suggestion",docs:{description:"Enforce a maximum number of lines per file",recommended:!1,url:"https://eslint.org/docs/latest/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(n){const o=n.options[0];let t=300;typeof o=="object"&&Object.hasOwn(o,"max")?t=o.max:typeof o=="number"&&(t=o);const c=o&&o.skipComments,p=o&&o.skipBlankLines,u=n.sourceCode;function r(i){return i&&(i.type==="Block"||i.type==="Line")}function h(i){let f=i.loc.start.line,m=i.loc.end.line,s;s=i;do s=u.getTokenBefore(s,{includeComments:!0});while(r(s));s&&a.isTokenOnSameLine(s,i)&&(f+=1),s=i;do s=u.getTokenAfter(s,{includeComments:!0});while(r(s));return s&&a.isTokenOnSameLine(i,s)&&(m-=1),f<=m?e(f,m+1):[]}return{"Program:exit"(){let i=u.lines.map((f,m)=>({lineNumber:m+1,text:f}));if(i.length>1&&i.at(-1).text===""&&i.pop(),p&&(i=i.filter(f=>f.text.trim()!=="")),c){const f=u.getAllComments(),m=new Set(f.flatMap(h));i=i.filter(s=>!m.has(s.lineNumber))}if(i.length>t){const f={start:{line:i[t].lineNumber,column:0},end:{line:u.lines.length,column:u.lines.at(-1).length}};n.report({loc:f,messageId:"exceed",data:{max:t,actual:i.length}})}}}}},wo}var Ao,iy;function IA(){if(iy)return Ao;iy=1;const a=Me(),{upperCaseFirst:e}=Br(),o={oneOf:[{type:"object",properties:{max:{type:"integer",minimum:0},skipComments:{type:"boolean"},skipBlankLines:{type:"boolean"},IIFEs:{type:"boolean"}},additionalProperties:!1},{type:"integer",minimum:1}]};function t(c){const p=new Map;return c.forEach(u=>{for(let r=u.loc.start.line;r<=u.loc.end.line;r++)p.set(r,u)}),p}return Ao={meta:{type:"suggestion",docs:{description:"Enforce a maximum number of lines of code in a function",recommended:!1,url:"https://eslint.org/docs/latest/rules/max-lines-per-function"},schema:[o],messages:{exceed:"{{name}} has too many lines ({{lineCount}}). Maximum allowed is {{maxLines}}."}},create(c){const p=c.sourceCode,u=p.lines,r=c.options[0];let h=50,i=!1,f=!1,m=!1;typeof r=="object"?(h=typeof r.max=="number"?r.max:50,i=!!r.skipComments,f=!!r.skipBlankLines,m=!!r.IIFEs):typeof r=="number"&&(h=r);const s=t(p.getAllComments());function l(S,b,C){const w=C.loc.start,E=C.loc.end,k=w.line===b&&!S.slice(0,w.column).trim(),x=E.line===b&&!S.slice(E.column).trim();return C&&(w.line<b||k)&&(E.line>b||x)}function d(S){return(S.type==="FunctionExpression"||S.type==="ArrowFunctionExpression")&&S.parent&&S.parent.type==="CallExpression"&&S.parent.callee===S}function g(S){return!S.parent||S!==S.parent.value?!1:S.parent.type==="MethodDefinition"?!0:S.parent.type==="Property"?S.parent.method===!0||S.parent.kind==="get"||S.parent.kind==="set":!1}function v(S){const b=g(S)?S.parent:S;if(!m&&d(b))return;let C=0;for(let w=b.loc.start.line-1;w<b.loc.end.line;++w){const E=u[w];i&&s.has(w+1)&&l(E,w+1,s.get(w+1))||f&&E.match(/^\s*$/u)||C++}if(C>h){const w=e(a.getFunctionNameWithKind(S));c.report({node:b,messageId:"exceed",data:{name:w,lineCount:C,maxLines:h}})}}return{FunctionDeclaration:v,FunctionExpression:v,ArrowFunctionExpression:v}}},Ao}var To,oy;function PA(){return oy||(oy=1,To={meta:{type:"suggestion",docs:{description:"Enforce a maximum depth that callbacks can be nested",recommended:!1,url:"https://eslint.org/docs/latest/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(a){const e=a.options[0];let n=10;typeof e=="object"&&(Object.hasOwn(e,"maximum")||Object.hasOwn(e,"max"))?n=e.maximum||e.max:typeof e=="number"&&(n=e);const o=[];function t(p){if(p.parent.type==="CallExpression"&&o.push(p),o.length>n){const r={num:o.length,max:n};a.report({node:p,messageId:"exceed",data:r})}}function c(){o.pop()}return{ArrowFunctionExpression:t,"ArrowFunctionExpression:exit":c,FunctionExpression:t,"FunctionExpression:exit":c}}}),To}var ko,ly;function FA(){if(ly)return ko;ly=1;const a=Me(),{upperCaseFirst:e}=Br();return ko={meta:{type:"suggestion",dialects:["typescript","javascript"],language:"javascript",docs:{description:"Enforce a maximum number of parameters in function definitions",recommended:!1,url:"https://eslint.org/docs/latest/rules/max-params"},schema:[{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{maximum:{type:"integer",minimum:0},max:{type:"integer",minimum:0},countVoidThis:{type:"boolean",description:"Whether to count a `this` declaration when the type is `void`."}},additionalProperties:!1}]}],messages:{exceed:"{{name}} has too many parameters ({{count}}). Maximum allowed is {{max}}."}},create(n){const o=n.sourceCode,t=n.options[0];let c=3,p=!1;typeof t=="object"&&((Object.hasOwn(t,"maximum")||Object.hasOwn(t,"max"))&&(c=t.maximum||t.max),p=t.countVoidThis),typeof t=="number"&&(c=t);function u(r){var f;const i=r.params.length>0&&r.params[0].type==="Identifier"&&r.params[0].name==="this"&&((f=r.params[0].typeAnnotation)==null?void 0:f.typeAnnotation.type)==="TSVoidKeyword"&&!p?r.params.length-1:r.params.length;i>c&&n.report({loc:a.getFunctionHeadLoc(r,o),node:r,messageId:"exceed",data:{name:e(a.getFunctionNameWithKind(r)),count:i,max:c}})}return{FunctionDeclaration:u,ArrowFunctionExpression:u,FunctionExpression:u,TSDeclareFunction:u,TSFunctionType:u}}},ko}var Do,uy;function RA(){if(uy)return Do;uy=1;const a=Me(),{upperCaseFirst:e}=Br();return Do={meta:{type:"suggestion",docs:{description:"Enforce a maximum number of statements allowed in function blocks",recommended:!1,url:"https://eslint.org/docs/latest/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(n){const o=[],t=n.options[0],c=n.options[1]&&n.options[1].ignoreTopLevelFunctions||!1,p=[];let u=10;typeof t=="object"&&(Object.hasOwn(t,"maximum")||Object.hasOwn(t,"max"))?u=t.maximum||t.max:typeof t=="number"&&(u=t);function r(m,s,l){if(s>l){const d=e(a.getFunctionNameWithKind(m));n.report({node:m,messageId:"exceed",data:{name:d,count:s,max:l}})}}function h(){o.push(0)}function i(m){const s=o.pop();m.type!=="StaticBlock"&&(c&&o.length===0?p.push({node:m,count:s}):r(m,s,u))}function f(m){o[o.length-1]+=m.body.length}return{FunctionDeclaration:h,FunctionExpression:h,ArrowFunctionExpression:h,StaticBlock:h,BlockStatement:f,"FunctionDeclaration:exit":i,"FunctionExpression:exit":i,"ArrowFunctionExpression:exit":i,"StaticBlock:exit":i,"Program:exit"(){p.length!==1&&p.forEach(m=>{const s=m.count,l=m.node;r(l,s,u)})}}}},Do}var Io,cy;function _A(){if(cy)return Io;cy=1;const a=Me();return Io={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"max-statements-per-line",url:"https://eslint.style/rules/js/max-statements-per-line"}}]},type:"layout",docs:{description:"Enforce a maximum number of statements allowed per line",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.sourceCode,o=e.options[0]||{},t=typeof o.max<"u"?o.max:1;let c=0,p=0,u;const r=/^(?:(?:DoWhile|For|ForIn|ForOf|If|Labeled|While)Statement|Export(?:Default|Named)Declaration)$/u;function h(){u&&e.report({node:u,messageId:"exceed",data:{numberOfStatementsOnThisLine:p,maxStatementsPerLine:t,statements:p===1?"statement":"statements"}}),u=null}function i(s){return n.getLastToken(s,a.isNotSemicolonToken)}function f(s){const l=s.loc.start.line;r.test(s.parent.type)&&s.parent.alternate!==s||(l===c?p+=1:(h(),p=1,c=l),p===t+1&&(u=u||s))}function m(s){const l=i(s).loc.end.line;l!==c&&(h(),p=1,c=l)}return{BreakStatement:f,ClassDeclaration:f,ContinueStatement:f,DebuggerStatement:f,DoWhileStatement:f,ExpressionStatement:f,ForInStatement:f,ForOfStatement:f,ForStatement:f,FunctionDeclaration:f,IfStatement:f,ImportDeclaration:f,LabeledStatement:f,ReturnStatement:f,SwitchStatement:f,ThrowStatement:f,TryStatement:f,VariableDeclaration:f,WhileStatement:f,WithStatement:f,ExportNamedDeclaration:f,ExportDefaultDeclaration:f,ExportAllDeclaration:f,"BreakStatement:exit":m,"ClassDeclaration:exit":m,"ContinueStatement:exit":m,"DebuggerStatement:exit":m,"DoWhileStatement:exit":m,"ExpressionStatement:exit":m,"ForInStatement:exit":m,"ForOfStatement:exit":m,"ForStatement:exit":m,"FunctionDeclaration:exit":m,"IfStatement:exit":m,"ImportDeclaration:exit":m,"LabeledStatement:exit":m,"ReturnStatement:exit":m,"SwitchStatement:exit":m,"ThrowStatement:exit":m,"TryStatement:exit":m,"VariableDeclaration:exit":m,"WhileStatement:exit":m,"WithStatement:exit":m,"ExportNamedDeclaration:exit":m,"ExportDefaultDeclaration:exit":m,"ExportAllDeclaration:exit":m,"Program:exit":h}}},Io}var Po,fy;function BA(){if(fy)return Po;fy=1;const a=Me();return Po={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"9.3.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"multiline-comment-style",url:"https://eslint.style/rules/js/multiline-comment-style"}}]},type:"suggestion",docs:{description:"Enforce a particular style for multiline comments",recommended:!1,url:"https://eslint.org/docs/latest/rules/multiline-comment-style"},fixable:"whitespace",schema:{anyOf:[{type:"array",items:[{enum:["starred-block","bare-block"]}],additionalItems:!1},{type:"array",items:[{enum:["separate-lines"]},{type:"object",properties:{checkJSDoc:{type:"boolean"}},additionalProperties:!1}],additionalItems:!1}]},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(e){const n=e.sourceCode,o=e.options[0]||"starred-block",c=!!(e.options[1]||{}).checkJSDoc;function p(S){return/^\s*\*/u.test(S)}function u([S]){if(S.type!=="Block")return!1;const b=S.value.split(a.LINEBREAK_MATCHER);return b.length>0&&b.every((C,w)=>(w===0||w===b.length-1?/^\s*$/u:/^\s*\*/u).test(C))}function r([S]){if(S.type!=="Block")return!1;const b=S.value.split(a.LINEBREAK_MATCHER);return/^\*\s*$/u.test(b[0])&&b.slice(1,-1).every(C=>/^\s* /u.test(C))&&/^\s*$/u.test(b.at(-1))}function h(S){const b=S.map(({value:C})=>C).filter(C=>C.trim().length).every(C=>C.startsWith(" "));return S.map(({value:C})=>b?C.replace(/^ /u,""):C)}function i(S){const b=S.value.split(a.LINEBREAK_MATCHER).filter((w,E,k)=>!(E===0||E===k.length-1)).map(w=>w.replace(/^\s*$/u,"")),C=b.map(w=>w.replace(/\s*\*/u,"")).filter(w=>w.trim().length).every(w=>w.startsWith(" "));return b.map(w=>w.replace(C?/\s*\* ?/u:/\s*\*/u,""))}function f(S){const b=S.value.split(a.LINEBREAK_MATCHER).map(E=>E.replace(/^\s*$/u,"")),C=`${n.text.slice(S.range[0]-S.loc.start.column,S.range[0])} `;let w="";for(const[E,k]of b.entries()){if(!k.trim().length||E===0)continue;const[,x]=k.match(/^(\s*\*?\s*)/u);if(x.length<C.length){const A=C.slice(x.length-C.length);A.length>w.length&&(w=A)}}return b.map(E=>{const k=E.match(/^(\s*\*?\s*)(.*)/u),[,x,A]=k;return x.length>C.length?`${x.slice(C.length-(w.length+x.length))}${A}`:x.length<C.length?`${x.slice(C.length)}${A}`:A})}function m(S){const[b]=S;return b.type==="Line"?h(S):u(S)?i(b):f(b)}function s(S){return n.text.slice(S.range[0]-S.loc.start.column,S.range[0])}function l(S,b){const C=s(S);return`/*
74
- ${b.map(w=>`${C} * ${w}`).join(`
75
- `)}
76
- ${C} */`}function d(S,b){return b.map(C=>`// ${C}`).join(`
77
- ${s(S)}`)}function g(S,b){return`/* ${b.join(`
78
- ${s(S)} `)} */`}const v={"starred-block"(S){const[b]=S,C=m(S);if(!C.some(w=>w.includes("*/")))if(S.length>1)e.report({loc:{start:b.loc.start,end:S.at(-1).loc.end},messageId:"expectedBlock",fix(w){const E=[b.range[0],S.at(-1).range[1]];return C.some(k=>k.startsWith("/"))?null:w.replaceTextRange(E,l(b,C))}});else{const w=b.value.split(a.LINEBREAK_MATCHER),k=`${s(b)} *`;if(!/^\*?\s*$/u.test(w[0])){const x=b.value.startsWith("*")?b.range[0]+1:b.range[0];e.report({loc:{start:b.loc.start,end:{line:b.loc.start.line,column:b.loc.start.column+2}},messageId:"startNewline",fix:A=>A.insertTextAfterRange([x,x+2],`
79
- ${k}`)})}/^\s*$/u.test(w.at(-1))||e.report({loc:{start:{line:b.loc.end.line,column:b.loc.end.column-2},end:b.loc.end},messageId:"endNewline",fix:x=>x.replaceTextRange([b.range[1]-2,b.range[1]],`
80
- ${k}/`)});for(let x=b.loc.start.line+1;x<=b.loc.end.line;x++){const A=n.lines[x-1],I=p(A)?"alignment":"missingStar";A.startsWith(k)||e.report({loc:{start:{line:x,column:0},end:{line:x,column:A.length}},messageId:I,fix(B){const M=n.getIndexFromLoc({line:x,column:0});if(I==="alignment"){const[,N=""]=A.match(/^(\s*\*)/u)||[],q=M+N.length;return B.replaceTextRange([M,q],k)}const[,P=""]=A.match(/^(\s*)/u)||[],D=M+P.length;let R;for(const[N,q]of w.entries()){if(!/\S+/u.test(q))continue;const L=n.lines[b.loc.start.line-1+N],[,W="",_=""]=L.match(/^(\s*(?:\/?\*)?(\s*))/u)||[];R=`${P.slice(W.length)}${_}`,/^\s*\//u.test(A)&&R.length===0&&(R+=" ");break}return B.replaceTextRange([M,D],`${k}${R}`)}})}}},"separate-lines"(S){const[b]=S,C=r(S);if(b.type!=="Block"||!c&&C)return;let w=m(S);C&&(w=w.slice(1,w.length-1));const E=n.getTokenAfter(b,{includeComments:!0});E&&b.loc.end.line===E.loc.start.line||e.report({loc:{start:b.loc.start,end:{line:b.loc.start.line,column:b.loc.start.column+2}},messageId:"expectedLines",fix(k){return k.replaceText(b,d(b,w))}})},"bare-block"(S){if(r(S))return;const[b]=S,C=m(S);b.type==="Line"&&C.length>1&&!C.some(w=>w.includes("*/"))&&e.report({loc:{start:b.loc.start,end:S.at(-1).loc.end},messageId:"expectedBlock",fix(w){return w.replaceTextRange([b.range[0],S.at(-1).range[1]],g(b,C))}}),u(S)&&e.report({loc:{start:b.loc.start,end:{line:b.loc.start.line,column:b.loc.start.column+2}},messageId:"expectedBareBlock",fix(w){return w.replaceText(b,g(b,C))}})}};return{Program(){return n.getAllComments().filter(S=>S.type!=="Shebang").filter(S=>!a.COMMENTS_IGNORE_PATTERN.test(S.value)).filter(S=>{const b=n.getTokenBefore(S,{includeComments:!0});return!b||b.loc.end.line<S.loc.start.line}).reduce((S,b,C,w)=>{const E=n.getTokenBefore(b,{includeComments:!0});return b.type==="Line"&&C&&w[C-1].type==="Line"&&E&&E.loc.end.line===b.loc.start.line-1&&E===w[C-1]?S.at(-1).push(b):S.push([b]),S},[]).filter(S=>!(S.length===1&&S[0].loc.start.line===S[0].loc.end.line)).forEach(v[o])}}}},Po}var Fo,py;function LA(){if(py)return Fo;py=1;const a=Me();return Fo={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"multiline-ternary",url:"https://eslint.style/rules/js/multiline-ternary"}}]},type:"layout",docs:{description:"Enforce newlines between operands of ternary expressions",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.sourceCode,o=e.options[0],t=o!=="never",c=o==="always-multiline";return{ConditionalExpression(p){const u=n.getTokenAfter(p.test,a.isNotClosingParenToken),r=n.getTokenAfter(p.consequent,a.isNotClosingParenToken),h=n.getFirstToken(p),i=n.getTokenBefore(u),f=n.getTokenAfter(u),m=n.getTokenBefore(r),s=n.getTokenAfter(r),l=a.isTokenOnSameLine(i,f),d=a.isTokenOnSameLine(m,s),g=!!n.getCommentsInside(p).length;if(!t)l||e.report({node:p.test,loc:{start:h.loc.start,end:i.loc.end},messageId:"unexpectedTestCons",fix(v){if(g)return null;const S=[],b=a.isTokenOnSameLine(i,u),C=a.isTokenOnSameLine(u,f);return b||S.push(v.removeRange([i.range[1],u.range[0]])),C||S.push(v.removeRange([u.range[1],f.range[0]])),S}}),d||e.report({node:p.consequent,loc:{start:f.loc.start,end:m.loc.end},messageId:"unexpectedConsAlt",fix(v){if(g)return null;const S=[],b=a.isTokenOnSameLine(m,r),C=a.isTokenOnSameLine(r,s);return b||S.push(v.removeRange([m.range[1],r.range[0]])),C||S.push(v.removeRange([r.range[1],s.range[0]])),S}});else{if(c&&p.loc.start.line===p.loc.end.line)return;l&&e.report({node:p.test,loc:{start:h.loc.start,end:i.loc.end},messageId:"expectedTestCons",fix:v=>g?null:v.replaceTextRange([i.range[1],u.range[0]],`
81
- `)}),d&&e.report({node:p.consequent,loc:{start:f.loc.start,end:m.loc.end},messageId:"expectedConsAlt",fix:v=>g?null:v.replaceTextRange([m.range[1],r.range[0]],`
82
- `)})}}}}},Fo}var Ro,my;function OA(){if(my)return Ro;my=1;const a=Me(),e=["Array","Boolean","Date","Error","Function","Number","Object","RegExp","String","Symbol","BigInt"];function n(t,c){return t[c]=!0,t}function o(t){return Array.from(new Set([...t.capIsNewExceptions,...e])).reduce(n,{})}return Ro={meta:{type:"suggestion",docs:{description:"Require constructor names to begin with a capital letter",recommended:!1,url:"https://eslint.org/docs/latest/rules/new-cap"},schema:[{type:"object",properties:{newIsCap:{type:"boolean"},capIsNew:{type:"boolean"},newIsCapExceptions:{type:"array",items:{type:"string"}},newIsCapExceptionPattern:{type:"string"},capIsNewExceptions:{type:"array",items:{type:"string"}},capIsNewExceptionPattern:{type:"string"},properties:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{capIsNew:!0,capIsNewExceptions:e,newIsCap:!0,newIsCapExceptions:[],properties:!0}],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(t){const[c]=t.options,p=!c.properties,u=c.newIsCapExceptions.reduce(n,{}),r=c.newIsCapExceptionPattern?new RegExp(c.newIsCapExceptionPattern,"u"):null,h=o(c),i=c.capIsNewExceptionPattern?new RegExp(c.capIsNewExceptionPattern,"u"):null,f={},m=t.sourceCode;function s(v){return v.callee.type==="Identifier"?v.callee.name:a.getStaticPropertyName(v.callee)||""}function l(v){const S=v.charAt(0),b=S.toLowerCase(),C=S.toUpperCase();return b===C?"non-alpha":S===b?"lower":"upper"}function d(v,S,b,C){const w=m.getText(S.callee);if(v[b]||v[w]||C&&C.test(w))return!0;const E=a.skipChainExpression(S.callee);return b==="UTC"&&E.type==="MemberExpression"?E.object.type==="Identifier"&&E.object.name==="Date":p&&E.type==="MemberExpression"}function g(v,S){let b=a.skipChainExpression(v.callee);b.type==="MemberExpression"&&(b=b.property),t.report({node:v,loc:b.loc,messageId:S})}return c.newIsCap&&(f.NewExpression=function(v){const S=s(v);S&&(l(S)!=="lower"||d(u,v,S,r)||g(v,"lower"))}),c.capIsNew&&(f.CallExpression=function(v){const S=s(v);S&&(l(S)!=="upper"||d(h,v,S,i)||g(v,"upper"))}),f}},Ro}var _o,hy;function NA(){if(hy)return _o;hy=1;const a=Me();return _o={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"new-parens",url:"https://eslint.style/rules/js/new-parens"}}]},type:"layout",docs:{description:"Enforce or disallow parentheses when invoking a constructor with no arguments",recommended:!1,url:"https://eslint.org/docs/latest/rules/new-parens"},fixable:"code",schema:[{enum:["always","never"]}],messages:{missing:"Missing '()' invoking a constructor.",unnecessary:"Unnecessary '()' invoking a constructor with no arguments."}},create(e){const o=e.options[0]!=="never",t=e.sourceCode;return{NewExpression(c){if(c.arguments.length!==0)return;const p=t.getLastToken(c),r=p&&a.isClosingParenToken(p)&&a.isOpeningParenToken(t.getTokenBefore(p))&&c.callee.range[1]<c.range[1];o?r||e.report({node:c,messageId:"missing",fix:h=>h.insertTextAfter(c,"()")}):r&&e.report({node:c,messageId:"unnecessary",fix:h=>[h.remove(t.getTokenBefore(p)),h.remove(p),h.insertTextBefore(c,"("),h.insertTextAfter(c,")")]})}}}},_o}var Bo,dy;function jA(){if(dy)return Bo;dy=1;const a=Me();return Bo={meta:{type:"layout",docs:{description:"Require or disallow an empty line after variable declarations",recommended:!1,url:"https://eslint.org/docs/latest/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:{message:"The rule was replaced with a more general rule.",url:"https://eslint.org/blog/2017/06/eslint-v4.0.0-released/",deprecatedSince:"4.0.0",availableUntil:null,replacedBy:[{message:"The new rule moved to a plugin.",url:"https://eslint.org/docs/latest/rules/padding-line-between-statements#examples",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"padding-line-between-statements",url:"https://eslint.style/rules/js/padding-line-between-statements"}}]}},create(e){const n=e.sourceCode,o=e.options[0]==="never"?"never":"always",t=n.getAllComments().reduce((s,l)=>(s[l.loc.start.line]=l.loc.end.line,s),{});function c(s){const l=n.getLastToken(s);if(l.type==="Punctuator"&&l.value===";"){const d=n.getTokenBefore(l);if(d.loc.end.line!==l.loc.start.line)return d}return l}function p(s){return s==="var"||s==="let"||s==="const"}function u(s){return s==="ForStatement"||s==="ForInStatement"||s==="ForOfStatement"}function r(s){return s==="ExportNamedDeclaration"||s==="ExportSpecifier"||s==="ExportDefaultDeclaration"||s==="ExportAllDeclaration"}function h(s){const l=n.getTokenAfter(s);return!l||l.type==="Punctuator"&&l.value==="}"}function i(s){const l=t[s];return t[l+1]?i(l+1):l}function f(s,l){return s.loc.start.line>i(l)+1}function m(s){const l=c(s),d=l===n.getLastToken(s)?n.getTokenAfter(s):n.getLastToken(s),g=l.loc.end.line+1;if(!d||u(s.parent.type)||r(s.parent.type)||d.type==="Keyword"&&p(d.value)||h(s))return;const v=d.loc.start.line>g,S=typeof t[g]<"u";o==="never"&&v&&!S&&e.report({node:s,messageId:"unexpected",fix(b){const C=n.getText().slice(l.range[1],d.range[0]).split(a.LINEBREAK_MATCHER);return b.replaceTextRange([l.range[1],d.range[0]],`${C.slice(0,-1).join("")}
83
- ${C.at(-1)}`)}}),o==="always"&&(!v||S&&!f(d,g))&&e.report({node:s,messageId:"expected",fix(b){return(v?i(g):l.loc.end.line)===d.loc.start.line?b.insertTextBefore(d,`
84
-
85
- `):b.insertTextBeforeRange([d.range[0]-d.loc.start.column,d.range[1]],`
86
- `)}})}return{VariableDeclaration:m}}},Bo}var Lo,gy;function MA(){return gy||(gy=1,Lo={meta:{type:"layout",docs:{description:"Require an empty line before `return` statements",recommended:!1,url:"https://eslint.org/docs/latest/rules/newline-before-return"},fixable:"whitespace",schema:[],messages:{expected:"Expected newline before return statement."},deprecated:{message:"The rule was replaced with a more general rule.",url:"https://eslint.org/blog/2017/06/eslint-v4.0.0-released/",deprecatedSince:"4.0.0",availableUntil:null,replacedBy:[{message:"The new rule moved to a plugin.",url:"https://eslint.org/docs/latest/rules/padding-line-between-statements#examples",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"padding-line-between-statements",url:"https://eslint.style/rules/js/padding-line-between-statements"}}]}},create(a){const e=a.sourceCode;function n(r,h){const i=e.getTokenBefore(r);return h.includes(i.value)}function o(r){const h=r.parent.type;return r.parent.body?Array.isArray(r.parent.body)?r.parent.body[0]===r:r.parent.body===r:h==="IfStatement"?n(r,["else",")"]):h==="DoWhileStatement"?n(r,["do"]):h==="SwitchCase"?n(r,[":"]):n(r,[")"])}function t(r,h){const i=e.getCommentsBefore(r);let f=0;return i.length&&i.forEach(m=>{f++,m.type==="Block"&&(f+=m.loc.end.line-m.loc.start.line),m.loc.start.line===h&&f--,m.loc.end.line===r.loc.start.line&&f--}),f}function c(r){const h=e.getTokenBefore(r);let i;return h?i=h.loc.end.line:i=0,i}function p(r){const h=r.loc.start.line,i=c(r),f=t(r,i);return h-i-f>1}function u(r){const h=e.getCommentsBefore(r),i=h.at(-1),f=e.getTokenBefore(r);return h.length===0||i.loc.end.line===f.loc.end.line&&i.loc.end.line!==r.loc.start.line}return{ReturnStatement(r){!o(r)&&!p(r)&&a.report({node:r,messageId:"expected",fix(h){if(u(r)){const i=e.getTokenBefore(r),f=r.loc.start.line===i.loc.end.line?`
87
-
88
- `:`
89
- `;return h.insertTextBefore(r,f)}return null}})}}}}),Lo}var Oo,yy;function UA(){if(yy)return Oo;yy=1;const a=Me();return Oo={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"newline-per-chained-call",url:"https://eslint.style/rules/js/newline-per-chained-call"}}]},type:"layout",docs:{description:"Require a newline after each call in a method chain",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.options[0]||{},o=n.ignoreChainWithDepth||2,t=e.sourceCode;function c(u){return u.computed?u.optional?"?.[":"[":u.optional?"?.":"."}function p(u){const r=c(u),h=t.getText(u.property).split(a.LINEBREAK_MATCHER),i=u.computed&&h.length===1?"]":"";return r+h[0]+i}return{"CallExpression:exit"(u){const r=a.skipChainExpression(u.callee);if(r.type!=="MemberExpression")return;let h=a.skipChainExpression(r.object),i=1;for(;h&&h.callee;)i+=1,h=a.skipChainExpression(a.skipChainExpression(h.callee).object);if(i>o&&a.isTokenOnSameLine(r.object,r.property)){const f=t.getTokenAfter(r.object,a.isNotClosingParenToken);e.report({node:r.property,loc:{start:f.loc.start,end:r.loc.end},messageId:"expected",data:{callee:p(r)},fix(m){return m.insertTextBefore(f,`
90
- `)}})}}}}},Oo}var No,vy;function qA(){if(vy)return No;vy=1;const{getStaticPropertyName:a,getVariableByName:e,skipChainExpression:n}=Me();function o(u){return/^(alert|confirm|prompt)$/u.test(u)}function t(u,r){const h=u.references.filter(i=>i.identifier.range[0]===r.range[0]&&i.identifier.range[1]===r.range[1]);return h.length===1?h[0]:null}function c(u,r){const h=t(u,r);return h&&h.resolved&&h.resolved.defs.length>0}function p(u,r){return u.type==="global"&&r.type==="ThisExpression"?!0:r.type==="Identifier"&&(r.name==="window"||r.name==="globalThis"&&e(u,"globalThis"))?!c(u,r):!1}return No={meta:{type:"suggestion",docs:{description:"Disallow the use of `alert`, `confirm`, and `prompt`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-alert"},schema:[],messages:{unexpected:"Unexpected {{name}}."}},create(u){const r=u.sourceCode;return{CallExpression(h){const i=n(h.callee),f=r.getScope(h);if(i.type==="Identifier"){const m=i.name;!c(f,i)&&o(i.name)&&u.report({node:h,messageId:"unexpected",data:{name:m}})}else if(i.type==="MemberExpression"&&p(f,i.object)){const m=a(i);o(m)&&u.report({node:h,messageId:"unexpected",data:{name:m}})}}}}},No}var jo,Ey;function VA(){if(Ey)return jo;Ey=1;const{getVariableByName:a,isClosingParenToken:e,isOpeningParenToken:n,isStartOfExpressionStatement:o,needsPrecedingSemicolon:t}=Me();return jo={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",docs:{description:"Disallow `Array` constructors",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-array-constructor"},fixable:"code",hasSuggestions:!0,schema:[],messages:{preferLiteral:"The array literal notation [] is preferable.",useLiteral:"Replace with an array literal.",useLiteralAfterSemicolon:"Replace with an array literal, add preceding semicolon."}},create(c){const p=c.sourceCode;function u(i){const f=p.getFirstToken(i),m=p.getLastToken(i);let s=p.getLastToken(i.callee);for(;s!==m&&!n(s);)s=p.getTokenAfter(s);return p.commentsExistBetween(f,s)}function r(i){const f=p.getLastToken(i);if(!e(f))return"";let m=i.callee;do if(m=p.getTokenAfter(m),!m||m===f)return"";while(!n(m));return p.text.slice(m.range[1],f.range[0])}function h(i){if(i.callee.type!=="Identifier"||i.callee.name!=="Array"||i.typeArguments||i.arguments.length===1&&i.arguments[0].type!=="SpreadElement")return;const f=a(p.getScope(i),"Array");if(f&&f.identifiers.length===0){const m=r(i);let s,l;const d=i.arguments.reduce((v,S)=>S.type!=="SpreadElement"?v+1:v,0),g=i.optional||i.arguments.length>0&&d<2||u(i);o(i)&&t(p,i)?(s=`;[${m}]`,l="useLiteralAfterSemicolon"):(s=`[${m}]`,l="useLiteral"),c.report({node:i,messageId:"preferLiteral",fix(v){return g?null:v.replaceText(i,s)},suggest:[{messageId:l,fix(v){return g?v.replaceText(i,s):null}}]})}}return{CallExpression:h,NewExpression:h}}},jo}var Mo,Sy;function $A(){return Sy||(Sy=1,Mo={meta:{type:"problem",docs:{description:"Disallow using an async function as a Promise executor",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-async-promise-executor"},fixable:null,schema:[],messages:{async:"Promise executor functions should not be async."}},create(a){return{"NewExpression[callee.name='Promise'][arguments.0.async=true]"(e){a.report({node:a.sourceCode.getFirstToken(e.arguments[0],n=>n.value==="async"),messageId:"async"})}}}}),Mo}var Uo,by;function WA(){if(by)return Uo;by=1;function a(n){const o=n.type;return o==="FunctionDeclaration"||o==="FunctionExpression"||o==="ArrowFunctionExpression"||o==="ForOfStatement"&&n.await===!0}function e(n,o){switch(o.type){case"ForStatement":return n===o.test||n===o.update||n===o.body;case"ForOfStatement":case"ForInStatement":return n===o.body;case"WhileStatement":case"DoWhileStatement":return n===o.test||n===o.body;default:return!1}}return Uo={meta:{type:"problem",docs:{description:"Disallow `await` inside of loops",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-await-in-loop"},schema:[],messages:{unexpectedAwait:"Unexpected `await` inside a loop."}},create(n){function o(t){if(t.type==="ForOfStatement"&&!t.await)return;let c=t,p=c.parent;for(;p&&!a(p);){if(e(c,p)){n.report({node:t,messageId:"unexpectedAwait"});return}c=p,p=p.parent}}return{AwaitExpression:o,ForOfStatement:o}}},Uo}var qo,xy;function GA(){if(xy)return qo;xy=1;const a=["^","|","&","<<",">>",">>>","^=","|=","&=","<<=",">>=",">>>=","~"];return qo={meta:{type:"suggestion",defaultOptions:[{allow:[],int32Hint:!1}],docs:{description:"Disallow bitwise operators",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-bitwise"},schema:[{type:"object",properties:{allow:{type:"array",items:{enum:a},uniqueItems:!0},int32Hint:{type:"boolean"}},additionalProperties:!1}],messages:{unexpected:"Unexpected use of '{{operator}}'."}},create(e){const[{allow:n,int32Hint:o}]=e.options;function t(h){e.report({node:h,messageId:"unexpected",data:{operator:h.operator}})}function c(h){return a.includes(h.operator)}function p(h){return n.includes(h.operator)}function u(h){return o&&h.operator==="|"&&h.right&&h.right.type==="Literal"&&h.right.value===0}function r(h){c(h)&&!p(h)&&!u(h)&&t(h)}return{AssignmentExpression:r,BinaryExpression:r,UnaryExpression:r}}},qo}var Vo,Cy;function zA(){return Cy||(Cy=1,Vo={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:null,replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-deprecated-api",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-deprecated-api.md"}}]},type:"problem",docs:{description:"Disallow use of the `Buffer()` constructor",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-buffer-constructor"},schema:[],messages:{deprecated:"{{expr}} is deprecated. Use Buffer.from(), Buffer.alloc(), or Buffer.allocUnsafe() instead."}},create(a){return{"CallExpression[callee.name='Buffer'], NewExpression[callee.name='Buffer']"(e){a.report({node:e,messageId:"deprecated",data:{expr:e.type==="CallExpression"?"Buffer()":"new Buffer()"}})}}}}),Vo}var $o,wy;function HA(){return wy||(wy=1,$o={meta:{type:"suggestion",docs:{description:"Disallow the use of `arguments.caller` or `arguments.callee`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-caller"},schema:[],messages:{unexpected:"Avoid arguments.{{prop}}."}},create(a){return{MemberExpression(e){const n=e.object.name,o=e.property.name;n==="arguments"&&!e.computed&&o&&o.match(/^calle[er]$/u)&&a.report({node:e,messageId:"unexpected",data:{prop:o}})}}}}),$o}var Wo,Ay;function KA(){return Ay||(Ay=1,Wo={meta:{type:"suggestion",docs:{description:"Disallow lexical declarations in case clauses",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-case-declarations"},hasSuggestions:!0,schema:[],messages:{addBrackets:"Add {} brackets around the case block.",unexpected:"Unexpected lexical declaration in case block."}},create(a){function e(n){switch(n.type){case"FunctionDeclaration":case"ClassDeclaration":return!0;case"VariableDeclaration":return n.kind!=="var";default:return!1}}return{SwitchCase(n){for(let o=0;o<n.consequent.length;o++){const t=n.consequent[o];e(t)&&a.report({node:t,messageId:"unexpected",suggest:[{messageId:"addBrackets",fix:c=>[c.insertTextBefore(n.consequent[0],"{ "),c.insertTextAfter(n.consequent.at(-1)," }")]}]})}}}}}),Wo}var Go,Ty;function XA(){if(Ty)return Go;Ty=1;const a=Me();return Go={meta:{type:"suggestion",docs:{description:"Disallow `catch` clause parameters from shadowing variables in the outer scope",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-catch-shadow"},deprecated:{message:"This rule was renamed.",url:"https://eslint.org/blog/2018/07/eslint-v5.1.0-released/",deprecatedSince:"5.1.0",availableUntil:null,replacedBy:[{rule:{name:"no-shadow",url:"https://eslint.org/docs/rules/no-shadow"}}]},schema:[],messages:{mutable:"Value of '{{name}}' may be overwritten in IE 8 and earlier."}},create(e){const n=e.sourceCode;function o(t,c){return a.getVariableByName(t,c)!==null}return{"CatchClause[param!=null]"(t){let c=n.getScope(t);c.block===t&&(c=c.upper),o(c,t.param.name)&&e.report({node:t,messageId:"mutable",data:{name:t.param.name}})}}}},Go}var zo,ky;function JA(){if(ky)return zo;ky=1;const a=Me();return zo={meta:{type:"problem",docs:{description:"Disallow reassigning class members",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-class-assign"},schema:[],messages:{class:"'{{name}}' is a class."}},create(e){const n=e.sourceCode;function o(c){a.getModifyingReferences(c.references).forEach(p=>{e.report({node:p.identifier,messageId:"class",data:{name:p.identifier.name}})})}function t(c){n.getDeclaredVariables(c).forEach(o)}return{ClassDeclaration:t,ClassExpression:t}}},zo}var Ho,Dy;function YA(){return Dy||(Dy=1,Ho={meta:{type:"problem",docs:{description:"Disallow comparing against `-0`",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-compare-neg-zero"},fixable:null,schema:[],messages:{unexpected:"Do not use the '{{operator}}' operator to compare against -0."}},create(a){function e(o){return o.type==="UnaryExpression"&&o.operator==="-"&&o.argument.type==="Literal"&&o.argument.value===0}const n=new Set([">",">=","<","<=","==","===","!=","!=="]);return{BinaryExpression(o){n.has(o.operator)&&(e(o.left)||e(o.right))&&a.report({node:o,messageId:"unexpected",data:{operator:o.operator}})}}}}),Ho}var Ko,Iy;function QA(){if(Iy)return Ko;Iy=1;const a=Me(),e=new Set(["IfStatement","WhileStatement","DoWhileStatement","ForStatement","ConditionalExpression"]),n={DoWhileStatement:"a 'do...while' statement",ForStatement:"a 'for' statement",IfStatement:"an 'if' statement",WhileStatement:"a 'while' statement"};return Ko={meta:{type:"problem",defaultOptions:["except-parens"],docs:{description:"Disallow assignment operators in conditional expressions",recommended:!0,url:"https://eslint.org/docs/latest/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(o){const[t]=o.options,c=o.sourceCode;function p(f){return f.parent&&e.has(f.parent.type)&&f===f.parent.test}function u(f){let m=f;do if(p(m))return m.parent;while((m=m.parent)&&!a.isFunction(m));return null}function r(f){const m=c.getTokenBefore(f,1),s=c.getTokenAfter(f,1);return a.isParenthesised(c,f)&&m&&a.isOpeningParenToken(m)&&m.range[1]<=f.range[0]&&a.isClosingParenToken(s)&&s.range[0]>=f.range[1]}function h(f){f.test&&f.test.type==="AssignmentExpression"&&(f.type==="ForStatement"?!a.isParenthesised(c,f.test):!r(f.test))&&o.report({node:f.test,messageId:"missing"})}function i(f){const m=u(f);m&&o.report({node:f,messageId:"unexpected",data:{type:n[m.type]||m.type}})}return t==="always"?{AssignmentExpression:i}:{DoWhileStatement:h,ForStatement:h,IfStatement:h,WhileStatement:h,ConditionalExpression:h}}},Ko}var Xo,Py;function ZA(){if(Py)return Xo;Py=1;const a=Me();function e(n){return n&&n.type==="ConditionalExpression"}return Xo={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"no-confusing-arrow",url:"https://eslint.style/rules/js/no-confusing-arrow"}}]},type:"suggestion",docs:{description:"Disallow arrow functions where they could be confused with comparisons",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-confusing-arrow"},fixable:"code",schema:[{type:"object",properties:{allowParens:{type:"boolean",default:!0},onlyOneSimpleParam:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{confusing:"Arrow function used ambiguously with a conditional expression."}},create(n){const o=n.options[0]||{},t=o.allowParens||o.allowParens===void 0,c=o.onlyOneSimpleParam,p=n.sourceCode;function u(r){const h=r.body;e(h)&&!(t&&a.isParenthesised(p,h))&&!(c&&!(r.params.length===1&&r.params[0].type==="Identifier"))&&n.report({node:r,messageId:"confusing",fix(i){return t&&i.replaceText(r.body,`(${p.getText(r.body)})`)}})}return{ArrowFunctionExpression:u}}},Xo}var Jo,Fy;function eT(){if(Fy)return Jo;Fy=1;const a=Me();return Jo={meta:{type:"suggestion",defaultOptions:[{}],docs:{description:"Disallow the use of `console`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-console"},schema:[{type:"object",properties:{allow:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},additionalProperties:!1}],hasSuggestions:!0,messages:{unexpected:"Unexpected console statement.",limited:"Unexpected console statement. Only these console methods are allowed: {{ allowed }}.",removeConsole:"Remove the console.{{ propertyName }}().",removeMethodCall:"Remove the console method call."}},create(e){const[{allow:n=[]}]=e.options,o=e.sourceCode;function t(i){const f=i.identifier;return f&&f.name==="console"}function c(i){const f=a.getStaticPropertyName(i);return f&&n.includes(f)}function p(i){const f=i.identifier,m=f.parent;return m.type==="MemberExpression"&&m.object===f&&!c(m)}function u(i){const f=/^[:;{]$/u,m=/^[-[(/+`]/u,s=o.getTokenBefore(i),l=o.getTokenAfter(i);return!!l&&m.test(l.value)&&l.value!=="++"&&l.value!=="--"&&!!s&&!f.test(s.value)}function r(i){return i.parent.type==="CallExpression"&&i.parent.callee===i&&i.parent.parent.type==="ExpressionStatement"&&a.STATEMENT_LIST_PARENTS.has(i.parent.parent.parent.type)&&!u(i.parent.parent)}function h(i){const f=i.identifier.parent,m=[];if(r(f)){const s={fix(l){return l.remove(f.parent.parent)}};f.computed?s.messageId="removeMethodCall":(s.messageId="removeConsole",s.data={propertyName:f.property.name}),m.push(s)}e.report({node:f,loc:f.loc,messageId:n.length?"limited":"unexpected",data:{allowed:n.join(", ")},suggest:m})}return{"Program:exit"(i){const f=o.getScope(i),m=a.getVariableByName(f,"console"),s=m&&m.defs.length>0,l=m?m.references:f.through.filter(t);s||l.filter(p).forEach(h)}}}},Jo}var Yo,Ry;function tT(){if(Ry)return Yo;Ry=1;const a=Me();return Yo={meta:{type:"problem",docs:{description:"Disallow reassigning `const` variables",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-const-assign"},schema:[],messages:{const:"'{{name}}' is constant."}},create(e){const n=e.sourceCode;function o(t){a.getModifyingReferences(t.references).forEach(c=>{e.report({node:c.identifier,messageId:"const",data:{name:c.identifier.name}})})}return{VariableDeclaration(t){t.kind==="const"&&n.getDeclaredVariables(t).forEach(o)}}}},Yo}var Qo,_y;function rT(){if(_y)return Qo;_y=1;const{isNullLiteral:a,isConstant:e,isReferenceToGlobalVariable:n,isLogicalAssignmentOperator:o,ECMASCRIPT_GLOBALS:t}=Me(),c=new Set(["+","-","*","/","%","|","^","&","**","<<",">>",">>>"]);function p(s,l){return a(l)||l.type==="Identifier"&&l.name==="undefined"&&n(s,l)||l.type==="UnaryExpression"&&l.operator==="void"}function u(s,l,d){if(d&&p(s,l))return!1;switch(l.type){case"ObjectExpression":case"ArrayExpression":case"ArrowFunctionExpression":case"FunctionExpression":case"ClassExpression":case"NewExpression":case"Literal":case"TemplateLiteral":case"UpdateExpression":case"BinaryExpression":return!0;case"CallExpression":{if(l.callee.type!=="Identifier")return!1;const g=l.callee.name;return(g==="Boolean"||g==="String"||g==="Number")&&n(s,l.callee)}case"LogicalExpression":return l.operator==="??"&&u(s,l.right,!0);case"AssignmentExpression":return l.operator==="="?u(s,l.right,d):!o(l.operator);case"UnaryExpression":return!0;case"SequenceExpression":{const g=l.expressions.at(-1);return u(s,g,d)}case"Identifier":return l.name==="undefined"&&n(s,l);case"JSXElement":case"JSXFragment":return!1;default:return!1}}function r(s,l){switch(l.type){case"Literal":return typeof l.value=="boolean";case"CallExpression":return l.callee.type==="Identifier"&&l.callee.name==="Boolean"&&n(s,l.callee)&&(l.arguments.length===0||e(s,l.arguments[0],!0));case"UnaryExpression":return l.operator==="!"&&e(s,l.argument,!0);default:return!1}}function h(s,l){switch(l.type){case"ObjectExpression":case"ClassExpression":return!0;case"ArrayExpression":{const d=l.elements.filter(g=>g!==null&&g.type!=="SpreadElement");return l.elements.length===0||d.length>1}case"ArrowFunctionExpression":case"FunctionExpression":return!0;case"UnaryExpression":return l.operator==="void"||l.operator==="typeof"?!0:l.operator==="!"?e(s,l.argument,!0):!1;case"NewExpression":return!1;case"CallExpression":return l.callee.type==="Identifier"&&l.callee.name==="Boolean"&&n(s,l.callee)?l.arguments.length===0||e(s,l.arguments[0],!0):!1;case"Literal":return!0;case"Identifier":return l.name==="undefined"&&n(s,l);case"TemplateLiteral":return l.expressions.length===0;case"AssignmentExpression":return l.operator==="="?h(s,l.right):!1;case"SequenceExpression":{const d=l.expressions.at(-1);return h(s,d)}case"JSXElement":case"JSXFragment":return!1;default:return!1}}function i(s,l){switch(l.type){case"ObjectExpression":case"ArrayExpression":case"ArrowFunctionExpression":case"FunctionExpression":case"ClassExpression":case"NewExpression":case"TemplateLiteral":case"Literal":case"UpdateExpression":return!0;case"BinaryExpression":return c.has(l.operator);case"UnaryExpression":return l.operator==="delete"?!1:l.operator==="!"?e(s,l.argument,!0):!0;case"SequenceExpression":{const d=l.expressions.at(-1);return i(s,d)}case"Identifier":return l.name==="undefined"&&n(s,l);case"AssignmentExpression":return l.operator==="="?i(s,l.right):!o(l.operator);case"CallExpression":{if(l.callee.type!=="Identifier")return!1;const d=l.callee.name;return(d==="String"||d==="Number")&&n(s,l.callee)?!0:d==="Boolean"&&n(s,l.callee)?l.arguments.length===0||e(s,l.arguments[0],!0):!1}case"JSXElement":case"JSXFragment":return!1;default:return!1}}function f(s,l){switch(l.type){case"ObjectExpression":case"ArrayExpression":case"ArrowFunctionExpression":case"FunctionExpression":case"ClassExpression":return!0;case"NewExpression":return l.callee.type!=="Identifier"?!1:Object.hasOwn(t,l.callee.name)&&n(s,l.callee);case"Literal":return typeof l.regex=="object";case"SequenceExpression":{const d=l.expressions.at(-1);return f(s,d)}case"AssignmentExpression":return l.operator==="="?f(s,l.right):!1;case"ConditionalExpression":return f(s,l.consequent)&&f(s,l.alternate);case"JSXElement":case"JSXFragment":return!1;default:return!1}}function m(s,l,d,g){if(g==="=="||g==="!="){if(p(s,l)&&u(s,d,!1)||r(s,l)&&h(s,d))return d}else if((g==="==="||g==="!==")&&(p(s,l)&&u(s,d,!1)||r(s,l)&&i(s,d)))return d;return null}return Qo={meta:{type:"problem",docs:{description:"Disallow expressions where the operation doesn't affect the value",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-constant-binary-expression"},schema:[],messages:{constantBinaryOperand:"Unexpected constant binary expression. Compares constantly with the {{otherSide}}-hand side of the `{{operator}}`.",constantShortCircuit:"Unexpected constant {{property}} on the left-hand side of a `{{operator}}` expression.",alwaysNew:"Unexpected comparison to newly constructed object. These two values can never be equal.",bothAlwaysNew:"Unexpected comparison of two newly constructed objects. These two values can never be equal."}},create(s){const l=s.sourceCode;return{LogicalExpression(d){const{operator:g,left:v}=d,S=l.getScope(d);(g==="&&"||g==="||")&&e(S,v,!0)?s.report({node:v,messageId:"constantShortCircuit",data:{property:"truthiness",operator:g}}):g==="??"&&u(S,v,!1)&&s.report({node:v,messageId:"constantShortCircuit",data:{property:"nullishness",operator:g}})},BinaryExpression(d){const g=l.getScope(d),{right:v,left:S,operator:b}=d,C=m(g,S,v,b),w=m(g,v,S,b);C?s.report({node:C,messageId:"constantBinaryOperand",data:{operator:b,otherSide:"left"}}):w?s.report({node:w,messageId:"constantBinaryOperand",data:{operator:b,otherSide:"right"}}):b==="==="||b==="!=="?f(g,S)?s.report({node:S,messageId:"alwaysNew"}):f(g,v)&&s.report({node:v,messageId:"alwaysNew"}):(b==="=="||b==="!=")&&f(g,S)&&f(g,v)&&s.report({node:S,messageId:"bothAlwaysNew"})}}}},Qo}var Zo,By;function nT(){if(By)return Zo;By=1;const{isConstant:a}=Me();return Zo={meta:{type:"problem",defaultOptions:[{checkLoops:"allExceptWhileTrue"}],docs:{description:"Disallow constant expressions in conditions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-constant-condition"},schema:[{type:"object",properties:{checkLoops:{enum:["all","allExceptWhileTrue","none",!0,!1]}},additionalProperties:!1}],messages:{unexpected:"Unexpected constant condition."}},create(e){const n=[],o=e.sourceCode;let[{checkLoops:t}]=e.options;t===!0?t="all":t===!1&&(t="none");let c=new Set;function p(m){m.test&&a(o.getScope(m),m.test,!0)&&c.add(m)}function u(m){c.has(m)&&(c.delete(m),e.report({node:m.test,messageId:"unexpected"}))}function r(m){m.test&&a(o.getScope(m),m.test,!0)&&e.report({node:m.test,messageId:"unexpected"})}function h(){n.push(c),c=new Set}function i(){c=n.pop()}function f(m){(t==="all"||t==="allExceptWhileTrue")&&p(m)}return{ConditionalExpression:r,IfStatement:r,WhileStatement(m){m.test.type==="Literal"&&m.test.value===!0&&t==="allExceptWhileTrue"||f(m)},"WhileStatement:exit":u,DoWhileStatement:f,"DoWhileStatement:exit":u,ForStatement:f,"ForStatement > .test":m=>f(m.parent),"ForStatement:exit":u,FunctionDeclaration:h,"FunctionDeclaration:exit":i,FunctionExpression:h,"FunctionExpression:exit":i,YieldExpression:()=>c.clear()}}},Zo}var el,Ly;function sT(){return Ly||(Ly=1,el={meta:{type:"problem",docs:{description:"Disallow returning value from constructor",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-constructor-return"},schema:[],fixable:null,messages:{unexpected:"Unexpected return statement in constructor."}},create(a){const e=[];return{onCodePathStart(n,o){e.push(o)},onCodePathEnd(){e.pop()},ReturnStatement(n){const o=e.at(-1);o.parent&&o.parent.type==="MethodDefinition"&&o.parent.kind==="constructor"&&n.argument&&a.report({node:n,messageId:"unexpected"})}}}}),el}var tl,Oy;function aT(){return Oy||(Oy=1,tl={meta:{type:"suggestion",docs:{description:"Disallow `continue` statements",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-continue"},schema:[],messages:{unexpected:"Unexpected use of continue statement."}},create(a){return{ContinueStatement(e){a.report({node:e,messageId:"unexpected"})}}}}),tl}var cr={},Ny;function fr(){if(Ny)return cr;Ny=1,Object.defineProperty(cr,"__esModule",{value:!0});var a=Object.freeze({__proto__:null});const e=2025;let n,o;function t(Ge){return Ge<65?!1:Ge<91?!0:Ge<97?!1:Ge<123?!0:p(Ge)}function c(Ge){return Ge<48?!1:Ge<58?!0:Ge<65?!1:Ge<91||Ge===95?!0:Ge<97?!1:Ge<123?!0:p(Ge)||u(Ge)}function p(Ge){return i(Ge,n??(n=r()))}function u(Ge){return i(Ge,o??(o=h()))}function r(){return f("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 6 n 2 5 i 15 1n 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 3 0 3 1 v 0 5 7 2 2 2 m 2 9 2 4 4 0 w 1 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 h e i 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 7 1j t e 1 b 17 r z 16 2 b z 3 a 6 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 6c 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 h3g 1w 19 3 7g 4 f b 1 l 1a h u 3 27 14 8 3 2u 3 1u 3 1 2 0 2 7 m f 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 d a 2 e 2 6 2 1 2 a 2 e 2 6 2 1 4 1f d 8m a l b 7 p 5 2 15 2 8 1y 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 13 r a m 6z 15 7 1 h 2 1o s b 0 9 l 17 h 1b k s m d 1g 1m 1 3 0 e 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 k 1 1s 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 v 9 2 0 3 0 2 11 2 0 q 0 2 0 19 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 12 6 56 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 j 20 5k w w 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 g 0 2 c 2 x 3h 0 28 pl 2v 32 i 5f 219 2o g tr i 5 q 32y 6 g6 5a2 t 1cz fs 8 u i 26 i t j 1b h 3 w k 6 i c1 18 5w 1r 3l 22 6 0 1v c 1t 1 2 0 t 4qf 9 yd 16 9 6w8 3 2 6 2 1 2 82 g 0 u 2 3 0 f 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 1f9 u 7 5 7a 1p 43 18 b 6 h 0 8y t j 17 dh r 6d t 3 0 ds 6 2 3 2 1 2 e 2 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 wyn x 37d 7 65 3 4g1 f 5rk g h9 1wj f1 15v 3t6 6 38f")}function h(){return f("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 1o 8 17 n 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 1k 0 2 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 4 0 d 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 6 2 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 3 t 2 u 1 v 1 1t v a 0 3 9 y 2 2 a 40 0 3b b 5 b b 9 3l a 1p 4 1m 9 2 s 3 a 7 9 n d 2 f 1e 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 1r el 1 1e 1 k 0 3g c 5 0 4 b 2db 2 3y 0 2p v ff 5 2y 1 2p 0 n51 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 12 0 ig 0 6b 0 46 4 86 9 120 2 2 1 6 3 15 2 5 0 4m 1 fy 3 9 9 7 9 w 4 8u 1 28 3 1z a 1e 3 3f 2 1i e w a 3 1 b 3 1a a 8 0 1a 9 7 2 11 d 2 9 6 1 19 0 d 2 1d d 9 3 2 b 2b b 7 0 3 0 4e b 6 9 7 3 1k 1 2 6 3 1 3 2 a 0 b 1 3 6 4 4 1w 8 2 0 3 0 2 3 2 4 2 0 f 1 2b h a 9 5 0 2a j d 9 5y 6 3 8 s 1 2b g g 9 2a c 9 9 7 j 1m 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 9j 9 1i 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 a 1 2 0 1d 6 4 4 e a 44m 0 7 e 8uh r 1t3 9 2f 9 13 4 1o 6 q 9 ev 9 d2 0 2 1i 8 3 2a 0 c 1 f58 1 382 9 ef 19 3 m f3 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 2t 0 4h 6 a 9 9x 0 1q d dv d 6t 1 2 9 k6 6 32 6 6 9 3o7 9 gvt3 6n")}function i(Ge,j){let ee=0,fe=j.length/2|0,y=0,T=0,U=0;for(;ee<fe;)if(y=(ee+fe)/2|0,T=j[2*y],U=j[2*y+1],Ge<T)fe=y;else if(Ge>U)ee=y+1;else return!0;return!1}function f(Ge){let j=0;return Ge.split(" ").map(ee=>j+=parseInt(ee,36)|0)}class m{constructor(j,ee,fe,y,T,U,X,pe){this._raw2018=j,this._raw2019=ee,this._raw2020=fe,this._raw2021=y,this._raw2022=T,this._raw2023=U,this._raw2024=X,this._raw2025=pe}get es2018(){var j;return(j=this._set2018)!==null&&j!==void 0?j:this._set2018=new Set(this._raw2018.split(" "))}get es2019(){var j;return(j=this._set2019)!==null&&j!==void 0?j:this._set2019=new Set(this._raw2019.split(" "))}get es2020(){var j;return(j=this._set2020)!==null&&j!==void 0?j:this._set2020=new Set(this._raw2020.split(" "))}get es2021(){var j;return(j=this._set2021)!==null&&j!==void 0?j:this._set2021=new Set(this._raw2021.split(" "))}get es2022(){var j;return(j=this._set2022)!==null&&j!==void 0?j:this._set2022=new Set(this._raw2022.split(" "))}get es2023(){var j;return(j=this._set2023)!==null&&j!==void 0?j:this._set2023=new Set(this._raw2023.split(" "))}get es2024(){var j;return(j=this._set2024)!==null&&j!==void 0?j:this._set2024=new Set(this._raw2024.split(" "))}get es2025(){var j;return(j=this._set2025)!==null&&j!==void 0?j:this._set2025=new Set(this._raw2025.split(" "))}}const s=new Set(["General_Category","gc"]),l=new Set(["Script","Script_Extensions","sc","scx"]),d=new m("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","","","","","","",""),g=new m("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","Cpmn Cypro_Minoan Old_Uyghur Ougr Tangsa Tnsa Toto Vith Vithkuqi","Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz","",""),v=new m("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","","","",""),S=new m("","","","","","","Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji RGI_Emoji_Flag_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence","");function b(Ge,j,ee){return s.has(j)?Ge>=2018&&d.es2018.has(ee):l.has(j)?Ge>=2018&&g.es2018.has(ee)||Ge>=2019&&g.es2019.has(ee)||Ge>=2020&&g.es2020.has(ee)||Ge>=2021&&g.es2021.has(ee)||Ge>=2022&&g.es2022.has(ee)||Ge>=2023&&g.es2023.has(ee):!1}function C(Ge,j){return Ge>=2018&&v.es2018.has(j)||Ge>=2019&&v.es2019.has(j)||Ge>=2021&&v.es2021.has(j)}function w(Ge,j){return Ge>=2024&&S.es2024.has(j)}const E=8,k=9,x=10,A=11,I=12,B=13,M=33,P=35,D=36,R=37,N=38,q=40,L=41,W=42,_=43,H=44,K=45,re=46,te=47,xe=48,Y=49,F=55,z=57,ne=58,ae=59,be=60,Pe=61,Ie=62,ue=63,ve=64,G=65,J=66,Te=68,$=70,se=80,De=83,Le=87,Fe=90,V=95,et=97,nt=98,lt=99,Qe=100,Xe=102,pt=103,tt=105,Dt=107,st=109,Ce=110,ge=112,ye=113,Re=114,We=115,ce=116,de=117,he=118,ke=119,$e=120,Ee=121,O=122,Q=91,ie=92,Z=93,le=94,Ae=96,_e=123,Ve=124,Ye=125,me=126,oe=8204,we=8205,Be=8232,Ne=8233,at=0,qe=1114111;function Je(Ge){return Ge>=G&&Ge<=Fe||Ge>=et&&Ge<=O}function Ze(Ge){return Ge>=xe&&Ge<=z}function Oe(Ge){return Ge>=xe&&Ge<=F}function Ke(Ge){return Ge>=xe&&Ge<=z||Ge>=G&&Ge<=$||Ge>=et&&Ge<=Xe}function it(Ge){return Ge===x||Ge===B||Ge===Be||Ge===Ne}function ht(Ge){return Ge>=at&&Ge<=qe}function ft(Ge){return Ge>=et&&Ge<=Xe?Ge-et+10:Ge>=G&&Ge<=$?Ge-G+10:Ge-xe}function gt(Ge){return Ge>=55296&&Ge<=56319}function yt(Ge){return Ge>=56320&&Ge<=57343}function dt(Ge,j){return(Ge-55296)*1024+(j-56320)+65536}class At{constructor(){this.groupName=new Set}clear(){this.groupName.clear()}isEmpty(){return!this.groupName.size}hasInPattern(j){return this.groupName.has(j)}hasInScope(j){return this.hasInPattern(j)}addToScope(j){this.groupName.add(j)}enterDisjunction(){}enterAlternative(){}leaveDisjunction(){}}class Ft{constructor(j,ee){this.parent=j,this.base=ee??this}separatedFrom(j){var ee,fe;return this.base===j.base&&this!==j||j.parent&&this.separatedFrom(j.parent)?!0:(fe=(ee=this.parent)===null||ee===void 0?void 0:ee.separatedFrom(j))!==null&&fe!==void 0?fe:!1}child(){return new Ft(this,null)}sibling(){return new Ft(this.parent,this.base)}}class Rt{constructor(){this.branchID=new Ft(null,null),this.groupNames=new Map}clear(){this.branchID=new Ft(null,null),this.groupNames.clear()}isEmpty(){return!this.groupNames.size}enterDisjunction(){this.branchID=this.branchID.child()}enterAlternative(j){j!==0&&(this.branchID=this.branchID.sibling())}leaveDisjunction(){this.branchID=this.branchID.parent}hasInPattern(j){return this.groupNames.has(j)}hasInScope(j){const ee=this.groupNames.get(j);if(!ee)return!1;for(const fe of ee)if(!fe.separatedFrom(this.branchID))return!0;return!1}addToScope(j){const ee=this.groupNames.get(j);if(ee){ee.push(this.branchID);return}this.groupNames.set(j,[this.branchID])}}const _t={at(Ge,j,ee){return ee<j?Ge.charCodeAt(ee):-1},width(Ge){return 1}},Ut={at(Ge,j,ee){return ee<j?Ge.codePointAt(ee):-1},width(Ge){return Ge>65535?2:1}};class Vt{constructor(){this._impl=_t,this._s="",this._i=0,this._end=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(j,ee,fe,y){this._impl=y?Ut:_t,this._s=j,this._end=fe,this.rewind(ee)}rewind(j){const ee=this._impl;this._i=j,this._cp1=ee.at(this._s,this._end,j),this._w1=ee.width(this._cp1),this._cp2=ee.at(this._s,this._end,j+this._w1),this._w2=ee.width(this._cp2),this._cp3=ee.at(this._s,this._end,j+this._w1+this._w2),this._w3=ee.width(this._cp3),this._cp4=ee.at(this._s,this._end,j+this._w1+this._w2+this._w3)}advance(){if(this._cp1!==-1){const j=this._impl;this._i+=this._w1,this._cp1=this._cp2,this._w1=this._w2,this._cp2=this._cp3,this._w2=j.width(this._cp2),this._cp3=this._cp4,this._w3=j.width(this._cp3),this._cp4=j.at(this._s,this._end,this._i+this._w1+this._w2+this._w3)}}eat(j){return this._cp1===j?(this.advance(),!0):!1}eat2(j,ee){return this._cp1===j&&this._cp2===ee?(this.advance(),this.advance(),!0):!1}eat3(j,ee,fe){return this._cp1===j&&this._cp2===ee&&this._cp3===fe?(this.advance(),this.advance(),this.advance(),!0):!1}}class ut extends SyntaxError{constructor(j,ee){super(j),this.index=ee}}function Wt(Ge,j,ee,fe){let y="";if(Ge.kind==="literal"){const T=Ge.source.slice(Ge.start,Ge.end);T&&(y=`: ${T}`)}else if(Ge.kind==="pattern"){const T=Ge.source.slice(Ge.start,Ge.end),U=`${j.unicode?"u":""}${j.unicodeSets?"v":""}`;y=`: /${T}/${U}`}return new ut(`Invalid regular expression${y}: ${fe}`,ee)}const Bt=new Set([le,D,ie,re,W,_,ue,q,L,Q,Z,_e,Ye,Ve]),nr=new Set([N,M,P,D,R,W,_,H,re,ne,ae,be,Pe,Ie,ue,ve,le,Ae,me]),Ar=new Set([q,L,Q,Z,_e,Ye,te,K,ie,Ve]),yr=new Set([N,K,M,P,R,H,ne,ae,be,Pe,Ie,ve,Ae,me]),sr={global:pt,ignoreCase:tt,multiline:st,unicode:de,sticky:Ee,dotAll:We,hasIndices:Qe,unicodeSets:he},pr=Object.fromEntries(Object.entries(sr).map(([Ge,j])=>[j,Ge]));function er(Ge){return Bt.has(Ge)}function vr(Ge){return nr.has(Ge)}function Er(Ge){return Ar.has(Ge)}function Gt(Ge){return yr.has(Ge)}function zt(Ge){return t(Ge)||Ge===D||Ge===V}function Or(Ge){return c(Ge)||Ge===D||Ge===oe||Ge===we}function Nr(Ge){return Je(Ge)||Ge===V}function hn(Ge){return Nr(Ge)||Ze(Ge)}function Gr(Ge){return Ge===tt||Ge===st||Ge===We}class jr{constructor(j){this._reader=new Vt,this._unicodeMode=!1,this._unicodeSetsMode=!1,this._nFlag=!1,this._lastIntValue=0,this._lastRange={min:0,max:Number.POSITIVE_INFINITY},this._lastStrValue="",this._lastAssertionIsQuantifiable=!1,this._numCapturingParens=0,this._backreferenceNames=new Set,this._srcCtx=null,this._options=j??{},this._groupSpecifiers=this.ecmaVersion>=2025?new Rt:new At}validateLiteral(j,ee=0,fe=j.length){if(this._srcCtx={source:j,start:ee,end:fe,kind:"literal"},this._unicodeSetsMode=this._unicodeMode=this._nFlag=!1,this.reset(j,ee,fe),this.onLiteralEnter(ee),this.eat(te)&&this.eatRegExpBody()&&this.eat(te)){const y=this.index,T=j.includes("u",y),U=j.includes("v",y);this.validateFlagsInternal(j,y,fe),this.validatePatternInternal(j,ee+1,y-1,{unicode:T,unicodeSets:U})}else if(ee>=fe)this.raise("Empty");else{const y=String.fromCodePoint(this.currentCodePoint);this.raise(`Unexpected character '${y}'`)}this.onLiteralLeave(ee,fe)}validateFlags(j,ee=0,fe=j.length){this._srcCtx={source:j,start:ee,end:fe,kind:"flags"},this.validateFlagsInternal(j,ee,fe)}validatePattern(j,ee=0,fe=j.length,y=void 0){this._srcCtx={source:j,start:ee,end:fe,kind:"pattern"},this.validatePatternInternal(j,ee,fe,y)}validatePatternInternal(j,ee=0,fe=j.length,y=void 0){const T=this._parseFlagsOptionToMode(y,fe);this._unicodeMode=T.unicodeMode,this._nFlag=T.nFlag,this._unicodeSetsMode=T.unicodeSetsMode,this.reset(j,ee,fe),this.consumePattern(),!this._nFlag&&this.ecmaVersion>=2018&&!this._groupSpecifiers.isEmpty()&&(this._nFlag=!0,this.rewind(ee),this.consumePattern())}validateFlagsInternal(j,ee,fe){const y=this.parseFlags(j,ee,fe);this.onRegExpFlags(ee,fe,y)}_parseFlagsOptionToMode(j,ee){let fe=!1,y=!1;j&&this.ecmaVersion>=2015&&(typeof j=="object"?(fe=!!j.unicode,this.ecmaVersion>=2024&&(y=!!j.unicodeSets)):fe=j),fe&&y&&this.raise("Invalid regular expression flags",{index:ee+1,unicode:fe,unicodeSets:y});const T=fe||y,U=fe&&this.ecmaVersion>=2018||y||!!(this._options.strict&&this.ecmaVersion>=2023);return{unicodeMode:T,nFlag:U,unicodeSetsMode:y}}get strict(){return!!this._options.strict||this._unicodeMode}get ecmaVersion(){var j;return(j=this._options.ecmaVersion)!==null&&j!==void 0?j:e}onLiteralEnter(j){this._options.onLiteralEnter&&this._options.onLiteralEnter(j)}onLiteralLeave(j,ee){this._options.onLiteralLeave&&this._options.onLiteralLeave(j,ee)}onRegExpFlags(j,ee,fe){this._options.onRegExpFlags&&this._options.onRegExpFlags(j,ee,fe),this._options.onFlags&&this._options.onFlags(j,ee,fe.global,fe.ignoreCase,fe.multiline,fe.unicode,fe.sticky,fe.dotAll,fe.hasIndices)}onPatternEnter(j){this._options.onPatternEnter&&this._options.onPatternEnter(j)}onPatternLeave(j,ee){this._options.onPatternLeave&&this._options.onPatternLeave(j,ee)}onDisjunctionEnter(j){this._options.onDisjunctionEnter&&this._options.onDisjunctionEnter(j)}onDisjunctionLeave(j,ee){this._options.onDisjunctionLeave&&this._options.onDisjunctionLeave(j,ee)}onAlternativeEnter(j,ee){this._options.onAlternativeEnter&&this._options.onAlternativeEnter(j,ee)}onAlternativeLeave(j,ee,fe){this._options.onAlternativeLeave&&this._options.onAlternativeLeave(j,ee,fe)}onGroupEnter(j){this._options.onGroupEnter&&this._options.onGroupEnter(j)}onGroupLeave(j,ee){this._options.onGroupLeave&&this._options.onGroupLeave(j,ee)}onModifiersEnter(j){this._options.onModifiersEnter&&this._options.onModifiersEnter(j)}onModifiersLeave(j,ee){this._options.onModifiersLeave&&this._options.onModifiersLeave(j,ee)}onAddModifiers(j,ee,fe){this._options.onAddModifiers&&this._options.onAddModifiers(j,ee,fe)}onRemoveModifiers(j,ee,fe){this._options.onRemoveModifiers&&this._options.onRemoveModifiers(j,ee,fe)}onCapturingGroupEnter(j,ee){this._options.onCapturingGroupEnter&&this._options.onCapturingGroupEnter(j,ee)}onCapturingGroupLeave(j,ee,fe){this._options.onCapturingGroupLeave&&this._options.onCapturingGroupLeave(j,ee,fe)}onQuantifier(j,ee,fe,y,T){this._options.onQuantifier&&this._options.onQuantifier(j,ee,fe,y,T)}onLookaroundAssertionEnter(j,ee,fe){this._options.onLookaroundAssertionEnter&&this._options.onLookaroundAssertionEnter(j,ee,fe)}onLookaroundAssertionLeave(j,ee,fe,y){this._options.onLookaroundAssertionLeave&&this._options.onLookaroundAssertionLeave(j,ee,fe,y)}onEdgeAssertion(j,ee,fe){this._options.onEdgeAssertion&&this._options.onEdgeAssertion(j,ee,fe)}onWordBoundaryAssertion(j,ee,fe,y){this._options.onWordBoundaryAssertion&&this._options.onWordBoundaryAssertion(j,ee,fe,y)}onAnyCharacterSet(j,ee,fe){this._options.onAnyCharacterSet&&this._options.onAnyCharacterSet(j,ee,fe)}onEscapeCharacterSet(j,ee,fe,y){this._options.onEscapeCharacterSet&&this._options.onEscapeCharacterSet(j,ee,fe,y)}onUnicodePropertyCharacterSet(j,ee,fe,y,T,U,X){this._options.onUnicodePropertyCharacterSet&&this._options.onUnicodePropertyCharacterSet(j,ee,fe,y,T,U,X)}onCharacter(j,ee,fe){this._options.onCharacter&&this._options.onCharacter(j,ee,fe)}onBackreference(j,ee,fe){this._options.onBackreference&&this._options.onBackreference(j,ee,fe)}onCharacterClassEnter(j,ee,fe){this._options.onCharacterClassEnter&&this._options.onCharacterClassEnter(j,ee,fe)}onCharacterClassLeave(j,ee,fe){this._options.onCharacterClassLeave&&this._options.onCharacterClassLeave(j,ee,fe)}onCharacterClassRange(j,ee,fe,y){this._options.onCharacterClassRange&&this._options.onCharacterClassRange(j,ee,fe,y)}onClassIntersection(j,ee){this._options.onClassIntersection&&this._options.onClassIntersection(j,ee)}onClassSubtraction(j,ee){this._options.onClassSubtraction&&this._options.onClassSubtraction(j,ee)}onClassStringDisjunctionEnter(j){this._options.onClassStringDisjunctionEnter&&this._options.onClassStringDisjunctionEnter(j)}onClassStringDisjunctionLeave(j,ee){this._options.onClassStringDisjunctionLeave&&this._options.onClassStringDisjunctionLeave(j,ee)}onStringAlternativeEnter(j,ee){this._options.onStringAlternativeEnter&&this._options.onStringAlternativeEnter(j,ee)}onStringAlternativeLeave(j,ee,fe){this._options.onStringAlternativeLeave&&this._options.onStringAlternativeLeave(j,ee,fe)}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(j,ee,fe){this._reader.reset(j,ee,fe,this._unicodeMode)}rewind(j){this._reader.rewind(j)}advance(){this._reader.advance()}eat(j){return this._reader.eat(j)}eat2(j,ee){return this._reader.eat2(j,ee)}eat3(j,ee,fe){return this._reader.eat3(j,ee,fe)}raise(j,ee){var fe,y,T;throw Wt(this._srcCtx,{unicode:(fe=ee==null?void 0:ee.unicode)!==null&&fe!==void 0?fe:this._unicodeMode&&!this._unicodeSetsMode,unicodeSets:(y=ee==null?void 0:ee.unicodeSets)!==null&&y!==void 0?y:this._unicodeSetsMode},(T=ee==null?void 0:ee.index)!==null&&T!==void 0?T:this.index,j)}eatRegExpBody(){const j=this.index;let ee=!1,fe=!1;for(;;){const y=this.currentCodePoint;if(y===-1||it(y)){const T=ee?"character class":"regular expression";this.raise(`Unterminated ${T}`)}if(fe)fe=!1;else if(y===ie)fe=!0;else if(y===Q)ee=!0;else if(y===Z)ee=!1;else if(y===te&&!ee||y===W&&this.index===j)break;this.advance()}return this.index!==j}consumePattern(){const j=this.index;this._numCapturingParens=this.countCapturingParens(),this._groupSpecifiers.clear(),this._backreferenceNames.clear(),this.onPatternEnter(j),this.consumeDisjunction();const ee=this.currentCodePoint;if(this.currentCodePoint!==-1){ee===L&&this.raise("Unmatched ')'"),ee===ie&&this.raise("\\ at end of pattern"),(ee===Z||ee===Ye)&&this.raise("Lone quantifier brackets");const fe=String.fromCodePoint(ee);this.raise(`Unexpected character '${fe}'`)}for(const fe of this._backreferenceNames)this._groupSpecifiers.hasInPattern(fe)||this.raise("Invalid named capture referenced");this.onPatternLeave(j,this.index)}countCapturingParens(){const j=this.index;let ee=!1,fe=!1,y=0,T=0;for(;(T=this.currentCodePoint)!==-1;)fe?fe=!1:T===ie?fe=!0:T===Q?ee=!0:T===Z?ee=!1:T===q&&!ee&&(this.nextCodePoint!==ue||this.nextCodePoint2===be&&this.nextCodePoint3!==Pe&&this.nextCodePoint3!==M)&&(y+=1),this.advance();return this.rewind(j),y}consumeDisjunction(){const j=this.index;let ee=0;this._groupSpecifiers.enterDisjunction(),this.onDisjunctionEnter(j);do this.consumeAlternative(ee++);while(this.eat(Ve));this.consumeQuantifier(!0)&&this.raise("Nothing to repeat"),this.eat(_e)&&this.raise("Lone quantifier brackets"),this.onDisjunctionLeave(j,this.index),this._groupSpecifiers.leaveDisjunction()}consumeAlternative(j){const ee=this.index;for(this._groupSpecifiers.enterAlternative(j),this.onAlternativeEnter(ee,j);this.currentCodePoint!==-1&&this.consumeTerm(););this.onAlternativeLeave(ee,this.index,j)}consumeTerm(){return this._unicodeMode||this.strict?this.consumeAssertion()||this.consumeAtom()&&this.consumeOptionalQuantifier():this.consumeAssertion()&&(!this._lastAssertionIsQuantifiable||this.consumeOptionalQuantifier())||this.consumeExtendedAtom()&&this.consumeOptionalQuantifier()}consumeOptionalQuantifier(){return this.consumeQuantifier(),!0}consumeAssertion(){const j=this.index;if(this._lastAssertionIsQuantifiable=!1,this.eat(le))return this.onEdgeAssertion(j,this.index,"start"),!0;if(this.eat(D))return this.onEdgeAssertion(j,this.index,"end"),!0;if(this.eat2(ie,J))return this.onWordBoundaryAssertion(j,this.index,"word",!0),!0;if(this.eat2(ie,nt))return this.onWordBoundaryAssertion(j,this.index,"word",!1),!0;if(this.eat2(q,ue)){const ee=this.ecmaVersion>=2018&&this.eat(be);let fe=!1;if(this.eat(Pe)||(fe=this.eat(M))){const y=ee?"lookbehind":"lookahead";return this.onLookaroundAssertionEnter(j,y,fe),this.consumeDisjunction(),this.eat(L)||this.raise("Unterminated group"),this._lastAssertionIsQuantifiable=!ee&&!this.strict,this.onLookaroundAssertionLeave(j,this.index,y,fe),!0}this.rewind(j)}return!1}consumeQuantifier(j=!1){const ee=this.index;let fe=0,y=0,T=!1;if(this.eat(W))fe=0,y=Number.POSITIVE_INFINITY;else if(this.eat(_))fe=1,y=Number.POSITIVE_INFINITY;else if(this.eat(ue))fe=0,y=1;else if(this.eatBracedQuantifier(j))({min:fe,max:y}=this._lastRange);else return!1;return T=!this.eat(ue),j||this.onQuantifier(ee,this.index,fe,y,T),!0}eatBracedQuantifier(j){const ee=this.index;if(this.eat(_e)){if(this.eatDecimalDigits()){const fe=this._lastIntValue;let y=fe;if(this.eat(H)&&(y=this.eatDecimalDigits()?this._lastIntValue:Number.POSITIVE_INFINITY),this.eat(Ye))return!j&&y<fe&&this.raise("numbers out of order in {} quantifier"),this._lastRange={min:fe,max:y},!0}!j&&(this._unicodeMode||this.strict)&&this.raise("Incomplete quantifier"),this.rewind(ee)}return!1}consumeAtom(){return this.consumePatternCharacter()||this.consumeDot()||this.consumeReverseSolidusAtomEscape()||!!this.consumeCharacterClass()||this.consumeCapturingGroup()||this.consumeUncapturingGroup()}consumeDot(){return this.eat(re)?(this.onAnyCharacterSet(this.index-1,this.index,"any"),!0):!1}consumeReverseSolidusAtomEscape(){const j=this.index;if(this.eat(ie)){if(this.consumeAtomEscape())return!0;this.rewind(j)}return!1}consumeUncapturingGroup(){const j=this.index;return this.eat2(q,ue)?(this.onGroupEnter(j),this.ecmaVersion>=2025&&this.consumeModifiers(),this.eat(ne)||(this.rewind(j+1),this.raise("Invalid group")),this.consumeDisjunction(),this.eat(L)||this.raise("Unterminated group"),this.onGroupLeave(j,this.index),!0):!1}consumeModifiers(){const j=this.index,ee=this.eatModifiers(),fe=this.index,y=this.eat(K);if(!ee&&!y)return!1;this.onModifiersEnter(j);const T=this.parseModifiers(j,fe);if(this.onAddModifiers(j,fe,T),y){const U=this.index;!this.eatModifiers()&&!ee&&this.currentCodePoint===ne&&this.raise("Invalid empty flags");const X=this.parseModifiers(U,this.index);for(const[pe]of Object.entries(X).filter(([,Ue])=>Ue))T[pe]&&this.raise(`Duplicated flag '${String.fromCodePoint(sr[pe])}'`);this.onRemoveModifiers(U,this.index,X)}return this.onModifiersLeave(j,this.index),!0}consumeCapturingGroup(){const j=this.index;if(this.eat(q)){let ee=null;if(this.ecmaVersion>=2018){if(this.consumeGroupSpecifier())ee=this._lastStrValue;else if(this.currentCodePoint===ue)return this.rewind(j),!1}else if(this.currentCodePoint===ue)return this.rewind(j),!1;return this.onCapturingGroupEnter(j,ee),this.consumeDisjunction(),this.eat(L)||this.raise("Unterminated group"),this.onCapturingGroupLeave(j,this.index,ee),!0}return!1}consumeExtendedAtom(){return this.consumeDot()||this.consumeReverseSolidusAtomEscape()||this.consumeReverseSolidusFollowedByC()||!!this.consumeCharacterClass()||this.consumeCapturingGroup()||this.consumeUncapturingGroup()||this.consumeInvalidBracedQuantifier()||this.consumeExtendedPatternCharacter()}consumeReverseSolidusFollowedByC(){const j=this.index;return this.currentCodePoint===ie&&this.nextCodePoint===lt?(this._lastIntValue=this.currentCodePoint,this.advance(),this.onCharacter(j,this.index,ie),!0):!1}consumeInvalidBracedQuantifier(){return this.eatBracedQuantifier(!0)&&this.raise("Nothing to repeat"),!1}consumePatternCharacter(){const j=this.index,ee=this.currentCodePoint;return ee!==-1&&!er(ee)?(this.advance(),this.onCharacter(j,this.index,ee),!0):!1}consumeExtendedPatternCharacter(){const j=this.index,ee=this.currentCodePoint;return ee!==-1&&ee!==le&&ee!==D&&ee!==ie&&ee!==re&&ee!==W&&ee!==_&&ee!==ue&&ee!==q&&ee!==L&&ee!==Q&&ee!==Ve?(this.advance(),this.onCharacter(j,this.index,ee),!0):!1}consumeGroupSpecifier(){const j=this.index;if(this.eat(ue)){if(this.eatGroupName()){if(!this._groupSpecifiers.hasInScope(this._lastStrValue))return this._groupSpecifiers.addToScope(this._lastStrValue),!0;this.raise("Duplicate capture group name")}this.rewind(j)}return!1}consumeAtomEscape(){return this.consumeBackreference()||this.consumeCharacterClassEscape()||this.consumeCharacterEscape()||this._nFlag&&this.consumeKGroupName()?!0:((this.strict||this._unicodeMode)&&this.raise("Invalid escape"),!1)}consumeBackreference(){const j=this.index;if(this.eatDecimalEscape()){const ee=this._lastIntValue;if(ee<=this._numCapturingParens)return this.onBackreference(j-1,this.index,ee),!0;(this.strict||this._unicodeMode)&&this.raise("Invalid escape"),this.rewind(j)}return!1}consumeCharacterClassEscape(){var j;const ee=this.index;if(this.eat(Qe))return this._lastIntValue=-1,this.onEscapeCharacterSet(ee-1,this.index,"digit",!1),{};if(this.eat(Te))return this._lastIntValue=-1,this.onEscapeCharacterSet(ee-1,this.index,"digit",!0),{};if(this.eat(We))return this._lastIntValue=-1,this.onEscapeCharacterSet(ee-1,this.index,"space",!1),{};if(this.eat(De))return this._lastIntValue=-1,this.onEscapeCharacterSet(ee-1,this.index,"space",!0),{};if(this.eat(ke))return this._lastIntValue=-1,this.onEscapeCharacterSet(ee-1,this.index,"word",!1),{};if(this.eat(Le))return this._lastIntValue=-1,this.onEscapeCharacterSet(ee-1,this.index,"word",!0),{};let fe=!1;if(this._unicodeMode&&this.ecmaVersion>=2018&&(this.eat(ge)||(fe=this.eat(se)))){this._lastIntValue=-1;let y=null;if(this.eat(_e)&&(y=this.eatUnicodePropertyValueExpression())&&this.eat(Ye))return fe&&y.strings&&this.raise("Invalid property name"),this.onUnicodePropertyCharacterSet(ee-1,this.index,"property",y.key,y.value,fe,(j=y.strings)!==null&&j!==void 0?j:!1),{mayContainStrings:y.strings};this.raise("Invalid property name")}return null}consumeCharacterEscape(){const j=this.index;return this.eatControlEscape()||this.eatCControlLetter()||this.eatZero()||this.eatHexEscapeSequence()||this.eatRegExpUnicodeEscapeSequence()||!this.strict&&!this._unicodeMode&&this.eatLegacyOctalEscapeSequence()||this.eatIdentityEscape()?(this.onCharacter(j-1,this.index,this._lastIntValue),!0):!1}consumeKGroupName(){const j=this.index;if(this.eat(Dt)){if(this.eatGroupName()){const ee=this._lastStrValue;return this._backreferenceNames.add(ee),this.onBackreference(j-1,this.index,ee),!0}this.raise("Invalid named reference")}return!1}consumeCharacterClass(){const j=this.index;if(this.eat(Q)){const ee=this.eat(le);this.onCharacterClassEnter(j,ee,this._unicodeSetsMode);const fe=this.consumeClassContents();return this.eat(Z)||(this.currentCodePoint===-1&&this.raise("Unterminated character class"),this.raise("Invalid character in character class")),ee&&fe.mayContainStrings&&this.raise("Negated character class may contain strings"),this.onCharacterClassLeave(j,this.index,ee),fe}return null}consumeClassContents(){if(this._unicodeSetsMode)return this.currentCodePoint===Z?{}:this.consumeClassSetExpression();const j=this.strict||this._unicodeMode;for(;;){const ee=this.index;if(!this.consumeClassAtom())break;const fe=this._lastIntValue;if(!this.eat(K))continue;if(this.onCharacter(this.index-1,this.index,K),!this.consumeClassAtom())break;const y=this._lastIntValue;if(fe===-1||y===-1){j&&this.raise("Invalid character class");continue}fe>y&&this.raise("Range out of order in character class"),this.onCharacterClassRange(ee,this.index,fe,y)}return{}}consumeClassAtom(){const j=this.index,ee=this.currentCodePoint;if(ee!==-1&&ee!==ie&&ee!==Z)return this.advance(),this._lastIntValue=ee,this.onCharacter(j,this.index,this._lastIntValue),!0;if(this.eat(ie)){if(this.consumeClassEscape())return!0;if(!this.strict&&this.currentCodePoint===lt)return this._lastIntValue=ie,this.onCharacter(j,this.index,this._lastIntValue),!0;(this.strict||this._unicodeMode)&&this.raise("Invalid escape"),this.rewind(j)}return!1}consumeClassEscape(){const j=this.index;if(this.eat(nt))return this._lastIntValue=E,this.onCharacter(j-1,this.index,this._lastIntValue),!0;if(this._unicodeMode&&this.eat(K))return this._lastIntValue=K,this.onCharacter(j-1,this.index,this._lastIntValue),!0;let ee=0;return!this.strict&&!this._unicodeMode&&this.currentCodePoint===lt&&(Ze(ee=this.nextCodePoint)||ee===V)?(this.advance(),this.advance(),this._lastIntValue=ee%32,this.onCharacter(j-1,this.index,this._lastIntValue),!0):!!this.consumeCharacterClassEscape()||this.consumeCharacterEscape()}consumeClassSetExpression(){const j=this.index;let ee=!1,fe=null;if(this.consumeClassSetCharacter()){if(this.consumeClassSetRangeFromOperator(j))return this.consumeClassUnionRight({}),{};ee=!1}else if(fe=this.consumeClassSetOperand())ee=fe.mayContainStrings;else{const y=this.currentCodePoint;y===ie&&(this.advance(),this.raise("Invalid escape")),y===this.nextCodePoint&&vr(y)&&this.raise("Invalid set operation in character class"),this.raise("Invalid character in character class")}if(this.eat2(N,N)){for(;this.currentCodePoint!==N&&(fe=this.consumeClassSetOperand());)if(this.onClassIntersection(j,this.index),fe.mayContainStrings||(ee=!1),!this.eat2(N,N))return{mayContainStrings:ee};this.raise("Invalid character in character class")}if(this.eat2(K,K)){for(;this.consumeClassSetOperand();)if(this.onClassSubtraction(j,this.index),!this.eat2(K,K))return{mayContainStrings:ee};this.raise("Invalid character in character class")}return this.consumeClassUnionRight({mayContainStrings:ee})}consumeClassUnionRight(j){let ee=j.mayContainStrings;for(;;){const fe=this.index;if(this.consumeClassSetCharacter()){this.consumeClassSetRangeFromOperator(fe);continue}const y=this.consumeClassSetOperand();if(y){y.mayContainStrings&&(ee=!0);continue}break}return{mayContainStrings:ee}}consumeClassSetRangeFromOperator(j){const ee=this.index,fe=this._lastIntValue;if(this.eat(K)){if(this.consumeClassSetCharacter()){const y=this._lastIntValue;return(fe===-1||y===-1)&&this.raise("Invalid character class"),fe>y&&this.raise("Range out of order in character class"),this.onCharacterClassRange(j,this.index,fe,y),!0}this.rewind(ee)}return!1}consumeClassSetOperand(){let j=null;return(j=this.consumeNestedClass())||(j=this.consumeClassStringDisjunction())?j:this.consumeClassSetCharacter()?{}:null}consumeNestedClass(){const j=this.index;if(this.eat(Q)){const ee=this.eat(le);this.onCharacterClassEnter(j,ee,!0);const fe=this.consumeClassContents();return this.eat(Z)||this.raise("Unterminated character class"),ee&&fe.mayContainStrings&&this.raise("Negated character class may contain strings"),this.onCharacterClassLeave(j,this.index,ee),fe}if(this.eat(ie)){const ee=this.consumeCharacterClassEscape();if(ee)return ee;this.rewind(j)}return null}consumeClassStringDisjunction(){const j=this.index;if(this.eat3(ie,ye,_e)){this.onClassStringDisjunctionEnter(j);let ee=0,fe=!1;do this.consumeClassString(ee++).mayContainStrings&&(fe=!0);while(this.eat(Ve));if(this.eat(Ye))return this.onClassStringDisjunctionLeave(j,this.index),{mayContainStrings:fe};this.raise("Unterminated class string disjunction")}return null}consumeClassString(j){const ee=this.index;let fe=0;for(this.onStringAlternativeEnter(ee,j);this.currentCodePoint!==-1&&this.consumeClassSetCharacter();)fe++;return this.onStringAlternativeLeave(ee,this.index,j),{mayContainStrings:fe!==1}}consumeClassSetCharacter(){const j=this.index,ee=this.currentCodePoint;if((ee!==this.nextCodePoint||!vr(ee))&&ee!==-1&&!Er(ee))return this._lastIntValue=ee,this.advance(),this.onCharacter(j,this.index,this._lastIntValue),!0;if(this.eat(ie)){if(this.consumeCharacterEscape())return!0;if(Gt(this.currentCodePoint))return this._lastIntValue=this.currentCodePoint,this.advance(),this.onCharacter(j,this.index,this._lastIntValue),!0;if(this.eat(nt))return this._lastIntValue=E,this.onCharacter(j,this.index,this._lastIntValue),!0;this.rewind(j)}return!1}eatGroupName(){if(this.eat(be)){if(this.eatRegExpIdentifierName()&&this.eat(Ie))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 j=this.index,ee=!this._unicodeMode&&this.ecmaVersion>=2020;let fe=this.currentCodePoint;return this.advance(),fe===ie&&this.eatRegExpUnicodeEscapeSequence(ee)?fe=this._lastIntValue:ee&&gt(fe)&&yt(this.currentCodePoint)&&(fe=dt(fe,this.currentCodePoint),this.advance()),zt(fe)?(this._lastIntValue=fe,!0):(this.index!==j&&this.rewind(j),!1)}eatRegExpIdentifierPart(){const j=this.index,ee=!this._unicodeMode&&this.ecmaVersion>=2020;let fe=this.currentCodePoint;return this.advance(),fe===ie&&this.eatRegExpUnicodeEscapeSequence(ee)?fe=this._lastIntValue:ee&&gt(fe)&&yt(this.currentCodePoint)&&(fe=dt(fe,this.currentCodePoint),this.advance()),Or(fe)?(this._lastIntValue=fe,!0):(this.index!==j&&this.rewind(j),!1)}eatCControlLetter(){const j=this.index;if(this.eat(lt)){if(this.eatControlLetter())return!0;this.rewind(j)}return!1}eatZero(){return this.currentCodePoint===xe&&!Ze(this.nextCodePoint)?(this._lastIntValue=0,this.advance(),!0):!1}eatControlEscape(){return this.eat(Xe)?(this._lastIntValue=I,!0):this.eat(Ce)?(this._lastIntValue=x,!0):this.eat(Re)?(this._lastIntValue=B,!0):this.eat(ce)?(this._lastIntValue=k,!0):this.eat(he)?(this._lastIntValue=A,!0):!1}eatControlLetter(){const j=this.currentCodePoint;return Je(j)?(this.advance(),this._lastIntValue=j%32,!0):!1}eatRegExpUnicodeEscapeSequence(j=!1){const ee=this.index,fe=j||this._unicodeMode;if(this.eat(de)){if(fe&&this.eatRegExpUnicodeSurrogatePairEscape()||this.eatFixedHexDigits(4)||fe&&this.eatRegExpUnicodeCodePointEscape())return!0;(this.strict||fe)&&this.raise("Invalid unicode escape"),this.rewind(ee)}return!1}eatRegExpUnicodeSurrogatePairEscape(){const j=this.index;if(this.eatFixedHexDigits(4)){const ee=this._lastIntValue;if(gt(ee)&&this.eat(ie)&&this.eat(de)&&this.eatFixedHexDigits(4)){const fe=this._lastIntValue;if(yt(fe))return this._lastIntValue=dt(ee,fe),!0}this.rewind(j)}return!1}eatRegExpUnicodeCodePointEscape(){const j=this.index;return this.eat(_e)&&this.eatHexDigits()&&this.eat(Ye)&&ht(this._lastIntValue)?!0:(this.rewind(j),!1)}eatIdentityEscape(){const j=this.currentCodePoint;return this.isValidIdentityEscape(j)?(this._lastIntValue=j,this.advance(),!0):!1}isValidIdentityEscape(j){return j===-1?!1:this._unicodeMode?er(j)||j===te:this.strict?!c(j):this._nFlag?!(j===lt||j===Dt):j!==lt}eatDecimalEscape(){this._lastIntValue=0;let j=this.currentCodePoint;if(j>=Y&&j<=z){do this._lastIntValue=10*this._lastIntValue+(j-xe),this.advance();while((j=this.currentCodePoint)>=xe&&j<=z);return!0}return!1}eatUnicodePropertyValueExpression(){const j=this.index;if(this.eatUnicodePropertyName()&&this.eat(Pe)){const ee=this._lastStrValue;if(this.eatUnicodePropertyValue()){const fe=this._lastStrValue;if(b(this.ecmaVersion,ee,fe))return{key:ee,value:fe||null};this.raise("Invalid property name")}}if(this.rewind(j),this.eatLoneUnicodePropertyNameOrValue()){const ee=this._lastStrValue;if(b(this.ecmaVersion,"General_Category",ee))return{key:"General_Category",value:ee||null};if(C(this.ecmaVersion,ee))return{key:ee,value:null};if(this._unicodeSetsMode&&w(this.ecmaVersion,ee))return{key:ee,value:null,strings:!0};this.raise("Invalid property name")}return null}eatUnicodePropertyName(){for(this._lastStrValue="";Nr(this.currentCodePoint);)this._lastStrValue+=String.fromCodePoint(this.currentCodePoint),this.advance();return this._lastStrValue!==""}eatUnicodePropertyValue(){for(this._lastStrValue="";hn(this.currentCodePoint);)this._lastStrValue+=String.fromCodePoint(this.currentCodePoint),this.advance();return this._lastStrValue!==""}eatLoneUnicodePropertyNameOrValue(){return this.eatUnicodePropertyValue()}eatHexEscapeSequence(){const j=this.index;if(this.eat($e)){if(this.eatFixedHexDigits(2))return!0;(this._unicodeMode||this.strict)&&this.raise("Invalid escape"),this.rewind(j)}return!1}eatDecimalDigits(){const j=this.index;for(this._lastIntValue=0;Ze(this.currentCodePoint);)this._lastIntValue=10*this._lastIntValue+ft(this.currentCodePoint),this.advance();return this.index!==j}eatHexDigits(){const j=this.index;for(this._lastIntValue=0;Ke(this.currentCodePoint);)this._lastIntValue=16*this._lastIntValue+ft(this.currentCodePoint),this.advance();return this.index!==j}eatLegacyOctalEscapeSequence(){if(this.eatOctalDigit()){const j=this._lastIntValue;if(this.eatOctalDigit()){const ee=this._lastIntValue;j<=3&&this.eatOctalDigit()?this._lastIntValue=j*64+ee*8+this._lastIntValue:this._lastIntValue=j*8+ee}else this._lastIntValue=j;return!0}return!1}eatOctalDigit(){const j=this.currentCodePoint;return Oe(j)?(this.advance(),this._lastIntValue=j-xe,!0):(this._lastIntValue=0,!1)}eatFixedHexDigits(j){const ee=this.index;this._lastIntValue=0;for(let fe=0;fe<j;++fe){const y=this.currentCodePoint;if(!Ke(y))return this.rewind(ee),!1;this._lastIntValue=16*this._lastIntValue+ft(y),this.advance()}return!0}eatModifiers(){let j=!1;for(;Gr(this.currentCodePoint);)this.advance(),j=!0;return j}parseModifiers(j,ee){const{ignoreCase:fe,multiline:y,dotAll:T}=this.parseFlags(this._reader.source,j,ee);return{ignoreCase:fe,multiline:y,dotAll:T}}parseFlags(j,ee,fe){const y={global:!1,ignoreCase:!1,multiline:!1,unicode:!1,sticky:!1,dotAll:!1,hasIndices:!1,unicodeSets:!1},T=new Set;T.add(pt),T.add(tt),T.add(st),this.ecmaVersion>=2015&&(T.add(de),T.add(Ee),this.ecmaVersion>=2018&&(T.add(We),this.ecmaVersion>=2022&&(T.add(Qe),this.ecmaVersion>=2024&&T.add(he))));for(let U=ee;U<fe;++U){const X=j.charCodeAt(U);if(T.has(X)){const pe=pr[X];y[pe]&&this.raise(`Duplicated flag '${j[U]}'`,{index:ee}),y[pe]=!0}else this.raise(`Invalid flag '${j[U]}'`,{index:ee})}return y}}const dn={},Tr={},Mr={};function Sr(Ge){return Ge.type==="Character"||Ge.type==="CharacterSet"||Ge.type==="CharacterClass"||Ge.type==="ExpressionCharacterClass"||Ge.type==="ClassStringDisjunction"}class zr{constructor(j){var ee;this._node=dn,this._expressionBufferMap=new Map,this._flags=Tr,this._backreferences=[],this._capturingGroups=[],this.source="",this.strict=!!(j!=null&&j.strict),this.ecmaVersion=(ee=j==null?void 0:j.ecmaVersion)!==null&&ee!==void 0?ee:e}get pattern(){if(this._node.type!=="Pattern")throw new Error("UnknownError");return this._node}get flags(){if(this._flags.type!=="Flags")throw new Error("UnknownError");return this._flags}onRegExpFlags(j,ee,{global:fe,ignoreCase:y,multiline:T,unicode:U,sticky:X,dotAll:pe,hasIndices:Ue,unicodeSets:ze}){this._flags={type:"Flags",parent:null,start:j,end:ee,raw:this.source.slice(j,ee),global:fe,ignoreCase:y,multiline:T,unicode:U,sticky:X,dotAll:pe,hasIndices:Ue,unicodeSets:ze}}onPatternEnter(j){this._node={type:"Pattern",parent:null,start:j,end:j,raw:"",alternatives:[]},this._backreferences.length=0,this._capturingGroups.length=0}onPatternLeave(j,ee){this._node.end=ee,this._node.raw=this.source.slice(j,ee);for(const fe of this._backreferences){const y=fe.ref,T=typeof y=="number"?[this._capturingGroups[y-1]]:this._capturingGroups.filter(U=>U.name===y);if(T.length===1){const U=T[0];fe.ambiguous=!1,fe.resolved=U}else fe.ambiguous=!0,fe.resolved=T;for(const U of T)U.references.push(fe)}}onAlternativeEnter(j){const ee=this._node;if(ee.type!=="Assertion"&&ee.type!=="CapturingGroup"&&ee.type!=="Group"&&ee.type!=="Pattern")throw new Error("UnknownError");this._node={type:"Alternative",parent:ee,start:j,end:j,raw:"",elements:[]},ee.alternatives.push(this._node)}onAlternativeLeave(j,ee){const fe=this._node;if(fe.type!=="Alternative")throw new Error("UnknownError");fe.end=ee,fe.raw=this.source.slice(j,ee),this._node=fe.parent}onGroupEnter(j){const ee=this._node;if(ee.type!=="Alternative")throw new Error("UnknownError");const fe={type:"Group",parent:ee,start:j,end:j,raw:"",modifiers:null,alternatives:[]};this._node=fe,ee.elements.push(this._node)}onGroupLeave(j,ee){const fe=this._node;if(fe.type!=="Group"||fe.parent.type!=="Alternative")throw new Error("UnknownError");fe.end=ee,fe.raw=this.source.slice(j,ee),this._node=fe.parent}onModifiersEnter(j){const ee=this._node;if(ee.type!=="Group")throw new Error("UnknownError");this._node={type:"Modifiers",parent:ee,start:j,end:j,raw:"",add:null,remove:null},ee.modifiers=this._node}onModifiersLeave(j,ee){const fe=this._node;if(fe.type!=="Modifiers"||fe.parent.type!=="Group")throw new Error("UnknownError");fe.end=ee,fe.raw=this.source.slice(j,ee),this._node=fe.parent}onAddModifiers(j,ee,{ignoreCase:fe,multiline:y,dotAll:T}){const U=this._node;if(U.type!=="Modifiers")throw new Error("UnknownError");U.add={type:"ModifierFlags",parent:U,start:j,end:ee,raw:this.source.slice(j,ee),ignoreCase:fe,multiline:y,dotAll:T}}onRemoveModifiers(j,ee,{ignoreCase:fe,multiline:y,dotAll:T}){const U=this._node;if(U.type!=="Modifiers")throw new Error("UnknownError");U.remove={type:"ModifierFlags",parent:U,start:j,end:ee,raw:this.source.slice(j,ee),ignoreCase:fe,multiline:y,dotAll:T}}onCapturingGroupEnter(j,ee){const fe=this._node;if(fe.type!=="Alternative")throw new Error("UnknownError");this._node={type:"CapturingGroup",parent:fe,start:j,end:j,raw:"",name:ee,alternatives:[],references:[]},fe.elements.push(this._node),this._capturingGroups.push(this._node)}onCapturingGroupLeave(j,ee){const fe=this._node;if(fe.type!=="CapturingGroup"||fe.parent.type!=="Alternative")throw new Error("UnknownError");fe.end=ee,fe.raw=this.source.slice(j,ee),this._node=fe.parent}onQuantifier(j,ee,fe,y,T){const U=this._node;if(U.type!=="Alternative")throw new Error("UnknownError");const X=U.elements.pop();if(X==null||X.type==="Quantifier"||X.type==="Assertion"&&X.kind!=="lookahead")throw new Error("UnknownError");const pe={type:"Quantifier",parent:U,start:X.start,end:ee,raw:this.source.slice(X.start,ee),min:fe,max:y,greedy:T,element:X};U.elements.push(pe),X.parent=pe}onLookaroundAssertionEnter(j,ee,fe){const y=this._node;if(y.type!=="Alternative")throw new Error("UnknownError");const T=this._node={type:"Assertion",parent:y,start:j,end:j,raw:"",kind:ee,negate:fe,alternatives:[]};y.elements.push(T)}onLookaroundAssertionLeave(j,ee){const fe=this._node;if(fe.type!=="Assertion"||fe.parent.type!=="Alternative")throw new Error("UnknownError");fe.end=ee,fe.raw=this.source.slice(j,ee),this._node=fe.parent}onEdgeAssertion(j,ee,fe){const y=this._node;if(y.type!=="Alternative")throw new Error("UnknownError");y.elements.push({type:"Assertion",parent:y,start:j,end:ee,raw:this.source.slice(j,ee),kind:fe})}onWordBoundaryAssertion(j,ee,fe,y){const T=this._node;if(T.type!=="Alternative")throw new Error("UnknownError");T.elements.push({type:"Assertion",parent:T,start:j,end:ee,raw:this.source.slice(j,ee),kind:fe,negate:y})}onAnyCharacterSet(j,ee,fe){const y=this._node;if(y.type!=="Alternative")throw new Error("UnknownError");y.elements.push({type:"CharacterSet",parent:y,start:j,end:ee,raw:this.source.slice(j,ee),kind:fe})}onEscapeCharacterSet(j,ee,fe,y){const T=this._node;if(T.type!=="Alternative"&&T.type!=="CharacterClass")throw new Error("UnknownError");T.elements.push({type:"CharacterSet",parent:T,start:j,end:ee,raw:this.source.slice(j,ee),kind:fe,negate:y})}onUnicodePropertyCharacterSet(j,ee,fe,y,T,U,X){const pe=this._node;if(pe.type!=="Alternative"&&pe.type!=="CharacterClass")throw new Error("UnknownError");const Ue={type:"CharacterSet",parent:null,start:j,end:ee,raw:this.source.slice(j,ee),kind:fe,strings:null,key:y};if(X){if(pe.type==="CharacterClass"&&!pe.unicodeSets||U||T!==null)throw new Error("UnknownError");pe.elements.push(Object.assign(Object.assign({},Ue),{parent:pe,strings:X,value:T,negate:U}))}else pe.elements.push(Object.assign(Object.assign({},Ue),{parent:pe,strings:X,value:T,negate:U}))}onCharacter(j,ee,fe){const y=this._node;if(y.type!=="Alternative"&&y.type!=="CharacterClass"&&y.type!=="StringAlternative")throw new Error("UnknownError");y.elements.push({type:"Character",parent:y,start:j,end:ee,raw:this.source.slice(j,ee),value:fe})}onBackreference(j,ee,fe){const y=this._node;if(y.type!=="Alternative")throw new Error("UnknownError");const T={type:"Backreference",parent:y,start:j,end:ee,raw:this.source.slice(j,ee),ref:fe,ambiguous:!1,resolved:Mr};y.elements.push(T),this._backreferences.push(T)}onCharacterClassEnter(j,ee,fe){const y=this._node,T={type:"CharacterClass",parent:y,start:j,end:j,raw:"",unicodeSets:fe,negate:ee,elements:[]};if(y.type==="Alternative"){const U=Object.assign(Object.assign({},T),{parent:y});this._node=U,y.elements.push(U)}else if(y.type==="CharacterClass"&&y.unicodeSets&&fe){const U=Object.assign(Object.assign({},T),{parent:y,unicodeSets:fe});this._node=U,y.elements.push(U)}else throw new Error("UnknownError")}onCharacterClassLeave(j,ee){const fe=this._node;if(fe.type!=="CharacterClass"||fe.parent.type!=="Alternative"&&fe.parent.type!=="CharacterClass")throw new Error("UnknownError");const y=fe.parent;fe.end=ee,fe.raw=this.source.slice(j,ee),this._node=y;const T=this._expressionBufferMap.get(fe);if(!T)return;if(fe.elements.length>0)throw new Error("UnknownError");this._expressionBufferMap.delete(fe);const U={type:"ExpressionCharacterClass",parent:y,start:fe.start,end:fe.end,raw:fe.raw,negate:fe.negate,expression:T};if(T.parent=U,fe!==y.elements.pop())throw new Error("UnknownError");y.elements.push(U)}onCharacterClassRange(j,ee){const fe=this._node;if(fe.type!=="CharacterClass")throw new Error("UnknownError");const y=fe.elements,T=y.pop();if(!T||T.type!=="Character")throw new Error("UnknownError");if(!fe.unicodeSets){const pe=y.pop();if(!pe||pe.type!=="Character"||pe.value!==K)throw new Error("UnknownError")}const U=y.pop();if(!U||U.type!=="Character")throw new Error("UnknownError");const X={type:"CharacterClassRange",parent:fe,start:j,end:ee,raw:this.source.slice(j,ee),min:U,max:T};U.parent=X,T.parent=X,y.push(X)}onClassIntersection(j,ee){var fe;const y=this._node;if(y.type!=="CharacterClass"||!y.unicodeSets)throw new Error("UnknownError");const T=y.elements.pop(),U=(fe=this._expressionBufferMap.get(y))!==null&&fe!==void 0?fe:y.elements.pop();if(!U||!T||U.type==="ClassSubtraction"||U.type!=="ClassIntersection"&&!Sr(U)||!Sr(T))throw new Error("UnknownError");const X={type:"ClassIntersection",parent:y,start:j,end:ee,raw:this.source.slice(j,ee),left:U,right:T};U.parent=X,T.parent=X,this._expressionBufferMap.set(y,X)}onClassSubtraction(j,ee){var fe;const y=this._node;if(y.type!=="CharacterClass"||!y.unicodeSets)throw new Error("UnknownError");const T=y.elements.pop(),U=(fe=this._expressionBufferMap.get(y))!==null&&fe!==void 0?fe:y.elements.pop();if(!U||!T||U.type==="ClassIntersection"||U.type!=="ClassSubtraction"&&!Sr(U)||!Sr(T))throw new Error("UnknownError");const X={type:"ClassSubtraction",parent:y,start:j,end:ee,raw:this.source.slice(j,ee),left:U,right:T};U.parent=X,T.parent=X,this._expressionBufferMap.set(y,X)}onClassStringDisjunctionEnter(j){const ee=this._node;if(ee.type!=="CharacterClass"||!ee.unicodeSets)throw new Error("UnknownError");this._node={type:"ClassStringDisjunction",parent:ee,start:j,end:j,raw:"",alternatives:[]},ee.elements.push(this._node)}onClassStringDisjunctionLeave(j,ee){const fe=this._node;if(fe.type!=="ClassStringDisjunction"||fe.parent.type!=="CharacterClass")throw new Error("UnknownError");fe.end=ee,fe.raw=this.source.slice(j,ee),this._node=fe.parent}onStringAlternativeEnter(j){const ee=this._node;if(ee.type!=="ClassStringDisjunction")throw new Error("UnknownError");this._node={type:"StringAlternative",parent:ee,start:j,end:j,raw:"",elements:[]},ee.alternatives.push(this._node)}onStringAlternativeLeave(j,ee){const fe=this._node;if(fe.type!=="StringAlternative")throw new Error("UnknownError");fe.end=ee,fe.raw=this.source.slice(j,ee),this._node=fe.parent}}class br{constructor(j){this._state=new zr(j),this._validator=new jr(this._state)}parseLiteral(j,ee=0,fe=j.length){this._state.source=j,this._validator.validateLiteral(j,ee,fe);const y=this._state.pattern,T=this._state.flags,U={type:"RegExpLiteral",parent:null,start:ee,end:fe,raw:j,pattern:y,flags:T};return y.parent=U,T.parent=U,U}parseFlags(j,ee=0,fe=j.length){return this._state.source=j,this._validator.validateFlags(j,ee,fe),this._state.flags}parsePattern(j,ee=0,fe=j.length,y=void 0){return this._state.source=j,this._validator.validatePattern(j,ee,fe,y),this._state.pattern}}class bt{constructor(j){this._handlers=j}visit(j){switch(j.type){case"Alternative":this.visitAlternative(j);break;case"Assertion":this.visitAssertion(j);break;case"Backreference":this.visitBackreference(j);break;case"CapturingGroup":this.visitCapturingGroup(j);break;case"Character":this.visitCharacter(j);break;case"CharacterClass":this.visitCharacterClass(j);break;case"CharacterClassRange":this.visitCharacterClassRange(j);break;case"CharacterSet":this.visitCharacterSet(j);break;case"ClassIntersection":this.visitClassIntersection(j);break;case"ClassStringDisjunction":this.visitClassStringDisjunction(j);break;case"ClassSubtraction":this.visitClassSubtraction(j);break;case"ExpressionCharacterClass":this.visitExpressionCharacterClass(j);break;case"Flags":this.visitFlags(j);break;case"Group":this.visitGroup(j);break;case"Modifiers":this.visitModifiers(j);break;case"ModifierFlags":this.visitModifierFlags(j);break;case"Pattern":this.visitPattern(j);break;case"Quantifier":this.visitQuantifier(j);break;case"RegExpLiteral":this.visitRegExpLiteral(j);break;case"StringAlternative":this.visitStringAlternative(j);break;default:throw new Error(`Unknown type: ${j.type}`)}}visitAlternative(j){this._handlers.onAlternativeEnter&&this._handlers.onAlternativeEnter(j),j.elements.forEach(this.visit,this),this._handlers.onAlternativeLeave&&this._handlers.onAlternativeLeave(j)}visitAssertion(j){this._handlers.onAssertionEnter&&this._handlers.onAssertionEnter(j),(j.kind==="lookahead"||j.kind==="lookbehind")&&j.alternatives.forEach(this.visit,this),this._handlers.onAssertionLeave&&this._handlers.onAssertionLeave(j)}visitBackreference(j){this._handlers.onBackreferenceEnter&&this._handlers.onBackreferenceEnter(j),this._handlers.onBackreferenceLeave&&this._handlers.onBackreferenceLeave(j)}visitCapturingGroup(j){this._handlers.onCapturingGroupEnter&&this._handlers.onCapturingGroupEnter(j),j.alternatives.forEach(this.visit,this),this._handlers.onCapturingGroupLeave&&this._handlers.onCapturingGroupLeave(j)}visitCharacter(j){this._handlers.onCharacterEnter&&this._handlers.onCharacterEnter(j),this._handlers.onCharacterLeave&&this._handlers.onCharacterLeave(j)}visitCharacterClass(j){this._handlers.onCharacterClassEnter&&this._handlers.onCharacterClassEnter(j),j.elements.forEach(this.visit,this),this._handlers.onCharacterClassLeave&&this._handlers.onCharacterClassLeave(j)}visitCharacterClassRange(j){this._handlers.onCharacterClassRangeEnter&&this._handlers.onCharacterClassRangeEnter(j),this.visitCharacter(j.min),this.visitCharacter(j.max),this._handlers.onCharacterClassRangeLeave&&this._handlers.onCharacterClassRangeLeave(j)}visitCharacterSet(j){this._handlers.onCharacterSetEnter&&this._handlers.onCharacterSetEnter(j),this._handlers.onCharacterSetLeave&&this._handlers.onCharacterSetLeave(j)}visitClassIntersection(j){this._handlers.onClassIntersectionEnter&&this._handlers.onClassIntersectionEnter(j),this.visit(j.left),this.visit(j.right),this._handlers.onClassIntersectionLeave&&this._handlers.onClassIntersectionLeave(j)}visitClassStringDisjunction(j){this._handlers.onClassStringDisjunctionEnter&&this._handlers.onClassStringDisjunctionEnter(j),j.alternatives.forEach(this.visit,this),this._handlers.onClassStringDisjunctionLeave&&this._handlers.onClassStringDisjunctionLeave(j)}visitClassSubtraction(j){this._handlers.onClassSubtractionEnter&&this._handlers.onClassSubtractionEnter(j),this.visit(j.left),this.visit(j.right),this._handlers.onClassSubtractionLeave&&this._handlers.onClassSubtractionLeave(j)}visitExpressionCharacterClass(j){this._handlers.onExpressionCharacterClassEnter&&this._handlers.onExpressionCharacterClassEnter(j),this.visit(j.expression),this._handlers.onExpressionCharacterClassLeave&&this._handlers.onExpressionCharacterClassLeave(j)}visitFlags(j){this._handlers.onFlagsEnter&&this._handlers.onFlagsEnter(j),this._handlers.onFlagsLeave&&this._handlers.onFlagsLeave(j)}visitGroup(j){this._handlers.onGroupEnter&&this._handlers.onGroupEnter(j),j.modifiers&&this.visit(j.modifiers),j.alternatives.forEach(this.visit,this),this._handlers.onGroupLeave&&this._handlers.onGroupLeave(j)}visitModifiers(j){this._handlers.onModifiersEnter&&this._handlers.onModifiersEnter(j),j.add&&this.visit(j.add),j.remove&&this.visit(j.remove),this._handlers.onModifiersLeave&&this._handlers.onModifiersLeave(j)}visitModifierFlags(j){this._handlers.onModifierFlagsEnter&&this._handlers.onModifierFlagsEnter(j),this._handlers.onModifierFlagsLeave&&this._handlers.onModifierFlagsLeave(j)}visitPattern(j){this._handlers.onPatternEnter&&this._handlers.onPatternEnter(j),j.alternatives.forEach(this.visit,this),this._handlers.onPatternLeave&&this._handlers.onPatternLeave(j)}visitQuantifier(j){this._handlers.onQuantifierEnter&&this._handlers.onQuantifierEnter(j),this.visit(j.element),this._handlers.onQuantifierLeave&&this._handlers.onQuantifierLeave(j)}visitRegExpLiteral(j){this._handlers.onRegExpLiteralEnter&&this._handlers.onRegExpLiteralEnter(j),this.visitPattern(j.pattern),this.visitFlags(j.flags),this._handlers.onRegExpLiteralLeave&&this._handlers.onRegExpLiteralLeave(j)}visitStringAlternative(j){this._handlers.onStringAlternativeEnter&&this._handlers.onStringAlternativeEnter(j),j.elements.forEach(this.visit,this),this._handlers.onStringAlternativeLeave&&this._handlers.onStringAlternativeLeave(j)}}function gn(Ge,j){return new br(j).parseLiteral(String(Ge))}function Hr(Ge,j){new jr(j).validateLiteral(Ge)}function Kr(Ge,j){new bt(j).visit(Ge)}return cr.AST=a,cr.RegExpParser=br,cr.RegExpSyntaxError=ut,cr.RegExpValidator=jr,cr.parseRegExpLiteral=gn,cr.validateRegExpLiteral=Hr,cr.visitRegExpAST=Kr,cr}var rl,jy;function iT(){if(jy)return rl;jy=1;const a=fr().RegExpValidator,e=new class{constructor(){this._source="",this._controlChars=[],this._validator=new a(this)}onPatternEnter(){this._controlChars=[]}onCharacter(n,o,t){t>=0&&t<=31&&(this._source.codePointAt(n)===t||this._source.slice(n,o).startsWith("\\x")||this._source.slice(n,o).startsWith("\\u"))&&this._controlChars.push(`\\x${`0${t.toString(16)}`.slice(-2)}`)}collectControlChars(n,o){const t=typeof o=="string"&&o.includes("u"),c=typeof o=="string"&&o.includes("v");this._controlChars=[],this._source=n;try{this._validator.validatePattern(n,void 0,void 0,{unicode:t,unicodeSets:c})}catch{}return this._controlChars}};return rl={meta:{type:"problem",docs:{description:"Disallow control characters in regular expressions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-control-regex"},schema:[],messages:{unexpected:"Unexpected control character(s) in regular expression: {{controlChars}}."}},create(n){function o(t){if(t.regex)return t.regex;if(typeof t.value=="string"&&(t.parent.type==="NewExpression"||t.parent.type==="CallExpression")&&t.parent.callee.type==="Identifier"&&t.parent.callee.name==="RegExp"&&t.parent.arguments[0]===t){const c=t.value,p=t.parent.arguments.length>1&&t.parent.arguments[1].type==="Literal"&&typeof t.parent.arguments[1].value=="string"?t.parent.arguments[1].value:null;return{pattern:c,flags:p}}return null}return{Literal(t){const c=o(t);if(c){const{pattern:p,flags:u}=c,r=e.collectControlChars(p,u);r.length>0&&n.report({node:t,messageId:"unexpected",data:{controlChars:r.join(", ")}})}}}}},rl}var nl,My;function oT(){return My||(My=1,nl={meta:{type:"problem",docs:{description:"Disallow the use of `debugger`",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-debugger"},fixable:null,schema:[],messages:{unexpected:"Unexpected 'debugger' statement."}},create(a){return{DebuggerStatement(e){a.report({node:e,messageId:"unexpected"})}}}}),nl}var sl,Uy;function lT(){return Uy||(Uy=1,sl={meta:{type:"suggestion",docs:{description:"Disallow deleting variables",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-delete-var"},schema:[],messages:{unexpected:"Variables should not be deleted."}},create(a){return{UnaryExpression(e){e.operator==="delete"&&e.argument.type==="Identifier"&&a.report({node:e,messageId:"unexpected"})}}}}),sl}var al,qy;function uT(){return qy||(qy=1,al={meta:{type:"suggestion",docs:{description:"Disallow equal signs explicitly at the beginning of regular expressions",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-div-regex"},fixable:"code",schema:[],messages:{unexpected:"A regular expression literal can be confused with '/='."}},create(a){const e=a.sourceCode;return{Literal(n){const o=e.getFirstToken(n);o.type==="RegularExpression"&&o.value[1]==="="&&a.report({node:n,messageId:"unexpected",fix(t){return t.replaceTextRange([o.range[0]+1,o.range[0]+2],"[=]")}})}}}}),al}var il,Vy;function cT(){return Vy||(Vy=1,il={meta:{type:"problem",docs:{description:"Disallow duplicate arguments in `function` definitions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-dupe-args"},schema:[],messages:{unexpected:"Duplicate param '{{name}}'."}},create(a){const e=a.sourceCode;function n(t){return t.type==="Parameter"}function o(t){const c=e.getDeclaredVariables(t);for(let p=0;p<c.length;++p){const u=c[p];u.defs.filter(n).length>=2&&a.report({node:t,messageId:"unexpected",data:{name:u.name}})}}return{FunctionDeclaration:o,FunctionExpression:o}}}),il}var ol,$y;function fT(){if($y)return ol;$y=1;const a=Me();return ol={meta:{type:"problem",dialects:["javascript","typescript"],language:"javascript",docs:{description:"Disallow duplicate class members",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-dupe-class-members"},schema:[],messages:{unexpected:"Duplicate name '{{name}}'."}},create(e){let n=[];function o(t,c){const p=n.at(-1),u=`$${t}`;return p[u]||(p[u]={nonStatic:{init:!1,get:!1,set:!1},static:{init:!1,get:!1,set:!1}}),p[u][c?"static":"nonStatic"]}return{Program(){n=[]},ClassBody(){n.push(Object.create(null))},"ClassBody:exit"(){n.pop()},"MethodDefinition, PropertyDefinition"(t){if(t.value&&t.value.type==="TSEmptyBodyFunctionExpression")return;const c=a.getStaticPropertyName(t),p=t.type==="MethodDefinition"?t.kind:"field";if(c===null||p==="constructor")return;const u=o(c,t.static);let r;p==="get"?(r=u.init||u.get,u.get=!0):p==="set"?(r=u.init||u.set,u.set=!0):(r=u.init||u.get||u.set,u.init=!0),r&&e.report({node:t,messageId:"unexpected",data:{name:c}})}}}},ol}var ll,Wy;function pT(){if(Wy)return ll;Wy=1;const a=Me();function e(c,p,u){return p.every(r=>u.some(h=>c(r,h)))}function n(c,p){return p.type==="LogicalExpression"&&p.operator===c?[...n(c,p.left),...n(c,p.right)]:[p]}const o=n.bind(null,"||"),t=n.bind(null,"&&");return ll={meta:{type:"problem",docs:{description:"Disallow duplicate conditions in if-else-if chains",recommended:!0,url:"https://eslint.org/docs/latest/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(c){const p=c.sourceCode;function u(h,i){return h.type!==i.type?!1:h.type==="LogicalExpression"&&(h.operator==="||"||h.operator==="&&")&&h.operator===i.operator?u(h.left,i.left)&&u(h.right,i.right)||u(h.left,i.right)&&u(h.right,i.left):a.equalTokens(h,i,p)}const r=e.bind(null,u);return{IfStatement(h){const i=h.test,f=i.type==="LogicalExpression"&&i.operator==="&&"?[i,...t(i)]:[i];let m=h,s=f.map(l=>o(l).map(t));for(;m.parent&&m.parent.type==="IfStatement"&&m.parent.alternate===m;){m=m.parent;const l=o(m.test).map(t);if(s=s.map(d=>d.filter(g=>!l.some(v=>r(v,g)))),s.some(d=>d.length===0)){c.report({node:i,messageId:"unexpected"});break}}}}}},ll}var ul,Gy;function mT(){if(Gy)return ul;Gy=1;const a=Me(),e=/^(?:init|get)$/u,n=/^(?:init|set)$/u;class o{constructor(c,p){this.upper=c,this.node=p,this.properties=new Map}getPropertyInfo(c){const p=a.getStaticPropertyName(c);return this.properties.has(p)||this.properties.set(p,{get:!1,set:!1}),this.properties.get(p)}isPropertyDefined(c){const p=this.getPropertyInfo(c);return e.test(c.kind)&&p.get||n.test(c.kind)&&p.set}defineProperty(c){const p=this.getPropertyInfo(c);e.test(c.kind)&&(p.get=!0),n.test(c.kind)&&(p.set=!0)}}return ul={meta:{type:"problem",docs:{description:"Disallow duplicate keys in object literals",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-dupe-keys"},schema:[],messages:{unexpected:"Duplicate key '{{name}}'."}},create(t){let c=null;return{ObjectExpression(p){c=new o(c,p)},"ObjectExpression:exit"(){c=c.upper},Property(p){const u=a.getStaticPropertyName(p);p.parent.type==="ObjectExpression"&&u!==null&&(u==="__proto__"&&p.kind==="init"&&!p.computed&&!p.shorthand&&!p.method||(c.isPropertyDefined(p)&&t.report({node:c.node,loc:p.key.loc,messageId:"unexpected",data:{name:u}}),c.defineProperty(p)))}}}},ul}var cl,zy;function hT(){if(zy)return cl;zy=1;const a=Me();return cl={meta:{type:"problem",docs:{description:"Disallow duplicate case labels",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-duplicate-case"},schema:[],messages:{unexpected:"Duplicate case label."}},create(e){const n=e.sourceCode;function o(t,c){return t.type!==c.type?!1:a.equalTokens(t,c,n)}return{SwitchStatement(t){const c=[];for(const p of t.cases)if(p.test){const u=p.test;c.some(r=>o(r,u))?e.report({node:p,messageId:"unexpected"}):c.push(u)}}}}},cl}var fl,Hy;function dT(){if(Hy)return fl;Hy=1;const a=["ImportSpecifier","ExportSpecifier"],e=["ImportNamespaceSpecifier","ExportNamespaceSpecifier"];function n(i,f){return(f==="named"?a:e).includes(i)}function o(i){if(i.specifiers&&i.specifiers.length>0){const f=i.specifiers,m=f.findIndex(({type:l})=>n(l,"named")||n(l,"namespace")),s=m>-1?m:0;return f[s].type}return i.type==="ExportAllDeclaration"?i.exported?"ExportNamespaceSpecifier":"ExportAll":"SideEffectImport"}function t(i,f){const m=o(i),s=o(f);return!(m==="ExportAll"&&s!=="ExportAll"&&s!=="SideEffectImport"||m!=="ExportAll"&&m!=="SideEffectImport"&&s==="ExportAll"||n(m,"namespace")&&n(s,"named")||n(s,"namespace")&&n(m,"named"))}function c(i,f){let m=0;for(;m<f.length;){if(t(i,f[m]))return!0;m++}return!1}function p(i,f){return i.filter(({declarationType:m})=>m===f).map(({node:m})=>m)}function u(i){return i&&i.source&&i.source.value?i.source.value.trim():""}function r(i,f,m,s,l){const d=u(f);if(m.has(d)){const g=m.get(d),v=[],S=p(g,"import");let b;l&&(b=p(g,"export")),s==="import"?(c(f,S)&&v.push("import"),l&&c(f,b)&&v.push("importAs")):s==="export"&&(c(f,b)&&v.push("export"),c(f,S)&&v.push("exportAs")),v.forEach(C=>i.report({node:f,messageId:C,data:{module:d}}))}}function h(i,f,m,s){return function(l){const d=u(l);if(d){r(i,l,f,m,s);const g={node:l,declarationType:m};let v=[g];f.has(d)&&(v=[...f.get(d),g]),f.set(d,v)}}}return fl={meta:{type:"problem",defaultOptions:[{includeExports:!1}],docs:{description:"Disallow duplicate module imports",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-duplicate-imports"},schema:[{type:"object",properties:{includeExports:{type:"boolean"}},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(i){const[{includeExports:f}]=i.options,m=new Map,s={ImportDeclaration:h(i,m,"import",f)};return f&&(s.ExportNamedDeclaration=h(i,m,"export",f),s.ExportAllDeclaration=h(i,m,"export",f)),s}},fl}var pl,Ky;function fn(){if(Ky)return pl;Ky=1;const a=Me();class e{constructor(o,t){this.fixer=o,this.sourceCode=t,this.retainedRange=null}retainRange(o){return this.retainedRange=o,this}retainEnclosingFunction(o){const t=a.getUpperFunction(o);return this.retainRange(t?t.range:this.sourceCode.ast.range)}retainSurroundingTokens(o){const t=this.sourceCode.getTokenBefore(o)||o,c=this.sourceCode.getTokenAfter(o)||o;return this.retainRange([t.range[0],c.range[1]])}replaceTextRange(o,t){let c;return this.retainedRange?c=[Math.min(this.retainedRange[0],o[0]),Math.max(this.retainedRange[1],o[1])]:c=o,this.fixer.replaceTextRange(c,this.sourceCode.text.slice(c[0],o[0])+t+this.sourceCode.text.slice(o[1],c[1]))}remove(o){return this.replaceTextRange(o.range,"")}}return pl=e,pl}var ml,Xy;function gT(){if(Xy)return ml;Xy=1;const a=Me(),e=fn();return ml={meta:{type:"suggestion",defaultOptions:[{allowElseIf:!0}],docs:{description:"Disallow `else` blocks after `return` statements in `if` statements",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-else-return"},schema:[{type:"object",properties:{allowElseIf:{type:"boolean"}},additionalProperties:!1}],fixable:"code",messages:{unexpected:"Unnecessary 'else' after 'return'."}},create(n){const[{allowElseIf:o}]=n.options,t=n.sourceCode;function c(g,v){if(g.length===0)return!0;const S=v.variableScope;if(v.variables.filter(({defs:w})=>w.length>0).some(({name:w})=>g.includes(w))||v!==S&&v.upper.type==="catch"&&v.upper.variables.some(({name:w})=>g.includes(w))||v.variables.filter(({defs:w,references:E})=>w.length===0&&E.length>0).some(({name:w})=>g.includes(w))||v.through.some(w=>g.includes(w.identifier.name)))return!1;if(v!==S){const w=v.block.range;if(S.variables.filter(({name:k})=>g.includes(k)).some(k=>k.defs.some(({node:{range:x}})=>w[0]<=x[0]&&x[1]<=w[1])))return!1}return!0}function p(g,v){if(g.type==="FunctionDeclaration")return!1;if(g.type!=="BlockStatement")return!0;const S=v.childScopes.find(({block:C})=>C===g);if(!S)return!0;const b=S.variables.map(({name:C})=>C);return c(b,v)}function u(g){const v=t.getScope(g.parent);n.report({node:g,messageId:"unexpected",fix(S){if(!p(g,v))return null;const b=t.getFirstToken(g),C=t.getTokenBefore(b),w=t.getText(g),E=t.getTokenBefore(C);let k,x;b.type==="Punctuator"&&b.value==="{"?x=t.getTokenAfter(b):x=b;const A=g.parent.consequent.type!=="BlockStatement"&&E.value!==";",I=/^[([/+`-]/u.test(x.value);if(A&&I)return null;const B=t.getLastToken(g),M=t.getTokenBefore(B);if(M.value!==";"){const P=t.getTokenAfter(B),D=P&&/^[([/+`-]/u.test(P.value),R=P&&P.loc.start.line===M.loc.start.line;if(D||R&&P.value!=="}")return null}return b.type==="Punctuator"&&b.value==="{"?k=w.slice(1,-1):k=w,new e(S,t).retainEnclosingFunction(g).replaceTextRange([C.range[0],g.range[1]],k)}})}function r(g){return g.type==="ReturnStatement"}function h(g){if(g.type==="BlockStatement"){const v=g.body,S=v.at(-1);return S&&r(S)}return r(g)}function i(g){return g.alternate&&g.consequent}function f(g){return g.type==="IfStatement"&&i(g)&&h(g.alternate)&&h(g.consequent)}function m(g){return r(g)||f(g)}function s(g){return g.type==="BlockStatement"?g.body.some(m):m(g)}function l(g){const v=g.parent;if(!a.STATEMENT_LIST_PARENTS.has(v.type))return;const S=[];let b;for(let C=g;C.type==="IfStatement";C=C.alternate){if(!C.alternate)return;S.push(C.consequent),b=C.alternate}S.every(s)&&u(b)}function d(g){const v=g.parent;if(!a.STATEMENT_LIST_PARENTS.has(v.type))return;const S=g.alternate;S&&s(g.consequent)&&u(S)}return{"IfStatement:exit":o?l:d}}},ml}var hl,Jy;function yT(){if(Jy)return hl;Jy=1;const a=Me();return hl={meta:{hasSuggestions:!0,type:"suggestion",defaultOptions:[{allowEmptyCatch:!1}],docs:{description:"Disallow empty block statements",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-empty"},schema:[{type:"object",properties:{allowEmptyCatch:{type:"boolean"}},additionalProperties:!1}],messages:{unexpected:"Empty {{type}} statement.",suggestComment:"Add comment inside empty {{type}} statement."}},create(e){const[{allowEmptyCatch:n}]=e.options,o=e.sourceCode;return{BlockStatement(t){t.body.length===0&&(a.isFunction(t.parent)||n&&t.parent.type==="CatchClause"||o.getCommentsInside(t).length>0||e.report({node:t,messageId:"unexpected",data:{type:"block"},suggest:[{messageId:"suggestComment",data:{type:"block"},fix(c){const p=[t.range[0]+1,t.range[1]-1];return c.replaceTextRange(p," /* empty */ ")}}]}))},SwitchStatement(t){(typeof t.cases>"u"||t.cases.length===0)&&e.report({node:t,messageId:"unexpected",data:{type:"switch"}})}}}},hl}var dl,Yy;function vT(){if(Yy)return dl;Yy=1;const{RegExpParser:a,visitRegExpAST:e}=fr(),n=new a,o=/\[\]/u;return dl={meta:{type:"problem",docs:{description:"Disallow empty character classes in regular expressions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-empty-character-class"},schema:[],messages:{unexpected:"Empty class."}},create(t){return{"Literal[regex]"(c){const{pattern:p,flags:u}=c.regex;if(!o.test(p))return;let r;try{r=n.parsePattern(p,0,p.length,{unicode:u.includes("u"),unicodeSets:u.includes("v")})}catch{return}e(r,{onCharacterClassEnter(h){!h.negate&&h.elements.length===0&&t.report({node:c,messageId:"unexpected"})}})}}}},dl}var gl,Qy;function ET(){if(Qy)return gl;Qy=1;const a=Me(),e=Object.freeze(["functions","arrowFunctions","generatorFunctions","methods","generatorMethods","getters","setters","constructors","asyncFunctions","asyncMethods","privateConstructors","protectedConstructors","decoratedFunctions","overrideMethods"]);function n(t){const c=t.parent;let p;if(t.type==="ArrowFunctionExpression")return"arrowFunctions";if(c.type==="Property"){if(c.kind==="get")return"getters";if(c.kind==="set")return"setters";p=c.method?"methods":"functions"}else if(c.type==="MethodDefinition"){if(c.kind==="get")return"getters";if(c.kind==="set")return"setters";if(c.kind==="constructor")return"constructors";p="methods"}else p="functions";let u;if(t.generator)u="generator";else if(t.async)u="async";else return p;return u+p[0].toUpperCase()+p.slice(1)}function o(t){return t.params.some(c=>c.type==="TSParameterProperty")}return gl={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",defaultOptions:[{allow:[]}],docs:{description:"Disallow empty functions",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-empty-function"},schema:[{type:"object",properties:{allow:{type:"array",items:{enum:e},uniqueItems:!0}},additionalProperties:!1}],messages:{unexpected:"Unexpected empty {{name}}."}},create(t){const[{allow:c}]=t.options,p=t.sourceCode;function u(h){var f;const i=n(h);return!!(c.includes(i)||i==="constructors"&&(h.parent.accessibility==="private"&&c.includes("privateConstructors")||h.parent.accessibility==="protected"&&c.includes("protectedConstructors")||o(h))||/(g|s)etters|methods$/iu.test(i)&&((f=h.parent.decorators)!=null&&f.length&&c.includes("decoratedFunctions")||h.parent.override&&c.includes("overrideMethods")))}function r(h){const i=a.getFunctionNameWithKind(h),f=p.getTokens(h.body,{includeComments:!0,filter:a.isCommentToken});!u(h)&&h.body.type==="BlockStatement"&&h.body.body.length===0&&f.length===0&&t.report({node:h,loc:h.body.loc,messageId:"unexpected",data:{name:i}})}return{ArrowFunctionExpression:r,FunctionDeclaration:r,FunctionExpression:r}}},gl}var yl,Zy;function ST(){if(Zy)return yl;Zy=1;const a=Me();return yl={meta:{type:"problem",defaultOptions:[{allowObjectPatternsAsParameters:!1}],docs:{description:"Disallow empty destructuring patterns",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-empty-pattern"},schema:[{type:"object",properties:{allowObjectPatternsAsParameters:{type:"boolean"}},additionalProperties:!1}],messages:{unexpected:"Unexpected empty {{type}} pattern."}},create(e){const[{allowObjectPatternsAsParameters:n}]=e.options;return{ObjectPattern(o){o.properties.length>0||n&&(a.isFunction(o.parent)||o.parent.type==="AssignmentPattern"&&a.isFunction(o.parent.parent)&&o.parent.right.type==="ObjectExpression"&&o.parent.right.properties.length===0)||e.report({node:o,messageId:"unexpected",data:{type:"object"}})},ArrayPattern(o){o.elements.length===0&&e.report({node:o,messageId:"unexpected",data:{type:"array"}})}}}},yl}var vl,ev;function bT(){return ev||(ev=1,vl={meta:{type:"suggestion",docs:{description:"Disallow empty static blocks",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-empty-static-block"},schema:[],messages:{unexpected:"Unexpected empty static block."}},create(a){const e=a.sourceCode;return{StaticBlock(n){if(n.body.length===0){const o=e.getLastToken(n);e.getCommentsBefore(o).length===0&&a.report({node:n,messageId:"unexpected"})}}}}}),vl}var El,tv;function xT(){return tv||(tv=1,El={meta:{type:"suggestion",docs:{description:"Disallow `null` comparisons without type-checking operators",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-eq-null"},schema:[],messages:{unexpected:"Use '===' to compare with null."}},create(a){return{BinaryExpression(e){const n=e.operator==="=="||e.operator==="!=";(e.right.type==="Literal"&&e.right.raw==="null"&&n||e.left.type==="Literal"&&e.left.raw==="null"&&n)&&a.report({node:e,messageId:"unexpected"})}}}}),El}var Sl,rv;function CT(){if(rv)return Sl;rv=1;const a=Me(),e=Object.freeze(["global","window","globalThis"]);function n(o,t){return a.isSpecificMemberAccess(o,null,t)}return Sl={meta:{type:"suggestion",defaultOptions:[{allowIndirect:!1}],docs:{description:"Disallow the use of `eval()`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-eval"},schema:[{type:"object",properties:{allowIndirect:{type:"boolean"}},additionalProperties:!1}],messages:{unexpected:"eval can be harmful."}},create(o){const[{allowIndirect:t}]=o.options,c=o.sourceCode;let p=null;function u(m){const s=c.getScope(m).isStrict;p={upper:p,node:m,strict:s,isTopLevelOfScript:!1,defaultThis:!1,initialized:s}}function r(){p=p.upper}function h(m){const s=m.parent,l=m.type==="MemberExpression"?m.property:m,d=s.type==="CallExpression"&&s.callee===m?s:m;o.report({node:d,loc:l.loc,messageId:"unexpected"})}function i(m){for(let s=0;s<e.length;++s){const l=e[s],d=a.getVariableByName(m,l);if(!d)continue;const g=d.references;for(let v=0;v<g.length;++v){let b=g[v].identifier.parent;for(;n(b,l);)b=b.parent;n(b,"eval")&&h(b)}}}function f(m){const s=a.getVariableByName(m,"eval");if(!s)return;const l=s.references;for(let d=0;d<l.length;++d){const v=l[d].identifier;v.name==="eval"&&!a.isCallee(v)&&h(v)}}return t?{"CallExpression:exit"(m){const s=m.callee;!m.optional&&a.isSpecificId(s,"eval")&&h(s)}}:{"CallExpression:exit"(m){const s=m.callee;a.isSpecificId(s,"eval")&&h(s)},Program(m){const s=c.getScope(m),l=o.parserOptions.ecmaFeatures||{},d=s.isStrict||m.sourceType==="module"||l.globalReturn&&s.childScopes[0].isStrict,g=m.sourceType!=="module"&&!l.globalReturn;p={upper:null,node:m,strict:d,isTopLevelOfScript:g,defaultThis:!0,initialized:!0}},"Program:exit"(m){const s=c.getScope(m);r(),f(s),i(s)},FunctionDeclaration:u,"FunctionDeclaration:exit":r,FunctionExpression:u,"FunctionExpression:exit":r,"PropertyDefinition > *.value":u,"PropertyDefinition > *.value:exit":r,StaticBlock:u,"StaticBlock:exit":r,ThisExpression(m){n(m.parent,"eval")&&(p.initialized||(p.initialized=!0,p.defaultThis=a.isDefaultThisBinding(p.node,c)),(p.isTopLevelOfScript||!p.strict&&p.defaultThis)&&h(m.parent))}}}},Sl}var bl,nv;function wT(){if(nv)return bl;nv=1;const a=Me();return bl={meta:{type:"problem",docs:{description:"Disallow reassigning exceptions in `catch` clauses",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-ex-assign"},schema:[],messages:{unexpected:"Do not assign to the exception parameter."}},create(e){const n=e.sourceCode;function o(t){a.getModifyingReferences(t.references).forEach(c=>{e.report({node:c.identifier,messageId:"unexpected"})})}return{CatchClause(t){n.getDeclaredVariables(t).forEach(o)}}}},bl}var xl,sv;function AT(){if(sv)return xl;sv=1;const a=Me();return xl={meta:{type:"suggestion",defaultOptions:[{exceptions:[]}],docs:{description:"Disallow extending native types",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.sourceCode,o=new Set(e.options[0].exceptions),t=new Set(Object.keys(a.ECMASCRIPT_GLOBALS).filter(i=>i[0].toUpperCase()===i[0]).filter(i=>!o.has(i)));function c(i,f){e.report({node:i,messageId:"unexpected",data:{builtin:f}})}function p(i){return!!(i&&i.parent&&i.parent.type==="MemberExpression"&&i.parent.object===i&&a.getStaticPropertyName(i.parent)==="prototype")}function u(i){return i.parent.type==="MemberExpression"&&i.parent.object===i&&i.parent.parent.type==="AssignmentExpression"&&i.parent.parent.left===i.parent}function r(i){return i.parent.type==="CallExpression"&&i.parent.arguments[0]===i&&a.isSpecificMemberAccess(i.parent.callee,"Object",/^definePropert(?:y|ies)$/u)}function h(i){if(!p(i))return;const f=i.parent.parent.type==="ChainExpression"?i.parent.parent:i.parent;u(f)?c(f.parent.parent,i.name):r(f)&&c(f.parent,i.name)}return{"Program:exit"(i){const f=n.getScope(i);t.forEach(m=>{const s=f.set.get(m);s&&s.references&&s.references.map(l=>l.identifier).forEach(h)})}}}},xl}var Cl,av;function TT(){if(av)return Cl;av=1;const a=Me(),e=new Set(["Literal","Identifier","ThisExpression","FunctionExpression"]);return Cl={meta:{type:"suggestion",docs:{description:"Disallow unnecessary calls to `.bind()`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-extra-bind"},schema:[],fixable:"code",messages:{unexpected:"The function binding is unnecessary."}},create(n){const o=n.sourceCode;let t=null;function c(m){return e.has(m.type)}function p(m){const s=m.parent,l=s.parent.type==="ChainExpression"?s.parent.parent:s.parent;n.report({node:l,messageId:"unexpected",loc:s.property.loc,fix(d){if(!c(l.arguments[0]))return null;const g=[[o.getTokenAfter(s.object,a.isNotClosingParenToken),o.getLastToken(s)],[o.getTokenAfter(s,a.isNotClosingParenToken),o.getLastToken(l)]],v=g[0][0],S=g[1][1];return o.commentsExistBetween(v,S)?null:g.map(([b,C])=>d.removeRange([b.range[0],C.range[1]]))}})}function u(m){if(!a.isSpecificMemberAccess(m.parent,null,"bind"))return!1;const s=m.parent.parent.type==="ChainExpression"?m.parent.parent:m.parent;return s.parent.type==="CallExpression"&&s.parent.callee===s&&s.parent.arguments.length===1&&s.parent.arguments[0].type!=="SpreadElement"}function r(m){t={isBound:u(m),thisFound:!1,upper:t}}function h(m){t.isBound&&!t.thisFound&&p(m),t=t.upper}function i(m){u(m)&&p(m)}function f(){t&&(t.thisFound=!0)}return{"ArrowFunctionExpression:exit":i,FunctionDeclaration:r,"FunctionDeclaration:exit":h,FunctionExpression:r,"FunctionExpression:exit":h,ThisExpression:f}}},Cl}var wl,iv;function kT(){if(iv)return wl;iv=1;const a=Me(),e=$t(),n=a.getPrecedence;return wl={meta:{type:"suggestion",defaultOptions:[{}],docs:{description:"Disallow unnecessary boolean casts",recommended:!0,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-extra-boolean-cast"},schema:[{anyOf:[{type:"object",properties:{enforceForInnerExpressions:{type:"boolean"}},additionalProperties:!1},{type:"object",properties:{enforceForLogicalOperands:{type:"boolean"}},additionalProperties:!1}]}],fixable:"code",messages:{unexpectedCall:"Redundant Boolean call.",unexpectedNegation:"Redundant double negation."}},create(o){const t=o.sourceCode,[{enforceForLogicalOperands:c,enforceForInnerExpressions:p}]=o.options,u=new Set(["IfStatement","DoWhileStatement","WhileStatement","ConditionalExpression","ForStatement"]);function r(l){return(l.type==="CallExpression"||l.type==="NewExpression")&&l.callee.type==="Identifier"&&l.callee.name==="Boolean"}function h(l){return r(l.parent)&&l===l.parent.arguments[0]||u.has(l.parent.type)&&l===l.parent.test||l.parent.type==="UnaryExpression"&&l.parent.operator==="!"}function i(l){return l.parent.type==="ChainExpression"||(c||p)&&l.parent.type==="LogicalExpression"&&(l.parent.operator==="||"||l.parent.operator==="&&"||p&&l.parent.operator==="??"&&l.parent.right===l)||p&&(l.parent.type==="ConditionalExpression"&&(l.parent.consequent===l||l.parent.alternate===l)||l.parent.type==="SequenceExpression"&&l.parent.expressions.at(-1)===l)?i(l.parent):h(l)}function f(l){return!!t.getCommentsInside(l).length}function m(l){return e.isParenthesized(1,l,t)}function s(l,d){if(l.parent.type==="ChainExpression")return s(l.parent,d);if(m(l))return!1;const g=l.parent;switch(g.type){case"CallExpression":case"NewExpression":return d.type==="SequenceExpression";case"IfStatement":case"DoWhileStatement":case"WhileStatement":case"ForStatement":case"SequenceExpression":return!1;case"ConditionalExpression":if(l===g.test)return n(d)<=n(g);if(l===g.consequent||l===g.alternate)return n(d)<n({type:"AssignmentExpression"});throw new Error("Ternary child must be test, consequent, or alternate.");case"UnaryExpression":return n(d)<n(g);case"LogicalExpression":return a.isMixedLogicalAndCoalesceExpressions(d,g)?!0:l===g.left?n(d)<n(g):n(d)<=n(g);default:throw new Error(`Unexpected parent type: ${g.type}`)}}return{UnaryExpression(l){const d=l.parent;l.operator!=="!"||d.type!=="UnaryExpression"||d.operator!=="!"||i(d)&&o.report({node:d,messageId:"unexpectedNegation",fix(g){if(f(d))return null;if(s(d,l.argument))return g.replaceText(d,`(${t.getText(l.argument)})`);let v="";const S=t.getTokenBefore(d),b=t.getFirstToken(l.argument);return S&&S.range[1]===d.range[0]&&!a.canTokensBeAdjacent(S,b)&&(v=" "),g.replaceText(d,v+t.getText(l.argument))}})},CallExpression(l){l.callee.type!=="Identifier"||l.callee.name!=="Boolean"||i(l)&&o.report({node:l,messageId:"unexpectedCall",fix(d){const g=l.parent;if(l.arguments.length===0){if(g.type==="UnaryExpression"&&g.operator==="!"){if(f(g))return null;const v="true";let S="";const b=t.getTokenBefore(g);return b&&b.range[1]===g.range[0]&&!a.canTokensBeAdjacent(b,v)&&(S=" "),d.replaceText(g,S+v)}return f(l)?null:d.replaceText(l,"false")}if(l.arguments.length===1){const v=l.arguments[0];return v.type==="SpreadElement"||f(l)?null:s(l,v)?d.replaceText(l,`(${t.getText(v)})`):d.replaceText(l,t.getText(v))}return null}})}}}},wl}var Al,ov;function DT(){if(ov)return Al;ov=1;const a=Me();return Al={meta:{type:"suggestion",docs:{description:"Disallow unnecessary labels",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-extra-label"},schema:[],fixable:"code",messages:{unexpected:"This label '{{name}}' is unnecessary."}},create(e){const n=e.sourceCode;let o=null;function t(h){o={label:h.parent.type==="LabeledStatement"?h.parent.label:null,breakable:!0,upper:o}}function c(){o=o.upper}function p(h){a.isBreakableStatement(h.body)||(o={label:h.label,breakable:!1,upper:o})}function u(h){a.isBreakableStatement(h.body)||(o=o.upper)}function r(h){if(!h.label)return;const i=h.label;for(let f=o;f!==null;f=f.upper)if(f.breakable||f.label&&f.label.name===i.name){f.breakable&&f.label&&f.label.name===i.name&&e.report({node:i,messageId:"unexpected",data:i,fix(m){const s=n.getFirstToken(h);return n.commentsExistBetween(s,i)?null:m.removeRange([s.range[1],i.range[1]])}});return}}return{WhileStatement:t,"WhileStatement:exit":c,DoWhileStatement:t,"DoWhileStatement:exit":c,ForStatement:t,"ForStatement:exit":c,ForInStatement:t,"ForInStatement:exit":c,ForOfStatement:t,"ForOfStatement:exit":c,SwitchStatement:t,"SwitchStatement:exit":c,LabeledStatement:p,"LabeledStatement:exit":u,BreakStatement:r,ContinueStatement:r}}},Al}var Tl,lv;function IT(){if(lv)return Tl;lv=1;const{isParenthesized:a}=$t(),e=Me();return Tl={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"no-extra-parens",url:"https://eslint.style/rules/js/no-extra-parens"}}]},type:"layout",docs:{description:"Disallow unnecessary parentheses",recommended:!1,url:"https://eslint.org/docs/latest/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"},ternaryOperandBinaryExpressions:{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"},allowParensAfterCommentPattern:{type:"string"}},additionalProperties:!1}],minItems:0,maxItems:2}]},messages:{unexpected:"Unnecessary parentheses around expression."}},create(n){const o=n.sourceCode,t=new WeakSet,c=e.getPrecedence,p=n.options[0]!=="functions",u=p&&n.options[1]&&n.options[1].conditionalAssign===!1,r=p&&n.options[1]&&n.options[1].ternaryOperandBinaryExpressions===!1,h=p&&n.options[1]&&n.options[1].nestedBinaryExpressions===!1,i=p&&n.options[1]&&n.options[1].returnAssign===!1,f=p&&n.options[1]&&n.options[1].ignoreJSX,m=p&&n.options[1]&&n.options[1].enforceForArrowConditionals===!1,s=p&&n.options[1]&&n.options[1].enforceForSequenceExpressions===!1,l=p&&n.options[1]&&n.options[1].enforceForNewInMemberExpressions===!1,d=p&&n.options[1]&&n.options[1].enforceForFunctionPrototypeMethods===!1,g=p&&n.options[1]&&n.options[1].allowParensAfterCommentPattern,v=c({type:"AssignmentExpression"}),S=c({type:"UpdateExpression"});let b;function C($){const se=e.skipChainExpression($);if(se.type!=="CallExpression")return!1;const De=e.skipChainExpression(se.callee);return De.type==="MemberExpression"&&De.object.type==="FunctionExpression"&&["call","apply"].includes(e.getStaticPropertyName(De))}function w($){if($.type==="JSXElement"||$.type==="JSXFragment"){const se=$.loc.start.line===$.loc.end.line;switch(f){case"all":return!1;case"multi-line":return se;case"single-line":return!se}}return $.type==="SequenceExpression"&&s||C($)&&d?!1:p||$.type==="FunctionExpression"||$.type==="ArrowFunctionExpression"}function E($){return a(1,$,o)}function k($){return a(2,$,o)}function x($){return w($)&&E($)}function A($){return w($)&&k($)}function I($,se){return!!(w($)&&E($)&&(c($)>=se||k($)))}function B($){return u&&$.test.type==="AssignmentExpression"}function M($){for(let se=$;se;se=se.parent)if(se.type==="ReturnStatement"||se.type==="ArrowFunctionExpression"&&se.body.type!=="BlockStatement")return!0;return!1}function P($){const se=o.getLastToken($),De=o.getTokenBefore(se);return $.arguments.length>0||e.isOpeningParenToken(De)&&e.isClosingParenToken(se)&&$.callee.range[1]<$.range[1]}function D($){return!!($.type==="AssignmentExpression"||$.type==="ConditionalExpression"&&($.consequent.type==="AssignmentExpression"||$.alternate.type==="AssignmentExpression")||$.left&&$.left.type==="AssignmentExpression"||$.right&&$.right.type==="AssignmentExpression")}function R($){return!i||!M($)?!1:$.type==="ReturnStatement"?$.argument&&D($.argument):$.type==="ArrowFunctionExpression"&&$.body.type!=="BlockStatement"?D($.body):D($)}function N($,se){return $.loc.end.line===se.loc.start.line?x(se):A(se)}function q($){const se=o.getTokenBefore($),De=o.getTokenBefore(se,{includeComments:!0}),Le=o.getTokenAfter(se,{includeComments:!0});return De&&De.range[1]===se.range[0]&&se.range[1]===Le.range[0]&&!e.canTokensBeAdjacent(De,Le)}function L($){const se=o.getTokensAfter($,{count:2}),De=se[0],Le=se[1],Fe=o.getLastToken($);return De&&Le&&!o.isSpaceBetweenTokens(De,Le)&&!e.canTokensBeAdjacent(Fe,Le)}function W($){const se=e.skipChainExpression($);return se.type==="CallExpression"&&se.callee.type==="FunctionExpression"}function _($){return $&&($.type==="Identifier"||$.type==="MemberExpression")}function H($){return $.type!=="Literal"||typeof $.value!="string"||k($)?!0:!e.isTopLevelExpressionStatement($.parent)}function K($){const se=o.getTokenBefore($),De=o.getTokenAfter($);if(!k($)){if(t.has(o.getFirstToken($))||W($)&&!E($.callee))return;if(g){const Fe=o.getCommentsBefore(se),V=Fe.length,et=new RegExp(g,"u");if(V>0&&et.test(Fe[V-1].value))return}}function Le(){n.report({node:$,loc:se.loc,messageId:"unexpected",fix:H($)?Fe=>{const V=o.text.slice(se.range[1],De.range[0]);return Fe.replaceTextRange([se.range[0],De.range[1]],(q($)?" ":"")+V+(L($)?" ":""))}:null})}if(b){b.reports.push({node:$,finishReport:Le});return}Le()}function re($){I($.argument,c($))&&K($.argument)}function te($){let se=$.object,De=$.object.type;for(;De==="MemberExpression";)se=se.object,De=se.type;return De==="CallExpression"}function xe($){const se=$.callee;I(se,c($))&&(A(se)||!(W($)||se.type==="NewExpression"&&!P(se)&&!($.type==="NewExpression"&&!P($))||$.type==="NewExpression"&&se.type==="MemberExpression"&&te(se)||!$.optional&&se.type==="ChainExpression"))&&K($.callee),$.arguments.filter(De=>I(De,v)).forEach(K)}function Y($){const se=c($),De=c($.left),Le=c($.right),Fe=$.operator==="**",V=h&&($.left.type==="BinaryExpression"||$.left.type==="LogicalExpression"),et=h&&($.right.type==="BinaryExpression"||$.right.type==="LogicalExpression");!V&&x($.left)&&(!(["AwaitExpression","UnaryExpression"].includes($.left.type)&&Fe)&&!e.isMixedLogicalAndCoalesceExpressions($.left,$)&&(De>se||De===se&&!Fe)||k($.left))&&K($.left),!et&&x($.right)&&(!e.isMixedLogicalAndCoalesceExpressions($.right,$)&&(Le>se||Le===se&&Fe)||k($.right))&&K($.right)}function F($){if(!$.superClass)return;(c($.superClass)>S?x($.superClass):A($.superClass))&&K($.superClass)}function z($){I($.argument,v)&&K($.argument)}function ne($){const se=E($)?o.getTokenBefore($):o.getFirstToken($),De=o.getTokenAfter(se,e.isNotOpeningParenToken),Le=De?o.getTokenAfter(De):null,Fe=De?o.getTokenAfter(De,e.isNotClosingParenToken):null;e.isOpeningParenToken(se)&&(e.isOpeningBraceToken(De)||De.type==="Keyword"&&(De.value==="function"||De.value==="class"||De.value==="let"&&Fe&&(e.isOpeningBracketToken(Fe)||Fe.type==="Identifier"))||De&&De.type==="Identifier"&&De.value==="async"&&Le&&Le.type==="Keyword"&&Le.value==="function")&&t.add(De),($.parent.type==="ExportDefaultDeclaration"?I($,v):x($))&&K($)}function ae($,se){const De=[$];let Le=$;for(;Le!==se;){if(Le=Le.parent,Le===null)throw new Error("Nodes are not in the ancestor-descendant relationship.");De.push(Le)}return De}function be($,se){return ae(se,$).reverse()}function Pe($,se){switch($.type){case"ArrayExpression":case"ArrayPattern":case"BlockStatement":case"ObjectExpression":case"ObjectPattern":case"TemplateLiteral":return!0;case"ArrowFunctionExpression":case"FunctionExpression":return $.params.includes(se);case"CallExpression":case"NewExpression":return $.arguments.includes(se);case"MemberExpression":return $.computed&&$.property===se;case"ConditionalExpression":return $.consequent===se;default:return!1}}function Ie(){b={upper:b,inExpressionNodes:[],reports:[]}}function ue(){const{upper:$,inExpressionNodes:se,reports:De}=b;$?($.inExpressionNodes.push(...se),$.reports.push(...De)):De.forEach(({finishReport:Le})=>Le()),b=$}function ve($){return b.reports.some(se=>se.node===$)}function G($){b.reports=b.reports.filter(se=>se.node!==$)}function J($){return $.type==="MemberExpression"?$.parent.type==="NewExpression"&&$.parent.callee===$?!0:$.parent.object===$&&J($.parent):!1}function Te({left:$,operator:se,right:De}){if($.type==="Identifier"&&["=","&&=","||=","??="].includes(se)){const Le=De.type;if(Le==="ArrowFunctionExpression"||(Le==="FunctionExpression"||Le==="ClassExpression")&&!De.id)return!0}return!1}return{ArrayExpression($){$.elements.filter(se=>se&&I(se,v)).forEach(K)},ArrayPattern($){$.elements.filter(se=>_(se)&&x(se)).forEach(K)},ArrowFunctionExpression($){if(!R($)&&!($.body.type==="ConditionalExpression"&&m)&&$.body.type!=="BlockStatement"){const se=o.getFirstToken($.body,e.isNotOpeningParenToken),De=o.getTokenBefore(se);e.isOpeningParenToken(De)&&e.isOpeningBraceToken(se)&&t.add(se),I($.body,v)&&K($.body)}},AssignmentExpression($){_($.left)&&x($.left)&&(!Te($)||k($.left))&&K($.left),!R($)&&I($.right,c($))&&K($.right)},BinaryExpression($){b&&$.operator==="in"&&b.inExpressionNodes.push($),Y($)},CallExpression:xe,ConditionalExpression($){if(R($))return;const se=new Set(["BinaryExpression","LogicalExpression"]);!(r&&se.has($.test.type))&&!B($)&&I($.test,c({type:"LogicalExpression",operator:"||"}))&&K($.test),!(r&&se.has($.consequent.type))&&I($.consequent,v)&&K($.consequent),!(r&&se.has($.alternate.type))&&I($.alternate,v)&&K($.alternate)},DoWhileStatement($){x($.test)&&!B($)&&K($.test)},ExportDefaultDeclaration:$=>ne($.declaration),ExpressionStatement:$=>ne($.expression),ForInStatement($){if($.left.type!=="VariableDeclaration"){const se=o.getFirstToken($.left,e.isNotOpeningParenToken);se.value==="let"&&e.isOpeningBracketToken(o.getTokenAfter(se,e.isNotClosingParenToken))&&t.add(se)}x($.left)&&K($.left),x($.right)&&K($.right)},ForOfStatement($){if($.left.type!=="VariableDeclaration"){const se=o.getFirstToken($.left,e.isNotOpeningParenToken);se.value==="let"&&t.add(se)}x($.left)&&K($.left),I($.right,v)&&K($.right)},ForStatement($){if($.test&&x($.test)&&!B($)&&K($.test),$.update&&x($.update)&&K($.update),$.init){if($.init.type!=="VariableDeclaration"){const se=o.getFirstToken($.init,e.isNotOpeningParenToken);se.value==="let"&&e.isOpeningBracketToken(o.getTokenAfter(se,e.isNotClosingParenToken))&&t.add(se)}Ie(),x($.init)&&K($.init)}},"ForStatement > *.init:exit"($){b.reports.length&&b.inExpressionNodes.forEach(se=>{const De=be($,se);let Le;for(let Fe=0;Fe<De.length;Fe++){const V=De[Fe];if(Fe<De.length-1){const et=De[Fe+1];if(Pe(V,et))return}if(E(V))if(ve(V)){if(k(V))return;Le||(Le=V)}else return}G(Le)}),ue()},IfStatement($){x($.test)&&!B($)&&K($.test)},ImportExpression($){const{source:se}=$;se.type==="SequenceExpression"?A(se)&&K(se):x(se)&&K(se)},LogicalExpression:Y,MemberExpression($){const De=J($)&&te($)?A($.object):x($.object)&&!(C($.parent)&&$.parent.callee===$&&d);De&&c($.object)>=c($)&&($.computed||!(e.isDecimalInteger($.object)||$.object.type==="Literal"&&$.object.regex))&&K($.object),De&&$.object.type==="CallExpression"&&K($.object),De&&!l&&$.object.type==="NewExpression"&&P($.object)&&K($.object),De&&$.optional&&$.object.type==="ChainExpression"&&K($.object),$.computed&&x($.property)&&K($.property)},"MethodDefinition[computed=true]"($){I($.key,v)&&K($.key)},NewExpression:xe,ObjectExpression($){$.properties.filter(se=>se.value&&I(se.value,v)).forEach(se=>K(se.value))},ObjectPattern($){$.properties.filter(se=>{const De=se.value;return _(De)&&x(De)}).forEach(se=>K(se.value))},Property($){if($.computed){const{key:se}=$;se&&I(se,v)&&K(se)}},PropertyDefinition($){$.computed&&I($.key,v)&&K($.key),$.value&&I($.value,v)&&K($.value)},RestElement($){const se=$.argument;_(se)&&x(se)&&K(se)},ReturnStatement($){const se=o.getFirstToken($);R($)||$.argument&&N(se,$.argument)&&!($.argument.type==="Literal"&&$.argument.regex)&&K($.argument)},SequenceExpression($){const se=c($);$.expressions.filter(De=>I(De,se)).forEach(K)},SwitchCase($){$.test&&x($.test)&&K($.test)},SwitchStatement($){x($.discriminant)&&K($.discriminant)},ThrowStatement($){const se=o.getFirstToken($);N(se,$.argument)&&K($.argument)},UnaryExpression:re,UpdateExpression($){if($.prefix)re($);else{const{argument:se}=$,De=o.getLastToken($);se.loc.end.line===De.loc.start.line?re($):A(se)&&K(se)}},AwaitExpression:re,VariableDeclarator($){$.init&&I($.init,v)&&!($.init.type==="Literal"&&$.init.regex)&&K($.init)},WhileStatement($){x($.test)&&!B($)&&K($.test)},WithStatement($){x($.object)&&K($.object)},YieldExpression($){if($.argument){const se=o.getFirstToken($);(c($.argument)>=c($)&&N(se,$.argument)||A($.argument))&&K($.argument)}},ClassDeclaration:F,ClassExpression:F,SpreadElement:z,SpreadProperty:z,ExperimentalSpreadProperty:z,TemplateLiteral($){$.expressions.filter(se=>se&&x(se)).forEach(K)},AssignmentPattern($){const{left:se,right:De}=$;_(se)&&x(se)&&K(se),De&&I(De,v)&&K(De)}}}},Tl}var kl,uv;function PT(){if(uv)return kl;uv=1;const a=fn(),e=Me();return kl={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"no-extra-semi",url:"https://eslint.style/rules/js/no-extra-semi"}}]},type:"suggestion",docs:{description:"Disallow unnecessary semicolons",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-extra-semi"},fixable:"code",schema:[],messages:{unexpected:"Unnecessary semicolon."}},create(n){const o=n.sourceCode;function t(u){const r=o.getTokenAfter(u);if(!r||r.type!=="String")return!0;const h=o.getNodeByRangeIndex(r.range[0]);return!e.isTopLevelExpressionStatement(h.parent)}function c(u){n.report({node:u,messageId:"unexpected",fix:t(u)?r=>new a(r,n.sourceCode).retainSurroundingTokens(u).remove(u):null})}function p(u){for(let r=u;r.type==="Punctuator"&&!e.isClosingBraceToken(r);r=o.getTokenAfter(r))e.isSemicolonToken(r)&&c(r)}return{EmptyStatement(u){const r=u.parent;["ForStatement","ForInStatement","ForOfStatement","WhileStatement","DoWhileStatement","IfStatement","LabeledStatement","WithStatement"].includes(r.type)||c(u)},ClassBody(u){p(o.getFirstToken(u,1))},"MethodDefinition, PropertyDefinition, StaticBlock"(u){p(o.getTokenAfter(u))}}}},kl}var Dl,cv;function FT(){if(cv)return Dl;cv=1;const{directivesPattern:a}=rd(),e=/falls?\s?through/iu;function n(p){for(const u of p)if(u.reachable)return!0;return!1}function o(p,u){return u.test(p)&&!a.test(p.trim())}function t(p,u,r,h){const i=r.sourceCode;if(p.consequent.length===1&&p.consequent[0].type==="BlockStatement"){const m=i.getLastToken(p.consequent[0]),s=i.getCommentsBefore(m).pop();if(s&&o(s.value,h))return s}const f=i.getCommentsBefore(u).pop();return f&&o(f.value,h)?f:null}function c(p,u){return u.loc.start.line>p.loc.end.line+1}return Dl={meta:{type:"problem",defaultOptions:[{allowEmptyCase:!1,reportUnusedFallthroughComment:!1}],docs:{description:"Disallow fallthrough of `case` statements",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-fallthrough"},schema:[{type:"object",properties:{commentPattern:{type:"string"},allowEmptyCase:{type:"boolean"},reportUnusedFallthroughComment:{type:"boolean"}},additionalProperties:!1}],messages:{unusedFallthroughComment:"Found a comment that would permit fallthrough, but case cannot fall through.",case:"Expected a 'break' statement before 'case'.",default:"Expected a 'break' statement before 'default'."}},create(p){const u=[];let r=new Set;const h=p.sourceCode,[{allowEmptyCase:i,commentPattern:f,reportUnusedFallthroughComment:m}]=p.options,s=f?new RegExp(f,"u"):e;let l=null;return{onCodePathStart(){u.push(r),r=new Set},onCodePathEnd(){r=u.pop()},onUnreachableCodePathSegmentStart(d){r.add(d)},onUnreachableCodePathSegmentEnd(d){r.delete(d)},onCodePathSegmentStart(d){r.add(d)},onCodePathSegmentEnd(d){r.delete(d)},SwitchCase(d){if(l&&l.node.parent===d.parent){const g=t(l.node,d,p,s);l.isFallthrough&&!g?p.report({messageId:d.test?"case":"default",node:d}):m&&!l.isSwitchExitReachable&&g&&p.report({messageId:"unusedFallthroughComment",node:g})}l=null},"SwitchCase:exit"(d){const g=h.getTokenAfter(d),v=n(r),S=v&&(d.consequent.length>0||!i&&c(d,g))&&d.parent.cases.at(-1)!==d;l={node:d,isSwitchExitReachable:v,isFallthrough:S}}}}},Dl}var Il,fv;function RT(){if(fv)return Il;fv=1;const a=Me();return Il={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"no-floating-decimal",url:"https://eslint.style/rules/js/no-floating-decimal"}}]},type:"suggestion",docs:{description:"Disallow leading or trailing decimal points in numeric literals",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.sourceCode;return{Literal(o){typeof o.value=="number"&&(o.raw.startsWith(".")&&e.report({node:o,messageId:"leading",fix(t){const c=n.getTokenBefore(o),p=c&&c.range[1]===o.range[0]&&!a.canTokensBeAdjacent(c,`0${o.raw}`);return t.insertTextBefore(o,p?" 0":"0")}}),o.raw.indexOf(".")===o.raw.length-1&&e.report({node:o,messageId:"trailing",fix:t=>t.insertTextAfter(o,"0")}))}}}},Il}var Pl,pv;function _T(){if(pv)return Pl;pv=1;const a=Me();return Pl={meta:{type:"problem",docs:{description:"Disallow reassigning `function` declarations",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-func-assign"},schema:[],messages:{isAFunction:"'{{name}}' is a function."}},create(e){const n=e.sourceCode;function o(p){a.getModifyingReferences(p).forEach(u=>{e.report({node:u.identifier,messageId:"isAFunction",data:{name:u.identifier.name}})})}function t(p){p.defs[0].type==="FunctionName"&&o(p.references)}function c(p){n.getDeclaredVariables(p).forEach(t)}return{FunctionDeclaration:c,FunctionExpression:c}}},Pl}var Fl,mv;function BT(){return mv||(mv=1,Fl={meta:{type:"suggestion",defaultOptions:[{exceptions:[]}],docs:{description:"Disallow assignments to native objects or read-only global variables",recommended:!0,url:"https://eslint.org/docs/latest/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(a){const e=a.sourceCode,[{exceptions:n}]=a.options;function o(c,p,u){const r=c.identifier;c.init===!1&&c.isWrite()&&(p===0||u[p-1].identifier!==r)&&a.report({node:r,messageId:"globalShouldNotBeModified",data:{name:r.name}})}function t(c){c.writeable===!1&&!n.includes(c.name)&&c.references.forEach(o)}return{Program(c){e.getScope(c).variables.forEach(t)}}}}),Fl}var Rl,hv;function LT(){if(hv)return Rl;hv=1;const a=Me(),e=/^(?:i|lastI)ndexOf$/u,n=["~","!!","+","- -","-","*"];function o(l){return l.operator==="!"&&l.argument.type==="UnaryExpression"&&l.argument.operator==="!"}function t(l){if(l.operator!=="~")return!1;const d=a.skipChainExpression(l.argument);return d.type==="CallExpression"&&a.isSpecificMemberAccess(d.callee,null,e)}function c(l){return l.operator==="*"&&(l.left.type==="Literal"&&l.left.value===1||l.right.type==="Literal"&&l.right.value===1)}function p(l,d){return l.type==="BinaryExpression"&&l.operator==="*"&&l.right.type==="Literal"&&l.right.value===1&&l.parent.type==="BinaryExpression"&&l.parent.operator==="/"&&l.parent.left===l&&!a.isParenthesised(d,l)}function u(l){return l.type==="Literal"&&typeof l.value=="number"||l.type==="CallExpression"&&(l.callee.name==="Number"||l.callee.name==="parseInt"||l.callee.name==="parseFloat")}function r(l){const d=l.left,g=l.right;return g.type!=="BinaryExpression"&&!u(g)?g:d.type!=="BinaryExpression"&&!u(d)?d:null}function h(l){return a.isStringLiteral(l)||l.type==="CallExpression"&&l.callee.type==="Identifier"&&l.callee.name==="String"}function i(l){return a.isStringLiteral(l)&&(l.value===""||l.type==="TemplateLiteral"&&l.quasis.length===1&&l.quasis[0].value.cooked==="")}function f(l){return l.operator==="+"&&(i(l.left)&&!h(l.right)||i(l.right)&&!h(l.left))}function m(l){return l.operator==="+="&&i(l.right)}function s(l){return i(l.left)?l.right:l.left}return Rl={meta:{hasSuggestions:!0,type:"suggestion",docs:{description:"Disallow shorthand type conversions",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-implicit-coercion"},fixable:"code",schema:[{type:"object",properties:{boolean:{type:"boolean"},number:{type:"boolean"},string:{type:"boolean"},disallowTemplateShorthand:{type:"boolean"},allow:{type:"array",items:{enum:n},uniqueItems:!0}},additionalProperties:!1}],defaultOptions:[{allow:[],boolean:!0,disallowTemplateShorthand:!1,number:!0,string:!0}],messages:{implicitCoercion:"Unexpected implicit coercion encountered. Use `{{recommendation}}` instead.",useRecommendation:"Use `{{recommendation}}` instead."}},create(l){const[d]=l.options,g=l.sourceCode;function v(S,b,C,w){function E(k){const x=g.getTokenBefore(S);return(x==null?void 0:x.range[1])===S.range[0]&&!a.canTokensBeAdjacent(x,b)?k.replaceText(S,` ${b}`):k.replaceText(S,b)}l.report({node:S,messageId:"implicitCoercion",data:{recommendation:b},fix(k){return w?E(k):null},suggest:[{messageId:"useRecommendation",data:{recommendation:b},fix(k){return w||!C?null:E(k)}}]})}return{UnaryExpression(S){let b;if(b=d.allow.includes("!!"),!b&&d.boolean&&o(S)){const C=`Boolean(${g.getText(S.argument.argument)})`,w=a.getVariableByName(g.getScope(S),"Boolean"),E=(w==null?void 0:w.identifiers.length)===0;v(S,C,!0,E)}if(b=d.allow.includes("~"),!b&&d.boolean&&t(S)){const C=S.argument.type==="ChainExpression"?">= 0":"!== -1",w=`${g.getText(S.argument)} ${C}`;v(S,w,!1,!1)}if(b=d.allow.includes("+"),!b&&d.number&&S.operator==="+"&&!u(S.argument)){const C=`Number(${g.getText(S.argument)})`;v(S,C,!0,!1)}if(b=d.allow.includes("- -"),!b&&d.number&&S.operator==="-"&&S.argument.type==="UnaryExpression"&&S.argument.operator==="-"&&!u(S.argument.argument)){const C=`Number(${g.getText(S.argument.argument)})`;v(S,C,!0,!1)}},"BinaryExpression:exit"(S){let b;b=d.allow.includes("*");const C=!b&&d.number&&c(S)&&!p(S,g)&&r(S);if(C){const w=`Number(${g.getText(C)})`;v(S,w,!0,!1)}if(b=d.allow.includes("-"),!b&&d.number&&S.operator==="-"&&S.right.type==="Literal"&&S.right.value===0&&!u(S.left)){const w=`Number(${g.getText(S.left)})`;v(S,w,!0,!1)}if(b=d.allow.includes("+"),!b&&d.string&&f(S)){const w=`String(${g.getText(s(S))})`;v(S,w,!0,!1)}},AssignmentExpression(S){if(!d.allow.includes("+")&&d.string&&m(S)){const C=g.getText(s(S)),w=`${C} = String(${C})`;v(S,w,!0,!1)}},TemplateLiteral(S){if(!d.disallowTemplateShorthand||S.parent.type==="TaggedTemplateExpression"||S.expressions.length!==1||S.quasis[0].value.cooked!==""||S.quasis[1].value.cooked!==""||h(S.expressions[0]))return;const C=`String(${g.getText(S.expressions[0])})`;v(S,C,!0,!1)}}}},Rl}var _l,dv;function OT(){if(dv)return _l;dv=1;const a=new Set(["AssignmentExpression","ForInStatement","ForOfStatement"]);return _l={meta:{type:"suggestion",defaultOptions:[{lexicalBindings:!1}],docs:{description:"Disallow declarations in the global scope",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-implicit-globals"},schema:[{type:"object",properties:{lexicalBindings:{type:"boolean"}},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(e){const[{lexicalBindings:n}]=e.options,o=e.sourceCode;function t(c,p,u){e.report({node:c,messageId:p,data:{kind:u}})}return{Program(c){const p=o.getScope(c);p.variables.forEach(u=>{const r=u.writeable===!1;u.writeable!==!0&&(u.eslintExported||(u.defs.forEach(i=>{const f=i.node;(i.type==="FunctionName"||i.type==="Variable"&&i.parent.kind==="var")&&(r?t(f,"redeclarationOfReadonlyGlobal"):t(f,"globalNonLexicalBinding",i.type==="FunctionName"?"function":`'${i.parent.kind}'`)),n&&(i.type==="ClassName"||i.type==="Variable"&&(i.parent.kind==="let"||i.parent.kind==="const"))&&(r?t(f,"redeclarationOfReadonlyGlobal"):t(f,"globalLexicalBinding",i.type==="ClassName"?"class":`'${i.parent.kind}'`))}),r&&u.defs.length===0&&u.references.forEach(i=>{if(i.isWrite()&&!i.isRead()){let f=i.identifier.parent;for(;f&&!a.has(f.type);)f=f.parent;t(f??i.identifier,"assignmentToReadonlyGlobal")}})))}),p.implicit.variables.forEach(u=>{u.defs.forEach(r=>{t(r.node,"globalVariableLeak")})})}}}},_l}var Bl,gv;function NT(){if(gv)return Bl;gv=1;const a=Me(),{getStaticValue:e}=$t();return Bl={meta:{type:"suggestion",docs:{description:"Disallow the use of `eval()`-like methods",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-implied-eval"},schema:[],messages:{impliedEval:"Implied eval. Consider passing a function instead of a string."}},create(n){const o=Object.freeze(["global","window","globalThis"]),t=/^(?:set(?:Interval|Timeout)|execScript)$/u,c=n.sourceCode;function p(h){return h.type==="Literal"&&typeof h.value=="string"||h.type==="TemplateLiteral"?!0:h.type==="BinaryExpression"&&h.operator==="+"?p(h.left)||p(h.right):!1}function u(h){const[i]=h.arguments;if(i){const f=e(i,c.getScope(h));(f&&typeof f.value=="string"||p(i))&&n.report({node:h,messageId:"impliedEval"})}}function r(h){const{references:i,name:f}=h;i.forEach(m=>{let l=m.identifier.parent;for(;a.isSpecificMemberAccess(l,null,f);)l=l.parent;if(a.isSpecificMemberAccess(l,null,t)){const d=l.parent.type==="ChainExpression"?l.parent:l,g=d.parent;g.type==="CallExpression"&&g.callee===d&&u(g)}})}return{CallExpression(h){a.isSpecificId(h.callee,t)&&u(h)},"Program:exit"(h){const i=c.getScope(h);o.map(f=>a.getVariableByName(i,f)).filter(f=>!!f&&f.defs.length===0).forEach(r)}}}},Bl}var Ll,yv;function jT(){if(yv)return Ll;yv=1;const{findVariable:a}=$t(),e=Me(),n={Object:/^(?:assign|definePropert(?:y|ies)|freeze|setPrototypeOf)$/u,Reflect:/^(?:(?:define|delete)Property|set(?:PrototypeOf)?)$/u};function o(h){const{parent:i}=h;return i.type==="AssignmentExpression"&&i.left===h||i.type==="ArrayPattern"||i.type==="Property"&&i.value===h&&i.parent.type==="ObjectPattern"||i.type==="RestElement"||i.type==="AssignmentPattern"&&i.left===h}function t(h){const i=h.parent.type==="ChainExpression"?h.parent:h,{parent:f}=i;return f.type==="UpdateExpression"&&f.argument===i||f.type==="UnaryExpression"&&f.operator==="delete"&&f.argument===i}function c(h){const{parent:i}=h;return i.type==="ForInStatement"&&i.left===h||i.type==="ForOfStatement"&&i.left===h}function p(h,i){const{parent:f}=h;if(f.type!=="CallExpression"||f.arguments[0]!==h)return!1;const m=e.skipChainExpression(f.callee);if(!e.isSpecificMemberAccess(m,"Object",n.Object)&&!e.isSpecificMemberAccess(m,"Reflect",n.Reflect))return!1;const s=a(i,m.object);return s!==null&&s.scope.type==="global"}function u(h,i){const{parent:f}=h;return f.type==="MemberExpression"&&f.object===h&&(o(f)||t(f)||c(f))||p(h,i)}function r(h){let i=h.parent;for(;i&&i.type!=="AssignmentExpression"&&i.type!=="UpdateExpression"&&i.type!=="UnaryExpression"&&i.type!=="CallExpression"&&i.type!=="ForInStatement"&&i.type!=="ForOfStatement";)i=i.parent;return i||h}return Ll={meta:{type:"problem",docs:{description:"Disallow assigning to imported bindings",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-import-assign"},schema:[],messages:{readonly:"'{{name}}' is read-only.",readonlyMember:"The members of '{{name}}' are read-only."}},create(h){const i=h.sourceCode;return{ImportDeclaration(f){const m=i.getScope(f);for(const s of i.getDeclaredVariables(f)){const l=s.defs.some(g=>g.node.type==="ImportNamespaceSpecifier");let d=null;for(const g of s.references){const v=g.identifier;v!==d&&(d=v,g.isWrite()?h.report({node:r(v),messageId:"readonly",data:{name:v.name}}):l&&u(v,m)&&h.report({node:r(v),messageId:"readonlyMember",data:{name:v.name}}))}}}}}},Ll}var Ol,vv;function MT(){if(vv)return Ol;vv=1;const a=Me();return Ol={meta:{type:"suggestion",defaultOptions:[{}],docs:{description:"Disallow inline comments after code",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-inline-comments"},schema:[{type:"object",properties:{ignorePattern:{type:"string"}},additionalProperties:!1}],messages:{unexpectedInlineComment:"Unexpected comment inline with code."}},create(e){const n=e.sourceCode,[{ignorePattern:o}]=e.options,t=o&&new RegExp(o,"u");function c(p){const u=String(n.lines[p.loc.start.line-1]),r=String(n.lines[p.loc.end.line-1]),h=u.slice(0,p.loc.start.column).trim(),i=r.slice(p.loc.end.column).trim(),f=!h,m=!i;if(!(f&&m)&&!(t&&t.test(p.value))){if((f||h==="{")&&(m||i==="}")){const s=n.getNodeByRangeIndex(p.range[0]);if(s&&s.type==="JSXEmptyExpression")return}a.isDirectiveComment(p)||e.report({node:p,messageId:"unexpectedInlineComment"})}}return{Program(){n.getAllComments().filter(p=>p.type!=="Shebang").forEach(c)}}}},Ol}var Nl,Ev;function UT(){if(Ev)return Nl;Ev=1;const a=Me(),e=new Set(["Program","StaticBlock","ExportNamedDeclaration","ExportDefaultDeclaration"]),n=new Set(["FunctionDeclaration","FunctionExpression","ArrowFunctionExpression"]);function o(t){let{parent:c}=t;for(;c;){if(c.type==="StaticBlock")return"class static block body";if(a.isFunction(c))return"function body";({parent:c}=c)}return"program"}return Nl={meta:{type:"problem",defaultOptions:["functions",{blockScopedFunctions:"allow"}],docs:{description:"Disallow variable or `function` declarations in nested blocks",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-inner-declarations"},schema:[{enum:["functions","both"]},{type:"object",properties:{blockScopedFunctions:{enum:["allow","disallow"]}},additionalProperties:!1}],messages:{moveDeclToRoot:"Move {{type}} declaration to {{body}} root."}},create(t){const c=t.options[0]==="both",{blockScopedFunctions:p}=t.options[1],u=t.sourceCode,r=t.languageOptions.ecmaVersion;function h(i){const f=i.parent;f.type==="BlockStatement"&&n.has(f.parent.type)||e.has(f.type)||t.report({node:i,messageId:"moveDeclToRoot",data:{type:i.type==="FunctionDeclaration"?"function":"variable",body:o(i)}})}return{FunctionDeclaration(i){const f=u.getScope(i).upper.isStrict;p==="allow"&&r>=2015&&f||h(i)},VariableDeclaration(i){c&&i.kind==="var"&&h(i)}}}},Nl}var jl,Sv;function qT(){if(Sv)return jl;Sv=1;const a=fr().RegExpValidator,e=new a,n="dgimsuvy",o=void 0;return jl={meta:{type:"problem",defaultOptions:[{}],docs:{description:"Disallow invalid regular expression strings in `RegExp` constructors",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-invalid-regexp"},schema:[{type:"object",properties:{allowConstructorFlags:{type:"array",items:{type:"string"}}},additionalProperties:!1}],messages:{regexMessage:"{{message}}."}},create(t){const[{allowConstructorFlags:c}]=t.options;let p=[];if(c){const m=c.join("").replace(new RegExp(`[${n}]`,"gu"),"");m&&(p=[...new Set(m)])}function u(m,s){t.report({node:m,messageId:"regexMessage",data:{message:s}})}function r(m){return m&&m.type==="Literal"&&typeof m.value=="string"}function h(m){return m.arguments.length<2?"":r(m.arguments[1])?m.arguments[1].value:null}function i(m,s){try{return e.validatePattern(m,o,o,s),null}catch(l){return l.message}}function f(m,s,l){const d=[];if(typeof s=="string")for(const g of s)l.includes(g)&&d.push(g);return m&&m.includes("u")&&m.includes("v")?"Regex 'u' and 'v' flags cannot be used together":d.length>0?`Duplicate flags ('${d.join("")}') supplied to RegExp constructor`:s?`Invalid flags supplied to RegExp constructor '${s}'`:null}return{"CallExpression, NewExpression"(m){if(m.callee.type!=="Identifier"||m.callee.name!=="RegExp")return;const s=h(m);let l=s;const d=p.length>0?n.split("").concat(p):n.split("");s&&d.forEach(S=>{l=l.replace(S,"")});let g=f(s,l,d);if(g){u(m,g);return}if(!r(m.arguments[0]))return;const v=m.arguments[0].value;g=s===null?i(v,{unicode:!0,unicodeSets:!1})&&i(v,{unicode:!1,unicodeSets:!0})&&i(v,{unicode:!1,unicodeSets:!1}):i(v,{unicode:s.includes("u"),unicodeSets:s.includes("v")}),g&&u(m,g)}}}},jl}var Ml,bv;function VT(){if(bv)return Ml;bv=1;const a=Me();function e(n,o){return n.origin==="function"&&o.type==="ArrowFunctionExpression"}return Ml={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",defaultOptions:[{capIsConstructor:!0}],docs:{description:"Disallow use of `this` in contexts where the value of `this` is `undefined`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-invalid-this"},schema:[{type:"object",properties:{capIsConstructor:{type:"boolean"}},additionalProperties:!1}],messages:{unexpectedThis:"Unexpected 'this'."}},create(n){const[{capIsConstructor:o}]=n.options,t=[],c=n.sourceCode;return t.getCurrent=function(){const p=this.at(-1);return p.init||(p.init=!0,p.valid=!a.isDefaultThisBinding(p.node,c,{capIsConstructor:o})),p},{onCodePathStart(p,u){if(!e(p,u)){if(p.origin==="program"){const r=c.getScope(u),h=n.languageOptions.parserOptions.ecmaFeatures||{};t.push({init:!0,node:u,valid:!(u.sourceType==="module"||h.globalReturn&&r.childScopes[0].isStrict)});return}t.push({init:!c.getScope(u).isStrict,node:u,valid:!0})}},onCodePathEnd(p,u){e(p,u)||t.pop()},"AccessorProperty > *.value"(p){t.push({init:!0,node:p,valid:!0})},"AccessorProperty:exit"(){t.pop()},ThisExpression(p){if(p.parent.type==="AccessorProperty"&&p.parent.value===p)return;const u=t.getCurrent();u&&!u.valid&&n.report({node:p,messageId:"unexpectedThis"})}}}},Ml}var Ul,xv;function $T(){if(xv)return Ul;xv=1;const a=Me(),e=/[\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,n=/[\f\v\u0085\ufeff\u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u200b\u202f\u205f\u3000]+/gmu,o=/[\u2028\u2029]/gmu,t=a.createGlobalLinebreakMatcher();return Ul={meta:{type:"problem",defaultOptions:[{skipComments:!1,skipJSXText:!1,skipRegExps:!1,skipStrings:!0,skipTemplates:!1}],docs:{description:"Disallow irregular whitespace",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-irregular-whitespace"},schema:[{type:"object",properties:{skipComments:{type:"boolean"},skipStrings:{type:"boolean"},skipTemplates:{type:"boolean"},skipRegExps:{type:"boolean"},skipJSXText:{type:"boolean"}},additionalProperties:!1}],messages:{noIrregularWhitespace:"Irregular whitespace not allowed."}},create(c){const[{skipComments:p,skipStrings:u,skipRegExps:r,skipTemplates:h,skipJSXText:i}]=c.options,f=c.sourceCode,m=f.getAllComments();let s=[];function l(k){const x=k.loc.start,A=k.loc.end;s=s.filter(({loc:{start:I}})=>I.line<x.line||I.line===x.line&&I.column<x.column||I.line===A.line&&I.column>=A.column||I.line>A.line)}function d(k){const x=u&&typeof k.value=="string",A=r&&!!k.regex;(x||A)&&e.test(k.raw)&&l(k)}function g(k){typeof k.value.raw=="string"&&e.test(k.value.raw)&&l(k)}function v(k){e.test(k.value)&&l(k)}function S(k){e.test(k.raw)&&l(k)}function b(k){f.lines.forEach((A,I)=>{const B=I+1;let M;for(;(M=n.exec(A))!==null;)s.push({node:k,messageId:"noIrregularWhitespace",loc:{start:{line:B,column:M.index},end:{line:B,column:M.index+M[0].length}}})})}function C(k){const x=f.getText(),A=f.lines,I=x.match(t);let B=-1,M;for(;(M=o.exec(x))!==null;){const P=I.indexOf(M[0],B+1)||0;s.push({node:k,messageId:"noIrregularWhitespace",loc:{start:{line:P+1,column:A[P].length},end:{line:P+2,column:0}}}),B=P}}function w(){}const E={};return e.test(f.getText())?(E.Program=function(k){b(k),C(k)},E.Literal=d,E.TemplateElement=h?g:w,E.JSXText=i?S:w,E["Program:exit"]=function(){p&&m.forEach(v),s.forEach(k=>c.report(k))}):E.Program=w,E}},Ul}var ql,Cv;function WT(){if(Cv)return ql;Cv=1;const{getStaticPropertyName:a}=Me();return ql={meta:{type:"suggestion",docs:{description:"Disallow the use of the `__iterator__` property",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-iterator"},schema:[],messages:{noIterator:"Reserved name '__iterator__'."}},create(e){return{MemberExpression(n){a(n)==="__iterator__"&&e.report({node:n,messageId:"noIterator"})}}}},ql}var Vl,wv;function GT(){if(wv)return Vl;wv=1;const a=Me();return Vl={meta:{type:"suggestion",docs:{description:"Disallow labels that share a name with a variable",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-label-var"},schema:[],messages:{identifierClashWithLabel:"Found identifier with same name as label."}},create(e){const n=e.sourceCode;function o(t,c){return a.getVariableByName(t,c)!==null}return{LabeledStatement(t){const c=n.getScope(t);o(c,t.label.name)&&e.report({node:t,messageId:"identifierClashWithLabel"})}}}},Vl}var $l,Av;function zT(){if(Av)return $l;Av=1;const a=Me();return $l={meta:{type:"suggestion",defaultOptions:[{allowLoop:!1,allowSwitch:!1}],docs:{description:"Disallow labeled statements",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-labels"},schema:[{type:"object",properties:{allowLoop:{type:"boolean"},allowSwitch:{type:"boolean"}},additionalProperties:!1}],messages:{unexpectedLabel:"Unexpected labeled statement.",unexpectedLabelInBreak:"Unexpected label in break statement.",unexpectedLabelInContinue:"Unexpected label in continue statement."}},create(e){const[{allowLoop:n,allowSwitch:o}]=e.options;let t=null;function c(r){return a.isLoop(r)?"loop":r.type==="SwitchStatement"?"switch":"other"}function p(r){switch(r){case"loop":return n;case"switch":return o;default:return!1}}function u(r){let h=t;for(;h;){if(h.label===r)return h.kind;h=h.upper}return"other"}return{LabeledStatement(r){t={label:r.label.name,kind:c(r.body),upper:t}},"LabeledStatement:exit"(r){p(t.kind)||e.report({node:r,messageId:"unexpectedLabel"}),t=t.upper},BreakStatement(r){r.label&&!p(u(r.label.name))&&e.report({node:r,messageId:"unexpectedLabelInBreak"})},ContinueStatement(r){r.label&&!p(u(r.label.name))&&e.report({node:r,messageId:"unexpectedLabelInContinue"})}}}},$l}var Wl,Tv;function HT(){return Tv||(Tv=1,Wl={meta:{type:"suggestion",docs:{description:"Disallow unnecessary nested blocks",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-lone-blocks"},schema:[],messages:{redundantBlock:"Block is redundant.",redundantNestedBlock:"Nested block is redundant."}},create(a){const e=[];let n;const o=a.sourceCode;function t(u){const r=u.parent.type==="BlockStatement"||u.parent.type==="StaticBlock"?"redundantNestedBlock":"redundantBlock";a.report({node:u,messageId:r})}function c(u){return u.parent.type==="BlockStatement"||u.parent.type==="StaticBlock"||u.parent.type==="Program"||u.parent.type==="SwitchCase"&&!(u.parent.consequent[0]===u&&u.parent.consequent.length===1)}function p(u){if(e.length===0)return;const r=u.parent;e.at(-1)===r&&e.pop()}return n={BlockStatement(u){c(u)&&t(u)}},a.languageOptions.ecmaVersion>=2015&&(n={BlockStatement(u){c(u)&&e.push(u)},"BlockStatement:exit"(u){e.length>0&&e.at(-1)===u?(e.pop(),t(u)):(u.parent.type==="BlockStatement"||u.parent.type==="StaticBlock")&&u.parent.body.length===1&&t(u)}},n.VariableDeclaration=function(u){u.kind!=="var"&&p(u)},n.FunctionDeclaration=function(u){o.getScope(u).isStrict&&p(u)},n.ClassDeclaration=p),n}}),Wl}var Gl,kv;function KT(){if(kv)return Gl;kv=1;const a=Me();return Gl={meta:{type:"suggestion",docs:{description:"Disallow `if` statements as the only statement in `else` blocks",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-lonely-if"},schema:[],fixable:"code",messages:{unexpectedLonelyIf:"Unexpected if as the only statement in an else block."}},create(e){const n=e.sourceCode;return{IfStatement(o){const t=o.parent,c=t.parent;t&&t.type==="BlockStatement"&&t.body.length===1&&!a.areBracesNecessary(t,n)&&c&&c.type==="IfStatement"&&t===c.alternate&&e.report({node:o,messageId:"unexpectedLonelyIf",fix(p){const u=n.getFirstToken(t),r=n.getLastToken(t),h=n.getTokenBefore(u),i=n.getTokenAfter(r),f=n.getLastToken(o.consequent),m=n.getText();return m.slice(u.range[1],o.range[0]).trim()||m.slice(o.range[1],r.range[0]).trim()||o.consequent.type!=="BlockStatement"&&f.value!==";"&&i&&(o.consequent.loc.end.line===i.loc.start.line||/^[([/+`-]/u.test(i.value)||f.value==="++"||f.value==="--")?null:p.replaceTextRange([u.range[0],r.range[1]],(h.range[1]===u.range[0]?" ":"")+n.getText(o))}})}}}},Gl}var zl,Dv;function XT(){if(Dv)return zl;Dv=1;function a(e){return(e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression")&&e.parent&&e.parent.type==="CallExpression"&&e.parent.callee===e}return zl={meta:{type:"suggestion",dialects:["typescript","javascript"],language:"javascript",docs:{description:"Disallow function declarations that contain unsafe references inside loop statements",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-loop-func"},schema:[],messages:{unsafeRefs:"Function declared in a loop contains unsafe references to variable(s) {{ varNames }}."}},create(e){const n=new Set,o=e.sourceCode;function t(r){for(let h=r;h.parent;h=h.parent){const i=h.parent;switch(i.type){case"WhileStatement":case"DoWhileStatement":return i;case"ForStatement":if(i.init!==h)return i;break;case"ForInStatement":case"ForOfStatement":if(i.right!==h)return i;break;case"ArrowFunctionExpression":case"FunctionExpression":case"FunctionDeclaration":if(n.has(i))break;return null}}return null}function c(r,h){const i=h?h.range[1]:0;let f=r,m=r;for(;m&&m.range[0]>=i;)f=m,m=t(m);return f}function p(r,h){const i=h.resolved,f=i&&i.defs[0],m=f&&f.parent,s=m&&m.type==="VariableDeclaration"?m.kind:"";if(s==="const"||s==="let"&&m.range[0]>r.range[0]&&m.range[1]<r.range[1])return!0;const l=c(r,s==="let"?m:null).range[0];function d(g){const v=g.identifier;return!g.isWrite()||i.scope.variableScope===g.from.variableScope&&v.range[0]<l}return!!i&&i.references.every(d)}function u(r){const h=t(r);if(!h)return;const i=o.getScope(r).through;if(!(r.async||r.generator)&&a(r)&&!(r.type==="FunctionExpression"&&r.id?i.some(l=>l.identifier.name===r.id.name):!1)){n.add(r);return}const f=[...new Set(i.filter(m=>m.resolved&&!p(h,m)).map(m=>m.identifier.name))];f.length>0&&e.report({node:r,messageId:"unsafeRefs",data:{varNames:`'${f.join("', '")}'`}})}return{ArrowFunctionExpression:u,FunctionExpression:u,FunctionDeclaration:u}}},zl}var Hl,Iv;function JT(){return Iv||(Iv=1,Hl={meta:{type:"problem",dialects:["typescript","javascript"],language:"javascript",docs:{description:"Disallow literal numbers that lose precision",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-loss-of-precision"},schema:[],messages:{noLossOfPrecision:"This number literal will lose precision at runtime."}},create(a){function e(s){return typeof s.value=="number"}function n(s){return s.raw.replace(/_/gu,"")}function o(s){return["0x","0X","0b","0B","0o","0O"].every(d=>!s.raw.startsWith(d))&&!/^0[0-7]+$/u.test(s.raw)}function t(s){const l=n(s).toUpperCase();let d;return l.startsWith("0B")?d=2:l.startsWith("0X")?d=16:d=8,!l.endsWith(s.value.toString(d).toUpperCase())}function c(s){return`${s[0]}.${s.slice(1)}`}function p(s){for(let l=0;l<s.length;l++)if(s[l]!=="0")return s.slice(l);return s}function u(s){for(let l=s.length-1;l>=0;l--)if(s[l]!=="0")return s.slice(0,l+1);return s}function r(s){const l=u(p(s));return{magnitude:s.startsWith("0")?s.length-2:s.length-1,coefficient:c(l)}}function h(s){const l=p(s);if(l.startsWith(".")){const d=l.slice(1),g=p(d);return{magnitude:g.length-d.length-1,coefficient:c(g)}}return{magnitude:l.indexOf(".")-1,coefficient:c(l.replace(".",""))}}function i(s){const l=s.replace("E","e").split("e"),d=l[0],g=s.includes(".")?h(d):r(d),v=g.coefficient,S=l.length>1?parseInt(l[1],10)+g.magnitude:g.magnitude;return`${v}e${S}`}function f(s){const l=i(n(s)),d=l.split("e")[0].replace(".","").length;if(d>100)return!0;const g=s.value.toPrecision(d),v=i(g);return l!==v}function m(s){return o(s)?f(s):t(s)}return{Literal(s){s.value&&e(s)&&m(s)&&a.report({messageId:"noLossOfPrecision",node:s})}}}}),Hl}var Kl,Pv;function YT(){if(Pv)return Kl;Pv=1;const a=Me(),e=2**32-1;function n(u){return typeof u=="string"?BigInt(u.slice(0,-1)):u}function o(u){return u.parent.type==="TSEnumMember"}function t(u){let r=u.parent;for(;r.parent.type==="TSUnionType";)r=r.parent;return r.parent.type==="TSTypeAliasDeclaration"}function c(u){var r;return!!(((r=u.parent)==null?void 0:r.type)==="PropertyDefinition"&&u.parent.readonly)}function p(u){let r=u.parent;for(;r.parent.type==="TSUnionType"||r.parent.type==="TSIntersectionType";)r=r.parent;return r.parent.type==="TSIndexedAccessType"}return Kl={meta:{type:"suggestion",dialects:["typescript","javascript"],language:"javascript",docs:{description:"Disallow magic numbers",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/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},ignoreClassFieldInitialValues:{type:"boolean",default:!1},ignoreEnums:{type:"boolean",default:!1},ignoreNumericLiteralTypes:{type:"boolean",default:!1},ignoreReadonlyClassProperties:{type:"boolean",default:!1},ignoreTypeIndexes:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{useConst:"Number constants declarations must use 'const'.",noMagic:"No magic number: {{raw}}."}},create(u){const r=u.options[0]||{},h=!!r.detectObjects,i=!!r.enforceConst,f=new Set((r.ignore||[]).map(n)),m=!!r.ignoreArrayIndexes,s=!!r.ignoreDefaultValues,l=!!r.ignoreClassFieldInitialValues,d=!!r.ignoreEnums,g=!!r.ignoreNumericLiteralTypes,v=!!r.ignoreReadonlyClassProperties,S=!!r.ignoreTypeIndexes,b=h?[]:["ObjectExpression","Property","AssignmentExpression"];function C(I){return f.has(I)}function w(I){const B=I.parent;return B.type==="AssignmentPattern"&&B.right===I}function E(I){const B=I.parent;return B.type==="PropertyDefinition"&&B.value===I}function k(I){const B=I.parent;return B.type==="CallExpression"&&I===B.arguments[1]&&(a.isSpecificId(B.callee,"parseInt")||a.isSpecificMemberAccess(B.callee,"Number","parseInt"))}function x(I){return I.parent.type.indexOf("JSX")===0}function A(I,B){const M=I.parent;return M.type==="MemberExpression"&&M.property===I&&(Number.isInteger(B)||typeof B=="bigint")&&B>=0&&B<e}return{Literal(I){if(!a.isNumericLiteral(I))return;let B,M,P;I.parent.type==="UnaryExpression"&&["-","+"].includes(I.parent.operator)?(B=I.parent,M=I.parent.operator==="-"?-I.value:I.value,P=`${I.parent.operator}${I.raw}`):(B=I,M=I.value,P=I.raw);const D=B.parent;C(M)||s&&w(B)||l&&E(B)||d&&o(B)||g&&t(B)||S&&p(B)||v&&c(B)||k(B)||x(B)||m&&A(B,M)||(D.type==="VariableDeclarator"?i&&D.parent.kind!=="const"&&u.report({node:B,messageId:"useConst"}):(!b.includes(D.type)||D.type==="AssignmentExpression"&&D.left.type==="Identifier")&&u.report({node:B,messageId:"noMagic",data:{raw:P}}))}}}},Kl}var Xl,Fv;function QT(){return Fv||(Fv=1,Xl=function(e){return/^[\p{Mc}\p{Me}\p{Mn}]$/u.test(String.fromCodePoint(e))}),Xl}var Jl,Rv;function ZT(){return Rv||(Rv=1,Jl=function(e){return e>=127995&&e<=127999}),Jl}var Yl,_v;function ek(){return _v||(_v=1,Yl=function(e){return e>=127462&&e<=127487}),Yl}var Ql,Bv;function tk(){return Bv||(Bv=1,Ql=function(e,n){return e>=55296&&e<56320&&n>=56320&&n<57344}),Ql}var Zl,Lv;function rk(){if(Lv)return Zl;Lv=1;const a=QT(),e=ZT(),n=ek(),o=tk();return Zl={isCombiningCharacter:a,isEmojiModifier:e,isRegionalIndicatorSymbol:n,isSurrogatePair:o},Zl}var eu,Ov;function tu(){if(Ov)return eu;Ov=1;const{RegExpValidator:a}=fr(),e=2025;function n(o,t,c="u"){if(c==="u"&&o<=5||c==="v"&&o<=2023)return!1;const p=new a({ecmaVersion:Math.min(o,e)});try{p.validatePattern(t,void 0,void 0,c==="u"?{unicode:!0}:{unicodeSets:!0})}catch{return!1}return!0}return eu={isValidWithUnicodeFlag:n,REGEXPP_LATEST_ECMA_VERSION:e},eu}var ru,Nv;function nk(){if(Nv)return ru;Nv=1;class a{constructor(f,m){this.start=f,this.source=m}get end(){return this.start+this.length}get length(){return this.source.length}}class e{constructor(f){this.source=f,this.pos=0}advance(f){this.pos+=f}read(f=0,m=1){const s=f+this.pos;return this.source.slice(s,s+m)}}const n={__proto__:null,b:"\b",f:"\f",n:`
91
- `,r:"\r",t:" ",v:"\v"};function o(i,f){const m=i.read(0,f),s=parseInt(m,16);return i.advance(f),String.fromCharCode(s)}function t(i){const f=/\{(?<hexDigits>[\dA-Fa-f]+)\}/uy;f.lastIndex=i.pos;const m=f.exec(i.source);if(m){const s=parseInt(m.groups.hexDigits,16);return i.pos=f.lastIndex,String.fromCodePoint(s)}return o(i,4)}function c(i,f){const[m]=i.read(-1,f).match(/^[0-7]+/u);i.advance(m.length-1);const s=parseInt(m,8);return String.fromCharCode(s)}function p(i){const f=i.read(1);i.advance(2);const m=n[f];if(m)return m;switch(f){case"x":return o(i,2);case"u":return t(i);case"\r":i.read()===`
92
- `&&i.advance(1);case`
93
- `:case"\u2028":case"\u2029":return"";case"0":case"1":case"2":case"3":return c(i,3);case"4":case"5":case"6":case"7":return c(i,2);default:return f}}function*u(i){const f=i.pos,m=p(i),s=i.pos,l=i.source.slice(f,s);switch(m.length){case 0:break;case 1:yield new a(f,l);break;default:yield new a(f,l),yield new a(f,l);break}}function r(i){const f=new e(i),m=f.read();f.advance(1);const s=[];for(;;){const l=f.read();if(l===m)break;l==="\\"?s.push(...u(f)):(s.push(new a(f.pos,l)),f.advance(1))}return s}function h(i){const f=new e(i);f.advance(1);const m=[];for(;;){const s=f.read();if(s==="`"||s==="$"&&f.read(1)==="{")break;if(s==="\\")m.push(...u(f));else{let l;s==="\r"&&f.read(1)===`
94
- `?l=`\r
95
- `:l=s,m.push(new a(f.pos,l)),f.advance(l.length)}}return m}return ru={parseStringLiteral:r,parseTemplateToken:h},ru}var nu,jv;function sk(){if(jv)return nu;jv=1;const{CALL:a,CONSTRUCT:e,ReferenceTracker:n,getStaticValue:o,getStringIfConstant:t}=$t(),{RegExpParser:c,visitRegExpAST:p}=fr(),{isCombiningCharacter:u,isEmojiModifier:r,isRegionalIndicatorSymbol:h,isSurrogatePair:i}=rk(),f=Me(),{isValidWithUnicodeFlag:m}=tu(),{parseStringLiteral:s,parseTemplateToken:l}=nk();function*d(E){let k=[];for(const x of E)switch(x.type){case"Character":k.push(x);break;case"CharacterClassRange":k.push(x.min),yield k,k=[x.max];break;case"CharacterSet":case"CharacterClass":case"ClassStringDisjunction":case"ExpressionCharacterClass":k.length>0&&(yield k,k=[]);break}k.length>0&&(yield k)}function g(E){return/^\\u\{[\da-f]+\}$/iu.test(E.raw)}const v={*surrogatePairWithoutUFlag(E){for(const[k,x]of E.entries()){const A=E[k-1];A&&x&&i(A.value,x.value)&&!g(A)&&!g(x)&&(yield[A,x])}},*surrogatePair(E){for(const[k,x]of E.entries()){const A=E[k-1];A&&x&&i(A.value,x.value)&&(g(A)||g(x))&&(yield[A,x])}},*combiningClass(E,k){for(const[x,A]of E.entries()){const I=k[x-1];I&&A&&u(A.value)&&!u(I.value)&&(yield[I,A])}},*emojiModifier(E){for(const[k,x]of E.entries()){const A=E[k-1];A&&x&&r(x.value)&&!r(A.value)&&(yield[A,x])}},*regionalIndicatorSymbol(E){for(const[k,x]of E.entries()){const A=E[k-1];A&&x&&h(x.value)&&h(A.value)&&(yield[A,x])}},*zwj(E){let k=null;for(const[x,A]of E.entries()){const I=E[x-1],B=E[x+1];I&&A&&B&&A.value===8205&&I.value!==8205&&B.value!==8205&&(k?k.at(-1)===I?k.push(A,B):(yield k,k=E.slice(x-1,x+2)):k=E.slice(x-1,x+2))}k&&(yield k)}},S=Object.keys(v);function b(E,k){if(!E)return null;if(E.type==="Literal"&&E.regex)return{regex:E.regex};const x=o(E,k);return(x==null?void 0:x.value)instanceof RegExp?null:x}function C(E,k){if(!k.startsWith("\\"))return!1;const x=new RegExp("(?<=^\\\\+).$","su").exec(k);return(x==null?void 0:x[0])!==String.fromCodePoint(E.value)}function w(E,k,x){const A=E.start,I=E.end-1,B=x[A].start,M=x[I].end,P=k.slice(B,M);return C(E,P)}return nu={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/latest/rules/no-misleading-character-class"},hasSuggestions:!0,schema:[{type:"object",properties:{allowEscape:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{surrogatePairWithoutUFlag:"Unexpected surrogate pair in character class. Use 'u' flag.",surrogatePair:"Unexpected surrogate pair in character class.",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.",suggestUnicodeFlag:"Add unicode 'u' flag to regex."}},create(E){var M;const k=(M=E.options[0])==null?void 0:M.allowEscape,x=E.sourceCode,A=new c,I=new Set;function B(P,D,R,N){let q;try{q=A.parsePattern(D,0,D.length,{unicode:R.includes("u"),unicodeSets:R.includes("v")})}catch{return}let L=null;function W(K){if(P.type==="Literal"&&P.regex)return C(K,K.raw);if(P.type==="Literal"&&typeof P.value=="string"){const re=P.raw;return L??(L=s(re)),w(K,re,L)}if(f.isStaticTemplateLiteral(P)){const re=x.getText(P);return L??(L=l(re)),w(K,re,L)}return!1}const _=new Map;p(q,{onCharacterClassEnter(K){for(const re of d(K.elements)){let te;k?te=re.map(xe=>W(xe)?null:xe):te=re;for(const xe of S){const Y=v[xe](te,re);_.has(xe)?_.get(xe).push(...Y):_.set(xe,[...Y])}}}});function H(K){return!f.isStaticTemplateLiteral(P)&&P.type!=="Literal"?K.length?[P.loc]:[]:K.map(re=>{const te=re[0].start,xe=re.at(-1).end-1;let Y,F;if(P.type==="TemplateLiteral"){const z=x.getText(P),ne=P.range[0];L??(L=l(z)),Y=ne+L[te].start,F=ne+L[xe].end}else if(typeof P.value=="string"){const z=P.raw,ne=P.range[0];L??(L=s(z)),Y=ne+L[te].start,F=ne+L[xe].end}else{const z=P.range[0]+1;Y=z+te,F=z+xe+1}return{start:x.getLocFromIndex(Y),end:x.getLocFromIndex(F)}})}for(const[K,re]of _){let te;K==="surrogatePairWithoutUFlag"&&(te=[{messageId:"suggestUnicodeFlag",fix:N}]);const xe=H(re);for(const Y of xe)E.report({node:P,loc:Y,messageId:K,suggest:te})}}return{"Literal[regex]"(P){I.has(P)||B(P,P.regex.pattern,P.regex.flags,D=>m(E.languageOptions.ecmaVersion,P.regex.pattern)?D.insertTextAfter(P,"u"):null)},Program(P){const D=x.getScope(P),R=new n(D);for(const{node:N}of R.iterateGlobalReferences({RegExp:{[a]:!0,[e]:!0}})){let q,L;const[W,_]=N.arguments,H=b(W,D);if(H){if(_)H.regex?(q=H.regex.pattern,I.add(W)):q=String(H.value),L=t(_,D);else{if(H.regex)continue;q=String(H.value),L=""}typeof L=="string"&&B(W,q,L,K=>{if(!m(E.languageOptions.ecmaVersion,q))return null;if(N.arguments.length===1){const re=x.getLastToken(N,{skip:1});return K.insertTextAfter(re,f.isCommaToken(re)?' "u",':', "u"')}if(_.type==="Literal"&&typeof _.value=="string"||_.type==="TemplateLiteral"){const re=[_.range[0],_.range[1]-1];return K.insertTextAfterRange(re,"u")}return null})}}}}}},nu}var su,Mv;function ak(){if(Mv)return su;Mv=1;const a=Me(),e=["+","-","*","/","%","**"],n=["&","|","^","~","<<",">>",">>>"],o=["==","!=","===","!==",">",">=","<","<="],t=["&&","||"],c=["in","instanceof"],p=["?:"],u=["??"],r=[].concat(e,n,o,t,c,p,u),h=[e,n,o,t,c],i=/^(?:Binary|Logical|Conditional)Expression$/u;function f(l={}){const g=l.groups&&l.groups.length>0?l.groups:h,v=l.allowSamePrecedence!==!1;return{groups:g,allowSamePrecedence:v}}function m(l,d,g){return l.some(v=>v.includes(d)&&v.includes(g))}function s(l){return l.type==="ConditionalExpression"?l.test:l.left}return su={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"no-mixed-operators",url:"https://eslint.style/rules/js/no-mixed-operators"}}]},type:"suggestion",docs:{description:"Disallow mixed binary operators",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-mixed-operators"},schema:[{type:"object",properties:{groups:{type:"array",items:{type:"array",items:{enum:r},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(l){const d=l.sourceCode,g=f(l.options[0]);function v(E){const k=E,x=E.parent;return!m(g.groups,k.operator,x.type==="ConditionalExpression"?"?:":x.operator)||g.allowSamePrecedence&&a.getPrecedence(k)===a.getPrecedence(x)}function S(E){return E.operator!==E.parent.operator&&!a.isParenthesised(d,E)}function b(E){return d.getTokenAfter(s(E),a.isNotClosingParenToken)}function C(E){const k=E.parent,x=s(k)===E?E:k,A=s(k)!==E?E:k,I={leftOperator:x.operator||"?:",rightOperator:A.operator||"?:"};l.report({node:x,loc:b(x).loc,messageId:"unexpectedMixedOperator",data:I}),l.report({node:A,loc:b(A).loc,messageId:"unexpectedMixedOperator",data:I})}function w(E){i.test(E.parent.type)&&S(E)&&!v(E)&&C(E)}return{BinaryExpression:w,LogicalExpression:w}}},su}var au,Uv;function ik(){return Uv||(Uv=1,au={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:null,replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-mixed-requires",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-mixed-requires.md"}}]},type:"suggestion",docs:{description:"Disallow `require` calls to be mixed with regular variable declarations",recommended:!1,url:"https://eslint.org/docs/latest/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(a){const e=a.options[0];let n=!1,o=!1;typeof e=="object"?(n=e.grouping,o=e.allowCall):n=!!e;function t(){return["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"]}const c=t(),p="require",u="uninitialized",r="other",h="core",i="file",f="module",m="computed";function s(v){return v?v.type==="CallExpression"&&v.callee.type==="Identifier"&&v.callee.name==="require"?p:o&&v.type==="CallExpression"&&v.callee.type==="CallExpression"?s(v.callee):v.type==="MemberExpression"?s(v.object):r:u}function l(v){if(v.type==="MemberExpression")return l(v.object);if(v.arguments.length===0)return m;const S=v.arguments[0];return S.type!=="Literal"||typeof S.value!="string"?m:c.includes(S.value)?h:/^\.{0,2}\//u.test(S.value)?i:f}function d(v){const S={};return v.forEach(b=>{const C=s(b.init);S[C]=!0}),!!(S[p]&&(S[u]||S[r]))}function g(v){const S={};return v.forEach(b=>{s(b.init)===p&&(S[l(b.init)]=!0)}),Object.keys(S).length<=1}return{VariableDeclaration(v){d(v.declarations)?a.report({node:v,messageId:"noMixRequire"}):n&&!g(v.declarations)&&a.report({node:v,messageId:"noMixCoreModuleFileComputed"})}}}}),au}var iu,qv;function ok(){return qv||(qv=1,iu={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"no-mixed-spaces-and-tabs",url:"https://eslint.style/rules/js/no-mixed-spaces-and-tabs"}}]},type:"layout",docs:{description:"Disallow mixed spaces and tabs for indentation",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-mixed-spaces-and-tabs"},schema:[{enum:["smart-tabs",!0,!1]}],messages:{mixedSpacesAndTabs:"Mixed spaces and tabs."}},create(a){const e=a.sourceCode;let n;switch(a.options[0]){case!0:case"smart-tabs":n=!0;break;default:n=!1}return{"Program:exit"(o){const t=e.lines,c=e.getAllComments(),p=new Set;c.forEach(r=>{for(let h=r.loc.start.line+1;h<=r.loc.end.line;h++)p.add(h)});let u=/^(?=( +|\t+))\1(?:\t| )/u;n&&(u=/^(?=(\t*))\1(?=( +))\2\t/u),t.forEach((r,h)=>{const i=u.exec(r);if(i){const f=h+1,m={start:{line:f,column:i[0].length-2},end:{line:f,column:i[0].length}};if(!p.has(f)){const s=e.getNodeByRangeIndex(e.getIndexFromLoc(m.start));s&&["Literal","TemplateElement"].includes(s.type)||a.report({node:o,loc:m,messageId:"mixedSpacesAndTabs"})}}})}}}}),iu}var ou,Vv;function lk(){return Vv||(Vv=1,ou={meta:{type:"suggestion",defaultOptions:[{ignoreNonDeclaration:!1}],docs:{description:"Disallow use of chained assignment expressions",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-multi-assign"},schema:[{type:"object",properties:{ignoreNonDeclaration:{type:"boolean"}},additionalProperties:!1}],messages:{unexpectedChain:"Unexpected chained assignment."}},create(a){const[{ignoreNonDeclaration:e}]=a.options,n=["VariableDeclarator > AssignmentExpression.init","PropertyDefinition > AssignmentExpression.value"];return e||n.push("AssignmentExpression > AssignmentExpression.right"),{[n](o){a.report({node:o,messageId:"unexpectedChain"})}}}}),ou}var lu,$v;function uk(){if($v)return lu;$v=1;const a=Me();return lu={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"no-multi-spaces",url:"https://eslint.style/rules/js/no-multi-spaces"}}]},type:"layout",docs:{description:"Disallow multiple spaces",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.sourceCode,o=e.options[0]||{},t=o.ignoreEOLComments,c=Object.assign({Property:!0},o.exceptions),p=Object.keys(c).some(r=>c[r]);function u(r){const h=r.value.split(`
96
- `),i=h[0],f=`${i.slice(0,12)}...`;return h.length===1&&i.length<=12?i:f}return{Program(){n.tokensAndComments.forEach((r,h,i)=>{if(h===i.length-1)return;const f=i[h+1];if(!n.text.slice(r.range[1],f.range[0]).includes(" ")||r.loc.end.line<f.loc.start.line||t&&a.isCommentToken(f)&&(h===i.length-2||f.loc.end.line<i[h+2].loc.start.line))return;if(p){const s=n.getNodeByRangeIndex(f.range[0]-1);if(s&&c[s.type])return}let m;f.type==="Block"?m=`/*${u(f)}*/`:f.type==="Line"?m=`//${u(f)}`:m=f.value,e.report({node:f,loc:{start:r.loc.end,end:f.loc.start},messageId:"multipleSpaces",data:{displayValue:m},fix:s=>s.replaceTextRange([r.range[1],f.range[0]]," ")})})}}}},lu}var uu,Wv;function ck(){if(Wv)return uu;Wv=1;const a=Me();return uu={meta:{type:"suggestion",docs:{description:"Disallow multiline strings",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-multi-str"},schema:[],messages:{multilineString:"Multiline support is limited to browsers supporting ES5 only."}},create(e){function n(o){return o.type.indexOf("JSX")===0}return{Literal(o){a.LINEBREAK_MATCHER.test(o.raw)&&!n(o.parent)&&e.report({node:o,messageId:"multilineString"})}}}},uu}var cu,Gv;function fk(){return Gv||(Gv=1,cu={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"no-multiple-empty-lines",url:"https://eslint.style/rules/js/no-multiple-empty-lines"}}]},type:"layout",docs:{description:"Disallow multiple empty lines",recommended:!1,url:"https://eslint.org/docs/latest/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(a){let e=2,n=e,o=e;a.options.length&&(e=a.options[0].max,n=typeof a.options[0].maxEOF<"u"?a.options[0].maxEOF:e,o=typeof a.options[0].maxBOF<"u"?a.options[0].maxBOF:e);const t=a.sourceCode,c=t.lines.at(-1)===""?t.lines.slice(0,-1):t.lines,p=new Set;return{TemplateLiteral(u){u.quasis.forEach(r=>{for(let h=r.loc.start.line;h<r.loc.end.line;h++)p.add(h)})},"Program:exit"(u){return c.reduce((r,h,i)=>((h.trim()||p.has(i+1))&&r.push(i+1),r),[]).concat(c.length+1).reduce((r,h)=>{let i,f;return r===0?(i="blankBeginningOfFile",f=o):h===c.length+1?(i="blankEndOfFile",f=n):(i="consecutiveBlank",f=e),h-r-1>f&&a.report({node:u,loc:{start:{line:r+f+1,column:0},end:{line:h,column:0}},messageId:i,data:{max:f,pluralizedLines:f===1?"line":"lines"},fix(m){const s=t.getIndexFromLoc({line:r+1,column:0}),l=h-f,d=l<=c.length?t.getIndexFromLoc({line:l,column:0}):t.text.length;return m.removeRange([s,d])}}),h},0)}}}}),cu}var fu,zv;function pk(){return zv||(zv=1,fu={meta:{type:"suggestion",docs:{description:"Disallow assignments to native objects or read-only global variables",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-native-reassign"},deprecated:{message:"Renamed rule.",url:"https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",deprecatedSince:"3.3.0",availableUntil:null,replacedBy:[{rule:{name:"no-global-assign",url:"https://eslint.org/docs/rules/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(a){const e=a.options[0],n=e&&e.exceptions||[],o=a.sourceCode;function t(p,u,r){const h=p.identifier;p.init===!1&&p.isWrite()&&(u===0||r[u-1].identifier!==h)&&a.report({node:h,messageId:"nativeReassign",data:h})}function c(p){p.writeable===!1&&!n.includes(p.name)&&p.references.forEach(t)}return{Program(p){o.getScope(p).variables.forEach(c)}}}}),fu}var pu,Hv;function mk(){return Hv||(Hv=1,pu={meta:{type:"suggestion",docs:{description:"Disallow negated conditions",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-negated-condition"},schema:[],messages:{unexpectedNegated:"Unexpected negated condition."}},create(a){function e(c){return c.alternate&&c.alternate.type!=="IfStatement"}function n(c){return c.type==="UnaryExpression"&&c.operator==="!"}function o(c){return c.type==="BinaryExpression"&&(c.operator==="!="||c.operator==="!==")}function t(c){return n(c.test)||o(c.test)}return{IfStatement(c){e(c)&&t(c)&&a.report({node:c,messageId:"unexpectedNegated"})},ConditionalExpression(c){t(c)&&a.report({node:c,messageId:"unexpectedNegated"})}}}}),pu}var mu,Kv;function hk(){return Kv||(Kv=1,mu={meta:{type:"problem",docs:{description:"Disallow negating the left operand in `in` expressions",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-negated-in-lhs"},deprecated:{message:"Renamed rule.",url:"https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",deprecatedSince:"3.3.0",availableUntil:null,replacedBy:[{rule:{name:"no-unsafe-negation",url:"https://eslint.org/docs/rules/no-unsafe-negation"}}]},schema:[],messages:{negatedLHS:"The 'in' expression's left operand is negated."}},create(a){return{BinaryExpression(e){e.operator==="in"&&e.left.type==="UnaryExpression"&&e.left.operator==="!"&&a.report({node:e,messageId:"negatedLHS"})}}}}),mu}var hu,Xv;function dk(){return Xv||(Xv=1,hu={meta:{type:"suggestion",docs:{description:"Disallow nested ternary expressions",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-nested-ternary"},schema:[],messages:{noNestedTernary:"Do not nest ternary expressions."}},create(a){return{ConditionalExpression(e){(e.alternate.type==="ConditionalExpression"||e.consequent.type==="ConditionalExpression")&&a.report({node:e,messageId:"noNestedTernary"})}}}}),hu}var du,Jv;function gk(){return Jv||(Jv=1,du={meta:{type:"suggestion",docs:{description:"Disallow `new` operators outside of assignments or comparisons",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-new"},schema:[],messages:{noNewStatement:"Do not use 'new' for side effects."}},create(a){return{"ExpressionStatement > NewExpression"(e){a.report({node:e.parent,messageId:"noNewStatement"})}}}}),du}var gu,Yv;function yk(){if(Yv)return gu;Yv=1;const a=Me(),e=new Set(["apply","bind","call"]);return gu={meta:{type:"suggestion",docs:{description:"Disallow `new` operators with the `Function` object",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-new-func"},schema:[],messages:{noFunctionConstructor:"The Function constructor is eval."}},create(n){const o=n.sourceCode;return{"Program:exit"(t){const p=o.getScope(t).set.get("Function");p&&p.defs.length===0&&p.references.forEach(u=>{const r=u.identifier,{parent:h}=r;let i;if(h){if(r===h.callee&&(h.type==="NewExpression"||h.type==="CallExpression"))i=h;else if(h.type==="MemberExpression"&&r===h.object&&e.has(a.getStaticPropertyName(h))){const f=h.parent.type==="ChainExpression"?h.parent:h;f.parent.type==="CallExpression"&&f.parent.callee===f&&(i=f.parent)}}i&&n.report({node:i,messageId:"noFunctionConstructor"})})}}}},gu}var yu,Qv;function vk(){if(Qv)return yu;Qv=1;const a=["Symbol","BigInt"];return yu={meta:{type:"problem",docs:{description:"Disallow `new` operators with global non-constructor functions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-new-native-nonconstructor"},schema:[],messages:{noNewNonconstructor:"`{{name}}` cannot be called as a constructor."}},create(e){const n=e.sourceCode;return{"Program:exit"(o){const t=n.getScope(o);for(const c of a){const p=t.set.get(c);p&&p.defs.length===0&&p.references.forEach(u=>{const r=u.identifier,h=r.parent;h&&h.type==="NewExpression"&&h.callee===r&&e.report({node:r,messageId:"noNewNonconstructor",data:{name:c}})})}}}}},yu}var vu,Zv;function Ek(){if(Zv)return vu;Zv=1;const a=Me();return vu={meta:{type:"suggestion",docs:{description:"Disallow `Object` constructors",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-new-object"},deprecated:{message:"The new rule flags more situations where object literal syntax can be used, and it does not report a problem when the `Object` constructor is invoked with an argument.",url:"https://eslint.org/blog/2023/09/eslint-v8.50.0-released/",deprecatedSince:"8.50.0",availableUntil:null,replacedBy:[{rule:{name:"no-object-constructor",url:"https://eslint.org/docs/rules/no-object-constructor"}}]},schema:[],messages:{preferLiteral:"The object literal notation {} is preferable."}},create(e){const n=e.sourceCode;return{NewExpression(o){const t=a.getVariableByName(n.getScope(o),o.callee.name);t&&t.identifiers.length>0||o.callee.name==="Object"&&e.report({node:o,messageId:"preferLiteral"})}}}},vu}var Eu,eE;function Sk(){return eE||(eE=1,Eu={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:null,replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-new-require",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-new-require.md"}}]},type:"suggestion",docs:{description:"Disallow `new` operators with calls to `require`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-new-require"},schema:[],messages:{noNewRequire:"Unexpected use of new with require."}},create(a){return{NewExpression(e){e.callee.type==="Identifier"&&e.callee.name==="require"&&a.report({node:e,messageId:"noNewRequire"})}}}}),Eu}var Su,tE;function bk(){return tE||(tE=1,Su={meta:{type:"problem",docs:{description:"Disallow `new` operators with the `Symbol` object",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-new-symbol"},deprecated:{message:"The rule was replaced with a more general rule.",url:"https://eslint.org/docs/latest/use/migrate-to-9.0.0#eslint-recommended",deprecatedSince:"9.0.0",availableUntil:null,replacedBy:[{rule:{name:"no-new-native-nonconstructor",url:"https://eslint.org/docs/latest/rules/no-new-native-nonconstructor"}}]},schema:[],messages:{noNewSymbol:"`Symbol` cannot be called as a constructor."}},create(a){const e=a.sourceCode;return{"Program:exit"(n){const t=e.getScope(n).set.get("Symbol");t&&t.defs.length===0&&t.references.forEach(c=>{const p=c.identifier,u=p.parent;u&&u.type==="NewExpression"&&u.callee===p&&a.report({node:p,messageId:"noNewSymbol"})})}}}}),Su}var bu,rE;function xk(){if(rE)return bu;rE=1;const{getVariableByName:a}=Me();return bu={meta:{type:"suggestion",docs:{description:"Disallow `new` operators with the `String`, `Number`, and `Boolean` objects",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-new-wrappers"},schema:[],messages:{noConstructor:"Do not use {{fn}} as a constructor."}},create(e){const{sourceCode:n}=e;return{NewExpression(o){const t=["String","Number","Boolean"],{name:c}=o.callee;if(t.includes(c)){const p=a(n.getScope(o),c);p&&p.identifiers.length===0&&e.report({node:o,messageId:"noConstructor",data:{fn:c}})}}}}},bu}var xu,nE;function Ck(){if(nE)return xu;nE=1;const a=/\\[89]/u;function e(n){return`\\u${n.charCodeAt(0).toString(16).padStart(4,"0")}`}return xu={meta:{type:"suggestion",docs:{description:"Disallow `\\8` and `\\9` escape sequences in string literals",recommended:!0,url:"https://eslint.org/docs/latest/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(n){const o=n.sourceCode;function t(c,p,u){return{messageId:c,data:{original:o.getText().slice(...p),replacement:u},fix(r){return r.replaceTextRange(p,u)}}}return{Literal(c){if(typeof c.value!="string"||!a.test(c.raw))return;const p=/(?:[^\\]|(?<previousEscape>\\.))*?(?<decimalEscape>\\[89])/suy;let u;for(;u=p.exec(c.raw);){const{previousEscape:r,decimalEscape:h}=u.groups,i=c.range[0]+u.index+u[0].length,f=i-h.length,m=[f,i],s=[];r==="\\0"?s.push(t("refactor",[f-r.length,i],`${e("\0")}${h[1]}`),t("refactor",m,e(h[1]))):s.push(t("refactor",m,h[1])),s.push(t("escapeBackslash",m,`\\${h}`)),n.report({node:c,loc:{start:o.getLocFromIndex(f),end:o.getLocFromIndex(i)},messageId:"decimalEscape",data:{decimalEscape:h},suggest:s})}}}}},xu}var Cu,sE;function wk(){if(sE)return Cu;sE=1;const{CALL:a,CONSTRUCT:e,ReferenceTracker:n}=$t(),o=Me().getStaticPropertyName,t=["Atomics","JSON","Math","Reflect","Intl"];function c(p){return p.type==="ChainExpression"?c(p.expression):p.type==="MemberExpression"?o(p):p.name}return Cu={meta:{type:"problem",docs:{description:"Disallow calling global object properties as functions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-obj-calls"},schema:[],messages:{unexpectedCall:"'{{name}}' is not a function.",unexpectedRefCall:"'{{name}}' is reference to '{{ref}}', which is not a function."}},create(p){const u=p.sourceCode;return{Program(r){const h=u.getScope(r),i=new n(h),f={};for(const m of t)f[m]={[a]:!0,[e]:!0};for(const{node:m,path:s}of i.iterateGlobalReferences(f)){const l=c(m.callee),d=s[0],g=l===d?"unexpectedCall":"unexpectedRefCall";p.report({node:m,messageId:g,data:{name:l,ref:d}})}}}}},Cu}var wu,aE;function Ak(){if(aE)return wu;aE=1;const{getVariableByName:a,isArrowToken:e,isStartOfExpressionStatement:n,needsPrecedingSemicolon:o}=Me();return wu={meta:{type:"suggestion",docs:{description:"Disallow calls to the `Object` constructor without an argument",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-object-constructor"},hasSuggestions:!0,schema:[],messages:{preferLiteral:"The object literal notation {} is preferable.",useLiteral:"Replace with '{{replacement}}'.",useLiteralAfterSemicolon:"Replace with '{{replacement}}', add preceding semicolon."}},create(t){const c=t.sourceCode;function p(r){if(n(r))return!0;const h=c.getTokenBefore(r);return!!(h&&e(h))}function u(r){if(r.callee.type!=="Identifier"||r.callee.name!=="Object"||r.arguments.length)return;const h=a(c.getScope(r),"Object");if(h&&h.identifiers.length===0){let i,f,m="useLiteral";p(r)?(i="({})",o(c,r)?(f=";({})",m="useLiteralAfterSemicolon"):f="({})"):i=f="{}",t.report({node:r,messageId:"preferLiteral",suggest:[{messageId:m,data:{replacement:i},fix:s=>s.replaceText(r,f)}]})}}return{CallExpression:u,NewExpression:u}}},wu}var Au,iE;function Tk(){return iE||(iE=1,Au={meta:{type:"suggestion",docs:{description:"Disallow octal literals",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-octal"},schema:[],messages:{noOctal:"Octal literals should not be used."}},create(a){return{Literal(e){typeof e.value=="number"&&/^0[0-9]/u.test(e.raw)&&a.report({node:e,messageId:"noOctal"})}}}}),Au}var Tu,oE;function kk(){return oE||(oE=1,Tu={meta:{type:"suggestion",docs:{description:"Disallow octal escape sequences in string literals",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-octal-escape"},schema:[],messages:{octalEscapeSequence:"Don't use octal: '\\{{sequence}}'. Use '\\u....' instead."}},create(a){return{Literal(e){if(typeof e.value!="string")return;const n=e.raw.match(/^(?:[^\\]|\\.)*?\\([0-3][0-7]{1,2}|[4-7][0-7]|0(?=[89])|[1-7])/su);n&&a.report({node:e,messageId:"octalEscapeSequence",data:{sequence:n[1]}})}}}}),Tu}var ku,lE;function Dk(){if(lE)return ku;lE=1;const a=/(?:Statement|Declaration|Function(?:Expression)?|Program)$/u;return ku={meta:{type:"suggestion",docs:{description:"Disallow reassigning function parameters",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.options[0]&&e.options[0].props,o=e.options[0]&&e.options[0].ignorePropertyModificationsFor||[],t=e.options[0]&&e.options[0].ignorePropertyModificationsForRegex||[],c=e.sourceCode;function p(f){let m=f.identifier,s=m.parent;for(;s&&(!a.test(s.type)||s.type==="ForInStatement"||s.type==="ForOfStatement");){switch(s.type){case"AssignmentExpression":return s.left===m;case"UpdateExpression":return!0;case"UnaryExpression":if(s.operator==="delete")return!0;break;case"ForInStatement":case"ForOfStatement":return s.left===m;case"CallExpression":if(s.callee!==m)return!1;break;case"MemberExpression":if(s.property===m)return!1;break;case"Property":if(s.key===m)return!1;break;case"ConditionalExpression":if(s.test===m)return!1;break}m=s,s=m.parent}return!1}function u(f){return o.includes(f)||t.some(m=>new RegExp(m,"u").test(f))}function r(f,m,s){const l=f.identifier;l&&!f.init&&(m===0||s[m-1].identifier!==l)&&(f.isWrite()?e.report({node:l,messageId:"assignmentToFunctionParam",data:{name:l.name}}):n&&p(f)&&!u(l.name)&&e.report({node:l,messageId:"assignmentToFunctionParamProp",data:{name:l.name}}))}function h(f){f.defs[0].type==="Parameter"&&f.references.forEach(r)}function i(f){c.getDeclaredVariables(f).forEach(h)}return{"FunctionDeclaration:exit":i,"FunctionExpression:exit":i,"ArrowFunctionExpression:exit":i}}},ku}var Du,uE;function Ik(){return uE||(uE=1,Du={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:null,replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-path-concat",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-path-concat.md"}}]},type:"suggestion",docs:{description:"Disallow string concatenation with `__dirname` and `__filename`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-path-concat"},schema:[],messages:{usePathFunctions:"Use path.join() or path.resolve() instead of + to create paths."}},create(a){const e=/^__(?:dir|file)name$/u;return{BinaryExpression(n){const o=n.left,t=n.right;n.operator==="+"&&(o.type==="Identifier"&&e.test(o.name)||t.type==="Identifier"&&e.test(t.name))&&a.report({node:n,messageId:"usePathFunctions"})}}}}),Du}var Iu,cE;function Pk(){if(cE)return Iu;cE=1;function a(n){const o=n.parent;return o.type==="ForStatement"&&o.update===n}function e(n){const o=n.parent;return o.type==="SequenceExpression"?e(o):a(n)}return Iu={meta:{type:"suggestion",defaultOptions:[{allowForLoopAfterthoughts:!1}],docs:{description:"Disallow the unary operators `++` and `--`",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-plusplus"},schema:[{type:"object",properties:{allowForLoopAfterthoughts:{type:"boolean"}},additionalProperties:!1}],messages:{unexpectedUnaryOp:"Unary operator '{{operator}}' used."}},create(n){const[{allowForLoopAfterthoughts:o}]=n.options;return{UpdateExpression(t){o&&e(t)||n.report({node:t,messageId:"unexpectedUnaryOp",data:{operator:t.operator}})}}}},Iu}var Pu,fE;function Fk(){return fE||(fE=1,Pu={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:null,replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-process-env",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-process-env.md"}}]},type:"suggestion",docs:{description:"Disallow the use of `process.env`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-process-env"},schema:[],messages:{unexpectedProcessEnv:"Unexpected use of process.env."}},create(a){return{MemberExpression(e){const n=e.object.name,o=e.property.name;n==="process"&&!e.computed&&o&&o==="env"&&a.report({node:e,messageId:"unexpectedProcessEnv"})}}}}),Pu}var Fu,pE;function Rk(){return pE||(pE=1,Fu={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:null,replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-process-exit",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-process-exit.md"}}]},type:"suggestion",docs:{description:"Disallow the use of `process.exit()`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-process-exit"},schema:[],messages:{noProcessExit:"Don't use process.exit(); throw an error instead."}},create(a){return{"CallExpression > MemberExpression.callee[object.name = 'process'][property.name = 'exit']"(e){a.report({node:e.parent,messageId:"noProcessExit"})}}}}),Fu}var Ru,mE;function _k(){if(mE)return Ru;mE=1;const{findVariable:a}=$t(),e=Me(),n=new Set(["ArrowFunctionExpression","FunctionExpression"]);function o(h,i){const f=a(i,h);return f!==null&&f.scope.type==="global"&&f.defs.length===0}function t(h){const i=h.upper;return i.type==="function-expression-name"?i.upper:i}function c(h,i){const f=h.parent;return f.type==="NewExpression"&&f.arguments[0]===h&&f.callee.type==="Identifier"&&f.callee.name==="Promise"&&o(f.callee,t(i))}function p(h){return h.type==="UnaryExpression"&&h.operator==="void"}function u(h,i,f){const m=e.getPrecedence(i)<e.getPrecedence({type:"UnaryExpression",operator:"void"})&&!e.isParenthesised(h,i),s=h.getTokenBefore(i,i.parent.type==="ArrowFunctionExpression"?e.isArrowToken:g=>g.type==="Keyword"&&g.value==="return"),l=h.getTokenAfter(s),d=s.value==="return"&&s.range[1]===l.range[0];return[f.insertTextBefore(l,`${d?" ":""}void ${m?"(":""}`),f.insertTextAfter(i,m?")":"")]}function r(h,i,f){const m=h.getTokenBefore(i.body,e.isArrowToken),s=h.getTokenAfter(m),l=h.getLastToken(i);return[f.insertTextBefore(s,"{"),f.insertTextAfter(l,"}")]}return Ru={meta:{type:"problem",defaultOptions:[{allowVoid:!1}],docs:{description:"Disallow returning values from Promise executor functions",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-promise-executor-return"},hasSuggestions:!0,schema:[{type:"object",properties:{allowVoid:{type:"boolean"}},additionalProperties:!1}],messages:{returnsValue:"Return values from promise executor functions cannot be read.",prependVoid:"Prepend `void` to the expression.",wrapBraces:"Wrap the expression in `{}`."}},create(h){let i=null;const f=h.sourceCode,[{allowVoid:m}]=h.options;return{onCodePathStart(s,l){if(i={upper:i,shouldCheck:n.has(l.type)&&c(l,f.getScope(l))},i.shouldCheck&&l.type==="ArrowFunctionExpression"&&l.expression&&!(m&&p(l.body))){const d=[];m&&d.push({messageId:"prependVoid",fix(g){return u(f,l.body,g)}}),l.body.type==="FunctionExpression"&&!l.body.id||d.push({messageId:"wrapBraces",fix(g){return r(f,l,g)}}),h.report({node:l.body,messageId:"returnsValue",suggest:d})}},onCodePathEnd(){i=i.upper},ReturnStatement(s){if(i.shouldCheck&&s.argument){if(!m){h.report({node:s,messageId:"returnsValue"});return}p(s.argument)||h.report({node:s,messageId:"returnsValue",suggest:[{messageId:"prependVoid",fix(l){return u(f,s.argument,l)}}]})}}}}},Ru}var _u,hE;function Bk(){if(hE)return _u;hE=1;const{getStaticPropertyName:a}=Me();return _u={meta:{type:"suggestion",docs:{description:"Disallow the use of the `__proto__` property",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-proto"},schema:[],messages:{unexpectedProto:"The '__proto__' property is deprecated."}},create(e){return{MemberExpression(n){a(n)==="__proto__"&&e.report({node:n,messageId:"unexpectedProto"})}}}},_u}var Bu,dE;function Lk(){if(dE)return Bu;dE=1;const a=Me();function e(n){let o;if(n.type==="MemberExpression")o=n.object;else if(n.type==="CallExpression")o=n.callee;else return!1;return n.optional?!0:e(o)}return Bu={meta:{type:"problem",docs:{description:"Disallow calling some `Object.prototype` methods directly on objects",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-prototype-builtins"},hasSuggestions:!0,schema:[],messages:{prototypeBuildIn:"Do not access Object.prototype method '{{prop}}' from target object.",callObjectPrototype:"Call Object.prototype.{{prop}} explicitly."}},create(n){const o=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable"]);function t(c){const p=a.skipChainExpression(c.callee);if(p.type!=="MemberExpression")return;const u=a.getStaticPropertyName(p);u!==null&&o.has(u)&&n.report({messageId:"prototypeBuildIn",loc:p.property.loc,data:{prop:u},node:c,suggest:[{messageId:"callObjectPrototype",data:{prop:u},fix(r){const h=n.sourceCode;if(e(c)||c.callee.type==="ChainExpression")return null;const i=a.getVariableByName(h.getScope(c),"Object");if(!i||i.scope.type!=="global"||i.defs.length>0)return null;let f=h.getText(p.object);a.getPrecedence(p.object)<=a.getPrecedence({type:"SequenceExpression"})&&(f=`(${f})`);const m=h.getTokenAfter(c.callee,a.isOpeningParenToken),l=c.arguments.length===0?"":", ";return[r.replaceText(p,`Object.prototype.${u}.call`),r.insertTextAfter(m,f+l)]}}]})}return{CallExpression:t}}},Bu}var Lu,gE;function Ok(){if(gE)return Lu;gE=1;const a=Me();return Lu={meta:{type:"suggestion",defaultOptions:[{builtinGlobals:!0}],docs:{description:"Disallow variable redeclaration",recommended:!0,url:"https://eslint.org/docs/latest/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"}},additionalProperties:!1}]},create(e){const[{builtinGlobals:n}]=e.options,o=e.sourceCode;function*t(u){n&&(u.eslintImplicitGlobalSetting==="readonly"||u.eslintImplicitGlobalSetting==="writable")&&(yield{type:"builtin"});for(const r of u.identifiers)yield{type:"syntax",node:r,loc:r.loc};if(u.eslintExplicitGlobalComments)for(const r of u.eslintExplicitGlobalComments)yield{type:"comment",node:r,loc:a.getNameLocationInGlobalDirectiveComment(o,r,u.name)}}function c(u){for(const r of u.variables){const[h,...i]=t(r);if(i.length===0)continue;const f=h.type==="builtin"?"redeclaredAsBuiltin":"redeclaredBySyntax",m={id:r.name};for(const{type:s,node:l,loc:d}of i){const g=s===h.type?"redeclared":f;e.report({node:l,loc:d,messageId:g,data:m})}}}function p(u){const r=o.getScope(u);r.block===u&&c(r)}return{Program(u){const r=o.getScope(u);c(r),r.type==="global"&&r.childScopes[0]&&r.block===r.childScopes[0].block&&c(r.childScopes[0])},FunctionDeclaration:p,FunctionExpression:p,ArrowFunctionExpression:p,StaticBlock:p,BlockStatement:p,ForStatement:p,ForInStatement:p,ForOfStatement:p,SwitchStatement:p}}},Lu}var Ou,yE;function Nk(){if(yE)return Ou;yE=1;const a=Me(),e=fr(),n=new e.RegExpParser,o=/ {2}/u;function t(c){return c&&c.type==="Literal"&&typeof c.value=="string"}return Ou={meta:{type:"suggestion",docs:{description:"Disallow multiple spaces in regular expressions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-regex-spaces"},schema:[],fixable:"code",messages:{multipleSpaces:"Spaces are hard to count. Use {{{length}}}."}},create(c){const p=c.sourceCode;function u(i,f,m,s,l){if(!o.test(m))return;const d=[];let g;try{g=n.parsePattern(f,0,f.length,{unicode:l.includes("u"),unicodeSets:l.includes("v")})}catch{return}e.visitRegExpAST(g,{onCharacterClassEnter(b){d.push(b)}});const v=/( {2,})(?: [+*{?]|[^+*{?]|$)/gu;let S;for(;S=v.exec(f);){const{1:{length:b},index:C}=S;if(d.every(({start:w,end:E})=>C<w||E<=C)){c.report({node:i,messageId:"multipleSpaces",data:{length:b},fix(w){return f!==m?null:w.replaceTextRange([s+C,s+C+b],` {${b}}`)}});return}}}function r(i){if(i.regex){const f=i.regex.pattern,m=i.raw.slice(1,i.raw.lastIndexOf("/")),s=i.range[0]+1,l=i.regex.flags;u(i,f,m,s,l)}}function h(i){const f=p.getScope(i),m=a.getVariableByName(f,"RegExp"),s=m&&m.defs.length>0,l=i.arguments[0];if(i.callee.type==="Identifier"&&i.callee.name==="RegExp"&&t(l)&&!s){const d=l.value,g=l.raw.slice(1,-1),v=l.range[0]+1;let S;if(i.arguments.length<2)S="";else{const b=i.arguments[1];if(t(b))S=b.value;else return}u(i,d,g,v,S)}}return{Literal:r,CallExpression:h,NewExpression:h}}},Ou}var Nu,vE;function jk(){if(vE)return Nu;vE=1;const a=Me();return Nu={meta:{type:"suggestion",docs:{description:"Disallow specified names in exports",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-restricted-exports"},schema:[{anyOf:[{type:"object",properties:{restrictedNamedExports:{type:"array",items:{type:"string"},uniqueItems:!0},restrictedNamedExportsPattern:{type:"string"}},additionalProperties:!1},{type:"object",properties:{restrictedNamedExports:{type:"array",items:{type:"string",pattern:"^(?!default$)"},uniqueItems:!0},restrictedNamedExportsPattern:{type:"string"},restrictDefaultExports:{type:"object",properties:{direct:{type:"boolean"},named:{type:"boolean"},defaultFrom:{type:"boolean"},namedFrom:{type:"boolean"},namespaceFrom:{type:"boolean"}},additionalProperties:!1}},additionalProperties:!1}]}],messages:{restrictedNamed:"'{{name}}' is restricted from being used as an exported name.",restrictedDefault:"Exporting 'default' is restricted."}},create(e){const n=new Set(e.options[0]&&e.options[0].restrictedNamedExports),o=e.options[0]&&e.options[0].restrictedNamedExportsPattern,t=e.options[0]&&e.options[0].restrictDefaultExports,c=e.sourceCode;function p(u){const r=a.getModuleExportName(u);let h=!1;if(o&&r!=="default"&&(h=new RegExp(o,"u").test(r)),h||n.has(r)){e.report({node:u,messageId:"restrictedNamed",data:{name:r}});return}if(r==="default")if(u.parent.type==="ExportAllDeclaration")t&&t.namespaceFrom&&e.report({node:u,messageId:"restrictedDefault"});else{const i=!!u.parent.parent.source,f=a.getModuleExportName(u.parent.local);if(!i&&t&&t.named){e.report({node:u,messageId:"restrictedDefault"});return}i&&t&&(f==="default"&&t.defaultFrom||f!=="default"&&t.namedFrom)&&e.report({node:u,messageId:"restrictedDefault"})}}return{ExportAllDeclaration(u){u.exported&&p(u.exported)},ExportDefaultDeclaration(u){t&&t.direct&&e.report({node:u,messageId:"restrictedDefault"})},ExportNamedDeclaration(u){const r=u.declaration;r?r.type==="FunctionDeclaration"||r.type==="ClassDeclaration"?p(r.id):r.type==="VariableDeclaration"&&c.getDeclaredVariables(r).map(h=>h.defs.find(i=>i.parent===r)).map(h=>h.name).forEach(p):u.specifiers.map(h=>h.exported).forEach(p)}}}},Nu}var ju,EE;function Mk(){return EE||(EE=1,ju={meta:{type:"suggestion",docs:{description:"Disallow specified global variables",recommended:!1,url:"https://eslint.org/docs/latest/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(a){const e=a.sourceCode;if(a.options.length===0)return{};const n=a.options.reduce((c,p)=>(typeof p=="string"?c[p]=null:c[p.name]=p.message,c),{});function o(c){const p=c.identifier.name,u=n[p],r=u?"customMessage":"defaultMessage";a.report({node:c.identifier,messageId:r,data:{name:p,customMessage:u}})}function t(c){return Object.hasOwn(n,c)}return{Program(c){const p=e.getScope(c);p.variables.forEach(u=>{!u.defs.length&&t(u.name)&&u.references.forEach(o)}),p.through.forEach(u=>{t(u.identifier.name)&&o(u)})}}}}),ju}var Mu,SE;function bE(){if(SE)return Mu;SE=1;function a(N){return Array.isArray(N)?N:[N]}const e="",n=" ",o="\\",t=/^\s+$/,c=/(?:[^\\]|^)\\$/,p=/^\\!/,u=/^\\#/,r=/\r?\n/g,h=/^\.*\/|^\.+$/,i="/";let f="node-ignore";typeof Symbol<"u"&&(f=Symbol.for("node-ignore"));const m=f,s=(N,q,L)=>Object.defineProperty(N,q,{value:L}),l=/([0-z])-([0-z])/g,d=()=>!1,g=N=>N.replace(l,(q,L,W)=>L.charCodeAt(0)<=W.charCodeAt(0)?q:e),v=N=>{const{length:q}=N;return N.slice(0,q-q%2)},S=[[/^\uFEFF/,()=>e],[/((?:\\\\)*?)(\\?\s+)$/,(N,q,L)=>q+(L.indexOf("\\")===0?n:e)],[/(\\+?)\s/g,(N,q)=>{const{length:L}=q;return q.slice(0,L-L%2)+n}],[/[\\$.|*+(){^]/g,N=>`\\${N}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(N,q,L)=>q+6<L.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(N,q,L)=>{const W=L.replace(/\\\*/g,"[^\\/]*");return q+W}],[/\\\\\\(?=[$.|*+(){^])/g,()=>o],[/\\\\/g,()=>o],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(N,q,L,W,_)=>q===o?`\\[${L}${v(W)}${_}`:_==="]"&&W.length%2===0?`[${g(L)}${W}]`:"[]"],[/(?:[^*])$/,N=>/\/$/.test(N)?`${N}$`:`${N}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(N,q)=>`${q?`${q}[^/]+`:"[^/]*"}(?=$|\\/$)`]],b=Object.create(null),C=(N,q)=>{let L=b[N];return L||(L=S.reduce((W,[_,H])=>W.replace(_,H.bind(N)),N),b[N]=L),q?new RegExp(L,"i"):new RegExp(L)},w=N=>typeof N=="string",E=N=>N&&w(N)&&!t.test(N)&&!c.test(N)&&N.indexOf("#")!==0,k=N=>N.split(r);class x{constructor(q,L,W,_){this.origin=q,this.pattern=L,this.negative=W,this.regex=_}}const A=(N,q)=>{const L=N;let W=!1;N.indexOf("!")===0&&(W=!0,N=N.substr(1)),N=N.replace(p,"!").replace(u,"#");const _=C(N,q);return new x(L,N,W,_)},I=(N,q)=>{throw new q(N)},B=(N,q,L)=>w(N)?N?B.isNotRelative(N)?L(`path should be a \`path.relative()\`d string, but got "${q}"`,RangeError):!0:L("path must not be empty",TypeError):L(`path must be a string, but got \`${q}\``,TypeError),M=N=>h.test(N);B.isNotRelative=M,B.convert=N=>N;class P{constructor({ignorecase:q=!0,ignoreCase:L=q,allowRelativePaths:W=!1}={}){s(this,m,!0),this._rules=[],this._ignoreCase=L,this._allowRelativePaths=W,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(q){if(q&&q[m]){this._rules=this._rules.concat(q._rules),this._added=!0;return}if(E(q)){const L=A(q,this._ignoreCase);this._added=!0,this._rules.push(L)}}add(q){return this._added=!1,a(w(q)?k(q):q).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(q){return this.add(q)}_testOne(q,L){let W=!1,_=!1;return this._rules.forEach(H=>{const{negative:K}=H;if(_===K&&W!==_||K&&!W&&!_&&!L)return;H.regex.test(q)&&(W=!K,_=K)}),{ignored:W,unignored:_}}_test(q,L,W,_){const H=q&&B.convert(q);return B(H,q,this._allowRelativePaths?d:I),this._t(H,L,W,_)}_t(q,L,W,_){if(q in L)return L[q];if(_||(_=q.split(i)),_.pop(),!_.length)return L[q]=this._testOne(q,W);const H=this._t(_.join(i)+i,L,W,_);return L[q]=H.ignored?H:this._testOne(q,W)}ignores(q){return this._test(q,this._ignoreCache,!1).ignored}createFilter(){return q=>!this.ignores(q)}filter(q){return a(q).filter(this.createFilter())}test(q){return this._test(q,this._testCache,!0)}}const D=N=>new P(N),R=N=>B(N&&B.convert(N),N,d);if(D.isPathValid=R,D.default=D,Mu=D,typeof Mt<"u"&&(Mt.env&&Mt.env.IGNORE_TEST_WIN32||Mt.platform==="win32")){const N=L=>/^\\\\\?\\/.test(L)||/["<>|\u0000-\u001F]+/u.test(L)?L:L.replace(/\\/g,"/");B.convert=N;const q=/^[a-z]:\//i;B.isNotRelative=L=>q.test(L)||M(L)}return Mu}var Uu,xE;function Uk(){if(xE)return Uu;xE=1;const a=Me(),e=bE(),n={type:"array",items:{anyOf:[{type:"string"},{type:"object",properties:{name:{type:"string"},message:{type:"string",minLength:1},importNames:{type:"array",items:{type:"string"}},allowImportNames:{type:"array",items:{type:"string"}}},additionalProperties:!1,required:["name"],not:{required:["importNames","allowImportNames"]}}]},uniqueItems:!0};return Uu={meta:{type:"suggestion",docs:{description:"Disallow specified modules when loaded by `import`",recommended:!1,url:"https://eslint.org/docs/latest/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}}",patternAndImportName:"'{{importName}}' import from '{{importSource}}' is restricted from being used by a pattern.",patternAndImportNameWithCustomMessage:"'{{importName}}' import from '{{importSource}}' is restricted from being used by a pattern. {{customMessage}}",patternAndEverything:"* import is invalid because '{{importNames}}' from '{{importSource}}' is restricted from being used by a pattern.",patternAndEverythingWithRegexImportName:"* import is invalid because import name matching '{{importNames}}' pattern from '{{importSource}}' is restricted from being used.",patternAndEverythingWithCustomMessage:"* import is invalid because '{{importNames}}' from '{{importSource}}' is restricted from being used by a pattern. {{customMessage}}",patternAndEverythingWithRegexImportNameAndCustomMessage:"* import is invalid because import name matching '{{importNames}}' pattern from '{{importSource}}' is restricted from being used. {{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}}",allowedImportName:"'{{importName}}' import from '{{importSource}}' is restricted because only '{{allowedImportNames}}' import(s) is/are allowed.",allowedImportNameWithCustomMessage:"'{{importName}}' import from '{{importSource}}' is restricted because only '{{allowedImportNames}}' import(s) is/are allowed. {{customMessage}}",everythingWithAllowImportNames:"* import is invalid because only '{{allowedImportNames}}' from '{{importSource}}' is/are allowed.",everythingWithAllowImportNamesAndCustomMessage:"* import is invalid because only '{{allowedImportNames}}' from '{{importSource}}' is/are allowed. {{customMessage}}",allowedImportNamePattern:"'{{importName}}' import from '{{importSource}}' is restricted because only imports that match the pattern '{{allowedImportNamePattern}}' are allowed from '{{importSource}}'.",allowedImportNamePatternWithCustomMessage:"'{{importName}}' import from '{{importSource}}' is restricted because only imports that match the pattern '{{allowedImportNamePattern}}' are allowed from '{{importSource}}'. {{customMessage}}",everythingWithAllowedImportNamePattern:"* import is invalid because only imports that match the pattern '{{allowedImportNamePattern}}' from '{{importSource}}' are allowed.",everythingWithAllowedImportNamePatternWithCustomMessage:"* import is invalid because only imports that match the pattern '{{allowedImportNamePattern}}' from '{{importSource}}' are allowed. {{customMessage}}"},schema:{anyOf:[n,{type:"array",items:[{type:"object",properties:{paths:n,patterns:{anyOf:[{type:"array",items:{type:"string"},uniqueItems:!0},{type:"array",items:{type:"object",properties:{importNames:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0},allowImportNames:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0},group:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0},regex:{type:"string"},importNamePattern:{type:"string"},allowImportNamePattern:{type:"string"},message:{type:"string",minLength:1},caseSensitive:{type:"boolean"}},additionalProperties:!1,not:{anyOf:[{required:["importNames","allowImportNames"]},{required:["importNamePattern","allowImportNamePattern"]},{required:["importNames","allowImportNamePattern"]},{required:["importNamePattern","allowImportNames"]},{required:["allowImportNames","allowImportNamePattern"]}]},oneOf:[{required:["group"]},{required:["regex"]}]},uniqueItems:!0}]}},additionalProperties:!1}],additionalItems:!1}]}},create(t){const c=t.sourceCode,p=Array.isArray(t.options)?t.options:[],u=typeof p[0]=="object"&&(Object.hasOwn(p[0],"paths")||Object.hasOwn(p[0],"patterns")),r=(u?p[0].paths:t.options)||[],h=r.reduce((g,v)=>{const S=typeof v=="string"?v:v.name;return g[S]||(g[S]=[]),typeof v=="string"?g[S].push({}):g[S].push({message:v.message,importNames:v.importNames,allowImportNames:v.allowImportNames}),g},Object.create(null));let i=(u?p[0].patterns:[])||[];i.length>0&&typeof i[0]=="string"&&(i=[{group:i}]);const f=i.map(({group:g,regex:v,message:S,caseSensitive:b,importNames:C,importNamePattern:w,allowImportNames:E,allowImportNamePattern:k})=>({...g?{matcher:e({allowRelativePaths:!0,ignorecase:!b}).add(g)}:{},...typeof v=="string"?{regexMatcher:new RegExp(v,b?"u":"iu")}:{},customMessage:S,importNames:C,importNamePattern:w,allowImportNames:E,allowImportNamePattern:k}));if(Object.keys(r).length===0&&f.length===0)return{};function m(g,v,S){Object.hasOwn(h,g)&&h[g].forEach(b=>{const C=b.message,w=b.importNames,E=b.allowImportNames;if(!w&&!E){t.report({node:S,messageId:C?"pathWithCustomMessage":"path",data:{importSource:g,customMessage:C}});return}v.forEach((k,x)=>{if(x==="*"){const[A]=k;w?t.report({node:S,messageId:C?"everythingWithCustomMessage":"everything",loc:A.loc,data:{importSource:g,importNames:w,customMessage:C}}):E&&t.report({node:S,messageId:C?"everythingWithAllowImportNamesAndCustomMessage":"everythingWithAllowImportNames",loc:A.loc,data:{importSource:g,allowedImportNames:E,customMessage:C}});return}w&&w.includes(x)&&k.forEach(A=>{t.report({node:S,messageId:C?"importNameWithCustomMessage":"importName",loc:A.loc,data:{importSource:g,customMessage:C,importName:x}})}),E&&!E.includes(x)&&k.forEach(A=>{t.report({node:S,loc:A.loc,messageId:C?"allowedImportNameWithCustomMessage":"allowedImportName",data:{importSource:g,customMessage:C,importName:x,allowedImportNames:E}})})})})}function s(g,v,S){const b=g.source.value.trim(),C=v.customMessage,w=v.importNames,E=v.importNamePattern?new RegExp(v.importNamePattern,"u"):null,k=v.allowImportNames,x=v.allowImportNamePattern?new RegExp(v.allowImportNamePattern,"u"):null;if(!w&&!k&&!E&&!x){t.report({node:g,messageId:C?"patternWithCustomMessage":"patterns",data:{importSource:b,customMessage:C}});return}S.forEach((A,I)=>{if(I==="*"){const[B]=A;w?t.report({node:g,messageId:C?"patternAndEverythingWithCustomMessage":"patternAndEverything",loc:B.loc,data:{importSource:b,importNames:w,customMessage:C}}):k?t.report({node:g,messageId:C?"everythingWithAllowImportNamesAndCustomMessage":"everythingWithAllowImportNames",loc:B.loc,data:{importSource:b,allowedImportNames:k,customMessage:C}}):x?t.report({node:g,messageId:C?"everythingWithAllowedImportNamePatternWithCustomMessage":"everythingWithAllowedImportNamePattern",loc:B.loc,data:{importSource:b,allowedImportNamePattern:x,customMessage:C}}):t.report({node:g,messageId:C?"patternAndEverythingWithRegexImportNameAndCustomMessage":"patternAndEverythingWithRegexImportName",loc:B.loc,data:{importSource:b,importNames:E,customMessage:C}});return}(w&&w.includes(I)||E&&E.test(I))&&A.forEach(B=>{t.report({node:g,messageId:C?"patternAndImportNameWithCustomMessage":"patternAndImportName",loc:B.loc,data:{importSource:b,customMessage:C,importName:I}})}),k&&!k.includes(I)?A.forEach(B=>{t.report({node:g,messageId:C?"allowedImportNameWithCustomMessage":"allowedImportName",loc:B.loc,data:{importSource:b,customMessage:C,importName:I,allowedImportNames:k}})}):x&&!x.test(I)&&A.forEach(B=>{t.report({node:g,messageId:C?"allowedImportNamePatternWithCustomMessage":"allowedImportNamePattern",loc:B.loc,data:{importSource:b,customMessage:C,importName:I,allowedImportNamePattern:x}})})})}function l(g,v){return v.regexMatcher?v.regexMatcher.test(g):v.matcher.ignores(g)}function d(g){const v=g.source.value.trim(),S=new Map;if(g.type==="ExportAllDeclaration"){const b=c.getFirstToken(g,1);S.set("*",[{loc:b.loc}])}else if(g.specifiers)for(const b of g.specifiers){let C;const w={loc:b.loc};b.type==="ImportDefaultSpecifier"?C="default":b.type==="ImportNamespaceSpecifier"?C="*":b.imported?C=a.getModuleExportName(b.imported):b.local&&(C=a.getModuleExportName(b.local)),typeof C=="string"&&(S.has(C)?S.get(C).push(w):S.set(C,[w]))}m(v,S,g),f.forEach(b=>{l(v,b)&&s(g,b,S)})}return{ImportDeclaration:d,ExportNamedDeclaration(g){g.source&&d(g)},ExportAllDeclaration:d}}},Uu}var qu,CE;function qk(){if(CE)return qu;CE=1;const a=Me(),e=bE(),n={type:"array",items:{type:"string"},uniqueItems:!0},o={type:"array",items:{anyOf:[{type:"string"},{type:"object",properties:{name:{type:"string"},message:{type:"string",minLength:1}},additionalProperties:!1,required:["name"]}]},uniqueItems:!0};return qu={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:null,replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-restricted-require",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-restricted-require.md"}}]},type:"suggestion",docs:{description:"Disallow specified modules when loaded by `require`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-restricted-modules"},schema:{anyOf:[o,{type:"array",items:{type:"object",properties:{paths:o,patterns:n},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(t){const c=Array.isArray(t.options)?t.options:[],p=typeof c[0]=="object"&&(Object.hasOwn(c[0],"paths")||Object.hasOwn(c[0],"patterns")),u=(p?c[0].paths:t.options)||[],r=(p?c[0].patterns:[])||[],h=u.reduce((g,v)=>(typeof v=="string"?g[v]=null:g[v.name]=v.message,g),{});if(Object.keys(u).length===0&&r.length===0)return{};const i=e({allowRelativePaths:!0}).add(r);function f(g){return g&&g.type==="Literal"&&typeof g.value=="string"}function m(g){return g.callee.type==="Identifier"&&g.callee.name==="require"}function s(g){return f(g)?g.value.trim():a.isStaticTemplateLiteral(g)?g.quasis[0].value.cooked.trim():null}function l(g,v){const S=h[v],b=S?"customMessage":"defaultMessage";t.report({node:g,messageId:b,data:{name:v,customMessage:S}})}function d(g){return Object.hasOwn(h,g)}return{CallExpression(g){if(m(g)&&g.arguments.length){const v=s(g.arguments[0]);v&&(d(v)&&l(g,v),r.length>0&&i.ignores(v)&&t.report({node:g,messageId:"patternMessage",data:{name:v}}))}}}}},qu}var Vu,wE;function Vk(){if(wE)return Vu;wE=1;const a=Me();return Vu={meta:{type:"suggestion",docs:{description:"Disallow certain properties on certain objects",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-restricted-properties"},schema:{type:"array",items:{type:"object",properties:{object:{type:"string"},property:{type:"string"},allowObjects:{type:"array",items:{type:"string"},uniqueItems:!0},message:{type:"string"}},anyOf:[{required:["object"]},{required:["property"]}],not:{required:["allowObjects","object"]},additionalProperties:!1},uniqueItems:!0},messages:{restrictedObjectProperty:"'{{objectName}}.{{propertyName}}' is restricted from being used.{{message}}",restrictedProperty:"'{{propertyName}}' is restricted from being used.{{message}}"}},create(e){const n=e.options;if(n.length===0)return{};const o=new Map,t=new Map,c=new Map;n.forEach(r=>{const h=r.object,i=r.property;typeof h>"u"?c.set(i,{allowObjects:r.allowObjects,message:r.message}):typeof i>"u"?t.set(h,{message:r.message}):(o.has(h)||o.set(h,new Map),o.get(h).set(i,{message:r.message}))});function p(r,h){return h?h.includes(r):!1}function u(r,h,i){if(i===null)return;const f=o.get(h),m=f?f.get(i):t.get(h),s=c.get(i);if(m){const l=m.message?` ${m.message}`:"";e.report({node:r,messageId:"restrictedObjectProperty",data:{objectName:h,propertyName:i,message:l}})}else if(s&&!p(h,s.allowObjects)){const l=s.message?` ${s.message}`:"";e.report({node:r,messageId:"restrictedProperty",data:{propertyName:i,message:l}})}}return{MemberExpression(r){u(r,r.object&&r.object.name,a.getStaticPropertyName(r))},ObjectPattern(r){let h=null;r.parent.type==="VariableDeclarator"?r.parent.init&&r.parent.init.type==="Identifier"&&(h=r.parent.init.name):(r.parent.type==="AssignmentExpression"||r.parent.type==="AssignmentPattern")&&r.parent.right.type==="Identifier"&&(h=r.parent.right.name),r.properties.forEach(i=>{u(r,h,a.getStaticPropertyName(i))})}}}},Vu}var $u,AE;function $k(){return AE||(AE=1,$u={meta:{type:"suggestion",docs:{description:"Disallow specified syntax",recommended:!1,url:"https://eslint.org/docs/latest/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(a){return a.options.reduce((e,n)=>{const o=typeof n=="string",t=!o&&!!n.message,c=o?n:n.selector,p=t?n.message:`Using '${c}' is not allowed.`;return Object.assign(e,{[c](u){a.report({node:u,messageId:"restrictedSyntax",data:{message:p}})}})},{})}}),$u}var Wu,TE;function Wk(){if(TE)return Wu;TE=1;const a=Me(),e=/^(?:[a-zA-Z]+?Statement|ArrowFunctionExpression|FunctionExpression|ClassExpression)$/u;return Wu={meta:{type:"suggestion",defaultOptions:["except-parens"],docs:{description:"Disallow assignment operators in `return` statements",recommended:!1,url:"https://eslint.org/docs/latest/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(n){const o=n.options[0]!=="except-parens",t=n.sourceCode;return{AssignmentExpression(c){if(!o&&a.isParenthesised(t,c))return;let p=c,u=p.parent;for(;u&&!e.test(u.type);)p=u,u=u.parent;u&&u.type==="ReturnStatement"?n.report({node:u,messageId:"returnAssignment"}):u&&u.type==="ArrowFunctionExpression"&&u.body===p&&n.report({node:u,messageId:"arrowAssignment"})}}}},Wu}var Gu,kE;function Gk(){if(kE)return Gu;kE=1;const a=Me();return Gu={meta:{hasSuggestions:!0,type:"suggestion",docs:{description:"Disallow unnecessary `return await`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-return-await"},fixable:null,deprecated:{message:"The original assumption of the rule no longer holds true because of engine optimization.",deprecatedSince:"8.46.0",availableUntil:null,replacedBy:[]},schema:[],messages:{removeAwait:"Remove redundant `await`.",redundantUseOfAwait:"Redundant use of `await` on a return value."}},create(e){function n(c){e.report({node:e.sourceCode.getFirstToken(c),loc:c.loc,messageId:"redundantUseOfAwait",suggest:[{messageId:"removeAwait",fix(p){const u=e.sourceCode,[r,h]=u.getFirstTokens(c,2);if(!(r.loc.start.line===h.loc.start.line))return null;const[f,m]=r.range,l=u.text[m]===" "?1:0,d=[f,m+l];return p.removeRange(d)}}]})}function o(c){let p=c;for(;!a.isFunction(p)&&p.type!=="Program";){if(p.parent.type==="TryStatement"&&(p===p.parent.block||p===p.parent.handler&&p.parent.finalizer))return!0;p=p.parent}return!1}function t(c){return c.parent.type==="ArrowFunctionExpression"?!0:c.parent.type==="ReturnStatement"?!o(c.parent):c.parent.type==="ConditionalExpression"&&(c===c.parent.consequent||c===c.parent.alternate)||c.parent.type==="LogicalExpression"&&c===c.parent.right||c.parent.type==="SequenceExpression"&&c===c.parent.expressions.at(-1)?t(c.parent):!1}return{AwaitExpression(c){t(c)&&!o(c)&&n(c)}}}},Gu}var zu,DE;function zk(){if(DE)return zu;DE=1;const a=Me();return zu={meta:{type:"suggestion",docs:{description:"Disallow `javascript:` URLs",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-script-url"},schema:[],messages:{unexpectedScriptURL:"Script URL is a form of eval."}},create(e){function n(o){const t=a.getStaticStringValue(o);typeof t=="string"&&t.toLowerCase().indexOf("javascript:")===0&&e.report({node:o,messageId:"unexpectedScriptURL"})}return{Literal(o){o.value&&typeof o.value=="string"&&n(o)},TemplateLiteral(o){o.parent&&o.parent.type==="TaggedTemplateExpression"||n(o)}}}},zu}var Hu,IE;function Hk(){if(IE)return Hu;IE=1;const a=Me(),e=/\s+/gu;function n(o,t,c,p){if(!(!o||!t))if(o.type==="Identifier"&&t.type==="Identifier"&&o.name===t.name)p(t);else if(o.type==="ArrayPattern"&&t.type==="ArrayExpression"){const u=Math.min(o.elements.length,t.elements.length);for(let r=0;r<u;++r){const h=o.elements[r],i=t.elements[r];if(h&&h.type==="RestElement"&&r<t.elements.length-1||(n(h,i,c,p),i&&i.type==="SpreadElement"))break}}else if(o.type==="RestElement"&&t.type==="SpreadElement")n(o.argument,t.argument,c,p);else if(o.type==="ObjectPattern"&&t.type==="ObjectExpression"&&t.properties.length>=1){let u=0;for(let r=t.properties.length-1;r>=0;--r){const h=t.properties[r].type;if(h==="SpreadElement"||h==="ExperimentalSpreadProperty"){u=r+1;break}}for(let r=0;r<o.properties.length;++r)for(let h=u;h<t.properties.length;++h)n(o.properties[r],t.properties[h],c,p)}else if(o.type==="Property"&&t.type==="Property"&&t.kind==="init"&&!t.method){const u=a.getStaticPropertyName(o);u!==null&&u===a.getStaticPropertyName(t)&&n(o.value,t.value,c,p)}else c&&a.skipChainExpression(o).type==="MemberExpression"&&a.skipChainExpression(t).type==="MemberExpression"&&a.isSameReference(o,t)&&p(t)}return Hu={meta:{type:"problem",defaultOptions:[{props:!0}],docs:{description:"Disallow assignments where both sides are exactly the same",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-self-assign"},schema:[{type:"object",properties:{props:{type:"boolean"}},additionalProperties:!1}],messages:{selfAssignment:"'{{name}}' is assigned to itself."}},create(o){const t=o.sourceCode,[{props:c}]=o.options;function p(u){o.report({node:u,messageId:"selfAssignment",data:{name:t.getText(u).replace(e,"")}})}return{AssignmentExpression(u){["=","&&=","||=","??="].includes(u.operator)&&n(u.left,u.right,c,p)}}}},Hu}var Ku,PE;function Kk(){return PE||(PE=1,Ku={meta:{type:"problem",docs:{description:"Disallow comparisons where both sides are exactly the same",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-self-compare"},schema:[],messages:{comparingToSelf:"Comparing to itself is potentially pointless."}},create(a){const e=a.sourceCode;function n(o,t){const c=e.getTokens(o),p=e.getTokens(t);return c.length===p.length&&c.every((u,r)=>u.type===p[r].type&&u.value===p[r].value)}return{BinaryExpression(o){new Set(["===","==","!==","!=",">","<",">=","<="]).has(o.operator)&&n(o.left,o.right)&&a.report({node:o,messageId:"comparingToSelf"})}}}}),Ku}var Xu,FE;function Xk(){if(FE)return Xu;FE=1;const a=Me();return Xu={meta:{type:"suggestion",docs:{description:"Disallow comma operators",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-sequences"},schema:[{type:"object",properties:{allowInParentheses:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{allowInParentheses:!0}],messages:{unexpectedCommaExpression:"Unexpected use of comma operator."}},create(e){const[{allowInParentheses:n}]=e.options,o=e.sourceCode,t={DoWhileStatement:"test",IfStatement:"test",SwitchStatement:"discriminant",WhileStatement:"test",WithStatement:"object",ArrowFunctionExpression:"body"};function c(r){return r.parent&&t[r.parent.type]&&r===r.parent[t[r.parent.type]]}function p(r){return a.isParenthesised(o,r)}function u(r){const h=o.getTokenBefore(r,1),i=o.getTokenAfter(r,1);return p(r)&&h&&i&&a.isOpeningParenToken(h)&&h.range[1]<=r.range[0]&&a.isClosingParenToken(i)&&i.range[0]>=r.range[1]}return{SequenceExpression(r){if(r.parent.type==="ForStatement"&&(r===r.parent.init||r===r.parent.update))return;if(n){if(c(r)){if(u(r))return}else if(p(r))return}const h=o.getTokenAfter(r.expressions[0],a.isCommaToken);e.report({node:r,loc:h.loc,messageId:"unexpectedCommaExpression"})}}}},Xu}var Ju,RE;function Jk(){if(RE)return Ju;RE=1;const a=Me(),{findVariable:e}=$t();function n(u,r){const h=e(r,u);return h!==null&&h.scope.type==="global"&&h.defs.length===0}function o(u,r,h,i,f){const m=u.parent;return m.type==="CallExpression"&&m.arguments[f]===u&&a.isSpecificMemberAccess(m.callee,h,i)&&n(a.skipChainExpression(m.callee).object,r)}function t(u,r){if(o(u,r,"Object","defineProperty",2)||o(u,r,"Reflect","defineProperty",2))return!0;const h=u.parent;if(h.type==="Property"&&h.value===u){const i=h.parent;if(i.type==="ObjectExpression"&&(o(i,r,"Object","create",1)||o(i,r,"Object","defineProperties",1)))return!0}return!1}function c(u,r){const h=u.parent;return!!((h.type==="Property"||h.type==="MethodDefinition")&&h.kind==="set"&&h.value===u||h.type==="Property"&&h.value===u&&a.getStaticPropertyName(h)==="set"&&h.parent.type==="ObjectExpression"&&t(h.parent,r))}function p(u){const r=u.upper;return r.type==="function-expression-name"?r.upper:r}return Ju={meta:{type:"problem",docs:{description:"Disallow returning values from setters",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-setter-return"},schema:[],messages:{returnsValue:"Setter cannot return a value."}},create(u){let r=null;const h=u.sourceCode;function i(s){const l=p(h.getScope(s));r={upper:r,isSetter:c(s,l)}}function f(){r=r.upper}function m(s){u.report({node:s,messageId:"returnsValue"})}return{FunctionDeclaration:i,FunctionExpression:i,ArrowFunctionExpression(s){i(s),r.isSetter&&s.expression&&m(s.body)},"FunctionDeclaration:exit":f,"FunctionExpression:exit":f,"ArrowFunctionExpression:exit":f,ReturnStatement(s){r&&r.isSetter&&s.argument&&m(s)}}}},Ju}var Yu,_E;function Yk(){if(_E)return Yu;_E=1;const a=Me(),e=new Set(["ArrowFunctionExpression","FunctionExpression"]),n=new Set(["CallExpression"]),o=/^For(?:In|Of)Statement$/u,t=/^(?:(?:Function|Class)(?:Declaration|Expression)|ArrowFunctionExpression|CatchClause|ImportDeclaration|ExportNamedDeclaration)$/u,c=new Set(["TSInterfaceDeclaration","TSTypeAliasDeclaration"]),p=new Set(["TSCallSignatureDeclaration","TSFunctionType","TSMethodSignature","TSEmptyBodyFunctionExpression","TSDeclareFunction","TSConstructSignatureDeclaration","TSConstructorType"]);return Yu={meta:{type:"suggestion",dialects:["typescript","javascript"],language:"javascript",defaultOptions:[{allow:[],builtinGlobals:!1,hoist:"functions",ignoreOnInitialization:!1,ignoreTypeValueShadow:!0,ignoreFunctionTypeParameterNameValueShadow:!0}],docs:{description:"Disallow variable declarations from shadowing variables declared in the outer scope",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-shadow"},schema:[{type:"object",properties:{builtinGlobals:{type:"boolean"},hoist:{enum:["all","functions","never","types","functions-and-types"]},allow:{type:"array",items:{type:"string"}},ignoreOnInitialization:{type:"boolean"},ignoreTypeValueShadow:{type:"boolean"},ignoreFunctionTypeParameterNameValueShadow:{type:"boolean"}},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(u){const[{builtinGlobals:r,hoist:h,allow:i,ignoreOnInitialization:f,ignoreTypeValueShadow:m,ignoreFunctionTypeParameterNameValueShadow:s}]=u.options,l=u.sourceCode;function d(W){return W.block.kind==="global"||!!W.upper&&d(W.upper)}function g(W){return W.name==="this"}function v(W,_){var te;if(m!==!0||!("isValueVariable"in W))return!1;const H=_.defs[0],K=H&&((te=H.parent)==null?void 0:te.type)==="ImportDeclaration"&&(H.parent.importKind==="type"||H.parent.specifiers.some(xe=>xe.importKind==="type")),re=!H||(K?!1:_.isValueVariable);return W.isValueVariable!==re}function S(W){return s!==!0?!1:W.defs.some(_=>p.has(_.node.type))}function b(W){const H=W.identifiers[0].parent.parent;return H.type!=="TSTypeParameterDeclaration"?!1:H.parent.parent.static}function C(W){return b(W)}function w(W,_){return W&&W.range[0]<=_&&_<=W.range[1]}function E(W,_){let H=W;for(;H&&!_(H);)H=H.parent;return H}function k(W){const _=W.upper;return _&&_.type==="function-expression-name"?_.upper:_}function x(W,_){const H=_.defs[0];if(!H)return!1;const{variableScope:K}=W.scope;if(!(e.has(K.block.type)&&k(K)===_.scope))return!1;const re=K.block,{parent:te}=re,xe=E(te,z=>n.has(z.type));if(!xe)return!1;let Y=H.name;const F=xe.range[1];for(;Y;){if(Y.type==="VariableDeclarator"){if(w(Y.init,F)||o.test(Y.parent.parent.type)&&w(Y.parent.parent.right,F))return!0;break}else if(Y.type==="AssignmentPattern"){if(w(Y.right,F))return!0}else if(t.test(Y.type))break;Y=Y.parent}return!1}function A(W){return i.includes(W.name)}function I(W){const _=W.scope.block;return _.type==="ClassDeclaration"&&_.id===W.identifiers[0]}function B(W,_){const H=_.scope,K=_.defs[0],re=K&&K.parent&&K.parent.range,te=W.scope,xe=W.defs[0],Y=xe&&xe.name.range;return re&&Y&&re[0]<Y[0]&&Y[1]<re[1]&&(xe.type==="FunctionName"&&xe.node.type==="FunctionExpression"||xe.node.type==="ClassExpression")&&H===te.upper}function M(W){const _=W.defs[0];return _&&_.name.range}function P(W){const _=W.identifiers[0];let H;return _?H={global:!1,line:_.loc.start.line,column:_.loc.start.column+1}:H={global:!0},H}function D(W,_){const H=_.defs[0],K=M(W),re=M(_);return!re||K[1]>=re[0]?!1:h==="types"?!c.has(H.node.type):h==="functions-and-types"?H.node.type!=="FunctionDeclaration"&&!c.has(H.node.type):K&&re&&K[1]<re[0]&&(h!=="functions"||!H||H.node.type!=="FunctionDeclaration")}function R(W){const _=u.filename;return!_.endsWith(".d.ts")&&!_.endsWith(".d.cts")&&!_.endsWith(".d.mts")?!1:W.defs.some(H=>H.type==="Variable"&&H.parent.declare||H.type==="ClassName"&&H.node.declare||H.type==="TSEnumName"&&H.node.declare||H.type==="TSModuleName"&&H.node.declare)}function N(W){const _=W.scope.block;return _.type==="TSEnumDeclaration"&&_.id===W.identifiers[0]}function q(W,_,H){var F,z;const K=H.defs[0];if(!K||!K.parent||!(K.parent.type==="ImportDeclaration"&&(K.parent.importKind==="type"||((F=K.parent.specifiers)==null?void 0:F.some(ne=>ne.type==="ImportSpecifier"&&ne.importKind==="type"&&ne.local.name===H.name)))))return!1;const te=E((z=_.identifiers[0])==null?void 0:z.parent,ne=>ne.type==="TSModuleDeclaration");if(!te)return!1;const xe=K.parent.source.value,Y=te.id.type==="Literal"?te.id.value:te.id.name;return xe===Y}function L(W){if(d(W))return;const _=W.variables;for(let H=0;H<_.length;++H){const K=_[H];if(K.identifiers.length===0||I(K)||N(K)||A(K)||R(K)||g(K))continue;const re=a.getVariableByName(W.upper,K.name);if(re&&(re.identifiers.length>0||r&&"writeable"in re)&&!B(K,re)&&!(f&&x(K,re))&&!(h!=="all"&&D(K,re))&&!v(K,re)&&!S(K)&&!C(K)&&!q(W,K,re)){const te=P(re),xe=te.global?"noShadowGlobal":"noShadow",Y={name:K.name};te.global||(Y.shadowedLine=te.line,Y.shadowedColumn=te.column),u.report({node:K.identifiers[0],messageId:xe,data:Y})}}}return{"Program:exit"(W){const H=l.getScope(W).childScopes.slice();for(;H.length;){const K=H.pop();H.push(...K.childScopes),L(K)}}}}},Yu}var Qu,BE;function Qk(){if(BE)return Qu;BE=1;function a(e){return e.name==="undefined"&&e.references.every(n=>!n.isWrite())&&e.defs.every(n=>n.node.type==="VariableDeclarator"&&n.node.init===null)}return Qu={meta:{type:"suggestion",defaultOptions:[{reportGlobalThis:!1}],docs:{description:"Disallow identifiers from shadowing restricted names",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-shadow-restricted-names"},schema:[{type:"object",properties:{reportGlobalThis:{type:"boolean"}},additionalProperties:!1}],messages:{shadowingRestrictedName:"Shadowing of global property '{{name}}'."}},create(e){const[{reportGlobalThis:n}]=e.options,o=new Set(["undefined","NaN","Infinity","arguments","eval"]);n&&o.add("globalThis");const t=e.sourceCode,c=new Set;return{"VariableDeclaration, :function, CatchClause, ImportDeclaration, ClassDeclaration, ClassExpression"(p){for(const u of t.getDeclaredVariables(p))if(u.defs.length>0&&o.has(u.name)&&!a(u))for(const r of u.defs){const h=r.name;c.has(h)||(c.add(h),e.report({node:h,messageId:"shadowingRestrictedName",data:{name:u.name}}))}}}}},Qu}var Zu,LE;function Zk(){return LE||(LE=1,Zu={meta:{type:"layout",docs:{description:"Disallow spacing between function identifiers and their applications (deprecated)",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-spaced-func"},deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",deprecatedSince:"3.3.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"function-call-spacing",url:"https://eslint.style/rules/js/function-call-spacing"}}]},fixable:"whitespace",schema:[],messages:{noSpacedFunction:"Unexpected space between function name and paren."}},create(a){const e=a.sourceCode;function n(o){const t=e.getLastToken(o.callee);let c=t,p=e.getTokenAfter(t);for(;p&&p.range[1]<o.range[1]&&p.value!=="(";)c=p,p=e.getTokenAfter(p);p&&p.range[1]<o.range[1]&&e.isSpaceBetweenTokens(c,p)&&a.report({node:o,loc:t.loc.start,messageId:"noSpacedFunction",fix(u){return u.removeRange([c.range[1],p.range[0]])}})}return{CallExpression:n,NewExpression:n}}}),Zu}var ec,OE;function eD(){if(OE)return ec;OE=1;const a=Me();return ec={meta:{type:"problem",docs:{description:"Disallow sparse arrays",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-sparse-arrays"},schema:[],messages:{unexpectedSparseArray:"Unexpected comma in middle of array."}},create(e){return{ArrayExpression(n){if(!n.elements.includes(null))return;const{sourceCode:o}=e;let t;for(const[c,p]of n.elements.entries()){if(c===n.elements.length-1&&p)return;t=o.getTokenAfter(p??t??o.getFirstToken(n),a.isCommaToken),!p&&e.report({node:n,loc:t.loc,messageId:"unexpectedSparseArray"})}}}}},ec}var tc,NE;function tD(){return NE||(NE=1,tc={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:null,replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-sync",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-sync.md"}}]},type:"suggestion",docs:{description:"Disallow synchronous methods",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-sync"},schema:[{type:"object",properties:{allowAtRootLevel:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{noSync:"Unexpected sync method: '{{propertyName}}'."}},create(a){return{[a.options[0]&&a.options[0].allowAtRootLevel?":function MemberExpression[property.name=/.*Sync$/]":"MemberExpression[property.name=/.*Sync$/]"](n){a.report({node:n,messageId:"noSync",data:{propertyName:n.property.name}})}}}}),tc}var rc,jE;function rD(){if(jE)return rc;jE=1;const a=/\t+/gu,e=/\S/u;return rc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"no-tabs",url:"https://eslint.style/rules/js/no-tabs"}}]},type:"layout",docs:{description:"Disallow all tabs",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-tabs"},schema:[{type:"object",properties:{allowIndentationTabs:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{unexpectedTab:"Unexpected tab character."}},create(n){const o=n.sourceCode,t=n.options&&n.options[0]&&n.options[0].allowIndentationTabs;return{Program(c){o.getLines().forEach((p,u)=>{let r;for(;(r=a.exec(p))!==null;)t&&!e.test(p.slice(0,r.index))||n.report({node:c,loc:{start:{line:u+1,column:r.index},end:{line:u+1,column:r.index+r[0].length}},messageId:"unexpectedTab"})})}}}},rc}var nc,ME;function nD(){return ME||(ME=1,nc={meta:{type:"problem",docs:{description:"Disallow template literal placeholder syntax in regular strings",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-template-curly-in-string"},schema:[],messages:{unexpectedTemplateExpression:"Unexpected template string expression."}},create(a){const e=/\$\{[^}]+\}/u;return{Literal(n){typeof n.value=="string"&&e.test(n.value)&&a.report({node:n,messageId:"unexpectedTemplateExpression"})}}}}),nc}var sc,UE;function sD(){return UE||(UE=1,sc={meta:{type:"suggestion",docs:{description:"Disallow ternary operators",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-ternary"},schema:[],messages:{noTernaryOperator:"Ternary operator used."}},create(a){return{ConditionalExpression(e){a.report({node:e,messageId:"noTernaryOperator"})}}}}),sc}var ac,qE;function aD(){if(qE)return ac;qE=1;const a=Me();function e(o){return o.type==="FunctionExpression"&&o.parent.type==="MethodDefinition"&&o.parent.kind==="constructor"}class n{constructor(){St(this,"superCalled",!1);St(this,"invalidNodes",[])}}return ac={meta:{type:"problem",docs:{description:"Disallow `this`/`super` before calling `super()` in constructors",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-this-before-super"},schema:[],messages:{noBeforeSuper:"'{{kind}}' is not allowed before 'super()'."}},create(o){let t=null,c=Object.create(null);function p(m){var s;return!m.reachable||((s=c[m.id])==null?void 0:s.superCalled)}function u(){return!!(t&&t.isConstructor&&t.hasExtends)}function r(m){for(const s of m)if(!p(s))return!1;return!0}function h(){return u()&&!r(t.currentSegments)}function i(m){const s=t.currentSegments;for(const l of s)l.reachable&&c[l.id].invalidNodes.push(m)}function f(){const m=t.currentSegments;for(const s of m)s.reachable&&(c[s.id].superCalled=!0)}return{onCodePathStart(m,s){if(e(s)){const l=s.parent.parent.parent;t={upper:t,isConstructor:!0,hasExtends:!!(l.superClass&&!a.isNullOrUndefined(l.superClass)),codePath:m,currentSegments:new Set}}else t={upper:t,isConstructor:!1,hasExtends:!1,codePath:m,currentSegments:new Set}},onCodePathEnd(m){const s=t.hasExtends;if(t=t.upper,!s)return;const l=new Set;m.traverseSegments((d,g)=>{const v=c[d.id],S=v.invalidNodes.filter(b=>!l.has(b));for(const b of S)l.add(b),o.report({messageId:"noBeforeSuper",node:b,data:{kind:b.type==="Super"?"super":"this"}});v.superCalled&&g.skip()})},onCodePathSegmentStart(m){t.currentSegments.add(m),u()&&(c[m.id]={superCalled:m.prevSegments.length>0&&m.prevSegments.every(p),invalidNodes:[]})},onUnreachableCodePathSegmentStart(m){t.currentSegments.add(m)},onUnreachableCodePathSegmentEnd(m){t.currentSegments.delete(m)},onCodePathSegmentEnd(m){t.currentSegments.delete(m)},onCodePathSegmentLoop(m,s){u()&&t.codePath.traverseSegments({first:s,last:m},(l,d)=>{const g=c[l.id]??new n;g.superCalled?d.skip():l.prevSegments.length>0&&l.prevSegments.every(p)&&(g.superCalled=!0),c[l.id]=g})},ThisExpression(m){h()&&i(m)},Super(m){!a.isCallee(m)&&h()&&i(m)},"CallExpression:exit"(m){m.callee.type==="Super"&&h()&&f()},"Program:exit"(){c=Object.create(null)}}}},ac}var ic,VE;function iD(){if(VE)return ic;VE=1;const a=Me();return ic={meta:{type:"suggestion",docs:{description:"Disallow throwing literals as exceptions",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-throw-literal"},schema:[],messages:{object:"Expected an error object to be thrown.",undef:"Do not throw undefined."}},create(e){return{ThrowStatement(n){a.couldBeError(n.argument)?n.argument.type==="Identifier"&&n.argument.name==="undefined"&&e.report({node:n,messageId:"undef"}):e.report({node:n,messageId:"object"})}}}},ic}var oc,$E;function oD(){if($E)return oc;$E=1;const a=Me();return oc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"no-trailing-spaces",url:"https://eslint.style/rules/js/no-trailing-spaces"}}]},type:"layout",docs:{description:"Disallow trailing whitespace at the end of lines",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.sourceCode,o="[   -​ ]",t=`^${o}*$`,c=`${o}+$`,p=e.options[0]||{},u=p.skipBlankLines||!1,r=p.ignoreComments||!1;function h(f,m,s){e.report({node:f,loc:m,messageId:"trailingSpace",fix(l){return l.removeRange(s)}})}function i(f){const m=new Set;return f.forEach(s=>{const l=s.type==="Block"?s.loc.end.line-1:s.loc.end.line;for(let d=s.loc.start.line;d<=l;d++)m.add(d)}),m}return{Program:function(m){const s=new RegExp(c,"u"),l=new RegExp(t,"u"),d=n.lines,g=n.getText().match(a.createGlobalLinebreakMatcher()),v=n.getAllComments(),S=i(v);let b=0;for(let C=0,w=d.length;C<w;C++){const E=C+1,k=g&&g[C]?g[C].length:1,x=d[C].length+k,A=s.exec(d[C]);if(A){const I={start:{line:E,column:A.index},end:{line:E,column:x-k}},B=b+I.start.column,M=b+I.end.column,P=n.getNodeByRangeIndex(B);if(P&&P.type==="TemplateElement"&&B>P.parent.range[0]&&M<P.parent.range[1]){b+=x;continue}if(u&&l.test(d[C])){b+=x;continue}const D=[B,M];(!r||!S.has(E))&&h(m,I,D)}b+=x}}}}},oc}var lc,WE;function lD(){return WE||(WE=1,lc={meta:{type:"problem",dialects:["typescript","javascript"],language:"javascript",docs:{description:"Disallow `let` or `var` variables that are read but never assigned",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-unassigned-vars"},schema:[],messages:{unassigned:"'{{name}}' is always 'undefined' because it's never assigned."}},create(a){const e=a.sourceCode;let n=!1;return{"TSModuleDeclaration[declare=true]"(){n=!0},"TSModuleDeclaration[declare=true]:exit"(){n=!1},VariableDeclarator(o){const t=o.parent;if(o.init||o.id.type!=="Identifier"||t.kind==="const"||t.declare||n)return;const[p]=e.getDeclaredVariables(o);if(!p)return;let u=!1;for(const r of p.references){if(r.isWrite())return;r.isRead()&&(u=!0)}u&&a.report({node:o,messageId:"unassigned",data:{name:o.id.name}})}}}}),lc}var uc,GE;function uD(){if(GE)return uc;GE=1;function a(e){const n=e.parent;return n.type==="UnaryExpression"&&n.operator==="typeof"}return uc={meta:{type:"problem",defaultOptions:[{typeof:!1}],docs:{description:"Disallow the use of undeclared variables unless mentioned in `/*global */` comments",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-undef"},schema:[{type:"object",properties:{typeof:{type:"boolean"}},additionalProperties:!1}],messages:{undef:"'{{name}}' is not defined."}},create(e){const[{typeof:n}]=e.options,o=e.sourceCode;return{"Program:exit"(t){o.getScope(t).through.forEach(p=>{const u=p.identifier;!n&&a(u)||e.report({node:u,messageId:"undef",data:u})})}}}},uc}var cc,zE;function cD(){if(zE)return cc;zE=1;const a=Me();return cc={meta:{type:"suggestion",docs:{description:"Disallow initializing variables to `undefined`",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-undef-init"},schema:[],fixable:"code",messages:{unnecessaryUndefinedInit:"It's not necessary to initialize '{{name}}' to undefined."}},create(e){const n=e.sourceCode;return{VariableDeclarator(o){const t=n.getText(o.id),c=o.init&&o.init.name,p=n.getScope(o),u=a.getVariableByName(p,"undefined"),r=u&&u.defs.length>0,h=n.getLastToken(o);c==="undefined"&&o.parent.kind!=="const"&&!r&&e.report({node:o,messageId:"unnecessaryUndefinedInit",data:{name:t},fix(i){return o.parent.kind==="var"||o.id.type==="ArrayPattern"||o.id.type==="ObjectPattern"||n.commentsExistBetween(o.id,h)?null:i.removeRange([o.id.range[1],o.range[1]])}})}}}},cc}var fc,HE;function fD(){return HE||(HE=1,fc={meta:{type:"suggestion",docs:{description:"Disallow the use of `undefined` as an identifier",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-undefined"},schema:[],messages:{unexpectedUndefined:"Unexpected use of undefined."}},create(a){const e=a.sourceCode;function n(t){a.report({node:t,messageId:"unexpectedUndefined"})}function o(t){const c=t.set.get("undefined");if(!c)return;const p=c.references,u=c.defs;p.filter(r=>!r.init).forEach(r=>n(r.identifier)),u.forEach(r=>n(r.name))}return{"Program:exit"(t){const p=[e.getScope(t)];for(;p.length;){const u=p.pop();p.push(...u.childScopes),o(u)}}}}}),fc}var pc,KE;function pD(){return KE||(KE=1,pc={meta:{type:"suggestion",defaultOptions:[{allow:[],allowAfterSuper:!1,allowAfterThis:!1,allowAfterThisConstructor:!1,allowFunctionParams:!0,allowInArrayDestructuring:!0,allowInObjectDestructuring:!0,enforceInClassFields:!1,enforceInMethodNames:!1}],docs:{description:"Disallow dangling underscores in identifiers",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-underscore-dangle"},schema:[{type:"object",properties:{allow:{type:"array",items:{type:"string"}},allowAfterThis:{type:"boolean"},allowAfterSuper:{type:"boolean"},allowAfterThisConstructor:{type:"boolean"},enforceInMethodNames:{type:"boolean"},allowFunctionParams:{type:"boolean"},enforceInClassFields:{type:"boolean"},allowInArrayDestructuring:{type:"boolean"},allowInObjectDestructuring:{type:"boolean"}},additionalProperties:!1}],messages:{unexpectedUnderscore:"Unexpected dangling '_' in '{{identifier}}'."}},create(a){const[{allow:e,allowAfterSuper:n,allowAfterThis:o,allowAfterThisConstructor:t,allowFunctionParams:c,allowInArrayDestructuring:p,allowInObjectDestructuring:u,enforceInClassFields:r,enforceInMethodNames:h}]=a.options,i=a.sourceCode;function f(E){return e.includes(E)}function m(E){const k=E.length;return E!=="_"&&(E[0]==="_"||E[k-1]==="_")}function s(E){return E==="__proto__"}function l(E){return E==="_"}function d(E){return E.object.type==="MemberExpression"&&E.object.property.name==="constructor"&&E.object.object.type==="ThisExpression"}function g(E){c||E.params.forEach(k=>{const{type:x}=k;let A;if(x==="RestElement"?A=k.argument:x==="AssignmentPattern"?A=k.left:A=k,A.type==="Identifier"){const I=A.name;m(I)&&!f(I)&&a.report({node:k,messageId:"unexpectedUnderscore",data:{identifier:I}})}})}function v(E){if(E.type==="FunctionDeclaration"&&E.id){const k=E.id.name;typeof k<"u"&&m(k)&&!f(k)&&a.report({node:E,messageId:"unexpectedUnderscore",data:{identifier:k}})}g(E)}function S(E){i.getDeclaredVariables(E).forEach(k=>{const A=k.defs.find(M=>M.node===E).name,I=A.name;let B=A.parent;for(;!["VariableDeclarator","ArrayPattern","ObjectPattern"].includes(B.type);)B=B.parent;m(I)&&!l(I)&&!f(I)&&!(p&&B.type==="ArrayPattern")&&!(u&&B.type==="ObjectPattern")&&a.report({node:E,messageId:"unexpectedUnderscore",data:{identifier:I}})})}function b(E){const k=E.property.name,x=E.object.type==="ThisExpression",A=E.object.type==="Super",I=d(E);typeof k<"u"&&m(k)&&!(x&&o)&&!(A&&n)&&!(I&&t)&&!s(k)&&!f(k)&&a.report({node:E,messageId:"unexpectedUnderscore",data:{identifier:k}})}function C(E){const k=E.key.name,x=E.type==="MethodDefinition"||E.type==="Property"&&E.method;typeof k<"u"&&h&&x&&m(k)&&!f(k)&&a.report({node:E,messageId:"unexpectedUnderscore",data:{identifier:E.key.type==="PrivateIdentifier"?`#${k}`:k}})}function w(E){const k=E.key.name;typeof k<"u"&&m(k)&&r&&!f(k)&&a.report({node:E,messageId:"unexpectedUnderscore",data:{identifier:E.key.type==="PrivateIdentifier"?`#${k}`:k}})}return{FunctionDeclaration:v,VariableDeclarator:S,MemberExpression:b,MethodDefinition:C,PropertyDefinition:w,Property:C,FunctionExpression:v,ArrowFunctionExpression:v}}}),pc}var mc,XE;function mD(){if(XE)return mc;XE=1;const a=Me();return mc={meta:{type:"problem",docs:{description:"Disallow confusing multiline expressions",recommended:!0,url:"https://eslint.org/docs/latest/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(e){const n=/^[gimsuy]+$/u,o=e.sourceCode;function t(c,p){const u=o.getTokenAfter(c,a.isNotClosingParenToken),r=o.getTokenBefore(u);u.loc.start.line!==r.loc.end.line&&e.report({node:c,loc:u.loc,messageId:p})}return{MemberExpression(c){!c.computed||c.optional||t(c.object,"property")},TaggedTemplateExpression(c){const{quasi:p}=c;o.getTokenBefore(p).loc.end.line!==p.loc.start.line&&e.report({node:c,loc:{start:p.loc.start,end:{line:p.loc.start.line,column:p.loc.start.column+1}},messageId:"taggedTemplate"})},CallExpression(c){c.arguments.length===0||c.optional||t(c.callee,"function")},"BinaryExpression[operator='/'] > BinaryExpression[operator='/'].left"(c){const p=o.getTokenAfter(c,r=>r.value==="/"),u=o.getTokenAfter(p);u.type==="Identifier"&&n.test(u.value)&&p.range[1]===u.range[0]&&t(c.left,"division")}}}},mc}var hc,JE;function hD(){if(JE)return hc;JE=1;const a=ua(),e=Me(),n=/(?:(?:Call|Class|Function|Member|New|Yield)Expression|Statement|Declaration)$/u,o=/^(?:DoWhile|For|While)Statement$/u,t=/^(?:BinaryExpression|ConditionalExpression)$/u,c=/^(?:ArrowFunction|Class|Function)Expression$/u,p=/^(?:Call|Member|New|TaggedTemplate|Yield)Expression$/u;function u(l){if(l.init){const d=l.resolved&&l.resolved.defs[0];if(!d||d.type!=="Variable"||d.parent.kind!=="var")return!1}return l.isWrite()}function r(l){return!l.modified}function h(l){return!(l.modified||l.group)}function i(l,d){const g=l.range,v=d.identifier.range;return g[0]<=v[0]&&v[1]<=g[1]}const f={WhileStatement:i,DoWhileStatement:i,ForStatement(l,d){return i(l,d)&&!(l.init&&i(l.init,d))}};function m(l){let d=l.identifier;for(;d;){if(d.type==="FunctionDeclaration")return d.id?d:null;d=d.parent}return null}function s(l,d){for(let g=0;g<l.length;++g){const v=l[g];for(let S=0;!v.modified&&S<d.length;++S){const b=d[S];let C,w;const E=v.isInLoop(b)||!!((C=m(b))&&(w=e.getVariableByName(b.from.upper,C.id.name))&&w.references.some(v.isInLoop));v.modified=E}}}return hc={meta:{type:"problem",docs:{description:"Disallow unmodified loop conditions",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-unmodified-loop-condition"},schema:[],messages:{loopConditionNotModified:"'{{name}}' is not modified in this loop."}},create(l){const d=l.sourceCode;let g=null;function v(k){const x=k.reference.identifier;l.report({node:x,messageId:"loopConditionNotModified",data:x})}function S(k){for(let x=0;x<k.length;++x){const A=k[x];if(A.group){let I=g.get(A.group);I||(I=[],g.set(A.group,I)),I.push(A)}}}function b(k){k.every(r)&&k.forEach(v)}function C(k){let x=!1;return a.traverse(k,{visitorKeys:d.visitorKeys,enter(A){p.test(A.type)?(x=!0,this.break()):c.test(A.type)&&this.skip()}}),x}function w(k){if(k.init)return null;let x=null,A=k.identifier,I=A.parent;for(;I;){if(n.test(I.type)){if(o.test(I.type)&&I.test===A)return{reference:k,group:x,isInLoop:f[I.type].bind(null,I),modified:!1};break}if(t.test(I.type)){if(C(I))break;x=I}A=I,I=I.parent}return null}function E(k){const x=k.references.map(w).filter(Boolean);if(x.length===0)return;S(x);const A=k.references.filter(u);A.length>0&&s(x,A),x.filter(h).forEach(v)}return{"Program:exit"(k){const x=[d.getScope(k)];g=new Map;let A;for(;A=x.pop();)x.push(...A.childScopes),A.variables.forEach(E);g.forEach(b),g=null}}}},hc}var dc,YE;function dD(){if(YE)return dc;YE=1;const a=Me(),e=new Set(["==","===","!=","!==",">",">=","<","<=","in","instanceof"]),n={"==":"!=","!=":"==","===":"!==","!==":"==="},o=a.getPrecedence({type:"LogicalExpression",operator:"||"});return dc={meta:{type:"suggestion",defaultOptions:[{defaultAssignment:!0}],docs:{description:"Disallow ternary operators when simpler alternatives exist",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-unneeded-ternary"},schema:[{type:"object",properties:{defaultAssignment:{type:"boolean"}},additionalProperties:!1}],fixable:"code",messages:{unnecessaryConditionalExpression:"Unnecessary use of boolean literals in conditional expression.",unnecessaryConditionalAssignment:"Unnecessary use of conditional expression for default assignment."}},create(t){const[{defaultAssignment:c}]=t.options,p=t.sourceCode;function u(f){return f.type==="Literal"&&typeof f.value=="boolean"}function r(f){if(f.type==="BinaryExpression"&&Object.hasOwn(n,f.operator)){const m=p.getFirstTokenBetween(f.left,f.right,l=>l.value===f.operator),s=p.getText();return s.slice(f.range[0],m.range[0])+n[f.operator]+s.slice(m.range[1],f.range[1])}return a.getPrecedence(f)<a.getPrecedence({type:"UnaryExpression"})?`!(${a.getParenthesisedText(p,f)})`:`!${a.getParenthesisedText(p,f)}`}function h(f){return f.type==="BinaryExpression"&&e.has(f.operator)||f.type==="UnaryExpression"&&f.operator==="!"}function i(f){return f.test.type==="Identifier"&&f.consequent.type==="Identifier"&&f.test.name===f.consequent.name}return{ConditionalExpression(f){u(f.alternate)&&u(f.consequent)?t.report({node:f,messageId:"unnecessaryConditionalExpression",fix(m){return f.consequent.value===f.alternate.value?f.test.type==="Identifier"?m.replaceText(f,f.consequent.value.toString()):null:f.alternate.value?m.replaceText(f,r(f.test)):m.replaceText(f,h(f.test)?a.getParenthesisedText(p,f.test):`!${r(f.test)}`)}}):!c&&i(f)&&t.report({node:f,messageId:"unnecessaryConditionalAssignment",fix(m){const l=(a.getPrecedence(f.alternate)<o||a.isCoalesceExpression(f.alternate))&&!a.isParenthesised(p,f.alternate)?`(${p.getText(f.alternate)})`:a.getParenthesisedText(p,f.alternate),d=a.getParenthesisedText(p,f.test);return m.replaceText(f,`${d} || ${l}`)}})}}}},dc}var gc,QE;function gD(){if(QE)return gc;QE=1;function a(o){return!!o.init}function e(o){for(const t of o)if(t.reachable)return!1;return!0}class n{constructor(t){this.sourceCode=t,this.startNode=null,this.endNode=null}get location(){return{start:this.startNode.loc.start,end:this.endNode.loc.end}}get isEmpty(){return!(this.startNode&&this.endNode)}contains(t){return t.range[0]>=this.startNode.range[0]&&t.range[1]<=this.endNode.range[1]}isConsecutive(t){return this.contains(this.sourceCode.getTokenBefore(t))}merge(t){this.endNode=t}reset(t){this.startNode=this.endNode=t}}return gc={meta:{type:"problem",docs:{description:"Disallow unreachable code after `return`, `throw`, `continue`, and `break` statements",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unreachable"},schema:[],messages:{unreachableCode:"Unreachable code."}},create(o){let t=null;const c=new n(o.sourceCode),p=[];let u=new Set;function r(h){let i=null;if(h&&(h.type==="PropertyDefinition"||e(u))){if(c.isEmpty){c.reset(h);return}if(c.contains(h))return;if(c.isConsecutive(h)){c.merge(h);return}i=h}c.isEmpty||o.report({messageId:"unreachableCode",loc:c.location,node:c.startNode}),c.reset(i)}return{onCodePathStart(){p.push(u),u=new Set},onCodePathEnd(){u=p.pop()},onUnreachableCodePathSegmentStart(h){u.add(h)},onUnreachableCodePathSegmentEnd(h){u.delete(h)},onCodePathSegmentEnd(h){u.delete(h)},onCodePathSegmentStart(h){u.add(h)},BlockStatement:r,BreakStatement:r,ClassDeclaration:r,ContinueStatement:r,DebuggerStatement:r,DoWhileStatement:r,ExpressionStatement:r,ForInStatement:r,ForOfStatement:r,ForStatement:r,IfStatement:r,ImportDeclaration:r,LabeledStatement:r,ReturnStatement:r,SwitchStatement:r,ThrowStatement:r,TryStatement:r,VariableDeclaration(h){(h.kind!=="var"||h.declarations.some(a))&&r(h)},WhileStatement:r,WithStatement:r,ExportNamedDeclaration:r,ExportDefaultDeclaration:r,ExportAllDeclaration:r,"Program:exit"(){r()},"MethodDefinition[kind='constructor']"(){t={upper:t,hasSuperCall:!1}},"MethodDefinition[kind='constructor']:exit"(h){const{hasSuperCall:i}=t;if(t=t.upper,!h.value.body)return;const f=h.parent.parent;if(f.superClass&&!i)for(const m of f.body.body)m.type==="PropertyDefinition"&&!m.static&&r(m)},"CallExpression > Super.callee"(){t&&(t.hasSuperCall=!0)}}}},gc}var yc,ZE;function yD(){if(ZE)return yc;ZE=1;const a=["WhileStatement","DoWhileStatement","ForStatement","ForInStatement","ForOfStatement"];function e(t){for(const c of t)if(c.reachable)return!0;return!1}function n(t){const c=t.parent;if(c)switch(c.type){case"WhileStatement":return t===c.test;case"DoWhileStatement":return t===c.body;case"ForStatement":return t===(c.update||c.test||c.body);case"ForInStatement":case"ForOfStatement":return t===c.left}return!1}function o(t,c){return t.filter(p=>!c.includes(p))}return yc={meta:{type:"problem",defaultOptions:[{ignore:[]}],docs:{description:"Disallow loops with a body that allows only one iteration",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-unreachable-loop"},schema:[{type:"object",properties:{ignore:{type:"array",items:{enum:a},uniqueItems:!0}},additionalProperties:!1}],messages:{invalid:"Invalid loop. Its body allows only one iteration."}},create(t){const[{ignore:c}]=t.options,p=o(a,c),u=p.join(","),r=new Map,h=new Set,i=[];let f=new Set;return{onCodePathStart(){i.push(f),f=new Set},onCodePathEnd(){f=i.pop()},onUnreachableCodePathSegmentStart(m){f.add(m)},onUnreachableCodePathSegmentEnd(m){f.delete(m)},onCodePathSegmentEnd(m){f.delete(m)},onCodePathSegmentStart(m,s){if(f.add(m),n(s)){const l=s.parent;r.set(m,l)}},onCodePathSegmentLoop(m,s,l){const d=r.get(s);(l===d||l.type==="ContinueStatement")&&h.delete(d)},[u](m){e(f)&&h.add(m)},"Program:exit"(){h.forEach(m=>t.report({node:m,messageId:"invalid"}))}}}},yc}var vc,eS;function vD(){if(eS)return vc;eS=1;const a=/^(?:Program|(?:Function|Class)(?:Declaration|Expression)|ArrowFunctionExpression)$/u,e=/^(?:Program|(?:Function|Class)(?:Declaration|Expression)|ArrowFunctionExpression|DoWhileStatement|WhileStatement|ForOfStatement|ForInStatement|ForStatement|SwitchStatement)$/u,n=/^(?:Program|(?:Function|Class)(?:Declaration|Expression)|ArrowFunctionExpression|DoWhileStatement|WhileStatement|ForOfStatement|ForInStatement|ForStatement)$/u;return vc={meta:{type:"problem",docs:{description:"Disallow control flow statements in `finally` blocks",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unsafe-finally"},schema:[],messages:{unsafeUsage:"Unsafe usage of {{nodeType}}."}},create(o){function t(u){return u.parent.type==="TryStatement"&&u.parent.finalizer===u}function c(u,r){let h=!1,i;u.type==="BreakStatement"&&!u.label?i=e:u.type==="ContinueStatement"?i=n:i=a;for(let f=u;f&&!i.test(f.type);f=f.parent)if(f.parent.label&&r&&f.parent.label.name===r.name&&(h=!0),t(f))return!(r&&h);return!1}function p(u){c(u,u.label)&&o.report({messageId:"unsafeUsage",data:{nodeType:u.type},node:u,line:u.loc.line,column:u.loc.column})}return{ReturnStatement:p,ThrowStatement:p,BreakStatement:p,ContinueStatement:p}}},vc}var Ec,tS;function ED(){if(tS)return Ec;tS=1;const a=Me();function e(t){return t==="in"||t==="instanceof"}function n(t){return t==="<"||t===">"||t===">="||t==="<="}function o(t){return t.type==="UnaryExpression"&&t.operator==="!"}return Ec={meta:{type:"problem",defaultOptions:[{enforceForOrderingRelations:!1}],docs:{description:"Disallow negating the left operand of relational operators",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unsafe-negation"},hasSuggestions:!0,schema:[{type:"object",properties:{enforceForOrderingRelations:{type:"boolean"}},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(t){const c=t.sourceCode,[{enforceForOrderingRelations:p}]=t.options;return{BinaryExpression(u){const r=u.operator,h=p&&n(r);(e(r)||h)&&o(u.left)&&!a.isParenthesised(c,u.left)&&t.report({node:u,loc:u.left.loc,messageId:"unexpected",data:{operator:r},suggest:[{messageId:"suggestNegatedExpression",data:{operator:r},fix(i){const m=[c.getFirstToken(u.left).range[1],u.range[1]],s=c.text.slice(m[0],m[1]);return i.replaceTextRange(m,`(${s})`)}},{messageId:"suggestParenthesisedNegation",fix(i){return i.replaceText(u.left,`(${c.getText(u.left)})`)}}]})}}}},Ec}var Sc,rS;function SD(){if(rS)return Sc;rS=1;const a=new Set(["+","-","/","*","%","**"]),e=new Set(["+=","-=","/=","*=","%=","**="]),n=new Set(["in","instanceof"]);function o(t){return t.type==="ObjectPattern"||t.type==="ArrayPattern"}return Sc={meta:{type:"problem",defaultOptions:[{disallowArithmeticOperators:!1}],docs:{description:"Disallow use of optional chaining in contexts where the `undefined` value is not allowed",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unsafe-optional-chaining"},schema:[{type:"object",properties:{disallowArithmeticOperators:{type:"boolean"}},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(t){const[{disallowArithmeticOperators:c}]=t.options;function p(f){t.report({messageId:"unsafeOptionalChain",node:f})}function u(f){t.report({messageId:"unsafeArithmetic",node:f})}function r(f,m){if(f)switch(f.type){case"LogicalExpression":f.operator==="||"||f.operator==="??"?r(f.right,m):f.operator==="&&"&&(r(f.left,m),r(f.right,m));break;case"SequenceExpression":r(f.expressions.at(-1),m);break;case"ConditionalExpression":r(f.consequent,m),r(f.alternate,m);break;case"AwaitExpression":r(f.argument,m);break;case"ChainExpression":m(f);break}}function h(f){r(f,p)}function i(f){r(f,u)}return{"AssignmentExpression, AssignmentPattern"(f){o(f.left)&&h(f.right)},"ClassDeclaration, ClassExpression"(f){h(f.superClass)},CallExpression(f){f.optional||h(f.callee)},NewExpression(f){h(f.callee)},VariableDeclarator(f){o(f.id)&&h(f.init)},MemberExpression(f){f.optional||h(f.object)},TaggedTemplateExpression(f){h(f.tag)},ForOfStatement(f){h(f.right)},SpreadElement(f){f.parent&&f.parent.type!=="ObjectExpression"&&h(f.argument)},BinaryExpression(f){n.has(f.operator)&&h(f.right),c&&a.has(f.operator)&&(i(f.right),i(f.left))},WithStatement(f){h(f.object)},UnaryExpression(f){c&&a.has(f.operator)&&i(f.argument)},AssignmentExpression(f){c&&e.has(f.operator)&&i(f.right)}}}},Sc}var bc,nS;function bD(){if(nS)return bc;nS=1;const a=Me();function e(){return!0}function n(){return!1}return bc={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",docs:{description:"Disallow unused expressions",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-unused-expressions"},schema:[{type:"object",properties:{allowShortCircuit:{type:"boolean"},allowTernary:{type:"boolean"},allowTaggedTemplates:{type:"boolean"},enforceForJSX:{type:"boolean"},ignoreDirectives:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{allowShortCircuit:!1,allowTernary:!1,allowTaggedTemplates:!1,enforceForJSX:!1,ignoreDirectives:!1}],messages:{unusedExpression:"Expected an assignment or function call and instead saw an expression."}},create(o){const[{allowShortCircuit:t,allowTernary:c,allowTaggedTemplates:p,enforceForJSX:u,ignoreDirectives:r}]=o.options;function h(l){return l.type==="ExpressionStatement"&&l.expression.type==="Literal"&&typeof l.expression.value=="string"}function i(l,d){for(let g=0;g<d.length;++g)if(!l(d[g]))return d.slice(0,g);return d.slice()}function f(l){return i(h,l.body)}function m(l){return a.isTopLevelExpressionStatement(l)&&f(l.parent).includes(l)}const s=Object.assign(Object.create(null),{isDisallowed(l){return(s[l.type]||n)(l)},ArrayExpression:e,ArrowFunctionExpression:e,BinaryExpression:e,ChainExpression(l){return s.isDisallowed(l.expression)},ClassExpression:e,ConditionalExpression(l){return c?s.isDisallowed(l.consequent)||s.isDisallowed(l.alternate):!0},FunctionExpression:e,Identifier:e,JSXElement(){return u},JSXFragment(){return u},Literal:e,LogicalExpression(l){return t?s.isDisallowed(l.right):!0},MemberExpression:e,MetaProperty:e,ObjectExpression:e,SequenceExpression:e,TaggedTemplateExpression(){return!p},TemplateLiteral:e,ThisExpression:e,UnaryExpression(l){return l.operator!=="void"&&l.operator!=="delete"},TSAsExpression(l){return s.isDisallowed(l.expression)},TSTypeAssertion(l){return s.isDisallowed(l.expression)},TSNonNullExpression(l){return s.isDisallowed(l.expression)},TSInstantiationExpression(l){return s.isDisallowed(l.expression)}});return{ExpressionStatement(l){s.isDisallowed(l.expression)&&!a.isDirective(l)&&!(r&&m(l))&&o.report({node:l,messageId:"unusedExpression"})}}}},bc}var xc,sS;function xD(){if(sS)return xc;sS=1;const a=Me();return xc={meta:{type:"suggestion",docs:{description:"Disallow unused labels",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unused-labels"},schema:[],fixable:"code",messages:{unused:"'{{name}}:' is defined but never used."}},create(e){const n=e.sourceCode;let o=null;function t(r){o={label:r.label.name,used:!1,upper:o}}function c(r){if(n.getTokenAfter(r.label,{includeComments:!0})!==n.getTokenBefore(r.body,{includeComments:!0}))return!1;let h=r.parent;for(;h.type==="LabeledStatement";)h=h.parent;if(h.type==="Program"||h.type==="BlockStatement"&&a.isFunction(h.parent)){const{body:i}=r;if(i.type==="ExpressionStatement"&&(i.expression.type==="Literal"&&typeof i.expression.value=="string"||a.isStaticTemplateLiteral(i.expression)))return!1}return!0}function p(r){o.used||e.report({node:r.label,messageId:"unused",data:r.label,fix:c(r)?h=>h.removeRange([r.range[0],r.body.range[0]]):null}),o=o.upper}function u(r){if(!r.label)return;const h=r.label.name;let i=o;for(;i;){if(i.label===h){i.used=!0;break}i=i.upper}}return{LabeledStatement:t,"LabeledStatement:exit":p,BreakStatement:u,ContinueStatement:u}}},xc}var Cc,aS;function CD(){return aS||(aS=1,Cc={meta:{type:"problem",docs:{description:"Disallow unused private class members",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unused-private-class-members"},schema:[],messages:{unusedPrivateClassMember:"'{{classMemberName}}' is defined but never used."}},create(a){const e=[];function n(o){const t=o.parent.parent,c=t.type==="AssignmentExpression";return!c&&t.type!=="ForInStatement"&&t.type!=="ForOfStatement"&&t.type!=="AssignmentPattern"||t.left!==o.parent?!1:c&&t.operator!=="="?t.parent.type==="ExpressionStatement":!0}return{ClassBody(o){const t=new Map;e.unshift(t);for(const c of o.body)(c.type==="PropertyDefinition"||c.type==="MethodDefinition")&&c.key.type==="PrivateIdentifier"&&t.set(c.key.name,{declaredNode:c,isAccessor:c.type==="MethodDefinition"&&(c.kind==="set"||c.kind==="get")})},PrivateIdentifier(o){const t=e.find(r=>r.has(o.name));if(!t)return;const c=t.get(o.name);if(c.isUsed||o.parent.type==="PropertyDefinition"||o.parent.type==="MethodDefinition")return;if(c.isAccessor){c.isUsed=!0;return}if(n(o))return;const p=o.parent.parent.type,u=o.parent.parent.parent.type;p==="UpdateExpression"&&u==="ExpressionStatement"||p==="Property"&&u==="ObjectPattern"&&o.parent.parent.value===o.parent||p!=="RestElement"&&p!=="ArrayPattern"&&(c.isUsed=!0)},"ClassBody:exit"(){const o=e.shift();for(const[t,{declaredNode:c,isUsed:p}]of o.entries())p||a.report({node:c,loc:c.key.loc,messageId:"unusedPrivateClassMember",data:{classMemberName:`#${t}`}})}}}}),Cc}var wc,iS;function wD(){if(iS)return wc;iS=1;const a=Me();return wc={meta:{type:"problem",docs:{description:"Disallow unused variables",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unused-vars"},hasSuggestions:!0,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"},destructuredArrayIgnorePattern:{type:"string"},ignoreClassWithStaticInitBlock:{type:"boolean"},reportUsedIgnorePattern:{type:"boolean"}},additionalProperties:!1}]}],messages:{unusedVar:"'{{varName}}' is {{action}} but never used{{additional}}.",usedIgnoredVar:"'{{varName}}' is marked as ignored but is used{{additional}}.",removeVar:"Remove unused variable '{{varName}}'."}},create(e){const n=e.sourceCode,o=/^(?:RestElement|(?:Experimental)?RestProperty)$/u,t={vars:"all",args:"after-used",ignoreRestSiblings:!1,caughtErrors:"all",ignoreClassWithStaticInitBlock:!1,reportUsedIgnorePattern:!1},c=e.options[0];c&&(typeof c=="string"?t.vars=c:(t.vars=c.vars||t.vars,t.args=c.args||t.args,t.ignoreRestSiblings=c.ignoreRestSiblings||t.ignoreRestSiblings,t.caughtErrors=c.caughtErrors||t.caughtErrors,t.ignoreClassWithStaticInitBlock=c.ignoreClassWithStaticInitBlock||t.ignoreClassWithStaticInitBlock,t.reportUsedIgnorePattern=c.reportUsedIgnorePattern||t.reportUsedIgnorePattern,c.varsIgnorePattern&&(t.varsIgnorePattern=new RegExp(c.varsIgnorePattern,"u")),c.argsIgnorePattern&&(t.argsIgnorePattern=new RegExp(c.argsIgnorePattern,"u")),c.caughtErrorsIgnorePattern&&(t.caughtErrorsIgnorePattern=new RegExp(c.caughtErrorsIgnorePattern,"u")),c.destructuredArrayIgnorePattern&&(t.destructuredArrayIgnorePattern=new RegExp(c.destructuredArrayIgnorePattern,"u"))));function p(P){if(t.destructuredArrayIgnorePattern&&P.name.parent.type==="ArrayPattern")return"array-destructure";switch(P.type){case"CatchClause":return"catch-clause";case"Parameter":return"parameter";default:return"variable"}}function u(P){let D,R;switch(P){case"array-destructure":D=t.destructuredArrayIgnorePattern,R="elements of array destructuring";break;case"catch-clause":D=t.caughtErrorsIgnorePattern,R="caught errors";break;case"parameter":D=t.argsIgnorePattern,R="args";break;case"variable":D=t.varsIgnorePattern,R="vars";break;default:throw new Error(`Unexpected variable type: ${P}`)}return D&&(D=D.toString()),[R,D]}function r(P){const D=P.defs&&P.defs[0];let R="";if(D){const[N,q]=u(p(D));q&&N&&(R=`. Allowed unused ${N} must match ${q}`)}return{varName:P.name,action:"defined",additional:R}}function h(P){const D=P.defs&&P.defs[0];let R="";if(D){const[N,q]=u(p(D));q&&N&&(R=`. Allowed unused ${N} must match ${q}`)}return{varName:P.name,action:"assigned a value",additional:R}}function i(P,D){const[R,N]=u(D);let q="";return N&&R&&(q=`. Used ${R} must not match ${N}`),{varName:P.name,additional:q}}const f=/(?:Statement|Declaration)$/u;function m(P){const D=P.defs[0];if(D){let R=D.node;if(R.type==="VariableDeclarator")R=R.parent;else if(D.type==="Parameter")return!1;return R.parent.type.indexOf("Export")===0}return!1}function s(P){return P.type==="Property"&&P.parent.type==="ObjectPattern"&&o.test(P.parent.properties.at(-1).type)}function l(P){if(t.ignoreRestSiblings){const D=P.defs.some(N=>s(N.name.parent)),R=P.references.some(N=>s(N.identifier.parent));return D||R}return!1}function d(P){return P.isRead()}function g(P,D){let R=P.from;for(;R;){if(D.includes(R.block))return!0;R=R.upper}return!1}function v(P){const D=[];return P.defs.forEach(R=>{const{type:N,node:q}=R;N==="FunctionName"&&D.push(q),N==="Variable"&&q.init&&(q.init.type==="FunctionExpression"||q.init.type==="ArrowFunctionExpression")&&D.push(q.init)}),D}function S(P,D){return P.range[0]>=D.range[0]&&P.range[1]<=D.range[1]}function b(P){const D=P.parent;return D.type==="ExpressionStatement"?!0:D.type==="SequenceExpression"?D.expressions.at(-1)===P?b(D):!0:!1}function C(P,D){const R=P.identifier,N=R.parent,q=P.from.variableScope,L=P.resolved.scope.variableScope,W=q!==L||a.isInLoop(R);return D&&S(R,D)?D:N.type==="AssignmentExpression"&&b(N)&&R===N.left&&!W?N.right:null}function w(P,D){let R=P,N=P.parent;for(;N&&S(N,D);){switch(N.type){case"SequenceExpression":if(N.expressions.at(-1)!==R)return!1;break;case"CallExpression":case"NewExpression":return N.callee!==R;case"AssignmentExpression":case"TaggedTemplateExpression":case"YieldExpression":return!0;default:if(f.test(N.type))return!0}R=N,N=N.parent}return!1}function E(P,D){const R=a.getUpperFunction(P);return R&&S(R,D)&&w(R,D)}function k(P,D){const R=P.identifier,N=R.parent;return P.isRead()&&(N.type==="AssignmentExpression"&&N.left===R&&b(N)&&!a.isLogicalAssignmentOperator(N.operator)||N.type==="UpdateExpression"&&b(N)||D&&S(R,D)&&!E(R,D))}function x(P){let D=P.identifier.parent;return D.type==="VariableDeclarator"&&(D=D.parent.parent),D.type!=="ForInStatement"&&D.type!=="ForOfStatement"||(D.body.type==="BlockStatement"?D=D.body.body[0]:D=D.body,!D)?!1:D.type==="ReturnStatement"}function A(P){if(P.eslintUsed)return!0;const D=v(P),R=D.length>0;let N=null;return P.references.some(q=>{if(x(q))return!0;const L=k(q,N);return N=C(q,N),d(q)&&!L&&!(R&&g(q,D))})}function I(P){const D=P.defs[0],R=n.getDeclaredVariables(D.node);return!R.slice(R.indexOf(P)+1).some(q=>q.references.length>0||q.eslintUsed)}function B(P,D){const R=P.variables,N=P.childScopes;let q,L;if(P.type!=="global"||t.vars==="all")for(q=0,L=R.length;q<L;++q){const W=R[q];if(P.type==="class"&&P.block.id===W.identifiers[0]||P.functionExpressionScope||!t.reportUsedIgnorePattern&&W.eslintUsed||P.type==="function"&&W.name==="arguments"&&W.identifiers.length===0)continue;const _=W.defs[0];if(_){const H=_.type,K=W.references.some(re=>re.identifier.parent.type==="ArrayPattern");if((_.name.parent.type==="ArrayPattern"||K)&&t.destructuredArrayIgnorePattern&&t.destructuredArrayIgnorePattern.test(_.name.name)){t.reportUsedIgnorePattern&&A(W)&&e.report({node:_.name,messageId:"usedIgnoredVar",data:i(W,"array-destructure")});continue}if(H==="ClassName"){const re=_.node.body.body.some(te=>te.type==="StaticBlock");if(t.ignoreClassWithStaticInitBlock&&re)continue}if(H==="CatchClause"){if(t.caughtErrors==="none")continue;if(t.caughtErrorsIgnorePattern&&t.caughtErrorsIgnorePattern.test(_.name.name)){t.reportUsedIgnorePattern&&A(W)&&e.report({node:_.name,messageId:"usedIgnoredVar",data:i(W,"catch-clause")});continue}}else if(H==="Parameter"){if((_.node.parent.type==="Property"||_.node.parent.type==="MethodDefinition")&&_.node.parent.kind==="set"||t.args==="none")continue;if(t.argsIgnorePattern&&t.argsIgnorePattern.test(_.name.name)){t.reportUsedIgnorePattern&&A(W)&&e.report({node:_.name,messageId:"usedIgnoredVar",data:i(W,"parameter")});continue}if(t.args==="after-used"&&a.isFunction(_.name.parent)&&!I(W))continue}else if(t.varsIgnorePattern&&t.varsIgnorePattern.test(_.name.name)){t.reportUsedIgnorePattern&&A(W)&&e.report({node:_.name,messageId:"usedIgnoredVar",data:i(W,"variable")});continue}}!A(W)&&!m(W)&&!l(W)&&D.push(W)}for(q=0,L=N.length;q<L;++q)B(N[q],D);return D}function M(P,D){const R=D.identifiers[0],N=R.parent,q=N.type,L=n.getTokenBefore(R),W=n.getTokenAfter(R),_=a.isFunction,H=a.isLoop,K=D.references.filter(G=>G.isWrite());function re(G,J){return n.getTokenBefore(G,J).range[0]}function te(G,J){return n.getTokenAfter(G,J).range[1]}function xe(G){return n.getTokenBefore(G).value}function Y(G){return n.getTokenAfter(G).value}function F(G){return G.elements.filter(J=>J!==null).length===1}function z(G,J){return G.specifiers.some(Te=>Te.type===J)}function ne(G,J){return G.type==="String"||J&&!a.isSemicolonToken(J)&&!a.isOpeningBraceToken(J)}function ae(G){const J=G.parent;return _(J)?J.params.length===1?P.removeRange(G.range):xe(G)==="("&&Y(G)===","?P.removeRange([G.range[0],te(G)]):P.removeRange([re(G),G.range[1]]):null}function be(G){const J=G.parent;if(J.type==="VariableDeclarator"){if(H(J.parent.parent))return null;if(J.parent.declarations.length===1){const Te=n.getTokenAfter(J.parent),$=n.getTokenBefore(J.parent);return Te&&ne(Te,$)?null:P.removeRange(J.parent.range)}return xe(J)===","?P.removeRange([re(J),J.range[1]]):P.removeRange([J.range[0],te(J)])}return xe(G)===":"&&J.parent.type==="ObjectPattern"?ue(G):ae(G)}function Pe(G){const J=G.parent;return J.parent.parent.parent.type==="ObjectPattern"&&J.parent.properties.length===1?Pe(J.parent):J.parent.type==="ObjectPattern"?J.parent.properties.length===1?be(J.parent):xe(J)==="{"?P.removeRange([J.range[0],te(J)]):P.removeRange([re(J),J.range[1]]):null}function Ie(G){const J=G.parent;return J.parent.type==="ArrayPattern"&&F(J)?Ie(J):F(J)?xe(J)===":"?be(J):J.parent.type==="RestElement"?ve(J.parent):be(J):xe(G)===","&&Y(G)==="]"?P.removeRange([re(G),G.range[1]]):P.removeRange(G.range)}function ue(G){const J=G.parent.parent;return J.parent.type==="ArrayPattern"&&J.properties.length===1?Ie(J):Pe(G)}function ve(G){const J=G.parent;return _(J)?J.params.length===1?P.removeRange(G.range):P.removeRange([re(G),G.range[1]]):J.type==="ArrayPattern"?F(J)?J.parent.type==="ArrayPattern"?Ie(J):be(J):P.removeRange([re(G),G.range[1]]):null}if(K.some(G=>G.identifier.range[0]!==R.range[0]))return null;if(q==="VariableDeclarator"){if(N.parent.declarations.length===1){if(H(N.parent.parent)&&N.parent.parent.body!==N.parent)return null;if(N.parent.parent.type==="IfStatement"||H(N.parent.parent)||N.parent.parent.type==="WithStatement"&&N.parent.parent.body===N.parent)return P.replaceText(N.parent,";");const G=n.getTokenAfter(N.parent),J=n.getTokenBefore(N.parent);return G&&ne(G,J)?null:P.removeRange(N.parent.range)}return L.value===","?P.removeRange([L.range[0],N.range[1]]):P.removeRange([N.range[0],te(N)])}if(N.parent.type==="ObjectPattern"){if(N.parent.properties.length===1)return N.parent.parent.type==="RestElement"?ve(N.parent.parent):N.parent.parent.type==="ArrayPattern"?Ie(N.parent):be(N.parent);if(L.value===":")return xe(N)==="{"&&Y(N)===","?P.removeRange([N.range[0],te(N)]):P.removeRange([re(N),R.range[1]])}if(q==="ArrayPattern"){if(F(N))return N.parent.type==="RestElement"?ve(N.parent):N.parent.type==="ArrayPattern"?Ie(N):be(N);if(L.value===","&&W.value===",")return P.removeRange(R.range)}if(q==="RestElement"){if(N.parent.type==="ArrayPattern")return F(N.parent)?N.parent.parent.type==="ArrayPattern"?Ie(N.parent):be(N.parent):P.removeRange([re(R,1),R.range[1]]);if(N.parent.type==="ObjectPattern")return N.parent.properties.length===1?be(N.parent):P.removeRange([re(R,1),R.range[1]]);if(_(N.parent))return N.parent.params.length===1?P.removeRange(N.range):P.removeRange([re(N),N.range[1]])}if(q==="AssignmentPattern"){if(N.parent.type==="ArrayPattern")return Ie(N);if(N.parent.parent.type==="ObjectPattern")return N.parent.parent.properties.length===1?N.parent.parent.parent.type==="ArrayPattern"?Ie(N.parent.parent):be(N.parent.parent):xe(N.parent)==="{"&&Y(N.parent)===","?P.removeRange([N.parent.range[0],te(N.parent)]):P.removeRange([re(N.parent),N.parent.range[1]]);if(_(N.parent))return ae(N)}if(q==="FunctionDeclaration"&&N.id===R)return P.removeRange(N.range);if(q==="ImportDefaultSpecifier")return!z(N.parent,"ImportSpecifier")&&!z(N.parent,"ImportNamespaceSpecifier")?P.removeRange([N.range[0],N.parent.source.range[0]]):P.removeRange([R.range[0],W.range[1]]);if(q==="ImportSpecifier")return N.parent.specifiers.filter(G=>G.type==="ImportSpecifier").length===1?z(N.parent,"ImportDefaultSpecifier")?P.removeRange([re(N,1),W.range[1]]):P.removeRange(N.parent.range):xe(N)==="{"?P.removeRange([N.range[0],te(N)]):P.removeRange([re(N),N.range[1]]);if(q==="ImportNamespaceSpecifier")return z(N.parent,"ImportDefaultSpecifier")?P.removeRange([re(N),N.range[1]]):P.removeRange([N.range[0],N.parent.source.range[0]]);if(q==="CatchClause")return null;if(q==="ClassDeclaration")return P.removeRange(N.range);if((L==null?void 0:L.value)===",")return P.removeRange([L.range[0],R.range[1]]);if(W.value===","){if(L.value==="(")return P.removeRange([R.range[0],W.range[1]]);if(L.value==="{")return P.removeRange([R.range[0],W.range[1]])}return q==="ArrowFunctionExpression"&&N.params.length===1&&(W==null?void 0:W.value)!==")"?P.replaceText(R,"()"):P.removeRange(R.range)}return{"Program:exit"(P){const D=B(n.getScope(P),[]);for(let R=0,N=D.length;R<N;++R){const q=D[R];if(q.defs.length>0){const L=q.references.filter(_=>_.isWrite()&&_.from.variableScope===q.scope.variableScope);let W;L.length>0&&(W=L.at(-1)),e.report({node:W?W.identifier:q.identifiers[0],messageId:"unusedVar",data:q.references.some(_=>_.isWrite())?h(q):r(q),suggest:[{messageId:"removeVar",data:{varName:q.name},fix(_){return M(_,q)}}]})}else if(q.eslintExplicitGlobalComments){const L=q.eslintExplicitGlobalComments[0];e.report({node:P,loc:a.getNameLocationInGlobalDirectiveComment(n,L,q.name),messageId:"unusedVar",data:r(q)})}}}}}},wc}var Ac,oS;function AD(){if(oS)return Ac;oS=1;const a=/^(?:(?:Function|Class)(?:Declaration|Expression)|ArrowFunctionExpression|CatchClause|ImportDeclaration|ExportNamedDeclaration)$/u,e=/^For(?:In|Of)Statement$/u;function n(i){return typeof i=="object"&&i!==null?i:{functions:typeof i=="string"?i!=="nofunc":!0,classes:!0,variables:!0,allowNamedExports:!1,enums:!0,typedefs:!0,ignoreTypeReferences:!0}}function o(i,f){return i&&i.range[0]<=f&&f<=i.range[1]}function t(i,f){return i.body.some(m=>m.type==="StaticBlock"&&o(m,f)||m.type==="PropertyDefinition"&&m.static&&m.value&&o(m.value,f))}function c(i){return i.type==="class-static-block"?!0:i.type==="class-field-initializer"?i.block.parent.static:!1}function p(i){const f=i.resolved;let m=i.from;for(;f.scope.variableScope!==m.variableScope;)if(c(m.variableScope))m=m.variableScope.upper;else return!0;return!1}function u(i){if(p(i))return!1;const f=i.identifier.range[1],m=i.resolved.defs[0];if(m.type==="ClassName"){const l=m.node;return o(l,f)&&!t(l.body,f)}let s=m.name.parent;for(;s;){if(s.type==="VariableDeclarator"){if(o(s.init,f)||e.test(s.parent.parent.type)&&o(s.parent.parent.right,f))return!0;break}else if(s.type==="AssignmentPattern"){if(o(s.right,f))return!0}else if(a.test(s.type))break;s=s.parent}return!1}function r(i){switch(i.type){case"TSTypeQuery":return!0;case"TSQualifiedName":case"Identifier":return r(i.parent);default:return!1}}function h(i,f){if(i.defs[0].type!=="ClassName"||!i.defs[0].node.decorators||i.defs[0].node.decorators.length===0)return!1;for(const m of i.defs[0].node.decorators)if(f.identifier.range[0]>=m.range[0]&&f.identifier.range[1]<=m.range[1])return!0;return!1}return Ac={meta:{type:"problem",docs:{description:"Disallow the use of variables before they are defined",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-use-before-define"},schema:[{oneOf:[{enum:["nofunc"]},{type:"object",properties:{functions:{type:"boolean"},classes:{type:"boolean"},variables:{type:"boolean"},allowNamedExports:{type:"boolean"},enums:{type:"boolean"},typedefs:{type:"boolean"},ignoreTypeReferences:{type:"boolean"}},additionalProperties:!1}]}],defaultOptions:[{classes:!0,functions:!0,variables:!0,allowNamedExports:!1,enums:!0,typedefs:!0,ignoreTypeReferences:!0}],messages:{usedBeforeDefined:"'{{name}}' was used before it was defined."}},create(i){const f=n(i.options[0]),m=i.sourceCode;function s(d){if(d.init)return!1;const{identifier:g}=d;if(f.allowNamedExports&&g.parent.type==="ExportSpecifier"&&g.parent.local===g)return!1;const v=d.resolved;if(!v||v.defs.length===0)return!1;const S=v.defs[0].type;if(!f.functions&&S==="FunctionName"||(!f.variables&&S==="Variable"||!f.classes&&S==="ClassName")&&p(d)||!f.enums&&S==="TSEnumName"||!f.typedefs&&S==="Type"||f.ignoreTypeReferences&&(r(g)||g.parent.type==="TSTypeReference"))return!1;if(g.parent.type==="TSQualifiedName"){let b=g.parent;for(;b.type==="TSQualifiedName";)b=b.left;return b===g}return!h(v,d)}function l(d){d.references.filter(s).forEach(g=>{const S=g.resolved.defs[0].name;(g.identifier.range[1]<S.range[1]||u(g)&&g.identifier.parent.type!=="TSTypeReference")&&i.report({node:g.identifier,messageId:"usedBeforeDefined",data:g.identifier})}),d.childScopes.forEach(l)}return{Program(d){l(m.getScope(d))}}}},Ac}var Tc,lS;function TD(){if(lS)return Tc;lS=1;const{findVariable:a}=$t();function*e(t){switch(t.type){case"Identifier":yield t;return;case"ObjectPattern":for(const c of t.properties)yield*e(c.type==="Property"?c.value:c);return;case"ArrayPattern":for(const c of t.elements)c&&(yield*e(c));return;case"RestElement":yield*e(t.argument);return;case"AssignmentPattern":yield*e(t.left)}}function n(t,c){return!(c.range[0]<t.identifier.range[1]||t.expression&&t.expression.range[0]<=c.range[0]&&c.range[1]<=t.expression.range[1])}function o(t,c){return t.expression?t.identifier.range[1]<=c.range[0]&&c.range[1]<=t.expression.range[0]:!1}return Tc={meta:{type:"problem",docs:{description:"Disallow variable assignments when the value is not used",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-useless-assignment"},schema:[],messages:{unnecessaryAssignment:"This assigned value is not used in subsequent statements."}},create(t){const c=t.sourceCode;let p=null;const u=new Set;function r(i){let f=i;for(;f;){if(u.has(f))return f;f=f.upper}return null}function h(i){function f(s,l){const d=i.segments[s.id];return d.first&&d.last&&d.first.range[0]<=l.range[0]&&l.range[1]<=d.last.range[1]}function m(s,l){if(i.tryStatementBlocks.some(C=>C.range[0]<=s.identifier.range[0]&&s.identifier.range[1]<=C.range[1]))return;const g={results:[],subsequentSegments:new Set,queueSegments:s.segments.flatMap(C=>C.nextSegments)};function*v(){for(yield*g.results;g.queueSegments.length>0;){const C=g.queueSegments.shift();if(g.subsequentSegments.has(C))continue;g.subsequentSegments.add(C);const w=l.find(k=>k.segments.includes(C)&&!o(k,s.identifier));w||g.queueSegments.push(...C.nextSegments);const E={segment:C,assignment:w};g.results.push(E),yield E}}if(s.variable.references.some(C=>C.identifier.type!=="Identifier"))return;const S=s.variable.references.filter(C=>C.isRead());if(!S.length)return;const b=l.find(C=>C===s||C.segments.length&&C.segments.every(w=>!s.segments.includes(w))?!1:!!(n(s,C.identifier)||C.expression&&C.expression.range[0]<=s.identifier.range[0]&&s.identifier.range[1]<=C.expression.range[1]));for(const C of S){if(i.scope!==r(C.from))return;if(n(s,C.identifier)&&(o(s,C.identifier)||s.segments.some(w=>f(w,C.identifier)))){if(b&&n(b,C.identifier))continue;return}if(!b){for(const w of v())if(f(w.segment,C.identifier)){if(w.assignment&&n(w.assignment,C.identifier))continue;return}}}t.report({node:s.identifier,messageId:"unnecessaryAssignment"})}for(const s of i.assignments.values()){s.sort((l,d)=>l.identifier.range[0]-d.identifier.range[0]);for(const l of s)m(l,s)}}return{onCodePathStart(i,f){const m=c.getScope(f);p={upper:p,codePath:i,scope:m,segments:Object.create(null),currentSegments:new Set,assignments:new Map,tryStatementBlocks:[]},u.add(p.scope)},onCodePathEnd(){h(p),p=p.upper},onCodePathSegmentStart(i){const f={segment:i,first:null,last:null};p.segments[i.id]=f,p.currentSegments.add(i)},onCodePathSegmentEnd(i){p.currentSegments.delete(i)},TryStatement(i){p.tryStatementBlocks.push(i.block)},Identifier(i){for(const f of p.currentSegments){const m=p.segments[f.id];m.first||(m.first=i),m.last=i}},":matches(VariableDeclarator[init!=null], AssignmentExpression, UpdateExpression):exit"(i){if(p.currentSegments.size===0)return;const f=p.assignments;let m,s=null;i.type==="VariableDeclarator"?(m=i.id,s=i.init):i.type==="AssignmentExpression"?(m=i.left,s=i.right):m=i.argument;for(const l of e(m)){const d=c.getScope(l),g=a(d,l);if(!g||g.scope.type==="global"&&g.defs.length===0||p.scope!==r(g.scope)||g.eslintUsed||g.scope.type==="module"&&(g.defs.some(S=>S.type==="Variable"&&S.parent.parent.type==="ExportNamedDeclaration"||S.type==="FunctionName"&&(S.node.parent.type==="ExportNamedDeclaration"||S.node.parent.type==="ExportDefaultDeclaration")||S.type==="ClassName"&&(S.node.parent.type==="ExportNamedDeclaration"||S.node.parent.type==="ExportDefaultDeclaration"))||g.references.some(S=>S.identifier.parent.type==="ExportSpecifier")))continue;let v=f.get(g);v||(v=[],f.set(g,v)),v.push({variable:g,identifier:l,node:i,expression:s,segments:[...p.currentSegments]})}}}}},Tc}var kc,uS;function kD(){if(uS)return kc;uS=1;const{CALL:a,CONSTRUCT:e,ReferenceTracker:n,getStringIfConstant:o}=$t(),{RegExpParser:t,visitRegExpAST:c}=fr(),p=new t;function u(i){const f=[];let m=i;do f.push(m),m=m.parent;while(m);return f}function r(i){return i.type==="Assertion"&&(i.kind==="lookahead"||i.kind==="lookbehind")}function h(i){return r(i)&&i.negate}return kc={meta:{type:"problem",docs:{description:"Disallow useless backreferences in regular expressions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-useless-backreference"},schema:[],messages:{nested:"Backreference '{{ bref }}' will be ignored. It references group '{{ group }}'{{ otherGroups }} from within that group.",forward:"Backreference '{{ bref }}' will be ignored. It references group '{{ group }}'{{ otherGroups }} which appears later in the pattern.",backward:"Backreference '{{ bref }}' will be ignored. It references group '{{ group }}'{{ otherGroups }} which appears before in the same lookbehind.",disjunctive:"Backreference '{{ bref }}' will be ignored. It references group '{{ group }}'{{ otherGroups }} which is in another alternative.",intoNegativeLookaround:"Backreference '{{ bref }}' will be ignored. It references group '{{ group }}'{{ otherGroups }} which is in a negative lookaround."}},create(i){const f=i.sourceCode;function m(s,l,d){let g;try{g=p.parsePattern(l,0,l.length,{unicode:d.includes("u"),unicodeSets:d.includes("v")})}catch{return}c(g,{onBackreferenceEnter(v){const S=[v.resolved].flat(),b=u(v),C=S.map(B=>{const M=u(B);if(b.includes(B))return{messageId:"nested",group:B};let P=b.length-1,D=M.length-1;do P--,D--;while(b[P]===M[D]);const R=D+1,N=M.slice(0,R),q=M.slice(R),L=q.find(r),W=L&&L.kind==="lookbehind";return N.at(-1).type==="Alternative"?{messageId:"disjunctive",group:B}:!W&&v.end<=B.start?{messageId:"forward",group:B}:W&&B.end<=v.start?{messageId:"backward",group:B}:N.some(h)?{messageId:"intoNegativeLookaround",group:B}:null});if(C.length===0||C.some(B=>!B))return;let w;const E=C.filter(B=>B.messageId!=="disjunctive");E.length?w=E:w=C;const[{messageId:k,group:x},...A]=w;let I="";A.length===1?I=" and another group":A.length>1&&(I=` and other ${A.length} groups`),i.report({node:s,messageId:k,data:{bref:v.raw,group:x.raw,otherGroups:I}})}})}return{"Literal[regex]"(s){const{pattern:l,flags:d}=s.regex;m(s,l,d)},Program(s){const l=f.getScope(s),d=new n(l),g={RegExp:{[a]:!0,[e]:!0}};for(const{node:v}of d.iterateGlobalReferences(g)){const[S,b]=v.arguments,C=o(S,l),w=o(b,l);typeof C=="string"&&m(v,C,w||"")}}}}},kc}var Dc,cS;function DD(){if(cS)return Dc;cS=1;const a=Me();function e(o){const t=a.skipChainExpression(o.callee);return t.type==="MemberExpression"&&t.property.type==="Identifier"&&t.computed===!1&&(t.property.name==="call"&&o.arguments.length>=1||t.property.name==="apply"&&o.arguments.length===2&&o.arguments[1].type==="ArrayExpression")}function n(o,t,c){return o?a.equalTokens(o,t,c):a.isNullOrUndefined(t)}return Dc={meta:{type:"suggestion",docs:{description:"Disallow unnecessary calls to `.call()` and `.apply()`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-useless-call"},schema:[],messages:{unnecessaryCall:"Unnecessary '.{{name}}()'."}},create(o){const t=o.sourceCode;return{CallExpression(c){if(!e(c))return;const p=a.skipChainExpression(c.callee),u=a.skipChainExpression(p.object),r=u.type==="MemberExpression"?u.object:null,h=c.arguments[0];n(r,h,t)&&o.report({node:c,messageId:"unnecessaryCall",data:{name:p.property.name}})}}}},Dc}var Ic,fS;function ID(){return fS||(fS=1,Ic={meta:{type:"suggestion",docs:{description:"Disallow unnecessary `catch` clauses",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-useless-catch"},schema:[],messages:{unnecessaryCatchClause:"Unnecessary catch clause.",unnecessaryCatch:"Unnecessary try/catch wrapper."}},create(a){return{CatchClause(e){e.param&&e.param.type==="Identifier"&&e.body.body.length&&e.body.body[0].type==="ThrowStatement"&&e.body.body[0].argument.type==="Identifier"&&e.body.body[0].argument.name===e.param.name&&(e.parent.finalizer?a.report({node:e,messageId:"unnecessaryCatchClause"}):a.report({node:e.parent,messageId:"unnecessaryCatch"}))}}}}),Ic}var Pc,pS;function PD(){if(pS)return Pc;pS=1;const a=Me();function e(n){if(!n.computed)return!1;const{key:o}=n;if(o.type!=="Literal")return!1;const{value:t}=o;if(typeof t!="number"&&typeof t!="string")return!1;switch(n.type){case"Property":return n.parent.type==="ObjectExpression"?t!=="__proto__":!0;case"PropertyDefinition":return n.static?t!=="constructor"&&t!=="prototype":t!=="constructor";case"MethodDefinition":return n.static?t!=="prototype":t!=="constructor";default:throw new Error(`Unexpected node type: ${n.type}`)}}return Pc={meta:{type:"suggestion",defaultOptions:[{enforceForClassMembers:!0}],docs:{description:"Disallow unnecessary computed property keys in objects and classes",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-useless-computed-key"},schema:[{type:"object",properties:{enforceForClassMembers:{type:"boolean"}},additionalProperties:!1}],fixable:"code",messages:{unnecessarilyComputedProperty:"Unnecessarily computed property [{{property}}] found."}},create(n){const o=n.sourceCode,[{enforceForClassMembers:t}]=n.options;function c(u){if(e(u)){const{key:r}=u;n.report({node:u,messageId:"unnecessarilyComputedProperty",data:{property:o.getText(r)},fix(h){const i=o.getTokenBefore(r,a.isOpeningBracketToken),f=o.getTokenAfter(r,a.isClosingBracketToken);if(o.commentsExistBetween(i,f))return null;const m=o.getTokenBefore(i),l=(m.range[1]===i.range[0]&&!a.canTokensBeAdjacent(m,o.getFirstToken(r))?" ":"")+r.raw;return h.replaceTextRange([i.range[0],f.range[1]],l)}})}}function p(){}return{Property:c,MethodDefinition:t?c:p,PropertyDefinition:t?c:p}}},Pc}var Fc,mS;function FD(){if(mS)return Fc;mS=1;const a=Me();function e(c){return c.type==="BinaryExpression"&&c.operator==="+"}function n(c){return c.value==="+"&&c.type==="Punctuator"}function o(c){let p=c.left;for(;e(p);)p=p.right;return p}function t(c){let p=c.right;for(;e(p);)p=p.left;return p}return Fc={meta:{type:"suggestion",docs:{description:"Disallow unnecessary concatenation of literals or template literals",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-useless-concat"},schema:[],messages:{unexpectedConcat:"Unexpected string concatenation of literals."}},create(c){const p=c.sourceCode;return{BinaryExpression(u){if(u.operator!=="+")return;const r=o(u),h=t(u);if(a.isStringLiteral(r)&&a.isStringLiteral(h)&&a.isTokenOnSameLine(r,h)){const i=p.getFirstTokenBetween(r,h,n);c.report({node:u,loc:i.loc,messageId:"unexpectedConcat"})}}}}},Fc}var Rc,hS;function RD(){if(hS)return Rc;hS=1;const a=Me();function e(f){return f.value.params.some(m=>{var s;return((s=m.decorators)==null?void 0:s.length)||m.type==="TSParameterProperty"})}function n(f){switch(f.accessibility){case"protected":case"private":return!0;case"public":return!!f.parent.parent.superClass;default:return!1}}function o(f){return f.length===1&&f[0].type==="ExpressionStatement"&&f[0].expression.type==="CallExpression"&&f[0].expression.callee.type==="Super"}function t(f){return f.type==="Identifier"||f.type==="RestElement"}function c(f){return f.length===1&&f[0].type==="SpreadElement"&&f[0].argument.type==="Identifier"&&f[0].argument.name==="arguments"}function p(f,m){return f.type==="Identifier"&&m.type==="Identifier"&&f.name===m.name}function u(f,m){return f.type==="RestElement"&&m.type==="SpreadElement"&&p(f.argument,m.argument)}function r(f,m){return p(f,m)||u(f,m)}function h(f,m){if(f.length!==m.length)return!1;for(let s=0;s<f.length;++s)if(!r(f[s],m[s]))return!1;return!0}function i(f,m){return o(f)&&m.every(t)&&(c(f[0].expression.arguments)||h(m,f[0].expression.arguments))}return Rc={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",docs:{description:"Disallow unnecessary constructors",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-useless-constructor"},hasSuggestions:!0,schema:[],messages:{noUselessConstructor:"Useless constructor.",removeConstructor:"Remove the constructor."}},create(f){function m(s){if(s.kind!=="constructor"||s.value.type!=="FunctionExpression"||e(s)||n(s)||!s.value.body)return;const l=s.value.body.body,d=s.value.params;(s.parent.parent.superClass?i(l,d):l.length===0)&&f.report({node:s,messageId:"noUselessConstructor",suggest:[{messageId:"removeConstructor",*fix(v){const S=f.sourceCode.getTokenAfter(s),b=S.type==="Punctuator"&&S.value==="["&&a.needsPrecedingSemicolon(f.sourceCode,s);yield v.replaceText(s,b?";":"")}}]})}return{MethodDefinition:m}}},Rc}var _c,dS;function _D(){if(dS)return _c;dS=1;const a=Me(),{RegExpParser:e,visitRegExpAST:n}=fr();function o(h,i){return new Set(function*(){yield*h,yield*i}())}const t=o(new Set("\\nrvtbfux"),a.LINEBREAKS),c=new Set("\\bcdDfnpPrsStvwWxu0123456789]"),p=o(c,new Set("^/.$*+?[{}|()Bk")),u=o(c,new Set("q/[{}|()-")),r=new Set("!#$%&*+,.:;<=>?@^`~");return _c={meta:{type:"suggestion",defaultOptions:[{allowRegexCharacters:[]}],docs:{description:"Disallow unnecessary escape characters",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-useless-escape"},hasSuggestions:!0,messages:{unnecessaryEscape:"Unnecessary escape character: \\{{character}}.",removeEscape:"Remove the `\\`. This maintains the current functionality.",removeEscapeDoNotKeepSemantics:"Remove the `\\` if it was inserted by mistake.",escapeBackslash:"Replace the `\\` with `\\\\` to include the actual backslash character."},schema:[{type:"object",properties:{allowRegexCharacters:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}]},create(h){const i=h.sourceCode,[{allowRegexCharacters:f}]=h.options,m=new e;function s(v,S,b,C){const w=v.range[0]+S,E=[w,w+1],k=i.getLocFromIndex(w);h.report({node:v,loc:{start:k,end:{line:k.line,column:k.column+1}},messageId:"unnecessaryEscape",data:{character:b},suggest:[{messageId:a.isDirective(v.parent)?"removeEscapeDoNotKeepSemantics":"removeEscape",fix(x){return x.removeRange(E)}},...C?[]:[{messageId:"escapeBackslash",fix(x){return x.insertTextBeforeRange(E,"\\")}}]]})}function l(v,S){const b=v.type==="TemplateElement",C=S[0][1];let w=!t.has(C),E;b?(E=C==="`",C==="$"?w=S.input[S.index+2]!=="{":C==="{"&&(w=S.input[S.index-1]!=="$")):E=C===v.raw[0],w&&!E&&s(v,S.index,S[0].slice(1))}function d(v){const{pattern:S,flags:b}=v.regex;let C;const w=b.includes("u"),E=b.includes("v");try{C=m.parsePattern(S,0,S.length,{unicode:w,unicodeSets:E})}catch{return}const k=[];n(C,{onCharacterClassEnter:x=>k.unshift(x),onCharacterClassLeave:()=>k.shift(),onExpressionCharacterClassEnter:x=>k.unshift(x),onExpressionCharacterClassLeave:()=>k.shift(),onCharacterEnter(x){if(!x.raw.startsWith("\\"))return;const A=x.raw.slice(1);if(A!==String.fromCodePoint(x.value)||f.includes(A))return;let I;if(k.length?I=E?u:c:I=p,I.has(A))return;const B=x.start+1;let M=!1;if(k.length){const P=k[0];if(A==="^"&&P.start+1===x.start)return;if(E){if(r.has(A)&&(S[x.end]===A||S[x.start-1]===A&&(A!=="^"||!P.negate||P.start+1<x.start-1)))return;(x.parent.type==="ClassIntersection"||x.parent.type==="ClassSubtraction")&&(M=!0)}else if(A==="-"&&P.start+1!==x.start&&x.end!==P.end-1)return}s(v,B,A,M)}})}function g(v){const S=v.type==="TemplateElement";if(!(S&&v.parent&&v.parent.parent&&v.parent.parent.type==="TaggedTemplateExpression"&&v.parent===v.parent.parent.quasi))if(typeof v.value=="string"||S){if(v.parent.type==="JSXAttribute"||v.parent.type==="JSXElement"||v.parent.type==="JSXFragment")return;const b=S?i.getText(v):v.raw,C=/\\[^\d]/gu;let w;for(;w=C.exec(b);)l(v,w)}else v.regex&&d(v)}return{Literal:g,TemplateElement:g}}},_c}var Bc,gS;function BD(){if(gS)return Bc;gS=1;const a=Me();return Bc={meta:{type:"suggestion",defaultOptions:[{ignoreDestructuring:!1,ignoreImport:!1,ignoreExport:!1}],docs:{description:"Disallow renaming import, export, and destructured assignments to the same name",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-useless-rename"},fixable:"code",schema:[{type:"object",properties:{ignoreDestructuring:{type:"boolean"},ignoreImport:{type:"boolean"},ignoreExport:{type:"boolean"}},additionalProperties:!1}],messages:{unnecessarilyRenamed:"{{type}} {{name}} unnecessarily renamed."}},create(e){const n=e.sourceCode,[{ignoreDestructuring:o,ignoreImport:t,ignoreExport:c}]=e.options;function p(i,f,m){const s=f.type==="Identifier"?f.name:f.value;return e.report({node:i,messageId:"unnecessarilyRenamed",data:{name:s,type:m},fix(l){const d=i.type==="Property"?i.value:i.local;return n.getCommentsInside(i).length>n.getCommentsInside(d).length||d.type==="AssignmentPattern"&&a.isParenthesised(n,d.left)?null:l.replaceText(i,n.getText(d))}})}function u(i){if(!o)for(const f of i.properties){if(f.type!=="Property"||f.shorthand||f.computed)continue;const m=f.key.type==="Identifier"&&f.key.name||f.key.type==="Literal"&&f.key.value,s=f.value.type==="AssignmentPattern"?f.value.left.name:f.value.name;m===s&&p(f,f.key,"Destructuring assignment")}}function r(i){t||i.imported.range[0]!==i.local.range[0]&&a.getModuleExportName(i.imported)===i.local.name&&p(i,i.imported,"Import")}function h(i){c||i.local.range[0]!==i.exported.range[0]&&a.getModuleExportName(i.local)===a.getModuleExportName(i.exported)&&p(i,i.local,"Export")}return{ObjectPattern:u,ImportSpecifier:r,ExportSpecifier:h}}},Bc}var Lc,yS;function LD(){if(yS)return Lc;yS=1;const a=Me(),e=fn();function n(p,u){const r=p.indexOf(u);r!==-1&&p.splice(r,1)}function o(p){return a.STATEMENT_LIST_PARENTS.has(p.parent.type)}function t(p){for(let u=p;u&&u.parent&&!a.isFunction(u);u=u.parent)if(u.parent.type==="TryStatement"&&u.parent.finalizer===u)return!0;return!1}function c(p){for(const u of p)if(u.reachable)return!0;return!1}return Lc={meta:{type:"suggestion",docs:{description:"Disallow redundant return statements",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-useless-return"},fixable:"code",schema:[],messages:{unnecessaryReturn:"Unnecessary return statement."}},create(p){const u=new WeakMap,r=p.sourceCode;let h=null;function i(l){const d=u.get(l);return!d||d.returned}function f(l,d,g){const v=g||new WeakSet;for(const S of d){if(!S.reachable){v.has(S)||(v.add(S),f(l,S.allPrevSegments.filter(i),v));continue}u.has(S)&&l.push(...u.get(S).uselessReturns)}return l}function m(l,d){if(!l.reachable){d.add(l),l.allPrevSegments.filter(i).filter(v=>!d.has(v)).forEach(v=>m(v,d));return}const g=u.get(l);g&&(g.uselessReturns=g.uselessReturns.filter(v=>{if(h.traversedTryBlockStatements&&h.traversedTryBlockStatements.length>0){const S=v.range[0],b=v.range[1];if(h.traversedTryBlockStatements.some(w=>{const E=w.range[0],k=w.range[1];return S>=E&&b<=k}))return!0}return n(h.uselessReturns,v),!1}))}function s(){h.currentSegments.forEach(l=>m(l,new Set))}return{onCodePathStart(l){h={upper:h,uselessReturns:[],traversedTryBlockStatements:[],codePath:l,currentSegments:new Set}},onCodePathEnd(){for(const l of h.uselessReturns)p.report({node:l,loc:l.loc,messageId:"unnecessaryReturn",fix(d){return o(l)&&!r.getCommentsInside(l).length?new e(d,r).retainEnclosingFunction(l).remove(l):null}});h=h.upper},onCodePathSegmentStart(l){h.currentSegments.add(l);const d={uselessReturns:f([],l.allPrevSegments),returned:!1};u.set(l,d)},onUnreachableCodePathSegmentStart(l){h.currentSegments.add(l)},onUnreachableCodePathSegmentEnd(l){h.currentSegments.delete(l)},onCodePathSegmentEnd(l){h.currentSegments.delete(l)},ReturnStatement(l){if(l.argument&&s(),!(l.argument||a.isInLoop(l)||t(l)||!c(h.currentSegments))){for(const d of h.currentSegments){const g=u.get(d);g&&(g.uselessReturns.push(l),g.returned=!0)}h.uselessReturns.push(l)}},"TryStatement > BlockStatement.block:exit"(l){h.traversedTryBlockStatements.push(l)},"TryStatement:exit"(){h.traversedTryBlockStatements.pop()},ClassDeclaration:s,ContinueStatement:s,DebuggerStatement:s,DoWhileStatement:s,EmptyStatement:s,ExpressionStatement:s,ForInStatement:s,ForOfStatement:s,ForStatement:s,IfStatement:s,ImportDeclaration:s,LabeledStatement:s,SwitchStatement:s,ThrowStatement:s,TryStatement:s,VariableDeclaration:s,WhileStatement:s,WithStatement:s,ExportNamedDeclaration:s,ExportDefaultDeclaration:s,ExportAllDeclaration:s}}},Lc}var Oc,vS;function OD(){if(vS)return Oc;vS=1;const a=Me();function e(m){return!!m.scope&&m.scope.type==="global"}function n(m){let s=m;for(;s.type!=="function"&&s.type!=="global";)s=s.upper;return s}function o(m){const s=n(m.scope);return m.references.some(l=>n(l.from)!==s)}function t(m){return(m.parent.type==="ForOfStatement"||m.parent.type==="ForInStatement")&&m===m.parent.left}function c(m){return m.declarations.every(s=>s.init!==null)}const p=/^(?:Program|BlockStatement|SwitchStatement|ForStatement|ForInStatement|ForOfStatement)$/u;function u(m){for(let s=m;s;s=s.parent)if(p.test(s.type))return s;return null}function r(m){return m.defs.length>=2}function h(m){function s(l){const d=m.range,g=l.identifier.range;return g[0]<d[0]||g[1]>d[1]}return function(l){return l.references.some(s)}}function i(m){const s=m.range[0],l=m.range[1];return d=>{const g=d.defs[0].name,v=g.range[0],S=g.parent.type==="AssignmentPattern"?g.parent.right:null,b=S&&S.range[0],C=S&&S.range[1];return d.references.some(w=>{const E=w.identifier.range[0],k=w.identifier.range[1];return!w.init&&(E<v||S!==null&&E>=b&&k<=C||!a.isFunction(m)&&E>=s&&k<=l)})}}function f(m){return m.name==="let"}return Oc={meta:{type:"suggestion",docs:{description:"Require `let` or `const` instead of `var`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-var"},schema:[],fixable:"code",messages:{unexpectedVar:"Unexpected var, use let or const instead."}},create(m){const s=m.sourceCode;function l(v){return v.init?s.getDeclaredVariables(v).some(i(v.init)):!1}function d(v){const S=s.getDeclaredVariables(v),b=u(v);return!(v.parent.type==="SwitchCase"||v.declarations.some(l)||S.some(e)||S.some(r)||S.some(h(b))||S.some(f)||a.isInLoop(v)&&(S.some(o)||!t(v)&&!c(v))||!t(v)&&!(v.parent.type==="ForStatement"&&v.parent.init===v)&&!a.STATEMENT_LIST_PARENTS.has(v.parent.type))}function g(v){m.report({node:v,messageId:"unexpectedVar",fix(S){const b=s.getFirstToken(v,{filter:C=>C.value==="var"});return d(v)?S.replaceText(b,"let"):null}})}return{"VariableDeclaration:exit"(v){v.kind==="var"&&g(v)}}}},Oc}var Nc,ES;function ND(){return ES||(ES=1,Nc={meta:{type:"suggestion",defaultOptions:[{allowAsStatement:!1}],docs:{description:"Disallow `void` operators",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-void"},messages:{noVoid:"Expected 'undefined' and instead saw 'void'."},schema:[{type:"object",properties:{allowAsStatement:{type:"boolean"}},additionalProperties:!1}]},create(a){const[{allowAsStatement:e}]=a.options;return{'UnaryExpression[operator="void"]'(n){e&&n.parent&&n.parent.type==="ExpressionStatement"||a.report({node:n,messageId:"noVoid"})}}}}),Nc}var jc,SS;function jD(){if(SS)return jc;SS=1;const a=Un(),e=Me(),n=40;return jc={meta:{type:"suggestion",defaultOptions:[{location:"start",terms:["todo","fixme","xxx"]}],docs:{description:"Disallow specified warning terms in comments",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-warning-comments"},schema:[{type:"object",properties:{terms:{type:"array",items:{type:"string"}},location:{enum:["start","anywhere"]},decoration:{type:"array",items:{type:"string",pattern:"^\\S$"},minItems:1,uniqueItems:!0}},additionalProperties:!1}],messages:{unexpectedComment:"Unexpected '{{matchedTerm}}' comment: '{{comment}}'."}},create(o){const t=o.sourceCode,[{decoration:c,location:p,terms:u}]=o.options,r=a(c?c.join(""):""),h=/\bno-warning-comments\b/u;function i(l){const d=a(l),g="\\b";let v="";p==="start"?v=`^[\\s${r}]*`:/^\w/u.test(l)&&(v=g);const S=/\w$/u.test(l)?g:"",b="iu";return new RegExp(`${v}${d}${S}`,b)}const f=u.map(i);function m(l){const d=[];return f.forEach((g,v)=>{g.test(l)&&d.push(u[v])}),d}function s(l){const d=l.value;if(e.isDirectiveComment(l)&&h.test(d))return;m(d).forEach(v=>{let S="",b=!1;for(const C of d.trim().split(/\s+/u)){const w=S?`${S} ${C}`:C;if(w.length<=n)S=w;else{b=!0;break}}o.report({node:l,messageId:"unexpectedComment",data:{matchedTerm:v,comment:`${S}${b?"...":""}`}})})}return{Program(){t.getAllComments().filter(d=>d.type!=="Shebang").forEach(s)}}}},jc}var Mc,bS;function MD(){if(bS)return Mc;bS=1;const a=Me();return Mc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"no-whitespace-before-property",url:"https://eslint.style/rules/js/no-whitespace-before-property"}}]},type:"layout",docs:{description:"Disallow whitespace before properties",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-whitespace-before-property"},fixable:"whitespace",schema:[],messages:{unexpectedWhitespace:"Unexpected whitespace before property {{propName}}."}},create(e){const n=e.sourceCode;function o(t,c,p){e.report({node:t,messageId:"unexpectedWhitespace",data:{propName:n.getText(t.property)},fix(u){let r="";return!t.computed&&!t.optional&&a.isDecimalInteger(t.object)||n.commentsExistBetween(c,p)?null:(t.optional?r="?.":t.computed||(r="."),u.replaceTextRange([c.range[1],p.range[0]],r))}})}return{MemberExpression(t){let c,p;a.isTokenOnSameLine(t.object,t.property)&&(t.computed?(c=n.getTokenBefore(t.property,a.isOpeningBracketToken),p=n.getTokenBefore(c,t.optional?1:0)):(c=n.getFirstToken(t.property),p=n.getTokenBefore(c,1)),n.isSpaceBetweenTokens(p,c)&&o(t,p,c))}}}},Mc}var Uc,xS;function UD(){return xS||(xS=1,Uc={meta:{type:"suggestion",docs:{description:"Disallow `with` statements",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-with"},schema:[],messages:{unexpectedWith:"Unexpected use of 'with' statement."}},create(a){return{WithStatement(e){a.report({node:e,messageId:"unexpectedWith"})}}}}),Uc}var qc,CS;function qD(){if(CS)return qc;CS=1;const a={enum:["beside","below","any"]};return qc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"nonblock-statement-body-position",url:"https://eslint.style/rules/js/nonblock-statement-body-position"}}]},type:"layout",docs:{description:"Enforce the location of single-line statements",recommended:!1,url:"https://eslint.org/docs/latest/rules/nonblock-statement-body-position"},fixable:"whitespace",schema:[a,{properties:{overrides:{properties:{if:a,else:a,while:a,do:a,for:a},additionalProperties:!1}},additionalProperties:!1}],messages:{expectNoLinebreak:"Expected no linebreak before this statement.",expectLinebreak:"Expected a linebreak before this statement."}},create(e){const n=e.sourceCode;function o(c){return e.options[1]&&e.options[1].overrides&&e.options[1].overrides[c]||e.options[0]||"beside"}function t(c,p){const u=o(p);if(c.type==="BlockStatement"||u==="any")return;const r=n.getTokenBefore(c);r.loc.end.line===c.loc.start.line&&u==="below"?e.report({node:c,messageId:"expectLinebreak",fix:h=>h.insertTextBefore(c,`
97
- `)}):r.loc.end.line!==c.loc.start.line&&u==="beside"&&e.report({node:c,messageId:"expectNoLinebreak",fix(h){return n.getText().slice(r.range[1],c.range[0]).trim()?null:h.replaceTextRange([r.range[1],c.range[0]]," ")}})}return{IfStatement(c){t(c.consequent,"if"),c.alternate&&c.alternate.type!=="IfStatement"&&t(c.alternate,"else")},WhileStatement:c=>t(c.body,"while"),DoWhileStatement:c=>t(c.body,"do"),ForStatement:c=>t(c.body,"for"),ForInStatement:c=>t(c.body,"for"),ForOfStatement:c=>t(c.body,"for")}}},qc}var Vc,wS;function VD(){if(wS)return Vc;wS=1;const a=Me(),e={oneOf:[{enum:["always","never"]},{type:"object",properties:{multiline:{type:"boolean"},minProperties:{type:"integer",minimum:0},consistent:{type:"boolean"}},additionalProperties:!1,minProperties:1}]};function n(u){let r=!1,h=Number.POSITIVE_INFINITY,i=!1;return u?u==="always"?h=0:u==="never"?h=Number.POSITIVE_INFINITY:(r=!!u.multiline,h=u.minProperties||Number.POSITIVE_INFINITY,i=!!u.consistent):i=!0,{multiline:r,minProperties:h,consistent:i}}function o(u){return typeof u=="object"&&u!==null}function t(u){return o(u)||typeof u=="string"}function c(u){if(o(u)&&Object.values(u).some(t))return{ObjectExpression:n(u.ObjectExpression),ObjectPattern:n(u.ObjectPattern),ImportDeclaration:n(u.ImportDeclaration),ExportNamedDeclaration:n(u.ExportDeclaration)};const r=n(u);return{ObjectExpression:r,ObjectPattern:r,ImportDeclaration:r,ExportNamedDeclaration:r}}function p(u,r,h,i){let f;return u.type==="ObjectExpression"||u.type==="ObjectPattern"?f=u.properties:f=u.specifiers.filter(m=>m.type==="ImportSpecifier"||m.type==="ExportSpecifier"),f.length>=r.minProperties||r.multiline&&f.length>0&&h.loc.start.line!==i.loc.end.line}return Vc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"object-curly-newline",url:"https://eslint.style/rules/js/object-curly-newline"}}]},type:"layout",docs:{description:"Enforce consistent line breaks after opening and before closing braces",recommended:!1,url:"https://eslint.org/docs/latest/rules/object-curly-newline"},fixable:"whitespace",schema:[{oneOf:[e,{type:"object",properties:{ObjectExpression:e,ObjectPattern:e,ImportDeclaration:e,ExportDeclaration:e},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(u){const r=u.sourceCode,h=c(u.options[0]);function i(f){const m=h[f.type];if(f.type==="ImportDeclaration"&&!f.specifiers.some(C=>C.type==="ImportSpecifier")||f.type==="ExportNamedDeclaration"&&!f.specifiers.some(C=>C.type==="ExportSpecifier"))return;const s=r.getFirstToken(f,C=>C.value==="{");let l;f.typeAnnotation?l=r.getTokenBefore(f.typeAnnotation):l=r.getLastToken(f,C=>C.value==="}");let d=r.getTokenAfter(s,{includeComments:!0}),g=r.getTokenBefore(l,{includeComments:!0});const v=p(f,m,d,g),S=a.isCommentToken(d),b=a.isCommentToken(g);if(d=r.getTokenAfter(s),g=r.getTokenBefore(l),v)a.isTokenOnSameLine(s,d)&&u.report({messageId:"expectedLinebreakAfterOpeningBrace",node:f,loc:s.loc,fix(C){return S?null:C.insertTextAfter(s,`
98
- `)}}),a.isTokenOnSameLine(g,l)&&u.report({messageId:"expectedLinebreakBeforeClosingBrace",node:f,loc:l.loc,fix(C){return b?null:C.insertTextBefore(l,`
99
- `)}});else{const C=m.consistent,w=!a.isTokenOnSameLine(s,d),E=!a.isTokenOnSameLine(g,l);(!C&&w||C&&w&&!E)&&u.report({messageId:"unexpectedLinebreakAfterOpeningBrace",node:f,loc:s.loc,fix(k){return S?null:k.removeRange([s.range[1],d.range[0]])}}),(!C&&E||C&&!w&&E)&&u.report({messageId:"unexpectedLinebreakBeforeClosingBrace",node:f,loc:l.loc,fix(k){return b?null:k.removeRange([g.range[1],l.range[0]])}})}}return{ObjectExpression:i,ObjectPattern:i,ImportDeclaration:i,ExportNamedDeclaration:i}}},Vc}var $c,AS;function $D(){if(AS)return $c;AS=1;const a=Me();return $c={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"object-curly-spacing",url:"https://eslint.style/rules/js/object-curly-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing inside braces",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.options[0]==="always",o=e.sourceCode;function t(d){return e.options[1]?e.options[1][d]===!n:!1}const c={spaced:n,arraysInObjectsException:t("arraysInObjects"),objectsInObjectsException:t("objectsInObjects")};function p(d,g){const v=e.sourceCode.getTokenAfter(g,{includeComments:!0});e.report({node:d,loc:{start:g.loc.end,end:v.loc.start},messageId:"unexpectedSpaceAfter",data:{token:g.value},fix(S){return S.removeRange([g.range[1],v.range[0]])}})}function u(d,g){const v=e.sourceCode.getTokenBefore(g,{includeComments:!0});e.report({node:d,loc:{start:v.loc.end,end:g.loc.start},messageId:"unexpectedSpaceBefore",data:{token:g.value},fix(S){return S.removeRange([v.range[1],g.range[0]])}})}function r(d,g){e.report({node:d,loc:g.loc,messageId:"requireSpaceAfter",data:{token:g.value},fix(v){return v.insertTextAfter(g," ")}})}function h(d,g){e.report({node:d,loc:g.loc,messageId:"requireSpaceBefore",data:{token:g.value},fix(v){return v.insertTextBefore(g," ")}})}function i(d,g,v,S,b){if(a.isTokenOnSameLine(g,v)){const C=o.isSpaceBetweenTokens(g,v);c.spaced&&!C&&r(d,g),!c.spaced&&C&&v.type!=="Line"&&p(d,g)}if(a.isTokenOnSameLine(S,b)){const w=(c.arraysInObjectsException&&a.isClosingBracketToken(S)||c.objectsInObjectsException&&a.isClosingBraceToken(S))&&o.getNodeByRangeIndex(S.range[0]).type,E=c.arraysInObjectsException&&w==="ArrayExpression"||c.objectsInObjectsException&&(w==="ObjectExpression"||w==="ObjectPattern")?!c.spaced:c.spaced,k=o.isSpaceBetweenTokens(S,b);E&&!k&&h(d,b),!E&&k&&u(d,b)}}function f(d){const g=d.properties.at(-1);return o.getTokenAfter(g,a.isClosingBraceToken)}function m(d){if(d.properties.length===0)return;const g=o.getFirstToken(d),v=f(d),S=o.getTokenAfter(g,{includeComments:!0}),b=o.getTokenBefore(v,{includeComments:!0});i(d,g,S,b,v)}function s(d){if(d.specifiers.length===0)return;let g=d.specifiers[0];const v=d.specifiers.at(-1);if(v.type!=="ImportSpecifier")return;g.type!=="ImportSpecifier"&&(g=d.specifiers[1]);const S=o.getTokenBefore(g),b=o.getTokenAfter(v,a.isNotCommaToken),C=o.getTokenAfter(S,{includeComments:!0}),w=o.getTokenBefore(b,{includeComments:!0});i(d,S,C,w,b)}function l(d){if(d.specifiers.length===0)return;const g=d.specifiers[0],v=d.specifiers.at(-1),S=o.getTokenBefore(g),b=o.getTokenAfter(v,a.isNotCommaToken),C=o.getTokenAfter(S,{includeComments:!0}),w=o.getTokenBefore(b,{includeComments:!0});i(d,S,C,w,b)}return{ObjectPattern:m,ObjectExpression:m,ImportDeclaration:s,ExportNamedDeclaration:l}}},$c}var Wc,TS;function WD(){return TS||(TS=1,Wc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"object-property-newline",url:"https://eslint.style/rules/js/object-property-newline"}}]},type:"layout",docs:{description:"Enforce placing object properties on separate lines",recommended:!1,url:"https://eslint.org/docs/latest/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(a){const e=a.options[0]&&(a.options[0].allowAllPropertiesOnSameLine||a.options[0].allowMultiplePropertiesPerLine),n=e?"propertiesOnNewlineAll":"propertiesOnNewline",o=a.sourceCode;return{ObjectExpression(t){if(e&&t.properties.length>1){const c=o.getFirstToken(t.properties[0]),p=o.getLastToken(t.properties.at(-1));if(c.loc.end.line===p.loc.start.line)return}for(let c=1;c<t.properties.length;c++){const p=o.getLastToken(t.properties[c-1]),u=o.getFirstToken(t.properties[c]);p.loc.end.line===u.loc.start.line&&a.report({node:t,loc:u.loc,messageId:n,fix(r){const i=[o.getTokenBefore(u).range[1],u.range[0]];return o.text.slice(i[0],i[1]).trim()?null:r.replaceTextRange(i,`
100
- `)}})}}}}}),Wc}var Gc,kS;function GD(){if(kS)return Gc;kS=1;const a={always:"always",never:"never",methods:"methods",properties:"properties",consistent:"consistent",consistentAsNeeded:"consistent-as-needed"},e=Me();return Gc={meta:{type:"suggestion",docs:{description:"Require or disallow method and property shorthand syntax for object literals",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/object-shorthand"},fixable:"code",schema:{anyOf:[{type:"array",items:[{enum:["always","methods","properties","never","consistent","consistent-as-needed"]}],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"},methodsIgnorePattern:{type:"string"},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(n){const o=n.options[0]||a.always,t=o===a.methods||o===a.always,c=o===a.properties||o===a.always,p=o===a.never,u=o===a.consistent,r=o===a.consistentAsNeeded,h=n.options[1]||{},i=h.ignoreConstructors,f=h.methodsIgnorePattern?new RegExp(h.methodsIgnorePattern,"u"):null,m=h.avoidQuotes,s=!!h.avoidExplicitReturnArrows,l=n.sourceCode,d=/[^_$0-9]/u;function g(D){const R=d.exec(D);if(!R)return!1;const N=D.charAt(R.index);return N===N.toUpperCase()}function v(D){return D.kind!=="set"&&D.kind!=="get"&&D.type!=="SpreadElement"&&D.type!=="SpreadProperty"&&D.type!=="ExperimentalSpreadProperty"}function S(D){return D.type==="Literal"&&typeof D.value=="string"}function b(D){return D.shorthand||D.method}function C(D){const R=D.value;return R.type==="FunctionExpression"?!R.id:R.type==="Identifier"?e.getStaticPropertyName(D)===R.name:!1}function w(D,R){const N=D.properties.filter(v);if(N.length>0){const q=N.filter(b);q.length!==N.length&&(q.length>0?n.report({node:D,messageId:"unexpectedMix"}):R&&N.every(C)&&n.report({node:D,messageId:"expectedAllPropertiesShorthanded"}))}}function E(D,R){const N=R.computed?l.getFirstToken(R,e.isOpeningBracketToken):l.getFirstToken(R.key),q=R.computed?l.getFirstTokenBetween(R.key,R.value,e.isClosingBracketToken):l.getLastToken(R.key),L=l.text.slice(N.range[0],q.range[1]);let W="";if(l.commentsExistBetween(q,R.value))return null;R.value.async&&(W+="async "),R.value.generator&&(W+="*");const _=[N.range[0],R.range[1]],H=W+L;if(R.value.type==="FunctionExpression"){const ae=l.getTokens(R.value).find(Pe=>Pe.type==="Keyword"&&Pe.value==="function"),be=R.value.generator?l.getTokenAfter(ae):ae;return D.replaceTextRange(_,H+l.text.slice(be.range[1],R.value.range[1]))}const K=l.getTokenBefore(R.value.body,e.isArrowToken),re=l.text.slice(K.range[1],R.value.range[1]),xe=l.getFirstToken(R.value,{skip:R.value.async?1:0}).range[0],Y=l.getTokenBefore(K).range[1],F=R.value.params.length===1&&R.value.params[0].range[0]===xe,z=l.text.slice(xe,Y),ne=F?`(${z})`:z;return D.replaceTextRange(_,H+ne+re)}function k(D,R){const N=R.computed?l.getTokens(R).find(_=>_.value==="["):l.getFirstToken(R.key),q=R.computed?l.getTokensBetween(R.key,R.value).find(_=>_.value==="]"):l.getLastToken(R.key),L=l.text.slice(N.range[0],q.range[1]);let W="function";return R.value.async&&(W=`async ${W}`),R.value.generator&&(W=`${W}*`),D.replaceTextRange([R.range[0],q.range[1]],`${L}: ${W}`)}const x=[],A=new WeakSet,I=new WeakSet;function B(D){x.unshift(new Set),l.getScope(D).variables.filter(R=>R.name==="arguments").forEach(R=>{R.references.map(N=>N.identifier).forEach(N=>I.add(N))})}function M(){x.shift()}function P(){x[0].forEach(D=>A.add(D))}return{Program:B,FunctionDeclaration:B,FunctionExpression:B,"Program:exit":M,"FunctionDeclaration:exit":M,"FunctionExpression:exit":M,ArrowFunctionExpression(D){x[0].add(D)},"ArrowFunctionExpression:exit"(D){x[0].delete(D)},ThisExpression:P,Super:P,MetaProperty(D){D.meta.name==="new"&&D.property.name==="target"&&P()},Identifier(D){I.has(D)&&P()},ObjectExpression(D){u?w(D,!1):r&&w(D,!0)},"Property:exit"(D){const R=D.method||D.shorthand;if(D.parent.type!=="ObjectPattern"&&!(D.kind==="get"||D.kind==="set")&&!(D.computed&&D.value.type!=="FunctionExpression"&&D.value.type!=="ArrowFunctionExpression")){if(R)if(D.method&&(p||m&&S(D.key))){const N=p?"expectedMethodLongform":"expectedLiteralMethodLongform";n.report({node:D,messageId:N,fix:q=>k(q,D)})}else p&&n.report({node:D,messageId:"expectedPropertyLongform",fix:N=>N.insertTextAfter(D.key,`: ${D.key.name}`)});else if(t&&!D.value.id&&(D.value.type==="FunctionExpression"||D.value.type==="ArrowFunctionExpression")){if(i&&D.key.type==="Identifier"&&g(D.key.name))return;if(f){const N=e.getStaticPropertyName(D);if(N!==null&&f.test(N))return}if(m&&S(D.key))return;(D.value.type==="FunctionExpression"||D.value.type==="ArrowFunctionExpression"&&D.value.body.type==="BlockStatement"&&s&&!A.has(D.value))&&n.report({node:D,messageId:"expectedMethodShorthand",fix:N=>E(N,D)})}else if(D.value.type==="Identifier"&&D.key.name===D.value.name&&c)n.report({node:D,messageId:"expectedPropertyShorthand",fix(N){return l.getCommentsInside(D).length>0?null:N.replaceText(D,D.value.name)}});else if(D.value.type==="Identifier"&&D.key.type==="Literal"&&D.key.value===D.value.name&&c){if(m)return;n.report({node:D,messageId:"expectedPropertyShorthand",fix(N){return l.getCommentsInside(D).length>0?null:N.replaceText(D,D.value.name)}})}}}}}},Gc}var zc,DS;function zD(){if(DS)return zc;DS=1;const a=Me();function e(n){return a.STATEMENT_LIST_PARENTS.has(n.parent.type)}return zc={meta:{type:"suggestion",docs:{description:"Enforce variables to be declared either together or separately in functions",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/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(n){const o="always",t="never",c="consecutive",p=n.options[0]||o,u={};typeof p=="string"?(u.var={uninitialized:p,initialized:p},u.let={uninitialized:p,initialized:p},u.const={uninitialized:p,initialized:p}):typeof p=="object"&&(u.separateRequires=!!p.separateRequires,u.var={uninitialized:p.var,initialized:p.var},u.let={uninitialized:p.let,initialized:p.let},u.const={uninitialized:p.const,initialized:p.const},Object.hasOwn(p,"uninitialized")&&(u.var.uninitialized=p.uninitialized,u.let.uninitialized=p.uninitialized,u.const.uninitialized=p.uninitialized),Object.hasOwn(p,"initialized")&&(u.var.initialized=p.initialized,u.let.initialized=p.initialized,u.const.initialized=p.initialized));const r=n.sourceCode,h=[],i=[];function f(){i.push({let:{initialized:!1,uninitialized:!1},const:{initialized:!1,uninitialized:!1}})}function m(){h.push({initialized:!1,uninitialized:!1}),f()}function s(){i.pop()}function l(){h.pop(),s()}function d(k){return k.init&&k.init.type==="CallExpression"&&k.init.callee.name==="require"}function g(k,x,A){for(let I=0;I<x.length;I++)x[I].init===null?u[k]&&u[k].uninitialized===o&&(A.uninitialized=!0):u[k]&&u[k].initialized===o&&(u.separateRequires&&d(x[I])?A.required=!0:A.initialized=!0)}function v(k){let x;return k==="var"?x=h.at(-1):k==="let"?x=i.at(-1).let:k==="const"&&(x=i.at(-1).const),x}function S(k){const x={uninitialized:0,initialized:0};for(let A=0;A<k.length;A++)k[A].init===null?x.uninitialized++:x.initialized++;return x}function b(k,x){const A=S(x),I=u[k]||{},B=v(k),M=x.some(d);return I.uninitialized===o&&I.initialized===o&&(B.uninitialized||B.initialized)&&!M||A.uninitialized>0&&I.uninitialized===o&&B.uninitialized||A.initialized>0&&I.initialized===o&&B.initialized&&!M||B.required&&M?!1:(g(k,x,B),!0)}function C(k){const x=k[0],A=Array.isArray(x.parent.parent.body)?x.parent.parent.body:[],I=A.findIndex(M=>M.range[0]===x.parent.range[0]),B=A[I-1];return M=>{const P=r.getTokenBefore(x),D=r.getTokenBefore(P),R=[];return B&&B.kind===r.getText(P)&&(D.value===";"?R.push(M.replaceText(D,",")):R.push(M.insertTextAfter(D,",")),R.push(M.replaceText(P,""))),R}}function w(k){const{parent:x}=k;return e(x.type==="ExportNamedDeclaration"?x:k)?A=>k.declarations.map(I=>{const B=r.getTokenAfter(I);if(B===null)return null;const M=r.getTokenAfter(B,{includeComments:!0});if(B.value!==",")return null;const P=k.parent.type==="ExportNamedDeclaration"?"export ":"";if(M.range[0]===B.range[1])return A.replaceText(B,`; ${P}${k.kind} `);if(M.loc.start.line>B.loc.end.line||M.type==="Line"||M.type==="Block"){let D=M;for(;D.type==="Line"||D.type==="Block";)D=r.getTokenAfter(D,{includeComments:!0});return A.replaceTextRange([B.range[0],D.range[0]],`;${r.text.slice(B.range[1],D.range[0])}${P}${k.kind} `)}return A.replaceText(B,`; ${P}${k.kind}`)}).filter(I=>I):null}function E(k){const x=k.parent,A=k.kind;if(!u[A])return;const I=k.declarations,B=S(I),M=I.some(d)&&!I.every(d);u[A].initialized===o&&u.separateRequires&&M&&n.report({node:k,messageId:"splitRequires"});const P=x.body&&x.body.length>0&&x.body.indexOf(k)||0;if(P>0){const D=x.body[P-1],R=D.type==="VariableDeclaration",N=I.concat(D.declarations||[]);if(R&&D.kind===A&&!(N.some(d)&&!N.every(d))){const q=S(D.declarations);u[A].initialized===c&&u[A].uninitialized===c?n.report({node:k,messageId:"combine",data:{type:A},fix:C(I)}):u[A].initialized===c&&B.initialized>0&&q.initialized>0?n.report({node:k,messageId:"combineInitialized",data:{type:A},fix:C(I)}):u[A].uninitialized===c&&B.uninitialized>0&&q.uninitialized>0&&n.report({node:k,messageId:"combineUninitialized",data:{type:A},fix:C(I)})}}if(!b(A,I)){if(u[A].initialized===o&&u[A].uninitialized===o)n.report({node:k,messageId:"combine",data:{type:A},fix:C(I)});else if(u[A].initialized===o&&B.initialized>0&&n.report({node:k,messageId:"combineInitialized",data:{type:A},fix:C(I)}),u[A].uninitialized===o&&B.uninitialized>0){if(k.parent.left===k&&(k.parent.type==="ForInStatement"||k.parent.type==="ForOfStatement"))return;n.report({node:k,messageId:"combineUninitialized",data:{type:A},fix:C(I)})}}(x.type!=="ForStatement"||x.init!==k)&&B.uninitialized+B.initialized>1&&(u[A].initialized===t&&u[A].uninitialized===t?n.report({node:k,messageId:"split",data:{type:A},fix:w(k)}):u[A].initialized===t&&B.initialized>0?n.report({node:k,messageId:"splitInitialized",data:{type:A},fix:w(k)}):u[A].uninitialized===t&&B.uninitialized>0&&n.report({node:k,messageId:"splitUninitialized",data:{type:A},fix:w(k)}))}return{Program:m,FunctionDeclaration:m,FunctionExpression:m,ArrowFunctionExpression:m,StaticBlock:m,BlockStatement:f,ForStatement:f,ForInStatement:f,ForOfStatement:f,SwitchStatement:f,VariableDeclaration:E,"ForStatement:exit":s,"ForOfStatement:exit":s,"ForInStatement:exit":s,"SwitchStatement:exit":s,"BlockStatement:exit":s,"Program:exit":l,"FunctionDeclaration:exit":l,"FunctionExpression:exit":l,"ArrowFunctionExpression:exit":l,"StaticBlock:exit":l}}},zc}var Hc,IS;function HD(){return IS||(IS=1,Hc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"one-var-declaration-per-line",url:"https://eslint.style/rules/js/one-var-declaration-per-line"}}]},type:"suggestion",docs:{description:"Require or disallow newlines around variable declarations",recommended:!1,url:"https://eslint.org/docs/latest/rules/one-var-declaration-per-line"},schema:[{enum:["always","initializations"]}],fixable:"whitespace",messages:{expectVarOnNewline:"Expected variable declaration to be on a new line."}},create(a){const e=a.options[0]==="always";function n(t){return t==="ForStatement"||t==="ForInStatement"||t==="ForOfStatement"}function o(t){if(n(t.parent.type))return;const c=t.declarations;let p;c.forEach(u=>{p&&p.loc.end.line===u.loc.start.line&&(e||p.init||u.init)&&a.report({node:t,messageId:"expectVarOnNewline",loc:u.loc,fix:r=>r.insertTextBefore(u,`
101
- `)}),p=u})}return{VariableDeclaration:o}}}),Hc}var Kc,PS;function KD(){if(PS)return Kc;PS=1;const a=Me();function e(t){return["*","&","^","|"].includes(t)}function n(t){return["+","-","/","%","<<",">>",">>>","**"].includes(t)}function o(t){return t.type==="Identifier"||t.type==="MemberExpression"&&(t.object.type==="Identifier"||t.object.type==="ThisExpression")&&(!t.computed||t.property.type==="Literal")}return Kc={meta:{type:"suggestion",defaultOptions:["always"],docs:{description:"Require or disallow assignment operator shorthand where possible",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/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(t){const c=t.options[0]==="never",p=t.sourceCode;function u(i){return p.getFirstTokenBetween(i.left,i.right,f=>f.value===i.operator)}function r(i){if(i.operator!=="="||i.right.type!=="BinaryExpression")return;const f=i.left,m=i.right,s=m.operator;if(e(s)||n(s)){const l=`${s}=`;a.isSameReference(f,m.left,!0)?t.report({node:i,messageId:"replaced",data:{operator:l},fix(d){if(o(f)&&o(m.left)){const g=u(i),v=u(m),S=p.getText().slice(i.range[0],g.range[0]),b=p.getText().slice(v.range[1],i.right.range[1]);return p.commentsExistBetween(g,v)?null:d.replaceText(i,`${S}${l}${b}`)}return null}}):a.isSameReference(f,m.right,!0)&&e(s)&&t.report({node:i,messageId:"replaced",data:{operator:l}})}}function h(i){i.operator!=="="&&!a.isLogicalAssignmentOperator(i.operator)&&t.report({node:i,messageId:"unexpected",data:{operator:i.operator},fix(f){if(o(i.left)){const m=p.getFirstToken(i),s=u(i),l=p.getText().slice(i.range[0],s.range[0]),d=i.operator.slice(0,-1);let g;if(p.commentsExistBetween(m,s))return null;if(a.getPrecedence(i.right)<=a.getPrecedence({type:"BinaryExpression",operator:d})&&!a.isParenthesised(p,i.right))g=`${p.text.slice(s.range[1],i.right.range[0])}(${p.getText(i.right)})`;else{const v=p.getTokenAfter(s,{includeComments:!0});let S="";s.range[1]===v.range[0]&&!a.canTokensBeAdjacent({type:"Punctuator",value:d},v)&&(S=" "),g=`${S}${p.text.slice(s.range[1],i.range[1])}`}return f.replaceText(i,`${l}= ${l}${d}${g}`)}return null}})}return{AssignmentExpression:c?h:r}}},Kc}var Xc,FS;function XD(){if(FS)return Xc;FS=1;const a=Me();return Xc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"operator-linebreak",url:"https://eslint.style/rules/js/operator-linebreak"}}]},type:"layout",docs:{description:"Enforce consistent linebreak style for operators",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=!e.options[0],o=e.options[0]||"after",t=e.options[1]||{},c=t.overrides?Object.assign({},t.overrides):{};n&&!c["?"]&&(c["?"]="before"),n&&!c[":"]&&(c[":"]="before");const p=e.sourceCode;function u(i,f){return m=>{const s=p.getTokenBefore(i),l=p.getTokenAfter(i),d=p.text.slice(s.range[1],i.range[0]),g=p.text.slice(i.range[1],l.range[0]),v=!a.isTokenOnSameLine(s,i),S=!a.isTokenOnSameLine(i,l);let b,C;if(v!==S&&f!=="none"){if(p.getTokenBefore(i,{includeComments:!0})!==s&&p.getTokenAfter(i,{includeComments:!0})!==l)return null;b=g,C=d}else{const w=a.createGlobalLinebreakMatcher();if(b=f==="before"||d.trim()?d:d.replace(w,""),C=f==="after"||g.trim()?g:g.replace(w,""),b===d&&C===g)return null}return C===""&&l.type==="Punctuator"&&"+-".includes(i.value)&&l.value===i.value&&(C+=" "),m.replaceTextRange([s.range[1],l.range[0]],b+i.value+C)}}function r(i,f,m){const s=p.getTokenBefore(f,b=>b.value===m),l=p.getTokenBefore(s),d=p.getTokenAfter(s),g=c[m],v=g||o,S=u(s,v);a.isTokenOnSameLine(l,s)&&a.isTokenOnSameLine(s,d)||(g!=="ignore"&&!a.isTokenOnSameLine(l,s)&&!a.isTokenOnSameLine(s,d)?e.report({node:i,loc:s.loc,messageId:"badLinebreak",data:{operator:m},fix:S}):v==="before"&&a.isTokenOnSameLine(l,s)?e.report({node:i,loc:s.loc,messageId:"operatorAtBeginning",data:{operator:m},fix:S}):v==="after"&&a.isTokenOnSameLine(s,d)?e.report({node:i,loc:s.loc,messageId:"operatorAtEnd",data:{operator:m},fix:S}):v==="none"&&e.report({node:i,loc:s.loc,messageId:"noLinebreak",data:{operator:m},fix:S}))}function h(i){r(i,i.right,i.operator)}return{BinaryExpression:h,LogicalExpression:h,AssignmentExpression:h,VariableDeclarator(i){i.init&&r(i,i.init,"=")},PropertyDefinition(i){i.value&&r(i,i.value,"=")},ConditionalExpression(i){r(i,i.consequent,"?"),r(i,i.alternate,":")}}}},Xc}var Jc,RS;function JD(){if(RS)return Jc;RS=1;const a=Me();return Jc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"padded-blocks",url:"https://eslint.style/rules/js/padded-blocks"}}]},type:"layout",docs:{description:"Require or disallow padding within blocks",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n={},o=e.options[0]||"always",t=e.options[1]||{};if(typeof o=="string"){const l=o==="always";n.blocks=l,n.switches=l,n.classes=l}else Object.hasOwn(o,"blocks")&&(n.blocks=o.blocks==="always"),Object.hasOwn(o,"switches")&&(n.switches=o.switches==="always"),Object.hasOwn(o,"classes")&&(n.classes=o.classes==="always");Object.hasOwn(t,"allowSingleLineBlocks")&&(n.allowSingleLineBlocks=t.allowSingleLineBlocks===!0);const c=e.sourceCode;function p(l){return l.type==="SwitchStatement"?c.getTokenBefore(l.cases[0]):l.type==="StaticBlock"?c.getFirstToken(l,{skip:1}):c.getFirstToken(l)}function u(l){return l.type==="Line"||l.type==="Block"}function r(l,d){return d.loc.start.line-l.loc.end.line>=2}function h(l){let d,g=l;do d=g,g=c.getTokenAfter(g,{includeComments:!0});while(u(g)&&g.loc.start.line===d.loc.end.line);return g}function i(l){let d=l,g;do g=d,d=c.getTokenBefore(d,{includeComments:!0});while(u(d)&&d.loc.end.line===g.loc.start.line);return d}function f(l){switch(l.type){case"BlockStatement":case"StaticBlock":return n.blocks;case"SwitchStatement":return n.switches;case"ClassBody":return n.classes;default:throw new Error("unreachable")}}function m(l){const d=p(l),g=h(d),v=c.getTokenBefore(g,{includeComments:!0}),S=c.getLastToken(l),b=i(S),C=c.getTokenAfter(b,{includeComments:!0}),w=r(v,g),E=r(b,C);n.allowSingleLineBlocks&&a.isTokenOnSameLine(v,C)||(f(l)?(w||e.report({node:l,loc:{start:v.loc.start,end:g.loc.start},fix(k){return k.insertTextAfter(v,`
102
- `)},messageId:"alwaysPadBlock"}),E||e.report({node:l,loc:{end:C.loc.start,start:b.loc.end},fix(k){return k.insertTextBefore(C,`
103
- `)},messageId:"alwaysPadBlock"})):(w&&e.report({node:l,loc:{start:v.loc.start,end:g.loc.start},fix(k){return k.replaceTextRange([v.range[1],g.range[0]-g.loc.start.column],`
104
- `)},messageId:"neverPadBlock"}),E&&e.report({node:l,loc:{end:C.loc.start,start:b.loc.end},messageId:"neverPadBlock",fix(k){return k.replaceTextRange([b.range[1],C.range[0]-C.loc.start.column],`
105
- `)}})))}const s={};return Object.hasOwn(n,"switches")&&(s.SwitchStatement=function(l){l.cases.length!==0&&m(l)}),Object.hasOwn(n,"blocks")&&(s.BlockStatement=function(l){l.body.length!==0&&m(l)},s.StaticBlock=s.BlockStatement),Object.hasOwn(n,"classes")&&(s.ClassBody=function(l){l.body.length!==0&&m(l)}),s}},Jc}var Yc,_S;function YD(){if(_S)return Yc;_S=1;const a=Me(),e=`[${Array.from(a.LINEBREAKS).join("")}]`,n=new RegExp(String.raw`^(\s*?${e})\s*${e}(\s*;?)$`,"u"),o=/^(?:module\s*\.\s*)?exports(?:\s*\.|\s*\[|$)/u,t=/^require\(/u;function c(S){return{test:(b,C)=>C.getFirstToken(b).value===S}}function p(S){return{test:(b,C)=>b.loc.start.line===b.loc.end.line&&C.getFirstToken(b).value===S}}function u(S){return{test:(b,C)=>b.loc.start.line!==b.loc.end.line&&C.getFirstToken(b).value===S}}function r(S){return{test:b=>b.type===S}}function h(S){if(S.type==="ExpressionStatement"){let b=a.skipChainExpression(S.expression);return b.type==="UnaryExpression"&&(b=a.skipChainExpression(b.argument)),b.type==="CallExpression"&&a.isFunction(b.callee)}return!1}function i(S,b){if(b.type==="DoWhileStatement"&&b.body.type==="BlockStatement"||h(b))return!0;const C=S.getLastToken(b,a.isNotSemicolonToken),w=C&&a.isClosingBraceToken(C)?S.getNodeByRangeIndex(C.range[0]):null;return!!w&&(w.type==="BlockStatement"||w.type==="SwitchStatement")}function f(S,b){const C=S.getLastToken(b),w=S.getTokenBefore(C),E=S.getTokenAfter(C);return!!(w&&E&&w.range[0]>=b.range[0]&&a.isSemicolonToken(C)&&C.loc.start.line!==w.loc.end.line&&C.loc.end.line===E.loc.start.line)?w:C}function m(S,b,C){return b+C}function s(){}function l(S,b,C,w){w.length!==0&&S.report({node:C,messageId:"unexpectedBlankLine",fix(E){if(w.length>=2)return null;const k=w[0][0],x=w[0][1],A=k.range[1],I=x.range[0],B=S.sourceCode.text.slice(A,I).replace(n,m);return E.replaceTextRange([A,I],B)}})}function d(S,b,C,w){w.length>0||S.report({node:C,messageId:"expectedBlankLine",fix(E){const k=S.sourceCode;let x=f(k,b);const A=k.getFirstTokenBetween(x,C,{includeComments:!0,filter(B){return a.isTokenOnSameLine(x,B)?(x=B,!1):!0}})||C,I=a.isTokenOnSameLine(x,A)?`
106
-
107
- `:`
108
- `;return E.insertTextAfter(x,I)}})}const g={any:{verify:s},never:{verify:l},always:{verify:d}},v={"*":{test:()=>!0},"block-like":{test:(S,b)=>i(b,S)},"cjs-export":{test:(S,b)=>S.type==="ExpressionStatement"&&S.expression.type==="AssignmentExpression"&&o.test(b.getText(S.expression.left))},"cjs-import":{test:(S,b)=>S.type==="VariableDeclaration"&&S.declarations.length>0&&!!S.declarations[0].init&&t.test(b.getText(S.declarations[0].init))},directive:{test:a.isDirective},expression:{test:S=>S.type==="ExpressionStatement"&&!a.isDirective(S)},iife:{test:h},"multiline-block-like":{test:(S,b)=>S.loc.start.line!==S.loc.end.line&&i(b,S)},"multiline-expression":{test:S=>S.loc.start.line!==S.loc.end.line&&S.type==="ExpressionStatement"&&!a.isDirective(S)},"multiline-const":u("const"),"multiline-let":u("let"),"multiline-var":u("var"),"singleline-const":p("const"),"singleline-let":p("let"),"singleline-var":p("var"),block:r("BlockStatement"),empty:r("EmptyStatement"),function:r("FunctionDeclaration"),break:c("break"),case:c("case"),class:c("class"),const:c("const"),continue:c("continue"),debugger:c("debugger"),default:c("default"),do:c("do"),export:c("export"),for:c("for"),if:c("if"),import:c("import"),let:c("let"),return:c("return"),switch:c("switch"),throw:c("throw"),try:c("try"),var:c("var"),while:c("while"),with:c("with")};return Yc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"padding-line-between-statements",url:"https://eslint.style/rules/js/padding-line-between-statements"}}]},type:"layout",docs:{description:"Require or disallow padding lines between statements",recommended:!1,url:"https://eslint.org/docs/latest/rules/padding-line-between-statements"},fixable:"whitespace",schema:{definitions:{paddingType:{enum:Object.keys(g)},statementType:{anyOf:[{enum:Object.keys(v)},{type:"array",items:{enum:Object.keys(v)},minItems:1,uniqueItems:!0}]}},type:"array",items:{type:"object",properties:{blankLine:{$ref:"#/definitions/paddingType"},prev:{$ref:"#/definitions/statementType"},next:{$ref:"#/definitions/statementType"}},additionalProperties:!1,required:["blankLine","prev","next"]}},messages:{unexpectedBlankLine:"Unexpected blank line before this statement.",expectedBlankLine:"Expected blank line before this statement."}},create(S){const b=S.sourceCode,C=S.options||[];let w=null;function E(){w={upper:w,prevNode:null}}function k(){w=w.upper}function x(P,D){let R=P;for(;R.type==="LabeledStatement";)R=R.body;return Array.isArray(D)?D.some(x.bind(null,R)):v[D].test(R,b)}function A(P,D){for(let R=C.length-1;R>=0;--R){const N=C[R];if(x(P,N.prev)&&x(D,N.next))return g[N.blankLine]}return g.any}function I(P,D){const R=[];let N=f(b,P);if(D.loc.start.line-N.loc.end.line>=2)do{const q=b.getTokenAfter(N,{includeComments:!0});q.loc.start.line-N.loc.end.line>=2&&R.push([N,q]),N=q}while(N.range[0]<D.range[0]);return R}function B(P){const D=P.parent.type;if(!(a.STATEMENT_LIST_PARENTS.has(D)||D==="SwitchStatement"))return;const N=w.prevNode;if(N){const q=A(N,P),L=I(N,P);q.verify(S,N,P,L)}w.prevNode=P}function M(P){B(P),E()}return{Program:E,BlockStatement:E,SwitchStatement:E,StaticBlock:E,"Program:exit":k,"BlockStatement:exit":k,"SwitchStatement:exit":k,"StaticBlock:exit":k,":statement":B,SwitchCase:M,"SwitchCase:exit":k}}},Yc}var Qc,BS;function QD(){if(BS)return Qc;BS=1;const a=Me();function e(p){return p&&p.defs[0].type==="FunctionName"}function n(p,u,r){return p.meta.name===u&&p.property.name===r}function o(p){const u=p.variables;for(let r=0;r<u.length;++r){const h=u[r];if(h.name==="arguments")return h.identifiers.length===0?h:null}return null}function t(p){const u={isCallback:!1,isLexicalThis:!1};let r=p,h=p.parent,i=!1;for(;r;){switch(h.type){case"LogicalExpression":case"ChainExpression":case"ConditionalExpression":break;case"MemberExpression":if(h.object===r&&!h.property.computed&&h.property.type==="Identifier"&&h.property.name==="bind"){const f=h.parent.type==="ChainExpression"?h.parent:h;if(a.isCallee(f))i||(i=!0,u.isLexicalThis=f.parent.arguments.length===1&&f.parent.arguments[0].type==="ThisExpression"),h=f.parent;else return u}else return u;break;case"CallExpression":case"NewExpression":return h.callee!==r&&(u.isCallback=!0),u;default:return u}r=h,h=h.parent}throw new Error("unreachable")}function c(p){return p.every(u=>u.type==="Identifier")&&p.length!==new Set(p.map(u=>u.name)).size}return Qc={meta:{type:"suggestion",dialects:["javascript","typescript"],language:"javascript",defaultOptions:[{allowNamedFunctions:!1,allowUnboundThis:!0}],docs:{description:"Require using arrow functions for callbacks",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/prefer-arrow-callback"},schema:[{type:"object",properties:{allowNamedFunctions:{type:"boolean"},allowUnboundThis:{type:"boolean"}},additionalProperties:!1}],fixable:"code",messages:{preferArrowCallback:"Unexpected function expression."}},create(p){const[{allowNamedFunctions:u,allowUnboundThis:r}]=p.options,h=p.sourceCode;let i=[];function f(){i.push({this:!1,super:!1,meta:!1})}function m(){return i.pop()}return{Program(){i=[]},ThisExpression(){const s=i.at(-1);s&&(s.this=!0)},Super(){const s=i.at(-1);s&&(s.super=!0)},MetaProperty(s){const l=i.at(-1);l&&n(s,"new","target")&&(l.meta=!0)},FunctionDeclaration:f,"FunctionDeclaration:exit":m,FunctionExpression:f,"FunctionExpression:exit"(s){const l=m();if(u&&s.id&&s.id.name||s.generator)return;const d=h.getDeclaredVariables(s)[0];if(e(d)&&d.references.length>0)return;const g=o(h.getScope(s));if(g&&g.references.length>0)return;const v=t(s);v.isCallback&&(!r||!l.this||v.isLexicalThis)&&!l.super&&!l.meta&&p.report({node:s,messageId:"preferArrowCallback",*fix(S){if(!v.isLexicalThis&&l.this||c(s.params)||s.params.length&&s.params[0].name==="this")return;if(v.isLexicalThis){const k=s.parent;if(k.type!=="MemberExpression")return;const x=k.parent,A=h.getTokenAfter(k.object,a.isNotClosingParenToken),I=h.getLastToken(x);if(a.isParenthesised(h,k)||h.commentsExistBetween(A,I))return;yield S.removeRange([A.range[0],I.range[1]])}const b=h.getFirstToken(s,s.async?1:0),C=h.getTokenAfter(b,a.isOpeningParenToken),w=h.getTokenBefore(s.body);h.commentsExistBetween(b,C)?(yield S.remove(b),s.id&&(yield S.remove(s.id))):yield S.removeRange([b.range[0],C.range[0]]),yield S.insertTextAfter(w," =>");let E=v.isLexicalThis?s.parent.parent:s;E.type==="ChainExpression"&&(E=E.parent),E.parent.type!=="CallExpression"&&E.parent.type!=="ConditionalExpression"&&!a.isParenthesised(h,E)&&!a.isParenthesised(h,s)&&(yield S.insertTextBefore(E,"("),yield S.insertTextAfter(E,")"))}})}}}},Qc}var Zc,LS;function ZD(){if(LS)return Zc;LS=1;const a=fn(),e=Me(),n=/^(?:.+?Pattern|RestElement|SpreadProperty|ExperimentalRestProperty|Property)$/u,o=/^(?:Program|BlockStatement|StaticBlock|SwitchCase)$/u,t=/^(?:VariableDeclarator|AssignmentExpression)$/u;function c(s){return s.parent.type==="ForStatement"&&s.parent.init===s}function p(s){let l=s.parent;for(;n.test(l.type);)l=l.parent;return l.type==="VariableDeclarator"||l.type==="AssignmentExpression"&&l.parent.type==="ExpressionStatement"&&o.test(l.parent.parent.type)}function u(s,l){if(l.through.some(g=>g.resolved&&g.resolved.name===s))return!0;const d=e.getVariableByName(l,s);return d!==null?d.defs.some(g=>g.type==="Parameter"):!1}function r(s){if(!s.isWrite())return null;let l=s.identifier.parent;for(;n.test(l.type);)l=l.parent;return t.test(l.type)?l:null}function h(s){switch(s.type){case"ObjectPattern":return s.properties.some(l=>l?h(l.argument||l.value):!1);case"ArrayPattern":return s.elements.some(l=>l?h(l):!1);case"AssignmentPattern":return h(s.left);case"MemberExpression":return!0}return!1}function i(s,l){if(s.eslintUsed&&s.scope.type==="global")return null;let d=null,g=!1;const v=s.references;for(let b=0;b<v.length;++b){const C=v[b];if(C.isWrite()){if(d!==null&&d.identifier!==C.identifier)return null;const E=r(C);if(E!==null&&E.left!==void 0){const k=E.left;let x=!1,A=!1;if(k.type==="ObjectPattern"?(x=k.properties.filter(B=>B.value).map(B=>B.value.name).some(B=>u(B,s.scope)),A=h(k)):k.type==="ArrayPattern"&&(x=k.elements.map(B=>B&&B.name).some(B=>u(B,s.scope)),A=h(k)),x||A)return null}d=C}else if(C.isRead()&&d===null){if(l)return null;g=!0}}return d!==null&&d.from===s.scope&&p(d.identifier)?g?s.defs[0].name:d.identifier:null}function f(s,l){const d=new Map;for(let g=0;g<s.length;++g){const v=s[g],S=v.references,b=i(v,l);let C=null;for(let w=0;w<S.length;++w){const E=S[w],k=E.identifier;if(k===C)continue;C=k;const x=r(E);x&&(d.has(x)?d.get(x).push(b):d.set(x,[b]))}}return d}function m(s,l,d){return!s||d(s)?null:s.type===l?s:m(s.parent,l,d)}return Zc={meta:{type:"suggestion",defaultOptions:[{destructuring:"any",ignoreReadBeforeAssign:!1}],docs:{description:"Require `const` declarations for variables that are never reassigned after declared",recommended:!1,url:"https://eslint.org/docs/latest/rules/prefer-const"},fixable:"code",schema:[{type:"object",properties:{destructuring:{enum:["any","all"]},ignoreReadBeforeAssign:{type:"boolean"}},additionalProperties:!1}],messages:{useConst:"'{{name}}' is never reassigned. Use 'const' instead."}},create(s){const[{destructuring:l,ignoreReadBeforeAssign:d}]=s.options,g=l!=="all",v=s.sourceCode,S=[];let b=0,C=null,w="";function E(k){const x=k.filter(Boolean);if(k.length&&(g||x.length===k.length)){const A=m(k[0],"VariableDeclaration",M=>M.type.endsWith("Statement")),I=A===null;if(!I&&A.declarations.length>0){const M=A.declarations[0];if(M.init){const P=M.init.parent;P.type==="VariableDeclarator"&&(P.id.name!==w&&(w=P.id.name,b=0),P.id.type==="ObjectPattern"&&P.init.name!==w&&(w=P.init.name,b=0),P.id!==C&&(C=P.id,b=0))}}let B=A&&(A.parent.type==="ForInStatement"||A.parent.type==="ForOfStatement"||A.declarations.every(M=>M.init))&&x.length===k.length;if(!I&&A.declarations&&A.declarations.length!==1&&A&&A.declarations&&A.declarations.length>=1){b+=x.length;let M=0;A.declarations.forEach(P=>{P.id.type==="ObjectPattern"?M+=P.id.properties.length:P.id.type==="ArrayPattern"?M+=P.id.elements.length:M+=1}),B=B&&b===M}x.forEach(M=>{s.report({node:M,messageId:"useConst",data:M,fix:B?P=>{const D=v.getFirstToken(A,R=>R.value===A.kind);return new a(P,v).retainRange(A.range).replaceTextRange(D.range,"const")}:null})})}}return{"Program:exit"(){f(S,d).forEach(E)},VariableDeclaration(k){k.kind==="let"&&!c(k)&&S.push(...v.getDeclaredVariables(k))}}}},Zc}var ef,OS;function eI(){if(OS)return ef;OS=1;const a=Me(),e=a.getPrecedence({type:"AssignmentExpression"});return ef={meta:{type:"suggestion",docs:{description:"Require destructuring from arrays and/or objects",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/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(n){const o=n.options[0],t=n.options[1]&&n.options[1].enforceForRenamedProperties;let c={VariableDeclarator:{array:!0,object:!0},AssignmentExpression:{array:!0,object:!0}};o&&(c=typeof o.array<"u"||typeof o.object<"u"?{VariableDeclarator:o,AssignmentExpression:o}:o);function p(l,d){return c&&c[l]&&c[l][d]}function u(l){return Number.isInteger(l.property.value)}function r(l,d,g){n.report({node:l,messageId:"preferDestructuring",data:{type:d},fix:g})}function h(l){return l.type==="VariableDeclarator"&&l.id.type==="Identifier"&&l.init.type==="MemberExpression"&&!l.init.computed&&l.init.property.type==="Identifier"&&l.id.name===l.init.property.name}function i(l,d){const g=d.init,v=n.sourceCode;if(v.getCommentsInside(d).length>v.getCommentsInside(g.object).length)return null;let S=v.getText(g.object);return a.getPrecedence(g.object)<e&&(S=`(${S})`),l.replaceText(d,`{${g.property.name}} = ${S}`)}function f(l,d,g){if(d.type!=="MemberExpression"||d.object.type==="Super"||d.property.type==="PrivateIdentifier")return;if(u(d)){p(g.type,"array")&&r(g,"array",null);return}const v=h(g)?S=>i(S,g):null;if(p(g.type,"object")&&t){r(g,"object",v);return}if(p(g.type,"object")){const S=d.property;(S.type==="Literal"&&l.name===S.value||S.type==="Identifier"&&l.name===S.name&&!d.computed)&&r(g,"object",v)}}function m(l){l.init&&l.init.type==="MemberExpression"&&f(l.id,l.init,l)}function s(l){l.operator==="="&&f(l.left,l.right,l)}return{VariableDeclarator:m,AssignmentExpression:s}}},ef}var tf,NS;function tI(){if(NS)return tf;NS=1;const a=Me(),{CALL:e,ReferenceTracker:n}=$t(),o=a.getPrecedence({type:"BinaryExpression",operator:"**"});function t(r){return a.getPrecedence(r)<=o||r.type==="AwaitExpression"||r.type==="UnaryExpression"}function c(r){return a.getPrecedence(r)<o}function p(r,h){const i=r.parent.type==="ChainExpression"?r.parent.parent:r.parent,f=a.getPrecedence(i);return(i.type==="ClassDeclaration"||i.type.endsWith("Expression")&&(f===-1||f>=o)&&!(i.type==="BinaryExpression"&&i.operator==="**"&&i.right===r)&&!((i.type==="CallExpression"||i.type==="NewExpression")&&i.arguments.includes(r))&&!(i.type==="MemberExpression"&&i.computed&&i.property===r)&&i.type!=="ArrayExpression")&&!a.isParenthesised(h,r)}function u(r,h){return h?`(${r})`:r}return tf={meta:{type:"suggestion",docs:{description:"Disallow the use of `Math.pow` in favor of the `**` operator",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/prefer-exponentiation-operator"},schema:[],fixable:"code",messages:{useExponentiation:"Use the '**' operator instead of 'Math.pow'."}},create(r){const h=r.sourceCode;function i(f){r.report({node:f,messageId:"useExponentiation",fix(m){if(f.arguments.length!==2||f.arguments.some(A=>A.type==="SpreadElement")||h.getCommentsInside(f).length>0)return null;const s=f.arguments[0],l=f.arguments[1],d=h.getText(s),g=h.getText(l),v=t(s),S=c(l),b=p(f,h);let C="",w="";if(!b){if(!v){const A=h.getFirstToken(s),I=h.getTokenBefore(f);I&&I.range[1]===f.range[0]&&!a.canTokensBeAdjacent(I,A)&&(C=" ")}if(!S){const A=h.getLastToken(l),I=h.getTokenAfter(f);I&&f.range[1]===I.range[0]&&!a.canTokensBeAdjacent(A,I)&&(w=" ")}}const E=u(d,v),k=u(g,S),x=u(`${E}**${k}`,b);return m.replaceText(f,`${C}${x}${w}`)}})}return{Program(f){const m=h.getScope(f),s=new n(m),l={Math:{pow:{[e]:!0}}};for(const{node:d}of s.iterateGlobalReferences(l))i(d)}}}},tf}var rf,jS;function rI(){if(jS)return rf;jS=1;const{CALL:a,CONSTRUCT:e,ReferenceTracker:n,getStringIfConstant:o}=$t(),t=fr(),c=new t.RegExpParser;function p(u,r,h,i){switch(i.type){case"Literal":if(typeof i.value=="string"&&h.includes("\\"))return null;break;case"TemplateLiteral":if(i.expressions.length||h.slice(1,-1)!==r)return null;break;default:return null}const f=i.range[0]+u+2;return[{fix(m){const l=(r.match(/temp\d+/gu)||[]).reduce((d,g)=>Math.max(d,Number(g.slice(4))),0);return m.insertTextBeforeRange([f,f],`?<temp${l+1}>`)},messageId:"addGroupName"},{fix(m){return m.insertTextBeforeRange([f,f],"?:")},messageId:"addNonCapture"}]}return rf={meta:{type:"suggestion",docs:{description:"Enforce using named capture group in regular expression",recommended:!1,url:"https://eslint.org/docs/latest/rules/prefer-named-capture-group"},hasSuggestions:!0,schema:[],messages:{addGroupName:"Add name to capture group.",addNonCapture:"Convert group to non-capturing.",required:"Capture group '{{group}}' should be converted to a named or non-capturing group."}},create(u){const r=u.sourceCode;function h(i,f,m,s){let l;try{l=c.parsePattern(i,0,i.length,{unicode:!!(s&&s.includes("u")),unicodeSets:!!(s&&s.includes("v"))})}catch{return}t.visitRegExpAST(l,{onCapturingGroupEnter(d){if(!d.name){const g=r.getText(m),v=p(d.start,i,g,m);u.report({node:f,messageId:"required",data:{group:d.raw},suggest:v})}}})}return{Literal(i){i.regex&&h(i.regex.pattern,i,i,i.regex.flags)},Program(i){const f=r.getScope(i),m=new n(f),s={RegExp:{[a]:!0,[e]:!0}};for(const{node:l}of m.iterateGlobalReferences(s)){const d=o(l.arguments[0]),g=o(l.arguments[1]);d&&h(d,l,l.arguments[0],g)}}}}},rf}var nf,MS;function nI(){if(MS)return nf;MS=1;const a=Me(),e=new Map([[2,{system:"binary",literalPrefix:"0b"}],[8,{system:"octal",literalPrefix:"0o"}],[16,{system:"hexadecimal",literalPrefix:"0x"}]]);function n(o){return a.isSpecificId(o,"parseInt")||a.isSpecificMemberAccess(o,"Number","parseInt")}return nf={meta:{type:"suggestion",docs:{description:"Disallow `parseInt()` and `Number.parseInt()` in favor of binary, octal, and hexadecimal literals",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/prefer-numeric-literals"},schema:[],messages:{useLiteral:"Use {{system}} literals instead of {{functionName}}()."},fixable:"code"},create(o){const t=o.sourceCode;return{"CallExpression[arguments.length=2]"(c){const[p,u]=c.arguments,r=a.getStaticStringValue(p),h=u.value;if(r!==null&&a.isStringLiteral(p)&&u.type==="Literal"&&typeof h=="number"&&e.has(h)&&n(c.callee)){const{system:i,literalPrefix:f}=e.get(h);o.report({node:c,messageId:"useLiteral",data:{system:i,functionName:t.getText(c.callee)},fix(m){if(t.getCommentsInside(c).length)return null;const s=`${f}${r}`;if(+s!==parseInt(r,h))return null;const l=t.getTokenBefore(c),d=t.getTokenAfter(c);let g="",v="";return l&&l.range[1]===c.range[0]&&!a.canTokensBeAdjacent(l,s)&&(g=" "),d&&c.range[1]===d.range[0]&&!a.canTokensBeAdjacent(s,d)&&(v=" "),m.replaceText(c,`${g}${s}${v}`)}})}}}}},nf}var sf,US;function sI(){if(US)return sf;US=1;const a=Me();function e(n){if(n.object.type==="ObjectExpression"&&n.object.properties.length===0)return!0;const o=n.object.type==="MemberExpression"&&a.getStaticPropertyName(n.object)==="prototype"?n.object.object:n.object;return o.type==="Identifier"&&o.name==="Object"}return sf={meta:{type:"suggestion",docs:{description:"Disallow use of `Object.prototype.hasOwnProperty.call()` and prefer use of `Object.hasOwn()`",recommended:!1,url:"https://eslint.org/docs/latest/rules/prefer-object-has-own"},schema:[],messages:{useHasOwn:"Use 'Object.hasOwn()' instead of 'Object.prototype.hasOwnProperty.call()'."},fixable:"code"},create(n){const o=n.sourceCode;return{CallExpression(t){if(!(t.callee.type==="MemberExpression"&&t.callee.object.type==="MemberExpression"))return;const c=a.getStaticPropertyName(t.callee),p=a.getStaticPropertyName(t.callee.object),u=e(t.callee.object),r=o.getScope(t),h=a.getVariableByName(r,"Object");c==="call"&&p==="hasOwnProperty"&&u&&h&&h.scope.type==="global"&&n.report({node:t,messageId:"useHasOwn",fix(i){if(o.getCommentsInside(t.callee).length>0)return null;const f=o.getTokenBefore(t.callee,{includeComments:!0});return f&&f.range[1]===t.callee.range[0]&&!a.canTokensBeAdjacent(f,"Object.hasOwn")?i.replaceText(t.callee," Object.hasOwn"):i.replaceText(t.callee,"Object.hasOwn")}})}}}},sf}var af,qS;function aI(){if(qS)return af;qS=1;const{CALL:a,ReferenceTracker:e}=$t(),{isCommaToken:n,isOpeningParenToken:o,isClosingParenToken:t,isParenthesised:c}=Me(),p=/\s/u;function u(v){return v.arguments.some(S=>S.type==="SpreadElement")}function r(v){return v.type==="Property"&&(v.kind==="get"||v.kind==="set")}function h(v){return v.properties.some(r)}function i(v){return v.arguments.filter(S=>S.type==="ObjectExpression").some(h)}function f(v,S){const b=v.parent;switch(b.type){case"VariableDeclarator":case"ArrayExpression":case"ReturnStatement":case"CallExpression":case"Property":return!1;case"AssignmentExpression":return b.left===v&&!c(S,v);default:return!c(S,v)}}function m(v,S){switch(v.type){case"AssignmentExpression":case"ArrowFunctionExpression":case"ConditionalExpression":return!c(S,v);default:return!1}}function s(v,S,b){const C=[b.getFirstToken(v),b.getLastToken(v)];let w=b.getTokenBefore(v),E=b.getTokenAfter(v);for(;w&&E&&w.range[0]>S.range[0]&&o(w)&&t(E);)C.push(w,E),w=b.getTokenBefore(w),E=b.getTokenAfter(E);return C.sort((k,x)=>k.range[0]-x.range[0])}function l(v,S){const b=S.text;let C=v.range[0];{const w=S.getTokenBefore(v,{includeComments:!0});if(w&&w.type==="Line")return C}for(;p.test(b[C-1]||"");)C-=1;return C}function d(v,S){const b=S.text;let C=v.range[1];for(;p.test(b[C]||"");)C+=1;return C}function g(v,S){return function*(b){const C=S.getTokenAfter(v.callee,o),w=S.getLastToken(v);yield b.removeRange([v.range[0],C.range[0]]),f(v,S)?(yield b.replaceText(C,"({"),yield b.replaceText(w,"})")):(yield b.replaceText(C,"{"),yield b.replaceText(w,"}"));for(const E of v.arguments){const k=s(E,C,S),x=k.shift(),A=k.pop();if(E.type==="ObjectExpression"){const I=S.getLastToken(E,1),B=S.getTokenAfter(A);for(const D of k)yield b.remove(D);const M=[x.range[0],d(x,S)],P=[Math.max(l(A,S),M[1]),A.range[1]];yield b.removeRange(M),yield b.removeRange(P),(E.properties.length===0||n(I))&&n(B)&&(yield b.remove(B))}else m(E,S)?(yield b.insertTextBefore(x,"...("),yield b.insertTextAfter(A,")")):yield b.insertTextBefore(x,"...")}}}return af={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,frozen:!0,url:"https://eslint.org/docs/latest/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 S=v.sourceCode;return{Program(b){const C=S.getScope(b),w=new e(C),E={Object:{assign:{[a]:!0}}};for(const{node:k}of w.iterateGlobalReferences(E))if(k.arguments.length>=1&&k.arguments[0].type==="ObjectExpression"&&!u(k)&&!(k.arguments.length>1&&i(k))){const x=k.arguments.length===1?"useLiteralMessage":"useSpreadMessage",A=g(k,S);v.report({node:k,messageId:x,fix:A})}}}}},af}var of,VS;function iI(){if(VS)return of;VS=1;const a=Me();return of={meta:{type:"suggestion",defaultOptions:[{allowEmptyReject:!1}],docs:{description:"Require using Error objects as Promise rejection reasons",recommended:!1,url:"https://eslint.org/docs/latest/rules/prefer-promise-reject-errors"},fixable:null,schema:[{type:"object",properties:{allowEmptyReject:{type:"boolean"}},additionalProperties:!1}],messages:{rejectAnError:"Expected the Promise rejection reason to be an Error."}},create(e){const[{allowEmptyReject:n}]=e.options,o=e.sourceCode;function t(p){!p.arguments.length&&n||(!p.arguments.length||!a.couldBeError(p.arguments[0])||p.arguments[0].type==="Identifier"&&p.arguments[0].name==="undefined")&&e.report({node:p,messageId:"rejectAnError"})}function c(p){return a.isSpecificMemberAccess(p.callee,"Promise","reject")}return{CallExpression(p){c(p)&&t(p)},"NewExpression:exit"(p){p.callee.type==="Identifier"&&p.callee.name==="Promise"&&p.arguments.length&&a.isFunction(p.arguments[0])&&p.arguments[0].params.length>1&&p.arguments[0].params[1].type==="Identifier"&&o.getDeclaredVariables(p.arguments[0]).find(u=>u.name===p.arguments[0].params[1].name).references.filter(u=>u.isRead()).filter(u=>u.identifier.parent.type==="CallExpression"&&u.identifier===u.identifier.parent.callee).forEach(u=>t(u.identifier.parent))}}}},of}var lf,$S;function oI(){return $S||($S=1,lf={meta:{type:"suggestion",docs:{description:"Require `Reflect` methods where applicable",recommended:!1,url:"https://eslint.org/docs/latest/rules/prefer-reflect"},deprecated:{message:"The original intention of this rule was misguided.",deprecatedSince:"3.9.0",availableUntil:null,replacedBy:[]},schema:[{type:"object",properties:{exceptions:{type:"array",items:{enum:["apply","call","delete","defineProperty","getOwnPropertyDescriptor","getPrototypeOf","setPrototypeOf","isExtensible","getOwnPropertyNames","preventExtensions"]},uniqueItems:!0}},additionalProperties:!1}],messages:{preferReflect:"Avoid using {{existing}}, instead use {{substitute}}."}},create(a){const e={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"},n={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"},o=(a.options[0]||{}).exceptions||[];function t(c,p,u){a.report({node:c,messageId:"preferReflect",data:{existing:p,substitute:u}})}return{CallExpression(c){const p=(c.callee.property||{}).name,u=(c.callee.object||{}).name==="Reflect",r=Object.hasOwn(n,p),h=o.includes(p);r&&!u&&!h&&t(c,e[p],n[p])},UnaryExpression(c){const p=c.operator==="delete",u=c.argument.type==="Identifier",r=o.includes("delete");p&&!u&&!r&&t(c,"the delete keyword","Reflect.deleteProperty")}}}}),lf}var uf,WS;function lI(){if(WS)return uf;WS=1;const a=Me(),{CALL:e,CONSTRUCT:n,ReferenceTracker:o,findVariable:t}=$t(),{RegExpValidator:c,visitRegExpAST:p,RegExpParser:u}=fr(),{canTokensBeAdjacent:r}=Me(),{REGEXPP_LATEST_ECMA_VERSION:h}=tu();function i(s){return s.type==="Literal"&&typeof s.value=="string"}function f(s){return s.type==="Literal"&&Object.hasOwn(s,"regex")}const m=new Set(["(",";","[",",","=","+","*","-","?","~","%","**","!","typeof","instanceof","&&","||","??","return","...","delete","void","in","<",">","<=",">=","==","===","!=","!==","<<",">>",">>>","&","|","^",":","{","=>","*=","<<=",">>=",">>>=","^=","|=","&=","??=","||=","&&=","**=","+=","-=","/=","%=","/","do","break","continue","debugger","case","throw"]);return uf={meta:{type:"suggestion",defaultOptions:[{disallowRedundantWrapping:!1}],docs:{description:"Disallow use of the `RegExp` constructor in favor of regular expression literals",recommended:!1,url:"https://eslint.org/docs/latest/rules/prefer-regex-literals"},hasSuggestions:!0,schema:[{type:"object",properties:{disallowRedundantWrapping:{type:"boolean"}},additionalProperties:!1}],messages:{unexpectedRegExp:"Use a regular expression literal instead of the 'RegExp' constructor.",replaceWithLiteral:"Replace with an equivalent regular expression literal.",replaceWithLiteralAndFlags:"Replace with an equivalent regular expression literal with flags '{{ flags }}'.",replaceWithIntendedLiteralAndFlags:"Replace with a regular expression literal with flags '{{ flags }}'.",unexpectedRedundantRegExp:"Regular expression literal is unnecessarily wrapped within a 'RegExp' constructor.",unexpectedRedundantRegExpWithFlags:"Use regular expression literal with flags instead of the 'RegExp' constructor."}},create(s){const[{disallowRedundantWrapping:l}]=s.options,d=s.sourceCode;function g(D){const R=d.getScope(D),N=t(R,D);return N!==null&&N.scope.type==="global"&&N.defs.length===0}function v(D){return D.type==="TaggedTemplateExpression"&&a.isSpecificMemberAccess(D.tag,"String","raw")&&g(a.skipChainExpression(D.tag).object)&&a.isStaticTemplateLiteral(D.quasi)}function S(D){return i(D)?D.value:a.isStaticTemplateLiteral(D)?D.quasis[0].value.cooked:v(D)?D.quasi.quasis[0].value.raw:null}function b(D){return i(D)||a.isStaticTemplateLiteral(D)||v(D)}function C(D){const R=D.arguments;return!!((R.length===1||R.length===2)&&R.every(b))}function w(D){const R=D.arguments;return!!(R.length===1&&f(R[0])||R.length===2&&f(R[0])&&b(R[1]))}function E(D){return D<=5?5:Math.min(D,h)}const k=E(s.languageOptions.ecmaVersion);function x(D){switch(D){case`
109
- `:case`\\
110
- `:return"\\n";case"\r":case"\\\r":return"\\r";case" ":case"\\ ":return"\\t";case"\v":case"\\\v":return"\\v";case"\f":case"\\\f":return"\\f";case"/":return"\\/";default:return null}}function A(D,R){const N=new c({ecmaVersion:k});try{return N.validatePattern(D,0,D.length,{unicode:R?R.includes("u"):!1,unicodeSets:R?R.includes("v"):!1}),R&&N.validateFlags(R),!0}catch{return!1}}function I(D,R){return[...D].sort().join("")===[...R].sort().join("")}function B(D,R){return[...new Set([...D,...R])].join("")}function M(D,R,N){const q=d.getTokenBefore(D);return d.getCommentsInside(D).length===0&&(!q||m.has(q.value))&&A(R,N)}function P(D,R){const N=d.getTokenBefore(D),q=d.getTokenAfter(D);return(N&&!r(N,R)&&N.range[1]===D.range[0]?" ":"")+R+(q&&!r(R,q)&&D.range[1]===q.range[0]?" ":"")}return{Program(D){const R=d.getScope(D),N=new o(R),q={RegExp:{[e]:!0,[n]:!0}};for(const{node:L}of N.iterateGlobalReferences(q))if(l&&w(L)){const W=L.arguments[0];if(L.arguments.length===2){const _=[],H=S(L.arguments[1])||"";M(L,W.regex.pattern,H)&&_.push({messageId:"replaceWithLiteralAndFlags",pattern:W.regex.pattern,flags:H});const K=W.regex.flags||"",re=B(K,H);!I(re,H)&&M(L,W.regex.pattern,re)&&_.push({messageId:"replaceWithIntendedLiteralAndFlags",pattern:W.regex.pattern,flags:re}),s.report({node:L,messageId:"unexpectedRedundantRegExpWithFlags",suggest:_.map(({flags:te,pattern:xe,messageId:Y})=>({messageId:Y,data:{flags:te},fix(F){return F.replaceText(L,P(L,`/${xe}/${te}`))}}))})}else{const _=[];M(L,W.regex.pattern,W.regex.flags)&&_.push(d.getText(W)),s.report({node:L,messageId:"unexpectedRedundantRegExp",suggest:_.map(H=>({messageId:"replaceWithLiteral",fix(K){return K.replaceText(L,P(L,H))}}))})}}else if(C(L)){let W=S(L.arguments[0]),_=!1,H;if(L.arguments[1]&&(H=S(L.arguments[1])),M(L,W,H)||(_=!0),/^[-a-zA-Z0-9\\[\](){} \t\r\n\v\f!@#$%^&*+^_=/~`.><?,'"|:;]*$/u.test(W)||(_=!0),W&&!_){let re=0;const te=new u({ecmaVersion:k}).parsePattern(W,0,W.length,{unicode:H?H.includes("u"):!1,unicodeSets:H?H.includes("v"):!1});p(te,{onCharacterEnter(xe){const Y=x(xe.raw);Y&&(W=W.slice(0,xe.start+re)+Y+W.slice(xe.end+re),xe.raw.length===1&&(re+=1))}})}const K=`/${W||"(?:)"}/${H||""}`;s.report({node:L,messageId:"unexpectedRegExp",suggest:_?[]:[{messageId:"replaceWithLiteral",fix(re){return re.replaceText(L,P(L,K))}}]})}}}}},uf}var cf,GS;function uI(){if(GS)return cf;GS=1;function a(n){const o=n.variables;for(let t=0;t<o.length;++t){const c=o[t];if(c.name==="arguments")return c.identifiers.length===0?c:null}return null}function e(n){const o=n.identifier,t=o.parent;return!(t.type==="MemberExpression"&&t.object===o&&!t.computed)}return cf={meta:{type:"suggestion",docs:{description:"Require rest parameters instead of `arguments`",recommended:!1,url:"https://eslint.org/docs/latest/rules/prefer-rest-params"},schema:[],messages:{preferRestParams:"Use the rest parameters instead of 'arguments'."}},create(n){const o=n.sourceCode;function t(p){n.report({node:p.identifier,loc:p.identifier.loc,messageId:"preferRestParams"})}function c(p){const u=a(o.getScope(p));u&&u.references.filter(e).forEach(t)}return{"FunctionDeclaration:exit":c,"FunctionExpression:exit":c}}},cf}var ff,zS;function cI(){if(zS)return ff;zS=1;const a=Me();function e(o){return a.isSpecificMemberAccess(o.callee,null,"apply")&&o.arguments.length===2&&o.arguments[1].type!=="ArrayExpression"&&o.arguments[1].type!=="SpreadElement"}function n(o,t,c){return o?a.equalTokens(o,t,c):a.isNullOrUndefined(t)}return ff={meta:{type:"suggestion",docs:{description:"Require spread operators instead of `.apply()`",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/prefer-spread"},schema:[],fixable:null,messages:{preferSpread:"Use the spread operator instead of '.apply()'."}},create(o){const t=o.sourceCode;return{CallExpression(c){if(!e(c))return;const p=a.skipChainExpression(a.skipChainExpression(c.callee).object),u=p.type==="MemberExpression"?p.object:null,r=c.arguments[0];n(u,r,t)&&o.report({node:c,messageId:"preferSpread"})}}}},ff}var pf,HS;function fI(){if(HS)return pf;HS=1;const a=Me();function e(r){return r.type==="BinaryExpression"&&r.operator==="+"}function n(r){let h=r;for(;e(h.parent);)h=h.parent;return h}function o(r){return e(r)?o(r.left)||o(r.right):r.type==="Literal"&&typeof r.value=="string"?a.hasOctalOrNonOctalDecimalEscapeSequence(r.raw):!1}function t(r){return e(r)?t(r.right)||t(r.left):a.isStringLiteral(r)}function c(r){return e(r)?c(r.right)||c(r.left):!a.isStringLiteral(r)}function p(r){return r.type==="BinaryExpression"?p(r.left):r.type==="TemplateLiteral"?r.expressions.length&&r.quasis.length&&r.quasis[0].range[0]===r.quasis[0].range[1]:r.type!=="Literal"||typeof r.value!="string"}function u(r){return r.type==="BinaryExpression"?p(r.right):r.type==="TemplateLiteral"?r.expressions.length&&r.quasis.length&&r.quasis.at(-1).range[0]===r.quasis.at(-1).range[1]:r.type!=="Literal"||typeof r.value!="string"}return pf={meta:{type:"suggestion",docs:{description:"Require template literals instead of string concatenation",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/prefer-template"},schema:[],fixable:"code",messages:{unexpectedStringConcatenation:"Unexpected string concatenation."}},create(r){const h=r.sourceCode;let i=Object.create(null);function f(d,g){const v=[d].concat(h.getTokensBetween(d,g)).concat(g),S=h.getText();return v.slice(0,-1).reduce((b,C,w)=>b+S.slice(C.range[1],v[w+1].range[0]),"")}function m(d,g,v){if(d.type==="Literal"&&typeof d.value=="string")return`\`${d.raw.slice(1,-1).replace(/\\*(\$\{|`)/gu,S=>S.lastIndexOf("\\")%2?`\\${S}`:S).replace(new RegExp(`\\\\${d.raw[0]}`,"gu"),d.raw[0])}\``;if(d.type==="TemplateLiteral")return h.getText(d);if(e(d)&&t(d)){const S=h.getFirstTokenBetween(d.left,d.right,k=>k.value==="+"),b=f(d.left,S),C=f(S,d.right),w=u(d.left),E=p(d.right);return w?m(d.left,g,b+C).slice(0,-1)+m(d.right,null,v).slice(1):E?m(d.left,g,null).slice(0,-1)+m(d.right,b+C,v).slice(1):`${m(d.left,g,null)}${b}+${C}${m(d.right,v,null)}`}return`\`\${${g||""}${h.getText(d)}${v||""}}\``}function s(d,g){const v=n(g.parent);return o(v)?null:d.replaceText(v,m(v,null,null))}function l(d){if(!a.isStringLiteral(d)||!e(d.parent))return;const g=n(d.parent);i[g.range[0]]||(i[g.range[0]]=!0,c(g)&&r.report({node:g,messageId:"unexpectedStringConcatenation",fix:v=>s(v,d)}))}return{Program(){i=Object.create(null)},Literal:l,TemplateLiteral:l}}},pf}var mf,KS;function pI(){if(KS)return mf;KS=1;const a=xn(),e=Me(),n=Ui();return mf={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"quote-props",url:"https://eslint.style/rules/js/quote-props"}}]},type:"suggestion",docs:{description:"Require quotes around object literal property names",recommended:!1,url:"https://eslint.org/docs/latest/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(o){const t=o.options[0],c=o.options[1]&&o.options[1].keywords,p=!o.options[1]||o.options[1].unnecessary!==!1,u=o.options[1]&&o.options[1].numbers,r=o.sourceCode;function h(g){return n.includes(g)}function i(g,v,S){return v.length===1&&v[0].start===0&&v[0].end===g.length&&(["Identifier","Keyword","Null","Boolean"].includes(v[0].type)||v[0].type==="Numeric"&&!S&&String(+v[0].value)===v[0].value)}function f(g){return g.type==="Identifier"?g.name:g.value}function m(g){return g.type==="Literal"&&typeof g.value=="string"?r.getText(g):`"${g.type==="Identifier"?g.name:g.value}"`}function s(g){const v=g.key;if(!(g.method||g.computed||g.shorthand))if(v.type==="Literal"&&typeof v.value=="string"){let S;try{S=a.tokenize(v.value)}catch{return}if(S.length!==1||h(S[0].value)&&c)return;p&&i(v.value,S,u)&&o.report({node:g,messageId:"unnecessarilyQuotedProperty",data:{property:v.value},fix:C=>C.replaceText(v,f(v))})}else c&&v.type==="Identifier"&&h(v.name)?o.report({node:g,messageId:"unquotedReservedProperty",data:{property:v.name},fix:S=>S.replaceText(v,m(v))}):u&&v.type==="Literal"&&e.isNumericLiteral(v)&&o.report({node:g,messageId:"unquotedNumericProperty",data:{property:v.value},fix:S=>S.replaceText(v,m(v))})}function l(g){const v=g.key;!g.method&&!g.computed&&!g.shorthand&&!(v.type==="Literal"&&typeof v.value=="string")&&o.report({node:g,messageId:"unquotedPropertyFound",data:{property:v.name||v.value},fix:S=>S.replaceText(v,m(v))})}function d(g,v){const S=[],b=[];let C=null,w=!1;g.properties.forEach(E=>{const k=E.key;if(!(!k||E.method||E.computed||E.shorthand))if(k.type==="Literal"&&typeof k.value=="string"){if(S.push(E),v){let x;try{x=a.tokenize(k.value)}catch{w=!0;return}w=w||!i(k.value,x)||c&&h(x[0].value)}}else c&&v&&k.type==="Identifier"&&h(k.name)?(b.push(E),w=!0,C=k.name):b.push(E)}),v&&S.length&&!w?S.forEach(E=>{o.report({node:E,messageId:"redundantQuoting",fix:k=>k.replaceText(E.key,f(E.key))})}):b.length&&C?b.forEach(E=>{o.report({node:E,messageId:"requireQuotesDueToReservedWord",data:{property:C},fix:k=>k.replaceText(E.key,m(E.key))})}):S.length&&b.length&&b.forEach(E=>{o.report({node:E,messageId:"inconsistentlyQuotedProperty",data:{key:E.key.name||E.key.value},fix:k=>k.replaceText(E.key,m(E.key))})})}return{Property(g){(t==="always"||!t)&&l(g),t==="as-needed"&&s(g)},ObjectExpression(g){t==="consistent"&&d(g,!1),t==="consistent-as-needed"&&d(g,!0)}}}},mf}var hf,XS;function mI(){if(XS)return hf;XS=1;const a=Me(),e={double:{quote:'"',alternateQuote:"'",description:"doublequote"},single:{quote:"'",alternateQuote:'"',description:"singlequote"},backtick:{quote:"`",alternateQuote:'"',description:"backtick"}},n=new RegExp(String.raw`(^|[^\\])(\\\\)*[${Array.from(a.LINEBREAKS).join("")}]`,"u");e.double.convert=e.single.convert=e.backtick.convert=function(t){const c=this.quote,p=t[0];return c===p?t:c+t.slice(1,-1).replace(/\\(\$\{|\r\n?|\n|.)|["'`]|\$\{|(\r\n?|\n)/gu,(u,r,h)=>r===p||p==="`"&&r==="${"?r:u===c||c==="`"&&u==="${"?`\\${u}`:h&&p==="`"?"\\n":u)+c};const o="avoid-escape";return hf={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"quotes",url:"https://eslint.style/rules/js/quotes"}}]},type:"layout",docs:{description:"Enforce the consistent use of either backticks, double, or single quotes",recommended:!1,url:"https://eslint.org/docs/latest/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(t){const c=t.options[0],p=e[c||"double"],u=t.options[1],r=u&&u.allowTemplateLiterals===!0,h=t.sourceCode;let i=u&&u.avoidEscape===!0;u===o&&(i=!0);function f(g){return g.parent.type==="JSXAttribute"||g.parent.type==="JSXElement"||g.parent.type==="JSXFragment"}function m(g){return g.type==="ExpressionStatement"&&g.expression.type==="Literal"&&typeof g.expression.value=="string"&&!a.isParenthesised(h,g.expression)}function s(g){if(!a.isTopLevelExpressionStatement(g.parent))return!1;const v=g.parent.parent;for(let S=0;S<v.body.length;++S){const b=v.body[S];if(b===g.parent)return!0;if(!m(b))break}return!1}function l(g){const v=g.parent;switch(v.type){case"ExpressionStatement":return!a.isParenthesised(h,g)&&s(g);case"Property":case"PropertyDefinition":case"MethodDefinition":return v.key===g&&!v.computed;case"ImportDeclaration":case"ExportNamedDeclaration":return v.source===g;case"ExportAllDeclaration":return v.exported===g||v.source===g;case"ImportSpecifier":return v.imported===g;case"ExportSpecifier":return v.local===g||v.exported===g;default:return!1}}function d(g){return!!(g.parent.type==="TaggedTemplateExpression"&&g===g.parent.quasi||g.expressions.length>0||g.quasis.length>=1&&n.test(g.quasis[0].value.raw))}return{Literal(g){const v=g.value,S=g.raw;if(p&&typeof v=="string"){let b=c==="backtick"&&l(g)||f(g)||a.isSurroundedBy(S,p.quote);!b&&i&&(b=a.isSurroundedBy(S,p.alternateQuote)&&S.includes(p.quote)),b||t.report({node:g,messageId:"wrongQuotes",data:{description:p.description},fix(C){return c==="backtick"&&a.hasOctalOrNonOctalDecimalEscapeSequence(S)?null:C.replaceText(g,p.convert(g.raw))}})}},TemplateLiteral(g){r||c==="backtick"||d(g)||t.report({node:g,messageId:"wrongQuotes",data:{description:p.description},fix(v){return a.isTopLevelExpressionStatement(g.parent)&&!a.isParenthesised(h,g)?null:v.replaceText(g,p.convert(h.getText(g)))}})}}}},hf}var df,JS;function hI(){if(JS)return df;JS=1;const a=Me(),e="always",n="as-needed",o=new Set(Array.from({length:35},(r,h)=>h+2));function t(r){return r.defs.length>=1}function c(r){return r.type==="MemberExpression"&&!r.computed&&r.property.type==="Identifier"&&r.property.name==="parseInt"}function p(r){return!(r.type==="Literal"&&!o.has(r.value)||r.type==="Identifier"&&r.name==="undefined")}function u(r){return r.type==="Literal"&&r.value===10}return df={meta:{type:"suggestion",defaultOptions:[e],docs:{description:"Enforce the consistent use of the radix argument when using `parseInt()`",recommended:!1,url:"https://eslint.org/docs/latest/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(r){const[h]=r.options,i=r.sourceCode;function f(m){const s=m.arguments;switch(s.length){case 0:r.report({node:m,messageId:"missingParameters"});break;case 1:h===e&&r.report({node:m,messageId:"missingRadix",suggest:[{messageId:"addRadixParameter10",fix(l){const d=i.getTokens(m),g=d.at(-1),v=d.at(-2),S=v.type==="Punctuator"&&v.value===",";return l.insertTextBefore(g,S?" 10,":", 10")}}]});break;default:h===n&&u(s[1])?r.report({node:m,messageId:"redundantRadix"}):p(s[1])||r.report({node:m,messageId:"invalidRadix"});break}}return{"Program:exit"(m){const s=i.getScope(m);let l;l=a.getVariableByName(s,"parseInt"),l&&!t(l)&&l.references.forEach(d=>{const g=d.identifier;a.isCallee(g)&&f(g.parent)}),l=a.getVariableByName(s,"Number"),l&&!t(l)&&l.references.forEach(d=>{const g=d.identifier.parent,v=g.parent.type==="ChainExpression"?g.parent:g;c(g)&&a.isCallee(v)&&f(v.parent)})}}}},df}var gf,YS;function dI(){if(YS)return gf;YS=1;function a(t,c=new Map){for(const p of t.references)p.resolved!==null&&c.set(p.identifier,p);for(const p of t.childScopes)p.type!=="function"&&a(p,c);return c}function e(t){if(t.writeExpr)return t.writeExpr;let c=t.identifier;for(;c;){const p=c.parent.type;if(p==="AssignmentExpression"&&c.parent.left===c)return c.parent.right;if(p==="MemberExpression"&&c.parent.object===c){c=c.parent;continue}break}return null}function n(t,c){if(!t||c&&t.defs.some(u=>u.type==="Parameter"))return!1;const p=t.scope.variableScope;return t.references.every(u=>u.from.variableScope===p)}class o{constructor(){this.info=new WeakMap}initialize(c){const p=new Set,u=new Set;for(const r of c.prevSegments){const h=this.info.get(r);h&&(h.outdatedReadVariables.forEach(Set.prototype.add,p),h.freshReadVariables.forEach(Set.prototype.add,u))}this.info.set(c,{outdatedReadVariables:p,freshReadVariables:u})}markAsRead(c,p){for(const u of c){const r=this.info.get(u);r&&(r.freshReadVariables.add(p),r.outdatedReadVariables.delete(p))}}makeOutdated(c){for(const p of c){const u=this.info.get(p);u&&(u.freshReadVariables.forEach(Set.prototype.add,u.outdatedReadVariables),u.freshReadVariables.clear())}}isOutdated(c,p){for(const u of c){const r=this.info.get(u);if(r&&r.outdatedReadVariables.has(p))return!0}return!1}}return gf={meta:{type:"problem",defaultOptions:[{allowProperties:!1}],docs:{description:"Disallow assignments that can lead to race conditions due to usage of `await` or `yield`",recommended:!1,url:"https://eslint.org/docs/latest/rules/require-atomic-updates"},fixable:null,schema:[{type:"object",properties:{allowProperties:{type:"boolean"}},additionalProperties:!1}],messages:{nonAtomicUpdate:"Possible race condition: `{{value}}` might be reassigned based on an outdated value of `{{value}}`.",nonAtomicObjectUpdate:"Possible race condition: `{{value}}` might be assigned based on an outdated state of `{{object}}`."}},create(t){const[{allowProperties:c}]=t.options,p=t.sourceCode,u=new Map,r=new o;let h=null;return{onCodePathStart(i,f){const m=p.getScope(f),s=m.type==="function"&&(m.block.async||m.block.generator);h={upper:h,codePath:i,referenceMap:s?a(m):null,currentSegments:new Set}},onCodePathEnd(){h=h.upper},onCodePathSegmentStart(i){r.initialize(i),h.currentSegments.add(i)},onUnreachableCodePathSegmentStart(i){h.currentSegments.add(i)},onUnreachableCodePathSegmentEnd(i){h.currentSegments.delete(i)},onCodePathSegmentEnd(i){h.currentSegments.delete(i)},Identifier(i){const{referenceMap:f}=h,m=f&&f.get(i);if(!m)return;const s=m.resolved,l=e(m),d=m.identifier.parent.type==="MemberExpression";if(m.isRead()&&!(l&&l.parent.operator==="=")&&r.markAsRead(h.currentSegments,s),l&&l.parent.right===l&&!n(s,d)){let g=u.get(l);g||(g=[],u.set(l,g)),g.push(m)}},":expression:exit"(i){if(!h.referenceMap)return;(i.type==="AwaitExpression"||i.type==="YieldExpression")&&r.makeOutdated(h.currentSegments);const f=u.get(i);if(f){u.delete(i);for(const m of f){const s=m.resolved;r.isOutdated(h.currentSegments,s)&&(i.parent.left===m.identifier?t.report({node:i.parent,messageId:"nonAtomicUpdate",data:{value:s.name}}):c||t.report({node:i.parent,messageId:"nonAtomicObjectUpdate",data:{value:p.getText(i.parent.left),object:s.name}}))}}}}}},gf}var yf,QS;function gI(){if(QS)return yf;QS=1;const a=Me();function e(n){return n[0].toUpperCase()+n.slice(1)}return yf={meta:{type:"suggestion",docs:{description:"Disallow async functions which have no `await` expression",recommended:!1,url:"https://eslint.org/docs/latest/rules/require-await"},schema:[],messages:{missingAwait:"{{name}} has no 'await' expression.",removeAsync:"Remove 'async'."},hasSuggestions:!0},create(n){const o=n.sourceCode;let t=null;function c(){t={upper:t,hasAwait:!1}}function p(u){if(!u.generator&&u.async&&!t.hasAwait&&!a.isEmptyFunction(u)){const r=u.parent.type==="MethodDefinition"&&u.parent.value===u||u.parent.type==="Property"&&u.parent.method&&u.parent.value===u?u.parent:u,h=o.getFirstToken(r,s=>s.value==="async"),i=[h.range[0],o.getTokenAfter(h,{includeComments:!0}).range[0]],f=o.getTokenAfter(h),m=f.type==="Punctuator"&&(f.value==="["||f.value==="(")&&(r.type==="MethodDefinition"||a.isStartOfExpressionStatement(r))&&a.needsPrecedingSemicolon(o,r);n.report({node:u,loc:a.getFunctionHeadLoc(u,o),messageId:"missingAwait",data:{name:e(a.getFunctionNameWithKind(u))},suggest:[{messageId:"removeAsync",fix:s=>s.replaceTextRange(i,m?";":"")}]})}t=t.upper}return{FunctionDeclaration:c,FunctionExpression:c,ArrowFunctionExpression:c,"FunctionDeclaration:exit":p,"FunctionExpression:exit":p,"ArrowFunctionExpression:exit":p,AwaitExpression(){t&&(t.hasAwait=!0)},ForOfStatement(u){t&&u.await&&(t.hasAwait=!0)}}}},yf}var vf,ZS;function yI(){if(ZS)return vf;ZS=1;const{CALL:a,CONSTRUCT:e,ReferenceTracker:n,getStringIfConstant:o}=$t(),t=Me(),{isValidWithUnicodeFlag:c}=tu();function p(u,r){let h;return u==="v"?h=!r.includes("v"):u==="u"?h=!r.includes("u"):h=!r.includes("u")&&!r.includes("v"),h}return vf={meta:{type:"suggestion",docs:{description:"Enforce the use of `u` or `v` flag on regular expressions",recommended:!1,url:"https://eslint.org/docs/latest/rules/require-unicode-regexp"},hasSuggestions:!0,messages:{addUFlag:"Add the 'u' flag.",addVFlag:"Add the 'v' flag.",requireUFlag:"Use the 'u' flag.",requireVFlag:"Use the 'v' flag."},schema:[{type:"object",properties:{requireFlag:{enum:["u","v"]}},additionalProperties:!1}]},create(u){const r=u.sourceCode,{requireFlag:h}=u.options[0]??{};return{"Literal[regex]"(i){const f=i.regex.flags||"";p(h,f)&&u.report({messageId:h==="v"?"requireVFlag":"requireUFlag",node:i,suggest:c(u.languageOptions.ecmaVersion,i.regex.pattern,h)?[{fix(s){const l=h??"u",d=r.getText(i),g=d.lastIndexOf("/");if(h){const v=h==="u"?"v":"u";if(d.includes(v,g))return s.replaceText(i,d.slice(0,g)+d.slice(g).replace(v,h))}return s.insertTextAfter(i,l)},messageId:h==="v"?"addVFlag":"addUFlag"}]:null})},Program(i){const f=r.getScope(i),m=new n(f),s={RegExp:{[a]:!0,[e]:!0}};for(const{node:l}of m.iterateGlobalReferences(s)){const[d,g]=l.arguments;if(d&&d.type==="SpreadElement")continue;const v=o(d,f),S=o(g,f);let b=!g;typeof S=="string"&&(b=p(h,S)),b&&u.report({messageId:h==="v"?"requireVFlag":"requireUFlag",node:l,suggest:typeof v=="string"&&c(u.languageOptions.ecmaVersion,v,h)?[{fix(C){const w=h??"u";if(g){if(g.type==="Literal"&&typeof g.value=="string"||g.type==="TemplateLiteral"){const k=r.getText(g),x=h==="u"?"v":"u";return S.includes(x)?g.type==="Literal"&&g.raw.includes("\\")||g.type==="TemplateLiteral"&&(g.expressions.length||g.quasis.some(({value:{raw:A}})=>A.includes("\\")))?null:C.replaceText(g,k.replace(x,w)):C.replaceText(g,[k.slice(0,k.length-1),k.slice(k.length-1)].join(w))}return null}const E=r.getLastToken(l,{skip:1});return C.insertTextAfter(E,t.isCommaToken(E)?` "${w}",`:`, "${w}"`)},messageId:h==="v"?"addVFlag":"addUFlag"}]:null})}}}}},vf}var Ef,eb;function vI(){return eb||(eb=1,Ef={meta:{type:"suggestion",docs:{description:"Require generator functions to contain `yield`",recommended:!0,url:"https://eslint.org/docs/latest/rules/require-yield"},schema:[],messages:{missingYield:"This generator function does not have 'yield'."}},create(a){const e=[];function n(t){t.generator&&e.push(0)}function o(t){if(!t.generator)return;e.pop()===0&&t.body.body.length>0&&a.report({node:t,messageId:"missingYield"})}return{FunctionDeclaration:n,"FunctionDeclaration:exit":o,FunctionExpression:n,"FunctionExpression:exit":o,YieldExpression(){e.length>0&&(e[e.length-1]+=1)}}}}),Ef}var Sf,tb;function EI(){return tb||(tb=1,Sf={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"rest-spread-spacing",url:"https://eslint.style/rules/js/rest-spread-spacing"}}]},type:"layout",docs:{description:"Enforce spacing between rest and spread operators and their expressions",recommended:!1,url:"https://eslint.org/docs/latest/rules/rest-spread-spacing"},fixable:"whitespace",schema:[{enum:["always","never"]}],messages:{unexpectedWhitespace:"Unexpected whitespace after {{type}} operator.",expectedWhitespace:"Expected whitespace after {{type}} operator."}},create(a){const e=a.sourceCode,n=a.options[0]==="always";function o(t){const c=e.getFirstToken(t),p=e.getTokenAfter(c),u=e.isSpaceBetweenTokens(c,p);let r;switch(t.type){case"SpreadElement":r="spread",t.parent.type==="ObjectExpression"&&(r+=" property");break;case"RestElement":r="rest",t.parent.type==="ObjectPattern"&&(r+=" property");break;case"ExperimentalSpreadProperty":r="spread property";break;case"ExperimentalRestProperty":r="rest property";break;default:return}n&&!u?a.report({node:t,loc:c.loc,messageId:"expectedWhitespace",data:{type:r},fix(h){return h.replaceTextRange([c.range[1],p.range[0]]," ")}}):!n&&u&&a.report({node:t,loc:{start:c.loc.end,end:p.loc.start},messageId:"unexpectedWhitespace",data:{type:r},fix(h){return h.removeRange([c.range[1],p.range[0]])}})}return{SpreadElement:o,RestElement:o,ExperimentalSpreadProperty:o,ExperimentalRestProperty:o}}}),Sf}var bf,rb;function SI(){if(rb)return bf;rb=1;const a=fn(),e=Me();return bf={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"semi",url:"https://eslint.style/rules/js/semi"}}]},type:"layout",docs:{description:"Require or disallow semicolons instead of ASI",recommended:!1,url:"https://eslint.org/docs/latest/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"},omitLastInOneLineClassBody:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2}]},messages:{missingSemi:"Missing semicolon.",extraSemi:"Extra semicolon."}},create(n){const o=/^[-[(/+`]/u,t=new Set(["get","set","static"]),c=new Set(["*","in","instanceof"]),p=n.options[1],u=n.options[0]==="never",r=!!(p&&p.omitLastInOneLineBlock),h=!!(p&&p.omitLastInOneLineClassBody),i=p&&p.beforeStatementContinuationChars||"any",f=n.sourceCode;function m(x,A){const I=f.getLastToken(x);let B,M,P;A?(B="extraSemi",P=I.loc,M=function(D){return new a(D,f).retainSurroundingTokens(I).remove(I)}):(B="missingSemi",P={start:I.loc.end,end:e.getNextLocation(f,I.loc.end)},M=function(D){return D.insertTextAfter(I,";")}),n.report({node:x,loc:P,messageId:B,fix:M})}function s(x){const A=f.getTokenAfter(x);return!A||e.isClosingBraceToken(A)||e.isSemicolonToken(A)}function l(x){if(!e.isClosingBraceToken(x))return!1;const A=f.getNodeByRangeIndex(x.range[0]);return A.type==="BlockStatement"&&A.parent.type==="ArrowFunctionExpression"}function d(x){if(x.type!=="PropertyDefinition")return!1;if(!x.computed&&x.key.type==="Identifier"&&t.has(x.key.name)&&!(x.static&&x.key.name==="static")&&!x.value)return!0;const I=f.getTokenAfter(x);return c.has(I.value)}function g(x){const A=f.getLastToken(x,1),I=f.getTokenAfter(x);return!!I&&e.isTokenOnSameLine(A,I)}function v(x){const A=x.type;return A==="DoWhileStatement"||A==="BreakStatement"||A==="ContinueStatement"||A==="DebuggerStatement"||A==="ImportDeclaration"||A==="ExportAllDeclaration"?!1:A==="ReturnStatement"?!!x.argument:A==="ExportNamedDeclaration"?!!x.declaration:!l(f.getLastToken(x,1))}function S(x){return!!x&&o.test(x.value)&&x.value!=="++"&&x.value!=="--"}function b(x){return s(f.getLastToken(x))?!0:d(x)||g(x)?!1:x.type!=="PropertyDefinition"&&i==="never"&&!v(x)||!S(f.getTokenAfter(x))}function C(x){const A=x.parent,I=f.getTokenAfter(x);return!I||I.value!=="}"?!1:A.type==="BlockStatement"?A.loc.start.line===A.loc.end.line:A.type==="StaticBlock"?f.getFirstToken(A,{skip:1}).loc.start.line===A.loc.end.line:!1}function w(x){const A=x.parent,I=f.getTokenAfter(x);return!I||I.value!=="}"?!1:A.type==="ClassBody"?A.loc.start.line===A.loc.end.line:!1}function E(x){const A=e.isSemicolonToken(f.getLastToken(x));if(u)A&&b(x)?m(x,!0):!A&&i==="always"&&x.type!=="PropertyDefinition"&&S(f.getTokenAfter(x))&&m(x);else{const I=r&&C(x),B=h&&w(x),M=I||B;A&&M?m(x,!0):!A&&!M&&m(x)}}function k(x){const A=x.parent;(A.type!=="ForStatement"||A.init!==x)&&(!/^For(?:In|Of)Statement/u.test(A.type)||A.left!==x)&&E(x)}return{VariableDeclaration:k,ExpressionStatement:E,ReturnStatement:E,ThrowStatement:E,DoWhileStatement:E,DebuggerStatement:E,BreakStatement:E,ContinueStatement:E,ImportDeclaration:E,ExportAllDeclaration:E,ExportNamedDeclaration(x){x.declaration||E(x)},ExportDefaultDeclaration(x){/(?:Class|Function)Declaration/u.test(x.declaration.type)||E(x)},PropertyDefinition:E}}},bf}var xf,nb;function bI(){if(nb)return xf;nb=1;const a=Me();return xf={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"semi-spacing",url:"https://eslint.style/rules/js/semi-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing before and after semicolons",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.options[0],o=e.sourceCode;let t=!1,c=!0;typeof n=="object"&&(t=n.before,c=n.after);function p(s){const l=o.getTokenBefore(s);return l&&a.isTokenOnSameLine(l,s)&&o.isSpaceBetweenTokens(l,s)}function u(s){const l=o.getTokenAfter(s);return l&&a.isTokenOnSameLine(s,l)&&o.isSpaceBetweenTokens(s,l)}function r(s){const l=o.getTokenAfter(s);return!(l&&a.isTokenOnSameLine(s,l))}function h(s){const l=o.getTokenBefore(s);return!(l&&a.isTokenOnSameLine(s,l))}function i(s){const l=o.getTokenAfter(s);return l&&a.isClosingBraceToken(l)||a.isClosingParenToken(l)}function f(s,l){if(a.isSemicolonToken(s)){if(p(s)){if(!t){const d=o.getTokenBefore(s),g={start:d.loc.end,end:s.loc.start};e.report({node:l,loc:g,messageId:"unexpectedWhitespaceBefore",fix(v){return v.removeRange([d.range[1],s.range[0]])}})}}else if(t){const d=s.loc;e.report({node:l,loc:d,messageId:"missingWhitespaceBefore",fix(g){return g.insertTextBefore(s," ")}})}if(!h(s)&&!r(s)&&!i(s)){if(u(s)){if(!c){const d=o.getTokenAfter(s),g={start:s.loc.end,end:d.loc.start};e.report({node:l,loc:g,messageId:"unexpectedWhitespaceAfter",fix(v){return v.removeRange([s.range[1],d.range[0]])}})}}else if(c){const d=s.loc;e.report({node:l,loc:d,messageId:"missingWhitespaceAfter",fix(g){return g.insertTextAfter(s," ")}})}}}}function m(s){const l=o.getLastToken(s);f(l,s)}return{VariableDeclaration:m,ExpressionStatement:m,BreakStatement:m,ContinueStatement:m,DebuggerStatement:m,DoWhileStatement:m,ReturnStatement:m,ThrowStatement:m,ImportDeclaration:m,ExportNamedDeclaration:m,ExportAllDeclaration:m,ExportDefaultDeclaration:m,ForStatement(s){s.init&&f(o.getTokenAfter(s.init),s),s.test&&f(o.getTokenAfter(s.test),s)},PropertyDefinition:m}}},xf}var Cf,sb;function xI(){if(sb)return Cf;sb=1;const a=Me(),e=["BreakStatement","ContinueStatement","DebuggerStatement","DoWhileStatement","ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ExpressionStatement","ImportDeclaration","ReturnStatement","ThrowStatement","VariableDeclaration","PropertyDefinition"].join(",");function n(t){const c=t.type;return c==="BlockStatement"||c==="StaticBlock"||c==="Program"||c==="ClassBody"?t.body:c==="SwitchCase"?t.consequent:null}function o(t){const c=t.parent.type;if(c==="IfStatement"&&t.parent.consequent===t&&t.parent.alternate||c==="DoWhileStatement")return!0;const p=n(t.parent);return p!==null&&p.at(-1)===t}return Cf={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"semi-style",url:"https://eslint.style/rules/js/semi-style"}}]},type:"layout",docs:{description:"Enforce location of semicolons",recommended:!1,url:"https://eslint.org/docs/latest/rules/semi-style"},schema:[{enum:["last","first"]}],fixable:"whitespace",messages:{expectedSemiColon:"Expected this semicolon to be at {{pos}}."}},create(t){const c=t.sourceCode,p=t.options[0]||"last";function u(r,h){const i=c.getTokenBefore(r),f=c.getTokenAfter(r),m=!i||a.isTokenOnSameLine(i,r),s=!f||a.isTokenOnSameLine(r,f);(h==="last"&&!m||h==="first"&&!s)&&t.report({loc:r.loc,messageId:"expectedSemiColon",data:{pos:h==="last"?"the end of the previous line":"the beginning of the next line"},fix(l){if(i&&f&&c.commentsExistBetween(i,f))return null;const d=i?i.range[1]:r.range[0],g=f?f.range[0]:r.range[1],v=h==="last"?`;
111
- `:`
112
- ;`;return l.replaceTextRange([d,g],v)}})}return{[e](r){if(p==="first"&&o(r))return;const h=c.getLastToken(r);a.isSemicolonToken(h)&&u(h,p)},ForStatement(r){const h=r.init&&c.getTokenAfter(r.init,a.isSemicolonToken),i=r.test&&c.getTokenAfter(r.test,a.isSemicolonToken);h&&u(h,"last"),i&&u(i,"last")}}}},Cf}var wf,ab;function CI(){return ab||(ab=1,wf={meta:{type:"suggestion",defaultOptions:[{allowSeparatedGroups:!1,ignoreCase:!1,ignoreDeclarationSort:!1,ignoreMemberSort:!1,memberSyntaxSortOrder:["none","all","multiple","single"]}],docs:{description:"Enforce sorted `import` declarations within modules",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/sort-imports"},schema:[{type:"object",properties:{ignoreCase:{type:"boolean"},memberSyntaxSortOrder:{type:"array",items:{enum:["none","all","multiple","single"]},uniqueItems:!0,minItems:4,maxItems:4},ignoreDeclarationSort:{type:"boolean"},ignoreMemberSort:{type:"boolean"},allowSeparatedGroups:{type:"boolean"}},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(a){const[{ignoreCase:e,ignoreDeclarationSort:n,ignoreMemberSort:o,memberSyntaxSortOrder:t,allowSeparatedGroups:c}]=a.options,p=a.sourceCode;let u=null;function r(m){return m.specifiers.length===0?"none":m.specifiers[0].type==="ImportNamespaceSpecifier"?"all":m.specifiers.length===1?"single":"multiple"}function h(m){return t.indexOf(r(m))}function i(m){return m.specifiers[0]?m.specifiers[0].local.name:null}function f(m,s){return Math.max(s.loc.start.line-m.loc.end.line-1,0)}return{ImportDeclaration(m){if(!n){if(u&&c&&f(u,m)>0&&(u=null),u){const s=h(m),l=h(u);let d=i(m),g=i(u);e&&(g=g&&g.toLowerCase(),d=d&&d.toLowerCase()),s!==l?s<l&&a.report({node:m,messageId:"unexpectedSyntaxOrder",data:{syntaxA:t[s],syntaxB:t[l]}}):g&&d&&d<g&&a.report({node:m,messageId:"sortImportsAlphabetically"})}u=m}if(!o){const s=m.specifiers.filter(g=>g.type==="ImportSpecifier"),l=e?g=>g.local.name.toLowerCase():g=>g.local.name,d=s.map(l).findIndex((g,v,S)=>S[v-1]>g);d!==-1&&a.report({node:s[d],messageId:"sortMembersAlphabetically",data:{memberName:s[d].local.name},fix(g){return s.some(v=>p.getCommentsBefore(v).length||p.getCommentsAfter(v).length)?null:g.replaceTextRange([s[0].range[0],s.at(-1).range[1]],s.slice().sort((v,S)=>{const b=l(v),C=l(S);return b>C?1:-1}).reduce((v,S,b)=>{const C=b===s.length-1?"":p.getText().slice(s[b].range[1],s[b+1].range[0]);return v+p.getText(S)+C},""))}})}}}}}),wf}var Af={exports:{}},ib;function wI(){if(ib)return Af.exports;ib=1;/*
113
- * @version 1.4.0
114
- * @date 2015-10-26
115
- * @stability 3 - Stable
116
- * @author Lauri Rooden (https://github.com/litejs/natural-compare-lite)
117
- * @license MIT License
118
- */var a=function(e,n){var o,t,c=1,p=0,u=0,r=String.alphabet;function h(i,f,m){if(m){for(o=f;m=h(i,o),m<76&&m>65;)++o;return+i.slice(f-1,o)}return m=r&&r.indexOf(i.charAt(f)),m>-1?m+76:(m=i.charCodeAt(f)||0,m<45||m>127?m:m<46?65:m<48?m-1:m<58?m+18:m<65?m-11:m<91?m+11:m<97?m-37:m<123?m+5:m-63)}if((e+="")!=(n+="")){for(;c;)if(t=h(e,p++),c=h(n,u++),t<76&&c<76&&t>66&&c>66&&(t=h(e,p,p),c=h(n,u,p=o),u=o),t!=c)return t<c?-1:1}return 0};try{Af.exports=a}catch{String.naturalCompare=a}return Af.exports}var Tf,ob;function AI(){if(ob)return Tf;ob=1;const a=Me(),e=wI();function n(t){const c=a.getStaticPropertyName(t);return c!==null?c:t.key.name||null}const o={asc(t,c){return t<=c},ascI(t,c){return t.toLowerCase()<=c.toLowerCase()},ascN(t,c){return e(t,c)<=0},ascIN(t,c){return e(t.toLowerCase(),c.toLowerCase())<=0},desc(t,c){return o.asc(c,t)},descI(t,c){return o.ascI(c,t)},descN(t,c){return o.ascN(c,t)},descIN(t,c){return o.ascIN(c,t)}};return Tf={meta:{type:"suggestion",defaultOptions:["asc",{allowLineSeparatedGroups:!1,caseSensitive:!0,ignoreComputedKeys:!1,minKeys:2,natural:!1}],docs:{description:"Require object keys to be sorted",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/sort-keys"},schema:[{enum:["asc","desc"]},{type:"object",properties:{caseSensitive:{type:"boolean"},natural:{type:"boolean"},minKeys:{type:"integer",minimum:2},allowLineSeparatedGroups:{type:"boolean"},ignoreComputedKeys:{type:"boolean"}},additionalProperties:!1}],messages:{sortKeys:"Expected object keys to be in {{natural}}{{insensitive}}{{order}}ending order. '{{thisName}}' should be before '{{prevName}}'."}},create(t){const[c,{caseSensitive:p,natural:u,minKeys:r,allowLineSeparatedGroups:h,ignoreComputedKeys:i}]=t.options,f=!p,m=o[c+(f?"I":"")+(u?"N":"")];let s=null;const l=t.sourceCode;return{ObjectExpression(d){s={upper:s,prevNode:null,prevBlankLine:!1,prevName:null,numKeys:d.properties.length}},"ObjectExpression:exit"(){s=s.upper},SpreadElement(d){d.parent.type==="ObjectExpression"&&(s.prevName=null)},Property(d){if(d.parent.type==="ObjectPattern")return;if(i&&d.computed){s.prevName=null;return}const g=s.prevName,v=s.numKeys,S=n(d),b=s.prevNode&&l.getTokensBetween(s.prevNode,d,{includeComments:!0});let C=s.prevBlankLine;if(b&&(b.forEach((w,E)=>{const k=b[E-1];k&&w.loc.start.line-k.loc.end.line>1&&(C=!0)}),!C&&d.loc.start.line-b.at(-1).loc.end.line>1&&(C=!0),!C&&b[0].loc.start.line-s.prevNode.loc.end.line>1&&(C=!0)),s.prevNode=d,S!==null&&(s.prevName=S),h&&C){s.prevBlankLine=S===null;return}g===null||S===null||v<r||m(g,S)||t.report({node:d,loc:d.key.loc,messageId:"sortKeys",data:{thisName:S,prevName:g,order:c,insensitive:f?"insensitive ":"",natural:u?"natural ":""}})}}}},Tf}var kf,lb;function TI(){return lb||(lb=1,kf={meta:{type:"suggestion",defaultOptions:[{ignoreCase:!1}],docs:{description:"Require variables within the same declaration block to be sorted",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/sort-vars"},schema:[{type:"object",properties:{ignoreCase:{type:"boolean"}},additionalProperties:!1}],fixable:"code",messages:{sortVars:"Variables within the same declaration block should be sorted alphabetically."}},create(a){const[{ignoreCase:e}]=a.options,n=a.sourceCode;return{VariableDeclaration(o){const t=o.declarations.filter(r=>r.id.type==="Identifier"),c=e?r=>r.id.name.toLowerCase():r=>r.id.name,p=t.some(r=>r.init!==null&&r.init.type!=="Literal");let u=!1;t.slice(1).reduce((r,h)=>{const i=c(r);return c(h)<i?(a.report({node:h,messageId:"sortVars",fix(m){return p||u?null:m.replaceTextRange([t[0].range[0],t.at(-1).range[1]],t.slice().sort((s,l)=>{const d=c(s),g=c(l);return d>g?1:-1}).reduce((s,l,d)=>{const g=d===t.length-1?"":n.getText().slice(t[d].range[1],t[d+1].range[0]);return s+n.getText(l)+g},""))}}),u=!0,r):h},t[0])}}}}),kf}var Df,ub;function kI(){if(ub)return Df;ub=1;const a=Me();function e(n){const o=n.parent;return n.type==="BlockStatement"&&a.isFunction(o)&&o.body===n}return Df={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"space-before-blocks",url:"https://eslint.style/rules/js/space-before-blocks"}}]},type:"layout",docs:{description:"Enforce consistent spacing before blocks",recommended:!1,url:"https://eslint.org/docs/latest/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(n){const o=n.options[0],t=n.sourceCode;let c=!0,p=!0,u=!0,r=!1,h=!1,i=!1;typeof o=="object"?(c=o.functions==="always",p=o.keywords==="always",u=o.classes==="always",r=o.functions==="never",h=o.keywords==="never",i=o.classes==="never"):o==="never"&&(c=!1,p=!1,u=!1,r=!0,h=!0,i=!0);function f(l,d){return a.isArrowToken(l)||a.isKeywordToken(l)&&!e(d)||a.isColonToken(l)&&d.parent&&d.parent.type==="SwitchCase"&&l===a.getSwitchCaseColonToken(d.parent,t)}function m(l){const d=t.getTokenBefore(l);if(d&&!f(d,l)&&a.isTokenOnSameLine(d,l)){const g=t.isSpaceBetweenTokens(d,l);let v,S;e(l)?(v=c,S=r):l.type==="ClassBody"?(v=u,S=i):(v=p,S=h),v&&!g?n.report({node:l,messageId:"missingSpace",fix(b){return b.insertTextBefore(l," ")}}):S&&g&&n.report({node:l,messageId:"unexpectedSpace",fix(b){return b.removeRange([d.range[1],l.range[0]])}})}}function s(l){const d=l.cases;let g;d.length>0?g=t.getTokenBefore(d[0]):g=t.getLastToken(l,1),m(g)}return{BlockStatement:m,ClassBody:m,SwitchStatement:s}}},Df}var If,cb;function DI(){if(cb)return If;cb=1;const a=Me();return If={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"space-before-function-paren",url:"https://eslint.style/rules/js/space-before-function-paren"}}]},type:"layout",docs:{description:"Enforce consistent spacing before `function` definition opening parenthesis",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.sourceCode,o=typeof e.options[0]=="string"?e.options[0]:"always",t=typeof e.options[0]=="object"?e.options[0]:{};function c(r){if(r.id)return!0;const h=r.parent;return h.type==="MethodDefinition"||h.type==="Property"&&(h.kind==="get"||h.kind==="set"||h.method)}function p(r){if(r.type==="ArrowFunctionExpression"){if(r.async&&a.isOpeningParenToken(n.getFirstToken(r,{skip:1})))return t.asyncArrow||o}else{if(c(r))return t.named||o;if(!r.generator)return t.anonymous||o}return"ignore"}function u(r){const h=p(r);if(h==="ignore")return;const i=n.getFirstToken(r,a.isOpeningParenToken),f=n.getTokenBefore(i),m=n.isSpaceBetweenTokens(f,i);m&&h==="never"?e.report({node:r,loc:{start:f.loc.end,end:i.loc.start},messageId:"unexpectedSpace",fix(s){const l=n.getCommentsBefore(i);return l.some(d=>d.type==="Line")?null:s.replaceTextRange([f.range[1],i.range[0]],l.reduce((d,g)=>d+n.getText(g),""))}}):!m&&h==="always"&&e.report({node:r,loc:i.loc,messageId:"missingSpace",fix:s=>s.insertTextAfter(f," ")})}return{ArrowFunctionExpression:u,FunctionDeclaration:u,FunctionExpression:u}}},If}var Pf,fb;function II(){if(fb)return Pf;fb=1;const a=Me();return Pf={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"space-in-parens",url:"https://eslint.style/rules/js/space-in-parens"}}]},type:"layout",docs:{description:"Enforce consistent spacing inside parentheses",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.options[0]==="always",o=e.options[1]&&e.options[1].exceptions||[],t={};let c;o.length&&(t.braceException=o.includes("{}"),t.bracketException=o.includes("[]"),t.parenException=o.includes("()"),t.empty=o.includes("empty"));function p(){const l=[],d=[];return t.braceException&&(l.push("{"),d.push("}")),t.bracketException&&(l.push("["),d.push("]")),t.parenException&&(l.push("("),d.push(")")),t.empty&&(l.push(")"),d.push("(")),{openers:l,closers:d}}const u=e.sourceCode;function r(l){return c.openers.includes(l.value)}function h(l){return c.closers.includes(l.value)}function i(l,d){return u.isSpaceBetweenTokens(l,d)||!t.empty&&a.isClosingParenToken(d)?!1:n?!r(d):r(d)}function f(l,d){return!a.isTokenOnSameLine(l,d)||d.type==="Line"||!u.isSpaceBetweenTokens(l,d)?!1:n?r(d):!r(d)}function m(l,d){return u.isSpaceBetweenTokens(l,d)||!t.empty&&a.isOpeningParenToken(l)?!1:n?!h(l):h(l)}function s(l,d){return!a.isTokenOnSameLine(l,d)||!u.isSpaceBetweenTokens(l,d)?!1:n?h(l):!h(l)}return{Program:function(d){c=p();const g=u.tokensAndComments;g.forEach((v,S)=>{const b=g[S-1],C=g[S+1];!a.isOpeningParenToken(v)&&!a.isClosingParenToken(v)||(v.value==="("&&i(v,C)&&e.report({node:d,loc:v.loc,messageId:"missingOpeningSpace",fix(w){return w.insertTextAfter(v," ")}}),v.value==="("&&f(v,C)&&e.report({node:d,loc:{start:v.loc.end,end:C.loc.start},messageId:"rejectedOpeningSpace",fix(w){return w.removeRange([v.range[1],C.range[0]])}}),v.value===")"&&m(b,v)&&e.report({node:d,loc:v.loc,messageId:"missingClosingSpace",fix(w){return w.insertTextBefore(v," ")}}),v.value===")"&&s(b,v)&&e.report({node:d,loc:{start:b.loc.end,end:v.loc.start},messageId:"rejectedClosingSpace",fix(w){return w.removeRange([b.range[1],v.range[0]])}}))})}}}},Pf}var Ff,pb;function PI(){if(pb)return Ff;pb=1;const{isEqToken:a}=Me();return Ff={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"space-infix-ops",url:"https://eslint.style/rules/js/space-infix-ops"}}]},type:"layout",docs:{description:"Require spacing around infix operators",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.options[0]?e.options[0].int32Hint===!0:!1,o=e.sourceCode;function t(h,i,f){const m=o.getFirstTokenBetween(h,i,d=>d.value===f),s=o.getTokenBefore(m),l=o.getTokenAfter(m);return!o.isSpaceBetweenTokens(s,m)||!o.isSpaceBetweenTokens(m,l)?m:null}function c(h,i){e.report({node:h,loc:i.loc,messageId:"missingSpace",data:{operator:i.value},fix(f){const m=o.getTokenBefore(i),s=o.getTokenAfter(i);let l="";return i.range[0]-m.range[1]===0&&(l=" "),l+=i.value,s.range[0]-i.range[1]===0&&(l+=" "),f.replaceText(i,l)}})}function p(h){const i=h.left.typeAnnotation?h.left.typeAnnotation:h.left,f=h.right,m=h.operator||"=",s=t(i,f,m);s&&(n&&o.getText(h).endsWith("|0")||c(h,s))}function u(h){const i=t(h.test,h.consequent,"?"),f=t(h.consequent,h.alternate,":");i&&c(h,i),f&&c(h,f)}function r(h){const i=h.id.typeAnnotation?h.id.typeAnnotation:h.id,f=h.init;if(f){const m=t(i,f,"=");m&&c(h,m)}}return{AssignmentExpression:p,AssignmentPattern:p,BinaryExpression:p,LogicalExpression:p,ConditionalExpression:u,VariableDeclarator:r,PropertyDefinition(h){if(!h.value)return;const i=o.getTokenBefore(h.value,a),f=o.getTokenBefore(i),m=o.getTokenAfter(i);(!o.isSpaceBetweenTokens(f,i)||!o.isSpaceBetweenTokens(i,m))&&c(h,i)}}}},Ff}var Rf,mb;function FI(){if(mb)return Rf;mb=1;const a=Me();return Rf={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"space-unary-ops",url:"https://eslint.style/rules/js/space-unary-ops"}}]},type:"layout",docs:{description:"Enforce consistent spacing before or after unary operators",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.options[0]||{words:!0,nonwords:!1},o=e.sourceCode;function t(d){return d&&d.type==="UnaryExpression"&&d.argument.operator==="!"&&d.argument&&d.argument.type==="UnaryExpression"&&d.argument.operator==="!"}function c(d){return n.overrides&&Object.hasOwn(n.overrides,d)}function p(d){return n.overrides[d]}function u(d,g,v,S){v.range[0]===g.range[1]&&e.report({node:d,messageId:"wordOperator",data:{word:S},fix(b){return b.insertTextAfter(g," ")}})}function r(d,g,v,S){a.canTokensBeAdjacent(g,v)&&v.range[0]>g.range[1]&&e.report({node:d,messageId:"unexpectedAfterWord",data:{word:S},fix(b){return b.removeRange([g.range[1],v.range[0]])}})}function h(d,g,v,S){c(S)?p(S)?u(d,g,v,S):r(d,g,v,S):n.words?u(d,g,v,S):r(d,g,v,S)}function i(d){const g=o.getFirstTokens(d,3),v="yield";!d.argument||d.delegate||h(d,g[0],g[1],v)}function f(d){const g=o.getFirstTokens(d,3);h(d,g[0],g[1],"await")}function m(d,g,v){if(d.prefix){if(t(d))return;g.range[1]===v.range[0]&&e.report({node:d,messageId:"operator",data:{operator:g.value},fix(S){return S.insertTextAfter(g," ")}})}else g.range[1]===v.range[0]&&e.report({node:d,messageId:"beforeUnaryExpressions",data:{token:v.value},fix(S){return S.insertTextBefore(v," ")}})}function s(d,g,v){d.prefix?v.range[0]>g.range[1]&&e.report({node:d,messageId:"unexpectedAfter",data:{operator:g.value},fix(S){return a.canTokensBeAdjacent(g,v)?S.removeRange([g.range[1],v.range[0]]):null}}):v.range[0]>g.range[1]&&e.report({node:d,messageId:"unexpectedBefore",data:{operator:v.value},fix(S){return S.removeRange([g.range[1],v.range[0]])}})}function l(d){const g=d.type==="UpdateExpression"&&!d.prefix?o.getLastTokens(d,2):o.getFirstTokens(d,2),v=g[0],S=g[1];if((d.type==="NewExpression"||d.prefix)&&v.type==="Keyword"){h(d,v,S,v.value);return}const b=d.prefix?g[0].value:g[1].value;c(b)?p(b)?m(d,v,S):s(d,v,S):n.nonwords?m(d,v,S):s(d,v,S)}return{UnaryExpression:l,UpdateExpression:l,NewExpression:l,YieldExpression:i,AwaitExpression:f}}},Rf}var _f,hb;function RI(){if(hb)return _f;hb=1;const a=Un(),e=Me();function n(r){return`(?:${a(r)})`}function o(r){return`${n(r)}+`}function t(r){return r.includes("*")?r:r.concat("*")}function c(r){let h="";return r.length===0?h+="\\s":(h+="(?:\\s|",r.length===1?h+=o(r[0]):(h+="(?:",h+=r.map(o).join("|"),h+=")"),h+=`(?:$|[${Array.from(e.LINEBREAKS).join("")}]))`),h}function p(r,h){let i="^";return r.length===1?i+=n(r[0]):(i+="(?:",i+=r.map(n).join("|"),i+=")"),i+="?",i+=c(h),new RegExp(i,"u")}function u(r){const h=`^(${r.map(n).join("|")})?[ ]+`;return new RegExp(h,"u")}return _f={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"spaced-comment",url:"https://eslint.style/rules/js/spaced-comment"}}]},type:"suggestion",docs:{description:"Enforce consistent spacing after the `//` or `/*` in a comment",recommended:!1,url:"https://eslint.org/docs/latest/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(r){const h=r.sourceCode,i=r.options[0]!=="never",f=r.options[1]||{},m=f.block&&f.block.balanced,s=["block","line"].reduce((v,S)=>{const b=t(f[S]&&f[S].markers||f.markers||[]),C=f[S]&&f[S].exceptions||f.exceptions||[],w="[ ]+$";return v[S]={beginRegex:i?p(b,C):u(b),endRegex:m&&i?new RegExp(`${c(C)}$`,"u"):new RegExp(w,"u"),hasExceptions:C.length>0,captureMarker:new RegExp(`^(${b.map(n).join("|")})`,"u"),markers:new Set(b)},v},{});function l(v,S,b,C){const w=v.type.toLowerCase(),E=w==="block"?"/*":"//";r.report({node:v,fix(k){const x=v.range[0];let A=x+2;return i?(b&&(A+=b[0].length),k.insertTextAfterRange([x,A]," ")):(A+=b[0].length,k.replaceTextRange([x,A],E+(b[1]?b[1]:"")))},messageId:S,data:{refChar:C}})}function d(v,S,b){r.report({node:v,fix(C){if(i)return C.insertTextAfterRange([v.range[0],v.range[1]-2]," ");const w=v.range[1]-2,E=w-b[0].length;return C.replaceTextRange([E,w],"")},messageId:S})}function g(v){const S=v.type.toLowerCase(),b=s[S],C=S==="block"?"/*":"//";if(v.value.length===0||b.markers.has(v.value))return;const w=b.beginRegex.exec(v.value),E=b.endRegex.exec(v.value);if(i){if(!w){const k=b.captureMarker.exec(v.value),x=k?C+k[0]:C;b.hasExceptions?l(v,"expectedExceptionAfter",k,x):l(v,"expectedSpaceAfter",k,x)}m&&S==="block"&&!E&&d(v,"expectedSpaceBefore")}else w&&(w[1]?l(v,"unexpectedSpaceAfterMarker",w,w[1]):l(v,"unexpectedSpaceAfter",w,C)),m&&S==="block"&&E&&d(v,"unexpectedSpaceBefore",E)}return{Program(){h.getAllComments().filter(S=>S.type!=="Shebang").forEach(g)}}}},_f}var Bf,db;function _I(){if(db)return Bf;db=1;const a=Me();function e(t){const c=[];for(let p=0;p<t.length;p++){const u=t[p];if(u.type==="ExpressionStatement"&&u.expression.type==="Literal"&&u.expression.value==="use strict")c[p]=u;else break}return c}function n(t){return t.type==="Identifier"}function o(t){return t.every(n)}return Bf={meta:{type:"suggestion",defaultOptions:["safe"],docs:{description:"Require or disallow strict mode directives",recommended:!1,url:"https://eslint.org/docs/latest/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(t){const c=t.parserOptions.ecmaFeatures||{},p=[],u=[];let[r]=t.options;c.impliedStrict?r="implied":r==="safe"&&(r=c.globalReturn||t.languageOptions.sourceType==="commonjs"?"global":"function");function h(S){return S==="multiple"||S==="unnecessary"||S==="module"||S==="implied"||S==="unnecessaryInClasses"}function i(S){return b=>b.remove(S)}function f(S,b,C,w,E){S.slice(b,C).forEach(k=>{t.report({node:k,messageId:w,fix:E?i(k):null})})}function m(S,b,C){f(S,0,S.length,b,C)}function s(S,b,C){f(S,1,S.length,b,C)}function l(S,b){const C=u.length>0,w=p.length===0&&u.length===0,E=p.length>0&&p.at(-1),k=b.length>0;k?(o(S.params)?E?t.report({node:b[0],messageId:"unnecessary",fix:i(b[0])}):C&&t.report({node:b[0],messageId:"unnecessaryInClasses",fix:i(b[0])}):t.report({node:b[0],messageId:"nonSimpleParameterList"}),s(b,"multiple",!0)):w&&(o(S.params)?t.report({node:S,messageId:"function"}):t.report({node:S,messageId:"wrap",data:{name:a.getFunctionNameWithKind(S)}})),p.push(E||k)}function d(){p.pop()}function g(S){const b=S.body.type==="BlockStatement",C=b?e(S.body.body):[];r==="function"?l(S,C):C.length>0&&(o(S.params)?m(C,r,h(r)):(t.report({node:C[0],messageId:"nonSimpleParameterList"}),s(C,"multiple",!0)))}const v={Program(S){const b=e(S.body);S.sourceType==="module"&&(r="module"),r==="global"?(S.body.length>0&&b.length===0&&t.report({node:S,messageId:"global"}),s(b,"multiple",!0)):m(b,r,h(r))},FunctionDeclaration:g,FunctionExpression:g,ArrowFunctionExpression:g};return r==="function"&&Object.assign(v,{ClassBody(){u.push(!0)},"ClassBody:exit"(){u.pop()},"FunctionDeclaration:exit":d,"FunctionExpression:exit":d,"ArrowFunctionExpression:exit":d}),v}},Bf}var Lf,gb;function BI(){if(gb)return Lf;gb=1;const a=Me();return Lf={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"switch-colon-spacing",url:"https://eslint.style/rules/js/switch-colon-spacing"}}]},type:"layout",docs:{description:"Enforce spacing around colons of switch statements",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.sourceCode,o=e.options[0]||{},t=o.before===!0,c=o.after!==!1;function p(h,i,f){return a.isClosingBraceToken(i)||!a.isTokenOnSameLine(h,i)||n.isSpaceBetweenTokens(h,i)===f}function u(h,i){return n.getFirstTokenBetween(h,i,{includeComments:!0,filter:a.isCommentToken})!==null}function r(h,i,f,m){return u(i,f)?null:m?h.insertTextAfter(i," "):h.removeRange([i.range[1],f.range[0]])}return{SwitchCase(h){const i=a.getSwitchCaseColonToken(h,n),f=n.getTokenBefore(i),m=n.getTokenAfter(i);p(f,i,t)||e.report({node:h,loc:i.loc,messageId:t?"expectedBefore":"unexpectedBefore",fix:s=>r(s,f,i,t)}),p(i,m,c)||e.report({node:h,loc:i.loc,messageId:c?"expectedAfter":"unexpectedAfter",fix:s=>r(s,i,m,c)})}}}},Lf}var Of,yb;function LI(){if(yb)return Of;yb=1;const a=Me();return Of={meta:{type:"suggestion",docs:{description:"Require symbol descriptions",recommended:!1,url:"https://eslint.org/docs/latest/rules/symbol-description"},fixable:null,schema:[],messages:{expected:"Expected Symbol to have a description."}},create(e){const n=e.sourceCode;function o(t){t.arguments.length===0&&e.report({node:t,messageId:"expected"})}return{"Program:exit"(t){const c=n.getScope(t),p=a.getVariableByName(c,"Symbol");p&&p.defs.length===0&&p.references.forEach(u=>{const r=u.identifier;a.isCallee(r)&&o(r.parent)})}}}},Of}var Nf,vb;function OI(){if(vb)return Nf;vb=1;const a=Me();return Nf={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"template-curly-spacing",url:"https://eslint.style/rules/js/template-curly-spacing"}}]},type:"layout",docs:{description:"Require or disallow spacing around embedded expressions of template strings",recommended:!1,url:"https://eslint.org/docs/latest/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(e){const n=e.sourceCode,o=e.options[0]==="always";function t(p){if(!p.value.startsWith("}"))return;const u=n.getTokenBefore(p,{includeComments:!0}),r=n.isSpaceBetween(u,p);a.isTokenOnSameLine(u,p)&&(o&&!r&&e.report({loc:{start:p.loc.start,end:{line:p.loc.start.line,column:p.loc.start.column+1}},messageId:"expectedBefore",fix:h=>h.insertTextBefore(p," ")}),!o&&r&&e.report({loc:{start:u.loc.end,end:p.loc.start},messageId:"unexpectedBefore",fix:h=>h.removeRange([u.range[1],p.range[0]])}))}function c(p){if(!p.value.endsWith("${"))return;const u=n.getTokenAfter(p,{includeComments:!0}),r=n.isSpaceBetween(p,u);a.isTokenOnSameLine(p,u)&&(o&&!r&&e.report({loc:{start:{line:p.loc.end.line,column:p.loc.end.column-2},end:p.loc.end},messageId:"expectedAfter",fix:h=>h.insertTextAfter(p," ")}),!o&&r&&e.report({loc:{start:p.loc.end,end:u.loc.start},messageId:"unexpectedAfter",fix:h=>h.removeRange([p.range[1],u.range[0]])}))}return{TemplateElement(p){const u=n.getFirstToken(p);t(u),c(u)}}}},Nf}var jf,Eb;function NI(){return Eb||(Eb=1,jf={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"template-tag-spacing",url:"https://eslint.style/rules/js/template-tag-spacing"}}]},type:"layout",docs:{description:"Require or disallow spacing between template tags and their literals",recommended:!1,url:"https://eslint.org/docs/latest/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(a){const e=a.options[0]!=="always",n=a.sourceCode;function o(t){const c=n.getTokenBefore(t.quasi),p=n.getFirstToken(t.quasi),u=n.isSpaceBetweenTokens(c,p);e&&u?a.report({node:t,loc:{start:c.loc.end,end:p.loc.start},messageId:"unexpected",fix(r){const h=n.getCommentsBefore(t.quasi);return h.some(i=>i.type==="Line")?null:r.replaceTextRange([c.range[1],p.range[0]],h.reduce((i,f)=>i+n.getText(f),""))}}):!e&&!u&&a.report({node:t,loc:{start:t.loc.start,end:p.loc.start},messageId:"missing",fix(r){return r.insertTextAfter(c," ")}})}return{TaggedTemplateExpression:o}}}),jf}var Mf,Sb;function jI(){return Sb||(Sb=1,Mf={meta:{type:"layout",defaultOptions:["never"],docs:{description:"Require or disallow Unicode byte order mark (BOM)",recommended:!1,url:"https://eslint.org/docs/latest/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(a){return{Program:function(n){const o=a.sourceCode,t={column:0,line:1},[c]=a.options;!o.hasBOM&&c==="always"?a.report({node:n,loc:t,messageId:"expected",fix(p){return p.insertTextBeforeRange([0,1],"\uFEFF")}}):o.hasBOM&&c==="never"&&a.report({node:n,loc:t,messageId:"unexpected",fix(p){return p.removeRange([-1,0])}})}}}}),Mf}var Uf,bb;function MI(){if(bb)return Uf;bb=1;const a=Me();function e(n){if(!n)return!1;const o=n.type==="SequenceExpression"?n.expressions.at(-1):n;return a.isSpecificId(o,"NaN")||a.isSpecificMemberAccess(o,"Number","NaN")}return Uf={meta:{hasSuggestions:!0,type:"problem",docs:{description:"Require calls to `isNaN()` when checking for `NaN`",recommended:!0,url:"https://eslint.org/docs/latest/rules/use-isnan"},schema:[{type:"object",properties:{enforceForSwitchCase:{type:"boolean"},enforceForIndexOf:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{enforceForIndexOf:!1,enforceForSwitchCase:!0}],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.",replaceWithIsNaN:"Replace with Number.isNaN.",replaceWithCastingAndIsNaN:"Replace with Number.isNaN and cast to a Number.",replaceWithFindIndex:"Replace with Array.prototype.{{ methodName }}."}},create(n){const[{enforceForIndexOf:o,enforceForSwitchCase:t}]=n.options,c=n.sourceCode,p=new Set(["==","===","!=","!=="]),u=new Set(["==","!="]);function r(s,l){return d=>{const g=e(s.left)?s.right:s.left,v=g.type==="SequenceExpression",b=s.operator[0]==="!"?"!":"";let C=c.getText(g);v&&(C=`(${C})`);const w=l(C);return d.replaceText(s,`${b}${w}`)}}function h(s){if(/^(?:[<>]|[!=]=)=?$/u.test(s.operator)&&(e(s.left)||e(s.right))){const l=[],g=(e(s.left)?s.left:s.right).type==="SequenceExpression",v=p.has(s.operator)&&!g,S=u.has(s.operator);v&&(l.push({messageId:"replaceWithIsNaN",fix:r(s,b=>`Number.isNaN(${b})`)}),S&&l.push({messageId:"replaceWithCastingAndIsNaN",fix:r(s,b=>`Number.isNaN(Number(${b}))`)})),n.report({node:s,messageId:"comparisonWithNaN",suggest:l})}}function i(s){e(s.discriminant)&&n.report({node:s,messageId:"switchNaN"});for(const l of s.cases)e(l.test)&&n.report({node:l,messageId:"caseNaN"})}function f(s){const l=a.skipChainExpression(s.callee);if(l.type==="MemberExpression"){const d=a.getStaticPropertyName(l);if((d==="indexOf"||d==="lastIndexOf")&&s.arguments.length<=2&&e(s.arguments[0])){const g=s.arguments[0].type!=="SequenceExpression"&&!s.arguments[1],v=[];if(g){const S=l.computed,b=d==="indexOf"?"findIndex":"findLastIndex",C=S?`"${b}"`:b;v.push({messageId:"replaceWithFindIndex",data:{methodName:b},fix:w=>[w.replaceText(l.property,C),w.replaceText(s.arguments[0],"Number.isNaN")]})}n.report({node:s,messageId:"indexOfNaN",data:{methodName:d},suggest:v})}}}const m={BinaryExpression:h};return t&&(m.SwitchStatement=i),o&&(m.CallExpression=f),m}},Uf}var qf,xb;function UI(){if(xb)return qf;xb=1;const a=Me();return qf={meta:{type:"problem",defaultOptions:[{requireStringLiterals:!1}],docs:{description:"Enforce comparing `typeof` expressions against valid strings",recommended:!0,url:"https://eslint.org/docs/latest/rules/valid-typeof"},hasSuggestions:!0,schema:[{type:"object",properties:{requireStringLiterals:{type:"boolean"}},additionalProperties:!1}],messages:{invalidValue:"Invalid typeof comparison value.",notString:"Typeof comparisons should be to string literals.",suggestString:'Use `"{{type}}"` instead of `{{type}}`.'}},create(e){const n=new Set(["symbol","undefined","object","boolean","number","string","function","bigint"]),o=new Set(["==","===","!=","!=="]),t=e.sourceCode,[{requireStringLiterals:c}]=e.options;let p;function u(h){const i=p.set.get(h.name);return i&&i.defs.length===0&&i.references.some(f=>f.identifier===h)}function r(h){return h.type==="UnaryExpression"&&h.operator==="typeof"}return{Program(h){p=t.getScope(h)},UnaryExpression(h){if(r(h)){const{parent:i}=h;if(i.type==="BinaryExpression"&&o.has(i.operator)){const f=i.left===h?i.right:i.left;if(f.type==="Literal"||a.isStaticTemplateLiteral(f)){const m=f.type==="Literal"?f.value:f.quasis[0].value.cooked;n.has(m)||e.report({node:f,messageId:"invalidValue"})}else f.type==="Identifier"&&f.name==="undefined"&&u(f)?e.report({node:f,messageId:c?"notString":"invalidValue",suggest:[{messageId:"suggestString",data:{type:"undefined"},fix(m){return m.replaceText(f,'"undefined"')}}]}):c&&!r(f)&&e.report({node:f,messageId:"notString"})}}}}}},qf}var Vf,Cb;function qI(){return Cb||(Cb=1,Vf={meta:{type:"suggestion",docs:{description:"Require `var` declarations be placed at the top of their containing scope",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/vars-on-top"},schema:[],messages:{top:"All 'var' declarations must be at the top of the function scope."}},create(a){function e(u){return u.type==="ExpressionStatement"&&u.expression.type==="Literal"&&typeof u.expression.value=="string"}function n(u){return u.type==="ImportDeclaration"||u.type==="ImportSpecifier"||u.type==="ImportDefaultSpecifier"||u.type==="ImportNamespaceSpecifier"}function o(u){return u.type==="VariableDeclaration"||u.type==="ExportNamedDeclaration"&&u.declaration&&u.declaration.type==="VariableDeclaration"}function t(u,r){const h=r.length;let i=0;if(u.parent.type!=="StaticBlock")for(;i<h&&!(!e(r[i])&&!n(r[i]));++i);for(;i<h;++i){if(!o(r[i]))return!1;if(r[i]===u)return!0}return!1}function c(u,r){t(u,r.body)||a.report({node:u,messageId:"top"})}function p(u){const{parent:r}=u;r.type==="BlockStatement"&&/Function/u.test(r.parent.type)&&t(u,r.body)||r.type==="StaticBlock"&&t(u,r.body)||a.report({node:u,messageId:"top"})}return{"VariableDeclaration[kind='var']"(u){u.parent.type==="ExportNamedDeclaration"?c(u.parent,u.parent.parent):u.parent.type==="Program"?c(u,u.parent):p(u)}}}}),Vf}var $f,wb;function VI(){if(wb)return $f;wb=1;const a=Me(),e=$t();function n(o){const t=o.parent.type==="ChainExpression"?o.parent:o;return t.parent.type==="NewExpression"&&t.parent.callee===t}return $f={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"wrap-iife",url:"https://eslint.style/rules/js/wrap-iife"}}]},type:"layout",docs:{description:"Require parentheses around immediate `function` invocations",recommended:!1,url:"https://eslint.org/docs/latest/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(o){const t=o.options[0]||"outside",c=o.options[1]&&o.options[1].functionPrototypeMethods,p=o.sourceCode;function u(i){return a.isParenthesised(p,i)}function r(i){return e.isParenthesized(1,i,p)}function h(i){const f=a.skipChainExpression(i.callee);return f.type==="FunctionExpression"?f:c&&f.type==="MemberExpression"&&f.object.type==="FunctionExpression"&&(a.getStaticPropertyName(f)==="call"||a.getStaticPropertyName(f)==="apply")?f.object:null}return{CallExpression(i){const f=h(i);if(!f)return;const m=u(i),s=u(f);!m&&!s?o.report({node:i,messageId:"wrapInvocation",fix(l){const d=t==="inside"?f:i;return l.replaceText(d,`(${p.getText(d)})`)}}):t==="inside"&&!s?o.report({node:i,messageId:"wrapExpression",fix(l){if(r(i)&&!n(i)){const d=p.getTokenAfter(i);return l.replaceTextRange([f.range[1],d.range[1]],`)${p.getText().slice(f.range[1],d.range[0])}`)}return l.replaceText(f,`(${p.getText(f)})`)}}):t==="outside"&&!m&&o.report({node:i,messageId:"moveInvocation",fix(l){const d=p.getTokenAfter(f);return l.replaceTextRange([d.range[0],i.range[1]],`${p.getText().slice(d.range[1],i.range[1])})`)}})}}}},$f}var Wf,Ab;function $I(){return Ab||(Ab=1,Wf={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"wrap-regex",url:"https://eslint.style/rules/js/wrap-regex"}}]},type:"layout",docs:{description:"Require parenthesis around regex literals",recommended:!1,url:"https://eslint.org/docs/latest/rules/wrap-regex"},schema:[],fixable:"code",messages:{requireParens:"Wrap the regexp literal in parens to disambiguate the slash."}},create(a){const e=a.sourceCode;return{Literal(n){if(e.getFirstToken(n).type==="RegularExpression"){const c=e.getTokenBefore(n),p=e.getTokenAfter(n),{parent:u}=n;u.type==="MemberExpression"&&u.object===n&&!(c&&c.value==="("&&p&&p.value===")")&&a.report({node:n,messageId:"requireParens",fix:r=>r.replaceText(n,`(${e.getText(n)})`)})}}}}}),Wf}var Gf,Tb;function WI(){return Tb||(Tb=1,Gf={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin-js",url:"https://eslint.style/packages/js"},rule:{name:"yield-star-spacing",url:"https://eslint.style/rules/js/yield-star-spacing"}}]},type:"layout",docs:{description:"Require or disallow spacing around the `*` in `yield*` expressions",recommended:!1,url:"https://eslint.org/docs/latest/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(a){const e=a.sourceCode,n=function(c){return!c||typeof c=="string"?{before:{before:!0,after:!1},after:{before:!1,after:!0},both:{before:!0,after:!0},neither:{before:!1,after:!1}}[c||"after"]:c}(a.options[0]);function o(c,p,u){if(e.isSpaceBetweenTokens(p,u)!==n[c]){const r=p.value==="*",h=n[c],i=r?p:u;let f;h?f=c==="before"?"missingBefore":"missingAfter":f=c==="before"?"unexpectedBefore":"unexpectedAfter",a.report({node:i,messageId:f,fix(m){return h?r?m.insertTextAfter(i," "):m.insertTextBefore(i," "):m.removeRange([p.range[1],u.range[0]])}})}}function t(c){if(!c.delegate)return;const p=e.getFirstTokens(c,3),u=p[0],r=p[1],h=p[2];o("before",u,r),o("after",r,h)}return{YieldExpression:t}}}),Gf}var zf,kb;function GI(){if(kb)return zf;kb=1;const a=Me();function e(u){return/^(==|===|!=|!==|<|>|<=|>=)$/u.test(u)}function n(u){return/^(==|===)$/u.test(u)}function o(u){return["<","<="].includes(u)}function t(u){return u.type==="UnaryExpression"&&u.operator==="-"&&u.prefix&&a.isNumericLiteral(u.argument)}function c(u){return t(u)||a.isStaticTemplateLiteral(u)}function p(u){return u.type==="Literal"?u:t(u)?{type:"Literal",value:-u.argument.value,raw:`-${u.argument.value}`}:a.isStaticTemplateLiteral(u)?{type:"Literal",value:u.quasis[0].value.cooked,raw:u.quasis[0].value.raw}:null}return zf={meta:{type:"suggestion",defaultOptions:["never",{exceptRange:!1,onlyEquality:!1}],docs:{description:'Require or disallow "Yoda" conditions',recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/yoda"},schema:[{enum:["always","never"]},{type:"object",properties:{exceptRange:{type:"boolean"},onlyEquality:{type:"boolean"}},additionalProperties:!1}],fixable:"code",messages:{expected:"Expected literal to be on the {{expectedSide}} side of {{operator}}."}},create(u){const[r,{exceptRange:h,onlyEquality:i}]=u.options,f=r==="always",m=u.sourceCode;function s(g){const v=g.left,S=g.right;function b(){if(g.operator==="&&"&&a.isSameReference(v.right,S.left)){const E=p(v.left),k=p(S.right);if(E===null&&k===null)return!1;if(k===null||E===null||E.value<=k.value)return!0}return!1}function C(){if(g.operator==="||"&&a.isSameReference(v.left,S.right)){const E=p(v.right),k=p(S.left);if(E===null&&k===null)return!1;if(k===null||E===null||E.value<=k.value)return!0}return!1}function w(){return a.isParenthesised(m,g)}return g.type==="LogicalExpression"&&v.type==="BinaryExpression"&&S.type==="BinaryExpression"&&o(v.operator)&&o(S.operator)&&(b()||C())&&w()}const l={"===":"===","!==":"!==","==":"==","!=":"!=","<":">",">":"<","<=":">=",">=":"<="};function d(g){const v=m.getFirstTokenBetween(g.left,g.right,P=>P.value===g.operator),S=m.getTokenBefore(v),b=m.getTokenAfter(v),C=m.getText(),w=C.slice(g.range[0],S.range[1]),E=C.slice(S.range[1],v.range[0]),k=C.slice(v.range[1],b.range[0]),x=C.slice(b.range[0],g.range[1]),A=m.getTokenBefore(g),I=m.getTokenAfter(g);let B="",M="";return A&&A.range[1]===g.range[0]&&!a.canTokensBeAdjacent(A,b)&&(B=" "),I&&g.range[1]===I.range[0]&&!a.canTokensBeAdjacent(S,I)&&(M=" "),B+x+E+l[v.value]+k+w+M}return{BinaryExpression(g){const v=f?g.left:g.right,S=f?g.right:g.left;(S.type==="Literal"||c(S))&&!(v.type==="Literal"||c(v))&&!(!n(g.operator)&&i)&&e(g.operator)&&!(h&&s(g.parent))&&u.report({node:g,messageId:"expected",data:{operator:g.operator,expectedSide:f?"left":"right"},fix:b=>b.replaceText(g,d(g))})}}}},zf}var Hf,Db;function Ib(){if(Db)return Hf;Db=1;const{LazyLoadingRuleMap:a}=dw();return Hf=new a(Object.entries({"accessor-pairs":()=>vw(),"array-bracket-newline":()=>Ew(),"array-bracket-spacing":()=>Sw(),"array-callback-return":()=>bw(),"array-element-newline":()=>xw(),"arrow-body-style":()=>Cw(),"arrow-parens":()=>ww(),"arrow-spacing":()=>Aw(),"block-scoped-var":()=>Tw(),"block-spacing":()=>kw(),"brace-style":()=>Dw(),"callback-return":()=>Iw(),camelcase:()=>Pw(),"capitalized-comments":()=>Fw(),"class-methods-use-this":()=>Rw(),"comma-dangle":()=>_w(),"comma-spacing":()=>Bw(),"comma-style":()=>Lw(),complexity:()=>Ow(),"computed-property-spacing":()=>Nw(),"consistent-return":()=>jw(),"consistent-this":()=>Mw(),"constructor-super":()=>Uw(),curly:()=>qw(),"default-case":()=>Vw(),"default-case-last":()=>$w(),"default-param-last":()=>Ww(),"dot-location":()=>Gw(),"dot-notation":()=>zw(),"eol-last":()=>Hw(),eqeqeq:()=>Kw(),"for-direction":()=>Xw(),"func-call-spacing":()=>Jw(),"func-name-matching":()=>Yw(),"func-names":()=>Qw(),"func-style":()=>Zw(),"function-call-argument-newline":()=>eA(),"function-paren-newline":()=>tA(),"generator-star-spacing":()=>rA(),"getter-return":()=>nA(),"global-require":()=>sA(),"grouped-accessor-pairs":()=>aA(),"guard-for-in":()=>iA(),"handle-callback-err":()=>oA(),"id-blacklist":()=>lA(),"id-denylist":()=>uA(),"id-length":()=>cA(),"id-match":()=>fA(),"implicit-arrow-linebreak":()=>pA(),indent:()=>mA(),"indent-legacy":()=>hA(),"init-declarations":()=>dA(),"jsx-quotes":()=>gA(),"key-spacing":()=>yA(),"keyword-spacing":()=>vA(),"line-comment-position":()=>EA(),"linebreak-style":()=>SA(),"lines-around-comment":()=>bA(),"lines-around-directive":()=>xA(),"lines-between-class-members":()=>CA(),"logical-assignment-operators":()=>wA(),"max-classes-per-file":()=>AA(),"max-depth":()=>TA(),"max-len":()=>kA(),"max-lines":()=>DA(),"max-lines-per-function":()=>IA(),"max-nested-callbacks":()=>PA(),"max-params":()=>FA(),"max-statements":()=>RA(),"max-statements-per-line":()=>_A(),"multiline-comment-style":()=>BA(),"multiline-ternary":()=>LA(),"new-cap":()=>OA(),"new-parens":()=>NA(),"newline-after-var":()=>jA(),"newline-before-return":()=>MA(),"newline-per-chained-call":()=>UA(),"no-alert":()=>qA(),"no-array-constructor":()=>VA(),"no-async-promise-executor":()=>$A(),"no-await-in-loop":()=>WA(),"no-bitwise":()=>GA(),"no-buffer-constructor":()=>zA(),"no-caller":()=>HA(),"no-case-declarations":()=>KA(),"no-catch-shadow":()=>XA(),"no-class-assign":()=>JA(),"no-compare-neg-zero":()=>YA(),"no-cond-assign":()=>QA(),"no-confusing-arrow":()=>ZA(),"no-console":()=>eT(),"no-const-assign":()=>tT(),"no-constant-binary-expression":()=>rT(),"no-constant-condition":()=>nT(),"no-constructor-return":()=>sT(),"no-continue":()=>aT(),"no-control-regex":()=>iT(),"no-debugger":()=>oT(),"no-delete-var":()=>lT(),"no-div-regex":()=>uT(),"no-dupe-args":()=>cT(),"no-dupe-class-members":()=>fT(),"no-dupe-else-if":()=>pT(),"no-dupe-keys":()=>mT(),"no-duplicate-case":()=>hT(),"no-duplicate-imports":()=>dT(),"no-else-return":()=>gT(),"no-empty":()=>yT(),"no-empty-character-class":()=>vT(),"no-empty-function":()=>ET(),"no-empty-pattern":()=>ST(),"no-empty-static-block":()=>bT(),"no-eq-null":()=>xT(),"no-eval":()=>CT(),"no-ex-assign":()=>wT(),"no-extend-native":()=>AT(),"no-extra-bind":()=>TT(),"no-extra-boolean-cast":()=>kT(),"no-extra-label":()=>DT(),"no-extra-parens":()=>IT(),"no-extra-semi":()=>PT(),"no-fallthrough":()=>FT(),"no-floating-decimal":()=>RT(),"no-func-assign":()=>_T(),"no-global-assign":()=>BT(),"no-implicit-coercion":()=>LT(),"no-implicit-globals":()=>OT(),"no-implied-eval":()=>NT(),"no-import-assign":()=>jT(),"no-inline-comments":()=>MT(),"no-inner-declarations":()=>UT(),"no-invalid-regexp":()=>qT(),"no-invalid-this":()=>VT(),"no-irregular-whitespace":()=>$T(),"no-iterator":()=>WT(),"no-label-var":()=>GT(),"no-labels":()=>zT(),"no-lone-blocks":()=>HT(),"no-lonely-if":()=>KT(),"no-loop-func":()=>XT(),"no-loss-of-precision":()=>JT(),"no-magic-numbers":()=>YT(),"no-misleading-character-class":()=>sk(),"no-mixed-operators":()=>ak(),"no-mixed-requires":()=>ik(),"no-mixed-spaces-and-tabs":()=>ok(),"no-multi-assign":()=>lk(),"no-multi-spaces":()=>uk(),"no-multi-str":()=>ck(),"no-multiple-empty-lines":()=>fk(),"no-native-reassign":()=>pk(),"no-negated-condition":()=>mk(),"no-negated-in-lhs":()=>hk(),"no-nested-ternary":()=>dk(),"no-new":()=>gk(),"no-new-func":()=>yk(),"no-new-native-nonconstructor":()=>vk(),"no-new-object":()=>Ek(),"no-new-require":()=>Sk(),"no-new-symbol":()=>bk(),"no-new-wrappers":()=>xk(),"no-nonoctal-decimal-escape":()=>Ck(),"no-obj-calls":()=>wk(),"no-object-constructor":()=>Ak(),"no-octal":()=>Tk(),"no-octal-escape":()=>kk(),"no-param-reassign":()=>Dk(),"no-path-concat":()=>Ik(),"no-plusplus":()=>Pk(),"no-process-env":()=>Fk(),"no-process-exit":()=>Rk(),"no-promise-executor-return":()=>_k(),"no-proto":()=>Bk(),"no-prototype-builtins":()=>Lk(),"no-redeclare":()=>Ok(),"no-regex-spaces":()=>Nk(),"no-restricted-exports":()=>jk(),"no-restricted-globals":()=>Mk(),"no-restricted-imports":()=>Uk(),"no-restricted-modules":()=>qk(),"no-restricted-properties":()=>Vk(),"no-restricted-syntax":()=>$k(),"no-return-assign":()=>Wk(),"no-return-await":()=>Gk(),"no-script-url":()=>zk(),"no-self-assign":()=>Hk(),"no-self-compare":()=>Kk(),"no-sequences":()=>Xk(),"no-setter-return":()=>Jk(),"no-shadow":()=>Yk(),"no-shadow-restricted-names":()=>Qk(),"no-spaced-func":()=>Zk(),"no-sparse-arrays":()=>eD(),"no-sync":()=>tD(),"no-tabs":()=>rD(),"no-template-curly-in-string":()=>nD(),"no-ternary":()=>sD(),"no-this-before-super":()=>aD(),"no-throw-literal":()=>iD(),"no-trailing-spaces":()=>oD(),"no-unassigned-vars":()=>lD(),"no-undef":()=>uD(),"no-undef-init":()=>cD(),"no-undefined":()=>fD(),"no-underscore-dangle":()=>pD(),"no-unexpected-multiline":()=>mD(),"no-unmodified-loop-condition":()=>hD(),"no-unneeded-ternary":()=>dD(),"no-unreachable":()=>gD(),"no-unreachable-loop":()=>yD(),"no-unsafe-finally":()=>vD(),"no-unsafe-negation":()=>ED(),"no-unsafe-optional-chaining":()=>SD(),"no-unused-expressions":()=>bD(),"no-unused-labels":()=>xD(),"no-unused-private-class-members":()=>CD(),"no-unused-vars":()=>wD(),"no-use-before-define":()=>AD(),"no-useless-assignment":()=>TD(),"no-useless-backreference":()=>kD(),"no-useless-call":()=>DD(),"no-useless-catch":()=>ID(),"no-useless-computed-key":()=>PD(),"no-useless-concat":()=>FD(),"no-useless-constructor":()=>RD(),"no-useless-escape":()=>_D(),"no-useless-rename":()=>BD(),"no-useless-return":()=>LD(),"no-var":()=>OD(),"no-void":()=>ND(),"no-warning-comments":()=>jD(),"no-whitespace-before-property":()=>MD(),"no-with":()=>UD(),"nonblock-statement-body-position":()=>qD(),"object-curly-newline":()=>VD(),"object-curly-spacing":()=>$D(),"object-property-newline":()=>WD(),"object-shorthand":()=>GD(),"one-var":()=>zD(),"one-var-declaration-per-line":()=>HD(),"operator-assignment":()=>KD(),"operator-linebreak":()=>XD(),"padded-blocks":()=>JD(),"padding-line-between-statements":()=>YD(),"prefer-arrow-callback":()=>QD(),"prefer-const":()=>ZD(),"prefer-destructuring":()=>eI(),"prefer-exponentiation-operator":()=>tI(),"prefer-named-capture-group":()=>rI(),"prefer-numeric-literals":()=>nI(),"prefer-object-has-own":()=>sI(),"prefer-object-spread":()=>aI(),"prefer-promise-reject-errors":()=>iI(),"prefer-reflect":()=>oI(),"prefer-regex-literals":()=>lI(),"prefer-rest-params":()=>uI(),"prefer-spread":()=>cI(),"prefer-template":()=>fI(),"quote-props":()=>pI(),quotes:()=>mI(),radix:()=>hI(),"require-atomic-updates":()=>dI(),"require-await":()=>gI(),"require-unicode-regexp":()=>yI(),"require-yield":()=>vI(),"rest-spread-spacing":()=>EI(),semi:()=>SI(),"semi-spacing":()=>bI(),"semi-style":()=>xI(),"sort-imports":()=>CI(),"sort-keys":()=>AI(),"sort-vars":()=>TI(),"space-before-blocks":()=>kI(),"space-before-function-paren":()=>DI(),"space-in-parens":()=>II(),"space-infix-ops":()=>PI(),"space-unary-ops":()=>FI(),"spaced-comment":()=>RI(),strict:()=>_I(),"switch-colon-spacing":()=>BI(),"symbol-description":()=>LI(),"template-curly-spacing":()=>OI(),"template-tag-spacing":()=>NI(),"unicode-bom":()=>jI(),"use-isnan":()=>MI(),"valid-typeof":()=>UI(),"vars-on-top":()=>qI(),"wrap-iife":()=>VI(),"wrap-regex":()=>$I(),"yield-star-spacing":()=>WI(),yoda:()=>GI()})),Hf}var Kf,Pb;function zI(){if(Pb)return Kf;Pb=1;const a=Ib();class e{constructor(){this._rules=Object.create(null)}define(o,t){this._rules[o]=t}get(o){return typeof this._rules[o]=="string"&&this.define(o,hw(this._rules[o])),this._rules[o]?this._rules[o]:a.has(o)?a.get(o):null}*[Symbol.iterator](){yield*a;for(const o of Object.keys(this._rules))yield[o,this.get(o)]}}return Kf=e,Kf}var Xf,Fb;function HI(){if(Fb)return Xf;Fb=1;const a=Rr()("eslint:source-code-fixer"),e="\uFEFF";function n(c,p){return c.fix.range[0]-p.fix.range[0]||c.fix.range[1]-p.fix.range[1]}function o(c,p){return c.line-p.line||c.column-p.column}function t(){Object.freeze(this)}return t.applyFixes=function(c,p,u){if(a("Applying fixes"),u===!1)return a("shouldFix parameter was false, not attempting fixes"),{fixed:!1,messages:p,output:c};const r=[],h=[],i=c.startsWith(e)?e:"",f=i?c.slice(1):c;let m=Number.NEGATIVE_INFINITY,s=i;function l(d){const g=d.fix,v=g.range[0],S=g.range[1];return m>=v||v>S?(r.push(d),!1):((v<0&&S>=0||v===0&&g.text.startsWith(e))&&(s=""),s+=f.slice(Math.max(0,m),Math.max(0,v)),s+=g.text,m=S,!0)}if(p.forEach(d=>{Object.hasOwn(d,"fix")&&d.fix?h.push(d):r.push(d)}),h.length){a("Found fixes to apply");let d=!1;for(const g of h.sort(n))typeof u!="function"||u(g)?(l(g),d=!0):r.push(g);return s+=f.slice(Math.max(0,m)),{fixed:d,messages:r.sort(o),output:s}}return a("No fixes to apply"),{fixed:!1,messages:p,output:i+f}},Xf=t,Xf}var Jf,Rb;function _b(){if(Rb)return Jf;Rb=1;function a(){return Mt.hrtime()}function e(n){const o=Mt.hrtime(n);return o[0]*1e3+o[1]/1e6}return Jf={startTime:a,endTime:e},Jf}var Yf,Bb;function KI(){if(Bb)return Yf;Bb=1;const{startTime:a,endTime:e}=_b(),n=!!Mt.env.TIMING;function o(){if(typeof Mt.env.TIMING!="string")return 10;if(Mt.env.TIMING.toLowerCase()==="all")return Number.POSITIVE_INFINITY;const c=Number.parseInt(Mt.env.TIMING,10);return c>10?c:10}return Yf=function(){const t=Object.create(null);function c(p,u,r){return function(...h){const i=a(),f=u(...h),m=e(i);return n&&(typeof t[p]>"u"&&(t[p]=0),t[p]+=m),r?{result:f,tdiff:m}:f}}return{time:c,enabled:n,getListSize:o}}(),Yf}var XI={"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"]},Lb={rules:XI},Qf={},Zf={},Nt={},Ob;function JI(){if(Ob)return Nt;Ob=1;function a(F){if(typeof F!="string")throw new TypeError(`Path must be a string, received "${JSON.stringify(F)}"`)}function e(F,z){if(z.length>=F.length)return F;const ne=F.length-z.length;for(let ae=z.length-1;ae>=0;--ae)if(F.charCodeAt(ne+ae)!==z.charCodeAt(ae))return F;return F.slice(0,-z.length)}function n(F,z,ne=0){let ae=!1,be=F.length;for(let Pe=F.length-1;Pe>=ne;--Pe)if(z(F.charCodeAt(Pe))){if(ae){ne=Pe+1;break}}else ae||(ae=!0,be=Pe+1);return F.slice(ne,be)}function o(F,z){if(a(F),F.length===0)return F;if(typeof z!="string")throw new TypeError(`Suffix must be a string, received "${JSON.stringify(z)}"`)}function t(F,z){if(F.length<=1)return F;let ne=F.length;for(let ae=F.length-1;ae>0&&z(F.charCodeAt(ae));ae--)ne=ae;return F.slice(0,ne)}const c=46,p=47;function u(F){return F===p}function r(F,z=""){o(F,z);const ne=n(F,u),ae=t(ne,u);return z?e(ae,z):ae}const h=":",i="/",f=/\/+/;function m(F){if(a(F),F.length===0)return"."}function s(F){m(F);let z=-1,ne=!1;for(let ae=F.length-1;ae>=1;--ae)if(u(F.charCodeAt(ae))){if(ne){z=ae;break}}else ne=!0;return z===-1?u(F.charCodeAt(0))?"/":".":t(F.slice(0,z),u)}function l(F){a(F);let z=-1,ne=0,ae=-1,be=!0,Pe=0;for(let Ie=F.length-1;Ie>=0;--Ie){const ue=F.charCodeAt(Ie);if(u(ue)){if(!be){ne=Ie+1;break}continue}ae===-1&&(be=!1,ae=Ie+1),ue===c?z===-1?z=Ie:Pe!==1&&(Pe=1):z!==-1&&(Pe=-1)}return z===-1||ae===-1||Pe===0||Pe===1&&z===ae-1&&z===ne+1?"":F.slice(z,ae)}function d(F,z){const ne=z.dir||z.root,ae=z.base||(z.name??"")+(z.ext??"");return ne?ae===F?ne:ne===z.root?ne+ae:ne+F+ae:ae}function g(F){if(F===null||typeof F!="object")throw new TypeError(`The "pathObject" argument must be of type Object, received type "${typeof F}"`)}function v(F){return g(F),d("/",F)}function S(F){if(F=F instanceof URL?F:new URL(F),F.protocol!=="file:")throw new TypeError(`URL must be a file URL: received "${F.protocol}"`);return F}function b(F){return F=S(F),decodeURIComponent(F.pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}function C(F){return a(F),F.length>0&&u(F.charCodeAt(0))}function w(F){if(a(F),F.length===0)return"."}function E(F,z,ne,ae){let be="",Pe=0,Ie=-1,ue=0,ve;for(let G=0;G<=F.length;++G){if(G<F.length)ve=F.charCodeAt(G);else{if(ae(ve))break;ve=p}if(ae(ve)){if(!(Ie===G-1||ue===1))if(Ie!==G-1&&ue===2){if(be.length<2||Pe!==2||be.charCodeAt(be.length-1)!==c||be.charCodeAt(be.length-2)!==c){if(be.length>2){const J=be.lastIndexOf(ne);J===-1?(be="",Pe=0):(be=be.slice(0,J),Pe=be.length-1-be.lastIndexOf(ne)),Ie=G,ue=0;continue}else if(be.length===2||be.length===1){be="",Pe=0,Ie=G,ue=0;continue}}z&&(be.length>0?be+=`${ne}..`:be="..",Pe=2)}else be.length>0?be+=ne+F.slice(Ie+1,G):be=F.slice(Ie+1,G),Pe=G-Ie-1;Ie=G,ue=0}else ve===c&&ue!==-1?++ue:ue=-1}return be}function k(F){w(F);const z=u(F.charCodeAt(0)),ne=u(F.charCodeAt(F.length-1));return F=E(F,!z,"/",u),F.length===0&&!z&&(F="."),F.length>0&&ne&&(F+="/"),z?`/${F}`:F}function x(...F){if(F.length===0)return".";F.forEach(ne=>a(ne));const z=F.filter(ne=>ne.length>0).join("/");return z===""?".":k(z)}function A(F){a(F);const z={root:"",dir:"",base:"",ext:"",name:""};if(F.length===0)return z;const ne=u(F.charCodeAt(0));let ae;ne?(z.root="/",ae=1):ae=0;let be=-1,Pe=0,Ie=-1,ue=!0,ve=F.length-1,G=0;for(;ve>=ae;--ve){const J=F.charCodeAt(ve);if(u(J)){if(!ue){Pe=ve+1;break}continue}Ie===-1&&(ue=!1,Ie=ve+1),J===c?be===-1?be=ve:G!==1&&(G=1):be!==-1&&(G=-1)}return be===-1||Ie===-1||G===0||G===1&&be===Ie-1&&be===Pe+1?(Ie!==-1&&(Pe===0&&ne?z.base=z.name=F.slice(1,Ie):z.base=z.name=F.slice(Pe,Ie)),z.base=z.base||"/"):(Pe===0&&ne?(z.name=F.slice(1,be),z.base=F.slice(1,Ie)):(z.name=F.slice(Pe,be),z.base=F.slice(Pe,Ie)),z.ext=F.slice(be,Ie)),Pe>0?z.dir=t(F.slice(0,Pe-1),u):ne&&(z.dir="/"),z}function I(...F){let z="",ne=!1;for(let ae=F.length-1;ae>=-1&&!ne;ae--){let be;if(ae>=0)be=F[ae];else{const{Deno:Pe}=globalThis;if(typeof(Pe==null?void 0:Pe.cwd)!="function")throw new TypeError("Resolved a relative path without a current working directory (CWD)");be=Pe.cwd()}a(be),be.length!==0&&(z=`${be}/${z}`,ne=u(be.charCodeAt(0)))}return z=E(z,!ne,"/",u),ne?z.length>0?`/${z}`:"/":z.length>0?z:"."}function B(F,z){if(a(F),a(z),F===z)return""}function M(F,z){if(B(F,z),F=I(F),z=I(z),F===z)return"";let ne=1;const ae=F.length;for(;ne<ae&&u(F.charCodeAt(ne));++ne);const be=ae-ne;let Pe=1;const Ie=z.length;for(;Pe<Ie&&u(z.charCodeAt(Pe));++Pe);const ue=Ie-Pe,ve=be<ue?be:ue;let G=-1,J=0;for(;J<=ve;++J){if(J===ve){if(ue>ve){if(u(z.charCodeAt(Pe+J)))return z.slice(Pe+J+1);if(J===0)return z.slice(Pe+J)}else be>ve&&(u(F.charCodeAt(ne+J))?G=J:J===0&&(G=0));break}const $=F.charCodeAt(ne+J),se=z.charCodeAt(Pe+J);if($!==se)break;u($)&&(G=J)}let Te="";for(J=ne+G+1;J<=ae;++J)(J===ae||u(F.charCodeAt(J)))&&(Te.length===0?Te+="..":Te+="/..");return Te.length>0?Te+z.slice(Pe+G):(Pe+=G,u(z.charCodeAt(Pe))&&++Pe,z.slice(Pe))}const P={" ":"%09","\n":"%0A","\v":"%0B","\f":"%0C","\r":"%0D"," ":"%20"};function D(F){return F.replaceAll(/[\s]/g,z=>P[z]??z)}function R(F){if(!C(F))throw new TypeError(`Path must be absolute: received "${F}"`);const z=new URL("file:///");return z.pathname=D(F.replace(/%/g,"%25").replace(/\\/g,"%5C")),z}function N(F){return F}function q(F,z){const[ne="",...ae]=F,be=ne.split(z);let Pe=be.length,Ie="";for(const ue of ae){const ve=ue.split(z);ve.length<=Pe&&(Pe=ve.length,Ie="");for(let G=0;G<Pe;G++)if(ve[G]!==be[G]){Pe=G,Ie=G===0?"":z;break}}return be.slice(0,Pe).join(z)+Ie}function L(F){return q(F,i)}const W=["!","$","(",")","*","+",".","=","?","[","\\","^","{","|"],_=["-","\\","]"];function H(F,z,{extended:ne=!0,globstar:ae=!0,caseInsensitive:be=!1}={}){if(z==="")return/(?!)/;let Pe=z.length;for(;Pe>1&&F.seps.includes(z[Pe-1]);Pe--);z=z.slice(0,Pe);let Ie="";for(let ue=0;ue<z.length;){let ve="";const G=[];let J=!1,Te=!1,$=!1,se=ue;for(;se<z.length&&!F.seps.includes(z[se]);se++){if(Te){Te=!1,ve+=(J?_:W).includes(z[se])?`\\${z[se]}`:z[se];continue}if(z[se]===F.escapePrefix){Te=!0;continue}if(z[se]==="[")if(J){if(z[se+1]===":"){let De=se+1,Le="";for(;z[De+1]!==void 0&&z[De+1]!==":";)Le+=z[De+1],De++;if(z[De+1]===":"&&z[De+2]==="]"){se=De+2,Le==="alnum"?ve+="\\dA-Za-z":Le==="alpha"?ve+="A-Za-z":Le==="ascii"?ve+="\0-":Le==="blank"?ve+=" ":Le==="cntrl"?ve+="\0-":Le==="digit"?ve+="\\d":Le==="graph"?ve+="!-~":Le==="lower"?ve+="a-z":Le==="print"?ve+=" -~":Le==="punct"?ve+=`!"#$%&'()*+,\\-./:;<=>?@[\\\\\\]^_‘{|}~`:Le==="space"?ve+="\\s\v":Le==="upper"?ve+="A-Z":Le==="word"?ve+="\\w":Le==="xdigit"&&(ve+="\\dA-Fa-f");continue}}}else{J=!0,ve+="[",z[se+1]==="!"?(se++,ve+="^"):z[se+1]==="^"&&(se++,ve+="\\^");continue}if(z[se]==="]"&&J){J=!1,ve+="]";continue}if(J){ve+=z[se];continue}if(z[se]===")"&&G.length>0&&G[G.length-1]!=="BRACE"){ve+=")";const De=G.pop();De==="!"?ve+=F.wildcard:De!=="@"&&(ve+=De);continue}if(z[se]==="|"&&G.length>0&&G[G.length-1]!=="BRACE"){ve+="|";continue}if(z[se]==="+"&&ne&&z[se+1]==="("){se++,G.push("+"),ve+="(?:";continue}if(z[se]==="@"&&ne&&z[se+1]==="("){se++,G.push("@"),ve+="(?:";continue}if(z[se]==="?"){ne&&z[se+1]==="("?(se++,G.push("?"),ve+="(?:"):ve+=".";continue}if(z[se]==="!"&&ne&&z[se+1]==="("){se++,G.push("!"),ve+="(?!";continue}if(z[se]==="{"){G.push("BRACE"),ve+="(?:";continue}if(z[se]==="}"&&G[G.length-1]==="BRACE"){G.pop(),ve+=")";continue}if(z[se]===","&&G[G.length-1]==="BRACE"){ve+="|";continue}if(z[se]==="*"){if(ne&&z[se+1]==="(")se++,G.push("*"),ve+="(?:";else{const De=z[se-1];let Le=1;for(;z[se+1]==="*";)se++,Le++;const Fe=z[se+1];ae&&Le===2&&[...F.seps,void 0].includes(De)&&[...F.seps,void 0].includes(Fe)?(ve+=F.globstar,$=!0):ve+=F.wildcard}continue}ve+=W.includes(z[se])?`\\${z[se]}`:z[se]}if(G.length>0||J||Te){ve="";for(const De of z.slice(ue,se))ve+=W.includes(De)?`\\${De}`:De,$=!1}for(Ie+=ve,$||(Ie+=se<z.length?F.sep:F.sepMaybe,$=!0);F.seps.includes(z[se]);)se++;ue=se}return Ie=`^${Ie}$`,new RegExp(Ie,be?"i":"")}const K={sep:"/+",sepMaybe:"/*",seps:["/"],globstar:"(?:[^/]*(?:/|$)+)*",wildcard:"[^/]*",escapePrefix:"\\"};function re(F,z={}){return H(K,F,z)}function te(F){const z={"{":"}","(":")","[":"]"},ne=/\\(.)|(^!|\*|\?|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/;if(F==="")return!1;let ae;for(;ae=ne.exec(F);){if(ae[2])return!0;let be=ae.index+ae[0].length;const Pe=ae[1],Ie=Pe?z[Pe]:null;if(Pe&&Ie){const ue=F.indexOf(Ie,be);ue!==-1&&(be=ue+1)}F=F.slice(be)}return!1}function xe(F,z={}){const{globstar:ne=!1}=z;if(F.match(/\0/g))throw new Error(`Glob contains invalid characters: "${F}"`);if(!ne)return k(F);const ae=f.source,be=new RegExp(`(?<=(${ae}|^)\\*\\*${ae})\\.\\.(?=${ae}|$)`,"g");return k(F.replace(be,"\0")).replace(/\0/g,"..")}function Y(F,z={}){const{globstar:ne=!1}=z;if(!ne||F.length===0)return x(...F);let ae;for(const be of F){const Pe=be;Pe.length>0&&(ae?ae+=`${i}${Pe}`:ae=Pe)}return ae?xe(ae,{globstar:ne}):"."}return Nt.DELIMITER=h,Nt.SEPARATOR=i,Nt.SEPARATOR_PATTERN=f,Nt.basename=r,Nt.common=L,Nt.dirname=s,Nt.extname=l,Nt.format=v,Nt.fromFileUrl=b,Nt.globToRegExp=re,Nt.isAbsolute=C,Nt.isGlob=te,Nt.join=x,Nt.joinGlobs=Y,Nt.normalize=k,Nt.normalizeGlob=xe,Nt.parse=A,Nt.relative=M,Nt.resolve=I,Nt.toFileUrl=R,Nt.toNamespacedPath=N,Nt}var jt={},Nb;function YI(){if(Nb)return jt;Nb=1;function a(G){if(typeof G!="string")throw new TypeError(`Path must be a string, received "${JSON.stringify(G)}"`)}function e(G,J){if(J.length>=G.length)return G;const Te=G.length-J.length;for(let $=J.length-1;$>=0;--$)if(G.charCodeAt(Te+$)!==J.charCodeAt($))return G;return G.slice(0,-J.length)}function n(G,J,Te=0){let $=!1,se=G.length;for(let De=G.length-1;De>=Te;--De)if(J(G.charCodeAt(De))){if($){Te=De+1;break}}else $||($=!0,se=De+1);return G.slice(Te,se)}function o(G,J){if(a(G),G.length===0)return G;if(typeof J!="string")throw new TypeError(`Suffix must be a string, received "${JSON.stringify(J)}"`)}const t=65,c=97,p=90,u=122,r=46,h=47,i=92,f=58,m=63;function s(G,J){if(G.length<=1)return G;let Te=G.length;for(let $=G.length-1;$>0&&J(G.charCodeAt($));$--)Te=$;return G.slice(0,Te)}function l(G){return G===h}function d(G){return G===h||G===i}function g(G){return G>=c&&G<=u||G>=t&&G<=p}function v(G,J=""){o(G,J);let Te=0;if(G.length>=2){const De=G.charCodeAt(0);g(De)&&G.charCodeAt(1)===f&&(Te=2)}const $=n(G,d,Te),se=s($,d);return J?e(se,J):se}const S=";",b="\\",C=/[\\/]+/;function w(G){if(a(G),G.length===0)return"."}function E(G){w(G);const J=G.length;let Te=-1,$=-1,se=!0,De=0;const Le=G.charCodeAt(0);if(J>1)if(d(Le)){if(Te=De=1,d(G.charCodeAt(1))){let Fe=2,V=Fe;for(;Fe<J&&!d(G.charCodeAt(Fe));++Fe);if(Fe<J&&Fe!==V){for(V=Fe;Fe<J&&d(G.charCodeAt(Fe));++Fe);if(Fe<J&&Fe!==V){for(V=Fe;Fe<J&&!d(G.charCodeAt(Fe));++Fe);if(Fe===J)return G;Fe!==V&&(Te=De=Fe+1)}}}}else g(Le)&&G.charCodeAt(1)===f&&(Te=De=2,J>2&&d(G.charCodeAt(2))&&(Te=De=3));else if(d(Le))return G;for(let Fe=J-1;Fe>=De;--Fe)if(d(G.charCodeAt(Fe))){if(!se){$=Fe;break}}else se=!1;if($===-1){if(Te===-1)return".";$=Te}return s(G.slice(0,$),l)}function k(G){a(G);let J=0,Te=-1,$=0,se=-1,De=!0,Le=0;G.length>=2&&G.charCodeAt(1)===f&&g(G.charCodeAt(0))&&(J=$=2);for(let Fe=G.length-1;Fe>=J;--Fe){const V=G.charCodeAt(Fe);if(d(V)){if(!De){$=Fe+1;break}continue}se===-1&&(De=!1,se=Fe+1),V===r?Te===-1?Te=Fe:Le!==1&&(Le=1):Te!==-1&&(Le=-1)}return Te===-1||se===-1||Le===0||Le===1&&Te===se-1&&Te===$+1?"":G.slice(Te,se)}function x(G,J){const Te=J.dir||J.root,$=J.base||(J.name??"")+(J.ext??"");return Te?$===G?Te:Te===J.root?Te+$:Te+G+$:$}function A(G){if(G===null||typeof G!="object")throw new TypeError(`The "pathObject" argument must be of type Object, received type "${typeof G}"`)}function I(G){return A(G),x("\\",G)}function B(G){if(G=G instanceof URL?G:new URL(G),G.protocol!=="file:")throw new TypeError(`URL must be a file URL: received "${G.protocol}"`);return G}function M(G){G=B(G);let J=decodeURIComponent(G.pathname.replace(/\//g,"\\").replace(/%(?![0-9A-Fa-f]{2})/g,"%25")).replace(/^\\*([A-Za-z]:)(\\|$)/,"$1\\");return G.hostname!==""&&(J=`\\\\${G.hostname}${J}`),J}function P(G){a(G);const J=G.length;if(J===0)return!1;const Te=G.charCodeAt(0);return d(Te)?!0:!!(g(Te)&&J>2&&G.charCodeAt(1)===f&&d(G.charCodeAt(2)))}function D(G){if(a(G),G.length===0)return"."}function R(G,J,Te,$){let se="",De=0,Le=-1,Fe=0,V;for(let et=0;et<=G.length;++et){if(et<G.length)V=G.charCodeAt(et);else{if($(V))break;V=h}if($(V)){if(!(Le===et-1||Fe===1))if(Le!==et-1&&Fe===2){if(se.length<2||De!==2||se.charCodeAt(se.length-1)!==r||se.charCodeAt(se.length-2)!==r){if(se.length>2){const nt=se.lastIndexOf(Te);nt===-1?(se="",De=0):(se=se.slice(0,nt),De=se.length-1-se.lastIndexOf(Te)),Le=et,Fe=0;continue}else if(se.length===2||se.length===1){se="",De=0,Le=et,Fe=0;continue}}J&&(se.length>0?se+=`${Te}..`:se="..",De=2)}else se.length>0?se+=Te+G.slice(Le+1,et):se=G.slice(Le+1,et),De=et-Le-1;Le=et,Fe=0}else V===r&&Fe!==-1?++Fe:Fe=-1}return se}function N(G){D(G);const J=G.length;let Te=0,$,se=!1;const De=G.charCodeAt(0);if(J>1)if(d(De))if(se=!0,d(G.charCodeAt(1))){let Fe=2,V=Fe;for(;Fe<J&&!d(G.charCodeAt(Fe));++Fe);if(Fe<J&&Fe!==V){const et=G.slice(V,Fe);for(V=Fe;Fe<J&&d(G.charCodeAt(Fe));++Fe);if(Fe<J&&Fe!==V){for(V=Fe;Fe<J&&!d(G.charCodeAt(Fe));++Fe);if(Fe===J)return`\\\\${et}\\${G.slice(V)}\\`;Fe!==V&&($=`\\\\${et}\\${G.slice(V,Fe)}`,Te=Fe)}}}else Te=1;else g(De)&&G.charCodeAt(1)===f&&($=G.slice(0,2),Te=2,J>2&&d(G.charCodeAt(2))&&(se=!0,Te=3));else if(d(De))return"\\";let Le;return Te<J?Le=R(G.slice(Te),!se,"\\",d):Le="",Le.length===0&&!se&&(Le="."),Le.length>0&&d(G.charCodeAt(J-1))&&(Le+="\\"),$===void 0?se?Le.length>0?`\\${Le}`:"\\":Le:se?Le.length>0?`${$}\\${Le}`:`${$}\\`:$+Le}function q(...G){if(G.forEach(De=>a(De)),G=G.filter(De=>De.length>0),G.length===0)return".";let J=!0,Te=0;const $=G[0];if(d($.charCodeAt(0))){++Te;const De=$.length;De>1&&d($.charCodeAt(1))&&(++Te,De>2&&(d($.charCodeAt(2))?++Te:J=!1))}let se=G.join("\\");if(J){for(;Te<se.length&&d(se.charCodeAt(Te));++Te);Te>=2&&(se=`\\${se.slice(Te)}`)}return N(se)}function L(G){a(G);const J={root:"",dir:"",base:"",ext:"",name:""},Te=G.length;if(Te===0)return J;let $=0,se=G.charCodeAt(0);if(Te>1){if(d(se)){if($=1,d(G.charCodeAt(1))){let lt=2,Qe=lt;for(;lt<Te&&!d(G.charCodeAt(lt));++lt);if(lt<Te&&lt!==Qe){for(Qe=lt;lt<Te&&d(G.charCodeAt(lt));++lt);if(lt<Te&&lt!==Qe){for(Qe=lt;lt<Te&&!d(G.charCodeAt(lt));++lt);lt===Te?$=lt:lt!==Qe&&($=lt+1)}}}}else if(g(se)&&G.charCodeAt(1)===f)if($=2,Te>2){if(d(G.charCodeAt(2))){if(Te===3)return J.root=J.dir=G,J.base="\\",J;$=3}}else return J.root=J.dir=G,J}else if(d(se))return J.root=J.dir=G,J.base="\\",J;$>0&&(J.root=G.slice(0,$));let De=-1,Le=$,Fe=-1,V=!0,et=G.length-1,nt=0;for(;et>=$;--et){if(se=G.charCodeAt(et),d(se)){if(!V){Le=et+1;break}continue}Fe===-1&&(V=!1,Fe=et+1),se===r?De===-1?De=et:nt!==1&&(nt=1):De!==-1&&(nt=-1)}return De===-1||Fe===-1||nt===0||nt===1&&De===Fe-1&&De===Le+1?Fe!==-1&&(J.base=J.name=G.slice(Le,Fe)):(J.name=G.slice(Le,De),J.base=G.slice(Le,Fe),J.ext=G.slice(De,Fe)),J.base=J.base||"\\",Le>0&&Le!==$?J.dir=G.slice(0,Le-1):J.dir=J.root,J}function W(...G){var se;let J="",Te="",$=!1;for(let De=G.length-1;De>=-1;De--){let Le;const{Deno:Fe}=globalThis;if(De>=0)Le=G[De];else if(J){if(typeof((se=Fe==null?void 0:Fe.env)==null?void 0:se.get)!="function"||typeof(Fe==null?void 0:Fe.cwd)!="function")throw new TypeError("Resolved a relative path without a current working directory (CWD)");Le=Fe.cwd(),(Le===void 0||Le.slice(0,3).toLowerCase()!==`${J.toLowerCase()}\\`)&&(Le=`${J}\\`)}else{if(typeof(Fe==null?void 0:Fe.cwd)!="function")throw new TypeError("Resolved a drive-letter-less path without a current working directory (CWD)");Le=Fe.cwd()}a(Le);const V=Le.length;if(V===0)continue;let et=0,nt="",lt=!1;const Qe=Le.charCodeAt(0);if(V>1)if(d(Qe))if(lt=!0,d(Le.charCodeAt(1))){let Xe=2,pt=Xe;for(;Xe<V&&!d(Le.charCodeAt(Xe));++Xe);if(Xe<V&&Xe!==pt){const tt=Le.slice(pt,Xe);for(pt=Xe;Xe<V&&d(Le.charCodeAt(Xe));++Xe);if(Xe<V&&Xe!==pt){for(pt=Xe;Xe<V&&!d(Le.charCodeAt(Xe));++Xe);Xe===V?(nt=`\\\\${tt}\\${Le.slice(pt)}`,et=Xe):Xe!==pt&&(nt=`\\\\${tt}\\${Le.slice(pt,Xe)}`,et=Xe)}}}else et=1;else g(Qe)&&Le.charCodeAt(1)===f&&(nt=Le.slice(0,2),et=2,V>2&&d(Le.charCodeAt(2))&&(lt=!0,et=3));else d(Qe)&&(et=1,lt=!0);if(!(nt.length>0&&J.length>0&&nt.toLowerCase()!==J.toLowerCase())&&(J.length===0&&nt.length>0&&(J=nt),$||(Te=`${Le.slice(et)}\\${Te}`,$=lt),$&&J.length>0))break}return Te=R(Te,!$,"\\",d),J+($?"\\":"")+Te||"."}function _(G,J){if(a(G),a(J),G===J)return""}function H(G,J){_(G,J);const Te=W(G),$=W(J);if(Te===$||(G=Te.toLowerCase(),J=$.toLowerCase(),G===J))return"";let se=0,De=G.length;for(;se<De&&G.charCodeAt(se)===i;++se);for(;De-1>se&&G.charCodeAt(De-1)===i;--De);const Le=De-se;let Fe=0,V=J.length;for(;Fe<V&&J.charCodeAt(Fe)===i;++Fe);for(;V-1>Fe&&J.charCodeAt(V-1)===i;--V);const et=V-Fe,nt=Le<et?Le:et;let lt=-1,Qe=0;for(;Qe<=nt;++Qe){if(Qe===nt){if(et>nt){if(J.charCodeAt(Fe+Qe)===i)return $.slice(Fe+Qe+1);if(Qe===2)return $.slice(Fe+Qe)}Le>nt&&(G.charCodeAt(se+Qe)===i?lt=Qe:Qe===2&&(lt=3));break}const pt=G.charCodeAt(se+Qe),tt=J.charCodeAt(Fe+Qe);if(pt!==tt)break;pt===i&&(lt=Qe)}if(Qe!==nt&&lt===-1)return $;let Xe="";for(lt===-1&&(lt=0),Qe=se+lt+1;Qe<=De;++Qe)(Qe===De||G.charCodeAt(Qe)===i)&&(Xe.length===0?Xe+="..":Xe+="\\..");return Xe.length>0?Xe+$.slice(Fe+lt,V):(Fe+=lt,$.charCodeAt(Fe)===i&&++Fe,$.slice(Fe,V))}const K={" ":"%09","\n":"%0A","\v":"%0B","\f":"%0C","\r":"%0D"," ":"%20"};function re(G){return G.replaceAll(/[\s]/g,J=>K[J]??J)}function te(G){if(!P(G))throw new TypeError(`Path must be absolute: received "${G}"`);const[,J,Te]=G.match(/^(?:[/\\]{2}([^/\\]+)(?=[/\\](?:[^/\\]|$)))?(.*)/),$=new URL("file:///");if($.pathname=re(Te.replace(/%/g,"%25")),J!==void 0&&J!=="localhost"&&($.hostname=J,!$.hostname))throw new TypeError(`Invalid hostname: "${$.hostname}"`);return $}function xe(G){if(typeof G!="string")return G;if(G.length===0)return"";const J=W(G);if(J.length>=3){if(J.charCodeAt(0)===i){if(J.charCodeAt(1)===i){const Te=J.charCodeAt(2);if(Te!==m&&Te!==r)return`\\\\?\\UNC\\${J.slice(2)}`}}else if(g(J.charCodeAt(0))&&J.charCodeAt(1)===f&&J.charCodeAt(2)===i)return`\\\\?\\${J}`}return G}function Y(G,J){const[Te="",...$]=G,se=Te.split(J);let De=se.length,Le="";for(const Fe of $){const V=Fe.split(J);V.length<=De&&(De=V.length,Le="");for(let et=0;et<De;et++)if(V[et]!==se[et]){De=et,Le=et===0?"":J;break}}return se.slice(0,De).join(J)+Le}function F(G){return Y(G,b)}const z=["!","$","(",")","*","+",".","=","?","[","\\","^","{","|"],ne=["-","\\","]"];function ae(G,J,{extended:Te=!0,globstar:$=!0,caseInsensitive:se=!1}={}){if(J==="")return/(?!)/;let De=J.length;for(;De>1&&G.seps.includes(J[De-1]);De--);J=J.slice(0,De);let Le="";for(let Fe=0;Fe<J.length;){let V="";const et=[];let nt=!1,lt=!1,Qe=!1,Xe=Fe;for(;Xe<J.length&&!G.seps.includes(J[Xe]);Xe++){if(lt){lt=!1,V+=(nt?ne:z).includes(J[Xe])?`\\${J[Xe]}`:J[Xe];continue}if(J[Xe]===G.escapePrefix){lt=!0;continue}if(J[Xe]==="[")if(nt){if(J[Xe+1]===":"){let pt=Xe+1,tt="";for(;J[pt+1]!==void 0&&J[pt+1]!==":";)tt+=J[pt+1],pt++;if(J[pt+1]===":"&&J[pt+2]==="]"){Xe=pt+2,tt==="alnum"?V+="\\dA-Za-z":tt==="alpha"?V+="A-Za-z":tt==="ascii"?V+="\0-":tt==="blank"?V+=" ":tt==="cntrl"?V+="\0-":tt==="digit"?V+="\\d":tt==="graph"?V+="!-~":tt==="lower"?V+="a-z":tt==="print"?V+=" -~":tt==="punct"?V+=`!"#$%&'()*+,\\-./:;<=>?@[\\\\\\]^_‘{|}~`:tt==="space"?V+="\\s\v":tt==="upper"?V+="A-Z":tt==="word"?V+="\\w":tt==="xdigit"&&(V+="\\dA-Fa-f");continue}}}else{nt=!0,V+="[",J[Xe+1]==="!"?(Xe++,V+="^"):J[Xe+1]==="^"&&(Xe++,V+="\\^");continue}if(J[Xe]==="]"&&nt){nt=!1,V+="]";continue}if(nt){V+=J[Xe];continue}if(J[Xe]===")"&&et.length>0&&et[et.length-1]!=="BRACE"){V+=")";const pt=et.pop();pt==="!"?V+=G.wildcard:pt!=="@"&&(V+=pt);continue}if(J[Xe]==="|"&&et.length>0&&et[et.length-1]!=="BRACE"){V+="|";continue}if(J[Xe]==="+"&&Te&&J[Xe+1]==="("){Xe++,et.push("+"),V+="(?:";continue}if(J[Xe]==="@"&&Te&&J[Xe+1]==="("){Xe++,et.push("@"),V+="(?:";continue}if(J[Xe]==="?"){Te&&J[Xe+1]==="("?(Xe++,et.push("?"),V+="(?:"):V+=".";continue}if(J[Xe]==="!"&&Te&&J[Xe+1]==="("){Xe++,et.push("!"),V+="(?!";continue}if(J[Xe]==="{"){et.push("BRACE"),V+="(?:";continue}if(J[Xe]==="}"&&et[et.length-1]==="BRACE"){et.pop(),V+=")";continue}if(J[Xe]===","&&et[et.length-1]==="BRACE"){V+="|";continue}if(J[Xe]==="*"){if(Te&&J[Xe+1]==="(")Xe++,et.push("*"),V+="(?:";else{const pt=J[Xe-1];let tt=1;for(;J[Xe+1]==="*";)Xe++,tt++;const Dt=J[Xe+1];$&&tt===2&&[...G.seps,void 0].includes(pt)&&[...G.seps,void 0].includes(Dt)?(V+=G.globstar,Qe=!0):V+=G.wildcard}continue}V+=z.includes(J[Xe])?`\\${J[Xe]}`:J[Xe]}if(et.length>0||nt||lt){V="";for(const pt of J.slice(Fe,Xe))V+=z.includes(pt)?`\\${pt}`:pt,Qe=!1}for(Le+=V,Qe||(Le+=Xe<J.length?G.sep:G.sepMaybe,Qe=!0);G.seps.includes(J[Xe]);)Xe++;Fe=Xe}return Le=`^${Le}$`,new RegExp(Le,se?"i":"")}const be={sep:"(?:\\\\|/)+",sepMaybe:"(?:\\\\|/)*",seps:["\\","/"],globstar:"(?:[^\\\\/]*(?:\\\\|/|$)+)*",wildcard:"[^\\\\/]*",escapePrefix:"`"};function Pe(G,J={}){return ae(be,G,J)}function Ie(G){const J={"{":"}","(":")","[":"]"},Te=/\\(.)|(^!|\*|\?|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/;if(G==="")return!1;let $;for(;$=Te.exec(G);){if($[2])return!0;let se=$.index+$[0].length;const De=$[1],Le=De?J[De]:null;if(De&&Le){const Fe=G.indexOf(Le,se);Fe!==-1&&(se=Fe+1)}G=G.slice(se)}return!1}function ue(G,J={}){const{globstar:Te=!1}=J;if(G.match(/\0/g))throw new Error(`Glob contains invalid characters: "${G}"`);if(!Te)return N(G);const $=C.source,se=new RegExp(`(?<=(${$}|^)\\*\\*${$})\\.\\.(?=${$}|$)`,"g");return N(G.replace(se,"\0")).replace(/\0/g,"..")}function ve(G,J={}){const{globstar:Te=!1}=J;if(!Te||G.length===0)return q(...G);let $;for(const se of G){const De=se;De.length>0&&($?$+=`${b}${De}`:$=De)}return $?ue($,{globstar:Te}):"."}return jt.DELIMITER=S,jt.SEPARATOR=b,jt.SEPARATOR_PATTERN=C,jt.basename=v,jt.common=F,jt.dirname=E,jt.extname=k,jt.format=I,jt.fromFileUrl=M,jt.globToRegExp=Pe,jt.isAbsolute=P,jt.isGlob=Ie,jt.join=q,jt.joinGlobs=ve,jt.normalize=N,jt.normalizeGlob=ue,jt.parse=L,jt.relative=H,jt.resolve=W,jt.toFileUrl=te,jt.toNamespacedPath=xe,jt}var ep,jb;function QI(){if(jb)return ep;jb=1,ep=function(e,n){for(var o=[],t=0;t<e.length;t++){var c=n(e[t],t);a(c)?o.push.apply(o,c):o.push(c)}return o};var a=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};return ep}var tp,Mb;function ZI(){if(Mb)return tp;Mb=1,tp=a;function a(o,t,c){o instanceof RegExp&&(o=e(o,c)),t instanceof RegExp&&(t=e(t,c));var p=n(o,t,c);return p&&{start:p[0],end:p[1],pre:c.slice(0,p[0]),body:c.slice(p[0]+o.length,p[1]),post:c.slice(p[1]+t.length)}}function e(o,t){var c=t.match(o);return c?c[0]:null}a.range=n;function n(o,t,c){var p,u,r,h,i,f=c.indexOf(o),m=c.indexOf(t,f+1),s=f;if(f>=0&&m>0){if(o===t)return[f,m];for(p=[],r=c.length;s>=0&&!i;)s==f?(p.push(s),f=c.indexOf(o,s+1)):p.length==1?i=[p.pop(),m]:(u=p.pop(),u<r&&(r=u,h=m),m=c.indexOf(t,s+1)),s=f<m&&f>=0?f:m;p.length&&(i=[r,h])}return i}return tp}var rp,Ub;function eP(){if(Ub)return rp;Ub=1;var a=QI(),e=ZI();rp=f;var n="\0SLASH"+Math.random()+"\0",o="\0OPEN"+Math.random()+"\0",t="\0CLOSE"+Math.random()+"\0",c="\0COMMA"+Math.random()+"\0",p="\0PERIOD"+Math.random()+"\0";function u(v){return parseInt(v,10)==v?parseInt(v,10):v.charCodeAt(0)}function r(v){return v.split("\\\\").join(n).split("\\{").join(o).split("\\}").join(t).split("\\,").join(c).split("\\.").join(p)}function h(v){return v.split(n).join("\\").split(o).join("{").split(t).join("}").split(c).join(",").split(p).join(".")}function i(v){if(!v)return[""];var S=[],b=e("{","}",v);if(!b)return v.split(",");var C=b.pre,w=b.body,E=b.post,k=C.split(",");k[k.length-1]+="{"+w+"}";var x=i(E);return E.length&&(k[k.length-1]+=x.shift(),k.push.apply(k,x)),S.push.apply(S,k),S}function f(v){return v?(v.substr(0,2)==="{}"&&(v="\\{\\}"+v.substr(2)),g(r(v),!0).map(h)):[]}function m(v){return"{"+v+"}"}function s(v){return/^-?0\d/.test(v)}function l(v,S){return v<=S}function d(v,S){return v>=S}function g(v,S){var b=[],C=e("{","}",v);if(!C||/\$$/.test(C.pre))return[v];var w=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(C.body),E=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(C.body),k=w||E,x=C.body.indexOf(",")>=0;if(!k&&!x)return C.post.match(/,.*\}/)?(v=C.pre+"{"+C.body+t+C.post,g(v)):[v];var A;if(k)A=C.body.split(/\.\./);else if(A=i(C.body),A.length===1&&(A=g(A[0],!1).map(m),A.length===1)){var B=C.post.length?g(C.post,!1):[""];return B.map(function(z){return C.pre+A[0]+z})}var I=C.pre,B=C.post.length?g(C.post,!1):[""],M;if(k){var P=u(A[0]),D=u(A[1]),R=Math.max(A[0].length,A[1].length),N=A.length==3?Math.abs(u(A[2])):1,q=l,L=D<P;L&&(N*=-1,q=d);var W=A.some(s);M=[];for(var _=P;q(_,D);_+=N){var H;if(E)H=String.fromCharCode(_),H==="\\"&&(H="");else if(H=String(_),W){var K=R-H.length;if(K>0){var re=new Array(K+1).join("0");_<0?H="-"+re+H.slice(1):H=re+H}}M.push(H)}}else M=a(A,function(F){return g(F,!1)});for(var te=0;te<M.length;te++)for(var xe=0;xe<B.length;xe++){var Y=I+M[te]+B[xe];(!S||k||Y)&&b.push(Y)}return b}return rp}var np,qb;function tP(){if(qb)return np;qb=1,np=s,s.Minimatch=l;var a=function(){try{return Sn}catch{}}()||{sep:"/"};s.sep=a.sep;var e=s.GLOBSTAR=l.GLOBSTAR={},n=eP(),o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},t="[^/]",c=t+"*?",p="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",u="(?:(?!(?:\\/|^)\\.).)*?",r=h("().*{}+?[]^$\\!");function h(A){return A.split("").reduce(function(I,B){return I[B]=!0,I},{})}var i=/\/+/;s.filter=f;function f(A,I){return I=I||{},function(B,M,P){return s(B,A,I)}}function m(A,I){I=I||{};var B={};return Object.keys(A).forEach(function(M){B[M]=A[M]}),Object.keys(I).forEach(function(M){B[M]=I[M]}),B}s.defaults=function(A){if(!A||typeof A!="object"||!Object.keys(A).length)return s;var I=s,B=function(P,D,R){return I(P,D,m(A,R))};return B.Minimatch=function(P,D){return new I.Minimatch(P,m(A,D))},B.Minimatch.defaults=function(P){return I.defaults(m(A,P)).Minimatch},B.filter=function(P,D){return I.filter(P,m(A,D))},B.defaults=function(P){return I.defaults(m(A,P))},B.makeRe=function(P,D){return I.makeRe(P,m(A,D))},B.braceExpand=function(P,D){return I.braceExpand(P,m(A,D))},B.match=function(M,P,D){return I.match(M,P,m(A,D))},B},l.defaults=function(A){return s.defaults(A).Minimatch};function s(A,I,B){return b(I),B||(B={}),!B.nocomment&&I.charAt(0)==="#"?!1:new l(I,B).match(A)}function l(A,I){if(!(this instanceof l))return new l(A,I);b(A),I||(I={}),A=A.trim(),!I.allowWindowsEscape&&a.sep!=="/"&&(A=A.split(a.sep).join("/")),this.options=I,this.set=[],this.pattern=A,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!I.partial,this.make()}l.prototype.debug=function(){},l.prototype.make=d;function d(){var A=this.pattern,I=this.options;if(!I.nocomment&&A.charAt(0)==="#"){this.comment=!0;return}if(!A){this.empty=!0;return}this.parseNegate();var B=this.globSet=this.braceExpand();I.debug&&(this.debug=function(){console.error.apply(console,arguments)}),this.debug(this.pattern,B),B=this.globParts=B.map(function(M){return M.split(i)}),this.debug(this.pattern,B),B=B.map(function(M,P,D){return M.map(this.parse,this)},this),this.debug(this.pattern,B),B=B.filter(function(M){return M.indexOf(!1)===-1}),this.debug(this.pattern,B),this.set=B}l.prototype.parseNegate=g;function g(){var A=this.pattern,I=!1,B=this.options,M=0;if(!B.nonegate){for(var P=0,D=A.length;P<D&&A.charAt(P)==="!";P++)I=!I,M++;M&&(this.pattern=A.substr(M)),this.negate=I}}s.braceExpand=function(A,I){return v(A,I)},l.prototype.braceExpand=v;function v(A,I){return I||(this instanceof l?I=this.options:I={}),A=typeof A>"u"?this.pattern:A,b(A),I.nobrace||!/\{(?:(?!\{).)*\}/.test(A)?[A]:n(A)}var S=1024*64,b=function(A){if(typeof A!="string")throw new TypeError("invalid pattern");if(A.length>S)throw new TypeError("pattern is too long")};l.prototype.parse=w;var C={};function w(A,I){b(A);var B=this.options;if(A==="**")if(B.noglobstar)A="*";else return e;if(A==="")return"";var M="",P=!!B.nocase,D=!1,R=[],N=[],q,L=!1,W=-1,_=-1,H=A.charAt(0)==="."?"":B.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",K=this;function re(){if(q){switch(q){case"*":M+=c,P=!0;break;case"?":M+=t,P=!0;break;default:M+="\\"+q;break}K.debug("clearStateChar %j %j",q,M),q=!1}}for(var te=0,xe=A.length,Y;te<xe&&(Y=A.charAt(te));te++){if(this.debug("%s %s %s %j",A,te,M,Y),D&&r[Y]){M+="\\"+Y,D=!1;continue}switch(Y){case"/":return!1;case"\\":re(),D=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",A,te,M,Y),L){this.debug(" in class"),Y==="!"&&te===_+1&&(Y="^"),M+=Y;continue}K.debug("call clearStateChar %j",q),re(),q=Y,B.noext&&re();continue;case"(":if(L){M+="(";continue}if(!q){M+="\\(";continue}R.push({type:q,start:te-1,reStart:M.length,open:o[q].open,close:o[q].close}),M+=q==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",q,M),q=!1;continue;case")":if(L||!R.length){M+="\\)";continue}re(),P=!0;var F=R.pop();M+=F.close,F.type==="!"&&N.push(F),F.reEnd=M.length;continue;case"|":if(L||!R.length||D){M+="\\|",D=!1;continue}re(),M+="|";continue;case"[":if(re(),L){M+="\\"+Y;continue}L=!0,_=te,W=M.length,M+=Y;continue;case"]":if(te===_+1||!L){M+="\\"+Y,D=!1;continue}var z=A.substring(_+1,te);try{RegExp("["+z+"]")}catch{var ne=this.parse(z,C);M=M.substr(0,W)+"\\["+ne[0]+"\\]",P=P||ne[1],L=!1;continue}P=!0,L=!1,M+=Y;continue;default:re(),D?D=!1:r[Y]&&!(Y==="^"&&L)&&(M+="\\"),M+=Y}}for(L&&(z=A.substr(_+1),ne=this.parse(z,C),M=M.substr(0,W)+"\\["+ne[0],P=P||ne[1]),F=R.pop();F;F=R.pop()){var ae=M.slice(F.reStart+F.open.length);this.debug("setting tail",M,F),ae=ae.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(et,nt,lt){return lt||(lt="\\"),nt+nt+lt+"|"}),this.debug(`tail=%j
119
- %s`,ae,ae,F,M);var be=F.type==="*"?c:F.type==="?"?t:"\\"+F.type;P=!0,M=M.slice(0,F.reStart)+be+"\\("+ae}re(),D&&(M+="\\\\");var Pe=!1;switch(M.charAt(0)){case"[":case".":case"(":Pe=!0}for(var Ie=N.length-1;Ie>-1;Ie--){var ue=N[Ie],ve=M.slice(0,ue.reStart),G=M.slice(ue.reStart,ue.reEnd-8),J=M.slice(ue.reEnd-8,ue.reEnd),Te=M.slice(ue.reEnd);J+=Te;var $=ve.split("(").length-1,se=Te;for(te=0;te<$;te++)se=se.replace(/\)[+*?]?/,"");Te=se;var De="";Te===""&&I!==C&&(De="$");var Le=ve+G+Te+De+J;M=Le}if(M!==""&&P&&(M="(?=.)"+M),Pe&&(M=H+M),I===C)return[M,P];if(!P)return k(A);var Fe=B.nocase?"i":"";try{var V=new RegExp("^"+M+"$",Fe)}catch{return new RegExp("$.")}return V._glob=A,V._src=M,V}s.makeRe=function(A,I){return new l(A,I||{}).makeRe()},l.prototype.makeRe=E;function E(){if(this.regexp||this.regexp===!1)return this.regexp;var A=this.set;if(!A.length)return this.regexp=!1,this.regexp;var I=this.options,B=I.noglobstar?c:I.dot?p:u,M=I.nocase?"i":"",P=A.map(function(D){return D.map(function(R){return R===e?B:typeof R=="string"?x(R):R._src}).join("\\/")}).join("|");P="^(?:"+P+")$",this.negate&&(P="^(?!"+P+").*$");try{this.regexp=new RegExp(P,M)}catch{this.regexp=!1}return this.regexp}s.match=function(A,I,B){B=B||{};var M=new l(I,B);return A=A.filter(function(P){return M.match(P)}),M.options.nonull&&!A.length&&A.push(I),A},l.prototype.match=function(I,B){if(typeof B>"u"&&(B=this.partial),this.debug("match",I,this.pattern),this.comment)return!1;if(this.empty)return I==="";if(I==="/"&&B)return!0;var M=this.options;a.sep!=="/"&&(I=I.split(a.sep).join("/")),I=I.split(i),this.debug(this.pattern,"split",I);var P=this.set;this.debug(this.pattern,"set",P);var D,R;for(R=I.length-1;R>=0&&(D=I[R],!D);R--);for(R=0;R<P.length;R++){var N=P[R],q=I;M.matchBase&&N.length===1&&(q=[D]);var L=this.matchOne(q,N,B);if(L)return M.flipNegate?!0:!this.negate}return M.flipNegate?!1:this.negate},l.prototype.matchOne=function(A,I,B){var M=this.options;this.debug("matchOne",{this:this,file:A,pattern:I}),this.debug("matchOne",A.length,I.length);for(var P=0,D=0,R=A.length,N=I.length;P<R&&D<N;P++,D++){this.debug("matchOne loop");var q=I[D],L=A[P];if(this.debug(I,q,L),q===!1)return!1;if(q===e){this.debug("GLOBSTAR",[I,q,L]);var W=P,_=D+1;if(_===N){for(this.debug("** at the end");P<R;P++)if(A[P]==="."||A[P]===".."||!M.dot&&A[P].charAt(0)===".")return!1;return!0}for(;W<R;){var H=A[W];if(this.debug(`
120
- globstar while`,A,W,I,_,H),this.matchOne(A.slice(W),I.slice(_),B))return this.debug("globstar found match!",W,R,H),!0;if(H==="."||H===".."||!M.dot&&H.charAt(0)==="."){this.debug("dot detected!",A,W,I,_);break}this.debug("globstar swallow a segment, and continue"),W++}return!!(B&&(this.debug(`
121
- >>> no match, partial?`,A,W,I,_),W===R))}var K;if(typeof q=="string"?(K=L===q,this.debug("string match",q,L,K)):(K=L.match(q),this.debug("pattern match",q,L,K)),!K)return!1}if(P===R&&D===N)return!0;if(P===R)return B;if(D===N)return P===R-1&&A[P]==="";throw new Error("wtf?")};function k(A){return A.replace(/\\(.)/g,"$1")}function x(A){return A.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}return np}var pn={},Vb;function rP(){var r,h;if(Vb)return pn;Vb=1;class a{static overwrite(m,s){return s}static replace(m,s){return typeof s<"u"?s:m}static assign(m,s){return Object.assign({},m,s)}}class e{static array(m){if(!Array.isArray(m))throw new TypeError("Expected an array.")}static boolean(m){if(typeof m!="boolean")throw new TypeError("Expected a Boolean.")}static number(m){if(typeof m!="number")throw new TypeError("Expected a number.")}static object(m){if(!m||typeof m!="object")throw new TypeError("Expected an object.")}static"object?"(m){if(typeof m!="object")throw new TypeError("Expected an object or null.")}static string(m){if(typeof m!="string")throw new TypeError("Expected a string.")}static"string!"(m){if(typeof m!="string"||m.length===0)throw new TypeError("Expected a non-empty string.")}}function n(f,m){let s=!1;if(m.schema)if(typeof m.schema=="object")s=!0;else throw new TypeError("Schema must be an object.");if(typeof m.merge=="string"){if(!(m.merge in a))throw new TypeError(`Definition for key "${f}" missing valid merge strategy.`)}else if(!s&&typeof m.merge!="function")throw new TypeError(`Definition for key "${f}" must have a merge property.`);if(typeof m.validate=="string"){if(!(m.validate in e))throw new TypeError(`Definition for key "${f}" missing valid validation strategy.`)}else if(!s&&typeof m.validate!="function")throw new TypeError(`Definition for key "${f}" must have a validate() method.`)}class o extends Error{constructor(m){super(`Unexpected key "${m}" found.`)}}class t extends Error{constructor(m){super(`Missing required key "${m}".`)}}class c extends Error{constructor(m,s){super(`Key "${m}" requires keys "${s.join('", "')}".`)}}class p extends Error{constructor(m,s){super(`Key "${m}": ${s.message}`,{cause:s});for(const l of Object.keys(s))l in this||(this[l]=s[l])}}const i=class i{constructor(m){Xt(this,r,new Map);Xt(this,h,new Map);if(!m)throw new Error("Schema definitions missing.");for(const s of Object.keys(m)){if(n(s,m[s]),typeof m[s].schema=="object"){const l=new i(m[s].schema);m[s]={...m[s],merge(d={},g={}){return l.merge(d,g)},validate(d){e.object(d),l.validate(d)}}}typeof m[s].merge=="string"&&(m[s]={...m[s],merge:a[m[s].merge]}),typeof m[s].validate=="string"&&(m[s]={...m[s],validate:e[m[s].validate]}),Tt(this,r).set(s,m[s]),m[s].required&&Tt(this,h).set(s,m[s])}}hasKey(m){return Tt(this,r).has(m)}merge(...m){if(m.length<2)throw new TypeError("merge() requires at least two arguments.");if(m.some(s=>s===null||typeof s!="object"))throw new TypeError("All arguments must be objects.");return m.reduce((s,l)=>{this.validate(l);for(const[d,g]of Tt(this,r))try{if(d in s||d in l){const S=g.merge.call(this,s[d],l[d]);S!==void 0&&(s[d]=S)}}catch(v){throw new p(d,v)}return s},{})}validate(m){for(const s of Object.keys(m)){if(!this.hasKey(s))throw new o(s);const l=Tt(this,r).get(s);if(Array.isArray(l.requires)&&!l.requires.every(d=>d in m))throw new c(s,l.requires);try{l.validate.call(l,m[s])}catch(d){throw new p(s,d)}}for(const[s]of Tt(this,h))if(!(s in m))throw new t(s)}};r=new WeakMap,h=new WeakMap;let u=i;return pn.MergeStrategy=a,pn.ObjectSchema=u,pn.ValidationStrategy=e,pn}var $b;function Wb(){return $b||($b=1,function(a){var Pe,Ie;var e=JI(),n=YI(),o=tP(),t=Rr(),c=rP();function p(ue){var ve=Object.create(null);return ue&&Object.keys(ue).forEach(function(G){if(G!=="default"){var J=Object.getOwnPropertyDescriptor(ue,G);Object.defineProperty(ve,G,J.get?J:{enumerable:!0,get:function(){return ue[G]}})}}),ve.default=ue,Object.freeze(ve)}var u=p(e),r=p(n);const h={required:!1,merge(){},validate(){}},i=Object.freeze({name:{required:!1,merge(){},validate(ue){if(typeof ue!="string")throw new TypeError("Property must be a string.")}},files:h,ignores:h});function f(ue){if(!Array.isArray(ue))throw new TypeError("Expected value to be an array.")}function m(ue){if(f(ue),ue.some(ve=>typeof ve!="string"&&typeof ve!="function"))throw new TypeError("Expected array to only contain strings and functions.")}function s(ue){if(!Array.isArray(ue)||ue.length===0)throw new TypeError("Expected value to be a non-empty array.")}const l=Object.freeze({files:{required:!1,merge(){},validate(ue){s(ue),ue.forEach(ve=>{if(Array.isArray(ve))m(ve);else if(typeof ve!="string"&&typeof ve!="function")throw new TypeError("Items must be a string, a function, or an array of strings and functions.")})}},ignores:{required:!1,merge(){},validate:m}}),d=o.Minimatch,g=t("@eslint/config-array"),v=new Map,S=new Map,b={dot:!0,allowWindowsEscape:!0},C=new Set(["array","function"]),w=new Set(["name"]),E=new c.ObjectSchema(l),k=Object.freeze({status:"external"}),x=Object.freeze({status:"ignored"}),A=Object.freeze({status:"unconfigured"}),I=/^\.\.(?:\/|$)/u;class B extends Error{constructor(ve,G,{cause:J,message:Te}){const $=Te||J.message;if(super(`Config ${ve}: ${$}`,{cause:J}),J)for(const se of Object.keys(J))se in this||(this[se]=J[se]);this.name="ConfigError",this.index=G}}function M(ue){return ue&&typeof ue.name=="string"&&ue.name?`"${ue.name}"`:"(unnamed)"}function P(ue,ve,G){const J=M(ue);throw new B(J,ve,{cause:G})}function D(ue){return typeof ue=="string"}function R(ue,ve){if(ue===null)throw new B(M(ue),ve,{message:"Unexpected null config."});if(ue===void 0)throw new B(M(ue),ve,{message:"Unexpected undefined config."});if(typeof ue!="object")throw new B(M(ue),ve,{message:"Unexpected non-object config."});const G={};"files"in ue&&(G.files=ue.files),"ignores"in ue&&(G.ignores=ue.ignores);try{E.validate(G)}catch(J){P(ue,ve,J)}}function N(ue,ve,G={}){let J=v;G.flipNegate&&(J=S);let Te=J.get(ve);return Te||(Te=new d(ve,Object.assign({},b,G)),J.set(ve,Te)),Te.match(ue)}function q(ue){if(D(ue)){if(ue.startsWith("./"))return ue.slice(2);if(ue.startsWith("!./"))return`!${ue.slice(3)}`}return ue}function L(ue){return D(ue)&&(ue.startsWith("./")||ue.startsWith("!./"))}function W(ue){if(!ue)return ue;let ve=!1;if(Array.isArray(ue.files)&&(ve=ue.files.some(J=>Array.isArray(J)?J.some(L):L(J))),!ve&&Array.isArray(ue.ignores)&&(ve=ue.ignores.some(L)),!ve)return ue;const G={...ue};return Array.isArray(G.files)&&(G.files=G.files.map(J=>Array.isArray(J)?J.map(q):q(J))),Array.isArray(G.ignores)&&(G.ignores=G.ignores.map(q)),G}async function _(ue,ve,G){const J=G.includes("function"),Te=G.includes("array");async function*$(Le){for(let Fe of Le){if(typeof Fe=="function"){if(!J)throw new TypeError("Unexpected function.");Fe=Fe(ve),Fe.then&&(Fe=await Fe)}if(Array.isArray(Fe)){if(!Te)throw new TypeError("Unexpected array.");yield*$(Fe)}else{if(typeof Fe=="function")throw new TypeError("A config function can only return an object or array.");yield Fe}}}const se=await $(ue),De=[];for await(const Le of se)De.push(W(Le));return De}function H(ue,ve,G){const J=G.includes("function"),Te=G.includes("array");function*$(De){for(let Le of De){if(typeof Le=="function"){if(!J)throw new TypeError("Unexpected function.");if(Le=Le(ve),Le.then)throw new TypeError("Async config functions are not supported.")}if(Array.isArray(Le)){if(!Te)throw new TypeError("Unexpected array.");yield*$(Le)}else{if(typeof Le=="function")throw new TypeError("A config function can only return an object or array.");yield Le}}}const se=[];for(const De of $(ue))se.push(W(De));return se}function K(ue,ve,G){return ue.reduce((J,Te)=>J?typeof Te=="string"&&Te.startsWith("!")?!N(G,Te,{flipNegate:!0}):J:typeof Te=="function"?Te(ve):Te.startsWith("!")?!1:N(G,Te),!1)}function re(ue,ve,G){return Object.keys(G).filter(J=>!w.has(J)).length>1&&!K(G.ignores,ue,ve)}function te(ue,ve,G){function J($){if(D($))return N(ve,$);if(typeof $=="function")return $(ue);throw new TypeError(`Unexpected matcher type ${$}.`)}let Te=G.files.some($=>Array.isArray($)?$.every(J):J($));return Te&&G.ignores&&(Te=!K(G.ignores,ue,ve)),Te}function xe(ue){if(!ue.isNormalized())throw new Error("ConfigArray must be normalized to perform this operation.")}function Y(ue){if(ue.length>2)throw new TypeError("configTypes must be an array with at most two items.");for(const ve of ue)if(!C.has(ve))throw new TypeError(`Unexpected config type "${ve}" found. Expected one of: "object", "array", "function".`)}function F(ue){if(ue.startsWith("/"))return u;if(/^(?:[A-Za-z]:[/\\]|[/\\]{2})/u.test(ue))return r;throw new Error(`Expected an absolute path but received "${ue}"`)}function z(ue,ve,G){const J=G.resolve(ve,ue),Te=G.toNamespacedPath(J);return G.relative(ve,Te).replaceAll(G.SEPARATOR,"/")}const ne={isNormalized:Symbol("isNormalized"),configCache:Symbol("configCache"),schema:Symbol("schema"),finalizeConfig:Symbol("finalizeConfig"),preprocessConfig:Symbol("preprocessConfig")},ae=new WeakMap;class be extends Array{constructor(G,{basePath:J="/",normalized:Te=!1,schema:$,extraConfigTypes:se=[]}={}){super();Xt(this,Pe);Xt(this,Ie);if(this[ne.isNormalized]=Te,this[ne.schema]=new c.ObjectSchema(Object.assign({},$,i)),!D(J)||!J)throw new TypeError("basePath must be a non-empty string");this.basePath=J,Y(se),this.extraConfigTypes=[...se],Object.freeze(this.extraConfigTypes),this[ne.configCache]=new Map,ae.set(this,{explicitMatches:new Map,directoryMatches:new Map,files:void 0,ignores:void 0}),Array.isArray(G)?this.push(...G):this.push(G),hr(this,Ie,F(J)),hr(this,Pe,Tt(this,Ie).toNamespacedPath(J))}static get[Symbol.species](){return Array}get files(){xe(this);const G=ae.get(this);if(G.files)return G.files;const J=[];for(const Te of this)Te.files&&Te.files.forEach($=>{J.push($)});return G.files=J,ae.set(this,G),J}get ignores(){xe(this);const G=ae.get(this);if(G.ignores)return G.ignores;const J=[];for(const Te of this)Te.ignores&&Object.keys(Te).filter($=>!w.has($)).length===1&&J.push(...Te.ignores);return G.ignores=J,ae.set(this,G),J}isNormalized(){return this[ne.isNormalized]}async normalize(G={}){if(!this.isNormalized()){const J=await _(this,G,this.extraConfigTypes);this.length=0,this.push(...J.map(this[ne.preprocessConfig].bind(this))),this.forEach(R),this[ne.isNormalized]=!0,Object.freeze(this)}return this}normalizeSync(G={}){if(!this.isNormalized()){const J=H(this,G,this.extraConfigTypes);this.length=0,this.push(...J.map(this[ne.preprocessConfig].bind(this))),this.forEach(R),this[ne.isNormalized]=!0,Object.freeze(this)}return this}[ne.finalizeConfig](G){return G}[ne.preprocessConfig](G){return G}getConfigWithStatus(G){xe(this);const J=this[ne.configCache];if(J.has(G))return J.get(G);const Te=z(G,Tt(this,Pe),Tt(this,Ie));if(I.test(Te))return g(`No config for file ${G} outside of base path`),J.set(G,k),k;if(this.isDirectoryIgnored(Tt(this,Ie).dirname(G)))return g(`Ignoring ${G} based on directory pattern`),J.set(G,x),x;if(K(this.ignores,G,Te))return g(`Ignoring ${G} based on file pattern`),J.set(G,x),x;const $=[];let se=!1;const De=/^\*$|\/\*{1,2}$/u;if(this.forEach((et,nt)=>{if(!et.files){if(!et.ignores){g(`Universal config found for ${G}`),$.push(nt);return}if(re(G,Te,et)){g(`Matching config found for ${G} (based on ignores: ${et.ignores})`),$.push(nt);return}g(`Skipped config found for ${G} (based on ignores: ${et.ignores})`);return}const lt=et.files.filter(Qe=>De.test(Qe));if(lt.length){g("Universal files patterns found. Checking carefully.");const Qe=et.files.filter(Xe=>!De.test(Xe));if(Qe.length&&te(G,Te,{files:Qe,ignores:et.ignores})){g(`Matching config found for ${G}`),$.push(nt),se=!0;return}if(lt.length&&te(G,Te,{files:lt,ignores:et.ignores})){g(`Matching config found for ${G}`),$.push(nt);return}return}te(G,Te,et)&&(g(`Matching config found for ${G}`),$.push(nt),se=!0)}),!se)return g(`No matching configs found for ${G}`),J.set(G,A),A;const Le=$.toString();let Fe=J.get(Le);if(Fe)return J.set(G,Fe),Fe;let V=$.reduce((et,nt)=>{try{return this[ne.schema].merge(et,this[nt])}catch(lt){P(this[nt],nt,lt)}},{});return V=this[ne.finalizeConfig](V),Fe=Object.freeze({config:V,status:"matched"}),J.set(G,Fe),J.set(Le,Fe),Fe}getConfig(G){return this.getConfigWithStatus(G).config}getConfigStatus(G){return this.getConfigWithStatus(G).status}isIgnored(G){return this.isFileIgnored(G)}isFileIgnored(G){return this.getConfigStatus(G)==="ignored"}isDirectoryIgnored(G){xe(this);const J=z(G,Tt(this,Pe),Tt(this,Ie));if(J==="")return!1;if(I.test(J))return!0;const Te=ae.get(this).directoryMatches;if(Te.has(J))return Te.get(J);const $=J.split("/");let se="",De;do se+=`${$.shift()}/`,De=K(this.ignores,Tt(this,Ie).join(this.basePath,se),se),Te.set(se,De);while(!De&&$.length);return Te.set(J,De),De}}Pe=new WeakMap,Ie=new WeakMap,Object.defineProperty(a,"ObjectSchema",{enumerable:!0,get:function(){return c.ObjectSchema}}),a.ConfigArray=be,a.ConfigArraySymbol=ne}(Zf)),Zf}var sp,Gb;function zb(){if(Gb)return sp;Gb=1;function a(n){if([2,"2","error"].includes(n))return"error";if([1,"1","warn"].includes(n))return"warn";if([0,"0","off"].includes(n))return"off";throw new Error(`Invalid severity value: ${n}`)}function e(n){if([2,"2","error"].includes(n))return 2;if([1,"1","warn"].includes(n))return 1;if([0,"0","off"].includes(n))return 0;throw new Error(`Invalid severity value: ${n}`)}return sp={normalizeSeverityToString:a,normalizeSeverityToNumber:e},sp}var ap,Hb;function ip(){if(Hb)return ap;Hb=1;const{normalizeSeverityToNumber:a}=zb(),e=new Map([[0,0],["off",0],[1,1],["warn",1],[2,2],["error",2]]);function n(P){return typeof P=="object"&&P!==null}function o(P){return n(P)&&!Array.isArray(P)}function t(P){return typeof P>"u"}function c(P,D,R=new Map){let N=R.get(P);if(N){const L=N.get(D);if(L)return L}else N=new Map,R.set(P,N);const q={...P,...D};delete q.__proto__,N.set(D,q);for(const L of Object.keys(D)){if(L==="__proto__"||!Object.prototype.propertyIsEnumerable.call(P,L))continue;const W=P[L],_=D[L];o(W)&&o(_)?q[L]=c(W,_,R):t(_)&&(q[L]=W)}return q}function p(P){const D=Array.isArray(P)?P.slice(0):[P];return D[0]=e.get(D[0]),structuredClone(D)}function u(P){for(const D of Object.keys(P))if(typeof P[D]=="function")return!0;return!1}class r extends Error{constructor(D,R){super(`Key "${D}": Expected severity of "off", 0, "warn", 1, "error", or 2.`),this.messageTemplate="invalid-rule-options",this.messageData={ruleId:D,value:R}}}function h(P,D){if(typeof D!="string"&&typeof D!="number"&&!Array.isArray(D))throw new r(P,D)}class i extends Error{constructor(D,R){super(`Key "${D}": Expected severity of "off", 0, "warn", 1, "error", or 2.`),this.messageTemplate="invalid-rule-severity",this.messageData={ruleId:D,value:R}}}function f(P,D){if(typeof e.get(D)>"u")throw new i(P,D)}function m(P){if(!/[@a-z0-9-_$]+(?:\/(?:[a-z0-9-_$]+))+$/iu.test(P))throw new TypeError(`Expected string in the form "pluginName/objectName" but found "${P}".`)}function s(P){if(!n(P))throw new TypeError("Expected an object.")}class l extends Error{constructor(D){super("This appears to be in eslintrc format rather than flat config format."),this.messageTemplate="eslintrc-incompat",this.messageData={key:D}}}class d extends Error{constructor(D){super("This appears to be in eslintrc format (array of strings) rather than flat config format (object)."),this.messageTemplate="eslintrc-plugins",this.messageData={plugins:D}}}const g={merge:"replace",validate:"boolean"},v=new Set(["error","warn","off",2,1,0]),S={merge(P,D){const R=D===void 0?P:D;return typeof R=="boolean"?R?"warn":"off":a(R)},validate(P){if(!(v.has(P)||typeof P=="boolean"))throw new TypeError('Expected one of: "error", "warn", "off", 0, 1, 2, or a boolean.')}},b={merge(P,D){return a(D===void 0?P:D)},validate(P){if(!v.has(P))throw new TypeError('Expected one of: "error", "warn", "off", 0, 1, or 2.')}},C={merge(P={},D={}){return c(P,D)},validate:"object"},w={merge(P={},D={}){const R=c(P,D);for(const[N,q]of Object.entries(R))if(o(q)){if(u(q)){R[N]=D[N]??P[N];continue}R[N]={...R[N]};continue}return R},validate:"object"},E={merge:"replace",validate:m},k={merge(P={},D={}){const R=new Set([...Object.keys(P),...Object.keys(D)]),N={};for(const q of R)if(q!=="__proto__"){if(q in P&&q in D&&P[q]!==D[q])throw new TypeError(`Cannot redefine plugin "${q}".`);N[q]=D[q]||P[q]}return N},validate(P){if(P===null||typeof P!="object")throw new TypeError("Expected an object.");if(Array.isArray(P))throw new d(P);for(const D of Object.keys(P))if(D!=="__proto__"&&(P[D]===null||typeof P[D]!="object"))throw new TypeError(`Key "${D}": Expected an object.`)}},x={merge:"replace",validate(P){if(typeof P=="string")m(P);else if(P&&typeof P=="object"){if(typeof P.preprocess!="function"||typeof P.postprocess!="function")throw new TypeError("Object must have a preprocess() and a postprocess() method.")}else throw new TypeError("Expected an object or a string.")}},A={merge(P={},D={}){const R={...P,...D};for(const N of Object.keys(R))try{if(N==="__proto__"){delete R.__proto__;continue}if(R[N]=p(R[N]),!(N in P)||!(N in D))continue;const q=p(P[N]),L=p(D[N]);if(L.length===1){R[N]=[L[0],...q.slice(1)];continue}}catch(q){throw new Error(`Key "${N}": ${q.message}`,{cause:q})}return R},validate(P){s(P);for(const D of Object.keys(P)){if(D==="__proto__")continue;const R=P[D];h(D,R),Array.isArray(R)?f(D,R[0]):f(D,R)}}};function I(P){return{merge:"replace",validate(){throw new l(P)}}}return ap={flatConfigSchema:{...Object.fromEntries(["env","extends","globals","ignorePatterns","noInlineConfig","overrides","parser","parserOptions","reportUnusedDisableDirectives","root"].map(P=>[P,I(P)])),settings:C,linterOptions:{schema:{noInlineConfig:g,reportUnusedDisableDirectives:S,reportUnusedInlineConfigs:b}},language:E,languageOptions:w,processor:x,plugins:k,rules:A},hasMethod:u,assertIsRuleSeverity:f},ap}var qn={},op,Kb;function nP(){if(Kb)return op;Kb=1;const a=new Set([!0,"true","writable","writeable",!1,"false","readonly","readable",null,"off"]);function e(h){return typeof h=="object"&&h!==null}function n(h){return e(h)&&!Array.isArray(h)}function o(h){return typeof h>"u"}function t(h){if(o(h))throw new TypeError('Key "ecmaVersion": Expected an "ecmaVersion" property.');if(typeof h!="number"&&h!=="latest")throw new TypeError('Key "ecmaVersion": Expected a number or "latest".')}function c(h){if(typeof h!="string"||!/^(?:script|module|commonjs)$/u.test(h))throw new TypeError('Key "sourceType": Expected "script", "module", or "commonjs".')}function p(h){if(!n(h))throw new TypeError('Key "globals": Expected an object.');for(const i of Object.keys(h))if(i!=="__proto__"){if(i!==i.trim())throw new TypeError(`Key "globals": Global "${i}" has leading or trailing whitespace.`);if(!a.has(h[i]))throw new TypeError(`Key "globals": Key "${i}": Expected "readonly", "writable", or "off".`)}}function u(h){if(!h||typeof h!="object"||typeof h.parse!="function"&&typeof h.parseForESLint!="function")throw new TypeError('Key "parser": Expected object with parse() or parseForESLint() method.')}function r(h){if(!n(h))throw new TypeError("Expected an object.");const{ecmaVersion:i,sourceType:f,globals:m,parser:s,parserOptions:l,...d}=h;if("ecmaVersion"in h&&t(i),"sourceType"in h&&c(f),"globals"in h&&p(m),"parser"in h&&u(s),"parserOptions"in h&&!n(l))throw new TypeError('Key "parserOptions": Expected an object.');const g=Object.keys(d);if(g.length>0)throw new TypeError(`Unexpected key "${g[0]}" found.`)}return op={validateLanguageOptions:r},op}var lp,Xb;function Jb(){if(Xb)return lp;Xb=1;const{SourceCode:a}=Rd(),e=Rr(),n=Mn(),o=xn(),t=Kn(),c=Qr(),{validateLanguageOptions:p}=nP(),{LATEST_ECMA_VERSION:u}=ui(),r=e("eslint:languages:js"),h=5,i=Symbol.for("eslint.RuleTester.parser");function f(l,d,g){const S=d.parserOptions.ecmaFeatures||{},b=d.ecmaVersion||h;return t.analyze(l,{ignoreEval:!0,nodejsScope:S.globalReturn,impliedStrict:S.impliedStrict,ecmaVersion:typeof b=="number"?b:6,sourceType:d.sourceType||"script",childVisitorKeys:g||c.KEYS,fallback:c.getKeys})}function m(l){return l===o||l[i]===o}function s(l){switch(l){case 3:return 3;case 5:case void 0:return 5;default:if(typeof l=="number")return l>=2015?l:l+2009}return u}return lp={fileType:"text",lineStart:1,columnStart:0,nodeTypeKey:"type",visitorKeys:c.KEYS,defaultLanguageOptions:{sourceType:"module",ecmaVersion:"latest",parser:o,parserOptions:{}},validateLanguageOptions:p,normalizeLanguageOptions(l){if(l.ecmaVersion=s(l.ecmaVersion),m(l.parser)){const d=l.parserOptions;l.sourceType&&(d.sourceType=l.sourceType,d.sourceType==="module"&&d.ecmaFeatures&&d.ecmaFeatures.globalReturn&&(d.ecmaFeatures.globalReturn=!1))}return l},matchesSelectorClass(l,d,g){switch(l.toLowerCase()){case"statement":if(d.type.slice(-9)==="Statement")return!0;case"declaration":return d.type.slice(-11)==="Declaration";case"pattern":if(d.type.slice(-7)==="Pattern")return!0;case"expression":return d.type.slice(-10)==="Expression"||d.type.slice(-7)==="Literal"||d.type==="Identifier"&&(g.length===0||g[0].type!=="MetaProperty")||d.type==="MetaProperty";case"function":return d.type==="FunctionDeclaration"||d.type==="FunctionExpression"||d.type==="ArrowFunctionExpression";default:throw new Error(`Unknown class name: ${l}`)}},parse(l,{languageOptions:d}){const{body:g,path:v}=l,S=g.replace(n.shebangPattern,(k,x)=>`//${x}`),{ecmaVersion:b,sourceType:C,parser:w}=d,E=Object.assign({ecmaVersion:b,sourceType:C},d.parserOptions,{loc:!0,range:!0,raw:!0,tokens:!0,comment:!0,eslintVisitorKeys:!0,eslintScopeManager:!0,filePath:v});try{r("Parsing:",v);const k=typeof w.parseForESLint=="function"?w.parseForESLint(S,E):{ast:w.parse(S,E)};r("Parsing successful:",v);const{ast:x,services:A={},visitorKeys:I=c.KEYS,scopeManager:B}=k;return{ok:!0,ast:x,parserServices:A,visitorKeys:I,scopeManager:B}}catch(k){const x=k.message.replace(/^line \d+:/iu,"").trim();return r(`%s
122
- %s`,x,k.stack),{ok:!1,errors:[{message:x,line:k.lineNumber,column:k.column}]}}},createSourceCode(l,d,{languageOptions:g}){const{body:v,path:S,bom:b}=l,{ast:C,parserServices:w,visitorKeys:E}=d;r("Scope analysis:",S);const k=d.scopeManager||f(C,g,E);return r("Scope analysis successful:",S),new a({text:v,ast:C,hasBOM:b,parserServices:w,scopeManager:k,visitorKeys:E})}},lp}var Yb;function sP(){if(Yb)return qn;Yb=1;const a=Ib(),e=[{files:["**/*.js","**/*.mjs"]},{files:["**/*.cjs"],languageOptions:{sourceType:"commonjs",ecmaVersion:"latest"}}];return qn.defaultConfig=Object.freeze([{plugins:{"@":{languages:{js:Jb()},rules:new Proxy({},{get(n,o){return a.get(o)},has(n,o){return a.has(o)}})}},language:"@/js",linterOptions:{reportUnusedDisableDirectives:1}},{ignores:["**/node_modules/",".git/"]},...e]),qn.defaultRuleTesterConfig=Object.freeze([{files:["**"]},...e]),qn}var up,Qb;function Zb(){if(Qb)return up;Qb=1;function a(o){return typeof o=="object"&&o!==null&&!Array.isArray(o)}function e(o,t){if(t===void 0)return o;if(!a(o)||!a(t))return t;const c={...o,...t};for(const p of Object.keys(t))Object.prototype.propertyIsEnumerable.call(o,p)&&(c[p]=e(o[p],t[p]));return c}function n(o,t){return!o||!t?t||o||[]:[...o.map((c,p)=>e(c,p<t.length?t[p]:void 0)),...t.slice(o.length)]}return up={deepMergeArrays:n},up}var aP="http://json-schema.org/draft-04/schema#",iP="http://json-schema.org/draft-04/schema#",oP="Core schema meta-schema",lP={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"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},uP="object",cP={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:"#"}},fP={exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},pP={id:aP,$schema:iP,description:oP,definitions:lP,type:uP,properties:cP,dependencies:fP,default:{}},cp,e0;function mP(){if(e0)return cp;e0=1;const a=kh(),e=pP;return cp=(n={})=>{const o=new a({meta:!1,useDefaults:!0,validateSchema:!1,missingRefs:"ignore",verbose:!0,schemaId:"auto",...n});return o.addMetaSchema(e),o._opts.defaultMeta=e.id,o},cp}var fp,t0;function r0(){var w,E,k,P0;if(t0)return fp;t0=1;const{deepMergeArrays:a}=Zb(),{flatConfigSchema:e,hasMethod:n}=ip(),{ObjectSchema:o}=Wb(),c=mP()(),p=Lb,u=Object.freeze({type:"array",minItems:0,maxItems:0}),r=new Map([[0,0],[1,1],[2,2],["off",0],["warn",1],["error",2]]),h=new WeakMap;function i({pluginName:A,ruleName:I},B){const M=A==="@"?I:`${A}/${I}`,P=`Key "rules": Key "${M}"`;let D=`${P}: Could not find plugin "${A}" in configuration.`;const R=D;if(B.plugins&&B.plugins[A]){const q=p.rules[I];if(A==="@"&&q)D=`${P}: Rule "${I}" was removed and replaced by "${q}".`;else{D=`${P}: Could not find "${I}" in plugin "${A}".`;for(const[L,W]of Object.entries(B.plugins))if(W.rules&&W.rules[I]){D+=` Did you mean "${L}/${I}"?`;break}}}const N=new TypeError(D);throw D===R&&(N.messageTemplate="config-plugin-missing",N.messageData={pluginName:A,ruleId:M}),N}class f extends Error{constructor(I,B){super(`Error while processing options validation schema of rule '${I}': ${B.message}`,{cause:B}),this.code="ESLINT_INVALID_RULE_OPTIONS_SCHEMA"}}function m(A){let I,B;return A.includes("/")?(A.startsWith("@")?I=A.slice(0,A.lastIndexOf("/")):I=A.slice(0,A.indexOf("/")),B=A.slice(I.length+1)):(I="@",B=A),{pluginName:I,ruleName:B}}function s(A,I){var P,D,R;const{pluginName:B,ruleName:M}=m(A);return(R=(D=(P=I.plugins)==null?void 0:P[B])==null?void 0:D.rules)==null?void 0:R[M]}function l(A){if(!A.meta)return{...u};const I=A.meta.schema;if(typeof I>"u")return{...u};if(I===!1)return null;if(typeof I!="object"||I===null)throw new TypeError("Rule's `meta.schema` must be an array or object");return Array.isArray(I)?I.length?{type:"array",items:I,minItems:0,maxItems:I.length}:{...u}:I}function d(A){const I=A.split("/");return{objectName:I.pop(),pluginName:I.join("/")}}function g(A){let I=A.name;if(!I&&(!A.meta||(I=A.meta.name,!I)))return null;let B=A.version;return B||(B=A.meta&&A.meta.version),B?`${I}@${B}`:I}function v(A,I,B){if(typeof A=="function"){const M=new TypeError(`Cannot serialize key "${I}" in "${B}": Function values are not supported.`);throw M.messageTemplate="config-serialize-function",M.messageData={key:I,objectKey:B},M}}function S(A,I="languageOptions"){if(typeof A.toJSON=="function"){const M=A.toJSON();return v(M,"toJSON",I),M}const B={};for(const[M,P]of Object.entries(A)){if(P){if(typeof P=="object"){const D=g(P);typeof P.toJSON=="function"?(B[M]=P.toJSON(),v(B[M],M,I)):D&&n(P)?B[M]=D:B[M]=S(P,M);continue}v(P,M,I)}B[M]=P}return B}function b(A,I){if(!h.has(A))try{const B=l(A);B&&h.set(A,c.compile(B))}catch(B){throw new f(I,B)}return h.get(A)}class C{constructor(I){Xt(this,k);Xt(this,w);Xt(this,E);const{plugins:B,language:M,languageOptions:P,processor:D,...R}=I;if(new o(e).validate(I),Object.assign(this,R),!M)throw new TypeError("Key 'language' is required.");this.plugins=B,this.language=M;const{pluginName:q,objectName:L}=d(M);if(hr(this,w,M),!B||!B[q]||!B[q].languages||!B[q].languages[L])throw new TypeError(`Key "language": Could not find "${L}" in plugin "${q}".`);this.language=B[q].languages[L],this.language.defaultLanguageOptions??P?this.languageOptions=e.languageOptions.merge(this.language.defaultLanguageOptions,P):this.languageOptions={};try{this.language.validateLanguageOptions(this.languageOptions)}catch(W){throw new TypeError(`Key "languageOptions": ${W.message}`,{cause:W})}if(this.language.normalizeLanguageOptions&&(this.languageOptions=this.language.normalizeLanguageOptions(this.languageOptions)),D)if(this.processor=D,typeof D=="string"){const{pluginName:W,objectName:_}=d(D);if(hr(this,E,D),!B||!B[W]||!B[W].processors||!B[W].processors[_])throw new TypeError(`Key "processor": Could not find "${_}" in plugin "${W}".`);this.processor=B[W].processors[_]}else if(typeof D=="object")hr(this,E,g(D)),this.processor=D;else throw new TypeError("Key 'processor' must be a string or an object.");this.rules&&(xr(this,k,P0).call(this),this.validateRulesConfig(this.rules))}toJSON(){if(this.processor&&!Tt(this,E))throw new Error("Could not serialize processor object (missing 'meta' object).");if(!Tt(this,w))throw new Error("Could not serialize language object (missing 'meta' object).");return{...this,plugins:Object.entries(this.plugins).map(([I,B])=>{const M=g(B);return M?`${I}:${M}`:I}),language:Tt(this,w),languageOptions:S(this.languageOptions),processor:Tt(this,E)}}getRuleDefinition(I){return s(I,this)}validateRulesConfig(I){if(!I)throw new TypeError("Config is required for validation.");for(const[B,M]of Object.entries(I)){if(B==="__proto__"||M[0]===0)continue;const P=s(B,this);P||i(m(B),this);const D=b(P,B);if(D&&(D(M.slice(1)),D.errors))throw new Error(`Key "rules": Key "${B}":
123
- ${D.errors.map(R=>{var N,q;if(R.keyword==="additionalProperties"&&R.schema===!1&&typeof((N=R.parentSchema)==null?void 0:N.properties)=="object"&&typeof((q=R.params)==null?void 0:q.additionalProperty)=="string"){const L=Object.keys(R.parentSchema.properties).map(W=>`"${W}"`);return` Value ${JSON.stringify(R.data)} ${R.message}.
124
- Unexpected property "${R.params.additionalProperty}". Expected properties: ${L.join(", ")}.
125
- `}return` Value ${JSON.stringify(R.data)} ${R.message}.
126
- `}).join("")}`)}}static getRuleOptionsSchema(I){return l(I)}static getRuleNumericSeverity(I){const B=Array.isArray(I)?I[0]:I;return r.has(B)?r.get(B):typeof B=="string"?r.get(B.toLowerCase())??0:0}}return w=new WeakMap,E=new WeakMap,k=new WeakSet,P0=function(){var I;for(const[B,M]of Object.entries(this.rules)){let P=Array.isArray(M)?M:[M];P[0]=r.get(P[0]);const D=s(B,this),R=P.slice(1),N=a((I=D==null?void 0:D.meta)==null?void 0:I.defaultOptions,R);N.length&&(P=[P[0],...N]),this.rules[B]=P}},fp={Config:C},fp}var n0;function hP(){if(n0)return Qf;n0=1;const{ConfigArray:a,ConfigArraySymbol:e}=Wb(),{flatConfigSchema:n}=ip(),{defaultConfig:o}=sP(),{Config:t}=r0(),c=new Set(["name"]);function p(f,m,s){let l="user-defined",d=f.index;return f.index<s?l="base":f.index<m+s?(l="original",d=f.index-s):d=f.index-m-s,new TypeError(`${f.message.slice(0,-1)} at ${l} index ${d}.`,{cause:f})}const u=Symbol("originalBaseConfig"),r=Symbol("originalLength"),h=Symbol("baseLength");class i extends a{constructor(m,{basePath:s,shouldIgnore:l=!0,baseConfig:d=o}={}){super(m,{basePath:s,schema:n}),this[r]=this.length,d[Symbol.iterator]?this.unshift(...d):this.unshift(d),this[h]=this.length-this[r],this[u]=d,Object.defineProperty(this,u,{writable:!1}),this.shouldIgnore=l,Object.defineProperty(this,"shouldIgnore",{writable:!1})}normalize(m){return super.normalize(m).catch(s=>{throw s.name==="ConfigError"?p(s,this[r],this[h]):s})}normalizeSync(m){try{return super.normalizeSync(m)}catch(s){throw s.name==="ConfigError"?p(s,this[r],this[h]):s}}[e.preprocessConfig](m){if(!this.shouldIgnore&&!this[u].includes(m)&&m.ignores&&Object.keys(m).filter(s=>!c.has(s)).length===1){const{ignores:s,...l}=m;return l}return m}[e.finalizeConfig](m){return new t(m)}}return Qf.FlatConfigArray=i,Qf}var pp,s0;function dP(){if(s0)return pp;s0=1;const a=new Map([["test_only","Used only for testing."],["test_only_2","Used only for testing."],["unstable_config_lookup_from_file","Look up `eslint.config.js` from the file being linted."],["unstable_native_nodejs_ts_config","Use native Node.js to load TypeScript configuration."]]),e=new Map([["test_only_replaced",{description:"Used only for testing flags that have been replaced by other flags.",replacedBy:"test_only"}],["test_only_enabled_by_default",{description:"Used only for testing flags whose features have been enabled by default.",replacedBy:null}],["test_only_abandoned",{description:"Used only for testing flags whose features have been abandoned."}],["unstable_ts_config",{description:"Enable TypeScript configuration files.",replacedBy:null}]]);function n({replacedBy:o}){return typeof o>"u"?"This feature has been abandoned.":typeof o=="string"?`This flag has been renamed '${o}' to reflect its stabilization. Please use '${o}' instead.`:"This feature is now enabled by default."}return pp={activeFlags:a,inactiveFlags:e,getInactivityReasonMessage:n},pp}var mp,a0;function i0(){if(a0)return mp;a0=1;function a(o){return typeof o=="string"?o.charCodeAt(0)===65279:o[0]===239&&o[1]===187&&o[2]===191}function e(o){return a(o)?typeof o=="string"?o.slice(1):o.slice(3):o}class n{constructor(t,c,{physicalPath:p}={}){St(this,"path");St(this,"physicalPath");St(this,"body");St(this,"rawBody");St(this,"bom");this.path=t,this.physicalPath=p??t,this.bom=a(c),this.body=e(c),this.rawBody=c}}return mp={VFile:n},mp}var hp,o0;function gP(){if(o0)return hp;o0=1;class a{parseSync(n,o){const{language:t,languageOptions:c}=o,p=t.parse(n,{languageOptions:c});if(typeof p.then=="function")throw new Error("Unsupported: Language parser returned a promise.");return p.ok?{ok:!0,sourceCode:t.createSourceCode(n,p,{languageOptions:c})}:{ok:!1,errors:p.errors.map(u=>({ruleId:null,nodeType:null,fatal:!0,severity:2,message:`Parsing error: ${u.message}`,line:u.line,column:u.column}))}}}return hp={ParserService:a},hp}var dp={},l0;function yP(){if(l0)return dp;l0=1;class a{constructor({cwd:n,filename:o,physicalFilename:t,sourceCode:c,parserOptions:p,parserPath:u,languageOptions:r,settings:h}){St(this,"cwd");St(this,"filename");St(this,"physicalFilename");St(this,"sourceCode");St(this,"parserOptions");St(this,"parserPath");St(this,"languageOptions");St(this,"settings");this.cwd=n,this.filename=o,this.physicalFilename=t,this.sourceCode=c,this.parserOptions=p,this.parserPath=u,this.languageOptions=r,this.settings=h,Object.freeze(this)}getCwd(){return this.cwd}getFilename(){return this.filename}getPhysicalFilename(){return this.physicalFilename}getSourceCode(){return this.sourceCode}extend(n){return Object.freeze(Object.assign(Object.create(this),n))}}return dp.FileContext=a,dp}var gp,u0;function vP(){if(u0)return gp;u0=1;const a=Sn,{VFile:e}=i0();class n{preprocessSync(t,c){const{processor:p}=c;let u;try{u=p.preprocess(t.rawBody,t.path)}catch(r){return{ok:!1,errors:[{ruleId:null,fatal:!0,severity:2,message:`Preprocessing error: ${r.message.replace(/^line \d+:/iu,"").trim()}`,line:r.lineNumber,column:r.column,nodeType:null}]}}if(typeof u.then=="function")throw new Error("Unsupported: Preprocessor returned a promise.");return{ok:!0,files:u.map((r,h)=>{if(typeof r=="string")return r;const i=a.join(t.path,`${h}_${r.filename}`);return new e(i,r.text,{physicalPath:t.physicalPath})})}}postprocessSync(t,c,p){const{processor:u}=p;return u.postprocess(c,t.path)}}return gp={ProcessorService:n},gp}var yp,c0;function EP(){if(c0)return yp;c0=1;function a(e,n){if(e===n)return!1;if(typeof e!=typeof n||Array.isArray(e)!==Array.isArray(n))return!0;if(Array.isArray(e))return e.length!==n.length||e.some((o,t)=>a(o,n[t]));if(typeof e=="object"){if(e===null||n===null)return!0;const o=Object.keys(e),t=Object.keys(n);return o.length!==t.length||o.some(c=>!Object.hasOwn(n,c)||a(e[c],n[c]))}return!0}return yp={containsDifferentProperty:a},yp}var vp,f0;function SP(){if(f0)return vp;f0=1;class a{constructor({emitWarning:n=(o=>(o=globalThis.process)==null?void 0:o.emitWarning)()??(()=>{})}={}){this.emitWarning=n}emitCircularFixesWarning(n){this.emitWarning(`Circular fixes detected while fixing ${n}. It is likely that you have conflicting rules in your configuration.`,"ESLintCircularFixesWarning")}emitEmptyConfigWarning(n){this.emitWarning(`Running ESLint with an empty config (from ${n}). Please double-check that this is what you want. If you want to run ESLint with an empty config, export [{}] to remove this warning.`,"ESLintEmptyConfigWarning")}emitESLintIgnoreWarning(){this.emitWarning('The ".eslintignore" file is no longer supported. Switch to using the "ignores" property in "eslint.config.js": https://eslint.org/docs/latest/use/configure/migration-guide#ignoring-files',"ESLintIgnoreWarning")}emitESLintRCWarning(){this.emitWarning("You are using an eslintrc configuration file, which is deprecated and support will be removed in v10.0.0. Please migrate to an eslint.config.js file. See https://eslint.org/docs/latest/use/configure/migration-guide for details. An eslintrc configuration file is used because you have the ESLINT_USE_FLAT_CONFIG environment variable set to false. If you want to use an eslint.config.js file, remove the environment variable. If you want to find the location of the eslintrc configuration file, use the --debug flag.","ESLintRCWarning")}emitInactiveFlagWarning(n,o){this.emitWarning(o,`ESLintInactiveFlag_${n}`)}}return vp={WarningService:a},vp}function mn(a){return(mn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(a)}function Ep(a,e){return function(n){if(Array.isArray(n))return n}(a)||function(n,o){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var c,p,u,r,h=[],i=!0,f=!1;try{if(u=(t=t.call(n)).next,o!==0)for(;!(i=(c=u.call(t)).done)&&(h.push(c.value),h.length!==o);i=!0);}catch(m){f=!0,p=m}finally{try{if(!i&&t.return!=null&&(r=t.return(),Object(r)!==r))return}finally{if(f)throw p}}return h}}(a,e)||p0(a,e)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
127
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function bP(a){return function(e){if(Array.isArray(e))return Sp(e)}(a)||function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(a)||p0(a)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
128
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function p0(a,e){if(a){if(typeof a=="string")return Sp(a,e);var n=Object.prototype.toString.call(a).slice(8,-1);return n==="Object"&&a.constructor&&(n=a.constructor.name),n==="Map"||n==="Set"?Array.from(a):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Sp(a,e):void 0}}function Sp(a,e){(e==null||e>a.length)&&(e=a.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=a[n];return o}function m0(a,e){return a(e={exports:{}},e.exports),e.exports}var Vn=m0(function(a,e){(function n(o){var t,c,p,u,r,h;function i(b){var C,w,E={};for(C in b)b.hasOwnProperty(C)&&(w=b[C],E[C]=typeof w=="object"&&w!==null?i(w):w);return E}function f(b,C){this.parent=b,this.key=C}function m(b,C,w,E){this.node=b,this.path=C,this.wrap=w,this.ref=E}function s(){}function l(b){return b!=null&&typeof b=="object"&&typeof b.type=="string"}function d(b,C){return(b===t.ObjectExpression||b===t.ObjectPattern)&&C==="properties"}function g(b,C){for(var w=b.length-1;w>=0;--w)if(b[w].node===C)return!0;return!1}function v(b,C){return new s().traverse(b,C)}function S(b,C){var w;return w=function(E,k){var x,A,I,B;for(A=E.length,I=0;A;)k(E[B=I+(x=A>>>1)])?A=x:(I=B+1,A-=x+1);return I}(C,function(E){return E.range[0]>b.range[0]}),b.extendedRange=[b.range[0],b.range[1]],w!==C.length&&(b.extendedRange[1]=C[w].range[0]),(w-=1)>=0&&(b.extendedRange[0]=C[w].range[1]),b}return t={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",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",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"},p={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"],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"]},c={Break:u={},Skip:r={},Remove:h={}},f.prototype.replace=function(b){this.parent[this.key]=b},f.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)},s.prototype.path=function(){var b,C,w,E,k;function x(A,I){if(Array.isArray(I))for(w=0,E=I.length;w<E;++w)A.push(I[w]);else A.push(I)}if(!this.__current.path)return null;for(k=[],b=2,C=this.__leavelist.length;b<C;++b)x(k,this.__leavelist[b].path);return x(k,this.__current.path),k},s.prototype.type=function(){return this.current().type||this.__current.wrap},s.prototype.parents=function(){var b,C,w;for(w=[],b=1,C=this.__leavelist.length;b<C;++b)w.push(this.__leavelist[b].node);return w},s.prototype.current=function(){return this.__current.node},s.prototype.__execute=function(b,C){var w,E;return E=void 0,w=this.__current,this.__current=C,this.__state=null,b&&(E=b.call(this,C.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=w,E},s.prototype.notify=function(b){this.__state=b},s.prototype.skip=function(){this.notify(r)},s.prototype.break=function(){this.notify(u)},s.prototype.remove=function(){this.notify(h)},s.prototype.__initialize=function(b,C){this.visitor=C,this.root=b,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,C.fallback==="iteration"?this.__fallback=Object.keys:typeof C.fallback=="function"&&(this.__fallback=C.fallback),this.__keys=p,C.keys&&(this.__keys=Object.assign(Object.create(this.__keys),C.keys))},s.prototype.traverse=function(b,C){var w,E,k,x,A,I,B,M,P,D,R,N;for(this.__initialize(b,C),N={},w=this.__worklist,E=this.__leavelist,w.push(new m(b,null,null,null)),E.push(new m(null,null,null,null));w.length;)if((k=w.pop())!==N){if(k.node){if(I=this.__execute(C.enter,k),this.__state===u||I===u)return;if(w.push(N),E.push(k),this.__state===r||I===r)continue;if(A=(x=k.node).type||k.wrap,!(D=this.__keys[A])){if(!this.__fallback)throw new Error("Unknown node type "+A+".");D=this.__fallback(x)}for(M=D.length;(M-=1)>=0;)if(R=x[B=D[M]]){if(Array.isArray(R)){for(P=R.length;(P-=1)>=0;)if(R[P]&&!g(E,R[P])){if(d(A,D[M]))k=new m(R[P],[B,P],"Property",null);else{if(!l(R[P]))continue;k=new m(R[P],[B,P],null,null)}w.push(k)}}else if(l(R)){if(g(E,R))continue;w.push(new m(R,B,null,null))}}}}else if(k=E.pop(),I=this.__execute(C.leave,k),this.__state===u||I===u)return},s.prototype.replace=function(b,C){var w,E,k,x,A,I,B,M,P,D,R,N,q;function L(W){var _,H,K,re;if(W.ref.remove()){for(H=W.ref.key,re=W.ref.parent,_=w.length;_--;)if((K=w[_]).ref&&K.ref.parent===re){if(K.ref.key<H)break;--K.ref.key}}}for(this.__initialize(b,C),R={},w=this.__worklist,E=this.__leavelist,I=new m(b,null,null,new f(N={root:b},"root")),w.push(I),E.push(I);w.length;)if((I=w.pop())!==R){if((A=this.__execute(C.enter,I))!==void 0&&A!==u&&A!==r&&A!==h&&(I.ref.replace(A),I.node=A),this.__state!==h&&A!==h||(L(I),I.node=null),this.__state===u||A===u)return N.root;if((k=I.node)&&(w.push(R),E.push(I),this.__state!==r&&A!==r)){if(x=k.type||I.wrap,!(P=this.__keys[x])){if(!this.__fallback)throw new Error("Unknown node type "+x+".");P=this.__fallback(k)}for(B=P.length;(B-=1)>=0;)if(D=k[q=P[B]])if(Array.isArray(D)){for(M=D.length;(M-=1)>=0;)if(D[M]){if(d(x,P[B]))I=new m(D[M],[q,M],"Property",new f(D,M));else{if(!l(D[M]))continue;I=new m(D[M],[q,M],null,new f(D,M))}w.push(I)}}else l(D)&&w.push(new m(D,q,null,new f(k,q)))}}else if(I=E.pop(),(A=this.__execute(C.leave,I))!==void 0&&A!==u&&A!==r&&A!==h&&I.ref.replace(A),this.__state!==h&&A!==h||L(I),this.__state===u||A===u)return N.root;return N.root},o.Syntax=t,o.traverse=v,o.replace=function(b,C){return new s().replace(b,C)},o.attachComments=function(b,C,w){var E,k,x,A,I=[];if(!b.range)throw new Error("attachComments needs range information");if(!w.length){if(C.length){for(x=0,k=C.length;x<k;x+=1)(E=i(C[x])).extendedRange=[0,b.range[0]],I.push(E);b.leadingComments=I}return b}for(x=0,k=C.length;x<k;x+=1)I.push(S(i(C[x]),w));return A=0,v(b,{enter:function(B){for(var M;A<I.length&&!((M=I[A]).extendedRange[1]>B.range[0]);)M.extendedRange[1]===B.range[0]?(B.leadingComments||(B.leadingComments=[]),B.leadingComments.push(M),I.splice(A,1)):A+=1;return A===I.length?c.Break:I[A].extendedRange[0]>B.range[1]?c.Skip:void 0}}),A=0,v(b,{leave:function(B){for(var M;A<I.length&&(M=I[A],!(B.range[1]<M.extendedRange[0]));)B.range[1]===M.extendedRange[0]?(B.trailingComments||(B.trailingComments=[]),B.trailingComments.push(M),I.splice(A,1)):A+=1;return A===I.length?c.Break:I[A].extendedRange[0]>B.range[1]?c.Skip:void 0}}),b},o.VisitorKeys=p,o.VisitorOption=c,o.Controller=s,o.cloneEnvironment=function(){return n({})},o})(e)}),xP=m0(function(a){a.exports&&(a.exports=function(){function e(n,o,t,c){this.message=n,this.expected=o,this.found=t,this.location=c,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,e)}return function(n,o){function t(){this.constructor=n}t.prototype=o.prototype,n.prototype=new t}(e,Error),e.buildMessage=function(n,o){var t={literal:function(r){return'"'+p(r.text)+'"'},class:function(r){var h,i="";for(h=0;h<r.parts.length;h++)i+=r.parts[h]instanceof Array?u(r.parts[h][0])+"-"+u(r.parts[h][1]):u(r.parts[h]);return"["+(r.inverted?"^":"")+i+"]"},any:function(r){return"any character"},end:function(r){return"end of input"},other:function(r){return r.description}};function c(r){return r.charCodeAt(0).toString(16).toUpperCase()}function p(r){return r.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(h){return"\\x0"+c(h)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(h){return"\\x"+c(h)})}function u(r){return r.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(h){return"\\x0"+c(h)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(h){return"\\x"+c(h)})}return"Expected "+function(r){var h,i,f,m=new Array(r.length);for(h=0;h<r.length;h++)m[h]=(f=r[h],t[f.type](f));if(m.sort(),m.length>0){for(h=1,i=1;h<m.length;h++)m[h-1]!==m[h]&&(m[i]=m[h],i++);m.length=i}switch(m.length){case 1:return m[0];case 2:return m[0]+" or "+m[1];default:return m.slice(0,-1).join(", ")+", or "+m[m.length-1]}}(n)+" but "+function(r){return r?'"'+p(r)+'"':"end of input"}(o)+" found."},{SyntaxError:e,parse:function(n,o){o=o!==void 0?o:{};var t,c,p,u,r={},h={start:Ce},i=Ce,f=Xe(" ",!1),m=/^[^ [\],():#!=><~+.]/,s=pt([" ","[","]",",","(",")",":","#","!","=",">","<","~","+","."],!0,!1),l=Xe(">",!1),d=Xe("~",!1),g=Xe("+",!1),v=Xe(",",!1),S=Xe("!",!1),b=Xe("*",!1),C=Xe("#",!1),w=Xe("[",!1),E=Xe("]",!1),k=/^[><!]/,x=pt([">","<","!"],!1,!1),A=Xe("=",!1),I=function(O){return(O||"")+"="},B=/^[><]/,M=pt([">","<"],!1,!1),P=Xe(".",!1),D=function(O,Q,ie){return{type:"attribute",name:O,operator:Q,value:ie}},R=Xe('"',!1),N=/^[^\\"]/,q=pt(["\\",'"'],!0,!1),L=Xe("\\",!1),W={type:"any"},_=function(O,Q){return O+Q},H=function(O){return{type:"literal",value:(Q=O.join(""),Q.replace(/\\(.)/g,function(ie,Z){switch(Z){case"b":return"\b";case"f":return"\f";case"n":return`
129
- `;case"r":return"\r";case"t":return" ";case"v":return"\v";default:return Z}}))};var Q},K=Xe("'",!1),re=/^[^\\']/,te=pt(["\\","'"],!0,!1),xe=/^[0-9]/,Y=pt([["0","9"]],!1,!1),F=Xe("type(",!1),z=/^[^ )]/,ne=pt([" ",")"],!0,!1),ae=Xe(")",!1),be=/^[imsu]/,Pe=pt(["i","m","s","u"],!1,!1),Ie=Xe("/",!1),ue=/^[^\/]/,ve=pt(["/"],!0,!1),G=Xe(":not(",!1),J=Xe(":matches(",!1),Te=Xe(":has(",!1),$=Xe(":first-child",!1),se=Xe(":last-child",!1),De=Xe(":nth-child(",!1),Le=Xe(":nth-last-child(",!1),Fe=Xe(":",!1),V=0,et=[{line:1,column:1}],nt=0,lt=[],Qe={};if("startRule"in o){if(!(o.startRule in h))throw new Error(`Can't start parsing from rule "`+o.startRule+'".');i=h[o.startRule]}function Xe(O,Q){return{type:"literal",text:O,ignoreCase:Q}}function pt(O,Q,ie){return{type:"class",parts:O,inverted:Q,ignoreCase:ie}}function tt(O){var Q,ie=et[O];if(ie)return ie;for(Q=O-1;!et[Q];)Q--;for(ie={line:(ie=et[Q]).line,column:ie.column};Q<O;)n.charCodeAt(Q)===10?(ie.line++,ie.column=1):ie.column++,Q++;return et[O]=ie,ie}function Dt(O,Q){var ie=tt(O),Z=tt(Q);return{start:{offset:O,line:ie.line,column:ie.column},end:{offset:Q,line:Z.line,column:Z.column}}}function st(O){V<nt||(V>nt&&(nt=V,lt=[]),lt.push(O))}function Ce(){var O,Q,ie,Z,le=30*V+0,Ae=Qe[le];return Ae?(V=Ae.nextPos,Ae.result):(O=V,(Q=ge())!==r&&(ie=We())!==r&&ge()!==r?O=Q=(Z=ie).length===1?Z[0]:{type:"matches",selectors:Z}:(V=O,O=r),O===r&&(O=V,(Q=ge())!==r&&(Q=void 0),O=Q),Qe[le]={nextPos:V,result:O},O)}function ge(){var O,Q,ie=30*V+1,Z=Qe[ie];if(Z)return V=Z.nextPos,Z.result;for(O=[],n.charCodeAt(V)===32?(Q=" ",V++):(Q=r,st(f));Q!==r;)O.push(Q),n.charCodeAt(V)===32?(Q=" ",V++):(Q=r,st(f));return Qe[ie]={nextPos:V,result:O},O}function ye(){var O,Q,ie,Z=30*V+2,le=Qe[Z];if(le)return V=le.nextPos,le.result;if(Q=[],m.test(n.charAt(V))?(ie=n.charAt(V),V++):(ie=r,st(s)),ie!==r)for(;ie!==r;)Q.push(ie),m.test(n.charAt(V))?(ie=n.charAt(V),V++):(ie=r,st(s));else Q=r;return Q!==r&&(Q=Q.join("")),O=Q,Qe[Z]={nextPos:V,result:O},O}function Re(){var O,Q,ie,Z=30*V+3,le=Qe[Z];return le?(V=le.nextPos,le.result):(O=V,(Q=ge())!==r?(n.charCodeAt(V)===62?(ie=">",V++):(ie=r,st(l)),ie!==r&&ge()!==r?O=Q="child":(V=O,O=r)):(V=O,O=r),O===r&&(O=V,(Q=ge())!==r?(n.charCodeAt(V)===126?(ie="~",V++):(ie=r,st(d)),ie!==r&&ge()!==r?O=Q="sibling":(V=O,O=r)):(V=O,O=r),O===r&&(O=V,(Q=ge())!==r?(n.charCodeAt(V)===43?(ie="+",V++):(ie=r,st(g)),ie!==r&&ge()!==r?O=Q="adjacent":(V=O,O=r)):(V=O,O=r),O===r&&(O=V,n.charCodeAt(V)===32?(Q=" ",V++):(Q=r,st(f)),Q!==r&&(ie=ge())!==r?O=Q="descendant":(V=O,O=r)))),Qe[Z]={nextPos:V,result:O},O)}function We(){var O,Q,ie,Z,le,Ae,_e,Ve,Ye=30*V+4,me=Qe[Ye];if(me)return V=me.nextPos,me.result;if(O=V,(Q=ce())!==r){for(ie=[],Z=V,(le=ge())!==r?(n.charCodeAt(V)===44?(Ae=",",V++):(Ae=r,st(v)),Ae!==r&&(_e=ge())!==r&&(Ve=ce())!==r?Z=le=[le,Ae,_e,Ve]:(V=Z,Z=r)):(V=Z,Z=r);Z!==r;)ie.push(Z),Z=V,(le=ge())!==r?(n.charCodeAt(V)===44?(Ae=",",V++):(Ae=r,st(v)),Ae!==r&&(_e=ge())!==r&&(Ve=ce())!==r?Z=le=[le,Ae,_e,Ve]:(V=Z,Z=r)):(V=Z,Z=r);ie!==r?O=Q=[Q].concat(ie.map(function(oe){return oe[3]})):(V=O,O=r)}else V=O,O=r;return Qe[Ye]={nextPos:V,result:O},O}function ce(){var O,Q,ie,Z,le,Ae,_e,Ve=30*V+5,Ye=Qe[Ve];if(Ye)return V=Ye.nextPos,Ye.result;if(O=V,(Q=de())!==r){for(ie=[],Z=V,(le=Re())!==r&&(Ae=de())!==r?Z=le=[le,Ae]:(V=Z,Z=r);Z!==r;)ie.push(Z),Z=V,(le=Re())!==r&&(Ae=de())!==r?Z=le=[le,Ae]:(V=Z,Z=r);ie!==r?(_e=Q,O=Q=ie.reduce(function(me,oe){return{type:oe[0],left:me,right:oe[1]}},_e)):(V=O,O=r)}else V=O,O=r;return Qe[Ve]={nextPos:V,result:O},O}function de(){var O,Q,ie,Z,le,Ae,_e,Ve=30*V+6,Ye=Qe[Ve];if(Ye)return V=Ye.nextPos,Ye.result;if(O=V,n.charCodeAt(V)===33?(Q="!",V++):(Q=r,st(S)),Q===r&&(Q=null),Q!==r){if(ie=[],(Z=he())!==r)for(;Z!==r;)ie.push(Z),Z=he();else ie=r;ie!==r?(le=Q,_e=(Ae=ie).length===1?Ae[0]:{type:"compound",selectors:Ae},le&&(_e.subject=!0),O=Q=_e):(V=O,O=r)}else V=O,O=r;return Qe[Ve]={nextPos:V,result:O},O}function he(){var O,Q=30*V+7,ie=Qe[Q];return ie?(V=ie.nextPos,ie.result):((O=function(){var Z,le,Ae=30*V+8,_e=Qe[Ae];return _e?(V=_e.nextPos,_e.result):(n.charCodeAt(V)===42?(le="*",V++):(le=r,st(b)),le!==r&&(le={type:"wildcard",value:le}),Z=le,Qe[Ae]={nextPos:V,result:Z},Z)}())===r&&(O=function(){var Z,le,Ae,_e=30*V+9,Ve=Qe[_e];return Ve?(V=Ve.nextPos,Ve.result):(Z=V,n.charCodeAt(V)===35?(le="#",V++):(le=r,st(C)),le===r&&(le=null),le!==r&&(Ae=ye())!==r?Z=le={type:"identifier",value:Ae}:(V=Z,Z=r),Qe[_e]={nextPos:V,result:Z},Z)}())===r&&(O=function(){var Z,le,Ae,_e,Ve=30*V+10,Ye=Qe[Ve];return Ye?(V=Ye.nextPos,Ye.result):(Z=V,n.charCodeAt(V)===91?(le="[",V++):(le=r,st(w)),le!==r&&ge()!==r&&(Ae=function(){var me,oe,we,Be,Ne=30*V+14,at=Qe[Ne];return at?(V=at.nextPos,at.result):(me=V,(oe=ke())!==r&&ge()!==r&&(we=function(){var qe,Je,Ze,Oe=30*V+12,Ke=Qe[Oe];return Ke?(V=Ke.nextPos,Ke.result):(qe=V,n.charCodeAt(V)===33?(Je="!",V++):(Je=r,st(S)),Je===r&&(Je=null),Je!==r?(n.charCodeAt(V)===61?(Ze="=",V++):(Ze=r,st(A)),Ze!==r?(Je=I(Je),qe=Je):(V=qe,qe=r)):(V=qe,qe=r),Qe[Oe]={nextPos:V,result:qe},qe)}())!==r&&ge()!==r?((Be=function(){var qe,Je,Ze,Oe,Ke,it=30*V+18,ht=Qe[it];if(ht)return V=ht.nextPos,ht.result;if(qe=V,n.substr(V,5)==="type("?(Je="type(",V+=5):(Je=r,st(F)),Je!==r)if(ge()!==r){if(Ze=[],z.test(n.charAt(V))?(Oe=n.charAt(V),V++):(Oe=r,st(ne)),Oe!==r)for(;Oe!==r;)Ze.push(Oe),z.test(n.charAt(V))?(Oe=n.charAt(V),V++):(Oe=r,st(ne));else Ze=r;Ze!==r&&(Oe=ge())!==r?(n.charCodeAt(V)===41?(Ke=")",V++):(Ke=r,st(ae)),Ke!==r?(Je={type:"type",value:Ze.join("")},qe=Je):(V=qe,qe=r)):(V=qe,qe=r)}else V=qe,qe=r;else V=qe,qe=r;return Qe[it]={nextPos:V,result:qe},qe}())===r&&(Be=function(){var qe,Je,Ze,Oe,Ke,it,ht=30*V+20,ft=Qe[ht];if(ft)return V=ft.nextPos,ft.result;if(qe=V,n.charCodeAt(V)===47?(Je="/",V++):(Je=r,st(Ie)),Je!==r){if(Ze=[],ue.test(n.charAt(V))?(Oe=n.charAt(V),V++):(Oe=r,st(ve)),Oe!==r)for(;Oe!==r;)Ze.push(Oe),ue.test(n.charAt(V))?(Oe=n.charAt(V),V++):(Oe=r,st(ve));else Ze=r;Ze!==r?(n.charCodeAt(V)===47?(Oe="/",V++):(Oe=r,st(Ie)),Oe!==r?((Ke=function(){var gt,yt,dt=30*V+19,At=Qe[dt];if(At)return V=At.nextPos,At.result;if(gt=[],be.test(n.charAt(V))?(yt=n.charAt(V),V++):(yt=r,st(Pe)),yt!==r)for(;yt!==r;)gt.push(yt),be.test(n.charAt(V))?(yt=n.charAt(V),V++):(yt=r,st(Pe));else gt=r;return Qe[dt]={nextPos:V,result:gt},gt}())===r&&(Ke=null),Ke!==r?(it=Ke,Je={type:"regexp",value:new RegExp(Ze.join(""),it?it.join(""):"")},qe=Je):(V=qe,qe=r)):(V=qe,qe=r)):(V=qe,qe=r)}else V=qe,qe=r;return Qe[ht]={nextPos:V,result:qe},qe}()),Be!==r?(oe=D(oe,we,Be),me=oe):(V=me,me=r)):(V=me,me=r),me===r&&(me=V,(oe=ke())!==r&&ge()!==r&&(we=function(){var qe,Je,Ze,Oe=30*V+11,Ke=Qe[Oe];return Ke?(V=Ke.nextPos,Ke.result):(qe=V,k.test(n.charAt(V))?(Je=n.charAt(V),V++):(Je=r,st(x)),Je===r&&(Je=null),Je!==r?(n.charCodeAt(V)===61?(Ze="=",V++):(Ze=r,st(A)),Ze!==r?(Je=I(Je),qe=Je):(V=qe,qe=r)):(V=qe,qe=r),qe===r&&(B.test(n.charAt(V))?(qe=n.charAt(V),V++):(qe=r,st(M))),Qe[Oe]={nextPos:V,result:qe},qe)}())!==r&&ge()!==r?((Be=function(){var qe,Je,Ze,Oe,Ke,it,ht=30*V+15,ft=Qe[ht];if(ft)return V=ft.nextPos,ft.result;if(qe=V,n.charCodeAt(V)===34?(Je='"',V++):(Je=r,st(R)),Je!==r){for(Ze=[],N.test(n.charAt(V))?(Oe=n.charAt(V),V++):(Oe=r,st(q)),Oe===r&&(Oe=V,n.charCodeAt(V)===92?(Ke="\\",V++):(Ke=r,st(L)),Ke!==r?(n.length>V?(it=n.charAt(V),V++):(it=r,st(W)),it!==r?(Ke=_(Ke,it),Oe=Ke):(V=Oe,Oe=r)):(V=Oe,Oe=r));Oe!==r;)Ze.push(Oe),N.test(n.charAt(V))?(Oe=n.charAt(V),V++):(Oe=r,st(q)),Oe===r&&(Oe=V,n.charCodeAt(V)===92?(Ke="\\",V++):(Ke=r,st(L)),Ke!==r?(n.length>V?(it=n.charAt(V),V++):(it=r,st(W)),it!==r?(Ke=_(Ke,it),Oe=Ke):(V=Oe,Oe=r)):(V=Oe,Oe=r));Ze!==r?(n.charCodeAt(V)===34?(Oe='"',V++):(Oe=r,st(R)),Oe!==r?(Je=H(Ze),qe=Je):(V=qe,qe=r)):(V=qe,qe=r)}else V=qe,qe=r;if(qe===r)if(qe=V,n.charCodeAt(V)===39?(Je="'",V++):(Je=r,st(K)),Je!==r){for(Ze=[],re.test(n.charAt(V))?(Oe=n.charAt(V),V++):(Oe=r,st(te)),Oe===r&&(Oe=V,n.charCodeAt(V)===92?(Ke="\\",V++):(Ke=r,st(L)),Ke!==r?(n.length>V?(it=n.charAt(V),V++):(it=r,st(W)),it!==r?(Ke=_(Ke,it),Oe=Ke):(V=Oe,Oe=r)):(V=Oe,Oe=r));Oe!==r;)Ze.push(Oe),re.test(n.charAt(V))?(Oe=n.charAt(V),V++):(Oe=r,st(te)),Oe===r&&(Oe=V,n.charCodeAt(V)===92?(Ke="\\",V++):(Ke=r,st(L)),Ke!==r?(n.length>V?(it=n.charAt(V),V++):(it=r,st(W)),it!==r?(Ke=_(Ke,it),Oe=Ke):(V=Oe,Oe=r)):(V=Oe,Oe=r));Ze!==r?(n.charCodeAt(V)===39?(Oe="'",V++):(Oe=r,st(K)),Oe!==r?(Je=H(Ze),qe=Je):(V=qe,qe=r)):(V=qe,qe=r)}else V=qe,qe=r;return Qe[ht]={nextPos:V,result:qe},qe}())===r&&(Be=function(){var qe,Je,Ze,Oe,Ke,it,ht,ft=30*V+16,gt=Qe[ft];if(gt)return V=gt.nextPos,gt.result;for(qe=V,Je=V,Ze=[],xe.test(n.charAt(V))?(Oe=n.charAt(V),V++):(Oe=r,st(Y));Oe!==r;)Ze.push(Oe),xe.test(n.charAt(V))?(Oe=n.charAt(V),V++):(Oe=r,st(Y));if(Ze!==r?(n.charCodeAt(V)===46?(Oe=".",V++):(Oe=r,st(P)),Oe!==r?Je=Ze=[Ze,Oe]:(V=Je,Je=r)):(V=Je,Je=r),Je===r&&(Je=null),Je!==r){if(Ze=[],xe.test(n.charAt(V))?(Oe=n.charAt(V),V++):(Oe=r,st(Y)),Oe!==r)for(;Oe!==r;)Ze.push(Oe),xe.test(n.charAt(V))?(Oe=n.charAt(V),V++):(Oe=r,st(Y));else Ze=r;Ze!==r?(it=Ze,ht=(Ke=Je)?[].concat.apply([],Ke).join(""):"",Je={type:"literal",value:parseFloat(ht+it.join(""))},qe=Je):(V=qe,qe=r)}else V=qe,qe=r;return Qe[ft]={nextPos:V,result:qe},qe}())===r&&(Be=function(){var qe,Je,Ze=30*V+17,Oe=Qe[Ze];return Oe?(V=Oe.nextPos,Oe.result):((Je=ye())!==r&&(Je={type:"literal",value:Je}),qe=Je,Qe[Ze]={nextPos:V,result:qe},qe)}()),Be!==r?(oe=D(oe,we,Be),me=oe):(V=me,me=r)):(V=me,me=r),me===r&&(me=V,(oe=ke())!==r&&(oe={type:"attribute",name:oe}),me=oe)),Qe[Ne]={nextPos:V,result:me},me)}())!==r&&ge()!==r?(n.charCodeAt(V)===93?(_e="]",V++):(_e=r,st(E)),_e!==r?Z=le=Ae:(V=Z,Z=r)):(V=Z,Z=r),Qe[Ve]={nextPos:V,result:Z},Z)}())===r&&(O=function(){var Z,le,Ae,_e,Ve,Ye,me,oe,we=30*V+21,Be=Qe[we];if(Be)return V=Be.nextPos,Be.result;if(Z=V,n.charCodeAt(V)===46?(le=".",V++):(le=r,st(P)),le!==r)if((Ae=ye())!==r){for(_e=[],Ve=V,n.charCodeAt(V)===46?(Ye=".",V++):(Ye=r,st(P)),Ye!==r&&(me=ye())!==r?Ve=Ye=[Ye,me]:(V=Ve,Ve=r);Ve!==r;)_e.push(Ve),Ve=V,n.charCodeAt(V)===46?(Ye=".",V++):(Ye=r,st(P)),Ye!==r&&(me=ye())!==r?Ve=Ye=[Ye,me]:(V=Ve,Ve=r);_e!==r?(oe=Ae,le={type:"field",name:_e.reduce(function(Ne,at){return Ne+at[0]+at[1]},oe)},Z=le):(V=Z,Z=r)}else V=Z,Z=r;else V=Z,Z=r;return Qe[we]={nextPos:V,result:Z},Z}())===r&&(O=function(){var Z,le,Ae,_e,Ve=30*V+22,Ye=Qe[Ve];return Ye?(V=Ye.nextPos,Ye.result):(Z=V,n.substr(V,5)===":not("?(le=":not(",V+=5):(le=r,st(G)),le!==r&&ge()!==r&&(Ae=We())!==r&&ge()!==r?(n.charCodeAt(V)===41?(_e=")",V++):(_e=r,st(ae)),_e!==r?Z=le={type:"not",selectors:Ae}:(V=Z,Z=r)):(V=Z,Z=r),Qe[Ve]={nextPos:V,result:Z},Z)}())===r&&(O=function(){var Z,le,Ae,_e,Ve=30*V+23,Ye=Qe[Ve];return Ye?(V=Ye.nextPos,Ye.result):(Z=V,n.substr(V,9)===":matches("?(le=":matches(",V+=9):(le=r,st(J)),le!==r&&ge()!==r&&(Ae=We())!==r&&ge()!==r?(n.charCodeAt(V)===41?(_e=")",V++):(_e=r,st(ae)),_e!==r?Z=le={type:"matches",selectors:Ae}:(V=Z,Z=r)):(V=Z,Z=r),Qe[Ve]={nextPos:V,result:Z},Z)}())===r&&(O=function(){var Z,le,Ae,_e,Ve=30*V+24,Ye=Qe[Ve];return Ye?(V=Ye.nextPos,Ye.result):(Z=V,n.substr(V,5)===":has("?(le=":has(",V+=5):(le=r,st(Te)),le!==r&&ge()!==r&&(Ae=We())!==r&&ge()!==r?(n.charCodeAt(V)===41?(_e=")",V++):(_e=r,st(ae)),_e!==r?Z=le={type:"has",selectors:Ae}:(V=Z,Z=r)):(V=Z,Z=r),Qe[Ve]={nextPos:V,result:Z},Z)}())===r&&(O=function(){var Z,le,Ae=30*V+25,_e=Qe[Ae];return _e?(V=_e.nextPos,_e.result):(n.substr(V,12)===":first-child"?(le=":first-child",V+=12):(le=r,st($)),le!==r&&(le=$e(1)),Z=le,Qe[Ae]={nextPos:V,result:Z},Z)}())===r&&(O=function(){var Z,le,Ae=30*V+26,_e=Qe[Ae];return _e?(V=_e.nextPos,_e.result):(n.substr(V,11)===":last-child"?(le=":last-child",V+=11):(le=r,st(se)),le!==r&&(le=Ee(1)),Z=le,Qe[Ae]={nextPos:V,result:Z},Z)}())===r&&(O=function(){var Z,le,Ae,_e,Ve,Ye=30*V+27,me=Qe[Ye];if(me)return V=me.nextPos,me.result;if(Z=V,n.substr(V,11)===":nth-child("?(le=":nth-child(",V+=11):(le=r,st(De)),le!==r)if(ge()!==r){if(Ae=[],xe.test(n.charAt(V))?(_e=n.charAt(V),V++):(_e=r,st(Y)),_e!==r)for(;_e!==r;)Ae.push(_e),xe.test(n.charAt(V))?(_e=n.charAt(V),V++):(_e=r,st(Y));else Ae=r;Ae!==r&&(_e=ge())!==r?(n.charCodeAt(V)===41?(Ve=")",V++):(Ve=r,st(ae)),Ve!==r?(le=$e(parseInt(Ae.join(""),10)),Z=le):(V=Z,Z=r)):(V=Z,Z=r)}else V=Z,Z=r;else V=Z,Z=r;return Qe[Ye]={nextPos:V,result:Z},Z}())===r&&(O=function(){var Z,le,Ae,_e,Ve,Ye=30*V+28,me=Qe[Ye];if(me)return V=me.nextPos,me.result;if(Z=V,n.substr(V,16)===":nth-last-child("?(le=":nth-last-child(",V+=16):(le=r,st(Le)),le!==r)if(ge()!==r){if(Ae=[],xe.test(n.charAt(V))?(_e=n.charAt(V),V++):(_e=r,st(Y)),_e!==r)for(;_e!==r;)Ae.push(_e),xe.test(n.charAt(V))?(_e=n.charAt(V),V++):(_e=r,st(Y));else Ae=r;Ae!==r&&(_e=ge())!==r?(n.charCodeAt(V)===41?(Ve=")",V++):(Ve=r,st(ae)),Ve!==r?(le=Ee(parseInt(Ae.join(""),10)),Z=le):(V=Z,Z=r)):(V=Z,Z=r)}else V=Z,Z=r;else V=Z,Z=r;return Qe[Ye]={nextPos:V,result:Z},Z}())===r&&(O=function(){var Z,le,Ae,_e=30*V+29,Ve=Qe[_e];return Ve?(V=Ve.nextPos,Ve.result):(Z=V,n.charCodeAt(V)===58?(le=":",V++):(le=r,st(Fe)),le!==r&&(Ae=ye())!==r?Z=le={type:"class",name:Ae}:(V=Z,Z=r),Qe[_e]={nextPos:V,result:Z},Z)}()),Qe[Q]={nextPos:V,result:O},O)}function ke(){var O,Q,ie,Z,le,Ae,_e,Ve,Ye=30*V+13,me=Qe[Ye];if(me)return V=me.nextPos,me.result;if(O=V,(Q=ye())!==r){for(ie=[],Z=V,n.charCodeAt(V)===46?(le=".",V++):(le=r,st(P)),le!==r&&(Ae=ye())!==r?Z=le=[le,Ae]:(V=Z,Z=r);Z!==r;)ie.push(Z),Z=V,n.charCodeAt(V)===46?(le=".",V++):(le=r,st(P)),le!==r&&(Ae=ye())!==r?Z=le=[le,Ae]:(V=Z,Z=r);ie!==r?(_e=Q,Ve=ie,O=Q=[].concat.apply([_e],Ve).join("")):(V=O,O=r)}else V=O,O=r;return Qe[Ye]={nextPos:V,result:O},O}function $e(O){return{type:"nth-child",index:{type:"literal",value:O}}}function Ee(O){return{type:"nth-last-child",index:{type:"literal",value:O}}}if((t=i())!==r&&V===n.length)return t;throw t!==r&&V<n.length&&st({type:"end"}),c=lt,p=nt<n.length?n.charAt(nt):null,u=nt<n.length?Dt(nt,nt+1):Dt(nt,nt),new e(e.buildMessage(c,p),c,p,u)}}}())});function rr(a,e){for(var n=0;n<e.length;++n){if(a==null)return a;a=a[e[n]]}return a}var bp=typeof WeakMap=="function"?new WeakMap:null;function Kt(a){if(a==null)return function(){return!0};if(bp!=null){var e=bp.get(a);return e!=null||(e=h0(a),bp.set(a,e)),e}return h0(a)}function h0(a){switch(a.type){case"wildcard":return function(){return!0};case"identifier":var e=a.value.toLowerCase();return function(E,k,x){var A=x&&x.nodeTypeKey||"type";return e===E[A].toLowerCase()};case"field":var n=a.name.split(".");return function(E,k){return function x(A,I,B,M){for(var P=I,D=M;D<B.length;++D){if(P==null)return!1;var R=P[B[D]];if(Array.isArray(R)){for(var N=0;N<R.length;++N)if(x(A,R[N],B,D+1))return!0;return!1}P=R}return A===P}(E,k[n.length-1],n,0)};case"matches":var o=a.selectors.map(Kt);return function(E,k,x){for(var A=0;A<o.length;++A)if(o[A](E,k,x))return!0;return!1};case"compound":var t=a.selectors.map(Kt);return function(E,k,x){for(var A=0;A<t.length;++A)if(!t[A](E,k,x))return!1;return!0};case"not":var c=a.selectors.map(Kt);return function(E,k,x){for(var A=0;A<c.length;++A)if(c[A](E,k,x))return!1;return!0};case"has":var p=a.selectors.map(Kt);return function(E,k,x){var A=!1,I=[];return Vn.traverse(E,{enter:function(B,M){M!=null&&I.unshift(M);for(var P=0;P<p.length;++P)if(p[P](B,I,x))return A=!0,void this.break()},leave:function(){I.shift()},keys:x&&x.visitorKeys,fallback:x&&x.fallback||"iteration"}),A};case"child":var u=Kt(a.left),r=Kt(a.right);return function(E,k,x){return!!(k.length>0&&r(E,k,x))&&u(k[0],k.slice(1),x)};case"descendant":var h=Kt(a.left),i=Kt(a.right);return function(E,k,x){if(i(E,k,x)){for(var A=0,I=k.length;A<I;++A)if(h(k[A],k.slice(A+1),x))return!0}return!1};case"attribute":var f=a.name.split(".");switch(a.operator){case void 0:return function(E){return rr(E,f)!=null};case"=":switch(a.value.type){case"regexp":return function(E){var k=rr(E,f);return typeof k=="string"&&a.value.value.test(k)};case"literal":var m="".concat(a.value.value);return function(E){return m==="".concat(rr(E,f))};case"type":return function(E){return a.value.value===mn(rr(E,f))}}throw new Error("Unknown selector value type: ".concat(a.value.type));case"!=":switch(a.value.type){case"regexp":return function(E){return!a.value.value.test(rr(E,f))};case"literal":var s="".concat(a.value.value);return function(E){return s!=="".concat(rr(E,f))};case"type":return function(E){return a.value.value!==mn(rr(E,f))}}throw new Error("Unknown selector value type: ".concat(a.value.type));case"<=":return function(E){return rr(E,f)<=a.value.value};case"<":return function(E){return rr(E,f)<a.value.value};case">":return function(E){return rr(E,f)>a.value.value};case">=":return function(E){return rr(E,f)>=a.value.value}}throw new Error("Unknown operator: ".concat(a.operator));case"sibling":var l=Kt(a.left),d=Kt(a.right);return function(E,k,x){return d(E,k,x)&&d0(E,l,k,"LEFT_SIDE",x)||a.left.subject&&l(E,k,x)&&d0(E,d,k,"RIGHT_SIDE",x)};case"adjacent":var g=Kt(a.left),v=Kt(a.right);return function(E,k,x){return v(E,k,x)&&g0(E,g,k,"LEFT_SIDE",x)||a.right.subject&&g(E,k,x)&&g0(E,v,k,"RIGHT_SIDE",x)};case"nth-child":var S=a.index.value,b=Kt(a.right);return function(E,k,x){return b(E,k,x)&&y0(E,k,S,x)};case"nth-last-child":var C=-a.index.value,w=Kt(a.right);return function(E,k,x){return w(E,k,x)&&y0(E,k,C,x)};case"class":return function(E,k,x){if(x&&x.matchClass)return x.matchClass(a.name,E,k);if(x&&x.nodeTypeKey)return!1;switch(a.name.toLowerCase()){case"statement":if(E.type.slice(-9)==="Statement")return!0;case"declaration":return E.type.slice(-11)==="Declaration";case"pattern":if(E.type.slice(-7)==="Pattern")return!0;case"expression":return E.type.slice(-10)==="Expression"||E.type.slice(-7)==="Literal"||E.type==="Identifier"&&(k.length===0||k[0].type!=="MetaProperty")||E.type==="MetaProperty";case"function":return E.type==="FunctionDeclaration"||E.type==="FunctionExpression"||E.type==="ArrowFunctionExpression"}throw new Error("Unknown class name: ".concat(a.name))}}throw new Error("Unknown selector type: ".concat(a.type))}function xp(a,e){var n=e&&e.nodeTypeKey||"type",o=a[n];return e&&e.visitorKeys&&e.visitorKeys[o]?e.visitorKeys[o]:Vn.VisitorKeys[o]?Vn.VisitorKeys[o]:e&&typeof e.fallback=="function"?e.fallback(a):Object.keys(a).filter(function(t){return t!==n})}function Cp(a,e){var n=e&&e.nodeTypeKey||"type";return a!==null&&mn(a)==="object"&&typeof a[n]=="string"}function d0(a,e,n,o,t){var c=Ep(n,1)[0];if(!c)return!1;for(var p=xp(c,t),u=0;u<p.length;++u){var r=c[p[u]];if(Array.isArray(r)){var h=r.indexOf(a);if(h<0)continue;var i=void 0,f=void 0;o==="LEFT_SIDE"?(i=0,f=h):(i=h+1,f=r.length);for(var m=i;m<f;++m)if(Cp(r[m],t)&&e(r[m],n,t))return!0}}return!1}function g0(a,e,n,o,t){var c=Ep(n,1)[0];if(!c)return!1;for(var p=xp(c,t),u=0;u<p.length;++u){var r=c[p[u]];if(Array.isArray(r)){var h=r.indexOf(a);if(h<0)continue;if(o==="LEFT_SIDE"&&h>0&&Cp(r[h-1],t)&&e(r[h-1],n,t)||o==="RIGHT_SIDE"&&h<r.length-1&&Cp(r[h+1],t)&&e(r[h+1],n,t))return!0}}return!1}function y0(a,e,n,o){if(n===0)return!1;var t=Ep(e,1)[0];if(!t)return!1;for(var c=xp(t,o),p=0;p<c.length;++p){var u=t[c[p]];if(Array.isArray(u)){var r=n<0?u.length+n:n-1;if(r>=0&&r<u.length&&u[r]===a)return!0}}return!1}function v0(a,e,n,o){if(e){var t=[],c=Kt(e),p=function u(r,h){if(r==null||mn(r)!="object")return[];h==null&&(h=r);for(var i=r.subject?[h]:[],f=Object.keys(r),m=0;m<f.length;++m){var s=f[m],l=r[s];i.push.apply(i,bP(u(l,s==="left"?l:h)))}return i}(e).map(Kt);Vn.traverse(a,{enter:function(u,r){if(r!=null&&t.unshift(r),c(u,t,o))if(p.length)for(var h=0,i=p.length;h<i;++h){p[h](u,t,o)&&n(u,r,t);for(var f=0,m=t.length;f<m;++f){var s=t.slice(f+1);p[h](t[f],s,o)&&n(t[f],r,s)}}else n(u,r,t)},leave:function(){t.shift()},keys:o&&o.visitorKeys,fallback:o&&o.fallback||"iteration"})}}function E0(a,e,n){var o=[];return v0(a,e,function(t){o.push(t)},n),o}function S0(a){return xP.parse(a)}function Lr(a,e,n){return E0(a,S0(e),n)}Lr.parse=S0,Lr.match=E0,Lr.traverse=v0,Lr.matches=function(a,e,n,o){return!e||!!a&&(n||(n=[]),Kt(e)(a,n,o))},Lr.query=Lr;var wp,b0;function CP(){if(b0)return wp;b0=1;const a=Lr;class e{constructor(f,m,s,l,d,g){St(this,"source");St(this,"isExit");St(this,"root");St(this,"nodeTypes");St(this,"attributeCount");St(this,"identifierCount");this.source=f,this.isExit=m,this.root=s,this.nodeTypes=l,this.attributeCount=d,this.identifierCount=g}compare(f){return this.attributeCount-f.attributeCount||this.identifierCount-f.identifierCount||(this.source<=f.source?-1:1)}}const n=new Map;function o(...i){return[...new Set(i.flat())]}function t(...i){if(i.length===0)return[];let f=[...new Set(i[0])];for(const m of i.slice(1))f=f.filter(s=>m.includes(s));return f}function c(i){let f=0,m=0;function s(d){switch(d.type){case"identifier":return m++,[d.value];case"not":return d.selectors.map(s),null;case"matches":{const g=d.selectors.map(s);return g.every(Boolean)?o(...g):null}case"compound":{const g=d.selectors.map(s).filter(v=>v);return g.length?t(...g):null}case"attribute":case"field":case"nth-child":case"nth-last-child":return f++,null;case"child":case"descendant":case"sibling":case"adjacent":return s(d.left),s(d.right);case"class":return d.name==="function"?["FunctionDeclaration","FunctionExpression","ArrowFunctionExpression"]:null;default:return null}}return{nodeTypes:s(i),attributeCount:f,identifierCount:m}}function p(i){return i==="*"?{type:"wildcard",value:"*"}:/^[a-z]+$/iu.test(i)?{type:"identifier",value:i}:null}function u(i){try{return a.parse(i)}catch(f){throw f.location&&f.location.start&&typeof f.location.start.offset=="number"?new SyntaxError(`Syntax error in selector "${i}" at position ${f.location.start.offset}: ${f.message}`):f}}function r(i){if(n.has(i))return n.get(i);const f=i.replace(/:exit$/u,""),m=p(f)??u(f),{nodeTypes:s,attributeCount:l,identifierCount:d}=c(m),g=new e(i,i.endsWith(":exit"),m,s,l,d);return n.set(i,g),g}function h(i,f,m,s){return a.matches(i,f,m,s)}return wp={parse:r,matches:h,ESQueryParsedSelector:e},wp}var Ap,x0;function wP(){var r,Fp,i;if(x0)return Ap;x0=1;const{parse:a,matches:e}=CP(),n=Qr(),o=1,t=2;function c(f,m){return f.compare(m)}class p{constructor(m,s){Xt(this,r);this.emitter=m,this.esqueryOptions=s,this.enterSelectorsByNodeType=new Map,this.exitSelectorsByNodeType=new Map,this.anyTypeEnterSelectors=[],this.anyTypeExitSelectors=[],m.eventNames().forEach(l=>{const d=a(l);if(d.nodeTypes){const v=d.isExit?this.exitSelectorsByNodeType:this.enterSelectorsByNodeType;d.nodeTypes.forEach(S=>{v.has(S)||v.set(S,[]),v.get(S).push(d)});return}(d.isExit?this.anyTypeExitSelectors:this.anyTypeEnterSelectors).push(d)}),this.anyTypeEnterSelectors.sort(c),this.anyTypeExitSelectors.sort(c),this.enterSelectorsByNodeType.forEach(l=>l.sort(c)),this.exitSelectorsByNodeType.forEach(l=>l.sort(c))}applySelectors(m,s,l){var C;const d=((C=this.esqueryOptions)==null?void 0:C.nodeTypeKey)||"type",g=(l?this.exitSelectorsByNodeType:this.enterSelectorsByNodeType).get(m[d])||[],v=l?this.anyTypeExitSelectors:this.anyTypeEnterSelectors;let S=0,b=0;for(;S<g.length||b<v.length;)S>=g.length||b<v.length&&v[b].compare(g[S])<0?xr(this,r,Fp).call(this,m,s,v[b++]):xr(this,r,Fp).call(this,m,s,g[S++])}}r=new WeakSet,Fp=function(m,s,l){e(m,l.root,s,this.esqueryOptions)&&this.emitter.emit(l.source,m)};class u{constructor(m){Xt(this,i);hr(this,i,m)}static getInstance(m){return this.instances.has(m)||this.instances.set(m,new this(m)),this.instances.get(m)}traverseSync(m,s,{steps:l}={}){const d=new p(s,{visitorKeys:m.visitorKeys??Tt(this,i).visitorKeys,fallback:n.getKeys,matchClass:Tt(this,i).matchesSelectorClass??(()=>!1),nodeTypeKey:Tt(this,i).nodeTypeKey}),g=[];for(const v of l??m.traverse())switch(v.kind){case o:{try{v.phase===1?(d.applySelectors(v.target,g,!1),g.unshift(v.target)):(g.shift(),d.applySelectors(v.target,g,!0))}catch(S){throw S.currentNode=v.target,S}break}case t:{s.emit(v.target,...v.args);break}default:throw new Error(`Invalid traversal step found: "${v.kind}".`)}}}return i=new WeakMap,St(u,"instances",new WeakMap),Ap={SourceCodeTraverser:u},Ap}var Tp,C0;function AP(){var he,Rp,_p;if(C0)return Tp;C0=1;const a=Sn,e=Kn(),n=Qr(),o=xn(),t=hx(),c=gx,{Legacy:{ConfigOps:p,ConfigValidator:u,environments:r}}=Ph(),h=ua(),{SourceCode:i}=Rd(),f=cw(),{ConfigCommentParser:m}=Id(),s=mw(),l=zI(),d=md(),g=HI(),v=KI(),S=Lb,{FlatConfigArray:b}=hP(),{startTime:C,endTime:w}=_b(),{assertIsRuleSeverity:E}=ip(),{normalizeSeverityToString:k,normalizeSeverityToNumber:x}=zb(),{deepMergeArrays:A}=Zb(),I=Jb(),{activeFlags:B,inactiveFlags:M,getInactivityReasonMessage:P}=dP(),D=Rr()("eslint:linter"),R=10,N="espree",q=5,L=new m,W={start:{line:1,column:0},end:{line:1,column:1}},_=Symbol.for("eslint.RuleTester.parser"),{LATEST_ECMA_VERSION:H}=ui(),{VFile:K}=i0(),{ParserService:re}=gP(),{FileContext:te}=yP(),{ProcessorService:xe}=vP(),{containsDifferentProperty:Y}=EP(),{Config:F}=r0(),{WarningService:z}=SP(),{SourceCodeTraverser:ne}=wP();function ae(Ee){return Ee===o||Ee[_]===o}function be(Ee,O,{exportedVariables:Q,enabledGlobals:ie}){for(const Z of new Set([...Object.keys(O),...Object.keys(ie)])){const le=O[Z]===void 0?void 0:p.normalizeConfigGlobal(O[Z]),_e=ie[Z]&&ie[Z].value||le,Ve=ie[Z]&&ie[Z].comments;if(_e==="off")continue;let Ye=Ee.set.get(Z);Ye||(Ye=new e.Variable(Z,Ee),Ee.variables.push(Ye),Ee.set.set(Z,Ye)),Ye.eslintImplicitGlobalSetting=le,Ye.eslintExplicitGlobal=Ve!==void 0,Ye.eslintExplicitGlobalComments=Ve,Ye.writeable=_e==="writable"}Object.keys(Q).forEach(Z=>{const le=Ee.set.get(Z);le&&(le.eslintUsed=!0,le.eslintExported=!0)}),Ee.through=Ee.through.filter(Z=>{const le=Z.identifier.name,Ae=Ee.set.get(le);return Ae?(Z.resolved=Ae,Ae.references.push(Z),!1):!0})}function Pe(Ee){return Object.hasOwn(S.rules,Ee)?`Rule '${Ee}' was removed and replaced by: ${S.rules[Ee].join(", ")}`:`Definition for rule '${Ee}' was not found.`}function Ie({line:Ee,column:O,endLine:Q,endColumn:ie},Z){const le=Z.columnStart===1?0:1,Ae=Z.lineStart===1?0:1,_e=Q===void 0?Q:Q+Ae,Ve=ie===void 0?ie:ie+le;return{line:Ee+Ae,column:O+le,endLine:_e,endColumn:Ve}}function ue(Ee){const{ruleId:O=null,loc:Q=W,message:ie=Pe(Ee.ruleId),severity:Z=2,language:le={columnStart:0,lineStart:1}}=Ee;return{ruleId:O,message:ie,...Ie({line:Q.start.line,column:Q.start.column,endLine:Q.end.line,endColumn:Q.end.column},le),severity:Z,nodeType:null}}function ve(Ee){return Array.isArray(Ee)?Ee:[Ee]}function G(Ee,O,Q,ie,Z,le,Ae){var Ne;const _e=(Ne=Ee.rules)==null?void 0:Ne[ie],Ve=_e?ve(_e):["off"],Ye=k(Ve[0]),me=k(Z[0]);if(!(Ye===me))return;const we=_e?`is already configured to '${Ye}'`:"is not enabled so can't be turned off";let Be;Ve.length===1&&Z.length===1||Ye==="off"?Be=`Unused inline config ('${ie}' ${we}).`:Y(Z.slice(1),Ve.slice(1))||(Be=le.length===1?`Unused inline config ('${ie}' ${we}).`:`Unused inline config ('${ie}' ${we} with the same options).`),Be&&Q.push(ue({ruleId:null,message:Be,loc:O,language:Ee.language,severity:x(Ae)}))}function J({type:Ee,value:O,justification:Q,node:ie},Z,le,Ae){const _e=Object.keys(L.parseListConfig(O)),Ve=_e.length?_e:[null],Ye={directives:[],directiveProblems:[]},me={node:ie,value:O,ruleIds:_e};for(const oe of Ve){const we=Ae.getLoc(ie);if(oe===null||Z(oe))if(Ee==="disable-next-line"){const{line:Be,column:Ne}=Ie(we.end,le);Ye.directives.push({parentDirective:me,type:Ee,line:Be,column:Ne,ruleId:oe,justification:Q})}else{const{line:Be,column:Ne}=Ie(we.start,le);Ye.directives.push({parentDirective:me,type:Ee,line:Be,column:Ne,ruleId:oe,justification:Q})}else Ye.directiveProblems.push(ue({ruleId:oe,loc:we,language:le}))}return Ye}function Te(Ee,O,Q,ie){const Z={},le=Object.create(null),Ae={},_e=[],Ve=[],Ye=new u({builtInRules:l});return Ee.getInlineConfigNodes().filter(me=>me.type!=="Shebang").forEach(me=>{const oe=L.parseDirective(me.value);if(!oe)return;const{label:we,value:Be,justification:Ne}=oe,at=/^eslint-disable-(next-)?line$/u.test(we);if(me.type==="Line"&&!at)return;const qe=Ee.getLoc(me);if(Q){const Je=me.type==="Block"?`/*${we}*/`:`//${we}`;_e.push(ue({ruleId:null,message:`'${Je}' has no effect because you have 'noInlineConfig' setting in ${Q}.`,loc:qe,severity:1}));return}if(we==="eslint-disable-line"&&qe.start.line!==qe.end.line){const Je=`${we} comment should not span multiple lines.`;_e.push(ue({ruleId:null,message:Je,loc:qe}));return}switch(we){case"eslint-disable":case"eslint-enable":case"eslint-disable-next-line":case"eslint-disable-line":{const Je=we.slice(7),{directives:Ze,directiveProblems:Oe}=J({type:Je,value:Be,justification:Ne,node:me},O,I,Ee);Ve.push(...Ze),_e.push(...Oe);break}case"exported":Object.assign(Ae,L.parseListConfig(Be));break;case"globals":case"global":for(const[Je,Ze]of Object.entries(L.parseStringConfig(Be))){let Oe;try{Oe=p.normalizeConfigGlobal(Ze)}catch(Ke){_e.push(ue({ruleId:null,loc:qe,message:Ke.message}));continue}le[Je]?(le[Je].comments.push(me),le[Je].value=Oe):le[Je]={comments:[me],value:Oe}}break;case"eslint":{const Je=L.parseJSONLikeConfig(Be);if(Je.ok)Object.keys(Je.config).forEach(Ze=>{const Oe=O(Ze),Ke=Je.config[Ze];if(!Oe){_e.push(ue({ruleId:Ze,loc:qe}));return}if(Object.hasOwn(Z,Ze)){_e.push(ue({message:`Rule "${Ze}" is already configured by another configuration comment in the preceding code. This configuration is ignored.`,loc:qe}));return}let it=ve(Ke);it.length===1&&ie.rules&&Object.hasOwn(ie.rules,Ze)&&(it=[it[0],...ve(ie.rules[Ze]).slice(1)]);try{Ye.validateRuleOptions(Oe,Ze,it)}catch(ht){if(ht.code==="ESLINT_INVALID_RULE_OPTIONS_SCHEMA")throw ht;_e.push(ue({ruleId:Ze,message:ht.message,loc:qe}));return}Z[Ze]=it});else{const Ze=ue({ruleId:null,loc:qe,message:Je.error.message});Ze.fatal=!0,_e.push(Ze)}break}}}),{configuredRules:Z,enabledGlobals:le,exportedVariables:Ae,problems:_e,disableDirectives:Ve}}function $(Ee,O,Q){const ie=[],Z=[];if(Ee.getDisableDirectives){const{directives:le,problems:Ae}=Ee.getDisableDirectives();Z.push(...Ae.map(_e=>ue({..._e,language:Q}))),le.forEach(_e=>{const{directives:Ve,directiveProblems:Ye}=J(_e,O,Q,Ee);ie.push(...Ve),Z.push(...Ye)})}return{problems:Z,disableDirectives:ie}}function se(Ee,O){return ae(Ee)&&O==="latest"?o.latestEcmaVersion:O>=2015?O-2009:O}function De(Ee){switch(Ee){case 3:return 3;case 5:case void 0:return 5;default:if(typeof Ee=="number")return Ee>=2015?Ee:Ee+2009}return H}const Le=/\/\*\s*eslint-env\s(.+?)(?:\*\/|$)/gsu;function Fe(Ee){let O,Q;for(Le.lastIndex=0;(O=Le.exec(Ee))!==null;)O[0].endsWith("*/")&&(Q=Object.assign(Q||{},L.parseListConfig(L.parseDirective(O[0].slice(2,-2)).value)));return Q}function V(Ee){const O=Ee.split(a.sep),Q=O.lastIndexOf("<text>");return Q===-1?Ee:O.slice(Q).join(a.sep)}function et(Ee,O){const Q=O.linterOptions||O,ie=Q.noInlineConfig===!0,Z=Ee.allowInlineConfig===!1,le=O.configNameOfNoInlineConfig?` (${O.configNameOfNoInlineConfig})`:"";let Ae=Ee.reportUnusedDisableDirectives;typeof Ae=="boolean"&&(Ae=Ae?"error":"off"),typeof Ae!="string"&&(typeof Q.reportUnusedDisableDirectives=="boolean"?Ae=Q.reportUnusedDisableDirectives?"warn":"off":Ae=Q.reportUnusedDisableDirectives===void 0?"off":k(Q.reportUnusedDisableDirectives));const _e=Q.reportUnusedInlineConfigs===void 0?"off":k(Q.reportUnusedInlineConfigs);let Ve=Ee.ruleFilter;return typeof Ve!="function"&&(Ve=()=>!0),{filename:V(Ee.filename||"<input>"),allowInlineConfig:!Z,warnInlineConfig:ie&&!Z?`your config${le}`:null,reportUnusedDisableDirectives:Ae,reportUnusedInlineConfigs:_e,disableFixes:!!Ee.disableFixes,stats:Ee.stats,ruleFilter:Ve}}function nt(Ee,O,Q){const ie=Q.filter(Ae=>Ae.parserOptions).reduce((Ae,_e)=>t(Ae,_e.parserOptions),{}),Z=t(ie,O||{});return Z.sourceType==="module"&&(Z.ecmaFeatures=Object.assign({},Z.ecmaFeatures,{globalReturn:!1})),Z.ecmaVersion=se(Ee,Z.ecmaVersion),Z}function lt({globals:Ee,parser:O,parserOptions:Q}){const{ecmaVersion:ie,sourceType:Z}=Q;return{globals:Ee,ecmaVersion:De(ie),sourceType:Z,parser:O,parserOptions:Q}}function Qe(Ee,O){return Object.assign(Object.create(null),...O.filter(Q=>Q.globals).map(Q=>Q.globals),Ee)}function Xe(Ee,O,Q){var Ae,_e,Ve;const{type:ie,key:Z}=O;Q.times||(Q.times={passes:[{}]});const le=Q.fixPasses;le>Q.times.passes.length-1&&Q.times.passes.push({}),Z?((Ae=Q.times.passes[le])[ie]??(Ae[ie]={}),(_e=Q.times.passes[le][ie])[Z]??(_e[Z]={total:0}),Q.times.passes[le][ie][Z].total+=Ee):((Ve=Q.times.passes[le])[ie]??(Ve[ie]={total:0}),Q.times.passes[le][ie].total+=Ee)}function pt(Ee,O){return Array.isArray(Ee)?A(O,Ee.slice(1)):O??[]}function tt(Ee,O,Q){const Z=O.parserOptions.ecmaFeatures||{},le=O.ecmaVersion||q;return e.analyze(Ee,{ignoreEval:!0,nodejsScope:Z.globalReturn,impliedStrict:Z.impliedStrict,ecmaVersion:typeof le=="number"?le:6,sourceType:O.sourceType||"script",childVisitorKeys:n.KEYS,fallback:h.getKeys})}function Dt(Ee,O){if(!Ee||typeof Ee!="object"||typeof Ee.create!="function")throw new TypeError(`Error while loading rule '${O.id}': Rule must be an object with a \`create\` method`);try{return Ee.create(O)}catch(Q){throw Q.message=`Error while loading rule '${O.id}': ${Q.message}`,Q}}function st(Ee,O,Q,ie,Z,le,Ae,_e,Ve,Ye,me,oe,we,Be,Ne){const at=d(),qe=new te({cwd:me,filename:_e,physicalFilename:oe||_e,sourceCode:Ee,parserOptions:{...le.parserOptions},parserPath:ie,languageOptions:le,settings:Ae}),Je=[],Ze=Ee.traverse();return Object.keys(O).forEach(Ke=>{var Rt;const it=F.getRuleNumericSeverity(O[Ke]);if(it===0||we&&!we({ruleId:Ke,severity:it}))return;const ht=Q(Ke);if(!ht){Je.push(ue({ruleId:Ke,language:Z}));return}const ft=ht.meta&&ht.meta.messages;let gt=null;const yt=qe.extend({id:Ke,options:pt(O[Ke],Ve?(Rt=ht.meta)==null?void 0:Rt.defaultOptions:void 0),report(..._t){gt===null&&(gt=s({ruleId:Ke,severity:it,sourceCode:Ee,messageIds:ft,disableFixes:Ye,language:Z}));const Ut=gt(..._t);if(Ut.fix&&!(ht.meta&&ht.meta.fixable))throw new Error('Fixable rules must set the `meta.fixable` property to "code" or "whitespace".');if(Ut.suggestions&&!(ht.meta&&ht.meta.hasSuggestions===!0))throw ht.meta&&ht.meta.docs&&typeof ht.meta.docs.suggestion<"u"?new Error("Rules with suggestions must set the `meta.hasSuggestions` property to `true`. `meta.docs.suggestion` is ignored by ESLint."):new Error("Rules with suggestions must set the `meta.hasSuggestions` property to `true`.");Je.push(Ut)}}),dt=v.enabled||Be?v.time(Ke,Dt,Be)(ht,yt):Dt(ht,yt),At=Be?dt.result:dt;Be&&Xe(dt.tdiff,{type:"rules",key:Ke},Ne);function Ft(_t){return function(...Vt){try{const ut=_t(...Vt),Wt=Be?ut.result:ut;return Be&&Xe(ut.tdiff,{type:"rules",key:Ke},Ne),Wt}catch(ut){throw ut.ruleId=Ke,ut}}}if(typeof At>"u"||At===null)throw new Error(`The create() function for rule '${Ke}' did not return an object.`);Object.keys(At).forEach(_t=>{const Ut=v.enabled||Be?v.time(Ke,At[_t],Be):At[_t];at.on(_t,Ft(Ut))})}),ne.getInstance(Z).traverseSync(Ee,at,{steps:Ze}),Je}function Ce(Ee){if(typeof Ee=="object"){const{hasBOM:O,text:Q}=Ee;return(O?"\uFEFF":"")+Q}return String(Ee)}function ge(Ee,O){return Ee.lastConfigArray&&Ee.lastConfigArray.pluginEnvironments.get(O)||r.get(O)||null}function ye(Ee,O){return Ee.lastConfigArray&&Ee.lastConfigArray.pluginRules.get(O)||Ee.ruleMap.get(O)}function Re(Ee){if(Ee)return Ee;if(typeof Mt=="object")return Mt.cwd()}const We=new WeakMap;function ce(Ee){const{configType:O}=We.get(Ee);if(O==="flat")throw new Error("This method cannot be used with flat config. Add your entries directly into the config array.")}class de{constructor({cwd:O,configType:Q="flat",flags:ie=[],warningService:Z=new z}={}){Xt(this,he);const le=[];ie.forEach(Ae=>{if(M.has(Ae)){const _e=M.get(Ae),Ve=P(_e),Ye=`The flag '${Ae}' is inactive: ${Ve}`;if(typeof _e.replacedBy>"u")throw new Error(Ye);typeof _e.replacedBy=="string"&&le.push(_e.replacedBy),Z.emitInactiveFlagWarning(Ae,Ye);return}if(!B.has(Ae))throw new Error(`Unknown flag '${Ae}'.`);le.push(Ae)}),We.set(this,{cwd:Re(O),flags:le,lastConfigArray:null,lastSourceCode:null,lastSuppressedMessages:[],configType:Q,parserMap:new Map([["espree",o]]),ruleMap:new l,warningService:Z}),this.version=c.version}static get version(){return c.version}hasFlag(O){return We.get(this).flags.includes(O)}_verifyWithoutProcessors(O,Q,ie){const Z=We.get(this),le=V(ie.filename||"<input>");let Ae;typeof O=="string"?(Z.lastSourceCode=null,Ae=O):(Z.lastSourceCode=O,Ae=O.text);const _e=new K(le,Ae,{physicalPath:ie.physicalFilename});return xr(this,he,Rp).call(this,_e,Q,ie)}verify(O,Q,ie){D("Verify");const{configType:Z,cwd:le}=We.get(this),Ae=typeof ie=="string"?{filename:ie}:ie||{},_e=Q??{};if(Z!=="eslintrc"){let Ve=_e;return(!Array.isArray(_e)||typeof _e.getConfig!="function")&&(Ve=new b(_e,{basePath:le}),Ve.normalizeSync()),this._distinguishSuppressedMessages(this._verifyWithFlatConfigArray(O,Ve,Ae,!0))}return typeof _e.extractConfig=="function"?this._distinguishSuppressedMessages(this._verifyWithConfigArray(O,_e,Ae)):Ae.preprocess||Ae.postprocess?this._distinguishSuppressedMessages(this._verifyWithProcessor(O,_e,Ae)):this._distinguishSuppressedMessages(this._verifyWithoutProcessors(O,_e,Ae))}_verifyWithFlatConfigArrayAndProcessor(O,Q,ie,Z){const le=We.get(this),Ae=ie.filename||"<input>",_e=V(Ae),Ve=ie.physicalFilename||_e,Ye=Ce(O),me=new K(_e,Ye,{physicalPath:Ve}),oe=ie.preprocess||(Oe=>[Oe]),we=ie.postprocess||(Oe=>Oe.flat()),Be=new xe,Ne=Be.preprocessSync(me,{processor:{preprocess:oe,postprocess:we}});if(!Ne.ok)return Ne.errors;const at=ie.filterCodeBlock||(Oe=>Oe.endsWith(".js")),qe=a.extname(Ae),{files:Je}=Ne,Ze=Je.map(Oe=>(D("A code block was found: %o",Oe.path||"(unnamed)"),typeof Oe=="string"?this._verifyWithFlatConfigArrayAndWithoutProcessors(Oe,Q,ie):at(Oe.path,Oe.body)?Z&&(Ye!==Oe.rawBody||a.extname(Oe.path)!==qe)?(D("Resolving configuration again because the file content or extension was changed."),this._verifyWithFlatConfigArray(Oe.rawBody,Z,{...ie,filename:Oe.path,physicalFilename:Oe.physicalPath})):(le.lastSourceCode=null,xr(this,he,_p).call(this,Oe,Q,{...ie,filename:Oe.path,physicalFilename:Oe.physicalPath})):(D("This code block was skipped."),[])));return Be.postprocessSync(me,Ze,{processor:{preprocess:oe,postprocess:we}})}_verifyWithFlatConfigArrayAndWithoutProcessors(O,Q,ie){const Z=We.get(this),le=V(ie.filename||"<input>");let Ae;typeof O=="string"?(Z.lastSourceCode=null,Ae=O):(Z.lastSourceCode=O,Ae=O.text);const _e=new K(le,Ae,{physicalPath:ie.physicalFilename});return xr(this,he,_p).call(this,_e,Q,ie)}_verifyWithConfigArray(O,Q,ie){D("With ConfigArray: %s",ie.filename),We.get(this).lastConfigArray=Q;const Z=Q.extractConfig(ie.filename),le=Z.processor&&Q.pluginProcessors.get(Z.processor);if(le){D("Apply the processor: %o",Z.processor);const{preprocess:Ae,postprocess:_e,supportsAutofix:Ve}=le,Ye=ie.disableFixes||!Ve;return this._verifyWithProcessor(O,Z,{...ie,disableFixes:Ye,postprocess:_e,preprocess:Ae},Q)}return this._verifyWithoutProcessors(O,Z,ie)}_verifyWithFlatConfigArray(O,Q,ie,Z=!1){D("With flat config: %s",ie.filename);const le=ie.filename||"__placeholder__.js";We.get(this).lastConfigArray=Q;const Ae=Q.getConfig(le);if(!Ae)return[{ruleId:null,severity:1,message:`No matching configuration found for ${le}.`,line:0,column:0,nodeType:null}];if(Ae.processor){D("Apply the processor: %o",Ae.processor);const{preprocess:_e,postprocess:Ve,supportsAutofix:Ye}=Ae.processor,me=ie.disableFixes||!Ye;return this._verifyWithFlatConfigArrayAndProcessor(O,Ae,{...ie,filename:le,disableFixes:me,postprocess:Ve,preprocess:_e},Q)}return Z&&(ie.preprocess||ie.postprocess)?this._verifyWithFlatConfigArrayAndProcessor(O,Ae,ie):this._verifyWithFlatConfigArrayAndWithoutProcessors(O,Ae,ie)}_verifyWithProcessor(O,Q,ie,Z){const le=We.get(this),Ae=ie.filename||"<input>",_e=V(Ae),Ve=ie.physicalFilename||_e,Ye=Ce(O),me=new K(_e,Ye,{physicalPath:Ve}),oe=ie.preprocess||(Oe=>[Oe]),we=ie.postprocess||(Oe=>Oe.flat()),Be=new xe,Ne=Be.preprocessSync(me,{processor:{preprocess:oe,postprocess:we}});if(!Ne.ok)return Ne.errors;const at=ie.filterCodeBlock||(Oe=>Oe.endsWith(".js")),qe=a.extname(Ae),{files:Je}=Ne,Ze=Je.map(Oe=>(D("A code block was found: %o",Oe.path??"(unnamed)"),typeof Oe=="string"?this._verifyWithoutProcessors(Oe,Q,ie):at(Oe.path,Oe.body)?Z&&(Ye!==Oe.rawBody||a.extname(Oe.path)!==qe)?(D("Resolving configuration again because the file content or extension was changed."),this._verifyWithConfigArray(Oe.rawBody,Z,{...ie,filename:Oe.path,physicalFilename:Oe.physicalPath})):(le.lastSourceCode=null,xr(this,he,Rp).call(this,Oe,Q,{...ie,filename:Oe.path,physicalFilename:Oe.physicalPath})):(D("This code block was skipped."),[])));return Be.postprocessSync(me,Ze,{processor:{preprocess:oe,postprocess:we}})}_distinguishSuppressedMessages(O){const Q=[],ie=[],Z=We.get(this);for(const le of O)le.suppressions?ie.push(le):Q.push(le);return Z.lastSuppressedMessages=ie,Q}getSourceCode(){return We.get(this).lastSourceCode}getTimes(){return We.get(this).times??{passes:[]}}getFixPassCount(){return We.get(this).fixPasses??0}getSuppressedMessages(){return We.get(this).lastSuppressedMessages}defineRule(O,Q){ce(this),We.get(this).ruleMap.define(O,Q)}defineRules(O){ce(this),Object.getOwnPropertyNames(O).forEach(Q=>{this.defineRule(Q,O[Q])})}getRules(){ce(this);const{lastConfigArray:O,ruleMap:Q}=We.get(this);return new Map(function*(){yield*Q,O&&(yield*O.pluginRules)}())}defineParser(O,Q){ce(this),We.get(this).parserMap.set(O,Q)}verifyAndFix(O,Q,ie){let Z,le,Ae=!1,_e=0,Ve=O,Ye,me;const oe=ie&&ie.filename||`${O.slice(0,10)}...`,we=ie&&typeof ie.fix<"u"?ie.fix:!0,Be=ie==null?void 0:ie.stats,Ne=We.get(this);Be&&(delete Ne.times,Ne.fixPasses=0);do{_e++;let at;Be&&(at=C()),D(`Linting code for ${oe} (pass ${_e})`),Z=this.verify(Ve,Q,ie),D(`Generating fixed text for ${oe} (pass ${_e})`);let qe;if(Be&&(qe=C()),le=g.applyFixes(Ve,Z,we),Be)if(le.fixed){const Je=w(qe);Xe(Je,{type:"fix"},Ne),Ne.fixPasses++}else Xe(0,{type:"fix"},Ne);if(Z.length===1&&Z[0].fatal)break;if(Ae=Ae||le.fixed,Ye=me,me=Ve,Ve=le.output,Be){at=w(at);const Je=Ne.times.passes.length-1;Ne.times.passes[Je].total=at}if(_e>1&&Ve.length===Ye.length&&Ve===Ye){D(`Circular fixes detected after pass ${_e}. Exiting fix loop.`),Ne.warningService.emitCircularFixesWarning((ie==null?void 0:ie.filename)??"text");break}}while(le.fixed&&_e<R);if(le.fixed){let at;Be&&(at=C()),le.messages=this.verify(Ve,Q,ie),Be&&(Xe(0,{type:"fix"},Ne),Ne.times.passes.at(-1).total=w(at))}return le.fixed=Ae,le.output=Ve,le}}return he=new WeakSet,Rp=function(O,Q,ie){const Z=We.get(this),le=Q||{},Ae=et(ie,le);let _e=N,Ve=o;if(typeof le.parser=="object"&&le.parser!==null)_e=le.parser.filePath,Ve=le.parser.definition;else if(typeof le.parser=="string"){if(!Z.parserMap.has(le.parser))return[{ruleId:null,fatal:!0,severity:2,message:`Configured parser '${le.parser}' was not found.`,line:0,column:0,nodeType:null}];_e=le.parser,Ve=Z.parserMap.get(le.parser)}const Ye=Ae.allowInlineConfig&&!Ae.warnInlineConfig?Fe(O.body):{},me=Object.assign({builtin:!0},le.env,Ye),oe=Object.keys(me).filter(Ke=>me[Ke]).map(Ke=>ge(Z,Ke)).filter(Ke=>Ke),we=nt(Ve,le.parserOptions||{},oe),Be=Qe(le.globals||{},oe),Ne=le.settings||{},at=lt({globals:le.globals,parser:Ve,parserOptions:we});if(Z.lastSourceCode)Z.lastSourceCode.scopeManager||(Z.lastSourceCode=new i({text:Z.lastSourceCode.text,ast:Z.lastSourceCode.ast,hasBOM:Z.lastSourceCode.hasBOM,parserServices:Z.lastSourceCode.parserServices,visitorKeys:Z.lastSourceCode.visitorKeys,scopeManager:tt(Z.lastSourceCode.ast,at)}));else{let Ke;Ae.stats&&(Ke=C());const ht=new re().parseSync(O,{language:I,languageOptions:at});if(Ae.stats){const ft=w(Ke);Xe(ft,{type:"parse"},Z)}if(!ht.ok)return ht.errors;Z.lastSourceCode=ht.sourceCode}const qe=Z.lastSourceCode,Je=Ae.allowInlineConfig?Te(qe,Ke=>ye(Z,Ke),Ae.warnInlineConfig,le):{configuredRules:{},enabledGlobals:{},exportedVariables:{},problems:[],disableDirectives:[]};be(qe.scopeManager.scopes[0],Be,{exportedVariables:Je.exportedVariables,enabledGlobals:Je.enabledGlobals});const Ze=Object.assign({},le.rules,Je.configuredRules);let Oe;try{Oe=st(qe,Ze,Ke=>ye(Z,Ke),_e,I,at,Ne,Ae.filename,!0,Ae.disableFixes,Z.cwd,ie.physicalFilename,null,Ae.stats,Z)}catch(Ke){if(Ke.message+=`
130
- Occurred while linting ${Ae.filename}`,D("An error occurred while traversing"),D("Filename:",Ae.filename),Ke.currentNode){const{line:it}=qe.getLoc(Ke.currentNode).start;D("Line:",it),Ke.message+=`:${it}`}throw D("Parser Options:",we),D("Parser Path:",_e),D("Settings:",Ne),Ke.ruleId&&(Ke.message+=`
131
- Rule: "${Ke.ruleId}"`),Ke}return f({language:I,sourceCode:qe,directives:Je.disableDirectives,disableFixes:Ae.disableFixes,problems:Oe.concat(Je.problems).sort((Ke,it)=>Ke.line-it.line||Ke.column-it.column),reportUnusedDisableDirectives:Ae.reportUnusedDisableDirectives})},_p=function(O,Q,ie){var at,qe,Je;const Z=We.get(this),le=Q||{},{settings:Ae={},languageOptions:_e}=le,Ve=et(ie,le);if(Z.lastSourceCode)Z.lastSourceCode.scopeManager===null&&(Z.lastSourceCode=new i({text:Z.lastSourceCode.text,ast:Z.lastSourceCode.ast,hasBOM:Z.lastSourceCode.hasBOM,parserServices:Z.lastSourceCode.parserServices,visitorKeys:Z.lastSourceCode.visitorKeys,scopeManager:tt(Z.lastSourceCode.ast,_e)}));else{let Ze;Ve.stats&&(Ze=C());const Ke=new re().parseSync(O,le);if(Ve.stats){const it=w(Ze);Xe(it,{type:"parse"},Z)}if(!Ke.ok)return Ke.errors;Z.lastSourceCode=Ke.sourceCode}const Ye=Z.lastSourceCode;(at=Ye.applyLanguageOptions)==null||at.call(Ye,_e);const me={rules:{}},oe=[];if(Ve.allowInlineConfig)if(Ve.warnInlineConfig)Ye.getInlineConfigNodes&&Ye.getInlineConfigNodes().forEach(Ze=>{const Oe=Ye.getLoc(Ze),Ke=Ye.getRange(Ze);oe.push(ue({ruleId:null,message:`'${Ye.text.slice(Ke[0],Ke[1])}' has no effect because you have 'noInlineConfig' setting in ${Ve.warnInlineConfig}.`,loc:Oe,severity:1,language:le.language}))});else{const Ze=(qe=Ye.applyInlineConfig)==null?void 0:qe.call(Ye);if(Ze){oe.push(...Ze.problems.map(Oe=>ue({...Oe,language:le.language})).map(Oe=>(Oe.fatal=!0,Oe)));for(const{config:Oe,loc:Ke}of Ze.configs)Object.keys(Oe.rules).forEach(it=>{var gt;const ht=le.getRuleDefinition(it),ft=Oe.rules[it];if(!ht){oe.push(ue({ruleId:it,loc:Ke,language:le.language}));return}if(Object.hasOwn(me.rules,it)){oe.push(ue({message:`Rule "${it}" is already configured by another configuration comment in the preceding code. This configuration is ignored.`,loc:Ke,language:le.language}));return}try{const yt=ve(ft);let dt=yt;E(it,dt[0]);let At=!0;if(dt.length===1&&le.rules&&Object.hasOwn(le.rules,it))dt=[dt[0],...le.rules[it].slice(1)],le.rules[it][0]>0&&(At=!1);else{const Ft=dt.slice(1),Rt=A((gt=ht.meta)==null?void 0:gt.defaultOptions,Ft);Rt.length&&(dt=[dt[0],...Rt])}Ve.reportUnusedInlineConfigs!=="off"&&G(le,Ke,oe,it,dt,yt,Ve.reportUnusedInlineConfigs),At&&le.validateRulesConfig({[it]:dt}),me.rules[it]=dt}catch(yt){if(yt.code==="ESLINT_INVALID_RULE_OPTIONS_SCHEMA")throw yt;let dt=yt.message.slice(yt.message.startsWith('Key "rules":')?yt.message.indexOf(":",12)+1:yt.message.indexOf(":")+1).trim();yt.messageTemplate&&(dt+=` You passed "${ft}".`),oe.push(ue({ruleId:it,message:`Inline configuration for rule "${it}" is invalid:
132
- ${dt}
133
- `,loc:Ke,language:le.language}))}})}}const we=Ve.allowInlineConfig&&!Ve.warnInlineConfig?$(Ye,Ze=>le.getRuleDefinition(Ze),le.language):{problems:[],disableDirectives:[]},Be=Object.assign({},le.rules,me.rules);let Ne;(Je=Ye.finalize)==null||Je.call(Ye);try{Ne=st(Ye,Be,Ze=>le.getRuleDefinition(Ze),void 0,le.language,_e,Ae,Ve.filename,!1,Ve.disableFixes,Z.cwd,ie.physicalFilename,Ve.ruleFilter,Ve.stats,Z)}catch(Ze){if(Ze.message+=`
134
- Occurred while linting ${Ve.filename}`,D("An error occurred while traversing"),D("Filename:",Ve.filename),Ze.currentNode){const{line:Oe}=Ye.getLoc(Ze.currentNode).start;D("Line:",Oe),Ze.message+=`:${Oe}`}throw D("Parser Options:",_e.parserOptions),D("Settings:",Ae),Ze.ruleId&&(Ze.message+=`
135
- Rule: "${Ze.ruleId}"`),Ze}return f({language:le.language,sourceCode:Ye,directives:we.disableDirectives,disableFixes:Ve.disableFixes,problems:Ne.concat(we.problems).concat(oe).sort((Ze,Oe)=>Ze.line-Oe.line||Ze.column-Oe.column),reportUnusedDisableDirectives:Ve.reportUnusedDisableDirectives,ruleFilter:Ve.ruleFilter,configuredRules:Be})},Tp={Linter:de,getLinterInternalSlots(Ee){return We.get(Ee)}},Tp}function TP(){return AP().Linter}var kP=TP();function DP(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var IP={amd:{define:!1,require:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},atomtest:{advanceClock:!1,atom:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},browser:JSON.parse('{"AbortController":false,"AbortSignal":false,"AbsoluteOrientationSensor":false,"AbstractRange":false,"Accelerometer":false,"addEventListener":false,"ai":false,"AI":false,"AICreateMonitor":false,"AITextSession":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffect":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"AsyncDisposableStack":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioData":false,"AudioDecoder":false,"AudioDestinationNode":false,"AudioEncoder":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioParamMap":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioSinkInfo":false,"AudioWorklet":false,"AudioWorkletGlobalScope":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"AuthenticatorAssertionResponse":false,"AuthenticatorAttestationResponse":false,"AuthenticatorResponse":false,"BackgroundFetchManager":false,"BackgroundFetchRecord":false,"BackgroundFetchRegistration":false,"BarcodeDetector":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"Bluetooth":false,"BluetoothCharacteristicProperties":false,"BluetoothDevice":false,"BluetoothRemoteGATTCharacteristic":false,"BluetoothRemoteGATTDescriptor":false,"BluetoothRemoteGATTServer":false,"BluetoothRemoteGATTService":false,"BluetoothUUID":false,"blur":false,"BroadcastChannel":false,"BrowserCaptureMediaStreamTrack":false,"btoa":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStream":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"CaptureController":false,"CaretPosition":false,"CDATASection":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"ChapterInformation":false,"CharacterBoundsUpdateEvent":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"Clipboard":false,"ClipboardEvent":false,"ClipboardItem":false,"close":false,"closed":false,"CloseEvent":false,"CloseWatcher":false,"CommandEvent":false,"Comment":false,"CompositionEvent":false,"CompressionStream":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ContentVisibilityAutoStateChangeEvent":false,"ConvolverNode":false,"CookieChangeEvent":false,"CookieDeprecationLabel":false,"cookieStore":false,"CookieStore":false,"CookieStoreManager":false,"CountQueuingStrategy":false,"createImageBitmap":false,"Credential":false,"credentialless":false,"CredentialsContainer":false,"CropTarget":false,"crossOriginIsolated":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSPViolationReportBody":false,"CSS":false,"CSSAnimation":false,"CSSConditionRule":false,"CSSContainerRule":false,"CSSCounterStyleRule":false,"CSSFontFaceRule":false,"CSSFontFeatureValuesRule":false,"CSSFontPaletteValuesRule":false,"CSSGroupingRule":false,"CSSImageValue":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSKeywordValue":false,"CSSLayerBlockRule":false,"CSSLayerStatementRule":false,"CSSMarginRule":false,"CSSMathClamp":false,"CSSMathInvert":false,"CSSMathMax":false,"CSSMathMin":false,"CSSMathNegate":false,"CSSMathProduct":false,"CSSMathSum":false,"CSSMathValue":false,"CSSMatrixComponent":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSNestedDeclarations":false,"CSSNumericArray":false,"CSSNumericValue":false,"CSSPageDescriptors":false,"CSSPageRule":false,"CSSPerspective":false,"CSSPositionTryDescriptors":false,"CSSPositionTryRule":false,"CSSPositionValue":false,"CSSPropertyRule":false,"CSSRotate":false,"CSSRule":false,"CSSRuleList":false,"CSSScale":false,"CSSScopeRule":false,"CSSSkew":false,"CSSSkewX":false,"CSSSkewY":false,"CSSStartingStyleRule":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSStyleValue":false,"CSSSupportsRule":false,"CSSTransformComponent":false,"CSSTransformValue":false,"CSSTransition":false,"CSSTranslate":false,"CSSUnitValue":false,"CSSUnparsedValue":false,"CSSVariableReferenceValue":false,"CSSViewTransitionRule":false,"currentFrame":false,"currentTime":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"CustomStateSet":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"DecompressionStream":false,"DelayNode":false,"DelegatedInkTrailPresenter":false,"DeviceMotionEvent":false,"DeviceMotionEventAcceleration":false,"DeviceMotionEventRotationRate":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"DevicePosture":false,"dispatchEvent":false,"DisposableStack":false,"document":false,"Document":false,"DocumentFragment":false,"documentPictureInPicture":false,"DocumentPictureInPicture":false,"DocumentPictureInPictureEvent":false,"DocumentTimeline":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,"EditContext":false,"Element":false,"ElementInternals":false,"EncodedAudioChunk":false,"EncodedVideoChunk":false,"ErrorEvent":false,"event":false,"Event":false,"EventCounts":false,"EventSource":false,"EventTarget":false,"external":false,"External":false,"EyeDropper":false,"FeaturePolicy":false,"FederatedCredential":false,"fence":false,"Fence":false,"FencedFrameConfig":false,"fetch":false,"fetchLater":false,"FetchLaterResult":false,"File":false,"FileList":false,"FileReader":false,"FileSystem":false,"FileSystemDirectoryEntry":false,"FileSystemDirectoryHandle":false,"FileSystemDirectoryReader":false,"FileSystemEntry":false,"FileSystemFileEntry":false,"FileSystemFileHandle":false,"FileSystemHandle":false,"FileSystemObserver":false,"FileSystemWritableFileStream":false,"find":false,"focus":false,"FocusEvent":false,"FontData":false,"FontFace":false,"FontFaceSet":false,"FontFaceSetLoadEvent":false,"FormData":false,"FormDataEvent":false,"FragmentDirective":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadAxisMoveEvent":false,"GamepadButton":false,"GamepadButtonEvent":false,"GamepadEvent":false,"GamepadHapticActuator":false,"GamepadPose":false,"Geolocation":false,"GeolocationCoordinates":false,"GeolocationPosition":false,"GeolocationPositionError":false,"getComputedStyle":false,"getScreenDetails":false,"getSelection":false,"GPU":false,"GPUAdapter":false,"GPUAdapterInfo":false,"GPUBindGroup":false,"GPUBindGroupLayout":false,"GPUBuffer":false,"GPUBufferUsage":false,"GPUCanvasContext":false,"GPUColorWrite":false,"GPUCommandBuffer":false,"GPUCommandEncoder":false,"GPUCompilationInfo":false,"GPUCompilationMessage":false,"GPUComputePassEncoder":false,"GPUComputePipeline":false,"GPUDevice":false,"GPUDeviceLostInfo":false,"GPUError":false,"GPUExternalTexture":false,"GPUInternalError":false,"GPUMapMode":false,"GPUOutOfMemoryError":false,"GPUPipelineError":false,"GPUPipelineLayout":false,"GPUQuerySet":false,"GPUQueue":false,"GPURenderBundle":false,"GPURenderBundleEncoder":false,"GPURenderPassEncoder":false,"GPURenderPipeline":false,"GPUSampler":false,"GPUShaderModule":false,"GPUShaderStage":false,"GPUSupportedFeatures":false,"GPUSupportedLimits":false,"GPUTexture":false,"GPUTextureUsage":false,"GPUTextureView":false,"GPUUncapturedErrorEvent":false,"GPUValidationError":false,"GravitySensor":false,"Gyroscope":false,"HashChangeEvent":false,"Headers":false,"HID":false,"HIDConnectionEvent":false,"HIDDevice":false,"HIDInputReportEvent":false,"Highlight":false,"HighlightRegistry":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,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFencedFrameElement":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,"HTMLSelectedContentElement":false,"HTMLSelectElement":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,"IdentityCredential":false,"IdentityCredentialError":false,"IdentityProvider":false,"IdleDeadline":false,"IdleDetector":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"ImageDecoder":false,"ImageTrack":false,"ImageTrackList":false,"indexedDB":false,"Ink":false,"innerHeight":false,"innerWidth":false,"InputDeviceCapabilities":false,"InputDeviceInfo":false,"InputEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"isSecureContext":false,"Keyboard":false,"KeyboardEvent":false,"KeyboardLayoutMap":false,"KeyframeEffect":false,"LanguageDetector":false,"LargestContentfulPaint":false,"LaunchParams":false,"launchQueue":false,"LaunchQueue":false,"LayoutShift":false,"LayoutShiftAttribution":false,"length":false,"LinearAccelerationSensor":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"Lock":false,"LockManager":false,"matchMedia":false,"MathMLElement":false,"MediaCapabilities":false,"MediaCapabilitiesInfo":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyError":false,"MediaKeyMessageEvent":false,"MediaKeys":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaMetadata":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaRecorderErrorEvent":false,"MediaSession":false,"MediaSource":false,"MediaSourceHandle":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackAudioSourceNode":false,"MediaStreamTrackAudioStats":false,"MediaStreamTrackEvent":false,"MediaStreamTrackGenerator":false,"MediaStreamTrackProcessor":false,"MediaStreamTrackVideoStats":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,"model":false,"ModelGenericSession":false,"ModelManager":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigateEvent":false,"navigation":false,"Navigation":false,"NavigationActivation":false,"NavigationCurrentEntryChangeEvent":false,"NavigationDestination":false,"NavigationHistoryEntry":false,"NavigationPreloadManager":false,"NavigationTransition":false,"navigator":false,"Navigator":false,"NavigatorLogin":false,"NavigatorManagedData":false,"NavigatorUAData":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"NotifyPaintEvent":false,"NotRestoredReasonDetails":false,"NotRestoredReasons":false,"Observable":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":false,"OffscreenCanvasRenderingContext2D":false,"onabort":true,"onafterprint":true,"onanimationcancel":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinput":true,"onbeforeinstallprompt":true,"onbeforematch":true,"onbeforeprint":true,"onbeforetoggle":true,"onbeforeunload":true,"onbeforexrselect":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncommand":true,"oncontentvisibilityautostatechange":true,"oncontextlost":true,"oncontextmenu":true,"oncontextrestored":true,"oncopy":true,"oncuechange":true,"oncut":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,"onformdata":true,"ongamepadconnected":true,"ongamepaddisconnected":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,"onpagereveal":true,"onpageshow":true,"onpageswap":true,"onpaste":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerrawupdate":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onscrollend":true,"onscrollsnapchange":true,"onscrollsnapchanging":true,"onsearch":true,"onsecuritypolicyviolation":true,"onseeked":true,"onseeking":true,"onselect":true,"onselectionchange":true,"onselectstart":true,"onslotchange":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitioncancel":true,"ontransitionend":true,"ontransitionrun":true,"ontransitionstart":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"opener":false,"Option":false,"OrientationSensor":false,"origin":false,"originAgentCluster":false,"OscillatorNode":false,"OTPCredential":false,"outerHeight":false,"outerWidth":false,"OverconstrainedError":false,"PageRevealEvent":false,"PageSwapEvent":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"PasswordCredential":false,"Path2D":false,"PaymentAddress":false,"PaymentManager":false,"PaymentMethodChangeEvent":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceElementTiming":false,"PerformanceEntry":false,"PerformanceEventTiming":false,"PerformanceLongAnimationFrameTiming":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceScriptTiming":false,"PerformanceServerTiming":false,"PerformanceTiming":false,"PeriodicSyncManager":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"PERSISTENT":false,"personalbar":false,"PictureInPictureEvent":false,"PictureInPictureWindow":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,"PressureObserver":false,"PressureRecord":false,"print":false,"ProcessingInstruction":false,"Profiler":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"ProtectedAudience":false,"PublicKeyCredential":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queryLocalFonts":false,"queueMicrotask":false,"RadioNodeList":false,"Range":false,"ReadableByteStreamController":false,"ReadableStream":false,"ReadableStreamBYOBReader":false,"ReadableStreamBYOBRequest":false,"ReadableStreamDefaultController":false,"ReadableStreamDefaultReader":false,"registerProcessor":false,"RelativeOrientationSensor":false,"RemotePlayback":false,"removeEventListener":false,"ReportBody":false,"reportError":false,"ReportingObserver":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"ResizeObserverSize":false,"resizeTo":false,"Response":false,"RestrictionTarget":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCDTMFSender":false,"RTCDTMFToneChangeEvent":false,"RTCEncodedAudioFrame":false,"RTCEncodedVideoFrame":false,"RTCError":false,"RTCErrorEvent":false,"RTCIceCandidate":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceErrorEvent":false,"RTCPeerConnectionIceEvent":false,"RTCRtpReceiver":false,"RTCRtpScriptTransform":false,"RTCRtpSender":false,"RTCRtpTransceiver":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"sampleRate":false,"scheduler":false,"Scheduler":false,"Scheduling":false,"screen":false,"Screen":false,"ScreenDetailed":false,"ScreenDetails":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"ScrollTimeline":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"Sensor":false,"SensorErrorEvent":false,"Serial":false,"SerialPort":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"sharedStorage":false,"SharedStorage":false,"SharedStorageAppendMethod":false,"SharedStorageClearMethod":false,"SharedStorageDeleteMethod":false,"SharedStorageModifierMethod":false,"SharedStorageSetMethod":false,"SharedStorageWorklet":false,"SharedWorker":false,"showDirectoryPicker":false,"showOpenFilePicker":false,"showSaveFilePicker":false,"SnapEvent":false,"SourceBuffer":false,"SourceBufferList":false,"speechSynthesis":false,"SpeechSynthesis":false,"SpeechSynthesisErrorEvent":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"SpeechSynthesisVoice":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageBucket":false,"StorageBucketManager":false,"StorageEvent":false,"StorageManager":false,"structuredClone":false,"styleMedia":false,"StylePropertyMap":false,"StylePropertyMapReadOnly":false,"StyleSheet":false,"StyleSheetList":false,"SubmitEvent":false,"Subscriber":false,"SubtleCrypto":false,"SuppressedError":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,"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,"SyncManager":false,"TaskAttributionTiming":false,"TaskController":false,"TaskPriorityChangeEvent":false,"TaskSignal":false,"TEMPORARY":false,"Text":false,"TextDecoder":false,"TextDecoderStream":false,"TextEncoder":false,"TextEncoderStream":false,"TextEvent":false,"TextFormat":false,"TextFormatUpdateEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TextUpdateEvent":false,"TimeEvent":false,"TimeRanges":false,"ToggleEvent":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransformStream":false,"TransformStreamDefaultController":false,"TransitionEvent":false,"TreeWalker":false,"TrustedHTML":false,"TrustedScript":false,"TrustedScriptURL":false,"TrustedTypePolicy":false,"TrustedTypePolicyFactory":false,"trustedTypes":false,"UIEvent":false,"URL":false,"URLPattern":false,"URLSearchParams":false,"USB":false,"USBAlternateInterface":false,"USBConfiguration":false,"USBConnectionEvent":false,"USBDevice":false,"USBEndpoint":false,"USBInterface":false,"USBInTransferResult":false,"USBIsochronousInTransferPacket":false,"USBIsochronousInTransferResult":false,"USBIsochronousOutTransferPacket":false,"USBIsochronousOutTransferResult":false,"USBOutTransferResult":false,"UserActivation":false,"ValidityState":false,"VideoColorSpace":false,"VideoDecoder":false,"VideoEncoder":false,"VideoFrame":false,"VideoPlaybackQuality":false,"ViewTimeline":false,"ViewTransition":false,"ViewTransitionTypeSet":false,"VirtualKeyboard":false,"VirtualKeyboardGeometryChangeEvent":false,"VisibilityStateEntry":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"VTTRegion":false,"WakeLock":false,"WakeLockSentinel":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLObject":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,"WebSocketError":false,"WebSocketStream":false,"WebTransport":false,"WebTransportBidirectionalStream":false,"WebTransportDatagramDuplexStream":false,"WebTransportError":false,"WebTransportReceiveStream":false,"WebTransportSendStream":false,"WGSLLanguageFeatures":false,"WheelEvent":false,"when":false,"window":false,"Window":false,"WindowControlsOverlay":false,"WindowControlsOverlayGeometryChangeEvent":false,"Worker":false,"Worklet":false,"WorkletGlobalScope":false,"WritableStream":false,"WritableStreamDefaultController":false,"WritableStreamDefaultWriter":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XRAnchor":false,"XRAnchorSet":false,"XRBoundedReferenceSpace":false,"XRCamera":false,"XRCPUDepthInformation":false,"XRDepthInformation":false,"XRDOMOverlayState":false,"XRFrame":false,"XRHand":false,"XRHitTestResult":false,"XRHitTestSource":false,"XRInputSource":false,"XRInputSourceArray":false,"XRInputSourceEvent":false,"XRInputSourcesChangeEvent":false,"XRJointPose":false,"XRJointSpace":false,"XRLayer":false,"XRLightEstimate":false,"XRLightProbe":false,"XRPose":false,"XRRay":false,"XRReferenceSpace":false,"XRReferenceSpaceEvent":false,"XRRenderState":false,"XRRigidTransform":false,"XRSession":false,"XRSessionEvent":false,"XRSpace":false,"XRSystem":false,"XRTransientInputHitTestResult":false,"XRTransientInputHitTestSource":false,"XRView":false,"XRViewerPose":false,"XRViewport":false,"XRWebGLBinding":false,"XRWebGLDepthInformation":false,"XRWebGLLayer":false,"XSLTProcessor":false}'),builtin:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float16Array:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,Iterator:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},chai:{assert:!0,expect:!0,should:!0},commonjs:{exports:!0,global:!1,module:!1,require:!1},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},devtools:{$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2016:{Array:!1,ArrayBuffer:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2018:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2019:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2020:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2021:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es2022:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es2023:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es2024:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es2025:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float16Array:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,Iterator:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es3:{Array:!1,Boolean:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,Infinity:!1,isFinite:!1,isNaN:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1},es5:{Array:!1,Boolean:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,Infinity:!1,isFinite:!1,isNaN:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addElement:!1,GM_addStyle:!1,GM_addValueChangeListener:!1,GM_deleteValue:!1,GM_deleteValues:!1,GM_download:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getTab:!1,GM_getTabs:!1,GM_getValue:!1,GM_getValues:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_notification:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_removeValueChangeListener:!1,GM_saveTab:!1,GM_setClipboard:!1,GM_setValue:!1,GM_setValues:!1,GM_unregisterMenuCommand:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,expectAsync:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnAllFunctions:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fit:!1,it:!1,jest:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},jquery:{$:!1,jQuery:!1},meteor:{$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},node:{__dirname:!1,__filename:!1,AbortController:!1,AbortSignal:!1,AsyncDisposableStack:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Buffer:!1,ByteLengthQueuingStrategy:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,CloseEvent:!1,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,DisposableStack:!1,DOMException:!1,Event:!1,EventTarget:!1,exports:!0,fetch:!1,File:!1,FormData:!1,global:!1,Headers:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,module:!1,navigator:!1,Navigator:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,process:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,Request:!1,require:!1,Response:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,structuredClone:!1,SubtleCrypto:!1,SuppressedError:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLPattern:!1,URLSearchParams:!1,WebAssembly:!1,WebSocket:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1},nodeBuiltin:{AbortController:!1,AbortSignal:!1,AsyncDisposableStack:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Buffer:!1,ByteLengthQueuingStrategy:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,CloseEvent:!1,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,DisposableStack:!1,DOMException:!1,Event:!1,EventTarget:!1,fetch:!1,File:!1,FormData:!1,global:!1,Headers:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,navigator:!1,Navigator:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,process:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,Request:!1,Response:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,structuredClone:!1,SubtleCrypto:!1,SuppressedError:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLPattern:!1,URLSearchParams:!1,WebAssembly:!1,WebSocket:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},serviceworker:{AbortController:!1,AbortPaymentEvent:!1,AbortSignal:!1,addEventListener:!1,ai:!1,AI:!1,AICreateMonitor:!1,AsyncDisposableStack:!1,atob:!1,BackgroundFetchEvent:!1,BackgroundFetchManager:!1,BackgroundFetchRecord:!1,BackgroundFetchRegistration:!1,BackgroundFetchUpdateUIEvent:!1,BarcodeDetector:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,CanMakePaymentEvent:!1,CanvasGradient:!1,CanvasPattern:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,CloseEvent:!1,CompressionStream:!1,console:!1,cookieStore:!1,CookieStore:!1,CookieStoreManager:!1,CountQueuingStrategy:!1,createImageBitmap:!1,CropTarget:!1,crossOriginIsolated:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSSSkewX:!1,CSSSkewY:!1,CustomEvent:!1,DecompressionStream:!1,dispatchEvent:!1,DisposableStack:!1,DOMException:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,ErrorEvent:!1,Event:!1,EventSource:!1,EventTarget:!1,ExtendableCookieChangeEvent:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,File:!1,FileList:!1,FileReader:!1,FileSystemDirectoryHandle:!1,FileSystemFileHandle:!1,FileSystemHandle:!1,FileSystemWritableFileStream:!1,FontFace:!1,fonts:!1,FormData:!1,GPU:!1,GPUAdapter:!1,GPUAdapterInfo:!1,GPUBindGroup:!1,GPUBindGroupLayout:!1,GPUBuffer:!1,GPUBufferUsage:!1,GPUCanvasContext:!1,GPUColorWrite:!1,GPUCommandBuffer:!1,GPUCommandEncoder:!1,GPUCompilationInfo:!1,GPUCompilationMessage:!1,GPUComputePassEncoder:!1,GPUComputePipeline:!1,GPUDevice:!1,GPUDeviceLostInfo:!1,GPUError:!1,GPUExternalTexture:!1,GPUInternalError:!1,GPUMapMode:!1,GPUOutOfMemoryError:!1,GPUPipelineError:!1,GPUPipelineLayout:!1,GPUQuerySet:!1,GPUQueue:!1,GPURenderBundle:!1,GPURenderBundleEncoder:!1,GPURenderPassEncoder:!1,GPURenderPipeline:!1,GPUSampler:!1,GPUShaderModule:!1,GPUShaderStage:!1,GPUSupportedFeatures:!1,GPUSupportedLimits:!1,GPUTexture:!1,GPUTextureUsage:!1,GPUTextureView:!1,GPUUncapturedErrorEvent:!1,GPUValidationError:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageData:!1,importScripts:!1,indexedDB:!1,InstallEvent:!1,isSecureContext:!1,LanguageDetector:!1,location:!1,Lock:!1,LockManager:!1,MediaCapabilities:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,NavigationPreloadManager:!1,navigator:!1,NavigatorUAData:!1,NetworkInformation:!1,Notification:!1,NotificationEvent:!1,Observable:!1,OffscreenCanvas:!1,OffscreenCanvasRenderingContext2D:!1,onabortpayment:!0,onactivate:!0,onbackgroundfetchabort:!0,onbackgroundfetchclick:!0,onbackgroundfetchfail:!0,onbackgroundfetchsuccess:!0,oncanmakepayment:!0,oncookiechange:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onpaymentrequest:!0,onperiodicsync:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,origin:!1,Path2D:!1,PaymentRequestEvent:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,PerformanceServerTiming:!1,PeriodicSyncEvent:!1,PeriodicSyncManager:!1,Permissions:!1,PermissionStatus:!1,PromiseRejectionEvent:!1,PushEvent:!1,PushManager:!1,PushMessageData:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,registration:!1,removeEventListener:!1,ReportBody:!1,reportError:!1,ReportingObserver:!1,Request:!1,Response:!1,RestrictionTarget:!1,scheduler:!1,Scheduler:!1,SecurityPolicyViolationEvent:!1,self:!1,serviceWorker:!1,ServiceWorker:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,StorageBucket:!1,StorageBucketManager:!1,StorageManager:!1,structuredClone:!1,Subscriber:!1,SubtleCrypto:!1,SuppressedError:!1,SyncEvent:!1,SyncManager:!1,TaskController:!1,TaskPriorityChangeEvent:!1,TaskSignal:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TextMetrics:!1,TransformStream:!1,TransformStreamDefaultController:!1,TrustedHTML:!1,TrustedScript:!1,TrustedScriptURL:!1,TrustedTypePolicy:!1,TrustedTypePolicyFactory:!1,trustedTypes:!1,URL:!1,URLPattern:!1,URLSearchParams:!1,UserActivation:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLObject:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WebSocketError:!1,WebSocketStream:!1,WebTransport:!1,WebTransportBidirectionalStream:!1,WebTransportDatagramDuplexStream:!1,WebTransportError:!1,WGSLLanguageFeatures:!1,when:!1,WindowClient:!1,WorkerGlobalScope:!1,WorkerLocation:!1,WorkerNavigator:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1},"shared-node-browser":{AbortController:!1,AbortSignal:!1,AsyncDisposableStack:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,ByteLengthQueuingStrategy:!1,clearInterval:!1,clearTimeout:!1,CloseEvent:!1,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,DisposableStack:!1,DOMException:!1,Event:!1,EventTarget:!1,fetch:!1,File:!1,FormData:!1,Headers:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,navigator:!1,Navigator:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,Request:!1,Response:!1,setInterval:!1,setTimeout:!1,structuredClone:!1,SubtleCrypto:!1,SuppressedError:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLPattern:!1,URLSearchParams:!1,WebAssembly:!1,WebSocket:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1},shelljs:{cat:!1,cd:!1,chmod:!1,cmd:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,errorCode:!1,exec:!1,exit:!1,find:!1,grep:!1,head:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,ShellString:!1,sort:!1,tail:!1,tempdir:!1,test:!1,touch:!1,uniq:!1,which:!1},vitest:{afterAll:!1,afterEach:!1,assert:!1,assertType:!1,beforeAll:!1,beforeEach:!1,chai:!1,describe:!1,expect:!1,expectTypeOf:!1,it:!1,onTestFailed:!1,onTestFinished:!1,suite:!1,test:!1,vi:!1,vitest:!1},webextensions:{browser:!1,chrome:!1,opr:!1},worker:{AbortController:!1,AbortSignal:!1,addEventListener:!1,ai:!1,AI:!1,AICreateMonitor:!1,AsyncDisposableStack:!1,atob:!1,AudioData:!1,AudioDecoder:!1,AudioEncoder:!1,BackgroundFetchManager:!1,BackgroundFetchRecord:!1,BackgroundFetchRegistration:!1,BarcodeDetector:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,CanvasGradient:!1,CanvasPattern:!1,clearInterval:!1,clearTimeout:!1,close:!1,CloseEvent:!1,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,createImageBitmap:!1,CropTarget:!1,crossOriginIsolated:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSSSkewX:!1,CSSSkewY:!1,CustomEvent:!1,DecompressionStream:!1,DedicatedWorkerGlobalScope:!1,dispatchEvent:!1,DisposableStack:!1,DOMException:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,EncodedAudioChunk:!1,EncodedVideoChunk:!1,ErrorEvent:!1,Event:!1,EventSource:!1,EventTarget:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,FileReaderSync:!1,FileSystemDirectoryHandle:!1,FileSystemFileHandle:!1,FileSystemHandle:!1,FileSystemObserver:!1,FileSystemSyncAccessHandle:!1,FileSystemWritableFileStream:!1,FontFace:!1,fonts:!1,FormData:!1,GPU:!1,GPUAdapter:!1,GPUAdapterInfo:!1,GPUBindGroup:!1,GPUBindGroupLayout:!1,GPUBuffer:!1,GPUBufferUsage:!1,GPUCanvasContext:!1,GPUColorWrite:!1,GPUCommandBuffer:!1,GPUCommandEncoder:!1,GPUCompilationInfo:!1,GPUCompilationMessage:!1,GPUComputePassEncoder:!1,GPUComputePipeline:!1,GPUDevice:!1,GPUDeviceLostInfo:!1,GPUError:!1,GPUExternalTexture:!1,GPUInternalError:!1,GPUMapMode:!1,GPUOutOfMemoryError:!1,GPUPipelineError:!1,GPUPipelineLayout:!1,GPUQuerySet:!1,GPUQueue:!1,GPURenderBundle:!1,GPURenderBundleEncoder:!1,GPURenderPassEncoder:!1,GPURenderPipeline:!1,GPUSampler:!1,GPUShaderModule:!1,GPUShaderStage:!1,GPUSupportedFeatures:!1,GPUSupportedLimits:!1,GPUTexture:!1,GPUTextureUsage:!1,GPUTextureView:!1,GPUUncapturedErrorEvent:!1,GPUValidationError:!1,Headers:!1,HID:!1,HIDConnectionEvent:!1,HIDDevice:!1,HIDInputReportEvent:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDetector:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageData:!1,ImageDecoder:!1,ImageTrack:!1,ImageTrackList:!1,importScripts:!1,indexedDB:!1,isSecureContext:!1,LanguageDetector:!1,location:!1,Lock:!1,LockManager:!1,MediaCapabilities:!1,MediaSource:!1,MediaSourceHandle:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,name:!1,NavigationPreloadManager:!1,navigator:!1,NavigatorUAData:!1,NetworkInformation:!1,Notification:!1,Observable:!1,OffscreenCanvas:!1,OffscreenCanvasRenderingContext2D:!1,onerror:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onrejectionhandled:!0,onunhandledrejection:!0,origin:!1,Path2D:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,PerformanceServerTiming:!1,PeriodicSyncManager:!1,Permissions:!1,PermissionStatus:!1,PERSISTENT:!1,postMessage:!1,PressureObserver:!1,PressureRecord:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,removeEventListener:!1,ReportBody:!1,reportError:!1,ReportingObserver:!1,Request:!1,requestAnimationFrame:!1,Response:!1,RestrictionTarget:!1,RTCDataChannel:!1,RTCEncodedAudioFrame:!1,RTCEncodedVideoFrame:!1,scheduler:!1,Scheduler:!1,SecurityPolicyViolationEvent:!1,self:!1,Serial:!1,SerialPort:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,SourceBuffer:!1,SourceBufferList:!1,StorageBucket:!1,StorageBucketManager:!1,StorageManager:!1,structuredClone:!1,Subscriber:!1,SubtleCrypto:!1,SuppressedError:!1,SyncManager:!1,TaskController:!1,TaskPriorityChangeEvent:!1,TaskSignal:!1,TEMPORARY:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TextMetrics:!1,TransformStream:!1,TransformStreamDefaultController:!1,TrustedHTML:!1,TrustedScript:!1,TrustedScriptURL:!1,TrustedTypePolicy:!1,TrustedTypePolicyFactory:!1,trustedTypes:!1,URL:!1,URLPattern:!1,URLSearchParams:!1,USB:!1,USBAlternateInterface:!1,USBConfiguration:!1,USBConnectionEvent:!1,USBDevice:!1,USBEndpoint:!1,USBInterface:!1,USBInTransferResult:!1,USBIsochronousInTransferPacket:!1,USBIsochronousInTransferResult:!1,USBIsochronousOutTransferPacket:!1,USBIsochronousOutTransferResult:!1,USBOutTransferResult:!1,UserActivation:!1,VideoColorSpace:!1,VideoDecoder:!1,VideoEncoder:!1,VideoFrame:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLObject:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,webkitRequestFileSystem:!1,webkitRequestFileSystemSync:!1,webkitResolveLocalFileSystemSyncURL:!1,webkitResolveLocalFileSystemURL:!1,WebSocket:!1,WebSocketError:!1,WebSocketStream:!1,WebTransport:!1,WebTransportBidirectionalStream:!1,WebTransportDatagramDuplexStream:!1,WebTransportError:!1,WGSLLanguageFeatures:!1,when:!1,Worker:!1,WorkerGlobalScope:!1,WorkerLocation:!1,WorkerNavigator:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1},wsh:{ActiveXObject:!1,CollectGarbage:!1,Debug:!1,Enumerator:!1,GetObject:!1,RuntimeObject:!1,ScriptEngine:!1,ScriptEngineBuildVersion:!1,ScriptEngineMajorVersion:!1,ScriptEngineMinorVersion:!1,VBArray:!1,WScript:!1,WSH:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1}},kp,w0;function PP(){return w0||(w0=1,kp=IP),kp}var FP=PP(),A0=DP(FP);const RP=new kP,_P={languageOptions:{globals:{...A0.browser,...A0.es2021},parserOptions:{ecmaVersion:2022,sourceType:"module",ecmaFeatures:{jsx:!0}}},rules:{"no-unused-vars":["warn",{argsIgnorePattern:"^_"}],"no-undef":"error",semi:"off"}};function T0(a,e,n){let o=0;for(let t=0;t<e-1;t++)o+=(a[t]?a[t].length:0)+1;return o+n-1}self.onmessage=a=>{const{code:e,requestId:n,fileName:o}=a.data;if(typeof e!="string"){self.postMessage({diagnostics:[],requestId:n,error:"Invalid code received"});return}if(!o){self.postMessage({diagnostics:[],requestId:n});return}const t=/\.js$/i.test(o),c=/\.jsx$/i.test(o);if(!t&&(!c||!0)){self.postMessage({diagnostics:[],requestId:n});return}try{const p=RP.verify(e,_P),u=e.split(`
136
- `),r=p.map(h=>{var m,s;const i=T0(u,h.line,h.column),f=h.endLine&&h.endColumn?T0(u,h.endLine,h.endColumn):i+(((m=h.fix)==null?void 0:m.range[1])-((s=h.fix)==null?void 0:s.range[0])||1);return{from:i,to:f,severity:h.severity===2?"error":h.severity===1?"warning":"info",message:h.message,source:h.ruleId?`eslint(${h.ruleId})`:"eslint"}});self.postMessage({diagnostics:r,requestId:n})}catch(p){console.error("Error linting in ESLint worker:",p),self.postMessage({error:p.message,diagnostics:[],requestId:n})}}})();