vzcode 2.13.0 → 2.15.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
- (function(){"use strict";if(!Ln)var Ln=globalThis||window;function wp(a){return a&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var Xt=typeof Ln<"u"?Ln:typeof self<"u"?self:typeof window<"u"?window:{};function Ap(){throw new Error("setTimeout has not been defined")}function Tp(){throw new Error("clearTimeout has not been defined")}var yr=Ap,vr=Tp;typeof Xt.setTimeout=="function"&&(yr=setTimeout),typeof Xt.clearTimeout=="function"&&(vr=clearTimeout);function kp(a){if(yr===setTimeout)return setTimeout(a,0);if((yr===Ap||!yr)&&setTimeout)return yr=setTimeout,setTimeout(a,0);try{return yr(a,0)}catch{try{return yr.call(null,a,0)}catch{return yr.call(this,a,0)}}}function y0(a){if(vr===clearTimeout)return clearTimeout(a);if((vr===Tp||!vr)&&clearTimeout)return vr=clearTimeout,clearTimeout(a);try{return vr(a)}catch{try{return vr.call(null,a)}catch{return vr.call(this,a)}}}var mr=[],_r=!1,xr,cn=-1;function v0(){!_r||!xr||(_r=!1,xr.length?mr=xr.concat(mr):cn=-1,mr.length&&Dp())}function Dp(){if(!_r){var a=kp(v0);_r=!0;for(var e=mr.length;e;){for(xr=mr,mr=[];++cn<e;)xr&&xr[cn].run();cn=-1,e=mr.length}xr=null,_r=!1,y0(a)}}function E0(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];mr.push(new Ip(a,e)),mr.length===1&&!_r&&kp(Dp)}function Ip(a,e){this.fun=a,this.array=e}Ip.prototype.run=function(){this.fun.apply(null,this.array)};var S0="browser",b0="browser",x0=!0,C0={},w0=[],A0="",T0={},k0={},D0={};function Cr(){}var I0=Cr,P0=Cr,F0=Cr,R0=Cr,_0=Cr,B0=Cr,L0=Cr;function O0(a){throw new Error("process.binding is not supported")}function N0(){return"/"}function M0(a){throw new Error("process.chdir is not supported")}function j0(){return 0}var Br=Xt.performance||{},U0=Br.now||Br.mozNow||Br.msNow||Br.oNow||Br.webkitNow||function(){return new Date().getTime()};function q0(a){var e=U0.call(Br)*.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 V0=new Date;function $0(){var a=new Date,e=a-V0;return e/1e3}var Ft={nextTick:E0,title:S0,browser:x0,env:C0,argv:w0,version:A0,versions:T0,on:I0,addListener:P0,once:F0,off:R0,removeListener:_0,removeAllListeners:B0,emit:L0,binding:O0,cwd:N0,chdir:M0,umask:j0,hrtime:q0,platform:b0,release:k0,config:D0,uptime:$0};function Pp(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 W0=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,On=function(a){return W0.exec(a).slice(1)};function fn(){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=Pp(jn(a.split("/"),function(t){return!!t}),!e).join("/"),(e?"/":"")+a||"."}function Nn(a){var e=Mn(a),n=z0(a,-1)==="/";return a=Pp(jn(a.split("/"),function(o){return!!o}),!e).join("/"),!a&&!e&&(a="."),a&&n&&(a+="/"),(e?"/":"")+a}function Mn(a){return a.charAt(0)==="/"}function Fp(){var a=Array.prototype.slice.call(arguments,0);return Nn(jn(a,function(e,n){if(typeof e!="string")throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))}function Rp(a,e){a=fn(a).substr(1),e=fn(e).substr(1);function n(m){for(var i=0;i<m.length&&m[i]==="";i++);for(var c=m.length-1;c>=0&&m[c]==="";c--);return i>c?[]:m.slice(i,c-i+1)}for(var o=n(a.split("/")),t=n(e.split("/")),l=Math.min(o.length,t.length),p=l,u=0;u<l;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 _p="/",Bp=":";function Lp(a){var e=On(a),n=e[0],o=e[1];return!n&&!o?".":(o&&(o=o.substr(0,o.length-1)),n+o)}function Op(a,e){var n=On(a)[2];return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n}function Np(a){return On(a)[3]}var G0={extname:Np,basename:Op,dirname:Lp,sep:_p,delimiter:Bp,relative:Rp,join:Fp,isAbsolute:Mn,normalize:Nn,resolve:fn};function jn(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 z0="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)},H0=Object.freeze({__proto__:null,basename:Op,default:G0,delimiter:Bp,dirname:Lp,extname:Np,isAbsolute:Mn,join:Fp,normalize:Nn,relative:Rp,resolve:fn,sep:_p}),pn=wp(H0),Jt={},Un={},Mp;function jp(){return Mp||(Mp=1,function(a){(function e(n){var o,t,l,p,u,r;function m(C){var v={},A,b;for(A in C)C.hasOwnProperty(A)&&(b=C[A],typeof b=="object"&&b!==null?v[A]=m(b):v[A]=b);return v}function i(C,v){var A,b,w,k;for(b=C.length,w=0;b;)A=b>>>1,k=w+A,v(C[k])?b=A:(w=k+1,b-=A+1);return w}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"},l={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 c(C,v){this.parent=C,this.key=v}c.prototype.replace=function(v){this.parent[this.key]=v},c.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function h(C,v,A,b){this.node=C,this.path=v,this.wrap=A,this.ref=b}function s(){}s.prototype.path=function(){var v,A,b,w,k,R;function F(L,P){if(Array.isArray(P))for(b=0,w=P.length;b<w;++b)L.push(P[b]);else L.push(P)}if(!this.__current.path)return null;for(k=[],v=2,A=this.__leavelist.length;v<A;++v)R=this.__leavelist[v],F(k,R.path);return F(k,this.__current.path),k},s.prototype.type=function(){var C=this.current();return C.type||this.__current.wrap},s.prototype.parents=function(){var v,A,b;for(b=[],v=1,A=this.__leavelist.length;v<A;++v)b.push(this.__leavelist[v].node);return b},s.prototype.current=function(){return this.__current.node},s.prototype.__execute=function(v,A){var b,w;return w=void 0,b=this.__current,this.__current=A,this.__state=null,v&&(w=v.call(this,A.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=b,w},s.prototype.notify=function(v){this.__state=v},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(C,v){this.visitor=v,this.root=C,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,v.fallback==="iteration"?this.__fallback=Object.keys:typeof v.fallback=="function"&&(this.__fallback=v.fallback),this.__keys=l,v.keys&&(this.__keys=Object.assign(Object.create(this.__keys),v.keys))};function f(C){return C==null?!1:typeof C=="object"&&typeof C.type=="string"}function g(C,v){return(C===o.ObjectExpression||C===o.ObjectPattern)&&v==="properties"}function d(C,v){for(var A=C.length-1;A>=0;--A)if(C[A].node===v)return!0;return!1}s.prototype.traverse=function(v,A){var b,w,k,R,F,L,P,O,q,N,_,G;for(this.__initialize(v,A),G={},b=this.__worklist,w=this.__leavelist,b.push(new h(v,null,null,null)),w.push(new h(null,null,null,null));b.length;){if(k=b.pop(),k===G){if(k=w.pop(),L=this.__execute(A.leave,k),this.__state===p||L===p)return;continue}if(k.node){if(L=this.__execute(A.enter,k),this.__state===p||L===p)return;if(b.push(G),w.push(k),this.__state===u||L===u)continue;if(R=k.node,F=R.type||k.wrap,N=this.__keys[F],!N)if(this.__fallback)N=this.__fallback(R);else throw new Error("Unknown node type "+F+".");for(O=N.length;(O-=1)>=0;)if(P=N[O],_=R[P],!!_){if(Array.isArray(_)){for(q=_.length;(q-=1)>=0;)if(_[q]&&!d(w,_[q])){if(g(F,N[O]))k=new h(_[q],[P,q],"Property",null);else if(f(_[q]))k=new h(_[q],[P,q],null,null);else continue;b.push(k)}}else if(f(_)){if(d(w,_))continue;b.push(new h(_,P,null,null))}}}}},s.prototype.replace=function(v,A){var b,w,k,R,F,L,P,O,q,N,_,G,B;function z(H){var ce,re,Fe,X;if(H.ref.remove()){for(re=H.ref.key,X=H.ref.parent,ce=b.length;ce--;)if(Fe=b[ce],Fe.ref&&Fe.ref.parent===X){if(Fe.ref.key<re)break;--Fe.ref.key}}}for(this.__initialize(v,A),_={},b=this.__worklist,w=this.__leavelist,G={root:v},L=new h(v,null,null,new c(G,"root")),b.push(L),w.push(L);b.length;){if(L=b.pop(),L===_){if(L=w.pop(),F=this.__execute(A.leave,L),F!==void 0&&F!==p&&F!==u&&F!==r&&L.ref.replace(F),(this.__state===r||F===r)&&z(L),this.__state===p||F===p)return G.root;continue}if(F=this.__execute(A.enter,L),F!==void 0&&F!==p&&F!==u&&F!==r&&(L.ref.replace(F),L.node=F),(this.__state===r||F===r)&&(z(L),L.node=null),this.__state===p||F===p)return G.root;if(k=L.node,!!k&&(b.push(_),w.push(L),!(this.__state===u||F===u))){if(R=k.type||L.wrap,q=this.__keys[R],!q)if(this.__fallback)q=this.__fallback(k);else throw new Error("Unknown node type "+R+".");for(P=q.length;(P-=1)>=0;)if(B=q[P],N=k[B],!!N)if(Array.isArray(N)){for(O=N.length;(O-=1)>=0;)if(N[O]){if(g(R,q[P]))L=new h(N[O],[B,O],"Property",new c(N,O));else if(f(N[O]))L=new h(N[O],[B,O],null,new c(N,O));else continue;b.push(L)}}else f(N)&&b.push(new h(N,B,null,new c(k,B)))}}return G.root};function E(C,v){var A=new s;return A.traverse(C,v)}function S(C,v){var A=new s;return A.replace(C,v)}function x(C,v){var A;return A=i(v,function(w){return w.range[0]>C.range[0]}),C.extendedRange=[C.range[0],C.range[1]],A!==v.length&&(C.extendedRange[1]=v[A].range[0]),A-=1,A>=0&&(C.extendedRange[0]=v[A].range[1]),C}function T(C,v,A){var b=[],w,k,R,F;if(!C.range)throw new Error("attachComments needs range information");if(!A.length){if(v.length){for(R=0,k=v.length;R<k;R+=1)w=m(v[R]),w.extendedRange=[0,C.range[0]],b.push(w);C.leadingComments=b}return C}for(R=0,k=v.length;R<k;R+=1)b.push(x(m(v[R]),A));return F=0,E(C,{enter:function(L){for(var P;F<b.length&&(P=b[F],!(P.extendedRange[1]>L.range[0]));)P.extendedRange[1]===L.range[0]?(L.leadingComments||(L.leadingComments=[]),L.leadingComments.push(P),b.splice(F,1)):F+=1;if(F===b.length)return t.Break;if(b[F].extendedRange[0]>L.range[1])return t.Skip}}),F=0,E(C,{leave:function(L){for(var P;F<b.length&&(P=b[F],!(L.range[1]<P.extendedRange[0]));)L.range[1]===P.extendedRange[0]?(L.trailingComments||(L.trailingComments=[]),L.trailingComments.push(P),b.splice(F,1)):F+=1;if(F===b.length)return t.Break;if(b[F].extendedRange[0]>L.range[1])return t.Skip}}),C}return n.Syntax=o,n.traverse=E,n.replace=S,n.attachComments=T,n.VisitorKeys=l,n.VisitorOption=t,n.Controller=s,n.cloneEnvironment=function(){return e({})},n})(a)}(Un)),Un}var Vr={},K0="4.3.0",X0={version:K0},Up;function J0(){return Up||(Up=1,function(){var a=jp();function e(t){return t==null?!1:typeof t=="object"&&typeof t.type=="string"}function n(t,l){return(t===a.Syntax.ObjectExpression||t===a.Syntax.ObjectPattern)&&l==="properties"}function o(t,l){l=l||{},this.__visitor=t||this,this.__childVisitorKeys=l.childVisitorKeys?Object.assign({},a.VisitorKeys,l.childVisitorKeys):a.VisitorKeys,l.fallback==="iteration"?this.__fallback=Object.keys:typeof l.fallback=="function"&&(this.__fallback=l.fallback)}o.prototype.visitChildren=function(t){var l,p,u,r,m,i,c;if(t!=null){if(l=t.type||a.Syntax.Property,p=this.__childVisitorKeys[l],!p)if(this.__fallback)p=this.__fallback(t);else throw new Error("Unknown node type "+l+".");for(u=0,r=p.length;u<r;++u)if(c=t[p[u]],c)if(Array.isArray(c))for(m=0,i=c.length;m<i;++m)c[m]&&(e(c[m])||n(l,p[u]))&&this.visit(c[m]);else e(c)&&this.visit(c)}},o.prototype.visit=function(t){var l;if(t!=null){if(l=t.type||a.Syntax.Property,this.__visitor[l]){this.__visitor[l].call(this,t);return}this.visitChildren(t)}},Vr.version=X0.version,Vr.Visitor=o,Vr.visit=function(t,l,p){var u=new o(l,p);u.visit(t)}}()),Vr}var qp;function qn(){if(qp)return Jt;qp=1,Object.defineProperty(Jt,"__esModule",{value:!0});var a=jp(),e=J0();function n(X){return X&&typeof X=="object"&&"default"in X?X:{default:X}}var o=n(a),t=n(e);function l(X,I="Assertion failed."){if(!X)throw new Error(I)}const p=1,u=2,r=p|u;class m{constructor(I,W,oe,ie,se,de,be){this.identifier=I,this.from=W,this.tainted=!1,this.resolved=null,this.flag=oe,this.isWrite()&&(this.writeExpr=ie,this.partial=de,this.init=be),this.__maybeImplicitGlobal=se}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&m.WRITE)}isRead(){return!!(this.flag&m.READ)}isReadOnly(){return this.flag===m.READ}isWriteOnly(){return this.flag===m.WRITE}isReadWrite(){return this.flag===m.RW}}m.READ=p,m.WRITE=u,m.RW=r;class i{constructor(I,W){this.name=I,this.identifiers=[],this.references=[],this.defs=[],this.tainted=!1,this.stack=!0,this.scope=W}}i.CatchClause="CatchClause",i.Parameter="Parameter",i.FunctionName="FunctionName",i.ClassName="ClassName",i.Variable="Variable",i.ImportBinding="ImportBinding",i.ImplicitGlobalVariable="ImplicitGlobalVariable";class c{constructor(I,W,oe,ie,se,de){this.type=I,this.name=W,this.node=oe,this.parent=ie,this.index=se,this.kind=de}}class h extends c{constructor(I,W,oe,ie){super(i.Parameter,I,W,null,oe,null),this.rest=ie}}const{Syntax:s}=o.default;function f(X,I,W){let oe;if(X.upper&&X.upper.isStrict||W||X.type==="class"||X.type==="module")return!0;if(X.type==="block"||X.type==="switch")return!1;if(X.type==="function"){if(I.type===s.ArrowFunctionExpression&&I.body.type!==s.BlockStatement||(I.type===s.Program?oe=I:oe=I.body,!oe))return!1}else if(X.type==="global")oe=I;else return!1;for(let ie=0,se=oe.body.length;ie<se;++ie){const de=oe.body[ie];if(typeof de.directive!="string")break;if(de.directive==="use strict")return!0}return!1}function g(X,I){X.scopes.push(I);const W=X.__nodeToScope.get(I.block);W?W.push(I):X.__nodeToScope.set(I.block,[I])}function d(X){return X.type===i.ClassName||X.type===i.Variable&&X.parent.kind!=="var"}class E{constructor(I,W,oe,ie,se){this.type=W,this.set=new Map,this.taints=new Map,this.dynamic=this.type==="global"||this.type==="with",this.block=ie,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:oe.variableScope,this.functionExpressionScope=!1,this.directCallToEvalScope=!1,this.thisFound=!1,this.__left=[],this.upper=oe,this.isStrict=I.isStrictModeSupported()?f(this,ie,se):!1,this.childScopes=[],this.upper&&this.upper.childScopes.push(this),this.__declaredVariables=I.__declaredVariables,g(I,this)}__shouldStaticallyClose(I){return!this.dynamic||I.__isOptimistic()}__shouldStaticallyCloseForGlobal(I){const W=I.identifier.name;if(!this.set.has(W))return!1;const ie=this.set.get(W).defs;return ie.length>0&&ie.every(d)}__staticCloseRef(I){this.__resolve(I)||this.__delegateToUpperScope(I)}__dynamicCloseRef(I){let W=this;do W.through.push(I),W=W.upper;while(W)}__globalCloseRef(I){this.__shouldStaticallyCloseForGlobal(I)?this.__staticCloseRef(I):this.__dynamicCloseRef(I)}__close(I){let W;this.__shouldStaticallyClose(I)?W=this.__staticCloseRef:this.type!=="global"?W=this.__dynamicCloseRef:W=this.__globalCloseRef;for(let oe=0,ie=this.__left.length;oe<ie;++oe){const se=this.__left[oe];W.call(this,se)}return this.__left=null,this.upper}__isValidResolution(I,W){return!0}__resolve(I){const W=I.identifier.name;if(!this.set.has(W))return!1;const oe=this.set.get(W);return this.__isValidResolution(I,oe)?(oe.references.push(I),oe.stack=oe.stack&&I.from.variableScope===this.variableScope,I.tainted&&(oe.tainted=!0,this.taints.set(oe.name,!0)),I.resolved=oe,!0):!1}__delegateToUpperScope(I){this.upper&&this.upper.__left.push(I),this.through.push(I)}__addDeclaredVariablesOfNode(I,W){if(W==null)return;let oe=this.__declaredVariables.get(W);oe==null&&(oe=[],this.__declaredVariables.set(W,oe)),oe.includes(I)||oe.push(I)}__defineGeneric(I,W,oe,ie,se){let de;de=W.get(I),de||(de=new i(I,this),W.set(I,de),oe.push(de)),se&&(de.defs.push(se),this.__addDeclaredVariablesOfNode(de,se.node),this.__addDeclaredVariablesOfNode(de,se.parent)),ie&&de.identifiers.push(ie)}__define(I,W){I&&I.type===s.Identifier&&this.__defineGeneric(I.name,this.set,this.variables,I,W)}__referencing(I,W,oe,ie,se,de){if(!I||I.type!==s.Identifier&&I.type!=="JSXIdentifier"||I.name==="super")return;const be=new m(I,this,W||m.READ,oe,ie,!!se,!!de);this.references.push(be),this.__left.push(be)}__detectEval(){let I=this;this.directCallToEvalScope=!0;do I.dynamic=!0,I=I.upper;while(I)}__detectThis(){this.thisFound=!0}__isClosed(){return this.__left===null}resolve(I){let W,oe,ie;for(l(this.__isClosed(),"Scope should be closed."),l(I.type===s.Identifier,"Target should be identifier."),oe=0,ie=this.references.length;oe<ie;++oe)if(W=this.references[oe],W.identifier===I)return W;return null}isStatic(){return!this.dynamic}isArgumentsMaterialized(){return!0}isThisMaterialized(){return!0}isUsedName(I){if(this.set.has(I))return!0;for(let W=0,oe=this.through.length;W<oe;++W)if(this.through[W].identifier.name===I)return!0;return!1}}class S extends E{constructor(I,W){super(I,"global",null,W,!1),this.implicit={set:new Map,variables:[],left:[]}}__close(I){const W=[];for(let oe=0,ie=this.__left.length;oe<ie;++oe){const se=this.__left[oe];se.__maybeImplicitGlobal&&!this.set.has(se.identifier.name)&&W.push(se.__maybeImplicitGlobal)}for(let oe=0,ie=W.length;oe<ie;++oe){const se=W[oe];this.__defineImplicit(se.pattern,new c(i.ImplicitGlobalVariable,se.pattern,se.node,null,null,null))}return this.implicit.left=this.__left,super.__close(I)}__defineImplicit(I,W){I&&I.type===s.Identifier&&this.__defineGeneric(I.name,this.implicit.set,this.implicit.variables,I,W)}}class x extends E{constructor(I,W,oe){super(I,"module",W,oe,!1)}}class T extends E{constructor(I,W,oe){super(I,"function-expression-name",W,oe,!1),this.__define(oe.id,new c(i.FunctionName,oe.id,oe,null,null,null)),this.functionExpressionScope=!0}}class C extends E{constructor(I,W,oe){super(I,"catch",W,oe,!1)}}class v extends E{constructor(I,W,oe){super(I,"with",W,oe,!1)}__close(I){if(this.__shouldStaticallyClose(I))return super.__close(I);for(let W=0,oe=this.__left.length;W<oe;++W){const ie=this.__left[W];ie.tainted=!0,this.__delegateToUpperScope(ie)}return this.__left=null,this.upper}}class A extends E{constructor(I,W,oe){super(I,"block",W,oe,!1)}}class b extends E{constructor(I,W,oe){super(I,"switch",W,oe,!1)}}class w extends E{constructor(I,W,oe,ie){super(I,"function",W,oe,ie),this.block.type!==s.ArrowFunctionExpression&&this.__defineArguments()}isArgumentsMaterialized(){if(this.block.type===s.ArrowFunctionExpression)return!1;if(!this.isStatic())return!0;const I=this.set.get("arguments");return l(I,"Always have arguments variable."),I.tainted||I.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(I,W){if(this.block.type==="Program")return!0;const oe=this.block.body.range[0];return!(W.scope===this&&I.identifier.range[0]<oe&&W.defs.every(ie=>ie.name.range[0]>=oe))}}class k extends E{constructor(I,W,oe){super(I,"for",W,oe,!1)}}class R extends E{constructor(I,W,oe){super(I,"class",W,oe,!1)}}class F extends E{constructor(I,W,oe){super(I,"class-field-initializer",W,oe,!0)}}class L extends E{constructor(I,W,oe){super(I,"class-static-block",W,oe,!0)}}class P{constructor(I){this.scopes=[],this.globalScope=null,this.__nodeToScope=new WeakMap,this.__currentScope=null,this.__options=I,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(I){return this.__nodeToScope.get(I)}getDeclaredVariables(I){return this.__declaredVariables.get(I)||[]}acquire(I,W){function oe(se){return!(se.type==="function"&&se.functionExpressionScope)}const ie=this.__get(I);if(!ie||ie.length===0)return null;if(ie.length===1)return ie[0];if(W)for(let se=ie.length-1;se>=0;--se){const de=ie[se];if(oe(de))return de}else for(let se=0,de=ie.length;se<de;++se){const be=ie[se];if(oe(be))return be}return null}acquireAll(I){return this.__get(I)}release(I,W){const oe=this.__get(I);if(oe&&oe.length){const ie=oe[0].upper;return ie?this.acquire(ie.block,W):null}return null}attach(){}detach(){}__nestScope(I){return I instanceof S&&(l(this.__currentScope===null),this.globalScope=I),this.__currentScope=I,I}__nestGlobalScope(I){return this.__nestScope(new S(this,I))}__nestBlockScope(I){return this.__nestScope(new A(this,this.__currentScope,I))}__nestFunctionScope(I,W){return this.__nestScope(new w(this,this.__currentScope,I,W))}__nestForScope(I){return this.__nestScope(new k(this,this.__currentScope,I))}__nestCatchScope(I){return this.__nestScope(new C(this,this.__currentScope,I))}__nestWithScope(I){return this.__nestScope(new v(this,this.__currentScope,I))}__nestClassScope(I){return this.__nestScope(new R(this,this.__currentScope,I))}__nestClassFieldInitializerScope(I){return this.__nestScope(new F(this,this.__currentScope,I))}__nestClassStaticBlockScope(I){return this.__nestScope(new L(this,this.__currentScope,I))}__nestSwitchScope(I){return this.__nestScope(new b(this,this.__currentScope,I))}__nestModuleScope(I){return this.__nestScope(new x(this,this.__currentScope,I))}__nestFunctionExpressionNameScope(I){return this.__nestScope(new T(this,this.__currentScope,I))}__isES6(){return this.__options.ecmaVersion>=6}}const{Syntax:O}=o.default;function q(X){return X.at(-1)||null}class N extends t.default.Visitor{static isPattern(I){const W=I.type;return W===O.Identifier||W===O.ObjectPattern||W===O.ArrayPattern||W===O.SpreadElement||W===O.RestElement||W===O.AssignmentPattern}constructor(I,W,oe){super(null,I),this.rootPattern=W,this.callback=oe,this.assignments=[],this.rightHandNodes=[],this.restElements=[]}Identifier(I){const W=q(this.restElements);this.callback(I,{topLevel:I===this.rootPattern,rest:W!=null&&W.argument===I,assignments:this.assignments})}Property(I){I.computed&&this.rightHandNodes.push(I.key),this.visit(I.value)}ArrayPattern(I){for(let W=0,oe=I.elements.length;W<oe;++W){const ie=I.elements[W];this.visit(ie)}}AssignmentPattern(I){this.assignments.push(I),this.visit(I.left),this.rightHandNodes.push(I.right),this.assignments.pop()}RestElement(I){this.restElements.push(I),this.visit(I.argument),this.restElements.pop()}MemberExpression(I){I.computed&&this.rightHandNodes.push(I.property),this.rightHandNodes.push(I.object)}SpreadElement(I){this.visit(I.argument)}ArrayExpression(I){I.elements.forEach(this.visit,this)}AssignmentExpression(I){this.assignments.push(I),this.visit(I.left),this.rightHandNodes.push(I.right),this.assignments.pop()}CallExpression(I){I.arguments.forEach(W=>{this.rightHandNodes.push(W)}),this.visit(I.callee)}}const{Syntax:_}=o.default;function G(X,I,W,oe){const ie=new N(X,I,oe);ie.visit(I),W!=null&&ie.rightHandNodes.forEach(W.visit,W)}class B extends t.default.Visitor{constructor(I,W){super(null,W.options),this.declaration=I,this.referencer=W}visitImport(I,W){this.referencer.visitPattern(I,oe=>{this.referencer.currentScope().__define(oe,new c(i.ImportBinding,oe,W,this.declaration,null,null))})}ImportNamespaceSpecifier(I){const W=I.local||I.id;W&&this.visitImport(W,I)}ImportDefaultSpecifier(I){const W=I.local||I.id;this.visitImport(W,I)}ImportSpecifier(I){const W=I.local||I.id;I.name?this.visitImport(I.name,I):this.visitImport(W,I)}}class z extends t.default.Visitor{constructor(I,W){super(null,I),this.options=I,this.scopeManager=W,this.parent=null,this.isInnerMethodDefinition=!1}currentScope(){return this.scopeManager.__currentScope}close(I){for(;this.currentScope()&&I===this.currentScope().block;)this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}pushInnerMethodDefinition(I){const W=this.isInnerMethodDefinition;return this.isInnerMethodDefinition=I,W}popInnerMethodDefinition(I){this.isInnerMethodDefinition=I}referencingDefaultValue(I,W,oe,ie){const se=this.currentScope();W.forEach(de=>{se.__referencing(I,m.WRITE,de.right,oe,I!==de.left,ie)})}visitPattern(I,W,oe){let ie=W,se=oe;typeof W=="function"&&(se=W,ie={processRightHandNodes:!1}),G(this.options,I,ie.processRightHandNodes?this:null,se)}visitFunction(I){let W,oe;I.type===_.FunctionDeclaration&&this.currentScope().__define(I.id,new c(i.FunctionName,I.id,I,null,null,null)),I.type===_.FunctionExpression&&I.id&&this.scopeManager.__nestFunctionExpressionNameScope(I),this.scopeManager.__nestFunctionScope(I,this.isInnerMethodDefinition);const ie=this;function se(de,be){ie.currentScope().__define(de,new h(de,I,W,be.rest)),ie.referencingDefaultValue(de,be.assignments,null,!0)}for(W=0,oe=I.params.length;W<oe;++W)this.visitPattern(I.params[W],{processRightHandNodes:!0},se);I.rest&&this.visitPattern({type:"RestElement",argument:I.rest},de=>{this.currentScope().__define(de,new h(de,I,I.params.length,!0))}),I.body&&(I.body.type===_.BlockStatement?this.visitChildren(I.body):this.visit(I.body)),this.close(I)}visitClass(I){I.type===_.ClassDeclaration&&this.currentScope().__define(I.id,new c(i.ClassName,I.id,I,null,null,null)),this.scopeManager.__nestClassScope(I),I.id&&this.currentScope().__define(I.id,new c(i.ClassName,I.id,I)),this.visit(I.superClass),this.visit(I.body),this.close(I)}visitProperty(I){let W;I.computed&&this.visit(I.key);const oe=I.type===_.MethodDefinition;oe&&(W=this.pushInnerMethodDefinition(!0)),this.visit(I.value),oe&&this.popInnerMethodDefinition(W)}visitForIn(I){I.left.type===_.VariableDeclaration&&I.left.kind!=="var"&&this.scopeManager.__nestForScope(I),I.left.type===_.VariableDeclaration?(this.visit(I.left),this.visitPattern(I.left.declarations[0].id,W=>{this.currentScope().__referencing(W,m.WRITE,I.right,null,!0,!0)})):this.visitPattern(I.left,{processRightHandNodes:!0},(W,oe)=>{let ie=null;this.currentScope().isStrict||(ie={pattern:W,node:I}),this.referencingDefaultValue(W,oe.assignments,ie,!1),this.currentScope().__referencing(W,m.WRITE,I.right,ie,!0,!1)}),this.visit(I.right),this.visit(I.body),this.close(I)}visitVariableDeclaration(I,W,oe,ie){const se=oe.declarations[ie],de=se.init;this.visitPattern(se.id,{processRightHandNodes:!0},(be,xe)=>{I.__define(be,new c(W,be,se,oe,ie,oe.kind)),this.referencingDefaultValue(be,xe.assignments,null,!0),de&&this.currentScope().__referencing(be,m.WRITE,de,null,!xe.topLevel,!0)})}AssignmentExpression(I){N.isPattern(I.left)?I.operator==="="?this.visitPattern(I.left,{processRightHandNodes:!0},(W,oe)=>{let ie=null;this.currentScope().isStrict||(ie={pattern:W,node:I}),this.referencingDefaultValue(W,oe.assignments,ie,!1),this.currentScope().__referencing(W,m.WRITE,I.right,ie,!oe.topLevel,!1)}):this.currentScope().__referencing(I.left,m.RW,I.right):this.visit(I.left),this.visit(I.right)}CatchClause(I){this.scopeManager.__nestCatchScope(I),this.visitPattern(I.param,{processRightHandNodes:!0},(W,oe)=>{this.currentScope().__define(W,new c(i.CatchClause,W,I,null,null,null)),this.referencingDefaultValue(W,oe.assignments,null,!0)}),this.visit(I.body),this.close(I)}Program(I){this.scopeManager.__nestGlobalScope(I),this.scopeManager.isGlobalReturn()&&(this.currentScope().isStrict=!1,this.scopeManager.__nestFunctionScope(I,!1)),this.scopeManager.__isES6()&&this.scopeManager.isModule()&&this.scopeManager.__nestModuleScope(I),this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()&&(this.currentScope().isStrict=!0),this.visitChildren(I),this.close(I)}Identifier(I){this.currentScope().__referencing(I)}PrivateIdentifier(){}UpdateExpression(I){N.isPattern(I.argument)?this.currentScope().__referencing(I.argument,m.RW,null):this.visitChildren(I)}MemberExpression(I){this.visit(I.object),I.computed&&this.visit(I.property)}Property(I){this.visitProperty(I)}PropertyDefinition(I){const{computed:W,key:oe,value:ie}=I;W&&this.visit(oe),ie&&(this.scopeManager.__nestClassFieldInitializerScope(ie),this.visit(ie),this.close(ie))}StaticBlock(I){this.scopeManager.__nestClassStaticBlockScope(I),this.visitChildren(I),this.close(I)}MethodDefinition(I){this.visitProperty(I)}BreakStatement(){}ContinueStatement(){}LabeledStatement(I){this.visit(I.body)}ForStatement(I){I.init&&I.init.type===_.VariableDeclaration&&I.init.kind!=="var"&&this.scopeManager.__nestForScope(I),this.visitChildren(I),this.close(I)}ClassExpression(I){this.visitClass(I)}ClassDeclaration(I){this.visitClass(I)}CallExpression(I){!this.scopeManager.__ignoreEval()&&I.callee.type===_.Identifier&&I.callee.name==="eval"&&this.currentScope().variableScope.__detectEval(),this.visitChildren(I)}BlockStatement(I){this.scopeManager.__isES6()&&this.scopeManager.__nestBlockScope(I),this.visitChildren(I),this.close(I)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(I){this.visit(I.object),this.scopeManager.__nestWithScope(I),this.visit(I.body),this.close(I)}VariableDeclaration(I){const W=I.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let oe=0,ie=I.declarations.length;oe<ie;++oe){const se=I.declarations[oe];this.visitVariableDeclaration(W,i.Variable,I,oe),se.init&&this.visit(se.init)}}SwitchStatement(I){this.visit(I.discriminant),this.scopeManager.__isES6()&&this.scopeManager.__nestSwitchScope(I);for(let W=0,oe=I.cases.length;W<oe;++W)this.visit(I.cases[W]);this.close(I)}FunctionDeclaration(I){this.visitFunction(I)}FunctionExpression(I){this.visitFunction(I)}ForOfStatement(I){this.visitForIn(I)}ForInStatement(I){this.visitForIn(I)}ArrowFunctionExpression(I){this.visitFunction(I)}ImportDeclaration(I){l(this.scopeManager.__isES6()&&this.scopeManager.isModule(),"ImportDeclaration should appear when the mode is ES6 and in the module context."),new B(I,this).visit(I)}visitExportDeclaration(I){if(!I.source){if(I.declaration){this.visit(I.declaration);return}this.visitChildren(I)}}ExportDeclaration(I){this.visitExportDeclaration(I)}ExportAllDeclaration(I){this.visitExportDeclaration(I)}ExportDefaultDeclaration(I){this.visitExportDeclaration(I)}ExportNamedDeclaration(I){this.visitExportDeclaration(I)}ExportSpecifier(I){const W=I.id||I.local;this.visit(W)}MetaProperty(){}JSXIdentifier(I){this.scopeManager.__isJSXEnabled()&&I.name!=="this"&&this.currentScope().__referencing(I)}JSXMemberExpression(I){this.visit(I.object)}JSXElement(I){this.scopeManager.__isJSXEnabled()?(this.visit(I.openingElement),I.children.forEach(this.visit,this)):this.visitChildren(I)}JSXOpeningElement(I){if(this.scopeManager.__isJSXEnabled()){const W=I.name;(W.type==="JSXIdentifier"&&W.name[0].toUpperCase()===W.name[0]||W.type==="JSXMemberExpression")&&this.visit(W)}I.attributes.forEach(this.visit,this)}JSXAttribute(I){I.value&&this.visit(I.value)}JSXExpressionContainer(I){this.visit(I.expression)}JSXNamespacedName(I){this.visit(I.namespace),this.visit(I.name)}}const H="8.4.0";function ce(){return{optimistic:!1,nodejsScope:!1,impliedStrict:!1,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function re(X,I){function W(oe){return typeof oe=="object"&&oe instanceof Object&&!(oe instanceof Array)&&!(oe instanceof RegExp)}for(const oe in I)if(Object.hasOwn(I,oe)){const ie=I[oe];W(ie)?W(X[oe])?re(X[oe],ie):X[oe]=re({},ie):X[oe]=ie}return X}function Fe(X,I){const W=re(ce(),I),oe=new P(W);return new z(W,oe).visit(X),l(oe.__currentScope===null,"currentScope should be null."),oe}return Jt.Definition=c,Jt.PatternVisitor=N,Jt.Reference=m,Jt.Referencer=z,Jt.Scope=E,Jt.ScopeManager=P,Jt.Variable=i,Jt.analyze=Fe,Jt.version=H,Jt}var $r={},Vp;function Wr(){if(Vp)return $r;Vp=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:["local","exported"],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 l(p){const u=Object.assign({},a);for(const r of Object.keys(p))if(Object.hasOwn(u,r)){const m=new Set(p[r]);for(const i of u[r])m.add(i);u[r]=Object.freeze(Array.from(m))}else u[r]=Object.freeze(Array.from(p[r]));return Object.freeze(u)}return $r.KEYS=a,$r.getKeys=t,$r.unionWith=l,$r}var er={},mn={exports:{}},$p;function Vn(){return $p||($p=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],l="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏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",m={5:r,"5module":r+" export import",6:r+" const class extends export import super"},i=/^in(stanceof)?$/,c=new RegExp("["+p+"]"),h=new RegExp("["+p+l+"]");function s(y,D){for(var U=65536,K=0;K<D.length;K+=2){if(U+=D[K],U>y)return!1;if(U+=D[K+1],U>=y)return!0}return!1}function f(y,D){return y<65?y===36:y<91?!0:y<97?y===95:y<123?!0:y<=65535?y>=170&&c.test(String.fromCharCode(y)):D===!1?!1:s(y,t)}function g(y,D){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&&h.test(String.fromCharCode(y)):D===!1?!1:s(y,t)||s(y,o)}var d=function(D,U){U===void 0&&(U={}),this.label=D,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 E(y,D){return new d(y,{beforeExpr:!0,binop:D})}var S={beforeExpr:!0},x={startsExpr:!0},T={};function C(y,D){return D===void 0&&(D={}),D.keyword=y,T[y]=new d(y,D)}var v={num:new d("num",x),regexp:new d("regexp",x),string:new d("string",x),name:new d("name",x),privateId:new d("privateId",x),eof:new d("eof"),bracketL:new d("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new d("]"),braceL:new d("{",{beforeExpr:!0,startsExpr:!0}),braceR:new d("}"),parenL:new d("(",{beforeExpr:!0,startsExpr:!0}),parenR:new d(")"),comma:new d(",",S),semi:new d(";",S),colon:new d(":",S),dot:new d("."),question:new d("?",S),questionDot:new d("?."),arrow:new d("=>",S),template:new d("template"),invalidTemplate:new d("invalidTemplate"),ellipsis:new d("...",S),backQuote:new d("`",x),dollarBraceL:new d("${",{beforeExpr:!0,startsExpr:!0}),eq:new d("=",{beforeExpr:!0,isAssign:!0}),assign:new d("_=",{beforeExpr:!0,isAssign:!0}),incDec:new d("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new d("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:E("||",1),logicalAND:E("&&",2),bitwiseOR:E("|",3),bitwiseXOR:E("^",4),bitwiseAND:E("&",5),equality:E("==/!=/===/!==",6),relational:E("</>/<=/>=",7),bitShift:E("<</>>/>>>",8),plusMin:new d("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:E("%",10),star:E("*",10),slash:E("/",10),starstar:new d("**",{beforeExpr:!0}),coalesce:E("??",1),_break:C("break"),_case:C("case",S),_catch:C("catch"),_continue:C("continue"),_debugger:C("debugger"),_default:C("default",S),_do:C("do",{isLoop:!0,beforeExpr:!0}),_else:C("else",S),_finally:C("finally"),_for:C("for",{isLoop:!0}),_function:C("function",x),_if:C("if"),_return:C("return",S),_switch:C("switch"),_throw:C("throw",S),_try:C("try"),_var:C("var"),_const:C("const"),_while:C("while",{isLoop:!0}),_with:C("with"),_new:C("new",{beforeExpr:!0,startsExpr:!0}),_this:C("this",x),_super:C("super",x),_class:C("class",x),_extends:C("extends",S),_export:C("export"),_import:C("import",x),_null:C("null",x),_true:C("true",x),_false:C("false",x),_in:C("in",{beforeExpr:!0,binop:7}),_instanceof:C("instanceof",{beforeExpr:!0,binop:7}),_typeof:C("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:C("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:C("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},A=/\r\n?|\n|\u2028|\u2029/,b=new RegExp(A.source,"g");function w(y){return y===10||y===13||y===8232||y===8233}function k(y,D,U){U===void 0&&(U=y.length);for(var K=D;K<U;K++){var ge=y.charCodeAt(K);if(w(ge))return K<U-1&&ge===13&&y.charCodeAt(K+1)===10?K+2:K+1}return-1}var R=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,F=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,L=Object.prototype,P=L.hasOwnProperty,O=L.toString,q=Object.hasOwn||function(y,D){return P.call(y,D)},N=Array.isArray||function(y){return O.call(y)==="[object Array]"},_=Object.create(null);function G(y){return _[y]||(_[y]=new RegExp("^(?:"+y.replace(/ /g,"|")+")$"))}function B(y){return y<=65535?String.fromCharCode(y):(y-=65536,String.fromCharCode((y>>10)+55296,(y&1023)+56320))}var z=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,H=function(D,U){this.line=D,this.column=U};H.prototype.offset=function(D){return new H(this.line,this.column+D)};var ce=function(D,U,K){this.start=U,this.end=K,D.sourceFile!==null&&(this.source=D.sourceFile)};function re(y,D){for(var U=1,K=0;;){var ge=k(y,K,D);if(ge<0)return new H(U,D-K);++U,K=ge}}var Fe={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},X=!1;function I(y){var D={};for(var U in Fe)D[U]=y&&q(y,U)?y[U]:Fe[U];if(D.ecmaVersion==="latest"?D.ecmaVersion=1e8:D.ecmaVersion==null?(!X&&typeof console=="object"&&console.warn&&(X=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
2
- Defaulting to 2020, but this will stop working in the future.`)),D.ecmaVersion=11):D.ecmaVersion>=2015&&(D.ecmaVersion-=2009),D.allowReserved==null&&(D.allowReserved=D.ecmaVersion<5),(!y||y.allowHashBang==null)&&(D.allowHashBang=D.ecmaVersion>=14),N(D.onToken)){var K=D.onToken;D.onToken=function(ge){return K.push(ge)}}return N(D.onComment)&&(D.onComment=W(D,D.onComment)),D}function W(y,D){return function(U,K,ge,Ve,$e,nt){var ot={type:U?"Block":"Line",value:K,start:ge,end:Ve};y.locations&&(ot.loc=new ce(this,$e,nt)),y.ranges&&(ot.range=[ge,Ve]),D.push(ot)}}var oe=1,ie=2,se=4,de=8,be=16,xe=32,Te=64,J=128,Q=256,ke=512,$=oe|ie|Q;function ae(y,D){return ie|(y?se:0)|(D?de:0)}var Ie=0,Ne=1,Be=2,j=3,Qe=4,ut=5,rt=function(D,U,K){this.options=D=I(D),this.sourceFile=D.sourceFile,this.keywords=G(m[D.ecmaVersion>=6?6:D.sourceType==="module"?"5module":5]);var ge="";D.allowReserved!==!0&&(ge=u[D.ecmaVersion>=6?6:D.ecmaVersion===5?5:3],D.sourceType==="module"&&(ge+=" await")),this.reservedWords=G(ge);var Ve=(ge?ge+" ":"")+u.strict;this.reservedWordsStrict=G(Ve),this.reservedWordsStrictBind=G(Ve+" "+u.strictBind),this.input=String(U),this.containsEsc=!1,K?(this.pos=K,this.lineStart=this.input.lastIndexOf(`
3
- `,K-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(A).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=v.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=D.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&&D.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(oe),this.regexpState=null,this.privateNameStack=[]},ze={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}};rt.prototype.parse=function(){var D=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(D)},ze.inFunction.get=function(){return(this.currentVarScope().flags&ie)>0},ze.inGenerator.get=function(){return(this.currentVarScope().flags&de)>0},ze.inAsync.get=function(){return(this.currentVarScope().flags&se)>0},ze.canAwait.get=function(){for(var y=this.scopeStack.length-1;y>=0;y--){var D=this.scopeStack[y],U=D.flags;if(U&(Q|ke))return!1;if(U&ie)return(U&se)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},ze.allowSuper.get=function(){var y=this.currentThisScope(),D=y.flags;return(D&Te)>0||this.options.allowSuperOutsideMethod},ze.allowDirectSuper.get=function(){return(this.currentThisScope().flags&J)>0},ze.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},ze.allowNewDotTarget.get=function(){for(var y=this.scopeStack.length-1;y>=0;y--){var D=this.scopeStack[y],U=D.flags;if(U&(Q|ke)||U&ie&&!(U&be))return!0}return!1},ze.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Q)>0},rt.extend=function(){for(var D=[],U=arguments.length;U--;)D[U]=arguments[U];for(var K=this,ge=0;ge<D.length;ge++)K=D[ge](K);return K},rt.parse=function(D,U){return new this(U,D).parse()},rt.parseExpressionAt=function(D,U,K){var ge=new this(K,D,U);return ge.nextToken(),ge.parseExpression()},rt.tokenizer=function(D,U){return new this(U,D)},Object.defineProperties(rt.prototype,ze);var Xe=rt.prototype,ht=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;Xe.strictDirective=function(y){if(this.options.ecmaVersion<5)return!1;for(;;){F.lastIndex=y,y+=F.exec(this.input)[0].length;var D=ht.exec(this.input.slice(y));if(!D)return!1;if((D[1]||D[2])==="use strict"){F.lastIndex=y+D[0].length;var U=F.exec(this.input),K=U.index+U[0].length,ge=this.input.charAt(K);return ge===";"||ge==="}"||A.test(U[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(ge)||ge==="!"&&this.input.charAt(K+1)==="=")}y+=D[0].length,F.lastIndex=y,y+=F.exec(this.input)[0].length,this.input[y]===";"&&y++}},Xe.eat=function(y){return this.type===y?(this.next(),!0):!1},Xe.isContextual=function(y){return this.type===v.name&&this.value===y&&!this.containsEsc},Xe.eatContextual=function(y){return this.isContextual(y)?(this.next(),!0):!1},Xe.expectContextual=function(y){this.eatContextual(y)||this.unexpected()},Xe.canInsertSemicolon=function(){return this.type===v.eof||this.type===v.braceR||A.test(this.input.slice(this.lastTokEnd,this.start))},Xe.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Xe.semicolon=function(){!this.eat(v.semi)&&!this.insertSemicolon()&&this.unexpected()},Xe.afterTrailingComma=function(y,D){if(this.type===y)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),D||this.next(),!0},Xe.expect=function(y){this.eat(y)||this.unexpected()},Xe.unexpected=function(y){this.raise(y??this.start,"Unexpected token")};var dt=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Xe.checkPatternErrors=function(y,D){if(y){y.trailingComma>-1&&this.raiseRecoverable(y.trailingComma,"Comma is not permitted after the rest element");var U=D?y.parenthesizedAssign:y.parenthesizedBind;U>-1&&this.raiseRecoverable(U,D?"Assigning to rvalue":"Parenthesized pattern")}},Xe.checkExpressionErrors=function(y,D){if(!y)return!1;var U=y.shorthandAssign,K=y.doubleProto;if(!D)return U>=0||K>=0;U>=0&&this.raise(U,"Shorthand property assignments are valid only in destructuring patterns"),K>=0&&this.raiseRecoverable(K,"Redefinition of __proto__ property")},Xe.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")},Xe.isSimpleAssignTarget=function(y){return y.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(y.expression):y.type==="Identifier"||y.type==="MemberExpression"};var at=rt.prototype;at.parseTopLevel=function(y){var D=Object.create(null);for(y.body||(y.body=[]);this.type!==v.eof;){var U=this.parseStatement(null,!0,D);y.body.push(U)}if(this.inModule)for(var K=0,ge=Object.keys(this.undefinedExports);K<ge.length;K+=1){var Ve=ge[K];this.raiseRecoverable(this.undefinedExports[Ve].start,"Export '"+Ve+"' is not defined")}return this.adaptDirectivePrologue(y.body),this.next(),y.sourceType=this.options.sourceType,this.finishNode(y,"Program")};var tt={kind:"loop"},we={kind:"switch"};at.isLet=function(y){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;F.lastIndex=this.pos;var D=F.exec(this.input),U=this.pos+D[0].length,K=this.input.charCodeAt(U);if(K===91||K===92)return!0;if(y)return!1;if(K===123||K>55295&&K<56320)return!0;if(f(K,!0)){for(var ge=U+1;g(K=this.input.charCodeAt(ge),!0);)++ge;if(K===92||K>55295&&K<56320)return!0;var Ve=this.input.slice(U,ge);if(!i.test(Ve))return!0}return!1},at.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;F.lastIndex=this.pos;var y=F.exec(this.input),D=this.pos+y[0].length,U;return!A.test(this.input.slice(this.pos,D))&&this.input.slice(D,D+8)==="function"&&(D+8===this.input.length||!(g(U=this.input.charCodeAt(D+8))||U>55295&&U<56320))},at.isUsingKeyword=function(y,D){if(this.options.ecmaVersion<17||!this.isContextual(y?"await":"using"))return!1;F.lastIndex=this.pos;var U=F.exec(this.input),K=this.pos+U[0].length;if(A.test(this.input.slice(this.pos,K)))return!1;if(y){var ge=K+5,Ve;if(this.input.slice(K,ge)!=="using"||ge===this.input.length||g(Ve=this.input.charCodeAt(ge))||Ve>55295&&Ve<56320)return!1;F.lastIndex=ge;var $e=F.exec(this.input);if($e&&A.test(this.input.slice(ge,ge+$e[0].length)))return!1}if(D){var nt=K+2,ot;if(this.input.slice(K,nt)==="of"&&(nt===this.input.length||!g(ot=this.input.charCodeAt(nt))&&!(ot>55295&&ot<56320)))return!1}var gt=this.input.charCodeAt(K);return f(gt,!0)||gt===92},at.isAwaitUsing=function(y){return this.isUsingKeyword(!0,y)},at.isUsing=function(y){return this.isUsingKeyword(!1,y)},at.parseStatement=function(y,D,U){var K=this.type,ge=this.startNode(),Ve;switch(this.isLet(y)&&(K=v._var,Ve="let"),K){case v._break:case v._continue:return this.parseBreakContinueStatement(ge,K.keyword);case v._debugger:return this.parseDebuggerStatement(ge);case v._do:return this.parseDoStatement(ge);case v._for:return this.parseForStatement(ge);case v._function:return y&&(this.strict||y!=="if"&&y!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(ge,!1,!y);case v._class:return y&&this.unexpected(),this.parseClass(ge,!0);case v._if:return this.parseIfStatement(ge);case v._return:return this.parseReturnStatement(ge);case v._switch:return this.parseSwitchStatement(ge);case v._throw:return this.parseThrowStatement(ge);case v._try:return this.parseTryStatement(ge);case v._const:case v._var:return Ve=Ve||this.value,y&&Ve!=="var"&&this.unexpected(),this.parseVarStatement(ge,Ve);case v._while:return this.parseWhileStatement(ge);case v._with:return this.parseWithStatement(ge);case v.braceL:return this.parseBlock(!0,ge);case v.semi:return this.parseEmptyStatement(ge);case v._export:case v._import:if(this.options.ecmaVersion>10&&K===v._import){F.lastIndex=this.pos;var $e=F.exec(this.input),nt=this.pos+$e[0].length,ot=this.input.charCodeAt(nt);if(ot===40||ot===46)return this.parseExpressionStatement(ge,this.parseExpression())}return this.options.allowImportExportEverywhere||(D||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'")),K===v._import?this.parseImport(ge):this.parseExport(ge,U);default:if(this.isAsyncFunction())return y&&this.unexpected(),this.next(),this.parseFunctionStatement(ge,!0,!y);var gt=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(gt)return D&&this.options.sourceType==="script"&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),gt==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(ge,!1,gt),this.semicolon(),this.finishNode(ge,"VariableDeclaration");var Et=this.value,At=this.parseExpression();return K===v.name&&At.type==="Identifier"&&this.eat(v.colon)?this.parseLabeledStatement(ge,Et,At,y):this.parseExpressionStatement(ge,At)}},at.parseBreakContinueStatement=function(y,D){var U=D==="break";this.next(),this.eat(v.semi)||this.insertSemicolon()?y.label=null:this.type!==v.name?this.unexpected():(y.label=this.parseIdent(),this.semicolon());for(var K=0;K<this.labels.length;++K){var ge=this.labels[K];if((y.label==null||ge.name===y.label.name)&&(ge.kind!=null&&(U||ge.kind==="loop")||y.label&&U))break}return K===this.labels.length&&this.raise(y.start,"Unsyntactic "+D),this.finishNode(y,U?"BreakStatement":"ContinueStatement")},at.parseDebuggerStatement=function(y){return this.next(),this.semicolon(),this.finishNode(y,"DebuggerStatement")},at.parseDoStatement=function(y){return this.next(),this.labels.push(tt),y.body=this.parseStatement("do"),this.labels.pop(),this.expect(v._while),y.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(v.semi):this.semicolon(),this.finishNode(y,"DoWhileStatement")},at.parseForStatement=function(y){this.next();var D=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(tt),this.enterScope(0),this.expect(v.parenL),this.type===v.semi)return D>-1&&this.unexpected(D),this.parseFor(y,null);var U=this.isLet();if(this.type===v._var||this.type===v._const||U){var K=this.startNode(),ge=U?"let":this.value;return this.next(),this.parseVar(K,!0,ge),this.finishNode(K,"VariableDeclaration"),this.parseForAfterInit(y,K,D)}var Ve=this.isContextual("let"),$e=!1,nt=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(nt){var ot=this.startNode();return this.next(),nt==="await using"&&this.next(),this.parseVar(ot,!0,nt),this.finishNode(ot,"VariableDeclaration"),this.parseForAfterInit(y,ot,D)}var gt=this.containsEsc,Et=new dt,At=this.start,Ut=D>-1?this.parseExprSubscripts(Et,"await"):this.parseExpression(!0,Et);return this.type===v._in||($e=this.options.ecmaVersion>=6&&this.isContextual("of"))?(D>-1?(this.type===v._in&&this.unexpected(D),y.await=!0):$e&&this.options.ecmaVersion>=8&&(Ut.start===At&&!gt&&Ut.type==="Identifier"&&Ut.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(y.await=!1)),Ve&&$e&&this.raise(Ut.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(Ut,!1,Et),this.checkLValPattern(Ut),this.parseForIn(y,Ut)):(this.checkExpressionErrors(Et,!0),D>-1&&this.unexpected(D),this.parseFor(y,Ut))},at.parseForAfterInit=function(y,D,U){return(this.type===v._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&D.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===v._in?U>-1&&this.unexpected(U):y.await=U>-1),this.parseForIn(y,D)):(U>-1&&this.unexpected(U),this.parseFor(y,D))},at.parseFunctionStatement=function(y,D,U){return this.next(),this.parseFunction(y,Se|(U?0:ve),!1,D)},at.parseIfStatement=function(y){return this.next(),y.test=this.parseParenExpression(),y.consequent=this.parseStatement("if"),y.alternate=this.eat(v._else)?this.parseStatement("if"):null,this.finishNode(y,"IfStatement")},at.parseReturnStatement=function(y){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(v.semi)||this.insertSemicolon()?y.argument=null:(y.argument=this.parseExpression(),this.semicolon()),this.finishNode(y,"ReturnStatement")},at.parseSwitchStatement=function(y){this.next(),y.discriminant=this.parseParenExpression(),y.cases=[],this.expect(v.braceL),this.labels.push(we),this.enterScope(0);for(var D,U=!1;this.type!==v.braceR;)if(this.type===v._case||this.type===v._default){var K=this.type===v._case;D&&this.finishNode(D,"SwitchCase"),y.cases.push(D=this.startNode()),D.consequent=[],this.next(),K?D.test=this.parseExpression():(U&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),U=!0,D.test=null),this.expect(v.colon)}else D||this.unexpected(),D.consequent.push(this.parseStatement(null));return this.exitScope(),D&&this.finishNode(D,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(y,"SwitchStatement")},at.parseThrowStatement=function(y){return this.next(),A.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 Ee=[];at.parseCatchClauseParam=function(){var y=this.parseBindingAtom(),D=y.type==="Identifier";return this.enterScope(D?xe:0),this.checkLValPattern(y,D?Qe:Be),this.expect(v.parenR),y},at.parseTryStatement=function(y){if(this.next(),y.block=this.parseBlock(),y.handler=null,this.type===v._catch){var D=this.startNode();this.next(),this.eat(v.parenL)?D.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),D.param=null,this.enterScope(0)),D.body=this.parseBlock(!1),this.exitScope(),y.handler=this.finishNode(D,"CatchClause")}return y.finalizer=this.eat(v._finally)?this.parseBlock():null,!y.handler&&!y.finalizer&&this.raise(y.start,"Missing catch or finally clause"),this.finishNode(y,"TryStatement")},at.parseVarStatement=function(y,D,U){return this.next(),this.parseVar(y,!1,D,U),this.semicolon(),this.finishNode(y,"VariableDeclaration")},at.parseWhileStatement=function(y){return this.next(),y.test=this.parseParenExpression(),this.labels.push(tt),y.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(y,"WhileStatement")},at.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")},at.parseEmptyStatement=function(y){return this.next(),this.finishNode(y,"EmptyStatement")},at.parseLabeledStatement=function(y,D,U,K){for(var ge=0,Ve=this.labels;ge<Ve.length;ge+=1){var $e=Ve[ge];$e.name===D&&this.raise(U.start,"Label '"+D+"' is already declared")}for(var nt=this.type.isLoop?"loop":this.type===v._switch?"switch":null,ot=this.labels.length-1;ot>=0;ot--){var gt=this.labels[ot];if(gt.statementStart===y.start)gt.statementStart=this.start,gt.kind=nt;else break}return this.labels.push({name:D,kind:nt,statementStart:this.start}),y.body=this.parseStatement(K?K.indexOf("label")===-1?K+"label":K:"label"),this.labels.pop(),y.label=U,this.finishNode(y,"LabeledStatement")},at.parseExpressionStatement=function(y,D){return y.expression=D,this.semicolon(),this.finishNode(y,"ExpressionStatement")},at.parseBlock=function(y,D,U){for(y===void 0&&(y=!0),D===void 0&&(D=this.startNode()),D.body=[],this.expect(v.braceL),y&&this.enterScope(0);this.type!==v.braceR;){var K=this.parseStatement(null);D.body.push(K)}return U&&(this.strict=!1),this.next(),y&&this.exitScope(),this.finishNode(D,"BlockStatement")},at.parseFor=function(y,D){return y.init=D,this.expect(v.semi),y.test=this.type===v.semi?null:this.parseExpression(),this.expect(v.semi),y.update=this.type===v.parenR?null:this.parseExpression(),this.expect(v.parenR),y.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(y,"ForStatement")},at.parseForIn=function(y,D){var U=this.type===v._in;return this.next(),D.type==="VariableDeclaration"&&D.declarations[0].init!=null&&(!U||this.options.ecmaVersion<8||this.strict||D.kind!=="var"||D.declarations[0].id.type!=="Identifier")&&this.raise(D.start,(U?"for-in":"for-of")+" loop variable declaration may not have an initializer"),y.left=D,y.right=U?this.parseExpression():this.parseMaybeAssign(),this.expect(v.parenR),y.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(y,U?"ForInStatement":"ForOfStatement")},at.parseVar=function(y,D,U,K){for(y.declarations=[],y.kind=U;;){var ge=this.startNode();if(this.parseVarId(ge,U),this.eat(v.eq)?ge.init=this.parseMaybeAssign(D):!K&&U==="const"&&!(this.type===v._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!K&&(U==="using"||U==="await using")&&this.options.ecmaVersion>=17&&this.type!==v._in&&!this.isContextual("of")?this.raise(this.lastTokEnd,"Missing initializer in "+U+" declaration"):!K&&ge.id.type!=="Identifier"&&!(D&&(this.type===v._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):ge.init=null,y.declarations.push(this.finishNode(ge,"VariableDeclarator")),!this.eat(v.comma))break}return y},at.parseVarId=function(y,D){y.id=D==="using"||D==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(y.id,D==="var"?Ne:Be,!1)};var Se=1,ve=2,Pe=4;at.parseFunction=function(y,D,U,K,ge){this.initFunction(y),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!K)&&(this.type===v.star&&D&ve&&this.unexpected(),y.generator=this.eat(v.star)),this.options.ecmaVersion>=8&&(y.async=!!K),D&Se&&(y.id=D&Pe&&this.type!==v.name?null:this.parseIdent(),y.id&&!(D&ve)&&this.checkLValSimple(y.id,this.strict||y.generator||y.async?this.treatFunctionsAsVar?Ne:Be:j));var Ve=this.yieldPos,$e=this.awaitPos,nt=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(ae(y.async,y.generator)),D&Se||(y.id=this.type===v.name?this.parseIdent():null),this.parseFunctionParams(y),this.parseFunctionBody(y,U,!1,ge),this.yieldPos=Ve,this.awaitPos=$e,this.awaitIdentPos=nt,this.finishNode(y,D&Se?"FunctionDeclaration":"FunctionExpression")},at.parseFunctionParams=function(y){this.expect(v.parenL),y.params=this.parseBindingList(v.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},at.parseClass=function(y,D){this.next();var U=this.strict;this.strict=!0,this.parseClassId(y,D),this.parseClassSuper(y);var K=this.enterClassBody(),ge=this.startNode(),Ve=!1;for(ge.body=[],this.expect(v.braceL);this.type!==v.braceR;){var $e=this.parseClassElement(y.superClass!==null);$e&&(ge.body.push($e),$e.type==="MethodDefinition"&&$e.kind==="constructor"?(Ve&&this.raiseRecoverable($e.start,"Duplicate constructor in the same class"),Ve=!0):$e.key&&$e.key.type==="PrivateIdentifier"&&ee(K,$e)&&this.raiseRecoverable($e.key.start,"Identifier '#"+$e.key.name+"' has already been declared"))}return this.strict=U,this.next(),y.body=this.finishNode(ge,"ClassBody"),this.exitClassBody(),this.finishNode(y,D?"ClassDeclaration":"ClassExpression")},at.parseClassElement=function(y){if(this.eat(v.semi))return null;var D=this.options.ecmaVersion,U=this.startNode(),K="",ge=!1,Ve=!1,$e="method",nt=!1;if(this.eatContextual("static")){if(D>=13&&this.eat(v.braceL))return this.parseClassStaticBlock(U),U;this.isClassElementNameStart()||this.type===v.star?nt=!0:K="static"}if(U.static=nt,!K&&D>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===v.star)&&!this.canInsertSemicolon()?Ve=!0:K="async"),!K&&(D>=9||!Ve)&&this.eat(v.star)&&(ge=!0),!K&&!Ve&&!ge){var ot=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?$e=ot:K=ot)}if(K?(U.computed=!1,U.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),U.key.name=K,this.finishNode(U.key,"Identifier")):this.parseClassElementName(U),D<13||this.type===v.parenL||$e!=="method"||ge||Ve){var gt=!U.static&&te(U,"constructor"),Et=gt&&y;gt&&$e!=="method"&&this.raise(U.key.start,"Constructor can't have get/set modifier"),U.kind=gt?"constructor":$e,this.parseClassMethod(U,ge,Ve,Et)}else this.parseClassField(U);return U},at.isClassElementNameStart=function(){return this.type===v.name||this.type===v.privateId||this.type===v.num||this.type===v.string||this.type===v.bracketL||this.type.keyword},at.parseClassElementName=function(y){this.type===v.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)},at.parseClassMethod=function(y,D,U,K){var ge=y.key;y.kind==="constructor"?(D&&this.raise(ge.start,"Constructor can't be a generator"),U&&this.raise(ge.start,"Constructor can't be an async method")):y.static&&te(y,"prototype")&&this.raise(ge.start,"Classes may not have a static property named prototype");var Ve=y.value=this.parseMethod(D,U,K);return y.kind==="get"&&Ve.params.length!==0&&this.raiseRecoverable(Ve.start,"getter should have no params"),y.kind==="set"&&Ve.params.length!==1&&this.raiseRecoverable(Ve.start,"setter should have exactly one param"),y.kind==="set"&&Ve.params[0].type==="RestElement"&&this.raiseRecoverable(Ve.params[0].start,"Setter cannot use rest params"),this.finishNode(y,"MethodDefinition")},at.parseClassField=function(y){return te(y,"constructor")?this.raise(y.key.start,"Classes can't have a field named 'constructor'"):y.static&&te(y,"prototype")&&this.raise(y.key.start,"Classes can't have a static field named 'prototype'"),this.eat(v.eq)?(this.enterScope(ke|Te),y.value=this.parseMaybeAssign(),this.exitScope()):y.value=null,this.semicolon(),this.finishNode(y,"PropertyDefinition")},at.parseClassStaticBlock=function(y){y.body=[];var D=this.labels;for(this.labels=[],this.enterScope(Q|Te);this.type!==v.braceR;){var U=this.parseStatement(null);y.body.push(U)}return this.next(),this.exitScope(),this.labels=D,this.finishNode(y,"StaticBlock")},at.parseClassId=function(y,D){this.type===v.name?(y.id=this.parseIdent(),D&&this.checkLValSimple(y.id,Be,!1)):(D===!0&&this.unexpected(),y.id=null)},at.parseClassSuper=function(y){y.superClass=this.eat(v._extends)?this.parseExprSubscripts(null,!1):null},at.enterClassBody=function(){var y={declared:Object.create(null),used:[]};return this.privateNameStack.push(y),y.declared},at.exitClassBody=function(){var y=this.privateNameStack.pop(),D=y.declared,U=y.used;if(this.options.checkPrivateFields)for(var K=this.privateNameStack.length,ge=K===0?null:this.privateNameStack[K-1],Ve=0;Ve<U.length;++Ve){var $e=U[Ve];q(D,$e.name)||(ge?ge.used.push($e):this.raiseRecoverable($e.start,"Private field '#"+$e.name+"' must be declared in an enclosing class"))}};function ee(y,D){var U=D.key.name,K=y[U],ge="true";return D.type==="MethodDefinition"&&(D.kind==="get"||D.kind==="set")&&(ge=(D.static?"s":"i")+D.kind),K==="iget"&&ge==="iset"||K==="iset"&&ge==="iget"||K==="sget"&&ge==="sset"||K==="sset"&&ge==="sget"?(y[U]="true",!1):K?!0:(y[U]=ge,!1)}function te(y,D){var U=y.computed,K=y.key;return!U&&(K.type==="Identifier"&&K.name===D||K.type==="Literal"&&K.value===D)}at.parseExportAllDeclaration=function(y,D){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(y.exported=this.parseModuleExportName(),this.checkExport(D,y.exported,this.lastTokStart)):y.exported=null),this.expectContextual("from"),this.type!==v.string&&this.unexpected(),y.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(y.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(y,"ExportAllDeclaration")},at.parseExport=function(y,D){if(this.next(),this.eat(v.star))return this.parseExportAllDeclaration(y,D);if(this.eat(v._default))return this.checkExport(D,"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(D,y.declaration.declarations):this.checkExport(D,y.declaration.id,y.declaration.id.start),y.specifiers=[],y.source=null,this.options.ecmaVersion>=16&&(y.attributes=[]);else{if(y.declaration=null,y.specifiers=this.parseExportSpecifiers(D),this.eatContextual("from"))this.type!==v.string&&this.unexpected(),y.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(y.attributes=this.parseWithClause());else{for(var U=0,K=y.specifiers;U<K.length;U+=1){var ge=K[U];this.checkUnreserved(ge.local),this.checkLocalExport(ge.local),ge.local.type==="Literal"&&this.raise(ge.local.start,"A string literal cannot be used as an exported binding without `from`.")}y.source=null,this.options.ecmaVersion>=16&&(y.attributes=[])}this.semicolon()}return this.finishNode(y,"ExportNamedDeclaration")},at.parseExportDeclaration=function(y){return this.parseStatement(null)},at.parseExportDefaultDeclaration=function(){var y;if(this.type===v._function||(y=this.isAsyncFunction())){var D=this.startNode();return this.next(),y&&this.next(),this.parseFunction(D,Se|Pe,!1,y)}else if(this.type===v._class){var U=this.startNode();return this.parseClass(U,"nullableID")}else{var K=this.parseMaybeAssign();return this.semicolon(),K}},at.checkExport=function(y,D,U){y&&(typeof D!="string"&&(D=D.type==="Identifier"?D.name:D.value),q(y,D)&&this.raiseRecoverable(U,"Duplicate export '"+D+"'"),y[D]=!0)},at.checkPatternExport=function(y,D){var U=D.type;if(U==="Identifier")this.checkExport(y,D,D.start);else if(U==="ObjectPattern")for(var K=0,ge=D.properties;K<ge.length;K+=1){var Ve=ge[K];this.checkPatternExport(y,Ve)}else if(U==="ArrayPattern")for(var $e=0,nt=D.elements;$e<nt.length;$e+=1){var ot=nt[$e];ot&&this.checkPatternExport(y,ot)}else U==="Property"?this.checkPatternExport(y,D.value):U==="AssignmentPattern"?this.checkPatternExport(y,D.left):U==="RestElement"&&this.checkPatternExport(y,D.argument)},at.checkVariableExport=function(y,D){if(y)for(var U=0,K=D;U<K.length;U+=1){var ge=K[U];this.checkPatternExport(y,ge.id)}},at.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},at.parseExportSpecifier=function(y){var D=this.startNode();return D.local=this.parseModuleExportName(),D.exported=this.eatContextual("as")?this.parseModuleExportName():D.local,this.checkExport(y,D.exported,D.exported.start),this.finishNode(D,"ExportSpecifier")},at.parseExportSpecifiers=function(y){var D=[],U=!0;for(this.expect(v.braceL);!this.eat(v.braceR);){if(U)U=!1;else if(this.expect(v.comma),this.afterTrailingComma(v.braceR))break;D.push(this.parseExportSpecifier(y))}return D},at.parseImport=function(y){return this.next(),this.type===v.string?(y.specifiers=Ee,y.source=this.parseExprAtom()):(y.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),y.source=this.type===v.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(y.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(y,"ImportDeclaration")},at.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,Be),this.finishNode(y,"ImportSpecifier")},at.parseImportDefaultSpecifier=function(){var y=this.startNode();return y.local=this.parseIdent(),this.checkLValSimple(y.local,Be),this.finishNode(y,"ImportDefaultSpecifier")},at.parseImportNamespaceSpecifier=function(){var y=this.startNode();return this.next(),this.expectContextual("as"),y.local=this.parseIdent(),this.checkLValSimple(y.local,Be),this.finishNode(y,"ImportNamespaceSpecifier")},at.parseImportSpecifiers=function(){var y=[],D=!0;if(this.type===v.name&&(y.push(this.parseImportDefaultSpecifier()),!this.eat(v.comma)))return y;if(this.type===v.star)return y.push(this.parseImportNamespaceSpecifier()),y;for(this.expect(v.braceL);!this.eat(v.braceR);){if(D)D=!1;else if(this.expect(v.comma),this.afterTrailingComma(v.braceR))break;y.push(this.parseImportSpecifier())}return y},at.parseWithClause=function(){var y=[];if(!this.eat(v._with))return y;this.expect(v.braceL);for(var D={},U=!0;!this.eat(v.braceR);){if(U)U=!1;else if(this.expect(v.comma),this.afterTrailingComma(v.braceR))break;var K=this.parseImportAttribute(),ge=K.key.type==="Identifier"?K.key.name:K.key.value;q(D,ge)&&this.raiseRecoverable(K.key.start,"Duplicate attribute key '"+ge+"'"),D[ge]=!0,y.push(K)}return y},at.parseImportAttribute=function(){var y=this.startNode();return y.key=this.type===v.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(v.colon),this.type!==v.string&&this.unexpected(),y.value=this.parseExprAtom(),this.finishNode(y,"ImportAttribute")},at.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===v.string){var y=this.parseLiteral(this.value);return z.test(y.value)&&this.raise(y.start,"An export name cannot include a lone surrogate."),y}return this.parseIdent(!0)},at.adaptDirectivePrologue=function(y){for(var D=0;D<y.length&&this.isDirectiveCandidate(y[D]);++D)y[D].directive=y[D].expression.raw.slice(1,-1)},at.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 Z=rt.prototype;Z.toAssignable=function(y,D,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 K=0,ge=y.properties;K<ge.length;K+=1){var Ve=ge[K];this.toAssignable(Ve,D),Ve.type==="RestElement"&&(Ve.argument.type==="ArrayPattern"||Ve.argument.type==="ObjectPattern")&&this.raise(Ve.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,D);break;case"ArrayExpression":y.type="ArrayPattern",U&&this.checkPatternErrors(U,!0),this.toAssignableList(y.elements,D);break;case"SpreadElement":y.type="RestElement",this.toAssignable(y.argument,D),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,D);break;case"ParenthesizedExpression":this.toAssignable(y.expression,D,U);break;case"ChainExpression":this.raiseRecoverable(y.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!D)break;default:this.raise(y.start,"Assigning to rvalue")}else U&&this.checkPatternErrors(U,!0);return y},Z.toAssignableList=function(y,D){for(var U=y.length,K=0;K<U;K++){var ge=y[K];ge&&this.toAssignable(ge,D)}if(U){var Ve=y[U-1];this.options.ecmaVersion===6&&D&&Ve&&Ve.type==="RestElement"&&Ve.argument.type!=="Identifier"&&this.unexpected(Ve.argument.start)}return y},Z.parseSpread=function(y){var D=this.startNode();return this.next(),D.argument=this.parseMaybeAssign(!1,y),this.finishNode(D,"SpreadElement")},Z.parseRestBinding=function(){var y=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==v.name&&this.unexpected(),y.argument=this.parseBindingAtom(),this.finishNode(y,"RestElement")},Z.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case v.bracketL:var y=this.startNode();return this.next(),y.elements=this.parseBindingList(v.bracketR,!0,!0),this.finishNode(y,"ArrayPattern");case v.braceL:return this.parseObj(!0)}return this.parseIdent()},Z.parseBindingList=function(y,D,U,K){for(var ge=[],Ve=!0;!this.eat(y);)if(Ve?Ve=!1:this.expect(v.comma),D&&this.type===v.comma)ge.push(null);else{if(U&&this.afterTrailingComma(y))break;if(this.type===v.ellipsis){var $e=this.parseRestBinding();this.parseBindingListItem($e),ge.push($e),this.type===v.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(y);break}else ge.push(this.parseAssignableListItem(K))}return ge},Z.parseAssignableListItem=function(y){var D=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(D),D},Z.parseBindingListItem=function(y){return y},Z.parseMaybeDefault=function(y,D,U){if(U=U||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(v.eq))return U;var K=this.startNodeAt(y,D);return K.left=U,K.right=this.parseMaybeAssign(),this.finishNode(K,"AssignmentPattern")},Z.checkLValSimple=function(y,D,U){D===void 0&&(D=Ie);var K=D!==Ie;switch(y.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(y.name)&&this.raiseRecoverable(y.start,(K?"Binding ":"Assigning to ")+y.name+" in strict mode"),K&&(D===Be&&y.name==="let"&&this.raiseRecoverable(y.start,"let is disallowed as a lexically bound name"),U&&(q(U,y.name)&&this.raiseRecoverable(y.start,"Argument name clash"),U[y.name]=!0),D!==ut&&this.declareName(y.name,D,y.start));break;case"ChainExpression":this.raiseRecoverable(y.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":K&&this.raiseRecoverable(y.start,"Binding member expression");break;case"ParenthesizedExpression":return K&&this.raiseRecoverable(y.start,"Binding parenthesized expression"),this.checkLValSimple(y.expression,D,U);default:this.raise(y.start,(K?"Binding":"Assigning to")+" rvalue")}},Z.checkLValPattern=function(y,D,U){switch(D===void 0&&(D=Ie),y.type){case"ObjectPattern":for(var K=0,ge=y.properties;K<ge.length;K+=1){var Ve=ge[K];this.checkLValInnerPattern(Ve,D,U)}break;case"ArrayPattern":for(var $e=0,nt=y.elements;$e<nt.length;$e+=1){var ot=nt[$e];ot&&this.checkLValInnerPattern(ot,D,U)}break;default:this.checkLValSimple(y,D,U)}},Z.checkLValInnerPattern=function(y,D,U){switch(D===void 0&&(D=Ie),y.type){case"Property":this.checkLValInnerPattern(y.value,D,U);break;case"AssignmentPattern":this.checkLValPattern(y.left,D,U);break;case"RestElement":this.checkLValPattern(y.argument,D,U);break;default:this.checkLValPattern(y,D,U)}};var fe=function(D,U,K,ge,Ve){this.token=D,this.isExpr=!!U,this.preserveSpace=!!K,this.override=ge,this.generator=!!Ve},De={b_stat:new fe("{",!1),b_expr:new fe("{",!0),b_tmpl:new fe("${",!1),p_stat:new fe("(",!1),p_expr:new fe("(",!0),q_tmpl:new fe("`",!0,!0,function(y){return y.tryReadTemplateToken()}),f_stat:new fe("function",!1),f_expr:new fe("function",!0),f_expr_gen:new fe("function",!0,!1,null,!0),f_gen:new fe("function",!1,!1,null,!0)},Le=rt.prototype;Le.initialContext=function(){return[De.b_stat]},Le.curContext=function(){return this.context[this.context.length-1]},Le.braceIsBlock=function(y){var D=this.curContext();return D===De.f_expr||D===De.f_stat?!0:y===v.colon&&(D===De.b_stat||D===De.b_expr)?!D.isExpr:y===v._return||y===v.name&&this.exprAllowed?A.test(this.input.slice(this.lastTokEnd,this.start)):y===v._else||y===v.semi||y===v.eof||y===v.parenR||y===v.arrow?!0:y===v.braceL?D===De.b_stat:y===v._var||y===v._const||y===v.name?!1:!this.exprAllowed},Le.inGeneratorContext=function(){for(var y=this.context.length-1;y>=1;y--){var D=this.context[y];if(D.token==="function")return D.generator}return!1},Le.updateContext=function(y){var D,U=this.type;U.keyword&&y===v.dot?this.exprAllowed=!1:(D=U.updateContext)?D.call(this,y):this.exprAllowed=U.beforeExpr},Le.overrideContext=function(y){this.curContext()!==y&&(this.context[this.context.length-1]=y)},v.parenR.updateContext=v.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var y=this.context.pop();y===De.b_stat&&this.curContext().token==="function"&&(y=this.context.pop()),this.exprAllowed=!y.isExpr},v.braceL.updateContext=function(y){this.context.push(this.braceIsBlock(y)?De.b_stat:De.b_expr),this.exprAllowed=!0},v.dollarBraceL.updateContext=function(){this.context.push(De.b_tmpl),this.exprAllowed=!0},v.parenL.updateContext=function(y){var D=y===v._if||y===v._for||y===v._with||y===v._while;this.context.push(D?De.p_stat:De.p_expr),this.exprAllowed=!0},v.incDec.updateContext=function(){},v._function.updateContext=v._class.updateContext=function(y){y.beforeExpr&&y!==v._else&&!(y===v.semi&&this.curContext()!==De.p_stat)&&!(y===v._return&&A.test(this.input.slice(this.lastTokEnd,this.start)))&&!((y===v.colon||y===v.braceL)&&this.curContext()===De.b_stat)?this.context.push(De.f_expr):this.context.push(De.f_stat),this.exprAllowed=!1},v.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},v.backQuote.updateContext=function(){this.curContext()===De.q_tmpl?this.context.pop():this.context.push(De.q_tmpl),this.exprAllowed=!1},v.star.updateContext=function(y){if(y===v._function){var D=this.context.length-1;this.context[D]===De.f_expr?this.context[D]=De.f_expr_gen:this.context[D]=De.f_gen}this.exprAllowed=!0},v.name.updateContext=function(y){var D=!1;this.options.ecmaVersion>=6&&y!==v.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(D=!0),this.exprAllowed=D};var me=rt.prototype;me.checkPropClash=function(y,D,U){if(!(this.options.ecmaVersion>=9&&y.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(y.computed||y.method||y.shorthand))){var K=y.key,ge;switch(K.type){case"Identifier":ge=K.name;break;case"Literal":ge=String(K.value);break;default:return}var Ve=y.kind;if(this.options.ecmaVersion>=6){ge==="__proto__"&&Ve==="init"&&(D.proto&&(U?U.doubleProto<0&&(U.doubleProto=K.start):this.raiseRecoverable(K.start,"Redefinition of __proto__ property")),D.proto=!0);return}ge="$"+ge;var $e=D[ge];if($e){var nt;Ve==="init"?nt=this.strict&&$e.init||$e.get||$e.set:nt=$e.init||$e[Ve],nt&&this.raiseRecoverable(K.start,"Redefinition of property")}else $e=D[ge]={init:!1,get:!1,set:!1};$e[Ve]=!0}},me.parseExpression=function(y,D){var U=this.start,K=this.startLoc,ge=this.parseMaybeAssign(y,D);if(this.type===v.comma){var Ve=this.startNodeAt(U,K);for(Ve.expressions=[ge];this.eat(v.comma);)Ve.expressions.push(this.parseMaybeAssign(y,D));return this.finishNode(Ve,"SequenceExpression")}return ge},me.parseMaybeAssign=function(y,D,U){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(y);this.exprAllowed=!1}var K=!1,ge=-1,Ve=-1,$e=-1;D?(ge=D.parenthesizedAssign,Ve=D.trailingComma,$e=D.doubleProto,D.parenthesizedAssign=D.trailingComma=-1):(D=new dt,K=!0);var nt=this.start,ot=this.startLoc;(this.type===v.parenL||this.type===v.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=y==="await");var gt=this.parseMaybeConditional(y,D);if(U&&(gt=U.call(this,gt,nt,ot)),this.type.isAssign){var Et=this.startNodeAt(nt,ot);return Et.operator=this.value,this.type===v.eq&&(gt=this.toAssignable(gt,!1,D)),K||(D.parenthesizedAssign=D.trailingComma=D.doubleProto=-1),D.shorthandAssign>=gt.start&&(D.shorthandAssign=-1),this.type===v.eq?this.checkLValPattern(gt):this.checkLValSimple(gt),Et.left=gt,this.next(),Et.right=this.parseMaybeAssign(y),$e>-1&&(D.doubleProto=$e),this.finishNode(Et,"AssignmentExpression")}else K&&this.checkExpressionErrors(D,!0);return ge>-1&&(D.parenthesizedAssign=ge),Ve>-1&&(D.trailingComma=Ve),gt},me.parseMaybeConditional=function(y,D){var U=this.start,K=this.startLoc,ge=this.parseExprOps(y,D);if(this.checkExpressionErrors(D))return ge;if(this.eat(v.question)){var Ve=this.startNodeAt(U,K);return Ve.test=ge,Ve.consequent=this.parseMaybeAssign(),this.expect(v.colon),Ve.alternate=this.parseMaybeAssign(y),this.finishNode(Ve,"ConditionalExpression")}return ge},me.parseExprOps=function(y,D){var U=this.start,K=this.startLoc,ge=this.parseMaybeUnary(D,!1,!1,y);return this.checkExpressionErrors(D)||ge.start===U&&ge.type==="ArrowFunctionExpression"?ge:this.parseExprOp(ge,U,K,-1,y)},me.parseExprOp=function(y,D,U,K,ge){var Ve=this.type.binop;if(Ve!=null&&(!ge||this.type!==v._in)&&Ve>K){var $e=this.type===v.logicalOR||this.type===v.logicalAND,nt=this.type===v.coalesce;nt&&(Ve=v.logicalAND.binop);var ot=this.value;this.next();var gt=this.start,Et=this.startLoc,At=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,ge),gt,Et,Ve,ge),Ut=this.buildBinary(D,U,y,At,ot,$e||nt);return($e&&this.type===v.coalesce||nt&&(this.type===v.logicalOR||this.type===v.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(Ut,D,U,K,ge)}return y},me.buildBinary=function(y,D,U,K,ge,Ve){K.type==="PrivateIdentifier"&&this.raise(K.start,"Private identifier can only be left side of binary expression");var $e=this.startNodeAt(y,D);return $e.left=U,$e.operator=ge,$e.right=K,this.finishNode($e,Ve?"LogicalExpression":"BinaryExpression")},me.parseMaybeUnary=function(y,D,U,K){var ge=this.start,Ve=this.startLoc,$e;if(this.isContextual("await")&&this.canAwait)$e=this.parseAwait(K),D=!0;else if(this.type.prefix){var nt=this.startNode(),ot=this.type===v.incDec;nt.operator=this.value,nt.prefix=!0,this.next(),nt.argument=this.parseMaybeUnary(null,!0,ot,K),this.checkExpressionErrors(y,!0),ot?this.checkLValSimple(nt.argument):this.strict&&nt.operator==="delete"&&V(nt.argument)?this.raiseRecoverable(nt.start,"Deleting local variable in strict mode"):nt.operator==="delete"&&ne(nt.argument)?this.raiseRecoverable(nt.start,"Private fields can not be deleted"):D=!0,$e=this.finishNode(nt,ot?"UpdateExpression":"UnaryExpression")}else if(!D&&this.type===v.privateId)(K||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),$e=this.parsePrivateIdent(),this.type!==v._in&&this.unexpected();else{if($e=this.parseExprSubscripts(y,K),this.checkExpressionErrors(y))return $e;for(;this.type.postfix&&!this.canInsertSemicolon();){var gt=this.startNodeAt(ge,Ve);gt.operator=this.value,gt.prefix=!1,gt.argument=$e,this.checkLValSimple($e),this.next(),$e=this.finishNode(gt,"UpdateExpression")}}if(!U&&this.eat(v.starstar))if(D)this.unexpected(this.lastTokStart);else return this.buildBinary(ge,Ve,$e,this.parseMaybeUnary(null,!1,!1,K),"**",!1);else return $e};function V(y){return y.type==="Identifier"||y.type==="ParenthesizedExpression"&&V(y.expression)}function ne(y){return y.type==="MemberExpression"&&y.property.type==="PrivateIdentifier"||y.type==="ChainExpression"&&ne(y.expression)||y.type==="ParenthesizedExpression"&&ne(y.expression)}me.parseExprSubscripts=function(y,D){var U=this.start,K=this.startLoc,ge=this.parseExprAtom(y,D);if(ge.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return ge;var Ve=this.parseSubscripts(ge,U,K,!1,D);return y&&Ve.type==="MemberExpression"&&(y.parenthesizedAssign>=Ve.start&&(y.parenthesizedAssign=-1),y.parenthesizedBind>=Ve.start&&(y.parenthesizedBind=-1),y.trailingComma>=Ve.start&&(y.trailingComma=-1)),Ve},me.parseSubscripts=function(y,D,U,K,ge){for(var Ve=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,$e=!1;;){var nt=this.parseSubscript(y,D,U,K,Ve,$e,ge);if(nt.optional&&($e=!0),nt===y||nt.type==="ArrowFunctionExpression"){if($e){var ot=this.startNodeAt(D,U);ot.expression=nt,nt=this.finishNode(ot,"ChainExpression")}return nt}y=nt}},me.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(v.arrow)},me.parseSubscriptAsyncArrow=function(y,D,U,K){return this.parseArrowExpression(this.startNodeAt(y,D),U,!0,K)},me.parseSubscript=function(y,D,U,K,ge,Ve,$e){var nt=this.options.ecmaVersion>=11,ot=nt&&this.eat(v.questionDot);K&&ot&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var gt=this.eat(v.bracketL);if(gt||ot&&this.type!==v.parenL&&this.type!==v.backQuote||this.eat(v.dot)){var Et=this.startNodeAt(D,U);Et.object=y,gt?(Et.property=this.parseExpression(),this.expect(v.bracketR)):this.type===v.privateId&&y.type!=="Super"?Et.property=this.parsePrivateIdent():Et.property=this.parseIdent(this.options.allowReserved!=="never"),Et.computed=!!gt,nt&&(Et.optional=ot),y=this.finishNode(Et,"MemberExpression")}else if(!K&&this.eat(v.parenL)){var At=new dt,Ut=this.yieldPos,Ae=this.awaitPos,Me=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var He=this.parseExprList(v.parenR,this.options.ecmaVersion>=8,!1,At);if(ge&&!ot&&this.shouldParseAsyncArrow())return this.checkPatternErrors(At,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=Ut,this.awaitPos=Ae,this.awaitIdentPos=Me,this.parseSubscriptAsyncArrow(D,U,He,$e);this.checkExpressionErrors(At,!0),this.yieldPos=Ut||this.yieldPos,this.awaitPos=Ae||this.awaitPos,this.awaitIdentPos=Me||this.awaitIdentPos;var ft=this.startNodeAt(D,U);ft.callee=y,ft.arguments=He,nt&&(ft.optional=ot),y=this.finishNode(ft,"CallExpression")}else if(this.type===v.backQuote){(ot||Ve)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var St=this.startNodeAt(D,U);St.tag=y,St.quasi=this.parseTemplate({isTagged:!0}),y=this.finishNode(St,"TaggedTemplateExpression")}return y},me.parseExprAtom=function(y,D,U){this.type===v.slash&&this.readRegexp();var K,ge=this.potentialArrowAt===this.start;switch(this.type){case v._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),K=this.startNode(),this.next(),this.type===v.parenL&&!this.allowDirectSuper&&this.raise(K.start,"super() call outside constructor of a subclass"),this.type!==v.dot&&this.type!==v.bracketL&&this.type!==v.parenL&&this.unexpected(),this.finishNode(K,"Super");case v._this:return K=this.startNode(),this.next(),this.finishNode(K,"ThisExpression");case v.name:var Ve=this.start,$e=this.startLoc,nt=this.containsEsc,ot=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!nt&&ot.name==="async"&&!this.canInsertSemicolon()&&this.eat(v._function))return this.overrideContext(De.f_expr),this.parseFunction(this.startNodeAt(Ve,$e),0,!1,!0,D);if(ge&&!this.canInsertSemicolon()){if(this.eat(v.arrow))return this.parseArrowExpression(this.startNodeAt(Ve,$e),[ot],!1,D);if(this.options.ecmaVersion>=8&&ot.name==="async"&&this.type===v.name&&!nt&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return ot=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(v.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(Ve,$e),[ot],!0,D)}return ot;case v.regexp:var gt=this.value;return K=this.parseLiteral(gt.value),K.regex={pattern:gt.pattern,flags:gt.flags},K;case v.num:case v.string:return this.parseLiteral(this.value);case v._null:case v._true:case v._false:return K=this.startNode(),K.value=this.type===v._null?null:this.type===v._true,K.raw=this.type.keyword,this.next(),this.finishNode(K,"Literal");case v.parenL:var Et=this.start,At=this.parseParenAndDistinguishExpression(ge,D);return y&&(y.parenthesizedAssign<0&&!this.isSimpleAssignTarget(At)&&(y.parenthesizedAssign=Et),y.parenthesizedBind<0&&(y.parenthesizedBind=Et)),At;case v.bracketL:return K=this.startNode(),this.next(),K.elements=this.parseExprList(v.bracketR,!0,!0,y),this.finishNode(K,"ArrayExpression");case v.braceL:return this.overrideContext(De.b_expr),this.parseObj(!1,y);case v._function:return K=this.startNode(),this.next(),this.parseFunction(K,0);case v._class:return this.parseClass(this.startNode(),!1);case v._new:return this.parseNew();case v.backQuote:return this.parseTemplate();case v._import:return this.options.ecmaVersion>=11?this.parseExprImport(U):this.unexpected();default:return this.parseExprAtomDefault()}},me.parseExprAtomDefault=function(){this.unexpected()},me.parseExprImport=function(y){var D=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===v.parenL&&!y)return this.parseDynamicImport(D);if(this.type===v.dot){var U=this.startNodeAt(D.start,D.loc&&D.loc.start);return U.name="import",D.meta=this.finishNode(U,"Identifier"),this.parseImportMeta(D)}else this.unexpected()},me.parseDynamicImport=function(y){if(this.next(),y.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(v.parenR)?y.options=null:(this.expect(v.comma),this.afterTrailingComma(v.parenR)?y.options=null:(y.options=this.parseMaybeAssign(),this.eat(v.parenR)||(this.expect(v.comma),this.afterTrailingComma(v.parenR)||this.unexpected())));else if(!this.eat(v.parenR)){var D=this.start;this.eat(v.comma)&&this.eat(v.parenR)?this.raiseRecoverable(D,"Trailing comma is not allowed in import()"):this.unexpected(D)}return this.finishNode(y,"ImportExpression")},me.parseImportMeta=function(y){this.next();var D=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'"),D&&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")},me.parseLiteral=function(y){var D=this.startNode();return D.value=y,D.raw=this.input.slice(this.start,this.end),D.raw.charCodeAt(D.raw.length-1)===110&&(D.bigint=D.value!=null?D.value.toString():D.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(D,"Literal")},me.parseParenExpression=function(){this.expect(v.parenL);var y=this.parseExpression();return this.expect(v.parenR),y},me.shouldParseArrow=function(y){return!this.canInsertSemicolon()},me.parseParenAndDistinguishExpression=function(y,D){var U=this.start,K=this.startLoc,ge,Ve=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var $e=this.start,nt=this.startLoc,ot=[],gt=!0,Et=!1,At=new dt,Ut=this.yieldPos,Ae=this.awaitPos,Me;for(this.yieldPos=0,this.awaitPos=0;this.type!==v.parenR;)if(gt?gt=!1:this.expect(v.comma),Ve&&this.afterTrailingComma(v.parenR,!0)){Et=!0;break}else if(this.type===v.ellipsis){Me=this.start,ot.push(this.parseParenItem(this.parseRestBinding())),this.type===v.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else ot.push(this.parseMaybeAssign(!1,At,this.parseParenItem));var He=this.lastTokEnd,ft=this.lastTokEndLoc;if(this.expect(v.parenR),y&&this.shouldParseArrow(ot)&&this.eat(v.arrow))return this.checkPatternErrors(At,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=Ut,this.awaitPos=Ae,this.parseParenArrowList(U,K,ot,D);(!ot.length||Et)&&this.unexpected(this.lastTokStart),Me&&this.unexpected(Me),this.checkExpressionErrors(At,!0),this.yieldPos=Ut||this.yieldPos,this.awaitPos=Ae||this.awaitPos,ot.length>1?(ge=this.startNodeAt($e,nt),ge.expressions=ot,this.finishNodeAt(ge,"SequenceExpression",He,ft)):ge=ot[0]}else ge=this.parseParenExpression();if(this.options.preserveParens){var St=this.startNodeAt(U,K);return St.expression=ge,this.finishNode(St,"ParenthesizedExpression")}else return ge},me.parseParenItem=function(y){return y},me.parseParenArrowList=function(y,D,U,K){return this.parseArrowExpression(this.startNodeAt(y,D),U,!1,K)};var ue=[];me.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===v.dot){var D=this.startNodeAt(y.start,y.loc&&y.loc.start);D.name="new",y.meta=this.finishNode(D,"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 K=this.start,ge=this.startLoc;return y.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),K,ge,!0,!1),this.eat(v.parenL)?y.arguments=this.parseExprList(v.parenR,this.options.ecmaVersion>=8,!1):y.arguments=ue,this.finishNode(y,"NewExpression")},me.parseTemplateElement=function(y){var D=y.isTagged,U=this.startNode();return this.type===v.invalidTemplate?(D||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===v.backQuote,this.finishNode(U,"TemplateElement")},me.parseTemplate=function(y){y===void 0&&(y={});var D=y.isTagged;D===void 0&&(D=!1);var U=this.startNode();this.next(),U.expressions=[];var K=this.parseTemplateElement({isTagged:D});for(U.quasis=[K];!K.tail;)this.type===v.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(v.dollarBraceL),U.expressions.push(this.parseExpression()),this.expect(v.braceR),U.quasis.push(K=this.parseTemplateElement({isTagged:D}));return this.next(),this.finishNode(U,"TemplateLiteral")},me.isAsyncProp=function(y){return!y.computed&&y.key.type==="Identifier"&&y.key.name==="async"&&(this.type===v.name||this.type===v.num||this.type===v.string||this.type===v.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===v.star)&&!A.test(this.input.slice(this.lastTokEnd,this.start))},me.parseObj=function(y,D){var U=this.startNode(),K=!0,ge={};for(U.properties=[],this.next();!this.eat(v.braceR);){if(K)K=!1;else if(this.expect(v.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(v.braceR))break;var Ve=this.parseProperty(y,D);y||this.checkPropClash(Ve,ge,D),U.properties.push(Ve)}return this.finishNode(U,y?"ObjectPattern":"ObjectExpression")},me.parseProperty=function(y,D){var U=this.startNode(),K,ge,Ve,$e;if(this.options.ecmaVersion>=9&&this.eat(v.ellipsis))return y?(U.argument=this.parseIdent(!1),this.type===v.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(U,"RestElement")):(U.argument=this.parseMaybeAssign(!1,D),this.type===v.comma&&D&&D.trailingComma<0&&(D.trailingComma=this.start),this.finishNode(U,"SpreadElement"));this.options.ecmaVersion>=6&&(U.method=!1,U.shorthand=!1,(y||D)&&(Ve=this.start,$e=this.startLoc),y||(K=this.eat(v.star)));var nt=this.containsEsc;return this.parsePropertyName(U),!y&&!nt&&this.options.ecmaVersion>=8&&!K&&this.isAsyncProp(U)?(ge=!0,K=this.options.ecmaVersion>=9&&this.eat(v.star),this.parsePropertyName(U)):ge=!1,this.parsePropertyValue(U,y,K,ge,Ve,$e,D,nt),this.finishNode(U,"Property")},me.parseGetterSetter=function(y){var D=y.key.name;this.parsePropertyName(y),y.value=this.parseMethod(!1),y.kind=D;var U=y.kind==="get"?0:1;if(y.value.params.length!==U){var K=y.value.start;y.kind==="get"?this.raiseRecoverable(K,"getter should have no params"):this.raiseRecoverable(K,"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")},me.parsePropertyValue=function(y,D,U,K,ge,Ve,$e,nt){(U||K)&&this.type===v.colon&&this.unexpected(),this.eat(v.colon)?(y.value=D?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,$e),y.kind="init"):this.options.ecmaVersion>=6&&this.type===v.parenL?(D&&this.unexpected(),y.method=!0,y.value=this.parseMethod(U,K),y.kind="init"):!D&&!nt&&this.options.ecmaVersion>=5&&!y.computed&&y.key.type==="Identifier"&&(y.key.name==="get"||y.key.name==="set")&&this.type!==v.comma&&this.type!==v.braceR&&this.type!==v.eq?((U||K)&&this.unexpected(),this.parseGetterSetter(y)):this.options.ecmaVersion>=6&&!y.computed&&y.key.type==="Identifier"?((U||K)&&this.unexpected(),this.checkUnreserved(y.key),y.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=ge),D?y.value=this.parseMaybeDefault(ge,Ve,this.copyNode(y.key)):this.type===v.eq&&$e?($e.shorthandAssign<0&&($e.shorthandAssign=this.start),y.value=this.parseMaybeDefault(ge,Ve,this.copyNode(y.key))):y.value=this.copyNode(y.key),y.kind="init",y.shorthand=!0):this.unexpected()},me.parsePropertyName=function(y){if(this.options.ecmaVersion>=6){if(this.eat(v.bracketL))return y.computed=!0,y.key=this.parseMaybeAssign(),this.expect(v.bracketR),y.key;y.computed=!1}return y.key=this.type===v.num||this.type===v.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},me.initFunction=function(y){y.id=null,this.options.ecmaVersion>=6&&(y.generator=y.expression=!1),this.options.ecmaVersion>=8&&(y.async=!1)},me.parseMethod=function(y,D,U){var K=this.startNode(),ge=this.yieldPos,Ve=this.awaitPos,$e=this.awaitIdentPos;return this.initFunction(K),this.options.ecmaVersion>=6&&(K.generator=y),this.options.ecmaVersion>=8&&(K.async=!!D),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(ae(D,K.generator)|Te|(U?J:0)),this.expect(v.parenL),K.params=this.parseBindingList(v.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(K,!1,!0,!1),this.yieldPos=ge,this.awaitPos=Ve,this.awaitIdentPos=$e,this.finishNode(K,"FunctionExpression")},me.parseArrowExpression=function(y,D,U,K){var ge=this.yieldPos,Ve=this.awaitPos,$e=this.awaitIdentPos;return this.enterScope(ae(U,!1)|be),this.initFunction(y),this.options.ecmaVersion>=8&&(y.async=!!U),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,y.params=this.toAssignableList(D,!0),this.parseFunctionBody(y,!0,!1,K),this.yieldPos=ge,this.awaitPos=Ve,this.awaitIdentPos=$e,this.finishNode(y,"ArrowFunctionExpression")},me.parseFunctionBody=function(y,D,U,K){var ge=D&&this.type!==v.braceL,Ve=this.strict,$e=!1;if(ge)y.body=this.parseMaybeAssign(K),y.expression=!0,this.checkParams(y,!1);else{var nt=this.options.ecmaVersion>=7&&!this.isSimpleParamList(y.params);(!Ve||nt)&&($e=this.strictDirective(this.end),$e&&nt&&this.raiseRecoverable(y.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var ot=this.labels;this.labels=[],$e&&(this.strict=!0),this.checkParams(y,!Ve&&!$e&&!D&&!U&&this.isSimpleParamList(y.params)),this.strict&&y.id&&this.checkLValSimple(y.id,ut),y.body=this.parseBlock(!1,void 0,$e&&!Ve),y.expression=!1,this.adaptDirectivePrologue(y.body.body),this.labels=ot}this.exitScope()},me.isSimpleParamList=function(y){for(var D=0,U=y;D<U.length;D+=1){var K=U[D];if(K.type!=="Identifier")return!1}return!0},me.checkParams=function(y,D){for(var U=Object.create(null),K=0,ge=y.params;K<ge.length;K+=1){var Ve=ge[K];this.checkLValInnerPattern(Ve,Ne,D?null:U)}},me.parseExprList=function(y,D,U,K){for(var ge=[],Ve=!0;!this.eat(y);){if(Ve)Ve=!1;else if(this.expect(v.comma),D&&this.afterTrailingComma(y))break;var $e=void 0;U&&this.type===v.comma?$e=null:this.type===v.ellipsis?($e=this.parseSpread(K),K&&this.type===v.comma&&K.trailingComma<0&&(K.trailingComma=this.start)):$e=this.parseMaybeAssign(!1,K),ge.push($e)}return ge},me.checkUnreserved=function(y){var D=y.start,U=y.end,K=y.name;if(this.inGenerator&&K==="yield"&&this.raiseRecoverable(D,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&K==="await"&&this.raiseRecoverable(D,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&$)&&K==="arguments"&&this.raiseRecoverable(D,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(K==="arguments"||K==="await")&&this.raise(D,"Cannot use "+K+" in class static initialization block"),this.keywords.test(K)&&this.raise(D,"Unexpected keyword '"+K+"'"),!(this.options.ecmaVersion<6&&this.input.slice(D,U).indexOf("\\")!==-1)){var ge=this.strict?this.reservedWordsStrict:this.reservedWords;ge.test(K)&&(!this.inAsync&&K==="await"&&this.raiseRecoverable(D,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(D,"The keyword '"+K+"' is reserved"))}},me.parseIdent=function(y){var D=this.parseIdentNode();return this.next(!!y),this.finishNode(D,"Identifier"),y||(this.checkUnreserved(D),D.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=D.start)),D},me.parseIdentNode=function(){var y=this.startNode();return this.type===v.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=v.name):this.unexpected(),y},me.parsePrivateIdent=function(){var y=this.startNode();return this.type===v.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},me.parseYield=function(y){this.yieldPos||(this.yieldPos=this.start);var D=this.startNode();return this.next(),this.type===v.semi||this.canInsertSemicolon()||this.type!==v.star&&!this.type.startsExpr?(D.delegate=!1,D.argument=null):(D.delegate=this.eat(v.star),D.argument=this.parseMaybeAssign(y)),this.finishNode(D,"YieldExpression")},me.parseAwait=function(y){this.awaitPos||(this.awaitPos=this.start);var D=this.startNode();return this.next(),D.argument=this.parseMaybeUnary(null,!0,!1,y),this.finishNode(D,"AwaitExpression")};var Ce=rt.prototype;Ce.raise=function(y,D){var U=re(this.input,y);D+=" ("+U.line+":"+U.column+")",this.sourceFile&&(D+=" in "+this.sourceFile);var K=new SyntaxError(D);throw K.pos=y,K.loc=U,K.raisedAt=this.pos,K},Ce.raiseRecoverable=Ce.raise,Ce.curPosition=function(){if(this.options.locations)return new H(this.curLine,this.pos-this.lineStart)};var qe=rt.prototype,_e=function(D){this.flags=D,this.var=[],this.lexical=[],this.functions=[]};qe.enterScope=function(y){this.scopeStack.push(new _e(y))},qe.exitScope=function(){this.scopeStack.pop()},qe.treatFunctionsAsVarInScope=function(y){return y.flags&ie||!this.inModule&&y.flags&oe},qe.declareName=function(y,D,U){var K=!1;if(D===Be){var ge=this.currentScope();K=ge.lexical.indexOf(y)>-1||ge.functions.indexOf(y)>-1||ge.var.indexOf(y)>-1,ge.lexical.push(y),this.inModule&&ge.flags&oe&&delete this.undefinedExports[y]}else if(D===Qe){var Ve=this.currentScope();Ve.lexical.push(y)}else if(D===j){var $e=this.currentScope();this.treatFunctionsAsVar?K=$e.lexical.indexOf(y)>-1:K=$e.lexical.indexOf(y)>-1||$e.var.indexOf(y)>-1,$e.functions.push(y)}else for(var nt=this.scopeStack.length-1;nt>=0;--nt){var ot=this.scopeStack[nt];if(ot.lexical.indexOf(y)>-1&&!(ot.flags&xe&&ot.lexical[0]===y)||!this.treatFunctionsAsVarInScope(ot)&&ot.functions.indexOf(y)>-1){K=!0;break}if(ot.var.push(y),this.inModule&&ot.flags&oe&&delete this.undefinedExports[y],ot.flags&$)break}K&&this.raiseRecoverable(U,"Identifier '"+y+"' has already been declared")},qe.checkLocalExport=function(y){this.scopeStack[0].lexical.indexOf(y.name)===-1&&this.scopeStack[0].var.indexOf(y.name)===-1&&(this.undefinedExports[y.name]=y)},qe.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},qe.currentVarScope=function(){for(var y=this.scopeStack.length-1;;y--){var D=this.scopeStack[y];if(D.flags&($|ke|Q))return D}},qe.currentThisScope=function(){for(var y=this.scopeStack.length-1;;y--){var D=this.scopeStack[y];if(D.flags&($|ke|Q)&&!(D.flags&be))return D}};var Ke=function(D,U,K){this.type="",this.start=U,this.end=0,D.options.locations&&(this.loc=new ce(D,K)),D.options.directSourceFile&&(this.sourceFile=D.options.directSourceFile),D.options.ranges&&(this.range=[U,0])},Je=rt.prototype;Je.startNode=function(){return new Ke(this,this.start,this.startLoc)},Je.startNodeAt=function(y,D){return new Ke(this,y,D)};function pe(y,D,U,K){return y.type=D,y.end=U,this.options.locations&&(y.loc.end=K),this.options.ranges&&(y.range[1]=U),y}Je.finishNode=function(y,D){return pe.call(this,y,D,this.lastTokEnd,this.lastTokEndLoc)},Je.finishNodeAt=function(y,D,U,K){return pe.call(this,y,D,U,K)},Je.copyNode=function(y){var D=new Ke(this,y.start,this.startLoc);for(var U in y)D[U]=y[U];return D};var le="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",ye="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",Re=ye+" Extended_Pictographic",Oe=Re,it=Oe+" EBase EComp EMod EPres ExtPict",Ge=it,Ze=Ge,lt={9:ye,10:Re,11:Oe,12:it,13:Ge,14:Ze},Ye="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",st={9:"",10:"",11:"",12:"",13:"",14:Ye},mt="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",yt="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",pt=yt+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",vt=pt+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Ct=vt+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",xt=Ct+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Rt=xt+" "+le,_t={9:yt,10:pt,11:vt,12:Ct,13:xt,14:Rt},Bt={};function Ht(y){var D=Bt[y]={binary:G(lt[y]+" "+mt),binaryOfStrings:G(st[y]),nonBinary:{General_Category:G(mt),Script:G(_t[y])}};D.nonBinary.Script_Extensions=D.nonBinary.Script,D.nonBinary.gc=D.nonBinary.General_Category,D.nonBinary.sc=D.nonBinary.Script,D.nonBinary.scx=D.nonBinary.Script_Extensions}for(var Gt=0,Ot=[9,10,11,12,13,14];Gt<Ot.length;Gt+=1){var $t=Ot[Gt];Ht($t)}var ct=rt.prototype,Mt=function(D,U){this.parent=D,this.base=U||this};Mt.prototype.separatedFrom=function(D){for(var U=this;U;U=U.parent)for(var K=D;K;K=K.parent)if(U.base===K.base&&U!==K)return!0;return!1},Mt.prototype.sibling=function(){return new Mt(this.parent,this.base)};var Lt=function(D){this.parser=D,this.validFlags="gim"+(D.options.ecmaVersion>=6?"uy":"")+(D.options.ecmaVersion>=9?"s":"")+(D.options.ecmaVersion>=13?"d":"")+(D.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Bt[D.options.ecmaVersion>=14?14:D.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};Lt.prototype.reset=function(D,U,K){var ge=K.indexOf("v")!==-1,Ve=K.indexOf("u")!==-1;this.start=D|0,this.source=U+"",this.flags=K,ge&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=Ve&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=Ve&&this.parser.options.ecmaVersion>=9)},Lt.prototype.raise=function(D){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+D)},Lt.prototype.at=function(D,U){U===void 0&&(U=!1);var K=this.source,ge=K.length;if(D>=ge)return-1;var Ve=K.charCodeAt(D);if(!(U||this.switchU)||Ve<=55295||Ve>=57344||D+1>=ge)return Ve;var $e=K.charCodeAt(D+1);return $e>=56320&&$e<=57343?(Ve<<10)+$e-56613888:Ve},Lt.prototype.nextIndex=function(D,U){U===void 0&&(U=!1);var K=this.source,ge=K.length;if(D>=ge)return ge;var Ve=K.charCodeAt(D),$e;return!(U||this.switchU)||Ve<=55295||Ve>=57344||D+1>=ge||($e=K.charCodeAt(D+1))<56320||$e>57343?D+1:D+2},Lt.prototype.current=function(D){return D===void 0&&(D=!1),this.at(this.pos,D)},Lt.prototype.lookahead=function(D){return D===void 0&&(D=!1),this.at(this.nextIndex(this.pos,D),D)},Lt.prototype.advance=function(D){D===void 0&&(D=!1),this.pos=this.nextIndex(this.pos,D)},Lt.prototype.eat=function(D,U){return U===void 0&&(U=!1),this.current(U)===D?(this.advance(U),!0):!1},Lt.prototype.eatChars=function(D,U){U===void 0&&(U=!1);for(var K=this.pos,ge=0,Ve=D;ge<Ve.length;ge+=1){var $e=Ve[ge],nt=this.at(K,U);if(nt===-1||nt!==$e)return!1;K=this.nextIndex(K,U)}return this.pos=K,!0},ct.validateRegExpFlags=function(y){for(var D=y.validFlags,U=y.flags,K=!1,ge=!1,Ve=0;Ve<U.length;Ve++){var $e=U.charAt(Ve);D.indexOf($e)===-1&&this.raise(y.start,"Invalid regular expression flag"),U.indexOf($e,Ve+1)>-1&&this.raise(y.start,"Duplicate regular expression flag"),$e==="u"&&(K=!0),$e==="v"&&(ge=!0)}this.options.ecmaVersion>=15&&K&&ge&&this.raise(y.start,"Invalid regular expression flag")};function Er(y){for(var D in y)return!0;return!1}ct.validateRegExpPattern=function(y){this.regexp_pattern(y),!y.switchN&&this.options.ecmaVersion>=9&&Er(y.groupNames)&&(y.switchN=!0,this.regexp_pattern(y))},ct.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 D=0,U=y.backReferenceNames;D<U.length;D+=1){var K=U[D];y.groupNames[K]||y.raise("Invalid named capture referenced")}},ct.regexp_disjunction=function(y){var D=this.options.ecmaVersion>=16;for(D&&(y.branchID=new Mt(y.branchID,null)),this.regexp_alternative(y);y.eat(124);)D&&(y.branchID=y.branchID.sibling()),this.regexp_alternative(y);D&&(y.branchID=y.branchID.parent),this.regexp_eatQuantifier(y,!0)&&y.raise("Nothing to repeat"),y.eat(123)&&y.raise("Lone quantifier brackets")},ct.regexp_alternative=function(y){for(;y.pos<y.source.length&&this.regexp_eatTerm(y););},ct.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},ct.regexp_eatAssertion=function(y){var D=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=D}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=D,!1},ct.regexp_eatQuantifier=function(y,D){return D===void 0&&(D=!1),this.regexp_eatQuantifierPrefix(y,D)?(y.eat(63),!0):!1},ct.regexp_eatQuantifierPrefix=function(y,D){return y.eat(42)||y.eat(43)||y.eat(63)||this.regexp_eatBracedQuantifier(y,D)},ct.regexp_eatBracedQuantifier=function(y,D){var U=y.pos;if(y.eat(123)){var K=0,ge=-1;if(this.regexp_eatDecimalDigits(y)&&(K=y.lastIntValue,y.eat(44)&&this.regexp_eatDecimalDigits(y)&&(ge=y.lastIntValue),y.eat(125)))return ge!==-1&&ge<K&&!D&&y.raise("numbers out of order in {} quantifier"),!0;y.switchU&&!D&&y.raise("Incomplete quantifier"),y.pos=U}return!1},ct.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)},ct.regexp_eatReverseSolidusAtomEscape=function(y){var D=y.pos;if(y.eat(92)){if(this.regexp_eatAtomEscape(y))return!0;y.pos=D}return!1},ct.regexp_eatUncapturingGroup=function(y){var D=y.pos;if(y.eat(40)){if(y.eat(63)){if(this.options.ecmaVersion>=16){var U=this.regexp_eatModifiers(y),K=y.eat(45);if(U||K){for(var ge=0;ge<U.length;ge++){var Ve=U.charAt(ge);U.indexOf(Ve,ge+1)>-1&&y.raise("Duplicate regular expression modifiers")}if(K){var $e=this.regexp_eatModifiers(y);!U&&!$e&&y.current()===58&&y.raise("Invalid regular expression modifiers");for(var nt=0;nt<$e.length;nt++){var ot=$e.charAt(nt);($e.indexOf(ot,nt+1)>-1||U.indexOf(ot)>-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=D}return!1},ct.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},ct.regexp_eatModifiers=function(y){for(var D="",U=0;(U=y.current())!==-1&&Sr(U);)D+=B(U),y.advance();return D};function Sr(y){return y===105||y===109||y===115}ct.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)},ct.regexp_eatInvalidBracedQuantifier=function(y){return this.regexp_eatBracedQuantifier(y,!0)&&y.raise("Nothing to repeat"),!1},ct.regexp_eatSyntaxCharacter=function(y){var D=y.current();return Qt(D)?(y.lastIntValue=D,y.advance(),!0):!1};function Qt(y){return y===36||y>=40&&y<=43||y===46||y===63||y>=91&&y<=94||y>=123&&y<=125}ct.regexp_eatPatternCharacters=function(y){for(var D=y.pos,U=0;(U=y.current())!==-1&&!Qt(U);)y.advance();return y.pos!==D},ct.regexp_eatExtendedPatternCharacter=function(y){var D=y.current();return D!==-1&&D!==36&&!(D>=40&&D<=43)&&D!==46&&D!==63&&D!==91&&D!==94&&D!==124?(y.advance(),!0):!1},ct.regexp_groupSpecifier=function(y){if(y.eat(63)){this.regexp_eatGroupName(y)||y.raise("Invalid group");var D=this.options.ecmaVersion>=16,U=y.groupNames[y.lastStringValue];if(U)if(D)for(var K=0,ge=U;K<ge.length;K+=1){var Ve=ge[K];Ve.separatedFrom(y.branchID)||y.raise("Duplicate capture group name")}else y.raise("Duplicate capture group name");D?(U||(y.groupNames[y.lastStringValue]=[])).push(y.branchID):y.groupNames[y.lastStringValue]=!0}},ct.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},ct.regexp_eatRegExpIdentifierName=function(y){if(y.lastStringValue="",this.regexp_eatRegExpIdentifierStart(y)){for(y.lastStringValue+=B(y.lastIntValue);this.regexp_eatRegExpIdentifierPart(y);)y.lastStringValue+=B(y.lastIntValue);return!0}return!1},ct.regexp_eatRegExpIdentifierStart=function(y){var D=y.pos,U=this.options.ecmaVersion>=11,K=y.current(U);return y.advance(U),K===92&&this.regexp_eatRegExpUnicodeEscapeSequence(y,U)&&(K=y.lastIntValue),cr(K)?(y.lastIntValue=K,!0):(y.pos=D,!1)};function cr(y){return f(y,!0)||y===36||y===95}ct.regexp_eatRegExpIdentifierPart=function(y){var D=y.pos,U=this.options.ecmaVersion>=11,K=y.current(U);return y.advance(U),K===92&&this.regexp_eatRegExpUnicodeEscapeSequence(y,U)&&(K=y.lastIntValue),rr(K)?(y.lastIntValue=K,!0):(y.pos=D,!1)};function rr(y){return g(y,!0)||y===36||y===95||y===8204||y===8205}ct.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)},ct.regexp_eatBackReference=function(y){var D=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=D}return!1},ct.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},ct.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)},ct.regexp_eatCControlLetter=function(y){var D=y.pos;if(y.eat(99)){if(this.regexp_eatControlLetter(y))return!0;y.pos=D}return!1},ct.regexp_eatZero=function(y){return y.current()===48&&!dr(y.lookahead())?(y.lastIntValue=0,y.advance(),!0):!1},ct.regexp_eatControlEscape=function(y){var D=y.current();return D===116?(y.lastIntValue=9,y.advance(),!0):D===110?(y.lastIntValue=10,y.advance(),!0):D===118?(y.lastIntValue=11,y.advance(),!0):D===102?(y.lastIntValue=12,y.advance(),!0):D===114?(y.lastIntValue=13,y.advance(),!0):!1},ct.regexp_eatControlLetter=function(y){var D=y.current();return fr(D)?(y.lastIntValue=D%32,y.advance(),!0):!1};function fr(y){return y>=65&&y<=90||y>=97&&y<=122}ct.regexp_eatRegExpUnicodeEscapeSequence=function(y,D){D===void 0&&(D=!1);var U=y.pos,K=D||y.switchU;if(y.eat(117)){if(this.regexp_eatFixedHexDigits(y,4)){var ge=y.lastIntValue;if(K&&ge>=55296&&ge<=56319){var Ve=y.pos;if(y.eat(92)&&y.eat(117)&&this.regexp_eatFixedHexDigits(y,4)){var $e=y.lastIntValue;if($e>=56320&&$e<=57343)return y.lastIntValue=(ge-55296)*1024+($e-56320)+65536,!0}y.pos=Ve,y.lastIntValue=ge}return!0}if(K&&y.eat(123)&&this.regexp_eatHexDigits(y)&&y.eat(125)&&br(y.lastIntValue))return!0;K&&y.raise("Invalid unicode escape"),y.pos=U}return!1};function br(y){return y>=0&&y<=1114111}ct.regexp_eatIdentityEscape=function(y){if(y.switchU)return this.regexp_eatSyntaxCharacter(y)?!0:y.eat(47)?(y.lastIntValue=47,!0):!1;var D=y.current();return D!==99&&(!y.switchN||D!==107)?(y.lastIntValue=D,y.advance(),!0):!1},ct.regexp_eatDecimalEscape=function(y){y.lastIntValue=0;var D=y.current();if(D>=49&&D<=57){do y.lastIntValue=10*y.lastIntValue+(D-48),y.advance();while((D=y.current())>=48&&D<=57);return!0}return!1};var Zt=0,Wt=1,jt=2;ct.regexp_eatCharacterClassEscape=function(y){var D=y.current();if(Nr(D))return y.lastIntValue=-1,y.advance(),Wt;var U=!1;if(y.switchU&&this.options.ecmaVersion>=9&&((U=D===80)||D===112)){y.lastIntValue=-1,y.advance();var K;if(y.eat(123)&&(K=this.regexp_eatUnicodePropertyValueExpression(y))&&y.eat(125))return U&&K===jt&&y.raise("Invalid property name"),K;y.raise("Invalid property name")}return Zt};function Nr(y){return y===100||y===68||y===115||y===83||y===119||y===87}ct.regexp_eatUnicodePropertyValueExpression=function(y){var D=y.pos;if(this.regexp_eatUnicodePropertyName(y)&&y.eat(61)){var U=y.lastStringValue;if(this.regexp_eatUnicodePropertyValue(y)){var K=y.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(y,U,K),Wt}}if(y.pos=D,this.regexp_eatLoneUnicodePropertyNameOrValue(y)){var ge=y.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(y,ge)}return Zt},ct.regexp_validateUnicodePropertyNameAndValue=function(y,D,U){q(y.unicodeProperties.nonBinary,D)||y.raise("Invalid property name"),y.unicodeProperties.nonBinary[D].test(U)||y.raise("Invalid property value")},ct.regexp_validateUnicodePropertyNameOrValue=function(y,D){if(y.unicodeProperties.binary.test(D))return Wt;if(y.switchV&&y.unicodeProperties.binaryOfStrings.test(D))return jt;y.raise("Invalid property name")},ct.regexp_eatUnicodePropertyName=function(y){var D=0;for(y.lastStringValue="";Mr(D=y.current());)y.lastStringValue+=B(D),y.advance();return y.lastStringValue!==""};function Mr(y){return fr(y)||y===95}ct.regexp_eatUnicodePropertyValue=function(y){var D=0;for(y.lastStringValue="";jr(D=y.current());)y.lastStringValue+=B(D),y.advance();return y.lastStringValue!==""};function jr(y){return Mr(y)||dr(y)}ct.regexp_eatLoneUnicodePropertyNameOrValue=function(y){return this.regexp_eatUnicodePropertyValue(y)},ct.regexp_eatCharacterClass=function(y){if(y.eat(91)){var D=y.eat(94),U=this.regexp_classContents(y);return y.eat(93)||y.raise("Unterminated character class"),D&&U===jt&&y.raise("Negated character class may contain strings"),!0}return!1},ct.regexp_classContents=function(y){return y.current()===93?Wt:y.switchV?this.regexp_classSetExpression(y):(this.regexp_nonEmptyClassRanges(y),Wt)},ct.regexp_nonEmptyClassRanges=function(y){for(;this.regexp_eatClassAtom(y);){var D=y.lastIntValue;if(y.eat(45)&&this.regexp_eatClassAtom(y)){var U=y.lastIntValue;y.switchU&&(D===-1||U===-1)&&y.raise("Invalid character class"),D!==-1&&U!==-1&&D>U&&y.raise("Range out of order in character class")}}},ct.regexp_eatClassAtom=function(y){var D=y.pos;if(y.eat(92)){if(this.regexp_eatClassEscape(y))return!0;if(y.switchU){var U=y.current();(U===99||Rr(U))&&y.raise("Invalid class escape"),y.raise("Invalid escape")}y.pos=D}var K=y.current();return K!==93?(y.lastIntValue=K,y.advance(),!0):!1},ct.regexp_eatClassEscape=function(y){var D=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=D}return this.regexp_eatCharacterClassEscape(y)||this.regexp_eatCharacterEscape(y)},ct.regexp_classSetExpression=function(y){var D=Wt,U;if(!this.regexp_eatClassSetRange(y))if(U=this.regexp_eatClassSetOperand(y)){U===jt&&(D=jt);for(var K=y.pos;y.eatChars([38,38]);){if(y.current()!==38&&(U=this.regexp_eatClassSetOperand(y))){U!==jt&&(D=Wt);continue}y.raise("Invalid character in character class")}if(K!==y.pos)return D;for(;y.eatChars([45,45]);)this.regexp_eatClassSetOperand(y)||y.raise("Invalid character in character class");if(K!==y.pos)return D}else y.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(y)){if(U=this.regexp_eatClassSetOperand(y),!U)return D;U===jt&&(D=jt)}},ct.regexp_eatClassSetRange=function(y){var D=y.pos;if(this.regexp_eatClassSetCharacter(y)){var U=y.lastIntValue;if(y.eat(45)&&this.regexp_eatClassSetCharacter(y)){var K=y.lastIntValue;return U!==-1&&K!==-1&&U>K&&y.raise("Range out of order in character class"),!0}y.pos=D}return!1},ct.regexp_eatClassSetOperand=function(y){return this.regexp_eatClassSetCharacter(y)?Wt:this.regexp_eatClassStringDisjunction(y)||this.regexp_eatNestedClass(y)},ct.regexp_eatNestedClass=function(y){var D=y.pos;if(y.eat(91)){var U=y.eat(94),K=this.regexp_classContents(y);if(y.eat(93))return U&&K===jt&&y.raise("Negated character class may contain strings"),K;y.pos=D}if(y.eat(92)){var ge=this.regexp_eatCharacterClassEscape(y);if(ge)return ge;y.pos=D}return null},ct.regexp_eatClassStringDisjunction=function(y){var D=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=D}return null},ct.regexp_classStringDisjunctionContents=function(y){for(var D=this.regexp_classString(y);y.eat(124);)this.regexp_classString(y)===jt&&(D=jt);return D},ct.regexp_classString=function(y){for(var D=0;this.regexp_eatClassSetCharacter(y);)D++;return D===1?Wt:jt},ct.regexp_eatClassSetCharacter=function(y){var D=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=D,!1);var U=y.current();return U<0||U===y.lookahead()&&Fr(U)||an(U)?!1:(y.advance(),y.lastIntValue=U,!0)};function Fr(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 an(y){return y===40||y===41||y===45||y===47||y>=91&&y<=93||y>=123&&y<=125}ct.regexp_eatClassSetReservedPunctuator=function(y){var D=y.current();return on(D)?(y.lastIntValue=D,y.advance(),!0):!1};function on(y){return y===33||y===35||y===37||y===38||y===44||y===45||y>=58&&y<=62||y===64||y===96||y===126}ct.regexp_eatClassControlLetter=function(y){var D=y.current();return dr(D)||D===95?(y.lastIntValue=D%32,y.advance(),!0):!1},ct.regexp_eatHexEscapeSequence=function(y){var D=y.pos;if(y.eat(120)){if(this.regexp_eatFixedHexDigits(y,2))return!0;y.switchU&&y.raise("Invalid escape"),y.pos=D}return!1},ct.regexp_eatDecimalDigits=function(y){var D=y.pos,U=0;for(y.lastIntValue=0;dr(U=y.current());)y.lastIntValue=10*y.lastIntValue+(U-48),y.advance();return y.pos!==D};function dr(y){return y>=48&&y<=57}ct.regexp_eatHexDigits=function(y){var D=y.pos,U=0;for(y.lastIntValue=0;gr(U=y.current());)y.lastIntValue=16*y.lastIntValue+Ur(U),y.advance();return y.pos!==D};function gr(y){return y>=48&&y<=57||y>=65&&y<=70||y>=97&&y<=102}function Ur(y){return y>=65&&y<=70?10+(y-65):y>=97&&y<=102?10+(y-97):y-48}ct.regexp_eatLegacyOctalEscapeSequence=function(y){if(this.regexp_eatOctalDigit(y)){var D=y.lastIntValue;if(this.regexp_eatOctalDigit(y)){var U=y.lastIntValue;D<=3&&this.regexp_eatOctalDigit(y)?y.lastIntValue=D*64+U*8+y.lastIntValue:y.lastIntValue=D*8+U}else y.lastIntValue=D;return!0}return!1},ct.regexp_eatOctalDigit=function(y){var D=y.current();return Rr(D)?(y.lastIntValue=D-48,y.advance(),!0):(y.lastIntValue=0,!1)};function Rr(y){return y>=48&&y<=55}ct.regexp_eatFixedHexDigits=function(y,D){var U=y.pos;y.lastIntValue=0;for(var K=0;K<D;++K){var ge=y.current();if(!gr(ge))return y.pos=U,!1;y.lastIntValue=16*y.lastIntValue+Ur(ge),y.advance()}return!0};var pr=function(D){this.type=D.type,this.value=D.value,this.start=D.start,this.end=D.end,D.options.locations&&(this.loc=new ce(D,D.startLoc,D.endLoc)),D.options.ranges&&(this.range=[D.start,D.end])},bt=rt.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 pr(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 pr(this)},typeof Symbol<"u"&&(bt[Symbol.iterator]=function(){var y=this;return{next:function(){var D=y.getToken();return{done:D.type===v.eof,value:D}}}}),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(v.eof);if(y.override)return y.override(this);this.readToken(this.fullCharCodeAtPos())},bt.readToken=function(y){return f(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 D=this.input.charCodeAt(this.pos+1);return D<=56319||D>=57344?y:(y<<10)+D-56613888},bt.skipBlockComment=function(){var y=this.options.onComment&&this.curPosition(),D=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 K=void 0,ge=D;(K=k(this.input,ge,this.pos))>-1;)++this.curLine,ge=this.lineStart=K;this.options.onComment&&this.options.onComment(!0,this.input.slice(D+2,U),D,this.pos,y,this.curPosition())},bt.skipLineComment=function(y){for(var D=this.pos,U=this.options.onComment&&this.curPosition(),K=this.input.charCodeAt(this.pos+=y);this.pos<this.input.length&&!w(K);)K=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(D+y,this.pos),D,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&&R.test(String.fromCharCode(y)))++this.pos;else break e}}},bt.finishToken=function(y,D){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var U=this.type;this.type=y,this.value=D,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 D=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&y===46&&D===46?(this.pos+=3,this.finishToken(v.ellipsis)):(++this.pos,this.finishToken(v.dot))},bt.readToken_slash=function(){var y=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):y===61?this.finishOp(v.assign,2):this.finishOp(v.slash,1)},bt.readToken_mult_modulo_exp=function(y){var D=this.input.charCodeAt(this.pos+1),U=1,K=y===42?v.star:v.modulo;return this.options.ecmaVersion>=7&&y===42&&D===42&&(++U,K=v.starstar,D=this.input.charCodeAt(this.pos+2)),D===61?this.finishOp(v.assign,U+1):this.finishOp(K,U)},bt.readToken_pipe_amp=function(y){var D=this.input.charCodeAt(this.pos+1);if(D===y){if(this.options.ecmaVersion>=12){var U=this.input.charCodeAt(this.pos+2);if(U===61)return this.finishOp(v.assign,3)}return this.finishOp(y===124?v.logicalOR:v.logicalAND,2)}return D===61?this.finishOp(v.assign,2):this.finishOp(y===124?v.bitwiseOR:v.bitwiseAND,1)},bt.readToken_caret=function(){var y=this.input.charCodeAt(this.pos+1);return y===61?this.finishOp(v.assign,2):this.finishOp(v.bitwiseXOR,1)},bt.readToken_plus_min=function(y){var D=this.input.charCodeAt(this.pos+1);return D===y?D===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||A.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(v.incDec,2):D===61?this.finishOp(v.assign,2):this.finishOp(v.plusMin,1)},bt.readToken_lt_gt=function(y){var D=this.input.charCodeAt(this.pos+1),U=1;return D===y?(U=y===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+U)===61?this.finishOp(v.assign,U+1):this.finishOp(v.bitShift,U)):D===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()):(D===61&&(U=2),this.finishOp(v.relational,U))},bt.readToken_eq_excl=function(y){var D=this.input.charCodeAt(this.pos+1);return D===61?this.finishOp(v.equality,this.input.charCodeAt(this.pos+2)===61?3:2):y===61&&D===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(v.arrow)):this.finishOp(y===61?v.eq:v.prefix,1)},bt.readToken_question=function(){var y=this.options.ecmaVersion;if(y>=11){var D=this.input.charCodeAt(this.pos+1);if(D===46){var U=this.input.charCodeAt(this.pos+2);if(U<48||U>57)return this.finishOp(v.questionDot,2)}if(D===63){if(y>=12){var K=this.input.charCodeAt(this.pos+2);if(K===61)return this.finishOp(v.assign,3)}return this.finishOp(v.coalesce,2)}}return this.finishOp(v.question,1)},bt.readToken_numberSign=function(){var y=this.options.ecmaVersion,D=35;if(y>=13&&(++this.pos,D=this.fullCharCodeAtPos(),f(D,!0)||D===92))return this.finishToken(v.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+B(D)+"'")},bt.getTokenFromCode=function(y){switch(y){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(v.parenL);case 41:return++this.pos,this.finishToken(v.parenR);case 59:return++this.pos,this.finishToken(v.semi);case 44:return++this.pos,this.finishToken(v.comma);case 91:return++this.pos,this.finishToken(v.bracketL);case 93:return++this.pos,this.finishToken(v.bracketR);case 123:return++this.pos,this.finishToken(v.braceL);case 125:return++this.pos,this.finishToken(v.braceR);case 58:return++this.pos,this.finishToken(v.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(v.backQuote);case 48:var D=this.input.charCodeAt(this.pos+1);if(D===120||D===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(D===111||D===79)return this.readRadixNumber(8);if(D===98||D===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(v.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+B(y)+"'")},bt.finishOp=function(y,D){var U=this.input.slice(this.pos,this.pos+D);return this.pos+=D,this.finishToken(y,U)},bt.readRegexp=function(){for(var y,D,U=this.pos;;){this.pos>=this.input.length&&this.raise(U,"Unterminated regular expression");var K=this.input.charAt(this.pos);if(A.test(K)&&this.raise(U,"Unterminated regular expression"),y)y=!1;else{if(K==="[")D=!0;else if(K==="]"&&D)D=!1;else if(K==="/"&&!D)break;y=K==="\\"}++this.pos}var ge=this.input.slice(U,this.pos);++this.pos;var Ve=this.pos,$e=this.readWord1();this.containsEsc&&this.unexpected(Ve);var nt=this.regexpState||(this.regexpState=new Lt(this));nt.reset(U,ge,$e),this.validateRegExpFlags(nt),this.validateRegExpPattern(nt);var ot=null;try{ot=new RegExp(ge,$e)}catch{}return this.finishToken(v.regexp,{pattern:ge,flags:$e,value:ot})},bt.readInt=function(y,D,U){for(var K=this.options.ecmaVersion>=12&&D===void 0,ge=U&&this.input.charCodeAt(this.pos)===48,Ve=this.pos,$e=0,nt=0,ot=0,gt=D??1/0;ot<gt;++ot,++this.pos){var Et=this.input.charCodeAt(this.pos),At=void 0;if(K&&Et===95){ge&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),nt===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),ot===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),nt=Et;continue}if(Et>=97?At=Et-97+10:Et>=65?At=Et-65+10:Et>=48&&Et<=57?At=Et-48:At=1/0,At>=y)break;nt=Et,$e=$e*y+At}return K&&nt===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===Ve||D!=null&&this.pos-Ve!==D?null:$e};function ln(y,D){return D?parseInt(y,8):parseFloat(y.replace(/_/g,""))}function qr(y){return typeof BigInt!="function"?null:BigInt(y.replace(/_/g,""))}bt.readRadixNumber=function(y){var D=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=qr(this.input.slice(D,this.pos)),++this.pos):f(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(v.num,U)},bt.readNumber=function(y){var D=this.pos;!y&&this.readInt(10,void 0,!0)===null&&this.raise(D,"Invalid number");var U=this.pos-D>=2&&this.input.charCodeAt(D)===48;U&&this.strict&&this.raise(D,"Invalid number");var K=this.input.charCodeAt(this.pos);if(!U&&!y&&this.options.ecmaVersion>=11&&K===110){var ge=qr(this.input.slice(D,this.pos));return++this.pos,f(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(v.num,ge)}U&&/[89]/.test(this.input.slice(D,this.pos))&&(U=!1),K===46&&!U&&(++this.pos,this.readInt(10),K=this.input.charCodeAt(this.pos)),(K===69||K===101)&&!U&&(K=this.input.charCodeAt(++this.pos),(K===43||K===45)&&++this.pos,this.readInt(10)===null&&this.raise(D,"Invalid number")),f(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var Ve=ln(this.input.slice(D,this.pos),U);return this.finishToken(v.num,Ve)},bt.readCodePoint=function(){var y=this.input.charCodeAt(this.pos),D;if(y===123){this.options.ecmaVersion<6&&this.unexpected();var U=++this.pos;D=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,D>1114111&&this.invalidStringToken(U,"Code point out of bounds")}else D=this.readHexChar(4);return D},bt.readString=function(y){for(var D="",U=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var K=this.input.charCodeAt(this.pos);if(K===y)break;K===92?(D+=this.input.slice(U,this.pos),D+=this.readEscapedChar(!1),U=this.pos):K===8232||K===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(w(K)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return D+=this.input.slice(U,this.pos++),this.finishToken(v.string,D)};var We={};bt.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(y){if(y===We)this.readInvalidTemplateToken();else throw y}this.inTemplateElement=!1},bt.invalidStringToken=function(y,D){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw We;this.raise(y,D)},bt.readTmplToken=function(){for(var y="",D=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===v.template||this.type===v.invalidTemplate)?U===36?(this.pos+=2,this.finishToken(v.dollarBraceL)):(++this.pos,this.finishToken(v.backQuote)):(y+=this.input.slice(D,this.pos),this.finishToken(v.template,y));if(U===92)y+=this.input.slice(D,this.pos),y+=this.readEscapedChar(!0),D=this.pos;else if(w(U)){switch(y+=this.input.slice(D,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),D=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(v.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 D=this.input.charCodeAt(++this.pos);switch(++this.pos,D){case 110:return`
9
- `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return B(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(D>=48&&D<=55){var K=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],ge=parseInt(K,8);return ge>255&&(K=K.slice(0,-1),ge=parseInt(K,8)),this.pos+=K.length-1,D=this.input.charCodeAt(this.pos),(K!=="0"||D===56||D===57)&&(this.strict||y)&&this.invalidStringToken(this.pos-1-K.length,y?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(ge)}return w(D)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(D)}},bt.readHexChar=function(y){var D=this.pos,U=this.readInt(16,y);return U===null&&this.invalidStringToken(D,"Bad character escape sequence"),U},bt.readWord1=function(){this.containsEsc=!1;for(var y="",D=!0,U=this.pos,K=this.options.ecmaVersion>=6;this.pos<this.input.length;){var ge=this.fullCharCodeAtPos();if(g(ge,K))this.pos+=ge<=65535?1:2;else if(ge===92){this.containsEsc=!0,y+=this.input.slice(U,this.pos);var Ve=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var $e=this.readCodePoint();(D?f:g)($e,K)||this.invalidStringToken(Ve,"Invalid Unicode escape"),y+=B($e),U=this.pos}else break;D=!1}return y+this.input.slice(U,this.pos)},bt.readWord=function(){var y=this.readWord1(),D=v.name;return this.keywords.test(y)&&(D=T[y]),this.finishToken(D,y)};var M="8.15.0";rt.acorn={Parser:rt,version:M,defaultOptions:Fe,Position:H,SourceLocation:ce,getLineInfo:re,Node:Ke,TokenType:d,tokTypes:v,keywordTypes:T,TokContext:fe,tokContexts:De,isIdentifierChar:g,isIdentifierStart:f,Token:pr,isNewLine:w,lineBreak:A,lineBreakG:b,nonASCIIwhitespace:R};function Y(y,D){return rt.parse(y,D)}function he(y,D,U){return rt.parseExpressionAt(y,D,U)}function je(y,D){return rt.tokenizer(y,D)}n.Node=Ke,n.Parser=rt,n.Position=H,n.SourceLocation=ce,n.TokContext=fe,n.Token=pr,n.TokenType=d,n.defaultOptions=Fe,n.getLineInfo=re,n.isIdentifierChar=g,n.isIdentifierStart=f,n.isNewLine=w,n.keywordTypes=T,n.lineBreak=A,n.lineBreakG=b,n.nonASCIIwhitespace=R,n.parse=Y,n.parseExpressionAt=he,n.tokContexts=De,n.tokTypes=v,n.tokenizer=je,n.version=M})}(mn,mn.exports)),mn.exports}var $n={exports:{}},Wn,Wp;function Y0(){return Wp||(Wp=1,Wn={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:"♦"}),Wn}var Gp;function Q0(){return Gp||(Gp=1,function(a){const e=Y0(),n=/^[\da-fA-F]+$/,o=/^\d+$/,t=new WeakMap;function l(r){r=r.Parser.acorn||r;let m=t.get(r);if(!m){const i=r.tokTypes,c=r.TokContext,h=r.TokenType,s=new c("<tag",!1),f=new c("</tag",!1),g=new c("<tag>...</tag>",!0,!0),d={tc_oTag:s,tc_cTag:f,tc_expr:g},E={jsxName:new h("jsxName"),jsxText:new h("jsxText",{beforeExpr:!0}),jsxTagStart:new h("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new h("jsxTagEnd")};E.jsxTagStart.updateContext=function(){this.context.push(g),this.context.push(s),this.exprAllowed=!1},E.jsxTagEnd.updateContext=function(S){let x=this.context.pop();x===s&&S===i.slash||x===f?(this.context.pop(),this.exprAllowed=this.curContext()===g):this.exprAllowed=!0},m={tokContexts:d,tokTypes:E},t.set(r,m)}return m}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(m){return u({allowNamespaces:r.allowNamespaces!==!1,allowNamespacedObjects:!!r.allowNamespacedObjects},m)}},Object.defineProperty(a.exports,"tokTypes",{get:function(){return l(Vn()).tokTypes},configurable:!0,enumerable:!0});function u(r,m){const i=m.acorn||Vn(),c=l(i),h=i.tokTypes,s=c.tokTypes,f=i.tokContexts,g=c.tokContexts.tc_oTag,d=c.tokContexts.tc_cTag,E=c.tokContexts.tc_expr,S=i.isNewLine,x=i.isIdentifierStart,T=i.isIdentifierChar;return class extends m{static get acornJsx(){return c}jsx_readToken(){let C="",v=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let A=this.input.charCodeAt(this.pos);switch(A){case 60:case 123:return this.pos===this.start?A===60&&this.exprAllowed?(++this.pos,this.finishToken(s.jsxTagStart)):this.getTokenFromCode(A):(C+=this.input.slice(v,this.pos),this.finishToken(s.jsxText,C));case 38:C+=this.input.slice(v,this.pos),C+=this.jsx_readEntity(),v=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(A===62?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:S(A)?(C+=this.input.slice(v,this.pos),C+=this.jsx_readNewLine(!0),v=this.pos):++this.pos}}}jsx_readNewLine(C){let v=this.input.charCodeAt(this.pos),A;return++this.pos,v===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,A=C?`
10
- `:`\r
11
- `):A=String.fromCharCode(v),this.options.locations&&(++this.curLine,this.lineStart=this.pos),A}jsx_readString(C){let v="",A=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let b=this.input.charCodeAt(this.pos);if(b===C)break;b===38?(v+=this.input.slice(A,this.pos),v+=this.jsx_readEntity(),A=this.pos):S(b)?(v+=this.input.slice(A,this.pos),v+=this.jsx_readNewLine(!1),A=this.pos):++this.pos}return v+=this.input.slice(A,this.pos++),this.finishToken(h.string,v)}jsx_readEntity(){let C="",v=0,A,b=this.input[this.pos];b!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let w=++this.pos;for(;this.pos<this.input.length&&v++<10;){if(b=this.input[this.pos++],b===";"){C[0]==="#"?C[1]==="x"?(C=C.substr(2),n.test(C)&&(A=String.fromCharCode(parseInt(C,16)))):(C=C.substr(1),o.test(C)&&(A=String.fromCharCode(parseInt(C,10)))):A=e[C];break}C+=b}return A||(this.pos=w,"&")}jsx_readWord(){let C,v=this.pos;do C=this.input.charCodeAt(++this.pos);while(T(C)||C===45);return this.finishToken(s.jsxName,this.input.slice(v,this.pos))}jsx_parseIdentifier(){let C=this.startNode();return this.type===s.jsxName?C.name=this.value:this.type.keyword?C.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(C,"JSXIdentifier")}jsx_parseNamespacedName(){let C=this.start,v=this.startLoc,A=this.jsx_parseIdentifier();if(!r.allowNamespaces||!this.eat(h.colon))return A;var b=this.startNodeAt(C,v);return b.namespace=A,b.name=this.jsx_parseIdentifier(),this.finishNode(b,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===s.jsxTagEnd)return"";let C=this.start,v=this.startLoc,A=this.jsx_parseNamespacedName();for(this.type===h.dot&&A.type==="JSXNamespacedName"&&!r.allowNamespacedObjects&&this.unexpected();this.eat(h.dot);){let b=this.startNodeAt(C,v);b.object=A,b.property=this.jsx_parseIdentifier(),A=this.finishNode(b,"JSXMemberExpression")}return A}jsx_parseAttributeValue(){switch(this.type){case h.braceL:let C=this.jsx_parseExpressionContainer();return C.expression.type==="JSXEmptyExpression"&&this.raise(C.start,"JSX attributes must only be assigned a non-empty expression"),C;case s.jsxTagStart:case h.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let C=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(C,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let C=this.startNode();return this.next(),C.expression=this.type===h.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(h.braceR),this.finishNode(C,"JSXExpressionContainer")}jsx_parseAttribute(){let C=this.startNode();return this.eat(h.braceL)?(this.expect(h.ellipsis),C.argument=this.parseMaybeAssign(),this.expect(h.braceR),this.finishNode(C,"JSXSpreadAttribute")):(C.name=this.jsx_parseNamespacedName(),C.value=this.eat(h.eq)?this.jsx_parseAttributeValue():null,this.finishNode(C,"JSXAttribute"))}jsx_parseOpeningElementAt(C,v){let A=this.startNodeAt(C,v);A.attributes=[];let b=this.jsx_parseElementName();for(b&&(A.name=b);this.type!==h.slash&&this.type!==s.jsxTagEnd;)A.attributes.push(this.jsx_parseAttribute());return A.selfClosing=this.eat(h.slash),this.expect(s.jsxTagEnd),this.finishNode(A,b?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(C,v){let A=this.startNodeAt(C,v),b=this.jsx_parseElementName();return b&&(A.name=b),this.expect(s.jsxTagEnd),this.finishNode(A,b?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(C,v){let A=this.startNodeAt(C,v),b=[],w=this.jsx_parseOpeningElementAt(C,v),k=null;if(!w.selfClosing){e:for(;;)switch(this.type){case s.jsxTagStart:if(C=this.start,v=this.startLoc,this.next(),this.eat(h.slash)){k=this.jsx_parseClosingElementAt(C,v);break e}b.push(this.jsx_parseElementAt(C,v));break;case s.jsxText:b.push(this.parseExprAtom());break;case h.braceL:b.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}p(k.name)!==p(w.name)&&this.raise(k.start,"Expected corresponding JSX closing tag for <"+p(w.name)+">")}let R=w.name?"Element":"Fragment";return A["opening"+R]=w,A["closing"+R]=k,A.children=b,this.type===h.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(A,"JSX"+R)}jsx_parseText(){let C=this.parseLiteral(this.value);return C.type="JSXText",C}jsx_parseElement(){let C=this.start,v=this.startLoc;return this.next(),this.jsx_parseElementAt(C,v)}parseExprAtom(C){return this.type===s.jsxText?this.jsx_parseText():this.type===s.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(C)}readToken(C){let v=this.curContext();if(v===E)return this.jsx_readToken();if(v===g||v===d){if(x(C))return this.jsx_readWord();if(C==62)return++this.pos,this.finishToken(s.jsxTagEnd);if((C===34||C===39)&&v==g)return this.jsx_readString(C)}return C===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(s.jsxTagStart)):super.readToken(C)}updateContext(C){if(this.type==h.braceL){var v=this.curContext();v==g?this.context.push(f.b_expr):v==E?this.context.push(f.b_tmpl):super.updateContext(C),this.exprAllowed=!0}else if(this.type===h.slash&&C===s.jsxTagStart)this.context.length-=2,this.context.push(d),this.exprAllowed=!1;else return super.updateContext(C)}}}}($n)),$n.exports}var Gr={},zp;function Z0(){if(zp)return Gr;zp=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:["local","exported"],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 l(p){const u=Object.assign({},a);for(const r of Object.keys(p))if(Object.hasOwn(u,r)){const m=new Set(p[r]);for(const i of u[r])m.add(i);u[r]=Object.freeze(Array.from(m))}else u[r]=Object.freeze(Array.from(p[r]));return Object.freeze(u)}return Gr.KEYS=a,Gr.getKeys=t,Gr.unionWith=l,Gr}var Hp;function hn(){if(Hp)return er;Hp=1,Object.defineProperty(er,"__esModule",{value:!0});var a=Vn(),e=Q0(),n=Z0();function o(O){return O&&typeof O=="object"&&"default"in O?O:{default:O}}function t(O){if(O&&O.__esModule)return O;var q=Object.create(null);return O&&Object.keys(O).forEach(function(N){if(N!=="default"){var _=Object.getOwnPropertyDescriptor(O,N);Object.defineProperty(q,N,_.get?_:{enumerable:!0,get:function(){return O[N]}})}}),q.default=O,Object.freeze(q)}var l=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 m(O,q){const N=O[0],_=O.at(-1),G={type:r.Template,value:q.slice(N.start,_.end)};return N.loc&&(G.loc={start:N.loc.start,end:_.loc.end}),N.range&&(G.start=N.range[0],G.end=_.range[1],G.range=[G.start,G.end]),G}function i(O,q){this._acornTokTypes=O,this._tokens=[],this._curlyBrace=null,this._code=q}i.prototype={constructor:i,translate(O,q){const N=O.type,_=this._acornTokTypes;if(N===_.name)O.type=r.Identifier,O.value==="static"&&(O.type=r.Keyword),q.ecmaVersion>5&&(O.value==="yield"||O.value==="let")&&(O.type=r.Keyword);else if(N===_.privateId)O.type=r.PrivateIdentifier;else if(N===_.semi||N===_.comma||N===_.parenL||N===_.parenR||N===_.braceL||N===_.braceR||N===_.dot||N===_.bracketL||N===_.colon||N===_.question||N===_.bracketR||N===_.ellipsis||N===_.arrow||N===_.jsxTagStart||N===_.incDec||N===_.starstar||N===_.jsxTagEnd||N===_.prefix||N===_.questionDot||N.binop&&!N.keyword||N.isAssign)O.type=r.Punctuator,O.value=this._code.slice(O.start,O.end);else if(N===_.jsxName)O.type=r.JSXIdentifier;else if(N.label==="jsxText"||N===_.jsxAttrValueToken)O.type=r.JSXText;else if(N.keyword)N.keyword==="true"||N.keyword==="false"?O.type=r.Boolean:N.keyword==="null"?O.type=r.Null:O.type=r.Keyword;else if(N===_.num)O.type=r.Numeric,O.value=this._code.slice(O.start,O.end);else if(N===_.string)q.jsxAttrValueToken?(q.jsxAttrValueToken=!1,O.type=r.JSXText):O.type=r.String,O.value=this._code.slice(O.start,O.end);else if(N===_.regexp){O.type=r.RegularExpression;const G=O.value;O.regex={flags:G.flags,pattern:G.pattern},O.value=`/${G.pattern}/${G.flags}`}return O},onToken(O,q){const N=this._acornTokTypes,_=q.tokens,G=this._tokens,B=()=>{_.push(m(this._tokens,this._code)),this._tokens=[]};if(O.type===N.eof){this._curlyBrace&&_.push(this.translate(this._curlyBrace,q));return}if(O.type===N.backQuote){this._curlyBrace&&(_.push(this.translate(this._curlyBrace,q)),this._curlyBrace=null),G.push(O),G.length>1&&B();return}if(O.type===N.dollarBraceL){G.push(O),B();return}if(O.type===N.braceR){this._curlyBrace&&_.push(this.translate(this._curlyBrace,q)),this._curlyBrace=O;return}if(O.type===N.template||O.type===N.invalidTemplate){this._curlyBrace&&(G.push(this._curlyBrace),this._curlyBrace=null),G.push(O);return}this._curlyBrace&&(_.push(this.translate(this._curlyBrace,q)),this._curlyBrace=null),_.push(this.translate(O,q))}};const c=[3,5,6,7,8,9,10,11,12,13,14,15,16,17];function h(){return c.at(-1)}function s(){return[...c]}function f(O=5){let q=O==="latest"?h():O;if(typeof q!="number")throw new Error(`ecmaVersion must be a number or "latest". Received value of type ${typeof O} instead.`);if(q>=2015&&(q-=2009),!c.includes(q))throw new Error("Invalid ecmaVersion.");return q}function g(O="script"){if(O==="script"||O==="module")return O;if(O==="commonjs")return"script";throw new Error("Invalid sourceType.")}function d(O){const q=f(O.ecmaVersion),N=g(O.sourceType),_=O.range===!0,G=O.loc===!0;if(q!==3&&O.allowReserved)throw new Error("`allowReserved` is only supported when ecmaVersion is 3");if(typeof O.allowReserved<"u"&&typeof O.allowReserved!="boolean")throw new Error("`allowReserved`, when present, must be `true` or `false`");const B=q===3?O.allowReserved||"never":!1,z=O.ecmaFeatures||{},H=O.sourceType==="commonjs"||!!z.globalReturn;if(N==="module"&&q<6)throw new Error("sourceType 'module' is not supported when ecmaVersion < 2015. Consider adding `{ ecmaVersion: 2015 }` to the parser options.");return Object.assign({},O,{ecmaVersion:q,sourceType:N,ranges:_,locations:G,allowReserved:B,allowReturnOutsideFunction:H})}const E=Symbol("espree's internal state"),S=Symbol("espree's esprimaFinishNode");function x(O,q,N,_,G,B,z){let H;O?H="Block":z.slice(N,N+2)==="#!"?H="Hashbang":H="Line";const ce={type:H,value:q};return typeof N=="number"&&(ce.start=N,ce.end=_,ce.range=[N,_]),typeof G=="object"&&(ce.loc={start:G,end:B}),ce}var T=()=>O=>{const q=Object.assign({},O.acorn.tokTypes);return O.acornJsx&&Object.assign(q,O.acornJsx.tokTypes),class extends O{constructor(_,G){(typeof _!="object"||_===null)&&(_={}),typeof G!="string"&&!(G instanceof String)&&(G=String(G));const B=_.sourceType,z=d(_),H=z.ecmaFeatures||{},ce=z.tokens===!0?new i(q,G):null,re={originalSourceType:B||z.sourceType,tokens:ce?[]:null,comments:z.comment===!0?[]:null,impliedStrict:H.impliedStrict===!0&&z.ecmaVersion>=5,ecmaVersion:z.ecmaVersion,jsxAttrValueToken:!1,lastToken:null,templateElements:[]};super({ecmaVersion:z.ecmaVersion,sourceType:z.sourceType,ranges:z.ranges,locations:z.locations,allowReserved:z.allowReserved,allowReturnOutsideFunction:z.allowReturnOutsideFunction,onToken(Fe){ce&&ce.onToken(Fe,re),Fe.type!==q.eof&&(re.lastToken=Fe)},onComment(Fe,X,I,W,oe,ie){if(re.comments){const se=x(Fe,X,I,W,oe,ie,G);re.comments.push(se)}}},G),this[E]=re}tokenize(){do this.next();while(this.type!==q.eof);this.next();const _=this[E],G=_.tokens;return _.comments&&(G.comments=_.comments),G}finishNode(..._){const G=super.finishNode(..._);return this[S](G)}finishNodeAt(..._){const G=super.finishNodeAt(..._);return this[S](G)}parse(){const _=this[E],G=super.parse();if(G.sourceType=_.originalSourceType,_.comments&&(G.comments=_.comments),_.tokens&&(G.tokens=_.tokens),G.body.length){const[B]=G.body;G.range&&(G.range[0]=B.range[0]),G.loc&&(G.loc.start=B.loc.start),G.start=B.start}return _.lastToken&&(G.range&&(G.range[1]=_.lastToken.range[1]),G.loc&&(G.loc.end=_.lastToken.loc.end),G.end=_.lastToken.end),this[E].templateElements.forEach(B=>{const H=B.tail?1:2;B.start+=-1,B.end+=H,B.range&&(B.range[0]+=-1,B.range[1]+=H),B.loc&&(B.loc.start.column+=-1,B.loc.end.column+=H)}),G}parseTopLevel(_){return this[E].impliedStrict&&(this.strict=!0),super.parseTopLevel(_)}raise(_,G){const B=O.acorn.getLineInfo(this.input,_),z=new SyntaxError(G);throw z.index=_,z.lineNumber=B.line,z.column=B.column+1,z}raiseRecoverable(_,G){this.raise(_,G)}unexpected(_){let G="Unexpected token";if(_!=null){if(this.pos=_,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&&(G+=` ${this.input.slice(this.start,this.end)}`),this.raise(this.start,G)}jsx_readString(_){const G=super.jsx_readString(_);return this.type===q.string&&(this[E].jsxAttrValueToken=!0),G}[S](_){return _.type==="TemplateElement"&&this[E].templateElements.push(_),_.type.includes("Function")&&!_.generator&&(_.generator=!1),_}}};const C="10.4.0",v={_regular:null,_jsx:null,get regular(){return this._regular===null&&(this._regular=l.Parser.extend(T())),this._regular},get jsx(){return this._jsx===null&&(this._jsx=l.Parser.extend(p.default(),T())),this._jsx},get(O){return!!(O&&O.ecmaFeatures&&O.ecmaFeatures.jsx)?this.jsx:this.regular}};function A(O,q){const N=v.get(q);return(!q||q.tokens!==!0)&&(q=Object.assign({},q,{tokens:!0})),new N(q,O).tokenize()}function b(O,q){const N=v.get(q);return new N(q,O).parse()}const w=C,k="espree",R=function(){return u.KEYS}(),F=function(){let O,q={};typeof Object.create=="function"&&(q=Object.create(null));for(O in R)Object.hasOwn(R,O)&&(q[O]=O);return typeof Object.freeze=="function"&&Object.freeze(q),q}(),L=h(),P=s();return er.Syntax=F,er.VisitorKeys=R,er.latestEcmaVersion=L,er.name=k,er.parse=b,er.supportedEcmaVersions=P,er.tokenize=A,er.version=w,er}var zr={exports:{}};zr.exports;var Kp;function ex(){return Kp||(Kp=1,function(a,e){var n=200,o="__lodash_hash_undefined__",t=800,l=16,p=9007199254740991,u="[object Arguments]",r="[object Array]",m="[object AsyncFunction]",i="[object Boolean]",c="[object Date]",h="[object Error]",s="[object Function]",f="[object GeneratorFunction]",g="[object Map]",d="[object Number]",E="[object Null]",S="[object Object]",x="[object Proxy]",T="[object RegExp]",C="[object Set]",v="[object String]",A="[object Undefined]",b="[object WeakMap]",w="[object ArrayBuffer]",k="[object DataView]",R="[object Float32Array]",F="[object Float64Array]",L="[object Int8Array]",P="[object Int16Array]",O="[object Int32Array]",q="[object Uint8Array]",N="[object Uint8ClampedArray]",_="[object Uint16Array]",G="[object Uint32Array]",B=/[\\^$.*+?()[\]{}|]/g,z=/^\[object .+?Constructor\]$/,H=/^(?:0|[1-9]\d*)$/,ce={};ce[R]=ce[F]=ce[L]=ce[P]=ce[O]=ce[q]=ce[N]=ce[_]=ce[G]=!0,ce[u]=ce[r]=ce[w]=ce[i]=ce[k]=ce[c]=ce[h]=ce[s]=ce[g]=ce[d]=ce[S]=ce[T]=ce[C]=ce[v]=ce[b]=!1;var re=typeof Xt=="object"&&Xt&&Xt.Object===Object&&Xt,Fe=typeof self=="object"&&self&&self.Object===Object&&self,X=re||Fe||Function("return this")(),I=e&&!e.nodeType&&e,W=I&&!0&&a&&!a.nodeType&&a,oe=W&&W.exports===I,ie=oe&&re.process,se=function(){try{var Ae=W&&W.require&&W.require("util").types;return Ae||ie&&ie.binding&&ie.binding("util")}catch{}}(),de=se&&se.isTypedArray;function be(Ae,Me,He){switch(He.length){case 0:return Ae.call(Me);case 1:return Ae.call(Me,He[0]);case 2:return Ae.call(Me,He[0],He[1]);case 3:return Ae.call(Me,He[0],He[1],He[2])}return Ae.apply(Me,He)}function xe(Ae,Me){for(var He=-1,ft=Array(Ae);++He<Ae;)ft[He]=Me(He);return ft}function Te(Ae){return function(Me){return Ae(Me)}}function J(Ae,Me){return Ae?.[Me]}function Q(Ae,Me){return function(He){return Ae(Me(He))}}var ke=Array.prototype,$=Function.prototype,ae=Object.prototype,Ie=X["__core-js_shared__"],Ne=$.toString,Be=ae.hasOwnProperty,j=function(){var Ae=/[^.]+$/.exec(Ie&&Ie.keys&&Ie.keys.IE_PROTO||"");return Ae?"Symbol(src)_1."+Ae:""}(),Qe=ae.toString,ut=Ne.call(Object),rt=RegExp("^"+Ne.call(Be).replace(B,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ze=oe?X.Buffer:void 0,Xe=X.Symbol,ht=X.Uint8Array;ze&&ze.allocUnsafe;var dt=Q(Object.getPrototypeOf,Object),at=Object.create,tt=ae.propertyIsEnumerable,we=ke.splice,Ee=Xe?Xe.toStringTag:void 0,Se=function(){try{var Ae=jt(Object,"defineProperty");return Ae({},"",{}),Ae}catch{}}(),ve=ze?ze.isBuffer:void 0,Pe=Math.max,ee=Date.now,te=jt(X,"Map"),Z=jt(Object,"create"),fe=function(){function Ae(){}return function(Me){if(!K(Me))return{};if(at)return at(Me);Ae.prototype=Me;var He=new Ae;return Ae.prototype=void 0,He}}();function De(Ae){var Me=-1,He=Ae==null?0:Ae.length;for(this.clear();++Me<He;){var ft=Ae[Me];this.set(ft[0],ft[1])}}function Le(){this.__data__=Z?Z(null):{},this.size=0}function me(Ae){var Me=this.has(Ae)&&delete this.__data__[Ae];return this.size-=Me?1:0,Me}function V(Ae){var Me=this.__data__;if(Z){var He=Me[Ae];return He===o?void 0:He}return Be.call(Me,Ae)?Me[Ae]:void 0}function ne(Ae){var Me=this.__data__;return Z?Me[Ae]!==void 0:Be.call(Me,Ae)}function ue(Ae,Me){var He=this.__data__;return this.size+=this.has(Ae)?0:1,He[Ae]=Z&&Me===void 0?o:Me,this}De.prototype.clear=Le,De.prototype.delete=me,De.prototype.get=V,De.prototype.has=ne,De.prototype.set=ue;function Ce(Ae){var Me=-1,He=Ae==null?0:Ae.length;for(this.clear();++Me<He;){var ft=Ae[Me];this.set(ft[0],ft[1])}}function qe(){this.__data__=[],this.size=0}function _e(Ae){var Me=this.__data__,He=xt(Me,Ae);if(He<0)return!1;var ft=Me.length-1;return He==ft?Me.pop():we.call(Me,He,1),--this.size,!0}function Ke(Ae){var Me=this.__data__,He=xt(Me,Ae);return He<0?void 0:Me[He][1]}function Je(Ae){return xt(this.__data__,Ae)>-1}function pe(Ae,Me){var He=this.__data__,ft=xt(He,Ae);return ft<0?(++this.size,He.push([Ae,Me])):He[ft][1]=Me,this}Ce.prototype.clear=qe,Ce.prototype.delete=_e,Ce.prototype.get=Ke,Ce.prototype.has=Je,Ce.prototype.set=pe;function le(Ae){var Me=-1,He=Ae==null?0:Ae.length;for(this.clear();++Me<He;){var ft=Ae[Me];this.set(ft[0],ft[1])}}function ye(){this.size=0,this.__data__={hash:new De,map:new(te||Ce),string:new De}}function Re(Ae){var Me=Wt(this,Ae).delete(Ae);return this.size-=Me?1:0,Me}function Oe(Ae){return Wt(this,Ae).get(Ae)}function it(Ae){return Wt(this,Ae).has(Ae)}function Ge(Ae,Me){var He=Wt(this,Ae),ft=He.size;return He.set(Ae,Me),this.size+=He.size==ft?0:1,this}le.prototype.clear=ye,le.prototype.delete=Re,le.prototype.get=Oe,le.prototype.has=it,le.prototype.set=Ge;function Ze(Ae){var Me=this.__data__=new Ce(Ae);this.size=Me.size}function lt(){this.__data__=new Ce,this.size=0}function Ye(Ae){var Me=this.__data__,He=Me.delete(Ae);return this.size=Me.size,He}function st(Ae){return this.__data__.get(Ae)}function mt(Ae){return this.__data__.has(Ae)}function yt(Ae,Me){var He=this.__data__;if(He instanceof Ce){var ft=He.__data__;if(!te||ft.length<n-1)return ft.push([Ae,Me]),this.size=++He.size,this;He=this.__data__=new le(ft)}return He.set(Ae,Me),this.size=He.size,this}Ze.prototype.clear=lt,Ze.prototype.delete=Ye,Ze.prototype.get=st,Ze.prototype.has=mt,Ze.prototype.set=yt;function pt(Ae,Me){var He=Y(Ae),ft=!He&&M(Ae),St=!He&&!ft&&y(Ae),Tt=!He&&!ft&&!St&&$e(Ae),kt=He||ft||St||Tt,wt=kt?xe(Ae.length,String):[],Dt=wt.length;for(var nr in Ae)kt&&(nr=="length"||St&&(nr=="offset"||nr=="parent")||Tt&&(nr=="buffer"||nr=="byteLength"||nr=="byteOffset")||jr(nr,Dt))||wt.push(nr);return wt}function vt(Ae,Me,He){(He!==void 0&&!We(Ae[Me],He)||He===void 0&&!(Me in Ae))&&Rt(Ae,Me,He)}function Ct(Ae,Me,He){var ft=Ae[Me];(!(Be.call(Ae,Me)&&We(ft,He))||He===void 0&&!(Me in Ae))&&Rt(Ae,Me,He)}function xt(Ae,Me){for(var He=Ae.length;He--;)if(We(Ae[He][0],Me))return He;return-1}function Rt(Ae,Me,He){Me=="__proto__"&&Se?Se(Ae,Me,{configurable:!0,enumerable:!0,value:He,writable:!0}):Ae[Me]=He}var _t=Zt();function Bt(Ae){return Ae==null?Ae===void 0?A:E:Ee&&Ee in Object(Ae)?Nr(Ae):Ur(Ae)}function Ht(Ae){return ge(Ae)&&Bt(Ae)==u}function Gt(Ae){if(!K(Ae)||on(Ae))return!1;var Me=D(Ae)?rt:z;return Me.test(qr(Ae))}function Ot(Ae){return ge(Ae)&&U(Ae.length)&&!!ce[Bt(Ae)]}function $t(Ae){if(!K(Ae))return gr(Ae);var Me=dr(Ae),He=[];for(var ft in Ae)ft=="constructor"&&(Me||!Be.call(Ae,ft))||He.push(ft);return He}function ct(Ae,Me,He,ft,St){Ae!==Me&&_t(Me,function(Tt,kt){if(St||(St=new Ze),K(Tt))Mt(Ae,Me,kt,He,ct,ft,St);else{var wt=ft?ft(pr(Ae,kt),Tt,kt+"",Ae,Me,St):void 0;wt===void 0&&(wt=Tt),vt(Ae,kt,wt)}},ot)}function Mt(Ae,Me,He,ft,St,Tt,kt){var wt=pr(Ae,He),Dt=pr(Me,He),nr=kt.get(Dt);if(nr){vt(Ae,He,nr);return}var Kt=Tt?Tt(wt,Dt,He+"",Ae,Me,kt):void 0,un=Kt===void 0;if(un){var xp=Y(Dt),Cp=!xp&&y(Dt),g0=!xp&&!Cp&&$e(Dt);Kt=Dt,xp||Cp||g0?Y(wt)?Kt=wt:je(wt)?Kt=rr(wt):Cp?(un=!1,Kt=Sr(Dt)):g0?(un=!1,Kt=cr(Dt)):Kt=[]:Ve(Dt)||M(Dt)?(Kt=wt,M(wt)?Kt=nt(wt):(!K(wt)||D(wt))&&(Kt=Mr(Dt))):un=!1}un&&(kt.set(Dt,Kt),St(Kt,Dt,ft,Tt,kt),kt.delete(Dt)),vt(Ae,He,Kt)}function Lt(Ae,Me){return bt(Rr(Ae,Me,At),Ae+"")}var Er=Se?function(Ae,Me){return Se(Ae,"toString",{configurable:!0,enumerable:!1,value:Et(Me),writable:!0})}:At;function Sr(Ae,Me){return Ae.slice()}function Qt(Ae){var Me=new Ae.constructor(Ae.byteLength);return new ht(Me).set(new ht(Ae)),Me}function cr(Ae,Me){var He=Qt(Ae.buffer);return new Ae.constructor(He,Ae.byteOffset,Ae.length)}function rr(Ae,Me){var He=-1,ft=Ae.length;for(Me||(Me=Array(ft));++He<ft;)Me[He]=Ae[He];return Me}function fr(Ae,Me,He,ft){var St=!He;He||(He={});for(var Tt=-1,kt=Me.length;++Tt<kt;){var wt=Me[Tt],Dt=void 0;Dt===void 0&&(Dt=Ae[wt]),St?Rt(He,wt,Dt):Ct(He,wt,Dt)}return He}function br(Ae){return Lt(function(Me,He){var ft=-1,St=He.length,Tt=St>1?He[St-1]:void 0,kt=St>2?He[2]:void 0;for(Tt=Ae.length>3&&typeof Tt=="function"?(St--,Tt):void 0,kt&&Fr(He[0],He[1],kt)&&(Tt=St<3?void 0:Tt,St=1),Me=Object(Me);++ft<St;){var wt=He[ft];wt&&Ae(Me,wt,ft,Tt)}return Me})}function Zt(Ae){return function(Me,He,ft){for(var St=-1,Tt=Object(Me),kt=ft(Me),wt=kt.length;wt--;){var Dt=kt[++St];if(He(Tt[Dt],Dt,Tt)===!1)break}return Me}}function Wt(Ae,Me){var He=Ae.__data__;return an(Me)?He[typeof Me=="string"?"string":"hash"]:He.map}function jt(Ae,Me){var He=J(Ae,Me);return Gt(He)?He:void 0}function Nr(Ae){var Me=Be.call(Ae,Ee),He=Ae[Ee];try{Ae[Ee]=void 0;var ft=!0}catch{}var St=Qe.call(Ae);return ft&&(Me?Ae[Ee]=He:delete Ae[Ee]),St}function Mr(Ae){return typeof Ae.constructor=="function"&&!dr(Ae)?fe(dt(Ae)):{}}function jr(Ae,Me){var He=typeof Ae;return Me=Me??p,!!Me&&(He=="number"||He!="symbol"&&H.test(Ae))&&Ae>-1&&Ae%1==0&&Ae<Me}function Fr(Ae,Me,He){if(!K(He))return!1;var ft=typeof Me;return(ft=="number"?he(He)&&jr(Me,He.length):ft=="string"&&Me in He)?We(He[Me],Ae):!1}function an(Ae){var Me=typeof Ae;return Me=="string"||Me=="number"||Me=="symbol"||Me=="boolean"?Ae!=="__proto__":Ae===null}function on(Ae){return!!j&&j in Ae}function dr(Ae){var Me=Ae&&Ae.constructor,He=typeof Me=="function"&&Me.prototype||ae;return Ae===He}function gr(Ae){var Me=[];if(Ae!=null)for(var He in Object(Ae))Me.push(He);return Me}function Ur(Ae){return Qe.call(Ae)}function Rr(Ae,Me,He){return Me=Pe(Me===void 0?Ae.length-1:Me,0),function(){for(var ft=arguments,St=-1,Tt=Pe(ft.length-Me,0),kt=Array(Tt);++St<Tt;)kt[St]=ft[Me+St];St=-1;for(var wt=Array(Me+1);++St<Me;)wt[St]=ft[St];return wt[Me]=He(kt),be(Ae,this,wt)}}function pr(Ae,Me){if(!(Me==="constructor"&&typeof Ae[Me]=="function")&&Me!="__proto__")return Ae[Me]}var bt=ln(Er);function ln(Ae){var Me=0,He=0;return function(){var ft=ee(),St=l-(ft-He);if(He=ft,St>0){if(++Me>=t)return arguments[0]}else Me=0;return Ae.apply(void 0,arguments)}}function qr(Ae){if(Ae!=null){try{return Ne.call(Ae)}catch{}try{return Ae+""}catch{}}return""}function We(Ae,Me){return Ae===Me||Ae!==Ae&&Me!==Me}var M=Ht(function(){return arguments}())?Ht:function(Ae){return ge(Ae)&&Be.call(Ae,"callee")&&!tt.call(Ae,"callee")},Y=Array.isArray;function he(Ae){return Ae!=null&&U(Ae.length)&&!D(Ae)}function je(Ae){return ge(Ae)&&he(Ae)}var y=ve||Ut;function D(Ae){if(!K(Ae))return!1;var Me=Bt(Ae);return Me==s||Me==f||Me==m||Me==x}function U(Ae){return typeof Ae=="number"&&Ae>-1&&Ae%1==0&&Ae<=p}function K(Ae){var Me=typeof Ae;return Ae!=null&&(Me=="object"||Me=="function")}function ge(Ae){return Ae!=null&&typeof Ae=="object"}function Ve(Ae){if(!ge(Ae)||Bt(Ae)!=S)return!1;var Me=dt(Ae);if(Me===null)return!0;var He=Be.call(Me,"constructor")&&Me.constructor;return typeof He=="function"&&He instanceof He&&Ne.call(He)==ut}var $e=de?Te(de):Ot;function nt(Ae){return fr(Ae,ot(Ae))}function ot(Ae){return he(Ae)?pt(Ae):$t(Ae)}var gt=br(function(Ae,Me,He){ct(Ae,Me,He)});function Et(Ae){return function(){return Ae}}function At(Ae){return Ae}function Ut(){return!1}a.exports=gt}(zr,zr.exports)),zr.exports}var tx="9.34.0",rx={version:tx},dn={},sr=[],Yt=[],nx=typeof Uint8Array<"u"?Uint8Array:Array,Gn=!1;function Xp(){Gn=!0;for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,n=a.length;e<n;++e)sr[e]=a[e],Yt[a.charCodeAt(e)]=e;Yt[45]=62,Yt[95]=63}function sx(a){Gn||Xp();var e,n,o,t,l,p,u=a.length;if(u%4>0)throw new Error("Invalid string. Length must be a multiple of 4");l=a[u-2]==="="?2:a[u-1]==="="?1:0,p=new nx(u*3/4-l),o=l>0?u-4:u;var r=0;for(e=0,n=0;e<o;e+=4,n+=3)t=Yt[a.charCodeAt(e)]<<18|Yt[a.charCodeAt(e+1)]<<12|Yt[a.charCodeAt(e+2)]<<6|Yt[a.charCodeAt(e+3)],p[r++]=t>>16&255,p[r++]=t>>8&255,p[r++]=t&255;return l===2?(t=Yt[a.charCodeAt(e)]<<2|Yt[a.charCodeAt(e+1)]>>4,p[r++]=t&255):l===1&&(t=Yt[a.charCodeAt(e)]<<10|Yt[a.charCodeAt(e+1)]<<4|Yt[a.charCodeAt(e+2)]>>2,p[r++]=t>>8&255,p[r++]=t&255),p}function ax(a){return sr[a>>18&63]+sr[a>>12&63]+sr[a>>6&63]+sr[a&63]}function ix(a,e,n){for(var o,t=[],l=e;l<n;l+=3)o=(a[l]<<16)+(a[l+1]<<8)+a[l+2],t.push(ax(o));return t.join("")}function Jp(a){Gn||Xp();for(var e,n=a.length,o=n%3,t="",l=[],p=16383,u=0,r=n-o;u<r;u+=p)l.push(ix(a,u,u+p>r?r:u+p));return o===1?(e=a[n-1],t+=sr[e>>2],t+=sr[e<<4&63],t+="=="):o===2&&(e=(a[n-2]<<8)+a[n-1],t+=sr[e>>10],t+=sr[e>>4&63],t+=sr[e<<2&63],t+="="),l.push(t),l.join("")}function gn(a,e,n,o,t){var l,p,u=t*8-o-1,r=(1<<u)-1,m=r>>1,i=-7,c=n?t-1:0,h=n?-1:1,s=a[e+c];for(c+=h,l=s&(1<<-i)-1,s>>=-i,i+=u;i>0;l=l*256+a[e+c],c+=h,i-=8);for(p=l&(1<<-i)-1,l>>=-i,i+=o;i>0;p=p*256+a[e+c],c+=h,i-=8);if(l===0)l=1-m;else{if(l===r)return p?NaN:(s?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-m}return(s?-1:1)*p*Math.pow(2,l-o)}function Yp(a,e,n,o,t,l){var p,u,r,m=l*8-t-1,i=(1<<m)-1,c=i>>1,h=t===23?Math.pow(2,-24)-Math.pow(2,-77):0,s=o?0:l-1,f=o?1:-1,g=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+c>=1?e+=h/r:e+=h*Math.pow(2,1-c),e*r>=2&&(p++,r/=2),p+c>=i?(u=0,p=i):p+c>=1?(u=(e*r-1)*Math.pow(2,t),p=p+c):(u=e*Math.pow(2,c-1)*Math.pow(2,t),p=0));t>=8;a[n+s]=u&255,s+=f,u/=256,t-=8);for(p=p<<t|u,m+=t;m>0;a[n+s]=p&255,s+=f,p/=256,m-=8);a[n+s-f]|=g*128}var ox={}.toString,Qp=Array.isArray||function(a){return ox.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 lx=50;et.TYPED_ARRAY_SUPPORT=Xt.TYPED_ARRAY_SUPPORT!==void 0?Xt.TYPED_ARRAY_SUPPORT:!0,yn();function yn(){return et.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function hr(a,e){if(yn()<e)throw new RangeError("Invalid typed array length");return et.TYPED_ARRAY_SUPPORT?(a=new Uint8Array(e),a.__proto__=et.prototype):(a===null&&(a=new et(e)),a.length=e),a}function et(a,e,n){if(!et.TYPED_ARRAY_SUPPORT&&!(this instanceof et))return new et(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 Zp(this,a,e,n)}et.poolSize=8192,et._augment=function(a){return a.__proto__=et.prototype,a};function Zp(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?fx(a,e,n,o):typeof e=="string"?cx(a,e,n):px(a,e)}et.from=function(a,e,n){return Zp(null,a,e,n)},et.TYPED_ARRAY_SUPPORT&&(et.prototype.__proto__=Uint8Array.prototype,et.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&et[Symbol.species]);function em(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 ux(a,e,n,o){return em(e),e<=0?hr(a,e):n!==void 0?typeof o=="string"?hr(a,e).fill(n,o):hr(a,e).fill(n):hr(a,e)}et.alloc=function(a,e,n){return ux(null,a,e,n)};function zn(a,e){if(em(e),a=hr(a,e<0?0:Kn(e)|0),!et.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)a[n]=0;return a}et.allocUnsafe=function(a){return zn(null,a)},et.allocUnsafeSlow=function(a){return zn(null,a)};function cx(a,e,n){if((typeof n!="string"||n==="")&&(n="utf8"),!et.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var o=tm(e,n)|0;a=hr(a,o);var t=a.write(e,n);return t!==o&&(a=a.slice(0,t)),a}function Hn(a,e){var n=e.length<0?0:Kn(e.length)|0;a=hr(a,n);for(var o=0;o<n;o+=1)a[o]=e[o]&255;return a}function fx(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),et.TYPED_ARRAY_SUPPORT?(a=e,a.__proto__=et.prototype):a=Hn(a,e),a}function px(a,e){if(ar(e)){var n=Kn(e.length)|0;return a=hr(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"||Fx(e.length)?hr(a,0):Hn(a,e);if(e.type==="Buffer"&&Qp(e.data))return Hn(a,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function Kn(a){if(a>=yn())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+yn().toString(16)+" bytes");return a|0}et.isBuffer=Rx;function ar(a){return!!(a!=null&&a._isBuffer)}et.compare=function(e,n){if(!ar(e)||!ar(n))throw new TypeError("Arguments must be Buffers");if(e===n)return 0;for(var o=e.length,t=n.length,l=0,p=Math.min(o,t);l<p;++l)if(e[l]!==n[l]){o=e[l],t=n[l];break}return o<t?-1:t<o?1:0},et.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}},et.concat=function(e,n){if(!Qp(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return et.alloc(0);var o;if(n===void 0)for(n=0,o=0;o<e.length;++o)n+=e[o].length;var t=et.allocUnsafe(n),l=0;for(o=0;o<e.length;++o){var p=e[o];if(!ar(p))throw new TypeError('"list" argument must be an Array of Buffers');p.copy(t,l),l+=p.length}return t};function tm(a,e){if(ar(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 Sn(a).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return cm(a).length;default:if(o)return Sn(a).length;e=(""+e).toLowerCase(),o=!0}}et.byteLength=tm;function mx(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 Cx(this,e,n);case"utf8":case"utf-8":return am(this,e,n);case"ascii":return bx(this,e,n);case"latin1":case"binary":return xx(this,e,n);case"base64":return Ex(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wx(this,e,n);default:if(o)throw new TypeError("Unknown encoding: "+a);a=(a+"").toLowerCase(),o=!0}}et.prototype._isBuffer=!0;function wr(a,e,n){var o=a[e];a[e]=a[n],a[n]=o}et.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)wr(this,n,n+1);return this},et.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)wr(this,n,n+3),wr(this,n+1,n+2);return this},et.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)wr(this,n,n+7),wr(this,n+1,n+6),wr(this,n+2,n+5),wr(this,n+3,n+4);return this},et.prototype.toString=function(){var e=this.length|0;return e===0?"":arguments.length===0?am(this,0,e):mx.apply(this,arguments)},et.prototype.equals=function(e){if(!ar(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:et.compare(this,e)===0},et.prototype.inspect=function(){var e="",n=lx;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},et.prototype.compare=function(e,n,o,t,l){if(!ar(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),l===void 0&&(l=this.length),n<0||o>e.length||t<0||l>this.length)throw new RangeError("out of range index");if(t>=l&&n>=o)return 0;if(t>=l)return-1;if(n>=o)return 1;if(n>>>=0,o>>>=0,t>>>=0,l>>>=0,this===e)return 0;for(var p=l-t,u=o-n,r=Math.min(p,u),m=this.slice(t,l),i=e.slice(n,o),c=0;c<r;++c)if(m[c]!==i[c]){p=m[c],u=i[c];break}return p<u?-1:u<p?1:0};function rm(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=et.from(e,o)),ar(e))return e.length===0?-1:nm(a,e,n,o,t);if(typeof e=="number")return e=e&255,et.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?t?Uint8Array.prototype.indexOf.call(a,e,n):Uint8Array.prototype.lastIndexOf.call(a,e,n):nm(a,[e],n,o,t);throw new TypeError("val must be string, number or Buffer")}function nm(a,e,n,o,t){var l=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;l=2,p/=2,u/=2,n/=2}function r(s,f){return l===1?s[f]:s.readUInt16BE(f*l)}var m;if(t){var i=-1;for(m=n;m<p;m++)if(r(a,m)===r(e,i===-1?0:m-i)){if(i===-1&&(i=m),m-i+1===u)return i*l}else i!==-1&&(m-=m-i),i=-1}else for(n+u>p&&(n=p-u),m=n;m>=0;m--){for(var c=!0,h=0;h<u;h++)if(r(a,m+h)!==r(e,h)){c=!1;break}if(c)return m}return-1}et.prototype.includes=function(e,n,o){return this.indexOf(e,n,o)!==-1},et.prototype.indexOf=function(e,n,o){return rm(this,e,n,o,!0)},et.prototype.lastIndexOf=function(e,n,o){return rm(this,e,n,o,!1)};function hx(a,e,n,o){n=Number(n)||0;var t=a.length-n;o?(o=Number(o),o>t&&(o=t)):o=t;var l=e.length;if(l%2!==0)throw new TypeError("Invalid hex string");o>l/2&&(o=l/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 dx(a,e,n,o){return bn(Sn(e,a.length-n),a,n,o)}function sm(a,e,n,o){return bn(Ix(e),a,n,o)}function gx(a,e,n,o){return sm(a,e,n,o)}function yx(a,e,n,o){return bn(cm(e),a,n,o)}function vx(a,e,n,o){return bn(Px(e,a.length-n),a,n,o)}et.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 l=this.length-n;if((o===void 0||o>l)&&(o=l),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 hx(this,e,n,o);case"utf8":case"utf-8":return dx(this,e,n,o);case"ascii":return sm(this,e,n,o);case"latin1":case"binary":return gx(this,e,n,o);case"base64":return yx(this,e,n,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return vx(this,e,n,o);default:if(p)throw new TypeError("Unknown encoding: "+t);t=(""+t).toLowerCase(),p=!0}},et.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ex(a,e,n){return e===0&&n===a.length?Jp(a):Jp(a.slice(e,n))}function am(a,e,n){n=Math.min(a.length,n);for(var o=[],t=e;t<n;){var l=a[t],p=null,u=l>239?4:l>223?3:l>191?2:1;if(t+u<=n){var r,m,i,c;switch(u){case 1:l<128&&(p=l);break;case 2:r=a[t+1],(r&192)===128&&(c=(l&31)<<6|r&63,c>127&&(p=c));break;case 3:r=a[t+1],m=a[t+2],(r&192)===128&&(m&192)===128&&(c=(l&15)<<12|(r&63)<<6|m&63,c>2047&&(c<55296||c>57343)&&(p=c));break;case 4:r=a[t+1],m=a[t+2],i=a[t+3],(r&192)===128&&(m&192)===128&&(i&192)===128&&(c=(l&15)<<18|(r&63)<<12|(m&63)<<6|i&63,c>65535&&c<1114112&&(p=c))}}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 Sx(o)}var im=4096;function Sx(a){var e=a.length;if(e<=im)return String.fromCharCode.apply(String,a);for(var n="",o=0;o<e;)n+=String.fromCharCode.apply(String,a.slice(o,o+=im));return n}function bx(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 xx(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 Cx(a,e,n){var o=a.length;(!e||e<0)&&(e=0),(!n||n<0||n>o)&&(n=o);for(var t="",l=e;l<n;++l)t+=Dx(a[l]);return t}function wx(a,e,n){for(var o=a.slice(e,n),t="",l=0;l<o.length;l+=2)t+=String.fromCharCode(o[l]+o[l+1]*256);return t}et.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(et.TYPED_ARRAY_SUPPORT)t=this.subarray(e,n),t.__proto__=et.prototype;else{var l=n-e;t=new et(l,void 0);for(var p=0;p<l;++p)t[p]=this[p+e]}return t};function Nt(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")}et.prototype.readUIntLE=function(e,n,o){e=e|0,n=n|0,o||Nt(e,n,this.length);for(var t=this[e],l=1,p=0;++p<n&&(l*=256);)t+=this[e+p]*l;return t},et.prototype.readUIntBE=function(e,n,o){e=e|0,n=n|0,o||Nt(e,n,this.length);for(var t=this[e+--n],l=1;n>0&&(l*=256);)t+=this[e+--n]*l;return t},et.prototype.readUInt8=function(e,n){return n||Nt(e,1,this.length),this[e]},et.prototype.readUInt16LE=function(e,n){return n||Nt(e,2,this.length),this[e]|this[e+1]<<8},et.prototype.readUInt16BE=function(e,n){return n||Nt(e,2,this.length),this[e]<<8|this[e+1]},et.prototype.readUInt32LE=function(e,n){return n||Nt(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},et.prototype.readUInt32BE=function(e,n){return n||Nt(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},et.prototype.readIntLE=function(e,n,o){e=e|0,n=n|0,o||Nt(e,n,this.length);for(var t=this[e],l=1,p=0;++p<n&&(l*=256);)t+=this[e+p]*l;return l*=128,t>=l&&(t-=Math.pow(2,8*n)),t},et.prototype.readIntBE=function(e,n,o){e=e|0,n=n|0,o||Nt(e,n,this.length);for(var t=n,l=1,p=this[e+--t];t>0&&(l*=256);)p+=this[e+--t]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*n)),p},et.prototype.readInt8=function(e,n){return n||Nt(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},et.prototype.readInt16LE=function(e,n){n||Nt(e,2,this.length);var o=this[e]|this[e+1]<<8;return o&32768?o|4294901760:o},et.prototype.readInt16BE=function(e,n){n||Nt(e,2,this.length);var o=this[e+1]|this[e]<<8;return o&32768?o|4294901760:o},et.prototype.readInt32LE=function(e,n){return n||Nt(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},et.prototype.readInt32BE=function(e,n){return n||Nt(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},et.prototype.readFloatLE=function(e,n){return n||Nt(e,4,this.length),gn(this,e,!0,23,4)},et.prototype.readFloatBE=function(e,n){return n||Nt(e,4,this.length),gn(this,e,!1,23,4)},et.prototype.readDoubleLE=function(e,n){return n||Nt(e,8,this.length),gn(this,e,!0,52,8)},et.prototype.readDoubleBE=function(e,n){return n||Nt(e,8,this.length),gn(this,e,!1,52,8)};function zt(a,e,n,o,t,l){if(!ar(a))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>t||e<l)throw new RangeError('"value" argument is out of bounds');if(n+o>a.length)throw new RangeError("Index out of range")}et.prototype.writeUIntLE=function(e,n,o,t){if(e=+e,n=n|0,o=o|0,!t){var l=Math.pow(2,8*o)-1;zt(this,e,n,o,l,0)}var p=1,u=0;for(this[n]=e&255;++u<o&&(p*=256);)this[n+u]=e/p&255;return n+o},et.prototype.writeUIntBE=function(e,n,o,t){if(e=+e,n=n|0,o=o|0,!t){var l=Math.pow(2,8*o)-1;zt(this,e,n,o,l,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},et.prototype.writeUInt8=function(e,n,o){return e=+e,n=n|0,o||zt(this,e,n,1,255,0),et.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[n]=e&255,n+1};function vn(a,e,n,o){e<0&&(e=65535+e+1);for(var t=0,l=Math.min(a.length-n,2);t<l;++t)a[n+t]=(e&255<<8*(o?t:1-t))>>>(o?t:1-t)*8}et.prototype.writeUInt16LE=function(e,n,o){return e=+e,n=n|0,o||zt(this,e,n,2,65535,0),et.TYPED_ARRAY_SUPPORT?(this[n]=e&255,this[n+1]=e>>>8):vn(this,e,n,!0),n+2},et.prototype.writeUInt16BE=function(e,n,o){return e=+e,n=n|0,o||zt(this,e,n,2,65535,0),et.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=e&255):vn(this,e,n,!1),n+2};function En(a,e,n,o){e<0&&(e=4294967295+e+1);for(var t=0,l=Math.min(a.length-n,4);t<l;++t)a[n+t]=e>>>(o?t:3-t)*8&255}et.prototype.writeUInt32LE=function(e,n,o){return e=+e,n=n|0,o||zt(this,e,n,4,4294967295,0),et.TYPED_ARRAY_SUPPORT?(this[n+3]=e>>>24,this[n+2]=e>>>16,this[n+1]=e>>>8,this[n]=e&255):En(this,e,n,!0),n+4},et.prototype.writeUInt32BE=function(e,n,o){return e=+e,n=n|0,o||zt(this,e,n,4,4294967295,0),et.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=e&255):En(this,e,n,!1),n+4},et.prototype.writeIntLE=function(e,n,o,t){if(e=+e,n=n|0,!t){var l=Math.pow(2,8*o-1);zt(this,e,n,o,l-1,-l)}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},et.prototype.writeIntBE=function(e,n,o,t){if(e=+e,n=n|0,!t){var l=Math.pow(2,8*o-1);zt(this,e,n,o,l-1,-l)}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},et.prototype.writeInt8=function(e,n,o){return e=+e,n=n|0,o||zt(this,e,n,1,127,-128),et.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[n]=e&255,n+1},et.prototype.writeInt16LE=function(e,n,o){return e=+e,n=n|0,o||zt(this,e,n,2,32767,-32768),et.TYPED_ARRAY_SUPPORT?(this[n]=e&255,this[n+1]=e>>>8):vn(this,e,n,!0),n+2},et.prototype.writeInt16BE=function(e,n,o){return e=+e,n=n|0,o||zt(this,e,n,2,32767,-32768),et.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=e&255):vn(this,e,n,!1),n+2},et.prototype.writeInt32LE=function(e,n,o){return e=+e,n=n|0,o||zt(this,e,n,4,2147483647,-2147483648),et.TYPED_ARRAY_SUPPORT?(this[n]=e&255,this[n+1]=e>>>8,this[n+2]=e>>>16,this[n+3]=e>>>24):En(this,e,n,!0),n+4},et.prototype.writeInt32BE=function(e,n,o){return e=+e,n=n|0,o||zt(this,e,n,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),et.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=e&255):En(this,e,n,!1),n+4};function om(a,e,n,o,t,l){if(n+o>a.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function lm(a,e,n,o,t){return t||om(a,e,n,4),Yp(a,e,n,o,23,4),n+4}et.prototype.writeFloatLE=function(e,n,o){return lm(this,e,n,!0,o)},et.prototype.writeFloatBE=function(e,n,o){return lm(this,e,n,!1,o)};function um(a,e,n,o,t){return t||om(a,e,n,8),Yp(a,e,n,o,52,8),n+8}et.prototype.writeDoubleLE=function(e,n,o){return um(this,e,n,!0,o)},et.prototype.writeDoubleBE=function(e,n,o){return um(this,e,n,!1,o)},et.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 l=t-o,p;if(this===e&&o<n&&n<t)for(p=l-1;p>=0;--p)e[p+n]=this[p+o];else if(l<1e3||!et.TYPED_ARRAY_SUPPORT)for(p=0;p<l;++p)e[p+n]=this[p+o];else Uint8Array.prototype.set.call(e,this.subarray(o,o+l),n);return l},et.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 l=e.charCodeAt(0);l<256&&(e=l)}if(t!==void 0&&typeof t!="string")throw new TypeError("encoding must be a string");if(typeof t=="string"&&!et.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=ar(e)?e:Sn(new et(e,t).toString()),r=u.length;for(p=0;p<o-n;++p)this[p+n]=u[p%r]}return this};var Ax=/[^+\/0-9A-Za-z-_]/g;function Tx(a){if(a=kx(a).replace(Ax,""),a.length<2)return"";for(;a.length%4!==0;)a=a+"=";return a}function kx(a){return a.trim?a.trim():a.replace(/^\s+|\s+$/g,"")}function Dx(a){return a<16?"0"+a.toString(16):a.toString(16)}function Sn(a,e){e=e||1/0;for(var n,o=a.length,t=null,l=[],p=0;p<o;++p){if(n=a.charCodeAt(p),n>55295&&n<57344){if(!t){if(n>56319){(e-=3)>-1&&l.push(239,191,189);continue}else if(p+1===o){(e-=3)>-1&&l.push(239,191,189);continue}t=n;continue}if(n<56320){(e-=3)>-1&&l.push(239,191,189),t=n;continue}n=(t-55296<<10|n-56320)+65536}else t&&(e-=3)>-1&&l.push(239,191,189);if(t=null,n<128){if((e-=1)<0)break;l.push(n)}else if(n<2048){if((e-=2)<0)break;l.push(n>>6|192,n&63|128)}else if(n<65536){if((e-=3)<0)break;l.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((e-=4)<0)break;l.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return l}function Ix(a){for(var e=[],n=0;n<a.length;++n)e.push(a.charCodeAt(n)&255);return e}function Px(a,e){for(var n,o,t,l=[],p=0;p<a.length&&!((e-=2)<0);++p)n=a.charCodeAt(p),o=n>>8,t=n%256,l.push(t),l.push(o);return l}function cm(a){return sx(Tx(a))}function bn(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 Fx(a){return a!==a}function Rx(a){return a!=null&&(!!a._isBuffer||fm(a)||_x(a))}function fm(a){return!!a.constructor&&typeof a.constructor.isBuffer=="function"&&a.constructor.isBuffer(a)}function _x(a){return typeof a.readFloatLE=="function"&&typeof a.slice=="function"&&fm(a.slice(0,0))}var xn;typeof Object.create=="function"?xn=function(e,n){e.super_=n,e.prototype=Object.create(n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:xn=function(e,n){e.super_=n;var o=function(){};o.prototype=n.prototype,e.prototype=new o,e.prototype.constructor=e};var pm=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},Bx=/%[sdj%]/g;function Cn(a){if(!Kr(a)){for(var e=[],n=0;n<arguments.length;n++)e.push(ir(arguments[n]));return e.join(" ")}for(var n=1,o=arguments,t=o.length,l=String(a).replace(Bx,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])Hr(p)||!Ar(p)?l+=" "+p:l+=" "+ir(p);return l}function Xn(a,e){if(or(Xt.process))return function(){return Xn(a,e).apply(this,arguments)};if(Ft.noDeprecation===!0)return a;var n=!1;function o(){if(!n){if(Ft.throwDeprecation)throw new Error(e);Ft.traceDeprecation?console.trace(e):console.error(e),n=!0}return a.apply(this,arguments)}return o}var wn={},Jn;function mm(a){if(or(Jn)&&(Jn=Ft.env.NODE_DEBUG||""),a=a.toUpperCase(),!wn[a])if(new RegExp("\\b"+a+"\\b","i").test(Jn)){var e=0;wn[a]=function(){var n=Cn.apply(null,arguments);console.error("%s %d: %s",a,e,n)}}else wn[a]=function(){};return wn[a]}function ir(a,e){var n={seen:[],stylize:Ox};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Tn(e)?n.showHidden=e:e&&ns(n,e),or(n.showHidden)&&(n.showHidden=!1),or(n.depth)&&(n.depth=2),or(n.colors)&&(n.colors=!1),or(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Lx),An(n,a,n.depth)}ir.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]},ir.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function Lx(a,e){var n=ir.styles[e];return n?"\x1B["+ir.colors[n][0]+"m"+a+"\x1B["+ir.colors[n][1]+"m":a}function Ox(a,e){return a}function Nx(a){var e={};return a.forEach(function(n,o){e[n]=!0}),e}function An(a,e,n){if(a.customInspect&&e&&Yr(e.inspect)&&e.inspect!==ir&&!(e.constructor&&e.constructor.prototype===e)){var o=e.inspect(n,a);return Kr(o)||(o=An(a,o,n)),o}var t=Mx(a,e);if(t)return t;var l=Object.keys(e),p=Nx(l);if(a.showHidden&&(l=Object.getOwnPropertyNames(e)),Jr(e)&&(l.indexOf("message")>=0||l.indexOf("description")>=0))return Yn(e);if(l.length===0){if(Yr(e)){var u=e.name?": "+e.name:"";return a.stylize("[Function"+u+"]","special")}if(Xr(e))return a.stylize(RegExp.prototype.toString.call(e),"regexp");if(kn(e))return a.stylize(Date.prototype.toString.call(e),"date");if(Jr(e))return Yn(e)}var r="",m=!1,i=["{","}"];if(Zn(e)&&(m=!0,i=["[","]"]),Yr(e)){var c=e.name?": "+e.name:"";r=" [Function"+c+"]"}if(Xr(e)&&(r=" "+RegExp.prototype.toString.call(e)),kn(e)&&(r=" "+Date.prototype.toUTCString.call(e)),Jr(e)&&(r=" "+Yn(e)),l.length===0&&(!m||e.length==0))return i[0]+r+i[1];if(n<0)return Xr(e)?a.stylize(RegExp.prototype.toString.call(e),"regexp"):a.stylize("[Object]","special");a.seen.push(e);var h;return m?h=jx(a,e,n,p,l):h=l.map(function(s){return Qn(a,e,n,p,s,m)}),a.seen.pop(),Ux(h,r,i)}function Mx(a,e){if(or(e))return a.stylize("undefined","undefined");if(Kr(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return a.stylize(n,"string")}if(es(e))return a.stylize(""+e,"number");if(Tn(e))return a.stylize(""+e,"boolean");if(Hr(e))return a.stylize("null","null")}function Yn(a){return"["+Error.prototype.toString.call(a)+"]"}function jx(a,e,n,o,t){for(var l=[],p=0,u=e.length;p<u;++p)Em(e,String(p))?l.push(Qn(a,e,n,o,String(p),!0)):l.push("");return t.forEach(function(r){r.match(/^\d+$/)||l.push(Qn(a,e,n,o,r,!0))}),l}function Qn(a,e,n,o,t,l){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")),Em(o,t)||(p="["+t+"]"),u||(a.seen.indexOf(r.value)<0?(Hr(n)?u=An(a,r.value,null):u=An(a,r.value,n-1),u.indexOf(`
18
- `)>-1&&(l?u=u.split(`
19
- `).map(function(m){return" "+m}).join(`
20
- `).substr(2):u=`
21
- `+u.split(`
22
- `).map(function(m){return" "+m}).join(`
23
- `))):u=a.stylize("[Circular]","special")),or(p)){if(l&&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 Ux(a,e,n){var o=a.reduce(function(t,l){return l.indexOf(`
24
- `)>=0,t+l.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 Zn(a){return Array.isArray(a)}function Tn(a){return typeof a=="boolean"}function Hr(a){return a===null}function hm(a){return a==null}function es(a){return typeof a=="number"}function Kr(a){return typeof a=="string"}function dm(a){return typeof a=="symbol"}function or(a){return a===void 0}function Xr(a){return Ar(a)&&ts(a)==="[object RegExp]"}function Ar(a){return typeof a=="object"&&a!==null}function kn(a){return Ar(a)&&ts(a)==="[object Date]"}function Jr(a){return Ar(a)&&(ts(a)==="[object Error]"||a instanceof Error)}function Yr(a){return typeof a=="function"}function gm(a){return a===null||typeof a=="boolean"||typeof a=="number"||typeof a=="string"||typeof a=="symbol"||typeof a>"u"}function ym(a){return et.isBuffer(a)}function ts(a){return Object.prototype.toString.call(a)}function rs(a){return a<10?"0"+a.toString(10):a.toString(10)}var qx=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Vx(){var a=new Date,e=[rs(a.getHours()),rs(a.getMinutes()),rs(a.getSeconds())].join(":");return[a.getDate(),qx[a.getMonth()],e].join(" ")}function vm(){console.log("%s - %s",Vx(),Cn.apply(null,arguments))}function ns(a,e){if(!e||!Ar(e))return a;for(var n=Object.keys(e),o=n.length;o--;)a[n[o]]=e[n[o]];return a}function Em(a,e){return Object.prototype.hasOwnProperty.call(a,e)}var Tr=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function ss(a){if(typeof a!="function")throw new TypeError('The "original" argument must be of type Function');if(Tr&&a[Tr]){var e=a[Tr];if(typeof e!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,Tr,{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}),l=[],p=0;p<arguments.length;p++)l.push(arguments[p]);l.push(function(u,r){u?o(u):n(r)});try{a.apply(this,l)}catch(u){o(u)}return t}return Object.setPrototypeOf(e,Object.getPrototypeOf(a)),Tr&&Object.defineProperty(e,Tr,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,pm(a))}ss.custom=Tr;function $x(a,e){if(!a){var n=new Error("Promise was rejected with a falsy value");n.reason=a,a=n}return e(a)}function Sm(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 l=this,p=function(){return t.apply(l,arguments)};a.apply(this,n).then(function(u){Ft.nextTick(p.bind(null,null,u))},function(u){Ft.nextTick($x.bind(null,u,p))})}return Object.setPrototypeOf(e,Object.getPrototypeOf(a)),Object.defineProperties(e,pm(a)),e}var Wx={inherits:xn,_extend:ns,log:vm,isBuffer:ym,isPrimitive:gm,isFunction:Yr,isError:Jr,isDate:kn,isObject:Ar,isRegExp:Xr,isUndefined:or,isSymbol:dm,isString:Kr,isNumber:es,isNullOrUndefined:hm,isNull:Hr,isBoolean:Tn,isArray:Zn,inspect:ir,deprecate:Xn,format:Cn,debuglog:mm,promisify:ss,callbackify:Sm},Gx=Object.freeze({__proto__:null,_extend:ns,callbackify:Sm,debuglog:mm,default:Wx,deprecate:Xn,format:Cn,inherits:xn,inspect:ir,isArray:Zn,isBoolean:Tn,isBuffer:ym,isDate:kn,isError:Jr,isFunction:Yr,isNull:Hr,isNullOrUndefined:hm,isNumber:es,isObject:Ar,isPrimitive:gm,isRegExp:Xr,isString:Kr,isSymbol:dm,isUndefined:or,log:vm,promisify:ss}),zx=wp(Gx),Dn={exports:{}};/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */var bm;function Hx(){return bm||(bm=1,function(a,e){(function(n,o){o(e)})(this,function(n){function o(){for(var pe=arguments.length,le=Array(pe),ye=0;ye<pe;ye++)le[ye]=arguments[ye];if(le.length>1){le[0]=le[0].slice(0,-1);for(var Re=le.length-1,Oe=1;Oe<Re;++Oe)le[Oe]=le[Oe].slice(1,-1);return le[Re]=le[Re].slice(1),le.join("")}else return le[0]}function t(pe){return"(?:"+pe+")"}function l(pe){return pe===void 0?"undefined":pe===null?"null":Object.prototype.toString.call(pe).split(" ").pop().split("]").shift().toLowerCase()}function p(pe){return pe.toUpperCase()}function u(pe){return pe!=null?pe instanceof Array?pe:typeof pe.length!="number"||pe.split||pe.setInterval||pe.call?[pe]:Array.prototype.slice.call(pe):[]}function r(pe,le){var ye=pe;if(le)for(var Re in le)ye[Re]=le[Re];return ye}function m(pe){var le="[A-Za-z]",ye="[0-9]",Re=o(ye,"[A-Fa-f]"),Oe=t(t("%[EFef]"+Re+"%"+Re+Re+"%"+Re+Re)+"|"+t("%[89A-Fa-f]"+Re+"%"+Re+Re)+"|"+t("%"+Re+Re)),it="[\\:\\/\\?\\#\\[\\]\\@]",Ge="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",Ze=o(it,Ge),lt=pe?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",Ye=pe?"[\\uE000-\\uF8FF]":"[]",st=o(le,ye,"[\\-\\.\\_\\~]",lt);t(le+o(le,ye,"[\\+\\-\\.]")+"*"),t(t(Oe+"|"+o(st,Ge,"[\\:]"))+"*");var mt=t(t("25[0-5]")+"|"+t("2[0-4]"+ye)+"|"+t("1"+ye+ye)+"|"+t("0?[1-9]"+ye)+"|0?0?"+ye),yt=t(mt+"\\."+mt+"\\."+mt+"\\."+mt),pt=t(Re+"{1,4}"),vt=t(t(pt+"\\:"+pt)+"|"+yt),Ct=t(t(pt+"\\:")+"{6}"+vt),xt=t("\\:\\:"+t(pt+"\\:")+"{5}"+vt),Rt=t(t(pt)+"?\\:\\:"+t(pt+"\\:")+"{4}"+vt),_t=t(t(t(pt+"\\:")+"{0,1}"+pt)+"?\\:\\:"+t(pt+"\\:")+"{3}"+vt),Bt=t(t(t(pt+"\\:")+"{0,2}"+pt)+"?\\:\\:"+t(pt+"\\:")+"{2}"+vt),Ht=t(t(t(pt+"\\:")+"{0,3}"+pt)+"?\\:\\:"+pt+"\\:"+vt),Gt=t(t(t(pt+"\\:")+"{0,4}"+pt)+"?\\:\\:"+vt),Ot=t(t(t(pt+"\\:")+"{0,5}"+pt)+"?\\:\\:"+pt),$t=t(t(t(pt+"\\:")+"{0,6}"+pt)+"?\\:\\:"),ct=t([Ct,xt,Rt,_t,Bt,Ht,Gt,Ot,$t].join("|")),Mt=t(t(st+"|"+Oe)+"+");t("[vV]"+Re+"+\\."+o(st,Ge,"[\\:]")+"+"),t(t(Oe+"|"+o(st,Ge))+"*");var Lt=t(Oe+"|"+o(st,Ge,"[\\:\\@]"));return t(t(Oe+"|"+o(st,Ge,"[\\@]"))+"+"),t(t(Lt+"|"+o("[\\/\\?]",Ye))+"*"),{NOT_SCHEME:new RegExp(o("[^]",le,ye,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(o("[^\\%\\:]",st,Ge),"g"),NOT_HOST:new RegExp(o("[^\\%\\[\\]\\:]",st,Ge),"g"),NOT_PATH:new RegExp(o("[^\\%\\/\\:\\@]",st,Ge),"g"),NOT_PATH_NOSCHEME:new RegExp(o("[^\\%\\/\\@]",st,Ge),"g"),NOT_QUERY:new RegExp(o("[^\\%]",st,Ge,"[\\:\\@\\/\\?]",Ye),"g"),NOT_FRAGMENT:new RegExp(o("[^\\%]",st,Ge,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(o("[^]",st,Ge),"g"),UNRESERVED:new RegExp(st,"g"),OTHER_CHARS:new RegExp(o("[^\\%]",st,Ze),"g"),PCT_ENCODED:new RegExp(Oe,"g"),IPV4ADDRESS:new RegExp("^("+yt+")$"),IPV6ADDRESS:new RegExp("^\\[?("+ct+")"+t(t("\\%25|\\%(?!"+Re+"{2})")+"("+Mt+")")+"?\\]?$")}}var i=m(!1),c=m(!0),h=function(){function pe(le,ye){var Re=[],Oe=!0,it=!1,Ge=void 0;try{for(var Ze=le[Symbol.iterator](),lt;!(Oe=(lt=Ze.next()).done)&&(Re.push(lt.value),!(ye&&Re.length===ye));Oe=!0);}catch(Ye){it=!0,Ge=Ye}finally{try{!Oe&&Ze.return&&Ze.return()}finally{if(it)throw Ge}}return Re}return function(le,ye){if(Array.isArray(le))return le;if(Symbol.iterator in Object(le))return pe(le,ye);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(pe){if(Array.isArray(pe)){for(var le=0,ye=Array(pe.length);le<pe.length;le++)ye[le]=pe[le];return ye}else return Array.from(pe)},f=2147483647,g=36,d=1,E=26,S=38,x=700,T=72,C=128,v="-",A=/^xn--/,b=/[^\0-\x7E]/,w=/[\x2E\u3002\uFF0E\uFF61]/g,k={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},R=g-d,F=Math.floor,L=String.fromCharCode;function P(pe){throw new RangeError(k[pe])}function O(pe,le){for(var ye=[],Re=pe.length;Re--;)ye[Re]=le(pe[Re]);return ye}function q(pe,le){var ye=pe.split("@"),Re="";ye.length>1&&(Re=ye[0]+"@",pe=ye[1]),pe=pe.replace(w,".");var Oe=pe.split("."),it=O(Oe,le).join(".");return Re+it}function N(pe){for(var le=[],ye=0,Re=pe.length;ye<Re;){var Oe=pe.charCodeAt(ye++);if(Oe>=55296&&Oe<=56319&&ye<Re){var it=pe.charCodeAt(ye++);(it&64512)==56320?le.push(((Oe&1023)<<10)+(it&1023)+65536):(le.push(Oe),ye--)}else le.push(Oe)}return le}var _=function(le){return String.fromCodePoint.apply(String,s(le))},G=function(le){return le-48<10?le-22:le-65<26?le-65:le-97<26?le-97:g},B=function(le,ye){return le+22+75*(le<26)-((ye!=0)<<5)},z=function(le,ye,Re){var Oe=0;for(le=Re?F(le/x):le>>1,le+=F(le/ye);le>R*E>>1;Oe+=g)le=F(le/R);return F(Oe+(R+1)*le/(le+S))},H=function(le){var ye=[],Re=le.length,Oe=0,it=C,Ge=T,Ze=le.lastIndexOf(v);Ze<0&&(Ze=0);for(var lt=0;lt<Ze;++lt)le.charCodeAt(lt)>=128&&P("not-basic"),ye.push(le.charCodeAt(lt));for(var Ye=Ze>0?Ze+1:0;Ye<Re;){for(var st=Oe,mt=1,yt=g;;yt+=g){Ye>=Re&&P("invalid-input");var pt=G(le.charCodeAt(Ye++));(pt>=g||pt>F((f-Oe)/mt))&&P("overflow"),Oe+=pt*mt;var vt=yt<=Ge?d:yt>=Ge+E?E:yt-Ge;if(pt<vt)break;var Ct=g-vt;mt>F(f/Ct)&&P("overflow"),mt*=Ct}var xt=ye.length+1;Ge=z(Oe-st,xt,st==0),F(Oe/xt)>f-it&&P("overflow"),it+=F(Oe/xt),Oe%=xt,ye.splice(Oe++,0,it)}return String.fromCodePoint.apply(String,ye)},ce=function(le){var ye=[];le=N(le);var Re=le.length,Oe=C,it=0,Ge=T,Ze=!0,lt=!1,Ye=void 0;try{for(var st=le[Symbol.iterator](),mt;!(Ze=(mt=st.next()).done);Ze=!0){var yt=mt.value;yt<128&&ye.push(L(yt))}}catch(Zt){lt=!0,Ye=Zt}finally{try{!Ze&&st.return&&st.return()}finally{if(lt)throw Ye}}var pt=ye.length,vt=pt;for(pt&&ye.push(v);vt<Re;){var Ct=f,xt=!0,Rt=!1,_t=void 0;try{for(var Bt=le[Symbol.iterator](),Ht;!(xt=(Ht=Bt.next()).done);xt=!0){var Gt=Ht.value;Gt>=Oe&&Gt<Ct&&(Ct=Gt)}}catch(Zt){Rt=!0,_t=Zt}finally{try{!xt&&Bt.return&&Bt.return()}finally{if(Rt)throw _t}}var Ot=vt+1;Ct-Oe>F((f-it)/Ot)&&P("overflow"),it+=(Ct-Oe)*Ot,Oe=Ct;var $t=!0,ct=!1,Mt=void 0;try{for(var Lt=le[Symbol.iterator](),Er;!($t=(Er=Lt.next()).done);$t=!0){var Sr=Er.value;if(Sr<Oe&&++it>f&&P("overflow"),Sr==Oe){for(var Qt=it,cr=g;;cr+=g){var rr=cr<=Ge?d:cr>=Ge+E?E:cr-Ge;if(Qt<rr)break;var fr=Qt-rr,br=g-rr;ye.push(L(B(rr+fr%br,0))),Qt=F(fr/br)}ye.push(L(B(Qt,0))),Ge=z(it,Ot,vt==pt),it=0,++vt}}}catch(Zt){ct=!0,Mt=Zt}finally{try{!$t&&Lt.return&&Lt.return()}finally{if(ct)throw Mt}}++it,++Oe}return ye.join("")},re=function(le){return q(le,function(ye){return A.test(ye)?H(ye.slice(4).toLowerCase()):ye})},Fe=function(le){return q(le,function(ye){return b.test(ye)?"xn--"+ce(ye):ye})},X={version:"2.1.0",ucs2:{decode:N,encode:_},decode:H,encode:ce,toASCII:Fe,toUnicode:re},I={};function W(pe){var le=pe.charCodeAt(0),ye=void 0;return le<16?ye="%0"+le.toString(16).toUpperCase():le<128?ye="%"+le.toString(16).toUpperCase():le<2048?ye="%"+(le>>6|192).toString(16).toUpperCase()+"%"+(le&63|128).toString(16).toUpperCase():ye="%"+(le>>12|224).toString(16).toUpperCase()+"%"+(le>>6&63|128).toString(16).toUpperCase()+"%"+(le&63|128).toString(16).toUpperCase(),ye}function oe(pe){for(var le="",ye=0,Re=pe.length;ye<Re;){var Oe=parseInt(pe.substr(ye+1,2),16);if(Oe<128)le+=String.fromCharCode(Oe),ye+=3;else if(Oe>=194&&Oe<224){if(Re-ye>=6){var it=parseInt(pe.substr(ye+4,2),16);le+=String.fromCharCode((Oe&31)<<6|it&63)}else le+=pe.substr(ye,6);ye+=6}else if(Oe>=224){if(Re-ye>=9){var Ge=parseInt(pe.substr(ye+4,2),16),Ze=parseInt(pe.substr(ye+7,2),16);le+=String.fromCharCode((Oe&15)<<12|(Ge&63)<<6|Ze&63)}else le+=pe.substr(ye,9);ye+=9}else le+=pe.substr(ye,3),ye+=3}return le}function ie(pe,le){function ye(Re){var Oe=oe(Re);return Oe.match(le.UNRESERVED)?Oe:Re}return pe.scheme&&(pe.scheme=String(pe.scheme).replace(le.PCT_ENCODED,ye).toLowerCase().replace(le.NOT_SCHEME,"")),pe.userinfo!==void 0&&(pe.userinfo=String(pe.userinfo).replace(le.PCT_ENCODED,ye).replace(le.NOT_USERINFO,W).replace(le.PCT_ENCODED,p)),pe.host!==void 0&&(pe.host=String(pe.host).replace(le.PCT_ENCODED,ye).toLowerCase().replace(le.NOT_HOST,W).replace(le.PCT_ENCODED,p)),pe.path!==void 0&&(pe.path=String(pe.path).replace(le.PCT_ENCODED,ye).replace(pe.scheme?le.NOT_PATH:le.NOT_PATH_NOSCHEME,W).replace(le.PCT_ENCODED,p)),pe.query!==void 0&&(pe.query=String(pe.query).replace(le.PCT_ENCODED,ye).replace(le.NOT_QUERY,W).replace(le.PCT_ENCODED,p)),pe.fragment!==void 0&&(pe.fragment=String(pe.fragment).replace(le.PCT_ENCODED,ye).replace(le.NOT_FRAGMENT,W).replace(le.PCT_ENCODED,p)),pe}function se(pe){return pe.replace(/^0*(.*)/,"$1")||"0"}function de(pe,le){var ye=pe.match(le.IPV4ADDRESS)||[],Re=h(ye,2),Oe=Re[1];return Oe?Oe.split(".").map(se).join("."):pe}function be(pe,le){var ye=pe.match(le.IPV6ADDRESS)||[],Re=h(ye,3),Oe=Re[1],it=Re[2];if(Oe){for(var Ge=Oe.toLowerCase().split("::").reverse(),Ze=h(Ge,2),lt=Ze[0],Ye=Ze[1],st=Ye?Ye.split(":").map(se):[],mt=lt.split(":").map(se),yt=le.IPV4ADDRESS.test(mt[mt.length-1]),pt=yt?7:8,vt=mt.length-pt,Ct=Array(pt),xt=0;xt<pt;++xt)Ct[xt]=st[xt]||mt[vt+xt]||"";yt&&(Ct[pt-1]=de(Ct[pt-1],le));var Rt=Ct.reduce(function(Ot,$t,ct){if(!$t||$t==="0"){var Mt=Ot[Ot.length-1];Mt&&Mt.index+Mt.length===ct?Mt.length++:Ot.push({index:ct,length:1})}return Ot},[]),_t=Rt.sort(function(Ot,$t){return $t.length-Ot.length})[0],Bt=void 0;if(_t&&_t.length>1){var Ht=Ct.slice(0,_t.index),Gt=Ct.slice(_t.index+_t.length);Bt=Ht.join(":")+"::"+Gt.join(":")}else Bt=Ct.join(":");return it&&(Bt+="%"+it),Bt}else return pe}var xe=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Te="".match(/(){0}/)[1]===void 0;function J(pe){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ye={},Re=le.iri!==!1?c:i;le.reference==="suffix"&&(pe=(le.scheme?le.scheme+":":"")+"//"+pe);var Oe=pe.match(xe);if(Oe){Te?(ye.scheme=Oe[1],ye.userinfo=Oe[3],ye.host=Oe[4],ye.port=parseInt(Oe[5],10),ye.path=Oe[6]||"",ye.query=Oe[7],ye.fragment=Oe[8],isNaN(ye.port)&&(ye.port=Oe[5])):(ye.scheme=Oe[1]||void 0,ye.userinfo=pe.indexOf("@")!==-1?Oe[3]:void 0,ye.host=pe.indexOf("//")!==-1?Oe[4]:void 0,ye.port=parseInt(Oe[5],10),ye.path=Oe[6]||"",ye.query=pe.indexOf("?")!==-1?Oe[7]:void 0,ye.fragment=pe.indexOf("#")!==-1?Oe[8]:void 0,isNaN(ye.port)&&(ye.port=pe.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?Oe[4]:void 0)),ye.host&&(ye.host=be(de(ye.host,Re),Re)),ye.scheme===void 0&&ye.userinfo===void 0&&ye.host===void 0&&ye.port===void 0&&!ye.path&&ye.query===void 0?ye.reference="same-document":ye.scheme===void 0?ye.reference="relative":ye.fragment===void 0?ye.reference="absolute":ye.reference="uri",le.reference&&le.reference!=="suffix"&&le.reference!==ye.reference&&(ye.error=ye.error||"URI is not a "+le.reference+" reference.");var it=I[(le.scheme||ye.scheme||"").toLowerCase()];if(!le.unicodeSupport&&(!it||!it.unicodeSupport)){if(ye.host&&(le.domainHost||it&&it.domainHost))try{ye.host=X.toASCII(ye.host.replace(Re.PCT_ENCODED,oe).toLowerCase())}catch(Ge){ye.error=ye.error||"Host's domain name can not be converted to ASCII via punycode: "+Ge}ie(ye,i)}else ie(ye,Re);it&&it.parse&&it.parse(ye,le)}else ye.error=ye.error||"URI can not be parsed.";return ye}function Q(pe,le){var ye=le.iri!==!1?c:i,Re=[];return pe.userinfo!==void 0&&(Re.push(pe.userinfo),Re.push("@")),pe.host!==void 0&&Re.push(be(de(String(pe.host),ye),ye).replace(ye.IPV6ADDRESS,function(Oe,it,Ge){return"["+it+(Ge?"%25"+Ge:"")+"]"})),(typeof pe.port=="number"||typeof pe.port=="string")&&(Re.push(":"),Re.push(String(pe.port))),Re.length?Re.join(""):void 0}var ke=/^\.\.?\//,$=/^\/\.(\/|$)/,ae=/^\/\.\.(\/|$)/,Ie=/^\/?(?:.|\n)*?(?=\/|$)/;function Ne(pe){for(var le=[];pe.length;)if(pe.match(ke))pe=pe.replace(ke,"");else if(pe.match($))pe=pe.replace($,"/");else if(pe.match(ae))pe=pe.replace(ae,"/"),le.pop();else if(pe==="."||pe==="..")pe="";else{var ye=pe.match(Ie);if(ye){var Re=ye[0];pe=pe.slice(Re.length),le.push(Re)}else throw new Error("Unexpected dot segment condition")}return le.join("")}function Be(pe){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ye=le.iri?c:i,Re=[],Oe=I[(le.scheme||pe.scheme||"").toLowerCase()];if(Oe&&Oe.serialize&&Oe.serialize(pe,le),pe.host&&!ye.IPV6ADDRESS.test(pe.host)){if(le.domainHost||Oe&&Oe.domainHost)try{pe.host=le.iri?X.toUnicode(pe.host):X.toASCII(pe.host.replace(ye.PCT_ENCODED,oe).toLowerCase())}catch(Ze){pe.error=pe.error||"Host's domain name can not be converted to "+(le.iri?"Unicode":"ASCII")+" via punycode: "+Ze}}ie(pe,ye),le.reference!=="suffix"&&pe.scheme&&(Re.push(pe.scheme),Re.push(":"));var it=Q(pe,le);if(it!==void 0&&(le.reference!=="suffix"&&Re.push("//"),Re.push(it),pe.path&&pe.path.charAt(0)!=="/"&&Re.push("/")),pe.path!==void 0){var Ge=pe.path;!le.absolutePath&&(!Oe||!Oe.absolutePath)&&(Ge=Ne(Ge)),it===void 0&&(Ge=Ge.replace(/^\/\//,"/%2F")),Re.push(Ge)}return pe.query!==void 0&&(Re.push("?"),Re.push(pe.query)),pe.fragment!==void 0&&(Re.push("#"),Re.push(pe.fragment)),Re.join("")}function j(pe,le){var ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Re=arguments[3],Oe={};return Re||(pe=J(Be(pe,ye),ye),le=J(Be(le,ye),ye)),ye=ye||{},!ye.tolerant&&le.scheme?(Oe.scheme=le.scheme,Oe.userinfo=le.userinfo,Oe.host=le.host,Oe.port=le.port,Oe.path=Ne(le.path||""),Oe.query=le.query):(le.userinfo!==void 0||le.host!==void 0||le.port!==void 0?(Oe.userinfo=le.userinfo,Oe.host=le.host,Oe.port=le.port,Oe.path=Ne(le.path||""),Oe.query=le.query):(le.path?(le.path.charAt(0)==="/"?Oe.path=Ne(le.path):((pe.userinfo!==void 0||pe.host!==void 0||pe.port!==void 0)&&!pe.path?Oe.path="/"+le.path:pe.path?Oe.path=pe.path.slice(0,pe.path.lastIndexOf("/")+1)+le.path:Oe.path=le.path,Oe.path=Ne(Oe.path)),Oe.query=le.query):(Oe.path=pe.path,le.query!==void 0?Oe.query=le.query:Oe.query=pe.query),Oe.userinfo=pe.userinfo,Oe.host=pe.host,Oe.port=pe.port),Oe.scheme=pe.scheme),Oe.fragment=le.fragment,Oe}function Qe(pe,le,ye){var Re=r({scheme:"null"},ye);return Be(j(J(pe,Re),J(le,Re),Re,!0),Re)}function ut(pe,le){return typeof pe=="string"?pe=Be(J(pe,le),le):l(pe)==="object"&&(pe=J(Be(pe,le),le)),pe}function rt(pe,le,ye){return typeof pe=="string"?pe=Be(J(pe,ye),ye):l(pe)==="object"&&(pe=Be(pe,ye)),typeof le=="string"?le=Be(J(le,ye),ye):l(le)==="object"&&(le=Be(le,ye)),pe===le}function ze(pe,le){return pe&&pe.toString().replace(!le||!le.iri?i.ESCAPE:c.ESCAPE,W)}function Xe(pe,le){return pe&&pe.toString().replace(!le||!le.iri?i.PCT_ENCODED:c.PCT_ENCODED,oe)}var ht={scheme:"http",domainHost:!0,parse:function(le,ye){return le.host||(le.error=le.error||"HTTP URIs must have a host."),le},serialize:function(le,ye){var Re=String(le.scheme).toLowerCase()==="https";return(le.port===(Re?443:80)||le.port==="")&&(le.port=void 0),le.path||(le.path="/"),le}},dt={scheme:"https",domainHost:ht.domainHost,parse:ht.parse,serialize:ht.serialize};function at(pe){return typeof pe.secure=="boolean"?pe.secure:String(pe.scheme).toLowerCase()==="wss"}var tt={scheme:"ws",domainHost:!0,parse:function(le,ye){var Re=le;return Re.secure=at(Re),Re.resourceName=(Re.path||"/")+(Re.query?"?"+Re.query:""),Re.path=void 0,Re.query=void 0,Re},serialize:function(le,ye){if((le.port===(at(le)?443:80)||le.port==="")&&(le.port=void 0),typeof le.secure=="boolean"&&(le.scheme=le.secure?"wss":"ws",le.secure=void 0),le.resourceName){var Re=le.resourceName.split("?"),Oe=h(Re,2),it=Oe[0],Ge=Oe[1];le.path=it&&it!=="/"?it:void 0,le.query=Ge,le.resourceName=void 0}return le.fragment=void 0,le}},we={scheme:"wss",domainHost:tt.domainHost,parse:tt.parse,serialize:tt.serialize},Ee={},Se="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",ve="[0-9A-Fa-f]",Pe=t(t("%[EFef]"+ve+"%"+ve+ve+"%"+ve+ve)+"|"+t("%[89A-Fa-f]"+ve+"%"+ve+ve)+"|"+t("%"+ve+ve)),ee="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",te="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Z=o(te,'[\\"\\\\]'),fe="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",De=new RegExp(Se,"g"),Le=new RegExp(Pe,"g"),me=new RegExp(o("[^]",ee,"[\\.]",'[\\"]',Z),"g"),V=new RegExp(o("[^]",Se,fe),"g"),ne=V;function ue(pe){var le=oe(pe);return le.match(De)?le:pe}var Ce={scheme:"mailto",parse:function(le,ye){var Re=le,Oe=Re.to=Re.path?Re.path.split(","):[];if(Re.path=void 0,Re.query){for(var it=!1,Ge={},Ze=Re.query.split("&"),lt=0,Ye=Ze.length;lt<Ye;++lt){var st=Ze[lt].split("=");switch(st[0]){case"to":for(var mt=st[1].split(","),yt=0,pt=mt.length;yt<pt;++yt)Oe.push(mt[yt]);break;case"subject":Re.subject=Xe(st[1],ye);break;case"body":Re.body=Xe(st[1],ye);break;default:it=!0,Ge[Xe(st[0],ye)]=Xe(st[1],ye);break}}it&&(Re.headers=Ge)}Re.query=void 0;for(var vt=0,Ct=Oe.length;vt<Ct;++vt){var xt=Oe[vt].split("@");if(xt[0]=Xe(xt[0]),ye.unicodeSupport)xt[1]=Xe(xt[1],ye).toLowerCase();else try{xt[1]=X.toASCII(Xe(xt[1],ye).toLowerCase())}catch(Rt){Re.error=Re.error||"Email address's domain name can not be converted to ASCII via punycode: "+Rt}Oe[vt]=xt.join("@")}return Re},serialize:function(le,ye){var Re=le,Oe=u(le.to);if(Oe){for(var it=0,Ge=Oe.length;it<Ge;++it){var Ze=String(Oe[it]),lt=Ze.lastIndexOf("@"),Ye=Ze.slice(0,lt).replace(Le,ue).replace(Le,p).replace(me,W),st=Ze.slice(lt+1);try{st=ye.iri?X.toUnicode(st):X.toASCII(Xe(st,ye).toLowerCase())}catch(vt){Re.error=Re.error||"Email address's domain name can not be converted to "+(ye.iri?"Unicode":"ASCII")+" via punycode: "+vt}Oe[it]=Ye+"@"+st}Re.path=Oe.join(",")}var mt=le.headers=le.headers||{};le.subject&&(mt.subject=le.subject),le.body&&(mt.body=le.body);var yt=[];for(var pt in mt)mt[pt]!==Ee[pt]&&yt.push(pt.replace(Le,ue).replace(Le,p).replace(V,W)+"="+mt[pt].replace(Le,ue).replace(Le,p).replace(ne,W));return yt.length&&(Re.query=yt.join("&")),Re}},qe=/^([^\:]+)\:(.*)/,_e={scheme:"urn",parse:function(le,ye){var Re=le.path&&le.path.match(qe),Oe=le;if(Re){var it=ye.scheme||Oe.scheme||"urn",Ge=Re[1].toLowerCase(),Ze=Re[2],lt=it+":"+(ye.nid||Ge),Ye=I[lt];Oe.nid=Ge,Oe.nss=Ze,Oe.path=void 0,Ye&&(Oe=Ye.parse(Oe,ye))}else Oe.error=Oe.error||"URN can not be parsed.";return Oe},serialize:function(le,ye){var Re=ye.scheme||le.scheme||"urn",Oe=le.nid,it=Re+":"+(ye.nid||Oe),Ge=I[it];Ge&&(le=Ge.serialize(le,ye));var Ze=le,lt=le.nss;return Ze.path=(Oe||ye.nid)+":"+lt,Ze}},Ke=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Je={scheme:"urn:uuid",parse:function(le,ye){var Re=le;return Re.uuid=Re.nss,Re.nss=void 0,!ye.tolerant&&(!Re.uuid||!Re.uuid.match(Ke))&&(Re.error=Re.error||"UUID is not valid."),Re},serialize:function(le,ye){var Re=le;return Re.nss=(le.uuid||"").toLowerCase(),Re}};I[ht.scheme]=ht,I[dt.scheme]=dt,I[tt.scheme]=tt,I[we.scheme]=we,I[Ce.scheme]=Ce,I[_e.scheme]=_e,I[Je.scheme]=Je,n.SCHEMES=I,n.pctEncChar=W,n.pctDecChars=oe,n.parse=J,n.removeDotSegments=Ne,n.serialize=Be,n.resolveComponents=j,n.resolve=Qe,n.normalize=ut,n.equal=rt,n.escapeComponent=ze,n.unescapeComponent=Xe,Object.defineProperty(n,"__esModule",{value:!0})})}(Dn,Dn.exports)),Dn.exports}var as,xm;function is(){return xm||(xm=1,as=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,l;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(l=Object.keys(e),o=l.length,o!==Object.keys(n).length)return!1;for(t=o;t--!==0;)if(!Object.prototype.hasOwnProperty.call(n,l[t]))return!1;for(t=o;t--!==0;){var p=l[t];if(!a(e[p],n[p]))return!1}return!0}return e!==e&&n!==n}),as}var os,Cm;function Kx(){return Cm||(Cm=1,os=function(e){for(var n=0,o=e.length,t=0,l;t<o;)n++,l=e.charCodeAt(t++),l>=55296&&l<=56319&&t<o&&(l=e.charCodeAt(t),(l&64512)==56320&&t++);return n}),os}var ls,wm;function Lr(){if(wm)return ls;wm=1,ls={copy:a,checkDataType:e,checkDataTypes:n,coerceToTypes:t,toHash:l,getProperty:r,escapeQuotes:m,equal:is(),ucs2length:Kx(),varOccurences:i,varReplace:c,schemaHasRules:h,schemaHasRulesExcept:s,schemaUnknownRules:f,toQuotedString:g,getPathExpr:d,getPath:E,getData:T,unescapeFragment:v,unescapeJsonPointer:w,escapeFragment:A,escapeJsonPointer:b};function a(k,R){R=R||{};for(var F in k)R[F]=k[F];return R}function e(k,R,F,L){var P=L?" !== ":" === ",O=L?" || ":" && ",q=L?"!":"",N=L?"":"!";switch(k){case"null":return R+P+"null";case"array":return q+"Array.isArray("+R+")";case"object":return"("+q+R+O+"typeof "+R+P+'"object"'+O+N+"Array.isArray("+R+"))";case"integer":return"(typeof "+R+P+'"number"'+O+N+"("+R+" % 1)"+O+R+P+R+(F?O+q+"isFinite("+R+")":"")+")";case"number":return"(typeof "+R+P+'"'+k+'"'+(F?O+q+"isFinite("+R+")":"")+")";default:return"typeof "+R+P+'"'+k+'"'}}function n(k,R,F){switch(k.length){case 1:return e(k[0],R,F,!0);default:var L="",P=l(k);P.array&&P.object&&(L=P.null?"(":"(!"+R+" || ",L+="typeof "+R+' !== "object")',delete P.null,delete P.array,delete P.object),P.number&&delete P.integer;for(var O in P)L+=(L?" && ":"")+e(O,R,F,!0);return L}}var o=l(["string","number","integer","boolean","null"]);function t(k,R){if(Array.isArray(R)){for(var F=[],L=0;L<R.length;L++){var P=R[L];(o[P]||k==="array"&&P==="array")&&(F[F.length]=P)}if(F.length)return F}else{if(o[R])return[R];if(k==="array"&&R==="array")return["array"]}}function l(k){for(var R={},F=0;F<k.length;F++)R[k[F]]=!0;return R}var p=/^[a-z$_][a-z$_0-9]*$/i,u=/'|\\/g;function r(k){return typeof k=="number"?"["+k+"]":p.test(k)?"."+k:"['"+m(k)+"']"}function m(k){return k.replace(u,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function i(k,R){R+="[^0-9]";var F=k.match(new RegExp(R,"g"));return F?F.length:0}function c(k,R,F){return R+="([^0-9])",F=F.replace(/\$/g,"$$$$"),k.replace(new RegExp(R,"g"),F+"$1")}function h(k,R){if(typeof k=="boolean")return!k;for(var F in k)if(R[F])return!0}function s(k,R,F){if(typeof k=="boolean")return!k&&F!="not";for(var L in k)if(L!=F&&R[L])return!0}function f(k,R){if(typeof k!="boolean"){for(var F in k)if(!R[F])return F}}function g(k){return"'"+m(k)+"'"}function d(k,R,F,L){var P=F?"'/' + "+R+(L?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):L?"'[' + "+R+" + ']'":"'[\\'' + "+R+" + '\\']'";return C(k,P)}function E(k,R,F){var L=g(F?"/"+b(R):r(R));return C(k,L)}var S=/^\/(?:[^~]|~0|~1)*$/,x=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function T(k,R,F){var L,P,O,q;if(k==="")return"rootData";if(k[0]=="/"){if(!S.test(k))throw new Error("Invalid JSON-pointer: "+k);P=k,O="rootData"}else{if(q=k.match(x),!q)throw new Error("Invalid JSON-pointer: "+k);if(L=+q[1],P=q[2],P=="#"){if(L>=R)throw new Error("Cannot access property/index "+L+" levels up, current level is "+R);return F[R-L]}if(L>R)throw new Error("Cannot access data "+L+" levels up, current level is "+R);if(O="data"+(R-L||""),!P)return O}for(var N=O,_=P.split("/"),G=0;G<_.length;G++){var B=_[G];B&&(O+=r(w(B)),N+=" && "+O)}return N}function C(k,R){return k=='""'?R:(k+" + "+R).replace(/([^\\])' \+ '/g,"$1")}function v(k){return w(decodeURIComponent(k))}function A(k){return encodeURIComponent(b(k))}function b(k){return k.replace(/~/g,"~0").replace(/\//g,"~1")}function w(k){return k.replace(/~1/g,"/").replace(/~0/g,"~")}return ls}var us,Am;function Tm(){if(Am)return us;Am=1;var a=Lr();us=e;function e(n){a.copy(n,this)}return us}var cs={exports:{}},km;function Xx(){if(km)return cs.exports;km=1;var a=cs.exports=function(o,t,l){typeof t=="function"&&(l=t,t={}),l=t.cb||l;var p=typeof l=="function"?l:l.pre||function(){},u=l.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,l,p,u,r,m,i,c,h){if(p&&typeof p=="object"&&!Array.isArray(p)){t(p,u,r,m,i,c,h);for(var s in p){var f=p[s];if(Array.isArray(f)){if(s in a.arrayKeywords)for(var g=0;g<f.length;g++)e(o,t,l,f[g],u+"/"+s+"/"+g,r,u,s,p,g)}else if(s in a.propsKeywords){if(f&&typeof f=="object")for(var d in f)e(o,t,l,f[d],u+"/"+s+"/"+n(d),r,u,s,p,d)}else(s in a.keywords||o.allKeys&&!(s in a.skipKeywords))&&e(o,t,l,f,u+"/"+s,r,u,s,p)}l(p,u,r,m,i,c,h)}}function n(o){return o.replace(/~/g,"~0").replace(/\//g,"~1")}return cs.exports}var fs,Dm;function ps(){if(Dm)return fs;Dm=1;var a=Hx(),e=is(),n=Lr(),o=Tm(),t=Xx();fs=l,l.normalizeId=E,l.fullPath=f,l.url=S,l.ids=x,l.inlineRef=c,l.schema=p;function l(T,C,v){var A=this._refs[v];if(typeof A=="string")if(this._refs[A])A=this._refs[A];else return l.call(this,T,C,A);if(A=A||this._schemas[v],A instanceof o)return c(A.schema,this._opts.inlineRefs)?A.schema:A.validate||this._compile(A);var b=p.call(this,C,v),w,k,R;return b&&(w=b.schema,C=b.root,R=b.baseId),w instanceof o?k=w.validate||T.call(this,w.schema,C,void 0,R):w!==void 0&&(k=c(w,this._opts.inlineRefs)?w:T.call(this,w,C,void 0,R)),k}function p(T,C){var v=a.parse(C),A=g(v),b=f(this._getId(T.schema));if(Object.keys(T.schema).length===0||A!==b){var w=E(A),k=this._refs[w];if(typeof k=="string")return u.call(this,T,k,v);if(k instanceof o)k.validate||this._compile(k),T=k;else if(k=this._schemas[w],k instanceof o){if(k.validate||this._compile(k),w==E(C))return{schema:k,root:T,baseId:b};T=k}else return;if(!T.schema)return;b=f(this._getId(T.schema))}return m.call(this,v,b,T.schema,T)}function u(T,C,v){var A=p.call(this,T,C);if(A){var b=A.schema,w=A.baseId;T=A.root;var k=this._getId(b);return k&&(w=S(w,k)),m.call(this,v,w,b,T)}}var r=n.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function m(T,C,v,A){if(T.fragment=T.fragment||"",T.fragment.slice(0,1)=="/"){for(var b=T.fragment.split("/"),w=1;w<b.length;w++){var k=b[w];if(k){if(k=n.unescapeFragment(k),v=v[k],v===void 0)break;var R;if(!r[k]&&(R=this._getId(v),R&&(C=S(C,R)),v.$ref)){var F=S(C,v.$ref),L=p.call(this,A,F);L&&(v=L.schema,A=L.root,C=L.baseId)}}}if(v!==void 0&&v!==A.schema)return{schema:v,root:A,baseId:C}}}var i=n.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function c(T,C){if(C===!1)return!1;if(C===void 0||C===!0)return h(T);if(C)return s(T)<=C}function h(T){var C;if(Array.isArray(T)){for(var v=0;v<T.length;v++)if(C=T[v],typeof C=="object"&&!h(C))return!1}else for(var A in T)if(A=="$ref"||(C=T[A],typeof C=="object"&&!h(C)))return!1;return!0}function s(T){var C=0,v;if(Array.isArray(T)){for(var A=0;A<T.length;A++)if(v=T[A],typeof v=="object"&&(C+=s(v)),C==1/0)return 1/0}else for(var b in T){if(b=="$ref")return 1/0;if(i[b])C++;else if(v=T[b],typeof v=="object"&&(C+=s(v)+1),C==1/0)return 1/0}return C}function f(T,C){C!==!1&&(T=E(T));var v=a.parse(T);return g(v)}function g(T){return a.serialize(T).split("#")[0]+"#"}var d=/#\/?$/;function E(T){return T?T.replace(d,""):""}function S(T,C){return C=E(C),a.resolve(T,C)}function x(T){var C=E(this._getId(T)),v={"":C},A={"":f(C,!1)},b={},w=this;return t(T,{allKeys:!0},function(k,R,F,L,P,O,q){if(R!==""){var N=w._getId(k),_=v[L],G=A[L]+"/"+P;if(q!==void 0&&(G+="/"+(typeof q=="number"?q:n.escapeFragment(q))),typeof N=="string"){N=_=E(_?a.resolve(_,N):N);var B=w._refs[N];if(typeof B=="string"&&(B=w._refs[B]),B&&B.schema){if(!e(k,B.schema))throw new Error('id "'+N+'" resolves to more than one schema')}else if(N!=E(G))if(N[0]=="#"){if(b[N]&&!e(k,b[N]))throw new Error('id "'+N+'" resolves to more than one schema');b[N]=k}else w._refs[N]=G}v[R]=_,A[R]=G}}),b}return fs}var ms,Im;function hs(){if(Im)return ms;Im=1;var a=ps();ms={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,l){return"can't resolve reference "+l+" from id "+t};function n(t,l,p){this.message=p||n.message(t,l),this.missingRef=a.url(t,l),this.missingSchema=a.normalizeId(a.fullPath(this.missingRef))}function o(t){return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}return ms}var ds,Pm;function Fm(){return Pm||(Pm=1,ds=function(a,e){e||(e={}),typeof e=="function"&&(e={cmp:e});var n=typeof e.cycles=="boolean"?e.cycles:!1,o=e.cmp&&function(l){return function(p){return function(u,r){var m={key:u,value:p[u]},i={key:r,value:p[r]};return l(m,i)}}}(e.cmp),t=[];return function l(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+=l(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 m=t.push(p)-1,i=Object.keys(p).sort(o&&o(p));for(r="",u=0;u<i.length;u++){var c=i[u],h=l(p[c]);h&&(r&&(r+=","),r+=JSON.stringify(c)+":"+h)}return t.splice(m,1),"{"+r+"}"}}(a)}),ds}var gs,Rm;function _m(){return Rm||(Rm=1,gs=function(e,n,o){var t="",l=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 m="unknown keyword: "+r;if(e.opts.strictKeywords==="log")e.logger.warn(m);else throw new Error(m)}}if(e.isTop&&(t+=" var validate = ",l&&(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,c=e.dataLevel,h=e.schema[n],s=e.schemaPath+e.util.getProperty(n),f=e.errSchemaPath+"/"+n,C=!e.opts.allErrors,b,g="data"+(c||""),T="valid"+i;if(e.schema===!1){e.isTop?C=!0:t+=" var "+T+" = false; ";var d=d||[];d.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(b||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'boolean schema is false' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),t+=" } "):t+=" {} ";var E=t;t=d.pop(),!e.compositeRule&&C?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++; "}else e.isTop?l?t+=" return data; ":t+=" validate.errors = null; return true; ":t+=" var "+T+" = true; ";return e.isTop&&(t+=" }; return validate; "),t}if(e.isTop){var S=e.isTop,i=e.level=0,c=e.dataLevel=0,g="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 x="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(x);else throw new Error(x)}t+=" var vErrors = null; ",t+=" var errors = 0; ",t+=" if (rootData === undefined) rootData = data; "}else{var i=e.level,c=e.dataLevel,g="data"+(c||"");if(u&&(e.baseId=e.resolve.url(e.baseId,u)),l&&!e.async)throw new Error("async schema in sync schema");t+=" var errs_"+i+" = errors;"}var T="valid"+i,C=!e.opts.allErrors,v="",A="",b,w=e.schema.type,k=Array.isArray(w);if(w&&e.opts.nullable&&e.schema.nullable===!0&&(k?w.indexOf("null")==-1&&(w=w.concat("null")):w!="null"&&(w=[w,"null"],k=!0)),k&&w.length==1&&(w=w[0],k=!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")),w){if(e.opts.coerceTypes)var R=e.util.coerceToTypes(e.opts.coerceTypes,w);var F=e.RULES.types[w];if(R||k||F===!0||F&&!$(F)){var s=e.schemaPath+".type",f=e.errSchemaPath+"/type",s=e.schemaPath+".type",f=e.errSchemaPath+"/type",L=k?"checkDataTypes":"checkDataType";if(t+=" if ("+e.util[L](w,g,e.opts.strictNumbers,!0)+") { ",R){var P="dataType"+i,O="coerced"+i;t+=" var "+P+" = typeof "+g+"; var "+O+" = undefined; ",e.opts.coerceTypes=="array"&&(t+=" if ("+P+" == 'object' && Array.isArray("+g+") && "+g+".length == 1) { "+g+" = "+g+"[0]; "+P+" = typeof "+g+"; if ("+e.util.checkDataType(e.schema.type,g,e.opts.strictNumbers)+") "+O+" = "+g+"; } "),t+=" if ("+O+" !== undefined) ; ";var q=R;if(q)for(var N,_=-1,G=q.length-1;_<G;)N=q[_+=1],N=="string"?t+=" else if ("+P+" == 'number' || "+P+" == 'boolean') "+O+" = '' + "+g+"; else if ("+g+" === null) "+O+" = ''; ":N=="number"||N=="integer"?(t+=" else if ("+P+" == 'boolean' || "+g+" === null || ("+P+" == 'string' && "+g+" && "+g+" == +"+g+" ",N=="integer"&&(t+=" && !("+g+" % 1)"),t+=")) "+O+" = +"+g+"; "):N=="boolean"?t+=" else if ("+g+" === 'false' || "+g+" === 0 || "+g+" === null) "+O+" = false; else if ("+g+" === 'true' || "+g+" === 1) "+O+" = true; ":N=="null"?t+=" else if ("+g+" === '' || "+g+" === 0 || "+g+" === false) "+O+" = null; ":e.opts.coerceTypes=="array"&&N=="array"&&(t+=" else if ("+P+" == 'string' || "+P+" == 'number' || "+P+" == 'boolean' || "+g+" == null) "+O+" = ["+g+"]; ");t+=" else { ";var d=d||[];d.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(b||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",k?t+=""+w.join(","):t+=""+w,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",k?t+=""+w.join(","):t+=""+w,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),t+=" } "):t+=" {} ";var E=t;t=d.pop(),!e.compositeRule&&C?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+=" } if ("+O+" !== undefined) { ";var B=c?"data"+(c-1||""):"parentData",z=c?e.dataPathArr[c]:"parentDataProperty";t+=" "+g+" = "+O+"; ",c||(t+="if ("+B+" !== undefined)"),t+=" "+B+"["+z+"] = "+O+"; } "}else{var d=d||[];d.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(b||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",k?t+=""+w.join(","):t+=""+w,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",k?t+=""+w.join(","):t+=""+w,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),t+=" } "):t+=" {} ";var E=t;t=d.pop(),!e.compositeRule&&C?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+=" } "}}if(e.schema.$ref&&!p)t+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",C&&(t+=" } if (errors === ",S?t+="0":t+="errs_"+i,t+=") { ",A+="}");else{var H=e.RULES;if(H){for(var F,ce=-1,re=H.length-1;ce<re;)if(F=H[ce+=1],$(F)){if(F.type&&(t+=" if ("+e.util.checkDataType(F.type,g,e.opts.strictNumbers)+") { "),e.opts.useDefaults){if(F.type=="object"&&e.schema.properties){var h=e.schema.properties,Fe=Object.keys(h),X=Fe;if(X)for(var I,W=-1,oe=X.length-1;W<oe;){I=X[W+=1];var ie=h[I];if(ie.default!==void 0){var se=g+e.util.getProperty(I);if(e.compositeRule){if(e.opts.strictDefaults){var x="default is ignored for: "+se;if(e.opts.strictDefaults==="log")e.logger.warn(x);else throw new Error(x)}}else t+=" if ("+se+" === undefined ",e.opts.useDefaults=="empty"&&(t+=" || "+se+" === null || "+se+" === '' "),t+=" ) "+se+" = ",e.opts.useDefaults=="shared"?t+=" "+e.useDefault(ie.default)+" ":t+=" "+JSON.stringify(ie.default)+" ",t+="; "}}}else if(F.type=="array"&&Array.isArray(e.schema.items)){var de=e.schema.items;if(de){for(var ie,_=-1,be=de.length-1;_<be;)if(ie=de[_+=1],ie.default!==void 0){var se=g+"["+_+"]";if(e.compositeRule){if(e.opts.strictDefaults){var x="default is ignored for: "+se;if(e.opts.strictDefaults==="log")e.logger.warn(x);else throw new Error(x)}}else t+=" if ("+se+" === undefined ",e.opts.useDefaults=="empty"&&(t+=" || "+se+" === null || "+se+" === '' "),t+=" ) "+se+" = ",e.opts.useDefaults=="shared"?t+=" "+e.useDefault(ie.default)+" ":t+=" "+JSON.stringify(ie.default)+" ",t+="; "}}}}var xe=F.rules;if(xe){for(var Te,J=-1,Q=xe.length-1;J<Q;)if(Te=xe[J+=1],ae(Te)){var ke=Te.code(e,Te.keyword,F.type);ke&&(t+=" "+ke+" ",C&&(v+="}"))}}if(C&&(t+=" "+v+" ",v=""),F.type&&(t+=" } ",w&&w===F.type&&!R)){t+=" else { ";var s=e.schemaPath+".type",f=e.errSchemaPath+"/type",d=d||[];d.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(b||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",k?t+=""+w.join(","):t+=""+w,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",k?t+=""+w.join(","):t+=""+w,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),t+=" } "):t+=" {} ";var E=t;t=d.pop(),!e.compositeRule&&C?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+=" } "}C&&(t+=" if (errors === ",S?t+="0":t+="errs_"+i,t+=") { ",A+="}")}}}C&&(t+=" "+A+" "),S?(l?(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 "+T+" = errors === errs_"+i+";";function $(Ne){for(var Be=Ne.rules,j=0;j<Be.length;j++)if(ae(Be[j]))return!0}function ae(Ne){return e.schema[Ne.keyword]!==void 0||Ne.implements&&Ie(Ne)}function Ie(Ne){for(var Be=Ne.implements,j=0;j<Be.length;j++)if(e.schema[Be[j]]!==void 0)return!0}return t}),gs}var ys,Bm;function Jx(){if(Bm)return ys;Bm=1;var a=ps(),e=Lr(),n=hs(),o=Fm(),t=_m(),l=e.ucs2length,p=is(),u=n.Validation;ys=r;function r(E,S,x,T){var C=this,v=this._opts,A=[void 0],b={},w=[],k={},R=[],F={},L=[];S=S||{schema:E,refVal:A,refs:b};var P=m.call(this,E,S,T),O=this._compilations[P.index];if(P.compiling)return O.callValidate=B;var q=this._formats,N=this.RULES;try{var _=z(E,S,x,T);O.validate=_;var G=O.callValidate;return G&&(G.schema=_.schema,G.errors=null,G.refs=_.refs,G.refVal=_.refVal,G.root=_.root,G.$async=_.$async,v.sourceCode&&(G.source=_.source)),_}finally{i.call(this,E,S,T)}function B(){var ie=O.validate,se=ie.apply(this,arguments);return B.errors=ie.errors,se}function z(ie,se,de,be){var xe=!se||se&&se.schema==ie;if(se.schema!=S.schema)return r.call(C,ie,se,de,be);var Te=ie.$async===!0,J=t({isTop:!0,schema:ie,isRoot:xe,baseId:be,root:se,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:n.MissingRef,RULES:N,validate:t,util:e,resolve:a,resolveRef:H,usePattern:I,useDefault:W,useCustomRule:oe,opts:v,formats:q,logger:C.logger,self:C});J=d(A,f)+d(w,h)+d(R,s)+d(L,g)+J,v.processCode&&(J=v.processCode(J,ie));var Q;try{var ke=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",J);Q=ke(C,N,q,S,A,R,L,p,l,u),A[0]=Q}catch($){throw C.logger.error("Error compiling schema, function code:",J),$}return Q.schema=ie,Q.errors=null,Q.refs=b,Q.refVal=A,Q.root=xe?Q:se,Te&&(Q.$async=!0),v.sourceCode===!0&&(Q.source={code:J,patterns:w,defaults:R}),Q}function H(ie,se,de){se=a.url(ie,se);var be=b[se],xe,Te;if(be!==void 0)return xe=A[be],Te="refVal["+be+"]",X(xe,Te);if(!de&&S.refs){var J=S.refs[se];if(J!==void 0)return xe=S.refVal[J],Te=ce(se,xe),X(xe,Te)}Te=ce(se);var Q=a.call(C,z,S,se);if(Q===void 0){var ke=x&&x[se];ke&&(Q=a.inlineRef(ke,v.inlineRefs)?ke:r.call(C,ke,S,x,ie))}if(Q===void 0)re(se);else return Fe(se,Q),X(Q,Te)}function ce(ie,se){var de=A.length;return A[de]=se,b[ie]=de,"refVal"+de}function re(ie){delete b[ie]}function Fe(ie,se){var de=b[ie];A[de]=se}function X(ie,se){return typeof ie=="object"||typeof ie=="boolean"?{code:se,schema:ie,inline:!0}:{code:se,$async:ie&&!!ie.$async}}function I(ie){var se=k[ie];return se===void 0&&(se=k[ie]=w.length,w[se]=ie),"pattern"+se}function W(ie){switch(typeof ie){case"boolean":case"number":return""+ie;case"string":return e.toQuotedString(ie);case"object":if(ie===null)return"null";var se=o(ie),de=F[se];return de===void 0&&(de=F[se]=R.length,R[de]=ie),"default"+de}}function oe(ie,se,de,be){if(C._opts.validateSchema!==!1){var xe=ie.definition.dependencies;if(xe&&!xe.every(function(Be){return Object.prototype.hasOwnProperty.call(de,Be)}))throw new Error("parent schema must have all required keywords: "+xe.join(","));var Te=ie.definition.validateSchema;if(Te){var J=Te(se);if(!J){var Q="keyword schema is invalid: "+C.errorsText(Te.errors);if(C._opts.validateSchema=="log")C.logger.error(Q);else throw new Error(Q)}}}var ke=ie.definition.compile,$=ie.definition.inline,ae=ie.definition.macro,Ie;if(ke)Ie=ke.call(C,se,de,be);else if(ae)Ie=ae.call(C,se,de,be),v.validateSchema!==!1&&C.validateSchema(Ie,!0);else if($)Ie=$.call(C,be,ie.keyword,se,de);else if(Ie=ie.definition.validate,!Ie)return;if(Ie===void 0)throw new Error('custom keyword "'+ie.keyword+'"failed to compile');var Ne=L.length;return L[Ne]=Ie,{code:"customRule"+Ne,validate:Ie}}}function m(E,S,x){var T=c.call(this,E,S,x);return T>=0?{index:T,compiling:!0}:(T=this._compilations.length,this._compilations[T]={schema:E,root:S,baseId:x},{index:T,compiling:!1})}function i(E,S,x){var T=c.call(this,E,S,x);T>=0&&this._compilations.splice(T,1)}function c(E,S,x){for(var T=0;T<this._compilations.length;T++){var C=this._compilations[T];if(C.schema==E&&C.root==S&&C.baseId==x)return T}return-1}function h(E,S){return"var pattern"+E+" = new RegExp("+e.toQuotedString(S[E])+");"}function s(E){return"var default"+E+" = defaults["+E+"];"}function f(E,S){return S[E]===void 0?"":"var refVal"+E+" = refVal["+E+"];"}function g(E){return"var customRule"+E+" = customRules["+E+"];"}function d(E,S){if(!E.length)return"";for(var x="",T=0;T<E.length;T++)x+=S(T,E);return x}return ys}var vs={exports:{}},Lm;function Yx(){if(Lm)return vs.exports;Lm=1;var a=vs.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={}},vs.exports}var Es,Om;function Qx(){if(Om)return Es;Om=1;var a=Lr(),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,l=/^(?:[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,m=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,i=/^(?:\/(?:[^~/]|~0|~1)*)*$/,c=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,h=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;Es=s;function s(A){return A=A=="full"?"full":"fast",a.copy(s[A])}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:v,uuid:m,"json-pointer":i,"json-pointer-uri-fragment":c,"relative-json-pointer":h},s.full={date:g,time:d,"date-time":S,uri:T,"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:v,uuid:m,"json-pointer":i,"json-pointer-uri-fragment":c,"relative-json-pointer":h};function f(A){return A%4===0&&(A%100!==0||A%400===0)}function g(A){var b=A.match(e);if(!b)return!1;var w=+b[1],k=+b[2],R=+b[3];return k>=1&&k<=12&&R>=1&&R<=(k==2&&f(w)?29:n[k])}function d(A,b){var w=A.match(o);if(!w)return!1;var k=w[1],R=w[2],F=w[3],L=w[5];return(k<=23&&R<=59&&F<=59||k==23&&R==59&&F==60)&&(!b||L)}var E=/t|\s/i;function S(A){var b=A.split(E);return b.length==2&&g(b[0])&&d(b[1],!0)}var x=/\/|:/;function T(A){return x.test(A)&&l.test(A)}var C=/[^\\]\\Z/;function v(A){if(C.test(A))return!1;try{return new RegExp(A),!0}catch{return!1}}return Es}var Ss,Nm;function Zx(){return Nm||(Nm=1,Ss=function(e,n,o){var t=" ",l=e.level,p=e.dataLevel,u=e.schema[n],r=e.errSchemaPath+"/"+n,m=!e.opts.allErrors,i="data"+(p||""),c="valid"+l,h,s;if(u=="#"||u=="#/")e.isRoot?(h=e.async,s="validate"):(h=e.root.schema.$async===!0,s="root.refVal[0]");else{var f=e.resolveRef(e.baseId,u,e.isRoot);if(f===void 0){var g=e.MissingRefError.message(e.baseId,u);if(e.opts.missingRefs=="fail"){e.logger.error(g);var d=d||[];d.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 E=t;t=d.pop(),!e.compositeRule&&m?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++; ",m&&(t+=" if (false) { ")}else if(e.opts.missingRefs=="ignore")e.logger.warn(g),m&&(t+=" if (true) { ");else throw new e.MissingRefError(e.baseId,u,g)}else if(f.inline){var S=e.util.copy(e);S.level++;var x="valid"+S.level;S.schema=f.schema,S.schemaPath="",S.errSchemaPath=u;var T=e.validate(S).replace(/validate\.schema/g,f.code);t+=" "+T+" ",m&&(t+=" if ("+x+") { ")}else h=f.$async===!0||e.async&&f.$async!==!1,s=f.code}if(s){var d=d||[];d.push(t),t="",e.opts.passContext?t+=" "+s+".call(this, ":t+=" "+s+"( ",t+=" "+i+", (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var C=p?"data"+(p-1||""):"parentData",v=p?e.dataPathArr[p]:"parentDataProperty";t+=" , "+C+" , "+v+", rootData) ";var A=t;if(t=d.pop(),h){if(!e.async)throw new Error("async schema referenced by sync schema");m&&(t+=" var "+c+"; "),t+=" try { await "+A+"; ",m&&(t+=" "+c+" = 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; ",m&&(t+=" "+c+" = false; "),t+=" } ",m&&(t+=" if ("+c+") { ")}else t+=" if (!"+A+") { if (vErrors === null) vErrors = "+s+".errors; else vErrors = vErrors.concat("+s+".errors); errors = vErrors.length; } ",m&&(t+=" else { ")}return t}),Ss}var bs,Mm;function eC(){return Mm||(Mm=1,bs=function(e,n,o){var t=" ",l=e.schema[n],p=e.schemaPath+e.util.getProperty(n),u=e.errSchemaPath+"/"+n,r=!e.opts.allErrors,m=e.util.copy(e),i="";m.level++;var c="valid"+m.level,h=m.baseId,s=!0,f=l;if(f)for(var g,d=-1,E=f.length-1;d<E;)g=f[d+=1],(e.opts.strictKeywords?typeof g=="object"&&Object.keys(g).length>0||g===!1:e.util.schemaHasRules(g,e.RULES.all))&&(s=!1,m.schema=g,m.schemaPath=p+"["+d+"]",m.errSchemaPath=u+"/"+d,t+=" "+e.validate(m)+" ",m.baseId=h,r&&(t+=" if ("+c+") { ",i+="}"));return r&&(s?t+=" if (true) { ":t+=" "+i.slice(0,-1)+" "),t}),bs}var xs,jm;function tC(){return jm||(jm=1,xs=function(e,n,o){var t=" ",l=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),m=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,c="data"+(p||""),h="valid"+l,s="errs__"+l,f=e.util.copy(e),g="";f.level++;var d="valid"+f.level,E=u.every(function(b){return e.opts.strictKeywords?typeof b=="object"&&Object.keys(b).length>0||b===!1:e.util.schemaHasRules(b,e.RULES.all)});if(E){var S=f.baseId;t+=" var "+s+" = errors; var "+h+" = false; ";var x=e.compositeRule;e.compositeRule=f.compositeRule=!0;var T=u;if(T)for(var C,v=-1,A=T.length-1;v<A;)C=T[v+=1],f.schema=C,f.schemaPath=r+"["+v+"]",f.errSchemaPath=m+"/"+v,t+=" "+e.validate(f)+" ",f.baseId=S,t+=" "+h+" = "+h+" || "+d+"; if (!"+h+") { ",g+="}";e.compositeRule=f.compositeRule=x,t+=" "+g+" if (!"+h+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , 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: "+c+" "),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}),xs}var Cs,Um;function rC(){return Um||(Um=1,Cs=function(e,n,o){var t=" ",l=e.schema[n],p=e.errSchemaPath+"/"+n;e.opts.allErrors;var u=e.util.toQuotedString(l);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}),Cs}var ws,qm;function nC(){return qm||(qm=1,ws=function(e,n,o){var t=" ",l=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),m=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,c="data"+(p||""),h="valid"+l,s=e.opts.$data&&u&&u.$data;s&&(t+=" var schema"+l+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; "),s||(t+=" var schema"+l+" = validate.schema"+r+";"),t+="var "+h+" = equal("+c+", schema"+l+"); if (!"+h+") { ";var f=f||[];f.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { allowedValue: schema"+l+" } ",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: "+c+" "),t+=" } "):t+=" {} ";var g=t;return t=f.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}),ws}var As,Vm;function sC(){return Vm||(Vm=1,As=function(e,n,o){var t=" ",l=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),m=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,c="data"+(p||""),h="valid"+l,s="errs__"+l,f=e.util.copy(e),g="";f.level++;var d="valid"+f.level,E="i"+l,S=f.dataLevel=e.dataLevel+1,x="data"+S,T=e.baseId,C=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 "+h+";",C){var v=e.compositeRule;e.compositeRule=f.compositeRule=!0,f.schema=u,f.schemaPath=r,f.errSchemaPath=m,t+=" var "+d+" = false; for (var "+E+" = 0; "+E+" < "+c+".length; "+E+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,E,e.opts.jsonPointers,!0);var A=c+"["+E+"]";f.dataPathArr[S]=E;var b=e.validate(f);f.baseId=T,e.util.varOccurences(b,x)<2?t+=" "+e.util.varReplace(b,x,A)+" ":t+=" var "+x+" = "+A+"; "+b+" ",t+=" if ("+d+") break; } ",e.compositeRule=f.compositeRule=v,t+=" "+g+" if (!"+d+") {"}else t+=" if ("+c+".length == 0) {";var w=w||[];w.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , 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: "+c+" "),t+=" } "):t+=" {} ";var k=t;return t=w.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+k+"]); ":t+=" validate.errors = ["+k+"]; return false; ":t+=" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { ",C&&(t+=" errors = "+s+"; if (vErrors !== null) { if ("+s+") vErrors.length = "+s+"; else vErrors = null; } "),e.opts.allErrors&&(t+=" } "),t}),As}var Ts,$m;function aC(){return $m||($m=1,Ts=function(e,n,o){var t=" ",l=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),m=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,c="data"+(p||""),h="errs__"+l,s=e.util.copy(e),f="";s.level++;var g="valid"+s.level,d={},E={},S=e.opts.ownProperties;for(v in u)if(v!="__proto__"){var x=u[v],T=Array.isArray(x)?E:d;T[v]=x}t+="var "+h+" = errors;";var C=e.errorPath;t+="var missing"+l+";";for(var v in E)if(T=E[v],T.length){if(t+=" if ( "+c+e.util.getProperty(v)+" !== undefined ",S&&(t+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(v)+"') "),i){t+=" && ( ";var A=T;if(A)for(var b,w=-1,k=A.length-1;w<k;){b=A[w+=1],w&&(t+=" || ");var R=e.util.getProperty(b),F=c+R;t+=" ( ( "+F+" === undefined ",S&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(b)+"') "),t+=") && (missing"+l+" = "+e.util.toQuotedString(e.opts.jsonPointers?b:R)+") ) "}t+=")) { ";var L="missing"+l,P="' + "+L+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(C,L,!0):C+" + "+L);var O=O||[];O.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { property: '"+e.util.escapeQuotes(v)+"', missingProperty: '"+P+"', depsCount: "+T.length+", deps: '"+e.util.escapeQuotes(T.length==1?T[0]:T.join(", "))+"' } ",e.opts.messages!==!1&&(t+=" , message: 'should have ",T.length==1?t+="property "+e.util.escapeQuotes(T[0]):t+="properties "+e.util.escapeQuotes(T.join(", ")),t+=" when property "+e.util.escapeQuotes(v)+" is present' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var q=t;t=O.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+q+"]); ":t+=" validate.errors = ["+q+"]; return false; ":t+=" var err = "+q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{t+=" ) { ";var N=T;if(N)for(var b,_=-1,G=N.length-1;_<G;){b=N[_+=1];var R=e.util.getProperty(b),P=e.util.escapeQuotes(b),F=c+R;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(C,b,e.opts.jsonPointers)),t+=" if ( "+F+" === undefined ",S&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(b)+"') "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { property: '"+e.util.escapeQuotes(v)+"', missingProperty: '"+P+"', depsCount: "+T.length+", deps: '"+e.util.escapeQuotes(T.length==1?T[0]:T.join(", "))+"' } ",e.opts.messages!==!1&&(t+=" , message: 'should have ",T.length==1?t+="property "+e.util.escapeQuotes(T[0]):t+="properties "+e.util.escapeQuotes(T.join(", ")),t+=" when property "+e.util.escapeQuotes(v)+" is present' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}t+=" } ",i&&(f+="}",t+=" else { ")}e.errorPath=C;var B=s.baseId;for(var v in d){var x=d[v];(e.opts.strictKeywords?typeof x=="object"&&Object.keys(x).length>0||x===!1:e.util.schemaHasRules(x,e.RULES.all))&&(t+=" "+g+" = true; if ( "+c+e.util.getProperty(v)+" !== undefined ",S&&(t+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(v)+"') "),t+=") { ",s.schema=x,s.schemaPath=r+e.util.getProperty(v),s.errSchemaPath=m+"/"+e.util.escapeFragment(v),t+=" "+e.validate(s)+" ",s.baseId=B,t+=" } ",i&&(t+=" if ("+g+") { ",f+="}"))}return i&&(t+=" "+f+" if ("+h+" == errors) {"),t}),Ts}var ks,Wm;function iC(){return Wm||(Wm=1,ks=function(e,n,o){var t=" ",l=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),m=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,c="data"+(p||""),h="valid"+l,s=e.opts.$data&&u&&u.$data;s&&(t+=" var schema"+l+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ");var f="i"+l,g="schema"+l;s||(t+=" var "+g+" = validate.schema"+r+";"),t+="var "+h+";",s&&(t+=" if (schema"+l+" === undefined) "+h+" = true; else if (!Array.isArray(schema"+l+")) "+h+" = false; else {"),t+=""+h+" = false;for (var "+f+"=0; "+f+"<"+g+".length; "+f+"++) if (equal("+c+", "+g+"["+f+"])) { "+h+" = true; break; }",s&&(t+=" } "),t+=" if (!"+h+") { ";var d=d||[];d.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { allowedValues: schema"+l+" } ",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: "+c+" "),t+=" } "):t+=" {} ";var E=t;return t=d.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}),ks}var Ds,Gm;function oC(){return Gm||(Gm=1,Ds=function(e,n,o){var t=" ",l=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),m=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,c="data"+(p||"");if(e.opts.format===!1)return i&&(t+=" if (true) { "),t;var h=e.opts.$data&&u&&u.$data,s;h?(t+=" var schema"+l+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",s="schema"+l):s=u;var f=e.opts.unknownFormats,g=Array.isArray(f);if(h){var d="format"+l,E="isObject"+l,S="formatType"+l;t+=" var "+d+" = formats["+s+"]; var "+E+" = typeof "+d+" == 'object' && !("+d+" instanceof RegExp) && "+d+".validate; var "+S+" = "+E+" && "+d+".type || 'string'; if ("+E+") { ",e.async&&(t+=" var async"+l+" = "+d+".async; "),t+=" "+d+" = "+d+".validate; } if ( ",h&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'string') || "),t+=" (",f!="ignore"&&(t+=" ("+s+" && !"+d+" ",g&&(t+=" && self._opts.unknownFormats.indexOf("+s+") == -1 "),t+=") || "),t+=" ("+d+" && "+S+" == '"+o+"' && !(typeof "+d+" == 'function' ? ",e.async?t+=" (async"+l+" ? await "+d+"("+c+") : "+d+"("+c+")) ":t+=" "+d+"("+c+") ",t+=" : "+d+".test("+c+"))))) {"}else{var d=e.formats[u];if(!d){if(f=="ignore")return e.logger.warn('unknown format "'+u+'" ignored in schema at path "'+e.errSchemaPath+'"'),i&&(t+=" if (true) { "),t;if(g&&f.indexOf(u)>=0)return i&&(t+=" if (true) { "),t;throw new Error('unknown format "'+u+'" is used in schema at path "'+e.errSchemaPath+'"')}var E=typeof d=="object"&&!(d instanceof RegExp)&&d.validate,S=E&&d.type||"string";if(E){var x=d.async===!0;d=d.validate}if(S!=o)return i&&(t+=" if (true) { "),t;if(x){if(!e.async)throw new Error("async format in sync schema");var T="formats"+e.util.getProperty(u)+".validate";t+=" if (!(await "+T+"("+c+"))) { "}else{t+=" if (! ";var T="formats"+e.util.getProperty(u);E&&(T+=".validate"),typeof d=="function"?t+=" "+T+"("+c+") ":t+=" "+T+".test("+c+") ",t+=") { "}}var C=C||[];C.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { format: ",h?t+=""+s:t+=""+e.util.toQuotedString(u),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match format "`,h?t+="' + "+s+" + '":t+=""+e.util.escapeQuotes(u),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",h?t+="validate.schema"+r:t+=""+e.util.toQuotedString(u),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var v=t;return t=C.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}),Ds}var Is,zm;function lC(){return zm||(zm=1,Is=function(e,n,o){var t=" ",l=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),m=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,c="data"+(p||""),h="valid"+l,s="errs__"+l,f=e.util.copy(e);f.level++;var g="valid"+f.level,d=e.schema.then,E=e.schema.else,S=d!==void 0&&(e.opts.strictKeywords?typeof d=="object"&&Object.keys(d).length>0||d===!1:e.util.schemaHasRules(d,e.RULES.all)),x=E!==void 0&&(e.opts.strictKeywords?typeof E=="object"&&Object.keys(E).length>0||E===!1:e.util.schemaHasRules(E,e.RULES.all)),T=f.baseId;if(S||x){var C;f.createErrors=!1,f.schema=u,f.schemaPath=r,f.errSchemaPath=m,t+=" var "+s+" = errors; var "+h+" = true; ";var v=e.compositeRule;e.compositeRule=f.compositeRule=!0,t+=" "+e.validate(f)+" ",f.baseId=T,f.createErrors=!0,t+=" errors = "+s+"; if (vErrors !== null) { if ("+s+") vErrors.length = "+s+"; else vErrors = null; } ",e.compositeRule=f.compositeRule=v,S?(t+=" if ("+g+") { ",f.schema=e.schema.then,f.schemaPath=e.schemaPath+".then",f.errSchemaPath=e.errSchemaPath+"/then",t+=" "+e.validate(f)+" ",f.baseId=T,t+=" "+h+" = "+g+"; ",S&&x?(C="ifClause"+l,t+=" var "+C+" = 'then'; "):C="'then'",t+=" } ",x&&(t+=" else { ")):t+=" if (!"+g+") { ",x&&(f.schema=e.schema.else,f.schemaPath=e.schemaPath+".else",f.errSchemaPath=e.errSchemaPath+"/else",t+=" "+e.validate(f)+" ",f.baseId=T,t+=" "+h+" = "+g+"; ",S&&x?(C="ifClause"+l,t+=" var "+C+" = 'else'; "):C="'else'",t+=" } "),t+=" if (!"+h+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { failingKeyword: "+C+" } ",e.opts.messages!==!1&&(t+=` , message: 'should match "' + `+C+` + '" schema' `),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),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}),Is}var Ps,Hm;function uC(){return Hm||(Hm=1,Ps=function(e,n,o){var t=" ",l=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),m=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,c="data"+(p||""),h="valid"+l,s="errs__"+l,f=e.util.copy(e),g="";f.level++;var d="valid"+f.level,E="i"+l,S=f.dataLevel=e.dataLevel+1,x="data"+S,T=e.baseId;if(t+="var "+s+" = errors;var "+h+";",Array.isArray(u)){var C=e.schema.additionalItems;if(C===!1){t+=" "+h+" = "+c+".length <= "+u.length+"; ";var v=m;m=e.errSchemaPath+"/additionalItems",t+=" if (!"+h+") { ";var A=A||[];A.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , 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: "+c+" "),t+=" } "):t+=" {} ";var b=t;t=A.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+=" } ",m=v,i&&(g+="}",t+=" else { ")}var w=u;if(w){for(var k,R=-1,F=w.length-1;R<F;)if(k=w[R+=1],e.opts.strictKeywords?typeof k=="object"&&Object.keys(k).length>0||k===!1:e.util.schemaHasRules(k,e.RULES.all)){t+=" "+d+" = true; if ("+c+".length > "+R+") { ";var L=c+"["+R+"]";f.schema=k,f.schemaPath=r+"["+R+"]",f.errSchemaPath=m+"/"+R,f.errorPath=e.util.getPathExpr(e.errorPath,R,e.opts.jsonPointers,!0),f.dataPathArr[S]=R;var P=e.validate(f);f.baseId=T,e.util.varOccurences(P,x)<2?t+=" "+e.util.varReplace(P,x,L)+" ":t+=" var "+x+" = "+L+"; "+P+" ",t+=" } ",i&&(t+=" if ("+d+") { ",g+="}")}}if(typeof C=="object"&&(e.opts.strictKeywords?typeof C=="object"&&Object.keys(C).length>0||C===!1:e.util.schemaHasRules(C,e.RULES.all))){f.schema=C,f.schemaPath=e.schemaPath+".additionalItems",f.errSchemaPath=e.errSchemaPath+"/additionalItems",t+=" "+d+" = true; if ("+c+".length > "+u.length+") { for (var "+E+" = "+u.length+"; "+E+" < "+c+".length; "+E+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,E,e.opts.jsonPointers,!0);var L=c+"["+E+"]";f.dataPathArr[S]=E;var P=e.validate(f);f.baseId=T,e.util.varOccurences(P,x)<2?t+=" "+e.util.varReplace(P,x,L)+" ":t+=" var "+x+" = "+L+"; "+P+" ",i&&(t+=" if (!"+d+") break; "),t+=" } } ",i&&(t+=" if ("+d+") { ",g+="}")}}else if(e.opts.strictKeywords?typeof u=="object"&&Object.keys(u).length>0||u===!1:e.util.schemaHasRules(u,e.RULES.all)){f.schema=u,f.schemaPath=r,f.errSchemaPath=m,t+=" for (var "+E+" = 0; "+E+" < "+c+".length; "+E+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,E,e.opts.jsonPointers,!0);var L=c+"["+E+"]";f.dataPathArr[S]=E;var P=e.validate(f);f.baseId=T,e.util.varOccurences(P,x)<2?t+=" "+e.util.varReplace(P,x,L)+" ":t+=" var "+x+" = "+L+"; "+P+" ",i&&(t+=" if (!"+d+") break; "),t+=" }"}return i&&(t+=" "+g+" if ("+s+" == errors) {"),t}),Ps}var Fs,Km;function Xm(){return Km||(Km=1,Fs=function(e,n,o){var t=" ",l=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),m=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,T,c="data"+(p||""),h=e.opts.$data&&u&&u.$data,s;h?(t+=" var schema"+l+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",s="schema"+l):s=u;var f=n=="maximum",g=f?"exclusiveMaximum":"exclusiveMinimum",d=e.schema[g],E=e.opts.$data&&d&&d.$data,S=f?"<":">",x=f?">":"<",T=void 0;if(!(h||typeof u=="number"||u===void 0))throw new Error(n+" must be number");if(!(E||d===void 0||typeof d=="number"||typeof d=="boolean"))throw new Error(g+" must be number or boolean");if(E){var C=e.util.getData(d.$data,p,e.dataPathArr),v="exclusive"+l,A="exclType"+l,b="exclIsNumber"+l,w="op"+l,k="' + "+w+" + '";t+=" var schemaExcl"+l+" = "+C+"; ",C="schemaExcl"+l,t+=" var "+v+"; var "+A+" = typeof "+C+"; if ("+A+" != 'boolean' && "+A+" != 'undefined' && "+A+" != 'number') { ";var T=g,R=R||[];R.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(T||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: '"+g+" should be boolean' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var F=t;t=R.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+F+"]); ":t+=" validate.errors = ["+F+"]; return false; ":t+=" var err = "+F+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else if ( ",h&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'number') || "),t+=" "+A+" == 'number' ? ( ("+v+" = "+s+" === undefined || "+C+" "+S+"= "+s+") ? "+c+" "+x+"= "+C+" : "+c+" "+x+" "+s+" ) : ( ("+v+" = "+C+" === true) ? "+c+" "+x+"= "+s+" : "+c+" "+x+" "+s+" ) || "+c+" !== "+c+") { var op"+l+" = "+v+" ? '"+S+"' : '"+S+"='; ",u===void 0&&(T=g,m=e.errSchemaPath+"/"+g,s=C,h=E)}else{var b=typeof d=="number",k=S;if(b&&h){var w="'"+k+"'";t+=" if ( ",h&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'number') || "),t+=" ( "+s+" === undefined || "+d+" "+S+"= "+s+" ? "+c+" "+x+"= "+d+" : "+c+" "+x+" "+s+" ) || "+c+" !== "+c+") { "}else{b&&u===void 0?(v=!0,T=g,m=e.errSchemaPath+"/"+g,s=d,x+="="):(b&&(s=Math[f?"min":"max"](d,u)),d===(b?s:!0)?(v=!0,T=g,m=e.errSchemaPath+"/"+g,x+="="):(v=!1,k+="="));var w="'"+k+"'";t+=" if ( ",h&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'number') || "),t+=" "+c+" "+x+" "+s+" || "+c+" !== "+c+") { "}}T=T||n;var R=R||[];R.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(T||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { comparison: "+w+", limit: "+s+", exclusive: "+v+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be "+k+" ",h?t+="' + "+s:t+=""+s+"'"),e.opts.verbose&&(t+=" , schema: ",h?t+="validate.schema"+r:t+=""+u,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var F=t;return t=R.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+F+"]); ":t+=" validate.errors = ["+F+"]; return false; ":t+=" var err = "+F+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",i&&(t+=" else { "),t}),Fs}var Rs,Jm;function Ym(){return Jm||(Jm=1,Rs=function(e,n,o){var t=" ",l=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),m=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,g,c="data"+(p||""),h=e.opts.$data&&u&&u.$data,s;if(h?(t+=" var schema"+l+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",s="schema"+l):s=u,!(h||typeof u=="number"))throw new Error(n+" must be number");var f=n=="maxItems"?">":"<";t+="if ( ",h&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'number') || "),t+=" "+c+".length "+f+" "+s+") { ";var g=n,d=d||[];d.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(g||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { limit: "+s+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",n=="maxItems"?t+="more":t+="fewer",t+=" than ",h?t+="' + "+s+" + '":t+=""+u,t+=" items' "),e.opts.verbose&&(t+=" , schema: ",h?t+="validate.schema"+r:t+=""+u,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var E=t;return t=d.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}),Rs}var _s,Qm;function Zm(){return Qm||(Qm=1,_s=function(e,n,o){var t=" ",l=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),m=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,g,c="data"+(p||""),h=e.opts.$data&&u&&u.$data,s;if(h?(t+=" var schema"+l+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",s="schema"+l):s=u,!(h||typeof u=="number"))throw new Error(n+" must be number");var f=n=="maxLength"?">":"<";t+="if ( ",h&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'number') || "),e.opts.unicode===!1?t+=" "+c+".length ":t+=" ucs2length("+c+") ",t+=" "+f+" "+s+") { ";var g=n,d=d||[];d.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(g||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { limit: "+s+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be ",n=="maxLength"?t+="longer":t+="shorter",t+=" than ",h?t+="' + "+s+" + '":t+=""+u,t+=" characters' "),e.opts.verbose&&(t+=" , schema: ",h?t+="validate.schema"+r:t+=""+u,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var E=t;return t=d.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}),_s}var Bs,eh;function th(){return eh||(eh=1,Bs=function(e,n,o){var t=" ",l=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),m=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,g,c="data"+(p||""),h=e.opts.$data&&u&&u.$data,s;if(h?(t+=" var schema"+l+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",s="schema"+l):s=u,!(h||typeof u=="number"))throw new Error(n+" must be number");var f=n=="maxProperties"?">":"<";t+="if ( ",h&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'number') || "),t+=" Object.keys("+c+").length "+f+" "+s+") { ";var g=n,d=d||[];d.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(g||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { limit: "+s+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",n=="maxProperties"?t+="more":t+="fewer",t+=" than ",h?t+="' + "+s+" + '":t+=""+u,t+=" properties' "),e.opts.verbose&&(t+=" , schema: ",h?t+="validate.schema"+r:t+=""+u,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var E=t;return t=d.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}),Bs}var Ls,rh;function cC(){return rh||(rh=1,Ls=function(e,n,o){var t=" ",l=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),m=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,c="data"+(p||""),h=e.opts.$data&&u&&u.$data,s;if(h?(t+=" var schema"+l+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",s="schema"+l):s=u,!(h||typeof u=="number"))throw new Error(n+" must be number");t+="var division"+l+";if (",h&&(t+=" "+s+" !== undefined && ( typeof "+s+" != 'number' || "),t+=" (division"+l+" = "+c+" / "+s+", ",e.opts.multipleOfPrecision?t+=" Math.abs(Math.round(division"+l+") - division"+l+") > 1e-"+e.opts.multipleOfPrecision+" ":t+=" division"+l+" !== parseInt(division"+l+") ",t+=" ) ",h&&(t+=" ) "),t+=" ) { ";var f=f||[];f.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { multipleOf: "+s+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be multiple of ",h?t+="' + "+s:t+=""+s+"'"),e.opts.verbose&&(t+=" , schema: ",h?t+="validate.schema"+r:t+=""+u,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var g=t;return t=f.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}),Ls}var Os,nh;function fC(){return nh||(nh=1,Os=function(e,n,o){var t=" ",l=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),m=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,c="data"+(p||""),h="errs__"+l,s=e.util.copy(e);s.level++;var f="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=m,t+=" var "+h+" = errors; ";var g=e.compositeRule;e.compositeRule=s.compositeRule=!0,s.createErrors=!1;var d;s.opts.allErrors&&(d=s.opts.allErrors,s.opts.allErrors=!1),t+=" "+e.validate(s)+" ",s.createErrors=!0,d&&(s.opts.allErrors=d),e.compositeRule=s.compositeRule=g,t+=" if ("+f+") { ";var E=E||[];E.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , 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: "+c+" "),t+=" } "):t+=" {} ";var S=t;t=E.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 = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; 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(m)+" , 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: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i&&(t+=" if (false) { ");return t}),Os}var Ns,sh;function pC(){return sh||(sh=1,Ns=function(e,n,o){var t=" ",l=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),m=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,c="data"+(p||""),h="valid"+l,s="errs__"+l,f=e.util.copy(e),g="";f.level++;var d="valid"+f.level,E=f.baseId,S="prevValid"+l,x="passingSchemas"+l;t+="var "+s+" = errors , "+S+" = false , "+h+" = false , "+x+" = null; ";var T=e.compositeRule;e.compositeRule=f.compositeRule=!0;var C=u;if(C)for(var v,A=-1,b=C.length-1;A<b;)v=C[A+=1],(e.opts.strictKeywords?typeof v=="object"&&Object.keys(v).length>0||v===!1:e.util.schemaHasRules(v,e.RULES.all))?(f.schema=v,f.schemaPath=r+"["+A+"]",f.errSchemaPath=m+"/"+A,t+=" "+e.validate(f)+" ",f.baseId=E):t+=" var "+d+" = true; ",A&&(t+=" if ("+d+" && "+S+") { "+h+" = false; "+x+" = ["+x+", "+A+"]; } else { ",g+="}"),t+=" if ("+d+") { "+h+" = "+S+" = true; "+x+" = "+A+"; }";return e.compositeRule=f.compositeRule=T,t+=""+g+"if (!"+h+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { passingSchemas: "+x+" } ",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: "+c+" "),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}),Ns}var Ms,ah;function mC(){return ah||(ah=1,Ms=function(e,n,o){var t=" ",l=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),m=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,c="data"+(p||""),h=e.opts.$data&&u&&u.$data,s;h?(t+=" var schema"+l+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",s="schema"+l):s=u;var f=h?"(new RegExp("+s+"))":e.usePattern(u);t+="if ( ",h&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'string') || "),t+=" !"+f+".test("+c+") ) { ";var g=g||[];g.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { pattern: ",h?t+=""+s:t+=""+e.util.toQuotedString(u),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match pattern "`,h?t+="' + "+s+" + '":t+=""+e.util.escapeQuotes(u),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",h?t+="validate.schema"+r:t+=""+e.util.toQuotedString(u),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var d=t;return t=g.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}),Ms}var js,ih;function hC(){return ih||(ih=1,js=function(e,n,o){var t=" ",l=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),m=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,c="data"+(p||""),h="errs__"+l,s=e.util.copy(e),f="";s.level++;var g="valid"+s.level,d="key"+l,E="idx"+l,S=s.dataLevel=e.dataLevel+1,x="data"+S,T="dataProperties"+l,C=Object.keys(u||{}).filter(_),v=e.schema.patternProperties||{},A=Object.keys(v).filter(_),b=e.schema.additionalProperties,w=C.length||A.length,k=b===!1,R=typeof b=="object"&&Object.keys(b).length,F=e.opts.removeAdditional,L=k||R||F,P=e.opts.ownProperties,O=e.baseId,q=e.schema.required;if(q&&!(e.opts.$data&&q.$data)&&q.length<e.opts.loopRequired)var N=e.util.toHash(q);function _(rt){return rt!=="__proto__"}if(t+="var "+h+" = errors;var "+g+" = true;",P&&(t+=" var "+T+" = undefined;"),L){if(P?t+=" "+T+" = "+T+" || Object.keys("+c+"); for (var "+E+"=0; "+E+"<"+T+".length; "+E+"++) { var "+d+" = "+T+"["+E+"]; ":t+=" for (var "+d+" in "+c+") { ",w){if(t+=" var isAdditional"+l+" = !(false ",C.length)if(C.length>8)t+=" || validate.schema"+r+".hasOwnProperty("+d+") ";else{var G=C;if(G)for(var B,z=-1,H=G.length-1;z<H;)B=G[z+=1],t+=" || "+d+" == "+e.util.toQuotedString(B)+" "}if(A.length){var ce=A;if(ce)for(var re,Fe=-1,X=ce.length-1;Fe<X;)re=ce[Fe+=1],t+=" || "+e.usePattern(re)+".test("+d+") "}t+=" ); if (isAdditional"+l+") { "}if(F=="all")t+=" delete "+c+"["+d+"]; ";else{var I=e.errorPath,W="' + "+d+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,d,e.opts.jsonPointers)),k)if(F)t+=" delete "+c+"["+d+"]; ";else{t+=" "+g+" = false; ";var oe=m;m=e.errSchemaPath+"/additionalProperties";var ie=ie||[];ie.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { additionalProperty: '"+W+"' } ",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: "+c+" "),t+=" } "):t+=" {} ";var se=t;t=ie.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+se+"]); ":t+=" validate.errors = ["+se+"]; return false; ":t+=" var err = "+se+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",m=oe,i&&(t+=" break; ")}else if(R)if(F=="failing"){t+=" var "+h+" = errors; ";var de=e.compositeRule;e.compositeRule=s.compositeRule=!0,s.schema=b,s.schemaPath=e.schemaPath+".additionalProperties",s.errSchemaPath=e.errSchemaPath+"/additionalProperties",s.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,d,e.opts.jsonPointers);var be=c+"["+d+"]";s.dataPathArr[S]=d;var xe=e.validate(s);s.baseId=O,e.util.varOccurences(xe,x)<2?t+=" "+e.util.varReplace(xe,x,be)+" ":t+=" var "+x+" = "+be+"; "+xe+" ",t+=" if (!"+g+") { errors = "+h+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+c+"["+d+"]; } ",e.compositeRule=s.compositeRule=de}else{s.schema=b,s.schemaPath=e.schemaPath+".additionalProperties",s.errSchemaPath=e.errSchemaPath+"/additionalProperties",s.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,d,e.opts.jsonPointers);var be=c+"["+d+"]";s.dataPathArr[S]=d;var xe=e.validate(s);s.baseId=O,e.util.varOccurences(xe,x)<2?t+=" "+e.util.varReplace(xe,x,be)+" ":t+=" var "+x+" = "+be+"; "+xe+" ",i&&(t+=" if (!"+g+") break; ")}e.errorPath=I}w&&(t+=" } "),t+=" } ",i&&(t+=" if ("+g+") { ",f+="}")}var Te=e.opts.useDefaults&&!e.compositeRule;if(C.length){var J=C;if(J)for(var B,Q=-1,ke=J.length-1;Q<ke;){B=J[Q+=1];var $=u[B];if(e.opts.strictKeywords?typeof $=="object"&&Object.keys($).length>0||$===!1:e.util.schemaHasRules($,e.RULES.all)){var ae=e.util.getProperty(B),be=c+ae,Ie=Te&&$.default!==void 0;s.schema=$,s.schemaPath=r+ae,s.errSchemaPath=m+"/"+e.util.escapeFragment(B),s.errorPath=e.util.getPath(e.errorPath,B,e.opts.jsonPointers),s.dataPathArr[S]=e.util.toQuotedString(B);var xe=e.validate(s);if(s.baseId=O,e.util.varOccurences(xe,x)<2){xe=e.util.varReplace(xe,x,be);var Ne=be}else{var Ne=x;t+=" var "+x+" = "+be+"; "}if(Ie)t+=" "+xe+" ";else{if(N&&N[B]){t+=" if ( "+Ne+" === undefined ",P&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(B)+"') "),t+=") { "+g+" = false; ";var I=e.errorPath,oe=m,Be=e.util.escapeQuotes(B);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(I,B,e.opts.jsonPointers)),m=e.errSchemaPath+"/required";var ie=ie||[];ie.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { missingProperty: '"+Be+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+Be+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var se=t;t=ie.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+se+"]); ":t+=" validate.errors = ["+se+"]; return false; ":t+=" var err = "+se+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",m=oe,e.errorPath=I,t+=" } else { "}else i?(t+=" if ( "+Ne+" === undefined ",P&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(B)+"') "),t+=") { "+g+" = true; } else { "):(t+=" if ("+Ne+" !== undefined ",P&&(t+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(B)+"') "),t+=" ) { ");t+=" "+xe+" } "}}i&&(t+=" if ("+g+") { ",f+="}")}}if(A.length){var j=A;if(j)for(var re,Qe=-1,ut=j.length-1;Qe<ut;){re=j[Qe+=1];var $=v[re];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(re),s.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(re),P?t+=" "+T+" = "+T+" || Object.keys("+c+"); for (var "+E+"=0; "+E+"<"+T+".length; "+E+"++) { var "+d+" = "+T+"["+E+"]; ":t+=" for (var "+d+" in "+c+") { ",t+=" if ("+e.usePattern(re)+".test("+d+")) { ",s.errorPath=e.util.getPathExpr(e.errorPath,d,e.opts.jsonPointers);var be=c+"["+d+"]";s.dataPathArr[S]=d;var xe=e.validate(s);s.baseId=O,e.util.varOccurences(xe,x)<2?t+=" "+e.util.varReplace(xe,x,be)+" ":t+=" var "+x+" = "+be+"; "+xe+" ",i&&(t+=" if (!"+g+") break; "),t+=" } ",i&&(t+=" else "+g+" = true; "),t+=" } ",i&&(t+=" if ("+g+") { ",f+="}")}}}return i&&(t+=" "+f+" if ("+h+" == errors) {"),t}),js}var Us,oh;function dC(){return oh||(oh=1,Us=function(e,n,o){var t=" ",l=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),m=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,c="data"+(p||""),h="errs__"+l,s=e.util.copy(e),f="";s.level++;var g="valid"+s.level;if(t+="var "+h+" = 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=m;var d="key"+l,E="idx"+l,S="i"+l,x="' + "+d+" + '",T=s.dataLevel=e.dataLevel+1,C="data"+T,v="dataProperties"+l,A=e.opts.ownProperties,b=e.baseId;A&&(t+=" var "+v+" = undefined; "),A?t+=" "+v+" = "+v+" || Object.keys("+c+"); for (var "+E+"=0; "+E+"<"+v+".length; "+E+"++) { var "+d+" = "+v+"["+E+"]; ":t+=" for (var "+d+" in "+c+") { ",t+=" var startErrs"+l+" = errors; ";var w=d,k=e.compositeRule;e.compositeRule=s.compositeRule=!0;var R=e.validate(s);s.baseId=b,e.util.varOccurences(R,C)<2?t+=" "+e.util.varReplace(R,C,w)+" ":t+=" var "+C+" = "+w+"; "+R+" ",e.compositeRule=s.compositeRule=k,t+=" if (!"+g+") { for (var "+S+"=startErrs"+l+"; "+S+"<errors; "+S+"++) { vErrors["+S+"].propertyName = "+d+"; } var err = ",e.createErrors!==!1?(t+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { propertyName: '"+x+"' } ",e.opts.messages!==!1&&(t+=" , message: 'property name \\'"+x+"\\' is invalid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),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+=" "+f+" if ("+h+" == errors) {"),t}),Us}var qs,lh;function gC(){return lh||(lh=1,qs=function(e,n,o){var t=" ",l=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),m=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,c="data"+(p||""),h="valid"+l,s=e.opts.$data&&u&&u.$data;s&&(t+=" var schema"+l+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ");var f="schema"+l;if(!s)if(u.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var g=[],d=u;if(d)for(var E,S=-1,x=d.length-1;S<x;){E=d[S+=1];var T=e.schema.properties[E];T&&(e.opts.strictKeywords?typeof T=="object"&&Object.keys(T).length>0||T===!1:e.util.schemaHasRules(T,e.RULES.all))||(g[g.length]=E)}}else var g=u;if(s||g.length){var C=e.errorPath,v=s||g.length>=e.opts.loopRequired,A=e.opts.ownProperties;if(i)if(t+=" var missing"+l+"; ",v){s||(t+=" var "+f+" = validate.schema"+r+"; ");var b="i"+l,w="schema"+l+"["+b+"]",k="' + "+w+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(C,w,e.opts.jsonPointers)),t+=" var "+h+" = true; ",s&&(t+=" if (schema"+l+" === undefined) "+h+" = true; else if (!Array.isArray(schema"+l+")) "+h+" = false; else {"),t+=" for (var "+b+" = 0; "+b+" < "+f+".length; "+b+"++) { "+h+" = "+c+"["+f+"["+b+"]] !== undefined ",A&&(t+=" && Object.prototype.hasOwnProperty.call("+c+", "+f+"["+b+"]) "),t+="; if (!"+h+") break; } ",s&&(t+=" } "),t+=" if (!"+h+") { ";var R=R||[];R.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { missingProperty: '"+k+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+k+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var F=t;t=R.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+F+"]); ":t+=" validate.errors = ["+F+"]; return false; ":t+=" var err = "+F+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { "}else{t+=" if ( ";var L=g;if(L)for(var P,b=-1,O=L.length-1;b<O;){P=L[b+=1],b&&(t+=" || ");var q=e.util.getProperty(P),N=c+q;t+=" ( ( "+N+" === undefined ",A&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(P)+"') "),t+=") && (missing"+l+" = "+e.util.toQuotedString(e.opts.jsonPointers?P:q)+") ) "}t+=") { ";var w="missing"+l,k="' + "+w+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(C,w,!0):C+" + "+w);var R=R||[];R.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { missingProperty: '"+k+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+k+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var F=t;t=R.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+F+"]); ":t+=" validate.errors = ["+F+"]; return false; ":t+=" var err = "+F+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { "}else if(v){s||(t+=" var "+f+" = validate.schema"+r+"; ");var b="i"+l,w="schema"+l+"["+b+"]",k="' + "+w+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(C,w,e.opts.jsonPointers)),s&&(t+=" if ("+f+" && !Array.isArray("+f+")) { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { missingProperty: '"+k+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+k+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+f+" !== undefined) { "),t+=" for (var "+b+" = 0; "+b+" < "+f+".length; "+b+"++) { if ("+c+"["+f+"["+b+"]] === undefined ",A&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", "+f+"["+b+"]) "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { missingProperty: '"+k+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+k+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",s&&(t+=" } ")}else{var _=g;if(_)for(var P,G=-1,B=_.length-1;G<B;){P=_[G+=1];var q=e.util.getProperty(P),k=e.util.escapeQuotes(P),N=c+q;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(C,P,e.opts.jsonPointers)),t+=" if ( "+N+" === undefined ",A&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(P)+"') "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { missingProperty: '"+k+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+k+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=C}else i&&(t+=" if (true) {");return t}),qs}var Vs,uh;function yC(){return uh||(uh=1,Vs=function(e,n,o){var t=" ",l=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),m=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,c="data"+(p||""),h="valid"+l,s=e.opts.$data&&u&&u.$data,f;if(s?(t+=" var schema"+l+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",f="schema"+l):f=u,(u||s)&&e.opts.uniqueItems!==!1){s&&(t+=" var "+h+"; if ("+f+" === false || "+f+" === undefined) "+h+" = true; else if (typeof "+f+" != 'boolean') "+h+" = false; else { "),t+=" var i = "+c+".length , "+h+" = true , j; if (i > 1) { ";var g=e.schema.items&&e.schema.items.type,d=Array.isArray(g);if(!g||g=="object"||g=="array"||d&&(g.indexOf("object")>=0||g.indexOf("array")>=0))t+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+c+"[i], "+c+"[j])) { "+h+" = false; break outer; } } } ";else{t+=" var itemIndices = {}, item; for (;i--;) { var item = "+c+"[i]; ";var E="checkDataType"+(d?"s":"");t+=" if ("+e.util[E](g,"item",e.opts.strictNumbers,!0)+") continue; ",d&&(t+=` if (typeof item == 'string') item = '"' + item; `),t+=" if (typeof itemIndices[item] == 'number') { "+h+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}t+=" } ",s&&(t+=" } "),t+=" if (!"+h+") { ";var S=S||[];S.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , 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: "+c+" "),t+=" } "):t+=" {} ";var x=t;t=S.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+=" } ",i&&(t+=" else { ")}else i&&(t+=" if (true) { ");return t}),Vs}var $s,ch;function vC(){return ch||(ch=1,$s={$ref:Zx(),allOf:eC(),anyOf:tC(),$comment:rC(),const:nC(),contains:sC(),dependencies:aC(),enum:iC(),format:oC(),if:lC(),items:uC(),maximum:Xm(),minimum:Xm(),maxItems:Ym(),minItems:Ym(),maxLength:Zm(),minLength:Zm(),maxProperties:th(),minProperties:th(),multipleOf:cC(),not:fC(),oneOf:pC(),pattern:mC(),properties:hC(),propertyNames:dC(),required:gC(),uniqueItems:yC(),validate:_m()}),$s}var Ws,fh;function EC(){if(fh)return Ws;fh=1;var a=vC(),e=Lr().toHash;return Ws=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"],l=["$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 m;if(typeof r=="object"){var i=Object.keys(r)[0];m=r[i],r=i,m.forEach(function(h){t.push(h),o.all[h]=!0})}t.push(r);var c=o.all[r]={keyword:r,code:a[r],implements:m};return c}),o.all.$comment={keyword:"$comment",code:a.$comment},u.type&&(o.types[u.type]=u)}),o.keywords=e(t.concat(l)),o.custom={},o},Ws}var Gs,ph;function SC(){if(ph)return Gs;ph=1;var a=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];return Gs=function(e,n){for(var o=0;o<n.length;o++){e=JSON.parse(JSON.stringify(e));var t=n[o].split("/"),l=e,p;for(p=1;p<t.length;p++)l=l[t[p]];for(p=0;p<a.length;p++){var u=a[p],r=l[u];r&&(l[u]={anyOf:[r,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return e},Gs}var zs,mh;function bC(){if(mh)return zs;mh=1;var a=hs().MissingRef;zs=e;function e(n,o,t){var l=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 m=l._addSchema(n,void 0,o);return m.validate||r(m)});return t&&p.then(function(m){t(null,m)},t),p;function u(m){var i=m.$schema;return i&&!l.getSchema(i)?e.call(l,{$ref:i},!0):Promise.resolve()}function r(m){try{return l._compile(m)}catch(c){if(c instanceof a)return i(c);throw c}function i(c){var h=c.missingSchema;if(g(h))throw new Error("Schema "+h+" is loaded but "+c.missingRef+" cannot be resolved");var s=l._loadingSchemas[h];return s||(s=l._loadingSchemas[h]=l._opts.loadSchema(h),s.then(f,f)),s.then(function(d){if(!g(h))return u(d).then(function(){g(h)||l.addSchema(d,h,void 0,o)})}).then(function(){return r(m)});function f(){delete l._loadingSchemas[h]}function g(d){return l._refs[d]||l._schemas[d]}}}}return zs}var Hs,hh;function xC(){return hh||(hh=1,Hs=function(e,n,o){var t=" ",l=e.level,p=e.dataLevel,u=e.schema[n],r=e.schemaPath+e.util.getProperty(n),m=e.errSchemaPath+"/"+n,i=!e.opts.allErrors,c,h="data"+(p||""),s="valid"+l,f="errs__"+l,g=e.opts.$data&&u&&u.$data,d;g?(t+=" var schema"+l+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",d="schema"+l):d=u;var E=this,S="definition"+l,x=E.definition,T="",C,v,A,b,w;if(g&&x.$data){w="keywordValidate"+l;var k=x.validateSchema;t+=" var "+S+" = RULES.custom['"+n+"'].definition; var "+w+" = "+S+".validate;"}else{if(b=e.useCustomRule(E,u,e.schema,e),!b)return;d="validate.schema"+r,w=b.code,C=x.compile,v=x.inline,A=x.macro}var R=w+".errors",F="i"+l,L="ruleErr"+l,P=x.async;if(P&&!e.async)throw new Error("async keyword in sync schema");if(v||A||(t+=""+R+" = null;"),t+="var "+f+" = errors;var "+s+";",g&&x.$data&&(T+="}",t+=" if ("+d+" === undefined) { "+s+" = true; } else { ",k&&(T+="}",t+=" "+s+" = "+S+".validateSchema("+d+"); if ("+s+") { ")),v)x.statements?t+=" "+b.validate+" ":t+=" "+s+" = "+b.validate+"; ";else if(A){var O=e.util.copy(e),T="";O.level++;var q="valid"+O.level;O.schema=b.validate,O.schemaPath="";var N=e.compositeRule;e.compositeRule=O.compositeRule=!0;var _=e.validate(O).replace(/validate\.schema/g,w);e.compositeRule=O.compositeRule=N,t+=" "+_}else{var G=G||[];G.push(t),t="",t+=" "+w+".call( ",e.opts.passContext?t+="this":t+="self",C||x.schema===!1?t+=" , "+h+" ":t+=" , "+d+" , "+h+" , validate.schema"+e.schemaPath+" ",t+=" , (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var B=p?"data"+(p-1||""):"parentData",z=p?e.dataPathArr[p]:"parentDataProperty";t+=" , "+B+" , "+z+" , rootData ) ";var H=t;t=G.pop(),x.errors===!1?(t+=" "+s+" = ",P&&(t+="await "),t+=""+H+"; "):P?(R="customErrors"+l,t+=" var "+R+" = null; try { "+s+" = await "+H+"; } catch (e) { "+s+" = false; if (e instanceof ValidationError) "+R+" = e.errors; else throw e; } "):t+=" "+R+" = null; "+s+" = "+H+"; "}if(x.modifying&&(t+=" if ("+B+") "+h+" = "+B+"["+z+"];"),t+=""+T,x.valid)i&&(t+=" if (true) { ");else{t+=" if ( ",x.valid===void 0?(t+=" !",A?t+=""+q:t+=""+s):t+=" "+!x.valid+" ",t+=") { ",c=E.keyword;var G=G||[];G.push(t),t="";var G=G||[];G.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(c||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { keyword: '"+E.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+E.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),t+=" } "):t+=" {} ";var ce=t;t=G.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+ce+"]); ":t+=" validate.errors = ["+ce+"]; return false; ":t+=" var err = "+ce+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var re=t;t=G.pop(),v?x.errors?x.errors!="full"&&(t+=" for (var "+F+"="+f+"; "+F+"<errors; "+F+"++) { var "+L+" = vErrors["+F+"]; if ("+L+".dataPath === undefined) "+L+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+L+".schemaPath === undefined) { "+L+'.schemaPath = "'+m+'"; } ',e.opts.verbose&&(t+=" "+L+".schema = "+d+"; "+L+".data = "+h+"; "),t+=" } "):x.errors===!1?t+=" "+re+" ":(t+=" if ("+f+" == errors) { "+re+" } else { for (var "+F+"="+f+"; "+F+"<errors; "+F+"++) { var "+L+" = vErrors["+F+"]; if ("+L+".dataPath === undefined) "+L+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+L+".schemaPath === undefined) { "+L+'.schemaPath = "'+m+'"; } ',e.opts.verbose&&(t+=" "+L+".schema = "+d+"; "+L+".data = "+h+"; "),t+=" } } "):A?(t+=" var err = ",e.createErrors!==!1?(t+=" { keyword: '"+(c||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { keyword: '"+E.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+E.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),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; ")):x.errors===!1?t+=" "+re+" ":(t+=" if (Array.isArray("+R+")) { if (vErrors === null) vErrors = "+R+"; else vErrors = vErrors.concat("+R+"); errors = vErrors.length; for (var "+F+"="+f+"; "+F+"<errors; "+F+"++) { var "+L+" = vErrors["+F+"]; if ("+L+".dataPath === undefined) "+L+".dataPath = (dataPath || '') + "+e.errorPath+"; "+L+'.schemaPath = "'+m+'"; ',e.opts.verbose&&(t+=" "+L+".schema = "+d+"; "+L+".data = "+h+"; "),t+=" } } else { "+re+" } "),t+=" } ",i&&(t+=" else { ")}return t}),Hs}var CC="http://json-schema.org/draft-07/schema#",wC="http://json-schema.org/draft-07/schema#",AC="Core schema meta-schema",TC={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:[]}},kC=["object","boolean"],DC={$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:"#"}},dh={$schema:CC,$id:wC,title:AC,definitions:TC,type:kC,properties:DC,default:!0},Ks,gh;function IC(){if(gh)return Ks;gh=1;var a=dh;return Ks={$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"}]}}},Ks}var Xs,yh;function PC(){if(yh)return Xs;yh=1;var a=/^[a-z_$][a-z0-9_$-]*$/i,e=xC(),n=IC();Xs={add:o,get:t,remove:l,validate:p};function o(u,r){var m=this.RULES;if(m.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 c=0;c<i.length;c++)s(u,i[c],r);else s(u,i,r);var h=r.metaSchema;h&&(r.$data&&this._opts.$data&&(h={anyOf:[h,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),r.validateSchema=this.compile(h,!0))}m.keywords[u]=m.all[u]=!0;function s(f,g,d){for(var E,S=0;S<m.length;S++){var x=m[S];if(x.type==g){E=x;break}}E||(E={type:g,rules:[]},m.push(E));var T={keyword:f,definition:d,custom:!0,code:e,implements:d.implements};E.rules.push(T),m.custom[f]=T}return this}function t(u){var r=this.RULES.custom[u];return r?r.definition:this.RULES.keywords[u]||!1}function l(u){var r=this.RULES;delete r.keywords[u],delete r.all[u],delete r.custom[u];for(var m=0;m<r.length;m++)for(var i=r[m].rules,c=0;c<i.length;c++)if(i[c].keyword==u){i.splice(c,1);break}return this}function p(u,r){p.errors=null;var m=this._validateKeyword=this._validateKeyword||this.compile(n,!0);if(m(u))return!0;if(p.errors=m.errors,r)throw new Error("custom keyword definition is invalid: "+this.errorsText(m.errors));return!1}return Xs}var FC="http://json-schema.org/draft-07/schema#",RC="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",_C="Meta-schema for $data reference (JSON Schema extension proposal)",BC="object",LC=["$data"],OC={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},NC=!1,MC={$schema:FC,$id:RC,description:_C,type:BC,required:LC,properties:OC,additionalProperties:NC},Js,vh;function Eh(){if(vh)return Js;vh=1;var a=Jx(),e=ps(),n=Yx(),o=Tm(),t=Fm(),l=Qx(),p=EC(),u=SC(),r=Lr();Js=f,f.prototype.validate=g,f.prototype.compile=d,f.prototype.addSchema=E,f.prototype.addMetaSchema=S,f.prototype.validateSchema=x,f.prototype.getSchema=C,f.prototype.removeSchema=b,f.prototype.addFormat=N,f.prototype.errorsText=q,f.prototype._addSchema=k,f.prototype._compile=R,f.prototype.compileAsync=bC();var m=PC();f.prototype.addKeyword=m.add,f.prototype.getKeyword=m.get,f.prototype.removeKeyword=m.remove,f.prototype.validateKeyword=m.validate;var i=hs();f.ValidationError=i.Validation,f.MissingRefError=i.MissingRef,f.$dataMetaSchema=u;var c="http://json-schema.org/draft-07/schema",h=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],s=["/properties"];function f(X){if(!(this instanceof f))return new f(X);X=this._opts=r.copy(X)||{},re(this),this._schemas={},this._refs={},this._fragments={},this._formats=l(X.format),this._cache=X.cache||new n,this._loadingSchemas={},this._compilations=[],this.RULES=p(),this._getId=F(X),X.loopRequired=X.loopRequired||1/0,X.errorDataPath=="property"&&(X._errorDataPathProperty=!0),X.serialize===void 0&&(X.serialize=t),this._metaOpts=ce(this),X.formats&&B(this),X.keywords&&z(this),_(this),typeof X.meta=="object"&&this.addMetaSchema(X.meta),X.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),G(this)}function g(X,I){var W;if(typeof X=="string"){if(W=this.getSchema(X),!W)throw new Error('no schema with key or ref "'+X+'"')}else{var oe=this._addSchema(X);W=oe.validate||this._compile(oe)}var ie=W(I);return W.$async!==!0&&(this.errors=W.errors),ie}function d(X,I){var W=this._addSchema(X,void 0,I);return W.validate||this._compile(W)}function E(X,I,W,oe){if(Array.isArray(X)){for(var ie=0;ie<X.length;ie++)this.addSchema(X[ie],void 0,W,oe);return this}var se=this._getId(X);if(se!==void 0&&typeof se!="string")throw new Error("schema id must be string");return I=e.normalizeId(I||se),H(this,I),this._schemas[I]=this._addSchema(X,W,oe,!0),this}function S(X,I,W){return this.addSchema(X,I,W,!0),this}function x(X,I){var W=X.$schema;if(W!==void 0&&typeof W!="string")throw new Error("$schema must be a string");if(W=W||this._opts.defaultMeta||T(this),!W)return this.logger.warn("meta-schema not available"),this.errors=null,!0;var oe=this.validate(W,X);if(!oe&&I){var ie="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(ie);else throw new Error(ie)}return oe}function T(X){var I=X._opts.meta;return X._opts.defaultMeta=typeof I=="object"?X._getId(I)||I:X.getSchema(c)?c:void 0,X._opts.defaultMeta}function C(X){var I=A(this,X);switch(typeof I){case"object":return I.validate||this._compile(I);case"string":return this.getSchema(I);case"undefined":return v(this,X)}}function v(X,I){var W=e.schema.call(X,{schema:{}},I);if(W){var oe=W.schema,ie=W.root,se=W.baseId,de=a.call(X,oe,ie,void 0,se);return X._fragments[I]=new o({ref:I,fragment:!0,schema:oe,root:ie,baseId:se,validate:de}),de}}function A(X,I){return I=e.normalizeId(I),X._schemas[I]||X._refs[I]||X._fragments[I]}function b(X){if(X instanceof RegExp)return w(this,this._schemas,X),w(this,this._refs,X),this;switch(typeof X){case"undefined":return w(this,this._schemas),w(this,this._refs),this._cache.clear(),this;case"string":var I=A(this,X);return I&&this._cache.del(I.cacheKey),delete this._schemas[X],delete this._refs[X],this;case"object":var W=this._opts.serialize,oe=W?W(X):X;this._cache.del(oe);var ie=this._getId(X);ie&&(ie=e.normalizeId(ie),delete this._schemas[ie],delete this._refs[ie])}return this}function w(X,I,W){for(var oe in I){var ie=I[oe];!ie.meta&&(!W||W.test(oe))&&(X._cache.del(ie.cacheKey),delete I[oe])}}function k(X,I,W,oe){if(typeof X!="object"&&typeof X!="boolean")throw new Error("schema should be object or boolean");var ie=this._opts.serialize,se=ie?ie(X):X,de=this._cache.get(se);if(de)return de;oe=oe||this._opts.addUsedSchema!==!1;var be=e.normalizeId(this._getId(X));be&&oe&&H(this,be);var xe=this._opts.validateSchema!==!1&&!I,Te;xe&&!(Te=be&&be==e.normalizeId(X.$schema))&&this.validateSchema(X,!0);var J=e.ids.call(this,X),Q=new o({id:be,schema:X,localRefs:J,cacheKey:se,meta:W});return be[0]!="#"&&oe&&(this._refs[be]=Q),this._cache.put(se,Q),xe&&Te&&this.validateSchema(X,!0),Q}function R(X,I){if(X.compiling)return X.validate=ie,ie.schema=X.schema,ie.errors=null,ie.root=I||ie,X.schema.$async===!0&&(ie.$async=!0),ie;X.compiling=!0;var W;X.meta&&(W=this._opts,this._opts=this._metaOpts);var oe;try{oe=a.call(this,X.schema,I,X.localRefs)}catch(se){throw delete X.validate,se}finally{X.compiling=!1,X.meta&&(this._opts=W)}return X.validate=oe,X.refs=oe.refs,X.refVal=oe.refVal,X.root=oe.root,oe;function ie(){var se=X.validate,de=se.apply(this,arguments);return ie.errors=se.errors,de}}function F(X){switch(X.schemaId){case"auto":return O;case"id":return L;default:return P}}function L(X){return X.$id&&this.logger.warn("schema $id ignored",X.$id),X.id}function P(X){return X.id&&this.logger.warn("schema id ignored",X.id),X.$id}function O(X){if(X.$id&&X.id&&X.$id!=X.id)throw new Error("schema $id is different from id");return X.$id||X.id}function q(X,I){if(X=X||this.errors,!X)return"No errors";I=I||{};for(var W=I.separator===void 0?", ":I.separator,oe=I.dataVar===void 0?"data":I.dataVar,ie="",se=0;se<X.length;se++){var de=X[se];de&&(ie+=oe+de.dataPath+" "+de.message+W)}return ie.slice(0,-W.length)}function N(X,I){return typeof I=="string"&&(I=new RegExp(I)),this._formats[X]=I,this}function _(X){var I;if(X._opts.$data&&(I=MC,X.addMetaSchema(I,I.$id,!0)),X._opts.meta!==!1){var W=dh;X._opts.$data&&(W=u(W,s)),X.addMetaSchema(W,c,!0),X._refs["http://json-schema.org/schema"]=c}}function G(X){var I=X._opts.schemas;if(I)if(Array.isArray(I))X.addSchema(I);else for(var W in I)X.addSchema(I[W],W)}function B(X){for(var I in X._opts.formats){var W=X._opts.formats[I];X.addFormat(I,W)}}function z(X){for(var I in X._opts.keywords){var W=X._opts.keywords[I];X.addKeyword(I,W)}}function H(X,I){if(X._schemas[I]||X._refs[I])throw new Error('schema with key or id "'+I+'" already exists')}function ce(X){for(var I=r.copy(X._opts),W=0;W<h.length;W++)delete I[h[W]];return I}function re(X){var I=X._opts.logger;if(I===!1)X.logger={log:Fe,warn:Fe,error:Fe};else{if(I===void 0&&(I=console),!(typeof I=="object"&&I.log&&I.warn&&I.error))throw new Error("logger must implement log, warn and error methods");X.logger=I}}function Fe(){}return Js}var jC={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},UC={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},qC={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},VC={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},$C={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},WC={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},GC={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},zC={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},HC={__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},KC={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},XC={exports:!0,global:!1,module:!1,require:!1},JC={define:!1,require:!1},YC={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},QC={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},ZC={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},e1={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},t1={console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},r1={emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},n1={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},s1={__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},a1={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},i1={$:!1,jQuery:!1},o1={YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},l1={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},u1={$:!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},c1={$:!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},f1={_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},p1={$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},m1={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},h1={advanceClock:!1,atom:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},d1={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},g1={$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},y1={browser:!1,chrome:!1,opr:!1},v1={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},E1={$:!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},S1={builtin:jC,es5:UC,es2015:qC,es2017:VC,es2020:$C,es2021:WC,browser:GC,worker:zC,node:HC,nodeBuiltin:KC,commonjs:XC,amd:JC,mocha:YC,jasmine:QC,jest:ZC,qunit:e1,phantomjs:t1,couch:r1,rhino:n1,nashorn:s1,wsh:a1,jquery:i1,yui:o1,shelljs:l1,prototypejs:u1,meteor:c1,mongo:f1,applescript:p1,serviceworker:m1,atomtest:h1,embertest:d1,protractor:g1,"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:y1,greasemonkey:v1,devtools:E1},Ys,Sh;function b1(){return Sh||(Sh=1,Ys=S1),Ys}var bh;function x1(){if(bh)return dn;bh=1,Object.defineProperty(dn,"__esModule",{value:!0});var a=zx,e=pn,n=Eh(),o=b1();function t(be){return be&&typeof be=="object"&&"default"in be?be:{default:be}}var l=t(a),p=t(e),u=t(n),r=t(o);const m=["off","warn","error"],i=m.reduce((be,xe,Te)=>(be[xe]=Te,be),{}),c=new Set([0,1,2,"off","warn","error"]);function h(be){const xe=Array.isArray(be)?be[0]:be;return xe===0||xe===1||xe===2?xe:typeof xe=="string"&&i[xe.toLowerCase()]||0}function s(be){be.rules&&Object.keys(be.rules).forEach(xe=>{const Te=be.rules[xe];typeof Te=="number"?be.rules[xe]=m[Te]||m[0]:Array.isArray(Te)&&typeof Te[0]=="number"&&(Te[0]=m[Te[0]]||m[0])})}function f(be){return h(be)===2}function g(be){let xe=Array.isArray(be)?be[0]:be;return typeof xe=="string"&&(xe=xe.toLowerCase()),c.has(xe)}function d(be){return Object.keys(be).every(xe=>g(be[xe]))}function E(be){switch(be){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(`'${be}' is not a valid configuration for a global (use 'readonly', 'writable', or 'off')`)}}var S={__proto__:null,getRuleSeverity:h,normalizeToStrings:s,isErrorSeverity:f,isValidSeverity:g,isEverySeverityValid:d,normalizeConfigGlobal:E};const x={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."},T=new Set;function C(be,xe){const Te=JSON.stringify({source:be,errorCode:xe});if(T.has(Te))return;T.add(Te);const J=p.default.relative(process.cwd(),be),Q=x[xe];process.emitWarning(`${Q} (found in "${J}")`,"DeprecationWarning",xe)}const v={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 A=(be={})=>{const xe=new u.default({meta:!1,useDefaults:!0,validateSchema:!1,missingRefs:"ignore",verbose:!0,schemaId:"auto",...be});return xe.addMetaSchema(v),xe._opts.defaultMeta=v.id,xe};function b(be){return typeof be=="object"&&be!==null&&!Array.isArray(be)}function w(be,xe){if(xe===void 0)return be;if(!b(be)||!b(xe))return xe;const Te={...be,...xe};for(const J of Object.keys(xe))Object.prototype.propertyIsEnumerable.call(be,J)&&(Te[J]=w(be[J],xe[J]));return Te}function k(be,xe){return!be||!xe?xe||be||[]:[...be.map((Te,J)=>w(Te,xe[J])),...xe.slice(be.length)]}const R={$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"}},F={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"},...R},additionalProperties:!1},overrideConfig:{type:"object",properties:{excludedFiles:{$ref:"#/definitions/stringOrStrings"},files:{$ref:"#/definitions/stringOrStringsRequired"},...R},required:["files"],additionalProperties:!1}},$ref:"#/definitions/objectConfig"};function L(be,xe){const Te={};for(const[J,Q]of Object.entries(be))Object.hasOwn(xe,J)||(Te[J]=Q);return Te}const P=L(r.default.es2015,r.default.es5),O={Atomics:!1,SharedArrayBuffer:!1},q={BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,globalThis:!1},N={AggregateError:!1,FinalizationRegistry:!1,WeakRef:!1};var _=new Map(Object.entries({builtin:{globals:r.default.es5},es6:{globals:P,parserOptions:{ecmaVersion:6}},es2015:{globals:P,parserOptions:{ecmaVersion:6}},es2016:{globals:P,parserOptions:{ecmaVersion:7}},es2017:{globals:{...P,...O},parserOptions:{ecmaVersion:8}},es2018:{globals:{...P,...O},parserOptions:{ecmaVersion:9}},es2019:{globals:{...P,...O},parserOptions:{ecmaVersion:10}},es2020:{globals:{...P,...O,...q},parserOptions:{ecmaVersion:11}},es2021:{globals:{...P,...O,...q,...N},parserOptions:{ecmaVersion:12}},es2022:{globals:{...P,...O,...q,...N},parserOptions:{ecmaVersion:13}},es2023:{globals:{...P,...O,...q,...N},parserOptions:{ecmaVersion:14}},es2024:{globals:{...P,...O,...q,...N},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 G=A(),B=new WeakMap,z=Function.prototype;let H;const ce={error:2,warn:1,off:0},re=new WeakSet,Fe=Object.freeze({type:"array",minItems:0,maxItems:0});class X{constructor({builtInRules:xe=new Map}={}){this.builtInRules=xe}getRuleOptionsSchema(xe){if(!xe)return null;if(!xe.meta)return{...Fe};const Te=xe.meta.schema;if(typeof Te>"u")return{...Fe};if(Te===!1)return null;if(typeof Te!="object"||Te===null)throw new TypeError("Rule's `meta.schema` must be an array or object");return Array.isArray(Te)?Te.length?{type:"array",items:Te,minItems:0,maxItems:Te.length}:{...Fe}:Te}validateRuleSeverity(xe){const Te=Array.isArray(xe)?xe[0]:xe,J=typeof Te=="string"?ce[Te.toLowerCase()]:Te;if(J===0||J===1||J===2)return J;throw new Error(` Severity should be one of the following: 0 = off, 1 = warn, 2 = error (you passed '${l.default.inspect(Te).replace(/'/gu,'"').replace(/\n/gu,"")}').
27
- `)}validateRuleSchema(xe,Te){if(!B.has(xe))try{const Q=this.getRuleOptionsSchema(xe);Q&&B.set(xe,G.compile(Q))}catch(Q){const ke=new Error(Q.message,{cause:Q});throw ke.code="ESLINT_INVALID_RULE_OPTIONS_SCHEMA",ke}const J=B.get(xe);if(J){const Q=k(xe.meta?.defaultOptions,Te);if(J(Q),J.errors)throw new Error(J.errors.map(ke=>` Value ${JSON.stringify(ke.data)} ${ke.message}.
28
- `).join(""))}}validateRuleOptions(xe,Te,J,Q=null){try{this.validateRuleSeverity(J)!==0&&this.validateRuleSchema(xe,Array.isArray(J)?J.slice(1):[])}catch(ke){let $=ke.code==="ESLINT_INVALID_RULE_OPTIONS_SCHEMA"?`Error while processing options validation schema of rule '${Te}': ${ke.message}`:`Configuration for rule "${Te}" is invalid:
29
- ${ke.message}`;typeof Q=="string"&&($=`${Q}:
30
- ${$}`);const ae=new Error($,{cause:ke});throw ke.code&&(ae.code=ke.code),ae}}validateEnvironment(xe,Te,J=z){xe&&Object.keys(xe).forEach(Q=>{if(!(J(Q)||_.get(Q)||null)){const $=`${Te}:
31
- Environment key "${Q}" is unknown
32
- `;throw new Error($)}})}validateRules(xe,Te,J=z){xe&&Object.keys(xe).forEach(Q=>{const ke=J(Q)||this.builtInRules.get(Q)||null;this.validateRuleOptions(ke,Q,xe[Q],Te)})}validateGlobals(xe,Te=null){xe&&Object.entries(xe).forEach(([J,Q])=>{try{E(Q)}catch(ke){throw new Error(`ESLint configuration of global '${J}' in ${Te} is invalid:
33
- ${ke.message}`)}})}validateProcessor(xe,Te,J){if(xe&&!J(xe))throw new Error(`ESLint configuration of processor in '${Te}' is invalid: '${xe}' was not found.`)}formatErrors(xe){return xe.map(Te=>{if(Te.keyword==="additionalProperties")return`Unexpected top-level property "${Te.dataPath.length?`${Te.dataPath.slice(1)}.${Te.params.additionalProperty}`:Te.params.additionalProperty}"`;if(Te.keyword==="type"){const Q=Te.dataPath.slice(1),ke=Array.isArray(Te.schema)?Te.schema.join("/"):Te.schema,$=JSON.stringify(Te.data);return`Property "${Q}" is the wrong type (expected ${ke} but got \`${$}\`)`}return`"${Te.dataPath[0]==="."?Te.dataPath.slice(1):Te.dataPath}" ${Te.message}. Value: ${JSON.stringify(Te.data)}`}).map(Te=>` - ${Te}.
34
- `).join("")}validateConfigSchema(xe,Te=null){if(H=H||G.compile(F),!H(xe))throw new Error(`ESLint configuration in ${Te} is invalid:
35
- ${this.formatErrors(H.errors)}`);Object.hasOwn(xe,"ecmaFeatures")&&C(Te,"ESLINT_LEGACY_ECMAFEATURES")}validate(xe,Te,J,Q){this.validateConfigSchema(xe,Te),this.validateRules(xe.rules,Te,J),this.validateEnvironment(xe.env,Te,Q),this.validateGlobals(xe.globals,Te);for(const ke of xe.overrides||[])this.validateRules(ke.rules,Te,J),this.validateEnvironment(ke.env,Te,Q),this.validateGlobals(xe.globals,Te)}validateConfigArray(xe){const Te=Map.prototype.get.bind(xe.pluginEnvironments),J=Map.prototype.get.bind(xe.pluginProcessors),Q=Map.prototype.get.bind(xe.pluginRules);for(const ke of xe)re.has(ke)||(re.add(ke),this.validateEnvironment(ke.env,ke.name,Te),this.validateGlobals(ke.globals,ke.name),this.validateProcessor(ke.processor,ke.name,J),this.validateRules(ke.rules,ke.name,Q))}}const I=/^@.*\//iu;function W(be,xe){let Te=be;if(Te.includes("\\")&&(Te=Te.replace(/\\/gu,"/")),Te.charAt(0)==="@"){const J=new RegExp(`^(@[^/]+)(?:/(?:${xe})?)?$`,"u"),Q=new RegExp(`^${xe}(-|$)`,"u");J.test(Te)?Te=Te.replace(J,`$1/${xe}`):Q.test(Te.split("/")[1])||(Te=Te.replace(/^@([^/]+)\/(.*)$/u,`@$1/${xe}-$2`))}else Te.startsWith(`${xe}-`)||(Te=`${xe}-${Te}`);return Te}function oe(be,xe){if(be[0]==="@"){let Te=new RegExp(`^(@[^/]+)/${xe}$`,"u").exec(be);if(Te)return Te[1];if(Te=new RegExp(`^(@[^/]+)/${xe}-(.+)$`,"u").exec(be),Te)return`${Te[1]}/${Te[2]}`}else if(be.startsWith(`${xe}-`))return be.slice(xe.length+1);return be}function ie(be){const xe=be.match(I);return xe?xe[0]:""}var se={__proto__:null,normalizePackageName:W,getShorthandName:oe,getNamespaceFromTerm:ie};const de={environments:_,ConfigOps:S,ConfigValidator:X,naming:se};return dn.Legacy=de,dn}var Qs={exports:{}},In={exports:{}},Zs,xh;function C1(){if(xh)return Zs;xh=1;var a=1e3,e=a*60,n=e*60,o=n*24,t=o*7,l=o*365.25;Zs=function(i,c){c=c||{};var h=typeof i;if(h==="string"&&i.length>0)return p(i);if(h==="number"&&isFinite(i))return c.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 c=/^(-?(?:\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(c){var h=parseFloat(c[1]),s=(c[2]||"ms").toLowerCase();switch(s){case"years":case"year":case"yrs":case"yr":case"y":return h*l;case"weeks":case"week":case"w":return h*t;case"days":case"day":case"d":return h*o;case"hours":case"hour":case"hrs":case"hr":case"h":return h*n;case"minutes":case"minute":case"mins":case"min":case"m":return h*e;case"seconds":case"second":case"secs":case"sec":case"s":return h*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return h;default:return}}}}function u(i){var c=Math.abs(i);return c>=o?Math.round(i/o)+"d":c>=n?Math.round(i/n)+"h":c>=e?Math.round(i/e)+"m":c>=a?Math.round(i/a)+"s":i+"ms"}function r(i){var c=Math.abs(i);return c>=o?m(i,c,o,"day"):c>=n?m(i,c,n,"hour"):c>=e?m(i,c,e,"minute"):c>=a?m(i,c,a,"second"):i+" ms"}function m(i,c,h,s){var f=c>=h*1.5;return Math.round(i/h)+" "+s+(f?"s":"")}return Zs}var ea,Ch;function w1(){if(Ch)return ea;Ch=1;function a(e){o.debug=o,o.default=o,o.coerce=m,o.disable=u,o.enable=l,o.enabled=r,o.humanize=C1(),o.destroy=i,Object.keys(e).forEach(c=>{o[c]=e[c]}),o.names=[],o.skips=[],o.formatters={};function n(c){let h=0;for(let s=0;s<c.length;s++)h=(h<<5)-h+c.charCodeAt(s),h|=0;return o.colors[Math.abs(h)%o.colors.length]}o.selectColor=n;function o(c){let h,s=null,f,g;function d(...E){if(!d.enabled)return;const S=d,x=Number(new Date),T=x-(h||x);S.diff=T,S.prev=h,S.curr=x,h=x,E[0]=o.coerce(E[0]),typeof E[0]!="string"&&E.unshift("%O");let C=0;E[0]=E[0].replace(/%([a-zA-Z%])/g,(A,b)=>{if(A==="%%")return"%";C++;const w=o.formatters[b];if(typeof w=="function"){const k=E[C];A=w.call(S,k),E.splice(C,1),C--}return A}),o.formatArgs.call(S,E),(S.log||o.log).apply(S,E)}return d.namespace=c,d.useColors=o.useColors(),d.color=o.selectColor(c),d.extend=t,d.destroy=o.destroy,Object.defineProperty(d,"enabled",{enumerable:!0,configurable:!1,get:()=>s!==null?s:(f!==o.namespaces&&(f=o.namespaces,g=o.enabled(c)),g),set:E=>{s=E}}),typeof o.init=="function"&&o.init(d),d}function t(c,h){const s=o(this.namespace+(typeof h>"u"?":":h)+c);return s.log=this.log,s}function l(c){o.save(c),o.namespaces=c,o.names=[],o.skips=[];const h=(typeof c=="string"?c:"").trim().replace(" ",",").split(",").filter(Boolean);for(const s of h)s[0]==="-"?o.skips.push(s.slice(1)):o.names.push(s)}function p(c,h){let s=0,f=0,g=-1,d=0;for(;s<c.length;)if(f<h.length&&(h[f]===c[s]||h[f]==="*"))h[f]==="*"?(g=f,d=s,f++):(s++,f++);else if(g!==-1)f=g+1,d++,s=d;else return!1;for(;f<h.length&&h[f]==="*";)f++;return f===h.length}function u(){const c=[...o.names,...o.skips.map(h=>"-"+h)].join(",");return o.enable(""),c}function r(c){for(const h of o.skips)if(p(c,h))return!1;for(const h of o.names)if(p(c,h))return!0;return!1}function m(c){return c instanceof Error?c.stack||c.message:c}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 ea=a,ea}var wh;function A1(){return wh||(wh=1,function(a,e){e.formatArgs=o,e.save=t,e.load=l,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 m="color: "+this.color;r.splice(1,0,m,"color: inherit");let i=0,c=0;r[0].replace(/%[a-zA-Z%]/g,h=>{h!=="%%"&&(i++,h==="%c"&&(c=i))}),r.splice(c,0,m)}e.log=console.debug||console.log||(()=>{});function t(r){try{r?e.storage.setItem("debug",r):e.storage.removeItem("debug")}catch{}}function l(){let r;try{r=e.storage.getItem("debug")}catch{}return!r&&typeof Ft<"u"&&"env"in Ft&&(r=Ft.env.DEBUG),r}function p(){try{return localStorage}catch{}}a.exports=w1()(e);const{formatters:u}=a.exports;u.j=function(r){try{return JSON.stringify(r)}catch(m){return"[UnexpectedJSONParseError]: "+m.message}}}(In,In.exports)),In.exports}var Ah;function kr(){return Ah||(Ah=1,Qs.exports=A1()),Qs.exports}var ta,Th;function ra(){if(Th)return ta;Th=1;const a=Wr(),e=kr()("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 l{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 m=t(this._visitorKeys,u);if(m.length>=1){this._parents.push(u);for(let i=0;i<m.length&&!this._broken;++i){const c=u[m[i]];if(Array.isArray(c))for(let h=0;h<c.length&&!this._broken;++h)this._traverse(c[h],u);else this._traverse(c,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 l().traverse(u,r)}static get DEFAULT_VISITOR_KEYS(){return a.KEYS}}return ta=l,ta}var na={},Or={},kh;function T1(){if(kh)return Or;kh=1,Object.defineProperty(Or,"__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 l(p){const u=Object.assign({},a);for(const r of Object.keys(p))if(Object.prototype.hasOwnProperty.call(u,r)){const m=new Set(p[r]);for(const i of u[r])m.add(i);u[r]=Object.freeze(Array.from(m))}else u[r]=Object.freeze(Array.from(p[r]));return Object.freeze(u)}return Or.KEYS=a,Or.getKeys=t,Or.unionWith=l,Or}var Dh;function qt(){return Dh||(Dh=1,function(a){Object.defineProperty(a,"__esModule",{value:!0});var e=T1();function n(we,Ee){const Se=Ee.range[0];let ve=we,Pe=!1;do{Pe=!1;for(const ee of ve.childScopes){const te=ee.block.range;if(te[0]<=Se&&Se<te[1]){ve=ee,Pe=!0;break}}}while(Pe);return ve}function o(we,Ee){let Se="",ve=we;for(typeof Ee=="string"?Se=Ee:(Se=Ee.name,ve=n(ve,Ee));ve!=null;){const Pe=ve.set.get(Se);if(Pe!=null)return Pe;ve=ve.upper}return null}function t(we){return!this(we)}function l(we){return t.bind(we)}function p(we,Ee){return we.type==="Punctuator"&&we.value===Ee}function u(we){return p(we,"=>")}function r(we){return p(we,",")}function m(we){return p(we,";")}function i(we){return p(we,":")}function c(we){return p(we,"(")}function h(we){return p(we,")")}function s(we){return p(we,"[")}function f(we){return p(we,"]")}function g(we){return p(we,"{")}function d(we){return p(we,"}")}function E(we){return["Block","Line","Shebang"].includes(we.type)}const S=l(u),x=l(r),T=l(m),C=l(i),v=l(c),A=l(h),b=l(s),w=l(f),k=l(g),R=l(d),F=l(E);function L(we,Ee){return we.id?Ee.getTokenAfter(we.id,c):Ee.getFirstToken(we,c)}function P(we,Ee){const Se=we.parent;let ve=null,Pe=null;if(we.type==="ArrowFunctionExpression"){const ee=Ee.getTokenBefore(we.body,u);ve=ee.loc.start,Pe=ee.loc.end}else Se.type==="Property"||Se.type==="MethodDefinition"||Se.type==="PropertyDefinition"?(ve=Se.loc.start,Pe=L(we,Ee).loc.start):(ve=we.loc.start,Pe=L(we,Ee).loc.start);return{start:{...ve},end:{...Pe}}}const O=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof Xt<"u"?Xt:{},q=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"])),N=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(we=>Math[we]).filter(we=>typeof we=="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(we=>typeof we=="function")),_=new Set([Object.freeze,Object.preventExtensions,Object.seal]);function G(we,Ee){let Se=we;for(;(typeof Se=="object"||typeof Se=="function")&&Se!==null;){const ve=Object.getOwnPropertyDescriptor(Se,Ee);if(ve)return ve;Se=Object.getPrototypeOf(Se)}return null}function B(we,Ee){const Se=G(we,Ee);return Se!=null&&Se.get!=null}function z(we,Ee){const Se=[];for(let ve=0;ve<we.length;++ve){const Pe=we[ve];if(Pe==null)Se.length=ve+1;else if(Pe.type==="SpreadElement"){const ee=ce(Pe.argument,Ee);if(ee==null)return null;Se.push(...ee.value)}else{const ee=ce(Pe,Ee);if(ee==null)return null;Se.push(ee.value)}}return Se}const H=Object.freeze({ArrayExpression(we,Ee){const Se=z(we.elements,Ee);return Se!=null?{value:Se}:null},AssignmentExpression(we,Ee){return we.operator==="="?ce(we.right,Ee):null},BinaryExpression(we,Ee){if(we.operator==="in"||we.operator==="instanceof")return null;const Se=ce(we.left,Ee),ve=ce(we.right,Ee);if(Se!=null&&ve!=null)switch(we.operator){case"==":return{value:Se.value==ve.value};case"!=":return{value:Se.value!=ve.value};case"===":return{value:Se.value===ve.value};case"!==":return{value:Se.value!==ve.value};case"<":return{value:Se.value<ve.value};case"<=":return{value:Se.value<=ve.value};case">":return{value:Se.value>ve.value};case">=":return{value:Se.value>=ve.value};case"<<":return{value:Se.value<<ve.value};case">>":return{value:Se.value>>ve.value};case">>>":return{value:Se.value>>>ve.value};case"+":return{value:Se.value+ve.value};case"-":return{value:Se.value-ve.value};case"*":return{value:Se.value*ve.value};case"/":return{value:Se.value/ve.value};case"%":return{value:Se.value%ve.value};case"**":return{value:Se.value**ve.value};case"|":return{value:Se.value|ve.value};case"^":return{value:Se.value^ve.value};case"&":return{value:Se.value&ve.value}}return null},CallExpression(we,Ee){const Se=we.callee,ve=z(we.arguments,Ee);if(ve!=null)if(Se.type==="MemberExpression"){if(Se.property.type==="PrivateIdentifier")return null;const Pe=ce(Se.object,Ee);if(Pe!=null){if(Pe.value==null&&(Pe.optional||we.optional))return{value:void 0,optional:!0};const ee=re(Se,Ee);if(ee!=null){const te=Pe.value,Z=ee.value;if(N.has(te[Z]))return{value:te[Z](...ve)};if(_.has(te[Z]))return{value:ve[0]}}}}else{const Pe=ce(Se,Ee);if(Pe!=null){if(Pe.value==null&&we.optional)return{value:void 0,optional:!0};const ee=Pe.value;if(N.has(ee))return{value:ee(...ve)};if(_.has(ee))return{value:ve[0]}}}return null},ConditionalExpression(we,Ee){const Se=ce(we.test,Ee);return Se!=null?Se.value?ce(we.consequent,Ee):ce(we.alternate,Ee):null},ExpressionStatement(we,Ee){return ce(we.expression,Ee)},Identifier(we,Ee){if(Ee!=null){const Se=o(Ee,we);if(Se!=null&&Se.defs.length===0&&q.has(Se.name)&&Se.name in O)return{value:O[Se.name]};if(Se!=null&&Se.defs.length===1){const ve=Se.defs[0];if(ve.parent&&ve.parent.kind==="const"&&ve.node.id.type==="Identifier")return ce(ve.node.init,Ee)}}return null},Literal(we){return(we.regex!=null||we.bigint!=null)&&we.value==null?null:{value:we.value}},LogicalExpression(we,Ee){const Se=ce(we.left,Ee);if(Se!=null){if(we.operator==="||"&&Se.value||we.operator==="&&"&&!Se.value||we.operator==="??"&&Se.value!=null)return Se;const ve=ce(we.right,Ee);if(ve!=null)return ve}return null},MemberExpression(we,Ee){if(we.property.type==="PrivateIdentifier")return null;const Se=ce(we.object,Ee);if(Se!=null){if(Se.value==null&&(Se.optional||we.optional))return{value:void 0,optional:!0};const ve=re(we,Ee);if(ve!=null&&!B(Se.value,ve.value))return{value:Se.value[ve.value]}}return null},ChainExpression(we,Ee){const Se=ce(we.expression,Ee);return Se!=null?{value:Se.value}:null},NewExpression(we,Ee){const Se=ce(we.callee,Ee),ve=z(we.arguments,Ee);if(Se!=null&&ve!=null){const Pe=Se.value;if(N.has(Pe))return{value:new Pe(...ve)}}return null},ObjectExpression(we,Ee){const Se={};for(const ve of we.properties)if(ve.type==="Property"){if(ve.kind!=="init")return null;const Pe=re(ve,Ee),ee=ce(ve.value,Ee);if(Pe==null||ee==null)return null;Se[Pe.value]=ee.value}else if(ve.type==="SpreadElement"||ve.type==="ExperimentalSpreadProperty"){const Pe=ce(ve.argument,Ee);if(Pe==null)return null;Object.assign(Se,Pe.value)}else return null;return{value:Se}},SequenceExpression(we,Ee){const Se=we.expressions[we.expressions.length-1];return ce(Se,Ee)},TaggedTemplateExpression(we,Ee){const Se=ce(we.tag,Ee),ve=z(we.quasi.expressions,Ee);if(Se!=null&&ve!=null){const Pe=Se.value,ee=we.quasi.quasis.map(te=>te.value.cooked);if(ee.raw=we.quasi.quasis.map(te=>te.value.raw),Pe===String.raw)return{value:Pe(ee,...ve)}}return null},TemplateLiteral(we,Ee){const Se=z(we.expressions,Ee);if(Se!=null){let ve=we.quasis[0].value.cooked;for(let Pe=0;Pe<Se.length;++Pe)ve+=Se[Pe],ve+=we.quasis[Pe+1].value.cooked;return{value:ve}}return null},UnaryExpression(we,Ee){if(we.operator==="delete")return null;if(we.operator==="void")return{value:void 0};const Se=ce(we.argument,Ee);if(Se!=null)switch(we.operator){case"-":return{value:-Se.value};case"+":return{value:+Se.value};case"!":return{value:!Se.value};case"~":return{value:~Se.value};case"typeof":return{value:typeof Se.value}}return null}});function ce(we,Ee){return we!=null&&Object.hasOwnProperty.call(H,we.type)?H[we.type](we,Ee):null}function re(we,Ee){const Se=we.type==="Property"?we.key:we.property;return we.computed?ce(Se,Ee):Se.type==="Identifier"?{value:Se.name}:Se.type==="Literal"?Se.bigint?{value:Se.bigint}:{value:String(Se.value)}:null}function Fe(we,Ee=null){try{return ce(we,Ee)}catch{return null}}function X(we,Ee=null){if(we&&we.type==="Literal"&&we.value===null){if(we.regex)return`/${we.regex.pattern}/${we.regex.flags}`;if(we.bigint)return we.bigint}const Se=Fe(we,Ee);return Se&&String(Se.value)}function I(we,Ee){switch(we.type){case"MemberExpression":return we.computed?X(we.property,Ee):we.property.type==="PrivateIdentifier"?null:we.property.name;case"Property":case"MethodDefinition":case"PropertyDefinition":return we.computed?X(we.key,Ee):we.key.type==="Literal"?String(we.key.value):we.key.type==="PrivateIdentifier"?null:we.key.name}return null}function W(we,Ee){const Se=we.parent,ve=[],Pe=Se.type==="Property"&&Se.value===we,ee=Se.type==="MethodDefinition"&&Se.value===we,te=Se.type==="PropertyDefinition"&&Se.value===we;if((ee||te)&&(Se.static&&ve.push("static"),Se.key.type==="PrivateIdentifier"&&ve.push("private")),we.async&&ve.push("async"),we.generator&&ve.push("generator"),Pe||ee){if(Se.kind==="constructor")return"constructor";Se.kind==="get"?ve.push("getter"):Se.kind==="set"?ve.push("setter"):ve.push("method")}else te?ve.push("method"):(we.type==="ArrowFunctionExpression"&&ve.push("arrow"),ve.push("function"));if(Pe||ee||te)if(Se.key.type==="PrivateIdentifier")ve.push(`#${Se.key.name}`);else{const Z=I(Se);if(Z)ve.push(`'${Z}'`);else if(Ee){const fe=Ee.getText(Se.key);fe.includes(`
36
- `)||ve.push(`[${fe}]`)}}else we.id?ve.push(`'${we.id.name}'`):Se.type==="VariableDeclarator"&&Se.id&&Se.id.type==="Identifier"?ve.push(`'${Se.id.name}'`):(Se.type==="AssignmentExpression"||Se.type==="AssignmentPattern")&&Se.left&&Se.left.type==="Identifier"?ve.push(`'${Se.left.name}'`):Se.type==="ExportDefaultDeclaration"&&Se.declaration===we&&ve.push("'default'");return ve.join(" ")}const oe=Object.freeze(new Set(["==","!=","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","|","^","&","in"])),ie=Object.freeze(new Set(["-","+","!","~"]));function se(we){return we!==null&&typeof we=="object"&&typeof we.type=="string"}const de=Object.freeze(Object.assign(Object.create(null),{$visit(we,Ee,Se){const{type:ve}=we;return typeof this[ve]=="function"?this[ve](we,Ee,Se):this.$visitChildren(we,Ee,Se)},$visitChildren(we,Ee,Se){const{type:ve}=we;for(const Pe of Se[ve]||e.getKeys(we)){const ee=we[Pe];if(Array.isArray(ee)){for(const te of ee)if(se(te)&&this.$visit(te,Ee,Se))return!0}else if(se(ee)&&this.$visit(ee,Ee,Se))return!0}return!1},ArrowFunctionExpression(){return!1},AssignmentExpression(){return!0},AwaitExpression(){return!0},BinaryExpression(we,Ee,Se){return Ee.considerImplicitTypeConversion&&oe.has(we.operator)&&(we.left.type!=="Literal"||we.right.type!=="Literal")?!0:this.$visitChildren(we,Ee,Se)},CallExpression(){return!0},FunctionExpression(){return!1},ImportExpression(){return!0},MemberExpression(we,Ee,Se){return Ee.considerGetters||Ee.considerImplicitTypeConversion&&we.computed&&we.property.type!=="Literal"?!0:this.$visitChildren(we,Ee,Se)},MethodDefinition(we,Ee,Se){return Ee.considerImplicitTypeConversion&&we.computed&&we.key.type!=="Literal"?!0:this.$visitChildren(we,Ee,Se)},NewExpression(){return!0},Property(we,Ee,Se){return Ee.considerImplicitTypeConversion&&we.computed&&we.key.type!=="Literal"?!0:this.$visitChildren(we,Ee,Se)},PropertyDefinition(we,Ee,Se){return Ee.considerImplicitTypeConversion&&we.computed&&we.key.type!=="Literal"?!0:this.$visitChildren(we,Ee,Se)},UnaryExpression(we,Ee,Se){return we.operator==="delete"||Ee.considerImplicitTypeConversion&&ie.has(we.operator)&&we.argument.type!=="Literal"?!0:this.$visitChildren(we,Ee,Se)},UpdateExpression(){return!0},YieldExpression(){return!0}}));function be(we,Ee,{considerGetters:Se=!1,considerImplicitTypeConversion:ve=!1}={}){return de.$visit(we,{considerGetters:Se,considerImplicitTypeConversion:ve},Ee.visitorKeys||e.KEYS)}function xe(we,Ee){const Se=we.parent;switch(Se.type){case"CallExpression":case"NewExpression":return Se.arguments.length===1&&Se.arguments[0]===we?Ee.getTokenAfter(Se.callee,c):null;case"DoWhileStatement":return Se.test===we?Ee.getTokenAfter(Se.body,c):null;case"IfStatement":case"WhileStatement":return Se.test===we?Ee.getFirstToken(Se,1):null;case"ImportExpression":return Se.source===we?Ee.getFirstToken(Se,1):null;case"SwitchStatement":return Se.discriminant===we?Ee.getFirstToken(Se,1):null;case"WithStatement":return Se.object===we?Ee.getFirstToken(Se,1):null;default:return null}}function Te(we,Ee,Se){let ve,Pe,ee,te,Z;if(typeof we=="number"){if(ve=we|0,Pe=Ee,ee=Se,!(ve>=1))throw new TypeError("'times' should be a positive integer.")}else ve=1,Pe=we,ee=Ee;if(Pe==null||Pe.parent==null||Pe.parent.type==="CatchClause"&&Pe.parent.param===Pe)return!1;te=Z=Pe;do te=ee.getTokenBefore(te),Z=ee.getTokenAfter(Z);while(te!=null&&Z!=null&&c(te)&&h(Z)&&te!==xe(Pe,ee)&&--ve>0);return ve===0}const J=/\$(?:[$&`']|[1-9][0-9]?)/gu,Q=new WeakMap;function ke(we,Ee){let Se=!1;for(let ve=Ee-1;ve>=0&&we.charCodeAt(ve)===92;--ve)Se=!Se;return Se}function $(we,Ee,Se){const ve=[];let Pe=0,ee=null;function te(Z){switch(Z){case"$$":return"$";case"$&":return ee[0];case"$`":return Ee.slice(0,ee.index);case"$'":return Ee.slice(ee.index+ee[0].length);default:{const fe=Z.slice(1);return fe in ee?ee[fe]:Z}}}for(ee of we.execAll(Ee))ve.push(Ee.slice(Pe,ee.index)),ve.push(Se.replace(J,te)),Pe=ee.index+ee[0].length;return ve.push(Ee.slice(Pe)),ve.join("")}function ae(we,Ee,Se){const ve=[];let Pe=0;for(const ee of we.execAll(Ee))ve.push(Ee.slice(Pe,ee.index)),ve.push(String(Se(...ee,ee.index,ee.input))),Pe=ee.index+ee[0].length;return ve.push(Ee.slice(Pe)),ve.join("")}class Ie{constructor(Ee,{escaped:Se=!1}={}){if(!(Ee instanceof RegExp))throw new TypeError("'pattern' should be a RegExp instance.");if(!Ee.flags.includes("g"))throw new Error("'pattern' should contains 'g' flag.");Q.set(this,{pattern:new RegExp(Ee.source,Ee.flags),escaped:!!Se})}*execAll(Ee){const{pattern:Se,escaped:ve}=Q.get(this);let Pe=null,ee=0;for(Se.lastIndex=0;(Pe=Se.exec(Ee))!=null;)(ve||!ke(Ee,Pe.index))&&(ee=Se.lastIndex,yield Pe,Se.lastIndex=ee)}test(Ee){return!this.execAll(Ee).next().done}[Symbol.replace](Ee,Se){return typeof Se=="function"?ae(this,String(Ee),Se):$(this,String(Ee),String(Se))}}const Ne=/^(?:Import|Export(?:All|Default|Named))Declaration$/u,Be=Function.call.bind(Object.hasOwnProperty),j=Symbol("read"),Qe=Symbol("call"),ut=Symbol("construct"),rt=Symbol("esm"),ze={require:{[Qe]:!0}};function Xe(we){return we==null||we.defs.length!==0||we.references.some(Ee=>Ee.isWrite())}function ht(we){const Ee=we.parent;switch(Ee&&Ee.type){case"ConditionalExpression":return Ee.consequent===we||Ee.alternate===we;case"LogicalExpression":return!0;case"SequenceExpression":return Ee.expressions[Ee.expressions.length-1]===we;case"ChainExpression":return!0;default:return!1}}class dt{constructor(Ee,{mode:Se="strict",globalObjectNames:ve=["global","globalThis","self","window"]}={}){this.variableStack=[],this.globalScope=Ee,this.mode=Se,this.globalObjectNames=ve.slice(0)}*iterateGlobalReferences(Ee){for(const Se of Object.keys(Ee)){const ve=Ee[Se],Pe=[Se],ee=this.globalScope.set.get(Se);Xe(ee)||(yield*this._iterateVariableReferences(ee,Pe,ve,!0))}for(const Se of this.globalObjectNames){const ve=[],Pe=this.globalScope.set.get(Se);Xe(Pe)||(yield*this._iterateVariableReferences(Pe,ve,Ee,!1))}}*iterateCjsReferences(Ee){for(const{node:Se}of this.iterateGlobalReferences(ze)){const ve=X(Se.arguments[0]);if(ve==null||!Be(Ee,ve))continue;const Pe=Ee[ve],ee=[ve];Pe[j]&&(yield{node:Se,path:ee,type:j,info:Pe[j]}),yield*this._iteratePropertyReferences(Se,ee,Pe)}}*iterateEsmReferences(Ee){const Se=this.globalScope.block;for(const ve of Se.body){if(!Ne.test(ve.type)||ve.source==null)continue;const Pe=ve.source.value;if(!Be(Ee,Pe))continue;const ee=Ee[Pe],te=[Pe];if(ee[j]&&(yield{node:ve,path:te,type:j,info:ee[j]}),ve.type==="ExportAllDeclaration")for(const Z of Object.keys(ee)){const fe=ee[Z];fe[j]&&(yield{node:ve,path:te.concat(Z),type:j,info:fe[j]})}else for(const Z of ve.specifiers){const fe=Be(ee,rt),De=this._iterateImportReferences(Z,te,fe?ee:this.mode==="legacy"?{default:ee,...ee}:{default:ee});if(fe)yield*De;else for(const Le of De)Le.path=Le.path.filter(at),(Le.path.length>=2||Le.type!==j)&&(yield Le)}}}*_iterateVariableReferences(Ee,Se,ve,Pe){if(!this.variableStack.includes(Ee)){this.variableStack.push(Ee);try{for(const ee of Ee.references){if(!ee.isRead())continue;const te=ee.identifier;Pe&&ve[j]&&(yield{node:te,path:Se,type:j,info:ve[j]}),yield*this._iteratePropertyReferences(te,Se,ve)}}finally{this.variableStack.pop()}}}*_iteratePropertyReferences(Ee,Se,ve){let Pe=Ee;for(;ht(Pe);)Pe=Pe.parent;const ee=Pe.parent;if(ee.type==="MemberExpression"){if(ee.object===Pe){const te=I(ee);if(te==null||!Be(ve,te))return;Se=Se.concat(te);const Z=ve[te];Z[j]&&(yield{node:ee,path:Se,type:j,info:Z[j]}),yield*this._iteratePropertyReferences(ee,Se,Z)}return}if(ee.type==="CallExpression"){ee.callee===Pe&&ve[Qe]&&(yield{node:ee,path:Se,type:Qe,info:ve[Qe]});return}if(ee.type==="NewExpression"){ee.callee===Pe&&ve[ut]&&(yield{node:ee,path:Se,type:ut,info:ve[ut]});return}if(ee.type==="AssignmentExpression"){ee.right===Pe&&(yield*this._iterateLhsReferences(ee.left,Se,ve),yield*this._iteratePropertyReferences(ee,Se,ve));return}if(ee.type==="AssignmentPattern"){ee.right===Pe&&(yield*this._iterateLhsReferences(ee.left,Se,ve));return}ee.type==="VariableDeclarator"&&ee.init===Pe&&(yield*this._iterateLhsReferences(ee.id,Se,ve))}*_iterateLhsReferences(Ee,Se,ve){if(Ee.type==="Identifier"){const Pe=o(this.globalScope,Ee);Pe!=null&&(yield*this._iterateVariableReferences(Pe,Se,ve,!1));return}if(Ee.type==="ObjectPattern"){for(const Pe of Ee.properties){const ee=I(Pe);if(ee==null||!Be(ve,ee))continue;const te=Se.concat(ee),Z=ve[ee];Z[j]&&(yield{node:Pe,path:te,type:j,info:Z[j]}),yield*this._iterateLhsReferences(Pe.value,te,Z)}return}Ee.type==="AssignmentPattern"&&(yield*this._iterateLhsReferences(Ee.left,Se,ve))}*_iterateImportReferences(Ee,Se,ve){const Pe=Ee.type;if(Pe==="ImportSpecifier"||Pe==="ImportDefaultSpecifier"){const ee=Pe==="ImportDefaultSpecifier"?"default":Ee.imported.name;if(!Be(ve,ee))return;Se=Se.concat(ee);const te=ve[ee];te[j]&&(yield{node:Ee,path:Se,type:j,info:te[j]}),yield*this._iterateVariableReferences(o(this.globalScope,Ee.local),Se,te,!1);return}if(Pe==="ImportNamespaceSpecifier"){yield*this._iterateVariableReferences(o(this.globalScope,Ee.local),Se,ve,!1);return}if(Pe==="ExportSpecifier"){const ee=Ee.local.name;if(!Be(ve,ee))return;Se=Se.concat(ee);const te=ve[ee];te[j]&&(yield{node:Ee,path:Se,type:j,info:te[j]})}}}dt.READ=j,dt.CALL=Qe,dt.CONSTRUCT=ut,dt.ESM=rt;function at(we,Ee){return!(Ee===1&&we==="default")}var tt={CALL:Qe,CONSTRUCT:ut,ESM:rt,findVariable:o,getFunctionHeadLocation:P,getFunctionNameWithKind:W,getInnermostScope:n,getPropertyName:I,getStaticValue:Fe,getStringIfConstant:X,hasSideEffect:be,isArrowToken:u,isClosingBraceToken:d,isClosingBracketToken:f,isClosingParenToken:h,isColonToken:i,isCommaToken:r,isCommentToken:E,isNotArrowToken:S,isNotClosingBraceToken:R,isNotClosingBracketToken:w,isNotClosingParenToken:A,isNotColonToken:C,isNotCommaToken:x,isNotCommentToken:F,isNotOpeningBraceToken:k,isNotOpeningBracketToken:b,isNotOpeningParenToken:v,isNotSemicolonToken:T,isOpeningBraceToken:g,isOpeningBracketToken:s,isOpeningParenToken:c,isParenthesized:Te,isSemicolonToken:m,PatternMatcher:Ie,READ:j,ReferenceTracker:dt};a.CALL=Qe,a.CONSTRUCT=ut,a.ESM=rt,a.PatternMatcher=Ie,a.READ=j,a.ReferenceTracker=dt,a.default=tt,a.findVariable=o,a.getFunctionHeadLocation=P,a.getFunctionNameWithKind=W,a.getInnermostScope=n,a.getPropertyName=I,a.getStaticValue=Fe,a.getStringIfConstant=X,a.hasSideEffect=be,a.isArrowToken=u,a.isClosingBraceToken=d,a.isClosingBracketToken=f,a.isClosingParenToken=h,a.isColonToken=i,a.isCommaToken=r,a.isCommentToken=E,a.isNotArrowToken=S,a.isNotClosingBraceToken=R,a.isNotClosingBracketToken=w,a.isNotClosingParenToken=A,a.isNotColonToken=C,a.isNotCommaToken=x,a.isNotCommentToken=F,a.isNotOpeningBraceToken=k,a.isNotOpeningBracketToken=b,a.isNotOpeningParenToken=v,a.isNotSemicolonToken=T,a.isOpeningBraceToken=g,a.isOpeningBracketToken=s,a.isOpeningParenToken=c,a.isParenthesized=Te,a.isSemicolonToken=m}(na)),na}var sa,Ih;function Pn(){if(Ih)return sa;Ih=1;function a(e,n="Assertion failed."){if(!e)throw new Error(n)}return sa=a,sa}var aa,Ph;function Qr(){return Ph||(Ph=1,aa=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.")}}),aa}var Zr={},Fh;function en(){return Fh||(Fh=1,Zr.search=function(e,n){for(let o=0,t=e.length-1;o<=t;){const l=(o+t)/2|0,u=e[l].range[0];if(n<=u){if(l===o)return l;t=l}else o=l+1}return e.length},Zr.getFirstIndex=function(e,n,o){if(o in n)return n[o];if(o-1 in n){const t=n[o-1],l=e[t];return l?l.range[0]>=o?t:t+1:e.length}return 0},Zr.getLastIndex=function(e,n,o){if(o in n)return n[o]-1;if(o-1 in n){const t=n[o-1],l=e[t];return l?l.range[1]>o?t-1:t:e.length-1}return e.length-1}),Zr}var ia,Rh;function k1(){if(Rh)return ia;Rh=1;const a=Qr(),e=en();return ia=class extends a{constructor(o,t,l,p,u){super(),this.tokens=o,this.comments=t,this.tokenIndex=e.getLastIndex(o,l,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)}},ia}var oa,_h;function D1(){if(_h)return oa;_h=1;const a=Qr(),{getLastIndex:e,getFirstIndex:n}=en();return oa=class extends a{constructor(t,l,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}},oa}var la,Bh;function ua(){if(Bh)return la;Bh=1;const a=Qr();return la=class extends a{constructor(n){super(),this.cursor=n}moveNext(){const n=this.cursor.moveNext();return this.current=this.cursor.current,n}},la}var ca,Lh;function I1(){if(Lh)return ca;Lh=1;const a=ua();return ca=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}},ca}var fa,Oh;function P1(){if(Oh)return fa;Oh=1;const a=Qr(),{getFirstIndex:e,search:n}=en();return fa=class extends a{constructor(t,l,p,u,r){super(),this.tokens=t,this.comments=l,this.tokenIndex=e(t,p,u),this.commentIndex=n(l,u),this.border=r}moveNext(){const t=this.tokenIndex<this.tokens.length?this.tokens[this.tokenIndex]:null,l=this.commentIndex<this.comments.length?this.comments[this.commentIndex]:null;return t&&(!l||t.range[0]<l.range[0])?(this.current=t,this.tokenIndex+=1):l?(this.current=l,this.commentIndex+=1):this.current=null,!!this.current&&(this.border===-1||this.current.range[1]<=this.border)}},fa}var pa,Nh;function ma(){if(Nh)return pa;Nh=1;const a=Qr(),{getFirstIndex:e,getLastIndex:n}=en();return pa=class extends a{constructor(t,l,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)}},pa}var ha,Mh;function F1(){if(Mh)return ha;Mh=1;const a=ua();return ha=class extends a{constructor(n,o){super(n),this.count=o}moveNext(){return this.count>0?(this.count-=1,super.moveNext()):!1}},ha}var da,jh;function R1(){if(jh)return da;jh=1;const a=ua();return da=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()}},da}var ga,Uh;function _1(){if(Uh)return ga;Uh=1;const a=k1(),e=D1(),n=I1(),o=P1(),t=ma(),l=F1(),p=R1();class u{constructor(m,i){this.TokenCursor=m,this.TokenCommentCursor=i}createBaseCursor(m,i,c,h,s,f){const g=f?this.TokenCommentCursor:this.TokenCursor;return new g(m,i,c,h,s)}createCursor(m,i,c,h,s,f,g,d,E){let S=this.createBaseCursor(m,i,c,h,s,f);return g&&(S=new n(S,g)),d>=1&&(S=new p(S,d)),E>=0&&(S=new l(S,E)),S}}return ga={forward:new u(t,o),backward:new u(e,a)},ga}var ya,qh;function B1(){if(qh)return ya;qh=1;const a=ma();return ya=class extends a{constructor(n,o,t,l,p,u,r){super(n,o,t,l,p),this.index=Math.max(0,this.index-u),this.indexEnd=Math.min(n.length-1,this.indexEnd+r)}},ya}var va,Vh;function L1(){if(Vh)return va;Vh=1;const{isCommentToken:a}=qt(),e=Pn(),n=_1(),o=ma(),t=B1(),l=en(),p=Symbol("tokens"),u=Symbol("comments"),r=Symbol("indexMap");function m(f,g){const d=Object.create(null);let E=0,S=0,x,T;for(;E<f.length||S<g.length;){for(x=S<g.length?g[S].range[0]:Number.MAX_SAFE_INTEGER;E<f.length&&(T=f[E].range)[0]<x;)d[T[0]]=E,d[T[1]-1]=E,E+=1;for(x=E<f.length?f[E].range[0]:Number.MAX_SAFE_INTEGER;S<g.length&&(T=g[S].range)[0]<x;)d[T[0]]=E,d[T[1]-1]=E,S+=1}return d}function i(f,g,d,E,S,x,T){let C=!1,v=0,A=null;return typeof T=="number"?v=T|0:typeof T=="function"?A=T:T&&(C=!!T.includeComments,v=T.skip|0,A=T.filter||null),e(v>=0,"options.skip should be zero or a positive integer."),e(!A||typeof A=="function","options.filter should be a function."),f.createCursor(g,d,E,S,x,C,A,v,-1)}function c(f,g,d,E,S,x,T){let C=!1,v=0,A=!1,b=null;return typeof T=="number"?(v=T|0,A=!0):typeof T=="function"?b=T:T&&(C=!!T.includeComments,v=T.count|0,A=typeof T.count=="number",b=T.filter||null),e(v>=0,"options.count should be zero or a positive integer."),e(!b||typeof b=="function","options.filter should be a function."),f.createCursor(g,d,E,S,x,C,b,0,A?v:-1)}function h(f,g,d,E,S,x,T){return typeof x>"u"&&typeof T>"u"?new o(f,g,d,E,S):typeof x=="number"||typeof x>"u"?new t(f,g,d,E,S,x|0,T|0):c(n.forward,f,g,d,E,S,x)}function s(f){const g=[];let d=f.getOneToken();for(;d&&a(d);)g.push(d),d=f.getOneToken();return g}return va=class{constructor(g,d){this[p]=g,this[u]=d,this[r]=m(g,d)}getTokenByRangeStart(g,d){const E=d&&d.includeComments,S=n.forward.createBaseCursor(this[p],this[u],this[r],g,-1,E).getOneToken();return S&&S.range[0]===g?S:null}getFirstToken(g,d){return i(n.forward,this[p],this[u],this[r],g.range[0],g.range[1],d).getOneToken()}getLastToken(g,d){return i(n.backward,this[p],this[u],this[r],g.range[0],g.range[1],d).getOneToken()}getTokenBefore(g,d){return i(n.backward,this[p],this[u],this[r],-1,g.range[0],d).getOneToken()}getTokenAfter(g,d){return i(n.forward,this[p],this[u],this[r],g.range[1],-1,d).getOneToken()}getFirstTokenBetween(g,d,E){return i(n.forward,this[p],this[u],this[r],g.range[1],d.range[0],E).getOneToken()}getLastTokenBetween(g,d,E){return i(n.backward,this[p],this[u],this[r],g.range[1],d.range[0],E).getOneToken()}getTokenOrCommentBefore(g,d){return this.getTokenBefore(g,{includeComments:!0,skip:d})}getTokenOrCommentAfter(g,d){return this.getTokenAfter(g,{includeComments:!0,skip:d})}getFirstTokens(g,d){return c(n.forward,this[p],this[u],this[r],g.range[0],g.range[1],d).getAllTokens()}getLastTokens(g,d){return c(n.backward,this[p],this[u],this[r],g.range[0],g.range[1],d).getAllTokens().reverse()}getTokensBefore(g,d){return c(n.backward,this[p],this[u],this[r],-1,g.range[0],d).getAllTokens().reverse()}getTokensAfter(g,d){return c(n.forward,this[p],this[u],this[r],g.range[1],-1,d).getAllTokens()}getFirstTokensBetween(g,d,E){return c(n.forward,this[p],this[u],this[r],g.range[1],d.range[0],E).getAllTokens()}getLastTokensBetween(g,d,E){return c(n.backward,this[p],this[u],this[r],g.range[1],d.range[0],E).getAllTokens().reverse()}getTokens(g,d,E){return h(this[p],this[u],this[r],g.range[0],g.range[1],d,E).getAllTokens()}getTokensBetween(g,d,E){return h(this[p],this[u],this[r],g.range[1],d.range[0],E,E).getAllTokens()}commentsExistBetween(g,d){const E=l.search(this[u],g.range[1]);return E<this[u].length&&this[u][E].range[1]<=d.range[0]}getCommentsBefore(g){const d=c(n.backward,this[p],this[u],this[r],-1,g.range[0],{includeComments:!0});return s(d).reverse()}getCommentsAfter(g){const d=c(n.forward,this[p],this[u],this[r],g.range[1],-1,{includeComments:!0});return s(d)}getCommentsInside(g){return this.getTokens(g,{includeComments:!0,filter:a})}},va}var Ea,$h;function Fn(){if($h)return Ea;$h=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 Ea={breakableTypePattern:a,lineBreakPattern:e,createGlobalLinebreakMatcher:o,shebangPattern:n},Ea}var Sa,Wh;function Gh(){if(Wh)return Sa;Wh=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},l={...t,Atomics:!1,SharedArrayBuffer:!1},p={...l},u={...p},r={...u,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,globalThis:!1},m={...r,AggregateError:!1,FinalizationRegistry:!1,WeakRef:!1},i={...m},c={...i},h={...c},s={...h,Float16Array:!1,Iterator:!1},f={...s,AsyncDisposableStack:!1,DisposableStack:!1,SuppressedError:!1};return Sa={commonjs:a,es3:e,es5:n,es2015:o,es2016:t,es2017:l,es2018:p,es2019:u,es2020:r,es2021:m,es2022:i,es2023:c,es2024:h,es2025:s,es2026:f},Sa}var ba,zh;function Hh(){return zh||(zh=1,ba={directivesPattern:/^(eslint(?:-env|-enable|-disable(?:(?:-next)?-line)?)?|exported|globals?)(?:\s|$)/u}),ba}var xa,Kh;function Xh(){if(Kh)return xa;Kh=1;const a=kr()("eslint:code-path");function e(o){return o.id+(o.reachable?"":"!")}function n(o,t){const l=t?`:${t}`:"";switch(o.type){case"Identifier":return`${o.type}${l} (${o.name})`;case"Literal":return`${o.type}${l} (${o.value})`;default:return`${o.type}${l}`}}return xa={enabled:a.enabled,dump:a,dumpState:a.enabled?function(o,t,l){for(let p=0;p<t.currentSegments.length;++p){const u=t.currentSegments[p].internal;if(l){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}${l?":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 l=Object.create(null),p=this.makeDotArrows(o,l);for(const u in l){const r=l[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 l=[[o.initialSegment,0]],p=t||Object.create(null);let u=o.initialSegment.id,r=`initial->${o.initialSegment.id}`;for(;l.length>0;){const m=l.pop(),i=m[0],c=m[1];if(p[i.id]&&c===0)continue;p[i.id]=i;const h=i.allNextSegments[c];h&&(u===i.id?r+=`->${h.id}`:r+=`;
45
- ${i.id}->${h.id}`,u=h.id,l.unshift([i,1+c]),l.push([h,0]))}return o.returnedSegments.forEach(m=>{u===m.id?r+="->final":r+=`;
46
- ${m.id}->final`,u=null}),o.thrownSegments.forEach(m=>{u===m.id?r+="->thrown":r+=`;
47
- ${m.id}->thrown`,u=null}),`${r};`}},xa}var Ca,Jh;function wa(){if(Jh)return Ca;Jh=1;const a=Xh();function e(o){return o.reachable}class n{constructor(t,l,p){this.id=t,this.nextSegments=[],this.prevSegments=l.filter(e),this.allNextSegments=[],this.allPrevSegments=l,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,l){return new n(t,n.flattenUnusedSegments(l),l.some(e))}static newUnreachable(t,l){const p=new n(t,n.flattenUnusedSegments(l),!1);return n.markUsed(p),p}static newDisconnected(t,l){return new n(t,[],l.some(e))}static markUsed(t){if(t.internal.used)return;t.internal.used=!0;let l;if(t.reachable)for(l=0;l<t.allPrevSegments.length;++l){const p=t.allPrevSegments[l];p.allNextSegments.push(t),p.nextSegments.push(t)}else for(l=0;l<t.allPrevSegments.length;++l)t.allPrevSegments[l].allNextSegments.push(t)}static markPrevSegmentAsLooped(t,l){t.internal.loopedPrevSegments.push(l)}static flattenUnusedSegments(t){const l=new Set;for(let p=0;p<t.length;++p){const u=t[p];if(!l.has(u))if(u.internal.used)l.add(u);else for(let r=0;r<u.allPrevSegments.length;++r){const m=u.allPrevSegments[r];l.has(m)||l.add(m)}}return[...l]}}return Ca=n,Ca}var Aa,Yh;function O1(){if(Yh)return Aa;Yh=1;const a=Pn(),e=wa();function n(p){return p.reachable}function o(p,u,r,m){const i=p.segmentsList,c=u>=0?u:i.length+u,h=r>=0?r:i.length+r,s=[];for(let f=0;f<p.count;++f){const g=[];for(let d=c;d<=h;++d)g.push(i[d][f]);s.push(m(p.idGenerator.next(),g))}return s}function t(p,u){let r=u;for(;r.length>p.count;){const m=[];for(let i=0,c=Math.floor(r.length/2);i<c;++i)m.push(e.newNext(p.idGenerator.next(),[r[i],r[i+c]]));r=m}return r}class l{constructor(u,r,m){this.idGenerator=u,this.upper=r,this.count=m,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 l(u,null,1);return r.add([e.newRoot(u.next())]),r}static newEmpty(u,r){return new l(u.idGenerator,u,(r?2:1)*u.count)}}return Aa=l,Aa}var Ta,Qh;function N1(){if(Qh)return Ta;Qh=1;const a=wa(),e=O1();class n{constructor(b,w,k,R){this.upper=b,this.breakable=w,this.label=k,this.brokenForkContext=e.newEmpty(R)}}class o{constructor(b){this.upper=b,this.choiceContextCount=0}}class t{constructor(b,w,k,R){this.upper=b,this.kind=w,this.isForkingAsResult=k,this.trueForkContext=e.newEmpty(R),this.falseForkContext=e.newEmpty(R),this.nullishForkContext=e.newEmpty(R),this.processed=!1}}class l{constructor(b,w,k,R){this.upper=b,this.type=w,this.label=k,this.brokenForkContext=R.brokenForkContext}}class p extends l{constructor(b,w,k){super(b,"WhileStatement",w,k),this.test=void 0,this.continueDestSegments=null}}class u extends l{constructor(b,w,k,R){super(b,"DoWhileStatement",w,k),this.test=void 0,this.entrySegments=null,this.continueForkContext=e.newEmpty(R)}}class r extends l{constructor(b,w,k){super(b,"ForStatement",w,k),this.test=void 0,this.endOfInitSegments=null,this.testSegments=null,this.endOfTestSegments=null,this.updateSegments=null,this.endOfUpdateSegments=null,this.continueDestSegments=null}}class m extends l{constructor(b,w,k){super(b,"ForInStatement",w,k),this.prevSegments=null,this.leftSegments=null,this.endOfLeftSegments=null,this.continueDestSegments=null}}class i extends l{constructor(b,w,k){super(b,"ForOfStatement",w,k),this.prevSegments=null,this.leftSegments=null,this.endOfLeftSegments=null,this.continueDestSegments=null}}class c{constructor(b,w){this.upper=b,this.hasCase=w,this.defaultSegments=null,this.defaultBodySegments=null,this.foundEmptyDefault=!1,this.lastIsDefault=!1,this.forkCount=0}}class h{constructor(b,w,k){this.upper=b,this.hasFinalizer=w,this.position="try",this.returnedForkContext=w?e.newEmpty(k):null,this.thrownForkContext=e.newEmpty(k),this.lastOfTryIsReachable=!1,this.lastOfCatchIsReachable=!1}}function s(A,b,w,k){for(let R=0;R<k.length;++R){const F=k[R];A.push(F),b.includes(F)||w.push(F)}}function f(A,b){if(!b)return A.loopContext;let w=A.loopContext;for(;w;){if(w.label===b)return w;w=w.upper}return null}function g(A,b){let w=A.breakContext;for(;w;){if(b?w.label===b:w.breakable)return w;w=w.upper}return null}function d(A){let b=A.tryContext;for(;b;){if(b.hasFinalizer&&b.position!=="finally")return b;b=b.upper}return A}function E(A){let b=A.tryContext;for(;b;){if(b.position==="try"||b.hasFinalizer&&b.position==="catch")return b;b=b.upper}return A}function S(A,b){A.splice(A.indexOf(b),1)}function x(A,b){for(let w=0;w<A.length;++w){const k=A[w],R=b[w];S(k.nextSegments,R),S(k.allNextSegments,R),S(R.prevSegments,k),S(R.allPrevSegments,k)}}function T(A,b,w){const k=a.flattenUnusedSegments(b),R=a.flattenUnusedSegments(w),F=Math.min(k.length,R.length);for(let L=0;L<F;++L){const P=k[L],O=R[L];O.reachable&&P.nextSegments.push(O),P.reachable&&O.prevSegments.push(P),P.allNextSegments.push(O),O.allPrevSegments.push(P),O.allPrevSegments.length>=2&&a.markPrevSegmentAsLooped(O,P),A.notifyLooped(P,O)}}function C(A,b,w){b.processed||(b.trueForkContext.add(w),b.falseForkContext.add(w),b.nullishForkContext.add(w)),A.test!==!0&&A.brokenForkContext.addAll(b.falseForkContext),A.endOfTestSegments=b.trueForkContext.makeNext(0,-1)}class v{constructor(b,w){this.idGenerator=b,this.notifyLooped=w,this.forkContext=e.newRoot(b),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 k=this.finalSegments,R=this.returnedForkContext,F=this.thrownForkContext;R.add=s.bind(null,R,F,k),F.add=s.bind(null,F,R,k)}get headSegments(){return this.forkContext.head}get parentForkContext(){const b=this.forkContext;return b&&b.upper}pushForkContext(b){return this.forkContext=e.newEmpty(this.forkContext,b),this.forkContext}popForkContext(){const b=this.forkContext;return this.forkContext=b.upper,this.forkContext.replaceHead(b.makeNext(0,-1)),b}forkPath(){this.forkContext.add(this.parentForkContext.makeNext(-1,-1))}forkBypassPath(){this.forkContext.add(this.parentForkContext.head)}pushChoiceContext(b,w){this.choiceContext=new t(this.choiceContext,b,w,this.forkContext)}popChoiceContext(){const b=this.choiceContext,w=this.forkContext,k=w.head;switch(this.choiceContext=b.upper,b.kind){case"&&":case"||":case"??":if(b.processed||(b.trueForkContext.add(k),b.falseForkContext.add(k),b.nullishForkContext.add(k)),b.isForkingAsResult){const F=this.choiceContext;return F.trueForkContext.addAll(b.trueForkContext),F.falseForkContext.addAll(b.falseForkContext),F.nullishForkContext.addAll(b.nullishForkContext),F.processed=!0,b}break;case"test":b.processed?(b.falseForkContext.clear(),b.falseForkContext.add(k)):(b.trueForkContext.clear(),b.trueForkContext.add(k));break;case"loop":return b;default:throw new Error("unreachable")}const R=b.trueForkContext;return R.addAll(b.falseForkContext),w.replaceHead(R.makeNext(0,-1)),b}makeLogicalRight(){const b=this.choiceContext,w=this.forkContext;if(b.processed){let k;switch(b.kind){case"&&":k=b.trueForkContext;break;case"||":k=b.falseForkContext;break;case"??":k=b.nullishForkContext;break;default:throw new Error("unreachable")}w.replaceHead(k.makeNext(0,-1)),k.clear(),b.processed=!1}else{switch(b.kind){case"&&":b.falseForkContext.add(w.head),b.nullishForkContext.add(w.head);break;case"||":b.trueForkContext.add(w.head);break;case"??":b.trueForkContext.add(w.head),b.falseForkContext.add(w.head);break;default:throw new Error("unreachable")}w.replaceHead(w.makeNext(-1,-1))}}makeIfConsequent(){const b=this.choiceContext,w=this.forkContext;b.processed||(b.trueForkContext.add(w.head),b.falseForkContext.add(w.head),b.nullishForkContext.add(w.head)),b.processed=!1,w.replaceHead(b.trueForkContext.makeNext(0,-1))}makeIfAlternate(){const b=this.choiceContext,w=this.forkContext;b.trueForkContext.clear(),b.trueForkContext.add(w.head),b.processed=!0,w.replaceHead(b.falseForkContext.makeNext(0,-1))}pushChainContext(){this.chainContext=new o(this.chainContext)}popChainContext(){const b=this.chainContext;this.chainContext=b.upper;for(let w=b.choiceContextCount;w>0;--w)this.popChoiceContext()}makeOptionalNode(){this.chainContext&&(this.chainContext.choiceContextCount+=1,this.pushChoiceContext("??",!1))}makeOptionalRight(){this.chainContext&&this.makeLogicalRight()}pushSwitchContext(b,w){this.switchContext=new c(this.switchContext,b),this.pushBreakContext(!0,w)}popSwitchContext(){const b=this.switchContext;this.switchContext=b.upper;const w=this.forkContext,k=this.popBreakContext().brokenForkContext;if(b.forkCount===0){k.empty||(k.add(w.makeNext(-1,-1)),w.replaceHead(k.makeNext(0,-1)));return}const R=w.head;this.forkBypassPath();const F=w.head;k.add(R),b.lastIsDefault||(b.defaultBodySegments?(x(b.defaultSegments,b.defaultBodySegments),T(this,F,b.defaultBodySegments)):k.add(F));for(let L=0;L<b.forkCount;++L)this.forkContext=this.forkContext.upper;this.forkContext.replaceHead(k.makeNext(0,-1))}makeSwitchCaseBody(b,w){const k=this.switchContext;if(!k.hasCase)return;const R=this.forkContext,F=this.pushForkContext();F.add(R.makeNext(0,-1)),w?(k.defaultSegments=R.head,b?k.foundEmptyDefault=!0:k.defaultBodySegments=F.head):!b&&k.foundEmptyDefault&&(k.foundEmptyDefault=!1,k.defaultBodySegments=F.head),k.lastIsDefault=w,k.forkCount+=1}pushTryContext(b){this.tryContext=new h(this.tryContext,b,this.forkContext)}popTryContext(){const b=this.tryContext;if(this.tryContext=b.upper,b.position==="catch"){this.popForkContext();return}const w=b.returnedForkContext,k=b.thrownForkContext;if(w.empty&&k.empty)return;const R=this.forkContext.head;this.forkContext=this.forkContext.upper;const F=R.slice(0,R.length/2|0),L=R.slice(R.length/2|0);w.empty||d(this).returnedForkContext.add(L),k.empty||E(this).thrownForkContext.add(L),this.forkContext.replaceHead(F),!b.lastOfTryIsReachable&&!b.lastOfCatchIsReachable&&this.forkContext.makeUnreachable()}makeCatchBlock(){const b=this.tryContext,w=this.forkContext,k=b.thrownForkContext;b.position="catch",b.thrownForkContext=e.newEmpty(w),b.lastOfTryIsReachable=w.reachable,k.add(w.head);const R=k.makeNext(0,-1);this.pushForkContext(),this.forkBypassPath(),this.forkContext.add(R)}makeFinallyBlock(){const b=this.tryContext;let w=this.forkContext;const k=b.returnedForkContext,R=b.thrownForkContext,F=w.head;if(b.position==="catch"?(this.popForkContext(),w=this.forkContext,b.lastOfCatchIsReachable=w.reachable):b.lastOfTryIsReachable=w.reachable,b.position="finally",k.empty&&R.empty)return;const L=w.makeNext(-1,-1);for(let P=0;P<w.count;++P){const O=[F[P]];for(let q=0;q<k.segmentsList.length;++q)O.push(k.segmentsList[q][P]);for(let q=0;q<R.segmentsList.length;++q)O.push(R.segmentsList[q][P]);L.push(a.newNext(this.idGenerator.next(),O))}this.pushForkContext(!0),this.forkContext.add(L)}makeFirstThrowablePathInTryBlock(){const b=this.forkContext;if(!b.reachable)return;const w=E(this);w===this||w.position!=="try"||!w.thrownForkContext.empty||(w.thrownForkContext.add(b.head),b.replaceHead(b.makeNext(-1,-1)))}pushLoopContext(b,w){const k=this.forkContext,R=this.pushBreakContext(!0,w);switch(b){case"WhileStatement":this.pushChoiceContext("loop",!1),this.loopContext=new p(this.loopContext,w,R);break;case"DoWhileStatement":this.pushChoiceContext("loop",!1),this.loopContext=new u(this.loopContext,w,R,k);break;case"ForStatement":this.pushChoiceContext("loop",!1),this.loopContext=new r(this.loopContext,w,R);break;case"ForInStatement":this.loopContext=new m(this.loopContext,w,R);break;case"ForOfStatement":this.loopContext=new i(this.loopContext,w,R);break;default:throw new Error(`unknown type: "${b}"`)}}popLoopContext(){const b=this.loopContext;this.loopContext=b.upper;const w=this.forkContext,k=this.popBreakContext().brokenForkContext;switch(b.type){case"WhileStatement":case"ForStatement":this.popChoiceContext(),T(this,w.head,b.continueDestSegments);break;case"DoWhileStatement":{const R=this.popChoiceContext();R.processed||(R.trueForkContext.add(w.head),R.falseForkContext.add(w.head)),b.test!==!0&&k.addAll(R.falseForkContext);const F=R.trueForkContext.segmentsList;for(let L=0;L<F.length;++L)T(this,F[L],b.entrySegments);break}case"ForInStatement":case"ForOfStatement":k.add(w.head),T(this,w.head,b.leftSegments);break;default:throw new Error("unreachable")}k.empty?w.replaceHead(w.makeUnreachable(-1,-1)):w.replaceHead(k.makeNext(0,-1))}makeWhileTest(b){const w=this.loopContext,k=this.forkContext,R=k.makeNext(0,-1);w.test=b,w.continueDestSegments=R,k.replaceHead(R)}makeWhileBody(){const b=this.loopContext,w=this.choiceContext,k=this.forkContext;w.processed||(w.trueForkContext.add(k.head),w.falseForkContext.add(k.head)),b.test!==!0&&b.brokenForkContext.addAll(w.falseForkContext),k.replaceHead(w.trueForkContext.makeNext(0,-1))}makeDoWhileBody(){const b=this.loopContext,w=this.forkContext,k=w.makeNext(-1,-1);b.entrySegments=k,w.replaceHead(k)}makeDoWhileTest(b){const w=this.loopContext,k=this.forkContext;if(w.test=b,!w.continueForkContext.empty){w.continueForkContext.add(k.head);const R=w.continueForkContext.makeNext(0,-1);k.replaceHead(R)}}makeForTest(b){const w=this.loopContext,k=this.forkContext,R=k.head,F=k.makeNext(-1,-1);w.test=b,w.endOfInitSegments=R,w.continueDestSegments=w.testSegments=F,k.replaceHead(F)}makeForUpdate(){const b=this.loopContext,w=this.choiceContext,k=this.forkContext;b.testSegments?C(b,w,k.head):b.endOfInitSegments=k.head;const R=k.makeDisconnected(-1,-1);b.continueDestSegments=b.updateSegments=R,k.replaceHead(R)}makeForBody(){const b=this.loopContext,w=this.choiceContext,k=this.forkContext;b.updateSegments?(b.endOfUpdateSegments=k.head,b.testSegments&&T(this,b.endOfUpdateSegments,b.testSegments)):b.testSegments?C(b,w,k.head):b.endOfInitSegments=k.head;let R=b.endOfTestSegments;if(!R){const F=e.newEmpty(k);F.add(b.endOfInitSegments),b.endOfUpdateSegments&&F.add(b.endOfUpdateSegments),R=F.makeNext(0,-1)}b.continueDestSegments=b.continueDestSegments||R,k.replaceHead(R)}makeForInOfLeft(){const b=this.loopContext,w=this.forkContext,k=w.makeDisconnected(-1,-1);b.prevSegments=w.head,b.leftSegments=b.continueDestSegments=k,w.replaceHead(k)}makeForInOfRight(){const b=this.loopContext,w=this.forkContext,k=e.newEmpty(w);k.add(b.prevSegments);const R=k.makeNext(-1,-1);b.endOfLeftSegments=w.head,w.replaceHead(R)}makeForInOfBody(){const b=this.loopContext,w=this.forkContext,k=e.newEmpty(w);k.add(b.endOfLeftSegments);const R=k.makeNext(-1,-1);T(this,w.head,b.leftSegments),b.brokenForkContext.add(w.head),w.replaceHead(R)}pushBreakContext(b,w){return this.breakContext=new n(this.breakContext,b,w,this.forkContext),this.breakContext}popBreakContext(){const b=this.breakContext,w=this.forkContext;if(this.breakContext=b.upper,!b.breakable){const k=b.brokenForkContext;k.empty||(k.add(w.head),w.replaceHead(k.makeNext(0,-1)))}return b}makeBreak(b){const w=this.forkContext;if(!w.reachable)return;const k=g(this,b);k&&k.brokenForkContext.add(w.head),w.replaceHead(w.makeUnreachable(-1,-1))}makeContinue(b){const w=this.forkContext;if(!w.reachable)return;const k=f(this,b);k&&(k.continueDestSegments?(T(this,w.head,k.continueDestSegments),(k.type==="ForInStatement"||k.type==="ForOfStatement")&&k.brokenForkContext.add(w.head)):k.continueForkContext.add(w.head)),w.replaceHead(w.makeUnreachable(-1,-1))}makeReturn(){const b=this.forkContext;b.reachable&&(d(this).returnedForkContext.add(b.head),b.replaceHead(b.makeUnreachable(-1,-1)))}makeThrow(){const b=this.forkContext;b.reachable&&(E(this).thrownForkContext.add(b.head),b.replaceHead(b.makeUnreachable(-1,-1)))}makeFinal(){const b=this.currentSegments;b.length>0&&b[0].reachable&&this.returnedForkContext.add(b)}}return Ta=v,Ta}var ka,Zh;function ed(){if(Zh)return ka;Zh=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 ka=a,ka}var Da,td;function M1(){if(td)return Da;td=1;const a=N1(),e=ed();class n{constructor({id:t,origin:l,upper:p,onLooped:u}){this.id=t,this.origin=l,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,l){let p,u;typeof t=="function"?(u=t,p={}):(p=t||{},u=l);const r=p.first||this.internal.initialSegment,m=p.last;let i,c,h,s=null;const f=new Set,g=[[r,0]],d=new Set;let E=!1;const S={skip(){d.add(s)},break(){E=!0}};function x(C){return f.has(C)||s.isLoopedPrevSegment(C)}function T(C){return d.has(C)||s.isLoopedPrevSegment(C)}for(;g.length>0;){if(i=g.at(-1),s=i[0],c=i[1],c===0){if(f.has(s)){g.pop();continue}if(s!==r&&s.prevSegments.length>0&&!s.prevSegments.every(x)){g.pop();continue}if(f.add(s),d.size>0&&s.prevSegments.length>0&&s.prevSegments.every(T))d.add(s);else if(u.call(this,s,S),s===m&&S.skip(),E)break}h=s.nextSegments.length-1,c<h?(i[1]+=1,g.push([s.nextSegments[c],0])):c===h?(i[0]=s.nextSegments[c],i[1]=0):g.pop()}}}return Da=n,Da}var Ia,rd;function j1(){if(rd)return Ia;rd=1;const a=Pn(),{breakableTypePattern:e}=Fn(),n=M1(),o=wa(),t=ed(),l=Xh();function p(C){return!!C.test}function u(C){const v=C.parent;return v&&v.type==="PropertyDefinition"&&v.value===C}function r(C){return C==="&&"||C==="||"||C==="??"}function m(C){return C==="&&="||C==="||="||C==="??="}function i(C){return C.parent.type==="LabeledStatement"?C.parent.label.name:null}function c(C){const v=C.parent;switch(v.type){case"ConditionalExpression":case"IfStatement":case"WhileStatement":case"DoWhileStatement":case"ForStatement":return v.test===C;case"LogicalExpression":return r(v.operator);case"AssignmentExpression":return m(v.operator);default:return!1}}function h(C){if(C.type==="Literal")return!!C.value}function s(C){const v=C.parent;switch(v.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 v.id!==C;case"Property":case"PropertyDefinition":case"MethodDefinition":return v.key!==C||v.computed||v.shorthand;case"AssignmentPattern":return v.key!==C;default:return!0}}function f(C,v){const A=C.codePath,b=n.getState(A),w=b.currentSegments,k=b.headSegments,R=Math.max(w.length,k.length);let F,L,P;for(F=0;F<R;++F)if(L=w[F],P=k[F],L!==P&&L){const O=L.reachable?"onCodePathSegmentEnd":"onUnreachableCodePathSegmentEnd";l.dump(`${O} ${L.id}`),C.emit(O,[L,v])}for(b.currentSegments=k,F=0;F<R;++F)if(L=w[F],P=k[F],L!==P&&P){const O=P.reachable?"onCodePathSegmentStart":"onUnreachableCodePathSegmentStart";l.dump(`${O} ${P.id}`),o.markUsed(P),C.emit(O,[P,v])}}function g(C,v){const A=n.getState(C.codePath),b=A.currentSegments;for(let w=0;w<b.length;++w){const k=b[w],R=k.reachable?"onCodePathSegmentEnd":"onUnreachableCodePathSegmentEnd";l.dump(`${R} ${k.id}`),C.emit(R,[k,v])}A.currentSegments=[]}function d(C,v){const A=C.codePath,b=n.getState(A),w=v.parent;switch(w.type){case"CallExpression":w.optional===!0&&w.arguments.length>=1&&w.arguments[0]===v&&b.makeOptionalRight();break;case"MemberExpression":w.optional===!0&&w.property===v&&b.makeOptionalRight();break;case"LogicalExpression":w.right===v&&r(w.operator)&&b.makeLogicalRight();break;case"AssignmentExpression":w.right===v&&m(w.operator)&&b.makeLogicalRight();break;case"ConditionalExpression":case"IfStatement":w.consequent===v?b.makeIfConsequent():w.alternate===v&&b.makeIfAlternate();break;case"SwitchCase":w.consequent[0]===v&&b.makeSwitchCaseBody(!1,!w.test);break;case"TryStatement":w.handler===v?b.makeCatchBlock():w.finalizer===v&&b.makeFinallyBlock();break;case"WhileStatement":w.test===v?b.makeWhileTest(h(v)):(a(w.body===v),b.makeWhileBody());break;case"DoWhileStatement":w.body===v?b.makeDoWhileBody():(a(w.test===v),b.makeDoWhileTest(h(v)));break;case"ForStatement":w.test===v?b.makeForTest(h(v)):w.update===v?b.makeForUpdate():w.body===v&&b.makeForBody();break;case"ForInStatement":case"ForOfStatement":w.left===v?b.makeForInOfLeft():w.right===v?b.makeForInOfRight():(a(w.body===v),b.makeForInOfBody());break;case"AssignmentPattern":w.right===v&&(b.pushForkContext(),b.forkBypassPath(),b.forkPath());break}}function E(C,v){let A=C.codePath,b=A&&n.getState(A);const w=v.parent;function k(R){A&&(f(C,v),l.dumpState(v,b,!1)),A=C.codePath=new n({id:C.idGenerator.next(),origin:R,upper:A,onLooped:C.onLooped}),b=n.getState(A),l.dump(`onCodePathStart ${A.id}`),C.emit("onCodePathStart",[A,v])}switch(u(v)&&k("class-field-initializer"),v.type){case"Program":k("program");break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":k("function");break;case"StaticBlock":k("class-static-block");break;case"ChainExpression":b.pushChainContext();break;case"CallExpression":v.optional===!0&&b.makeOptionalNode();break;case"MemberExpression":v.optional===!0&&b.makeOptionalNode();break;case"LogicalExpression":r(v.operator)&&b.pushChoiceContext(v.operator,c(v));break;case"AssignmentExpression":m(v.operator)&&b.pushChoiceContext(v.operator.slice(0,-1),c(v));break;case"ConditionalExpression":case"IfStatement":b.pushChoiceContext("test",!1);break;case"SwitchStatement":b.pushSwitchContext(v.cases.some(p),i(v));break;case"TryStatement":b.pushTryContext(!!v.finalizer);break;case"SwitchCase":w.discriminant!==v&&w.cases[0]!==v&&b.forkPath();break;case"WhileStatement":case"DoWhileStatement":case"ForStatement":case"ForInStatement":case"ForOfStatement":b.pushLoopContext(v.type,i(v));break;case"LabeledStatement":e.test(v.body.type)||b.pushBreakContext(!1,v.label.name);break}f(C,v),l.dumpState(v,b,!1)}function S(C,v){const A=C.codePath,b=n.getState(A);let w=!1;switch(v.type){case"ChainExpression":b.popChainContext();break;case"IfStatement":case"ConditionalExpression":b.popChoiceContext();break;case"LogicalExpression":r(v.operator)&&b.popChoiceContext();break;case"AssignmentExpression":m(v.operator)&&b.popChoiceContext();break;case"SwitchStatement":b.popSwitchContext();break;case"SwitchCase":v.consequent.length===0&&b.makeSwitchCaseBody(!0,!v.test),b.forkContext.reachable&&(w=!0);break;case"TryStatement":b.popTryContext();break;case"BreakStatement":f(C,v),b.makeBreak(v.label&&v.label.name),w=!0;break;case"ContinueStatement":f(C,v),b.makeContinue(v.label&&v.label.name),w=!0;break;case"ReturnStatement":f(C,v),b.makeReturn(),w=!0;break;case"ThrowStatement":f(C,v),b.makeThrow(),w=!0;break;case"Identifier":s(v)&&(b.makeFirstThrowablePathInTryBlock(),w=!0);break;case"CallExpression":case"ImportExpression":case"MemberExpression":case"NewExpression":case"YieldExpression":b.makeFirstThrowablePathInTryBlock();break;case"WhileStatement":case"DoWhileStatement":case"ForStatement":case"ForInStatement":case"ForOfStatement":b.popLoopContext();break;case"AssignmentPattern":b.popForkContext();break;case"LabeledStatement":e.test(v.body.type)||b.popBreakContext();break}w||f(C,v),l.dumpState(v,b,!0)}function x(C,v){function A(){let b=C.codePath;n.getState(b).makeFinal(),g(C,v),l.dump(`onCodePathEnd ${b.id}`),C.emit("onCodePathEnd",[b,v]),l.dumpDot(b),b=C.codePath=C.codePath.upper,b&&l.dumpState(v,n.getState(b),!0)}switch(v.type){case"Program":case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"StaticBlock":{A();break}case"CallExpression":v.optional===!0&&v.arguments.length===0&&n.getState(C.codePath).makeOptionalRight();break}u(v)&&A()}class T{constructor(v){this.original=v,this.emit=v.emit,this.codePath=null,this.idGenerator=new t("s"),this.currentNode=null,this.onLooped=this.onLooped.bind(this)}enterNode(v){this.currentNode=v,v.parent&&d(this,v),E(this,v),this.original.enterNode(v),this.currentNode=null}leaveNode(v){this.currentNode=v,S(this,v),this.original.leaveNode(v),x(this,v),this.currentNode=null}onLooped(v,A){v.reachable&&A.reachable&&(l.dump(`onCodePathSegmentLoop ${v.id} -> ${A.id}`),this.emit("onCodePathSegmentLoop",[v,A,this.currentNode]))}}return Ia=T,Ia}var Dr={},Pa={exports:{}},Fa={exports:{}},Ra,nd;function U1(){if(nd)return Ra;nd=1;var a,e,n,o,t,l,p={}.toString;a=u(function(r,m){return r.apply(null,m)}),e=function(r){return u(r)},n=u(function(r,m,i){return r(i,m)}),o=function(r){return function(m){return function(){return r(m(m)).apply(null,arguments)}}(function(m){return function(){return r(m(m)).apply(null,arguments)}})},t=u(function(r,m,i,c){return r(m(i),m(c))}),l=function(r){var m;return m={},function(){var i,c,h,s,f,g;for(c=[],h=0,s=arguments.length;h<s;++h)c.push(arguments[h]);return i=c,f=function(){var d,E,S,x=[];for(d=0,S=(E=i).length;d<S;++d)g=E[d],x.push(g+p.call(g).slice(8,-1));return x}().join(""),m[f]=f in m?m[f]:r.apply(null,i)}},Ra={curry:e,flip:n,fix:o,apply:a,over:t,memoize:l};function u(r,m){var i,c=function(h){return r.length>1?function(){var s=h?h.concat():[];return i=this,s.push.apply(s,arguments)<r.length&&arguments.length?c.call(i,s):r.apply(i,s)}:r};return c()}return Ra}var _a,sd;function q1(){if(sd)return _a;sd=1;var a,e,n,o,t,l,p,u,r,m,i,c,h,s,f,g,d,E,S,x,T,C,v,A,b,w,k,R,F,L,P,O,q,N,_,G,B,z,H,ce,re,Fe,X,I,W,oe,ie,se,de,be,xe,Te,J,Q,ke,$,ae,Ie,Ne,Be,j,Qe,ut,rt,ze,Xe,ht,dt,at,tt,we={}.toString;a=Ee(function(ee,te){var Z,fe,De;for(Z=0,fe=te.length;Z<fe;++Z)De=te[Z],ee(De);return te}),e=Ee(function(ee,te){var Z,fe,De,Le=[];for(Z=0,fe=te.length;Z<fe;++Z)De=te[Z],Le.push(ee(De));return Le}),n=function(ee){var te,Z,fe,De=[];for(te=0,Z=ee.length;te<Z;++te)fe=ee[te],fe&&De.push(fe);return De},o=Ee(function(ee,te){var Z,fe,De,Le=[];for(Z=0,fe=te.length;Z<fe;++Z)De=te[Z],ee(De)&&Le.push(De);return Le}),t=Ee(function(ee,te){var Z,fe,De,Le=[];for(Z=0,fe=te.length;Z<fe;++Z)De=te[Z],ee(De)||Le.push(De);return Le}),l=Ee(function(ee,te){var Z,fe;return Z=ht(ee,te),fe=te.slice(),Z!=null&&fe.splice(Z,1),fe}),p=Ee(function(ee,te){var Z,fe,De,Le,me;for(Z=[],fe=[],De=0,Le=te.length;De<Le;++De)me=te[De],(ee(me)?Z:fe).push(me);return[Z,fe]}),u=Ee(function(ee,te){var Z,fe,De;for(Z=0,fe=te.length;Z<fe;++Z)if(De=te[Z],ee(De))return De}),r=m=function(ee){return ee[0]},i=function(ee){if(ee.length)return ee.slice(1)},c=function(ee){return ee[ee.length-1]},h=function(ee){if(ee.length)return ee.slice(0,-1)},s=function(ee){return!ee.length},f=function(ee){return ee.concat().reverse()},g=function(ee){var te,Z,fe,De;for(te=[],Z=0,fe=ee.length;Z<fe;++Z)De=ee[Z],Se(De,te)||te.push(De);return te},d=Ee(function(ee,te){var Z,fe,De,Le,me,V=[];for(Z=[],fe=0,De=te.length;fe<De;++fe)Le=te[fe],me=ee(Le),!Se(me,Z)&&(Z.push(me),V.push(Le));return V}),E=S=Ee(function(ee,te,Z){var fe,De,Le;for(fe=0,De=Z.length;fe<De;++fe)Le=Z[fe],te=ee(te,Le);return te}),x=T=Ee(function(ee,te){return E(ee,te[0],te.slice(1))}),C=Ee(function(ee,te,Z){var fe,De;for(fe=Z.length-1;fe>=0;--fe)De=Z[fe],te=ee(De,te);return te}),v=Ee(function(ee,te){return C(ee,te[te.length-1],te.slice(0,-1))}),A=Ee(function(ee,te){var Z,fe,De;for(Z=[],fe=te;(De=ee(fe))!=null;)Z.push(De[0]),fe=De[1];return Z}),b=function(ee){return[].concat.apply([],ee)},w=Ee(function(ee,te){var Z;return[].concat.apply([],function(){var fe,De,Le,me=[];for(fe=0,Le=(De=te).length;fe<Le;++fe)Z=De[fe],me.push(ee(Z));return me}())}),k=function(ee){var te;return[].concat.apply([],function(){var Z,fe,De,Le=[];for(Z=0,De=(fe=ee).length;Z<De;++Z)te=fe[Z],we.call(te).slice(8,-1)==="Array"?Le.push(k(te)):Le.push(te);return Le}())},R=function(ee){var te,Z,fe,De,Le,me,V,ne,ue,Ce;for(Z=[],fe=1,De=arguments.length;fe<De;++fe)Z.push(arguments[fe]);te=Z,Le=[];e:for(fe=0,me=ee.length;fe<me;++fe){for(V=ee[fe],ne=0,ue=te.length;ne<ue;++ne)if(Ce=te[ne],Se(V,Ce))continue e;Le.push(V)}return Le},F=function(ee){var te,Z,fe,De,Le,me,V,ne,ue,Ce;for(Z=[],fe=1,De=arguments.length;fe<De;++fe)Z.push(arguments[fe]);te=Z,Le=[];e:for(fe=0,me=ee.length;fe<me;++fe){for(V=ee[fe],ne=0,ue=te.length;ne<ue;++ne)if(Ce=te[ne],!Se(V,Ce))continue e;Le.push(V)}return Le},L=function(){var ee,te,Z,fe,De,Le,me,V,ne,ue;for(te=[],Z=0,fe=arguments.length;Z<fe;++Z)te.push(arguments[Z]);for(ee=te,De=[],Z=0,Le=ee.length;Z<Le;++Z)for(me=ee[Z],V=0,ne=me.length;V<ne;++V)ue=me[V],Se(ue,De)||De.push(ue);return De},P=Ee(function(ee,te){var Z,fe,De,Le,me;for(Z={},fe=0,De=te.length;fe<De;++fe)Le=te[fe],me=ee(Le),me in Z?Z[me]+=1:Z[me]=1;return Z}),O=Ee(function(ee,te){var Z,fe,De,Le,me;for(Z={},fe=0,De=te.length;fe<De;++fe)Le=te[fe],me=ee(Le),me in Z?Z[me].push(Le):Z[me]=[Le];return Z}),q=function(ee){var te,Z,fe;for(te=0,Z=ee.length;te<Z;++te)if(fe=ee[te],!fe)return!1;return!0},N=function(ee){var te,Z,fe;for(te=0,Z=ee.length;te<Z;++te)if(fe=ee[te],fe)return!0;return!1},_=Ee(function(ee,te){var Z,fe,De;for(Z=0,fe=te.length;Z<fe;++Z)if(De=te[Z],ee(De))return!0;return!1}),G=Ee(function(ee,te){var Z,fe,De;for(Z=0,fe=te.length;Z<fe;++Z)if(De=te[Z],!ee(De))return!1;return!0}),B=function(ee){return ee.concat().sort(function(te,Z){return te>Z?1:te<Z?-1:0})},z=Ee(function(ee,te){return te.concat().sort(ee)}),H=Ee(function(ee,te){return te.concat().sort(function(Z,fe){return ee(Z)>ee(fe)?1:ee(Z)<ee(fe)?-1:0})}),ce=function(ee){var te,Z,fe,De;for(te=0,Z=0,fe=ee.length;Z<fe;++Z)De=ee[Z],te+=De;return te},re=function(ee){var te,Z,fe,De;for(te=1,Z=0,fe=ee.length;Z<fe;++Z)De=ee[Z],te*=De;return te},Fe=X=function(ee){var te,Z,fe,De;for(te=0,Z=0,fe=ee.length;Z<fe;++Z)De=ee[Z],te+=De;return te/ee.length},I=function(ee){var te,Z,fe,De,Le;for(te=ee[0],Z=0,De=(fe=ee.slice(1)).length;Z<De;++Z)Le=fe[Z],Le>te&&(te=Le);return te},W=function(ee){var te,Z,fe,De,Le;for(te=ee[0],Z=0,De=(fe=ee.slice(1)).length;Z<De;++Z)Le=fe[Z],Le<te&&(te=Le);return te},oe=Ee(function(ee,te){var Z,fe,De,Le,me;for(Z=te[0],fe=0,Le=(De=te.slice(1)).length;fe<Le;++fe)me=De[fe],ee(me)>ee(Z)&&(Z=me);return Z}),ie=Ee(function(ee,te){var Z,fe,De,Le,me;for(Z=te[0],fe=0,Le=(De=te.slice(1)).length;fe<Le;++fe)me=De[fe],ee(me)<ee(Z)&&(Z=me);return Z}),se=de=Ee(function(ee,te,Z){var fe,De;return fe=te,[te].concat(function(){var Le,me,V,ne=[];for(Le=0,V=(me=Z).length;Le<V;++Le)De=me[Le],ne.push(fe=ee(fe,De));return ne}())}),be=xe=Ee(function(ee,te){if(te.length)return se(ee,te[0],te.slice(1))}),Te=Ee(function(ee,te,Z){return Z=Z.concat().reverse(),se(ee,te,Z).reverse()}),J=Ee(function(ee,te){if(te.length)return te=te.concat().reverse(),se(ee,te[0],te.slice(1)).reverse()}),Q=Ee(function(ee,te,Z){return Z.slice(ee,te)}),ke=Ee(function(ee,te){return ee<=0?te.slice(0,0):te.slice(0,ee)}),$=Ee(function(ee,te){return ee<=0?te:te.slice(ee)}),ae=Ee(function(ee,te){return[ke(ee,te),$(ee,te)]}),Ie=Ee(function(ee,te){var Z,fe;if(Z=te.length,!Z)return te;for(fe=0;fe<Z&&ee(te[fe]);)fe+=1;return te.slice(0,fe)}),Ne=Ee(function(ee,te){var Z,fe;if(Z=te.length,!Z)return te;for(fe=0;fe<Z&&ee(te[fe]);)fe+=1;return te.slice(fe)}),Be=Ee(function(ee,te){return[Ie(ee,te),Ne(ee,te)]}),j=Ee(function(ee,te){return Be(ve(ee,Pe),te)}),Qe=Ee(function(ee,te){var Z,fe,De,Le,me,V;for(Z=[],fe=te.length,De=0,Le=ee.length;De<Le&&(me=De,V=ee[De],me!==fe);++De)Z.push([V,te[me]]);return Z}),ut=Ee(function(ee,te,Z){var fe,De,Le,me,V,ne;for(fe=[],De=Z.length,Le=0,me=te.length;Le<me&&(V=Le,ne=te[Le],V!==De);++Le)fe.push(ee(ne,Z[V]));return fe}),rt=function(){var ee,te,Z,fe,De,Le,me,V,ne,ue,Ce,qe=[];for(te=[],Z=0,fe=arguments.length;Z<fe;++Z)te.push(arguments[Z]);for(ee=te,De=void 0,Z=0,Le=ee.length;Z<Le;++Z)me=ee[Z],De<=(V=me.length)||(De=V);for(Z=0;Z<De;++Z){for(ne=Z,ue=[],Ce=0,Le=ee.length;Ce<Le;++Ce)me=ee[Ce],ue.push(me[ne]);qe.push(ue)}return qe},ze=function(ee){var te,Z,fe,De,Le,me,V,ne,ue,Ce=[];for(Z=[],fe=1,De=arguments.length;fe<De;++fe)Z.push(arguments[fe]);for(te=Z,Le=void 0,fe=0,me=te.length;fe<me;++fe)V=te[fe],Le<=(ne=V.length)||(Le=ne);for(fe=0;fe<Le;++fe)ue=fe,Ce.push(ee.apply(null,qe()));return Ce;function qe(){var _e,Ke,Je,pe=[];for(_e=0,Je=(Ke=te).length;_e<Je;++_e)V=Ke[_e],pe.push(V[ue]);return pe}},Xe=Ee(function(ee,te){return ee<0?te[te.length+ee]:te[ee]}),ht=Ee(function(ee,te){var Z,fe,De,Le;for(Z=0,fe=te.length;Z<fe;++Z)if(De=Z,Le=te[Z],Le===ee)return De}),dt=Ee(function(ee,te){var Z,fe,De,Le,me=[];for(Z=0,fe=te.length;Z<fe;++Z)De=Z,Le=te[Z],Le===ee&&me.push(De);return me}),at=Ee(function(ee,te){var Z,fe,De,Le;for(Z=0,fe=te.length;Z<fe;++Z)if(De=Z,Le=te[Z],ee(Le))return De}),tt=Ee(function(ee,te){var Z,fe,De,Le,me=[];for(Z=0,fe=te.length;Z<fe;++Z)De=Z,Le=te[Z],ee(Le)&&me.push(De);return me}),_a={each:a,map:e,filter:o,compact:n,reject:t,remove:l,partition:p,find:u,head:r,first:m,tail:i,last:c,initial:h,empty:s,reverse:f,difference:R,intersection:F,union:L,countBy:P,groupBy:O,fold:E,fold1:x,foldl:S,foldl1:T,foldr:C,foldr1:v,unfoldr:A,andList:q,orList:N,any:_,all:G,unique:g,uniqueBy:d,sort:B,sortWith:z,sortBy:H,sum:ce,product:re,mean:Fe,average:X,concat:b,concatMap:w,flatten:k,maximum:I,minimum:W,maximumBy:oe,minimumBy:ie,scan:se,scan1:be,scanl:de,scanl1:xe,scanr:Te,scanr1:J,slice:Q,take:ke,drop:$,splitAt:ae,takeWhile:Ie,dropWhile:Ne,span:Be,breakList:j,zip:Qe,zipWith:ut,zipAll:rt,zipAllWith:ze,at:Xe,elemIndex:ht,elemIndices:dt,findIndex:at,findIndices:tt};function Ee(ee,te){var Z,fe=function(De){return ee.length>1?function(){var Le=De?De.concat():[];return Z=this,Le.push.apply(Le,arguments)<ee.length&&arguments.length?fe.call(Z,Le):ee.apply(Z,Le)}:ee};return fe()}function Se(ee,te){for(var Z=-1,fe=te.length>>>0;++Z<fe;)if(ee===te[Z])return!0;return!1}function ve(){var ee=arguments;return function(){var te,Z;for(Z=ee[0].apply(this,arguments),te=1;te<ee.length;++te)Z=ee[te](Z);return Z}}function Pe(ee){return!ee}return _a}var Ba,ad;function V1(){if(ad)return Ba;ad=1;var a,e,n,o,t,l,p,u,r,m,i,c,h,s;a=function(g){var d,E,S=[];for(d in g)E=g[d],S.push(E);return S},e=function(g){var d,E=[];for(d in g)E.push(d);return E},n=function(g){var d,E,S,x={};for(d=0,E=g.length;d<E;++d)S=g[d],x[S[0]]=S[1];return x},o=function(g){var d,E,S=[];for(d in g)E=g[d],S.push([d,E]);return S},t=f(function(g,d){var E,S,x,T,C={};for(E=0,S=g.length;E<S;++E)x=E,T=g[E],C[T]=d[x];return C}),l=function(g){var d,E,S,x;d=[],E=[];for(S in g)x=g[S],d.push(S),E.push(x);return[d,E]},p=function(g){var d;for(d in g)return!1;return!0},u=f(function(g,d){var E,S;for(E in d)S=d[E],g(S);return d}),r=f(function(g,d){var E,S,x={};for(E in d)S=d[E],x[E]=g(S);return x}),m=function(g){var d,E,S={};for(d in g)E=g[d],E&&(S[d]=E);return S},i=f(function(g,d){var E,S,x={};for(E in d)S=d[E],g(S)&&(x[E]=S);return x}),c=f(function(g,d){var E,S,x={};for(E in d)S=d[E],g(S)||(x[E]=S);return x}),h=f(function(g,d){var E,S,x,T;E={},S={};for(x in d)T=d[x],(g(T)?E:S)[x]=T;return[E,S]}),s=f(function(g,d){var E,S;for(E in d)if(S=d[E],g(S))return S}),Ba={values:a,keys:e,pairsToObj:n,objToPairs:o,listsToObj:t,objToLists:l,empty:p,each:u,map:r,filter:i,compact:m,reject:c,partition:h,find:s};function f(g,d){var E,S=function(x){return g.length>1?function(){var T=x?x.concat():[];return E=this,T.push.apply(T,arguments)<g.length&&arguments.length?S.call(E,T):g.apply(E,T)}:g};return S()}return Ba}var La,id;function $1(){if(id)return La;id=1;var a,e,n,o,t,l,p,u,r,m,i,c,h;a=s(function(f,g){return g.split(f)}),e=s(function(f,g){return g.join(f)}),n=function(f){return f.length?f.split(`
48
- `):[]},o=function(f){return f.join(`
49
- `)},t=function(f){return f.length?f.split(/[ ]+/):[]},l=function(f){return f.join(" ")},p=function(f){return f.split("")},u=function(f){return f.join("")},r=function(f){return f.split("").reverse().join("")},m=s(function(f,g){var d,E;for(d="",E=0;E<f;++E)d+=g;return d}),i=function(f){return f.charAt(0).toUpperCase()+f.slice(1)},c=function(f){return f.replace(/[-_]+(.)?/g,function(g,d){return(d??"").toUpperCase()})},h=function(f){return f.replace(/([^-A-Z])([A-Z]+)/g,function(g,d,E){return d+"-"+(E.length>1?E:E.toLowerCase())}).replace(/^([A-Z]+)/,function(g,d){return d.length>1?d+"-":d.toLowerCase()})},La={split:a,join:e,lines:n,unlines:o,words:t,unwords:l,chars:p,unchars:u,reverse:r,repeat:m,capitalize:i,camelize:c,dasherize:h};function s(f,g){var d,E=function(S){return f.length>1?function(){var x=S?S.concat():[];return d=this,x.push.apply(x,arguments)<f.length&&arguments.length?E.call(d,x):f.apply(d,x)}:f};return E()}return La}var Oa,od;function W1(){if(od)return Oa;od=1;var a,e,n,o,t,l,p,u,r,m,i,c,h,s,f,g,d,E,S,x,T,C,v,A,b,w,k,R,F,L,P,O;a=q(function(N,_){return N>_?N:_}),e=q(function(N,_){return N<_?N:_}),n=function(N){return-N},o=Math.abs,t=function(N){return N<0?-1:N>0?1:0},l=q(function(N,_){return~~(N/_)}),p=q(function(N,_){return N%_}),u=q(function(N,_){return Math.floor(N/_)}),r=q(function(N,_){var G;return(N%(G=_)+G)%G}),m=function(N){return 1/N},i=Math.PI,c=i*2,h=Math.exp,s=Math.sqrt,f=Math.log,g=q(function(N,_){return Math.pow(N,_)}),d=Math.sin,E=Math.tan,S=Math.cos,x=Math.asin,T=Math.acos,C=Math.atan,v=q(function(N,_){return Math.atan2(N,_)}),A=function(N){return~~N},b=Math.round,w=Math.ceil,k=Math.floor,R=function(N){return N!==N},F=function(N){return N%2===0},L=function(N){return N%2!==0},P=q(function(N,_){var G;for(N=Math.abs(N),_=Math.abs(_);_!==0;)G=N%_,N=_,_=G;return N}),O=q(function(N,_){return Math.abs(Math.floor(N/P(N,_)*_))}),Oa={max:a,min:e,negate:n,abs:o,signum:t,quot:l,rem:p,div:u,mod:r,recip:m,pi:i,tau:c,exp:h,sqrt:s,ln:f,pow:g,sin:d,tan:E,cos:S,acos:T,asin:x,atan:C,atan2:v,truncate:A,round:b,ceiling:w,floor:k,isItNaN:R,even:F,odd:L,gcd:P,lcm:O};function q(N,_){var G,B=function(z){return N.length>1?function(){var H=z?z.concat():[];return G=this,H.push.apply(H,arguments)<N.length&&arguments.length?B.call(G,H):N.apply(G,H)}:N};return B()}return Oa}var Na,ld;function ud(){if(ld)return Na;ld=1;var a,e,n,o,t,l,p,u,r,m={}.toString;a=U1(),e=q1(),n=V1(),o=$1(),t=W1(),l=function(c){return c},p=i(function(c,h){return m.call(h).slice(8,-1)===c}),u=i(function(c,h){var s,f=[];for(s=0;s<c;++s)f.push(h);return f}),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:l,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",Na=r;function i(c,h){var s,f=function(g){return c.length>1?function(){var d=g?g.concat():[];return s=this,d.push.apply(d,arguments)<c.length&&arguments.length?f.call(s,d):c.apply(s,d)}:c};return f()}return Na}var cd;function G1(){return cd||(cd=1,(function(){var a,e,n;a=ud().reject;function o(s,f){if(s[0]===f)return s.shift();throw new Error("Expected '"+f+"', but got '"+s[0]+"' instead in "+JSON.stringify(s)+".")}function t(s,f){if(s[0]===f)return s.shift()}function l(s,f,g){var d,E,S,x;for(d=f[0],E=f[1],g&&o(s,d),S=[],x=","+(g?E:"");s.length&&g&&s[0]!==E;)S.push(i(s,x)),t(s,",");return g&&o(s,E),S}function p(s,f){return l(s,["[","]"],f)}function u(s,f){return l(s,["(",")"],f)}function r(s,f){var g,d,E;for(f&&o(s,"{"),g={},d=","+(f?"}":"");s.length&&(!f||s[0]!=="}");)E=m(s,":"),o(s,":"),g[E]=i(s,d),t(s,",");return f&&o(s,"}"),g}function m(s,f){var g;for(f==null&&(f=""),g="";s.length&&f.indexOf(s[0])===-1;)g+=s.shift();return g}function i(s,f){switch(s[0]){case"[":return p(s,!0);case"(":return u(s,!0);case"{":return r(s,!0);default:return m(s,f)}}function c(s,f,g){var d,E,S,x,T,C,v,A;return d=f[0],E=d.type,S=d.structure,x=s.concat(),!g.explicit&&f.length===1&&(!E&&S||E==="Array"||E==="Object")?(T=S==="array"||E==="Array"?p(s,s[0]==="["):S==="tuple"?u(s,s[0]==="("):r(s,s[0]==="{"),C=s.length?i(S==="array"||E==="Array"?(v=x,v.unshift("["),v.push("]"),v):(A=x,A.unshift("("),A.push(")"),A)):T):C=i(s),C}e=/\[\]\(\)}{:,/.source,n=RegExp(`("(?:\\\\"|[^"])*")|('(?:\\\\'|[^'])*')|(/(?:\\\\/|[^/])*/[a-zA-Z]*)|(#.*#)|([`+e+"])|([^\\s"+e+"](?:\\s*[^\\s"+e+"]+)*)|\\s*"),Fa.exports=function(s,f,g){var d,E;if(g==null&&(g={}),!g.explicit&&s.length===1&&s[0].type==="String")return f;if(d=a(h,f.split(n)),E=c(d,s,g),!E)throw new Error("Error parsing '"+f+"'.");return E};function h(s){return!s}}).call(this)),Fa.exports}var Ma={exports:{}},ja={exports:{}},Ua={exports:{}},fd;function z1(){return fd||(fd=1,(function(){var a,e;a=/[\$\w]+/;function n(f){var g;if(g=f[0],g==null)throw new Error("Unexpected end of input.");return g}function o(f){var g;if(g=n(f),!a.test(g))throw new Error("Expected text, got '"+g+"' instead.");return f.shift()}function t(f,g){var d;if(d=n(f),d!==g)throw new Error("Expected '"+g+"', got '"+d+"' instead.");return f.shift()}function l(f,g){var d;return d=f[0],d===g?f.shift():null}function p(f){var g;if(t(f,"["),n(f)==="]")throw new Error("Must specify type of Array - eg. [Type], got [] instead.");return g=h(f),t(f,"]"),{structure:"array",of:g}}function u(f){var g;if(g=[],t(f,"("),n(f)===")")throw new Error("Tuple must be of at least length 1 - eg. (Type), got () instead.");for(;g.push(h(f)),l(f,","),n(f)!==")";);return t(f,")"),{structure:"tuple",of:g}}function r(f){var g,d,E,S,x;for(g={},t(f,"{"),d=!1;;){if(l(f,"...")){d=!0;break}if(E=m(f),S=E[0],x=E[1],g[S]=x,l(f,","),n(f)==="}")break}return t(f,"}"),{structure:"fields",of:g,subset:d}}function m(f){var g,d;return g=o(f),t(f,":"),d=h(f),[g,d]}function i(f){switch(f[0]){case"[":return p(f);case"(":return u(f);case"{":return r(f)}}function c(f){var g,d,E,S;if(g=n(f),d=g==="*",d||a.test(g))return E=d?t(f,"*"):o(f),S=i(f),S?(S.type=E,S):{type:E};if(S=i(f),!S)throw new Error("Unexpected character: "+g);return S}function h(f){var g,d,E,S,x,T;if(n(f)==="::")throw new Error("No comment before comment separator '::' found.");for(g=f[1],g!=null&&g==="::"&&(f.shift(),f.shift()),d=[],E={},n(f)==="Maybe"&&(f.shift(),d=[{type:"Undefined"},{type:"Null"}],E={Undefined:!0,Null:!0});S=c(f),x=S.type,T=S.structure,E[x]||d.push(S),T==null&&(E[x]=!0),!!l(f,"|"););return d}e=RegExp("\\.\\.\\.|::|->|"+a.source+"|\\S","g"),Ua.exports=function(f){var g,d;if(!f.length)throw new Error("No type specified.");if(g=f.match(e)||[],s("->",g))throw new Error("Function types are not supported. To validate that something is a function, you may use 'Function'.");try{return h(g)}catch(E){throw d=E,new Error(d.message+" - Remaining tokens: "+JSON.stringify(g)+" - Initial input: '"+f+"'")}};function s(f,g){for(var d=-1,E=g.length>>>0;++d<E;)if(f===g[d])return!0;return!1}}).call(this)),Ua.exports}var qa={exports:{}},pd;function H1(){return pd||(pd=1,(function(){var a,e,n,o,t,l,p={}.toString;a=ud(),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())}}},l={array:"Array",tuple:"Array"};function u(s,f,g){return n(function(d){return h(d,f.of,g)},s)}function r(s,f,g){var d,E,S,x,T;for(d=0,E=0,x=(S=f.of).length;E<x;++E){if(T=S[E],!h(s[d],T,g))return!1;d++}return s.length<=d}function m(s,f,g){var d,E,S,x,T,C,v;d={},E=0;for(S in s)d[S]=!0,E++;x=0;for(T in C=f.of){if(v=C[T],!h(s[T],v,g))return!1;d[T]&&x++}return f.subset||E===x}function i(s,f,g){if(!(s instanceof Object))return!1;switch(f.structure){case"fields":return m(s,f,g);case"array":return u(s,f,g);case"tuple":return r(s,f,g)}}function c(s,f,g){var d,E,S,x;if(d=f.type,E=f.structure,d)return d==="*"?!0:(S=g.customTypes[d]||t[d],S?(S.typeOf===void 0||S.typeOf===p.call(s).slice(8,-1))&&S.validate(s):d===p.call(s).slice(8,-1)&&(!E||i(s,f,g)));if(E)return(x=l[E])&&x!==p.call(s).slice(8,-1)?!1:i(s,f,g);throw new Error("No type defined. Input: "+s+".")}function h(s,f,g){if(p.call(f).slice(8,-1)!=="Array")throw new Error("Types must be in an array. Input: "+s+".");return e(function(d){return c(s,d,g)},f)}qa.exports=function(s,f,g){return g==null&&(g={}),g.customTypes==null&&(g.customTypes={}),h(f,s,g)}}).call(this)),qa.exports}var md;function hd(){return md||(md=1,(function(){var a,e,n,o;a="0.4.0",e=z1(),n=H1(),o=function(t,l,p){return n(e(t),l,p)},ja.exports={VERSION:a,typeCheck:o,parsedTypeCheck:n,parseType:e}}).call(this)),ja.exports}var dd;function K1(){return dd||(dd=1,(function(){var a,e,n={}.toString;a=hd().parsedTypeCheck,e={"*":function(r,m){switch(n.call(r).slice(8,-1)){case"Array":return p(r,{type:"Array"},m);case"Object":return p(r,{type:"Object"},m);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"}],(m.explicit=!0,m))}}},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,m){var i;return(i=/^\#([\s\S]*)\#$/.exec(r))?{type:"Just",value:new Date(+i[1]||i[1])}:m.explicit?{type:"Nothing"}:{type:"Just",value:new Date(+r||r)}},RegExp:function(r,m){var i;return(i=/^\/([\s\S]*)\/([gimy]*)$/.exec(r))?{type:"Just",value:new RegExp(i[1],i[2])}:m.explicit?{type:"Nothing"}:{type:"Just",value:new RegExp(r)}},Array:function(r,m){return o(r,{of:[{type:"*"}]},m)},Object:function(r,m){return l(r,{of:{}},m)},String:function(r){var m,i;return n.call(r).slice(8,-1)!=="String"?{type:"Nothing"}:(m=function(c,h){return c.replace(/\\([^u]|u[0-9a-fA-F]{4})/g,function(s,f){switch(f[0]){case h:return h;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 f}})},(i=r.match(/^'([\s\S]*)'$/))?{type:"Just",value:m(i[1],"'")}:(i=r.match(/^"([\s\S]*)"$/))?{type:"Just",value:m(i[1],'"')}:{type:"Just",value:r})}};function o(r,m,i){var c,h;return n.call(r).slice(8,-1)!=="Array"?{type:"Nothing"}:(c=m.of,{type:"Just",value:function(){var s,f,g,d=[];for(s=0,g=(f=r).length;s<g;++s)h=f[s],d.push(u(h,c,i));return d}()})}function t(r,m,i){var c,h,s,f,g,d,E;if(n.call(r).slice(8,-1)!=="Array")return{type:"Nothing"};for(c=[],h=0,s=0,g=(f=m.of).length;s<g;++s)d=f[s],E=u(r[h],d,i),n.call(E).slice(8,-1)!=="Undefined"&&c.push(E),h++;return r.length<=h?{type:"Just",value:c}:{type:"Nothing"}}function l(r,m,i){var c,h,s;return n.call(r).slice(8,-1)!=="Object"?{type:"Nothing"}:(c=m.of,{type:"Just",value:function(){var f,g={};for(h in f=r)s=f[h],g[u(h,[{type:"String"}],i)]=u(s,c[h]||[{type:"*"}],i);return g}()})}function p(r,m,i){var c,h,s,f;if(c=m.type,h=m.structure,c){if(s=((f=i.customTypes[c])!=null?f.cast:void 0)||e[c],!s)throw new Error("Type not defined: "+c+".");return s(r,i,u)}else switch(h){case"array":return o(r,m,i);case"tuple":return t(r,m,i);case"fields":return l(r,m,i)}}function u(r,m,i){var c,h,s,f,g,d;for(c=0,h=m.length;c<h;++c)if(s=m[c],f=p(r,s,i),g=f.type,d=f.value,g!=="Nothing"&&a([s],d,{customTypes:i.customTypes}))return d;throw new Error("Value "+JSON.stringify(r)+" does not type check against "+JSON.stringify(m)+".")}Ma.exports=function(r,m,i){return!i.explicit&&m.length===1&&m[0].type==="String"?r:u(r,m,i)}}).call(this)),Ma.exports}var gd;function X1(){return gd||(gd=1,(function(){var a,e,n,o,t,l;a=G1(),e=K1(),n=hd().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)},l=function(p,u,r){return t(n(p),u,r)},Pa.exports={VERSION:o,parse:l,parsedTypeParse:t}}).call(this)),Pa.exports}var yd;function vd(){if(yd)return Dr;yd=1;var a=X1();const e=/^([a-z]+(?:-[a-z]+)*)(?:\s|$)/u,n=new Set([0,1,2,"off","warn","error"]);function o(g){const d=Array.isArray(g)?g[0]:g;return n.has(d)}function t(g){return Object.values(g).every(o)}class l{label="";value="";justification="";constructor(d,E,S){this.label=d,this.value=E,this.justification=S}}class p{parseStringConfig(d){const E={};return d.trim().replace(new RegExp("(?<!\\s)\\s*([:,])\\s*","gu"),"$1").split(/\s|,+/u).forEach(x=>{if(!x)return;const[T,C=null]=x.split(":");E[T]=C}),E}parseJSONLikeConfig(d){try{const S=a.parse("Object",d)||{};if(t(S))return{ok:!0,config:S}}catch{}const E=d.replace(new RegExp("(?<![-a-zA-Z0-9/])([-a-zA-Z0-9/]+):","gu"),'"$1":').replace(/(\]|[0-9])\s+(?=")/u,"$1,");try{return{ok:!0,config:JSON.parse(`{${E}}`)}}catch(S){const x=S instanceof Error?S.message:String(S);return{ok:!1,error:{message:`Failed to parse JSON from '${E}': ${x}`}}}}parseListConfig(d){const E={};return d.split(",").forEach(S=>{const x=S.trim().replace(/^(?<quote>['"]?)(?<ruleId>.*)\k<quote>$/su,"$<ruleId>");x&&(E[x]=!0)}),E}#e(d){const E=/\s-{2,}\s/u.exec(d);if(!E)return{directivePart:d.trim(),justificationPart:""};const S=d.slice(0,E.index).trim(),x=d.slice(E.index+E[0].length).trim();return{directivePart:S,justificationPart:x}}parseDirective(d){const{directivePart:E,justificationPart:S}=this.#e(d),x=e.exec(E);if(!x)return;const T=x[1],C=E.slice(x.index+T.length);return new l(T,C.trim(),S)}}function u(g){return"loc"in g}function r(g){return"position"in g}function m(g){return"range"in g}function i(g){return"position"in g}class c{type="visit";kind=1;target;phase;args;constructor({target:d,phase:E,args:S}){this.target=d,this.phase=E,this.args=S}}class h{type="call";kind=2;target;args;constructor({target:d,args:E}){this.target=d,this.args=E}}class s{type;node;value;justification;constructor({type:d,node:E,value:S,justification:x}){this.type=d,this.node=E,this.value=S,this.justification=x}}class f{#e;ast;text;constructor({text:d,ast:E,lineEndingPattern:S=/\r?\n/u}){this.ast=E,this.text=d,this.#e=d.split(S)}getLoc(d){if(u(d))return d.loc;if(r(d))return d.position;throw new Error("Custom getLoc() method must be implemented in the subclass.")}getRange(d){if(m(d))return d.range;if(i(d))return[d.position.start.offset,d.position.end.offset];throw new Error("Custom getRange() method must be implemented in the subclass.")}getParent(d){throw new Error("Not implemented.")}getAncestors(d){if(!d)throw new TypeError("Missing required argument: node.");const E=[];for(let S=this.getParent(d);S;S=this.getParent(S))E.push(S);return E.reverse()}getText(d,E,S){if(d){const x=this.getRange(d);return this.text.slice(Math.max(x[0]-(E||0),0),x[1]+(S||0))}return this.text}get lines(){return this.#e}traverse(){throw new Error("Not implemented.")}}return Dr.CallMethodStep=h,Dr.ConfigCommentParser=p,Dr.Directive=s,Dr.TextSourceCodeBase=f,Dr.VisitNodeStep=c,Dr}var Va,Ed;function J1(){if(Ed)return Va;Ed=1;const{isCommentToken:a}=qt(),e=L1(),n=Fn(),o=ra(),t=Gh(),{directivesPattern:l}=Hh(),p=j1(),{ConfigCommentParser:u,VisitNodeStep:r,CallMethodStep:m,Directive:i}=vd(),c=qn(),h=new u;function s(w){if(!w)throw new TypeError(`Unexpected empty AST. (${w})`);if(!w.tokens)throw new TypeError("AST is missing the tokens array.");if(!w.comments)throw new TypeError("AST is missing the comments array.");if(!w.loc)throw new TypeError("AST is missing location information.");if(!w.range)throw new TypeError("AST is missing range information")}function f(w){switch(w){case 3:return t.es3;case 5:return t.es5;default:return w<2015?t[`es${w+2009}`]:t[`es${w}`]}}function g(w){return w.type==="ExportDefaultDeclaration"||w.type==="ExportNamedDeclaration"||w.type==="ExportAllDeclaration"||w.type==="ExportSpecifier"}function d(w,k){const R=[];let F=0,L=0;for(;F<w.length||L<k.length;)L>=k.length||F<w.length&&w[F].range[0]<k[L].range[0]?R.push(w[F++]):R.push(k[L++]);return R}function E(w){switch(w){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(`'${w}' is not a valid configuration for a global (use 'readonly', 'writable', or 'off')`)}}function S(w,k){return w.range[0]<=k.range[0]&&w.range[1]>=k.range[0]||k.range[0]<=w.range[0]&&k.range[1]>=w.range[0]}function x(w,k,R,F){if(S(k,R))return!1;const[L,P]=k.range[1]<=R.range[0]?[k,R]:[R,k],O=w.getLastToken(L)||L,q=w.getFirstToken(P)||P;let N=O;for(;N!==q;){const _=w.getTokenAfter(N,{includeComments:!0});if(N.range[1]!==_.range[0]||F&&_!==q&&_.type==="JSXText"&&/\s/u.test(_.value))return!0;N=_}return!1}function T(w,k){let R=0,F=w.length;for(;R<F;){const L=(R+F)/2|0;k<w[L]?F=L:R=L+1}return R}function C(w,k={},R={}){for(const L of new Set([...Object.keys(k),...Object.keys(R)])){const P=k[L]===void 0?void 0:E(k[L]),q=R[L]&&R[L].value||P,N=R[L]&&R[L].comments;if(q==="off")continue;let _=w.set.get(L);_||(_=new c.Variable(L,w),w.variables.push(_),w.set.set(L,_)),_.eslintImplicitGlobalSetting=P,_.eslintExplicitGlobal=N!==void 0,_.eslintExplicitGlobalComments=N,_.writeable=q==="writable"}w.through=w.through.filter(L=>{const P=L.identifier.name,O=w.set.get(P);return O?(L.resolved=O,O.references.push(L),!1):!0});const{implicit:F}=w;typeof F=="object"&&F!==null&&(F.variables=F.variables.filter(L=>{const P=L.name;return w.set.has(P)?(F.set.delete(P),!1):!0}),F.left&&(F.left=F.left.filter(L=>!w.set.has(L.identifier.name))))}function v(w,k){Object.keys(k).forEach(R=>{const F=w.set.get(R);F&&(F.eslintUsed=!0,F.eslintExported=!0)})}const A=Symbol("caches");class b extends e{#e;constructor(k,R){let F,L,P,O,q,N;typeof k=="string"?(F=k,P=R,L=!1):typeof k=="object"&&k!==null&&(F=k.text,P=k.ast,L=k.hasBOM,O=k.parserServices,q=k.scopeManager,N=k.visitorKeys),s(P),super(P.tokens,P.comments),this[A]=new Map([["scopes",new WeakMap],["vars",new Map],["configNodes",void 0],["isGlobalReference",new WeakMap]]),this.isESTree=P.type==="Program";const _=F.charCodeAt(0)===65279;this.hasBOM=_||!!L,this.text=_?F.slice(1):F,this.ast=P,this.parserServices=O||{},this.scopeManager=q||null,this.visitorKeys=N||o.DEFAULT_VISITOR_KEYS;const G=this.text.match(n.shebangPattern);G&&P.comments.length&&P.comments[0].value===G[1]&&(P.comments[0].type="Shebang"),this.tokensAndComments=d(P.tokens,P.comments),this.lines=[],this.lineStartIndices=[0];const z=n.createGlobalLinebreakMatcher();let H;for(;H=z.exec(this.text);)this.lines.push(this.text.slice(this.lineStartIndices.at(-1),H.index)),this.lineStartIndices.push(H.index+H[0].length);this.lines.push(this.text.slice(this.lineStartIndices.at(-1))),Object.freeze(this),Object.freeze(this.lines)}static splitLines(k){return k.split(n.createGlobalLinebreakMatcher())}getText(k,R,F){return k?this.text.slice(Math.max(k.range[0]-(R||0),0),k.range[1]+(F||0)):this.text}getLines(){return this.lines}getAllComments(){return this.ast.comments}getJSDocComment(k){const R=L=>{const P=this.getTokenBefore(L,{includeComments:!0});return P&&a(P)&&P.type==="Block"&&P.value.charAt(0)==="*"&&L.loc.start.line-P.loc.end.line<=1?P:null};let F=k.parent;switch(k.type){case"ClassDeclaration":case"FunctionDeclaration":return R(g(F)?F:k);case"ClassExpression":return R(F.parent);case"ArrowFunctionExpression":case"FunctionExpression":if(F.type!=="CallExpression"&&F.type!=="NewExpression"){for(;!this.getCommentsBefore(F).length&&!/Function/u.test(F.type)&&F.type!=="MethodDefinition"&&F.type!=="Property"&&(F=F.parent,!!F););if(F&&F.type!=="FunctionDeclaration"&&F.type!=="Program")return R(F)}return R(k);default:return null}}getNodeByRangeIndex(k){let R=null;return o.traverse(this.ast,{visitorKeys:this.visitorKeys,enter(F){F.range[0]<=k&&k<F.range[1]?R=F:this.skip()},leave(F){F===R&&this.break()}}),R}isSpaceBetween(k,R){return x(this,k,R,!1)}isSpaceBetweenTokens(k,R){return x(this,k,R,!0)}getLocFromIndex(k){if(typeof k!="number")throw new TypeError("Expected `index` to be a number.");if(k<0||k>this.text.length)throw new RangeError(`Index out of range (requested index ${k}, but source text has length ${this.text.length}).`);if(k===this.text.length)return{line:this.lines.length,column:this.lines.at(-1).length};const R=k>=this.lineStartIndices.at(-1)?this.lineStartIndices.length:T(this.lineStartIndices,k);return{line:R,column:k-this.lineStartIndices[R-1]}}getIndexFromLoc(k){if(k===null||typeof k!="object"||typeof k.line!="number"||typeof k.column!="number")throw new TypeError("Expected `loc` to be an object with numeric `line` and `column` properties.");if(k.line<=0)throw new RangeError(`Line number out of range (line ${k.line} requested). Line numbers should be 1-based.`);if(k.line>this.lineStartIndices.length)throw new RangeError(`Line number out of range (line ${k.line} requested, but only ${this.lineStartIndices.length} lines present).`);if(k.column<0)throw new RangeError(`Invalid column number (column ${k.column} requested).`);const R=this.lineStartIndices[k.line-1],F=k.line===this.lineStartIndices.length?this.text.length:this.lineStartIndices[k.line],L=R+k.column;if(k.line===this.lineStartIndices.length&&L>F||k.line<this.lineStartIndices.length&&L>=F)throw new RangeError(`Column number out of range (column ${k.column} requested, but the length of line ${k.line} is ${F-R}).`);return L}getScope(k){if(!k)throw new TypeError("Missing required argument: node.");const R=this[A].get("scopes"),F=R.get(k);if(F)return F;const L=k.type!=="Program";for(let P=k;P;P=P.parent){const O=this.scopeManager.acquire(P,L);if(O)return O.type==="function-expression-name"?(R.set(k,O.childScopes[0]),O.childScopes[0]):(R.set(k,O),O)}return R.set(k,this.scopeManager.scopes[0]),this.scopeManager.scopes[0]}getDeclaredVariables(k){return this.scopeManager.getDeclaredVariables(k)}getAncestors(k){if(!k)throw new TypeError("Missing required argument: node.");const R=[];for(let F=k.parent;F;F=F.parent)R.push(F);return R.reverse()}isGlobalReference(k){if(!k)throw new TypeError("Missing required argument: node.");const R=this[A].get("isGlobalReference");if(R.has(k))return R.get(k);if(k.type!=="Identifier")return R.set(k,!1),!1;const F=this.scopeManager.scopes[0].set.get(k.name);if(!F||F.defs.length>0)return R.set(k,!1),!1;const L=F.references.some(({identifier:P})=>P===k);return R.set(k,L),L}getLoc(k){return k.loc}getRange(k){return k.range}markVariableAsUsed(k,R=this.ast){const F=this.getScope(R);let L=F;F.type==="global"&&F.childScopes.length>0&&F.childScopes[0].block===this.ast&&(L=F.childScopes[0]);for(let P=L;P;P=P.upper){const O=P.variables.find(q=>q.name===k);if(O)return O.eslintUsed=!0,!0}return!1}getInlineConfigNodes(){let k=this[A].get("configNodes");return k||(k=this.ast.comments.filter(R=>{if(R.type==="Shebang")return!1;const F=h.parseDirective(R.value);return!F||!l.test(F.label)?!1:R.type!=="Line"||!!/^eslint-disable-(?:next-)?line$/u.test(F.label)}),this[A].set("configNodes",k),k)}getDisableDirectives(){const k=this[A].get("disableDirectives");if(k)return k;const R=[],F=[];this.getInlineConfigNodes().forEach(P=>{const{label:O,value:q,justification:N}=h.parseDirective(P.value),_=/^eslint-disable-(?:next-)?line$/u.test(O);if(!(P.type==="Line"&&!_)){if(O==="eslint-disable-line"&&P.loc.start.line!==P.loc.end.line){const G=`${O} comment should not span multiple lines.`;R.push({ruleId:null,message:G,loc:P.loc});return}switch(O){case"eslint-disable":case"eslint-enable":case"eslint-disable-next-line":case"eslint-disable-line":{const G=O.slice(7);F.push(new i({type:G,node:P,value:q,justification:N}))}}}});const L={problems:R,directives:F};return this[A].set("disableDirectives",L),L}applyLanguageOptions(k){const R=Object.assign(Object.create(null),f(k.ecmaVersion),k.sourceType==="commonjs"?t.commonjs:void 0,k.globals);this[A].get("vars").set("configGlobals",R)}applyInlineConfig(){const k=[],R=[],F={},L=Object.create(null);this.getInlineConfigNodes().forEach(O=>{const{label:q,value:N}=h.parseDirective(O.value);switch(q){case"exported":Object.assign(F,h.parseListConfig(N));break;case"globals":case"global":for(const[_,G]of Object.entries(h.parseStringConfig(N))){let B;try{B=E(G)}catch(z){k.push({ruleId:null,loc:O.loc,message:z.message});continue}L[_]?(L[_].comments.push(O),L[_].value=B):L[_]={comments:[O],value:B}}break;case"eslint":{const _=h.parseJSONLikeConfig(N);_.ok?R.push({config:{rules:_.config},loc:O.loc}):k.push({ruleId:null,loc:O.loc,message:_.error.message});break}}});const P=this[A].get("vars");return P.set("inlineGlobals",L),P.set("exportedVariables",F),{configs:R,problems:k}}finalize(){const k=this[A].get("vars"),R=k.get("configGlobals"),F=k.get("inlineGlobals"),L=k.get("exportedVariables"),P=this.scopeManager.scopes[0];C(P,R,F),L&&v(P,L)}traverse(){if(this.#e)return this.#e;const k=this.#e=[];let R={enterNode(F){k.push(new r({target:F,phase:1,args:[F,F.parent]}))},leaveNode(F){k.push(new r({target:F,phase:2,args:[F,F.parent]}))},emit(F,L){k.push(new m({target:F,args:L}))}};return this.isESTree&&(R=new p(R)),o.traverse(this.ast,{enter(F,L){F.parent=L,R.enterNode(F)},leave(F){R.leaveNode(F)},visitorKeys:this.visitorKeys}),k}}return Va=b,Va}var $a,Sd;function bd(){return Sd||(Sd=1,$a={SourceCode:J1()}),$a}var Wa,xd;function Rn(){return xd||(xd=1,Wa=a=>{if(typeof a!="string")throw new TypeError("Expected a string");return a.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}),Wa}var Ga,Cd;function wd(){if(Cd)return Ga;Cd=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 l={...o,...t};for(const p of Object.keys(t))Object.prototype.propertyIsEnumerable.call(o,p)&&(l[p]=e(o[p],t[p]));return l}function n(o,t){return!o||!t?t||o||[]:[...o.map((l,p)=>e(l,p<t.length?t[p]:void 0)),...t.slice(o.length)]}return Ga={deepMergeArrays:n},Ga}var za,Ad;function Td(){if(Ad)return za;Ad=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 za={normalizeSeverityToString:a,normalizeSeverityToNumber:e},za}var Ha,kd;function Ka(){if(kd)return Ha;kd=1;const{normalizeSeverityToNumber:a}=Td(),e=new Map([[0,0],["off",0],[1,1],["warn",1],[2,2],["error",2]]);function n(L){return typeof L=="object"&&L!==null}function o(L){return n(L)&&!Array.isArray(L)}function t(L){return typeof L>"u"}function l(L,P,O=new Map){let q=O.get(L);if(q){const _=q.get(P);if(_)return _}else q=new Map,O.set(L,q);const N={...L,...P};delete N.__proto__,q.set(P,N);for(const _ of Object.keys(P)){if(_==="__proto__"||!Object.prototype.propertyIsEnumerable.call(L,_))continue;const G=L[_],B=P[_];o(G)&&o(B)?N[_]=l(G,B,O):t(B)&&(N[_]=G)}return N}function p(L){const P=Array.isArray(L)?L.slice(0):[L];return P[0]=e.get(P[0]),structuredClone(P)}function u(L){for(const P of Object.keys(L))if(typeof L[P]=="function")return!0;return!1}class r extends Error{constructor(P,O){super(`Key "${P}": Expected severity of "off", 0, "warn", 1, "error", or 2.`),this.messageTemplate="invalid-rule-options",this.messageData={ruleId:P,value:O}}}function m(L,P){if(typeof P!="string"&&typeof P!="number"&&!Array.isArray(P))throw new r(L,P)}class i extends Error{constructor(P,O){super(`Key "${P}": Expected severity of "off", 0, "warn", 1, "error", or 2.`),this.messageTemplate="invalid-rule-severity",this.messageData={ruleId:P,value:O}}}function c(L,P){if(typeof e.get(P)>"u")throw new i(L,P)}function h(L){if(!/[\w\-@$]+(?:\/[\w\-$]+)+$/iu.test(L))throw new TypeError(`Expected string in the form "pluginName/objectName" but found "${L}".`)}function s(L){if(!n(L))throw new TypeError("Expected an object.")}class f extends Error{constructor(P){super("This appears to be in eslintrc format rather than flat config format."),this.messageTemplate="eslintrc-incompat",this.messageData={key:P}}}class g extends Error{constructor(P){super("This appears to be in eslintrc format (array of strings) rather than flat config format (object)."),this.messageTemplate="eslintrc-plugins",this.messageData={plugins:P}}}const d={merge:"replace",validate:"boolean"},E=new Set(["error","warn","off",2,1,0]),S={merge(L,P){const O=P===void 0?L:P;return typeof O=="boolean"?O?"warn":"off":a(O)},validate(L){if(!(E.has(L)||typeof L=="boolean"))throw new TypeError('Expected one of: "error", "warn", "off", 0, 1, 2, or a boolean.')}},x={merge(L,P){return a(P===void 0?L:P)},validate(L){if(!E.has(L))throw new TypeError('Expected one of: "error", "warn", "off", 0, 1, or 2.')}},T={merge(L={},P={}){return l(L,P)},validate:"object"},C={merge(L={},P={}){const O=l(L,P);for(const[q,N]of Object.entries(O))if(o(N)){if(u(N)){O[q]=P[q]??L[q];continue}O[q]={...O[q]};continue}return O},validate:"object"},v={merge:"replace",validate:h},A={merge(L={},P={}){const O=new Set([...Object.keys(L),...Object.keys(P)]),q={};for(const N of O)if(N!=="__proto__"){if(N in L&&N in P&&L[N]!==P[N])throw new TypeError(`Cannot redefine plugin "${N}".`);q[N]=P[N]||L[N]}return q},validate(L){if(L===null||typeof L!="object")throw new TypeError("Expected an object.");if(Array.isArray(L))throw new g(L);for(const P of Object.keys(L))if(P!=="__proto__"&&(L[P]===null||typeof L[P]!="object"))throw new TypeError(`Key "${P}": Expected an object.`)}},b={merge:"replace",validate(L){if(typeof L=="string")h(L);else if(L&&typeof L=="object"){if(typeof L.preprocess!="function"||typeof L.postprocess!="function")throw new TypeError("Object must have a preprocess() and a postprocess() method.")}else throw new TypeError("Expected an object or a string.")}},w={merge(L={},P={}){const O={...L,...P};for(const q of Object.keys(O))try{if(q==="__proto__"){delete O.__proto__;continue}if(O[q]=p(O[q]),!(q in L)||!(q in P))continue;const N=p(L[q]),_=p(P[q]);if(_.length===1){O[q]=[_[0],...N.slice(1)];continue}}catch(N){throw new Error(`Key "${q}": ${N.message}`,{cause:N})}return O},validate(L){s(L);for(const P of Object.keys(L)){if(P==="__proto__")continue;const O=L[P];m(P,O),Array.isArray(O)?c(P,O[0]):c(P,O)}}};function k(L){return{merge:"replace",validate(){throw new f(L)}}}return Ha={flatConfigSchema:{...Object.fromEntries(["env","extends","globals","ignorePatterns","noInlineConfig","overrides","parser","parserOptions","reportUnusedDisableDirectives","root"].map(L=>[L,k(L)])),settings:T,linterOptions:{schema:{noInlineConfig:d,reportUnusedDisableDirectives:S,reportUnusedInlineConfigs:x}},language:v,languageOptions:C,processor:b,plugins:A,rules:w},hasMethod:u,assertIsRuleSeverity:c},Ha}var Xa={},It={},Dd;function Y1(){if(Dd)return It;Dd=1;function a(I){if(typeof I!="string")throw new TypeError(`Path must be a string, received "${JSON.stringify(I)}"`)}function e(I,W){if(W.length>=I.length)return I;const oe=I.length-W.length;for(let ie=W.length-1;ie>=0;--ie)if(I.charCodeAt(oe+ie)!==W.charCodeAt(ie))return I;return I.slice(0,-W.length)}function n(I,W,oe=0){let ie=!1,se=I.length;for(let de=I.length-1;de>=oe;--de)if(W(I.charCodeAt(de))){if(ie){oe=de+1;break}}else ie||(ie=!0,se=de+1);return I.slice(oe,se)}function o(I,W){if(a(I),I.length===0)return I;if(typeof W!="string")throw new TypeError(`Suffix must be a string, received "${JSON.stringify(W)}"`)}function t(I){if(I=I instanceof URL?I:new URL(I),I.protocol!=="file:")throw new TypeError(`URL must be a file URL: received "${I.protocol}"`);return I}function l(I){return I=t(I),decodeURIComponent(I.pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}function p(I,W){if(I.length<=1)return I;let oe=I.length;for(let ie=I.length-1;ie>0&&W(I.charCodeAt(ie));ie--)oe=ie;return I.slice(0,oe)}const u=46,r=47;function m(I){return I===r}function i(I,W=""){I instanceof URL&&(I=l(I)),o(I,W);const oe=n(I,m),ie=p(oe,m);return W?e(ie,W):ie}const c=":",h="/",s=/\/+/;function f(I){if(a(I),I.length===0)return"."}function g(I){I instanceof URL&&(I=l(I)),f(I);let W=-1,oe=!1;for(let ie=I.length-1;ie>=1;--ie)if(m(I.charCodeAt(ie))){if(oe){W=ie;break}}else oe=!0;return W===-1?m(I.charCodeAt(0))?"/":".":p(I.slice(0,W),m)}function d(I){I instanceof URL&&(I=l(I)),a(I);let W=-1,oe=0,ie=-1,se=!0,de=0;for(let be=I.length-1;be>=0;--be){const xe=I.charCodeAt(be);if(m(xe)){if(!se){oe=be+1;break}continue}ie===-1&&(se=!1,ie=be+1),xe===u?W===-1?W=be:de!==1&&(de=1):W!==-1&&(de=-1)}return W===-1||ie===-1||de===0||de===1&&W===ie-1&&W===oe+1?"":I.slice(W,ie)}function E(I,W){const oe=W.dir||W.root,ie=W.base||(W.name??"")+(W.ext??"");return oe?ie===I?oe:oe===W.root?oe+ie:oe+I+ie:ie}function S(I){if(I===null||typeof I!="object")throw new TypeError(`The "pathObject" argument must be of type Object, received type "${typeof I}"`)}function x(I){return S(I),E("/",I)}function T(I){return a(I),I.length>0&&m(I.charCodeAt(0))}function C(I){if(a(I),I.length===0)return"."}function v(I,W,oe,ie){let se="",de=0,be=-1,xe=0,Te;for(let J=0;J<=I.length;++J){if(J<I.length)Te=I.charCodeAt(J);else{if(ie(Te))break;Te=r}if(ie(Te)){if(!(be===J-1||xe===1))if(be!==J-1&&xe===2){if(se.length<2||de!==2||se.charCodeAt(se.length-1)!==u||se.charCodeAt(se.length-2)!==u){if(se.length>2){const Q=se.lastIndexOf(oe);Q===-1?(se="",de=0):(se=se.slice(0,Q),de=se.length-1-se.lastIndexOf(oe)),be=J,xe=0;continue}else if(se.length===2||se.length===1){se="",de=0,be=J,xe=0;continue}}W&&(se.length>0?se+=`${oe}..`:se="..",de=2)}else se.length>0?se+=oe+I.slice(be+1,J):se=I.slice(be+1,J),de=J-be-1;be=J,xe=0}else Te===u&&xe!==-1?++xe:xe=-1}return se}function A(I){I instanceof URL&&(I=l(I)),C(I);const W=m(I.charCodeAt(0)),oe=m(I.charCodeAt(I.length-1));return I=v(I,!W,"/",m),I.length===0&&!W&&(I="."),I.length>0&&oe&&(I+="/"),W?`/${I}`:I}function b(I,...W){if(I===void 0)return".";I instanceof URL&&(I=l(I)),W=I?[I,...W]:W,W.forEach(ie=>a(ie));const oe=W.filter(ie=>ie.length>0).join("/");return oe===""?".":A(oe)}function w(I){a(I);const W={root:"",dir:"",base:"",ext:"",name:""};if(I.length===0)return W;const oe=m(I.charCodeAt(0));let ie;oe?(W.root="/",ie=1):ie=0;let se=-1,de=0,be=-1,xe=!0,Te=I.length-1,J=0;for(;Te>=ie;--Te){const Q=I.charCodeAt(Te);if(m(Q)){if(!xe){de=Te+1;break}continue}be===-1&&(xe=!1,be=Te+1),Q===u?se===-1?se=Te:J!==1&&(J=1):se!==-1&&(J=-1)}return se===-1||be===-1||J===0||J===1&&se===be-1&&se===de+1?(be!==-1&&(de===0&&oe?W.base=W.name=I.slice(1,be):W.base=W.name=I.slice(de,be)),W.base=W.base||"/"):(de===0&&oe?(W.name=I.slice(1,se),W.base=I.slice(1,be)):(W.name=I.slice(de,se),W.base=I.slice(de,be)),W.ext=I.slice(se,be)),de>0?W.dir=p(I.slice(0,de-1),m):oe&&(W.dir="/"),W}function k(...I){let W="",oe=!1;for(let ie=I.length-1;ie>=-1&&!oe;ie--){let se;if(ie>=0)se=I[ie];else{const{Deno:de}=globalThis;if(typeof de?.cwd!="function")throw new TypeError("Resolved a relative path without a current working directory (CWD)");se=de.cwd()}a(se),se.length!==0&&(W=`${se}/${W}`,oe=m(se.charCodeAt(0)))}return W=v(W,!oe,"/",m),oe?W.length>0?`/${W}`:"/":W.length>0?W:"."}function R(I,W){if(a(I),a(W),I===W)return""}function F(I,W){if(R(I,W),I=k(I),W=k(W),I===W)return"";let oe=1;const ie=I.length;for(;oe<ie&&m(I.charCodeAt(oe));++oe);const se=ie-oe;let de=1;const be=W.length;for(;de<be&&m(W.charCodeAt(de));++de);const xe=be-de,Te=se<xe?se:xe;let J=-1,Q=0;for(;Q<=Te;++Q){if(Q===Te){if(xe>Te){if(m(W.charCodeAt(de+Q)))return W.slice(de+Q+1);if(Q===0)return W.slice(de+Q)}else se>Te&&(m(I.charCodeAt(oe+Q))?J=Q:Q===0&&(J=0));break}const $=I.charCodeAt(oe+Q),ae=W.charCodeAt(de+Q);if($!==ae)break;m($)&&(J=Q)}let ke="";for(Q=oe+J+1;Q<=ie;++Q)(Q===ie||m(I.charCodeAt(Q)))&&(ke.length===0?ke+="..":ke+="/..");return ke.length>0?ke+W.slice(de+J):(de+=J,m(W.charCodeAt(de))&&++de,W.slice(de))}const L={" ":"%09","\n":"%0A","\v":"%0B","\f":"%0C","\r":"%0D"," ":"%20"};function P(I){return I.replaceAll(/[\s]/g,W=>L[W]??W)}function O(I){if(!T(I))throw new TypeError(`Path must be absolute: received "${I}"`);const W=new URL("file:///");return W.pathname=P(I.replace(/%/g,"%25").replace(/\\/g,"%5C")),W}function q(I){return I}function N(I,W){const[oe="",...ie]=I,se=oe.split(W);let de=se.length,be="";for(const xe of ie){const Te=xe.split(W);Te.length<=de&&(de=Te.length,be="");for(let J=0;J<de;J++)if(Te[J]!==se[J]){de=J,be=J===0?"":W;break}}return se.slice(0,de).join(W)+be}function _(I){return N(I,h)}const G=["!","$","(",")","*","+",".","=","?","[","\\","^","{","|"],B=["-","\\","]"];function z(I,W,{extended:oe=!0,globstar:ie=!0,caseInsensitive:se=!1}={}){if(W==="")return/(?!)/;let de=W.length;for(;de>1&&I.seps.includes(W[de-1]);de--);W=W.slice(0,de);let be="";for(let xe=0;xe<W.length;){let Te="";const J=[];let Q=!1,ke=!1,$=!1,ae=xe;for(;ae<W.length&&!I.seps.includes(W[ae]);ae++){if(ke){ke=!1,Te+=(Q?B:G).includes(W[ae])?`\\${W[ae]}`:W[ae];continue}if(W[ae]===I.escapePrefix){ke=!0;continue}if(W[ae]==="[")if(Q){if(W[ae+1]===":"){let Ie=ae+1,Ne="";for(;W[Ie+1]!==void 0&&W[Ie+1]!==":";)Ne+=W[Ie+1],Ie++;if(W[Ie+1]===":"&&W[Ie+2]==="]"){ae=Ie+2,Ne==="alnum"?Te+="\\dA-Za-z":Ne==="alpha"?Te+="A-Za-z":Ne==="ascii"?Te+="\0-":Ne==="blank"?Te+=" ":Ne==="cntrl"?Te+="\0-":Ne==="digit"?Te+="\\d":Ne==="graph"?Te+="!-~":Ne==="lower"?Te+="a-z":Ne==="print"?Te+=" -~":Ne==="punct"?Te+=`!"#$%&'()*+,\\-./:;<=>?@[\\\\\\]^_‘{|}~`:Ne==="space"?Te+="\\s\v":Ne==="upper"?Te+="A-Z":Ne==="word"?Te+="\\w":Ne==="xdigit"&&(Te+="\\dA-Fa-f");continue}}}else{Q=!0,Te+="[",W[ae+1]==="!"?(ae++,Te+="^"):W[ae+1]==="^"&&(ae++,Te+="\\^");continue}if(W[ae]==="]"&&Q){Q=!1,Te+="]";continue}if(Q){Te+=W[ae];continue}if(W[ae]===")"&&J.length>0&&J[J.length-1]!=="BRACE"){Te+=")";const Ie=J.pop();Ie==="!"?Te+=I.wildcard:Ie!=="@"&&(Te+=Ie);continue}if(W[ae]==="|"&&J.length>0&&J[J.length-1]!=="BRACE"){Te+="|";continue}if(W[ae]==="+"&&oe&&W[ae+1]==="("){ae++,J.push("+"),Te+="(?:";continue}if(W[ae]==="@"&&oe&&W[ae+1]==="("){ae++,J.push("@"),Te+="(?:";continue}if(W[ae]==="?"){oe&&W[ae+1]==="("?(ae++,J.push("?"),Te+="(?:"):Te+=".";continue}if(W[ae]==="!"&&oe&&W[ae+1]==="("){ae++,J.push("!"),Te+="(?!";continue}if(W[ae]==="{"){J.push("BRACE"),Te+="(?:";continue}if(W[ae]==="}"&&J[J.length-1]==="BRACE"){J.pop(),Te+=")";continue}if(W[ae]===","&&J[J.length-1]==="BRACE"){Te+="|";continue}if(W[ae]==="*"){if(oe&&W[ae+1]==="(")ae++,J.push("*"),Te+="(?:";else{const Ie=W[ae-1];let Ne=1;for(;W[ae+1]==="*";)ae++,Ne++;const Be=W[ae+1];ie&&Ne===2&&[...I.seps,void 0].includes(Ie)&&[...I.seps,void 0].includes(Be)?(Te+=I.globstar,$=!0):Te+=I.wildcard}continue}Te+=G.includes(W[ae])?`\\${W[ae]}`:W[ae]}if(J.length>0||Q||ke){Te="";for(const Ie of W.slice(xe,ae))Te+=G.includes(Ie)?`\\${Ie}`:Ie,$=!1}for(be+=Te,$||(be+=ae<W.length?I.sep:I.sepMaybe,$=!0);I.seps.includes(W[ae]);)ae++;xe=ae}return be=`^${be}$`,new RegExp(be,se?"i":"")}const H={sep:"/+",sepMaybe:"/*",seps:["/"],globstar:"(?:[^/]*(?:/|$)+)*",wildcard:"[^/]*",escapePrefix:"\\"};function ce(I,W={}){return z(H,I,W)}function re(I){const W={"{":"}","(":")","[":"]"},oe=/\\(.)|(^!|\*|\?|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/;if(I==="")return!1;let ie;for(;ie=oe.exec(I);){if(ie[2])return!0;let se=ie.index+ie[0].length;const de=ie[1],be=de?W[de]:null;if(de&&be){const xe=I.indexOf(be,se);xe!==-1&&(se=xe+1)}I=I.slice(se)}return!1}function Fe(I,W={}){const{globstar:oe=!1}=W;if(I.match(/\0/g))throw new Error(`Glob contains invalid characters: "${I}"`);if(!oe)return A(I);const ie=s.source,se=new RegExp(`(?<=(${ie}|^)\\*\\*${ie})\\.\\.(?=${ie}|$)`,"g");return A(I.replace(se,"\0")).replace(/\0/g,"..")}function X(I,W={}){const{globstar:oe=!1}=W;if(!oe||I.length===0)return b(...I);let ie;for(const se of I){const de=se;de.length>0&&(ie?ie+=`${h}${de}`:ie=de)}return ie?Fe(ie,{globstar:oe}):"."}return It.DELIMITER=c,It.SEPARATOR=h,It.SEPARATOR_PATTERN=s,It.basename=i,It.common=_,It.dirname=g,It.extname=d,It.format=x,It.fromFileUrl=l,It.globToRegExp=ce,It.isAbsolute=T,It.isGlob=re,It.join=b,It.joinGlobs=X,It.normalize=A,It.normalizeGlob=Fe,It.parse=w,It.relative=F,It.resolve=k,It.toFileUrl=O,It.toNamespacedPath=q,It}var Pt={},Id;function Q1(){if(Id)return Pt;Id=1;function a(J){if(typeof J!="string")throw new TypeError(`Path must be a string, received "${JSON.stringify(J)}"`)}function e(J,Q){if(Q.length>=J.length)return J;const ke=J.length-Q.length;for(let $=Q.length-1;$>=0;--$)if(J.charCodeAt(ke+$)!==Q.charCodeAt($))return J;return J.slice(0,-Q.length)}function n(J,Q,ke=0){let $=!1,ae=J.length;for(let Ie=J.length-1;Ie>=ke;--Ie)if(Q(J.charCodeAt(Ie))){if($){ke=Ie+1;break}}else $||($=!0,ae=Ie+1);return J.slice(ke,ae)}function o(J,Q){if(a(J),J.length===0)return J;if(typeof Q!="string")throw new TypeError(`Suffix must be a string, received "${JSON.stringify(Q)}"`)}const t=65,l=97,p=90,u=122,r=46,m=47,i=92,c=58,h=63;function s(J,Q){if(J.length<=1)return J;let ke=J.length;for(let $=J.length-1;$>0&&Q(J.charCodeAt($));$--)ke=$;return J.slice(0,ke)}function f(J){return J===m}function g(J){return J===m||J===i}function d(J){return J>=l&&J<=u||J>=t&&J<=p}function E(J){if(J=J instanceof URL?J:new URL(J),J.protocol!=="file:")throw new TypeError(`URL must be a file URL: received "${J.protocol}"`);return J}function S(J){J=E(J);let Q=decodeURIComponent(J.pathname.replace(/\//g,"\\").replace(/%(?![0-9A-Fa-f]{2})/g,"%25")).replace(/^\\*([A-Za-z]:)(\\|$)/,"$1\\");return J.hostname!==""&&(Q=`\\\\${J.hostname}${Q}`),Q}function x(J,Q=""){J instanceof URL&&(J=S(J)),o(J,Q);let ke=0;if(J.length>=2){const Ie=J.charCodeAt(0);d(Ie)&&J.charCodeAt(1)===c&&(ke=2)}const $=n(J,g,ke),ae=s($,g);return Q?e(ae,Q):ae}const T=";",C="\\",v=/[\\/]+/;function A(J){if(a(J),J.length===0)return"."}function b(J){J instanceof URL&&(J=S(J)),A(J);const Q=J.length;let ke=-1,$=-1,ae=!0,Ie=0;const Ne=J.charCodeAt(0);if(Q>1)if(g(Ne)){if(ke=Ie=1,g(J.charCodeAt(1))){let Be=2,j=Be;for(;Be<Q&&!g(J.charCodeAt(Be));++Be);if(Be<Q&&Be!==j){for(j=Be;Be<Q&&g(J.charCodeAt(Be));++Be);if(Be<Q&&Be!==j){for(j=Be;Be<Q&&!g(J.charCodeAt(Be));++Be);if(Be===Q)return J;Be!==j&&(ke=Ie=Be+1)}}}}else d(Ne)&&J.charCodeAt(1)===c&&(ke=Ie=2,Q>2&&g(J.charCodeAt(2))&&(ke=Ie=3));else if(g(Ne))return J;for(let Be=Q-1;Be>=Ie;--Be)if(g(J.charCodeAt(Be))){if(!ae){$=Be;break}}else ae=!1;if($===-1){if(ke===-1)return".";$=ke}return s(J.slice(0,$),f)}function w(J){J instanceof URL&&(J=S(J)),a(J);let Q=0,ke=-1,$=0,ae=-1,Ie=!0,Ne=0;J.length>=2&&J.charCodeAt(1)===c&&d(J.charCodeAt(0))&&(Q=$=2);for(let Be=J.length-1;Be>=Q;--Be){const j=J.charCodeAt(Be);if(g(j)){if(!Ie){$=Be+1;break}continue}ae===-1&&(Ie=!1,ae=Be+1),j===r?ke===-1?ke=Be:Ne!==1&&(Ne=1):ke!==-1&&(Ne=-1)}return ke===-1||ae===-1||Ne===0||Ne===1&&ke===ae-1&&ke===$+1?"":J.slice(ke,ae)}function k(J,Q){const ke=Q.dir||Q.root,$=Q.base||(Q.name??"")+(Q.ext??"");return ke?$===J?ke:ke===Q.root?ke+$:ke+J+$:$}function R(J){if(J===null||typeof J!="object")throw new TypeError(`The "pathObject" argument must be of type Object, received type "${typeof J}"`)}function F(J){return R(J),k("\\",J)}function L(J){a(J);const Q=J.length;if(Q===0)return!1;const ke=J.charCodeAt(0);return g(ke)?!0:!!(d(ke)&&Q>2&&J.charCodeAt(1)===c&&g(J.charCodeAt(2)))}function P(J){if(a(J),J.length===0)return"."}function O(J,Q,ke,$){let ae="",Ie=0,Ne=-1,Be=0,j;for(let Qe=0;Qe<=J.length;++Qe){if(Qe<J.length)j=J.charCodeAt(Qe);else{if($(j))break;j=m}if($(j)){if(!(Ne===Qe-1||Be===1))if(Ne!==Qe-1&&Be===2){if(ae.length<2||Ie!==2||ae.charCodeAt(ae.length-1)!==r||ae.charCodeAt(ae.length-2)!==r){if(ae.length>2){const ut=ae.lastIndexOf(ke);ut===-1?(ae="",Ie=0):(ae=ae.slice(0,ut),Ie=ae.length-1-ae.lastIndexOf(ke)),Ne=Qe,Be=0;continue}else if(ae.length===2||ae.length===1){ae="",Ie=0,Ne=Qe,Be=0;continue}}Q&&(ae.length>0?ae+=`${ke}..`:ae="..",Ie=2)}else ae.length>0?ae+=ke+J.slice(Ne+1,Qe):ae=J.slice(Ne+1,Qe),Ie=Qe-Ne-1;Ne=Qe,Be=0}else j===r&&Be!==-1?++Be:Be=-1}return ae}function q(J){J instanceof URL&&(J=S(J)),P(J);const Q=J.length;let ke=0,$,ae=!1;const Ie=J.charCodeAt(0);if(Q>1)if(g(Ie))if(ae=!0,g(J.charCodeAt(1))){let Be=2,j=Be;for(;Be<Q&&!g(J.charCodeAt(Be));++Be);if(Be<Q&&Be!==j){const Qe=J.slice(j,Be);for(j=Be;Be<Q&&g(J.charCodeAt(Be));++Be);if(Be<Q&&Be!==j){for(j=Be;Be<Q&&!g(J.charCodeAt(Be));++Be);if(Be===Q)return`\\\\${Qe}\\${J.slice(j)}\\`;Be!==j&&($=`\\\\${Qe}\\${J.slice(j,Be)}`,ke=Be)}}}else ke=1;else d(Ie)&&J.charCodeAt(1)===c&&($=J.slice(0,2),ke=2,Q>2&&g(J.charCodeAt(2))&&(ae=!0,ke=3));else if(g(Ie))return"\\";let Ne;return ke<Q?Ne=O(J.slice(ke),!ae,"\\",g):Ne="",Ne.length===0&&!ae&&(Ne="."),Ne.length>0&&g(J.charCodeAt(Q-1))&&(Ne+="\\"),$===void 0?ae?Ne.length>0?`\\${Ne}`:"\\":Ne:ae?Ne.length>0?`${$}\\${Ne}`:`${$}\\`:$+Ne}function N(J,...Q){if(J instanceof URL&&(J=S(J)),Q=J?[J,...Q]:Q,Q.forEach(Ne=>a(Ne)),Q=Q.filter(Ne=>Ne.length>0),Q.length===0)return".";let ke=!0,$=0;const ae=Q[0];if(g(ae.charCodeAt(0))){++$;const Ne=ae.length;Ne>1&&g(ae.charCodeAt(1))&&(++$,Ne>2&&(g(ae.charCodeAt(2))?++$:ke=!1))}let Ie=Q.join("\\");if(ke){for(;$<Ie.length&&g(Ie.charCodeAt($));++$);$>=2&&(Ie=`\\${Ie.slice($)}`)}return q(Ie)}function _(J){a(J);const Q={root:"",dir:"",base:"",ext:"",name:""},ke=J.length;if(ke===0)return Q;let $=0,ae=J.charCodeAt(0);if(ke>1){if(g(ae)){if($=1,g(J.charCodeAt(1))){let rt=2,ze=rt;for(;rt<ke&&!g(J.charCodeAt(rt));++rt);if(rt<ke&&rt!==ze){for(ze=rt;rt<ke&&g(J.charCodeAt(rt));++rt);if(rt<ke&&rt!==ze){for(ze=rt;rt<ke&&!g(J.charCodeAt(rt));++rt);rt===ke?$=rt:rt!==ze&&($=rt+1)}}}}else if(d(ae)&&J.charCodeAt(1)===c)if($=2,ke>2){if(g(J.charCodeAt(2))){if(ke===3)return Q.root=Q.dir=J,Q.base="\\",Q;$=3}}else return Q.root=Q.dir=J,Q}else if(g(ae))return Q.root=Q.dir=J,Q.base="\\",Q;$>0&&(Q.root=J.slice(0,$));let Ie=-1,Ne=$,Be=-1,j=!0,Qe=J.length-1,ut=0;for(;Qe>=$;--Qe){if(ae=J.charCodeAt(Qe),g(ae)){if(!j){Ne=Qe+1;break}continue}Be===-1&&(j=!1,Be=Qe+1),ae===r?Ie===-1?Ie=Qe:ut!==1&&(ut=1):Ie!==-1&&(ut=-1)}return Ie===-1||Be===-1||ut===0||ut===1&&Ie===Be-1&&Ie===Ne+1?Be!==-1&&(Q.base=Q.name=J.slice(Ne,Be)):(Q.name=J.slice(Ne,Ie),Q.base=J.slice(Ne,Be),Q.ext=J.slice(Ie,Be)),Q.base=Q.base||"\\",Ne>0&&Ne!==$?Q.dir=J.slice(0,Ne-1):Q.dir=Q.root,Q}function G(...J){let Q="",ke="",$=!1;for(let ae=J.length-1;ae>=-1;ae--){let Ie;const{Deno:Ne}=globalThis;if(ae>=0)Ie=J[ae];else if(Q){if(typeof Ne?.env?.get!="function"||typeof Ne?.cwd!="function")throw new TypeError("Resolved a relative path without a current working directory (CWD)");Ie=Ne.cwd(),(Ie===void 0||Ie.slice(0,3).toLowerCase()!==`${Q.toLowerCase()}\\`)&&(Ie=`${Q}\\`)}else{if(typeof Ne?.cwd!="function")throw new TypeError("Resolved a drive-letter-less path without a current working directory (CWD)");Ie=Ne.cwd()}a(Ie);const Be=Ie.length;if(Be===0)continue;let j=0,Qe="",ut=!1;const rt=Ie.charCodeAt(0);if(Be>1)if(g(rt))if(ut=!0,g(Ie.charCodeAt(1))){let ze=2,Xe=ze;for(;ze<Be&&!g(Ie.charCodeAt(ze));++ze);if(ze<Be&&ze!==Xe){const ht=Ie.slice(Xe,ze);for(Xe=ze;ze<Be&&g(Ie.charCodeAt(ze));++ze);if(ze<Be&&ze!==Xe){for(Xe=ze;ze<Be&&!g(Ie.charCodeAt(ze));++ze);ze===Be?(Qe=`\\\\${ht}\\${Ie.slice(Xe)}`,j=ze):ze!==Xe&&(Qe=`\\\\${ht}\\${Ie.slice(Xe,ze)}`,j=ze)}}}else j=1;else d(rt)&&Ie.charCodeAt(1)===c&&(Qe=Ie.slice(0,2),j=2,Be>2&&g(Ie.charCodeAt(2))&&(ut=!0,j=3));else g(rt)&&(j=1,ut=!0);if(!(Qe.length>0&&Q.length>0&&Qe.toLowerCase()!==Q.toLowerCase())&&(Q.length===0&&Qe.length>0&&(Q=Qe),$||(ke=`${Ie.slice(j)}\\${ke}`,$=ut),$&&Q.length>0))break}return ke=O(ke,!$,"\\",g),Q+($?"\\":"")+ke||"."}function B(J,Q){if(a(J),a(Q),J===Q)return""}function z(J,Q){B(J,Q);const ke=G(J),$=G(Q);if(ke===$||(J=ke.toLowerCase(),Q=$.toLowerCase(),J===Q))return"";let ae=0,Ie=J.length;for(;ae<Ie&&J.charCodeAt(ae)===i;++ae);for(;Ie-1>ae&&J.charCodeAt(Ie-1)===i;--Ie);const Ne=Ie-ae;let Be=0,j=Q.length;for(;Be<j&&Q.charCodeAt(Be)===i;++Be);for(;j-1>Be&&Q.charCodeAt(j-1)===i;--j);const Qe=j-Be,ut=Ne<Qe?Ne:Qe;let rt=-1,ze=0;for(;ze<=ut;++ze){if(ze===ut){if(Qe>ut){if(Q.charCodeAt(Be+ze)===i)return $.slice(Be+ze+1);if(ze===2)return $.slice(Be+ze)}Ne>ut&&(J.charCodeAt(ae+ze)===i?rt=ze:ze===2&&(rt=3));break}const ht=J.charCodeAt(ae+ze),dt=Q.charCodeAt(Be+ze);if(ht!==dt)break;ht===i&&(rt=ze)}if(ze!==ut&&rt===-1)return $;let Xe="";for(rt===-1&&(rt=0),ze=ae+rt+1;ze<=Ie;++ze)(ze===Ie||J.charCodeAt(ze)===i)&&(Xe.length===0?Xe+="..":Xe+="\\..");return Xe.length>0?Xe+$.slice(Be+rt,j):(Be+=rt,$.charCodeAt(Be)===i&&++Be,$.slice(Be,j))}const H={" ":"%09","\n":"%0A","\v":"%0B","\f":"%0C","\r":"%0D"," ":"%20"};function ce(J){return J.replaceAll(/[\s]/g,Q=>H[Q]??Q)}function re(J){if(!L(J))throw new TypeError(`Path must be absolute: received "${J}"`);const[,Q,ke]=J.match(/^(?:[/\\]{2}([^/\\]+)(?=[/\\](?:[^/\\]|$)))?(.*)/),$=new URL("file:///");if($.pathname=ce(ke.replace(/%/g,"%25")),Q!==void 0&&Q!=="localhost"&&($.hostname=Q,!$.hostname))throw new TypeError(`Invalid hostname: "${$.hostname}"`);return $}function Fe(J){if(typeof J!="string")return J;if(J.length===0)return"";const Q=G(J);if(Q.length>=3){if(Q.charCodeAt(0)===i){if(Q.charCodeAt(1)===i){const ke=Q.charCodeAt(2);if(ke!==h&&ke!==r)return`\\\\?\\UNC\\${Q.slice(2)}`}}else if(d(Q.charCodeAt(0))&&Q.charCodeAt(1)===c&&Q.charCodeAt(2)===i)return`\\\\?\\${Q}`}return J}function X(J,Q){const[ke="",...$]=J,ae=ke.split(Q);let Ie=ae.length,Ne="";for(const Be of $){const j=Be.split(Q);j.length<=Ie&&(Ie=j.length,Ne="");for(let Qe=0;Qe<Ie;Qe++)if(j[Qe]!==ae[Qe]){Ie=Qe,Ne=Qe===0?"":Q;break}}return ae.slice(0,Ie).join(Q)+Ne}function I(J){return X(J,C)}const W=["!","$","(",")","*","+",".","=","?","[","\\","^","{","|"],oe=["-","\\","]"];function ie(J,Q,{extended:ke=!0,globstar:$=!0,caseInsensitive:ae=!1}={}){if(Q==="")return/(?!)/;let Ie=Q.length;for(;Ie>1&&J.seps.includes(Q[Ie-1]);Ie--);Q=Q.slice(0,Ie);let Ne="";for(let Be=0;Be<Q.length;){let j="";const Qe=[];let ut=!1,rt=!1,ze=!1,Xe=Be;for(;Xe<Q.length&&!J.seps.includes(Q[Xe]);Xe++){if(rt){rt=!1,j+=(ut?oe:W).includes(Q[Xe])?`\\${Q[Xe]}`:Q[Xe];continue}if(Q[Xe]===J.escapePrefix){rt=!0;continue}if(Q[Xe]==="[")if(ut){if(Q[Xe+1]===":"){let ht=Xe+1,dt="";for(;Q[ht+1]!==void 0&&Q[ht+1]!==":";)dt+=Q[ht+1],ht++;if(Q[ht+1]===":"&&Q[ht+2]==="]"){Xe=ht+2,dt==="alnum"?j+="\\dA-Za-z":dt==="alpha"?j+="A-Za-z":dt==="ascii"?j+="\0-":dt==="blank"?j+=" ":dt==="cntrl"?j+="\0-":dt==="digit"?j+="\\d":dt==="graph"?j+="!-~":dt==="lower"?j+="a-z":dt==="print"?j+=" -~":dt==="punct"?j+=`!"#$%&'()*+,\\-./:;<=>?@[\\\\\\]^_‘{|}~`:dt==="space"?j+="\\s\v":dt==="upper"?j+="A-Z":dt==="word"?j+="\\w":dt==="xdigit"&&(j+="\\dA-Fa-f");continue}}}else{ut=!0,j+="[",Q[Xe+1]==="!"?(Xe++,j+="^"):Q[Xe+1]==="^"&&(Xe++,j+="\\^");continue}if(Q[Xe]==="]"&&ut){ut=!1,j+="]";continue}if(ut){j+=Q[Xe];continue}if(Q[Xe]===")"&&Qe.length>0&&Qe[Qe.length-1]!=="BRACE"){j+=")";const ht=Qe.pop();ht==="!"?j+=J.wildcard:ht!=="@"&&(j+=ht);continue}if(Q[Xe]==="|"&&Qe.length>0&&Qe[Qe.length-1]!=="BRACE"){j+="|";continue}if(Q[Xe]==="+"&&ke&&Q[Xe+1]==="("){Xe++,Qe.push("+"),j+="(?:";continue}if(Q[Xe]==="@"&&ke&&Q[Xe+1]==="("){Xe++,Qe.push("@"),j+="(?:";continue}if(Q[Xe]==="?"){ke&&Q[Xe+1]==="("?(Xe++,Qe.push("?"),j+="(?:"):j+=".";continue}if(Q[Xe]==="!"&&ke&&Q[Xe+1]==="("){Xe++,Qe.push("!"),j+="(?!";continue}if(Q[Xe]==="{"){Qe.push("BRACE"),j+="(?:";continue}if(Q[Xe]==="}"&&Qe[Qe.length-1]==="BRACE"){Qe.pop(),j+=")";continue}if(Q[Xe]===","&&Qe[Qe.length-1]==="BRACE"){j+="|";continue}if(Q[Xe]==="*"){if(ke&&Q[Xe+1]==="(")Xe++,Qe.push("*"),j+="(?:";else{const ht=Q[Xe-1];let dt=1;for(;Q[Xe+1]==="*";)Xe++,dt++;const at=Q[Xe+1];$&&dt===2&&[...J.seps,void 0].includes(ht)&&[...J.seps,void 0].includes(at)?(j+=J.globstar,ze=!0):j+=J.wildcard}continue}j+=W.includes(Q[Xe])?`\\${Q[Xe]}`:Q[Xe]}if(Qe.length>0||ut||rt){j="";for(const ht of Q.slice(Be,Xe))j+=W.includes(ht)?`\\${ht}`:ht,ze=!1}for(Ne+=j,ze||(Ne+=Xe<Q.length?J.sep:J.sepMaybe,ze=!0);J.seps.includes(Q[Xe]);)Xe++;Be=Xe}return Ne=`^${Ne}$`,new RegExp(Ne,ae?"i":"")}const se={sep:"(?:\\\\|/)+",sepMaybe:"(?:\\\\|/)*",seps:["\\","/"],globstar:"(?:[^\\\\/]*(?:\\\\|/|$)+)*",wildcard:"[^\\\\/]*",escapePrefix:"`"};function de(J,Q={}){return ie(se,J,Q)}function be(J){const Q={"{":"}","(":")","[":"]"},ke=/\\(.)|(^!|\*|\?|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/;if(J==="")return!1;let $;for(;$=ke.exec(J);){if($[2])return!0;let ae=$.index+$[0].length;const Ie=$[1],Ne=Ie?Q[Ie]:null;if(Ie&&Ne){const Be=J.indexOf(Ne,ae);Be!==-1&&(ae=Be+1)}J=J.slice(ae)}return!1}function xe(J,Q={}){const{globstar:ke=!1}=Q;if(J.match(/\0/g))throw new Error(`Glob contains invalid characters: "${J}"`);if(!ke)return q(J);const $=v.source,ae=new RegExp(`(?<=(${$}|^)\\*\\*${$})\\.\\.(?=${$}|$)`,"g");return q(J.replace(ae,"\0")).replace(/\0/g,"..")}function Te(J,Q={}){const{globstar:ke=!1}=Q;if(!ke||J.length===0)return N(...J);let $;for(const ae of J){const Ie=ae;Ie.length>0&&($?$+=`${C}${Ie}`:$=Ie)}return $?xe($,{globstar:ke}):"."}return Pt.DELIMITER=T,Pt.SEPARATOR=C,Pt.SEPARATOR_PATTERN=v,Pt.basename=x,Pt.common=I,Pt.dirname=b,Pt.extname=w,Pt.format=F,Pt.fromFileUrl=S,Pt.globToRegExp=de,Pt.isAbsolute=L,Pt.isGlob=be,Pt.join=N,Pt.joinGlobs=Te,Pt.normalize=q,Pt.normalizeGlob=xe,Pt.parse=_,Pt.relative=z,Pt.resolve=G,Pt.toFileUrl=re,Pt.toNamespacedPath=Fe,Pt}var Ja,Pd;function Z1(){if(Pd)return Ja;Pd=1,Ja=function(e,n){for(var o=[],t=0;t<e.length;t++){var l=n(e[t],t);a(l)?o.push.apply(o,l):o.push(l)}return o};var a=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};return Ja}var Ya,Fd;function ew(){if(Fd)return Ya;Fd=1,Ya=a;function a(o,t,l){o instanceof RegExp&&(o=e(o,l)),t instanceof RegExp&&(t=e(t,l));var p=n(o,t,l);return p&&{start:p[0],end:p[1],pre:l.slice(0,p[0]),body:l.slice(p[0]+o.length,p[1]),post:l.slice(p[1]+t.length)}}function e(o,t){var l=t.match(o);return l?l[0]:null}a.range=n;function n(o,t,l){var p,u,r,m,i,c=l.indexOf(o),h=l.indexOf(t,c+1),s=c;if(c>=0&&h>0){if(o===t)return[c,h];for(p=[],r=l.length;s>=0&&!i;)s==c?(p.push(s),c=l.indexOf(o,s+1)):p.length==1?i=[p.pop(),h]:(u=p.pop(),u<r&&(r=u,m=h),h=l.indexOf(t,s+1)),s=c<h&&c>=0?c:h;p.length&&(i=[r,m])}return i}return Ya}var Qa,Rd;function tw(){if(Rd)return Qa;Rd=1;var a=Z1(),e=ew();Qa=c;var n="\0SLASH"+Math.random()+"\0",o="\0OPEN"+Math.random()+"\0",t="\0CLOSE"+Math.random()+"\0",l="\0COMMA"+Math.random()+"\0",p="\0PERIOD"+Math.random()+"\0";function u(E){return parseInt(E,10)==E?parseInt(E,10):E.charCodeAt(0)}function r(E){return E.split("\\\\").join(n).split("\\{").join(o).split("\\}").join(t).split("\\,").join(l).split("\\.").join(p)}function m(E){return E.split(n).join("\\").split(o).join("{").split(t).join("}").split(l).join(",").split(p).join(".")}function i(E){if(!E)return[""];var S=[],x=e("{","}",E);if(!x)return E.split(",");var T=x.pre,C=x.body,v=x.post,A=T.split(",");A[A.length-1]+="{"+C+"}";var b=i(v);return v.length&&(A[A.length-1]+=b.shift(),A.push.apply(A,b)),S.push.apply(S,A),S}function c(E){return E?(E.substr(0,2)==="{}"&&(E="\\{\\}"+E.substr(2)),d(r(E),!0).map(m)):[]}function h(E){return"{"+E+"}"}function s(E){return/^-?0\d/.test(E)}function f(E,S){return E<=S}function g(E,S){return E>=S}function d(E,S){var x=[],T=e("{","}",E);if(!T||/\$$/.test(T.pre))return[E];var C=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(T.body),v=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(T.body),A=C||v,b=T.body.indexOf(",")>=0;if(!A&&!b)return T.post.match(/,.*\}/)?(E=T.pre+"{"+T.body+t+T.post,d(E)):[E];var w;if(A)w=T.body.split(/\.\./);else if(w=i(T.body),w.length===1&&(w=d(w[0],!1).map(h),w.length===1)){var R=T.post.length?d(T.post,!1):[""];return R.map(function(W){return T.pre+w[0]+W})}var k=T.pre,R=T.post.length?d(T.post,!1):[""],F;if(A){var L=u(w[0]),P=u(w[1]),O=Math.max(w[0].length,w[1].length),q=w.length==3?Math.abs(u(w[2])):1,N=f,_=P<L;_&&(q*=-1,N=g);var G=w.some(s);F=[];for(var B=L;N(B,P);B+=q){var z;if(v)z=String.fromCharCode(B),z==="\\"&&(z="");else if(z=String(B),G){var H=O-z.length;if(H>0){var ce=new Array(H+1).join("0");B<0?z="-"+ce+z.slice(1):z=ce+z}}F.push(z)}}else F=a(w,function(I){return d(I,!1)});for(var re=0;re<F.length;re++)for(var Fe=0;Fe<R.length;Fe++){var X=k+F[re]+R[Fe];(!S||A||X)&&x.push(X)}return x}return Qa}var Za,_d;function rw(){if(_d)return Za;_d=1,Za=s,s.Minimatch=f;var a=function(){try{return pn}catch{}}()||{sep:"/"};s.sep=a.sep;var e=s.GLOBSTAR=f.GLOBSTAR={},n=tw(),o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},t="[^/]",l=t+"*?",p="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",u="(?:(?!(?:\\/|^)\\.).)*?",r=m("().*{}+?[]^$\\!");function m(w){return w.split("").reduce(function(k,R){return k[R]=!0,k},{})}var i=/\/+/;s.filter=c;function c(w,k){return k=k||{},function(R,F,L){return s(R,w,k)}}function h(w,k){k=k||{};var R={};return Object.keys(w).forEach(function(F){R[F]=w[F]}),Object.keys(k).forEach(function(F){R[F]=k[F]}),R}s.defaults=function(w){if(!w||typeof w!="object"||!Object.keys(w).length)return s;var k=s,R=function(L,P,O){return k(L,P,h(w,O))};return R.Minimatch=function(L,P){return new k.Minimatch(L,h(w,P))},R.Minimatch.defaults=function(L){return k.defaults(h(w,L)).Minimatch},R.filter=function(L,P){return k.filter(L,h(w,P))},R.defaults=function(L){return k.defaults(h(w,L))},R.makeRe=function(L,P){return k.makeRe(L,h(w,P))},R.braceExpand=function(L,P){return k.braceExpand(L,h(w,P))},R.match=function(F,L,P){return k.match(F,L,h(w,P))},R},f.defaults=function(w){return s.defaults(w).Minimatch};function s(w,k,R){return x(k),R||(R={}),!R.nocomment&&k.charAt(0)==="#"?!1:new f(k,R).match(w)}function f(w,k){if(!(this instanceof f))return new f(w,k);x(w),k||(k={}),w=w.trim(),!k.allowWindowsEscape&&a.sep!=="/"&&(w=w.split(a.sep).join("/")),this.options=k,this.set=[],this.pattern=w,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!k.partial,this.make()}f.prototype.debug=function(){},f.prototype.make=g;function g(){var w=this.pattern,k=this.options;if(!k.nocomment&&w.charAt(0)==="#"){this.comment=!0;return}if(!w){this.empty=!0;return}this.parseNegate();var R=this.globSet=this.braceExpand();k.debug&&(this.debug=function(){console.error.apply(console,arguments)}),this.debug(this.pattern,R),R=this.globParts=R.map(function(F){return F.split(i)}),this.debug(this.pattern,R),R=R.map(function(F,L,P){return F.map(this.parse,this)},this),this.debug(this.pattern,R),R=R.filter(function(F){return F.indexOf(!1)===-1}),this.debug(this.pattern,R),this.set=R}f.prototype.parseNegate=d;function d(){var w=this.pattern,k=!1,R=this.options,F=0;if(!R.nonegate){for(var L=0,P=w.length;L<P&&w.charAt(L)==="!";L++)k=!k,F++;F&&(this.pattern=w.substr(F)),this.negate=k}}s.braceExpand=function(w,k){return E(w,k)},f.prototype.braceExpand=E;function E(w,k){return k||(this instanceof f?k=this.options:k={}),w=typeof w>"u"?this.pattern:w,x(w),k.nobrace||!/\{(?:(?!\{).)*\}/.test(w)?[w]:n(w)}var S=1024*64,x=function(w){if(typeof w!="string")throw new TypeError("invalid pattern");if(w.length>S)throw new TypeError("pattern is too long")};f.prototype.parse=C;var T={};function C(w,k){x(w);var R=this.options;if(w==="**")if(R.noglobstar)w="*";else return e;if(w==="")return"";var F="",L=!!R.nocase,P=!1,O=[],q=[],N,_=!1,G=-1,B=-1,z=w.charAt(0)==="."?"":R.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",H=this;function ce(){if(N){switch(N){case"*":F+=l,L=!0;break;case"?":F+=t,L=!0;break;default:F+="\\"+N;break}H.debug("clearStateChar %j %j",N,F),N=!1}}for(var re=0,Fe=w.length,X;re<Fe&&(X=w.charAt(re));re++){if(this.debug("%s %s %s %j",w,re,F,X),P&&r[X]){F+="\\"+X,P=!1;continue}switch(X){case"/":return!1;case"\\":ce(),P=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",w,re,F,X),_){this.debug(" in class"),X==="!"&&re===B+1&&(X="^"),F+=X;continue}H.debug("call clearStateChar %j",N),ce(),N=X,R.noext&&ce();continue;case"(":if(_){F+="(";continue}if(!N){F+="\\(";continue}O.push({type:N,start:re-1,reStart:F.length,open:o[N].open,close:o[N].close}),F+=N==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",N,F),N=!1;continue;case")":if(_||!O.length){F+="\\)";continue}ce(),L=!0;var I=O.pop();F+=I.close,I.type==="!"&&q.push(I),I.reEnd=F.length;continue;case"|":if(_||!O.length||P){F+="\\|",P=!1;continue}ce(),F+="|";continue;case"[":if(ce(),_){F+="\\"+X;continue}_=!0,B=re,G=F.length,F+=X;continue;case"]":if(re===B+1||!_){F+="\\"+X,P=!1;continue}var W=w.substring(B+1,re);try{RegExp("["+W+"]")}catch{var oe=this.parse(W,T);F=F.substr(0,G)+"\\["+oe[0]+"\\]",L=L||oe[1],_=!1;continue}L=!0,_=!1,F+=X;continue;default:ce(),P?P=!1:r[X]&&!(X==="^"&&_)&&(F+="\\"),F+=X}}for(_&&(W=w.substr(B+1),oe=this.parse(W,T),F=F.substr(0,G)+"\\["+oe[0],L=L||oe[1]),I=O.pop();I;I=O.pop()){var ie=F.slice(I.reStart+I.open.length);this.debug("setting tail",F,I),ie=ie.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(Qe,ut,rt){return rt||(rt="\\"),ut+ut+rt+"|"}),this.debug(`tail=%j
51
- %s`,ie,ie,I,F);var se=I.type==="*"?l:I.type==="?"?t:"\\"+I.type;L=!0,F=F.slice(0,I.reStart)+se+"\\("+ie}ce(),P&&(F+="\\\\");var de=!1;switch(F.charAt(0)){case"[":case".":case"(":de=!0}for(var be=q.length-1;be>-1;be--){var xe=q[be],Te=F.slice(0,xe.reStart),J=F.slice(xe.reStart,xe.reEnd-8),Q=F.slice(xe.reEnd-8,xe.reEnd),ke=F.slice(xe.reEnd);Q+=ke;var $=Te.split("(").length-1,ae=ke;for(re=0;re<$;re++)ae=ae.replace(/\)[+*?]?/,"");ke=ae;var Ie="";ke===""&&k!==T&&(Ie="$");var Ne=Te+J+ke+Ie+Q;F=Ne}if(F!==""&&L&&(F="(?=.)"+F),de&&(F=z+F),k===T)return[F,L];if(!L)return A(w);var Be=R.nocase?"i":"";try{var j=new RegExp("^"+F+"$",Be)}catch{return new RegExp("$.")}return j._glob=w,j._src=F,j}s.makeRe=function(w,k){return new f(w,k||{}).makeRe()},f.prototype.makeRe=v;function v(){if(this.regexp||this.regexp===!1)return this.regexp;var w=this.set;if(!w.length)return this.regexp=!1,this.regexp;var k=this.options,R=k.noglobstar?l:k.dot?p:u,F=k.nocase?"i":"",L=w.map(function(P){return P.map(function(O){return O===e?R:typeof O=="string"?b(O):O._src}).join("\\/")}).join("|");L="^(?:"+L+")$",this.negate&&(L="^(?!"+L+").*$");try{this.regexp=new RegExp(L,F)}catch{this.regexp=!1}return this.regexp}s.match=function(w,k,R){R=R||{};var F=new f(k,R);return w=w.filter(function(L){return F.match(L)}),F.options.nonull&&!w.length&&w.push(k),w},f.prototype.match=function(k,R){if(typeof R>"u"&&(R=this.partial),this.debug("match",k,this.pattern),this.comment)return!1;if(this.empty)return k==="";if(k==="/"&&R)return!0;var F=this.options;a.sep!=="/"&&(k=k.split(a.sep).join("/")),k=k.split(i),this.debug(this.pattern,"split",k);var L=this.set;this.debug(this.pattern,"set",L);var P,O;for(O=k.length-1;O>=0&&(P=k[O],!P);O--);for(O=0;O<L.length;O++){var q=L[O],N=k;F.matchBase&&q.length===1&&(N=[P]);var _=this.matchOne(N,q,R);if(_)return F.flipNegate?!0:!this.negate}return F.flipNegate?!1:this.negate},f.prototype.matchOne=function(w,k,R){var F=this.options;this.debug("matchOne",{this:this,file:w,pattern:k}),this.debug("matchOne",w.length,k.length);for(var L=0,P=0,O=w.length,q=k.length;L<O&&P<q;L++,P++){this.debug("matchOne loop");var N=k[P],_=w[L];if(this.debug(k,N,_),N===!1)return!1;if(N===e){this.debug("GLOBSTAR",[k,N,_]);var G=L,B=P+1;if(B===q){for(this.debug("** at the end");L<O;L++)if(w[L]==="."||w[L]===".."||!F.dot&&w[L].charAt(0)===".")return!1;return!0}for(;G<O;){var z=w[G];if(this.debug(`
52
- globstar while`,w,G,k,B,z),this.matchOne(w.slice(G),k.slice(B),R))return this.debug("globstar found match!",G,O,z),!0;if(z==="."||z===".."||!F.dot&&z.charAt(0)==="."){this.debug("dot detected!",w,G,k,B);break}this.debug("globstar swallow a segment, and continue"),G++}return!!(R&&(this.debug(`
53
- >>> no match, partial?`,w,G,k,B),G===O))}var H;if(typeof N=="string"?(H=_===N,this.debug("string match",N,_,H)):(H=_.match(N),this.debug("pattern match",N,_,H)),!H)return!1}if(L===O&&P===q)return!0;if(L===O)return R;if(P===q)return L===O-1&&w[L]==="";throw new Error("wtf?")};function A(w){return w.replace(/\\(.)/g,"$1")}function b(w){return w.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}return Za}var tn={},Bd;function nw(){if(Bd)return tn;Bd=1;class a{static overwrite(m,i){return i}static replace(m,i){return typeof i<"u"?i:m}static assign(m,i){return Object.assign({},m,i)}}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(r,m){let i=!1;if(m.schema)if(typeof m.schema=="object")i=!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 "${r}" missing valid merge strategy.`)}else if(!i&&typeof m.merge!="function")throw new TypeError(`Definition for key "${r}" must have a merge property.`);if(typeof m.validate=="string"){if(!(m.validate in e))throw new TypeError(`Definition for key "${r}" missing valid validation strategy.`)}else if(!i&&typeof m.validate!="function")throw new TypeError(`Definition for key "${r}" 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 l extends Error{constructor(m,i){super(`Key "${m}" requires keys "${i.join('", "')}".`)}}class p extends Error{constructor(m,i){super(`Key "${m}": ${i.message}`,{cause:i});for(const c of Object.keys(i))c in this||(this[c]=i[c])}}class u{#e=new Map;#t=new Map;constructor(m){if(!m)throw new Error("Schema definitions missing.");for(const i of Object.keys(m)){if(n(i,m[i]),typeof m[i].schema=="object"){const c=new u(m[i].schema);m[i]={...m[i],merge(h={},s={}){return c.merge(h,s)},validate(h){e.object(h),c.validate(h)}}}typeof m[i].merge=="string"&&(m[i]={...m[i],merge:a[m[i].merge]}),typeof m[i].validate=="string"&&(m[i]={...m[i],validate:e[m[i].validate]}),this.#e.set(i,m[i]),m[i].required&&this.#t.set(i,m[i])}}hasKey(m){return this.#e.has(m)}merge(...m){if(m.length<2)throw new TypeError("merge() requires at least two arguments.");if(m.some(i=>i===null||typeof i!="object"))throw new TypeError("All arguments must be objects.");return m.reduce((i,c)=>{this.validate(c);for(const[h,s]of this.#e)try{if(h in i||h in c){const g=s.merge.call(this,i[h],c[h]);g!==void 0&&(i[h]=g)}}catch(f){throw new p(h,f)}return i},{})}validate(m){for(const i of Object.keys(m)){if(!this.hasKey(i))throw new o(i);const c=this.#e.get(i);if(Array.isArray(c.requires)&&!c.requires.every(h=>h in m))throw new l(i,c.requires);try{c.validate.call(c,m[i])}catch(h){throw new p(i,h)}}for(const[i]of this.#t)if(!(i in m))throw new t(i)}}return tn.MergeStrategy=a,tn.ObjectSchema=u,tn.ValidationStrategy=e,tn}var Ld;function Od(){return Ld||(Ld=1,function(a){var e=Y1(),n=Q1(),o=rw(),t=kr(),l=nw();function p(se){var de=Object.create(null);return se&&Object.keys(se).forEach(function(be){if(be!=="default"){var xe=Object.getOwnPropertyDescriptor(se,be);Object.defineProperty(de,be,xe.get?xe:{enumerable:!0,get:function(){return se[be]}})}}),de.default=se,Object.freeze(de)}var u=p(e),r=p(n);const m={required:!1,merge(){},validate(){}},i=Object.freeze({name:{required:!1,merge(){},validate(se){if(typeof se!="string")throw new TypeError("Property must be a string.")}},basePath:m,files:m,ignores:m});function c(se){if(!Array.isArray(se))throw new TypeError("Expected value to be an array.")}function h(se){if(c(se),se.some(de=>typeof de!="string"&&typeof de!="function"))throw new TypeError("Expected array to only contain strings and functions.")}function s(se){if(!Array.isArray(se)||se.length===0)throw new TypeError("Expected value to be a non-empty array.")}const f=Object.freeze({basePath:{required:!1,merge(){},validate(se){if(typeof se!="string")throw new TypeError("Expected value to be a string.")}},files:{required:!1,merge(){},validate(se){s(se),se.forEach(de=>{if(Array.isArray(de))h(de);else if(typeof de!="string"&&typeof de!="function")throw new TypeError("Items must be a string, a function, or an array of strings and functions.")})}},ignores:{required:!1,merge(){},validate:h}}),g=o.Minimatch,d=t("@eslint/config-array"),E=new Map,S=new Map,x={dot:!0,allowWindowsEscape:!0},T=new Set(["array","function"]),C=new Set(["name","basePath"]),v=new l.ObjectSchema(f),A=Object.freeze({status:"external"}),b=Object.freeze({status:"ignored"}),w=Object.freeze({status:"unconfigured"}),k=/^\.\.(?:\/|$)/u;class R extends Error{constructor(de,be,{cause:xe,message:Te}){const J=Te||xe.message;if(super(`Config ${de}: ${J}`,{cause:xe}),xe)for(const Q of Object.keys(xe))Q in this||(this[Q]=xe[Q]);this.name="ConfigError",this.index=be}}function F(se){return se&&typeof se.name=="string"&&se.name?`"${se.name}"`:"(unnamed)"}function L(se,de,be){const xe=F(se);throw new R(xe,de,{cause:be})}function P(se){return typeof se=="string"}function O(se,de){if(se===null)throw new R(F(se),de,{message:"Unexpected null config."});if(se===void 0)throw new R(F(se),de,{message:"Unexpected undefined config."});if(typeof se!="object")throw new R(F(se),de,{message:"Unexpected non-object config."});const be={};"basePath"in se&&(be.basePath=se.basePath),"files"in se&&(be.files=se.files),"ignores"in se&&(be.ignores=se.ignores);try{v.validate(be)}catch(xe){L(se,de,xe)}}function q(se,de,be={}){let xe=E;be.flipNegate&&(xe=S);let Te=xe.get(de);return Te||(Te=new g(de,Object.assign({},x,be)),xe.set(de,Te)),Te.match(se)}function N(se){if(P(se)){if(se.startsWith("./"))return se.slice(2);if(se.startsWith("!./"))return`!${se.slice(3)}`}return se}function _(se){return P(se)&&(se.startsWith("./")||se.startsWith("!./"))}function G(se,de,be){if(!se)return se;const xe=typeof se.basePath=="string";let Te=!1;if(xe&&(Te=!0),!Te&&Array.isArray(se.files)&&(Te=se.files.some(Q=>Array.isArray(Q)?Q.some(_):_(Q))),!Te&&Array.isArray(se.ignores)&&(Te=se.ignores.some(_)),!Te)return se;const J={...se};return xe&&(be.isAbsolute(se.basePath)?J.basePath=be.toNamespacedPath(se.basePath):J.basePath=be.resolve(de,se.basePath)),Array.isArray(J.files)&&(J.files=J.files.map(Q=>Array.isArray(Q)?Q.map(N):N(Q))),Array.isArray(J.ignores)&&(J.ignores=J.ignores.map(N)),J}async function B(se,de,be,xe,Te){const J=be.includes("function"),Q=be.includes("array");async function*ke(Ie){for(let Ne of Ie){if(typeof Ne=="function"){if(!J)throw new TypeError("Unexpected function.");Ne=Ne(de),Ne.then&&(Ne=await Ne)}if(Array.isArray(Ne)){if(!Q)throw new TypeError("Unexpected array.");yield*ke(Ne)}else{if(typeof Ne=="function")throw new TypeError("A config function can only return an object or array.");yield Ne}}}const $=await ke(se),ae=[];for await(const Ie of $)ae.push(G(Ie,xe,Te));return ae}function z(se,de,be,xe,Te){const J=be.includes("function"),Q=be.includes("array");function*ke(ae){for(let Ie of ae){if(typeof Ie=="function"){if(!J)throw new TypeError("Unexpected function.");if(Ie=Ie(de),Ie.then)throw new TypeError("Async config functions are not supported.")}if(Array.isArray(Ie)){if(!Q)throw new TypeError("Unexpected array.");yield*ke(Ie)}else{if(typeof Ie=="function")throw new TypeError("A config function can only return an object or array.");yield Ie}}}const $=[];for(const ae of ke(se))$.push(G(ae,xe,Te));return $}function H(se,de,be){const xe=be.resolve(de,se),Te=be.toNamespacedPath(xe);return be.relative(de,Te).replaceAll(be.SEPARATOR,"/")}function ce(se,de,be,{basePath:xe,path:Te}={}){let J=!1;for(const Q of se){let ke=be;if(Q.basePath){if(ke=H(Te.resolve(xe,be),Q.basePath,Te),ke===""||k.test(ke))continue;be.endsWith("/")&&(ke+="/")}J=Q.ignores.reduce(($,ae)=>$?typeof ae=="string"&&ae.startsWith("!")?!q(ke,ae,{flipNegate:!0}):$:typeof ae=="function"?ae(de):ae.startsWith("!")?!1:q(ke,ae),J)}return J}function re(se,de,be){function xe(J){if(P(J))return q(de,J);if(typeof J=="function")return J(se);throw new TypeError(`Unexpected matcher type ${J}.`)}let Te=be.files.some(J=>Array.isArray(J)?J.every(xe):xe(J));return Te&&be.ignores&&(Te=!ce([{ignores:be.ignores}],se,de)),Te}function Fe(se){if(!se.isNormalized())throw new Error("ConfigArray must be normalized to perform this operation.")}function X(se){if(se.length>2)throw new TypeError("configTypes must be an array with at most two items.");for(const de of se)if(!T.has(de))throw new TypeError(`Unexpected config type "${de}" found. Expected one of: "object", "array", "function".`)}function I(se){if(se.startsWith("/"))return u;if(/^(?:[A-Za-z]:[/\\]|[/\\]{2})/u.test(se))return r;throw new Error(`Expected an absolute path but received "${se}"`)}const W={isNormalized:Symbol("isNormalized"),configCache:Symbol("configCache"),schema:Symbol("schema"),finalizeConfig:Symbol("finalizeConfig"),preprocessConfig:Symbol("preprocessConfig")},oe=new WeakMap;class ie extends Array{#e;#t;constructor(de,{basePath:be="/",normalized:xe=!1,schema:Te,extraConfigTypes:J=[]}={}){if(super(),this[W.isNormalized]=xe,this[W.schema]=new l.ObjectSchema(Object.assign({},Te,i)),!P(be)||!be)throw new TypeError("basePath must be a non-empty string");this.basePath=be,X(J),this.extraConfigTypes=[...J],Object.freeze(this.extraConfigTypes),this[W.configCache]=new Map,oe.set(this,{explicitMatches:new Map,directoryMatches:new Map,files:void 0,ignores:void 0}),Array.isArray(de)?this.push(...de):this.push(de),this.#t=I(be),this.#e=this.#t.toNamespacedPath(be)}static get[Symbol.species](){return Array}get files(){Fe(this);const de=oe.get(this);if(de.files)return de.files;const be=[];for(const xe of this)xe.files&&xe.files.forEach(Te=>{be.push(Te)});return de.files=be,oe.set(this,de),be}get ignores(){Fe(this);const de=oe.get(this);if(de.ignores)return de.ignores;const be=[];for(const xe of this)xe.ignores&&Object.keys(xe).filter(Te=>!C.has(Te)).length===1&&be.push(xe);return de.ignores=be,oe.set(this,de),be}isNormalized(){return this[W.isNormalized]}async normalize(de={}){if(!this.isNormalized()){const be=await B(this,de,this.extraConfigTypes,this.#e,this.#t);this.length=0,this.push(...be.map(this[W.preprocessConfig].bind(this))),this.forEach(O),this[W.isNormalized]=!0,Object.freeze(this)}return this}normalizeSync(de={}){if(!this.isNormalized()){const be=z(this,de,this.extraConfigTypes,this.#e,this.#t);this.length=0,this.push(...be.map(this[W.preprocessConfig].bind(this))),this.forEach(O),this[W.isNormalized]=!0,Object.freeze(this)}return this}[W.finalizeConfig](de){return de}[W.preprocessConfig](de){return de}getConfigWithStatus(de){Fe(this);const be=this[W.configCache];if(be.has(de))return be.get(de);const xe=H(de,this.#e,this.#t);if(k.test(xe))return d(`No config for file ${de} outside of base path`),be.set(de,A),A;if(this.isDirectoryIgnored(this.#t.dirname(de)))return d(`Ignoring ${de} based on directory pattern`),be.set(de,b),b;if(ce(this.ignores,de,xe,{basePath:this.#e,path:this.#t}))return d(`Ignoring ${de} based on file pattern`),be.set(de,b),b;const Te=[];let J=!1;const Q=/^\*$|^!|\/\*{1,2}$/u;if(this.forEach((Ie,Ne)=>{const Be=Ie.basePath?H(this.#t.resolve(this.#e,de),Ie.basePath,this.#t):xe;if(Ie.basePath&&k.test(Be)){d(`Skipped config found for ${de} (based on config's base path: ${Ie.basePath}`);return}if(!Ie.files){if(!Ie.ignores){d(`Universal config found for ${de}`),Te.push(Ne);return}if(Object.keys(Ie).filter(ut=>!C.has(ut)).length===1){d(`Skipped config found for ${de} (global ignores)`);return}if(ce([{ignores:Ie.ignores}],de,Be)){d(`Skipped config found for ${de} (based on ignores: ${Ie.ignores})`);return}d(`Matching config found for ${de} (based on ignores: ${Ie.ignores})`),Te.push(Ne);return}const j=[],Qe=Ie.files.filter(ut=>Array.isArray(ut)?ut.every(rt=>Q.test(rt))?!0:(j.push(ut),!1):Q.test(ut)?!0:(j.push(ut),!1));if(Qe.length){if(d("Universal files patterns found. Checking carefully."),j.length&&re(de,Be,{files:j,ignores:Ie.ignores})){d(`Matching config found for ${de}`),Te.push(Ne),J=!0;return}if(Qe.length&&re(de,Be,{files:Qe,ignores:Ie.ignores})){d(`Matching config found for ${de}`),Te.push(Ne);return}return}re(de,Be,Ie)&&(d(`Matching config found for ${de}`),Te.push(Ne),J=!0)}),!J)return d(`No matching configs found for ${de}`),be.set(de,w),w;const ke=Te.toString();let $=be.get(ke);if($)return be.set(de,$),$;let ae=Te.reduce((Ie,Ne)=>{try{return this[W.schema].merge(Ie,this[Ne])}catch(Be){L(this[Ne],Ne,Be)}},{});return ae=this[W.finalizeConfig](ae),$=Object.freeze({config:ae,status:"matched"}),be.set(de,$),be.set(ke,$),$}getConfig(de){return this.getConfigWithStatus(de).config}getConfigStatus(de){return this.getConfigWithStatus(de).status}isIgnored(de){return this.isFileIgnored(de)}isFileIgnored(de){return this.getConfigStatus(de)==="ignored"}isDirectoryIgnored(de){Fe(this);const be=H(de,this.#e,this.#t);if(be==="")return!1;if(k.test(be))return!0;const xe=oe.get(this).directoryMatches;if(xe.has(be))return xe.get(be);const Te=be.split("/");let J="",Q;do J+=`${Te.shift()}/`,Q=ce(this.ignores,this.#t.join(this.basePath,J),J,{basePath:this.#e,path:this.#t}),xe.set(J,Q);while(!Q&&Te.length);return xe.set(be,Q),Q}}Object.defineProperty(a,"ObjectSchema",{enumerable:!0,get:function(){return l.ObjectSchema}}),a.ConfigArray=ie,a.ConfigArraySymbol=W}(Xa)),Xa}var sw="http://json-schema.org/draft-04/schema#",aw="http://json-schema.org/draft-04/schema#",iw="Core schema meta-schema",ow={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}},lw="object",uw={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:"#"}},cw={exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},fw={id:sw,$schema:aw,description:iw,definitions:ow,type:lw,properties:uw,dependencies:cw,default:{}},ei,Nd;function pw(){if(Nd)return ei;Nd=1;const a=Eh(),e=fw;return ei=(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},ei}var mw={"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"]},Md={rules:mw},ti,jd;function ri(){if(jd)return ti;jd=1;const{deepMergeArrays:a}=wd(),{flatConfigSchema:e,hasMethod:n}=Ka(),{ObjectSchema:o}=Od(),l=pw()(),p=Md,u=Object.freeze({type:"array",minItems:0,maxItems:0}),r=new Map([[0,0],[1,1],[2,2],["off",0],["warn",1],["error",2]]),m=new WeakMap;function i({pluginName:C,ruleName:v},A){const b=C==="@"?v:`${C}/${v}`,w=`Key "rules": Key "${b}"`;let k=`${w}: Could not find plugin "${C}" in configuration.`;const R=k;if(A.plugins&&A.plugins[C]){const L=p.rules[v];if(C==="@"&&L)k=`${w}: Rule "${v}" was removed and replaced by "${L}".`;else{k=`${w}: Could not find "${v}" in plugin "${C}".`;for(const[P,O]of Object.entries(A.plugins))if(O.rules&&O.rules[v]){k+=` Did you mean "${P}/${v}"?`;break}}}const F=new TypeError(k);throw k===R&&(F.messageTemplate="config-plugin-missing",F.messageData={pluginName:C,ruleId:b}),F}class c extends Error{constructor(v,A){super(`Error while processing options validation schema of rule '${v}': ${A.message}`,{cause:A}),this.code="ESLINT_INVALID_RULE_OPTIONS_SCHEMA"}}function h(C){let v,A;return C.includes("/")?(C.startsWith("@")?v=C.slice(0,C.lastIndexOf("/")):v=C.slice(0,C.indexOf("/")),A=C.slice(v.length+1)):(v="@",A=C),{pluginName:v,ruleName:A}}function s(C,v){const{pluginName:A,ruleName:b}=h(C);return v.plugins?.[A]?.rules?.[b]}function f(C){if(!C.meta)return{...u};const v=C.meta.schema;if(typeof v>"u")return{...u};if(v===!1)return null;if(typeof v!="object"||v===null)throw new TypeError("Rule's `meta.schema` must be an array or object");return Array.isArray(v)?v.length?{type:"array",items:v,minItems:0,maxItems:v.length}:{...u}:v}function g(C){const v=C.split("/");return{objectName:v.pop(),pluginName:v.join("/")}}function d(C){let v=C.name;if(!v&&(!C.meta||(v=C.meta.name,!v)))return null;let A=C.version;return A||(A=C.meta&&C.meta.version),A?`${v}@${A}`:v}function E(C,v,A){if(typeof C=="function"){const b=new TypeError(`Cannot serialize key "${v}" in "${A}": Function values are not supported.`);throw b.messageTemplate="config-serialize-function",b.messageData={key:v,objectKey:A},b}}function S(C,v="languageOptions"){if(typeof C.toJSON=="function"){const b=C.toJSON();return E(b,"toJSON",v),b}const A={};for(const[b,w]of Object.entries(C)){if(w){if(typeof w=="object"){const k=d(w);typeof w.toJSON=="function"?(A[b]=w.toJSON(),E(A[b],b,v)):k&&n(w)?A[b]=k:A[b]=S(w,b);continue}E(w,b,v)}A[b]=w}return A}function x(C,v){if(!m.has(C))try{const A=f(C);A&&m.set(C,l.compile(A))}catch(A){throw new c(v,A)}return m.get(C)}class T{#e;#t;constructor(v){const{plugins:A,language:b,languageOptions:w,processor:k,...R}=v;if(new o(e).validate(v),Object.assign(this,R),!b)throw new TypeError("Key 'language' is required.");this.plugins=A,this.language=b;const{pluginName:L,objectName:P}=g(b);if(this.#e=b,!A||!A[L]||!A[L].languages||!A[L].languages[P])throw new TypeError(`Key "language": Could not find "${P}" in plugin "${L}".`);this.language=A[L].languages[P],this.language.defaultLanguageOptions??w?this.languageOptions=e.languageOptions.merge(this.language.defaultLanguageOptions,w):this.languageOptions={};try{this.language.validateLanguageOptions(this.languageOptions)}catch(O){throw new TypeError(`Key "languageOptions": ${O.message}`,{cause:O})}if(this.language.normalizeLanguageOptions&&(this.languageOptions=this.language.normalizeLanguageOptions(this.languageOptions)),k)if(this.processor=k,typeof k=="string"){const{pluginName:O,objectName:q}=g(k);if(this.#t=k,!A||!A[O]||!A[O].processors||!A[O].processors[q])throw new TypeError(`Key "processor": Could not find "${q}" in plugin "${O}".`);this.processor=A[O].processors[q]}else if(typeof k=="object")this.#t=d(k),this.processor=k;else throw new TypeError("Key 'processor' must be a string or an object.");this.rules&&(this.#r(),this.validateRulesConfig(this.rules))}toJSON(){if(this.processor&&!this.#t)throw new Error("Could not serialize processor object (missing 'meta' object).");if(!this.#e)throw new Error("Could not serialize language object (missing 'meta' object).");return{...this,plugins:Object.entries(this.plugins).map(([v,A])=>{const b=d(A);return b?`${v}:${b}`:v}),language:this.#e,languageOptions:S(this.languageOptions),processor:this.#t}}getRuleDefinition(v){return s(v,this)}#r(){for(const[v,A]of Object.entries(this.rules)){let b=Array.isArray(A)?A:[A];b[0]=r.get(b[0]);const w=s(v,this),k=b.slice(1),R=a(w?.meta?.defaultOptions,k);R.length&&(b=[b[0],...R]),this.rules[v]=b}}validateRulesConfig(v){if(!v)throw new TypeError("Config is required for validation.");for(const[A,b]of Object.entries(v)){if(A==="__proto__"||b[0]===0)continue;const w=s(A,this);w||i(h(A),this);const k=x(w,A);if(k&&(k(b.slice(1)),k.errors))throw new Error(`Key "rules": Key "${A}":
54
- ${k.errors.map(R=>{if(R.keyword==="additionalProperties"&&R.schema===!1&&typeof R.parentSchema?.properties=="object"&&typeof R.params?.additionalProperty=="string"){const F=Object.keys(R.parentSchema.properties).map(L=>`"${L}"`);return` Value ${JSON.stringify(R.data)} ${R.message}.
55
- Unexpected property "${R.params.additionalProperty}". Expected properties: ${F.join(", ")}.
56
- `}return` Value ${JSON.stringify(R.data)} ${R.message}.
57
- `}).join("")}`)}}static getRuleOptionsSchema(v){return f(v)}static getRuleNumericSeverity(v){const A=Array.isArray(v)?v[0]:v;return r.has(A)?r.get(A):typeof A=="string"?r.get(A.toLowerCase())??0:0}}return ti={Config:T},ti}var ni,Ud;function hw(){if(Ud)return ni;Ud=1;const a=Rn(),{Config:e}=ri();function n(m,i){return m.line-i.line||m.column-i.column}function o(m){const i=new Map;for(const c of m){const{unprocessedDirective:{parentDirective:h}}=c;i.has(h)?i.get(h).push(c):i.set(h,[c])}return[...i.values()]}function t(m,i,c){const h=i.value.trim(),s=c.text.indexOf(h,c.getRange(i.node)[0]);return m.map(f=>{const{ruleId:g}=f,E=new RegExp(String.raw`(?:^|\s*,\s*)(?<quote>['"]?)${a(g)}\k<quote>(?:\s*,\s*|$)`,"u").exec(h),S=E[0],x=s+E.index,T=x+S.length,C=S.indexOf(","),v=S.lastIndexOf(",");let A,b;return C!==v?(A=x+C,b=x+v):(A=x,b=T),{description:`'${g}'`,fix:{range:[A,b],text:""},unprocessedDirective:f.unprocessedDirective}})}function l(m,i,c){const h=c.getRange(i),s=m.filter(f=>f.ruleId).map(f=>`'${f.ruleId}'`);return{description:s.length<=2?s.join(" or "):`${s.slice(0,s.length-1).join(", ")}, or ${s.at(-1)}`,fix:{range:h,text:" "},unprocessedDirective:m[0].unprocessedDirective}}function p(m,i){return o(m).flatMap(h=>{const{parentDirective:s}=h[0].unprocessedDirective,f=new Set(s.ruleIds);for(const g of h)f.delete(g.ruleId);return f.size?t(h,s,i):[l(h,s.node,i)]})}function u(m){const i=new Map,c=new Set;for(let h=m.length-1;h>=0;h--){const s=m[h];if(s.type==="disable"){if(i.size===0)continue;if(s.ruleId===null){for(const f of i.values())c.add(f);i.clear()}else{const f=i.get(s.ruleId);if(f)c.add(f);else{const g=i.get(null);g&&c.add(g)}}}else s.type==="enable"&&(s.ruleId===null?(i.clear(),i.set(null,s)):i.set(s.ruleId,s))}return c}function r(m){const i=[],c=new Set,{sourceCode:h}=m;for(const x of m.problems){let T=[],C=0;for(;C<m.directives.length&&n(m.directives[C],x)<=0;){const v=m.directives[C++];if(v.ruleId===null||v.ruleId===x.ruleId)switch(v.type){case"disable":T.push(v);break;case"enable":T=[];break}}if(T.length>0){const v=T.map(A=>({kind:"directive",justification:A.unprocessedDirective.justification}));x.suppressions?x.suppressions=x.suppressions.concat(v):(x.suppressions=v,c.add(T.at(-1)))}i.push(x)}const s=m.directives.filter(x=>x.type==="disable"&&!c.has(x)&&!m.rulesToIgnore.has(x.ruleId)),f=new Set(m.directives.filter(x=>x.unprocessedDirective.type==="enable"&&!m.rulesToIgnore.has(x.ruleId)));if(f.size>0)for(const x of u(m.directives))f.delete(x);const g=p(s,h).concat(p(f,h)),d=m.language.columnStart===1?0:1,E=m.language.lineStart===1?0:1,S=g.map(({description:x,fix:T,unprocessedDirective:C})=>{const{parentDirective:v,type:A,line:b,column:w}=C;let k;A==="enable"?k=x?`Unused eslint-enable directive (no matching eslint-disable directives were found for ${x}).`:"Unused eslint-enable directive (no matching eslint-disable directives were found).":k=x?`Unused eslint-disable directive (no problems were reported from ${x}).`:"Unused eslint-disable directive (no problems were reported).";const R=h.getLoc(v.node);return{ruleId:null,message:k,line:A==="disable-next-line"?R.start.line+E:b,column:A==="disable-next-line"?R.start.column+d:w,severity:m.reportUnusedDisableDirectives==="warn"?1:2,nodeType:null,...m.disableFixes?{}:{fix:T}}});return{problems:i,unusedDirectives:S}}return ni=({language:m,sourceCode:i,directives:c,disableFixes:h,problems:s,configuredRules:f,ruleFilter:g,reportUnusedDisableDirectives:d="off"})=>{const E=c.filter(v=>v.type==="disable"||v.type==="enable").map(v=>Object.assign({},v,{unprocessedDirective:v})).sort(n),S=c.flatMap(v=>{switch(v.type){case"disable":case"enable":return[];case"disable-line":return[{type:"disable",line:v.line,column:1,ruleId:v.ruleId,unprocessedDirective:v},{type:"enable",line:v.line+1,column:0,ruleId:v.ruleId,unprocessedDirective:v}];case"disable-next-line":return[{type:"disable",line:v.line+1,column:1,ruleId:v.ruleId,unprocessedDirective:v},{type:"enable",line:v.line+2,column:0,ruleId:v.ruleId,unprocessedDirective:v}];default:throw new TypeError(`Unrecognized directive type '${v.type}'`)}}).sort(n),x=f&&g?new Set(Object.keys(f).filter(v=>{const A=e.getRuleNumericSeverity(f[v]);return A===0?!1:!g({severity:A,ruleId:v})})):new Set;x.size>0&&x.add(null);const T=r({language:m,sourceCode:i,problems:s,directives:E,disableFixes:h,reportUnusedDisableDirectives:d,rulesToIgnore:x}),C=r({language:m,sourceCode:i,problems:T.problems,directives:S,disableFixes:h,reportUnusedDisableDirectives:d,rulesToIgnore:x});return d!=="off"?C.problems.concat(T.unusedDirectives).concat(C.unusedDirectives).sort(n):C.problems},ni}function dw(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 si,qd;function gw(){if(qd)return si;qd=1;const a=kr()("eslint:rules");class e extends Map{constructor(o){let t=o.length;super(a.enabled?o.map(([l,p])=>{let u=null;return[l,()=>(u||(a("Loading rule %o (remaining=%d)",l,--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[l,p]of super.entries())o.call(t,p(),l,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}}),si={LazyLoadingRuleMap:e},si}var ai={exports:{}},rn={},ii={exports:{}},Vd;function yw(){return Vd||(Vd=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 l(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}ii.exports={isExpression:a,isStatement:n,isIterationStatement:e,isSourceElement:o,isProblematicIfStatement:l,trailingStatement:t}}()),ii.exports}var oi={exports:{}},$d;function Wd(){return $d||($d=1,function(){var a,e,n,o,t,l;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(d){return 48<=d&&d<=57}function u(d){return 48<=d&&d<=57||97<=d&&d<=102||65<=d&&d<=70}function r(d){return d>=48&&d<=55}n=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function m(d){return d===32||d===9||d===11||d===12||d===160||d>=5760&&n.indexOf(d)>=0}function i(d){return d===10||d===13||d===8232||d===8233}function c(d){if(d<=65535)return String.fromCharCode(d);var E=String.fromCharCode(Math.floor((d-65536)/1024)+55296),S=String.fromCharCode((d-65536)%1024+56320);return E+S}for(o=new Array(128),l=0;l<128;++l)o[l]=l>=97&&l<=122||l>=65&&l<=90||l===36||l===95;for(t=new Array(128),l=0;l<128;++l)t[l]=l>=97&&l<=122||l>=65&&l<=90||l>=48&&l<=57||l===36||l===95;function h(d){return d<128?o[d]:e.NonAsciiIdentifierStart.test(c(d))}function s(d){return d<128?t[d]:e.NonAsciiIdentifierPart.test(c(d))}function f(d){return d<128?o[d]:a.NonAsciiIdentifierStart.test(c(d))}function g(d){return d<128?t[d]:a.NonAsciiIdentifierPart.test(c(d))}oi.exports={isDecimalDigit:p,isHexDigit:u,isOctalDigit:r,isWhiteSpace:m,isLineTerminator:i,isIdentifierStartES5:h,isIdentifierPartES5:s,isIdentifierStartES6:f,isIdentifierPartES6:g}}()),oi.exports}var li={exports:{}},Gd;function vw(){return Gd||(Gd=1,function(){var a=Wd();function e(h){switch(h){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function n(h,s){return!s&&h==="yield"?!1:o(h,s)}function o(h,s){if(s&&e(h))return!0;switch(h.length){case 2:return h==="if"||h==="in"||h==="do";case 3:return h==="var"||h==="for"||h==="new"||h==="try";case 4:return h==="this"||h==="else"||h==="case"||h==="void"||h==="with"||h==="enum";case 5:return h==="while"||h==="break"||h==="catch"||h==="throw"||h==="const"||h==="yield"||h==="class"||h==="super";case 6:return h==="return"||h==="typeof"||h==="delete"||h==="switch"||h==="export"||h==="import";case 7:return h==="default"||h==="finally"||h==="extends";case 8:return h==="function"||h==="continue"||h==="debugger";case 10:return h==="instanceof";default:return!1}}function t(h,s){return h==="null"||h==="true"||h==="false"||n(h,s)}function l(h,s){return h==="null"||h==="true"||h==="false"||o(h,s)}function p(h){return h==="eval"||h==="arguments"}function u(h){var s,f,g;if(h.length===0||(g=h.charCodeAt(0),!a.isIdentifierStartES5(g)))return!1;for(s=1,f=h.length;s<f;++s)if(g=h.charCodeAt(s),!a.isIdentifierPartES5(g))return!1;return!0}function r(h,s){return(h-55296)*1024+(s-56320)+65536}function m(h){var s,f,g,d,E;if(h.length===0)return!1;for(E=a.isIdentifierStartES6,s=0,f=h.length;s<f;++s){if(g=h.charCodeAt(s),55296<=g&&g<=56319){if(++s,s>=f||(d=h.charCodeAt(s),!(56320<=d&&d<=57343)))return!1;g=r(g,d)}if(!E(g))return!1;E=a.isIdentifierPartES6}return!0}function i(h,s){return u(h)&&!t(h,s)}function c(h,s){return m(h)&&!l(h,s)}li.exports={isKeywordES5:n,isKeywordES6:o,isReservedWordES5:t,isReservedWordES6:l,isRestrictedWord:p,isIdentifierNameES5:u,isIdentifierNameES6:m,isIdentifierES5:i,isIdentifierES6:c}}()),li.exports}var zd;function Hd(){return zd||(zd=1,function(){rn.ast=yw(),rn.code=Wd(),rn.keyword=vw()}()),rn}var ui,Kd;function ci(){return Kd||(Kd=1,ui={LATEST_ECMA_VERSION:2026}),ui}var Xd;function Ue(){return Xd||(Xd=1,function(a){const{KEYS:e}=Wr(),n=Hd(),o=hn(),t=Rn(),{breakableTypePattern:l,createGlobalLinebreakMatcher:p,lineBreakPattern:u,shebangPattern:r}=Fn(),m=Gh(),{LATEST_ECMA_VERSION:i}=ci(),c=/^(?:Function(?:Declaration|Expression)|ArrowFunctionExpression)$/u,h=/^(?:DoWhile|For|ForIn|ForOf|While)Statement$/u,s=/^(?:every|filter|find(?:Last)?(?:Index)?|flatMap|forEach|map|some)$/u,f=/Array$/u,g=/^(?:bind|call|apply)$/u,d=/^[\s*]*@this/mu,E=/^\s*(?:eslint|jshint\s+|jslint\s+|istanbul\s+|globals?\s+|exported\s+|jscs)/u,S=/^(?:eslint[- ]|(?:globals?|exported) )/u,x=new Set([`\r
58
- `,"\r",`
59
- `,"\u2028","\u2029"]),T=new Set(["Program","BlockStatement","StaticBlock","SwitchCase"]),C=new Set(["let","const","using","await using"]),v=/^(?:0|0[0-7]*[89]\d*|[1-9](?:_?\d)*)$/u,A=/^(?:[^\\]|\\.)*\\(?:[1-9]|0\d)/su,b=new Set(["&&=","||=","??="]),w=m[`es${i}`];function k(V,ne,ue){const Ce=V.identifier,qe=ne===0||ue[ne-1].identifier!==Ce;return Ce&&V.init===!1&&V.isWrite()&&qe}function R(V){return V[0]!==V[0].toLocaleLowerCase()}function F(V){return V.id&&R(V.id.name)}function L(V){for(let ne=V;ne;ne=ne.parent)if(c.test(ne.type))return ne;return null}function P(V){return!!(V&&c.test(V.type))}function O(V){return!!(V&&h.test(V.type))}function q(V){for(let ne=V;ne&&!P(ne);ne=ne.parent)if(O(ne))return!0;return!1}function N(V){return V.type==="Literal"&&V.value===null&&!V.regex&&!V.bigint}function _(V){return N(V)||V.type==="Identifier"&&V.name==="undefined"||V.type==="UnaryExpression"&&V.operator==="void"}function G(V){return V.parent.type==="CallExpression"&&V.parent.callee===V}function B(V){switch(V.type){case"Literal":if(V.value===null){if(N(V))return String(V.value);if(V.regex)return`/${V.regex.pattern}/${V.regex.flags}`;if(V.bigint)return V.bigint}else return String(V.value);break;case"TemplateLiteral":if(V.expressions.length===0&&V.quasis.length===1)return V.quasis[0].value.cooked;break}return null}function z(V){let ne;switch(V&&V.type){case"ChainExpression":return z(V.expression);case"Property":case"PropertyDefinition":case"MethodDefinition":case"TSPropertySignature":case"TSMethodSignature":ne=V.key;break;case"MemberExpression":ne=V.property;break}return ne?ne.type==="Identifier"&&!V.computed?ne.name:B(ne):null}function H(V){return V&&V.type==="ChainExpression"?V.expression:V}function ce(V,ne){return typeof ne=="string"?V===ne:ne.test(V)}function re(V,ne){return V.type==="Identifier"&&ce(V.name,ne)}function Fe(V,ne,ue){const Ce=H(V);if(Ce.type!=="MemberExpression"||ne&&!re(Ce.object,ne))return!1;if(ue){const qe=z(Ce);if(typeof qe!="string"||!ce(qe,ue))return!1}return!0}function X(V,ne){return V.regex||ne.regex?!!(V.regex&&ne.regex&&V.regex.pattern===ne.regex.pattern&&V.regex.flags===ne.regex.flags):V.bigint||ne.bigint?V.bigint===ne.bigint:V.value===ne.value}function I(V,ne,ue=!1){if(V.type!==ne.type)return V.type==="ChainExpression"?I(V.expression,ne,ue):ne.type==="ChainExpression"?I(V,ne.expression,ue):!1;switch(V.type){case"Super":case"ThisExpression":return!0;case"Identifier":case"PrivateIdentifier":return V.name===ne.name;case"Literal":return X(V,ne);case"ChainExpression":return I(V.expression,ne.expression,ue);case"MemberExpression":{if(!ue){const Ce=z(V);if(Ce!==null)return I(V.object,ne.object,ue)&&Ce===z(ne)}return V.computed===ne.computed&&I(V.object,ne.object,ue)&&I(V.property,ne.property,ue)}default:return!1}}function W(V){return Fe(V,"Reflect","apply")}function oe(V){return Fe(V,f,"from")}function ie(V){return Fe(V,null,s)}function se(V){return ne=>!V(ne)}function de(V,ne){const ue=ne.getJSDocComment(V);return ue&&d.test(ue.value)?!0:ne.getCommentsBefore(V).some(Ce=>d.test(Ce.value))}function be(V,ne){const ue=V.getTokenBefore(ne),Ce=V.getTokenAfter(ne);return!!(ue&&Ce)&&ue.value==="("&&ue.range[1]<=ne.range[0]&&Ce.value===")"&&Ce.range[0]>=ne.range[1]}function xe(V){return V.value==="="&&V.type==="Punctuator"}function Te(V){return V.value==="=>"&&V.type==="Punctuator"}function J(V){return V.value===","&&V.type==="Punctuator"}function Q(V){return V.value==="."&&V.type==="Punctuator"}function ke(V){return V.value==="?."&&V.type==="Punctuator"}function $(V){return V.value===";"&&V.type==="Punctuator"}function ae(V){return V.value===":"&&V.type==="Punctuator"}function Ie(V){return V.value==="("&&V.type==="Punctuator"}function Ne(V){return V.value===")"&&V.type==="Punctuator"}function Be(V){return V.value==="["&&V.type==="Punctuator"}function j(V){return V.value==="]"&&V.type==="Punctuator"}function Qe(V){return V.value==="{"&&V.type==="Punctuator"}function ut(V){return V.value==="}"&&V.type==="Punctuator"}function rt(V){return V.type==="Line"||V.type==="Block"||V.type==="Shebang"}function ze(V){return V.type==="Keyword"}function Xe(V,ne){if(V.type==="ArrowFunctionExpression"&&V.params.length===1){const ue=ne.getFirstToken(V.params[0]),Ce=ne.getTokenBefore(ue);return Ie(Ce)?Ce:ue}return V.id?ne.getTokenAfter(V.id,Ie):ne.getFirstToken(V,Ie)}function ht(V,ne,ue){const Ce=ue.getTokens(V),qe=ue.getTokens(ne);if(Ce.length!==qe.length)return!1;for(let _e=0;_e<Ce.length;++_e)if(Ce[_e].type!==qe[_e].type||Ce[_e].value!==qe[_e].value)return!1;return!0}function dt(V){return V.type==="LogicalExpression"&&(V.operator==="&&"||V.operator==="||")}function at(V){return V.type==="LogicalExpression"&&V.operator==="??"}function tt(V,ne){return dt(V)&&at(ne)||at(V)&&dt(ne)}function we(V){return b.has(V)}function Ee(V,ne){return V.test?ne.getTokenAfter(V.test,ae):ne.getFirstToken(V,1)}function Se(V){return V.type==="Identifier"?V.name:V.value}function ve(V){return V.value===null?V.raw==="null"?!1:typeof V.regex=="object"?!0:null:!!V.value}function Pe(V,ne){switch(V.type){case"Literal":return ne==="||"&&ve(V)===!0||ne==="&&"&&ve(V)===!1;case"UnaryExpression":return ne==="&&"&&V.operator==="void";case"LogicalExpression":return ne===V.operator&&(Pe(V.left,ne)||Pe(V.right,ne));case"AssignmentExpression":return["||=","&&="].includes(V.operator)&&ne===V.operator.slice(0,-1)&&Pe(V.right,ne)}return!1}function ee(V,ne){const ue=V.references.find(Ce=>Ce.identifier===ne);return!!(ue&&ue.resolved&&ue.resolved.scope.type==="global"&&ue.resolved.defs.length===0)}function te(V,ne,ue){if(!ne)return!0;switch(ne.type){case"Literal":case"ArrowFunctionExpression":case"FunctionExpression":return!0;case"ClassExpression":case"ObjectExpression":return!0;case"TemplateLiteral":return ue&&ne.quasis.some(Ce=>Ce.value.cooked.length)||ne.expressions.every(Ce=>te(V,Ce,!1));case"ArrayExpression":return ue?!0:ne.elements.every(Ce=>te(V,Ce,!1));case"UnaryExpression":return ne.operator==="void"||ne.operator==="typeof"&&ue?!0:ne.operator==="!"?te(V,ne.argument,!0):te(V,ne.argument,!1);case"BinaryExpression":return te(V,ne.left,!1)&&te(V,ne.right,!1)&&ne.operator!=="in";case"LogicalExpression":{const Ce=te(V,ne.left,ue),qe=te(V,ne.right,ue),_e=Ce&&Pe(ne.left,ne.operator),Ke=ue&&qe&&Pe(ne.right,ne.operator);return Ce&&qe||_e||Ke}case"NewExpression":return ue;case"AssignmentExpression":return ne.operator==="="?te(V,ne.right,ue):["||=","&&="].includes(ne.operator)&&ue?Pe(ne.right,ne.operator.slice(0,-1)):!1;case"SequenceExpression":return te(V,ne.expressions.at(-1),ue);case"SpreadElement":return te(V,ne.argument,ue);case"CallExpression":return ne.callee.type==="Identifier"&&ne.callee.name==="Boolean"&&(ne.arguments.length===0||te(V,ne.arguments[0],!0))?ee(V,ne.callee):!1;case"Identifier":return ne.name==="undefined"&&ee(V,ne)}return!1}function Z(V){if(V.type!=="ExpressionStatement")return!1;const ne=V.parent;return ne.type==="Program"||ne.type==="TSModuleBlock"||ne.type==="BlockStatement"&&P(ne.parent)}function fe(V){return V.type==="ExpressionStatement"&&typeof V.directive=="string"}function De(V){const ne=V.range[0];let ue=V;for(;(ue=ue.parent)&&ue.range[0]===ne;)if(ue.type==="ExpressionStatement")return!0;return!1}let Le;{let V=function(pe){for(let le=pe;;){const{parent:ye}=le;if(!ye)break;if(Je.has(ye.type)&&le===ye.typeAnnotation)return!0;le=ye}return!1};const ne=new Set(["BreakStatement","ContinueStatement"]),ue=new Set(["ExportAllDeclaration","ExportNamedDeclaration","ImportDeclaration"]),Ce=new Set(["Identifier","Keyword"]),qe={__proto__:null,break:"BreakStatement",continue:"ContinueStatement",debugger:"DebuggerStatement",do:"DoWhileStatement",else:"IfStatement",return:"ReturnStatement",yield:"YieldExpression"},_e=new Set([":",";","{","=>","++","--"]),Ke=new Set(["DoWhileStatement","ForInStatement","ForOfStatement","ForStatement","IfStatement","WhileStatement","WithStatement"]),Je=new Set(["TSAsExpression","TSSatisfiesExpression","TSTypeAliasDeclaration","TSTypeAnnotation"]);Le=function(pe,le){const ye=pe.getTokenBefore(le);if(!ye||ye.type==="Punctuator"&&_e.has(ye.value))return!1;const Re=pe.getNodeByRangeIndex(ye.range[0]);if(Re.type==="TSDeclareFunction"||Re.parent.type==="TSImportEqualsDeclaration"||Re.parent.parent?.type==="TSImportEqualsDeclaration"||Je.has(Re.type)||V(Re))return!1;if(Ne(ye))return!Ke.has(Re.type);if(ut(ye))return Re.type==="BlockStatement"&&Re.parent.type==="FunctionExpression"&&Re.parent.parent.type!=="MethodDefinition"||Re.type==="ClassBody"&&Re.parent.type==="ClassExpression"||Re.type==="ObjectExpression";if(Ce.has(ye.type)){if(Re.parent.type==="VariableDeclarator"&&!Re.parent.init||ne.has(Re.parent.type))return!1;const Oe=ye.value,it=qe[Oe];return Re.type!==it}return ye.type==="String"?!ue.has(Re.parent.type):!0}}function me(V){const{parent:ne}=V;if(ne.type==="ImportAttribute"&&ne.key===V)return!0;if(ne.type==="Property"&&!ne.computed&&(ne.key===V||ne.value===V&&ne.shorthand&&!ne.method)&&ne.parent.type==="ObjectExpression"){const ue=ne.parent,Ce=ue.parent;if(Ce.type==="ImportExpression"&&Ce.options===ue)return!0;if(Ce.type==="Property"&&Ce.value===ue)return me(Ce.key)}return!1}a.exports={COMMENTS_IGNORE_PATTERN:E,LINEBREAKS:x,LINEBREAK_MATCHER:u,SHEBANG_MATCHER:r,STATEMENT_LIST_PARENTS:T,ECMASCRIPT_GLOBALS:w,isTokenOnSameLine(V,ne){return V.loc.end.line===ne.loc.start.line},isNullOrUndefined:_,isCallee:G,isES5Constructor:F,getUpperFunction:L,isFunction:P,isLoop:O,isInLoop:q,isArrayFromMethod:oe,isParenthesised:be,createGlobalLinebreakMatcher:p,equalTokens:ht,isArrowToken:Te,isClosingBraceToken:ut,isClosingBracketToken:j,isClosingParenToken:Ne,isColonToken:ae,isCommaToken:J,isCommentToken:rt,isDotToken:Q,isQuestionDotToken:ke,isKeywordToken:ze,isNotClosingBraceToken:se(ut),isNotClosingBracketToken:se(j),isNotClosingParenToken:se(Ne),isNotColonToken:se(ae),isNotCommaToken:se(J),isNotDotToken:se(Q),isNotQuestionDotToken:se(ke),isNotOpeningBraceToken:se(Qe),isNotOpeningBracketToken:se(Be),isNotOpeningParenToken:se(Ie),isNotSemicolonToken:se($),isOpeningBraceToken:Qe,isOpeningBracketToken:Be,isOpeningParenToken:Ie,isSemicolonToken:$,isEqToken:xe,isStringLiteral(V){return V.type==="Literal"&&typeof V.value=="string"||V.type==="TemplateLiteral"},isBreakableStatement(V){return l.test(V.type)},getModifyingReferences(V){return V.filter(k)},isSurroundedBy(V,ne){return V[0]===ne&&V.at(-1)===ne},isDirectiveComment(V){const ne=V.value.trim();return V.type==="Line"&&ne.startsWith("eslint-")||V.type==="Block"&&S.test(ne)},getTrailingStatement:n.ast.trailingStatement,getVariableByName(V,ne){let ue=V;for(;ue;){const Ce=ue.set.get(ne);if(Ce)return Ce;ue=ue.upper}return null},isDefaultThisBinding(V,ne,{capIsConstructor:ue=!0}={}){if(V.parent.type==="PropertyDefinition"&&V.parent.value===V||V.type==="StaticBlock"||(V.type==="FunctionDeclaration"||V.type==="FunctionExpression")&&V.params.some(_e=>_e.type==="Identifier"&&_e.name==="this")||ue&&F(V)||de(V,ne))return!1;const Ce=V.id===null;let qe=V;for(;qe;){const _e=qe.parent;switch(_e.type){case"LogicalExpression":case"ConditionalExpression":case"ChainExpression":qe=_e;break;case"ReturnStatement":{const Ke=L(_e);if(Ke===null||!G(Ke))return!0;qe=Ke.parent;break}case"ArrowFunctionExpression":if(qe!==_e.body||!G(_e))return!0;qe=_e.parent;break;case"Property":case"PropertyDefinition":case"MethodDefinition":return _e.value!==qe;case"AssignmentExpression":case"AssignmentPattern":return!(_e.left.type==="MemberExpression"||ue&&Ce&&_e.left.type==="Identifier"&&R(_e.left.name));case"VariableDeclarator":return!(ue&&Ce&&_e.init===qe&&_e.id.type==="Identifier"&&R(_e.id.name));case"MemberExpression":if(_e.object===qe&&Fe(_e,null,g)){const Ke=_e.parent.type==="ChainExpression"?_e.parent:_e;return!(G(Ke)&&Ke.parent.arguments.length>=1&&!_(Ke.parent.arguments[0]))}return!0;case"CallExpression":return W(_e.callee)?_e.arguments.length!==3||_e.arguments[0]!==qe||_(_e.arguments[1]):oe(_e.callee)?_e.arguments.length!==3||_e.arguments[1]!==qe||_(_e.arguments[2]):ie(_e.callee)?_e.arguments.length!==2||_e.arguments[0]!==qe||_(_e.arguments[1]):!0;default:return!0}}return!0},getPrecedence(V){switch(V.type){case"SequenceExpression":return 0;case"AssignmentExpression":case"ArrowFunctionExpression":case"YieldExpression":return 1;case"ConditionalExpression":return 3;case"LogicalExpression":switch(V.operator){case"||":case"??":return 4;case"&&":return 5}case"BinaryExpression":switch(V.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 V.type in e?20:-1}},isEmptyBlock(V){return!!(V&&V.type==="BlockStatement"&&V.body.length===0)},isEmptyFunction(V){return P(V)&&a.exports.isEmptyBlock(V.body)},getDirectivePrologue(V){const ne=[];if(V.type==="Program"||V.type==="FunctionDeclaration"||V.type==="FunctionExpression"||V.type==="ArrowFunctionExpression"&&V.body.type==="BlockStatement"){const ue=V.type==="Program"?V.body:V.body.body;for(const Ce of ue)if(Ce.type==="ExpressionStatement"&&Ce.expression.type==="Literal")ne.push(Ce);else break}return ne},isDecimalInteger(V){return V.type==="Literal"&&typeof V.value=="number"&&v.test(V.raw)},isDecimalIntegerNumericToken(V){return V.type==="Numeric"&&v.test(V.value)},getFunctionNameWithKind(V){const ne=V.parent,ue=[];if((ne.type==="MethodDefinition"||ne.type==="PropertyDefinition"||V.type==="TSPropertySignature"||V.type==="TSMethodSignature")&&(ne.static&&ue.push("static"),!ne.computed&&ne.key?.type==="PrivateIdentifier"&&ue.push("private")),V.async&&ue.push("async"),V.generator&&ue.push("generator"),ne.type==="Property"||ne.type==="MethodDefinition"){if(ne.kind==="constructor")return"constructor";ne.kind==="get"?ue.push("getter"):ne.kind==="set"?ue.push("setter"):ue.push("method")}else V.type==="TSMethodSignature"?V.kind==="get"?ue.push("getter"):V.kind==="set"?ue.push("setter"):ue.push("method"):ne.type==="PropertyDefinition"?ue.push("method"):(V.type==="ArrowFunctionExpression"&&ue.push("arrow"),ue.push("function"));if(ne.type==="Property"||ne.type==="MethodDefinition"||ne.type==="PropertyDefinition")if(!ne.computed&&ne.key.type==="PrivateIdentifier")ue.push(`#${ne.key.name}`);else{const Ce=z(ne);Ce!==null?ue.push(`'${Ce}'`):V.id&&ue.push(`'${V.id.name}'`)}else V.type==="TSMethodSignature"?ue.push(`'${z(V)}'`):V.id&&ue.push(`'${V.id.name}'`);return ue.join(" ")},getFunctionHeadLoc(V,ne){const ue=V.parent;let Ce,qe;if(ue.type==="Property"||ue.type==="MethodDefinition"||ue.type==="PropertyDefinition"||ue.type==="TSPropertySignature"||ue.type==="TSMethodSignature")Ce=ue.loc.start,qe=Xe(V,ne).loc.start;else if(V.type==="ArrowFunctionExpression"){const _e=ne.getTokenBefore(V.body,Te);Ce=_e.loc.start,qe=_e.loc.end}else Ce=V.loc.start,qe=Xe(V,ne).loc.start;return{start:Object.assign({},Ce),end:Object.assign({},qe)}},getNextLocation(V,{line:ne,column:ue}){return ue<V.lines[ne-1].length?{line:ne,column:ue+1}:ne<V.lines.length?{line:ne+1,column:0}:null},getParenthesisedText(V,ne){let ue=V.getFirstToken(ne),Ce=V.getLastToken(ne);for(;V.getTokenBefore(ue)&&V.getTokenBefore(ue).type==="Punctuator"&&V.getTokenBefore(ue).value==="("&&V.getTokenAfter(Ce)&&V.getTokenAfter(Ce).type==="Punctuator"&&V.getTokenAfter(Ce).value===")";)ue=V.getTokenBefore(ue),Ce=V.getTokenAfter(Ce);return V.getText().slice(ue.range[0],Ce.range[1])},couldBeError(V){switch(V.type){case"Identifier":case"CallExpression":case"NewExpression":case"MemberExpression":case"TaggedTemplateExpression":case"YieldExpression":case"AwaitExpression":case"ChainExpression":return!0;case"AssignmentExpression":return["=","&&="].includes(V.operator)?a.exports.couldBeError(V.right):["||=","??="].includes(V.operator)?a.exports.couldBeError(V.left)||a.exports.couldBeError(V.right):!1;case"SequenceExpression":{const ne=V.expressions;return ne.length!==0&&a.exports.couldBeError(ne.at(-1))}case"LogicalExpression":return V.operator==="&&"?a.exports.couldBeError(V.right):a.exports.couldBeError(V.left)||a.exports.couldBeError(V.right);case"ConditionalExpression":return a.exports.couldBeError(V.consequent)||a.exports.couldBeError(V.alternate);default:return!1}},isNumericLiteral(V){return V.type==="Literal"&&(typeof V.value=="number"||!!V.bigint)},canTokensBeAdjacent(V,ne){const ue={ecmaVersion:o.latestEcmaVersion,comment:!0,range:!0};let Ce;if(typeof V=="string"){let _e;try{_e=o.tokenize(V,ue)}catch{return!1}const Ke=_e.comments;if(Ce=_e.at(-1),Ke.length){const Je=Ke.at(-1);(!Ce||Je.range[0]>Ce.range[0])&&(Ce=Je)}}else Ce=V;if(Ce.type==="Shebang"||Ce.type==="Hashbang")return!1;let qe;if(typeof ne=="string"){let _e;try{_e=o.tokenize(ne,ue)}catch{return!1}const Ke=_e.comments;if(qe=_e[0],Ke.length){const Je=Ke[0];(!qe||Je.range[0]<qe.range[0])&&(qe=Je)}}else qe=ne;if(Ce.type==="Punctuator"||qe.type==="Punctuator"){if(Ce.type==="Punctuator"&&qe.type==="Punctuator"){const _e=new Set(["+","++"]),Ke=new Set(["-","--"]);return!(_e.has(Ce.value)&&_e.has(qe.value)||Ke.has(Ce.value)&&Ke.has(qe.value))}return Ce.type==="Punctuator"&&Ce.value==="/"?!["Block","Line","RegularExpression"].includes(qe.type):!0}return!!(Ce.type==="String"||qe.type==="String"||Ce.type==="Template"||qe.type==="Template"||Ce.type!=="Numeric"&&qe.type==="Numeric"&&qe.value.startsWith(".")||Ce.type==="Block"||qe.type==="Block"||qe.type==="Line"||qe.type==="PrivateIdentifier")},getNameLocationInGlobalDirectiveComment(V,ne,ue){const Ce=new RegExp(`[\\s,]${t(ue)}(?:$|[\\s,:])`,"gu");Ce.lastIndex=ne.value.indexOf("global")+6;const qe=Ce.exec(ne.value),_e=V.getLocFromIndex(ne.range[0]+2+(qe?qe.index+1:0)),Ke={line:_e.line,column:_e.column+(qe?ue.length:1)};return{start:_e,end:Ke}},hasOctalOrNonOctalDecimalEscapeSequence(V){return A.test(V)},isStaticTemplateLiteral(V){return V.type==="TemplateLiteral"&&V.expressions.length===0},areBracesNecessary(V,ne){function ue(Je){return Je.type==="VariableDeclaration"?C.has(Je.kind):Je.type==="FunctionDeclaration"||Je.type==="ClassDeclaration"}function Ce(Je){return Je.value==="else"&&Je.type==="Keyword"}function qe(Je){const pe=ne.getTokenAfter(Je);return!!pe&&Ce(pe)}function _e(Je){switch(Je.type){case"IfStatement":return Je.alternate?_e(Je.alternate):!0;case"ForStatement":case"ForInStatement":case"ForOfStatement":case"LabeledStatement":case"WithStatement":case"WhileStatement":return _e(Je.body);default:return!1}}const Ke=V.body[0];return ue(Ke)||_e(Ke)&&qe(V)},isReferenceToGlobalVariable:ee,isLogicalExpression:dt,isCoalesceExpression:at,isMixedLogicalAndCoalesceExpressions:tt,isNullLiteral:N,getStaticStringValue:B,getStaticPropertyName:z,skipChainExpression:H,isSpecificId:re,isSpecificMemberAccess:Fe,equalLiteralValue:X,isSameReference:I,isLogicalAssignmentOperator:we,getSwitchCaseColonToken:Ee,getModuleExportName:Se,isConstant:te,isTopLevelExpressionStatement:Z,isDirective:fe,isStartOfExpressionStatement:De,needsPrecedingSemicolon:Le,isImportAttributeKey:me}}(ai)),ai.exports}var fi,Jd;function Ew(){if(Jd)return fi;Jd=1;const a=Ue();function e(p,u){if(p.length!==u.length)return!1;for(let r=0;r<p.length;r++){const m=p[r],i=u[r];if(m.type!==i.type||m.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,m){const i=p.parent;return i.type==="CallExpression"&&a.isSpecificMemberAccess(i.callee,r,m)&&i.arguments[u]===p}function l(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 fi={meta:{type:"suggestion",defaultOptions:[{enforceForTSTypes:!1,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"},enforceForTSTypes:{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 }}.",missingGetterInType:"Getter is not present for type {{ name }}.",missingSetterInType:"Setter is not present for type {{ name }}."}},create(p){const[{getWithoutSet:u,setWithoutGet:r,enforceForClassMembers:m,enforceForTSTypes:i}]=p.options,c=p.sourceCode;function h(C,v){C.type==="Property"?p.report({node:C,messageId:`${v}InObjectLiteral`,loc:a.getFunctionHeadLoc(C.value,c),data:{name:a.getFunctionNameWithKind(C.value)}}):C.type==="MethodDefinition"?p.report({node:C,messageId:`${v}InClass`,loc:a.getFunctionHeadLoc(C.value,c),data:{name:a.getFunctionNameWithKind(C.value)}}):C.type==="TSMethodSignature"?p.report({node:C,messageId:`${v}InType`,loc:a.getFunctionHeadLoc(C,c),data:{name:a.getFunctionNameWithKind(C)}}):p.report({node:C,messageId:`${v}InPropertyDescriptor`})}function s(C,v){for(const A of C)h(A,v)}function f(C){const v=[];let A=!1;for(let b=0;b<C.length;b++){const w=C[b];if(o(w)){const k=a.getStaticPropertyName(w),R=k!==null?k:c.getTokens(w.key);for(let F=0;F<v.length;F++){const L=v[F];if(n(L.key,R)){L.getters.push(...w.kind==="get"?[w]:[]),L.setters.push(...w.kind==="set"?[w]:[]),A=!0;break}}A||v.push({key:R,getters:w.kind==="get"?[w]:[],setters:w.kind==="set"?[w]:[]}),A=!1}}for(const{getters:b,setters:w}of v)r&&w.length&&!b.length&&s(w,"missingGetter"),u&&b.length&&!w.length&&s(b,"missingSetter")}function g(C){f(C.properties.filter(v=>v.type==="Property"))}function d(C){const v=new Set(C.properties.filter(w=>w.type==="Property"&&w.kind==="init"&&!w.computed).map(({key:w})=>w.name)),A=v.has("get"),b=v.has("set");r&&b&&!A&&h(C,"missingGetter"),u&&A&&!b&&h(C,"missingSetter")}function E(C){g(C),l(C)&&d(C)}function S(C){const v=C.body.filter(A=>A.type==="MethodDefinition");f(v.filter(A=>A.static)),f(v.filter(A=>!A.static))}function x(C){const A=(C.type==="TSTypeLiteral"?C.members:C.body).filter(b=>b.type==="TSMethodSignature");f(A)}const T={};return(r||u)&&(T.ObjectExpression=E,m&&(T.ClassBody=S),i&&(T["TSTypeLiteral, TSInterfaceBody"]=x)),T}},fi}var pi,Yd;function Sw(){if(Yd)return pi;Yd=1;const a=Ue();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",url:"https://eslint.style"},rule:{name:"array-bracket-newline",url:"https://eslint.style/rules/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 c=!1,h=!1,s;return i?i==="consistent"?(c=!0,s=Number.POSITIVE_INFINITY):i==="always"||i.minItems===0?s=0:i==="never"?s=Number.POSITIVE_INFINITY:(h=!!i.multiline,s=i.minItems||Number.POSITIVE_INFINITY):(c=!1,h=!0,s=Number.POSITIVE_INFINITY),{consistent:c,multiline:h,minItems:s}}function t(i){const c=o(i);return{ArrayExpression:c,ArrayPattern:c}}function l(i,c){e.report({node:i,loc:c.loc,messageId:"unexpectedOpeningLinebreak",fix(h){const s=n.getTokenAfter(c,{includeComments:!0});return a.isCommentToken(s)?null:h.removeRange([c.range[1],s.range[0]])}})}function p(i,c){e.report({node:i,loc:c.loc,messageId:"unexpectedClosingLinebreak",fix(h){const s=n.getTokenBefore(c,{includeComments:!0});return a.isCommentToken(s)?null:h.removeRange([s.range[1],c.range[0]])}})}function u(i,c){e.report({node:i,loc:c.loc,messageId:"missingOpeningLinebreak",fix(h){return h.insertTextAfter(c,`
60
- `)}})}function r(i,c){e.report({node:i,loc:c.loc,messageId:"missingClosingLinebreak",fix(h){return h.insertTextBefore(c,`
61
- `)}})}function m(i){const c=i.elements,s=t(e.options[0])[i.type],f=n.getFirstToken(i),g=n.getLastToken(i),d=n.getTokenAfter(f,{includeComments:!0}),E=n.getTokenBefore(g,{includeComments:!0}),S=n.getTokenAfter(f),x=n.getTokenBefore(g);c.length>=s.minItems||s.multiline&&c.length>0&&d.loc.start.line!==E.loc.end.line||c.length===0&&d.type==="Block"&&d.loc.start.line!==E.loc.end.line&&d===E||s.consistent&&f.loc.end.line!==S.loc.start.line?(a.isTokenOnSameLine(f,S)&&u(i,f),a.isTokenOnSameLine(x,g)&&r(i,g)):(a.isTokenOnSameLine(f,S)||l(i,f),a.isTokenOnSameLine(x,g)||p(i,g))}return{ArrayPattern:m,ArrayExpression:m}}},pi}var mi,Qd;function bw(){if(Qd)return mi;Qd=1;const a=Ue();return mi={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",url:"https://eslint.style"},rule:{name:"array-bracket-spacing",url:"https://eslint.style/rules/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 l={spaced:n,singleElementException:t("singleValue"),objectsInArraysException:t("objectsInArrays"),arraysInArraysException:t("arraysInArrays")};function p(s,f){const g=o.getTokenAfter(f);e.report({node:s,loc:{start:f.loc.end,end:g.loc.start},messageId:"unexpectedSpaceAfter",data:{tokenValue:f.value},fix(d){return d.removeRange([f.range[1],g.range[0]])}})}function u(s,f){const g=o.getTokenBefore(f);e.report({node:s,loc:{start:g.loc.end,end:f.loc.start},messageId:"unexpectedSpaceBefore",data:{tokenValue:f.value},fix(d){return d.removeRange([g.range[1],f.range[0]])}})}function r(s,f){e.report({node:s,loc:f.loc,messageId:"missingSpaceAfter",data:{tokenValue:f.value},fix(g){return g.insertTextAfter(f," ")}})}function m(s,f){e.report({node:s,loc:f.loc,messageId:"missingSpaceBefore",data:{tokenValue:f.value},fix(g){return g.insertTextBefore(f," ")}})}function i(s){return s&&(s.type==="ObjectExpression"||s.type==="ObjectPattern")}function c(s){return s&&(s.type==="ArrayExpression"||s.type==="ArrayPattern")}function h(s){if(l.spaced&&s.elements.length===0)return;const f=o.getFirstToken(s),g=o.getFirstToken(s,1),d=s.typeAnnotation?o.getTokenBefore(s.typeAnnotation):o.getLastToken(s),E=o.getTokenBefore(d),S=s.elements[0],x=s.elements.at(-1),T=l.objectsInArraysException&&i(S)||l.arraysInArraysException&&c(S)||l.singleElementException&&s.elements.length===1?!l.spaced:l.spaced,C=l.objectsInArraysException&&i(x)||l.arraysInArraysException&&c(x)||l.singleElementException&&s.elements.length===1?!l.spaced:l.spaced;a.isTokenOnSameLine(f,g)&&(T&&!o.isSpaceBetweenTokens(f,g)&&r(s,f),!T&&o.isSpaceBetweenTokens(f,g)&&p(s,f)),f!==E&&a.isTokenOnSameLine(E,d)&&(C&&!o.isSpaceBetweenTokens(E,d)&&m(s,d),!C&&o.isSpaceBetweenTokens(E,d)&&u(s,d))}return{ArrayPattern:h,ArrayExpression:h}}},mi}var hi,Zd;function xw(){if(Zd)return hi;Zd=1;const a=Ue(),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 c of i)if(c.reachable)return!0;return!1}function l(i){return["from","of","isArray"].includes(i)?"Array.".concat(i):"Array.prototype.".concat(i)}function p(i){let c=i;for(;c;){const h=c.parent;switch(h.type){case"LogicalExpression":case"ConditionalExpression":case"ChainExpression":c=h;break;case"ReturnStatement":{const s=a.getUpperFunction(h);if(s===null||!a.isCallee(s))return null;c=s.parent;break}case"CallExpression":return a.isArrayFromMethod(h.callee)&&h.arguments.length>=2&&h.arguments[1]===c?"from":o(h.callee)&&h.arguments.length>=1&&h.arguments[0]===c?a.getStaticPropertyName(h.callee):null;default:return null}}return null}function u(i){return i.type==="UnaryExpression"&&i.operator==="void"}function r(i,c,h){const s=a.getPrecedence(c)<a.getPrecedence({type:"UnaryExpression",operator:"void"})&&!a.isParenthesised(i,c),f=i.getTokenBefore(c,c.parent.type==="ArrowFunctionExpression"?a.isArrowToken:E=>E.type==="Keyword"&&E.value==="return"),g=i.getTokenAfter(f),d=f.value==="return"&&f.range[1]===g.range[0];return[h.insertTextBefore(g,`${d?" ":""}void ${s?"(":""}`),h.insertTextAfter(c,s?")":"")]}function m(i,c,h){const s=i.getTokenBefore(c.body,a.isArrowToken),f=i.getTokenAfter(s),g=i.getLastToken(c);return[h.insertTextBefore(f,"{"),h.insertTextAfter(g,"}")]}return hi={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[c]=i.options,h=i.sourceCode;let s={arrayMethodName:null,upper:null,codePath:null,hasReturn:!1,shouldCheck:!1,node:null};function f(g){if(!s.shouldCheck)return;const d={messageId:"",suggest:[]};if(s.arrayMethodName==="forEach"){if(c.checkForEach&&g.type==="ArrowFunctionExpression"&&g.expression)if(c.allowVoid){if(u(g.body))return;d.messageId="expectedNoReturnValue",d.suggest=[{messageId:"wrapBraces",fix(E){return m(h,g,E)}},{messageId:"prependVoid",fix(E){return r(h,g.body,E)}}]}else d.messageId="expectedNoReturnValue",d.suggest=[{messageId:"wrapBraces",fix(E){return m(h,g,E)}}]}else g.body.type==="BlockStatement"&&t(s.currentSegments)&&(d.messageId=s.hasReturn?"expectedAtEnd":"expectedInside");if(d.messageId){const E=a.getFunctionNameWithKind(g);i.report({node:g,loc:a.getFunctionHeadLoc(g,h),messageId:d.messageId,data:{name:E,arrayMethodName:l(s.arrayMethodName)},suggest:d.suggest.length!==0?d.suggest:null})}}return{onCodePathStart(g,d){let E=null;e.test(d.type)&&(E=p(d)),s={arrayMethodName:E,upper:s,codePath:g,hasReturn:!1,shouldCheck:E&&!d.async&&!d.generator,node:d,currentSegments:new Set}},onCodePathEnd(){s=s.upper},onUnreachableCodePathSegmentStart(g){s.currentSegments.add(g)},onUnreachableCodePathSegmentEnd(g){s.currentSegments.delete(g)},onCodePathSegmentStart(g){s.currentSegments.add(g)},onCodePathSegmentEnd(g){s.currentSegments.delete(g)},ReturnStatement(g){if(!s.shouldCheck)return;s.hasReturn=!0;const d={messageId:"",suggest:[]};if(s.arrayMethodName==="forEach"){if(c.checkForEach&&g.argument)if(c.allowVoid){if(u(g.argument))return;d.messageId="expectedNoReturnValue",d.suggest=[{messageId:"prependVoid",fix(E){return r(h,g.argument,E)}}]}else d.messageId="expectedNoReturnValue"}else!c.allowImplicit&&!g.argument&&(d.messageId="expectedReturnValue");d.messageId&&i.report({node:g,messageId:d.messageId,data:{name:a.getFunctionNameWithKind(s.node),arrayMethodName:l(s.arrayMethodName)},suggest:d.suggest.length!==0?d.suggest:null})},"FunctionExpression:exit":f,"ArrowFunctionExpression:exit":f}}},hi}var di,eg;function Cw(){if(eg)return di;eg=1;const a=Ue();return di={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",url:"https://eslint.style"},rule:{name:"array-element-newline",url:"https://eslint.style/rules/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 m=!1,i=!1,c;const h=r||"always";return h==="always"||h.minItems===0?c=0:h==="never"?c=Number.POSITIVE_INFINITY:h==="consistent"?(m=!0,c=Number.POSITIVE_INFINITY):(i=!!h.multiline,c=h.minItems||Number.POSITIVE_INFINITY),{consistent:m,multiline:i,minItems:c}}function t(r){if(r&&(r.ArrayExpression||r.ArrayPattern)){let i,c;return r.ArrayExpression&&(i=o(r.ArrayExpression)),r.ArrayPattern&&(c=o(r.ArrayPattern)),{ArrayExpression:i,ArrayPattern:c}}const m=o(r);return{ArrayExpression:m,ArrayPattern:m}}function l(r){const m=n.getTokenBefore(r,{includeComments:!0});e.report({loc:{start:m.loc.end,end:r.loc.start},messageId:"unexpectedLineBreak",fix(i){if(a.isCommentToken(m))return null;if(!a.isTokenOnSameLine(m,r))return i.replaceTextRange([m.range[1],r.range[0]]," ");const c=n.getTokenBefore(m,{includeComments:!0});return a.isCommentToken(c)?null:i.replaceTextRange([c.range[1],m.range[0]],"")}})}function p(r){const m=n.getTokenBefore(r,{includeComments:!0});e.report({loc:{start:m.loc.end,end:r.loc.start},messageId:"missingLineBreak",fix(i){return i.replaceTextRange([m.range[1],r.range[0]],`
62
- `)}})}function u(r){const m=r.elements,c=t(e.options[0])[r.type];if(!c)return;let h=!1;c.multiline&&(h=m.filter(g=>g!==null).some(g=>g.loc.start.line!==g.loc.end.line));let s=0;for(let g=0;g<r.elements.length;g++){const d=r.elements[g],E=m[g-1];if(g===0||d===null||E===null)continue;const S=n.getFirstTokenBetween(E,d,a.isCommaToken),x=n.getTokenBefore(S),T=n.getTokenAfter(S);a.isTokenOnSameLine(x,T)||s++}const f=m.length>=c.minItems||c.multiline&&h||c.consistent&&s>0&&s<r.elements.length;m.forEach((g,d)=>{const E=m[d-1];if(d===0||g===null||E===null)return;const S=n.getFirstTokenBetween(E,g,a.isCommaToken),x=n.getTokenBefore(S),T=n.getTokenAfter(S);f?a.isTokenOnSameLine(x,T)&&p(T):a.isTokenOnSameLine(x,T)||l(T)})}return{ArrayPattern:u,ArrayExpression:u}}},di}var gi,tg;function ww(){if(tg)return gi;tg=1;const a=Ue();return gi={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",l=n[0]==="never",p=n[1]&&n[1].requireReturnForObjectLiteral,u=e.sourceCode;let r=null;function m(s){return s&&s.type==="Punctuator"&&/^[([/`+-]/u.test(s.value)}function i(s){let f=s;for(;!a.isParenthesised(u,f);)f=f.parent;return u.getTokenAfter(f)}function c(s){return s&&s.parent?s.parent.type==="ForStatement"&&s.parent.init===s?!0:c(s.parent):!1}function h(s){const f=s.body;if(f.type==="BlockStatement"){const g=f.body;if(g.length!==1&&!l||t&&p&&g[0].type==="ReturnStatement"&&g[0].argument&&g[0].argument.type==="ObjectExpression")return;if(l||t&&g[0].type==="ReturnStatement"){let d;g.length===0?d="unexpectedEmptyBlock":g.length>1||g[0].type!=="ReturnStatement"?d="unexpectedOtherBlock":g[0].argument===null?d="unexpectedSingleBlock":a.isOpeningBraceToken(u.getFirstToken(g[0],{skip:1}))?d="unexpectedObjectBlock":d="unexpectedSingleBlock",e.report({node:s,loc:f.loc,messageId:d,fix(E){const S=[];if(g.length!==1||g[0].type!=="ReturnStatement"||!g[0].argument||m(u.getTokenAfter(f)))return S;const x=u.getFirstToken(f),T=u.getLastToken(f),C=u.getFirstToken(g[0],1),v=u.getLastToken(g[0]);return u.commentsExistBetween(x,C)||u.commentsExistBetween(v,T)?S.push(E.remove(x),E.remove(T),E.remove(u.getTokenAfter(x))):S.push(E.removeRange([x.range[0],C.range[0]]),E.removeRange([v.range[1],T.range[1]])),(a.isOpeningBraceToken(C)||g[0].argument.type==="SequenceExpression"||r.hasInOperator&&c(s))&&(a.isParenthesised(u,g[0].argument)||S.push(E.insertTextBefore(C,"("),E.insertTextAfter(v,")"))),a.isSemicolonToken(v)&&S.push(E.remove(v)),S}})}}else(o||t&&p&&f.type==="ObjectExpression")&&e.report({node:s,loc:f.loc,messageId:"expectedBlock",fix(g){const d=[],E=u.getTokenBefore(f,a.isArrowToken),[S,x]=u.getTokensAfter(E,{count:2}),T=u.getLastToken(s);let C=null;if(a.isOpeningParenToken(S)&&a.isOpeningBraceToken(x)){const v=u.getNodeByRangeIndex(x.range[0]);v.type==="ObjectExpression"&&(C=v)}if(C){const v=S,A=x;a.isTokenOnSameLine(v,A)?d.push(g.replaceText(v,"{return ")):d.push(g.replaceText(v,"{"),g.insertTextBefore(A,"return ")),d.push(g.remove(i(C))),d.push(g.insertTextAfter(T,"}"))}else d.push(g.insertTextBefore(S,"{return ")),d.push(g.insertTextAfter(T,"}"));return d}})}return{"BinaryExpression[operator='in']"(){let s=r;for(;s;)s.hasInOperator=!0,s=s.upper},ArrowFunctionExpression(){r={upper:r,hasInOperator:!1}},"ArrowFunctionExpression:exit"(s){h(s),r=r.upper}}}},gi}var yi,rg;function Aw(){if(rg)return yi;rg=1;const a=Ue();function e(n){return n.body.type==="BlockStatement"}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",url:"https://eslint.style"},rule:{name:"arrow-parens",url:"https://eslint.style/rules/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,l=n.sourceCode;function p(i){const c=l.getTokenBefore(i.params[0]);return c&&a.isOpeningParenToken(c)&&i.range[0]<=c.range[0]?c:null}function u(i){return l.getTokenAfter(i.params[0],a.isClosingParenToken)}function r(i,c){return l.commentsExistBetween(c,u(i))}function m(i,c){const h=i.async?1:0;return l.getFirstToken(i,{skip:h})!==c}return{"ArrowFunctionExpression[params.length=1]"(i){const c=!o||t&&e(i),h=p(i),s=h!==null,[f]=i.params;c&&!s&&n.report({node:i,messageId:t?"expectedParensBlock":"expectedParens",loc:f.loc,*fix(g){yield g.insertTextBefore(f,"("),yield g.insertTextAfter(f,")")}}),!c&&s&&f.type==="Identifier"&&!f.typeAnnotation&&!i.returnType&&!r(i,h)&&!m(i,h)&&n.report({node:i,messageId:t?"unexpectedParensInline":"unexpectedParens",loc:f.loc,*fix(g){const d=l.getTokenBefore(h),E=u(i);d&&d.range[1]===h.range[0]&&!a.canTokensBeAdjacent(d,l.getFirstToken(f))&&(yield g.insertTextBefore(h," ")),yield g.removeRange([h.range[0],f.range[0]]),yield g.removeRange([f.range[1],E.range[1]])}})}}}},yi}var vi,ng;function Tw(){if(ng)return vi;ng=1;const a=Ue();return 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",url:"https://eslint.style"},rule:{name:"arrow-spacing",url:"https://eslint.style/rules/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 l(u){const r=u.arrow.range[0]-u.before.range[1],m=u.after.range[0]-u.arrow.range[1];return{before:r,after:m}}function p(u){const r=t(u),m=l(r);n.before?m.before===0&&e.report({node:r.before,messageId:"expectedBefore",fix(i){return i.insertTextBefore(r.arrow," ")}}):m.before>0&&e.report({node:r.before,messageId:"unexpectedBefore",fix(i){return i.removeRange([r.before.range[1],r.arrow.range[0]])}}),n.after?m.after===0&&e.report({node:r.after,messageId:"expectedAfter",fix(i){return i.insertTextAfter(r.arrow," ")}}):m.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}}},vi}var Ei,sg;function kw(){return sg||(sg=1,Ei={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 l(u,r){const m=u.identifier,i=r.name.loc.start;a.report({node:m,messageId:"outOfScope",data:{name:m.name,definitionLine:i.line,definitionColumn:i.column+1}})}function p(u){if(u.kind!=="var")return;const r=e.at(-1);function m(c){const h=c.identifier.range;return h[0]<r[0]||h[1]>r[1]}const i=n.getDeclaredVariables(u);for(let c=0;c<i.length;++c)i[c].references.filter(m).forEach(h=>l(h,i[c].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}}}),Ei}var Si,ag;function Dw(){if(ag)return Si;ag=1;const a=Ue();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",url:"https://eslint.style"},rule:{name:"block-spacing",url:"https://eslint.style/rules/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 l(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,m){return!a.isTokenOnSameLine(r,m)||t.isSpaceBetweenTokens(r,m)===n}function u(r){const m=l(r),i=t.getLastToken(r),c=t.getTokenAfter(m,{includeComments:!0}),h=t.getTokenBefore(i,{includeComments:!0});if(!(m.type!=="Punctuator"||m.value!=="{"||i.type!=="Punctuator"||i.value!=="}"||c===i)&&!(!n&&c.type==="Line")){if(!p(m,c)){let s=m.loc;o==="extra"&&(s={start:m.loc.end,end:c.loc.start}),e.report({node:r,loc:s,messageId:o,data:{location:"after",token:m.value},fix(f){return n?f.insertTextBefore(c," "):f.removeRange([m.range[1],c.range[0]])}})}if(!p(h,i)){let s=i.loc;o==="extra"&&(s={start:h.loc.end,end:i.loc.start}),e.report({node:r,loc:s,messageId:o,data:{location:"before",token:i.value},fix(f){return n?f.insertTextAfter(h," "):f.removeRange([h.range[1],i.range[0]])}})}}}return{BlockStatement:u,StaticBlock:u,SwitchStatement:u}}},Si}var bi,ig;function Iw(){if(ig)return bi;ig=1;const a=Ue();return bi={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",url:"https://eslint.style"},rule:{name:"brace-style",url:"https://eslint.style/rules/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 l(r,m){const i=[r.range[1],m.range[0]];return t.text.slice(i[0],i[1]).trim()?null:h=>h.replaceTextRange(i," ")}function p(r,m){const i=t.getTokenBefore(r),c=t.getTokenAfter(r),h=t.getTokenBefore(m),s=o.allowSingleLine&&a.isTokenOnSameLine(r,m);n!=="allman"&&!a.isTokenOnSameLine(i,r)&&e.report({node:r,messageId:"nextLineOpen",fix:l(i,r)}),n==="allman"&&a.isTokenOnSameLine(i,r)&&!s&&e.report({node:r,messageId:"sameLineOpen",fix:f=>f.insertTextBefore(r,`
63
- `)}),a.isTokenOnSameLine(r,c)&&c!==m&&!s&&e.report({node:r,messageId:"blockSameLine",fix:f=>f.insertTextAfter(r,`
64
- `)}),h!==r&&!s&&a.isTokenOnSameLine(h,m)&&e.report({node:m,messageId:"singleLineClose",fix:f=>f.insertTextBefore(m,`
65
- `)})}function u(r){const m=t.getTokenAfter(r);n==="1tbs"&&!a.isTokenOnSameLine(r,m)&&e.report({node:r,messageId:"nextLineClose",fix:l(r,m)}),n!=="1tbs"&&a.isTokenOnSameLine(r,m)&&e.report({node:r,messageId:"sameLineClose",fix:i=>i.insertTextAfter(r,`
66
- `)})}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 m=t.getLastToken(r),i=t.getTokenBefore(r.cases.length?r.cases[0]:m);p(i,m)},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))}}}},bi}var xi,og;function Pw(){return og||(og=1,xi={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 l(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(!l(u))return;const r=o(u,["BlockStatement","ReturnStatement","ArrowFunctionExpression"])||{};if(r.type!=="ReturnStatement"&&r.type!=="ArrowFunctionExpression"){if(r.type==="BlockStatement"){const m=r.body.at(-1);if(p(u,m)){const i=r.parent.type;if(i==="FunctionExpression"||i==="FunctionDeclaration"||i==="ArrowFunctionExpression")return}if(m.type==="ReturnStatement"&&p(u,r.body.at(-2)))return}o(u,["FunctionDeclaration","FunctionExpression","ArrowFunctionExpression"])&&a.report({node:u,messageId:"missingReturn"})}}}}}),xi}var Ci,lg;function Fw(){if(lg)return Ci;lg=1;const a=Ue();return Ci={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:l,properties:p}]=e.options,u=e.sourceCode,r=new Set;function m(d){const E=d.replace(/^_+|_+$/gu,"");return E.includes("_")&&E!==E.toUpperCase()}function i(d){return n.some(E=>d===E||d.match(new RegExp(E,"u")))}function c(d){return!m(d)||i(d)}function h(d){const E=d.parent;switch(E.type){case"AssignmentExpression":case"AssignmentPattern":return E.left===d;case"Property":return E.parent.type==="ObjectPattern"&&E.value===d;case"ArrayPattern":case"RestElement":return!0;default:return!1}}function s(d){const E=d.name,S=d.parent.type==="AssignmentPattern"?d.parent:d,x=S.parent;switch(x.type){case"Property":return(x.parent.type==="ObjectPattern"||x.parent.type==="ObjectExpression")&&x.value===S&&!x.computed&&x.key.type==="Identifier"&&x.key.name===E;case"ImportSpecifier":return x.local===d&&a.getModuleExportName(x.imported)===E;default:return!1}}function f(d){r.has(d.range[0])||(r.add(d.range[0]),e.report({node:d,messageId:d.type==="PrivateIdentifier"?"notCamelCasePrivate":"notCamelCase",data:{name:d.name}}))}function g(d){d.parent.type==="CallExpression"||d.parent.type==="NewExpression"||d.parent.type==="AssignmentPattern"&&d.parent.right===d||o&&s(d)||a.isImportAttributeKey(d)||f(d)}return{Program(d){const E=u.getScope(d);if(!t){for(const S of E.variables)if(!(S.identifiers.length>0||c(S.name)))for(const x of S.references)g(x.identifier)}for(const S of E.through){const x=S.identifier;c(x.name)||a.isImportAttributeKey(x)||g(x)}},[["VariableDeclaration","FunctionDeclaration","FunctionExpression","ArrowFunctionExpression","ClassDeclaration","ClassExpression","CatchClause"]](d){for(const E of u.getDeclaredVariables(d)){if(c(E.name))continue;const S=E.identifiers[0];o&&s(S)||f(S);for(const x of E.references)x.init||g(x.identifier)}},[["ObjectExpression > Property[computed!=true] > Identifier.key","MethodDefinition[computed!=true] > Identifier.key","PropertyDefinition[computed!=true] > Identifier.key","MethodDefinition > PrivateIdentifier.key","PropertyDefinition > PrivateIdentifier.key"]](d){p==="never"||a.isImportAttributeKey(d)||c(d.name)||f(d)},"MemberExpression[computed!=true] > Identifier.property"(d){p==="never"||!h(d.parent)||c(d.name)||f(d)},ImportDeclaration(d){for(const E of u.getDeclaredVariables(d)){if(c(E.name))continue;const S=E.identifiers[0];l&&s(S)||f(S);for(const x of E.references)g(x.identifier)}},[["ExportAllDeclaration > Identifier.exported","ExportSpecifier > Identifier.exported"]](d){c(d.name)||f(d)},[["LabeledStatement > Identifier.label","BreakStatement > Identifier.label","ContinueStatement > Identifier.label"]](d){c(d.name)||f(d)}}}},Ci}var wi,ug;function Rw(){if(ug)return wi;ug=1;const e=Ue().COMMENTS_IGNORE_PATTERN,n=/\s/gu,o=/^\s*[^:/?#\s]+:\/\/[^?#]/u,t=new RegExp("\\p{L}","u"),l={type:"object",properties:{ignorePattern:{type:"string"},ignoreInlineComments:{type:"boolean"},ignoreConsecutiveComments:{type:"boolean"}},additionalProperties:!1},p={ignorePattern:"",ignoreInlineComments:!1,ignoreConsecutiveComments:!1};function u(i,c){return Object.assign({},p,i[c]||i)}function r(i={}){return{Line:u(i,"line"),Block:u(i,"block")}}function m(i){Object.keys(i).forEach(c=>{const h=i[c].ignorePattern;if(h){const s=RegExp(`^\\s*(?:${h})`,"u");i[c].ignorePatternRegExp=s}})}return wi={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:[l,{type:"object",properties:{line:l,block:l},additionalProperties:!1}]}],messages:{unexpectedLowercaseComment:"Comments should not begin with a lowercase character.",unexpectedUppercaseComment:"Comments should not begin with an uppercase character."}},create(i){const c=i.options[0]||"always",h=r(i.options[1]),s=i.sourceCode;m(h);function f(S){const x=s.getTokenBefore(S,{includeComments:!0}),T=s.getTokenAfter(S,{includeComments:!0});return!!(x&&T&&S.loc.start.line===x.loc.end.line&&S.loc.end.line===T.loc.start.line)}function g(S){const x=s.getTokenBefore(S,{includeComments:!0});return!!(x&&["Block","Line"].includes(x.type))}function d(S,x){if(e.test(S.value))return!0;const T=S.value.replace(/\*/gu,"");if(x.ignorePatternRegExp&&x.ignorePatternRegExp.test(T)||x.ignoreInlineComments&&f(S)||x.ignoreConsecutiveComments&&g(S)||o.test(T))return!0;const C=T.replace(n,"");if(C.length===0)return!0;const[v]=C;if(!t.test(v))return!0;const A=v!==v.toLocaleLowerCase(),b=v!==v.toLocaleUpperCase();return!(c==="always"&&b||c==="never"&&A)}function E(S){const x=h[S.type];if(!d(S,x)){const C=c==="always"?"unexpectedLowercaseComment":"unexpectedUppercaseComment";i.report({node:null,loc:S.loc,messageId:C,fix(v){const A=S.value.match(t),b=A[0],w=S.range[0]+A.index+2;return v.replaceTextRange([w,w+b.length],c==="always"?b.toLocaleUpperCase():b.toLocaleLowerCase())}})}}return{Program(){s.getAllComments().filter(x=>x.type!=="Shebang").forEach(E)}}}},wi}var Ai,cg;function _w(){if(cg)return Ai;cg=1;const a=Ue();return Ai={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:l}=n,p=new Set(n.exceptMethods),u=[];function r(){u.push(!1)}function m(){return u.pop()}function i(){r()}function c(d){switch(d.type){case"MethodDefinition":return!d.static&&d.kind!=="constructor";case"AccessorProperty":case"PropertyDefinition":return!d.static&&o;default:return!1}}function h(d){const E=d.parent.parent;return E?.type==="ClassDeclaration"&&E.implements?.length>0}function s(d){if(c(d)){if(d.computed)return!0;if(t&&d.override||l&&h(d)&&(l==="all"||l==="public-fields"&&d.key.type!=="PrivateIdentifier"&&(!d.accessibility||d.accessibility==="public")))return!1;const E=d.key.type==="PrivateIdentifier"?"#":"",S=d.key.type==="Literal"?a.getStaticStringValue(d.key):d.key.name||"";return!p.has(E+S)}return!1}function f(d){const E=m();s(d.parent)&&!E&&e.report({node:d,loc:a.getFunctionHeadLoc(d,e.sourceCode),messageId:"missingThis",data:{name:a.getFunctionNameWithKind(d)}})}function g(){u.length&&(u[u.length-1]=!0)}return{FunctionDeclaration:i,"FunctionDeclaration:exit":f,FunctionExpression:i,"FunctionExpression:exit":f,"AccessorProperty > *.key:exit":r,"AccessorProperty:exit":m,"PropertyDefinition > *.key:exit":r,"PropertyDefinition:exit":m,StaticBlock:r,"StaticBlock:exit":m,ThisExpression:g,Super:g,...o&&{"AccessorProperty > ArrowFunctionExpression.value":i,"AccessorProperty > ArrowFunctionExpression.value:exit":f,"PropertyDefinition > ArrowFunctionExpression.value":i,"PropertyDefinition > ArrowFunctionExpression.value:exit":f}}}},Ai}var Ti,fg;function Bw(){if(fg)return Ti;fg=1;const a=Ue(),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,l){return typeof t=="string"?{arrays:t,objects:t,imports:t,exports:t,functions:l<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 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",url:"https://eslint.style"},rule:{name:"comma-dangle",url:"https://eslint.style/rules/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 l=o(t.options[0],t.languageOptions.ecmaVersion),p=t.sourceCode;function u(g){function d(E){return E.at(-1)}switch(g.type){case"ObjectExpression":case"ObjectPattern":return d(g.properties);case"ArrayExpression":case"ArrayPattern":return d(g.elements);case"ImportDeclaration":case"ExportNamedDeclaration":return d(g.specifiers);case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":return d(g.params);case"CallExpression":case"NewExpression":return d(g.arguments);default:return null}}function r(g,d){switch(g.type){case"ObjectExpression":case"ArrayExpression":case"CallExpression":case"NewExpression":return p.getLastToken(g,1);default:{const E=p.getTokenAfter(d);return a.isCommaToken(E)?E:p.getLastToken(d)}}}function m(g){const d=u(g);if(!d)return!1;const E=r(g,d);return p.getTokenAfter(E).loc.end.line!==E.loc.end.line}function i(g){const d=u(g);if(!d||g.type==="ImportDeclaration"&&d.type!=="ImportSpecifier")return;const E=r(g,d);a.isCommaToken(E)&&t.report({node:d,loc:E.loc,messageId:"unexpected",*fix(S){yield S.remove(E),yield S.insertTextBefore(p.getTokenBefore(E),""),yield S.insertTextAfter(p.getTokenAfter(E),"")}})}function c(g){const d=u(g);if(!d||g.type==="ImportDeclaration"&&d.type!=="ImportSpecifier")return;if(!n(d)){i(g);return}const E=r(g,d);E.value!==","&&t.report({node:d,loc:{start:E.loc.end,end:a.getNextLocation(p,E.loc.end)},messageId:"missing",*fix(S){yield S.insertTextAfter(E,","),yield S.insertTextBefore(E,""),yield S.insertTextAfter(p.getTokenAfter(E),"")}})}function h(g){m(g)?c(g):i(g)}function s(g){m(g)||i(g)}const f={always:c,"always-multiline":h,"only-multiline":s,never:i,ignore(){}};return{ObjectExpression:f[l.objects],ObjectPattern:f[l.objects],ArrayExpression:f[l.arrays],ArrayPattern:f[l.arrays],ImportDeclaration:f[l.imports],ExportNamedDeclaration:f[l.exports],FunctionDeclaration:f[l.functions],FunctionExpression:f[l.functions],ArrowFunctionExpression:f[l.functions],CallExpression:f[l.functions],NewExpression:f[l.functions]}}},Ti}var ki,pg;function Lw(){if(pg)return ki;pg=1;const a=Ue();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",url:"https://eslint.style"},rule:{name:"comma-spacing",url:"https://eslint.style/rules/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},l=[];function p(r,m,i){e.report({node:r,fix(c){if(t[m])return m==="before"?c.insertTextBefore(r," "):c.insertTextAfter(r," ");let h,s;const f="";return m==="before"?(h=i.range[1],s=r.range[0]):(h=r.range[1],s=i.range[0]),c.replaceTextRange([h,s],f)},messageId:t[m]?"missing":"unexpected",data:{loc:m}})}function u(r){let m=n.getFirstToken(r);r.elements.forEach(i=>{let c;i===null?(c=n.getTokenAfter(m),a.isCommaToken(c)&&l.push(c)):c=n.getTokenAfter(i),m=c})}return{"Program:exit"(){o.forEach((r,m)=>{if(!a.isCommaToken(r))return;const i=o[m-1],c=o[m+1];i&&!a.isCommaToken(i)&&!l.includes(r)&&a.isTokenOnSameLine(i,r)&&t.before!==n.isSpaceBetweenTokens(i,r)&&p(r,"before",i),c&&!a.isCommaToken(c)&&!a.isClosingParenToken(c)&&!a.isClosingBracketToken(c)&&!a.isClosingBraceToken(c)&&!(!t.after&&c.type==="Line")&&a.isTokenOnSameLine(r,c)&&t.after!==n.isSpaceBetweenTokens(r,c)&&p(r,"after",c)})},ArrayExpression:u,ArrayPattern:u}}},ki}var Di,mg;function Ow(){if(mg)return Di;mg=1;const a=Ue();return Di={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",url:"https://eslint.style"},rule:{name:"comma-style",url:"https://eslint.style/rules/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 c=0;c<i.length;c++)t[i[c]]=e.options[1].exceptions[i[c]]}function l(i,c){switch(i){case"between":return`,${c.replace(a.LINEBREAK_MATCHER,"")}`;case"first":return`${c},`;case"last":return`,${c}`;default:return""}}function p(i,c,h,s){const f=o.text.slice(c.range[1],h.range[0])+o.text.slice(h.range[1],s.range[0]),g=[c.range[1],s.range[0]];return function(d){return d.replaceTextRange(g,l(i,f))}}function u(i,c,h,s){if(!(a.isTokenOnSameLine(c,h)&&a.isTokenOnSameLine(i,c)))if(!a.isTokenOnSameLine(c,h)&&!a.isTokenOnSameLine(i,c)){const f=o.getCommentsAfter(c)[0],g=f&&f.type==="Block"&&a.isTokenOnSameLine(c,f)?n:"between";e.report({node:s,loc:c.loc,messageId:"unexpectedLineBeforeAndAfterComma",fix:p(g,i,c,h)})}else n==="first"&&!a.isTokenOnSameLine(c,h)?e.report({node:s,loc:c.loc,messageId:"expectedCommaFirst",fix:p(n,i,c,h)}):n==="last"&&a.isTokenOnSameLine(c,h)&&e.report({node:s,loc:c.loc,messageId:"expectedCommaLast",fix:p(n,i,c,h)})}function r(i,c){const h=i[c],s=i.type==="ArrayExpression"||i.type==="ArrayPattern";if(h.length>1||s){let f=o.getFirstToken(i);if(h.forEach(g=>{const d=g?o.getTokenBefore(g):f,E=g?o.getFirstToken(g):o.getTokenAfter(d),S=g||E;if(a.isCommaToken(d)&&u(f,d,E,S),g){const x=o.getTokenAfter(g,a.isNotClosingParenToken);f=x?o.getTokenBefore(x):o.ast.tokens.at(-1)}else f=E}),s){const g=o.getLastToken(i),d=o.getTokenBefore(g);a.isCommaToken(d)&&u(o.getTokenBefore(d),d,g,g)}}}const m={};return t.VariableDeclaration||(m.VariableDeclaration=function(i){r(i,"declarations")}),t.ObjectExpression||(m.ObjectExpression=function(i){r(i,"properties")}),t.ObjectPattern||(m.ObjectPattern=function(i){r(i,"properties")}),t.ArrayExpression||(m.ArrayExpression=function(i){r(i,"elements")}),t.ArrayPattern||(m.ArrayPattern=function(i){r(i,"elements")}),t.FunctionDeclaration||(m.FunctionDeclaration=function(i){r(i,"params")}),t.FunctionExpression||(m.FunctionExpression=function(i){r(i,"params")}),t.ArrowFunctionExpression||(m.ArrowFunctionExpression=function(i){r(i,"params")}),t.CallExpression||(m.CallExpression=function(i){r(i,"arguments")}),t.ImportDeclaration||(m.ImportDeclaration=function(i){r(i,"specifiers")}),t.NewExpression||(m.NewExpression=function(i){r(i,"arguments")}),m}},Di}var Ii,hg;function Ir(){if(hg)return Ii;hg=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??=new Intl.Segmenter("en-US");let l=0;for(const p of e.segment(t))l++;return l}return Ii={upperCaseFirst:n,getGraphemeCount:o},Ii}var Pi,dg;function Nw(){if(dg)return Pi;dg=1;const a=Ue(),{upperCaseFirst:e}=Ir(),n=20;return Pi={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 l=n,p="classic";typeof t=="object"?((Object.hasOwn(t,"maximum")||Object.hasOwn(t,"max"))&&(l=t.maximum||t.max),Object.hasOwn(t,"variant")&&(p=t.variant)):typeof t=="number"&&(l=t);const u=p==="modified",r=[];function m(){r[r.length-1]++}return{onCodePathStart(){r.push(1)},CatchClause:m,ConditionalExpression:m,LogicalExpression:m,ForStatement:m,ForInStatement:m,ForOfStatement:m,IfStatement:m,WhileStatement:m,DoWhileStatement:m,AssignmentPattern:m,"SwitchCase[test]":()=>u||m(),SwitchStatement:()=>u&&m(),AssignmentExpression(i){a.isLogicalAssignmentOperator(i.operator)&&m()},MemberExpression(i){i.optional===!0&&m()},CallExpression(i){i.optional===!0&&m()},onCodePathEnd(i,c){const h=r.pop();if(!(i.origin!=="function"&&i.origin!=="class-field-initializer"&&i.origin!=="class-static-block")&&h>l){let s;i.origin==="class-field-initializer"?s="class field initializer":i.origin==="class-static-block"?s="class static block":s=a.getFunctionNameWithKind(c),o.report({node:c,messageId:"complex",data:{name:e(s),complexity:h,max:l}})}}}}},Pi}var Fi,gg;function Mw(){if(gg)return Fi;gg=1;const a=Ue();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",url:"https://eslint.style"},rule:{name:"computed-property-spacing",url:"https://eslint.style/rules/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 l(c,h,s){e.report({node:c,loc:{start:h.loc.end,end:s.loc.start},messageId:"unexpectedSpaceAfter",data:{tokenValue:h.value},fix(f){return f.removeRange([h.range[1],s.range[0]])}})}function p(c,h,s){e.report({node:c,loc:{start:s.loc.end,end:h.loc.start},messageId:"unexpectedSpaceBefore",data:{tokenValue:h.value},fix(f){return f.removeRange([s.range[1],h.range[0]])}})}function u(c,h){e.report({node:c,loc:h.loc,messageId:"missingSpaceAfter",data:{tokenValue:h.value},fix(s){return s.insertTextAfter(h," ")}})}function r(c,h){e.report({node:c,loc:h.loc,messageId:"missingSpaceBefore",data:{tokenValue:h.value},fix(s){return s.insertTextBefore(h," ")}})}function m(c){return function(h){if(!h.computed)return;const s=h[c],f=n.getTokenBefore(s,a.isOpeningBracketToken),g=n.getTokenAfter(f,{includeComments:!0}),d=n.getTokenAfter(s,a.isClosingBracketToken),E=n.getTokenBefore(d,{includeComments:!0});a.isTokenOnSameLine(f,g)&&(o?!n.isSpaceBetweenTokens(f,g)&&a.isTokenOnSameLine(f,g)&&u(h,f):n.isSpaceBetweenTokens(f,g)&&l(h,f,g)),a.isTokenOnSameLine(E,d)&&(o?!n.isSpaceBetweenTokens(E,d)&&a.isTokenOnSameLine(E,d)&&r(h,d):n.isSpaceBetweenTokens(E,d)&&p(h,d,E))}}const i={Property:m("key"),MemberExpression:m("property")};return t&&(i.MethodDefinition=i.PropertyDefinition=i.Property),i}},Fi}var Ri,yg;function jw(){if(yg)return Ri;yg=1;const a=Ue(),{upperCaseFirst:e}=Ir();function n(t){for(const l of t)if(l.reachable)return!1;return!0}function o(t){return t.type==="FunctionExpression"&&t.parent&&t.parent.type==="MethodDefinition"&&t.parent.kind==="constructor"}return Ri={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:l}]=t.options;let p=null;function u(r){let m,i;!p.hasReturnValue||n(p.currentSegments)||a.isES5Constructor(r)||o(r)||(r.type==="Program"?(m={line:1,column:0},i="program"):r.type==="ArrowFunctionExpression"?m=t.sourceCode.getTokenBefore(r.body,a.isArrowToken).loc:r.parent.type==="MethodDefinition"||r.parent.type==="Property"&&r.parent.method?m=r.parent.key.loc:m=(r.id||t.sourceCode.getFirstToken(r)).loc,i||(i=a.getFunctionNameWithKind(r)),t.report({node:r,loc:m,messageId:"missingReturn",data:{name:i}}))}return{onCodePathStart(r,m){p={upper:p,codePath:r,hasReturn:!1,hasReturnValue:!1,messageId:"",node:m,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 m=r.argument;let i=!!m;l&&i&&(i=!a.isSpecificId(m,"undefined")&&m.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}}},Ri}var _i,vg;function Uw(){return vg||(vg=1,_i={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,m){const i=m.type==="ThisExpression";e.includes(r)?(!i||u.operator&&u.operator!=="=")&&o(u,r):i&&a.report({node:u,messageId:"unexpectedAlias",data:{name:r}})}function l(u,r){const m=r.set.get(u);m&&(m.defs.some(i=>i.node.type==="VariableDeclarator"&&i.node.init!==null)||m.references.some(i=>{const c=i.writeExpr;return i.from===r&&c&&c.type==="ThisExpression"&&c.parent.operator==="="})||m.defs.map(i=>i.node).forEach(i=>{o(i,u)}))}function p(u){const r=n.getScope(u),m=u.type==="Program"&&u.sourceType==="module"?r.childScopes[0]:null;e.forEach(i=>{l(i,r),m&&l(i,m)})}return{"Program:exit":p,"FunctionExpression:exit":p,"FunctionDeclaration:exit":p,VariableDeclarator(u){const r=u.id,m=r.type==="ArrayPattern"||r.type==="ObjectPattern";u.init!==null&&!m&&t(u,r.name,u.init)},AssignmentExpression(u){u.left.type==="Identifier"&&t(u,u.left.name,u.right)}}}}),_i}var Bi,Eg;function qw(){if(Eg)return Bi;Eg=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{calledInEveryPaths=!1;calledInSomePaths=!1;validNodes=[]}return Bi={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 l=Object.create(null);function p(m){return m.reachable&&l[m.id].calledInSomePaths}function u(m){return!!l[m.id]}function r(m){return m.reachable&&l[m.id].calledInEveryPaths}return{onCodePathStart(m,i){if(a(i)){const h=i.parent.parent.parent.superClass;t={upper:t,isConstructor:!0,hasExtends:!!h,superIsConstructor:e(h),codePath:m,currentSegments:new Set}}else t={upper:t,isConstructor:!1,hasExtends:!1,superIsConstructor:!1,codePath:m,currentSegments:new Set}},onCodePathEnd(m,i){const c=t.hasExtends;if(t=t.upper,!c)return;const h=m.returnedSegments,s=h.every(r),f=h.some(p);s||o.report({messageId:f?"missingSome":"missingAll",node:i.parent})},onCodePathSegmentStart(m,i){if(t.currentSegments.add(m),!(t.isConstructor&&t.hasExtends))return;const c=l[m.id]=new n,h=m.prevSegments.filter(u);h.length>0&&(c.calledInSomePaths=h.some(p),c.calledInEveryPaths=h.every(r)),i.parent&&i.parent.type==="ForStatement"&&i.parent.update===i&&(c.calledInEveryPaths=!0)},onUnreachableCodePathSegmentStart(m){t.currentSegments.add(m)},onUnreachableCodePathSegmentEnd(m){t.currentSegments.delete(m)},onCodePathSegmentEnd(m){t.currentSegments.delete(m)},onCodePathSegmentLoop(m,i){t.isConstructor&&t.hasExtends&&t.codePath.traverseSegments({first:i,last:m},(c,h)=>{const s=l[c.id];if(!s){h.skip();return}const f=c.prevSegments.filter(u),g=f.some(p),d=f.every(r);if(s.calledInSomePaths||=g,s.calledInEveryPaths||=d,g){const E=s.validNodes;s.validNodes=[];for(let S=0;S<E.length;++S){const x=E[S];o.report({messageId:"duplicate",node:x})}}})},"CallExpression:exit"(m){if(!(t.isConstructor&&t.hasExtends)||m.callee.type!=="Super")return;const i=t.currentSegments;let c=!1,h=null;for(const s of i)s.reachable&&(h=l[s.id],c=c||h.calledInSomePaths,h.calledInSomePaths=h.calledInEveryPaths=!0);h&&(c?o.report({messageId:"duplicate",node:m}):t.superIsConstructor?h.validNodes.push(m):o.report({messageId:"badSuper",node:m}))},ReturnStatement(m){if(!(t.isConstructor&&t.hasExtends)||!m.argument)return;const i=t.currentSegments;for(const c of i)if(c.reachable){const h=l[c.id];h.calledInSomePaths=h.calledInEveryPaths=!0}}}}},Bi}var Li,Sg;function Vw(){if(Sg)return Li;Sg=1;const a=Ue();return Li={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",l=e.options[1]==="consistent",p=e.sourceCode;function u(h){const s=p.getTokenBefore(h),f=p.getLastToken(h),g=a.isSemicolonToken(f)?p.getTokenBefore(f):f;return s.loc.start.line===g.loc.end.line}function r(h){if(h.type==="EmptyStatement")return!0;const s=p.getFirstToken(h),f=p.getLastToken(h),g=a.isSemicolonToken(f)?p.getTokenBefore(f):f;return s.loc.start.line===g.loc.end.line}function m(h){const s=p.getTokenBefore(h),f=p.getTokenAfter(h),g=p.getNodeByRangeIndex(s.range[0]);return a.isSemicolonToken(s)||!f||g.type==="BlockStatement"&&g.parent.type!=="FunctionExpression"&&g.parent.type!=="ArrowFunctionExpression"?!1:!!(s.loc.end.line===f.loc.start.line||/^[([/`+-]/u.test(f.value)||s.type==="Punctuator"&&(s.value==="++"||s.value==="--"))}function i(h,s,f,g){const d=s.type==="BlockStatement";let E=null;if(d&&(s.body.length!==1||a.areBracesNecessary(s,p)))E=!0;else if(n)E=!1;else if(o)u(s)||(E=!0);else if(t)if(d){const S=s.body[0],x=p.getCommentsBefore(S);E=!r(S)||x.length>0}else E=!r(s);else E=!0;return{actual:d,expected:E,check(){this.expected!==null&&this.expected!==this.actual&&(this.expected?e.report({node:h,loc:s.loc,messageId:g&&g.condition?"missingCurlyAfterCondition":"missingCurlyAfter",data:{name:f},fix:S=>S.replaceText(s,`{${p.getText(s)}}`)}):e.report({node:h,loc:s.loc,messageId:g&&g.condition?"unexpectedCurlyAfterCondition":"unexpectedCurlyAfter",data:{name:f},fix(S){const x=h.type==="DoWhileStatement"&&p.getTokenBefore(s).range[1]===s.range[0]&&!a.canTokensBeAdjacent("do",p.getFirstToken(s,{skip:1})),T=p.getFirstToken(s),C=p.getLastToken(s),v=p.getTokenBefore(C);if(m(C))return null;const A=p.getText().slice(T.range[1],v.range[0])+p.getText(v)+p.getText().slice(v.range[1],C.range[0]);return S.replaceText(s,(x?" ":"")+A)}}))}}}function c(h){const s=[];for(let f=h;f;f=f.alternate)if(s.push(i(f,f.consequent,"if",{condition:!0})),f.alternate&&f.alternate.type!=="IfStatement"){s.push(i(f,f.alternate,"else"));break}if(l){const f=s.some(g=>g.expected!==null?g.expected:g.actual);s.forEach(g=>{g.expected=f})}return s}return{IfStatement(h){const s=h.parent;s.type==="IfStatement"&&s.alternate===h||c(h).forEach(g=>{g.check()})},WhileStatement(h){i(h,h.body,"while",{condition:!0}).check()},DoWhileStatement(h){i(h,h.body,"do").check()},ForStatement(h){i(h,h.body,"for",{condition:!0}).check()},ForInStatement(h){i(h,h.body,"for-in").check()},ForOfStatement(h){i(h,h.body,"for-of").check()}}}},Li}var Oi,bg;function $w(){if(bg)return Oi;bg=1;const a=/^no default$/iu;return Oi={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 l(p){return p.at(-1)}return{SwitchStatement(p){if(!p.cases.length)return;if(!p.cases.some(r=>r.test===null)){let r;const m=l(p.cases),i=t.getCommentsAfter(m);i.length&&(r=l(i)),(!r||!o.test(r.value.trim()))&&e.report({node:p,messageId:"missingDefaultCase"})}}}}},Oi}var Ni,xg;function Ww(){return xg||(xg=1,Ni={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"})}}}}}),Ni}var Mi,Cg;function Gw(){if(Cg)return Mi;Cg=1;function a(e){return!(e.type==="AssignmentPattern"||e.type==="RestElement"||e.optional)}return Mi={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 l=o.params.length-1;l>=0;l-=1){const p=o.params[l],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}}},Mi}var ji,wg;function zw(){if(wg)return ji;wg=1;const a=Ue();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",url:"https://eslint.style"},rule:{name:"dot-location",url:"https://eslint.style/rules/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 l(u){const r=u.property,m=t.getTokenBefore(r);if(o){const i=t.getTokenBefore(m);a.isTokenOnSameLine(i,m)||e.report({node:u,loc:m.loc,messageId:"expectedDotAfterObject",*fix(c){m.value.startsWith(".")&&a.isDecimalIntegerNumericToken(i)?yield c.insertTextAfter(i,` ${m.value}`):yield c.insertTextAfter(i,m.value),yield c.remove(m)}})}else a.isTokenOnSameLine(m,r)||e.report({node:u,loc:m.loc,messageId:"expectedDotBeforeProperty",*fix(i){yield i.remove(m),yield i.insertTextBefore(r,m.value)}})}function p(u){u.computed||l(u)}return{MemberExpression:p}}},ji}var Ui,Ag;function qi(){return Ag||(Ag=1,Ui=["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"]),Ui}var Vi,Tg;function Hw(){if(Tg)return Vi;Tg=1;const a=Ue(),e=qi(),n=/^[a-zA-Z_$][\w$]*$/u,o=new Set(["string","boolean"]);return Vi={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[l]=t.options,p=l.allowKeywords,u=t.sourceCode;let r;l.allowPattern&&(r=new RegExp(l.allowPattern,"u"));function m(i,c){if(n.test(c)&&(p||!e.includes(String(c)))&&!(r&&r.test(c))){const h=i.property.type==="Literal"?JSON.stringify(c):`\`${c}\``;t.report({node:i.property,messageId:"useDot",data:{key:h},*fix(s){const f=u.getTokenAfter(i.object,a.isOpeningBracketToken),g=u.getLastToken(i),d=u.getTokenAfter(i);u.commentsExistBetween(f,g)||(i.optional||(yield s.insertTextBefore(f,a.isDecimalInteger(i.object)?" .":".")),yield s.replaceTextRange([f.range[0],g.range[1]],c),d&&g.range[1]===d.range[0]&&!a.canTokensBeAdjacent(String(c),d)&&(yield s.insertTextAfter(i," ")))}})}}return{MemberExpression(i){i.computed&&i.property.type==="Literal"&&(o.has(typeof i.property.value)||a.isNullLiteral(i.property))&&m(i,i.property.value),i.computed&&a.isStaticTemplateLiteral(i.property)&&m(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(c){const h=u.getTokenBefore(i.property);i.object.type==="Identifier"&&i.object.name==="let"&&!i.optional||u.commentsExistBetween(h,i.property)||(i.optional||(yield c.remove(h)),yield c.replaceText(i.property,`["${i.property.name}"]`))}})}}}},Vi}var $i,kg;function Kw(){return kg||(kg=1,$i={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",url:"https://eslint.style"},rule:{name:"eol-last",url:"https://eslint.style/rules/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(),l=o.lines.at(-1),p={column:l.length,line:o.lines.length},u=`
67
- `,r=`\r${u}`,m=t.endsWith(u);if(!t.length)return;let i=a.options[0]||"always",c=!1;if(i==="unix"&&(i="always"),i==="windows"&&(i="always",c=!0),i==="always"&&!m)a.report({node:n,loc:p,messageId:"missing",fix(h){return h.insertTextAfterRange([0,t.length],c?r:u)}});else if(i==="never"&&m){const h=o.lines.at(-2);a.report({node:n,loc:{start:{line:o.lines.length-1,column:h.length},end:{line:o.lines.length,column:0}},messageId:"unexpected",fix(s){const f=/(?:\r?\n)+$/u,g=f.exec(o.text),d=g.index,E=o.text.length;return s.replaceTextRange([d,E],"")}})}}}}}),$i}var Wi,Dg;function Xw(){if(Dg)return Wi;Dg=1;const a=Ue();return Wi={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,l=n==="always"?o.null||"always":"ignore",p=l==="always",u=l==="never";function r(s){return s.type==="UnaryExpression"&&s.operator==="typeof"}function m(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 c(s){return a.isNullLiteral(s.right)||a.isNullLiteral(s.left)}function h(s,f){const g=t.getFirstTokenBetween(s.left,s.right,E=>E.value===s.operator),d={node:s,loc:g.loc,messageId:"unexpected",data:{expectedOperator:f,actualOperator:s.operator}};m(s)||i(s)?e.report({...d,fix(E){return E.replaceText(g,f)}}):e.report({...d,suggest:[{messageId:"replaceOperator",data:{expectedOperator:f,actualOperator:s.operator},fix:E=>E.replaceText(g,f)}]})}return{BinaryExpression(s){const f=c(s);if(s.operator!=="=="&&s.operator!=="!="){u&&f&&h(s,s.operator.slice(0,-1));return}n==="smart"&&(m(s)||i(s)||f)||!p&&f||h(s,`${s.operator}=`)}}}},Wi}var Gi,Ig;function Jw(){if(Ig)return Gi;Ig=1;const{getStaticValue:a}=qt();return Gi={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 m=a(u.right,n.getScope(u));if(m&&["bigint","boolean","number"].includes(typeof m.value)){const i=Math.sign(Number(m.value))||0;return r*i}return 0}function l(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 m=u.test[r].name,i=u.test.operator,c=u.update;let h;if(i==="<"||i==="<=")h=r==="left"?-1:1;else if(i===">"||i===">=")h=r==="left"?1:-1;else return;c.type==="UpdateExpression"?l(c,m)===h&&o(u):c.type==="AssignmentExpression"&&p(c,m)===h&&o(u)}}}}},Gi}var zi,Pg;function Yw(){if(Pg)return zi;Pg=1;const a=Ue();return zi={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",url:"https://eslint.style"},rule:{name:"function-call-spacing",url:"https://eslint.style/rules/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,l=t.getText();function p(u,r,m){const i=l.slice(r.range[1],m.range[0]).replace(/\/\*.*?\*\//gu,""),c=/\s/u.test(i),h=c&&a.LINEBREAK_MATCHER.test(i);n&&c?e.report({node:u,loc:{start:r.loc.end,end:{line:m.loc.start.line,column:m.loc.start.column-1}},messageId:"unexpectedWhitespace",fix(s){return t.commentsExistBetween(r,m)?null:u.optional?s.replaceTextRange([r.range[1],m.range[0]],"?."):h?null:s.removeRange([r.range[1],m.range[0]])}}):!n&&!c?e.report({node:u,loc:{start:{line:r.loc.end.line,column:r.loc.end.column-1},end:m.loc.start},messageId:"missing",fix(s){return u.optional?null:s.insertTextBefore(m," ")}}):!n&&!o&&h&&e.report({node:u,loc:{start:r.loc.end,end:m.loc.start},messageId:"unexpectedNewline",fix(s){if(!u.optional||t.commentsExistBetween(r,m))return null;const f=[r.range[1],m.range[0]],g=t.getTokenAfter(r);return g.range[0]===r.range[1]?s.replaceTextRange(f,"?. "):g.range[1]===m.range[0]?s.replaceTextRange(f," ?."):s.replaceTextRange(f," ?. ")}})}return{"CallExpression, NewExpression"(u){const r=t.getLastToken(u),m=t.getLastToken(u.callee),i=t.getFirstTokenBetween(m,r,a.isOpeningParenToken),c=i&&t.getTokenBefore(i,a.isNotQuestionDotToken);i&&i.range[1]<u.range[1]&&p(u,c,i)},ImportExpression(u){const r=t.getFirstToken(u),m=t.getTokenAfter(r);p(u,r,m)}}}},zi}var Hi,Fg;function Qw(){if(Fg)return Hi;Fg=1;const a=Ue(),e=Hd();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"]},l={type:"object",properties:{considerPropertyDescriptor:{type:"boolean"},includeCommonJSModuleExports:{type:"boolean"}},additionalProperties:!1};return Hi={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,l]},{type:"array",additionalItems:!1,items:[l]}]},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",m=u.considerPropertyDescriptor,i=u.includeCommonJSModuleExports,c=p.languageOptions.ecmaVersion;function h(d,E,S){return S?S.type==="CallExpression"&&a.isSpecificMemberAccess(S.callee,d,E):!1}function s(d,E){return r==="always"&&d!==E||r==="never"&&d===E}function f(d,E,S,x){let T;r==="always"&&x?T="matchProperty":r==="always"?T="matchVariable":x?T="notMatchProperty":T="notMatchVariable",p.report({node:d,messageId:T,data:{name:E,funcName:S}})}function g(d){return d.type==="Literal"&&typeof d.value=="string"}return{VariableDeclarator(d){!d.init||d.init.type!=="FunctionExpression"||d.id.type!=="Identifier"||d.init.id&&s(d.id.name,d.init.id.name)&&f(d,d.id.name,d.init.id.name,!1)},AssignmentExpression(d){if(d.right.type!=="FunctionExpression"||d.left.computed&&d.left.property.type!=="Literal"||!i&&n(d.left)||d.left.type!=="Identifier"&&d.left.type!=="MemberExpression")return;const E=d.left.type==="MemberExpression",S=E?a.getStaticPropertyName(d.left):d.left.name;d.right.id&&S&&o(S)&&s(S,d.right.id.name)&&f(d,S,d.right.id.name,E)},"Property, PropertyDefinition[value]"(d){if(d.value.type==="FunctionExpression"&&d.value.id){if(d.key.type==="Identifier"&&!d.computed){const E=d.value.id.name;let S=d.key.name;if(m&&S==="value"&&d.parent.type==="ObjectExpression")if(h("Object","defineProperty",d.parent.parent)||h("Reflect","defineProperty",d.parent.parent)){const x=d.parent.parent.arguments[1];g(x)&&s(x.value,E)&&f(d,x.value,E,!0)}else h("Object","defineProperties",d.parent.parent.parent.parent)||h("Object","create",d.parent.parent.parent.parent)?(S=d.parent.parent.key.name,!d.parent.parent.computed&&s(S,E)&&f(d,S,E,!0)):s(S,E)&&f(d,S,E,!0);else s(S,E)&&f(d,S,E,!0);return}g(d.key)&&o(d.key.value,c)&&s(d.key.value,d.value.id.name)&&f(d,d.key.value,d.value.id.name,!0)}}}}},Hi}var Ki,Rg;function Zw(){if(Rg)return Ki;Rg=1;const a=Ue();function e(n){return n&&n.defs[0].type==="FunctionName"}return Ki={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 l(i){const c=i.parent;return c.type==="MethodDefinition"||c.type==="Property"&&(c.method||c.kind==="get"||c.kind==="set")}function p(i){const c=i.parent;return l(i)||c.type==="VariableDeclarator"&&c.id.type==="Identifier"&&c.init===i||c.type==="Property"&&c.value===i||c.type==="PropertyDefinition"&&c.value===i||c.type==="AssignmentExpression"&&c.left.type==="Identifier"&&c.right===i||c.type==="AssignmentPattern"&&c.left.type==="Identifier"&&c.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 m(i){const c=o.getDeclaredVariables(i)[0];if(e(c)&&c.references.length>0)return;const h=!!(i.id&&i.id.name),s=t(i);s==="never"?h&&i.type!=="FunctionDeclaration"&&r(i):s==="as-needed"?!h&&!p(i)&&u(i):!h&&!l(i)&&u(i)}return{"FunctionExpression:exit":m,"ExportDefaultDeclaration > FunctionDeclaration":m}}},Ki}var Xi,_g;function eA(){return _g||(_g=1,Xi={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,l=e==="declaration",{namedExports:p}=t,u=[];function r(i){const c=i.id.name;return i.parent.type==="ExportNamedDeclaration"?i.parent.parent.body.some(h=>h.type==="ExportNamedDeclaration"&&h.declaration?.type==="TSDeclareFunction"&&h.declaration.id.name===c):i.parent.type==="SwitchCase"?i.parent.parent.cases.some(h=>h.consequent.some(s=>s.type==="TSDeclareFunction"&&s.id.name===c)):Array.isArray(i.parent.body)&&i.parent.body.some(h=>h.type==="TSDeclareFunction"&&h.id.name===c)}const m={FunctionDeclaration(i){u.push(!1),!l&&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),l&&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||(m.ArrowFunctionExpression=function(){u.push(!1)},m["ArrowFunctionExpression:exit"]=function(i){!u.pop()&&i.parent.type==="VariableDeclarator"&&(l&&(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"}))}),m}}),Xi}var Ji,Bg;function tA(){return Bg||(Bg=1,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",url:"https://eslint.style"},rule:{name:"function-call-argument-newline",url:"https://eslint.style/rules/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:(l,p)=>l.loc.end.line!==p.loc.start.line,createFix:(l,p)=>u=>u.replaceTextRange([p.range[1],l.range[0]]," ")},missing:{messageId:"missingLineBreak",check:(l,p)=>l.loc.end.line===p.loc.start.line,createFix:(l,p)=>u=>u.replaceTextRange([p.range[1],l.range[0]],`
68
- `)}};function o(l,p){for(let u=1;u<l.arguments.length;u++){const r=e.getLastToken(l.arguments[u-1]),m=e.getFirstToken(l.arguments[u]);if(p.check(r,m)){const i=e.getTokenBefore(m,{includeComments:!0}),c=i.type==="Line";a.report({node:l,loc:{start:i.loc.end,end:m.loc.start},messageId:p.messageId,fix:c?null:p.createFix(m,i)})}}}function t(l){if(l.arguments.length<2)return;const p=a.options[0]||"always";if(p==="never")o(l,n.unexpected);else if(p==="always")o(l,n.missing);else if(p==="consistent"){const u=e.getLastToken(l.arguments[0]),r=e.getFirstToken(l.arguments[1]);u.loc.end.line===r.loc.start.line?o(l,n.unexpected):o(l,n.missing)}}return{CallExpression:t,NewExpression:t}}}),Ji}var Yi,Lg;function rA(){if(Lg)return Yi;Lg=1;const a=Ue();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",url:"https://eslint.style"},rule:{name:"function-paren-newline",url:"https://eslint.style/rules/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",l=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(h,s){return l&&h.length===1?s:t||l?h.some((f,g)=>g!==h.length-1&&f.loc.end.line!==h[g+1].loc.start.line):p?s:h.length>=u}function m(h,s){const f=h.leftParen,g=h.rightParen,d=n.getTokenAfter(f),E=n.getTokenBefore(g),S=!a.isTokenOnSameLine(f,d),x=!a.isTokenOnSameLine(E,g),T=r(s,S);S&&!T?e.report({node:f,messageId:"unexpectedAfter",fix(C){return n.getText().slice(f.range[1],d.range[0]).trim()?null:C.removeRange([f.range[1],d.range[0]])}}):!S&&T&&e.report({node:f,messageId:"expectedAfter",fix:C=>C.insertTextAfter(f,`
69
- `)}),x&&!T?e.report({node:g,messageId:"unexpectedBefore",fix(C){return n.getText().slice(E.range[1],g.range[0]).trim()?null:C.removeRange([E.range[1],g.range[0]])}}):!x&&T&&e.report({node:g,messageId:"expectedBefore",fix:C=>C.insertTextBefore(g,`
70
- `)})}function i(h,s){const f=h.leftParen,g=n.getTokenAfter(f),d=!a.isTokenOnSameLine(f,g),E=r(s,d);for(let S=0;S<=s.length-2;S++){const x=s[S],T=s[S+1];!(x.loc.end.line!==T.loc.start.line)&&E&&e.report({node:x,messageId:"expectedBetween",fix:v=>v.insertTextBefore(T,`
71
- `)})}}function c(h){switch(h.type){case"NewExpression":if(!h.arguments.length&&!(a.isOpeningParenToken(n.getLastToken(h,{skip:1}))&&a.isClosingParenToken(n.getLastToken(h))&&h.callee.range[1]<h.range[1]))return null;case"CallExpression":return{leftParen:n.getTokenAfter(h.callee,a.isOpeningParenToken),rightParen:n.getLastToken(h)};case"FunctionDeclaration":case"FunctionExpression":{const s=n.getFirstToken(h,a.isOpeningParenToken),f=h.params.length?n.getTokenAfter(h.params.at(-1),a.isClosingParenToken):n.getTokenAfter(s);return{leftParen:s,rightParen:f}}case"ArrowFunctionExpression":{const s=n.getFirstToken(h,{skip:h.async?1:0});if(!a.isOpeningParenToken(s))return null;const f=h.params.length?n.getTokenAfter(h.params.at(-1),a.isClosingParenToken):n.getTokenAfter(s);return{leftParen:s,rightParen:f}}case"ImportExpression":{const s=n.getFirstToken(h,1),f=n.getLastToken(h);return{leftParen:s,rightParen:f}}default:throw new TypeError(`unexpected node with type ${h.type}`)}}return{[["ArrowFunctionExpression","CallExpression","FunctionDeclaration","FunctionExpression","ImportExpression","NewExpression"]](h){const s=c(h);let f;h.type==="ImportExpression"?f=[h.source]:a.isFunction(h)?f=h.params:f=h.arguments,s&&(m(s,f),l&&i(s,f))}}}},Yi}var Qi,Og;function nA(){if(Og)return Qi;Og=1;const a={oneOf:[{enum:["before","after","both","neither"]},{type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"}},additionalProperties:!1}]};return Qi={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",url:"https://eslint.style"},rule:{name:"generator-star-spacing",url:"https://eslint.style/rules/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(c,h){return c?typeof c=="string"?n[c]:Object.assign({},h,c):h}const t=function(c){const h=o(c,n.before);return{named:o(c.named,h),anonymous:o(c.anonymous,h),method:o(c.method,h)}}(e.options[0]||{}),l=e.sourceCode;function p(c){return c.value==="*"&&c.type==="Punctuator"}function u(c){return l.getFirstToken(c.parent.method||c.parent.type==="MethodDefinition"?c.parent:c,p)}function r(c){return c[0].toUpperCase()+c.slice(1)}function m(c,h,s,f){if(!!(f.range[0]-s.range[1])!==t[c][h]){const g=s.value==="*",d=t[c][h],E=g?s:f,S=`${d?"missing":"unexpected"}${r(h)}`;e.report({node:E,messageId:S,fix(x){return d?g?x.insertTextAfter(E," "):x.insertTextBefore(E," "):x.removeRange([s.range[1],f.range[0]])}})}}function i(c){if(!c.generator)return;const h=u(c),s=l.getTokenBefore(h),f=l.getTokenAfter(h);let g="named";c.parent.type==="MethodDefinition"||c.parent.type==="Property"&&c.parent.method?g="method":c.id||(g="anonymous"),g==="method"&&h===l.getFirstToken(c.parent)||m(g,"before",s,h),m(g,"after",h,f)}return{FunctionDeclaration:i,FunctionExpression:i}}},Qi}var Zi,Ng;function sA(){if(Ng)return Zi;Ng=1;const a=Ue(),e=/^(?:Arrow)?FunctionExpression$/u;function n(o){for(const t of o)if(t.reachable)return!0;return!1}return Zi={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,l=o.sourceCode;let p={upper:null,codePath:null,hasReturn:!1,shouldCheck:!1,node:null,currentSegments:[]};function u(m){p.shouldCheck&&n(p.currentSegments)&&o.report({node:m,loc:a.getFunctionHeadLoc(m,l),messageId:p.hasReturn?"expectedAlways":"expected",data:{name:a.getFunctionNameWithKind(p.node)}})}function r(m){const i=m.parent;if(e.test(m.type)&&m.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 c=i.parent.parent.callee;if(a.isSpecificMemberAccess(c,"Object","defineProperty")||a.isSpecificMemberAccess(c,"Reflect","defineProperty"))return!0}if(i.parent.parent.type==="Property"&&i.parent.parent.parent.type==="ObjectExpression"&&i.parent.parent.parent.parent.type==="CallExpression"){const c=i.parent.parent.parent.parent.callee;return a.isSpecificMemberAccess(c,"Object","defineProperties")||a.isSpecificMemberAccess(c,"Object","create")}}}return!1}return{onCodePathStart(m,i){p={upper:p,codePath:m,hasReturn:!1,shouldCheck:r(i),node:i,currentSegments:new Set}},onCodePathEnd(){p=p.upper},onUnreachableCodePathSegmentStart(m){p.currentSegments.add(m)},onUnreachableCodePathSegmentEnd(m){p.currentSegments.delete(m)},onCodePathSegmentStart(m){p.currentSegments.add(m)},onCodePathSegmentEnd(m){p.currentSegments.delete(m)},ReturnStatement(m){p.shouldCheck&&(p.hasReturn=!0,!t&&!m.argument&&o.report({node:m,messageId:"expected",data:{name:a.getFunctionNameWithKind(p.node)}}))},"FunctionExpression:exit":u,"ArrowFunctionExpression:exit":u}}},Zi}var eo,Mg;function aA(){if(Mg)return eo;Mg=1;const a=new Set(["AssignmentExpression","VariableDeclarator","MemberExpression","ExpressionStatement","CallExpression","ConditionalExpression","Program","VariableDeclaration","ChainExpression"]);function e(o,t){const l=o.references.filter(p=>p.identifier.range[0]===t.range[0]&&p.identifier.range[1]===t.range[1]);return l.length===1?l[0]:null}function n(o,t){const l=e(o,t);return l&&l.resolved&&l.resolved.defs.length>0}return eo={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(l){const p=t.getScope(l);l.callee.name==="require"&&!n(p,l.callee)&&(t.getAncestors(l).every(r=>a.has(r.type))||o.report({node:l,messageId:"unexpected"}))}}}},eo}var to,jg;function iA(){if(jg)return to;jg=1;const a=Ue();function e(t,l){if(t.length!==l.length)return!1;for(let p=0;p<t.length;p++){const u=t[p],r=l[p];if(u.type!==r.type||u.value!==r.value)return!1}return!0}function n(t,l){return typeof t=="string"&&typeof l=="string"?t===l:Array.isArray(t)&&Array.isArray(l)?e(t,l):!1}function o(t){return t.kind==="get"||t.kind==="set"}return to={meta:{type:"suggestion",defaultOptions:["anyOrder",{enforceForTSTypes:!1}],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"]},{type:"object",properties:{enforceForTSTypes:{type:"boolean"}},additionalProperties:!1}],messages:{notGrouped:"Accessor pair {{ formerName }} and {{ latterName }} should be grouped.",invalidOrder:"Expected {{ latterName }} to be before {{ formerName }}."}},create(t){const[l,{enforceForTSTypes:p}]=t.options,{sourceCode:u}=t;function r(i,c,h){t.report({node:h,messageId:i,loc:a.getFunctionHeadLoc(h.type!=="TSMethodSignature"?h.value:h,u),data:{formerName:a.getFunctionNameWithKind(c.type!=="TSMethodSignature"?c.value:c),latterName:a.getFunctionNameWithKind(h.type!=="TSMethodSignature"?h.value:h)}})}function m(i,c){const h=[];let s=!1;for(let f=0;f<i.length;f++){const g=i[f];if(c(g)&&o(g)){const d=a.getStaticPropertyName(g),E=d!==null?d:u.getTokens(g.key);for(let S=0;S<h.length;S++){const x=h[S];if(n(x.key,E)){x.getters.push(...g.kind==="get"?[g]:[]),x.setters.push(...g.kind==="set"?[g]:[]),s=!0;break}}s||h.push({key:E,getters:g.kind==="get"?[g]:[],setters:g.kind==="set"?[g]:[]}),s=!1}}for(const{getters:f,setters:g}of h)if(f.length===1&&g.length===1){const[d]=f,[E]=g,S=i.indexOf(d),x=i.indexOf(E),T=S<x?d:E,C=S<x?E:d;Math.abs(S-x)>1?r("notGrouped",T,C):(l==="getBeforeSet"&&S>x||l==="setBeforeGet"&&S<x)&&r("invalidOrder",T,C)}}return{ObjectExpression(i){m(i.properties,c=>c.type==="Property")},ClassBody(i){m(i.body,c=>c.type==="MethodDefinition"&&!c.static),m(i.body,c=>c.type==="MethodDefinition"&&c.static)},"TSTypeLiteral, TSInterfaceBody"(i){p&&m(i.type==="TSTypeLiteral"?i.members:i.body,c=>c.type==="TSMethodSignature")}}}},to}var ro,Ug;function oA(){return Ug||(Ug=1,ro={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"})}}}}}),ro}var no,qg;function lA(){return qg||(qg=1,no={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 l(u){return u.variables.filter(r=>r.defs[0]&&r.defs[0].type==="Parameter")}function p(u){const r=n.getScope(u),m=l(r),i=m[0];i&&t(i.name)&&i.references.length===0&&a.report({node:u,messageId:"expected"})}return{FunctionDeclaration:p,FunctionExpression:p,ArrowFunctionExpression:p}}}),no}var so,Vg;function uA(){if(Vg)return so;Vg=1;function a(t){const l=t.parent;return l.type==="AssignmentExpression"&&l.left===t||l.type==="ArrayPattern"||l.type==="RestElement"||l.type==="Property"&&l.value===t&&l.parent.type==="ObjectPattern"||l.type==="AssignmentPattern"&&l.left===t}function e(t){const l=t.parent;return l.type==="ImportSpecifier"&&l.imported!==l.local&&l.imported===t||l.type==="ExportSpecifier"&&l.parent.source&&l.local!==l.exported&&l.local===t}function n(t){const l=t.parent;return!l.computed&&l.type==="Property"&&l.parent.type==="ObjectPattern"&&l.value!==t&&l.key===t}function o(t){const l=t.parent;return l.type==="Property"&&l.parent.type==="ObjectExpression"&&l.shorthand}return so={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 l=new Set(t.options),p=new Set,u=t.sourceCode;let r;function m(s){return l.has(s)}function i(s){const f=r.set.get(s.name);return f&&f.defs.length===0&&f.references.some(g=>g.identifier===s)}function c(s){const f=s.parent;return f.type==="MemberExpression"&&f.property===s&&!f.computed?a(f):f.type!=="CallExpression"&&f.type!=="NewExpression"&&!e(s)&&!n(s)&&!(i(s)&&!o(s))}function h(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){m(s.name)&&c(s)&&h(s)}}}},so}var ao,$g;function cA(){if($g)return ao;$g=1;const a=Ue();function e(t){const l=t.parent;return l.type==="AssignmentExpression"&&l.left===t||l.type==="ArrayPattern"||l.type==="RestElement"||l.type==="Property"&&l.value===t&&l.parent.type==="ObjectPattern"||l.type==="AssignmentPattern"&&l.left===t}function n(t){const l=t.parent;return l.type==="ImportSpecifier"&&l.imported!==l.local&&l.imported===t||l.type==="ExportSpecifier"&&l.parent.source&&l.local!==l.exported&&l.local===t}function o(t){const l=t.parent;return!l.computed&&l.type==="Property"&&l.parent.type==="ObjectPattern"&&l.key===t}return ao={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 l=new Set(t.options),p=new Set,u=t.sourceCode;let r;function m(s){return l.has(s)}function i(s){const f=r.set.get(s.name);return f&&f.defs.length===0&&f.references.some(g=>g.identifier===s)}function c(s){if(a.isImportAttributeKey(s))return!1;const f=s.parent;return f.type==="MemberExpression"&&f.property===s&&!f.computed?e(f):f.type!=="CallExpression"&&f.type!=="NewExpression"&&!n(s)&&!o(s)&&!i(s)}function h(s){if(!p.has(s.range.toString())){const f=s.type==="PrivateIdentifier";t.report({node:s,messageId:f?"restrictedPrivate":"restricted",data:{name:s.name}}),p.add(s.range.toString())}}return{Program(s){r=u.getScope(s)},[["Identifier","PrivateIdentifier"]](s){m(s.name)&&c(s)&&h(s)}}}},ao}var io,Wg;function fA(){if(Wg)return io;Wg=1;const{getGraphemeCount:a}=Ir(),{getModuleExportName:e,isImportAttributeKey:n}=Ue();return io={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:l=1/0,min:p}=t,u=t.properties!=="never",r=new Set(t.exceptions),m=t.exceptionPatterns.map(s=>new RegExp(s,"u")),i=new Set;function c(s){return m.some(f=>f.test(s))}const h={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,f){return s.left===f},VariableDeclarator(s,f){return s.id===f},Property(s,f){if(s.parent.type==="ObjectPattern"){const g=s.value.name===s.key.name;return!g&&s.value===f||g&&s.key===f&&u}return u&&!n(f)&&!s.computed&&s.key.name===f.name},ImportSpecifier(s,f){return s.local===f&&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 f=s.name,g=s.parent,d=a(f),E=d<p,S=d>l;if(!(E||S)||r.has(f)||c(f))return;const x=h[g.type];if(x&&!i.has(s.range.toString())&&(x===!0||x(g,s))){i.add(s.range.toString());let T=E?"tooShort":"tooLong";s.type==="PrivateIdentifier"&&(T+="Private"),o.report({node:s,messageId:T,data:{name:f,min:p,max:l}})}}}}},io}var oo,Gg;function pA(){if(Gg)return oo;Gg=1;const a=Ue();return oo={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:l,properties:p}]=e.options,u=new RegExp(n,"u"),r=e.sourceCode;let m;const i=new Set,c=new Set(["CallExpression","NewExpression"]),h=new Set(["FunctionDeclaration","VariableDeclarator"]),s=new Set(["ImportSpecifier","ImportNamespaceSpecifier","ImportDefaultSpecifier"]);function f(x){const T=m.set.get(x.name);return T&&T.defs.length===0&&T.references.some(C=>C.identifier===x)}function g(x){return!u.test(x)}function d(x){let{parent:T}=x;for(;T;){if(T.type==="ObjectPattern")return!0;T=T.parent}return!1}function E(x,T){return(!l||h.has(x.type))&&!c.has(x.type)&&g(T)}function S(x){if(!i.has(x.range.toString())){const T=x.type==="PrivateIdentifier"?"notMatchPrivate":"notMatch";e.report({node:x,messageId:T,data:{name:x.name,pattern:n}}),i.add(x.range.toString())}}return{Program(x){m=r.getScope(x)},Identifier(x){const T=x.name,C=x.parent,v=C.type==="MemberExpression"?C.parent:C;if(!(f(x)||a.isImportAttributeKey(x)))if(C.type==="MemberExpression"){if(!p)return;C.object.type==="Identifier"&&C.object.name===T||v.type==="AssignmentExpression"&&v.left.type==="MemberExpression"&&v.left.property.name===x.name?g(T)&&S(x):v.type==="AssignmentExpression"&&v.right.type!=="MemberExpression"&&g(T)&&S(x)}else if(C.type==="Property"&&C.parent.type==="ObjectExpression"&&C.key===x&&!C.computed)p&&g(T)&&S(x);else if(C.type==="Property"||C.type==="AssignmentPattern"){if(C.parent&&C.parent.type==="ObjectPattern"){!t&&C.shorthand&&C.value.left&&g(T)&&S(x);const A=C.key.name===C.value.name;if(!A&&C.key===x)return;C.value.name&&g(T)&&!(A&&t)&&S(x)}if(!p&&!C.computed||t&&d(x))return;C.right!==x&&E(v,T)&&S(x)}else s.has(C.type)?C.local&&C.local.name===x.name&&g(T)&&S(x):C.type==="PropertyDefinition"?o&&g(T)&&S(x):E(v,T)&&S(x)},PrivateIdentifier(x){x.parent.type==="PropertyDefinition"&&!o||g(x.name)&&S(x)}}}},oo}var lo,zg;function mA(){if(zg)return lo;zg=1;const{isCommentToken:a,isNotOpeningParenToken:e}=Ue();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",url:"https://eslint.style"},rule:{name:"implicit-arrow-linebreak",url:"https://eslint.style/rules/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 l(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:m=>m.insertTextBefore(r,`
72
- `)}):u.loc.end.line!==r.loc.start.line&&t==="beside"&&n.report({node:r,messageId:"unexpected",fix(m){return o.getFirstTokenBetween(u,r,{includeComments:!0,filter:a})?null:m.replaceTextRange([u.range[1],r.range[0]]," ")}})}return{ArrowFunctionExpression:p=>l(p)}}},lo}var uo,Hg;function hA(){if(Hg)return uo;Hg=1;const a=Ue(),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 m=u;m>=0;m--){const i=r[m];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 m=0;m<r.length;m++){const i=r[m];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,m,i){this._tokenInfo=u,this._indentSize=r,this._indentType=m,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,m){return this.setDesiredOffsets(u.range,r,m)}setDesiredOffsets(u,r,m,i){const c={offset:m,from:r,force:i},h=this._indexMap.findLastNotAfter(u[1]),s=r&&r.range[0]>=u[0]&&r.range[1]<=u[1],f=s&&this._getOffsetDescriptor(r);this._indexMap.deleteRange(u[0]+1,u[1]),this._indexMap.insert(u[0],c),s&&(this._indexMap.insert(r.range[0],f),this._indexMap.insert(r.range[1],c)),this._indexMap.insert(u[1],h)}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),m=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(m))}return this._desiredIndentCache.get(u)}ignoreToken(u){this._tokenInfo.isFirstTokenOfLine(u)&&this._ignoredTokens.add(u)}getFirstDependency(u){return this._getOffsetDescriptor(u).from}}const l={oneOf:[{type:"integer",minimum:0},{enum:["first","off"]}]};return uo={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",url:"https://eslint.style"},rule:{name:"indent",url:"https://eslint.style/rules/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:[l,{type:"object",properties:{var:l,let:l,const:l},additionalProperties:!1}]},outerIIFEBody:{oneOf:[{type:"integer",minimum:0},{enum:["off"]}]},MemberExpression:{oneOf:[{type:"integer",minimum:0},{enum:["off"]}]},FunctionDeclaration:{type:"object",properties:{parameters:l,body:{type:"integer",minimum:0}},additionalProperties:!1},FunctionExpression:{type:"object",properties:{parameters:l,body:{type:"integer",minimum:0}},additionalProperties:!1},StaticBlock:{type:"object",properties:{body:{type:"integer",minimum:0}},additionalProperties:!1},CallExpression:{type:"object",properties:{arguments:l},additionalProperties:!1},ArrayExpression:l,ObjectExpression:l,ImportDeclaration:l,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",c=4;const h={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"?(c=1,i="tab"):(c=p.options[0],i="space"),p.options[1]&&(Object.assign(h,p.options[1]),(typeof h.VariableDeclarator=="number"||h.VariableDeclarator==="first")&&(h.VariableDeclarator={var:h.VariableDeclarator,let:h.VariableDeclarator,const:h.VariableDeclarator})));const s=p.sourceCode,f=new o(s),g=new t(f,c,i==="space"?" ":" ",s.text.length),d=new WeakSet;function E(B,z,H){const ce=`${B} ${i}${B===1?"":"s"}`,re=`space${z===1?"":"s"}`,Fe=`tab${H===1?"":"s"}`;let X;return z>0?X=i==="space"?z:`${z} ${re}`:H>0?X=i==="tab"?H:`${H} ${Fe}`:X="0",{expected:ce,actual:X}}function S(B,z){const H=Array.from(f.getTokenIndent(B)),ce=H.filter(Fe=>Fe===" ").length,re=H.filter(Fe=>Fe===" ").length;p.report({node:B,messageId:"wrongIndentation",data:E(z.length,ce,re),loc:{start:{line:B.loc.start.line,column:0},end:{line:B.loc.start.line,column:B.loc.start.column}},fix(Fe){const X=[B.range[0]-B.loc.start.column,B.range[0]],I=z;return Fe.replaceTextRange(X,I)}})}function x(B,z){const H=f.getTokenIndent(B);return H===z||H.includes(" ")&&H.includes(" ")}function T(B){if(!B.parent||B.parent.type!=="CallExpression"||B.parent.callee!==B)return!1;let z=B.parent&&B.parent.parent;for(;z.type==="UnaryExpression"&&["!","~","+","-"].includes(z.operator)||z.type==="AssignmentExpression"||z.type==="LogicalExpression"||z.type==="SequenceExpression"||z.type==="VariableDeclarator";)z=z.parent;return(z.type==="ExpressionStatement"||z.type==="VariableDeclaration")&&z.parent.type==="Program"}function C(B){const H=B.match(/\s*$/u)[0].match(a.createGlobalLinebreakMatcher());return H===null?0:H.length}function v(B,z,H,ce){function re(Fe){let X=s.getTokenBefore(Fe);for(;a.isOpeningParenToken(X)&&X!==z;)X=s.getTokenBefore(X);return s.getTokenAfter(X)}g.setDesiredOffsets([z.range[1],H.range[0]],z,typeof ce=="number"?ce:1),g.setDesiredOffset(H,z,0),!(ce==="first"&&B.length&&!B[0])&&B.forEach((Fe,X)=>{if(Fe&&(ce==="off"&&g.ignoreToken(re(Fe)),X!==0))if(ce==="first"&&f.isFirstTokenOfLine(re(Fe)))g.matchOffsetOf(re(B[0]),re(Fe));else{const I=B[X-1],W=I&&re(I),oe=I&&s.getLastToken(I);I&&oe.loc.end.line-C(oe.value)>z.loc.end.line&&g.setDesiredOffsets([I.range[1],Fe.range[1]],W,0)}})}function A(B){if(B.type!=="BlockStatement"){const z=s.getTokenBefore(B,a.isNotOpeningParenToken);let H=s.getFirstToken(B),ce=s.getLastToken(B);for(;a.isOpeningParenToken(s.getTokenBefore(H))&&a.isClosingParenToken(s.getTokenAfter(ce));)H=s.getTokenBefore(H),ce=s.getTokenAfter(ce);g.setDesiredOffsets([H.range[0],ce.range[1]],z,1)}}function b(B){let z;B.arguments.length?z=s.getFirstTokenBetween(B.callee,B.arguments[0],a.isOpeningParenToken):z=s.getLastToken(B,1);const H=s.getLastToken(B);if(d.add(z),d.add(H),B.optional){const Fe=s.getTokenAfter(B.callee,a.isQuestionDotToken),X=s.getTokensBetween(B.callee,Fe,{filter:a.isClosingParenToken}).length,I=X?s.getTokenBefore(B.callee,{skip:X-1}):s.getFirstToken(B.callee),W=s.getTokenBefore(Fe),oe=W.loc.end.line===z.loc.start.line?W:I;g.setDesiredOffset(Fe,oe,1)}const ce=B.callee.type==="TaggedTemplateExpression"?s.getFirstToken(B.callee.quasi):z,re=s.getTokenBefore(ce);g.setDesiredOffset(z,re,0),v(B.arguments,z,H,h.CallExpression.arguments)}function w(B){const z=[],H=[];for(let ce=0;ce<B.length;ce++){const re=B[ce];a.isOpeningParenToken(re)?z.push(re):a.isClosingParenToken(re)&&H.push({left:z.pop(),right:re})}for(let ce=H.length-1;ce>=0;ce--){const re=H[ce].left,Fe=H[ce].right;if(!d.has(re)&&!d.has(Fe)){const X=new Set(s.getTokensBetween(re,Fe));X.forEach(I=>{X.has(g.getFirstDependency(I))||g.setDesiredOffset(I,re,1)})}g.setDesiredOffset(Fe,re,0)}}function k(B){const z=new Set(s.getTokens(B,{includeComments:!0}));z.forEach(H=>{if(!z.has(g.getFirstDependency(H))){const ce=f.getFirstTokenOfLine(H);H===ce?g.ignoreToken(H):g.setDesiredOffset(H,ce,0)}})}function R(B,z){let H=z;for(;H.parent&&!H.parent.type.endsWith("Statement")&&!H.parent.type.endsWith("Declaration");)H=H.parent;return H=H.parent,!H||H.loc.start.line===B.loc.start.line}function F(B,z){const H=B.loc.end.line,ce=z.loc.start.line;if(H===ce||H===ce-1)return!1;for(let re=H+1;re<ce;++re)if(!f.firstTokensByLineNumber.has(re))return!0;return!1}const L=new Set,P={"ArrayExpression, ArrayPattern"(B){const z=s.getFirstToken(B),H=s.getTokenAfter([...B.elements].reverse().find(ce=>ce)||z,a.isClosingBracketToken);v(B.elements,z,H,h.ArrayExpression)},"ObjectExpression, ObjectPattern"(B){const z=s.getFirstToken(B),H=s.getTokenAfter(B.properties.length?B.properties.at(-1):z,a.isClosingBraceToken);v(B.properties,z,H,h.ObjectExpression)},ArrowFunctionExpression(B){const z=s.getFirstToken(B,{skip:B.async?1:0});if(a.isOpeningParenToken(z)){const H=z,ce=s.getTokenBefore(B.body,a.isClosingParenToken);d.add(H),d.add(ce),v(B.params,H,ce,h.FunctionExpression.parameters)}A(B.body)},AssignmentExpression(B){const z=s.getFirstTokenBetween(B.left,B.right,H=>H.value===B.operator);g.setDesiredOffsets([z.range[0],B.range[1]],s.getLastToken(B.left),1),g.ignoreToken(z),g.ignoreToken(s.getTokenAfter(z))},"BinaryExpression, LogicalExpression"(B){const z=s.getFirstTokenBetween(B.left,B.right,ce=>ce.value===B.operator),H=s.getTokenAfter(z);g.ignoreToken(z),g.ignoreToken(H),g.setDesiredOffset(H,z,0)},"BlockStatement, ClassBody"(B){let z;B.parent&&T(B.parent)?z=h.outerIIFEBody:B.parent&&(B.parent.type==="FunctionExpression"||B.parent.type==="ArrowFunctionExpression")?z=h.FunctionExpression.body:B.parent&&B.parent.type==="FunctionDeclaration"?z=h.FunctionDeclaration.body:z=1,a.STATEMENT_LIST_PARENTS.has(B.parent.type)||g.setDesiredOffset(s.getFirstToken(B),s.getFirstToken(B.parent),0),v(B.body,s.getFirstToken(B),s.getLastToken(B),z)},CallExpression:b,"ClassDeclaration[superClass], ClassExpression[superClass]"(B){const z=s.getFirstToken(B),H=s.getTokenBefore(B.superClass,a.isNotOpeningParenToken);g.setDesiredOffsets([H.range[0],B.body.range[0]],z,1)},ConditionalExpression(B){const z=s.getFirstToken(B);if(!h.flatTernaryExpressions||!a.isTokenOnSameLine(B.test,B.consequent)||R(z,B)){const H=s.getFirstTokenBetween(B.test,B.consequent,I=>I.type==="Punctuator"&&I.value==="?"),ce=s.getFirstTokenBetween(B.consequent,B.alternate,I=>I.type==="Punctuator"&&I.value===":"),re=s.getTokenAfter(H),Fe=s.getTokenBefore(ce),X=s.getTokenAfter(ce);g.setDesiredOffset(H,z,1),g.setDesiredOffset(ce,z,1),g.setDesiredOffset(re,z,re.type==="Punctuator"&&h.offsetTernaryExpressions?2:1),Fe.loc.end.line===X.loc.start.line?g.setDesiredOffset(X,re,0):g.setDesiredOffset(X,z,X.type==="Punctuator"&&h.offsetTernaryExpressions?2:1)}},"DoWhileStatement, WhileStatement, ForInStatement, ForOfStatement, WithStatement":B=>A(B.body),ExportNamedDeclaration(B){if(B.declaration===null){const z=s.getLastToken(B,a.isClosingBraceToken);v(B.specifiers,s.getFirstToken(B,{skip:1}),z,1),B.source&&g.setDesiredOffsets([z.range[1],B.range[1]],s.getFirstToken(B),1)}},ForStatement(B){const z=s.getFirstToken(B,1);B.init&&g.setDesiredOffsets(B.init.range,z,1),B.test&&g.setDesiredOffsets(B.test.range,z,1),B.update&&g.setDesiredOffsets(B.update.range,z,1),A(B.body)},"FunctionDeclaration, FunctionExpression"(B){const z=s.getTokenBefore(B.body),H=s.getTokenBefore(B.params.length?B.params[0]:z);d.add(H),d.add(z),v(B.params,H,z,h[B.type].parameters)},IfStatement(B){A(B.consequent),B.alternate&&A(B.alternate)},":matches(DoWhileStatement, ForStatement, ForInStatement, ForOfStatement, IfStatement, WhileStatement, WithStatement):exit"(B){let z;B.type==="IfStatement"?(z=[B.consequent],B.alternate&&z.push(B.alternate)):z=[B.body];for(const H of z){const ce=s.getLastToken(H);if(a.isSemicolonToken(ce)){const re=s.getTokenBefore(ce),Fe=s.getTokenAfter(ce);!a.isTokenOnSameLine(re,ce)&&Fe&&a.isTokenOnSameLine(ce,Fe)&&g.setDesiredOffset(ce,s.getFirstToken(B),0)}}},ImportDeclaration(B){if(B.specifiers.some(re=>re.type==="ImportSpecifier")){const re=s.getFirstToken(B,a.isOpeningBraceToken),Fe=s.getLastToken(B,a.isClosingBraceToken);v(B.specifiers.filter(X=>X.type==="ImportSpecifier"),re,Fe,h.ImportDeclaration)}const z=s.getLastToken(B,re=>re.type==="Identifier"&&re.value==="from"),H=s.getLastToken(B,re=>re.type==="String"),ce=s.getLastToken(B,re=>re.type==="Punctuator"&&re.value===";");if(z){const re=ce&&ce.range[1]===H.range[1]?B.range[1]:H.range[1];g.setDesiredOffsets([z.range[0],re],s.getFirstToken(B),1)}},ImportExpression(B){const z=s.getFirstToken(B,1),H=s.getLastToken(B);d.add(z),d.add(H),g.setDesiredOffset(z,s.getTokenBefore(z),0),v([B.source],z,H,h.CallExpression.arguments)},"MemberExpression, JSXMemberExpression, MetaProperty"(B){const z=B.type==="MetaProperty"?B.meta:B.object,H=s.getFirstTokenBetween(z,B.property,a.isNotClosingParenToken),ce=s.getTokenAfter(H),re=s.getTokensBetween(z,B.property,{filter:a.isClosingParenToken}).length,Fe=re?s.getTokenBefore(z,{skip:re-1}):s.getFirstToken(z),X=s.getTokenBefore(H),I=B.computed?H:ce;B.computed&&(g.setDesiredOffset(s.getLastToken(B),H,0),g.setDesiredOffsets(B.property.range,H,1));const W=X.loc.end.line===I.loc.start.line?X:Fe;typeof h.MemberExpression=="number"?(g.setDesiredOffset(H,W,h.MemberExpression),g.setDesiredOffset(ce,B.computed?H:W,h.MemberExpression)):(g.ignoreToken(H),g.ignoreToken(ce),g.setDesiredOffset(H,W,0),g.setDesiredOffset(ce,H,0))},NewExpression(B){(B.arguments.length>0||a.isClosingParenToken(s.getLastToken(B))&&a.isOpeningParenToken(s.getLastToken(B,1)))&&b(B)},Property(B){if(!B.shorthand&&!B.method&&B.kind==="init"){const z=s.getFirstTokenBetween(B.key,B.value,a.isColonToken);g.ignoreToken(s.getTokenAfter(z))}},PropertyDefinition(B){const z=s.getFirstToken(B),H=s.getLastToken(B);let ce;if(B.computed){const re=s.getTokenBefore(B.key,a.isOpeningBracketToken),Fe=ce=s.getTokenAfter(B.key,a.isClosingBracketToken),X=[re.range[1],Fe.range[0]];re!==z&&g.setDesiredOffset(re,z,0),g.setDesiredOffsets(X,re,1),g.setDesiredOffset(Fe,re,0)}else{const re=ce=s.getFirstToken(B.key);re!==z&&g.setDesiredOffset(re,z,1)}if(B.value){const re=s.getTokenBefore(B.value,a.isEqToken),Fe=s.getTokenAfter(re);g.setDesiredOffset(re,ce,1),g.setDesiredOffset(Fe,re,1),a.isSemicolonToken(H)&&g.setDesiredOffset(H,re,1)}else a.isSemicolonToken(H)&&g.setDesiredOffset(H,ce,1)},StaticBlock(B){const z=s.getFirstToken(B,{skip:1}),H=s.getLastToken(B);v(B.body,z,H,h.StaticBlock.body)},SwitchStatement(B){const z=s.getTokenAfter(B.discriminant,a.isOpeningBraceToken),H=s.getLastToken(B);g.setDesiredOffsets([z.range[1],H.range[0]],z,h.SwitchCase),B.cases.length&&s.getTokensBetween(B.cases.at(-1),H,{includeComments:!0,filter:a.isCommentToken}).forEach(ce=>g.ignoreToken(ce))},SwitchCase(B){if(!(B.consequent.length===1&&B.consequent[0].type==="BlockStatement")){const z=s.getFirstToken(B),H=s.getTokenAfter(B);g.setDesiredOffsets([z.range[1],H.range[0]],z,1)}},TemplateLiteral(B){B.expressions.forEach((z,H)=>{const ce=B.quasis[H],re=B.quasis[H+1],Fe=ce.loc.start.line===ce.loc.end.line?s.getFirstToken(ce):null;g.setDesiredOffsets([ce.range[1],re.range[0]],Fe,1),g.setDesiredOffset(s.getFirstToken(re),Fe,0)})},VariableDeclaration(B){let z=Object.hasOwn(h.VariableDeclarator,B.kind)?h.VariableDeclarator[B.kind]:1;const H=s.getFirstToken(B),ce=s.getLastToken(B);if(h.VariableDeclarator[B.kind]==="first"){if(B.declarations.length>1){v(B.declarations,H,ce,"first");return}z=1}B.declarations.at(-1).loc.start.line>B.loc.start.line?g.setDesiredOffsets(B.range,H,z,!0):g.setDesiredOffsets(B.range,H,z),a.isSemicolonToken(ce)&&g.ignoreToken(ce)},VariableDeclarator(B){if(B.init){const z=s.getTokenBefore(B.init,a.isNotOpeningParenToken),H=s.getTokenAfter(z);g.ignoreToken(z),g.ignoreToken(H),g.setDesiredOffsets([H.range[0],B.range[1]],z,1),g.setDesiredOffset(z,s.getLastToken(B.id),0)}},"JSXAttribute[value]"(B){const z=s.getFirstTokenBetween(B.name,B.value,H=>H.type==="Punctuator"&&H.value==="=");g.setDesiredOffsets([z.range[0],B.value.range[1]],s.getFirstToken(B.name),1)},JSXElement(B){B.closingElement&&v(B.children,s.getFirstToken(B.openingElement),s.getFirstToken(B.closingElement),1)},JSXOpeningElement(B){const z=s.getFirstToken(B);let H;B.selfClosing?(H=s.getLastToken(B,{skip:1}),g.setDesiredOffset(s.getLastToken(B),H,0)):H=s.getLastToken(B),g.setDesiredOffsets(B.name.range,s.getFirstToken(B)),v(B.attributes,z,H,1)},JSXClosingElement(B){const z=s.getFirstToken(B);g.setDesiredOffsets(B.name.range,z,1)},JSXFragment(B){const z=s.getFirstToken(B.openingFragment),H=s.getFirstToken(B.closingFragment);v(B.children,z,H,1)},JSXOpeningFragment(B){const z=s.getFirstToken(B),H=s.getLastToken(B);g.setDesiredOffsets(B.range,z,1),g.matchOffsetOf(z,H)},JSXClosingFragment(B){const z=s.getFirstToken(B),H=s.getLastToken(B,{skip:1}),ce=s.getLastToken(B),re=a.isTokenOnSameLine(H,ce)?H:ce;g.setDesiredOffsets(B.range,z,1),g.matchOffsetOf(z,re)},JSXExpressionContainer(B){const z=s.getFirstToken(B),H=s.getLastToken(B);g.setDesiredOffsets([z.range[1],H.range[0]],z,1)},JSXSpreadAttribute(B){const z=s.getFirstToken(B),H=s.getLastToken(B);g.setDesiredOffsets([z.range[1],H.range[0]],z,1)},"*"(B){const z=s.getFirstToken(B);z&&!L.has(z)&&g.setDesiredOffsets(B.range,z,0)}},O=[],q={};for(const[B,z]of Object.entries(P))q[B]=H=>O.push({listener:z,node:H});const N=new Set;function _(B){N.add(B),L.add(s.getFirstToken(B))}const G=h.ignoredNodes.reduce((B,z)=>Object.assign(B,{[z]:_}),{});return Object.assign(q,G,{"*:exit"(B){e.has(B.type)||_(B)},"Program:exit"(){h.ignoreComments&&s.getAllComments().forEach(z=>g.ignoreToken(z));for(let z=0;z<O.length;z++){const H=O[z];N.has(H.node)||H.listener(H.node)}N.forEach(k),w(s.ast.tokens);const B=new WeakMap;for(let z=0;z<s.ast.comments.length;z++){const H=s.ast.comments[z],ce=s.getTokenBefore(H,{includeComments:!0}),re=B.has(ce)?B.get(ce):ce;B.set(H,re)}for(let z=1;z<s.lines.length+1;z++){if(!f.firstTokensByLineNumber.has(z))continue;const H=f.firstTokensByLineNumber.get(z);if(H.loc.start.line===z){if(a.isCommentToken(H)){const ce=B.get(H),re=ce?s.getTokenAfter(ce):s.ast.tokens[0],Fe=ce&&!F(ce,H),X=re&&!F(H,re);if(re&&a.isSemicolonToken(re)&&!a.isTokenOnSameLine(H,re)&&g.setDesiredOffset(H,re,0),Fe&&x(H,g.getDesiredIndent(ce))||X&&x(H,g.getDesiredIndent(re)))continue}x(H,g.getDesiredIndent(H))||S(H,g.getDesiredIndent(H))}}}})}},uo}var co,Kg;function dA(){if(Kg)return co;Kg=1;const a=Ue();return co={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",url:"https://eslint.style"},rule:{name:"indent",url:"https://eslint.style/rules/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 l="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,l="tab"):typeof e.options[0]=="number"&&(p=e.options[0],l="space"),e.options[1])){const _=e.options[1];u.SwitchCase=_.SwitchCase||0;const G=_.VariableDeclarator;typeof G=="number"?u.VariableDeclarator={var:G,let:G,const:G}:typeof G=="object"&&Object.assign(u.VariableDeclarator,G),typeof _.outerIIFEBody=="number"&&(u.outerIIFEBody=_.outerIIFEBody),typeof _.MemberExpression=="number"&&(u.MemberExpression=_.MemberExpression),typeof _.FunctionDeclaration=="object"&&Object.assign(u.FunctionDeclaration,_.FunctionDeclaration),typeof _.FunctionExpression=="object"&&Object.assign(u.FunctionExpression,_.FunctionExpression),typeof _.CallExpression=="object"&&Object.assign(u.CallExpression,_.CallExpression),(typeof _.ArrayExpression=="number"||typeof _.ArrayExpression=="string")&&(u.ArrayExpression=_.ArrayExpression),(typeof _.ObjectExpression=="number"||typeof _.ObjectExpression=="string")&&(u.ObjectExpression=_.ObjectExpression)}const m={};function i(_,G,B){const z=`${_} ${l}${_===1?"":"s"}`,H=`space${G===1?"":"s"}`,ce=`tab${B===1?"":"s"}`;let re;return G>0&&B>0?re=`${G} ${H} and ${B} ${ce}`:G>0?re=l==="space"?G:`${G} ${H}`:B>0?re=l==="tab"?B:`${B} ${ce}`:re="0",{expected:z,actual:re}}function c(_,G,B,z,H,ce){if(B&&z)return;const re=(l==="space"?" ":" ").repeat(G),Fe=ce?[_.range[1]-_.loc.end.column,_.range[1]-_.loc.end.column+B+z]:[_.range[0]-_.loc.start.column,_.range[0]-_.loc.start.column+B+z];e.report({node:_,loc:H,messageId:"expected",data:i(G,B,z),fix:X=>X.replaceTextRange(Fe,re)})}function h(_,G){const B=G?r.getLastToken(_):r.getFirstToken(_),z=r.getText(B,B.loc.start.column).split(""),H=z.slice(0,z.findIndex(Fe=>Fe!==" "&&Fe!==" ")),ce=H.filter(Fe=>Fe===" ").length,re=H.filter(Fe=>Fe===" ").length;return{space:ce,tab:re,goodChar:l==="space"?ce:re,badChar:l==="space"?re:ce}}function s(_,G){const B=G===!0?r.getLastToken(_,1):r.getTokenBefore(_),z=G===!0?_.loc.end.line:_.loc.start.line,H=B?B.loc.end.line:-1;return z!==H}function f(_,G){const B=h(_,!1);if(_.type!=="ArrayExpression"&&_.type!=="ObjectExpression"&&(B.goodChar!==G||B.badChar!==0)&&s(_)&&c(_,G,B.space,B.tab),_.type==="IfStatement"&&_.alternate){const z=r.getTokenBefore(_.alternate);f(z,G),s(_.alternate)||f(_.alternate,G)}if(_.type==="TryStatement"&&_.handler){const z=r.getFirstToken(_.handler);f(z,G)}if(_.type==="TryStatement"&&_.finalizer){const z=r.getTokenBefore(_.finalizer);f(z,G)}if(_.type==="DoWhileStatement"){const z=r.getTokenAfter(_.body);f(z,G)}}function g(_,G){_.forEach(B=>f(B,G))}function d(_,G){const B=r.getLastToken(_),z=h(B,!0);(z.goodChar!==G||z.badChar!==0)&&s(_,!0)&&c(_,G,z.space,z.tab,{line:B.loc.start.line,column:B.loc.start.column},!0)}function E(_,G){const B=r.getLastToken(_,a.isClosingParenToken);if(r.getText(B,B.loc.start.column).slice(0,-1).trim())return;const H=h(B,!0);H.goodChar!==G&&c(_,G,H.space,H.tab,{line:B.loc.start.line,column:B.loc.start.column},!0)}function S(_,G){const B=h(_,!1);(B.goodChar!==G||B.badChar!==0)&&s(_)&&c(_,G,B.space,B.tab,{line:_.loc.start.line,column:_.loc.start.column})}function x(_,G,B){let z=_.parent;const H=new Set(B||["Program"]);for(;z.type!==G&&!H.has(z.type)&&z.type!=="Program";)z=z.parent;return z.type===G?z:null}function T(_){return x(_,"VariableDeclarator")}function C(_,G){return G&&G.parent.loc.start.line===_.loc.start.line&&G.parent.declarations.length>1}function v(_){const G=_.parent;return G.arguments.length>=2&&G.arguments[1]===_?G.arguments[0].loc.end.line>G.arguments[0].loc.start.line:!1}function A(_){const G=_.parent;let B=G.parent;if(G.type!=="CallExpression"||G.callee!==_)return!1;for(;B.type==="UnaryExpression"&&(B.operator==="!"||B.operator==="~"||B.operator==="+"||B.operator==="-")||B.type==="AssignmentExpression"||B.type==="LogicalExpression"||B.type==="SequenceExpression"||B.type==="VariableDeclarator";)B=B.parent;return(B.type==="ExpressionStatement"||B.type==="VariableDeclaration")&&B.parent&&B.parent.type==="Program"}function b(_){const G=_.parent;let B;if(G.parent&&(G.parent.type==="Property"||G.parent.type==="ArrayExpression")?B=h(G,!1).goodChar:B=h(G).goodChar,G.parent.type==="CallExpression"){const ce=G.parent;G.type!=="FunctionExpression"&&G.type!=="ArrowFunctionExpression"?ce&&ce.loc.start.line<_.loc.start.line&&(B=h(ce).goodChar):v(G)&&ce.callee.loc.start.line===ce.callee.loc.end.line&&!s(G)&&(B=h(ce).goodChar)}let z=p;u.outerIIFEBody!==null&&A(G)?z=u.outerIIFEBody*p:G.type==="FunctionExpression"?z=u.FunctionExpression.body*p:G.type==="FunctionDeclaration"&&(z=u.FunctionDeclaration.body*p),B+=z;const H=T(_);H&&C(_,H)&&(B+=p*u.VariableDeclarator[H.parent.kind]),_.body.length>0&&g(_.body,B),d(_,B-z)}function w(_){const G=r.getLastToken(_),B=_.loc.start.line,z=G.loc.end.line;return B===z}function k(_){if(w(_))return;let G=_.type==="ArrayExpression"?_.elements:_.properties;G=G.filter(ce=>ce!==null);let B,z;const H=T(_);if(s(_)){const ce=_.parent;if(B=h(ce).goodChar,(!H||H.loc.start.line!==_.loc.start.line)&&(ce.type!=="VariableDeclarator"||H===H.parent.declarations[0]))if(ce.type==="VariableDeclarator"&&H.loc.start.line===ce.loc.start.line)B+=p*u.VariableDeclarator[H.parent.kind];else if(ce.type==="ObjectExpression"||ce.type==="ArrayExpression"){const re=_.parent.type==="ObjectExpression"?_.parent.properties:_.parent.elements;re[0]&&re[0].loc.start.line===ce.loc.start.line&&re[0].loc.end.line!==ce.loc.start.line||(typeof u[ce.type]=="number"?B+=u[ce.type]*p:B=re[0].loc.start.column)}else ce.type==="CallExpression"||ce.type==="NewExpression"?typeof u.CallExpression.arguments=="number"?B+=u.CallExpression.arguments*p:u.CallExpression.arguments==="first"?ce.arguments.includes(_)&&(B=ce.arguments[0].loc.start.column):B+=p:(ce.type==="LogicalExpression"||ce.type==="ArrowFunctionExpression")&&(B+=p);S(_,B)}else B=h(_).goodChar;u[_.type]==="first"?z=G.length?G[0].loc.start.column:0:z=B+p*u[_.type],C(_,H)&&(z+=p*u.VariableDeclarator[H.parent.kind]),g(G,z),!(G.length>0&&G.at(-1).loc.end.line===_.loc.end.line)&&d(_,B+(C(_,H)?u.VariableDeclarator[H.parent.kind]*p:0))}function R(_){return _.type==="BlockStatement"||_.type==="ClassBody"||_.body&&_.body.type==="BlockStatement"||_.consequent&&_.consequent.type==="BlockStatement"}function F(_){if(w(_))return;if(_.parent&&(_.parent.type==="FunctionExpression"||_.parent.type==="FunctionDeclaration"||_.parent.type==="ArrowFunctionExpression")){b(_);return}let G,B;const z=["IfStatement","WhileStatement","ForStatement","ForInStatement","ForOfStatement","DoWhileStatement","ClassDeclaration","TryStatement"];_.parent&&z.includes(_.parent.type)&&R(_)?G=h(_.parent).goodChar:_.parent&&_.parent.type==="CatchClause"?G=h(_.parent.parent).goodChar:G=h(_).goodChar,_.type==="IfStatement"&&_.consequent.type!=="BlockStatement"?B=[_.consequent]:Array.isArray(_.body)?B=_.body:B=[_.body],B.length>0&&g(B,G+p),_.type==="BlockStatement"&&d(_,G)}function L(_){return _.declarations.reduce((G,B)=>{const z=G.at(-1);return(B.loc.start.line!==_.loc.start.line&&!z||z&&z.loc.start.line!==B.loc.start.line)&&G.push(B),G},[])}function P(_){const G=L(_),B=h(_).goodChar,z=G.at(-1),H=B+p*u.VariableDeclarator[_.kind];if(g(G,H),r.getLastToken(_).loc.end.line<=z.loc.end.line)return;const ce=r.getTokenBefore(z);ce.value===","?d(_,h(ce).goodChar):d(_,H-p)}function O(_){_.body.type!=="BlockStatement"&&F(_)}function q(_,G){const B=_.type==="SwitchStatement"?_:_.parent,z=typeof G>"u"?h(B).goodChar:G;let H;return m[B.loc.start.line]?m[B.loc.start.line]:(B.cases.length>0&&u.SwitchCase===0?H=z:H=z+p*u.SwitchCase,m[B.loc.start.line]=H,H)}function N(_){const G=/^return\s*\(\s*\)/u,B=r.getText(_).replace(r.getText(_.argument),"");return G.test(B)}return{Program(_){_.body.length>0&&g(_.body,h(_).goodChar)},ClassBody:F,BlockStatement:F,WhileStatement:O,ForStatement:O,ForInStatement:O,ForOfStatement:O,DoWhileStatement:O,IfStatement(_){_.consequent.type!=="BlockStatement"&&_.consequent.loc.start.line>_.loc.start.line&&F(_)},VariableDeclaration(_){_.declarations.at(-1).loc.start.line>_.declarations[0].loc.start.line&&P(_)},ObjectExpression(_){k(_)},ArrayExpression(_){k(_)},MemberExpression(_){if(typeof u.MemberExpression>"u"||w(_)||x(_,"VariableDeclarator",["FunctionExpression","ArrowFunctionExpression"])||x(_,"AssignmentExpression",["FunctionExpression"]))return;const G=h(_).goodChar+p*u.MemberExpression,B=[_.property],z=r.getTokenBefore(_.property);z.type==="Punctuator"&&z.value==="."&&B.push(z),g(B,G)},SwitchStatement(_){const G=h(_).goodChar,B=q(_,G);g(_.cases,B),d(_,G)},SwitchCase(_){if(w(_))return;const G=q(_);g(_.consequent,G+p)},FunctionDeclaration(_){w(_)||(u.FunctionDeclaration.parameters==="first"&&_.params.length?g(_.params.slice(1),_.params[0].loc.start.column):u.FunctionDeclaration.parameters!==null&&g(_.params,h(_).goodChar+p*u.FunctionDeclaration.parameters))},FunctionExpression(_){w(_)||(u.FunctionExpression.parameters==="first"&&_.params.length?g(_.params.slice(1),_.params[0].loc.start.column):u.FunctionExpression.parameters!==null&&g(_.params,h(_).goodChar+p*u.FunctionExpression.parameters))},ReturnStatement(_){if(w(_))return;const G=h(_).goodChar;N(_)?E(_,G):f(_,G)},CallExpression(_){w(_)||(u.CallExpression.arguments==="first"&&_.arguments.length?g(_.arguments.slice(1),_.arguments[0].loc.start.column):u.CallExpression.arguments!==null&&g(_.arguments,h(_).goodChar+p*u.CallExpression.arguments))}}}},co}var fo,Xg;function gA(){if(Xg)return fo;Xg=1;const a=new Set(["const","using","await using"]);function e(o){return o.type==="ForInStatement"||o.type==="ForOfStatement"||o.type==="ForStatement"}function n(o){const t=o.parent,l=t.parent;return e(l)?l.type==="ForStatement"?l.init===t:l.left===t:!!o.init}return fo={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(o){const t="always",l="never",p=o.options[0]||t,u=o.options[1]||{};let r=!1;return{TSModuleDeclaration(m){m.declare&&(r=!0)},"TSModuleDeclaration:exit"(m){m.declare&&(r=!1)},"VariableDeclaration:exit"(m){const i=m.kind,c=m.declarations;if(!(m.declare||r))for(let h=0;h<c.length;++h){const s=c[h],f=s.id,g=n(s),d=u.ignoreForLoopInit&&e(m.parent);let E="";p===t&&!g?E="initialized":p===l&&!a.has(i)&&g&&!d&&(E="notInitialized"),f.type==="Identifier"&&E&&o.report({node:s,messageId:E,data:{idName:f.name}})}}}}},fo}var po,Jg;function yA(){if(Jg)return po;Jg=1;const a=Ue(),e={"prefer-double":{quote:'"',description:"singlequote",convert(n){return n.replace(/'/gu,'"')}},"prefer-single":{quote:"'",description:"doublequote",convert(n){return n.replace(/"/gu,"'")}}};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",url:"https://eslint.style"},rule:{name:"jsx-quotes",url:"https://eslint.style/rules/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 l(p){return p.value.includes(t.quote)||a.isSurroundedBy(p.raw,t.quote)}return{JSXAttribute(p){const u=p.value;u&&a.isStringLiteral(u)&&!l(u)&&n.report({node:u,messageId:"unexpected",data:{description:t.description},fix(r){return r.replaceText(u,t.convert(u.raw))}})}}}},po}var mo,Yg;function vA(){if(Yg)return mo;Yg=1;const a=Ue(),{getGraphemeCount:e}=Ir();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 l(r){const[m]=r,i=o(r);return m.loc.start.line===i.loc.end.line}function p(r,m){return r.mode=m.mode||"strict",typeof m.beforeColon<"u"?r.beforeColon=+m.beforeColon:r.beforeColon=0,typeof m.afterColon<"u"?r.afterColon=+m.afterColon:r.afterColon=1,typeof m.align<"u"&&(typeof m.align=="object"?r.align=m.align:r.align={on:m.align,mode:r.mode,beforeColon:r.beforeColon,afterColon:r.afterColon}),r}function u(r,m){return typeof m.align=="object"?(r.align=p({},m.align),r.align.on=m.align.on||"colon",r.align.mode=m.align.mode||"strict",r.multiLine=p({},m.multiLine||m),r.singleLine=p({},m.singleLine||m)):(r.multiLine=p({},m.multiLine||m),r.singleLine=p({},m.singleLine||m),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 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",url:"https://eslint.style"},rule:{name:"key-spacing",url:"https://eslint.style/rules/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 m=r.options[0]||{},i=u({},m),c=i.multiLine,h=i.singleLine,s=i.align||null,f=r.sourceCode;function g(L){return!(L.method||L.shorthand||L.kind!=="init"||L.type!=="Property")}function d(L){return f.getTokenAfter(L,a.isColonToken)}function E(L){const P=d(L);return f.getTokenBefore(P)}function S(L){const P=d(L);return f.getTokenAfter(P)}function x(L,P){const O=L.loc.start.line,q=(g(P)?S(P.key):P).loc.start.line;if(q-O<=1)return!0;const N=f.getCommentsBefore(P);if(N.length&&N[0].loc.start.line-O<=1&&q-o(N).loc.end.line<=1){for(let _=1;_<N.length;_++)if(N[_].loc.start.line-N[_-1].loc.end.line>1)return!1;return!0}return!1}function T(L){const P=L.key;return L.computed?f.getText().slice(P.range[0],P.range[1]):a.getStaticPropertyName(L)}function C(L,P,O,q,N){const _=O.length-q;if((_&&N==="strict"||_<0&&N==="minimum"||_>0&&!q&&N==="minimum")&&!(q&&n(O))){const G=d(L.key),B=f.getTokenBefore(G,{includeComments:!0}),z=f.getTokenAfter(G,{includeComments:!0}),H=P==="key",ce=_>0,re=Math.abs(_),Fe=Array(re+1).join(" "),X=H?B.loc.end:G.loc.start,I=H?G.loc.start:z.loc.start,W=H?B.loc:z.loc,oe=ce?{start:X,end:I}:W;let ie;if(ce){let de;H?de=[B.range[1],B.range[1]+re]:de=[z.range[0]-re,z.range[0]],ie=function(be){return be.removeRange(de)}}else H?ie=function(de){return de.insertTextAfter(B,Fe)}:ie=function(de){return de.insertTextBefore(z,Fe)};let se;ce?se=P==="key"?"extraKey":"extraValue":se=P==="key"?"missingKey":"missingValue",r.report({node:L[P],loc:oe,messageId:se,data:{computed:L.computed?"computed ":"",key:T(L)},fix:ie})}}function v(L){const P=f.getFirstToken(L),O=E(L.key);return e(f.getText().slice(P.range[0],O.range[1]))}function A(L){const P=/(\s*):(\s*)/u.exec(f.getText().slice(L.key.range[1],L.value.range[0]));return P?{beforeColon:P[1],afterColon:P[2]}:null}function b(L){return L.properties.length===1?[L.properties]:L.properties.reduce((P,O)=>{const q=o(P),N=o(q);return!N||x(N,O)?q.push(O):P.push([O]),P},[[]])}function w(L){const P=L.length,O=L.map(v),q=s.on;let N=Math.max(...O),_,G,B;s&&P>1?(_=s.beforeColon,G=s.afterColon,B=s.mode):(_=c.beforeColon,G=c.afterColon,B=s.mode),N+=q==="colon"?_:G;for(let z=0;z<P;z++){const H=L[z],ce=A(H);if(ce){const re=O[z];q==="value"?(C(H,"key",ce.beforeColon,_,B),C(H,"value",ce.afterColon,N-re,B)):(C(H,"key",ce.beforeColon,N-re,B),C(H,"value",ce.afterColon,G,B))}}}function k(L,P){const O=A(L);O&&(C(L,"key",O.beforeColon,P.beforeColon,P.mode),C(L,"value",O.afterColon,P.afterColon,P.mode))}function R(L,P){const O=L.length;for(let q=0;q<O;q++)k(L[q],P)}function F(L){b(L).forEach(P=>{const O=P.filter(g);O.length>0&&l(O)?R(O,c):w(O)})}return s?{ObjectExpression(L){t(L)?R(L.properties.filter(g),h):F(L)}}:{Property(L){k(L,t(L.parent)?h:c)}}}},mo}var ho,Qg;function EA(){if(Qg)return ho;Qg=1;const a=Ue(),e=qi(),n=/^[)\]}>]$/u,o=/^(?:[([{<~!]|\+\+?|--?)$/u,t=/^[)\]}>*]$/u,l=/^[{*]$/u,p=/\$\{$/u,u=/^\}/u,r=/^(?:JSXElement|RegularExpression|String|Template|PrivateIdentifier)$/u,m=e.concat(["as","async","await","from","get","let","of","set","yield"]);(function(){m.sort();for(let h=1;h<m.length;++h)if(m[h]===m[h-1])throw new Error(`Duplication was found in the keyword list: ${m[h]}`)})();function i(h){return h.type==="Template"&&p.test(h.value)}function c(h){return h.type==="Template"&&u.test(h.value)}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:"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",url:"https://eslint.style"},rule:{name:"keyword-spacing",url:"https://eslint.style/rules/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:m.reduce((h,s)=>(h[s]={type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"}},additionalProperties:!1},h),{}),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(h){const s=h.sourceCode,f=new WeakSet;function g(re,Fe){const X=s.getTokenBefore(re);X&&(r.test(X.type)||Fe.test(X.value))&&!i(X)&&!f.has(X)&&a.isTokenOnSameLine(X,re)&&!s.isSpaceBetweenTokens(X,re)&&h.report({loc:re.loc,messageId:"expectedBefore",data:re,fix(I){return I.insertTextBefore(re," ")}})}function d(re,Fe){const X=s.getTokenBefore(re);X&&(r.test(X.type)||Fe.test(X.value))&&!i(X)&&!f.has(X)&&a.isTokenOnSameLine(X,re)&&s.isSpaceBetweenTokens(X,re)&&h.report({loc:{start:X.loc.end,end:re.loc.start},messageId:"unexpectedBefore",data:re,fix(I){return I.removeRange([X.range[1],re.range[0]])}})}function E(re,Fe){const X=s.getTokenAfter(re);X&&(r.test(X.type)||Fe.test(X.value))&&!c(X)&&!f.has(X)&&a.isTokenOnSameLine(re,X)&&!s.isSpaceBetweenTokens(re,X)&&h.report({loc:re.loc,messageId:"expectedAfter",data:re,fix(I){return I.insertTextAfter(re," ")}})}function S(re,Fe){const X=s.getTokenAfter(re);X&&(r.test(X.type)||Fe.test(X.value))&&!c(X)&&!f.has(X)&&a.isTokenOnSameLine(re,X)&&s.isSpaceBetweenTokens(re,X)&&h.report({loc:{start:re.loc.end,end:X.loc.start},messageId:"unexpectedAfter",data:re,fix(I){return I.removeRange([re.range[1],X.range[0]])}})}function x(re={}){const Fe=re.before!==!1,X=re.after!==!1,I={before:Fe?g:d,after:X?E:S},W=re&&re.overrides||{},oe=Object.create(null);for(let ie=0;ie<m.length;++ie){const se=m[ie],de=W[se];if(de){const be="before"in de?de.before:Fe,xe="after"in de?de.after:X;oe[se]={before:be?g:d,after:xe?E:S}}else oe[se]=I}return oe}const T=x(h.options[0]);function C(re,Fe){T[re.value].before(re,Fe||n)}function v(re,Fe){T[re.value].after(re,Fe||o)}function A(re){C(re),v(re)}function b(re){const Fe=re&&s.getFirstToken(re);Fe&&Fe.type==="Keyword"&&A(Fe)}function w(re){const Fe=re&&s.getFirstToken(re);Fe&&Fe.type==="Keyword"&&C(Fe)}function k(re){if(re){const Fe=s.getTokenBefore(re,a.isKeywordToken);A(Fe)}}function R(re){const Fe=re&&s.getFirstToken(re);Fe&&(Fe.type==="Keyword"&&Fe.value==="function"||Fe.value==="async")&&C(Fe)}function F(re){b(re),k(re.superClass)}function L(re){b(re),k(re.alternate)}function P(re){b(re),b(re.handler),k(re.finalizer)}function O(re){b(re),k(re.test)}function q(re){b(re);const Fe=s.getTokenBefore(re.right,a.isNotOpeningParenToken);s.getTokenBefore(Fe).type!=="PrivateIdentifier"&&C(Fe),v(Fe)}function N(re){re.await?(C(s.getFirstToken(re,0)),v(s.getFirstToken(re,1))):b(re);const Fe=s.getTokenBefore(re.right,a.isNotOpeningParenToken);s.getTokenBefore(Fe).type!=="PrivateIdentifier"&&C(Fe),v(Fe)}function _(re){const Fe=s.getFirstToken(re);if(C(Fe,t),v(Fe,l),re.type==="ExportDefaultDeclaration"&&A(s.getTokenAfter(Fe)),re.type==="ExportAllDeclaration"&&re.exported){const X=s.getTokenBefore(re.exported);C(X,t),v(X,l)}if(re.source){const X=s.getTokenBefore(re.source);C(X,t),v(X,l)}}function G(re){if(re.imported.range[0]!==re.local.range[0]){const Fe=s.getTokenBefore(re.local);C(Fe,t)}}function B(re){if(re.local.range[0]!==re.exported.range[0]){const Fe=s.getTokenBefore(re.exported);C(Fe,t),v(Fe,l)}}function z(re){const Fe=s.getFirstToken(re,1);C(Fe,t)}function H(re){if(re.static&&b(re),re.kind==="get"||re.kind==="set"||(re.method||re.type==="MethodDefinition")&&re.value.async){const Fe=s.getTokenBefore(re.key,X=>{switch(X.value){case"get":case"set":case"async":return!0;default:return!1}});if(!Fe)throw new Error("Failed to find token get, set, or async beside method name");A(Fe)}}function ce(re){C(s.getFirstToken(re))}return{DebuggerStatement:b,WithStatement:b,BreakStatement:b,ContinueStatement:b,ReturnStatement:b,ThrowStatement:b,TryStatement:P,IfStatement:L,SwitchStatement:b,SwitchCase:b,DoWhileStatement:O,ForInStatement:q,ForOfStatement:N,ForStatement:b,WhileStatement:b,ClassDeclaration:F,ExportNamedDeclaration:_,ExportDefaultDeclaration:_,ExportAllDeclaration:_,FunctionDeclaration:R,ImportDeclaration:_,VariableDeclaration:b,ArrowFunctionExpression:R,AwaitExpression:ce,ClassExpression:F,FunctionExpression:R,NewExpression:w,Super:w,ThisExpression:w,UnaryExpression:w,YieldExpression:w,ImportSpecifier:G,ExportSpecifier:B,ImportNamespaceSpecifier:z,MethodDefinition:H,PropertyDefinition:H,StaticBlock:b,Property:H,"BinaryExpression[operator='>']"(re){const Fe=s.getTokenBefore(re.right,a.isNotOpeningParenToken);f.add(Fe)}}}},ho}var go,Zg;function SA(){if(Zg)return go;Zg=1;const a=Ue();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:"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",url:"https://eslint.style"},rule:{name:"line-comment-position",url:"https://eslint.style/rules/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,l=!0;!n||typeof n=="string"?o=!n||n==="above":(o=!n.position||n.position==="above",t=n.ignorePattern,Object.hasOwn(n,"applyDefaultIgnorePatterns")?l=n.applyDefaultIgnorePatterns:l=n.applyDefaultPatterns!==!1);const p=a.COMMENTS_IGNORE_PATTERN,u=/^\s*falls?\s?through/u,r=new RegExp(t,"u"),m=e.sourceCode;return{Program(){m.getAllComments().filter(c=>c.type==="Line").forEach(c=>{if(l&&(p.test(c.value)||u.test(c.value))||t&&r.test(c.value))return;const h=m.getTokenBefore(c,{includeComments:!0}),s=h&&h.loc.end.line===c.loc.start.line;o?s&&e.report({node:c,messageId:"above"}):s||e.report({node:c,messageId:"beside"})})}}}},go}var yo,ey;function bA(){if(ey)return yo;ey=1;const a=Ue();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",url:"https://eslint.style"},rule:{name:"linebreak-style",url:"https://eslint.style/rules/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,l){return function(p){return p.replaceTextRange(t,l)}}return{Program:function(l){const p=e.options[0]||"unix",u=p==="unix",r=u?`
73
- `:`\r
74
- `,m=n.getText(),i=a.createGlobalLinebreakMatcher();let c,h=0;for(;(c=i.exec(m))!==null;){if(h++,c[0]===r)continue;const s=c.index,f=[s,s+c[0].length];e.report({node:l,loc:{start:{line:h,column:n.lines[h-1].length},end:{line:h+1,column:0}},messageId:u?"expectedLF":"expectedCRLF",fix:o(f,r)})}}}}},yo}var vo,ty;function xA(){if(ty)return vo;ty=1;const a=Ue();function e(o){return o.map((l,p)=>({code:l.trim(),num:p+1})).filter(l=>!l.code).map(l=>l.num)}function n(o){const t=[];return o.forEach(l=>{const p=l.loc.start.line,u=l.loc.end.line;t.push(p,u)}),t}return vo={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",url:"https://eslint.style"},rule:{name:"lines-around-comment",url:"https://eslint.style/rules/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]),l=t.ignorePattern,p=a.COMMENTS_IGNORE_PATTERN,u=new RegExp(l,"u"),r=t.applyDefaultIgnorePatterns!==!1;t.beforeBlockComment=typeof t.beforeBlockComment<"u"?t.beforeBlockComment:!0;const m=o.sourceCode,i=m.lines,c=i.length+1,h=m.getAllComments(),s=n(h),f=e(i),g=new Set(s.concat(f));function d(P){let O=P;do O=m.getTokenBefore(O,{includeComments:!0});while(O&&a.isCommentToken(O));if(O&&a.isTokenOnSameLine(O,P))return!0;O=P;do O=m.getTokenAfter(O,{includeComments:!0});while(O&&a.isCommentToken(O));return!!(O&&a.isTokenOnSameLine(P,O))}function E(P,O){return P.type===O||P.body&&P.body.type===O||P.consequent&&P.consequent.type===O}function S(P){const O=m.getNodeByRangeIndex(P.range[0]);if(O&&O.type==="StaticBlock"){const q=m.getFirstToken(O,{skip:1});return P.range[0]>=q.range[0]?O:null}return O}function x(P,O){const q=S(P);if(q&&E(q,O)){let N=q;return q.type==="StaticBlock"?N=m.getFirstToken(q,{skip:1}):q.type==="SwitchStatement"&&(N=m.getTokenAfter(q.discriminant,{filter:a.isOpeningBraceToken})),P.loc.start.line-N.loc.start.line===1}return!1}function T(P,O){const q=S(P);return!!q&&E(q,O)&&q.loc.end.line-P.loc.end.line===1}function C(P){return x(P,"ClassBody")||x(P,"BlockStatement")||x(P,"StaticBlock")||x(P,"SwitchCase")||x(P,"SwitchStatement")}function v(P){return T(P,"ClassBody")||T(P,"BlockStatement")||T(P,"StaticBlock")||T(P,"SwitchCase")||T(P,"SwitchStatement")}function A(P){return x(P,"ClassBody")}function b(P){return T(P,"ClassBody")}function w(P){return x(P,"ObjectExpression")||x(P,"ObjectPattern")}function k(P){return T(P,"ObjectExpression")||T(P,"ObjectPattern")}function R(P){return x(P,"ArrayExpression")||x(P,"ArrayPattern")}function F(P){return T(P,"ArrayExpression")||T(P,"ArrayPattern")}function L(P,O){if(r&&p.test(P.value)||l&&u.test(P.value))return;let q=O.after,N=O.before;const _=P.loc.start.line-1,G=P.loc.end.line+1,B=d(P),z=t.allowBlockStart&&C(P)&&!(t.allowClassStart===!1&&A(P)),H=t.allowBlockEnd&&v(P)&&!(t.allowClassEnd===!1&&b(P)),ce=t.allowClassStart&&A(P),re=t.allowClassEnd&&b(P),Fe=t.allowObjectStart&&w(P),X=t.allowObjectEnd&&k(P),I=t.allowArrayStart&&R(P),W=t.allowArrayEnd&&F(P),oe=z||ce||Fe||I,ie=H||re||X||W;if(_<1&&(N=!1),G>=c&&(q=!1),B)return;const se=m.getTokenBefore(P,{includeComments:!0}),de=m.getTokenAfter(P,{includeComments:!0});if(!oe&&N&&!g.has(_)&&!(a.isCommentToken(se)&&a.isTokenOnSameLine(se,P))){const be=P.range[0]-P.loc.start.column,xe=[be,be];o.report({node:P,messageId:"before",fix(Te){return Te.insertTextBeforeRange(xe,`
75
- `)}})}!ie&&q&&!g.has(G)&&!(a.isCommentToken(de)&&a.isTokenOnSameLine(P,de))&&o.report({node:P,messageId:"after",fix(be){return be.insertTextAfter(P,`
76
- `)}})}return{Program(){h.forEach(P=>{P.type==="Line"?(t.beforeLineComment||t.afterLineComment)&&L(P,{after:t.afterLineComment,before:t.beforeLineComment}):P.type==="Block"?(t.beforeBlockComment||t.afterBlockComment)&&L(P,{after:t.afterBlockComment,before:t.beforeBlockComment}):P.type==="Shebang"&&t.afterHashbangComment&&L(P,{after:t.afterHashbangComment,before:!1})})}}}},vo}var Eo,ry;function CA(){if(ry)return Eo;ry=1;const a=Ue();return Eo={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",url:"https://eslint.style"},rule:{name:"padding-line-between-statements",url:"https://eslint.style/rules/padding-line-between-statements"}}]}},create(e){const n=e.sourceCode,o=e.options[0]||"always",t=typeof o=="string"?o:o.before,l=typeof o=="string"?o:o.after;function p(c){const h=n.getTokenBefore(c,{includeComments:!0}),s=h?h.loc.end.line:0;return c.loc.start.line-s>=2}function u(c){const h=n.getLastToken(c),s=n.getTokenBefore(h);return a.isSemicolonToken(h)&&h.loc.start.line>s.loc.end.line?s:h}function r(c){const h=u(c);return n.getTokenAfter(h,{includeComments:!0}).loc.start.line-h.loc.end.line>=2}function m(c,h,s){e.report({node:c,messageId:s?"expected":"unexpected",data:{value:c.expression.value,location:h},fix(f){const g=u(c);return s?h==="before"?f.insertTextBefore(c,`
77
- `):f.insertTextAfter(g,`
78
- `):f.removeRange(h==="before"?[c.range[0]-1,c.range[0]]:[g.range[1],g.range[1]+1])}})}function i(c){const h=a.getDirectivePrologue(c);if(!h.length)return;const s=h[0],f=n.getCommentsBefore(s);f.length?(t==="always"&&!p(s)&&m(s,"before",!0),t==="never"&&p(s)&&m(s,"before",!1)):c.type==="Program"&&t==="never"&&!f.length&&p(s)&&m(s,"before",!1);const g=h.at(-1),d=c.type==="Program"?c.body:c.body.body;g===d.at(-1)&&!g.trailingComments||(l==="always"&&!r(g)&&m(g,"after",!0),l==="never"&&r(g)&&m(g,"after",!1))}return{Program:i,FunctionDeclaration:i,FunctionExpression:i,ArrowFunctionExpression:i}}},Eo}var So,ny;function wA(){if(ny)return So;ny=1;const a=Ue(),e={"*":{test:()=>!0},field:{test:n=>n.type==="PropertyDefinition"},method:{test:n=>n.type==="MethodDefinition"}};return So={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",url:"https://eslint.style"},rule:{name:"lines-between-class-members",url:"https://eslint.style/rules/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:"*"}],l=n.sourceCode;function p(h,s){const f=l.getLastToken(h),g=l.getTokenBefore(f),d=l.getFirstToken(s);return a.isSemicolonToken(f)&&!a.isTokenOnSameLine(g,f)&&a.isTokenOnSameLine(f,d)?{curLast:g,nextFirst:f}:{curLast:f,nextFirst:d}}function u(h,s,f){const g=l.getTokenAfter(h,{includeComments:!0});return g!==s&&g.loc.start.line-h.loc.end.line<=f?u(g,s,f):h}function r(h,s,f){const g=l.getTokenBefore(h,{includeComments:!0});return g!==s&&h.loc.start.line-g.loc.end.line<=f?r(g,s,f):h}function m(h,s){return l.getTokensBetween(h,s,{includeComments:!0}).length!==0}function i(h,s){return e[s].test(h)}function c(h,s){for(let f=t.length-1;f>=0;--f){const g=t[f];if(i(h,g.prev)&&i(s,g.next))return g.blankLine}return null}return{ClassBody(h){const s=h.body;for(let f=0;f<s.length-1;f++){const g=l.getFirstToken(s[f]),{curLast:d,nextFirst:E}=p(s[f],s[f+1]),x=!!a.isTokenOnSameLine(g,d)&&o[1].exceptAfterSingleLine,T=u(d,E,1),C=r(E,d,1),v=C.loc.start.line-T.loc.end.line>1,A=m(T,C),b=u(d,E,0),w=c(s[f],s[f+1]);w==="never"&&v?n.report({node:s[f+1],messageId:"never",fix(k){return A?null:k.replaceTextRange([T.range[1],C.range[0]],`
79
- `)}}):w==="always"&&!x&&!v&&n.report({node:s[f+1],messageId:"always",fix(k){return A?null:k.insertTextAfter(b,`
80
- `)}})}}}}},So}var bo,sy;function AA(){if(sy)return bo;sy=1;const a=Ue(),e=new Set(["Identifier","Super","ThisExpression"]);function n(c,h){return c.type==="Identifier"&&c.name==="undefined"?a.isReferenceToGlobalVariable(h,c):c.type==="UnaryExpression"&&c.operator==="void"&&c.argument.type==="Literal"&&c.argument.value===0}function o(c){return c.type==="Identifier"&&c.name!=="undefined"||c.type==="MemberExpression"}function t(c,h){if(c.type!=="BinaryExpression"||c.operator!=="==")return!1;const s=o(c.left)?"left":"right",f=s==="left"?"right":"left";return o(c[s])&&(a.isNullLiteral(c[f])||n(c[f],h))}function l(c){return c.type==="LogicalExpression"&&c.operator==="||"&&c.left.type==="BinaryExpression"&&c.left.operator==="==="&&c.right.type==="BinaryExpression"&&c.right.operator==="==="}function p(c,h){if(!l(c))return!1;const s=o(c.left.left)?"left":"right",f=s==="left"?"right":"left",g=o(c.right.left)?"left":"right",d=g==="left"?"right":"left";return a.isSameReference(c.left[s],c.right[g])&&(a.isNullLiteral(c.left[f])&&n(c.right[d],h)||n(c.left[f],h)&&a.isNullLiteral(c.right[d]))}function u(c,h){return c.type==="CallExpression"&&c.callee.name==="Boolean"&&c.arguments.length===1&&a.isReferenceToGlobalVariable(h,c.callee)}function r(c,h){const s=c.type==="UnaryExpression"&&c.operator==="!",f=s?c.argument:c;switch(!0){case o(f):return{reference:f,operator:s?"||":"&&"};case(f.type==="UnaryExpression"&&f.operator==="!"&&o(f.argument)):return{reference:f.argument,operator:"&&"};case(u(f,h)&&o(f.arguments[0])):return{reference:f.arguments[0],operator:s?"||":"&&"};case t(c,h):return{reference:o(c.left)?c.left:c.right,operator:"??"};case p(c,h):return{reference:o(c.left.left)?c.left.left:c.left.right,operator:"??"};default:return null}}function m(c){return c.type==="Program"?!1:c.parent.type==="WithStatement"&&c.parent.body===c?!0:m(c.parent)}function i(c,h){let s=h.left;for(;s.type==="LogicalExpression"&&s.operator===h.operator;){if(a.isParenthesised(c,s))return s;s=s.left}return s}return bo={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(c){const h=c.options[0]==="never"?"never":"always",s=h==="always"&&c.options.length>1&&c.options[1].enforceForIfStatements,f=c.sourceCode,g=f.getScope(f.ast).isStrict;function d(T){return T.type==="Identifier"&&(g||!m(T))}function E(T){return!g&&m(T)?T.type==="Identifier":T.type==="MemberExpression"&&e.has(T.object.type)&&(!T.computed||T.property.type!=="MemberExpression"&&T.property.type!=="ChainExpression")}function S(T,C,v){return v?{...T,fix:C.fix}:{...T,suggest:[C]}}function x(T){return f.getFirstTokenBetween(T.left,T.right,C=>C.value===T.operator)}return h==="never"?{AssignmentExpression(T){if(!a.isLogicalAssignmentOperator(T.operator))return;const C={messageId:"unexpected",node:T,data:{operator:T.operator}},v={messageId:"separate",*fix(A){if(f.getCommentsInside(T).length>0)return;const b=x(T);yield A.replaceText(b,"=");const w=f.getText(T.left),k=T.operator.slice(0,-1);yield A.insertTextAfter(b,` ${w} ${k}`);const R=a.getPrecedence(T.right)<=a.getPrecedence({type:"LogicalExpression",operator:k}),F=T.operator==="??="&&a.isLogicalExpression(T.right);!a.isParenthesised(f,T.right)&&(R||F)&&(yield A.insertTextBefore(T.right,"("),yield A.insertTextAfter(T.right,")"))}};c.report(S(C,v,d(T.left)))}}:{"AssignmentExpression[operator='='][right.type='LogicalExpression']"(T){const C=i(f,T.right);if(!a.isSameReference(T.left,C))return;const v={messageId:"assignment",node:T,data:{operator:`${T.right.operator}=`}},A={messageId:"useLogicalOperator",data:{operator:`${T.right.operator}=`},*fix(b){if(f.getCommentsInside(T).length>0)return;const w=x(T);yield b.insertTextBefore(w,T.right.operator);const k=x(C.parent),R=f.getTokenAfter(k);yield b.removeRange([C.parent.range[0],R.range[0]])}};c.report(S(v,A,d(T.left)))},'LogicalExpression[right.type="AssignmentExpression"][right.operator="="]'(T){if(o(T.left)&&a.isSameReference(T.left,T.right.left)){const C={messageId:"logical",node:T,data:{operator:`${T.operator}=`}},v={messageId:"convertLogical",data:{operator:`${T.operator}=`},*fix(b){if(f.getCommentsInside(T).length>0)return;const w=a.getPrecedence(T.parent),k=T.parent.type!=="ExpressionStatement"&&(w===-1||a.getPrecedence({type:"AssignmentExpression"})<w);!a.isParenthesised(f,T)&&k&&(yield b.insertTextBefore(T,"("),yield b.insertTextAfter(T,")")),yield b.removeRange([T.range[0],T.right.range[0]]),yield b.removeRange([T.right.range[1],T.range[1]]);const R=x(T.right);yield b.insertTextBefore(R,T.operator)}},A=d(T.left)||E(T.left);c.report(S(C,v,A))}},"IfStatement[alternate=null]"(T){if(!s)return;const C=T.consequent.type==="BlockStatement";if(C&&T.consequent.body.length!==1)return;const v=C?T.consequent.body[0]:T.consequent,A=f.getScope(T),b=r(T.test,A);if(v.type==="ExpressionStatement"&&v.expression.type==="AssignmentExpression"&&v.expression.operator==="="&&b!==null&&a.isSameReference(b.reference,v.expression.left)){const w={messageId:"if",node:T,data:{operator:`${b.operator}=`}},k={messageId:"convertIf",data:{operator:`${b.operator}=`},*fix(F){if(f.getCommentsInside(T).length>0)return;const L=f.getFirstToken(v),P=f.getTokenBefore(T);if(P!==null&&P.value!==";"&&P.value!=="{"&&L.type!=="Identifier"&&L.type!=="Keyword")return;const O=x(v.expression);yield F.insertTextBefore(O,b.operator),yield F.removeRange([T.range[0],v.range[0]]),yield F.removeRange([v.range[1],T.range[1]]);const q=f.getTokenAfter(v.expression);C&&q!==null&&q.value!==";"&&(yield F.insertTextAfter(T,";"))}},R=d(b.reference)||T.test.type!=="LogicalExpression"&&E(b.reference);c.report(S(w,k,R))}}}}},bo}var xo,ay;function TA(){return ay||(ay=1,xo={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"(l){t>o&&a.report({node:l,messageId:"maximumExceeded",data:{classCount:t,max:o}})},ClassDeclaration(){t++},ClassExpression(){n||t++}}}}),xo}var Co,iy;function kA(){return iy||(iy=1,Co={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 l(){e.pop()}function p(r){const m=++e[e.length-1];m>o&&a.report({node:r,messageId:"tooDeeply",data:{depth:m,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":l,"FunctionExpression:exit":l,"ArrowFunctionExpression:exit":l,"StaticBlock:exit":l,"Program:exit":l}}}),Co}var wo,oy;function DA(){if(oy)return wo;oy=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 wo={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",url:"https://eslint.style"},rule:{name:"max-len",url:"https://eslint.style/rules/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 l(F,L){let P=0;return F.replace(/\t/gu,(O,q)=>{const N=q+P,_=L?N%L:0,G=L-_;P+=G-1}),Array.from(F).length+P}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,m=!!p.ignoreComments,i=!!p.ignoreStrings,c=!!p.ignoreTemplateLiterals,h=!!p.ignoreRegExpLiterals,s=!!p.ignoreTrailingComments||!!p.ignoreComments,f=!!p.ignoreUrls,g=p.comments;let d=p.ignorePattern||null;d&&(d=new RegExp(d,"u"));function E(F,L,P){return P&&P.loc.start.line===L&&L<=P.loc.end.line&&(P.loc.end.line>L||P.loc.end.column===F.length)}function S(F,L,P){const O=P.loc.start,q=P.loc.end,N=!F.slice(0,P.loc.start.column).trim();return P&&(O.line<L||O.line===L&&N)&&(q.line>L||q.line===L&&q.column===F.length)}function x(F){if(!F||!F.parent||F.type!=="JSXEmptyExpression"||F.parent.type!=="JSXExpressionContainer")return!1;const L=F.parent;return L.loc.start.line===L.loc.end.line}function T(F,L){return F.slice(0,L.loc.start.column).replace(/\s+$/u,"")}function C(F,L,P){Array.isArray(F[L])||(F[L]=[]),F[L].push(P)}function v(){return t.ast.tokens.filter(F=>F.type==="String"||F.type==="JSXText"&&t.getNodeByRangeIndex(F.range[0]-1).type==="JSXAttribute")}function A(){return t.ast.tokens.filter(F=>F.type==="Template")}function b(){return t.ast.tokens.filter(F=>F.type==="RegularExpression")}function w(F){const L={};for(let P=0;P<F.length;P++){const O=F[P];for(let q=O.loc.start.line;q<=O.loc.end.line;++q)C(L,q,O)}return L}function k(){const F=[];return t.getAllComments().forEach(L=>{const P=t.getNodeByRangeIndex(L.range[0]);x(P)?F.at(-1)!==P.parent&&F.push(P.parent):F.push(L)}),F}function R(F){const L=t.lines,P=m||g||s?k():[];let O=0;const q=v(),N=w(q),_=A(),G=w(_),B=b(),z=w(B);L.forEach((H,ce)=>{const re=ce+1;let Fe=!1,X;if(O<P.length){let ie;do ie=P[++O];while(ie&&ie.loc.start.line<=re);if(ie=P[--O],S(H,re,ie))Fe=!0,X=H;else if(s&&E(H,re,ie)){X=T(H,ie);let se=O;for(;E(X,re,P[--se]);)X=T(X,P[se])}else X=H}else X=H;if(d&&d.test(X)||f&&o.test(X)||i&&N[re]||c&&G[re]||h&&z[re])return;const I=l(X,r),W=Fe&&g;if(Fe&&m)return;const oe={start:{line:re,column:0},end:{line:re,column:X.length}};W?I>g&&n.report({node:F,loc:oe,messageId:"maxComment",data:{lineLength:I,maxCommentLength:g}}):I>u&&n.report({node:F,loc:oe,messageId:"max",data:{lineLength:I,maxLength:u}})})}return{Program:R}}},wo}var Ao,ly;function IA(){if(ly)return Ao;ly=1;const a=Ue();function e(n,o){return[...Array(o-n).keys()].map(t=>t+n)}return Ao={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 l=o&&o.skipComments,p=o&&o.skipBlankLines,u=n.sourceCode;function r(i){return i&&(i.type==="Block"||i.type==="Line")}function m(i){let c=i.loc.start.line,h=i.loc.end.line,s;s=i;do s=u.getTokenBefore(s,{includeComments:!0});while(r(s));s&&a.isTokenOnSameLine(s,i)&&(c+=1),s=i;do s=u.getTokenAfter(s,{includeComments:!0});while(r(s));return s&&a.isTokenOnSameLine(i,s)&&(h-=1),c<=h?e(c,h+1):[]}return{"Program:exit"(){let i=u.lines.map((c,h)=>({lineNumber:h+1,text:c}));if(i.length>1&&i.at(-1).text===""&&i.pop(),p&&(i=i.filter(c=>c.text.trim()!=="")),l){const c=u.getAllComments(),h=new Set(c.flatMap(m));i=i.filter(s=>!h.has(s.lineNumber))}if(i.length>t){const c={start:{line:i[t].lineNumber,column:0},end:{line:u.lines.length,column:u.lines.at(-1).length}};n.report({loc:c,messageId:"exceed",data:{max:t,actual:i.length}})}}}}},Ao}var To,uy;function PA(){if(uy)return To;uy=1;const a=Ue(),{upperCaseFirst:e}=Ir(),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(l){const p=new Map;return l.forEach(u=>{for(let r=u.loc.start.line;r<=u.loc.end.line;r++)p.set(r,u)}),p}return To={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(l){const p=l.sourceCode,u=p.lines,r=l.options[0];let m=50,i=!1,c=!1,h=!1;typeof r=="object"?(m=typeof r.max=="number"?r.max:50,i=!!r.skipComments,c=!!r.skipBlankLines,h=!!r.IIFEs):typeof r=="number"&&(m=r);const s=t(p.getAllComments());function f(S,x,T){const C=T.loc.start,v=T.loc.end,A=C.line===x&&!S.slice(0,C.column).trim(),b=v.line===x&&!S.slice(v.column).trim();return T&&(C.line<x||A)&&(v.line>x||b)}function g(S){return(S.type==="FunctionExpression"||S.type==="ArrowFunctionExpression")&&S.parent&&S.parent.type==="CallExpression"&&S.parent.callee===S}function d(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 E(S){const x=d(S)?S.parent:S;if(!h&&g(x))return;let T=0;for(let C=x.loc.start.line-1;C<x.loc.end.line;++C){const v=u[C];i&&s.has(C+1)&&f(v,C+1,s.get(C+1))||c&&v.match(/^\s*$/u)||T++}if(T>m){const C=e(a.getFunctionNameWithKind(S));l.report({node:x,messageId:"exceed",data:{name:C,lineCount:T,maxLines:m}})}}return{FunctionDeclaration:E,FunctionExpression:E,ArrowFunctionExpression:E}}},To}var ko,cy;function FA(){return cy||(cy=1,ko={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 l(){o.pop()}return{ArrowFunctionExpression:t,"ArrowFunctionExpression:exit":l,FunctionExpression:t,"FunctionExpression:exit":l}}}),ko}var Do,fy;function RA(){if(fy)return Do;fy=1;const a=Ue(),{upperCaseFirst:e}=Ir();return Do={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 l=3,p=!1;typeof t=="object"&&((Object.hasOwn(t,"maximum")||Object.hasOwn(t,"max"))&&(l=t.maximum||t.max),p=t.countVoidThis),typeof t=="number"&&(l=t);function u(r){const i=r.params.length>0&&r.params[0].type==="Identifier"&&r.params[0].name==="this"&&r.params[0].typeAnnotation?.typeAnnotation.type==="TSVoidKeyword"&&!p?r.params.length-1:r.params.length;i>l&&n.report({loc:a.getFunctionHeadLoc(r,o),node:r,messageId:"exceed",data:{name:e(a.getFunctionNameWithKind(r)),count:i,max:l}})}return{FunctionDeclaration:u,ArrowFunctionExpression:u,FunctionExpression:u,TSDeclareFunction:u,TSFunctionType:u}}},Do}var Io,py;function _A(){if(py)return Io;py=1;const a=Ue(),{upperCaseFirst:e}=Ir();return Io={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],l=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(h,s,f){if(s>f){const g=e(a.getFunctionNameWithKind(h));n.report({node:h,messageId:"exceed",data:{name:g,count:s,max:f}})}}function m(){o.push(0)}function i(h){const s=o.pop();h.type!=="StaticBlock"&&(l&&o.length===0?p.push({node:h,count:s}):r(h,s,u))}function c(h){o[o.length-1]+=h.body.length}return{FunctionDeclaration:m,FunctionExpression:m,ArrowFunctionExpression:m,StaticBlock:m,BlockStatement:c,"FunctionDeclaration:exit":i,"FunctionExpression:exit":i,"ArrowFunctionExpression:exit":i,"StaticBlock:exit":i,"Program:exit"(){p.length!==1&&p.forEach(h=>{const s=h.count,f=h.node;r(f,s,u)})}}}},Io}var Po,my;function BA(){if(my)return Po;my=1;const a=Ue();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",url:"https://eslint.style"},rule:{name:"max-statements-per-line",url:"https://eslint.style/rules/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 l=0,p=0,u;const r=/^(?:(?:DoWhile|For|ForIn|ForOf|If|Labeled|While)Statement|Export(?:Default|Named)Declaration)$/u;function m(){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 c(s){const f=s.loc.start.line;r.test(s.parent.type)&&s.parent.alternate!==s||(f===l?p+=1:(m(),p=1,l=f),p===t+1&&(u=u||s))}function h(s){const f=i(s).loc.end.line;f!==l&&(m(),p=1,l=f)}return{BreakStatement:c,ClassDeclaration:c,ContinueStatement:c,DebuggerStatement:c,DoWhileStatement:c,ExpressionStatement:c,ForInStatement:c,ForOfStatement:c,ForStatement:c,FunctionDeclaration:c,IfStatement:c,ImportDeclaration:c,LabeledStatement:c,ReturnStatement:c,SwitchStatement:c,ThrowStatement:c,TryStatement:c,VariableDeclaration:c,WhileStatement:c,WithStatement:c,ExportNamedDeclaration:c,ExportDefaultDeclaration:c,ExportAllDeclaration:c,"BreakStatement:exit":h,"ClassDeclaration:exit":h,"ContinueStatement:exit":h,"DebuggerStatement:exit":h,"DoWhileStatement:exit":h,"ExpressionStatement:exit":h,"ForInStatement:exit":h,"ForOfStatement:exit":h,"ForStatement:exit":h,"FunctionDeclaration:exit":h,"IfStatement:exit":h,"ImportDeclaration:exit":h,"LabeledStatement:exit":h,"ReturnStatement:exit":h,"SwitchStatement:exit":h,"ThrowStatement:exit":h,"TryStatement:exit":h,"VariableDeclaration:exit":h,"WhileStatement:exit":h,"WithStatement:exit":h,"ExportNamedDeclaration:exit":h,"ExportDefaultDeclaration:exit":h,"ExportAllDeclaration:exit":h,"Program:exit":m}}},Po}var Fo,hy;function LA(){if(hy)return Fo;hy=1;const a=Ue();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:"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",url:"https://eslint.style"},rule:{name:"multiline-comment-style",url:"https://eslint.style/rules/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",l=!!(e.options[1]||{}).checkJSDoc;function p(S){return/^\s*\*/u.test(S)}function u([S]){if(S.type!=="Block")return!1;const x=S.value.split(a.LINEBREAK_MATCHER);return x.length>0&&x.every((T,C)=>(C===0||C===x.length-1?/^\s*$/u:/^\s*\*/u).test(T))}function r([S]){if(S.type!=="Block")return!1;const x=S.value.split(a.LINEBREAK_MATCHER);return/^\*\s*$/u.test(x[0])&&x.slice(1,-1).every(T=>/^\s* /u.test(T))&&/^\s*$/u.test(x.at(-1))}function m(S){const x=S.map(({value:T})=>T).filter(T=>T.trim().length).every(T=>T.startsWith(" "));return S.map(({value:T})=>x?T.replace(/^ /u,""):T)}function i(S){const x=S.value.split(a.LINEBREAK_MATCHER).filter((C,v,A)=>!(v===0||v===A.length-1)).map(C=>C.replace(/^\s*$/u,"")),T=x.map(C=>C.replace(/\s*\*/u,"")).filter(C=>C.trim().length).every(C=>C.startsWith(" "));return x.map(C=>C.replace(T?/\s*\* ?/u:/\s*\*/u,""))}function c(S){const x=S.value.split(a.LINEBREAK_MATCHER).map(v=>v.replace(/^\s*$/u,"")),T=`${n.text.slice(S.range[0]-S.loc.start.column,S.range[0])} `;let C="";for(const[v,A]of x.entries()){if(!A.trim().length||v===0)continue;const[,b]=A.match(/^(\s*\*?\s*)/u);if(b.length<T.length){const w=T.slice(b.length-T.length);w.length>C.length&&(C=w)}}return x.map(v=>{const A=v.match(/^(\s*\*?\s*)(.*)/u),[,b,w]=A;return b.length>T.length?`${b.slice(T.length-(C.length+b.length))}${w}`:b.length<T.length?`${b.slice(T.length)}${w}`:w})}function h(S){const[x]=S;return x.type==="Line"?m(S):u(S)?i(x):c(x)}function s(S){return n.text.slice(S.range[0]-S.loc.start.column,S.range[0])}function f(S,x){const T=s(S);return`/*
81
- ${x.map(C=>`${T} * ${C}`).join(`
82
- `)}
83
- ${T} */`}function g(S,x){return x.map(T=>`// ${T}`).join(`
84
- ${s(S)}`)}function d(S,x){return`/* ${x.join(`
85
- ${s(S)} `)} */`}const E={"starred-block"(S){const[x]=S,T=h(S);if(!T.some(C=>C.includes("*/")))if(S.length>1)e.report({loc:{start:x.loc.start,end:S.at(-1).loc.end},messageId:"expectedBlock",fix(C){const v=[x.range[0],S.at(-1).range[1]];return T.some(A=>A.startsWith("/"))?null:C.replaceTextRange(v,f(x,T))}});else{const C=x.value.split(a.LINEBREAK_MATCHER),A=`${s(x)} *`;if(!/^\*?\s*$/u.test(C[0])){const b=x.value.startsWith("*")?x.range[0]+1:x.range[0];e.report({loc:{start:x.loc.start,end:{line:x.loc.start.line,column:x.loc.start.column+2}},messageId:"startNewline",fix:w=>w.insertTextAfterRange([b,b+2],`
86
- ${A}`)})}/^\s*$/u.test(C.at(-1))||e.report({loc:{start:{line:x.loc.end.line,column:x.loc.end.column-2},end:x.loc.end},messageId:"endNewline",fix:b=>b.replaceTextRange([x.range[1]-2,x.range[1]],`
87
- ${A}/`)});for(let b=x.loc.start.line+1;b<=x.loc.end.line;b++){const w=n.lines[b-1],k=p(w)?"alignment":"missingStar";w.startsWith(A)||e.report({loc:{start:{line:b,column:0},end:{line:b,column:w.length}},messageId:k,fix(R){const F=n.getIndexFromLoc({line:b,column:0});if(k==="alignment"){const[,q=""]=w.match(/^(\s*\*)/u)||[],N=F+q.length;return R.replaceTextRange([F,N],A)}const[,L=""]=w.match(/^(\s*)/u)||[],P=F+L.length;let O;for(const[q,N]of C.entries()){if(!/\S+/u.test(N))continue;const _=n.lines[x.loc.start.line-1+q],[,G="",B=""]=_.match(/^(\s*(?:\/?\*)?(\s*))/u)||[];O=`${L.slice(G.length)}${B}`,/^\s*\//u.test(w)&&O.length===0&&(O+=" ");break}return R.replaceTextRange([F,P],`${A}${O}`)}})}}},"separate-lines"(S){const[x]=S,T=r(S);if(x.type!=="Block"||!l&&T)return;let C=h(S);T&&(C=C.slice(1,C.length-1));const v=n.getTokenAfter(x,{includeComments:!0});v&&x.loc.end.line===v.loc.start.line||e.report({loc:{start:x.loc.start,end:{line:x.loc.start.line,column:x.loc.start.column+2}},messageId:"expectedLines",fix(A){return A.replaceText(x,g(x,C))}})},"bare-block"(S){if(r(S))return;const[x]=S,T=h(S);x.type==="Line"&&T.length>1&&!T.some(C=>C.includes("*/"))&&e.report({loc:{start:x.loc.start,end:S.at(-1).loc.end},messageId:"expectedBlock",fix(C){return C.replaceTextRange([x.range[0],S.at(-1).range[1]],d(x,T))}}),u(S)&&e.report({loc:{start:x.loc.start,end:{line:x.loc.start.line,column:x.loc.start.column+2}},messageId:"expectedBareBlock",fix(C){return C.replaceText(x,d(x,T))}})}};return{Program(){return n.getAllComments().filter(S=>S.type!=="Shebang").filter(S=>!a.COMMENTS_IGNORE_PATTERN.test(S.value)).filter(S=>{const x=n.getTokenBefore(S,{includeComments:!0});return!x||x.loc.end.line<S.loc.start.line}).reduce((S,x,T,C)=>{const v=n.getTokenBefore(x,{includeComments:!0});return x.type==="Line"&&T&&C[T-1].type==="Line"&&v&&v.loc.end.line===x.loc.start.line-1&&v===C[T-1]?S.at(-1).push(x):S.push([x]),S},[]).filter(S=>!(S.length===1&&S[0].loc.start.line===S[0].loc.end.line)).forEach(E[o])}}}},Fo}var Ro,dy;function OA(){if(dy)return Ro;dy=1;const a=Ue();return Ro={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",url:"https://eslint.style"},rule:{name:"multiline-ternary",url:"https://eslint.style/rules/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",l=o==="always-multiline";return{ConditionalExpression(p){const u=n.getTokenAfter(p.test,a.isNotClosingParenToken),r=n.getTokenAfter(p.consequent,a.isNotClosingParenToken),m=n.getFirstToken(p),i=n.getTokenBefore(u),c=n.getTokenAfter(u),h=n.getTokenBefore(r),s=n.getTokenAfter(r),f=a.isTokenOnSameLine(i,c),g=a.isTokenOnSameLine(h,s),d=!!n.getCommentsInside(p).length;if(!t)f||e.report({node:p.test,loc:{start:m.loc.start,end:i.loc.end},messageId:"unexpectedTestCons",fix(E){if(d)return null;const S=[],x=a.isTokenOnSameLine(i,u),T=a.isTokenOnSameLine(u,c);return x||S.push(E.removeRange([i.range[1],u.range[0]])),T||S.push(E.removeRange([u.range[1],c.range[0]])),S}}),g||e.report({node:p.consequent,loc:{start:c.loc.start,end:h.loc.end},messageId:"unexpectedConsAlt",fix(E){if(d)return null;const S=[],x=a.isTokenOnSameLine(h,r),T=a.isTokenOnSameLine(r,s);return x||S.push(E.removeRange([h.range[1],r.range[0]])),T||S.push(E.removeRange([r.range[1],s.range[0]])),S}});else{if(l&&p.loc.start.line===p.loc.end.line)return;f&&e.report({node:p.test,loc:{start:m.loc.start,end:i.loc.end},messageId:"expectedTestCons",fix:E=>d?null:E.replaceTextRange([i.range[1],u.range[0]],`
88
- `)}),g&&e.report({node:p.consequent,loc:{start:c.loc.start,end:h.loc.end},messageId:"expectedConsAlt",fix:E=>d?null:E.replaceTextRange([h.range[1],r.range[0]],`
89
- `)})}}}}},Ro}var _o,gy;function NA(){if(gy)return _o;gy=1;const a=Ue(),e=["Array","Boolean","Date","Error","Function","Number","Object","RegExp","String","Symbol","BigInt"];function n(t,l){return t[l]=!0,t}function o(t){return Array.from(new Set([...t.capIsNewExceptions,...e])).reduce(n,{})}return _o={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[l]=t.options,p=!l.properties,u=l.newIsCapExceptions.reduce(n,{}),r=l.newIsCapExceptionPattern?new RegExp(l.newIsCapExceptionPattern,"u"):null,m=o(l),i=l.capIsNewExceptionPattern?new RegExp(l.capIsNewExceptionPattern,"u"):null,c={},h=t.sourceCode;function s(E){return E.callee.type==="Identifier"?E.callee.name:a.getStaticPropertyName(E.callee)||""}function f(E){const S=E.charAt(0),x=S.toLowerCase(),T=S.toUpperCase();return x===T?"non-alpha":S===x?"lower":"upper"}function g(E,S,x,T){const C=h.getText(S.callee);if(E[x]||E[C]||T&&T.test(C))return!0;const v=a.skipChainExpression(S.callee);return x==="UTC"&&v.type==="MemberExpression"?v.object.type==="Identifier"&&v.object.name==="Date":p&&v.type==="MemberExpression"}function d(E,S){let x=a.skipChainExpression(E.callee);x.type==="MemberExpression"&&(x=x.property),t.report({node:E,loc:x.loc,messageId:S})}return l.newIsCap&&(c.NewExpression=function(E){const S=s(E);S&&(f(S)!=="lower"||g(u,E,S,r)||d(E,"lower"))}),l.capIsNew&&(c.CallExpression=function(E){const S=s(E);S&&(f(S)!=="upper"||g(m,E,S,i)||d(E,"upper"))}),c}},_o}var Bo,yy;function MA(){if(yy)return Bo;yy=1;const a=Ue();return Bo={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",url:"https://eslint.style"},rule:{name:"new-parens",url:"https://eslint.style/rules/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(l){if(l.arguments.length!==0)return;const p=t.getLastToken(l),r=p&&a.isClosingParenToken(p)&&a.isOpeningParenToken(t.getTokenBefore(p))&&l.callee.range[1]<l.range[1];o?r||e.report({node:l,messageId:"missing",fix:m=>m.insertTextAfter(l,"()")}):r&&e.report({node:l,messageId:"unnecessary",fix:m=>[m.remove(t.getTokenBefore(p)),m.remove(p),m.insertTextBefore(l,"("),m.insertTextAfter(l,")")]})}}}},Bo}var Lo,vy;function jA(){if(vy)return Lo;vy=1;const a=Ue();return Lo={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",url:"https://eslint.style"},rule:{name:"padding-line-between-statements",url:"https://eslint.style/rules/padding-line-between-statements"}}]}},create(e){const n=e.sourceCode,o=e.options[0]==="never"?"never":"always",t=n.getAllComments().reduce((s,f)=>(s[f.loc.start.line]=f.loc.end.line,s),{});function l(s){const f=n.getLastToken(s);if(f.type==="Punctuator"&&f.value===";"){const g=n.getTokenBefore(f);if(g.loc.end.line!==f.loc.start.line)return g}return f}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 m(s){const f=n.getTokenAfter(s);return!f||f.type==="Punctuator"&&f.value==="}"}function i(s){const f=t[s];return t[f+1]?i(f+1):f}function c(s,f){return s.loc.start.line>i(f)+1}function h(s){const f=l(s),g=f===n.getLastToken(s)?n.getTokenAfter(s):n.getLastToken(s),d=f.loc.end.line+1;if(!g||u(s.parent.type)||r(s.parent.type)||g.type==="Keyword"&&p(g.value)||m(s))return;const E=g.loc.start.line>d,S=typeof t[d]<"u";o==="never"&&E&&!S&&e.report({node:s,messageId:"unexpected",fix(x){const T=n.getText().slice(f.range[1],g.range[0]).split(a.LINEBREAK_MATCHER);return x.replaceTextRange([f.range[1],g.range[0]],`${T.slice(0,-1).join("")}
90
- ${T.at(-1)}`)}}),o==="always"&&(!E||S&&!c(g,d))&&e.report({node:s,messageId:"expected",fix(x){return(E?i(d):f.loc.end.line)===g.loc.start.line?x.insertTextBefore(g,`
91
-
92
- `):x.insertTextBeforeRange([g.range[0]-g.loc.start.column,g.range[1]],`
93
- `)}})}return{VariableDeclaration:h}}},Lo}var Oo,Ey;function UA(){return Ey||(Ey=1,Oo={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",url:"https://eslint.style"},rule:{name:"padding-line-between-statements",url:"https://eslint.style/rules/padding-line-between-statements"}}]}},create(a){const e=a.sourceCode;function n(r,m){const i=e.getTokenBefore(r);return m.includes(i.value)}function o(r){const m=r.parent.type;return r.parent.body?Array.isArray(r.parent.body)?r.parent.body[0]===r:r.parent.body===r:m==="IfStatement"?n(r,["else",")"]):m==="DoWhileStatement"?n(r,["do"]):m==="SwitchCase"?n(r,[":"]):n(r,[")"])}function t(r,m){const i=e.getCommentsBefore(r);let c=0;return i.length&&i.forEach(h=>{c++,h.type==="Block"&&(c+=h.loc.end.line-h.loc.start.line),h.loc.start.line===m&&c--,h.loc.end.line===r.loc.start.line&&c--}),c}function l(r){const m=e.getTokenBefore(r);let i;return m?i=m.loc.end.line:i=0,i}function p(r){const m=r.loc.start.line,i=l(r),c=t(r,i);return m-i-c>1}function u(r){const m=e.getCommentsBefore(r),i=m.at(-1),c=e.getTokenBefore(r);return m.length===0||i.loc.end.line===c.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(m){if(u(r)){const i=e.getTokenBefore(r),c=r.loc.start.line===i.loc.end.line?`
94
-
95
- `:`
96
- `;return m.insertTextBefore(r,c)}return null}})}}}}),Oo}var No,Sy;function qA(){if(Sy)return No;Sy=1;const a=Ue();return No={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",url:"https://eslint.style"},rule:{name:"newline-per-chained-call",url:"https://eslint.style/rules/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 l(u){return u.computed?u.optional?"?.[":"[":u.optional?"?.":"."}function p(u){const r=l(u),m=t.getText(u.property).split(a.LINEBREAK_MATCHER),i=u.computed&&m.length===1?"]":"";return r+m[0]+i}return{"CallExpression:exit"(u){const r=a.skipChainExpression(u.callee);if(r.type!=="MemberExpression")return;let m=a.skipChainExpression(r.object),i=1;for(;m&&m.callee;)i+=1,m=a.skipChainExpression(a.skipChainExpression(m.callee).object);if(i>o&&a.isTokenOnSameLine(r.object,r.property)){const c=t.getTokenAfter(r.object,a.isNotClosingParenToken);e.report({node:r.property,loc:{start:c.loc.start,end:r.loc.end},messageId:"expected",data:{callee:p(r)},fix(h){return h.insertTextBefore(c,`
97
- `)}})}}}}},No}var Mo,by;function VA(){if(by)return Mo;by=1;const{getStaticPropertyName:a,getVariableByName:e,skipChainExpression:n}=Ue();function o(u){return/^(?:alert|confirm|prompt)$/u.test(u)}function t(u,r){const m=u.references.filter(i=>i.identifier.range[0]===r.range[0]&&i.identifier.range[1]===r.range[1]);return m.length===1?m[0]:null}function l(u,r){const m=t(u,r);return m&&m.resolved&&m.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"))?!l(u,r):!1}return Mo={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(m){const i=n(m.callee),c=r.getScope(m);if(i.type==="Identifier"){const h=i.name;!l(c,i)&&o(i.name)&&u.report({node:m,messageId:"unexpected",data:{name:h}})}else if(i.type==="MemberExpression"&&p(c,i.object)){const h=a(i);o(h)&&u.report({node:m,messageId:"unexpected",data:{name:h}})}}}}},Mo}var jo,xy;function $A(){if(xy)return jo;xy=1;const{getVariableByName:a,isClosingParenToken:e,isOpeningParenToken:n,isStartOfExpressionStatement:o,needsPrecedingSemicolon:t}=Ue();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(l){const p=l.sourceCode;function u(i){const c=p.getFirstToken(i),h=p.getLastToken(i);let s=p.getLastToken(i.callee);for(;s!==h&&!n(s);)s=p.getTokenAfter(s);return p.commentsExistBetween(c,s)}function r(i){const c=p.getLastToken(i);if(!e(c))return"";let h=i.callee;do if(h=p.getTokenAfter(h),!h||h===c)return"";while(!n(h));return p.text.slice(h.range[1],c.range[0])}function m(i){if(i.callee.type!=="Identifier"||i.callee.name!=="Array"||i.typeArguments||i.arguments.length===1&&i.arguments[0].type!=="SpreadElement")return;const c=a(p.getScope(i),"Array");if(c&&c.identifiers.length===0){const h=r(i);let s,f;const g=i.arguments.reduce((E,S)=>S.type!=="SpreadElement"?E+1:E,0),d=i.optional||i.arguments.length>0&&g<2||u(i);o(i)&&t(p,i)?(s=`;[${h}]`,f="useLiteralAfterSemicolon"):(s=`[${h}]`,f="useLiteral"),l.report({node:i,messageId:"preferLiteral",fix(E){return d?null:E.replaceText(i,s)},suggest:[{messageId:f,fix(E){return d?E.replaceText(i,s):null}}]})}}return{CallExpression:m,NewExpression:m}}},jo}var Uo,Cy;function WA(){return Cy||(Cy=1,Uo={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"})}}}}),Uo}var qo,wy;function GA(){if(wy)return qo;wy=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||n===o.left&&n.kind==="await using";case"WhileStatement":case"DoWhileStatement":return n===o.test||n===o.body;default:return!1}}return qo={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==="VariableDeclaration"&&t.kind!=="await using"||t.type==="ForOfStatement"&&!t.await)return;let l=t,p=l.parent;for(;p&&!a(p);){if(e(l,p)){n.report({node:t,messageId:"unexpectedAwait"});return}l=p,p=p.parent}}return{AwaitExpression:o,ForOfStatement:o,VariableDeclaration:o}}},qo}var Vo,Ay;function zA(){if(Ay)return Vo;Ay=1;const a=["^","|","&","<<",">>",">>>","^=","|=","&=","<<=",">>=",">>>=","~"];return Vo={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(m){e.report({node:m,messageId:"unexpected",data:{operator:m.operator}})}function l(m){return a.includes(m.operator)}function p(m){return n.includes(m.operator)}function u(m){return o&&m.operator==="|"&&m.right&&m.right.type==="Literal"&&m.right.value===0}function r(m){l(m)&&!p(m)&&!u(m)&&t(m)}return{AssignmentExpression:r,BinaryExpression:r,UnaryExpression:r}}},Vo}var $o,Ty;function HA(){return Ty||(Ty=1,$o={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()"}})}}}}),$o}var Wo,ky;function KA(){return ky||(ky=1,Wo={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}})}}}}),Wo}var Go,Dy;function XA(){return Dy||(Dy=1,Go={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:l=>[l.insertTextBefore(n.consequent[0],"{ "),l.insertTextAfter(n.consequent.at(-1)," }")]}]})}}}}}),Go}var zo,Iy;function JA(){if(Iy)return zo;Iy=1;const a=Ue();return zo={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,l){return a.getVariableByName(t,l)!==null}return{"CatchClause[param!=null]"(t){let l=n.getScope(t);l.block===t&&(l=l.upper),o(l,t.param.name)&&e.report({node:t,messageId:"mutable",data:{name:t.param.name}})}}}},zo}var Ho,Py;function YA(){if(Py)return Ho;Py=1;const a=Ue();return Ho={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(l){a.getModifyingReferences(l.references).forEach(p=>{e.report({node:p.identifier,messageId:"class",data:{name:p.identifier.name}})})}function t(l){n.getDeclaredVariables(l).forEach(o)}return{ClassDeclaration:t,ClassExpression:t}}},Ho}var Ko,Fy;function QA(){return Fy||(Fy=1,Ko={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}})}}}}),Ko}var Xo,Ry;function ZA(){if(Ry)return Xo;Ry=1;const a=Ue(),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 Xo={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,l=o.sourceCode;function p(c){return c.parent&&e.has(c.parent.type)&&c===c.parent.test}function u(c){let h=c;do if(p(h))return h.parent;while((h=h.parent)&&!a.isFunction(h));return null}function r(c){const h=l.getTokenBefore(c,1),s=l.getTokenAfter(c,1);return a.isParenthesised(l,c)&&h&&a.isOpeningParenToken(h)&&h.range[1]<=c.range[0]&&a.isClosingParenToken(s)&&s.range[0]>=c.range[1]}function m(c){c.test&&c.test.type==="AssignmentExpression"&&(c.type==="ForStatement"?!a.isParenthesised(l,c.test):!r(c.test))&&o.report({node:c.test,messageId:"missing"})}function i(c){const h=u(c);h&&o.report({node:c,messageId:"unexpected",data:{type:n[h.type]||h.type}})}return t==="always"?{AssignmentExpression:i}:{DoWhileStatement:m,ForStatement:m,IfStatement:m,WhileStatement:m,ConditionalExpression:m}}},Xo}var Jo,_y;function eT(){if(_y)return Jo;_y=1;const a=Ue();function e(n){return n&&n.type==="ConditionalExpression"}return Jo={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",url:"https://eslint.style"},rule:{name:"no-confusing-arrow",url:"https://eslint.style/rules/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,l=o.onlyOneSimpleParam,p=n.sourceCode;function u(r){const m=r.body;e(m)&&!(t&&a.isParenthesised(p,m))&&!(l&&!(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}}},Jo}var Yo,By;function tT(){if(By)return Yo;By=1;const a=Ue();return Yo={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 c=i.identifier;return c&&c.name==="console"}function l(i){const c=a.getStaticPropertyName(i);return c&&n.includes(c)}function p(i){const c=i.identifier,h=c.parent;return h.type==="MemberExpression"&&h.object===c&&!l(h)}function u(i){const c=/^[:;{]$/u,h=/^[-[(/+`]/u,s=o.getTokenBefore(i),f=o.getTokenAfter(i);return!!f&&h.test(f.value)&&f.value!=="++"&&f.value!=="--"&&!!s&&!c.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 m(i){const c=i.identifier.parent,h=[];if(r(c)){const s={fix(f){return f.remove(c.parent.parent)}};c.computed?s.messageId="removeMethodCall":(s.messageId="removeConsole",s.data={propertyName:c.property.name}),h.push(s)}e.report({node:c,loc:c.loc,messageId:n.length?"limited":"unexpected",data:{allowed:n.join(", ")},suggest:h})}return{"Program:exit"(i){const c=o.getScope(i),h=a.getVariableByName(c,"console"),s=h&&h.defs.length>0,f=h?h.references:c.through.filter(t);s||f.filter(p).forEach(m)}}}},Yo}var Qo,Ly;function rT(){if(Ly)return Qo;Ly=1;const a=Ue(),e=new Set(["const","using","await using"]);return Qo={meta:{type:"problem",docs:{description:"Disallow reassigning `const`, `using`, and `await using` variables",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-const-assign"},schema:[],messages:{const:"'{{name}}' is constant."}},create(n){const o=n.sourceCode;function t(l){a.getModifyingReferences(l.references).forEach(p=>{n.report({node:p.identifier,messageId:"const",data:{name:p.identifier.name}})})}return{VariableDeclaration(l){e.has(l.kind)&&o.getDeclaredVariables(l).forEach(t)}}}},Qo}var Zo,Oy;function nT(){if(Oy)return Zo;Oy=1;const{isNullLiteral:a,isConstant:e,isReferenceToGlobalVariable:n,isLogicalAssignmentOperator:o,ECMASCRIPT_GLOBALS:t}=Ue(),l=new Set(["+","-","*","/","%","|","^","&","**","<<",">>",">>>"]);function p(s,f){return a(f)||f.type==="Identifier"&&f.name==="undefined"&&n(s,f)||f.type==="UnaryExpression"&&f.operator==="void"}function u(s,f,g){if(g&&p(s,f))return!1;switch(f.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(f.callee.type!=="Identifier")return!1;const d=f.callee.name;return(d==="Boolean"||d==="String"||d==="Number")&&n(s,f.callee)}case"LogicalExpression":return f.operator==="??"&&u(s,f.right,!0);case"AssignmentExpression":return f.operator==="="?u(s,f.right,g):!o(f.operator);case"UnaryExpression":return!0;case"SequenceExpression":{const d=f.expressions.at(-1);return u(s,d,g)}case"Identifier":return f.name==="undefined"&&n(s,f);case"JSXElement":case"JSXFragment":return!1;default:return!1}}function r(s,f){switch(f.type){case"Literal":return typeof f.value=="boolean";case"CallExpression":return f.callee.type==="Identifier"&&f.callee.name==="Boolean"&&n(s,f.callee)&&(f.arguments.length===0||e(s,f.arguments[0],!0));case"UnaryExpression":return f.operator==="!"&&e(s,f.argument,!0);default:return!1}}function m(s,f){switch(f.type){case"ObjectExpression":case"ClassExpression":return!0;case"ArrayExpression":{const g=f.elements.filter(d=>d!==null&&d.type!=="SpreadElement");return f.elements.length===0||g.length>1}case"ArrowFunctionExpression":case"FunctionExpression":return!0;case"UnaryExpression":return f.operator==="void"||f.operator==="typeof"?!0:f.operator==="!"?e(s,f.argument,!0):!1;case"NewExpression":return!1;case"CallExpression":return f.callee.type==="Identifier"&&f.callee.name==="Boolean"&&n(s,f.callee)?f.arguments.length===0||e(s,f.arguments[0],!0):!1;case"Literal":return!0;case"Identifier":return f.name==="undefined"&&n(s,f);case"TemplateLiteral":return f.expressions.length===0;case"AssignmentExpression":return f.operator==="="?m(s,f.right):!1;case"SequenceExpression":{const g=f.expressions.at(-1);return m(s,g)}case"JSXElement":case"JSXFragment":return!1;default:return!1}}function i(s,f){switch(f.type){case"ObjectExpression":case"ArrayExpression":case"ArrowFunctionExpression":case"FunctionExpression":case"ClassExpression":case"NewExpression":case"TemplateLiteral":case"Literal":case"UpdateExpression":return!0;case"BinaryExpression":return l.has(f.operator);case"UnaryExpression":return f.operator==="delete"?!1:f.operator==="!"?e(s,f.argument,!0):!0;case"SequenceExpression":{const g=f.expressions.at(-1);return i(s,g)}case"Identifier":return f.name==="undefined"&&n(s,f);case"AssignmentExpression":return f.operator==="="?i(s,f.right):!o(f.operator);case"CallExpression":{if(f.callee.type!=="Identifier")return!1;const g=f.callee.name;return(g==="String"||g==="Number")&&n(s,f.callee)?!0:g==="Boolean"&&n(s,f.callee)?f.arguments.length===0||e(s,f.arguments[0],!0):!1}case"JSXElement":case"JSXFragment":return!1;default:return!1}}function c(s,f){switch(f.type){case"ObjectExpression":case"ArrayExpression":case"ArrowFunctionExpression":case"FunctionExpression":case"ClassExpression":return!0;case"NewExpression":return f.callee.type!=="Identifier"?!1:Object.hasOwn(t,f.callee.name)&&n(s,f.callee);case"Literal":return typeof f.regex=="object";case"SequenceExpression":{const g=f.expressions.at(-1);return c(s,g)}case"AssignmentExpression":return f.operator==="="?c(s,f.right):!1;case"ConditionalExpression":return c(s,f.consequent)&&c(s,f.alternate);case"JSXElement":case"JSXFragment":return!1;default:return!1}}function h(s,f,g,d){if(d==="=="||d==="!="){if(p(s,f)&&u(s,g,!1)||r(s,f)&&m(s,g))return g}else if((d==="==="||d==="!==")&&(p(s,f)&&u(s,g,!1)||r(s,f)&&i(s,g)))return g;return null}return Zo={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 f=s.sourceCode;return{LogicalExpression(g){const{operator:d,left:E}=g,S=f.getScope(g);(d==="&&"||d==="||")&&e(S,E,!0)?s.report({node:E,messageId:"constantShortCircuit",data:{property:"truthiness",operator:d}}):d==="??"&&u(S,E,!1)&&s.report({node:E,messageId:"constantShortCircuit",data:{property:"nullishness",operator:d}})},BinaryExpression(g){const d=f.getScope(g),{right:E,left:S,operator:x}=g,T=h(d,S,E,x),C=h(d,E,S,x);T?s.report({node:T,messageId:"constantBinaryOperand",data:{operator:x,otherSide:"left"}}):C?s.report({node:C,messageId:"constantBinaryOperand",data:{operator:x,otherSide:"right"}}):x==="==="||x==="!=="?c(d,S)?s.report({node:S,messageId:"alwaysNew"}):c(d,E)&&s.report({node:E,messageId:"alwaysNew"}):(x==="=="||x==="!=")&&c(d,S)&&c(d,E)&&s.report({node:S,messageId:"bothAlwaysNew"})}}}},Zo}var el,Ny;function sT(){if(Ny)return el;Ny=1;const{isConstant:a}=Ue();return el={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 l=new Set;function p(h){h.test&&a(o.getScope(h),h.test,!0)&&l.add(h)}function u(h){l.has(h)&&(l.delete(h),e.report({node:h.test,messageId:"unexpected"}))}function r(h){h.test&&a(o.getScope(h),h.test,!0)&&e.report({node:h.test,messageId:"unexpected"})}function m(){n.push(l),l=new Set}function i(){l=n.pop()}function c(h){(t==="all"||t==="allExceptWhileTrue")&&p(h)}return{ConditionalExpression:r,IfStatement:r,WhileStatement(h){h.test.type==="Literal"&&h.test.value===!0&&t==="allExceptWhileTrue"||c(h)},"WhileStatement:exit":u,DoWhileStatement:c,"DoWhileStatement:exit":u,ForStatement:c,"ForStatement > .test":h=>c(h.parent),"ForStatement:exit":u,FunctionDeclaration:m,"FunctionDeclaration:exit":i,FunctionExpression:m,"FunctionExpression:exit":i,YieldExpression:()=>l.clear()}}},el}var tl,My;function aT(){return My||(My=1,tl={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"})}}}}),tl}var rl,jy;function iT(){return jy||(jy=1,rl={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"})}}}}),rl}var lr={},Uy;function ur(){if(Uy)return lr;Uy=1,Object.defineProperty(lr,"__esModule",{value:!0});var a=Object.freeze({__proto__:null});const e=2025;let n,o;function t(We){return We<65?!1:We<91?!0:We<97?!1:We<123?!0:p(We)}function l(We){return We<48?!1:We<58?!0:We<65?!1:We<91||We===95?!0:We<97?!1:We<123?!0:p(We)||u(We)}function p(We){return i(We,n??(n=r()))}function u(We){return i(We,o??(o=m()))}function r(){return c("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 m(){return c("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(We,M){let Y=0,he=M.length/2|0,je=0,y=0,D=0;for(;Y<he;)if(je=(Y+he)/2|0,y=M[2*je],D=M[2*je+1],We<y)he=je;else if(We>D)Y=je+1;else return!0;return!1}function c(We){let M=0;return We.split(" ").map(Y=>M+=parseInt(Y,36)|0)}class h{constructor(M,Y,he,je,y,D,U,K){this._raw2018=M,this._raw2019=Y,this._raw2020=he,this._raw2021=je,this._raw2022=y,this._raw2023=D,this._raw2024=U,this._raw2025=K}get es2018(){var M;return(M=this._set2018)!==null&&M!==void 0?M:this._set2018=new Set(this._raw2018.split(" "))}get es2019(){var M;return(M=this._set2019)!==null&&M!==void 0?M:this._set2019=new Set(this._raw2019.split(" "))}get es2020(){var M;return(M=this._set2020)!==null&&M!==void 0?M:this._set2020=new Set(this._raw2020.split(" "))}get es2021(){var M;return(M=this._set2021)!==null&&M!==void 0?M:this._set2021=new Set(this._raw2021.split(" "))}get es2022(){var M;return(M=this._set2022)!==null&&M!==void 0?M:this._set2022=new Set(this._raw2022.split(" "))}get es2023(){var M;return(M=this._set2023)!==null&&M!==void 0?M:this._set2023=new Set(this._raw2023.split(" "))}get es2024(){var M;return(M=this._set2024)!==null&&M!==void 0?M:this._set2024=new Set(this._raw2024.split(" "))}get es2025(){var M;return(M=this._set2025)!==null&&M!==void 0?M:this._set2025=new Set(this._raw2025.split(" "))}}const s=new Set(["General_Category","gc"]),f=new Set(["Script","Script_Extensions","sc","scx"]),g=new h("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","","","","","","",""),d=new h("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","",""),E=new h("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 h("","","","","","","Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji RGI_Emoji_Flag_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence","");function x(We,M,Y){return s.has(M)?We>=2018&&g.es2018.has(Y):f.has(M)?We>=2018&&d.es2018.has(Y)||We>=2019&&d.es2019.has(Y)||We>=2020&&d.es2020.has(Y)||We>=2021&&d.es2021.has(Y)||We>=2022&&d.es2022.has(Y)||We>=2023&&d.es2023.has(Y):!1}function T(We,M){return We>=2018&&E.es2018.has(M)||We>=2019&&E.es2019.has(M)||We>=2021&&E.es2021.has(M)}function C(We,M){return We>=2024&&S.es2024.has(M)}const v=8,A=9,b=10,w=11,k=12,R=13,F=33,L=35,P=36,O=37,q=38,N=40,_=41,G=42,B=43,z=44,H=45,ce=46,re=47,Fe=48,X=49,I=55,W=57,oe=58,ie=59,se=60,de=61,be=62,xe=63,Te=64,J=65,Q=66,ke=68,$=70,ae=80,Ie=83,Ne=87,Be=90,j=95,Qe=97,ut=98,rt=99,ze=100,Xe=102,ht=103,dt=105,at=107,tt=109,we=110,Ee=112,Se=113,ve=114,Pe=115,ee=116,te=117,Z=118,fe=119,De=120,Le=121,me=122,V=91,ne=92,ue=93,Ce=94,qe=96,_e=123,Ke=124,Je=125,pe=126,le=8204,ye=8205,Re=8232,Oe=8233,it=0,Ge=1114111;function Ze(We){return We>=J&&We<=Be||We>=Qe&&We<=me}function lt(We){return We>=Fe&&We<=W}function Ye(We){return We>=Fe&&We<=I}function st(We){return We>=Fe&&We<=W||We>=J&&We<=$||We>=Qe&&We<=Xe}function mt(We){return We===b||We===R||We===Re||We===Oe}function yt(We){return We>=it&&We<=Ge}function pt(We){return We>=Qe&&We<=Xe?We-Qe+10:We>=J&&We<=$?We-J+10:We-Fe}function vt(We){return We>=55296&&We<=56319}function Ct(We){return We>=56320&&We<=57343}function xt(We,M){return(We-55296)*1024+(M-56320)+65536}class Rt{constructor(){this.groupName=new Set}clear(){this.groupName.clear()}isEmpty(){return!this.groupName.size}hasInPattern(M){return this.groupName.has(M)}hasInScope(M){return this.hasInPattern(M)}addToScope(M){this.groupName.add(M)}enterDisjunction(){}enterAlternative(){}leaveDisjunction(){}}class _t{constructor(M,Y){this.parent=M,this.base=Y??this}separatedFrom(M){var Y,he;return this.base===M.base&&this!==M||M.parent&&this.separatedFrom(M.parent)?!0:(he=(Y=this.parent)===null||Y===void 0?void 0:Y.separatedFrom(M))!==null&&he!==void 0?he:!1}child(){return new _t(this,null)}sibling(){return new _t(this.parent,this.base)}}class Bt{constructor(){this.branchID=new _t(null,null),this.groupNames=new Map}clear(){this.branchID=new _t(null,null),this.groupNames.clear()}isEmpty(){return!this.groupNames.size}enterDisjunction(){this.branchID=this.branchID.child()}enterAlternative(M){M!==0&&(this.branchID=this.branchID.sibling())}leaveDisjunction(){this.branchID=this.branchID.parent}hasInPattern(M){return this.groupNames.has(M)}hasInScope(M){const Y=this.groupNames.get(M);if(!Y)return!1;for(const he of Y)if(!he.separatedFrom(this.branchID))return!0;return!1}addToScope(M){const Y=this.groupNames.get(M);if(Y){Y.push(this.branchID);return}this.groupNames.set(M,[this.branchID])}}const Ht={at(We,M,Y){return Y<M?We.charCodeAt(Y):-1},width(We){return 1}},Gt={at(We,M,Y){return Y<M?We.codePointAt(Y):-1},width(We){return We>65535?2:1}};class Ot{constructor(){this._impl=Ht,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(M,Y,he,je){this._impl=je?Gt:Ht,this._s=M,this._end=he,this.rewind(Y)}rewind(M){const Y=this._impl;this._i=M,this._cp1=Y.at(this._s,this._end,M),this._w1=Y.width(this._cp1),this._cp2=Y.at(this._s,this._end,M+this._w1),this._w2=Y.width(this._cp2),this._cp3=Y.at(this._s,this._end,M+this._w1+this._w2),this._w3=Y.width(this._cp3),this._cp4=Y.at(this._s,this._end,M+this._w1+this._w2+this._w3)}advance(){if(this._cp1!==-1){const M=this._impl;this._i+=this._w1,this._cp1=this._cp2,this._w1=this._w2,this._cp2=this._cp3,this._w2=M.width(this._cp2),this._cp3=this._cp4,this._w3=M.width(this._cp3),this._cp4=M.at(this._s,this._end,this._i+this._w1+this._w2+this._w3)}}eat(M){return this._cp1===M?(this.advance(),!0):!1}eat2(M,Y){return this._cp1===M&&this._cp2===Y?(this.advance(),this.advance(),!0):!1}eat3(M,Y,he){return this._cp1===M&&this._cp2===Y&&this._cp3===he?(this.advance(),this.advance(),this.advance(),!0):!1}}class $t extends SyntaxError{constructor(M,Y){super(M),this.index=Y}}function ct(We,M,Y,he){let je="";if(We.kind==="literal"){const y=We.source.slice(We.start,We.end);y&&(je=`: ${y}`)}else if(We.kind==="pattern"){const y=We.source.slice(We.start,We.end),D=`${M.unicode?"u":""}${M.unicodeSets?"v":""}`;je=`: /${y}/${D}`}return new $t(`Invalid regular expression${je}: ${he}`,Y)}const Mt=new Set([Ce,P,ne,ce,G,B,xe,N,_,V,ue,_e,Je,Ke]),Lt=new Set([q,F,L,P,O,G,B,z,ce,oe,ie,se,de,be,xe,Te,Ce,qe,pe]),Er=new Set([N,_,V,ue,_e,Je,re,H,ne,Ke]),Sr=new Set([q,H,F,L,O,z,oe,ie,se,de,be,Te,qe,pe]),Qt={global:ht,ignoreCase:dt,multiline:tt,unicode:te,sticky:Le,dotAll:Pe,hasIndices:ze,unicodeSets:Z},cr=Object.fromEntries(Object.entries(Qt).map(([We,M])=>[M,We]));function rr(We){return Mt.has(We)}function fr(We){return Lt.has(We)}function br(We){return Er.has(We)}function Zt(We){return Sr.has(We)}function Wt(We){return t(We)||We===P||We===j}function jt(We){return l(We)||We===P||We===le||We===ye}function Nr(We){return Ze(We)||We===j}function Mr(We){return Nr(We)||lt(We)}function jr(We){return We===dt||We===tt||We===Pe}class Fr{constructor(M){this._reader=new Ot,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=M??{},this._groupSpecifiers=this.ecmaVersion>=2025?new Bt:new Rt}validateLiteral(M,Y=0,he=M.length){if(this._srcCtx={source:M,start:Y,end:he,kind:"literal"},this._unicodeSetsMode=this._unicodeMode=this._nFlag=!1,this.reset(M,Y,he),this.onLiteralEnter(Y),this.eat(re)&&this.eatRegExpBody()&&this.eat(re)){const je=this.index,y=M.includes("u",je),D=M.includes("v",je);this.validateFlagsInternal(M,je,he),this.validatePatternInternal(M,Y+1,je-1,{unicode:y,unicodeSets:D})}else if(Y>=he)this.raise("Empty");else{const je=String.fromCodePoint(this.currentCodePoint);this.raise(`Unexpected character '${je}'`)}this.onLiteralLeave(Y,he)}validateFlags(M,Y=0,he=M.length){this._srcCtx={source:M,start:Y,end:he,kind:"flags"},this.validateFlagsInternal(M,Y,he)}validatePattern(M,Y=0,he=M.length,je=void 0){this._srcCtx={source:M,start:Y,end:he,kind:"pattern"},this.validatePatternInternal(M,Y,he,je)}validatePatternInternal(M,Y=0,he=M.length,je=void 0){const y=this._parseFlagsOptionToMode(je,he);this._unicodeMode=y.unicodeMode,this._nFlag=y.nFlag,this._unicodeSetsMode=y.unicodeSetsMode,this.reset(M,Y,he),this.consumePattern(),!this._nFlag&&this.ecmaVersion>=2018&&!this._groupSpecifiers.isEmpty()&&(this._nFlag=!0,this.rewind(Y),this.consumePattern())}validateFlagsInternal(M,Y,he){const je=this.parseFlags(M,Y,he);this.onRegExpFlags(Y,he,je)}_parseFlagsOptionToMode(M,Y){let he=!1,je=!1;M&&this.ecmaVersion>=2015&&(typeof M=="object"?(he=!!M.unicode,this.ecmaVersion>=2024&&(je=!!M.unicodeSets)):he=M),he&&je&&this.raise("Invalid regular expression flags",{index:Y+1,unicode:he,unicodeSets:je});const y=he||je,D=he&&this.ecmaVersion>=2018||je||!!(this._options.strict&&this.ecmaVersion>=2023);return{unicodeMode:y,nFlag:D,unicodeSetsMode:je}}get strict(){return!!this._options.strict||this._unicodeMode}get ecmaVersion(){var M;return(M=this._options.ecmaVersion)!==null&&M!==void 0?M:e}onLiteralEnter(M){this._options.onLiteralEnter&&this._options.onLiteralEnter(M)}onLiteralLeave(M,Y){this._options.onLiteralLeave&&this._options.onLiteralLeave(M,Y)}onRegExpFlags(M,Y,he){this._options.onRegExpFlags&&this._options.onRegExpFlags(M,Y,he),this._options.onFlags&&this._options.onFlags(M,Y,he.global,he.ignoreCase,he.multiline,he.unicode,he.sticky,he.dotAll,he.hasIndices)}onPatternEnter(M){this._options.onPatternEnter&&this._options.onPatternEnter(M)}onPatternLeave(M,Y){this._options.onPatternLeave&&this._options.onPatternLeave(M,Y)}onDisjunctionEnter(M){this._options.onDisjunctionEnter&&this._options.onDisjunctionEnter(M)}onDisjunctionLeave(M,Y){this._options.onDisjunctionLeave&&this._options.onDisjunctionLeave(M,Y)}onAlternativeEnter(M,Y){this._options.onAlternativeEnter&&this._options.onAlternativeEnter(M,Y)}onAlternativeLeave(M,Y,he){this._options.onAlternativeLeave&&this._options.onAlternativeLeave(M,Y,he)}onGroupEnter(M){this._options.onGroupEnter&&this._options.onGroupEnter(M)}onGroupLeave(M,Y){this._options.onGroupLeave&&this._options.onGroupLeave(M,Y)}onModifiersEnter(M){this._options.onModifiersEnter&&this._options.onModifiersEnter(M)}onModifiersLeave(M,Y){this._options.onModifiersLeave&&this._options.onModifiersLeave(M,Y)}onAddModifiers(M,Y,he){this._options.onAddModifiers&&this._options.onAddModifiers(M,Y,he)}onRemoveModifiers(M,Y,he){this._options.onRemoveModifiers&&this._options.onRemoveModifiers(M,Y,he)}onCapturingGroupEnter(M,Y){this._options.onCapturingGroupEnter&&this._options.onCapturingGroupEnter(M,Y)}onCapturingGroupLeave(M,Y,he){this._options.onCapturingGroupLeave&&this._options.onCapturingGroupLeave(M,Y,he)}onQuantifier(M,Y,he,je,y){this._options.onQuantifier&&this._options.onQuantifier(M,Y,he,je,y)}onLookaroundAssertionEnter(M,Y,he){this._options.onLookaroundAssertionEnter&&this._options.onLookaroundAssertionEnter(M,Y,he)}onLookaroundAssertionLeave(M,Y,he,je){this._options.onLookaroundAssertionLeave&&this._options.onLookaroundAssertionLeave(M,Y,he,je)}onEdgeAssertion(M,Y,he){this._options.onEdgeAssertion&&this._options.onEdgeAssertion(M,Y,he)}onWordBoundaryAssertion(M,Y,he,je){this._options.onWordBoundaryAssertion&&this._options.onWordBoundaryAssertion(M,Y,he,je)}onAnyCharacterSet(M,Y,he){this._options.onAnyCharacterSet&&this._options.onAnyCharacterSet(M,Y,he)}onEscapeCharacterSet(M,Y,he,je){this._options.onEscapeCharacterSet&&this._options.onEscapeCharacterSet(M,Y,he,je)}onUnicodePropertyCharacterSet(M,Y,he,je,y,D,U){this._options.onUnicodePropertyCharacterSet&&this._options.onUnicodePropertyCharacterSet(M,Y,he,je,y,D,U)}onCharacter(M,Y,he){this._options.onCharacter&&this._options.onCharacter(M,Y,he)}onBackreference(M,Y,he){this._options.onBackreference&&this._options.onBackreference(M,Y,he)}onCharacterClassEnter(M,Y,he){this._options.onCharacterClassEnter&&this._options.onCharacterClassEnter(M,Y,he)}onCharacterClassLeave(M,Y,he){this._options.onCharacterClassLeave&&this._options.onCharacterClassLeave(M,Y,he)}onCharacterClassRange(M,Y,he,je){this._options.onCharacterClassRange&&this._options.onCharacterClassRange(M,Y,he,je)}onClassIntersection(M,Y){this._options.onClassIntersection&&this._options.onClassIntersection(M,Y)}onClassSubtraction(M,Y){this._options.onClassSubtraction&&this._options.onClassSubtraction(M,Y)}onClassStringDisjunctionEnter(M){this._options.onClassStringDisjunctionEnter&&this._options.onClassStringDisjunctionEnter(M)}onClassStringDisjunctionLeave(M,Y){this._options.onClassStringDisjunctionLeave&&this._options.onClassStringDisjunctionLeave(M,Y)}onStringAlternativeEnter(M,Y){this._options.onStringAlternativeEnter&&this._options.onStringAlternativeEnter(M,Y)}onStringAlternativeLeave(M,Y,he){this._options.onStringAlternativeLeave&&this._options.onStringAlternativeLeave(M,Y,he)}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(M,Y,he){this._reader.reset(M,Y,he,this._unicodeMode)}rewind(M){this._reader.rewind(M)}advance(){this._reader.advance()}eat(M){return this._reader.eat(M)}eat2(M,Y){return this._reader.eat2(M,Y)}eat3(M,Y,he){return this._reader.eat3(M,Y,he)}raise(M,Y){var he,je,y;throw ct(this._srcCtx,{unicode:(he=Y?.unicode)!==null&&he!==void 0?he:this._unicodeMode&&!this._unicodeSetsMode,unicodeSets:(je=Y?.unicodeSets)!==null&&je!==void 0?je:this._unicodeSetsMode},(y=Y?.index)!==null&&y!==void 0?y:this.index,M)}eatRegExpBody(){const M=this.index;let Y=!1,he=!1;for(;;){const je=this.currentCodePoint;if(je===-1||mt(je)){const y=Y?"character class":"regular expression";this.raise(`Unterminated ${y}`)}if(he)he=!1;else if(je===ne)he=!0;else if(je===V)Y=!0;else if(je===ue)Y=!1;else if(je===re&&!Y||je===G&&this.index===M)break;this.advance()}return this.index!==M}consumePattern(){const M=this.index;this._numCapturingParens=this.countCapturingParens(),this._groupSpecifiers.clear(),this._backreferenceNames.clear(),this.onPatternEnter(M),this.consumeDisjunction();const Y=this.currentCodePoint;if(this.currentCodePoint!==-1){Y===_&&this.raise("Unmatched ')'"),Y===ne&&this.raise("\\ at end of pattern"),(Y===ue||Y===Je)&&this.raise("Lone quantifier brackets");const he=String.fromCodePoint(Y);this.raise(`Unexpected character '${he}'`)}for(const he of this._backreferenceNames)this._groupSpecifiers.hasInPattern(he)||this.raise("Invalid named capture referenced");this.onPatternLeave(M,this.index)}countCapturingParens(){const M=this.index;let Y=!1,he=!1,je=0,y=0;for(;(y=this.currentCodePoint)!==-1;)he?he=!1:y===ne?he=!0:y===V?Y=!0:y===ue?Y=!1:y===N&&!Y&&(this.nextCodePoint!==xe||this.nextCodePoint2===se&&this.nextCodePoint3!==de&&this.nextCodePoint3!==F)&&(je+=1),this.advance();return this.rewind(M),je}consumeDisjunction(){const M=this.index;let Y=0;this._groupSpecifiers.enterDisjunction(),this.onDisjunctionEnter(M);do this.consumeAlternative(Y++);while(this.eat(Ke));this.consumeQuantifier(!0)&&this.raise("Nothing to repeat"),this.eat(_e)&&this.raise("Lone quantifier brackets"),this.onDisjunctionLeave(M,this.index),this._groupSpecifiers.leaveDisjunction()}consumeAlternative(M){const Y=this.index;for(this._groupSpecifiers.enterAlternative(M),this.onAlternativeEnter(Y,M);this.currentCodePoint!==-1&&this.consumeTerm(););this.onAlternativeLeave(Y,this.index,M)}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 M=this.index;if(this._lastAssertionIsQuantifiable=!1,this.eat(Ce))return this.onEdgeAssertion(M,this.index,"start"),!0;if(this.eat(P))return this.onEdgeAssertion(M,this.index,"end"),!0;if(this.eat2(ne,Q))return this.onWordBoundaryAssertion(M,this.index,"word",!0),!0;if(this.eat2(ne,ut))return this.onWordBoundaryAssertion(M,this.index,"word",!1),!0;if(this.eat2(N,xe)){const Y=this.ecmaVersion>=2018&&this.eat(se);let he=!1;if(this.eat(de)||(he=this.eat(F))){const je=Y?"lookbehind":"lookahead";return this.onLookaroundAssertionEnter(M,je,he),this.consumeDisjunction(),this.eat(_)||this.raise("Unterminated group"),this._lastAssertionIsQuantifiable=!Y&&!this.strict,this.onLookaroundAssertionLeave(M,this.index,je,he),!0}this.rewind(M)}return!1}consumeQuantifier(M=!1){const Y=this.index;let he=0,je=0,y=!1;if(this.eat(G))he=0,je=Number.POSITIVE_INFINITY;else if(this.eat(B))he=1,je=Number.POSITIVE_INFINITY;else if(this.eat(xe))he=0,je=1;else if(this.eatBracedQuantifier(M))({min:he,max:je}=this._lastRange);else return!1;return y=!this.eat(xe),M||this.onQuantifier(Y,this.index,he,je,y),!0}eatBracedQuantifier(M){const Y=this.index;if(this.eat(_e)){if(this.eatDecimalDigits()){const he=this._lastIntValue;let je=he;if(this.eat(z)&&(je=this.eatDecimalDigits()?this._lastIntValue:Number.POSITIVE_INFINITY),this.eat(Je))return!M&&je<he&&this.raise("numbers out of order in {} quantifier"),this._lastRange={min:he,max:je},!0}!M&&(this._unicodeMode||this.strict)&&this.raise("Incomplete quantifier"),this.rewind(Y)}return!1}consumeAtom(){return this.consumePatternCharacter()||this.consumeDot()||this.consumeReverseSolidusAtomEscape()||!!this.consumeCharacterClass()||this.consumeCapturingGroup()||this.consumeUncapturingGroup()}consumeDot(){return this.eat(ce)?(this.onAnyCharacterSet(this.index-1,this.index,"any"),!0):!1}consumeReverseSolidusAtomEscape(){const M=this.index;if(this.eat(ne)){if(this.consumeAtomEscape())return!0;this.rewind(M)}return!1}consumeUncapturingGroup(){const M=this.index;return this.eat2(N,xe)?(this.onGroupEnter(M),this.ecmaVersion>=2025&&this.consumeModifiers(),this.eat(oe)||(this.rewind(M+1),this.raise("Invalid group")),this.consumeDisjunction(),this.eat(_)||this.raise("Unterminated group"),this.onGroupLeave(M,this.index),!0):!1}consumeModifiers(){const M=this.index,Y=this.eatModifiers(),he=this.index,je=this.eat(H);if(!Y&&!je)return!1;this.onModifiersEnter(M);const y=this.parseModifiers(M,he);if(this.onAddModifiers(M,he,y),je){const D=this.index;!this.eatModifiers()&&!Y&&this.currentCodePoint===oe&&this.raise("Invalid empty flags");const U=this.parseModifiers(D,this.index);for(const[K]of Object.entries(U).filter(([,ge])=>ge))y[K]&&this.raise(`Duplicated flag '${String.fromCodePoint(Qt[K])}'`);this.onRemoveModifiers(D,this.index,U)}return this.onModifiersLeave(M,this.index),!0}consumeCapturingGroup(){const M=this.index;if(this.eat(N)){let Y=null;if(this.ecmaVersion>=2018){if(this.consumeGroupSpecifier())Y=this._lastStrValue;else if(this.currentCodePoint===xe)return this.rewind(M),!1}else if(this.currentCodePoint===xe)return this.rewind(M),!1;return this.onCapturingGroupEnter(M,Y),this.consumeDisjunction(),this.eat(_)||this.raise("Unterminated group"),this.onCapturingGroupLeave(M,this.index,Y),!0}return!1}consumeExtendedAtom(){return this.consumeDot()||this.consumeReverseSolidusAtomEscape()||this.consumeReverseSolidusFollowedByC()||!!this.consumeCharacterClass()||this.consumeCapturingGroup()||this.consumeUncapturingGroup()||this.consumeInvalidBracedQuantifier()||this.consumeExtendedPatternCharacter()}consumeReverseSolidusFollowedByC(){const M=this.index;return this.currentCodePoint===ne&&this.nextCodePoint===rt?(this._lastIntValue=this.currentCodePoint,this.advance(),this.onCharacter(M,this.index,ne),!0):!1}consumeInvalidBracedQuantifier(){return this.eatBracedQuantifier(!0)&&this.raise("Nothing to repeat"),!1}consumePatternCharacter(){const M=this.index,Y=this.currentCodePoint;return Y!==-1&&!rr(Y)?(this.advance(),this.onCharacter(M,this.index,Y),!0):!1}consumeExtendedPatternCharacter(){const M=this.index,Y=this.currentCodePoint;return Y!==-1&&Y!==Ce&&Y!==P&&Y!==ne&&Y!==ce&&Y!==G&&Y!==B&&Y!==xe&&Y!==N&&Y!==_&&Y!==V&&Y!==Ke?(this.advance(),this.onCharacter(M,this.index,Y),!0):!1}consumeGroupSpecifier(){const M=this.index;if(this.eat(xe)){if(this.eatGroupName()){if(!this._groupSpecifiers.hasInScope(this._lastStrValue))return this._groupSpecifiers.addToScope(this._lastStrValue),!0;this.raise("Duplicate capture group name")}this.rewind(M)}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 M=this.index;if(this.eatDecimalEscape()){const Y=this._lastIntValue;if(Y<=this._numCapturingParens)return this.onBackreference(M-1,this.index,Y),!0;(this.strict||this._unicodeMode)&&this.raise("Invalid escape"),this.rewind(M)}return!1}consumeCharacterClassEscape(){var M;const Y=this.index;if(this.eat(ze))return this._lastIntValue=-1,this.onEscapeCharacterSet(Y-1,this.index,"digit",!1),{};if(this.eat(ke))return this._lastIntValue=-1,this.onEscapeCharacterSet(Y-1,this.index,"digit",!0),{};if(this.eat(Pe))return this._lastIntValue=-1,this.onEscapeCharacterSet(Y-1,this.index,"space",!1),{};if(this.eat(Ie))return this._lastIntValue=-1,this.onEscapeCharacterSet(Y-1,this.index,"space",!0),{};if(this.eat(fe))return this._lastIntValue=-1,this.onEscapeCharacterSet(Y-1,this.index,"word",!1),{};if(this.eat(Ne))return this._lastIntValue=-1,this.onEscapeCharacterSet(Y-1,this.index,"word",!0),{};let he=!1;if(this._unicodeMode&&this.ecmaVersion>=2018&&(this.eat(Ee)||(he=this.eat(ae)))){this._lastIntValue=-1;let je=null;if(this.eat(_e)&&(je=this.eatUnicodePropertyValueExpression())&&this.eat(Je))return he&&je.strings&&this.raise("Invalid property name"),this.onUnicodePropertyCharacterSet(Y-1,this.index,"property",je.key,je.value,he,(M=je.strings)!==null&&M!==void 0?M:!1),{mayContainStrings:je.strings};this.raise("Invalid property name")}return null}consumeCharacterEscape(){const M=this.index;return this.eatControlEscape()||this.eatCControlLetter()||this.eatZero()||this.eatHexEscapeSequence()||this.eatRegExpUnicodeEscapeSequence()||!this.strict&&!this._unicodeMode&&this.eatLegacyOctalEscapeSequence()||this.eatIdentityEscape()?(this.onCharacter(M-1,this.index,this._lastIntValue),!0):!1}consumeKGroupName(){const M=this.index;if(this.eat(at)){if(this.eatGroupName()){const Y=this._lastStrValue;return this._backreferenceNames.add(Y),this.onBackreference(M-1,this.index,Y),!0}this.raise("Invalid named reference")}return!1}consumeCharacterClass(){const M=this.index;if(this.eat(V)){const Y=this.eat(Ce);this.onCharacterClassEnter(M,Y,this._unicodeSetsMode);const he=this.consumeClassContents();return this.eat(ue)||(this.currentCodePoint===-1&&this.raise("Unterminated character class"),this.raise("Invalid character in character class")),Y&&he.mayContainStrings&&this.raise("Negated character class may contain strings"),this.onCharacterClassLeave(M,this.index,Y),he}return null}consumeClassContents(){if(this._unicodeSetsMode)return this.currentCodePoint===ue?{}:this.consumeClassSetExpression();const M=this.strict||this._unicodeMode;for(;;){const Y=this.index;if(!this.consumeClassAtom())break;const he=this._lastIntValue;if(!this.eat(H))continue;if(this.onCharacter(this.index-1,this.index,H),!this.consumeClassAtom())break;const je=this._lastIntValue;if(he===-1||je===-1){M&&this.raise("Invalid character class");continue}he>je&&this.raise("Range out of order in character class"),this.onCharacterClassRange(Y,this.index,he,je)}return{}}consumeClassAtom(){const M=this.index,Y=this.currentCodePoint;if(Y!==-1&&Y!==ne&&Y!==ue)return this.advance(),this._lastIntValue=Y,this.onCharacter(M,this.index,this._lastIntValue),!0;if(this.eat(ne)){if(this.consumeClassEscape())return!0;if(!this.strict&&this.currentCodePoint===rt)return this._lastIntValue=ne,this.onCharacter(M,this.index,this._lastIntValue),!0;(this.strict||this._unicodeMode)&&this.raise("Invalid escape"),this.rewind(M)}return!1}consumeClassEscape(){const M=this.index;if(this.eat(ut))return this._lastIntValue=v,this.onCharacter(M-1,this.index,this._lastIntValue),!0;if(this._unicodeMode&&this.eat(H))return this._lastIntValue=H,this.onCharacter(M-1,this.index,this._lastIntValue),!0;let Y=0;return!this.strict&&!this._unicodeMode&&this.currentCodePoint===rt&&(lt(Y=this.nextCodePoint)||Y===j)?(this.advance(),this.advance(),this._lastIntValue=Y%32,this.onCharacter(M-1,this.index,this._lastIntValue),!0):!!this.consumeCharacterClassEscape()||this.consumeCharacterEscape()}consumeClassSetExpression(){const M=this.index;let Y=!1,he=null;if(this.consumeClassSetCharacter()){if(this.consumeClassSetRangeFromOperator(M))return this.consumeClassUnionRight({}),{};Y=!1}else if(he=this.consumeClassSetOperand())Y=he.mayContainStrings;else{const je=this.currentCodePoint;je===ne&&(this.advance(),this.raise("Invalid escape")),je===this.nextCodePoint&&fr(je)&&this.raise("Invalid set operation in character class"),this.raise("Invalid character in character class")}if(this.eat2(q,q)){for(;this.currentCodePoint!==q&&(he=this.consumeClassSetOperand());)if(this.onClassIntersection(M,this.index),he.mayContainStrings||(Y=!1),!this.eat2(q,q))return{mayContainStrings:Y};this.raise("Invalid character in character class")}if(this.eat2(H,H)){for(;this.consumeClassSetOperand();)if(this.onClassSubtraction(M,this.index),!this.eat2(H,H))return{mayContainStrings:Y};this.raise("Invalid character in character class")}return this.consumeClassUnionRight({mayContainStrings:Y})}consumeClassUnionRight(M){let Y=M.mayContainStrings;for(;;){const he=this.index;if(this.consumeClassSetCharacter()){this.consumeClassSetRangeFromOperator(he);continue}const je=this.consumeClassSetOperand();if(je){je.mayContainStrings&&(Y=!0);continue}break}return{mayContainStrings:Y}}consumeClassSetRangeFromOperator(M){const Y=this.index,he=this._lastIntValue;if(this.eat(H)){if(this.consumeClassSetCharacter()){const je=this._lastIntValue;return(he===-1||je===-1)&&this.raise("Invalid character class"),he>je&&this.raise("Range out of order in character class"),this.onCharacterClassRange(M,this.index,he,je),!0}this.rewind(Y)}return!1}consumeClassSetOperand(){let M=null;return(M=this.consumeNestedClass())||(M=this.consumeClassStringDisjunction())?M:this.consumeClassSetCharacter()?{}:null}consumeNestedClass(){const M=this.index;if(this.eat(V)){const Y=this.eat(Ce);this.onCharacterClassEnter(M,Y,!0);const he=this.consumeClassContents();return this.eat(ue)||this.raise("Unterminated character class"),Y&&he.mayContainStrings&&this.raise("Negated character class may contain strings"),this.onCharacterClassLeave(M,this.index,Y),he}if(this.eat(ne)){const Y=this.consumeCharacterClassEscape();if(Y)return Y;this.rewind(M)}return null}consumeClassStringDisjunction(){const M=this.index;if(this.eat3(ne,Se,_e)){this.onClassStringDisjunctionEnter(M);let Y=0,he=!1;do this.consumeClassString(Y++).mayContainStrings&&(he=!0);while(this.eat(Ke));if(this.eat(Je))return this.onClassStringDisjunctionLeave(M,this.index),{mayContainStrings:he};this.raise("Unterminated class string disjunction")}return null}consumeClassString(M){const Y=this.index;let he=0;for(this.onStringAlternativeEnter(Y,M);this.currentCodePoint!==-1&&this.consumeClassSetCharacter();)he++;return this.onStringAlternativeLeave(Y,this.index,M),{mayContainStrings:he!==1}}consumeClassSetCharacter(){const M=this.index,Y=this.currentCodePoint;if((Y!==this.nextCodePoint||!fr(Y))&&Y!==-1&&!br(Y))return this._lastIntValue=Y,this.advance(),this.onCharacter(M,this.index,this._lastIntValue),!0;if(this.eat(ne)){if(this.consumeCharacterEscape())return!0;if(Zt(this.currentCodePoint))return this._lastIntValue=this.currentCodePoint,this.advance(),this.onCharacter(M,this.index,this._lastIntValue),!0;if(this.eat(ut))return this._lastIntValue=v,this.onCharacter(M,this.index,this._lastIntValue),!0;this.rewind(M)}return!1}eatGroupName(){if(this.eat(se)){if(this.eatRegExpIdentifierName()&&this.eat(be))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 M=this.index,Y=!this._unicodeMode&&this.ecmaVersion>=2020;let he=this.currentCodePoint;return this.advance(),he===ne&&this.eatRegExpUnicodeEscapeSequence(Y)?he=this._lastIntValue:Y&&vt(he)&&Ct(this.currentCodePoint)&&(he=xt(he,this.currentCodePoint),this.advance()),Wt(he)?(this._lastIntValue=he,!0):(this.index!==M&&this.rewind(M),!1)}eatRegExpIdentifierPart(){const M=this.index,Y=!this._unicodeMode&&this.ecmaVersion>=2020;let he=this.currentCodePoint;return this.advance(),he===ne&&this.eatRegExpUnicodeEscapeSequence(Y)?he=this._lastIntValue:Y&&vt(he)&&Ct(this.currentCodePoint)&&(he=xt(he,this.currentCodePoint),this.advance()),jt(he)?(this._lastIntValue=he,!0):(this.index!==M&&this.rewind(M),!1)}eatCControlLetter(){const M=this.index;if(this.eat(rt)){if(this.eatControlLetter())return!0;this.rewind(M)}return!1}eatZero(){return this.currentCodePoint===Fe&&!lt(this.nextCodePoint)?(this._lastIntValue=0,this.advance(),!0):!1}eatControlEscape(){return this.eat(Xe)?(this._lastIntValue=k,!0):this.eat(we)?(this._lastIntValue=b,!0):this.eat(ve)?(this._lastIntValue=R,!0):this.eat(ee)?(this._lastIntValue=A,!0):this.eat(Z)?(this._lastIntValue=w,!0):!1}eatControlLetter(){const M=this.currentCodePoint;return Ze(M)?(this.advance(),this._lastIntValue=M%32,!0):!1}eatRegExpUnicodeEscapeSequence(M=!1){const Y=this.index,he=M||this._unicodeMode;if(this.eat(te)){if(he&&this.eatRegExpUnicodeSurrogatePairEscape()||this.eatFixedHexDigits(4)||he&&this.eatRegExpUnicodeCodePointEscape())return!0;(this.strict||he)&&this.raise("Invalid unicode escape"),this.rewind(Y)}return!1}eatRegExpUnicodeSurrogatePairEscape(){const M=this.index;if(this.eatFixedHexDigits(4)){const Y=this._lastIntValue;if(vt(Y)&&this.eat(ne)&&this.eat(te)&&this.eatFixedHexDigits(4)){const he=this._lastIntValue;if(Ct(he))return this._lastIntValue=xt(Y,he),!0}this.rewind(M)}return!1}eatRegExpUnicodeCodePointEscape(){const M=this.index;return this.eat(_e)&&this.eatHexDigits()&&this.eat(Je)&&yt(this._lastIntValue)?!0:(this.rewind(M),!1)}eatIdentityEscape(){const M=this.currentCodePoint;return this.isValidIdentityEscape(M)?(this._lastIntValue=M,this.advance(),!0):!1}isValidIdentityEscape(M){return M===-1?!1:this._unicodeMode?rr(M)||M===re:this.strict?!l(M):this._nFlag?!(M===rt||M===at):M!==rt}eatDecimalEscape(){this._lastIntValue=0;let M=this.currentCodePoint;if(M>=X&&M<=W){do this._lastIntValue=10*this._lastIntValue+(M-Fe),this.advance();while((M=this.currentCodePoint)>=Fe&&M<=W);return!0}return!1}eatUnicodePropertyValueExpression(){const M=this.index;if(this.eatUnicodePropertyName()&&this.eat(de)){const Y=this._lastStrValue;if(this.eatUnicodePropertyValue()){const he=this._lastStrValue;if(x(this.ecmaVersion,Y,he))return{key:Y,value:he||null};this.raise("Invalid property name")}}if(this.rewind(M),this.eatLoneUnicodePropertyNameOrValue()){const Y=this._lastStrValue;if(x(this.ecmaVersion,"General_Category",Y))return{key:"General_Category",value:Y||null};if(T(this.ecmaVersion,Y))return{key:Y,value:null};if(this._unicodeSetsMode&&C(this.ecmaVersion,Y))return{key:Y,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="";Mr(this.currentCodePoint);)this._lastStrValue+=String.fromCodePoint(this.currentCodePoint),this.advance();return this._lastStrValue!==""}eatLoneUnicodePropertyNameOrValue(){return this.eatUnicodePropertyValue()}eatHexEscapeSequence(){const M=this.index;if(this.eat(De)){if(this.eatFixedHexDigits(2))return!0;(this._unicodeMode||this.strict)&&this.raise("Invalid escape"),this.rewind(M)}return!1}eatDecimalDigits(){const M=this.index;for(this._lastIntValue=0;lt(this.currentCodePoint);)this._lastIntValue=10*this._lastIntValue+pt(this.currentCodePoint),this.advance();return this.index!==M}eatHexDigits(){const M=this.index;for(this._lastIntValue=0;st(this.currentCodePoint);)this._lastIntValue=16*this._lastIntValue+pt(this.currentCodePoint),this.advance();return this.index!==M}eatLegacyOctalEscapeSequence(){if(this.eatOctalDigit()){const M=this._lastIntValue;if(this.eatOctalDigit()){const Y=this._lastIntValue;M<=3&&this.eatOctalDigit()?this._lastIntValue=M*64+Y*8+this._lastIntValue:this._lastIntValue=M*8+Y}else this._lastIntValue=M;return!0}return!1}eatOctalDigit(){const M=this.currentCodePoint;return Ye(M)?(this.advance(),this._lastIntValue=M-Fe,!0):(this._lastIntValue=0,!1)}eatFixedHexDigits(M){const Y=this.index;this._lastIntValue=0;for(let he=0;he<M;++he){const je=this.currentCodePoint;if(!st(je))return this.rewind(Y),!1;this._lastIntValue=16*this._lastIntValue+pt(je),this.advance()}return!0}eatModifiers(){let M=!1;for(;jr(this.currentCodePoint);)this.advance(),M=!0;return M}parseModifiers(M,Y){const{ignoreCase:he,multiline:je,dotAll:y}=this.parseFlags(this._reader.source,M,Y);return{ignoreCase:he,multiline:je,dotAll:y}}parseFlags(M,Y,he){const je={global:!1,ignoreCase:!1,multiline:!1,unicode:!1,sticky:!1,dotAll:!1,hasIndices:!1,unicodeSets:!1},y=new Set;y.add(ht),y.add(dt),y.add(tt),this.ecmaVersion>=2015&&(y.add(te),y.add(Le),this.ecmaVersion>=2018&&(y.add(Pe),this.ecmaVersion>=2022&&(y.add(ze),this.ecmaVersion>=2024&&y.add(Z))));for(let D=Y;D<he;++D){const U=M.charCodeAt(D);if(y.has(U)){const K=cr[U];je[K]&&this.raise(`Duplicated flag '${M[D]}'`,{index:Y}),je[K]=!0}else this.raise(`Invalid flag '${M[D]}'`,{index:Y})}return je}}const an={},on={},dr={};function gr(We){return We.type==="Character"||We.type==="CharacterSet"||We.type==="CharacterClass"||We.type==="ExpressionCharacterClass"||We.type==="ClassStringDisjunction"}class Ur{constructor(M){var Y;this._node=an,this._expressionBufferMap=new Map,this._flags=on,this._backreferences=[],this._capturingGroups=[],this.source="",this.strict=!!M?.strict,this.ecmaVersion=(Y=M?.ecmaVersion)!==null&&Y!==void 0?Y: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(M,Y,{global:he,ignoreCase:je,multiline:y,unicode:D,sticky:U,dotAll:K,hasIndices:ge,unicodeSets:Ve}){this._flags={type:"Flags",parent:null,start:M,end:Y,raw:this.source.slice(M,Y),global:he,ignoreCase:je,multiline:y,unicode:D,sticky:U,dotAll:K,hasIndices:ge,unicodeSets:Ve}}onPatternEnter(M){this._node={type:"Pattern",parent:null,start:M,end:M,raw:"",alternatives:[]},this._backreferences.length=0,this._capturingGroups.length=0}onPatternLeave(M,Y){this._node.end=Y,this._node.raw=this.source.slice(M,Y);for(const he of this._backreferences){const je=he.ref,y=typeof je=="number"?[this._capturingGroups[je-1]]:this._capturingGroups.filter(D=>D.name===je);if(y.length===1){const D=y[0];he.ambiguous=!1,he.resolved=D}else he.ambiguous=!0,he.resolved=y;for(const D of y)D.references.push(he)}}onAlternativeEnter(M){const Y=this._node;if(Y.type!=="Assertion"&&Y.type!=="CapturingGroup"&&Y.type!=="Group"&&Y.type!=="Pattern")throw new Error("UnknownError");this._node={type:"Alternative",parent:Y,start:M,end:M,raw:"",elements:[]},Y.alternatives.push(this._node)}onAlternativeLeave(M,Y){const he=this._node;if(he.type!=="Alternative")throw new Error("UnknownError");he.end=Y,he.raw=this.source.slice(M,Y),this._node=he.parent}onGroupEnter(M){const Y=this._node;if(Y.type!=="Alternative")throw new Error("UnknownError");const he={type:"Group",parent:Y,start:M,end:M,raw:"",modifiers:null,alternatives:[]};this._node=he,Y.elements.push(this._node)}onGroupLeave(M,Y){const he=this._node;if(he.type!=="Group"||he.parent.type!=="Alternative")throw new Error("UnknownError");he.end=Y,he.raw=this.source.slice(M,Y),this._node=he.parent}onModifiersEnter(M){const Y=this._node;if(Y.type!=="Group")throw new Error("UnknownError");this._node={type:"Modifiers",parent:Y,start:M,end:M,raw:"",add:null,remove:null},Y.modifiers=this._node}onModifiersLeave(M,Y){const he=this._node;if(he.type!=="Modifiers"||he.parent.type!=="Group")throw new Error("UnknownError");he.end=Y,he.raw=this.source.slice(M,Y),this._node=he.parent}onAddModifiers(M,Y,{ignoreCase:he,multiline:je,dotAll:y}){const D=this._node;if(D.type!=="Modifiers")throw new Error("UnknownError");D.add={type:"ModifierFlags",parent:D,start:M,end:Y,raw:this.source.slice(M,Y),ignoreCase:he,multiline:je,dotAll:y}}onRemoveModifiers(M,Y,{ignoreCase:he,multiline:je,dotAll:y}){const D=this._node;if(D.type!=="Modifiers")throw new Error("UnknownError");D.remove={type:"ModifierFlags",parent:D,start:M,end:Y,raw:this.source.slice(M,Y),ignoreCase:he,multiline:je,dotAll:y}}onCapturingGroupEnter(M,Y){const he=this._node;if(he.type!=="Alternative")throw new Error("UnknownError");this._node={type:"CapturingGroup",parent:he,start:M,end:M,raw:"",name:Y,alternatives:[],references:[]},he.elements.push(this._node),this._capturingGroups.push(this._node)}onCapturingGroupLeave(M,Y){const he=this._node;if(he.type!=="CapturingGroup"||he.parent.type!=="Alternative")throw new Error("UnknownError");he.end=Y,he.raw=this.source.slice(M,Y),this._node=he.parent}onQuantifier(M,Y,he,je,y){const D=this._node;if(D.type!=="Alternative")throw new Error("UnknownError");const U=D.elements.pop();if(U==null||U.type==="Quantifier"||U.type==="Assertion"&&U.kind!=="lookahead")throw new Error("UnknownError");const K={type:"Quantifier",parent:D,start:U.start,end:Y,raw:this.source.slice(U.start,Y),min:he,max:je,greedy:y,element:U};D.elements.push(K),U.parent=K}onLookaroundAssertionEnter(M,Y,he){const je=this._node;if(je.type!=="Alternative")throw new Error("UnknownError");const y=this._node={type:"Assertion",parent:je,start:M,end:M,raw:"",kind:Y,negate:he,alternatives:[]};je.elements.push(y)}onLookaroundAssertionLeave(M,Y){const he=this._node;if(he.type!=="Assertion"||he.parent.type!=="Alternative")throw new Error("UnknownError");he.end=Y,he.raw=this.source.slice(M,Y),this._node=he.parent}onEdgeAssertion(M,Y,he){const je=this._node;if(je.type!=="Alternative")throw new Error("UnknownError");je.elements.push({type:"Assertion",parent:je,start:M,end:Y,raw:this.source.slice(M,Y),kind:he})}onWordBoundaryAssertion(M,Y,he,je){const y=this._node;if(y.type!=="Alternative")throw new Error("UnknownError");y.elements.push({type:"Assertion",parent:y,start:M,end:Y,raw:this.source.slice(M,Y),kind:he,negate:je})}onAnyCharacterSet(M,Y,he){const je=this._node;if(je.type!=="Alternative")throw new Error("UnknownError");je.elements.push({type:"CharacterSet",parent:je,start:M,end:Y,raw:this.source.slice(M,Y),kind:he})}onEscapeCharacterSet(M,Y,he,je){const y=this._node;if(y.type!=="Alternative"&&y.type!=="CharacterClass")throw new Error("UnknownError");y.elements.push({type:"CharacterSet",parent:y,start:M,end:Y,raw:this.source.slice(M,Y),kind:he,negate:je})}onUnicodePropertyCharacterSet(M,Y,he,je,y,D,U){const K=this._node;if(K.type!=="Alternative"&&K.type!=="CharacterClass")throw new Error("UnknownError");const ge={type:"CharacterSet",parent:null,start:M,end:Y,raw:this.source.slice(M,Y),kind:he,strings:null,key:je};if(U){if(K.type==="CharacterClass"&&!K.unicodeSets||D||y!==null)throw new Error("UnknownError");K.elements.push(Object.assign(Object.assign({},ge),{parent:K,strings:U,value:y,negate:D}))}else K.elements.push(Object.assign(Object.assign({},ge),{parent:K,strings:U,value:y,negate:D}))}onCharacter(M,Y,he){const je=this._node;if(je.type!=="Alternative"&&je.type!=="CharacterClass"&&je.type!=="StringAlternative")throw new Error("UnknownError");je.elements.push({type:"Character",parent:je,start:M,end:Y,raw:this.source.slice(M,Y),value:he})}onBackreference(M,Y,he){const je=this._node;if(je.type!=="Alternative")throw new Error("UnknownError");const y={type:"Backreference",parent:je,start:M,end:Y,raw:this.source.slice(M,Y),ref:he,ambiguous:!1,resolved:dr};je.elements.push(y),this._backreferences.push(y)}onCharacterClassEnter(M,Y,he){const je=this._node,y={type:"CharacterClass",parent:je,start:M,end:M,raw:"",unicodeSets:he,negate:Y,elements:[]};if(je.type==="Alternative"){const D=Object.assign(Object.assign({},y),{parent:je});this._node=D,je.elements.push(D)}else if(je.type==="CharacterClass"&&je.unicodeSets&&he){const D=Object.assign(Object.assign({},y),{parent:je,unicodeSets:he});this._node=D,je.elements.push(D)}else throw new Error("UnknownError")}onCharacterClassLeave(M,Y){const he=this._node;if(he.type!=="CharacterClass"||he.parent.type!=="Alternative"&&he.parent.type!=="CharacterClass")throw new Error("UnknownError");const je=he.parent;he.end=Y,he.raw=this.source.slice(M,Y),this._node=je;const y=this._expressionBufferMap.get(he);if(!y)return;if(he.elements.length>0)throw new Error("UnknownError");this._expressionBufferMap.delete(he);const D={type:"ExpressionCharacterClass",parent:je,start:he.start,end:he.end,raw:he.raw,negate:he.negate,expression:y};if(y.parent=D,he!==je.elements.pop())throw new Error("UnknownError");je.elements.push(D)}onCharacterClassRange(M,Y){const he=this._node;if(he.type!=="CharacterClass")throw new Error("UnknownError");const je=he.elements,y=je.pop();if(!y||y.type!=="Character")throw new Error("UnknownError");if(!he.unicodeSets){const K=je.pop();if(!K||K.type!=="Character"||K.value!==H)throw new Error("UnknownError")}const D=je.pop();if(!D||D.type!=="Character")throw new Error("UnknownError");const U={type:"CharacterClassRange",parent:he,start:M,end:Y,raw:this.source.slice(M,Y),min:D,max:y};D.parent=U,y.parent=U,je.push(U)}onClassIntersection(M,Y){var he;const je=this._node;if(je.type!=="CharacterClass"||!je.unicodeSets)throw new Error("UnknownError");const y=je.elements.pop(),D=(he=this._expressionBufferMap.get(je))!==null&&he!==void 0?he:je.elements.pop();if(!D||!y||D.type==="ClassSubtraction"||D.type!=="ClassIntersection"&&!gr(D)||!gr(y))throw new Error("UnknownError");const U={type:"ClassIntersection",parent:je,start:M,end:Y,raw:this.source.slice(M,Y),left:D,right:y};D.parent=U,y.parent=U,this._expressionBufferMap.set(je,U)}onClassSubtraction(M,Y){var he;const je=this._node;if(je.type!=="CharacterClass"||!je.unicodeSets)throw new Error("UnknownError");const y=je.elements.pop(),D=(he=this._expressionBufferMap.get(je))!==null&&he!==void 0?he:je.elements.pop();if(!D||!y||D.type==="ClassIntersection"||D.type!=="ClassSubtraction"&&!gr(D)||!gr(y))throw new Error("UnknownError");const U={type:"ClassSubtraction",parent:je,start:M,end:Y,raw:this.source.slice(M,Y),left:D,right:y};D.parent=U,y.parent=U,this._expressionBufferMap.set(je,U)}onClassStringDisjunctionEnter(M){const Y=this._node;if(Y.type!=="CharacterClass"||!Y.unicodeSets)throw new Error("UnknownError");this._node={type:"ClassStringDisjunction",parent:Y,start:M,end:M,raw:"",alternatives:[]},Y.elements.push(this._node)}onClassStringDisjunctionLeave(M,Y){const he=this._node;if(he.type!=="ClassStringDisjunction"||he.parent.type!=="CharacterClass")throw new Error("UnknownError");he.end=Y,he.raw=this.source.slice(M,Y),this._node=he.parent}onStringAlternativeEnter(M){const Y=this._node;if(Y.type!=="ClassStringDisjunction")throw new Error("UnknownError");this._node={type:"StringAlternative",parent:Y,start:M,end:M,raw:"",elements:[]},Y.alternatives.push(this._node)}onStringAlternativeLeave(M,Y){const he=this._node;if(he.type!=="StringAlternative")throw new Error("UnknownError");he.end=Y,he.raw=this.source.slice(M,Y),this._node=he.parent}}class Rr{constructor(M){this._state=new Ur(M),this._validator=new Fr(this._state)}parseLiteral(M,Y=0,he=M.length){this._state.source=M,this._validator.validateLiteral(M,Y,he);const je=this._state.pattern,y=this._state.flags,D={type:"RegExpLiteral",parent:null,start:Y,end:he,raw:M,pattern:je,flags:y};return je.parent=D,y.parent=D,D}parseFlags(M,Y=0,he=M.length){return this._state.source=M,this._validator.validateFlags(M,Y,he),this._state.flags}parsePattern(M,Y=0,he=M.length,je=void 0){return this._state.source=M,this._validator.validatePattern(M,Y,he,je),this._state.pattern}}class pr{constructor(M){this._handlers=M}visit(M){switch(M.type){case"Alternative":this.visitAlternative(M);break;case"Assertion":this.visitAssertion(M);break;case"Backreference":this.visitBackreference(M);break;case"CapturingGroup":this.visitCapturingGroup(M);break;case"Character":this.visitCharacter(M);break;case"CharacterClass":this.visitCharacterClass(M);break;case"CharacterClassRange":this.visitCharacterClassRange(M);break;case"CharacterSet":this.visitCharacterSet(M);break;case"ClassIntersection":this.visitClassIntersection(M);break;case"ClassStringDisjunction":this.visitClassStringDisjunction(M);break;case"ClassSubtraction":this.visitClassSubtraction(M);break;case"ExpressionCharacterClass":this.visitExpressionCharacterClass(M);break;case"Flags":this.visitFlags(M);break;case"Group":this.visitGroup(M);break;case"Modifiers":this.visitModifiers(M);break;case"ModifierFlags":this.visitModifierFlags(M);break;case"Pattern":this.visitPattern(M);break;case"Quantifier":this.visitQuantifier(M);break;case"RegExpLiteral":this.visitRegExpLiteral(M);break;case"StringAlternative":this.visitStringAlternative(M);break;default:throw new Error(`Unknown type: ${M.type}`)}}visitAlternative(M){this._handlers.onAlternativeEnter&&this._handlers.onAlternativeEnter(M),M.elements.forEach(this.visit,this),this._handlers.onAlternativeLeave&&this._handlers.onAlternativeLeave(M)}visitAssertion(M){this._handlers.onAssertionEnter&&this._handlers.onAssertionEnter(M),(M.kind==="lookahead"||M.kind==="lookbehind")&&M.alternatives.forEach(this.visit,this),this._handlers.onAssertionLeave&&this._handlers.onAssertionLeave(M)}visitBackreference(M){this._handlers.onBackreferenceEnter&&this._handlers.onBackreferenceEnter(M),this._handlers.onBackreferenceLeave&&this._handlers.onBackreferenceLeave(M)}visitCapturingGroup(M){this._handlers.onCapturingGroupEnter&&this._handlers.onCapturingGroupEnter(M),M.alternatives.forEach(this.visit,this),this._handlers.onCapturingGroupLeave&&this._handlers.onCapturingGroupLeave(M)}visitCharacter(M){this._handlers.onCharacterEnter&&this._handlers.onCharacterEnter(M),this._handlers.onCharacterLeave&&this._handlers.onCharacterLeave(M)}visitCharacterClass(M){this._handlers.onCharacterClassEnter&&this._handlers.onCharacterClassEnter(M),M.elements.forEach(this.visit,this),this._handlers.onCharacterClassLeave&&this._handlers.onCharacterClassLeave(M)}visitCharacterClassRange(M){this._handlers.onCharacterClassRangeEnter&&this._handlers.onCharacterClassRangeEnter(M),this.visitCharacter(M.min),this.visitCharacter(M.max),this._handlers.onCharacterClassRangeLeave&&this._handlers.onCharacterClassRangeLeave(M)}visitCharacterSet(M){this._handlers.onCharacterSetEnter&&this._handlers.onCharacterSetEnter(M),this._handlers.onCharacterSetLeave&&this._handlers.onCharacterSetLeave(M)}visitClassIntersection(M){this._handlers.onClassIntersectionEnter&&this._handlers.onClassIntersectionEnter(M),this.visit(M.left),this.visit(M.right),this._handlers.onClassIntersectionLeave&&this._handlers.onClassIntersectionLeave(M)}visitClassStringDisjunction(M){this._handlers.onClassStringDisjunctionEnter&&this._handlers.onClassStringDisjunctionEnter(M),M.alternatives.forEach(this.visit,this),this._handlers.onClassStringDisjunctionLeave&&this._handlers.onClassStringDisjunctionLeave(M)}visitClassSubtraction(M){this._handlers.onClassSubtractionEnter&&this._handlers.onClassSubtractionEnter(M),this.visit(M.left),this.visit(M.right),this._handlers.onClassSubtractionLeave&&this._handlers.onClassSubtractionLeave(M)}visitExpressionCharacterClass(M){this._handlers.onExpressionCharacterClassEnter&&this._handlers.onExpressionCharacterClassEnter(M),this.visit(M.expression),this._handlers.onExpressionCharacterClassLeave&&this._handlers.onExpressionCharacterClassLeave(M)}visitFlags(M){this._handlers.onFlagsEnter&&this._handlers.onFlagsEnter(M),this._handlers.onFlagsLeave&&this._handlers.onFlagsLeave(M)}visitGroup(M){this._handlers.onGroupEnter&&this._handlers.onGroupEnter(M),M.modifiers&&this.visit(M.modifiers),M.alternatives.forEach(this.visit,this),this._handlers.onGroupLeave&&this._handlers.onGroupLeave(M)}visitModifiers(M){this._handlers.onModifiersEnter&&this._handlers.onModifiersEnter(M),M.add&&this.visit(M.add),M.remove&&this.visit(M.remove),this._handlers.onModifiersLeave&&this._handlers.onModifiersLeave(M)}visitModifierFlags(M){this._handlers.onModifierFlagsEnter&&this._handlers.onModifierFlagsEnter(M),this._handlers.onModifierFlagsLeave&&this._handlers.onModifierFlagsLeave(M)}visitPattern(M){this._handlers.onPatternEnter&&this._handlers.onPatternEnter(M),M.alternatives.forEach(this.visit,this),this._handlers.onPatternLeave&&this._handlers.onPatternLeave(M)}visitQuantifier(M){this._handlers.onQuantifierEnter&&this._handlers.onQuantifierEnter(M),this.visit(M.element),this._handlers.onQuantifierLeave&&this._handlers.onQuantifierLeave(M)}visitRegExpLiteral(M){this._handlers.onRegExpLiteralEnter&&this._handlers.onRegExpLiteralEnter(M),this.visitPattern(M.pattern),this.visitFlags(M.flags),this._handlers.onRegExpLiteralLeave&&this._handlers.onRegExpLiteralLeave(M)}visitStringAlternative(M){this._handlers.onStringAlternativeEnter&&this._handlers.onStringAlternativeEnter(M),M.elements.forEach(this.visit,this),this._handlers.onStringAlternativeLeave&&this._handlers.onStringAlternativeLeave(M)}}function bt(We,M){return new Rr(M).parseLiteral(String(We))}function ln(We,M){new Fr(M).validateLiteral(We)}function qr(We,M){new pr(M).visit(We)}return lr.AST=a,lr.RegExpParser=Rr,lr.RegExpSyntaxError=$t,lr.RegExpValidator=Fr,lr.parseRegExpLiteral=bt,lr.validateRegExpLiteral=ln,lr.visitRegExpAST=qr,lr}var nl,qy;function oT(){if(qy)return nl;qy=1;const a=ur().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"),l=typeof o=="string"&&o.includes("v");this._controlChars=[],this._source=n;try{this._validator.validatePattern(n,void 0,void 0,{unicode:t,unicodeSets:l})}catch{}return this._controlChars}};return nl={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 l=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:l,flags:p}}return null}return{Literal(t){const l=o(t);if(l){const{pattern:p,flags:u}=l,r=e.collectControlChars(p,u);r.length>0&&n.report({node:t,messageId:"unexpected",data:{controlChars:r.join(", ")}})}}}}},nl}var sl,Vy;function lT(){return Vy||(Vy=1,sl={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"})}}}}),sl}var al,$y;function uT(){return $y||($y=1,al={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"})}}}}),al}var il,Wy;function cT(){return Wy||(Wy=1,il={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],"[=]")}})}}}}),il}var ol,Gy;function fT(){return Gy||(Gy=1,ol={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 l=e.getDeclaredVariables(t);for(let p=0;p<l.length;++p){const u=l[p];u.defs.filter(n).length>=2&&a.report({node:t,messageId:"unexpected",data:{name:u.name}})}}return{FunctionDeclaration:o,FunctionExpression:o}}}),ol}var ll,zy;function pT(){if(zy)return ll;zy=1;const a=Ue();return ll={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,l){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][l?"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 l=a.getStaticPropertyName(t),p=t.type==="MethodDefinition"?t.kind:"field";if(l===null||p==="constructor")return;const u=o(l,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:l}})}}}},ll}var ul,Hy;function mT(){if(Hy)return ul;Hy=1;const a=Ue();function e(l,p,u){return p.every(r=>u.some(m=>l(r,m)))}function n(l,p){return p.type==="LogicalExpression"&&p.operator===l?[...n(l,p.left),...n(l,p.right)]:[p]}const o=n.bind(null,"||"),t=n.bind(null,"&&");return ul={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(l){const p=l.sourceCode;function u(m,i){return m.type!==i.type?!1:m.type==="LogicalExpression"&&(m.operator==="||"||m.operator==="&&")&&m.operator===i.operator?u(m.left,i.left)&&u(m.right,i.right)||u(m.left,i.right)&&u(m.right,i.left):a.equalTokens(m,i,p)}const r=e.bind(null,u);return{IfStatement(m){const i=m.test,c=i.type==="LogicalExpression"&&i.operator==="&&"?[i,...t(i)]:[i];let h=m,s=c.map(f=>o(f).map(t));for(;h.parent&&h.parent.type==="IfStatement"&&h.parent.alternate===h;){h=h.parent;const f=o(h.test).map(t);if(s=s.map(g=>g.filter(d=>!f.some(E=>r(E,d)))),s.some(g=>g.length===0)){l.report({node:i,messageId:"unexpected"});break}}}}}},ul}var cl,Ky;function hT(){if(Ky)return cl;Ky=1;const a=Ue(),e=/^(?:init|get)$/u,n=/^(?:init|set)$/u;class o{constructor(l,p){this.upper=l,this.node=p,this.properties=new Map}getPropertyInfo(l){const p=a.getStaticPropertyName(l);return this.properties.has(p)||this.properties.set(p,{get:!1,set:!1}),this.properties.get(p)}isPropertyDefined(l){const p=this.getPropertyInfo(l);return e.test(l.kind)&&p.get||n.test(l.kind)&&p.set}defineProperty(l){const p=this.getPropertyInfo(l);e.test(l.kind)&&(p.get=!0),n.test(l.kind)&&(p.set=!0)}}return cl={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 l=null;return{ObjectExpression(p){l=new o(l,p)},"ObjectExpression:exit"(){l=l.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||(l.isPropertyDefined(p)&&t.report({node:l.node,loc:p.key.loc,messageId:"unexpected",data:{name:u}}),l.defineProperty(p)))}}}},cl}var fl,Xy;function dT(){if(Xy)return fl;Xy=1;const a=Ue();return fl={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,l){return t.type!==l.type?!1:a.equalTokens(t,l,n)}return{SwitchStatement(t){const l=[];for(const p of t.cases)if(p.test){const u=p.test;l.some(r=>o(r,u))?e.report({node:p,messageId:"unexpected"}):l.push(u)}}}}},fl}var pl,Jy;function gT(){if(Jy)return pl;Jy=1;const a=["ImportSpecifier","ExportSpecifier"],e=["ImportNamespaceSpecifier","ExportNamespaceSpecifier"];function n(i,c){return(c==="named"?a:e).includes(i)}function o(i){if(i.specifiers&&i.specifiers.length>0){const c=i.specifiers,h=c.findIndex(({type:f})=>n(f,"named")||n(f,"namespace")),s=h>-1?h:0;return c[s].type}return i.type==="ExportAllDeclaration"?i.exported?"ExportNamespaceSpecifier":"ExportAll":"SideEffectImport"}function t(i,c){const h=o(i),s=o(c);if((i.importKind==="type"||i.exportKind==="type")&&(c.importKind==="type"||c.exportKind==="type")){const f=h==="ImportDefaultSpecifier",g=s==="ImportDefaultSpecifier",d=n(h,"named"),E=n(s,"named");if(f&&E||g&&d)return!1}return!(h==="ExportAll"&&s!=="ExportAll"&&s!=="SideEffectImport"||h!=="ExportAll"&&h!=="SideEffectImport"&&s==="ExportAll"||n(h,"namespace")&&n(s,"named")||n(s,"namespace")&&n(h,"named"))}function l(i,c,h){let s=0;for(;s<c.length;){const f=c[s];if(h){const g=i.importKind==="type"||i.exportKind==="type",d=f.importKind==="type"||f.exportKind==="type";if(g!==d){s++;continue}}if(t(i,f))return!0;s++}return!1}function p(i,c){return i.filter(({declarationType:h})=>h===c).map(({node:h})=>h)}function u(i){return i&&i.source&&i.source.value?i.source.value.trim():""}function r(i,c,h,s,f,g){const d=u(c);if(h.has(d)){const E=h.get(d),S=[],x=p(E,"import");let T;f&&(T=p(E,"export")),s==="import"?(l(c,x,g)&&S.push("import"),f&&l(c,T,g)&&S.push("importAs")):s==="export"&&(l(c,T,g)&&S.push("export"),l(c,x,g)&&S.push("exportAs")),S.forEach(C=>i.report({node:c,messageId:C,data:{module:d}}))}}function m(i,c,h,s,f){return function(g){const d=u(g);if(d){r(i,g,c,h,s,f);const E={node:g,declarationType:h};let S=[E];c.has(d)&&(S=[...c.get(d),E]),c.set(d,S)}}}return pl={meta:{dialects:["javascript","typescript"],language:"javascript",type:"problem",defaultOptions:[{includeExports:!1,allowSeparateTypeImports:!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"},allowSeparateTypeImports:{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:c,allowSeparateTypeImports:h}]=i.options,s=new Map,f={ImportDeclaration:m(i,s,"import",c,h)};return c&&(f.ExportNamedDeclaration=m(i,s,"export",c,h),f.ExportAllDeclaration=m(i,s,"export",c,h)),f}},pl}var ml,Yy;function nn(){if(Yy)return ml;Yy=1;const a=Ue();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,l=this.sourceCode.getTokenAfter(o)||o;return this.retainRange([t.range[0],l.range[1]])}replaceTextRange(o,t){let l;return this.retainedRange?l=[Math.min(this.retainedRange[0],o[0]),Math.max(this.retainedRange[1],o[1])]:l=o,this.fixer.replaceTextRange(l,this.sourceCode.text.slice(l[0],o[0])+t+this.sourceCode.text.slice(o[1],l[1]))}remove(o){return this.replaceTextRange(o.range,"")}}return ml=e,ml}var hl,Qy;function yT(){if(Qy)return hl;Qy=1;const a=Ue(),e=nn();return hl={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 l(d,E){if(d.length===0)return!0;const S=E.variableScope;if(E.variables.filter(({defs:C})=>C.length>0).some(({name:C})=>d.includes(C))||E!==S&&E.upper.type==="catch"&&E.upper.variables.some(({name:C})=>d.includes(C))||E.variables.filter(({defs:C,references:v})=>C.length===0&&v.length>0).some(({name:C})=>d.includes(C))||E.through.some(C=>d.includes(C.identifier.name)))return!1;if(E!==S){const C=E.block.range;if(S.variables.filter(({name:A})=>d.includes(A)).some(A=>A.defs.some(({node:{range:b}})=>C[0]<=b[0]&&b[1]<=C[1])))return!1}return!0}function p(d,E){if(d.type==="FunctionDeclaration")return!1;if(d.type!=="BlockStatement")return!0;const S=E.childScopes.find(({block:T})=>T===d);if(!S)return!0;const x=S.variables.map(({name:T})=>T);return l(x,E)}function u(d){const E=t.getScope(d.parent);n.report({node:d,messageId:"unexpected",fix(S){if(!p(d,E))return null;const x=t.getFirstToken(d),T=t.getTokenBefore(x),C=t.getText(d),v=t.getTokenBefore(T);let A,b;x.type==="Punctuator"&&x.value==="{"?b=t.getTokenAfter(x):b=x;const w=d.parent.consequent.type!=="BlockStatement"&&v.value!==";",k=/^[([/+`-]/u.test(b.value);if(w&&k)return null;const R=t.getLastToken(d),F=t.getTokenBefore(R);if(F.value!==";"){const L=t.getTokenAfter(R),P=L&&/^[([/+`-]/u.test(L.value),O=L&&L.loc.start.line===F.loc.start.line;if(P||O&&L.value!=="}")return null}return x.type==="Punctuator"&&x.value==="{"?A=C.slice(1,-1):A=C,new e(S,t).retainEnclosingFunction(d).replaceTextRange([T.range[0],d.range[1]],A)}})}function r(d){return d.type==="ReturnStatement"}function m(d){if(d.type==="BlockStatement"){const E=d.body,S=E.at(-1);return S&&r(S)}return r(d)}function i(d){return d.alternate&&d.consequent}function c(d){return d.type==="IfStatement"&&i(d)&&m(d.alternate)&&m(d.consequent)}function h(d){return r(d)||c(d)}function s(d){return d.type==="BlockStatement"?d.body.some(h):h(d)}function f(d){const E=d.parent;if(!a.STATEMENT_LIST_PARENTS.has(E.type))return;const S=[];let x;for(let T=d;T.type==="IfStatement";T=T.alternate){if(!T.alternate)return;S.push(T.consequent),x=T.alternate}S.every(s)&&u(x)}function g(d){const E=d.parent;if(!a.STATEMENT_LIST_PARENTS.has(E.type))return;const S=d.alternate;S&&s(d.consequent)&&u(S)}return{"IfStatement:exit":o?f:g}}},hl}var dl,Zy;function vT(){if(Zy)return dl;Zy=1;const a=Ue();return dl={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(l){const p=[t.range[0]+1,t.range[1]-1];return l.replaceTextRange(p," /* empty */ ")}}]}))},SwitchStatement(t){(typeof t.cases>"u"||t.cases.length===0)&&e.report({node:t,messageId:"unexpected",data:{type:"switch"}})}}}},dl}var gl,ev;function ET(){if(ev)return gl;ev=1;const{RegExpParser:a,visitRegExpAST:e}=ur(),n=new a,o=/\[\]/u;return gl={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]"(l){const{pattern:p,flags:u}=l.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(m){!m.negate&&m.elements.length===0&&t.report({node:l,messageId:"unexpected"})}})}}}},gl}var yl,tv;function ST(){if(tv)return yl;tv=1;const a=Ue(),e=Object.freeze(["functions","arrowFunctions","generatorFunctions","methods","generatorMethods","getters","setters","constructors","asyncFunctions","asyncMethods","privateConstructors","protectedConstructors","decoratedFunctions","overrideMethods"]);function n(t){const l=t.parent;let p;if(t.type==="ArrowFunctionExpression")return"arrowFunctions";if(l.type==="Property"){if(l.kind==="get")return"getters";if(l.kind==="set")return"setters";p=l.method?"methods":"functions"}else if(l.type==="MethodDefinition"){if(l.kind==="get")return"getters";if(l.kind==="set")return"setters";if(l.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(l=>l.type==="TSParameterProperty")}return yl={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:l}]=t.options,p=t.sourceCode;function u(m){const i=n(m);return!!(l.includes(i)||i==="constructors"&&(m.parent.accessibility==="private"&&l.includes("privateConstructors")||m.parent.accessibility==="protected"&&l.includes("protectedConstructors")||o(m))||/(?:g|s)etters|methods$/iu.test(i)&&(m.parent.decorators?.length&&l.includes("decoratedFunctions")||m.parent.override&&l.includes("overrideMethods")))}function r(m){const i=a.getFunctionNameWithKind(m),c=p.getTokens(m.body,{includeComments:!0,filter:a.isCommentToken});!u(m)&&m.body.type==="BlockStatement"&&m.body.body.length===0&&c.length===0&&t.report({node:m,loc:m.body.loc,messageId:"unexpected",data:{name:i}})}return{ArrowFunctionExpression:r,FunctionDeclaration:r,FunctionExpression:r}}},yl}var vl,rv;function bT(){if(rv)return vl;rv=1;const a=Ue();return vl={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"}})}}}},vl}var El,nv;function xT(){return nv||(nv=1,El={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"})}}}}}),El}var Sl,sv;function CT(){return sv||(sv=1,Sl={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"})}}}}),Sl}var bl,av;function wT(){if(av)return bl;av=1;const a=Ue(),e=Object.freeze(["global","window","globalThis"]);function n(o,t){return a.isSpecificMemberAccess(o,null,t)}return bl={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,l=o.sourceCode;let p=null;function u(h){const s=l.getScope(h).isStrict;p={upper:p,node:h,strict:s,isTopLevelOfScript:!1,defaultThis:!1,initialized:s}}function r(){p=p.upper}function m(h){const s=h.parent,f=h.type==="MemberExpression"?h.property:h,g=s.type==="CallExpression"&&s.callee===h?s:h;o.report({node:g,loc:f.loc,messageId:"unexpected"})}function i(h){for(let s=0;s<e.length;++s){const f=e[s],g=a.getVariableByName(h,f);if(!g)continue;const d=g.references;for(let E=0;E<d.length;++E){let x=d[E].identifier.parent;for(;n(x,f);)x=x.parent;n(x,"eval")&&m(x)}}}function c(h){const s=a.getVariableByName(h,"eval");if(!s)return;const f=s.references;for(let g=0;g<f.length;++g){const E=f[g].identifier;E.name==="eval"&&!a.isCallee(E)&&m(E)}}return t?{"CallExpression:exit"(h){const s=h.callee;!h.optional&&a.isSpecificId(s,"eval")&&m(s)}}:{"CallExpression:exit"(h){const s=h.callee;a.isSpecificId(s,"eval")&&m(s)},Program(h){const s=l.getScope(h),f=o.parserOptions.ecmaFeatures||{},g=s.isStrict||h.sourceType==="module"||f.globalReturn&&s.childScopes[0].isStrict,d=h.sourceType!=="module"&&!f.globalReturn;p={upper:null,node:h,strict:g,isTopLevelOfScript:d,defaultThis:!0,initialized:!0}},"Program:exit"(h){const s=l.getScope(h);r(),c(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(h){n(h.parent,"eval")&&(p.initialized||(p.initialized=!0,p.defaultThis=a.isDefaultThisBinding(p.node,l)),(p.isTopLevelOfScript||!p.strict&&p.defaultThis)&&m(h.parent))}}}},bl}var xl,iv;function AT(){if(iv)return xl;iv=1;const a=Ue();return xl={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(l=>{e.report({node:l.identifier,messageId:"unexpected"})})}return{CatchClause(t){n.getDeclaredVariables(t).forEach(o)}}}},xl}var Cl,ov;function TT(){if(ov)return Cl;ov=1;const a=Ue();return Cl={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 l(i,c){e.report({node:i,messageId:"unexpected",data:{builtin:c}})}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 m(i){if(!p(i))return;const c=i.parent.parent.type==="ChainExpression"?i.parent.parent:i.parent;u(c)?l(c.parent.parent,i.name):r(c)&&l(c.parent,i.name)}return{"Program:exit"(i){const c=n.getScope(i);t.forEach(h=>{const s=c.set.get(h);s&&s.references&&s.references.map(f=>f.identifier).forEach(m)})}}}},Cl}var wl,lv;function kT(){if(lv)return wl;lv=1;const a=Ue(),e=new Set(["Literal","Identifier","ThisExpression","FunctionExpression"]);return wl={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 l(h){return e.has(h.type)}function p(h){const s=h.parent,f=s.parent.type==="ChainExpression"?s.parent.parent:s.parent;n.report({node:f,messageId:"unexpected",loc:s.property.loc,fix(g){if(!l(f.arguments[0]))return null;const d=[[o.getTokenAfter(s.object,a.isNotClosingParenToken),o.getLastToken(s)],[o.getTokenAfter(s,a.isNotClosingParenToken),o.getLastToken(f)]],E=d[0][0],S=d[1][1];return o.commentsExistBetween(E,S)?null:d.map(([x,T])=>g.removeRange([x.range[0],T.range[1]]))}})}function u(h){if(!a.isSpecificMemberAccess(h.parent,null,"bind"))return!1;const s=h.parent.parent.type==="ChainExpression"?h.parent.parent:h.parent;return s.parent.type==="CallExpression"&&s.parent.callee===s&&s.parent.arguments.length===1&&s.parent.arguments[0].type!=="SpreadElement"}function r(h){t={isBound:u(h),thisFound:!1,upper:t}}function m(h){t.isBound&&!t.thisFound&&p(h),t=t.upper}function i(h){u(h)&&p(h)}function c(){t&&(t.thisFound=!0)}return{"ArrowFunctionExpression:exit":i,FunctionDeclaration:r,"FunctionDeclaration:exit":m,FunctionExpression:r,"FunctionExpression:exit":m,ThisExpression:c}}},wl}var Al,uv;function DT(){if(uv)return Al;uv=1;const a=Ue(),e=qt(),n=a.getPrecedence;return Al={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:l,enforceForInnerExpressions:p}]=o.options,u=new Set(["IfStatement","DoWhileStatement","WhileStatement","ConditionalExpression","ForStatement"]);function r(f){return(f.type==="CallExpression"||f.type==="NewExpression")&&f.callee.type==="Identifier"&&f.callee.name==="Boolean"}function m(f){return r(f.parent)&&f===f.parent.arguments[0]||u.has(f.parent.type)&&f===f.parent.test||f.parent.type==="UnaryExpression"&&f.parent.operator==="!"}function i(f){return f.parent.type==="ChainExpression"||(l||p)&&f.parent.type==="LogicalExpression"&&(f.parent.operator==="||"||f.parent.operator==="&&"||p&&f.parent.operator==="??"&&f.parent.right===f)||p&&(f.parent.type==="ConditionalExpression"&&(f.parent.consequent===f||f.parent.alternate===f)||f.parent.type==="SequenceExpression"&&f.parent.expressions.at(-1)===f)?i(f.parent):m(f)}function c(f){return!!t.getCommentsInside(f).length}function h(f){return e.isParenthesized(1,f,t)}function s(f,g){if(f.parent.type==="ChainExpression")return s(f.parent,g);if(h(f))return!1;const d=f.parent;switch(d.type){case"CallExpression":case"NewExpression":return g.type==="SequenceExpression";case"IfStatement":case"DoWhileStatement":case"WhileStatement":case"ForStatement":case"SequenceExpression":return!1;case"ConditionalExpression":if(f===d.test)return n(g)<=n(d);if(f===d.consequent||f===d.alternate)return n(g)<n({type:"AssignmentExpression"});throw new Error("Ternary child must be test, consequent, or alternate.");case"UnaryExpression":return n(g)<n(d);case"LogicalExpression":return a.isMixedLogicalAndCoalesceExpressions(g,d)?!0:f===d.left?n(g)<n(d):n(g)<=n(d);default:throw new Error(`Unexpected parent type: ${d.type}`)}}return{UnaryExpression(f){const g=f.parent;f.operator!=="!"||g.type!=="UnaryExpression"||g.operator!=="!"||i(g)&&o.report({node:g,messageId:"unexpectedNegation",fix(d){if(c(g))return null;if(s(g,f.argument))return d.replaceText(g,`(${t.getText(f.argument)})`);let E="";const S=t.getTokenBefore(g),x=t.getFirstToken(f.argument);return S&&S.range[1]===g.range[0]&&!a.canTokensBeAdjacent(S,x)&&(E=" "),d.replaceText(g,E+t.getText(f.argument))}})},CallExpression(f){f.callee.type!=="Identifier"||f.callee.name!=="Boolean"||i(f)&&o.report({node:f,messageId:"unexpectedCall",fix(g){const d=f.parent;if(f.arguments.length===0){if(d.type==="UnaryExpression"&&d.operator==="!"){if(c(d))return null;const E="true";let S="";const x=t.getTokenBefore(d);return x&&x.range[1]===d.range[0]&&!a.canTokensBeAdjacent(x,E)&&(S=" "),g.replaceText(d,S+E)}return c(f)?null:g.replaceText(f,"false")}if(f.arguments.length===1){const E=f.arguments[0];return E.type==="SpreadElement"||c(f)?null:s(f,E)?g.replaceText(f,`(${t.getText(E)})`):g.replaceText(f,t.getText(E))}return null}})}}}},Al}var Tl,cv;function IT(){if(cv)return Tl;cv=1;const a=Ue();return Tl={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(m){o={label:m.parent.type==="LabeledStatement"?m.parent.label:null,breakable:!0,upper:o}}function l(){o=o.upper}function p(m){a.isBreakableStatement(m.body)||(o={label:m.label,breakable:!1,upper:o})}function u(m){a.isBreakableStatement(m.body)||(o=o.upper)}function r(m){if(!m.label)return;const i=m.label;for(let c=o;c!==null;c=c.upper)if(c.breakable||c.label&&c.label.name===i.name){c.breakable&&c.label&&c.label.name===i.name&&e.report({node:i,messageId:"unexpected",data:i,fix(h){const s=n.getFirstToken(m);return n.commentsExistBetween(s,i)?null:h.removeRange([s.range[1],i.range[1]])}});return}}return{WhileStatement:t,"WhileStatement:exit":l,DoWhileStatement:t,"DoWhileStatement:exit":l,ForStatement:t,"ForStatement:exit":l,ForInStatement:t,"ForInStatement:exit":l,ForOfStatement:t,"ForOfStatement:exit":l,SwitchStatement:t,"SwitchStatement:exit":l,LabeledStatement:p,"LabeledStatement:exit":u,BreakStatement:r,ContinueStatement:r}}},Tl}var kl,fv;function PT(){if(fv)return kl;fv=1;const{isParenthesized:a}=qt(),e=Ue();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",url:"https://eslint.style"},rule:{name:"no-extra-parens",url:"https://eslint.style/rules/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,l=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,m=p&&n.options[1]&&n.options[1].nestedBinaryExpressions===!1,i=p&&n.options[1]&&n.options[1].returnAssign===!1,c=p&&n.options[1]&&n.options[1].ignoreJSX,h=p&&n.options[1]&&n.options[1].enforceForArrowConditionals===!1,s=p&&n.options[1]&&n.options[1].enforceForSequenceExpressions===!1,f=p&&n.options[1]&&n.options[1].enforceForNewInMemberExpressions===!1,g=p&&n.options[1]&&n.options[1].enforceForFunctionPrototypeMethods===!1,d=p&&n.options[1]&&n.options[1].allowParensAfterCommentPattern,E=l({type:"AssignmentExpression"}),S=l({type:"UpdateExpression"});let x;function T($){const ae=e.skipChainExpression($);if(ae.type!=="CallExpression")return!1;const Ie=e.skipChainExpression(ae.callee);return Ie.type==="MemberExpression"&&Ie.object.type==="FunctionExpression"&&["call","apply"].includes(e.getStaticPropertyName(Ie))}function C($){if($.type==="JSXElement"||$.type==="JSXFragment"){const ae=$.loc.start.line===$.loc.end.line;switch(c){case"all":return!1;case"multi-line":return ae;case"single-line":return!ae}}return $.type==="SequenceExpression"&&s||T($)&&g?!1:p||$.type==="FunctionExpression"||$.type==="ArrowFunctionExpression"}function v($){return a(1,$,o)}function A($){return a(2,$,o)}function b($){return C($)&&v($)}function w($){return C($)&&A($)}function k($,ae){return!!(C($)&&v($)&&(l($)>=ae||A($)))}function R($){return u&&$.test.type==="AssignmentExpression"}function F($){for(let ae=$;ae;ae=ae.parent)if(ae.type==="ReturnStatement"||ae.type==="ArrowFunctionExpression"&&ae.body.type!=="BlockStatement")return!0;return!1}function L($){const ae=o.getLastToken($),Ie=o.getTokenBefore(ae);return $.arguments.length>0||e.isOpeningParenToken(Ie)&&e.isClosingParenToken(ae)&&$.callee.range[1]<$.range[1]}function P($){return!!($.type==="AssignmentExpression"||$.type==="ConditionalExpression"&&($.consequent.type==="AssignmentExpression"||$.alternate.type==="AssignmentExpression")||$.left&&$.left.type==="AssignmentExpression"||$.right&&$.right.type==="AssignmentExpression")}function O($){return!i||!F($)?!1:$.type==="ReturnStatement"?$.argument&&P($.argument):$.type==="ArrowFunctionExpression"&&$.body.type!=="BlockStatement"?P($.body):P($)}function q($,ae){return $.loc.end.line===ae.loc.start.line?b(ae):w(ae)}function N($){const ae=o.getTokenBefore($),Ie=o.getTokenBefore(ae,{includeComments:!0}),Ne=o.getTokenAfter(ae,{includeComments:!0});return Ie&&Ie.range[1]===ae.range[0]&&ae.range[1]===Ne.range[0]&&!e.canTokensBeAdjacent(Ie,Ne)}function _($){const ae=o.getTokensAfter($,{count:2}),Ie=ae[0],Ne=ae[1],Be=o.getLastToken($);return Ie&&Ne&&!o.isSpaceBetweenTokens(Ie,Ne)&&!e.canTokensBeAdjacent(Be,Ne)}function G($){const ae=e.skipChainExpression($);return ae.type==="CallExpression"&&ae.callee.type==="FunctionExpression"}function B($){return $&&($.type==="Identifier"||$.type==="MemberExpression")}function z($){return $.type!=="Literal"||typeof $.value!="string"||A($)?!0:!e.isTopLevelExpressionStatement($.parent)}function H($){const ae=o.getTokenBefore($),Ie=o.getTokenAfter($);if(!A($)){if(t.has(o.getFirstToken($))||G($)&&!v($.callee))return;if(d){const Be=o.getCommentsBefore(ae),j=Be.length,Qe=new RegExp(d,"u");if(j>0&&Qe.test(Be[j-1].value))return}}function Ne(){n.report({node:$,loc:ae.loc,messageId:"unexpected",fix:z($)?Be=>{const j=o.text.slice(ae.range[1],Ie.range[0]);return Be.replaceTextRange([ae.range[0],Ie.range[1]],(N($)?" ":"")+j+(_($)?" ":""))}:null})}if(x){x.reports.push({node:$,finishReport:Ne});return}Ne()}function ce($){k($.argument,l($))&&H($.argument)}function re($){let ae=$.object,Ie=$.object.type;for(;Ie==="MemberExpression";)ae=ae.object,Ie=ae.type;return Ie==="CallExpression"}function Fe($){const ae=$.callee;k(ae,l($))&&(w(ae)||!(G($)||ae.type==="NewExpression"&&!L(ae)&&!($.type==="NewExpression"&&!L($))||$.type==="NewExpression"&&ae.type==="MemberExpression"&&re(ae)||!$.optional&&ae.type==="ChainExpression"))&&H($.callee),$.arguments.filter(Ie=>k(Ie,E)).forEach(H)}function X($){const ae=l($),Ie=l($.left),Ne=l($.right),Be=$.operator==="**",j=m&&($.left.type==="BinaryExpression"||$.left.type==="LogicalExpression"),Qe=m&&($.right.type==="BinaryExpression"||$.right.type==="LogicalExpression");!j&&b($.left)&&(!(["AwaitExpression","UnaryExpression"].includes($.left.type)&&Be)&&!e.isMixedLogicalAndCoalesceExpressions($.left,$)&&(Ie>ae||Ie===ae&&!Be)||A($.left))&&H($.left),!Qe&&b($.right)&&(!e.isMixedLogicalAndCoalesceExpressions($.right,$)&&(Ne>ae||Ne===ae&&Be)||A($.right))&&H($.right)}function I($){if(!$.superClass)return;(l($.superClass)>S?b($.superClass):w($.superClass))&&H($.superClass)}function W($){k($.argument,E)&&H($.argument)}function oe($){const ae=v($)?o.getTokenBefore($):o.getFirstToken($),Ie=o.getTokenAfter(ae,e.isNotOpeningParenToken),Ne=Ie?o.getTokenAfter(Ie):null,Be=Ie?o.getTokenAfter(Ie,e.isNotClosingParenToken):null;e.isOpeningParenToken(ae)&&(e.isOpeningBraceToken(Ie)||Ie.type==="Keyword"&&(Ie.value==="function"||Ie.value==="class"||Ie.value==="let"&&Be&&(e.isOpeningBracketToken(Be)||Be.type==="Identifier"))||Ie&&Ie.type==="Identifier"&&Ie.value==="async"&&Ne&&Ne.type==="Keyword"&&Ne.value==="function")&&t.add(Ie),($.parent.type==="ExportDefaultDeclaration"?k($,E):b($))&&H($)}function ie($,ae){const Ie=[$];let Ne=$;for(;Ne!==ae;){if(Ne=Ne.parent,Ne===null)throw new Error("Nodes are not in the ancestor-descendant relationship.");Ie.push(Ne)}return Ie}function se($,ae){return ie(ae,$).reverse()}function de($,ae){switch($.type){case"ArrayExpression":case"ArrayPattern":case"BlockStatement":case"ObjectExpression":case"ObjectPattern":case"TemplateLiteral":return!0;case"ArrowFunctionExpression":case"FunctionExpression":return $.params.includes(ae);case"CallExpression":case"NewExpression":return $.arguments.includes(ae);case"MemberExpression":return $.computed&&$.property===ae;case"ConditionalExpression":return $.consequent===ae;default:return!1}}function be(){x={upper:x,inExpressionNodes:[],reports:[]}}function xe(){const{upper:$,inExpressionNodes:ae,reports:Ie}=x;$?($.inExpressionNodes.push(...ae),$.reports.push(...Ie)):Ie.forEach(({finishReport:Ne})=>Ne()),x=$}function Te($){return x.reports.some(ae=>ae.node===$)}function J($){x.reports=x.reports.filter(ae=>ae.node!==$)}function Q($){return $.type==="MemberExpression"?$.parent.type==="NewExpression"&&$.parent.callee===$?!0:$.parent.object===$&&Q($.parent):!1}function ke({left:$,operator:ae,right:Ie}){if($.type==="Identifier"&&["=","&&=","||=","??="].includes(ae)){const Ne=Ie.type;if(Ne==="ArrowFunctionExpression"||(Ne==="FunctionExpression"||Ne==="ClassExpression")&&!Ie.id)return!0}return!1}return{ArrayExpression($){$.elements.filter(ae=>ae&&k(ae,E)).forEach(H)},ArrayPattern($){$.elements.filter(ae=>B(ae)&&b(ae)).forEach(H)},ArrowFunctionExpression($){if(!O($)&&!($.body.type==="ConditionalExpression"&&h)&&$.body.type!=="BlockStatement"){const ae=o.getFirstToken($.body,e.isNotOpeningParenToken),Ie=o.getTokenBefore(ae);e.isOpeningParenToken(Ie)&&e.isOpeningBraceToken(ae)&&t.add(ae),k($.body,E)&&H($.body)}},AssignmentExpression($){B($.left)&&b($.left)&&(!ke($)||A($.left))&&H($.left),!O($)&&k($.right,l($))&&H($.right)},BinaryExpression($){x&&$.operator==="in"&&x.inExpressionNodes.push($),X($)},CallExpression:Fe,ConditionalExpression($){if(O($))return;const ae=new Set(["BinaryExpression","LogicalExpression"]);!(r&&ae.has($.test.type))&&!R($)&&k($.test,l({type:"LogicalExpression",operator:"||"}))&&H($.test),!(r&&ae.has($.consequent.type))&&k($.consequent,E)&&H($.consequent),!(r&&ae.has($.alternate.type))&&k($.alternate,E)&&H($.alternate)},DoWhileStatement($){b($.test)&&!R($)&&H($.test)},ExportDefaultDeclaration:$=>oe($.declaration),ExpressionStatement:$=>oe($.expression),ForInStatement($){if($.left.type!=="VariableDeclaration"){const ae=o.getFirstToken($.left,e.isNotOpeningParenToken);ae.value==="let"&&e.isOpeningBracketToken(o.getTokenAfter(ae,e.isNotClosingParenToken))&&t.add(ae)}b($.left)&&H($.left),b($.right)&&H($.right)},ForOfStatement($){if($.left.type!=="VariableDeclaration"){const ae=o.getFirstToken($.left,e.isNotOpeningParenToken);ae.value==="let"&&t.add(ae)}b($.left)&&H($.left),k($.right,E)&&H($.right)},ForStatement($){if($.test&&b($.test)&&!R($)&&H($.test),$.update&&b($.update)&&H($.update),$.init){if($.init.type!=="VariableDeclaration"){const ae=o.getFirstToken($.init,e.isNotOpeningParenToken);ae.value==="let"&&e.isOpeningBracketToken(o.getTokenAfter(ae,e.isNotClosingParenToken))&&t.add(ae)}be(),b($.init)&&H($.init)}},"ForStatement > *.init:exit"($){x.reports.length&&x.inExpressionNodes.forEach(ae=>{const Ie=se($,ae);let Ne;for(let Be=0;Be<Ie.length;Be++){const j=Ie[Be];if(Be<Ie.length-1){const Qe=Ie[Be+1];if(de(j,Qe))return}if(v(j))if(Te(j)){if(A(j))return;Ne||(Ne=j)}else return}J(Ne)}),xe()},IfStatement($){b($.test)&&!R($)&&H($.test)},ImportExpression($){const{source:ae}=$;ae.type==="SequenceExpression"?w(ae)&&H(ae):b(ae)&&H(ae)},LogicalExpression:X,MemberExpression($){const Ie=Q($)&&re($)?w($.object):b($.object)&&!(T($.parent)&&$.parent.callee===$&&g);Ie&&l($.object)>=l($)&&($.computed||!(e.isDecimalInteger($.object)||$.object.type==="Literal"&&$.object.regex))&&H($.object),Ie&&$.object.type==="CallExpression"&&H($.object),Ie&&!f&&$.object.type==="NewExpression"&&L($.object)&&H($.object),Ie&&$.optional&&$.object.type==="ChainExpression"&&H($.object),$.computed&&b($.property)&&H($.property)},"MethodDefinition[computed=true]"($){k($.key,E)&&H($.key)},NewExpression:Fe,ObjectExpression($){$.properties.filter(ae=>ae.value&&k(ae.value,E)).forEach(ae=>H(ae.value))},ObjectPattern($){$.properties.filter(ae=>{const Ie=ae.value;return B(Ie)&&b(Ie)}).forEach(ae=>H(ae.value))},Property($){if($.computed){const{key:ae}=$;ae&&k(ae,E)&&H(ae)}},PropertyDefinition($){$.computed&&k($.key,E)&&H($.key),$.value&&k($.value,E)&&H($.value)},RestElement($){const ae=$.argument;B(ae)&&b(ae)&&H(ae)},ReturnStatement($){const ae=o.getFirstToken($);O($)||$.argument&&q(ae,$.argument)&&!($.argument.type==="Literal"&&$.argument.regex)&&H($.argument)},SequenceExpression($){const ae=l($);$.expressions.filter(Ie=>k(Ie,ae)).forEach(H)},SwitchCase($){$.test&&b($.test)&&H($.test)},SwitchStatement($){b($.discriminant)&&H($.discriminant)},ThrowStatement($){const ae=o.getFirstToken($);q(ae,$.argument)&&H($.argument)},UnaryExpression:ce,UpdateExpression($){if($.prefix)ce($);else{const{argument:ae}=$,Ie=o.getLastToken($);ae.loc.end.line===Ie.loc.start.line?ce($):w(ae)&&H(ae)}},AwaitExpression:ce,VariableDeclarator($){$.init&&k($.init,E)&&!($.init.type==="Literal"&&$.init.regex)&&H($.init)},WhileStatement($){b($.test)&&!R($)&&H($.test)},WithStatement($){b($.object)&&H($.object)},YieldExpression($){if($.argument){const ae=o.getFirstToken($);(l($.argument)>=l($)&&q(ae,$.argument)||w($.argument))&&H($.argument)}},ClassDeclaration:I,ClassExpression:I,SpreadElement:W,SpreadProperty:W,ExperimentalSpreadProperty:W,TemplateLiteral($){$.expressions.filter(ae=>ae&&b(ae)).forEach(H)},AssignmentPattern($){const{left:ae,right:Ie}=$;B(ae)&&b(ae)&&H(ae),Ie&&k(Ie,E)&&H(Ie)}}}},kl}var Dl,pv;function FT(){if(pv)return Dl;pv=1;const a=nn(),e=Ue();return Dl={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",url:"https://eslint.style"},rule:{name:"no-extra-semi",url:"https://eslint.style/rules/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 m=o.getNodeByRangeIndex(r.range[0]);return!e.isTopLevelExpressionStatement(m.parent)}function l(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)&&l(r)}return{EmptyStatement(u){const r=u.parent;["ForStatement","ForInStatement","ForOfStatement","WhileStatement","DoWhileStatement","IfStatement","LabeledStatement","WithStatement"].includes(r.type)||l(u)},ClassBody(u){p(o.getFirstToken(u,1))},"MethodDefinition, PropertyDefinition, StaticBlock"(u){p(o.getTokenAfter(u))}}}},Dl}var Il,mv;function RT(){if(mv)return Il;mv=1;const{directivesPattern:a}=Hh(),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,m){const i=r.sourceCode;if(p.consequent.length===1&&p.consequent[0].type==="BlockStatement"){const h=i.getLastToken(p.consequent[0]),s=i.getCommentsBefore(h).pop();if(s&&o(s.value,m))return s}const c=i.getCommentsBefore(u).pop();return c&&o(c.value,m)?c:null}function l(p,u){return u.loc.start.line>p.loc.end.line+1}return Il={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 m=p.sourceCode,[{allowEmptyCase:i,commentPattern:c,reportUnusedFallthroughComment:h}]=p.options,s=c?new RegExp(c,"u"):e;let f=null;return{onCodePathStart(){u.push(r),r=new Set},onCodePathEnd(){r=u.pop()},onUnreachableCodePathSegmentStart(g){r.add(g)},onUnreachableCodePathSegmentEnd(g){r.delete(g)},onCodePathSegmentStart(g){r.add(g)},onCodePathSegmentEnd(g){r.delete(g)},SwitchCase(g){if(f&&f.node.parent===g.parent){const d=t(f.node,g,p,s);f.isFallthrough&&!d?p.report({messageId:g.test?"case":"default",node:g}):h&&!f.isSwitchExitReachable&&d&&p.report({messageId:"unusedFallthroughComment",node:d})}f=null},"SwitchCase:exit"(g){const d=m.getTokenAfter(g),E=n(r),S=E&&(g.consequent.length>0||!i&&l(g,d))&&g.parent.cases.at(-1)!==g;f={node:g,isSwitchExitReachable:E,isFallthrough:S}}}}},Il}var Pl,hv;function _T(){if(hv)return Pl;hv=1;const a=Ue();return Pl={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",url:"https://eslint.style"},rule:{name:"no-floating-decimal",url:"https://eslint.style/rules/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 l=n.getTokenBefore(o),p=l&&l.range[1]===o.range[0]&&!a.canTokensBeAdjacent(l,`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")}))}}}},Pl}var Fl,dv;function BT(){if(dv)return Fl;dv=1;const a=Ue();return Fl={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 l(p){n.getDeclaredVariables(p).forEach(t)}return{FunctionDeclaration:l,FunctionExpression:l}}},Fl}var Rl,gv;function LT(){return gv||(gv=1,Rl={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(l,p,u){const r=l.identifier;l.init===!1&&l.isWrite()&&(p===0||u[p-1].identifier!==r)&&a.report({node:r,messageId:"globalShouldNotBeModified",data:{name:r.name}})}function t(l){l.writeable===!1&&!n.includes(l.name)&&l.references.forEach(o)}return{Program(l){e.getScope(l).variables.forEach(t)}}}}),Rl}var _l,yv;function OT(){if(yv)return _l;yv=1;const a=Ue(),e=/^(?:i|lastI)ndexOf$/u,n=["~","!!","+","- -","-","*"];function o(f){return f.operator==="!"&&f.argument.type==="UnaryExpression"&&f.argument.operator==="!"}function t(f){if(f.operator!=="~")return!1;const g=a.skipChainExpression(f.argument);return g.type==="CallExpression"&&a.isSpecificMemberAccess(g.callee,null,e)}function l(f){return f.operator==="*"&&(f.left.type==="Literal"&&f.left.value===1||f.right.type==="Literal"&&f.right.value===1)}function p(f,g){return f.type==="BinaryExpression"&&f.operator==="*"&&f.right.type==="Literal"&&f.right.value===1&&f.parent.type==="BinaryExpression"&&f.parent.operator==="/"&&f.parent.left===f&&!a.isParenthesised(g,f)}function u(f){return f.type==="Literal"&&typeof f.value=="number"||f.type==="CallExpression"&&(f.callee.name==="Number"||f.callee.name==="parseInt"||f.callee.name==="parseFloat")}function r(f){const g=f.left,d=f.right;return d.type!=="BinaryExpression"&&!u(d)?d:g.type!=="BinaryExpression"&&!u(g)?g:null}function m(f){return a.isStringLiteral(f)||f.type==="CallExpression"&&f.callee.type==="Identifier"&&f.callee.name==="String"}function i(f){return a.isStringLiteral(f)&&(f.value===""||f.type==="TemplateLiteral"&&f.quasis.length===1&&f.quasis[0].value.cooked==="")}function c(f){return f.operator==="+"&&(i(f.left)&&!m(f.right)||i(f.right)&&!m(f.left))}function h(f){return f.operator==="+="&&i(f.right)}function s(f){return i(f.left)?f.right:f.left}return _l={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(f){const[g]=f.options,d=f.sourceCode;function E(S,x,T,C){function v(A){const b=d.getTokenBefore(S);return b?.range[1]===S.range[0]&&!a.canTokensBeAdjacent(b,x)?A.replaceText(S,` ${x}`):A.replaceText(S,x)}f.report({node:S,messageId:"implicitCoercion",data:{recommendation:x},fix(A){return C?v(A):null},suggest:[{messageId:"useRecommendation",data:{recommendation:x},fix(A){return C||!T?null:v(A)}}]})}return{UnaryExpression(S){let x;if(x=g.allow.includes("!!"),!x&&g.boolean&&o(S)){const T=`Boolean(${d.getText(S.argument.argument)})`,v=a.getVariableByName(d.getScope(S),"Boolean")?.identifiers.length===0;E(S,T,!0,v)}if(x=g.allow.includes("~"),!x&&g.boolean&&t(S)){const T=S.argument.type==="ChainExpression"?">= 0":"!== -1",C=`${d.getText(S.argument)} ${T}`;E(S,C,!1,!1)}if(x=g.allow.includes("+"),!x&&g.number&&S.operator==="+"&&!u(S.argument)){const T=`Number(${d.getText(S.argument)})`;E(S,T,!0,!1)}if(x=g.allow.includes("- -"),!x&&g.number&&S.operator==="-"&&S.argument.type==="UnaryExpression"&&S.argument.operator==="-"&&!u(S.argument.argument)){const T=`Number(${d.getText(S.argument.argument)})`;E(S,T,!0,!1)}},"BinaryExpression:exit"(S){let x;x=g.allow.includes("*");const T=!x&&g.number&&l(S)&&!p(S,d)&&r(S);if(T){const C=`Number(${d.getText(T)})`;E(S,C,!0,!1)}if(x=g.allow.includes("-"),!x&&g.number&&S.operator==="-"&&S.right.type==="Literal"&&S.right.value===0&&!u(S.left)){const C=`Number(${d.getText(S.left)})`;E(S,C,!0,!1)}if(x=g.allow.includes("+"),!x&&g.string&&c(S)){const C=`String(${d.getText(s(S))})`;E(S,C,!0,!1)}},AssignmentExpression(S){if(!g.allow.includes("+")&&g.string&&h(S)){const T=d.getText(s(S)),C=`${T} = String(${T})`;E(S,C,!0,!1)}},TemplateLiteral(S){if(!g.disallowTemplateShorthand||S.parent.type==="TaggedTemplateExpression"||S.expressions.length!==1||S.quasis[0].value.cooked!==""||S.quasis[1].value.cooked!==""||m(S.expressions[0]))return;const T=`String(${d.getText(S.expressions[0])})`;E(S,T,!0,!1)}}}},_l}var Bl,vv;function NT(){if(vv)return Bl;vv=1;const a=new Set(["AssignmentExpression","ForInStatement","ForOfStatement"]);return Bl={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(l,p,u){e.report({node:l,messageId:p,data:{kind:u}})}return{Program(l){const p=o.getScope(l);p.variables.forEach(u=>{const r=u.writeable===!1;u.writeable!==!0&&(u.eslintExported||(u.defs.forEach(i=>{const c=i.node;(i.type==="FunctionName"||i.type==="Variable"&&i.parent.kind==="var")&&(r?t(c,"redeclarationOfReadonlyGlobal"):t(c,"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(c,"redeclarationOfReadonlyGlobal"):t(c,"globalLexicalBinding",i.type==="ClassName"?"class":`'${i.parent.kind}'`))}),r&&u.defs.length===0&&u.references.forEach(i=>{if(i.isWrite()&&!i.isRead()){let c=i.identifier.parent;for(;c&&!a.has(c.type);)c=c.parent;t(c??i.identifier,"assignmentToReadonlyGlobal")}})))}),p.implicit.variables.forEach(u=>{u.defs.forEach(r=>{t(r.node,"globalVariableLeak")})})}}}},Bl}var Ll,Ev;function MT(){if(Ev)return Ll;Ev=1;const a=Ue(),{getStaticValue:e}=qt();return Ll={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.",execScript:"Implied eval. Do not use execScript()."}},create(n){const o=Object.freeze(["global","window","globalThis"]),t=/^(?:set(?:Interval|Timeout)|execScript)$/u,l=n.sourceCode;function p(m){return m.type==="Literal"&&typeof m.value=="string"||m.type==="TemplateLiteral"?!0:m.type==="BinaryExpression"&&m.operator==="+"?p(m.left)||p(m.right):!1}function u(m){const[i]=m.arguments;if(i){const c=e(i,l.getScope(m));if(c&&typeof c.value=="string"||p(i)){const g=(m.callee.type==="Identifier"?m.callee.name:a.getStaticPropertyName(m.callee))==="execScript";n.report({node:m,messageId:g?"execScript":"impliedEval"})}}}function r(m){const{references:i,name:c}=m;i.forEach(h=>{let f=h.identifier.parent;for(;a.isSpecificMemberAccess(f,null,c);)f=f.parent;if(a.isSpecificMemberAccess(f,null,t)){const g=f.parent.type==="ChainExpression"?f.parent:f,d=g.parent;d.type==="CallExpression"&&d.callee===g&&u(d)}})}return{CallExpression(m){a.isSpecificId(m.callee,t)&&l.isGlobalReference(m.callee)&&u(m)},"Program:exit"(m){const i=l.getScope(m);o.map(c=>a.getVariableByName(i,c)).filter(c=>!!c&&c.defs.length===0).forEach(r)}}}},Ll}var Ol,Sv;function jT(){if(Sv)return Ol;Sv=1;const{findVariable:a}=qt(),e=Ue(),n={Object:/^(?:assign|definePropert(?:y|ies)|freeze|setPrototypeOf)$/u,Reflect:/^(?:(?:define|delete)Property|set(?:PrototypeOf)?)$/u};function o(m){const{parent:i}=m;return i.type==="AssignmentExpression"&&i.left===m||i.type==="ArrayPattern"||i.type==="Property"&&i.value===m&&i.parent.type==="ObjectPattern"||i.type==="RestElement"||i.type==="AssignmentPattern"&&i.left===m}function t(m){const i=m.parent.type==="ChainExpression"?m.parent:m,{parent:c}=i;return c.type==="UpdateExpression"&&c.argument===i||c.type==="UnaryExpression"&&c.operator==="delete"&&c.argument===i}function l(m){const{parent:i}=m;return i.type==="ForInStatement"&&i.left===m||i.type==="ForOfStatement"&&i.left===m}function p(m,i){const{parent:c}=m;if(c.type!=="CallExpression"||c.arguments[0]!==m)return!1;const h=e.skipChainExpression(c.callee);if(!e.isSpecificMemberAccess(h,"Object",n.Object)&&!e.isSpecificMemberAccess(h,"Reflect",n.Reflect))return!1;const s=a(i,h.object);return s!==null&&s.scope.type==="global"}function u(m,i){const{parent:c}=m;return c.type==="MemberExpression"&&c.object===m&&(o(c)||t(c)||l(c))||p(m,i)}function r(m){let i=m.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||m}return Ol={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(m){const i=m.sourceCode;return{ImportDeclaration(c){const h=i.getScope(c);for(const s of i.getDeclaredVariables(c)){const f=s.defs.some(d=>d.node.type==="ImportNamespaceSpecifier");let g=null;for(const d of s.references){const E=d.identifier;E!==g&&(g=E,d.isWrite()?m.report({node:r(E),messageId:"readonly",data:{name:E.name}}):f&&u(E,h)&&m.report({node:r(E),messageId:"readonlyMember",data:{name:E.name}}))}}}}}},Ol}var Nl,bv;function UT(){if(bv)return Nl;bv=1;const a=Ue();return Nl={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 l(p){const u=String(n.lines[p.loc.start.line-1]),r=String(n.lines[p.loc.end.line-1]),m=u.slice(0,p.loc.start.column).trim(),i=r.slice(p.loc.end.column).trim(),c=!m,h=!i;if(!(c&&h)&&!(t&&t.test(p.value))){if((c||m==="{")&&(h||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(l)}}}},Nl}var Ml,xv;function qT(){if(xv)return Ml;xv=1;const a=Ue(),e=new Set(["Program","StaticBlock","ExportNamedDeclaration","ExportDefaultDeclaration"]),n=new Set(["FunctionDeclaration","FunctionExpression","ArrowFunctionExpression"]);function o(t){let{parent:l}=t;for(;l;){if(l.type==="StaticBlock")return"class static block body";if(a.isFunction(l))return"function body";({parent:l}=l)}return"program"}return Ml={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 l=t.options[0]==="both",{blockScopedFunctions:p}=t.options[1],u=t.sourceCode,r=t.languageOptions.ecmaVersion;function m(i){const c=i.parent;c.type==="BlockStatement"&&n.has(c.parent.type)||e.has(c.type)||t.report({node:i,messageId:"moveDeclToRoot",data:{type:i.type==="FunctionDeclaration"?"function":"variable",body:o(i)}})}return{FunctionDeclaration(i){const c=u.getScope(i).upper.isStrict;p==="allow"&&r>=2015&&c||m(i)},VariableDeclaration(i){l&&i.kind==="var"&&m(i)}}}},Ml}var jl,Cv;function VT(){if(Cv)return jl;Cv=1;const a=ur().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:l}]=t.options;let p=[];if(l){const h=l.join("").replace(new RegExp(`[${n}]`,"gu"),"");h&&(p=[...new Set(h)])}function u(h,s){t.report({node:h,messageId:"regexMessage",data:{message:s}})}function r(h){return h&&h.type==="Literal"&&typeof h.value=="string"}function m(h){return h.arguments.length<2?"":r(h.arguments[1])?h.arguments[1].value:null}function i(h,s){try{return e.validatePattern(h,o,o,s),null}catch(f){return f.message}}function c(h,s,f){const g=[];if(typeof s=="string")for(const d of s)f.includes(d)&&g.push(d);return h&&h.includes("u")&&h.includes("v")?"Regex 'u' and 'v' flags cannot be used together":g.length>0?`Duplicate flags ('${g.join("")}') supplied to RegExp constructor`:s?`Invalid flags supplied to RegExp constructor '${s}'`:null}return{"CallExpression, NewExpression"(h){if(h.callee.type!=="Identifier"||h.callee.name!=="RegExp")return;const s=m(h);let f=s;const g=p.length>0?n.split("").concat(p):n.split("");s&&g.forEach(S=>{f=f.replace(S,"")});let d=c(s,f,g);if(d){u(h,d);return}if(!r(h.arguments[0]))return;const E=h.arguments[0].value;d=s===null?i(E,{unicode:!0,unicodeSets:!1})&&i(E,{unicode:!1,unicodeSets:!0})&&i(E,{unicode:!1,unicodeSets:!1}):i(E,{unicode:s.includes("u"),unicodeSets:s.includes("v")}),d&&u(h,d)}}}},jl}var Ul,wv;function $T(){if(wv)return Ul;wv=1;const a=Ue();function e(n,o){return n.origin==="function"&&o.type==="ArrowFunctionExpression"}return Ul={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=[],l=n.sourceCode;return t.getCurrent=function(){const p=this.at(-1);return p.init||(p.init=!0,p.valid=!a.isDefaultThisBinding(p.node,l,{capIsConstructor:o})),p},{onCodePathStart(p,u){if(!e(p,u)){if(p.origin==="program"){const r=l.getScope(u),m=n.languageOptions.parserOptions.ecmaFeatures||{};t.push({init:!0,node:u,valid:!(u.sourceType==="module"||m.globalReturn&&r.childScopes[0].isStrict)});return}t.push({init:!l.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"})}}}},Ul}var ql,Av;function WT(){if(Av)return ql;Av=1;const a=Ue(),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]+/gu,o=/[\u2028\u2029]/gu,t=a.createGlobalLinebreakMatcher();return ql={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(l){const[{skipComments:p,skipStrings:u,skipRegExps:r,skipTemplates:m,skipJSXText:i}]=l.options,c=l.sourceCode,h=c.getAllComments();let s=[];function f(A){const b=A.loc.start,w=A.loc.end;s=s.filter(({loc:{start:k}})=>k.line<b.line||k.line===b.line&&k.column<b.column||k.line===w.line&&k.column>=w.column||k.line>w.line)}function g(A){const b=u&&typeof A.value=="string",w=r&&!!A.regex;(b||w)&&e.test(A.raw)&&f(A)}function d(A){typeof A.value.raw=="string"&&e.test(A.value.raw)&&f(A)}function E(A){e.test(A.value)&&f(A)}function S(A){e.test(A.raw)&&f(A)}function x(A){c.lines.forEach((w,k)=>{const R=k+1;let F;for(;(F=n.exec(w))!==null;)s.push({node:A,messageId:"noIrregularWhitespace",loc:{start:{line:R,column:F.index},end:{line:R,column:F.index+F[0].length}}})})}function T(A){const b=c.getText(),w=c.lines,k=b.match(t);let R=-1,F;for(;(F=o.exec(b))!==null;){const L=k.indexOf(F[0],R+1)||0;s.push({node:A,messageId:"noIrregularWhitespace",loc:{start:{line:L+1,column:w[L].length},end:{line:L+2,column:0}}}),R=L}}function C(){}const v={};return e.test(c.getText())?(v.Program=function(A){x(A),T(A)},v.Literal=g,v.TemplateElement=m?d:C,v.JSXText=i?S:C,v["Program:exit"]=function(){p&&h.forEach(E),s.forEach(A=>l.report(A))}):v.Program=C,v}},ql}var Vl,Tv;function GT(){if(Tv)return Vl;Tv=1;const{getStaticPropertyName:a}=Ue();return Vl={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"})}}}},Vl}var $l,kv;function zT(){if(kv)return $l;kv=1;const a=Ue();return $l={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,l){return a.getVariableByName(t,l)!==null}return{LabeledStatement(t){const l=n.getScope(t);o(l,t.label.name)&&e.report({node:t,messageId:"identifierClashWithLabel"})}}}},$l}var Wl,Dv;function HT(){if(Dv)return Wl;Dv=1;const a=Ue();return Wl={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 l(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 m=t;for(;m;){if(m.label===r)return m.kind;m=m.upper}return"other"}return{LabeledStatement(r){t={label:r.label.name,kind:l(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"})}}}},Wl}var Gl,Iv;function KT(){return Iv||(Iv=1,Gl={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 l(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){l(u)&&t(u)}},a.languageOptions.ecmaVersion>=2015&&(n={BlockStatement(u){l(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}}),Gl}var zl,Pv;function XT(){if(Pv)return zl;Pv=1;const a=Ue();return zl={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,l=t.parent;t&&t.type==="BlockStatement"&&t.body.length===1&&!a.areBracesNecessary(t,n)&&l&&l.type==="IfStatement"&&t===l.alternate&&e.report({node:o,messageId:"unexpectedLonelyIf",fix(p){const u=n.getFirstToken(t),r=n.getLastToken(t),m=n.getTokenBefore(u),i=n.getTokenAfter(r),c=n.getLastToken(o.consequent),h=n.getText();return h.slice(u.range[1],o.range[0]).trim()||h.slice(o.range[1],r.range[0]).trim()||o.consequent.type!=="BlockStatement"&&c.value!==";"&&i&&(o.consequent.loc.end.line===i.loc.start.line||/^[([/+`-]/u.test(i.value)||c.value==="++"||c.value==="--")?null:p.replaceTextRange([u.range[0],r.range[1]],(m.range[1]===u.range[0]?" ":"")+n.getText(o))}})}}}},zl}var Hl,Fv;function JT(){if(Fv)return Hl;Fv=1;const a=new Set(["const","using","await using"]);function e(n){return(n.type==="FunctionExpression"||n.type==="ArrowFunctionExpression")&&n.parent&&n.parent.type==="CallExpression"&&n.parent.callee===n}return Hl={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(n){const o=new Set,t=n.sourceCode;function l(m){for(let i=m;i.parent;i=i.parent){const c=i.parent;switch(c.type){case"WhileStatement":case"DoWhileStatement":return c;case"ForStatement":if(c.init!==i)return c;break;case"ForInStatement":case"ForOfStatement":if(c.right!==i)return c;break;case"ArrowFunctionExpression":case"FunctionExpression":case"FunctionDeclaration":if(o.has(c))break;return null}}return null}function p(m,i){const c=i?i.range[1]:0;let h=m,s=m;for(;s&&s.range[0]>=c;)h=s,s=l(s);return h}function u(m,i){const c=i.resolved,h=c&&c.defs[0],s=h&&h.parent,f=s&&s.type==="VariableDeclaration"?s.kind:"";if(a.has(f)||f==="let"&&s.range[0]>m.range[0]&&s.range[1]<m.range[1])return!0;const g=p(m,f==="let"?s:null).range[0];function d(E){const S=E.identifier;return!E.isWrite()||c.scope.variableScope===E.from.variableScope&&S.range[0]<g}return!!c&&c.references.every(d)}function r(m){const i=l(m);if(!i)return;const c=t.getScope(m).through;if(!(m.async||m.generator)&&e(m)&&!(m.type==="FunctionExpression"&&m.id?c.some(g=>g.identifier.name===m.id.name):!1)){o.add(m);return}const h=[...new Set(c.filter(s=>s.resolved&&!u(i,s)).map(s=>s.identifier.name))];h.length>0&&n.report({node:m,messageId:"unsafeRefs",data:{varNames:`'${h.join("', '")}'`}})}return{ArrowFunctionExpression:r,FunctionExpression:r,FunctionDeclaration:r}}},Hl}var Kl,Rv;function YT(){return Rv||(Rv=1,Kl={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(g=>!s.raw.startsWith(g))&&!/^0[0-7]+$/u.test(s.raw)}function t(s){const f=n(s).toUpperCase();let g;return f.startsWith("0B")?g=2:f.startsWith("0X")?g=16:g=8,!f.endsWith(s.value.toString(g).toUpperCase())}function l(s){return`${s[0]}.${s.slice(1)}`}function p(s){for(let f=0;f<s.length;f++)if(s[f]!=="0")return s.slice(f);return s}function u(s){for(let f=s.length-1;f>=0;f--)if(s[f]!=="0")return s.slice(0,f+1);return s}function r(s){const f=u(p(s));return{magnitude:s.startsWith("0")?s.length-2:s.length-1,coefficient:l(f)}}function m(s){const f=p(s);if(f.startsWith(".")){const g=f.slice(1),d=p(g);return{magnitude:d.length-g.length-1,coefficient:l(d)}}return{magnitude:f.indexOf(".")-1,coefficient:l(f.replace(".",""))}}function i(s){const f=s.replace("E","e").split("e"),g=f[0],d=s.includes(".")?m(g):r(g),E=d.coefficient,S=f.length>1?parseInt(f[1],10)+d.magnitude:d.magnitude;return`${E}e${S}`}function c(s){const f=n(s);if(f.includes(".")&&f.includes("e")){const x=f.split("e"),T=x[0],C=parseInt(x[1],10),v=T.split(".");if(v.length===2&&v[1].match(/0*$/u)[0].length===C)return!1}const g=i(f),d=g.split("e")[0].replace(".","").length;if(d>100)return!0;const E=s.value.toPrecision(d),S=i(E);return g!==S}function h(s){return o(s)?c(s):t(s)}return{Literal(s){s.value&&e(s)&&h(s)&&a.report({messageId:"noLossOfPrecision",node:s})}}}}),Kl}var Xl,_v;function QT(){if(_v)return Xl;_v=1;const a=Ue(),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 l(u){return!!(u.parent?.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 Xl={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]||{},m=!!r.detectObjects,i=!!r.enforceConst,c=new Set((r.ignore||[]).map(n)),h=!!r.ignoreArrayIndexes,s=!!r.ignoreDefaultValues,f=!!r.ignoreClassFieldInitialValues,g=!!r.ignoreEnums,d=!!r.ignoreNumericLiteralTypes,E=!!r.ignoreReadonlyClassProperties,S=!!r.ignoreTypeIndexes,x=m?[]:["ObjectExpression","Property","AssignmentExpression"];function T(k){return c.has(k)}function C(k){const R=k.parent;return R.type==="AssignmentPattern"&&R.right===k}function v(k){const R=k.parent;return R.type==="PropertyDefinition"&&R.value===k}function A(k){const R=k.parent;return R.type==="CallExpression"&&k===R.arguments[1]&&(a.isSpecificId(R.callee,"parseInt")||a.isSpecificMemberAccess(R.callee,"Number","parseInt"))}function b(k){return k.parent.type.indexOf("JSX")===0}function w(k,R){const F=k.parent;return F.type==="MemberExpression"&&F.property===k&&(Number.isInteger(R)||typeof R=="bigint")&&R>=0&&R<e}return{Literal(k){if(!a.isNumericLiteral(k))return;let R,F,L;k.parent.type==="UnaryExpression"&&["-","+"].includes(k.parent.operator)?(R=k.parent,F=k.parent.operator==="-"?-k.value:k.value,L=`${k.parent.operator}${k.raw}`):(R=k,F=k.value,L=k.raw);const P=R.parent;T(F)||s&&C(R)||f&&v(R)||g&&o(R)||d&&t(R)||S&&p(R)||E&&l(R)||A(R)||b(R)||h&&w(R,F)||(P.type==="VariableDeclarator"?i&&P.parent.kind!=="const"&&u.report({node:R,messageId:"useConst"}):(!x.includes(P.type)||P.type==="AssignmentExpression"&&P.left.type==="Identifier")&&u.report({node:R,messageId:"noMagic",data:{raw:L}}))}}}},Xl}var Jl,Bv;function ZT(){return Bv||(Bv=1,Jl=function(e){return/^[\p{Mc}\p{Me}\p{Mn}]$/u.test(String.fromCodePoint(e))}),Jl}var Yl,Lv;function ek(){return Lv||(Lv=1,Yl=function(e){return e>=127995&&e<=127999}),Yl}var Ql,Ov;function tk(){return Ov||(Ov=1,Ql=function(e){return e>=127462&&e<=127487}),Ql}var Zl,Nv;function rk(){return Nv||(Nv=1,Zl=function(e,n){return e>=55296&&e<56320&&n>=56320&&n<57344}),Zl}var eu,Mv;function nk(){if(Mv)return eu;Mv=1;const a=ZT(),e=ek(),n=tk(),o=rk();return eu={isCombiningCharacter:a,isEmojiModifier:e,isRegionalIndicatorSymbol:n,isSurrogatePair:o},eu}var tu,jv;function ru(){if(jv)return tu;jv=1;const{RegExpValidator:a}=ur(),e=2025;function n(o,t,l="u"){if(l==="u"&&o<=5||l==="v"&&o<=2023)return!1;const p=new a({ecmaVersion:Math.min(o,e)});try{p.validatePattern(t,void 0,void 0,l==="u"?{unicode:!0}:{unicodeSets:!0})}catch{return!1}return!0}return tu={isValidWithUnicodeFlag:n,REGEXPP_LATEST_ECMA_VERSION:e},tu}var nu,Uv;function sk(){if(Uv)return nu;Uv=1;class a{constructor(c,h){this.start=c,this.source=h}get end(){return this.start+this.length}get length(){return this.source.length}}class e{constructor(c){this.source=c,this.pos=0}advance(c){this.pos+=c}read(c=0,h=1){const s=c+this.pos;return this.source.slice(s,s+h)}}const n={__proto__:null,b:"\b",f:"\f",n:`
98
- `,r:"\r",t:" ",v:"\v"};function o(i,c){const h=i.read(0,c),s=parseInt(h,16);return i.advance(c),String.fromCharCode(s)}function t(i){const c=/\{(?<hexDigits>[\dA-F]+)\}/iuy;c.lastIndex=i.pos;const h=c.exec(i.source);if(h){const s=parseInt(h.groups.hexDigits,16);return i.pos=c.lastIndex,String.fromCodePoint(s)}return o(i,4)}function l(i,c){const[h]=i.read(-1,c).match(/^[0-7]+/u);i.advance(h.length-1);const s=parseInt(h,8);return String.fromCharCode(s)}function p(i){const c=i.read(1);i.advance(2);const h=n[c];if(h)return h;switch(c){case"x":return o(i,2);case"u":return t(i);case"\r":i.read()===`
99
- `&&i.advance(1);case`
100
- `:case"\u2028":case"\u2029":return"";case"0":case"1":case"2":case"3":return l(i,3);case"4":case"5":case"6":case"7":return l(i,2);default:return c}}function*u(i){const c=i.pos,h=p(i),s=i.pos,f=i.source.slice(c,s);switch(h.length){case 0:break;case 1:yield new a(c,f);break;default:yield new a(c,f),yield new a(c,f);break}}function r(i){const c=new e(i),h=c.read();c.advance(1);const s=[];for(;;){const f=c.read();if(f===h)break;f==="\\"?s.push(...u(c)):(s.push(new a(c.pos,f)),c.advance(1))}return s}function m(i){const c=new e(i);c.advance(1);const h=[];for(;;){const s=c.read();if(s==="`"||s==="$"&&c.read(1)==="{")break;if(s==="\\")h.push(...u(c));else{let f;s==="\r"&&c.read(1)===`
101
- `?f=`\r
102
- `:f=s,h.push(new a(c.pos,f)),c.advance(f.length)}}return h}return nu={parseStringLiteral:r,parseTemplateToken:m},nu}var su,qv;function ak(){if(qv)return su;qv=1;const{CALL:a,CONSTRUCT:e,ReferenceTracker:n,getStaticValue:o,getStringIfConstant:t}=qt(),{RegExpParser:l,visitRegExpAST:p}=ur(),{isCombiningCharacter:u,isEmojiModifier:r,isRegionalIndicatorSymbol:m,isSurrogatePair:i}=nk(),c=Ue(),{isValidWithUnicodeFlag:h}=ru(),{parseStringLiteral:s,parseTemplateToken:f}=sk();function*g(v){let A=[];for(const b of v)switch(b.type){case"Character":A.push(b);break;case"CharacterClassRange":A.push(b.min),yield A,A=[b.max];break;case"CharacterSet":case"CharacterClass":case"ClassStringDisjunction":case"ExpressionCharacterClass":A.length>0&&(yield A,A=[]);break}A.length>0&&(yield A)}function d(v){return/^\\u\{[\da-f]+\}$/iu.test(v.raw)}const E={*surrogatePairWithoutUFlag(v){for(const[A,b]of v.entries()){const w=v[A-1];w&&b&&i(w.value,b.value)&&!d(w)&&!d(b)&&(yield[w,b])}},*surrogatePair(v){for(const[A,b]of v.entries()){const w=v[A-1];w&&b&&i(w.value,b.value)&&(d(w)||d(b))&&(yield[w,b])}},*combiningClass(v,A){for(const[b,w]of v.entries()){const k=A[b-1];k&&w&&u(w.value)&&!u(k.value)&&(yield[k,w])}},*emojiModifier(v){for(const[A,b]of v.entries()){const w=v[A-1];w&&b&&r(b.value)&&!r(w.value)&&(yield[w,b])}},*regionalIndicatorSymbol(v){for(const[A,b]of v.entries()){const w=v[A-1];w&&b&&m(b.value)&&m(w.value)&&(yield[w,b])}},*zwj(v){let A=null;for(const[b,w]of v.entries()){const k=v[b-1],R=v[b+1];k&&w&&R&&w.value===8205&&k.value!==8205&&R.value!==8205&&(A?A.at(-1)===k?A.push(w,R):(yield A,A=v.slice(b-1,b+2)):A=v.slice(b-1,b+2))}A&&(yield A)}},S=Object.keys(E);function x(v,A){if(!v)return null;if(v.type==="Literal"&&v.regex)return{regex:v.regex};const b=o(v,A);return b?.value instanceof RegExp?null:b}function T(v,A){return A.startsWith("\\")?new RegExp("(?<=^\\\\+).$","su").exec(A)?.[0]!==String.fromCodePoint(v.value):!1}function C(v,A,b){const w=v.start,k=v.end-1,R=b[w].start,F=b[k].end,L=A.slice(R,F);return T(v,L)}return su={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(v){const A=v.options[0]?.allowEscape,b=v.sourceCode,w=new l,k=new Set;function R(F,L,P,O){let q;try{q=w.parsePattern(L,0,L.length,{unicode:P.includes("u"),unicodeSets:P.includes("v")})}catch{return}let N=null;function _(z){if(F.type==="Literal"&&F.regex)return T(z,z.raw);if(F.type==="Literal"&&typeof F.value=="string"){const H=F.raw;return N??=s(H),C(z,H,N)}if(c.isStaticTemplateLiteral(F)){const H=b.getText(F);return N??=f(H),C(z,H,N)}return!1}const G=new Map;p(q,{onCharacterClassEnter(z){for(const H of g(z.elements)){let ce;A?ce=H.map(re=>_(re)?null:re):ce=H;for(const re of S){const Fe=E[re](ce,H);G.has(re)?G.get(re).push(...Fe):G.set(re,[...Fe])}}}});function B(z){return!c.isStaticTemplateLiteral(F)&&F.type!=="Literal"?z.length?[F.loc]:[]:z.map(H=>{const ce=H[0].start,re=H.at(-1).end-1;let Fe,X;if(F.type==="TemplateLiteral"){const I=b.getText(F),W=F.range[0];N??=f(I),Fe=W+N[ce].start,X=W+N[re].end}else if(typeof F.value=="string"){const I=F.raw,W=F.range[0];N??=s(I),Fe=W+N[ce].start,X=W+N[re].end}else{const I=F.range[0]+1;Fe=I+ce,X=I+re+1}return{start:b.getLocFromIndex(Fe),end:b.getLocFromIndex(X)}})}for(const[z,H]of G){let ce;z==="surrogatePairWithoutUFlag"&&(ce=[{messageId:"suggestUnicodeFlag",fix:O}]);const re=B(H);for(const Fe of re)v.report({node:F,loc:Fe,messageId:z,suggest:ce})}}return{"Literal[regex]"(F){k.has(F)||R(F,F.regex.pattern,F.regex.flags,L=>h(v.languageOptions.ecmaVersion,F.regex.pattern)?L.insertTextAfter(F,"u"):null)},Program(F){const L=b.getScope(F),P=new n(L);for(const{node:O}of P.iterateGlobalReferences({RegExp:{[a]:!0,[e]:!0}})){let q,N;const[_,G]=O.arguments,B=x(_,L);if(B){if(G)B.regex?(q=B.regex.pattern,k.add(_)):q=String(B.value),N=t(G,L);else{if(B.regex)continue;q=String(B.value),N=""}typeof N=="string"&&R(_,q,N,z=>{if(!h(v.languageOptions.ecmaVersion,q))return null;if(O.arguments.length===1){const H=b.getLastToken(O,{skip:1});return z.insertTextAfter(H,c.isCommaToken(H)?' "u",':', "u"')}if(G.type==="Literal"&&typeof G.value=="string"||G.type==="TemplateLiteral"){const H=[G.range[0],G.range[1]-1];return z.insertTextAfterRange(H,"u")}return null})}}}}}},su}var au,Vv;function ik(){if(Vv)return au;Vv=1;const a=Ue(),e=["+","-","*","/","%","**"],n=["&","|","^","~","<<",">>",">>>"],o=["==","!=","===","!==",">",">=","<","<="],t=["&&","||"],l=["in","instanceof"],p=["?:"],u=["??"],r=[].concat(e,n,o,t,l,p,u),m=[e,n,o,t,l],i=/^(?:Binary|Logical|Conditional)Expression$/u;function c(f={}){const d=f.groups&&f.groups.length>0?f.groups:m,E=f.allowSamePrecedence!==!1;return{groups:d,allowSamePrecedence:E}}function h(f,g,d){return f.some(E=>E.includes(g)&&E.includes(d))}function s(f){return f.type==="ConditionalExpression"?f.test:f.left}return au={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",url:"https://eslint.style"},rule:{name:"no-mixed-operators",url:"https://eslint.style/rules/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(f){const g=f.sourceCode,d=c(f.options[0]);function E(v){const A=v,b=v.parent;return!h(d.groups,A.operator,b.type==="ConditionalExpression"?"?:":b.operator)||d.allowSamePrecedence&&a.getPrecedence(A)===a.getPrecedence(b)}function S(v){return v.operator!==v.parent.operator&&!a.isParenthesised(g,v)}function x(v){return g.getTokenAfter(s(v),a.isNotClosingParenToken)}function T(v){const A=v.parent,b=s(A)===v?v:A,w=s(A)!==v?v:A,k={leftOperator:b.operator||"?:",rightOperator:w.operator||"?:"};f.report({node:b,loc:x(b).loc,messageId:"unexpectedMixedOperator",data:k}),f.report({node:w,loc:x(w).loc,messageId:"unexpectedMixedOperator",data:k})}function C(v){i.test(v.parent.type)&&S(v)&&!E(v)&&T(v)}return{BinaryExpression:C,LogicalExpression:C}}},au}var iu,$v;function ok(){return $v||($v=1,iu={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 l=t(),p="require",u="uninitialized",r="other",m="core",i="file",c="module",h="computed";function s(E){return E?E.type==="CallExpression"&&E.callee.type==="Identifier"&&E.callee.name==="require"?p:o&&E.type==="CallExpression"&&E.callee.type==="CallExpression"?s(E.callee):E.type==="MemberExpression"?s(E.object):r:u}function f(E){if(E.type==="MemberExpression")return f(E.object);if(E.arguments.length===0)return h;const S=E.arguments[0];return S.type!=="Literal"||typeof S.value!="string"?h:l.includes(S.value)?m:/^\.{0,2}\//u.test(S.value)?i:c}function g(E){const S={};return E.forEach(x=>{const T=s(x.init);S[T]=!0}),!!(S[p]&&(S[u]||S[r]))}function d(E){const S={};return E.forEach(x=>{s(x.init)===p&&(S[f(x.init)]=!0)}),Object.keys(S).length<=1}return{VariableDeclaration(E){g(E.declarations)?a.report({node:E,messageId:"noMixRequire"}):n&&!d(E.declarations)&&a.report({node:E,messageId:"noMixCoreModuleFileComputed"})}}}}),iu}var ou,Wv;function lk(){return Wv||(Wv=1,ou={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",url:"https://eslint.style"},rule:{name:"no-mixed-spaces-and-tabs",url:"https://eslint.style/rules/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,l=e.getAllComments(),p=new Set;l.forEach(r=>{for(let m=r.loc.start.line+1;m<=r.loc.end.line;m++)p.add(m)});let u=/^(?=( +|\t+))\1(?:\t| )/u;n&&(u=/^(?=(\t*))\1(?=( +))\2\t/u),t.forEach((r,m)=>{const i=u.exec(r);if(i){const c=m+1,h={start:{line:c,column:i[0].length-2},end:{line:c,column:i[0].length}};if(!p.has(c)){const s=e.getNodeByRangeIndex(e.getIndexFromLoc(h.start));s&&["Literal","TemplateElement"].includes(s.type)||a.report({node:o,loc:h,messageId:"mixedSpacesAndTabs"})}}})}}}}),ou}var lu,Gv;function uk(){return Gv||(Gv=1,lu={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"})}}}}),lu}var uu,zv;function ck(){if(zv)return uu;zv=1;const a=Ue();return uu={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",url:"https://eslint.style"},rule:{name:"no-multi-spaces",url:"https://eslint.style/rules/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,l=Object.assign({Property:!0},o.exceptions),p=Object.keys(l).some(r=>l[r]);function u(r){const m=r.value.split(`
103
- `),i=m[0],c=`${i.slice(0,12)}...`;return m.length===1&&i.length<=12?i:c}return{Program(){n.tokensAndComments.forEach((r,m,i)=>{if(m===i.length-1)return;const c=i[m+1];if(!n.text.slice(r.range[1],c.range[0]).includes(" ")||r.loc.end.line<c.loc.start.line||t&&a.isCommentToken(c)&&(m===i.length-2||c.loc.end.line<i[m+2].loc.start.line))return;if(p){const s=n.getNodeByRangeIndex(c.range[0]-1);if(s&&l[s.type])return}let h;c.type==="Block"?h=`/*${u(c)}*/`:c.type==="Line"?h=`//${u(c)}`:h=c.value,e.report({node:c,loc:{start:r.loc.end,end:c.loc.start},messageId:"multipleSpaces",data:{displayValue:h},fix:s=>s.replaceTextRange([r.range[1],c.range[0]]," ")})})}}}},uu}var cu,Hv;function fk(){if(Hv)return cu;Hv=1;const a=Ue();return cu={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"})}}}},cu}var fu,Kv;function pk(){return Kv||(Kv=1,fu={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",url:"https://eslint.style"},rule:{name:"no-multiple-empty-lines",url:"https://eslint.style/rules/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,l=t.lines.at(-1)===""?t.lines.slice(0,-1):t.lines,p=new Set;return{TemplateLiteral(u){u.quasis.forEach(r=>{for(let m=r.loc.start.line;m<r.loc.end.line;m++)p.add(m)})},"Program:exit"(u){return l.reduce((r,m,i)=>((m.trim()||p.has(i+1))&&r.push(i+1),r),[]).concat(l.length+1).reduce((r,m)=>{let i,c;return r===0?(i="blankBeginningOfFile",c=o):m===l.length+1?(i="blankEndOfFile",c=n):(i="consecutiveBlank",c=e),m-r-1>c&&a.report({node:u,loc:{start:{line:r+c+1,column:0},end:{line:m,column:0}},messageId:i,data:{max:c,pluralizedLines:c===1?"line":"lines"},fix(h){const s=t.getIndexFromLoc({line:r+1,column:0}),f=m-c,g=f<=l.length?t.getIndexFromLoc({line:f,column:0}):t.text.length;return h.removeRange([s,g])}}),m},0)}}}}),fu}var pu,Xv;function mk(){return Xv||(Xv=1,pu={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 m=p.identifier;p.init===!1&&p.isWrite()&&(u===0||r[u-1].identifier!==m)&&a.report({node:m,messageId:"nativeReassign",data:m})}function l(p){p.writeable===!1&&!n.includes(p.name)&&p.references.forEach(t)}return{Program(p){o.getScope(p).variables.forEach(l)}}}}),pu}var mu,Jv;function hk(){return Jv||(Jv=1,mu={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(l){return l.alternate&&l.alternate.type!=="IfStatement"}function n(l){return l.type==="UnaryExpression"&&l.operator==="!"}function o(l){return l.type==="BinaryExpression"&&(l.operator==="!="||l.operator==="!==")}function t(l){return n(l.test)||o(l.test)}return{IfStatement(l){e(l)&&t(l)&&a.report({node:l,messageId:"unexpectedNegated"})},ConditionalExpression(l){t(l)&&a.report({node:l,messageId:"unexpectedNegated"})}}}}),mu}var hu,Yv;function dk(){return Yv||(Yv=1,hu={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"})}}}}),hu}var du,Qv;function gk(){return Qv||(Qv=1,du={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"})}}}}),du}var gu,Zv;function yk(){return Zv||(Zv=1,gu={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"})}}}}),gu}var yu,eE;function vk(){if(eE)return yu;eE=1;const a=Ue(),e=new Set(["apply","bind","call"]);return yu={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:m}=r;let i;if(m){if(r===m.callee&&(m.type==="NewExpression"||m.type==="CallExpression"))i=m;else if(m.type==="MemberExpression"&&r===m.object&&e.has(a.getStaticPropertyName(m))){const c=m.parent.type==="ChainExpression"?m.parent:m;c.parent.type==="CallExpression"&&c.parent.callee===c&&(i=c.parent)}}i&&n.report({node:i,messageId:"noFunctionConstructor"})})}}}},yu}var vu,tE;function Ek(){if(tE)return vu;tE=1;const a=["Symbol","BigInt"];return vu={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 l of a){const p=t.set.get(l);p&&p.defs.length===0&&p.references.forEach(u=>{const r=u.identifier,m=r.parent;m&&m.type==="NewExpression"&&m.callee===r&&e.report({node:r,messageId:"noNewNonconstructor",data:{name:l}})})}}}}},vu}var Eu,rE;function Sk(){if(rE)return Eu;rE=1;const a=Ue();return Eu={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"})}}}},Eu}var Su,nE;function bk(){return nE||(nE=1,Su={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"})}}}}),Su}var bu,sE;function xk(){return sE||(sE=1,bu={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(l=>{const p=l.identifier,u=p.parent;u&&u.type==="NewExpression"&&u.callee===p&&a.report({node:p,messageId:"noNewSymbol"})})}}}}),bu}var xu,aE;function Ck(){if(aE)return xu;aE=1;const{getVariableByName:a}=Ue();return xu={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:l}=o.callee;if(t.includes(l)){const p=a(n.getScope(o),l);p&&p.identifiers.length===0&&e.report({node:o,messageId:"noConstructor",data:{fn:l}})}}}}},xu}var Cu,iE;function wk(){if(iE)return Cu;iE=1;const a=/\\[89]/u;function e(n){return`\\u${n.charCodeAt(0).toString(16).padStart(4,"0")}`}return Cu={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(l,p,u){return{messageId:l,data:{original:o.getText().slice(...p),replacement:u},fix(r){return r.replaceTextRange(p,u)}}}return{Literal(l){if(typeof l.value!="string"||!a.test(l.raw))return;const p=/(?:[^\\]|(?<previousEscape>\\.))*?(?<decimalEscape>\\[89])/suy;let u;for(;u=p.exec(l.raw);){const{previousEscape:r,decimalEscape:m}=u.groups,i=l.range[0]+u.index+u[0].length,c=i-m.length,h=[c,i],s=[];r==="\\0"?s.push(t("refactor",[c-r.length,i],`${e("\0")}${m[1]}`),t("refactor",h,e(m[1]))):s.push(t("refactor",h,m[1])),s.push(t("escapeBackslash",h,`\\${m}`)),n.report({node:l,loc:{start:o.getLocFromIndex(c),end:o.getLocFromIndex(i)},messageId:"decimalEscape",data:{decimalEscape:m},suggest:s})}}}}},Cu}var wu,oE;function Ak(){if(oE)return wu;oE=1;const{CALL:a,CONSTRUCT:e,ReferenceTracker:n}=qt(),o=Ue().getStaticPropertyName,t=["Atomics","JSON","Math","Reflect","Intl"];function l(p){return p.type==="ChainExpression"?l(p.expression):p.type==="MemberExpression"?o(p):p.name}return wu={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 m=u.getScope(r),i=new n(m),c={};for(const h of t)c[h]={[a]:!0,[e]:!0};for(const{node:h,path:s}of i.iterateGlobalReferences(c)){const f=l(h.callee),g=s[0],d=f===g?"unexpectedCall":"unexpectedRefCall";p.report({node:h,messageId:d,data:{name:f,ref:g}})}}}}},wu}var Au,lE;function Tk(){if(lE)return Au;lE=1;const{getVariableByName:a,isArrowToken:e,isStartOfExpressionStatement:n,needsPrecedingSemicolon:o}=Ue();return Au={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 l=t.sourceCode;function p(r){if(n(r))return!0;const m=l.getTokenBefore(r);return!!(m&&e(m))}function u(r){if(r.callee.type!=="Identifier"||r.callee.name!=="Object"||r.arguments.length)return;const m=a(l.getScope(r),"Object");if(m&&m.identifiers.length===0){let i,c,h="useLiteral";p(r)?(i="({})",o(l,r)?(c=";({})",h="useLiteralAfterSemicolon"):c="({})"):i=c="{}",t.report({node:r,messageId:"preferLiteral",suggest:[{messageId:h,data:{replacement:i},fix:s=>s.replaceText(r,c)}]})}}return{CallExpression:u,NewExpression:u}}},Au}var Tu,uE;function kk(){return uE||(uE=1,Tu={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\d/u.test(e.raw)&&a.report({node:e,messageId:"noOctal"})}}}}),Tu}var ku,cE;function Dk(){return cE||(cE=1,ku={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]}})}}}}),ku}var Du,fE;function Ik(){if(fE)return Du;fE=1;const a=/(?:Statement|Declaration|Function(?:Expression)?|Program)$/u;return Du={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||[],l=e.sourceCode;function p(c){let h=c.identifier,s=h.parent;for(;s&&(!a.test(s.type)||s.type==="ForInStatement"||s.type==="ForOfStatement");){switch(s.type){case"AssignmentExpression":return s.left===h;case"UpdateExpression":return!0;case"UnaryExpression":if(s.operator==="delete")return!0;break;case"ForInStatement":case"ForOfStatement":return s.left===h;case"CallExpression":if(s.callee!==h)return!1;break;case"MemberExpression":if(s.property===h)return!1;break;case"Property":if(s.key===h)return!1;break;case"ConditionalExpression":if(s.test===h)return!1;break}h=s,s=h.parent}return!1}function u(c){return o.includes(c)||t.some(h=>new RegExp(h,"u").test(c))}function r(c,h,s){const f=c.identifier;f&&!c.init&&(h===0||s[h-1].identifier!==f)&&(c.isWrite()?e.report({node:f,messageId:"assignmentToFunctionParam",data:{name:f.name}}):n&&p(c)&&!u(f.name)&&e.report({node:f,messageId:"assignmentToFunctionParamProp",data:{name:f.name}}))}function m(c){c.defs[0].type==="Parameter"&&c.references.forEach(r)}function i(c){l.getDeclaredVariables(c).forEach(m)}return{"FunctionDeclaration:exit":i,"FunctionExpression:exit":i,"ArrowFunctionExpression:exit":i}}},Du}var Iu,pE;function Pk(){return pE||(pE=1,Iu={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"})}}}}),Iu}var Pu,mE;function Fk(){if(mE)return Pu;mE=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 Pu={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}})}}}},Pu}var Fu,hE;function Rk(){return hE||(hE=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-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"})}}}}),Fu}var Ru,dE;function _k(){return dE||(dE=1,Ru={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"})}}}}),Ru}var _u,gE;function Bk(){if(gE)return _u;gE=1;const a=Ue(),e=new Set(["ArrowFunctionExpression","FunctionExpression"]);function n(p,u){const r=p.parent;return r.type==="NewExpression"&&r.arguments[0]===p&&r.callee.type==="Identifier"&&r.callee.name==="Promise"&&u.isGlobalReference(r.callee)}function o(p){return p.type==="UnaryExpression"&&p.operator==="void"}function t(p,u,r){const m=a.getPrecedence(u)<a.getPrecedence({type:"UnaryExpression",operator:"void"})&&!a.isParenthesised(p,u),i=p.getTokenBefore(u,u.parent.type==="ArrowFunctionExpression"?a.isArrowToken:s=>s.type==="Keyword"&&s.value==="return"),c=p.getTokenAfter(i),h=i.value==="return"&&i.range[1]===c.range[0];return[r.insertTextBefore(c,`${h?" ":""}void ${m?"(":""}`),r.insertTextAfter(u,m?")":"")]}function l(p,u,r){const m=p.getTokenBefore(u.body,a.isArrowToken),i=p.getTokenAfter(m),c=p.getLastToken(u);return[r.insertTextBefore(i,"{"),r.insertTextAfter(c,"}")]}return _u={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(p){let u=null;const r=p.sourceCode,[{allowVoid:m}]=p.options;return{onCodePathStart(i,c){if(u={upper:u,shouldCheck:e.has(c.type)&&n(c,r)},u.shouldCheck&&c.type==="ArrowFunctionExpression"&&c.expression&&!(m&&o(c.body))){const h=[];m&&h.push({messageId:"prependVoid",fix(s){return t(r,c.body,s)}}),c.body.type==="FunctionExpression"&&!c.body.id||h.push({messageId:"wrapBraces",fix(s){return l(r,c,s)}}),p.report({node:c.body,messageId:"returnsValue",suggest:h})}},onCodePathEnd(){u=u.upper},ReturnStatement(i){if(u.shouldCheck&&i.argument){if(!m){p.report({node:i,messageId:"returnsValue"});return}o(i.argument)||p.report({node:i,messageId:"returnsValue",suggest:[{messageId:"prependVoid",fix(c){return t(r,i.argument,c)}}]})}}}}},_u}var Bu,yE;function Lk(){if(yE)return Bu;yE=1;const{getStaticPropertyName:a}=Ue();return Bu={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"})}}}},Bu}var Lu,vE;function Ok(){if(vE)return Lu;vE=1;const a=Ue();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 Lu={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(l){const p=a.skipChainExpression(l.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:l,suggest:[{messageId:"callObjectPrototype",data:{prop:u},fix(r){const m=n.sourceCode;if(e(l)||l.callee.type==="ChainExpression")return null;const i=a.getVariableByName(m.getScope(l),"Object");if(!i||i.scope.type!=="global"||i.defs.length>0)return null;let c=m.getText(p.object);a.getPrecedence(p.object)<=a.getPrecedence({type:"SequenceExpression"})&&(c=`(${c})`);const h=m.getTokenAfter(l.callee,a.isOpeningParenToken),f=l.arguments.length===0?"":", ";return[r.replaceText(p,`Object.prototype.${u}.call`),r.insertTextAfter(h,c+f)]}}]})}return{CallExpression:t}}},Lu}var Ou,EE;function Nk(){if(EE)return Ou;EE=1;const a=Ue();return Ou={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 l(u){for(const r of u.variables){const[m,...i]=t(r);if(i.length===0)continue;const c=m.type==="builtin"?"redeclaredAsBuiltin":"redeclaredBySyntax",h={id:r.name};for(const{type:s,node:f,loc:g}of i){const d=s===m.type?"redeclared":c;e.report({node:f,loc:g,messageId:d,data:h})}}}function p(u){const r=o.getScope(u);r.block===u&&l(r)}return{Program(u){const r=o.getScope(u);l(r),r.type==="global"&&r.childScopes[0]&&r.block===r.childScopes[0].block&&l(r.childScopes[0])},FunctionDeclaration:p,FunctionExpression:p,ArrowFunctionExpression:p,StaticBlock:p,BlockStatement:p,ForStatement:p,ForInStatement:p,ForOfStatement:p,SwitchStatement:p}}},Ou}var Nu,SE;function Mk(){if(SE)return Nu;SE=1;const a=Ue(),e=ur(),n=new e.RegExpParser,o=/ {2}/u;function t(l){return l&&l.type==="Literal"&&typeof l.value=="string"}return Nu={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(l){const p=l.sourceCode;function u(i,c,h,s,f){if(!o.test(h))return;const g=[];let d;try{d=n.parsePattern(c,0,c.length,{unicode:f.includes("u"),unicodeSets:f.includes("v")})}catch{return}e.visitRegExpAST(d,{onCharacterClassEnter(x){g.push(x)}});const E=/( {2,})(?: [+*{?]|[^+*{?]|$)/gu;let S;for(;S=E.exec(c);){const{1:{length:x},index:T}=S;if(g.every(({start:C,end:v})=>T<C||v<=T)){l.report({node:i,messageId:"multipleSpaces",data:{length:x},fix(C){return c!==h?null:C.replaceTextRange([s+T,s+T+x],` {${x}}`)}});return}}}function r(i){if(i.regex){const c=i.regex.pattern,h=i.raw.slice(1,i.raw.lastIndexOf("/")),s=i.range[0]+1,f=i.regex.flags;u(i,c,h,s,f)}}function m(i){const c=p.getScope(i),h=a.getVariableByName(c,"RegExp"),s=h&&h.defs.length>0,f=i.arguments[0];if(i.callee.type==="Identifier"&&i.callee.name==="RegExp"&&t(f)&&!s){const g=f.value,d=f.raw.slice(1,-1),E=f.range[0]+1;let S;if(i.arguments.length<2)S="";else{const x=i.arguments[1];if(t(x))S=x.value;else return}u(i,g,d,E,S)}}return{Literal:r,CallExpression:m,NewExpression:m}}},Nu}var Mu,bE;function jk(){if(bE)return Mu;bE=1;const a=Ue();return Mu={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,l=e.sourceCode;function p(u){const r=a.getModuleExportName(u);let m=!1;if(o&&r!=="default"&&(m=new RegExp(o,"u").test(r)),m||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,c=a.getModuleExportName(u.parent.local);if(!i&&t&&t.named){e.report({node:u,messageId:"restrictedDefault"});return}i&&t&&(c==="default"&&t.defaultFrom||c!=="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"&&l.getDeclaredVariables(r).map(m=>m.defs.find(i=>i.parent===r)).map(m=>m.name).forEach(p):u.specifiers.map(m=>m.exported).forEach(p)}}}},Mu}var ju,xE;function Uk(){if(xE)return ju;xE=1;const a=Ue(),e=new Set(["TSTypeReference","TSInterfaceHeritage","TSClassImplements","TSTypeQuery","TSQualifiedName"]),n=new Set(["globalThis","self","window"]),o={type:"array",items:{oneOf:[{type:"string"},{type:"object",properties:{name:{type:"string"},message:{type:"string"}},required:["name"],additionalProperties:!1}]},uniqueItems:!0,minItems:0};return ju={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",docs:{description:"Disallow specified global variables",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-restricted-globals"},schema:{anyOf:[o,{type:"array",items:[{type:"object",properties:{globals:o,checkGlobalObject:{type:"boolean"},globalObjects:{type:"array",items:{type:"string"},uniqueItems:!0}},required:["globals"],additionalProperties:!1}],additionalItems:!1}]},messages:{defaultMessage:"Unexpected use of '{{name}}'.",customMessage:"Unexpected use of '{{name}}'. {{customMessage}}"}},create(t){const{sourceCode:l,options:p}=t,u=typeof p[0]=="object"&&Object.hasOwn(p[0],"globals"),r=u?p[0].globals:p,m=u?p[0].checkGlobalObject:!1,i=u?p[0].globalObjects||[]:[],c=new Set([...n,...i]);if(r.length===0)return{};const h=r.reduce((d,E)=>(typeof E=="string"?d[E]=null:d[E.name]=E.message,d),{});function s(d){const E=d.identifier.name,S=h[E],x=S?"customMessage":"defaultMessage";t.report({node:d.identifier,messageId:x,data:{name:E,customMessage:S}})}function f(d){return Object.hasOwn(h,d)}function g(d){const E=d.identifier.parent;return e.has(E.type)}return{Program(d){const E=l.getScope(d);E.variables.forEach(S=>{!S.defs.length&&f(S.name)&&S.references.forEach(x=>{g(x)||s(x)})}),E.through.forEach(S=>{f(S.identifier.name)&&!g(S)&&s(S)})},"Program:exit"(d){if(!m)return;const E=l.getScope(d);c.forEach(S=>{const x=a.getVariableByName(E,S);x&&x.references.forEach(T=>{let v=T.identifier.parent;for(;a.isSpecificMemberAccess(v,null,S);)v=v.parent;const A=a.getStaticPropertyName(v);if(A&&f(A)){const b=h[A],w=b?"customMessage":"defaultMessage";t.report({node:v.property,messageId:w,data:{name:A,customMessage:b}})}})})}}}},ju}var Uu,CE;function wE(){if(CE)return Uu;CE=1;function a(q){return Array.isArray(q)?q:[q]}const e="",n=" ",o="\\",t=/^\s+$/,l=/(?:[^\\]|^)\\$/,p=/^\\!/,u=/^\\#/,r=/\r?\n/g,m=/^\.*\/|^\.+$/,i="/";let c="node-ignore";typeof Symbol<"u"&&(c=Symbol.for("node-ignore"));const h=c,s=(q,N,_)=>Object.defineProperty(q,N,{value:_}),f=/([0-z])-([0-z])/g,g=()=>!1,d=q=>q.replace(f,(N,_,G)=>_.charCodeAt(0)<=G.charCodeAt(0)?N:e),E=q=>{const{length:N}=q;return q.slice(0,N-N%2)},S=[[/^\uFEFF/,()=>e],[/((?:\\\\)*?)(\\?\s+)$/,(q,N,_)=>N+(_.indexOf("\\")===0?n:e)],[/(\\+?)\s/g,(q,N)=>{const{length:_}=N;return N.slice(0,_-_%2)+n}],[/[\\$.|*+(){^]/g,q=>`\\${q}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(q,N,_)=>N+6<_.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(q,N,_)=>{const G=_.replace(/\\\*/g,"[^\\/]*");return N+G}],[/\\\\\\(?=[$.|*+(){^])/g,()=>o],[/\\\\/g,()=>o],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(q,N,_,G,B)=>N===o?`\\[${_}${E(G)}${B}`:B==="]"&&G.length%2===0?`[${d(_)}${G}]`:"[]"],[/(?:[^*])$/,q=>/\/$/.test(q)?`${q}$`:`${q}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(q,N)=>`${N?`${N}[^/]+`:"[^/]*"}(?=$|\\/$)`]],x=Object.create(null),T=(q,N)=>{let _=x[q];return _||(_=S.reduce((G,[B,z])=>G.replace(B,z.bind(q)),q),x[q]=_),N?new RegExp(_,"i"):new RegExp(_)},C=q=>typeof q=="string",v=q=>q&&C(q)&&!t.test(q)&&!l.test(q)&&q.indexOf("#")!==0,A=q=>q.split(r);class b{constructor(N,_,G,B){this.origin=N,this.pattern=_,this.negative=G,this.regex=B}}const w=(q,N)=>{const _=q;let G=!1;q.indexOf("!")===0&&(G=!0,q=q.substr(1)),q=q.replace(p,"!").replace(u,"#");const B=T(q,N);return new b(_,q,G,B)},k=(q,N)=>{throw new N(q)},R=(q,N,_)=>C(q)?q?R.isNotRelative(q)?_(`path should be a \`path.relative()\`d string, but got "${N}"`,RangeError):!0:_("path must not be empty",TypeError):_(`path must be a string, but got \`${N}\``,TypeError),F=q=>m.test(q);R.isNotRelative=F,R.convert=q=>q;class L{constructor({ignorecase:N=!0,ignoreCase:_=N,allowRelativePaths:G=!1}={}){s(this,h,!0),this._rules=[],this._ignoreCase=_,this._allowRelativePaths=G,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(N){if(N&&N[h]){this._rules=this._rules.concat(N._rules),this._added=!0;return}if(v(N)){const _=w(N,this._ignoreCase);this._added=!0,this._rules.push(_)}}add(N){return this._added=!1,a(C(N)?A(N):N).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(N){return this.add(N)}_testOne(N,_){let G=!1,B=!1;return this._rules.forEach(z=>{const{negative:H}=z;if(B===H&&G!==B||H&&!G&&!B&&!_)return;z.regex.test(N)&&(G=!H,B=H)}),{ignored:G,unignored:B}}_test(N,_,G,B){const z=N&&R.convert(N);return R(z,N,this._allowRelativePaths?g:k),this._t(z,_,G,B)}_t(N,_,G,B){if(N in _)return _[N];if(B||(B=N.split(i)),B.pop(),!B.length)return _[N]=this._testOne(N,G);const z=this._t(B.join(i)+i,_,G,B);return _[N]=z.ignored?z:this._testOne(N,G)}ignores(N){return this._test(N,this._ignoreCache,!1).ignored}createFilter(){return N=>!this.ignores(N)}filter(N){return a(N).filter(this.createFilter())}test(N){return this._test(N,this._testCache,!0)}}const P=q=>new L(q),O=q=>R(q&&R.convert(q),q,g);if(P.isPathValid=O,P.default=P,Uu=P,typeof Ft<"u"&&(Ft.env&&Ft.env.IGNORE_TEST_WIN32||Ft.platform==="win32")){const q=_=>/^\\\\\?\\/.test(_)||/["<>|\u0000-\u001F]+/u.test(_)?_:_.replace(/\\/g,"/");R.convert=q;const N=/^[a-z]:\//i;R.isNotRelative=_=>N.test(_)||F(_)}return Uu}var qu,AE;function qk(){if(AE)return qu;AE=1;const a=Ue(),e=wE(),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 qu={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 l=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)||[],m=r.reduce((d,E)=>{const S=typeof E=="string"?E:E.name;return d[S]||(d[S]=[]),typeof E=="string"?d[S].push({}):d[S].push({message:E.message,importNames:E.importNames,allowImportNames:E.allowImportNames}),d},Object.create(null));let i=(u?p[0].patterns:[])||[];i.length>0&&typeof i[0]=="string"&&(i=[{group:i}]);const c=i.map(({group:d,regex:E,message:S,caseSensitive:x,importNames:T,importNamePattern:C,allowImportNames:v,allowImportNamePattern:A})=>({...d?{matcher:e({allowRelativePaths:!0,ignorecase:!x}).add(d)}:{},...typeof E=="string"?{regexMatcher:new RegExp(E,x?"u":"iu")}:{},customMessage:S,importNames:T,importNamePattern:C,allowImportNames:v,allowImportNamePattern:A}));if(Object.keys(r).length===0&&c.length===0)return{};function h(d,E,S){Object.hasOwn(m,d)&&m[d].forEach(x=>{const T=x.message,C=x.importNames,v=x.allowImportNames;if(!C&&!v){t.report({node:S,messageId:T?"pathWithCustomMessage":"path",data:{importSource:d,customMessage:T}});return}E.forEach((A,b)=>{if(b==="*"){const[w]=A;C?t.report({node:S,messageId:T?"everythingWithCustomMessage":"everything",loc:w.loc,data:{importSource:d,importNames:C,customMessage:T}}):v&&t.report({node:S,messageId:T?"everythingWithAllowImportNamesAndCustomMessage":"everythingWithAllowImportNames",loc:w.loc,data:{importSource:d,allowedImportNames:v,customMessage:T}});return}C&&C.includes(b)&&A.forEach(w=>{t.report({node:S,messageId:T?"importNameWithCustomMessage":"importName",loc:w.loc,data:{importSource:d,customMessage:T,importName:b}})}),v&&!v.includes(b)&&A.forEach(w=>{t.report({node:S,loc:w.loc,messageId:T?"allowedImportNameWithCustomMessage":"allowedImportName",data:{importSource:d,customMessage:T,importName:b,allowedImportNames:v}})})})})}function s(d,E,S){const x=d.source.value.trim(),T=E.customMessage,C=E.importNames,v=E.importNamePattern?new RegExp(E.importNamePattern,"u"):null,A=E.allowImportNames,b=E.allowImportNamePattern?new RegExp(E.allowImportNamePattern,"u"):null;if(!C&&!A&&!v&&!b){t.report({node:d,messageId:T?"patternWithCustomMessage":"patterns",data:{importSource:x,customMessage:T}});return}S.forEach((w,k)=>{if(k==="*"){const[R]=w;C?t.report({node:d,messageId:T?"patternAndEverythingWithCustomMessage":"patternAndEverything",loc:R.loc,data:{importSource:x,importNames:C,customMessage:T}}):A?t.report({node:d,messageId:T?"everythingWithAllowImportNamesAndCustomMessage":"everythingWithAllowImportNames",loc:R.loc,data:{importSource:x,allowedImportNames:A,customMessage:T}}):b?t.report({node:d,messageId:T?"everythingWithAllowedImportNamePatternWithCustomMessage":"everythingWithAllowedImportNamePattern",loc:R.loc,data:{importSource:x,allowedImportNamePattern:b,customMessage:T}}):t.report({node:d,messageId:T?"patternAndEverythingWithRegexImportNameAndCustomMessage":"patternAndEverythingWithRegexImportName",loc:R.loc,data:{importSource:x,importNames:v,customMessage:T}});return}(C&&C.includes(k)||v&&v.test(k))&&w.forEach(R=>{t.report({node:d,messageId:T?"patternAndImportNameWithCustomMessage":"patternAndImportName",loc:R.loc,data:{importSource:x,customMessage:T,importName:k}})}),A&&!A.includes(k)?w.forEach(R=>{t.report({node:d,messageId:T?"allowedImportNameWithCustomMessage":"allowedImportName",loc:R.loc,data:{importSource:x,customMessage:T,importName:k,allowedImportNames:A}})}):b&&!b.test(k)&&w.forEach(R=>{t.report({node:d,messageId:T?"allowedImportNamePatternWithCustomMessage":"allowedImportNamePattern",loc:R.loc,data:{importSource:x,customMessage:T,importName:k,allowedImportNamePattern:b}})})})}function f(d,E){return E.regexMatcher?E.regexMatcher.test(d):E.matcher.ignores(d)}function g(d){const E=d.source.value.trim(),S=new Map;if(d.type==="ExportAllDeclaration"){const x=l.getFirstToken(d,1);S.set("*",[{loc:x.loc}])}else if(d.specifiers)for(const x of d.specifiers){let T;const C={loc:x.loc};x.type==="ImportDefaultSpecifier"?T="default":x.type==="ImportNamespaceSpecifier"?T="*":x.imported?T=a.getModuleExportName(x.imported):x.local&&(T=a.getModuleExportName(x.local)),typeof T=="string"&&(S.has(T)?S.get(T).push(C):S.set(T,[C]))}h(E,S,d),c.forEach(x=>{f(E,x)&&s(d,x,S)})}return{ImportDeclaration:g,ExportNamedDeclaration(d){d.source&&g(d)},ExportAllDeclaration:g}}},qu}var Vu,TE;function Vk(){if(TE)return Vu;TE=1;const a=Ue(),e=wE(),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 Vu={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 l=Array.isArray(t.options)?t.options:[],p=typeof l[0]=="object"&&(Object.hasOwn(l[0],"paths")||Object.hasOwn(l[0],"patterns")),u=(p?l[0].paths:t.options)||[],r=(p?l[0].patterns:[])||[],m=u.reduce((d,E)=>(typeof E=="string"?d[E]=null:d[E.name]=E.message,d),{});if(Object.keys(u).length===0&&r.length===0)return{};const i=e({allowRelativePaths:!0}).add(r);function c(d){return d&&d.type==="Literal"&&typeof d.value=="string"}function h(d){return d.callee.type==="Identifier"&&d.callee.name==="require"}function s(d){return c(d)?d.value.trim():a.isStaticTemplateLiteral(d)?d.quasis[0].value.cooked.trim():null}function f(d,E){const S=m[E],x=S?"customMessage":"defaultMessage";t.report({node:d,messageId:x,data:{name:E,customMessage:S}})}function g(d){return Object.hasOwn(m,d)}return{CallExpression(d){if(h(d)&&d.arguments.length){const E=s(d.arguments[0]);E&&(g(E)&&f(d,E),r.length>0&&i.ignores(E)&&t.report({node:d,messageId:"patternMessage",data:{name:E}}))}}}}},Vu}var $u,kE;function $k(){if(kE)return $u;kE=1;const a=Ue();return $u={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},allowProperties:{type:"array",items:{type:"string"},uniqueItems:!0},message:{type:"string"}},anyOf:[{required:["object"]},{required:["property"]}],not:{anyOf:[{required:["allowObjects","object"]},{required:["allowProperties","property"]}]},additionalProperties:!1},uniqueItems:!0},messages:{restrictedObjectProperty:"'{{objectName}}.{{propertyName}}' is restricted from being used.{{allowedPropertiesMessage}}{{message}}",restrictedProperty:"'{{propertyName}}' is restricted from being used.{{allowedObjectsMessage}}{{message}}"}},create(e){const n=e.options;if(n.length===0)return{};const o=new Map,t=new Map,l=new Map;n.forEach(r=>{const m=r.object,i=r.property;typeof m>"u"?l.set(i,{allowObjects:r.allowObjects,message:r.message}):typeof i>"u"?t.set(m,{allowProperties:r.allowProperties,message:r.message}):(o.has(m)||o.set(m,new Map),o.get(m).set(i,{message:r.message}))});function p(r,m){return m?m.includes(r):!1}function u(r,m,i){if(i===null)return;const c=o.get(m),h=c?c.get(i):t.get(m),s=l.get(i);if(h&&!p(i,h.allowProperties)){const f=h.message?` ${h.message}`:"",g=h.allowProperties?` Only these properties are allowed: ${h.allowProperties.join(", ")}.`:"";e.report({node:r,messageId:"restrictedObjectProperty",data:{objectName:m,propertyName:i,message:f,allowedPropertiesMessage:g}})}else if(s&&!p(m,s.allowObjects)){const f=s.message?` ${s.message}`:"",g=s.allowObjects?` Property '${i}' is only allowed on these objects: ${s.allowObjects.join(", ")}.`:"";e.report({node:r,messageId:"restrictedProperty",data:{propertyName:i,message:f,allowedObjectsMessage:g}})}}return{MemberExpression(r){u(r,r.object&&r.object.name,a.getStaticPropertyName(r))},ObjectPattern(r){let m=null;r.parent.type==="VariableDeclarator"?r.parent.init&&r.parent.init.type==="Identifier"&&(m=r.parent.init.name):(r.parent.type==="AssignmentExpression"||r.parent.type==="AssignmentPattern")&&r.parent.right.type==="Identifier"&&(m=r.parent.right.name),r.properties.forEach(i=>{u(r,m,a.getStaticPropertyName(i))})}}}},$u}var Wu,DE;function Wk(){return DE||(DE=1,Wu={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,l=o?n:n.selector,p=t?n.message:`Using '${l}' is not allowed.`;return Object.assign(e,{[l](u){a.report({node:u,messageId:"restrictedSyntax",data:{message:p}})}})},{})}}),Wu}var Gu,IE;function Gk(){if(IE)return Gu;IE=1;const a=Ue(),e=/^(?:[a-zA-Z]+?Statement|ArrowFunctionExpression|FunctionExpression|ClassExpression)$/u;return Gu={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(l){if(!o&&a.isParenthesised(t,l))return;let p=l,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"})}}}},Gu}var zu,PE;function zk(){if(PE)return zu;PE=1;const a=Ue();return zu={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(l){e.report({node:e.sourceCode.getFirstToken(l),loc:l.loc,messageId:"redundantUseOfAwait",suggest:[{messageId:"removeAwait",fix(p){const u=e.sourceCode,[r,m]=u.getFirstTokens(l,2);if(!(r.loc.start.line===m.loc.start.line))return null;const[c,h]=r.range,f=u.text[h]===" "?1:0,g=[c,h+f];return p.removeRange(g)}}]})}function o(l){let p=l;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(l){return l.parent.type==="ArrowFunctionExpression"?!0:l.parent.type==="ReturnStatement"?!o(l.parent):l.parent.type==="ConditionalExpression"&&(l===l.parent.consequent||l===l.parent.alternate)||l.parent.type==="LogicalExpression"&&l===l.parent.right||l.parent.type==="SequenceExpression"&&l===l.parent.expressions.at(-1)?t(l.parent):!1}return{AwaitExpression(l){t(l)&&!o(l)&&n(l)}}}},zu}var Hu,FE;function Hk(){if(FE)return Hu;FE=1;const a=Ue();return Hu={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)}}}},Hu}var Ku,RE;function Kk(){if(RE)return Ku;RE=1;const a=Ue(),e=/\s+/gu;function n(o,t,l,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 m=o.elements[r],i=t.elements[r];if(m&&m.type==="RestElement"&&r<t.elements.length-1||(n(m,i,l,p),i&&i.type==="SpreadElement"))break}}else if(o.type==="RestElement"&&t.type==="SpreadElement")n(o.argument,t.argument,l,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 m=t.properties[r].type;if(m==="SpreadElement"||m==="ExperimentalSpreadProperty"){u=r+1;break}}for(let r=0;r<o.properties.length;++r)for(let m=u;m<t.properties.length;++m)n(o.properties[r],t.properties[m],l,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,l,p)}else l&&a.skipChainExpression(o).type==="MemberExpression"&&a.skipChainExpression(t).type==="MemberExpression"&&a.isSameReference(o,t)&&p(t)}return Ku={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:l}]=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,l,p)}}}},Ku}var Xu,_E;function Xk(){return _E||(_E=1,Xu={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 l=e.getTokens(o),p=e.getTokens(t);return l.length===p.length&&l.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"})}}}}),Xu}var Ju,BE;function Jk(){if(BE)return Ju;BE=1;const a=Ue();return Ju={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 l(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 m=o.getTokenBefore(r,1),i=o.getTokenAfter(r,1);return p(r)&&m&&i&&a.isOpeningParenToken(m)&&m.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(l(r)){if(u(r))return}else if(p(r))return}const m=o.getTokenAfter(r.expressions[0],a.isCommaToken);e.report({node:r,loc:m.loc,messageId:"unexpectedCommaExpression"})}}}},Ju}var Yu,LE;function Yk(){if(LE)return Yu;LE=1;const a=Ue();function e(t,l,p,u,r){const m=t.parent;return m.type==="CallExpression"&&m.arguments[r]===t&&a.isSpecificMemberAccess(m.callee,p,u)&&l.isGlobalReference(a.skipChainExpression(m.callee).object)}function n(t,l){if(e(t,l,"Object","defineProperty",2)||e(t,l,"Reflect","defineProperty",2))return!0;const p=t.parent;if(p.type==="Property"&&p.value===t){const u=p.parent;if(u.type==="ObjectExpression"&&(e(u,l,"Object","create",1)||e(u,l,"Object","defineProperties",1)))return!0}return!1}function o(t,l){const p=t.parent;return!!((p.type==="Property"||p.type==="MethodDefinition")&&p.kind==="set"&&p.value===t||p.type==="Property"&&p.value===t&&a.getStaticPropertyName(p)==="set"&&p.parent.type==="ObjectExpression"&&n(p.parent,l))}return Yu={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(t){let l=null;const p=t.sourceCode;function u(i){l={upper:l,isSetter:o(i,p)}}function r(){l=l.upper}function m(i){t.report({node:i,messageId:"returnsValue"})}return{FunctionDeclaration:u,FunctionExpression:u,ArrowFunctionExpression(i){u(i),l.isSetter&&i.expression&&m(i.body)},"FunctionDeclaration:exit":r,"FunctionExpression:exit":r,"ArrowFunctionExpression:exit":r,ReturnStatement(i){l&&l.isSetter&&i.argument&&m(i)}}}},Yu}var Qu,OE;function Qk(){if(OE)return Qu;OE=1;const a=Ue(),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,l=new Set(["TSInterfaceDeclaration","TSTypeAliasDeclaration"]),p=new Set(["TSCallSignatureDeclaration","TSFunctionType","TSMethodSignature","TSEmptyBodyFunctionExpression","TSDeclareFunction","TSConstructSignatureDeclaration","TSConstructorType"]);return Qu={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:m,allow:i,ignoreOnInitialization:c,ignoreTypeValueShadow:h,ignoreFunctionTypeParameterNameValueShadow:s}]=u.options,f=u.sourceCode;function g(G){return G.block.kind==="global"||!!G.upper&&g(G.upper)}function d(G){return G.name==="this"}function E(G,B){if(h!==!0||!("isValueVariable"in G))return!1;const z=B.defs[0],H=z&&z.parent?.type==="ImportDeclaration"&&(z.parent.importKind==="type"||z.parent.specifiers.some(re=>re.importKind==="type")),ce=!z||(H?!1:B.isValueVariable);return G.isValueVariable!==ce}function S(G){return s!==!0?!1:G.defs.some(B=>p.has(B.node.type))}function x(G){const z=G.identifiers[0].parent.parent;return z.type!=="TSTypeParameterDeclaration"?!1:z.parent.parent.static}function T(G){return x(G)}function C(G,B){return G&&G.range[0]<=B&&B<=G.range[1]}function v(G,B){let z=G;for(;z&&!B(z);)z=z.parent;return z}function A(G){const B=G.upper;return B&&B.type==="function-expression-name"?B.upper:B}function b(G,B){const z=B.defs[0];if(!z)return!1;const{variableScope:H}=G.scope;if(!(e.has(H.block.type)&&A(H)===B.scope))return!1;const ce=H.block,{parent:re}=ce,Fe=v(re,W=>n.has(W.type));if(!Fe)return!1;let X=z.name;const I=Fe.range[1];for(;X;){if(X.type==="VariableDeclarator"){if(C(X.init,I)||o.test(X.parent.parent.type)&&C(X.parent.parent.right,I))return!0;break}else if(X.type==="AssignmentPattern"){if(C(X.right,I))return!0}else if(t.test(X.type))break;X=X.parent}return!1}function w(G){return i.includes(G.name)}function k(G){const B=G.scope.block;return B.type==="ClassDeclaration"&&B.id===G.identifiers[0]}function R(G,B){const z=B.scope,H=B.defs[0],ce=H&&H.parent&&H.parent.range,re=G.scope,Fe=G.defs[0],X=Fe&&Fe.name.range;return ce&&X&&ce[0]<X[0]&&X[1]<ce[1]&&(Fe.type==="FunctionName"&&Fe.node.type==="FunctionExpression"||Fe.node.type==="ClassExpression")&&z===re.upper}function F(G){const B=G.defs[0];return B&&B.name.range}function L(G){const B=G.identifiers[0];let z;return B?z={global:!1,line:B.loc.start.line,column:B.loc.start.column+1}:z={global:!0},z}function P(G,B){const z=B.defs[0],H=F(G),ce=F(B);return!ce||H[1]>=ce[0]?!1:m==="types"?!l.has(z.node.type):m==="functions-and-types"?z.node.type!=="FunctionDeclaration"&&!l.has(z.node.type):H&&ce&&H[1]<ce[0]&&(m!=="functions"||!z||z.node.type!=="FunctionDeclaration")}function O(G){const B=u.filename;return!B.endsWith(".d.ts")&&!B.endsWith(".d.cts")&&!B.endsWith(".d.mts")?!1:G.defs.some(z=>z.type==="Variable"&&z.parent.declare||z.type==="ClassName"&&z.node.declare||z.type==="TSEnumName"&&z.node.declare||z.type==="TSModuleName"&&z.node.declare)}function q(G){const B=G.scope.block;return B.type==="TSEnumDeclaration"&&B.id===G.identifiers[0]}function N(G,B,z){const H=z.defs[0];if(!H||!H.parent||!(H.parent.type==="ImportDeclaration"&&(H.parent.importKind==="type"||H.parent.specifiers?.some(I=>I.type==="ImportSpecifier"&&I.importKind==="type"&&I.local.name===z.name))))return!1;const re=v(B.identifiers[0]?.parent,I=>I.type==="TSModuleDeclaration");if(!re)return!1;const Fe=H.parent.source.value,X=re.id.type==="Literal"?re.id.value:re.id.name;return Fe===X}function _(G){if(g(G))return;const B=G.variables;for(let z=0;z<B.length;++z){const H=B[z];if(H.identifiers.length===0||k(H)||q(H)||w(H)||O(H)||d(H))continue;const ce=a.getVariableByName(G.upper,H.name);if(ce&&(ce.identifiers.length>0||r&&"writeable"in ce)&&!R(H,ce)&&!(c&&b(H,ce))&&!(m!=="all"&&P(H,ce))&&!E(H,ce)&&!S(H)&&!T(H)&&!N(G,H,ce)){const re=L(ce),Fe=re.global?"noShadowGlobal":"noShadow",X={name:H.name};re.global||(X.shadowedLine=re.line,X.shadowedColumn=re.column),u.report({node:H.identifiers[0],messageId:Fe,data:X})}}}return{"Program:exit"(G){const z=f.getScope(G).childScopes.slice();for(;z.length;){const H=z.pop();z.push(...H.childScopes),_(H)}}}}},Qu}var Zu,NE;function Zk(){if(NE)return Zu;NE=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 Zu={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,l=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 m=r.name;l.has(m)||(l.add(m),e.report({node:m,messageId:"shadowingRestrictedName",data:{name:u.name}}))}}}}},Zu}var ec,ME;function eD(){return ME||(ME=1,ec={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",url:"https://eslint.style"},rule:{name:"function-call-spacing",url:"https://eslint.style/rules/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 l=t,p=e.getTokenAfter(t);for(;p&&p.range[1]<o.range[1]&&p.value!=="(";)l=p,p=e.getTokenAfter(p);p&&p.range[1]<o.range[1]&&e.isSpaceBetweenTokens(l,p)&&a.report({node:o,loc:t.loc.start,messageId:"noSpacedFunction",fix(u){return u.removeRange([l.range[1],p.range[0]])}})}return{CallExpression:n,NewExpression:n}}}),ec}var tc,jE;function tD(){if(jE)return tc;jE=1;const a=Ue();return tc={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[l,p]of n.elements.entries()){if(l===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"})}}}}},tc}var rc,UE;function rD(){return UE||(UE=1,rc={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}})}}}}),rc}var nc,qE;function nD(){if(qE)return nc;qE=1;const a=/\t+/gu,e=/\S/u;return nc={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",url:"https://eslint.style"},rule:{name:"no-tabs",url:"https://eslint.style/rules/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(l){o.getLines().forEach((p,u)=>{let r;for(;(r=a.exec(p))!==null;)t&&!e.test(p.slice(0,r.index))||n.report({node:l,loc:{start:{line:u+1,column:r.index},end:{line:u+1,column:r.index+r[0].length}},messageId:"unexpectedTab"})})}}}},nc}var sc,VE;function sD(){return VE||(VE=1,sc={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"})}}}}),sc}var ac,$E;function aD(){return $E||($E=1,ac={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"})}}}}),ac}var ic,WE;function iD(){if(WE)return ic;WE=1;const a=Ue();function e(o){return o.type==="FunctionExpression"&&o.parent.type==="MethodDefinition"&&o.parent.kind==="constructor"}class n{superCalled=!1;invalidNodes=[]}return ic={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,l=Object.create(null);function p(h){return!h.reachable||l[h.id]?.superCalled}function u(){return!!(t&&t.isConstructor&&t.hasExtends)}function r(h){for(const s of h)if(!p(s))return!1;return!0}function m(){return u()&&!r(t.currentSegments)}function i(h){const s=t.currentSegments;for(const f of s)f.reachable&&l[f.id].invalidNodes.push(h)}function c(){const h=t.currentSegments;for(const s of h)s.reachable&&(l[s.id].superCalled=!0)}return{onCodePathStart(h,s){if(e(s)){const f=s.parent.parent.parent;t={upper:t,isConstructor:!0,hasExtends:!!(f.superClass&&!a.isNullOrUndefined(f.superClass)),codePath:h,currentSegments:new Set}}else t={upper:t,isConstructor:!1,hasExtends:!1,codePath:h,currentSegments:new Set}},onCodePathEnd(h){const s=t.hasExtends;if(t=t.upper,!s)return;const f=new Set;h.traverseSegments((g,d)=>{const E=l[g.id],S=E.invalidNodes.filter(x=>!f.has(x));for(const x of S)f.add(x),o.report({messageId:"noBeforeSuper",node:x,data:{kind:x.type==="Super"?"super":"this"}});E.superCalled&&d.skip()})},onCodePathSegmentStart(h){t.currentSegments.add(h),u()&&(l[h.id]={superCalled:h.prevSegments.length>0&&h.prevSegments.every(p),invalidNodes:[]})},onUnreachableCodePathSegmentStart(h){t.currentSegments.add(h)},onUnreachableCodePathSegmentEnd(h){t.currentSegments.delete(h)},onCodePathSegmentEnd(h){t.currentSegments.delete(h)},onCodePathSegmentLoop(h,s){u()&&t.codePath.traverseSegments({first:s,last:h},(f,g)=>{const d=l[f.id]??new n;d.superCalled?g.skip():f.prevSegments.length>0&&f.prevSegments.every(p)&&(d.superCalled=!0),l[f.id]=d})},ThisExpression(h){m()&&i(h)},Super(h){!a.isCallee(h)&&m()&&i(h)},"CallExpression:exit"(h){h.callee.type==="Super"&&m()&&c()},"Program:exit"(){l=Object.create(null)}}}},ic}var oc,GE;function oD(){if(GE)return oc;GE=1;const a=Ue();return oc={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"})}}}},oc}var lc,zE;function lD(){if(zE)return lc;zE=1;const a=Ue();return lc={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",url:"https://eslint.style"},rule:{name:"no-trailing-spaces",url:"https://eslint.style/rules/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}*$`,l=`${o}+$`,p=e.options[0]||{},u=p.skipBlankLines||!1,r=p.ignoreComments||!1;function m(c,h,s){e.report({node:c,loc:h,messageId:"trailingSpace",fix(f){return f.removeRange(s)}})}function i(c){const h=new Set;return c.forEach(s=>{const f=s.type==="Block"?s.loc.end.line-1:s.loc.end.line;for(let g=s.loc.start.line;g<=f;g++)h.add(g)}),h}return{Program:function(h){const s=new RegExp(l,"u"),f=new RegExp(t,"u"),g=n.lines,d=n.getText().match(a.createGlobalLinebreakMatcher()),E=n.getAllComments(),S=i(E);let x=0;for(let T=0,C=g.length;T<C;T++){const v=T+1,A=d&&d[T]?d[T].length:1,b=g[T].length+A,w=s.exec(g[T]);if(w){const k={start:{line:v,column:w.index},end:{line:v,column:b-A}},R=x+k.start.column,F=x+k.end.column,L=n.getNodeByRangeIndex(R);if(L&&L.type==="TemplateElement"&&R>L.parent.range[0]&&F<L.parent.range[1]){x+=b;continue}if(u&&f.test(g[T])){x+=b;continue}const P=[R,F];(!r||!S.has(v))&&m(h,k,P)}x+=b}}}}},lc}var uc,HE;function uD(){return HE||(HE=1,uc={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}})}}}}),uc}var cc,KE;function cD(){if(KE)return cc;KE=1;function a(e){const n=e.parent;return n.type==="UnaryExpression"&&n.operator==="typeof"}return cc={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})})}}}},cc}var fc,XE;function fD(){if(XE)return fc;XE=1;const a=Ue(),e=new Set(["const","using","await using"]);return fc={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(n){const o=n.sourceCode;return{VariableDeclarator(t){const l=o.getText(t.id),p=t.init&&t.init.name,u=o.getScope(t),r=a.getVariableByName(u,"undefined"),m=r&&r.defs.length>0,i=o.getLastToken(t);p==="undefined"&&!e.has(t.parent.kind)&&!m&&n.report({node:t,messageId:"unnecessaryUndefinedInit",data:{name:l},fix(c){return t.parent.kind==="var"||t.id.type==="ArrayPattern"||t.id.type==="ObjectPattern"||o.commentsExistBetween(t.id,i)?null:c.removeRange([t.id.range[1],t.range[1]])}})}}}},fc}var pc,JE;function pD(){return JE||(JE=1,pc={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 l=t.set.get("undefined");if(!l)return;const p=l.references,u=l.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)}}}}}),pc}var mc,YE;function mD(){return YE||(YE=1,mc={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:l,allowInArrayDestructuring:p,allowInObjectDestructuring:u,enforceInClassFields:r,enforceInMethodNames:m}]=a.options,i=a.sourceCode;function c(v){return e.includes(v)}function h(v){const A=v.length;return v!=="_"&&(v[0]==="_"||v[A-1]==="_")}function s(v){return v==="__proto__"}function f(v){return v==="_"}function g(v){return v.object.type==="MemberExpression"&&v.object.property.name==="constructor"&&v.object.object.type==="ThisExpression"}function d(v){l||v.params.forEach(A=>{const{type:b}=A;let w;if(b==="RestElement"?w=A.argument:b==="AssignmentPattern"?w=A.left:w=A,w.type==="Identifier"){const k=w.name;h(k)&&!c(k)&&a.report({node:A,messageId:"unexpectedUnderscore",data:{identifier:k}})}})}function E(v){if(v.type==="FunctionDeclaration"&&v.id){const A=v.id.name;typeof A<"u"&&h(A)&&!c(A)&&a.report({node:v,messageId:"unexpectedUnderscore",data:{identifier:A}})}d(v)}function S(v){i.getDeclaredVariables(v).forEach(A=>{const w=A.defs.find(F=>F.node===v).name,k=w.name;let R=w.parent;for(;!["VariableDeclarator","ArrayPattern","ObjectPattern"].includes(R.type);)R=R.parent;h(k)&&!f(k)&&!c(k)&&!(p&&R.type==="ArrayPattern")&&!(u&&R.type==="ObjectPattern")&&a.report({node:v,messageId:"unexpectedUnderscore",data:{identifier:k}})})}function x(v){const A=v.property.name,b=v.object.type==="ThisExpression",w=v.object.type==="Super",k=g(v);typeof A<"u"&&h(A)&&!(b&&o)&&!(w&&n)&&!(k&&t)&&!s(A)&&!c(A)&&a.report({node:v,messageId:"unexpectedUnderscore",data:{identifier:A}})}function T(v){const A=v.key.name,b=v.type==="MethodDefinition"||v.type==="Property"&&v.method;typeof A<"u"&&m&&b&&h(A)&&!c(A)&&a.report({node:v,messageId:"unexpectedUnderscore",data:{identifier:v.key.type==="PrivateIdentifier"?`#${A}`:A}})}function C(v){const A=v.key.name;typeof A<"u"&&h(A)&&r&&!c(A)&&a.report({node:v,messageId:"unexpectedUnderscore",data:{identifier:v.key.type==="PrivateIdentifier"?`#${A}`:A}})}return{FunctionDeclaration:E,VariableDeclarator:S,MemberExpression:x,MethodDefinition:T,PropertyDefinition:C,Property:T,FunctionExpression:E,ArrowFunctionExpression:E}}}),mc}var hc,QE;function hD(){if(QE)return hc;QE=1;const a=Ue();return hc={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(l,p){const u=o.getTokenAfter(l,a.isNotClosingParenToken),r=o.getTokenBefore(u);u.loc.start.line!==r.loc.end.line&&e.report({node:l,loc:u.loc,messageId:p})}return{MemberExpression(l){!l.computed||l.optional||t(l.object,"property")},TaggedTemplateExpression(l){const{quasi:p}=l;o.getTokenBefore(p).loc.end.line!==p.loc.start.line&&e.report({node:l,loc:{start:p.loc.start,end:{line:p.loc.start.line,column:p.loc.start.column+1}},messageId:"taggedTemplate"})},CallExpression(l){l.arguments.length===0||l.optional||t(l.callee,"function")},"BinaryExpression[operator='/'] > BinaryExpression[operator='/'].left"(l){const p=o.getTokenAfter(l,r=>r.value==="/"),u=o.getTokenAfter(p);u.type==="Identifier"&&n.test(u.value)&&p.range[1]===u.range[0]&&t(l.left,"division")}}}},hc}var dc,ZE;function dD(){if(ZE)return dc;ZE=1;const a=ra(),e=Ue(),n=/(?:(?:Call|Class|Function|Member|New|Yield)Expression|Statement|Declaration)$/u,o=/^(?:DoWhile|For|While)Statement$/u,t=/^(?:BinaryExpression|ConditionalExpression)$/u,l=/^(?:ArrowFunction|Class|Function)Expression$/u,p=/^(?:Call|Member|New|TaggedTemplate|Yield)Expression$/u;function u(f){if(f.init){const g=f.resolved&&f.resolved.defs[0];if(!g||g.type!=="Variable"||g.parent.kind!=="var")return!1}return f.isWrite()}function r(f){return!f.modified}function m(f){return!(f.modified||f.group)}function i(f,g){const d=f.range,E=g.identifier.range;return d[0]<=E[0]&&E[1]<=d[1]}const c={WhileStatement:i,DoWhileStatement:i,ForStatement(f,g){return i(f,g)&&!(f.init&&i(f.init,g))}};function h(f){let g=f.identifier;for(;g;){if(g.type==="FunctionDeclaration")return g.id?g:null;g=g.parent}return null}function s(f,g){for(let d=0;d<f.length;++d){const E=f[d];for(let S=0;!E.modified&&S<g.length;++S){const x=g[S];let T,C;const v=E.isInLoop(x)||!!((T=h(x))&&(C=e.getVariableByName(x.from.upper,T.id.name))&&C.references.some(E.isInLoop));E.modified=v}}}return dc={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(f){const g=f.sourceCode;let d=null;function E(A){const b=A.reference.identifier;f.report({node:b,messageId:"loopConditionNotModified",data:b})}function S(A){for(let b=0;b<A.length;++b){const w=A[b];if(w.group){let k=d.get(w.group);k||(k=[],d.set(w.group,k)),k.push(w)}}}function x(A){A.every(r)&&A.forEach(E)}function T(A){let b=!1;return a.traverse(A,{visitorKeys:g.visitorKeys,enter(w){p.test(w.type)?(b=!0,this.break()):l.test(w.type)&&this.skip()}}),b}function C(A){if(A.init)return null;let b=null,w=A.identifier,k=w.parent;for(;k;){if(n.test(k.type)){if(o.test(k.type)&&k.test===w)return{reference:A,group:b,isInLoop:c[k.type].bind(null,k),modified:!1};break}if(t.test(k.type)){if(T(k))break;b=k}w=k,k=k.parent}return null}function v(A){const b=A.references.map(C).filter(Boolean);if(b.length===0)return;S(b);const w=A.references.filter(u);w.length>0&&s(b,w),b.filter(m).forEach(E)}return{"Program:exit"(A){const b=[g.getScope(A)];d=new Map;let w;for(;w=b.pop();)b.push(...w.childScopes),w.variables.forEach(v);d.forEach(x),d=null}}}},dc}var gc,eS;function gD(){if(eS)return gc;eS=1;const a=Ue(),e=new Set(["==","===","!=","!==",">",">=","<","<=","in","instanceof"]),n={"==":"!=","!=":"==","===":"!==","!==":"==="},o=a.getPrecedence({type:"LogicalExpression",operator:"||"});return gc={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:l}]=t.options,p=t.sourceCode;function u(c){return c.type==="Literal"&&typeof c.value=="boolean"}function r(c){if(c.type==="BinaryExpression"&&Object.hasOwn(n,c.operator)){const h=p.getFirstTokenBetween(c.left,c.right,f=>f.value===c.operator),s=p.getText();return s.slice(c.range[0],h.range[0])+n[c.operator]+s.slice(h.range[1],c.range[1])}return a.getPrecedence(c)<a.getPrecedence({type:"UnaryExpression"})?`!(${a.getParenthesisedText(p,c)})`:`!${a.getParenthesisedText(p,c)}`}function m(c){return c.type==="BinaryExpression"&&e.has(c.operator)||c.type==="UnaryExpression"&&c.operator==="!"}function i(c){return c.test.type==="Identifier"&&c.consequent.type==="Identifier"&&c.test.name===c.consequent.name}return{ConditionalExpression(c){u(c.alternate)&&u(c.consequent)?t.report({node:c,messageId:"unnecessaryConditionalExpression",fix(h){return c.consequent.value===c.alternate.value?c.test.type==="Identifier"?h.replaceText(c,c.consequent.value.toString()):null:c.alternate.value?h.replaceText(c,r(c.test)):h.replaceText(c,m(c.test)?a.getParenthesisedText(p,c.test):`!${r(c.test)}`)}}):!l&&i(c)&&t.report({node:c,messageId:"unnecessaryConditionalAssignment",fix(h){const f=(a.getPrecedence(c.alternate)<o||a.isCoalesceExpression(c.alternate))&&!a.isParenthesised(p,c.alternate)?`(${p.getText(c.alternate)})`:a.getParenthesisedText(p,c.alternate),g=a.getParenthesisedText(p,c.test);return h.replaceText(c,`${g} || ${f}`)}})}}}},gc}var yc,tS;function yD(){if(tS)return yc;tS=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 yc={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 l=new n(o.sourceCode),p=[];let u=new Set;function r(m){let i=null;if(m&&(m.type==="PropertyDefinition"||e(u))){if(l.isEmpty){l.reset(m);return}if(l.contains(m))return;if(l.isConsecutive(m)){l.merge(m);return}i=m}l.isEmpty||o.report({messageId:"unreachableCode",loc:l.location,node:l.startNode}),l.reset(i)}return{onCodePathStart(){p.push(u),u=new Set},onCodePathEnd(){u=p.pop()},onUnreachableCodePathSegmentStart(m){u.add(m)},onUnreachableCodePathSegmentEnd(m){u.delete(m)},onCodePathSegmentEnd(m){u.delete(m)},onCodePathSegmentStart(m){u.add(m)},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(m){(m.kind!=="var"||m.declarations.some(a))&&r(m)},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"(m){const{hasSuperCall:i}=t;if(t=t.upper,!m.value.body)return;const c=m.parent.parent;if(c.superClass&&!i)for(const h of c.body.body)h.type==="PropertyDefinition"&&!h.static&&r(h)},"CallExpression > Super.callee"(){t&&(t.hasSuperCall=!0)}}}},yc}var vc,rS;function vD(){if(rS)return vc;rS=1;const a=["WhileStatement","DoWhileStatement","ForStatement","ForInStatement","ForOfStatement"];function e(t){for(const l of t)if(l.reachable)return!0;return!1}function n(t){const l=t.parent;if(l)switch(l.type){case"WhileStatement":return t===l.test;case"DoWhileStatement":return t===l.body;case"ForStatement":return t===(l.update||l.test||l.body);case"ForInStatement":case"ForOfStatement":return t===l.left}return!1}function o(t,l){return t.filter(p=>!l.includes(p))}return vc={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:l}]=t.options,p=o(a,l),u=p.join(","),r=new Map,m=new Set,i=[];let c=new Set;return{onCodePathStart(){i.push(c),c=new Set},onCodePathEnd(){c=i.pop()},onUnreachableCodePathSegmentStart(h){c.add(h)},onUnreachableCodePathSegmentEnd(h){c.delete(h)},onCodePathSegmentEnd(h){c.delete(h)},onCodePathSegmentStart(h,s){if(c.add(h),n(s)){const f=s.parent;r.set(h,f)}},onCodePathSegmentLoop(h,s,f){const g=r.get(s);(f===g||f.type==="ContinueStatement")&&m.delete(g)},[u](h){e(c)&&m.add(h)},"Program:exit"(){m.forEach(h=>t.report({node:h,messageId:"invalid"}))}}}},vc}var Ec,nS;function ED(){if(nS)return Ec;nS=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 Ec={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 l(u,r){let m=!1,i;u.type==="BreakStatement"&&!u.label?i=e:u.type==="ContinueStatement"?i=n:i=a;for(let c=u;c&&!i.test(c.type);c=c.parent)if(c.parent.label&&r&&c.parent.label.name===r.name&&(m=!0),t(c))return!(r&&m);return!1}function p(u){l(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}}},Ec}var Sc,sS;function SD(){if(sS)return Sc;sS=1;const a=Ue();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 Sc={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 l=t.sourceCode,[{enforceForOrderingRelations:p}]=t.options;return{BinaryExpression(u){const r=u.operator,m=p&&n(r);(e(r)||m)&&o(u.left)&&!a.isParenthesised(l,u.left)&&t.report({node:u,loc:u.left.loc,messageId:"unexpected",data:{operator:r},suggest:[{messageId:"suggestNegatedExpression",data:{operator:r},fix(i){const h=[l.getFirstToken(u.left).range[1],u.range[1]],s=l.text.slice(h[0],h[1]);return i.replaceTextRange(h,`(${s})`)}},{messageId:"suggestParenthesisedNegation",fix(i){return i.replaceText(u.left,`(${l.getText(u.left)})`)}}]})}}}},Sc}var bc,aS;function bD(){if(aS)return bc;aS=1;const a=new Set(["+","-","/","*","%","**"]),e=new Set(["+=","-=","/=","*=","%=","**="]),n=new Set(["in","instanceof"]);function o(t){return t.type==="ObjectPattern"||t.type==="ArrayPattern"}return bc={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:l}]=t.options;function p(c){t.report({messageId:"unsafeOptionalChain",node:c})}function u(c){t.report({messageId:"unsafeArithmetic",node:c})}function r(c,h){if(c)switch(c.type){case"LogicalExpression":c.operator==="||"||c.operator==="??"?r(c.right,h):c.operator==="&&"&&(r(c.left,h),r(c.right,h));break;case"SequenceExpression":r(c.expressions.at(-1),h);break;case"ConditionalExpression":r(c.consequent,h),r(c.alternate,h);break;case"AwaitExpression":r(c.argument,h);break;case"ChainExpression":h(c);break}}function m(c){r(c,p)}function i(c){r(c,u)}return{"AssignmentExpression, AssignmentPattern"(c){o(c.left)&&m(c.right)},"ClassDeclaration, ClassExpression"(c){m(c.superClass)},CallExpression(c){c.optional||m(c.callee)},NewExpression(c){m(c.callee)},VariableDeclarator(c){o(c.id)&&m(c.init)},MemberExpression(c){c.optional||m(c.object)},TaggedTemplateExpression(c){m(c.tag)},ForOfStatement(c){m(c.right)},SpreadElement(c){c.parent&&c.parent.type!=="ObjectExpression"&&m(c.argument)},BinaryExpression(c){n.has(c.operator)&&m(c.right),l&&a.has(c.operator)&&(i(c.right),i(c.left))},WithStatement(c){m(c.object)},UnaryExpression(c){l&&a.has(c.operator)&&i(c.argument)},AssignmentExpression(c){l&&e.has(c.operator)&&i(c.right)}}}},bc}var xc,iS;function xD(){if(iS)return xc;iS=1;const a=Ue();function e(){return!0}function n(){return!1}return xc={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:l,allowTaggedTemplates:p,enforceForJSX:u,ignoreDirectives:r}]=o.options;function m(f){return f.type==="ExpressionStatement"&&f.expression.type==="Literal"&&typeof f.expression.value=="string"}function i(f,g){for(let d=0;d<g.length;++d)if(!f(g[d]))return g.slice(0,d);return g.slice()}function c(f){return i(m,f.body)}function h(f){return a.isTopLevelExpressionStatement(f)&&c(f.parent).includes(f)}const s=Object.assign(Object.create(null),{isDisallowed(f){return(s[f.type]||n)(f)},ArrayExpression:e,ArrowFunctionExpression:e,BinaryExpression:e,ChainExpression(f){return s.isDisallowed(f.expression)},ClassExpression:e,ConditionalExpression(f){return l?s.isDisallowed(f.consequent)||s.isDisallowed(f.alternate):!0},FunctionExpression:e,Identifier:e,JSXElement(){return u},JSXFragment(){return u},Literal:e,LogicalExpression(f){return t?s.isDisallowed(f.right):!0},MemberExpression:e,MetaProperty:e,ObjectExpression:e,SequenceExpression:e,TaggedTemplateExpression(){return!p},TemplateLiteral:e,ThisExpression:e,UnaryExpression(f){return f.operator!=="void"&&f.operator!=="delete"},TSAsExpression(f){return s.isDisallowed(f.expression)},TSTypeAssertion(f){return s.isDisallowed(f.expression)},TSNonNullExpression(f){return s.isDisallowed(f.expression)},TSInstantiationExpression(f){return s.isDisallowed(f.expression)}});return{ExpressionStatement(f){s.isDisallowed(f.expression)&&!a.isDirective(f)&&!(r&&h(f))&&o.report({node:f,messageId:"unusedExpression"})}}}},xc}var Cc,oS;function CD(){if(oS)return Cc;oS=1;const a=Ue();return Cc={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 l(r){if(n.getTokenAfter(r.label,{includeComments:!0})!==n.getTokenBefore(r.body,{includeComments:!0}))return!1;let m=r.parent;for(;m.type==="LabeledStatement";)m=m.parent;if(m.type==="Program"||m.type==="BlockStatement"&&a.isFunction(m.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:l(r)?m=>m.removeRange([r.range[0],r.body.range[0]]):null}),o=o.upper}function u(r){if(!r.label)return;const m=r.label.name;let i=o;for(;i;){if(i.label===m){i.used=!0;break}i=i.upper}}return{LabeledStatement:t,"LabeledStatement:exit":p,BreakStatement:u,ContinueStatement:u}}},Cc}var wc,lS;function wD(){return lS||(lS=1,wc={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,l=t.type==="AssignmentExpression";return!l&&t.type!=="ForInStatement"&&t.type!=="ForOfStatement"&&t.type!=="AssignmentPattern"||t.left!==o.parent?!1:l&&t.operator!=="="?t.parent.type==="ExpressionStatement":!0}return{ClassBody(o){const t=new Map;e.unshift(t);for(const l of o.body)(l.type==="PropertyDefinition"||l.type==="MethodDefinition")&&l.key.type==="PrivateIdentifier"&&t.set(l.key.name,{declaredNode:l,isAccessor:l.type==="MethodDefinition"&&(l.kind==="set"||l.kind==="get")})},PrivateIdentifier(o){const t=e.find(r=>r.has(o.name));if(!t)return;const l=t.get(o.name);if(l.isUsed||o.parent.type==="PropertyDefinition"||o.parent.type==="MethodDefinition")return;if(l.isAccessor){l.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"&&(l.isUsed=!0)},"ClassBody:exit"(){const o=e.shift();for(const[t,{declaredNode:l,isUsed:p}]of o.entries())p||a.report({node:l,loc:l.key.loc,messageId:"unusedPrivateClassMember",data:{classMemberName:`#${t}`}})}}}}),wc}var Ac,uS;function AD(){if(uS)return Ac;uS=1;const a=Ue();return Ac={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"},ignoreUsingDeclarations:{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,ignoreUsingDeclarations:!1,reportUsedIgnorePattern:!1},l=e.options[0];l&&(typeof l=="string"?t.vars=l:(t.vars=l.vars||t.vars,t.args=l.args||t.args,t.ignoreRestSiblings=l.ignoreRestSiblings||t.ignoreRestSiblings,t.caughtErrors=l.caughtErrors||t.caughtErrors,t.ignoreClassWithStaticInitBlock=l.ignoreClassWithStaticInitBlock||t.ignoreClassWithStaticInitBlock,t.ignoreUsingDeclarations=l.ignoreUsingDeclarations||t.ignoreUsingDeclarations,t.reportUsedIgnorePattern=l.reportUsedIgnorePattern||t.reportUsedIgnorePattern,l.varsIgnorePattern&&(t.varsIgnorePattern=new RegExp(l.varsIgnorePattern,"u")),l.argsIgnorePattern&&(t.argsIgnorePattern=new RegExp(l.argsIgnorePattern,"u")),l.caughtErrorsIgnorePattern&&(t.caughtErrorsIgnorePattern=new RegExp(l.caughtErrorsIgnorePattern,"u")),l.destructuredArrayIgnorePattern&&(t.destructuredArrayIgnorePattern=new RegExp(l.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 O,q;switch(P){case"array-destructure":O=t.destructuredArrayIgnorePattern,q="elements of array destructuring";break;case"catch-clause":O=t.caughtErrorsIgnorePattern,q="caught errors";break;case"parameter":O=t.argsIgnorePattern,q="args";break;case"variable":O=t.varsIgnorePattern,q="vars";break;default:throw new Error(`Unexpected variable type: ${P}`)}return O&&(O=O.toString()),[q,O]}function r(P){const O=P.defs&&P.defs[0];let q="";if(O){const[N,_]=u(p(O));_&&N&&(q=`. Allowed unused ${N} must match ${_}`)}return{varName:P.name,action:"defined",additional:q}}function m(P){const O=P.defs&&P.defs[0];let q="";if(O){const[N,_]=u(p(O));_&&N&&(q=`. Allowed unused ${N} must match ${_}`)}return{varName:P.name,action:"assigned a value",additional:q}}function i(P,O){const[q,N]=u(O);let _="";return N&&q&&(_=`. Used ${q} must not match ${N}`),{varName:P.name,additional:_}}const c=/(?:Statement|Declaration)$/u;function h(P){const O=P.defs[0];if(O){let q=O.node;if(q.type==="VariableDeclarator")q=q.parent;else if(O.type==="Parameter")return!1;return q.parent.type.indexOf("Export")===0}return!1}function s(P){const[O]=P.defs;return O?.type==="Variable"&&(O.parent.kind==="using"||O.parent.kind==="await using")}function f(P){return P.type==="Property"&&P.parent.type==="ObjectPattern"&&o.test(P.parent.properties.at(-1).type)}function g(P){if(t.ignoreRestSiblings){const O=P.defs.some(N=>f(N.name.parent)),q=P.references.some(N=>f(N.identifier.parent));return O||q}return!1}function d(P){return P.isRead()}function E(P,O){let q=P.from;for(;q;){if(O.includes(q.block))return!0;q=q.upper}return!1}function S(P){const O=[];return P.defs.forEach(q=>{const{type:N,node:_}=q;N==="FunctionName"&&O.push(_),N==="Variable"&&_.init&&(_.init.type==="FunctionExpression"||_.init.type==="ArrowFunctionExpression")&&O.push(_.init)}),O}function x(P,O){return P.range[0]>=O.range[0]&&P.range[1]<=O.range[1]}function T(P){const O=P.parent;return O.type==="ExpressionStatement"?!0:O.type==="SequenceExpression"?O.expressions.at(-1)===P?T(O):!0:!1}function C(P,O){const q=P.identifier,N=q.parent,_=P.from.variableScope,G=P.resolved.scope.variableScope,B=_!==G||a.isInLoop(q);return O&&x(q,O)?O:N.type==="AssignmentExpression"&&T(N)&&q===N.left&&!B?N.right:null}function v(P,O){let q=P,N=P.parent;for(;N&&x(N,O);){switch(N.type){case"SequenceExpression":if(N.expressions.at(-1)!==q)return!1;break;case"CallExpression":case"NewExpression":return N.callee!==q;case"AssignmentExpression":case"TaggedTemplateExpression":case"YieldExpression":return!0;default:if(c.test(N.type))return!0}q=N,N=N.parent}return!1}function A(P,O){const q=a.getUpperFunction(P);return q&&x(q,O)&&v(q,O)}function b(P,O){const q=P.identifier,N=q.parent;return P.isRead()&&(N.type==="AssignmentExpression"&&N.left===q&&T(N)&&!a.isLogicalAssignmentOperator(N.operator)||N.type==="UpdateExpression"&&T(N)||O&&x(q,O)&&!A(q,O))}function w(P){let O=P.identifier.parent;return O.type==="VariableDeclarator"&&(O=O.parent.parent),O.type!=="ForInStatement"&&O.type!=="ForOfStatement"||(O.body.type==="BlockStatement"?O=O.body.body[0]:O=O.body,!O)?!1:O.type==="ReturnStatement"}function k(P){if(P.eslintUsed)return!0;const O=S(P),q=O.length>0;let N=null;return P.references.some(_=>{if(w(_))return!0;const G=b(_,N);return N=C(_,N),d(_)&&!G&&!(q&&E(_,O))})}function R(P){const O=P.defs[0],q=n.getDeclaredVariables(O.node);return!q.slice(q.indexOf(P)+1).some(_=>_.references.length>0||_.eslintUsed)}function F(P,O){const q=P.variables,N=P.childScopes;let _,G;if(P.type!=="global"||t.vars==="all")for(_=0,G=q.length;_<G;++_){const B=q[_];if(P.type==="class"&&P.block.id===B.identifiers[0]||P.functionExpressionScope||!t.reportUsedIgnorePattern&&B.eslintUsed||P.type==="function"&&B.name==="arguments"&&B.identifiers.length===0)continue;const z=B.defs[0];if(z){const H=z.type,ce=B.references.some(re=>re.identifier.parent.type==="ArrayPattern");if((z.name.parent.type==="ArrayPattern"||ce)&&t.destructuredArrayIgnorePattern&&t.destructuredArrayIgnorePattern.test(z.name.name)){t.reportUsedIgnorePattern&&k(B)&&e.report({node:z.name,messageId:"usedIgnoredVar",data:i(B,"array-destructure")});continue}if(H==="ClassName"){const re=z.node.body.body.some(Fe=>Fe.type==="StaticBlock");if(t.ignoreClassWithStaticInitBlock&&re)continue}if(H==="CatchClause"){if(t.caughtErrors==="none")continue;if(t.caughtErrorsIgnorePattern&&t.caughtErrorsIgnorePattern.test(z.name.name)){t.reportUsedIgnorePattern&&k(B)&&e.report({node:z.name,messageId:"usedIgnoredVar",data:i(B,"catch-clause")});continue}}else if(H==="Parameter"){if((z.node.parent.type==="Property"||z.node.parent.type==="MethodDefinition")&&z.node.parent.kind==="set"||t.args==="none")continue;if(t.argsIgnorePattern&&t.argsIgnorePattern.test(z.name.name)){t.reportUsedIgnorePattern&&k(B)&&e.report({node:z.name,messageId:"usedIgnoredVar",data:i(B,"parameter")});continue}if(t.args==="after-used"&&a.isFunction(z.name.parent)&&!R(B))continue}else if(t.varsIgnorePattern&&t.varsIgnorePattern.test(z.name.name)){t.reportUsedIgnorePattern&&k(B)&&e.report({node:z.name,messageId:"usedIgnoredVar",data:i(B,"variable")});continue}}!k(B)&&!h(B)&&!(t.ignoreUsingDeclarations&&s(B))&&!g(B)&&O.push(B)}for(_=0,G=N.length;_<G;++_)F(N[_],O);return O}function L(P,O){const q=O.identifiers[0],N=q.parent,_=N.type,G=n.getTokenBefore(q),B=n.getTokenAfter(q),z=a.isFunction,H=a.isLoop,ce=O.references.filter(Q=>Q.isWrite());function re(Q,ke){return n.getTokenBefore(Q,ke).range[0]}function Fe(Q,ke){return n.getTokenAfter(Q,ke).range[1]}function X(Q){return n.getTokenBefore(Q).value}function I(Q){return n.getTokenAfter(Q).value}function W(Q){return Q.elements.filter(ke=>ke!==null).length===1}function oe(Q,ke){return Q.specifiers.some($=>$.type===ke)}function ie(Q,ke){return Q.type==="String"||ke&&!a.isSemicolonToken(ke)&&!a.isOpeningBraceToken(ke)}function se(Q){const ke=Q.parent;return z(ke)?ke.params.length===1?P.removeRange(Q.range):X(Q)==="("&&I(Q)===","?P.removeRange([Q.range[0],Fe(Q)]):P.removeRange([re(Q),Q.range[1]]):null}function de(Q){const ke=Q.parent;if(ke.type==="VariableDeclarator"){if(H(ke.parent.parent))return null;if(ke.parent.declarations.length===1){const $=n.getTokenAfter(ke.parent),ae=n.getTokenBefore(ke.parent);return $&&ie($,ae)?null:P.removeRange(ke.parent.range)}return X(ke)===","?P.removeRange([re(ke),ke.range[1]]):P.removeRange([ke.range[0],Fe(ke)])}return X(Q)===":"&&ke.parent.type==="ObjectPattern"?Te(Q):se(Q)}function be(Q){const ke=Q.parent;return ke.parent.parent.parent.type==="ObjectPattern"&&ke.parent.properties.length===1?be(ke.parent):ke.parent.type==="ObjectPattern"?ke.parent.properties.length===1?de(ke.parent):X(ke)==="{"?P.removeRange([ke.range[0],Fe(ke)]):P.removeRange([re(ke),ke.range[1]]):null}function xe(Q){const ke=Q.parent;return ke.parent.type==="ArrayPattern"&&W(ke)?xe(ke):W(ke)?X(ke)===":"?de(ke):ke.parent.type==="RestElement"?J(ke.parent):de(ke):X(Q)===","&&I(Q)==="]"?P.removeRange([re(Q),Q.range[1]]):P.removeRange(Q.range)}function Te(Q){const ke=Q.parent.parent;return ke.parent.type==="ArrayPattern"&&ke.properties.length===1?xe(ke):be(Q)}function J(Q){const ke=Q.parent;return z(ke)?ke.params.length===1?P.removeRange(Q.range):P.removeRange([re(Q),Q.range[1]]):ke.type==="ArrayPattern"?W(ke)?ke.parent.type==="ArrayPattern"?xe(ke):de(ke):P.removeRange([re(Q),Q.range[1]]):null}if(ce.some(Q=>Q.identifier.range[0]!==q.range[0]))return null;if(_==="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 Q=n.getTokenAfter(N.parent),ke=n.getTokenBefore(N.parent);return Q&&ie(Q,ke)?null:P.removeRange(N.parent.range)}return G.value===","?P.removeRange([G.range[0],N.range[1]]):P.removeRange([N.range[0],Fe(N)])}if(N.parent.type==="ObjectPattern"){if(N.parent.properties.length===1)return N.parent.parent.type==="RestElement"?J(N.parent.parent):N.parent.parent.type==="ArrayPattern"?xe(N.parent):de(N.parent);if(G.value===":")return X(N)==="{"&&I(N)===","?P.removeRange([N.range[0],Fe(N)]):P.removeRange([re(N),q.range[1]])}if(_==="ArrayPattern"){if(W(N))return N.parent.type==="RestElement"?J(N.parent):N.parent.type==="ArrayPattern"?xe(N):de(N);if(G.value===","&&B.value===",")return P.removeRange(q.range)}if(_==="RestElement"){if(N.parent.type==="ArrayPattern")return W(N.parent)?N.parent.parent.type==="ArrayPattern"?xe(N.parent):de(N.parent):P.removeRange([re(q,1),q.range[1]]);if(N.parent.type==="ObjectPattern")return N.parent.properties.length===1?de(N.parent):P.removeRange([re(q,1),q.range[1]]);if(z(N.parent))return N.parent.params.length===1?P.removeRange(N.range):P.removeRange([re(N),N.range[1]])}if(_==="AssignmentPattern"){if(N.parent.type==="ArrayPattern")return xe(N);if(N.parent.parent.type==="ObjectPattern")return N.parent.parent.properties.length===1?N.parent.parent.parent.type==="ArrayPattern"?xe(N.parent.parent):de(N.parent.parent):X(N.parent)==="{"&&I(N.parent)===","?P.removeRange([N.parent.range[0],Fe(N.parent)]):P.removeRange([re(N.parent),N.parent.range[1]]);if(z(N.parent))return se(N)}if(_==="FunctionDeclaration"&&N.id===q)return P.removeRange(N.range);if(_==="ImportDefaultSpecifier")return!oe(N.parent,"ImportSpecifier")&&!oe(N.parent,"ImportNamespaceSpecifier")?P.removeRange([N.range[0],N.parent.source.range[0]]):P.removeRange([q.range[0],B.range[1]]);if(_==="ImportSpecifier")return N.parent.specifiers.filter(Q=>Q.type==="ImportSpecifier").length===1?oe(N.parent,"ImportDefaultSpecifier")?P.removeRange([re(N,1),B.range[1]]):P.removeRange(N.parent.range):X(N)==="{"?P.removeRange([N.range[0],Fe(N)]):P.removeRange([re(N),N.range[1]]);if(_==="ImportNamespaceSpecifier")return oe(N.parent,"ImportDefaultSpecifier")?P.removeRange([re(N),N.range[1]]):P.removeRange([N.range[0],N.parent.source.range[0]]);if(_==="CatchClause")return null;if(_==="ClassDeclaration")return P.removeRange(N.range);if(G?.value===",")return P.removeRange([G.range[0],q.range[1]]);if(B.value===","){if(G.value==="(")return P.removeRange([q.range[0],B.range[1]]);if(G.value==="{")return P.removeRange([q.range[0],B.range[1]])}return _==="ArrowFunctionExpression"&&N.params.length===1&&B?.value!==")"?P.replaceText(q,"()"):P.removeRange(q.range)}return{"Program:exit"(P){const O=F(n.getScope(P),[]);for(let q=0,N=O.length;q<N;++q){const _=O[q];if(_.defs.length>0){const G=_.references.filter(z=>z.isWrite()&&z.from.variableScope===_.scope.variableScope);let B;G.length>0&&(B=G.at(-1)),e.report({node:B?B.identifier:_.identifiers[0],messageId:"unusedVar",data:_.references.some(z=>z.isWrite())?m(_):r(_),suggest:[{messageId:"removeVar",data:{varName:_.name},fix(z){return L(z,_)}}]})}else if(_.eslintExplicitGlobalComments){const G=_.eslintExplicitGlobalComments[0];e.report({node:P,loc:a.getNameLocationInGlobalDirectiveComment(n,G,_.name),messageId:"unusedVar",data:r(_)})}}}}}},Ac}var Tc,cS;function TD(){if(cS)return Tc;cS=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,c){return i&&i.range[0]<=c&&c<=i.range[1]}function t(i,c){return i.body.some(h=>h.type==="StaticBlock"&&o(h,c)||h.type==="PropertyDefinition"&&h.static&&h.value&&o(h.value,c))}function l(i){return i.type==="class-static-block"?!0:i.type==="class-field-initializer"?i.block.parent.static:!1}function p(i){const c=i.resolved;let h=i.from;for(;c.scope.variableScope!==h.variableScope;)if(l(h.variableScope))h=h.variableScope.upper;else return!0;return!1}function u(i){if(p(i))return!1;const c=i.identifier.range[1],h=i.resolved.defs[0];if(h.type==="ClassName"){const f=h.node;return o(f,c)&&!t(f.body,c)}let s=h.name.parent;for(;s;){if(s.type==="VariableDeclarator"){if(o(s.init,c)||e.test(s.parent.parent.type)&&o(s.parent.parent.right,c))return!0;break}else if(s.type==="AssignmentPattern"){if(o(s.right,c))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 m(i,c){if(i.defs[0].type!=="ClassName"||!i.defs[0].node.decorators||i.defs[0].node.decorators.length===0)return!1;for(const h of i.defs[0].node.decorators)if(c.identifier.range[0]>=h.range[0]&&c.identifier.range[1]<=h.range[1])return!0;return!1}return Tc={meta:{dialects:["javascript","typescript"],language:"javascript",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 c=n(i.options[0]),h=i.sourceCode;function s(g){if(g.init)return!1;const{identifier:d}=g;if(c.allowNamedExports&&d.parent.type==="ExportSpecifier"&&d.parent.local===d)return!1;const E=g.resolved;if(!E||E.defs.length===0)return!1;const S=E.defs[0].type;if(!c.functions&&S==="FunctionName"||(!c.variables&&S==="Variable"||!c.classes&&S==="ClassName")&&p(g)||!c.enums&&S==="TSEnumName"||!c.typedefs&&S==="Type"||c.ignoreTypeReferences&&(r(d)||d.parent.type==="TSTypeReference"))return!1;if(d.parent.type==="TSQualifiedName"){let x=d.parent;for(;x.type==="TSQualifiedName";)x=x.left;return x===d}return!m(E,g)}function f(g){g.references.filter(s).forEach(d=>{const S=d.resolved.defs[0].name;(d.identifier.range[1]<S.range[1]||u(d)&&d.identifier.parent.type!=="TSTypeReference")&&i.report({node:d.identifier,messageId:"usedBeforeDefined",data:d.identifier})}),g.childScopes.forEach(f)}return{Program(g){f(h.getScope(g))}}}},Tc}var kc,fS;function kD(){if(fS)return kc;fS=1;const{findVariable:a}=qt();function*e(t){switch(t.type){case"Identifier":yield t;return;case"ObjectPattern":for(const l of t.properties)yield*e(l.type==="Property"?l.value:l);return;case"ArrayPattern":for(const l of t.elements)l&&(yield*e(l));return;case"RestElement":yield*e(t.argument);return;case"AssignmentPattern":yield*e(t.left)}}function n(t,l){return!(l.range[0]<t.identifier.range[1]||t.expression&&t.expression.range[0]<=l.range[0]&&l.range[1]<=t.expression.range[1])}function o(t,l){return t.expression?t.identifier.range[1]<=l.range[0]&&l.range[1]<=t.expression.range[0]:!1}return kc={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 l=t.sourceCode;let p=null;const u=new Set;function r(i){let c=i;for(;c;){if(u.has(c))return c;c=c.upper}return null}function m(i){function c(s,f){const g=i.segments[s.id];return g.first&&g.last&&g.first.range[0]<=f.range[0]&&f.range[1]<=g.last.range[1]}function h(s,f){if(i.tryStatementBlocks.some(T=>T.range[0]<=s.identifier.range[0]&&s.identifier.range[1]<=T.range[1]))return;const d={results:[],subsequentSegments:new Set,queueSegments:s.segments.flatMap(T=>T.nextSegments)};function*E(){for(yield*d.results;d.queueSegments.length>0;){const T=d.queueSegments.shift();if(d.subsequentSegments.has(T))continue;d.subsequentSegments.add(T);const C=f.find(A=>A.segments.includes(T)&&!o(A,s.identifier));C||d.queueSegments.push(...T.nextSegments);const v={segment:T,assignment:C};d.results.push(v),yield v}}if(s.variable.references.some(T=>T.identifier.type!=="Identifier"))return;const S=s.variable.references.filter(T=>T.isRead());if(!S.length)return;const x=f.find(T=>T===s||T.segments.length&&T.segments.every(C=>!s.segments.includes(C))?!1:!!(n(s,T.identifier)||T.expression&&T.expression.range[0]<=s.identifier.range[0]&&s.identifier.range[1]<=T.expression.range[1]));for(const T of S){if(i.scope!==r(T.from))return;if(n(s,T.identifier)&&(o(s,T.identifier)||s.segments.some(C=>c(C,T.identifier)))){if(x&&n(x,T.identifier))continue;return}if(!x){for(const C of E())if(c(C.segment,T.identifier)){if(C.assignment&&n(C.assignment,T.identifier))continue;return}}}t.report({node:s.identifier,messageId:"unnecessaryAssignment"})}for(const s of i.assignments.values()){s.sort((f,g)=>f.identifier.range[0]-g.identifier.range[0]);for(const f of s)h(f,s)}}return{onCodePathStart(i,c){const h=l.getScope(c);p={upper:p,codePath:i,scope:h,segments:Object.create(null),currentSegments:new Set,assignments:new Map,tryStatementBlocks:[]},u.add(p.scope)},onCodePathEnd(){m(p),p=p.upper},onCodePathSegmentStart(i){const c={segment:i,first:null,last:null};p.segments[i.id]=c,p.currentSegments.add(i)},onCodePathSegmentEnd(i){p.currentSegments.delete(i)},TryStatement(i){p.tryStatementBlocks.push(i.block)},Identifier(i){for(const c of p.currentSegments){const h=p.segments[c.id];h.first||(h.first=i),h.last=i}},":matches(VariableDeclarator[init!=null], AssignmentExpression, UpdateExpression):exit"(i){if(p.currentSegments.size===0)return;const c=p.assignments;let h,s=null;i.type==="VariableDeclarator"?(h=i.id,s=i.init):i.type==="AssignmentExpression"?(h=i.left,s=i.right):h=i.argument;for(const f of e(h)){const g=l.getScope(f),d=a(g,f);if(!d||d.scope.type==="global"&&d.defs.length===0||p.scope!==r(d.scope)||d.eslintUsed||d.scope.type==="module"&&(d.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"))||d.references.some(S=>S.identifier.parent.type==="ExportSpecifier")))continue;let E=c.get(d);E||(E=[],c.set(d,E)),E.push({variable:d,identifier:f,node:i,expression:s,segments:[...p.currentSegments]})}}}}},kc}var Dc,pS;function DD(){if(pS)return Dc;pS=1;const{CALL:a,CONSTRUCT:e,ReferenceTracker:n,getStringIfConstant:o}=qt(),{RegExpParser:t,visitRegExpAST:l}=ur(),p=new t;function u(i){const c=[];let h=i;do c.push(h),h=h.parent;while(h);return c}function r(i){return i.type==="Assertion"&&(i.kind==="lookahead"||i.kind==="lookbehind")}function m(i){return r(i)&&i.negate}return Dc={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 c=i.sourceCode;function h(s,f,g){let d;try{d=p.parsePattern(f,0,f.length,{unicode:g.includes("u"),unicodeSets:g.includes("v")})}catch{return}l(d,{onBackreferenceEnter(E){const S=[E.resolved].flat(),x=u(E),T=S.map(R=>{const F=u(R);if(x.includes(R))return{messageId:"nested",group:R};let L=x.length-1,P=F.length-1;do L--,P--;while(x[L]===F[P]);const O=P+1,q=F.slice(0,O),N=F.slice(O),_=N.find(r),G=_&&_.kind==="lookbehind";return q.at(-1).type==="Alternative"?{messageId:"disjunctive",group:R}:!G&&E.end<=R.start?{messageId:"forward",group:R}:G&&R.end<=E.start?{messageId:"backward",group:R}:q.some(m)?{messageId:"intoNegativeLookaround",group:R}:null});if(T.length===0||T.some(R=>!R))return;let C;const v=T.filter(R=>R.messageId!=="disjunctive");v.length?C=v:C=T;const[{messageId:A,group:b},...w]=C;let k="";w.length===1?k=" and another group":w.length>1&&(k=` and other ${w.length} groups`),i.report({node:s,messageId:A,data:{bref:E.raw,group:b.raw,otherGroups:k}})}})}return{"Literal[regex]"(s){const{pattern:f,flags:g}=s.regex;h(s,f,g)},Program(s){const f=c.getScope(s),g=new n(f),d={RegExp:{[a]:!0,[e]:!0}};for(const{node:E}of g.iterateGlobalReferences(d)){const[S,x]=E.arguments,T=o(S,f),C=o(x,f);typeof T=="string"&&h(E,T,C||"")}}}}},Dc}var Ic,mS;function ID(){if(mS)return Ic;mS=1;const a=Ue();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,l){return o?a.equalTokens(o,t,l):a.isNullOrUndefined(t)}return Ic={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(l){if(!e(l))return;const p=a.skipChainExpression(l.callee),u=a.skipChainExpression(p.object),r=u.type==="MemberExpression"?u.object:null,m=l.arguments[0];n(r,m,t)&&o.report({node:l,messageId:"unnecessaryCall",data:{name:p.property.name}})}}}},Ic}var Pc,hS;function PD(){return hS||(hS=1,Pc={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"}))}}}}),Pc}var Fc,dS;function FD(){if(dS)return Fc;dS=1;const a=Ue();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 Fc={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 l(u){if(e(u)){const{key:r}=u;n.report({node:u,messageId:"unnecessarilyComputedProperty",data:{property:o.getText(r)},fix(m){const i=o.getTokenBefore(r,a.isOpeningBracketToken),c=o.getTokenAfter(r,a.isClosingBracketToken);if(o.commentsExistBetween(i,c))return null;const h=o.getTokenBefore(i),f=(h.range[1]===i.range[0]&&!a.canTokensBeAdjacent(h,o.getFirstToken(r))?" ":"")+r.raw;return m.replaceTextRange([i.range[0],c.range[1]],f)}})}}function p(){}return{Property:l,MethodDefinition:t?l:p,PropertyDefinition:t?l:p}}},Fc}var Rc,gS;function RD(){if(gS)return Rc;gS=1;const a=Ue();function e(l){return l.type==="BinaryExpression"&&l.operator==="+"}function n(l){return l.value==="+"&&l.type==="Punctuator"}function o(l){let p=l.left;for(;e(p);)p=p.right;return p}function t(l){let p=l.right;for(;e(p);)p=p.left;return p}return Rc={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(l){const p=l.sourceCode;return{BinaryExpression(u){if(u.operator!=="+")return;const r=o(u),m=t(u);if(a.isStringLiteral(r)&&a.isStringLiteral(m)&&a.isTokenOnSameLine(r,m)){const i=p.getFirstTokenBetween(r,m,n);l.report({node:u,loc:i.loc,messageId:"unexpectedConcat"})}}}}},Rc}var _c,yS;function _D(){if(yS)return _c;yS=1;const a=Ue();function e(c){return c.value.params.some(h=>h.decorators?.length||h.type==="TSParameterProperty")}function n(c){switch(c.accessibility){case"protected":case"private":return!0;case"public":return!!c.parent.parent.superClass;default:return!1}}function o(c){return c.length===1&&c[0].type==="ExpressionStatement"&&c[0].expression.type==="CallExpression"&&c[0].expression.callee.type==="Super"}function t(c){return c.type==="Identifier"||c.type==="RestElement"}function l(c){return c.length===1&&c[0].type==="SpreadElement"&&c[0].argument.type==="Identifier"&&c[0].argument.name==="arguments"}function p(c,h){return c.type==="Identifier"&&h.type==="Identifier"&&c.name===h.name}function u(c,h){return c.type==="RestElement"&&h.type==="SpreadElement"&&p(c.argument,h.argument)}function r(c,h){return p(c,h)||u(c,h)}function m(c,h){if(c.length!==h.length)return!1;for(let s=0;s<c.length;++s)if(!r(c[s],h[s]))return!1;return!0}function i(c,h){return o(c)&&h.every(t)&&(l(c[0].expression.arguments)||m(h,c[0].expression.arguments))}return _c={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(c){function h(s){if(s.kind!=="constructor"||s.value.type!=="FunctionExpression"||e(s)||n(s)||!s.value.body)return;const f=s.value.body.body,g=s.value.params;(s.parent.parent.superClass?i(f,g):f.length===0)&&c.report({node:s,messageId:"noUselessConstructor",suggest:[{messageId:"removeConstructor",*fix(E){const S=c.sourceCode.getTokenAfter(s),x=S.type==="Punctuator"&&S.value==="["&&a.needsPrecedingSemicolon(c.sourceCode,s);yield E.replaceText(s,x?";":"")}}]})}return{MethodDefinition:h}}},_c}var Bc,vS;function BD(){if(vS)return Bc;vS=1;const a=Ue(),{RegExpParser:e,visitRegExpAST:n}=ur();function o(m,i){return new Set(function*(){yield*m,yield*i}())}const t=o(new Set("\\nrvtbfux"),a.LINEBREAKS),l=new Set("\\bcdDfnpPrsStvwWxu0123456789]"),p=o(l,new Set("^/.$*+?[{}|()Bk")),u=o(l,new Set("q/[{}|()-")),r=new Set("!#$%&*+,.:;<=>?@^`~");return Bc={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(m){const i=m.sourceCode,[{allowRegexCharacters:c}]=m.options,h=new e;function s(E,S,x,T){const C=E.range[0]+S,v=[C,C+1],A=i.getLocFromIndex(C);m.report({node:E,loc:{start:A,end:{line:A.line,column:A.column+1}},messageId:"unnecessaryEscape",data:{character:x},suggest:[{messageId:a.isDirective(E.parent)?"removeEscapeDoNotKeepSemantics":"removeEscape",fix(b){return b.removeRange(v)}},...T?[]:[{messageId:"escapeBackslash",fix(b){return b.insertTextBeforeRange(v,"\\")}}]]})}function f(E,S){const x=E.type==="TemplateElement",T=S[0][1];let C=!t.has(T),v;x?(v=T==="`",T==="$"?C=S.input[S.index+2]!=="{":T==="{"&&(C=S.input[S.index-1]!=="$")):v=T===E.raw[0],C&&!v&&s(E,S.index,S[0].slice(1))}function g(E){const{pattern:S,flags:x}=E.regex;let T;const C=x.includes("u"),v=x.includes("v");try{T=h.parsePattern(S,0,S.length,{unicode:C,unicodeSets:v})}catch{return}const A=[];n(T,{onCharacterClassEnter:b=>A.unshift(b),onCharacterClassLeave:()=>A.shift(),onExpressionCharacterClassEnter:b=>A.unshift(b),onExpressionCharacterClassLeave:()=>A.shift(),onCharacterEnter(b){if(!b.raw.startsWith("\\"))return;const w=b.raw.slice(1);if(w!==String.fromCodePoint(b.value)||c.includes(w))return;let k;if(A.length?k=v?u:l:k=p,k.has(w))return;const R=b.start+1;let F=!1;if(A.length){const L=A[0];if(w==="^"&&L.start+1===b.start)return;if(v){if(r.has(w)&&(S[b.end]===w||S[b.start-1]===w&&(w!=="^"||!L.negate||L.start+1<b.start-1)))return;(b.parent.type==="ClassIntersection"||b.parent.type==="ClassSubtraction")&&(F=!0)}else if(w==="-"&&L.start+1!==b.start&&b.end!==L.end-1)return}s(E,R,w,F)}})}function d(E){const S=E.type==="TemplateElement";if(!(S&&E.parent&&E.parent.parent&&E.parent.parent.type==="TaggedTemplateExpression"&&E.parent===E.parent.parent.quasi))if(typeof E.value=="string"||S){if(E.parent.type==="JSXAttribute"||E.parent.type==="JSXElement"||E.parent.type==="JSXFragment")return;const x=S?i.getText(E):E.raw,T=/\\\D/gu;let C;for(;C=T.exec(x);)f(E,C)}else E.regex&&g(E)}return{Literal:d,TemplateElement:d}}},Bc}var Lc,ES;function LD(){if(ES)return Lc;ES=1;const a=Ue();return Lc={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:l}]=e.options;function p(i,c,h){const s=c.type==="Identifier"?c.name:c.value;return e.report({node:i,messageId:"unnecessarilyRenamed",data:{name:s,type:h},fix(f){const g=i.type==="Property"?i.value:i.local;return n.getCommentsInside(i).length>n.getCommentsInside(g).length||g.type==="AssignmentPattern"&&a.isParenthesised(n,g.left)?null:f.replaceText(i,n.getText(g))}})}function u(i){if(!o)for(const c of i.properties){if(c.type!=="Property"||c.shorthand||c.computed)continue;const h=c.key.type==="Identifier"&&c.key.name||c.key.type==="Literal"&&c.key.value,s=c.value.type==="AssignmentPattern"?c.value.left.name:c.value.name;h===s&&p(c,c.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 m(i){l||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:m}}},Lc}var Oc,SS;function OD(){if(SS)return Oc;SS=1;const a=Ue(),e=nn();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 l(p){for(const u of p)if(u.reachable)return!0;return!1}return Oc={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 m=null;function i(f){const g=u.get(f);return!g||g.returned}function c(f,g,d){const E=d||new WeakSet;for(const S of g){if(!S.reachable){E.has(S)||(E.add(S),c(f,S.allPrevSegments.filter(i),E));continue}u.has(S)&&f.push(...u.get(S).uselessReturns)}return f}function h(f,g){if(!f.reachable){g.add(f),f.allPrevSegments.filter(i).filter(E=>!g.has(E)).forEach(E=>h(E,g));return}const d=u.get(f);d&&(d.uselessReturns=d.uselessReturns.filter(E=>{if(m.traversedTryBlockStatements&&m.traversedTryBlockStatements.length>0){const S=E.range[0],x=E.range[1];if(m.traversedTryBlockStatements.some(C=>{const v=C.range[0],A=C.range[1];return S>=v&&x<=A}))return!0}return n(m.uselessReturns,E),!1}))}function s(){m.currentSegments.forEach(f=>h(f,new Set))}return{onCodePathStart(f){m={upper:m,uselessReturns:[],traversedTryBlockStatements:[],codePath:f,currentSegments:new Set}},onCodePathEnd(){for(const f of m.uselessReturns)p.report({node:f,loc:f.loc,messageId:"unnecessaryReturn",fix(g){return o(f)&&!r.getCommentsInside(f).length?new e(g,r).retainEnclosingFunction(f).remove(f):null}});m=m.upper},onCodePathSegmentStart(f){m.currentSegments.add(f);const g={uselessReturns:c([],f.allPrevSegments),returned:!1};u.set(f,g)},onUnreachableCodePathSegmentStart(f){m.currentSegments.add(f)},onUnreachableCodePathSegmentEnd(f){m.currentSegments.delete(f)},onCodePathSegmentEnd(f){m.currentSegments.delete(f)},ReturnStatement(f){if(f.argument&&s(),!(f.argument||a.isInLoop(f)||t(f)||!l(m.currentSegments))){for(const g of m.currentSegments){const d=u.get(g);d&&(d.uselessReturns.push(f),d.returned=!0)}m.uselessReturns.push(f)}},"TryStatement > BlockStatement.block:exit"(f){m.traversedTryBlockStatements.push(f)},"TryStatement:exit"(){m.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}}},Oc}var Nc,bS;function ND(){if(bS)return Nc;bS=1;const a=Ue();function e(h){return!!h.scope&&h.scope.type==="global"}function n(h){let s=h;for(;s.type!=="function"&&s.type!=="global";)s=s.upper;return s}function o(h){const s=n(h.scope);return h.references.some(f=>n(f.from)!==s)}function t(h){return(h.parent.type==="ForOfStatement"||h.parent.type==="ForInStatement")&&h===h.parent.left}function l(h){return h.declarations.every(s=>s.init!==null)}const p=/^(?:Program|BlockStatement|SwitchStatement|ForStatement|ForInStatement|ForOfStatement)$/u;function u(h){for(let s=h;s;s=s.parent)if(p.test(s.type))return s;return null}function r(h){return h.defs.length>=2}function m(h){function s(f){const g=h.range,d=f.identifier.range;return d[0]<g[0]||d[1]>g[1]}return function(f){return f.references.some(s)}}function i(h){const s=h.range[0],f=h.range[1];return g=>{const d=g.defs[0].name,E=d.range[0],S=d.parent.type==="AssignmentPattern"?d.parent.right:null,x=S&&S.range[0],T=S&&S.range[1];return g.references.some(C=>{const v=C.identifier.range[0],A=C.identifier.range[1];return!C.init&&(v<E||S!==null&&v>=x&&A<=T||!a.isFunction(h)&&v>=s&&A<=f)})}}function c(h){return h.name==="let"}return Nc={meta:{type:"suggestion",dialects:["typescript","javascript"],language:"javascript",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(h){const s=h.sourceCode;function f(E){return E.init?s.getDeclaredVariables(E).some(i(E.init)):!1}function g(E){const S=s.getDeclaredVariables(E),x=u(E);return!(E.parent.type==="SwitchCase"||E.declarations.some(f)||S.some(e)||S.some(r)||S.some(m(x))||S.some(c)||a.isInLoop(E)&&(S.some(o)||!t(E)&&!l(E))||!t(E)&&!(E.parent.type==="ForStatement"&&E.parent.init===E)&&!a.STATEMENT_LIST_PARENTS.has(E.parent.type))}function d(E){h.report({node:E,messageId:"unexpectedVar",fix(S){const x=s.getFirstToken(E,{filter:T=>T.value==="var"});return g(E)?S.replaceText(x,"let"):null}})}return{"VariableDeclaration:exit"(E){E.kind==="var"&&(E.parent.type==="TSModuleBlock"&&E.parent.parent.type==="TSModuleDeclaration"&&E.parent.parent.global||d(E))}}}},Nc}var Mc,xS;function MD(){return xS||(xS=1,Mc={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"})}}}}),Mc}var jc,CS;function jD(){if(CS)return jc;CS=1;const a=Rn(),e=Ue(),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:l,location:p,terms:u}]=o.options,r=a(l?l.join(""):""),m=/\bno-warning-comments\b/u;function i(f){const g=a(f),d="\\b";let E="";p==="start"?E=`^[\\s${r}]*`:/^\w/u.test(f)&&(E=d);const S=/\w$/u.test(f)?d:"",x="iu";return new RegExp(`${E}${g}${S}`,x)}const c=u.map(i);function h(f){const g=[];return c.forEach((d,E)=>{d.test(f)&&g.push(u[E])}),g}function s(f){const g=f.value;if(e.isDirectiveComment(f)&&m.test(g))return;h(g).forEach(E=>{let S="",x=!1;for(const T of g.trim().split(/\s+/u)){const C=S?`${S} ${T}`:T;if(C.length<=n)S=C;else{x=!0;break}}o.report({node:f,messageId:"unexpectedComment",data:{matchedTerm:E,comment:`${S}${x?"...":""}`}})})}return{Program(){t.getAllComments().filter(g=>g.type!=="Shebang").forEach(s)}}}},jc}var Uc,wS;function UD(){if(wS)return Uc;wS=1;const a=Ue();return Uc={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",url:"https://eslint.style"},rule:{name:"no-whitespace-before-property",url:"https://eslint.style/rules/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,l,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(l,p)?null:(t.optional?r="?.":t.computed||(r="."),u.replaceTextRange([l.range[1],p.range[0]],r))}})}return{MemberExpression(t){let l,p;a.isTokenOnSameLine(t.object,t.property)&&(t.computed?(l=n.getTokenBefore(t.property,a.isOpeningBracketToken),p=n.getTokenBefore(l,t.optional?1:0)):(l=n.getFirstToken(t.property),p=n.getTokenBefore(l,1)),n.isSpaceBetweenTokens(p,l)&&o(t,p,l))}}}},Uc}var qc,AS;function qD(){return AS||(AS=1,qc={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"})}}}}),qc}var Vc,TS;function VD(){if(TS)return Vc;TS=1;const a={enum:["beside","below","any"]};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",url:"https://eslint.style"},rule:{name:"nonblock-statement-body-position",url:"https://eslint.style/rules/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(l){return e.options[1]&&e.options[1].overrides&&e.options[1].overrides[l]||e.options[0]||"beside"}function t(l,p){const u=o(p);if(l.type==="BlockStatement"||u==="any")return;const r=n.getTokenBefore(l);r.loc.end.line===l.loc.start.line&&u==="below"?e.report({node:l,messageId:"expectLinebreak",fix:m=>m.insertTextBefore(l,`
104
- `)}):r.loc.end.line!==l.loc.start.line&&u==="beside"&&e.report({node:l,messageId:"expectNoLinebreak",fix(m){return n.getText().slice(r.range[1],l.range[0]).trim()?null:m.replaceTextRange([r.range[1],l.range[0]]," ")}})}return{IfStatement(l){t(l.consequent,"if"),l.alternate&&l.alternate.type!=="IfStatement"&&t(l.alternate,"else")},WhileStatement:l=>t(l.body,"while"),DoWhileStatement:l=>t(l.body,"do"),ForStatement:l=>t(l.body,"for"),ForInStatement:l=>t(l.body,"for"),ForOfStatement:l=>t(l.body,"for")}}},Vc}var $c,kS;function $D(){if(kS)return $c;kS=1;const a=Ue(),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,m=Number.POSITIVE_INFINITY,i=!1;return u?u==="always"?m=0:u==="never"?m=Number.POSITIVE_INFINITY:(r=!!u.multiline,m=u.minProperties||Number.POSITIVE_INFINITY,i=!!u.consistent):i=!0,{multiline:r,minProperties:m,consistent:i}}function o(u){return typeof u=="object"&&u!==null}function t(u){return o(u)||typeof u=="string"}function l(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,m,i){let c;return u.type==="ObjectExpression"||u.type==="ObjectPattern"?c=u.properties:c=u.specifiers.filter(h=>h.type==="ImportSpecifier"||h.type==="ExportSpecifier"),c.length>=r.minProperties||r.multiline&&c.length>0&&m.loc.start.line!==i.loc.end.line}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",url:"https://eslint.style"},rule:{name:"object-curly-newline",url:"https://eslint.style/rules/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,m=l(u.options[0]);function i(c){const h=m[c.type];if(c.type==="ImportDeclaration"&&!c.specifiers.some(T=>T.type==="ImportSpecifier")||c.type==="ExportNamedDeclaration"&&!c.specifiers.some(T=>T.type==="ExportSpecifier"))return;const s=r.getFirstToken(c,T=>T.value==="{");let f;c.typeAnnotation?f=r.getTokenBefore(c.typeAnnotation):f=r.getLastToken(c,T=>T.value==="}");let g=r.getTokenAfter(s,{includeComments:!0}),d=r.getTokenBefore(f,{includeComments:!0});const E=p(c,h,g,d),S=a.isCommentToken(g),x=a.isCommentToken(d);if(g=r.getTokenAfter(s),d=r.getTokenBefore(f),E)a.isTokenOnSameLine(s,g)&&u.report({messageId:"expectedLinebreakAfterOpeningBrace",node:c,loc:s.loc,fix(T){return S?null:T.insertTextAfter(s,`
105
- `)}}),a.isTokenOnSameLine(d,f)&&u.report({messageId:"expectedLinebreakBeforeClosingBrace",node:c,loc:f.loc,fix(T){return x?null:T.insertTextBefore(f,`
106
- `)}});else{const T=h.consistent,C=!a.isTokenOnSameLine(s,g),v=!a.isTokenOnSameLine(d,f);(!T&&C||T&&C&&!v)&&u.report({messageId:"unexpectedLinebreakAfterOpeningBrace",node:c,loc:s.loc,fix(A){return S?null:A.removeRange([s.range[1],g.range[0]])}}),(!T&&v||T&&!C&&v)&&u.report({messageId:"unexpectedLinebreakBeforeClosingBrace",node:c,loc:f.loc,fix(A){return x?null:A.removeRange([d.range[1],f.range[0]])}})}}return{ObjectExpression:i,ObjectPattern:i,ImportDeclaration:i,ExportNamedDeclaration:i}}},$c}var Wc,DS;function WD(){if(DS)return Wc;DS=1;const a=Ue();return 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",url:"https://eslint.style"},rule:{name:"object-curly-spacing",url:"https://eslint.style/rules/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(g){return e.options[1]?e.options[1][g]===!n:!1}const l={spaced:n,arraysInObjectsException:t("arraysInObjects"),objectsInObjectsException:t("objectsInObjects")};function p(g,d){const E=e.sourceCode.getTokenAfter(d,{includeComments:!0});e.report({node:g,loc:{start:d.loc.end,end:E.loc.start},messageId:"unexpectedSpaceAfter",data:{token:d.value},fix(S){return S.removeRange([d.range[1],E.range[0]])}})}function u(g,d){const E=e.sourceCode.getTokenBefore(d,{includeComments:!0});e.report({node:g,loc:{start:E.loc.end,end:d.loc.start},messageId:"unexpectedSpaceBefore",data:{token:d.value},fix(S){return S.removeRange([E.range[1],d.range[0]])}})}function r(g,d){e.report({node:g,loc:d.loc,messageId:"requireSpaceAfter",data:{token:d.value},fix(E){return E.insertTextAfter(d," ")}})}function m(g,d){e.report({node:g,loc:d.loc,messageId:"requireSpaceBefore",data:{token:d.value},fix(E){return E.insertTextBefore(d," ")}})}function i(g,d,E,S,x){if(a.isTokenOnSameLine(d,E)){const T=o.isSpaceBetweenTokens(d,E);l.spaced&&!T&&r(g,d),!l.spaced&&T&&E.type!=="Line"&&p(g,d)}if(a.isTokenOnSameLine(S,x)){const C=(l.arraysInObjectsException&&a.isClosingBracketToken(S)||l.objectsInObjectsException&&a.isClosingBraceToken(S))&&o.getNodeByRangeIndex(S.range[0]).type,v=l.arraysInObjectsException&&C==="ArrayExpression"||l.objectsInObjectsException&&(C==="ObjectExpression"||C==="ObjectPattern")?!l.spaced:l.spaced,A=o.isSpaceBetweenTokens(S,x);v&&!A&&m(g,x),!v&&A&&u(g,x)}}function c(g){const d=g.properties.at(-1);return o.getTokenAfter(d,a.isClosingBraceToken)}function h(g){if(g.properties.length===0)return;const d=o.getFirstToken(g),E=c(g),S=o.getTokenAfter(d,{includeComments:!0}),x=o.getTokenBefore(E,{includeComments:!0});i(g,d,S,x,E)}function s(g){if(g.specifiers.length===0)return;let d=g.specifiers[0];const E=g.specifiers.at(-1);if(E.type!=="ImportSpecifier")return;d.type!=="ImportSpecifier"&&(d=g.specifiers[1]);const S=o.getTokenBefore(d),x=o.getTokenAfter(E,a.isNotCommaToken),T=o.getTokenAfter(S,{includeComments:!0}),C=o.getTokenBefore(x,{includeComments:!0});i(g,S,T,C,x)}function f(g){if(g.specifiers.length===0)return;const d=g.specifiers[0],E=g.specifiers.at(-1),S=o.getTokenBefore(d),x=o.getTokenAfter(E,a.isNotCommaToken),T=o.getTokenAfter(S,{includeComments:!0}),C=o.getTokenBefore(x,{includeComments:!0});i(g,S,T,C,x)}return{ObjectPattern:h,ObjectExpression:h,ImportDeclaration:s,ExportNamedDeclaration:f}}},Wc}var Gc,IS;function GD(){return IS||(IS=1,Gc={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",url:"https://eslint.style"},rule:{name:"object-property-newline",url:"https://eslint.style/rules/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 l=o.getFirstToken(t.properties[0]),p=o.getLastToken(t.properties.at(-1));if(l.loc.end.line===p.loc.start.line)return}for(let l=1;l<t.properties.length;l++){const p=o.getLastToken(t.properties[l-1]),u=o.getFirstToken(t.properties[l]);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,`
107
- `)}})}}}}}),Gc}var zc,PS;function zD(){if(PS)return zc;PS=1;const a={always:"always",never:"never",methods:"methods",properties:"properties",consistent:"consistent",consistentAsNeeded:"consistent-as-needed"},e=Ue();return zc={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,l=o===a.properties||o===a.always,p=o===a.never,u=o===a.consistent,r=o===a.consistentAsNeeded,m=n.options[1]||{},i=m.ignoreConstructors,c=m.methodsIgnorePattern?new RegExp(m.methodsIgnorePattern,"u"):null,h=m.avoidQuotes,s=!!m.avoidExplicitReturnArrows,f=n.sourceCode,g=/[^_$0-9]/u;function d(P){const O=g.exec(P);if(!O)return!1;const q=P.charAt(O.index);return q===q.toUpperCase()}function E(P){return P.kind!=="set"&&P.kind!=="get"&&P.type!=="SpreadElement"&&P.type!=="SpreadProperty"&&P.type!=="ExperimentalSpreadProperty"}function S(P){return P.type==="Literal"&&typeof P.value=="string"}function x(P){return P.shorthand||P.method}function T(P){const O=P.value;return O.type==="FunctionExpression"?!O.id:O.type==="Identifier"?e.getStaticPropertyName(P)===O.name:!1}function C(P,O){const q=P.properties.filter(E);if(q.length>0){const N=q.filter(x);N.length!==q.length&&(N.length>0?n.report({node:P,messageId:"unexpectedMix"}):O&&q.every(T)&&n.report({node:P,messageId:"expectedAllPropertiesShorthanded"}))}}function v(P,O){const q=O.computed?f.getFirstToken(O,e.isOpeningBracketToken):f.getFirstToken(O.key),N=O.computed?f.getFirstTokenBetween(O.key,O.value,e.isClosingBracketToken):f.getLastToken(O.key),_=f.text.slice(q.range[0],N.range[1]);let G="";if(f.commentsExistBetween(N,O.value))return null;O.value.async&&(G+="async "),O.value.generator&&(G+="*");const B=[q.range[0],O.range[1]],z=G+_;if(O.value.type==="FunctionExpression"){const ie=f.getTokens(O.value).find(de=>de.type==="Keyword"&&de.value==="function"),se=O.value.generator?f.getTokenAfter(ie):ie;return P.replaceTextRange(B,z+f.text.slice(se.range[1],O.value.range[1]))}const H=f.getTokenBefore(O.value.body,e.isArrowToken),ce=f.text.slice(H.range[1],O.value.range[1]),Fe=f.getFirstToken(O.value,{skip:O.value.async?1:0}).range[0],X=f.getTokenBefore(H).range[1],I=O.value.params.length===1&&O.value.params[0].range[0]===Fe,W=f.text.slice(Fe,X),oe=I?`(${W})`:W;return P.replaceTextRange(B,z+oe+ce)}function A(P,O){const q=O.computed?f.getTokens(O).find(B=>B.value==="["):f.getFirstToken(O.key),N=O.computed?f.getTokensBetween(O.key,O.value).find(B=>B.value==="]"):f.getLastToken(O.key),_=f.text.slice(q.range[0],N.range[1]);let G="function";return O.value.async&&(G=`async ${G}`),O.value.generator&&(G=`${G}*`),P.replaceTextRange([O.range[0],N.range[1]],`${_}: ${G}`)}const b=[],w=new WeakSet,k=new WeakSet;function R(P){b.unshift(new Set),f.getScope(P).variables.filter(O=>O.name==="arguments").forEach(O=>{O.references.map(q=>q.identifier).forEach(q=>k.add(q))})}function F(){b.shift()}function L(){b[0].forEach(P=>w.add(P))}return{Program:R,FunctionDeclaration:R,FunctionExpression:R,"Program:exit":F,"FunctionDeclaration:exit":F,"FunctionExpression:exit":F,ArrowFunctionExpression(P){b[0].add(P)},"ArrowFunctionExpression:exit"(P){b[0].delete(P)},ThisExpression:L,Super:L,MetaProperty(P){P.meta.name==="new"&&P.property.name==="target"&&L()},Identifier(P){k.has(P)&&L()},ObjectExpression(P){u?C(P,!1):r&&C(P,!0)},"Property:exit"(P){const O=P.method||P.shorthand;if(P.parent.type!=="ObjectPattern"&&!(P.kind==="get"||P.kind==="set")&&!(P.computed&&P.value.type!=="FunctionExpression"&&P.value.type!=="ArrowFunctionExpression")){if(O)if(P.method&&(p||h&&S(P.key))){const q=p?"expectedMethodLongform":"expectedLiteralMethodLongform";n.report({node:P,messageId:q,fix:N=>A(N,P)})}else p&&n.report({node:P,messageId:"expectedPropertyLongform",fix:q=>q.insertTextAfter(P.key,`: ${P.key.name}`)});else if(t&&!P.value.id&&(P.value.type==="FunctionExpression"||P.value.type==="ArrowFunctionExpression")){if(i&&P.key.type==="Identifier"&&d(P.key.name))return;if(c){const q=e.getStaticPropertyName(P);if(q!==null&&c.test(q))return}if(h&&S(P.key))return;(P.value.type==="FunctionExpression"||P.value.type==="ArrowFunctionExpression"&&P.value.body.type==="BlockStatement"&&s&&!w.has(P.value))&&n.report({node:P,messageId:"expectedMethodShorthand",fix:q=>v(q,P)})}else if(P.value.type==="Identifier"&&P.key.name===P.value.name&&l)n.report({node:P,messageId:"expectedPropertyShorthand",fix(q){return f.getCommentsInside(P).length>0?null:q.replaceText(P,P.value.name)}});else if(P.value.type==="Identifier"&&P.key.type==="Literal"&&P.key.value===P.value.name&&l){if(h)return;n.report({node:P,messageId:"expectedPropertyShorthand",fix(q){return f.getCommentsInside(P).length>0?null:q.replaceText(P,P.value.name)}})}}}}}},zc}var Hc,FS;function HD(){if(FS)return Hc;FS=1;const a=Ue();function e(n){return a.STATEMENT_LIST_PARENTS.has(n.parent.type)}return Hc={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"]},using:{enum:["always","never","consecutive"]},awaitUsing:{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",l="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},u.using={uninitialized:p,initialized:p},u.awaitUsing={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},u.using={uninitialized:p.using,initialized:p.using},u.awaitUsing={uninitialized:p.awaitUsing,initialized:p.awaitUsing},Object.hasOwn(p,"uninitialized")&&(u.var.uninitialized=p.uninitialized,u.let.uninitialized=p.uninitialized,u.const.uninitialized=p.uninitialized,u.using.uninitialized=p.uninitialized,u.awaitUsing.uninitialized=p.uninitialized),Object.hasOwn(p,"initialized")&&(u.var.initialized=p.initialized,u.let.initialized=p.initialized,u.const.initialized=p.initialized,u.using.initialized=p.initialized,u.awaitUsing.initialized=p.initialized));const r=n.sourceCode,m=[],i=[];function c(){i.push({let:{initialized:!1,uninitialized:!1},const:{initialized:!1,uninitialized:!1},using:{initialized:!1,uninitialized:!1},awaitUsing:{initialized:!1,uninitialized:!1}})}function h(){m.push({initialized:!1,uninitialized:!1}),c()}function s(){i.pop()}function f(){m.pop(),s()}function g(A){return A.init&&A.init.type==="CallExpression"&&A.init.callee.name==="require"}function d(A,b,w){for(let k=0;k<b.length;k++)b[k].init===null?u[A]&&u[A].uninitialized===o&&(w.uninitialized=!0):u[A]&&u[A].initialized===o&&(u.separateRequires&&g(b[k])?w.required=!0:w.initialized=!0)}function E(A){let b;return A==="var"?b=m.at(-1):A==="let"?b=i.at(-1).let:A==="const"?b=i.at(-1).const:A==="using"?b=i.at(-1).using:A==="awaitUsing"&&(b=i.at(-1).awaitUsing),b}function S(A){const b={uninitialized:0,initialized:0};for(let w=0;w<A.length;w++)A[w].init===null?b.uninitialized++:b.initialized++;return b}function x(A,b){const w=S(b),k=u[A]||{},R=E(A),F=b.some(g);return k.uninitialized===o&&k.initialized===o&&(R.uninitialized||R.initialized)&&!F||w.uninitialized>0&&k.uninitialized===o&&R.uninitialized||w.initialized>0&&k.initialized===o&&R.initialized&&!F||R.required&&F?!1:(d(A,b,R),!0)}function T(A){const b=A[0],w=Array.isArray(b.parent.parent.body)?b.parent.parent.body:[],k=w.findIndex(F=>F.range[0]===b.parent.range[0]),R=w[k-1];return function*(L){const P=r.getFirstToken(b.parent),O=r.getTokenBefore(P);if(R&&R.kind===b.parent.kind){if(O.value===";"?yield L.replaceText(O,","):yield L.insertTextAfter(O,","),b.parent.kind==="await using"){const q=r.getTokenAfter(P);yield L.remove(q)}yield L.replaceText(P,"")}}}function C(A){const{parent:b}=A;return e(b.type==="ExportNamedDeclaration"?b:A)?w=>A.declarations.map(k=>{const R=r.getTokenAfter(k);if(R===null)return null;const F=r.getTokenAfter(R,{includeComments:!0});if(R.value!==",")return null;const L=A.parent.type==="ExportNamedDeclaration"?"export ":"";if(F.range[0]===R.range[1])return w.replaceText(R,`; ${L}${A.kind} `);if(F.loc.start.line>R.loc.end.line||F.type==="Line"||F.type==="Block"){let P=F;for(;P.type==="Line"||P.type==="Block";)P=r.getTokenAfter(P,{includeComments:!0});return w.replaceTextRange([R.range[0],P.range[0]],`;${r.text.slice(R.range[1],P.range[0])}${L}${A.kind} `)}return w.replaceText(R,`; ${L}${A.kind}`)}).filter(k=>k):null}function v(A){const b=A.parent,w=A.kind,k=w==="await using"?"awaitUsing":w;if(!u[k])return;const R=A.declarations,F=S(R),L=R.some(g)&&!R.every(g);u[k].initialized===o&&u.separateRequires&&L&&n.report({node:A,messageId:"splitRequires"});const P=b.body&&b.body.length>0&&b.body.indexOf(A)||0;if(P>0){const O=b.body[P-1],q=O.type==="VariableDeclaration",N=R.concat(O.declarations||[]);if(q&&O.kind===w&&!(N.some(g)&&!N.every(g))){const _=S(O.declarations);u[k].initialized===l&&u[k].uninitialized===l?n.report({node:A,messageId:"combine",data:{type:w},fix:T(R)}):u[k].initialized===l&&F.initialized>0&&_.initialized>0?n.report({node:A,messageId:"combineInitialized",data:{type:w},fix:T(R)}):u[k].uninitialized===l&&F.uninitialized>0&&_.uninitialized>0&&n.report({node:A,messageId:"combineUninitialized",data:{type:w},fix:T(R)})}}if(!x(k,R)){if(u[k].initialized===o&&u[k].uninitialized===o)n.report({node:A,messageId:"combine",data:{type:w},fix:T(R)});else if(u[k].initialized===o&&F.initialized>0&&n.report({node:A,messageId:"combineInitialized",data:{type:w},fix:T(R)}),u[k].uninitialized===o&&F.uninitialized>0){if(A.parent.left===A&&(A.parent.type==="ForInStatement"||A.parent.type==="ForOfStatement"))return;n.report({node:A,messageId:"combineUninitialized",data:{type:w},fix:T(R)})}}(b.type!=="ForStatement"||b.init!==A)&&F.uninitialized+F.initialized>1&&(u[k].initialized===t&&u[k].uninitialized===t?n.report({node:A,messageId:"split",data:{type:w},fix:C(A)}):u[k].initialized===t&&F.initialized>0?n.report({node:A,messageId:"splitInitialized",data:{type:w},fix:C(A)}):u[k].uninitialized===t&&F.uninitialized>0&&n.report({node:A,messageId:"splitUninitialized",data:{type:w},fix:C(A)}))}return{Program:h,FunctionDeclaration:h,FunctionExpression:h,ArrowFunctionExpression:h,StaticBlock:h,BlockStatement:c,ForStatement:c,ForInStatement:c,ForOfStatement:c,SwitchStatement:c,VariableDeclaration:v,"ForStatement:exit":s,"ForOfStatement:exit":s,"ForInStatement:exit":s,"SwitchStatement:exit":s,"BlockStatement:exit":s,"Program:exit":f,"FunctionDeclaration:exit":f,"FunctionExpression:exit":f,"ArrowFunctionExpression:exit":f,"StaticBlock:exit":f}}},Hc}var Kc,RS;function KD(){return RS||(RS=1,Kc={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",url:"https://eslint.style"},rule:{name:"one-var-declaration-per-line",url:"https://eslint.style/rules/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 l=t.declarations;let p;l.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,`
108
- `)}),p=u})}return{VariableDeclaration:o}}}),Kc}var Xc,_S;function XD(){if(_S)return Xc;_S=1;const a=Ue();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 Xc={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 l=t.options[0]==="never",p=t.sourceCode;function u(i){return p.getFirstTokenBetween(i.left,i.right,c=>c.value===i.operator)}function r(i){if(i.operator!=="="||i.right.type!=="BinaryExpression")return;const c=i.left,h=i.right,s=h.operator;if(e(s)||n(s)){const f=`${s}=`;a.isSameReference(c,h.left,!0)?t.report({node:i,messageId:"replaced",data:{operator:f},fix(g){if(o(c)&&o(h.left)){const d=u(i),E=u(h),S=p.getText().slice(i.range[0],d.range[0]),x=p.getText().slice(E.range[1],i.right.range[1]);return p.commentsExistBetween(d,E)?null:g.replaceText(i,`${S}${f}${x}`)}return null}}):a.isSameReference(c,h.right,!0)&&e(s)&&t.report({node:i,messageId:"replaced",data:{operator:f}})}}function m(i){i.operator!=="="&&!a.isLogicalAssignmentOperator(i.operator)&&t.report({node:i,messageId:"unexpected",data:{operator:i.operator},fix(c){if(o(i.left)){const h=p.getFirstToken(i),s=u(i),f=p.getText().slice(i.range[0],s.range[0]),g=i.operator.slice(0,-1);let d;if(p.commentsExistBetween(h,s))return null;if(a.getPrecedence(i.right)<=a.getPrecedence({type:"BinaryExpression",operator:g})&&!a.isParenthesised(p,i.right))d=`${p.text.slice(s.range[1],i.right.range[0])}(${p.getText(i.right)})`;else{const E=p.getTokenAfter(s,{includeComments:!0});let S="";s.range[1]===E.range[0]&&!a.canTokensBeAdjacent({type:"Punctuator",value:g},E)&&(S=" "),d=`${S}${p.text.slice(s.range[1],i.range[1])}`}return c.replaceText(i,`${f}= ${f}${g}${d}`)}return null}})}return{AssignmentExpression:l?m:r}}},Xc}var Jc,BS;function JD(){if(BS)return Jc;BS=1;const a=Ue();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",url:"https://eslint.style"},rule:{name:"operator-linebreak",url:"https://eslint.style/rules/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]||{},l=t.overrides?Object.assign({},t.overrides):{};n&&!l["?"]&&(l["?"]="before"),n&&!l[":"]&&(l[":"]="before");const p=e.sourceCode;function u(i,c){return h=>{const s=p.getTokenBefore(i),f=p.getTokenAfter(i),g=p.text.slice(s.range[1],i.range[0]),d=p.text.slice(i.range[1],f.range[0]),E=!a.isTokenOnSameLine(s,i),S=!a.isTokenOnSameLine(i,f);let x,T;if(E!==S&&c!=="none"){if(p.getTokenBefore(i,{includeComments:!0})!==s&&p.getTokenAfter(i,{includeComments:!0})!==f)return null;x=d,T=g}else{const C=a.createGlobalLinebreakMatcher();if(x=c==="before"||g.trim()?g:g.replace(C,""),T=c==="after"||d.trim()?d:d.replace(C,""),x===g&&T===d)return null}return T===""&&f.type==="Punctuator"&&"+-".includes(i.value)&&f.value===i.value&&(T+=" "),h.replaceTextRange([s.range[1],f.range[0]],x+i.value+T)}}function r(i,c,h){const s=p.getTokenBefore(c,x=>x.value===h),f=p.getTokenBefore(s),g=p.getTokenAfter(s),d=l[h],E=d||o,S=u(s,E);a.isTokenOnSameLine(f,s)&&a.isTokenOnSameLine(s,g)||(d!=="ignore"&&!a.isTokenOnSameLine(f,s)&&!a.isTokenOnSameLine(s,g)?e.report({node:i,loc:s.loc,messageId:"badLinebreak",data:{operator:h},fix:S}):E==="before"&&a.isTokenOnSameLine(f,s)?e.report({node:i,loc:s.loc,messageId:"operatorAtBeginning",data:{operator:h},fix:S}):E==="after"&&a.isTokenOnSameLine(s,g)?e.report({node:i,loc:s.loc,messageId:"operatorAtEnd",data:{operator:h},fix:S}):E==="none"&&e.report({node:i,loc:s.loc,messageId:"noLinebreak",data:{operator:h},fix:S}))}function m(i){r(i,i.right,i.operator)}return{BinaryExpression:m,LogicalExpression:m,AssignmentExpression:m,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,":")}}}},Jc}var Yc,LS;function YD(){if(LS)return Yc;LS=1;const a=Ue();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",url:"https://eslint.style"},rule:{name:"padded-blocks",url:"https://eslint.style/rules/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 f=o==="always";n.blocks=f,n.switches=f,n.classes=f}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 l=e.sourceCode;function p(f){return f.type==="SwitchStatement"?l.getTokenBefore(f.cases[0]):f.type==="StaticBlock"?l.getFirstToken(f,{skip:1}):l.getFirstToken(f)}function u(f){return f.type==="Line"||f.type==="Block"}function r(f,g){return g.loc.start.line-f.loc.end.line>=2}function m(f){let g,d=f;do g=d,d=l.getTokenAfter(d,{includeComments:!0});while(u(d)&&d.loc.start.line===g.loc.end.line);return d}function i(f){let g=f,d;do d=g,g=l.getTokenBefore(g,{includeComments:!0});while(u(g)&&g.loc.end.line===d.loc.start.line);return g}function c(f){switch(f.type){case"BlockStatement":case"StaticBlock":return n.blocks;case"SwitchStatement":return n.switches;case"ClassBody":return n.classes;default:throw new Error("unreachable")}}function h(f){const g=p(f),d=m(g),E=l.getTokenBefore(d,{includeComments:!0}),S=l.getLastToken(f),x=i(S),T=l.getTokenAfter(x,{includeComments:!0}),C=r(E,d),v=r(x,T);n.allowSingleLineBlocks&&a.isTokenOnSameLine(E,T)||(c(f)?(C||e.report({node:f,loc:{start:E.loc.start,end:d.loc.start},fix(A){return A.insertTextAfter(E,`
109
- `)},messageId:"alwaysPadBlock"}),v||e.report({node:f,loc:{end:T.loc.start,start:x.loc.end},fix(A){return A.insertTextBefore(T,`
110
- `)},messageId:"alwaysPadBlock"})):(C&&e.report({node:f,loc:{start:E.loc.start,end:d.loc.start},fix(A){return A.replaceTextRange([E.range[1],d.range[0]-d.loc.start.column],`
111
- `)},messageId:"neverPadBlock"}),v&&e.report({node:f,loc:{end:T.loc.start,start:x.loc.end},messageId:"neverPadBlock",fix(A){return A.replaceTextRange([x.range[1],T.range[0]-T.loc.start.column],`
112
- `)}})))}const s={};return Object.hasOwn(n,"switches")&&(s.SwitchStatement=function(f){f.cases.length!==0&&h(f)}),Object.hasOwn(n,"blocks")&&(s.BlockStatement=function(f){f.body.length!==0&&h(f)},s.StaticBlock=s.BlockStatement),Object.hasOwn(n,"classes")&&(s.ClassBody=function(f){f.body.length!==0&&h(f)}),s}},Yc}var Qc,OS;function QD(){if(OS)return Qc;OS=1;const a=Ue(),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 l(S){return{test:(x,T)=>T.getFirstToken(x).value===S}}function p(S){return{test:(x,T)=>x.loc.start.line===x.loc.end.line&&T.getFirstToken(x).value===S}}function u(S){return{test:(x,T)=>x.loc.start.line!==x.loc.end.line&&T.getFirstToken(x).value===S}}function r(S){return{test:x=>x.type===S}}function m(S){if(S.type==="ExpressionStatement"){let x=a.skipChainExpression(S.expression);return x.type==="UnaryExpression"&&(x=a.skipChainExpression(x.argument)),x.type==="CallExpression"&&a.isFunction(x.callee)}return!1}function i(S,x){if(x.type==="DoWhileStatement"&&x.body.type==="BlockStatement"||m(x))return!0;const T=S.getLastToken(x,a.isNotSemicolonToken),C=T&&a.isClosingBraceToken(T)?S.getNodeByRangeIndex(T.range[0]):null;return!!C&&(C.type==="BlockStatement"||C.type==="SwitchStatement")}function c(S,x){const T=S.getLastToken(x),C=S.getTokenBefore(T),v=S.getTokenAfter(T);return!!(C&&v&&C.range[0]>=x.range[0]&&a.isSemicolonToken(T)&&T.loc.start.line!==C.loc.end.line&&T.loc.end.line===v.loc.start.line)?C:T}function h(S,x,T){return x+T}function s(){}function f(S,x,T,C){C.length!==0&&S.report({node:T,messageId:"unexpectedBlankLine",fix(v){if(C.length>=2)return null;const A=C[0][0],b=C[0][1],w=A.range[1],k=b.range[0],R=S.sourceCode.text.slice(w,k).replace(n,h);return v.replaceTextRange([w,k],R)}})}function g(S,x,T,C){C.length>0||S.report({node:T,messageId:"expectedBlankLine",fix(v){const A=S.sourceCode;let b=c(A,x);const w=A.getFirstTokenBetween(b,T,{includeComments:!0,filter(R){return a.isTokenOnSameLine(b,R)?(b=R,!1):!0}})||T,k=a.isTokenOnSameLine(b,w)?`
113
-
114
- `:`
115
- `;return v.insertTextAfter(b,k)}})}const d={any:{verify:s},never:{verify:f},always:{verify:g}},E={"*":{test:()=>!0},"block-like":{test:(S,x)=>i(x,S)},"cjs-export":{test:(S,x)=>S.type==="ExpressionStatement"&&S.expression.type==="AssignmentExpression"&&o.test(x.getText(S.expression.left))},"cjs-import":{test:(S,x)=>S.type==="VariableDeclaration"&&S.declarations.length>0&&!!S.declarations[0].init&&t.test(x.getText(S.declarations[0].init))},directive:{test:a.isDirective},expression:{test:S=>S.type==="ExpressionStatement"&&!a.isDirective(S)},iife:{test:m},"multiline-block-like":{test:(S,x)=>S.loc.start.line!==S.loc.end.line&&i(x,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:l("break"),case:l("case"),class:l("class"),const:l("const"),continue:l("continue"),debugger:l("debugger"),default:l("default"),do:l("do"),export:l("export"),for:l("for"),if:l("if"),import:l("import"),let:l("let"),return:l("return"),switch:l("switch"),throw:l("throw"),try:l("try"),var:l("var"),while:l("while"),with:l("with")};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",url:"https://eslint.style"},rule:{name:"padding-line-between-statements",url:"https://eslint.style/rules/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(d)},statementType:{anyOf:[{enum:Object.keys(E)},{type:"array",items:{enum:Object.keys(E)},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 x=S.sourceCode,T=S.options||[];let C=null;function v(){C={upper:C,prevNode:null}}function A(){C=C.upper}function b(L,P){let O=L;for(;O.type==="LabeledStatement";)O=O.body;return Array.isArray(P)?P.some(b.bind(null,O)):E[P].test(O,x)}function w(L,P){for(let O=T.length-1;O>=0;--O){const q=T[O];if(b(L,q.prev)&&b(P,q.next))return d[q.blankLine]}return d.any}function k(L,P){const O=[];let q=c(x,L);if(P.loc.start.line-q.loc.end.line>=2)do{const N=x.getTokenAfter(q,{includeComments:!0});N.loc.start.line-q.loc.end.line>=2&&O.push([q,N]),q=N}while(q.range[0]<P.range[0]);return O}function R(L){const P=L.parent.type;if(!(a.STATEMENT_LIST_PARENTS.has(P)||P==="SwitchStatement"))return;const q=C.prevNode;if(q){const N=w(q,L),_=k(q,L);N.verify(S,q,L,_)}C.prevNode=L}function F(L){R(L),v()}return{Program:v,BlockStatement:v,SwitchStatement:v,StaticBlock:v,"Program:exit":A,"BlockStatement:exit":A,"SwitchStatement:exit":A,"StaticBlock:exit":A,":statement":R,SwitchCase:F,"SwitchCase:exit":A}}},Qc}var Zc,NS;function ZD(){if(NS)return Zc;NS=1;const a=Ue();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 m=u[r];if(m.name==="arguments")return m.identifiers.length===0?m:null}return null}function t(p){const u={isCallback:!1,isLexicalThis:!1};let r=p,m=p.parent,i=!1;for(;r;){switch(m.type){case"LogicalExpression":case"ChainExpression":case"ConditionalExpression":break;case"MemberExpression":if(m.object===r&&!m.property.computed&&m.property.type==="Identifier"&&m.property.name==="bind"){const c=m.parent.type==="ChainExpression"?m.parent:m;if(a.isCallee(c))i||(i=!0,u.isLexicalThis=c.parent.arguments.length===1&&c.parent.arguments[0].type==="ThisExpression"),m=c.parent;else return u}else return u;break;case"CallExpression":case"NewExpression":return m.callee!==r&&(u.isCallback=!0),u;default:return u}r=m,m=m.parent}throw new Error("unreachable")}function l(p){return p.every(u=>u.type==="Identifier")&&p.length!==new Set(p.map(u=>u.name)).size}return Zc={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,m=p.sourceCode;let i=[];function c(){i.push({this:!1,super:!1,meta:!1})}function h(){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 f=i.at(-1);f&&n(s,"new","target")&&(f.meta=!0)},FunctionDeclaration:c,"FunctionDeclaration:exit":h,FunctionExpression:c,"FunctionExpression:exit"(s){const f=h();if(u&&s.id&&s.id.name||s.generator)return;const g=m.getDeclaredVariables(s)[0];if(e(g)&&g.references.length>0)return;const d=o(m.getScope(s));if(d&&d.references.length>0)return;const E=t(s);E.isCallback&&(!r||!f.this||E.isLexicalThis)&&!f.super&&!f.meta&&p.report({node:s,messageId:"preferArrowCallback",*fix(S){if(!E.isLexicalThis&&f.this||l(s.params)||s.params.length&&s.params[0].name==="this")return;if(E.isLexicalThis){const A=s.parent;if(A.type!=="MemberExpression")return;const b=A.parent,w=m.getTokenAfter(A.object,a.isNotClosingParenToken),k=m.getLastToken(b);if(a.isParenthesised(m,A)||m.commentsExistBetween(w,k))return;yield S.removeRange([w.range[0],k.range[1]])}const x=m.getFirstToken(s,s.async?1:0),T=m.getTokenAfter(x,a.isOpeningParenToken),C=m.getTokenBefore(s.body);m.commentsExistBetween(x,T)?(yield S.remove(x),s.id&&(yield S.remove(s.id))):yield S.removeRange([x.range[0],T.range[0]]),yield S.insertTextAfter(C," =>");let v=E.isLexicalThis?s.parent.parent:s;v.type==="ChainExpression"&&(v=v.parent),v.parent.type!=="CallExpression"&&v.parent.type!=="ConditionalExpression"&&!a.isParenthesised(m,v)&&!a.isParenthesised(m,s)&&(yield S.insertTextBefore(v,"("),yield S.insertTextAfter(v,")"))}})}}}},Zc}var ef,MS;function eI(){if(MS)return ef;MS=1;const a=nn(),e=Ue(),n=/^(?:.+?Pattern|RestElement|SpreadProperty|ExperimentalRestProperty|Property)$/u,o=/^(?:Program|BlockStatement|StaticBlock|SwitchCase)$/u,t=/^(?:VariableDeclarator|AssignmentExpression)$/u;function l(s){return s.parent.type==="ForStatement"&&s.parent.init===s}function p(s){let f=s.parent;for(;n.test(f.type);)f=f.parent;return f.type==="VariableDeclarator"||f.type==="AssignmentExpression"&&f.parent.type==="ExpressionStatement"&&o.test(f.parent.parent.type)}function u(s,f){if(f.through.some(d=>d.resolved&&d.resolved.name===s))return!0;const g=e.getVariableByName(f,s);return g!==null?g.defs.some(d=>d.type==="Parameter"):!1}function r(s){if(!s.isWrite())return null;let f=s.identifier.parent;for(;n.test(f.type);)f=f.parent;return t.test(f.type)?f:null}function m(s){switch(s.type){case"ObjectPattern":return s.properties.some(f=>f?m(f.argument||f.value):!1);case"ArrayPattern":return s.elements.some(f=>f?m(f):!1);case"AssignmentPattern":return m(s.left);case"MemberExpression":return!0}return!1}function i(s,f){if(s.eslintUsed&&s.scope.type==="global")return null;let g=null,d=!1;const E=s.references;for(let x=0;x<E.length;++x){const T=E[x];if(T.isWrite()){if(g!==null&&g.identifier!==T.identifier)return null;const v=r(T);if(v!==null&&v.left!==void 0){const A=v.left;let b=!1,w=!1;if(A.type==="ObjectPattern"?(b=A.properties.filter(R=>R.value).map(R=>R.value.name).some(R=>u(R,s.scope)),w=m(A)):A.type==="ArrayPattern"&&(b=A.elements.map(R=>R&&R.name).some(R=>u(R,s.scope)),w=m(A)),b||w)return null}g=T}else if(T.isRead()&&g===null){if(f)return null;d=!0}}return g!==null&&g.from===s.scope&&p(g.identifier)?d?s.defs[0].name:g.identifier:null}function c(s,f){const g=new Map;for(let d=0;d<s.length;++d){const E=s[d],S=E.references,x=i(E,f);let T=null;for(let C=0;C<S.length;++C){const v=S[C],A=v.identifier;if(A===T)continue;T=A;const b=r(v);b&&(g.has(b)?g.get(b).push(x):g.set(b,[x]))}}return g}function h(s,f,g){return!s||g(s)?null:s.type===f?s:h(s.parent,f,g)}return ef={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:f,ignoreReadBeforeAssign:g}]=s.options,d=f!=="all",E=s.sourceCode,S=[];let x=0,T=null,C="";function v(A){const b=A.filter(Boolean);if(A.length&&(d||b.length===A.length)){const w=h(A[0],"VariableDeclaration",F=>F.type.endsWith("Statement")),k=w===null;if(!k&&w.declarations.length>0){const F=w.declarations[0];if(F.init){const L=F.init.parent;L.type==="VariableDeclarator"&&(L.id.name!==C&&(C=L.id.name,x=0),L.id.type==="ObjectPattern"&&L.init.name!==C&&(C=L.init.name,x=0),L.id!==T&&(T=L.id,x=0))}}let R=w&&(w.parent.type==="ForInStatement"||w.parent.type==="ForOfStatement"||w.declarations.every(F=>F.init))&&b.length===A.length;if(!k&&w.declarations&&w.declarations.length!==1&&w&&w.declarations&&w.declarations.length>=1){x+=b.length;let F=0;w.declarations.forEach(L=>{L.id.type==="ObjectPattern"?F+=L.id.properties.length:L.id.type==="ArrayPattern"?F+=L.id.elements.length:F+=1}),R=R&&x===F}b.forEach(F=>{s.report({node:F,messageId:"useConst",data:F,fix:R?L=>{const P=E.getFirstToken(w,O=>O.value===w.kind);return new a(L,E).retainRange(w.range).replaceTextRange(P.range,"const")}:null})})}}return{"Program:exit"(){c(S,g).forEach(v)},VariableDeclaration(A){A.kind==="let"&&!l(A)&&S.push(...E.getDeclaredVariables(A))}}}},ef}var tf,jS;function tI(){if(jS)return tf;jS=1;const a=Ue(),e=a.getPrecedence({type:"AssignmentExpression"});return tf={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 l={VariableDeclarator:{array:!0,object:!0},AssignmentExpression:{array:!0,object:!0}};o&&(l=typeof o.array<"u"||typeof o.object<"u"?{VariableDeclarator:o,AssignmentExpression:o}:o);function p(f,g){return l&&l[f]&&l[f][g]}function u(f){return Number.isInteger(f.property.value)}function r(f,g,d){n.report({node:f,messageId:"preferDestructuring",data:{type:g},fix:d})}function m(f){return f.type==="VariableDeclarator"&&f.id.type==="Identifier"&&f.init.type==="MemberExpression"&&!f.init.computed&&f.init.property.type==="Identifier"&&f.id.name===f.init.property.name}function i(f,g){const d=g.init,E=n.sourceCode;if(E.getCommentsInside(g).length>E.getCommentsInside(d.object).length)return null;let S=E.getText(d.object);return a.getPrecedence(d.object)<e&&(S=`(${S})`),f.replaceText(g,`{${d.property.name}} = ${S}`)}function c(f,g,d){if(g.type!=="MemberExpression"||g.object.type==="Super"||g.property.type==="PrivateIdentifier")return;if(u(g)){p(d.type,"array")&&r(d,"array",null);return}const E=m(d)?S=>i(S,d):null;if(p(d.type,"object")&&t){r(d,"object",E);return}if(p(d.type,"object")){const S=g.property;(S.type==="Literal"&&f.name===S.value||S.type==="Identifier"&&f.name===S.name&&!g.computed)&&r(d,"object",E)}}function h(f){f.init&&(f.parent.kind==="using"||f.parent.kind==="await using"||f.init.type==="MemberExpression"&&c(f.id,f.init,f))}function s(f){f.operator==="="&&c(f.left,f.right,f)}return{VariableDeclarator:h,AssignmentExpression:s}}},tf}var rf,US;function rI(){if(US)return rf;US=1;const a=Ue(),{CALL:e,ReferenceTracker:n}=qt(),o=a.getPrecedence({type:"BinaryExpression",operator:"**"});function t(r){return a.getPrecedence(r)<=o||r.type==="AwaitExpression"||r.type==="UnaryExpression"}function l(r){return a.getPrecedence(r)<o}function p(r,m){const i=r.parent.type==="ChainExpression"?r.parent.parent:r.parent,c=a.getPrecedence(i);return(i.type==="ClassDeclaration"||i.type.endsWith("Expression")&&(c===-1||c>=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(m,r)}function u(r,m){return m?`(${r})`:r}return rf={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 m=r.sourceCode;function i(c){r.report({node:c,messageId:"useExponentiation",fix(h){if(c.arguments.length!==2||c.arguments.some(w=>w.type==="SpreadElement")||m.getCommentsInside(c).length>0)return null;const s=c.arguments[0],f=c.arguments[1],g=m.getText(s),d=m.getText(f),E=t(s),S=l(f),x=p(c,m);let T="",C="";if(!x){if(!E){const w=m.getFirstToken(s),k=m.getTokenBefore(c);k&&k.range[1]===c.range[0]&&!a.canTokensBeAdjacent(k,w)&&(T=" ")}if(!S){const w=m.getLastToken(f),k=m.getTokenAfter(c);k&&c.range[1]===k.range[0]&&!a.canTokensBeAdjacent(w,k)&&(C=" ")}}const v=u(g,E),A=u(d,S),b=u(`${v}**${A}`,x);return h.replaceText(c,`${T}${b}${C}`)}})}return{Program(c){const h=m.getScope(c),s=new n(h),f={Math:{pow:{[e]:!0}}};for(const{node:g}of s.iterateGlobalReferences(f))i(g)}}}},rf}var nf,qS;function nI(){if(qS)return nf;qS=1;const{CALL:a,CONSTRUCT:e,ReferenceTracker:n,getStringIfConstant:o}=qt(),t=ur(),l=new t.RegExpParser;function p(u,r,m,i){switch(i.type){case"Literal":if(typeof i.value=="string"&&m.includes("\\"))return null;break;case"TemplateLiteral":if(i.expressions.length||m.slice(1,-1)!==r)return null;break;default:return null}const c=i.range[0]+u+2;return[{fix(h){const f=(r.match(/temp\d+/gu)||[]).reduce((g,d)=>Math.max(g,Number(d.slice(4))),0);return h.insertTextBeforeRange([c,c],`?<temp${f+1}>`)},messageId:"addGroupName"},{fix(h){return h.insertTextBeforeRange([c,c],"?:")},messageId:"addNonCapture"}]}return nf={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 m(i,c,h,s){let f;try{f=l.parsePattern(i,0,i.length,{unicode:!!(s&&s.includes("u")),unicodeSets:!!(s&&s.includes("v"))})}catch{return}t.visitRegExpAST(f,{onCapturingGroupEnter(g){if(!g.name){const d=r.getText(h),E=p(g.start,i,d,h);u.report({node:c,messageId:"required",data:{group:g.raw},suggest:E})}}})}return{Literal(i){i.regex&&m(i.regex.pattern,i,i,i.regex.flags)},Program(i){const c=r.getScope(i),h=new n(c),s={RegExp:{[a]:!0,[e]:!0}};for(const{node:f}of h.iterateGlobalReferences(s)){const g=o(f.arguments[0]),d=o(f.arguments[1]);g&&m(g,f,f.arguments[0],d)}}}}},nf}var sf,VS;function sI(){if(VS)return sf;VS=1;const a=Ue(),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 sf={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]"(l){const[p,u]=l.arguments,r=a.getStaticStringValue(p),m=u.value;if(r!==null&&a.isStringLiteral(p)&&u.type==="Literal"&&typeof m=="number"&&e.has(m)&&n(l.callee)){const{system:i,literalPrefix:c}=e.get(m);o.report({node:l,messageId:"useLiteral",data:{system:i,functionName:t.getText(l.callee)},fix(h){if(t.getCommentsInside(l).length)return null;const s=`${c}${r}`;if(+s!==parseInt(r,m))return null;const f=t.getTokenBefore(l),g=t.getTokenAfter(l);let d="",E="";return f&&f.range[1]===l.range[0]&&!a.canTokensBeAdjacent(f,s)&&(d=" "),g&&l.range[1]===g.range[0]&&!a.canTokensBeAdjacent(s,g)&&(E=" "),h.replaceText(l,`${d}${s}${E}`)}})}}}}},sf}var af,$S;function aI(){if($S)return af;$S=1;const a=Ue();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 af={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 l=a.getStaticPropertyName(t.callee),p=a.getStaticPropertyName(t.callee.object),u=e(t.callee.object),r=o.getScope(t),m=a.getVariableByName(r,"Object");l==="call"&&p==="hasOwnProperty"&&u&&m&&m.scope.type==="global"&&n.report({node:t,messageId:"useHasOwn",fix(i){if(o.getCommentsInside(t.callee).length>0)return null;const c=o.getTokenBefore(t.callee,{includeComments:!0});return c&&c.range[1]===t.callee.range[0]&&!a.canTokensBeAdjacent(c,"Object.hasOwn")?i.replaceText(t.callee," Object.hasOwn"):i.replaceText(t.callee,"Object.hasOwn")}})}}}},af}var of,WS;function iI(){if(WS)return of;WS=1;const{CALL:a,ReferenceTracker:e}=qt(),{isCommaToken:n,isOpeningParenToken:o,isClosingParenToken:t,isParenthesised:l}=Ue(),p=/\s/u;function u(E){return E.arguments.some(S=>S.type==="SpreadElement")}function r(E){return E.type==="Property"&&(E.kind==="get"||E.kind==="set")}function m(E){return E.properties.some(r)}function i(E){return E.arguments.filter(S=>S.type==="ObjectExpression").some(m)}function c(E,S){const x=E.parent;switch(x.type){case"VariableDeclarator":case"ArrayExpression":case"ReturnStatement":case"CallExpression":case"Property":return!1;case"AssignmentExpression":return x.left===E&&!l(S,E);default:return!l(S,E)}}function h(E,S){switch(E.type){case"AssignmentExpression":case"ArrowFunctionExpression":case"ConditionalExpression":return!l(S,E);default:return!1}}function s(E,S,x){const T=[x.getFirstToken(E),x.getLastToken(E)];let C=x.getTokenBefore(E),v=x.getTokenAfter(E);for(;C&&v&&C.range[0]>S.range[0]&&o(C)&&t(v);)T.push(C,v),C=x.getTokenBefore(C),v=x.getTokenAfter(v);return T.sort((A,b)=>A.range[0]-b.range[0])}function f(E,S){const x=S.text;let T=E.range[0];{const C=S.getTokenBefore(E,{includeComments:!0});if(C&&C.type==="Line")return T}for(;p.test(x[T-1]||"");)T-=1;return T}function g(E,S){const x=S.text;let T=E.range[1];for(;p.test(x[T]||"");)T+=1;return T}function d(E,S){return function*(x){const T=S.getTokenAfter(E.callee,o),C=S.getLastToken(E);yield x.removeRange([E.range[0],T.range[0]]),c(E,S)?(yield x.replaceText(T,"({"),yield x.replaceText(C,"})")):(yield x.replaceText(T,"{"),yield x.replaceText(C,"}"));for(const v of E.arguments){const A=s(v,T,S),b=A.shift(),w=A.pop();if(v.type==="ObjectExpression"){const k=S.getLastToken(v,1),R=S.getTokenAfter(w);for(const P of A)yield x.remove(P);const F=[b.range[0],g(b,S)],L=[Math.max(f(w,S),F[1]),w.range[1]];yield x.removeRange(F),yield x.removeRange(L),(v.properties.length===0||n(k))&&n(R)&&(yield x.remove(R))}else h(v,S)?(yield x.insertTextBefore(b,"...("),yield x.insertTextAfter(w,")")):yield x.insertTextBefore(b,"...")}}}return of={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(E){const S=E.sourceCode;return{Program(x){const T=S.getScope(x),C=new e(T),v={Object:{assign:{[a]:!0}}};for(const{node:A}of C.iterateGlobalReferences(v))if(A.arguments.length>=1&&A.arguments[0].type==="ObjectExpression"&&!u(A)&&!(A.arguments.length>1&&i(A))){const b=A.arguments.length===1?"useLiteralMessage":"useSpreadMessage",w=d(A,S);E.report({node:A,messageId:b,fix:w})}}}}},of}var lf,GS;function oI(){if(GS)return lf;GS=1;const a=Ue();return lf={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 l(p){return a.isSpecificMemberAccess(p.callee,"Promise","reject")}return{CallExpression(p){l(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))}}}},lf}var uf,zS;function lI(){return zS||(zS=1,uf={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(l,p,u){a.report({node:l,messageId:"preferReflect",data:{existing:p,substitute:u}})}return{CallExpression(l){const p=(l.callee.property||{}).name,u=(l.callee.object||{}).name==="Reflect",r=Object.hasOwn(n,p),m=o.includes(p);r&&!u&&!m&&t(l,e[p],n[p])},UnaryExpression(l){const p=l.operator==="delete",u=l.argument.type==="Identifier",r=o.includes("delete");p&&!u&&!r&&t(l,"the delete keyword","Reflect.deleteProperty")}}}}),uf}var cf,HS;function uI(){if(HS)return cf;HS=1;const a=Ue(),{CALL:e,CONSTRUCT:n,ReferenceTracker:o}=qt(),{RegExpValidator:t,visitRegExpAST:l,RegExpParser:p}=ur(),{canTokensBeAdjacent:u}=Ue(),{REGEXPP_LATEST_ECMA_VERSION:r}=ru();function m(h){return h.type==="Literal"&&typeof h.value=="string"}function i(h){return h.type==="Literal"&&Object.hasOwn(h,"regex")}const c=new Set(["(",";","[",",","=","+","*","-","?","~","%","**","!","typeof","instanceof","&&","||","??","return","...","delete","void","in","<",">","<=",">=","==","===","!=","!==","<<",">>",">>>","&","|","^",":","{","=>","*=","<<=",">>=",">>>=","^=","|=","&=","??=","||=","&&=","**=","+=","-=","/=","%=","/","do","break","continue","debugger","case","throw"]);return cf={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(h){const[{disallowRedundantWrapping:s}]=h.options,f=h.sourceCode;function g(F){return F.type==="TaggedTemplateExpression"&&a.isSpecificMemberAccess(F.tag,"String","raw")&&f.isGlobalReference(a.skipChainExpression(F.tag).object)&&a.isStaticTemplateLiteral(F.quasi)}function d(F){return m(F)?F.value:a.isStaticTemplateLiteral(F)?F.quasis[0].value.cooked:g(F)?F.quasi.quasis[0].value.raw:null}function E(F){return m(F)||a.isStaticTemplateLiteral(F)||g(F)}function S(F){const L=F.arguments;return!!((L.length===1||L.length===2)&&L.every(E))}function x(F){const L=F.arguments;return!!(L.length===1&&i(L[0])||L.length===2&&i(L[0])&&E(L[1]))}function T(F){return F<=5?5:Math.min(F,r)}const C=T(h.languageOptions.ecmaVersion);function v(F){switch(F){case`
116
- `:case`\\
117
- `: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(F,L){const P=new t({ecmaVersion:C});try{return P.validatePattern(F,0,F.length,{unicode:L?L.includes("u"):!1,unicodeSets:L?L.includes("v"):!1}),L&&P.validateFlags(L),!0}catch{return!1}}function b(F,L){return[...F].sort().join("")===[...L].sort().join("")}function w(F,L){return[...new Set([...F,...L])].join("")}function k(F,L,P){const O=f.getTokenBefore(F);return f.getCommentsInside(F).length===0&&(!O||c.has(O.value))&&A(L,P)}function R(F,L){const P=f.getTokenBefore(F),O=f.getTokenAfter(F);return(P&&!u(P,L)&&P.range[1]===F.range[0]?" ":"")+L+(O&&!u(L,O)&&F.range[1]===O.range[0]?" ":"")}return{Program(F){const L=f.getScope(F),P=new o(L),O={RegExp:{[e]:!0,[n]:!0}};for(const{node:q}of P.iterateGlobalReferences(O))if(s&&x(q)){const N=q.arguments[0];if(q.arguments.length===2){const _=[],G=d(q.arguments[1])||"";k(q,N.regex.pattern,G)&&_.push({messageId:"replaceWithLiteralAndFlags",pattern:N.regex.pattern,flags:G});const B=N.regex.flags||"",z=w(B,G);!b(z,G)&&k(q,N.regex.pattern,z)&&_.push({messageId:"replaceWithIntendedLiteralAndFlags",pattern:N.regex.pattern,flags:z}),h.report({node:q,messageId:"unexpectedRedundantRegExpWithFlags",suggest:_.map(({flags:H,pattern:ce,messageId:re})=>({messageId:re,data:{flags:H},fix(Fe){return Fe.replaceText(q,R(q,`/${ce}/${H}`))}}))})}else{const _=[];k(q,N.regex.pattern,N.regex.flags)&&_.push(f.getText(N)),h.report({node:q,messageId:"unexpectedRedundantRegExp",suggest:_.map(G=>({messageId:"replaceWithLiteral",fix(B){return B.replaceText(q,R(q,G))}}))})}}else if(S(q)){let N=d(q.arguments[0]),_=!1,G;if(q.arguments[1]&&(G=d(q.arguments[1])),k(q,N,G)||(_=!0),/^[-\w\\[\](){} \t\r\n\v\f!@#$%^&*+=/~`.><?,'"|:;]*$/u.test(N)||(_=!0),N&&!_){let z=0;const H=new p({ecmaVersion:C}).parsePattern(N,0,N.length,{unicode:G?G.includes("u"):!1,unicodeSets:G?G.includes("v"):!1});l(H,{onCharacterEnter(ce){const re=v(ce.raw);re&&(N=N.slice(0,ce.start+z)+re+N.slice(ce.end+z),ce.raw.length===1&&(z+=1))}})}const B=`/${N||"(?:)"}/${G||""}`;h.report({node:q,messageId:"unexpectedRegExp",suggest:_?[]:[{messageId:"replaceWithLiteral",fix(z){return z.replaceText(q,R(q,B))}}]})}}}}},cf}var ff,KS;function cI(){if(KS)return ff;KS=1;function a(n){const o=n.variables;for(let t=0;t<o.length;++t){const l=o[t];if(l.name==="arguments")return l.identifiers.length===0?l:null}return null}function e(n){const o=n.identifier,t=o.parent;return!(t.type==="MemberExpression"&&t.object===o&&!t.computed)}return ff={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 l(p){const u=a(o.getScope(p));u&&u.references.filter(e).forEach(t)}return{"FunctionDeclaration:exit":l,"FunctionExpression:exit":l}}},ff}var pf,XS;function fI(){if(XS)return pf;XS=1;const a=Ue();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,l){return o?a.equalTokens(o,t,l):a.isNullOrUndefined(t)}return pf={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(l){if(!e(l))return;const p=a.skipChainExpression(a.skipChainExpression(l.callee).object),u=p.type==="MemberExpression"?p.object:null,r=l.arguments[0];n(u,r,t)&&o.report({node:l,messageId:"preferSpread"})}}}},pf}var mf,JS;function pI(){if(JS)return mf;JS=1;const a=Ue();function e(r){return r.type==="BinaryExpression"&&r.operator==="+"}function n(r){let m=r;for(;e(m.parent);)m=m.parent;return m}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 l(r){return e(r)?l(r.right)||l(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 mf={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 m=r.sourceCode;let i=Object.create(null);function c(g,d){const E=[g].concat(m.getTokensBetween(g,d)).concat(d),S=m.getText();return E.slice(0,-1).reduce((x,T,C)=>x+S.slice(T.range[1],E[C+1].range[0]),"")}function h(g,d,E){if(g.type==="Literal"&&typeof g.value=="string")return`\`${g.raw.slice(1,-1).replace(/\\*(\$\{|`)/gu,S=>S.lastIndexOf("\\")%2?`\\${S}`:S).replace(new RegExp(`\\\\${g.raw[0]}`,"gu"),g.raw[0])}\``;if(g.type==="TemplateLiteral")return m.getText(g);if(e(g)&&t(g)){const S=m.getFirstTokenBetween(g.left,g.right,A=>A.value==="+"),x=c(g.left,S),T=c(S,g.right),C=u(g.left),v=p(g.right);return C?h(g.left,d,x+T).slice(0,-1)+h(g.right,null,E).slice(1):v?h(g.left,d,null).slice(0,-1)+h(g.right,x+T,E).slice(1):`${h(g.left,d,null)}${x}+${T}${h(g.right,E,null)}`}return`\`\${${d||""}${m.getText(g)}${E||""}}\``}function s(g,d){const E=n(d.parent);return o(E)?null:g.replaceText(E,h(E,null,null))}function f(g){if(!a.isStringLiteral(g)||!e(g.parent))return;const d=n(g.parent);i[d.range[0]]||(i[d.range[0]]=!0,l(d)&&r.report({node:d,messageId:"unexpectedStringConcatenation",fix:E=>s(E,g)}))}return{Program(){i=Object.create(null)},Literal:f,TemplateLiteral:f}}},mf}var hf,YS;function mI(){if(YS)return hf;YS=1;const a=hn(),e=Ue(),n=qi();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",url:"https://eslint.style"},rule:{name:"quote-props",url:"https://eslint.style/rules/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],l=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 m(d){return n.includes(d)}function i(d,E,S){return E.length===1&&E[0].start===0&&E[0].end===d.length&&(["Identifier","Keyword","Null","Boolean"].includes(E[0].type)||E[0].type==="Numeric"&&!S&&String(+E[0].value)===E[0].value)}function c(d){return d.type==="Identifier"?d.name:d.value}function h(d){return d.type==="Literal"&&typeof d.value=="string"?r.getText(d):`"${d.type==="Identifier"?d.name:d.value}"`}function s(d){const E=d.key;if(!(d.method||d.computed||d.shorthand))if(E.type==="Literal"&&typeof E.value=="string"){let S;try{S=a.tokenize(E.value)}catch{return}if(S.length!==1||m(S[0].value)&&l)return;p&&i(E.value,S,u)&&o.report({node:d,messageId:"unnecessarilyQuotedProperty",data:{property:E.value},fix:T=>T.replaceText(E,c(E))})}else l&&E.type==="Identifier"&&m(E.name)?o.report({node:d,messageId:"unquotedReservedProperty",data:{property:E.name},fix:S=>S.replaceText(E,h(E))}):u&&E.type==="Literal"&&e.isNumericLiteral(E)&&o.report({node:d,messageId:"unquotedNumericProperty",data:{property:E.value},fix:S=>S.replaceText(E,h(E))})}function f(d){const E=d.key;!d.method&&!d.computed&&!d.shorthand&&!(E.type==="Literal"&&typeof E.value=="string")&&o.report({node:d,messageId:"unquotedPropertyFound",data:{property:E.name||E.value},fix:S=>S.replaceText(E,h(E))})}function g(d,E){const S=[],x=[];let T=null,C=!1;d.properties.forEach(v=>{const A=v.key;if(!(!A||v.method||v.computed||v.shorthand))if(A.type==="Literal"&&typeof A.value=="string"){if(S.push(v),E){let b;try{b=a.tokenize(A.value)}catch{C=!0;return}C=C||!i(A.value,b)||l&&m(b[0].value)}}else l&&E&&A.type==="Identifier"&&m(A.name)?(x.push(v),C=!0,T=A.name):x.push(v)}),E&&S.length&&!C?S.forEach(v=>{o.report({node:v,messageId:"redundantQuoting",fix:A=>A.replaceText(v.key,c(v.key))})}):x.length&&T?x.forEach(v=>{o.report({node:v,messageId:"requireQuotesDueToReservedWord",data:{property:T},fix:A=>A.replaceText(v.key,h(v.key))})}):S.length&&x.length&&x.forEach(v=>{o.report({node:v,messageId:"inconsistentlyQuotedProperty",data:{key:v.key.name||v.key.value},fix:A=>A.replaceText(v.key,h(v.key))})})}return{Property(d){(t==="always"||!t)&&f(d),t==="as-needed"&&s(d)},ObjectExpression(d){t==="consistent"&&g(d,!1),t==="consistent-as-needed"&&g(d,!0)}}}},hf}var df,QS;function hI(){if(QS)return df;QS=1;const a=Ue(),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 l=this.quote,p=t[0];return l===p?t:l+t.slice(1,-1).replace(/\\(\$\{|\r\n?|\n|.)|["'`]|\$\{|(\r\n?|\n)/gu,(u,r,m)=>r===p||p==="`"&&r==="${"?r:u===l||l==="`"&&u==="${"?`\\${u}`:m&&p==="`"?"\\n":u)+l};const o="avoid-escape";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",url:"https://eslint.style"},rule:{name:"quotes",url:"https://eslint.style/rules/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 l=t.options[0],p=e[l||"double"],u=t.options[1],r=u&&u.allowTemplateLiterals===!0,m=t.sourceCode;let i=u&&u.avoidEscape===!0;u===o&&(i=!0);function c(d){return d.parent.type==="JSXAttribute"||d.parent.type==="JSXElement"||d.parent.type==="JSXFragment"}function h(d){return d.type==="ExpressionStatement"&&d.expression.type==="Literal"&&typeof d.expression.value=="string"&&!a.isParenthesised(m,d.expression)}function s(d){if(!a.isTopLevelExpressionStatement(d.parent))return!1;const E=d.parent.parent;for(let S=0;S<E.body.length;++S){const x=E.body[S];if(x===d.parent)return!0;if(!h(x))break}return!1}function f(d){const E=d.parent;switch(E.type){case"ExpressionStatement":return!a.isParenthesised(m,d)&&s(d);case"Property":case"PropertyDefinition":case"MethodDefinition":return E.key===d&&!E.computed;case"ImportDeclaration":case"ExportNamedDeclaration":return E.source===d;case"ExportAllDeclaration":return E.exported===d||E.source===d;case"ImportSpecifier":return E.imported===d;case"ExportSpecifier":return E.local===d||E.exported===d;default:return!1}}function g(d){return!!(d.parent.type==="TaggedTemplateExpression"&&d===d.parent.quasi||d.expressions.length>0||d.quasis.length>=1&&n.test(d.quasis[0].value.raw))}return{Literal(d){const E=d.value,S=d.raw;if(p&&typeof E=="string"){let x=l==="backtick"&&f(d)||c(d)||a.isSurroundedBy(S,p.quote);!x&&i&&(x=a.isSurroundedBy(S,p.alternateQuote)&&S.includes(p.quote)),x||t.report({node:d,messageId:"wrongQuotes",data:{description:p.description},fix(T){return l==="backtick"&&a.hasOctalOrNonOctalDecimalEscapeSequence(S)?null:T.replaceText(d,p.convert(d.raw))}})}},TemplateLiteral(d){r||l==="backtick"||g(d)||t.report({node:d,messageId:"wrongQuotes",data:{description:p.description},fix(E){return a.isTopLevelExpressionStatement(d.parent)&&!a.isParenthesised(m,d)?null:E.replaceText(d,p.convert(m.getText(d)))}})}}}},df}var gf,ZS;function dI(){if(ZS)return gf;ZS=1;const a=Ue(),e="always",n="as-needed",o=new Set(Array.from({length:35},(r,m)=>m+2));function t(r){return r.defs.length>=1}function l(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 gf={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[m]=r.options,i=r.sourceCode;function c(h){const s=h.arguments;switch(s.length){case 0:r.report({node:h,messageId:"missingParameters"});break;case 1:m===e&&r.report({node:h,messageId:"missingRadix",suggest:[{messageId:"addRadixParameter10",fix(f){const g=i.getTokens(h),d=g.at(-1),E=g.at(-2),S=E.type==="Punctuator"&&E.value===",";return f.insertTextBefore(d,S?" 10,":", 10")}}]});break;default:m===n&&u(s[1])?r.report({node:h,messageId:"redundantRadix"}):p(s[1])||r.report({node:h,messageId:"invalidRadix"});break}}return{"Program:exit"(h){const s=i.getScope(h);let f;f=a.getVariableByName(s,"parseInt"),f&&!t(f)&&f.references.forEach(g=>{const d=g.identifier;a.isCallee(d)&&c(d.parent)}),f=a.getVariableByName(s,"Number"),f&&!t(f)&&f.references.forEach(g=>{const d=g.identifier.parent,E=d.parent.type==="ChainExpression"?d.parent:d;l(d)&&a.isCallee(E)&&c(E.parent)})}}}},gf}var yf,eb;function gI(){if(eb)return yf;eb=1;function a(t,l=new Map){for(const p of t.references)p.resolved!==null&&l.set(p.identifier,p);for(const p of t.childScopes)p.type!=="function"&&a(p,l);return l}function e(t){if(t.writeExpr)return t.writeExpr;let l=t.identifier;for(;l;){const p=l.parent.type;if(p==="AssignmentExpression"&&l.parent.left===l)return l.parent.right;if(p==="MemberExpression"&&l.parent.object===l){l=l.parent;continue}break}return null}function n(t,l){if(!t||l&&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(l){const p=new Set,u=new Set;for(const r of l.prevSegments){const m=this.info.get(r);m&&(m.outdatedReadVariables.forEach(Set.prototype.add,p),m.freshReadVariables.forEach(Set.prototype.add,u))}this.info.set(l,{outdatedReadVariables:p,freshReadVariables:u})}markAsRead(l,p){for(const u of l){const r=this.info.get(u);r&&(r.freshReadVariables.add(p),r.outdatedReadVariables.delete(p))}}makeOutdated(l){for(const p of l){const u=this.info.get(p);u&&(u.freshReadVariables.forEach(Set.prototype.add,u.outdatedReadVariables),u.freshReadVariables.clear())}}isOutdated(l,p){for(const u of l){const r=this.info.get(u);if(r&&r.outdatedReadVariables.has(p))return!0}return!1}}return yf={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:l}]=t.options,p=t.sourceCode,u=new Map,r=new o;let m=null;return{onCodePathStart(i,c){const h=p.getScope(c),s=h.type==="function"&&(h.block.async||h.block.generator);m={upper:m,codePath:i,referenceMap:s?a(h):null,currentSegments:new Set}},onCodePathEnd(){m=m.upper},onCodePathSegmentStart(i){r.initialize(i),m.currentSegments.add(i)},onUnreachableCodePathSegmentStart(i){m.currentSegments.add(i)},onUnreachableCodePathSegmentEnd(i){m.currentSegments.delete(i)},onCodePathSegmentEnd(i){m.currentSegments.delete(i)},Identifier(i){const{referenceMap:c}=m,h=c&&c.get(i);if(!h)return;const s=h.resolved,f=e(h),g=h.identifier.parent.type==="MemberExpression";if(h.isRead()&&!(f&&f.parent.operator==="=")&&r.markAsRead(m.currentSegments,s),f&&f.parent.right===f&&!n(s,g)){let d=u.get(f);d||(d=[],u.set(f,d)),d.push(h)}},":expression:exit"(i){if(!m.referenceMap)return;(i.type==="AwaitExpression"||i.type==="YieldExpression")&&r.makeOutdated(m.currentSegments);const c=u.get(i);if(c){u.delete(i);for(const h of c){const s=h.resolved;r.isOutdated(m.currentSegments,s)&&(i.parent.left===h.identifier?t.report({node:i.parent,messageId:"nonAtomicUpdate",data:{value:s.name}}):l||t.report({node:i.parent,messageId:"nonAtomicObjectUpdate",data:{value:p.getText(i.parent.left),object:s.name}}))}}}}}},yf}var vf,tb;function yI(){if(tb)return vf;tb=1;const a=Ue();function e(n){return n[0].toUpperCase()+n.slice(1)}return vf={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 l(){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,m=o.getFirstToken(r,s=>s.value==="async"),i=[m.range[0],o.getTokenAfter(m,{includeComments:!0}).range[0]],c=o.getTokenAfter(m),h=c.type==="Punctuator"&&(c.value==="["||c.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,h?";":"")}]})}t=t.upper}return{FunctionDeclaration:l,FunctionExpression:l,ArrowFunctionExpression:l,"FunctionDeclaration:exit":p,"FunctionExpression:exit":p,"ArrowFunctionExpression:exit":p,AwaitExpression(){t&&(t.hasAwait=!0)},ForOfStatement(u){t&&u.await&&(t.hasAwait=!0)},VariableDeclaration(u){t&&u.kind==="await using"&&(t.hasAwait=!0)}}}},vf}var Ef,rb;function vI(){if(rb)return Ef;rb=1;const{CALL:a,CONSTRUCT:e,ReferenceTracker:n,getStringIfConstant:o}=qt(),t=Ue(),{isValidWithUnicodeFlag:l}=ru();function p(u,r){let m;return u==="v"?m=!r.includes("v"):u==="u"?m=!r.includes("u"):m=!r.includes("u")&&!r.includes("v"),m}return Ef={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:m}=u.options[0]??{};return{"Literal[regex]"(i){const c=i.regex.flags||"";p(m,c)&&u.report({messageId:m==="v"?"requireVFlag":"requireUFlag",node:i,suggest:l(u.languageOptions.ecmaVersion,i.regex.pattern,m)?[{fix(s){const f=m??"u",g=r.getText(i),d=g.lastIndexOf("/");if(m){const E=m==="u"?"v":"u";if(g.includes(E,d))return s.replaceText(i,g.slice(0,d)+g.slice(d).replace(E,m))}return s.insertTextAfter(i,f)},messageId:m==="v"?"addVFlag":"addUFlag"}]:null})},Program(i){const c=r.getScope(i),h=new n(c),s={RegExp:{[a]:!0,[e]:!0}};for(const{node:f}of h.iterateGlobalReferences(s)){const[g,d]=f.arguments;if(g&&g.type==="SpreadElement")continue;const E=o(g,c),S=o(d,c);let x=!d;typeof S=="string"&&(x=p(m,S)),x&&u.report({messageId:m==="v"?"requireVFlag":"requireUFlag",node:f,suggest:typeof E=="string"&&l(u.languageOptions.ecmaVersion,E,m)?[{fix(T){const C=m??"u";if(d){if(d.type==="Literal"&&typeof d.value=="string"||d.type==="TemplateLiteral"){const A=r.getText(d),b=m==="u"?"v":"u";return S.includes(b)?d.type==="Literal"&&d.raw.includes("\\")||d.type==="TemplateLiteral"&&(d.expressions.length||d.quasis.some(({value:{raw:w}})=>w.includes("\\")))?null:T.replaceText(d,A.replace(b,C)):T.replaceText(d,[A.slice(0,A.length-1),A.slice(A.length-1)].join(C))}return null}const v=r.getLastToken(f,{skip:1});return T.insertTextAfter(v,t.isCommaToken(v)?` "${C}",`:`, "${C}"`)},messageId:m==="v"?"addVFlag":"addUFlag"}]:null})}}}}},Ef}var Sf,nb;function EI(){return nb||(nb=1,Sf={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)}}}}),Sf}var bf,sb;function SI(){return sb||(sb=1,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",url:"https://eslint.style"},rule:{name:"rest-spread-spacing",url:"https://eslint.style/rules/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 l=e.getFirstToken(t),p=e.getTokenAfter(l),u=e.isSpaceBetweenTokens(l,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:l.loc,messageId:"expectedWhitespace",data:{type:r},fix(m){return m.replaceTextRange([l.range[1],p.range[0]]," ")}}):!n&&u&&a.report({node:t,loc:{start:l.loc.end,end:p.loc.start},messageId:"unexpectedWhitespace",data:{type:r},fix(m){return m.removeRange([l.range[1],p.range[0]])}})}return{SpreadElement:o,RestElement:o,ExperimentalSpreadProperty:o,ExperimentalRestProperty:o}}}),bf}var xf,ab;function bI(){if(ab)return xf;ab=1;const a=nn(),e=Ue();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",url:"https://eslint.style"},rule:{name:"semi",url:"https://eslint.style/rules/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"]),l=new Set(["*","in","instanceof"]),p=n.options[1],u=n.options[0]==="never",r=!!(p&&p.omitLastInOneLineBlock),m=!!(p&&p.omitLastInOneLineClassBody),i=p&&p.beforeStatementContinuationChars||"any",c=n.sourceCode;function h(b,w){const k=c.getLastToken(b);let R,F,L;w?(R="extraSemi",L=k.loc,F=function(P){return new a(P,c).retainSurroundingTokens(k).remove(k)}):(R="missingSemi",L={start:k.loc.end,end:e.getNextLocation(c,k.loc.end)},F=function(P){return P.insertTextAfter(k,";")}),n.report({node:b,loc:L,messageId:R,fix:F})}function s(b){const w=c.getTokenAfter(b);return!w||e.isClosingBraceToken(w)||e.isSemicolonToken(w)}function f(b){if(!e.isClosingBraceToken(b))return!1;const w=c.getNodeByRangeIndex(b.range[0]);return w.type==="BlockStatement"&&w.parent.type==="ArrowFunctionExpression"}function g(b){if(b.type!=="PropertyDefinition")return!1;if(!b.computed&&b.key.type==="Identifier"&&t.has(b.key.name)&&!(b.static&&b.key.name==="static")&&!b.value)return!0;const k=c.getTokenAfter(b);return l.has(k.value)}function d(b){const w=c.getLastToken(b,1),k=c.getTokenAfter(b);return!!k&&e.isTokenOnSameLine(w,k)}function E(b){const w=b.type;return w==="DoWhileStatement"||w==="BreakStatement"||w==="ContinueStatement"||w==="DebuggerStatement"||w==="ImportDeclaration"||w==="ExportAllDeclaration"?!1:w==="ReturnStatement"?!!b.argument:w==="ExportNamedDeclaration"?!!b.declaration:!f(c.getLastToken(b,1))}function S(b){return!!b&&o.test(b.value)&&b.value!=="++"&&b.value!=="--"}function x(b){return s(c.getLastToken(b))?!0:g(b)||d(b)?!1:b.type!=="PropertyDefinition"&&i==="never"&&!E(b)||!S(c.getTokenAfter(b))}function T(b){const w=b.parent,k=c.getTokenAfter(b);return!k||k.value!=="}"?!1:w.type==="BlockStatement"?w.loc.start.line===w.loc.end.line:w.type==="StaticBlock"?c.getFirstToken(w,{skip:1}).loc.start.line===w.loc.end.line:!1}function C(b){const w=b.parent,k=c.getTokenAfter(b);return!k||k.value!=="}"?!1:w.type==="ClassBody"?w.loc.start.line===w.loc.end.line:!1}function v(b){const w=e.isSemicolonToken(c.getLastToken(b));if(u)w&&x(b)?h(b,!0):!w&&i==="always"&&b.type!=="PropertyDefinition"&&S(c.getTokenAfter(b))&&h(b);else{const k=r&&T(b),R=m&&C(b),F=k||R;w&&F?h(b,!0):!w&&!F&&h(b)}}function A(b){const w=b.parent;(w.type!=="ForStatement"||w.init!==b)&&(!/^For(?:In|Of)Statement/u.test(w.type)||w.left!==b)&&v(b)}return{VariableDeclaration:A,ExpressionStatement:v,ReturnStatement:v,ThrowStatement:v,DoWhileStatement:v,DebuggerStatement:v,BreakStatement:v,ContinueStatement:v,ImportDeclaration:v,ExportAllDeclaration:v,ExportNamedDeclaration(b){b.declaration||v(b)},ExportDefaultDeclaration(b){/(?:Class|Function)Declaration/u.test(b.declaration.type)||v(b)},PropertyDefinition:v}}},xf}var Cf,ib;function xI(){if(ib)return Cf;ib=1;const a=Ue();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",url:"https://eslint.style"},rule:{name:"semi-spacing",url:"https://eslint.style/rules/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,l=!0;typeof n=="object"&&(t=n.before,l=n.after);function p(s){const f=o.getTokenBefore(s);return f&&a.isTokenOnSameLine(f,s)&&o.isSpaceBetweenTokens(f,s)}function u(s){const f=o.getTokenAfter(s);return f&&a.isTokenOnSameLine(s,f)&&o.isSpaceBetweenTokens(s,f)}function r(s){const f=o.getTokenAfter(s);return!(f&&a.isTokenOnSameLine(s,f))}function m(s){const f=o.getTokenBefore(s);return!(f&&a.isTokenOnSameLine(s,f))}function i(s){const f=o.getTokenAfter(s);return f&&a.isClosingBraceToken(f)||a.isClosingParenToken(f)}function c(s,f){if(a.isSemicolonToken(s)){if(p(s)){if(!t){const g=o.getTokenBefore(s),d={start:g.loc.end,end:s.loc.start};e.report({node:f,loc:d,messageId:"unexpectedWhitespaceBefore",fix(E){return E.removeRange([g.range[1],s.range[0]])}})}}else if(t){const g=s.loc;e.report({node:f,loc:g,messageId:"missingWhitespaceBefore",fix(d){return d.insertTextBefore(s," ")}})}if(!m(s)&&!r(s)&&!i(s)){if(u(s)){if(!l){const g=o.getTokenAfter(s),d={start:s.loc.end,end:g.loc.start};e.report({node:f,loc:d,messageId:"unexpectedWhitespaceAfter",fix(E){return E.removeRange([s.range[1],g.range[0]])}})}}else if(l){const g=s.loc;e.report({node:f,loc:g,messageId:"missingWhitespaceAfter",fix(d){return d.insertTextAfter(s," ")}})}}}}function h(s){const f=o.getLastToken(s);c(f,s)}return{VariableDeclaration:h,ExpressionStatement:h,BreakStatement:h,ContinueStatement:h,DebuggerStatement:h,DoWhileStatement:h,ReturnStatement:h,ThrowStatement:h,ImportDeclaration:h,ExportNamedDeclaration:h,ExportAllDeclaration:h,ExportDefaultDeclaration:h,ForStatement(s){s.init&&c(o.getTokenAfter(s.init),s),s.test&&c(o.getTokenAfter(s.test),s)},PropertyDefinition:h}}},Cf}var wf,ob;function CI(){if(ob)return wf;ob=1;const a=Ue(),e=["BreakStatement","ContinueStatement","DebuggerStatement","DoWhileStatement","ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ExpressionStatement","ImportDeclaration","ReturnStatement","ThrowStatement","VariableDeclaration","PropertyDefinition"].join(",");function n(t){const l=t.type;return l==="BlockStatement"||l==="StaticBlock"||l==="Program"||l==="ClassBody"?t.body:l==="SwitchCase"?t.consequent:null}function o(t){const l=t.parent.type;if(l==="IfStatement"&&t.parent.consequent===t&&t.parent.alternate||l==="DoWhileStatement")return!0;const p=n(t.parent);return p!==null&&p.at(-1)===t}return 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",url:"https://eslint.style"},rule:{name:"semi-style",url:"https://eslint.style/rules/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 l=t.sourceCode,p=t.options[0]||"last";function u(r,m){const i=l.getTokenBefore(r),c=l.getTokenAfter(r),h=!i||a.isTokenOnSameLine(i,r),s=!c||a.isTokenOnSameLine(r,c);(m==="last"&&!h||m==="first"&&!s)&&t.report({loc:r.loc,messageId:"expectedSemiColon",data:{pos:m==="last"?"the end of the previous line":"the beginning of the next line"},fix(f){if(i&&c&&l.commentsExistBetween(i,c))return null;const g=i?i.range[1]:r.range[0],d=c?c.range[0]:r.range[1],E=m==="last"?`;
118
- `:`
119
- ;`;return f.replaceTextRange([g,d],E)}})}return{[e](r){if(p==="first"&&o(r))return;const m=l.getLastToken(r);a.isSemicolonToken(m)&&u(m,p)},ForStatement(r){const m=r.init&&l.getTokenAfter(r.init,a.isSemicolonToken),i=r.test&&l.getTokenAfter(r.test,a.isSemicolonToken);m&&u(m,"last"),i&&u(i,"last")}}}},wf}var Af,lb;function wI(){return lb||(lb=1,Af={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:l}]=a.options,p=a.sourceCode;let u=null;function r(h){return h.specifiers.length===0?"none":h.specifiers[0].type==="ImportNamespaceSpecifier"?"all":h.specifiers.length===1?"single":"multiple"}function m(h){return t.indexOf(r(h))}function i(h){return h.specifiers[0]?h.specifiers[0].local.name:null}function c(h,s){return Math.max(s.loc.start.line-h.loc.end.line-1,0)}return{ImportDeclaration(h){if(!n){if(u&&l&&c(u,h)>0&&(u=null),u){const s=m(h),f=m(u);let g=i(h),d=i(u);e&&(d=d&&d.toLowerCase(),g=g&&g.toLowerCase()),s!==f?s<f&&a.report({node:h,messageId:"unexpectedSyntaxOrder",data:{syntaxA:t[s],syntaxB:t[f]}}):d&&g&&g<d&&a.report({node:h,messageId:"sortImportsAlphabetically"})}u=h}if(!o){const s=h.specifiers.filter(d=>d.type==="ImportSpecifier"),f=e?d=>d.local.name.toLowerCase():d=>d.local.name,g=s.map(f).findIndex((d,E,S)=>S[E-1]>d);g!==-1&&a.report({node:s[g],messageId:"sortMembersAlphabetically",data:{memberName:s[g].local.name},fix(d){return s.some(E=>p.getCommentsBefore(E).length||p.getCommentsAfter(E).length)?null:d.replaceTextRange([s[0].range[0],s.at(-1).range[1]],s.slice().sort((E,S)=>{const x=f(E),T=f(S);return x>T?1:-1}).reduce((E,S,x)=>{const T=x===s.length-1?"":p.getText().slice(s[x].range[1],s[x+1].range[0]);return E+p.getText(S)+T},""))}})}}}}}),Af}var Tf={exports:{}},ub;function AI(){if(ub)return Tf.exports;ub=1;/*
120
- * @version 1.4.0
121
- * @date 2015-10-26
122
- * @stability 3 - Stable
123
- * @author Lauri Rooden (https://github.com/litejs/natural-compare-lite)
124
- * @license MIT License
125
- */var a=function(e,n){var o,t,l=1,p=0,u=0,r=String.alphabet;function m(i,c,h){if(h){for(o=c;h=m(i,o),h<76&&h>65;)++o;return+i.slice(c-1,o)}return h=r&&r.indexOf(i.charAt(c)),h>-1?h+76:(h=i.charCodeAt(c)||0,h<45||h>127?h:h<46?65:h<48?h-1:h<58?h+18:h<65?h-11:h<91?h+11:h<97?h-37:h<123?h+5:h-63)}if((e+="")!=(n+="")){for(;l;)if(t=m(e,p++),l=m(n,u++),t<76&&l<76&&t>66&&l>66&&(t=m(e,p,p),l=m(n,u,p=o),u=o),t!=l)return t<l?-1:1}return 0};try{Tf.exports=a}catch{String.naturalCompare=a}return Tf.exports}var kf,cb;function TI(){if(cb)return kf;cb=1;const a=Ue(),e=AI();function n(t){const l=a.getStaticPropertyName(t);return l!==null?l:t.key.name||null}const o={asc(t,l){return t<=l},ascI(t,l){return t.toLowerCase()<=l.toLowerCase()},ascN(t,l){return e(t,l)<=0},ascIN(t,l){return e(t.toLowerCase(),l.toLowerCase())<=0},desc(t,l){return o.asc(l,t)},descI(t,l){return o.ascI(l,t)},descN(t,l){return o.ascN(l,t)},descIN(t,l){return o.ascIN(l,t)}};return kf={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[l,{caseSensitive:p,natural:u,minKeys:r,allowLineSeparatedGroups:m,ignoreComputedKeys:i}]=t.options,c=!p,h=o[l+(c?"I":"")+(u?"N":"")];let s=null;const f=t.sourceCode;return{ObjectExpression(g){s={upper:s,prevNode:null,prevBlankLine:!1,prevName:null,numKeys:g.properties.length}},"ObjectExpression:exit"(){s=s.upper},SpreadElement(g){g.parent.type==="ObjectExpression"&&(s.prevName=null)},Property(g){if(g.parent.type==="ObjectPattern")return;if(i&&g.computed){s.prevName=null;return}const d=s.prevName,E=s.numKeys,S=n(g),x=s.prevNode&&f.getTokensBetween(s.prevNode,g,{includeComments:!0});let T=s.prevBlankLine;if(x&&(x.forEach((C,v)=>{const A=x[v-1];A&&C.loc.start.line-A.loc.end.line>1&&(T=!0)}),!T&&g.loc.start.line-x.at(-1).loc.end.line>1&&(T=!0),!T&&x[0].loc.start.line-s.prevNode.loc.end.line>1&&(T=!0)),s.prevNode=g,S!==null&&(s.prevName=S),m&&T){s.prevBlankLine=S===null;return}d===null||S===null||E<r||h(d,S)||t.report({node:g,loc:g.key.loc,messageId:"sortKeys",data:{thisName:S,prevName:d,order:l,insensitive:c?"insensitive ":"",natural:u?"natural ":""}})}}}},kf}var Df,fb;function kI(){return fb||(fb=1,Df={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"),l=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,m)=>{const i=l(r);return l(m)<i?(a.report({node:m,messageId:"sortVars",fix(h){return p||u?null:h.replaceTextRange([t[0].range[0],t.at(-1).range[1]],t.slice().sort((s,f)=>{const g=l(s),d=l(f);return g>d?1:-1}).reduce((s,f,g)=>{const d=g===t.length-1?"":n.getText().slice(t[g].range[1],t[g+1].range[0]);return s+n.getText(f)+d},""))}}),u=!0,r):m},t[0])}}}}),Df}var If,pb;function DI(){if(pb)return If;pb=1;const a=Ue();function e(n){const o=n.parent;return n.type==="BlockStatement"&&a.isFunction(o)&&o.body===n}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",url:"https://eslint.style"},rule:{name:"space-before-blocks",url:"https://eslint.style/rules/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 l=!0,p=!0,u=!0,r=!1,m=!1,i=!1;typeof o=="object"?(l=o.functions==="always",p=o.keywords==="always",u=o.classes==="always",r=o.functions==="never",m=o.keywords==="never",i=o.classes==="never"):o==="never"&&(l=!1,p=!1,u=!1,r=!0,m=!0,i=!0);function c(f,g){return a.isArrowToken(f)||a.isKeywordToken(f)&&!e(g)||a.isColonToken(f)&&g.parent&&g.parent.type==="SwitchCase"&&f===a.getSwitchCaseColonToken(g.parent,t)}function h(f){const g=t.getTokenBefore(f);if(g&&!c(g,f)&&a.isTokenOnSameLine(g,f)){const d=t.isSpaceBetweenTokens(g,f);let E,S;e(f)?(E=l,S=r):f.type==="ClassBody"?(E=u,S=i):(E=p,S=m),E&&!d?n.report({node:f,messageId:"missingSpace",fix(x){return x.insertTextBefore(f," ")}}):S&&d&&n.report({node:f,messageId:"unexpectedSpace",fix(x){return x.removeRange([g.range[1],f.range[0]])}})}}function s(f){const g=f.cases;let d;g.length>0?d=t.getTokenBefore(g[0]):d=t.getLastToken(f,1),h(d)}return{BlockStatement:h,ClassBody:h,SwitchStatement:s}}},If}var Pf,mb;function II(){if(mb)return Pf;mb=1;const a=Ue();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",url:"https://eslint.style"},rule:{name:"space-before-function-paren",url:"https://eslint.style/rules/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 l(r){if(r.id)return!0;const m=r.parent;return m.type==="MethodDefinition"||m.type==="Property"&&(m.kind==="get"||m.kind==="set"||m.method)}function p(r){if(r.type==="ArrowFunctionExpression"){if(r.async&&a.isOpeningParenToken(n.getFirstToken(r,{skip:1})))return t.asyncArrow||o}else{if(l(r))return t.named||o;if(!r.generator)return t.anonymous||o}return"ignore"}function u(r){const m=p(r);if(m==="ignore")return;const i=n.getFirstToken(r,a.isOpeningParenToken),c=n.getTokenBefore(i),h=n.isSpaceBetweenTokens(c,i);h&&m==="never"?e.report({node:r,loc:{start:c.loc.end,end:i.loc.start},messageId:"unexpectedSpace",fix(s){const f=n.getCommentsBefore(i);return f.some(g=>g.type==="Line")?null:s.replaceTextRange([c.range[1],i.range[0]],f.reduce((g,d)=>g+n.getText(d),""))}}):!h&&m==="always"&&e.report({node:r,loc:i.loc,messageId:"missingSpace",fix:s=>s.insertTextAfter(c," ")})}return{ArrowFunctionExpression:u,FunctionDeclaration:u,FunctionExpression:u}}},Pf}var Ff,hb;function PI(){if(hb)return Ff;hb=1;const a=Ue();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",url:"https://eslint.style"},rule:{name:"space-in-parens",url:"https://eslint.style/rules/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 l;o.length&&(t.braceException=o.includes("{}"),t.bracketException=o.includes("[]"),t.parenException=o.includes("()"),t.empty=o.includes("empty"));function p(){const f=[],g=[];return t.braceException&&(f.push("{"),g.push("}")),t.bracketException&&(f.push("["),g.push("]")),t.parenException&&(f.push("("),g.push(")")),t.empty&&(f.push(")"),g.push("(")),{openers:f,closers:g}}const u=e.sourceCode;function r(f){return l.openers.includes(f.value)}function m(f){return l.closers.includes(f.value)}function i(f,g){return u.isSpaceBetweenTokens(f,g)||!t.empty&&a.isClosingParenToken(g)?!1:n?!r(g):r(g)}function c(f,g){return!a.isTokenOnSameLine(f,g)||g.type==="Line"||!u.isSpaceBetweenTokens(f,g)?!1:n?r(g):!r(g)}function h(f,g){return u.isSpaceBetweenTokens(f,g)||!t.empty&&a.isOpeningParenToken(f)?!1:n?!m(f):m(f)}function s(f,g){return!a.isTokenOnSameLine(f,g)||!u.isSpaceBetweenTokens(f,g)?!1:n?m(f):!m(f)}return{Program:function(g){l=p();const d=u.tokensAndComments;d.forEach((E,S)=>{const x=d[S-1],T=d[S+1];!a.isOpeningParenToken(E)&&!a.isClosingParenToken(E)||(E.value==="("&&i(E,T)&&e.report({node:g,loc:E.loc,messageId:"missingOpeningSpace",fix(C){return C.insertTextAfter(E," ")}}),E.value==="("&&c(E,T)&&e.report({node:g,loc:{start:E.loc.end,end:T.loc.start},messageId:"rejectedOpeningSpace",fix(C){return C.removeRange([E.range[1],T.range[0]])}}),E.value===")"&&h(x,E)&&e.report({node:g,loc:E.loc,messageId:"missingClosingSpace",fix(C){return C.insertTextBefore(E," ")}}),E.value===")"&&s(x,E)&&e.report({node:g,loc:{start:x.loc.end,end:E.loc.start},messageId:"rejectedClosingSpace",fix(C){return C.removeRange([x.range[1],E.range[0]])}}))})}}}},Ff}var Rf,db;function FI(){if(db)return Rf;db=1;const{isEqToken:a}=Ue();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",url:"https://eslint.style"},rule:{name:"space-infix-ops",url:"https://eslint.style/rules/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(m,i,c){const h=o.getFirstTokenBetween(m,i,g=>g.value===c),s=o.getTokenBefore(h),f=o.getTokenAfter(h);return!o.isSpaceBetweenTokens(s,h)||!o.isSpaceBetweenTokens(h,f)?h:null}function l(m,i){e.report({node:m,loc:i.loc,messageId:"missingSpace",data:{operator:i.value},fix(c){const h=o.getTokenBefore(i),s=o.getTokenAfter(i);let f="";return i.range[0]-h.range[1]===0&&(f=" "),f+=i.value,s.range[0]-i.range[1]===0&&(f+=" "),c.replaceText(i,f)}})}function p(m){const i=m.left.typeAnnotation?m.left.typeAnnotation:m.left,c=m.right,h=m.operator||"=",s=t(i,c,h);s&&(n&&o.getText(m).endsWith("|0")||l(m,s))}function u(m){const i=t(m.test,m.consequent,"?"),c=t(m.consequent,m.alternate,":");i&&l(m,i),c&&l(m,c)}function r(m){const i=m.id.typeAnnotation?m.id.typeAnnotation:m.id,c=m.init;if(c){const h=t(i,c,"=");h&&l(m,h)}}return{AssignmentExpression:p,AssignmentPattern:p,BinaryExpression:p,LogicalExpression:p,ConditionalExpression:u,VariableDeclarator:r,PropertyDefinition(m){if(!m.value)return;const i=o.getTokenBefore(m.value,a),c=o.getTokenBefore(i),h=o.getTokenAfter(i);(!o.isSpaceBetweenTokens(c,i)||!o.isSpaceBetweenTokens(i,h))&&l(m,i)}}}},Rf}var _f,gb;function RI(){if(gb)return _f;gb=1;const a=Ue();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",url:"https://eslint.style"},rule:{name:"space-unary-ops",url:"https://eslint.style/rules/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(g){return g&&g.type==="UnaryExpression"&&g.argument.operator==="!"&&g.argument&&g.argument.type==="UnaryExpression"&&g.argument.operator==="!"}function l(g){return n.overrides&&Object.hasOwn(n.overrides,g)}function p(g){return n.overrides[g]}function u(g,d,E,S){E.range[0]===d.range[1]&&e.report({node:g,messageId:"wordOperator",data:{word:S},fix(x){return x.insertTextAfter(d," ")}})}function r(g,d,E,S){a.canTokensBeAdjacent(d,E)&&E.range[0]>d.range[1]&&e.report({node:g,messageId:"unexpectedAfterWord",data:{word:S},fix(x){return x.removeRange([d.range[1],E.range[0]])}})}function m(g,d,E,S){l(S)?p(S)?u(g,d,E,S):r(g,d,E,S):n.words?u(g,d,E,S):r(g,d,E,S)}function i(g){const d=o.getFirstTokens(g,3),E="yield";!g.argument||g.delegate||m(g,d[0],d[1],E)}function c(g){const d=o.getFirstTokens(g,3);m(g,d[0],d[1],"await")}function h(g,d,E){if(g.prefix){if(t(g))return;d.range[1]===E.range[0]&&e.report({node:g,messageId:"operator",data:{operator:d.value},fix(S){return S.insertTextAfter(d," ")}})}else d.range[1]===E.range[0]&&e.report({node:g,messageId:"beforeUnaryExpressions",data:{token:E.value},fix(S){return S.insertTextBefore(E," ")}})}function s(g,d,E){g.prefix?E.range[0]>d.range[1]&&e.report({node:g,messageId:"unexpectedAfter",data:{operator:d.value},fix(S){return a.canTokensBeAdjacent(d,E)?S.removeRange([d.range[1],E.range[0]]):null}}):E.range[0]>d.range[1]&&e.report({node:g,messageId:"unexpectedBefore",data:{operator:E.value},fix(S){return S.removeRange([d.range[1],E.range[0]])}})}function f(g){const d=g.type==="UpdateExpression"&&!g.prefix?o.getLastTokens(g,2):o.getFirstTokens(g,2),E=d[0],S=d[1];if((g.type==="NewExpression"||g.prefix)&&E.type==="Keyword"){m(g,E,S,E.value);return}const x=g.prefix?d[0].value:d[1].value;l(x)?p(x)?h(g,E,S):s(g,E,S):n.nonwords?h(g,E,S):s(g,E,S)}return{UnaryExpression:f,UpdateExpression:f,NewExpression:f,YieldExpression:i,AwaitExpression:c}}},_f}var Bf,yb;function _I(){if(yb)return Bf;yb=1;const a=Rn(),e=Ue();function n(r){return`(?:${a(r)})`}function o(r){return`${n(r)}+`}function t(r){return r.includes("*")?r:r.concat("*")}function l(r){let m="";return r.length===0?m+="\\s":(m+="(?:\\s|",r.length===1?m+=o(r[0]):(m+="(?:",m+=r.map(o).join("|"),m+=")"),m+=`(?:$|[${Array.from(e.LINEBREAKS).join("")}]))`),m}function p(r,m){let i="^";return r.length===1?i+=n(r[0]):(i+="(?:",i+=r.map(n).join("|"),i+=")"),i+="?",i+=l(m),new RegExp(i,"u")}function u(r){const m=`^(${r.map(n).join("|")})?[ ]+`;return new RegExp(m,"u")}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",url:"https://eslint.style"},rule:{name:"spaced-comment",url:"https://eslint.style/rules/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 m=r.sourceCode,i=r.options[0]!=="never",c=r.options[1]||{},h=c.block&&c.block.balanced,s=["block","line"].reduce((E,S)=>{const x=t(c[S]&&c[S].markers||c.markers||[]),T=c[S]&&c[S].exceptions||c.exceptions||[],C="[ ]+$";return E[S]={beginRegex:i?p(x,T):u(x),endRegex:h&&i?new RegExp(`${l(T)}$`,"u"):new RegExp(C,"u"),hasExceptions:T.length>0,captureMarker:new RegExp(`^(${x.map(n).join("|")})`,"u"),markers:new Set(x)},E},{});function f(E,S,x,T){const C=E.type.toLowerCase(),v=C==="block"?"/*":"//";r.report({node:E,fix(A){const b=E.range[0];let w=b+2;return i?(x&&(w+=x[0].length),A.insertTextAfterRange([b,w]," ")):(w+=x[0].length,A.replaceTextRange([b,w],v+(x[1]?x[1]:"")))},messageId:S,data:{refChar:T}})}function g(E,S,x){r.report({node:E,fix(T){if(i)return T.insertTextAfterRange([E.range[0],E.range[1]-2]," ");const C=E.range[1]-2,v=C-x[0].length;return T.replaceTextRange([v,C],"")},messageId:S})}function d(E){const S=E.type.toLowerCase(),x=s[S],T=S==="block"?"/*":"//";if(E.value.length===0||x.markers.has(E.value))return;const C=x.beginRegex.exec(E.value),v=x.endRegex.exec(E.value);if(i){if(!C){const A=x.captureMarker.exec(E.value),b=A?T+A[0]:T;x.hasExceptions?f(E,"expectedExceptionAfter",A,b):f(E,"expectedSpaceAfter",A,b)}h&&S==="block"&&!v&&g(E,"expectedSpaceBefore")}else C&&(C[1]?f(E,"unexpectedSpaceAfterMarker",C,C[1]):f(E,"unexpectedSpaceAfter",C,T)),h&&S==="block"&&v&&g(E,"unexpectedSpaceBefore",v)}return{Program(){m.getAllComments().filter(S=>S.type!=="Shebang").forEach(d)}}}},Bf}var Lf,vb;function BI(){if(vb)return Lf;vb=1;const a=Ue();function e(t){const l=[];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")l[p]=u;else break}return l}function n(t){return t.type==="Identifier"}function o(t){return t.every(n)}return Lf={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 l=t.parserOptions.ecmaFeatures||{},p=[],u=[];let[r]=t.options;l.impliedStrict?r="implied":r==="safe"&&(r=l.globalReturn||t.languageOptions.sourceType==="commonjs"?"global":"function");function m(S){return S==="multiple"||S==="unnecessary"||S==="module"||S==="implied"||S==="unnecessaryInClasses"}function i(S){return x=>x.remove(S)}function c(S,x,T,C,v){S.slice(x,T).forEach(A=>{t.report({node:A,messageId:C,fix:v?i(A):null})})}function h(S,x,T){c(S,0,S.length,x,T)}function s(S,x,T){c(S,1,S.length,x,T)}function f(S,x){const T=u.length>0,C=p.length===0&&u.length===0,v=p.length>0&&p.at(-1),A=x.length>0;A?(o(S.params)?v?t.report({node:x[0],messageId:"unnecessary",fix:i(x[0])}):T&&t.report({node:x[0],messageId:"unnecessaryInClasses",fix:i(x[0])}):t.report({node:x[0],messageId:"nonSimpleParameterList"}),s(x,"multiple",!0)):C&&(o(S.params)?t.report({node:S,messageId:"function"}):t.report({node:S,messageId:"wrap",data:{name:a.getFunctionNameWithKind(S)}})),p.push(v||A)}function g(){p.pop()}function d(S){const x=S.body.type==="BlockStatement",T=x?e(S.body.body):[];r==="function"?f(S,T):T.length>0&&(o(S.params)?h(T,r,m(r)):(t.report({node:T[0],messageId:"nonSimpleParameterList"}),s(T,"multiple",!0)))}const E={Program(S){const x=e(S.body);S.sourceType==="module"&&(r="module"),r==="global"?(S.body.length>0&&x.length===0&&t.report({node:S,messageId:"global"}),s(x,"multiple",!0)):h(x,r,m(r))},FunctionDeclaration:d,FunctionExpression:d,ArrowFunctionExpression:d};return r==="function"&&Object.assign(E,{ClassBody(){u.push(!0)},"ClassBody:exit"(){u.pop()},"FunctionDeclaration:exit":g,"FunctionExpression:exit":g,"ArrowFunctionExpression:exit":g}),E}},Lf}var Of,Eb;function LI(){if(Eb)return Of;Eb=1;const a=Ue();return Of={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",url:"https://eslint.style"},rule:{name:"switch-colon-spacing",url:"https://eslint.style/rules/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,l=o.after!==!1;function p(m,i,c){return a.isClosingBraceToken(i)||!a.isTokenOnSameLine(m,i)||n.isSpaceBetweenTokens(m,i)===c}function u(m,i){return n.getFirstTokenBetween(m,i,{includeComments:!0,filter:a.isCommentToken})!==null}function r(m,i,c,h){return u(i,c)?null:h?m.insertTextAfter(i," "):m.removeRange([i.range[1],c.range[0]])}return{SwitchCase(m){const i=a.getSwitchCaseColonToken(m,n),c=n.getTokenBefore(i),h=n.getTokenAfter(i);p(c,i,t)||e.report({node:m,loc:i.loc,messageId:t?"expectedBefore":"unexpectedBefore",fix:s=>r(s,c,i,t)}),p(i,h,l)||e.report({node:m,loc:i.loc,messageId:l?"expectedAfter":"unexpectedAfter",fix:s=>r(s,i,h,l)})}}}},Of}var Nf,Sb;function OI(){if(Sb)return Nf;Sb=1;const a=Ue();return Nf={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 l=n.getScope(t),p=a.getVariableByName(l,"Symbol");p&&p.defs.length===0&&p.references.forEach(u=>{const r=u.identifier;a.isCallee(r)&&o(r.parent)})}}}},Nf}var Mf,bb;function NI(){if(bb)return Mf;bb=1;const a=Ue();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",url:"https://eslint.style"},rule:{name:"template-curly-spacing",url:"https://eslint.style/rules/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:m=>m.insertTextBefore(p," ")}),!o&&r&&e.report({loc:{start:u.loc.end,end:p.loc.start},messageId:"unexpectedBefore",fix:m=>m.removeRange([u.range[1],p.range[0]])}))}function l(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:m=>m.insertTextAfter(p," ")}),!o&&r&&e.report({loc:{start:p.loc.end,end:u.loc.start},messageId:"unexpectedAfter",fix:m=>m.removeRange([p.range[1],u.range[0]])}))}return{TemplateElement(p){const u=n.getFirstToken(p);t(u),l(u)}}}},Mf}var jf,xb;function MI(){return xb||(xb=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",url:"https://eslint.style"},rule:{name:"template-tag-spacing",url:"https://eslint.style/rules/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 l=n.getTokenBefore(t.quasi),p=n.getFirstToken(t.quasi),u=n.isSpaceBetweenTokens(l,p);e&&u?a.report({node:t,loc:{start:l.loc.end,end:p.loc.start},messageId:"unexpected",fix(r){const m=n.getCommentsBefore(t.quasi);return m.some(i=>i.type==="Line")?null:r.replaceTextRange([l.range[1],p.range[0]],m.reduce((i,c)=>i+n.getText(c),""))}}):!e&&!u&&a.report({node:t,loc:{start:t.loc.start,end:p.loc.start},messageId:"missing",fix(r){return r.insertTextAfter(l," ")}})}return{TaggedTemplateExpression:o}}}),jf}var Uf,Cb;function jI(){return Cb||(Cb=1,Uf={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},[l]=a.options;!o.hasBOM&&l==="always"?a.report({node:n,loc:t,messageId:"expected",fix(p){return p.insertTextBeforeRange([0,1],"\uFEFF")}}):o.hasBOM&&l==="never"&&a.report({node:n,loc:t,messageId:"unexpected",fix(p){return p.removeRange([-1,0])}})}}}}),Uf}var qf,wb;function UI(){if(wb)return qf;wb=1;const a=Ue();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 qf={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,l=n.sourceCode,p=new Set(["==","===","!=","!=="]),u=new Set(["==","!="]);function r(s,f){return g=>{const d=e(s.left)?s.right:s.left,E=d.type==="SequenceExpression",x=s.operator[0]==="!"?"!":"";let T=l.getText(d);E&&(T=`(${T})`);const C=f(T);return g.replaceText(s,`${x}${C}`)}}function m(s){if(/^(?:[<>]|[!=]=)=?$/u.test(s.operator)&&(e(s.left)||e(s.right))){const f=[],d=(e(s.left)?s.left:s.right).type==="SequenceExpression",E=p.has(s.operator)&&!d,S=u.has(s.operator);E&&(f.push({messageId:"replaceWithIsNaN",fix:r(s,x=>`Number.isNaN(${x})`)}),S&&f.push({messageId:"replaceWithCastingAndIsNaN",fix:r(s,x=>`Number.isNaN(Number(${x}))`)})),n.report({node:s,messageId:"comparisonWithNaN",suggest:f})}}function i(s){e(s.discriminant)&&n.report({node:s,messageId:"switchNaN"});for(const f of s.cases)e(f.test)&&n.report({node:f,messageId:"caseNaN"})}function c(s){const f=a.skipChainExpression(s.callee);if(f.type==="MemberExpression"){const g=a.getStaticPropertyName(f);if((g==="indexOf"||g==="lastIndexOf")&&s.arguments.length<=2&&e(s.arguments[0])){const d=s.arguments[0].type!=="SequenceExpression"&&!s.arguments[1],E=[];if(d){const S=f.computed,x=g==="indexOf"?"findIndex":"findLastIndex",T=S?`"${x}"`:x;E.push({messageId:"replaceWithFindIndex",data:{methodName:x},fix:C=>[C.replaceText(f.property,T),C.replaceText(s.arguments[0],"Number.isNaN")]})}n.report({node:s,messageId:"indexOfNaN",data:{methodName:g},suggest:E})}}}const h={BinaryExpression:m};return t&&(h.SwitchStatement=i),o&&(h.CallExpression=c),h}},qf}var Vf,Ab;function qI(){if(Ab)return Vf;Ab=1;const a=Ue();return Vf={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:l}]=e.options;let p;function u(m){const i=p.set.get(m.name);return i&&i.defs.length===0&&i.references.some(c=>c.identifier===m)}function r(m){return m.type==="UnaryExpression"&&m.operator==="typeof"}return{Program(m){p=t.getScope(m)},UnaryExpression(m){if(r(m)){const{parent:i}=m;if(i.type==="BinaryExpression"&&o.has(i.operator)){const c=i.left===m?i.right:i.left;if(c.type==="Literal"||a.isStaticTemplateLiteral(c)){const h=c.type==="Literal"?c.value:c.quasis[0].value.cooked;n.has(h)||e.report({node:c,messageId:"invalidValue"})}else c.type==="Identifier"&&c.name==="undefined"&&u(c)?e.report({node:c,messageId:l?"notString":"invalidValue",suggest:[{messageId:"suggestString",data:{type:"undefined"},fix(h){return h.replaceText(c,'"undefined"')}}]}):l&&!r(c)&&e.report({node:c,messageId:"notString"})}}}}}},Vf}var $f,Tb;function VI(){return Tb||(Tb=1,$f={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 m=r.length;let i=0;if(u.parent.type!=="StaticBlock")for(;i<m&&!(!e(r[i])&&!n(r[i]));++i);for(;i<m;++i){if(!o(r[i]))return!1;if(r[i]===u)return!0}return!1}function l(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"?l(u.parent,u.parent.parent):u.parent.type==="Program"?l(u,u.parent):p(u)}}}}),$f}var Wf,kb;function $I(){if(kb)return Wf;kb=1;const a=Ue(),e=qt();function n(o){const t=o.parent.type==="ChainExpression"?o.parent:o;return t.parent.type==="NewExpression"&&t.parent.callee===t}return 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",url:"https://eslint.style"},rule:{name:"wrap-iife",url:"https://eslint.style/rules/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",l=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 m(i){const c=a.skipChainExpression(i.callee);return c.type==="FunctionExpression"?c:l&&c.type==="MemberExpression"&&c.object.type==="FunctionExpression"&&(a.getStaticPropertyName(c)==="call"||a.getStaticPropertyName(c)==="apply")?c.object:null}return{CallExpression(i){const c=m(i);if(!c)return;const h=u(i),s=u(c);!h&&!s?o.report({node:i,messageId:"wrapInvocation",fix(f){const g=t==="inside"?c:i;return f.replaceText(g,`(${p.getText(g)})`)}}):t==="inside"&&!s?o.report({node:i,messageId:"wrapExpression",fix(f){if(r(i)&&!n(i)){const g=p.getTokenAfter(i);return f.replaceTextRange([c.range[1],g.range[1]],`)${p.getText().slice(c.range[1],g.range[0])}`)}return f.replaceText(c,`(${p.getText(c)})`)}}):t==="outside"&&!h&&o.report({node:i,messageId:"moveInvocation",fix(f){const g=p.getTokenAfter(c);return f.replaceTextRange([g.range[0],i.range[1]],`${p.getText().slice(g.range[1],i.range[1])})`)}})}}}},Wf}var Gf,Db;function WI(){return Db||(Db=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",url:"https://eslint.style"},rule:{name:"wrap-regex",url:"https://eslint.style/rules/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 l=e.getTokenBefore(n),p=e.getTokenAfter(n),{parent:u}=n;u.type==="MemberExpression"&&u.object===n&&!(l&&l.value==="("&&p&&p.value===")")&&a.report({node:n,messageId:"requireParens",fix:r=>r.replaceText(n,`(${e.getText(n)})`)})}}}}}),Gf}var zf,Ib;function GI(){return Ib||(Ib=1,zf={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",url:"https://eslint.style"},rule:{name:"yield-star-spacing",url:"https://eslint.style/rules/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(l){return!l||typeof l=="string"?{before:{before:!0,after:!1},after:{before:!1,after:!0},both:{before:!0,after:!0},neither:{before:!1,after:!1}}[l||"after"]:l}(a.options[0]);function o(l,p,u){if(e.isSpaceBetweenTokens(p,u)!==n[l]){const r=p.value==="*",m=n[l],i=r?p:u;let c;m?c=l==="before"?"missingBefore":"missingAfter":c=l==="before"?"unexpectedBefore":"unexpectedAfter",a.report({node:i,messageId:c,fix(h){return m?r?h.insertTextAfter(i," "):h.insertTextBefore(i," "):h.removeRange([p.range[1],u.range[0]])}})}}function t(l){if(!l.delegate)return;const p=e.getFirstTokens(l,3),u=p[0],r=p[1],m=p[2];o("before",u,r),o("after",r,m)}return{YieldExpression:t}}}),zf}var Hf,Pb;function zI(){if(Pb)return Hf;Pb=1;const a=Ue();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 l(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 Hf={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:m,onlyEquality:i}]=u.options,c=r==="always",h=u.sourceCode;function s(d){const E=d.left,S=d.right;function x(){if(d.operator==="&&"&&a.isSameReference(E.right,S.left)){const v=p(E.left),A=p(S.right);if(v===null&&A===null)return!1;if(A===null||v===null||v.value<=A.value)return!0}return!1}function T(){if(d.operator==="||"&&a.isSameReference(E.left,S.right)){const v=p(E.right),A=p(S.left);if(v===null&&A===null)return!1;if(A===null||v===null||v.value<=A.value)return!0}return!1}function C(){return a.isParenthesised(h,d)}return d.type==="LogicalExpression"&&E.type==="BinaryExpression"&&S.type==="BinaryExpression"&&o(E.operator)&&o(S.operator)&&(x()||T())&&C()}const f={"===":"===","!==":"!==","==":"==","!=":"!=","<":">",">":"<","<=":">=",">=":"<="};function g(d){const E=h.getFirstTokenBetween(d.left,d.right,L=>L.value===d.operator),S=h.getTokenBefore(E),x=h.getTokenAfter(E),T=h.getText(),C=T.slice(d.range[0],S.range[1]),v=T.slice(S.range[1],E.range[0]),A=T.slice(E.range[1],x.range[0]),b=T.slice(x.range[0],d.range[1]),w=h.getTokenBefore(d),k=h.getTokenAfter(d);let R="",F="";return w&&w.range[1]===d.range[0]&&!a.canTokensBeAdjacent(w,x)&&(R=" "),k&&d.range[1]===k.range[0]&&!a.canTokensBeAdjacent(S,k)&&(F=" "),R+b+v+f[E.value]+A+C+F}return{BinaryExpression(d){const E=c?d.left:d.right,S=c?d.right:d.left;(S.type==="Literal"||l(S))&&!(E.type==="Literal"||l(E))&&!(!n(d.operator)&&i)&&e(d.operator)&&!(m&&s(d.parent))&&u.report({node:d,messageId:"expected",data:{operator:d.operator,expectedSide:c?"left":"right"},fix:x=>x.replaceText(d,g(d))})}}}},Hf}var Kf,Fb;function Rb(){if(Fb)return Kf;Fb=1;const{LazyLoadingRuleMap:a}=gw();return Kf=new a(Object.entries({"accessor-pairs":()=>Ew(),"array-bracket-newline":()=>Sw(),"array-bracket-spacing":()=>bw(),"array-callback-return":()=>xw(),"array-element-newline":()=>Cw(),"arrow-body-style":()=>ww(),"arrow-parens":()=>Aw(),"arrow-spacing":()=>Tw(),"block-scoped-var":()=>kw(),"block-spacing":()=>Dw(),"brace-style":()=>Iw(),"callback-return":()=>Pw(),camelcase:()=>Fw(),"capitalized-comments":()=>Rw(),"class-methods-use-this":()=>_w(),"comma-dangle":()=>Bw(),"comma-spacing":()=>Lw(),"comma-style":()=>Ow(),complexity:()=>Nw(),"computed-property-spacing":()=>Mw(),"consistent-return":()=>jw(),"consistent-this":()=>Uw(),"constructor-super":()=>qw(),curly:()=>Vw(),"default-case":()=>$w(),"default-case-last":()=>Ww(),"default-param-last":()=>Gw(),"dot-location":()=>zw(),"dot-notation":()=>Hw(),"eol-last":()=>Kw(),eqeqeq:()=>Xw(),"for-direction":()=>Jw(),"func-call-spacing":()=>Yw(),"func-name-matching":()=>Qw(),"func-names":()=>Zw(),"func-style":()=>eA(),"function-call-argument-newline":()=>tA(),"function-paren-newline":()=>rA(),"generator-star-spacing":()=>nA(),"getter-return":()=>sA(),"global-require":()=>aA(),"grouped-accessor-pairs":()=>iA(),"guard-for-in":()=>oA(),"handle-callback-err":()=>lA(),"id-blacklist":()=>uA(),"id-denylist":()=>cA(),"id-length":()=>fA(),"id-match":()=>pA(),"implicit-arrow-linebreak":()=>mA(),indent:()=>hA(),"indent-legacy":()=>dA(),"init-declarations":()=>gA(),"jsx-quotes":()=>yA(),"key-spacing":()=>vA(),"keyword-spacing":()=>EA(),"line-comment-position":()=>SA(),"linebreak-style":()=>bA(),"lines-around-comment":()=>xA(),"lines-around-directive":()=>CA(),"lines-between-class-members":()=>wA(),"logical-assignment-operators":()=>AA(),"max-classes-per-file":()=>TA(),"max-depth":()=>kA(),"max-len":()=>DA(),"max-lines":()=>IA(),"max-lines-per-function":()=>PA(),"max-nested-callbacks":()=>FA(),"max-params":()=>RA(),"max-statements":()=>_A(),"max-statements-per-line":()=>BA(),"multiline-comment-style":()=>LA(),"multiline-ternary":()=>OA(),"new-cap":()=>NA(),"new-parens":()=>MA(),"newline-after-var":()=>jA(),"newline-before-return":()=>UA(),"newline-per-chained-call":()=>qA(),"no-alert":()=>VA(),"no-array-constructor":()=>$A(),"no-async-promise-executor":()=>WA(),"no-await-in-loop":()=>GA(),"no-bitwise":()=>zA(),"no-buffer-constructor":()=>HA(),"no-caller":()=>KA(),"no-case-declarations":()=>XA(),"no-catch-shadow":()=>JA(),"no-class-assign":()=>YA(),"no-compare-neg-zero":()=>QA(),"no-cond-assign":()=>ZA(),"no-confusing-arrow":()=>eT(),"no-console":()=>tT(),"no-const-assign":()=>rT(),"no-constant-binary-expression":()=>nT(),"no-constant-condition":()=>sT(),"no-constructor-return":()=>aT(),"no-continue":()=>iT(),"no-control-regex":()=>oT(),"no-debugger":()=>lT(),"no-delete-var":()=>uT(),"no-div-regex":()=>cT(),"no-dupe-args":()=>fT(),"no-dupe-class-members":()=>pT(),"no-dupe-else-if":()=>mT(),"no-dupe-keys":()=>hT(),"no-duplicate-case":()=>dT(),"no-duplicate-imports":()=>gT(),"no-else-return":()=>yT(),"no-empty":()=>vT(),"no-empty-character-class":()=>ET(),"no-empty-function":()=>ST(),"no-empty-pattern":()=>bT(),"no-empty-static-block":()=>xT(),"no-eq-null":()=>CT(),"no-eval":()=>wT(),"no-ex-assign":()=>AT(),"no-extend-native":()=>TT(),"no-extra-bind":()=>kT(),"no-extra-boolean-cast":()=>DT(),"no-extra-label":()=>IT(),"no-extra-parens":()=>PT(),"no-extra-semi":()=>FT(),"no-fallthrough":()=>RT(),"no-floating-decimal":()=>_T(),"no-func-assign":()=>BT(),"no-global-assign":()=>LT(),"no-implicit-coercion":()=>OT(),"no-implicit-globals":()=>NT(),"no-implied-eval":()=>MT(),"no-import-assign":()=>jT(),"no-inline-comments":()=>UT(),"no-inner-declarations":()=>qT(),"no-invalid-regexp":()=>VT(),"no-invalid-this":()=>$T(),"no-irregular-whitespace":()=>WT(),"no-iterator":()=>GT(),"no-label-var":()=>zT(),"no-labels":()=>HT(),"no-lone-blocks":()=>KT(),"no-lonely-if":()=>XT(),"no-loop-func":()=>JT(),"no-loss-of-precision":()=>YT(),"no-magic-numbers":()=>QT(),"no-misleading-character-class":()=>ak(),"no-mixed-operators":()=>ik(),"no-mixed-requires":()=>ok(),"no-mixed-spaces-and-tabs":()=>lk(),"no-multi-assign":()=>uk(),"no-multi-spaces":()=>ck(),"no-multi-str":()=>fk(),"no-multiple-empty-lines":()=>pk(),"no-native-reassign":()=>mk(),"no-negated-condition":()=>hk(),"no-negated-in-lhs":()=>dk(),"no-nested-ternary":()=>gk(),"no-new":()=>yk(),"no-new-func":()=>vk(),"no-new-native-nonconstructor":()=>Ek(),"no-new-object":()=>Sk(),"no-new-require":()=>bk(),"no-new-symbol":()=>xk(),"no-new-wrappers":()=>Ck(),"no-nonoctal-decimal-escape":()=>wk(),"no-obj-calls":()=>Ak(),"no-object-constructor":()=>Tk(),"no-octal":()=>kk(),"no-octal-escape":()=>Dk(),"no-param-reassign":()=>Ik(),"no-path-concat":()=>Pk(),"no-plusplus":()=>Fk(),"no-process-env":()=>Rk(),"no-process-exit":()=>_k(),"no-promise-executor-return":()=>Bk(),"no-proto":()=>Lk(),"no-prototype-builtins":()=>Ok(),"no-redeclare":()=>Nk(),"no-regex-spaces":()=>Mk(),"no-restricted-exports":()=>jk(),"no-restricted-globals":()=>Uk(),"no-restricted-imports":()=>qk(),"no-restricted-modules":()=>Vk(),"no-restricted-properties":()=>$k(),"no-restricted-syntax":()=>Wk(),"no-return-assign":()=>Gk(),"no-return-await":()=>zk(),"no-script-url":()=>Hk(),"no-self-assign":()=>Kk(),"no-self-compare":()=>Xk(),"no-sequences":()=>Jk(),"no-setter-return":()=>Yk(),"no-shadow":()=>Qk(),"no-shadow-restricted-names":()=>Zk(),"no-spaced-func":()=>eD(),"no-sparse-arrays":()=>tD(),"no-sync":()=>rD(),"no-tabs":()=>nD(),"no-template-curly-in-string":()=>sD(),"no-ternary":()=>aD(),"no-this-before-super":()=>iD(),"no-throw-literal":()=>oD(),"no-trailing-spaces":()=>lD(),"no-unassigned-vars":()=>uD(),"no-undef":()=>cD(),"no-undef-init":()=>fD(),"no-undefined":()=>pD(),"no-underscore-dangle":()=>mD(),"no-unexpected-multiline":()=>hD(),"no-unmodified-loop-condition":()=>dD(),"no-unneeded-ternary":()=>gD(),"no-unreachable":()=>yD(),"no-unreachable-loop":()=>vD(),"no-unsafe-finally":()=>ED(),"no-unsafe-negation":()=>SD(),"no-unsafe-optional-chaining":()=>bD(),"no-unused-expressions":()=>xD(),"no-unused-labels":()=>CD(),"no-unused-private-class-members":()=>wD(),"no-unused-vars":()=>AD(),"no-use-before-define":()=>TD(),"no-useless-assignment":()=>kD(),"no-useless-backreference":()=>DD(),"no-useless-call":()=>ID(),"no-useless-catch":()=>PD(),"no-useless-computed-key":()=>FD(),"no-useless-concat":()=>RD(),"no-useless-constructor":()=>_D(),"no-useless-escape":()=>BD(),"no-useless-rename":()=>LD(),"no-useless-return":()=>OD(),"no-var":()=>ND(),"no-void":()=>MD(),"no-warning-comments":()=>jD(),"no-whitespace-before-property":()=>UD(),"no-with":()=>qD(),"nonblock-statement-body-position":()=>VD(),"object-curly-newline":()=>$D(),"object-curly-spacing":()=>WD(),"object-property-newline":()=>GD(),"object-shorthand":()=>zD(),"one-var":()=>HD(),"one-var-declaration-per-line":()=>KD(),"operator-assignment":()=>XD(),"operator-linebreak":()=>JD(),"padded-blocks":()=>YD(),"padding-line-between-statements":()=>QD(),"prefer-arrow-callback":()=>ZD(),"prefer-const":()=>eI(),"prefer-destructuring":()=>tI(),"prefer-exponentiation-operator":()=>rI(),"prefer-named-capture-group":()=>nI(),"prefer-numeric-literals":()=>sI(),"prefer-object-has-own":()=>aI(),"prefer-object-spread":()=>iI(),"prefer-promise-reject-errors":()=>oI(),"prefer-reflect":()=>lI(),"prefer-regex-literals":()=>uI(),"prefer-rest-params":()=>cI(),"prefer-spread":()=>fI(),"prefer-template":()=>pI(),"quote-props":()=>mI(),quotes:()=>hI(),radix:()=>dI(),"require-atomic-updates":()=>gI(),"require-await":()=>yI(),"require-unicode-regexp":()=>vI(),"require-yield":()=>EI(),"rest-spread-spacing":()=>SI(),semi:()=>bI(),"semi-spacing":()=>xI(),"semi-style":()=>CI(),"sort-imports":()=>wI(),"sort-keys":()=>TI(),"sort-vars":()=>kI(),"space-before-blocks":()=>DI(),"space-before-function-paren":()=>II(),"space-in-parens":()=>PI(),"space-infix-ops":()=>FI(),"space-unary-ops":()=>RI(),"spaced-comment":()=>_I(),strict:()=>BI(),"switch-colon-spacing":()=>LI(),"symbol-description":()=>OI(),"template-curly-spacing":()=>NI(),"template-tag-spacing":()=>MI(),"unicode-bom":()=>jI(),"use-isnan":()=>UI(),"valid-typeof":()=>qI(),"vars-on-top":()=>VI(),"wrap-iife":()=>$I(),"wrap-regex":()=>WI(),"yield-star-spacing":()=>GI(),yoda:()=>zI()})),Kf}var Xf,_b;function HI(){if(_b)return Xf;_b=1;const a=Rb();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,dw(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 Xf=e,Xf}var Jf,Bb;function KI(){if(Bb)return Jf;Bb=1;const a=kr()("eslint:source-code-fixer"),e="\uFEFF";function n(l,p){return l.fix.range[0]-p.fix.range[0]||l.fix.range[1]-p.fix.range[1]}function o(l,p){return l.line-p.line||l.column-p.column}function t(){Object.freeze(this)}return t.applyFixes=function(l,p,u){if(a("Applying fixes"),u===!1)return a("shouldFix parameter was false, not attempting fixes"),{fixed:!1,messages:p,output:l};const r=[],m=[],i=l.startsWith(e)?e:"",c=i?l.slice(1):l;let h=Number.NEGATIVE_INFINITY,s=i;function f(g){const d=g.fix,E=d.range[0],S=d.range[1];return h>=E||E>S?(r.push(g),!1):((E<0&&S>=0||E===0&&d.text.startsWith(e))&&(s=""),s+=c.slice(Math.max(0,h),Math.max(0,E)),s+=d.text,h=S,!0)}if(p.forEach(g=>{Object.hasOwn(g,"fix")&&g.fix?m.push(g):r.push(g)}),m.length){a("Found fixes to apply");let g=!1;for(const d of m.sort(n))typeof u!="function"||u(d)?(f(d),g=!0):r.push(d);return s+=c.slice(Math.max(0,h)),{fixed:g,messages:r.sort(o),output:s}}return a("No fixes to apply"),{fixed:!1,messages:p,output:i+c}},Jf=t,Jf}var Yf,Lb;function XI(){if(Lb)return Yf;Lb=1;const a=Object.freeze([]);class e{#e=new Map;add(o,t){this.#e.has(o)?this.#e.get(o).push(t):this.#e.set(o,[t])}get(o){return this.#e.has(o)?this.#e.get(o):a}forEachName(o){this.#e.forEach((t,l)=>{o(l)})}callSync(o,...t){this.#e.has(o)&&this.#e.get(o).forEach(l=>l(...t))}}return Yf={SourceCodeVisitor:e},Yf}var Qf,Ob;function Nb(){if(Ob)return Qf;Ob=1;function a(){return Ft.hrtime()}function e(n){const o=Ft.hrtime(n);return o[0]*1e3+o[1]/1e6}return Qf={startTime:a,endTime:e},Qf}var Zf,Mb;function JI(){if(Mb)return Zf;Mb=1;const{startTime:a,endTime:e}=Nb(),n=!!Ft.env.TIMING;function o(){if(typeof Ft.env.TIMING!="string")return 10;if(Ft.env.TIMING.toLowerCase()==="all")return Number.POSITIVE_INFINITY;const l=Number.parseInt(Ft.env.TIMING,10);return l>10?l:10}return Zf=function(){const t=Object.create(null);function l(p,u,r){return function(...m){const i=a(),c=u(...m),h=e(i);return n&&(typeof t[p]>"u"&&(t[p]=0),t[p]+=h),r?{result:c,tdiff:h}:c}}return{time:l,enabled:n,getListSize:o}}(),Zf}var ep={},_n={},tp,jb;function YI(){if(jb)return tp;jb=1;const a=new Set([!0,"true","writable","writeable",!1,"false","readonly","readable",null,"off"]);function e(m){return typeof m=="object"&&m!==null}function n(m){return e(m)&&!Array.isArray(m)}function o(m){return typeof m>"u"}function t(m){if(o(m))throw new TypeError('Key "ecmaVersion": Expected an "ecmaVersion" property.');if(typeof m!="number"&&m!=="latest")throw new TypeError('Key "ecmaVersion": Expected a number or "latest".')}function l(m){if(typeof m!="string"||!/^(?:script|module|commonjs)$/u.test(m))throw new TypeError('Key "sourceType": Expected "script", "module", or "commonjs".')}function p(m){if(!n(m))throw new TypeError('Key "globals": Expected an object.');for(const i of Object.keys(m))if(i!=="__proto__"){if(i!==i.trim())throw new TypeError(`Key "globals": Global "${i}" has leading or trailing whitespace.`);if(!a.has(m[i]))throw new TypeError(`Key "globals": Key "${i}": Expected "readonly", "writable", or "off".`)}}function u(m){if(!m||typeof m!="object"||typeof m.parse!="function"&&typeof m.parseForESLint!="function")throw new TypeError('Key "parser": Expected object with parse() or parseForESLint() method.')}function r(m){if(!n(m))throw new TypeError("Expected an object.");const{ecmaVersion:i,sourceType:c,globals:h,parser:s,parserOptions:f,...g}=m;if("ecmaVersion"in m&&t(i),"sourceType"in m&&l(c),"globals"in m&&p(h),"parser"in m&&u(s),"parserOptions"in m&&!n(f))throw new TypeError('Key "parserOptions": Expected an object.');const d=Object.keys(g);if(d.length>0)throw new TypeError(`Unexpected key "${d[0]}" found.`)}return tp={validateLanguageOptions:r},tp}var rp,Ub;function qb(){if(Ub)return rp;Ub=1;const{SourceCode:a}=bd(),e=kr(),n=Fn(),o=hn(),t=qn(),l=Wr(),{validateLanguageOptions:p}=YI(),{LATEST_ECMA_VERSION:u}=ci(),r=e("eslint:languages:js"),m=5,i=Symbol.for("eslint.RuleTester.parser");function c(f,g,d){const S=g.parserOptions.ecmaFeatures||{},x=g.ecmaVersion||m;return t.analyze(f,{ignoreEval:!0,nodejsScope:S.globalReturn,impliedStrict:S.impliedStrict,ecmaVersion:typeof x=="number"?x:6,sourceType:g.sourceType||"script",childVisitorKeys:d||l.KEYS,fallback:l.getKeys})}function h(f){return f===o||f[i]===o}function s(f){switch(f){case 3:return 3;case 5:case void 0:return 5;default:if(typeof f=="number")return f>=2015?f:f+2009}return u}return rp={fileType:"text",lineStart:1,columnStart:0,nodeTypeKey:"type",visitorKeys:l.KEYS,defaultLanguageOptions:{sourceType:"module",ecmaVersion:"latest",parser:o,parserOptions:{}},validateLanguageOptions:p,normalizeLanguageOptions(f){if(f.ecmaVersion=s(f.ecmaVersion),h(f.parser)){const g=f.parserOptions;f.sourceType&&(g.sourceType=f.sourceType,g.sourceType==="module"&&g.ecmaFeatures&&g.ecmaFeatures.globalReturn&&(g.ecmaFeatures.globalReturn=!1))}return f},matchesSelectorClass(f,g,d){switch(f.toLowerCase()){case"statement":if(g.type.slice(-9)==="Statement")return!0;case"declaration":return g.type.slice(-11)==="Declaration";case"pattern":if(g.type.slice(-7)==="Pattern")return!0;case"expression":return g.type.slice(-10)==="Expression"||g.type.slice(-7)==="Literal"||g.type==="Identifier"&&(d.length===0||d[0].type!=="MetaProperty")||g.type==="MetaProperty";case"function":return g.type==="FunctionDeclaration"||g.type==="FunctionExpression"||g.type==="ArrowFunctionExpression";default:throw new Error(`Unknown class name: ${f}`)}},parse(f,{languageOptions:g}){const{body:d,path:E}=f,S=d.replace(n.shebangPattern,(A,b)=>`//${b}`),{ecmaVersion:x,sourceType:T,parser:C}=g,v=Object.assign({ecmaVersion:x,sourceType:T},g.parserOptions,{loc:!0,range:!0,raw:!0,tokens:!0,comment:!0,eslintVisitorKeys:!0,eslintScopeManager:!0,filePath:E});try{r("Parsing:",E);const A=typeof C.parseForESLint=="function"?C.parseForESLint(S,v):{ast:C.parse(S,v)};r("Parsing successful:",E);const{ast:b,services:w={},visitorKeys:k=l.KEYS,scopeManager:R}=A;return{ok:!0,ast:b,parserServices:w,visitorKeys:k,scopeManager:R}}catch(A){const b=A.message.replace(/^line \d+:/iu,"").trim();return r(`%s
126
- %s`,b,A.stack),{ok:!1,errors:[{message:b,line:A.lineNumber,column:A.column}]}}},createSourceCode(f,g,{languageOptions:d}){const{body:E,path:S,bom:x}=f,{ast:T,parserServices:C,visitorKeys:v}=g;r("Scope analysis:",S);const A=g.scopeManager||c(T,d,v);return r("Scope analysis successful:",S),new a({text:E,ast:T,hasBOM:x,parserServices:C,scopeManager:A,visitorKeys:v})}},rp}var Vb;function QI(){if(Vb)return _n;Vb=1;const a=Rb(),e=[{files:["**/*.js","**/*.mjs"]},{files:["**/*.cjs"],languageOptions:{sourceType:"commonjs",ecmaVersion:"latest"}}];return _n.defaultConfig=Object.freeze([{plugins:{"@":{languages:{js:qb()},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]),_n.defaultRuleTesterConfig=Object.freeze([{files:["**"]},...e]),_n}var $b;function ZI(){if($b)return ep;$b=1;const{ConfigArray:a,ConfigArraySymbol:e}=Od(),{flatConfigSchema:n}=Ka(),{defaultConfig:o}=QI(),{Config:t}=ri(),l=new Set(["name","basePath"]);function p(c,h,s){let f="user-defined",g=c.index;return c.index<s?f="base":c.index<h+s?(f="original",g=c.index-s):g=c.index-h-s,new TypeError(`${c.message.slice(0,-1)} at ${f} index ${g}.`,{cause:c})}const u=Symbol("originalBaseConfig"),r=Symbol("originalLength"),m=Symbol("baseLength");class i extends a{constructor(h,{basePath:s,shouldIgnore:f=!0,baseConfig:g=o}={}){super(h,{basePath:s,schema:n}),this[r]=this.length,g[Symbol.iterator]?this.unshift(...g):this.unshift(g),this[m]=this.length-this[r],this[u]=g,Object.defineProperty(this,u,{writable:!1}),this.shouldIgnore=f,Object.defineProperty(this,"shouldIgnore",{writable:!1})}normalize(h){return super.normalize(h).catch(s=>{throw s.name==="ConfigError"?p(s,this[r],this[m]):s})}normalizeSync(h){try{return super.normalizeSync(h)}catch(s){throw s.name==="ConfigError"?p(s,this[r],this[m]):s}}[e.preprocessConfig](h){if(!this.shouldIgnore&&!this[u].includes(h)&&h.ignores&&Object.keys(h).filter(s=>!l.has(s)).length===1){const{ignores:s,...f}=h;return f}return h}[e.finalizeConfig](h){return new t(h)}}return ep.FlatConfigArray=i,ep}var np,Wb;function eP(){if(Wb)return np;Wb=1;const a=new Map([["test_only","Used only for testing."],["test_only_2","Used only for testing."],["v10_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}],["unstable_config_lookup_from_file",{description:"Look up `eslint.config.js` from the file being linted.",replacedBy:"v10_config_lookup_from_file"}]]);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 np={activeFlags:a,inactiveFlags:e,getInactivityReasonMessage:n},np}var sp,Gb;function zb(){if(Gb)return sp;Gb=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{path;physicalPath;body;rawBody;bom;constructor(t,l,{physicalPath:p}={}){this.path=t,this.physicalPath=p??t,this.bom=a(l),this.body=e(l),this.rawBody=l}}return sp={VFile:n},sp}var ap,Hb;function tP(){if(Hb)return ap;Hb=1;class a{parseSync(n,o){const{language:t,languageOptions:l}=o,p=t.parse(n,{languageOptions:l});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:l})}:{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 ap={ParserService:a},ap}var ip={},Kb;function rP(){if(Kb)return ip;Kb=1;class a{cwd;filename;physicalFilename;sourceCode;parserOptions;parserPath;languageOptions;settings;constructor({cwd:n,filename:o,physicalFilename:t,sourceCode:l,parserOptions:p,parserPath:u,languageOptions:r,settings:m}){this.cwd=n,this.filename=o,this.physicalFilename=t,this.sourceCode=l,this.parserOptions=p,this.parserPath=u,this.languageOptions=r,this.settings=m,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 ip.FileContext=a,ip}var op,Xb;function nP(){if(Xb)return op;Xb=1;const a=pn,{VFile:e}=zb();class n{preprocessSync(t,l){const{processor:p}=l;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,m)=>{if(typeof r=="string")return r;const i=a.join(t.path,`${m}_${r.filename}`);return new e(i,r.text,{physicalPath:t.physicalPath})})}}postprocessSync(t,l,p){const{processor:u}=p;return u.postprocess(l,t.path)}}return op={ProcessorService:n},op}var lp,Jb;function sP(){if(Jb)return lp;Jb=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(l=>!Object.hasOwn(n,l)||a(e[l],n[l]))}return!0}return lp={containsDifferentProperty:a},lp}var up,Yb;function aP(){if(Yb)return up;Yb=1;class a{constructor({emitWarning:n=globalThis.process?.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}`)}emitPoorConcurrencyWarning(n){this.emitWarning(`You may ${n} to improve performance.`,"ESLintPoorConcurrencyWarning")}}return up={WarningService:a},up}function sn(a){return(sn=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 cp(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 l,p,u,r,m=[],i=!0,c=!1;try{if(u=(t=t.call(n)).next,o!==0)for(;!(i=(l=u.call(t)).done)&&(m.push(l.value),m.length!==o);i=!0);}catch(h){c=!0,p=h}finally{try{if(!i&&t.return!=null&&(r=t.return(),Object(r)!==r))return}finally{if(c)throw p}}return m}}(a,e)||Qb(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 iP(a){return function(e){if(Array.isArray(e))return fp(e)}(a)||function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(a)||Qb(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 Qb(a,e){if(a){if(typeof a=="string")return fp(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)?fp(a,e):void 0}}function fp(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 Zb(a,e){return a(e={exports:{}},e.exports),e.exports}var Bn=Zb(function(a,e){(function n(o){var t,l,p,u,r,m;function i(x){var T,C,v={};for(T in x)x.hasOwnProperty(T)&&(C=x[T],v[T]=typeof C=="object"&&C!==null?i(C):C);return v}function c(x,T){this.parent=x,this.key=T}function h(x,T,C,v){this.node=x,this.path=T,this.wrap=C,this.ref=v}function s(){}function f(x){return x!=null&&typeof x=="object"&&typeof x.type=="string"}function g(x,T){return(x===t.ObjectExpression||x===t.ObjectPattern)&&T==="properties"}function d(x,T){for(var C=x.length-1;C>=0;--C)if(x[C].node===T)return!0;return!1}function E(x,T){return new s().traverse(x,T)}function S(x,T){var C;return C=function(v,A){var b,w,k,R;for(w=v.length,k=0;w;)A(v[R=k+(b=w>>>1)])?w=b:(k=R+1,w-=b+1);return k}(T,function(v){return v.range[0]>x.range[0]}),x.extendedRange=[x.range[0],x.range[1]],C!==T.length&&(x.extendedRange[1]=T[C].range[0]),(C-=1)>=0&&(x.extendedRange[0]=T[C].range[1]),x}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"]},l={Break:u={},Skip:r={},Remove:m={}},c.prototype.replace=function(x){this.parent[this.key]=x},c.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)},s.prototype.path=function(){var x,T,C,v,A;function b(w,k){if(Array.isArray(k))for(C=0,v=k.length;C<v;++C)w.push(k[C]);else w.push(k)}if(!this.__current.path)return null;for(A=[],x=2,T=this.__leavelist.length;x<T;++x)b(A,this.__leavelist[x].path);return b(A,this.__current.path),A},s.prototype.type=function(){return this.current().type||this.__current.wrap},s.prototype.parents=function(){var x,T,C;for(C=[],x=1,T=this.__leavelist.length;x<T;++x)C.push(this.__leavelist[x].node);return C},s.prototype.current=function(){return this.__current.node},s.prototype.__execute=function(x,T){var C,v;return v=void 0,C=this.__current,this.__current=T,this.__state=null,x&&(v=x.call(this,T.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=C,v},s.prototype.notify=function(x){this.__state=x},s.prototype.skip=function(){this.notify(r)},s.prototype.break=function(){this.notify(u)},s.prototype.remove=function(){this.notify(m)},s.prototype.__initialize=function(x,T){this.visitor=T,this.root=x,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,T.fallback==="iteration"?this.__fallback=Object.keys:typeof T.fallback=="function"&&(this.__fallback=T.fallback),this.__keys=p,T.keys&&(this.__keys=Object.assign(Object.create(this.__keys),T.keys))},s.prototype.traverse=function(x,T){var C,v,A,b,w,k,R,F,L,P,O,q;for(this.__initialize(x,T),q={},C=this.__worklist,v=this.__leavelist,C.push(new h(x,null,null,null)),v.push(new h(null,null,null,null));C.length;)if((A=C.pop())!==q){if(A.node){if(k=this.__execute(T.enter,A),this.__state===u||k===u)return;if(C.push(q),v.push(A),this.__state===r||k===r)continue;if(w=(b=A.node).type||A.wrap,!(P=this.__keys[w])){if(!this.__fallback)throw new Error("Unknown node type "+w+".");P=this.__fallback(b)}for(F=P.length;(F-=1)>=0;)if(O=b[R=P[F]]){if(Array.isArray(O)){for(L=O.length;(L-=1)>=0;)if(O[L]&&!d(v,O[L])){if(g(w,P[F]))A=new h(O[L],[R,L],"Property",null);else{if(!f(O[L]))continue;A=new h(O[L],[R,L],null,null)}C.push(A)}}else if(f(O)){if(d(v,O))continue;C.push(new h(O,R,null,null))}}}}else if(A=v.pop(),k=this.__execute(T.leave,A),this.__state===u||k===u)return},s.prototype.replace=function(x,T){var C,v,A,b,w,k,R,F,L,P,O,q,N;function _(G){var B,z,H,ce;if(G.ref.remove()){for(z=G.ref.key,ce=G.ref.parent,B=C.length;B--;)if((H=C[B]).ref&&H.ref.parent===ce){if(H.ref.key<z)break;--H.ref.key}}}for(this.__initialize(x,T),O={},C=this.__worklist,v=this.__leavelist,k=new h(x,null,null,new c(q={root:x},"root")),C.push(k),v.push(k);C.length;)if((k=C.pop())!==O){if((w=this.__execute(T.enter,k))!==void 0&&w!==u&&w!==r&&w!==m&&(k.ref.replace(w),k.node=w),this.__state!==m&&w!==m||(_(k),k.node=null),this.__state===u||w===u)return q.root;if((A=k.node)&&(C.push(O),v.push(k),this.__state!==r&&w!==r)){if(b=A.type||k.wrap,!(L=this.__keys[b])){if(!this.__fallback)throw new Error("Unknown node type "+b+".");L=this.__fallback(A)}for(R=L.length;(R-=1)>=0;)if(P=A[N=L[R]])if(Array.isArray(P)){for(F=P.length;(F-=1)>=0;)if(P[F]){if(g(b,L[R]))k=new h(P[F],[N,F],"Property",new c(P,F));else{if(!f(P[F]))continue;k=new h(P[F],[N,F],null,new c(P,F))}C.push(k)}}else f(P)&&C.push(new h(P,N,null,new c(A,N)))}}else if(k=v.pop(),(w=this.__execute(T.leave,k))!==void 0&&w!==u&&w!==r&&w!==m&&k.ref.replace(w),this.__state!==m&&w!==m||_(k),this.__state===u||w===u)return q.root;return q.root},o.Syntax=t,o.traverse=E,o.replace=function(x,T){return new s().replace(x,T)},o.attachComments=function(x,T,C){var v,A,b,w,k=[];if(!x.range)throw new Error("attachComments needs range information");if(!C.length){if(T.length){for(b=0,A=T.length;b<A;b+=1)(v=i(T[b])).extendedRange=[0,x.range[0]],k.push(v);x.leadingComments=k}return x}for(b=0,A=T.length;b<A;b+=1)k.push(S(i(T[b]),C));return w=0,E(x,{enter:function(R){for(var F;w<k.length&&!((F=k[w]).extendedRange[1]>R.range[0]);)F.extendedRange[1]===R.range[0]?(R.leadingComments||(R.leadingComments=[]),R.leadingComments.push(F),k.splice(w,1)):w+=1;return w===k.length?l.Break:k[w].extendedRange[0]>R.range[1]?l.Skip:void 0}}),w=0,E(x,{leave:function(R){for(var F;w<k.length&&(F=k[w],!(R.range[1]<F.extendedRange[0]));)R.range[1]===F.extendedRange[0]?(R.trailingComments||(R.trailingComments=[]),R.trailingComments.push(F),k.splice(w,1)):w+=1;return w===k.length?l.Break:k[w].extendedRange[0]>R.range[1]?l.Skip:void 0}}),x},o.VisitorKeys=p,o.VisitorOption=l,o.Controller=s,o.cloneEnvironment=function(){return n({})},o})(e)}),oP=Zb(function(a){a.exports&&(a.exports=function(){function e(n,o,t,l){this.message=n,this.expected=o,this.found=t,this.location=l,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 m,i="";for(m=0;m<r.parts.length;m++)i+=r.parts[m]instanceof Array?u(r.parts[m][0])+"-"+u(r.parts[m][1]):u(r.parts[m]);return"["+(r.inverted?"^":"")+i+"]"},any:function(r){return"any character"},end:function(r){return"end of input"},other:function(r){return r.description}};function l(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(m){return"\\x0"+l(m)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(m){return"\\x"+l(m)})}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(m){return"\\x0"+l(m)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(m){return"\\x"+l(m)})}return"Expected "+function(r){var m,i,c,h=new Array(r.length);for(m=0;m<r.length;m++)h[m]=(c=r[m],t[c.type](c));if(h.sort(),h.length>0){for(m=1,i=1;m<h.length;m++)h[m-1]!==h[m]&&(h[i]=h[m],i++);h.length=i}switch(h.length){case 1:return h[0];case 2:return h[0]+" or "+h[1];default:return h.slice(0,-1).join(", ")+", or "+h[h.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,l,p,u,r={},m={start:we},i=we,c=Xe(" ",!1),h=/^[^ [\],():#!=><~+.]/,s=ht([" ","[","]",",","(",")",":","#","!","=",">","<","~","+","."],!0,!1),f=Xe(">",!1),g=Xe("~",!1),d=Xe("+",!1),E=Xe(",",!1),S=Xe("!",!1),x=Xe("*",!1),T=Xe("#",!1),C=Xe("[",!1),v=Xe("]",!1),A=/^[><!]/,b=ht([">","<","!"],!1,!1),w=Xe("=",!1),k=function(me){return(me||"")+"="},R=/^[><]/,F=ht([">","<"],!1,!1),L=Xe(".",!1),P=function(me,V,ne){return{type:"attribute",name:me,operator:V,value:ne}},O=Xe('"',!1),q=/^[^\\"]/,N=ht(["\\",'"'],!0,!1),_=Xe("\\",!1),G={type:"any"},B=function(me,V){return me+V},z=function(me){return{type:"literal",value:(V=me.join(""),V.replace(/\\(.)/g,function(ne,ue){switch(ue){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 ue}}))};var V},H=Xe("'",!1),ce=/^[^\\']/,re=ht(["\\","'"],!0,!1),Fe=/^[0-9]/,X=ht([["0","9"]],!1,!1),I=Xe("type(",!1),W=/^[^ )]/,oe=ht([" ",")"],!0,!1),ie=Xe(")",!1),se=/^[imsu]/,de=ht(["i","m","s","u"],!1,!1),be=Xe("/",!1),xe=/^[^\/]/,Te=ht(["/"],!0,!1),J=Xe(":not(",!1),Q=Xe(":matches(",!1),ke=Xe(":has(",!1),$=Xe(":first-child",!1),ae=Xe(":last-child",!1),Ie=Xe(":nth-child(",!1),Ne=Xe(":nth-last-child(",!1),Be=Xe(":",!1),j=0,Qe=[{line:1,column:1}],ut=0,rt=[],ze={};if("startRule"in o){if(!(o.startRule in m))throw new Error(`Can't start parsing from rule "`+o.startRule+'".');i=m[o.startRule]}function Xe(me,V){return{type:"literal",text:me,ignoreCase:V}}function ht(me,V,ne){return{type:"class",parts:me,inverted:V,ignoreCase:ne}}function dt(me){var V,ne=Qe[me];if(ne)return ne;for(V=me-1;!Qe[V];)V--;for(ne={line:(ne=Qe[V]).line,column:ne.column};V<me;)n.charCodeAt(V)===10?(ne.line++,ne.column=1):ne.column++,V++;return Qe[me]=ne,ne}function at(me,V){var ne=dt(me),ue=dt(V);return{start:{offset:me,line:ne.line,column:ne.column},end:{offset:V,line:ue.line,column:ue.column}}}function tt(me){j<ut||(j>ut&&(ut=j,rt=[]),rt.push(me))}function we(){var me,V,ne,ue,Ce=30*j+0,qe=ze[Ce];return qe?(j=qe.nextPos,qe.result):(me=j,(V=Ee())!==r&&(ne=Pe())!==r&&Ee()!==r?me=V=(ue=ne).length===1?ue[0]:{type:"matches",selectors:ue}:(j=me,me=r),me===r&&(me=j,(V=Ee())!==r&&(V=void 0),me=V),ze[Ce]={nextPos:j,result:me},me)}function Ee(){var me,V,ne=30*j+1,ue=ze[ne];if(ue)return j=ue.nextPos,ue.result;for(me=[],n.charCodeAt(j)===32?(V=" ",j++):(V=r,tt(c));V!==r;)me.push(V),n.charCodeAt(j)===32?(V=" ",j++):(V=r,tt(c));return ze[ne]={nextPos:j,result:me},me}function Se(){var me,V,ne,ue=30*j+2,Ce=ze[ue];if(Ce)return j=Ce.nextPos,Ce.result;if(V=[],h.test(n.charAt(j))?(ne=n.charAt(j),j++):(ne=r,tt(s)),ne!==r)for(;ne!==r;)V.push(ne),h.test(n.charAt(j))?(ne=n.charAt(j),j++):(ne=r,tt(s));else V=r;return V!==r&&(V=V.join("")),me=V,ze[ue]={nextPos:j,result:me},me}function ve(){var me,V,ne,ue=30*j+3,Ce=ze[ue];return Ce?(j=Ce.nextPos,Ce.result):(me=j,(V=Ee())!==r?(n.charCodeAt(j)===62?(ne=">",j++):(ne=r,tt(f)),ne!==r&&Ee()!==r?me=V="child":(j=me,me=r)):(j=me,me=r),me===r&&(me=j,(V=Ee())!==r?(n.charCodeAt(j)===126?(ne="~",j++):(ne=r,tt(g)),ne!==r&&Ee()!==r?me=V="sibling":(j=me,me=r)):(j=me,me=r),me===r&&(me=j,(V=Ee())!==r?(n.charCodeAt(j)===43?(ne="+",j++):(ne=r,tt(d)),ne!==r&&Ee()!==r?me=V="adjacent":(j=me,me=r)):(j=me,me=r),me===r&&(me=j,n.charCodeAt(j)===32?(V=" ",j++):(V=r,tt(c)),V!==r&&(ne=Ee())!==r?me=V="descendant":(j=me,me=r)))),ze[ue]={nextPos:j,result:me},me)}function Pe(){var me,V,ne,ue,Ce,qe,_e,Ke,Je=30*j+4,pe=ze[Je];if(pe)return j=pe.nextPos,pe.result;if(me=j,(V=ee())!==r){for(ne=[],ue=j,(Ce=Ee())!==r?(n.charCodeAt(j)===44?(qe=",",j++):(qe=r,tt(E)),qe!==r&&(_e=Ee())!==r&&(Ke=ee())!==r?ue=Ce=[Ce,qe,_e,Ke]:(j=ue,ue=r)):(j=ue,ue=r);ue!==r;)ne.push(ue),ue=j,(Ce=Ee())!==r?(n.charCodeAt(j)===44?(qe=",",j++):(qe=r,tt(E)),qe!==r&&(_e=Ee())!==r&&(Ke=ee())!==r?ue=Ce=[Ce,qe,_e,Ke]:(j=ue,ue=r)):(j=ue,ue=r);ne!==r?me=V=[V].concat(ne.map(function(le){return le[3]})):(j=me,me=r)}else j=me,me=r;return ze[Je]={nextPos:j,result:me},me}function ee(){var me,V,ne,ue,Ce,qe,_e,Ke=30*j+5,Je=ze[Ke];if(Je)return j=Je.nextPos,Je.result;if(me=j,(V=te())!==r){for(ne=[],ue=j,(Ce=ve())!==r&&(qe=te())!==r?ue=Ce=[Ce,qe]:(j=ue,ue=r);ue!==r;)ne.push(ue),ue=j,(Ce=ve())!==r&&(qe=te())!==r?ue=Ce=[Ce,qe]:(j=ue,ue=r);ne!==r?(_e=V,me=V=ne.reduce(function(pe,le){return{type:le[0],left:pe,right:le[1]}},_e)):(j=me,me=r)}else j=me,me=r;return ze[Ke]={nextPos:j,result:me},me}function te(){var me,V,ne,ue,Ce,qe,_e,Ke=30*j+6,Je=ze[Ke];if(Je)return j=Je.nextPos,Je.result;if(me=j,n.charCodeAt(j)===33?(V="!",j++):(V=r,tt(S)),V===r&&(V=null),V!==r){if(ne=[],(ue=Z())!==r)for(;ue!==r;)ne.push(ue),ue=Z();else ne=r;ne!==r?(Ce=V,_e=(qe=ne).length===1?qe[0]:{type:"compound",selectors:qe},Ce&&(_e.subject=!0),me=V=_e):(j=me,me=r)}else j=me,me=r;return ze[Ke]={nextPos:j,result:me},me}function Z(){var me,V=30*j+7,ne=ze[V];return ne?(j=ne.nextPos,ne.result):((me=function(){var ue,Ce,qe=30*j+8,_e=ze[qe];return _e?(j=_e.nextPos,_e.result):(n.charCodeAt(j)===42?(Ce="*",j++):(Ce=r,tt(x)),Ce!==r&&(Ce={type:"wildcard",value:Ce}),ue=Ce,ze[qe]={nextPos:j,result:ue},ue)}())===r&&(me=function(){var ue,Ce,qe,_e=30*j+9,Ke=ze[_e];return Ke?(j=Ke.nextPos,Ke.result):(ue=j,n.charCodeAt(j)===35?(Ce="#",j++):(Ce=r,tt(T)),Ce===r&&(Ce=null),Ce!==r&&(qe=Se())!==r?ue=Ce={type:"identifier",value:qe}:(j=ue,ue=r),ze[_e]={nextPos:j,result:ue},ue)}())===r&&(me=function(){var ue,Ce,qe,_e,Ke=30*j+10,Je=ze[Ke];return Je?(j=Je.nextPos,Je.result):(ue=j,n.charCodeAt(j)===91?(Ce="[",j++):(Ce=r,tt(C)),Ce!==r&&Ee()!==r&&(qe=function(){var pe,le,ye,Re,Oe=30*j+14,it=ze[Oe];return it?(j=it.nextPos,it.result):(pe=j,(le=fe())!==r&&Ee()!==r&&(ye=function(){var Ge,Ze,lt,Ye=30*j+12,st=ze[Ye];return st?(j=st.nextPos,st.result):(Ge=j,n.charCodeAt(j)===33?(Ze="!",j++):(Ze=r,tt(S)),Ze===r&&(Ze=null),Ze!==r?(n.charCodeAt(j)===61?(lt="=",j++):(lt=r,tt(w)),lt!==r?(Ze=k(Ze),Ge=Ze):(j=Ge,Ge=r)):(j=Ge,Ge=r),ze[Ye]={nextPos:j,result:Ge},Ge)}())!==r&&Ee()!==r?((Re=function(){var Ge,Ze,lt,Ye,st,mt=30*j+18,yt=ze[mt];if(yt)return j=yt.nextPos,yt.result;if(Ge=j,n.substr(j,5)==="type("?(Ze="type(",j+=5):(Ze=r,tt(I)),Ze!==r)if(Ee()!==r){if(lt=[],W.test(n.charAt(j))?(Ye=n.charAt(j),j++):(Ye=r,tt(oe)),Ye!==r)for(;Ye!==r;)lt.push(Ye),W.test(n.charAt(j))?(Ye=n.charAt(j),j++):(Ye=r,tt(oe));else lt=r;lt!==r&&(Ye=Ee())!==r?(n.charCodeAt(j)===41?(st=")",j++):(st=r,tt(ie)),st!==r?(Ze={type:"type",value:lt.join("")},Ge=Ze):(j=Ge,Ge=r)):(j=Ge,Ge=r)}else j=Ge,Ge=r;else j=Ge,Ge=r;return ze[mt]={nextPos:j,result:Ge},Ge}())===r&&(Re=function(){var Ge,Ze,lt,Ye,st,mt,yt=30*j+20,pt=ze[yt];if(pt)return j=pt.nextPos,pt.result;if(Ge=j,n.charCodeAt(j)===47?(Ze="/",j++):(Ze=r,tt(be)),Ze!==r){if(lt=[],xe.test(n.charAt(j))?(Ye=n.charAt(j),j++):(Ye=r,tt(Te)),Ye!==r)for(;Ye!==r;)lt.push(Ye),xe.test(n.charAt(j))?(Ye=n.charAt(j),j++):(Ye=r,tt(Te));else lt=r;lt!==r?(n.charCodeAt(j)===47?(Ye="/",j++):(Ye=r,tt(be)),Ye!==r?((st=function(){var vt,Ct,xt=30*j+19,Rt=ze[xt];if(Rt)return j=Rt.nextPos,Rt.result;if(vt=[],se.test(n.charAt(j))?(Ct=n.charAt(j),j++):(Ct=r,tt(de)),Ct!==r)for(;Ct!==r;)vt.push(Ct),se.test(n.charAt(j))?(Ct=n.charAt(j),j++):(Ct=r,tt(de));else vt=r;return ze[xt]={nextPos:j,result:vt},vt}())===r&&(st=null),st!==r?(mt=st,Ze={type:"regexp",value:new RegExp(lt.join(""),mt?mt.join(""):"")},Ge=Ze):(j=Ge,Ge=r)):(j=Ge,Ge=r)):(j=Ge,Ge=r)}else j=Ge,Ge=r;return ze[yt]={nextPos:j,result:Ge},Ge}()),Re!==r?(le=P(le,ye,Re),pe=le):(j=pe,pe=r)):(j=pe,pe=r),pe===r&&(pe=j,(le=fe())!==r&&Ee()!==r&&(ye=function(){var Ge,Ze,lt,Ye=30*j+11,st=ze[Ye];return st?(j=st.nextPos,st.result):(Ge=j,A.test(n.charAt(j))?(Ze=n.charAt(j),j++):(Ze=r,tt(b)),Ze===r&&(Ze=null),Ze!==r?(n.charCodeAt(j)===61?(lt="=",j++):(lt=r,tt(w)),lt!==r?(Ze=k(Ze),Ge=Ze):(j=Ge,Ge=r)):(j=Ge,Ge=r),Ge===r&&(R.test(n.charAt(j))?(Ge=n.charAt(j),j++):(Ge=r,tt(F))),ze[Ye]={nextPos:j,result:Ge},Ge)}())!==r&&Ee()!==r?((Re=function(){var Ge,Ze,lt,Ye,st,mt,yt=30*j+15,pt=ze[yt];if(pt)return j=pt.nextPos,pt.result;if(Ge=j,n.charCodeAt(j)===34?(Ze='"',j++):(Ze=r,tt(O)),Ze!==r){for(lt=[],q.test(n.charAt(j))?(Ye=n.charAt(j),j++):(Ye=r,tt(N)),Ye===r&&(Ye=j,n.charCodeAt(j)===92?(st="\\",j++):(st=r,tt(_)),st!==r?(n.length>j?(mt=n.charAt(j),j++):(mt=r,tt(G)),mt!==r?(st=B(st,mt),Ye=st):(j=Ye,Ye=r)):(j=Ye,Ye=r));Ye!==r;)lt.push(Ye),q.test(n.charAt(j))?(Ye=n.charAt(j),j++):(Ye=r,tt(N)),Ye===r&&(Ye=j,n.charCodeAt(j)===92?(st="\\",j++):(st=r,tt(_)),st!==r?(n.length>j?(mt=n.charAt(j),j++):(mt=r,tt(G)),mt!==r?(st=B(st,mt),Ye=st):(j=Ye,Ye=r)):(j=Ye,Ye=r));lt!==r?(n.charCodeAt(j)===34?(Ye='"',j++):(Ye=r,tt(O)),Ye!==r?(Ze=z(lt),Ge=Ze):(j=Ge,Ge=r)):(j=Ge,Ge=r)}else j=Ge,Ge=r;if(Ge===r)if(Ge=j,n.charCodeAt(j)===39?(Ze="'",j++):(Ze=r,tt(H)),Ze!==r){for(lt=[],ce.test(n.charAt(j))?(Ye=n.charAt(j),j++):(Ye=r,tt(re)),Ye===r&&(Ye=j,n.charCodeAt(j)===92?(st="\\",j++):(st=r,tt(_)),st!==r?(n.length>j?(mt=n.charAt(j),j++):(mt=r,tt(G)),mt!==r?(st=B(st,mt),Ye=st):(j=Ye,Ye=r)):(j=Ye,Ye=r));Ye!==r;)lt.push(Ye),ce.test(n.charAt(j))?(Ye=n.charAt(j),j++):(Ye=r,tt(re)),Ye===r&&(Ye=j,n.charCodeAt(j)===92?(st="\\",j++):(st=r,tt(_)),st!==r?(n.length>j?(mt=n.charAt(j),j++):(mt=r,tt(G)),mt!==r?(st=B(st,mt),Ye=st):(j=Ye,Ye=r)):(j=Ye,Ye=r));lt!==r?(n.charCodeAt(j)===39?(Ye="'",j++):(Ye=r,tt(H)),Ye!==r?(Ze=z(lt),Ge=Ze):(j=Ge,Ge=r)):(j=Ge,Ge=r)}else j=Ge,Ge=r;return ze[yt]={nextPos:j,result:Ge},Ge}())===r&&(Re=function(){var Ge,Ze,lt,Ye,st,mt,yt,pt=30*j+16,vt=ze[pt];if(vt)return j=vt.nextPos,vt.result;for(Ge=j,Ze=j,lt=[],Fe.test(n.charAt(j))?(Ye=n.charAt(j),j++):(Ye=r,tt(X));Ye!==r;)lt.push(Ye),Fe.test(n.charAt(j))?(Ye=n.charAt(j),j++):(Ye=r,tt(X));if(lt!==r?(n.charCodeAt(j)===46?(Ye=".",j++):(Ye=r,tt(L)),Ye!==r?Ze=lt=[lt,Ye]:(j=Ze,Ze=r)):(j=Ze,Ze=r),Ze===r&&(Ze=null),Ze!==r){if(lt=[],Fe.test(n.charAt(j))?(Ye=n.charAt(j),j++):(Ye=r,tt(X)),Ye!==r)for(;Ye!==r;)lt.push(Ye),Fe.test(n.charAt(j))?(Ye=n.charAt(j),j++):(Ye=r,tt(X));else lt=r;lt!==r?(mt=lt,yt=(st=Ze)?[].concat.apply([],st).join(""):"",Ze={type:"literal",value:parseFloat(yt+mt.join(""))},Ge=Ze):(j=Ge,Ge=r)}else j=Ge,Ge=r;return ze[pt]={nextPos:j,result:Ge},Ge}())===r&&(Re=function(){var Ge,Ze,lt=30*j+17,Ye=ze[lt];return Ye?(j=Ye.nextPos,Ye.result):((Ze=Se())!==r&&(Ze={type:"literal",value:Ze}),Ge=Ze,ze[lt]={nextPos:j,result:Ge},Ge)}()),Re!==r?(le=P(le,ye,Re),pe=le):(j=pe,pe=r)):(j=pe,pe=r),pe===r&&(pe=j,(le=fe())!==r&&(le={type:"attribute",name:le}),pe=le)),ze[Oe]={nextPos:j,result:pe},pe)}())!==r&&Ee()!==r?(n.charCodeAt(j)===93?(_e="]",j++):(_e=r,tt(v)),_e!==r?ue=Ce=qe:(j=ue,ue=r)):(j=ue,ue=r),ze[Ke]={nextPos:j,result:ue},ue)}())===r&&(me=function(){var ue,Ce,qe,_e,Ke,Je,pe,le,ye=30*j+21,Re=ze[ye];if(Re)return j=Re.nextPos,Re.result;if(ue=j,n.charCodeAt(j)===46?(Ce=".",j++):(Ce=r,tt(L)),Ce!==r)if((qe=Se())!==r){for(_e=[],Ke=j,n.charCodeAt(j)===46?(Je=".",j++):(Je=r,tt(L)),Je!==r&&(pe=Se())!==r?Ke=Je=[Je,pe]:(j=Ke,Ke=r);Ke!==r;)_e.push(Ke),Ke=j,n.charCodeAt(j)===46?(Je=".",j++):(Je=r,tt(L)),Je!==r&&(pe=Se())!==r?Ke=Je=[Je,pe]:(j=Ke,Ke=r);_e!==r?(le=qe,Ce={type:"field",name:_e.reduce(function(Oe,it){return Oe+it[0]+it[1]},le)},ue=Ce):(j=ue,ue=r)}else j=ue,ue=r;else j=ue,ue=r;return ze[ye]={nextPos:j,result:ue},ue}())===r&&(me=function(){var ue,Ce,qe,_e,Ke=30*j+22,Je=ze[Ke];return Je?(j=Je.nextPos,Je.result):(ue=j,n.substr(j,5)===":not("?(Ce=":not(",j+=5):(Ce=r,tt(J)),Ce!==r&&Ee()!==r&&(qe=Pe())!==r&&Ee()!==r?(n.charCodeAt(j)===41?(_e=")",j++):(_e=r,tt(ie)),_e!==r?ue=Ce={type:"not",selectors:qe}:(j=ue,ue=r)):(j=ue,ue=r),ze[Ke]={nextPos:j,result:ue},ue)}())===r&&(me=function(){var ue,Ce,qe,_e,Ke=30*j+23,Je=ze[Ke];return Je?(j=Je.nextPos,Je.result):(ue=j,n.substr(j,9)===":matches("?(Ce=":matches(",j+=9):(Ce=r,tt(Q)),Ce!==r&&Ee()!==r&&(qe=Pe())!==r&&Ee()!==r?(n.charCodeAt(j)===41?(_e=")",j++):(_e=r,tt(ie)),_e!==r?ue=Ce={type:"matches",selectors:qe}:(j=ue,ue=r)):(j=ue,ue=r),ze[Ke]={nextPos:j,result:ue},ue)}())===r&&(me=function(){var ue,Ce,qe,_e,Ke=30*j+24,Je=ze[Ke];return Je?(j=Je.nextPos,Je.result):(ue=j,n.substr(j,5)===":has("?(Ce=":has(",j+=5):(Ce=r,tt(ke)),Ce!==r&&Ee()!==r&&(qe=Pe())!==r&&Ee()!==r?(n.charCodeAt(j)===41?(_e=")",j++):(_e=r,tt(ie)),_e!==r?ue=Ce={type:"has",selectors:qe}:(j=ue,ue=r)):(j=ue,ue=r),ze[Ke]={nextPos:j,result:ue},ue)}())===r&&(me=function(){var ue,Ce,qe=30*j+25,_e=ze[qe];return _e?(j=_e.nextPos,_e.result):(n.substr(j,12)===":first-child"?(Ce=":first-child",j+=12):(Ce=r,tt($)),Ce!==r&&(Ce=De(1)),ue=Ce,ze[qe]={nextPos:j,result:ue},ue)}())===r&&(me=function(){var ue,Ce,qe=30*j+26,_e=ze[qe];return _e?(j=_e.nextPos,_e.result):(n.substr(j,11)===":last-child"?(Ce=":last-child",j+=11):(Ce=r,tt(ae)),Ce!==r&&(Ce=Le(1)),ue=Ce,ze[qe]={nextPos:j,result:ue},ue)}())===r&&(me=function(){var ue,Ce,qe,_e,Ke,Je=30*j+27,pe=ze[Je];if(pe)return j=pe.nextPos,pe.result;if(ue=j,n.substr(j,11)===":nth-child("?(Ce=":nth-child(",j+=11):(Ce=r,tt(Ie)),Ce!==r)if(Ee()!==r){if(qe=[],Fe.test(n.charAt(j))?(_e=n.charAt(j),j++):(_e=r,tt(X)),_e!==r)for(;_e!==r;)qe.push(_e),Fe.test(n.charAt(j))?(_e=n.charAt(j),j++):(_e=r,tt(X));else qe=r;qe!==r&&(_e=Ee())!==r?(n.charCodeAt(j)===41?(Ke=")",j++):(Ke=r,tt(ie)),Ke!==r?(Ce=De(parseInt(qe.join(""),10)),ue=Ce):(j=ue,ue=r)):(j=ue,ue=r)}else j=ue,ue=r;else j=ue,ue=r;return ze[Je]={nextPos:j,result:ue},ue}())===r&&(me=function(){var ue,Ce,qe,_e,Ke,Je=30*j+28,pe=ze[Je];if(pe)return j=pe.nextPos,pe.result;if(ue=j,n.substr(j,16)===":nth-last-child("?(Ce=":nth-last-child(",j+=16):(Ce=r,tt(Ne)),Ce!==r)if(Ee()!==r){if(qe=[],Fe.test(n.charAt(j))?(_e=n.charAt(j),j++):(_e=r,tt(X)),_e!==r)for(;_e!==r;)qe.push(_e),Fe.test(n.charAt(j))?(_e=n.charAt(j),j++):(_e=r,tt(X));else qe=r;qe!==r&&(_e=Ee())!==r?(n.charCodeAt(j)===41?(Ke=")",j++):(Ke=r,tt(ie)),Ke!==r?(Ce=Le(parseInt(qe.join(""),10)),ue=Ce):(j=ue,ue=r)):(j=ue,ue=r)}else j=ue,ue=r;else j=ue,ue=r;return ze[Je]={nextPos:j,result:ue},ue}())===r&&(me=function(){var ue,Ce,qe,_e=30*j+29,Ke=ze[_e];return Ke?(j=Ke.nextPos,Ke.result):(ue=j,n.charCodeAt(j)===58?(Ce=":",j++):(Ce=r,tt(Be)),Ce!==r&&(qe=Se())!==r?ue=Ce={type:"class",name:qe}:(j=ue,ue=r),ze[_e]={nextPos:j,result:ue},ue)}()),ze[V]={nextPos:j,result:me},me)}function fe(){var me,V,ne,ue,Ce,qe,_e,Ke,Je=30*j+13,pe=ze[Je];if(pe)return j=pe.nextPos,pe.result;if(me=j,(V=Se())!==r){for(ne=[],ue=j,n.charCodeAt(j)===46?(Ce=".",j++):(Ce=r,tt(L)),Ce!==r&&(qe=Se())!==r?ue=Ce=[Ce,qe]:(j=ue,ue=r);ue!==r;)ne.push(ue),ue=j,n.charCodeAt(j)===46?(Ce=".",j++):(Ce=r,tt(L)),Ce!==r&&(qe=Se())!==r?ue=Ce=[Ce,qe]:(j=ue,ue=r);ne!==r?(_e=V,Ke=ne,me=V=[].concat.apply([_e],Ke).join("")):(j=me,me=r)}else j=me,me=r;return ze[Je]={nextPos:j,result:me},me}function De(me){return{type:"nth-child",index:{type:"literal",value:me}}}function Le(me){return{type:"nth-last-child",index:{type:"literal",value:me}}}if((t=i())!==r&&j===n.length)return t;throw t!==r&&j<n.length&&tt({type:"end"}),l=rt,p=ut<n.length?n.charAt(ut):null,u=ut<n.length?at(ut,ut+1):at(ut,ut),new e(e.buildMessage(l,p),l,p,u)}}}())});function tr(a,e){for(var n=0;n<e.length;++n){if(a==null)return a;a=a[e[n]]}return a}var pp=typeof WeakMap=="function"?new WeakMap:null;function Vt(a){if(a==null)return function(){return!0};if(pp!=null){var e=pp.get(a);return e!=null||(e=e0(a),pp.set(a,e)),e}return e0(a)}function e0(a){switch(a.type){case"wildcard":return function(){return!0};case"identifier":var e=a.value.toLowerCase();return function(v,A,b){var w=b&&b.nodeTypeKey||"type";return e===v[w].toLowerCase()};case"field":var n=a.name.split(".");return function(v,A){return function b(w,k,R,F){for(var L=k,P=F;P<R.length;++P){if(L==null)return!1;var O=L[R[P]];if(Array.isArray(O)){for(var q=0;q<O.length;++q)if(b(w,O[q],R,P+1))return!0;return!1}L=O}return w===L}(v,A[n.length-1],n,0)};case"matches":var o=a.selectors.map(Vt);return function(v,A,b){for(var w=0;w<o.length;++w)if(o[w](v,A,b))return!0;return!1};case"compound":var t=a.selectors.map(Vt);return function(v,A,b){for(var w=0;w<t.length;++w)if(!t[w](v,A,b))return!1;return!0};case"not":var l=a.selectors.map(Vt);return function(v,A,b){for(var w=0;w<l.length;++w)if(l[w](v,A,b))return!1;return!0};case"has":var p=a.selectors.map(Vt);return function(v,A,b){var w=!1,k=[];return Bn.traverse(v,{enter:function(R,F){F!=null&&k.unshift(F);for(var L=0;L<p.length;++L)if(p[L](R,k,b))return w=!0,void this.break()},leave:function(){k.shift()},keys:b&&b.visitorKeys,fallback:b&&b.fallback||"iteration"}),w};case"child":var u=Vt(a.left),r=Vt(a.right);return function(v,A,b){return!!(A.length>0&&r(v,A,b))&&u(A[0],A.slice(1),b)};case"descendant":var m=Vt(a.left),i=Vt(a.right);return function(v,A,b){if(i(v,A,b)){for(var w=0,k=A.length;w<k;++w)if(m(A[w],A.slice(w+1),b))return!0}return!1};case"attribute":var c=a.name.split(".");switch(a.operator){case void 0:return function(v){return tr(v,c)!=null};case"=":switch(a.value.type){case"regexp":return function(v){var A=tr(v,c);return typeof A=="string"&&a.value.value.test(A)};case"literal":var h="".concat(a.value.value);return function(v){return h==="".concat(tr(v,c))};case"type":return function(v){return a.value.value===sn(tr(v,c))}}throw new Error("Unknown selector value type: ".concat(a.value.type));case"!=":switch(a.value.type){case"regexp":return function(v){return!a.value.value.test(tr(v,c))};case"literal":var s="".concat(a.value.value);return function(v){return s!=="".concat(tr(v,c))};case"type":return function(v){return a.value.value!==sn(tr(v,c))}}throw new Error("Unknown selector value type: ".concat(a.value.type));case"<=":return function(v){return tr(v,c)<=a.value.value};case"<":return function(v){return tr(v,c)<a.value.value};case">":return function(v){return tr(v,c)>a.value.value};case">=":return function(v){return tr(v,c)>=a.value.value}}throw new Error("Unknown operator: ".concat(a.operator));case"sibling":var f=Vt(a.left),g=Vt(a.right);return function(v,A,b){return g(v,A,b)&&t0(v,f,A,"LEFT_SIDE",b)||a.left.subject&&f(v,A,b)&&t0(v,g,A,"RIGHT_SIDE",b)};case"adjacent":var d=Vt(a.left),E=Vt(a.right);return function(v,A,b){return E(v,A,b)&&r0(v,d,A,"LEFT_SIDE",b)||a.right.subject&&d(v,A,b)&&r0(v,E,A,"RIGHT_SIDE",b)};case"nth-child":var S=a.index.value,x=Vt(a.right);return function(v,A,b){return x(v,A,b)&&n0(v,A,S,b)};case"nth-last-child":var T=-a.index.value,C=Vt(a.right);return function(v,A,b){return C(v,A,b)&&n0(v,A,T,b)};case"class":return function(v,A,b){if(b&&b.matchClass)return b.matchClass(a.name,v,A);if(b&&b.nodeTypeKey)return!1;switch(a.name.toLowerCase()){case"statement":if(v.type.slice(-9)==="Statement")return!0;case"declaration":return v.type.slice(-11)==="Declaration";case"pattern":if(v.type.slice(-7)==="Pattern")return!0;case"expression":return v.type.slice(-10)==="Expression"||v.type.slice(-7)==="Literal"||v.type==="Identifier"&&(A.length===0||A[0].type!=="MetaProperty")||v.type==="MetaProperty";case"function":return v.type==="FunctionDeclaration"||v.type==="FunctionExpression"||v.type==="ArrowFunctionExpression"}throw new Error("Unknown class name: ".concat(a.name))}}throw new Error("Unknown selector type: ".concat(a.type))}function mp(a,e){var n=e&&e.nodeTypeKey||"type",o=a[n];return e&&e.visitorKeys&&e.visitorKeys[o]?e.visitorKeys[o]:Bn.VisitorKeys[o]?Bn.VisitorKeys[o]:e&&typeof e.fallback=="function"?e.fallback(a):Object.keys(a).filter(function(t){return t!==n})}function hp(a,e){var n=e&&e.nodeTypeKey||"type";return a!==null&&sn(a)==="object"&&typeof a[n]=="string"}function t0(a,e,n,o,t){var l=cp(n,1)[0];if(!l)return!1;for(var p=mp(l,t),u=0;u<p.length;++u){var r=l[p[u]];if(Array.isArray(r)){var m=r.indexOf(a);if(m<0)continue;var i=void 0,c=void 0;o==="LEFT_SIDE"?(i=0,c=m):(i=m+1,c=r.length);for(var h=i;h<c;++h)if(hp(r[h],t)&&e(r[h],n,t))return!0}}return!1}function r0(a,e,n,o,t){var l=cp(n,1)[0];if(!l)return!1;for(var p=mp(l,t),u=0;u<p.length;++u){var r=l[p[u]];if(Array.isArray(r)){var m=r.indexOf(a);if(m<0)continue;if(o==="LEFT_SIDE"&&m>0&&hp(r[m-1],t)&&e(r[m-1],n,t)||o==="RIGHT_SIDE"&&m<r.length-1&&hp(r[m+1],t)&&e(r[m+1],n,t))return!0}}return!1}function n0(a,e,n,o){if(n===0)return!1;var t=cp(e,1)[0];if(!t)return!1;for(var l=mp(t,o),p=0;p<l.length;++p){var u=t[l[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 s0(a,e,n,o){if(e){var t=[],l=Vt(e),p=function u(r,m){if(r==null||sn(r)!="object")return[];m==null&&(m=r);for(var i=r.subject?[m]:[],c=Object.keys(r),h=0;h<c.length;++h){var s=c[h],f=r[s];i.push.apply(i,iP(u(f,s==="left"?f:m)))}return i}(e).map(Vt);Bn.traverse(a,{enter:function(u,r){if(r!=null&&t.unshift(r),l(u,t,o))if(p.length)for(var m=0,i=p.length;m<i;++m){p[m](u,t,o)&&n(u,r,t);for(var c=0,h=t.length;c<h;++c){var s=t.slice(c+1);p[m](t[c],s,o)&&n(t[c],r,s)}}else n(u,r,t)},leave:function(){t.shift()},keys:o&&o.visitorKeys,fallback:o&&o.fallback||"iteration"})}}function a0(a,e,n){var o=[];return s0(a,e,function(t){o.push(t)},n),o}function i0(a){return oP.parse(a)}function Pr(a,e,n){return a0(a,i0(e),n)}Pr.parse=i0,Pr.match=a0,Pr.traverse=s0,Pr.matches=function(a,e,n,o){return!e||!!a&&(n||(n=[]),Vt(e)(a,n,o))},Pr.query=Pr;var dp,o0;function lP(){if(o0)return dp;o0=1;const a=Pr;class e{source;isExit;root;nodeTypes;attributeCount;identifierCount;constructor(c,h,s,f,g,d){this.source=c,this.isExit=h,this.root=s,this.nodeTypes=f,this.attributeCount=g,this.identifierCount=d}compare(c){return this.attributeCount-c.attributeCount||this.identifierCount-c.identifierCount||(this.source<=c.source?-1:1)}}const n=new Map;function o(...i){return[...new Set(i.flat())]}function t(...i){if(i.length===0)return[];let c=[...new Set(i[0])];for(const h of i.slice(1))c=c.filter(s=>h.includes(s));return c}function l(i){let c=0,h=0;function s(g){switch(g.type){case"identifier":return h++,[g.value];case"not":return g.selectors.map(s),null;case"matches":{const d=g.selectors.map(s);return d.every(Boolean)?o(...d):null}case"compound":{const d=g.selectors.map(s).filter(E=>E);return d.length?t(...d):null}case"attribute":case"field":case"nth-child":case"nth-last-child":return c++,null;case"child":case"descendant":case"sibling":case"adjacent":return s(g.left),s(g.right);case"class":return g.name==="function"?["FunctionDeclaration","FunctionExpression","ArrowFunctionExpression"]:null;default:return null}}return{nodeTypes:s(i),attributeCount:c,identifierCount:h}}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(c){throw c.location&&c.location.start&&typeof c.location.start.offset=="number"?new SyntaxError(`Syntax error in selector "${i}" at position ${c.location.start.offset}: ${c.message}`):c}}function r(i){if(n.has(i))return n.get(i);const c=i.replace(/:exit$/u,""),h=p(c)??u(c),{nodeTypes:s,attributeCount:f,identifierCount:g}=l(h),d=new e(i,i.endsWith(":exit"),h,s,f,g);return n.set(i,d),d}function m(i,c,h,s){return a.matches(i,c,h,s)}return dp={parse:r,matches:m,ESQueryParsedSelector:e},dp}var gp,l0;function uP(){if(l0)return gp;l0=1;const{parse:a,matches:e}=lP(),n=Wr(),o=1,t=2;function l(r,m){return r.compare(m)}class p{constructor(m,i){this.visitor=m,this.esqueryOptions=i,this.enterSelectorsByNodeType=new Map,this.exitSelectorsByNodeType=new Map,this.anyTypeEnterSelectors=[],this.anyTypeExitSelectors=[],m.forEachName(c=>{const h=a(c);if(h.nodeTypes){const f=h.isExit?this.exitSelectorsByNodeType:this.enterSelectorsByNodeType;h.nodeTypes.forEach(g=>{f.has(g)||f.set(g,[]),f.get(g).push(h)});return}(h.isExit?this.anyTypeExitSelectors:this.anyTypeEnterSelectors).push(h)}),this.anyTypeEnterSelectors.sort(l),this.anyTypeExitSelectors.sort(l),this.enterSelectorsByNodeType.forEach(c=>c.sort(l)),this.exitSelectorsByNodeType.forEach(c=>c.sort(l))}matches(m,i,c){return e(m,c.root,i,this.esqueryOptions)}calculateSelectors(m,i,c){const h=this.esqueryOptions?.nodeTypeKey||"type",s=[],f=(c?this.exitSelectorsByNodeType:this.enterSelectorsByNodeType).get(m[h])||[],g=c?this.anyTypeExitSelectors:this.anyTypeEnterSelectors;let d=0,E=0;for(;d<f.length||E<g.length;){const S=d<f.length,x=E<g.length,T=g[E],C=f[d],v=x&&S&&T.compare(C)<0;!S||v?(E++,this.matches(m,i,T)&&s.push(T.source)):(d++,this.matches(m,i,C)&&s.push(C.source))}return s}}class u{#e;static instances=new WeakMap;constructor(m){this.#e=m}static getInstance(m){return this.instances.has(m)||this.instances.set(m,new this(m)),this.instances.get(m)}traverseSync(m,i,{steps:c}={}){const h=new p(i,{visitorKeys:m.visitorKeys??this.#e.visitorKeys,fallback:n.getKeys,matchClass:this.#e.matchesSelectorClass??(()=>!1),nodeTypeKey:this.#e.nodeTypeKey}),s=[];for(const f of c??m.traverse())switch(f.kind){case o:{try{f.phase===1?(h.calculateSelectors(f.target,s,!1).forEach(g=>{i.callSync(g,f.target)}),s.unshift(f.target)):(s.shift(),h.calculateSelectors(f.target,s,!0).forEach(g=>{i.callSync(g,f.target)}))}catch(g){throw g.currentNode=f.target,g}break}case t:{i.callSync(f.target,...f.args);break}default:throw new Error(`Invalid traversal step found: "${f.kind}".`)}}}return gp={SourceCodeTraverser:u},gp}var yp,u0;function cP(){if(u0)return yp;u0=1;function a(n,o){return{range:[n,n],text:o}}class e{#e;constructor({sourceCode:o}){this.#e=o}insertTextAfter(o,t){const l=this.#e.getRange(o);return this.insertTextAfterRange(l,t)}insertTextAfterRange(o,t){return a(o[1],t)}insertTextBefore(o,t){const l=this.#e.getRange(o);return this.insertTextBeforeRange(l,t)}insertTextBeforeRange(o,t){return a(o[0],t)}replaceText(o,t){const l=this.#e.getRange(o);return this.replaceTextRange(l,t)}replaceTextRange(o,t){return{range:o,text:t}}remove(o){const t=this.#e.getRange(o);return this.removeRange(t)}removeRange(o){return{range:o,text:""}}}return yp={RuleFixer:e},yp}var vp,c0;function fP(){if(c0)return vp;c0=1;function a(){return/\{\{([^{}]+)\}\}/gu}function e(n,o){if(!o)return n;const t=a();return n.replace(t,(l,p)=>{const u=p.trim();return u in o?o[u]:l})}return vp={getPlaceholderMatcher:a,interpolate:e},vp}var Ep,f0;function pP(){if(f0)return Ep;f0=1;const a=Pn(),{RuleFixer:e}=cP(),{interpolate:n}=fP(),o=Md,t={start:{line:1,column:0},end:{line:1,column:1}};function l({line:C,column:v,endLine:A,endColumn:b},w){const k=w.columnStart===1?0:1,R=w.lineStart===1?0:1,F=A===void 0?A:A+R,L=b===void 0?b:b+k;return{line:C+R,column:v+k,endLine:F,endColumn:L}}function p(C){return Object.hasOwn(o.rules,C)?`Rule '${C}' was removed and replaced by: ${o.rules[C].join(", ")}`:`Definition for rule '${C}' was not found.`}function u(C,v,A){const{ruleId:b=null,loc:w=t,message:k=p(C.ruleId)}=C;return{ruleId:b,message:k,...l({line:w.start.line,column:w.start.column,endLine:w.end.line,endColumn:w.end.column},A),severity:v,nodeType:null}}function r(...C){return C.length===1?Object.assign({},C[0]):typeof C[1]=="string"?{node:C[0],message:C[1],data:C[2],fix:C[3]}:{node:C[0],loc:C[1],message:C[2],data:C[3],fix:C[4]}}function m(C){C.node?a(typeof C.node=="object","Node must be an object"):a(C.loc,"Node must be provided when reporting error if location is not provided")}function i(C){return C.loc.start?C.loc:{start:C.loc,end:null}}function c(C){return C?{range:[C.range[0],C.range[1]],text:C.text}:null}function h(C){C&&a(C.range&&typeof C.range[0]=="number"&&typeof C.range[1]=="number",`Fix has invalid range: ${JSON.stringify(C,null,2)}`)}function s(C,v){return C.range[0]-v.range[0]||C.range[1]-v.range[1]}function f(C,v){for(const F of C)h(F);if(C.length===0)return null;if(C.length===1)return c(C[0]);C.sort(s);const A=v.text,b=C[0].range[0],w=C.at(-1).range[1];let k="",R=Number.MIN_SAFE_INTEGER;for(const F of C)a(F.range[0]>=R,"Fix objects must not be overlapped in a report."),F.range[0]>=0&&(k+=A.slice(Math.max(0,b,R),F.range[0])),k+=F.text,R=F.range[1];return k+=A.slice(Math.max(0,b,R),w),{range:[b,w],text:k}}function g(C,v){if(typeof C.fix!="function")return null;const A=new e({sourceCode:v}),b=C.fix(A);return b&&Symbol.iterator in b?f(Array.from(b),v):(h(b),c(b))}function d(C,v,A){return!C.suggest||!Array.isArray(C.suggest)?[]:C.suggest.map(b=>{const w=b.desc||A[b.messageId];return{...b,desc:n(w,b.data),fix:g(b,v)}}).filter(({fix:b})=>b)}function E(C){const{language:v}=C,A=v.columnStart===1?0:1,b=v.lineStart===1?0:1,w={ruleId:C.ruleId,severity:C.severity,message:C.message,line:C.loc.start.line+b,column:C.loc.start.column+A,nodeType:C.node&&C.node.type||null};return C.messageId&&(w.messageId=C.messageId),C.loc.end&&(w.endLine=C.loc.end.line+b,w.endColumn=C.loc.end.column+A),C.fix&&(w.fix=C.fix),C.suggestions&&C.suggestions.length>0&&(w.suggestions=C.suggestions),w}function S(C,v){C&&Array.isArray(C)&&C.forEach(A=>{if(A.messageId){const{messageId:b}=A;if(!v)throw new TypeError(`context.report() called with a suggest option with a messageId '${b}', but no messages were present in the rule metadata.`);if(!v[b])throw new TypeError(`context.report() called with a suggest option with a messageId '${b}' which is not present in the 'messages' config: ${JSON.stringify(v,null,2)}`);if(A.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(!A.desc)throw new TypeError("context.report() called with a suggest option that doesn't have either a `desc` or `messageId`");if(typeof A.fix!="function")throw new TypeError(`context.report() called with a suggest option without a fix function. See: ${A}`)})}function x(C,v){if(C.messageId){if(!v)throw new TypeError("context.report() called with a messageId, but no messages were present in the rule metadata.");const A=C.messageId;if(C.message)throw new TypeError("context.report() called with a message and a messageId. Please only pass one.");if(!v||!Object.hasOwn(v,A))throw new TypeError(`context.report() called with a messageId of '${A}' which is not present in the 'messages' config: ${JSON.stringify(v,null,2)}`);return v[A]}if(C.message)return C.message;throw new TypeError("Missing `message` property in report() call; add a message that describes the linting problem.")}class T{messages=[];#e;#t;#r;#n;constructor({ruleMapper:v,sourceCode:A,language:b,disableFixes:w=!1}){this.#e=v,this.#t=A,this.#r=b,this.#n=w}addRuleMessage(v,A,...b){const w=r(...b),R=this.#e(v)?.meta?.messages;m(w);const F=x(w,R);return S(w.suggest,R),this.messages.push(E({ruleId:v,severity:A,node:w.node,message:n(F,w.data),messageId:w.messageId,loc:w.loc?i(w):this.#t.getLoc(w.node),fix:this.#n?null:g(w,this.#t),suggestions:this.#n?[]:d(w,this.#t,R),language:this.#r})),this.messages.at(-1)}addError(v){const A=u(v,2,this.#r);return this.messages.push(A),A}addFatal(v){const A=u(v,2,this.#r);return A.fatal=!0,this.messages.push(A),A}addWarning(v){const A=u(v,1,this.#r);return this.messages.push(A),A}}return Ep={FileReport:T,updateLocationInformation:l},Ep}var Sp,p0;function mP(){if(p0)return Sp;p0=1;const a=pn,e=qn(),n=Wr(),o=hn(),t=ex(),l=rx,{Legacy:{ConfigOps:p,ConfigValidator:u,environments:r}}=x1(),m=ra(),{SourceCode:i}=bd(),c=hw(),{ConfigCommentParser:h}=vd(),s=HI(),f=KI(),{SourceCodeVisitor:g}=XI(),d=JI(),{FlatConfigArray:E}=ZI(),{startTime:S,endTime:x}=Nb(),{assertIsRuleSeverity:T}=Ka(),{normalizeSeverityToString:C,normalizeSeverityToNumber:v}=Td(),{deepMergeArrays:A}=wd(),b=qb(),{activeFlags:w,inactiveFlags:k,getInactivityReasonMessage:R}=eP(),F=kr()("eslint:linter"),L=10,P="espree",O=5,q=new h,N=Symbol.for("eslint.RuleTester.parser"),{LATEST_ECMA_VERSION:_}=ci(),{VFile:G}=zb(),{ParserService:B}=tP(),{FileContext:z}=rP(),{ProcessorService:H}=nP(),{containsDifferentProperty:ce}=sP(),{Config:re}=ri(),{WarningService:Fe}=aP(),{SourceCodeTraverser:X}=uP(),{FileReport:I,updateLocationInformation:W}=pP();function oe(ve){return ve===o||ve[N]===o}function ie(ve,Pe,{exportedVariables:ee,enabledGlobals:te}){for(const Z of new Set([...Object.keys(Pe),...Object.keys(te)])){const fe=Pe[Z]===void 0?void 0:p.normalizeConfigGlobal(Pe[Z]),Le=te[Z]&&te[Z].value||fe,me=te[Z]&&te[Z].comments;if(Le==="off")continue;let V=ve.set.get(Z);V||(V=new e.Variable(Z,ve),ve.variables.push(V),ve.set.set(Z,V)),V.eslintImplicitGlobalSetting=fe,V.eslintExplicitGlobal=me!==void 0,V.eslintExplicitGlobalComments=me,V.writeable=Le==="writable"}Object.keys(ee).forEach(Z=>{const fe=ve.set.get(Z);fe&&(fe.eslintUsed=!0,fe.eslintExported=!0)}),ve.through=ve.through.filter(Z=>{const fe=Z.identifier.name,De=ve.set.get(fe);return De?(Z.resolved=De,De.references.push(Z),!1):!0})}function se(ve){return Array.isArray(ve)?ve:[ve]}function de(ve,Pe,ee,te,Z,fe,De){const Le=ve.rules?.[te],me=Le?se(Le):["off"],V=C(me[0]),ne=C(Z[0]);if(!(V===ne))return;const Ce=Le?`is already configured to '${V}'`:"is not enabled so can't be turned off";let qe;if(me.length===1&&Z.length===1||V==="off"?qe=`Unused inline config ('${te}' ${Ce}).`:ce(Z.slice(1),me.slice(1))||(qe=fe.length===1?`Unused inline config ('${te}' ${Ce}).`:`Unused inline config ('${te}' ${Ce} with the same options).`),qe){const _e=v(De),Ke={message:qe,loc:Pe};_e===1?ee.addWarning(Ke):_e===2&&ee.addError(Ke)}}function be({type:ve,value:Pe,justification:ee,node:te},Z,fe,De,Le){const me=Object.keys(q.parseListConfig(Pe)),V=me.length?me:[null],ne=[],ue={node:te,value:Pe,ruleIds:me};for(const Ce of V){const qe=De.getLoc(te);if(Ce===null||Z(Ce))if(ve==="disable-next-line"){const{line:_e,column:Ke}=W(qe.end,fe);ne.push({parentDirective:ue,type:ve,line:_e,column:Ke,ruleId:Ce,justification:ee})}else{const{line:_e,column:Ke}=W(qe.start,fe);ne.push({parentDirective:ue,type:ve,line:_e,column:Ke,ruleId:Ce,justification:ee})}else Le.addError({ruleId:Ce,loc:qe})}return ne}function xe(ve,Pe,ee,te,Z){const fe={},De=Object.create(null),Le={},me=[],V=new u({builtInRules:s});return ve.getInlineConfigNodes().filter(ne=>ne.type!=="Shebang").forEach(ne=>{const ue=q.parseDirective(ne.value);if(!ue)return;const{label:Ce,value:qe,justification:_e}=ue,Ke=/^eslint-disable-(?:next-)?line$/u.test(Ce);if(ne.type==="Line"&&!Ke)return;const Je=ve.getLoc(ne);if(ee){const pe=ne.type==="Block"?`/*${Ce}*/`:`//${Ce}`;Z.addWarning({ruleId:null,message:`'${pe}' has no effect because you have 'noInlineConfig' setting in ${ee}.`,loc:Je});return}if(Ce==="eslint-disable-line"&&Je.start.line!==Je.end.line){const pe=`${Ce} comment should not span multiple lines.`;Z.addError({message:pe,loc:Je});return}switch(Ce){case"eslint-disable":case"eslint-enable":case"eslint-disable-next-line":case"eslint-disable-line":{const pe=Ce.slice(7),le=be({type:pe,value:qe,justification:_e,node:ne},Pe,b,ve,Z);me.push(...le);break}case"exported":Object.assign(Le,q.parseListConfig(qe));break;case"globals":case"global":for(const[pe,le]of Object.entries(q.parseStringConfig(qe))){let ye;try{ye=p.normalizeConfigGlobal(le)}catch(Re){Z.addError({loc:Je,message:Re.message});continue}De[pe]?(De[pe].comments.push(ne),De[pe].value=ye):De[pe]={comments:[ne],value:ye}}break;case"eslint":{const pe=q.parseJSONLikeConfig(qe);pe.ok?Object.keys(pe.config).forEach(le=>{const ye=Pe(le),Re=pe.config[le];if(!ye){Z.addError({ruleId:le,loc:Je});return}if(Object.hasOwn(fe,le)){Z.addError({message:`Rule "${le}" is already configured by another configuration comment in the preceding code. This configuration is ignored.`,loc:Je});return}let Oe=se(Re);Oe.length===1&&te.rules&&Object.hasOwn(te.rules,le)&&(Oe=[Oe[0],...se(te.rules[le]).slice(1)]);try{V.validateRuleOptions(ye,le,Oe)}catch(it){if(it.code==="ESLINT_INVALID_RULE_OPTIONS_SCHEMA")throw it;Z.addError({ruleId:le,message:it.message,loc:Je});return}fe[le]=Oe}):Z.addFatal({loc:Je,message:pe.error.message});break}}}),{configuredRules:fe,enabledGlobals:De,exportedVariables:Le,disableDirectives:me}}function Te(ve,Pe,ee,te){const Z=[];if(ve.getDisableDirectives){const{directives:fe,problems:De}=ve.getDisableDirectives();Array.isArray(De)&&De.forEach(Le=>te.addError(Le)),fe.forEach(Le=>{const me=be(Le,Pe,ee,ve,te);Z.push(...me)})}return Z}function J(ve,Pe){return oe(ve)&&Pe==="latest"?o.latestEcmaVersion:Pe>=2015?Pe-2009:Pe}function Q(ve){switch(ve){case 3:return 3;case 5:case void 0:return 5;default:if(typeof ve=="number")return ve>=2015?ve:ve+2009}return _}const ke=/\/\*\s*eslint-env\s.+?(?:\*\/|$)/gsu;function $(ve){let Pe,ee;for(ke.lastIndex=0;(Pe=ke.exec(ve))!==null;)Pe[0].endsWith("*/")&&(ee=Object.assign(ee||{},q.parseListConfig(q.parseDirective(Pe[0].slice(2,-2)).value)));return ee}function ae(ve){const Pe=ve.split(a.sep),ee=Pe.lastIndexOf("<text>");return ee===-1?ve:Pe.slice(ee).join(a.sep)}function Ie(ve,Pe){const ee=Pe.linterOptions||Pe,te=ee.noInlineConfig===!0,Z=ve.allowInlineConfig===!1,fe=Pe.configNameOfNoInlineConfig?` (${Pe.configNameOfNoInlineConfig})`:"";let De=ve.reportUnusedDisableDirectives;typeof De=="boolean"&&(De=De?"error":"off"),typeof De!="string"&&(typeof ee.reportUnusedDisableDirectives=="boolean"?De=ee.reportUnusedDisableDirectives?"warn":"off":De=ee.reportUnusedDisableDirectives===void 0?"off":C(ee.reportUnusedDisableDirectives));const Le=ee.reportUnusedInlineConfigs===void 0?"off":C(ee.reportUnusedInlineConfigs);let me=ve.ruleFilter;return typeof me!="function"&&(me=()=>!0),{filename:ae(ve.filename||"<input>"),allowInlineConfig:!Z,warnInlineConfig:te&&!Z?`your config${fe}`:null,reportUnusedDisableDirectives:De,reportUnusedInlineConfigs:Le,disableFixes:!!ve.disableFixes,stats:ve.stats,ruleFilter:me}}function Ne(ve,Pe,ee){const te=ee.filter(De=>De.parserOptions).reduce((De,Le)=>t(De,Le.parserOptions),{}),Z=t(te,Pe||{});return Z.sourceType==="module"&&(Z.ecmaFeatures=Object.assign({},Z.ecmaFeatures,{globalReturn:!1})),Z.ecmaVersion=J(ve,Z.ecmaVersion),Z}function Be({globals:ve,parser:Pe,parserOptions:ee}){const{ecmaVersion:te,sourceType:Z}=ee;return{globals:ve,ecmaVersion:Q(te),sourceType:Z,parser:Pe,parserOptions:ee}}function j(ve,Pe){return Object.assign(Object.create(null),...Pe.filter(ee=>ee.globals).map(ee=>ee.globals),ve)}function Qe(ve,Pe,ee){const{type:te,key:Z}=Pe;ee.times||(ee.times={passes:[{}]});const fe=ee.fixPasses;fe>ee.times.passes.length-1&&ee.times.passes.push({}),Z?(ee.times.passes[fe][te]??={},ee.times.passes[fe][te][Z]??={total:0},ee.times.passes[fe][te][Z].total+=ve):(ee.times.passes[fe][te]??={total:0},ee.times.passes[fe][te].total+=ve)}function ut(ve,Pe){return Array.isArray(ve)?A(Pe,ve.slice(1)):Pe??[]}function rt(ve,Pe,ee){const Z=Pe.parserOptions.ecmaFeatures||{},fe=Pe.ecmaVersion||O;return e.analyze(ve,{ignoreEval:!0,nodejsScope:Z.globalReturn,impliedStrict:Z.impliedStrict,ecmaVersion:typeof fe=="number"?fe:6,sourceType:Pe.sourceType||"script",childVisitorKeys:n.KEYS,fallback:m.getKeys})}function ze(ve,Pe){if(!ve||typeof ve!="object"||typeof ve.create!="function")throw new TypeError(`Error while loading rule '${Pe.id}': Rule must be an object with a \`create\` method`);try{return ve.create(Pe)}catch(ee){throw ee.message=`Error while loading rule '${Pe.id}': ${ee.message}`,ee}}function Xe(ve,Pe,ee,te,Z,fe,De,Le,me,V,ne,ue,Ce,qe,_e){const Ke=new g,Je=new z({cwd:V,filename:Le,physicalFilename:ne||Le,sourceCode:ve,parserOptions:{...fe.parserOptions},parserPath:te,languageOptions:fe,settings:De}),pe=ve.traverse();return Object.keys(Pe).forEach(ye=>{const Re=re.getRuleNumericSeverity(Pe[ye]);if(Re===0||ue&&!ue({ruleId:ye,severity:Re}))return;const Oe=ee(ye);if(!Oe){_e.addError({ruleId:ye});return}const it=Je.extend({id:ye,options:ut(Pe[ye],me?Oe.meta?.defaultOptions:void 0),report(...Ye){const st=_e.addRuleMessage(ye,Re,...Ye);if(st.fix&&!(Oe.meta&&Oe.meta.fixable))throw new Error('Fixable rules must set the `meta.fixable` property to "code" or "whitespace".');if(st.suggestions&&!(Oe.meta&&Oe.meta.hasSuggestions===!0))throw Oe.meta&&Oe.meta.docs&&typeof Oe.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`.")}}),Ge=d.enabled||Ce?d.time(ye,ze,Ce)(Oe,it):ze(Oe,it),Ze=Ce?Ge.result:Ge;Ce&&Qe(Ge.tdiff,{type:"rules",key:ye},qe);function lt(Ye){return function(...mt){try{const yt=Ye(...mt),pt=Ce?yt.result:yt;return Ce&&Qe(yt.tdiff,{type:"rules",key:ye},qe),pt}catch(yt){throw yt.ruleId=ye,yt}}}if(typeof Ze>"u"||Ze===null)throw new Error(`The create() function for rule '${ye}' did not return an object.`);Object.keys(Ze).forEach(Ye=>{const st=d.enabled||Ce?d.time(ye,Ze[Ye],Ce):Ze[Ye];Ke.add(Ye,lt(st))})}),X.getInstance(Z).traverseSync(ve,Ke,{steps:pe}),_e}function ht(ve){if(typeof ve=="object"){const{hasBOM:Pe,text:ee}=ve;return(Pe?"\uFEFF":"")+ee}return String(ve)}function dt(ve,Pe){return ve.lastConfigArray&&ve.lastConfigArray.pluginEnvironments.get(Pe)||r.get(Pe)||null}function at(ve,Pe){return ve.lastConfigArray&&ve.lastConfigArray.pluginRules.get(Pe)||ve.ruleMap.get(Pe)}function tt(ve){if(ve)return ve;if(typeof Ft=="object")return Ft.cwd()}const we=new WeakMap;function Ee(ve){const{configType:Pe}=we.get(ve);if(Pe==="flat")throw new Error("This method cannot be used with flat config. Add your entries directly into the config array.")}class Se{constructor({cwd:Pe,configType:ee="flat",flags:te=[],warningService:Z=new Fe}={}){const fe=[];te.forEach(De=>{if(k.has(De)){const Le=k.get(De),me=R(Le),V=`The flag '${De}' is inactive: ${me}`;if(typeof Le.replacedBy>"u")throw new Error(V);typeof Le.replacedBy=="string"&&fe.push(Le.replacedBy),Z.emitInactiveFlagWarning(De,V);return}if(!w.has(De))throw new Error(`Unknown flag '${De}'.`);fe.push(De)}),we.set(this,{cwd:tt(Pe),flags:fe,lastConfigArray:null,lastSourceCode:null,lastSuppressedMessages:[],configType:ee,parserMap:new Map([["espree",o]]),ruleMap:new s,warningService:Z}),this.version=l.version}static get version(){return l.version}hasFlag(Pe){return we.get(this).flags.includes(Pe)}#e(Pe,ee,te){const Z=we.get(this),fe=ee||{},De=Ie(te,fe);let Le=P,me=o;if(typeof fe.parser=="object"&&fe.parser!==null)Le=fe.parser.filePath,me=fe.parser.definition;else if(typeof fe.parser=="string"){if(!Z.parserMap.has(fe.parser))return[{ruleId:null,fatal:!0,severity:2,message:`Configured parser '${fe.parser}' was not found.`,line:0,column:0,nodeType:null}];Le=fe.parser,me=Z.parserMap.get(fe.parser)}const V=De.allowInlineConfig&&!De.warnInlineConfig?$(Pe.body):{},ne=Object.assign({builtin:!0},fe.env,V),ue=Object.keys(ne).filter(Re=>ne[Re]).map(Re=>dt(Z,Re)).filter(Re=>Re),Ce=Ne(me,fe.parserOptions||{},ue),qe=j(fe.globals||{},ue),_e=fe.settings||{},Ke=Be({globals:fe.globals,parser:me,parserOptions:Ce});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:rt(Z.lastSourceCode.ast,Ke)}));else{let Re;De.stats&&(Re=S());const it=new B().parseSync(Pe,{language:b,languageOptions:Ke});if(De.stats){const Ge=x(Re);Qe(Ge,{type:"parse"},Z)}if(!it.ok)return it.errors;Z.lastSourceCode=it.sourceCode}const Je=Z.lastSourceCode,pe=new I({ruleMapper:Re=>at(Z,Re),language:b,sourceCode:Je,disableFixes:De.disableFixes}),le=De.allowInlineConfig?xe(Je,Re=>at(Z,Re),De.warnInlineConfig,fe,pe):{configuredRules:{},enabledGlobals:{},exportedVariables:{},disableDirectives:[]};ie(Je.scopeManager.scopes[0],qe,{exportedVariables:le.exportedVariables,enabledGlobals:le.enabledGlobals});const ye=Object.assign({},fe.rules,le.configuredRules);try{Xe(Je,ye,Re=>at(Z,Re),Le,b,Ke,_e,De.filename,!0,Z.cwd,te.physicalFilename,null,De.stats,Z,pe)}catch(Re){if(Re.message+=`
130
- Occurred while linting ${De.filename}`,F("An error occurred while traversing"),F("Filename:",De.filename),Re.currentNode){const{line:Oe}=Je.getLoc(Re.currentNode).start;F("Line:",Oe),Re.message+=`:${Oe}`}throw F("Parser Options:",Ce),F("Parser Path:",Le),F("Settings:",_e),Re.ruleId&&(Re.message+=`
131
- Rule: "${Re.ruleId}"`),Re}return c({language:b,sourceCode:Je,directives:le.disableDirectives,disableFixes:De.disableFixes,problems:pe.messages.sort((Re,Oe)=>Re.line-Oe.line||Re.column-Oe.column),reportUnusedDisableDirectives:De.reportUnusedDisableDirectives})}_verifyWithoutProcessors(Pe,ee,te){const Z=we.get(this),fe=ae(te.filename||"<input>");let De;typeof Pe=="string"?(Z.lastSourceCode=null,De=Pe):(Z.lastSourceCode=Pe,De=Pe.text);const Le=new G(fe,De,{physicalPath:te.physicalFilename});return this.#e(Le,ee,te)}verify(Pe,ee,te){F("Verify");const{configType:Z,cwd:fe}=we.get(this),De=typeof te=="string"?{filename:te}:te||{},Le=ee??{};if(Z!=="eslintrc"){let me=Le;return(!Array.isArray(Le)||typeof Le.getConfig!="function")&&(me=new E(Le,{basePath:fe}),me.normalizeSync()),this._distinguishSuppressedMessages(this._verifyWithFlatConfigArray(Pe,me,De,!0))}return typeof Le.extractConfig=="function"?this._distinguishSuppressedMessages(this._verifyWithConfigArray(Pe,Le,De)):De.preprocess||De.postprocess?this._distinguishSuppressedMessages(this._verifyWithProcessor(Pe,Le,De)):this._distinguishSuppressedMessages(this._verifyWithoutProcessors(Pe,Le,De))}_verifyWithFlatConfigArrayAndProcessor(Pe,ee,te,Z){const fe=we.get(this),De=te.filename||"<input>",Le=ae(De),me=te.physicalFilename||Le,V=ht(Pe),ne=new G(Le,V,{physicalPath:me}),ue=te.preprocess||(ye=>[ye]),Ce=te.postprocess||(ye=>ye.flat()),qe=new H,_e=qe.preprocessSync(ne,{processor:{preprocess:ue,postprocess:Ce}});if(!_e.ok)return _e.errors;const Ke=te.filterCodeBlock||(ye=>ye.endsWith(".js")),Je=a.extname(De),{files:pe}=_e,le=pe.map(ye=>(F("A code block was found: %o",ye.path||"(unnamed)"),typeof ye=="string"?this._verifyWithFlatConfigArrayAndWithoutProcessors(ye,ee,te):Ke(ye.path,ye.body)?Z&&(V!==ye.rawBody||a.extname(ye.path)!==Je)?(F("Resolving configuration again because the file content or extension was changed."),this._verifyWithFlatConfigArray(ye.rawBody,Z,{...te,filename:ye.path,physicalFilename:ye.physicalPath})):(fe.lastSourceCode=null,this.#t(ye,ee,{...te,filename:ye.path,physicalFilename:ye.physicalPath})):(F("This code block was skipped."),[])));return qe.postprocessSync(ne,le,{processor:{preprocess:ue,postprocess:Ce}})}#t(Pe,ee,te){const Z=we.get(this),fe=ee||{},{settings:De={},languageOptions:Le}=fe,me=Ie(te,fe);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:rt(Z.lastSourceCode.ast,Le)}));else{let _e;me.stats&&(_e=S());const Je=new B().parseSync(Pe,fe);if(me.stats){const pe=x(_e);Qe(pe,{type:"parse"},Z)}if(!Je.ok)return Je.errors;Z.lastSourceCode=Je.sourceCode}const V=Z.lastSourceCode,ne=new I({ruleMapper:_e=>fe.getRuleDefinition(_e),language:fe.language,sourceCode:V,disableFixes:me.disableFixes});V.applyLanguageOptions?.(Le);const ue={rules:{}};if(me.allowInlineConfig)if(me.warnInlineConfig)V.getInlineConfigNodes&&V.getInlineConfigNodes().forEach(_e=>{const Ke=V.getLoc(_e),Je=V.getRange(_e);ne.addWarning({message:`'${V.text.slice(Je[0],Je[1])}' has no effect because you have 'noInlineConfig' setting in ${me.warnInlineConfig}.`,loc:Ke})});else{const _e=V.applyInlineConfig?.();if(_e){_e.problems.forEach(Ke=>{ne.addFatal(Ke)});for(const{config:Ke,loc:Je}of _e.configs)Object.keys(Ke.rules).forEach(pe=>{const le=fe.getRuleDefinition(pe),ye=Ke.rules[pe];if(!le){ne.addError({ruleId:pe,loc:Je});return}if(Object.hasOwn(ue.rules,pe)){ne.addError({message:`Rule "${pe}" is already configured by another configuration comment in the preceding code. This configuration is ignored.`,loc:Je});return}try{const Re=se(ye);let Oe=Re;T(pe,Oe[0]);let it=!0;if(Oe.length===1&&fe.rules&&Object.hasOwn(fe.rules,pe))Oe=[Oe[0],...fe.rules[pe].slice(1)],fe.rules[pe][0]>0&&(it=!1);else{const Ge=Oe.slice(1),Ze=A(le.meta?.defaultOptions,Ge);Ze.length&&(Oe=[Oe[0],...Ze])}me.reportUnusedInlineConfigs!=="off"&&de(fe,Je,ne,pe,Oe,Re,me.reportUnusedInlineConfigs),it&&fe.validateRulesConfig({[pe]:Oe}),ue.rules[pe]=Oe}catch(Re){if(Re.code==="ESLINT_INVALID_RULE_OPTIONS_SCHEMA")throw Re;let Oe=Re.message.slice(Re.message.startsWith('Key "rules":')?Re.message.indexOf(":",12)+1:Re.message.indexOf(":")+1).trim();Re.messageTemplate&&(Oe+=` You passed "${ye}".`),ne.addError({ruleId:pe,message:`Inline configuration for rule "${pe}" is invalid:
132
- ${Oe}
133
- `,loc:Je})}})}}const Ce=me.allowInlineConfig&&!me.warnInlineConfig?Te(V,_e=>fe.getRuleDefinition(_e),fe.language,ne):[],qe=Object.assign({},fe.rules,ue.rules);V.finalize?.();try{Xe(V,qe,_e=>fe.getRuleDefinition(_e),void 0,fe.language,Le,De,me.filename,!1,Z.cwd,te.physicalFilename,me.ruleFilter,me.stats,Z,ne)}catch(_e){if(_e.message+=`
134
- Occurred while linting ${me.filename}`,F("An error occurred while traversing"),F("Filename:",me.filename),_e.currentNode){const{line:Ke}=V.getLoc(_e.currentNode).start;F("Line:",Ke),_e.message+=`:${Ke}`}throw F("Parser Options:",Le.parserOptions),F("Settings:",De),_e.ruleId&&(_e.message+=`
135
- Rule: "${_e.ruleId}"`),_e}return c({language:fe.language,sourceCode:V,directives:Ce,disableFixes:me.disableFixes,problems:ne.messages.sort((_e,Ke)=>_e.line-Ke.line||_e.column-Ke.column),reportUnusedDisableDirectives:me.reportUnusedDisableDirectives,ruleFilter:me.ruleFilter,configuredRules:qe})}_verifyWithFlatConfigArrayAndWithoutProcessors(Pe,ee,te){const Z=we.get(this),fe=ae(te.filename||"<input>");let De;typeof Pe=="string"?(Z.lastSourceCode=null,De=Pe):(Z.lastSourceCode=Pe,De=Pe.text);const Le=new G(fe,De,{physicalPath:te.physicalFilename});return this.#t(Le,ee,te)}_verifyWithConfigArray(Pe,ee,te){F("With ConfigArray: %s",te.filename),we.get(this).lastConfigArray=ee;const Z=ee.extractConfig(te.filename),fe=Z.processor&&ee.pluginProcessors.get(Z.processor);if(fe){F("Apply the processor: %o",Z.processor);const{preprocess:De,postprocess:Le,supportsAutofix:me}=fe,V=te.disableFixes||!me;return this._verifyWithProcessor(Pe,Z,{...te,disableFixes:V,postprocess:Le,preprocess:De},ee)}return this._verifyWithoutProcessors(Pe,Z,te)}_verifyWithFlatConfigArray(Pe,ee,te,Z=!1){F("With flat config: %s",te.filename);const fe=te.filename||"__placeholder__.js";we.get(this).lastConfigArray=ee;const De=ee.getConfig(fe);if(!De)return[{ruleId:null,severity:1,message:`No matching configuration found for ${fe}.`,line:0,column:0,nodeType:null}];if(De.processor){F("Apply the processor: %o",De.processor);const{preprocess:Le,postprocess:me,supportsAutofix:V}=De.processor,ne=te.disableFixes||!V;return this._verifyWithFlatConfigArrayAndProcessor(Pe,De,{...te,filename:fe,disableFixes:ne,postprocess:me,preprocess:Le},ee)}return Z&&(te.preprocess||te.postprocess)?this._verifyWithFlatConfigArrayAndProcessor(Pe,De,te):this._verifyWithFlatConfigArrayAndWithoutProcessors(Pe,De,te)}_verifyWithProcessor(Pe,ee,te,Z){const fe=we.get(this),De=te.filename||"<input>",Le=ae(De),me=te.physicalFilename||Le,V=ht(Pe),ne=new G(Le,V,{physicalPath:me}),ue=te.preprocess||(ye=>[ye]),Ce=te.postprocess||(ye=>ye.flat()),qe=new H,_e=qe.preprocessSync(ne,{processor:{preprocess:ue,postprocess:Ce}});if(!_e.ok)return _e.errors;const Ke=te.filterCodeBlock||(ye=>ye.endsWith(".js")),Je=a.extname(De),{files:pe}=_e,le=pe.map(ye=>(F("A code block was found: %o",ye.path??"(unnamed)"),typeof ye=="string"?this._verifyWithoutProcessors(ye,ee,te):Ke(ye.path,ye.body)?Z&&(V!==ye.rawBody||a.extname(ye.path)!==Je)?(F("Resolving configuration again because the file content or extension was changed."),this._verifyWithConfigArray(ye.rawBody,Z,{...te,filename:ye.path,physicalFilename:ye.physicalPath})):(fe.lastSourceCode=null,this.#e(ye,ee,{...te,filename:ye.path,physicalFilename:ye.physicalPath})):(F("This code block was skipped."),[])));return qe.postprocessSync(ne,le,{processor:{preprocess:ue,postprocess:Ce}})}_distinguishSuppressedMessages(Pe){const ee=[],te=[],Z=we.get(this);for(const fe of Pe)fe.suppressions?te.push(fe):ee.push(fe);return Z.lastSuppressedMessages=te,ee}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(Pe,ee){Ee(this),we.get(this).ruleMap.define(Pe,ee)}defineRules(Pe){Ee(this),Object.getOwnPropertyNames(Pe).forEach(ee=>{this.defineRule(ee,Pe[ee])})}getRules(){Ee(this);const{lastConfigArray:Pe,ruleMap:ee}=we.get(this);return new Map(function*(){yield*ee,Pe&&(yield*Pe.pluginRules)}())}defineParser(Pe,ee){Ee(this),we.get(this).parserMap.set(Pe,ee)}verifyAndFix(Pe,ee,te){let Z,fe,De=!1,Le=0,me=Pe,V,ne;const ue=te&&te.filename||`${Pe.slice(0,10)}...`,Ce=te&&typeof te.fix<"u"?te.fix:!0,qe=te?.stats,_e=we.get(this);qe&&(delete _e.times,_e.fixPasses=0);do{Le++;let Ke;qe&&(Ke=S()),F(`Linting code for ${ue} (pass ${Le})`),Z=this.verify(me,ee,te),F(`Generating fixed text for ${ue} (pass ${Le})`);let Je;if(qe&&(Je=S()),fe=f.applyFixes(me,Z,Ce),qe)if(fe.fixed){const pe=x(Je);Qe(pe,{type:"fix"},_e),_e.fixPasses++}else Qe(0,{type:"fix"},_e);if(Z.length===1&&Z[0].fatal)break;if(De=De||fe.fixed,V=ne,ne=me,me=fe.output,qe){Ke=x(Ke);const pe=_e.times.passes.length-1;_e.times.passes[pe].total=Ke}if(Le>1&&me.length===V.length&&me===V){F(`Circular fixes detected after pass ${Le}. Exiting fix loop.`),_e.warningService.emitCircularFixesWarning(te?.filename??"text");break}}while(fe.fixed&&Le<L);if(fe.fixed){let Ke;qe&&(Ke=S()),fe.messages=this.verify(me,ee,te),qe&&(Qe(0,{type:"fix"},_e),_e.times.passes.at(-1).total=x(Ke))}return fe.fixed=De,fe.output=me,fe}}return Sp={Linter:Se,getLinterInternalSlots(ve){return we.get(ve)}},Sp}function hP(){return mP().Linter}var dP=hP();function gP(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var yP={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,"ClipboardChangeEvent":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,"CreateMonitor":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,"IntegrityViolationReportBody":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,"QuotaExceededError":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,"Summarizer":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,"Translator":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,"viewport":false,"Viewport":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},es2026:{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,CreateMonitor:!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,PushSubscriptionChangeEvent:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,QuotaExceededError:!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,CreateMonitor:!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,QuotaExceededError:!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}},bp,m0;function vP(){return m0||(m0=1,bp=yP),bp}var EP=vP(),h0=gP(EP);const SP=new dP,bP={languageOptions:{globals:{...h0.browser,...h0.es2021},parserOptions:{ecmaVersion:2022,sourceType:"module",ecmaFeatures:{jsx:!0}}},rules:{"no-unused-vars":["warn",{argsIgnorePattern:"^_"}],"no-undef":"error",semi:"off"}};function d0(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),l=/\.jsx$/i.test(o);if(!t&&(!l||!0)){self.postMessage({diagnostics:[],requestId:n});return}try{const p=SP.verify(e,bP),u=e.split(`
136
- `),r=p.map(m=>{const i=d0(u,m.line,m.column),c=m.endLine&&m.endColumn?d0(u,m.endLine,m.endColumn):i+(m.fix?.range[1]-m.fix?.range[0]||1);return{from:i,to:c,severity:m.severity===2?"error":m.severity===1?"warning":"info",message:m.message,source:m.ruleId?`eslint(${m.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})}}})();