vzcode 2.14.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.
@@ -0,0 +1,136 @@
1
+ (function(){"use strict";if(!Ln)var Ln=globalThis||window;function Ap(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 Tp(){throw new Error("setTimeout has not been defined")}function kp(){throw new Error("clearTimeout has not been defined")}var yr=Tp,vr=kp;typeof Xt.setTimeout=="function"&&(yr=setTimeout),typeof Xt.clearTimeout=="function"&&(vr=clearTimeout);function Dp(a){if(yr===setTimeout)return setTimeout(a,0);if((yr===Tp||!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 E0(a){if(vr===clearTimeout)return clearTimeout(a);if((vr===kp||!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 S0(){!_r||!xr||(_r=!1,xr.length?mr=xr.concat(mr):cn=-1,mr.length&&Ip())}function Ip(){if(!_r){var a=Dp(S0);_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,E0(a)}}function b0(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 Pp(a,e)),mr.length===1&&!_r&&Dp(Ip)}function Pp(a,e){this.fun=a,this.array=e}Pp.prototype.run=function(){this.fun.apply(null,this.array)};var x0="browser",C0="browser",w0=!0,A0={},T0=[],k0="",D0={},I0={},P0={};function Cr(){}var F0=Cr,R0=Cr,_0=Cr,B0=Cr,L0=Cr,O0=Cr,N0=Cr;function M0(a){throw new Error("process.binding is not supported")}function j0(){return"/"}function U0(a){throw new Error("process.chdir is not supported")}function q0(){return 0}var Br=Xt.performance||{},V0=Br.now||Br.mozNow||Br.msNow||Br.oNow||Br.webkitNow||function(){return new Date().getTime()};function $0(a){var e=V0.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 W0=new Date;function G0(){var a=new Date,e=a-W0;return e/1e3}var Ft={nextTick:b0,title:x0,browser:w0,env:A0,argv:T0,version:k0,versions:D0,on:F0,addListener:R0,once:_0,off:B0,removeListener:L0,removeAllListeners:O0,emit:N0,binding:M0,cwd:j0,chdir:U0,umask:q0,hrtime:$0,platform:C0,release:I0,config:P0,uptime:G0};function Fp(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 z0=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,On=function(a){return z0.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=Fp(jn(a.split("/"),function(t){return!!t}),!e).join("/"),(e?"/":"")+a||"."}function Nn(a){var e=Mn(a),n=K0(a,-1)==="/";return a=Fp(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 Rp(){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 _p(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 Bp="/",Lp=":";function Op(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 Np(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 Mp(a){return On(a)[3]}var H0={extname:Mp,basename:Np,dirname:Op,sep:Bp,delimiter:Lp,relative:_p,join:Rp,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 K0="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)},X0=Object.freeze({__proto__:null,basename:Np,default:H0,delimiter:Lp,dirname:Op,extname:Mp,isAbsolute:Mn,join:Rp,normalize:Nn,relative:_p,resolve:fn,sep:Bp}),pn=Ap(X0),Jt={},Un={},jp;function Up(){return jp||(jp=1,function(a){(function e(n){var o,t,l,p,u,r;function m(x){var v={},A,b;for(A in x)x.hasOwnProperty(A)&&(b=x[A],typeof b=="object"&&b!==null?v[A]=m(b):v[A]=b);return v}function i(x,v){var A,b,w,k;for(b=x.length,w=0;b;)A=b>>>1,k=w+A,v(x[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(x,v){this.parent=x,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 d(x,v,A,b){this.node=x,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 x=this.current();return x.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(x,v){this.visitor=v,this.root=x,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(x){return x==null?!1:typeof x=="object"&&typeof x.type=="string"}function g(x,v){return(x===o.ObjectExpression||x===o.ObjectPattern)&&v==="properties"}function h(x,v){for(var A=x.length-1;A>=0;--A)if(x[A].node===v)return!0;return!1}s.prototype.traverse=function(v,A){var b,w,k,R,F,L,P,O,$,M,_,K;for(this.__initialize(v,A),K={},b=this.__worklist,w=this.__leavelist,b.push(new d(v,null,null,null)),w.push(new d(null,null,null,null));b.length;){if(k=b.pop(),k===K){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(K),w.push(k),this.__state===u||L===u)continue;if(R=k.node,F=R.type||k.wrap,M=this.__keys[F],!M)if(this.__fallback)M=this.__fallback(R);else throw new Error("Unknown node type "+F+".");for(O=M.length;(O-=1)>=0;)if(P=M[O],_=R[P],!!_){if(Array.isArray(_)){for($=_.length;($-=1)>=0;)if(_[$]&&!h(w,_[$])){if(g(F,M[O]))k=new d(_[$],[P,$],"Property",null);else if(f(_[$]))k=new d(_[$],[P,$],null,null);else continue;b.push(k)}}else if(f(_)){if(h(w,_))continue;b.push(new d(_,P,null,null))}}}}},s.prototype.replace=function(v,A){var b,w,k,R,F,L,P,O,$,M,_,K,B;function X(J){var ge,ae,ke,Z;if(J.ref.remove()){for(ae=J.ref.key,Z=J.ref.parent,ge=b.length;ge--;)if(ke=b[ge],ke.ref&&ke.ref.parent===Z){if(ke.ref.key<ae)break;--ke.ref.key}}}for(this.__initialize(v,A),_={},b=this.__worklist,w=this.__leavelist,K={root:v},L=new d(v,null,null,new c(K,"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)&&X(L),this.__state===p||F===p)return K.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)&&(X(L),L.node=null),this.__state===p||F===p)return K.root;if(k=L.node,!!k&&(b.push(_),w.push(L),!(this.__state===u||F===u))){if(R=k.type||L.wrap,$=this.__keys[R],!$)if(this.__fallback)$=this.__fallback(k);else throw new Error("Unknown node type "+R+".");for(P=$.length;(P-=1)>=0;)if(B=$[P],M=k[B],!!M)if(Array.isArray(M)){for(O=M.length;(O-=1)>=0;)if(M[O]){if(g(R,$[P]))L=new d(M[O],[B,O],"Property",new c(M,O));else if(f(M[O]))L=new d(M[O],[B,O],null,new c(M,O));else continue;b.push(L)}}else f(M)&&b.push(new d(M,B,null,new c(k,B)))}}return K.root};function E(x,v){var A=new s;return A.traverse(x,v)}function S(x,v){var A=new s;return A.replace(x,v)}function C(x,v){var A;return A=i(v,function(w){return w.range[0]>x.range[0]}),x.extendedRange=[x.range[0],x.range[1]],A!==v.length&&(x.extendedRange[1]=v[A].range[0]),A-=1,A>=0&&(x.extendedRange[0]=v[A].range[1]),x}function T(x,v,A){var b=[],w,k,R,F;if(!x.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,x.range[0]],b.push(w);x.leadingComments=b}return x}for(R=0,k=v.length;R<k;R+=1)b.push(C(m(v[R]),A));return F=0,E(x,{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(x,{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}}),x}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={},J0="4.3.0",Y0={version:J0},qp;function Q0(){return qp||(qp=1,function(){var a=Up();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=Y0.version,Vr.Visitor=o,Vr.visit=function(t,l,p){var u=new o(l,p);u.visit(t)}}()),Vr}var Vp;function qn(){if(Vp)return Jt;Vp=1,Object.defineProperty(Jt,"__esModule",{value:!0});var a=Up(),e=Q0();function n(Z){return Z&&typeof Z=="object"&&"default"in Z?Z:{default:Z}}var o=n(a),t=n(e);function l(Z,I="Assertion failed."){if(!Z)throw new Error(I)}const p=1,u=2,r=p|u;class m{constructor(I,H,fe,ce,ie,de,xe){this.identifier=I,this.from=H,this.tainted=!1,this.resolved=null,this.flag=fe,this.isWrite()&&(this.writeExpr=ce,this.partial=de,this.init=xe),this.__maybeImplicitGlobal=ie}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,H){this.name=I,this.identifiers=[],this.references=[],this.defs=[],this.tainted=!1,this.stack=!0,this.scope=H}}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,H,fe,ce,ie,de){this.type=I,this.name=H,this.node=fe,this.parent=ce,this.index=ie,this.kind=de}}class d extends c{constructor(I,H,fe,ce){super(i.Parameter,I,H,null,fe,null),this.rest=ce}}const{Syntax:s}=o.default;function f(Z,I,H){let fe;if(Z.upper&&Z.upper.isStrict||H||Z.type==="class"||Z.type==="module")return!0;if(Z.type==="block"||Z.type==="switch")return!1;if(Z.type==="function"){if(I.type===s.ArrowFunctionExpression&&I.body.type!==s.BlockStatement||(I.type===s.Program?fe=I:fe=I.body,!fe))return!1}else if(Z.type==="global")fe=I;else return!1;for(let ce=0,ie=fe.body.length;ce<ie;++ce){const de=fe.body[ce];if(typeof de.directive!="string")break;if(de.directive==="use strict")return!0}return!1}function g(Z,I){Z.scopes.push(I);const H=Z.__nodeToScope.get(I.block);H?H.push(I):Z.__nodeToScope.set(I.block,[I])}function h(Z){return Z.type===i.ClassName||Z.type===i.Variable&&Z.parent.kind!=="var"}class E{constructor(I,H,fe,ce,ie){this.type=H,this.set=new Map,this.taints=new Map,this.dynamic=this.type==="global"||this.type==="with",this.block=ce,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:fe.variableScope,this.functionExpressionScope=!1,this.directCallToEvalScope=!1,this.thisFound=!1,this.__left=[],this.upper=fe,this.isStrict=I.isStrictModeSupported()?f(this,ce,ie):!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 H=I.identifier.name;if(!this.set.has(H))return!1;const ce=this.set.get(H).defs;return ce.length>0&&ce.every(h)}__staticCloseRef(I){this.__resolve(I)||this.__delegateToUpperScope(I)}__dynamicCloseRef(I){let H=this;do H.through.push(I),H=H.upper;while(H)}__globalCloseRef(I){this.__shouldStaticallyCloseForGlobal(I)?this.__staticCloseRef(I):this.__dynamicCloseRef(I)}__close(I){let H;this.__shouldStaticallyClose(I)?H=this.__staticCloseRef:this.type!=="global"?H=this.__dynamicCloseRef:H=this.__globalCloseRef;for(let fe=0,ce=this.__left.length;fe<ce;++fe){const ie=this.__left[fe];H.call(this,ie)}return this.__left=null,this.upper}__isValidResolution(I,H){return!0}__resolve(I){const H=I.identifier.name;if(!this.set.has(H))return!1;const fe=this.set.get(H);return this.__isValidResolution(I,fe)?(fe.references.push(I),fe.stack=fe.stack&&I.from.variableScope===this.variableScope,I.tainted&&(fe.tainted=!0,this.taints.set(fe.name,!0)),I.resolved=fe,!0):!1}__delegateToUpperScope(I){this.upper&&this.upper.__left.push(I),this.through.push(I)}__addDeclaredVariablesOfNode(I,H){if(H==null)return;let fe=this.__declaredVariables.get(H);fe==null&&(fe=[],this.__declaredVariables.set(H,fe)),fe.includes(I)||fe.push(I)}__defineGeneric(I,H,fe,ce,ie){let de;de=H.get(I),de||(de=new i(I,this),H.set(I,de),fe.push(de)),ie&&(de.defs.push(ie),this.__addDeclaredVariablesOfNode(de,ie.node),this.__addDeclaredVariablesOfNode(de,ie.parent)),ce&&de.identifiers.push(ce)}__define(I,H){I&&I.type===s.Identifier&&this.__defineGeneric(I.name,this.set,this.variables,I,H)}__referencing(I,H,fe,ce,ie,de){if(!I||I.type!==s.Identifier&&I.type!=="JSXIdentifier"||I.name==="super")return;const xe=new m(I,this,H||m.READ,fe,ce,!!ie,!!de);this.references.push(xe),this.__left.push(xe)}__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 H,fe,ce;for(l(this.__isClosed(),"Scope should be closed."),l(I.type===s.Identifier,"Target should be identifier."),fe=0,ce=this.references.length;fe<ce;++fe)if(H=this.references[fe],H.identifier===I)return H;return null}isStatic(){return!this.dynamic}isArgumentsMaterialized(){return!0}isThisMaterialized(){return!0}isUsedName(I){if(this.set.has(I))return!0;for(let H=0,fe=this.through.length;H<fe;++H)if(this.through[H].identifier.name===I)return!0;return!1}}class S extends E{constructor(I,H){super(I,"global",null,H,!1),this.implicit={set:new Map,variables:[],left:[]}}__close(I){const H=[];for(let fe=0,ce=this.__left.length;fe<ce;++fe){const ie=this.__left[fe];ie.__maybeImplicitGlobal&&!this.set.has(ie.identifier.name)&&H.push(ie.__maybeImplicitGlobal)}for(let fe=0,ce=H.length;fe<ce;++fe){const ie=H[fe];this.__defineImplicit(ie.pattern,new c(i.ImplicitGlobalVariable,ie.pattern,ie.node,null,null,null))}return this.implicit.left=this.__left,super.__close(I)}__defineImplicit(I,H){I&&I.type===s.Identifier&&this.__defineGeneric(I.name,this.implicit.set,this.implicit.variables,I,H)}}class C extends E{constructor(I,H,fe){super(I,"module",H,fe,!1)}}class T extends E{constructor(I,H,fe){super(I,"function-expression-name",H,fe,!1),this.__define(fe.id,new c(i.FunctionName,fe.id,fe,null,null,null)),this.functionExpressionScope=!0}}class x extends E{constructor(I,H,fe){super(I,"catch",H,fe,!1)}}class v extends E{constructor(I,H,fe){super(I,"with",H,fe,!1)}__close(I){if(this.__shouldStaticallyClose(I))return super.__close(I);for(let H=0,fe=this.__left.length;H<fe;++H){const ce=this.__left[H];ce.tainted=!0,this.__delegateToUpperScope(ce)}return this.__left=null,this.upper}}class A extends E{constructor(I,H,fe){super(I,"block",H,fe,!1)}}class b extends E{constructor(I,H,fe){super(I,"switch",H,fe,!1)}}class w extends E{constructor(I,H,fe,ce){super(I,"function",H,fe,ce),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,H){if(this.block.type==="Program")return!0;const fe=this.block.body.range[0];return!(H.scope===this&&I.identifier.range[0]<fe&&H.defs.every(ce=>ce.name.range[0]>=fe))}}class k extends E{constructor(I,H,fe){super(I,"for",H,fe,!1)}}class R extends E{constructor(I,H,fe){super(I,"class",H,fe,!1)}}class F extends E{constructor(I,H,fe){super(I,"class-field-initializer",H,fe,!0)}}class L extends E{constructor(I,H,fe){super(I,"class-static-block",H,fe,!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,H){function fe(ie){return!(ie.type==="function"&&ie.functionExpressionScope)}const ce=this.__get(I);if(!ce||ce.length===0)return null;if(ce.length===1)return ce[0];if(H)for(let ie=ce.length-1;ie>=0;--ie){const de=ce[ie];if(fe(de))return de}else for(let ie=0,de=ce.length;ie<de;++ie){const xe=ce[ie];if(fe(xe))return xe}return null}acquireAll(I){return this.__get(I)}release(I,H){const fe=this.__get(I);if(fe&&fe.length){const ce=fe[0].upper;return ce?this.acquire(ce.block,H):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,H){return this.__nestScope(new w(this,this.__currentScope,I,H))}__nestForScope(I){return this.__nestScope(new k(this,this.__currentScope,I))}__nestCatchScope(I){return this.__nestScope(new x(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 C(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 $(Z){return Z.at(-1)||null}class M extends t.default.Visitor{static isPattern(I){const H=I.type;return H===O.Identifier||H===O.ObjectPattern||H===O.ArrayPattern||H===O.SpreadElement||H===O.RestElement||H===O.AssignmentPattern}constructor(I,H,fe){super(null,I),this.rootPattern=H,this.callback=fe,this.assignments=[],this.rightHandNodes=[],this.restElements=[]}Identifier(I){const H=$(this.restElements);this.callback(I,{topLevel:I===this.rootPattern,rest:H!=null&&H.argument===I,assignments:this.assignments})}Property(I){I.computed&&this.rightHandNodes.push(I.key),this.visit(I.value)}ArrayPattern(I){for(let H=0,fe=I.elements.length;H<fe;++H){const ce=I.elements[H];this.visit(ce)}}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(H=>{this.rightHandNodes.push(H)}),this.visit(I.callee)}}const{Syntax:_}=o.default;function K(Z,I,H,fe){const ce=new M(Z,I,fe);ce.visit(I),H!=null&&ce.rightHandNodes.forEach(H.visit,H)}class B extends t.default.Visitor{constructor(I,H){super(null,H.options),this.declaration=I,this.referencer=H}visitImport(I,H){this.referencer.visitPattern(I,fe=>{this.referencer.currentScope().__define(fe,new c(i.ImportBinding,fe,H,this.declaration,null,null))})}ImportNamespaceSpecifier(I){const H=I.local||I.id;H&&this.visitImport(H,I)}ImportDefaultSpecifier(I){const H=I.local||I.id;this.visitImport(H,I)}ImportSpecifier(I){const H=I.local||I.id;I.name?this.visitImport(I.name,I):this.visitImport(H,I)}}class X extends t.default.Visitor{constructor(I,H){super(null,I),this.options=I,this.scopeManager=H,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 H=this.isInnerMethodDefinition;return this.isInnerMethodDefinition=I,H}popInnerMethodDefinition(I){this.isInnerMethodDefinition=I}referencingDefaultValue(I,H,fe,ce){const ie=this.currentScope();H.forEach(de=>{ie.__referencing(I,m.WRITE,de.right,fe,I!==de.left,ce)})}visitPattern(I,H,fe){let ce=H,ie=fe;typeof H=="function"&&(ie=H,ce={processRightHandNodes:!1}),K(this.options,I,ce.processRightHandNodes?this:null,ie)}visitFunction(I){let H,fe;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 ce=this;function ie(de,xe){ce.currentScope().__define(de,new d(de,I,H,xe.rest)),ce.referencingDefaultValue(de,xe.assignments,null,!0)}for(H=0,fe=I.params.length;H<fe;++H)this.visitPattern(I.params[H],{processRightHandNodes:!0},ie);I.rest&&this.visitPattern({type:"RestElement",argument:I.rest},de=>{this.currentScope().__define(de,new d(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 H;I.computed&&this.visit(I.key);const fe=I.type===_.MethodDefinition;fe&&(H=this.pushInnerMethodDefinition(!0)),this.visit(I.value),fe&&this.popInnerMethodDefinition(H)}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,H=>{this.currentScope().__referencing(H,m.WRITE,I.right,null,!0,!0)})):this.visitPattern(I.left,{processRightHandNodes:!0},(H,fe)=>{let ce=null;this.currentScope().isStrict||(ce={pattern:H,node:I}),this.referencingDefaultValue(H,fe.assignments,ce,!1),this.currentScope().__referencing(H,m.WRITE,I.right,ce,!0,!1)}),this.visit(I.right),this.visit(I.body),this.close(I)}visitVariableDeclaration(I,H,fe,ce){const ie=fe.declarations[ce],de=ie.init;this.visitPattern(ie.id,{processRightHandNodes:!0},(xe,be)=>{I.__define(xe,new c(H,xe,ie,fe,ce,fe.kind)),this.referencingDefaultValue(xe,be.assignments,null,!0),de&&this.currentScope().__referencing(xe,m.WRITE,de,null,!be.topLevel,!0)})}AssignmentExpression(I){M.isPattern(I.left)?I.operator==="="?this.visitPattern(I.left,{processRightHandNodes:!0},(H,fe)=>{let ce=null;this.currentScope().isStrict||(ce={pattern:H,node:I}),this.referencingDefaultValue(H,fe.assignments,ce,!1),this.currentScope().__referencing(H,m.WRITE,I.right,ce,!fe.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},(H,fe)=>{this.currentScope().__define(H,new c(i.CatchClause,H,I,null,null,null)),this.referencingDefaultValue(H,fe.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){M.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:H,key:fe,value:ce}=I;H&&this.visit(fe),ce&&(this.scopeManager.__nestClassFieldInitializerScope(ce),this.visit(ce),this.close(ce))}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 H=I.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let fe=0,ce=I.declarations.length;fe<ce;++fe){const ie=I.declarations[fe];this.visitVariableDeclaration(H,i.Variable,I,fe),ie.init&&this.visit(ie.init)}}SwitchStatement(I){this.visit(I.discriminant),this.scopeManager.__isES6()&&this.scopeManager.__nestSwitchScope(I);for(let H=0,fe=I.cases.length;H<fe;++H)this.visit(I.cases[H]);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 H=I.id||I.local;this.visit(H)}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 H=I.name;(H.type==="JSXIdentifier"&&H.name[0].toUpperCase()===H.name[0]||H.type==="JSXMemberExpression")&&this.visit(H)}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 J="8.4.0";function ge(){return{optimistic:!1,nodejsScope:!1,impliedStrict:!1,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function ae(Z,I){function H(fe){return typeof fe=="object"&&fe instanceof Object&&!(fe instanceof Array)&&!(fe instanceof RegExp)}for(const fe in I)if(Object.hasOwn(I,fe)){const ce=I[fe];H(ce)?H(Z[fe])?ae(Z[fe],ce):Z[fe]=ae({},ce):Z[fe]=ce}return Z}function ke(Z,I){const H=ae(ge(),I),fe=new P(H);return new X(H,fe).visit(Z),l(fe.__currentScope===null,"currentScope should be null."),fe}return Jt.Definition=c,Jt.PatternVisitor=M,Jt.Reference=m,Jt.Referencer=X,Jt.Scope=E,Jt.ScopeManager=P,Jt.Variable=i,Jt.analyze=ke,Jt.version=J,Jt}var $r={},$p;function Wr(){if($p)return $r;$p=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:{}},Wp;function Vn(){return Wp||(Wp=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+"]"),d=new RegExp("["+p+l+"]");function s(y,D){for(var W=65536,Y=0;Y<D.length;Y+=2){if(W+=D[Y],W>y)return!1;if(W+=D[Y+1],W>=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&&d.test(String.fromCharCode(y)):D===!1?!1:s(y,t)||s(y,o)}var h=function(D,W){W===void 0&&(W={}),this.label=D,this.keyword=W.keyword,this.beforeExpr=!!W.beforeExpr,this.startsExpr=!!W.startsExpr,this.isLoop=!!W.isLoop,this.isAssign=!!W.isAssign,this.prefix=!!W.prefix,this.postfix=!!W.postfix,this.binop=W.binop||null,this.updateContext=null};function E(y,D){return new h(y,{beforeExpr:!0,binop:D})}var S={beforeExpr:!0},C={startsExpr:!0},T={};function x(y,D){return D===void 0&&(D={}),D.keyword=y,T[y]=new h(y,D)}var v={num:new h("num",C),regexp:new h("regexp",C),string:new h("string",C),name:new h("name",C),privateId:new h("privateId",C),eof:new h("eof"),bracketL:new h("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new h("]"),braceL:new h("{",{beforeExpr:!0,startsExpr:!0}),braceR:new h("}"),parenL:new h("(",{beforeExpr:!0,startsExpr:!0}),parenR:new h(")"),comma:new h(",",S),semi:new h(";",S),colon:new h(":",S),dot:new h("."),question:new h("?",S),questionDot:new h("?."),arrow:new h("=>",S),template:new h("template"),invalidTemplate:new h("invalidTemplate"),ellipsis:new h("...",S),backQuote:new h("`",C),dollarBraceL:new h("${",{beforeExpr:!0,startsExpr:!0}),eq:new h("=",{beforeExpr:!0,isAssign:!0}),assign:new h("_=",{beforeExpr:!0,isAssign:!0}),incDec:new h("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new h("!/~",{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 h("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:E("%",10),star:E("*",10),slash:E("/",10),starstar:new h("**",{beforeExpr:!0}),coalesce:E("??",1),_break:x("break"),_case:x("case",S),_catch:x("catch"),_continue:x("continue"),_debugger:x("debugger"),_default:x("default",S),_do:x("do",{isLoop:!0,beforeExpr:!0}),_else:x("else",S),_finally:x("finally"),_for:x("for",{isLoop:!0}),_function:x("function",C),_if:x("if"),_return:x("return",S),_switch:x("switch"),_throw:x("throw",S),_try:x("try"),_var:x("var"),_const:x("const"),_while:x("while",{isLoop:!0}),_with:x("with"),_new:x("new",{beforeExpr:!0,startsExpr:!0}),_this:x("this",C),_super:x("super",C),_class:x("class",C),_extends:x("extends",S),_export:x("export"),_import:x("import",C),_null:x("null",C),_true:x("true",C),_false:x("false",C),_in:x("in",{beforeExpr:!0,binop:7}),_instanceof:x("instanceof",{beforeExpr:!0,binop:7}),_typeof:x("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:x("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:x("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,W){W===void 0&&(W=y.length);for(var Y=D;Y<W;Y++){var ye=y.charCodeAt(Y);if(w(ye))return Y<W-1&&ye===13&&y.charCodeAt(Y+1)===10?Y+2:Y+1}return-1}var R=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,F=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,L=Object.prototype,P=L.hasOwnProperty,O=L.toString,$=Object.hasOwn||function(y,D){return P.call(y,D)},M=Array.isArray||function(y){return O.call(y)==="[object Array]"},_=Object.create(null);function K(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 X=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,J=function(D,W){this.line=D,this.column=W};J.prototype.offset=function(D){return new J(this.line,this.column+D)};var ge=function(D,W,Y){this.start=W,this.end=Y,D.sourceFile!==null&&(this.source=D.sourceFile)};function ae(y,D){for(var W=1,Y=0;;){var ye=k(y,Y,D);if(ye<0)return new J(W,D-Y);++W,Y=ye}}var ke={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},Z=!1;function I(y){var D={};for(var W in ke)D[W]=y&&$(y,W)?y[W]:ke[W];if(D.ecmaVersion==="latest"?D.ecmaVersion=1e8:D.ecmaVersion==null?(!Z&&typeof console=="object"&&console.warn&&(Z=!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),M(D.onToken)){var Y=D.onToken;D.onToken=function(ye){return Y.push(ye)}}return M(D.onComment)&&(D.onComment=H(D,D.onComment)),D}function H(y,D){return function(W,Y,ye,Ne,Me,et){var it={type:W?"Block":"Line",value:Y,start:ye,end:Ne};y.locations&&(it.loc=new ge(this,Me,et)),y.ranges&&(it.range=[ye,Ne]),D.push(it)}}var fe=1,ce=2,ie=4,de=8,xe=16,be=32,Ae=64,ee=128,ne=256,we=512,z=fe|ce|ne;function oe(y,D){return ce|(y?ie:0)|(D?de:0)}var Te=0,Re=1,Pe=2,G=3,Je=4,ut=5,tt=function(D,W,Y){this.options=D=I(D),this.sourceFile=D.sourceFile,this.keywords=K(m[D.ecmaVersion>=6?6:D.sourceType==="module"?"5module":5]);var ye="";D.allowReserved!==!0&&(ye=u[D.ecmaVersion>=6?6:D.ecmaVersion===5?5:3],D.sourceType==="module"&&(ye+=" await")),this.reservedWords=K(ye);var Ne=(ye?ye+" ":"")+u.strict;this.reservedWordsStrict=K(Ne),this.reservedWordsStrictBind=K(Ne+" "+u.strictBind),this.input=String(W),this.containsEsc=!1,Y?(this.pos=Y,this.lineStart=this.input.lastIndexOf(`
3
+ `,Y-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(fe),this.regexpState=null,this.privateNameStack=[]},qe={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}};tt.prototype.parse=function(){var D=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(D)},qe.inFunction.get=function(){return(this.currentVarScope().flags&ce)>0},qe.inGenerator.get=function(){return(this.currentVarScope().flags&de)>0},qe.inAsync.get=function(){return(this.currentVarScope().flags&ie)>0},qe.canAwait.get=function(){for(var y=this.scopeStack.length-1;y>=0;y--){var D=this.scopeStack[y],W=D.flags;if(W&(ne|we))return!1;if(W&ce)return(W&ie)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},qe.allowSuper.get=function(){var y=this.currentThisScope(),D=y.flags;return(D&Ae)>0||this.options.allowSuperOutsideMethod},qe.allowDirectSuper.get=function(){return(this.currentThisScope().flags&ee)>0},qe.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},qe.allowNewDotTarget.get=function(){for(var y=this.scopeStack.length-1;y>=0;y--){var D=this.scopeStack[y],W=D.flags;if(W&(ne|we)||W&ce&&!(W&xe))return!0}return!1},qe.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&ne)>0},tt.extend=function(){for(var D=[],W=arguments.length;W--;)D[W]=arguments[W];for(var Y=this,ye=0;ye<D.length;ye++)Y=D[ye](Y);return Y},tt.parse=function(D,W){return new this(W,D).parse()},tt.parseExpressionAt=function(D,W,Y){var ye=new this(Y,D,W);return ye.nextToken(),ye.parseExpression()},tt.tokenizer=function(D,W){return new this(W,D)},Object.defineProperties(tt.prototype,qe);var We=tt.prototype,st=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;We.strictDirective=function(y){if(this.options.ecmaVersion<5)return!1;for(;;){F.lastIndex=y,y+=F.exec(this.input)[0].length;var D=st.exec(this.input.slice(y));if(!D)return!1;if((D[1]||D[2])==="use strict"){F.lastIndex=y+D[0].length;var W=F.exec(this.input),Y=W.index+W[0].length,ye=this.input.charAt(Y);return ye===";"||ye==="}"||A.test(W[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(ye)||ye==="!"&&this.input.charAt(Y+1)==="=")}y+=D[0].length,F.lastIndex=y,y+=F.exec(this.input)[0].length,this.input[y]===";"&&y++}},We.eat=function(y){return this.type===y?(this.next(),!0):!1},We.isContextual=function(y){return this.type===v.name&&this.value===y&&!this.containsEsc},We.eatContextual=function(y){return this.isContextual(y)?(this.next(),!0):!1},We.expectContextual=function(y){this.eatContextual(y)||this.unexpected()},We.canInsertSemicolon=function(){return this.type===v.eof||this.type===v.braceR||A.test(this.input.slice(this.lastTokEnd,this.start))},We.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},We.semicolon=function(){!this.eat(v.semi)&&!this.insertSemicolon()&&this.unexpected()},We.afterTrailingComma=function(y,D){if(this.type===y)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),D||this.next(),!0},We.expect=function(y){this.eat(y)||this.unexpected()},We.unexpected=function(y){this.raise(y??this.start,"Unexpected token")};var mt=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};We.checkPatternErrors=function(y,D){if(y){y.trailingComma>-1&&this.raiseRecoverable(y.trailingComma,"Comma is not permitted after the rest element");var W=D?y.parenthesizedAssign:y.parenthesizedBind;W>-1&&this.raiseRecoverable(W,D?"Assigning to rvalue":"Parenthesized pattern")}},We.checkExpressionErrors=function(y,D){if(!y)return!1;var W=y.shorthandAssign,Y=y.doubleProto;if(!D)return W>=0||Y>=0;W>=0&&this.raise(W,"Shorthand property assignments are valid only in destructuring patterns"),Y>=0&&this.raiseRecoverable(Y,"Redefinition of __proto__ property")},We.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")},We.isSimpleAssignTarget=function(y){return y.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(y.expression):y.type==="Identifier"||y.type==="MemberExpression"};var rt=tt.prototype;rt.parseTopLevel=function(y){var D=Object.create(null);for(y.body||(y.body=[]);this.type!==v.eof;){var W=this.parseStatement(null,!0,D);y.body.push(W)}if(this.inModule)for(var Y=0,ye=Object.keys(this.undefinedExports);Y<ye.length;Y+=1){var Ne=ye[Y];this.raiseRecoverable(this.undefinedExports[Ne].start,"Export '"+Ne+"' is not defined")}return this.adaptDirectivePrologue(y.body),this.next(),y.sourceType=this.options.sourceType,this.finishNode(y,"Program")};var Qe={kind:"loop"},Et={kind:"switch"};rt.isLet=function(y){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;F.lastIndex=this.pos;var D=F.exec(this.input),W=this.pos+D[0].length,Y=this.input.charCodeAt(W);if(Y===91||Y===92)return!0;if(y)return!1;if(Y===123||Y>55295&&Y<56320)return!0;if(f(Y,!0)){for(var ye=W+1;g(Y=this.input.charCodeAt(ye),!0);)++ye;if(Y===92||Y>55295&&Y<56320)return!0;var Ne=this.input.slice(W,ye);if(!i.test(Ne))return!0}return!1},rt.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,W;return!A.test(this.input.slice(this.pos,D))&&this.input.slice(D,D+8)==="function"&&(D+8===this.input.length||!(g(W=this.input.charCodeAt(D+8))||W>55295&&W<56320))},rt.isUsingKeyword=function(y,D){if(this.options.ecmaVersion<17||!this.isContextual(y?"await":"using"))return!1;F.lastIndex=this.pos;var W=F.exec(this.input),Y=this.pos+W[0].length;if(A.test(this.input.slice(this.pos,Y)))return!1;if(y){var ye=Y+5,Ne;if(this.input.slice(Y,ye)!=="using"||ye===this.input.length||g(Ne=this.input.charCodeAt(ye))||Ne>55295&&Ne<56320)return!1;F.lastIndex=ye;var Me=F.exec(this.input);if(Me&&A.test(this.input.slice(ye,ye+Me[0].length)))return!1}if(D){var et=Y+2,it;if(this.input.slice(Y,et)==="of"&&(et===this.input.length||!g(it=this.input.charCodeAt(et))&&!(it>55295&&it<56320)))return!1}var dt=this.input.charCodeAt(Y);return f(dt,!0)||dt===92},rt.isAwaitUsing=function(y){return this.isUsingKeyword(!0,y)},rt.isUsing=function(y){return this.isUsingKeyword(!1,y)},rt.parseStatement=function(y,D,W){var Y=this.type,ye=this.startNode(),Ne;switch(this.isLet(y)&&(Y=v._var,Ne="let"),Y){case v._break:case v._continue:return this.parseBreakContinueStatement(ye,Y.keyword);case v._debugger:return this.parseDebuggerStatement(ye);case v._do:return this.parseDoStatement(ye);case v._for:return this.parseForStatement(ye);case v._function:return y&&(this.strict||y!=="if"&&y!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(ye,!1,!y);case v._class:return y&&this.unexpected(),this.parseClass(ye,!0);case v._if:return this.parseIfStatement(ye);case v._return:return this.parseReturnStatement(ye);case v._switch:return this.parseSwitchStatement(ye);case v._throw:return this.parseThrowStatement(ye);case v._try:return this.parseTryStatement(ye);case v._const:case v._var:return Ne=Ne||this.value,y&&Ne!=="var"&&this.unexpected(),this.parseVarStatement(ye,Ne);case v._while:return this.parseWhileStatement(ye);case v._with:return this.parseWithStatement(ye);case v.braceL:return this.parseBlock(!0,ye);case v.semi:return this.parseEmptyStatement(ye);case v._export:case v._import:if(this.options.ecmaVersion>10&&Y===v._import){F.lastIndex=this.pos;var Me=F.exec(this.input),et=this.pos+Me[0].length,it=this.input.charCodeAt(et);if(it===40||it===46)return this.parseExpressionStatement(ye,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'")),Y===v._import?this.parseImport(ye):this.parseExport(ye,W);default:if(this.isAsyncFunction())return y&&this.unexpected(),this.next(),this.parseFunctionStatement(ye,!0,!y);var dt=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(dt)return D&&this.options.sourceType==="script"&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),dt==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(ye,!1,dt),this.semicolon(),this.finishNode(ye,"VariableDeclaration");var yt=this.value,At=this.parseExpression();return Y===v.name&&At.type==="Identifier"&&this.eat(v.colon)?this.parseLabeledStatement(ye,yt,At,y):this.parseExpressionStatement(ye,At)}},rt.parseBreakContinueStatement=function(y,D){var W=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 Y=0;Y<this.labels.length;++Y){var ye=this.labels[Y];if((y.label==null||ye.name===y.label.name)&&(ye.kind!=null&&(W||ye.kind==="loop")||y.label&&W))break}return Y===this.labels.length&&this.raise(y.start,"Unsyntactic "+D),this.finishNode(y,W?"BreakStatement":"ContinueStatement")},rt.parseDebuggerStatement=function(y){return this.next(),this.semicolon(),this.finishNode(y,"DebuggerStatement")},rt.parseDoStatement=function(y){return this.next(),this.labels.push(Qe),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")},rt.parseForStatement=function(y){this.next();var D=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Qe),this.enterScope(0),this.expect(v.parenL),this.type===v.semi)return D>-1&&this.unexpected(D),this.parseFor(y,null);var W=this.isLet();if(this.type===v._var||this.type===v._const||W){var Y=this.startNode(),ye=W?"let":this.value;return this.next(),this.parseVar(Y,!0,ye),this.finishNode(Y,"VariableDeclaration"),this.parseForAfterInit(y,Y,D)}var Ne=this.isContextual("let"),Me=!1,et=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(et){var it=this.startNode();return this.next(),et==="await using"&&this.next(),this.parseVar(it,!0,et),this.finishNode(it,"VariableDeclaration"),this.parseForAfterInit(y,it,D)}var dt=this.containsEsc,yt=new mt,At=this.start,Ut=D>-1?this.parseExprSubscripts(yt,"await"):this.parseExpression(!0,yt);return this.type===v._in||(Me=this.options.ecmaVersion>=6&&this.isContextual("of"))?(D>-1?(this.type===v._in&&this.unexpected(D),y.await=!0):Me&&this.options.ecmaVersion>=8&&(Ut.start===At&&!dt&&Ut.type==="Identifier"&&Ut.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(y.await=!1)),Ne&&Me&&this.raise(Ut.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(Ut,!1,yt),this.checkLValPattern(Ut),this.parseForIn(y,Ut)):(this.checkExpressionErrors(yt,!0),D>-1&&this.unexpected(D),this.parseFor(y,Ut))},rt.parseForAfterInit=function(y,D,W){return(this.type===v._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&D.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===v._in?W>-1&&this.unexpected(W):y.await=W>-1),this.parseForIn(y,D)):(W>-1&&this.unexpected(W),this.parseFor(y,D))},rt.parseFunctionStatement=function(y,D,W){return this.next(),this.parseFunction(y,xt|(W?0:Ke),!1,D)},rt.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")},rt.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")},rt.parseSwitchStatement=function(y){this.next(),y.discriminant=this.parseParenExpression(),y.cases=[],this.expect(v.braceL),this.labels.push(Et),this.enterScope(0);for(var D,W=!1;this.type!==v.braceR;)if(this.type===v._case||this.type===v._default){var Y=this.type===v._case;D&&this.finishNode(D,"SwitchCase"),y.cases.push(D=this.startNode()),D.consequent=[],this.next(),Y?D.test=this.parseExpression():(W&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),W=!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")},rt.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 Ze=[];rt.parseCatchClauseParam=function(){var y=this.parseBindingAtom(),D=y.type==="Identifier";return this.enterScope(D?be:0),this.checkLValPattern(y,D?Je:Pe),this.expect(v.parenR),y},rt.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")},rt.parseVarStatement=function(y,D,W){return this.next(),this.parseVar(y,!1,D,W),this.semicolon(),this.finishNode(y,"VariableDeclaration")},rt.parseWhileStatement=function(y){return this.next(),y.test=this.parseParenExpression(),this.labels.push(Qe),y.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(y,"WhileStatement")},rt.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")},rt.parseEmptyStatement=function(y){return this.next(),this.finishNode(y,"EmptyStatement")},rt.parseLabeledStatement=function(y,D,W,Y){for(var ye=0,Ne=this.labels;ye<Ne.length;ye+=1){var Me=Ne[ye];Me.name===D&&this.raise(W.start,"Label '"+D+"' is already declared")}for(var et=this.type.isLoop?"loop":this.type===v._switch?"switch":null,it=this.labels.length-1;it>=0;it--){var dt=this.labels[it];if(dt.statementStart===y.start)dt.statementStart=this.start,dt.kind=et;else break}return this.labels.push({name:D,kind:et,statementStart:this.start}),y.body=this.parseStatement(Y?Y.indexOf("label")===-1?Y+"label":Y:"label"),this.labels.pop(),y.label=W,this.finishNode(y,"LabeledStatement")},rt.parseExpressionStatement=function(y,D){return y.expression=D,this.semicolon(),this.finishNode(y,"ExpressionStatement")},rt.parseBlock=function(y,D,W){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 Y=this.parseStatement(null);D.body.push(Y)}return W&&(this.strict=!1),this.next(),y&&this.exitScope(),this.finishNode(D,"BlockStatement")},rt.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")},rt.parseForIn=function(y,D){var W=this.type===v._in;return this.next(),D.type==="VariableDeclaration"&&D.declarations[0].init!=null&&(!W||this.options.ecmaVersion<8||this.strict||D.kind!=="var"||D.declarations[0].id.type!=="Identifier")&&this.raise(D.start,(W?"for-in":"for-of")+" loop variable declaration may not have an initializer"),y.left=D,y.right=W?this.parseExpression():this.parseMaybeAssign(),this.expect(v.parenR),y.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(y,W?"ForInStatement":"ForOfStatement")},rt.parseVar=function(y,D,W,Y){for(y.declarations=[],y.kind=W;;){var ye=this.startNode();if(this.parseVarId(ye,W),this.eat(v.eq)?ye.init=this.parseMaybeAssign(D):!Y&&W==="const"&&!(this.type===v._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!Y&&(W==="using"||W==="await using")&&this.options.ecmaVersion>=17&&this.type!==v._in&&!this.isContextual("of")?this.raise(this.lastTokEnd,"Missing initializer in "+W+" declaration"):!Y&&ye.id.type!=="Identifier"&&!(D&&(this.type===v._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):ye.init=null,y.declarations.push(this.finishNode(ye,"VariableDeclarator")),!this.eat(v.comma))break}return y},rt.parseVarId=function(y,D){y.id=D==="using"||D==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(y.id,D==="var"?Re:Pe,!1)};var xt=1,Ke=2,$e=4;rt.parseFunction=function(y,D,W,Y,ye){this.initFunction(y),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!Y)&&(this.type===v.star&&D&Ke&&this.unexpected(),y.generator=this.eat(v.star)),this.options.ecmaVersion>=8&&(y.async=!!Y),D&xt&&(y.id=D&$e&&this.type!==v.name?null:this.parseIdent(),y.id&&!(D&Ke)&&this.checkLValSimple(y.id,this.strict||y.generator||y.async?this.treatFunctionsAsVar?Re:Pe:G));var Ne=this.yieldPos,Me=this.awaitPos,et=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(oe(y.async,y.generator)),D&xt||(y.id=this.type===v.name?this.parseIdent():null),this.parseFunctionParams(y),this.parseFunctionBody(y,W,!1,ye),this.yieldPos=Ne,this.awaitPos=Me,this.awaitIdentPos=et,this.finishNode(y,D&xt?"FunctionDeclaration":"FunctionExpression")},rt.parseFunctionParams=function(y){this.expect(v.parenL),y.params=this.parseBindingList(v.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},rt.parseClass=function(y,D){this.next();var W=this.strict;this.strict=!0,this.parseClassId(y,D),this.parseClassSuper(y);var Y=this.enterClassBody(),ye=this.startNode(),Ne=!1;for(ye.body=[],this.expect(v.braceL);this.type!==v.braceR;){var Me=this.parseClassElement(y.superClass!==null);Me&&(ye.body.push(Me),Me.type==="MethodDefinition"&&Me.kind==="constructor"?(Ne&&this.raiseRecoverable(Me.start,"Duplicate constructor in the same class"),Ne=!0):Me.key&&Me.key.type==="PrivateIdentifier"&&Ee(Y,Me)&&this.raiseRecoverable(Me.key.start,"Identifier '#"+Me.key.name+"' has already been declared"))}return this.strict=W,this.next(),y.body=this.finishNode(ye,"ClassBody"),this.exitClassBody(),this.finishNode(y,D?"ClassDeclaration":"ClassExpression")},rt.parseClassElement=function(y){if(this.eat(v.semi))return null;var D=this.options.ecmaVersion,W=this.startNode(),Y="",ye=!1,Ne=!1,Me="method",et=!1;if(this.eatContextual("static")){if(D>=13&&this.eat(v.braceL))return this.parseClassStaticBlock(W),W;this.isClassElementNameStart()||this.type===v.star?et=!0:Y="static"}if(W.static=et,!Y&&D>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===v.star)&&!this.canInsertSemicolon()?Ne=!0:Y="async"),!Y&&(D>=9||!Ne)&&this.eat(v.star)&&(ye=!0),!Y&&!Ne&&!ye){var it=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?Me=it:Y=it)}if(Y?(W.computed=!1,W.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),W.key.name=Y,this.finishNode(W.key,"Identifier")):this.parseClassElementName(W),D<13||this.type===v.parenL||Me!=="method"||ye||Ne){var dt=!W.static&&j(W,"constructor"),yt=dt&&y;dt&&Me!=="method"&&this.raise(W.key.start,"Constructor can't have get/set modifier"),W.kind=dt?"constructor":Me,this.parseClassMethod(W,ye,Ne,yt)}else this.parseClassField(W);return W},rt.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},rt.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)},rt.parseClassMethod=function(y,D,W,Y){var ye=y.key;y.kind==="constructor"?(D&&this.raise(ye.start,"Constructor can't be a generator"),W&&this.raise(ye.start,"Constructor can't be an async method")):y.static&&j(y,"prototype")&&this.raise(ye.start,"Classes may not have a static property named prototype");var Ne=y.value=this.parseMethod(D,W,Y);return y.kind==="get"&&Ne.params.length!==0&&this.raiseRecoverable(Ne.start,"getter should have no params"),y.kind==="set"&&Ne.params.length!==1&&this.raiseRecoverable(Ne.start,"setter should have exactly one param"),y.kind==="set"&&Ne.params[0].type==="RestElement"&&this.raiseRecoverable(Ne.params[0].start,"Setter cannot use rest params"),this.finishNode(y,"MethodDefinition")},rt.parseClassField=function(y){return j(y,"constructor")?this.raise(y.key.start,"Classes can't have a field named 'constructor'"):y.static&&j(y,"prototype")&&this.raise(y.key.start,"Classes can't have a static field named 'prototype'"),this.eat(v.eq)?(this.enterScope(we|Ae),y.value=this.parseMaybeAssign(),this.exitScope()):y.value=null,this.semicolon(),this.finishNode(y,"PropertyDefinition")},rt.parseClassStaticBlock=function(y){y.body=[];var D=this.labels;for(this.labels=[],this.enterScope(ne|Ae);this.type!==v.braceR;){var W=this.parseStatement(null);y.body.push(W)}return this.next(),this.exitScope(),this.labels=D,this.finishNode(y,"StaticBlock")},rt.parseClassId=function(y,D){this.type===v.name?(y.id=this.parseIdent(),D&&this.checkLValSimple(y.id,Pe,!1)):(D===!0&&this.unexpected(),y.id=null)},rt.parseClassSuper=function(y){y.superClass=this.eat(v._extends)?this.parseExprSubscripts(null,!1):null},rt.enterClassBody=function(){var y={declared:Object.create(null),used:[]};return this.privateNameStack.push(y),y.declared},rt.exitClassBody=function(){var y=this.privateNameStack.pop(),D=y.declared,W=y.used;if(this.options.checkPrivateFields)for(var Y=this.privateNameStack.length,ye=Y===0?null:this.privateNameStack[Y-1],Ne=0;Ne<W.length;++Ne){var Me=W[Ne];$(D,Me.name)||(ye?ye.used.push(Me):this.raiseRecoverable(Me.start,"Private field '#"+Me.name+"' must be declared in an enclosing class"))}};function Ee(y,D){var W=D.key.name,Y=y[W],ye="true";return D.type==="MethodDefinition"&&(D.kind==="get"||D.kind==="set")&&(ye=(D.static?"s":"i")+D.kind),Y==="iget"&&ye==="iset"||Y==="iset"&&ye==="iget"||Y==="sget"&&ye==="sset"||Y==="sset"&&ye==="sget"?(y[W]="true",!1):Y?!0:(y[W]=ye,!1)}function j(y,D){var W=y.computed,Y=y.key;return!W&&(Y.type==="Identifier"&&Y.name===D||Y.type==="Literal"&&Y.value===D)}rt.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")},rt.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 W=0,Y=y.specifiers;W<Y.length;W+=1){var ye=Y[W];this.checkUnreserved(ye.local),this.checkLocalExport(ye.local),ye.local.type==="Literal"&&this.raise(ye.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")},rt.parseExportDeclaration=function(y){return this.parseStatement(null)},rt.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,xt|$e,!1,y)}else if(this.type===v._class){var W=this.startNode();return this.parseClass(W,"nullableID")}else{var Y=this.parseMaybeAssign();return this.semicolon(),Y}},rt.checkExport=function(y,D,W){y&&(typeof D!="string"&&(D=D.type==="Identifier"?D.name:D.value),$(y,D)&&this.raiseRecoverable(W,"Duplicate export '"+D+"'"),y[D]=!0)},rt.checkPatternExport=function(y,D){var W=D.type;if(W==="Identifier")this.checkExport(y,D,D.start);else if(W==="ObjectPattern")for(var Y=0,ye=D.properties;Y<ye.length;Y+=1){var Ne=ye[Y];this.checkPatternExport(y,Ne)}else if(W==="ArrayPattern")for(var Me=0,et=D.elements;Me<et.length;Me+=1){var it=et[Me];it&&this.checkPatternExport(y,it)}else W==="Property"?this.checkPatternExport(y,D.value):W==="AssignmentPattern"?this.checkPatternExport(y,D.left):W==="RestElement"&&this.checkPatternExport(y,D.argument)},rt.checkVariableExport=function(y,D){if(y)for(var W=0,Y=D;W<Y.length;W+=1){var ye=Y[W];this.checkPatternExport(y,ye.id)}},rt.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},rt.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")},rt.parseExportSpecifiers=function(y){var D=[],W=!0;for(this.expect(v.braceL);!this.eat(v.braceR);){if(W)W=!1;else if(this.expect(v.comma),this.afterTrailingComma(v.braceR))break;D.push(this.parseExportSpecifier(y))}return D},rt.parseImport=function(y){return this.next(),this.type===v.string?(y.specifiers=Ze,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")},rt.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,Pe),this.finishNode(y,"ImportSpecifier")},rt.parseImportDefaultSpecifier=function(){var y=this.startNode();return y.local=this.parseIdent(),this.checkLValSimple(y.local,Pe),this.finishNode(y,"ImportDefaultSpecifier")},rt.parseImportNamespaceSpecifier=function(){var y=this.startNode();return this.next(),this.expectContextual("as"),y.local=this.parseIdent(),this.checkLValSimple(y.local,Pe),this.finishNode(y,"ImportNamespaceSpecifier")},rt.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},rt.parseWithClause=function(){var y=[];if(!this.eat(v._with))return y;this.expect(v.braceL);for(var D={},W=!0;!this.eat(v.braceR);){if(W)W=!1;else if(this.expect(v.comma),this.afterTrailingComma(v.braceR))break;var Y=this.parseImportAttribute(),ye=Y.key.type==="Identifier"?Y.key.name:Y.key.value;$(D,ye)&&this.raiseRecoverable(Y.key.start,"Duplicate attribute key '"+ye+"'"),D[ye]=!0,y.push(Y)}return y},rt.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")},rt.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===v.string){var y=this.parseLiteral(this.value);return X.test(y.value)&&this.raise(y.start,"An export name cannot include a lone surrogate."),y}return this.parseIdent(!0)},rt.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)},rt.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 U=tt.prototype;U.toAssignable=function(y,D,W){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",W&&this.checkPatternErrors(W,!0);for(var Y=0,ye=y.properties;Y<ye.length;Y+=1){var Ne=ye[Y];this.toAssignable(Ne,D),Ne.type==="RestElement"&&(Ne.argument.type==="ArrayPattern"||Ne.argument.type==="ObjectPattern")&&this.raise(Ne.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",W&&this.checkPatternErrors(W,!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,W);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 W&&this.checkPatternErrors(W,!0);return y},U.toAssignableList=function(y,D){for(var W=y.length,Y=0;Y<W;Y++){var ye=y[Y];ye&&this.toAssignable(ye,D)}if(W){var Ne=y[W-1];this.options.ecmaVersion===6&&D&&Ne&&Ne.type==="RestElement"&&Ne.argument.type!=="Identifier"&&this.unexpected(Ne.argument.start)}return y},U.parseSpread=function(y){var D=this.startNode();return this.next(),D.argument=this.parseMaybeAssign(!1,y),this.finishNode(D,"SpreadElement")},U.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")},U.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()},U.parseBindingList=function(y,D,W,Y){for(var ye=[],Ne=!0;!this.eat(y);)if(Ne?Ne=!1:this.expect(v.comma),D&&this.type===v.comma)ye.push(null);else{if(W&&this.afterTrailingComma(y))break;if(this.type===v.ellipsis){var Me=this.parseRestBinding();this.parseBindingListItem(Me),ye.push(Me),this.type===v.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(y);break}else ye.push(this.parseAssignableListItem(Y))}return ye},U.parseAssignableListItem=function(y){var D=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(D),D},U.parseBindingListItem=function(y){return y},U.parseMaybeDefault=function(y,D,W){if(W=W||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(v.eq))return W;var Y=this.startNodeAt(y,D);return Y.left=W,Y.right=this.parseMaybeAssign(),this.finishNode(Y,"AssignmentPattern")},U.checkLValSimple=function(y,D,W){D===void 0&&(D=Te);var Y=D!==Te;switch(y.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(y.name)&&this.raiseRecoverable(y.start,(Y?"Binding ":"Assigning to ")+y.name+" in strict mode"),Y&&(D===Pe&&y.name==="let"&&this.raiseRecoverable(y.start,"let is disallowed as a lexically bound name"),W&&($(W,y.name)&&this.raiseRecoverable(y.start,"Argument name clash"),W[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":Y&&this.raiseRecoverable(y.start,"Binding member expression");break;case"ParenthesizedExpression":return Y&&this.raiseRecoverable(y.start,"Binding parenthesized expression"),this.checkLValSimple(y.expression,D,W);default:this.raise(y.start,(Y?"Binding":"Assigning to")+" rvalue")}},U.checkLValPattern=function(y,D,W){switch(D===void 0&&(D=Te),y.type){case"ObjectPattern":for(var Y=0,ye=y.properties;Y<ye.length;Y+=1){var Ne=ye[Y];this.checkLValInnerPattern(Ne,D,W)}break;case"ArrayPattern":for(var Me=0,et=y.elements;Me<et.length;Me+=1){var it=et[Me];it&&this.checkLValInnerPattern(it,D,W)}break;default:this.checkLValSimple(y,D,W)}},U.checkLValInnerPattern=function(y,D,W){switch(D===void 0&&(D=Te),y.type){case"Property":this.checkLValInnerPattern(y.value,D,W);break;case"AssignmentPattern":this.checkLValPattern(y.left,D,W);break;case"RestElement":this.checkLValPattern(y.argument,D,W);break;default:this.checkLValPattern(y,D,W)}};var V=function(D,W,Y,ye,Ne){this.token=D,this.isExpr=!!W,this.preserveSpace=!!Y,this.override=ye,this.generator=!!Ne},Q={b_stat:new V("{",!1),b_expr:new V("{",!0),b_tmpl:new V("${",!1),p_stat:new V("(",!1),p_expr:new V("(",!0),q_tmpl:new V("`",!0,!0,function(y){return y.tryReadTemplateToken()}),f_stat:new V("function",!1),f_expr:new V("function",!0),f_expr_gen:new V("function",!0,!1,null,!0),f_gen:new V("function",!1,!1,null,!0)},le=tt.prototype;le.initialContext=function(){return[Q.b_stat]},le.curContext=function(){return this.context[this.context.length-1]},le.braceIsBlock=function(y){var D=this.curContext();return D===Q.f_expr||D===Q.f_stat?!0:y===v.colon&&(D===Q.b_stat||D===Q.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===Q.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,W=this.type;W.keyword&&y===v.dot?this.exprAllowed=!1:(D=W.updateContext)?D.call(this,y):this.exprAllowed=W.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===Q.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)?Q.b_stat:Q.b_expr),this.exprAllowed=!0},v.dollarBraceL.updateContext=function(){this.context.push(Q.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?Q.p_stat:Q.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()!==Q.p_stat)&&!(y===v._return&&A.test(this.input.slice(this.lastTokEnd,this.start)))&&!((y===v.colon||y===v.braceL)&&this.curContext()===Q.b_stat)?this.context.push(Q.f_expr):this.context.push(Q.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()===Q.q_tmpl?this.context.pop():this.context.push(Q.q_tmpl),this.exprAllowed=!1},v.star.updateContext=function(y){if(y===v._function){var D=this.context.length-1;this.context[D]===Q.f_expr?this.context[D]=Q.f_expr_gen:this.context[D]=Q.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 te=tt.prototype;te.checkPropClash=function(y,D,W){if(!(this.options.ecmaVersion>=9&&y.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(y.computed||y.method||y.shorthand))){var Y=y.key,ye;switch(Y.type){case"Identifier":ye=Y.name;break;case"Literal":ye=String(Y.value);break;default:return}var Ne=y.kind;if(this.options.ecmaVersion>=6){ye==="__proto__"&&Ne==="init"&&(D.proto&&(W?W.doubleProto<0&&(W.doubleProto=Y.start):this.raiseRecoverable(Y.start,"Redefinition of __proto__ property")),D.proto=!0);return}ye="$"+ye;var Me=D[ye];if(Me){var et;Ne==="init"?et=this.strict&&Me.init||Me.get||Me.set:et=Me.init||Me[Ne],et&&this.raiseRecoverable(Y.start,"Redefinition of property")}else Me=D[ye]={init:!1,get:!1,set:!1};Me[Ne]=!0}},te.parseExpression=function(y,D){var W=this.start,Y=this.startLoc,ye=this.parseMaybeAssign(y,D);if(this.type===v.comma){var Ne=this.startNodeAt(W,Y);for(Ne.expressions=[ye];this.eat(v.comma);)Ne.expressions.push(this.parseMaybeAssign(y,D));return this.finishNode(Ne,"SequenceExpression")}return ye},te.parseMaybeAssign=function(y,D,W){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(y);this.exprAllowed=!1}var Y=!1,ye=-1,Ne=-1,Me=-1;D?(ye=D.parenthesizedAssign,Ne=D.trailingComma,Me=D.doubleProto,D.parenthesizedAssign=D.trailingComma=-1):(D=new mt,Y=!0);var et=this.start,it=this.startLoc;(this.type===v.parenL||this.type===v.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=y==="await");var dt=this.parseMaybeConditional(y,D);if(W&&(dt=W.call(this,dt,et,it)),this.type.isAssign){var yt=this.startNodeAt(et,it);return yt.operator=this.value,this.type===v.eq&&(dt=this.toAssignable(dt,!1,D)),Y||(D.parenthesizedAssign=D.trailingComma=D.doubleProto=-1),D.shorthandAssign>=dt.start&&(D.shorthandAssign=-1),this.type===v.eq?this.checkLValPattern(dt):this.checkLValSimple(dt),yt.left=dt,this.next(),yt.right=this.parseMaybeAssign(y),Me>-1&&(D.doubleProto=Me),this.finishNode(yt,"AssignmentExpression")}else Y&&this.checkExpressionErrors(D,!0);return ye>-1&&(D.parenthesizedAssign=ye),Ne>-1&&(D.trailingComma=Ne),dt},te.parseMaybeConditional=function(y,D){var W=this.start,Y=this.startLoc,ye=this.parseExprOps(y,D);if(this.checkExpressionErrors(D))return ye;if(this.eat(v.question)){var Ne=this.startNodeAt(W,Y);return Ne.test=ye,Ne.consequent=this.parseMaybeAssign(),this.expect(v.colon),Ne.alternate=this.parseMaybeAssign(y),this.finishNode(Ne,"ConditionalExpression")}return ye},te.parseExprOps=function(y,D){var W=this.start,Y=this.startLoc,ye=this.parseMaybeUnary(D,!1,!1,y);return this.checkExpressionErrors(D)||ye.start===W&&ye.type==="ArrowFunctionExpression"?ye:this.parseExprOp(ye,W,Y,-1,y)},te.parseExprOp=function(y,D,W,Y,ye){var Ne=this.type.binop;if(Ne!=null&&(!ye||this.type!==v._in)&&Ne>Y){var Me=this.type===v.logicalOR||this.type===v.logicalAND,et=this.type===v.coalesce;et&&(Ne=v.logicalAND.binop);var it=this.value;this.next();var dt=this.start,yt=this.startLoc,At=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,ye),dt,yt,Ne,ye),Ut=this.buildBinary(D,W,y,At,it,Me||et);return(Me&&this.type===v.coalesce||et&&(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,W,Y,ye)}return y},te.buildBinary=function(y,D,W,Y,ye,Ne){Y.type==="PrivateIdentifier"&&this.raise(Y.start,"Private identifier can only be left side of binary expression");var Me=this.startNodeAt(y,D);return Me.left=W,Me.operator=ye,Me.right=Y,this.finishNode(Me,Ne?"LogicalExpression":"BinaryExpression")},te.parseMaybeUnary=function(y,D,W,Y){var ye=this.start,Ne=this.startLoc,Me;if(this.isContextual("await")&&this.canAwait)Me=this.parseAwait(Y),D=!0;else if(this.type.prefix){var et=this.startNode(),it=this.type===v.incDec;et.operator=this.value,et.prefix=!0,this.next(),et.argument=this.parseMaybeUnary(null,!0,it,Y),this.checkExpressionErrors(y,!0),it?this.checkLValSimple(et.argument):this.strict&&et.operator==="delete"&&q(et.argument)?this.raiseRecoverable(et.start,"Deleting local variable in strict mode"):et.operator==="delete"&&se(et.argument)?this.raiseRecoverable(et.start,"Private fields can not be deleted"):D=!0,Me=this.finishNode(et,it?"UpdateExpression":"UnaryExpression")}else if(!D&&this.type===v.privateId)(Y||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),Me=this.parsePrivateIdent(),this.type!==v._in&&this.unexpected();else{if(Me=this.parseExprSubscripts(y,Y),this.checkExpressionErrors(y))return Me;for(;this.type.postfix&&!this.canInsertSemicolon();){var dt=this.startNodeAt(ye,Ne);dt.operator=this.value,dt.prefix=!1,dt.argument=Me,this.checkLValSimple(Me),this.next(),Me=this.finishNode(dt,"UpdateExpression")}}if(!W&&this.eat(v.starstar))if(D)this.unexpected(this.lastTokStart);else return this.buildBinary(ye,Ne,Me,this.parseMaybeUnary(null,!1,!1,Y),"**",!1);else return Me};function q(y){return y.type==="Identifier"||y.type==="ParenthesizedExpression"&&q(y.expression)}function se(y){return y.type==="MemberExpression"&&y.property.type==="PrivateIdentifier"||y.type==="ChainExpression"&&se(y.expression)||y.type==="ParenthesizedExpression"&&se(y.expression)}te.parseExprSubscripts=function(y,D){var W=this.start,Y=this.startLoc,ye=this.parseExprAtom(y,D);if(ye.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return ye;var Ne=this.parseSubscripts(ye,W,Y,!1,D);return y&&Ne.type==="MemberExpression"&&(y.parenthesizedAssign>=Ne.start&&(y.parenthesizedAssign=-1),y.parenthesizedBind>=Ne.start&&(y.parenthesizedBind=-1),y.trailingComma>=Ne.start&&(y.trailingComma=-1)),Ne},te.parseSubscripts=function(y,D,W,Y,ye){for(var Ne=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,Me=!1;;){var et=this.parseSubscript(y,D,W,Y,Ne,Me,ye);if(et.optional&&(Me=!0),et===y||et.type==="ArrowFunctionExpression"){if(Me){var it=this.startNodeAt(D,W);it.expression=et,et=this.finishNode(it,"ChainExpression")}return et}y=et}},te.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(v.arrow)},te.parseSubscriptAsyncArrow=function(y,D,W,Y){return this.parseArrowExpression(this.startNodeAt(y,D),W,!0,Y)},te.parseSubscript=function(y,D,W,Y,ye,Ne,Me){var et=this.options.ecmaVersion>=11,it=et&&this.eat(v.questionDot);Y&&it&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var dt=this.eat(v.bracketL);if(dt||it&&this.type!==v.parenL&&this.type!==v.backQuote||this.eat(v.dot)){var yt=this.startNodeAt(D,W);yt.object=y,dt?(yt.property=this.parseExpression(),this.expect(v.bracketR)):this.type===v.privateId&&y.type!=="Super"?yt.property=this.parsePrivateIdent():yt.property=this.parseIdent(this.options.allowReserved!=="never"),yt.computed=!!dt,et&&(yt.optional=it),y=this.finishNode(yt,"MemberExpression")}else if(!Y&&this.eat(v.parenL)){var At=new mt,Ut=this.yieldPos,Ce=this.awaitPos,_e=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Ve=this.parseExprList(v.parenR,this.options.ecmaVersion>=8,!1,At);if(ye&&!it&&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=Ce,this.awaitIdentPos=_e,this.parseSubscriptAsyncArrow(D,W,Ve,Me);this.checkExpressionErrors(At,!0),this.yieldPos=Ut||this.yieldPos,this.awaitPos=Ce||this.awaitPos,this.awaitIdentPos=_e||this.awaitIdentPos;var ct=this.startNodeAt(D,W);ct.callee=y,ct.arguments=Ve,et&&(ct.optional=it),y=this.finishNode(ct,"CallExpression")}else if(this.type===v.backQuote){(it||Ne)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var vt=this.startNodeAt(D,W);vt.tag=y,vt.quasi=this.parseTemplate({isTagged:!0}),y=this.finishNode(vt,"TaggedTemplateExpression")}return y},te.parseExprAtom=function(y,D,W){this.type===v.slash&&this.readRegexp();var Y,ye=this.potentialArrowAt===this.start;switch(this.type){case v._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),Y=this.startNode(),this.next(),this.type===v.parenL&&!this.allowDirectSuper&&this.raise(Y.start,"super() call outside constructor of a subclass"),this.type!==v.dot&&this.type!==v.bracketL&&this.type!==v.parenL&&this.unexpected(),this.finishNode(Y,"Super");case v._this:return Y=this.startNode(),this.next(),this.finishNode(Y,"ThisExpression");case v.name:var Ne=this.start,Me=this.startLoc,et=this.containsEsc,it=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!et&&it.name==="async"&&!this.canInsertSemicolon()&&this.eat(v._function))return this.overrideContext(Q.f_expr),this.parseFunction(this.startNodeAt(Ne,Me),0,!1,!0,D);if(ye&&!this.canInsertSemicolon()){if(this.eat(v.arrow))return this.parseArrowExpression(this.startNodeAt(Ne,Me),[it],!1,D);if(this.options.ecmaVersion>=8&&it.name==="async"&&this.type===v.name&&!et&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return it=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(v.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(Ne,Me),[it],!0,D)}return it;case v.regexp:var dt=this.value;return Y=this.parseLiteral(dt.value),Y.regex={pattern:dt.pattern,flags:dt.flags},Y;case v.num:case v.string:return this.parseLiteral(this.value);case v._null:case v._true:case v._false:return Y=this.startNode(),Y.value=this.type===v._null?null:this.type===v._true,Y.raw=this.type.keyword,this.next(),this.finishNode(Y,"Literal");case v.parenL:var yt=this.start,At=this.parseParenAndDistinguishExpression(ye,D);return y&&(y.parenthesizedAssign<0&&!this.isSimpleAssignTarget(At)&&(y.parenthesizedAssign=yt),y.parenthesizedBind<0&&(y.parenthesizedBind=yt)),At;case v.bracketL:return Y=this.startNode(),this.next(),Y.elements=this.parseExprList(v.bracketR,!0,!0,y),this.finishNode(Y,"ArrayExpression");case v.braceL:return this.overrideContext(Q.b_expr),this.parseObj(!1,y);case v._function:return Y=this.startNode(),this.next(),this.parseFunction(Y,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(W):this.unexpected();default:return this.parseExprAtomDefault()}},te.parseExprAtomDefault=function(){this.unexpected()},te.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 W=this.startNodeAt(D.start,D.loc&&D.loc.start);return W.name="import",D.meta=this.finishNode(W,"Identifier"),this.parseImportMeta(D)}else this.unexpected()},te.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")},te.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")},te.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")},te.parseParenExpression=function(){this.expect(v.parenL);var y=this.parseExpression();return this.expect(v.parenR),y},te.shouldParseArrow=function(y){return!this.canInsertSemicolon()},te.parseParenAndDistinguishExpression=function(y,D){var W=this.start,Y=this.startLoc,ye,Ne=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var Me=this.start,et=this.startLoc,it=[],dt=!0,yt=!1,At=new mt,Ut=this.yieldPos,Ce=this.awaitPos,_e;for(this.yieldPos=0,this.awaitPos=0;this.type!==v.parenR;)if(dt?dt=!1:this.expect(v.comma),Ne&&this.afterTrailingComma(v.parenR,!0)){yt=!0;break}else if(this.type===v.ellipsis){_e=this.start,it.push(this.parseParenItem(this.parseRestBinding())),this.type===v.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else it.push(this.parseMaybeAssign(!1,At,this.parseParenItem));var Ve=this.lastTokEnd,ct=this.lastTokEndLoc;if(this.expect(v.parenR),y&&this.shouldParseArrow(it)&&this.eat(v.arrow))return this.checkPatternErrors(At,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=Ut,this.awaitPos=Ce,this.parseParenArrowList(W,Y,it,D);(!it.length||yt)&&this.unexpected(this.lastTokStart),_e&&this.unexpected(_e),this.checkExpressionErrors(At,!0),this.yieldPos=Ut||this.yieldPos,this.awaitPos=Ce||this.awaitPos,it.length>1?(ye=this.startNodeAt(Me,et),ye.expressions=it,this.finishNodeAt(ye,"SequenceExpression",Ve,ct)):ye=it[0]}else ye=this.parseParenExpression();if(this.options.preserveParens){var vt=this.startNodeAt(W,Y);return vt.expression=ye,this.finishNode(vt,"ParenthesizedExpression")}else return ye},te.parseParenItem=function(y){return y},te.parseParenArrowList=function(y,D,W,Y){return this.parseArrowExpression(this.startNodeAt(y,D),W,!1,Y)};var ue=[];te.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 W=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'"),W&&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 Y=this.start,ye=this.startLoc;return y.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),Y,ye,!0,!1),this.eat(v.parenL)?y.arguments=this.parseExprList(v.parenR,this.options.ecmaVersion>=8,!1):y.arguments=ue,this.finishNode(y,"NewExpression")},te.parseTemplateElement=function(y){var D=y.isTagged,W=this.startNode();return this.type===v.invalidTemplate?(D||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),W.value={raw:this.value.replace(/\r\n?/g,`
4
+ `),cooked:null}):W.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
5
+ `),cooked:this.value},this.next(),W.tail=this.type===v.backQuote,this.finishNode(W,"TemplateElement")},te.parseTemplate=function(y){y===void 0&&(y={});var D=y.isTagged;D===void 0&&(D=!1);var W=this.startNode();this.next(),W.expressions=[];var Y=this.parseTemplateElement({isTagged:D});for(W.quasis=[Y];!Y.tail;)this.type===v.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(v.dollarBraceL),W.expressions.push(this.parseExpression()),this.expect(v.braceR),W.quasis.push(Y=this.parseTemplateElement({isTagged:D}));return this.next(),this.finishNode(W,"TemplateLiteral")},te.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))},te.parseObj=function(y,D){var W=this.startNode(),Y=!0,ye={};for(W.properties=[],this.next();!this.eat(v.braceR);){if(Y)Y=!1;else if(this.expect(v.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(v.braceR))break;var Ne=this.parseProperty(y,D);y||this.checkPropClash(Ne,ye,D),W.properties.push(Ne)}return this.finishNode(W,y?"ObjectPattern":"ObjectExpression")},te.parseProperty=function(y,D){var W=this.startNode(),Y,ye,Ne,Me;if(this.options.ecmaVersion>=9&&this.eat(v.ellipsis))return y?(W.argument=this.parseIdent(!1),this.type===v.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(W,"RestElement")):(W.argument=this.parseMaybeAssign(!1,D),this.type===v.comma&&D&&D.trailingComma<0&&(D.trailingComma=this.start),this.finishNode(W,"SpreadElement"));this.options.ecmaVersion>=6&&(W.method=!1,W.shorthand=!1,(y||D)&&(Ne=this.start,Me=this.startLoc),y||(Y=this.eat(v.star)));var et=this.containsEsc;return this.parsePropertyName(W),!y&&!et&&this.options.ecmaVersion>=8&&!Y&&this.isAsyncProp(W)?(ye=!0,Y=this.options.ecmaVersion>=9&&this.eat(v.star),this.parsePropertyName(W)):ye=!1,this.parsePropertyValue(W,y,Y,ye,Ne,Me,D,et),this.finishNode(W,"Property")},te.parseGetterSetter=function(y){var D=y.key.name;this.parsePropertyName(y),y.value=this.parseMethod(!1),y.kind=D;var W=y.kind==="get"?0:1;if(y.value.params.length!==W){var Y=y.value.start;y.kind==="get"?this.raiseRecoverable(Y,"getter should have no params"):this.raiseRecoverable(Y,"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")},te.parsePropertyValue=function(y,D,W,Y,ye,Ne,Me,et){(W||Y)&&this.type===v.colon&&this.unexpected(),this.eat(v.colon)?(y.value=D?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,Me),y.kind="init"):this.options.ecmaVersion>=6&&this.type===v.parenL?(D&&this.unexpected(),y.method=!0,y.value=this.parseMethod(W,Y),y.kind="init"):!D&&!et&&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?((W||Y)&&this.unexpected(),this.parseGetterSetter(y)):this.options.ecmaVersion>=6&&!y.computed&&y.key.type==="Identifier"?((W||Y)&&this.unexpected(),this.checkUnreserved(y.key),y.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=ye),D?y.value=this.parseMaybeDefault(ye,Ne,this.copyNode(y.key)):this.type===v.eq&&Me?(Me.shorthandAssign<0&&(Me.shorthandAssign=this.start),y.value=this.parseMaybeDefault(ye,Ne,this.copyNode(y.key))):y.value=this.copyNode(y.key),y.kind="init",y.shorthand=!0):this.unexpected()},te.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")},te.initFunction=function(y){y.id=null,this.options.ecmaVersion>=6&&(y.generator=y.expression=!1),this.options.ecmaVersion>=8&&(y.async=!1)},te.parseMethod=function(y,D,W){var Y=this.startNode(),ye=this.yieldPos,Ne=this.awaitPos,Me=this.awaitIdentPos;return this.initFunction(Y),this.options.ecmaVersion>=6&&(Y.generator=y),this.options.ecmaVersion>=8&&(Y.async=!!D),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(oe(D,Y.generator)|Ae|(W?ee:0)),this.expect(v.parenL),Y.params=this.parseBindingList(v.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(Y,!1,!0,!1),this.yieldPos=ye,this.awaitPos=Ne,this.awaitIdentPos=Me,this.finishNode(Y,"FunctionExpression")},te.parseArrowExpression=function(y,D,W,Y){var ye=this.yieldPos,Ne=this.awaitPos,Me=this.awaitIdentPos;return this.enterScope(oe(W,!1)|xe),this.initFunction(y),this.options.ecmaVersion>=8&&(y.async=!!W),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,y.params=this.toAssignableList(D,!0),this.parseFunctionBody(y,!0,!1,Y),this.yieldPos=ye,this.awaitPos=Ne,this.awaitIdentPos=Me,this.finishNode(y,"ArrowFunctionExpression")},te.parseFunctionBody=function(y,D,W,Y){var ye=D&&this.type!==v.braceL,Ne=this.strict,Me=!1;if(ye)y.body=this.parseMaybeAssign(Y),y.expression=!0,this.checkParams(y,!1);else{var et=this.options.ecmaVersion>=7&&!this.isSimpleParamList(y.params);(!Ne||et)&&(Me=this.strictDirective(this.end),Me&&et&&this.raiseRecoverable(y.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var it=this.labels;this.labels=[],Me&&(this.strict=!0),this.checkParams(y,!Ne&&!Me&&!D&&!W&&this.isSimpleParamList(y.params)),this.strict&&y.id&&this.checkLValSimple(y.id,ut),y.body=this.parseBlock(!1,void 0,Me&&!Ne),y.expression=!1,this.adaptDirectivePrologue(y.body.body),this.labels=it}this.exitScope()},te.isSimpleParamList=function(y){for(var D=0,W=y;D<W.length;D+=1){var Y=W[D];if(Y.type!=="Identifier")return!1}return!0},te.checkParams=function(y,D){for(var W=Object.create(null),Y=0,ye=y.params;Y<ye.length;Y+=1){var Ne=ye[Y];this.checkLValInnerPattern(Ne,Re,D?null:W)}},te.parseExprList=function(y,D,W,Y){for(var ye=[],Ne=!0;!this.eat(y);){if(Ne)Ne=!1;else if(this.expect(v.comma),D&&this.afterTrailingComma(y))break;var Me=void 0;W&&this.type===v.comma?Me=null:this.type===v.ellipsis?(Me=this.parseSpread(Y),Y&&this.type===v.comma&&Y.trailingComma<0&&(Y.trailingComma=this.start)):Me=this.parseMaybeAssign(!1,Y),ye.push(Me)}return ye},te.checkUnreserved=function(y){var D=y.start,W=y.end,Y=y.name;if(this.inGenerator&&Y==="yield"&&this.raiseRecoverable(D,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&Y==="await"&&this.raiseRecoverable(D,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&z)&&Y==="arguments"&&this.raiseRecoverable(D,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(Y==="arguments"||Y==="await")&&this.raise(D,"Cannot use "+Y+" in class static initialization block"),this.keywords.test(Y)&&this.raise(D,"Unexpected keyword '"+Y+"'"),!(this.options.ecmaVersion<6&&this.input.slice(D,W).indexOf("\\")!==-1)){var ye=this.strict?this.reservedWordsStrict:this.reservedWords;ye.test(Y)&&(!this.inAsync&&Y==="await"&&this.raiseRecoverable(D,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(D,"The keyword '"+Y+"' is reserved"))}},te.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},te.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},te.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},te.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")},te.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 Se=tt.prototype;Se.raise=function(y,D){var W=ae(this.input,y);D+=" ("+W.line+":"+W.column+")",this.sourceFile&&(D+=" in "+this.sourceFile);var Y=new SyntaxError(D);throw Y.pos=y,Y.loc=W,Y.raisedAt=this.pos,Y},Se.raiseRecoverable=Se.raise,Se.curPosition=function(){if(this.options.locations)return new J(this.curLine,this.pos-this.lineStart)};var Oe=tt.prototype,Ie=function(D){this.flags=D,this.var=[],this.lexical=[],this.functions=[]};Oe.enterScope=function(y){this.scopeStack.push(new Ie(y))},Oe.exitScope=function(){this.scopeStack.pop()},Oe.treatFunctionsAsVarInScope=function(y){return y.flags&ce||!this.inModule&&y.flags&fe},Oe.declareName=function(y,D,W){var Y=!1;if(D===Pe){var ye=this.currentScope();Y=ye.lexical.indexOf(y)>-1||ye.functions.indexOf(y)>-1||ye.var.indexOf(y)>-1,ye.lexical.push(y),this.inModule&&ye.flags&fe&&delete this.undefinedExports[y]}else if(D===Je){var Ne=this.currentScope();Ne.lexical.push(y)}else if(D===G){var Me=this.currentScope();this.treatFunctionsAsVar?Y=Me.lexical.indexOf(y)>-1:Y=Me.lexical.indexOf(y)>-1||Me.var.indexOf(y)>-1,Me.functions.push(y)}else for(var et=this.scopeStack.length-1;et>=0;--et){var it=this.scopeStack[et];if(it.lexical.indexOf(y)>-1&&!(it.flags&be&&it.lexical[0]===y)||!this.treatFunctionsAsVarInScope(it)&&it.functions.indexOf(y)>-1){Y=!0;break}if(it.var.push(y),this.inModule&&it.flags&fe&&delete this.undefinedExports[y],it.flags&z)break}Y&&this.raiseRecoverable(W,"Identifier '"+y+"' has already been declared")},Oe.checkLocalExport=function(y){this.scopeStack[0].lexical.indexOf(y.name)===-1&&this.scopeStack[0].var.indexOf(y.name)===-1&&(this.undefinedExports[y.name]=y)},Oe.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Oe.currentVarScope=function(){for(var y=this.scopeStack.length-1;;y--){var D=this.scopeStack[y];if(D.flags&(z|we|ne))return D}},Oe.currentThisScope=function(){for(var y=this.scopeStack.length-1;;y--){var D=this.scopeStack[y];if(D.flags&(z|we|ne)&&!(D.flags&xe))return D}};var Ge=function(D,W,Y){this.type="",this.start=W,this.end=0,D.options.locations&&(this.loc=new ge(D,Y)),D.options.directSourceFile&&(this.sourceFile=D.options.directSourceFile),D.options.ranges&&(this.range=[W,0])},ze=tt.prototype;ze.startNode=function(){return new Ge(this,this.start,this.startLoc)},ze.startNodeAt=function(y,D){return new Ge(this,y,D)};function me(y,D,W,Y){return y.type=D,y.end=W,this.options.locations&&(y.loc.end=Y),this.options.ranges&&(y.range[1]=W),y}ze.finishNode=function(y,D){return me.call(this,y,D,this.lastTokEnd,this.lastTokEndLoc)},ze.finishNodeAt=function(y,D,W,Y){return me.call(this,y,D,W,Y)},ze.copyNode=function(y){var D=new Ge(this,y.start,this.startLoc);for(var W in y)D[W]=y[W];return D};var pe="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",ve="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",De=ve+" Extended_Pictographic",Fe=De,at=Fe+" EBase EComp EMod EPres ExtPict",Ue=at,Xe=Ue,ot={9:ve,10:De,11:Fe,12:at,13:Ue,14:Xe},He="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",nt={9:"",10:"",11:"",12:"",13:"",14:He},pt="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",ht="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",ft=ht+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",gt=ft+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Ct=gt+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",bt=Ct+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Rt=bt+" "+pe,_t={9:ht,10:ft,11:gt,12:Ct,13:bt,14:Rt},Bt={};function Ht(y){var D=Bt[y]={binary:K(ot[y]+" "+pt),binaryOfStrings:K(nt[y]),nonBinary:{General_Category:K(pt),Script:K(_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 lt=tt.prototype,Mt=function(D,W){this.parent=D,this.base=W||this};Mt.prototype.separatedFrom=function(D){for(var W=this;W;W=W.parent)for(var Y=D;Y;Y=Y.parent)if(W.base===Y.base&&W!==Y)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,W,Y){var ye=Y.indexOf("v")!==-1,Ne=Y.indexOf("u")!==-1;this.start=D|0,this.source=W+"",this.flags=Y,ye&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=Ne&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=Ne&&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,W){W===void 0&&(W=!1);var Y=this.source,ye=Y.length;if(D>=ye)return-1;var Ne=Y.charCodeAt(D);if(!(W||this.switchU)||Ne<=55295||Ne>=57344||D+1>=ye)return Ne;var Me=Y.charCodeAt(D+1);return Me>=56320&&Me<=57343?(Ne<<10)+Me-56613888:Ne},Lt.prototype.nextIndex=function(D,W){W===void 0&&(W=!1);var Y=this.source,ye=Y.length;if(D>=ye)return ye;var Ne=Y.charCodeAt(D),Me;return!(W||this.switchU)||Ne<=55295||Ne>=57344||D+1>=ye||(Me=Y.charCodeAt(D+1))<56320||Me>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,W){return W===void 0&&(W=!1),this.current(W)===D?(this.advance(W),!0):!1},Lt.prototype.eatChars=function(D,W){W===void 0&&(W=!1);for(var Y=this.pos,ye=0,Ne=D;ye<Ne.length;ye+=1){var Me=Ne[ye],et=this.at(Y,W);if(et===-1||et!==Me)return!1;Y=this.nextIndex(Y,W)}return this.pos=Y,!0},lt.validateRegExpFlags=function(y){for(var D=y.validFlags,W=y.flags,Y=!1,ye=!1,Ne=0;Ne<W.length;Ne++){var Me=W.charAt(Ne);D.indexOf(Me)===-1&&this.raise(y.start,"Invalid regular expression flag"),W.indexOf(Me,Ne+1)>-1&&this.raise(y.start,"Duplicate regular expression flag"),Me==="u"&&(Y=!0),Me==="v"&&(ye=!0)}this.options.ecmaVersion>=15&&Y&&ye&&this.raise(y.start,"Invalid regular expression flag")};function Er(y){for(var D in y)return!0;return!1}lt.validateRegExpPattern=function(y){this.regexp_pattern(y),!y.switchN&&this.options.ecmaVersion>=9&&Er(y.groupNames)&&(y.switchN=!0,this.regexp_pattern(y))},lt.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,W=y.backReferenceNames;D<W.length;D+=1){var Y=W[D];y.groupNames[Y]||y.raise("Invalid named capture referenced")}},lt.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")},lt.regexp_alternative=function(y){for(;y.pos<y.source.length&&this.regexp_eatTerm(y););},lt.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},lt.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 W=!1;if(this.options.ecmaVersion>=9&&(W=y.eat(60)),y.eat(61)||y.eat(33))return this.regexp_disjunction(y),y.eat(41)||y.raise("Unterminated group"),y.lastAssertionIsQuantifiable=!W,!0}return y.pos=D,!1},lt.regexp_eatQuantifier=function(y,D){return D===void 0&&(D=!1),this.regexp_eatQuantifierPrefix(y,D)?(y.eat(63),!0):!1},lt.regexp_eatQuantifierPrefix=function(y,D){return y.eat(42)||y.eat(43)||y.eat(63)||this.regexp_eatBracedQuantifier(y,D)},lt.regexp_eatBracedQuantifier=function(y,D){var W=y.pos;if(y.eat(123)){var Y=0,ye=-1;if(this.regexp_eatDecimalDigits(y)&&(Y=y.lastIntValue,y.eat(44)&&this.regexp_eatDecimalDigits(y)&&(ye=y.lastIntValue),y.eat(125)))return ye!==-1&&ye<Y&&!D&&y.raise("numbers out of order in {} quantifier"),!0;y.switchU&&!D&&y.raise("Incomplete quantifier"),y.pos=W}return!1},lt.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)},lt.regexp_eatReverseSolidusAtomEscape=function(y){var D=y.pos;if(y.eat(92)){if(this.regexp_eatAtomEscape(y))return!0;y.pos=D}return!1},lt.regexp_eatUncapturingGroup=function(y){var D=y.pos;if(y.eat(40)){if(y.eat(63)){if(this.options.ecmaVersion>=16){var W=this.regexp_eatModifiers(y),Y=y.eat(45);if(W||Y){for(var ye=0;ye<W.length;ye++){var Ne=W.charAt(ye);W.indexOf(Ne,ye+1)>-1&&y.raise("Duplicate regular expression modifiers")}if(Y){var Me=this.regexp_eatModifiers(y);!W&&!Me&&y.current()===58&&y.raise("Invalid regular expression modifiers");for(var et=0;et<Me.length;et++){var it=Me.charAt(et);(Me.indexOf(it,et+1)>-1||W.indexOf(it)>-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},lt.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},lt.regexp_eatModifiers=function(y){for(var D="",W=0;(W=y.current())!==-1&&Sr(W);)D+=B(W),y.advance();return D};function Sr(y){return y===105||y===109||y===115}lt.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)},lt.regexp_eatInvalidBracedQuantifier=function(y){return this.regexp_eatBracedQuantifier(y,!0)&&y.raise("Nothing to repeat"),!1},lt.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}lt.regexp_eatPatternCharacters=function(y){for(var D=y.pos,W=0;(W=y.current())!==-1&&!Qt(W);)y.advance();return y.pos!==D},lt.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},lt.regexp_groupSpecifier=function(y){if(y.eat(63)){this.regexp_eatGroupName(y)||y.raise("Invalid group");var D=this.options.ecmaVersion>=16,W=y.groupNames[y.lastStringValue];if(W)if(D)for(var Y=0,ye=W;Y<ye.length;Y+=1){var Ne=ye[Y];Ne.separatedFrom(y.branchID)||y.raise("Duplicate capture group name")}else y.raise("Duplicate capture group name");D?(W||(y.groupNames[y.lastStringValue]=[])).push(y.branchID):y.groupNames[y.lastStringValue]=!0}},lt.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},lt.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},lt.regexp_eatRegExpIdentifierStart=function(y){var D=y.pos,W=this.options.ecmaVersion>=11,Y=y.current(W);return y.advance(W),Y===92&&this.regexp_eatRegExpUnicodeEscapeSequence(y,W)&&(Y=y.lastIntValue),cr(Y)?(y.lastIntValue=Y,!0):(y.pos=D,!1)};function cr(y){return f(y,!0)||y===36||y===95}lt.regexp_eatRegExpIdentifierPart=function(y){var D=y.pos,W=this.options.ecmaVersion>=11,Y=y.current(W);return y.advance(W),Y===92&&this.regexp_eatRegExpUnicodeEscapeSequence(y,W)&&(Y=y.lastIntValue),rr(Y)?(y.lastIntValue=Y,!0):(y.pos=D,!1)};function rr(y){return g(y,!0)||y===36||y===95||y===8204||y===8205}lt.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)},lt.regexp_eatBackReference=function(y){var D=y.pos;if(this.regexp_eatDecimalEscape(y)){var W=y.lastIntValue;if(y.switchU)return W>y.maxBackReference&&(y.maxBackReference=W),!0;if(W<=y.numCapturingParens)return!0;y.pos=D}return!1},lt.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},lt.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)},lt.regexp_eatCControlLetter=function(y){var D=y.pos;if(y.eat(99)){if(this.regexp_eatControlLetter(y))return!0;y.pos=D}return!1},lt.regexp_eatZero=function(y){return y.current()===48&&!hr(y.lookahead())?(y.lastIntValue=0,y.advance(),!0):!1},lt.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},lt.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}lt.regexp_eatRegExpUnicodeEscapeSequence=function(y,D){D===void 0&&(D=!1);var W=y.pos,Y=D||y.switchU;if(y.eat(117)){if(this.regexp_eatFixedHexDigits(y,4)){var ye=y.lastIntValue;if(Y&&ye>=55296&&ye<=56319){var Ne=y.pos;if(y.eat(92)&&y.eat(117)&&this.regexp_eatFixedHexDigits(y,4)){var Me=y.lastIntValue;if(Me>=56320&&Me<=57343)return y.lastIntValue=(ye-55296)*1024+(Me-56320)+65536,!0}y.pos=Ne,y.lastIntValue=ye}return!0}if(Y&&y.eat(123)&&this.regexp_eatHexDigits(y)&&y.eat(125)&&br(y.lastIntValue))return!0;Y&&y.raise("Invalid unicode escape"),y.pos=W}return!1};function br(y){return y>=0&&y<=1114111}lt.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},lt.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;lt.regexp_eatCharacterClassEscape=function(y){var D=y.current();if(Nr(D))return y.lastIntValue=-1,y.advance(),Wt;var W=!1;if(y.switchU&&this.options.ecmaVersion>=9&&((W=D===80)||D===112)){y.lastIntValue=-1,y.advance();var Y;if(y.eat(123)&&(Y=this.regexp_eatUnicodePropertyValueExpression(y))&&y.eat(125))return W&&Y===jt&&y.raise("Invalid property name"),Y;y.raise("Invalid property name")}return Zt};function Nr(y){return y===100||y===68||y===115||y===83||y===119||y===87}lt.regexp_eatUnicodePropertyValueExpression=function(y){var D=y.pos;if(this.regexp_eatUnicodePropertyName(y)&&y.eat(61)){var W=y.lastStringValue;if(this.regexp_eatUnicodePropertyValue(y)){var Y=y.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(y,W,Y),Wt}}if(y.pos=D,this.regexp_eatLoneUnicodePropertyNameOrValue(y)){var ye=y.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(y,ye)}return Zt},lt.regexp_validateUnicodePropertyNameAndValue=function(y,D,W){$(y.unicodeProperties.nonBinary,D)||y.raise("Invalid property name"),y.unicodeProperties.nonBinary[D].test(W)||y.raise("Invalid property value")},lt.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")},lt.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}lt.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)||hr(y)}lt.regexp_eatLoneUnicodePropertyNameOrValue=function(y){return this.regexp_eatUnicodePropertyValue(y)},lt.regexp_eatCharacterClass=function(y){if(y.eat(91)){var D=y.eat(94),W=this.regexp_classContents(y);return y.eat(93)||y.raise("Unterminated character class"),D&&W===jt&&y.raise("Negated character class may contain strings"),!0}return!1},lt.regexp_classContents=function(y){return y.current()===93?Wt:y.switchV?this.regexp_classSetExpression(y):(this.regexp_nonEmptyClassRanges(y),Wt)},lt.regexp_nonEmptyClassRanges=function(y){for(;this.regexp_eatClassAtom(y);){var D=y.lastIntValue;if(y.eat(45)&&this.regexp_eatClassAtom(y)){var W=y.lastIntValue;y.switchU&&(D===-1||W===-1)&&y.raise("Invalid character class"),D!==-1&&W!==-1&&D>W&&y.raise("Range out of order in character class")}}},lt.regexp_eatClassAtom=function(y){var D=y.pos;if(y.eat(92)){if(this.regexp_eatClassEscape(y))return!0;if(y.switchU){var W=y.current();(W===99||Rr(W))&&y.raise("Invalid class escape"),y.raise("Invalid escape")}y.pos=D}var Y=y.current();return Y!==93?(y.lastIntValue=Y,y.advance(),!0):!1},lt.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)},lt.regexp_classSetExpression=function(y){var D=Wt,W;if(!this.regexp_eatClassSetRange(y))if(W=this.regexp_eatClassSetOperand(y)){W===jt&&(D=jt);for(var Y=y.pos;y.eatChars([38,38]);){if(y.current()!==38&&(W=this.regexp_eatClassSetOperand(y))){W!==jt&&(D=Wt);continue}y.raise("Invalid character in character class")}if(Y!==y.pos)return D;for(;y.eatChars([45,45]);)this.regexp_eatClassSetOperand(y)||y.raise("Invalid character in character class");if(Y!==y.pos)return D}else y.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(y)){if(W=this.regexp_eatClassSetOperand(y),!W)return D;W===jt&&(D=jt)}},lt.regexp_eatClassSetRange=function(y){var D=y.pos;if(this.regexp_eatClassSetCharacter(y)){var W=y.lastIntValue;if(y.eat(45)&&this.regexp_eatClassSetCharacter(y)){var Y=y.lastIntValue;return W!==-1&&Y!==-1&&W>Y&&y.raise("Range out of order in character class"),!0}y.pos=D}return!1},lt.regexp_eatClassSetOperand=function(y){return this.regexp_eatClassSetCharacter(y)?Wt:this.regexp_eatClassStringDisjunction(y)||this.regexp_eatNestedClass(y)},lt.regexp_eatNestedClass=function(y){var D=y.pos;if(y.eat(91)){var W=y.eat(94),Y=this.regexp_classContents(y);if(y.eat(93))return W&&Y===jt&&y.raise("Negated character class may contain strings"),Y;y.pos=D}if(y.eat(92)){var ye=this.regexp_eatCharacterClassEscape(y);if(ye)return ye;y.pos=D}return null},lt.regexp_eatClassStringDisjunction=function(y){var D=y.pos;if(y.eatChars([92,113])){if(y.eat(123)){var W=this.regexp_classStringDisjunctionContents(y);if(y.eat(125))return W}else y.raise("Invalid escape");y.pos=D}return null},lt.regexp_classStringDisjunctionContents=function(y){for(var D=this.regexp_classString(y);y.eat(124);)this.regexp_classString(y)===jt&&(D=jt);return D},lt.regexp_classString=function(y){for(var D=0;this.regexp_eatClassSetCharacter(y);)D++;return D===1?Wt:jt},lt.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 W=y.current();return W<0||W===y.lookahead()&&Fr(W)||an(W)?!1:(y.advance(),y.lastIntValue=W,!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}lt.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}lt.regexp_eatClassControlLetter=function(y){var D=y.current();return hr(D)||D===95?(y.lastIntValue=D%32,y.advance(),!0):!1},lt.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},lt.regexp_eatDecimalDigits=function(y){var D=y.pos,W=0;for(y.lastIntValue=0;hr(W=y.current());)y.lastIntValue=10*y.lastIntValue+(W-48),y.advance();return y.pos!==D};function hr(y){return y>=48&&y<=57}lt.regexp_eatHexDigits=function(y){var D=y.pos,W=0;for(y.lastIntValue=0;gr(W=y.current());)y.lastIntValue=16*y.lastIntValue+Ur(W),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}lt.regexp_eatLegacyOctalEscapeSequence=function(y){if(this.regexp_eatOctalDigit(y)){var D=y.lastIntValue;if(this.regexp_eatOctalDigit(y)){var W=y.lastIntValue;D<=3&&this.regexp_eatOctalDigit(y)?y.lastIntValue=D*64+W*8+y.lastIntValue:y.lastIntValue=D*8+W}else y.lastIntValue=D;return!0}return!1},lt.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}lt.regexp_eatFixedHexDigits=function(y,D){var W=y.pos;y.lastIntValue=0;for(var Y=0;Y<D;++Y){var ye=y.current();if(!gr(ye))return y.pos=W,!1;y.lastIntValue=16*y.lastIntValue+Ur(ye),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 ge(D,D.startLoc,D.endLoc)),D.options.ranges&&(this.range=[D.start,D.end])},St=tt.prototype;St.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()},St.getToken=function(){return this.next(),new pr(this)},typeof Symbol<"u"&&(St[Symbol.iterator]=function(){var y=this;return{next:function(){var D=y.getToken();return{done:D.type===v.eof,value:D}}}}),St.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())},St.readToken=function(y){return f(y,this.options.ecmaVersion>=6)||y===92?this.readWord():this.getTokenFromCode(y)},St.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},St.skipBlockComment=function(){var y=this.options.onComment&&this.curPosition(),D=this.pos,W=this.input.indexOf("*/",this.pos+=2);if(W===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=W+2,this.options.locations)for(var Y=void 0,ye=D;(Y=k(this.input,ye,this.pos))>-1;)++this.curLine,ye=this.lineStart=Y;this.options.onComment&&this.options.onComment(!0,this.input.slice(D+2,W),D,this.pos,y,this.curPosition())},St.skipLineComment=function(y){for(var D=this.pos,W=this.options.onComment&&this.curPosition(),Y=this.input.charCodeAt(this.pos+=y);this.pos<this.input.length&&!w(Y);)Y=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(D+y,this.pos),D,this.pos,W,this.curPosition())},St.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}}},St.finishToken=function(y,D){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var W=this.type;this.type=y,this.value=D,this.updateContext(W)},St.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))},St.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)},St.readToken_mult_modulo_exp=function(y){var D=this.input.charCodeAt(this.pos+1),W=1,Y=y===42?v.star:v.modulo;return this.options.ecmaVersion>=7&&y===42&&D===42&&(++W,Y=v.starstar,D=this.input.charCodeAt(this.pos+2)),D===61?this.finishOp(v.assign,W+1):this.finishOp(Y,W)},St.readToken_pipe_amp=function(y){var D=this.input.charCodeAt(this.pos+1);if(D===y){if(this.options.ecmaVersion>=12){var W=this.input.charCodeAt(this.pos+2);if(W===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)},St.readToken_caret=function(){var y=this.input.charCodeAt(this.pos+1);return y===61?this.finishOp(v.assign,2):this.finishOp(v.bitwiseXOR,1)},St.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)},St.readToken_lt_gt=function(y){var D=this.input.charCodeAt(this.pos+1),W=1;return D===y?(W=y===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+W)===61?this.finishOp(v.assign,W+1):this.finishOp(v.bitShift,W)):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&&(W=2),this.finishOp(v.relational,W))},St.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)},St.readToken_question=function(){var y=this.options.ecmaVersion;if(y>=11){var D=this.input.charCodeAt(this.pos+1);if(D===46){var W=this.input.charCodeAt(this.pos+2);if(W<48||W>57)return this.finishOp(v.questionDot,2)}if(D===63){if(y>=12){var Y=this.input.charCodeAt(this.pos+2);if(Y===61)return this.finishOp(v.assign,3)}return this.finishOp(v.coalesce,2)}}return this.finishOp(v.question,1)},St.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)+"'")},St.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)+"'")},St.finishOp=function(y,D){var W=this.input.slice(this.pos,this.pos+D);return this.pos+=D,this.finishToken(y,W)},St.readRegexp=function(){for(var y,D,W=this.pos;;){this.pos>=this.input.length&&this.raise(W,"Unterminated regular expression");var Y=this.input.charAt(this.pos);if(A.test(Y)&&this.raise(W,"Unterminated regular expression"),y)y=!1;else{if(Y==="[")D=!0;else if(Y==="]"&&D)D=!1;else if(Y==="/"&&!D)break;y=Y==="\\"}++this.pos}var ye=this.input.slice(W,this.pos);++this.pos;var Ne=this.pos,Me=this.readWord1();this.containsEsc&&this.unexpected(Ne);var et=this.regexpState||(this.regexpState=new Lt(this));et.reset(W,ye,Me),this.validateRegExpFlags(et),this.validateRegExpPattern(et);var it=null;try{it=new RegExp(ye,Me)}catch{}return this.finishToken(v.regexp,{pattern:ye,flags:Me,value:it})},St.readInt=function(y,D,W){for(var Y=this.options.ecmaVersion>=12&&D===void 0,ye=W&&this.input.charCodeAt(this.pos)===48,Ne=this.pos,Me=0,et=0,it=0,dt=D??1/0;it<dt;++it,++this.pos){var yt=this.input.charCodeAt(this.pos),At=void 0;if(Y&&yt===95){ye&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),et===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),it===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),et=yt;continue}if(yt>=97?At=yt-97+10:yt>=65?At=yt-65+10:yt>=48&&yt<=57?At=yt-48:At=1/0,At>=y)break;et=yt,Me=Me*y+At}return Y&&et===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===Ne||D!=null&&this.pos-Ne!==D?null:Me};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,""))}St.readRadixNumber=function(y){var D=this.pos;this.pos+=2;var W=this.readInt(y);return W==null&&this.raise(this.start+2,"Expected number in radix "+y),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(W=qr(this.input.slice(D,this.pos)),++this.pos):f(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(v.num,W)},St.readNumber=function(y){var D=this.pos;!y&&this.readInt(10,void 0,!0)===null&&this.raise(D,"Invalid number");var W=this.pos-D>=2&&this.input.charCodeAt(D)===48;W&&this.strict&&this.raise(D,"Invalid number");var Y=this.input.charCodeAt(this.pos);if(!W&&!y&&this.options.ecmaVersion>=11&&Y===110){var ye=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,ye)}W&&/[89]/.test(this.input.slice(D,this.pos))&&(W=!1),Y===46&&!W&&(++this.pos,this.readInt(10),Y=this.input.charCodeAt(this.pos)),(Y===69||Y===101)&&!W&&(Y=this.input.charCodeAt(++this.pos),(Y===43||Y===45)&&++this.pos,this.readInt(10)===null&&this.raise(D,"Invalid number")),f(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var Ne=ln(this.input.slice(D,this.pos),W);return this.finishToken(v.num,Ne)},St.readCodePoint=function(){var y=this.input.charCodeAt(this.pos),D;if(y===123){this.options.ecmaVersion<6&&this.unexpected();var W=++this.pos;D=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,D>1114111&&this.invalidStringToken(W,"Code point out of bounds")}else D=this.readHexChar(4);return D},St.readString=function(y){for(var D="",W=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var Y=this.input.charCodeAt(this.pos);if(Y===y)break;Y===92?(D+=this.input.slice(W,this.pos),D+=this.readEscapedChar(!1),W=this.pos):Y===8232||Y===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(w(Y)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return D+=this.input.slice(W,this.pos++),this.finishToken(v.string,D)};var je={};St.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(y){if(y===je)this.readInvalidTemplateToken();else throw y}this.inTemplateElement=!1},St.invalidStringToken=function(y,D){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw je;this.raise(y,D)},St.readTmplToken=function(){for(var y="",D=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var W=this.input.charCodeAt(this.pos);if(W===96||W===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===v.template||this.type===v.invalidTemplate)?W===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(W===92)y+=this.input.slice(D,this.pos),y+=this.readEscapedChar(!0),D=this.pos;else if(w(W)){switch(y+=this.input.slice(D,this.pos),++this.pos,W){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:y+=`
6
+ `;break;default:y+=String.fromCharCode(W);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),D=this.pos}else++this.pos}},St.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")},St.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 W=this.pos-1;this.invalidStringToken(W,"Invalid escape sequence in template string")}default:if(D>=48&&D<=55){var Y=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],ye=parseInt(Y,8);return ye>255&&(Y=Y.slice(0,-1),ye=parseInt(Y,8)),this.pos+=Y.length-1,D=this.input.charCodeAt(this.pos),(Y!=="0"||D===56||D===57)&&(this.strict||y)&&this.invalidStringToken(this.pos-1-Y.length,y?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(ye)}return w(D)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(D)}},St.readHexChar=function(y){var D=this.pos,W=this.readInt(16,y);return W===null&&this.invalidStringToken(D,"Bad character escape sequence"),W},St.readWord1=function(){this.containsEsc=!1;for(var y="",D=!0,W=this.pos,Y=this.options.ecmaVersion>=6;this.pos<this.input.length;){var ye=this.fullCharCodeAtPos();if(g(ye,Y))this.pos+=ye<=65535?1:2;else if(ye===92){this.containsEsc=!0,y+=this.input.slice(W,this.pos);var Ne=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var Me=this.readCodePoint();(D?f:g)(Me,Y)||this.invalidStringToken(Ne,"Invalid Unicode escape"),y+=B(Me),W=this.pos}else break;D=!1}return y+this.input.slice(W,this.pos)},St.readWord=function(){var y=this.readWord1(),D=v.name;return this.keywords.test(y)&&(D=T[y]),this.finishToken(D,y)};var N="8.15.0";tt.acorn={Parser:tt,version:N,defaultOptions:ke,Position:J,SourceLocation:ge,getLineInfo:ae,Node:Ge,TokenType:h,tokTypes:v,keywordTypes:T,TokContext:V,tokContexts:Q,isIdentifierChar:g,isIdentifierStart:f,Token:pr,isNewLine:w,lineBreak:A,lineBreakG:b,nonASCIIwhitespace:R};function re(y,D){return tt.parse(y,D)}function he(y,D,W){return tt.parseExpressionAt(y,D,W)}function Be(y,D){return tt.tokenizer(y,D)}n.Node=Ge,n.Parser=tt,n.Position=J,n.SourceLocation=ge,n.TokContext=V,n.Token=pr,n.TokenType=h,n.defaultOptions=ke,n.getLineInfo=ae,n.isIdentifierChar=g,n.isIdentifierStart=f,n.isNewLine=w,n.keywordTypes=T,n.lineBreak=A,n.lineBreakG=b,n.nonASCIIwhitespace=R,n.parse=re,n.parseExpressionAt=he,n.tokContexts=Q,n.tokTypes=v,n.tokenizer=Be,n.version=N})}(mn,mn.exports)),mn.exports}var $n={exports:{}},Wn,Gp;function Z0(){return Gp||(Gp=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 zp;function ex(){return zp||(zp=1,function(a){const e=Z0(),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,d=r.TokenType,s=new c("<tag",!1),f=new c("</tag",!1),g=new c("<tag>...</tag>",!0,!0),h={tc_oTag:s,tc_cTag:f,tc_expr:g},E={jsxName:new d("jsxName"),jsxText:new d("jsxText",{beforeExpr:!0}),jsxTagStart:new d("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new d("jsxTagEnd")};E.jsxTagStart.updateContext=function(){this.context.push(g),this.context.push(s),this.exprAllowed=!1},E.jsxTagEnd.updateContext=function(S){let C=this.context.pop();C===s&&S===i.slash||C===f?(this.context.pop(),this.exprAllowed=this.curContext()===g):this.exprAllowed=!0},m={tokContexts:h,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),d=i.tokTypes,s=c.tokTypes,f=i.tokContexts,g=c.tokContexts.tc_oTag,h=c.tokContexts.tc_cTag,E=c.tokContexts.tc_expr,S=i.isNewLine,C=i.isIdentifierStart,T=i.isIdentifierChar;return class extends m{static get acornJsx(){return c}jsx_readToken(){let x="",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):(x+=this.input.slice(v,this.pos),this.finishToken(s.jsxText,x));case 38:x+=this.input.slice(v,this.pos),x+=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)?(x+=this.input.slice(v,this.pos),x+=this.jsx_readNewLine(!0),v=this.pos):++this.pos}}}jsx_readNewLine(x){let v=this.input.charCodeAt(this.pos),A;return++this.pos,v===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,A=x?`
10
+ `:`\r
11
+ `):A=String.fromCharCode(v),this.options.locations&&(++this.curLine,this.lineStart=this.pos),A}jsx_readString(x){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===x)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(d.string,v)}jsx_readEntity(){let x="",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===";"){x[0]==="#"?x[1]==="x"?(x=x.substr(2),n.test(x)&&(A=String.fromCharCode(parseInt(x,16)))):(x=x.substr(1),o.test(x)&&(A=String.fromCharCode(parseInt(x,10)))):A=e[x];break}x+=b}return A||(this.pos=w,"&")}jsx_readWord(){let x,v=this.pos;do x=this.input.charCodeAt(++this.pos);while(T(x)||x===45);return this.finishToken(s.jsxName,this.input.slice(v,this.pos))}jsx_parseIdentifier(){let x=this.startNode();return this.type===s.jsxName?x.name=this.value:this.type.keyword?x.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(x,"JSXIdentifier")}jsx_parseNamespacedName(){let x=this.start,v=this.startLoc,A=this.jsx_parseIdentifier();if(!r.allowNamespaces||!this.eat(d.colon))return A;var b=this.startNodeAt(x,v);return b.namespace=A,b.name=this.jsx_parseIdentifier(),this.finishNode(b,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===s.jsxTagEnd)return"";let x=this.start,v=this.startLoc,A=this.jsx_parseNamespacedName();for(this.type===d.dot&&A.type==="JSXNamespacedName"&&!r.allowNamespacedObjects&&this.unexpected();this.eat(d.dot);){let b=this.startNodeAt(x,v);b.object=A,b.property=this.jsx_parseIdentifier(),A=this.finishNode(b,"JSXMemberExpression")}return A}jsx_parseAttributeValue(){switch(this.type){case d.braceL:let x=this.jsx_parseExpressionContainer();return x.expression.type==="JSXEmptyExpression"&&this.raise(x.start,"JSX attributes must only be assigned a non-empty expression"),x;case s.jsxTagStart:case d.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let x=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(x,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let x=this.startNode();return this.next(),x.expression=this.type===d.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(d.braceR),this.finishNode(x,"JSXExpressionContainer")}jsx_parseAttribute(){let x=this.startNode();return this.eat(d.braceL)?(this.expect(d.ellipsis),x.argument=this.parseMaybeAssign(),this.expect(d.braceR),this.finishNode(x,"JSXSpreadAttribute")):(x.name=this.jsx_parseNamespacedName(),x.value=this.eat(d.eq)?this.jsx_parseAttributeValue():null,this.finishNode(x,"JSXAttribute"))}jsx_parseOpeningElementAt(x,v){let A=this.startNodeAt(x,v);A.attributes=[];let b=this.jsx_parseElementName();for(b&&(A.name=b);this.type!==d.slash&&this.type!==s.jsxTagEnd;)A.attributes.push(this.jsx_parseAttribute());return A.selfClosing=this.eat(d.slash),this.expect(s.jsxTagEnd),this.finishNode(A,b?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(x,v){let A=this.startNodeAt(x,v),b=this.jsx_parseElementName();return b&&(A.name=b),this.expect(s.jsxTagEnd),this.finishNode(A,b?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(x,v){let A=this.startNodeAt(x,v),b=[],w=this.jsx_parseOpeningElementAt(x,v),k=null;if(!w.selfClosing){e:for(;;)switch(this.type){case s.jsxTagStart:if(x=this.start,v=this.startLoc,this.next(),this.eat(d.slash)){k=this.jsx_parseClosingElementAt(x,v);break e}b.push(this.jsx_parseElementAt(x,v));break;case s.jsxText:b.push(this.parseExprAtom());break;case d.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===d.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 x=this.parseLiteral(this.value);return x.type="JSXText",x}jsx_parseElement(){let x=this.start,v=this.startLoc;return this.next(),this.jsx_parseElementAt(x,v)}parseExprAtom(x){return this.type===s.jsxText?this.jsx_parseText():this.type===s.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(x)}readToken(x){let v=this.curContext();if(v===E)return this.jsx_readToken();if(v===g||v===h){if(C(x))return this.jsx_readWord();if(x==62)return++this.pos,this.finishToken(s.jsxTagEnd);if((x===34||x===39)&&v==g)return this.jsx_readString(x)}return x===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(s.jsxTagStart)):super.readToken(x)}updateContext(x){if(this.type==d.braceL){var v=this.curContext();v==g?this.context.push(f.b_expr):v==E?this.context.push(f.b_tmpl):super.updateContext(x),this.exprAllowed=!0}else if(this.type===d.slash&&x===s.jsxTagStart)this.context.length-=2,this.context.push(h),this.exprAllowed=!1;else return super.updateContext(x)}}}}($n)),$n.exports}var Gr={},Hp;function tx(){if(Hp)return Gr;Hp=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 Kp;function dn(){if(Kp)return er;Kp=1,Object.defineProperty(er,"__esModule",{value:!0});var a=Vn(),e=ex(),n=tx();function o(O){return O&&typeof O=="object"&&"default"in O?O:{default:O}}function t(O){if(O&&O.__esModule)return O;var $=Object.create(null);return O&&Object.keys(O).forEach(function(M){if(M!=="default"){var _=Object.getOwnPropertyDescriptor(O,M);Object.defineProperty($,M,_.get?_:{enumerable:!0,get:function(){return O[M]}})}}),$.default=O,Object.freeze($)}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,$){const M=O[0],_=O.at(-1),K={type:r.Template,value:$.slice(M.start,_.end)};return M.loc&&(K.loc={start:M.loc.start,end:_.loc.end}),M.range&&(K.start=M.range[0],K.end=_.range[1],K.range=[K.start,K.end]),K}function i(O,$){this._acornTokTypes=O,this._tokens=[],this._curlyBrace=null,this._code=$}i.prototype={constructor:i,translate(O,$){const M=O.type,_=this._acornTokTypes;if(M===_.name)O.type=r.Identifier,O.value==="static"&&(O.type=r.Keyword),$.ecmaVersion>5&&(O.value==="yield"||O.value==="let")&&(O.type=r.Keyword);else if(M===_.privateId)O.type=r.PrivateIdentifier;else if(M===_.semi||M===_.comma||M===_.parenL||M===_.parenR||M===_.braceL||M===_.braceR||M===_.dot||M===_.bracketL||M===_.colon||M===_.question||M===_.bracketR||M===_.ellipsis||M===_.arrow||M===_.jsxTagStart||M===_.incDec||M===_.starstar||M===_.jsxTagEnd||M===_.prefix||M===_.questionDot||M.binop&&!M.keyword||M.isAssign)O.type=r.Punctuator,O.value=this._code.slice(O.start,O.end);else if(M===_.jsxName)O.type=r.JSXIdentifier;else if(M.label==="jsxText"||M===_.jsxAttrValueToken)O.type=r.JSXText;else if(M.keyword)M.keyword==="true"||M.keyword==="false"?O.type=r.Boolean:M.keyword==="null"?O.type=r.Null:O.type=r.Keyword;else if(M===_.num)O.type=r.Numeric,O.value=this._code.slice(O.start,O.end);else if(M===_.string)$.jsxAttrValueToken?($.jsxAttrValueToken=!1,O.type=r.JSXText):O.type=r.String,O.value=this._code.slice(O.start,O.end);else if(M===_.regexp){O.type=r.RegularExpression;const K=O.value;O.regex={flags:K.flags,pattern:K.pattern},O.value=`/${K.pattern}/${K.flags}`}return O},onToken(O,$){const M=this._acornTokTypes,_=$.tokens,K=this._tokens,B=()=>{_.push(m(this._tokens,this._code)),this._tokens=[]};if(O.type===M.eof){this._curlyBrace&&_.push(this.translate(this._curlyBrace,$));return}if(O.type===M.backQuote){this._curlyBrace&&(_.push(this.translate(this._curlyBrace,$)),this._curlyBrace=null),K.push(O),K.length>1&&B();return}if(O.type===M.dollarBraceL){K.push(O),B();return}if(O.type===M.braceR){this._curlyBrace&&_.push(this.translate(this._curlyBrace,$)),this._curlyBrace=O;return}if(O.type===M.template||O.type===M.invalidTemplate){this._curlyBrace&&(K.push(this._curlyBrace),this._curlyBrace=null),K.push(O);return}this._curlyBrace&&(_.push(this.translate(this._curlyBrace,$)),this._curlyBrace=null),_.push(this.translate(O,$))}};const c=[3,5,6,7,8,9,10,11,12,13,14,15,16,17];function d(){return c.at(-1)}function s(){return[...c]}function f(O=5){let $=O==="latest"?d():O;if(typeof $!="number")throw new Error(`ecmaVersion must be a number or "latest". Received value of type ${typeof O} instead.`);if($>=2015&&($-=2009),!c.includes($))throw new Error("Invalid ecmaVersion.");return $}function g(O="script"){if(O==="script"||O==="module")return O;if(O==="commonjs")return"script";throw new Error("Invalid sourceType.")}function h(O){const $=f(O.ecmaVersion),M=g(O.sourceType),_=O.range===!0,K=O.loc===!0;if($!==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=$===3?O.allowReserved||"never":!1,X=O.ecmaFeatures||{},J=O.sourceType==="commonjs"||!!X.globalReturn;if(M==="module"&&$<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:$,sourceType:M,ranges:_,locations:K,allowReserved:B,allowReturnOutsideFunction:J})}const E=Symbol("espree's internal state"),S=Symbol("espree's esprimaFinishNode");function C(O,$,M,_,K,B,X){let J;O?J="Block":X.slice(M,M+2)==="#!"?J="Hashbang":J="Line";const ge={type:J,value:$};return typeof M=="number"&&(ge.start=M,ge.end=_,ge.range=[M,_]),typeof K=="object"&&(ge.loc={start:K,end:B}),ge}var T=()=>O=>{const $=Object.assign({},O.acorn.tokTypes);return O.acornJsx&&Object.assign($,O.acornJsx.tokTypes),class extends O{constructor(_,K){(typeof _!="object"||_===null)&&(_={}),typeof K!="string"&&!(K instanceof String)&&(K=String(K));const B=_.sourceType,X=h(_),J=X.ecmaFeatures||{},ge=X.tokens===!0?new i($,K):null,ae={originalSourceType:B||X.sourceType,tokens:ge?[]:null,comments:X.comment===!0?[]:null,impliedStrict:J.impliedStrict===!0&&X.ecmaVersion>=5,ecmaVersion:X.ecmaVersion,jsxAttrValueToken:!1,lastToken:null,templateElements:[]};super({ecmaVersion:X.ecmaVersion,sourceType:X.sourceType,ranges:X.ranges,locations:X.locations,allowReserved:X.allowReserved,allowReturnOutsideFunction:X.allowReturnOutsideFunction,onToken(ke){ge&&ge.onToken(ke,ae),ke.type!==$.eof&&(ae.lastToken=ke)},onComment(ke,Z,I,H,fe,ce){if(ae.comments){const ie=C(ke,Z,I,H,fe,ce,K);ae.comments.push(ie)}}},K),this[E]=ae}tokenize(){do this.next();while(this.type!==$.eof);this.next();const _=this[E],K=_.tokens;return _.comments&&(K.comments=_.comments),K}finishNode(..._){const K=super.finishNode(..._);return this[S](K)}finishNodeAt(..._){const K=super.finishNodeAt(..._);return this[S](K)}parse(){const _=this[E],K=super.parse();if(K.sourceType=_.originalSourceType,_.comments&&(K.comments=_.comments),_.tokens&&(K.tokens=_.tokens),K.body.length){const[B]=K.body;K.range&&(K.range[0]=B.range[0]),K.loc&&(K.loc.start=B.loc.start),K.start=B.start}return _.lastToken&&(K.range&&(K.range[1]=_.lastToken.range[1]),K.loc&&(K.loc.end=_.lastToken.loc.end),K.end=_.lastToken.end),this[E].templateElements.forEach(B=>{const J=B.tail?1:2;B.start+=-1,B.end+=J,B.range&&(B.range[0]+=-1,B.range[1]+=J),B.loc&&(B.loc.start.column+=-1,B.loc.end.column+=J)}),K}parseTopLevel(_){return this[E].impliedStrict&&(this.strict=!0),super.parseTopLevel(_)}raise(_,K){const B=O.acorn.getLineInfo(this.input,_),X=new SyntaxError(K);throw X.index=_,X.lineNumber=B.line,X.column=B.column+1,X}raiseRecoverable(_,K){this.raise(_,K)}unexpected(_){let K="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&&(K+=` ${this.input.slice(this.start,this.end)}`),this.raise(this.start,K)}jsx_readString(_){const K=super.jsx_readString(_);return this.type===$.string&&(this[E].jsxAttrValueToken=!0),K}[S](_){return _.type==="TemplateElement"&&this[E].templateElements.push(_),_.type.includes("Function")&&!_.generator&&(_.generator=!1),_}}};const x="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,$){const M=v.get($);return(!$||$.tokens!==!0)&&($=Object.assign({},$,{tokens:!0})),new M($,O).tokenize()}function b(O,$){const M=v.get($);return new M($,O).parse()}const w=x,k="espree",R=function(){return u.KEYS}(),F=function(){let O,$={};typeof Object.create=="function"&&($=Object.create(null));for(O in R)Object.hasOwn(R,O)&&($[O]=O);return typeof Object.freeze=="function"&&Object.freeze($),$}(),L=d(),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 Xp;function rx(){return Xp||(Xp=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]",d="[object Error]",s="[object Function]",f="[object GeneratorFunction]",g="[object Map]",h="[object Number]",E="[object Null]",S="[object Object]",C="[object Proxy]",T="[object RegExp]",x="[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]",$="[object Uint8Array]",M="[object Uint8ClampedArray]",_="[object Uint16Array]",K="[object Uint32Array]",B=/[\\^$.*+?()[\]{}|]/g,X=/^\[object .+?Constructor\]$/,J=/^(?:0|[1-9]\d*)$/,ge={};ge[R]=ge[F]=ge[L]=ge[P]=ge[O]=ge[$]=ge[M]=ge[_]=ge[K]=!0,ge[u]=ge[r]=ge[w]=ge[i]=ge[k]=ge[c]=ge[d]=ge[s]=ge[g]=ge[h]=ge[S]=ge[T]=ge[x]=ge[v]=ge[b]=!1;var ae=typeof Xt=="object"&&Xt&&Xt.Object===Object&&Xt,ke=typeof self=="object"&&self&&self.Object===Object&&self,Z=ae||ke||Function("return this")(),I=e&&!e.nodeType&&e,H=I&&!0&&a&&!a.nodeType&&a,fe=H&&H.exports===I,ce=fe&&ae.process,ie=function(){try{var Ce=H&&H.require&&H.require("util").types;return Ce||ce&&ce.binding&&ce.binding("util")}catch{}}(),de=ie&&ie.isTypedArray;function xe(Ce,_e,Ve){switch(Ve.length){case 0:return Ce.call(_e);case 1:return Ce.call(_e,Ve[0]);case 2:return Ce.call(_e,Ve[0],Ve[1]);case 3:return Ce.call(_e,Ve[0],Ve[1],Ve[2])}return Ce.apply(_e,Ve)}function be(Ce,_e){for(var Ve=-1,ct=Array(Ce);++Ve<Ce;)ct[Ve]=_e(Ve);return ct}function Ae(Ce){return function(_e){return Ce(_e)}}function ee(Ce,_e){return Ce?.[_e]}function ne(Ce,_e){return function(Ve){return Ce(_e(Ve))}}var we=Array.prototype,z=Function.prototype,oe=Object.prototype,Te=Z["__core-js_shared__"],Re=z.toString,Pe=oe.hasOwnProperty,G=function(){var Ce=/[^.]+$/.exec(Te&&Te.keys&&Te.keys.IE_PROTO||"");return Ce?"Symbol(src)_1."+Ce:""}(),Je=oe.toString,ut=Re.call(Object),tt=RegExp("^"+Re.call(Pe).replace(B,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),qe=fe?Z.Buffer:void 0,We=Z.Symbol,st=Z.Uint8Array;qe&&qe.allocUnsafe;var mt=ne(Object.getPrototypeOf,Object),rt=Object.create,Qe=oe.propertyIsEnumerable,Et=we.splice,Ze=We?We.toStringTag:void 0,xt=function(){try{var Ce=jt(Object,"defineProperty");return Ce({},"",{}),Ce}catch{}}(),Ke=qe?qe.isBuffer:void 0,$e=Math.max,Ee=Date.now,j=jt(Z,"Map"),U=jt(Object,"create"),V=function(){function Ce(){}return function(_e){if(!Y(_e))return{};if(rt)return rt(_e);Ce.prototype=_e;var Ve=new Ce;return Ce.prototype=void 0,Ve}}();function Q(Ce){var _e=-1,Ve=Ce==null?0:Ce.length;for(this.clear();++_e<Ve;){var ct=Ce[_e];this.set(ct[0],ct[1])}}function le(){this.__data__=U?U(null):{},this.size=0}function te(Ce){var _e=this.has(Ce)&&delete this.__data__[Ce];return this.size-=_e?1:0,_e}function q(Ce){var _e=this.__data__;if(U){var Ve=_e[Ce];return Ve===o?void 0:Ve}return Pe.call(_e,Ce)?_e[Ce]:void 0}function se(Ce){var _e=this.__data__;return U?_e[Ce]!==void 0:Pe.call(_e,Ce)}function ue(Ce,_e){var Ve=this.__data__;return this.size+=this.has(Ce)?0:1,Ve[Ce]=U&&_e===void 0?o:_e,this}Q.prototype.clear=le,Q.prototype.delete=te,Q.prototype.get=q,Q.prototype.has=se,Q.prototype.set=ue;function Se(Ce){var _e=-1,Ve=Ce==null?0:Ce.length;for(this.clear();++_e<Ve;){var ct=Ce[_e];this.set(ct[0],ct[1])}}function Oe(){this.__data__=[],this.size=0}function Ie(Ce){var _e=this.__data__,Ve=bt(_e,Ce);if(Ve<0)return!1;var ct=_e.length-1;return Ve==ct?_e.pop():Et.call(_e,Ve,1),--this.size,!0}function Ge(Ce){var _e=this.__data__,Ve=bt(_e,Ce);return Ve<0?void 0:_e[Ve][1]}function ze(Ce){return bt(this.__data__,Ce)>-1}function me(Ce,_e){var Ve=this.__data__,ct=bt(Ve,Ce);return ct<0?(++this.size,Ve.push([Ce,_e])):Ve[ct][1]=_e,this}Se.prototype.clear=Oe,Se.prototype.delete=Ie,Se.prototype.get=Ge,Se.prototype.has=ze,Se.prototype.set=me;function pe(Ce){var _e=-1,Ve=Ce==null?0:Ce.length;for(this.clear();++_e<Ve;){var ct=Ce[_e];this.set(ct[0],ct[1])}}function ve(){this.size=0,this.__data__={hash:new Q,map:new(j||Se),string:new Q}}function De(Ce){var _e=Wt(this,Ce).delete(Ce);return this.size-=_e?1:0,_e}function Fe(Ce){return Wt(this,Ce).get(Ce)}function at(Ce){return Wt(this,Ce).has(Ce)}function Ue(Ce,_e){var Ve=Wt(this,Ce),ct=Ve.size;return Ve.set(Ce,_e),this.size+=Ve.size==ct?0:1,this}pe.prototype.clear=ve,pe.prototype.delete=De,pe.prototype.get=Fe,pe.prototype.has=at,pe.prototype.set=Ue;function Xe(Ce){var _e=this.__data__=new Se(Ce);this.size=_e.size}function ot(){this.__data__=new Se,this.size=0}function He(Ce){var _e=this.__data__,Ve=_e.delete(Ce);return this.size=_e.size,Ve}function nt(Ce){return this.__data__.get(Ce)}function pt(Ce){return this.__data__.has(Ce)}function ht(Ce,_e){var Ve=this.__data__;if(Ve instanceof Se){var ct=Ve.__data__;if(!j||ct.length<n-1)return ct.push([Ce,_e]),this.size=++Ve.size,this;Ve=this.__data__=new pe(ct)}return Ve.set(Ce,_e),this.size=Ve.size,this}Xe.prototype.clear=ot,Xe.prototype.delete=He,Xe.prototype.get=nt,Xe.prototype.has=pt,Xe.prototype.set=ht;function ft(Ce,_e){var Ve=re(Ce),ct=!Ve&&N(Ce),vt=!Ve&&!ct&&y(Ce),Tt=!Ve&&!ct&&!vt&&Me(Ce),kt=Ve||ct||vt||Tt,wt=kt?be(Ce.length,String):[],Dt=wt.length;for(var nr in Ce)kt&&(nr=="length"||vt&&(nr=="offset"||nr=="parent")||Tt&&(nr=="buffer"||nr=="byteLength"||nr=="byteOffset")||jr(nr,Dt))||wt.push(nr);return wt}function gt(Ce,_e,Ve){(Ve!==void 0&&!je(Ce[_e],Ve)||Ve===void 0&&!(_e in Ce))&&Rt(Ce,_e,Ve)}function Ct(Ce,_e,Ve){var ct=Ce[_e];(!(Pe.call(Ce,_e)&&je(ct,Ve))||Ve===void 0&&!(_e in Ce))&&Rt(Ce,_e,Ve)}function bt(Ce,_e){for(var Ve=Ce.length;Ve--;)if(je(Ce[Ve][0],_e))return Ve;return-1}function Rt(Ce,_e,Ve){_e=="__proto__"&&xt?xt(Ce,_e,{configurable:!0,enumerable:!0,value:Ve,writable:!0}):Ce[_e]=Ve}var _t=Zt();function Bt(Ce){return Ce==null?Ce===void 0?A:E:Ze&&Ze in Object(Ce)?Nr(Ce):Ur(Ce)}function Ht(Ce){return ye(Ce)&&Bt(Ce)==u}function Gt(Ce){if(!Y(Ce)||on(Ce))return!1;var _e=D(Ce)?tt:X;return _e.test(qr(Ce))}function Ot(Ce){return ye(Ce)&&W(Ce.length)&&!!ge[Bt(Ce)]}function $t(Ce){if(!Y(Ce))return gr(Ce);var _e=hr(Ce),Ve=[];for(var ct in Ce)ct=="constructor"&&(_e||!Pe.call(Ce,ct))||Ve.push(ct);return Ve}function lt(Ce,_e,Ve,ct,vt){Ce!==_e&&_t(_e,function(Tt,kt){if(vt||(vt=new Xe),Y(Tt))Mt(Ce,_e,kt,Ve,lt,ct,vt);else{var wt=ct?ct(pr(Ce,kt),Tt,kt+"",Ce,_e,vt):void 0;wt===void 0&&(wt=Tt),gt(Ce,kt,wt)}},it)}function Mt(Ce,_e,Ve,ct,vt,Tt,kt){var wt=pr(Ce,Ve),Dt=pr(_e,Ve),nr=kt.get(Dt);if(nr){gt(Ce,Ve,nr);return}var Kt=Tt?Tt(wt,Dt,Ve+"",Ce,_e,kt):void 0,un=Kt===void 0;if(un){var Cp=re(Dt),wp=!Cp&&y(Dt),v0=!Cp&&!wp&&Me(Dt);Kt=Dt,Cp||wp||v0?re(wt)?Kt=wt:Be(wt)?Kt=rr(wt):wp?(un=!1,Kt=Sr(Dt)):v0?(un=!1,Kt=cr(Dt)):Kt=[]:Ne(Dt)||N(Dt)?(Kt=wt,N(wt)?Kt=et(wt):(!Y(wt)||D(wt))&&(Kt=Mr(Dt))):un=!1}un&&(kt.set(Dt,Kt),vt(Kt,Dt,ct,Tt,kt),kt.delete(Dt)),gt(Ce,Ve,Kt)}function Lt(Ce,_e){return St(Rr(Ce,_e,At),Ce+"")}var Er=xt?function(Ce,_e){return xt(Ce,"toString",{configurable:!0,enumerable:!1,value:yt(_e),writable:!0})}:At;function Sr(Ce,_e){return Ce.slice()}function Qt(Ce){var _e=new Ce.constructor(Ce.byteLength);return new st(_e).set(new st(Ce)),_e}function cr(Ce,_e){var Ve=Qt(Ce.buffer);return new Ce.constructor(Ve,Ce.byteOffset,Ce.length)}function rr(Ce,_e){var Ve=-1,ct=Ce.length;for(_e||(_e=Array(ct));++Ve<ct;)_e[Ve]=Ce[Ve];return _e}function fr(Ce,_e,Ve,ct){var vt=!Ve;Ve||(Ve={});for(var Tt=-1,kt=_e.length;++Tt<kt;){var wt=_e[Tt],Dt=void 0;Dt===void 0&&(Dt=Ce[wt]),vt?Rt(Ve,wt,Dt):Ct(Ve,wt,Dt)}return Ve}function br(Ce){return Lt(function(_e,Ve){var ct=-1,vt=Ve.length,Tt=vt>1?Ve[vt-1]:void 0,kt=vt>2?Ve[2]:void 0;for(Tt=Ce.length>3&&typeof Tt=="function"?(vt--,Tt):void 0,kt&&Fr(Ve[0],Ve[1],kt)&&(Tt=vt<3?void 0:Tt,vt=1),_e=Object(_e);++ct<vt;){var wt=Ve[ct];wt&&Ce(_e,wt,ct,Tt)}return _e})}function Zt(Ce){return function(_e,Ve,ct){for(var vt=-1,Tt=Object(_e),kt=ct(_e),wt=kt.length;wt--;){var Dt=kt[++vt];if(Ve(Tt[Dt],Dt,Tt)===!1)break}return _e}}function Wt(Ce,_e){var Ve=Ce.__data__;return an(_e)?Ve[typeof _e=="string"?"string":"hash"]:Ve.map}function jt(Ce,_e){var Ve=ee(Ce,_e);return Gt(Ve)?Ve:void 0}function Nr(Ce){var _e=Pe.call(Ce,Ze),Ve=Ce[Ze];try{Ce[Ze]=void 0;var ct=!0}catch{}var vt=Je.call(Ce);return ct&&(_e?Ce[Ze]=Ve:delete Ce[Ze]),vt}function Mr(Ce){return typeof Ce.constructor=="function"&&!hr(Ce)?V(mt(Ce)):{}}function jr(Ce,_e){var Ve=typeof Ce;return _e=_e??p,!!_e&&(Ve=="number"||Ve!="symbol"&&J.test(Ce))&&Ce>-1&&Ce%1==0&&Ce<_e}function Fr(Ce,_e,Ve){if(!Y(Ve))return!1;var ct=typeof _e;return(ct=="number"?he(Ve)&&jr(_e,Ve.length):ct=="string"&&_e in Ve)?je(Ve[_e],Ce):!1}function an(Ce){var _e=typeof Ce;return _e=="string"||_e=="number"||_e=="symbol"||_e=="boolean"?Ce!=="__proto__":Ce===null}function on(Ce){return!!G&&G in Ce}function hr(Ce){var _e=Ce&&Ce.constructor,Ve=typeof _e=="function"&&_e.prototype||oe;return Ce===Ve}function gr(Ce){var _e=[];if(Ce!=null)for(var Ve in Object(Ce))_e.push(Ve);return _e}function Ur(Ce){return Je.call(Ce)}function Rr(Ce,_e,Ve){return _e=$e(_e===void 0?Ce.length-1:_e,0),function(){for(var ct=arguments,vt=-1,Tt=$e(ct.length-_e,0),kt=Array(Tt);++vt<Tt;)kt[vt]=ct[_e+vt];vt=-1;for(var wt=Array(_e+1);++vt<_e;)wt[vt]=ct[vt];return wt[_e]=Ve(kt),xe(Ce,this,wt)}}function pr(Ce,_e){if(!(_e==="constructor"&&typeof Ce[_e]=="function")&&_e!="__proto__")return Ce[_e]}var St=ln(Er);function ln(Ce){var _e=0,Ve=0;return function(){var ct=Ee(),vt=l-(ct-Ve);if(Ve=ct,vt>0){if(++_e>=t)return arguments[0]}else _e=0;return Ce.apply(void 0,arguments)}}function qr(Ce){if(Ce!=null){try{return Re.call(Ce)}catch{}try{return Ce+""}catch{}}return""}function je(Ce,_e){return Ce===_e||Ce!==Ce&&_e!==_e}var N=Ht(function(){return arguments}())?Ht:function(Ce){return ye(Ce)&&Pe.call(Ce,"callee")&&!Qe.call(Ce,"callee")},re=Array.isArray;function he(Ce){return Ce!=null&&W(Ce.length)&&!D(Ce)}function Be(Ce){return ye(Ce)&&he(Ce)}var y=Ke||Ut;function D(Ce){if(!Y(Ce))return!1;var _e=Bt(Ce);return _e==s||_e==f||_e==m||_e==C}function W(Ce){return typeof Ce=="number"&&Ce>-1&&Ce%1==0&&Ce<=p}function Y(Ce){var _e=typeof Ce;return Ce!=null&&(_e=="object"||_e=="function")}function ye(Ce){return Ce!=null&&typeof Ce=="object"}function Ne(Ce){if(!ye(Ce)||Bt(Ce)!=S)return!1;var _e=mt(Ce);if(_e===null)return!0;var Ve=Pe.call(_e,"constructor")&&_e.constructor;return typeof Ve=="function"&&Ve instanceof Ve&&Re.call(Ve)==ut}var Me=de?Ae(de):Ot;function et(Ce){return fr(Ce,it(Ce))}function it(Ce){return he(Ce)?ft(Ce):$t(Ce)}var dt=br(function(Ce,_e,Ve){lt(Ce,_e,Ve)});function yt(Ce){return function(){return Ce}}function At(Ce){return Ce}function Ut(){return!1}a.exports=dt}(zr,zr.exports)),zr.exports}var nx="9.35.0",sx={version:nx},hn={},sr=[],Yt=[],ax=typeof Uint8Array<"u"?Uint8Array:Array,Gn=!1;function Jp(){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 ix(a){Gn||Jp();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 ax(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 ox(a){return sr[a>>18&63]+sr[a>>12&63]+sr[a>>6&63]+sr[a&63]}function lx(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(ox(o));return t.join("")}function Yp(a){Gn||Jp();for(var e,n=a.length,o=n%3,t="",l=[],p=16383,u=0,r=n-o;u<r;u+=p)l.push(lx(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,d=n?-1:1,s=a[e+c];for(c+=d,l=s&(1<<-i)-1,s>>=-i,i+=u;i>0;l=l*256+a[e+c],c+=d,i-=8);for(p=l&(1<<-i)-1,l>>=-i,i+=o;i>0;p=p*256+a[e+c],c+=d,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 Qp(a,e,n,o,t,l){var p,u,r,m=l*8-t-1,i=(1<<m)-1,c=i>>1,d=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+=d/r:e+=d*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 ux={}.toString,Zp=Array.isArray||function(a){return ux.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 cx=50;Ye.TYPED_ARRAY_SUPPORT=Xt.TYPED_ARRAY_SUPPORT!==void 0?Xt.TYPED_ARRAY_SUPPORT:!0,yn();function yn(){return Ye.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function dr(a,e){if(yn()<e)throw new RangeError("Invalid typed array length");return Ye.TYPED_ARRAY_SUPPORT?(a=new Uint8Array(e),a.__proto__=Ye.prototype):(a===null&&(a=new Ye(e)),a.length=e),a}function Ye(a,e,n){if(!Ye.TYPED_ARRAY_SUPPORT&&!(this instanceof Ye))return new Ye(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 em(this,a,e,n)}Ye.poolSize=8192,Ye._augment=function(a){return a.__proto__=Ye.prototype,a};function em(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?mx(a,e,n,o):typeof e=="string"?px(a,e,n):dx(a,e)}Ye.from=function(a,e,n){return em(null,a,e,n)},Ye.TYPED_ARRAY_SUPPORT&&(Ye.prototype.__proto__=Uint8Array.prototype,Ye.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&Ye[Symbol.species]);function tm(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 fx(a,e,n,o){return tm(e),e<=0?dr(a,e):n!==void 0?typeof o=="string"?dr(a,e).fill(n,o):dr(a,e).fill(n):dr(a,e)}Ye.alloc=function(a,e,n){return fx(null,a,e,n)};function zn(a,e){if(tm(e),a=dr(a,e<0?0:Kn(e)|0),!Ye.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)a[n]=0;return a}Ye.allocUnsafe=function(a){return zn(null,a)},Ye.allocUnsafeSlow=function(a){return zn(null,a)};function px(a,e,n){if((typeof n!="string"||n==="")&&(n="utf8"),!Ye.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var o=rm(e,n)|0;a=dr(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=dr(a,n);for(var o=0;o<n;o+=1)a[o]=e[o]&255;return a}function mx(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),Ye.TYPED_ARRAY_SUPPORT?(a=e,a.__proto__=Ye.prototype):a=Hn(a,e),a}function dx(a,e){if(ar(e)){var n=Kn(e.length)|0;return a=dr(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"||_x(e.length)?dr(a,0):Hn(a,e);if(e.type==="Buffer"&&Zp(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}Ye.isBuffer=Bx;function ar(a){return!!(a!=null&&a._isBuffer)}Ye.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},Ye.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}},Ye.concat=function(e,n){if(!Zp(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return Ye.alloc(0);var o;if(n===void 0)for(n=0,o=0;o<e.length;++o)n+=e[o].length;var t=Ye.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 rm(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 fm(a).length;default:if(o)return Sn(a).length;e=(""+e).toLowerCase(),o=!0}}Ye.byteLength=rm;function hx(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 Ax(this,e,n);case"utf8":case"utf-8":return im(this,e,n);case"ascii":return Cx(this,e,n);case"latin1":case"binary":return wx(this,e,n);case"base64":return bx(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Tx(this,e,n);default:if(o)throw new TypeError("Unknown encoding: "+a);a=(a+"").toLowerCase(),o=!0}}Ye.prototype._isBuffer=!0;function wr(a,e,n){var o=a[e];a[e]=a[n],a[n]=o}Ye.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},Ye.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},Ye.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},Ye.prototype.toString=function(){var e=this.length|0;return e===0?"":arguments.length===0?im(this,0,e):hx.apply(this,arguments)},Ye.prototype.equals=function(e){if(!ar(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:Ye.compare(this,e)===0},Ye.prototype.inspect=function(){var e="",n=cx;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},Ye.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 nm(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=Ye.from(e,o)),ar(e))return e.length===0?-1:sm(a,e,n,o,t);if(typeof e=="number")return e=e&255,Ye.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?t?Uint8Array.prototype.indexOf.call(a,e,n):Uint8Array.prototype.lastIndexOf.call(a,e,n):sm(a,[e],n,o,t);throw new TypeError("val must be string, number or Buffer")}function sm(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,d=0;d<u;d++)if(r(a,m+d)!==r(e,d)){c=!1;break}if(c)return m}return-1}Ye.prototype.includes=function(e,n,o){return this.indexOf(e,n,o)!==-1},Ye.prototype.indexOf=function(e,n,o){return nm(this,e,n,o,!0)},Ye.prototype.lastIndexOf=function(e,n,o){return nm(this,e,n,o,!1)};function gx(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 yx(a,e,n,o){return bn(Sn(e,a.length-n),a,n,o)}function am(a,e,n,o){return bn(Fx(e),a,n,o)}function vx(a,e,n,o){return am(a,e,n,o)}function Ex(a,e,n,o){return bn(fm(e),a,n,o)}function Sx(a,e,n,o){return bn(Rx(e,a.length-n),a,n,o)}Ye.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 gx(this,e,n,o);case"utf8":case"utf-8":return yx(this,e,n,o);case"ascii":return am(this,e,n,o);case"latin1":case"binary":return vx(this,e,n,o);case"base64":return Ex(this,e,n,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Sx(this,e,n,o);default:if(p)throw new TypeError("Unknown encoding: "+t);t=(""+t).toLowerCase(),p=!0}},Ye.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function bx(a,e,n){return e===0&&n===a.length?Yp(a):Yp(a.slice(e,n))}function im(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 xx(o)}var om=4096;function xx(a){var e=a.length;if(e<=om)return String.fromCharCode.apply(String,a);for(var n="",o=0;o<e;)n+=String.fromCharCode.apply(String,a.slice(o,o+=om));return n}function Cx(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 wx(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 Ax(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+=Px(a[l]);return t}function Tx(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}Ye.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(Ye.TYPED_ARRAY_SUPPORT)t=this.subarray(e,n),t.__proto__=Ye.prototype;else{var l=n-e;t=new Ye(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")}Ye.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},Ye.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},Ye.prototype.readUInt8=function(e,n){return n||Nt(e,1,this.length),this[e]},Ye.prototype.readUInt16LE=function(e,n){return n||Nt(e,2,this.length),this[e]|this[e+1]<<8},Ye.prototype.readUInt16BE=function(e,n){return n||Nt(e,2,this.length),this[e]<<8|this[e+1]},Ye.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},Ye.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])},Ye.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},Ye.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},Ye.prototype.readInt8=function(e,n){return n||Nt(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},Ye.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},Ye.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},Ye.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},Ye.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]},Ye.prototype.readFloatLE=function(e,n){return n||Nt(e,4,this.length),gn(this,e,!0,23,4)},Ye.prototype.readFloatBE=function(e,n){return n||Nt(e,4,this.length),gn(this,e,!1,23,4)},Ye.prototype.readDoubleLE=function(e,n){return n||Nt(e,8,this.length),gn(this,e,!0,52,8)},Ye.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")}Ye.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},Ye.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},Ye.prototype.writeUInt8=function(e,n,o){return e=+e,n=n|0,o||zt(this,e,n,1,255,0),Ye.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}Ye.prototype.writeUInt16LE=function(e,n,o){return e=+e,n=n|0,o||zt(this,e,n,2,65535,0),Ye.TYPED_ARRAY_SUPPORT?(this[n]=e&255,this[n+1]=e>>>8):vn(this,e,n,!0),n+2},Ye.prototype.writeUInt16BE=function(e,n,o){return e=+e,n=n|0,o||zt(this,e,n,2,65535,0),Ye.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}Ye.prototype.writeUInt32LE=function(e,n,o){return e=+e,n=n|0,o||zt(this,e,n,4,4294967295,0),Ye.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},Ye.prototype.writeUInt32BE=function(e,n,o){return e=+e,n=n|0,o||zt(this,e,n,4,4294967295,0),Ye.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},Ye.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},Ye.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},Ye.prototype.writeInt8=function(e,n,o){return e=+e,n=n|0,o||zt(this,e,n,1,127,-128),Ye.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[n]=e&255,n+1},Ye.prototype.writeInt16LE=function(e,n,o){return e=+e,n=n|0,o||zt(this,e,n,2,32767,-32768),Ye.TYPED_ARRAY_SUPPORT?(this[n]=e&255,this[n+1]=e>>>8):vn(this,e,n,!0),n+2},Ye.prototype.writeInt16BE=function(e,n,o){return e=+e,n=n|0,o||zt(this,e,n,2,32767,-32768),Ye.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=e&255):vn(this,e,n,!1),n+2},Ye.prototype.writeInt32LE=function(e,n,o){return e=+e,n=n|0,o||zt(this,e,n,4,2147483647,-2147483648),Ye.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},Ye.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),Ye.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 lm(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 um(a,e,n,o,t){return t||lm(a,e,n,4),Qp(a,e,n,o,23,4),n+4}Ye.prototype.writeFloatLE=function(e,n,o){return um(this,e,n,!0,o)},Ye.prototype.writeFloatBE=function(e,n,o){return um(this,e,n,!1,o)};function cm(a,e,n,o,t){return t||lm(a,e,n,8),Qp(a,e,n,o,52,8),n+8}Ye.prototype.writeDoubleLE=function(e,n,o){return cm(this,e,n,!0,o)},Ye.prototype.writeDoubleBE=function(e,n,o){return cm(this,e,n,!1,o)},Ye.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||!Ye.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},Ye.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"&&!Ye.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 Ye(e,t).toString()),r=u.length;for(p=0;p<o-n;++p)this[p+n]=u[p%r]}return this};var kx=/[^+\/0-9A-Za-z-_]/g;function Dx(a){if(a=Ix(a).replace(kx,""),a.length<2)return"";for(;a.length%4!==0;)a=a+"=";return a}function Ix(a){return a.trim?a.trim():a.replace(/^\s+|\s+$/g,"")}function Px(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 Fx(a){for(var e=[],n=0;n<a.length;++n)e.push(a.charCodeAt(n)&255);return e}function Rx(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 fm(a){return ix(Dx(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 _x(a){return a!==a}function Bx(a){return a!=null&&(!!a._isBuffer||pm(a)||Lx(a))}function pm(a){return!!a.constructor&&typeof a.constructor.isBuffer=="function"&&a.constructor.isBuffer(a)}function Lx(a){return typeof a.readFloatLE=="function"&&typeof a.slice=="function"&&pm(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 mm=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},Ox=/%[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(Ox,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 dm(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:Mx};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=Nx),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 Nx(a,e){var n=ir.styles[e];return n?"\x1B["+ir.colors[n][0]+"m"+a+"\x1B["+ir.colors[n][1]+"m":a}function Mx(a,e){return a}function jx(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=Ux(a,e);if(t)return t;var l=Object.keys(e),p=jx(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 d;return m?d=qx(a,e,n,p,l):d=l.map(function(s){return Qn(a,e,n,p,s,m)}),a.seen.pop(),Vx(d,r,i)}function Ux(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 qx(a,e,n,o,t){for(var l=[],p=0,u=e.length;p<u;++p)Sm(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")),Sm(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 Vx(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 gm(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 ym(a){return a===null||typeof a=="boolean"||typeof a=="number"||typeof a=="string"||typeof a=="symbol"||typeof a>"u"}function vm(a){return Ye.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 $x=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Wx(){var a=new Date,e=[rs(a.getHours()),rs(a.getMinutes()),rs(a.getSeconds())].join(":");return[a.getDate(),$x[a.getMonth()],e].join(" ")}function Em(){console.log("%s - %s",Wx(),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 Sm(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,mm(a))}ss.custom=Tr;function Gx(a,e){if(!a){var n=new Error("Promise was rejected with a falsy value");n.reason=a,a=n}return e(a)}function bm(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(Gx.bind(null,u,p))})}return Object.setPrototypeOf(e,Object.getPrototypeOf(a)),Object.defineProperties(e,mm(a)),e}var zx={inherits:xn,_extend:ns,log:Em,isBuffer:vm,isPrimitive:ym,isFunction:Yr,isError:Jr,isDate:kn,isObject:Ar,isRegExp:Xr,isUndefined:or,isSymbol:gm,isString:Kr,isNumber:es,isNullOrUndefined:hm,isNull:Hr,isBoolean:Tn,isArray:Zn,inspect:ir,deprecate:Xn,format:Cn,debuglog:dm,promisify:ss,callbackify:bm},Hx=Object.freeze({__proto__:null,_extend:ns,callbackify:bm,debuglog:dm,default:zx,deprecate:Xn,format:Cn,inherits:xn,inspect:ir,isArray:Zn,isBoolean:Tn,isBuffer:vm,isDate:kn,isError:Jr,isFunction:Yr,isNull:Hr,isNullOrUndefined:hm,isNumber:es,isObject:Ar,isPrimitive:ym,isRegExp:Xr,isString:Kr,isSymbol:gm,isUndefined:or,log:Em,promisify:ss}),Kx=Ap(Hx),Dn={exports:{}};/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */var xm;function Xx(){return xm||(xm=1,function(a,e){(function(n,o){o(e)})(this,function(n){function o(){for(var me=arguments.length,pe=Array(me),ve=0;ve<me;ve++)pe[ve]=arguments[ve];if(pe.length>1){pe[0]=pe[0].slice(0,-1);for(var De=pe.length-1,Fe=1;Fe<De;++Fe)pe[Fe]=pe[Fe].slice(1,-1);return pe[De]=pe[De].slice(1),pe.join("")}else return pe[0]}function t(me){return"(?:"+me+")"}function l(me){return me===void 0?"undefined":me===null?"null":Object.prototype.toString.call(me).split(" ").pop().split("]").shift().toLowerCase()}function p(me){return me.toUpperCase()}function u(me){return me!=null?me instanceof Array?me:typeof me.length!="number"||me.split||me.setInterval||me.call?[me]:Array.prototype.slice.call(me):[]}function r(me,pe){var ve=me;if(pe)for(var De in pe)ve[De]=pe[De];return ve}function m(me){var pe="[A-Za-z]",ve="[0-9]",De=o(ve,"[A-Fa-f]"),Fe=t(t("%[EFef]"+De+"%"+De+De+"%"+De+De)+"|"+t("%[89A-Fa-f]"+De+"%"+De+De)+"|"+t("%"+De+De)),at="[\\:\\/\\?\\#\\[\\]\\@]",Ue="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",Xe=o(at,Ue),ot=me?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",He=me?"[\\uE000-\\uF8FF]":"[]",nt=o(pe,ve,"[\\-\\.\\_\\~]",ot);t(pe+o(pe,ve,"[\\+\\-\\.]")+"*"),t(t(Fe+"|"+o(nt,Ue,"[\\:]"))+"*");var pt=t(t("25[0-5]")+"|"+t("2[0-4]"+ve)+"|"+t("1"+ve+ve)+"|"+t("0?[1-9]"+ve)+"|0?0?"+ve),ht=t(pt+"\\."+pt+"\\."+pt+"\\."+pt),ft=t(De+"{1,4}"),gt=t(t(ft+"\\:"+ft)+"|"+ht),Ct=t(t(ft+"\\:")+"{6}"+gt),bt=t("\\:\\:"+t(ft+"\\:")+"{5}"+gt),Rt=t(t(ft)+"?\\:\\:"+t(ft+"\\:")+"{4}"+gt),_t=t(t(t(ft+"\\:")+"{0,1}"+ft)+"?\\:\\:"+t(ft+"\\:")+"{3}"+gt),Bt=t(t(t(ft+"\\:")+"{0,2}"+ft)+"?\\:\\:"+t(ft+"\\:")+"{2}"+gt),Ht=t(t(t(ft+"\\:")+"{0,3}"+ft)+"?\\:\\:"+ft+"\\:"+gt),Gt=t(t(t(ft+"\\:")+"{0,4}"+ft)+"?\\:\\:"+gt),Ot=t(t(t(ft+"\\:")+"{0,5}"+ft)+"?\\:\\:"+ft),$t=t(t(t(ft+"\\:")+"{0,6}"+ft)+"?\\:\\:"),lt=t([Ct,bt,Rt,_t,Bt,Ht,Gt,Ot,$t].join("|")),Mt=t(t(nt+"|"+Fe)+"+");t("[vV]"+De+"+\\."+o(nt,Ue,"[\\:]")+"+"),t(t(Fe+"|"+o(nt,Ue))+"*");var Lt=t(Fe+"|"+o(nt,Ue,"[\\:\\@]"));return t(t(Fe+"|"+o(nt,Ue,"[\\@]"))+"+"),t(t(Lt+"|"+o("[\\/\\?]",He))+"*"),{NOT_SCHEME:new RegExp(o("[^]",pe,ve,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(o("[^\\%\\:]",nt,Ue),"g"),NOT_HOST:new RegExp(o("[^\\%\\[\\]\\:]",nt,Ue),"g"),NOT_PATH:new RegExp(o("[^\\%\\/\\:\\@]",nt,Ue),"g"),NOT_PATH_NOSCHEME:new RegExp(o("[^\\%\\/\\@]",nt,Ue),"g"),NOT_QUERY:new RegExp(o("[^\\%]",nt,Ue,"[\\:\\@\\/\\?]",He),"g"),NOT_FRAGMENT:new RegExp(o("[^\\%]",nt,Ue,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(o("[^]",nt,Ue),"g"),UNRESERVED:new RegExp(nt,"g"),OTHER_CHARS:new RegExp(o("[^\\%]",nt,Xe),"g"),PCT_ENCODED:new RegExp(Fe,"g"),IPV4ADDRESS:new RegExp("^("+ht+")$"),IPV6ADDRESS:new RegExp("^\\[?("+lt+")"+t(t("\\%25|\\%(?!"+De+"{2})")+"("+Mt+")")+"?\\]?$")}}var i=m(!1),c=m(!0),d=function(){function me(pe,ve){var De=[],Fe=!0,at=!1,Ue=void 0;try{for(var Xe=pe[Symbol.iterator](),ot;!(Fe=(ot=Xe.next()).done)&&(De.push(ot.value),!(ve&&De.length===ve));Fe=!0);}catch(He){at=!0,Ue=He}finally{try{!Fe&&Xe.return&&Xe.return()}finally{if(at)throw Ue}}return De}return function(pe,ve){if(Array.isArray(pe))return pe;if(Symbol.iterator in Object(pe))return me(pe,ve);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(me){if(Array.isArray(me)){for(var pe=0,ve=Array(me.length);pe<me.length;pe++)ve[pe]=me[pe];return ve}else return Array.from(me)},f=2147483647,g=36,h=1,E=26,S=38,C=700,T=72,x=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-h,F=Math.floor,L=String.fromCharCode;function P(me){throw new RangeError(k[me])}function O(me,pe){for(var ve=[],De=me.length;De--;)ve[De]=pe(me[De]);return ve}function $(me,pe){var ve=me.split("@"),De="";ve.length>1&&(De=ve[0]+"@",me=ve[1]),me=me.replace(w,".");var Fe=me.split("."),at=O(Fe,pe).join(".");return De+at}function M(me){for(var pe=[],ve=0,De=me.length;ve<De;){var Fe=me.charCodeAt(ve++);if(Fe>=55296&&Fe<=56319&&ve<De){var at=me.charCodeAt(ve++);(at&64512)==56320?pe.push(((Fe&1023)<<10)+(at&1023)+65536):(pe.push(Fe),ve--)}else pe.push(Fe)}return pe}var _=function(pe){return String.fromCodePoint.apply(String,s(pe))},K=function(pe){return pe-48<10?pe-22:pe-65<26?pe-65:pe-97<26?pe-97:g},B=function(pe,ve){return pe+22+75*(pe<26)-((ve!=0)<<5)},X=function(pe,ve,De){var Fe=0;for(pe=De?F(pe/C):pe>>1,pe+=F(pe/ve);pe>R*E>>1;Fe+=g)pe=F(pe/R);return F(Fe+(R+1)*pe/(pe+S))},J=function(pe){var ve=[],De=pe.length,Fe=0,at=x,Ue=T,Xe=pe.lastIndexOf(v);Xe<0&&(Xe=0);for(var ot=0;ot<Xe;++ot)pe.charCodeAt(ot)>=128&&P("not-basic"),ve.push(pe.charCodeAt(ot));for(var He=Xe>0?Xe+1:0;He<De;){for(var nt=Fe,pt=1,ht=g;;ht+=g){He>=De&&P("invalid-input");var ft=K(pe.charCodeAt(He++));(ft>=g||ft>F((f-Fe)/pt))&&P("overflow"),Fe+=ft*pt;var gt=ht<=Ue?h:ht>=Ue+E?E:ht-Ue;if(ft<gt)break;var Ct=g-gt;pt>F(f/Ct)&&P("overflow"),pt*=Ct}var bt=ve.length+1;Ue=X(Fe-nt,bt,nt==0),F(Fe/bt)>f-at&&P("overflow"),at+=F(Fe/bt),Fe%=bt,ve.splice(Fe++,0,at)}return String.fromCodePoint.apply(String,ve)},ge=function(pe){var ve=[];pe=M(pe);var De=pe.length,Fe=x,at=0,Ue=T,Xe=!0,ot=!1,He=void 0;try{for(var nt=pe[Symbol.iterator](),pt;!(Xe=(pt=nt.next()).done);Xe=!0){var ht=pt.value;ht<128&&ve.push(L(ht))}}catch(Zt){ot=!0,He=Zt}finally{try{!Xe&&nt.return&&nt.return()}finally{if(ot)throw He}}var ft=ve.length,gt=ft;for(ft&&ve.push(v);gt<De;){var Ct=f,bt=!0,Rt=!1,_t=void 0;try{for(var Bt=pe[Symbol.iterator](),Ht;!(bt=(Ht=Bt.next()).done);bt=!0){var Gt=Ht.value;Gt>=Fe&&Gt<Ct&&(Ct=Gt)}}catch(Zt){Rt=!0,_t=Zt}finally{try{!bt&&Bt.return&&Bt.return()}finally{if(Rt)throw _t}}var Ot=gt+1;Ct-Fe>F((f-at)/Ot)&&P("overflow"),at+=(Ct-Fe)*Ot,Fe=Ct;var $t=!0,lt=!1,Mt=void 0;try{for(var Lt=pe[Symbol.iterator](),Er;!($t=(Er=Lt.next()).done);$t=!0){var Sr=Er.value;if(Sr<Fe&&++at>f&&P("overflow"),Sr==Fe){for(var Qt=at,cr=g;;cr+=g){var rr=cr<=Ue?h:cr>=Ue+E?E:cr-Ue;if(Qt<rr)break;var fr=Qt-rr,br=g-rr;ve.push(L(B(rr+fr%br,0))),Qt=F(fr/br)}ve.push(L(B(Qt,0))),Ue=X(at,Ot,gt==ft),at=0,++gt}}}catch(Zt){lt=!0,Mt=Zt}finally{try{!$t&&Lt.return&&Lt.return()}finally{if(lt)throw Mt}}++at,++Fe}return ve.join("")},ae=function(pe){return $(pe,function(ve){return A.test(ve)?J(ve.slice(4).toLowerCase()):ve})},ke=function(pe){return $(pe,function(ve){return b.test(ve)?"xn--"+ge(ve):ve})},Z={version:"2.1.0",ucs2:{decode:M,encode:_},decode:J,encode:ge,toASCII:ke,toUnicode:ae},I={};function H(me){var pe=me.charCodeAt(0),ve=void 0;return pe<16?ve="%0"+pe.toString(16).toUpperCase():pe<128?ve="%"+pe.toString(16).toUpperCase():pe<2048?ve="%"+(pe>>6|192).toString(16).toUpperCase()+"%"+(pe&63|128).toString(16).toUpperCase():ve="%"+(pe>>12|224).toString(16).toUpperCase()+"%"+(pe>>6&63|128).toString(16).toUpperCase()+"%"+(pe&63|128).toString(16).toUpperCase(),ve}function fe(me){for(var pe="",ve=0,De=me.length;ve<De;){var Fe=parseInt(me.substr(ve+1,2),16);if(Fe<128)pe+=String.fromCharCode(Fe),ve+=3;else if(Fe>=194&&Fe<224){if(De-ve>=6){var at=parseInt(me.substr(ve+4,2),16);pe+=String.fromCharCode((Fe&31)<<6|at&63)}else pe+=me.substr(ve,6);ve+=6}else if(Fe>=224){if(De-ve>=9){var Ue=parseInt(me.substr(ve+4,2),16),Xe=parseInt(me.substr(ve+7,2),16);pe+=String.fromCharCode((Fe&15)<<12|(Ue&63)<<6|Xe&63)}else pe+=me.substr(ve,9);ve+=9}else pe+=me.substr(ve,3),ve+=3}return pe}function ce(me,pe){function ve(De){var Fe=fe(De);return Fe.match(pe.UNRESERVED)?Fe:De}return me.scheme&&(me.scheme=String(me.scheme).replace(pe.PCT_ENCODED,ve).toLowerCase().replace(pe.NOT_SCHEME,"")),me.userinfo!==void 0&&(me.userinfo=String(me.userinfo).replace(pe.PCT_ENCODED,ve).replace(pe.NOT_USERINFO,H).replace(pe.PCT_ENCODED,p)),me.host!==void 0&&(me.host=String(me.host).replace(pe.PCT_ENCODED,ve).toLowerCase().replace(pe.NOT_HOST,H).replace(pe.PCT_ENCODED,p)),me.path!==void 0&&(me.path=String(me.path).replace(pe.PCT_ENCODED,ve).replace(me.scheme?pe.NOT_PATH:pe.NOT_PATH_NOSCHEME,H).replace(pe.PCT_ENCODED,p)),me.query!==void 0&&(me.query=String(me.query).replace(pe.PCT_ENCODED,ve).replace(pe.NOT_QUERY,H).replace(pe.PCT_ENCODED,p)),me.fragment!==void 0&&(me.fragment=String(me.fragment).replace(pe.PCT_ENCODED,ve).replace(pe.NOT_FRAGMENT,H).replace(pe.PCT_ENCODED,p)),me}function ie(me){return me.replace(/^0*(.*)/,"$1")||"0"}function de(me,pe){var ve=me.match(pe.IPV4ADDRESS)||[],De=d(ve,2),Fe=De[1];return Fe?Fe.split(".").map(ie).join("."):me}function xe(me,pe){var ve=me.match(pe.IPV6ADDRESS)||[],De=d(ve,3),Fe=De[1],at=De[2];if(Fe){for(var Ue=Fe.toLowerCase().split("::").reverse(),Xe=d(Ue,2),ot=Xe[0],He=Xe[1],nt=He?He.split(":").map(ie):[],pt=ot.split(":").map(ie),ht=pe.IPV4ADDRESS.test(pt[pt.length-1]),ft=ht?7:8,gt=pt.length-ft,Ct=Array(ft),bt=0;bt<ft;++bt)Ct[bt]=nt[bt]||pt[gt+bt]||"";ht&&(Ct[ft-1]=de(Ct[ft-1],pe));var Rt=Ct.reduce(function(Ot,$t,lt){if(!$t||$t==="0"){var Mt=Ot[Ot.length-1];Mt&&Mt.index+Mt.length===lt?Mt.length++:Ot.push({index:lt,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 at&&(Bt+="%"+at),Bt}else return me}var be=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Ae="".match(/(){0}/)[1]===void 0;function ee(me){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ve={},De=pe.iri!==!1?c:i;pe.reference==="suffix"&&(me=(pe.scheme?pe.scheme+":":"")+"//"+me);var Fe=me.match(be);if(Fe){Ae?(ve.scheme=Fe[1],ve.userinfo=Fe[3],ve.host=Fe[4],ve.port=parseInt(Fe[5],10),ve.path=Fe[6]||"",ve.query=Fe[7],ve.fragment=Fe[8],isNaN(ve.port)&&(ve.port=Fe[5])):(ve.scheme=Fe[1]||void 0,ve.userinfo=me.indexOf("@")!==-1?Fe[3]:void 0,ve.host=me.indexOf("//")!==-1?Fe[4]:void 0,ve.port=parseInt(Fe[5],10),ve.path=Fe[6]||"",ve.query=me.indexOf("?")!==-1?Fe[7]:void 0,ve.fragment=me.indexOf("#")!==-1?Fe[8]:void 0,isNaN(ve.port)&&(ve.port=me.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?Fe[4]:void 0)),ve.host&&(ve.host=xe(de(ve.host,De),De)),ve.scheme===void 0&&ve.userinfo===void 0&&ve.host===void 0&&ve.port===void 0&&!ve.path&&ve.query===void 0?ve.reference="same-document":ve.scheme===void 0?ve.reference="relative":ve.fragment===void 0?ve.reference="absolute":ve.reference="uri",pe.reference&&pe.reference!=="suffix"&&pe.reference!==ve.reference&&(ve.error=ve.error||"URI is not a "+pe.reference+" reference.");var at=I[(pe.scheme||ve.scheme||"").toLowerCase()];if(!pe.unicodeSupport&&(!at||!at.unicodeSupport)){if(ve.host&&(pe.domainHost||at&&at.domainHost))try{ve.host=Z.toASCII(ve.host.replace(De.PCT_ENCODED,fe).toLowerCase())}catch(Ue){ve.error=ve.error||"Host's domain name can not be converted to ASCII via punycode: "+Ue}ce(ve,i)}else ce(ve,De);at&&at.parse&&at.parse(ve,pe)}else ve.error=ve.error||"URI can not be parsed.";return ve}function ne(me,pe){var ve=pe.iri!==!1?c:i,De=[];return me.userinfo!==void 0&&(De.push(me.userinfo),De.push("@")),me.host!==void 0&&De.push(xe(de(String(me.host),ve),ve).replace(ve.IPV6ADDRESS,function(Fe,at,Ue){return"["+at+(Ue?"%25"+Ue:"")+"]"})),(typeof me.port=="number"||typeof me.port=="string")&&(De.push(":"),De.push(String(me.port))),De.length?De.join(""):void 0}var we=/^\.\.?\//,z=/^\/\.(\/|$)/,oe=/^\/\.\.(\/|$)/,Te=/^\/?(?:.|\n)*?(?=\/|$)/;function Re(me){for(var pe=[];me.length;)if(me.match(we))me=me.replace(we,"");else if(me.match(z))me=me.replace(z,"/");else if(me.match(oe))me=me.replace(oe,"/"),pe.pop();else if(me==="."||me==="..")me="";else{var ve=me.match(Te);if(ve){var De=ve[0];me=me.slice(De.length),pe.push(De)}else throw new Error("Unexpected dot segment condition")}return pe.join("")}function Pe(me){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ve=pe.iri?c:i,De=[],Fe=I[(pe.scheme||me.scheme||"").toLowerCase()];if(Fe&&Fe.serialize&&Fe.serialize(me,pe),me.host&&!ve.IPV6ADDRESS.test(me.host)){if(pe.domainHost||Fe&&Fe.domainHost)try{me.host=pe.iri?Z.toUnicode(me.host):Z.toASCII(me.host.replace(ve.PCT_ENCODED,fe).toLowerCase())}catch(Xe){me.error=me.error||"Host's domain name can not be converted to "+(pe.iri?"Unicode":"ASCII")+" via punycode: "+Xe}}ce(me,ve),pe.reference!=="suffix"&&me.scheme&&(De.push(me.scheme),De.push(":"));var at=ne(me,pe);if(at!==void 0&&(pe.reference!=="suffix"&&De.push("//"),De.push(at),me.path&&me.path.charAt(0)!=="/"&&De.push("/")),me.path!==void 0){var Ue=me.path;!pe.absolutePath&&(!Fe||!Fe.absolutePath)&&(Ue=Re(Ue)),at===void 0&&(Ue=Ue.replace(/^\/\//,"/%2F")),De.push(Ue)}return me.query!==void 0&&(De.push("?"),De.push(me.query)),me.fragment!==void 0&&(De.push("#"),De.push(me.fragment)),De.join("")}function G(me,pe){var ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},De=arguments[3],Fe={};return De||(me=ee(Pe(me,ve),ve),pe=ee(Pe(pe,ve),ve)),ve=ve||{},!ve.tolerant&&pe.scheme?(Fe.scheme=pe.scheme,Fe.userinfo=pe.userinfo,Fe.host=pe.host,Fe.port=pe.port,Fe.path=Re(pe.path||""),Fe.query=pe.query):(pe.userinfo!==void 0||pe.host!==void 0||pe.port!==void 0?(Fe.userinfo=pe.userinfo,Fe.host=pe.host,Fe.port=pe.port,Fe.path=Re(pe.path||""),Fe.query=pe.query):(pe.path?(pe.path.charAt(0)==="/"?Fe.path=Re(pe.path):((me.userinfo!==void 0||me.host!==void 0||me.port!==void 0)&&!me.path?Fe.path="/"+pe.path:me.path?Fe.path=me.path.slice(0,me.path.lastIndexOf("/")+1)+pe.path:Fe.path=pe.path,Fe.path=Re(Fe.path)),Fe.query=pe.query):(Fe.path=me.path,pe.query!==void 0?Fe.query=pe.query:Fe.query=me.query),Fe.userinfo=me.userinfo,Fe.host=me.host,Fe.port=me.port),Fe.scheme=me.scheme),Fe.fragment=pe.fragment,Fe}function Je(me,pe,ve){var De=r({scheme:"null"},ve);return Pe(G(ee(me,De),ee(pe,De),De,!0),De)}function ut(me,pe){return typeof me=="string"?me=Pe(ee(me,pe),pe):l(me)==="object"&&(me=ee(Pe(me,pe),pe)),me}function tt(me,pe,ve){return typeof me=="string"?me=Pe(ee(me,ve),ve):l(me)==="object"&&(me=Pe(me,ve)),typeof pe=="string"?pe=Pe(ee(pe,ve),ve):l(pe)==="object"&&(pe=Pe(pe,ve)),me===pe}function qe(me,pe){return me&&me.toString().replace(!pe||!pe.iri?i.ESCAPE:c.ESCAPE,H)}function We(me,pe){return me&&me.toString().replace(!pe||!pe.iri?i.PCT_ENCODED:c.PCT_ENCODED,fe)}var st={scheme:"http",domainHost:!0,parse:function(pe,ve){return pe.host||(pe.error=pe.error||"HTTP URIs must have a host."),pe},serialize:function(pe,ve){var De=String(pe.scheme).toLowerCase()==="https";return(pe.port===(De?443:80)||pe.port==="")&&(pe.port=void 0),pe.path||(pe.path="/"),pe}},mt={scheme:"https",domainHost:st.domainHost,parse:st.parse,serialize:st.serialize};function rt(me){return typeof me.secure=="boolean"?me.secure:String(me.scheme).toLowerCase()==="wss"}var Qe={scheme:"ws",domainHost:!0,parse:function(pe,ve){var De=pe;return De.secure=rt(De),De.resourceName=(De.path||"/")+(De.query?"?"+De.query:""),De.path=void 0,De.query=void 0,De},serialize:function(pe,ve){if((pe.port===(rt(pe)?443:80)||pe.port==="")&&(pe.port=void 0),typeof pe.secure=="boolean"&&(pe.scheme=pe.secure?"wss":"ws",pe.secure=void 0),pe.resourceName){var De=pe.resourceName.split("?"),Fe=d(De,2),at=Fe[0],Ue=Fe[1];pe.path=at&&at!=="/"?at:void 0,pe.query=Ue,pe.resourceName=void 0}return pe.fragment=void 0,pe}},Et={scheme:"wss",domainHost:Qe.domainHost,parse:Qe.parse,serialize:Qe.serialize},Ze={},xt="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",Ke="[0-9A-Fa-f]",$e=t(t("%[EFef]"+Ke+"%"+Ke+Ke+"%"+Ke+Ke)+"|"+t("%[89A-Fa-f]"+Ke+"%"+Ke+Ke)+"|"+t("%"+Ke+Ke)),Ee="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",j="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",U=o(j,'[\\"\\\\]'),V="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Q=new RegExp(xt,"g"),le=new RegExp($e,"g"),te=new RegExp(o("[^]",Ee,"[\\.]",'[\\"]',U),"g"),q=new RegExp(o("[^]",xt,V),"g"),se=q;function ue(me){var pe=fe(me);return pe.match(Q)?pe:me}var Se={scheme:"mailto",parse:function(pe,ve){var De=pe,Fe=De.to=De.path?De.path.split(","):[];if(De.path=void 0,De.query){for(var at=!1,Ue={},Xe=De.query.split("&"),ot=0,He=Xe.length;ot<He;++ot){var nt=Xe[ot].split("=");switch(nt[0]){case"to":for(var pt=nt[1].split(","),ht=0,ft=pt.length;ht<ft;++ht)Fe.push(pt[ht]);break;case"subject":De.subject=We(nt[1],ve);break;case"body":De.body=We(nt[1],ve);break;default:at=!0,Ue[We(nt[0],ve)]=We(nt[1],ve);break}}at&&(De.headers=Ue)}De.query=void 0;for(var gt=0,Ct=Fe.length;gt<Ct;++gt){var bt=Fe[gt].split("@");if(bt[0]=We(bt[0]),ve.unicodeSupport)bt[1]=We(bt[1],ve).toLowerCase();else try{bt[1]=Z.toASCII(We(bt[1],ve).toLowerCase())}catch(Rt){De.error=De.error||"Email address's domain name can not be converted to ASCII via punycode: "+Rt}Fe[gt]=bt.join("@")}return De},serialize:function(pe,ve){var De=pe,Fe=u(pe.to);if(Fe){for(var at=0,Ue=Fe.length;at<Ue;++at){var Xe=String(Fe[at]),ot=Xe.lastIndexOf("@"),He=Xe.slice(0,ot).replace(le,ue).replace(le,p).replace(te,H),nt=Xe.slice(ot+1);try{nt=ve.iri?Z.toUnicode(nt):Z.toASCII(We(nt,ve).toLowerCase())}catch(gt){De.error=De.error||"Email address's domain name can not be converted to "+(ve.iri?"Unicode":"ASCII")+" via punycode: "+gt}Fe[at]=He+"@"+nt}De.path=Fe.join(",")}var pt=pe.headers=pe.headers||{};pe.subject&&(pt.subject=pe.subject),pe.body&&(pt.body=pe.body);var ht=[];for(var ft in pt)pt[ft]!==Ze[ft]&&ht.push(ft.replace(le,ue).replace(le,p).replace(q,H)+"="+pt[ft].replace(le,ue).replace(le,p).replace(se,H));return ht.length&&(De.query=ht.join("&")),De}},Oe=/^([^\:]+)\:(.*)/,Ie={scheme:"urn",parse:function(pe,ve){var De=pe.path&&pe.path.match(Oe),Fe=pe;if(De){var at=ve.scheme||Fe.scheme||"urn",Ue=De[1].toLowerCase(),Xe=De[2],ot=at+":"+(ve.nid||Ue),He=I[ot];Fe.nid=Ue,Fe.nss=Xe,Fe.path=void 0,He&&(Fe=He.parse(Fe,ve))}else Fe.error=Fe.error||"URN can not be parsed.";return Fe},serialize:function(pe,ve){var De=ve.scheme||pe.scheme||"urn",Fe=pe.nid,at=De+":"+(ve.nid||Fe),Ue=I[at];Ue&&(pe=Ue.serialize(pe,ve));var Xe=pe,ot=pe.nss;return Xe.path=(Fe||ve.nid)+":"+ot,Xe}},Ge=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ze={scheme:"urn:uuid",parse:function(pe,ve){var De=pe;return De.uuid=De.nss,De.nss=void 0,!ve.tolerant&&(!De.uuid||!De.uuid.match(Ge))&&(De.error=De.error||"UUID is not valid."),De},serialize:function(pe,ve){var De=pe;return De.nss=(pe.uuid||"").toLowerCase(),De}};I[st.scheme]=st,I[mt.scheme]=mt,I[Qe.scheme]=Qe,I[Et.scheme]=Et,I[Se.scheme]=Se,I[Ie.scheme]=Ie,I[ze.scheme]=ze,n.SCHEMES=I,n.pctEncChar=H,n.pctDecChars=fe,n.parse=ee,n.removeDotSegments=Re,n.serialize=Pe,n.resolveComponents=G,n.resolve=Je,n.normalize=ut,n.equal=tt,n.escapeComponent=qe,n.unescapeComponent=We,Object.defineProperty(n,"__esModule",{value:!0})})}(Dn,Dn.exports)),Dn.exports}var as,Cm;function is(){return Cm||(Cm=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,wm;function Jx(){return wm||(wm=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,Am;function Lr(){if(Am)return ls;Am=1,ls={copy:a,checkDataType:e,checkDataTypes:n,coerceToTypes:t,toHash:l,getProperty:r,escapeQuotes:m,equal:is(),ucs2length:Jx(),varOccurences:i,varReplace:c,schemaHasRules:d,schemaHasRulesExcept:s,schemaUnknownRules:f,toQuotedString:g,getPathExpr:h,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?" || ":" && ",$=L?"!":"",M=L?"":"!";switch(k){case"null":return R+P+"null";case"array":return $+"Array.isArray("+R+")";case"object":return"("+$+R+O+"typeof "+R+P+'"object"'+O+M+"Array.isArray("+R+"))";case"integer":return"(typeof "+R+P+'"number"'+O+M+"("+R+" % 1)"+O+R+P+R+(F?O+$+"isFinite("+R+")":"")+")";case"number":return"(typeof "+R+P+'"'+k+'"'+(F?O+$+"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 d(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 h(k,R,F,L){var P=F?"'/' + "+R+(L?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):L?"'[' + "+R+" + ']'":"'[\\'' + "+R+" + '\\']'";return x(k,P)}function E(k,R,F){var L=g(F?"/"+b(R):r(R));return x(k,L)}var S=/^\/(?:[^~]|~0|~1)*$/,C=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function T(k,R,F){var L,P,O,$;if(k==="")return"rootData";if(k[0]=="/"){if(!S.test(k))throw new Error("Invalid JSON-pointer: "+k);P=k,O="rootData"}else{if($=k.match(C),!$)throw new Error("Invalid JSON-pointer: "+k);if(L=+$[1],P=$[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 M=O,_=P.split("/"),K=0;K<_.length;K++){var B=_[K];B&&(O+=r(w(B)),M+=" && "+O)}return M}function x(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,Tm;function km(){if(Tm)return us;Tm=1;var a=Lr();us=e;function e(n){a.copy(n,this)}return us}var cs={exports:{}},Dm;function Yx(){if(Dm)return cs.exports;Dm=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,d){if(p&&typeof p=="object"&&!Array.isArray(p)){t(p,u,r,m,i,c,d);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 h in f)e(o,t,l,f[h],u+"/"+s+"/"+n(h),r,u,s,p,h)}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,d)}}function n(o){return o.replace(/~/g,"~0").replace(/\//g,"~1")}return cs.exports}var fs,Im;function ps(){if(Im)return fs;Im=1;var a=Xx(),e=is(),n=Lr(),o=km(),t=Yx();fs=l,l.normalizeId=E,l.fullPath=f,l.url=S,l.ids=C,l.inlineRef=c,l.schema=p;function l(T,x,v){var A=this._refs[v];if(typeof A=="string")if(this._refs[A])A=this._refs[A];else return l.call(this,T,x,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,x,v),w,k,R;return b&&(w=b.schema,x=b.root,R=b.baseId),w instanceof o?k=w.validate||T.call(this,w.schema,x,void 0,R):w!==void 0&&(k=c(w,this._opts.inlineRefs)?w:T.call(this,w,x,void 0,R)),k}function p(T,x){var v=a.parse(x),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(x))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,x,v){var A=p.call(this,T,x);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,x,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&&(x=S(x,R)),v.$ref)){var F=S(x,v.$ref),L=p.call(this,A,F);L&&(v=L.schema,A=L.root,x=L.baseId)}}}if(v!==void 0&&v!==A.schema)return{schema:v,root:A,baseId:x}}}var i=n.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function c(T,x){if(x===!1)return!1;if(x===void 0||x===!0)return d(T);if(x)return s(T)<=x}function d(T){var x;if(Array.isArray(T)){for(var v=0;v<T.length;v++)if(x=T[v],typeof x=="object"&&!d(x))return!1}else for(var A in T)if(A=="$ref"||(x=T[A],typeof x=="object"&&!d(x)))return!1;return!0}function s(T){var x=0,v;if(Array.isArray(T)){for(var A=0;A<T.length;A++)if(v=T[A],typeof v=="object"&&(x+=s(v)),x==1/0)return 1/0}else for(var b in T){if(b=="$ref")return 1/0;if(i[b])x++;else if(v=T[b],typeof v=="object"&&(x+=s(v)+1),x==1/0)return 1/0}return x}function f(T,x){x!==!1&&(T=E(T));var v=a.parse(T);return g(v)}function g(T){return a.serialize(T).split("#")[0]+"#"}var h=/#\/?$/;function E(T){return T?T.replace(h,""):""}function S(T,x){return x=E(x),a.resolve(T,x)}function C(T){var x=E(this._getId(T)),v={"":x},A={"":f(x,!1)},b={},w=this;return t(T,{allKeys:!0},function(k,R,F,L,P,O,$){if(R!==""){var M=w._getId(k),_=v[L],K=A[L]+"/"+P;if($!==void 0&&(K+="/"+(typeof $=="number"?$:n.escapeFragment($))),typeof M=="string"){M=_=E(_?a.resolve(_,M):M);var B=w._refs[M];if(typeof B=="string"&&(B=w._refs[B]),B&&B.schema){if(!e(k,B.schema))throw new Error('id "'+M+'" resolves to more than one schema')}else if(M!=E(K))if(M[0]=="#"){if(b[M]&&!e(k,b[M]))throw new Error('id "'+M+'" resolves to more than one schema');b[M]=k}else w._refs[M]=K}v[R]=_,A[R]=K}}),b}return fs}var ms,Pm;function ds(){if(Pm)return ms;Pm=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 hs,Fm;function Rm(){return Fm||(Fm=1,hs=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],d=l(p[c]);d&&(r&&(r+=","),r+=JSON.stringify(c)+":"+d)}return t.splice(m,1),"{"+r+"}"}}(a)}),hs}var gs,_m;function Bm(){return _m||(_m=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,d=e.schema[n],s=e.schemaPath+e.util.getProperty(n),f=e.errSchemaPath+"/"+n,x=!e.opts.allErrors,b,g="data"+(c||""),T="valid"+i;if(e.schema===!1){e.isTop?x=!0:t+=" var "+T+" = false; ";var h=h||[];h.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=h.pop(),!e.compositeRule&&x?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 C="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(C);else throw new Error(C)}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,x=!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&&!z(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 $=R;if($)for(var M,_=-1,K=$.length-1;_<K;)M=$[_+=1],M=="string"?t+=" else if ("+P+" == 'number' || "+P+" == 'boolean') "+O+" = '' + "+g+"; else if ("+g+" === null) "+O+" = ''; ":M=="number"||M=="integer"?(t+=" else if ("+P+" == 'boolean' || "+g+" === null || ("+P+" == 'string' && "+g+" && "+g+" == +"+g+" ",M=="integer"&&(t+=" && !("+g+" % 1)"),t+=")) "+O+" = +"+g+"; "):M=="boolean"?t+=" else if ("+g+" === 'false' || "+g+" === 0 || "+g+" === null) "+O+" = false; else if ("+g+" === 'true' || "+g+" === 1) "+O+" = true; ":M=="null"?t+=" else if ("+g+" === '' || "+g+" === 0 || "+g+" === false) "+O+" = null; ":e.opts.coerceTypes=="array"&&M=="array"&&(t+=" else if ("+P+" == 'string' || "+P+" == 'number' || "+P+" == 'boolean' || "+g+" == null) "+O+" = ["+g+"]; ");t+=" else { ";var h=h||[];h.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=h.pop(),!e.compositeRule&&x?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",X=c?e.dataPathArr[c]:"parentDataProperty";t+=" "+g+" = "+O+"; ",c||(t+="if ("+B+" !== undefined)"),t+=" "+B+"["+X+"] = "+O+"; } "}else{var h=h||[];h.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=h.pop(),!e.compositeRule&&x?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")+" ",x&&(t+=" } if (errors === ",S?t+="0":t+="errs_"+i,t+=") { ",A+="}");else{var J=e.RULES;if(J){for(var F,ge=-1,ae=J.length-1;ge<ae;)if(F=J[ge+=1],z(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 d=e.schema.properties,ke=Object.keys(d),Z=ke;if(Z)for(var I,H=-1,fe=Z.length-1;H<fe;){I=Z[H+=1];var ce=d[I];if(ce.default!==void 0){var ie=g+e.util.getProperty(I);if(e.compositeRule){if(e.opts.strictDefaults){var C="default is ignored for: "+ie;if(e.opts.strictDefaults==="log")e.logger.warn(C);else throw new Error(C)}}else t+=" if ("+ie+" === undefined ",e.opts.useDefaults=="empty"&&(t+=" || "+ie+" === null || "+ie+" === '' "),t+=" ) "+ie+" = ",e.opts.useDefaults=="shared"?t+=" "+e.useDefault(ce.default)+" ":t+=" "+JSON.stringify(ce.default)+" ",t+="; "}}}else if(F.type=="array"&&Array.isArray(e.schema.items)){var de=e.schema.items;if(de){for(var ce,_=-1,xe=de.length-1;_<xe;)if(ce=de[_+=1],ce.default!==void 0){var ie=g+"["+_+"]";if(e.compositeRule){if(e.opts.strictDefaults){var C="default is ignored for: "+ie;if(e.opts.strictDefaults==="log")e.logger.warn(C);else throw new Error(C)}}else t+=" if ("+ie+" === undefined ",e.opts.useDefaults=="empty"&&(t+=" || "+ie+" === null || "+ie+" === '' "),t+=" ) "+ie+" = ",e.opts.useDefaults=="shared"?t+=" "+e.useDefault(ce.default)+" ":t+=" "+JSON.stringify(ce.default)+" ",t+="; "}}}}var be=F.rules;if(be){for(var Ae,ee=-1,ne=be.length-1;ee<ne;)if(Ae=be[ee+=1],oe(Ae)){var we=Ae.code(e,Ae.keyword,F.type);we&&(t+=" "+we+" ",x&&(v+="}"))}}if(x&&(t+=" "+v+" ",v=""),F.type&&(t+=" } ",w&&w===F.type&&!R)){t+=" else { ";var s=e.schemaPath+".type",f=e.errSchemaPath+"/type",h=h||[];h.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=h.pop(),!e.compositeRule&&x?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+=" } "}x&&(t+=" if (errors === ",S?t+="0":t+="errs_"+i,t+=") { ",A+="}")}}}x&&(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 z(Re){for(var Pe=Re.rules,G=0;G<Pe.length;G++)if(oe(Pe[G]))return!0}function oe(Re){return e.schema[Re.keyword]!==void 0||Re.implements&&Te(Re)}function Te(Re){for(var Pe=Re.implements,G=0;G<Pe.length;G++)if(e.schema[Pe[G]]!==void 0)return!0}return t}),gs}var ys,Lm;function Qx(){if(Lm)return ys;Lm=1;var a=ps(),e=Lr(),n=ds(),o=Rm(),t=Bm(),l=e.ucs2length,p=is(),u=n.Validation;ys=r;function r(E,S,C,T){var x=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 $=this._formats,M=this.RULES;try{var _=X(E,S,C,T);O.validate=_;var K=O.callValidate;return K&&(K.schema=_.schema,K.errors=null,K.refs=_.refs,K.refVal=_.refVal,K.root=_.root,K.$async=_.$async,v.sourceCode&&(K.source=_.source)),_}finally{i.call(this,E,S,T)}function B(){var ce=O.validate,ie=ce.apply(this,arguments);return B.errors=ce.errors,ie}function X(ce,ie,de,xe){var be=!ie||ie&&ie.schema==ce;if(ie.schema!=S.schema)return r.call(x,ce,ie,de,xe);var Ae=ce.$async===!0,ee=t({isTop:!0,schema:ce,isRoot:be,baseId:xe,root:ie,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:n.MissingRef,RULES:M,validate:t,util:e,resolve:a,resolveRef:J,usePattern:I,useDefault:H,useCustomRule:fe,opts:v,formats:$,logger:x.logger,self:x});ee=h(A,f)+h(w,d)+h(R,s)+h(L,g)+ee,v.processCode&&(ee=v.processCode(ee,ce));var ne;try{var we=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",ee);ne=we(x,M,$,S,A,R,L,p,l,u),A[0]=ne}catch(z){throw x.logger.error("Error compiling schema, function code:",ee),z}return ne.schema=ce,ne.errors=null,ne.refs=b,ne.refVal=A,ne.root=be?ne:ie,Ae&&(ne.$async=!0),v.sourceCode===!0&&(ne.source={code:ee,patterns:w,defaults:R}),ne}function J(ce,ie,de){ie=a.url(ce,ie);var xe=b[ie],be,Ae;if(xe!==void 0)return be=A[xe],Ae="refVal["+xe+"]",Z(be,Ae);if(!de&&S.refs){var ee=S.refs[ie];if(ee!==void 0)return be=S.refVal[ee],Ae=ge(ie,be),Z(be,Ae)}Ae=ge(ie);var ne=a.call(x,X,S,ie);if(ne===void 0){var we=C&&C[ie];we&&(ne=a.inlineRef(we,v.inlineRefs)?we:r.call(x,we,S,C,ce))}if(ne===void 0)ae(ie);else return ke(ie,ne),Z(ne,Ae)}function ge(ce,ie){var de=A.length;return A[de]=ie,b[ce]=de,"refVal"+de}function ae(ce){delete b[ce]}function ke(ce,ie){var de=b[ce];A[de]=ie}function Z(ce,ie){return typeof ce=="object"||typeof ce=="boolean"?{code:ie,schema:ce,inline:!0}:{code:ie,$async:ce&&!!ce.$async}}function I(ce){var ie=k[ce];return ie===void 0&&(ie=k[ce]=w.length,w[ie]=ce),"pattern"+ie}function H(ce){switch(typeof ce){case"boolean":case"number":return""+ce;case"string":return e.toQuotedString(ce);case"object":if(ce===null)return"null";var ie=o(ce),de=F[ie];return de===void 0&&(de=F[ie]=R.length,R[de]=ce),"default"+de}}function fe(ce,ie,de,xe){if(x._opts.validateSchema!==!1){var be=ce.definition.dependencies;if(be&&!be.every(function(Pe){return Object.prototype.hasOwnProperty.call(de,Pe)}))throw new Error("parent schema must have all required keywords: "+be.join(","));var Ae=ce.definition.validateSchema;if(Ae){var ee=Ae(ie);if(!ee){var ne="keyword schema is invalid: "+x.errorsText(Ae.errors);if(x._opts.validateSchema=="log")x.logger.error(ne);else throw new Error(ne)}}}var we=ce.definition.compile,z=ce.definition.inline,oe=ce.definition.macro,Te;if(we)Te=we.call(x,ie,de,xe);else if(oe)Te=oe.call(x,ie,de,xe),v.validateSchema!==!1&&x.validateSchema(Te,!0);else if(z)Te=z.call(x,xe,ce.keyword,ie,de);else if(Te=ce.definition.validate,!Te)return;if(Te===void 0)throw new Error('custom keyword "'+ce.keyword+'"failed to compile');var Re=L.length;return L[Re]=Te,{code:"customRule"+Re,validate:Te}}}function m(E,S,C){var T=c.call(this,E,S,C);return T>=0?{index:T,compiling:!0}:(T=this._compilations.length,this._compilations[T]={schema:E,root:S,baseId:C},{index:T,compiling:!1})}function i(E,S,C){var T=c.call(this,E,S,C);T>=0&&this._compilations.splice(T,1)}function c(E,S,C){for(var T=0;T<this._compilations.length;T++){var x=this._compilations[T];if(x.schema==E&&x.root==S&&x.baseId==C)return T}return-1}function d(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 h(E,S){if(!E.length)return"";for(var C="",T=0;T<E.length;T++)C+=S(T,E);return C}return ys}var vs={exports:{}},Om;function Zx(){if(Om)return vs.exports;Om=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,Nm;function eC(){if(Nm)return Es;Nm=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,d=/^(?: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":d},s.full={date:g,time:h,"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":d};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 h(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])&&h(b[1],!0)}var C=/\/|:/;function T(A){return C.test(A)&&l.test(A)}var x=/[^\\]\\Z/;function v(A){if(x.test(A))return!1;try{return new RegExp(A),!0}catch{return!1}}return Es}var Ss,Mm;function tC(){return Mm||(Mm=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,d,s;if(u=="#"||u=="#/")e.isRoot?(d=e.async,s="validate"):(d=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 h=h||[];h.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=h.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 C="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 ("+C+") { ")}else d=f.$async===!0||e.async&&f.$async!==!1,s=f.code}if(s){var h=h||[];h.push(t),t="",e.opts.passContext?t+=" "+s+".call(this, ":t+=" "+s+"( ",t+=" "+i+", (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var x=p?"data"+(p-1||""):"parentData",v=p?e.dataPathArr[p]:"parentDataProperty";t+=" , "+x+" , "+v+", rootData) ";var A=t;if(t=h.pop(),d){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,jm;function rC(){return jm||(jm=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,d=m.baseId,s=!0,f=l;if(f)for(var g,h=-1,E=f.length-1;h<E;)g=f[h+=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+"["+h+"]",m.errSchemaPath=u+"/"+h,t+=" "+e.validate(m)+" ",m.baseId=d,r&&(t+=" if ("+c+") { ",i+="}"));return r&&(s?t+=" if (true) { ":t+=" "+i.slice(0,-1)+" "),t}),bs}var xs,Um;function nC(){return Um||(Um=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||""),d="valid"+l,s="errs__"+l,f=e.util.copy(e),g="";f.level++;var h="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 "+d+" = false; ";var C=e.compositeRule;e.compositeRule=f.compositeRule=!0;var T=u;if(T)for(var x,v=-1,A=T.length-1;v<A;)x=T[v+=1],f.schema=x,f.schemaPath=r+"["+v+"]",f.errSchemaPath=m+"/"+v,t+=" "+e.validate(f)+" ",f.baseId=S,t+=" "+d+" = "+d+" || "+h+"; if (!"+d+") { ",g+="}";e.compositeRule=f.compositeRule=C,t+=" "+g+" if (!"+d+") { 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,qm;function sC(){return qm||(qm=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,Vm;function aC(){return Vm||(Vm=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||""),d="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 "+d+" = equal("+c+", schema"+l+"); if (!"+d+") { ";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,$m;function iC(){return $m||($m=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||""),d="valid"+l,s="errs__"+l,f=e.util.copy(e),g="";f.level++;var h="valid"+f.level,E="i"+l,S=f.dataLevel=e.dataLevel+1,C="data"+S,T=e.baseId,x=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 "+d+";",x){var v=e.compositeRule;e.compositeRule=f.compositeRule=!0,f.schema=u,f.schemaPath=r,f.errSchemaPath=m,t+=" var "+h+" = 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,C)<2?t+=" "+e.util.varReplace(b,C,A)+" ":t+=" var "+C+" = "+A+"; "+b+" ",t+=" if ("+h+") break; } ",e.compositeRule=f.compositeRule=v,t+=" "+g+" if (!"+h+") {"}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 { ",x&&(t+=" errors = "+s+"; if (vErrors !== null) { if ("+s+") vErrors.length = "+s+"; else vErrors = null; } "),e.opts.allErrors&&(t+=" } "),t}),As}var Ts,Wm;function oC(){return Wm||(Wm=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||""),d="errs__"+l,s=e.util.copy(e),f="";s.level++;var g="valid"+s.level,h={},E={},S=e.opts.ownProperties;for(v in u)if(v!="__proto__"){var C=u[v],T=Array.isArray(C)?E:h;T[v]=C}t+="var "+d+" = errors;";var x=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(x,L,!0):x+" + "+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 $=t;t=O.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+$+"]); ":t+=" validate.errors = ["+$+"]; return false; ":t+=" var err = "+$+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{t+=" ) { ";var M=T;if(M)for(var b,_=-1,K=M.length-1;_<K;){b=M[_+=1];var R=e.util.getProperty(b),P=e.util.escapeQuotes(b),F=c+R;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(x,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=x;var B=s.baseId;for(var v in h){var C=h[v];(e.opts.strictKeywords?typeof C=="object"&&Object.keys(C).length>0||C===!1:e.util.schemaHasRules(C,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=C,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 ("+d+" == errors) {"),t}),Ts}var ks,Gm;function lC(){return Gm||(Gm=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||""),d="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 "+d+";",s&&(t+=" if (schema"+l+" === undefined) "+d+" = true; else if (!Array.isArray(schema"+l+")) "+d+" = false; else {"),t+=""+d+" = false;for (var "+f+"=0; "+f+"<"+g+".length; "+f+"++) if (equal("+c+", "+g+"["+f+"])) { "+d+" = true; break; }",s&&(t+=" } "),t+=" if (!"+d+") { ";var h=h||[];h.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=h.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,zm;function uC(){return zm||(zm=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 d=e.opts.$data&&u&&u.$data,s;d?(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(d){var h="format"+l,E="isObject"+l,S="formatType"+l;t+=" var "+h+" = formats["+s+"]; var "+E+" = typeof "+h+" == 'object' && !("+h+" instanceof RegExp) && "+h+".validate; var "+S+" = "+E+" && "+h+".type || 'string'; if ("+E+") { ",e.async&&(t+=" var async"+l+" = "+h+".async; "),t+=" "+h+" = "+h+".validate; } if ( ",d&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'string') || "),t+=" (",f!="ignore"&&(t+=" ("+s+" && !"+h+" ",g&&(t+=" && self._opts.unknownFormats.indexOf("+s+") == -1 "),t+=") || "),t+=" ("+h+" && "+S+" == '"+o+"' && !(typeof "+h+" == 'function' ? ",e.async?t+=" (async"+l+" ? await "+h+"("+c+") : "+h+"("+c+")) ":t+=" "+h+"("+c+") ",t+=" : "+h+".test("+c+"))))) {"}else{var h=e.formats[u];if(!h){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 h=="object"&&!(h instanceof RegExp)&&h.validate,S=E&&h.type||"string";if(E){var C=h.async===!0;h=h.validate}if(S!=o)return i&&(t+=" if (true) { "),t;if(C){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 h=="function"?t+=" "+T+"("+c+") ":t+=" "+T+".test("+c+") ",t+=") { "}}var x=x||[];x.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { format: ",d?t+=""+s:t+=""+e.util.toQuotedString(u),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match format "`,d?t+="' + "+s+" + '":t+=""+e.util.escapeQuotes(u),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",d?t+="validate.schema"+r:t+=""+e.util.toQuotedString(u),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var v=t;return t=x.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,Hm;function cC(){return Hm||(Hm=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||""),d="valid"+l,s="errs__"+l,f=e.util.copy(e);f.level++;var g="valid"+f.level,h=e.schema.then,E=e.schema.else,S=h!==void 0&&(e.opts.strictKeywords?typeof h=="object"&&Object.keys(h).length>0||h===!1:e.util.schemaHasRules(h,e.RULES.all)),C=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||C){var x;f.createErrors=!1,f.schema=u,f.schemaPath=r,f.errSchemaPath=m,t+=" var "+s+" = errors; var "+d+" = 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+=" "+d+" = "+g+"; ",S&&C?(x="ifClause"+l,t+=" var "+x+" = 'then'; "):x="'then'",t+=" } ",C&&(t+=" else { ")):t+=" if (!"+g+") { ",C&&(f.schema=e.schema.else,f.schemaPath=e.schemaPath+".else",f.errSchemaPath=e.errSchemaPath+"/else",t+=" "+e.validate(f)+" ",f.baseId=T,t+=" "+d+" = "+g+"; ",S&&C?(x="ifClause"+l,t+=" var "+x+" = 'else'; "):x="'else'",t+=" } "),t+=" if (!"+d+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { failingKeyword: "+x+" } ",e.opts.messages!==!1&&(t+=` , message: 'should match "' + `+x+` + '" 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,Km;function fC(){return Km||(Km=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||""),d="valid"+l,s="errs__"+l,f=e.util.copy(e),g="";f.level++;var h="valid"+f.level,E="i"+l,S=f.dataLevel=e.dataLevel+1,C="data"+S,T=e.baseId;if(t+="var "+s+" = errors;var "+d+";",Array.isArray(u)){var x=e.schema.additionalItems;if(x===!1){t+=" "+d+" = "+c+".length <= "+u.length+"; ";var v=m;m=e.errSchemaPath+"/additionalItems",t+=" if (!"+d+") { ";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+=" "+h+" = 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,C)<2?t+=" "+e.util.varReplace(P,C,L)+" ":t+=" var "+C+" = "+L+"; "+P+" ",t+=" } ",i&&(t+=" if ("+h+") { ",g+="}")}}if(typeof x=="object"&&(e.opts.strictKeywords?typeof x=="object"&&Object.keys(x).length>0||x===!1:e.util.schemaHasRules(x,e.RULES.all))){f.schema=x,f.schemaPath=e.schemaPath+".additionalItems",f.errSchemaPath=e.errSchemaPath+"/additionalItems",t+=" "+h+" = 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,C)<2?t+=" "+e.util.varReplace(P,C,L)+" ":t+=" var "+C+" = "+L+"; "+P+" ",i&&(t+=" if (!"+h+") break; "),t+=" } } ",i&&(t+=" if ("+h+") { ",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,C)<2?t+=" "+e.util.varReplace(P,C,L)+" ":t+=" var "+C+" = "+L+"; "+P+" ",i&&(t+=" if (!"+h+") break; "),t+=" }"}return i&&(t+=" "+g+" if ("+s+" == errors) {"),t}),Ps}var Fs,Xm;function Jm(){return Xm||(Xm=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||""),d=e.opts.$data&&u&&u.$data,s;d?(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",h=e.schema[g],E=e.opts.$data&&h&&h.$data,S=f?"<":">",C=f?">":"<",T=void 0;if(!(d||typeof u=="number"||u===void 0))throw new Error(n+" must be number");if(!(E||h===void 0||typeof h=="number"||typeof h=="boolean"))throw new Error(g+" must be number or boolean");if(E){var x=e.util.getData(h.$data,p,e.dataPathArr),v="exclusive"+l,A="exclType"+l,b="exclIsNumber"+l,w="op"+l,k="' + "+w+" + '";t+=" var schemaExcl"+l+" = "+x+"; ",x="schemaExcl"+l,t+=" var "+v+"; var "+A+" = typeof "+x+"; 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 ( ",d&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'number') || "),t+=" "+A+" == 'number' ? ( ("+v+" = "+s+" === undefined || "+x+" "+S+"= "+s+") ? "+c+" "+C+"= "+x+" : "+c+" "+C+" "+s+" ) : ( ("+v+" = "+x+" === true) ? "+c+" "+C+"= "+s+" : "+c+" "+C+" "+s+" ) || "+c+" !== "+c+") { var op"+l+" = "+v+" ? '"+S+"' : '"+S+"='; ",u===void 0&&(T=g,m=e.errSchemaPath+"/"+g,s=x,d=E)}else{var b=typeof h=="number",k=S;if(b&&d){var w="'"+k+"'";t+=" if ( ",d&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'number') || "),t+=" ( "+s+" === undefined || "+h+" "+S+"= "+s+" ? "+c+" "+C+"= "+h+" : "+c+" "+C+" "+s+" ) || "+c+" !== "+c+") { "}else{b&&u===void 0?(v=!0,T=g,m=e.errSchemaPath+"/"+g,s=h,C+="="):(b&&(s=Math[f?"min":"max"](h,u)),h===(b?s:!0)?(v=!0,T=g,m=e.errSchemaPath+"/"+g,C+="="):(v=!1,k+="="));var w="'"+k+"'";t+=" if ( ",d&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'number') || "),t+=" "+c+" "+C+" "+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+" ",d?t+="' + "+s:t+=""+s+"'"),e.opts.verbose&&(t+=" , schema: ",d?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,Ym;function Qm(){return Ym||(Ym=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||""),d=e.opts.$data&&u&&u.$data,s;if(d?(t+=" var schema"+l+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",s="schema"+l):s=u,!(d||typeof u=="number"))throw new Error(n+" must be number");var f=n=="maxItems"?">":"<";t+="if ( ",d&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'number') || "),t+=" "+c+".length "+f+" "+s+") { ";var g=n,h=h||[];h.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 ",d?t+="' + "+s+" + '":t+=""+u,t+=" items' "),e.opts.verbose&&(t+=" , schema: ",d?t+="validate.schema"+r:t+=""+u,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var E=t;return t=h.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,Zm;function ed(){return Zm||(Zm=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||""),d=e.opts.$data&&u&&u.$data,s;if(d?(t+=" var schema"+l+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",s="schema"+l):s=u,!(d||typeof u=="number"))throw new Error(n+" must be number");var f=n=="maxLength"?">":"<";t+="if ( ",d&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'number') || "),e.opts.unicode===!1?t+=" "+c+".length ":t+=" ucs2length("+c+") ",t+=" "+f+" "+s+") { ";var g=n,h=h||[];h.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 ",d?t+="' + "+s+" + '":t+=""+u,t+=" characters' "),e.opts.verbose&&(t+=" , schema: ",d?t+="validate.schema"+r:t+=""+u,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var E=t;return t=h.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,td;function rd(){return td||(td=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||""),d=e.opts.$data&&u&&u.$data,s;if(d?(t+=" var schema"+l+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",s="schema"+l):s=u,!(d||typeof u=="number"))throw new Error(n+" must be number");var f=n=="maxProperties"?">":"<";t+="if ( ",d&&(t+=" ("+s+" !== undefined && typeof "+s+" != 'number') || "),t+=" Object.keys("+c+").length "+f+" "+s+") { ";var g=n,h=h||[];h.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 ",d?t+="' + "+s+" + '":t+=""+u,t+=" properties' "),e.opts.verbose&&(t+=" , schema: ",d?t+="validate.schema"+r:t+=""+u,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var E=t;return t=h.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,nd;function pC(){return nd||(nd=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||""),d=e.opts.$data&&u&&u.$data,s;if(d?(t+=" var schema"+l+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",s="schema"+l):s=u,!(d||typeof u=="number"))throw new Error(n+" must be number");t+="var division"+l+";if (",d&&(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+=" ) ",d&&(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 ",d?t+="' + "+s:t+=""+s+"'"),e.opts.verbose&&(t+=" , schema: ",d?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,sd;function mC(){return sd||(sd=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||""),d="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 "+d+" = errors; ";var g=e.compositeRule;e.compositeRule=s.compositeRule=!0,s.createErrors=!1;var h;s.opts.allErrors&&(h=s.opts.allErrors,s.opts.allErrors=!1),t+=" "+e.validate(s)+" ",s.createErrors=!0,h&&(s.opts.allErrors=h),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 = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; 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,ad;function dC(){return ad||(ad=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||""),d="valid"+l,s="errs__"+l,f=e.util.copy(e),g="";f.level++;var h="valid"+f.level,E=f.baseId,S="prevValid"+l,C="passingSchemas"+l;t+="var "+s+" = errors , "+S+" = false , "+d+" = false , "+C+" = null; ";var T=e.compositeRule;e.compositeRule=f.compositeRule=!0;var x=u;if(x)for(var v,A=-1,b=x.length-1;A<b;)v=x[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 "+h+" = true; ",A&&(t+=" if ("+h+" && "+S+") { "+d+" = false; "+C+" = ["+C+", "+A+"]; } else { ",g+="}"),t+=" if ("+h+") { "+d+" = "+S+" = true; "+C+" = "+A+"; }";return e.compositeRule=f.compositeRule=T,t+=""+g+"if (!"+d+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { passingSchemas: "+C+" } ",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,id;function hC(){return id||(id=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||""),d=e.opts.$data&&u&&u.$data,s;d?(t+=" var schema"+l+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",s="schema"+l):s=u;var f=d?"(new RegExp("+s+"))":e.usePattern(u);t+="if ( ",d&&(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: ",d?t+=""+s:t+=""+e.util.toQuotedString(u),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match pattern "`,d?t+="' + "+s+" + '":t+=""+e.util.escapeQuotes(u),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",d?t+="validate.schema"+r:t+=""+e.util.toQuotedString(u),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var h=t;return t=g.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+h+"]); ":t+=" validate.errors = ["+h+"]; return false; ":t+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",i&&(t+=" else { "),t}),Ms}var js,od;function gC(){return od||(od=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||""),d="errs__"+l,s=e.util.copy(e),f="";s.level++;var g="valid"+s.level,h="key"+l,E="idx"+l,S=s.dataLevel=e.dataLevel+1,C="data"+S,T="dataProperties"+l,x=Object.keys(u||{}).filter(_),v=e.schema.patternProperties||{},A=Object.keys(v).filter(_),b=e.schema.additionalProperties,w=x.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,$=e.schema.required;if($&&!(e.opts.$data&&$.$data)&&$.length<e.opts.loopRequired)var M=e.util.toHash($);function _(tt){return tt!=="__proto__"}if(t+="var "+d+" = 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 "+h+" = "+T+"["+E+"]; ":t+=" for (var "+h+" in "+c+") { ",w){if(t+=" var isAdditional"+l+" = !(false ",x.length)if(x.length>8)t+=" || validate.schema"+r+".hasOwnProperty("+h+") ";else{var K=x;if(K)for(var B,X=-1,J=K.length-1;X<J;)B=K[X+=1],t+=" || "+h+" == "+e.util.toQuotedString(B)+" "}if(A.length){var ge=A;if(ge)for(var ae,ke=-1,Z=ge.length-1;ke<Z;)ae=ge[ke+=1],t+=" || "+e.usePattern(ae)+".test("+h+") "}t+=" ); if (isAdditional"+l+") { "}if(F=="all")t+=" delete "+c+"["+h+"]; ";else{var I=e.errorPath,H="' + "+h+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,h,e.opts.jsonPointers)),k)if(F)t+=" delete "+c+"["+h+"]; ";else{t+=" "+g+" = false; ";var fe=m;m=e.errSchemaPath+"/additionalProperties";var ce=ce||[];ce.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { additionalProperty: '"+H+"' } ",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 ie=t;t=ce.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+ie+"]); ":t+=" validate.errors = ["+ie+"]; return false; ":t+=" var err = "+ie+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",m=fe,i&&(t+=" break; ")}else if(R)if(F=="failing"){t+=" var "+d+" = 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,h,e.opts.jsonPointers);var xe=c+"["+h+"]";s.dataPathArr[S]=h;var be=e.validate(s);s.baseId=O,e.util.varOccurences(be,C)<2?t+=" "+e.util.varReplace(be,C,xe)+" ":t+=" var "+C+" = "+xe+"; "+be+" ",t+=" if (!"+g+") { errors = "+d+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+c+"["+h+"]; } ",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,h,e.opts.jsonPointers);var xe=c+"["+h+"]";s.dataPathArr[S]=h;var be=e.validate(s);s.baseId=O,e.util.varOccurences(be,C)<2?t+=" "+e.util.varReplace(be,C,xe)+" ":t+=" var "+C+" = "+xe+"; "+be+" ",i&&(t+=" if (!"+g+") break; ")}e.errorPath=I}w&&(t+=" } "),t+=" } ",i&&(t+=" if ("+g+") { ",f+="}")}var Ae=e.opts.useDefaults&&!e.compositeRule;if(x.length){var ee=x;if(ee)for(var B,ne=-1,we=ee.length-1;ne<we;){B=ee[ne+=1];var z=u[B];if(e.opts.strictKeywords?typeof z=="object"&&Object.keys(z).length>0||z===!1:e.util.schemaHasRules(z,e.RULES.all)){var oe=e.util.getProperty(B),xe=c+oe,Te=Ae&&z.default!==void 0;s.schema=z,s.schemaPath=r+oe,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 be=e.validate(s);if(s.baseId=O,e.util.varOccurences(be,C)<2){be=e.util.varReplace(be,C,xe);var Re=xe}else{var Re=C;t+=" var "+C+" = "+xe+"; "}if(Te)t+=" "+be+" ";else{if(M&&M[B]){t+=" if ( "+Re+" === undefined ",P&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(B)+"') "),t+=") { "+g+" = false; ";var I=e.errorPath,fe=m,Pe=e.util.escapeQuotes(B);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(I,B,e.opts.jsonPointers)),m=e.errSchemaPath+"/required";var ce=ce||[];ce.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { missingProperty: '"+Pe+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+Pe+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var ie=t;t=ce.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+ie+"]); ":t+=" validate.errors = ["+ie+"]; return false; ":t+=" var err = "+ie+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",m=fe,e.errorPath=I,t+=" } else { "}else i?(t+=" if ( "+Re+" === undefined ",P&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(B)+"') "),t+=") { "+g+" = true; } else { "):(t+=" if ("+Re+" !== undefined ",P&&(t+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(B)+"') "),t+=" ) { ");t+=" "+be+" } "}}i&&(t+=" if ("+g+") { ",f+="}")}}if(A.length){var G=A;if(G)for(var ae,Je=-1,ut=G.length-1;Je<ut;){ae=G[Je+=1];var z=v[ae];if(e.opts.strictKeywords?typeof z=="object"&&Object.keys(z).length>0||z===!1:e.util.schemaHasRules(z,e.RULES.all)){s.schema=z,s.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(ae),s.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(ae),P?t+=" "+T+" = "+T+" || Object.keys("+c+"); for (var "+E+"=0; "+E+"<"+T+".length; "+E+"++) { var "+h+" = "+T+"["+E+"]; ":t+=" for (var "+h+" in "+c+") { ",t+=" if ("+e.usePattern(ae)+".test("+h+")) { ",s.errorPath=e.util.getPathExpr(e.errorPath,h,e.opts.jsonPointers);var xe=c+"["+h+"]";s.dataPathArr[S]=h;var be=e.validate(s);s.baseId=O,e.util.varOccurences(be,C)<2?t+=" "+e.util.varReplace(be,C,xe)+" ":t+=" var "+C+" = "+xe+"; "+be+" ",i&&(t+=" if (!"+g+") break; "),t+=" } ",i&&(t+=" else "+g+" = true; "),t+=" } ",i&&(t+=" if ("+g+") { ",f+="}")}}}return i&&(t+=" "+f+" if ("+d+" == errors) {"),t}),js}var Us,ld;function yC(){return ld||(ld=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||""),d="errs__"+l,s=e.util.copy(e),f="";s.level++;var g="valid"+s.level;if(t+="var "+d+" = 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 h="key"+l,E="idx"+l,S="i"+l,C="' + "+h+" + '",T=s.dataLevel=e.dataLevel+1,x="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 "+h+" = "+v+"["+E+"]; ":t+=" for (var "+h+" in "+c+") { ",t+=" var startErrs"+l+" = errors; ";var w=h,k=e.compositeRule;e.compositeRule=s.compositeRule=!0;var R=e.validate(s);s.baseId=b,e.util.varOccurences(R,x)<2?t+=" "+e.util.varReplace(R,x,w)+" ":t+=" var "+x+" = "+w+"; "+R+" ",e.compositeRule=s.compositeRule=k,t+=" if (!"+g+") { for (var "+S+"=startErrs"+l+"; "+S+"<errors; "+S+"++) { vErrors["+S+"].propertyName = "+h+"; } var err = ",e.createErrors!==!1?(t+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { propertyName: '"+C+"' } ",e.opts.messages!==!1&&(t+=" , message: 'property name \\'"+C+"\\' 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 ("+d+" == errors) {"),t}),Us}var qs,ud;function vC(){return ud||(ud=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||""),d="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=[],h=u;if(h)for(var E,S=-1,C=h.length-1;S<C;){E=h[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 x=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(x,w,e.opts.jsonPointers)),t+=" var "+d+" = true; ",s&&(t+=" if (schema"+l+" === undefined) "+d+" = true; else if (!Array.isArray(schema"+l+")) "+d+" = false; else {"),t+=" for (var "+b+" = 0; "+b+" < "+f+".length; "+b+"++) { "+d+" = "+c+"["+f+"["+b+"]] !== undefined ",A&&(t+=" && Object.prototype.hasOwnProperty.call("+c+", "+f+"["+b+"]) "),t+="; if (!"+d+") break; } ",s&&(t+=" } "),t+=" if (!"+d+") { ";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 $=e.util.getProperty(P),M=c+$;t+=" ( ( "+M+" === undefined ",A&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(P)+"') "),t+=") && (missing"+l+" = "+e.util.toQuotedString(e.opts.jsonPointers?P:$)+") ) "}t+=") { ";var w="missing"+l,k="' + "+w+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(x,w,!0):x+" + "+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(x,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,K=-1,B=_.length-1;K<B;){P=_[K+=1];var $=e.util.getProperty(P),k=e.util.escapeQuotes(P),M=c+$;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(x,P,e.opts.jsonPointers)),t+=" if ( "+M+" === 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=x}else i&&(t+=" if (true) {");return t}),qs}var Vs,cd;function EC(){return cd||(cd=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||""),d="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 "+d+"; if ("+f+" === false || "+f+" === undefined) "+d+" = true; else if (typeof "+f+" != 'boolean') "+d+" = false; else { "),t+=" var i = "+c+".length , "+d+" = true , j; if (i > 1) { ";var g=e.schema.items&&e.schema.items.type,h=Array.isArray(g);if(!g||g=="object"||g=="array"||h&&(g.indexOf("object")>=0||g.indexOf("array")>=0))t+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+c+"[i], "+c+"[j])) { "+d+" = false; break outer; } } } ";else{t+=" var itemIndices = {}, item; for (;i--;) { var item = "+c+"[i]; ";var E="checkDataType"+(h?"s":"");t+=" if ("+e.util[E](g,"item",e.opts.strictNumbers,!0)+") continue; ",h&&(t+=` if (typeof item == 'string') item = '"' + item; `),t+=" if (typeof itemIndices[item] == 'number') { "+d+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}t+=" } ",s&&(t+=" } "),t+=" if (!"+d+") { ";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 C=t;t=S.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+C+"]); ":t+=" validate.errors = ["+C+"]; return false; ":t+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",i&&(t+=" else { ")}else i&&(t+=" if (true) { ");return t}),Vs}var $s,fd;function SC(){return fd||(fd=1,$s={$ref:tC(),allOf:rC(),anyOf:nC(),$comment:sC(),const:aC(),contains:iC(),dependencies:oC(),enum:lC(),format:uC(),if:cC(),items:fC(),maximum:Jm(),minimum:Jm(),maxItems:Qm(),minItems:Qm(),maxLength:ed(),minLength:ed(),maxProperties:rd(),minProperties:rd(),multipleOf:pC(),not:mC(),oneOf:dC(),pattern:hC(),properties:gC(),propertyNames:yC(),required:vC(),uniqueItems:EC(),validate:Bm()}),$s}var Ws,pd;function bC(){if(pd)return Ws;pd=1;var a=SC(),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(d){t.push(d),o.all[d]=!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,md;function xC(){if(md)return Gs;md=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,dd;function CC(){if(dd)return zs;dd=1;var a=ds().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 d=c.missingSchema;if(g(d))throw new Error("Schema "+d+" is loaded but "+c.missingRef+" cannot be resolved");var s=l._loadingSchemas[d];return s||(s=l._loadingSchemas[d]=l._opts.loadSchema(d),s.then(f,f)),s.then(function(h){if(!g(d))return u(h).then(function(){g(d)||l.addSchema(h,d,void 0,o)})}).then(function(){return r(m)});function f(){delete l._loadingSchemas[d]}function g(h){return l._refs[h]||l._schemas[h]}}}}return zs}var Hs,hd;function wC(){return hd||(hd=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,d="data"+(p||""),s="valid"+l,f="errs__"+l,g=e.opts.$data&&u&&u.$data,h;g?(t+=" var schema"+l+" = "+e.util.getData(u.$data,p,e.dataPathArr)+"; ",h="schema"+l):h=u;var E=this,S="definition"+l,C=E.definition,T="",x,v,A,b,w;if(g&&C.$data){w="keywordValidate"+l;var k=C.validateSchema;t+=" var "+S+" = RULES.custom['"+n+"'].definition; var "+w+" = "+S+".validate;"}else{if(b=e.useCustomRule(E,u,e.schema,e),!b)return;h="validate.schema"+r,w=b.code,x=C.compile,v=C.inline,A=C.macro}var R=w+".errors",F="i"+l,L="ruleErr"+l,P=C.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&&C.$data&&(T+="}",t+=" if ("+h+" === undefined) { "+s+" = true; } else { ",k&&(T+="}",t+=" "+s+" = "+S+".validateSchema("+h+"); if ("+s+") { ")),v)C.statements?t+=" "+b.validate+" ":t+=" "+s+" = "+b.validate+"; ";else if(A){var O=e.util.copy(e),T="";O.level++;var $="valid"+O.level;O.schema=b.validate,O.schemaPath="";var M=e.compositeRule;e.compositeRule=O.compositeRule=!0;var _=e.validate(O).replace(/validate\.schema/g,w);e.compositeRule=O.compositeRule=M,t+=" "+_}else{var K=K||[];K.push(t),t="",t+=" "+w+".call( ",e.opts.passContext?t+="this":t+="self",x||C.schema===!1?t+=" , "+d+" ":t+=" , "+h+" , "+d+" , validate.schema"+e.schemaPath+" ",t+=" , (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var B=p?"data"+(p-1||""):"parentData",X=p?e.dataPathArr[p]:"parentDataProperty";t+=" , "+B+" , "+X+" , rootData ) ";var J=t;t=K.pop(),C.errors===!1?(t+=" "+s+" = ",P&&(t+="await "),t+=""+J+"; "):P?(R="customErrors"+l,t+=" var "+R+" = null; try { "+s+" = await "+J+"; } catch (e) { "+s+" = false; if (e instanceof ValidationError) "+R+" = e.errors; else throw e; } "):t+=" "+R+" = null; "+s+" = "+J+"; "}if(C.modifying&&(t+=" if ("+B+") "+d+" = "+B+"["+X+"];"),t+=""+T,C.valid)i&&(t+=" if (true) { ");else{t+=" if ( ",C.valid===void 0?(t+=" !",A?t+=""+$:t+=""+s):t+=" "+!C.valid+" ",t+=") { ",c=E.keyword;var K=K||[];K.push(t),t="";var K=K||[];K.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: "+d+" "),t+=" } "):t+=" {} ";var ge=t;t=K.pop(),!e.compositeRule&&i?e.async?t+=" throw new ValidationError(["+ge+"]); ":t+=" validate.errors = ["+ge+"]; return false; ":t+=" var err = "+ge+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var ae=t;t=K.pop(),v?C.errors?C.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 = "+h+"; "+L+".data = "+d+"; "),t+=" } "):C.errors===!1?t+=" "+ae+" ":(t+=" if ("+f+" == errors) { "+ae+" } 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 = "+h+"; "+L+".data = "+d+"; "),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: "+d+" "),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; ")):C.errors===!1?t+=" "+ae+" ":(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 = "+h+"; "+L+".data = "+d+"; "),t+=" } } else { "+ae+" } "),t+=" } ",i&&(t+=" else { ")}return t}),Hs}var AC="http://json-schema.org/draft-07/schema#",TC="http://json-schema.org/draft-07/schema#",kC="Core schema meta-schema",DC={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:[]}},IC=["object","boolean"],PC={$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:"#"}},gd={$schema:AC,$id:TC,title:kC,definitions:DC,type:IC,properties:PC,default:!0},Ks,yd;function FC(){if(yd)return Ks;yd=1;var a=gd;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,vd;function RC(){if(vd)return Xs;vd=1;var a=/^[a-z_$][a-z0-9_$-]*$/i,e=wC(),n=FC();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 d=r.metaSchema;d&&(r.$data&&this._opts.$data&&(d={anyOf:[d,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),r.validateSchema=this.compile(d,!0))}m.keywords[u]=m.all[u]=!0;function s(f,g,h){for(var E,S=0;S<m.length;S++){var C=m[S];if(C.type==g){E=C;break}}E||(E={type:g,rules:[]},m.push(E));var T={keyword:f,definition:h,custom:!0,code:e,implements:h.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 _C="http://json-schema.org/draft-07/schema#",BC="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",LC="Meta-schema for $data reference (JSON Schema extension proposal)",OC="object",NC=["$data"],MC={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},jC=!1,UC={$schema:_C,$id:BC,description:LC,type:OC,required:NC,properties:MC,additionalProperties:jC},Js,Ed;function Sd(){if(Ed)return Js;Ed=1;var a=Qx(),e=ps(),n=Zx(),o=km(),t=Rm(),l=eC(),p=bC(),u=xC(),r=Lr();Js=f,f.prototype.validate=g,f.prototype.compile=h,f.prototype.addSchema=E,f.prototype.addMetaSchema=S,f.prototype.validateSchema=C,f.prototype.getSchema=x,f.prototype.removeSchema=b,f.prototype.addFormat=M,f.prototype.errorsText=$,f.prototype._addSchema=k,f.prototype._compile=R,f.prototype.compileAsync=CC();var m=RC();f.prototype.addKeyword=m.add,f.prototype.getKeyword=m.get,f.prototype.removeKeyword=m.remove,f.prototype.validateKeyword=m.validate;var i=ds();f.ValidationError=i.Validation,f.MissingRefError=i.MissingRef,f.$dataMetaSchema=u;var c="http://json-schema.org/draft-07/schema",d=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],s=["/properties"];function f(Z){if(!(this instanceof f))return new f(Z);Z=this._opts=r.copy(Z)||{},ae(this),this._schemas={},this._refs={},this._fragments={},this._formats=l(Z.format),this._cache=Z.cache||new n,this._loadingSchemas={},this._compilations=[],this.RULES=p(),this._getId=F(Z),Z.loopRequired=Z.loopRequired||1/0,Z.errorDataPath=="property"&&(Z._errorDataPathProperty=!0),Z.serialize===void 0&&(Z.serialize=t),this._metaOpts=ge(this),Z.formats&&B(this),Z.keywords&&X(this),_(this),typeof Z.meta=="object"&&this.addMetaSchema(Z.meta),Z.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),K(this)}function g(Z,I){var H;if(typeof Z=="string"){if(H=this.getSchema(Z),!H)throw new Error('no schema with key or ref "'+Z+'"')}else{var fe=this._addSchema(Z);H=fe.validate||this._compile(fe)}var ce=H(I);return H.$async!==!0&&(this.errors=H.errors),ce}function h(Z,I){var H=this._addSchema(Z,void 0,I);return H.validate||this._compile(H)}function E(Z,I,H,fe){if(Array.isArray(Z)){for(var ce=0;ce<Z.length;ce++)this.addSchema(Z[ce],void 0,H,fe);return this}var ie=this._getId(Z);if(ie!==void 0&&typeof ie!="string")throw new Error("schema id must be string");return I=e.normalizeId(I||ie),J(this,I),this._schemas[I]=this._addSchema(Z,H,fe,!0),this}function S(Z,I,H){return this.addSchema(Z,I,H,!0),this}function C(Z,I){var H=Z.$schema;if(H!==void 0&&typeof H!="string")throw new Error("$schema must be a string");if(H=H||this._opts.defaultMeta||T(this),!H)return this.logger.warn("meta-schema not available"),this.errors=null,!0;var fe=this.validate(H,Z);if(!fe&&I){var ce="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(ce);else throw new Error(ce)}return fe}function T(Z){var I=Z._opts.meta;return Z._opts.defaultMeta=typeof I=="object"?Z._getId(I)||I:Z.getSchema(c)?c:void 0,Z._opts.defaultMeta}function x(Z){var I=A(this,Z);switch(typeof I){case"object":return I.validate||this._compile(I);case"string":return this.getSchema(I);case"undefined":return v(this,Z)}}function v(Z,I){var H=e.schema.call(Z,{schema:{}},I);if(H){var fe=H.schema,ce=H.root,ie=H.baseId,de=a.call(Z,fe,ce,void 0,ie);return Z._fragments[I]=new o({ref:I,fragment:!0,schema:fe,root:ce,baseId:ie,validate:de}),de}}function A(Z,I){return I=e.normalizeId(I),Z._schemas[I]||Z._refs[I]||Z._fragments[I]}function b(Z){if(Z instanceof RegExp)return w(this,this._schemas,Z),w(this,this._refs,Z),this;switch(typeof Z){case"undefined":return w(this,this._schemas),w(this,this._refs),this._cache.clear(),this;case"string":var I=A(this,Z);return I&&this._cache.del(I.cacheKey),delete this._schemas[Z],delete this._refs[Z],this;case"object":var H=this._opts.serialize,fe=H?H(Z):Z;this._cache.del(fe);var ce=this._getId(Z);ce&&(ce=e.normalizeId(ce),delete this._schemas[ce],delete this._refs[ce])}return this}function w(Z,I,H){for(var fe in I){var ce=I[fe];!ce.meta&&(!H||H.test(fe))&&(Z._cache.del(ce.cacheKey),delete I[fe])}}function k(Z,I,H,fe){if(typeof Z!="object"&&typeof Z!="boolean")throw new Error("schema should be object or boolean");var ce=this._opts.serialize,ie=ce?ce(Z):Z,de=this._cache.get(ie);if(de)return de;fe=fe||this._opts.addUsedSchema!==!1;var xe=e.normalizeId(this._getId(Z));xe&&fe&&J(this,xe);var be=this._opts.validateSchema!==!1&&!I,Ae;be&&!(Ae=xe&&xe==e.normalizeId(Z.$schema))&&this.validateSchema(Z,!0);var ee=e.ids.call(this,Z),ne=new o({id:xe,schema:Z,localRefs:ee,cacheKey:ie,meta:H});return xe[0]!="#"&&fe&&(this._refs[xe]=ne),this._cache.put(ie,ne),be&&Ae&&this.validateSchema(Z,!0),ne}function R(Z,I){if(Z.compiling)return Z.validate=ce,ce.schema=Z.schema,ce.errors=null,ce.root=I||ce,Z.schema.$async===!0&&(ce.$async=!0),ce;Z.compiling=!0;var H;Z.meta&&(H=this._opts,this._opts=this._metaOpts);var fe;try{fe=a.call(this,Z.schema,I,Z.localRefs)}catch(ie){throw delete Z.validate,ie}finally{Z.compiling=!1,Z.meta&&(this._opts=H)}return Z.validate=fe,Z.refs=fe.refs,Z.refVal=fe.refVal,Z.root=fe.root,fe;function ce(){var ie=Z.validate,de=ie.apply(this,arguments);return ce.errors=ie.errors,de}}function F(Z){switch(Z.schemaId){case"auto":return O;case"id":return L;default:return P}}function L(Z){return Z.$id&&this.logger.warn("schema $id ignored",Z.$id),Z.id}function P(Z){return Z.id&&this.logger.warn("schema id ignored",Z.id),Z.$id}function O(Z){if(Z.$id&&Z.id&&Z.$id!=Z.id)throw new Error("schema $id is different from id");return Z.$id||Z.id}function $(Z,I){if(Z=Z||this.errors,!Z)return"No errors";I=I||{};for(var H=I.separator===void 0?", ":I.separator,fe=I.dataVar===void 0?"data":I.dataVar,ce="",ie=0;ie<Z.length;ie++){var de=Z[ie];de&&(ce+=fe+de.dataPath+" "+de.message+H)}return ce.slice(0,-H.length)}function M(Z,I){return typeof I=="string"&&(I=new RegExp(I)),this._formats[Z]=I,this}function _(Z){var I;if(Z._opts.$data&&(I=UC,Z.addMetaSchema(I,I.$id,!0)),Z._opts.meta!==!1){var H=gd;Z._opts.$data&&(H=u(H,s)),Z.addMetaSchema(H,c,!0),Z._refs["http://json-schema.org/schema"]=c}}function K(Z){var I=Z._opts.schemas;if(I)if(Array.isArray(I))Z.addSchema(I);else for(var H in I)Z.addSchema(I[H],H)}function B(Z){for(var I in Z._opts.formats){var H=Z._opts.formats[I];Z.addFormat(I,H)}}function X(Z){for(var I in Z._opts.keywords){var H=Z._opts.keywords[I];Z.addKeyword(I,H)}}function J(Z,I){if(Z._schemas[I]||Z._refs[I])throw new Error('schema with key or id "'+I+'" already exists')}function ge(Z){for(var I=r.copy(Z._opts),H=0;H<d.length;H++)delete I[d[H]];return I}function ae(Z){var I=Z._opts.logger;if(I===!1)Z.logger={log:ke,warn:ke,error:ke};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");Z.logger=I}}function ke(){}return Js}var qC={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},VC={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},$C={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},WC={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},GC={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},zC={AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},HC={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},KC={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},XC={__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},JC={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},YC={exports:!0,global:!1,module:!1,require:!1},QC={define:!1,require:!1},ZC={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},e1={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},t1={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},r1={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},n1={console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},s1={emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},a1={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},i1={__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},o1={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},l1={$:!1,jQuery:!1},u1={YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},c1={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},f1={$:!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},p1={$:!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},m1={_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},d1={$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},h1={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},g1={advanceClock:!1,atom:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},y1={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},v1={$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},E1={browser:!1,chrome:!1,opr:!1},S1={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},b1={$:!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},x1={builtin:qC,es5:VC,es2015:$C,es2017:WC,es2020:GC,es2021:zC,browser:HC,worker:KC,node:XC,nodeBuiltin:JC,commonjs:YC,amd:QC,mocha:ZC,jasmine:e1,jest:t1,qunit:r1,phantomjs:n1,couch:s1,rhino:a1,nashorn:i1,wsh:o1,jquery:l1,yui:u1,shelljs:c1,prototypejs:f1,meteor:p1,mongo:m1,applescript:d1,serviceworker:h1,atomtest:g1,embertest:y1,protractor:v1,"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:E1,greasemonkey:S1,devtools:b1},Ys,bd;function C1(){return bd||(bd=1,Ys=x1),Ys}var xd;function w1(){if(xd)return hn;xd=1,Object.defineProperty(hn,"__esModule",{value:!0});var a=Kx,e=pn,n=Sd(),o=C1();function t(xe){return xe&&typeof xe=="object"&&"default"in xe?xe:{default:xe}}var l=t(a),p=t(e),u=t(n),r=t(o);const m=["off","warn","error"],i=m.reduce((xe,be,Ae)=>(xe[be]=Ae,xe),{}),c=new Set([0,1,2,"off","warn","error"]);function d(xe){const be=Array.isArray(xe)?xe[0]:xe;return be===0||be===1||be===2?be:typeof be=="string"&&i[be.toLowerCase()]||0}function s(xe){xe.rules&&Object.keys(xe.rules).forEach(be=>{const Ae=xe.rules[be];typeof Ae=="number"?xe.rules[be]=m[Ae]||m[0]:Array.isArray(Ae)&&typeof Ae[0]=="number"&&(Ae[0]=m[Ae[0]]||m[0])})}function f(xe){return d(xe)===2}function g(xe){let be=Array.isArray(xe)?xe[0]:xe;return typeof be=="string"&&(be=be.toLowerCase()),c.has(be)}function h(xe){return Object.keys(xe).every(be=>g(xe[be]))}function E(xe){switch(xe){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(`'${xe}' is not a valid configuration for a global (use 'readonly', 'writable', or 'off')`)}}var S={__proto__:null,getRuleSeverity:d,normalizeToStrings:s,isErrorSeverity:f,isValidSeverity:g,isEverySeverityValid:h,normalizeConfigGlobal:E};const C={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 x(xe,be){const Ae=JSON.stringify({source:xe,errorCode:be});if(T.has(Ae))return;T.add(Ae);const ee=p.default.relative(process.cwd(),xe),ne=C[be];process.emitWarning(`${ne} (found in "${ee}")`,"DeprecationWarning",be)}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=(xe={})=>{const be=new u.default({meta:!1,useDefaults:!0,validateSchema:!1,missingRefs:"ignore",verbose:!0,schemaId:"auto",...xe});return be.addMetaSchema(v),be._opts.defaultMeta=v.id,be};function b(xe){return typeof xe=="object"&&xe!==null&&!Array.isArray(xe)}function w(xe,be){if(be===void 0)return xe;if(!b(xe)||!b(be))return be;const Ae={...xe,...be};for(const ee of Object.keys(be))Object.prototype.propertyIsEnumerable.call(xe,ee)&&(Ae[ee]=w(xe[ee],be[ee]));return Ae}function k(xe,be){return!xe||!be?be||xe||[]:[...xe.map((Ae,ee)=>w(Ae,be[ee])),...be.slice(xe.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(xe,be){const Ae={};for(const[ee,ne]of Object.entries(xe))Object.hasOwn(be,ee)||(Ae[ee]=ne);return Ae}const P=L(r.default.es2015,r.default.es5),O={Atomics:!1,SharedArrayBuffer:!1},$={BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,globalThis:!1},M={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,...$},parserOptions:{ecmaVersion:11}},es2021:{globals:{...P,...O,...$,...M},parserOptions:{ecmaVersion:12}},es2022:{globals:{...P,...O,...$,...M},parserOptions:{ecmaVersion:13}},es2023:{globals:{...P,...O,...$,...M},parserOptions:{ecmaVersion:14}},es2024:{globals:{...P,...O,...$,...M},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 K=A(),B=new WeakMap,X=Function.prototype;let J;const ge={error:2,warn:1,off:0},ae=new WeakSet,ke=Object.freeze({type:"array",minItems:0,maxItems:0});class Z{constructor({builtInRules:be=new Map}={}){this.builtInRules=be}getRuleOptionsSchema(be){if(!be)return null;if(!be.meta)return{...ke};const Ae=be.meta.schema;if(typeof Ae>"u")return{...ke};if(Ae===!1)return null;if(typeof Ae!="object"||Ae===null)throw new TypeError("Rule's `meta.schema` must be an array or object");return Array.isArray(Ae)?Ae.length?{type:"array",items:Ae,minItems:0,maxItems:Ae.length}:{...ke}:Ae}validateRuleSeverity(be){const Ae=Array.isArray(be)?be[0]:be,ee=typeof Ae=="string"?ge[Ae.toLowerCase()]:Ae;if(ee===0||ee===1||ee===2)return ee;throw new Error(` Severity should be one of the following: 0 = off, 1 = warn, 2 = error (you passed '${l.default.inspect(Ae).replace(/'/gu,'"').replace(/\n/gu,"")}').
27
+ `)}validateRuleSchema(be,Ae){if(!B.has(be))try{const ne=this.getRuleOptionsSchema(be);ne&&B.set(be,K.compile(ne))}catch(ne){const we=new Error(ne.message,{cause:ne});throw we.code="ESLINT_INVALID_RULE_OPTIONS_SCHEMA",we}const ee=B.get(be);if(ee){const ne=k(be.meta?.defaultOptions,Ae);if(ee(ne),ee.errors)throw new Error(ee.errors.map(we=>` Value ${JSON.stringify(we.data)} ${we.message}.
28
+ `).join(""))}}validateRuleOptions(be,Ae,ee,ne=null){try{this.validateRuleSeverity(ee)!==0&&this.validateRuleSchema(be,Array.isArray(ee)?ee.slice(1):[])}catch(we){let z=we.code==="ESLINT_INVALID_RULE_OPTIONS_SCHEMA"?`Error while processing options validation schema of rule '${Ae}': ${we.message}`:`Configuration for rule "${Ae}" is invalid:
29
+ ${we.message}`;typeof ne=="string"&&(z=`${ne}:
30
+ ${z}`);const oe=new Error(z,{cause:we});throw we.code&&(oe.code=we.code),oe}}validateEnvironment(be,Ae,ee=X){be&&Object.keys(be).forEach(ne=>{if(!(ee(ne)||_.get(ne)||null)){const z=`${Ae}:
31
+ Environment key "${ne}" is unknown
32
+ `;throw new Error(z)}})}validateRules(be,Ae,ee=X){be&&Object.keys(be).forEach(ne=>{const we=ee(ne)||this.builtInRules.get(ne)||null;this.validateRuleOptions(we,ne,be[ne],Ae)})}validateGlobals(be,Ae=null){be&&Object.entries(be).forEach(([ee,ne])=>{try{E(ne)}catch(we){throw new Error(`ESLint configuration of global '${ee}' in ${Ae} is invalid:
33
+ ${we.message}`)}})}validateProcessor(be,Ae,ee){if(be&&!ee(be))throw new Error(`ESLint configuration of processor in '${Ae}' is invalid: '${be}' was not found.`)}formatErrors(be){return be.map(Ae=>{if(Ae.keyword==="additionalProperties")return`Unexpected top-level property "${Ae.dataPath.length?`${Ae.dataPath.slice(1)}.${Ae.params.additionalProperty}`:Ae.params.additionalProperty}"`;if(Ae.keyword==="type"){const ne=Ae.dataPath.slice(1),we=Array.isArray(Ae.schema)?Ae.schema.join("/"):Ae.schema,z=JSON.stringify(Ae.data);return`Property "${ne}" is the wrong type (expected ${we} but got \`${z}\`)`}return`"${Ae.dataPath[0]==="."?Ae.dataPath.slice(1):Ae.dataPath}" ${Ae.message}. Value: ${JSON.stringify(Ae.data)}`}).map(Ae=>` - ${Ae}.
34
+ `).join("")}validateConfigSchema(be,Ae=null){if(J=J||K.compile(F),!J(be))throw new Error(`ESLint configuration in ${Ae} is invalid:
35
+ ${this.formatErrors(J.errors)}`);Object.hasOwn(be,"ecmaFeatures")&&x(Ae,"ESLINT_LEGACY_ECMAFEATURES")}validate(be,Ae,ee,ne){this.validateConfigSchema(be,Ae),this.validateRules(be.rules,Ae,ee),this.validateEnvironment(be.env,Ae,ne),this.validateGlobals(be.globals,Ae);for(const we of be.overrides||[])this.validateRules(we.rules,Ae,ee),this.validateEnvironment(we.env,Ae,ne),this.validateGlobals(be.globals,Ae)}validateConfigArray(be){const Ae=Map.prototype.get.bind(be.pluginEnvironments),ee=Map.prototype.get.bind(be.pluginProcessors),ne=Map.prototype.get.bind(be.pluginRules);for(const we of be)ae.has(we)||(ae.add(we),this.validateEnvironment(we.env,we.name,Ae),this.validateGlobals(we.globals,we.name),this.validateProcessor(we.processor,we.name,ee),this.validateRules(we.rules,we.name,ne))}}const I=/^@.*\//iu;function H(xe,be){let Ae=xe;if(Ae.includes("\\")&&(Ae=Ae.replace(/\\/gu,"/")),Ae.charAt(0)==="@"){const ee=new RegExp(`^(@[^/]+)(?:/(?:${be})?)?$`,"u"),ne=new RegExp(`^${be}(-|$)`,"u");ee.test(Ae)?Ae=Ae.replace(ee,`$1/${be}`):ne.test(Ae.split("/")[1])||(Ae=Ae.replace(/^@([^/]+)\/(.*)$/u,`@$1/${be}-$2`))}else Ae.startsWith(`${be}-`)||(Ae=`${be}-${Ae}`);return Ae}function fe(xe,be){if(xe[0]==="@"){let Ae=new RegExp(`^(@[^/]+)/${be}$`,"u").exec(xe);if(Ae)return Ae[1];if(Ae=new RegExp(`^(@[^/]+)/${be}-(.+)$`,"u").exec(xe),Ae)return`${Ae[1]}/${Ae[2]}`}else if(xe.startsWith(`${be}-`))return xe.slice(be.length+1);return xe}function ce(xe){const be=xe.match(I);return be?be[0]:""}var ie={__proto__:null,normalizePackageName:H,getShorthandName:fe,getNamespaceFromTerm:ce};const de={environments:_,ConfigOps:S,ConfigValidator:Z,naming:ie};return hn.Legacy=de,hn}var Qs={exports:{}},In={exports:{}},Zs,Cd;function A1(){if(Cd)return Zs;Cd=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 d=typeof i;if(d==="string"&&i.length>0)return p(i);if(d==="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 d=parseFloat(c[1]),s=(c[2]||"ms").toLowerCase();switch(s){case"years":case"year":case"yrs":case"yr":case"y":return d*l;case"weeks":case"week":case"w":return d*t;case"days":case"day":case"d":return d*o;case"hours":case"hour":case"hrs":case"hr":case"h":return d*n;case"minutes":case"minute":case"mins":case"min":case"m":return d*e;case"seconds":case"second":case"secs":case"sec":case"s":return d*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;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,d,s){var f=c>=d*1.5;return Math.round(i/d)+" "+s+(f?"s":"")}return Zs}var ea,wd;function T1(){if(wd)return ea;wd=1;function a(e){o.debug=o,o.default=o,o.coerce=m,o.disable=u,o.enable=l,o.enabled=r,o.humanize=A1(),o.destroy=i,Object.keys(e).forEach(c=>{o[c]=e[c]}),o.names=[],o.skips=[],o.formatters={};function n(c){let d=0;for(let s=0;s<c.length;s++)d=(d<<5)-d+c.charCodeAt(s),d|=0;return o.colors[Math.abs(d)%o.colors.length]}o.selectColor=n;function o(c){let d,s=null,f,g;function h(...E){if(!h.enabled)return;const S=h,C=Number(new Date),T=C-(d||C);S.diff=T,S.prev=d,S.curr=C,d=C,E[0]=o.coerce(E[0]),typeof E[0]!="string"&&E.unshift("%O");let x=0;E[0]=E[0].replace(/%([a-zA-Z%])/g,(A,b)=>{if(A==="%%")return"%";x++;const w=o.formatters[b];if(typeof w=="function"){const k=E[x];A=w.call(S,k),E.splice(x,1),x--}return A}),o.formatArgs.call(S,E),(S.log||o.log).apply(S,E)}return h.namespace=c,h.useColors=o.useColors(),h.color=o.selectColor(c),h.extend=t,h.destroy=o.destroy,Object.defineProperty(h,"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(h),h}function t(c,d){const s=o(this.namespace+(typeof d>"u"?":":d)+c);return s.log=this.log,s}function l(c){o.save(c),o.namespaces=c,o.names=[],o.skips=[];const d=(typeof c=="string"?c:"").trim().replace(" ",",").split(",").filter(Boolean);for(const s of d)s[0]==="-"?o.skips.push(s.slice(1)):o.names.push(s)}function p(c,d){let s=0,f=0,g=-1,h=0;for(;s<c.length;)if(f<d.length&&(d[f]===c[s]||d[f]==="*"))d[f]==="*"?(g=f,h=s,f++):(s++,f++);else if(g!==-1)f=g+1,h++,s=h;else return!1;for(;f<d.length&&d[f]==="*";)f++;return f===d.length}function u(){const c=[...o.names,...o.skips.map(d=>"-"+d)].join(",");return o.enable(""),c}function r(c){for(const d of o.skips)if(p(c,d))return!1;for(const d of o.names)if(p(c,d))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 Ad;function k1(){return Ad||(Ad=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,d=>{d!=="%%"&&(i++,d==="%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=T1()(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 Td;function kr(){return Td||(Td=1,Qs.exports=k1()),Qs.exports}var ta,kd;function ra(){if(kd)return ta;kd=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 d=0;d<c.length&&!this._broken;++d)this._traverse(c[d],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={},Dd;function D1(){if(Dd)return Or;Dd=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 Id;function qt(){return Id||(Id=1,function(a){Object.defineProperty(a,"__esModule",{value:!0});var e=D1();function n(j,U){const V=U.range[0];let Q=j,le=!1;do{le=!1;for(const te of Q.childScopes){const q=te.block.range;if(q[0]<=V&&V<q[1]){Q=te,le=!0;break}}}while(le);return Q}function o(j,U){let V="",Q=j;for(typeof U=="string"?V=U:(V=U.name,Q=n(Q,U));Q!=null;){const le=Q.set.get(V);if(le!=null)return le;Q=Q.upper}return null}function t(j){return U=>!j(U)}function l(j,U){return j.type==="Punctuator"&&j.value===U}function p(j){return l(j,"=>")}function u(j){return l(j,",")}function r(j){return l(j,";")}function m(j){return l(j,":")}function i(j){return l(j,"(")}function c(j){return l(j,")")}function d(j){return l(j,"[")}function s(j){return l(j,"]")}function f(j){return l(j,"{")}function g(j){return l(j,"}")}function h(j){return["Block","Line","Shebang"].includes(j.type)}const E=t(p),S=t(u),C=t(r),T=t(m),x=t(i),v=t(c),A=t(d),b=t(s),w=t(f),k=t(g),R=t(h);function F(j,U){return j.id?U.getTokenAfter(j.id,i):U.getFirstToken(j,i)}function L(j,U){const V=j.parent;let Q=null,le=null;if(j.type==="ArrowFunctionExpression"){const te=U.getTokenBefore(j.body,p);Q=te.loc.start,le=te.loc.end}else V.type==="Property"||V.type==="MethodDefinition"||V.type==="PropertyDefinition"?(Q=V.loc.start,le=F(j,U).loc.start):(Q=j.loc.start,le=F(j,U).loc.start);return{start:{...Q},end:{...le}}}const P=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof Xt<"u"?Xt:{},O=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"])),$=new Set([Array.isArray,Array.of,Array.prototype.at,Array.prototype.concat,Array.prototype.entries,Array.prototype.every,Array.prototype.filter,Array.prototype.find,Array.prototype.findIndex,Array.prototype.flat,Array.prototype.includes,Array.prototype.indexOf,Array.prototype.join,Array.prototype.keys,Array.prototype.lastIndexOf,Array.prototype.slice,Array.prototype.some,Array.prototype.toString,Array.prototype.values,typeof BigInt=="function"?BigInt:void 0,Boolean,Date,Date.parse,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,escape,isFinite,isNaN,isPrototypeOf,Map,Map.prototype.entries,Map.prototype.get,Map.prototype.has,Map.prototype.keys,Map.prototype.values,...Object.getOwnPropertyNames(Math).filter(j=>j!=="random").map(j=>Math[j]).filter(j=>typeof j=="function"),Number,Number.isFinite,Number.isNaN,Number.parseFloat,Number.parseInt,Number.prototype.toExponential,Number.prototype.toFixed,Number.prototype.toPrecision,Number.prototype.toString,Object,Object.entries,Object.is,Object.isExtensible,Object.isFrozen,Object.isSealed,Object.keys,Object.values,parseFloat,parseInt,RegExp,Set,Set.prototype.entries,Set.prototype.has,Set.prototype.keys,Set.prototype.values,String,String.fromCharCode,String.fromCodePoint,String.raw,String.prototype.at,String.prototype.charAt,String.prototype.charCodeAt,String.prototype.codePointAt,String.prototype.concat,String.prototype.endsWith,String.prototype.includes,String.prototype.indexOf,String.prototype.lastIndexOf,String.prototype.normalize,String.prototype.padEnd,String.prototype.padStart,String.prototype.slice,String.prototype.startsWith,String.prototype.substr,String.prototype.substring,String.prototype.toLowerCase,String.prototype.toString,String.prototype.toUpperCase,String.prototype.trim,String.prototype.trimEnd,String.prototype.trimLeft,String.prototype.trimRight,String.prototype.trimStart,Symbol.for,Symbol.keyFor,unescape].filter(j=>typeof j=="function")),M=new Set([Object.freeze,Object.preventExtensions,Object.seal]),_=[[Map,new Set(["size"])],[RegExp,new Set(["dotAll","flags","global","hasIndices","ignoreCase","multiline","source","sticky","unicode"])],[Set,new Set(["size"])]];function K(j,U){let V=j;for(;(typeof V=="object"||typeof V=="function")&&V!==null;){const Q=Object.getOwnPropertyDescriptor(V,U);if(Q)return Q;V=Object.getPrototypeOf(V)}return null}function B(j,U){const V=K(j,U);return V!=null&&V.get!=null}function X(j,U){const V=[];for(let Q=0;Q<j.length;++Q){const le=j[Q];if(le==null)V.length=Q+1;else if(le.type==="SpreadElement"){const te=I(le.argument,U);if(te==null)return null;V.push(...te.value)}else{const te=I(le,U);if(te==null)return null;V.push(te.value)}}return V}function J(j){return j!=null&&j.defs.length===0&&O.has(j.name)&&j.name in P}function ge(j){if(j.defs.length!==1)return!1;const U=j.defs[0];return!!(U.parent&&U.type==="Variable"&&(U.parent.kind==="const"||ae(j)))}function ae(j){const U=j.references,V=U.filter(le=>le.init).length,Q=U.filter(le=>le.isReadOnly()).length;return V===1&&Q+V===U.length}function ke(j,U){for(const Q of j.references){let le=Q.identifier;for(;le&&le.parent&&le.parent.type==="MemberExpression";)le=le.parent;if(!(!le||!le.parent)){if(le.parent.type==="AssignmentExpression"&&le.parent.left===le||le.parent.type==="UpdateExpression"&&le.parent.argument===le)return!0;if(le.parent.type==="CallExpression"&&le.parent.callee===le&&le.type==="MemberExpression"){const te=H(le,U);if(V(te))return!0}}}return!1;function V(Q){if(Q==null||Q.value==null)return!1;const le=Q.value;return le==="copyWithin"||le==="fill"||le==="pop"||le==="push"||le==="reverse"||le==="shift"||le==="sort"||le==="splice"||le==="unshift"}}const Z=Object.freeze({ArrayExpression(j,U){const V=X(j.elements,U);return V!=null?{value:V}:null},AssignmentExpression(j,U){return j.operator==="="?I(j.right,U):null},BinaryExpression(j,U){if(j.operator==="in"||j.operator==="instanceof")return null;const V=I(j.left,U),Q=I(j.right,U);if(V!=null&&Q!=null)switch(j.operator){case"==":return{value:V.value==Q.value};case"!=":return{value:V.value!=Q.value};case"===":return{value:V.value===Q.value};case"!==":return{value:V.value!==Q.value};case"<":return{value:V.value<Q.value};case"<=":return{value:V.value<=Q.value};case">":return{value:V.value>Q.value};case">=":return{value:V.value>=Q.value};case"<<":return{value:V.value<<Q.value};case">>":return{value:V.value>>Q.value};case">>>":return{value:V.value>>>Q.value};case"+":return{value:V.value+Q.value};case"-":return{value:V.value-Q.value};case"*":return{value:V.value*Q.value};case"/":return{value:V.value/Q.value};case"%":return{value:V.value%Q.value};case"**":return{value:V.value**Q.value};case"|":return{value:V.value|Q.value};case"^":return{value:V.value^Q.value};case"&":return{value:V.value&Q.value}}return null},CallExpression(j,U){const V=j.callee,Q=X(j.arguments,U);if(Q!=null)if(V.type==="MemberExpression"){if(V.property.type==="PrivateIdentifier")return null;const le=I(V.object,U);if(le!=null){if(le.value==null&&(le.optional||j.optional))return{value:void 0,optional:!0};const te=H(V,U);if(te!=null){const q=le.value,se=te.value;if($.has(q[se]))return{value:q[se](...Q)};if(M.has(q[se]))return{value:Q[0]}}}}else{const le=I(V,U);if(le!=null){if(le.value==null&&j.optional)return{value:void 0,optional:!0};const te=le.value;if($.has(te))return{value:te(...Q)};if(M.has(te))return{value:Q[0]}}}return null},ConditionalExpression(j,U){const V=I(j.test,U);return V!=null?V.value?I(j.consequent,U):I(j.alternate,U):null},ExpressionStatement(j,U){return I(j.expression,U)},Identifier(j,U){if(U!=null){const V=o(U,j);if(V!=null){if(J(V))return{value:P[V.name]};if(ge(V)){const Q=V.defs[0];if(Q.node.id.type==="Identifier"){const le=I(Q.node.init,U);return le&&typeof le.value=="object"&&le.value!==null&&ke(V,U)?null:le}}}}return null},Literal(j){const U=j;return(U.regex!=null||U.bigint!=null)&&U.value==null?null:{value:U.value}},LogicalExpression(j,U){const V=I(j.left,U);if(V!=null){if(j.operator==="||"&&V.value||j.operator==="&&"&&!V.value||j.operator==="??"&&V.value!=null)return V;const Q=I(j.right,U);if(Q!=null)return Q}return null},MemberExpression(j,U){if(j.property.type==="PrivateIdentifier")return null;const V=I(j.object,U);if(V!=null){if(V.value==null&&(V.optional||j.optional))return{value:void 0,optional:!0};const Q=H(j,U);if(Q!=null){if(!B(V.value,Q.value))return{value:V.value[Q.value]};for(const[le,te]of _)if(V.value instanceof le&&te.has(Q.value))return{value:V.value[Q.value]}}}return null},ChainExpression(j,U){const V=I(j.expression,U);return V!=null?{value:V.value}:null},NewExpression(j,U){const V=I(j.callee,U),Q=X(j.arguments,U);if(V!=null&&Q!=null){const le=V.value;if($.has(le))return{value:new le(...Q)}}return null},ObjectExpression(j,U){const V={};for(const Q of j.properties)if(Q.type==="Property"){if(Q.kind!=="init")return null;const le=H(Q,U),te=I(Q.value,U);if(le==null||te==null)return null;V[le.value]=te.value}else if(Q.type==="SpreadElement"||Q.type==="ExperimentalSpreadProperty"){const le=I(Q.argument,U);if(le==null)return null;Object.assign(V,le.value)}else return null;return{value:V}},SequenceExpression(j,U){const V=j.expressions[j.expressions.length-1];return I(V,U)},TaggedTemplateExpression(j,U){const V=I(j.tag,U),Q=X(j.quasi.expressions,U);if(V!=null&&Q!=null){const le=V.value,te=j.quasi.quasis.map(q=>q.value.cooked);if(te.raw=j.quasi.quasis.map(q=>q.value.raw),le===String.raw)return{value:le(te,...Q)}}return null},TemplateLiteral(j,U){const V=X(j.expressions,U);if(V!=null){let Q=j.quasis[0].value.cooked;for(let le=0;le<V.length;++le)Q+=V[le],Q+=j.quasis[le+1].value.cooked;return{value:Q}}return null},UnaryExpression(j,U){if(j.operator==="delete")return null;if(j.operator==="void")return{value:void 0};const V=I(j.argument,U);if(V!=null)switch(j.operator){case"-":return{value:-V.value};case"+":return{value:+V.value};case"!":return{value:!V.value};case"~":return{value:~V.value};case"typeof":return{value:typeof V.value}}return null},TSAsExpression(j,U){return I(j.expression,U)},TSSatisfiesExpression(j,U){return I(j.expression,U)},TSTypeAssertion(j,U){return I(j.expression,U)},TSNonNullExpression(j,U){return I(j.expression,U)},TSInstantiationExpression(j,U){return I(j.expression,U)}});function I(j,U){return j!=null&&Object.hasOwnProperty.call(Z,j.type)?Z[j.type](j,U):null}function H(j,U){const V=j.type==="Property"?j.key:j.property;return j.computed?I(V,U):V.type==="Identifier"?{value:V.name}:V.type==="Literal"?V.bigint?{value:V.bigint}:{value:String(V.value)}:null}function fe(j,U=null){try{return I(j,U)}catch{return null}}function ce(j,U=null){if(j&&j.type==="Literal"&&j.value===null){const Q=j;if(Q.regex)return`/${Q.regex.pattern}/${Q.regex.flags}`;if(Q.bigint)return Q.bigint}const V=fe(j,U);if(V)try{return String(V.value)}catch{}return null}function ie(j,U){switch(j.type){case"MemberExpression":return j.computed?ce(j.property,U):j.property.type==="PrivateIdentifier"?null:j.property.name;case"Property":case"MethodDefinition":case"PropertyDefinition":return j.computed?ce(j.key,U):j.key.type==="Literal"?String(j.key.value):j.key.type==="PrivateIdentifier"?null:j.key.name}return null}function de(j,U){const V=j.parent,Q=[],le=V.type==="Property"&&V.value===j,te=V.type==="MethodDefinition"&&V.value===j,q=V.type==="PropertyDefinition"&&V.value===j;if((te||q)&&(V.static&&Q.push("static"),V.key.type==="PrivateIdentifier"&&Q.push("private")),j.async&&Q.push("async"),j.generator&&Q.push("generator"),le||te){if(V.kind==="constructor")return"constructor";V.kind==="get"?Q.push("getter"):V.kind==="set"?Q.push("setter"):Q.push("method")}else q?Q.push("method"):(j.type==="ArrowFunctionExpression"&&Q.push("arrow"),Q.push("function"));if(le||te||q)if(V.key.type==="PrivateIdentifier")Q.push(`#${V.key.name}`);else{const se=ie(V);if(se)Q.push(`'${se}'`);else if(U){const ue=U.getText(V.key);ue.includes(`
36
+ `)||Q.push(`[${ue}]`)}}else xe(j)?Q.push(`'${j.id.name}'`):V.type==="VariableDeclarator"&&V.id&&V.id.type==="Identifier"?Q.push(`'${V.id.name}'`):(V.type==="AssignmentExpression"||V.type==="AssignmentPattern")&&V.left&&V.left.type==="Identifier"?Q.push(`'${V.left.name}'`):V.type==="ExportDefaultDeclaration"&&V.declaration===j&&Q.push("'default'");return Q.join(" ")}function xe(j){return!!j.id}const be=Object.freeze(new Set(["==","!=","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","|","^","&","in"])),Ae=Object.freeze(new Set(["-","+","!","~"]));function ee(j){return j!==null&&typeof j=="object"&&typeof j.type=="string"}const ne=Object.freeze(Object.assign(Object.create(null),{$visit(j,U,V){const{type:Q}=j;return typeof this[Q]=="function"?this[Q](j,U,V):this.$visitChildren(j,U,V)},$visitChildren(j,U,V){const{type:Q}=j;for(const le of V[Q]||e.getKeys(j)){const te=j[le];if(Array.isArray(te)){for(const q of te)if(ee(q)&&this.$visit(q,U,V))return!0}else if(ee(te)&&this.$visit(te,U,V))return!0}return!1},ArrowFunctionExpression(){return!1},AssignmentExpression(){return!0},AwaitExpression(){return!0},BinaryExpression(j,U,V){return U.considerImplicitTypeConversion&&be.has(j.operator)&&(j.left.type!=="Literal"||j.right.type!=="Literal")?!0:this.$visitChildren(j,U,V)},CallExpression(){return!0},FunctionExpression(){return!1},ImportExpression(){return!0},MemberExpression(j,U,V){return U.considerGetters||U.considerImplicitTypeConversion&&j.computed&&j.property.type!=="Literal"?!0:this.$visitChildren(j,U,V)},MethodDefinition(j,U,V){return U.considerImplicitTypeConversion&&j.computed&&j.key.type!=="Literal"?!0:this.$visitChildren(j,U,V)},NewExpression(){return!0},Property(j,U,V){return U.considerImplicitTypeConversion&&j.computed&&j.key.type!=="Literal"?!0:this.$visitChildren(j,U,V)},PropertyDefinition(j,U,V){return U.considerImplicitTypeConversion&&j.computed&&j.key.type!=="Literal"?!0:this.$visitChildren(j,U,V)},UnaryExpression(j,U,V){return j.operator==="delete"||U.considerImplicitTypeConversion&&Ae.has(j.operator)&&j.argument.type!=="Literal"?!0:this.$visitChildren(j,U,V)},UpdateExpression(){return!0},YieldExpression(){return!0}}));function we(j,U,V={}){const{considerGetters:Q=!1,considerImplicitTypeConversion:le=!1}=V;return ne.$visit(j,{considerGetters:Q,considerImplicitTypeConversion:le},U.visitorKeys||e.KEYS)}function z(j,U){const V=j.parent;switch(V.type){case"CallExpression":case"NewExpression":return V.arguments.length===1&&V.arguments[0]===j?U.getTokenAfter(V.typeParameters||V.callee,i):null;case"DoWhileStatement":return V.test===j?U.getTokenAfter(V.body,i):null;case"IfStatement":case"WhileStatement":return V.test===j?U.getFirstToken(V,1):null;case"ImportExpression":return V.source===j?U.getFirstToken(V,1):null;case"SwitchStatement":return V.discriminant===j?U.getFirstToken(V,1):null;case"WithStatement":return V.object===j?U.getFirstToken(V,1):null;default:return null}}function oe(j,U,V){let Q,le,te,q,se;if(typeof j=="number"){if(Q=j|0,le=U,te=V,!(Q>=1))throw new TypeError("'times' should be a positive integer.")}else Q=1,le=j,te=U;if(le==null||le.parent==null||le.parent.type==="CatchClause"&&le.parent.param===le)return!1;q=se=le;do q=te.getTokenBefore(q),se=te.getTokenAfter(se);while(q!=null&&se!=null&&i(q)&&c(se)&&q!==z(le,te)&&--Q>0);return Q===0}const Te=/\$(?:[$&`']|[1-9][0-9]?)/gu,Re=new WeakMap;function Pe(j,U){let V=!1;for(let Q=U-1;Q>=0&&j.charCodeAt(Q)===92;--Q)V=!V;return V}function G(j,U,V){const Q=[];let le=0;function te(q,se){switch(q){case"$$":return"$";case"$&":return se[0];case"$`":return U.slice(0,se.index);case"$'":return U.slice(se.index+se[0].length);default:{const ue=q.slice(1);return ue in se?se[ue]:q}}}for(const q of j.execAll(U))Q.push(U.slice(le,q.index)),Q.push(V.replace(Te,se=>te(se,q))),le=q.index+q[0].length;return Q.push(U.slice(le)),Q.join("")}function Je(j,U,V){const Q=[];let le=0;for(const te of j.execAll(U))Q.push(U.slice(le,te.index)),Q.push(String(V(...te,te.index,te.input))),le=te.index+te[0].length;return Q.push(U.slice(le)),Q.join("")}class ut{constructor(U,V={}){const{escaped:Q=!1}=V;if(!(U instanceof RegExp))throw new TypeError("'pattern' should be a RegExp instance.");if(!U.flags.includes("g"))throw new Error("'pattern' should contains 'g' flag.");Re.set(this,{pattern:new RegExp(U.source,U.flags),escaped:!!Q})}*execAll(U){const{pattern:V,escaped:Q}=Re.get(this);let le=null,te=0;for(V.lastIndex=0;(le=V.exec(U))!=null;)(Q||!Pe(U,le.index))&&(te=V.lastIndex,yield le,V.lastIndex=te)}test(U){return!this.execAll(U).next().done}[Symbol.replace](U,V){return typeof V=="function"?Je(this,String(U),V):G(this,String(U),String(V))}}const tt=/^(?:Import|Export(?:All|Default|Named))Declaration$/u;function qe(j){return tt.test(j.type)&&j.source!=null}const We=Function.call.bind(Object.hasOwnProperty),st=Symbol("read"),mt=Symbol("call"),rt=Symbol("construct"),Qe=Symbol("esm"),Et={require:{[mt]:!0}};function Ze(j){return j==null||j.defs.length!==0||j.references.some(U=>U.isWrite())}function xt(j){const U=j.parent;if(U)switch(U.type){case"ConditionalExpression":return U.consequent===j||U.alternate===j;case"LogicalExpression":return!0;case"SequenceExpression":return U.expressions[U.expressions.length-1]===j;case"ChainExpression":return!0;case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":case"TSInstantiationExpression":return!0;default:return!1}return!1}class Ke{constructor(U,V={}){const{mode:Q="strict",globalObjectNames:le=["global","globalThis","self","window"]}=V;this.variableStack=[],this.globalScope=U,this.mode=Q,this.globalObjectNames=le.slice(0)}*iterateGlobalReferences(U){for(const V of Object.keys(U)){const Q=U[V],le=[V],te=this.globalScope.set.get(V);Ze(te)||(yield*this._iterateVariableReferences(te,le,Q,!0))}for(const V of this.globalObjectNames){const Q=[],le=this.globalScope.set.get(V);Ze(le)||(yield*this._iterateVariableReferences(le,Q,U,!1))}}*iterateCjsReferences(U){for(const{node:V}of this.iterateGlobalReferences(Et)){const Q=ce(V.arguments[0]);if(Q==null||!We(U,Q))continue;const le=U[Q],te=[Q];le[st]&&(yield{node:V,path:te,type:st,info:le[st]}),yield*this._iteratePropertyReferences(V,te,le)}}*iterateEsmReferences(U){const V=this.globalScope.block;for(const Q of V.body){if(!qe(Q))continue;const le=Q.source.value;if(!We(U,le))continue;const te=U[le],q=[le];if(te[st]&&(yield{node:Q,path:q,type:st,info:te[st]}),Q.type==="ExportAllDeclaration")for(const se of Object.keys(te)){const ue=te[se];ue[st]&&(yield{node:Q,path:q.concat(se),type:st,info:ue[st]})}else for(const se of Q.specifiers){const ue=We(te,Qe),Se=this._iterateImportReferences(se,q,ue?te:this.mode==="legacy"?{default:te,...te}:{default:te});if(ue)yield*Se;else for(const Oe of Se)Oe.path=Oe.path.filter($e),(Oe.path.length>=2||Oe.type!==st)&&(yield Oe)}}}*iteratePropertyReferences(U,V){yield*this._iteratePropertyReferences(U,[],V)}*_iterateVariableReferences(U,V,Q,le){if(!this.variableStack.includes(U)){this.variableStack.push(U);try{for(const te of U.references){if(!te.isRead())continue;const q=te.identifier;le&&Q[st]&&(yield{node:q,path:V,type:st,info:Q[st]}),yield*this._iteratePropertyReferences(q,V,Q)}}finally{this.variableStack.pop()}}}*_iteratePropertyReferences(U,V,Q){let le=U;for(;xt(le);)le=le.parent;const te=le.parent;if(te.type==="MemberExpression"){if(te.object===le){const q=ie(te);if(q==null||!We(Q,q))return;V=V.concat(q);const se=Q[q];se[st]&&(yield{node:te,path:V,type:st,info:se[st]}),yield*this._iteratePropertyReferences(te,V,se)}return}if(te.type==="CallExpression"){te.callee===le&&Q[mt]&&(yield{node:te,path:V,type:mt,info:Q[mt]});return}if(te.type==="NewExpression"){te.callee===le&&Q[rt]&&(yield{node:te,path:V,type:rt,info:Q[rt]});return}if(te.type==="AssignmentExpression"){te.right===le&&(yield*this._iterateLhsReferences(te.left,V,Q),yield*this._iteratePropertyReferences(te,V,Q));return}if(te.type==="AssignmentPattern"){te.right===le&&(yield*this._iterateLhsReferences(te.left,V,Q));return}te.type==="VariableDeclarator"&&te.init===le&&(yield*this._iterateLhsReferences(te.id,V,Q))}*_iterateLhsReferences(U,V,Q){if(U.type==="Identifier"){const le=o(this.globalScope,U);le!=null&&(yield*this._iterateVariableReferences(le,V,Q,!1));return}if(U.type==="ObjectPattern"){for(const le of U.properties){const te=ie(le);if(te==null||!We(Q,te))continue;const q=V.concat(te),se=Q[te];se[st]&&(yield{node:le,path:q,type:st,info:se[st]}),yield*this._iterateLhsReferences(le.value,q,se)}return}U.type==="AssignmentPattern"&&(yield*this._iterateLhsReferences(U.left,V,Q))}*_iterateImportReferences(U,V,Q){const le=U.type;if(le==="ImportSpecifier"||le==="ImportDefaultSpecifier"){const te=le==="ImportDefaultSpecifier"?"default":U.imported.type==="Identifier"?U.imported.name:U.imported.value;if(!We(Q,te))return;V=V.concat(te);const q=Q[te];q[st]&&(yield{node:U,path:V,type:st,info:q[st]}),yield*this._iterateVariableReferences(o(this.globalScope,U.local),V,q,!1);return}if(le==="ImportNamespaceSpecifier"){yield*this._iterateVariableReferences(o(this.globalScope,U.local),V,Q,!1);return}if(le==="ExportSpecifier"){const te=U.local.type==="Identifier"?U.local.name:U.local.value;if(!We(Q,te))return;V=V.concat(te);const q=Q[te];q[st]&&(yield{node:U,path:V,type:st,info:q[st]})}}}Ke.READ=st,Ke.CALL=mt,Ke.CONSTRUCT=rt,Ke.ESM=Qe;function $e(j,U){return!(U===1&&j==="default")}var Ee={CALL:mt,CONSTRUCT:rt,ESM:Qe,findVariable:o,getFunctionHeadLocation:L,getFunctionNameWithKind:de,getInnermostScope:n,getPropertyName:ie,getStaticValue:fe,getStringIfConstant:ce,hasSideEffect:we,isArrowToken:p,isClosingBraceToken:g,isClosingBracketToken:s,isClosingParenToken:c,isColonToken:m,isCommaToken:u,isCommentToken:h,isNotArrowToken:E,isNotClosingBraceToken:k,isNotClosingBracketToken:b,isNotClosingParenToken:v,isNotColonToken:T,isNotCommaToken:S,isNotCommentToken:R,isNotOpeningBraceToken:w,isNotOpeningBracketToken:A,isNotOpeningParenToken:x,isNotSemicolonToken:C,isOpeningBraceToken:f,isOpeningBracketToken:d,isOpeningParenToken:i,isParenthesized:oe,isSemicolonToken:r,PatternMatcher:ut,READ:st,ReferenceTracker:Ke};a.CALL=mt,a.CONSTRUCT=rt,a.ESM=Qe,a.PatternMatcher=ut,a.READ=st,a.ReferenceTracker=Ke,a.default=Ee,a.findVariable=o,a.getFunctionHeadLocation=L,a.getFunctionNameWithKind=de,a.getInnermostScope=n,a.getPropertyName=ie,a.getStaticValue=fe,a.getStringIfConstant=ce,a.hasSideEffect=we,a.isArrowToken=p,a.isClosingBraceToken=g,a.isClosingBracketToken=s,a.isClosingParenToken=c,a.isColonToken=m,a.isCommaToken=u,a.isCommentToken=h,a.isNotArrowToken=E,a.isNotClosingBraceToken=k,a.isNotClosingBracketToken=b,a.isNotClosingParenToken=v,a.isNotColonToken=T,a.isNotCommaToken=S,a.isNotCommentToken=R,a.isNotOpeningBraceToken=w,a.isNotOpeningBracketToken=A,a.isNotOpeningParenToken=x,a.isNotSemicolonToken=C,a.isOpeningBraceToken=f,a.isOpeningBracketToken=d,a.isOpeningParenToken=i,a.isParenthesized=oe,a.isSemicolonToken=r}(na)),na}var sa,Pd;function Pn(){if(Pd)return sa;Pd=1;function a(e,n="Assertion failed."){if(!e)throw new Error(n)}return sa=a,sa}var aa,Fd;function Qr(){return Fd||(Fd=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={},Rd;function en(){return Rd||(Rd=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,_d;function I1(){if(_d)return ia;_d=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,Bd;function P1(){if(Bd)return oa;Bd=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,Ld;function ua(){if(Ld)return la;Ld=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,Od;function F1(){if(Od)return ca;Od=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,Nd;function R1(){if(Nd)return fa;Nd=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,Md;function ma(){if(Md)return pa;Md=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 da,jd;function _1(){if(jd)return da;jd=1;const a=ua();return da=class extends a{constructor(n,o){super(n),this.count=o}moveNext(){return this.count>0?(this.count-=1,super.moveNext()):!1}},da}var ha,Ud;function B1(){if(Ud)return ha;Ud=1;const a=ua();return ha=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()}},ha}var ga,qd;function L1(){if(qd)return ga;qd=1;const a=I1(),e=P1(),n=F1(),o=R1(),t=ma(),l=_1(),p=B1();class u{constructor(m,i){this.TokenCursor=m,this.TokenCommentCursor=i}createBaseCursor(m,i,c,d,s,f){const g=f?this.TokenCommentCursor:this.TokenCursor;return new g(m,i,c,d,s)}createCursor(m,i,c,d,s,f,g,h,E){let S=this.createBaseCursor(m,i,c,d,s,f);return g&&(S=new n(S,g)),h>=1&&(S=new p(S,h)),E>=0&&(S=new l(S,E)),S}}return ga={forward:new u(t,o),backward:new u(e,a)},ga}var ya,Vd;function O1(){if(Vd)return ya;Vd=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,$d;function N1(){if($d)return va;$d=1;const{isCommentToken:a}=qt(),e=Pn(),n=L1(),o=ma(),t=O1(),l=en(),p=Symbol("tokens"),u=Symbol("comments"),r=Symbol("indexMap");function m(f,g){const h=Object.create(null);let E=0,S=0,C,T;for(;E<f.length||S<g.length;){for(C=S<g.length?g[S].range[0]:Number.MAX_SAFE_INTEGER;E<f.length&&(T=f[E].range)[0]<C;)h[T[0]]=E,h[T[1]-1]=E,E+=1;for(C=E<f.length?f[E].range[0]:Number.MAX_SAFE_INTEGER;S<g.length&&(T=g[S].range)[0]<C;)h[T[0]]=E,h[T[1]-1]=E,S+=1}return h}function i(f,g,h,E,S,C,T){let x=!1,v=0,A=null;return typeof T=="number"?v=T|0:typeof T=="function"?A=T:T&&(x=!!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,h,E,S,C,x,A,v,-1)}function c(f,g,h,E,S,C,T){let x=!1,v=0,A=!1,b=null;return typeof T=="number"?(v=T|0,A=!0):typeof T=="function"?b=T:T&&(x=!!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,h,E,S,C,x,b,0,A?v:-1)}function d(f,g,h,E,S,C,T){return typeof C>"u"&&typeof T>"u"?new o(f,g,h,E,S):typeof C=="number"||typeof C>"u"?new t(f,g,h,E,S,C|0,T|0):c(n.forward,f,g,h,E,S,C)}function s(f){const g=[];let h=f.getOneToken();for(;h&&a(h);)g.push(h),h=f.getOneToken();return g}return va=class{constructor(g,h){this[p]=g,this[u]=h,this[r]=m(g,h)}getTokenByRangeStart(g,h){const E=h&&h.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,h){return i(n.forward,this[p],this[u],this[r],g.range[0],g.range[1],h).getOneToken()}getLastToken(g,h){return i(n.backward,this[p],this[u],this[r],g.range[0],g.range[1],h).getOneToken()}getTokenBefore(g,h){return i(n.backward,this[p],this[u],this[r],-1,g.range[0],h).getOneToken()}getTokenAfter(g,h){return i(n.forward,this[p],this[u],this[r],g.range[1],-1,h).getOneToken()}getFirstTokenBetween(g,h,E){return i(n.forward,this[p],this[u],this[r],g.range[1],h.range[0],E).getOneToken()}getLastTokenBetween(g,h,E){return i(n.backward,this[p],this[u],this[r],g.range[1],h.range[0],E).getOneToken()}getTokenOrCommentBefore(g,h){return this.getTokenBefore(g,{includeComments:!0,skip:h})}getTokenOrCommentAfter(g,h){return this.getTokenAfter(g,{includeComments:!0,skip:h})}getFirstTokens(g,h){return c(n.forward,this[p],this[u],this[r],g.range[0],g.range[1],h).getAllTokens()}getLastTokens(g,h){return c(n.backward,this[p],this[u],this[r],g.range[0],g.range[1],h).getAllTokens().reverse()}getTokensBefore(g,h){return c(n.backward,this[p],this[u],this[r],-1,g.range[0],h).getAllTokens().reverse()}getTokensAfter(g,h){return c(n.forward,this[p],this[u],this[r],g.range[1],-1,h).getAllTokens()}getFirstTokensBetween(g,h,E){return c(n.forward,this[p],this[u],this[r],g.range[1],h.range[0],E).getAllTokens()}getLastTokensBetween(g,h,E){return c(n.backward,this[p],this[u],this[r],g.range[1],h.range[0],E).getAllTokens().reverse()}getTokens(g,h,E){return d(this[p],this[u],this[r],g.range[0],g.range[1],h,E).getAllTokens()}getTokensBetween(g,h,E){return d(this[p],this[u],this[r],g.range[1],h.range[0],E,E).getAllTokens()}commentsExistBetween(g,h){const E=l.search(this[u],g.range[1]);return E<this[u].length&&this[u][E].range[1]<=h.range[0]}getCommentsBefore(g){const h=c(n.backward,this[p],this[u],this[r],-1,g.range[0],{includeComments:!0});return s(h).reverse()}getCommentsAfter(g){const h=c(n.forward,this[p],this[u],this[r],g.range[1],-1,{includeComments:!0});return s(h)}getCommentsInside(g){return this.getTokens(g,{includeComments:!0,filter:a})}},va}var Ea,Wd;function Fn(){if(Wd)return Ea;Wd=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,Gd;function zd(){if(Gd)return Sa;Gd=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},d={...c},s={...d,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:d,es2025:s,es2026:f},Sa}var ba,Hd;function Kd(){return Hd||(Hd=1,ba={directivesPattern:/^(eslint(?:-env|-enable|-disable(?:(?:-next)?-line)?)?|exported|globals?)(?:\s|$)/u}),ba}var xa,Xd;function Jd(){if(Xd)return xa;Xd=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 d=i.allNextSegments[c];d&&(u===i.id?r+=`->${d.id}`:r+=`;
45
+ ${i.id}->${d.id}`,u=d.id,l.unshift([i,1+c]),l.push([d,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,Yd;function wa(){if(Yd)return Ca;Yd=1;const a=Jd();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,Qd;function M1(){if(Qd)return Aa;Qd=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,d=r>=0?r:i.length+r,s=[];for(let f=0;f<p.count;++f){const g=[];for(let h=c;h<=d;++h)g.push(i[h][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,Zd;function j1(){if(Zd)return Ta;Zd=1;const a=wa(),e=M1();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 d{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 h(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 C(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 x(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?(C(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 d(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||h(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 $=0;$<k.segmentsList.length;++$)O.push(k.segmentsList[$][P]);for(let $=0;$<R.segmentsList.length;++$)O.push(R.segmentsList[$][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?x(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?x(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&&(h(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,eh;function th(){if(eh)return ka;eh=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,rh;function U1(){if(rh)return Da;rh=1;const a=j1(),e=th();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,d,s=null;const f=new Set,g=[[r,0]],h=new Set;let E=!1;const S={skip(){h.add(s)},break(){E=!0}};function C(x){return f.has(x)||s.isLoopedPrevSegment(x)}function T(x){return h.has(x)||s.isLoopedPrevSegment(x)}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(C)){g.pop();continue}if(f.add(s),h.size>0&&s.prevSegments.length>0&&s.prevSegments.every(T))h.add(s);else if(u.call(this,s,S),s===m&&S.skip(),E)break}d=s.nextSegments.length-1,c<d?(i[1]+=1,g.push([s.nextSegments[c],0])):c===d?(i[0]=s.nextSegments[c],i[1]=0):g.pop()}}}return Da=n,Da}var Ia,nh;function q1(){if(nh)return Ia;nh=1;const a=Pn(),{breakableTypePattern:e}=Fn(),n=U1(),o=wa(),t=th(),l=Jd();function p(x){return!!x.test}function u(x){const v=x.parent;return v&&v.type==="PropertyDefinition"&&v.value===x}function r(x){return x==="&&"||x==="||"||x==="??"}function m(x){return x==="&&="||x==="||="||x==="??="}function i(x){return x.parent.type==="LabeledStatement"?x.parent.label.name:null}function c(x){const v=x.parent;switch(v.type){case"ConditionalExpression":case"IfStatement":case"WhileStatement":case"DoWhileStatement":case"ForStatement":return v.test===x;case"LogicalExpression":return r(v.operator);case"AssignmentExpression":return m(v.operator);default:return!1}}function d(x){if(x.type==="Literal")return!!x.value}function s(x){const v=x.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!==x;case"Property":case"PropertyDefinition":case"MethodDefinition":return v.key!==x||v.computed||v.shorthand;case"AssignmentPattern":return v.key!==x;default:return!0}}function f(x,v){const A=x.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}`),x.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),x.emit(O,[P,v])}}function g(x,v){const A=n.getState(x.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}`),x.emit(R,[k,v])}A.currentSegments=[]}function h(x,v){const A=x.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(d(v)):(a(w.body===v),b.makeWhileBody());break;case"DoWhileStatement":w.body===v?b.makeDoWhileBody():(a(w.test===v),b.makeDoWhileTest(d(v)));break;case"ForStatement":w.test===v?b.makeForTest(d(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(x,v){let A=x.codePath,b=A&&n.getState(A);const w=v.parent;function k(R){A&&(f(x,v),l.dumpState(v,b,!1)),A=x.codePath=new n({id:x.idGenerator.next(),origin:R,upper:A,onLooped:x.onLooped}),b=n.getState(A),l.dump(`onCodePathStart ${A.id}`),x.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(x,v),l.dumpState(v,b,!1)}function S(x,v){const A=x.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(x,v),b.makeBreak(v.label&&v.label.name),w=!0;break;case"ContinueStatement":f(x,v),b.makeContinue(v.label&&v.label.name),w=!0;break;case"ReturnStatement":f(x,v),b.makeReturn(),w=!0;break;case"ThrowStatement":f(x,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(x,v),l.dumpState(v,b,!0)}function C(x,v){function A(){let b=x.codePath;n.getState(b).makeFinal(),g(x,v),l.dump(`onCodePathEnd ${b.id}`),x.emit("onCodePathEnd",[b,v]),l.dumpDot(b),b=x.codePath=x.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(x.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&&h(this,v),E(this,v),this.original.enterNode(v),this.currentNode=null}leaveNode(v){this.currentNode=v,S(this,v),this.original.leaveNode(v),C(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,sh;function V1(){if(sh)return Ra;sh=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,d,s,f,g;for(c=[],d=0,s=arguments.length;d<s;++d)c.push(arguments[d]);return i=c,f=function(){var h,E,S,C=[];for(h=0,S=(E=i).length;h<S;++h)g=E[h],C.push(g+p.call(g).slice(8,-1));return C}().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(d){return r.length>1?function(){var s=d?d.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,ah;function $1(){if(ah)return _a;ah=1;var a,e,n,o,t,l,p,u,r,m,i,c,d,s,f,g,h,E,S,C,T,x,v,A,b,w,k,R,F,L,P,O,$,M,_,K,B,X,J,ge,ae,ke,Z,I,H,fe,ce,ie,de,xe,be,Ae,ee,ne,we,z,oe,Te,Re,Pe,G,Je,ut,tt,qe,We,st,mt,rt,Qe,Et={}.toString;a=Ze(function(Ee,j){var U,V,Q;for(U=0,V=j.length;U<V;++U)Q=j[U],Ee(Q);return j}),e=Ze(function(Ee,j){var U,V,Q,le=[];for(U=0,V=j.length;U<V;++U)Q=j[U],le.push(Ee(Q));return le}),n=function(Ee){var j,U,V,Q=[];for(j=0,U=Ee.length;j<U;++j)V=Ee[j],V&&Q.push(V);return Q},o=Ze(function(Ee,j){var U,V,Q,le=[];for(U=0,V=j.length;U<V;++U)Q=j[U],Ee(Q)&&le.push(Q);return le}),t=Ze(function(Ee,j){var U,V,Q,le=[];for(U=0,V=j.length;U<V;++U)Q=j[U],Ee(Q)||le.push(Q);return le}),l=Ze(function(Ee,j){var U,V;return U=st(Ee,j),V=j.slice(),U!=null&&V.splice(U,1),V}),p=Ze(function(Ee,j){var U,V,Q,le,te;for(U=[],V=[],Q=0,le=j.length;Q<le;++Q)te=j[Q],(Ee(te)?U:V).push(te);return[U,V]}),u=Ze(function(Ee,j){var U,V,Q;for(U=0,V=j.length;U<V;++U)if(Q=j[U],Ee(Q))return Q}),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]},d=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 j,U,V,Q;for(j=[],U=0,V=Ee.length;U<V;++U)Q=Ee[U],xt(Q,j)||j.push(Q);return j},h=Ze(function(Ee,j){var U,V,Q,le,te,q=[];for(U=[],V=0,Q=j.length;V<Q;++V)le=j[V],te=Ee(le),!xt(te,U)&&(U.push(te),q.push(le));return q}),E=S=Ze(function(Ee,j,U){var V,Q,le;for(V=0,Q=U.length;V<Q;++V)le=U[V],j=Ee(j,le);return j}),C=T=Ze(function(Ee,j){return E(Ee,j[0],j.slice(1))}),x=Ze(function(Ee,j,U){var V,Q;for(V=U.length-1;V>=0;--V)Q=U[V],j=Ee(Q,j);return j}),v=Ze(function(Ee,j){return x(Ee,j[j.length-1],j.slice(0,-1))}),A=Ze(function(Ee,j){var U,V,Q;for(U=[],V=j;(Q=Ee(V))!=null;)U.push(Q[0]),V=Q[1];return U}),b=function(Ee){return[].concat.apply([],Ee)},w=Ze(function(Ee,j){var U;return[].concat.apply([],function(){var V,Q,le,te=[];for(V=0,le=(Q=j).length;V<le;++V)U=Q[V],te.push(Ee(U));return te}())}),k=function(Ee){var j;return[].concat.apply([],function(){var U,V,Q,le=[];for(U=0,Q=(V=Ee).length;U<Q;++U)j=V[U],Et.call(j).slice(8,-1)==="Array"?le.push(k(j)):le.push(j);return le}())},R=function(Ee){var j,U,V,Q,le,te,q,se,ue,Se;for(U=[],V=1,Q=arguments.length;V<Q;++V)U.push(arguments[V]);j=U,le=[];e:for(V=0,te=Ee.length;V<te;++V){for(q=Ee[V],se=0,ue=j.length;se<ue;++se)if(Se=j[se],xt(q,Se))continue e;le.push(q)}return le},F=function(Ee){var j,U,V,Q,le,te,q,se,ue,Se;for(U=[],V=1,Q=arguments.length;V<Q;++V)U.push(arguments[V]);j=U,le=[];e:for(V=0,te=Ee.length;V<te;++V){for(q=Ee[V],se=0,ue=j.length;se<ue;++se)if(Se=j[se],!xt(q,Se))continue e;le.push(q)}return le},L=function(){var Ee,j,U,V,Q,le,te,q,se,ue;for(j=[],U=0,V=arguments.length;U<V;++U)j.push(arguments[U]);for(Ee=j,Q=[],U=0,le=Ee.length;U<le;++U)for(te=Ee[U],q=0,se=te.length;q<se;++q)ue=te[q],xt(ue,Q)||Q.push(ue);return Q},P=Ze(function(Ee,j){var U,V,Q,le,te;for(U={},V=0,Q=j.length;V<Q;++V)le=j[V],te=Ee(le),te in U?U[te]+=1:U[te]=1;return U}),O=Ze(function(Ee,j){var U,V,Q,le,te;for(U={},V=0,Q=j.length;V<Q;++V)le=j[V],te=Ee(le),te in U?U[te].push(le):U[te]=[le];return U}),$=function(Ee){var j,U,V;for(j=0,U=Ee.length;j<U;++j)if(V=Ee[j],!V)return!1;return!0},M=function(Ee){var j,U,V;for(j=0,U=Ee.length;j<U;++j)if(V=Ee[j],V)return!0;return!1},_=Ze(function(Ee,j){var U,V,Q;for(U=0,V=j.length;U<V;++U)if(Q=j[U],Ee(Q))return!0;return!1}),K=Ze(function(Ee,j){var U,V,Q;for(U=0,V=j.length;U<V;++U)if(Q=j[U],!Ee(Q))return!1;return!0}),B=function(Ee){return Ee.concat().sort(function(j,U){return j>U?1:j<U?-1:0})},X=Ze(function(Ee,j){return j.concat().sort(Ee)}),J=Ze(function(Ee,j){return j.concat().sort(function(U,V){return Ee(U)>Ee(V)?1:Ee(U)<Ee(V)?-1:0})}),ge=function(Ee){var j,U,V,Q;for(j=0,U=0,V=Ee.length;U<V;++U)Q=Ee[U],j+=Q;return j},ae=function(Ee){var j,U,V,Q;for(j=1,U=0,V=Ee.length;U<V;++U)Q=Ee[U],j*=Q;return j},ke=Z=function(Ee){var j,U,V,Q;for(j=0,U=0,V=Ee.length;U<V;++U)Q=Ee[U],j+=Q;return j/Ee.length},I=function(Ee){var j,U,V,Q,le;for(j=Ee[0],U=0,Q=(V=Ee.slice(1)).length;U<Q;++U)le=V[U],le>j&&(j=le);return j},H=function(Ee){var j,U,V,Q,le;for(j=Ee[0],U=0,Q=(V=Ee.slice(1)).length;U<Q;++U)le=V[U],le<j&&(j=le);return j},fe=Ze(function(Ee,j){var U,V,Q,le,te;for(U=j[0],V=0,le=(Q=j.slice(1)).length;V<le;++V)te=Q[V],Ee(te)>Ee(U)&&(U=te);return U}),ce=Ze(function(Ee,j){var U,V,Q,le,te;for(U=j[0],V=0,le=(Q=j.slice(1)).length;V<le;++V)te=Q[V],Ee(te)<Ee(U)&&(U=te);return U}),ie=de=Ze(function(Ee,j,U){var V,Q;return V=j,[j].concat(function(){var le,te,q,se=[];for(le=0,q=(te=U).length;le<q;++le)Q=te[le],se.push(V=Ee(V,Q));return se}())}),xe=be=Ze(function(Ee,j){if(j.length)return ie(Ee,j[0],j.slice(1))}),Ae=Ze(function(Ee,j,U){return U=U.concat().reverse(),ie(Ee,j,U).reverse()}),ee=Ze(function(Ee,j){if(j.length)return j=j.concat().reverse(),ie(Ee,j[0],j.slice(1)).reverse()}),ne=Ze(function(Ee,j,U){return U.slice(Ee,j)}),we=Ze(function(Ee,j){return Ee<=0?j.slice(0,0):j.slice(0,Ee)}),z=Ze(function(Ee,j){return Ee<=0?j:j.slice(Ee)}),oe=Ze(function(Ee,j){return[we(Ee,j),z(Ee,j)]}),Te=Ze(function(Ee,j){var U,V;if(U=j.length,!U)return j;for(V=0;V<U&&Ee(j[V]);)V+=1;return j.slice(0,V)}),Re=Ze(function(Ee,j){var U,V;if(U=j.length,!U)return j;for(V=0;V<U&&Ee(j[V]);)V+=1;return j.slice(V)}),Pe=Ze(function(Ee,j){return[Te(Ee,j),Re(Ee,j)]}),G=Ze(function(Ee,j){return Pe(Ke(Ee,$e),j)}),Je=Ze(function(Ee,j){var U,V,Q,le,te,q;for(U=[],V=j.length,Q=0,le=Ee.length;Q<le&&(te=Q,q=Ee[Q],te!==V);++Q)U.push([q,j[te]]);return U}),ut=Ze(function(Ee,j,U){var V,Q,le,te,q,se;for(V=[],Q=U.length,le=0,te=j.length;le<te&&(q=le,se=j[le],q!==Q);++le)V.push(Ee(se,U[q]));return V}),tt=function(){var Ee,j,U,V,Q,le,te,q,se,ue,Se,Oe=[];for(j=[],U=0,V=arguments.length;U<V;++U)j.push(arguments[U]);for(Ee=j,Q=void 0,U=0,le=Ee.length;U<le;++U)te=Ee[U],Q<=(q=te.length)||(Q=q);for(U=0;U<Q;++U){for(se=U,ue=[],Se=0,le=Ee.length;Se<le;++Se)te=Ee[Se],ue.push(te[se]);Oe.push(ue)}return Oe},qe=function(Ee){var j,U,V,Q,le,te,q,se,ue,Se=[];for(U=[],V=1,Q=arguments.length;V<Q;++V)U.push(arguments[V]);for(j=U,le=void 0,V=0,te=j.length;V<te;++V)q=j[V],le<=(se=q.length)||(le=se);for(V=0;V<le;++V)ue=V,Se.push(Ee.apply(null,Oe()));return Se;function Oe(){var Ie,Ge,ze,me=[];for(Ie=0,ze=(Ge=j).length;Ie<ze;++Ie)q=Ge[Ie],me.push(q[ue]);return me}},We=Ze(function(Ee,j){return Ee<0?j[j.length+Ee]:j[Ee]}),st=Ze(function(Ee,j){var U,V,Q,le;for(U=0,V=j.length;U<V;++U)if(Q=U,le=j[U],le===Ee)return Q}),mt=Ze(function(Ee,j){var U,V,Q,le,te=[];for(U=0,V=j.length;U<V;++U)Q=U,le=j[U],le===Ee&&te.push(Q);return te}),rt=Ze(function(Ee,j){var U,V,Q,le;for(U=0,V=j.length;U<V;++U)if(Q=U,le=j[U],Ee(le))return Q}),Qe=Ze(function(Ee,j){var U,V,Q,le,te=[];for(U=0,V=j.length;U<V;++U)Q=U,le=j[U],Ee(le)&&te.push(Q);return te}),_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:d,empty:s,reverse:f,difference:R,intersection:F,union:L,countBy:P,groupBy:O,fold:E,fold1:C,foldl:S,foldl1:T,foldr:x,foldr1:v,unfoldr:A,andList:$,orList:M,any:_,all:K,unique:g,uniqueBy:h,sort:B,sortWith:X,sortBy:J,sum:ge,product:ae,mean:ke,average:Z,concat:b,concatMap:w,flatten:k,maximum:I,minimum:H,maximumBy:fe,minimumBy:ce,scan:ie,scan1:xe,scanl:de,scanl1:be,scanr:Ae,scanr1:ee,slice:ne,take:we,drop:z,splitAt:oe,takeWhile:Te,dropWhile:Re,span:Pe,breakList:G,zip:Je,zipWith:ut,zipAll:tt,zipAllWith:qe,at:We,elemIndex:st,elemIndices:mt,findIndex:rt,findIndices:Qe};function Ze(Ee,j){var U,V=function(Q){return Ee.length>1?function(){var le=Q?Q.concat():[];return U=this,le.push.apply(le,arguments)<Ee.length&&arguments.length?V.call(U,le):Ee.apply(U,le)}:Ee};return V()}function xt(Ee,j){for(var U=-1,V=j.length>>>0;++U<V;)if(Ee===j[U])return!0;return!1}function Ke(){var Ee=arguments;return function(){var j,U;for(U=Ee[0].apply(this,arguments),j=1;j<Ee.length;++j)U=Ee[j](U);return U}}function $e(Ee){return!Ee}return _a}var Ba,ih;function W1(){if(ih)return Ba;ih=1;var a,e,n,o,t,l,p,u,r,m,i,c,d,s;a=function(g){var h,E,S=[];for(h in g)E=g[h],S.push(E);return S},e=function(g){var h,E=[];for(h in g)E.push(h);return E},n=function(g){var h,E,S,C={};for(h=0,E=g.length;h<E;++h)S=g[h],C[S[0]]=S[1];return C},o=function(g){var h,E,S=[];for(h in g)E=g[h],S.push([h,E]);return S},t=f(function(g,h){var E,S,C,T,x={};for(E=0,S=g.length;E<S;++E)C=E,T=g[E],x[T]=h[C];return x}),l=function(g){var h,E,S,C;h=[],E=[];for(S in g)C=g[S],h.push(S),E.push(C);return[h,E]},p=function(g){var h;for(h in g)return!1;return!0},u=f(function(g,h){var E,S;for(E in h)S=h[E],g(S);return h}),r=f(function(g,h){var E,S,C={};for(E in h)S=h[E],C[E]=g(S);return C}),m=function(g){var h,E,S={};for(h in g)E=g[h],E&&(S[h]=E);return S},i=f(function(g,h){var E,S,C={};for(E in h)S=h[E],g(S)&&(C[E]=S);return C}),c=f(function(g,h){var E,S,C={};for(E in h)S=h[E],g(S)||(C[E]=S);return C}),d=f(function(g,h){var E,S,C,T;E={},S={};for(C in h)T=h[C],(g(T)?E:S)[C]=T;return[E,S]}),s=f(function(g,h){var E,S;for(E in h)if(S=h[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:d,find:s};function f(g,h){var E,S=function(C){return g.length>1?function(){var T=C?C.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,oh;function G1(){if(oh)return La;oh=1;var a,e,n,o,t,l,p,u,r,m,i,c,d;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 h,E;for(h="",E=0;E<f;++E)h+=g;return h}),i=function(f){return f.charAt(0).toUpperCase()+f.slice(1)},c=function(f){return f.replace(/[-_]+(.)?/g,function(g,h){return(h??"").toUpperCase()})},d=function(f){return f.replace(/([^-A-Z])([A-Z]+)/g,function(g,h,E){return h+"-"+(E.length>1?E:E.toLowerCase())}).replace(/^([A-Z]+)/,function(g,h){return h.length>1?h+"-":h.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:d};function s(f,g){var h,E=function(S){return f.length>1?function(){var C=S?S.concat():[];return h=this,C.push.apply(C,arguments)<f.length&&arguments.length?E.call(h,C):f.apply(h,C)}:f};return E()}return La}var Oa,lh;function z1(){if(lh)return Oa;lh=1;var a,e,n,o,t,l,p,u,r,m,i,c,d,s,f,g,h,E,S,C,T,x,v,A,b,w,k,R,F,L,P,O;a=$(function(M,_){return M>_?M:_}),e=$(function(M,_){return M<_?M:_}),n=function(M){return-M},o=Math.abs,t=function(M){return M<0?-1:M>0?1:0},l=$(function(M,_){return~~(M/_)}),p=$(function(M,_){return M%_}),u=$(function(M,_){return Math.floor(M/_)}),r=$(function(M,_){var K;return(M%(K=_)+K)%K}),m=function(M){return 1/M},i=Math.PI,c=i*2,d=Math.exp,s=Math.sqrt,f=Math.log,g=$(function(M,_){return Math.pow(M,_)}),h=Math.sin,E=Math.tan,S=Math.cos,C=Math.asin,T=Math.acos,x=Math.atan,v=$(function(M,_){return Math.atan2(M,_)}),A=function(M){return~~M},b=Math.round,w=Math.ceil,k=Math.floor,R=function(M){return M!==M},F=function(M){return M%2===0},L=function(M){return M%2!==0},P=$(function(M,_){var K;for(M=Math.abs(M),_=Math.abs(_);_!==0;)K=M%_,M=_,_=K;return M}),O=$(function(M,_){return Math.abs(Math.floor(M/P(M,_)*_))}),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:d,sqrt:s,ln:f,pow:g,sin:h,tan:E,cos:S,acos:T,asin:C,atan:x,atan2:v,truncate:A,round:b,ceiling:w,floor:k,isItNaN:R,even:F,odd:L,gcd:P,lcm:O};function $(M,_){var K,B=function(X){return M.length>1?function(){var J=X?X.concat():[];return K=this,J.push.apply(J,arguments)<M.length&&arguments.length?B.call(K,J):M.apply(K,J)}:M};return B()}return Oa}var Na,uh;function ch(){if(uh)return Na;uh=1;var a,e,n,o,t,l,p,u,r,m={}.toString;a=V1(),e=$1(),n=W1(),o=G1(),t=z1(),l=function(c){return c},p=i(function(c,d){return m.call(d).slice(8,-1)===c}),u=i(function(c,d){var s,f=[];for(s=0;s<c;++s)f.push(d);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,d){var s,f=function(g){return c.length>1?function(){var h=g?g.concat():[];return s=this,h.push.apply(h,arguments)<c.length&&arguments.length?f.call(s,h):c.apply(s,h)}:c};return f()}return Na}var fh;function H1(){return fh||(fh=1,(function(){var a,e,n;a=ch().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 h,E,S,C;for(h=f[0],E=f[1],g&&o(s,h),S=[],C=","+(g?E:"");s.length&&g&&s[0]!==E;)S.push(i(s,C)),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,h,E;for(f&&o(s,"{"),g={},h=","+(f?"}":"");s.length&&(!f||s[0]!=="}");)E=m(s,":"),o(s,":"),g[E]=i(s,h),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 h,E,S,C,T,x,v,A;return h=f[0],E=h.type,S=h.structure,C=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]==="{"),x=s.length?i(S==="array"||E==="Array"?(v=C,v.unshift("["),v.push("]"),v):(A=C,A.unshift("("),A.push(")"),A)):T):x=i(s),x}e=/\[\]\(\)}{:,/.source,n=RegExp(`("(?:\\\\"|[^"])*")|('(?:\\\\'|[^'])*')|(/(?:\\\\/|[^/])*/[a-zA-Z]*)|(#.*#)|([`+e+"])|([^\\s"+e+"](?:\\s*[^\\s"+e+"]+)*)|\\s*"),Fa.exports=function(s,f,g){var h,E;if(g==null&&(g={}),!g.explicit&&s.length===1&&s[0].type==="String")return f;if(h=a(d,f.split(n)),E=c(h,s,g),!E)throw new Error("Error parsing '"+f+"'.");return E};function d(s){return!s}}).call(this)),Fa.exports}var Ma={exports:{}},ja={exports:{}},Ua={exports:{}},ph;function K1(){return ph||(ph=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 h;if(h=n(f),h!==g)throw new Error("Expected '"+g+"', got '"+h+"' instead.");return f.shift()}function l(f,g){var h;return h=f[0],h===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=d(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(d(f)),l(f,","),n(f)!==")";);return t(f,")"),{structure:"tuple",of:g}}function r(f){var g,h,E,S,C;for(g={},t(f,"{"),h=!1;;){if(l(f,"...")){h=!0;break}if(E=m(f),S=E[0],C=E[1],g[S]=C,l(f,","),n(f)==="}")break}return t(f,"}"),{structure:"fields",of:g,subset:h}}function m(f){var g,h;return g=o(f),t(f,":"),h=d(f),[g,h]}function i(f){switch(f[0]){case"[":return p(f);case"(":return u(f);case"{":return r(f)}}function c(f){var g,h,E,S;if(g=n(f),h=g==="*",h||a.test(g))return E=h?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 d(f){var g,h,E,S,C,T;if(n(f)==="::")throw new Error("No comment before comment separator '::' found.");for(g=f[1],g!=null&&g==="::"&&(f.shift(),f.shift()),h=[],E={},n(f)==="Maybe"&&(f.shift(),h=[{type:"Undefined"},{type:"Null"}],E={Undefined:!0,Null:!0});S=c(f),C=S.type,T=S.structure,E[C]||h.push(S),T==null&&(E[C]=!0),!!l(f,"|"););return h}e=RegExp("\\.\\.\\.|::|->|"+a.source+"|\\S","g"),Ua.exports=function(f){var g,h;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 d(g)}catch(E){throw h=E,new Error(h.message+" - Remaining tokens: "+JSON.stringify(g)+" - Initial input: '"+f+"'")}};function s(f,g){for(var h=-1,E=g.length>>>0;++h<E;)if(f===g[h])return!0;return!1}}).call(this)),Ua.exports}var qa={exports:{}},mh;function X1(){return mh||(mh=1,(function(){var a,e,n,o,t,l,p={}.toString;a=ch(),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(h){return d(h,f.of,g)},s)}function r(s,f,g){var h,E,S,C,T;for(h=0,E=0,C=(S=f.of).length;E<C;++E){if(T=S[E],!d(s[h],T,g))return!1;h++}return s.length<=h}function m(s,f,g){var h,E,S,C,T,x,v;h={},E=0;for(S in s)h[S]=!0,E++;C=0;for(T in x=f.of){if(v=x[T],!d(s[T],v,g))return!1;h[T]&&C++}return f.subset||E===C}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 h,E,S,C;if(h=f.type,E=f.structure,h)return h==="*"?!0:(S=g.customTypes[h]||t[h],S?(S.typeOf===void 0||S.typeOf===p.call(s).slice(8,-1))&&S.validate(s):h===p.call(s).slice(8,-1)&&(!E||i(s,f,g)));if(E)return(C=l[E])&&C!==p.call(s).slice(8,-1)?!1:i(s,f,g);throw new Error("No type defined. Input: "+s+".")}function d(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(h){return c(s,h,g)},f)}qa.exports=function(s,f,g){return g==null&&(g={}),g.customTypes==null&&(g.customTypes={}),d(f,s,g)}}).call(this)),qa.exports}var dh;function hh(){return dh||(dh=1,(function(){var a,e,n,o;a="0.4.0",e=K1(),n=X1(),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 gh;function J1(){return gh||(gh=1,(function(){var a,e,n={}.toString;a=hh().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,d){return c.replace(/\\([^u]|u[0-9a-fA-F]{4})/g,function(s,f){switch(f[0]){case d:return d;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,d;return n.call(r).slice(8,-1)!=="Array"?{type:"Nothing"}:(c=m.of,{type:"Just",value:function(){var s,f,g,h=[];for(s=0,g=(f=r).length;s<g;++s)d=f[s],h.push(u(d,c,i));return h}()})}function t(r,m,i){var c,d,s,f,g,h,E;if(n.call(r).slice(8,-1)!=="Array")return{type:"Nothing"};for(c=[],d=0,s=0,g=(f=m.of).length;s<g;++s)h=f[s],E=u(r[d],h,i),n.call(E).slice(8,-1)!=="Undefined"&&c.push(E),d++;return r.length<=d?{type:"Just",value:c}:{type:"Nothing"}}function l(r,m,i){var c,d,s;return n.call(r).slice(8,-1)!=="Object"?{type:"Nothing"}:(c=m.of,{type:"Just",value:function(){var f,g={};for(d in f=r)s=f[d],g[u(d,[{type:"String"}],i)]=u(s,c[d]||[{type:"*"}],i);return g}()})}function p(r,m,i){var c,d,s,f;if(c=m.type,d=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(d){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,d,s,f,g,h;for(c=0,d=m.length;c<d;++c)if(s=m[c],f=p(r,s,i),g=f.type,h=f.value,g!=="Nothing"&&a([s],h,{customTypes:i.customTypes}))return h;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 yh;function Y1(){return yh||(yh=1,(function(){var a,e,n,o,t,l;a=H1(),e=J1(),n=hh().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 vh;function Eh(){if(vh)return Dr;vh=1;var a=Y1();const e=/^([a-z]+(?:-[a-z]+)*)(?:\s|$)/u,n=new Set([0,1,2,"off","warn","error"]);function o(g){const h=Array.isArray(g)?g[0]:g;return n.has(h)}function t(g){return Object.values(g).every(o)}class l{label="";value="";justification="";constructor(h,E,S){this.label=h,this.value=E,this.justification=S}}class p{parseStringConfig(h){const E={};return h.trim().replace(new RegExp("(?<!\\s)\\s*([:,])\\s*","gu"),"$1").split(/\s|,+/u).forEach(C=>{if(!C)return;const[T,x=null]=C.split(":");E[T]=x}),E}parseJSONLikeConfig(h){try{const S=a.parse("Object",h)||{};if(t(S))return{ok:!0,config:S}}catch{}const E=h.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 C=S instanceof Error?S.message:String(S);return{ok:!1,error:{message:`Failed to parse JSON from '${E}': ${C}`}}}}parseListConfig(h){const E={};return h.split(",").forEach(S=>{const C=S.trim().replace(/^(?<quote>['"]?)(?<ruleId>.*)\k<quote>$/su,"$<ruleId>");C&&(E[C]=!0)}),E}#e(h){const E=/\s-{2,}\s/u.exec(h);if(!E)return{directivePart:h.trim(),justificationPart:""};const S=h.slice(0,E.index).trim(),C=h.slice(E.index+E[0].length).trim();return{directivePart:S,justificationPart:C}}parseDirective(h){const{directivePart:E,justificationPart:S}=this.#e(h),C=e.exec(E);if(!C)return;const T=C[1],x=E.slice(C.index+T.length);return new l(T,x.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:h,phase:E,args:S}){this.target=h,this.phase=E,this.args=S}}class d{type="call";kind=2;target;args;constructor({target:h,args:E}){this.target=h,this.args=E}}class s{type;node;value;justification;constructor({type:h,node:E,value:S,justification:C}){this.type=h,this.node=E,this.value=S,this.justification=C}}class f{#e;ast;text;constructor({text:h,ast:E,lineEndingPattern:S=/\r?\n/u}){this.ast=E,this.text=h,this.#e=h.split(S)}getLoc(h){if(u(h))return h.loc;if(r(h))return h.position;throw new Error("Custom getLoc() method must be implemented in the subclass.")}getRange(h){if(m(h))return h.range;if(i(h))return[h.position.start.offset,h.position.end.offset];throw new Error("Custom getRange() method must be implemented in the subclass.")}getParent(h){throw new Error("Not implemented.")}getAncestors(h){if(!h)throw new TypeError("Missing required argument: node.");const E=[];for(let S=this.getParent(h);S;S=this.getParent(S))E.push(S);return E.reverse()}getText(h,E,S){if(h){const C=this.getRange(h);return this.text.slice(Math.max(C[0]-(E||0),0),C[1]+(S||0))}return this.text}get lines(){return this.#e}traverse(){throw new Error("Not implemented.")}}return Dr.CallMethodStep=d,Dr.ConfigCommentParser=p,Dr.Directive=s,Dr.TextSourceCodeBase=f,Dr.VisitNodeStep=c,Dr}var Va,Sh;function Q1(){if(Sh)return Va;Sh=1;const{isCommentToken:a}=qt(),e=N1(),n=Fn(),o=ra(),t=zd(),{directivesPattern:l}=Kd(),p=q1(),{ConfigCommentParser:u,VisitNodeStep:r,CallMethodStep:m,Directive:i}=Eh(),c=qn(),d=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 h(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 C(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,$=w.getFirstToken(P)||P;let M=O;for(;M!==$;){const _=w.getTokenAfter(M,{includeComments:!0});if(M.range[1]!==_.range[0]||F&&_!==$&&_.type==="JSXText"&&/\s/u.test(_.value))return!0;M=_}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 x(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]),$=R[L]&&R[L].value||P,M=R[L]&&R[L].comments;if($==="off")continue;let _=w.set.get(L);_||(_=new c.Variable(L,w),w.variables.push(_),w.set.set(L,_)),_.eslintImplicitGlobalSetting=P,_.eslintExplicitGlobal=M!==void 0,_.eslintExplicitGlobalComments=M,_.writeable=$==="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,$,M;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,$=k.scopeManager,M=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=$||null,this.visitorKeys=M||o.DEFAULT_VISITOR_KEYS;const K=this.text.match(n.shebangPattern);K&&P.comments.length&&P.comments[0].value===K[1]&&(P.comments[0].type="Shebang"),this.tokensAndComments=h(P.tokens,P.comments),this.lines=[],this.lineStartIndices=[0];const X=n.createGlobalLinebreakMatcher();let J;for(;J=X.exec(this.text);)this.lines.push(this.text.slice(this.lineStartIndices.at(-1),J.index)),this.lineStartIndices.push(J.index+J[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 C(this,k,R,!1)}isSpaceBetweenTokens(k,R){return C(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($=>$.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=d.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:$,justification:M}=d.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 K=`${O} comment should not span multiple lines.`;R.push({ruleId:null,message:K,loc:P.loc});return}switch(O){case"eslint-disable":case"eslint-enable":case"eslint-disable-next-line":case"eslint-disable-line":{const K=O.slice(7);F.push(new i({type:K,node:P,value:$,justification:M}))}}}});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:$,value:M}=d.parseDirective(O.value);switch($){case"exported":Object.assign(F,d.parseListConfig(M));break;case"globals":case"global":for(const[_,K]of Object.entries(d.parseStringConfig(M))){let B;try{B=E(K)}catch(X){k.push({ruleId:null,loc:O.loc,message:X.message});continue}L[_]?(L[_].comments.push(O),L[_].value=B):L[_]={comments:[O],value:B}}break;case"eslint":{const _=d.parseJSONLikeConfig(M);_.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];x(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,bh;function xh(){return bh||(bh=1,$a={SourceCode:Q1()}),$a}var Wa,Ch;function Rn(){return Ch||(Ch=1,Wa=a=>{if(typeof a!="string")throw new TypeError("Expected a string");return a.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}),Wa}var Ga,wh;function Ah(){if(wh)return Ga;wh=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,Th;function kh(){if(Th)return za;Th=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,Dh;function Ka(){if(Dh)return Ha;Dh=1;const{normalizeSeverityToNumber:a}=kh(),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 $=O.get(L);if($){const _=$.get(P);if(_)return _}else $=new Map,O.set(L,$);const M={...L,...P};delete M.__proto__,$.set(P,M);for(const _ of Object.keys(P)){if(_==="__proto__"||!Object.prototype.propertyIsEnumerable.call(L,_))continue;const K=L[_],B=P[_];o(K)&&o(B)?M[_]=l(K,B,O):t(B)&&(M[_]=K)}return M}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 d(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 h={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.')}},C={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"},x={merge(L={},P={}){const O=l(L,P);for(const[$,M]of Object.entries(O))if(o(M)){if(u(M)){O[$]=P[$]??L[$];continue}O[$]={...O[$]};continue}return O},validate:"object"},v={merge:"replace",validate:d},A={merge(L={},P={}){const O=new Set([...Object.keys(L),...Object.keys(P)]),$={};for(const M of O)if(M!=="__proto__"){if(M in L&&M in P&&L[M]!==P[M])throw new TypeError(`Cannot redefine plugin "${M}".`);$[M]=P[M]||L[M]}return $},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")d(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 $ of Object.keys(O))try{if($==="__proto__"){delete O.__proto__;continue}if(O[$]=p(O[$]),!($ in L)||!($ in P))continue;const M=p(L[$]),_=p(P[$]);if(_.length===1){O[$]=[_[0],...M.slice(1)];continue}}catch(M){throw new Error(`Key "${$}": ${M.message}`,{cause:M})}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:h,reportUnusedDisableDirectives:S,reportUnusedInlineConfigs:C}},language:v,languageOptions:x,processor:b,plugins:A,rules:w},hasMethod:u,assertIsRuleSeverity:c},Ha}var Xa={},It={},Ih;function Z1(){if(Ih)return It;Ih=1;function a(I){if(typeof I!="string")throw new TypeError(`Path must be a string, received "${JSON.stringify(I)}"`)}function e(I,H){if(H.length>=I.length)return I;const fe=I.length-H.length;for(let ce=H.length-1;ce>=0;--ce)if(I.charCodeAt(fe+ce)!==H.charCodeAt(ce))return I;return I.slice(0,-H.length)}function n(I,H,fe=0){let ce=!1,ie=I.length;for(let de=I.length-1;de>=fe;--de)if(H(I.charCodeAt(de))){if(ce){fe=de+1;break}}else ce||(ce=!0,ie=de+1);return I.slice(fe,ie)}function o(I,H){if(a(I),I.length===0)return I;if(typeof H!="string")throw new TypeError(`Suffix must be a string, received "${JSON.stringify(H)}"`)}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,H){if(I.length<=1)return I;let fe=I.length;for(let ce=I.length-1;ce>0&&H(I.charCodeAt(ce));ce--)fe=ce;return I.slice(0,fe)}const u=46,r=47;function m(I){return I===r}function i(I,H=""){I instanceof URL&&(I=l(I)),o(I,H);const fe=n(I,m),ce=p(fe,m);return H?e(ce,H):ce}const c=":",d="/",s=/\/+/;function f(I){if(a(I),I.length===0)return"."}function g(I){I instanceof URL&&(I=l(I)),f(I);let H=-1,fe=!1;for(let ce=I.length-1;ce>=1;--ce)if(m(I.charCodeAt(ce))){if(fe){H=ce;break}}else fe=!0;return H===-1?m(I.charCodeAt(0))?"/":".":p(I.slice(0,H),m)}function h(I){I instanceof URL&&(I=l(I)),a(I);let H=-1,fe=0,ce=-1,ie=!0,de=0;for(let xe=I.length-1;xe>=0;--xe){const be=I.charCodeAt(xe);if(m(be)){if(!ie){fe=xe+1;break}continue}ce===-1&&(ie=!1,ce=xe+1),be===u?H===-1?H=xe:de!==1&&(de=1):H!==-1&&(de=-1)}return H===-1||ce===-1||de===0||de===1&&H===ce-1&&H===fe+1?"":I.slice(H,ce)}function E(I,H){const fe=H.dir||H.root,ce=H.base||(H.name??"")+(H.ext??"");return fe?ce===I?fe:fe===H.root?fe+ce:fe+I+ce:ce}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 C(I){return S(I),E("/",I)}function T(I){return a(I),I.length>0&&m(I.charCodeAt(0))}function x(I){if(a(I),I.length===0)return"."}function v(I,H,fe,ce){let ie="",de=0,xe=-1,be=0,Ae;for(let ee=0;ee<=I.length;++ee){if(ee<I.length)Ae=I.charCodeAt(ee);else{if(ce(Ae))break;Ae=r}if(ce(Ae)){if(!(xe===ee-1||be===1))if(xe!==ee-1&&be===2){if(ie.length<2||de!==2||ie.charCodeAt(ie.length-1)!==u||ie.charCodeAt(ie.length-2)!==u){if(ie.length>2){const ne=ie.lastIndexOf(fe);ne===-1?(ie="",de=0):(ie=ie.slice(0,ne),de=ie.length-1-ie.lastIndexOf(fe)),xe=ee,be=0;continue}else if(ie.length===2||ie.length===1){ie="",de=0,xe=ee,be=0;continue}}H&&(ie.length>0?ie+=`${fe}..`:ie="..",de=2)}else ie.length>0?ie+=fe+I.slice(xe+1,ee):ie=I.slice(xe+1,ee),de=ee-xe-1;xe=ee,be=0}else Ae===u&&be!==-1?++be:be=-1}return ie}function A(I){I instanceof URL&&(I=l(I)),x(I);const H=m(I.charCodeAt(0)),fe=m(I.charCodeAt(I.length-1));return I=v(I,!H,"/",m),I.length===0&&!H&&(I="."),I.length>0&&fe&&(I+="/"),H?`/${I}`:I}function b(I,...H){if(I===void 0)return".";I instanceof URL&&(I=l(I)),H=I?[I,...H]:H,H.forEach(ce=>a(ce));const fe=H.filter(ce=>ce.length>0).join("/");return fe===""?".":A(fe)}function w(I){a(I);const H={root:"",dir:"",base:"",ext:"",name:""};if(I.length===0)return H;const fe=m(I.charCodeAt(0));let ce;fe?(H.root="/",ce=1):ce=0;let ie=-1,de=0,xe=-1,be=!0,Ae=I.length-1,ee=0;for(;Ae>=ce;--Ae){const ne=I.charCodeAt(Ae);if(m(ne)){if(!be){de=Ae+1;break}continue}xe===-1&&(be=!1,xe=Ae+1),ne===u?ie===-1?ie=Ae:ee!==1&&(ee=1):ie!==-1&&(ee=-1)}return ie===-1||xe===-1||ee===0||ee===1&&ie===xe-1&&ie===de+1?(xe!==-1&&(de===0&&fe?H.base=H.name=I.slice(1,xe):H.base=H.name=I.slice(de,xe)),H.base=H.base||"/"):(de===0&&fe?(H.name=I.slice(1,ie),H.base=I.slice(1,xe)):(H.name=I.slice(de,ie),H.base=I.slice(de,xe)),H.ext=I.slice(ie,xe)),de>0?H.dir=p(I.slice(0,de-1),m):fe&&(H.dir="/"),H}function k(...I){let H="",fe=!1;for(let ce=I.length-1;ce>=-1&&!fe;ce--){let ie;if(ce>=0)ie=I[ce];else{const{Deno:de}=globalThis;if(typeof de?.cwd!="function")throw new TypeError("Resolved a relative path without a current working directory (CWD)");ie=de.cwd()}a(ie),ie.length!==0&&(H=`${ie}/${H}`,fe=m(ie.charCodeAt(0)))}return H=v(H,!fe,"/",m),fe?H.length>0?`/${H}`:"/":H.length>0?H:"."}function R(I,H){if(a(I),a(H),I===H)return""}function F(I,H){if(R(I,H),I=k(I),H=k(H),I===H)return"";let fe=1;const ce=I.length;for(;fe<ce&&m(I.charCodeAt(fe));++fe);const ie=ce-fe;let de=1;const xe=H.length;for(;de<xe&&m(H.charCodeAt(de));++de);const be=xe-de,Ae=ie<be?ie:be;let ee=-1,ne=0;for(;ne<=Ae;++ne){if(ne===Ae){if(be>Ae){if(m(H.charCodeAt(de+ne)))return H.slice(de+ne+1);if(ne===0)return H.slice(de+ne)}else ie>Ae&&(m(I.charCodeAt(fe+ne))?ee=ne:ne===0&&(ee=0));break}const z=I.charCodeAt(fe+ne),oe=H.charCodeAt(de+ne);if(z!==oe)break;m(z)&&(ee=ne)}let we="";for(ne=fe+ee+1;ne<=ce;++ne)(ne===ce||m(I.charCodeAt(ne)))&&(we.length===0?we+="..":we+="/..");return we.length>0?we+H.slice(de+ee):(de+=ee,m(H.charCodeAt(de))&&++de,H.slice(de))}const L={" ":"%09","\n":"%0A","\v":"%0B","\f":"%0C","\r":"%0D"," ":"%20"};function P(I){return I.replaceAll(/[\s]/g,H=>L[H]??H)}function O(I){if(!T(I))throw new TypeError(`Path must be absolute: received "${I}"`);const H=new URL("file:///");return H.pathname=P(I.replace(/%/g,"%25").replace(/\\/g,"%5C")),H}function $(I){return I}function M(I,H){const[fe="",...ce]=I,ie=fe.split(H);let de=ie.length,xe="";for(const be of ce){const Ae=be.split(H);Ae.length<=de&&(de=Ae.length,xe="");for(let ee=0;ee<de;ee++)if(Ae[ee]!==ie[ee]){de=ee,xe=ee===0?"":H;break}}return ie.slice(0,de).join(H)+xe}function _(I){return M(I,d)}const K=["!","$","(",")","*","+",".","=","?","[","\\","^","{","|"],B=["-","\\","]"];function X(I,H,{extended:fe=!0,globstar:ce=!0,caseInsensitive:ie=!1}={}){if(H==="")return/(?!)/;let de=H.length;for(;de>1&&I.seps.includes(H[de-1]);de--);H=H.slice(0,de);let xe="";for(let be=0;be<H.length;){let Ae="";const ee=[];let ne=!1,we=!1,z=!1,oe=be;for(;oe<H.length&&!I.seps.includes(H[oe]);oe++){if(we){we=!1,Ae+=(ne?B:K).includes(H[oe])?`\\${H[oe]}`:H[oe];continue}if(H[oe]===I.escapePrefix){we=!0;continue}if(H[oe]==="[")if(ne){if(H[oe+1]===":"){let Te=oe+1,Re="";for(;H[Te+1]!==void 0&&H[Te+1]!==":";)Re+=H[Te+1],Te++;if(H[Te+1]===":"&&H[Te+2]==="]"){oe=Te+2,Re==="alnum"?Ae+="\\dA-Za-z":Re==="alpha"?Ae+="A-Za-z":Re==="ascii"?Ae+="\0-":Re==="blank"?Ae+=" ":Re==="cntrl"?Ae+="\0-":Re==="digit"?Ae+="\\d":Re==="graph"?Ae+="!-~":Re==="lower"?Ae+="a-z":Re==="print"?Ae+=" -~":Re==="punct"?Ae+=`!"#$%&'()*+,\\-./:;<=>?@[\\\\\\]^_‘{|}~`:Re==="space"?Ae+="\\s\v":Re==="upper"?Ae+="A-Z":Re==="word"?Ae+="\\w":Re==="xdigit"&&(Ae+="\\dA-Fa-f");continue}}}else{ne=!0,Ae+="[",H[oe+1]==="!"?(oe++,Ae+="^"):H[oe+1]==="^"&&(oe++,Ae+="\\^");continue}if(H[oe]==="]"&&ne){ne=!1,Ae+="]";continue}if(ne){Ae+=H[oe];continue}if(H[oe]===")"&&ee.length>0&&ee[ee.length-1]!=="BRACE"){Ae+=")";const Te=ee.pop();Te==="!"?Ae+=I.wildcard:Te!=="@"&&(Ae+=Te);continue}if(H[oe]==="|"&&ee.length>0&&ee[ee.length-1]!=="BRACE"){Ae+="|";continue}if(H[oe]==="+"&&fe&&H[oe+1]==="("){oe++,ee.push("+"),Ae+="(?:";continue}if(H[oe]==="@"&&fe&&H[oe+1]==="("){oe++,ee.push("@"),Ae+="(?:";continue}if(H[oe]==="?"){fe&&H[oe+1]==="("?(oe++,ee.push("?"),Ae+="(?:"):Ae+=".";continue}if(H[oe]==="!"&&fe&&H[oe+1]==="("){oe++,ee.push("!"),Ae+="(?!";continue}if(H[oe]==="{"){ee.push("BRACE"),Ae+="(?:";continue}if(H[oe]==="}"&&ee[ee.length-1]==="BRACE"){ee.pop(),Ae+=")";continue}if(H[oe]===","&&ee[ee.length-1]==="BRACE"){Ae+="|";continue}if(H[oe]==="*"){if(fe&&H[oe+1]==="(")oe++,ee.push("*"),Ae+="(?:";else{const Te=H[oe-1];let Re=1;for(;H[oe+1]==="*";)oe++,Re++;const Pe=H[oe+1];ce&&Re===2&&[...I.seps,void 0].includes(Te)&&[...I.seps,void 0].includes(Pe)?(Ae+=I.globstar,z=!0):Ae+=I.wildcard}continue}Ae+=K.includes(H[oe])?`\\${H[oe]}`:H[oe]}if(ee.length>0||ne||we){Ae="";for(const Te of H.slice(be,oe))Ae+=K.includes(Te)?`\\${Te}`:Te,z=!1}for(xe+=Ae,z||(xe+=oe<H.length?I.sep:I.sepMaybe,z=!0);I.seps.includes(H[oe]);)oe++;be=oe}return xe=`^${xe}$`,new RegExp(xe,ie?"i":"")}const J={sep:"/+",sepMaybe:"/*",seps:["/"],globstar:"(?:[^/]*(?:/|$)+)*",wildcard:"[^/]*",escapePrefix:"\\"};function ge(I,H={}){return X(J,I,H)}function ae(I){const H={"{":"}","(":")","[":"]"},fe=/\\(.)|(^!|\*|\?|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/;if(I==="")return!1;let ce;for(;ce=fe.exec(I);){if(ce[2])return!0;let ie=ce.index+ce[0].length;const de=ce[1],xe=de?H[de]:null;if(de&&xe){const be=I.indexOf(xe,ie);be!==-1&&(ie=be+1)}I=I.slice(ie)}return!1}function ke(I,H={}){const{globstar:fe=!1}=H;if(I.match(/\0/g))throw new Error(`Glob contains invalid characters: "${I}"`);if(!fe)return A(I);const ce=s.source,ie=new RegExp(`(?<=(${ce}|^)\\*\\*${ce})\\.\\.(?=${ce}|$)`,"g");return A(I.replace(ie,"\0")).replace(/\0/g,"..")}function Z(I,H={}){const{globstar:fe=!1}=H;if(!fe||I.length===0)return b(...I);let ce;for(const ie of I){const de=ie;de.length>0&&(ce?ce+=`${d}${de}`:ce=de)}return ce?ke(ce,{globstar:fe}):"."}return It.DELIMITER=c,It.SEPARATOR=d,It.SEPARATOR_PATTERN=s,It.basename=i,It.common=_,It.dirname=g,It.extname=h,It.format=C,It.fromFileUrl=l,It.globToRegExp=ge,It.isAbsolute=T,It.isGlob=ae,It.join=b,It.joinGlobs=Z,It.normalize=A,It.normalizeGlob=ke,It.parse=w,It.relative=F,It.resolve=k,It.toFileUrl=O,It.toNamespacedPath=$,It}var Pt={},Ph;function ew(){if(Ph)return Pt;Ph=1;function a(ee){if(typeof ee!="string")throw new TypeError(`Path must be a string, received "${JSON.stringify(ee)}"`)}function e(ee,ne){if(ne.length>=ee.length)return ee;const we=ee.length-ne.length;for(let z=ne.length-1;z>=0;--z)if(ee.charCodeAt(we+z)!==ne.charCodeAt(z))return ee;return ee.slice(0,-ne.length)}function n(ee,ne,we=0){let z=!1,oe=ee.length;for(let Te=ee.length-1;Te>=we;--Te)if(ne(ee.charCodeAt(Te))){if(z){we=Te+1;break}}else z||(z=!0,oe=Te+1);return ee.slice(we,oe)}function o(ee,ne){if(a(ee),ee.length===0)return ee;if(typeof ne!="string")throw new TypeError(`Suffix must be a string, received "${JSON.stringify(ne)}"`)}const t=65,l=97,p=90,u=122,r=46,m=47,i=92,c=58,d=63;function s(ee,ne){if(ee.length<=1)return ee;let we=ee.length;for(let z=ee.length-1;z>0&&ne(ee.charCodeAt(z));z--)we=z;return ee.slice(0,we)}function f(ee){return ee===m}function g(ee){return ee===m||ee===i}function h(ee){return ee>=l&&ee<=u||ee>=t&&ee<=p}function E(ee){if(ee=ee instanceof URL?ee:new URL(ee),ee.protocol!=="file:")throw new TypeError(`URL must be a file URL: received "${ee.protocol}"`);return ee}function S(ee){ee=E(ee);let ne=decodeURIComponent(ee.pathname.replace(/\//g,"\\").replace(/%(?![0-9A-Fa-f]{2})/g,"%25")).replace(/^\\*([A-Za-z]:)(\\|$)/,"$1\\");return ee.hostname!==""&&(ne=`\\\\${ee.hostname}${ne}`),ne}function C(ee,ne=""){ee instanceof URL&&(ee=S(ee)),o(ee,ne);let we=0;if(ee.length>=2){const Te=ee.charCodeAt(0);h(Te)&&ee.charCodeAt(1)===c&&(we=2)}const z=n(ee,g,we),oe=s(z,g);return ne?e(oe,ne):oe}const T=";",x="\\",v=/[\\/]+/;function A(ee){if(a(ee),ee.length===0)return"."}function b(ee){ee instanceof URL&&(ee=S(ee)),A(ee);const ne=ee.length;let we=-1,z=-1,oe=!0,Te=0;const Re=ee.charCodeAt(0);if(ne>1)if(g(Re)){if(we=Te=1,g(ee.charCodeAt(1))){let Pe=2,G=Pe;for(;Pe<ne&&!g(ee.charCodeAt(Pe));++Pe);if(Pe<ne&&Pe!==G){for(G=Pe;Pe<ne&&g(ee.charCodeAt(Pe));++Pe);if(Pe<ne&&Pe!==G){for(G=Pe;Pe<ne&&!g(ee.charCodeAt(Pe));++Pe);if(Pe===ne)return ee;Pe!==G&&(we=Te=Pe+1)}}}}else h(Re)&&ee.charCodeAt(1)===c&&(we=Te=2,ne>2&&g(ee.charCodeAt(2))&&(we=Te=3));else if(g(Re))return ee;for(let Pe=ne-1;Pe>=Te;--Pe)if(g(ee.charCodeAt(Pe))){if(!oe){z=Pe;break}}else oe=!1;if(z===-1){if(we===-1)return".";z=we}return s(ee.slice(0,z),f)}function w(ee){ee instanceof URL&&(ee=S(ee)),a(ee);let ne=0,we=-1,z=0,oe=-1,Te=!0,Re=0;ee.length>=2&&ee.charCodeAt(1)===c&&h(ee.charCodeAt(0))&&(ne=z=2);for(let Pe=ee.length-1;Pe>=ne;--Pe){const G=ee.charCodeAt(Pe);if(g(G)){if(!Te){z=Pe+1;break}continue}oe===-1&&(Te=!1,oe=Pe+1),G===r?we===-1?we=Pe:Re!==1&&(Re=1):we!==-1&&(Re=-1)}return we===-1||oe===-1||Re===0||Re===1&&we===oe-1&&we===z+1?"":ee.slice(we,oe)}function k(ee,ne){const we=ne.dir||ne.root,z=ne.base||(ne.name??"")+(ne.ext??"");return we?z===ee?we:we===ne.root?we+z:we+ee+z:z}function R(ee){if(ee===null||typeof ee!="object")throw new TypeError(`The "pathObject" argument must be of type Object, received type "${typeof ee}"`)}function F(ee){return R(ee),k("\\",ee)}function L(ee){a(ee);const ne=ee.length;if(ne===0)return!1;const we=ee.charCodeAt(0);return g(we)?!0:!!(h(we)&&ne>2&&ee.charCodeAt(1)===c&&g(ee.charCodeAt(2)))}function P(ee){if(a(ee),ee.length===0)return"."}function O(ee,ne,we,z){let oe="",Te=0,Re=-1,Pe=0,G;for(let Je=0;Je<=ee.length;++Je){if(Je<ee.length)G=ee.charCodeAt(Je);else{if(z(G))break;G=m}if(z(G)){if(!(Re===Je-1||Pe===1))if(Re!==Je-1&&Pe===2){if(oe.length<2||Te!==2||oe.charCodeAt(oe.length-1)!==r||oe.charCodeAt(oe.length-2)!==r){if(oe.length>2){const ut=oe.lastIndexOf(we);ut===-1?(oe="",Te=0):(oe=oe.slice(0,ut),Te=oe.length-1-oe.lastIndexOf(we)),Re=Je,Pe=0;continue}else if(oe.length===2||oe.length===1){oe="",Te=0,Re=Je,Pe=0;continue}}ne&&(oe.length>0?oe+=`${we}..`:oe="..",Te=2)}else oe.length>0?oe+=we+ee.slice(Re+1,Je):oe=ee.slice(Re+1,Je),Te=Je-Re-1;Re=Je,Pe=0}else G===r&&Pe!==-1?++Pe:Pe=-1}return oe}function $(ee){ee instanceof URL&&(ee=S(ee)),P(ee);const ne=ee.length;let we=0,z,oe=!1;const Te=ee.charCodeAt(0);if(ne>1)if(g(Te))if(oe=!0,g(ee.charCodeAt(1))){let Pe=2,G=Pe;for(;Pe<ne&&!g(ee.charCodeAt(Pe));++Pe);if(Pe<ne&&Pe!==G){const Je=ee.slice(G,Pe);for(G=Pe;Pe<ne&&g(ee.charCodeAt(Pe));++Pe);if(Pe<ne&&Pe!==G){for(G=Pe;Pe<ne&&!g(ee.charCodeAt(Pe));++Pe);if(Pe===ne)return`\\\\${Je}\\${ee.slice(G)}\\`;Pe!==G&&(z=`\\\\${Je}\\${ee.slice(G,Pe)}`,we=Pe)}}}else we=1;else h(Te)&&ee.charCodeAt(1)===c&&(z=ee.slice(0,2),we=2,ne>2&&g(ee.charCodeAt(2))&&(oe=!0,we=3));else if(g(Te))return"\\";let Re;return we<ne?Re=O(ee.slice(we),!oe,"\\",g):Re="",Re.length===0&&!oe&&(Re="."),Re.length>0&&g(ee.charCodeAt(ne-1))&&(Re+="\\"),z===void 0?oe?Re.length>0?`\\${Re}`:"\\":Re:oe?Re.length>0?`${z}\\${Re}`:`${z}\\`:z+Re}function M(ee,...ne){if(ee instanceof URL&&(ee=S(ee)),ne=ee?[ee,...ne]:ne,ne.forEach(Re=>a(Re)),ne=ne.filter(Re=>Re.length>0),ne.length===0)return".";let we=!0,z=0;const oe=ne[0];if(g(oe.charCodeAt(0))){++z;const Re=oe.length;Re>1&&g(oe.charCodeAt(1))&&(++z,Re>2&&(g(oe.charCodeAt(2))?++z:we=!1))}let Te=ne.join("\\");if(we){for(;z<Te.length&&g(Te.charCodeAt(z));++z);z>=2&&(Te=`\\${Te.slice(z)}`)}return $(Te)}function _(ee){a(ee);const ne={root:"",dir:"",base:"",ext:"",name:""},we=ee.length;if(we===0)return ne;let z=0,oe=ee.charCodeAt(0);if(we>1){if(g(oe)){if(z=1,g(ee.charCodeAt(1))){let tt=2,qe=tt;for(;tt<we&&!g(ee.charCodeAt(tt));++tt);if(tt<we&&tt!==qe){for(qe=tt;tt<we&&g(ee.charCodeAt(tt));++tt);if(tt<we&&tt!==qe){for(qe=tt;tt<we&&!g(ee.charCodeAt(tt));++tt);tt===we?z=tt:tt!==qe&&(z=tt+1)}}}}else if(h(oe)&&ee.charCodeAt(1)===c)if(z=2,we>2){if(g(ee.charCodeAt(2))){if(we===3)return ne.root=ne.dir=ee,ne.base="\\",ne;z=3}}else return ne.root=ne.dir=ee,ne}else if(g(oe))return ne.root=ne.dir=ee,ne.base="\\",ne;z>0&&(ne.root=ee.slice(0,z));let Te=-1,Re=z,Pe=-1,G=!0,Je=ee.length-1,ut=0;for(;Je>=z;--Je){if(oe=ee.charCodeAt(Je),g(oe)){if(!G){Re=Je+1;break}continue}Pe===-1&&(G=!1,Pe=Je+1),oe===r?Te===-1?Te=Je:ut!==1&&(ut=1):Te!==-1&&(ut=-1)}return Te===-1||Pe===-1||ut===0||ut===1&&Te===Pe-1&&Te===Re+1?Pe!==-1&&(ne.base=ne.name=ee.slice(Re,Pe)):(ne.name=ee.slice(Re,Te),ne.base=ee.slice(Re,Pe),ne.ext=ee.slice(Te,Pe)),ne.base=ne.base||"\\",Re>0&&Re!==z?ne.dir=ee.slice(0,Re-1):ne.dir=ne.root,ne}function K(...ee){let ne="",we="",z=!1;for(let oe=ee.length-1;oe>=-1;oe--){let Te;const{Deno:Re}=globalThis;if(oe>=0)Te=ee[oe];else if(ne){if(typeof Re?.env?.get!="function"||typeof Re?.cwd!="function")throw new TypeError("Resolved a relative path without a current working directory (CWD)");Te=Re.cwd(),(Te===void 0||Te.slice(0,3).toLowerCase()!==`${ne.toLowerCase()}\\`)&&(Te=`${ne}\\`)}else{if(typeof Re?.cwd!="function")throw new TypeError("Resolved a drive-letter-less path without a current working directory (CWD)");Te=Re.cwd()}a(Te);const Pe=Te.length;if(Pe===0)continue;let G=0,Je="",ut=!1;const tt=Te.charCodeAt(0);if(Pe>1)if(g(tt))if(ut=!0,g(Te.charCodeAt(1))){let qe=2,We=qe;for(;qe<Pe&&!g(Te.charCodeAt(qe));++qe);if(qe<Pe&&qe!==We){const st=Te.slice(We,qe);for(We=qe;qe<Pe&&g(Te.charCodeAt(qe));++qe);if(qe<Pe&&qe!==We){for(We=qe;qe<Pe&&!g(Te.charCodeAt(qe));++qe);qe===Pe?(Je=`\\\\${st}\\${Te.slice(We)}`,G=qe):qe!==We&&(Je=`\\\\${st}\\${Te.slice(We,qe)}`,G=qe)}}}else G=1;else h(tt)&&Te.charCodeAt(1)===c&&(Je=Te.slice(0,2),G=2,Pe>2&&g(Te.charCodeAt(2))&&(ut=!0,G=3));else g(tt)&&(G=1,ut=!0);if(!(Je.length>0&&ne.length>0&&Je.toLowerCase()!==ne.toLowerCase())&&(ne.length===0&&Je.length>0&&(ne=Je),z||(we=`${Te.slice(G)}\\${we}`,z=ut),z&&ne.length>0))break}return we=O(we,!z,"\\",g),ne+(z?"\\":"")+we||"."}function B(ee,ne){if(a(ee),a(ne),ee===ne)return""}function X(ee,ne){B(ee,ne);const we=K(ee),z=K(ne);if(we===z||(ee=we.toLowerCase(),ne=z.toLowerCase(),ee===ne))return"";let oe=0,Te=ee.length;for(;oe<Te&&ee.charCodeAt(oe)===i;++oe);for(;Te-1>oe&&ee.charCodeAt(Te-1)===i;--Te);const Re=Te-oe;let Pe=0,G=ne.length;for(;Pe<G&&ne.charCodeAt(Pe)===i;++Pe);for(;G-1>Pe&&ne.charCodeAt(G-1)===i;--G);const Je=G-Pe,ut=Re<Je?Re:Je;let tt=-1,qe=0;for(;qe<=ut;++qe){if(qe===ut){if(Je>ut){if(ne.charCodeAt(Pe+qe)===i)return z.slice(Pe+qe+1);if(qe===2)return z.slice(Pe+qe)}Re>ut&&(ee.charCodeAt(oe+qe)===i?tt=qe:qe===2&&(tt=3));break}const st=ee.charCodeAt(oe+qe),mt=ne.charCodeAt(Pe+qe);if(st!==mt)break;st===i&&(tt=qe)}if(qe!==ut&&tt===-1)return z;let We="";for(tt===-1&&(tt=0),qe=oe+tt+1;qe<=Te;++qe)(qe===Te||ee.charCodeAt(qe)===i)&&(We.length===0?We+="..":We+="\\..");return We.length>0?We+z.slice(Pe+tt,G):(Pe+=tt,z.charCodeAt(Pe)===i&&++Pe,z.slice(Pe,G))}const J={" ":"%09","\n":"%0A","\v":"%0B","\f":"%0C","\r":"%0D"," ":"%20"};function ge(ee){return ee.replaceAll(/[\s]/g,ne=>J[ne]??ne)}function ae(ee){if(!L(ee))throw new TypeError(`Path must be absolute: received "${ee}"`);const[,ne,we]=ee.match(/^(?:[/\\]{2}([^/\\]+)(?=[/\\](?:[^/\\]|$)))?(.*)/),z=new URL("file:///");if(z.pathname=ge(we.replace(/%/g,"%25")),ne!==void 0&&ne!=="localhost"&&(z.hostname=ne,!z.hostname))throw new TypeError(`Invalid hostname: "${z.hostname}"`);return z}function ke(ee){if(typeof ee!="string")return ee;if(ee.length===0)return"";const ne=K(ee);if(ne.length>=3){if(ne.charCodeAt(0)===i){if(ne.charCodeAt(1)===i){const we=ne.charCodeAt(2);if(we!==d&&we!==r)return`\\\\?\\UNC\\${ne.slice(2)}`}}else if(h(ne.charCodeAt(0))&&ne.charCodeAt(1)===c&&ne.charCodeAt(2)===i)return`\\\\?\\${ne}`}return ee}function Z(ee,ne){const[we="",...z]=ee,oe=we.split(ne);let Te=oe.length,Re="";for(const Pe of z){const G=Pe.split(ne);G.length<=Te&&(Te=G.length,Re="");for(let Je=0;Je<Te;Je++)if(G[Je]!==oe[Je]){Te=Je,Re=Je===0?"":ne;break}}return oe.slice(0,Te).join(ne)+Re}function I(ee){return Z(ee,x)}const H=["!","$","(",")","*","+",".","=","?","[","\\","^","{","|"],fe=["-","\\","]"];function ce(ee,ne,{extended:we=!0,globstar:z=!0,caseInsensitive:oe=!1}={}){if(ne==="")return/(?!)/;let Te=ne.length;for(;Te>1&&ee.seps.includes(ne[Te-1]);Te--);ne=ne.slice(0,Te);let Re="";for(let Pe=0;Pe<ne.length;){let G="";const Je=[];let ut=!1,tt=!1,qe=!1,We=Pe;for(;We<ne.length&&!ee.seps.includes(ne[We]);We++){if(tt){tt=!1,G+=(ut?fe:H).includes(ne[We])?`\\${ne[We]}`:ne[We];continue}if(ne[We]===ee.escapePrefix){tt=!0;continue}if(ne[We]==="[")if(ut){if(ne[We+1]===":"){let st=We+1,mt="";for(;ne[st+1]!==void 0&&ne[st+1]!==":";)mt+=ne[st+1],st++;if(ne[st+1]===":"&&ne[st+2]==="]"){We=st+2,mt==="alnum"?G+="\\dA-Za-z":mt==="alpha"?G+="A-Za-z":mt==="ascii"?G+="\0-":mt==="blank"?G+=" ":mt==="cntrl"?G+="\0-":mt==="digit"?G+="\\d":mt==="graph"?G+="!-~":mt==="lower"?G+="a-z":mt==="print"?G+=" -~":mt==="punct"?G+=`!"#$%&'()*+,\\-./:;<=>?@[\\\\\\]^_‘{|}~`:mt==="space"?G+="\\s\v":mt==="upper"?G+="A-Z":mt==="word"?G+="\\w":mt==="xdigit"&&(G+="\\dA-Fa-f");continue}}}else{ut=!0,G+="[",ne[We+1]==="!"?(We++,G+="^"):ne[We+1]==="^"&&(We++,G+="\\^");continue}if(ne[We]==="]"&&ut){ut=!1,G+="]";continue}if(ut){G+=ne[We];continue}if(ne[We]===")"&&Je.length>0&&Je[Je.length-1]!=="BRACE"){G+=")";const st=Je.pop();st==="!"?G+=ee.wildcard:st!=="@"&&(G+=st);continue}if(ne[We]==="|"&&Je.length>0&&Je[Je.length-1]!=="BRACE"){G+="|";continue}if(ne[We]==="+"&&we&&ne[We+1]==="("){We++,Je.push("+"),G+="(?:";continue}if(ne[We]==="@"&&we&&ne[We+1]==="("){We++,Je.push("@"),G+="(?:";continue}if(ne[We]==="?"){we&&ne[We+1]==="("?(We++,Je.push("?"),G+="(?:"):G+=".";continue}if(ne[We]==="!"&&we&&ne[We+1]==="("){We++,Je.push("!"),G+="(?!";continue}if(ne[We]==="{"){Je.push("BRACE"),G+="(?:";continue}if(ne[We]==="}"&&Je[Je.length-1]==="BRACE"){Je.pop(),G+=")";continue}if(ne[We]===","&&Je[Je.length-1]==="BRACE"){G+="|";continue}if(ne[We]==="*"){if(we&&ne[We+1]==="(")We++,Je.push("*"),G+="(?:";else{const st=ne[We-1];let mt=1;for(;ne[We+1]==="*";)We++,mt++;const rt=ne[We+1];z&&mt===2&&[...ee.seps,void 0].includes(st)&&[...ee.seps,void 0].includes(rt)?(G+=ee.globstar,qe=!0):G+=ee.wildcard}continue}G+=H.includes(ne[We])?`\\${ne[We]}`:ne[We]}if(Je.length>0||ut||tt){G="";for(const st of ne.slice(Pe,We))G+=H.includes(st)?`\\${st}`:st,qe=!1}for(Re+=G,qe||(Re+=We<ne.length?ee.sep:ee.sepMaybe,qe=!0);ee.seps.includes(ne[We]);)We++;Pe=We}return Re=`^${Re}$`,new RegExp(Re,oe?"i":"")}const ie={sep:"(?:\\\\|/)+",sepMaybe:"(?:\\\\|/)*",seps:["\\","/"],globstar:"(?:[^\\\\/]*(?:\\\\|/|$)+)*",wildcard:"[^\\\\/]*",escapePrefix:"`"};function de(ee,ne={}){return ce(ie,ee,ne)}function xe(ee){const ne={"{":"}","(":")","[":"]"},we=/\\(.)|(^!|\*|\?|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/;if(ee==="")return!1;let z;for(;z=we.exec(ee);){if(z[2])return!0;let oe=z.index+z[0].length;const Te=z[1],Re=Te?ne[Te]:null;if(Te&&Re){const Pe=ee.indexOf(Re,oe);Pe!==-1&&(oe=Pe+1)}ee=ee.slice(oe)}return!1}function be(ee,ne={}){const{globstar:we=!1}=ne;if(ee.match(/\0/g))throw new Error(`Glob contains invalid characters: "${ee}"`);if(!we)return $(ee);const z=v.source,oe=new RegExp(`(?<=(${z}|^)\\*\\*${z})\\.\\.(?=${z}|$)`,"g");return $(ee.replace(oe,"\0")).replace(/\0/g,"..")}function Ae(ee,ne={}){const{globstar:we=!1}=ne;if(!we||ee.length===0)return M(...ee);let z;for(const oe of ee){const Te=oe;Te.length>0&&(z?z+=`${x}${Te}`:z=Te)}return z?be(z,{globstar:we}):"."}return Pt.DELIMITER=T,Pt.SEPARATOR=x,Pt.SEPARATOR_PATTERN=v,Pt.basename=C,Pt.common=I,Pt.dirname=b,Pt.extname=w,Pt.format=F,Pt.fromFileUrl=S,Pt.globToRegExp=de,Pt.isAbsolute=L,Pt.isGlob=xe,Pt.join=M,Pt.joinGlobs=Ae,Pt.normalize=$,Pt.normalizeGlob=be,Pt.parse=_,Pt.relative=X,Pt.resolve=K,Pt.toFileUrl=ae,Pt.toNamespacedPath=ke,Pt}var Ja,Fh;function tw(){if(Fh)return Ja;Fh=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,Rh;function rw(){if(Rh)return Ya;Rh=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),d=l.indexOf(t,c+1),s=c;if(c>=0&&d>0){if(o===t)return[c,d];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(),d]:(u=p.pop(),u<r&&(r=u,m=d),d=l.indexOf(t,s+1)),s=c<d&&c>=0?c:d;p.length&&(i=[r,m])}return i}return Ya}var Qa,_h;function nw(){if(_h)return Qa;_h=1;var a=tw(),e=rw();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=[],C=e("{","}",E);if(!C)return E.split(",");var T=C.pre,x=C.body,v=C.post,A=T.split(",");A[A.length-1]+="{"+x+"}";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)),h(r(E),!0).map(m)):[]}function d(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 h(E,S){var C=[],T=e("{","}",E);if(!T||/\$$/.test(T.pre))return[E];var x=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(T.body),v=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(T.body),A=x||v,b=T.body.indexOf(",")>=0;if(!A&&!b)return T.post.match(/,.*\}/)?(E=T.pre+"{"+T.body+t+T.post,h(E)):[E];var w;if(A)w=T.body.split(/\.\./);else if(w=i(T.body),w.length===1&&(w=h(w[0],!1).map(d),w.length===1)){var R=T.post.length?h(T.post,!1):[""];return R.map(function(H){return T.pre+w[0]+H})}var k=T.pre,R=T.post.length?h(T.post,!1):[""],F;if(A){var L=u(w[0]),P=u(w[1]),O=Math.max(w[0].length,w[1].length),$=w.length==3?Math.abs(u(w[2])):1,M=f,_=P<L;_&&($*=-1,M=g);var K=w.some(s);F=[];for(var B=L;M(B,P);B+=$){var X;if(v)X=String.fromCharCode(B),X==="\\"&&(X="");else if(X=String(B),K){var J=O-X.length;if(J>0){var ge=new Array(J+1).join("0");B<0?X="-"+ge+X.slice(1):X=ge+X}}F.push(X)}}else F=a(w,function(I){return h(I,!1)});for(var ae=0;ae<F.length;ae++)for(var ke=0;ke<R.length;ke++){var Z=k+F[ae]+R[ke];(!S||A||Z)&&C.push(Z)}return C}return Qa}var Za,Bh;function sw(){if(Bh)return Za;Bh=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=nw(),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 d(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,d(w,O))};return R.Minimatch=function(L,P){return new k.Minimatch(L,d(w,P))},R.Minimatch.defaults=function(L){return k.defaults(d(w,L)).Minimatch},R.filter=function(L,P){return k.filter(L,d(w,P))},R.defaults=function(L){return k.defaults(d(w,L))},R.makeRe=function(L,P){return k.makeRe(L,d(w,P))},R.braceExpand=function(L,P){return k.braceExpand(L,d(w,P))},R.match=function(F,L,P){return k.match(F,L,d(w,P))},R},f.defaults=function(w){return s.defaults(w).Minimatch};function s(w,k,R){return C(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);C(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=h;function h(){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,C(w),k.nobrace||!/\{(?:(?!\{).)*\}/.test(w)?[w]:n(w)}var S=1024*64,C=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=x;var T={};function x(w,k){C(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=[],$=[],M,_=!1,K=-1,B=-1,X=w.charAt(0)==="."?"":R.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",J=this;function ge(){if(M){switch(M){case"*":F+=l,L=!0;break;case"?":F+=t,L=!0;break;default:F+="\\"+M;break}J.debug("clearStateChar %j %j",M,F),M=!1}}for(var ae=0,ke=w.length,Z;ae<ke&&(Z=w.charAt(ae));ae++){if(this.debug("%s %s %s %j",w,ae,F,Z),P&&r[Z]){F+="\\"+Z,P=!1;continue}switch(Z){case"/":return!1;case"\\":ge(),P=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",w,ae,F,Z),_){this.debug(" in class"),Z==="!"&&ae===B+1&&(Z="^"),F+=Z;continue}J.debug("call clearStateChar %j",M),ge(),M=Z,R.noext&&ge();continue;case"(":if(_){F+="(";continue}if(!M){F+="\\(";continue}O.push({type:M,start:ae-1,reStart:F.length,open:o[M].open,close:o[M].close}),F+=M==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",M,F),M=!1;continue;case")":if(_||!O.length){F+="\\)";continue}ge(),L=!0;var I=O.pop();F+=I.close,I.type==="!"&&$.push(I),I.reEnd=F.length;continue;case"|":if(_||!O.length||P){F+="\\|",P=!1;continue}ge(),F+="|";continue;case"[":if(ge(),_){F+="\\"+Z;continue}_=!0,B=ae,K=F.length,F+=Z;continue;case"]":if(ae===B+1||!_){F+="\\"+Z,P=!1;continue}var H=w.substring(B+1,ae);try{RegExp("["+H+"]")}catch{var fe=this.parse(H,T);F=F.substr(0,K)+"\\["+fe[0]+"\\]",L=L||fe[1],_=!1;continue}L=!0,_=!1,F+=Z;continue;default:ge(),P?P=!1:r[Z]&&!(Z==="^"&&_)&&(F+="\\"),F+=Z}}for(_&&(H=w.substr(B+1),fe=this.parse(H,T),F=F.substr(0,K)+"\\["+fe[0],L=L||fe[1]),I=O.pop();I;I=O.pop()){var ce=F.slice(I.reStart+I.open.length);this.debug("setting tail",F,I),ce=ce.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(Je,ut,tt){return tt||(tt="\\"),ut+ut+tt+"|"}),this.debug(`tail=%j
51
+ %s`,ce,ce,I,F);var ie=I.type==="*"?l:I.type==="?"?t:"\\"+I.type;L=!0,F=F.slice(0,I.reStart)+ie+"\\("+ce}ge(),P&&(F+="\\\\");var de=!1;switch(F.charAt(0)){case"[":case".":case"(":de=!0}for(var xe=$.length-1;xe>-1;xe--){var be=$[xe],Ae=F.slice(0,be.reStart),ee=F.slice(be.reStart,be.reEnd-8),ne=F.slice(be.reEnd-8,be.reEnd),we=F.slice(be.reEnd);ne+=we;var z=Ae.split("(").length-1,oe=we;for(ae=0;ae<z;ae++)oe=oe.replace(/\)[+*?]?/,"");we=oe;var Te="";we===""&&k!==T&&(Te="$");var Re=Ae+ee+we+Te+ne;F=Re}if(F!==""&&L&&(F="(?=.)"+F),de&&(F=X+F),k===T)return[F,L];if(!L)return A(w);var Pe=R.nocase?"i":"";try{var G=new RegExp("^"+F+"$",Pe)}catch{return new RegExp("$.")}return G._glob=w,G._src=F,G}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 $=L[O],M=k;F.matchBase&&$.length===1&&(M=[P]);var _=this.matchOne(M,$,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,$=k.length;L<O&&P<$;L++,P++){this.debug("matchOne loop");var M=k[P],_=w[L];if(this.debug(k,M,_),M===!1)return!1;if(M===e){this.debug("GLOBSTAR",[k,M,_]);var K=L,B=P+1;if(B===$){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(;K<O;){var X=w[K];if(this.debug(`
52
+ globstar while`,w,K,k,B,X),this.matchOne(w.slice(K),k.slice(B),R))return this.debug("globstar found match!",K,O,X),!0;if(X==="."||X===".."||!F.dot&&X.charAt(0)==="."){this.debug("dot detected!",w,K,k,B);break}this.debug("globstar swallow a segment, and continue"),K++}return!!(R&&(this.debug(`
53
+ >>> no match, partial?`,w,K,k,B),K===O))}var J;if(typeof M=="string"?(J=_===M,this.debug("string match",M,_,J)):(J=_.match(M),this.debug("pattern match",M,_,J)),!J)return!1}if(L===O&&P===$)return!0;if(L===O)return R;if(P===$)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={},Lh;function aw(){if(Lh)return tn;Lh=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(d={},s={}){return c.merge(d,s)},validate(d){e.object(d),c.validate(d)}}}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[d,s]of this.#e)try{if(d in i||d in c){const g=s.merge.call(this,i[d],c[d]);g!==void 0&&(i[d]=g)}}catch(f){throw new p(d,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(d=>d in m))throw new l(i,c.requires);try{c.validate.call(c,m[i])}catch(d){throw new p(i,d)}}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 Oh;function Nh(){return Oh||(Oh=1,function(a){var e=Z1(),n=ew(),o=sw(),t=kr(),l=aw();function p(ie){var de=Object.create(null);return ie&&Object.keys(ie).forEach(function(xe){if(xe!=="default"){var be=Object.getOwnPropertyDescriptor(ie,xe);Object.defineProperty(de,xe,be.get?be:{enumerable:!0,get:function(){return ie[xe]}})}}),de.default=ie,Object.freeze(de)}var u=p(e),r=p(n);const m={required:!1,merge(){},validate(){}},i=Object.freeze({name:{required:!1,merge(){},validate(ie){if(typeof ie!="string")throw new TypeError("Property must be a string.")}},basePath:m,files:m,ignores:m});function c(ie){if(!Array.isArray(ie))throw new TypeError("Expected value to be an array.")}function d(ie){if(c(ie),ie.some(de=>typeof de!="string"&&typeof de!="function"))throw new TypeError("Expected array to only contain strings and functions.")}function s(ie){if(!Array.isArray(ie)||ie.length===0)throw new TypeError("Expected value to be a non-empty array.")}const f=Object.freeze({basePath:{required:!1,merge(){},validate(ie){if(typeof ie!="string")throw new TypeError("Expected value to be a string.")}},files:{required:!1,merge(){},validate(ie){s(ie),ie.forEach(de=>{if(Array.isArray(de))d(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:d}}),g=o.Minimatch,h=t("@eslint/config-array"),E=new Map,S=new Map,C={dot:!0,allowWindowsEscape:!0},T=new Set(["array","function"]),x=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,xe,{cause:be,message:Ae}){const ee=Ae||be.message;if(super(`Config ${de}: ${ee}`,{cause:be}),be)for(const ne of Object.keys(be))ne in this||(this[ne]=be[ne]);this.name="ConfigError",this.index=xe}}function F(ie){return ie&&typeof ie.name=="string"&&ie.name?`"${ie.name}"`:"(unnamed)"}function L(ie,de,xe){const be=F(ie);throw new R(be,de,{cause:xe})}function P(ie){return typeof ie=="string"}function O(ie,de){if(ie===null)throw new R(F(ie),de,{message:"Unexpected null config."});if(ie===void 0)throw new R(F(ie),de,{message:"Unexpected undefined config."});if(typeof ie!="object")throw new R(F(ie),de,{message:"Unexpected non-object config."});const xe={};"basePath"in ie&&(xe.basePath=ie.basePath),"files"in ie&&(xe.files=ie.files),"ignores"in ie&&(xe.ignores=ie.ignores);try{v.validate(xe)}catch(be){L(ie,de,be)}}function $(ie,de,xe={}){let be=E;xe.flipNegate&&(be=S);let Ae=be.get(de);return Ae||(Ae=new g(de,Object.assign({},C,xe)),be.set(de,Ae)),Ae.match(ie)}function M(ie){if(P(ie)){if(ie.startsWith("./"))return ie.slice(2);if(ie.startsWith("!./"))return`!${ie.slice(3)}`}return ie}function _(ie){return P(ie)&&(ie.startsWith("./")||ie.startsWith("!./"))}function K(ie,de,xe){if(!ie)return ie;const be=typeof ie.basePath=="string";let Ae=!1;if(be&&(Ae=!0),!Ae&&Array.isArray(ie.files)&&(Ae=ie.files.some(ne=>Array.isArray(ne)?ne.some(_):_(ne))),!Ae&&Array.isArray(ie.ignores)&&(Ae=ie.ignores.some(_)),!Ae)return ie;const ee={...ie};return be&&(xe.isAbsolute(ie.basePath)?ee.basePath=xe.toNamespacedPath(ie.basePath):ee.basePath=xe.resolve(de,ie.basePath)),Array.isArray(ee.files)&&(ee.files=ee.files.map(ne=>Array.isArray(ne)?ne.map(M):M(ne))),Array.isArray(ee.ignores)&&(ee.ignores=ee.ignores.map(M)),ee}async function B(ie,de,xe,be,Ae){const ee=xe.includes("function"),ne=xe.includes("array");async function*we(Te){for(let Re of Te){if(typeof Re=="function"){if(!ee)throw new TypeError("Unexpected function.");Re=Re(de),Re.then&&(Re=await Re)}if(Array.isArray(Re)){if(!ne)throw new TypeError("Unexpected array.");yield*we(Re)}else{if(typeof Re=="function")throw new TypeError("A config function can only return an object or array.");yield Re}}}const z=await we(ie),oe=[];for await(const Te of z)oe.push(K(Te,be,Ae));return oe}function X(ie,de,xe,be,Ae){const ee=xe.includes("function"),ne=xe.includes("array");function*we(oe){for(let Te of oe){if(typeof Te=="function"){if(!ee)throw new TypeError("Unexpected function.");if(Te=Te(de),Te.then)throw new TypeError("Async config functions are not supported.")}if(Array.isArray(Te)){if(!ne)throw new TypeError("Unexpected array.");yield*we(Te)}else{if(typeof Te=="function")throw new TypeError("A config function can only return an object or array.");yield Te}}}const z=[];for(const oe of we(ie))z.push(K(oe,be,Ae));return z}function J(ie,de,xe){const be=xe.resolve(de,ie),Ae=xe.toNamespacedPath(be);return xe.relative(de,Ae).replaceAll(xe.SEPARATOR,"/")}function ge(ie,de,xe,{basePath:be,path:Ae}={}){let ee=!1;for(const ne of ie){let we=xe;if(ne.basePath){if(we=J(Ae.resolve(be,xe),ne.basePath,Ae),we===""||k.test(we))continue;xe.endsWith("/")&&(we+="/")}ee=ne.ignores.reduce((z,oe)=>z?typeof oe=="string"&&oe.startsWith("!")?!$(we,oe,{flipNegate:!0}):z:typeof oe=="function"?oe(de):oe.startsWith("!")?!1:$(we,oe),ee)}return ee}function ae(ie,de,xe){function be(ee){if(P(ee))return $(de,ee);if(typeof ee=="function")return ee(ie);throw new TypeError(`Unexpected matcher type ${ee}.`)}let Ae=xe.files.some(ee=>Array.isArray(ee)?ee.every(be):be(ee));return Ae&&xe.ignores&&(Ae=!ge([{ignores:xe.ignores}],ie,de)),Ae}function ke(ie){if(!ie.isNormalized())throw new Error("ConfigArray must be normalized to perform this operation.")}function Z(ie){if(ie.length>2)throw new TypeError("configTypes must be an array with at most two items.");for(const de of ie)if(!T.has(de))throw new TypeError(`Unexpected config type "${de}" found. Expected one of: "object", "array", "function".`)}function I(ie){if(ie.startsWith("/"))return u;if(/^(?:[A-Za-z]:[/\\]|[/\\]{2})/u.test(ie))return r;throw new Error(`Expected an absolute path but received "${ie}"`)}const H={isNormalized:Symbol("isNormalized"),configCache:Symbol("configCache"),schema:Symbol("schema"),finalizeConfig:Symbol("finalizeConfig"),preprocessConfig:Symbol("preprocessConfig")},fe=new WeakMap;class ce extends Array{#e;#t;constructor(de,{basePath:xe="/",normalized:be=!1,schema:Ae,extraConfigTypes:ee=[]}={}){if(super(),this[H.isNormalized]=be,this[H.schema]=new l.ObjectSchema(Object.assign({},Ae,i)),!P(xe)||!xe)throw new TypeError("basePath must be a non-empty string");this.basePath=xe,Z(ee),this.extraConfigTypes=[...ee],Object.freeze(this.extraConfigTypes),this[H.configCache]=new Map,fe.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(xe),this.#e=this.#t.toNamespacedPath(xe)}static get[Symbol.species](){return Array}get files(){ke(this);const de=fe.get(this);if(de.files)return de.files;const xe=[];for(const be of this)be.files&&be.files.forEach(Ae=>{xe.push(Ae)});return de.files=xe,fe.set(this,de),xe}get ignores(){ke(this);const de=fe.get(this);if(de.ignores)return de.ignores;const xe=[];for(const be of this)be.ignores&&Object.keys(be).filter(Ae=>!x.has(Ae)).length===1&&xe.push(be);return de.ignores=xe,fe.set(this,de),xe}isNormalized(){return this[H.isNormalized]}async normalize(de={}){if(!this.isNormalized()){const xe=await B(this,de,this.extraConfigTypes,this.#e,this.#t);this.length=0,this.push(...xe.map(this[H.preprocessConfig].bind(this))),this.forEach(O),this[H.isNormalized]=!0,Object.freeze(this)}return this}normalizeSync(de={}){if(!this.isNormalized()){const xe=X(this,de,this.extraConfigTypes,this.#e,this.#t);this.length=0,this.push(...xe.map(this[H.preprocessConfig].bind(this))),this.forEach(O),this[H.isNormalized]=!0,Object.freeze(this)}return this}[H.finalizeConfig](de){return de}[H.preprocessConfig](de){return de}getConfigWithStatus(de){ke(this);const xe=this[H.configCache];if(xe.has(de))return xe.get(de);const be=J(de,this.#e,this.#t);if(k.test(be))return h(`No config for file ${de} outside of base path`),xe.set(de,A),A;if(this.isDirectoryIgnored(this.#t.dirname(de)))return h(`Ignoring ${de} based on directory pattern`),xe.set(de,b),b;if(ge(this.ignores,de,be,{basePath:this.#e,path:this.#t}))return h(`Ignoring ${de} based on file pattern`),xe.set(de,b),b;const Ae=[];let ee=!1;const ne=/^\*$|^!|\/\*{1,2}$/u;if(this.forEach((Te,Re)=>{const Pe=Te.basePath?J(this.#t.resolve(this.#e,de),Te.basePath,this.#t):be;if(Te.basePath&&k.test(Pe)){h(`Skipped config found for ${de} (based on config's base path: ${Te.basePath}`);return}if(!Te.files){if(!Te.ignores){h(`Universal config found for ${de}`),Ae.push(Re);return}if(Object.keys(Te).filter(ut=>!x.has(ut)).length===1){h(`Skipped config found for ${de} (global ignores)`);return}if(ge([{ignores:Te.ignores}],de,Pe)){h(`Skipped config found for ${de} (based on ignores: ${Te.ignores})`);return}h(`Matching config found for ${de} (based on ignores: ${Te.ignores})`),Ae.push(Re);return}const G=[],Je=Te.files.filter(ut=>Array.isArray(ut)?ut.every(tt=>ne.test(tt))?!0:(G.push(ut),!1):ne.test(ut)?!0:(G.push(ut),!1));if(Je.length){if(h("Universal files patterns found. Checking carefully."),G.length&&ae(de,Pe,{files:G,ignores:Te.ignores})){h(`Matching config found for ${de}`),Ae.push(Re),ee=!0;return}if(Je.length&&ae(de,Pe,{files:Je,ignores:Te.ignores})){h(`Matching config found for ${de}`),Ae.push(Re);return}return}ae(de,Pe,Te)&&(h(`Matching config found for ${de}`),Ae.push(Re),ee=!0)}),!ee)return h(`No matching configs found for ${de}`),xe.set(de,w),w;const we=Ae.toString();let z=xe.get(we);if(z)return xe.set(de,z),z;let oe=Ae.reduce((Te,Re)=>{try{return this[H.schema].merge(Te,this[Re])}catch(Pe){L(this[Re],Re,Pe)}},{});return oe=this[H.finalizeConfig](oe),z=Object.freeze({config:oe,status:"matched"}),xe.set(de,z),xe.set(we,z),z}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){ke(this);const xe=J(de,this.#e,this.#t);if(xe==="")return!1;if(k.test(xe))return!0;const be=fe.get(this).directoryMatches;if(be.has(xe))return be.get(xe);const Ae=xe.split("/");let ee="",ne;do ee+=`${Ae.shift()}/`,ne=ge(this.ignores,this.#t.join(this.basePath,ee),ee,{basePath:this.#e,path:this.#t}),be.set(ee,ne);while(!ne&&Ae.length);return be.set(xe,ne),ne}}Object.defineProperty(a,"ObjectSchema",{enumerable:!0,get:function(){return l.ObjectSchema}}),a.ConfigArray=ce,a.ConfigArraySymbol=H}(Xa)),Xa}var iw="http://json-schema.org/draft-04/schema#",ow="http://json-schema.org/draft-04/schema#",lw="Core schema meta-schema",uw={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}},cw="object",fw={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:"#"}},pw={exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},mw={id:iw,$schema:ow,description:lw,definitions:uw,type:cw,properties:fw,dependencies:pw,default:{}},ei,Mh;function dw(){if(Mh)return ei;Mh=1;const a=Sd(),e=mw;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 hw={"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"]},jh={rules:hw},ti,Uh;function ri(){if(Uh)return ti;Uh=1;const{deepMergeArrays:a}=Ah(),{flatConfigSchema:e,hasMethod:n}=Ka(),{ObjectSchema:o}=Nh(),l=dw()(),p=jh,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:x,ruleName:v},A){const b=x==="@"?v:`${x}/${v}`,w=`Key "rules": Key "${b}"`;let k=`${w}: Could not find plugin "${x}" in configuration.`;const R=k;if(A.plugins&&A.plugins[x]){const L=p.rules[v];if(x==="@"&&L)k=`${w}: Rule "${v}" was removed and replaced by "${L}".`;else{k=`${w}: Could not find "${v}" in plugin "${x}".`;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:x,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 d(x){let v,A;return x.includes("/")?(x.startsWith("@")?v=x.slice(0,x.lastIndexOf("/")):v=x.slice(0,x.indexOf("/")),A=x.slice(v.length+1)):(v="@",A=x),{pluginName:v,ruleName:A}}function s(x,v){const{pluginName:A,ruleName:b}=d(x);return v.plugins?.[A]?.rules?.[b]}function f(x){if(!x.meta)return{...u};const v=x.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(x){const v=x.split("/");return{objectName:v.pop(),pluginName:v.join("/")}}function h(x){let v=x.name;if(!v&&(!x.meta||(v=x.meta.name,!v)))return null;let A=x.version;return A||(A=x.meta&&x.meta.version),A?`${v}@${A}`:v}function E(x,v,A){if(typeof x=="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(x,v="languageOptions"){if(typeof x.toJSON=="function"){const b=x.toJSON();return E(b,"toJSON",v),b}const A={};for(const[b,w]of Object.entries(x)){if(w){if(typeof w=="object"){const k=h(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 C(x,v){if(!m.has(x))try{const A=f(x);A&&m.set(x,l.compile(A))}catch(A){throw new c(v,A)}return m.get(x)}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:$}=g(k);if(this.#t=k,!A||!A[O]||!A[O].processors||!A[O].processors[$])throw new TypeError(`Key "processor": Could not find "${$}" in plugin "${O}".`);this.processor=A[O].processors[$]}else if(typeof k=="object")this.#t=h(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=h(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(d(A),this);const k=C(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,qh;function gw(){if(qh)return ni;qh=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:d}}=c;i.has(d)?i.get(d).push(c):i.set(d,[c])}return[...i.values()]}function t(m,i,c){const d=i.value.trim(),s=c.text.indexOf(d,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(d),S=E[0],C=s+E.index,T=C+S.length,x=S.indexOf(","),v=S.lastIndexOf(",");let A,b;return x!==v?(A=C+x,b=C+v):(A=C,b=T),{description:`'${g}'`,fix:{range:[A,b],text:""},unprocessedDirective:f.unprocessedDirective}})}function l(m,i,c){const d=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:d,text:" "},unprocessedDirective:m[0].unprocessedDirective}}function p(m,i){return o(m).flatMap(d=>{const{parentDirective:s}=d[0].unprocessedDirective,f=new Set(s.ruleIds);for(const g of d)f.delete(g.ruleId);return f.size?t(d,s,i):[l(d,s.node,i)]})}function u(m){const i=new Map,c=new Set;for(let d=m.length-1;d>=0;d--){const s=m[d];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:d}=m;for(const C of m.problems){let T=[],x=0;for(;x<m.directives.length&&n(m.directives[x],C)<=0;){const v=m.directives[x++];if(v.ruleId===null||v.ruleId===C.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}));C.suppressions?C.suppressions=C.suppressions.concat(v):(C.suppressions=v,c.add(T.at(-1)))}i.push(C)}const s=m.directives.filter(C=>C.type==="disable"&&!c.has(C)&&!m.rulesToIgnore.has(C.ruleId)),f=new Set(m.directives.filter(C=>C.unprocessedDirective.type==="enable"&&!m.rulesToIgnore.has(C.ruleId)));if(f.size>0)for(const C of u(m.directives))f.delete(C);const g=p(s,d).concat(p(f,d)),h=m.language.columnStart===1?0:1,E=m.language.lineStart===1?0:1,S=g.map(({description:C,fix:T,unprocessedDirective:x})=>{const{parentDirective:v,type:A,line:b,column:w}=x;let k;A==="enable"?k=C?`Unused eslint-enable directive (no matching eslint-disable directives were found for ${C}).`:"Unused eslint-enable directive (no matching eslint-disable directives were found).":k=C?`Unused eslint-disable directive (no problems were reported from ${C}).`:"Unused eslint-disable directive (no problems were reported).";const R=d.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+h: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:d,problems:s,configuredRules:f,ruleFilter:g,reportUnusedDisableDirectives:h="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),C=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;C.size>0&&C.add(null);const T=r({language:m,sourceCode:i,problems:s,directives:E,disableFixes:d,reportUnusedDisableDirectives:h,rulesToIgnore:C}),x=r({language:m,sourceCode:i,problems:T.problems,directives:S,disableFixes:d,reportUnusedDisableDirectives:h,rulesToIgnore:C});return h!=="off"?x.problems.concat(T.unusedDirectives).concat(x.unusedDirectives).sort(n):x.problems},ni}function yw(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,Vh;function vw(){if(Vh)return si;Vh=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:{}},$h;function Ew(){return $h||($h=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:{}},Wh;function Gh(){return Wh||(Wh=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(h){return 48<=h&&h<=57}function u(h){return 48<=h&&h<=57||97<=h&&h<=102||65<=h&&h<=70}function r(h){return h>=48&&h<=55}n=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function m(h){return h===32||h===9||h===11||h===12||h===160||h>=5760&&n.indexOf(h)>=0}function i(h){return h===10||h===13||h===8232||h===8233}function c(h){if(h<=65535)return String.fromCharCode(h);var E=String.fromCharCode(Math.floor((h-65536)/1024)+55296),S=String.fromCharCode((h-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 d(h){return h<128?o[h]:e.NonAsciiIdentifierStart.test(c(h))}function s(h){return h<128?t[h]:e.NonAsciiIdentifierPart.test(c(h))}function f(h){return h<128?o[h]:a.NonAsciiIdentifierStart.test(c(h))}function g(h){return h<128?t[h]:a.NonAsciiIdentifierPart.test(c(h))}oi.exports={isDecimalDigit:p,isHexDigit:u,isOctalDigit:r,isWhiteSpace:m,isLineTerminator:i,isIdentifierStartES5:d,isIdentifierPartES5:s,isIdentifierStartES6:f,isIdentifierPartES6:g}}()),oi.exports}var li={exports:{}},zh;function Sw(){return zh||(zh=1,function(){var a=Gh();function e(d){switch(d){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function n(d,s){return!s&&d==="yield"?!1:o(d,s)}function o(d,s){if(s&&e(d))return!0;switch(d.length){case 2:return d==="if"||d==="in"||d==="do";case 3:return d==="var"||d==="for"||d==="new"||d==="try";case 4:return d==="this"||d==="else"||d==="case"||d==="void"||d==="with"||d==="enum";case 5:return d==="while"||d==="break"||d==="catch"||d==="throw"||d==="const"||d==="yield"||d==="class"||d==="super";case 6:return d==="return"||d==="typeof"||d==="delete"||d==="switch"||d==="export"||d==="import";case 7:return d==="default"||d==="finally"||d==="extends";case 8:return d==="function"||d==="continue"||d==="debugger";case 10:return d==="instanceof";default:return!1}}function t(d,s){return d==="null"||d==="true"||d==="false"||n(d,s)}function l(d,s){return d==="null"||d==="true"||d==="false"||o(d,s)}function p(d){return d==="eval"||d==="arguments"}function u(d){var s,f,g;if(d.length===0||(g=d.charCodeAt(0),!a.isIdentifierStartES5(g)))return!1;for(s=1,f=d.length;s<f;++s)if(g=d.charCodeAt(s),!a.isIdentifierPartES5(g))return!1;return!0}function r(d,s){return(d-55296)*1024+(s-56320)+65536}function m(d){var s,f,g,h,E;if(d.length===0)return!1;for(E=a.isIdentifierStartES6,s=0,f=d.length;s<f;++s){if(g=d.charCodeAt(s),55296<=g&&g<=56319){if(++s,s>=f||(h=d.charCodeAt(s),!(56320<=h&&h<=57343)))return!1;g=r(g,h)}if(!E(g))return!1;E=a.isIdentifierPartES6}return!0}function i(d,s){return u(d)&&!t(d,s)}function c(d,s){return m(d)&&!l(d,s)}li.exports={isKeywordES5:n,isKeywordES6:o,isReservedWordES5:t,isReservedWordES6:l,isRestrictedWord:p,isIdentifierNameES5:u,isIdentifierNameES6:m,isIdentifierES5:i,isIdentifierES6:c}}()),li.exports}var Hh;function Kh(){return Hh||(Hh=1,function(){rn.ast=Ew(),rn.code=Gh(),rn.keyword=Sw()}()),rn}var ui,Xh;function ci(){return Xh||(Xh=1,ui={LATEST_ECMA_VERSION:2026}),ui}var Jh;function Le(){return Jh||(Jh=1,function(a){const{KEYS:e}=Wr(),n=Kh(),o=dn(),t=Rn(),{breakableTypePattern:l,createGlobalLinebreakMatcher:p,lineBreakPattern:u,shebangPattern:r}=Fn(),m=zd(),{LATEST_ECMA_VERSION:i}=ci(),c=/^(?:Function(?:Declaration|Expression)|ArrowFunctionExpression)$/u,d=/^(?: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,h=/^[\s*]*@this/mu,E=/^\s*(?:eslint|jshint\s+|jslint\s+|istanbul\s+|globals?\s+|exported\s+|jscs)/u,S=/^(?:eslint[- ]|(?:globals?|exported) )/u,C=new Set([`\r
58
+ `,"\r",`
59
+ `,"\u2028","\u2029"]),T=new Set(["Program","BlockStatement","StaticBlock","SwitchCase"]),x=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(q,se,ue){const Se=q.identifier,Oe=se===0||ue[se-1].identifier!==Se;return Se&&q.init===!1&&q.isWrite()&&Oe}function R(q){return q[0]!==q[0].toLocaleLowerCase()}function F(q){return q.id&&R(q.id.name)}function L(q){for(let se=q;se;se=se.parent)if(c.test(se.type))return se;return null}function P(q){return!!(q&&c.test(q.type))}function O(q){return!!(q&&d.test(q.type))}function $(q){for(let se=q;se&&!P(se);se=se.parent)if(O(se))return!0;return!1}function M(q){return q.type==="Literal"&&q.value===null&&!q.regex&&!q.bigint}function _(q){return M(q)||q.type==="Identifier"&&q.name==="undefined"||q.type==="UnaryExpression"&&q.operator==="void"}function K(q){return q.parent.type==="CallExpression"&&q.parent.callee===q}function B(q){switch(q.type){case"Literal":if(q.value===null){if(M(q))return String(q.value);if(q.regex)return`/${q.regex.pattern}/${q.regex.flags}`;if(q.bigint)return q.bigint}else return String(q.value);break;case"TemplateLiteral":if(q.expressions.length===0&&q.quasis.length===1)return q.quasis[0].value.cooked;break}return null}function X(q){let se;switch(q&&q.type){case"ChainExpression":return X(q.expression);case"Property":case"PropertyDefinition":case"MethodDefinition":case"TSPropertySignature":case"TSMethodSignature":se=q.key;break;case"MemberExpression":se=q.property;break}return se?se.type==="Identifier"&&!q.computed?se.name:B(se):null}function J(q){return q&&q.type==="ChainExpression"?q.expression:q}function ge(q,se){return typeof se=="string"?q===se:se.test(q)}function ae(q,se){return q.type==="Identifier"&&ge(q.name,se)}function ke(q,se,ue){const Se=J(q);if(Se.type!=="MemberExpression"||se&&!ae(Se.object,se))return!1;if(ue){const Oe=X(Se);if(typeof Oe!="string"||!ge(Oe,ue))return!1}return!0}function Z(q,se){return q.regex||se.regex?!!(q.regex&&se.regex&&q.regex.pattern===se.regex.pattern&&q.regex.flags===se.regex.flags):q.bigint||se.bigint?q.bigint===se.bigint:q.value===se.value}function I(q,se,ue=!1){if(q.type!==se.type)return q.type==="ChainExpression"?I(q.expression,se,ue):se.type==="ChainExpression"?I(q,se.expression,ue):!1;switch(q.type){case"Super":case"ThisExpression":return!0;case"Identifier":case"PrivateIdentifier":return q.name===se.name;case"Literal":return Z(q,se);case"ChainExpression":return I(q.expression,se.expression,ue);case"MemberExpression":{if(!ue){const Se=X(q);if(Se!==null)return I(q.object,se.object,ue)&&Se===X(se)}return q.computed===se.computed&&I(q.object,se.object,ue)&&I(q.property,se.property,ue)}default:return!1}}function H(q){return ke(q,"Reflect","apply")}function fe(q){return ke(q,f,"from")}function ce(q){return ke(q,null,s)}function ie(q){return se=>!q(se)}function de(q,se){const ue=se.getJSDocComment(q);return ue&&h.test(ue.value)?!0:se.getCommentsBefore(q).some(Se=>h.test(Se.value))}function xe(q,se){const ue=q.getTokenBefore(se),Se=q.getTokenAfter(se);return!!(ue&&Se)&&ue.value==="("&&ue.range[1]<=se.range[0]&&Se.value===")"&&Se.range[0]>=se.range[1]}function be(q){return q.value==="="&&q.type==="Punctuator"}function Ae(q){return q.value==="=>"&&q.type==="Punctuator"}function ee(q){return q.value===","&&q.type==="Punctuator"}function ne(q){return q.value==="."&&q.type==="Punctuator"}function we(q){return q.value==="?."&&q.type==="Punctuator"}function z(q){return q.value===";"&&q.type==="Punctuator"}function oe(q){return q.value===":"&&q.type==="Punctuator"}function Te(q){return q.value==="("&&q.type==="Punctuator"}function Re(q){return q.value===")"&&q.type==="Punctuator"}function Pe(q){return q.value==="["&&q.type==="Punctuator"}function G(q){return q.value==="]"&&q.type==="Punctuator"}function Je(q){return q.value==="{"&&q.type==="Punctuator"}function ut(q){return q.value==="}"&&q.type==="Punctuator"}function tt(q){return q.type==="Line"||q.type==="Block"||q.type==="Shebang"}function qe(q){return q.type==="Keyword"}function We(q,se){if(q.type==="ArrowFunctionExpression"&&q.params.length===1){const ue=se.getFirstToken(q.params[0]),Se=se.getTokenBefore(ue);return Te(Se)?Se:ue}return q.id?se.getTokenAfter(q.id,Te):se.getFirstToken(q,Te)}function st(q,se,ue){const Se=ue.getTokens(q),Oe=ue.getTokens(se);if(Se.length!==Oe.length)return!1;for(let Ie=0;Ie<Se.length;++Ie)if(Se[Ie].type!==Oe[Ie].type||Se[Ie].value!==Oe[Ie].value)return!1;return!0}function mt(q){return q.type==="LogicalExpression"&&(q.operator==="&&"||q.operator==="||")}function rt(q){return q.type==="LogicalExpression"&&q.operator==="??"}function Qe(q,se){return mt(q)&&rt(se)||rt(q)&&mt(se)}function Et(q){return b.has(q)}function Ze(q,se){return q.test?se.getTokenAfter(q.test,oe):se.getFirstToken(q,1)}function xt(q){return q.type==="Identifier"?q.name:q.value}function Ke(q){return q.value===null?q.raw==="null"?!1:typeof q.regex=="object"?!0:null:!!q.value}function $e(q,se){switch(q.type){case"Literal":return se==="||"&&Ke(q)===!0||se==="&&"&&Ke(q)===!1;case"UnaryExpression":return se==="&&"&&q.operator==="void";case"LogicalExpression":return se===q.operator&&($e(q.left,se)||$e(q.right,se));case"AssignmentExpression":return["||=","&&="].includes(q.operator)&&se===q.operator.slice(0,-1)&&$e(q.right,se)}return!1}function Ee(q,se){const ue=q.references.find(Se=>Se.identifier===se);return!!(ue&&ue.resolved&&ue.resolved.scope.type==="global"&&ue.resolved.defs.length===0)}function j(q,se,ue){if(!se)return!0;switch(se.type){case"Literal":case"ArrowFunctionExpression":case"FunctionExpression":return!0;case"ClassExpression":case"ObjectExpression":return!0;case"TemplateLiteral":return ue&&se.quasis.some(Se=>Se.value.cooked.length)||se.expressions.every(Se=>j(q,Se,!1));case"ArrayExpression":return ue?!0:se.elements.every(Se=>j(q,Se,!1));case"UnaryExpression":return se.operator==="void"||se.operator==="typeof"&&ue?!0:se.operator==="!"?j(q,se.argument,!0):j(q,se.argument,!1);case"BinaryExpression":return j(q,se.left,!1)&&j(q,se.right,!1)&&se.operator!=="in";case"LogicalExpression":{const Se=j(q,se.left,ue),Oe=j(q,se.right,ue),Ie=Se&&$e(se.left,se.operator),Ge=ue&&Oe&&$e(se.right,se.operator);return Se&&Oe||Ie||Ge}case"NewExpression":return ue;case"AssignmentExpression":return se.operator==="="?j(q,se.right,ue):["||=","&&="].includes(se.operator)&&ue?$e(se.right,se.operator.slice(0,-1)):!1;case"SequenceExpression":return j(q,se.expressions.at(-1),ue);case"SpreadElement":return j(q,se.argument,ue);case"CallExpression":return se.callee.type==="Identifier"&&se.callee.name==="Boolean"&&(se.arguments.length===0||j(q,se.arguments[0],!0))?Ee(q,se.callee):!1;case"Identifier":return se.name==="undefined"&&Ee(q,se)}return!1}function U(q){if(q.type!=="ExpressionStatement")return!1;const se=q.parent;return se.type==="Program"||se.type==="TSModuleBlock"||se.type==="BlockStatement"&&P(se.parent)}function V(q){return q.type==="ExpressionStatement"&&typeof q.directive=="string"}function Q(q){const se=q.range[0];let ue=q;for(;(ue=ue.parent)&&ue.range[0]===se;)if(ue.type==="ExpressionStatement")return!0;return!1}let le;{let q=function(me){for(let pe=me;;){const{parent:ve}=pe;if(!ve)break;if(ze.has(ve.type)&&pe===ve.typeAnnotation)return!0;pe=ve}return!1};const se=new Set(["BreakStatement","ContinueStatement"]),ue=new Set(["ExportAllDeclaration","ExportNamedDeclaration","ImportDeclaration"]),Se=new Set(["Identifier","Keyword"]),Oe={__proto__:null,break:"BreakStatement",continue:"ContinueStatement",debugger:"DebuggerStatement",do:"DoWhileStatement",else:"IfStatement",return:"ReturnStatement",yield:"YieldExpression"},Ie=new Set([":",";","{","=>","++","--"]),Ge=new Set(["DoWhileStatement","ForInStatement","ForOfStatement","ForStatement","IfStatement","WhileStatement","WithStatement"]),ze=new Set(["TSAsExpression","TSSatisfiesExpression","TSTypeAliasDeclaration","TSTypeAnnotation"]);le=function(me,pe){const ve=me.getTokenBefore(pe);if(!ve||ve.type==="Punctuator"&&Ie.has(ve.value))return!1;const De=me.getNodeByRangeIndex(ve.range[0]);if(De.type==="TSDeclareFunction"||De.parent.type==="TSImportEqualsDeclaration"||De.parent.parent?.type==="TSImportEqualsDeclaration"||ze.has(De.type)||q(De))return!1;if(Re(ve))return!Ge.has(De.type);if(ut(ve))return De.type==="BlockStatement"&&De.parent.type==="FunctionExpression"&&De.parent.parent.type!=="MethodDefinition"||De.type==="ClassBody"&&De.parent.type==="ClassExpression"||De.type==="ObjectExpression";if(Se.has(ve.type)){if(De.parent.type==="VariableDeclarator"&&!De.parent.init||se.has(De.parent.type))return!1;const Fe=ve.value,at=Oe[Fe];return De.type!==at}return ve.type==="String"?!ue.has(De.parent.type):!0}}function te(q){const{parent:se}=q;if(se.type==="ImportAttribute"&&se.key===q)return!0;if(se.type==="Property"&&!se.computed&&(se.key===q||se.value===q&&se.shorthand&&!se.method)&&se.parent.type==="ObjectExpression"){const ue=se.parent,Se=ue.parent;if(Se.type==="ImportExpression"&&Se.options===ue)return!0;if(Se.type==="Property"&&Se.value===ue)return te(Se.key)}return!1}a.exports={COMMENTS_IGNORE_PATTERN:E,LINEBREAKS:C,LINEBREAK_MATCHER:u,SHEBANG_MATCHER:r,STATEMENT_LIST_PARENTS:T,ECMASCRIPT_GLOBALS:w,isTokenOnSameLine(q,se){return q.loc.end.line===se.loc.start.line},isNullOrUndefined:_,isCallee:K,isES5Constructor:F,getUpperFunction:L,isFunction:P,isLoop:O,isInLoop:$,isArrayFromMethod:fe,isParenthesised:xe,createGlobalLinebreakMatcher:p,equalTokens:st,isArrowToken:Ae,isClosingBraceToken:ut,isClosingBracketToken:G,isClosingParenToken:Re,isColonToken:oe,isCommaToken:ee,isCommentToken:tt,isDotToken:ne,isQuestionDotToken:we,isKeywordToken:qe,isNotClosingBraceToken:ie(ut),isNotClosingBracketToken:ie(G),isNotClosingParenToken:ie(Re),isNotColonToken:ie(oe),isNotCommaToken:ie(ee),isNotDotToken:ie(ne),isNotQuestionDotToken:ie(we),isNotOpeningBraceToken:ie(Je),isNotOpeningBracketToken:ie(Pe),isNotOpeningParenToken:ie(Te),isNotSemicolonToken:ie(z),isOpeningBraceToken:Je,isOpeningBracketToken:Pe,isOpeningParenToken:Te,isSemicolonToken:z,isEqToken:be,isStringLiteral(q){return q.type==="Literal"&&typeof q.value=="string"||q.type==="TemplateLiteral"},isBreakableStatement(q){return l.test(q.type)},getModifyingReferences(q){return q.filter(k)},isSurroundedBy(q,se){return q[0]===se&&q.at(-1)===se},isDirectiveComment(q){const se=q.value.trim();return q.type==="Line"&&se.startsWith("eslint-")||q.type==="Block"&&S.test(se)},getTrailingStatement:n.ast.trailingStatement,getVariableByName(q,se){let ue=q;for(;ue;){const Se=ue.set.get(se);if(Se)return Se;ue=ue.upper}return null},isDefaultThisBinding(q,se,{capIsConstructor:ue=!0}={}){if(q.parent.type==="PropertyDefinition"&&q.parent.value===q||q.type==="StaticBlock"||(q.type==="FunctionDeclaration"||q.type==="FunctionExpression")&&q.params.some(Ie=>Ie.type==="Identifier"&&Ie.name==="this")||ue&&F(q)||de(q,se))return!1;const Se=q.id===null;let Oe=q;for(;Oe;){const Ie=Oe.parent;switch(Ie.type){case"LogicalExpression":case"ConditionalExpression":case"ChainExpression":Oe=Ie;break;case"ReturnStatement":{const Ge=L(Ie);if(Ge===null||!K(Ge))return!0;Oe=Ge.parent;break}case"ArrowFunctionExpression":if(Oe!==Ie.body||!K(Ie))return!0;Oe=Ie.parent;break;case"Property":case"PropertyDefinition":case"MethodDefinition":return Ie.value!==Oe;case"AssignmentExpression":case"AssignmentPattern":return!(Ie.left.type==="MemberExpression"||ue&&Se&&Ie.left.type==="Identifier"&&R(Ie.left.name));case"VariableDeclarator":return!(ue&&Se&&Ie.init===Oe&&Ie.id.type==="Identifier"&&R(Ie.id.name));case"MemberExpression":if(Ie.object===Oe&&ke(Ie,null,g)){const Ge=Ie.parent.type==="ChainExpression"?Ie.parent:Ie;return!(K(Ge)&&Ge.parent.arguments.length>=1&&!_(Ge.parent.arguments[0]))}return!0;case"CallExpression":return H(Ie.callee)?Ie.arguments.length!==3||Ie.arguments[0]!==Oe||_(Ie.arguments[1]):fe(Ie.callee)?Ie.arguments.length!==3||Ie.arguments[1]!==Oe||_(Ie.arguments[2]):ce(Ie.callee)?Ie.arguments.length!==2||Ie.arguments[0]!==Oe||_(Ie.arguments[1]):!0;default:return!0}}return!0},getPrecedence(q){switch(q.type){case"SequenceExpression":return 0;case"AssignmentExpression":case"ArrowFunctionExpression":case"YieldExpression":return 1;case"ConditionalExpression":return 3;case"LogicalExpression":switch(q.operator){case"||":case"??":return 4;case"&&":return 5}case"BinaryExpression":switch(q.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 q.type in e?20:-1}},isEmptyBlock(q){return!!(q&&q.type==="BlockStatement"&&q.body.length===0)},isEmptyFunction(q){return P(q)&&a.exports.isEmptyBlock(q.body)},getDirectivePrologue(q){const se=[];if(q.type==="Program"||q.type==="FunctionDeclaration"||q.type==="FunctionExpression"||q.type==="ArrowFunctionExpression"&&q.body.type==="BlockStatement"){const ue=q.type==="Program"?q.body:q.body.body;for(const Se of ue)if(Se.type==="ExpressionStatement"&&Se.expression.type==="Literal")se.push(Se);else break}return se},isDecimalInteger(q){return q.type==="Literal"&&typeof q.value=="number"&&v.test(q.raw)},isDecimalIntegerNumericToken(q){return q.type==="Numeric"&&v.test(q.value)},getFunctionNameWithKind(q){const se=q.parent,ue=[];if((se.type==="MethodDefinition"||se.type==="PropertyDefinition"||q.type==="TSPropertySignature"||q.type==="TSMethodSignature")&&(se.static&&ue.push("static"),!se.computed&&se.key?.type==="PrivateIdentifier"&&ue.push("private")),q.async&&ue.push("async"),q.generator&&ue.push("generator"),se.type==="Property"||se.type==="MethodDefinition"){if(se.kind==="constructor")return"constructor";se.kind==="get"?ue.push("getter"):se.kind==="set"?ue.push("setter"):ue.push("method")}else q.type==="TSMethodSignature"?q.kind==="get"?ue.push("getter"):q.kind==="set"?ue.push("setter"):ue.push("method"):se.type==="PropertyDefinition"?ue.push("method"):(q.type==="ArrowFunctionExpression"&&ue.push("arrow"),ue.push("function"));if(se.type==="Property"||se.type==="MethodDefinition"||se.type==="PropertyDefinition")if(!se.computed&&se.key.type==="PrivateIdentifier")ue.push(`#${se.key.name}`);else{const Se=X(se);Se!==null?ue.push(`'${Se}'`):q.id&&ue.push(`'${q.id.name}'`)}else q.type==="TSMethodSignature"?ue.push(`'${X(q)}'`):q.id&&ue.push(`'${q.id.name}'`);return ue.join(" ")},getFunctionHeadLoc(q,se){const ue=q.parent;let Se,Oe;if(ue.type==="Property"||ue.type==="MethodDefinition"||ue.type==="PropertyDefinition"||ue.type==="TSPropertySignature"||ue.type==="TSMethodSignature")Se=ue.loc.start,Oe=We(q,se).loc.start;else if(q.type==="ArrowFunctionExpression"){const Ie=se.getTokenBefore(q.body,Ae);Se=Ie.loc.start,Oe=Ie.loc.end}else Se=q.loc.start,Oe=We(q,se).loc.start;return{start:Object.assign({},Se),end:Object.assign({},Oe)}},getNextLocation(q,{line:se,column:ue}){return ue<q.lines[se-1].length?{line:se,column:ue+1}:se<q.lines.length?{line:se+1,column:0}:null},getParenthesisedText(q,se){let ue=q.getFirstToken(se),Se=q.getLastToken(se);for(;q.getTokenBefore(ue)&&q.getTokenBefore(ue).type==="Punctuator"&&q.getTokenBefore(ue).value==="("&&q.getTokenAfter(Se)&&q.getTokenAfter(Se).type==="Punctuator"&&q.getTokenAfter(Se).value===")";)ue=q.getTokenBefore(ue),Se=q.getTokenAfter(Se);return q.getText().slice(ue.range[0],Se.range[1])},couldBeError(q){switch(q.type){case"Identifier":case"CallExpression":case"NewExpression":case"MemberExpression":case"TaggedTemplateExpression":case"YieldExpression":case"AwaitExpression":case"ChainExpression":return!0;case"AssignmentExpression":return["=","&&="].includes(q.operator)?a.exports.couldBeError(q.right):["||=","??="].includes(q.operator)?a.exports.couldBeError(q.left)||a.exports.couldBeError(q.right):!1;case"SequenceExpression":{const se=q.expressions;return se.length!==0&&a.exports.couldBeError(se.at(-1))}case"LogicalExpression":return q.operator==="&&"?a.exports.couldBeError(q.right):a.exports.couldBeError(q.left)||a.exports.couldBeError(q.right);case"ConditionalExpression":return a.exports.couldBeError(q.consequent)||a.exports.couldBeError(q.alternate);default:return!1}},isNumericLiteral(q){return q.type==="Literal"&&(typeof q.value=="number"||!!q.bigint)},canTokensBeAdjacent(q,se){const ue={ecmaVersion:o.latestEcmaVersion,comment:!0,range:!0};let Se;if(typeof q=="string"){let Ie;try{Ie=o.tokenize(q,ue)}catch{return!1}const Ge=Ie.comments;if(Se=Ie.at(-1),Ge.length){const ze=Ge.at(-1);(!Se||ze.range[0]>Se.range[0])&&(Se=ze)}}else Se=q;if(Se.type==="Shebang"||Se.type==="Hashbang")return!1;let Oe;if(typeof se=="string"){let Ie;try{Ie=o.tokenize(se,ue)}catch{return!1}const Ge=Ie.comments;if(Oe=Ie[0],Ge.length){const ze=Ge[0];(!Oe||ze.range[0]<Oe.range[0])&&(Oe=ze)}}else Oe=se;if(Se.type==="Punctuator"||Oe.type==="Punctuator"){if(Se.type==="Punctuator"&&Oe.type==="Punctuator"){const Ie=new Set(["+","++"]),Ge=new Set(["-","--"]);return!(Ie.has(Se.value)&&Ie.has(Oe.value)||Ge.has(Se.value)&&Ge.has(Oe.value))}return Se.type==="Punctuator"&&Se.value==="/"?!["Block","Line","RegularExpression"].includes(Oe.type):!0}return!!(Se.type==="String"||Oe.type==="String"||Se.type==="Template"||Oe.type==="Template"||Se.type!=="Numeric"&&Oe.type==="Numeric"&&Oe.value.startsWith(".")||Se.type==="Block"||Oe.type==="Block"||Oe.type==="Line"||Oe.type==="PrivateIdentifier")},getNameLocationInGlobalDirectiveComment(q,se,ue){const Se=new RegExp(`[\\s,]${t(ue)}(?:$|[\\s,:])`,"gu");Se.lastIndex=se.value.indexOf("global")+6;const Oe=Se.exec(se.value),Ie=q.getLocFromIndex(se.range[0]+2+(Oe?Oe.index+1:0)),Ge={line:Ie.line,column:Ie.column+(Oe?ue.length:1)};return{start:Ie,end:Ge}},hasOctalOrNonOctalDecimalEscapeSequence(q){return A.test(q)},isStaticTemplateLiteral(q){return q.type==="TemplateLiteral"&&q.expressions.length===0},areBracesNecessary(q,se){function ue(ze){return ze.type==="VariableDeclaration"?x.has(ze.kind):ze.type==="FunctionDeclaration"||ze.type==="ClassDeclaration"}function Se(ze){return ze.value==="else"&&ze.type==="Keyword"}function Oe(ze){const me=se.getTokenAfter(ze);return!!me&&Se(me)}function Ie(ze){switch(ze.type){case"IfStatement":return ze.alternate?Ie(ze.alternate):!0;case"ForStatement":case"ForInStatement":case"ForOfStatement":case"LabeledStatement":case"WithStatement":case"WhileStatement":return Ie(ze.body);default:return!1}}const Ge=q.body[0];return ue(Ge)||Ie(Ge)&&Oe(q)},isReferenceToGlobalVariable:Ee,isLogicalExpression:mt,isCoalesceExpression:rt,isMixedLogicalAndCoalesceExpressions:Qe,isNullLiteral:M,getStaticStringValue:B,getStaticPropertyName:X,skipChainExpression:J,isSpecificId:ae,isSpecificMemberAccess:ke,equalLiteralValue:Z,isSameReference:I,isLogicalAssignmentOperator:Et,getSwitchCaseColonToken:Ze,getModuleExportName:xt,isConstant:j,isTopLevelExpressionStatement:U,isDirective:V,isStartOfExpressionStatement:Q,needsPrecedingSemicolon:le,isImportAttributeKey:te}}(ai)),ai.exports}var fi,Yh;function bw(){if(Yh)return fi;Yh=1;const a=Le();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 d(x,v){x.type==="Property"?p.report({node:x,messageId:`${v}InObjectLiteral`,loc:a.getFunctionHeadLoc(x.value,c),data:{name:a.getFunctionNameWithKind(x.value)}}):x.type==="MethodDefinition"?p.report({node:x,messageId:`${v}InClass`,loc:a.getFunctionHeadLoc(x.value,c),data:{name:a.getFunctionNameWithKind(x.value)}}):x.type==="TSMethodSignature"?p.report({node:x,messageId:`${v}InType`,loc:a.getFunctionHeadLoc(x,c),data:{name:a.getFunctionNameWithKind(x)}}):p.report({node:x,messageId:`${v}InPropertyDescriptor`})}function s(x,v){for(const A of x)d(A,v)}function f(x){const v=[];let A=!1;for(let b=0;b<x.length;b++){const w=x[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(x){f(x.properties.filter(v=>v.type==="Property"))}function h(x){const v=new Set(x.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&&d(x,"missingGetter"),u&&A&&!b&&d(x,"missingSetter")}function E(x){g(x),l(x)&&h(x)}function S(x){const v=x.body.filter(A=>A.type==="MethodDefinition");f(v.filter(A=>A.static)),f(v.filter(A=>!A.static))}function C(x){const A=(x.type==="TSTypeLiteral"?x.members:x.body).filter(b=>b.type==="TSMethodSignature");f(A)}const T={};return(r||u)&&(T.ObjectExpression=E,m&&(T.ClassBody=S),i&&(T["TSTypeLiteral, TSInterfaceBody"]=C)),T}},fi}var pi,Qh;function xw(){if(Qh)return pi;Qh=1;const a=Le();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,d=!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:(d=!!i.multiline,s=i.minItems||Number.POSITIVE_INFINITY):(c=!1,d=!0,s=Number.POSITIVE_INFINITY),{consistent:c,multiline:d,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(d){const s=n.getTokenAfter(c,{includeComments:!0});return a.isCommentToken(s)?null:d.removeRange([c.range[1],s.range[0]])}})}function p(i,c){e.report({node:i,loc:c.loc,messageId:"unexpectedClosingLinebreak",fix(d){const s=n.getTokenBefore(c,{includeComments:!0});return a.isCommentToken(s)?null:d.removeRange([s.range[1],c.range[0]])}})}function u(i,c){e.report({node:i,loc:c.loc,messageId:"missingOpeningLinebreak",fix(d){return d.insertTextAfter(c,`
60
+ `)}})}function r(i,c){e.report({node:i,loc:c.loc,messageId:"missingClosingLinebreak",fix(d){return d.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),h=n.getTokenAfter(f,{includeComments:!0}),E=n.getTokenBefore(g,{includeComments:!0}),S=n.getTokenAfter(f),C=n.getTokenBefore(g);c.length>=s.minItems||s.multiline&&c.length>0&&h.loc.start.line!==E.loc.end.line||c.length===0&&h.type==="Block"&&h.loc.start.line!==E.loc.end.line&&h===E||s.consistent&&f.loc.end.line!==S.loc.start.line?(a.isTokenOnSameLine(f,S)&&u(i,f),a.isTokenOnSameLine(C,g)&&r(i,g)):(a.isTokenOnSameLine(f,S)||l(i,f),a.isTokenOnSameLine(C,g)||p(i,g))}return{ArrayPattern:m,ArrayExpression:m}}},pi}var mi,Zh;function Cw(){if(Zh)return mi;Zh=1;const a=Le();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(h){return h.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(h){return h.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 d(s){if(l.spaced&&s.elements.length===0)return;const f=o.getFirstToken(s),g=o.getFirstToken(s,1),h=s.typeAnnotation?o.getTokenBefore(s.typeAnnotation):o.getLastToken(s),E=o.getTokenBefore(h),S=s.elements[0],C=s.elements.at(-1),T=l.objectsInArraysException&&i(S)||l.arraysInArraysException&&c(S)||l.singleElementException&&s.elements.length===1?!l.spaced:l.spaced,x=l.objectsInArraysException&&i(C)||l.arraysInArraysException&&c(C)||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,h)&&(x&&!o.isSpaceBetweenTokens(E,h)&&m(s,h),!x&&o.isSpaceBetweenTokens(E,h)&&u(s,h))}return{ArrayPattern:d,ArrayExpression:d}}},mi}var di,eg;function ww(){if(eg)return di;eg=1;const a=Le(),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 d=c.parent;switch(d.type){case"LogicalExpression":case"ConditionalExpression":case"ChainExpression":c=d;break;case"ReturnStatement":{const s=a.getUpperFunction(d);if(s===null||!a.isCallee(s))return null;c=s.parent;break}case"CallExpression":return a.isArrayFromMethod(d.callee)&&d.arguments.length>=2&&d.arguments[1]===c?"from":o(d.callee)&&d.arguments.length>=1&&d.arguments[0]===c?a.getStaticPropertyName(d.callee):null;default:return null}}return null}function u(i){return i.type==="UnaryExpression"&&i.operator==="void"}function r(i,c,d){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),h=f.value==="return"&&f.range[1]===g.range[0];return[d.insertTextBefore(g,`${h?" ":""}void ${s?"(":""}`),d.insertTextAfter(c,s?")":"")]}function m(i,c,d){const s=i.getTokenBefore(c.body,a.isArrowToken),f=i.getTokenAfter(s),g=i.getLastToken(c);return[d.insertTextBefore(f,"{"),d.insertTextAfter(g,"}")]}return di={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,d=i.sourceCode;let s={arrayMethodName:null,upper:null,codePath:null,hasReturn:!1,shouldCheck:!1,node:null};function f(g){if(!s.shouldCheck)return;const h={messageId:"",suggest:[]};if(s.arrayMethodName==="forEach"){if(c.checkForEach&&g.type==="ArrowFunctionExpression"&&g.expression)if(c.allowVoid){if(u(g.body))return;h.messageId="expectedNoReturnValue",h.suggest=[{messageId:"wrapBraces",fix(E){return m(d,g,E)}},{messageId:"prependVoid",fix(E){return r(d,g.body,E)}}]}else h.messageId="expectedNoReturnValue",h.suggest=[{messageId:"wrapBraces",fix(E){return m(d,g,E)}}]}else g.body.type==="BlockStatement"&&t(s.currentSegments)&&(h.messageId=s.hasReturn?"expectedAtEnd":"expectedInside");if(h.messageId){const E=a.getFunctionNameWithKind(g);i.report({node:g,loc:a.getFunctionHeadLoc(g,d),messageId:h.messageId,data:{name:E,arrayMethodName:l(s.arrayMethodName)},suggest:h.suggest.length!==0?h.suggest:null})}}return{onCodePathStart(g,h){let E=null;e.test(h.type)&&(E=p(h)),s={arrayMethodName:E,upper:s,codePath:g,hasReturn:!1,shouldCheck:E&&!h.async&&!h.generator,node:h,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 h={messageId:"",suggest:[]};if(s.arrayMethodName==="forEach"){if(c.checkForEach&&g.argument)if(c.allowVoid){if(u(g.argument))return;h.messageId="expectedNoReturnValue",h.suggest=[{messageId:"prependVoid",fix(E){return r(d,g.argument,E)}}]}else h.messageId="expectedNoReturnValue"}else!c.allowImplicit&&!g.argument&&(h.messageId="expectedReturnValue");h.messageId&&i.report({node:g,messageId:h.messageId,data:{name:a.getFunctionNameWithKind(s.node),arrayMethodName:l(s.arrayMethodName)},suggest:h.suggest.length!==0?h.suggest:null})},"FunctionExpression:exit":f,"ArrowFunctionExpression:exit":f}}},di}var hi,tg;function Aw(){if(tg)return hi;tg=1;const a=Le();return hi={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",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 d=r||"always";return d==="always"||d.minItems===0?c=0:d==="never"?c=Number.POSITIVE_INFINITY:d==="consistent"?(m=!0,c=Number.POSITIVE_INFINITY):(i=!!d.multiline,c=d.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 d=!1;c.multiline&&(d=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 h=r.elements[g],E=m[g-1];if(g===0||h===null||E===null)continue;const S=n.getFirstTokenBetween(E,h,a.isCommaToken),C=n.getTokenBefore(S),T=n.getTokenAfter(S);a.isTokenOnSameLine(C,T)||s++}const f=m.length>=c.minItems||c.multiline&&d||c.consistent&&s>0&&s<r.elements.length;m.forEach((g,h)=>{const E=m[h-1];if(h===0||g===null||E===null)return;const S=n.getFirstTokenBetween(E,g,a.isCommaToken),C=n.getTokenBefore(S),T=n.getTokenAfter(S);f?a.isTokenOnSameLine(C,T)&&p(T):a.isTokenOnSameLine(C,T)||l(T)})}return{ArrayPattern:u,ArrayExpression:u}}},hi}var gi,rg;function Tw(){if(rg)return gi;rg=1;const a=Le();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 d(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 h;g.length===0?h="unexpectedEmptyBlock":g.length>1||g[0].type!=="ReturnStatement"?h="unexpectedOtherBlock":g[0].argument===null?h="unexpectedSingleBlock":a.isOpeningBraceToken(u.getFirstToken(g[0],{skip:1}))?h="unexpectedObjectBlock":h="unexpectedSingleBlock",e.report({node:s,loc:f.loc,messageId:h,fix(E){const S=[];if(g.length!==1||g[0].type!=="ReturnStatement"||!g[0].argument||m(u.getTokenAfter(f)))return S;const C=u.getFirstToken(f),T=u.getLastToken(f),x=u.getFirstToken(g[0],1),v=u.getLastToken(g[0]);return u.commentsExistBetween(C,x)||u.commentsExistBetween(v,T)?S.push(E.remove(C),E.remove(T),E.remove(u.getTokenAfter(C))):S.push(E.removeRange([C.range[0],x.range[0]]),E.removeRange([v.range[1],T.range[1]])),(a.isOpeningBraceToken(x)||g[0].argument.type==="SequenceExpression"||r.hasInOperator&&c(s))&&(a.isParenthesised(u,g[0].argument)||S.push(E.insertTextBefore(x,"("),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 h=[],E=u.getTokenBefore(f,a.isArrowToken),[S,C]=u.getTokensAfter(E,{count:2}),T=u.getLastToken(s);let x=null;if(a.isOpeningParenToken(S)&&a.isOpeningBraceToken(C)){const v=u.getNodeByRangeIndex(C.range[0]);v.type==="ObjectExpression"&&(x=v)}if(x){const v=S,A=C;a.isTokenOnSameLine(v,A)?h.push(g.replaceText(v,"{return ")):h.push(g.replaceText(v,"{"),g.insertTextBefore(A,"return ")),h.push(g.remove(i(x))),h.push(g.insertTextAfter(T,"}"))}else h.push(g.insertTextBefore(S,"{return ")),h.push(g.insertTextAfter(T,"}"));return h}})}return{"BinaryExpression[operator='in']"(){let s=r;for(;s;)s.hasInOperator=!0,s=s.upper},ArrowFunctionExpression(){r={upper:r,hasInOperator:!1}},"ArrowFunctionExpression:exit"(s){d(s),r=r.upper}}}},gi}var yi,ng;function kw(){if(ng)return yi;ng=1;const a=Le();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 d=i.async?1:0;return l.getFirstToken(i,{skip:d})!==c}return{"ArrowFunctionExpression[params.length=1]"(i){const c=!o||t&&e(i),d=p(i),s=d!==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,d)&&!m(i,d)&&n.report({node:i,messageId:t?"unexpectedParensInline":"unexpectedParens",loc:f.loc,*fix(g){const h=l.getTokenBefore(d),E=u(i);h&&h.range[1]===d.range[0]&&!a.canTokensBeAdjacent(h,l.getFirstToken(f))&&(yield g.insertTextBefore(d," ")),yield g.removeRange([d.range[0],f.range[0]]),yield g.removeRange([f.range[1],E.range[1]])}})}}}},yi}var vi,sg;function Dw(){if(sg)return vi;sg=1;const a=Le();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,ag;function Iw(){return ag||(ag=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 d=c.identifier.range;return d[0]<r[0]||d[1]>r[1]}const i=n.getDeclaredVariables(u);for(let c=0;c<i.length;++c)i[c].references.filter(m).forEach(d=>l(d,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,ig;function Pw(){if(ig)return Si;ig=1;const a=Le();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}),d=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(d,i)){let s=i.loc;o==="extra"&&(s={start:d.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(d," "):f.removeRange([d.range[1],i.range[0]])}})}}}return{BlockStatement:u,StaticBlock:u,SwitchStatement:u}}},Si}var bi,og;function Fw(){if(og)return bi;og=1;const a=Le();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:d=>d.replaceTextRange(i," ")}function p(r,m){const i=t.getTokenBefore(r),c=t.getTokenAfter(r),d=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
+ `)}),d!==r&&!s&&a.isTokenOnSameLine(d,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,lg;function Rw(){return lg||(lg=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,ug;function _w(){if(ug)return Ci;ug=1;const a=Le();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(h){const E=h.replace(/^_+|_+$/gu,"");return E.includes("_")&&E!==E.toUpperCase()}function i(h){return n.some(E=>h===E||h.match(new RegExp(E,"u")))}function c(h){return!m(h)||i(h)}function d(h){const E=h.parent;switch(E.type){case"AssignmentExpression":case"AssignmentPattern":return E.left===h;case"Property":return E.parent.type==="ObjectPattern"&&E.value===h;case"ArrayPattern":case"RestElement":return!0;default:return!1}}function s(h){const E=h.name,S=h.parent.type==="AssignmentPattern"?h.parent:h,C=S.parent;switch(C.type){case"Property":return(C.parent.type==="ObjectPattern"||C.parent.type==="ObjectExpression")&&C.value===S&&!C.computed&&C.key.type==="Identifier"&&C.key.name===E;case"ImportSpecifier":return C.local===h&&a.getModuleExportName(C.imported)===E;default:return!1}}function f(h){r.has(h.range[0])||(r.add(h.range[0]),e.report({node:h,messageId:h.type==="PrivateIdentifier"?"notCamelCasePrivate":"notCamelCase",data:{name:h.name}}))}function g(h){h.parent.type==="CallExpression"||h.parent.type==="NewExpression"||h.parent.type==="AssignmentPattern"&&h.parent.right===h||o&&s(h)||a.isImportAttributeKey(h)||f(h)}return{Program(h){const E=u.getScope(h);if(!t){for(const S of E.variables)if(!(S.identifiers.length>0||c(S.name)))for(const C of S.references)g(C.identifier)}for(const S of E.through){const C=S.identifier;c(C.name)||a.isImportAttributeKey(C)||g(C)}},[["VariableDeclaration","FunctionDeclaration","FunctionExpression","ArrowFunctionExpression","ClassDeclaration","ClassExpression","CatchClause"]](h){for(const E of u.getDeclaredVariables(h)){if(c(E.name))continue;const S=E.identifiers[0];o&&s(S)||f(S);for(const C of E.references)C.init||g(C.identifier)}},[["ObjectExpression > Property[computed!=true] > Identifier.key","MethodDefinition[computed!=true] > Identifier.key","PropertyDefinition[computed!=true] > Identifier.key","MethodDefinition > PrivateIdentifier.key","PropertyDefinition > PrivateIdentifier.key"]](h){p==="never"||a.isImportAttributeKey(h)||c(h.name)||f(h)},"MemberExpression[computed!=true] > Identifier.property"(h){p==="never"||!d(h.parent)||c(h.name)||f(h)},ImportDeclaration(h){for(const E of u.getDeclaredVariables(h)){if(c(E.name))continue;const S=E.identifiers[0];l&&s(S)||f(S);for(const C of E.references)g(C.identifier)}},[["ExportAllDeclaration > Identifier.exported","ExportSpecifier > Identifier.exported"]](h){c(h.name)||f(h)},[["LabeledStatement > Identifier.label","BreakStatement > Identifier.label","ContinueStatement > Identifier.label"]](h){c(h.name)||f(h)}}}},Ci}var wi,cg;function Bw(){if(cg)return wi;cg=1;const e=Le().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 d=i[c].ignorePattern;if(d){const s=RegExp(`^\\s*(?:${d})`,"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",d=r(i.options[1]),s=i.sourceCode;m(d);function f(S){const C=s.getTokenBefore(S,{includeComments:!0}),T=s.getTokenAfter(S,{includeComments:!0});return!!(C&&T&&S.loc.start.line===C.loc.end.line&&S.loc.end.line===T.loc.start.line)}function g(S){const C=s.getTokenBefore(S,{includeComments:!0});return!!(C&&["Block","Line"].includes(C.type))}function h(S,C){if(e.test(S.value))return!0;const T=S.value.replace(/\*/gu,"");if(C.ignorePatternRegExp&&C.ignorePatternRegExp.test(T)||C.ignoreInlineComments&&f(S)||C.ignoreConsecutiveComments&&g(S)||o.test(T))return!0;const x=T.replace(n,"");if(x.length===0)return!0;const[v]=x;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 C=d[S.type];if(!h(S,C)){const x=c==="always"?"unexpectedLowercaseComment":"unexpectedUppercaseComment";i.report({node:null,loc:S.loc,messageId:x,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(C=>C.type!=="Shebang").forEach(E)}}}},wi}var Ai,fg;function Lw(){if(fg)return Ai;fg=1;const a=Le();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(h){switch(h.type){case"MethodDefinition":return!h.static&&h.kind!=="constructor";case"AccessorProperty":case"PropertyDefinition":return!h.static&&o;default:return!1}}function d(h){const E=h.parent.parent;return E?.type==="ClassDeclaration"&&E.implements?.length>0}function s(h){if(c(h)){if(h.computed)return!0;if(t&&h.override||l&&d(h)&&(l==="all"||l==="public-fields"&&h.key.type!=="PrivateIdentifier"&&(!h.accessibility||h.accessibility==="public")))return!1;const E=h.key.type==="PrivateIdentifier"?"#":"",S=h.key.type==="Literal"?a.getStaticStringValue(h.key):h.key.name||"";return!p.has(E+S)}return!1}function f(h){const E=m();s(h.parent)&&!E&&e.report({node:h,loc:a.getFunctionHeadLoc(h,e.sourceCode),messageId:"missingThis",data:{name:a.getFunctionNameWithKind(h)}})}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,pg;function Ow(){if(pg)return Ti;pg=1;const a=Le(),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 h(E){return E.at(-1)}switch(g.type){case"ObjectExpression":case"ObjectPattern":return h(g.properties);case"ArrayExpression":case"ArrayPattern":return h(g.elements);case"ImportDeclaration":case"ExportNamedDeclaration":return h(g.specifiers);case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":return h(g.params);case"CallExpression":case"NewExpression":return h(g.arguments);default:return null}}function r(g,h){switch(g.type){case"ObjectExpression":case"ArrayExpression":case"CallExpression":case"NewExpression":return p.getLastToken(g,1);default:{const E=p.getTokenAfter(h);return a.isCommaToken(E)?E:p.getLastToken(h)}}}function m(g){const h=u(g);if(!h)return!1;const E=r(g,h);return p.getTokenAfter(E).loc.end.line!==E.loc.end.line}function i(g){const h=u(g);if(!h||g.type==="ImportDeclaration"&&h.type!=="ImportSpecifier")return;const E=r(g,h);a.isCommaToken(E)&&t.report({node:h,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 h=u(g);if(!h||g.type==="ImportDeclaration"&&h.type!=="ImportSpecifier")return;if(!n(h)){i(g);return}const E=r(g,h);E.value!==","&&t.report({node:h,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 d(g){m(g)?c(g):i(g)}function s(g){m(g)||i(g)}const f={always:c,"always-multiline":d,"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,mg;function Nw(){if(mg)return ki;mg=1;const a=Le();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 d,s;const f="";return m==="before"?(d=i.range[1],s=r.range[0]):(d=r.range[1],s=i.range[0]),c.replaceTextRange([d,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,dg;function Mw(){if(dg)return Di;dg=1;const a=Le();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,d,s){const f=o.text.slice(c.range[1],d.range[0])+o.text.slice(d.range[1],s.range[0]),g=[c.range[1],s.range[0]];return function(h){return h.replaceTextRange(g,l(i,f))}}function u(i,c,d,s){if(!(a.isTokenOnSameLine(c,d)&&a.isTokenOnSameLine(i,c)))if(!a.isTokenOnSameLine(c,d)&&!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,d)})}else n==="first"&&!a.isTokenOnSameLine(c,d)?e.report({node:s,loc:c.loc,messageId:"expectedCommaFirst",fix:p(n,i,c,d)}):n==="last"&&a.isTokenOnSameLine(c,d)&&e.report({node:s,loc:c.loc,messageId:"expectedCommaLast",fix:p(n,i,c,d)})}function r(i,c){const d=i[c],s=i.type==="ArrayExpression"||i.type==="ArrayPattern";if(d.length>1||s){let f=o.getFirstToken(i);if(d.forEach(g=>{const h=g?o.getTokenBefore(g):f,E=g?o.getFirstToken(g):o.getTokenAfter(h),S=g||E;if(a.isCommaToken(h)&&u(f,h,E,S),g){const C=o.getTokenAfter(g,a.isNotClosingParenToken);f=C?o.getTokenBefore(C):o.ast.tokens.at(-1)}else f=E}),s){const g=o.getLastToken(i),h=o.getTokenBefore(g);a.isCommaToken(h)&&u(o.getTokenBefore(h),h,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,gg;function jw(){if(gg)return Pi;gg=1;const a=Le(),{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 d=r.pop();if(!(i.origin!=="function"&&i.origin!=="class-field-initializer"&&i.origin!=="class-static-block")&&d>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:d,max:l}})}}}}},Pi}var Fi,yg;function Uw(){if(yg)return Fi;yg=1;const a=Le();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,d,s){e.report({node:c,loc:{start:d.loc.end,end:s.loc.start},messageId:"unexpectedSpaceAfter",data:{tokenValue:d.value},fix(f){return f.removeRange([d.range[1],s.range[0]])}})}function p(c,d,s){e.report({node:c,loc:{start:s.loc.end,end:d.loc.start},messageId:"unexpectedSpaceBefore",data:{tokenValue:d.value},fix(f){return f.removeRange([s.range[1],d.range[0]])}})}function u(c,d){e.report({node:c,loc:d.loc,messageId:"missingSpaceAfter",data:{tokenValue:d.value},fix(s){return s.insertTextAfter(d," ")}})}function r(c,d){e.report({node:c,loc:d.loc,messageId:"missingSpaceBefore",data:{tokenValue:d.value},fix(s){return s.insertTextBefore(d," ")}})}function m(c){return function(d){if(!d.computed)return;const s=d[c],f=n.getTokenBefore(s,a.isOpeningBracketToken),g=n.getTokenAfter(f,{includeComments:!0}),h=n.getTokenAfter(s,a.isClosingBracketToken),E=n.getTokenBefore(h,{includeComments:!0});a.isTokenOnSameLine(f,g)&&(o?!n.isSpaceBetweenTokens(f,g)&&a.isTokenOnSameLine(f,g)&&u(d,f):n.isSpaceBetweenTokens(f,g)&&l(d,f,g)),a.isTokenOnSameLine(E,h)&&(o?!n.isSpaceBetweenTokens(E,h)&&a.isTokenOnSameLine(E,h)&&r(d,h):n.isSpaceBetweenTokens(E,h)&&p(d,h,E))}}const i={Property:m("key"),MemberExpression:m("property")};return t&&(i.MethodDefinition=i.PropertyDefinition=i.Property),i}},Fi}var Ri,vg;function qw(){if(vg)return Ri;vg=1;const a=Le(),{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,Eg;function Vw(){return Eg||(Eg=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,Sg;function $w(){if(Sg)return Bi;Sg=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 d=i.parent.parent.parent.superClass;t={upper:t,isConstructor:!0,hasExtends:!!d,superIsConstructor:e(d),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 d=m.returnedSegments,s=d.every(r),f=d.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,d=m.prevSegments.filter(u);d.length>0&&(c.calledInSomePaths=d.some(p),c.calledInEveryPaths=d.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,d)=>{const s=l[c.id];if(!s){d.skip();return}const f=c.prevSegments.filter(u),g=f.some(p),h=f.every(r);if(s.calledInSomePaths||=g,s.calledInEveryPaths||=h,g){const E=s.validNodes;s.validNodes=[];for(let S=0;S<E.length;++S){const C=E[S];o.report({messageId:"duplicate",node:C})}}})},"CallExpression:exit"(m){if(!(t.isConstructor&&t.hasExtends)||m.callee.type!=="Super")return;const i=t.currentSegments;let c=!1,d=null;for(const s of i)s.reachable&&(d=l[s.id],c=c||d.calledInSomePaths,d.calledInSomePaths=d.calledInEveryPaths=!0);d&&(c?o.report({messageId:"duplicate",node:m}):t.superIsConstructor?d.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 d=l[c.id];d.calledInSomePaths=d.calledInEveryPaths=!0}}}}},Bi}var Li,bg;function Ww(){if(bg)return Li;bg=1;const a=Le();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(d){const s=p.getTokenBefore(d),f=p.getLastToken(d),g=a.isSemicolonToken(f)?p.getTokenBefore(f):f;return s.loc.start.line===g.loc.end.line}function r(d){if(d.type==="EmptyStatement")return!0;const s=p.getFirstToken(d),f=p.getLastToken(d),g=a.isSemicolonToken(f)?p.getTokenBefore(f):f;return s.loc.start.line===g.loc.end.line}function m(d){const s=p.getTokenBefore(d),f=p.getTokenAfter(d),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(d,s,f,g){const h=s.type==="BlockStatement";let E=null;if(h&&(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(h){const S=s.body[0],C=p.getCommentsBefore(S);E=!r(S)||C.length>0}else E=!r(s);else E=!0;return{actual:h,expected:E,check(){this.expected!==null&&this.expected!==this.actual&&(this.expected?e.report({node:d,loc:s.loc,messageId:g&&g.condition?"missingCurlyAfterCondition":"missingCurlyAfter",data:{name:f},fix:S=>S.replaceText(s,`{${p.getText(s)}}`)}):e.report({node:d,loc:s.loc,messageId:g&&g.condition?"unexpectedCurlyAfterCondition":"unexpectedCurlyAfter",data:{name:f},fix(S){const C=d.type==="DoWhileStatement"&&p.getTokenBefore(s).range[1]===s.range[0]&&!a.canTokensBeAdjacent("do",p.getFirstToken(s,{skip:1})),T=p.getFirstToken(s),x=p.getLastToken(s),v=p.getTokenBefore(x);if(m(x))return null;const A=p.getText().slice(T.range[1],v.range[0])+p.getText(v)+p.getText().slice(v.range[1],x.range[0]);return S.replaceText(s,(C?" ":"")+A)}}))}}}function c(d){const s=[];for(let f=d;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(d){const s=d.parent;s.type==="IfStatement"&&s.alternate===d||c(d).forEach(g=>{g.check()})},WhileStatement(d){i(d,d.body,"while",{condition:!0}).check()},DoWhileStatement(d){i(d,d.body,"do").check()},ForStatement(d){i(d,d.body,"for",{condition:!0}).check()},ForInStatement(d){i(d,d.body,"for-in").check()},ForOfStatement(d){i(d,d.body,"for-of").check()}}}},Li}var Oi,xg;function Gw(){if(xg)return Oi;xg=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,Cg;function zw(){return Cg||(Cg=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,wg;function Hw(){if(wg)return Mi;wg=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,Ag;function Kw(){if(Ag)return ji;Ag=1;const a=Le();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,Tg;function qi(){return Tg||(Tg=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,kg;function Xw(){if(kg)return Vi;kg=1;const a=Le(),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 d=i.property.type==="Literal"?JSON.stringify(c):`\`${c}\``;t.report({node:i.property,messageId:"useDot",data:{key:d},*fix(s){const f=u.getTokenAfter(i.object,a.isOpeningBracketToken),g=u.getLastToken(i),h=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),h&&g.range[1]===h.range[0]&&!a.canTokensBeAdjacent(String(c),h)&&(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 d=u.getTokenBefore(i.property);i.object.type==="Identifier"&&i.object.name==="let"&&!i.optional||u.commentsExistBetween(d,i.property)||(i.optional||(yield c.remove(d)),yield c.replaceText(i.property,`["${i.property.name}"]`))}})}}}},Vi}var $i,Dg;function Jw(){return Dg||(Dg=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(d){return d.insertTextAfterRange([0,t.length],c?r:u)}});else if(i==="never"&&m){const d=o.lines.at(-2);a.report({node:n,loc:{start:{line:o.lines.length-1,column:d.length},end:{line:o.lines.length,column:0}},messageId:"unexpected",fix(s){const f=/(?:\r?\n)+$/u,g=f.exec(o.text),h=g.index,E=o.text.length;return s.replaceTextRange([h,E],"")}})}}}}}),$i}var Wi,Ig;function Yw(){if(Ig)return Wi;Ig=1;const a=Le();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 d(s,f){const g=t.getFirstTokenBetween(s.left,s.right,E=>E.value===s.operator),h={node:s,loc:g.loc,messageId:"unexpected",data:{expectedOperator:f,actualOperator:s.operator}};m(s)||i(s)?e.report({...h,fix(E){return E.replaceText(g,f)}}):e.report({...h,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&&d(s,s.operator.slice(0,-1));return}n==="smart"&&(m(s)||i(s)||f)||!p&&f||d(s,`${s.operator}=`)}}}},Wi}var Gi,Pg;function Qw(){if(Pg)return Gi;Pg=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 d;if(i==="<"||i==="<=")d=r==="left"?-1:1;else if(i===">"||i===">=")d=r==="left"?1:-1;else return;c.type==="UpdateExpression"?l(c,m)===d&&o(u):c.type==="AssignmentExpression"&&p(c,m)===d&&o(u)}}}}},Gi}var zi,Fg;function Zw(){if(Fg)return zi;Fg=1;const a=Le();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),d=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]],"?."):d?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&&d&&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,Rg;function eA(){if(Rg)return Hi;Rg=1;const a=Le(),e=Kh();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 d(h,E,S){return S?S.type==="CallExpression"&&a.isSpecificMemberAccess(S.callee,h,E):!1}function s(h,E){return r==="always"&&h!==E||r==="never"&&h===E}function f(h,E,S,C){let T;r==="always"&&C?T="matchProperty":r==="always"?T="matchVariable":C?T="notMatchProperty":T="notMatchVariable",p.report({node:h,messageId:T,data:{name:E,funcName:S}})}function g(h){return h.type==="Literal"&&typeof h.value=="string"}return{VariableDeclarator(h){!h.init||h.init.type!=="FunctionExpression"||h.id.type!=="Identifier"||h.init.id&&s(h.id.name,h.init.id.name)&&f(h,h.id.name,h.init.id.name,!1)},AssignmentExpression(h){if(h.right.type!=="FunctionExpression"||h.left.computed&&h.left.property.type!=="Literal"||!i&&n(h.left)||h.left.type!=="Identifier"&&h.left.type!=="MemberExpression")return;const E=h.left.type==="MemberExpression",S=E?a.getStaticPropertyName(h.left):h.left.name;h.right.id&&S&&o(S)&&s(S,h.right.id.name)&&f(h,S,h.right.id.name,E)},"Property, PropertyDefinition[value]"(h){if(h.value.type==="FunctionExpression"&&h.value.id){if(h.key.type==="Identifier"&&!h.computed){const E=h.value.id.name;let S=h.key.name;if(m&&S==="value"&&h.parent.type==="ObjectExpression")if(d("Object","defineProperty",h.parent.parent)||d("Reflect","defineProperty",h.parent.parent)){const C=h.parent.parent.arguments[1];g(C)&&s(C.value,E)&&f(h,C.value,E,!0)}else d("Object","defineProperties",h.parent.parent.parent.parent)||d("Object","create",h.parent.parent.parent.parent)?(S=h.parent.parent.key.name,!h.parent.parent.computed&&s(S,E)&&f(h,S,E,!0)):s(S,E)&&f(h,S,E,!0);else s(S,E)&&f(h,S,E,!0);return}g(h.key)&&o(h.key.value,c)&&s(h.key.value,h.value.id.name)&&f(h,h.key.value,h.value.id.name,!0)}}}}},Hi}var Ki,_g;function tA(){if(_g)return Ki;_g=1;const a=Le();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 d=!!(i.id&&i.id.name),s=t(i);s==="never"?d&&i.type!=="FunctionDeclaration"&&r(i):s==="as-needed"?!d&&!p(i)&&u(i):!d&&!l(i)&&u(i)}return{"FunctionExpression:exit":m,"ExportDefaultDeclaration > FunctionDeclaration":m}}},Ki}var Xi,Bg;function rA(){return Bg||(Bg=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(d=>d.type==="ExportNamedDeclaration"&&d.declaration?.type==="TSDeclareFunction"&&d.declaration.id.name===c):i.parent.type==="SwitchCase"?i.parent.parent.cases.some(d=>d.consequent.some(s=>s.type==="TSDeclareFunction"&&s.id.name===c)):Array.isArray(i.parent.body)&&i.parent.body.some(d=>d.type==="TSDeclareFunction"&&d.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,Lg;function nA(){return Lg||(Lg=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,Og;function sA(){if(Og)return Yi;Og=1;const a=Le();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(d,s){return l&&d.length===1?s:t||l?d.some((f,g)=>g!==d.length-1&&f.loc.end.line!==d[g+1].loc.start.line):p?s:d.length>=u}function m(d,s){const f=d.leftParen,g=d.rightParen,h=n.getTokenAfter(f),E=n.getTokenBefore(g),S=!a.isTokenOnSameLine(f,h),C=!a.isTokenOnSameLine(E,g),T=r(s,S);S&&!T?e.report({node:f,messageId:"unexpectedAfter",fix(x){return n.getText().slice(f.range[1],h.range[0]).trim()?null:x.removeRange([f.range[1],h.range[0]])}}):!S&&T&&e.report({node:f,messageId:"expectedAfter",fix:x=>x.insertTextAfter(f,`
69
+ `)}),C&&!T?e.report({node:g,messageId:"unexpectedBefore",fix(x){return n.getText().slice(E.range[1],g.range[0]).trim()?null:x.removeRange([E.range[1],g.range[0]])}}):!C&&T&&e.report({node:g,messageId:"expectedBefore",fix:x=>x.insertTextBefore(g,`
70
+ `)})}function i(d,s){const f=d.leftParen,g=n.getTokenAfter(f),h=!a.isTokenOnSameLine(f,g),E=r(s,h);for(let S=0;S<=s.length-2;S++){const C=s[S],T=s[S+1];!(C.loc.end.line!==T.loc.start.line)&&E&&e.report({node:C,messageId:"expectedBetween",fix:v=>v.insertTextBefore(T,`
71
+ `)})}}function c(d){switch(d.type){case"NewExpression":if(!d.arguments.length&&!(a.isOpeningParenToken(n.getLastToken(d,{skip:1}))&&a.isClosingParenToken(n.getLastToken(d))&&d.callee.range[1]<d.range[1]))return null;case"CallExpression":return{leftParen:n.getTokenAfter(d.callee,a.isOpeningParenToken),rightParen:n.getLastToken(d)};case"FunctionDeclaration":case"FunctionExpression":{const s=n.getFirstToken(d,a.isOpeningParenToken),f=d.params.length?n.getTokenAfter(d.params.at(-1),a.isClosingParenToken):n.getTokenAfter(s);return{leftParen:s,rightParen:f}}case"ArrowFunctionExpression":{const s=n.getFirstToken(d,{skip:d.async?1:0});if(!a.isOpeningParenToken(s))return null;const f=d.params.length?n.getTokenAfter(d.params.at(-1),a.isClosingParenToken):n.getTokenAfter(s);return{leftParen:s,rightParen:f}}case"ImportExpression":{const s=n.getFirstToken(d,1),f=n.getLastToken(d);return{leftParen:s,rightParen:f}}default:throw new TypeError(`unexpected node with type ${d.type}`)}}return{[["ArrowFunctionExpression","CallExpression","FunctionDeclaration","FunctionExpression","ImportExpression","NewExpression"]](d){const s=c(d);let f;d.type==="ImportExpression"?f=[d.source]:a.isFunction(d)?f=d.params:f=d.arguments,s&&(m(s,f),l&&i(s,f))}}}},Yi}var Qi,Ng;function aA(){if(Ng)return Qi;Ng=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,d){return c?typeof c=="string"?n[c]:Object.assign({},d,c):d}const t=function(c){const d=o(c,n.before);return{named:o(c.named,d),anonymous:o(c.anonymous,d),method:o(c.method,d)}}(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,d,s,f){if(!!(f.range[0]-s.range[1])!==t[c][d]){const g=s.value==="*",h=t[c][d],E=g?s:f,S=`${h?"missing":"unexpected"}${r(d)}`;e.report({node:E,messageId:S,fix(C){return h?g?C.insertTextAfter(E," "):C.insertTextBefore(E," "):C.removeRange([s.range[1],f.range[0]])}})}}function i(c){if(!c.generator)return;const d=u(c),s=l.getTokenBefore(d),f=l.getTokenAfter(d);let g="named";c.parent.type==="MethodDefinition"||c.parent.type==="Property"&&c.parent.method?g="method":c.id||(g="anonymous"),g==="method"&&d===l.getFirstToken(c.parent)||m(g,"before",s,d),m(g,"after",d,f)}return{FunctionDeclaration:i,FunctionExpression:i}}},Qi}var Zi,Mg;function iA(){if(Mg)return Zi;Mg=1;const a=Le(),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,jg;function oA(){if(jg)return eo;jg=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,Ug;function lA(){if(Ug)return to;Ug=1;const a=Le();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,d){t.report({node:d,messageId:i,loc:a.getFunctionHeadLoc(d.type!=="TSMethodSignature"?d.value:d,u),data:{formerName:a.getFunctionNameWithKind(c.type!=="TSMethodSignature"?c.value:c),latterName:a.getFunctionNameWithKind(d.type!=="TSMethodSignature"?d.value:d)}})}function m(i,c){const d=[];let s=!1;for(let f=0;f<i.length;f++){const g=i[f];if(c(g)&&o(g)){const h=a.getStaticPropertyName(g),E=h!==null?h:u.getTokens(g.key);for(let S=0;S<d.length;S++){const C=d[S];if(n(C.key,E)){C.getters.push(...g.kind==="get"?[g]:[]),C.setters.push(...g.kind==="set"?[g]:[]),s=!0;break}}s||d.push({key:E,getters:g.kind==="get"?[g]:[],setters:g.kind==="set"?[g]:[]}),s=!1}}for(const{getters:f,setters:g}of d)if(f.length===1&&g.length===1){const[h]=f,[E]=g,S=i.indexOf(h),C=i.indexOf(E),T=S<C?h:E,x=S<C?E:h;Math.abs(S-C)>1?r("notGrouped",T,x):(l==="getBeforeSet"&&S>C||l==="setBeforeGet"&&S<C)&&r("invalidOrder",T,x)}}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,qg;function uA(){return qg||(qg=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,Vg;function cA(){return Vg||(Vg=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,$g;function fA(){if($g)return so;$g=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 d(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)&&d(s)}}}},so}var ao,Wg;function pA(){if(Wg)return ao;Wg=1;const a=Le();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 d(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)&&d(s)}}}},ao}var io,Gg;function mA(){if(Gg)return io;Gg=1;const{getGraphemeCount:a}=Ir(),{getModuleExportName:e,isImportAttributeKey:n}=Le();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 d={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,h=a(f),E=h<p,S=h>l;if(!(E||S)||r.has(f)||c(f))return;const C=d[g.type];if(C&&!i.has(s.range.toString())&&(C===!0||C(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,zg;function dA(){if(zg)return oo;zg=1;const a=Le();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"]),d=new Set(["FunctionDeclaration","VariableDeclarator"]),s=new Set(["ImportSpecifier","ImportNamespaceSpecifier","ImportDefaultSpecifier"]);function f(C){const T=m.set.get(C.name);return T&&T.defs.length===0&&T.references.some(x=>x.identifier===C)}function g(C){return!u.test(C)}function h(C){let{parent:T}=C;for(;T;){if(T.type==="ObjectPattern")return!0;T=T.parent}return!1}function E(C,T){return(!l||d.has(C.type))&&!c.has(C.type)&&g(T)}function S(C){if(!i.has(C.range.toString())){const T=C.type==="PrivateIdentifier"?"notMatchPrivate":"notMatch";e.report({node:C,messageId:T,data:{name:C.name,pattern:n}}),i.add(C.range.toString())}}return{Program(C){m=r.getScope(C)},Identifier(C){const T=C.name,x=C.parent,v=x.type==="MemberExpression"?x.parent:x;if(!(f(C)||a.isImportAttributeKey(C)))if(x.type==="MemberExpression"){if(!p)return;x.object.type==="Identifier"&&x.object.name===T||v.type==="AssignmentExpression"&&v.left.type==="MemberExpression"&&v.left.property.name===C.name?g(T)&&S(C):v.type==="AssignmentExpression"&&v.right.type!=="MemberExpression"&&g(T)&&S(C)}else if(x.type==="Property"&&x.parent.type==="ObjectExpression"&&x.key===C&&!x.computed)p&&g(T)&&S(C);else if(x.type==="Property"||x.type==="AssignmentPattern"){if(x.parent&&x.parent.type==="ObjectPattern"){!t&&x.shorthand&&x.value.left&&g(T)&&S(C);const A=x.key.name===x.value.name;if(!A&&x.key===C)return;x.value.name&&g(T)&&!(A&&t)&&S(C)}if(!p&&!x.computed||t&&h(C))return;x.right!==C&&E(v,T)&&S(C)}else s.has(x.type)?x.local&&x.local.name===C.name&&g(T)&&S(C):x.type==="PropertyDefinition"?o&&g(T)&&S(C):E(v,T)&&S(C)},PrivateIdentifier(C){C.parent.type==="PropertyDefinition"&&!o||g(C.name)&&S(C)}}}},oo}var lo,Hg;function hA(){if(Hg)return lo;Hg=1;const{isCommentToken:a,isNotOpeningParenToken:e}=Le();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,Kg;function gA(){if(Kg)return uo;Kg=1;const a=Le(),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},d=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],d)}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 d={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(d,p.options[1]),(typeof d.VariableDeclarator=="number"||d.VariableDeclarator==="first")&&(d.VariableDeclarator={var:d.VariableDeclarator,let:d.VariableDeclarator,const:d.VariableDeclarator})));const s=p.sourceCode,f=new o(s),g=new t(f,c,i==="space"?" ":" ",s.text.length),h=new WeakSet;function E(B,X,J){const ge=`${B} ${i}${B===1?"":"s"}`,ae=`space${X===1?"":"s"}`,ke=`tab${J===1?"":"s"}`;let Z;return X>0?Z=i==="space"?X:`${X} ${ae}`:J>0?Z=i==="tab"?J:`${J} ${ke}`:Z="0",{expected:ge,actual:Z}}function S(B,X){const J=Array.from(f.getTokenIndent(B)),ge=J.filter(ke=>ke===" ").length,ae=J.filter(ke=>ke===" ").length;p.report({node:B,messageId:"wrongIndentation",data:E(X.length,ge,ae),loc:{start:{line:B.loc.start.line,column:0},end:{line:B.loc.start.line,column:B.loc.start.column}},fix(ke){const Z=[B.range[0]-B.loc.start.column,B.range[0]],I=X;return ke.replaceTextRange(Z,I)}})}function C(B,X){const J=f.getTokenIndent(B);return J===X||J.includes(" ")&&J.includes(" ")}function T(B){if(!B.parent||B.parent.type!=="CallExpression"||B.parent.callee!==B)return!1;let X=B.parent&&B.parent.parent;for(;X.type==="UnaryExpression"&&["!","~","+","-"].includes(X.operator)||X.type==="AssignmentExpression"||X.type==="LogicalExpression"||X.type==="SequenceExpression"||X.type==="VariableDeclarator";)X=X.parent;return(X.type==="ExpressionStatement"||X.type==="VariableDeclaration")&&X.parent.type==="Program"}function x(B){const J=B.match(/\s*$/u)[0].match(a.createGlobalLinebreakMatcher());return J===null?0:J.length}function v(B,X,J,ge){function ae(ke){let Z=s.getTokenBefore(ke);for(;a.isOpeningParenToken(Z)&&Z!==X;)Z=s.getTokenBefore(Z);return s.getTokenAfter(Z)}g.setDesiredOffsets([X.range[1],J.range[0]],X,typeof ge=="number"?ge:1),g.setDesiredOffset(J,X,0),!(ge==="first"&&B.length&&!B[0])&&B.forEach((ke,Z)=>{if(ke&&(ge==="off"&&g.ignoreToken(ae(ke)),Z!==0))if(ge==="first"&&f.isFirstTokenOfLine(ae(ke)))g.matchOffsetOf(ae(B[0]),ae(ke));else{const I=B[Z-1],H=I&&ae(I),fe=I&&s.getLastToken(I);I&&fe.loc.end.line-x(fe.value)>X.loc.end.line&&g.setDesiredOffsets([I.range[1],ke.range[1]],H,0)}})}function A(B){if(B.type!=="BlockStatement"){const X=s.getTokenBefore(B,a.isNotOpeningParenToken);let J=s.getFirstToken(B),ge=s.getLastToken(B);for(;a.isOpeningParenToken(s.getTokenBefore(J))&&a.isClosingParenToken(s.getTokenAfter(ge));)J=s.getTokenBefore(J),ge=s.getTokenAfter(ge);g.setDesiredOffsets([J.range[0],ge.range[1]],X,1)}}function b(B){let X;B.arguments.length?X=s.getFirstTokenBetween(B.callee,B.arguments[0],a.isOpeningParenToken):X=s.getLastToken(B,1);const J=s.getLastToken(B);if(h.add(X),h.add(J),B.optional){const ke=s.getTokenAfter(B.callee,a.isQuestionDotToken),Z=s.getTokensBetween(B.callee,ke,{filter:a.isClosingParenToken}).length,I=Z?s.getTokenBefore(B.callee,{skip:Z-1}):s.getFirstToken(B.callee),H=s.getTokenBefore(ke),fe=H.loc.end.line===X.loc.start.line?H:I;g.setDesiredOffset(ke,fe,1)}const ge=B.callee.type==="TaggedTemplateExpression"?s.getFirstToken(B.callee.quasi):X,ae=s.getTokenBefore(ge);g.setDesiredOffset(X,ae,0),v(B.arguments,X,J,d.CallExpression.arguments)}function w(B){const X=[],J=[];for(let ge=0;ge<B.length;ge++){const ae=B[ge];a.isOpeningParenToken(ae)?X.push(ae):a.isClosingParenToken(ae)&&J.push({left:X.pop(),right:ae})}for(let ge=J.length-1;ge>=0;ge--){const ae=J[ge].left,ke=J[ge].right;if(!h.has(ae)&&!h.has(ke)){const Z=new Set(s.getTokensBetween(ae,ke));Z.forEach(I=>{Z.has(g.getFirstDependency(I))||g.setDesiredOffset(I,ae,1)})}g.setDesiredOffset(ke,ae,0)}}function k(B){const X=new Set(s.getTokens(B,{includeComments:!0}));X.forEach(J=>{if(!X.has(g.getFirstDependency(J))){const ge=f.getFirstTokenOfLine(J);J===ge?g.ignoreToken(J):g.setDesiredOffset(J,ge,0)}})}function R(B,X){let J=X;for(;J.parent&&!J.parent.type.endsWith("Statement")&&!J.parent.type.endsWith("Declaration");)J=J.parent;return J=J.parent,!J||J.loc.start.line===B.loc.start.line}function F(B,X){const J=B.loc.end.line,ge=X.loc.start.line;if(J===ge||J===ge-1)return!1;for(let ae=J+1;ae<ge;++ae)if(!f.firstTokensByLineNumber.has(ae))return!0;return!1}const L=new Set,P={"ArrayExpression, ArrayPattern"(B){const X=s.getFirstToken(B),J=s.getTokenAfter([...B.elements].reverse().find(ge=>ge)||X,a.isClosingBracketToken);v(B.elements,X,J,d.ArrayExpression)},"ObjectExpression, ObjectPattern"(B){const X=s.getFirstToken(B),J=s.getTokenAfter(B.properties.length?B.properties.at(-1):X,a.isClosingBraceToken);v(B.properties,X,J,d.ObjectExpression)},ArrowFunctionExpression(B){const X=s.getFirstToken(B,{skip:B.async?1:0});if(a.isOpeningParenToken(X)){const J=X,ge=s.getTokenBefore(B.body,a.isClosingParenToken);h.add(J),h.add(ge),v(B.params,J,ge,d.FunctionExpression.parameters)}A(B.body)},AssignmentExpression(B){const X=s.getFirstTokenBetween(B.left,B.right,J=>J.value===B.operator);g.setDesiredOffsets([X.range[0],B.range[1]],s.getLastToken(B.left),1),g.ignoreToken(X),g.ignoreToken(s.getTokenAfter(X))},"BinaryExpression, LogicalExpression"(B){const X=s.getFirstTokenBetween(B.left,B.right,ge=>ge.value===B.operator),J=s.getTokenAfter(X);g.ignoreToken(X),g.ignoreToken(J),g.setDesiredOffset(J,X,0)},"BlockStatement, ClassBody"(B){let X;B.parent&&T(B.parent)?X=d.outerIIFEBody:B.parent&&(B.parent.type==="FunctionExpression"||B.parent.type==="ArrowFunctionExpression")?X=d.FunctionExpression.body:B.parent&&B.parent.type==="FunctionDeclaration"?X=d.FunctionDeclaration.body:X=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),X)},CallExpression:b,"ClassDeclaration[superClass], ClassExpression[superClass]"(B){const X=s.getFirstToken(B),J=s.getTokenBefore(B.superClass,a.isNotOpeningParenToken);g.setDesiredOffsets([J.range[0],B.body.range[0]],X,1)},ConditionalExpression(B){const X=s.getFirstToken(B);if(!d.flatTernaryExpressions||!a.isTokenOnSameLine(B.test,B.consequent)||R(X,B)){const J=s.getFirstTokenBetween(B.test,B.consequent,I=>I.type==="Punctuator"&&I.value==="?"),ge=s.getFirstTokenBetween(B.consequent,B.alternate,I=>I.type==="Punctuator"&&I.value===":"),ae=s.getTokenAfter(J),ke=s.getTokenBefore(ge),Z=s.getTokenAfter(ge);g.setDesiredOffset(J,X,1),g.setDesiredOffset(ge,X,1),g.setDesiredOffset(ae,X,ae.type==="Punctuator"&&d.offsetTernaryExpressions?2:1),ke.loc.end.line===Z.loc.start.line?g.setDesiredOffset(Z,ae,0):g.setDesiredOffset(Z,X,Z.type==="Punctuator"&&d.offsetTernaryExpressions?2:1)}},"DoWhileStatement, WhileStatement, ForInStatement, ForOfStatement, WithStatement":B=>A(B.body),ExportNamedDeclaration(B){if(B.declaration===null){const X=s.getLastToken(B,a.isClosingBraceToken);v(B.specifiers,s.getFirstToken(B,{skip:1}),X,1),B.source&&g.setDesiredOffsets([X.range[1],B.range[1]],s.getFirstToken(B),1)}},ForStatement(B){const X=s.getFirstToken(B,1);B.init&&g.setDesiredOffsets(B.init.range,X,1),B.test&&g.setDesiredOffsets(B.test.range,X,1),B.update&&g.setDesiredOffsets(B.update.range,X,1),A(B.body)},"FunctionDeclaration, FunctionExpression"(B){const X=s.getTokenBefore(B.body),J=s.getTokenBefore(B.params.length?B.params[0]:X);h.add(J),h.add(X),v(B.params,J,X,d[B.type].parameters)},IfStatement(B){A(B.consequent),B.alternate&&A(B.alternate)},":matches(DoWhileStatement, ForStatement, ForInStatement, ForOfStatement, IfStatement, WhileStatement, WithStatement):exit"(B){let X;B.type==="IfStatement"?(X=[B.consequent],B.alternate&&X.push(B.alternate)):X=[B.body];for(const J of X){const ge=s.getLastToken(J);if(a.isSemicolonToken(ge)){const ae=s.getTokenBefore(ge),ke=s.getTokenAfter(ge);!a.isTokenOnSameLine(ae,ge)&&ke&&a.isTokenOnSameLine(ge,ke)&&g.setDesiredOffset(ge,s.getFirstToken(B),0)}}},ImportDeclaration(B){if(B.specifiers.some(ae=>ae.type==="ImportSpecifier")){const ae=s.getFirstToken(B,a.isOpeningBraceToken),ke=s.getLastToken(B,a.isClosingBraceToken);v(B.specifiers.filter(Z=>Z.type==="ImportSpecifier"),ae,ke,d.ImportDeclaration)}const X=s.getLastToken(B,ae=>ae.type==="Identifier"&&ae.value==="from"),J=s.getLastToken(B,ae=>ae.type==="String"),ge=s.getLastToken(B,ae=>ae.type==="Punctuator"&&ae.value===";");if(X){const ae=ge&&ge.range[1]===J.range[1]?B.range[1]:J.range[1];g.setDesiredOffsets([X.range[0],ae],s.getFirstToken(B),1)}},ImportExpression(B){const X=s.getFirstToken(B,1),J=s.getLastToken(B);h.add(X),h.add(J),g.setDesiredOffset(X,s.getTokenBefore(X),0),v([B.source],X,J,d.CallExpression.arguments)},"MemberExpression, JSXMemberExpression, MetaProperty"(B){const X=B.type==="MetaProperty"?B.meta:B.object,J=s.getFirstTokenBetween(X,B.property,a.isNotClosingParenToken),ge=s.getTokenAfter(J),ae=s.getTokensBetween(X,B.property,{filter:a.isClosingParenToken}).length,ke=ae?s.getTokenBefore(X,{skip:ae-1}):s.getFirstToken(X),Z=s.getTokenBefore(J),I=B.computed?J:ge;B.computed&&(g.setDesiredOffset(s.getLastToken(B),J,0),g.setDesiredOffsets(B.property.range,J,1));const H=Z.loc.end.line===I.loc.start.line?Z:ke;typeof d.MemberExpression=="number"?(g.setDesiredOffset(J,H,d.MemberExpression),g.setDesiredOffset(ge,B.computed?J:H,d.MemberExpression)):(g.ignoreToken(J),g.ignoreToken(ge),g.setDesiredOffset(J,H,0),g.setDesiredOffset(ge,J,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 X=s.getFirstTokenBetween(B.key,B.value,a.isColonToken);g.ignoreToken(s.getTokenAfter(X))}},PropertyDefinition(B){const X=s.getFirstToken(B),J=s.getLastToken(B);let ge;if(B.computed){const ae=s.getTokenBefore(B.key,a.isOpeningBracketToken),ke=ge=s.getTokenAfter(B.key,a.isClosingBracketToken),Z=[ae.range[1],ke.range[0]];ae!==X&&g.setDesiredOffset(ae,X,0),g.setDesiredOffsets(Z,ae,1),g.setDesiredOffset(ke,ae,0)}else{const ae=ge=s.getFirstToken(B.key);ae!==X&&g.setDesiredOffset(ae,X,1)}if(B.value){const ae=s.getTokenBefore(B.value,a.isEqToken),ke=s.getTokenAfter(ae);g.setDesiredOffset(ae,ge,1),g.setDesiredOffset(ke,ae,1),a.isSemicolonToken(J)&&g.setDesiredOffset(J,ae,1)}else a.isSemicolonToken(J)&&g.setDesiredOffset(J,ge,1)},StaticBlock(B){const X=s.getFirstToken(B,{skip:1}),J=s.getLastToken(B);v(B.body,X,J,d.StaticBlock.body)},SwitchStatement(B){const X=s.getTokenAfter(B.discriminant,a.isOpeningBraceToken),J=s.getLastToken(B);g.setDesiredOffsets([X.range[1],J.range[0]],X,d.SwitchCase),B.cases.length&&s.getTokensBetween(B.cases.at(-1),J,{includeComments:!0,filter:a.isCommentToken}).forEach(ge=>g.ignoreToken(ge))},SwitchCase(B){if(!(B.consequent.length===1&&B.consequent[0].type==="BlockStatement")){const X=s.getFirstToken(B),J=s.getTokenAfter(B);g.setDesiredOffsets([X.range[1],J.range[0]],X,1)}},TemplateLiteral(B){B.expressions.forEach((X,J)=>{const ge=B.quasis[J],ae=B.quasis[J+1],ke=ge.loc.start.line===ge.loc.end.line?s.getFirstToken(ge):null;g.setDesiredOffsets([ge.range[1],ae.range[0]],ke,1),g.setDesiredOffset(s.getFirstToken(ae),ke,0)})},VariableDeclaration(B){let X=Object.hasOwn(d.VariableDeclarator,B.kind)?d.VariableDeclarator[B.kind]:1;const J=s.getFirstToken(B),ge=s.getLastToken(B);if(d.VariableDeclarator[B.kind]==="first"){if(B.declarations.length>1){v(B.declarations,J,ge,"first");return}X=1}B.declarations.at(-1).loc.start.line>B.loc.start.line?g.setDesiredOffsets(B.range,J,X,!0):g.setDesiredOffsets(B.range,J,X),a.isSemicolonToken(ge)&&g.ignoreToken(ge)},VariableDeclarator(B){if(B.init){const X=s.getTokenBefore(B.init,a.isNotOpeningParenToken),J=s.getTokenAfter(X);g.ignoreToken(X),g.ignoreToken(J),g.setDesiredOffsets([J.range[0],B.range[1]],X,1),g.setDesiredOffset(X,s.getLastToken(B.id),0)}},"JSXAttribute[value]"(B){const X=s.getFirstTokenBetween(B.name,B.value,J=>J.type==="Punctuator"&&J.value==="=");g.setDesiredOffsets([X.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 X=s.getFirstToken(B);let J;B.selfClosing?(J=s.getLastToken(B,{skip:1}),g.setDesiredOffset(s.getLastToken(B),J,0)):J=s.getLastToken(B),g.setDesiredOffsets(B.name.range,s.getFirstToken(B)),v(B.attributes,X,J,1)},JSXClosingElement(B){const X=s.getFirstToken(B);g.setDesiredOffsets(B.name.range,X,1)},JSXFragment(B){const X=s.getFirstToken(B.openingFragment),J=s.getFirstToken(B.closingFragment);v(B.children,X,J,1)},JSXOpeningFragment(B){const X=s.getFirstToken(B),J=s.getLastToken(B);g.setDesiredOffsets(B.range,X,1),g.matchOffsetOf(X,J)},JSXClosingFragment(B){const X=s.getFirstToken(B),J=s.getLastToken(B,{skip:1}),ge=s.getLastToken(B),ae=a.isTokenOnSameLine(J,ge)?J:ge;g.setDesiredOffsets(B.range,X,1),g.matchOffsetOf(X,ae)},JSXExpressionContainer(B){const X=s.getFirstToken(B),J=s.getLastToken(B);g.setDesiredOffsets([X.range[1],J.range[0]],X,1)},JSXSpreadAttribute(B){const X=s.getFirstToken(B),J=s.getLastToken(B);g.setDesiredOffsets([X.range[1],J.range[0]],X,1)},"*"(B){const X=s.getFirstToken(B);X&&!L.has(X)&&g.setDesiredOffsets(B.range,X,0)}},O=[],$={};for(const[B,X]of Object.entries(P))$[B]=J=>O.push({listener:X,node:J});const M=new Set;function _(B){M.add(B),L.add(s.getFirstToken(B))}const K=d.ignoredNodes.reduce((B,X)=>Object.assign(B,{[X]:_}),{});return Object.assign($,K,{"*:exit"(B){e.has(B.type)||_(B)},"Program:exit"(){d.ignoreComments&&s.getAllComments().forEach(X=>g.ignoreToken(X));for(let X=0;X<O.length;X++){const J=O[X];M.has(J.node)||J.listener(J.node)}M.forEach(k),w(s.ast.tokens);const B=new WeakMap;for(let X=0;X<s.ast.comments.length;X++){const J=s.ast.comments[X],ge=s.getTokenBefore(J,{includeComments:!0}),ae=B.has(ge)?B.get(ge):ge;B.set(J,ae)}for(let X=1;X<s.lines.length+1;X++){if(!f.firstTokensByLineNumber.has(X))continue;const J=f.firstTokensByLineNumber.get(X);if(J.loc.start.line===X){if(a.isCommentToken(J)){const ge=B.get(J),ae=ge?s.getTokenAfter(ge):s.ast.tokens[0],ke=ge&&!F(ge,J),Z=ae&&!F(J,ae);if(ae&&a.isSemicolonToken(ae)&&!a.isTokenOnSameLine(J,ae)&&g.setDesiredOffset(J,ae,0),ke&&C(J,g.getDesiredIndent(ge))||Z&&C(J,g.getDesiredIndent(ae)))continue}C(J,g.getDesiredIndent(J))||S(J,g.getDesiredIndent(J))}}}})}},uo}var co,Xg;function yA(){if(Xg)return co;Xg=1;const a=Le();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 K=_.VariableDeclarator;typeof K=="number"?u.VariableDeclarator={var:K,let:K,const:K}:typeof K=="object"&&Object.assign(u.VariableDeclarator,K),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(_,K,B){const X=`${_} ${l}${_===1?"":"s"}`,J=`space${K===1?"":"s"}`,ge=`tab${B===1?"":"s"}`;let ae;return K>0&&B>0?ae=`${K} ${J} and ${B} ${ge}`:K>0?ae=l==="space"?K:`${K} ${J}`:B>0?ae=l==="tab"?B:`${B} ${ge}`:ae="0",{expected:X,actual:ae}}function c(_,K,B,X,J,ge){if(B&&X)return;const ae=(l==="space"?" ":" ").repeat(K),ke=ge?[_.range[1]-_.loc.end.column,_.range[1]-_.loc.end.column+B+X]:[_.range[0]-_.loc.start.column,_.range[0]-_.loc.start.column+B+X];e.report({node:_,loc:J,messageId:"expected",data:i(K,B,X),fix:Z=>Z.replaceTextRange(ke,ae)})}function d(_,K){const B=K?r.getLastToken(_):r.getFirstToken(_),X=r.getText(B,B.loc.start.column).split(""),J=X.slice(0,X.findIndex(ke=>ke!==" "&&ke!==" ")),ge=J.filter(ke=>ke===" ").length,ae=J.filter(ke=>ke===" ").length;return{space:ge,tab:ae,goodChar:l==="space"?ge:ae,badChar:l==="space"?ae:ge}}function s(_,K){const B=K===!0?r.getLastToken(_,1):r.getTokenBefore(_),X=K===!0?_.loc.end.line:_.loc.start.line,J=B?B.loc.end.line:-1;return X!==J}function f(_,K){const B=d(_,!1);if(_.type!=="ArrayExpression"&&_.type!=="ObjectExpression"&&(B.goodChar!==K||B.badChar!==0)&&s(_)&&c(_,K,B.space,B.tab),_.type==="IfStatement"&&_.alternate){const X=r.getTokenBefore(_.alternate);f(X,K),s(_.alternate)||f(_.alternate,K)}if(_.type==="TryStatement"&&_.handler){const X=r.getFirstToken(_.handler);f(X,K)}if(_.type==="TryStatement"&&_.finalizer){const X=r.getTokenBefore(_.finalizer);f(X,K)}if(_.type==="DoWhileStatement"){const X=r.getTokenAfter(_.body);f(X,K)}}function g(_,K){_.forEach(B=>f(B,K))}function h(_,K){const B=r.getLastToken(_),X=d(B,!0);(X.goodChar!==K||X.badChar!==0)&&s(_,!0)&&c(_,K,X.space,X.tab,{line:B.loc.start.line,column:B.loc.start.column},!0)}function E(_,K){const B=r.getLastToken(_,a.isClosingParenToken);if(r.getText(B,B.loc.start.column).slice(0,-1).trim())return;const J=d(B,!0);J.goodChar!==K&&c(_,K,J.space,J.tab,{line:B.loc.start.line,column:B.loc.start.column},!0)}function S(_,K){const B=d(_,!1);(B.goodChar!==K||B.badChar!==0)&&s(_)&&c(_,K,B.space,B.tab,{line:_.loc.start.line,column:_.loc.start.column})}function C(_,K,B){let X=_.parent;const J=new Set(B||["Program"]);for(;X.type!==K&&!J.has(X.type)&&X.type!=="Program";)X=X.parent;return X.type===K?X:null}function T(_){return C(_,"VariableDeclarator")}function x(_,K){return K&&K.parent.loc.start.line===_.loc.start.line&&K.parent.declarations.length>1}function v(_){const K=_.parent;return K.arguments.length>=2&&K.arguments[1]===_?K.arguments[0].loc.end.line>K.arguments[0].loc.start.line:!1}function A(_){const K=_.parent;let B=K.parent;if(K.type!=="CallExpression"||K.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 K=_.parent;let B;if(K.parent&&(K.parent.type==="Property"||K.parent.type==="ArrayExpression")?B=d(K,!1).goodChar:B=d(K).goodChar,K.parent.type==="CallExpression"){const ge=K.parent;K.type!=="FunctionExpression"&&K.type!=="ArrowFunctionExpression"?ge&&ge.loc.start.line<_.loc.start.line&&(B=d(ge).goodChar):v(K)&&ge.callee.loc.start.line===ge.callee.loc.end.line&&!s(K)&&(B=d(ge).goodChar)}let X=p;u.outerIIFEBody!==null&&A(K)?X=u.outerIIFEBody*p:K.type==="FunctionExpression"?X=u.FunctionExpression.body*p:K.type==="FunctionDeclaration"&&(X=u.FunctionDeclaration.body*p),B+=X;const J=T(_);J&&x(_,J)&&(B+=p*u.VariableDeclarator[J.parent.kind]),_.body.length>0&&g(_.body,B),h(_,B-X)}function w(_){const K=r.getLastToken(_),B=_.loc.start.line,X=K.loc.end.line;return B===X}function k(_){if(w(_))return;let K=_.type==="ArrayExpression"?_.elements:_.properties;K=K.filter(ge=>ge!==null);let B,X;const J=T(_);if(s(_)){const ge=_.parent;if(B=d(ge).goodChar,(!J||J.loc.start.line!==_.loc.start.line)&&(ge.type!=="VariableDeclarator"||J===J.parent.declarations[0]))if(ge.type==="VariableDeclarator"&&J.loc.start.line===ge.loc.start.line)B+=p*u.VariableDeclarator[J.parent.kind];else if(ge.type==="ObjectExpression"||ge.type==="ArrayExpression"){const ae=_.parent.type==="ObjectExpression"?_.parent.properties:_.parent.elements;ae[0]&&ae[0].loc.start.line===ge.loc.start.line&&ae[0].loc.end.line!==ge.loc.start.line||(typeof u[ge.type]=="number"?B+=u[ge.type]*p:B=ae[0].loc.start.column)}else ge.type==="CallExpression"||ge.type==="NewExpression"?typeof u.CallExpression.arguments=="number"?B+=u.CallExpression.arguments*p:u.CallExpression.arguments==="first"?ge.arguments.includes(_)&&(B=ge.arguments[0].loc.start.column):B+=p:(ge.type==="LogicalExpression"||ge.type==="ArrowFunctionExpression")&&(B+=p);S(_,B)}else B=d(_).goodChar;u[_.type]==="first"?X=K.length?K[0].loc.start.column:0:X=B+p*u[_.type],x(_,J)&&(X+=p*u.VariableDeclarator[J.parent.kind]),g(K,X),!(K.length>0&&K.at(-1).loc.end.line===_.loc.end.line)&&h(_,B+(x(_,J)?u.VariableDeclarator[J.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 K,B;const X=["IfStatement","WhileStatement","ForStatement","ForInStatement","ForOfStatement","DoWhileStatement","ClassDeclaration","TryStatement"];_.parent&&X.includes(_.parent.type)&&R(_)?K=d(_.parent).goodChar:_.parent&&_.parent.type==="CatchClause"?K=d(_.parent.parent).goodChar:K=d(_).goodChar,_.type==="IfStatement"&&_.consequent.type!=="BlockStatement"?B=[_.consequent]:Array.isArray(_.body)?B=_.body:B=[_.body],B.length>0&&g(B,K+p),_.type==="BlockStatement"&&h(_,K)}function L(_){return _.declarations.reduce((K,B)=>{const X=K.at(-1);return(B.loc.start.line!==_.loc.start.line&&!X||X&&X.loc.start.line!==B.loc.start.line)&&K.push(B),K},[])}function P(_){const K=L(_),B=d(_).goodChar,X=K.at(-1),J=B+p*u.VariableDeclarator[_.kind];if(g(K,J),r.getLastToken(_).loc.end.line<=X.loc.end.line)return;const ge=r.getTokenBefore(X);ge.value===","?h(_,d(ge).goodChar):h(_,J-p)}function O(_){_.body.type!=="BlockStatement"&&F(_)}function $(_,K){const B=_.type==="SwitchStatement"?_:_.parent,X=typeof K>"u"?d(B).goodChar:K;let J;return m[B.loc.start.line]?m[B.loc.start.line]:(B.cases.length>0&&u.SwitchCase===0?J=X:J=X+p*u.SwitchCase,m[B.loc.start.line]=J,J)}function M(_){const K=/^return\s*\(\s*\)/u,B=r.getText(_).replace(r.getText(_.argument),"");return K.test(B)}return{Program(_){_.body.length>0&&g(_.body,d(_).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(_)||C(_,"VariableDeclarator",["FunctionExpression","ArrowFunctionExpression"])||C(_,"AssignmentExpression",["FunctionExpression"]))return;const K=d(_).goodChar+p*u.MemberExpression,B=[_.property],X=r.getTokenBefore(_.property);X.type==="Punctuator"&&X.value==="."&&B.push(X),g(B,K)},SwitchStatement(_){const K=d(_).goodChar,B=$(_,K);g(_.cases,B),h(_,K)},SwitchCase(_){if(w(_))return;const K=$(_);g(_.consequent,K+p)},FunctionDeclaration(_){w(_)||(u.FunctionDeclaration.parameters==="first"&&_.params.length?g(_.params.slice(1),_.params[0].loc.start.column):u.FunctionDeclaration.parameters!==null&&g(_.params,d(_).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,d(_).goodChar+p*u.FunctionExpression.parameters))},ReturnStatement(_){if(w(_))return;const K=d(_).goodChar;M(_)?E(_,K):f(_,K)},CallExpression(_){w(_)||(u.CallExpression.arguments==="first"&&_.arguments.length?g(_.arguments.slice(1),_.arguments[0].loc.start.column):u.CallExpression.arguments!==null&&g(_.arguments,d(_).goodChar+p*u.CallExpression.arguments))}}}},co}var fo,Jg;function vA(){if(Jg)return fo;Jg=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 d=0;d<c.length;++d){const s=c[d],f=s.id,g=n(s),h=u.ignoreForLoopInit&&e(m.parent);let E="";p===t&&!g?E="initialized":p===l&&!a.has(i)&&g&&!h&&(E="notInitialized"),f.type==="Identifier"&&E&&o.report({node:s,messageId:E,data:{idName:f.name}})}}}}},fo}var po,Yg;function EA(){if(Yg)return po;Yg=1;const a=Le(),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,Qg;function SA(){if(Qg)return mo;Qg=1;const a=Le(),{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,d=i.singleLine,s=i.align||null,f=r.sourceCode;function g(L){return!(L.method||L.shorthand||L.kind!=="init"||L.type!=="Property")}function h(L){return f.getTokenAfter(L,a.isColonToken)}function E(L){const P=h(L);return f.getTokenBefore(P)}function S(L){const P=h(L);return f.getTokenAfter(P)}function C(L,P){const O=L.loc.start.line,$=(g(P)?S(P.key):P).loc.start.line;if($-O<=1)return!0;const M=f.getCommentsBefore(P);if(M.length&&M[0].loc.start.line-O<=1&&$-o(M).loc.end.line<=1){for(let _=1;_<M.length;_++)if(M[_].loc.start.line-M[_-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 x(L,P,O,$,M){const _=O.length-$;if((_&&M==="strict"||_<0&&M==="minimum"||_>0&&!$&&M==="minimum")&&!($&&n(O))){const K=h(L.key),B=f.getTokenBefore(K,{includeComments:!0}),X=f.getTokenAfter(K,{includeComments:!0}),J=P==="key",ge=_>0,ae=Math.abs(_),ke=Array(ae+1).join(" "),Z=J?B.loc.end:K.loc.start,I=J?K.loc.start:X.loc.start,H=J?B.loc:X.loc,fe=ge?{start:Z,end:I}:H;let ce;if(ge){let de;J?de=[B.range[1],B.range[1]+ae]:de=[X.range[0]-ae,X.range[0]],ce=function(xe){return xe.removeRange(de)}}else J?ce=function(de){return de.insertTextAfter(B,ke)}:ce=function(de){return de.insertTextBefore(X,ke)};let ie;ge?ie=P==="key"?"extraKey":"extraValue":ie=P==="key"?"missingKey":"missingValue",r.report({node:L[P],loc:fe,messageId:ie,data:{computed:L.computed?"computed ":"",key:T(L)},fix:ce})}}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 $=o(P),M=o($);return!M||C(M,O)?$.push(O):P.push([O]),P},[[]])}function w(L){const P=L.length,O=L.map(v),$=s.on;let M=Math.max(...O),_,K,B;s&&P>1?(_=s.beforeColon,K=s.afterColon,B=s.mode):(_=c.beforeColon,K=c.afterColon,B=s.mode),M+=$==="colon"?_:K;for(let X=0;X<P;X++){const J=L[X],ge=A(J);if(ge){const ae=O[X];$==="value"?(x(J,"key",ge.beforeColon,_,B),x(J,"value",ge.afterColon,M-ae,B)):(x(J,"key",ge.beforeColon,M-ae,B),x(J,"value",ge.afterColon,K,B))}}}function k(L,P){const O=A(L);O&&(x(L,"key",O.beforeColon,P.beforeColon,P.mode),x(L,"value",O.afterColon,P.afterColon,P.mode))}function R(L,P){const O=L.length;for(let $=0;$<O;$++)k(L[$],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),d):F(L)}}:{Property(L){k(L,t(L.parent)?d:c)}}}},mo}var ho,Zg;function bA(){if(Zg)return ho;Zg=1;const a=Le(),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 d=1;d<m.length;++d)if(m[d]===m[d-1])throw new Error(`Duplication was found in the keyword list: ${m[d]}`)})();function i(d){return d.type==="Template"&&p.test(d.value)}function c(d){return d.type==="Template"&&u.test(d.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((d,s)=>(d[s]={type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"}},additionalProperties:!1},d),{}),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(d){const s=d.sourceCode,f=new WeakSet;function g(ae,ke){const Z=s.getTokenBefore(ae);Z&&(r.test(Z.type)||ke.test(Z.value))&&!i(Z)&&!f.has(Z)&&a.isTokenOnSameLine(Z,ae)&&!s.isSpaceBetweenTokens(Z,ae)&&d.report({loc:ae.loc,messageId:"expectedBefore",data:ae,fix(I){return I.insertTextBefore(ae," ")}})}function h(ae,ke){const Z=s.getTokenBefore(ae);Z&&(r.test(Z.type)||ke.test(Z.value))&&!i(Z)&&!f.has(Z)&&a.isTokenOnSameLine(Z,ae)&&s.isSpaceBetweenTokens(Z,ae)&&d.report({loc:{start:Z.loc.end,end:ae.loc.start},messageId:"unexpectedBefore",data:ae,fix(I){return I.removeRange([Z.range[1],ae.range[0]])}})}function E(ae,ke){const Z=s.getTokenAfter(ae);Z&&(r.test(Z.type)||ke.test(Z.value))&&!c(Z)&&!f.has(Z)&&a.isTokenOnSameLine(ae,Z)&&!s.isSpaceBetweenTokens(ae,Z)&&d.report({loc:ae.loc,messageId:"expectedAfter",data:ae,fix(I){return I.insertTextAfter(ae," ")}})}function S(ae,ke){const Z=s.getTokenAfter(ae);Z&&(r.test(Z.type)||ke.test(Z.value))&&!c(Z)&&!f.has(Z)&&a.isTokenOnSameLine(ae,Z)&&s.isSpaceBetweenTokens(ae,Z)&&d.report({loc:{start:ae.loc.end,end:Z.loc.start},messageId:"unexpectedAfter",data:ae,fix(I){return I.removeRange([ae.range[1],Z.range[0]])}})}function C(ae={}){const ke=ae.before!==!1,Z=ae.after!==!1,I={before:ke?g:h,after:Z?E:S},H=ae&&ae.overrides||{},fe=Object.create(null);for(let ce=0;ce<m.length;++ce){const ie=m[ce],de=H[ie];if(de){const xe="before"in de?de.before:ke,be="after"in de?de.after:Z;fe[ie]={before:xe?g:h,after:be?E:S}}else fe[ie]=I}return fe}const T=C(d.options[0]);function x(ae,ke){T[ae.value].before(ae,ke||n)}function v(ae,ke){T[ae.value].after(ae,ke||o)}function A(ae){x(ae),v(ae)}function b(ae){const ke=ae&&s.getFirstToken(ae);ke&&ke.type==="Keyword"&&A(ke)}function w(ae){const ke=ae&&s.getFirstToken(ae);ke&&ke.type==="Keyword"&&x(ke)}function k(ae){if(ae){const ke=s.getTokenBefore(ae,a.isKeywordToken);A(ke)}}function R(ae){const ke=ae&&s.getFirstToken(ae);ke&&(ke.type==="Keyword"&&ke.value==="function"||ke.value==="async")&&x(ke)}function F(ae){b(ae),k(ae.superClass)}function L(ae){b(ae),k(ae.alternate)}function P(ae){b(ae),b(ae.handler),k(ae.finalizer)}function O(ae){b(ae),k(ae.test)}function $(ae){b(ae);const ke=s.getTokenBefore(ae.right,a.isNotOpeningParenToken);s.getTokenBefore(ke).type!=="PrivateIdentifier"&&x(ke),v(ke)}function M(ae){ae.await?(x(s.getFirstToken(ae,0)),v(s.getFirstToken(ae,1))):b(ae);const ke=s.getTokenBefore(ae.right,a.isNotOpeningParenToken);s.getTokenBefore(ke).type!=="PrivateIdentifier"&&x(ke),v(ke)}function _(ae){const ke=s.getFirstToken(ae);if(x(ke,t),v(ke,l),ae.type==="ExportDefaultDeclaration"&&A(s.getTokenAfter(ke)),ae.type==="ExportAllDeclaration"&&ae.exported){const Z=s.getTokenBefore(ae.exported);x(Z,t),v(Z,l)}if(ae.source){const Z=s.getTokenBefore(ae.source);x(Z,t),v(Z,l)}}function K(ae){if(ae.imported.range[0]!==ae.local.range[0]){const ke=s.getTokenBefore(ae.local);x(ke,t)}}function B(ae){if(ae.local.range[0]!==ae.exported.range[0]){const ke=s.getTokenBefore(ae.exported);x(ke,t),v(ke,l)}}function X(ae){const ke=s.getFirstToken(ae,1);x(ke,t)}function J(ae){if(ae.static&&b(ae),ae.kind==="get"||ae.kind==="set"||(ae.method||ae.type==="MethodDefinition")&&ae.value.async){const ke=s.getTokenBefore(ae.key,Z=>{switch(Z.value){case"get":case"set":case"async":return!0;default:return!1}});if(!ke)throw new Error("Failed to find token get, set, or async beside method name");A(ke)}}function ge(ae){x(s.getFirstToken(ae))}return{DebuggerStatement:b,WithStatement:b,BreakStatement:b,ContinueStatement:b,ReturnStatement:b,ThrowStatement:b,TryStatement:P,IfStatement:L,SwitchStatement:b,SwitchCase:b,DoWhileStatement:O,ForInStatement:$,ForOfStatement:M,ForStatement:b,WhileStatement:b,ClassDeclaration:F,ExportNamedDeclaration:_,ExportDefaultDeclaration:_,ExportAllDeclaration:_,FunctionDeclaration:R,ImportDeclaration:_,VariableDeclaration:b,ArrowFunctionExpression:R,AwaitExpression:ge,ClassExpression:F,FunctionExpression:R,NewExpression:w,Super:w,ThisExpression:w,UnaryExpression:w,YieldExpression:w,ImportSpecifier:K,ExportSpecifier:B,ImportNamespaceSpecifier:X,MethodDefinition:J,PropertyDefinition:J,StaticBlock:b,Property:J,"BinaryExpression[operator='>']"(ae){const ke=s.getTokenBefore(ae.right,a.isNotOpeningParenToken);f.add(ke)}}}},ho}var go,ey;function xA(){if(ey)return go;ey=1;const a=Le();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 d=m.getTokenBefore(c,{includeComments:!0}),s=d&&d.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,ty;function CA(){if(ty)return yo;ty=1;const a=Le();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,d=0;for(;(c=i.exec(m))!==null;){if(d++,c[0]===r)continue;const s=c.index,f=[s,s+c[0].length];e.report({node:l,loc:{start:{line:d,column:n.lines[d-1].length},end:{line:d+1,column:0}},messageId:u?"expectedLF":"expectedCRLF",fix:o(f,r)})}}}}},yo}var vo,ry;function wA(){if(ry)return vo;ry=1;const a=Le();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,d=m.getAllComments(),s=n(d),f=e(i),g=new Set(s.concat(f));function h(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 $=m.getFirstToken(O,{skip:1});return P.range[0]>=$.range[0]?O:null}return O}function C(P,O){const $=S(P);if($&&E($,O)){let M=$;return $.type==="StaticBlock"?M=m.getFirstToken($,{skip:1}):$.type==="SwitchStatement"&&(M=m.getTokenAfter($.discriminant,{filter:a.isOpeningBraceToken})),P.loc.start.line-M.loc.start.line===1}return!1}function T(P,O){const $=S(P);return!!$&&E($,O)&&$.loc.end.line-P.loc.end.line===1}function x(P){return C(P,"ClassBody")||C(P,"BlockStatement")||C(P,"StaticBlock")||C(P,"SwitchCase")||C(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 C(P,"ClassBody")}function b(P){return T(P,"ClassBody")}function w(P){return C(P,"ObjectExpression")||C(P,"ObjectPattern")}function k(P){return T(P,"ObjectExpression")||T(P,"ObjectPattern")}function R(P){return C(P,"ArrayExpression")||C(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 $=O.after,M=O.before;const _=P.loc.start.line-1,K=P.loc.end.line+1,B=h(P),X=t.allowBlockStart&&x(P)&&!(t.allowClassStart===!1&&A(P)),J=t.allowBlockEnd&&v(P)&&!(t.allowClassEnd===!1&&b(P)),ge=t.allowClassStart&&A(P),ae=t.allowClassEnd&&b(P),ke=t.allowObjectStart&&w(P),Z=t.allowObjectEnd&&k(P),I=t.allowArrayStart&&R(P),H=t.allowArrayEnd&&F(P),fe=X||ge||ke||I,ce=J||ae||Z||H;if(_<1&&(M=!1),K>=c&&($=!1),B)return;const ie=m.getTokenBefore(P,{includeComments:!0}),de=m.getTokenAfter(P,{includeComments:!0});if(!fe&&M&&!g.has(_)&&!(a.isCommentToken(ie)&&a.isTokenOnSameLine(ie,P))){const xe=P.range[0]-P.loc.start.column,be=[xe,xe];o.report({node:P,messageId:"before",fix(Ae){return Ae.insertTextBeforeRange(be,`
75
+ `)}})}!ce&&$&&!g.has(K)&&!(a.isCommentToken(de)&&a.isTokenOnSameLine(P,de))&&o.report({node:P,messageId:"after",fix(xe){return xe.insertTextAfter(P,`
76
+ `)}})}return{Program(){d.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,ny;function AA(){if(ny)return Eo;ny=1;const a=Le();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 d=n.getTokenBefore(c,{includeComments:!0}),s=d?d.loc.end.line:0;return c.loc.start.line-s>=2}function u(c){const d=n.getLastToken(c),s=n.getTokenBefore(d);return a.isSemicolonToken(d)&&d.loc.start.line>s.loc.end.line?s:d}function r(c){const d=u(c);return n.getTokenAfter(d,{includeComments:!0}).loc.start.line-d.loc.end.line>=2}function m(c,d,s){e.report({node:c,messageId:s?"expected":"unexpected",data:{value:c.expression.value,location:d},fix(f){const g=u(c);return s?d==="before"?f.insertTextBefore(c,`
77
+ `):f.insertTextAfter(g,`
78
+ `):f.removeRange(d==="before"?[c.range[0]-1,c.range[0]]:[g.range[1],g.range[1]+1])}})}function i(c){const d=a.getDirectivePrologue(c);if(!d.length)return;const s=d[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=d.at(-1),h=c.type==="Program"?c.body:c.body.body;g===h.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,sy;function TA(){if(sy)return So;sy=1;const a=Le(),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(d,s){const f=l.getLastToken(d),g=l.getTokenBefore(f),h=l.getFirstToken(s);return a.isSemicolonToken(f)&&!a.isTokenOnSameLine(g,f)&&a.isTokenOnSameLine(f,h)?{curLast:g,nextFirst:f}:{curLast:f,nextFirst:h}}function u(d,s,f){const g=l.getTokenAfter(d,{includeComments:!0});return g!==s&&g.loc.start.line-d.loc.end.line<=f?u(g,s,f):d}function r(d,s,f){const g=l.getTokenBefore(d,{includeComments:!0});return g!==s&&d.loc.start.line-g.loc.end.line<=f?r(g,s,f):d}function m(d,s){return l.getTokensBetween(d,s,{includeComments:!0}).length!==0}function i(d,s){return e[s].test(d)}function c(d,s){for(let f=t.length-1;f>=0;--f){const g=t[f];if(i(d,g.prev)&&i(s,g.next))return g.blankLine}return null}return{ClassBody(d){const s=d.body;for(let f=0;f<s.length-1;f++){const g=l.getFirstToken(s[f]),{curLast:h,nextFirst:E}=p(s[f],s[f+1]),C=!!a.isTokenOnSameLine(g,h)&&o[1].exceptAfterSingleLine,T=u(h,E,1),x=r(E,h,1),v=x.loc.start.line-T.loc.end.line>1,A=m(T,x),b=u(h,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],x.range[0]],`
79
+ `)}}):w==="always"&&!C&&!v&&n.report({node:s[f+1],messageId:"always",fix(k){return A?null:k.insertTextAfter(b,`
80
+ `)}})}}}}},So}var bo,ay;function kA(){if(ay)return bo;ay=1;const a=Le(),e=new Set(["Identifier","Super","ThisExpression"]);function n(c,d){return c.type==="Identifier"&&c.name==="undefined"?a.isReferenceToGlobalVariable(d,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,d){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],d))}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,d){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",h=g==="left"?"right":"left";return a.isSameReference(c.left[s],c.right[g])&&(a.isNullLiteral(c.left[f])&&n(c.right[h],d)||n(c.left[f],d)&&a.isNullLiteral(c.right[h]))}function u(c,d){return c.type==="CallExpression"&&c.callee.name==="Boolean"&&c.arguments.length===1&&a.isReferenceToGlobalVariable(d,c.callee)}function r(c,d){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,d)&&o(f.arguments[0])):return{reference:f.arguments[0],operator:s?"||":"&&"};case t(c,d):return{reference:o(c.left)?c.left:c.right,operator:"??"};case p(c,d):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,d){let s=d.left;for(;s.type==="LogicalExpression"&&s.operator===d.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 d=c.options[0]==="never"?"never":"always",s=d==="always"&&c.options.length>1&&c.options[1].enforceForIfStatements,f=c.sourceCode,g=f.getScope(f.ast).isStrict;function h(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,x,v){return v?{...T,fix:x.fix}:{...T,suggest:[x]}}function C(T){return f.getFirstTokenBetween(T.left,T.right,x=>x.value===T.operator)}return d==="never"?{AssignmentExpression(T){if(!a.isLogicalAssignmentOperator(T.operator))return;const x={messageId:"unexpected",node:T,data:{operator:T.operator}},v={messageId:"separate",*fix(A){if(f.getCommentsInside(T).length>0)return;const b=C(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(x,v,h(T.left)))}}:{"AssignmentExpression[operator='='][right.type='LogicalExpression']"(T){const x=i(f,T.right);if(!a.isSameReference(T.left,x))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=C(T);yield b.insertTextBefore(w,T.right.operator);const k=C(x.parent),R=f.getTokenAfter(k);yield b.removeRange([x.parent.range[0],R.range[0]])}};c.report(S(v,A,h(T.left)))},'LogicalExpression[right.type="AssignmentExpression"][right.operator="="]'(T){if(o(T.left)&&a.isSameReference(T.left,T.right.left)){const x={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=C(T.right);yield b.insertTextBefore(R,T.operator)}},A=h(T.left)||E(T.left);c.report(S(x,v,A))}},"IfStatement[alternate=null]"(T){if(!s)return;const x=T.consequent.type==="BlockStatement";if(x&&T.consequent.body.length!==1)return;const v=x?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=C(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 $=f.getTokenAfter(v.expression);x&&$!==null&&$.value!==";"&&(yield F.insertTextAfter(T,";"))}},R=h(b.reference)||T.test.type!=="LogicalExpression"&&E(b.reference);c.report(S(w,k,R))}}}}},bo}var xo,iy;function DA(){return iy||(iy=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,oy;function IA(){return oy||(oy=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,ly;function PA(){if(ly)return wo;ly=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,$)=>{const M=$+P,_=L?M%L:0,K=L-_;P+=K-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,d=!!p.ignoreRegExpLiterals,s=!!p.ignoreTrailingComments||!!p.ignoreComments,f=!!p.ignoreUrls,g=p.comments;let h=p.ignorePattern||null;h&&(h=new RegExp(h,"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,$=P.loc.end,M=!F.slice(0,P.loc.start.column).trim();return P&&(O.line<L||O.line===L&&M)&&($.line>L||$.line===L&&$.column===F.length)}function C(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 x(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 $=O.loc.start.line;$<=O.loc.end.line;++$)x(L,$,O)}return L}function k(){const F=[];return t.getAllComments().forEach(L=>{const P=t.getNodeByRangeIndex(L.range[0]);C(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 $=v(),M=w($),_=A(),K=w(_),B=b(),X=w(B);L.forEach((J,ge)=>{const ae=ge+1;let ke=!1,Z;if(O<P.length){let ce;do ce=P[++O];while(ce&&ce.loc.start.line<=ae);if(ce=P[--O],S(J,ae,ce))ke=!0,Z=J;else if(s&&E(J,ae,ce)){Z=T(J,ce);let ie=O;for(;E(Z,ae,P[--ie]);)Z=T(Z,P[ie])}else Z=J}else Z=J;if(h&&h.test(Z)||f&&o.test(Z)||i&&M[ae]||c&&K[ae]||d&&X[ae])return;const I=l(Z,r),H=ke&&g;if(ke&&m)return;const fe={start:{line:ae,column:0},end:{line:ae,column:Z.length}};H?I>g&&n.report({node:F,loc:fe,messageId:"maxComment",data:{lineLength:I,maxCommentLength:g}}):I>u&&n.report({node:F,loc:fe,messageId:"max",data:{lineLength:I,maxLength:u}})})}return{Program:R}}},wo}var Ao,uy;function FA(){if(uy)return Ao;uy=1;const a=Le();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,d=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)&&(d-=1),c<=d?e(c,d+1):[]}return{"Program:exit"(){let i=u.lines.map((c,d)=>({lineNumber:d+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(),d=new Set(c.flatMap(m));i=i.filter(s=>!d.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,cy;function RA(){if(cy)return To;cy=1;const a=Le(),{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,d=!1;typeof r=="object"?(m=typeof r.max=="number"?r.max:50,i=!!r.skipComments,c=!!r.skipBlankLines,d=!!r.IIFEs):typeof r=="number"&&(m=r);const s=t(p.getAllComments());function f(S,C,T){const x=T.loc.start,v=T.loc.end,A=x.line===C&&!S.slice(0,x.column).trim(),b=v.line===C&&!S.slice(v.column).trim();return T&&(x.line<C||A)&&(v.line>C||b)}function g(S){return(S.type==="FunctionExpression"||S.type==="ArrowFunctionExpression")&&S.parent&&S.parent.type==="CallExpression"&&S.parent.callee===S}function h(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 C=h(S)?S.parent:S;if(!d&&g(C))return;let T=0;for(let x=C.loc.start.line-1;x<C.loc.end.line;++x){const v=u[x];i&&s.has(x+1)&&f(v,x+1,s.get(x+1))||c&&v.match(/^\s*$/u)||T++}if(T>m){const x=e(a.getFunctionNameWithKind(S));l.report({node:C,messageId:"exceed",data:{name:x,lineCount:T,maxLines:m}})}}return{FunctionDeclaration:E,FunctionExpression:E,ArrowFunctionExpression:E}}},To}var ko,fy;function _A(){return fy||(fy=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,py;function BA(){if(py)return Do;py=1;const a=Le(),{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,my;function LA(){if(my)return Io;my=1;const a=Le(),{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(d,s,f){if(s>f){const g=e(a.getFunctionNameWithKind(d));n.report({node:d,messageId:"exceed",data:{name:g,count:s,max:f}})}}function m(){o.push(0)}function i(d){const s=o.pop();d.type!=="StaticBlock"&&(l&&o.length===0?p.push({node:d,count:s}):r(d,s,u))}function c(d){o[o.length-1]+=d.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(d=>{const s=d.count,f=d.node;r(f,s,u)})}}}},Io}var Po,dy;function OA(){if(dy)return Po;dy=1;const a=Le();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 d(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":d,"ClassDeclaration:exit":d,"ContinueStatement:exit":d,"DebuggerStatement:exit":d,"DoWhileStatement:exit":d,"ExpressionStatement:exit":d,"ForInStatement:exit":d,"ForOfStatement:exit":d,"ForStatement:exit":d,"FunctionDeclaration:exit":d,"IfStatement:exit":d,"ImportDeclaration:exit":d,"LabeledStatement:exit":d,"ReturnStatement:exit":d,"SwitchStatement:exit":d,"ThrowStatement:exit":d,"TryStatement:exit":d,"VariableDeclaration:exit":d,"WhileStatement:exit":d,"WithStatement:exit":d,"ExportNamedDeclaration:exit":d,"ExportDefaultDeclaration:exit":d,"ExportAllDeclaration:exit":d,"Program:exit":m}}},Po}var Fo,hy;function NA(){if(hy)return Fo;hy=1;const a=Le();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 C=S.value.split(a.LINEBREAK_MATCHER);return C.length>0&&C.every((T,x)=>(x===0||x===C.length-1?/^\s*$/u:/^\s*\*/u).test(T))}function r([S]){if(S.type!=="Block")return!1;const C=S.value.split(a.LINEBREAK_MATCHER);return/^\*\s*$/u.test(C[0])&&C.slice(1,-1).every(T=>/^\s* /u.test(T))&&/^\s*$/u.test(C.at(-1))}function m(S){const C=S.map(({value:T})=>T).filter(T=>T.trim().length).every(T=>T.startsWith(" "));return S.map(({value:T})=>C?T.replace(/^ /u,""):T)}function i(S){const C=S.value.split(a.LINEBREAK_MATCHER).filter((x,v,A)=>!(v===0||v===A.length-1)).map(x=>x.replace(/^\s*$/u,"")),T=C.map(x=>x.replace(/\s*\*/u,"")).filter(x=>x.trim().length).every(x=>x.startsWith(" "));return C.map(x=>x.replace(T?/\s*\* ?/u:/\s*\*/u,""))}function c(S){const C=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 x="";for(const[v,A]of C.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>x.length&&(x=w)}}return C.map(v=>{const A=v.match(/^(\s*\*?\s*)(.*)/u),[,b,w]=A;return b.length>T.length?`${b.slice(T.length-(x.length+b.length))}${w}`:b.length<T.length?`${b.slice(T.length)}${w}`:w})}function d(S){const[C]=S;return C.type==="Line"?m(S):u(S)?i(C):c(C)}function s(S){return n.text.slice(S.range[0]-S.loc.start.column,S.range[0])}function f(S,C){const T=s(S);return`/*
81
+ ${C.map(x=>`${T} * ${x}`).join(`
82
+ `)}
83
+ ${T} */`}function g(S,C){return C.map(T=>`// ${T}`).join(`
84
+ ${s(S)}`)}function h(S,C){return`/* ${C.join(`
85
+ ${s(S)} `)} */`}const E={"starred-block"(S){const[C]=S,T=d(S);if(!T.some(x=>x.includes("*/")))if(S.length>1)e.report({loc:{start:C.loc.start,end:S.at(-1).loc.end},messageId:"expectedBlock",fix(x){const v=[C.range[0],S.at(-1).range[1]];return T.some(A=>A.startsWith("/"))?null:x.replaceTextRange(v,f(C,T))}});else{const x=C.value.split(a.LINEBREAK_MATCHER),A=`${s(C)} *`;if(!/^\*?\s*$/u.test(x[0])){const b=C.value.startsWith("*")?C.range[0]+1:C.range[0];e.report({loc:{start:C.loc.start,end:{line:C.loc.start.line,column:C.loc.start.column+2}},messageId:"startNewline",fix:w=>w.insertTextAfterRange([b,b+2],`
86
+ ${A}`)})}/^\s*$/u.test(x.at(-1))||e.report({loc:{start:{line:C.loc.end.line,column:C.loc.end.column-2},end:C.loc.end},messageId:"endNewline",fix:b=>b.replaceTextRange([C.range[1]-2,C.range[1]],`
87
+ ${A}/`)});for(let b=C.loc.start.line+1;b<=C.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[,$=""]=w.match(/^(\s*\*)/u)||[],M=F+$.length;return R.replaceTextRange([F,M],A)}const[,L=""]=w.match(/^(\s*)/u)||[],P=F+L.length;let O;for(const[$,M]of x.entries()){if(!/\S+/u.test(M))continue;const _=n.lines[C.loc.start.line-1+$],[,K="",B=""]=_.match(/^(\s*(?:\/?\*)?(\s*))/u)||[];O=`${L.slice(K.length)}${B}`,/^\s*\//u.test(w)&&O.length===0&&(O+=" ");break}return R.replaceTextRange([F,P],`${A}${O}`)}})}}},"separate-lines"(S){const[C]=S,T=r(S);if(C.type!=="Block"||!l&&T)return;let x=d(S);T&&(x=x.slice(1,x.length-1));const v=n.getTokenAfter(C,{includeComments:!0});v&&C.loc.end.line===v.loc.start.line||e.report({loc:{start:C.loc.start,end:{line:C.loc.start.line,column:C.loc.start.column+2}},messageId:"expectedLines",fix(A){return A.replaceText(C,g(C,x))}})},"bare-block"(S){if(r(S))return;const[C]=S,T=d(S);C.type==="Line"&&T.length>1&&!T.some(x=>x.includes("*/"))&&e.report({loc:{start:C.loc.start,end:S.at(-1).loc.end},messageId:"expectedBlock",fix(x){return x.replaceTextRange([C.range[0],S.at(-1).range[1]],h(C,T))}}),u(S)&&e.report({loc:{start:C.loc.start,end:{line:C.loc.start.line,column:C.loc.start.column+2}},messageId:"expectedBareBlock",fix(x){return x.replaceText(C,h(C,T))}})}};return{Program(){return n.getAllComments().filter(S=>S.type!=="Shebang").filter(S=>!a.COMMENTS_IGNORE_PATTERN.test(S.value)).filter(S=>{const C=n.getTokenBefore(S,{includeComments:!0});return!C||C.loc.end.line<S.loc.start.line}).reduce((S,C,T,x)=>{const v=n.getTokenBefore(C,{includeComments:!0});return C.type==="Line"&&T&&x[T-1].type==="Line"&&v&&v.loc.end.line===C.loc.start.line-1&&v===x[T-1]?S.at(-1).push(C):S.push([C]),S},[]).filter(S=>!(S.length===1&&S[0].loc.start.line===S[0].loc.end.line)).forEach(E[o])}}}},Fo}var Ro,gy;function MA(){if(gy)return Ro;gy=1;const a=Le();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),d=n.getTokenBefore(r),s=n.getTokenAfter(r),f=a.isTokenOnSameLine(i,c),g=a.isTokenOnSameLine(d,s),h=!!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(h)return null;const S=[],C=a.isTokenOnSameLine(i,u),T=a.isTokenOnSameLine(u,c);return C||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:d.loc.end},messageId:"unexpectedConsAlt",fix(E){if(h)return null;const S=[],C=a.isTokenOnSameLine(d,r),T=a.isTokenOnSameLine(r,s);return C||S.push(E.removeRange([d.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=>h?null:E.replaceTextRange([i.range[1],u.range[0]],`
88
+ `)}),g&&e.report({node:p.consequent,loc:{start:c.loc.start,end:d.loc.end},messageId:"expectedConsAlt",fix:E=>h?null:E.replaceTextRange([d.range[1],r.range[0]],`
89
+ `)})}}}}},Ro}var _o,yy;function jA(){if(yy)return _o;yy=1;const a=Le(),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={},d=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),C=S.toLowerCase(),T=S.toUpperCase();return C===T?"non-alpha":S===C?"lower":"upper"}function g(E,S,C,T){const x=d.getText(S.callee);if(E[C]||E[x]||T&&T.test(x))return!0;const v=a.skipChainExpression(S.callee);return C==="UTC"&&v.type==="MemberExpression"?v.object.type==="Identifier"&&v.object.name==="Date":p&&v.type==="MemberExpression"}function h(E,S){let C=a.skipChainExpression(E.callee);C.type==="MemberExpression"&&(C=C.property),t.report({node:E,loc:C.loc,messageId:S})}return l.newIsCap&&(c.NewExpression=function(E){const S=s(E);S&&(f(S)!=="lower"||g(u,E,S,r)||h(E,"lower"))}),l.capIsNew&&(c.CallExpression=function(E){const S=s(E);S&&(f(S)!=="upper"||g(m,E,S,i)||h(E,"upper"))}),c}},_o}var Bo,vy;function UA(){if(vy)return Bo;vy=1;const a=Le();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,Ey;function qA(){if(Ey)return Lo;Ey=1;const a=Le();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 d(s){const f=l(s),g=f===n.getLastToken(s)?n.getTokenAfter(s):n.getLastToken(s),h=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>h,S=typeof t[h]<"u";o==="never"&&E&&!S&&e.report({node:s,messageId:"unexpected",fix(C){const T=n.getText().slice(f.range[1],g.range[0]).split(a.LINEBREAK_MATCHER);return C.replaceTextRange([f.range[1],g.range[0]],`${T.slice(0,-1).join("")}
90
+ ${T.at(-1)}`)}}),o==="always"&&(!E||S&&!c(g,h))&&e.report({node:s,messageId:"expected",fix(C){return(E?i(h):f.loc.end.line)===g.loc.start.line?C.insertTextBefore(g,`
91
+
92
+ `):C.insertTextBeforeRange([g.range[0]-g.loc.start.column,g.range[1]],`
93
+ `)}})}return{VariableDeclaration:d}}},Lo}var Oo,Sy;function VA(){return Sy||(Sy=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(d=>{c++,d.type==="Block"&&(c+=d.loc.end.line-d.loc.start.line),d.loc.start.line===m&&c--,d.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,by;function $A(){if(by)return No;by=1;const a=Le();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(d){return d.insertTextBefore(c,`
97
+ `)}})}}}}},No}var Mo,xy;function WA(){if(xy)return Mo;xy=1;const{getStaticPropertyName:a,getVariableByName:e,skipChainExpression:n}=Le();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 d=i.name;!l(c,i)&&o(i.name)&&u.report({node:m,messageId:"unexpected",data:{name:d}})}else if(i.type==="MemberExpression"&&p(c,i.object)){const d=a(i);o(d)&&u.report({node:m,messageId:"unexpected",data:{name:d}})}}}}},Mo}var jo,Cy;function GA(){if(Cy)return jo;Cy=1;const{getVariableByName:a,isClosingParenToken:e,isOpeningParenToken:n,isStartOfExpressionStatement:o,needsPrecedingSemicolon:t}=Le();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),d=p.getLastToken(i);let s=p.getLastToken(i.callee);for(;s!==d&&!n(s);)s=p.getTokenAfter(s);return p.commentsExistBetween(c,s)}function r(i){const c=p.getLastToken(i);if(!e(c))return"";let d=i.callee;do if(d=p.getTokenAfter(d),!d||d===c)return"";while(!n(d));return p.text.slice(d.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 d=r(i);let s,f;const g=i.arguments.reduce((E,S)=>S.type!=="SpreadElement"?E+1:E,0),h=i.optional||i.arguments.length>0&&g<2||u(i);o(i)&&t(p,i)?(s=`;[${d}]`,f="useLiteralAfterSemicolon"):(s=`[${d}]`,f="useLiteral"),l.report({node:i,messageId:"preferLiteral",fix(E){return h?null:E.replaceText(i,s)},suggest:[{messageId:f,fix(E){return h?E.replaceText(i,s):null}}]})}}return{CallExpression:m,NewExpression:m}}},jo}var Uo,wy;function zA(){return wy||(wy=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,Ay;function HA(){if(Ay)return qo;Ay=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,Ty;function KA(){if(Ty)return Vo;Ty=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,ky;function XA(){return ky||(ky=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,Dy;function JA(){return Dy||(Dy=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,Iy;function YA(){return Iy||(Iy=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,Py;function QA(){if(Py)return zo;Py=1;const a=Le();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,Fy;function ZA(){if(Fy)return Ho;Fy=1;const a=Le();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,Ry;function eT(){return Ry||(Ry=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,_y;function tT(){if(_y)return Xo;_y=1;const a=Le(),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 d=c;do if(p(d))return d.parent;while((d=d.parent)&&!a.isFunction(d));return null}function r(c){const d=l.getTokenBefore(c,1),s=l.getTokenAfter(c,1);return a.isParenthesised(l,c)&&d&&a.isOpeningParenToken(d)&&d.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 d=u(c);d&&o.report({node:c,messageId:"unexpected",data:{type:n[d.type]||d.type}})}return t==="always"?{AssignmentExpression:i}:{DoWhileStatement:m,ForStatement:m,IfStatement:m,WhileStatement:m,ConditionalExpression:m}}},Xo}var Jo,By;function rT(){if(By)return Jo;By=1;const a=Le();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,Ly;function nT(){if(Ly)return Yo;Ly=1;const a=Le();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,d=c.parent;return d.type==="MemberExpression"&&d.object===c&&!l(d)}function u(i){const c=/^[:;{]$/u,d=/^[-[(/+`]/u,s=o.getTokenBefore(i),f=o.getTokenAfter(i);return!!f&&d.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,d=[];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}),d.push(s)}e.report({node:c,loc:c.loc,messageId:n.length?"limited":"unexpected",data:{allowed:n.join(", ")},suggest:d})}return{"Program:exit"(i){const c=o.getScope(i),d=a.getVariableByName(c,"console"),s=d&&d.defs.length>0,f=d?d.references:c.through.filter(t);s||f.filter(p).forEach(m)}}}},Yo}var Qo,Oy;function sT(){if(Oy)return Qo;Oy=1;const a=Le(),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,Ny;function aT(){if(Ny)return Zo;Ny=1;const{isNullLiteral:a,isConstant:e,isReferenceToGlobalVariable:n,isLogicalAssignmentOperator:o,ECMASCRIPT_GLOBALS:t}=Le(),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 h=f.callee.name;return(h==="Boolean"||h==="String"||h==="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 h=f.expressions.at(-1);return u(s,h,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(h=>h!==null&&h.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 d(s,f,g,h){if(h==="=="||h==="!="){if(p(s,f)&&u(s,g,!1)||r(s,f)&&m(s,g))return g}else if((h==="==="||h==="!==")&&(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:h,left:E}=g,S=f.getScope(g);(h==="&&"||h==="||")&&e(S,E,!0)?s.report({node:E,messageId:"constantShortCircuit",data:{property:"truthiness",operator:h}}):h==="??"&&u(S,E,!1)&&s.report({node:E,messageId:"constantShortCircuit",data:{property:"nullishness",operator:h}})},BinaryExpression(g){const h=f.getScope(g),{right:E,left:S,operator:C}=g,T=d(h,S,E,C),x=d(h,E,S,C);T?s.report({node:T,messageId:"constantBinaryOperand",data:{operator:C,otherSide:"left"}}):x?s.report({node:x,messageId:"constantBinaryOperand",data:{operator:C,otherSide:"right"}}):C==="==="||C==="!=="?c(h,S)?s.report({node:S,messageId:"alwaysNew"}):c(h,E)&&s.report({node:E,messageId:"alwaysNew"}):(C==="=="||C==="!=")&&c(h,S)&&c(h,E)&&s.report({node:S,messageId:"bothAlwaysNew"})}}}},Zo}var el,My;function iT(){if(My)return el;My=1;const{isConstant:a}=Le();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(d){d.test&&a(o.getScope(d),d.test,!0)&&l.add(d)}function u(d){l.has(d)&&(l.delete(d),e.report({node:d.test,messageId:"unexpected"}))}function r(d){d.test&&a(o.getScope(d),d.test,!0)&&e.report({node:d.test,messageId:"unexpected"})}function m(){n.push(l),l=new Set}function i(){l=n.pop()}function c(d){(t==="all"||t==="allExceptWhileTrue")&&p(d)}return{ConditionalExpression:r,IfStatement:r,WhileStatement(d){d.test.type==="Literal"&&d.test.value===!0&&t==="allExceptWhileTrue"||c(d)},"WhileStatement:exit":u,DoWhileStatement:c,"DoWhileStatement:exit":u,ForStatement:c,"ForStatement > .test":d=>c(d.parent),"ForStatement:exit":u,FunctionDeclaration:m,"FunctionDeclaration:exit":i,FunctionExpression:m,"FunctionExpression:exit":i,YieldExpression:()=>l.clear()}}},el}var tl,jy;function oT(){return jy||(jy=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,Uy;function lT(){return Uy||(Uy=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={},qy;function ur(){if(qy)return lr;qy=1,Object.defineProperty(lr,"__esModule",{value:!0});var a=Object.freeze({__proto__:null});const e=2025;let n,o;function t(je){return je<65?!1:je<91?!0:je<97?!1:je<123?!0:p(je)}function l(je){return je<48?!1:je<58?!0:je<65?!1:je<91||je===95?!0:je<97?!1:je<123?!0:p(je)||u(je)}function p(je){return i(je,n??(n=r()))}function u(je){return i(je,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(je,N){let re=0,he=N.length/2|0,Be=0,y=0,D=0;for(;re<he;)if(Be=(re+he)/2|0,y=N[2*Be],D=N[2*Be+1],je<y)he=Be;else if(je>D)re=Be+1;else return!0;return!1}function c(je){let N=0;return je.split(" ").map(re=>N+=parseInt(re,36)|0)}class d{constructor(N,re,he,Be,y,D,W,Y){this._raw2018=N,this._raw2019=re,this._raw2020=he,this._raw2021=Be,this._raw2022=y,this._raw2023=D,this._raw2024=W,this._raw2025=Y}get es2018(){var N;return(N=this._set2018)!==null&&N!==void 0?N:this._set2018=new Set(this._raw2018.split(" "))}get es2019(){var N;return(N=this._set2019)!==null&&N!==void 0?N:this._set2019=new Set(this._raw2019.split(" "))}get es2020(){var N;return(N=this._set2020)!==null&&N!==void 0?N:this._set2020=new Set(this._raw2020.split(" "))}get es2021(){var N;return(N=this._set2021)!==null&&N!==void 0?N:this._set2021=new Set(this._raw2021.split(" "))}get es2022(){var N;return(N=this._set2022)!==null&&N!==void 0?N:this._set2022=new Set(this._raw2022.split(" "))}get es2023(){var N;return(N=this._set2023)!==null&&N!==void 0?N:this._set2023=new Set(this._raw2023.split(" "))}get es2024(){var N;return(N=this._set2024)!==null&&N!==void 0?N:this._set2024=new Set(this._raw2024.split(" "))}get es2025(){var N;return(N=this._set2025)!==null&&N!==void 0?N:this._set2025=new Set(this._raw2025.split(" "))}}const s=new Set(["General_Category","gc"]),f=new Set(["Script","Script_Extensions","sc","scx"]),g=new d("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","","","","","","",""),h=new d("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 d("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 d("","","","","","","Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji RGI_Emoji_Flag_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence","");function C(je,N,re){return s.has(N)?je>=2018&&g.es2018.has(re):f.has(N)?je>=2018&&h.es2018.has(re)||je>=2019&&h.es2019.has(re)||je>=2020&&h.es2020.has(re)||je>=2021&&h.es2021.has(re)||je>=2022&&h.es2022.has(re)||je>=2023&&h.es2023.has(re):!1}function T(je,N){return je>=2018&&E.es2018.has(N)||je>=2019&&E.es2019.has(N)||je>=2021&&E.es2021.has(N)}function x(je,N){return je>=2024&&S.es2024.has(N)}const v=8,A=9,b=10,w=11,k=12,R=13,F=33,L=35,P=36,O=37,$=38,M=40,_=41,K=42,B=43,X=44,J=45,ge=46,ae=47,ke=48,Z=49,I=55,H=57,fe=58,ce=59,ie=60,de=61,xe=62,be=63,Ae=64,ee=65,ne=66,we=68,z=70,oe=80,Te=83,Re=87,Pe=90,G=95,Je=97,ut=98,tt=99,qe=100,We=102,st=103,mt=105,rt=107,Qe=109,Et=110,Ze=112,xt=113,Ke=114,$e=115,Ee=116,j=117,U=118,V=119,Q=120,le=121,te=122,q=91,se=92,ue=93,Se=94,Oe=96,Ie=123,Ge=124,ze=125,me=126,pe=8204,ve=8205,De=8232,Fe=8233,at=0,Ue=1114111;function Xe(je){return je>=ee&&je<=Pe||je>=Je&&je<=te}function ot(je){return je>=ke&&je<=H}function He(je){return je>=ke&&je<=I}function nt(je){return je>=ke&&je<=H||je>=ee&&je<=z||je>=Je&&je<=We}function pt(je){return je===b||je===R||je===De||je===Fe}function ht(je){return je>=at&&je<=Ue}function ft(je){return je>=Je&&je<=We?je-Je+10:je>=ee&&je<=z?je-ee+10:je-ke}function gt(je){return je>=55296&&je<=56319}function Ct(je){return je>=56320&&je<=57343}function bt(je,N){return(je-55296)*1024+(N-56320)+65536}class Rt{constructor(){this.groupName=new Set}clear(){this.groupName.clear()}isEmpty(){return!this.groupName.size}hasInPattern(N){return this.groupName.has(N)}hasInScope(N){return this.hasInPattern(N)}addToScope(N){this.groupName.add(N)}enterDisjunction(){}enterAlternative(){}leaveDisjunction(){}}class _t{constructor(N,re){this.parent=N,this.base=re??this}separatedFrom(N){var re,he;return this.base===N.base&&this!==N||N.parent&&this.separatedFrom(N.parent)?!0:(he=(re=this.parent)===null||re===void 0?void 0:re.separatedFrom(N))!==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(N){N!==0&&(this.branchID=this.branchID.sibling())}leaveDisjunction(){this.branchID=this.branchID.parent}hasInPattern(N){return this.groupNames.has(N)}hasInScope(N){const re=this.groupNames.get(N);if(!re)return!1;for(const he of re)if(!he.separatedFrom(this.branchID))return!0;return!1}addToScope(N){const re=this.groupNames.get(N);if(re){re.push(this.branchID);return}this.groupNames.set(N,[this.branchID])}}const Ht={at(je,N,re){return re<N?je.charCodeAt(re):-1},width(je){return 1}},Gt={at(je,N,re){return re<N?je.codePointAt(re):-1},width(je){return je>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(N,re,he,Be){this._impl=Be?Gt:Ht,this._s=N,this._end=he,this.rewind(re)}rewind(N){const re=this._impl;this._i=N,this._cp1=re.at(this._s,this._end,N),this._w1=re.width(this._cp1),this._cp2=re.at(this._s,this._end,N+this._w1),this._w2=re.width(this._cp2),this._cp3=re.at(this._s,this._end,N+this._w1+this._w2),this._w3=re.width(this._cp3),this._cp4=re.at(this._s,this._end,N+this._w1+this._w2+this._w3)}advance(){if(this._cp1!==-1){const N=this._impl;this._i+=this._w1,this._cp1=this._cp2,this._w1=this._w2,this._cp2=this._cp3,this._w2=N.width(this._cp2),this._cp3=this._cp4,this._w3=N.width(this._cp3),this._cp4=N.at(this._s,this._end,this._i+this._w1+this._w2+this._w3)}}eat(N){return this._cp1===N?(this.advance(),!0):!1}eat2(N,re){return this._cp1===N&&this._cp2===re?(this.advance(),this.advance(),!0):!1}eat3(N,re,he){return this._cp1===N&&this._cp2===re&&this._cp3===he?(this.advance(),this.advance(),this.advance(),!0):!1}}class $t extends SyntaxError{constructor(N,re){super(N),this.index=re}}function lt(je,N,re,he){let Be="";if(je.kind==="literal"){const y=je.source.slice(je.start,je.end);y&&(Be=`: ${y}`)}else if(je.kind==="pattern"){const y=je.source.slice(je.start,je.end),D=`${N.unicode?"u":""}${N.unicodeSets?"v":""}`;Be=`: /${y}/${D}`}return new $t(`Invalid regular expression${Be}: ${he}`,re)}const Mt=new Set([Se,P,se,ge,K,B,be,M,_,q,ue,Ie,ze,Ge]),Lt=new Set([$,F,L,P,O,K,B,X,ge,fe,ce,ie,de,xe,be,Ae,Se,Oe,me]),Er=new Set([M,_,q,ue,Ie,ze,ae,J,se,Ge]),Sr=new Set([$,J,F,L,O,X,fe,ce,ie,de,xe,Ae,Oe,me]),Qt={global:st,ignoreCase:mt,multiline:Qe,unicode:j,sticky:le,dotAll:$e,hasIndices:qe,unicodeSets:U},cr=Object.fromEntries(Object.entries(Qt).map(([je,N])=>[N,je]));function rr(je){return Mt.has(je)}function fr(je){return Lt.has(je)}function br(je){return Er.has(je)}function Zt(je){return Sr.has(je)}function Wt(je){return t(je)||je===P||je===G}function jt(je){return l(je)||je===P||je===pe||je===ve}function Nr(je){return Xe(je)||je===G}function Mr(je){return Nr(je)||ot(je)}function jr(je){return je===mt||je===Qe||je===$e}class Fr{constructor(N){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=N??{},this._groupSpecifiers=this.ecmaVersion>=2025?new Bt:new Rt}validateLiteral(N,re=0,he=N.length){if(this._srcCtx={source:N,start:re,end:he,kind:"literal"},this._unicodeSetsMode=this._unicodeMode=this._nFlag=!1,this.reset(N,re,he),this.onLiteralEnter(re),this.eat(ae)&&this.eatRegExpBody()&&this.eat(ae)){const Be=this.index,y=N.includes("u",Be),D=N.includes("v",Be);this.validateFlagsInternal(N,Be,he),this.validatePatternInternal(N,re+1,Be-1,{unicode:y,unicodeSets:D})}else if(re>=he)this.raise("Empty");else{const Be=String.fromCodePoint(this.currentCodePoint);this.raise(`Unexpected character '${Be}'`)}this.onLiteralLeave(re,he)}validateFlags(N,re=0,he=N.length){this._srcCtx={source:N,start:re,end:he,kind:"flags"},this.validateFlagsInternal(N,re,he)}validatePattern(N,re=0,he=N.length,Be=void 0){this._srcCtx={source:N,start:re,end:he,kind:"pattern"},this.validatePatternInternal(N,re,he,Be)}validatePatternInternal(N,re=0,he=N.length,Be=void 0){const y=this._parseFlagsOptionToMode(Be,he);this._unicodeMode=y.unicodeMode,this._nFlag=y.nFlag,this._unicodeSetsMode=y.unicodeSetsMode,this.reset(N,re,he),this.consumePattern(),!this._nFlag&&this.ecmaVersion>=2018&&!this._groupSpecifiers.isEmpty()&&(this._nFlag=!0,this.rewind(re),this.consumePattern())}validateFlagsInternal(N,re,he){const Be=this.parseFlags(N,re,he);this.onRegExpFlags(re,he,Be)}_parseFlagsOptionToMode(N,re){let he=!1,Be=!1;N&&this.ecmaVersion>=2015&&(typeof N=="object"?(he=!!N.unicode,this.ecmaVersion>=2024&&(Be=!!N.unicodeSets)):he=N),he&&Be&&this.raise("Invalid regular expression flags",{index:re+1,unicode:he,unicodeSets:Be});const y=he||Be,D=he&&this.ecmaVersion>=2018||Be||!!(this._options.strict&&this.ecmaVersion>=2023);return{unicodeMode:y,nFlag:D,unicodeSetsMode:Be}}get strict(){return!!this._options.strict||this._unicodeMode}get ecmaVersion(){var N;return(N=this._options.ecmaVersion)!==null&&N!==void 0?N:e}onLiteralEnter(N){this._options.onLiteralEnter&&this._options.onLiteralEnter(N)}onLiteralLeave(N,re){this._options.onLiteralLeave&&this._options.onLiteralLeave(N,re)}onRegExpFlags(N,re,he){this._options.onRegExpFlags&&this._options.onRegExpFlags(N,re,he),this._options.onFlags&&this._options.onFlags(N,re,he.global,he.ignoreCase,he.multiline,he.unicode,he.sticky,he.dotAll,he.hasIndices)}onPatternEnter(N){this._options.onPatternEnter&&this._options.onPatternEnter(N)}onPatternLeave(N,re){this._options.onPatternLeave&&this._options.onPatternLeave(N,re)}onDisjunctionEnter(N){this._options.onDisjunctionEnter&&this._options.onDisjunctionEnter(N)}onDisjunctionLeave(N,re){this._options.onDisjunctionLeave&&this._options.onDisjunctionLeave(N,re)}onAlternativeEnter(N,re){this._options.onAlternativeEnter&&this._options.onAlternativeEnter(N,re)}onAlternativeLeave(N,re,he){this._options.onAlternativeLeave&&this._options.onAlternativeLeave(N,re,he)}onGroupEnter(N){this._options.onGroupEnter&&this._options.onGroupEnter(N)}onGroupLeave(N,re){this._options.onGroupLeave&&this._options.onGroupLeave(N,re)}onModifiersEnter(N){this._options.onModifiersEnter&&this._options.onModifiersEnter(N)}onModifiersLeave(N,re){this._options.onModifiersLeave&&this._options.onModifiersLeave(N,re)}onAddModifiers(N,re,he){this._options.onAddModifiers&&this._options.onAddModifiers(N,re,he)}onRemoveModifiers(N,re,he){this._options.onRemoveModifiers&&this._options.onRemoveModifiers(N,re,he)}onCapturingGroupEnter(N,re){this._options.onCapturingGroupEnter&&this._options.onCapturingGroupEnter(N,re)}onCapturingGroupLeave(N,re,he){this._options.onCapturingGroupLeave&&this._options.onCapturingGroupLeave(N,re,he)}onQuantifier(N,re,he,Be,y){this._options.onQuantifier&&this._options.onQuantifier(N,re,he,Be,y)}onLookaroundAssertionEnter(N,re,he){this._options.onLookaroundAssertionEnter&&this._options.onLookaroundAssertionEnter(N,re,he)}onLookaroundAssertionLeave(N,re,he,Be){this._options.onLookaroundAssertionLeave&&this._options.onLookaroundAssertionLeave(N,re,he,Be)}onEdgeAssertion(N,re,he){this._options.onEdgeAssertion&&this._options.onEdgeAssertion(N,re,he)}onWordBoundaryAssertion(N,re,he,Be){this._options.onWordBoundaryAssertion&&this._options.onWordBoundaryAssertion(N,re,he,Be)}onAnyCharacterSet(N,re,he){this._options.onAnyCharacterSet&&this._options.onAnyCharacterSet(N,re,he)}onEscapeCharacterSet(N,re,he,Be){this._options.onEscapeCharacterSet&&this._options.onEscapeCharacterSet(N,re,he,Be)}onUnicodePropertyCharacterSet(N,re,he,Be,y,D,W){this._options.onUnicodePropertyCharacterSet&&this._options.onUnicodePropertyCharacterSet(N,re,he,Be,y,D,W)}onCharacter(N,re,he){this._options.onCharacter&&this._options.onCharacter(N,re,he)}onBackreference(N,re,he){this._options.onBackreference&&this._options.onBackreference(N,re,he)}onCharacterClassEnter(N,re,he){this._options.onCharacterClassEnter&&this._options.onCharacterClassEnter(N,re,he)}onCharacterClassLeave(N,re,he){this._options.onCharacterClassLeave&&this._options.onCharacterClassLeave(N,re,he)}onCharacterClassRange(N,re,he,Be){this._options.onCharacterClassRange&&this._options.onCharacterClassRange(N,re,he,Be)}onClassIntersection(N,re){this._options.onClassIntersection&&this._options.onClassIntersection(N,re)}onClassSubtraction(N,re){this._options.onClassSubtraction&&this._options.onClassSubtraction(N,re)}onClassStringDisjunctionEnter(N){this._options.onClassStringDisjunctionEnter&&this._options.onClassStringDisjunctionEnter(N)}onClassStringDisjunctionLeave(N,re){this._options.onClassStringDisjunctionLeave&&this._options.onClassStringDisjunctionLeave(N,re)}onStringAlternativeEnter(N,re){this._options.onStringAlternativeEnter&&this._options.onStringAlternativeEnter(N,re)}onStringAlternativeLeave(N,re,he){this._options.onStringAlternativeLeave&&this._options.onStringAlternativeLeave(N,re,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(N,re,he){this._reader.reset(N,re,he,this._unicodeMode)}rewind(N){this._reader.rewind(N)}advance(){this._reader.advance()}eat(N){return this._reader.eat(N)}eat2(N,re){return this._reader.eat2(N,re)}eat3(N,re,he){return this._reader.eat3(N,re,he)}raise(N,re){var he,Be,y;throw lt(this._srcCtx,{unicode:(he=re?.unicode)!==null&&he!==void 0?he:this._unicodeMode&&!this._unicodeSetsMode,unicodeSets:(Be=re?.unicodeSets)!==null&&Be!==void 0?Be:this._unicodeSetsMode},(y=re?.index)!==null&&y!==void 0?y:this.index,N)}eatRegExpBody(){const N=this.index;let re=!1,he=!1;for(;;){const Be=this.currentCodePoint;if(Be===-1||pt(Be)){const y=re?"character class":"regular expression";this.raise(`Unterminated ${y}`)}if(he)he=!1;else if(Be===se)he=!0;else if(Be===q)re=!0;else if(Be===ue)re=!1;else if(Be===ae&&!re||Be===K&&this.index===N)break;this.advance()}return this.index!==N}consumePattern(){const N=this.index;this._numCapturingParens=this.countCapturingParens(),this._groupSpecifiers.clear(),this._backreferenceNames.clear(),this.onPatternEnter(N),this.consumeDisjunction();const re=this.currentCodePoint;if(this.currentCodePoint!==-1){re===_&&this.raise("Unmatched ')'"),re===se&&this.raise("\\ at end of pattern"),(re===ue||re===ze)&&this.raise("Lone quantifier brackets");const he=String.fromCodePoint(re);this.raise(`Unexpected character '${he}'`)}for(const he of this._backreferenceNames)this._groupSpecifiers.hasInPattern(he)||this.raise("Invalid named capture referenced");this.onPatternLeave(N,this.index)}countCapturingParens(){const N=this.index;let re=!1,he=!1,Be=0,y=0;for(;(y=this.currentCodePoint)!==-1;)he?he=!1:y===se?he=!0:y===q?re=!0:y===ue?re=!1:y===M&&!re&&(this.nextCodePoint!==be||this.nextCodePoint2===ie&&this.nextCodePoint3!==de&&this.nextCodePoint3!==F)&&(Be+=1),this.advance();return this.rewind(N),Be}consumeDisjunction(){const N=this.index;let re=0;this._groupSpecifiers.enterDisjunction(),this.onDisjunctionEnter(N);do this.consumeAlternative(re++);while(this.eat(Ge));this.consumeQuantifier(!0)&&this.raise("Nothing to repeat"),this.eat(Ie)&&this.raise("Lone quantifier brackets"),this.onDisjunctionLeave(N,this.index),this._groupSpecifiers.leaveDisjunction()}consumeAlternative(N){const re=this.index;for(this._groupSpecifiers.enterAlternative(N),this.onAlternativeEnter(re,N);this.currentCodePoint!==-1&&this.consumeTerm(););this.onAlternativeLeave(re,this.index,N)}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 N=this.index;if(this._lastAssertionIsQuantifiable=!1,this.eat(Se))return this.onEdgeAssertion(N,this.index,"start"),!0;if(this.eat(P))return this.onEdgeAssertion(N,this.index,"end"),!0;if(this.eat2(se,ne))return this.onWordBoundaryAssertion(N,this.index,"word",!0),!0;if(this.eat2(se,ut))return this.onWordBoundaryAssertion(N,this.index,"word",!1),!0;if(this.eat2(M,be)){const re=this.ecmaVersion>=2018&&this.eat(ie);let he=!1;if(this.eat(de)||(he=this.eat(F))){const Be=re?"lookbehind":"lookahead";return this.onLookaroundAssertionEnter(N,Be,he),this.consumeDisjunction(),this.eat(_)||this.raise("Unterminated group"),this._lastAssertionIsQuantifiable=!re&&!this.strict,this.onLookaroundAssertionLeave(N,this.index,Be,he),!0}this.rewind(N)}return!1}consumeQuantifier(N=!1){const re=this.index;let he=0,Be=0,y=!1;if(this.eat(K))he=0,Be=Number.POSITIVE_INFINITY;else if(this.eat(B))he=1,Be=Number.POSITIVE_INFINITY;else if(this.eat(be))he=0,Be=1;else if(this.eatBracedQuantifier(N))({min:he,max:Be}=this._lastRange);else return!1;return y=!this.eat(be),N||this.onQuantifier(re,this.index,he,Be,y),!0}eatBracedQuantifier(N){const re=this.index;if(this.eat(Ie)){if(this.eatDecimalDigits()){const he=this._lastIntValue;let Be=he;if(this.eat(X)&&(Be=this.eatDecimalDigits()?this._lastIntValue:Number.POSITIVE_INFINITY),this.eat(ze))return!N&&Be<he&&this.raise("numbers out of order in {} quantifier"),this._lastRange={min:he,max:Be},!0}!N&&(this._unicodeMode||this.strict)&&this.raise("Incomplete quantifier"),this.rewind(re)}return!1}consumeAtom(){return this.consumePatternCharacter()||this.consumeDot()||this.consumeReverseSolidusAtomEscape()||!!this.consumeCharacterClass()||this.consumeCapturingGroup()||this.consumeUncapturingGroup()}consumeDot(){return this.eat(ge)?(this.onAnyCharacterSet(this.index-1,this.index,"any"),!0):!1}consumeReverseSolidusAtomEscape(){const N=this.index;if(this.eat(se)){if(this.consumeAtomEscape())return!0;this.rewind(N)}return!1}consumeUncapturingGroup(){const N=this.index;return this.eat2(M,be)?(this.onGroupEnter(N),this.ecmaVersion>=2025&&this.consumeModifiers(),this.eat(fe)||(this.rewind(N+1),this.raise("Invalid group")),this.consumeDisjunction(),this.eat(_)||this.raise("Unterminated group"),this.onGroupLeave(N,this.index),!0):!1}consumeModifiers(){const N=this.index,re=this.eatModifiers(),he=this.index,Be=this.eat(J);if(!re&&!Be)return!1;this.onModifiersEnter(N);const y=this.parseModifiers(N,he);if(this.onAddModifiers(N,he,y),Be){const D=this.index;!this.eatModifiers()&&!re&&this.currentCodePoint===fe&&this.raise("Invalid empty flags");const W=this.parseModifiers(D,this.index);for(const[Y]of Object.entries(W).filter(([,ye])=>ye))y[Y]&&this.raise(`Duplicated flag '${String.fromCodePoint(Qt[Y])}'`);this.onRemoveModifiers(D,this.index,W)}return this.onModifiersLeave(N,this.index),!0}consumeCapturingGroup(){const N=this.index;if(this.eat(M)){let re=null;if(this.ecmaVersion>=2018){if(this.consumeGroupSpecifier())re=this._lastStrValue;else if(this.currentCodePoint===be)return this.rewind(N),!1}else if(this.currentCodePoint===be)return this.rewind(N),!1;return this.onCapturingGroupEnter(N,re),this.consumeDisjunction(),this.eat(_)||this.raise("Unterminated group"),this.onCapturingGroupLeave(N,this.index,re),!0}return!1}consumeExtendedAtom(){return this.consumeDot()||this.consumeReverseSolidusAtomEscape()||this.consumeReverseSolidusFollowedByC()||!!this.consumeCharacterClass()||this.consumeCapturingGroup()||this.consumeUncapturingGroup()||this.consumeInvalidBracedQuantifier()||this.consumeExtendedPatternCharacter()}consumeReverseSolidusFollowedByC(){const N=this.index;return this.currentCodePoint===se&&this.nextCodePoint===tt?(this._lastIntValue=this.currentCodePoint,this.advance(),this.onCharacter(N,this.index,se),!0):!1}consumeInvalidBracedQuantifier(){return this.eatBracedQuantifier(!0)&&this.raise("Nothing to repeat"),!1}consumePatternCharacter(){const N=this.index,re=this.currentCodePoint;return re!==-1&&!rr(re)?(this.advance(),this.onCharacter(N,this.index,re),!0):!1}consumeExtendedPatternCharacter(){const N=this.index,re=this.currentCodePoint;return re!==-1&&re!==Se&&re!==P&&re!==se&&re!==ge&&re!==K&&re!==B&&re!==be&&re!==M&&re!==_&&re!==q&&re!==Ge?(this.advance(),this.onCharacter(N,this.index,re),!0):!1}consumeGroupSpecifier(){const N=this.index;if(this.eat(be)){if(this.eatGroupName()){if(!this._groupSpecifiers.hasInScope(this._lastStrValue))return this._groupSpecifiers.addToScope(this._lastStrValue),!0;this.raise("Duplicate capture group name")}this.rewind(N)}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 N=this.index;if(this.eatDecimalEscape()){const re=this._lastIntValue;if(re<=this._numCapturingParens)return this.onBackreference(N-1,this.index,re),!0;(this.strict||this._unicodeMode)&&this.raise("Invalid escape"),this.rewind(N)}return!1}consumeCharacterClassEscape(){var N;const re=this.index;if(this.eat(qe))return this._lastIntValue=-1,this.onEscapeCharacterSet(re-1,this.index,"digit",!1),{};if(this.eat(we))return this._lastIntValue=-1,this.onEscapeCharacterSet(re-1,this.index,"digit",!0),{};if(this.eat($e))return this._lastIntValue=-1,this.onEscapeCharacterSet(re-1,this.index,"space",!1),{};if(this.eat(Te))return this._lastIntValue=-1,this.onEscapeCharacterSet(re-1,this.index,"space",!0),{};if(this.eat(V))return this._lastIntValue=-1,this.onEscapeCharacterSet(re-1,this.index,"word",!1),{};if(this.eat(Re))return this._lastIntValue=-1,this.onEscapeCharacterSet(re-1,this.index,"word",!0),{};let he=!1;if(this._unicodeMode&&this.ecmaVersion>=2018&&(this.eat(Ze)||(he=this.eat(oe)))){this._lastIntValue=-1;let Be=null;if(this.eat(Ie)&&(Be=this.eatUnicodePropertyValueExpression())&&this.eat(ze))return he&&Be.strings&&this.raise("Invalid property name"),this.onUnicodePropertyCharacterSet(re-1,this.index,"property",Be.key,Be.value,he,(N=Be.strings)!==null&&N!==void 0?N:!1),{mayContainStrings:Be.strings};this.raise("Invalid property name")}return null}consumeCharacterEscape(){const N=this.index;return this.eatControlEscape()||this.eatCControlLetter()||this.eatZero()||this.eatHexEscapeSequence()||this.eatRegExpUnicodeEscapeSequence()||!this.strict&&!this._unicodeMode&&this.eatLegacyOctalEscapeSequence()||this.eatIdentityEscape()?(this.onCharacter(N-1,this.index,this._lastIntValue),!0):!1}consumeKGroupName(){const N=this.index;if(this.eat(rt)){if(this.eatGroupName()){const re=this._lastStrValue;return this._backreferenceNames.add(re),this.onBackreference(N-1,this.index,re),!0}this.raise("Invalid named reference")}return!1}consumeCharacterClass(){const N=this.index;if(this.eat(q)){const re=this.eat(Se);this.onCharacterClassEnter(N,re,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")),re&&he.mayContainStrings&&this.raise("Negated character class may contain strings"),this.onCharacterClassLeave(N,this.index,re),he}return null}consumeClassContents(){if(this._unicodeSetsMode)return this.currentCodePoint===ue?{}:this.consumeClassSetExpression();const N=this.strict||this._unicodeMode;for(;;){const re=this.index;if(!this.consumeClassAtom())break;const he=this._lastIntValue;if(!this.eat(J))continue;if(this.onCharacter(this.index-1,this.index,J),!this.consumeClassAtom())break;const Be=this._lastIntValue;if(he===-1||Be===-1){N&&this.raise("Invalid character class");continue}he>Be&&this.raise("Range out of order in character class"),this.onCharacterClassRange(re,this.index,he,Be)}return{}}consumeClassAtom(){const N=this.index,re=this.currentCodePoint;if(re!==-1&&re!==se&&re!==ue)return this.advance(),this._lastIntValue=re,this.onCharacter(N,this.index,this._lastIntValue),!0;if(this.eat(se)){if(this.consumeClassEscape())return!0;if(!this.strict&&this.currentCodePoint===tt)return this._lastIntValue=se,this.onCharacter(N,this.index,this._lastIntValue),!0;(this.strict||this._unicodeMode)&&this.raise("Invalid escape"),this.rewind(N)}return!1}consumeClassEscape(){const N=this.index;if(this.eat(ut))return this._lastIntValue=v,this.onCharacter(N-1,this.index,this._lastIntValue),!0;if(this._unicodeMode&&this.eat(J))return this._lastIntValue=J,this.onCharacter(N-1,this.index,this._lastIntValue),!0;let re=0;return!this.strict&&!this._unicodeMode&&this.currentCodePoint===tt&&(ot(re=this.nextCodePoint)||re===G)?(this.advance(),this.advance(),this._lastIntValue=re%32,this.onCharacter(N-1,this.index,this._lastIntValue),!0):!!this.consumeCharacterClassEscape()||this.consumeCharacterEscape()}consumeClassSetExpression(){const N=this.index;let re=!1,he=null;if(this.consumeClassSetCharacter()){if(this.consumeClassSetRangeFromOperator(N))return this.consumeClassUnionRight({}),{};re=!1}else if(he=this.consumeClassSetOperand())re=he.mayContainStrings;else{const Be=this.currentCodePoint;Be===se&&(this.advance(),this.raise("Invalid escape")),Be===this.nextCodePoint&&fr(Be)&&this.raise("Invalid set operation in character class"),this.raise("Invalid character in character class")}if(this.eat2($,$)){for(;this.currentCodePoint!==$&&(he=this.consumeClassSetOperand());)if(this.onClassIntersection(N,this.index),he.mayContainStrings||(re=!1),!this.eat2($,$))return{mayContainStrings:re};this.raise("Invalid character in character class")}if(this.eat2(J,J)){for(;this.consumeClassSetOperand();)if(this.onClassSubtraction(N,this.index),!this.eat2(J,J))return{mayContainStrings:re};this.raise("Invalid character in character class")}return this.consumeClassUnionRight({mayContainStrings:re})}consumeClassUnionRight(N){let re=N.mayContainStrings;for(;;){const he=this.index;if(this.consumeClassSetCharacter()){this.consumeClassSetRangeFromOperator(he);continue}const Be=this.consumeClassSetOperand();if(Be){Be.mayContainStrings&&(re=!0);continue}break}return{mayContainStrings:re}}consumeClassSetRangeFromOperator(N){const re=this.index,he=this._lastIntValue;if(this.eat(J)){if(this.consumeClassSetCharacter()){const Be=this._lastIntValue;return(he===-1||Be===-1)&&this.raise("Invalid character class"),he>Be&&this.raise("Range out of order in character class"),this.onCharacterClassRange(N,this.index,he,Be),!0}this.rewind(re)}return!1}consumeClassSetOperand(){let N=null;return(N=this.consumeNestedClass())||(N=this.consumeClassStringDisjunction())?N:this.consumeClassSetCharacter()?{}:null}consumeNestedClass(){const N=this.index;if(this.eat(q)){const re=this.eat(Se);this.onCharacterClassEnter(N,re,!0);const he=this.consumeClassContents();return this.eat(ue)||this.raise("Unterminated character class"),re&&he.mayContainStrings&&this.raise("Negated character class may contain strings"),this.onCharacterClassLeave(N,this.index,re),he}if(this.eat(se)){const re=this.consumeCharacterClassEscape();if(re)return re;this.rewind(N)}return null}consumeClassStringDisjunction(){const N=this.index;if(this.eat3(se,xt,Ie)){this.onClassStringDisjunctionEnter(N);let re=0,he=!1;do this.consumeClassString(re++).mayContainStrings&&(he=!0);while(this.eat(Ge));if(this.eat(ze))return this.onClassStringDisjunctionLeave(N,this.index),{mayContainStrings:he};this.raise("Unterminated class string disjunction")}return null}consumeClassString(N){const re=this.index;let he=0;for(this.onStringAlternativeEnter(re,N);this.currentCodePoint!==-1&&this.consumeClassSetCharacter();)he++;return this.onStringAlternativeLeave(re,this.index,N),{mayContainStrings:he!==1}}consumeClassSetCharacter(){const N=this.index,re=this.currentCodePoint;if((re!==this.nextCodePoint||!fr(re))&&re!==-1&&!br(re))return this._lastIntValue=re,this.advance(),this.onCharacter(N,this.index,this._lastIntValue),!0;if(this.eat(se)){if(this.consumeCharacterEscape())return!0;if(Zt(this.currentCodePoint))return this._lastIntValue=this.currentCodePoint,this.advance(),this.onCharacter(N,this.index,this._lastIntValue),!0;if(this.eat(ut))return this._lastIntValue=v,this.onCharacter(N,this.index,this._lastIntValue),!0;this.rewind(N)}return!1}eatGroupName(){if(this.eat(ie)){if(this.eatRegExpIdentifierName()&&this.eat(xe))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 N=this.index,re=!this._unicodeMode&&this.ecmaVersion>=2020;let he=this.currentCodePoint;return this.advance(),he===se&&this.eatRegExpUnicodeEscapeSequence(re)?he=this._lastIntValue:re&&gt(he)&&Ct(this.currentCodePoint)&&(he=bt(he,this.currentCodePoint),this.advance()),Wt(he)?(this._lastIntValue=he,!0):(this.index!==N&&this.rewind(N),!1)}eatRegExpIdentifierPart(){const N=this.index,re=!this._unicodeMode&&this.ecmaVersion>=2020;let he=this.currentCodePoint;return this.advance(),he===se&&this.eatRegExpUnicodeEscapeSequence(re)?he=this._lastIntValue:re&&gt(he)&&Ct(this.currentCodePoint)&&(he=bt(he,this.currentCodePoint),this.advance()),jt(he)?(this._lastIntValue=he,!0):(this.index!==N&&this.rewind(N),!1)}eatCControlLetter(){const N=this.index;if(this.eat(tt)){if(this.eatControlLetter())return!0;this.rewind(N)}return!1}eatZero(){return this.currentCodePoint===ke&&!ot(this.nextCodePoint)?(this._lastIntValue=0,this.advance(),!0):!1}eatControlEscape(){return this.eat(We)?(this._lastIntValue=k,!0):this.eat(Et)?(this._lastIntValue=b,!0):this.eat(Ke)?(this._lastIntValue=R,!0):this.eat(Ee)?(this._lastIntValue=A,!0):this.eat(U)?(this._lastIntValue=w,!0):!1}eatControlLetter(){const N=this.currentCodePoint;return Xe(N)?(this.advance(),this._lastIntValue=N%32,!0):!1}eatRegExpUnicodeEscapeSequence(N=!1){const re=this.index,he=N||this._unicodeMode;if(this.eat(j)){if(he&&this.eatRegExpUnicodeSurrogatePairEscape()||this.eatFixedHexDigits(4)||he&&this.eatRegExpUnicodeCodePointEscape())return!0;(this.strict||he)&&this.raise("Invalid unicode escape"),this.rewind(re)}return!1}eatRegExpUnicodeSurrogatePairEscape(){const N=this.index;if(this.eatFixedHexDigits(4)){const re=this._lastIntValue;if(gt(re)&&this.eat(se)&&this.eat(j)&&this.eatFixedHexDigits(4)){const he=this._lastIntValue;if(Ct(he))return this._lastIntValue=bt(re,he),!0}this.rewind(N)}return!1}eatRegExpUnicodeCodePointEscape(){const N=this.index;return this.eat(Ie)&&this.eatHexDigits()&&this.eat(ze)&&ht(this._lastIntValue)?!0:(this.rewind(N),!1)}eatIdentityEscape(){const N=this.currentCodePoint;return this.isValidIdentityEscape(N)?(this._lastIntValue=N,this.advance(),!0):!1}isValidIdentityEscape(N){return N===-1?!1:this._unicodeMode?rr(N)||N===ae:this.strict?!l(N):this._nFlag?!(N===tt||N===rt):N!==tt}eatDecimalEscape(){this._lastIntValue=0;let N=this.currentCodePoint;if(N>=Z&&N<=H){do this._lastIntValue=10*this._lastIntValue+(N-ke),this.advance();while((N=this.currentCodePoint)>=ke&&N<=H);return!0}return!1}eatUnicodePropertyValueExpression(){const N=this.index;if(this.eatUnicodePropertyName()&&this.eat(de)){const re=this._lastStrValue;if(this.eatUnicodePropertyValue()){const he=this._lastStrValue;if(C(this.ecmaVersion,re,he))return{key:re,value:he||null};this.raise("Invalid property name")}}if(this.rewind(N),this.eatLoneUnicodePropertyNameOrValue()){const re=this._lastStrValue;if(C(this.ecmaVersion,"General_Category",re))return{key:"General_Category",value:re||null};if(T(this.ecmaVersion,re))return{key:re,value:null};if(this._unicodeSetsMode&&x(this.ecmaVersion,re))return{key:re,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 N=this.index;if(this.eat(Q)){if(this.eatFixedHexDigits(2))return!0;(this._unicodeMode||this.strict)&&this.raise("Invalid escape"),this.rewind(N)}return!1}eatDecimalDigits(){const N=this.index;for(this._lastIntValue=0;ot(this.currentCodePoint);)this._lastIntValue=10*this._lastIntValue+ft(this.currentCodePoint),this.advance();return this.index!==N}eatHexDigits(){const N=this.index;for(this._lastIntValue=0;nt(this.currentCodePoint);)this._lastIntValue=16*this._lastIntValue+ft(this.currentCodePoint),this.advance();return this.index!==N}eatLegacyOctalEscapeSequence(){if(this.eatOctalDigit()){const N=this._lastIntValue;if(this.eatOctalDigit()){const re=this._lastIntValue;N<=3&&this.eatOctalDigit()?this._lastIntValue=N*64+re*8+this._lastIntValue:this._lastIntValue=N*8+re}else this._lastIntValue=N;return!0}return!1}eatOctalDigit(){const N=this.currentCodePoint;return He(N)?(this.advance(),this._lastIntValue=N-ke,!0):(this._lastIntValue=0,!1)}eatFixedHexDigits(N){const re=this.index;this._lastIntValue=0;for(let he=0;he<N;++he){const Be=this.currentCodePoint;if(!nt(Be))return this.rewind(re),!1;this._lastIntValue=16*this._lastIntValue+ft(Be),this.advance()}return!0}eatModifiers(){let N=!1;for(;jr(this.currentCodePoint);)this.advance(),N=!0;return N}parseModifiers(N,re){const{ignoreCase:he,multiline:Be,dotAll:y}=this.parseFlags(this._reader.source,N,re);return{ignoreCase:he,multiline:Be,dotAll:y}}parseFlags(N,re,he){const Be={global:!1,ignoreCase:!1,multiline:!1,unicode:!1,sticky:!1,dotAll:!1,hasIndices:!1,unicodeSets:!1},y=new Set;y.add(st),y.add(mt),y.add(Qe),this.ecmaVersion>=2015&&(y.add(j),y.add(le),this.ecmaVersion>=2018&&(y.add($e),this.ecmaVersion>=2022&&(y.add(qe),this.ecmaVersion>=2024&&y.add(U))));for(let D=re;D<he;++D){const W=N.charCodeAt(D);if(y.has(W)){const Y=cr[W];Be[Y]&&this.raise(`Duplicated flag '${N[D]}'`,{index:re}),Be[Y]=!0}else this.raise(`Invalid flag '${N[D]}'`,{index:re})}return Be}}const an={},on={},hr={};function gr(je){return je.type==="Character"||je.type==="CharacterSet"||je.type==="CharacterClass"||je.type==="ExpressionCharacterClass"||je.type==="ClassStringDisjunction"}class Ur{constructor(N){var re;this._node=an,this._expressionBufferMap=new Map,this._flags=on,this._backreferences=[],this._capturingGroups=[],this.source="",this.strict=!!N?.strict,this.ecmaVersion=(re=N?.ecmaVersion)!==null&&re!==void 0?re: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(N,re,{global:he,ignoreCase:Be,multiline:y,unicode:D,sticky:W,dotAll:Y,hasIndices:ye,unicodeSets:Ne}){this._flags={type:"Flags",parent:null,start:N,end:re,raw:this.source.slice(N,re),global:he,ignoreCase:Be,multiline:y,unicode:D,sticky:W,dotAll:Y,hasIndices:ye,unicodeSets:Ne}}onPatternEnter(N){this._node={type:"Pattern",parent:null,start:N,end:N,raw:"",alternatives:[]},this._backreferences.length=0,this._capturingGroups.length=0}onPatternLeave(N,re){this._node.end=re,this._node.raw=this.source.slice(N,re);for(const he of this._backreferences){const Be=he.ref,y=typeof Be=="number"?[this._capturingGroups[Be-1]]:this._capturingGroups.filter(D=>D.name===Be);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(N){const re=this._node;if(re.type!=="Assertion"&&re.type!=="CapturingGroup"&&re.type!=="Group"&&re.type!=="Pattern")throw new Error("UnknownError");this._node={type:"Alternative",parent:re,start:N,end:N,raw:"",elements:[]},re.alternatives.push(this._node)}onAlternativeLeave(N,re){const he=this._node;if(he.type!=="Alternative")throw new Error("UnknownError");he.end=re,he.raw=this.source.slice(N,re),this._node=he.parent}onGroupEnter(N){const re=this._node;if(re.type!=="Alternative")throw new Error("UnknownError");const he={type:"Group",parent:re,start:N,end:N,raw:"",modifiers:null,alternatives:[]};this._node=he,re.elements.push(this._node)}onGroupLeave(N,re){const he=this._node;if(he.type!=="Group"||he.parent.type!=="Alternative")throw new Error("UnknownError");he.end=re,he.raw=this.source.slice(N,re),this._node=he.parent}onModifiersEnter(N){const re=this._node;if(re.type!=="Group")throw new Error("UnknownError");this._node={type:"Modifiers",parent:re,start:N,end:N,raw:"",add:null,remove:null},re.modifiers=this._node}onModifiersLeave(N,re){const he=this._node;if(he.type!=="Modifiers"||he.parent.type!=="Group")throw new Error("UnknownError");he.end=re,he.raw=this.source.slice(N,re),this._node=he.parent}onAddModifiers(N,re,{ignoreCase:he,multiline:Be,dotAll:y}){const D=this._node;if(D.type!=="Modifiers")throw new Error("UnknownError");D.add={type:"ModifierFlags",parent:D,start:N,end:re,raw:this.source.slice(N,re),ignoreCase:he,multiline:Be,dotAll:y}}onRemoveModifiers(N,re,{ignoreCase:he,multiline:Be,dotAll:y}){const D=this._node;if(D.type!=="Modifiers")throw new Error("UnknownError");D.remove={type:"ModifierFlags",parent:D,start:N,end:re,raw:this.source.slice(N,re),ignoreCase:he,multiline:Be,dotAll:y}}onCapturingGroupEnter(N,re){const he=this._node;if(he.type!=="Alternative")throw new Error("UnknownError");this._node={type:"CapturingGroup",parent:he,start:N,end:N,raw:"",name:re,alternatives:[],references:[]},he.elements.push(this._node),this._capturingGroups.push(this._node)}onCapturingGroupLeave(N,re){const he=this._node;if(he.type!=="CapturingGroup"||he.parent.type!=="Alternative")throw new Error("UnknownError");he.end=re,he.raw=this.source.slice(N,re),this._node=he.parent}onQuantifier(N,re,he,Be,y){const D=this._node;if(D.type!=="Alternative")throw new Error("UnknownError");const W=D.elements.pop();if(W==null||W.type==="Quantifier"||W.type==="Assertion"&&W.kind!=="lookahead")throw new Error("UnknownError");const Y={type:"Quantifier",parent:D,start:W.start,end:re,raw:this.source.slice(W.start,re),min:he,max:Be,greedy:y,element:W};D.elements.push(Y),W.parent=Y}onLookaroundAssertionEnter(N,re,he){const Be=this._node;if(Be.type!=="Alternative")throw new Error("UnknownError");const y=this._node={type:"Assertion",parent:Be,start:N,end:N,raw:"",kind:re,negate:he,alternatives:[]};Be.elements.push(y)}onLookaroundAssertionLeave(N,re){const he=this._node;if(he.type!=="Assertion"||he.parent.type!=="Alternative")throw new Error("UnknownError");he.end=re,he.raw=this.source.slice(N,re),this._node=he.parent}onEdgeAssertion(N,re,he){const Be=this._node;if(Be.type!=="Alternative")throw new Error("UnknownError");Be.elements.push({type:"Assertion",parent:Be,start:N,end:re,raw:this.source.slice(N,re),kind:he})}onWordBoundaryAssertion(N,re,he,Be){const y=this._node;if(y.type!=="Alternative")throw new Error("UnknownError");y.elements.push({type:"Assertion",parent:y,start:N,end:re,raw:this.source.slice(N,re),kind:he,negate:Be})}onAnyCharacterSet(N,re,he){const Be=this._node;if(Be.type!=="Alternative")throw new Error("UnknownError");Be.elements.push({type:"CharacterSet",parent:Be,start:N,end:re,raw:this.source.slice(N,re),kind:he})}onEscapeCharacterSet(N,re,he,Be){const y=this._node;if(y.type!=="Alternative"&&y.type!=="CharacterClass")throw new Error("UnknownError");y.elements.push({type:"CharacterSet",parent:y,start:N,end:re,raw:this.source.slice(N,re),kind:he,negate:Be})}onUnicodePropertyCharacterSet(N,re,he,Be,y,D,W){const Y=this._node;if(Y.type!=="Alternative"&&Y.type!=="CharacterClass")throw new Error("UnknownError");const ye={type:"CharacterSet",parent:null,start:N,end:re,raw:this.source.slice(N,re),kind:he,strings:null,key:Be};if(W){if(Y.type==="CharacterClass"&&!Y.unicodeSets||D||y!==null)throw new Error("UnknownError");Y.elements.push(Object.assign(Object.assign({},ye),{parent:Y,strings:W,value:y,negate:D}))}else Y.elements.push(Object.assign(Object.assign({},ye),{parent:Y,strings:W,value:y,negate:D}))}onCharacter(N,re,he){const Be=this._node;if(Be.type!=="Alternative"&&Be.type!=="CharacterClass"&&Be.type!=="StringAlternative")throw new Error("UnknownError");Be.elements.push({type:"Character",parent:Be,start:N,end:re,raw:this.source.slice(N,re),value:he})}onBackreference(N,re,he){const Be=this._node;if(Be.type!=="Alternative")throw new Error("UnknownError");const y={type:"Backreference",parent:Be,start:N,end:re,raw:this.source.slice(N,re),ref:he,ambiguous:!1,resolved:hr};Be.elements.push(y),this._backreferences.push(y)}onCharacterClassEnter(N,re,he){const Be=this._node,y={type:"CharacterClass",parent:Be,start:N,end:N,raw:"",unicodeSets:he,negate:re,elements:[]};if(Be.type==="Alternative"){const D=Object.assign(Object.assign({},y),{parent:Be});this._node=D,Be.elements.push(D)}else if(Be.type==="CharacterClass"&&Be.unicodeSets&&he){const D=Object.assign(Object.assign({},y),{parent:Be,unicodeSets:he});this._node=D,Be.elements.push(D)}else throw new Error("UnknownError")}onCharacterClassLeave(N,re){const he=this._node;if(he.type!=="CharacterClass"||he.parent.type!=="Alternative"&&he.parent.type!=="CharacterClass")throw new Error("UnknownError");const Be=he.parent;he.end=re,he.raw=this.source.slice(N,re),this._node=Be;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:Be,start:he.start,end:he.end,raw:he.raw,negate:he.negate,expression:y};if(y.parent=D,he!==Be.elements.pop())throw new Error("UnknownError");Be.elements.push(D)}onCharacterClassRange(N,re){const he=this._node;if(he.type!=="CharacterClass")throw new Error("UnknownError");const Be=he.elements,y=Be.pop();if(!y||y.type!=="Character")throw new Error("UnknownError");if(!he.unicodeSets){const Y=Be.pop();if(!Y||Y.type!=="Character"||Y.value!==J)throw new Error("UnknownError")}const D=Be.pop();if(!D||D.type!=="Character")throw new Error("UnknownError");const W={type:"CharacterClassRange",parent:he,start:N,end:re,raw:this.source.slice(N,re),min:D,max:y};D.parent=W,y.parent=W,Be.push(W)}onClassIntersection(N,re){var he;const Be=this._node;if(Be.type!=="CharacterClass"||!Be.unicodeSets)throw new Error("UnknownError");const y=Be.elements.pop(),D=(he=this._expressionBufferMap.get(Be))!==null&&he!==void 0?he:Be.elements.pop();if(!D||!y||D.type==="ClassSubtraction"||D.type!=="ClassIntersection"&&!gr(D)||!gr(y))throw new Error("UnknownError");const W={type:"ClassIntersection",parent:Be,start:N,end:re,raw:this.source.slice(N,re),left:D,right:y};D.parent=W,y.parent=W,this._expressionBufferMap.set(Be,W)}onClassSubtraction(N,re){var he;const Be=this._node;if(Be.type!=="CharacterClass"||!Be.unicodeSets)throw new Error("UnknownError");const y=Be.elements.pop(),D=(he=this._expressionBufferMap.get(Be))!==null&&he!==void 0?he:Be.elements.pop();if(!D||!y||D.type==="ClassIntersection"||D.type!=="ClassSubtraction"&&!gr(D)||!gr(y))throw new Error("UnknownError");const W={type:"ClassSubtraction",parent:Be,start:N,end:re,raw:this.source.slice(N,re),left:D,right:y};D.parent=W,y.parent=W,this._expressionBufferMap.set(Be,W)}onClassStringDisjunctionEnter(N){const re=this._node;if(re.type!=="CharacterClass"||!re.unicodeSets)throw new Error("UnknownError");this._node={type:"ClassStringDisjunction",parent:re,start:N,end:N,raw:"",alternatives:[]},re.elements.push(this._node)}onClassStringDisjunctionLeave(N,re){const he=this._node;if(he.type!=="ClassStringDisjunction"||he.parent.type!=="CharacterClass")throw new Error("UnknownError");he.end=re,he.raw=this.source.slice(N,re),this._node=he.parent}onStringAlternativeEnter(N){const re=this._node;if(re.type!=="ClassStringDisjunction")throw new Error("UnknownError");this._node={type:"StringAlternative",parent:re,start:N,end:N,raw:"",elements:[]},re.alternatives.push(this._node)}onStringAlternativeLeave(N,re){const he=this._node;if(he.type!=="StringAlternative")throw new Error("UnknownError");he.end=re,he.raw=this.source.slice(N,re),this._node=he.parent}}class Rr{constructor(N){this._state=new Ur(N),this._validator=new Fr(this._state)}parseLiteral(N,re=0,he=N.length){this._state.source=N,this._validator.validateLiteral(N,re,he);const Be=this._state.pattern,y=this._state.flags,D={type:"RegExpLiteral",parent:null,start:re,end:he,raw:N,pattern:Be,flags:y};return Be.parent=D,y.parent=D,D}parseFlags(N,re=0,he=N.length){return this._state.source=N,this._validator.validateFlags(N,re,he),this._state.flags}parsePattern(N,re=0,he=N.length,Be=void 0){return this._state.source=N,this._validator.validatePattern(N,re,he,Be),this._state.pattern}}class pr{constructor(N){this._handlers=N}visit(N){switch(N.type){case"Alternative":this.visitAlternative(N);break;case"Assertion":this.visitAssertion(N);break;case"Backreference":this.visitBackreference(N);break;case"CapturingGroup":this.visitCapturingGroup(N);break;case"Character":this.visitCharacter(N);break;case"CharacterClass":this.visitCharacterClass(N);break;case"CharacterClassRange":this.visitCharacterClassRange(N);break;case"CharacterSet":this.visitCharacterSet(N);break;case"ClassIntersection":this.visitClassIntersection(N);break;case"ClassStringDisjunction":this.visitClassStringDisjunction(N);break;case"ClassSubtraction":this.visitClassSubtraction(N);break;case"ExpressionCharacterClass":this.visitExpressionCharacterClass(N);break;case"Flags":this.visitFlags(N);break;case"Group":this.visitGroup(N);break;case"Modifiers":this.visitModifiers(N);break;case"ModifierFlags":this.visitModifierFlags(N);break;case"Pattern":this.visitPattern(N);break;case"Quantifier":this.visitQuantifier(N);break;case"RegExpLiteral":this.visitRegExpLiteral(N);break;case"StringAlternative":this.visitStringAlternative(N);break;default:throw new Error(`Unknown type: ${N.type}`)}}visitAlternative(N){this._handlers.onAlternativeEnter&&this._handlers.onAlternativeEnter(N),N.elements.forEach(this.visit,this),this._handlers.onAlternativeLeave&&this._handlers.onAlternativeLeave(N)}visitAssertion(N){this._handlers.onAssertionEnter&&this._handlers.onAssertionEnter(N),(N.kind==="lookahead"||N.kind==="lookbehind")&&N.alternatives.forEach(this.visit,this),this._handlers.onAssertionLeave&&this._handlers.onAssertionLeave(N)}visitBackreference(N){this._handlers.onBackreferenceEnter&&this._handlers.onBackreferenceEnter(N),this._handlers.onBackreferenceLeave&&this._handlers.onBackreferenceLeave(N)}visitCapturingGroup(N){this._handlers.onCapturingGroupEnter&&this._handlers.onCapturingGroupEnter(N),N.alternatives.forEach(this.visit,this),this._handlers.onCapturingGroupLeave&&this._handlers.onCapturingGroupLeave(N)}visitCharacter(N){this._handlers.onCharacterEnter&&this._handlers.onCharacterEnter(N),this._handlers.onCharacterLeave&&this._handlers.onCharacterLeave(N)}visitCharacterClass(N){this._handlers.onCharacterClassEnter&&this._handlers.onCharacterClassEnter(N),N.elements.forEach(this.visit,this),this._handlers.onCharacterClassLeave&&this._handlers.onCharacterClassLeave(N)}visitCharacterClassRange(N){this._handlers.onCharacterClassRangeEnter&&this._handlers.onCharacterClassRangeEnter(N),this.visitCharacter(N.min),this.visitCharacter(N.max),this._handlers.onCharacterClassRangeLeave&&this._handlers.onCharacterClassRangeLeave(N)}visitCharacterSet(N){this._handlers.onCharacterSetEnter&&this._handlers.onCharacterSetEnter(N),this._handlers.onCharacterSetLeave&&this._handlers.onCharacterSetLeave(N)}visitClassIntersection(N){this._handlers.onClassIntersectionEnter&&this._handlers.onClassIntersectionEnter(N),this.visit(N.left),this.visit(N.right),this._handlers.onClassIntersectionLeave&&this._handlers.onClassIntersectionLeave(N)}visitClassStringDisjunction(N){this._handlers.onClassStringDisjunctionEnter&&this._handlers.onClassStringDisjunctionEnter(N),N.alternatives.forEach(this.visit,this),this._handlers.onClassStringDisjunctionLeave&&this._handlers.onClassStringDisjunctionLeave(N)}visitClassSubtraction(N){this._handlers.onClassSubtractionEnter&&this._handlers.onClassSubtractionEnter(N),this.visit(N.left),this.visit(N.right),this._handlers.onClassSubtractionLeave&&this._handlers.onClassSubtractionLeave(N)}visitExpressionCharacterClass(N){this._handlers.onExpressionCharacterClassEnter&&this._handlers.onExpressionCharacterClassEnter(N),this.visit(N.expression),this._handlers.onExpressionCharacterClassLeave&&this._handlers.onExpressionCharacterClassLeave(N)}visitFlags(N){this._handlers.onFlagsEnter&&this._handlers.onFlagsEnter(N),this._handlers.onFlagsLeave&&this._handlers.onFlagsLeave(N)}visitGroup(N){this._handlers.onGroupEnter&&this._handlers.onGroupEnter(N),N.modifiers&&this.visit(N.modifiers),N.alternatives.forEach(this.visit,this),this._handlers.onGroupLeave&&this._handlers.onGroupLeave(N)}visitModifiers(N){this._handlers.onModifiersEnter&&this._handlers.onModifiersEnter(N),N.add&&this.visit(N.add),N.remove&&this.visit(N.remove),this._handlers.onModifiersLeave&&this._handlers.onModifiersLeave(N)}visitModifierFlags(N){this._handlers.onModifierFlagsEnter&&this._handlers.onModifierFlagsEnter(N),this._handlers.onModifierFlagsLeave&&this._handlers.onModifierFlagsLeave(N)}visitPattern(N){this._handlers.onPatternEnter&&this._handlers.onPatternEnter(N),N.alternatives.forEach(this.visit,this),this._handlers.onPatternLeave&&this._handlers.onPatternLeave(N)}visitQuantifier(N){this._handlers.onQuantifierEnter&&this._handlers.onQuantifierEnter(N),this.visit(N.element),this._handlers.onQuantifierLeave&&this._handlers.onQuantifierLeave(N)}visitRegExpLiteral(N){this._handlers.onRegExpLiteralEnter&&this._handlers.onRegExpLiteralEnter(N),this.visitPattern(N.pattern),this.visitFlags(N.flags),this._handlers.onRegExpLiteralLeave&&this._handlers.onRegExpLiteralLeave(N)}visitStringAlternative(N){this._handlers.onStringAlternativeEnter&&this._handlers.onStringAlternativeEnter(N),N.elements.forEach(this.visit,this),this._handlers.onStringAlternativeLeave&&this._handlers.onStringAlternativeLeave(N)}}function St(je,N){return new Rr(N).parseLiteral(String(je))}function ln(je,N){new Fr(N).validateLiteral(je)}function qr(je,N){new pr(N).visit(je)}return lr.AST=a,lr.RegExpParser=Rr,lr.RegExpSyntaxError=$t,lr.RegExpValidator=Fr,lr.parseRegExpLiteral=St,lr.validateRegExpLiteral=ln,lr.visitRegExpAST=qr,lr}var nl,Vy;function uT(){if(Vy)return nl;Vy=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,$y;function cT(){return $y||($y=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,Wy;function fT(){return Wy||(Wy=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,Gy;function pT(){return Gy||(Gy=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,zy;function mT(){return zy||(zy=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,Hy;function dT(){if(Hy)return ll;Hy=1;const a=Le();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,Ky;function hT(){if(Ky)return ul;Ky=1;const a=Le();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 d=m,s=c.map(f=>o(f).map(t));for(;d.parent&&d.parent.type==="IfStatement"&&d.parent.alternate===d;){d=d.parent;const f=o(d.test).map(t);if(s=s.map(g=>g.filter(h=>!f.some(E=>r(E,h)))),s.some(g=>g.length===0)){l.report({node:i,messageId:"unexpected"});break}}}}}},ul}var cl,Xy;function gT(){if(Xy)return cl;Xy=1;const a=Le(),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,Jy;function yT(){if(Jy)return fl;Jy=1;const a=Le();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,Yy;function vT(){if(Yy)return pl;Yy=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,d=c.findIndex(({type:f})=>n(f,"named")||n(f,"namespace")),s=d>-1?d:0;return c[s].type}return i.type==="ExportAllDeclaration"?i.exported?"ExportNamespaceSpecifier":"ExportAll":"SideEffectImport"}function t(i,c){const d=o(i),s=o(c);if((i.importKind==="type"||i.exportKind==="type")&&(c.importKind==="type"||c.exportKind==="type")){const f=d==="ImportDefaultSpecifier",g=s==="ImportDefaultSpecifier",h=n(d,"named"),E=n(s,"named");if(f&&E||g&&h)return!1}return!(d==="ExportAll"&&s!=="ExportAll"&&s!=="SideEffectImport"||d!=="ExportAll"&&d!=="SideEffectImport"&&s==="ExportAll"||n(d,"namespace")&&n(s,"named")||n(s,"namespace")&&n(d,"named"))}function l(i,c,d){let s=0;for(;s<c.length;){const f=c[s];if(d){const g=i.importKind==="type"||i.exportKind==="type",h=f.importKind==="type"||f.exportKind==="type";if(g!==h){s++;continue}}if(t(i,f))return!0;s++}return!1}function p(i,c){return i.filter(({declarationType:d})=>d===c).map(({node:d})=>d)}function u(i){return i&&i.source&&i.source.value?i.source.value.trim():""}function r(i,c,d,s,f,g){const h=u(c);if(d.has(h)){const E=d.get(h),S=[],C=p(E,"import");let T;f&&(T=p(E,"export")),s==="import"?(l(c,C,g)&&S.push("import"),f&&l(c,T,g)&&S.push("importAs")):s==="export"&&(l(c,T,g)&&S.push("export"),l(c,C,g)&&S.push("exportAs")),S.forEach(x=>i.report({node:c,messageId:x,data:{module:h}}))}}function m(i,c,d,s,f){return function(g){const h=u(g);if(h){r(i,g,c,d,s,f);const E={node:g,declarationType:d};let S=[E];c.has(h)&&(S=[...c.get(h),E]),c.set(h,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:d}]=i.options,s=new Map,f={ImportDeclaration:m(i,s,"import",c,d)};return c&&(f.ExportNamedDeclaration=m(i,s,"export",c,d),f.ExportAllDeclaration=m(i,s,"export",c,d)),f}},pl}var ml,Qy;function nn(){if(Qy)return ml;Qy=1;const a=Le();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 dl,Zy;function ET(){if(Zy)return dl;Zy=1;const a=Le(),e=nn();return dl={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(h,E){if(h.length===0)return!0;const S=E.variableScope;if(E.variables.filter(({defs:x})=>x.length>0).some(({name:x})=>h.includes(x))||E!==S&&E.upper.type==="catch"&&E.upper.variables.some(({name:x})=>h.includes(x))||E.variables.filter(({defs:x,references:v})=>x.length===0&&v.length>0).some(({name:x})=>h.includes(x))||E.through.some(x=>h.includes(x.identifier.name)))return!1;if(E!==S){const x=E.block.range;if(S.variables.filter(({name:A})=>h.includes(A)).some(A=>A.defs.some(({node:{range:b}})=>x[0]<=b[0]&&b[1]<=x[1])))return!1}return!0}function p(h,E){if(h.type==="FunctionDeclaration")return!1;if(h.type!=="BlockStatement")return!0;const S=E.childScopes.find(({block:T})=>T===h);if(!S)return!0;const C=S.variables.map(({name:T})=>T);return l(C,E)}function u(h){const E=t.getScope(h.parent);n.report({node:h,messageId:"unexpected",fix(S){if(!p(h,E))return null;const C=t.getFirstToken(h),T=t.getTokenBefore(C),x=t.getText(h),v=t.getTokenBefore(T);let A,b;C.type==="Punctuator"&&C.value==="{"?b=t.getTokenAfter(C):b=C;const w=h.parent.consequent.type!=="BlockStatement"&&v.value!==";",k=/^[([/+`-]/u.test(b.value);if(w&&k)return null;const R=t.getLastToken(h),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 C.type==="Punctuator"&&C.value==="{"?A=x.slice(1,-1):A=x,new e(S,t).retainEnclosingFunction(h).replaceTextRange([T.range[0],h.range[1]],A)}})}function r(h){return h.type==="ReturnStatement"}function m(h){if(h.type==="BlockStatement"){const E=h.body,S=E.at(-1);return S&&r(S)}return r(h)}function i(h){return h.alternate&&h.consequent}function c(h){return h.type==="IfStatement"&&i(h)&&m(h.alternate)&&m(h.consequent)}function d(h){return r(h)||c(h)}function s(h){return h.type==="BlockStatement"?h.body.some(d):d(h)}function f(h){const E=h.parent;if(!a.STATEMENT_LIST_PARENTS.has(E.type))return;const S=[];let C;for(let T=h;T.type==="IfStatement";T=T.alternate){if(!T.alternate)return;S.push(T.consequent),C=T.alternate}S.every(s)&&u(C)}function g(h){const E=h.parent;if(!a.STATEMENT_LIST_PARENTS.has(E.type))return;const S=h.alternate;S&&s(h.consequent)&&u(S)}return{"IfStatement:exit":o?f:g}}},dl}var hl,ev;function ST(){if(ev)return hl;ev=1;const a=Le();return hl={meta:{hasSuggestions:!0,type:"suggestion",defaultOptions:[{allowEmptyCatch:!1}],docs:{description:"Disallow empty block statements",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-empty"},schema:[{type:"object",properties:{allowEmptyCatch:{type:"boolean"}},additionalProperties:!1}],messages:{unexpected:"Empty {{type}} statement.",suggestComment:"Add comment inside empty {{type}} statement."}},create(e){const[{allowEmptyCatch:n}]=e.options,o=e.sourceCode;return{BlockStatement(t){t.body.length===0&&(a.isFunction(t.parent)||n&&t.parent.type==="CatchClause"||o.getCommentsInside(t).length>0||e.report({node:t,messageId:"unexpected",data:{type:"block"},suggest:[{messageId:"suggestComment",data:{type:"block"},fix(l){const p=[t.range[0]+1,t.range[1]-1];return l.replaceTextRange(p," /* empty */ ")}}]}))},SwitchStatement(t){if(typeof t.cases>"u"||t.cases.length===0){const l=o.getTokenAfter(t.discriminant,a.isOpeningBraceToken),p=o.getLastToken(t);if(o.commentsExistBetween(l,p))return;e.report({node:t,loc:{start:l.loc.start,end:p.loc.end},messageId:"unexpected",data:{type:"switch"},suggest:[{messageId:"suggestComment",data:{type:"switch"},fix(u){const r=[l.range[1],p.range[0]];return u.replaceTextRange(r," /* empty */ ")}}]})}}}}},hl}var gl,tv;function bT(){if(tv)return gl;tv=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,rv;function xT(){if(rv)return yl;rv=1;const a=Le(),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",hasSuggestions:!0,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}}.",suggestComment:"Add comment inside 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},suggest:[{messageId:"suggestComment",data:{name:i},fix(d){const s=[m.body.range[0]+1,m.body.range[1]-1];return d.replaceTextRange(s," /* empty */ ")}}]})}return{ArrowFunctionExpression:r,FunctionDeclaration:r,FunctionExpression:r}}},yl}var vl,nv;function CT(){if(nv)return vl;nv=1;const a=Le();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,sv;function wT(){return sv||(sv=1,El={meta:{hasSuggestions:!0,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.",suggestComment:"Add comment inside empty static block."}},create(a){const e=a.sourceCode;return{StaticBlock(n){if(n.body.length===0){const o=e.getFirstToken(n,{skip:1}),t=e.getLastToken(n);e.getCommentsBefore(t).length===0&&a.report({loc:{start:o.loc.start,end:t.loc.end},messageId:"unexpected",suggest:[{messageId:"suggestComment",fix(l){const p=[o.range[1],t.range[0]];return l.replaceTextRange(p," /* empty */ ")}}]})}}}}}),El}var Sl,av;function AT(){return av||(av=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,iv;function TT(){if(iv)return bl;iv=1;const a=Le(),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(d){const s=l.getScope(d).isStrict;p={upper:p,node:d,strict:s,isTopLevelOfScript:!1,defaultThis:!1,initialized:s}}function r(){p=p.upper}function m(d){const s=d.parent,f=d.type==="MemberExpression"?d.property:d,g=s.type==="CallExpression"&&s.callee===d?s:d;o.report({node:g,loc:f.loc,messageId:"unexpected"})}function i(d){for(let s=0;s<e.length;++s){const f=e[s],g=a.getVariableByName(d,f);if(!g)continue;const h=g.references;for(let E=0;E<h.length;++E){let C=h[E].identifier.parent;for(;n(C,f);)C=C.parent;n(C,"eval")&&m(C)}}}function c(d){const s=a.getVariableByName(d,"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"(d){const s=d.callee;!d.optional&&a.isSpecificId(s,"eval")&&m(s)}}:{"CallExpression:exit"(d){const s=d.callee;a.isSpecificId(s,"eval")&&m(s)},Program(d){const s=l.getScope(d),f=o.languageOptions.parserOptions.ecmaFeatures||{},g=s.isStrict||d.sourceType==="module"||f.globalReturn&&s.childScopes[0].isStrict,h=d.sourceType!=="module"&&!f.globalReturn;p={upper:null,node:d,strict:g,isTopLevelOfScript:h,defaultThis:!0,initialized:!0}},"Program:exit"(d){const s=l.getScope(d);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(d){n(d.parent,"eval")&&(p.initialized||(p.initialized=!0,p.defaultThis=a.isDefaultThisBinding(p.node,l)),(p.isTopLevelOfScript||!p.strict&&p.defaultThis)&&m(d.parent))}}}},bl}var xl,ov;function kT(){if(ov)return xl;ov=1;const a=Le();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,lv;function DT(){if(lv)return Cl;lv=1;const a=Le();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(d=>{const s=c.set.get(d);s&&s.references&&s.references.map(f=>f.identifier).forEach(m)})}}}},Cl}var wl,uv;function IT(){if(uv)return wl;uv=1;const a=Le(),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(d){return e.has(d.type)}function p(d){const s=d.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 h=[[o.getTokenAfter(s.object,a.isNotClosingParenToken),o.getLastToken(s)],[o.getTokenAfter(s,a.isNotClosingParenToken),o.getLastToken(f)]],E=h[0][0],S=h[1][1];return o.commentsExistBetween(E,S)?null:h.map(([C,T])=>g.removeRange([C.range[0],T.range[1]]))}})}function u(d){if(!a.isSpecificMemberAccess(d.parent,null,"bind"))return!1;const s=d.parent.parent.type==="ChainExpression"?d.parent.parent:d.parent;return s.parent.type==="CallExpression"&&s.parent.callee===s&&s.parent.arguments.length===1&&s.parent.arguments[0].type!=="SpreadElement"}function r(d){t={isBound:u(d),thisFound:!1,upper:t}}function m(d){t.isBound&&!t.thisFound&&p(d),t=t.upper}function i(d){u(d)&&p(d)}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,cv;function PT(){if(cv)return Al;cv=1;const a=Le(),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 d(f){return e.isParenthesized(1,f,t)}function s(f,g){if(f.parent.type==="ChainExpression")return s(f.parent,g);if(d(f))return!1;const h=f.parent;switch(h.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===h.test)return n(g)<=n(h);if(f===h.consequent||f===h.alternate)return n(g)<n({type:"AssignmentExpression"});throw new Error("Ternary child must be test, consequent, or alternate.");case"UnaryExpression":return n(g)<n(h);case"LogicalExpression":return a.isMixedLogicalAndCoalesceExpressions(g,h)?!0:f===h.left?n(g)<n(h):n(g)<=n(h);default:throw new Error(`Unexpected parent type: ${h.type}`)}}return{UnaryExpression(f){const g=f.parent;f.operator!=="!"||g.type!=="UnaryExpression"||g.operator!=="!"||i(g)&&o.report({node:g,messageId:"unexpectedNegation",fix(h){if(c(g))return null;if(s(g,f.argument))return h.replaceText(g,`(${t.getText(f.argument)})`);let E="";const S=t.getTokenBefore(g),C=t.getFirstToken(f.argument);return S&&S.range[1]===g.range[0]&&!a.canTokensBeAdjacent(S,C)&&(E=" "),h.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 h=f.parent;if(f.arguments.length===0){if(h.type==="UnaryExpression"&&h.operator==="!"){if(c(h))return null;const E="true";let S="";const C=t.getTokenBefore(h);return C&&C.range[1]===h.range[0]&&!a.canTokensBeAdjacent(C,E)&&(S=" "),g.replaceText(h,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,fv;function FT(){if(fv)return Tl;fv=1;const a=Le();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(d){const s=n.getFirstToken(m);return n.commentsExistBetween(s,i)?null:d.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,pv;function RT(){if(pv)return kl;pv=1;const{isParenthesized:a}=qt(),e=Le();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,d=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,h=p&&n.options[1]&&n.options[1].allowParensAfterCommentPattern,E=l({type:"AssignmentExpression"}),S=l({type:"UpdateExpression"});let C;function T(z){const oe=e.skipChainExpression(z);if(oe.type!=="CallExpression")return!1;const Te=e.skipChainExpression(oe.callee);return Te.type==="MemberExpression"&&Te.object.type==="FunctionExpression"&&["call","apply"].includes(e.getStaticPropertyName(Te))}function x(z){if(z.type==="JSXElement"||z.type==="JSXFragment"){const oe=z.loc.start.line===z.loc.end.line;switch(c){case"all":return!1;case"multi-line":return oe;case"single-line":return!oe}}return z.type==="SequenceExpression"&&s||T(z)&&g?!1:p||z.type==="FunctionExpression"||z.type==="ArrowFunctionExpression"}function v(z){return a(1,z,o)}function A(z){return a(2,z,o)}function b(z){return x(z)&&v(z)}function w(z){return x(z)&&A(z)}function k(z,oe){return!!(x(z)&&v(z)&&(l(z)>=oe||A(z)))}function R(z){return u&&z.test.type==="AssignmentExpression"}function F(z){for(let oe=z;oe;oe=oe.parent)if(oe.type==="ReturnStatement"||oe.type==="ArrowFunctionExpression"&&oe.body.type!=="BlockStatement")return!0;return!1}function L(z){const oe=o.getLastToken(z),Te=o.getTokenBefore(oe);return z.arguments.length>0||e.isOpeningParenToken(Te)&&e.isClosingParenToken(oe)&&z.callee.range[1]<z.range[1]}function P(z){return!!(z.type==="AssignmentExpression"||z.type==="ConditionalExpression"&&(z.consequent.type==="AssignmentExpression"||z.alternate.type==="AssignmentExpression")||z.left&&z.left.type==="AssignmentExpression"||z.right&&z.right.type==="AssignmentExpression")}function O(z){return!i||!F(z)?!1:z.type==="ReturnStatement"?z.argument&&P(z.argument):z.type==="ArrowFunctionExpression"&&z.body.type!=="BlockStatement"?P(z.body):P(z)}function $(z,oe){return z.loc.end.line===oe.loc.start.line?b(oe):w(oe)}function M(z){const oe=o.getTokenBefore(z),Te=o.getTokenBefore(oe,{includeComments:!0}),Re=o.getTokenAfter(oe,{includeComments:!0});return Te&&Te.range[1]===oe.range[0]&&oe.range[1]===Re.range[0]&&!e.canTokensBeAdjacent(Te,Re)}function _(z){const oe=o.getTokensAfter(z,{count:2}),Te=oe[0],Re=oe[1],Pe=o.getLastToken(z);return Te&&Re&&!o.isSpaceBetweenTokens(Te,Re)&&!e.canTokensBeAdjacent(Pe,Re)}function K(z){const oe=e.skipChainExpression(z);return oe.type==="CallExpression"&&oe.callee.type==="FunctionExpression"}function B(z){return z&&(z.type==="Identifier"||z.type==="MemberExpression")}function X(z){return z.type!=="Literal"||typeof z.value!="string"||A(z)?!0:!e.isTopLevelExpressionStatement(z.parent)}function J(z){const oe=o.getTokenBefore(z),Te=o.getTokenAfter(z);if(!A(z)){if(t.has(o.getFirstToken(z))||K(z)&&!v(z.callee))return;if(h){const Pe=o.getCommentsBefore(oe),G=Pe.length,Je=new RegExp(h,"u");if(G>0&&Je.test(Pe[G-1].value))return}}function Re(){n.report({node:z,loc:oe.loc,messageId:"unexpected",fix:X(z)?Pe=>{const G=o.text.slice(oe.range[1],Te.range[0]);return Pe.replaceTextRange([oe.range[0],Te.range[1]],(M(z)?" ":"")+G+(_(z)?" ":""))}:null})}if(C){C.reports.push({node:z,finishReport:Re});return}Re()}function ge(z){k(z.argument,l(z))&&J(z.argument)}function ae(z){let oe=z.object,Te=z.object.type;for(;Te==="MemberExpression";)oe=oe.object,Te=oe.type;return Te==="CallExpression"}function ke(z){const oe=z.callee;k(oe,l(z))&&(w(oe)||!(K(z)||oe.type==="NewExpression"&&!L(oe)&&!(z.type==="NewExpression"&&!L(z))||z.type==="NewExpression"&&oe.type==="MemberExpression"&&ae(oe)||!z.optional&&oe.type==="ChainExpression"))&&J(z.callee),z.arguments.filter(Te=>k(Te,E)).forEach(J)}function Z(z){const oe=l(z),Te=l(z.left),Re=l(z.right),Pe=z.operator==="**",G=m&&(z.left.type==="BinaryExpression"||z.left.type==="LogicalExpression"),Je=m&&(z.right.type==="BinaryExpression"||z.right.type==="LogicalExpression");!G&&b(z.left)&&(!(["AwaitExpression","UnaryExpression"].includes(z.left.type)&&Pe)&&!e.isMixedLogicalAndCoalesceExpressions(z.left,z)&&(Te>oe||Te===oe&&!Pe)||A(z.left))&&J(z.left),!Je&&b(z.right)&&(!e.isMixedLogicalAndCoalesceExpressions(z.right,z)&&(Re>oe||Re===oe&&Pe)||A(z.right))&&J(z.right)}function I(z){if(!z.superClass)return;(l(z.superClass)>S?b(z.superClass):w(z.superClass))&&J(z.superClass)}function H(z){k(z.argument,E)&&J(z.argument)}function fe(z){const oe=v(z)?o.getTokenBefore(z):o.getFirstToken(z),Te=o.getTokenAfter(oe,e.isNotOpeningParenToken),Re=Te?o.getTokenAfter(Te):null,Pe=Te?o.getTokenAfter(Te,e.isNotClosingParenToken):null;e.isOpeningParenToken(oe)&&(e.isOpeningBraceToken(Te)||Te.type==="Keyword"&&(Te.value==="function"||Te.value==="class"||Te.value==="let"&&Pe&&(e.isOpeningBracketToken(Pe)||Pe.type==="Identifier"))||Te&&Te.type==="Identifier"&&Te.value==="async"&&Re&&Re.type==="Keyword"&&Re.value==="function")&&t.add(Te),(z.parent.type==="ExportDefaultDeclaration"?k(z,E):b(z))&&J(z)}function ce(z,oe){const Te=[z];let Re=z;for(;Re!==oe;){if(Re=Re.parent,Re===null)throw new Error("Nodes are not in the ancestor-descendant relationship.");Te.push(Re)}return Te}function ie(z,oe){return ce(oe,z).reverse()}function de(z,oe){switch(z.type){case"ArrayExpression":case"ArrayPattern":case"BlockStatement":case"ObjectExpression":case"ObjectPattern":case"TemplateLiteral":return!0;case"ArrowFunctionExpression":case"FunctionExpression":return z.params.includes(oe);case"CallExpression":case"NewExpression":return z.arguments.includes(oe);case"MemberExpression":return z.computed&&z.property===oe;case"ConditionalExpression":return z.consequent===oe;default:return!1}}function xe(){C={upper:C,inExpressionNodes:[],reports:[]}}function be(){const{upper:z,inExpressionNodes:oe,reports:Te}=C;z?(z.inExpressionNodes.push(...oe),z.reports.push(...Te)):Te.forEach(({finishReport:Re})=>Re()),C=z}function Ae(z){return C.reports.some(oe=>oe.node===z)}function ee(z){C.reports=C.reports.filter(oe=>oe.node!==z)}function ne(z){return z.type==="MemberExpression"?z.parent.type==="NewExpression"&&z.parent.callee===z?!0:z.parent.object===z&&ne(z.parent):!1}function we({left:z,operator:oe,right:Te}){if(z.type==="Identifier"&&["=","&&=","||=","??="].includes(oe)){const Re=Te.type;if(Re==="ArrowFunctionExpression"||(Re==="FunctionExpression"||Re==="ClassExpression")&&!Te.id)return!0}return!1}return{ArrayExpression(z){z.elements.filter(oe=>oe&&k(oe,E)).forEach(J)},ArrayPattern(z){z.elements.filter(oe=>B(oe)&&b(oe)).forEach(J)},ArrowFunctionExpression(z){if(!O(z)&&!(z.body.type==="ConditionalExpression"&&d)&&z.body.type!=="BlockStatement"){const oe=o.getFirstToken(z.body,e.isNotOpeningParenToken),Te=o.getTokenBefore(oe);e.isOpeningParenToken(Te)&&e.isOpeningBraceToken(oe)&&t.add(oe),k(z.body,E)&&J(z.body)}},AssignmentExpression(z){B(z.left)&&b(z.left)&&(!we(z)||A(z.left))&&J(z.left),!O(z)&&k(z.right,l(z))&&J(z.right)},BinaryExpression(z){C&&z.operator==="in"&&C.inExpressionNodes.push(z),Z(z)},CallExpression:ke,ConditionalExpression(z){if(O(z))return;const oe=new Set(["BinaryExpression","LogicalExpression"]);!(r&&oe.has(z.test.type))&&!R(z)&&k(z.test,l({type:"LogicalExpression",operator:"||"}))&&J(z.test),!(r&&oe.has(z.consequent.type))&&k(z.consequent,E)&&J(z.consequent),!(r&&oe.has(z.alternate.type))&&k(z.alternate,E)&&J(z.alternate)},DoWhileStatement(z){b(z.test)&&!R(z)&&J(z.test)},ExportDefaultDeclaration:z=>fe(z.declaration),ExpressionStatement:z=>fe(z.expression),ForInStatement(z){if(z.left.type!=="VariableDeclaration"){const oe=o.getFirstToken(z.left,e.isNotOpeningParenToken);oe.value==="let"&&e.isOpeningBracketToken(o.getTokenAfter(oe,e.isNotClosingParenToken))&&t.add(oe)}b(z.left)&&J(z.left),b(z.right)&&J(z.right)},ForOfStatement(z){if(z.left.type!=="VariableDeclaration"){const oe=o.getFirstToken(z.left,e.isNotOpeningParenToken);oe.value==="let"&&t.add(oe)}b(z.left)&&J(z.left),k(z.right,E)&&J(z.right)},ForStatement(z){if(z.test&&b(z.test)&&!R(z)&&J(z.test),z.update&&b(z.update)&&J(z.update),z.init){if(z.init.type!=="VariableDeclaration"){const oe=o.getFirstToken(z.init,e.isNotOpeningParenToken);oe.value==="let"&&e.isOpeningBracketToken(o.getTokenAfter(oe,e.isNotClosingParenToken))&&t.add(oe)}xe(),b(z.init)&&J(z.init)}},"ForStatement > *.init:exit"(z){C.reports.length&&C.inExpressionNodes.forEach(oe=>{const Te=ie(z,oe);let Re;for(let Pe=0;Pe<Te.length;Pe++){const G=Te[Pe];if(Pe<Te.length-1){const Je=Te[Pe+1];if(de(G,Je))return}if(v(G))if(Ae(G)){if(A(G))return;Re||(Re=G)}else return}ee(Re)}),be()},IfStatement(z){b(z.test)&&!R(z)&&J(z.test)},ImportExpression(z){const{source:oe}=z;oe.type==="SequenceExpression"?w(oe)&&J(oe):b(oe)&&J(oe)},LogicalExpression:Z,MemberExpression(z){const Te=ne(z)&&ae(z)?w(z.object):b(z.object)&&!(T(z.parent)&&z.parent.callee===z&&g);Te&&l(z.object)>=l(z)&&(z.computed||!(e.isDecimalInteger(z.object)||z.object.type==="Literal"&&z.object.regex))&&J(z.object),Te&&z.object.type==="CallExpression"&&J(z.object),Te&&!f&&z.object.type==="NewExpression"&&L(z.object)&&J(z.object),Te&&z.optional&&z.object.type==="ChainExpression"&&J(z.object),z.computed&&b(z.property)&&J(z.property)},"MethodDefinition[computed=true]"(z){k(z.key,E)&&J(z.key)},NewExpression:ke,ObjectExpression(z){z.properties.filter(oe=>oe.value&&k(oe.value,E)).forEach(oe=>J(oe.value))},ObjectPattern(z){z.properties.filter(oe=>{const Te=oe.value;return B(Te)&&b(Te)}).forEach(oe=>J(oe.value))},Property(z){if(z.computed){const{key:oe}=z;oe&&k(oe,E)&&J(oe)}},PropertyDefinition(z){z.computed&&k(z.key,E)&&J(z.key),z.value&&k(z.value,E)&&J(z.value)},RestElement(z){const oe=z.argument;B(oe)&&b(oe)&&J(oe)},ReturnStatement(z){const oe=o.getFirstToken(z);O(z)||z.argument&&$(oe,z.argument)&&!(z.argument.type==="Literal"&&z.argument.regex)&&J(z.argument)},SequenceExpression(z){const oe=l(z);z.expressions.filter(Te=>k(Te,oe)).forEach(J)},SwitchCase(z){z.test&&b(z.test)&&J(z.test)},SwitchStatement(z){b(z.discriminant)&&J(z.discriminant)},ThrowStatement(z){const oe=o.getFirstToken(z);$(oe,z.argument)&&J(z.argument)},UnaryExpression:ge,UpdateExpression(z){if(z.prefix)ge(z);else{const{argument:oe}=z,Te=o.getLastToken(z);oe.loc.end.line===Te.loc.start.line?ge(z):w(oe)&&J(oe)}},AwaitExpression:ge,VariableDeclarator(z){z.init&&k(z.init,E)&&!(z.init.type==="Literal"&&z.init.regex)&&J(z.init)},WhileStatement(z){b(z.test)&&!R(z)&&J(z.test)},WithStatement(z){b(z.object)&&J(z.object)},YieldExpression(z){if(z.argument){const oe=o.getFirstToken(z);(l(z.argument)>=l(z)&&$(oe,z.argument)||w(z.argument))&&J(z.argument)}},ClassDeclaration:I,ClassExpression:I,SpreadElement:H,SpreadProperty:H,ExperimentalSpreadProperty:H,TemplateLiteral(z){z.expressions.filter(oe=>oe&&b(oe)).forEach(J)},AssignmentPattern(z){const{left:oe,right:Te}=z;B(oe)&&b(oe)&&J(oe),Te&&k(Te,E)&&J(Te)}}}},kl}var Dl,mv;function _T(){if(mv)return Dl;mv=1;const a=nn(),e=Le();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,dv;function BT(){if(dv)return Il;dv=1;const{directivesPattern:a}=Kd(),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 d=i.getLastToken(p.consequent[0]),s=i.getCommentsBefore(d).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:d}]=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 h=t(f.node,g,p,s);f.isFallthrough&&!h?p.report({messageId:g.test?"case":"default",node:g}):d&&!f.isSwitchExitReachable&&h&&p.report({messageId:"unusedFallthroughComment",node:h})}f=null},"SwitchCase:exit"(g){const h=m.getTokenAfter(g),E=n(r),S=E&&(g.consequent.length>0||!i&&l(g,h))&&g.parent.cases.at(-1)!==g;f={node:g,isSwitchExitReachable:E,isFallthrough:S}}}}},Il}var Pl,hv;function LT(){if(hv)return Pl;hv=1;const a=Le();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,gv;function OT(){if(gv)return Fl;gv=1;const a=Le();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,yv;function NT(){return yv||(yv=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,vv;function MT(){if(vv)return _l;vv=1;const a=Le(),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,h=f.right;return h.type!=="BinaryExpression"&&!u(h)?h: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 d(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,h=f.sourceCode;function E(S,C,T,x){function v(A){const b=h.getTokenBefore(S);return b?.range[1]===S.range[0]&&!a.canTokensBeAdjacent(b,C)?A.replaceText(S,` ${C}`):A.replaceText(S,C)}f.report({node:S,messageId:"implicitCoercion",data:{recommendation:C},fix(A){return x?v(A):null},suggest:[{messageId:"useRecommendation",data:{recommendation:C},fix(A){return x||!T?null:v(A)}}]})}return{UnaryExpression(S){let C;if(C=g.allow.includes("!!"),!C&&g.boolean&&o(S)){const T=`Boolean(${h.getText(S.argument.argument)})`,v=a.getVariableByName(h.getScope(S),"Boolean")?.identifiers.length===0;E(S,T,!0,v)}if(C=g.allow.includes("~"),!C&&g.boolean&&t(S)){const T=S.argument.type==="ChainExpression"?">= 0":"!== -1",x=`${h.getText(S.argument)} ${T}`;E(S,x,!1,!1)}if(C=g.allow.includes("+"),!C&&g.number&&S.operator==="+"&&!u(S.argument)){const T=`Number(${h.getText(S.argument)})`;E(S,T,!0,!1)}if(C=g.allow.includes("- -"),!C&&g.number&&S.operator==="-"&&S.argument.type==="UnaryExpression"&&S.argument.operator==="-"&&!u(S.argument.argument)){const T=`Number(${h.getText(S.argument.argument)})`;E(S,T,!0,!1)}},"BinaryExpression:exit"(S){let C;C=g.allow.includes("*");const T=!C&&g.number&&l(S)&&!p(S,h)&&r(S);if(T){const x=`Number(${h.getText(T)})`;E(S,x,!0,!1)}if(C=g.allow.includes("-"),!C&&g.number&&S.operator==="-"&&S.right.type==="Literal"&&S.right.value===0&&!u(S.left)){const x=`Number(${h.getText(S.left)})`;E(S,x,!0,!1)}if(C=g.allow.includes("+"),!C&&g.string&&c(S)){const x=`String(${h.getText(s(S))})`;E(S,x,!0,!1)}},AssignmentExpression(S){if(!g.allow.includes("+")&&g.string&&d(S)){const T=h.getText(s(S)),x=`${T} = String(${T})`;E(S,x,!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(${h.getText(S.expressions[0])})`;E(S,T,!0,!1)}}}},_l}var Bl,Ev;function jT(){if(Ev)return Bl;Ev=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,Sv;function UT(){if(Sv)return Ll;Sv=1;const a=Le(),{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(d=>{let f=d.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,h=g.parent;h.type==="CallExpression"&&h.callee===g&&u(h)}})}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,bv;function qT(){if(bv)return Ol;bv=1;const{findVariable:a}=qt(),e=Le(),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 d=e.skipChainExpression(c.callee);if(!e.isSpecificMemberAccess(d,"Object",n.Object)&&!e.isSpecificMemberAccess(d,"Reflect",n.Reflect))return!1;const s=a(i,d.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 d=i.getScope(c);for(const s of i.getDeclaredVariables(c)){const f=s.defs.some(h=>h.node.type==="ImportNamespaceSpecifier");let g=null;for(const h of s.references){const E=h.identifier;E!==g&&(g=E,h.isWrite()?m.report({node:r(E),messageId:"readonly",data:{name:E.name}}):f&&u(E,d)&&m.report({node:r(E),messageId:"readonlyMember",data:{name:E.name}}))}}}}}},Ol}var Nl,xv;function VT(){if(xv)return Nl;xv=1;const a=Le();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,d=!i;if(!(c&&d)&&!(t&&t.test(p.value))){if((c||m==="{")&&(d||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,Cv;function $T(){if(Cv)return Ml;Cv=1;const a=Le(),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,wv;function WT(){if(wv)return jl;wv=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 d=l.join("").replace(new RegExp(`[${n}]`,"gu"),"");d&&(p=[...new Set(d)])}function u(d,s){t.report({node:d,messageId:"regexMessage",data:{message:s}})}function r(d){return d&&d.type==="Literal"&&typeof d.value=="string"}function m(d){return d.arguments.length<2?"":r(d.arguments[1])?d.arguments[1].value:null}function i(d,s){try{return e.validatePattern(d,o,o,s),null}catch(f){return f.message}}function c(d,s,f){const g=[];if(typeof s=="string")for(const h of s)f.includes(h)&&g.push(h);return d&&d.includes("u")&&d.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"(d){if(d.callee.type!=="Identifier"||d.callee.name!=="RegExp")return;const s=m(d);let f=s;const g=p.length>0?n.split("").concat(p):n.split("");s&&g.forEach(S=>{f=f.replace(S,"")});let h=c(s,f,g);if(h){u(d,h);return}if(!r(d.arguments[0]))return;const E=d.arguments[0].value;h=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")}),h&&u(d,h)}}}},jl}var Ul,Av;function GT(){if(Av)return Ul;Av=1;const a=Le();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,Tv;function zT(){if(Tv)return ql;Tv=1;const a=Le(),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,d=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 h(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 C(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 x(){}const v={};return e.test(c.getText())?(v.Program=function(A){C(A),T(A)},v.Literal=g,v.TemplateElement=m?h:x,v.JSXText=i?S:x,v["Program:exit"]=function(){p&&d.forEach(E),s.forEach(A=>l.report(A))}):v.Program=x,v}},ql}var Vl,kv;function HT(){if(kv)return Vl;kv=1;const{getStaticPropertyName:a}=Le();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,Dv;function KT(){if(Dv)return $l;Dv=1;const a=Le();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,Iv;function XT(){if(Iv)return Wl;Iv=1;const a=Le();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,Pv;function JT(){return Pv||(Pv=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,Fv;function YT(){if(Fv)return zl;Fv=1;const a=Le();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),d=n.getText();return d.slice(u.range[1],o.range[0]).trim()||d.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,Rv;function QT(){if(Rv)return Hl;Rv=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 d=m,s=m;for(;s&&s.range[0]>=c;)d=s,s=l(s);return d}function u(m,i){const c=i.resolved,d=c&&c.defs[0],s=d&&d.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 h(E){const S=E.identifier;return!E.isWrite()||c.scope.variableScope===E.from.variableScope&&S.range[0]<g}return!!c&&c.references.every(h)}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 d=[...new Set(c.filter(s=>s.resolved&&!u(i,s)).map(s=>s.identifier.name))];d.length>0&&n.report({node:m,messageId:"unsafeRefs",data:{varNames:`'${d.join("', '")}'`}})}return{ArrowFunctionExpression:r,FunctionExpression:r,FunctionDeclaration:r}}},Hl}var Kl,_v;function ZT(){return _v||(_v=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),h=p(g);return{magnitude:h.length-g.length-1,coefficient:l(h)}}return{magnitude:f.indexOf(".")-1,coefficient:l(f.replace(".",""))}}function i(s){const f=s.replace("E","e").split("e"),g=f[0],h=s.includes(".")?m(g):r(g),E=h.coefficient,S=f.length>1?parseInt(f[1],10)+h.magnitude:h.magnitude;return`${E}e${S}`}function c(s){const f=n(s).toLowerCase();if(f.includes(".")&&f.includes("e")){const C=f.split("e"),T=C[0],x=parseInt(C[1],10),v=T.split(".");if(v.length===2&&v[1].match(/0*$/u)[0].length===x)return!1}const g=i(f),h=g.split("e")[0].replace(".","").length;if(h>100)return!0;const E=s.value.toPrecision(h),S=i(E);return g!==S}function d(s){return o(s)?c(s):t(s)}return{Literal(s){s.value&&e(s)&&d(s)&&a.report({messageId:"noLossOfPrecision",node:s})}}}}),Kl}var Xl,Bv;function ek(){if(Bv)return Xl;Bv=1;const a=Le(),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)),d=!!r.ignoreArrayIndexes,s=!!r.ignoreDefaultValues,f=!!r.ignoreClassFieldInitialValues,g=!!r.ignoreEnums,h=!!r.ignoreNumericLiteralTypes,E=!!r.ignoreReadonlyClassProperties,S=!!r.ignoreTypeIndexes,C=m?[]:["ObjectExpression","Property","AssignmentExpression"];function T(k){return c.has(k)}function x(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&&x(R)||f&&v(R)||g&&o(R)||h&&t(R)||S&&p(R)||E&&l(R)||A(R)||b(R)||d&&w(R,F)||(P.type==="VariableDeclarator"?i&&P.parent.kind!=="const"&&u.report({node:R,messageId:"useConst"}):(!C.includes(P.type)||P.type==="AssignmentExpression"&&P.left.type==="Identifier")&&u.report({node:R,messageId:"noMagic",data:{raw:L}}))}}}},Xl}var Jl,Lv;function tk(){return Lv||(Lv=1,Jl=function(e){return/^[\p{Mc}\p{Me}\p{Mn}]$/u.test(String.fromCodePoint(e))}),Jl}var Yl,Ov;function rk(){return Ov||(Ov=1,Yl=function(e){return e>=127995&&e<=127999}),Yl}var Ql,Nv;function nk(){return Nv||(Nv=1,Ql=function(e){return e>=127462&&e<=127487}),Ql}var Zl,Mv;function sk(){return Mv||(Mv=1,Zl=function(e,n){return e>=55296&&e<56320&&n>=56320&&n<57344}),Zl}var eu,jv;function ak(){if(jv)return eu;jv=1;const a=tk(),e=rk(),n=nk(),o=sk();return eu={isCombiningCharacter:a,isEmojiModifier:e,isRegionalIndicatorSymbol:n,isSurrogatePair:o},eu}var tu,Uv;function ru(){if(Uv)return tu;Uv=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,qv;function ik(){if(qv)return nu;qv=1;class a{constructor(c,d){this.start=c,this.source=d}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,d=1){const s=c+this.pos;return this.source.slice(s,s+d)}}const n={__proto__:null,b:"\b",f:"\f",n:`
98
+ `,r:"\r",t:" ",v:"\v"};function o(i,c){const d=i.read(0,c),s=parseInt(d,16);return i.advance(c),String.fromCharCode(s)}function t(i){const c=/\{(?<hexDigits>[\dA-F]+)\}/iuy;c.lastIndex=i.pos;const d=c.exec(i.source);if(d){const s=parseInt(d.groups.hexDigits,16);return i.pos=c.lastIndex,String.fromCodePoint(s)}return o(i,4)}function l(i,c){const[d]=i.read(-1,c).match(/^[0-7]+/u);i.advance(d.length-1);const s=parseInt(d,8);return String.fromCharCode(s)}function p(i){const c=i.read(1);i.advance(2);const d=n[c];if(d)return d;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,d=p(i),s=i.pos,f=i.source.slice(c,s);switch(d.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),d=c.read();c.advance(1);const s=[];for(;;){const f=c.read();if(f===d)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 d=[];for(;;){const s=c.read();if(s==="`"||s==="$"&&c.read(1)==="{")break;if(s==="\\")d.push(...u(c));else{let f;s==="\r"&&c.read(1)===`
101
+ `?f=`\r
102
+ `:f=s,d.push(new a(c.pos,f)),c.advance(f.length)}}return d}return nu={parseStringLiteral:r,parseTemplateToken:m},nu}var su,Vv;function ok(){if(Vv)return su;Vv=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}=ak(),c=Le(),{isValidWithUnicodeFlag:d}=ru(),{parseStringLiteral:s,parseTemplateToken:f}=ik();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 h(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)&&!h(w)&&!h(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)&&(h(w)||h(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 C(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 x(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 $;try{$=w.parsePattern(L,0,L.length,{unicode:P.includes("u"),unicodeSets:P.includes("v")})}catch{return}let M=null;function _(X){if(F.type==="Literal"&&F.regex)return T(X,X.raw);if(F.type==="Literal"&&typeof F.value=="string"){const J=F.raw;return M??=s(J),x(X,J,M)}if(c.isStaticTemplateLiteral(F)){const J=b.getText(F);return M??=f(J),x(X,J,M)}return!1}const K=new Map;p($,{onCharacterClassEnter(X){for(const J of g(X.elements)){let ge;A?ge=J.map(ae=>_(ae)?null:ae):ge=J;for(const ae of S){const ke=E[ae](ge,J);K.has(ae)?K.get(ae).push(...ke):K.set(ae,[...ke])}}}});function B(X){return!c.isStaticTemplateLiteral(F)&&F.type!=="Literal"?X.length?[F.loc]:[]:X.map(J=>{const ge=J[0].start,ae=J.at(-1).end-1;let ke,Z;if(F.type==="TemplateLiteral"){const I=b.getText(F),H=F.range[0];M??=f(I),ke=H+M[ge].start,Z=H+M[ae].end}else if(typeof F.value=="string"){const I=F.raw,H=F.range[0];M??=s(I),ke=H+M[ge].start,Z=H+M[ae].end}else{const I=F.range[0]+1;ke=I+ge,Z=I+ae+1}return{start:b.getLocFromIndex(ke),end:b.getLocFromIndex(Z)}})}for(const[X,J]of K){let ge;X==="surrogatePairWithoutUFlag"&&(ge=[{messageId:"suggestUnicodeFlag",fix:O}]);const ae=B(J);for(const ke of ae)v.report({node:F,loc:ke,messageId:X,suggest:ge})}}return{"Literal[regex]"(F){k.has(F)||R(F,F.regex.pattern,F.regex.flags,L=>d(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 $,M;const[_,K]=O.arguments,B=C(_,L);if(B){if(K)B.regex?($=B.regex.pattern,k.add(_)):$=String(B.value),M=t(K,L);else{if(B.regex)continue;$=String(B.value),M=""}typeof M=="string"&&R(_,$,M,X=>{if(!d(v.languageOptions.ecmaVersion,$))return null;if(O.arguments.length===1){const J=b.getLastToken(O,{skip:1});return X.insertTextAfter(J,c.isCommaToken(J)?' "u",':', "u"')}if(K.type==="Literal"&&typeof K.value=="string"||K.type==="TemplateLiteral"){const J=[K.range[0],K.range[1]-1];return X.insertTextAfterRange(J,"u")}return null})}}}}}},su}var au,$v;function lk(){if($v)return au;$v=1;const a=Le(),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 h=f.groups&&f.groups.length>0?f.groups:m,E=f.allowSamePrecedence!==!1;return{groups:h,allowSamePrecedence:E}}function d(f,g,h){return f.some(E=>E.includes(g)&&E.includes(h))}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,h=c(f.options[0]);function E(v){const A=v,b=v.parent;return!d(h.groups,A.operator,b.type==="ConditionalExpression"?"?:":b.operator)||h.allowSamePrecedence&&a.getPrecedence(A)===a.getPrecedence(b)}function S(v){return v.operator!==v.parent.operator&&!a.isParenthesised(g,v)}function C(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:C(b).loc,messageId:"unexpectedMixedOperator",data:k}),f.report({node:w,loc:C(w).loc,messageId:"unexpectedMixedOperator",data:k})}function x(v){i.test(v.parent.type)&&S(v)&&!E(v)&&T(v)}return{BinaryExpression:x,LogicalExpression:x}}},au}var iu,Wv;function uk(){return Wv||(Wv=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",d="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 d;const S=E.arguments[0];return S.type!=="Literal"||typeof S.value!="string"?d:l.includes(S.value)?m:/^\.{0,2}\//u.test(S.value)?i:c}function g(E){const S={};return E.forEach(C=>{const T=s(C.init);S[T]=!0}),!!(S[p]&&(S[u]||S[r]))}function h(E){const S={};return E.forEach(C=>{s(C.init)===p&&(S[f(C.init)]=!0)}),Object.keys(S).length<=1}return{VariableDeclaration(E){g(E.declarations)?a.report({node:E,messageId:"noMixRequire"}):n&&!h(E.declarations)&&a.report({node:E,messageId:"noMixCoreModuleFileComputed"})}}}}),iu}var ou,Gv;function ck(){return Gv||(Gv=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,d={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(d.start));s&&["Literal","TemplateElement"].includes(s.type)||a.report({node:o,loc:d,messageId:"mixedSpacesAndTabs"})}}})}}}}),ou}var lu,zv;function fk(){return zv||(zv=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,Hv;function pk(){if(Hv)return uu;Hv=1;const a=Le();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 d;c.type==="Block"?d=`/*${u(c)}*/`:c.type==="Line"?d=`//${u(c)}`:d=c.value,e.report({node:c,loc:{start:r.loc.end,end:c.loc.start},messageId:"multipleSpaces",data:{displayValue:d},fix:s=>s.replaceTextRange([r.range[1],c.range[0]]," ")})})}}}},uu}var cu,Kv;function mk(){if(Kv)return cu;Kv=1;const a=Le();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,Xv;function dk(){return Xv||(Xv=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(d){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 d.removeRange([s,g])}}),m},0)}}}}),fu}var pu,Jv;function hk(){return Jv||(Jv=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,Yv;function gk(){return Yv||(Yv=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 du,Qv;function yk(){return Qv||(Qv=1,du={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"})}}}}),du}var hu,Zv;function vk(){return Zv||(Zv=1,hu={meta:{type:"suggestion",docs:{description:"Disallow nested ternary expressions",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-nested-ternary"},schema:[],messages:{noNestedTernary:"Do not nest ternary expressions."}},create(a){return{ConditionalExpression(e){(e.alternate.type==="ConditionalExpression"||e.consequent.type==="ConditionalExpression")&&a.report({node:e,messageId:"noNestedTernary"})}}}}),hu}var gu,eE;function Ek(){return eE||(eE=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,tE;function Sk(){if(tE)return yu;tE=1;const a=Le(),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,rE;function bk(){if(rE)return vu;rE=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,nE;function xk(){if(nE)return Eu;nE=1;const a=Le();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,sE;function Ck(){return sE||(sE=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,aE;function wk(){return aE||(aE=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,iE;function Ak(){if(iE)return xu;iE=1;const{getVariableByName:a}=Le();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,oE;function Tk(){if(oE)return Cu;oE=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,d=[c,i],s=[];r==="\\0"?s.push(t("refactor",[c-r.length,i],`${e("\0")}${m[1]}`),t("refactor",d,e(m[1]))):s.push(t("refactor",d,m[1])),s.push(t("escapeBackslash",d,`\\${m}`)),n.report({node:l,loc:{start:o.getLocFromIndex(c),end:o.getLocFromIndex(i)},messageId:"decimalEscape",data:{decimalEscape:m},suggest:s})}}}}},Cu}var wu,lE;function kk(){if(lE)return wu;lE=1;const{CALL:a,CONSTRUCT:e,ReferenceTracker:n}=qt(),o=Le().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 d of t)c[d]={[a]:!0,[e]:!0};for(const{node:d,path:s}of i.iterateGlobalReferences(c)){const f=l(d.callee),g=s[0],h=f===g?"unexpectedCall":"unexpectedRefCall";p.report({node:d,messageId:h,data:{name:f,ref:g}})}}}}},wu}var Au,uE;function Dk(){if(uE)return Au;uE=1;const{getVariableByName:a,isArrowToken:e,isStartOfExpressionStatement:n,needsPrecedingSemicolon:o}=Le();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,d="useLiteral";p(r)?(i="({})",o(l,r)?(c=";({})",d="useLiteralAfterSemicolon"):c="({})"):i=c="{}",t.report({node:r,messageId:"preferLiteral",suggest:[{messageId:d,data:{replacement:i},fix:s=>s.replaceText(r,c)}]})}}return{CallExpression:u,NewExpression:u}}},Au}var Tu,cE;function Ik(){return cE||(cE=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,fE;function Pk(){return fE||(fE=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,pE;function Fk(){if(pE)return Du;pE=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 d=c.identifier,s=d.parent;for(;s&&(!a.test(s.type)||s.type==="ForInStatement"||s.type==="ForOfStatement");){switch(s.type){case"AssignmentExpression":return s.left===d;case"UpdateExpression":return!0;case"UnaryExpression":if(s.operator==="delete")return!0;break;case"ForInStatement":case"ForOfStatement":return s.left===d;case"CallExpression":if(s.callee!==d)return!1;break;case"MemberExpression":if(s.property===d)return!1;break;case"Property":if(s.key===d)return!1;break;case"ConditionalExpression":if(s.test===d)return!1;break}d=s,s=d.parent}return!1}function u(c){return o.includes(c)||t.some(d=>new RegExp(d,"u").test(c))}function r(c,d,s){const f=c.identifier;f&&!c.init&&(d===0||s[d-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,mE;function Rk(){return mE||(mE=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,dE;function _k(){if(dE)return Pu;dE=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 Bk(){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,gE;function Lk(){return gE||(gE=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,yE;function Ok(){if(yE)return _u;yE=1;const a=Le(),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),d=i.value==="return"&&i.range[1]===c.range[0];return[r.insertTextBefore(c,`${d?" ":""}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 d=[];m&&d.push({messageId:"prependVoid",fix(s){return t(r,c.body,s)}}),c.body.type==="FunctionExpression"&&!c.body.id||d.push({messageId:"wrapBraces",fix(s){return l(r,c,s)}}),p.report({node:c.body,messageId:"returnsValue",suggest:d})}},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,vE;function Nk(){if(vE)return Bu;vE=1;const{getStaticPropertyName:a}=Le();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,EE;function Mk(){if(EE)return Lu;EE=1;const a=Le();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 d=m.getTokenAfter(l.callee,a.isOpeningParenToken),f=l.arguments.length===0?"":", ";return[r.replaceText(p,`Object.prototype.${u}.call`),r.insertTextAfter(d,c+f)]}}]})}return{CallExpression:t}}},Lu}var Ou,SE;function jk(){if(SE)return Ou;SE=1;const a=Le();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",d={id:r.name};for(const{type:s,node:f,loc:g}of i){const h=s===m.type?"redeclared":c;e.report({node:f,loc:g,messageId:h,data:d})}}}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,bE;function Uk(){if(bE)return Nu;bE=1;const a=Le(),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,d,s,f){if(!o.test(d))return;const g=[];let h;try{h=n.parsePattern(c,0,c.length,{unicode:f.includes("u"),unicodeSets:f.includes("v")})}catch{return}e.visitRegExpAST(h,{onCharacterClassEnter(C){g.push(C)}});const E=/( {2,})(?: [+*{?]|[^+*{?]|$)/gu;let S;for(;S=E.exec(c);){const{1:{length:C},index:T}=S;if(g.every(({start:x,end:v})=>T<x||v<=T)){l.report({node:i,messageId:"multipleSpaces",data:{length:C},fix(x){return c!==d?null:x.replaceTextRange([s+T,s+T+C],` {${C}}`)}});return}}}function r(i){if(i.regex){const c=i.regex.pattern,d=i.raw.slice(1,i.raw.lastIndexOf("/")),s=i.range[0]+1,f=i.regex.flags;u(i,c,d,s,f)}}function m(i){const c=p.getScope(i),d=a.getVariableByName(c,"RegExp"),s=d&&d.defs.length>0,f=i.arguments[0];if(i.callee.type==="Identifier"&&i.callee.name==="RegExp"&&t(f)&&!s){const g=f.value,h=f.raw.slice(1,-1),E=f.range[0]+1;let S;if(i.arguments.length<2)S="";else{const C=i.arguments[1];if(t(C))S=C.value;else return}u(i,g,h,E,S)}}return{Literal:r,CallExpression:m,NewExpression:m}}},Nu}var Mu,xE;function qk(){if(xE)return Mu;xE=1;const a=Le();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,CE;function Vk(){if(CE)return ju;CE=1;const a=Le(),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 d=r.reduce((h,E)=>(typeof E=="string"?h[E]=null:h[E.name]=E.message,h),{});function s(h){const E=h.identifier.name,S=d[E],C=S?"customMessage":"defaultMessage";t.report({node:h.identifier,messageId:C,data:{name:E,customMessage:S}})}function f(h){return Object.hasOwn(d,h)}function g(h){const E=h.identifier.parent;return e.has(E.type)}return{Program(h){const E=l.getScope(h);E.variables.forEach(S=>{!S.defs.length&&f(S.name)&&S.references.forEach(C=>{g(C)||s(C)})}),E.through.forEach(S=>{f(S.identifier.name)&&!g(S)&&s(S)})},"Program:exit"(h){if(!m)return;const E=l.getScope(h);c.forEach(S=>{const C=a.getVariableByName(E,S);C&&C.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=d[A],w=b?"customMessage":"defaultMessage";t.report({node:v.property,messageId:w,data:{name:A,customMessage:b}})}})})}}}},ju}var Uu,wE;function AE(){if(wE)return Uu;wE=1;function a($){return Array.isArray($)?$:[$]}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 d=c,s=($,M,_)=>Object.defineProperty($,M,{value:_}),f=/([0-z])-([0-z])/g,g=()=>!1,h=$=>$.replace(f,(M,_,K)=>_.charCodeAt(0)<=K.charCodeAt(0)?M:e),E=$=>{const{length:M}=$;return $.slice(0,M-M%2)},S=[[/^\uFEFF/,()=>e],[/((?:\\\\)*?)(\\?\s+)$/,($,M,_)=>M+(_.indexOf("\\")===0?n:e)],[/(\\+?)\s/g,($,M)=>{const{length:_}=M;return M.slice(0,_-_%2)+n}],[/[\\$.|*+(){^]/g,$=>`\\${$}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,($,M,_)=>M+6<_.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,($,M,_)=>{const K=_.replace(/\\\*/g,"[^\\/]*");return M+K}],[/\\\\\\(?=[$.|*+(){^])/g,()=>o],[/\\\\/g,()=>o],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,($,M,_,K,B)=>M===o?`\\[${_}${E(K)}${B}`:B==="]"&&K.length%2===0?`[${h(_)}${K}]`:"[]"],[/(?:[^*])$/,$=>/\/$/.test($)?`${$}$`:`${$}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,($,M)=>`${M?`${M}[^/]+`:"[^/]*"}(?=$|\\/$)`]],C=Object.create(null),T=($,M)=>{let _=C[$];return _||(_=S.reduce((K,[B,X])=>K.replace(B,X.bind($)),$),C[$]=_),M?new RegExp(_,"i"):new RegExp(_)},x=$=>typeof $=="string",v=$=>$&&x($)&&!t.test($)&&!l.test($)&&$.indexOf("#")!==0,A=$=>$.split(r);class b{constructor(M,_,K,B){this.origin=M,this.pattern=_,this.negative=K,this.regex=B}}const w=($,M)=>{const _=$;let K=!1;$.indexOf("!")===0&&(K=!0,$=$.substr(1)),$=$.replace(p,"!").replace(u,"#");const B=T($,M);return new b(_,$,K,B)},k=($,M)=>{throw new M($)},R=($,M,_)=>x($)?$?R.isNotRelative($)?_(`path should be a \`path.relative()\`d string, but got "${M}"`,RangeError):!0:_("path must not be empty",TypeError):_(`path must be a string, but got \`${M}\``,TypeError),F=$=>m.test($);R.isNotRelative=F,R.convert=$=>$;class L{constructor({ignorecase:M=!0,ignoreCase:_=M,allowRelativePaths:K=!1}={}){s(this,d,!0),this._rules=[],this._ignoreCase=_,this._allowRelativePaths=K,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(M){if(M&&M[d]){this._rules=this._rules.concat(M._rules),this._added=!0;return}if(v(M)){const _=w(M,this._ignoreCase);this._added=!0,this._rules.push(_)}}add(M){return this._added=!1,a(x(M)?A(M):M).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(M){return this.add(M)}_testOne(M,_){let K=!1,B=!1;return this._rules.forEach(X=>{const{negative:J}=X;if(B===J&&K!==B||J&&!K&&!B&&!_)return;X.regex.test(M)&&(K=!J,B=J)}),{ignored:K,unignored:B}}_test(M,_,K,B){const X=M&&R.convert(M);return R(X,M,this._allowRelativePaths?g:k),this._t(X,_,K,B)}_t(M,_,K,B){if(M in _)return _[M];if(B||(B=M.split(i)),B.pop(),!B.length)return _[M]=this._testOne(M,K);const X=this._t(B.join(i)+i,_,K,B);return _[M]=X.ignored?X:this._testOne(M,K)}ignores(M){return this._test(M,this._ignoreCache,!1).ignored}createFilter(){return M=>!this.ignores(M)}filter(M){return a(M).filter(this.createFilter())}test(M){return this._test(M,this._testCache,!0)}}const P=$=>new L($),O=$=>R($&&R.convert($),$,g);if(P.isPathValid=O,P.default=P,Uu=P,typeof Ft<"u"&&(Ft.env&&Ft.env.IGNORE_TEST_WIN32||Ft.platform==="win32")){const $=_=>/^\\\\\?\\/.test(_)||/["<>|\u0000-\u001F]+/u.test(_)?_:_.replace(/\\/g,"/");R.convert=$;const M=/^[a-z]:\//i;R.isNotRelative=_=>M.test(_)||F(_)}return Uu}var qu,TE;function $k(){if(TE)return qu;TE=1;const a=Le(),e=AE(),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((h,E)=>{const S=typeof E=="string"?E:E.name;return h[S]||(h[S]=[]),typeof E=="string"?h[S].push({}):h[S].push({message:E.message,importNames:E.importNames,allowImportNames:E.allowImportNames}),h},Object.create(null));let i=(u?p[0].patterns:[])||[];i.length>0&&typeof i[0]=="string"&&(i=[{group:i}]);const c=i.map(({group:h,regex:E,message:S,caseSensitive:C,importNames:T,importNamePattern:x,allowImportNames:v,allowImportNamePattern:A})=>({...h?{matcher:e({allowRelativePaths:!0,ignorecase:!C}).add(h)}:{},...typeof E=="string"?{regexMatcher:new RegExp(E,C?"u":"iu")}:{},customMessage:S,importNames:T,importNamePattern:x,allowImportNames:v,allowImportNamePattern:A}));if(Object.keys(r).length===0&&c.length===0)return{};function d(h,E,S){Object.hasOwn(m,h)&&m[h].forEach(C=>{const T=C.message,x=C.importNames,v=C.allowImportNames;if(!x&&!v){t.report({node:S,messageId:T?"pathWithCustomMessage":"path",data:{importSource:h,customMessage:T}});return}E.forEach((A,b)=>{if(b==="*"){const[w]=A;x?t.report({node:S,messageId:T?"everythingWithCustomMessage":"everything",loc:w.loc,data:{importSource:h,importNames:x,customMessage:T}}):v&&t.report({node:S,messageId:T?"everythingWithAllowImportNamesAndCustomMessage":"everythingWithAllowImportNames",loc:w.loc,data:{importSource:h,allowedImportNames:v,customMessage:T}});return}x&&x.includes(b)&&A.forEach(w=>{t.report({node:S,messageId:T?"importNameWithCustomMessage":"importName",loc:w.loc,data:{importSource:h,customMessage:T,importName:b}})}),v&&!v.includes(b)&&A.forEach(w=>{t.report({node:S,loc:w.loc,messageId:T?"allowedImportNameWithCustomMessage":"allowedImportName",data:{importSource:h,customMessage:T,importName:b,allowedImportNames:v}})})})})}function s(h,E,S){const C=h.source.value.trim(),T=E.customMessage,x=E.importNames,v=E.importNamePattern?new RegExp(E.importNamePattern,"u"):null,A=E.allowImportNames,b=E.allowImportNamePattern?new RegExp(E.allowImportNamePattern,"u"):null;if(!x&&!A&&!v&&!b){t.report({node:h,messageId:T?"patternWithCustomMessage":"patterns",data:{importSource:C,customMessage:T}});return}S.forEach((w,k)=>{if(k==="*"){const[R]=w;x?t.report({node:h,messageId:T?"patternAndEverythingWithCustomMessage":"patternAndEverything",loc:R.loc,data:{importSource:C,importNames:x,customMessage:T}}):A?t.report({node:h,messageId:T?"everythingWithAllowImportNamesAndCustomMessage":"everythingWithAllowImportNames",loc:R.loc,data:{importSource:C,allowedImportNames:A,customMessage:T}}):b?t.report({node:h,messageId:T?"everythingWithAllowedImportNamePatternWithCustomMessage":"everythingWithAllowedImportNamePattern",loc:R.loc,data:{importSource:C,allowedImportNamePattern:b,customMessage:T}}):t.report({node:h,messageId:T?"patternAndEverythingWithRegexImportNameAndCustomMessage":"patternAndEverythingWithRegexImportName",loc:R.loc,data:{importSource:C,importNames:v,customMessage:T}});return}(x&&x.includes(k)||v&&v.test(k))&&w.forEach(R=>{t.report({node:h,messageId:T?"patternAndImportNameWithCustomMessage":"patternAndImportName",loc:R.loc,data:{importSource:C,customMessage:T,importName:k}})}),A&&!A.includes(k)?w.forEach(R=>{t.report({node:h,messageId:T?"allowedImportNameWithCustomMessage":"allowedImportName",loc:R.loc,data:{importSource:C,customMessage:T,importName:k,allowedImportNames:A}})}):b&&!b.test(k)&&w.forEach(R=>{t.report({node:h,messageId:T?"allowedImportNamePatternWithCustomMessage":"allowedImportNamePattern",loc:R.loc,data:{importSource:C,customMessage:T,importName:k,allowedImportNamePattern:b}})})})}function f(h,E){return E.regexMatcher?E.regexMatcher.test(h):E.matcher.ignores(h)}function g(h){const E=h.source.value.trim(),S=new Map;if(h.type==="ExportAllDeclaration"){const C=l.getFirstToken(h,1);S.set("*",[{loc:C.loc}])}else if(h.specifiers)for(const C of h.specifiers){let T;const x={loc:C.loc};C.type==="ImportDefaultSpecifier"?T="default":C.type==="ImportNamespaceSpecifier"?T="*":C.imported?T=a.getModuleExportName(C.imported):C.local&&(T=a.getModuleExportName(C.local)),typeof T=="string"&&(S.has(T)?S.get(T).push(x):S.set(T,[x]))}d(E,S,h),c.forEach(C=>{f(E,C)&&s(h,C,S)})}return{ImportDeclaration:g,ExportNamedDeclaration(h){h.source&&g(h)},ExportAllDeclaration:g}}},qu}var Vu,kE;function Wk(){if(kE)return Vu;kE=1;const a=Le(),e=AE(),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((h,E)=>(typeof E=="string"?h[E]=null:h[E.name]=E.message,h),{});if(Object.keys(u).length===0&&r.length===0)return{};const i=e({allowRelativePaths:!0}).add(r);function c(h){return h&&h.type==="Literal"&&typeof h.value=="string"}function d(h){return h.callee.type==="Identifier"&&h.callee.name==="require"}function s(h){return c(h)?h.value.trim():a.isStaticTemplateLiteral(h)?h.quasis[0].value.cooked.trim():null}function f(h,E){const S=m[E],C=S?"customMessage":"defaultMessage";t.report({node:h,messageId:C,data:{name:E,customMessage:S}})}function g(h){return Object.hasOwn(m,h)}return{CallExpression(h){if(d(h)&&h.arguments.length){const E=s(h.arguments[0]);E&&(g(E)&&f(h,E),r.length>0&&i.ignores(E)&&t.report({node:h,messageId:"patternMessage",data:{name:E}}))}}}}},Vu}var $u,DE;function Gk(){if(DE)return $u;DE=1;const a=Le();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),d=c?c.get(i):t.get(m),s=l.get(i);if(d&&!p(i,d.allowProperties)){const f=d.message?` ${d.message}`:"",g=d.allowProperties?` Only these properties are allowed: ${d.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,IE;function zk(){return IE||(IE=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,PE;function Hk(){if(PE)return Gu;PE=1;const a=Le(),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,FE;function Kk(){if(FE)return zu;FE=1;const a=Le();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,d]=r.range,f=u.text[d]===" "?1:0,g=[c,d+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,RE;function Xk(){if(RE)return Hu;RE=1;const a=Le();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,_E;function Jk(){if(_E)return Ku;_E=1;const a=Le(),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,BE;function Yk(){return BE||(BE=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,LE;function Qk(){if(LE)return Ju;LE=1;const a=Le();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,OE;function Zk(){if(OE)return Yu;OE=1;const a=Le();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,NE;function eD(){if(NE)return Qu;NE=1;const a=Le(),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:d,ignoreFunctionTypeParameterNameValueShadow:s}]=u.options,f=u.sourceCode;function g(K){return K.block.kind==="global"||!!K.upper&&g(K.upper)}function h(K){return K.name==="this"}function E(K,B){if(d!==!0||!("isValueVariable"in K))return!1;const X=B.defs[0],J=X&&X.parent?.type==="ImportDeclaration"&&(X.parent.importKind==="type"||X.parent.specifiers.some(ae=>ae.importKind==="type")),ge=!X||(J?!1:B.isValueVariable);return K.isValueVariable!==ge}function S(K){return s!==!0?!1:K.defs.some(B=>p.has(B.node.type))}function C(K){const X=K.identifiers[0].parent.parent;return X.type!=="TSTypeParameterDeclaration"?!1:X.parent.parent.static}function T(K){return C(K)}function x(K,B){return K&&K.range[0]<=B&&B<=K.range[1]}function v(K,B){let X=K;for(;X&&!B(X);)X=X.parent;return X}function A(K){const B=K.upper;return B&&B.type==="function-expression-name"?B.upper:B}function b(K,B){const X=B.defs[0];if(!X)return!1;const{variableScope:J}=K.scope;if(!(e.has(J.block.type)&&A(J)===B.scope))return!1;const ge=J.block,{parent:ae}=ge,ke=v(ae,H=>n.has(H.type));if(!ke)return!1;let Z=X.name;const I=ke.range[1];for(;Z;){if(Z.type==="VariableDeclarator"){if(x(Z.init,I)||o.test(Z.parent.parent.type)&&x(Z.parent.parent.right,I))return!0;break}else if(Z.type==="AssignmentPattern"){if(x(Z.right,I))return!0}else if(t.test(Z.type))break;Z=Z.parent}return!1}function w(K){return i.includes(K.name)}function k(K){const B=K.scope.block;return B.type==="ClassDeclaration"&&B.id===K.identifiers[0]}function R(K,B){const X=B.scope,J=B.defs[0],ge=J&&J.parent&&J.parent.range,ae=K.scope,ke=K.defs[0],Z=ke&&ke.name.range;return ge&&Z&&ge[0]<Z[0]&&Z[1]<ge[1]&&(ke.type==="FunctionName"&&ke.node.type==="FunctionExpression"||ke.node.type==="ClassExpression")&&X===ae.upper}function F(K){const B=K.defs[0];return B&&B.name.range}function L(K){const B=K.identifiers[0];let X;return B?X={global:!1,line:B.loc.start.line,column:B.loc.start.column+1}:X={global:!0},X}function P(K,B){const X=B.defs[0],J=F(K),ge=F(B);return!ge||J[1]>=ge[0]?!1:m==="types"?!l.has(X.node.type):m==="functions-and-types"?X.node.type!=="FunctionDeclaration"&&!l.has(X.node.type):J&&ge&&J[1]<ge[0]&&(m!=="functions"||!X||X.node.type!=="FunctionDeclaration")}function O(K){const B=u.filename;return!B.endsWith(".d.ts")&&!B.endsWith(".d.cts")&&!B.endsWith(".d.mts")?!1:K.defs.some(X=>X.type==="Variable"&&X.parent.declare||X.type==="ClassName"&&X.node.declare||X.type==="TSEnumName"&&X.node.declare||X.type==="TSModuleName"&&X.node.declare)}function $(K){const B=K.scope.block;return B.type==="TSEnumDeclaration"&&B.id===K.identifiers[0]}function M(K,B,X){const J=X.defs[0];if(!J||!J.parent||!(J.parent.type==="ImportDeclaration"&&(J.parent.importKind==="type"||J.parent.specifiers?.some(I=>I.type==="ImportSpecifier"&&I.importKind==="type"&&I.local.name===X.name))))return!1;const ae=v(B.identifiers[0]?.parent,I=>I.type==="TSModuleDeclaration");if(!ae)return!1;const ke=J.parent.source.value,Z=ae.id.type==="Literal"?ae.id.value:ae.id.name;return ke===Z}function _(K){if(g(K))return;const B=K.variables;for(let X=0;X<B.length;++X){const J=B[X];if(J.identifiers.length===0||k(J)||$(J)||w(J)||O(J)||h(J))continue;const ge=a.getVariableByName(K.upper,J.name);if(ge&&(ge.identifiers.length>0||r&&"writeable"in ge)&&!R(J,ge)&&!(c&&b(J,ge))&&!(m!=="all"&&P(J,ge))&&!E(J,ge)&&!S(J)&&!T(J)&&!M(K,J,ge)){const ae=L(ge),ke=ae.global?"noShadowGlobal":"noShadow",Z={name:J.name};ae.global||(Z.shadowedLine=ae.line,Z.shadowedColumn=ae.column),u.report({node:J.identifiers[0],messageId:ke,data:Z})}}}return{"Program:exit"(K){const X=f.getScope(K).childScopes.slice();for(;X.length;){const J=X.pop();X.push(...J.childScopes),_(J)}}}}},Qu}var Zu,ME;function tD(){if(ME)return Zu;ME=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,jE;function rD(){return jE||(jE=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,UE;function nD(){if(UE)return tc;UE=1;const a=Le();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,qE;function sD(){return qE||(qE=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,VE;function aD(){if(VE)return nc;VE=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,$E;function iD(){return $E||($E=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,WE;function oD(){return WE||(WE=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,GE;function lD(){if(GE)return ic;GE=1;const a=Le();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(d){return!d.reachable||l[d.id]?.superCalled}function u(){return!!(t&&t.isConstructor&&t.hasExtends)}function r(d){for(const s of d)if(!p(s))return!1;return!0}function m(){return u()&&!r(t.currentSegments)}function i(d){const s=t.currentSegments;for(const f of s)f.reachable&&l[f.id].invalidNodes.push(d)}function c(){const d=t.currentSegments;for(const s of d)s.reachable&&(l[s.id].superCalled=!0)}return{onCodePathStart(d,s){if(e(s)){const f=s.parent.parent.parent;t={upper:t,isConstructor:!0,hasExtends:!!(f.superClass&&!a.isNullOrUndefined(f.superClass)),codePath:d,currentSegments:new Set}}else t={upper:t,isConstructor:!1,hasExtends:!1,codePath:d,currentSegments:new Set}},onCodePathEnd(d){const s=t.hasExtends;if(t=t.upper,!s)return;const f=new Set;d.traverseSegments((g,h)=>{const E=l[g.id],S=E.invalidNodes.filter(C=>!f.has(C));for(const C of S)f.add(C),o.report({messageId:"noBeforeSuper",node:C,data:{kind:C.type==="Super"?"super":"this"}});E.superCalled&&h.skip()})},onCodePathSegmentStart(d){t.currentSegments.add(d),u()&&(l[d.id]={superCalled:d.prevSegments.length>0&&d.prevSegments.every(p),invalidNodes:[]})},onUnreachableCodePathSegmentStart(d){t.currentSegments.add(d)},onUnreachableCodePathSegmentEnd(d){t.currentSegments.delete(d)},onCodePathSegmentEnd(d){t.currentSegments.delete(d)},onCodePathSegmentLoop(d,s){u()&&t.codePath.traverseSegments({first:s,last:d},(f,g)=>{const h=l[f.id]??new n;h.superCalled?g.skip():f.prevSegments.length>0&&f.prevSegments.every(p)&&(h.superCalled=!0),l[f.id]=h})},ThisExpression(d){m()&&i(d)},Super(d){!a.isCallee(d)&&m()&&i(d)},"CallExpression:exit"(d){d.callee.type==="Super"&&m()&&c()},"Program:exit"(){l=Object.create(null)}}}},ic}var oc,zE;function uD(){if(zE)return oc;zE=1;const a=Le();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,HE;function cD(){if(HE)return lc;HE=1;const a=Le();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,d,s){e.report({node:c,loc:d,messageId:"trailingSpace",fix(f){return f.removeRange(s)}})}function i(c){const d=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++)d.add(g)}),d}return{Program:function(d){const s=new RegExp(l,"u"),f=new RegExp(t,"u"),g=n.lines,h=n.getText().match(a.createGlobalLinebreakMatcher()),E=n.getAllComments(),S=i(E);let C=0;for(let T=0,x=g.length;T<x;T++){const v=T+1,A=h&&h[T]?h[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=C+k.start.column,F=C+k.end.column,L=n.getNodeByRangeIndex(R);if(L&&L.type==="TemplateElement"&&R>L.parent.range[0]&&F<L.parent.range[1]){C+=b;continue}if(u&&f.test(g[T])){C+=b;continue}const P=[R,F];(!r||!S.has(v))&&m(d,k,P)}C+=b}}}}},lc}var uc,KE;function fD(){return KE||(KE=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,XE;function pD(){if(XE)return cc;XE=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,JE;function mD(){if(JE)return fc;JE=1;const a=Le(),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,YE;function dD(){return YE||(YE=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,QE;function hD(){return QE||(QE=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 d(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 h(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;d(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"&&d(A)&&!c(A)&&a.report({node:v,messageId:"unexpectedUnderscore",data:{identifier:A}})}h(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;d(k)&&!f(k)&&!c(k)&&!(p&&R.type==="ArrayPattern")&&!(u&&R.type==="ObjectPattern")&&a.report({node:v,messageId:"unexpectedUnderscore",data:{identifier:k}})})}function C(v){const A=v.property.name,b=v.object.type==="ThisExpression",w=v.object.type==="Super",k=g(v);typeof A<"u"&&d(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&&d(A)&&!c(A)&&a.report({node:v,messageId:"unexpectedUnderscore",data:{identifier:v.key.type==="PrivateIdentifier"?`#${A}`:A}})}function x(v){const A=v.key.name;typeof A<"u"&&d(A)&&r&&!c(A)&&a.report({node:v,messageId:"unexpectedUnderscore",data:{identifier:v.key.type==="PrivateIdentifier"?`#${A}`:A}})}return{FunctionDeclaration:E,VariableDeclarator:S,MemberExpression:C,MethodDefinition:T,PropertyDefinition:x,Property:T,FunctionExpression:E,ArrowFunctionExpression:E}}}),mc}var dc,ZE;function gD(){if(ZE)return dc;ZE=1;const a=Le();return dc={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")}}}},dc}var hc,eS;function yD(){if(eS)return hc;eS=1;const a=ra(),e=Le(),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 h=f.range,E=g.identifier.range;return h[0]<=E[0]&&E[1]<=h[1]}const c={WhileStatement:i,DoWhileStatement:i,ForStatement(f,g){return i(f,g)&&!(f.init&&i(f.init,g))}};function d(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 h=0;h<f.length;++h){const E=f[h];for(let S=0;!E.modified&&S<g.length;++S){const C=g[S];let T,x;const v=E.isInLoop(C)||!!((T=d(C))&&(x=e.getVariableByName(C.from.upper,T.id.name))&&x.references.some(E.isInLoop));E.modified=v}}}return hc={meta:{type:"problem",docs:{description:"Disallow unmodified loop conditions",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-unmodified-loop-condition"},schema:[],messages:{loopConditionNotModified:"'{{name}}' is not modified in this loop."}},create(f){const g=f.sourceCode;let h=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=h.get(w.group);k||(k=[],h.set(w.group,k)),k.push(w)}}}function C(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 x(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(x).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)];h=new Map;let w;for(;w=b.pop();)b.push(...w.childScopes),w.variables.forEach(v);h.forEach(C),h=null}}}},hc}var gc,tS;function vD(){if(tS)return gc;tS=1;const a=Le(),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 d=p.getFirstTokenBetween(c.left,c.right,f=>f.value===c.operator),s=p.getText();return s.slice(c.range[0],d.range[0])+n[c.operator]+s.slice(d.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(d){return c.consequent.value===c.alternate.value?c.test.type==="Identifier"?d.replaceText(c,c.consequent.value.toString()):null:c.alternate.value?d.replaceText(c,r(c.test)):d.replaceText(c,m(c.test)?a.getParenthesisedText(p,c.test):`!${r(c.test)}`)}}):!l&&i(c)&&t.report({node:c,messageId:"unnecessaryConditionalAssignment",fix(d){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 d.replaceText(c,`${g} || ${f}`)}})}}}},gc}var yc,rS;function ED(){if(rS)return yc;rS=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 d of c.body.body)d.type==="PropertyDefinition"&&!d.static&&r(d)},"CallExpression > Super.callee"(){t&&(t.hasSuperCall=!0)}}}},yc}var vc,nS;function SD(){if(nS)return vc;nS=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(d){c.add(d)},onUnreachableCodePathSegmentEnd(d){c.delete(d)},onCodePathSegmentEnd(d){c.delete(d)},onCodePathSegmentStart(d,s){if(c.add(d),n(s)){const f=s.parent;r.set(d,f)}},onCodePathSegmentLoop(d,s,f){const g=r.get(s);(f===g||f.type==="ContinueStatement")&&m.delete(g)},[u](d){e(c)&&m.add(d)},"Program:exit"(){m.forEach(d=>t.report({node:d,messageId:"invalid"}))}}}},vc}var Ec,sS;function bD(){if(sS)return Ec;sS=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,aS;function xD(){if(aS)return Sc;aS=1;const a=Le();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 d=[l.getFirstToken(u.left).range[1],u.range[1]],s=l.text.slice(d[0],d[1]);return i.replaceTextRange(d,`(${s})`)}},{messageId:"suggestParenthesisedNegation",fix(i){return i.replaceText(u.left,`(${l.getText(u.left)})`)}}]})}}}},Sc}var bc,iS;function CD(){if(iS)return bc;iS=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,d){if(c)switch(c.type){case"LogicalExpression":c.operator==="||"||c.operator==="??"?r(c.right,d):c.operator==="&&"&&(r(c.left,d),r(c.right,d));break;case"SequenceExpression":r(c.expressions.at(-1),d);break;case"ConditionalExpression":r(c.consequent,d),r(c.alternate,d);break;case"AwaitExpression":r(c.argument,d);break;case"ChainExpression":d(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,oS;function wD(){if(oS)return xc;oS=1;const a=Le();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 h=0;h<g.length;++h)if(!f(g[h]))return g.slice(0,h);return g.slice()}function c(f){return i(m,f.body)}function d(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&&d(f))&&o.report({node:f,messageId:"unusedExpression"})}}}},xc}var Cc,lS;function AD(){if(lS)return Cc;lS=1;const a=Le();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,uS;function TD(){return uS||(uS=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,cS;function kD(){if(cS)return Ac;cS=1;const a=Le();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,$;switch(P){case"array-destructure":O=t.destructuredArrayIgnorePattern,$="elements of array destructuring";break;case"catch-clause":O=t.caughtErrorsIgnorePattern,$="caught errors";break;case"parameter":O=t.argsIgnorePattern,$="args";break;case"variable":O=t.varsIgnorePattern,$="vars";break;default:throw new Error(`Unexpected variable type: ${P}`)}return O&&(O=O.toString()),[$,O]}function r(P){const O=P.defs&&P.defs[0];let $="";if(O){const[M,_]=u(p(O));_&&M&&($=`. Allowed unused ${M} must match ${_}`)}return{varName:P.name,action:"defined",additional:$}}function m(P){const O=P.defs&&P.defs[0];let $="";if(O){const[M,_]=u(p(O));_&&M&&($=`. Allowed unused ${M} must match ${_}`)}return{varName:P.name,action:"assigned a value",additional:$}}function i(P,O){const[$,M]=u(O);let _="";return M&&$&&(_=`. Used ${$} must not match ${M}`),{varName:P.name,additional:_}}const c=/(?:Statement|Declaration)$/u;function d(P){const O=P.defs[0];if(O){let $=O.node;if($.type==="VariableDeclarator")$=$.parent;else if(O.type==="Parameter")return!1;return $.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(M=>f(M.name.parent)),$=P.references.some(M=>f(M.identifier.parent));return O||$}return!1}function h(P){return P.isRead()}function E(P,O){let $=P.from;for(;$;){if(O.includes($.block))return!0;$=$.upper}return!1}function S(P){const O=[];return P.defs.forEach($=>{const{type:M,node:_}=$;M==="FunctionName"&&O.push(_),M==="Variable"&&_.init&&(_.init.type==="FunctionExpression"||_.init.type==="ArrowFunctionExpression")&&O.push(_.init)}),O}function C(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 x(P,O){const $=P.identifier,M=$.parent,_=P.from.variableScope,K=P.resolved.scope.variableScope,B=_!==K||a.isInLoop($);return O&&C($,O)?O:M.type==="AssignmentExpression"&&T(M)&&$===M.left&&!B?M.right:null}function v(P,O){let $=P,M=P.parent;for(;M&&C(M,O);){switch(M.type){case"SequenceExpression":if(M.expressions.at(-1)!==$)return!1;break;case"CallExpression":case"NewExpression":return M.callee!==$;case"AssignmentExpression":case"TaggedTemplateExpression":case"YieldExpression":return!0;default:if(c.test(M.type))return!0}$=M,M=M.parent}return!1}function A(P,O){const $=a.getUpperFunction(P);return $&&C($,O)&&v($,O)}function b(P,O){const $=P.identifier,M=$.parent;return P.isRead()&&(M.type==="AssignmentExpression"&&M.left===$&&T(M)&&!a.isLogicalAssignmentOperator(M.operator)||M.type==="UpdateExpression"&&T(M)||O&&C($,O)&&!A($,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),$=O.length>0;let M=null;return P.references.some(_=>{if(w(_))return!0;const K=b(_,M);return M=x(_,M),h(_)&&!K&&!($&&E(_,O))})}function R(P){const O=P.defs[0],$=n.getDeclaredVariables(O.node);return!$.slice($.indexOf(P)+1).some(_=>_.references.length>0||_.eslintUsed)}function F(P,O){const $=P.variables,M=P.childScopes;let _,K;if(P.type!=="global"||t.vars==="all")for(_=0,K=$.length;_<K;++_){const B=$[_];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 X=B.defs[0];if(X){const J=X.type,ge=B.references.some(ae=>ae.identifier.parent.type==="ArrayPattern");if((X.name.parent.type==="ArrayPattern"||ge)&&t.destructuredArrayIgnorePattern&&t.destructuredArrayIgnorePattern.test(X.name.name)){t.reportUsedIgnorePattern&&k(B)&&e.report({node:X.name,messageId:"usedIgnoredVar",data:i(B,"array-destructure")});continue}if(J==="ClassName"){const ae=X.node.body.body.some(ke=>ke.type==="StaticBlock");if(t.ignoreClassWithStaticInitBlock&&ae)continue}if(J==="CatchClause"){if(t.caughtErrors==="none")continue;if(t.caughtErrorsIgnorePattern&&t.caughtErrorsIgnorePattern.test(X.name.name)){t.reportUsedIgnorePattern&&k(B)&&e.report({node:X.name,messageId:"usedIgnoredVar",data:i(B,"catch-clause")});continue}}else if(J==="Parameter"){if((X.node.parent.type==="Property"||X.node.parent.type==="MethodDefinition")&&X.node.parent.kind==="set"||t.args==="none")continue;if(t.argsIgnorePattern&&t.argsIgnorePattern.test(X.name.name)){t.reportUsedIgnorePattern&&k(B)&&e.report({node:X.name,messageId:"usedIgnoredVar",data:i(B,"parameter")});continue}if(t.args==="after-used"&&a.isFunction(X.name.parent)&&!R(B))continue}else if(t.varsIgnorePattern&&t.varsIgnorePattern.test(X.name.name)){t.reportUsedIgnorePattern&&k(B)&&e.report({node:X.name,messageId:"usedIgnoredVar",data:i(B,"variable")});continue}}!k(B)&&!d(B)&&!(t.ignoreUsingDeclarations&&s(B))&&!g(B)&&O.push(B)}for(_=0,K=M.length;_<K;++_)F(M[_],O);return O}function L(P,O){const $=O.identifiers[0],M=$.parent,_=M.type,K=n.getTokenBefore($),B=n.getTokenAfter($),X=a.isFunction,J=a.isLoop,ge=O.references.filter(ne=>ne.isWrite());function ae(ne,we){return n.getTokenBefore(ne,we).range[0]}function ke(ne,we){return n.getTokenAfter(ne,we).range[1]}function Z(ne){return n.getTokenBefore(ne).value}function I(ne){return n.getTokenAfter(ne).value}function H(ne){return ne.elements.filter(we=>we!==null).length===1}function fe(ne,we){return ne.specifiers.some(z=>z.type===we)}function ce(ne,we){return ne.type==="String"||we&&!a.isSemicolonToken(we)&&!a.isOpeningBraceToken(we)}function ie(ne){const we=ne.parent;return X(we)?we.params.length===1?P.removeRange(ne.range):Z(ne)==="("&&I(ne)===","?P.removeRange([ne.range[0],ke(ne)]):P.removeRange([ae(ne),ne.range[1]]):null}function de(ne){const we=ne.parent;if(we.type==="VariableDeclarator"){if(J(we.parent.parent))return null;if(we.parent.declarations.length===1){const z=n.getTokenAfter(we.parent),oe=n.getTokenBefore(we.parent);return z&&ce(z,oe)?null:P.removeRange(we.parent.range)}return Z(we)===","?P.removeRange([ae(we),we.range[1]]):P.removeRange([we.range[0],ke(we)])}return Z(ne)===":"&&we.parent.type==="ObjectPattern"?Ae(ne):ie(ne)}function xe(ne){const we=ne.parent;return we.parent.parent.parent.type==="ObjectPattern"&&we.parent.properties.length===1?xe(we.parent):we.parent.type==="ObjectPattern"?we.parent.properties.length===1?de(we.parent):Z(we)==="{"?P.removeRange([we.range[0],ke(we)]):P.removeRange([ae(we),we.range[1]]):null}function be(ne){const we=ne.parent;return we.parent.type==="ArrayPattern"&&H(we)?be(we):H(we)?Z(we)===":"?de(we):we.parent.type==="RestElement"?ee(we.parent):de(we):Z(ne)===","&&I(ne)==="]"?P.removeRange([ae(ne),ne.range[1]]):P.removeRange(ne.range)}function Ae(ne){const we=ne.parent.parent;return we.parent.type==="ArrayPattern"&&we.properties.length===1?be(we):xe(ne)}function ee(ne){const we=ne.parent;return X(we)?we.params.length===1?P.removeRange(ne.range):P.removeRange([ae(ne),ne.range[1]]):we.type==="ArrayPattern"?H(we)?we.parent.type==="ArrayPattern"?be(we):de(we):P.removeRange([ae(ne),ne.range[1]]):null}if(ge.some(ne=>ne.identifier.range[0]!==$.range[0]))return null;if(_==="VariableDeclarator"){if(M.parent.declarations.length===1){if(J(M.parent.parent)&&M.parent.parent.body!==M.parent)return null;if(M.parent.parent.type==="IfStatement"||J(M.parent.parent)||M.parent.parent.type==="WithStatement"&&M.parent.parent.body===M.parent)return P.replaceText(M.parent,";");const ne=n.getTokenAfter(M.parent),we=n.getTokenBefore(M.parent);return ne&&ce(ne,we)?null:P.removeRange(M.parent.range)}return K.value===","?P.removeRange([K.range[0],M.range[1]]):P.removeRange([M.range[0],ke(M)])}if(M.parent.type==="ObjectPattern"){if(M.parent.properties.length===1)return M.parent.parent.type==="RestElement"?ee(M.parent.parent):M.parent.parent.type==="ArrayPattern"?be(M.parent):de(M.parent);if(K.value===":")return Z(M)==="{"&&I(M)===","?P.removeRange([M.range[0],ke(M)]):P.removeRange([ae(M),$.range[1]])}if(_==="ArrayPattern"){if(H(M))return M.parent.type==="RestElement"?ee(M.parent):M.parent.type==="ArrayPattern"?be(M):de(M);if(K.value===","&&B.value===",")return P.removeRange($.range)}if(_==="RestElement"){if(M.parent.type==="ArrayPattern")return H(M.parent)?M.parent.parent.type==="ArrayPattern"?be(M.parent):de(M.parent):P.removeRange([ae($,1),$.range[1]]);if(M.parent.type==="ObjectPattern")return M.parent.properties.length===1?de(M.parent):P.removeRange([ae($,1),$.range[1]]);if(X(M.parent))return M.parent.params.length===1?P.removeRange(M.range):P.removeRange([ae(M),M.range[1]])}if(_==="AssignmentPattern"){if(M.parent.type==="ArrayPattern")return be(M);if(M.parent.parent.type==="ObjectPattern")return M.parent.parent.properties.length===1?M.parent.parent.parent.type==="ArrayPattern"?be(M.parent.parent):de(M.parent.parent):Z(M.parent)==="{"&&I(M.parent)===","?P.removeRange([M.parent.range[0],ke(M.parent)]):P.removeRange([ae(M.parent),M.parent.range[1]]);if(X(M.parent))return ie(M)}if(_==="FunctionDeclaration"&&M.id===$)return P.removeRange(M.range);if(_==="ImportDefaultSpecifier")return!fe(M.parent,"ImportSpecifier")&&!fe(M.parent,"ImportNamespaceSpecifier")?P.removeRange([M.range[0],M.parent.source.range[0]]):P.removeRange([$.range[0],B.range[1]]);if(_==="ImportSpecifier")return M.parent.specifiers.filter(ne=>ne.type==="ImportSpecifier").length===1?fe(M.parent,"ImportDefaultSpecifier")?P.removeRange([ae(M,1),B.range[1]]):P.removeRange(M.parent.range):Z(M)==="{"?P.removeRange([M.range[0],ke(M)]):P.removeRange([ae(M),M.range[1]]);if(_==="ImportNamespaceSpecifier")return fe(M.parent,"ImportDefaultSpecifier")?P.removeRange([ae(M),M.range[1]]):P.removeRange([M.range[0],M.parent.source.range[0]]);if(_==="CatchClause")return null;if(_==="ClassDeclaration")return P.removeRange(M.range);if(K?.value===",")return P.removeRange([K.range[0],$.range[1]]);if(B.value===","){if(K.value==="(")return P.removeRange([$.range[0],B.range[1]]);if(K.value==="{")return P.removeRange([$.range[0],B.range[1]])}return _==="ArrowFunctionExpression"&&M.params.length===1&&B?.value!==")"?P.replaceText($,"()"):P.removeRange($.range)}return{"Program:exit"(P){const O=F(n.getScope(P),[]);for(let $=0,M=O.length;$<M;++$){const _=O[$];if(_.defs.length>0){const K=_.references.filter(X=>X.isWrite()&&X.from.variableScope===_.scope.variableScope);let B;K.length>0&&(B=K.at(-1)),e.report({node:B?B.identifier:_.identifiers[0],messageId:"unusedVar",data:_.references.some(X=>X.isWrite())?m(_):r(_),suggest:[{messageId:"removeVar",data:{varName:_.name},fix(X){return L(X,_)}}]})}else if(_.eslintExplicitGlobalComments){const K=_.eslintExplicitGlobalComments[0];e.report({node:P,loc:a.getNameLocationInGlobalDirectiveComment(n,K,_.name),messageId:"unusedVar",data:r(_)})}}}}}},Ac}var Tc,fS;function DD(){if(fS)return Tc;fS=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(d=>d.type==="StaticBlock"&&o(d,c)||d.type==="PropertyDefinition"&&d.static&&d.value&&o(d.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 d=i.from;for(;c.scope.variableScope!==d.variableScope;)if(l(d.variableScope))d=d.variableScope.upper;else return!0;return!1}function u(i){if(p(i))return!1;const c=i.identifier.range[1],d=i.resolved.defs[0];if(d.type==="ClassName"){const f=d.node;return o(f,c)&&!t(f.body,c)}let s=d.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 d of i.defs[0].node.decorators)if(c.identifier.range[0]>=d.range[0]&&c.identifier.range[1]<=d.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]),d=i.sourceCode;function s(g){if(g.init)return!1;const{identifier:h}=g;if(c.allowNamedExports&&h.parent.type==="ExportSpecifier"&&h.parent.local===h)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(h)||h.parent.type==="TSTypeReference"))return!1;if(h.parent.type==="TSQualifiedName"){let C=h.parent;for(;C.type==="TSQualifiedName";)C=C.left;return C===h}return!m(E,g)}function f(g){g.references.filter(s).forEach(h=>{const S=h.resolved.defs[0].name;(h.identifier.range[1]<S.range[1]||u(h)&&h.identifier.parent.type!=="TSTypeReference")&&i.report({node:h.identifier,messageId:"usedBeforeDefined",data:h.identifier})}),g.childScopes.forEach(f)}return{Program(g){f(d.getScope(g))}}}},Tc}var kc,pS;function ID(){if(pS)return kc;pS=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 d(s,f){if(i.tryStatementBlocks.some(T=>T.range[0]<=s.identifier.range[0]&&s.identifier.range[1]<=T.range[1]))return;const h={results:[],subsequentSegments:new Set,queueSegments:s.segments.flatMap(T=>T.nextSegments)};function*E(){for(yield*h.results;h.queueSegments.length>0;){const T=h.queueSegments.shift();if(h.subsequentSegments.has(T))continue;h.subsequentSegments.add(T);const x=f.find(A=>A.segments.includes(T)&&!o(A,s.identifier));x||h.queueSegments.push(...T.nextSegments);const v={segment:T,assignment:x};h.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 C=f.find(T=>T===s||T.segments.length&&T.segments.every(x=>!s.segments.includes(x))?!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(x=>c(x,T.identifier)))){if(C&&n(C,T.identifier))continue;return}if(!C){for(const x of E())if(c(x.segment,T.identifier)){if(x.assignment&&n(x.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)d(f,s)}}return{onCodePathStart(i,c){const d=l.getScope(c);p={upper:p,codePath:i,scope:d,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 d=p.segments[c.id];d.first||(d.first=i),d.last=i}},":matches(VariableDeclarator[init!=null], AssignmentExpression, UpdateExpression):exit"(i){if(p.currentSegments.size===0)return;const c=p.assignments;let d,s=null;i.type==="VariableDeclarator"?(d=i.id,s=i.init):i.type==="AssignmentExpression"?(d=i.left,s=i.right):d=i.argument;for(const f of e(d)){const g=l.getScope(f),h=a(g,f);if(!h||h.scope.type==="global"&&h.defs.length===0||p.scope!==r(h.scope)||h.eslintUsed||h.scope.type==="module"&&(h.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"))||h.references.some(S=>S.identifier.parent.type==="ExportSpecifier")))continue;let E=c.get(h);E||(E=[],c.set(h,E)),E.push({variable:h,identifier:f,node:i,expression:s,segments:[...p.currentSegments]})}}}}},kc}var Dc,mS;function PD(){if(mS)return Dc;mS=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 d=i;do c.push(d),d=d.parent;while(d);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 d(s,f,g){let h;try{h=p.parsePattern(f,0,f.length,{unicode:g.includes("u"),unicodeSets:g.includes("v")})}catch{return}l(h,{onBackreferenceEnter(E){const S=[E.resolved].flat(),C=u(E),T=S.map(R=>{const F=u(R);if(C.includes(R))return{messageId:"nested",group:R};let L=C.length-1,P=F.length-1;do L--,P--;while(C[L]===F[P]);const O=P+1,$=F.slice(0,O),M=F.slice(O),_=M.find(r),K=_&&_.kind==="lookbehind";return $.at(-1).type==="Alternative"?{messageId:"disjunctive",group:R}:!K&&E.end<=R.start?{messageId:"forward",group:R}:K&&R.end<=E.start?{messageId:"backward",group:R}:$.some(m)?{messageId:"intoNegativeLookaround",group:R}:null});if(T.length===0||T.some(R=>!R))return;let x;const v=T.filter(R=>R.messageId!=="disjunctive");v.length?x=v:x=T;const[{messageId:A,group:b},...w]=x;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;d(s,f,g)},Program(s){const f=c.getScope(s),g=new n(f),h={RegExp:{[a]:!0,[e]:!0}};for(const{node:E}of g.iterateGlobalReferences(h)){const[S,C]=E.arguments,T=o(S,f),x=o(C,f);typeof T=="string"&&d(E,T,x||"")}}}}},Dc}var Ic,dS;function FD(){if(dS)return Ic;dS=1;const a=Le();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 RD(){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,gS;function _D(){if(gS)return Fc;gS=1;const a=Le();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 d=o.getTokenBefore(i),f=(d.range[1]===i.range[0]&&!a.canTokensBeAdjacent(d,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,yS;function BD(){if(yS)return Rc;yS=1;const a=Le();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,vS;function LD(){if(vS)return _c;vS=1;const a=Le();function e(c){return c.value.params.some(d=>d.decorators?.length||d.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,d){return c.type==="Identifier"&&d.type==="Identifier"&&c.name===d.name}function u(c,d){return c.type==="RestElement"&&d.type==="SpreadElement"&&p(c.argument,d.argument)}function r(c,d){return p(c,d)||u(c,d)}function m(c,d){if(c.length!==d.length)return!1;for(let s=0;s<c.length;++s)if(!r(c[s],d[s]))return!1;return!0}function i(c,d){return o(c)&&d.every(t)&&(l(c[0].expression.arguments)||m(d,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 d(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),C=S.type==="Punctuator"&&S.value==="["&&a.needsPrecedingSemicolon(c.sourceCode,s);yield E.replaceText(s,C?";":"")}}]})}return{MethodDefinition:d}}},_c}var Bc,ES;function OD(){if(ES)return Bc;ES=1;const a=Le(),{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,d=new e;function s(E,S,C,T){const x=E.range[0]+S,v=[x,x+1],A=i.getLocFromIndex(x);m.report({node:E,loc:{start:A,end:{line:A.line,column:A.column+1}},messageId:"unnecessaryEscape",data:{character:C},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 C=E.type==="TemplateElement",T=S[0][1];let x=!t.has(T),v;C?(v=T==="`",T==="$"?x=S.input[S.index+2]!=="{":T==="{"&&(x=S.input[S.index-1]!=="$")):v=T===E.raw[0],x&&!v&&s(E,S.index,S[0].slice(1))}function g(E){const{pattern:S,flags:C}=E.regex;let T;const x=C.includes("u"),v=C.includes("v");try{T=d.parsePattern(S,0,S.length,{unicode:x,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 h(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 C=S?i.getText(E):E.raw,T=/\\\D/gu;let x;for(;x=T.exec(C);)f(E,x)}else E.regex&&g(E)}return{Literal:h,TemplateElement:h}}},Bc}var Lc,SS;function ND(){if(SS)return Lc;SS=1;const a=Le();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,d){const s=c.type==="Identifier"?c.name:c.value;return e.report({node:i,messageId:"unnecessarilyRenamed",data:{name:s,type:d},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 d=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;d===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,bS;function MD(){if(bS)return Oc;bS=1;const a=Le(),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,h){const E=h||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 d(f,g){if(!f.reachable){g.add(f),f.allPrevSegments.filter(i).filter(E=>!g.has(E)).forEach(E=>d(E,g));return}const h=u.get(f);h&&(h.uselessReturns=h.uselessReturns.filter(E=>{if(m.traversedTryBlockStatements&&m.traversedTryBlockStatements.length>0){const S=E.range[0],C=E.range[1];if(m.traversedTryBlockStatements.some(x=>{const v=x.range[0],A=x.range[1];return S>=v&&C<=A}))return!0}return n(m.uselessReturns,E),!1}))}function s(){m.currentSegments.forEach(f=>d(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 h=u.get(g);h&&(h.uselessReturns.push(f),h.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,xS;function jD(){if(xS)return Nc;xS=1;const a=Le();function e(d){return!!d.scope&&d.scope.type==="global"}function n(d){let s=d;for(;s.type!=="function"&&s.type!=="global";)s=s.upper;return s}function o(d){const s=n(d.scope);return d.references.some(f=>n(f.from)!==s)}function t(d){return(d.parent.type==="ForOfStatement"||d.parent.type==="ForInStatement")&&d===d.parent.left}function l(d){return d.declarations.every(s=>s.init!==null)}const p=/^(?:Program|BlockStatement|SwitchStatement|ForStatement|ForInStatement|ForOfStatement)$/u;function u(d){for(let s=d;s;s=s.parent)if(p.test(s.type))return s;return null}function r(d){return d.defs.length>=2}function m(d){function s(f){const g=d.range,h=f.identifier.range;return h[0]<g[0]||h[1]>g[1]}return function(f){return f.references.some(s)}}function i(d){const s=d.range[0],f=d.range[1];return g=>{const h=g.defs[0].name,E=h.range[0],S=h.parent.type==="AssignmentPattern"?h.parent.right:null,C=S&&S.range[0],T=S&&S.range[1];return g.references.some(x=>{const v=x.identifier.range[0],A=x.identifier.range[1];return!x.init&&(v<E||S!==null&&v>=C&&A<=T||!a.isFunction(d)&&v>=s&&A<=f)})}}function c(d){return d.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(d){const s=d.sourceCode;function f(E){return E.init?s.getDeclaredVariables(E).some(i(E.init)):!1}function g(E){const S=s.getDeclaredVariables(E),C=u(E);return!(E.parent.type==="SwitchCase"||E.declarations.some(f)||S.some(e)||S.some(r)||S.some(m(C))||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 h(E){d.report({node:E,messageId:"unexpectedVar",fix(S){const C=s.getFirstToken(E,{filter:T=>T.value==="var"});return g(E)?S.replaceText(C,"let"):null}})}return{"VariableDeclaration:exit"(E){E.kind==="var"&&(E.parent.type==="TSModuleBlock"&&E.parent.parent.type==="TSModuleDeclaration"&&E.parent.parent.global||h(E))}}}},Nc}var Mc,CS;function UD(){return CS||(CS=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,wS;function qD(){if(wS)return jc;wS=1;const a=Rn(),e=Le(),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),h="\\b";let E="";p==="start"?E=`^[\\s${r}]*`:/^\w/u.test(f)&&(E=h);const S=/\w$/u.test(f)?h:"",C="iu";return new RegExp(`${E}${g}${S}`,C)}const c=u.map(i);function d(f){const g=[];return c.forEach((h,E)=>{h.test(f)&&g.push(u[E])}),g}function s(f){const g=f.value;if(e.isDirectiveComment(f)&&m.test(g))return;d(g).forEach(E=>{let S="",C=!1;for(const T of g.trim().split(/\s+/u)){const x=S?`${S} ${T}`:T;if(x.length<=n)S=x;else{C=!0;break}}o.report({node:f,messageId:"unexpectedComment",data:{matchedTerm:E,comment:`${S}${C?"...":""}`}})})}return{Program(){t.getAllComments().filter(g=>g.type!=="Shebang").forEach(s)}}}},jc}var Uc,AS;function VD(){if(AS)return Uc;AS=1;const a=Le();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,TS;function $D(){return TS||(TS=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,kS;function WD(){if(kS)return Vc;kS=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,DS;function GD(){if(DS)return $c;DS=1;const a=Le(),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(d=>d.type==="ImportSpecifier"||d.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 d=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}),h=r.getTokenBefore(f,{includeComments:!0});const E=p(c,d,g,h),S=a.isCommentToken(g),C=a.isCommentToken(h);if(g=r.getTokenAfter(s),h=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(h,f)&&u.report({messageId:"expectedLinebreakBeforeClosingBrace",node:c,loc:f.loc,fix(T){return C?null:T.insertTextBefore(f,`
106
+ `)}});else{const T=d.consistent,x=!a.isTokenOnSameLine(s,g),v=!a.isTokenOnSameLine(h,f);(!T&&x||T&&x&&!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&&!x&&v)&&u.report({messageId:"unexpectedLinebreakBeforeClosingBrace",node:c,loc:f.loc,fix(A){return C?null:A.removeRange([h.range[1],f.range[0]])}})}}return{ObjectExpression:i,ObjectPattern:i,ImportDeclaration:i,ExportNamedDeclaration:i}}},$c}var Wc,IS;function zD(){if(IS)return Wc;IS=1;const a=Le();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,h){const E=e.sourceCode.getTokenAfter(h,{includeComments:!0});e.report({node:g,loc:{start:h.loc.end,end:E.loc.start},messageId:"unexpectedSpaceAfter",data:{token:h.value},fix(S){return S.removeRange([h.range[1],E.range[0]])}})}function u(g,h){const E=e.sourceCode.getTokenBefore(h,{includeComments:!0});e.report({node:g,loc:{start:E.loc.end,end:h.loc.start},messageId:"unexpectedSpaceBefore",data:{token:h.value},fix(S){return S.removeRange([E.range[1],h.range[0]])}})}function r(g,h){e.report({node:g,loc:h.loc,messageId:"requireSpaceAfter",data:{token:h.value},fix(E){return E.insertTextAfter(h," ")}})}function m(g,h){e.report({node:g,loc:h.loc,messageId:"requireSpaceBefore",data:{token:h.value},fix(E){return E.insertTextBefore(h," ")}})}function i(g,h,E,S,C){if(a.isTokenOnSameLine(h,E)){const T=o.isSpaceBetweenTokens(h,E);l.spaced&&!T&&r(g,h),!l.spaced&&T&&E.type!=="Line"&&p(g,h)}if(a.isTokenOnSameLine(S,C)){const x=(l.arraysInObjectsException&&a.isClosingBracketToken(S)||l.objectsInObjectsException&&a.isClosingBraceToken(S))&&o.getNodeByRangeIndex(S.range[0]).type,v=l.arraysInObjectsException&&x==="ArrayExpression"||l.objectsInObjectsException&&(x==="ObjectExpression"||x==="ObjectPattern")?!l.spaced:l.spaced,A=o.isSpaceBetweenTokens(S,C);v&&!A&&m(g,C),!v&&A&&u(g,C)}}function c(g){const h=g.properties.at(-1);return o.getTokenAfter(h,a.isClosingBraceToken)}function d(g){if(g.properties.length===0)return;const h=o.getFirstToken(g),E=c(g),S=o.getTokenAfter(h,{includeComments:!0}),C=o.getTokenBefore(E,{includeComments:!0});i(g,h,S,C,E)}function s(g){if(g.specifiers.length===0)return;let h=g.specifiers[0];const E=g.specifiers.at(-1);if(E.type!=="ImportSpecifier")return;h.type!=="ImportSpecifier"&&(h=g.specifiers[1]);const S=o.getTokenBefore(h),C=o.getTokenAfter(E,a.isNotCommaToken),T=o.getTokenAfter(S,{includeComments:!0}),x=o.getTokenBefore(C,{includeComments:!0});i(g,S,T,x,C)}function f(g){if(g.specifiers.length===0)return;const h=g.specifiers[0],E=g.specifiers.at(-1),S=o.getTokenBefore(h),C=o.getTokenAfter(E,a.isNotCommaToken),T=o.getTokenAfter(S,{includeComments:!0}),x=o.getTokenBefore(C,{includeComments:!0});i(g,S,T,x,C)}return{ObjectPattern:d,ObjectExpression:d,ImportDeclaration:s,ExportNamedDeclaration:f}}},Wc}var Gc,PS;function HD(){return PS||(PS=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,FS;function KD(){if(FS)return zc;FS=1;const a={always:"always",never:"never",methods:"methods",properties:"properties",consistent:"consistent",consistentAsNeeded:"consistent-as-needed"},e=Le();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,d=m.avoidQuotes,s=!!m.avoidExplicitReturnArrows,f=n.sourceCode,g=/[^_$0-9]/u;function h(P){const O=g.exec(P);if(!O)return!1;const $=P.charAt(O.index);return $===$.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 C(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 x(P,O){const $=P.properties.filter(E);if($.length>0){const M=$.filter(C);M.length!==$.length&&(M.length>0?n.report({node:P,messageId:"unexpectedMix"}):O&&$.every(T)&&n.report({node:P,messageId:"expectedAllPropertiesShorthanded"}))}}function v(P,O){const $=O.computed?f.getFirstToken(O,e.isOpeningBracketToken):f.getFirstToken(O.key),M=O.computed?f.getFirstTokenBetween(O.key,O.value,e.isClosingBracketToken):f.getLastToken(O.key),_=f.text.slice($.range[0],M.range[1]);let K="";if(f.commentsExistBetween(M,O.value))return null;O.value.async&&(K+="async "),O.value.generator&&(K+="*");const B=[$.range[0],O.range[1]],X=K+_;if(O.value.type==="FunctionExpression"){const ce=f.getTokens(O.value).find(de=>de.type==="Keyword"&&de.value==="function"),ie=O.value.generator?f.getTokenAfter(ce):ce;return P.replaceTextRange(B,X+f.text.slice(ie.range[1],O.value.range[1]))}const J=f.getTokenBefore(O.value.body,e.isArrowToken),ge=f.text.slice(J.range[1],O.value.range[1]),ke=f.getFirstToken(O.value,{skip:O.value.async?1:0}).range[0],Z=f.getTokenBefore(J).range[1],I=O.value.params.length===1&&O.value.params[0].range[0]===ke,H=f.text.slice(ke,Z),fe=I?`(${H})`:H;return P.replaceTextRange(B,X+fe+ge)}function A(P,O){const $=O.computed?f.getTokens(O).find(B=>B.value==="["):f.getFirstToken(O.key),M=O.computed?f.getTokensBetween(O.key,O.value).find(B=>B.value==="]"):f.getLastToken(O.key),_=f.text.slice($.range[0],M.range[1]);let K="function";return O.value.async&&(K=`async ${K}`),O.value.generator&&(K=`${K}*`),P.replaceTextRange([O.range[0],M.range[1]],`${_}: ${K}`)}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($=>$.identifier).forEach($=>k.add($))})}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?x(P,!1):r&&x(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||d&&S(P.key))){const $=p?"expectedMethodLongform":"expectedLiteralMethodLongform";n.report({node:P,messageId:$,fix:M=>A(M,P)})}else p&&n.report({node:P,messageId:"expectedPropertyLongform",fix:$=>$.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"&&h(P.key.name))return;if(c){const $=e.getStaticPropertyName(P);if($!==null&&c.test($))return}if(d&&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:$=>v($,P)})}else if(P.value.type==="Identifier"&&P.key.name===P.value.name&&l)n.report({node:P,messageId:"expectedPropertyShorthand",fix($){return f.getCommentsInside(P).length>0?null:$.replaceText(P,P.value.name)}});else if(P.value.type==="Identifier"&&P.key.type==="Literal"&&P.key.value===P.value.name&&l){if(d)return;n.report({node:P,messageId:"expectedPropertyShorthand",fix($){return f.getCommentsInside(P).length>0?null:$.replaceText(P,P.value.name)}})}}}}}},zc}var Hc,RS;function XD(){if(RS)return Hc;RS=1;const a=Le();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 d(){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 h(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 C(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:(h(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 $=r.getTokenAfter(P);yield L.remove($)}yield L.replaceText(P,"")}}}function x(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],$=O.type==="VariableDeclaration",M=R.concat(O.declarations||[]);if($&&O.kind===w&&!(M.some(g)&&!M.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(!C(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:x(A)}):u[k].initialized===t&&F.initialized>0?n.report({node:A,messageId:"splitInitialized",data:{type:w},fix:x(A)}):u[k].uninitialized===t&&F.uninitialized>0&&n.report({node:A,messageId:"splitUninitialized",data:{type:w},fix:x(A)}))}return{Program:d,FunctionDeclaration:d,FunctionExpression:d,ArrowFunctionExpression:d,StaticBlock:d,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,_S;function JD(){return _S||(_S=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,BS;function YD(){if(BS)return Xc;BS=1;const a=Le();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,d=i.right,s=d.operator;if(e(s)||n(s)){const f=`${s}=`;a.isSameReference(c,d.left,!0)?t.report({node:i,messageId:"replaced",data:{operator:f},fix(g){if(o(c)&&o(d.left)){const h=u(i),E=u(d),S=p.getText().slice(i.range[0],h.range[0]),C=p.getText().slice(E.range[1],i.right.range[1]);return p.commentsExistBetween(h,E)?null:g.replaceText(i,`${S}${f}${C}`)}return null}}):a.isSameReference(c,d.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 d=p.getFirstToken(i),s=u(i),f=p.getText().slice(i.range[0],s.range[0]),g=i.operator.slice(0,-1);let h;if(p.commentsExistBetween(d,s))return null;if(a.getPrecedence(i.right)<=a.getPrecedence({type:"BinaryExpression",operator:g})&&!a.isParenthesised(p,i.right))h=`${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=" "),h=`${S}${p.text.slice(s.range[1],i.range[1])}`}return c.replaceText(i,`${f}= ${f}${g}${h}`)}return null}})}return{AssignmentExpression:l?m:r}}},Xc}var Jc,LS;function QD(){if(LS)return Jc;LS=1;const a=Le();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 d=>{const s=p.getTokenBefore(i),f=p.getTokenAfter(i),g=p.text.slice(s.range[1],i.range[0]),h=p.text.slice(i.range[1],f.range[0]),E=!a.isTokenOnSameLine(s,i),S=!a.isTokenOnSameLine(i,f);let C,T;if(E!==S&&c!=="none"){if(p.getTokenBefore(i,{includeComments:!0})!==s&&p.getTokenAfter(i,{includeComments:!0})!==f)return null;C=h,T=g}else{const x=a.createGlobalLinebreakMatcher();if(C=c==="before"||g.trim()?g:g.replace(x,""),T=c==="after"||h.trim()?h:h.replace(x,""),C===g&&T===h)return null}return T===""&&f.type==="Punctuator"&&"+-".includes(i.value)&&f.value===i.value&&(T+=" "),d.replaceTextRange([s.range[1],f.range[0]],C+i.value+T)}}function r(i,c,d){const s=p.getTokenBefore(c,C=>C.value===d),f=p.getTokenBefore(s),g=p.getTokenAfter(s),h=l[d],E=h||o,S=u(s,E);a.isTokenOnSameLine(f,s)&&a.isTokenOnSameLine(s,g)||(h!=="ignore"&&!a.isTokenOnSameLine(f,s)&&!a.isTokenOnSameLine(s,g)?e.report({node:i,loc:s.loc,messageId:"badLinebreak",data:{operator:d},fix:S}):E==="before"&&a.isTokenOnSameLine(f,s)?e.report({node:i,loc:s.loc,messageId:"operatorAtBeginning",data:{operator:d},fix:S}):E==="after"&&a.isTokenOnSameLine(s,g)?e.report({node:i,loc:s.loc,messageId:"operatorAtEnd",data:{operator:d},fix:S}):E==="none"&&e.report({node:i,loc:s.loc,messageId:"noLinebreak",data:{operator:d},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,OS;function ZD(){if(OS)return Yc;OS=1;const a=Le();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,h=f;do g=h,h=l.getTokenAfter(h,{includeComments:!0});while(u(h)&&h.loc.start.line===g.loc.end.line);return h}function i(f){let g=f,h;do h=g,g=l.getTokenBefore(g,{includeComments:!0});while(u(g)&&g.loc.end.line===h.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 d(f){const g=p(f),h=m(g),E=l.getTokenBefore(h,{includeComments:!0}),S=l.getLastToken(f),C=i(S),T=l.getTokenAfter(C,{includeComments:!0}),x=r(E,h),v=r(C,T);n.allowSingleLineBlocks&&a.isTokenOnSameLine(E,T)||(c(f)?(x||e.report({node:f,loc:{start:E.loc.start,end:h.loc.start},fix(A){return A.insertTextAfter(E,`
109
+ `)},messageId:"alwaysPadBlock"}),v||e.report({node:f,loc:{end:T.loc.start,start:C.loc.end},fix(A){return A.insertTextBefore(T,`
110
+ `)},messageId:"alwaysPadBlock"})):(x&&e.report({node:f,loc:{start:E.loc.start,end:h.loc.start},fix(A){return A.replaceTextRange([E.range[1],h.range[0]-h.loc.start.column],`
111
+ `)},messageId:"neverPadBlock"}),v&&e.report({node:f,loc:{end:T.loc.start,start:C.loc.end},messageId:"neverPadBlock",fix(A){return A.replaceTextRange([C.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&&d(f)}),Object.hasOwn(n,"blocks")&&(s.BlockStatement=function(f){f.body.length!==0&&d(f)},s.StaticBlock=s.BlockStatement),Object.hasOwn(n,"classes")&&(s.ClassBody=function(f){f.body.length!==0&&d(f)}),s}},Yc}var Qc,NS;function eI(){if(NS)return Qc;NS=1;const a=Le(),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:(C,T)=>T.getFirstToken(C).value===S}}function p(S){return{test:(C,T)=>C.loc.start.line===C.loc.end.line&&T.getFirstToken(C).value===S}}function u(S){return{test:(C,T)=>C.loc.start.line!==C.loc.end.line&&T.getFirstToken(C).value===S}}function r(S){return{test:C=>C.type===S}}function m(S){if(S.type==="ExpressionStatement"){let C=a.skipChainExpression(S.expression);return C.type==="UnaryExpression"&&(C=a.skipChainExpression(C.argument)),C.type==="CallExpression"&&a.isFunction(C.callee)}return!1}function i(S,C){if(C.type==="DoWhileStatement"&&C.body.type==="BlockStatement"||m(C))return!0;const T=S.getLastToken(C,a.isNotSemicolonToken),x=T&&a.isClosingBraceToken(T)?S.getNodeByRangeIndex(T.range[0]):null;return!!x&&(x.type==="BlockStatement"||x.type==="SwitchStatement")}function c(S,C){const T=S.getLastToken(C),x=S.getTokenBefore(T),v=S.getTokenAfter(T);return!!(x&&v&&x.range[0]>=C.range[0]&&a.isSemicolonToken(T)&&T.loc.start.line!==x.loc.end.line&&T.loc.end.line===v.loc.start.line)?x:T}function d(S,C,T){return C+T}function s(){}function f(S,C,T,x){x.length!==0&&S.report({node:T,messageId:"unexpectedBlankLine",fix(v){if(x.length>=2)return null;const A=x[0][0],b=x[0][1],w=A.range[1],k=b.range[0],R=S.sourceCode.text.slice(w,k).replace(n,d);return v.replaceTextRange([w,k],R)}})}function g(S,C,T,x){x.length>0||S.report({node:T,messageId:"expectedBlankLine",fix(v){const A=S.sourceCode;let b=c(A,C);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 h={any:{verify:s},never:{verify:f},always:{verify:g}},E={"*":{test:()=>!0},"block-like":{test:(S,C)=>i(C,S)},"cjs-export":{test:(S,C)=>S.type==="ExpressionStatement"&&S.expression.type==="AssignmentExpression"&&o.test(C.getText(S.expression.left))},"cjs-import":{test:(S,C)=>S.type==="VariableDeclaration"&&S.declarations.length>0&&!!S.declarations[0].init&&t.test(C.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,C)=>S.loc.start.line!==S.loc.end.line&&i(C,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(h)},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 C=S.sourceCode,T=S.options||[];let x=null;function v(){x={upper:x,prevNode:null}}function A(){x=x.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,C)}function w(L,P){for(let O=T.length-1;O>=0;--O){const $=T[O];if(b(L,$.prev)&&b(P,$.next))return h[$.blankLine]}return h.any}function k(L,P){const O=[];let $=c(C,L);if(P.loc.start.line-$.loc.end.line>=2)do{const M=C.getTokenAfter($,{includeComments:!0});M.loc.start.line-$.loc.end.line>=2&&O.push([$,M]),$=M}while($.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 $=x.prevNode;if($){const M=w($,L),_=k($,L);M.verify(S,$,L,_)}x.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,MS;function tI(){if(MS)return Zc;MS=1;const a=Le();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 d(){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":d,FunctionExpression:c,"FunctionExpression:exit"(s){const f=d();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 h=o(m.getScope(s));if(h&&h.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 C=m.getFirstToken(s,s.async?1:0),T=m.getTokenAfter(C,a.isOpeningParenToken),x=m.getTokenBefore(s.body);m.commentsExistBetween(C,T)?(yield S.remove(C),s.id&&(yield S.remove(s.id))):yield S.removeRange([C.range[0],T.range[0]]),yield S.insertTextAfter(x," =>");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,jS;function rI(){if(jS)return ef;jS=1;const a=nn(),e=Le(),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(h=>h.resolved&&h.resolved.name===s))return!0;const g=e.getVariableByName(f,s);return g!==null?g.defs.some(h=>h.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,h=!1;const E=s.references;for(let C=0;C<E.length;++C){const T=E[C];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;h=!0}}return g!==null&&g.from===s.scope&&p(g.identifier)?h?s.defs[0].name:g.identifier:null}function c(s,f){const g=new Map;for(let h=0;h<s.length;++h){const E=s[h],S=E.references,C=i(E,f);let T=null;for(let x=0;x<S.length;++x){const v=S[x],A=v.identifier;if(A===T)continue;T=A;const b=r(v);b&&(g.has(b)?g.get(b).push(C):g.set(b,[C]))}}return g}function d(s,f,g){return!s||g(s)?null:s.type===f?s:d(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,h=f!=="all",E=s.sourceCode,S=[];let C=0,T=null,x="";function v(A){const b=A.filter(Boolean);if(A.length&&(h||b.length===A.length)){const w=d(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!==x&&(x=L.id.name,C=0),L.id.type==="ObjectPattern"&&L.init.name!==x&&(x=L.init.name,C=0),L.id!==T&&(T=L.id,C=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){C+=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&&C===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,US;function nI(){if(US)return tf;US=1;const a=Le(),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,h){n.report({node:f,messageId:"preferDestructuring",data:{type:g},fix:h})}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 h=g.init,E=n.sourceCode;if(E.getCommentsInside(g).length>E.getCommentsInside(h.object).length)return null;let S=E.getText(h.object);return a.getPrecedence(h.object)<e&&(S=`(${S})`),f.replaceText(g,`{${h.property.name}} = ${S}`)}function c(f,g,h){if(g.type!=="MemberExpression"||g.object.type==="Super"||g.property.type==="PrivateIdentifier")return;if(u(g)){p(h.type,"array")&&r(h,"array",null);return}const E=m(h)?S=>i(S,h):null;if(p(h.type,"object")&&t){r(h,"object",E);return}if(p(h.type,"object")){const S=g.property;(S.type==="Literal"&&f.name===S.value||S.type==="Identifier"&&f.name===S.name&&!g.computed)&&r(h,"object",E)}}function d(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:d,AssignmentExpression:s}}},tf}var rf,qS;function sI(){if(qS)return rf;qS=1;const a=Le(),{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(d){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),h=m.getText(f),E=t(s),S=l(f),C=p(c,m);let T="",x="";if(!C){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)&&(x=" ")}}const v=u(g,E),A=u(h,S),b=u(`${v}**${A}`,C);return d.replaceText(c,`${T}${b}${x}`)}})}return{Program(c){const d=m.getScope(c),s=new n(d),f={Math:{pow:{[e]:!0}}};for(const{node:g}of s.iterateGlobalReferences(f))i(g)}}}},rf}var nf,VS;function aI(){if(VS)return nf;VS=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(d){const f=(r.match(/temp\d+/gu)||[]).reduce((g,h)=>Math.max(g,Number(h.slice(4))),0);return d.insertTextBeforeRange([c,c],`?<temp${f+1}>`)},messageId:"addGroupName"},{fix(d){return d.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,d,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 h=r.getText(d),E=p(g.start,i,h,d);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),d=new n(c),s={RegExp:{[a]:!0,[e]:!0}};for(const{node:f}of d.iterateGlobalReferences(s)){const g=o(f.arguments[0]),h=o(f.arguments[1]);g&&m(g,f,f.arguments[0],h)}}}}},nf}var sf,$S;function iI(){if($S)return sf;$S=1;const a=Le(),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(d){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 h="",E="";return f&&f.range[1]===l.range[0]&&!a.canTokensBeAdjacent(f,s)&&(h=" "),g&&l.range[1]===g.range[0]&&!a.canTokensBeAdjacent(s,g)&&(E=" "),d.replaceText(l,`${h}${s}${E}`)}})}}}}},sf}var af,WS;function oI(){if(WS)return af;WS=1;const a=Le();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,GS;function lI(){if(GS)return of;GS=1;const{CALL:a,ReferenceTracker:e}=qt(),{isCommaToken:n,isOpeningParenToken:o,isClosingParenToken:t,isParenthesised:l}=Le(),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 C=E.parent;switch(C.type){case"VariableDeclarator":case"ArrayExpression":case"ReturnStatement":case"CallExpression":case"Property":return!1;case"AssignmentExpression":return C.left===E&&!l(S,E);default:return!l(S,E)}}function d(E,S){switch(E.type){case"AssignmentExpression":case"ArrowFunctionExpression":case"ConditionalExpression":return!l(S,E);default:return!1}}function s(E,S,C){const T=[C.getFirstToken(E),C.getLastToken(E)];let x=C.getTokenBefore(E),v=C.getTokenAfter(E);for(;x&&v&&x.range[0]>S.range[0]&&o(x)&&t(v);)T.push(x,v),x=C.getTokenBefore(x),v=C.getTokenAfter(v);return T.sort((A,b)=>A.range[0]-b.range[0])}function f(E,S){const C=S.text;let T=E.range[0];{const x=S.getTokenBefore(E,{includeComments:!0});if(x&&x.type==="Line")return T}for(;p.test(C[T-1]||"");)T-=1;return T}function g(E,S){const C=S.text;let T=E.range[1];for(;p.test(C[T]||"");)T+=1;return T}function h(E,S){return function*(C){const T=S.getTokenAfter(E.callee,o),x=S.getLastToken(E);yield C.removeRange([E.range[0],T.range[0]]),c(E,S)?(yield C.replaceText(T,"({"),yield C.replaceText(x,"})")):(yield C.replaceText(T,"{"),yield C.replaceText(x,"}"));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 C.remove(P);const F=[b.range[0],g(b,S)],L=[Math.max(f(w,S),F[1]),w.range[1]];yield C.removeRange(F),yield C.removeRange(L),(v.properties.length===0||n(k))&&n(R)&&(yield C.remove(R))}else d(v,S)?(yield C.insertTextBefore(b,"...("),yield C.insertTextAfter(w,")")):yield C.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(C){const T=S.getScope(C),x=new e(T),v={Object:{assign:{[a]:!0}}};for(const{node:A}of x.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=h(A,S);E.report({node:A,messageId:b,fix:w})}}}}},of}var lf,zS;function uI(){if(zS)return lf;zS=1;const a=Le();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,HS;function cI(){return HS||(HS=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,KS;function fI(){if(KS)return cf;KS=1;const a=Le(),{CALL:e,CONSTRUCT:n,ReferenceTracker:o}=qt(),{RegExpValidator:t,visitRegExpAST:l,RegExpParser:p}=ur(),{canTokensBeAdjacent:u}=Le(),{REGEXPP_LATEST_ECMA_VERSION:r}=ru();function m(d){return d.type==="Literal"&&typeof d.value=="string"}function i(d){return d.type==="Literal"&&Object.hasOwn(d,"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(d){const[{disallowRedundantWrapping:s}]=d.options,f=d.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 h(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 C(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 x=T(d.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:x});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:$}of P.iterateGlobalReferences(O))if(s&&C($)){const M=$.arguments[0];if($.arguments.length===2){const _=[],K=h($.arguments[1])||"";k($,M.regex.pattern,K)&&_.push({messageId:"replaceWithLiteralAndFlags",pattern:M.regex.pattern,flags:K});const B=M.regex.flags||"",X=w(B,K);!b(X,K)&&k($,M.regex.pattern,X)&&_.push({messageId:"replaceWithIntendedLiteralAndFlags",pattern:M.regex.pattern,flags:X}),d.report({node:$,messageId:"unexpectedRedundantRegExpWithFlags",suggest:_.map(({flags:J,pattern:ge,messageId:ae})=>({messageId:ae,data:{flags:J},fix(ke){return ke.replaceText($,R($,`/${ge}/${J}`))}}))})}else{const _=[];k($,M.regex.pattern,M.regex.flags)&&_.push(f.getText(M)),d.report({node:$,messageId:"unexpectedRedundantRegExp",suggest:_.map(K=>({messageId:"replaceWithLiteral",fix(B){return B.replaceText($,R($,K))}}))})}}else if(S($)){let M=h($.arguments[0]),_=!1,K;if($.arguments[1]&&(K=h($.arguments[1])),k($,M,K)||(_=!0),/^[-\w\\[\](){} \t\r\n\v\f!@#$%^&*+=/~`.><?,'"|:;]*$/u.test(M)||(_=!0),M&&!_){let X=0;const J=new p({ecmaVersion:x}).parsePattern(M,0,M.length,{unicode:K?K.includes("u"):!1,unicodeSets:K?K.includes("v"):!1});l(J,{onCharacterEnter(ge){const ae=v(ge.raw);ae&&(M=M.slice(0,ge.start+X)+ae+M.slice(ge.end+X),ge.raw.length===1&&(X+=1))}})}const B=`/${M||"(?:)"}/${K||""}`;d.report({node:$,messageId:"unexpectedRegExp",suggest:_?[]:[{messageId:"replaceWithLiteral",fix(X){return X.replaceText($,R($,B))}}]})}}}}},cf}var ff,XS;function pI(){if(XS)return ff;XS=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,JS;function mI(){if(JS)return pf;JS=1;const a=Le();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,YS;function dI(){if(YS)return mf;YS=1;const a=Le();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,h){const E=[g].concat(m.getTokensBetween(g,h)).concat(h),S=m.getText();return E.slice(0,-1).reduce((C,T,x)=>C+S.slice(T.range[1],E[x+1].range[0]),"")}function d(g,h,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==="+"),C=c(g.left,S),T=c(S,g.right),x=u(g.left),v=p(g.right);return x?d(g.left,h,C+T).slice(0,-1)+d(g.right,null,E).slice(1):v?d(g.left,h,null).slice(0,-1)+d(g.right,C+T,E).slice(1):`${d(g.left,h,null)}${C}+${T}${d(g.right,E,null)}`}return`\`\${${h||""}${m.getText(g)}${E||""}}\``}function s(g,h){const E=n(h.parent);return o(E)?null:g.replaceText(E,d(E,null,null))}function f(g){if(!a.isStringLiteral(g)||!e(g.parent))return;const h=n(g.parent);i[h.range[0]]||(i[h.range[0]]=!0,l(h)&&r.report({node:h,messageId:"unexpectedStringConcatenation",fix:E=>s(E,g)}))}return{Program(){i=Object.create(null)},Literal:f,TemplateLiteral:f}}},mf}var df,QS;function hI(){if(QS)return df;QS=1;const a=Le(),e=Symbol("unknown_cause"),n=new Set(["Error","EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError","AggregateError"]);function o(l){const p=l.argument,u=p.callee.name==="AggregateError"?2:1,r=p.arguments.findIndex(i=>i.type==="SpreadElement");if(r>=0&&r<=u)return e;const m=p.arguments[u];if(m){if(m.type==="ObjectExpression"){if(m.properties.some(c=>c.type==="SpreadElement"))return e;const i=m.properties.find(c=>c.type==="Property"&&c.key.type==="Identifier"&&c.key.name==="cause"&&!c.computed);return i?i.value:null}return e}return null}function t(l){let p=l;for(;p&&p.type!=="CatchClause";){if(["FunctionDeclaration","FunctionExpression","ArrowFunctionExpression","StaticBlock"].includes(p.type))return null;p=p.parent}return p}return df={meta:{type:"suggestion",docs:{description:"Disallow losing originally caught error when re-throwing custom errors",recommended:!1,url:"https://eslint.org/docs/latest/rules/preserve-caught-error"},schema:[{type:"object",properties:{requireCatchParameter:{type:"boolean",default:!1,description:"Requires the catch blocks to always have the caught error parameter so it is not discarded."}},additionalProperties:!1}],messages:{missingCause:"There is no `cause` attached to the symptom error being thrown.",incorrectCause:"The symptom error is being thrown with an incorrect `cause`.",includeCause:"Include the original caught error as the `cause` of the symptom error.",missingCatchErrorParam:"The caught error is not accessible because the catch clause lacks the error parameter. Start referencing the caught error using the catch parameter.",partiallyLostError:"Re-throws cannot preserve the caught error as a part of it is being lost due to destructuring.",caughtErrorShadowed:"The caught error is being attached as `cause`, but is shadowed by a closer scoped redeclaration."},hasSuggestions:!0},create(l){const p=l.sourceCode,u=l.options[0]||{};function r(i){return(i.argument.type==="NewExpression"||i.argument.type==="CallExpression")&&i.argument.callee.type==="Identifier"&&n.has(i.argument.callee.name)&&p.isGlobalReference(i.argument.callee)}function m(i,c,d){const s=c.properties;if(s.length===0)return i.insertTextAfter(p.getFirstToken(c),`cause: ${d}`);const f=s.at(-1);return i.insertTextAfter(f,`, cause: ${d}`)}return{ThrowStatement(i){const c=t(i),d=i;if(c&&r(d)){if(c.param&&c.param.type!=="Identifier"){l.report({messageId:"partiallyLostError",node:c});return}const s=c.param?.type==="Identifier"?c.param:null;if(!s){if(u.requireCatchParameter){l.report({node:d,messageId:"missingCatchErrorParam"});return}return}const f=o(d);if(f===e)return;if(f===null){l.report({messageId:"missingCause",node:d,suggest:[{messageId:"includeCause",fix(h){const E=d.argument,S=E.arguments;if(E.callee.name==="AggregateError"){const v=S[0],A=S[1],b=S[2];if(!v){const w=p.getLastToken(E),k=p.getLastToken(E.callee),R=p.getFirstTokenBetween(k,w,a.isOpeningParenToken);return R?h.insertTextAfter(R,`[], "", { cause: ${s.name} }`):h.insertTextAfter(E.callee,`([], "", { cause: ${s.name} })`)}return A?b?b.type==="ObjectExpression"?m(h,b,s.name):null:h.insertTextAfter(A,`, { cause: ${s.name} }`):h.insertTextAfter(v,`, "", { cause: ${s.name} }`)}const T=S[0],x=S[1];if(!T){const v=p.getLastToken(E),A=p.getLastToken(E.callee),b=p.getFirstTokenBetween(A,v,a.isOpeningParenToken);return b?h.insertTextAfter(b,`"", { cause: ${s.name} }`):h.insertTextAfter(E.callee,`("", { cause: ${s.name} })`)}return x?x.type==="ObjectExpression"?m(h,x,s.name):null:h.insertTextAfter(T,`, { cause: ${s.name} }`)}}]});return}if(!(f.type==="Identifier"&&f.name===s.name)){l.report({messageId:"incorrectCause",node:f,suggest:[{messageId:"includeCause",fix(h){return f.parent.method||f.parent.shorthand?h.replaceText(f.parent,`cause: ${s.name}`):h.replaceText(f,s.name)}}]});return}let g=p.getScope(d);do{if(g.set.get(s.name))break;g=g.upper}while(g);g?.block!==c&&l.report({messageId:"caughtErrorShadowed",node:d})}}}}},df}var hf,ZS;function gI(){if(ZS)return hf;ZS=1;const a=dn(),e=Le(),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(h){return n.includes(h)}function i(h,E,S){return E.length===1&&E[0].start===0&&E[0].end===h.length&&(["Identifier","Keyword","Null","Boolean"].includes(E[0].type)||E[0].type==="Numeric"&&!S&&String(+E[0].value)===E[0].value)}function c(h){return h.type==="Identifier"?h.name:h.value}function d(h){return h.type==="Literal"&&typeof h.value=="string"?r.getText(h):`"${h.type==="Identifier"?h.name:h.value}"`}function s(h){const E=h.key;if(!(h.method||h.computed||h.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:h,messageId:"unnecessarilyQuotedProperty",data:{property:E.value},fix:T=>T.replaceText(E,c(E))})}else l&&E.type==="Identifier"&&m(E.name)?o.report({node:h,messageId:"unquotedReservedProperty",data:{property:E.name},fix:S=>S.replaceText(E,d(E))}):u&&E.type==="Literal"&&e.isNumericLiteral(E)&&o.report({node:h,messageId:"unquotedNumericProperty",data:{property:E.value},fix:S=>S.replaceText(E,d(E))})}function f(h){const E=h.key;!h.method&&!h.computed&&!h.shorthand&&!(E.type==="Literal"&&typeof E.value=="string")&&o.report({node:h,messageId:"unquotedPropertyFound",data:{property:E.name||E.value},fix:S=>S.replaceText(E,d(E))})}function g(h,E){const S=[],C=[];let T=null,x=!1;h.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{x=!0;return}x=x||!i(A.value,b)||l&&m(b[0].value)}}else l&&E&&A.type==="Identifier"&&m(A.name)?(C.push(v),x=!0,T=A.name):C.push(v)}),E&&S.length&&!x?S.forEach(v=>{o.report({node:v,messageId:"redundantQuoting",fix:A=>A.replaceText(v.key,c(v.key))})}):C.length&&T?C.forEach(v=>{o.report({node:v,messageId:"requireQuotesDueToReservedWord",data:{property:T},fix:A=>A.replaceText(v.key,d(v.key))})}):S.length&&C.length&&C.forEach(v=>{o.report({node:v,messageId:"inconsistentlyQuotedProperty",data:{key:v.key.name||v.key.value},fix:A=>A.replaceText(v.key,d(v.key))})})}return{Property(h){(t==="always"||!t)&&f(h),t==="as-needed"&&s(h)},ObjectExpression(h){t==="consistent"&&g(h,!1),t==="consistent-as-needed"&&g(h,!0)}}}},hf}var gf,eb;function yI(){if(eb)return gf;eb=1;const a=Le(),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 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:"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(h){return h.parent.type==="JSXAttribute"||h.parent.type==="JSXElement"||h.parent.type==="JSXFragment"}function d(h){return h.type==="ExpressionStatement"&&h.expression.type==="Literal"&&typeof h.expression.value=="string"&&!a.isParenthesised(m,h.expression)}function s(h){if(!a.isTopLevelExpressionStatement(h.parent))return!1;const E=h.parent.parent;for(let S=0;S<E.body.length;++S){const C=E.body[S];if(C===h.parent)return!0;if(!d(C))break}return!1}function f(h){const E=h.parent;switch(E.type){case"ExpressionStatement":return!a.isParenthesised(m,h)&&s(h);case"Property":case"PropertyDefinition":case"MethodDefinition":return E.key===h&&!E.computed;case"ImportDeclaration":case"ExportNamedDeclaration":return E.source===h;case"ExportAllDeclaration":return E.exported===h||E.source===h;case"ImportSpecifier":return E.imported===h;case"ExportSpecifier":return E.local===h||E.exported===h;default:return!1}}function g(h){return!!(h.parent.type==="TaggedTemplateExpression"&&h===h.parent.quasi||h.expressions.length>0||h.quasis.length>=1&&n.test(h.quasis[0].value.raw))}return{Literal(h){const E=h.value,S=h.raw;if(p&&typeof E=="string"){let C=l==="backtick"&&f(h)||c(h)||a.isSurroundedBy(S,p.quote);!C&&i&&(C=a.isSurroundedBy(S,p.alternateQuote)&&S.includes(p.quote)),C||t.report({node:h,messageId:"wrongQuotes",data:{description:p.description},fix(T){return l==="backtick"&&a.hasOctalOrNonOctalDecimalEscapeSequence(S)?null:T.replaceText(h,p.convert(h.raw))}})}},TemplateLiteral(h){r||l==="backtick"||g(h)||t.report({node:h,messageId:"wrongQuotes",data:{description:p.description},fix(E){return a.isTopLevelExpressionStatement(h.parent)&&!a.isParenthesised(m,h)?null:E.replaceText(h,p.convert(m.getText(h)))}})}}}},gf}var yf,tb;function vI(){if(tb)return yf;tb=1;const a=Le(),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 yf={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(d){const s=d.arguments;switch(s.length){case 0:r.report({node:d,messageId:"missingParameters"});break;case 1:m===e&&r.report({node:d,messageId:"missingRadix",suggest:[{messageId:"addRadixParameter10",fix(f){const g=i.getTokens(d),h=g.at(-1),E=g.at(-2),S=E.type==="Punctuator"&&E.value===",";return f.insertTextBefore(h,S?" 10,":", 10")}}]});break;default:m===n&&u(s[1])?r.report({node:d,messageId:"redundantRadix"}):p(s[1])||r.report({node:d,messageId:"invalidRadix"});break}}return{"Program:exit"(d){const s=i.getScope(d);let f;f=a.getVariableByName(s,"parseInt"),f&&!t(f)&&f.references.forEach(g=>{const h=g.identifier;a.isCallee(h)&&c(h.parent)}),f=a.getVariableByName(s,"Number"),f&&!t(f)&&f.references.forEach(g=>{const h=g.identifier.parent,E=h.parent.type==="ChainExpression"?h.parent:h;l(h)&&a.isCallee(E)&&c(E.parent)})}}}},yf}var vf,rb;function EI(){if(rb)return vf;rb=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 vf={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 d=p.getScope(c),s=d.type==="function"&&(d.block.async||d.block.generator);m={upper:m,codePath:i,referenceMap:s?a(d):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,d=c&&c.get(i);if(!d)return;const s=d.resolved,f=e(d),g=d.identifier.parent.type==="MemberExpression";if(d.isRead()&&!(f&&f.parent.operator==="=")&&r.markAsRead(m.currentSegments,s),f&&f.parent.right===f&&!n(s,g)){let h=u.get(f);h||(h=[],u.set(f,h)),h.push(d)}},":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 d of c){const s=d.resolved;r.isOutdated(m.currentSegments,s)&&(i.parent.left===d.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}}))}}}}}},vf}var Ef,nb;function SI(){if(nb)return Ef;nb=1;const a=Le();function e(n){return n[0].toUpperCase()+n.slice(1)}return Ef={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),d=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,d?";":"")}]})}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)}}}},Ef}var Sf,sb;function bI(){if(sb)return Sf;sb=1;const{CALL:a,CONSTRUCT:e,ReferenceTracker:n,getStringIfConstant:o}=qt(),t=Le(),{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 Sf={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),h=g.lastIndexOf("/");if(m){const E=m==="u"?"v":"u";if(g.includes(E,h))return s.replaceText(i,g.slice(0,h)+g.slice(h).replace(E,m))}return s.insertTextAfter(i,f)},messageId:m==="v"?"addVFlag":"addUFlag"}]:null})},Program(i){const c=r.getScope(i),d=new n(c),s={RegExp:{[a]:!0,[e]:!0}};for(const{node:f}of d.iterateGlobalReferences(s)){const[g,h]=f.arguments;if(g&&g.type==="SpreadElement")continue;const E=o(g,c),S=o(h,c);let C=!h;typeof S=="string"&&(C=p(m,S)),C&&u.report({messageId:m==="v"?"requireVFlag":"requireUFlag",node:f,suggest:typeof E=="string"&&l(u.languageOptions.ecmaVersion,E,m)?[{fix(T){const x=m??"u";if(h){if(h.type==="Literal"&&typeof h.value=="string"||h.type==="TemplateLiteral"){const A=r.getText(h),b=m==="u"?"v":"u";return S.includes(b)?h.type==="Literal"&&h.raw.includes("\\")||h.type==="TemplateLiteral"&&(h.expressions.length||h.quasis.some(({value:{raw:w}})=>w.includes("\\")))?null:T.replaceText(h,A.replace(b,x)):T.replaceText(h,[A.slice(0,A.length-1),A.slice(A.length-1)].join(x))}return null}const v=r.getLastToken(f,{skip:1});return T.insertTextAfter(v,t.isCommaToken(v)?` "${x}",`:`, "${x}"`)},messageId:m==="v"?"addVFlag":"addUFlag"}]:null})}}}}},Sf}var bf,ab;function xI(){return ab||(ab=1,bf={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)}}}}),bf}var xf,ib;function CI(){return ib||(ib=1,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:"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}}}),xf}var Cf,ob;function wI(){if(ob)return Cf;ob=1;const a=nn(),e=Le();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",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 d(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 h(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 C(b){return s(c.getLastToken(b))?!0:g(b)||h(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 x(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&&C(b)?d(b,!0):!w&&i==="always"&&b.type!=="PropertyDefinition"&&S(c.getTokenAfter(b))&&d(b);else{const k=r&&T(b),R=m&&x(b),F=k||R;w&&F?d(b,!0):!w&&!F&&d(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}}},Cf}var wf,lb;function AI(){if(lb)return wf;lb=1;const a=Le();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-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),h={start:g.loc.end,end:s.loc.start};e.report({node:f,loc:h,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(h){return h.insertTextBefore(s," ")}})}if(!m(s)&&!r(s)&&!i(s)){if(u(s)){if(!l){const g=o.getTokenAfter(s),h={start:s.loc.end,end:g.loc.start};e.report({node:f,loc:h,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(h){return h.insertTextAfter(s," ")}})}}}}function d(s){const f=o.getLastToken(s);c(f,s)}return{VariableDeclaration:d,ExpressionStatement:d,BreakStatement:d,ContinueStatement:d,DebuggerStatement:d,DoWhileStatement:d,ReturnStatement:d,ThrowStatement:d,ImportDeclaration:d,ExportNamedDeclaration:d,ExportAllDeclaration:d,ExportDefaultDeclaration:d,ForStatement(s){s.init&&c(o.getTokenAfter(s.init),s),s.test&&c(o.getTokenAfter(s.test),s)},PropertyDefinition:d}}},wf}var Af,ub;function TI(){if(ub)return Af;ub=1;const a=Le(),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 Af={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),d=!i||a.isTokenOnSameLine(i,r),s=!c||a.isTokenOnSameLine(r,c);(m==="last"&&!d||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],h=c?c.range[0]:r.range[1],E=m==="last"?`;
118
+ `:`
119
+ ;`;return f.replaceTextRange([g,h],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")}}}},Af}var Tf,cb;function kI(){return cb||(cb=1,Tf={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(d){return d.specifiers.length===0?"none":d.specifiers[0].type==="ImportNamespaceSpecifier"?"all":d.specifiers.length===1?"single":"multiple"}function m(d){return t.indexOf(r(d))}function i(d){return d.specifiers[0]?d.specifiers[0].local.name:null}function c(d,s){return Math.max(s.loc.start.line-d.loc.end.line-1,0)}return{ImportDeclaration(d){if(!n){if(u&&l&&c(u,d)>0&&(u=null),u){const s=m(d),f=m(u);let g=i(d),h=i(u);e&&(h=h&&h.toLowerCase(),g=g&&g.toLowerCase()),s!==f?s<f&&a.report({node:d,messageId:"unexpectedSyntaxOrder",data:{syntaxA:t[s],syntaxB:t[f]}}):h&&g&&g<h&&a.report({node:d,messageId:"sortImportsAlphabetically"})}u=d}if(!o){const s=d.specifiers.filter(h=>h.type==="ImportSpecifier"),f=e?h=>h.local.name.toLowerCase():h=>h.local.name,g=s.map(f).findIndex((h,E,S)=>S[E-1]>h);g!==-1&&a.report({node:s[g],messageId:"sortMembersAlphabetically",data:{memberName:s[g].local.name},fix(h){return s.some(E=>p.getCommentsBefore(E).length||p.getCommentsAfter(E).length)?null:h.replaceTextRange([s[0].range[0],s.at(-1).range[1]],s.slice().sort((E,S)=>{const C=f(E),T=f(S);return C>T?1:-1}).reduce((E,S,C)=>{const T=C===s.length-1?"":p.getText().slice(s[C].range[1],s[C+1].range[0]);return E+p.getText(S)+T},""))}})}}}}}),Tf}var kf={exports:{}},fb;function DI(){if(fb)return kf.exports;fb=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,d){if(d){for(o=c;d=m(i,o),d<76&&d>65;)++o;return+i.slice(c-1,o)}return d=r&&r.indexOf(i.charAt(c)),d>-1?d+76:(d=i.charCodeAt(c)||0,d<45||d>127?d:d<46?65:d<48?d-1:d<58?d+18:d<65?d-11:d<91?d+11:d<97?d-37:d<123?d+5:d-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{kf.exports=a}catch{String.naturalCompare=a}return kf.exports}var Df,pb;function II(){if(pb)return Df;pb=1;const a=Le(),e=DI();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 Df={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,d=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 h=s.prevName,E=s.numKeys,S=n(g),C=s.prevNode&&f.getTokensBetween(s.prevNode,g,{includeComments:!0});let T=s.prevBlankLine;if(C&&(C.forEach((x,v)=>{const A=C[v-1];A&&x.loc.start.line-A.loc.end.line>1&&(T=!0)}),!T&&g.loc.start.line-C.at(-1).loc.end.line>1&&(T=!0),!T&&C[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}h===null||S===null||E<r||d(h,S)||t.report({node:g,loc:g.key.loc,messageId:"sortKeys",data:{thisName:S,prevName:h,order:l,insensitive:c?"insensitive ":"",natural:u?"natural ":""}})}}}},Df}var If,mb;function PI(){return mb||(mb=1,If={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(d){return p||u?null:d.replaceTextRange([t[0].range[0],t.at(-1).range[1]],t.slice().sort((s,f)=>{const g=l(s),h=l(f);return g>h?1:-1}).reduce((s,f,g)=>{const h=g===t.length-1?"":n.getText().slice(t[g].range[1],t[g+1].range[0]);return s+n.getText(f)+h},""))}}),u=!0,r):m},t[0])}}}}),If}var Pf,db;function FI(){if(db)return Pf;db=1;const a=Le();function e(n){const o=n.parent;return n.type==="BlockStatement"&&a.isFunction(o)&&o.body===n}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-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 d(f){const g=t.getTokenBefore(f);if(g&&!c(g,f)&&a.isTokenOnSameLine(g,f)){const h=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&&!h?n.report({node:f,messageId:"missingSpace",fix(C){return C.insertTextBefore(f," ")}}):S&&h&&n.report({node:f,messageId:"unexpectedSpace",fix(C){return C.removeRange([g.range[1],f.range[0]])}})}}function s(f){const g=f.cases;let h;g.length>0?h=t.getTokenBefore(g[0]):h=t.getLastToken(f,1),d(h)}return{BlockStatement:d,ClassBody:d,SwitchStatement:s}}},Pf}var Ff,hb;function RI(){if(hb)return Ff;hb=1;const a=Le();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-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),d=n.isSpaceBetweenTokens(c,i);d&&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,h)=>g+n.getText(h),""))}}):!d&&m==="always"&&e.report({node:r,loc:i.loc,messageId:"missingSpace",fix:s=>s.insertTextAfter(c," ")})}return{ArrowFunctionExpression:u,FunctionDeclaration:u,FunctionExpression:u}}},Ff}var Rf,gb;function _I(){if(gb)return Rf;gb=1;const a=Le();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-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 d(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 h=u.tokensAndComments;h.forEach((E,S)=>{const C=h[S-1],T=h[S+1];!a.isOpeningParenToken(E)&&!a.isClosingParenToken(E)||(E.value==="("&&i(E,T)&&e.report({node:g,loc:E.loc,messageId:"missingOpeningSpace",fix(x){return x.insertTextAfter(E," ")}}),E.value==="("&&c(E,T)&&e.report({node:g,loc:{start:E.loc.end,end:T.loc.start},messageId:"rejectedOpeningSpace",fix(x){return x.removeRange([E.range[1],T.range[0]])}}),E.value===")"&&d(C,E)&&e.report({node:g,loc:E.loc,messageId:"missingClosingSpace",fix(x){return x.insertTextBefore(E," ")}}),E.value===")"&&s(C,E)&&e.report({node:g,loc:{start:C.loc.end,end:E.loc.start},messageId:"rejectedClosingSpace",fix(x){return x.removeRange([C.range[1],E.range[0]])}}))})}}}},Rf}var _f,yb;function BI(){if(yb)return _f;yb=1;const{isEqToken:a}=Le();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-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 d=o.getFirstTokenBetween(m,i,g=>g.value===c),s=o.getTokenBefore(d),f=o.getTokenAfter(d);return!o.isSpaceBetweenTokens(s,d)||!o.isSpaceBetweenTokens(d,f)?d:null}function l(m,i){e.report({node:m,loc:i.loc,messageId:"missingSpace",data:{operator:i.value},fix(c){const d=o.getTokenBefore(i),s=o.getTokenAfter(i);let f="";return i.range[0]-d.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,d=m.operator||"=",s=t(i,c,d);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 d=t(i,c,"=");d&&l(m,d)}}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),d=o.getTokenAfter(i);(!o.isSpaceBetweenTokens(c,i)||!o.isSpaceBetweenTokens(i,d))&&l(m,i)}}}},_f}var Bf,vb;function LI(){if(vb)return Bf;vb=1;const a=Le();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:"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,h,E,S){E.range[0]===h.range[1]&&e.report({node:g,messageId:"wordOperator",data:{word:S},fix(C){return C.insertTextAfter(h," ")}})}function r(g,h,E,S){a.canTokensBeAdjacent(h,E)&&E.range[0]>h.range[1]&&e.report({node:g,messageId:"unexpectedAfterWord",data:{word:S},fix(C){return C.removeRange([h.range[1],E.range[0]])}})}function m(g,h,E,S){l(S)?p(S)?u(g,h,E,S):r(g,h,E,S):n.words?u(g,h,E,S):r(g,h,E,S)}function i(g){const h=o.getFirstTokens(g,3),E="yield";!g.argument||g.delegate||m(g,h[0],h[1],E)}function c(g){const h=o.getFirstTokens(g,3);m(g,h[0],h[1],"await")}function d(g,h,E){if(g.prefix){if(t(g))return;h.range[1]===E.range[0]&&e.report({node:g,messageId:"operator",data:{operator:h.value},fix(S){return S.insertTextAfter(h," ")}})}else h.range[1]===E.range[0]&&e.report({node:g,messageId:"beforeUnaryExpressions",data:{token:E.value},fix(S){return S.insertTextBefore(E," ")}})}function s(g,h,E){g.prefix?E.range[0]>h.range[1]&&e.report({node:g,messageId:"unexpectedAfter",data:{operator:h.value},fix(S){return a.canTokensBeAdjacent(h,E)?S.removeRange([h.range[1],E.range[0]]):null}}):E.range[0]>h.range[1]&&e.report({node:g,messageId:"unexpectedBefore",data:{operator:E.value},fix(S){return S.removeRange([h.range[1],E.range[0]])}})}function f(g){const h=g.type==="UpdateExpression"&&!g.prefix?o.getLastTokens(g,2):o.getFirstTokens(g,2),E=h[0],S=h[1];if((g.type==="NewExpression"||g.prefix)&&E.type==="Keyword"){m(g,E,S,E.value);return}const C=g.prefix?h[0].value:h[1].value;l(C)?p(C)?d(g,E,S):s(g,E,S):n.nonwords?d(g,E,S):s(g,E,S)}return{UnaryExpression:f,UpdateExpression:f,NewExpression:f,YieldExpression:i,AwaitExpression:c}}},Bf}var Lf,Eb;function OI(){if(Eb)return Lf;Eb=1;const a=Rn(),e=Le();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 Lf={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",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]||{},d=c.block&&c.block.balanced,s=["block","line"].reduce((E,S)=>{const C=t(c[S]&&c[S].markers||c.markers||[]),T=c[S]&&c[S].exceptions||c.exceptions||[],x="[ ]+$";return E[S]={beginRegex:i?p(C,T):u(C),endRegex:d&&i?new RegExp(`${l(T)}$`,"u"):new RegExp(x,"u"),hasExceptions:T.length>0,captureMarker:new RegExp(`^(${C.map(n).join("|")})`,"u"),markers:new Set(C)},E},{});function f(E,S,C,T){const x=E.type.toLowerCase(),v=x==="block"?"/*":"//";r.report({node:E,fix(A){const b=E.range[0];let w=b+2;return i?(C&&(w+=C[0].length),A.insertTextAfterRange([b,w]," ")):(w+=C[0].length,A.replaceTextRange([b,w],v+(C[1]?C[1]:"")))},messageId:S,data:{refChar:T}})}function g(E,S,C){r.report({node:E,fix(T){if(i)return T.insertTextAfterRange([E.range[0],E.range[1]-2]," ");const x=E.range[1]-2,v=x-C[0].length;return T.replaceTextRange([v,x],"")},messageId:S})}function h(E){const S=E.type.toLowerCase(),C=s[S],T=S==="block"?"/*":"//";if(E.value.length===0||C.markers.has(E.value))return;const x=C.beginRegex.exec(E.value),v=C.endRegex.exec(E.value);if(i){if(!x){const A=C.captureMarker.exec(E.value),b=A?T+A[0]:T;C.hasExceptions?f(E,"expectedExceptionAfter",A,b):f(E,"expectedSpaceAfter",A,b)}d&&S==="block"&&!v&&g(E,"expectedSpaceBefore")}else x&&(x[1]?f(E,"unexpectedSpaceAfterMarker",x,x[1]):f(E,"unexpectedSpaceAfter",x,T)),d&&S==="block"&&v&&g(E,"unexpectedSpaceBefore",v)}return{Program(){m.getAllComments().filter(S=>S.type!=="Shebang").forEach(h)}}}},Lf}var Of,Sb;function NI(){if(Sb)return Of;Sb=1;const a=Le();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 Of={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.languageOptions.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 C=>C.remove(S)}function c(S,C,T,x,v){S.slice(C,T).forEach(A=>{t.report({node:A,messageId:x,fix:v?i(A):null})})}function d(S,C,T){c(S,0,S.length,C,T)}function s(S,C,T){c(S,1,S.length,C,T)}function f(S,C){const T=u.length>0,x=p.length===0&&u.length===0,v=p.length>0&&p.at(-1),A=C.length>0;A?(o(S.params)?v?t.report({node:C[0],messageId:"unnecessary",fix:i(C[0])}):T&&t.report({node:C[0],messageId:"unnecessaryInClasses",fix:i(C[0])}):t.report({node:C[0],messageId:"nonSimpleParameterList"}),s(C,"multiple",!0)):x&&(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 h(S){const C=S.body.type==="BlockStatement",T=C?e(S.body.body):[];r==="function"?f(S,T):T.length>0&&(o(S.params)?d(T,r,m(r)):(t.report({node:T[0],messageId:"nonSimpleParameterList"}),s(T,"multiple",!0)))}const E={Program(S){const C=e(S.body);S.sourceType==="module"&&(r="module"),r==="global"?(S.body.length>0&&C.length===0&&t.report({node:S,messageId:"global"}),s(C,"multiple",!0)):d(C,r,m(r))},FunctionDeclaration:h,FunctionExpression:h,ArrowFunctionExpression:h};return r==="function"&&Object.assign(E,{ClassBody(){u.push(!0)},"ClassBody:exit"(){u.pop()},"FunctionDeclaration:exit":g,"FunctionExpression:exit":g,"ArrowFunctionExpression:exit":g}),E}},Of}var Nf,bb;function MI(){if(bb)return Nf;bb=1;const a=Le();return Nf={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"10.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",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,d){return u(i,c)?null:d?m.insertTextAfter(i," "):m.removeRange([i.range[1],c.range[0]])}return{SwitchCase(m){const i=a.getSwitchCaseColonToken(m,n),c=n.getTokenBefore(i),d=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,d,l)||e.report({node:m,loc:i.loc,messageId:l?"expectedAfter":"unexpectedAfter",fix:s=>r(s,i,d,l)})}}}},Nf}var Mf,xb;function jI(){if(xb)return Mf;xb=1;const a=Le();return Mf={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)})}}}},Mf}var jf,Cb;function UI(){if(Cb)return jf;Cb=1;const a=Le();return 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-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)}}}},jf}var Uf,wb;function qI(){return wb||(wb=1,Uf={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}}}),Uf}var qf,Ab;function VI(){return Ab||(Ab=1,qf={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])}})}}}}),qf}var Vf,Tb;function $I(){if(Tb)return Vf;Tb=1;const a=Le();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 Vf={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 h=e(s.left)?s.right:s.left,E=h.type==="SequenceExpression",C=s.operator[0]==="!"?"!":"";let T=l.getText(h);E&&(T=`(${T})`);const x=f(T);return g.replaceText(s,`${C}${x}`)}}function m(s){if(/^(?:[<>]|[!=]=)=?$/u.test(s.operator)&&(e(s.left)||e(s.right))){const f=[],h=(e(s.left)?s.left:s.right).type==="SequenceExpression",E=p.has(s.operator)&&!h,S=u.has(s.operator);E&&(f.push({messageId:"replaceWithIsNaN",fix:r(s,C=>`Number.isNaN(${C})`)}),S&&f.push({messageId:"replaceWithCastingAndIsNaN",fix:r(s,C=>`Number.isNaN(Number(${C}))`)})),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 h=s.arguments[0].type!=="SequenceExpression"&&!s.arguments[1],E=[];if(h){const S=f.computed,C=g==="indexOf"?"findIndex":"findLastIndex",T=S?`"${C}"`:C;E.push({messageId:"replaceWithFindIndex",data:{methodName:C},fix:x=>[x.replaceText(f.property,T),x.replaceText(s.arguments[0],"Number.isNaN")]})}n.report({node:s,messageId:"indexOfNaN",data:{methodName:g},suggest:E})}}}const d={BinaryExpression:m};return t&&(d.SwitchStatement=i),o&&(d.CallExpression=c),d}},Vf}var $f,kb;function WI(){if(kb)return $f;kb=1;const a=Le();return $f={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 d=c.type==="Literal"?c.value:c.quasis[0].value.cooked;n.has(d)||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(d){return d.replaceText(c,'"undefined"')}}]}):l&&!r(c)&&e.report({node:c,messageId:"notString"})}}}}}},$f}var Wf,Db;function GI(){return Db||(Db=1,Wf={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)}}}}),Wf}var Gf,Ib;function zI(){if(Ib)return Gf;Ib=1;const a=Le(),e=qt();function n(o){const t=o.parent.type==="ChainExpression"?o.parent:o;return t.parent.type==="NewExpression"&&t.parent.callee===t}return 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-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 d=u(i),s=u(c);!d&&!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"&&!d&&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])})`)}})}}}},Gf}var zf,Pb;function HI(){return Pb||(Pb=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:"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)})`)})}}}}}),zf}var Hf,Fb;function KI(){return Fb||(Fb=1,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:"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(d){return m?r?d.insertTextAfter(i," "):d.insertTextBefore(i," "):d.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}}}),Hf}var Kf,Rb;function XI(){if(Rb)return Kf;Rb=1;const a=Le();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 Kf={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",d=u.sourceCode;function s(h){const E=h.left,S=h.right;function C(){if(h.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(h.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 x(){return a.isParenthesised(d,h)}return h.type==="LogicalExpression"&&E.type==="BinaryExpression"&&S.type==="BinaryExpression"&&o(E.operator)&&o(S.operator)&&(C()||T())&&x()}const f={"===":"===","!==":"!==","==":"==","!=":"!=","<":">",">":"<","<=":">=",">=":"<="};function g(h){const E=d.getFirstTokenBetween(h.left,h.right,L=>L.value===h.operator),S=d.getTokenBefore(E),C=d.getTokenAfter(E),T=d.getText(),x=T.slice(h.range[0],S.range[1]),v=T.slice(S.range[1],E.range[0]),A=T.slice(E.range[1],C.range[0]),b=T.slice(C.range[0],h.range[1]),w=d.getTokenBefore(h),k=d.getTokenAfter(h);let R="",F="";return w&&w.range[1]===h.range[0]&&!a.canTokensBeAdjacent(w,C)&&(R=" "),k&&h.range[1]===k.range[0]&&!a.canTokensBeAdjacent(S,k)&&(F=" "),R+b+v+f[E.value]+A+x+F}return{BinaryExpression(h){const E=c?h.left:h.right,S=c?h.right:h.left;(S.type==="Literal"||l(S))&&!(E.type==="Literal"||l(E))&&!(!n(h.operator)&&i)&&e(h.operator)&&!(m&&s(h.parent))&&u.report({node:h,messageId:"expected",data:{operator:h.operator,expectedSide:c?"left":"right"},fix:C=>C.replaceText(h,g(h))})}}}},Kf}var Xf,_b;function Bb(){if(_b)return Xf;_b=1;const{LazyLoadingRuleMap:a}=vw();return Xf=new a(Object.entries({"accessor-pairs":()=>bw(),"array-bracket-newline":()=>xw(),"array-bracket-spacing":()=>Cw(),"array-callback-return":()=>ww(),"array-element-newline":()=>Aw(),"arrow-body-style":()=>Tw(),"arrow-parens":()=>kw(),"arrow-spacing":()=>Dw(),"block-scoped-var":()=>Iw(),"block-spacing":()=>Pw(),"brace-style":()=>Fw(),"callback-return":()=>Rw(),camelcase:()=>_w(),"capitalized-comments":()=>Bw(),"class-methods-use-this":()=>Lw(),"comma-dangle":()=>Ow(),"comma-spacing":()=>Nw(),"comma-style":()=>Mw(),complexity:()=>jw(),"computed-property-spacing":()=>Uw(),"consistent-return":()=>qw(),"consistent-this":()=>Vw(),"constructor-super":()=>$w(),curly:()=>Ww(),"default-case":()=>Gw(),"default-case-last":()=>zw(),"default-param-last":()=>Hw(),"dot-location":()=>Kw(),"dot-notation":()=>Xw(),"eol-last":()=>Jw(),eqeqeq:()=>Yw(),"for-direction":()=>Qw(),"func-call-spacing":()=>Zw(),"func-name-matching":()=>eA(),"func-names":()=>tA(),"func-style":()=>rA(),"function-call-argument-newline":()=>nA(),"function-paren-newline":()=>sA(),"generator-star-spacing":()=>aA(),"getter-return":()=>iA(),"global-require":()=>oA(),"grouped-accessor-pairs":()=>lA(),"guard-for-in":()=>uA(),"handle-callback-err":()=>cA(),"id-blacklist":()=>fA(),"id-denylist":()=>pA(),"id-length":()=>mA(),"id-match":()=>dA(),"implicit-arrow-linebreak":()=>hA(),indent:()=>gA(),"indent-legacy":()=>yA(),"init-declarations":()=>vA(),"jsx-quotes":()=>EA(),"key-spacing":()=>SA(),"keyword-spacing":()=>bA(),"line-comment-position":()=>xA(),"linebreak-style":()=>CA(),"lines-around-comment":()=>wA(),"lines-around-directive":()=>AA(),"lines-between-class-members":()=>TA(),"logical-assignment-operators":()=>kA(),"max-classes-per-file":()=>DA(),"max-depth":()=>IA(),"max-len":()=>PA(),"max-lines":()=>FA(),"max-lines-per-function":()=>RA(),"max-nested-callbacks":()=>_A(),"max-params":()=>BA(),"max-statements":()=>LA(),"max-statements-per-line":()=>OA(),"multiline-comment-style":()=>NA(),"multiline-ternary":()=>MA(),"new-cap":()=>jA(),"new-parens":()=>UA(),"newline-after-var":()=>qA(),"newline-before-return":()=>VA(),"newline-per-chained-call":()=>$A(),"no-alert":()=>WA(),"no-array-constructor":()=>GA(),"no-async-promise-executor":()=>zA(),"no-await-in-loop":()=>HA(),"no-bitwise":()=>KA(),"no-buffer-constructor":()=>XA(),"no-caller":()=>JA(),"no-case-declarations":()=>YA(),"no-catch-shadow":()=>QA(),"no-class-assign":()=>ZA(),"no-compare-neg-zero":()=>eT(),"no-cond-assign":()=>tT(),"no-confusing-arrow":()=>rT(),"no-console":()=>nT(),"no-const-assign":()=>sT(),"no-constant-binary-expression":()=>aT(),"no-constant-condition":()=>iT(),"no-constructor-return":()=>oT(),"no-continue":()=>lT(),"no-control-regex":()=>uT(),"no-debugger":()=>cT(),"no-delete-var":()=>fT(),"no-div-regex":()=>pT(),"no-dupe-args":()=>mT(),"no-dupe-class-members":()=>dT(),"no-dupe-else-if":()=>hT(),"no-dupe-keys":()=>gT(),"no-duplicate-case":()=>yT(),"no-duplicate-imports":()=>vT(),"no-else-return":()=>ET(),"no-empty":()=>ST(),"no-empty-character-class":()=>bT(),"no-empty-function":()=>xT(),"no-empty-pattern":()=>CT(),"no-empty-static-block":()=>wT(),"no-eq-null":()=>AT(),"no-eval":()=>TT(),"no-ex-assign":()=>kT(),"no-extend-native":()=>DT(),"no-extra-bind":()=>IT(),"no-extra-boolean-cast":()=>PT(),"no-extra-label":()=>FT(),"no-extra-parens":()=>RT(),"no-extra-semi":()=>_T(),"no-fallthrough":()=>BT(),"no-floating-decimal":()=>LT(),"no-func-assign":()=>OT(),"no-global-assign":()=>NT(),"no-implicit-coercion":()=>MT(),"no-implicit-globals":()=>jT(),"no-implied-eval":()=>UT(),"no-import-assign":()=>qT(),"no-inline-comments":()=>VT(),"no-inner-declarations":()=>$T(),"no-invalid-regexp":()=>WT(),"no-invalid-this":()=>GT(),"no-irregular-whitespace":()=>zT(),"no-iterator":()=>HT(),"no-label-var":()=>KT(),"no-labels":()=>XT(),"no-lone-blocks":()=>JT(),"no-lonely-if":()=>YT(),"no-loop-func":()=>QT(),"no-loss-of-precision":()=>ZT(),"no-magic-numbers":()=>ek(),"no-misleading-character-class":()=>ok(),"no-mixed-operators":()=>lk(),"no-mixed-requires":()=>uk(),"no-mixed-spaces-and-tabs":()=>ck(),"no-multi-assign":()=>fk(),"no-multi-spaces":()=>pk(),"no-multi-str":()=>mk(),"no-multiple-empty-lines":()=>dk(),"no-native-reassign":()=>hk(),"no-negated-condition":()=>gk(),"no-negated-in-lhs":()=>yk(),"no-nested-ternary":()=>vk(),"no-new":()=>Ek(),"no-new-func":()=>Sk(),"no-new-native-nonconstructor":()=>bk(),"no-new-object":()=>xk(),"no-new-require":()=>Ck(),"no-new-symbol":()=>wk(),"no-new-wrappers":()=>Ak(),"no-nonoctal-decimal-escape":()=>Tk(),"no-obj-calls":()=>kk(),"no-object-constructor":()=>Dk(),"no-octal":()=>Ik(),"no-octal-escape":()=>Pk(),"no-param-reassign":()=>Fk(),"no-path-concat":()=>Rk(),"no-plusplus":()=>_k(),"no-process-env":()=>Bk(),"no-process-exit":()=>Lk(),"no-promise-executor-return":()=>Ok(),"no-proto":()=>Nk(),"no-prototype-builtins":()=>Mk(),"no-redeclare":()=>jk(),"no-regex-spaces":()=>Uk(),"no-restricted-exports":()=>qk(),"no-restricted-globals":()=>Vk(),"no-restricted-imports":()=>$k(),"no-restricted-modules":()=>Wk(),"no-restricted-properties":()=>Gk(),"no-restricted-syntax":()=>zk(),"no-return-assign":()=>Hk(),"no-return-await":()=>Kk(),"no-script-url":()=>Xk(),"no-self-assign":()=>Jk(),"no-self-compare":()=>Yk(),"no-sequences":()=>Qk(),"no-setter-return":()=>Zk(),"no-shadow":()=>eD(),"no-shadow-restricted-names":()=>tD(),"no-spaced-func":()=>rD(),"no-sparse-arrays":()=>nD(),"no-sync":()=>sD(),"no-tabs":()=>aD(),"no-template-curly-in-string":()=>iD(),"no-ternary":()=>oD(),"no-this-before-super":()=>lD(),"no-throw-literal":()=>uD(),"no-trailing-spaces":()=>cD(),"no-unassigned-vars":()=>fD(),"no-undef":()=>pD(),"no-undef-init":()=>mD(),"no-undefined":()=>dD(),"no-underscore-dangle":()=>hD(),"no-unexpected-multiline":()=>gD(),"no-unmodified-loop-condition":()=>yD(),"no-unneeded-ternary":()=>vD(),"no-unreachable":()=>ED(),"no-unreachable-loop":()=>SD(),"no-unsafe-finally":()=>bD(),"no-unsafe-negation":()=>xD(),"no-unsafe-optional-chaining":()=>CD(),"no-unused-expressions":()=>wD(),"no-unused-labels":()=>AD(),"no-unused-private-class-members":()=>TD(),"no-unused-vars":()=>kD(),"no-use-before-define":()=>DD(),"no-useless-assignment":()=>ID(),"no-useless-backreference":()=>PD(),"no-useless-call":()=>FD(),"no-useless-catch":()=>RD(),"no-useless-computed-key":()=>_D(),"no-useless-concat":()=>BD(),"no-useless-constructor":()=>LD(),"no-useless-escape":()=>OD(),"no-useless-rename":()=>ND(),"no-useless-return":()=>MD(),"no-var":()=>jD(),"no-void":()=>UD(),"no-warning-comments":()=>qD(),"no-whitespace-before-property":()=>VD(),"no-with":()=>$D(),"nonblock-statement-body-position":()=>WD(),"object-curly-newline":()=>GD(),"object-curly-spacing":()=>zD(),"object-property-newline":()=>HD(),"object-shorthand":()=>KD(),"one-var":()=>XD(),"one-var-declaration-per-line":()=>JD(),"operator-assignment":()=>YD(),"operator-linebreak":()=>QD(),"padded-blocks":()=>ZD(),"padding-line-between-statements":()=>eI(),"prefer-arrow-callback":()=>tI(),"prefer-const":()=>rI(),"prefer-destructuring":()=>nI(),"prefer-exponentiation-operator":()=>sI(),"prefer-named-capture-group":()=>aI(),"prefer-numeric-literals":()=>iI(),"prefer-object-has-own":()=>oI(),"prefer-object-spread":()=>lI(),"prefer-promise-reject-errors":()=>uI(),"prefer-reflect":()=>cI(),"prefer-regex-literals":()=>fI(),"prefer-rest-params":()=>pI(),"prefer-spread":()=>mI(),"prefer-template":()=>dI(),"preserve-caught-error":()=>hI(),"quote-props":()=>gI(),quotes:()=>yI(),radix:()=>vI(),"require-atomic-updates":()=>EI(),"require-await":()=>SI(),"require-unicode-regexp":()=>bI(),"require-yield":()=>xI(),"rest-spread-spacing":()=>CI(),semi:()=>wI(),"semi-spacing":()=>AI(),"semi-style":()=>TI(),"sort-imports":()=>kI(),"sort-keys":()=>II(),"sort-vars":()=>PI(),"space-before-blocks":()=>FI(),"space-before-function-paren":()=>RI(),"space-in-parens":()=>_I(),"space-infix-ops":()=>BI(),"space-unary-ops":()=>LI(),"spaced-comment":()=>OI(),strict:()=>NI(),"switch-colon-spacing":()=>MI(),"symbol-description":()=>jI(),"template-curly-spacing":()=>UI(),"template-tag-spacing":()=>qI(),"unicode-bom":()=>VI(),"use-isnan":()=>$I(),"valid-typeof":()=>WI(),"vars-on-top":()=>GI(),"wrap-iife":()=>zI(),"wrap-regex":()=>HI(),"yield-star-spacing":()=>KI(),yoda:()=>XI()})),Xf}var Jf,Lb;function JI(){if(Lb)return Jf;Lb=1;const a=Bb();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,yw(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 Jf=e,Jf}var Yf,Ob;function YI(){if(Ob)return Yf;Ob=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 d=Number.NEGATIVE_INFINITY,s=i;function f(g){const h=g.fix,E=h.range[0],S=h.range[1];return d>=E||E>S?(r.push(g),!1):((E<0&&S>=0||E===0&&h.text.startsWith(e))&&(s=""),s+=c.slice(Math.max(0,d),Math.max(0,E)),s+=h.text,d=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 h of m.sort(n))typeof u!="function"||u(h)?(f(h),g=!0):r.push(h);return s+=c.slice(Math.max(0,d)),{fixed:g,messages:r.sort(o),output:s}}return a("No fixes to apply"),{fixed:!1,messages:p,output:i+c}},Yf=t,Yf}var Qf,Nb;function QI(){if(Nb)return Qf;Nb=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 Qf={SourceCodeVisitor:e},Qf}var Zf,Mb;function jb(){if(Mb)return Zf;Mb=1;function a(){return Ft.hrtime()}function e(n){const o=Ft.hrtime(n);return o[0]*1e3+o[1]/1e6}return Zf={startTime:a,endTime:e},Zf}var ep,Ub;function ZI(){if(Ub)return ep;Ub=1;const{startTime:a,endTime:e}=jb(),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 ep=function(){const t=Object.create(null);function l(p,u,r){return function(...m){const i=a(),c=u(...m),d=e(i);return n&&(typeof t[p]>"u"&&(t[p]=0),t[p]+=d),r?{result:c,tdiff:d}:c}}return{time:l,enabled:n,getListSize:o}}(),ep}var tp={},_n={},rp,qb;function eP(){if(qb)return rp;qb=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:d,parser:s,parserOptions:f,...g}=m;if("ecmaVersion"in m&&t(i),"sourceType"in m&&l(c),"globals"in m&&p(d),"parser"in m&&u(s),"parserOptions"in m&&!n(f))throw new TypeError('Key "parserOptions": Expected an object.');const h=Object.keys(g);if(h.length>0)throw new TypeError(`Unexpected key "${h[0]}" found.`)}return rp={validateLanguageOptions:r},rp}var np,Vb;function $b(){if(Vb)return np;Vb=1;const{SourceCode:a}=xh(),e=kr(),n=Fn(),o=dn(),t=qn(),l=Wr(),{validateLanguageOptions:p}=eP(),{LATEST_ECMA_VERSION:u}=ci(),r=e("eslint:languages:js"),m=5,i=Symbol.for("eslint.RuleTester.parser");function c(f,g,h){const S=g.parserOptions.ecmaFeatures||{},C=g.ecmaVersion||m;return t.analyze(f,{ignoreEval:!0,nodejsScope:S.globalReturn,impliedStrict:S.impliedStrict,ecmaVersion:typeof C=="number"?C:6,sourceType:g.sourceType||"script",childVisitorKeys:h||l.KEYS,fallback:l.getKeys})}function d(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 np={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),d(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,h){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"&&(h.length===0||h[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:h,path:E}=f,S=h.replace(n.shebangPattern,(A,b)=>`//${b}`),{ecmaVersion:C,sourceType:T,parser:x}=g,v=Object.assign({ecmaVersion:C,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 x.parseForESLint=="function"?x.parseForESLint(S,v):{ast:x.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:h}){const{body:E,path:S,bom:C}=f,{ast:T,parserServices:x,visitorKeys:v}=g;r("Scope analysis:",S);const A=g.scopeManager||c(T,h,v);return r("Scope analysis successful:",S),new a({text:E,ast:T,hasBOM:C,parserServices:x,scopeManager:A,visitorKeys:v})}},np}var Wb;function tP(){if(Wb)return _n;Wb=1;const a=Bb(),e=[{files:["**/*.js","**/*.mjs"]},{files:["**/*.cjs"],languageOptions:{sourceType:"commonjs",ecmaVersion:"latest"}}];return _n.defaultConfig=Object.freeze([{plugins:{"@":{languages:{js:$b()},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 Gb;function rP(){if(Gb)return tp;Gb=1;const{ConfigArray:a,ConfigArraySymbol:e}=Nh(),{flatConfigSchema:n}=Ka(),{defaultConfig:o}=tP(),{Config:t}=ri(),l=new Set(["name","basePath"]);function p(c,d,s){let f="user-defined",g=c.index;return c.index<s?f="base":c.index<d+s?(f="original",g=c.index-s):g=c.index-d-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(d,{basePath:s,shouldIgnore:f=!0,baseConfig:g=o}={}){super(d,{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(d){return super.normalize(d).catch(s=>{throw s.name==="ConfigError"?p(s,this[r],this[m]):s})}normalizeSync(d){try{return super.normalizeSync(d)}catch(s){throw s.name==="ConfigError"?p(s,this[r],this[m]):s}}[e.preprocessConfig](d){if(!this.shouldIgnore&&!this[u].includes(d)&&d.ignores&&Object.keys(d).filter(s=>!l.has(s)).length===1){const{ignores:s,...f}=d;return f}return d}[e.finalizeConfig](d){return new t(d)}}return tp.FlatConfigArray=i,tp}var sp,zb;function nP(){if(zb)return sp;zb=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 sp={activeFlags:a,inactiveFlags:e,getInactivityReasonMessage:n},sp}var ap,Hb;function Kb(){if(Hb)return ap;Hb=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 ap={VFile:n},ap}var ip,Xb;function sP(){if(Xb)return ip;Xb=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 ip={ParserService:a},ip}var op={},Jb;function aP(){if(Jb)return op;Jb=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 op.FileContext=a,op}var lp,Yb;function iP(){if(Yb)return lp;Yb=1;const a=pn,{VFile:e}=Kb();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 lp={ProcessorService:n},lp}var up,Qb;function oP(){if(Qb)return up;Qb=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 up={containsDifferentProperty:a},up}var cp,Zb;function lP(){if(Zb)return cp;Zb=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 cp={WarningService:a},cp}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 fp(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(d){c=!0,p=d}finally{try{if(!i&&t.return!=null&&(r=t.return(),Object(r)!==r))return}finally{if(c)throw p}}return m}}(a,e)||e0(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 uP(a){return function(e){if(Array.isArray(e))return pp(e)}(a)||function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(a)||e0(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 e0(a,e){if(a){if(typeof a=="string")return pp(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)?pp(a,e):void 0}}function pp(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 t0(a,e){return a(e={exports:{}},e.exports),e.exports}var Bn=t0(function(a,e){(function n(o){var t,l,p,u,r,m;function i(C){var T,x,v={};for(T in C)C.hasOwnProperty(T)&&(x=C[T],v[T]=typeof x=="object"&&x!==null?i(x):x);return v}function c(C,T){this.parent=C,this.key=T}function d(C,T,x,v){this.node=C,this.path=T,this.wrap=x,this.ref=v}function s(){}function f(C){return C!=null&&typeof C=="object"&&typeof C.type=="string"}function g(C,T){return(C===t.ObjectExpression||C===t.ObjectPattern)&&T==="properties"}function h(C,T){for(var x=C.length-1;x>=0;--x)if(C[x].node===T)return!0;return!1}function E(C,T){return new s().traverse(C,T)}function S(C,T){var x;return x=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]>C.range[0]}),C.extendedRange=[C.range[0],C.range[1]],x!==T.length&&(C.extendedRange[1]=T[x].range[0]),(x-=1)>=0&&(C.extendedRange[0]=T[x].range[1]),C}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(C){this.parent[this.key]=C},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 C,T,x,v,A;function b(w,k){if(Array.isArray(k))for(x=0,v=k.length;x<v;++x)w.push(k[x]);else w.push(k)}if(!this.__current.path)return null;for(A=[],C=2,T=this.__leavelist.length;C<T;++C)b(A,this.__leavelist[C].path);return b(A,this.__current.path),A},s.prototype.type=function(){return this.current().type||this.__current.wrap},s.prototype.parents=function(){var C,T,x;for(x=[],C=1,T=this.__leavelist.length;C<T;++C)x.push(this.__leavelist[C].node);return x},s.prototype.current=function(){return this.__current.node},s.prototype.__execute=function(C,T){var x,v;return v=void 0,x=this.__current,this.__current=T,this.__state=null,C&&(v=C.call(this,T.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=x,v},s.prototype.notify=function(C){this.__state=C},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(C,T){this.visitor=T,this.root=C,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(C,T){var x,v,A,b,w,k,R,F,L,P,O,$;for(this.__initialize(C,T),$={},x=this.__worklist,v=this.__leavelist,x.push(new d(C,null,null,null)),v.push(new d(null,null,null,null));x.length;)if((A=x.pop())!==$){if(A.node){if(k=this.__execute(T.enter,A),this.__state===u||k===u)return;if(x.push($),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]&&!h(v,O[L])){if(g(w,P[F]))A=new d(O[L],[R,L],"Property",null);else{if(!f(O[L]))continue;A=new d(O[L],[R,L],null,null)}x.push(A)}}else if(f(O)){if(h(v,O))continue;x.push(new d(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(C,T){var x,v,A,b,w,k,R,F,L,P,O,$,M;function _(K){var B,X,J,ge;if(K.ref.remove()){for(X=K.ref.key,ge=K.ref.parent,B=x.length;B--;)if((J=x[B]).ref&&J.ref.parent===ge){if(J.ref.key<X)break;--J.ref.key}}}for(this.__initialize(C,T),O={},x=this.__worklist,v=this.__leavelist,k=new d(C,null,null,new c($={root:C},"root")),x.push(k),v.push(k);x.length;)if((k=x.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 $.root;if((A=k.node)&&(x.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[M=L[R]])if(Array.isArray(P)){for(F=P.length;(F-=1)>=0;)if(P[F]){if(g(b,L[R]))k=new d(P[F],[M,F],"Property",new c(P,F));else{if(!f(P[F]))continue;k=new d(P[F],[M,F],null,new c(P,F))}x.push(k)}}else f(P)&&x.push(new d(P,M,null,new c(A,M)))}}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 $.root;return $.root},o.Syntax=t,o.traverse=E,o.replace=function(C,T){return new s().replace(C,T)},o.attachComments=function(C,T,x){var v,A,b,w,k=[];if(!C.range)throw new Error("attachComments needs range information");if(!x.length){if(T.length){for(b=0,A=T.length;b<A;b+=1)(v=i(T[b])).extendedRange=[0,C.range[0]],k.push(v);C.leadingComments=k}return C}for(b=0,A=T.length;b<A;b+=1)k.push(S(i(T[b]),x));return w=0,E(C,{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(C,{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}}),C},o.VisitorKeys=p,o.VisitorOption=l,o.Controller=s,o.cloneEnvironment=function(){return n({})},o})(e)}),cP=t0(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,d=new Array(r.length);for(m=0;m<r.length;m++)d[m]=(c=r[m],t[c.type](c));if(d.sort(),d.length>0){for(m=1,i=1;m<d.length;m++)d[m-1]!==d[m]&&(d[i]=d[m],i++);d.length=i}switch(d.length){case 1:return d[0];case 2:return d[0]+" or "+d[1];default:return d.slice(0,-1).join(", ")+", or "+d[d.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:Et},i=Et,c=We(" ",!1),d=/^[^ [\],():#!=><~+.]/,s=st([" ","[","]",",","(",")",":","#","!","=",">","<","~","+","."],!0,!1),f=We(">",!1),g=We("~",!1),h=We("+",!1),E=We(",",!1),S=We("!",!1),C=We("*",!1),T=We("#",!1),x=We("[",!1),v=We("]",!1),A=/^[><!]/,b=st([">","<","!"],!1,!1),w=We("=",!1),k=function(te){return(te||"")+"="},R=/^[><]/,F=st([">","<"],!1,!1),L=We(".",!1),P=function(te,q,se){return{type:"attribute",name:te,operator:q,value:se}},O=We('"',!1),$=/^[^\\"]/,M=st(["\\",'"'],!0,!1),_=We("\\",!1),K={type:"any"},B=function(te,q){return te+q},X=function(te){return{type:"literal",value:(q=te.join(""),q.replace(/\\(.)/g,function(se,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 q},J=We("'",!1),ge=/^[^\\']/,ae=st(["\\","'"],!0,!1),ke=/^[0-9]/,Z=st([["0","9"]],!1,!1),I=We("type(",!1),H=/^[^ )]/,fe=st([" ",")"],!0,!1),ce=We(")",!1),ie=/^[imsu]/,de=st(["i","m","s","u"],!1,!1),xe=We("/",!1),be=/^[^\/]/,Ae=st(["/"],!0,!1),ee=We(":not(",!1),ne=We(":matches(",!1),we=We(":has(",!1),z=We(":first-child",!1),oe=We(":last-child",!1),Te=We(":nth-child(",!1),Re=We(":nth-last-child(",!1),Pe=We(":",!1),G=0,Je=[{line:1,column:1}],ut=0,tt=[],qe={};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 We(te,q){return{type:"literal",text:te,ignoreCase:q}}function st(te,q,se){return{type:"class",parts:te,inverted:q,ignoreCase:se}}function mt(te){var q,se=Je[te];if(se)return se;for(q=te-1;!Je[q];)q--;for(se={line:(se=Je[q]).line,column:se.column};q<te;)n.charCodeAt(q)===10?(se.line++,se.column=1):se.column++,q++;return Je[te]=se,se}function rt(te,q){var se=mt(te),ue=mt(q);return{start:{offset:te,line:se.line,column:se.column},end:{offset:q,line:ue.line,column:ue.column}}}function Qe(te){G<ut||(G>ut&&(ut=G,tt=[]),tt.push(te))}function Et(){var te,q,se,ue,Se=30*G+0,Oe=qe[Se];return Oe?(G=Oe.nextPos,Oe.result):(te=G,(q=Ze())!==r&&(se=$e())!==r&&Ze()!==r?te=q=(ue=se).length===1?ue[0]:{type:"matches",selectors:ue}:(G=te,te=r),te===r&&(te=G,(q=Ze())!==r&&(q=void 0),te=q),qe[Se]={nextPos:G,result:te},te)}function Ze(){var te,q,se=30*G+1,ue=qe[se];if(ue)return G=ue.nextPos,ue.result;for(te=[],n.charCodeAt(G)===32?(q=" ",G++):(q=r,Qe(c));q!==r;)te.push(q),n.charCodeAt(G)===32?(q=" ",G++):(q=r,Qe(c));return qe[se]={nextPos:G,result:te},te}function xt(){var te,q,se,ue=30*G+2,Se=qe[ue];if(Se)return G=Se.nextPos,Se.result;if(q=[],d.test(n.charAt(G))?(se=n.charAt(G),G++):(se=r,Qe(s)),se!==r)for(;se!==r;)q.push(se),d.test(n.charAt(G))?(se=n.charAt(G),G++):(se=r,Qe(s));else q=r;return q!==r&&(q=q.join("")),te=q,qe[ue]={nextPos:G,result:te},te}function Ke(){var te,q,se,ue=30*G+3,Se=qe[ue];return Se?(G=Se.nextPos,Se.result):(te=G,(q=Ze())!==r?(n.charCodeAt(G)===62?(se=">",G++):(se=r,Qe(f)),se!==r&&Ze()!==r?te=q="child":(G=te,te=r)):(G=te,te=r),te===r&&(te=G,(q=Ze())!==r?(n.charCodeAt(G)===126?(se="~",G++):(se=r,Qe(g)),se!==r&&Ze()!==r?te=q="sibling":(G=te,te=r)):(G=te,te=r),te===r&&(te=G,(q=Ze())!==r?(n.charCodeAt(G)===43?(se="+",G++):(se=r,Qe(h)),se!==r&&Ze()!==r?te=q="adjacent":(G=te,te=r)):(G=te,te=r),te===r&&(te=G,n.charCodeAt(G)===32?(q=" ",G++):(q=r,Qe(c)),q!==r&&(se=Ze())!==r?te=q="descendant":(G=te,te=r)))),qe[ue]={nextPos:G,result:te},te)}function $e(){var te,q,se,ue,Se,Oe,Ie,Ge,ze=30*G+4,me=qe[ze];if(me)return G=me.nextPos,me.result;if(te=G,(q=Ee())!==r){for(se=[],ue=G,(Se=Ze())!==r?(n.charCodeAt(G)===44?(Oe=",",G++):(Oe=r,Qe(E)),Oe!==r&&(Ie=Ze())!==r&&(Ge=Ee())!==r?ue=Se=[Se,Oe,Ie,Ge]:(G=ue,ue=r)):(G=ue,ue=r);ue!==r;)se.push(ue),ue=G,(Se=Ze())!==r?(n.charCodeAt(G)===44?(Oe=",",G++):(Oe=r,Qe(E)),Oe!==r&&(Ie=Ze())!==r&&(Ge=Ee())!==r?ue=Se=[Se,Oe,Ie,Ge]:(G=ue,ue=r)):(G=ue,ue=r);se!==r?te=q=[q].concat(se.map(function(pe){return pe[3]})):(G=te,te=r)}else G=te,te=r;return qe[ze]={nextPos:G,result:te},te}function Ee(){var te,q,se,ue,Se,Oe,Ie,Ge=30*G+5,ze=qe[Ge];if(ze)return G=ze.nextPos,ze.result;if(te=G,(q=j())!==r){for(se=[],ue=G,(Se=Ke())!==r&&(Oe=j())!==r?ue=Se=[Se,Oe]:(G=ue,ue=r);ue!==r;)se.push(ue),ue=G,(Se=Ke())!==r&&(Oe=j())!==r?ue=Se=[Se,Oe]:(G=ue,ue=r);se!==r?(Ie=q,te=q=se.reduce(function(me,pe){return{type:pe[0],left:me,right:pe[1]}},Ie)):(G=te,te=r)}else G=te,te=r;return qe[Ge]={nextPos:G,result:te},te}function j(){var te,q,se,ue,Se,Oe,Ie,Ge=30*G+6,ze=qe[Ge];if(ze)return G=ze.nextPos,ze.result;if(te=G,n.charCodeAt(G)===33?(q="!",G++):(q=r,Qe(S)),q===r&&(q=null),q!==r){if(se=[],(ue=U())!==r)for(;ue!==r;)se.push(ue),ue=U();else se=r;se!==r?(Se=q,Ie=(Oe=se).length===1?Oe[0]:{type:"compound",selectors:Oe},Se&&(Ie.subject=!0),te=q=Ie):(G=te,te=r)}else G=te,te=r;return qe[Ge]={nextPos:G,result:te},te}function U(){var te,q=30*G+7,se=qe[q];return se?(G=se.nextPos,se.result):((te=function(){var ue,Se,Oe=30*G+8,Ie=qe[Oe];return Ie?(G=Ie.nextPos,Ie.result):(n.charCodeAt(G)===42?(Se="*",G++):(Se=r,Qe(C)),Se!==r&&(Se={type:"wildcard",value:Se}),ue=Se,qe[Oe]={nextPos:G,result:ue},ue)}())===r&&(te=function(){var ue,Se,Oe,Ie=30*G+9,Ge=qe[Ie];return Ge?(G=Ge.nextPos,Ge.result):(ue=G,n.charCodeAt(G)===35?(Se="#",G++):(Se=r,Qe(T)),Se===r&&(Se=null),Se!==r&&(Oe=xt())!==r?ue=Se={type:"identifier",value:Oe}:(G=ue,ue=r),qe[Ie]={nextPos:G,result:ue},ue)}())===r&&(te=function(){var ue,Se,Oe,Ie,Ge=30*G+10,ze=qe[Ge];return ze?(G=ze.nextPos,ze.result):(ue=G,n.charCodeAt(G)===91?(Se="[",G++):(Se=r,Qe(x)),Se!==r&&Ze()!==r&&(Oe=function(){var me,pe,ve,De,Fe=30*G+14,at=qe[Fe];return at?(G=at.nextPos,at.result):(me=G,(pe=V())!==r&&Ze()!==r&&(ve=function(){var Ue,Xe,ot,He=30*G+12,nt=qe[He];return nt?(G=nt.nextPos,nt.result):(Ue=G,n.charCodeAt(G)===33?(Xe="!",G++):(Xe=r,Qe(S)),Xe===r&&(Xe=null),Xe!==r?(n.charCodeAt(G)===61?(ot="=",G++):(ot=r,Qe(w)),ot!==r?(Xe=k(Xe),Ue=Xe):(G=Ue,Ue=r)):(G=Ue,Ue=r),qe[He]={nextPos:G,result:Ue},Ue)}())!==r&&Ze()!==r?((De=function(){var Ue,Xe,ot,He,nt,pt=30*G+18,ht=qe[pt];if(ht)return G=ht.nextPos,ht.result;if(Ue=G,n.substr(G,5)==="type("?(Xe="type(",G+=5):(Xe=r,Qe(I)),Xe!==r)if(Ze()!==r){if(ot=[],H.test(n.charAt(G))?(He=n.charAt(G),G++):(He=r,Qe(fe)),He!==r)for(;He!==r;)ot.push(He),H.test(n.charAt(G))?(He=n.charAt(G),G++):(He=r,Qe(fe));else ot=r;ot!==r&&(He=Ze())!==r?(n.charCodeAt(G)===41?(nt=")",G++):(nt=r,Qe(ce)),nt!==r?(Xe={type:"type",value:ot.join("")},Ue=Xe):(G=Ue,Ue=r)):(G=Ue,Ue=r)}else G=Ue,Ue=r;else G=Ue,Ue=r;return qe[pt]={nextPos:G,result:Ue},Ue}())===r&&(De=function(){var Ue,Xe,ot,He,nt,pt,ht=30*G+20,ft=qe[ht];if(ft)return G=ft.nextPos,ft.result;if(Ue=G,n.charCodeAt(G)===47?(Xe="/",G++):(Xe=r,Qe(xe)),Xe!==r){if(ot=[],be.test(n.charAt(G))?(He=n.charAt(G),G++):(He=r,Qe(Ae)),He!==r)for(;He!==r;)ot.push(He),be.test(n.charAt(G))?(He=n.charAt(G),G++):(He=r,Qe(Ae));else ot=r;ot!==r?(n.charCodeAt(G)===47?(He="/",G++):(He=r,Qe(xe)),He!==r?((nt=function(){var gt,Ct,bt=30*G+19,Rt=qe[bt];if(Rt)return G=Rt.nextPos,Rt.result;if(gt=[],ie.test(n.charAt(G))?(Ct=n.charAt(G),G++):(Ct=r,Qe(de)),Ct!==r)for(;Ct!==r;)gt.push(Ct),ie.test(n.charAt(G))?(Ct=n.charAt(G),G++):(Ct=r,Qe(de));else gt=r;return qe[bt]={nextPos:G,result:gt},gt}())===r&&(nt=null),nt!==r?(pt=nt,Xe={type:"regexp",value:new RegExp(ot.join(""),pt?pt.join(""):"")},Ue=Xe):(G=Ue,Ue=r)):(G=Ue,Ue=r)):(G=Ue,Ue=r)}else G=Ue,Ue=r;return qe[ht]={nextPos:G,result:Ue},Ue}()),De!==r?(pe=P(pe,ve,De),me=pe):(G=me,me=r)):(G=me,me=r),me===r&&(me=G,(pe=V())!==r&&Ze()!==r&&(ve=function(){var Ue,Xe,ot,He=30*G+11,nt=qe[He];return nt?(G=nt.nextPos,nt.result):(Ue=G,A.test(n.charAt(G))?(Xe=n.charAt(G),G++):(Xe=r,Qe(b)),Xe===r&&(Xe=null),Xe!==r?(n.charCodeAt(G)===61?(ot="=",G++):(ot=r,Qe(w)),ot!==r?(Xe=k(Xe),Ue=Xe):(G=Ue,Ue=r)):(G=Ue,Ue=r),Ue===r&&(R.test(n.charAt(G))?(Ue=n.charAt(G),G++):(Ue=r,Qe(F))),qe[He]={nextPos:G,result:Ue},Ue)}())!==r&&Ze()!==r?((De=function(){var Ue,Xe,ot,He,nt,pt,ht=30*G+15,ft=qe[ht];if(ft)return G=ft.nextPos,ft.result;if(Ue=G,n.charCodeAt(G)===34?(Xe='"',G++):(Xe=r,Qe(O)),Xe!==r){for(ot=[],$.test(n.charAt(G))?(He=n.charAt(G),G++):(He=r,Qe(M)),He===r&&(He=G,n.charCodeAt(G)===92?(nt="\\",G++):(nt=r,Qe(_)),nt!==r?(n.length>G?(pt=n.charAt(G),G++):(pt=r,Qe(K)),pt!==r?(nt=B(nt,pt),He=nt):(G=He,He=r)):(G=He,He=r));He!==r;)ot.push(He),$.test(n.charAt(G))?(He=n.charAt(G),G++):(He=r,Qe(M)),He===r&&(He=G,n.charCodeAt(G)===92?(nt="\\",G++):(nt=r,Qe(_)),nt!==r?(n.length>G?(pt=n.charAt(G),G++):(pt=r,Qe(K)),pt!==r?(nt=B(nt,pt),He=nt):(G=He,He=r)):(G=He,He=r));ot!==r?(n.charCodeAt(G)===34?(He='"',G++):(He=r,Qe(O)),He!==r?(Xe=X(ot),Ue=Xe):(G=Ue,Ue=r)):(G=Ue,Ue=r)}else G=Ue,Ue=r;if(Ue===r)if(Ue=G,n.charCodeAt(G)===39?(Xe="'",G++):(Xe=r,Qe(J)),Xe!==r){for(ot=[],ge.test(n.charAt(G))?(He=n.charAt(G),G++):(He=r,Qe(ae)),He===r&&(He=G,n.charCodeAt(G)===92?(nt="\\",G++):(nt=r,Qe(_)),nt!==r?(n.length>G?(pt=n.charAt(G),G++):(pt=r,Qe(K)),pt!==r?(nt=B(nt,pt),He=nt):(G=He,He=r)):(G=He,He=r));He!==r;)ot.push(He),ge.test(n.charAt(G))?(He=n.charAt(G),G++):(He=r,Qe(ae)),He===r&&(He=G,n.charCodeAt(G)===92?(nt="\\",G++):(nt=r,Qe(_)),nt!==r?(n.length>G?(pt=n.charAt(G),G++):(pt=r,Qe(K)),pt!==r?(nt=B(nt,pt),He=nt):(G=He,He=r)):(G=He,He=r));ot!==r?(n.charCodeAt(G)===39?(He="'",G++):(He=r,Qe(J)),He!==r?(Xe=X(ot),Ue=Xe):(G=Ue,Ue=r)):(G=Ue,Ue=r)}else G=Ue,Ue=r;return qe[ht]={nextPos:G,result:Ue},Ue}())===r&&(De=function(){var Ue,Xe,ot,He,nt,pt,ht,ft=30*G+16,gt=qe[ft];if(gt)return G=gt.nextPos,gt.result;for(Ue=G,Xe=G,ot=[],ke.test(n.charAt(G))?(He=n.charAt(G),G++):(He=r,Qe(Z));He!==r;)ot.push(He),ke.test(n.charAt(G))?(He=n.charAt(G),G++):(He=r,Qe(Z));if(ot!==r?(n.charCodeAt(G)===46?(He=".",G++):(He=r,Qe(L)),He!==r?Xe=ot=[ot,He]:(G=Xe,Xe=r)):(G=Xe,Xe=r),Xe===r&&(Xe=null),Xe!==r){if(ot=[],ke.test(n.charAt(G))?(He=n.charAt(G),G++):(He=r,Qe(Z)),He!==r)for(;He!==r;)ot.push(He),ke.test(n.charAt(G))?(He=n.charAt(G),G++):(He=r,Qe(Z));else ot=r;ot!==r?(pt=ot,ht=(nt=Xe)?[].concat.apply([],nt).join(""):"",Xe={type:"literal",value:parseFloat(ht+pt.join(""))},Ue=Xe):(G=Ue,Ue=r)}else G=Ue,Ue=r;return qe[ft]={nextPos:G,result:Ue},Ue}())===r&&(De=function(){var Ue,Xe,ot=30*G+17,He=qe[ot];return He?(G=He.nextPos,He.result):((Xe=xt())!==r&&(Xe={type:"literal",value:Xe}),Ue=Xe,qe[ot]={nextPos:G,result:Ue},Ue)}()),De!==r?(pe=P(pe,ve,De),me=pe):(G=me,me=r)):(G=me,me=r),me===r&&(me=G,(pe=V())!==r&&(pe={type:"attribute",name:pe}),me=pe)),qe[Fe]={nextPos:G,result:me},me)}())!==r&&Ze()!==r?(n.charCodeAt(G)===93?(Ie="]",G++):(Ie=r,Qe(v)),Ie!==r?ue=Se=Oe:(G=ue,ue=r)):(G=ue,ue=r),qe[Ge]={nextPos:G,result:ue},ue)}())===r&&(te=function(){var ue,Se,Oe,Ie,Ge,ze,me,pe,ve=30*G+21,De=qe[ve];if(De)return G=De.nextPos,De.result;if(ue=G,n.charCodeAt(G)===46?(Se=".",G++):(Se=r,Qe(L)),Se!==r)if((Oe=xt())!==r){for(Ie=[],Ge=G,n.charCodeAt(G)===46?(ze=".",G++):(ze=r,Qe(L)),ze!==r&&(me=xt())!==r?Ge=ze=[ze,me]:(G=Ge,Ge=r);Ge!==r;)Ie.push(Ge),Ge=G,n.charCodeAt(G)===46?(ze=".",G++):(ze=r,Qe(L)),ze!==r&&(me=xt())!==r?Ge=ze=[ze,me]:(G=Ge,Ge=r);Ie!==r?(pe=Oe,Se={type:"field",name:Ie.reduce(function(Fe,at){return Fe+at[0]+at[1]},pe)},ue=Se):(G=ue,ue=r)}else G=ue,ue=r;else G=ue,ue=r;return qe[ve]={nextPos:G,result:ue},ue}())===r&&(te=function(){var ue,Se,Oe,Ie,Ge=30*G+22,ze=qe[Ge];return ze?(G=ze.nextPos,ze.result):(ue=G,n.substr(G,5)===":not("?(Se=":not(",G+=5):(Se=r,Qe(ee)),Se!==r&&Ze()!==r&&(Oe=$e())!==r&&Ze()!==r?(n.charCodeAt(G)===41?(Ie=")",G++):(Ie=r,Qe(ce)),Ie!==r?ue=Se={type:"not",selectors:Oe}:(G=ue,ue=r)):(G=ue,ue=r),qe[Ge]={nextPos:G,result:ue},ue)}())===r&&(te=function(){var ue,Se,Oe,Ie,Ge=30*G+23,ze=qe[Ge];return ze?(G=ze.nextPos,ze.result):(ue=G,n.substr(G,9)===":matches("?(Se=":matches(",G+=9):(Se=r,Qe(ne)),Se!==r&&Ze()!==r&&(Oe=$e())!==r&&Ze()!==r?(n.charCodeAt(G)===41?(Ie=")",G++):(Ie=r,Qe(ce)),Ie!==r?ue=Se={type:"matches",selectors:Oe}:(G=ue,ue=r)):(G=ue,ue=r),qe[Ge]={nextPos:G,result:ue},ue)}())===r&&(te=function(){var ue,Se,Oe,Ie,Ge=30*G+24,ze=qe[Ge];return ze?(G=ze.nextPos,ze.result):(ue=G,n.substr(G,5)===":has("?(Se=":has(",G+=5):(Se=r,Qe(we)),Se!==r&&Ze()!==r&&(Oe=$e())!==r&&Ze()!==r?(n.charCodeAt(G)===41?(Ie=")",G++):(Ie=r,Qe(ce)),Ie!==r?ue=Se={type:"has",selectors:Oe}:(G=ue,ue=r)):(G=ue,ue=r),qe[Ge]={nextPos:G,result:ue},ue)}())===r&&(te=function(){var ue,Se,Oe=30*G+25,Ie=qe[Oe];return Ie?(G=Ie.nextPos,Ie.result):(n.substr(G,12)===":first-child"?(Se=":first-child",G+=12):(Se=r,Qe(z)),Se!==r&&(Se=Q(1)),ue=Se,qe[Oe]={nextPos:G,result:ue},ue)}())===r&&(te=function(){var ue,Se,Oe=30*G+26,Ie=qe[Oe];return Ie?(G=Ie.nextPos,Ie.result):(n.substr(G,11)===":last-child"?(Se=":last-child",G+=11):(Se=r,Qe(oe)),Se!==r&&(Se=le(1)),ue=Se,qe[Oe]={nextPos:G,result:ue},ue)}())===r&&(te=function(){var ue,Se,Oe,Ie,Ge,ze=30*G+27,me=qe[ze];if(me)return G=me.nextPos,me.result;if(ue=G,n.substr(G,11)===":nth-child("?(Se=":nth-child(",G+=11):(Se=r,Qe(Te)),Se!==r)if(Ze()!==r){if(Oe=[],ke.test(n.charAt(G))?(Ie=n.charAt(G),G++):(Ie=r,Qe(Z)),Ie!==r)for(;Ie!==r;)Oe.push(Ie),ke.test(n.charAt(G))?(Ie=n.charAt(G),G++):(Ie=r,Qe(Z));else Oe=r;Oe!==r&&(Ie=Ze())!==r?(n.charCodeAt(G)===41?(Ge=")",G++):(Ge=r,Qe(ce)),Ge!==r?(Se=Q(parseInt(Oe.join(""),10)),ue=Se):(G=ue,ue=r)):(G=ue,ue=r)}else G=ue,ue=r;else G=ue,ue=r;return qe[ze]={nextPos:G,result:ue},ue}())===r&&(te=function(){var ue,Se,Oe,Ie,Ge,ze=30*G+28,me=qe[ze];if(me)return G=me.nextPos,me.result;if(ue=G,n.substr(G,16)===":nth-last-child("?(Se=":nth-last-child(",G+=16):(Se=r,Qe(Re)),Se!==r)if(Ze()!==r){if(Oe=[],ke.test(n.charAt(G))?(Ie=n.charAt(G),G++):(Ie=r,Qe(Z)),Ie!==r)for(;Ie!==r;)Oe.push(Ie),ke.test(n.charAt(G))?(Ie=n.charAt(G),G++):(Ie=r,Qe(Z));else Oe=r;Oe!==r&&(Ie=Ze())!==r?(n.charCodeAt(G)===41?(Ge=")",G++):(Ge=r,Qe(ce)),Ge!==r?(Se=le(parseInt(Oe.join(""),10)),ue=Se):(G=ue,ue=r)):(G=ue,ue=r)}else G=ue,ue=r;else G=ue,ue=r;return qe[ze]={nextPos:G,result:ue},ue}())===r&&(te=function(){var ue,Se,Oe,Ie=30*G+29,Ge=qe[Ie];return Ge?(G=Ge.nextPos,Ge.result):(ue=G,n.charCodeAt(G)===58?(Se=":",G++):(Se=r,Qe(Pe)),Se!==r&&(Oe=xt())!==r?ue=Se={type:"class",name:Oe}:(G=ue,ue=r),qe[Ie]={nextPos:G,result:ue},ue)}()),qe[q]={nextPos:G,result:te},te)}function V(){var te,q,se,ue,Se,Oe,Ie,Ge,ze=30*G+13,me=qe[ze];if(me)return G=me.nextPos,me.result;if(te=G,(q=xt())!==r){for(se=[],ue=G,n.charCodeAt(G)===46?(Se=".",G++):(Se=r,Qe(L)),Se!==r&&(Oe=xt())!==r?ue=Se=[Se,Oe]:(G=ue,ue=r);ue!==r;)se.push(ue),ue=G,n.charCodeAt(G)===46?(Se=".",G++):(Se=r,Qe(L)),Se!==r&&(Oe=xt())!==r?ue=Se=[Se,Oe]:(G=ue,ue=r);se!==r?(Ie=q,Ge=se,te=q=[].concat.apply([Ie],Ge).join("")):(G=te,te=r)}else G=te,te=r;return qe[ze]={nextPos:G,result:te},te}function Q(te){return{type:"nth-child",index:{type:"literal",value:te}}}function le(te){return{type:"nth-last-child",index:{type:"literal",value:te}}}if((t=i())!==r&&G===n.length)return t;throw t!==r&&G<n.length&&Qe({type:"end"}),l=tt,p=ut<n.length?n.charAt(ut):null,u=ut<n.length?rt(ut,ut+1):rt(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 mp=typeof WeakMap=="function"?new WeakMap:null;function Vt(a){if(a==null)return function(){return!0};if(mp!=null){var e=mp.get(a);return e!=null||(e=r0(a),mp.set(a,e)),e}return r0(a)}function r0(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 $=0;$<O.length;++$)if(b(w,O[$],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 d="".concat(a.value.value);return function(v){return d==="".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)&&n0(v,f,A,"LEFT_SIDE",b)||a.left.subject&&f(v,A,b)&&n0(v,g,A,"RIGHT_SIDE",b)};case"adjacent":var h=Vt(a.left),E=Vt(a.right);return function(v,A,b){return E(v,A,b)&&s0(v,h,A,"LEFT_SIDE",b)||a.right.subject&&h(v,A,b)&&s0(v,E,A,"RIGHT_SIDE",b)};case"nth-child":var S=a.index.value,C=Vt(a.right);return function(v,A,b){return C(v,A,b)&&a0(v,A,S,b)};case"nth-last-child":var T=-a.index.value,x=Vt(a.right);return function(v,A,b){return x(v,A,b)&&a0(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 dp(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 n0(a,e,n,o,t){var l=fp(n,1)[0];if(!l)return!1;for(var p=dp(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 d=i;d<c;++d)if(hp(r[d],t)&&e(r[d],n,t))return!0}}return!1}function s0(a,e,n,o,t){var l=fp(n,1)[0];if(!l)return!1;for(var p=dp(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 a0(a,e,n,o){if(n===0)return!1;var t=fp(e,1)[0];if(!t)return!1;for(var l=dp(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 i0(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),d=0;d<c.length;++d){var s=c[d],f=r[s];i.push.apply(i,uP(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,d=t.length;c<d;++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 o0(a,e,n){var o=[];return i0(a,e,function(t){o.push(t)},n),o}function l0(a){return cP.parse(a)}function Pr(a,e,n){return o0(a,l0(e),n)}Pr.parse=l0,Pr.match=o0,Pr.traverse=i0,Pr.matches=function(a,e,n,o){return!e||!!a&&(n||(n=[]),Vt(e)(a,n,o))},Pr.query=Pr;var gp,u0;function fP(){if(u0)return gp;u0=1;const a=Pr;class e{source;isExit;root;nodeTypes;attributeCount;identifierCount;constructor(c,d,s,f,g,h){this.source=c,this.isExit=d,this.root=s,this.nodeTypes=f,this.attributeCount=g,this.identifierCount=h}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 d of i.slice(1))c=c.filter(s=>d.includes(s));return c}function l(i){let c=0,d=0;function s(g){switch(g.type){case"identifier":return d++,[g.value];case"not":return g.selectors.map(s),null;case"matches":{const h=g.selectors.map(s);return h.every(Boolean)?o(...h):null}case"compound":{const h=g.selectors.map(s).filter(E=>E);return h.length?t(...h):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:d}}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}`,{cause:c}):c}}function r(i){if(n.has(i))return n.get(i);const c=i.replace(/:exit$/u,""),d=p(c)??u(c),{nodeTypes:s,attributeCount:f,identifierCount:g}=l(d),h=new e(i,i.endsWith(":exit"),d,s,f,g);return n.set(i,h),h}function m(i,c,d,s){return a.matches(i,c,d,s)}return gp={parse:r,matches:m,ESQueryParsedSelector:e},gp}var yp,c0;function pP(){if(c0)return yp;c0=1;const{parse:a,matches:e}=fP(),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 d=a(c);if(d.nodeTypes){const f=d.isExit?this.exitSelectorsByNodeType:this.enterSelectorsByNodeType;d.nodeTypes.forEach(g=>{f.has(g)||f.set(g,[]),f.get(g).push(d)});return}(d.isExit?this.anyTypeExitSelectors:this.anyTypeEnterSelectors).push(d)}),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 d=this.esqueryOptions?.nodeTypeKey||"type",s=[],f=(c?this.exitSelectorsByNodeType:this.enterSelectorsByNodeType).get(m[d])||[],g=c?this.anyTypeExitSelectors:this.anyTypeEnterSelectors;let h=0,E=0;for(;h<f.length||E<g.length;){const S=h<f.length,C=E<g.length,T=g[E],x=f[h],v=C&&S&&T.compare(x)<0;!S||v?(E++,this.matches(m,i,T)&&s.push(T.source)):(h++,this.matches(m,i,x)&&s.push(x.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 d=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?(d.calculateSelectors(f.target,s,!1).forEach(g=>{i.callSync(g,f.target)}),s.unshift(f.target)):(s.shift(),d.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 yp={SourceCodeTraverser:u},yp}var vp,f0;function mP(){if(f0)return vp;f0=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 vp={RuleFixer:e},vp}var Ep,p0;function dP(){if(p0)return Ep;p0=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 Ep={getPlaceholderMatcher:a,interpolate:e},Ep}var Sp,m0;function hP(){if(m0)return Sp;m0=1;const a=Pn(),{RuleFixer:e}=mP(),{interpolate:n}=dP(),o=jh,t={start:{line:1,column:0},end:{line:1,column:1}};function l({line:x,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:x+R,column:v+k,endLine:F,endColumn:L}}function p(x){return Object.hasOwn(o.rules,x)?`Rule '${x}' was removed and replaced by: ${o.rules[x].join(", ")}`:`Definition for rule '${x}' was not found.`}function u(x,v,A){const{ruleId:b=null,loc:w=t,message:k=p(x.ruleId)}=x;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(...x){return x.length===1?Object.assign({},x[0]):typeof x[1]=="string"?{node:x[0],message:x[1],data:x[2],fix:x[3]}:{node:x[0],loc:x[1],message:x[2],data:x[3],fix:x[4]}}function m(x){x.node?a(typeof x.node=="object","Node must be an object"):a(x.loc,"Node must be provided when reporting error if location is not provided")}function i(x){return x.loc.start?x.loc:{start:x.loc,end:null}}function c(x){return x?{range:[x.range[0],x.range[1]],text:x.text}:null}function d(x){x&&a(x.range&&typeof x.range[0]=="number"&&typeof x.range[1]=="number",`Fix has invalid range: ${JSON.stringify(x,null,2)}`)}function s(x,v){return x.range[0]-v.range[0]||x.range[1]-v.range[1]}function f(x,v){for(const F of x)d(F);if(x.length===0)return null;if(x.length===1)return c(x[0]);x.sort(s);const A=v.text,b=x[0].range[0],w=x.at(-1).range[1];let k="",R=Number.MIN_SAFE_INTEGER;for(const F of x)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(x,v){if(typeof x.fix!="function")return null;const A=new e({sourceCode:v}),b=x.fix(A);return b&&Symbol.iterator in b?f(Array.from(b),v):(d(b),c(b))}function h(x,v,A){return!x.suggest||!Array.isArray(x.suggest)?[]:x.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(x){const{language:v}=x,A=v.columnStart===1?0:1,b=v.lineStart===1?0:1,w={ruleId:x.ruleId,severity:x.severity,message:x.message,line:x.loc.start.line+b,column:x.loc.start.column+A,nodeType:x.node&&x.node.type||null};return x.messageId&&(w.messageId=x.messageId),x.loc.end&&(w.endLine=x.loc.end.line+b,w.endColumn=x.loc.end.column+A),x.fix&&(w.fix=x.fix),x.suggestions&&x.suggestions.length>0&&(w.suggestions=x.suggestions),w}function S(x,v){x&&Array.isArray(x)&&x.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 C(x,v){if(x.messageId){if(!v)throw new TypeError("context.report() called with a messageId, but no messages were present in the rule metadata.");const A=x.messageId;if(x.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(x.message)return x.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=C(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?[]:h(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 Sp={FileReport:T,updateLocationInformation:l},Sp}var bp,d0;function gP(){if(d0)return bp;d0=1;const a=pn,e=qn(),n=Wr(),o=dn(),t=rx(),l=sx,{Legacy:{ConfigOps:p,ConfigValidator:u,environments:r}}=w1(),m=ra(),{SourceCode:i}=xh(),c=gw(),{ConfigCommentParser:d}=Eh(),s=JI(),f=YI(),{SourceCodeVisitor:g}=QI(),h=ZI(),{FlatConfigArray:E}=rP(),{startTime:S,endTime:C}=jb(),{assertIsRuleSeverity:T}=Ka(),{normalizeSeverityToString:x,normalizeSeverityToNumber:v}=kh(),{deepMergeArrays:A}=Ah(),b=$b(),{activeFlags:w,inactiveFlags:k,getInactivityReasonMessage:R}=nP(),F=kr()("eslint:linter"),L=10,P="espree",O=5,$=new d,M=Symbol.for("eslint.RuleTester.parser"),{LATEST_ECMA_VERSION:_}=ci(),{VFile:K}=Kb(),{ParserService:B}=sP(),{FileContext:X}=aP(),{ProcessorService:J}=iP(),{containsDifferentProperty:ge}=oP(),{Config:ae}=ri(),{WarningService:ke}=lP(),{SourceCodeTraverser:Z}=pP(),{FileReport:I,updateLocationInformation:H}=hP();function fe(Ke){return Ke===o||Ke[M]===o}function ce(Ke,$e,{exportedVariables:Ee,enabledGlobals:j}){for(const U of new Set([...Object.keys($e),...Object.keys(j)])){const V=$e[U]===void 0?void 0:p.normalizeConfigGlobal($e[U]),le=j[U]&&j[U].value||V,te=j[U]&&j[U].comments;if(le==="off")continue;let q=Ke.set.get(U);q||(q=new e.Variable(U,Ke),Ke.variables.push(q),Ke.set.set(U,q)),q.eslintImplicitGlobalSetting=V,q.eslintExplicitGlobal=te!==void 0,q.eslintExplicitGlobalComments=te,q.writeable=le==="writable"}Object.keys(Ee).forEach(U=>{const V=Ke.set.get(U);V&&(V.eslintUsed=!0,V.eslintExported=!0)}),Ke.through=Ke.through.filter(U=>{const V=U.identifier.name,Q=Ke.set.get(V);return Q?(U.resolved=Q,Q.references.push(U),!1):!0})}function ie(Ke){return Array.isArray(Ke)?Ke:[Ke]}function de(Ke,$e,Ee,j,U,V,Q){const le=Ke.rules?.[j],te=le?ie(le):["off"],q=x(te[0]),se=x(U[0]);if(!(q===se))return;const Se=le?`is already configured to '${q}'`:"is not enabled so can't be turned off";let Oe;if(te.length===1&&U.length===1||q==="off"?Oe=`Unused inline config ('${j}' ${Se}).`:ge(U.slice(1),te.slice(1))||(Oe=V.length===1?`Unused inline config ('${j}' ${Se}).`:`Unused inline config ('${j}' ${Se} with the same options).`),Oe){const Ie=v(Q),Ge={message:Oe,loc:$e};Ie===1?Ee.addWarning(Ge):Ie===2&&Ee.addError(Ge)}}function xe({type:Ke,value:$e,justification:Ee,node:j},U,V,Q,le){const te=Object.keys($.parseListConfig($e)),q=te.length?te:[null],se=[],ue={node:j,value:$e,ruleIds:te};for(const Se of q){const Oe=Q.getLoc(j);if(Se===null||U(Se))if(Ke==="disable-next-line"){const{line:Ie,column:Ge}=H(Oe.end,V);se.push({parentDirective:ue,type:Ke,line:Ie,column:Ge,ruleId:Se,justification:Ee})}else{const{line:Ie,column:Ge}=H(Oe.start,V);se.push({parentDirective:ue,type:Ke,line:Ie,column:Ge,ruleId:Se,justification:Ee})}else le.addError({ruleId:Se,loc:Oe})}return se}function be(Ke,$e,Ee,j,U){const V={},Q=Object.create(null),le={},te=[],q=new u({builtInRules:s});return Ke.getInlineConfigNodes().filter(se=>se.type!=="Shebang").forEach(se=>{const ue=$.parseDirective(se.value);if(!ue)return;const{label:Se,value:Oe,justification:Ie}=ue,Ge=/^eslint-disable-(?:next-)?line$/u.test(Se);if(se.type==="Line"&&!Ge)return;const ze=Ke.getLoc(se);if(Ee){const me=se.type==="Block"?`/*${Se}*/`:`//${Se}`;U.addWarning({ruleId:null,message:`'${me}' has no effect because you have 'noInlineConfig' setting in ${Ee}.`,loc:ze});return}if(Se==="eslint-disable-line"&&ze.start.line!==ze.end.line){const me=`${Se} comment should not span multiple lines.`;U.addError({message:me,loc:ze});return}switch(Se){case"eslint-disable":case"eslint-enable":case"eslint-disable-next-line":case"eslint-disable-line":{const me=Se.slice(7),pe=xe({type:me,value:Oe,justification:Ie,node:se},$e,b,Ke,U);te.push(...pe);break}case"exported":Object.assign(le,$.parseListConfig(Oe));break;case"globals":case"global":for(const[me,pe]of Object.entries($.parseStringConfig(Oe))){let ve;try{ve=p.normalizeConfigGlobal(pe)}catch(De){U.addError({loc:ze,message:De.message});continue}Q[me]?(Q[me].comments.push(se),Q[me].value=ve):Q[me]={comments:[se],value:ve}}break;case"eslint":{const me=$.parseJSONLikeConfig(Oe);me.ok?Object.keys(me.config).forEach(pe=>{const ve=$e(pe),De=me.config[pe];if(!ve){U.addError({ruleId:pe,loc:ze});return}if(Object.hasOwn(V,pe)){U.addError({message:`Rule "${pe}" is already configured by another configuration comment in the preceding code. This configuration is ignored.`,loc:ze});return}let Fe=ie(De);Fe.length===1&&j.rules&&Object.hasOwn(j.rules,pe)&&(Fe=[Fe[0],...ie(j.rules[pe]).slice(1)]);try{q.validateRuleOptions(ve,pe,Fe)}catch(at){if(at.code==="ESLINT_INVALID_RULE_OPTIONS_SCHEMA")throw at;U.addError({ruleId:pe,message:at.message,loc:ze});return}V[pe]=Fe}):U.addFatal({loc:ze,message:me.error.message});break}}}),{configuredRules:V,enabledGlobals:Q,exportedVariables:le,disableDirectives:te}}function Ae(Ke,$e,Ee,j){const U=[];if(Ke.getDisableDirectives){const{directives:V,problems:Q}=Ke.getDisableDirectives();Array.isArray(Q)&&Q.forEach(le=>j.addError(le)),V.forEach(le=>{const te=xe(le,$e,Ee,Ke,j);U.push(...te)})}return U}function ee(Ke,$e){return fe(Ke)&&$e==="latest"?o.latestEcmaVersion:$e>=2015?$e-2009:$e}function ne(Ke){switch(Ke){case 3:return 3;case 5:case void 0:return 5;default:if(typeof Ke=="number")return Ke>=2015?Ke:Ke+2009}return _}const we=/\/\*\s*eslint-env\s.+?(?:\*\/|$)/gsu;function z(Ke){let $e,Ee;for(we.lastIndex=0;($e=we.exec(Ke))!==null;)$e[0].endsWith("*/")&&(Ee=Object.assign(Ee||{},$.parseListConfig($.parseDirective($e[0].slice(2,-2)).value)));return Ee}function oe(Ke){const $e=Ke.split(a.sep),Ee=$e.lastIndexOf("<text>");return Ee===-1?Ke:$e.slice(Ee).join(a.sep)}function Te(Ke,$e){const Ee=$e.linterOptions||$e,j=Ee.noInlineConfig===!0,U=Ke.allowInlineConfig===!1,V=$e.configNameOfNoInlineConfig?` (${$e.configNameOfNoInlineConfig})`:"";let Q=Ke.reportUnusedDisableDirectives;typeof Q=="boolean"&&(Q=Q?"error":"off"),typeof Q!="string"&&(typeof Ee.reportUnusedDisableDirectives=="boolean"?Q=Ee.reportUnusedDisableDirectives?"warn":"off":Q=Ee.reportUnusedDisableDirectives===void 0?"off":x(Ee.reportUnusedDisableDirectives));const le=Ee.reportUnusedInlineConfigs===void 0?"off":x(Ee.reportUnusedInlineConfigs);let te=Ke.ruleFilter;return typeof te!="function"&&(te=()=>!0),{filename:oe(Ke.filename||"<input>"),allowInlineConfig:!U,warnInlineConfig:j&&!U?`your config${V}`:null,reportUnusedDisableDirectives:Q,reportUnusedInlineConfigs:le,disableFixes:!!Ke.disableFixes,stats:Ke.stats,ruleFilter:te}}function Re(Ke,$e,Ee){const j=Ee.filter(Q=>Q.parserOptions).reduce((Q,le)=>t(Q,le.parserOptions),{}),U=t(j,$e||{});return U.sourceType==="module"&&(U.ecmaFeatures=Object.assign({},U.ecmaFeatures,{globalReturn:!1})),U.ecmaVersion=ee(Ke,U.ecmaVersion),U}function Pe({globals:Ke,parser:$e,parserOptions:Ee}){const{ecmaVersion:j,sourceType:U}=Ee;return{globals:Ke,ecmaVersion:ne(j),sourceType:U,parser:$e,parserOptions:Ee}}function G(Ke,$e){return Object.assign(Object.create(null),...$e.filter(Ee=>Ee.globals).map(Ee=>Ee.globals),Ke)}function Je(Ke,$e,Ee){const{type:j,key:U}=$e;Ee.times||(Ee.times={passes:[{}]});const V=Ee.fixPasses;V>Ee.times.passes.length-1&&Ee.times.passes.push({}),U?(Ee.times.passes[V][j]??={},Ee.times.passes[V][j][U]??={total:0},Ee.times.passes[V][j][U].total+=Ke):(Ee.times.passes[V][j]??={total:0},Ee.times.passes[V][j].total+=Ke)}function ut(Ke,$e){return Array.isArray(Ke)?A($e,Ke.slice(1)):$e??[]}function tt(Ke,$e,Ee){const U=$e.parserOptions.ecmaFeatures||{},V=$e.ecmaVersion||O;return e.analyze(Ke,{ignoreEval:!0,nodejsScope:U.globalReturn,impliedStrict:U.impliedStrict,ecmaVersion:typeof V=="number"?V:6,sourceType:$e.sourceType||"script",childVisitorKeys:n.KEYS,fallback:m.getKeys})}function qe(Ke,$e){if(!Ke||typeof Ke!="object"||typeof Ke.create!="function")throw new TypeError(`Error while loading rule '${$e.id}': Rule must be an object with a \`create\` method`);try{return Ke.create($e)}catch(Ee){throw Ee.message=`Error while loading rule '${$e.id}': ${Ee.message}`,Ee}}function We(Ke,$e,Ee,j,U,V,Q,le,te,q,se,ue,Se,Oe,Ie){const Ge=new g,ze=new X({cwd:q,filename:le,physicalFilename:se||le,sourceCode:Ke,parserOptions:{...V.parserOptions},parserPath:j,languageOptions:V,settings:Q}),me=Ke.traverse();return Object.keys($e).forEach(ve=>{const De=ae.getRuleNumericSeverity($e[ve]);if(De===0||ue&&!ue({ruleId:ve,severity:De}))return;const Fe=Ee(ve);if(!Fe){Ie.addError({ruleId:ve});return}const at=ze.extend({id:ve,options:ut($e[ve],te?Fe.meta?.defaultOptions:void 0),report(...He){const nt=Ie.addRuleMessage(ve,De,...He);if(nt.fix&&!(Fe.meta&&Fe.meta.fixable))throw new Error('Fixable rules must set the `meta.fixable` property to "code" or "whitespace".');if(nt.suggestions&&!(Fe.meta&&Fe.meta.hasSuggestions===!0))throw Fe.meta&&Fe.meta.docs&&typeof Fe.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`.")}}),Ue=h.enabled||Se?h.time(ve,qe,Se)(Fe,at):qe(Fe,at),Xe=Se?Ue.result:Ue;Se&&Je(Ue.tdiff,{type:"rules",key:ve},Oe);function ot(He){return function(...pt){try{const ht=He(...pt),ft=Se?ht.result:ht;return Se&&Je(ht.tdiff,{type:"rules",key:ve},Oe),ft}catch(ht){throw ht.ruleId=ve,ht}}}if(typeof Xe>"u"||Xe===null)throw new Error(`The create() function for rule '${ve}' did not return an object.`);Object.keys(Xe).forEach(He=>{const nt=h.enabled||Se?h.time(ve,Xe[He],Se):Xe[He];Ge.add(He,ot(nt))})}),Z.getInstance(U).traverseSync(Ke,Ge,{steps:me}),Ie}function st(Ke){if(typeof Ke=="object"){const{hasBOM:$e,text:Ee}=Ke;return($e?"\uFEFF":"")+Ee}return String(Ke)}function mt(Ke,$e){return Ke.lastConfigArray&&Ke.lastConfigArray.pluginEnvironments.get($e)||r.get($e)||null}function rt(Ke,$e){return Ke.lastConfigArray&&Ke.lastConfigArray.pluginRules.get($e)||Ke.ruleMap.get($e)}function Qe(Ke){if(Ke)return Ke;if(typeof Ft=="object")return Ft.cwd()}const Et=new WeakMap;function Ze(Ke){const{configType:$e}=Et.get(Ke);if($e==="flat")throw new Error("This method cannot be used with flat config. Add your entries directly into the config array.")}class xt{constructor({cwd:$e,configType:Ee="flat",flags:j=[],warningService:U=new ke}={}){const V=[];j.forEach(Q=>{if(k.has(Q)){const le=k.get(Q),te=R(le),q=`The flag '${Q}' is inactive: ${te}`;if(typeof le.replacedBy>"u")throw new Error(q);typeof le.replacedBy=="string"&&V.push(le.replacedBy),U.emitInactiveFlagWarning(Q,q);return}if(!w.has(Q))throw new Error(`Unknown flag '${Q}'.`);V.push(Q)}),Et.set(this,{cwd:Qe($e),flags:V,lastConfigArray:null,lastSourceCode:null,lastSuppressedMessages:[],configType:Ee,parserMap:new Map([["espree",o]]),ruleMap:new s,warningService:U}),this.version=l.version}static get version(){return l.version}hasFlag($e){return Et.get(this).flags.includes($e)}#e($e,Ee,j){const U=Et.get(this),V=Ee||{},Q=Te(j,V);let le=P,te=o;if(typeof V.parser=="object"&&V.parser!==null)le=V.parser.filePath,te=V.parser.definition;else if(typeof V.parser=="string"){if(!U.parserMap.has(V.parser))return[{ruleId:null,fatal:!0,severity:2,message:`Configured parser '${V.parser}' was not found.`,line:0,column:0,nodeType:null}];le=V.parser,te=U.parserMap.get(V.parser)}const q=Q.allowInlineConfig&&!Q.warnInlineConfig?z($e.body):{},se=Object.assign({builtin:!0},V.env,q),ue=Object.keys(se).filter(De=>se[De]).map(De=>mt(U,De)).filter(De=>De),Se=Re(te,V.parserOptions||{},ue),Oe=G(V.globals||{},ue),Ie=V.settings||{},Ge=Pe({globals:V.globals,parser:te,parserOptions:Se});if(U.lastSourceCode)U.lastSourceCode.scopeManager||(U.lastSourceCode=new i({text:U.lastSourceCode.text,ast:U.lastSourceCode.ast,hasBOM:U.lastSourceCode.hasBOM,parserServices:U.lastSourceCode.parserServices,visitorKeys:U.lastSourceCode.visitorKeys,scopeManager:tt(U.lastSourceCode.ast,Ge)}));else{let De;Q.stats&&(De=S());const at=new B().parseSync($e,{language:b,languageOptions:Ge});if(Q.stats){const Ue=C(De);Je(Ue,{type:"parse"},U)}if(!at.ok)return at.errors;U.lastSourceCode=at.sourceCode}const ze=U.lastSourceCode,me=new I({ruleMapper:De=>rt(U,De),language:b,sourceCode:ze,disableFixes:Q.disableFixes}),pe=Q.allowInlineConfig?be(ze,De=>rt(U,De),Q.warnInlineConfig,V,me):{configuredRules:{},enabledGlobals:{},exportedVariables:{},disableDirectives:[]};ce(ze.scopeManager.scopes[0],Oe,{exportedVariables:pe.exportedVariables,enabledGlobals:pe.enabledGlobals});const ve=Object.assign({},V.rules,pe.configuredRules);try{We(ze,ve,De=>rt(U,De),le,b,Ge,Ie,Q.filename,!0,U.cwd,j.physicalFilename,null,Q.stats,U,me)}catch(De){if(De.message+=`
130
+ Occurred while linting ${Q.filename}`,F("An error occurred while traversing"),F("Filename:",Q.filename),De.currentNode){const{line:Fe}=ze.getLoc(De.currentNode).start;F("Line:",Fe),De.message+=`:${Fe}`}throw F("Parser Options:",Se),F("Parser Path:",le),F("Settings:",Ie),De.ruleId&&(De.message+=`
131
+ Rule: "${De.ruleId}"`),De}return c({language:b,sourceCode:ze,directives:pe.disableDirectives,disableFixes:Q.disableFixes,problems:me.messages.sort((De,Fe)=>De.line-Fe.line||De.column-Fe.column),reportUnusedDisableDirectives:Q.reportUnusedDisableDirectives})}_verifyWithoutProcessors($e,Ee,j){const U=Et.get(this),V=oe(j.filename||"<input>");let Q;typeof $e=="string"?(U.lastSourceCode=null,Q=$e):(U.lastSourceCode=$e,Q=$e.text);const le=new K(V,Q,{physicalPath:j.physicalFilename});return this.#e(le,Ee,j)}verify($e,Ee,j){F("Verify");const{configType:U,cwd:V}=Et.get(this),Q=typeof j=="string"?{filename:j}:j||{},le=Ee??{};if(U!=="eslintrc"){let te=le;return(!Array.isArray(le)||typeof le.getConfig!="function")&&(te=new E(le,{basePath:V}),te.normalizeSync()),this._distinguishSuppressedMessages(this._verifyWithFlatConfigArray($e,te,Q,!0))}return typeof le.extractConfig=="function"?this._distinguishSuppressedMessages(this._verifyWithConfigArray($e,le,Q)):Q.preprocess||Q.postprocess?this._distinguishSuppressedMessages(this._verifyWithProcessor($e,le,Q)):this._distinguishSuppressedMessages(this._verifyWithoutProcessors($e,le,Q))}_verifyWithFlatConfigArrayAndProcessor($e,Ee,j,U){const V=Et.get(this),Q=j.filename||"<input>",le=oe(Q),te=j.physicalFilename||le,q=st($e),se=new K(le,q,{physicalPath:te}),ue=j.preprocess||(ve=>[ve]),Se=j.postprocess||(ve=>ve.flat()),Oe=new J,Ie=Oe.preprocessSync(se,{processor:{preprocess:ue,postprocess:Se}});if(!Ie.ok)return Ie.errors;const Ge=j.filterCodeBlock||(ve=>ve.endsWith(".js")),ze=a.extname(Q),{files:me}=Ie,pe=me.map(ve=>(F("A code block was found: %o",ve.path||"(unnamed)"),typeof ve=="string"?this._verifyWithFlatConfigArrayAndWithoutProcessors(ve,Ee,j):Ge(ve.path,ve.body)?U&&(q!==ve.rawBody||a.extname(ve.path)!==ze)?(F("Resolving configuration again because the file content or extension was changed."),this._verifyWithFlatConfigArray(ve.rawBody,U,{...j,filename:ve.path,physicalFilename:ve.physicalPath})):(V.lastSourceCode=null,this.#t(ve,Ee,{...j,filename:ve.path,physicalFilename:ve.physicalPath})):(F("This code block was skipped."),[])));return Oe.postprocessSync(se,pe,{processor:{preprocess:ue,postprocess:Se}})}#t($e,Ee,j){const U=Et.get(this),V=Ee||{},{settings:Q={},languageOptions:le}=V,te=Te(j,V);if(U.lastSourceCode)U.lastSourceCode.scopeManager===null&&(U.lastSourceCode=new i({text:U.lastSourceCode.text,ast:U.lastSourceCode.ast,hasBOM:U.lastSourceCode.hasBOM,parserServices:U.lastSourceCode.parserServices,visitorKeys:U.lastSourceCode.visitorKeys,scopeManager:tt(U.lastSourceCode.ast,le)}));else{let Ie;te.stats&&(Ie=S());const ze=new B().parseSync($e,V);if(te.stats){const me=C(Ie);Je(me,{type:"parse"},U)}if(!ze.ok)return ze.errors;U.lastSourceCode=ze.sourceCode}const q=U.lastSourceCode,se=new I({ruleMapper:Ie=>V.getRuleDefinition(Ie),language:V.language,sourceCode:q,disableFixes:te.disableFixes});q.applyLanguageOptions?.(le);const ue={rules:{}};if(te.allowInlineConfig)if(te.warnInlineConfig)q.getInlineConfigNodes&&q.getInlineConfigNodes().forEach(Ie=>{const Ge=q.getLoc(Ie),ze=q.getRange(Ie);se.addWarning({message:`'${q.text.slice(ze[0],ze[1])}' has no effect because you have 'noInlineConfig' setting in ${te.warnInlineConfig}.`,loc:Ge})});else{const Ie=q.applyInlineConfig?.();if(Ie){Ie.problems.forEach(Ge=>{se.addFatal(Ge)});for(const{config:Ge,loc:ze}of Ie.configs)Object.keys(Ge.rules).forEach(me=>{const pe=V.getRuleDefinition(me),ve=Ge.rules[me];if(!pe){se.addError({ruleId:me,loc:ze});return}if(Object.hasOwn(ue.rules,me)){se.addError({message:`Rule "${me}" is already configured by another configuration comment in the preceding code. This configuration is ignored.`,loc:ze});return}try{const De=ie(ve);let Fe=De;T(me,Fe[0]);let at=!0;if(Fe.length===1&&V.rules&&Object.hasOwn(V.rules,me))Fe=[Fe[0],...V.rules[me].slice(1)],V.rules[me][0]>0&&(at=!1);else{const Ue=Fe.slice(1),Xe=A(pe.meta?.defaultOptions,Ue);Xe.length&&(Fe=[Fe[0],...Xe])}te.reportUnusedInlineConfigs!=="off"&&de(V,ze,se,me,Fe,De,te.reportUnusedInlineConfigs),at&&V.validateRulesConfig({[me]:Fe}),ue.rules[me]=Fe}catch(De){if(De.code==="ESLINT_INVALID_RULE_OPTIONS_SCHEMA")throw De;let Fe=De.message.slice(De.message.startsWith('Key "rules":')?De.message.indexOf(":",12)+1:De.message.indexOf(":")+1).trim();De.messageTemplate&&(Fe+=` You passed "${ve}".`),se.addError({ruleId:me,message:`Inline configuration for rule "${me}" is invalid:
132
+ ${Fe}
133
+ `,loc:ze})}})}}const Se=te.allowInlineConfig&&!te.warnInlineConfig?Ae(q,Ie=>V.getRuleDefinition(Ie),V.language,se):[],Oe=Object.assign({},V.rules,ue.rules);q.finalize?.();try{We(q,Oe,Ie=>V.getRuleDefinition(Ie),void 0,V.language,le,Q,te.filename,!1,U.cwd,j.physicalFilename,te.ruleFilter,te.stats,U,se)}catch(Ie){if(Ie.message+=`
134
+ Occurred while linting ${te.filename}`,F("An error occurred while traversing"),F("Filename:",te.filename),Ie.currentNode){const{line:Ge}=q.getLoc(Ie.currentNode).start;F("Line:",Ge),Ie.message+=`:${Ge}`}throw F("Parser Options:",le.parserOptions),F("Settings:",Q),Ie.ruleId&&(Ie.message+=`
135
+ Rule: "${Ie.ruleId}"`),Ie}return c({language:V.language,sourceCode:q,directives:Se,disableFixes:te.disableFixes,problems:se.messages.sort((Ie,Ge)=>Ie.line-Ge.line||Ie.column-Ge.column),reportUnusedDisableDirectives:te.reportUnusedDisableDirectives,ruleFilter:te.ruleFilter,configuredRules:Oe})}_verifyWithFlatConfigArrayAndWithoutProcessors($e,Ee,j){const U=Et.get(this),V=oe(j.filename||"<input>");let Q;typeof $e=="string"?(U.lastSourceCode=null,Q=$e):(U.lastSourceCode=$e,Q=$e.text);const le=new K(V,Q,{physicalPath:j.physicalFilename});return this.#t(le,Ee,j)}_verifyWithConfigArray($e,Ee,j){F("With ConfigArray: %s",j.filename),Et.get(this).lastConfigArray=Ee;const U=Ee.extractConfig(j.filename),V=U.processor&&Ee.pluginProcessors.get(U.processor);if(V){F("Apply the processor: %o",U.processor);const{preprocess:Q,postprocess:le,supportsAutofix:te}=V,q=j.disableFixes||!te;return this._verifyWithProcessor($e,U,{...j,disableFixes:q,postprocess:le,preprocess:Q},Ee)}return this._verifyWithoutProcessors($e,U,j)}_verifyWithFlatConfigArray($e,Ee,j,U=!1){F("With flat config: %s",j.filename);const V=j.filename||"__placeholder__.js";Et.get(this).lastConfigArray=Ee;const Q=Ee.getConfig(V);if(!Q)return[{ruleId:null,severity:1,message:`No matching configuration found for ${V}.`,line:0,column:0,nodeType:null}];if(Q.processor){F("Apply the processor: %o",Q.processor);const{preprocess:le,postprocess:te,supportsAutofix:q}=Q.processor,se=j.disableFixes||!q;return this._verifyWithFlatConfigArrayAndProcessor($e,Q,{...j,filename:V,disableFixes:se,postprocess:te,preprocess:le},Ee)}return U&&(j.preprocess||j.postprocess)?this._verifyWithFlatConfigArrayAndProcessor($e,Q,j):this._verifyWithFlatConfigArrayAndWithoutProcessors($e,Q,j)}_verifyWithProcessor($e,Ee,j,U){const V=Et.get(this),Q=j.filename||"<input>",le=oe(Q),te=j.physicalFilename||le,q=st($e),se=new K(le,q,{physicalPath:te}),ue=j.preprocess||(ve=>[ve]),Se=j.postprocess||(ve=>ve.flat()),Oe=new J,Ie=Oe.preprocessSync(se,{processor:{preprocess:ue,postprocess:Se}});if(!Ie.ok)return Ie.errors;const Ge=j.filterCodeBlock||(ve=>ve.endsWith(".js")),ze=a.extname(Q),{files:me}=Ie,pe=me.map(ve=>(F("A code block was found: %o",ve.path??"(unnamed)"),typeof ve=="string"?this._verifyWithoutProcessors(ve,Ee,j):Ge(ve.path,ve.body)?U&&(q!==ve.rawBody||a.extname(ve.path)!==ze)?(F("Resolving configuration again because the file content or extension was changed."),this._verifyWithConfigArray(ve.rawBody,U,{...j,filename:ve.path,physicalFilename:ve.physicalPath})):(V.lastSourceCode=null,this.#e(ve,Ee,{...j,filename:ve.path,physicalFilename:ve.physicalPath})):(F("This code block was skipped."),[])));return Oe.postprocessSync(se,pe,{processor:{preprocess:ue,postprocess:Se}})}_distinguishSuppressedMessages($e){const Ee=[],j=[],U=Et.get(this);for(const V of $e)V.suppressions?j.push(V):Ee.push(V);return U.lastSuppressedMessages=j,Ee}getSourceCode(){return Et.get(this).lastSourceCode}getTimes(){return Et.get(this).times??{passes:[]}}getFixPassCount(){return Et.get(this).fixPasses??0}getSuppressedMessages(){return Et.get(this).lastSuppressedMessages}defineRule($e,Ee){Ze(this),Et.get(this).ruleMap.define($e,Ee)}defineRules($e){Ze(this),Object.getOwnPropertyNames($e).forEach(Ee=>{this.defineRule(Ee,$e[Ee])})}getRules(){Ze(this);const{lastConfigArray:$e,ruleMap:Ee}=Et.get(this);return new Map(function*(){yield*Ee,$e&&(yield*$e.pluginRules)}())}defineParser($e,Ee){Ze(this),Et.get(this).parserMap.set($e,Ee)}verifyAndFix($e,Ee,j){let U,V,Q=!1,le=0,te=$e,q,se;const ue=j&&j.filename||`${$e.slice(0,10)}...`,Se=j&&typeof j.fix<"u"?j.fix:!0,Oe=j?.stats,Ie=Et.get(this);Oe&&(delete Ie.times,Ie.fixPasses=0);do{le++;let Ge;Oe&&(Ge=S()),F(`Linting code for ${ue} (pass ${le})`),U=this.verify(te,Ee,j),F(`Generating fixed text for ${ue} (pass ${le})`);let ze;if(Oe&&(ze=S()),V=f.applyFixes(te,U,Se),Oe)if(V.fixed){const me=C(ze);Je(me,{type:"fix"},Ie),Ie.fixPasses++}else Je(0,{type:"fix"},Ie);if(U.length===1&&U[0].fatal)break;if(Q=Q||V.fixed,q=se,se=te,te=V.output,Oe){Ge=C(Ge);const me=Ie.times.passes.length-1;Ie.times.passes[me].total=Ge}if(le>1&&te.length===q.length&&te===q){F(`Circular fixes detected after pass ${le}. Exiting fix loop.`),Ie.warningService.emitCircularFixesWarning(j?.filename??"text");break}}while(V.fixed&&le<L);if(V.fixed){let Ge;Oe&&(Ge=S()),V.messages=this.verify(te,Ee,j),Oe&&(Je(0,{type:"fix"},Ie),Ie.times.passes.at(-1).total=C(Ge))}return V.fixed=Q,V.output=te,V}}return bp={Linter:xt,getLinterInternalSlots(Ke){return Et.get(Ke)}},bp}function yP(){return gP().Linter}var vP=yP();function EP(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var SP={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,"CSSFunctionDeclarations":false,"CSSFunctionDescriptors":false,"CSSFunctionRule":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,"SpeechGrammar":false,"SpeechGrammarList":false,"SpeechRecognition":false,"SpeechRecognitionErrorEvent":false,"SpeechRecognitionEvent":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}},xp,h0;function bP(){return h0||(h0=1,xp=SP),xp}var xP=bP(),g0=EP(xP);const CP=new vP,wP={languageOptions:{globals:{...g0.browser,...g0.es2021},parserOptions:{ecmaVersion:2022,sourceType:"module",ecmaFeatures:{jsx:!0}}},rules:{"no-unused-vars":["warn",{argsIgnorePattern:"^_"}],"no-undef":"error",semi:"off"}};function y0(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=CP.verify(e,wP),u=e.split(`
136
+ `),r=p.map(m=>{const i=y0(u,m.line,m.column),c=m.endLine&&m.endColumn?y0(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})}}})();