@sarj/eslint-plugin 18.3.1 → 19.0.1

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,12 @@
1
+ import {createRequire as sarjCreateRequire} from "node:module";const require=sarjCreateRequire(import.meta.url);
2
+ var _T=Object.create;var Wo=Object.defineProperty;var YT=Object.getOwnPropertyDescriptor;var bT=Object.getOwnPropertyNames;var gT=Object.getPrototypeOf,ST=Object.prototype.hasOwnProperty;var E=(r,t)=>()=>{try{return t||r((t={exports:{}}).exports,t),t.exports}catch(i){throw t=0,i}},vT=(r,t)=>{for(var i in t)Wo(r,i,{get:t[i],enumerable:!0})},No=(r,t,i,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of bT(t))!ST.call(r,o)&&o!==i&&Wo(r,o,{get:()=>t[o],enumerable:!(s=YT(t,o))||s.enumerable});return r},Ur=(r,t,i)=>(No(r,t,"default"),i&&No(i,t,"default")),zt=(r,t,i)=>(i=r!=null?_T(gT(r)):{},No(t||!r||!r.__esModule?Wo(i,"default",{value:r,enumerable:!0}):i,r));var Ko=E(Lt=>{"use strict";Object.defineProperty(Lt,"__esModule",{value:!0});Lt.AST_TOKEN_TYPES=Lt.AST_NODE_TYPES=void 0;var Zc;(function(r){r.AccessorProperty="AccessorProperty",r.ArrayExpression="ArrayExpression",r.ArrayPattern="ArrayPattern",r.ArrowFunctionExpression="ArrowFunctionExpression",r.AssignmentExpression="AssignmentExpression",r.AssignmentPattern="AssignmentPattern",r.AwaitExpression="AwaitExpression",r.BinaryExpression="BinaryExpression",r.BlockStatement="BlockStatement",r.BreakStatement="BreakStatement",r.CallExpression="CallExpression",r.CatchClause="CatchClause",r.ChainExpression="ChainExpression",r.ClassBody="ClassBody",r.ClassDeclaration="ClassDeclaration",r.ClassExpression="ClassExpression",r.ConditionalExpression="ConditionalExpression",r.ContinueStatement="ContinueStatement",r.DebuggerStatement="DebuggerStatement",r.Decorator="Decorator",r.DoWhileStatement="DoWhileStatement",r.EmptyStatement="EmptyStatement",r.ExportAllDeclaration="ExportAllDeclaration",r.ExportDefaultDeclaration="ExportDefaultDeclaration",r.ExportNamedDeclaration="ExportNamedDeclaration",r.ExportSpecifier="ExportSpecifier",r.ExpressionStatement="ExpressionStatement",r.ForInStatement="ForInStatement",r.ForOfStatement="ForOfStatement",r.ForStatement="ForStatement",r.FunctionDeclaration="FunctionDeclaration",r.FunctionExpression="FunctionExpression",r.Identifier="Identifier",r.IfStatement="IfStatement",r.ImportAttribute="ImportAttribute",r.ImportDeclaration="ImportDeclaration",r.ImportDefaultSpecifier="ImportDefaultSpecifier",r.ImportExpression="ImportExpression",r.ImportNamespaceSpecifier="ImportNamespaceSpecifier",r.ImportSpecifier="ImportSpecifier",r.JSXAttribute="JSXAttribute",r.JSXClosingElement="JSXClosingElement",r.JSXClosingFragment="JSXClosingFragment",r.JSXElement="JSXElement",r.JSXEmptyExpression="JSXEmptyExpression",r.JSXExpressionContainer="JSXExpressionContainer",r.JSXFragment="JSXFragment",r.JSXIdentifier="JSXIdentifier",r.JSXMemberExpression="JSXMemberExpression",r.JSXNamespacedName="JSXNamespacedName",r.JSXOpeningElement="JSXOpeningElement",r.JSXOpeningFragment="JSXOpeningFragment",r.JSXSpreadAttribute="JSXSpreadAttribute",r.JSXSpreadChild="JSXSpreadChild",r.JSXText="JSXText",r.LabeledStatement="LabeledStatement",r.Literal="Literal",r.LogicalExpression="LogicalExpression",r.MemberExpression="MemberExpression",r.MetaProperty="MetaProperty",r.MethodDefinition="MethodDefinition",r.NewExpression="NewExpression",r.ObjectExpression="ObjectExpression",r.ObjectPattern="ObjectPattern",r.PrivateIdentifier="PrivateIdentifier",r.Program="Program",r.Property="Property",r.PropertyDefinition="PropertyDefinition",r.RestElement="RestElement",r.ReturnStatement="ReturnStatement",r.SequenceExpression="SequenceExpression",r.SpreadElement="SpreadElement",r.StaticBlock="StaticBlock",r.Super="Super",r.SwitchCase="SwitchCase",r.SwitchStatement="SwitchStatement",r.TaggedTemplateExpression="TaggedTemplateExpression",r.TemplateElement="TemplateElement",r.TemplateLiteral="TemplateLiteral",r.ThisExpression="ThisExpression",r.ThrowStatement="ThrowStatement",r.TryStatement="TryStatement",r.UnaryExpression="UnaryExpression",r.UpdateExpression="UpdateExpression",r.VariableDeclaration="VariableDeclaration",r.VariableDeclarator="VariableDeclarator",r.WhileStatement="WhileStatement",r.WithStatement="WithStatement",r.YieldExpression="YieldExpression",r.TSAbstractAccessorProperty="TSAbstractAccessorProperty",r.TSAbstractKeyword="TSAbstractKeyword",r.TSAbstractMethodDefinition="TSAbstractMethodDefinition",r.TSAbstractPropertyDefinition="TSAbstractPropertyDefinition",r.TSAnyKeyword="TSAnyKeyword",r.TSArrayType="TSArrayType",r.TSAsExpression="TSAsExpression",r.TSAsyncKeyword="TSAsyncKeyword",r.TSBigIntKeyword="TSBigIntKeyword",r.TSBooleanKeyword="TSBooleanKeyword",r.TSCallSignatureDeclaration="TSCallSignatureDeclaration",r.TSClassImplements="TSClassImplements",r.TSConditionalType="TSConditionalType",r.TSConstructorType="TSConstructorType",r.TSConstructSignatureDeclaration="TSConstructSignatureDeclaration",r.TSDeclareFunction="TSDeclareFunction",r.TSDeclareKeyword="TSDeclareKeyword",r.TSEmptyBodyFunctionExpression="TSEmptyBodyFunctionExpression",r.TSEnumBody="TSEnumBody",r.TSEnumDeclaration="TSEnumDeclaration",r.TSEnumMember="TSEnumMember",r.TSExportAssignment="TSExportAssignment",r.TSExportKeyword="TSExportKeyword",r.TSExternalModuleReference="TSExternalModuleReference",r.TSFunctionType="TSFunctionType",r.TSImportEqualsDeclaration="TSImportEqualsDeclaration",r.TSImportType="TSImportType",r.TSIndexedAccessType="TSIndexedAccessType",r.TSIndexSignature="TSIndexSignature",r.TSInferType="TSInferType",r.TSInstantiationExpression="TSInstantiationExpression",r.TSInterfaceBody="TSInterfaceBody",r.TSInterfaceDeclaration="TSInterfaceDeclaration",r.TSInterfaceHeritage="TSInterfaceHeritage",r.TSIntersectionType="TSIntersectionType",r.TSIntrinsicKeyword="TSIntrinsicKeyword",r.TSLiteralType="TSLiteralType",r.TSMappedType="TSMappedType",r.TSMethodSignature="TSMethodSignature",r.TSModuleBlock="TSModuleBlock",r.TSModuleDeclaration="TSModuleDeclaration",r.TSNamedTupleMember="TSNamedTupleMember",r.TSNamespaceExportDeclaration="TSNamespaceExportDeclaration",r.TSNeverKeyword="TSNeverKeyword",r.TSNonNullExpression="TSNonNullExpression",r.TSNullKeyword="TSNullKeyword",r.TSNumberKeyword="TSNumberKeyword",r.TSObjectKeyword="TSObjectKeyword",r.TSOptionalType="TSOptionalType",r.TSParameterProperty="TSParameterProperty",r.TSPrivateKeyword="TSPrivateKeyword",r.TSPropertySignature="TSPropertySignature",r.TSProtectedKeyword="TSProtectedKeyword",r.TSPublicKeyword="TSPublicKeyword",r.TSQualifiedName="TSQualifiedName",r.TSReadonlyKeyword="TSReadonlyKeyword",r.TSRestType="TSRestType",r.TSSatisfiesExpression="TSSatisfiesExpression",r.TSStaticKeyword="TSStaticKeyword",r.TSStringKeyword="TSStringKeyword",r.TSSymbolKeyword="TSSymbolKeyword",r.TSTemplateLiteralType="TSTemplateLiteralType",r.TSThisType="TSThisType",r.TSTupleType="TSTupleType",r.TSTypeAliasDeclaration="TSTypeAliasDeclaration",r.TSTypeAnnotation="TSTypeAnnotation",r.TSTypeAssertion="TSTypeAssertion",r.TSTypeLiteral="TSTypeLiteral",r.TSTypeOperator="TSTypeOperator",r.TSTypeParameter="TSTypeParameter",r.TSTypeParameterDeclaration="TSTypeParameterDeclaration",r.TSTypeParameterInstantiation="TSTypeParameterInstantiation",r.TSTypePredicate="TSTypePredicate",r.TSTypeQuery="TSTypeQuery",r.TSTypeReference="TSTypeReference",r.TSUndefinedKeyword="TSUndefinedKeyword",r.TSUnionType="TSUnionType",r.TSUnknownKeyword="TSUnknownKeyword",r.TSVoidKeyword="TSVoidKeyword"})(Zc||(Lt.AST_NODE_TYPES=Zc={}));var eu;(function(r){r.Boolean="Boolean",r.Identifier="Identifier",r.JSXIdentifier="JSXIdentifier",r.PrivateIdentifier="PrivateIdentifier",r.JSXText="JSXText",r.Keyword="Keyword",r.Null="Null",r.Numeric="Numeric",r.Punctuator="Punctuator",r.RegularExpression="RegularExpression",r.String="String",r.Template="Template",r.Block="Block",r.Line="Line"})(eu||(Lt.AST_TOKEN_TYPES=eu={}))});var ru=E(tu=>{"use strict";Object.defineProperty(tu,"__esModule",{value:!0})});var nu=E(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0})});var su=E(Fe=>{"use strict";var AT=Fe&&Fe.__createBinding||(Object.create?(function(r,t,i,s){s===void 0&&(s=i);var o=Object.getOwnPropertyDescriptor(t,i);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(r,s,o)}):(function(r,t,i,s){s===void 0&&(s=i),r[s]=t[i]})),hT=Fe&&Fe.__setModuleDefault||(Object.create?(function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}):function(r,t){r.default=t}),UT=Fe&&Fe.__importStar||(function(){var r=function(t){return r=Object.getOwnPropertyNames||function(i){var s=[];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(s[s.length]=o);return s},r(t)};return function(t){if(t&&t.__esModule)return t;var i={};if(t!=null)for(var s=r(t),o=0;o<s.length;o++)s[o]!=="default"&&AT(i,t,s[o]);return hT(i,t),i}})();Object.defineProperty(Fe,"__esModule",{value:!0});Fe.TSESTree=void 0;Fe.TSESTree=UT(Ko())});var Ge=E(me=>{"use strict";var LT=me&&me.__createBinding||(Object.create?(function(r,t,i,s){s===void 0&&(s=i);var o=Object.getOwnPropertyDescriptor(t,i);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(r,s,o)}):(function(r,t,i,s){s===void 0&&(s=i),r[s]=t[i]})),Ho=me&&me.__exportStar||function(r,t){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(t,i)&&LT(t,r,i)};Object.defineProperty(me,"__esModule",{value:!0});me.AST_TOKEN_TYPES=me.AST_NODE_TYPES=void 0;var ou=Ko();Object.defineProperty(me,"AST_NODE_TYPES",{enumerable:!0,get:function(){return ou.AST_NODE_TYPES}});Object.defineProperty(me,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return ou.AST_TOKEN_TYPES}});Ho(ru(),me);Ho(nu(),me);Ho(su(),me)});var Xo=E(nt=>{"use strict";Object.defineProperty(nt,"__esModule",{value:!0});nt.TSESTree=nt.AST_TOKEN_TYPES=nt.AST_NODE_TYPES=void 0;var Qo=Ge();Object.defineProperty(nt,"AST_NODE_TYPES",{enumerable:!0,get:function(){return Qo.AST_NODE_TYPES}});Object.defineProperty(nt,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return Qo.AST_TOKEN_TYPES}});Object.defineProperty(nt,"TSESTree",{enumerable:!0,get:function(){return Qo.TSESTree}})});var au=E(er=>{"use strict";Object.defineProperty(er,"__esModule",{value:!0});var Zt={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"]},VT=Object.keys(Zt);for(let r of VT)Object.freeze(Zt[r]);Object.freeze(Zt);var CT=new Set(["parent","leadingComments","trailingComments"]);function IT(r){return!CT.has(r)&&r[0]!=="_"}function MT(r){return Object.keys(r).filter(IT)}function xT(r){let t=Object.assign({},Zt);for(let i of Object.keys(r))if(Object.prototype.hasOwnProperty.call(t,i)){let s=new Set(r[i]);for(let o of t[i])s.add(o);t[i]=Object.freeze(Array.from(s))}else t[i]=Object.freeze(Array.from(r[i]));return Object.freeze(t)}er.KEYS=Zt;er.getKeys=MT;er.unionWith=xT});var It=E(R=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0});var Pu=au();function $o(r,t){let i=t.range[0],s=r,o=!1;do{o=!1;for(let a of s.childScopes){let c=a.block.range;if(c[0]<=i&&i<c[1]){s=a,o=!0;break}}}while(o);return s}function Vt(r,t){let i="",s=r;for(typeof t=="string"?i=t:(i=t.name,s=$o(s,t));s!=null;){let o=s.set.get(i);if(o!=null)return o;s=s.upper}return null}function xe(r){return t=>!r(t)}function Be(r,t){return r.type==="Punctuator"&&r.value===t}function Cr(r){return Be(r,"=>")}function zo(r){return Be(r,",")}function Zo(r){return Be(r,";")}function ea(r){return Be(r,":")}function st(r){return Be(r,"(")}function Ir(r){return Be(r,")")}function ta(r){return Be(r,"[")}function ra(r){return Be(r,"]")}function ia(r){return Be(r,"{")}function na(r){return Be(r,"}")}function sa(r){return["Block","Line","Shebang"].includes(r.type)}var fu=xe(Cr),du=xe(zo),yu=xe(Zo),mu=xe(ea),_u=xe(st),Yu=xe(Ir),bu=xe(ta),gu=xe(ra),Su=xe(ia),vu=xe(na),Au=xe(sa);function lu(r,t){return r.id?t.getTokenAfter(r.id,st):t.getFirstToken(r,st)}function hu(r,t){let i=r.parent,s=null,o=null;if(r.type==="ArrowFunctionExpression"){let a=t.getTokenBefore(r.body,Cr);s=a.loc.start,o=a.loc.end}else i&&(i.type==="Property"||i.type==="MethodDefinition"||i.type==="PropertyDefinition")?(s=i.loc.start,o=lu(r,t).loc.start):(s=r.loc.start,o=lu(r,t).loc.start);return{start:{...s},end:{...o}}}var Uu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{},OT=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"])),Jo=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(r=>r!=="random").map(r=>Math[r]).filter(r=>typeof r=="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(r=>typeof r=="function")),cu=new Set([Object.freeze,Object.preventExtensions,Object.seal]),RT=[[Map,new Set(["size"])],[RegExp,new Set(["dotAll","flags","global","hasIndices","ignoreCase","multiline","source","sticky","unicode"])],[Set,new Set(["size"])]];function DT(r,t){let i=r;for(;(typeof i=="object"||typeof i=="function")&&i!==null;){let s=Object.getOwnPropertyDescriptor(i,t);if(s)return s;i=Object.getPrototypeOf(i)}return null}function wT(r,t){let i=DT(r,t);return i!=null&&i.get!=null}function tr(r,t){let i=[];for(let s=0;s<r.length;++s){let o=r[s];if(o==null)i.length=s+1;else if(o.type==="SpreadElement"){let a=q(o.argument,t);if(a==null)return null;i.push(...a.value)}else{let a=q(o,t);if(a==null)return null;i.push(a.value)}}return i}function qT(r){return r!=null&&r.defs.length===0&&OT.has(r.name)&&r.name in Uu}function kT(r){if(r.defs.length!==1)return!1;let t=r.defs[0];return!!(t.parent&&t.type==="Variable"&&(t.parent.kind==="const"||FT(r)))}function FT(r){let t=r.references,i=t.filter(o=>o.init).length,s=t.filter(o=>o.isReadOnly()).length;return i===1&&s+i===t.length}function GT(r,t){for(let s of r.references){let o=s.identifier;for(;o&&o.parent&&o.parent.type==="MemberExpression";)o=o.parent;if(!(!o||!o.parent)){if(o.parent.type==="AssignmentExpression"&&o.parent.left===o||o.parent.type==="UpdateExpression"&&o.parent.argument===o)return!0;if(o.parent.type==="CallExpression"&&o.parent.callee===o&&o.type==="MemberExpression"){let a=Lr(o,t);if(i(a))return!0}}}return!1;function i(s){if(s==null||s.value==null)return!1;let o=s.value;return o==="copyWithin"||o==="fill"||o==="pop"||o==="push"||o==="reverse"||o==="shift"||o==="sort"||o==="splice"||o==="unshift"}}var uu=Object.freeze({ArrayExpression(r,t){let i=tr(r.elements,t);return i!=null?{value:i}:null},AssignmentExpression(r,t){return r.operator==="="?q(r.right,t):null},BinaryExpression(r,t){if(r.operator==="in"||r.operator==="instanceof")return null;let i=q(r.left,t),s=q(r.right,t);if(i!=null&&s!=null)switch(r.operator){case"==":return{value:i.value==s.value};case"!=":return{value:i.value!=s.value};case"===":return{value:i.value===s.value};case"!==":return{value:i.value!==s.value};case"<":return{value:i.value<s.value};case"<=":return{value:i.value<=s.value};case">":return{value:i.value>s.value};case">=":return{value:i.value>=s.value};case"<<":return{value:i.value<<s.value};case">>":return{value:i.value>>s.value};case">>>":return{value:i.value>>>s.value};case"+":return{value:i.value+s.value};case"-":return{value:i.value-s.value};case"*":return{value:i.value*s.value};case"/":return{value:i.value/s.value};case"%":return{value:i.value%s.value};case"**":return{value:i.value**s.value};case"|":return{value:i.value|s.value};case"^":return{value:i.value^s.value};case"&":return{value:i.value&s.value}}return null},CallExpression(r,t){let i=r.callee,s=tr(r.arguments,t);if(s!=null)if(i.type==="MemberExpression"){if(i.property.type==="PrivateIdentifier")return null;let o=q(i.object,t);if(o!=null){if(o.value==null&&(o.optional||r.optional))return{value:void 0,optional:!0};let a=Lr(i,t);if(a!=null){let c=o.value,l=a.value;if(Jo.has(c[l]))return{value:c[l](...s)};if(cu.has(c[l]))return{value:s[0]}}}}else{let o=q(i,t);if(o!=null){if(o.value==null&&r.optional)return{value:void 0,optional:!0};let a=o.value;if(Jo.has(a))return{value:a(...s)};if(cu.has(a))return{value:s[0]}}}return null},ConditionalExpression(r,t){let i=q(r.test,t);return i!=null?i.value?q(r.consequent,t):q(r.alternate,t):null},ExpressionStatement(r,t){return q(r.expression,t)},Identifier(r,t){if(t!=null){let i=Vt(t,r);if(i!=null){if(qT(i))return{value:Uu[i.name]};if(kT(i)){let s=i.defs[0];if(s.node.id.type==="Identifier"){let o=q(s.node.init,t);return o&&typeof o.value=="object"&&o.value!==null&&GT(i,t)?null:o}}}}return null},Literal(r){let t=r;return(t.regex!=null||t.bigint!=null)&&t.value==null?null:{value:t.value}},LogicalExpression(r,t){let i=q(r.left,t);if(i!=null){if(r.operator==="||"&&i.value||r.operator==="&&"&&!i.value||r.operator==="??"&&i.value!=null)return i;let s=q(r.right,t);if(s!=null)return s}return null},MemberExpression(r,t){if(r.property.type==="PrivateIdentifier")return null;let i=q(r.object,t);if(i!=null){if(i.value==null&&(i.optional||r.optional))return{value:void 0,optional:!0};let s=Lr(r,t);if(s!=null){if(!wT(i.value,s.value))return{value:i.value[s.value]};for(let[o,a]of RT)if(i.value instanceof o&&a.has(s.value))return{value:i.value[s.value]}}}return null},ChainExpression(r,t){let i=q(r.expression,t);return i!=null?{value:i.value}:null},NewExpression(r,t){let i=q(r.callee,t),s=tr(r.arguments,t);if(i!=null&&s!=null){let o=i.value;if(Jo.has(o))return{value:new o(...s)}}return null},ObjectExpression(r,t){let i={};for(let s of r.properties)if(s.type==="Property"){if(s.kind!=="init")return null;let o=Lr(s,t),a=q(s.value,t);if(o==null||a==null)return null;i[o.value]=a.value}else if(s.type==="SpreadElement"||s.type==="ExperimentalSpreadProperty"){let o=q(s.argument,t);if(o==null)return null;Object.assign(i,o.value)}else return null;return{value:i}},SequenceExpression(r,t){let i=r.expressions[r.expressions.length-1];return q(i,t)},TaggedTemplateExpression(r,t){let i=q(r.tag,t),s=tr(r.quasi.expressions,t);if(i!=null&&s!=null){let o=i.value,a=r.quasi.quasis.map(c=>c.value.cooked);if(a.raw=r.quasi.quasis.map(c=>c.value.raw),o===String.raw)return{value:o(a,...s)}}return null},TemplateLiteral(r,t){let i=tr(r.expressions,t);if(i!=null){let s=r.quasis[0].value.cooked;for(let o=0;o<i.length;++o)s+=i[o],s+=r.quasis[o+1].value.cooked;return{value:s}}return null},UnaryExpression(r,t){if(r.operator==="delete")return null;if(r.operator==="void")return{value:void 0};let i=q(r.argument,t);if(i!=null)switch(r.operator){case"-":return{value:-i.value};case"+":return{value:+i.value};case"!":return{value:!i.value};case"~":return{value:~i.value};case"typeof":return{value:typeof i.value}}return null},TSAsExpression(r,t){return q(r.expression,t)},TSSatisfiesExpression(r,t){return q(r.expression,t)},TSTypeAssertion(r,t){return q(r.expression,t)},TSNonNullExpression(r,t){return q(r.expression,t)},TSInstantiationExpression(r,t){return q(r.expression,t)}});function q(r,t){return r!=null&&Object.hasOwnProperty.call(uu,r.type)?uu[r.type](r,t):null}function Lr(r,t){let i=r.type==="Property"?r.key:r.property;return r.computed?q(i,t):i.type==="Identifier"?{value:i.name}:i.type==="Literal"?i.bigint?{value:i.bigint}:{value:String(i.value)}:null}function oa(r,t=null){try{return q(r,t)}catch{return null}}function rr(r,t=null){if(r&&r.type==="Literal"&&r.value===null){let s=r;if(s.regex)return`/${s.regex.pattern}/${s.regex.flags}`;if(s.bigint)return s.bigint}let i=oa(r,t);if(i)try{return String(i.value)}catch{}return null}function ir(r,t){switch(r.type){case"MemberExpression":return r.computed?rr(r.property,t):r.property.type==="PrivateIdentifier"?null:r.property.name;case"Property":case"MethodDefinition":case"PropertyDefinition":return r.computed?rr(r.key,t):r.key.type==="Literal"?String(r.key.value):r.key.type==="PrivateIdentifier"?null:r.key.name}return null}function Lu(r,t){let i=r.parent;if(!i)return"";let s=[],o=i.type==="Property"&&i.value===r,a=i.type==="MethodDefinition"&&i.value===r,c=i.type==="PropertyDefinition"&&i.value===r;if((a||c)&&(i.static&&s.push("static"),i.key.type==="PrivateIdentifier"&&s.push("private")),r.async&&s.push("async"),r.generator&&s.push("generator"),o||a){if(i.kind==="constructor")return"constructor";i.kind==="get"?s.push("getter"):i.kind==="set"?s.push("setter"):s.push("method")}else c?s.push("method"):(r.type==="ArrowFunctionExpression"&&s.push("arrow"),s.push("function"));if(o||a||c)if(i.key.type==="PrivateIdentifier")s.push(`#${i.key.name}`);else{let l=ir(i);if(l)s.push(`'${l}'`);else if(t){let d=t.getText(i.key);d.includes(`
3
+ `)||s.push(`[${d}]`)}}else BT(r)?s.push(`'${r.id.name}'`):i.type==="VariableDeclarator"&&i.id&&i.id.type==="Identifier"?s.push(`'${i.id.name}'`):(i.type==="AssignmentExpression"||i.type==="AssignmentPattern")&&i.left&&i.left.type==="Identifier"?s.push(`'${i.left.name}'`):i.type==="ExportDefaultDeclaration"&&i.declaration===r&&s.push("'default'");return s.join(" ")}function BT(r){return!!r.id}var jT=Object.freeze(new Set(["==","!=","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","|","^","&","in"])),NT=Object.freeze(new Set(["-","+","!","~"]));function Eu(r){return r!==null&&typeof r=="object"&&typeof r.type=="string"}var WT=Object.freeze(Object.assign(Object.create(null),{$visit(r,t,i){let{type:s}=r;return typeof this[s]=="function"?this[s](r,t,i):this.$visitChildren(r,t,i)},$visitChildren(r,t,i){let{type:s}=r;for(let o of i[s]||Pu.getKeys(r)){let a=r[o];if(Array.isArray(a)){for(let c of a)if(Eu(c)&&this.$visit(c,t,i))return!0}else if(Eu(a)&&this.$visit(a,t,i))return!0}return!1},ArrowFunctionExpression(){return!1},AssignmentExpression(){return!0},AwaitExpression(){return!0},BinaryExpression(r,t,i){return t.considerImplicitTypeConversion&&jT.has(r.operator)&&(r.left.type!=="Literal"||r.right.type!=="Literal")?!0:this.$visitChildren(r,t,i)},CallExpression(){return!0},FunctionExpression(){return!1},ImportExpression(){return!0},MemberExpression(r,t,i){return t.considerGetters||t.considerImplicitTypeConversion&&r.computed&&r.property.type!=="Literal"?!0:this.$visitChildren(r,t,i)},MethodDefinition(r,t,i){return t.considerImplicitTypeConversion&&r.computed&&r.key.type!=="Literal"?!0:this.$visitChildren(r,t,i)},NewExpression(){return!0},Property(r,t,i){return t.considerImplicitTypeConversion&&r.computed&&r.key.type!=="Literal"?!0:this.$visitChildren(r,t,i)},PropertyDefinition(r,t,i){return t.considerImplicitTypeConversion&&r.computed&&r.key.type!=="Literal"?!0:this.$visitChildren(r,t,i)},UnaryExpression(r,t,i){return r.operator==="delete"||t.considerImplicitTypeConversion&&NT.has(r.operator)&&r.argument.type!=="Literal"?!0:this.$visitChildren(r,t,i)},UpdateExpression(){return!0},YieldExpression(){return!0}}));function Vu(r,t,i={}){let{considerGetters:s=!1,considerImplicitTypeConversion:o=!1}=i;return WT.$visit(r,{considerGetters:s,considerImplicitTypeConversion:o},t.visitorKeys||Pu.KEYS)}function KT(r,t){let i=r.parent;if(!i)return null;switch(i.type){case"CallExpression":case"NewExpression":return i.arguments.length===1&&i.arguments[0]===r?t.getTokenAfter(i.typeArguments||i.typeParameters||i.callee,st):null;case"DoWhileStatement":return i.test===r?t.getTokenAfter(i.body,st):null;case"IfStatement":case"WhileStatement":return i.test===r?t.getFirstToken(i,1):null;case"ImportExpression":return i.source===r?t.getFirstToken(i,1):null;case"SwitchStatement":return i.discriminant===r?t.getFirstToken(i,1):null;case"WithStatement":return i.object===r?t.getFirstToken(i,1):null;default:return null}}function Cu(r,t,i){let s,o,a,c,l;if(typeof r=="number"){if(s=r|0,o=t,a=i,!(s>=1))throw new TypeError("'times' should be a positive integer.")}else s=1,o=r,a=t;if(o==null||o.parent==null||o.parent.type==="CatchClause"&&o.parent.param===o)return!1;c=l=o;do c=a.getTokenBefore(c),l=a.getTokenAfter(l);while(c!=null&&l!=null&&st(c)&&Ir(l)&&c!==KT(o,a)&&--s>0);return s===0}var HT=/\$(?:[$&`']|[1-9][0-9]?)/gu,pu=new WeakMap;function QT(r,t){let i=!1;for(let s=t-1;s>=0&&r.charCodeAt(s)===92;--s)i=!i;return i}function XT(r,t,i){let s=[],o=0;function a(c,l){switch(c){case"$$":return"$";case"$&":return l[0];case"$`":return t.slice(0,l.index);case"$'":return t.slice(l.index+l[0].length);default:{let d=c.slice(1);return d in l?l[d]:c}}}for(let c of r.execAll(t))s.push(t.slice(o,c.index)),s.push(i.replace(HT,l=>a(l,c))),o=c.index+c[0].length;return s.push(t.slice(o)),s.join("")}function JT(r,t,i){let s=[],o=0;for(let a of r.execAll(t))s.push(t.slice(o,a.index)),s.push(String(i(...a,a.index,a.input))),o=a.index+a[0].length;return s.push(t.slice(o)),s.join("")}var Vr=class{constructor(t,i={}){let{escaped:s=!1}=i;if(!(t instanceof RegExp))throw new TypeError("'pattern' should be a RegExp instance.");if(!t.flags.includes("g"))throw new Error("'pattern' should contains 'g' flag.");pu.set(this,{pattern:new RegExp(t.source,t.flags),escaped:!!s})}*execAll(t){let{pattern:i,escaped:s}=pu.get(this),o=null,a=0;for(i.lastIndex=0;(o=i.exec(t))!=null;)(s||!QT(t,o.index))&&(a=i.lastIndex,yield o,i.lastIndex=a)}test(t){return!this.execAll(t).next().done}[Symbol.replace](t,i){return typeof i=="function"?JT(this,String(t),i):XT(this,String(t),String(i))}},$T=/^(?:Import|Export(?:All|Default|Named))Declaration$/u;function zT(r){return $T.test(r.type)&&r.source!=null}var ft=Function.call.bind(Object.hasOwnProperty),G=Symbol("read"),dt=Symbol("call"),Ct=Symbol("construct"),Mr=Symbol("esm"),ZT={require:{[dt]:!0}};function Tu(r){return r==null||r.defs.length!==0||r.references.some(t=>t.isWrite())}function eP(r){let t=r.parent;if(t)switch(t.type){case"ConditionalExpression":return t.consequent===r||t.alternate===r;case"LogicalExpression":return!0;case"SequenceExpression":return t.expressions[t.expressions.length-1]===r;case"ChainExpression":return!0;case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":case"TSInstantiationExpression":return!0;default:return!1}return!1}var ot=class{constructor(t,i={}){let{mode:s="strict",globalObjectNames:o=["global","globalThis","self","window"]}=i;this.variableStack=[],this.globalScope=t,this.mode=s,this.globalObjectNames=o.slice(0)}*iterateGlobalReferences(t){for(let i of Object.keys(t)){let s=t[i],o=[i],a=this.globalScope.set.get(i);Tu(a)||(yield*this._iterateVariableReferences(a,o,s,!0))}for(let i of this.globalObjectNames){let s=[],o=this.globalScope.set.get(i);Tu(o)||(yield*this._iterateVariableReferences(o,s,t,!1))}}*iterateCjsReferences(t){for(let{node:i}of this.iterateGlobalReferences(ZT)){let s=rr(i.arguments[0]);if(s==null||!ft(t,s))continue;let o=t[s],a=[s];o[G]&&(yield{node:i,path:a,type:G,info:o[G]}),yield*this._iteratePropertyReferences(i,a,o)}}*iterateEsmReferences(t){let i=this.globalScope.block;for(let s of i.body){if(!zT(s))continue;let o=s.source.value;if(!ft(t,o))continue;let a=t[o],c=[o];if(a[G]&&(yield{node:s,path:c,type:G,info:a[G]}),s.type==="ExportAllDeclaration")for(let l of Object.keys(a)){let d=a[l];d[G]&&(yield{node:s,path:c.concat(l),type:G,info:d[G]})}else for(let l of s.specifiers){let d=ft(a,Mr),f=this._iterateImportReferences(l,c,d?a:this.mode==="legacy"?{default:a,...a}:{default:a});if(d)yield*f;else for(let m of f)m.path=m.path.filter(tP),(m.path.length>=2||m.type!==G)&&(yield m)}}}*iteratePropertyReferences(t,i){yield*this._iteratePropertyReferences(t,[],i)}*_iterateVariableReferences(t,i,s,o){if(!this.variableStack.includes(t)){this.variableStack.push(t);try{for(let a of t.references){if(!a.isRead())continue;let c=a.identifier;o&&s[G]&&(yield{node:c,path:i,type:G,info:s[G]}),yield*this._iteratePropertyReferences(c,i,s)}}finally{this.variableStack.pop()}}}*_iteratePropertyReferences(t,i,s){let o=t;for(;eP(o);)o=o.parent;let a=o.parent;if(a){if(a.type==="MemberExpression"){if(a.object===o){let c=ir(a);if(c==null||!ft(s,c))return;i=i.concat(c);let l=s[c];l[G]&&(yield{node:a,path:i,type:G,info:l[G]}),yield*this._iteratePropertyReferences(a,i,l)}return}if(a.type==="CallExpression"){a.callee===o&&s[dt]&&(yield{node:a,path:i,type:dt,info:s[dt]});return}if(a.type==="NewExpression"){a.callee===o&&s[Ct]&&(yield{node:a,path:i,type:Ct,info:s[Ct]});return}if(a.type==="AssignmentExpression"){a.right===o&&(yield*this._iterateLhsReferences(a.left,i,s),yield*this._iteratePropertyReferences(a,i,s));return}if(a.type==="AssignmentPattern"){a.right===o&&(yield*this._iterateLhsReferences(a.left,i,s));return}a.type==="VariableDeclarator"&&a.init===o&&(yield*this._iterateLhsReferences(a.id,i,s))}}*_iterateLhsReferences(t,i,s){if(t.type==="Identifier"){let o=Vt(this.globalScope,t);o!=null&&(yield*this._iterateVariableReferences(o,i,s,!1));return}if(t.type==="ObjectPattern"){for(let o of t.properties){let a=ir(o);if(a==null||!ft(s,a))continue;let c=i.concat(a),l=s[a];l[G]&&(yield{node:o,path:c,type:G,info:l[G]}),yield*this._iterateLhsReferences(o.value,c,l)}return}t.type==="AssignmentPattern"&&(yield*this._iterateLhsReferences(t.left,i,s))}*_iterateImportReferences(t,i,s){let o=t.type;if(o==="ImportSpecifier"||o==="ImportDefaultSpecifier"){let a=o==="ImportDefaultSpecifier"?"default":t.imported.type==="Identifier"?t.imported.name:t.imported.value;if(!ft(s,a))return;i=i.concat(a);let c=s[a];c[G]&&(yield{node:t,path:i,type:G,info:c[G]}),yield*this._iterateVariableReferences(Vt(this.globalScope,t.local),i,c,!1);return}if(o==="ImportNamespaceSpecifier"){yield*this._iterateVariableReferences(Vt(this.globalScope,t.local),i,s,!1);return}if(o==="ExportSpecifier"){let a=t.local.type==="Identifier"?t.local.name:t.local.value;if(!ft(s,a))return;i=i.concat(a);let c=s[a];c[G]&&(yield{node:t,path:i,type:G,info:c[G]})}}};ot.READ=G;ot.CALL=dt;ot.CONSTRUCT=Ct;ot.ESM=Mr;function tP(r,t){return!(t===1&&r==="default")}var rP={CALL:dt,CONSTRUCT:Ct,ESM:Mr,findVariable:Vt,getFunctionHeadLocation:hu,getFunctionNameWithKind:Lu,getInnermostScope:$o,getPropertyName:ir,getStaticValue:oa,getStringIfConstant:rr,hasSideEffect:Vu,isArrowToken:Cr,isClosingBraceToken:na,isClosingBracketToken:ra,isClosingParenToken:Ir,isColonToken:ea,isCommaToken:zo,isCommentToken:sa,isNotArrowToken:fu,isNotClosingBraceToken:vu,isNotClosingBracketToken:gu,isNotClosingParenToken:Yu,isNotColonToken:mu,isNotCommaToken:du,isNotCommentToken:Au,isNotOpeningBraceToken:Su,isNotOpeningBracketToken:bu,isNotOpeningParenToken:_u,isNotSemicolonToken:yu,isOpeningBraceToken:ia,isOpeningBracketToken:ta,isOpeningParenToken:st,isParenthesized:Cu,isSemicolonToken:Zo,PatternMatcher:Vr,READ:G,ReferenceTracker:ot};R.CALL=dt;R.CONSTRUCT=Ct;R.ESM=Mr;R.PatternMatcher=Vr;R.READ=G;R.ReferenceTracker=ot;R.default=rP;R.findVariable=Vt;R.getFunctionHeadLocation=hu;R.getFunctionNameWithKind=Lu;R.getInnermostScope=$o;R.getPropertyName=ir;R.getStaticValue=oa;R.getStringIfConstant=rr;R.hasSideEffect=Vu;R.isArrowToken=Cr;R.isClosingBraceToken=na;R.isClosingBracketToken=ra;R.isClosingParenToken=Ir;R.isColonToken=ea;R.isCommaToken=zo;R.isCommentToken=sa;R.isNotArrowToken=fu;R.isNotClosingBraceToken=vu;R.isNotClosingBracketToken=gu;R.isNotClosingParenToken=Yu;R.isNotColonToken=mu;R.isNotCommaToken=du;R.isNotCommentToken=Au;R.isNotOpeningBraceToken=Su;R.isNotOpeningBracketToken=bu;R.isNotOpeningParenToken=_u;R.isNotSemicolonToken=yu;R.isOpeningBraceToken=ia;R.isOpeningBracketToken=ta;R.isOpeningParenToken=st;R.isParenthesized=Cu;R.isSemicolonToken=Zo});var Iu=E(j=>{"use strict";var iP=j&&j.__createBinding||(Object.create?(function(r,t,i,s){s===void 0&&(s=i);var o=Object.getOwnPropertyDescriptor(t,i);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(r,s,o)}):(function(r,t,i,s){s===void 0&&(s=i),r[s]=t[i]})),nP=j&&j.__setModuleDefault||(Object.create?(function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}):function(r,t){r.default=t}),sP=j&&j.__importStar||(function(){var r=function(t){return r=Object.getOwnPropertyNames||function(i){var s=[];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(s[s.length]=o);return s},r(t)};return function(t){if(t&&t.__esModule)return t;var i={};if(t!=null)for(var s=r(t),o=0;o<s.length;o++)s[o]!=="default"&&iP(i,t,s[o]);return nP(i,t),i}})();Object.defineProperty(j,"__esModule",{value:!0});j.isParenthesized=j.hasSideEffect=j.getStringIfConstant=j.getStaticValue=j.getPropertyName=j.getFunctionNameWithKind=j.getFunctionHeadLocation=void 0;var yt=sP(It());j.getFunctionHeadLocation=yt.getFunctionHeadLocation;j.getFunctionNameWithKind=yt.getFunctionNameWithKind;j.getPropertyName=yt.getPropertyName;j.getStaticValue=yt.getStaticValue;j.getStringIfConstant=yt.getStringIfConstant;j.hasSideEffect=yt.hasSideEffect;j.isParenthesized=yt.isParenthesized});var Mu=E(je=>{"use strict";var oP=je&&je.__createBinding||(Object.create?(function(r,t,i,s){s===void 0&&(s=i);var o=Object.getOwnPropertyDescriptor(t,i);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(r,s,o)}):(function(r,t,i,s){s===void 0&&(s=i),r[s]=t[i]})),aP=je&&je.__setModuleDefault||(Object.create?(function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}):function(r,t){r.default=t}),lP=je&&je.__importStar||(function(){var r=function(t){return r=Object.getOwnPropertyNames||function(i){var s=[];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(s[s.length]=o);return s},r(t)};return function(t){if(t&&t.__esModule)return t;var i={};if(t!=null)for(var s=r(t),o=0;o<s.length;o++)s[o]!=="default"&&oP(i,t,s[o]);return aP(i,t),i}})();Object.defineProperty(je,"__esModule",{value:!0});je.PatternMatcher=void 0;var cP=lP(It());je.PatternMatcher=cP.PatternMatcher});var xu=E(L=>{"use strict";var uP=L&&L.__createBinding||(Object.create?(function(r,t,i,s){s===void 0&&(s=i);var o=Object.getOwnPropertyDescriptor(t,i);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(r,s,o)}):(function(r,t,i,s){s===void 0&&(s=i),r[s]=t[i]})),EP=L&&L.__setModuleDefault||(Object.create?(function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}):function(r,t){r.default=t}),pP=L&&L.__importStar||(function(){var r=function(t){return r=Object.getOwnPropertyNames||function(i){var s=[];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(s[s.length]=o);return s},r(t)};return function(t){if(t&&t.__esModule)return t;var i={};if(t!=null)for(var s=r(t),o=0;o<s.length;o++)s[o]!=="default"&&uP(i,t,s[o]);return EP(i,t),i}})();Object.defineProperty(L,"__esModule",{value:!0});L.isNotSemicolonToken=L.isSemicolonToken=L.isNotOpeningParenToken=L.isOpeningParenToken=L.isNotOpeningBracketToken=L.isOpeningBracketToken=L.isNotOpeningBraceToken=L.isOpeningBraceToken=L.isNotCommentToken=L.isCommentToken=L.isNotCommaToken=L.isCommaToken=L.isNotColonToken=L.isColonToken=L.isNotClosingParenToken=L.isClosingParenToken=L.isNotClosingBracketToken=L.isClosingBracketToken=L.isNotClosingBraceToken=L.isClosingBraceToken=L.isNotArrowToken=L.isArrowToken=void 0;var N=pP(It());L.isArrowToken=N.isArrowToken;L.isNotArrowToken=N.isNotArrowToken;L.isClosingBraceToken=N.isClosingBraceToken;L.isNotClosingBraceToken=N.isNotClosingBraceToken;L.isClosingBracketToken=N.isClosingBracketToken;L.isNotClosingBracketToken=N.isNotClosingBracketToken;L.isClosingParenToken=N.isClosingParenToken;L.isNotClosingParenToken=N.isNotClosingParenToken;L.isColonToken=N.isColonToken;L.isNotColonToken=N.isNotColonToken;L.isCommaToken=N.isCommaToken;L.isNotCommaToken=N.isNotCommaToken;L.isCommentToken=N.isCommentToken;L.isNotCommentToken=N.isNotCommentToken;L.isOpeningBraceToken=N.isOpeningBraceToken;L.isNotOpeningBraceToken=N.isNotOpeningBraceToken;L.isOpeningBracketToken=N.isOpeningBracketToken;L.isNotOpeningBracketToken=N.isNotOpeningBracketToken;L.isOpeningParenToken=N.isOpeningParenToken;L.isNotOpeningParenToken=N.isNotOpeningParenToken;L.isSemicolonToken=N.isSemicolonToken;L.isNotSemicolonToken=N.isNotSemicolonToken});var Ou=E(Ne=>{"use strict";var TP=Ne&&Ne.__createBinding||(Object.create?(function(r,t,i,s){s===void 0&&(s=i);var o=Object.getOwnPropertyDescriptor(t,i);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(r,s,o)}):(function(r,t,i,s){s===void 0&&(s=i),r[s]=t[i]})),PP=Ne&&Ne.__setModuleDefault||(Object.create?(function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}):function(r,t){r.default=t}),fP=Ne&&Ne.__importStar||(function(){var r=function(t){return r=Object.getOwnPropertyNames||function(i){var s=[];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(s[s.length]=o);return s},r(t)};return function(t){if(t&&t.__esModule)return t;var i={};if(t!=null)for(var s=r(t),o=0;o<s.length;o++)s[o]!=="default"&&TP(i,t,s[o]);return PP(i,t),i}})();Object.defineProperty(Ne,"__esModule",{value:!0});Ne.ReferenceTracker=void 0;var nr=fP(It()),Uh=nr.ReferenceTracker.READ,Lh=nr.ReferenceTracker.CALL,Vh=nr.ReferenceTracker.CONSTRUCT,Ch=nr.ReferenceTracker.ESM;Ne.ReferenceTracker=nr.ReferenceTracker});var Du=E(Le=>{"use strict";var dP=Le&&Le.__createBinding||(Object.create?(function(r,t,i,s){s===void 0&&(s=i);var o=Object.getOwnPropertyDescriptor(t,i);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(r,s,o)}):(function(r,t,i,s){s===void 0&&(s=i),r[s]=t[i]})),yP=Le&&Le.__setModuleDefault||(Object.create?(function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}):function(r,t){r.default=t}),mP=Le&&Le.__importStar||(function(){var r=function(t){return r=Object.getOwnPropertyNames||function(i){var s=[];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(s[s.length]=o);return s},r(t)};return function(t){if(t&&t.__esModule)return t;var i={};if(t!=null)for(var s=r(t),o=0;o<s.length;o++)s[o]!=="default"&&dP(i,t,s[o]);return yP(i,t),i}})();Object.defineProperty(Le,"__esModule",{value:!0});Le.getInnermostScope=Le.findVariable=void 0;var Ru=mP(It());Le.findVariable=Ru.findVariable;Le.getInnermostScope=Ru.getInnermostScope});var wu=E(Oe=>{"use strict";var _P=Oe&&Oe.__createBinding||(Object.create?(function(r,t,i,s){s===void 0&&(s=i);var o=Object.getOwnPropertyDescriptor(t,i);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(r,s,o)}):(function(r,t,i,s){s===void 0&&(s=i),r[s]=t[i]})),sr=Oe&&Oe.__exportStar||function(r,t){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(t,i)&&_P(t,r,i)};Object.defineProperty(Oe,"__esModule",{value:!0});sr(Iu(),Oe);sr(Mu(),Oe);sr(xu(),Oe);sr(Ou(),Oe);sr(Du(),Oe)});var aa=E(_e=>{"use strict";Object.defineProperty(_e,"__esModule",{value:!0});_e.isNotTokenOfTypeWithConditions=_e.isTokenOfTypeWithConditions=_e.isNodeOfTypeWithConditions=_e.isNodeOfTypes=_e.isNodeOfType=void 0;var YP=r=>t=>t?.type===r;_e.isNodeOfType=YP;var bP=r=>t=>!!t&&r.includes(t.type);_e.isNodeOfTypes=bP;var gP=(r,t)=>{let i=Object.entries(t);return s=>s?.type===r&&i.every(([o,a])=>s[o]===a)};_e.isNodeOfTypeWithConditions=gP;var SP=(r,t)=>{let i=Object.entries(t);return s=>s?.type===r&&i.every(([o,a])=>s[o]===a)};_e.isTokenOfTypeWithConditions=SP;var vP=(r,t)=>i=>!(0,_e.isTokenOfTypeWithConditions)(r,t)(i);_e.isNotTokenOfTypeWithConditions=vP});var qu=E(or=>{"use strict";Object.defineProperty(or,"__esModule",{value:!0});or.LINEBREAK_MATCHER=void 0;or.isTokenOnSameLine=AP;or.LINEBREAK_MATCHER=/\r\n|[\r\n\u2028\u2029]/;function AP(r,t){return r.loc.end.line===t.loc.start.line}});var Gu=E(I=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});I.isLoop=I.isImportKeyword=I.isTypeKeyword=I.isAwaitKeyword=I.isAwaitExpression=I.isIdentifier=I.isConstructor=I.isClassOrTypeElement=I.isTSConstructorType=I.isTSFunctionType=I.isFunctionOrFunctionType=I.isFunctionType=I.isFunction=I.isVariableDeclarator=I.isTypeAssertion=I.isLogicalOrOperator=I.isOptionalCallExpression=I.isNotNonNullAssertionPunctuator=I.isNonNullAssertionPunctuator=I.isNotOptionalChainPunctuator=I.isOptionalChainPunctuator=void 0;I.isSetter=hP;var M=Xo(),K=aa();I.isOptionalChainPunctuator=(0,K.isTokenOfTypeWithConditions)(M.AST_TOKEN_TYPES.Punctuator,{value:"?."});I.isNotOptionalChainPunctuator=(0,K.isNotTokenOfTypeWithConditions)(M.AST_TOKEN_TYPES.Punctuator,{value:"?."});I.isNonNullAssertionPunctuator=(0,K.isTokenOfTypeWithConditions)(M.AST_TOKEN_TYPES.Punctuator,{value:"!"});I.isNotNonNullAssertionPunctuator=(0,K.isNotTokenOfTypeWithConditions)(M.AST_TOKEN_TYPES.Punctuator,{value:"!"});I.isOptionalCallExpression=(0,K.isNodeOfTypeWithConditions)(M.AST_NODE_TYPES.CallExpression,{optional:!0});I.isLogicalOrOperator=(0,K.isNodeOfTypeWithConditions)(M.AST_NODE_TYPES.LogicalExpression,{operator:"||"});I.isTypeAssertion=(0,K.isNodeOfTypes)([M.AST_NODE_TYPES.TSAsExpression,M.AST_NODE_TYPES.TSTypeAssertion]);I.isVariableDeclarator=(0,K.isNodeOfType)(M.AST_NODE_TYPES.VariableDeclarator);var ku=[M.AST_NODE_TYPES.ArrowFunctionExpression,M.AST_NODE_TYPES.FunctionDeclaration,M.AST_NODE_TYPES.FunctionExpression];I.isFunction=(0,K.isNodeOfTypes)(ku);var Fu=[M.AST_NODE_TYPES.TSCallSignatureDeclaration,M.AST_NODE_TYPES.TSConstructorType,M.AST_NODE_TYPES.TSConstructSignatureDeclaration,M.AST_NODE_TYPES.TSDeclareFunction,M.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,M.AST_NODE_TYPES.TSFunctionType,M.AST_NODE_TYPES.TSMethodSignature];I.isFunctionType=(0,K.isNodeOfTypes)(Fu);I.isFunctionOrFunctionType=(0,K.isNodeOfTypes)([...ku,...Fu]);I.isTSFunctionType=(0,K.isNodeOfType)(M.AST_NODE_TYPES.TSFunctionType);I.isTSConstructorType=(0,K.isNodeOfType)(M.AST_NODE_TYPES.TSConstructorType);I.isClassOrTypeElement=(0,K.isNodeOfTypes)([M.AST_NODE_TYPES.PropertyDefinition,M.AST_NODE_TYPES.FunctionExpression,M.AST_NODE_TYPES.MethodDefinition,M.AST_NODE_TYPES.TSAbstractPropertyDefinition,M.AST_NODE_TYPES.TSAbstractMethodDefinition,M.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,M.AST_NODE_TYPES.TSIndexSignature,M.AST_NODE_TYPES.TSCallSignatureDeclaration,M.AST_NODE_TYPES.TSConstructSignatureDeclaration,M.AST_NODE_TYPES.TSMethodSignature,M.AST_NODE_TYPES.TSPropertySignature]);I.isConstructor=(0,K.isNodeOfTypeWithConditions)(M.AST_NODE_TYPES.MethodDefinition,{kind:"constructor"});function hP(r){return!!r&&(r.type===M.AST_NODE_TYPES.MethodDefinition||r.type===M.AST_NODE_TYPES.Property)&&r.kind==="set"}I.isIdentifier=(0,K.isNodeOfType)(M.AST_NODE_TYPES.Identifier);I.isAwaitExpression=(0,K.isNodeOfType)(M.AST_NODE_TYPES.AwaitExpression);I.isAwaitKeyword=(0,K.isTokenOfTypeWithConditions)(M.AST_TOKEN_TYPES.Identifier,{value:"await"});I.isTypeKeyword=(0,K.isTokenOfTypeWithConditions)(M.AST_TOKEN_TYPES.Identifier,{value:"type"});I.isImportKeyword=(0,K.isTokenOfTypeWithConditions)(M.AST_TOKEN_TYPES.Keyword,{value:"import"});I.isLoop=(0,K.isNodeOfTypes)([M.AST_NODE_TYPES.DoWhileStatement,M.AST_NODE_TYPES.ForStatement,M.AST_NODE_TYPES.ForInStatement,M.AST_NODE_TYPES.ForOfStatement,M.AST_NODE_TYPES.WhileStatement])});var la=E(We=>{"use strict";var UP=We&&We.__createBinding||(Object.create?(function(r,t,i,s){s===void 0&&(s=i);var o=Object.getOwnPropertyDescriptor(t,i);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(r,s,o)}):(function(r,t,i,s){s===void 0&&(s=i),r[s]=t[i]})),xr=We&&We.__exportStar||function(r,t){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(t,i)&&UP(t,r,i)};Object.defineProperty(We,"__esModule",{value:!0});xr(wu(),We);xr(aa(),We);xr(qu(),We);xr(Gu(),We)});var ua=E(Or=>{"use strict";Object.defineProperty(Or,"__esModule",{value:!0});Or.isObjectNotArray=ca;Or.deepMerge=Bu;function ca(r){return typeof r=="object"&&r!=null&&!Array.isArray(r)}function Bu(r={},t={}){let i=new Set([...Object.keys(r),...Object.keys(t)]);return Object.fromEntries([...i].map(s=>{let o=s in r,a=s in t,c=r[s],l=t[s],d;return o&&a?ca(c)&&ca(l)?d=Bu(c,l):d=l:o?d=c:d=l,[s,d]}))}});var Ta=E(pa=>{"use strict";Object.defineProperty(pa,"__esModule",{value:!0});pa.applyDefault=LP;var Ea=ua();function LP(r,t){let i=structuredClone(r);return t==null||i.forEach((s,o)=>{if(t[o]!==void 0){let a=t[o];(0,Ea.isObjectNotArray)(a)&&(0,Ea.isObjectNotArray)(s)?i[o]=(0,Ea.deepMerge)(s,a):i[o]=a}}),i}});var ju=E(Pa=>{"use strict";Object.defineProperty(Pa,"__esModule",{value:!0});Pa.parserSeemsToBeTSESLint=VP;function VP(r){return!!r&&/(?:typescript-eslint|\.\.)[\w/\\]*parser/.test(r)}});var Wu=E(fa=>{"use strict";Object.defineProperty(fa,"__esModule",{value:!0});fa.getParserServices=xP;var CP=ju(),IP="You have used a rule which requires type information, but don't have parserOptions set to generate type information for this file. See https://tseslint.com/typed-linting for enabling linting with type information.",MP='Note: detected a parser other than @typescript-eslint/parser. Make sure the parser is configured to forward "parserOptions.project" to @typescript-eslint/parser.';function xP(r,t=!1){let i=r.parserPath||r.languageOptions.parser?.meta?.name;return(r.sourceCode.parserServices?.esTreeNodeToTSNodeMap==null||r.sourceCode.parserServices.tsNodeToESTreeNodeMap==null)&&Nu(i),r.sourceCode.parserServices.program==null&&!t&&Nu(i),r.sourceCode.parserServices}function Nu(r){let t=[IP,`Parser: ${r||"(unknown)"}`,!(0,CP.parserSeemsToBeTSESLint)(r)&&MP].filter(Boolean);throw new Error(t.join(`
4
+ `))}});var Hu=E(Ku=>{"use strict";Object.defineProperty(Ku,"__esModule",{value:!0})});var Qu=E(ar=>{"use strict";Object.defineProperty(ar,"__esModule",{value:!0});ar.NullThrowsReasons=void 0;ar.nullThrows=OP;ar.NullThrowsReasons={MissingParent:"Expected node to have a parent.",MissingToken:(r,t)=>`Expected to find a ${r} for the ${t}.`};function OP(r,t){if(r==null)throw new Error(`Non-null Assertion Failed: ${t}`);return r}});var $u=E(da=>{"use strict";Object.defineProperty(da,"__esModule",{value:!0});da.RuleCreator=Xu;var RP=Ta();function Xu(r){return function({meta:i,name:s,...o}){return Ju({meta:{...i,docs:{...i.docs,url:r(s)}},name:s,...o})}}function Ju({create:r,defaultOptions:t,meta:i,name:s}){let o=i.defaultOptions??t??[];return{create(a){let c=(0,RP.applyDefault)(o,a.options);return r(a,c)},defaultOptions:t,meta:i,name:s}}Xu.withoutDocs=function(t){return Ju(t)}});var zu=E(Ve=>{"use strict";var DP=Ve&&Ve.__createBinding||(Object.create?(function(r,t,i,s){s===void 0&&(s=i);var o=Object.getOwnPropertyDescriptor(t,i);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(r,s,o)}):(function(r,t,i,s){s===void 0&&(s=i),r[s]=t[i]})),Mt=Ve&&Ve.__exportStar||function(r,t){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(t,i)&&DP(t,r,i)};Object.defineProperty(Ve,"__esModule",{value:!0});Mt(Ta(),Ve);Mt(ua(),Ve);Mt(Wu(),Ve);Mt(Hu(),Ve);Mt(Qu(),Ve);Mt($u(),Ve)});var ma=E(Rr=>{"use strict";var lr={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"]},wP=Object.keys(lr);for(let r of wP)Object.freeze(lr[r]);Object.freeze(lr);var qP=new Set(["parent","leadingComments","trailingComments"]);function kP(r){return!qP.has(r)&&r[0]!=="_"}function FP(r){return Object.keys(r).filter(kP)}function GP(r){let t=Object.assign({},lr);for(let i of Object.keys(r))if(Object.hasOwn(t,i)){let s=new Set(r[i]);for(let o of t[i])s.add(o);t[i]=Object.freeze(Array.from(s))}else t[i]=Object.freeze(Array.from(r[i]));return Object.freeze(t)}Rr.KEYS=lr;Rr.getKeys=FP;Rr.unionWith=GP});var Zu=E(Dr=>{"use strict";Object.defineProperty(Dr,"__esModule",{value:!0});Dr.getKeys=void 0;var BP=ma();Dr.getKeys=BP.getKeys});var eE=E(Ke=>{"use strict";var jP=Ke&&Ke.__createBinding||(Object.create?(function(r,t,i,s){s===void 0&&(s=i);var o=Object.getOwnPropertyDescriptor(t,i);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(r,s,o)}):(function(r,t,i,s){s===void 0&&(s=i),r[s]=t[i]})),NP=Ke&&Ke.__setModuleDefault||(Object.create?(function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}):function(r,t){r.default=t}),WP=Ke&&Ke.__importStar||(function(){var r=function(t){return r=Object.getOwnPropertyNames||function(i){var s=[];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(s[s.length]=o);return s},r(t)};return function(t){if(t&&t.__esModule)return t;var i={};if(t!=null)for(var s=r(t),o=0;o<s.length;o++)s[o]!=="default"&&jP(i,t,s[o]);return NP(i,t),i}})();Object.defineProperty(Ke,"__esModule",{value:!0});Ke.visitorKeys=void 0;var KP=WP(ma()),ae=(()=>{let r=["typeParameters","params","returnType"],t=[...r,"body"],i=["decorators","key","typeAnnotation"];return{AbstractPropertyDefinition:["decorators","key","typeAnnotation"],AnonymousFunction:t,AsExpression:["expression","typeAnnotation"],ClassDeclaration:["decorators","id","typeParameters","superClass","superTypeArguments","implements","body"],Function:["id",...t],FunctionType:r,PropertyDefinition:[...i,"value"]}})(),HP={AccessorProperty:ae.PropertyDefinition,ArrayPattern:["decorators","elements","typeAnnotation"],ArrowFunctionExpression:ae.AnonymousFunction,AssignmentPattern:["decorators","left","right","typeAnnotation"],CallExpression:["callee","typeArguments","arguments"],ClassDeclaration:ae.ClassDeclaration,ClassExpression:ae.ClassDeclaration,Decorator:["expression"],ExportAllDeclaration:["exported","source","attributes"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],FunctionDeclaration:ae.Function,FunctionExpression:ae.Function,Identifier:["decorators","typeAnnotation"],ImportAttribute:["key","value"],ImportDeclaration:["specifiers","source","attributes"],ImportExpression:["source","options"],JSXClosingFragment:[],JSXOpeningElement:["name","typeArguments","attributes"],JSXOpeningFragment:[],JSXSpreadChild:["expression"],MethodDefinition:["decorators","key","value"],NewExpression:["callee","typeArguments","arguments"],ObjectPattern:["decorators","properties","typeAnnotation"],PropertyDefinition:ae.PropertyDefinition,RestElement:["decorators","argument","typeAnnotation"],StaticBlock:["body"],TaggedTemplateExpression:["tag","typeArguments","quasi"],TSAbstractAccessorProperty:ae.AbstractPropertyDefinition,TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:ae.AbstractPropertyDefinition,TSAnyKeyword:[],TSArrayType:["elementType"],TSAsExpression:ae.AsExpression,TSAsyncKeyword:[],TSBigIntKeyword:[],TSBooleanKeyword:[],TSCallSignatureDeclaration:ae.FunctionType,TSClassImplements:["expression","typeArguments"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSConstructorType:ae.FunctionType,TSConstructSignatureDeclaration:ae.FunctionType,TSDeclareFunction:ae.Function,TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id",...ae.FunctionType],TSEnumBody:["members"],TSEnumDeclaration:["id","body"],TSEnumMember:["id","initializer"],TSExportAssignment:["expression"],TSExportKeyword:[],TSExternalModuleReference:["expression"],TSFunctionType:ae.FunctionType,TSImportEqualsDeclaration:["id","moduleReference"],TSImportType:["source","options","qualifier","typeArguments"],TSIndexedAccessType:["objectType","indexType"],TSIndexSignature:["parameters","typeAnnotation"],TSInferType:["typeParameter"],TSInstantiationExpression:["expression","typeArguments"],TSInterfaceBody:["body"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceHeritage:["expression","typeArguments"],TSIntersectionType:["types"],TSIntrinsicKeyword:[],TSLiteralType:["literal"],TSMappedType:["key","constraint","nameType","typeAnnotation"],TSMethodSignature:["key","typeParameters","params","returnType"],TSModuleBlock:["body"],TSModuleDeclaration:["id","body"],TSNamedTupleMember:["label","elementType"],TSNamespaceExportDeclaration:["id"],TSNeverKeyword:[],TSNonNullExpression:["expression"],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSOptionalType:["typeAnnotation"],TSParameterProperty:["decorators","parameter"],TSPrivateKeyword:[],TSPropertySignature:["key","typeAnnotation"],TSProtectedKeyword:[],TSPublicKeyword:[],TSQualifiedName:["left","right"],TSReadonlyKeyword:[],TSRestType:["typeAnnotation"],TSSatisfiesExpression:ae.AsExpression,TSStaticKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSTemplateLiteralType:["quasis","types"],TSThisType:[],TSTupleType:["elementTypes"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSTypeAnnotation:["typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSTypeLiteral:["members"],TSTypeOperator:["typeAnnotation"],TSTypeParameter:["name","constraint","default"],TSTypeParameterDeclaration:["params"],TSTypeParameterInstantiation:["params"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeArguments"],TSTypeReference:["typeName","typeArguments"],TSUndefinedKeyword:[],TSUnionType:["types"],TSUnknownKeyword:[],TSVoidKeyword:[]};Ke.visitorKeys=KP.unionWith(HP)});var _a=E(xt=>{"use strict";Object.defineProperty(xt,"__esModule",{value:!0});xt.getKeys=void 0;xt.visitorKeys=void 0;var QP=Zu();Object.defineProperty(xt,"getKeys",{enumerable:!0,get:function(){return QP.getKeys}});var XP=eE();Object.defineProperty(xt,"visitorKeys",{enumerable:!0,get:function(){return XP.visitorKeys}})});var Ot=E(Ya=>{"use strict";Object.defineProperty(Ya,"__esModule",{value:!0});Ya.assert=JP;function JP(r,t){if(r==null)throw new Error(t)}});var cr=E(qr=>{"use strict";Object.defineProperty(qr,"__esModule",{value:!0});qr.createIdGenerator=zP;qr.resetIds=ZP;var wr=new Map,$P=0;function zP(){let r=$P+=1;return wr.set(r,0),()=>{let i=(wr.get(r)??0)+1;return wr.set(r,i),i}}function ZP(){wr.clear()}});var Ce=E(kr=>{"use strict";Object.defineProperty(kr,"__esModule",{value:!0});kr.DefinitionBase=void 0;var ef=cr(),tf=(0,ef.createIdGenerator)(),ba=class{$id=tf();type;name;node;parent;constructor(t,i,s,o){this.type=t,this.name=i,this.node=s,this.parent=o}};kr.DefinitionBase=ba});var Ye=E(Fr=>{"use strict";Object.defineProperty(Fr,"__esModule",{value:!0});Fr.DefinitionType=void 0;var tE;(function(r){r.CatchClause="CatchClause",r.ClassName="ClassName",r.FunctionName="FunctionName",r.ImplicitGlobalVariable="ImplicitGlobalVariable",r.ImportBinding="ImportBinding",r.Parameter="Parameter",r.TSEnumName="TSEnumName",r.TSEnumMember="TSEnumMemberName",r.TSModuleName="TSModuleName",r.Type="Type",r.Variable="Variable"})(tE||(Fr.DefinitionType=tE={}))});var rE=E(Gr=>{"use strict";Object.defineProperty(Gr,"__esModule",{value:!0});Gr.CatchClauseDefinition=void 0;var rf=Ce(),nf=Ye(),ga=class extends rf.DefinitionBase{isTypeDefinition=!1;isVariableDefinition=!0;constructor(t,i){super(nf.DefinitionType.CatchClause,t,i,null)}};Gr.CatchClauseDefinition=ga});var iE=E(Br=>{"use strict";Object.defineProperty(Br,"__esModule",{value:!0});Br.ClassNameDefinition=void 0;var sf=Ce(),of=Ye(),Sa=class extends sf.DefinitionBase{isTypeDefinition=!0;isVariableDefinition=!0;constructor(t,i){super(of.DefinitionType.ClassName,t,i,null)}};Br.ClassNameDefinition=Sa});var sE=E(nE=>{"use strict";Object.defineProperty(nE,"__esModule",{value:!0})});var oE=E(jr=>{"use strict";Object.defineProperty(jr,"__esModule",{value:!0});jr.FunctionNameDefinition=void 0;var af=Ce(),lf=Ye(),va=class extends af.DefinitionBase{isTypeDefinition=!1;isVariableDefinition=!0;constructor(t,i){super(lf.DefinitionType.FunctionName,t,i,null)}};jr.FunctionNameDefinition=va});var ha=E(Nr=>{"use strict";Object.defineProperty(Nr,"__esModule",{value:!0});Nr.ImplicitGlobalVariableDefinition=void 0;var cf=Ce(),uf=Ye(),Aa=class extends cf.DefinitionBase{isTypeDefinition=!1;isVariableDefinition=!0;constructor(t,i){super(uf.DefinitionType.ImplicitGlobalVariable,t,i,null)}};Nr.ImplicitGlobalVariableDefinition=Aa});var aE=E(Wr=>{"use strict";Object.defineProperty(Wr,"__esModule",{value:!0});Wr.ImportBindingDefinition=void 0;var Ef=Ce(),pf=Ye(),Ua=class extends Ef.DefinitionBase{isTypeDefinition=!0;isVariableDefinition=!0;constructor(t,i,s){super(pf.DefinitionType.ImportBinding,t,i,s)}};Wr.ImportBindingDefinition=Ua});var lE=E(Kr=>{"use strict";Object.defineProperty(Kr,"__esModule",{value:!0});Kr.ParameterDefinition=void 0;var Tf=Ce(),Pf=Ye(),La=class extends Tf.DefinitionBase{isTypeDefinition=!1;isVariableDefinition=!0;rest;constructor(t,i,s){super(Pf.DefinitionType.Parameter,t,i,null),this.rest=s}};Kr.ParameterDefinition=La});var cE=E(Hr=>{"use strict";Object.defineProperty(Hr,"__esModule",{value:!0});Hr.TSEnumMemberDefinition=void 0;var ff=Ce(),df=Ye(),Va=class extends ff.DefinitionBase{isTypeDefinition=!0;isVariableDefinition=!0;constructor(t,i){super(df.DefinitionType.TSEnumMember,t,i,null)}};Hr.TSEnumMemberDefinition=Va});var uE=E(Qr=>{"use strict";Object.defineProperty(Qr,"__esModule",{value:!0});Qr.TSEnumNameDefinition=void 0;var yf=Ce(),mf=Ye(),Ca=class extends yf.DefinitionBase{isTypeDefinition=!0;isVariableDefinition=!0;constructor(t,i){super(mf.DefinitionType.TSEnumName,t,i,null)}};Qr.TSEnumNameDefinition=Ca});var EE=E(Xr=>{"use strict";Object.defineProperty(Xr,"__esModule",{value:!0});Xr.TSModuleNameDefinition=void 0;var _f=Ce(),Yf=Ye(),Ia=class extends _f.DefinitionBase{isTypeDefinition=!0;isVariableDefinition=!0;constructor(t,i){super(Yf.DefinitionType.TSModuleName,t,i,null)}};Xr.TSModuleNameDefinition=Ia});var pE=E(Jr=>{"use strict";Object.defineProperty(Jr,"__esModule",{value:!0});Jr.TypeDefinition=void 0;var bf=Ce(),gf=Ye(),Ma=class extends bf.DefinitionBase{isTypeDefinition=!0;isVariableDefinition=!1;constructor(t,i){super(gf.DefinitionType.Type,t,i,null)}};Jr.TypeDefinition=Ma});var TE=E($r=>{"use strict";Object.defineProperty($r,"__esModule",{value:!0});$r.VariableDefinition=void 0;var Sf=Ce(),vf=Ye(),xa=class extends Sf.DefinitionBase{isTypeDefinition=!1;isVariableDefinition=!0;constructor(t,i,s){super(vf.DefinitionType.Variable,t,i,s)}};$r.VariableDefinition=xa});var mt=E(ee=>{"use strict";var Af=ee&&ee.__createBinding||(Object.create?(function(r,t,i,s){s===void 0&&(s=i);var o=Object.getOwnPropertyDescriptor(t,i);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(r,s,o)}):(function(r,t,i,s){s===void 0&&(s=i),r[s]=t[i]})),be=ee&&ee.__exportStar||function(r,t){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(t,i)&&Af(t,r,i)};Object.defineProperty(ee,"__esModule",{value:!0});be(rE(),ee);be(iE(),ee);be(sE(),ee);be(Ye(),ee);be(oE(),ee);be(ha(),ee);be(aE(),ee);be(lE(),ee);be(cE(),ee);be(uE(),ee);be(EE(),ee);be(pE(),ee);be(TE(),ee)});var S=E(at=>{"use strict";Object.defineProperty(at,"__esModule",{value:!0});at.TYPE_VALUE=at.VALUE=at.TYPE=void 0;at.TYPE=Object.freeze({eslintImplicitGlobalSetting:"readonly",isTypeVariable:!0,isValueVariable:!1});at.VALUE=Object.freeze({eslintImplicitGlobalSetting:"readonly",isTypeVariable:!1,isValueVariable:!0});at.TYPE_VALUE=Object.freeze({eslintImplicitGlobalSetting:"readonly",isTypeVariable:!0,isValueVariable:!0})});var Zr=E(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});zr.decorators=void 0;var Ie=S();zr.decorators={libs:[],variables:[["ClassMemberDecoratorContext",Ie.TYPE],["DecoratorContext",Ie.TYPE],["DecoratorMetadataObject",Ie.TYPE],["DecoratorMetadata",Ie.TYPE],["ClassDecoratorContext",Ie.TYPE],["ClassMethodDecoratorContext",Ie.TYPE],["ClassGetterDecoratorContext",Ie.TYPE],["ClassSetterDecoratorContext",Ie.TYPE],["ClassAccessorDecoratorContext",Ie.TYPE],["ClassAccessorDecoratorTarget",Ie.TYPE],["ClassAccessorDecoratorResult",Ie.TYPE],["ClassFieldDecoratorContext",Ie.TYPE]]}});var Oa=E(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});ti.decorators_legacy=void 0;var ei=S();ti.decorators_legacy={libs:[],variables:[["ClassDecorator",ei.TYPE],["PropertyDecorator",ei.TYPE],["MethodDecorator",ei.TYPE],["ParameterDecorator",ei.TYPE]]}});var ur=E(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});ri.es5=void 0;var g=S(),hf=Zr(),Uf=Oa();ri.es5={libs:[hf.decorators,Uf.decorators_legacy],variables:[["Symbol",g.TYPE],["PropertyKey",g.TYPE],["PropertyDescriptor",g.TYPE],["PropertyDescriptorMap",g.TYPE],["Object",g.TYPE_VALUE],["ObjectConstructor",g.TYPE],["Function",g.TYPE_VALUE],["FunctionConstructor",g.TYPE],["ThisParameterType",g.TYPE],["OmitThisParameter",g.TYPE],["CallableFunction",g.TYPE],["NewableFunction",g.TYPE],["IArguments",g.TYPE],["String",g.TYPE_VALUE],["StringConstructor",g.TYPE],["Boolean",g.TYPE_VALUE],["BooleanConstructor",g.TYPE],["Number",g.TYPE_VALUE],["NumberConstructor",g.TYPE],["TemplateStringsArray",g.TYPE],["ImportMeta",g.TYPE],["ImportCallOptions",g.TYPE],["ImportAssertions",g.TYPE],["ImportAttributes",g.TYPE],["Math",g.TYPE_VALUE],["Date",g.TYPE_VALUE],["DateConstructor",g.TYPE],["RegExpMatchArray",g.TYPE],["RegExpExecArray",g.TYPE],["RegExp",g.TYPE_VALUE],["RegExpConstructor",g.TYPE],["Error",g.TYPE_VALUE],["ErrorConstructor",g.TYPE],["EvalError",g.TYPE_VALUE],["EvalErrorConstructor",g.TYPE],["RangeError",g.TYPE_VALUE],["RangeErrorConstructor",g.TYPE],["ReferenceError",g.TYPE_VALUE],["ReferenceErrorConstructor",g.TYPE],["SyntaxError",g.TYPE_VALUE],["SyntaxErrorConstructor",g.TYPE],["TypeError",g.TYPE_VALUE],["TypeErrorConstructor",g.TYPE],["URIError",g.TYPE_VALUE],["URIErrorConstructor",g.TYPE],["JSON",g.TYPE_VALUE],["ReadonlyArray",g.TYPE],["ConcatArray",g.TYPE],["Array",g.TYPE_VALUE],["ArrayConstructor",g.TYPE],["TypedPropertyDescriptor",g.TYPE],["PromiseConstructorLike",g.TYPE],["PromiseLike",g.TYPE],["Promise",g.TYPE],["Awaited",g.TYPE],["ArrayLike",g.TYPE],["Partial",g.TYPE],["Required",g.TYPE],["Readonly",g.TYPE],["Pick",g.TYPE],["Record",g.TYPE],["Exclude",g.TYPE],["Extract",g.TYPE],["Omit",g.TYPE],["NonNullable",g.TYPE],["Parameters",g.TYPE],["ConstructorParameters",g.TYPE],["ReturnType",g.TYPE],["InstanceType",g.TYPE],["Uppercase",g.TYPE],["Lowercase",g.TYPE],["Capitalize",g.TYPE],["Uncapitalize",g.TYPE],["NoInfer",g.TYPE],["ThisType",g.TYPE],["WeakKeyTypes",g.TYPE],["WeakKey",g.TYPE],["ArrayBuffer",g.TYPE_VALUE],["ArrayBufferTypes",g.TYPE],["ArrayBufferLike",g.TYPE],["ArrayBufferConstructor",g.TYPE],["ArrayBufferView",g.TYPE],["DataView",g.TYPE_VALUE],["DataViewConstructor",g.TYPE],["Int8Array",g.TYPE_VALUE],["Int8ArrayConstructor",g.TYPE],["Uint8Array",g.TYPE_VALUE],["Uint8ArrayConstructor",g.TYPE],["Uint8ClampedArray",g.TYPE_VALUE],["Uint8ClampedArrayConstructor",g.TYPE],["Int16Array",g.TYPE_VALUE],["Int16ArrayConstructor",g.TYPE],["Uint16Array",g.TYPE_VALUE],["Uint16ArrayConstructor",g.TYPE],["Int32Array",g.TYPE_VALUE],["Int32ArrayConstructor",g.TYPE],["Uint32Array",g.TYPE_VALUE],["Uint32ArrayConstructor",g.TYPE],["Float32Array",g.TYPE_VALUE],["Float32ArrayConstructor",g.TYPE],["Float64Array",g.TYPE_VALUE],["Float64ArrayConstructor",g.TYPE],["Intl",g.TYPE_VALUE]]}});var ni=E(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});ii.es2015_collection=void 0;var He=S();ii.es2015_collection={libs:[],variables:[["Map",He.TYPE_VALUE],["MapConstructor",He.TYPE],["ReadonlyMap",He.TYPE],["WeakMap",He.TYPE_VALUE],["WeakMapConstructor",He.TYPE],["Set",He.TYPE_VALUE],["SetConstructor",He.TYPE],["ReadonlySet",He.TYPE],["WeakSet",He.TYPE_VALUE],["WeakSetConstructor",He.TYPE]]}});var oi=E(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});si.es2015_core=void 0;var H=S();si.es2015_core={libs:[],variables:[["Array",H.TYPE],["ArrayConstructor",H.TYPE],["DateConstructor",H.TYPE],["Function",H.TYPE],["Math",H.TYPE],["NumberConstructor",H.TYPE],["ObjectConstructor",H.TYPE],["ReadonlyArray",H.TYPE],["RegExp",H.TYPE],["RegExpConstructor",H.TYPE],["String",H.TYPE],["StringConstructor",H.TYPE],["Int8Array",H.TYPE],["Uint8Array",H.TYPE],["Uint8ClampedArray",H.TYPE],["Int16Array",H.TYPE],["Uint16Array",H.TYPE],["Int32Array",H.TYPE],["Uint32Array",H.TYPE],["Float32Array",H.TYPE],["Float64Array",H.TYPE]]}});var Te=E(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.es2015_symbol=void 0;var Lf=S();ai.es2015_symbol={libs:[],variables:[["SymbolConstructor",Lf.TYPE]]}});var Ee=E(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});li.es2015_iterable=void 0;var V=S(),Vf=Te();li.es2015_iterable={libs:[Vf.es2015_symbol],variables:[["SymbolConstructor",V.TYPE],["IteratorYieldResult",V.TYPE],["IteratorReturnResult",V.TYPE],["IteratorResult",V.TYPE],["Iterator",V.TYPE],["Iterable",V.TYPE],["IterableIterator",V.TYPE],["IteratorObject",V.TYPE],["BuiltinIteratorReturn",V.TYPE],["ArrayIterator",V.TYPE],["Array",V.TYPE],["ArrayConstructor",V.TYPE],["ReadonlyArray",V.TYPE],["IArguments",V.TYPE],["MapIterator",V.TYPE],["Map",V.TYPE],["ReadonlyMap",V.TYPE],["MapConstructor",V.TYPE],["WeakMap",V.TYPE],["WeakMapConstructor",V.TYPE],["SetIterator",V.TYPE],["Set",V.TYPE],["ReadonlySet",V.TYPE],["SetConstructor",V.TYPE],["WeakSet",V.TYPE],["WeakSetConstructor",V.TYPE],["Promise",V.TYPE],["PromiseConstructor",V.TYPE],["StringIterator",V.TYPE],["String",V.TYPE],["Int8Array",V.TYPE],["Int8ArrayConstructor",V.TYPE],["Uint8Array",V.TYPE],["Uint8ArrayConstructor",V.TYPE],["Uint8ClampedArray",V.TYPE],["Uint8ClampedArrayConstructor",V.TYPE],["Int16Array",V.TYPE],["Int16ArrayConstructor",V.TYPE],["Uint16Array",V.TYPE],["Uint16ArrayConstructor",V.TYPE],["Int32Array",V.TYPE],["Int32ArrayConstructor",V.TYPE],["Uint32Array",V.TYPE],["Uint32ArrayConstructor",V.TYPE],["Float32Array",V.TYPE],["Float32ArrayConstructor",V.TYPE],["Float64Array",V.TYPE],["Float64ArrayConstructor",V.TYPE]]}});var ui=E(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});ci.es2015_generator=void 0;var Ra=S(),Cf=Ee();ci.es2015_generator={libs:[Cf.es2015_iterable],variables:[["Generator",Ra.TYPE],["GeneratorFunction",Ra.TYPE],["GeneratorFunctionConstructor",Ra.TYPE]]}});var pi=E(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});Ei.es2015_promise=void 0;var If=S();Ei.es2015_promise={libs:[],variables:[["PromiseConstructor",If.TYPE]]}});var Pi=E(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});Ti.es2015_proxy=void 0;var PE=S();Ti.es2015_proxy={libs:[],variables:[["ProxyHandler",PE.TYPE],["ProxyConstructor",PE.TYPE]]}});var di=E(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});fi.es2015_reflect=void 0;var Mf=S();fi.es2015_reflect={libs:[],variables:[["Reflect",Mf.TYPE_VALUE]]}});var lt=E(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.es2015_symbol_wellknown=void 0;var D=S(),xf=Te();yi.es2015_symbol_wellknown={libs:[xf.es2015_symbol],variables:[["SymbolConstructor",D.TYPE],["Symbol",D.TYPE],["Array",D.TYPE],["ReadonlyArray",D.TYPE],["Date",D.TYPE],["Map",D.TYPE],["WeakMap",D.TYPE],["Set",D.TYPE],["WeakSet",D.TYPE],["JSON",D.TYPE],["Function",D.TYPE],["GeneratorFunction",D.TYPE],["Math",D.TYPE],["Promise",D.TYPE],["PromiseConstructor",D.TYPE],["RegExp",D.TYPE],["RegExpConstructor",D.TYPE],["String",D.TYPE],["ArrayBuffer",D.TYPE],["DataView",D.TYPE],["Int8Array",D.TYPE],["Uint8Array",D.TYPE],["Uint8ClampedArray",D.TYPE],["Int16Array",D.TYPE],["Uint16Array",D.TYPE],["Int32Array",D.TYPE],["Uint32Array",D.TYPE],["Float32Array",D.TYPE],["Float64Array",D.TYPE],["ArrayConstructor",D.TYPE],["MapConstructor",D.TYPE],["SetConstructor",D.TYPE],["ArrayBufferConstructor",D.TYPE]]}});var Rt=E(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.es2015=void 0;var Of=ur(),Rf=ni(),Df=oi(),wf=ui(),qf=Ee(),kf=pi(),Ff=Pi(),Gf=di(),Bf=Te(),jf=lt();mi.es2015={libs:[Of.es5,Df.es2015_core,Rf.es2015_collection,qf.es2015_iterable,wf.es2015_generator,kf.es2015_promise,Ff.es2015_proxy,Gf.es2015_reflect,Bf.es2015_symbol,jf.es2015_symbol_wellknown],variables:[]}});var _t=E(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});_i.es2018_asynciterable=void 0;var Er=S(),Nf=Ee(),Wf=Te();_i.es2018_asynciterable={libs:[Wf.es2015_symbol,Nf.es2015_iterable],variables:[["SymbolConstructor",Er.TYPE],["AsyncIterator",Er.TYPE],["AsyncIterable",Er.TYPE],["AsyncIterableIterator",Er.TYPE],["AsyncIteratorObject",Er.TYPE]]}});var Pe=E(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});Yi.dom=void 0;var e=S(),Kf=Rt(),Hf=_t();Yi.dom={libs:[Kf.es2015,Hf.es2018_asynciterable],variables:[["AacEncoderConfig",e.TYPE],["AddEventListenerOptions",e.TYPE],["AddressErrors",e.TYPE],["AesCbcParams",e.TYPE],["AesCtrParams",e.TYPE],["AesDerivedKeyParams",e.TYPE],["AesGcmParams",e.TYPE],["AesKeyAlgorithm",e.TYPE],["AesKeyGenParams",e.TYPE],["Algorithm",e.TYPE],["AllAcceptedCredentialsOptions",e.TYPE],["AnalyserOptions",e.TYPE],["AnimationEventInit",e.TYPE],["AnimationPlaybackEventInit",e.TYPE],["AssignedNodesOptions",e.TYPE],["AudioBufferOptions",e.TYPE],["AudioBufferSourceOptions",e.TYPE],["AudioConfiguration",e.TYPE],["AudioContextOptions",e.TYPE],["AudioDataCopyToOptions",e.TYPE],["AudioDataInit",e.TYPE],["AudioDecoderConfig",e.TYPE],["AudioDecoderInit",e.TYPE],["AudioDecoderSupport",e.TYPE],["AudioEncoderConfig",e.TYPE],["AudioEncoderInit",e.TYPE],["AudioEncoderSupport",e.TYPE],["AudioNodeOptions",e.TYPE],["AudioProcessingEventInit",e.TYPE],["AudioTimestamp",e.TYPE],["AudioWorkletNodeOptions",e.TYPE],["AuthenticationExtensionsClientInputs",e.TYPE],["AuthenticationExtensionsClientInputsJSON",e.TYPE],["AuthenticationExtensionsClientOutputs",e.TYPE],["AuthenticationExtensionsClientOutputsJSON",e.TYPE],["AuthenticationExtensionsLargeBlobInputs",e.TYPE],["AuthenticationExtensionsLargeBlobInputsJSON",e.TYPE],["AuthenticationExtensionsLargeBlobOutputs",e.TYPE],["AuthenticationExtensionsLargeBlobOutputsJSON",e.TYPE],["AuthenticationExtensionsPRFInputs",e.TYPE],["AuthenticationExtensionsPRFInputsJSON",e.TYPE],["AuthenticationExtensionsPRFOutputs",e.TYPE],["AuthenticationExtensionsPRFOutputsJSON",e.TYPE],["AuthenticationExtensionsPRFValues",e.TYPE],["AuthenticationExtensionsPRFValuesJSON",e.TYPE],["AuthenticationResponseJSON",e.TYPE],["AuthenticatorAssertionResponseJSON",e.TYPE],["AuthenticatorAttestationResponseJSON",e.TYPE],["AuthenticatorSelectionCriteria",e.TYPE],["AvcEncoderConfig",e.TYPE],["BiquadFilterOptions",e.TYPE],["BlobEventInit",e.TYPE],["BlobPropertyBag",e.TYPE],["CSSMatrixComponentOptions",e.TYPE],["CSSNumericType",e.TYPE],["CSSStyleSheetInit",e.TYPE],["CacheQueryOptions",e.TYPE],["CanvasRenderingContext2DSettings",e.TYPE],["CaretPositionFromPointOptions",e.TYPE],["ChannelMergerOptions",e.TYPE],["ChannelSplitterOptions",e.TYPE],["CheckVisibilityOptions",e.TYPE],["ClientQueryOptions",e.TYPE],["ClipboardEventInit",e.TYPE],["ClipboardItemOptions",e.TYPE],["CloseEventInit",e.TYPE],["CommandEventInit",e.TYPE],["CompositionEventInit",e.TYPE],["ComputedEffectTiming",e.TYPE],["ComputedKeyframe",e.TYPE],["ConstantSourceOptions",e.TYPE],["ConstrainBooleanOrDOMStringParameters",e.TYPE],["ConstrainBooleanParameters",e.TYPE],["ConstrainDOMStringParameters",e.TYPE],["ConstrainDoubleRange",e.TYPE],["ConstrainULongRange",e.TYPE],["ContentVisibilityAutoStateChangeEventInit",e.TYPE],["ConvolverOptions",e.TYPE],["CookieChangeEventInit",e.TYPE],["CookieInit",e.TYPE],["CookieListItem",e.TYPE],["CookieStoreDeleteOptions",e.TYPE],["CookieStoreGetOptions",e.TYPE],["CredentialCreationOptions",e.TYPE],["CredentialPropertiesOutput",e.TYPE],["CredentialRequestOptions",e.TYPE],["CryptoKeyPair",e.TYPE],["CurrentUserDetailsOptions",e.TYPE],["CustomEventInit",e.TYPE],["DOMMatrix2DInit",e.TYPE],["DOMMatrixInit",e.TYPE],["DOMPointInit",e.TYPE],["DOMQuadInit",e.TYPE],["DOMRectInit",e.TYPE],["DelayOptions",e.TYPE],["DeviceMotionEventAccelerationInit",e.TYPE],["DeviceMotionEventInit",e.TYPE],["DeviceMotionEventRotationRateInit",e.TYPE],["DeviceOrientationEventInit",e.TYPE],["DisplayMediaStreamOptions",e.TYPE],["DocumentTimelineOptions",e.TYPE],["DoubleRange",e.TYPE],["DragEventInit",e.TYPE],["DynamicsCompressorOptions",e.TYPE],["EcKeyAlgorithm",e.TYPE],["EcKeyGenParams",e.TYPE],["EcKeyImportParams",e.TYPE],["EcdhKeyDeriveParams",e.TYPE],["EcdsaParams",e.TYPE],["EffectTiming",e.TYPE],["ElementCreationOptions",e.TYPE],["ElementDefinitionOptions",e.TYPE],["EncodedAudioChunkInit",e.TYPE],["EncodedAudioChunkMetadata",e.TYPE],["EncodedVideoChunkInit",e.TYPE],["EncodedVideoChunkMetadata",e.TYPE],["ErrorEventInit",e.TYPE],["EventInit",e.TYPE],["EventListenerOptions",e.TYPE],["EventModifierInit",e.TYPE],["EventSourceInit",e.TYPE],["FilePropertyBag",e.TYPE],["FileSystemCreateWritableOptions",e.TYPE],["FileSystemFlags",e.TYPE],["FileSystemGetDirectoryOptions",e.TYPE],["FileSystemGetFileOptions",e.TYPE],["FileSystemRemoveOptions",e.TYPE],["FocusEventInit",e.TYPE],["FocusOptions",e.TYPE],["FontFaceDescriptors",e.TYPE],["FontFaceSetLoadEventInit",e.TYPE],["FormDataEventInit",e.TYPE],["FullscreenOptions",e.TYPE],["GPUBindGroupDescriptor",e.TYPE],["GPUBindGroupEntry",e.TYPE],["GPUBindGroupLayoutDescriptor",e.TYPE],["GPUBindGroupLayoutEntry",e.TYPE],["GPUBlendComponent",e.TYPE],["GPUBlendState",e.TYPE],["GPUBufferBinding",e.TYPE],["GPUBufferBindingLayout",e.TYPE],["GPUBufferDescriptor",e.TYPE],["GPUCanvasConfiguration",e.TYPE],["GPUCanvasToneMapping",e.TYPE],["GPUColorDict",e.TYPE],["GPUColorTargetState",e.TYPE],["GPUCommandBufferDescriptor",e.TYPE],["GPUCommandEncoderDescriptor",e.TYPE],["GPUComputePassDescriptor",e.TYPE],["GPUComputePassTimestampWrites",e.TYPE],["GPUComputePipelineDescriptor",e.TYPE],["GPUCopyExternalImageDestInfo",e.TYPE],["GPUCopyExternalImageSourceInfo",e.TYPE],["GPUDepthStencilState",e.TYPE],["GPUDeviceDescriptor",e.TYPE],["GPUExtent3DDict",e.TYPE],["GPUExternalTextureBindingLayout",e.TYPE],["GPUExternalTextureDescriptor",e.TYPE],["GPUFragmentState",e.TYPE],["GPUMultisampleState",e.TYPE],["GPUObjectDescriptorBase",e.TYPE],["GPUOrigin2DDict",e.TYPE],["GPUOrigin3DDict",e.TYPE],["GPUPipelineDescriptorBase",e.TYPE],["GPUPipelineErrorInit",e.TYPE],["GPUPipelineLayoutDescriptor",e.TYPE],["GPUPrimitiveState",e.TYPE],["GPUProgrammableStage",e.TYPE],["GPUQuerySetDescriptor",e.TYPE],["GPUQueueDescriptor",e.TYPE],["GPURenderBundleDescriptor",e.TYPE],["GPURenderBundleEncoderDescriptor",e.TYPE],["GPURenderPassColorAttachment",e.TYPE],["GPURenderPassDepthStencilAttachment",e.TYPE],["GPURenderPassDescriptor",e.TYPE],["GPURenderPassLayout",e.TYPE],["GPURenderPassTimestampWrites",e.TYPE],["GPURenderPipelineDescriptor",e.TYPE],["GPURequestAdapterOptions",e.TYPE],["GPUSamplerBindingLayout",e.TYPE],["GPUSamplerDescriptor",e.TYPE],["GPUShaderModuleDescriptor",e.TYPE],["GPUStencilFaceState",e.TYPE],["GPUStorageTextureBindingLayout",e.TYPE],["GPUTexelCopyBufferInfo",e.TYPE],["GPUTexelCopyBufferLayout",e.TYPE],["GPUTexelCopyTextureInfo",e.TYPE],["GPUTextureBindingLayout",e.TYPE],["GPUTextureDescriptor",e.TYPE],["GPUTextureViewDescriptor",e.TYPE],["GPUUncapturedErrorEventInit",e.TYPE],["GPUVertexAttribute",e.TYPE],["GPUVertexBufferLayout",e.TYPE],["GPUVertexState",e.TYPE],["GainOptions",e.TYPE],["GamepadEffectParameters",e.TYPE],["GamepadEventInit",e.TYPE],["GetAnimationsOptions",e.TYPE],["GetComposedRangesOptions",e.TYPE],["GetHTMLOptions",e.TYPE],["GetNotificationOptions",e.TYPE],["GetRootNodeOptions",e.TYPE],["HashChangeEventInit",e.TYPE],["HkdfParams",e.TYPE],["HmacImportParams",e.TYPE],["HmacKeyAlgorithm",e.TYPE],["HmacKeyGenParams",e.TYPE],["IDBDatabaseInfo",e.TYPE],["IDBIndexParameters",e.TYPE],["IDBObjectStoreParameters",e.TYPE],["IDBTransactionOptions",e.TYPE],["IDBVersionChangeEventInit",e.TYPE],["IIRFilterOptions",e.TYPE],["IdleRequestOptions",e.TYPE],["ImageBitmapOptions",e.TYPE],["ImageBitmapRenderingContextSettings",e.TYPE],["ImageDataSettings",e.TYPE],["ImageDecodeOptions",e.TYPE],["ImageDecodeResult",e.TYPE],["ImageDecoderInit",e.TYPE],["ImageEncodeOptions",e.TYPE],["ImportNodeOptions",e.TYPE],["InputEventInit",e.TYPE],["IntersectionObserverInit",e.TYPE],["JsonWebKey",e.TYPE],["KeyAlgorithm",e.TYPE],["KeySystemTrackConfiguration",e.TYPE],["KeyboardEventInit",e.TYPE],["Keyframe",e.TYPE],["KeyframeAnimationOptions",e.TYPE],["KeyframeEffectOptions",e.TYPE],["LockInfo",e.TYPE],["LockManagerSnapshot",e.TYPE],["LockOptions",e.TYPE],["MIDIConnectionEventInit",e.TYPE],["MIDIMessageEventInit",e.TYPE],["MIDIOptions",e.TYPE],["MediaCapabilitiesDecodingInfo",e.TYPE],["MediaCapabilitiesEncodingInfo",e.TYPE],["MediaCapabilitiesInfo",e.TYPE],["MediaCapabilitiesKeySystemConfiguration",e.TYPE],["MediaConfiguration",e.TYPE],["MediaDecodingConfiguration",e.TYPE],["MediaElementAudioSourceOptions",e.TYPE],["MediaEncodingConfiguration",e.TYPE],["MediaEncryptedEventInit",e.TYPE],["MediaImage",e.TYPE],["MediaKeyMessageEventInit",e.TYPE],["MediaKeySystemConfiguration",e.TYPE],["MediaKeySystemMediaCapability",e.TYPE],["MediaKeysPolicy",e.TYPE],["MediaMetadataInit",e.TYPE],["MediaPositionState",e.TYPE],["MediaQueryListEventInit",e.TYPE],["MediaRecorderOptions",e.TYPE],["MediaSessionActionDetails",e.TYPE],["MediaSettingsRange",e.TYPE],["MediaStreamAudioSourceOptions",e.TYPE],["MediaStreamConstraints",e.TYPE],["MediaStreamTrackEventInit",e.TYPE],["MediaTrackCapabilities",e.TYPE],["MediaTrackConstraintSet",e.TYPE],["MediaTrackConstraints",e.TYPE],["MediaTrackSettings",e.TYPE],["MediaTrackSupportedConstraints",e.TYPE],["MessageEventInit",e.TYPE],["MouseEventInit",e.TYPE],["MultiCacheQueryOptions",e.TYPE],["MutationObserverInit",e.TYPE],["NavigateEventInit",e.TYPE],["NavigationCurrentEntryChangeEventInit",e.TYPE],["NavigationInterceptOptions",e.TYPE],["NavigationNavigateOptions",e.TYPE],["NavigationOptions",e.TYPE],["NavigationPreloadState",e.TYPE],["NavigationReloadOptions",e.TYPE],["NavigationResult",e.TYPE],["NavigationUpdateCurrentEntryOptions",e.TYPE],["NotificationOptions",e.TYPE],["OfflineAudioCompletionEventInit",e.TYPE],["OfflineAudioContextOptions",e.TYPE],["OptionalEffectTiming",e.TYPE],["OpusEncoderConfig",e.TYPE],["OscillatorOptions",e.TYPE],["PageRevealEventInit",e.TYPE],["PageSwapEventInit",e.TYPE],["PageTransitionEventInit",e.TYPE],["PannerOptions",e.TYPE],["PayerErrors",e.TYPE],["PaymentCurrencyAmount",e.TYPE],["PaymentDetailsBase",e.TYPE],["PaymentDetailsInit",e.TYPE],["PaymentDetailsModifier",e.TYPE],["PaymentDetailsUpdate",e.TYPE],["PaymentItem",e.TYPE],["PaymentMethodChangeEventInit",e.TYPE],["PaymentMethodData",e.TYPE],["PaymentOptions",e.TYPE],["PaymentRequestUpdateEventInit",e.TYPE],["PaymentShippingOption",e.TYPE],["PaymentValidationErrors",e.TYPE],["Pbkdf2Params",e.TYPE],["PerformanceMarkOptions",e.TYPE],["PerformanceMeasureOptions",e.TYPE],["PerformanceObserverInit",e.TYPE],["PeriodicWaveConstraints",e.TYPE],["PeriodicWaveOptions",e.TYPE],["PermissionDescriptor",e.TYPE],["PhotoCapabilities",e.TYPE],["PhotoSettings",e.TYPE],["PictureInPictureEventInit",e.TYPE],["PlaneLayout",e.TYPE],["PointerEventInit",e.TYPE],["PointerLockOptions",e.TYPE],["PopStateEventInit",e.TYPE],["PositionOptions",e.TYPE],["ProgressEventInit",e.TYPE],["PromiseRejectionEventInit",e.TYPE],["PropertyDefinition",e.TYPE],["PropertyIndexedKeyframes",e.TYPE],["PublicKeyCredentialCreationOptions",e.TYPE],["PublicKeyCredentialCreationOptionsJSON",e.TYPE],["PublicKeyCredentialDescriptor",e.TYPE],["PublicKeyCredentialDescriptorJSON",e.TYPE],["PublicKeyCredentialEntity",e.TYPE],["PublicKeyCredentialParameters",e.TYPE],["PublicKeyCredentialRequestOptions",e.TYPE],["PublicKeyCredentialRequestOptionsJSON",e.TYPE],["PublicKeyCredentialRpEntity",e.TYPE],["PublicKeyCredentialUserEntity",e.TYPE],["PublicKeyCredentialUserEntityJSON",e.TYPE],["PushSubscriptionJSON",e.TYPE],["PushSubscriptionOptionsInit",e.TYPE],["QueuingStrategy",e.TYPE],["QueuingStrategyInit",e.TYPE],["RTCAnswerOptions",e.TYPE],["RTCCertificateExpiration",e.TYPE],["RTCConfiguration",e.TYPE],["RTCDTMFToneChangeEventInit",e.TYPE],["RTCDataChannelEventInit",e.TYPE],["RTCDataChannelInit",e.TYPE],["RTCDtlsFingerprint",e.TYPE],["RTCEncodedAudioFrameMetadata",e.TYPE],["RTCEncodedFrameMetadata",e.TYPE],["RTCEncodedVideoFrameMetadata",e.TYPE],["RTCErrorEventInit",e.TYPE],["RTCErrorInit",e.TYPE],["RTCIceCandidateInit",e.TYPE],["RTCIceCandidatePairStats",e.TYPE],["RTCIceServer",e.TYPE],["RTCInboundRtpStreamStats",e.TYPE],["RTCLocalIceCandidateInit",e.TYPE],["RTCLocalSessionDescriptionInit",e.TYPE],["RTCOfferAnswerOptions",e.TYPE],["RTCOfferOptions",e.TYPE],["RTCOutboundRtpStreamStats",e.TYPE],["RTCPeerConnectionIceErrorEventInit",e.TYPE],["RTCPeerConnectionIceEventInit",e.TYPE],["RTCReceivedRtpStreamStats",e.TYPE],["RTCRtcpParameters",e.TYPE],["RTCRtpCapabilities",e.TYPE],["RTCRtpCodec",e.TYPE],["RTCRtpCodecParameters",e.TYPE],["RTCRtpCodingParameters",e.TYPE],["RTCRtpContributingSource",e.TYPE],["RTCRtpEncodingParameters",e.TYPE],["RTCRtpHeaderExtensionCapability",e.TYPE],["RTCRtpHeaderExtensionParameters",e.TYPE],["RTCRtpParameters",e.TYPE],["RTCRtpReceiveParameters",e.TYPE],["RTCRtpSendParameters",e.TYPE],["RTCRtpStreamStats",e.TYPE],["RTCRtpSynchronizationSource",e.TYPE],["RTCRtpTransceiverInit",e.TYPE],["RTCSentRtpStreamStats",e.TYPE],["RTCSessionDescriptionInit",e.TYPE],["RTCSetParameterOptions",e.TYPE],["RTCStats",e.TYPE],["RTCTrackEventInit",e.TYPE],["RTCTransportStats",e.TYPE],["ReadableStreamBYOBReaderReadOptions",e.TYPE],["ReadableStreamGetReaderOptions",e.TYPE],["ReadableStreamIteratorOptions",e.TYPE],["ReadableStreamReadDoneResult",e.TYPE],["ReadableStreamReadValueResult",e.TYPE],["ReadableWritablePair",e.TYPE],["RegistrationOptions",e.TYPE],["RegistrationResponseJSON",e.TYPE],["Report",e.TYPE],["ReportBody",e.TYPE],["ReportingObserverOptions",e.TYPE],["RequestInit",e.TYPE],["ResizeObserverOptions",e.TYPE],["ResponseInit",e.TYPE],["RsaHashedImportParams",e.TYPE],["RsaHashedKeyAlgorithm",e.TYPE],["RsaHashedKeyGenParams",e.TYPE],["RsaKeyAlgorithm",e.TYPE],["RsaKeyGenParams",e.TYPE],["RsaOaepParams",e.TYPE],["RsaOtherPrimesInfo",e.TYPE],["RsaPssParams",e.TYPE],["SVGBoundingBoxOptions",e.TYPE],["SanitizerAttributeNamespace",e.TYPE],["SanitizerConfig",e.TYPE],["SanitizerElementNamespace",e.TYPE],["SanitizerElementNamespaceWithAttributes",e.TYPE],["SchedulerPostTaskOptions",e.TYPE],["ScrollIntoViewOptions",e.TYPE],["ScrollOptions",e.TYPE],["ScrollTimelineOptions",e.TYPE],["ScrollToOptions",e.TYPE],["SecurityPolicyViolationEventInit",e.TYPE],["ShadowRootInit",e.TYPE],["ShareData",e.TYPE],["ShowPopoverOptions",e.TYPE],["SpeechRecognitionErrorEventInit",e.TYPE],["SpeechRecognitionEventInit",e.TYPE],["SpeechSynthesisErrorEventInit",e.TYPE],["SpeechSynthesisEventInit",e.TYPE],["StartViewTransitionOptions",e.TYPE],["StaticRangeInit",e.TYPE],["StereoPannerOptions",e.TYPE],["StorageEstimate",e.TYPE],["StorageEventInit",e.TYPE],["StreamPipeOptions",e.TYPE],["StructuredSerializeOptions",e.TYPE],["SubmitEventInit",e.TYPE],["SvcOutputMetadata",e.TYPE],["TaskControllerInit",e.TYPE],["TaskPriorityChangeEventInit",e.TYPE],["TaskSignalAnyInit",e.TYPE],["TextDecodeOptions",e.TYPE],["TextDecoderOptions",e.TYPE],["TextEncoderEncodeIntoResult",e.TYPE],["TimelineRangeOffset",e.TYPE],["ToggleEventInit",e.TYPE],["TogglePopoverOptions",e.TYPE],["TouchEventInit",e.TYPE],["TouchInit",e.TYPE],["TrackEventInit",e.TYPE],["Transformer",e.TYPE],["TransitionEventInit",e.TYPE],["UIEventInit",e.TYPE],["ULongRange",e.TYPE],["URLPatternComponentResult",e.TYPE],["URLPatternInit",e.TYPE],["URLPatternOptions",e.TYPE],["URLPatternResult",e.TYPE],["UnderlyingByteSource",e.TYPE],["UnderlyingDefaultSource",e.TYPE],["UnderlyingSink",e.TYPE],["UnderlyingSource",e.TYPE],["UnknownCredentialOptions",e.TYPE],["ValidityStateFlags",e.TYPE],["VideoColorSpaceInit",e.TYPE],["VideoConfiguration",e.TYPE],["VideoDecoderConfig",e.TYPE],["VideoDecoderInit",e.TYPE],["VideoDecoderSupport",e.TYPE],["VideoEncoderConfig",e.TYPE],["VideoEncoderEncodeOptions",e.TYPE],["VideoEncoderEncodeOptionsForAvc",e.TYPE],["VideoEncoderInit",e.TYPE],["VideoEncoderSupport",e.TYPE],["VideoFrameBufferInit",e.TYPE],["VideoFrameCallbackMetadata",e.TYPE],["VideoFrameCopyToOptions",e.TYPE],["VideoFrameInit",e.TYPE],["ViewTimelineOptions",e.TYPE],["WaveShaperOptions",e.TYPE],["WebGLContextAttributes",e.TYPE],["WebGLContextEventInit",e.TYPE],["WebTransportCloseInfo",e.TYPE],["WebTransportErrorOptions",e.TYPE],["WebTransportHash",e.TYPE],["WebTransportOptions",e.TYPE],["WebTransportSendOptions",e.TYPE],["WebTransportSendStreamOptions",e.TYPE],["WheelEventInit",e.TYPE],["WindowPostMessageOptions",e.TYPE],["WorkerOptions",e.TYPE],["WorkletOptions",e.TYPE],["WriteParams",e.TYPE],["NodeFilter",e.TYPE_VALUE],["XPathNSResolver",e.TYPE],["ANGLE_instanced_arrays",e.TYPE],["ARIAMixin",e.TYPE],["AbortController",e.TYPE_VALUE],["AbortSignalEventMap",e.TYPE],["AbortSignal",e.TYPE_VALUE],["AbstractRange",e.TYPE_VALUE],["AbstractWorkerEventMap",e.TYPE],["AbstractWorker",e.TYPE],["AnalyserNode",e.TYPE_VALUE],["Animatable",e.TYPE],["AnimationEventMap",e.TYPE],["Animation",e.TYPE_VALUE],["AnimationEffect",e.TYPE_VALUE],["AnimationEvent",e.TYPE_VALUE],["AnimationFrameProvider",e.TYPE],["AnimationPlaybackEvent",e.TYPE_VALUE],["AnimationTimeline",e.TYPE_VALUE],["Attr",e.TYPE_VALUE],["AudioBuffer",e.TYPE_VALUE],["AudioBufferSourceNode",e.TYPE_VALUE],["AudioContext",e.TYPE_VALUE],["AudioData",e.TYPE_VALUE],["AudioDecoderEventMap",e.TYPE],["AudioDecoder",e.TYPE_VALUE],["AudioDestinationNode",e.TYPE_VALUE],["AudioEncoderEventMap",e.TYPE],["AudioEncoder",e.TYPE_VALUE],["AudioListener",e.TYPE_VALUE],["AudioNode",e.TYPE_VALUE],["AudioParam",e.TYPE_VALUE],["AudioParamMap",e.TYPE_VALUE],["AudioProcessingEvent",e.TYPE_VALUE],["AudioScheduledSourceNodeEventMap",e.TYPE],["AudioScheduledSourceNode",e.TYPE_VALUE],["AudioWorklet",e.TYPE_VALUE],["AudioWorkletNodeEventMap",e.TYPE],["AudioWorkletNode",e.TYPE_VALUE],["AuthenticatorAssertionResponse",e.TYPE_VALUE],["AuthenticatorAttestationResponse",e.TYPE_VALUE],["AuthenticatorResponse",e.TYPE_VALUE],["BarProp",e.TYPE_VALUE],["BaseAudioContextEventMap",e.TYPE],["BaseAudioContext",e.TYPE_VALUE],["BeforeUnloadEvent",e.TYPE_VALUE],["BiquadFilterNode",e.TYPE_VALUE],["Blob",e.TYPE_VALUE],["BlobEvent",e.TYPE_VALUE],["Body",e.TYPE],["BroadcastChannelEventMap",e.TYPE],["BroadcastChannel",e.TYPE_VALUE],["ByteLengthQueuingStrategy",e.TYPE_VALUE],["CDATASection",e.TYPE_VALUE],["CSSAnimation",e.TYPE_VALUE],["CSSConditionRule",e.TYPE_VALUE],["CSSContainerRule",e.TYPE_VALUE],["CSSCounterStyleRule",e.TYPE_VALUE],["CSSFontFaceRule",e.TYPE_VALUE],["CSSFontFeatureValuesRule",e.TYPE_VALUE],["CSSFontPaletteValuesRule",e.TYPE_VALUE],["CSSGroupingRule",e.TYPE_VALUE],["CSSImageValue",e.TYPE_VALUE],["CSSImportRule",e.TYPE_VALUE],["CSSKeyframeRule",e.TYPE_VALUE],["CSSKeyframesRule",e.TYPE_VALUE],["CSSKeywordValue",e.TYPE_VALUE],["CSSLayerBlockRule",e.TYPE_VALUE],["CSSLayerStatementRule",e.TYPE_VALUE],["CSSMathClamp",e.TYPE_VALUE],["CSSMathInvert",e.TYPE_VALUE],["CSSMathMax",e.TYPE_VALUE],["CSSMathMin",e.TYPE_VALUE],["CSSMathNegate",e.TYPE_VALUE],["CSSMathProduct",e.TYPE_VALUE],["CSSMathSum",e.TYPE_VALUE],["CSSMathValue",e.TYPE_VALUE],["CSSMatrixComponent",e.TYPE_VALUE],["CSSMediaRule",e.TYPE_VALUE],["CSSNamespaceRule",e.TYPE_VALUE],["CSSNestedDeclarations",e.TYPE_VALUE],["CSSNumericArray",e.TYPE_VALUE],["CSSNumericValue",e.TYPE_VALUE],["CSSPageDescriptors",e.TYPE_VALUE],["CSSPageRule",e.TYPE_VALUE],["CSSPerspective",e.TYPE_VALUE],["CSSPositionTryDescriptors",e.TYPE_VALUE],["CSSPositionTryRule",e.TYPE_VALUE],["CSSPropertyRule",e.TYPE_VALUE],["CSSRotate",e.TYPE_VALUE],["CSSRule",e.TYPE_VALUE],["CSSRuleList",e.TYPE_VALUE],["CSSScale",e.TYPE_VALUE],["CSSScopeRule",e.TYPE_VALUE],["CSSSkew",e.TYPE_VALUE],["CSSSkewX",e.TYPE_VALUE],["CSSSkewY",e.TYPE_VALUE],["CSSStartingStyleRule",e.TYPE_VALUE],["CSSStyleDeclarationBase",e.TYPE],["CSSStyleDeclaration",e.TYPE_VALUE],["CSSStyleProperties",e.TYPE_VALUE],["CSSStyleRule",e.TYPE_VALUE],["CSSStyleSheet",e.TYPE_VALUE],["CSSStyleValue",e.TYPE_VALUE],["CSSSupportsRule",e.TYPE_VALUE],["CSSTransformComponent",e.TYPE_VALUE],["CSSTransformValue",e.TYPE_VALUE],["CSSTransition",e.TYPE_VALUE],["CSSTranslate",e.TYPE_VALUE],["CSSUnitValue",e.TYPE_VALUE],["CSSUnparsedValue",e.TYPE_VALUE],["CSSVariableReferenceValue",e.TYPE_VALUE],["CSSViewTransitionRule",e.TYPE_VALUE],["Cache",e.TYPE_VALUE],["CacheStorage",e.TYPE_VALUE],["CanvasCaptureMediaStreamTrack",e.TYPE_VALUE],["CanvasCompositing",e.TYPE],["CanvasDrawImage",e.TYPE],["CanvasDrawPath",e.TYPE],["CanvasFillStrokeStyles",e.TYPE],["CanvasFilters",e.TYPE],["CanvasGradient",e.TYPE_VALUE],["CanvasImageData",e.TYPE],["CanvasImageSmoothing",e.TYPE],["CanvasPath",e.TYPE],["CanvasPathDrawingStyles",e.TYPE],["CanvasPattern",e.TYPE_VALUE],["CanvasRect",e.TYPE],["CanvasRenderingContext2D",e.TYPE_VALUE],["CanvasSettings",e.TYPE],["CanvasShadowStyles",e.TYPE],["CanvasState",e.TYPE],["CanvasText",e.TYPE],["CanvasTextDrawingStyles",e.TYPE],["CanvasTransform",e.TYPE],["CanvasUserInterface",e.TYPE],["CaretPosition",e.TYPE_VALUE],["ChannelMergerNode",e.TYPE_VALUE],["ChannelSplitterNode",e.TYPE_VALUE],["CharacterData",e.TYPE_VALUE],["ChildNode",e.TYPE],["ClientRect",e.TYPE],["Clipboard",e.TYPE_VALUE],["ClipboardEvent",e.TYPE_VALUE],["ClipboardItem",e.TYPE_VALUE],["CloseEvent",e.TYPE_VALUE],["CommandEvent",e.TYPE_VALUE],["Comment",e.TYPE_VALUE],["CompositionEvent",e.TYPE_VALUE],["CompressionStream",e.TYPE_VALUE],["ConstantSourceNode",e.TYPE_VALUE],["ContentVisibilityAutoStateChangeEvent",e.TYPE_VALUE],["ConvolverNode",e.TYPE_VALUE],["CookieChangeEvent",e.TYPE_VALUE],["CookieStoreEventMap",e.TYPE],["CookieStore",e.TYPE_VALUE],["CookieStoreManager",e.TYPE_VALUE],["CountQueuingStrategy",e.TYPE_VALUE],["Credential",e.TYPE_VALUE],["CredentialsContainer",e.TYPE_VALUE],["Crypto",e.TYPE_VALUE],["CryptoKey",e.TYPE_VALUE],["CustomElementRegistry",e.TYPE_VALUE],["CustomEvent",e.TYPE_VALUE],["CustomStateSet",e.TYPE_VALUE],["DOMException",e.TYPE_VALUE],["DOMImplementation",e.TYPE_VALUE],["DOMMatrix",e.TYPE_VALUE],["SVGMatrix",e.TYPE_VALUE],["WebKitCSSMatrix",e.TYPE_VALUE],["DOMMatrixReadOnly",e.TYPE_VALUE],["DOMParser",e.TYPE_VALUE],["DOMPoint",e.TYPE_VALUE],["SVGPoint",e.TYPE_VALUE],["DOMPointReadOnly",e.TYPE_VALUE],["DOMQuad",e.TYPE_VALUE],["DOMRect",e.TYPE_VALUE],["SVGRect",e.TYPE_VALUE],["DOMRectList",e.TYPE_VALUE],["DOMRectReadOnly",e.TYPE_VALUE],["DOMStringList",e.TYPE_VALUE],["DOMStringMap",e.TYPE_VALUE],["DOMTokenList",e.TYPE_VALUE],["DataTransfer",e.TYPE_VALUE],["DataTransferItem",e.TYPE_VALUE],["DataTransferItemList",e.TYPE_VALUE],["DecompressionStream",e.TYPE_VALUE],["DelayNode",e.TYPE_VALUE],["DeviceMotionEvent",e.TYPE_VALUE],["DeviceMotionEventAcceleration",e.TYPE],["DeviceMotionEventRotationRate",e.TYPE],["DeviceOrientationEvent",e.TYPE_VALUE],["DigitalCredential",e.TYPE_VALUE],["DocumentEventMap",e.TYPE],["Document",e.TYPE_VALUE],["DocumentFragment",e.TYPE_VALUE],["DocumentOrShadowRoot",e.TYPE],["DocumentTimeline",e.TYPE_VALUE],["DocumentType",e.TYPE_VALUE],["DragEvent",e.TYPE_VALUE],["DynamicsCompressorNode",e.TYPE_VALUE],["EXT_blend_minmax",e.TYPE],["EXT_color_buffer_float",e.TYPE],["EXT_color_buffer_half_float",e.TYPE],["EXT_float_blend",e.TYPE],["EXT_frag_depth",e.TYPE],["EXT_sRGB",e.TYPE],["EXT_shader_texture_lod",e.TYPE],["EXT_texture_compression_bptc",e.TYPE],["EXT_texture_compression_rgtc",e.TYPE],["EXT_texture_filter_anisotropic",e.TYPE],["EXT_texture_norm16",e.TYPE],["ElementEventMap",e.TYPE],["Element",e.TYPE_VALUE],["ElementCSSInlineStyle",e.TYPE],["ElementContentEditable",e.TYPE],["ElementInternals",e.TYPE_VALUE],["EncodedAudioChunk",e.TYPE_VALUE],["EncodedVideoChunk",e.TYPE_VALUE],["ErrorEvent",e.TYPE_VALUE],["Event",e.TYPE_VALUE],["EventCounts",e.TYPE_VALUE],["EventListener",e.TYPE],["EventListenerObject",e.TYPE],["EventSourceEventMap",e.TYPE],["EventSource",e.TYPE_VALUE],["EventTarget",e.TYPE_VALUE],["External",e.TYPE_VALUE],["File",e.TYPE_VALUE],["FileList",e.TYPE_VALUE],["FileReaderEventMap",e.TYPE],["FileReader",e.TYPE_VALUE],["FileSystem",e.TYPE_VALUE],["FileSystemDirectoryEntry",e.TYPE_VALUE],["FileSystemDirectoryHandle",e.TYPE_VALUE],["FileSystemDirectoryReader",e.TYPE_VALUE],["FileSystemEntry",e.TYPE_VALUE],["FileSystemFileEntry",e.TYPE_VALUE],["FileSystemFileHandle",e.TYPE_VALUE],["FileSystemHandle",e.TYPE_VALUE],["FileSystemWritableFileStream",e.TYPE_VALUE],["FocusEvent",e.TYPE_VALUE],["FontFace",e.TYPE_VALUE],["FontFaceSetEventMap",e.TYPE],["FontFaceSet",e.TYPE_VALUE],["FontFaceSetLoadEvent",e.TYPE_VALUE],["FontFaceSource",e.TYPE],["FormData",e.TYPE_VALUE],["FormDataEvent",e.TYPE_VALUE],["FragmentDirective",e.TYPE_VALUE],["GPU",e.TYPE_VALUE],["GPUAdapter",e.TYPE_VALUE],["GPUAdapterInfo",e.TYPE_VALUE],["GPUBindGroup",e.TYPE_VALUE],["GPUBindGroupLayout",e.TYPE_VALUE],["GPUBindingCommandsMixin",e.TYPE],["GPUBuffer",e.TYPE_VALUE],["GPUCanvasContext",e.TYPE_VALUE],["GPUCommandBuffer",e.TYPE_VALUE],["GPUCommandEncoder",e.TYPE_VALUE],["GPUCompilationInfo",e.TYPE_VALUE],["GPUCompilationMessage",e.TYPE_VALUE],["GPUComputePassEncoder",e.TYPE_VALUE],["GPUComputePipeline",e.TYPE_VALUE],["GPUDebugCommandsMixin",e.TYPE],["GPUDeviceEventMap",e.TYPE],["GPUDevice",e.TYPE_VALUE],["GPUDeviceLostInfo",e.TYPE_VALUE],["GPUError",e.TYPE_VALUE],["GPUExternalTexture",e.TYPE_VALUE],["GPUInternalError",e.TYPE_VALUE],["GPUObjectBase",e.TYPE],["GPUOutOfMemoryError",e.TYPE_VALUE],["GPUPipelineBase",e.TYPE],["GPUPipelineError",e.TYPE_VALUE],["GPUPipelineLayout",e.TYPE_VALUE],["GPUQuerySet",e.TYPE_VALUE],["GPUQueue",e.TYPE_VALUE],["GPURenderBundle",e.TYPE_VALUE],["GPURenderBundleEncoder",e.TYPE_VALUE],["GPURenderCommandsMixin",e.TYPE],["GPURenderPassEncoder",e.TYPE_VALUE],["GPURenderPipeline",e.TYPE_VALUE],["GPUSampler",e.TYPE_VALUE],["GPUShaderModule",e.TYPE_VALUE],["GPUSupportedFeatures",e.TYPE_VALUE],["GPUSupportedLimits",e.TYPE_VALUE],["GPUTexture",e.TYPE_VALUE],["GPUTextureView",e.TYPE_VALUE],["GPUUncapturedErrorEvent",e.TYPE_VALUE],["GPUValidationError",e.TYPE_VALUE],["GainNode",e.TYPE_VALUE],["Gamepad",e.TYPE_VALUE],["GamepadButton",e.TYPE_VALUE],["GamepadEvent",e.TYPE_VALUE],["GamepadHapticActuator",e.TYPE_VALUE],["GenericTransformStream",e.TYPE],["Geolocation",e.TYPE_VALUE],["GeolocationCoordinates",e.TYPE_VALUE],["GeolocationPosition",e.TYPE_VALUE],["GeolocationPositionError",e.TYPE_VALUE],["GlobalEventHandlersEventMap",e.TYPE],["GlobalEventHandlers",e.TYPE],["HTMLAllCollection",e.TYPE_VALUE],["HTMLAnchorElement",e.TYPE_VALUE],["HTMLAreaElement",e.TYPE_VALUE],["HTMLAudioElement",e.TYPE_VALUE],["HTMLBRElement",e.TYPE_VALUE],["HTMLBaseElement",e.TYPE_VALUE],["HTMLBodyElementEventMap",e.TYPE],["HTMLBodyElement",e.TYPE_VALUE],["HTMLButtonElement",e.TYPE_VALUE],["HTMLCanvasElement",e.TYPE_VALUE],["HTMLCollectionBase",e.TYPE],["HTMLCollection",e.TYPE_VALUE],["HTMLCollectionOf",e.TYPE],["HTMLDListElement",e.TYPE_VALUE],["HTMLDataElement",e.TYPE_VALUE],["HTMLDataListElement",e.TYPE_VALUE],["HTMLDetailsElement",e.TYPE_VALUE],["HTMLDialogElement",e.TYPE_VALUE],["HTMLDirectoryElement",e.TYPE_VALUE],["HTMLDivElement",e.TYPE_VALUE],["HTMLDocument",e.TYPE_VALUE],["HTMLElementEventMap",e.TYPE],["HTMLElement",e.TYPE_VALUE],["HTMLEmbedElement",e.TYPE_VALUE],["HTMLFieldSetElement",e.TYPE_VALUE],["HTMLFontElement",e.TYPE_VALUE],["HTMLFormControlsCollection",e.TYPE_VALUE],["HTMLFormElement",e.TYPE_VALUE],["HTMLFrameElement",e.TYPE_VALUE],["HTMLFrameSetElementEventMap",e.TYPE],["HTMLFrameSetElement",e.TYPE_VALUE],["HTMLHRElement",e.TYPE_VALUE],["HTMLHeadElement",e.TYPE_VALUE],["HTMLHeadingElement",e.TYPE_VALUE],["HTMLHtmlElement",e.TYPE_VALUE],["HTMLHyperlinkElementUtils",e.TYPE],["HTMLIFrameElement",e.TYPE_VALUE],["HTMLImageElement",e.TYPE_VALUE],["HTMLInputElement",e.TYPE_VALUE],["HTMLLIElement",e.TYPE_VALUE],["HTMLLabelElement",e.TYPE_VALUE],["HTMLLegendElement",e.TYPE_VALUE],["HTMLLinkElement",e.TYPE_VALUE],["HTMLMapElement",e.TYPE_VALUE],["HTMLMarqueeElement",e.TYPE_VALUE],["HTMLMediaElementEventMap",e.TYPE],["HTMLMediaElement",e.TYPE_VALUE],["HTMLMenuElement",e.TYPE_VALUE],["HTMLMetaElement",e.TYPE_VALUE],["HTMLMeterElement",e.TYPE_VALUE],["HTMLModElement",e.TYPE_VALUE],["HTMLOListElement",e.TYPE_VALUE],["HTMLObjectElement",e.TYPE_VALUE],["HTMLOptGroupElement",e.TYPE_VALUE],["HTMLOptionElement",e.TYPE_VALUE],["HTMLOptionsCollection",e.TYPE_VALUE],["HTMLOrSVGElement",e.TYPE],["HTMLOutputElement",e.TYPE_VALUE],["HTMLParagraphElement",e.TYPE_VALUE],["HTMLParamElement",e.TYPE_VALUE],["HTMLPictureElement",e.TYPE_VALUE],["HTMLPreElement",e.TYPE_VALUE],["HTMLProgressElement",e.TYPE_VALUE],["HTMLQuoteElement",e.TYPE_VALUE],["HTMLScriptElement",e.TYPE_VALUE],["HTMLSelectElement",e.TYPE_VALUE],["HTMLSlotElement",e.TYPE_VALUE],["HTMLSourceElement",e.TYPE_VALUE],["HTMLSpanElement",e.TYPE_VALUE],["HTMLStyleElement",e.TYPE_VALUE],["HTMLTableCaptionElement",e.TYPE_VALUE],["HTMLTableCellElement",e.TYPE_VALUE],["HTMLTableColElement",e.TYPE_VALUE],["HTMLTableDataCellElement",e.TYPE],["HTMLTableElement",e.TYPE_VALUE],["HTMLTableHeaderCellElement",e.TYPE],["HTMLTableRowElement",e.TYPE_VALUE],["HTMLTableSectionElement",e.TYPE_VALUE],["HTMLTemplateElement",e.TYPE_VALUE],["HTMLTextAreaElement",e.TYPE_VALUE],["HTMLTimeElement",e.TYPE_VALUE],["HTMLTitleElement",e.TYPE_VALUE],["HTMLTrackElement",e.TYPE_VALUE],["HTMLUListElement",e.TYPE_VALUE],["HTMLUnknownElement",e.TYPE_VALUE],["HTMLVideoElementEventMap",e.TYPE],["HTMLVideoElement",e.TYPE_VALUE],["HashChangeEvent",e.TYPE_VALUE],["Headers",e.TYPE_VALUE],["Highlight",e.TYPE_VALUE],["HighlightRegistry",e.TYPE_VALUE],["History",e.TYPE_VALUE],["IDBCursor",e.TYPE_VALUE],["IDBCursorWithValue",e.TYPE_VALUE],["IDBDatabaseEventMap",e.TYPE],["IDBDatabase",e.TYPE_VALUE],["IDBFactory",e.TYPE_VALUE],["IDBIndex",e.TYPE_VALUE],["IDBKeyRange",e.TYPE_VALUE],["IDBObjectStore",e.TYPE_VALUE],["IDBOpenDBRequestEventMap",e.TYPE],["IDBOpenDBRequest",e.TYPE_VALUE],["IDBRequestEventMap",e.TYPE],["IDBRequest",e.TYPE_VALUE],["IDBTransactionEventMap",e.TYPE],["IDBTransaction",e.TYPE_VALUE],["IDBVersionChangeEvent",e.TYPE_VALUE],["IIRFilterNode",e.TYPE_VALUE],["IdleDeadline",e.TYPE_VALUE],["ImageBitmap",e.TYPE_VALUE],["ImageBitmapRenderingContext",e.TYPE_VALUE],["ImageCapture",e.TYPE_VALUE],["ImageData",e.TYPE_VALUE],["ImageDecoder",e.TYPE_VALUE],["ImageTrack",e.TYPE_VALUE],["ImageTrackList",e.TYPE_VALUE],["ImportMeta",e.TYPE],["InputDeviceInfo",e.TYPE_VALUE],["InputEvent",e.TYPE_VALUE],["IntersectionObserver",e.TYPE_VALUE],["IntersectionObserverEntry",e.TYPE_VALUE],["KHR_parallel_shader_compile",e.TYPE],["KeyboardEvent",e.TYPE_VALUE],["KeyframeEffect",e.TYPE_VALUE],["LargestContentfulPaint",e.TYPE_VALUE],["LinkStyle",e.TYPE],["Location",e.TYPE_VALUE],["Lock",e.TYPE_VALUE],["LockManager",e.TYPE_VALUE],["MIDIAccessEventMap",e.TYPE],["MIDIAccess",e.TYPE_VALUE],["MIDIConnectionEvent",e.TYPE_VALUE],["MIDIInputEventMap",e.TYPE],["MIDIInput",e.TYPE_VALUE],["MIDIInputMap",e.TYPE_VALUE],["MIDIMessageEvent",e.TYPE_VALUE],["MIDIOutput",e.TYPE_VALUE],["MIDIOutputMap",e.TYPE_VALUE],["MIDIPortEventMap",e.TYPE],["MIDIPort",e.TYPE_VALUE],["MathMLElementEventMap",e.TYPE],["MathMLElement",e.TYPE_VALUE],["MediaCapabilities",e.TYPE_VALUE],["MediaDeviceInfo",e.TYPE_VALUE],["MediaDevicesEventMap",e.TYPE],["MediaDevices",e.TYPE_VALUE],["MediaElementAudioSourceNode",e.TYPE_VALUE],["MediaEncryptedEvent",e.TYPE_VALUE],["MediaError",e.TYPE_VALUE],["MediaKeyMessageEvent",e.TYPE_VALUE],["MediaKeySessionEventMap",e.TYPE],["MediaKeySession",e.TYPE_VALUE],["MediaKeyStatusMap",e.TYPE_VALUE],["MediaKeySystemAccess",e.TYPE_VALUE],["MediaKeys",e.TYPE_VALUE],["MediaList",e.TYPE_VALUE],["MediaMetadata",e.TYPE_VALUE],["MediaQueryListEventMap",e.TYPE],["MediaQueryList",e.TYPE_VALUE],["MediaQueryListEvent",e.TYPE_VALUE],["MediaRecorderEventMap",e.TYPE],["MediaRecorder",e.TYPE_VALUE],["MediaSession",e.TYPE_VALUE],["MediaSourceEventMap",e.TYPE],["MediaSource",e.TYPE_VALUE],["MediaSourceHandle",e.TYPE_VALUE],["MediaStreamEventMap",e.TYPE],["MediaStream",e.TYPE_VALUE],["MediaStreamAudioDestinationNode",e.TYPE_VALUE],["MediaStreamAudioSourceNode",e.TYPE_VALUE],["MediaStreamTrackEventMap",e.TYPE],["MediaStreamTrack",e.TYPE_VALUE],["MediaStreamTrackEvent",e.TYPE_VALUE],["MessageChannel",e.TYPE_VALUE],["MessageEvent",e.TYPE_VALUE],["MessageEventTargetEventMap",e.TYPE],["MessageEventTarget",e.TYPE],["MessagePortEventMap",e.TYPE],["MessagePort",e.TYPE_VALUE],["MimeType",e.TYPE_VALUE],["MimeTypeArray",e.TYPE_VALUE],["MouseEvent",e.TYPE_VALUE],["MutationObserver",e.TYPE_VALUE],["MutationRecord",e.TYPE_VALUE],["NamedNodeMap",e.TYPE_VALUE],["NavigateEvent",e.TYPE_VALUE],["NavigationEventMap",e.TYPE],["Navigation",e.TYPE_VALUE],["NavigationActivation",e.TYPE_VALUE],["NavigationCurrentEntryChangeEvent",e.TYPE_VALUE],["NavigationDestination",e.TYPE_VALUE],["NavigationHistoryEntryEventMap",e.TYPE],["NavigationHistoryEntry",e.TYPE_VALUE],["NavigationPrecommitController",e.TYPE_VALUE],["NavigationPreloadManager",e.TYPE_VALUE],["NavigationTransition",e.TYPE_VALUE],["Navigator",e.TYPE_VALUE],["NavigatorAutomationInformation",e.TYPE],["NavigatorBadge",e.TYPE],["NavigatorConcurrentHardware",e.TYPE],["NavigatorContentUtils",e.TYPE],["NavigatorCookies",e.TYPE],["NavigatorGPU",e.TYPE],["NavigatorID",e.TYPE],["NavigatorLanguage",e.TYPE],["NavigatorLocks",e.TYPE],["NavigatorLogin",e.TYPE_VALUE],["NavigatorOnLine",e.TYPE],["NavigatorPlugins",e.TYPE],["NavigatorStorage",e.TYPE],["Node",e.TYPE_VALUE],["NodeIterator",e.TYPE_VALUE],["NodeList",e.TYPE_VALUE],["NodeListOf",e.TYPE],["NonDocumentTypeChildNode",e.TYPE],["NonElementParentNode",e.TYPE],["NotificationEventMap",e.TYPE],["Notification",e.TYPE_VALUE],["OES_draw_buffers_indexed",e.TYPE],["OES_element_index_uint",e.TYPE],["OES_fbo_render_mipmap",e.TYPE],["OES_standard_derivatives",e.TYPE],["OES_texture_float",e.TYPE],["OES_texture_float_linear",e.TYPE],["OES_texture_half_float",e.TYPE],["OES_texture_half_float_linear",e.TYPE],["OES_vertex_array_object",e.TYPE],["OVR_multiview2",e.TYPE],["OfflineAudioCompletionEvent",e.TYPE_VALUE],["OfflineAudioContextEventMap",e.TYPE],["OfflineAudioContext",e.TYPE_VALUE],["OffscreenCanvasEventMap",e.TYPE],["OffscreenCanvas",e.TYPE_VALUE],["OffscreenCanvasRenderingContext2D",e.TYPE_VALUE],["OscillatorNode",e.TYPE_VALUE],["OverconstrainedError",e.TYPE_VALUE],["PageRevealEvent",e.TYPE_VALUE],["PageSwapEvent",e.TYPE_VALUE],["PageTransitionEvent",e.TYPE_VALUE],["PaintTimingMixin",e.TYPE],["PannerNode",e.TYPE_VALUE],["ParentNode",e.TYPE],["Path2D",e.TYPE_VALUE],["PaymentAddress",e.TYPE_VALUE],["PaymentMethodChangeEvent",e.TYPE_VALUE],["PaymentRequestEventMap",e.TYPE],["PaymentRequest",e.TYPE_VALUE],["PaymentRequestUpdateEvent",e.TYPE_VALUE],["PaymentResponseEventMap",e.TYPE],["PaymentResponse",e.TYPE_VALUE],["PerformanceEventMap",e.TYPE],["Performance",e.TYPE_VALUE],["PerformanceEntry",e.TYPE_VALUE],["PerformanceEventTiming",e.TYPE_VALUE],["PerformanceMark",e.TYPE_VALUE],["PerformanceMeasure",e.TYPE_VALUE],["PerformanceNavigation",e.TYPE_VALUE],["PerformanceNavigationTiming",e.TYPE_VALUE],["PerformanceObserver",e.TYPE_VALUE],["PerformanceObserverEntryList",e.TYPE_VALUE],["PerformancePaintTiming",e.TYPE_VALUE],["PerformanceResourceTiming",e.TYPE_VALUE],["PerformanceServerTiming",e.TYPE_VALUE],["PerformanceTiming",e.TYPE_VALUE],["PeriodicWave",e.TYPE_VALUE],["PermissionStatusEventMap",e.TYPE],["PermissionStatus",e.TYPE_VALUE],["Permissions",e.TYPE_VALUE],["PictureInPictureEvent",e.TYPE_VALUE],["PictureInPictureWindowEventMap",e.TYPE],["PictureInPictureWindow",e.TYPE_VALUE],["Plugin",e.TYPE_VALUE],["PluginArray",e.TYPE_VALUE],["PointerEvent",e.TYPE_VALUE],["PopStateEvent",e.TYPE_VALUE],["PopoverTargetAttributes",e.TYPE],["ProcessingInstruction",e.TYPE_VALUE],["ProgressEvent",e.TYPE_VALUE],["PromiseRejectionEvent",e.TYPE_VALUE],["PublicKeyCredential",e.TYPE_VALUE],["PushManager",e.TYPE_VALUE],["PushManagerAttribute",e.TYPE],["PushSubscription",e.TYPE_VALUE],["PushSubscriptionOptions",e.TYPE_VALUE],["RTCCertificate",e.TYPE_VALUE],["RTCDTMFSenderEventMap",e.TYPE],["RTCDTMFSender",e.TYPE_VALUE],["RTCDTMFToneChangeEvent",e.TYPE_VALUE],["RTCDataChannelEventMap",e.TYPE],["RTCDataChannel",e.TYPE_VALUE],["RTCDataChannelEvent",e.TYPE_VALUE],["RTCDtlsTransportEventMap",e.TYPE],["RTCDtlsTransport",e.TYPE_VALUE],["RTCEncodedAudioFrame",e.TYPE_VALUE],["RTCEncodedVideoFrame",e.TYPE_VALUE],["RTCError",e.TYPE_VALUE],["RTCErrorEvent",e.TYPE_VALUE],["RTCIceCandidate",e.TYPE_VALUE],["RTCIceCandidatePair",e.TYPE],["RTCIceTransportEventMap",e.TYPE],["RTCIceTransport",e.TYPE_VALUE],["RTCPeerConnectionEventMap",e.TYPE],["RTCPeerConnection",e.TYPE_VALUE],["RTCPeerConnectionIceErrorEvent",e.TYPE_VALUE],["RTCPeerConnectionIceEvent",e.TYPE_VALUE],["RTCRtpReceiver",e.TYPE_VALUE],["RTCRtpScriptTransform",e.TYPE_VALUE],["RTCRtpSender",e.TYPE_VALUE],["RTCRtpTransceiver",e.TYPE_VALUE],["RTCSctpTransportEventMap",e.TYPE],["RTCSctpTransport",e.TYPE_VALUE],["RTCSessionDescription",e.TYPE_VALUE],["RTCStatsReport",e.TYPE_VALUE],["RTCTrackEvent",e.TYPE_VALUE],["RadioNodeList",e.TYPE_VALUE],["Range",e.TYPE_VALUE],["ReadableByteStreamController",e.TYPE_VALUE],["ReadableStream",e.TYPE_VALUE],["ReadableStreamBYOBReader",e.TYPE_VALUE],["ReadableStreamBYOBRequest",e.TYPE_VALUE],["ReadableStreamDefaultController",e.TYPE_VALUE],["ReadableStreamDefaultReader",e.TYPE_VALUE],["ReadableStreamGenericReader",e.TYPE],["RemotePlaybackEventMap",e.TYPE],["RemotePlayback",e.TYPE_VALUE],["ReportingObserver",e.TYPE_VALUE],["Request",e.TYPE_VALUE],["ResizeObserver",e.TYPE_VALUE],["ResizeObserverEntry",e.TYPE_VALUE],["ResizeObserverSize",e.TYPE_VALUE],["Response",e.TYPE_VALUE],["SVGAElement",e.TYPE_VALUE],["SVGAngle",e.TYPE_VALUE],["SVGAnimateElement",e.TYPE_VALUE],["SVGAnimateMotionElement",e.TYPE_VALUE],["SVGAnimateTransformElement",e.TYPE_VALUE],["SVGAnimatedAngle",e.TYPE_VALUE],["SVGAnimatedBoolean",e.TYPE_VALUE],["SVGAnimatedEnumeration",e.TYPE_VALUE],["SVGAnimatedInteger",e.TYPE_VALUE],["SVGAnimatedLength",e.TYPE_VALUE],["SVGAnimatedLengthList",e.TYPE_VALUE],["SVGAnimatedNumber",e.TYPE_VALUE],["SVGAnimatedNumberList",e.TYPE_VALUE],["SVGAnimatedPoints",e.TYPE],["SVGAnimatedPreserveAspectRatio",e.TYPE_VALUE],["SVGAnimatedRect",e.TYPE_VALUE],["SVGAnimatedString",e.TYPE_VALUE],["SVGAnimatedTransformList",e.TYPE_VALUE],["SVGAnimationElement",e.TYPE_VALUE],["SVGCircleElement",e.TYPE_VALUE],["SVGClipPathElement",e.TYPE_VALUE],["SVGComponentTransferFunctionElement",e.TYPE_VALUE],["SVGDefsElement",e.TYPE_VALUE],["SVGDescElement",e.TYPE_VALUE],["SVGElementEventMap",e.TYPE],["SVGElement",e.TYPE_VALUE],["SVGEllipseElement",e.TYPE_VALUE],["SVGFEBlendElement",e.TYPE_VALUE],["SVGFEColorMatrixElement",e.TYPE_VALUE],["SVGFEComponentTransferElement",e.TYPE_VALUE],["SVGFECompositeElement",e.TYPE_VALUE],["SVGFEConvolveMatrixElement",e.TYPE_VALUE],["SVGFEDiffuseLightingElement",e.TYPE_VALUE],["SVGFEDisplacementMapElement",e.TYPE_VALUE],["SVGFEDistantLightElement",e.TYPE_VALUE],["SVGFEDropShadowElement",e.TYPE_VALUE],["SVGFEFloodElement",e.TYPE_VALUE],["SVGFEFuncAElement",e.TYPE_VALUE],["SVGFEFuncBElement",e.TYPE_VALUE],["SVGFEFuncGElement",e.TYPE_VALUE],["SVGFEFuncRElement",e.TYPE_VALUE],["SVGFEGaussianBlurElement",e.TYPE_VALUE],["SVGFEImageElement",e.TYPE_VALUE],["SVGFEMergeElement",e.TYPE_VALUE],["SVGFEMergeNodeElement",e.TYPE_VALUE],["SVGFEMorphologyElement",e.TYPE_VALUE],["SVGFEOffsetElement",e.TYPE_VALUE],["SVGFEPointLightElement",e.TYPE_VALUE],["SVGFESpecularLightingElement",e.TYPE_VALUE],["SVGFESpotLightElement",e.TYPE_VALUE],["SVGFETileElement",e.TYPE_VALUE],["SVGFETurbulenceElement",e.TYPE_VALUE],["SVGFilterElement",e.TYPE_VALUE],["SVGFilterPrimitiveStandardAttributes",e.TYPE],["SVGFitToViewBox",e.TYPE],["SVGForeignObjectElement",e.TYPE_VALUE],["SVGGElement",e.TYPE_VALUE],["SVGGeometryElement",e.TYPE_VALUE],["SVGGradientElement",e.TYPE_VALUE],["SVGGraphicsElement",e.TYPE_VALUE],["SVGImageElement",e.TYPE_VALUE],["SVGLength",e.TYPE_VALUE],["SVGLengthList",e.TYPE_VALUE],["SVGLineElement",e.TYPE_VALUE],["SVGLinearGradientElement",e.TYPE_VALUE],["SVGMPathElement",e.TYPE_VALUE],["SVGMarkerElement",e.TYPE_VALUE],["SVGMaskElement",e.TYPE_VALUE],["SVGMetadataElement",e.TYPE_VALUE],["SVGNumber",e.TYPE_VALUE],["SVGNumberList",e.TYPE_VALUE],["SVGPathElement",e.TYPE_VALUE],["SVGPatternElement",e.TYPE_VALUE],["SVGPointList",e.TYPE_VALUE],["SVGPolygonElement",e.TYPE_VALUE],["SVGPolylineElement",e.TYPE_VALUE],["SVGPreserveAspectRatio",e.TYPE_VALUE],["SVGRadialGradientElement",e.TYPE_VALUE],["SVGRectElement",e.TYPE_VALUE],["SVGSVGElementEventMap",e.TYPE],["SVGSVGElement",e.TYPE_VALUE],["SVGScriptElement",e.TYPE_VALUE],["SVGSetElement",e.TYPE_VALUE],["SVGStopElement",e.TYPE_VALUE],["SVGStringList",e.TYPE_VALUE],["SVGStyleElement",e.TYPE_VALUE],["SVGSwitchElement",e.TYPE_VALUE],["SVGSymbolElement",e.TYPE_VALUE],["SVGTSpanElement",e.TYPE_VALUE],["SVGTests",e.TYPE],["SVGTextContentElement",e.TYPE_VALUE],["SVGTextElement",e.TYPE_VALUE],["SVGTextPathElement",e.TYPE_VALUE],["SVGTextPositioningElement",e.TYPE_VALUE],["SVGTitleElement",e.TYPE_VALUE],["SVGTransform",e.TYPE_VALUE],["SVGTransformList",e.TYPE_VALUE],["SVGURIReference",e.TYPE],["SVGUnitTypes",e.TYPE_VALUE],["SVGUseElement",e.TYPE_VALUE],["SVGViewElement",e.TYPE_VALUE],["Sanitizer",e.TYPE_VALUE],["Scheduler",e.TYPE_VALUE],["Screen",e.TYPE_VALUE],["ScreenOrientationEventMap",e.TYPE],["ScreenOrientation",e.TYPE_VALUE],["ScriptProcessorNodeEventMap",e.TYPE],["ScriptProcessorNode",e.TYPE_VALUE],["ScrollTimeline",e.TYPE_VALUE],["SecurityPolicyViolationEvent",e.TYPE_VALUE],["Selection",e.TYPE_VALUE],["ServiceWorkerEventMap",e.TYPE],["ServiceWorker",e.TYPE_VALUE],["ServiceWorkerContainerEventMap",e.TYPE],["ServiceWorkerContainer",e.TYPE_VALUE],["ServiceWorkerRegistrationEventMap",e.TYPE],["ServiceWorkerRegistration",e.TYPE_VALUE],["ShadowRootEventMap",e.TYPE],["ShadowRoot",e.TYPE_VALUE],["SharedWorker",e.TYPE_VALUE],["Slottable",e.TYPE],["SourceBufferEventMap",e.TYPE],["SourceBuffer",e.TYPE_VALUE],["SourceBufferListEventMap",e.TYPE],["SourceBufferList",e.TYPE_VALUE],["SpeechRecognitionAlternative",e.TYPE_VALUE],["SpeechRecognitionErrorEvent",e.TYPE_VALUE],["SpeechRecognitionEvent",e.TYPE_VALUE],["SpeechRecognitionResult",e.TYPE_VALUE],["SpeechRecognitionResultList",e.TYPE_VALUE],["SpeechSynthesisEventMap",e.TYPE],["SpeechSynthesis",e.TYPE_VALUE],["SpeechSynthesisErrorEvent",e.TYPE_VALUE],["SpeechSynthesisEvent",e.TYPE_VALUE],["SpeechSynthesisUtteranceEventMap",e.TYPE],["SpeechSynthesisUtterance",e.TYPE_VALUE],["SpeechSynthesisVoice",e.TYPE_VALUE],["StaticRange",e.TYPE_VALUE],["StereoPannerNode",e.TYPE_VALUE],["Storage",e.TYPE_VALUE],["StorageEvent",e.TYPE_VALUE],["StorageManager",e.TYPE_VALUE],["StylePropertyMap",e.TYPE_VALUE],["StylePropertyMapReadOnly",e.TYPE_VALUE],["StyleSheet",e.TYPE_VALUE],["StyleSheetList",e.TYPE_VALUE],["SubmitEvent",e.TYPE_VALUE],["SubtleCrypto",e.TYPE_VALUE],["TaskController",e.TYPE_VALUE],["TaskPriorityChangeEvent",e.TYPE_VALUE],["TaskSignalEventMap",e.TYPE],["TaskSignal",e.TYPE_VALUE],["Text",e.TYPE_VALUE],["TextDecoder",e.TYPE_VALUE],["TextDecoderCommon",e.TYPE],["TextDecoderStream",e.TYPE_VALUE],["TextEncoder",e.TYPE_VALUE],["TextEncoderCommon",e.TYPE],["TextEncoderStream",e.TYPE_VALUE],["TextEvent",e.TYPE_VALUE],["TextMetrics",e.TYPE_VALUE],["TextTrackEventMap",e.TYPE],["TextTrack",e.TYPE_VALUE],["TextTrackCueEventMap",e.TYPE],["TextTrackCue",e.TYPE_VALUE],["TextTrackCueList",e.TYPE_VALUE],["TextTrackListEventMap",e.TYPE],["TextTrackList",e.TYPE_VALUE],["TimeRanges",e.TYPE_VALUE],["ToggleEvent",e.TYPE_VALUE],["Touch",e.TYPE_VALUE],["TouchEvent",e.TYPE_VALUE],["TouchList",e.TYPE_VALUE],["TrackEvent",e.TYPE_VALUE],["TransformStream",e.TYPE_VALUE],["TransformStreamDefaultController",e.TYPE_VALUE],["TransitionEvent",e.TYPE_VALUE],["TreeWalker",e.TYPE_VALUE],["UIEvent",e.TYPE_VALUE],["URL",e.TYPE_VALUE],["webkitURL",e.TYPE_VALUE],["URLPattern",e.TYPE_VALUE],["URLSearchParams",e.TYPE_VALUE],["UserActivation",e.TYPE_VALUE],["VTTCue",e.TYPE_VALUE],["VTTRegion",e.TYPE_VALUE],["ValidityState",e.TYPE_VALUE],["VideoColorSpace",e.TYPE_VALUE],["VideoDecoderEventMap",e.TYPE],["VideoDecoder",e.TYPE_VALUE],["VideoEncoderEventMap",e.TYPE],["VideoEncoder",e.TYPE_VALUE],["VideoFrame",e.TYPE_VALUE],["VideoPlaybackQuality",e.TYPE_VALUE],["ViewTimeline",e.TYPE_VALUE],["ViewTransition",e.TYPE_VALUE],["ViewTransitionTypeSet",e.TYPE_VALUE],["VisualViewportEventMap",e.TYPE],["VisualViewport",e.TYPE_VALUE],["WEBGL_color_buffer_float",e.TYPE],["WEBGL_compressed_texture_astc",e.TYPE],["WEBGL_compressed_texture_etc",e.TYPE],["WEBGL_compressed_texture_etc1",e.TYPE],["WEBGL_compressed_texture_pvrtc",e.TYPE],["WEBGL_compressed_texture_s3tc",e.TYPE],["WEBGL_compressed_texture_s3tc_srgb",e.TYPE],["WEBGL_debug_renderer_info",e.TYPE],["WEBGL_debug_shaders",e.TYPE],["WEBGL_depth_texture",e.TYPE],["WEBGL_draw_buffers",e.TYPE],["WEBGL_lose_context",e.TYPE],["WEBGL_multi_draw",e.TYPE],["WGSLLanguageFeatures",e.TYPE_VALUE],["WakeLock",e.TYPE_VALUE],["WakeLockSentinelEventMap",e.TYPE],["WakeLockSentinel",e.TYPE_VALUE],["WaveShaperNode",e.TYPE_VALUE],["WebGL2RenderingContext",e.TYPE_VALUE],["WebGL2RenderingContextBase",e.TYPE],["WebGL2RenderingContextOverloads",e.TYPE],["WebGLActiveInfo",e.TYPE_VALUE],["WebGLBuffer",e.TYPE_VALUE],["WebGLContextEvent",e.TYPE_VALUE],["WebGLFramebuffer",e.TYPE_VALUE],["WebGLProgram",e.TYPE_VALUE],["WebGLQuery",e.TYPE_VALUE],["WebGLRenderbuffer",e.TYPE_VALUE],["WebGLRenderingContext",e.TYPE_VALUE],["WebGLRenderingContextBase",e.TYPE],["WebGLRenderingContextOverloads",e.TYPE],["WebGLSampler",e.TYPE_VALUE],["WebGLShader",e.TYPE_VALUE],["WebGLShaderPrecisionFormat",e.TYPE_VALUE],["WebGLSync",e.TYPE_VALUE],["WebGLTexture",e.TYPE_VALUE],["WebGLTransformFeedback",e.TYPE_VALUE],["WebGLUniformLocation",e.TYPE_VALUE],["WebGLVertexArrayObject",e.TYPE_VALUE],["WebGLVertexArrayObjectOES",e.TYPE],["WebSocketEventMap",e.TYPE],["WebSocket",e.TYPE_VALUE],["WebTransport",e.TYPE_VALUE],["WebTransportBidirectionalStream",e.TYPE_VALUE],["WebTransportDatagramDuplexStream",e.TYPE_VALUE],["WebTransportError",e.TYPE_VALUE],["WheelEvent",e.TYPE_VALUE],["WindowEventMap",e.TYPE],["Window",e.TYPE_VALUE],["WindowEventHandlersEventMap",e.TYPE],["WindowEventHandlers",e.TYPE],["WindowLocalStorage",e.TYPE],["WindowOrWorkerGlobalScope",e.TYPE],["WindowSessionStorage",e.TYPE],["WorkerEventMap",e.TYPE],["Worker",e.TYPE_VALUE],["Worklet",e.TYPE_VALUE],["WritableStream",e.TYPE_VALUE],["WritableStreamDefaultController",e.TYPE_VALUE],["WritableStreamDefaultWriter",e.TYPE_VALUE],["XMLDocument",e.TYPE_VALUE],["XMLHttpRequestEventMap",e.TYPE],["XMLHttpRequest",e.TYPE_VALUE],["XMLHttpRequestEventTargetEventMap",e.TYPE],["XMLHttpRequestEventTarget",e.TYPE_VALUE],["XMLHttpRequestUpload",e.TYPE_VALUE],["XMLSerializer",e.TYPE_VALUE],["XPathEvaluator",e.TYPE_VALUE],["XPathEvaluatorBase",e.TYPE],["XPathExpression",e.TYPE_VALUE],["XPathResult",e.TYPE_VALUE],["XSLTProcessor",e.TYPE_VALUE],["CSS",e.TYPE_VALUE],["WebAssembly",e.TYPE_VALUE],["Console",e.TYPE],["AudioDataOutputCallback",e.TYPE],["BlobCallback",e.TYPE],["CustomElementConstructor",e.TYPE],["DecodeErrorCallback",e.TYPE],["DecodeSuccessCallback",e.TYPE],["EncodedAudioChunkOutputCallback",e.TYPE],["EncodedVideoChunkOutputCallback",e.TYPE],["ErrorCallback",e.TYPE],["FileCallback",e.TYPE],["FileSystemEntriesCallback",e.TYPE],["FileSystemEntryCallback",e.TYPE],["FrameRequestCallback",e.TYPE],["FunctionStringCallback",e.TYPE],["IdleRequestCallback",e.TYPE],["IntersectionObserverCallback",e.TYPE],["LockGrantedCallback",e.TYPE],["MediaSessionActionHandler",e.TYPE],["MutationCallback",e.TYPE],["NavigationInterceptHandler",e.TYPE],["NavigationPrecommitHandler",e.TYPE],["NotificationPermissionCallback",e.TYPE],["OnBeforeUnloadEventHandlerNonNull",e.TYPE],["OnErrorEventHandlerNonNull",e.TYPE],["PerformanceObserverCallback",e.TYPE],["PositionCallback",e.TYPE],["PositionErrorCallback",e.TYPE],["QueuingStrategySize",e.TYPE],["RTCPeerConnectionErrorCallback",e.TYPE],["RTCSessionDescriptionCallback",e.TYPE],["RemotePlaybackAvailabilityCallback",e.TYPE],["ReportingObserverCallback",e.TYPE],["ResizeObserverCallback",e.TYPE],["SchedulerPostTaskCallback",e.TYPE],["TransformerFlushCallback",e.TYPE],["TransformerStartCallback",e.TYPE],["TransformerTransformCallback",e.TYPE],["UnderlyingSinkAbortCallback",e.TYPE],["UnderlyingSinkCloseCallback",e.TYPE],["UnderlyingSinkStartCallback",e.TYPE],["UnderlyingSinkWriteCallback",e.TYPE],["UnderlyingSourceCancelCallback",e.TYPE],["UnderlyingSourcePullCallback",e.TYPE],["UnderlyingSourceStartCallback",e.TYPE],["VideoFrameOutputCallback",e.TYPE],["VideoFrameRequestCallback",e.TYPE],["ViewTransitionUpdateCallback",e.TYPE],["VoidFunction",e.TYPE],["WebCodecsErrorCallback",e.TYPE],["HTMLElementTagNameMap",e.TYPE],["HTMLElementDeprecatedTagNameMap",e.TYPE],["SVGElementTagNameMap",e.TYPE],["MathMLElementTagNameMap",e.TYPE],["ElementTagNameMap",e.TYPE],["AlgorithmIdentifier",e.TYPE],["AllowSharedBufferSource",e.TYPE],["AutoFill",e.TYPE],["AutoFillField",e.TYPE],["AutoFillSection",e.TYPE],["Base64URLString",e.TYPE],["BigInteger",e.TYPE],["BlobPart",e.TYPE],["BodyInit",e.TYPE],["BufferSource",e.TYPE],["COSEAlgorithmIdentifier",e.TYPE],["CSSKeywordish",e.TYPE],["CSSNumberish",e.TYPE],["CSSPerspectiveValue",e.TYPE],["CSSUnparsedSegment",e.TYPE],["CanvasImageSource",e.TYPE],["ClipboardItemData",e.TYPE],["ClipboardItems",e.TYPE],["ConstrainBoolean",e.TYPE],["ConstrainBooleanOrDOMString",e.TYPE],["ConstrainDOMString",e.TYPE],["ConstrainDouble",e.TYPE],["ConstrainULong",e.TYPE],["CookieList",e.TYPE],["DOMHighResTimeStamp",e.TYPE],["EpochTimeStamp",e.TYPE],["EventListenerOrEventListenerObject",e.TYPE],["FileSystemWriteChunkType",e.TYPE],["Float32List",e.TYPE],["FormDataEntryValue",e.TYPE],["GLbitfield",e.TYPE],["GLboolean",e.TYPE],["GLclampf",e.TYPE],["GLenum",e.TYPE],["GLfloat",e.TYPE],["GLint",e.TYPE],["GLint64",e.TYPE],["GLintptr",e.TYPE],["GLsizei",e.TYPE],["GLsizeiptr",e.TYPE],["GLuint",e.TYPE],["GLuint64",e.TYPE],["GPUBindingResource",e.TYPE],["GPUBufferDynamicOffset",e.TYPE],["GPUBufferUsageFlags",e.TYPE],["GPUColor",e.TYPE],["GPUColorWriteFlags",e.TYPE],["GPUCopyExternalImageSource",e.TYPE],["GPUDepthBias",e.TYPE],["GPUExtent3D",e.TYPE],["GPUFlagsConstant",e.TYPE],["GPUIndex32",e.TYPE],["GPUIntegerCoordinate",e.TYPE],["GPUIntegerCoordinateOut",e.TYPE],["GPUMapModeFlags",e.TYPE],["GPUOrigin2D",e.TYPE],["GPUOrigin3D",e.TYPE],["GPUPipelineConstantValue",e.TYPE],["GPUSampleMask",e.TYPE],["GPUShaderStageFlags",e.TYPE],["GPUSignedOffset32",e.TYPE],["GPUSize32",e.TYPE],["GPUSize32Out",e.TYPE],["GPUSize64",e.TYPE],["GPUSize64Out",e.TYPE],["GPUStencilValue",e.TYPE],["GPUTextureUsageFlags",e.TYPE],["HTMLOrSVGImageElement",e.TYPE],["HTMLOrSVGScriptElement",e.TYPE],["HashAlgorithmIdentifier",e.TYPE],["HeadersInit",e.TYPE],["IDBValidKey",e.TYPE],["ImageBitmapSource",e.TYPE],["ImageBufferSource",e.TYPE],["ImageDataArray",e.TYPE],["Int32List",e.TYPE],["LineAndPositionSetting",e.TYPE],["MediaProvider",e.TYPE],["MessageEventSource",e.TYPE],["MutationRecordType",e.TYPE],["NamedCurve",e.TYPE],["OffscreenRenderingContext",e.TYPE],["OnBeforeUnloadEventHandler",e.TYPE],["OnErrorEventHandler",e.TYPE],["OptionalPostfixToken",e.TYPE],["OptionalPrefixToken",e.TYPE],["PerformanceEntryList",e.TYPE],["PublicKeyCredentialClientCapabilities",e.TYPE],["RTCRtpReceiverTransform",e.TYPE],["RTCRtpSenderTransform",e.TYPE],["ReadableStreamController",e.TYPE],["ReadableStreamReadResult",e.TYPE],["ReadableStreamReader",e.TYPE],["RenderingContext",e.TYPE],["ReportList",e.TYPE],["RequestInfo",e.TYPE],["SanitizerAttribute",e.TYPE],["SanitizerElement",e.TYPE],["SanitizerElementWithAttributes",e.TYPE],["SelectionDirection",e.TYPE],["TexImageSource",e.TYPE],["TimerHandler",e.TYPE],["Transferable",e.TYPE],["URLPatternInput",e.TYPE],["Uint32List",e.TYPE],["VibratePattern",e.TYPE],["WindowProxy",e.TYPE],["XMLHttpRequestBodyInit",e.TYPE],["AacBitstreamFormat",e.TYPE],["AlignSetting",e.TYPE],["AlphaOption",e.TYPE],["AnimationPlayState",e.TYPE],["AnimationReplaceState",e.TYPE],["AppendMode",e.TYPE],["AttestationConveyancePreference",e.TYPE],["AudioContextLatencyCategory",e.TYPE],["AudioContextState",e.TYPE],["AudioSampleFormat",e.TYPE],["AuthenticatorAttachment",e.TYPE],["AuthenticatorTransport",e.TYPE],["AutoFillAddressKind",e.TYPE],["AutoFillBase",e.TYPE],["AutoFillContactField",e.TYPE],["AutoFillContactKind",e.TYPE],["AutoFillCredentialField",e.TYPE],["AutoFillNormalField",e.TYPE],["AutoKeyword",e.TYPE],["AutomationRate",e.TYPE],["AvcBitstreamFormat",e.TYPE],["BinaryType",e.TYPE],["BiquadFilterType",e.TYPE],["BitrateMode",e.TYPE],["CSSMathOperator",e.TYPE],["CSSNumericBaseType",e.TYPE],["CanPlayTypeResult",e.TYPE],["CanvasDirection",e.TYPE],["CanvasFillRule",e.TYPE],["CanvasFontKerning",e.TYPE],["CanvasFontStretch",e.TYPE],["CanvasFontVariantCaps",e.TYPE],["CanvasLineCap",e.TYPE],["CanvasLineJoin",e.TYPE],["CanvasTextAlign",e.TYPE],["CanvasTextBaseline",e.TYPE],["CanvasTextRendering",e.TYPE],["ChannelCountMode",e.TYPE],["ChannelInterpretation",e.TYPE],["ClientTypes",e.TYPE],["CodecState",e.TYPE],["ColorGamut",e.TYPE],["ColorSpaceConversion",e.TYPE],["CompositeOperation",e.TYPE],["CompositeOperationOrAuto",e.TYPE],["CompressionFormat",e.TYPE],["CookieSameSite",e.TYPE],["CredentialMediationRequirement",e.TYPE],["DOMParserSupportedType",e.TYPE],["DirectionSetting",e.TYPE],["DisplayCaptureSurfaceType",e.TYPE],["DistanceModelType",e.TYPE],["DocumentReadyState",e.TYPE],["DocumentVisibilityState",e.TYPE],["EncodedAudioChunkType",e.TYPE],["EncodedVideoChunkType",e.TYPE],["EndOfStreamError",e.TYPE],["EndingType",e.TYPE],["FileSystemHandleKind",e.TYPE],["FillLightMode",e.TYPE],["FillMode",e.TYPE],["FontDisplay",e.TYPE],["FontFaceLoadStatus",e.TYPE],["FontFaceSetLoadStatus",e.TYPE],["FullscreenNavigationUI",e.TYPE],["GPUAddressMode",e.TYPE],["GPUAutoLayoutMode",e.TYPE],["GPUBlendFactor",e.TYPE],["GPUBlendOperation",e.TYPE],["GPUBufferBindingType",e.TYPE],["GPUBufferMapState",e.TYPE],["GPUCanvasAlphaMode",e.TYPE],["GPUCanvasToneMappingMode",e.TYPE],["GPUCompareFunction",e.TYPE],["GPUCompilationMessageType",e.TYPE],["GPUCullMode",e.TYPE],["GPUDeviceLostReason",e.TYPE],["GPUErrorFilter",e.TYPE],["GPUFeatureName",e.TYPE],["GPUFilterMode",e.TYPE],["GPUFrontFace",e.TYPE],["GPUIndexFormat",e.TYPE],["GPULoadOp",e.TYPE],["GPUMipmapFilterMode",e.TYPE],["GPUPipelineErrorReason",e.TYPE],["GPUPowerPreference",e.TYPE],["GPUPrimitiveTopology",e.TYPE],["GPUQueryType",e.TYPE],["GPUSamplerBindingType",e.TYPE],["GPUStencilOperation",e.TYPE],["GPUStorageTextureAccess",e.TYPE],["GPUStoreOp",e.TYPE],["GPUTextureAspect",e.TYPE],["GPUTextureDimension",e.TYPE],["GPUTextureFormat",e.TYPE],["GPUTextureSampleType",e.TYPE],["GPUTextureViewDimension",e.TYPE],["GPUVertexFormat",e.TYPE],["GPUVertexStepMode",e.TYPE],["GamepadHapticEffectType",e.TYPE],["GamepadHapticsResult",e.TYPE],["GamepadMappingType",e.TYPE],["GlobalCompositeOperation",e.TYPE],["HardwareAcceleration",e.TYPE],["HdrMetadataType",e.TYPE],["HighlightType",e.TYPE],["IDBCursorDirection",e.TYPE],["IDBRequestReadyState",e.TYPE],["IDBTransactionDurability",e.TYPE],["IDBTransactionMode",e.TYPE],["ImageDataPixelFormat",e.TYPE],["ImageOrientation",e.TYPE],["ImageSmoothingQuality",e.TYPE],["InsertPosition",e.TYPE],["IterationCompositeOperation",e.TYPE],["KeyFormat",e.TYPE],["KeyType",e.TYPE],["KeyUsage",e.TYPE],["LatencyMode",e.TYPE],["LineAlignSetting",e.TYPE],["LockMode",e.TYPE],["LoginStatus",e.TYPE],["MIDIPortConnectionState",e.TYPE],["MIDIPortDeviceState",e.TYPE],["MIDIPortType",e.TYPE],["MediaDecodingType",e.TYPE],["MediaDeviceKind",e.TYPE],["MediaEncodingType",e.TYPE],["MediaKeyMessageType",e.TYPE],["MediaKeySessionClosedReason",e.TYPE],["MediaKeySessionType",e.TYPE],["MediaKeyStatus",e.TYPE],["MediaKeysRequirement",e.TYPE],["MediaSessionAction",e.TYPE],["MediaSessionPlaybackState",e.TYPE],["MediaStreamTrackState",e.TYPE],["NavigationFocusReset",e.TYPE],["NavigationHistoryBehavior",e.TYPE],["NavigationScrollBehavior",e.TYPE],["NavigationTimingType",e.TYPE],["NavigationType",e.TYPE],["NotificationDirection",e.TYPE],["NotificationPermission",e.TYPE],["OffscreenRenderingContextId",e.TYPE],["OpusBitstreamFormat",e.TYPE],["OrientationLockType",e.TYPE],["OrientationType",e.TYPE],["OscillatorType",e.TYPE],["OverSampleType",e.TYPE],["PanningModelType",e.TYPE],["PaymentComplete",e.TYPE],["PaymentShippingType",e.TYPE],["PermissionName",e.TYPE],["PermissionState",e.TYPE],["PlaybackDirection",e.TYPE],["PositionAlignSetting",e.TYPE],["PredefinedColorSpace",e.TYPE],["PremultiplyAlpha",e.TYPE],["PresentationStyle",e.TYPE],["PublicKeyCredentialType",e.TYPE],["PushEncryptionKeyName",e.TYPE],["RTCBundlePolicy",e.TYPE],["RTCDataChannelState",e.TYPE],["RTCDegradationPreference",e.TYPE],["RTCDtlsRole",e.TYPE],["RTCDtlsTransportState",e.TYPE],["RTCErrorDetailType",e.TYPE],["RTCIceCandidateType",e.TYPE],["RTCIceComponent",e.TYPE],["RTCIceConnectionState",e.TYPE],["RTCIceGathererState",e.TYPE],["RTCIceGatheringState",e.TYPE],["RTCIceProtocol",e.TYPE],["RTCIceRole",e.TYPE],["RTCIceTcpCandidateType",e.TYPE],["RTCIceTransportPolicy",e.TYPE],["RTCIceTransportState",e.TYPE],["RTCPeerConnectionState",e.TYPE],["RTCPriorityType",e.TYPE],["RTCQualityLimitationReason",e.TYPE],["RTCRtcpMuxPolicy",e.TYPE],["RTCRtpTransceiverDirection",e.TYPE],["RTCSctpTransportState",e.TYPE],["RTCSdpType",e.TYPE],["RTCSignalingState",e.TYPE],["RTCStatsIceCandidatePairState",e.TYPE],["RTCStatsType",e.TYPE],["ReadableStreamReaderMode",e.TYPE],["ReadableStreamType",e.TYPE],["ReadyState",e.TYPE],["RecordingState",e.TYPE],["RedEyeReduction",e.TYPE],["ReferrerPolicy",e.TYPE],["RemotePlaybackState",e.TYPE],["RequestCache",e.TYPE],["RequestCredentials",e.TYPE],["RequestDestination",e.TYPE],["RequestMode",e.TYPE],["RequestPriority",e.TYPE],["RequestRedirect",e.TYPE],["ResidentKeyRequirement",e.TYPE],["ResizeObserverBoxOptions",e.TYPE],["ResizeQuality",e.TYPE],["ResponseType",e.TYPE],["SanitizerPresets",e.TYPE],["ScrollAxis",e.TYPE],["ScrollBehavior",e.TYPE],["ScrollLogicalPosition",e.TYPE],["ScrollRestoration",e.TYPE],["ScrollSetting",e.TYPE],["SecurityPolicyViolationEventDisposition",e.TYPE],["SelectionMode",e.TYPE],["ServiceWorkerState",e.TYPE],["ServiceWorkerUpdateViaCache",e.TYPE],["ShadowRootMode",e.TYPE],["SlotAssignmentMode",e.TYPE],["SpeechRecognitionErrorCode",e.TYPE],["SpeechSynthesisErrorCode",e.TYPE],["TaskPriority",e.TYPE],["TextTrackKind",e.TYPE],["TextTrackMode",e.TYPE],["TouchType",e.TYPE],["TransferFunction",e.TYPE],["UserVerificationRequirement",e.TYPE],["VideoColorPrimaries",e.TYPE],["VideoEncoderBitrateMode",e.TYPE],["VideoFacingModeEnum",e.TYPE],["VideoMatrixCoefficients",e.TYPE],["VideoPixelFormat",e.TYPE],["VideoTransferCharacteristics",e.TYPE],["WakeLockType",e.TYPE],["WebGLPowerPreference",e.TYPE],["WebTransportCongestionControl",e.TYPE],["WebTransportErrorSource",e.TYPE],["WorkerType",e.TYPE],["WriteCommandType",e.TYPE],["XMLHttpRequestResponseType",e.TYPE],["FormDataIterator",e.TYPE],["HeadersIterator",e.TYPE],["MediaKeyStatusMapIterator",e.TYPE],["StylePropertyMapReadOnlyIterator",e.TYPE],["URLSearchParamsIterator",e.TYPE],["FileSystemDirectoryHandleAsyncIterator",e.TYPE],["ReadableStreamAsyncIterator",e.TYPE]]}});var Re=E(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.dom_asynciterable=void 0;bi.dom_asynciterable={libs:[],variables:[]}});var ge=E(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.dom_iterable=void 0;gi.dom_iterable={libs:[],variables:[]}});var fE=E(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.es6=void 0;var Qf=ur(),Xf=ni(),Jf=oi(),$f=ui(),zf=Ee(),Zf=pi(),ed=Pi(),td=di(),rd=Te(),id=lt();Si.es6={libs:[Qf.es5,Jf.es2015_core,Xf.es2015_collection,zf.es2015_iterable,$f.es2015_generator,Zf.es2015_promise,ed.es2015_proxy,td.es2015_reflect,rd.es2015_symbol,id.es2015_symbol_wellknown],variables:[]}});var Ai=E(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});vi.es2016_array_include=void 0;var De=S();vi.es2016_array_include={libs:[],variables:[["Array",De.TYPE],["ReadonlyArray",De.TYPE],["Int8Array",De.TYPE],["Uint8Array",De.TYPE],["Uint8ClampedArray",De.TYPE],["Int16Array",De.TYPE],["Uint16Array",De.TYPE],["Int32Array",De.TYPE],["Uint32Array",De.TYPE],["Float32Array",De.TYPE],["Float64Array",De.TYPE]]}});var Ui=E(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.es2016_intl=void 0;var nd=S();hi.es2016_intl={libs:[],variables:[["Intl",nd.TYPE_VALUE]]}});var dE=E(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.es7=void 0;var sd=Rt(),od=Ai(),ad=Ui();Li.es7={libs:[sd.es2015,od.es2016_array_include,ad.es2016_intl],variables:[]}});var Ci=E(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});Vi.es2016=void 0;var ld=Rt(),cd=Ai(),ud=Ui();Vi.es2016={libs:[ld.es2015,cd.es2016_array_include,ud.es2016_intl],variables:[]}});var fe=E(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});Ii.scripthost=void 0;var Se=S();Ii.scripthost={libs:[],variables:[["ActiveXObject",Se.TYPE_VALUE],["ITextWriter",Se.TYPE],["TextStreamBase",Se.TYPE],["TextStreamWriter",Se.TYPE],["TextStreamReader",Se.TYPE],["SafeArray",Se.TYPE_VALUE],["Enumerator",Se.TYPE_VALUE],["EnumeratorConstructor",Se.TYPE],["VBArray",Se.TYPE_VALUE],["VBArrayConstructor",Se.TYPE],["VarDate",Se.TYPE_VALUE],["DateConstructor",Se.TYPE],["Date",Se.TYPE]]}});var de=E(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.webworker_importscripts=void 0;Mi.webworker_importscripts={libs:[],variables:[]}});var yE=E(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.es2016_full=void 0;var Ed=Pe(),pd=ge(),Td=Ci(),Pd=fe(),fd=de();xi.es2016_full={libs:[Td.es2016,Ed.dom,fd.webworker_importscripts,Pd.scripthost,pd.dom_iterable],variables:[]}});var Da=E(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});Oi.es2017_arraybuffer=void 0;var dd=S();Oi.es2017_arraybuffer={libs:[],variables:[["ArrayBufferConstructor",dd.TYPE]]}});var wa=E(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});Ri.es2017_date=void 0;var yd=S();Ri.es2017_date={libs:[],variables:[["DateConstructor",yd.TYPE]]}});var qa=E(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});Di.es2017_intl=void 0;var md=S();Di.es2017_intl={libs:[],variables:[["Intl",md.TYPE_VALUE]]}});var ka=E(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.es2017_object=void 0;var _d=S();wi.es2017_object={libs:[],variables:[["ObjectConstructor",_d.TYPE]]}});var Fa=E(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});ki.es2017_sharedmemory=void 0;var qi=S(),Yd=Te(),bd=lt();ki.es2017_sharedmemory={libs:[Yd.es2015_symbol,bd.es2015_symbol_wellknown],variables:[["SharedArrayBuffer",qi.TYPE_VALUE],["SharedArrayBufferConstructor",qi.TYPE],["ArrayBufferTypes",qi.TYPE],["Atomics",qi.TYPE_VALUE]]}});var Ga=E(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});Fi.es2017_string=void 0;var gd=S();Fi.es2017_string={libs:[],variables:[["String",gd.TYPE]]}});var Ba=E(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});Gi.es2017_typedarrays=void 0;var ze=S();Gi.es2017_typedarrays={libs:[],variables:[["Int8ArrayConstructor",ze.TYPE],["Uint8ArrayConstructor",ze.TYPE],["Uint8ClampedArrayConstructor",ze.TYPE],["Int16ArrayConstructor",ze.TYPE],["Uint16ArrayConstructor",ze.TYPE],["Int32ArrayConstructor",ze.TYPE],["Uint32ArrayConstructor",ze.TYPE],["Float32ArrayConstructor",ze.TYPE],["Float64ArrayConstructor",ze.TYPE]]}});var ji=E(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});Bi.es2017=void 0;var Sd=Ci(),vd=Da(),Ad=wa(),hd=qa(),Ud=ka(),Ld=Fa(),Vd=Ga(),Cd=Ba();Bi.es2017={libs:[Sd.es2016,vd.es2017_arraybuffer,Ad.es2017_date,hd.es2017_intl,Ud.es2017_object,Ld.es2017_sharedmemory,Vd.es2017_string,Cd.es2017_typedarrays],variables:[]}});var mE=E(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.es2017_full=void 0;var Id=Pe(),Md=ge(),xd=ji(),Od=fe(),Rd=de();Ni.es2017_full={libs:[xd.es2017,Id.dom,Rd.webworker_importscripts,Od.scripthost,Md.dom_iterable],variables:[]}});var Na=E(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});Wi.es2018_asyncgenerator=void 0;var ja=S(),Dd=_t();Wi.es2018_asyncgenerator={libs:[Dd.es2018_asynciterable],variables:[["AsyncGenerator",ja.TYPE],["AsyncGeneratorFunction",ja.TYPE],["AsyncGeneratorFunctionConstructor",ja.TYPE]]}});var pr=E(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});Ki.es2018_intl=void 0;var wd=S();Ki.es2018_intl={libs:[],variables:[["Intl",wd.TYPE_VALUE]]}});var Wa=E(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});Hi.es2018_promise=void 0;var qd=S();Hi.es2018_promise={libs:[],variables:[["Promise",qd.TYPE]]}});var Ha=E(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.es2018_regexp=void 0;var Ka=S();Qi.es2018_regexp={libs:[],variables:[["RegExpMatchArray",Ka.TYPE],["RegExpExecArray",Ka.TYPE],["RegExp",Ka.TYPE]]}});var Ji=E(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});Xi.es2018=void 0;var kd=ji(),Fd=Na(),Gd=_t(),Bd=pr(),jd=Wa(),Nd=Ha();Xi.es2018={libs:[kd.es2017,Gd.es2018_asynciterable,Fd.es2018_asyncgenerator,jd.es2018_promise,Nd.es2018_regexp,Bd.es2018_intl],variables:[]}});var _E=E($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});$i.es2018_full=void 0;var Wd=Pe(),Kd=Re(),Hd=ge(),Qd=Ji(),Xd=fe(),Jd=de();$i.es2018_full={libs:[Qd.es2018,Wd.dom,Jd.webworker_importscripts,Xd.scripthost,Hd.dom_iterable,Kd.dom_asynciterable],variables:[]}});var Xa=E(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});zi.es2019_array=void 0;var Qa=S();zi.es2019_array={libs:[],variables:[["FlatArray",Qa.TYPE],["ReadonlyArray",Qa.TYPE],["Array",Qa.TYPE]]}});var Ja=E(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});Zi.es2019_intl=void 0;var $d=S();Zi.es2019_intl={libs:[],variables:[["Intl",$d.TYPE_VALUE]]}});var $a=E(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});en.es2019_object=void 0;var zd=S(),Zd=Ee();en.es2019_object={libs:[Zd.es2015_iterable],variables:[["ObjectConstructor",zd.TYPE]]}});var za=E(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});tn.es2019_string=void 0;var ey=S();tn.es2019_string={libs:[],variables:[["String",ey.TYPE]]}});var Za=E(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.es2019_symbol=void 0;var ty=S();rn.es2019_symbol={libs:[],variables:[["Symbol",ty.TYPE]]}});var sn=E(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.es2019=void 0;var ry=Ji(),iy=Xa(),ny=Ja(),sy=$a(),oy=za(),ay=Za();nn.es2019={libs:[ry.es2018,iy.es2019_array,sy.es2019_object,oy.es2019_string,ay.es2019_symbol,ny.es2019_intl],variables:[]}});var YE=E(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.es2019_full=void 0;var ly=Pe(),cy=Re(),uy=ge(),Ey=sn(),py=fe(),Ty=de();on.es2019_full={libs:[Ey.es2019,ly.dom,Ty.webworker_importscripts,py.scripthost,uy.dom_iterable,cy.dom_asynciterable],variables:[]}});var Ze=E(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.es2020_intl=void 0;var Py=S(),fy=pr();an.es2020_intl={libs:[fy.es2018_intl],variables:[["Intl",Py.TYPE_VALUE]]}});var Tr=E(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.es2020_bigint=void 0;var et=S(),dy=Ze();ln.es2020_bigint={libs:[dy.es2020_intl],variables:[["BigIntToLocaleStringOptions",et.TYPE],["BigInt",et.TYPE_VALUE],["BigIntConstructor",et.TYPE],["BigInt64Array",et.TYPE_VALUE],["BigInt64ArrayConstructor",et.TYPE],["BigUint64Array",et.TYPE_VALUE],["BigUint64ArrayConstructor",et.TYPE],["DataView",et.TYPE],["Intl",et.TYPE_VALUE]]}});var el=E(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.es2020_date=void 0;var yy=S(),my=Ze();cn.es2020_date={libs:[my.es2020_intl],variables:[["Date",yy.TYPE]]}});var tl=E(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.es2020_number=void 0;var _y=S(),Yy=Ze();un.es2020_number={libs:[Yy.es2020_intl],variables:[["Number",_y.TYPE]]}});var rl=E(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.es2020_promise=void 0;var En=S();pn.es2020_promise={libs:[],variables:[["PromiseFulfilledResult",En.TYPE],["PromiseRejectedResult",En.TYPE],["PromiseSettledResult",En.TYPE],["PromiseConstructor",En.TYPE]]}});var il=E(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.es2020_sharedmemory=void 0;var by=S(),gy=Tr();Tn.es2020_sharedmemory={libs:[gy.es2020_bigint],variables:[["Atomics",by.TYPE]]}});var fn=E(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Pn.es2020_symbol_wellknown=void 0;var nl=S(),Sy=Ee(),vy=Te();Pn.es2020_symbol_wellknown={libs:[Sy.es2015_iterable,vy.es2015_symbol],variables:[["SymbolConstructor",nl.TYPE],["RegExpStringIterator",nl.TYPE],["RegExp",nl.TYPE]]}});var sl=E(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.es2020_string=void 0;var Ay=S(),hy=Ee(),Uy=Ze(),Ly=fn();dn.es2020_string={libs:[hy.es2015_iterable,Uy.es2020_intl,Ly.es2020_symbol_wellknown],variables:[["String",Ay.TYPE]]}});var mn=E(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.es2020=void 0;var Vy=sn(),Cy=Tr(),Iy=el(),My=Ze(),xy=tl(),Oy=rl(),Ry=il(),Dy=sl(),wy=fn();yn.es2020={libs:[Vy.es2019,Cy.es2020_bigint,Iy.es2020_date,xy.es2020_number,Oy.es2020_promise,Ry.es2020_sharedmemory,Dy.es2020_string,wy.es2020_symbol_wellknown,My.es2020_intl],variables:[]}});var bE=E(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});_n.es2020_full=void 0;var qy=Pe(),ky=Re(),Fy=ge(),Gy=mn(),By=fe(),jy=de();_n.es2020_full={libs:[Gy.es2020,qy.dom,jy.webworker_importscripts,By.scripthost,Fy.dom_iterable,ky.dom_asynciterable],variables:[]}});var ol=E(Yn=>{"use strict";Object.defineProperty(Yn,"__esModule",{value:!0});Yn.es2021_intl=void 0;var Ny=S();Yn.es2021_intl={libs:[],variables:[["Intl",Ny.TYPE_VALUE]]}});var gn=E(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.es2021_promise=void 0;var al=S();bn.es2021_promise={libs:[],variables:[["AggregateError",al.TYPE_VALUE],["AggregateErrorConstructor",al.TYPE],["PromiseConstructor",al.TYPE]]}});var ll=E(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.es2021_string=void 0;var Wy=S();Sn.es2021_string={libs:[],variables:[["String",Wy.TYPE]]}});var cl=E(An=>{"use strict";Object.defineProperty(An,"__esModule",{value:!0});An.es2021_weakref=void 0;var vn=S(),Ky=lt();An.es2021_weakref={libs:[Ky.es2015_symbol_wellknown],variables:[["WeakRef",vn.TYPE_VALUE],["WeakRefConstructor",vn.TYPE],["FinalizationRegistry",vn.TYPE_VALUE],["FinalizationRegistryConstructor",vn.TYPE]]}});var Un=E(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.es2021=void 0;var Hy=mn(),Qy=ol(),Xy=gn(),Jy=ll(),$y=cl();hn.es2021={libs:[Hy.es2020,Xy.es2021_promise,Jy.es2021_string,$y.es2021_weakref,Qy.es2021_intl],variables:[]}});var gE=E(Ln=>{"use strict";Object.defineProperty(Ln,"__esModule",{value:!0});Ln.es2021_full=void 0;var zy=Pe(),Zy=Re(),em=ge(),tm=Un(),rm=fe(),im=de();Ln.es2021_full={libs:[tm.es2021,zy.dom,im.webworker_importscripts,rm.scripthost,em.dom_iterable,Zy.dom_asynciterable],variables:[]}});var ul=E(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.es2022_array=void 0;var ve=S();Vn.es2022_array={libs:[],variables:[["Array",ve.TYPE],["ReadonlyArray",ve.TYPE],["Int8Array",ve.TYPE],["Uint8Array",ve.TYPE],["Uint8ClampedArray",ve.TYPE],["Int16Array",ve.TYPE],["Uint16Array",ve.TYPE],["Int32Array",ve.TYPE],["Uint32Array",ve.TYPE],["Float32Array",ve.TYPE],["Float64Array",ve.TYPE],["BigInt64Array",ve.TYPE],["BigUint64Array",ve.TYPE]]}});var El=E(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.es2022_error=void 0;var Qe=S(),nm=gn();Cn.es2022_error={libs:[nm.es2021_promise],variables:[["ErrorOptions",Qe.TYPE],["Error",Qe.TYPE],["ErrorConstructor",Qe.TYPE],["EvalErrorConstructor",Qe.TYPE],["RangeErrorConstructor",Qe.TYPE],["ReferenceErrorConstructor",Qe.TYPE],["SyntaxErrorConstructor",Qe.TYPE],["TypeErrorConstructor",Qe.TYPE],["URIErrorConstructor",Qe.TYPE],["AggregateErrorConstructor",Qe.TYPE]]}});var pl=E(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});In.es2022_intl=void 0;var sm=S();In.es2022_intl={libs:[],variables:[["Intl",sm.TYPE_VALUE]]}});var Tl=E(Mn=>{"use strict";Object.defineProperty(Mn,"__esModule",{value:!0});Mn.es2022_object=void 0;var om=S();Mn.es2022_object={libs:[],variables:[["ObjectConstructor",om.TYPE]]}});var Pl=E(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.es2022_regexp=void 0;var xn=S();On.es2022_regexp={libs:[],variables:[["RegExpMatchArray",xn.TYPE],["RegExpExecArray",xn.TYPE],["RegExpIndicesArray",xn.TYPE],["RegExp",xn.TYPE]]}});var fl=E(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Rn.es2022_string=void 0;var am=S();Rn.es2022_string={libs:[],variables:[["String",am.TYPE]]}});var wn=E(Dn=>{"use strict";Object.defineProperty(Dn,"__esModule",{value:!0});Dn.es2022=void 0;var lm=Un(),cm=ul(),um=El(),Em=pl(),pm=Tl(),Tm=Pl(),Pm=fl();Dn.es2022={libs:[lm.es2021,cm.es2022_array,um.es2022_error,Em.es2022_intl,pm.es2022_object,Tm.es2022_regexp,Pm.es2022_string],variables:[]}});var SE=E(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});qn.es2022_full=void 0;var fm=Pe(),dm=Re(),ym=ge(),mm=wn(),_m=fe(),Ym=de();qn.es2022_full={libs:[mm.es2022,fm.dom,Ym.webworker_importscripts,_m.scripthost,ym.dom_iterable,dm.dom_asynciterable],variables:[]}});var dl=E(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.es2023_array=void 0;var Ae=S();kn.es2023_array={libs:[],variables:[["Array",Ae.TYPE],["ReadonlyArray",Ae.TYPE],["Int8Array",Ae.TYPE],["Uint8Array",Ae.TYPE],["Uint8ClampedArray",Ae.TYPE],["Int16Array",Ae.TYPE],["Uint16Array",Ae.TYPE],["Int32Array",Ae.TYPE],["Uint32Array",Ae.TYPE],["Float32Array",Ae.TYPE],["Float64Array",Ae.TYPE],["BigInt64Array",Ae.TYPE],["BigUint64Array",Ae.TYPE]]}});var yl=E(Fn=>{"use strict";Object.defineProperty(Fn,"__esModule",{value:!0});Fn.es2023_collection=void 0;var bm=S();Fn.es2023_collection={libs:[],variables:[["WeakKeyTypes",bm.TYPE]]}});var ml=E(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.es2023_intl=void 0;var gm=S();Gn.es2023_intl={libs:[],variables:[["Intl",gm.TYPE_VALUE]]}});var jn=E(Bn=>{"use strict";Object.defineProperty(Bn,"__esModule",{value:!0});Bn.es2023=void 0;var Sm=wn(),vm=dl(),Am=yl(),hm=ml();Bn.es2023={libs:[Sm.es2022,vm.es2023_array,Am.es2023_collection,hm.es2023_intl],variables:[]}});var vE=E(Nn=>{"use strict";Object.defineProperty(Nn,"__esModule",{value:!0});Nn.es2023_full=void 0;var Um=Pe(),Lm=Re(),Vm=ge(),Cm=jn(),Im=fe(),Mm=de();Nn.es2023_full={libs:[Cm.es2023,Um.dom,Mm.webworker_importscripts,Im.scripthost,Vm.dom_iterable,Lm.dom_asynciterable],variables:[]}});var _l=E(Wn=>{"use strict";Object.defineProperty(Wn,"__esModule",{value:!0});Wn.es2024_arraybuffer=void 0;var AE=S();Wn.es2024_arraybuffer={libs:[],variables:[["ArrayBuffer",AE.TYPE],["ArrayBufferConstructor",AE.TYPE]]}});var Hn=E(Kn=>{"use strict";Object.defineProperty(Kn,"__esModule",{value:!0});Kn.es2024_collection=void 0;var xm=S();Kn.es2024_collection={libs:[],variables:[["MapConstructor",xm.TYPE]]}});var Yl=E(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.es2024_object=void 0;var Om=S();Qn.es2024_object={libs:[],variables:[["ObjectConstructor",Om.TYPE]]}});var bl=E(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.es2024_promise=void 0;var hE=S();Xn.es2024_promise={libs:[],variables:[["PromiseWithResolvers",hE.TYPE],["PromiseConstructor",hE.TYPE]]}});var gl=E(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0});Jn.es2024_regexp=void 0;var Rm=S();Jn.es2024_regexp={libs:[],variables:[["RegExp",Rm.TYPE]]}});var vl=E($n=>{"use strict";Object.defineProperty($n,"__esModule",{value:!0});$n.es2024_sharedmemory=void 0;var Sl=S(),Dm=Tr();$n.es2024_sharedmemory={libs:[Dm.es2020_bigint],variables:[["Atomics",Sl.TYPE],["SharedArrayBuffer",Sl.TYPE],["SharedArrayBufferConstructor",Sl.TYPE]]}});var Al=E(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});zn.es2024_string=void 0;var wm=S();zn.es2024_string={libs:[],variables:[["String",wm.TYPE]]}});var es=E(Zn=>{"use strict";Object.defineProperty(Zn,"__esModule",{value:!0});Zn.es2024=void 0;var qm=jn(),km=_l(),Fm=Hn(),Gm=Yl(),Bm=bl(),jm=gl(),Nm=vl(),Wm=Al();Zn.es2024={libs:[qm.es2023,km.es2024_arraybuffer,Fm.es2024_collection,Gm.es2024_object,Bm.es2024_promise,jm.es2024_regexp,Nm.es2024_sharedmemory,Wm.es2024_string],variables:[]}});var UE=E(ts=>{"use strict";Object.defineProperty(ts,"__esModule",{value:!0});ts.es2024_full=void 0;var Km=Pe(),Hm=Re(),Qm=ge(),Xm=es(),Jm=fe(),$m=de();ts.es2024_full={libs:[Xm.es2024,Km.dom,$m.webworker_importscripts,Jm.scripthost,Qm.dom_iterable,Hm.dom_asynciterable],variables:[]}});var is=E(rs=>{"use strict";Object.defineProperty(rs,"__esModule",{value:!0});rs.es2025_collection=void 0;var hl=S(),zm=Hn();rs.es2025_collection={libs:[zm.es2024_collection],variables:[["ReadonlySetLike",hl.TYPE],["Set",hl.TYPE],["ReadonlySet",hl.TYPE]]}});var Ul=E(ss=>{"use strict";Object.defineProperty(ss,"__esModule",{value:!0});ss.es2025_float16=void 0;var ns=S(),Zm=Ee(),e_=Te();ss.es2025_float16={libs:[e_.es2015_symbol,Zm.es2015_iterable],variables:[["Float16Array",ns.TYPE_VALUE],["Float16ArrayConstructor",ns.TYPE],["Math",ns.TYPE],["DataView",ns.TYPE]]}});var as=E(os=>{"use strict";Object.defineProperty(os,"__esModule",{value:!0});os.es2025_intl=void 0;var t_=S(),r_=pr();os.es2025_intl={libs:[r_.es2018_intl],variables:[["Intl",t_.TYPE_VALUE]]}});var Ll=E(ls=>{"use strict";Object.defineProperty(ls,"__esModule",{value:!0});ls.es2025_iterator=void 0;var LE=S(),i_=Ee();ls.es2025_iterator={libs:[i_.es2015_iterable],variables:[["Iterator",LE.TYPE_VALUE],["IteratorObjectConstructor",LE.TYPE]]}});var Vl=E(cs=>{"use strict";Object.defineProperty(cs,"__esModule",{value:!0});cs.es2025_promise=void 0;var n_=S();cs.es2025_promise={libs:[],variables:[["PromiseConstructor",n_.TYPE]]}});var Cl=E(us=>{"use strict";Object.defineProperty(us,"__esModule",{value:!0});us.es2025_regexp=void 0;var s_=S();us.es2025_regexp={libs:[],variables:[["RegExpConstructor",s_.TYPE]]}});var ps=E(Es=>{"use strict";Object.defineProperty(Es,"__esModule",{value:!0});Es.es2025=void 0;var o_=es(),a_=is(),l_=Ul(),c_=as(),u_=Ll(),E_=Vl(),p_=Cl();Es.es2025={libs:[o_.es2024,a_.es2025_collection,l_.es2025_float16,c_.es2025_intl,u_.es2025_iterator,E_.es2025_promise,p_.es2025_regexp],variables:[]}});var VE=E(Ts=>{"use strict";Object.defineProperty(Ts,"__esModule",{value:!0});Ts.es2025_full=void 0;var T_=Pe(),P_=Re(),f_=ge(),d_=ps(),y_=fe(),m_=de();Ts.es2025_full={libs:[d_.es2025,T_.dom,m_.webworker_importscripts,y_.scripthost,f_.dom_iterable,P_.dom_asynciterable],variables:[]}});var Il=E(Ps=>{"use strict";Object.defineProperty(Ps,"__esModule",{value:!0});Ps.esnext_array=void 0;var __=S();Ps.esnext_array={libs:[],variables:[["ArrayConstructor",__.TYPE]]}});var Ml=E(fs=>{"use strict";Object.defineProperty(fs,"__esModule",{value:!0});fs.esnext_collection=void 0;var CE=S(),Y_=is();fs.esnext_collection={libs:[Y_.es2025_collection],variables:[["Map",CE.TYPE],["WeakMap",CE.TYPE]]}});var Pr=E(ds=>{"use strict";Object.defineProperty(ds,"__esModule",{value:!0});ds.esnext_temporal=void 0;var b_=S(),g_=lt(),S_=Ze(),v_=as();ds.esnext_temporal={libs:[g_.es2015_symbol_wellknown,S_.es2020_intl,v_.es2025_intl],variables:[["Temporal",b_.TYPE_VALUE]]}});var xl=E(ys=>{"use strict";Object.defineProperty(ys,"__esModule",{value:!0});ys.esnext_date=void 0;var A_=S(),h_=Pr();ys.esnext_date={libs:[h_.esnext_temporal],variables:[["Date",A_.TYPE]]}});var Ol=E(ms=>{"use strict";Object.defineProperty(ms,"__esModule",{value:!0});ms.esnext_decorators=void 0;var IE=S(),U_=Zr(),L_=Te();ms.esnext_decorators={libs:[L_.es2015_symbol,U_.decorators],variables:[["SymbolConstructor",IE.TYPE],["Function",IE.TYPE]]}});var Rl=E(_s=>{"use strict";Object.defineProperty(_s,"__esModule",{value:!0});_s.esnext_disposable=void 0;var we=S(),V_=Ee(),C_=Te(),I_=_t();_s.esnext_disposable={libs:[C_.es2015_symbol,V_.es2015_iterable,I_.es2018_asynciterable],variables:[["SymbolConstructor",we.TYPE],["Disposable",we.TYPE],["AsyncDisposable",we.TYPE],["SuppressedError",we.TYPE_VALUE],["SuppressedErrorConstructor",we.TYPE],["DisposableStack",we.TYPE_VALUE],["DisposableStackConstructor",we.TYPE],["AsyncDisposableStack",we.TYPE_VALUE],["AsyncDisposableStackConstructor",we.TYPE],["IteratorObject",we.TYPE],["AsyncIteratorObject",we.TYPE]]}});var Dl=E(Ys=>{"use strict";Object.defineProperty(Ys,"__esModule",{value:!0});Ys.esnext_error=void 0;var M_=S();Ys.esnext_error={libs:[],variables:[["ErrorConstructor",M_.TYPE]]}});var wl=E(bs=>{"use strict";Object.defineProperty(bs,"__esModule",{value:!0});bs.esnext_intl=void 0;var x_=S(),O_=Pr();bs.esnext_intl={libs:[O_.esnext_temporal],variables:[["Intl",x_.TYPE_VALUE]]}});var ql=E(gs=>{"use strict";Object.defineProperty(gs,"__esModule",{value:!0});gs.esnext_sharedmemory=void 0;var R_=S();gs.esnext_sharedmemory={libs:[],variables:[["Atomics",R_.TYPE]]}});var kl=E(Ss=>{"use strict";Object.defineProperty(Ss,"__esModule",{value:!0});Ss.esnext_typedarrays=void 0;var ME=S();Ss.esnext_typedarrays={libs:[],variables:[["Uint8Array",ME.TYPE],["Uint8ArrayConstructor",ME.TYPE]]}});var Fl=E(vs=>{"use strict";Object.defineProperty(vs,"__esModule",{value:!0});vs.esnext=void 0;var D_=ps(),w_=Il(),q_=Ml(),k_=xl(),F_=Ol(),G_=Rl(),B_=Dl(),j_=wl(),N_=ql(),W_=Pr(),K_=kl();vs.esnext={libs:[D_.es2025,j_.esnext_intl,q_.esnext_collection,F_.esnext_decorators,G_.esnext_disposable,w_.esnext_array,B_.esnext_error,N_.esnext_sharedmemory,K_.esnext_typedarrays,W_.esnext_temporal,k_.esnext_date],variables:[]}});var xE=E(As=>{"use strict";Object.defineProperty(As,"__esModule",{value:!0});As.esnext_asynciterable=void 0;var fr=S(),H_=Ee(),Q_=Te();As.esnext_asynciterable={libs:[Q_.es2015_symbol,H_.es2015_iterable],variables:[["SymbolConstructor",fr.TYPE],["AsyncIterator",fr.TYPE],["AsyncIterable",fr.TYPE],["AsyncIterableIterator",fr.TYPE],["AsyncIteratorObject",fr.TYPE]]}});var OE=E(hs=>{"use strict";Object.defineProperty(hs,"__esModule",{value:!0});hs.esnext_bigint=void 0;var tt=S(),X_=Ze();hs.esnext_bigint={libs:[X_.es2020_intl],variables:[["BigIntToLocaleStringOptions",tt.TYPE],["BigInt",tt.TYPE_VALUE],["BigIntConstructor",tt.TYPE],["BigInt64Array",tt.TYPE_VALUE],["BigInt64ArrayConstructor",tt.TYPE],["BigUint64Array",tt.TYPE_VALUE],["BigUint64ArrayConstructor",tt.TYPE],["DataView",tt.TYPE],["Intl",tt.TYPE_VALUE]]}});var RE=E(Ls=>{"use strict";Object.defineProperty(Ls,"__esModule",{value:!0});Ls.esnext_float16=void 0;var Us=S(),J_=Ee(),$_=Te();Ls.esnext_float16={libs:[$_.es2015_symbol,J_.es2015_iterable],variables:[["Float16Array",Us.TYPE_VALUE],["Float16ArrayConstructor",Us.TYPE],["Math",Us.TYPE],["DataView",Us.TYPE]]}});var DE=E(Vs=>{"use strict";Object.defineProperty(Vs,"__esModule",{value:!0});Vs.esnext_full=void 0;var z_=Pe(),Z_=Re(),eY=ge(),tY=Fl(),rY=fe(),iY=de();Vs.esnext_full={libs:[tY.esnext,z_.dom,iY.webworker_importscripts,rY.scripthost,eY.dom_iterable,Z_.dom_asynciterable],variables:[]}});var qE=E(Cs=>{"use strict";Object.defineProperty(Cs,"__esModule",{value:!0});Cs.esnext_iterator=void 0;var wE=S(),nY=Ee();Cs.esnext_iterator={libs:[nY.es2015_iterable],variables:[["Iterator",wE.TYPE_VALUE],["IteratorObjectConstructor",wE.TYPE]]}});var kE=E(Is=>{"use strict";Object.defineProperty(Is,"__esModule",{value:!0});Is.esnext_object=void 0;var sY=S();Is.esnext_object={libs:[],variables:[["ObjectConstructor",sY.TYPE]]}});var FE=E(Ms=>{"use strict";Object.defineProperty(Ms,"__esModule",{value:!0});Ms.esnext_promise=void 0;var oY=S();Ms.esnext_promise={libs:[],variables:[["PromiseConstructor",oY.TYPE]]}});var GE=E(xs=>{"use strict";Object.defineProperty(xs,"__esModule",{value:!0});xs.esnext_regexp=void 0;var aY=S();xs.esnext_regexp={libs:[],variables:[["RegExp",aY.TYPE]]}});var BE=E(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});Os.esnext_string=void 0;var lY=S();Os.esnext_string={libs:[],variables:[["String",lY.TYPE]]}});var jE=E(Rs=>{"use strict";Object.defineProperty(Rs,"__esModule",{value:!0});Rs.esnext_symbol=void 0;var cY=S();Rs.esnext_symbol={libs:[],variables:[["Symbol",cY.TYPE]]}});var NE=E(ws=>{"use strict";Object.defineProperty(ws,"__esModule",{value:!0});ws.esnext_weakref=void 0;var Ds=S(),uY=lt();ws.esnext_weakref={libs:[uY.es2015_symbol_wellknown],variables:[["WeakRef",Ds.TYPE_VALUE],["WeakRefConstructor",Ds.TYPE],["FinalizationRegistry",Ds.TYPE_VALUE],["FinalizationRegistryConstructor",Ds.TYPE]]}});var WE=E(qs=>{"use strict";Object.defineProperty(qs,"__esModule",{value:!0});qs.lib=void 0;var EY=Pe(),pY=ur(),TY=fe(),PY=de();qs.lib={libs:[pY.es5,EY.dom,PY.webworker_importscripts,TY.scripthost],variables:[]}});var KE=E(ks=>{"use strict";Object.defineProperty(ks,"__esModule",{value:!0});ks.webworker=void 0;var n=S(),fY=Rt(),dY=_t();ks.webworker={libs:[fY.es2015,dY.es2018_asynciterable],variables:[["AacEncoderConfig",n.TYPE],["AddEventListenerOptions",n.TYPE],["AesCbcParams",n.TYPE],["AesCtrParams",n.TYPE],["AesDerivedKeyParams",n.TYPE],["AesGcmParams",n.TYPE],["AesKeyAlgorithm",n.TYPE],["AesKeyGenParams",n.TYPE],["Algorithm",n.TYPE],["AudioConfiguration",n.TYPE],["AudioDataCopyToOptions",n.TYPE],["AudioDataInit",n.TYPE],["AudioDecoderConfig",n.TYPE],["AudioDecoderInit",n.TYPE],["AudioDecoderSupport",n.TYPE],["AudioEncoderConfig",n.TYPE],["AudioEncoderInit",n.TYPE],["AudioEncoderSupport",n.TYPE],["AvcEncoderConfig",n.TYPE],["BlobPropertyBag",n.TYPE],["CSSMatrixComponentOptions",n.TYPE],["CSSNumericType",n.TYPE],["CacheQueryOptions",n.TYPE],["ClientQueryOptions",n.TYPE],["CloseEventInit",n.TYPE],["CookieInit",n.TYPE],["CookieListItem",n.TYPE],["CookieStoreDeleteOptions",n.TYPE],["CookieStoreGetOptions",n.TYPE],["CryptoKeyPair",n.TYPE],["CustomEventInit",n.TYPE],["DOMMatrix2DInit",n.TYPE],["DOMMatrixInit",n.TYPE],["DOMPointInit",n.TYPE],["DOMQuadInit",n.TYPE],["DOMRectInit",n.TYPE],["EcKeyGenParams",n.TYPE],["EcKeyImportParams",n.TYPE],["EcdhKeyDeriveParams",n.TYPE],["EcdsaParams",n.TYPE],["EncodedAudioChunkInit",n.TYPE],["EncodedAudioChunkMetadata",n.TYPE],["EncodedVideoChunkInit",n.TYPE],["EncodedVideoChunkMetadata",n.TYPE],["ErrorEventInit",n.TYPE],["EventInit",n.TYPE],["EventListenerOptions",n.TYPE],["EventSourceInit",n.TYPE],["ExtendableCookieChangeEventInit",n.TYPE],["ExtendableEventInit",n.TYPE],["ExtendableMessageEventInit",n.TYPE],["FetchEventInit",n.TYPE],["FilePropertyBag",n.TYPE],["FileSystemCreateWritableOptions",n.TYPE],["FileSystemGetDirectoryOptions",n.TYPE],["FileSystemGetFileOptions",n.TYPE],["FileSystemReadWriteOptions",n.TYPE],["FileSystemRemoveOptions",n.TYPE],["FontFaceDescriptors",n.TYPE],["FontFaceSetLoadEventInit",n.TYPE],["GPUBindGroupDescriptor",n.TYPE],["GPUBindGroupEntry",n.TYPE],["GPUBindGroupLayoutDescriptor",n.TYPE],["GPUBindGroupLayoutEntry",n.TYPE],["GPUBlendComponent",n.TYPE],["GPUBlendState",n.TYPE],["GPUBufferBinding",n.TYPE],["GPUBufferBindingLayout",n.TYPE],["GPUBufferDescriptor",n.TYPE],["GPUCanvasConfiguration",n.TYPE],["GPUCanvasToneMapping",n.TYPE],["GPUColorDict",n.TYPE],["GPUColorTargetState",n.TYPE],["GPUCommandBufferDescriptor",n.TYPE],["GPUCommandEncoderDescriptor",n.TYPE],["GPUComputePassDescriptor",n.TYPE],["GPUComputePassTimestampWrites",n.TYPE],["GPUComputePipelineDescriptor",n.TYPE],["GPUCopyExternalImageDestInfo",n.TYPE],["GPUCopyExternalImageSourceInfo",n.TYPE],["GPUDepthStencilState",n.TYPE],["GPUDeviceDescriptor",n.TYPE],["GPUExtent3DDict",n.TYPE],["GPUExternalTextureBindingLayout",n.TYPE],["GPUExternalTextureDescriptor",n.TYPE],["GPUFragmentState",n.TYPE],["GPUMultisampleState",n.TYPE],["GPUObjectDescriptorBase",n.TYPE],["GPUOrigin2DDict",n.TYPE],["GPUOrigin3DDict",n.TYPE],["GPUPipelineDescriptorBase",n.TYPE],["GPUPipelineErrorInit",n.TYPE],["GPUPipelineLayoutDescriptor",n.TYPE],["GPUPrimitiveState",n.TYPE],["GPUProgrammableStage",n.TYPE],["GPUQuerySetDescriptor",n.TYPE],["GPUQueueDescriptor",n.TYPE],["GPURenderBundleDescriptor",n.TYPE],["GPURenderBundleEncoderDescriptor",n.TYPE],["GPURenderPassColorAttachment",n.TYPE],["GPURenderPassDepthStencilAttachment",n.TYPE],["GPURenderPassDescriptor",n.TYPE],["GPURenderPassLayout",n.TYPE],["GPURenderPassTimestampWrites",n.TYPE],["GPURenderPipelineDescriptor",n.TYPE],["GPURequestAdapterOptions",n.TYPE],["GPUSamplerBindingLayout",n.TYPE],["GPUSamplerDescriptor",n.TYPE],["GPUShaderModuleDescriptor",n.TYPE],["GPUStencilFaceState",n.TYPE],["GPUStorageTextureBindingLayout",n.TYPE],["GPUTexelCopyBufferInfo",n.TYPE],["GPUTexelCopyBufferLayout",n.TYPE],["GPUTexelCopyTextureInfo",n.TYPE],["GPUTextureBindingLayout",n.TYPE],["GPUTextureDescriptor",n.TYPE],["GPUTextureViewDescriptor",n.TYPE],["GPUUncapturedErrorEventInit",n.TYPE],["GPUVertexAttribute",n.TYPE],["GPUVertexBufferLayout",n.TYPE],["GPUVertexState",n.TYPE],["GetNotificationOptions",n.TYPE],["HkdfParams",n.TYPE],["HmacImportParams",n.TYPE],["HmacKeyGenParams",n.TYPE],["IDBDatabaseInfo",n.TYPE],["IDBIndexParameters",n.TYPE],["IDBObjectStoreParameters",n.TYPE],["IDBTransactionOptions",n.TYPE],["IDBVersionChangeEventInit",n.TYPE],["ImageBitmapOptions",n.TYPE],["ImageBitmapRenderingContextSettings",n.TYPE],["ImageDataSettings",n.TYPE],["ImageDecodeOptions",n.TYPE],["ImageDecodeResult",n.TYPE],["ImageDecoderInit",n.TYPE],["ImageEncodeOptions",n.TYPE],["JsonWebKey",n.TYPE],["KeyAlgorithm",n.TYPE],["KeySystemTrackConfiguration",n.TYPE],["LockInfo",n.TYPE],["LockManagerSnapshot",n.TYPE],["LockOptions",n.TYPE],["MediaCapabilitiesDecodingInfo",n.TYPE],["MediaCapabilitiesEncodingInfo",n.TYPE],["MediaCapabilitiesInfo",n.TYPE],["MediaCapabilitiesKeySystemConfiguration",n.TYPE],["MediaConfiguration",n.TYPE],["MediaDecodingConfiguration",n.TYPE],["MediaEncodingConfiguration",n.TYPE],["MediaStreamTrackProcessorInit",n.TYPE],["MessageEventInit",n.TYPE],["MultiCacheQueryOptions",n.TYPE],["NavigationPreloadState",n.TYPE],["NotificationEventInit",n.TYPE],["NotificationOptions",n.TYPE],["OpusEncoderConfig",n.TYPE],["Pbkdf2Params",n.TYPE],["PerformanceMarkOptions",n.TYPE],["PerformanceMeasureOptions",n.TYPE],["PerformanceObserverInit",n.TYPE],["PermissionDescriptor",n.TYPE],["PlaneLayout",n.TYPE],["ProgressEventInit",n.TYPE],["PromiseRejectionEventInit",n.TYPE],["PushEventInit",n.TYPE],["PushSubscriptionChangeEventInit",n.TYPE],["PushSubscriptionJSON",n.TYPE],["PushSubscriptionOptionsInit",n.TYPE],["QueuingStrategy",n.TYPE],["QueuingStrategyInit",n.TYPE],["RTCEncodedAudioFrameMetadata",n.TYPE],["RTCEncodedFrameMetadata",n.TYPE],["RTCEncodedVideoFrameMetadata",n.TYPE],["ReadableStreamBYOBReaderReadOptions",n.TYPE],["ReadableStreamGetReaderOptions",n.TYPE],["ReadableStreamIteratorOptions",n.TYPE],["ReadableStreamReadDoneResult",n.TYPE],["ReadableStreamReadValueResult",n.TYPE],["ReadableWritablePair",n.TYPE],["RegistrationOptions",n.TYPE],["Report",n.TYPE],["ReportBody",n.TYPE],["ReportingObserverOptions",n.TYPE],["RequestInit",n.TYPE],["ResponseInit",n.TYPE],["RsaHashedImportParams",n.TYPE],["RsaHashedKeyGenParams",n.TYPE],["RsaKeyGenParams",n.TYPE],["RsaOaepParams",n.TYPE],["RsaOtherPrimesInfo",n.TYPE],["RsaPssParams",n.TYPE],["SchedulerPostTaskOptions",n.TYPE],["SecurityPolicyViolationEventInit",n.TYPE],["StorageEstimate",n.TYPE],["StreamPipeOptions",n.TYPE],["StructuredSerializeOptions",n.TYPE],["SvcOutputMetadata",n.TYPE],["TaskControllerInit",n.TYPE],["TaskPriorityChangeEventInit",n.TYPE],["TaskSignalAnyInit",n.TYPE],["TextDecodeOptions",n.TYPE],["TextDecoderOptions",n.TYPE],["TextEncoderEncodeIntoResult",n.TYPE],["Transformer",n.TYPE],["URLPatternComponentResult",n.TYPE],["URLPatternInit",n.TYPE],["URLPatternOptions",n.TYPE],["URLPatternResult",n.TYPE],["UnderlyingByteSource",n.TYPE],["UnderlyingDefaultSource",n.TYPE],["UnderlyingSink",n.TYPE],["UnderlyingSource",n.TYPE],["VideoColorSpaceInit",n.TYPE],["VideoConfiguration",n.TYPE],["VideoDecoderConfig",n.TYPE],["VideoDecoderInit",n.TYPE],["VideoDecoderSupport",n.TYPE],["VideoEncoderConfig",n.TYPE],["VideoEncoderEncodeOptions",n.TYPE],["VideoEncoderEncodeOptionsForAvc",n.TYPE],["VideoEncoderInit",n.TYPE],["VideoEncoderSupport",n.TYPE],["VideoFrameBufferInit",n.TYPE],["VideoFrameCopyToOptions",n.TYPE],["VideoFrameInit",n.TYPE],["WebGLContextAttributes",n.TYPE],["WebGLContextEventInit",n.TYPE],["WebTransportCloseInfo",n.TYPE],["WebTransportErrorOptions",n.TYPE],["WebTransportHash",n.TYPE],["WebTransportOptions",n.TYPE],["WebTransportSendOptions",n.TYPE],["WebTransportSendStreamOptions",n.TYPE],["WorkerOptions",n.TYPE],["WriteParams",n.TYPE],["ANGLE_instanced_arrays",n.TYPE],["AbortController",n.TYPE_VALUE],["AbortSignalEventMap",n.TYPE],["AbortSignal",n.TYPE_VALUE],["AbstractWorkerEventMap",n.TYPE],["AbstractWorker",n.TYPE],["AnimationFrameProvider",n.TYPE],["AudioData",n.TYPE_VALUE],["AudioDecoderEventMap",n.TYPE],["AudioDecoder",n.TYPE_VALUE],["AudioEncoderEventMap",n.TYPE],["AudioEncoder",n.TYPE_VALUE],["Blob",n.TYPE_VALUE],["Body",n.TYPE],["BroadcastChannelEventMap",n.TYPE],["BroadcastChannel",n.TYPE_VALUE],["ByteLengthQueuingStrategy",n.TYPE_VALUE],["CSSImageValue",n.TYPE_VALUE],["CSSKeywordValue",n.TYPE_VALUE],["CSSMathClamp",n.TYPE_VALUE],["CSSMathInvert",n.TYPE_VALUE],["CSSMathMax",n.TYPE_VALUE],["CSSMathMin",n.TYPE_VALUE],["CSSMathNegate",n.TYPE_VALUE],["CSSMathProduct",n.TYPE_VALUE],["CSSMathSum",n.TYPE_VALUE],["CSSMathValue",n.TYPE_VALUE],["CSSMatrixComponent",n.TYPE_VALUE],["CSSNumericArray",n.TYPE_VALUE],["CSSNumericValue",n.TYPE_VALUE],["CSSPerspective",n.TYPE_VALUE],["CSSRotate",n.TYPE_VALUE],["CSSScale",n.TYPE_VALUE],["CSSSkew",n.TYPE_VALUE],["CSSSkewX",n.TYPE_VALUE],["CSSSkewY",n.TYPE_VALUE],["CSSStyleValue",n.TYPE_VALUE],["CSSTransformComponent",n.TYPE_VALUE],["CSSTransformValue",n.TYPE_VALUE],["CSSTranslate",n.TYPE_VALUE],["CSSUnitValue",n.TYPE_VALUE],["CSSUnparsedValue",n.TYPE_VALUE],["CSSVariableReferenceValue",n.TYPE_VALUE],["Cache",n.TYPE_VALUE],["CacheStorage",n.TYPE_VALUE],["CanvasCompositing",n.TYPE],["CanvasDrawImage",n.TYPE],["CanvasDrawPath",n.TYPE],["CanvasFillStrokeStyles",n.TYPE],["CanvasFilters",n.TYPE],["CanvasGradient",n.TYPE_VALUE],["CanvasImageData",n.TYPE],["CanvasImageSmoothing",n.TYPE],["CanvasPath",n.TYPE],["CanvasPathDrawingStyles",n.TYPE],["CanvasPattern",n.TYPE_VALUE],["CanvasRect",n.TYPE],["CanvasShadowStyles",n.TYPE],["CanvasState",n.TYPE],["CanvasText",n.TYPE],["CanvasTextDrawingStyles",n.TYPE],["CanvasTransform",n.TYPE],["Client",n.TYPE_VALUE],["Clients",n.TYPE_VALUE],["CloseEvent",n.TYPE_VALUE],["CompressionStream",n.TYPE_VALUE],["CookieStore",n.TYPE_VALUE],["CookieStoreManager",n.TYPE_VALUE],["CountQueuingStrategy",n.TYPE_VALUE],["Crypto",n.TYPE_VALUE],["CryptoKey",n.TYPE_VALUE],["CustomEvent",n.TYPE_VALUE],["DOMException",n.TYPE_VALUE],["DOMMatrix",n.TYPE_VALUE],["DOMMatrixReadOnly",n.TYPE_VALUE],["DOMPoint",n.TYPE_VALUE],["DOMPointReadOnly",n.TYPE_VALUE],["DOMQuad",n.TYPE_VALUE],["DOMRect",n.TYPE_VALUE],["DOMRectReadOnly",n.TYPE_VALUE],["DOMStringList",n.TYPE_VALUE],["DecompressionStream",n.TYPE_VALUE],["DedicatedWorkerGlobalScopeEventMap",n.TYPE],["DedicatedWorkerGlobalScope",n.TYPE_VALUE],["EXT_blend_minmax",n.TYPE],["EXT_color_buffer_float",n.TYPE],["EXT_color_buffer_half_float",n.TYPE],["EXT_float_blend",n.TYPE],["EXT_frag_depth",n.TYPE],["EXT_sRGB",n.TYPE],["EXT_shader_texture_lod",n.TYPE],["EXT_texture_compression_bptc",n.TYPE],["EXT_texture_compression_rgtc",n.TYPE],["EXT_texture_filter_anisotropic",n.TYPE],["EXT_texture_norm16",n.TYPE],["EncodedAudioChunk",n.TYPE_VALUE],["EncodedVideoChunk",n.TYPE_VALUE],["ErrorEvent",n.TYPE_VALUE],["Event",n.TYPE_VALUE],["EventListener",n.TYPE],["EventListenerObject",n.TYPE],["EventSourceEventMap",n.TYPE],["EventSource",n.TYPE_VALUE],["EventTarget",n.TYPE_VALUE],["ExtendableCookieChangeEvent",n.TYPE_VALUE],["ExtendableEvent",n.TYPE_VALUE],["ExtendableMessageEvent",n.TYPE_VALUE],["FetchEvent",n.TYPE_VALUE],["File",n.TYPE_VALUE],["FileList",n.TYPE_VALUE],["FileReaderEventMap",n.TYPE],["FileReader",n.TYPE_VALUE],["FileReaderSync",n.TYPE_VALUE],["FileSystemDirectoryHandle",n.TYPE_VALUE],["FileSystemFileHandle",n.TYPE_VALUE],["FileSystemHandle",n.TYPE_VALUE],["FileSystemSyncAccessHandle",n.TYPE_VALUE],["FileSystemWritableFileStream",n.TYPE_VALUE],["FontFace",n.TYPE_VALUE],["FontFaceSetEventMap",n.TYPE],["FontFaceSet",n.TYPE_VALUE],["FontFaceSetLoadEvent",n.TYPE_VALUE],["FontFaceSource",n.TYPE],["FormData",n.TYPE_VALUE],["GPU",n.TYPE_VALUE],["GPUAdapter",n.TYPE_VALUE],["GPUAdapterInfo",n.TYPE_VALUE],["GPUBindGroup",n.TYPE_VALUE],["GPUBindGroupLayout",n.TYPE_VALUE],["GPUBindingCommandsMixin",n.TYPE],["GPUBuffer",n.TYPE_VALUE],["GPUCanvasContext",n.TYPE_VALUE],["GPUCommandBuffer",n.TYPE_VALUE],["GPUCommandEncoder",n.TYPE_VALUE],["GPUCompilationInfo",n.TYPE_VALUE],["GPUCompilationMessage",n.TYPE_VALUE],["GPUComputePassEncoder",n.TYPE_VALUE],["GPUComputePipeline",n.TYPE_VALUE],["GPUDebugCommandsMixin",n.TYPE],["GPUDeviceEventMap",n.TYPE],["GPUDevice",n.TYPE_VALUE],["GPUDeviceLostInfo",n.TYPE_VALUE],["GPUError",n.TYPE_VALUE],["GPUExternalTexture",n.TYPE_VALUE],["GPUInternalError",n.TYPE_VALUE],["GPUObjectBase",n.TYPE],["GPUOutOfMemoryError",n.TYPE_VALUE],["GPUPipelineBase",n.TYPE],["GPUPipelineError",n.TYPE_VALUE],["GPUPipelineLayout",n.TYPE_VALUE],["GPUQuerySet",n.TYPE_VALUE],["GPUQueue",n.TYPE_VALUE],["GPURenderBundle",n.TYPE_VALUE],["GPURenderBundleEncoder",n.TYPE_VALUE],["GPURenderCommandsMixin",n.TYPE],["GPURenderPassEncoder",n.TYPE_VALUE],["GPURenderPipeline",n.TYPE_VALUE],["GPUSampler",n.TYPE_VALUE],["GPUShaderModule",n.TYPE_VALUE],["GPUSupportedFeatures",n.TYPE_VALUE],["GPUSupportedLimits",n.TYPE_VALUE],["GPUTexture",n.TYPE_VALUE],["GPUTextureView",n.TYPE_VALUE],["GPUUncapturedErrorEvent",n.TYPE_VALUE],["GPUValidationError",n.TYPE_VALUE],["GenericTransformStream",n.TYPE],["Headers",n.TYPE_VALUE],["IDBCursor",n.TYPE_VALUE],["IDBCursorWithValue",n.TYPE_VALUE],["IDBDatabaseEventMap",n.TYPE],["IDBDatabase",n.TYPE_VALUE],["IDBFactory",n.TYPE_VALUE],["IDBIndex",n.TYPE_VALUE],["IDBKeyRange",n.TYPE_VALUE],["IDBObjectStore",n.TYPE_VALUE],["IDBOpenDBRequestEventMap",n.TYPE],["IDBOpenDBRequest",n.TYPE_VALUE],["IDBRequestEventMap",n.TYPE],["IDBRequest",n.TYPE_VALUE],["IDBTransactionEventMap",n.TYPE],["IDBTransaction",n.TYPE_VALUE],["IDBVersionChangeEvent",n.TYPE_VALUE],["ImageBitmap",n.TYPE_VALUE],["ImageBitmapRenderingContext",n.TYPE_VALUE],["ImageData",n.TYPE_VALUE],["ImageDecoder",n.TYPE_VALUE],["ImageTrack",n.TYPE_VALUE],["ImageTrackList",n.TYPE_VALUE],["ImportMeta",n.TYPE],["KHR_parallel_shader_compile",n.TYPE],["Lock",n.TYPE_VALUE],["LockManager",n.TYPE_VALUE],["MediaCapabilities",n.TYPE_VALUE],["MediaSourceHandle",n.TYPE_VALUE],["MediaStreamTrackProcessor",n.TYPE_VALUE],["MessageChannel",n.TYPE_VALUE],["MessageEvent",n.TYPE_VALUE],["MessageEventTargetEventMap",n.TYPE],["MessageEventTarget",n.TYPE],["MessagePortEventMap",n.TYPE],["MessagePort",n.TYPE_VALUE],["NavigationPreloadManager",n.TYPE_VALUE],["NavigatorBadge",n.TYPE],["NavigatorConcurrentHardware",n.TYPE],["NavigatorGPU",n.TYPE],["NavigatorID",n.TYPE],["NavigatorLanguage",n.TYPE],["NavigatorLocks",n.TYPE],["NavigatorOnLine",n.TYPE],["NavigatorStorage",n.TYPE],["NotificationEventMap",n.TYPE],["Notification",n.TYPE_VALUE],["NotificationEvent",n.TYPE_VALUE],["OES_draw_buffers_indexed",n.TYPE],["OES_element_index_uint",n.TYPE],["OES_fbo_render_mipmap",n.TYPE],["OES_standard_derivatives",n.TYPE],["OES_texture_float",n.TYPE],["OES_texture_float_linear",n.TYPE],["OES_texture_half_float",n.TYPE],["OES_texture_half_float_linear",n.TYPE],["OES_vertex_array_object",n.TYPE],["OVR_multiview2",n.TYPE],["OffscreenCanvasEventMap",n.TYPE],["OffscreenCanvas",n.TYPE_VALUE],["OffscreenCanvasRenderingContext2D",n.TYPE_VALUE],["Path2D",n.TYPE_VALUE],["PerformanceEventMap",n.TYPE],["Performance",n.TYPE_VALUE],["PerformanceEntry",n.TYPE_VALUE],["PerformanceMark",n.TYPE_VALUE],["PerformanceMeasure",n.TYPE_VALUE],["PerformanceObserver",n.TYPE_VALUE],["PerformanceObserverEntryList",n.TYPE_VALUE],["PerformanceResourceTiming",n.TYPE_VALUE],["PerformanceServerTiming",n.TYPE_VALUE],["PermissionStatusEventMap",n.TYPE],["PermissionStatus",n.TYPE_VALUE],["Permissions",n.TYPE_VALUE],["ProgressEvent",n.TYPE_VALUE],["PromiseRejectionEvent",n.TYPE_VALUE],["PushEvent",n.TYPE_VALUE],["PushManager",n.TYPE_VALUE],["PushManagerAttribute",n.TYPE],["PushMessageData",n.TYPE_VALUE],["PushSubscription",n.TYPE_VALUE],["PushSubscriptionChangeEvent",n.TYPE_VALUE],["PushSubscriptionOptions",n.TYPE_VALUE],["RTCDataChannelEventMap",n.TYPE],["RTCDataChannel",n.TYPE_VALUE],["RTCEncodedAudioFrame",n.TYPE_VALUE],["RTCEncodedVideoFrame",n.TYPE_VALUE],["RTCRtpScriptTransformer",n.TYPE_VALUE],["RTCTransformEvent",n.TYPE_VALUE],["ReadableByteStreamController",n.TYPE_VALUE],["ReadableStream",n.TYPE_VALUE],["ReadableStreamBYOBReader",n.TYPE_VALUE],["ReadableStreamBYOBRequest",n.TYPE_VALUE],["ReadableStreamDefaultController",n.TYPE_VALUE],["ReadableStreamDefaultReader",n.TYPE_VALUE],["ReadableStreamGenericReader",n.TYPE],["ReportingObserver",n.TYPE_VALUE],["Request",n.TYPE_VALUE],["Response",n.TYPE_VALUE],["Scheduler",n.TYPE_VALUE],["SecurityPolicyViolationEvent",n.TYPE_VALUE],["ServiceWorkerEventMap",n.TYPE],["ServiceWorker",n.TYPE_VALUE],["ServiceWorkerContainerEventMap",n.TYPE],["ServiceWorkerContainer",n.TYPE_VALUE],["ServiceWorkerGlobalScopeEventMap",n.TYPE],["ServiceWorkerGlobalScope",n.TYPE_VALUE],["ServiceWorkerRegistrationEventMap",n.TYPE],["ServiceWorkerRegistration",n.TYPE_VALUE],["SharedWorkerGlobalScopeEventMap",n.TYPE],["SharedWorkerGlobalScope",n.TYPE_VALUE],["StorageManager",n.TYPE_VALUE],["StylePropertyMapReadOnly",n.TYPE_VALUE],["SubtleCrypto",n.TYPE_VALUE],["TaskController",n.TYPE_VALUE],["TaskPriorityChangeEvent",n.TYPE_VALUE],["TaskSignalEventMap",n.TYPE],["TaskSignal",n.TYPE_VALUE],["TextDecoder",n.TYPE_VALUE],["TextDecoderCommon",n.TYPE],["TextDecoderStream",n.TYPE_VALUE],["TextEncoder",n.TYPE_VALUE],["TextEncoderCommon",n.TYPE],["TextEncoderStream",n.TYPE_VALUE],["TextMetrics",n.TYPE_VALUE],["TransformStream",n.TYPE_VALUE],["TransformStreamDefaultController",n.TYPE_VALUE],["URL",n.TYPE_VALUE],["URLPattern",n.TYPE_VALUE],["URLSearchParams",n.TYPE_VALUE],["VideoColorSpace",n.TYPE_VALUE],["VideoDecoderEventMap",n.TYPE],["VideoDecoder",n.TYPE_VALUE],["VideoEncoderEventMap",n.TYPE],["VideoEncoder",n.TYPE_VALUE],["VideoFrame",n.TYPE_VALUE],["WEBGL_color_buffer_float",n.TYPE],["WEBGL_compressed_texture_astc",n.TYPE],["WEBGL_compressed_texture_etc",n.TYPE],["WEBGL_compressed_texture_etc1",n.TYPE],["WEBGL_compressed_texture_pvrtc",n.TYPE],["WEBGL_compressed_texture_s3tc",n.TYPE],["WEBGL_compressed_texture_s3tc_srgb",n.TYPE],["WEBGL_debug_renderer_info",n.TYPE],["WEBGL_debug_shaders",n.TYPE],["WEBGL_depth_texture",n.TYPE],["WEBGL_draw_buffers",n.TYPE],["WEBGL_lose_context",n.TYPE],["WEBGL_multi_draw",n.TYPE],["WGSLLanguageFeatures",n.TYPE_VALUE],["WebGL2RenderingContext",n.TYPE_VALUE],["WebGL2RenderingContextBase",n.TYPE],["WebGL2RenderingContextOverloads",n.TYPE],["WebGLActiveInfo",n.TYPE_VALUE],["WebGLBuffer",n.TYPE_VALUE],["WebGLContextEvent",n.TYPE_VALUE],["WebGLFramebuffer",n.TYPE_VALUE],["WebGLProgram",n.TYPE_VALUE],["WebGLQuery",n.TYPE_VALUE],["WebGLRenderbuffer",n.TYPE_VALUE],["WebGLRenderingContext",n.TYPE_VALUE],["WebGLRenderingContextBase",n.TYPE],["WebGLRenderingContextOverloads",n.TYPE],["WebGLSampler",n.TYPE_VALUE],["WebGLShader",n.TYPE_VALUE],["WebGLShaderPrecisionFormat",n.TYPE_VALUE],["WebGLSync",n.TYPE_VALUE],["WebGLTexture",n.TYPE_VALUE],["WebGLTransformFeedback",n.TYPE_VALUE],["WebGLUniformLocation",n.TYPE_VALUE],["WebGLVertexArrayObject",n.TYPE_VALUE],["WebGLVertexArrayObjectOES",n.TYPE],["WebSocketEventMap",n.TYPE],["WebSocket",n.TYPE_VALUE],["WebTransport",n.TYPE_VALUE],["WebTransportBidirectionalStream",n.TYPE_VALUE],["WebTransportDatagramDuplexStream",n.TYPE_VALUE],["WebTransportError",n.TYPE_VALUE],["WindowClient",n.TYPE_VALUE],["WindowOrWorkerGlobalScope",n.TYPE],["WorkerEventMap",n.TYPE],["Worker",n.TYPE_VALUE],["WorkerGlobalScopeEventMap",n.TYPE],["WorkerGlobalScope",n.TYPE_VALUE],["WorkerLocation",n.TYPE_VALUE],["WorkerNavigator",n.TYPE_VALUE],["WritableStream",n.TYPE_VALUE],["WritableStreamDefaultController",n.TYPE_VALUE],["WritableStreamDefaultWriter",n.TYPE_VALUE],["XMLHttpRequestEventMap",n.TYPE],["XMLHttpRequest",n.TYPE_VALUE],["XMLHttpRequestEventTargetEventMap",n.TYPE],["XMLHttpRequestEventTarget",n.TYPE_VALUE],["XMLHttpRequestUpload",n.TYPE_VALUE],["WebAssembly",n.TYPE_VALUE],["Console",n.TYPE],["AudioDataOutputCallback",n.TYPE],["EncodedAudioChunkOutputCallback",n.TYPE],["EncodedVideoChunkOutputCallback",n.TYPE],["FrameRequestCallback",n.TYPE],["LockGrantedCallback",n.TYPE],["OnErrorEventHandlerNonNull",n.TYPE],["PerformanceObserverCallback",n.TYPE],["QueuingStrategySize",n.TYPE],["ReportingObserverCallback",n.TYPE],["SchedulerPostTaskCallback",n.TYPE],["TransformerFlushCallback",n.TYPE],["TransformerStartCallback",n.TYPE],["TransformerTransformCallback",n.TYPE],["UnderlyingSinkAbortCallback",n.TYPE],["UnderlyingSinkCloseCallback",n.TYPE],["UnderlyingSinkStartCallback",n.TYPE],["UnderlyingSinkWriteCallback",n.TYPE],["UnderlyingSourceCancelCallback",n.TYPE],["UnderlyingSourcePullCallback",n.TYPE],["UnderlyingSourceStartCallback",n.TYPE],["VideoFrameOutputCallback",n.TYPE],["VoidFunction",n.TYPE],["WebCodecsErrorCallback",n.TYPE],["AlgorithmIdentifier",n.TYPE],["AllowSharedBufferSource",n.TYPE],["BigInteger",n.TYPE],["BlobPart",n.TYPE],["BodyInit",n.TYPE],["BufferSource",n.TYPE],["CSSKeywordish",n.TYPE],["CSSNumberish",n.TYPE],["CSSPerspectiveValue",n.TYPE],["CSSUnparsedSegment",n.TYPE],["CanvasImageSource",n.TYPE],["CookieList",n.TYPE],["DOMHighResTimeStamp",n.TYPE],["EpochTimeStamp",n.TYPE],["EventListenerOrEventListenerObject",n.TYPE],["FileSystemWriteChunkType",n.TYPE],["Float32List",n.TYPE],["FormDataEntryValue",n.TYPE],["GLbitfield",n.TYPE],["GLboolean",n.TYPE],["GLclampf",n.TYPE],["GLenum",n.TYPE],["GLfloat",n.TYPE],["GLint",n.TYPE],["GLint64",n.TYPE],["GLintptr",n.TYPE],["GLsizei",n.TYPE],["GLsizeiptr",n.TYPE],["GLuint",n.TYPE],["GLuint64",n.TYPE],["GPUBindingResource",n.TYPE],["GPUBufferDynamicOffset",n.TYPE],["GPUBufferUsageFlags",n.TYPE],["GPUColor",n.TYPE],["GPUColorWriteFlags",n.TYPE],["GPUCopyExternalImageSource",n.TYPE],["GPUDepthBias",n.TYPE],["GPUExtent3D",n.TYPE],["GPUFlagsConstant",n.TYPE],["GPUIndex32",n.TYPE],["GPUIntegerCoordinate",n.TYPE],["GPUIntegerCoordinateOut",n.TYPE],["GPUMapModeFlags",n.TYPE],["GPUOrigin2D",n.TYPE],["GPUOrigin3D",n.TYPE],["GPUPipelineConstantValue",n.TYPE],["GPUSampleMask",n.TYPE],["GPUShaderStageFlags",n.TYPE],["GPUSignedOffset32",n.TYPE],["GPUSize32",n.TYPE],["GPUSize32Out",n.TYPE],["GPUSize64",n.TYPE],["GPUSize64Out",n.TYPE],["GPUStencilValue",n.TYPE],["GPUTextureUsageFlags",n.TYPE],["HashAlgorithmIdentifier",n.TYPE],["HeadersInit",n.TYPE],["IDBValidKey",n.TYPE],["ImageBitmapSource",n.TYPE],["ImageBufferSource",n.TYPE],["ImageDataArray",n.TYPE],["Int32List",n.TYPE],["MessageEventSource",n.TYPE],["NamedCurve",n.TYPE],["OffscreenRenderingContext",n.TYPE],["OnErrorEventHandler",n.TYPE],["PerformanceEntryList",n.TYPE],["PushMessageDataInit",n.TYPE],["ReadableStreamController",n.TYPE],["ReadableStreamReadResult",n.TYPE],["ReadableStreamReader",n.TYPE],["ReportList",n.TYPE],["RequestInfo",n.TYPE],["TexImageSource",n.TYPE],["TimerHandler",n.TYPE],["Transferable",n.TYPE],["URLPatternInput",n.TYPE],["Uint32List",n.TYPE],["XMLHttpRequestBodyInit",n.TYPE],["AacBitstreamFormat",n.TYPE],["AlphaOption",n.TYPE],["AudioSampleFormat",n.TYPE],["AvcBitstreamFormat",n.TYPE],["BinaryType",n.TYPE],["BitrateMode",n.TYPE],["CSSMathOperator",n.TYPE],["CSSNumericBaseType",n.TYPE],["CanvasDirection",n.TYPE],["CanvasFillRule",n.TYPE],["CanvasFontKerning",n.TYPE],["CanvasFontStretch",n.TYPE],["CanvasFontVariantCaps",n.TYPE],["CanvasLineCap",n.TYPE],["CanvasLineJoin",n.TYPE],["CanvasTextAlign",n.TYPE],["CanvasTextBaseline",n.TYPE],["CanvasTextRendering",n.TYPE],["ClientTypes",n.TYPE],["CodecState",n.TYPE],["ColorGamut",n.TYPE],["ColorSpaceConversion",n.TYPE],["CompressionFormat",n.TYPE],["CookieSameSite",n.TYPE],["DocumentVisibilityState",n.TYPE],["EncodedAudioChunkType",n.TYPE],["EncodedVideoChunkType",n.TYPE],["EndingType",n.TYPE],["FileSystemHandleKind",n.TYPE],["FontDisplay",n.TYPE],["FontFaceLoadStatus",n.TYPE],["FontFaceSetLoadStatus",n.TYPE],["FrameType",n.TYPE],["GPUAddressMode",n.TYPE],["GPUAutoLayoutMode",n.TYPE],["GPUBlendFactor",n.TYPE],["GPUBlendOperation",n.TYPE],["GPUBufferBindingType",n.TYPE],["GPUBufferMapState",n.TYPE],["GPUCanvasAlphaMode",n.TYPE],["GPUCanvasToneMappingMode",n.TYPE],["GPUCompareFunction",n.TYPE],["GPUCompilationMessageType",n.TYPE],["GPUCullMode",n.TYPE],["GPUDeviceLostReason",n.TYPE],["GPUErrorFilter",n.TYPE],["GPUFeatureName",n.TYPE],["GPUFilterMode",n.TYPE],["GPUFrontFace",n.TYPE],["GPUIndexFormat",n.TYPE],["GPULoadOp",n.TYPE],["GPUMipmapFilterMode",n.TYPE],["GPUPipelineErrorReason",n.TYPE],["GPUPowerPreference",n.TYPE],["GPUPrimitiveTopology",n.TYPE],["GPUQueryType",n.TYPE],["GPUSamplerBindingType",n.TYPE],["GPUStencilOperation",n.TYPE],["GPUStorageTextureAccess",n.TYPE],["GPUStoreOp",n.TYPE],["GPUTextureAspect",n.TYPE],["GPUTextureDimension",n.TYPE],["GPUTextureFormat",n.TYPE],["GPUTextureSampleType",n.TYPE],["GPUTextureViewDimension",n.TYPE],["GPUVertexFormat",n.TYPE],["GPUVertexStepMode",n.TYPE],["GlobalCompositeOperation",n.TYPE],["HardwareAcceleration",n.TYPE],["HdrMetadataType",n.TYPE],["IDBCursorDirection",n.TYPE],["IDBRequestReadyState",n.TYPE],["IDBTransactionDurability",n.TYPE],["IDBTransactionMode",n.TYPE],["ImageDataPixelFormat",n.TYPE],["ImageOrientation",n.TYPE],["ImageSmoothingQuality",n.TYPE],["KeyFormat",n.TYPE],["KeyType",n.TYPE],["KeyUsage",n.TYPE],["LatencyMode",n.TYPE],["LockMode",n.TYPE],["MediaDecodingType",n.TYPE],["MediaEncodingType",n.TYPE],["MediaKeysRequirement",n.TYPE],["NotificationDirection",n.TYPE],["NotificationPermission",n.TYPE],["OffscreenRenderingContextId",n.TYPE],["OpusBitstreamFormat",n.TYPE],["PermissionName",n.TYPE],["PermissionState",n.TYPE],["PredefinedColorSpace",n.TYPE],["PremultiplyAlpha",n.TYPE],["PushEncryptionKeyName",n.TYPE],["RTCDataChannelState",n.TYPE],["ReadableStreamReaderMode",n.TYPE],["ReadableStreamType",n.TYPE],["ReferrerPolicy",n.TYPE],["RequestCache",n.TYPE],["RequestCredentials",n.TYPE],["RequestDestination",n.TYPE],["RequestMode",n.TYPE],["RequestPriority",n.TYPE],["RequestRedirect",n.TYPE],["ResizeQuality",n.TYPE],["ResponseType",n.TYPE],["SecurityPolicyViolationEventDisposition",n.TYPE],["ServiceWorkerState",n.TYPE],["ServiceWorkerUpdateViaCache",n.TYPE],["TaskPriority",n.TYPE],["TransferFunction",n.TYPE],["VideoColorPrimaries",n.TYPE],["VideoEncoderBitrateMode",n.TYPE],["VideoMatrixCoefficients",n.TYPE],["VideoPixelFormat",n.TYPE],["VideoTransferCharacteristics",n.TYPE],["WebGLPowerPreference",n.TYPE],["WebTransportCongestionControl",n.TYPE],["WebTransportErrorSource",n.TYPE],["WorkerType",n.TYPE],["WriteCommandType",n.TYPE],["XMLHttpRequestResponseType",n.TYPE],["FormDataIterator",n.TYPE],["HeadersIterator",n.TYPE],["StylePropertyMapReadOnlyIterator",n.TYPE],["URLSearchParamsIterator",n.TYPE],["FileSystemDirectoryHandleAsyncIterator",n.TYPE],["ReadableStreamAsyncIterator",n.TYPE]]}});var HE=E(Fs=>{"use strict";Object.defineProperty(Fs,"__esModule",{value:!0});Fs.webworker_asynciterable=void 0;Fs.webworker_asynciterable={libs:[],variables:[]}});var QE=E(Gs=>{"use strict";Object.defineProperty(Gs,"__esModule",{value:!0});Gs.webworker_iterable=void 0;Gs.webworker_iterable={libs:[],variables:[]}});var XE=E(Bs=>{"use strict";Object.defineProperty(Bs,"__esModule",{value:!0});Bs.lib=void 0;var yY=Zr(),mY=Oa(),_Y=Pe(),YY=Re(),bY=ge(),gY=ur(),SY=fE(),vY=dE(),AY=Rt(),hY=ni(),UY=oi(),LY=ui(),VY=Ee(),CY=pi(),IY=Pi(),MY=di(),xY=Te(),OY=lt(),RY=Ci(),DY=Ai(),wY=yE(),qY=Ui(),kY=ji(),FY=Da(),GY=wa(),BY=mE(),jY=qa(),NY=ka(),WY=Fa(),KY=Ga(),HY=Ba(),QY=Ji(),XY=Na(),JY=_t(),$Y=_E(),zY=pr(),ZY=Wa(),eb=Ha(),tb=sn(),rb=Xa(),ib=YE(),nb=Ja(),sb=$a(),ob=za(),ab=Za(),lb=mn(),cb=Tr(),ub=el(),Eb=bE(),pb=Ze(),Tb=tl(),Pb=rl(),fb=il(),db=sl(),yb=fn(),mb=Un(),_b=gE(),Yb=ol(),bb=gn(),gb=ll(),Sb=cl(),vb=wn(),Ab=ul(),hb=El(),Ub=SE(),Lb=pl(),Vb=Tl(),Cb=Pl(),Ib=fl(),Mb=jn(),xb=dl(),Ob=yl(),Rb=vE(),Db=ml(),wb=es(),qb=_l(),kb=Hn(),Fb=UE(),Gb=Yl(),Bb=bl(),jb=gl(),Nb=vl(),Wb=Al(),Kb=ps(),Hb=is(),Qb=Ul(),Xb=VE(),Jb=as(),$b=Ll(),zb=Vl(),Zb=Cl(),eg=Fl(),tg=Il(),rg=xE(),ig=OE(),ng=Ml(),sg=xl(),og=Ol(),ag=Rl(),lg=Dl(),cg=RE(),ug=DE(),Eg=wl(),pg=qE(),Tg=kE(),Pg=FE(),fg=GE(),dg=ql(),yg=BE(),mg=jE(),_g=Pr(),Yg=kl(),bg=NE(),gg=WE(),Sg=fe(),vg=KE(),Ag=HE(),hg=de(),Ug=QE();Bs.lib=new Map([["es5",gY.es5],["es6",SY.es6],["es2015",AY.es2015],["es7",vY.es7],["es2016",RY.es2016],["es2017",kY.es2017],["es2018",QY.es2018],["es2019",tb.es2019],["es2020",lb.es2020],["es2021",mb.es2021],["es2022",vb.es2022],["es2023",Mb.es2023],["es2024",wb.es2024],["es2025",Kb.es2025],["esnext",eg.esnext],["dom",_Y.dom],["dom.iterable",bY.dom_iterable],["dom.asynciterable",YY.dom_asynciterable],["webworker",vg.webworker],["webworker.importscripts",hg.webworker_importscripts],["webworker.iterable",Ug.webworker_iterable],["webworker.asynciterable",Ag.webworker_asynciterable],["scripthost",Sg.scripthost],["es2015.core",UY.es2015_core],["es2015.collection",hY.es2015_collection],["es2015.generator",LY.es2015_generator],["es2015.iterable",VY.es2015_iterable],["es2015.promise",CY.es2015_promise],["es2015.proxy",IY.es2015_proxy],["es2015.reflect",MY.es2015_reflect],["es2015.symbol",xY.es2015_symbol],["es2015.symbol.wellknown",OY.es2015_symbol_wellknown],["es2016.array.include",DY.es2016_array_include],["es2016.intl",qY.es2016_intl],["es2017.arraybuffer",FY.es2017_arraybuffer],["es2017.date",GY.es2017_date],["es2017.object",NY.es2017_object],["es2017.sharedmemory",WY.es2017_sharedmemory],["es2017.string",KY.es2017_string],["es2017.intl",jY.es2017_intl],["es2017.typedarrays",HY.es2017_typedarrays],["es2018.asyncgenerator",XY.es2018_asyncgenerator],["es2018.asynciterable",JY.es2018_asynciterable],["es2018.intl",zY.es2018_intl],["es2018.promise",ZY.es2018_promise],["es2018.regexp",eb.es2018_regexp],["es2019.array",rb.es2019_array],["es2019.object",sb.es2019_object],["es2019.string",ob.es2019_string],["es2019.symbol",ab.es2019_symbol],["es2019.intl",nb.es2019_intl],["es2020.bigint",cb.es2020_bigint],["es2020.date",ub.es2020_date],["es2020.promise",Pb.es2020_promise],["es2020.sharedmemory",fb.es2020_sharedmemory],["es2020.string",db.es2020_string],["es2020.symbol.wellknown",yb.es2020_symbol_wellknown],["es2020.intl",pb.es2020_intl],["es2020.number",Tb.es2020_number],["es2021.promise",bb.es2021_promise],["es2021.string",gb.es2021_string],["es2021.weakref",Sb.es2021_weakref],["es2021.intl",Yb.es2021_intl],["es2022.array",Ab.es2022_array],["es2022.error",hb.es2022_error],["es2022.intl",Lb.es2022_intl],["es2022.object",Vb.es2022_object],["es2022.string",Ib.es2022_string],["es2022.regexp",Cb.es2022_regexp],["es2023.array",xb.es2023_array],["es2023.collection",Ob.es2023_collection],["es2023.intl",Db.es2023_intl],["es2024.arraybuffer",qb.es2024_arraybuffer],["es2024.collection",kb.es2024_collection],["es2024.object",Gb.es2024_object],["es2024.promise",Bb.es2024_promise],["es2024.regexp",jb.es2024_regexp],["es2024.sharedmemory",Nb.es2024_sharedmemory],["es2024.string",Wb.es2024_string],["es2025.collection",Hb.es2025_collection],["es2025.float16",Qb.es2025_float16],["es2025.intl",Jb.es2025_intl],["es2025.iterator",$b.es2025_iterator],["es2025.promise",zb.es2025_promise],["es2025.regexp",Zb.es2025_regexp],["esnext.asynciterable",rg.esnext_asynciterable],["esnext.symbol",mg.esnext_symbol],["esnext.bigint",ig.esnext_bigint],["esnext.weakref",bg.esnext_weakref],["esnext.object",Tg.esnext_object],["esnext.regexp",fg.esnext_regexp],["esnext.string",yg.esnext_string],["esnext.float16",cg.esnext_float16],["esnext.iterator",pg.esnext_iterator],["esnext.promise",Pg.esnext_promise],["esnext.array",tg.esnext_array],["esnext.collection",ng.esnext_collection],["esnext.date",sg.esnext_date],["esnext.decorators",og.esnext_decorators],["esnext.disposable",ag.esnext_disposable],["esnext.error",lg.esnext_error],["esnext.intl",Eg.esnext_intl],["esnext.sharedmemory",dg.esnext_sharedmemory],["esnext.temporal",_g.esnext_temporal],["esnext.typedarrays",Yg.esnext_typedarrays],["decorators",yY.decorators],["decorators.legacy",mY.decorators_legacy],["es2016.full",wY.es2016_full],["es2017.full",BY.es2017_full],["es2018.full",$Y.es2018_full],["es2019.full",ib.es2019_full],["es2020.full",Eb.es2020_full],["es2021.full",_b.es2021_full],["es2022.full",Ub.es2022_full],["es2023.full",Rb.es2023_full],["es2024.full",Fb.es2024_full],["es2025.full",Xb.es2025_full],["esnext.full",ug.esnext_full],["lib",gg.lib]])});var js=E(ct=>{"use strict";Object.defineProperty(ct,"__esModule",{value:!0});ct.Reference=ct.ReferenceTypeFlag=ct.ReferenceFlag=void 0;var Lg=cr(),Yt;(function(r){r[r.Read=1]="Read",r[r.Write=2]="Write",r[r.ReadWrite=3]="ReadWrite"})(Yt||(ct.ReferenceFlag=Yt={}));var Vg=(0,Lg.createIdGenerator)(),dr;(function(r){r[r.Value=1]="Value",r[r.Type=2]="Type"})(dr||(ct.ReferenceTypeFlag=dr={}));var Gl=class{$id=Vg();#e;from;identifier;init;maybeImplicitGlobal;resolved;writeExpr;#t;constructor(t,i,s,o,a,c,l=dr.Value){this.identifier=t,this.from=i,this.resolved=null,this.#e=s,this.isWrite()&&(this.writeExpr=o,this.init=c),this.maybeImplicitGlobal=a,this.#t=l}get isTypeReference(){return(this.#t&dr.Type)!==0}get isValueReference(){return(this.#t&dr.Value)!==0}isWrite(){return!!(this.#e&Yt.Write)}isRead(){return!!(this.#e&Yt.Read)}isReadOnly(){return this.#e===Yt.Read}isWriteOnly(){return this.#e===Yt.Write}isReadWrite(){return this.#e===Yt.ReadWrite}};ct.Reference=Gl});var jl=E(Ns=>{"use strict";Object.defineProperty(Ns,"__esModule",{value:!0});Ns.VariableBase=void 0;var Cg=cr(),Ig=(0,Cg.createIdGenerator)(),Bl=class{$id=Ig();defs=[];eslintUsed=!1;identifiers=[];name;references=[];scope;constructor(t,i){this.name=t,this.scope=i}};Ns.VariableBase=Bl});var Wl=E(Ws=>{"use strict";Object.defineProperty(Ws,"__esModule",{value:!0});Ws.ESLintScopeVariable=void 0;var Mg=jl(),Nl=class extends Mg.VariableBase{writeable;eslintExplicitGlobal;eslintImplicitGlobalSetting;eslintExplicitGlobalComments};Ws.ESLintScopeVariable=Nl});var JE=E(Ks=>{"use strict";Object.defineProperty(Ks,"__esModule",{value:!0});Ks.ImplicitLibVariable=void 0;var xg=Wl(),Kl=class extends xg.ESLintScopeVariable{isTypeVariable;isValueVariable;constructor(t,i,{eslintImplicitGlobalSetting:s,isTypeVariable:o,isValueVariable:a,writeable:c}){super(i,t),this.isTypeVariable=o??!1,this.isValueVariable=a??!1,this.writeable=c??!1,this.eslintImplicitGlobalSetting=s??"readonly"}};Ks.ImplicitLibVariable=Kl});var $E=E(Hs=>{"use strict";Object.defineProperty(Hs,"__esModule",{value:!0});Hs.Variable=void 0;var Og=jl(),Hl=class extends Og.VariableBase{get isTypeVariable(){return this.defs.length===0?!0:this.defs.some(t=>t.isTypeDefinition)}get isValueVariable(){return this.defs.length===0?!0:this.defs.some(t=>t.isVariableDefinition)}};Hs.Variable=Hl});var Qs=E(ut=>{"use strict";Object.defineProperty(ut,"__esModule",{value:!0});ut.Variable=ut.ImplicitLibVariable=ut.ESLintScopeVariable=void 0;var Rg=Wl();Object.defineProperty(ut,"ESLintScopeVariable",{enumerable:!0,get:function(){return Rg.ESLintScopeVariable}});var Dg=JE();Object.defineProperty(ut,"ImplicitLibVariable",{enumerable:!0,get:function(){return Dg.ImplicitLibVariable}});var wg=$E();Object.defineProperty(ut,"Variable",{enumerable:!0,get:function(){return wg.Variable}})});var Q=E(Xs=>{"use strict";Object.defineProperty(Xs,"__esModule",{value:!0});Xs.ScopeType=void 0;var zE;(function(r){r.block="block",r.catch="catch",r.class="class",r.classFieldInitializer="class-field-initializer",r.classStaticBlock="class-static-block",r.conditionalType="conditionalType",r.for="for",r.function="function",r.functionExpressionName="function-expression-name",r.functionType="functionType",r.global="global",r.mappedType="mappedType",r.module="module",r.switch="switch",r.tsEnum="tsEnum",r.tsModule="tsModule",r.type="type",r.with="with"})(zE||(Xs.ScopeType=zE={}))});var te=E($s=>{"use strict";Object.defineProperty($s,"__esModule",{value:!0});$s.ScopeBase=void 0;var Js=Ge(),qg=Ot(),kg=cr(),Xe=js(),Fg=Qs(),J=Q();function Gg(r,t,i){let s;if(r.upper?.isStrict||i||r.type===J.ScopeType.class||r.type===J.ScopeType.conditionalType||r.type===J.ScopeType.functionType||r.type===J.ScopeType.mappedType||r.type===J.ScopeType.module||r.type===J.ScopeType.tsEnum||r.type===J.ScopeType.tsModule||r.type===J.ScopeType.type)return!0;if(r.type===J.ScopeType.block||r.type===J.ScopeType.switch)return!1;if(r.type===J.ScopeType.function){let o=t;switch(o.type){case Js.AST_NODE_TYPES.ArrowFunctionExpression:if(o.body.type!==Js.AST_NODE_TYPES.BlockStatement)return!1;s=o.body;break;case Js.AST_NODE_TYPES.Program:s=o;break;default:s=o.body}if(!s)return!1}else if(r.type===J.ScopeType.global)s=t;else return!1;for(let o of s.body){if(o.type!==Js.AST_NODE_TYPES.ExpressionStatement||o.directive==null)break;if(o.directive==="use strict")return!0}return!1}function Bg(r,t){r.scopes.push(t);let i=r.nodeToScope.get(t.block);i?i.push(t):r.nodeToScope.set(t.block,[t])}var jg=(0,kg.createIdGenerator)(),Ng=new Set([J.ScopeType.classFieldInitializer,J.ScopeType.classStaticBlock,J.ScopeType.function,J.ScopeType.global,J.ScopeType.module,J.ScopeType.tsModule]),Ql=class{$id=jg();block;childScopes=[];#e;#t;functionExpressionScope=!1;isStrict;leftToResolve=[];references=[];set=new Map;through=[];type;upper;variables=[];#r=t=>{let i=this;do i.through.push(t),i=i.upper;while(i)};#i=t=>{(()=>{let s=t.identifier.name,o=this.set.get(s);if(!o||!this.isValidResolution(t,o))return!1;let a=t.isTypeReference&&o.isTypeVariable,c=t.isValueReference&&o.isValueVariable;return!a&&!c?!1:(o.references.push(t),t.resolved=o,!0)})()||this.delegateToUpperScope(t)};variableScope;constructor(t,i,s,o,a){let c=s;this.type=i,this.#t=this.type===J.ScopeType.global||this.type===J.ScopeType.with,this.block=o,this.variableScope=this.isVariableScope()?this:c.variableScope,this.upper=s,this.isStrict=Gg(this,o,a),c?.childScopes.push(this),this.#e=t.declaredVariables,Bg(t,this)}isVariableScope(){return Ng.has(this.type)}close(t){let i=this.shouldStaticallyClose()?this.#i:this.#r;return(0,qg.assert)(this.leftToResolve),this.leftToResolve.forEach(s=>i(s)),this.leftToResolve=null,this.upper}shouldStaticallyClose(){return!this.#t||this.type==="global"}defineVariable(t,i,s,o,a){let c=typeof t=="string"?t:t.name,l=i.get(c);l||(l=typeof t=="string"?new Fg.Variable(c,this):t,i.set(c,l),s.push(l)),a&&(l.defs.push(a),this.addDeclaredVariablesOfNode(l,a.node),this.addDeclaredVariablesOfNode(l,a.parent)),o&&l.identifiers.push(o)}delegateToUpperScope(t){this.upper?.leftToResolve?.push(t),this.through.push(t)}isValidResolution(t,i){return!0}addDeclaredVariablesOfNode(t,i){if(i==null)return;let s=this.#e.get(i);s==null&&(s=[],this.#e.set(i,s)),s.includes(t)||s.push(t)}defineIdentifier(t,i){this.defineVariable(t.name,this.set,this.variables,t,i)}defineLiteralIdentifier(t,i){this.defineVariable(t.value,this.set,this.variables,null,i)}referenceDualValueType(t){let i=new Xe.Reference(t,this,Xe.ReferenceFlag.Read,null,null,!1,Xe.ReferenceTypeFlag.Type|Xe.ReferenceTypeFlag.Value);this.references.push(i),this.leftToResolve?.push(i)}referenceType(t){let i=new Xe.Reference(t,this,Xe.ReferenceFlag.Read,null,null,!1,Xe.ReferenceTypeFlag.Type);this.references.push(i),this.leftToResolve?.push(i)}referenceValue(t,i=Xe.ReferenceFlag.Read,s,o,a=!1){let c=new Xe.Reference(t,this,i,s,o,a,Xe.ReferenceTypeFlag.Value);this.references.push(c),this.leftToResolve?.push(c)}};$s.ScopeBase=Ql});var ZE=E(zs=>{"use strict";Object.defineProperty(zs,"__esModule",{value:!0});zs.BlockScope=void 0;var Wg=te(),Kg=Q(),Xl=class extends Wg.ScopeBase{constructor(t,i,s){super(t,Kg.ScopeType.block,i,s,!1)}};zs.BlockScope=Xl});var ep=E(Zs=>{"use strict";Object.defineProperty(Zs,"__esModule",{value:!0});Zs.CatchScope=void 0;var Hg=te(),Qg=Q(),Jl=class extends Hg.ScopeBase{constructor(t,i,s){super(t,Qg.ScopeType.catch,i,s,!1)}};Zs.CatchScope=Jl});var zl=E(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.ClassFieldInitializerScope=void 0;var Xg=te(),Jg=Q(),$l=class extends Xg.ScopeBase{constructor(t,i,s){super(t,Jg.ScopeType.classFieldInitializer,i,s,!1)}};eo.ClassFieldInitializerScope=$l});var tp=E(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.ClassScope=void 0;var $g=te(),zg=Q(),Zl=class extends $g.ScopeBase{constructor(t,i,s){super(t,zg.ScopeType.class,i,s,!1)}};to.ClassScope=Zl});var tc=E(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.ClassStaticBlockScope=void 0;var Zg=te(),eS=Q(),ec=class extends Zg.ScopeBase{constructor(t,i,s){super(t,eS.ScopeType.classStaticBlock,i,s,!1)}};ro.ClassStaticBlockScope=ec});var rp=E(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});io.ConditionalTypeScope=void 0;var tS=te(),rS=Q(),rc=class extends tS.ScopeBase{constructor(t,i,s){super(t,rS.ScopeType.conditionalType,i,s,!1)}};io.ConditionalTypeScope=rc});var ip=E(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.ForScope=void 0;var iS=te(),nS=Q(),ic=class extends iS.ScopeBase{constructor(t,i,s){super(t,nS.ScopeType.for,i,s,!1)}};no.ForScope=ic});var np=E(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});so.FunctionExpressionNameScope=void 0;var sS=mt(),oS=te(),aS=Q(),nc=class extends oS.ScopeBase{functionExpressionScope;constructor(t,i,s){super(t,aS.ScopeType.functionExpressionName,i,s,!1),s.id&&this.defineIdentifier(s.id,new sS.FunctionNameDefinition(s.id,s)),this.functionExpressionScope=!0}};so.FunctionExpressionNameScope=nc});var op=E(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.FunctionScope=void 0;var sp=Ge(),lS=te(),cS=Q(),sc=class extends lS.ScopeBase{constructor(t,i,s,o){super(t,cS.ScopeType.function,i,s,o),this.block.type!==sp.AST_NODE_TYPES.ArrowFunctionExpression&&this.defineVariable("arguments",this.set,this.variables,null,null)}isValidResolution(t,i){if(this.block.type===sp.AST_NODE_TYPES.Program)return!0;let s=this.block.body?.range[0]??-1;return!(i.scope===this&&t.identifier.range[0]<s&&i.defs.every(o=>o.name.range[0]>=s))}};oo.FunctionScope=sc});var ap=E(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.FunctionTypeScope=void 0;var uS=te(),ES=Q(),oc=class extends uS.ScopeBase{constructor(t,i,s){super(t,ES.ScopeType.functionType,i,s,!1)}};ao.FunctionTypeScope=oc});var cp=E(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.GlobalScope=void 0;var pS=Ge(),lp=Ot(),TS=ha(),PS=Qs(),fS=te(),dS=Q(),ac=class extends fS.ScopeBase{implicit;constructor(t,i){super(t,dS.ScopeType.global,null,i,!1),this.implicit={leftToBeResolved:[],set:new Map,variables:[]}}addVariables(t){for(let s of t)this.defineVariable(s,this.set,this.variables,null,null),this.implicit.set.delete(s);let i=new Set(t);for(let s of this.through)if(i.has(s.identifier.name)){let o=this.set.get(s.identifier.name);(0,lp.assert)(o,`Expected variable with name "${s.identifier.name}" to be specified.`),s.resolved=o,o.references.push(s)}this.through=this.through.filter(s=>!i.has(s.identifier.name)),this.implicit.variables=this.implicit.variables.filter(s=>!i.has(s.name)),this.implicit.leftToBeResolved=this.implicit.leftToBeResolved.filter(s=>!i.has(s.identifier.name))}close(t){(0,lp.assert)(this.leftToResolve);for(let i of this.leftToResolve)if(i.maybeImplicitGlobal&&!this.set.has(i.identifier.name)){let s=i.maybeImplicitGlobal,o=s.pattern;o.type===pS.AST_NODE_TYPES.Identifier&&this.defineVariable(o.name,this.implicit.set,this.implicit.variables,o,new TS.ImplicitGlobalVariableDefinition(s.pattern,s.node))}return this.implicit.leftToBeResolved=this.leftToResolve,super.close(t),this.implicit.leftToBeResolved=[...this.through],null}defineImplicitVariable(t,i){this.defineVariable(new PS.ImplicitLibVariable(this,t,i),this.set,this.variables,null,null)}};lo.GlobalScope=ac});var up=E(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.MappedTypeScope=void 0;var yS=te(),mS=Q(),lc=class extends yS.ScopeBase{constructor(t,i,s){super(t,mS.ScopeType.mappedType,i,s,!1)}};co.MappedTypeScope=lc});var Ep=E(uo=>{"use strict";Object.defineProperty(uo,"__esModule",{value:!0});uo.ModuleScope=void 0;var _S=te(),YS=Q(),cc=class extends _S.ScopeBase{constructor(t,i,s){super(t,YS.ScopeType.module,i,s,!1)}};uo.ModuleScope=cc});var Tp=E(pp=>{"use strict";Object.defineProperty(pp,"__esModule",{value:!0})});var Pp=E(Eo=>{"use strict";Object.defineProperty(Eo,"__esModule",{value:!0});Eo.SwitchScope=void 0;var bS=te(),gS=Q(),uc=class extends bS.ScopeBase{constructor(t,i,s){super(t,gS.ScopeType.switch,i,s,!1)}};Eo.SwitchScope=uc});var fp=E(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.TSEnumScope=void 0;var SS=te(),vS=Q(),Ec=class extends SS.ScopeBase{constructor(t,i,s){super(t,vS.ScopeType.tsEnum,i,s,!1)}};po.TSEnumScope=Ec});var dp=E(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});To.TSModuleScope=void 0;var AS=te(),hS=Q(),pc=class extends AS.ScopeBase{constructor(t,i,s){super(t,hS.ScopeType.tsModule,i,s,!1)}};To.TSModuleScope=pc});var yp=E(Po=>{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});Po.TypeScope=void 0;var US=te(),LS=Q(),Tc=class extends US.ScopeBase{constructor(t,i,s){super(t,LS.ScopeType.type,i,s,!1)}};Po.TypeScope=Tc});var mp=E(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.WithScope=void 0;var VS=Ot(),CS=te(),IS=Q(),Pc=class extends CS.ScopeBase{constructor(t,i,s){super(t,IS.ScopeType.with,i,s,!1)}close(t){return this.shouldStaticallyClose()?super.close(t):((0,VS.assert)(this.leftToResolve),this.leftToResolve.forEach(i=>this.delegateToUpperScope(i)),this.leftToResolve=null,this.upper)}};fo.WithScope=Pc});var yo=E(B=>{"use strict";var MS=B&&B.__createBinding||(Object.create?(function(r,t,i,s){s===void 0&&(s=i);var o=Object.getOwnPropertyDescriptor(t,i);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(r,s,o)}):(function(r,t,i,s){s===void 0&&(s=i),r[s]=t[i]})),$=B&&B.__exportStar||function(r,t){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(t,i)&&MS(t,r,i)};Object.defineProperty(B,"__esModule",{value:!0});$(ZE(),B);$(ep(),B);$(zl(),B);$(tp(),B);$(tc(),B);$(rp(),B);$(ip(),B);$(np(),B);$(op(),B);$(ap(),B);$(cp(),B);$(up(),B);$(Ep(),B);$(Tp(),B);$(Q(),B);$(Pp(),B);$(fp(),B);$(dp(),B);$(yp(),B);$(mp(),B)});var _o=E(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.VisitorBase=void 0;var xS=_a();function OS(r){return typeof r=="object"&&r!=null}function _p(r){return OS(r)&&typeof r.type=="string"}var fc=class{#e;#t;constructor(t){this.#e=t.childVisitorKeys??xS.visitorKeys,this.#t=t.visitChildrenEvenIfSelectorExists??!1}visitChildren(t,i=[]){if(t?.type==null)return;let s=new Set([...i,"parent"]),o=this.#e[t.type]??Object.keys(t);for(let a of o){if(s.has(a))continue;let c=t[a];if(c)if(Array.isArray(c))for(let l of c)_p(l)&&this.visit(l);else _p(c)&&this.visit(c)}}visit(t){if(t?.type==null)return;let i=this[t.type];i&&(i.call(this,t),!this.#t)||this.visitChildren(t)}};mo.VisitorBase=fc});var bo=E(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});Yo.PatternVisitor=void 0;var Dt=Ge(),RS=_o(),dc=class extends RS.VisitorBase{#e=[];#t;#r=[];#i;rightHandNodes=[];constructor(t,i,s){super(t),this.#i=i,this.#t=s}static isPattern(t){let i=t.type;return i===Dt.AST_NODE_TYPES.Identifier||i===Dt.AST_NODE_TYPES.ObjectPattern||i===Dt.AST_NODE_TYPES.ArrayPattern||i===Dt.AST_NODE_TYPES.SpreadElement||i===Dt.AST_NODE_TYPES.RestElement||i===Dt.AST_NODE_TYPES.AssignmentPattern}ArrayExpression(t){t.elements.forEach(this.visit,this)}ArrayPattern(t){for(let i of t.elements)this.visit(i)}AssignmentExpression(t){this.#e.push(t),this.visit(t.left),this.rightHandNodes.push(t.right),this.#e.pop()}AssignmentPattern(t){this.#e.push(t),this.visit(t.left),this.rightHandNodes.push(t.right),this.#e.pop()}CallExpression(t){t.arguments.forEach(i=>{this.rightHandNodes.push(i)}),this.visit(t.callee)}Decorator(){}Identifier(t){let i=this.#r.at(-1);this.#t(t,{assignments:this.#e,rest:i?.argument===t,topLevel:t===this.#i})}MemberExpression(t){t.computed&&this.rightHandNodes.push(t.property),this.rightHandNodes.push(t.object)}Property(t){t.computed&&this.rightHandNodes.push(t.key),this.visit(t.value)}RestElement(t){this.#r.push(t),this.visit(t.argument),this.#r.pop()}SpreadElement(t){this.visit(t.argument)}TSTypeAnnotation(){}};Yo.PatternVisitor=dc});var bt=E(wt=>{"use strict";Object.defineProperty(wt,"__esModule",{value:!0});wt.VisitorBase=wt.Visitor=void 0;var DS=bo(),wS=_o(),yc=class r extends wS.VisitorBase{#e;constructor(t){super(t instanceof r?t.#e:t),this.#e=t instanceof r?t.#e:t}visitPattern(t,i,s={processRightHandNodes:!1}){let o=new DS.PatternVisitor(this.#e,t,i);o.visit(t),s.processRightHandNodes&&o.rightHandNodes.forEach(this.visit,this)}};wt.Visitor=yc;var qS=_o();Object.defineProperty(wt,"VisitorBase",{enumerable:!0,get:function(){return qS.VisitorBase}})});var _c=E(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.TypeVisitor=void 0;var qt=Ge(),kt=mt(),yr=yo(),kS=bt(),mc=class r extends kS.Visitor{#e;constructor(t){super(t),this.#e=t}static visit(t,i){new r(t).visit(i)}visitFunctionType(t){this.#e.scopeManager.nestFunctionTypeScope(t),this.visit(t.typeParameters);for(let i of t.params){let s=!1;this.visitPattern(i,(o,a)=>{this.#e.currentScope().defineIdentifier(o,new kt.ParameterDefinition(o,t,a.rest)),o.typeAnnotation&&(this.visit(o.typeAnnotation),s=!0)}),!s&&"typeAnnotation"in i&&this.visit(i.typeAnnotation)}this.visit(t.returnType),this.#e.close(t)}visitPropertyKey(t){t.computed&&this.#e.visit(t.key)}Identifier(t){this.#e.currentScope().referenceType(t)}MemberExpression(t){this.visit(t.object)}TSCallSignatureDeclaration(t){this.visitFunctionType(t)}TSConditionalType(t){this.#e.scopeManager.nestConditionalTypeScope(t),this.visitChildren(t,["falseType"]),this.#e.close(t),this.visit(t.falseType)}TSConstructorType(t){this.visitFunctionType(t)}TSConstructSignatureDeclaration(t){this.visitFunctionType(t)}TSFunctionType(t){this.visitFunctionType(t)}TSImportType(t){this.visit(t.typeArguments)}TSIndexSignature(t){for(let i of t.parameters)i.type===qt.AST_NODE_TYPES.Identifier&&this.visit(i.typeAnnotation);this.visit(t.typeAnnotation)}TSInferType(t){let i=t.typeParameter,s=this.#e.currentScope();if(s.type===yr.ScopeType.functionType||s.type===yr.ScopeType.mappedType){let o=s.upper;for(;o;){if(o.type===yr.ScopeType.functionType||o.type===yr.ScopeType.mappedType){o=o.upper;continue}if(o.type===yr.ScopeType.conditionalType){s=o;break}break}}s.defineIdentifier(i.name,new kt.TypeDefinition(i.name,i)),this.visit(i.constraint)}TSInterfaceDeclaration(t){this.#e.currentScope().defineIdentifier(t.id,new kt.TypeDefinition(t.id,t)),t.typeParameters&&(this.#e.scopeManager.nestTypeScope(t),this.visit(t.typeParameters)),t.extends.forEach(this.visit,this),this.visit(t.body),t.typeParameters&&this.#e.close(t)}TSMappedType(t){this.#e.scopeManager.nestMappedTypeScope(t),this.#e.currentScope().defineIdentifier(t.key,new kt.TypeDefinition(t.key,t)),this.visit(t.constraint),this.visit(t.nameType),this.visit(t.typeAnnotation),this.#e.close(t)}TSMethodSignature(t){this.visitPropertyKey(t),this.visitFunctionType(t)}TSNamedTupleMember(t){this.visit(t.elementType)}TSPropertySignature(t){this.visitPropertyKey(t),this.visit(t.typeAnnotation)}TSQualifiedName(t){this.visit(t.left)}TSTypeAliasDeclaration(t){this.#e.currentScope().defineIdentifier(t.id,new kt.TypeDefinition(t.id,t)),t.typeParameters&&(this.#e.scopeManager.nestTypeScope(t),this.visit(t.typeParameters)),this.visit(t.typeAnnotation),t.typeParameters&&this.#e.close(t)}TSTypeParameter(t){this.#e.currentScope().defineIdentifier(t.name,new kt.TypeDefinition(t.name,t)),this.visit(t.constraint),this.visit(t.default)}TSTypePredicate(t){t.parameterName.type!==qt.AST_NODE_TYPES.TSThisType&&this.#e.currentScope().referenceValue(t.parameterName),this.visit(t.typeAnnotation)}TSTypeAnnotation(t){this.visitChildren(t)}TSTypeQuery(t){let i;if(t.exprName.type===qt.AST_NODE_TYPES.TSQualifiedName){let s=t.exprName;for(;s.left.type===qt.AST_NODE_TYPES.TSQualifiedName;)s=s.left;i=s.left}else i=t.exprName,t.exprName.type===qt.AST_NODE_TYPES.TSImportType&&this.visit(t.exprName);i.type===qt.AST_NODE_TYPES.Identifier&&this.#e.currentScope().referenceValue(i),this.visit(t.typeArguments)}};go.TypeVisitor=mc});var Yp=E(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});So.ClassVisitor=void 0;var Et=Ge(),Yc=mt(),FS=_c(),GS=bt(),bc=class r extends GS.Visitor{#e;constructor(t){super(t),this.#e=t}static visit(t,i){new r(t).visitClass(i)}visit(t){t&&t.type in this?super.visit(t):this.#e.visit(t)}visitClass(t){t.type===Et.AST_NODE_TYPES.ClassDeclaration&&t.id&&this.#e.currentScope().defineIdentifier(t.id,new Yc.ClassNameDefinition(t.id,t)),t.decorators.forEach(i=>this.#e.visit(i)),this.#e.scopeManager.nestClassScope(t),t.id&&this.#e.currentScope().defineIdentifier(t.id,new Yc.ClassNameDefinition(t.id,t)),this.#e.visit(t.superClass),this.visitType(t.typeParameters),this.visitType(t.superTypeArguments),t.implements.forEach(i=>this.visitType(i)),this.visit(t.body),this.#e.close(t)}visitFunctionParameterTypeAnnotation(t){switch(t.type){case Et.AST_NODE_TYPES.AssignmentPattern:this.visitType(t.left.typeAnnotation);break;case Et.AST_NODE_TYPES.TSParameterProperty:this.visitFunctionParameterTypeAnnotation(t.parameter);break;default:this.visitType(t.typeAnnotation)}}visitMethod(t){t.computed&&this.#e.visit(t.key),t.value.type===Et.AST_NODE_TYPES.FunctionExpression?this.visitMethodFunction(t.value):this.#e.visit(t.value),t.decorators.forEach(i=>this.#e.visit(i))}visitMethodFunction(t){t.id&&this.#e.scopeManager.nestFunctionExpressionNameScope(t),t.params.forEach(i=>{i.decorators.forEach(s=>this.visit(s))}),this.#e.scopeManager.nestFunctionScope(t,!0);for(let i of t.params)this.visitPattern(i,(s,o)=>{this.#e.currentScope().defineIdentifier(s,new Yc.ParameterDefinition(s,t,o.rest)),this.#e.referencingDefaultValue(s,o.assignments,null,!0)},{processRightHandNodes:!0}),this.visitFunctionParameterTypeAnnotation(i);this.visitType(t.returnType),this.visitType(t.typeParameters),this.#e.visitChildren(t.body),this.#e.close(t)}visitPropertyBase(t){t.computed&&this.#e.visit(t.key),t.value&&((t.type===Et.AST_NODE_TYPES.PropertyDefinition||t.type===Et.AST_NODE_TYPES.AccessorProperty)&&this.#e.scopeManager.nestClassFieldInitializerScope(t.value),this.#e.visit(t.value),(t.type===Et.AST_NODE_TYPES.PropertyDefinition||t.type===Et.AST_NODE_TYPES.AccessorProperty)&&this.#e.close(t.value)),t.decorators.forEach(i=>this.#e.visit(i))}visitPropertyDefinition(t){this.visitPropertyBase(t),this.visitType(t.typeAnnotation)}visitType(t){t&&FS.TypeVisitor.visit(this.#e,t)}AccessorProperty(t){this.visitPropertyDefinition(t)}ClassBody(t){this.visitChildren(t)}Identifier(t){this.#e.visit(t)}MethodDefinition(t){this.visitMethod(t)}PrivateIdentifier(){}PropertyDefinition(t){this.visitPropertyDefinition(t)}StaticBlock(t){this.#e.scopeManager.nestClassStaticBlockScope(t),t.body.forEach(i=>this.visit(i)),this.#e.close(t)}TSAbstractAccessorProperty(t){this.visitPropertyDefinition(t)}TSAbstractMethodDefinition(t){this.visitPropertyBase(t)}TSAbstractPropertyDefinition(t){this.visitPropertyDefinition(t)}TSIndexSignature(t){this.visitType(t)}};So.ClassVisitor=bc});var gp=E(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.ExportVisitor=void 0;var bp=Ge(),BS=bt(),gc=class r extends BS.Visitor{#e;#t;constructor(t,i){super(i),this.#e=t,this.#t=i}static visit(t,i){new r(i,t).visit(i)}ExportDefaultDeclaration(t){t.declaration.type===bp.AST_NODE_TYPES.Identifier&&this.visit(t.declaration)}ExportNamedDeclaration(t){t.source||t.declaration||this.visitChildren(t)}ExportSpecifier(t){t.exportKind==="type"&&t.local.type===bp.AST_NODE_TYPES.Identifier?this.#t.currentScope().referenceType(t.local):this.visit(t.local)}Identifier(t){this.#e.exportKind==="type"?this.#t.currentScope().referenceType(t):this.#t.currentScope().referenceDualValueType(t)}};vo.ExportVisitor=gc});var Sp=E(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});Ao.ImportVisitor=void 0;var jS=mt(),NS=bt(),Sc=class r extends NS.Visitor{#e;#t;constructor(t,i){super(i),this.#e=t,this.#t=i}static visit(t,i){new r(i,t).visit(i)}ImportDefaultSpecifier(t){let i=t.local;this.visitImport(i,t)}ImportNamespaceSpecifier(t){let i=t.local;this.visitImport(i,t)}ImportSpecifier(t){let i=t.local;this.visitImport(i,t)}visitImport(t,i){this.#t.currentScope().defineIdentifier(t,new jS.ImportBindingDefinition(t,i,this.#e))}};Ao.ImportVisitor=Sc});var Up=E(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.Referencer=void 0;var z=Ge(),vp=Ot(),rt=mt(),WS=XE(),KS=Yp(),Ap=gp(),HS=Sp(),hp=bo(),gt=js(),QS=_c(),XS=bt(),vc=class extends XS.Visitor{#e=!1;#t=!1;#r;#i;#n;scopeManager;constructor(t,i){super(t),this.scopeManager=i,this.#i=t.jsxPragma,this.#r=t.jsxFragmentName,this.#n=t.lib}populateGlobalsFromLib(t){let i=this.resolveLibDefinitions(),s=new Map;for(let o of i)for(let[a,c]of o.variables){let l=s.get(a);s.set(a,l?{...l,isTypeVariable:l.isTypeVariable||c.isTypeVariable,isValueVariable:l.isValueVariable||c.isValueVariable}:c)}for(let[o,a]of s)t.defineImplicitVariable(o,a);t.defineImplicitVariable("const",{eslintImplicitGlobalSetting:"readonly",isTypeVariable:!0,isValueVariable:!1})}resolveLibDefinitions(){let t=new Set;for(let i of this.#n){let s=WS.lib.get(i);if(!s)throw new Error(`Invalid value for lib provided: ${i}`);t.add(s)}for(let i of t)for(let s of i.libs)t.add(s);return t}close(t){for(;this.currentScope(!0)&&t===this.currentScope().block;)this.scopeManager.currentScope=this.currentScope().close(this.scopeManager)}currentScope(t){return t||(0,vp.assert)(this.scopeManager.currentScope,"Expected currentScope to exist. This usually happens when analyze() is called with an incomplete AST node instead of a complete Program node."),this.scopeManager.currentScope}referencingDefaultValue(t,i,s,o){i.forEach(a=>{this.currentScope().referenceValue(t,gt.ReferenceFlag.Write,a.right,s,o)})}referenceInSomeUpperScope(t){let i=this.scopeManager.currentScope;for(;i;){let s=i.set.get(t);if(!s){i=i.upper;continue}return i.referenceValue(s.identifiers[0]),!0}return!1}referenceJsxFragment(){this.#r==null||this.#t||(this.#t=this.referenceInSomeUpperScope(this.#r))}referenceJsxPragma(){this.#i==null||this.#e||(this.#e=this.referenceInSomeUpperScope(this.#i))}visitClass(t){KS.ClassVisitor.visit(this,t)}visitForIn(t){t.left.type===z.AST_NODE_TYPES.VariableDeclaration&&t.left.kind!=="var"&&this.scopeManager.nestForScope(t),t.left.type===z.AST_NODE_TYPES.VariableDeclaration?(this.visit(t.left),this.visitPattern(t.left.declarations[0].id,i=>{this.currentScope().referenceValue(i,gt.ReferenceFlag.Write,t.right,null,!0)})):this.visitPattern(t.left,(i,s)=>{let o=this.currentScope().isStrict?null:{node:t,pattern:i};this.referencingDefaultValue(i,s.assignments,o,!1),this.currentScope().referenceValue(i,gt.ReferenceFlag.Write,t.right,o,!1)},{processRightHandNodes:!0}),this.visit(t.right),this.visit(t.body),this.close(t)}visitFunction(t){t.type===z.AST_NODE_TYPES.FunctionExpression?t.id&&this.scopeManager.nestFunctionExpressionNameScope(t):t.id&&this.currentScope().defineIdentifier(t.id,new rt.FunctionNameDefinition(t.id,t)),this.scopeManager.nestFunctionScope(t,!1);for(let i of t.params)this.visitPattern(i,(s,o)=>{this.currentScope().defineIdentifier(s,new rt.ParameterDefinition(s,t,o.rest)),this.referencingDefaultValue(s,o.assignments,null,!0)},{processRightHandNodes:!0}),this.visitFunctionParameterTypeAnnotation(i),i.decorators.forEach(s=>this.visit(s));this.visitType(t.returnType),this.visitType(t.typeParameters),t.body&&(t.body.type===z.AST_NODE_TYPES.BlockStatement?this.visitChildren(t.body):this.visit(t.body)),this.close(t)}visitFunctionParameterTypeAnnotation(t){switch(t.type){case z.AST_NODE_TYPES.AssignmentPattern:this.visitType(t.left.typeAnnotation);break;case z.AST_NODE_TYPES.TSParameterProperty:this.visitFunctionParameterTypeAnnotation(t.parameter);break;default:this.visitType(t.typeAnnotation);break}}visitJSXElement(t){t.name.type===z.AST_NODE_TYPES.JSXIdentifier?(t.name.name[0].toUpperCase()===t.name.name[0]||t.name.name==="this")&&this.visit(t.name):this.visit(t.name)}visitProperty(t){t.computed&&this.visit(t.key),this.visit(t.value)}visitType(t){t&&QS.TypeVisitor.visit(this,t)}visitTypeAssertion(t){this.visit(t.expression),this.visitType(t.typeAnnotation)}ArrowFunctionExpression(t){this.visitFunction(t)}AssignmentExpression(t){let i=this.visitExpressionTarget(t.left);hp.PatternVisitor.isPattern(i)?t.operator==="="?this.visitPattern(i,(s,o)=>{let a=this.currentScope().isStrict?null:{node:t,pattern:s};this.referencingDefaultValue(s,o.assignments,a,!1),this.currentScope().referenceValue(s,gt.ReferenceFlag.Write,t.right,a,!1)},{processRightHandNodes:!0}):i.type===z.AST_NODE_TYPES.Identifier&&this.currentScope().referenceValue(i,gt.ReferenceFlag.ReadWrite,t.right):this.visit(i),this.visit(t.right)}BlockStatement(t){this.scopeManager.nestBlockScope(t),this.visitChildren(t),this.close(t)}BreakStatement(){}CallExpression(t){this.visitChildren(t,["typeArguments"]),this.visitType(t.typeArguments)}CatchClause(t){this.scopeManager.nestCatchScope(t),t.param&&this.visitPattern(t.param,(i,s)=>{this.currentScope().defineIdentifier(i,new rt.CatchClauseDefinition(i,t)),this.referencingDefaultValue(i,s.assignments,null,!0)},{processRightHandNodes:!0}),this.visit(t.body),this.close(t)}ClassDeclaration(t){this.visitClass(t)}ClassExpression(t){this.visitClass(t)}ContinueStatement(){}ExportAllDeclaration(){}ExportDefaultDeclaration(t){t.declaration.type===z.AST_NODE_TYPES.Identifier?Ap.ExportVisitor.visit(this,t):this.visit(t.declaration)}ExportNamedDeclaration(t){t.declaration?this.visit(t.declaration):Ap.ExportVisitor.visit(this,t)}ForInStatement(t){this.visitForIn(t)}ForOfStatement(t){this.visitForIn(t)}ForStatement(t){t.init?.type===z.AST_NODE_TYPES.VariableDeclaration&&t.init.kind!=="var"&&this.scopeManager.nestForScope(t),this.visitChildren(t),this.close(t)}FunctionDeclaration(t){this.visitFunction(t)}FunctionExpression(t){this.visitFunction(t)}Identifier(t){this.currentScope().referenceValue(t),this.visitType(t.typeAnnotation)}ImportAttribute(){}ImportDeclaration(t){(0,vp.assert)(this.scopeManager.isModule(),"ImportDeclaration should appear when the mode is ES6 and in the module context."),HS.ImportVisitor.visit(this,t)}JSXAttribute(t){this.visit(t.value)}JSXClosingElement(t){this.visitJSXElement(t)}JSXFragment(t){this.referenceJsxPragma(),this.referenceJsxFragment(),this.visitChildren(t)}JSXIdentifier(t){this.currentScope().referenceValue(t)}JSXMemberExpression(t){(t.object.type!==z.AST_NODE_TYPES.JSXIdentifier||t.object.name!=="this")&&this.visit(t.object)}JSXOpeningElement(t){this.referenceJsxPragma(),this.visitJSXElement(t),this.visitType(t.typeArguments);for(let i of t.attributes)this.visit(i)}LabeledStatement(t){this.visit(t.body)}MemberExpression(t){this.visit(t.object),t.computed&&this.visit(t.property)}MetaProperty(){}NewExpression(t){this.visitChildren(t,["typeArguments"]),this.visitType(t.typeArguments)}PrivateIdentifier(){}Program(t){let i=this.scopeManager.nestGlobalScope(t);this.populateGlobalsFromLib(i),this.scopeManager.isGlobalReturn()&&(this.currentScope().isStrict=!1,this.scopeManager.nestFunctionScope(t,!1)),this.scopeManager.isModule()&&this.scopeManager.nestModuleScope(t),this.scopeManager.isImpliedStrict()&&(this.currentScope().isStrict=!0),this.visitChildren(t),this.close(t)}Property(t){this.visitProperty(t)}SwitchStatement(t){this.visit(t.discriminant),this.scopeManager.nestSwitchScope(t);for(let i of t.cases)this.visit(i);this.close(t)}TaggedTemplateExpression(t){this.visit(t.tag),this.visit(t.quasi),this.visitType(t.typeArguments)}TSAsExpression(t){this.visitTypeAssertion(t)}TSDeclareFunction(t){this.visitFunction(t)}TSEmptyBodyFunctionExpression(t){this.visitFunction(t)}TSEnumDeclaration(t){this.currentScope().defineIdentifier(t.id,new rt.TSEnumNameDefinition(t.id,t)),this.scopeManager.nestTSEnumScope(t);for(let i of t.body.members){if(i.id.type===z.AST_NODE_TYPES.Literal&&typeof i.id.value=="string"){let s=i.id;this.currentScope().defineLiteralIdentifier(s,new rt.TSEnumMemberDefinition(s,i))}else i.id.type===z.AST_NODE_TYPES.Identifier&&this.currentScope().defineIdentifier(i.id,new rt.TSEnumMemberDefinition(i.id,i));this.visit(i.initializer)}this.close(t)}TSExportAssignment(t){t.expression.type===z.AST_NODE_TYPES.Identifier?this.currentScope().referenceDualValueType(t.expression):this.visit(t.expression)}TSImportEqualsDeclaration(t){if(this.currentScope().defineIdentifier(t.id,new rt.ImportBindingDefinition(t.id,t,t)),t.moduleReference.type===z.AST_NODE_TYPES.TSQualifiedName){let i=t.moduleReference.left;for(;i.type===z.AST_NODE_TYPES.TSQualifiedName;)i=i.left;this.visit(i)}else this.visit(t.moduleReference)}TSInstantiationExpression(t){this.visitChildren(t,["typeArguments"]),this.visitType(t.typeArguments)}TSInterfaceDeclaration(t){this.visitType(t)}TSModuleDeclaration(t){t.id.type===z.AST_NODE_TYPES.Identifier&&t.kind!=="global"&&this.currentScope().defineIdentifier(t.id,new rt.TSModuleNameDefinition(t.id,t)),this.scopeManager.nestTSModuleScope(t),this.visit(t.body),this.close(t)}TSSatisfiesExpression(t){this.visitTypeAssertion(t)}TSTypeAliasDeclaration(t){this.visitType(t)}TSTypeAssertion(t){this.visitTypeAssertion(t)}UpdateExpression(t){let i=this.visitExpressionTarget(t.argument);hp.PatternVisitor.isPattern(i)?this.visitPattern(i,s=>{this.currentScope().referenceValue(s,gt.ReferenceFlag.ReadWrite,null)}):this.visitChildren(t)}VariableDeclaration(t){let i=t.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let s of t.declarations){let o=s.init;this.visitPattern(s.id,(a,c)=>{i.defineIdentifier(a,new rt.VariableDefinition(a,s,t)),this.referencingDefaultValue(a,c.assignments,null,!0),o&&this.currentScope().referenceValue(a,gt.ReferenceFlag.Write,o,null,!0)},{processRightHandNodes:!0}),this.visit(s.init),this.visitType(s.id.typeAnnotation)}}WithStatement(t){this.visit(t.object),this.scopeManager.nestWithScope(t),this.visit(t.body),this.close(t)}visitExpressionTarget(t){switch(t.type){case z.AST_NODE_TYPES.TSAsExpression:case z.AST_NODE_TYPES.TSTypeAssertion:this.visitType(t.typeAnnotation);case z.AST_NODE_TYPES.TSNonNullExpression:t=t.expression}return t}};ho.Referencer=vc});var Lp=E(Uo=>{"use strict";Object.defineProperty(Uo,"__esModule",{value:!0});Uo.Referencer=void 0;var JS=Up();Object.defineProperty(Uo,"Referencer",{enumerable:!0,get:function(){return JS.Referencer}})});var hc=E(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.ScopeManager=void 0;var se=Ot(),oe=yo(),$S=zl(),zS=tc(),Ac=class{#e;currentScope;declaredVariables;globalScope;nodeToScope;scopes;constructor(t){this.scopes=[],this.globalScope=null,this.nodeToScope=new WeakMap,this.currentScope=null,this.#e=t,this.declaredVariables=new WeakMap}isES6(){return!0}isGlobalReturn(){return this.#e.globalReturn===!0}isImpliedStrict(){return this.#e.impliedStrict===!0}isModule(){return this.#e.sourceType==="module"}isStrictModeSupported(){return!0}get variables(){let t=new Set;function i(s){s.variables.forEach(o=>t.add(o)),s.childScopes.forEach(i)}return this.scopes.forEach(i),[...t].sort((s,o)=>s.$id-o.$id)}getDeclaredVariables(t){return this.declaredVariables.get(t)??[]}acquire(t,i=!1){function s(a){return!(a.type===oe.ScopeType.function&&a.functionExpressionScope)}let o=this.nodeToScope.get(t);if(!o||o.length===0)return null;if(o.length===1)return o[0];if(i){for(let a=o.length-1;a>=0;--a){let c=o[a];if(s(c))return c}return null}return o.find(s)??null}addGlobals(t){this.globalScope?.addVariables(t)}nestBlockScope(t){return(0,se.assert)(this.currentScope),this.nestScope(new oe.BlockScope(this,this.currentScope,t))}nestCatchScope(t){return(0,se.assert)(this.currentScope),this.nestScope(new oe.CatchScope(this,this.currentScope,t))}nestClassFieldInitializerScope(t){return(0,se.assert)(this.currentScope),this.nestScope(new $S.ClassFieldInitializerScope(this,this.currentScope,t))}nestClassScope(t){return(0,se.assert)(this.currentScope),this.nestScope(new oe.ClassScope(this,this.currentScope,t))}nestClassStaticBlockScope(t){return(0,se.assert)(this.currentScope),this.nestScope(new zS.ClassStaticBlockScope(this,this.currentScope,t))}nestConditionalTypeScope(t){return(0,se.assert)(this.currentScope),this.nestScope(new oe.ConditionalTypeScope(this,this.currentScope,t))}nestForScope(t){return(0,se.assert)(this.currentScope),this.nestScope(new oe.ForScope(this,this.currentScope,t))}nestFunctionExpressionNameScope(t){return(0,se.assert)(this.currentScope),this.nestScope(new oe.FunctionExpressionNameScope(this,this.currentScope,t))}nestFunctionScope(t,i){return(0,se.assert)(this.currentScope),this.nestScope(new oe.FunctionScope(this,this.currentScope,t,i))}nestFunctionTypeScope(t){return(0,se.assert)(this.currentScope),this.nestScope(new oe.FunctionTypeScope(this,this.currentScope,t))}nestGlobalScope(t){return this.nestScope(new oe.GlobalScope(this,t))}nestMappedTypeScope(t){return(0,se.assert)(this.currentScope),this.nestScope(new oe.MappedTypeScope(this,this.currentScope,t))}nestModuleScope(t){return(0,se.assert)(this.currentScope),this.nestScope(new oe.ModuleScope(this,this.currentScope,t))}nestSwitchScope(t){return(0,se.assert)(this.currentScope),this.nestScope(new oe.SwitchScope(this,this.currentScope,t))}nestTSEnumScope(t){return(0,se.assert)(this.currentScope),this.nestScope(new oe.TSEnumScope(this,this.currentScope,t))}nestTSModuleScope(t){return(0,se.assert)(this.currentScope),this.nestScope(new oe.TSModuleScope(this,this.currentScope,t))}nestTypeScope(t){return(0,se.assert)(this.currentScope),this.nestScope(new oe.TypeScope(this,this.currentScope,t))}nestWithScope(t){return(0,se.assert)(this.currentScope),this.nestScope(new oe.WithScope(this,this.currentScope,t))}nestScope(t){return t instanceof oe.GlobalScope&&((0,se.assert)(this.currentScope==null),this.globalScope=t),this.currentScope=t,t}};Lo.ScopeManager=Ac});var Vp=E(Uc=>{"use strict";Object.defineProperty(Uc,"__esModule",{value:!0});Uc.analyze=rv;var ZS=_a(),ev=Lp(),tv=hc(),Ft={childVisitorKeys:ZS.visitorKeys,emitDecoratorMetadata:!1,globalReturn:!1,impliedStrict:!1,jsxFragmentName:null,jsxPragma:"React",lib:["es2018"],sourceType:"script"};function rv(r,t){let i={childVisitorKeys:t?.childVisitorKeys??Ft.childVisitorKeys,emitDecoratorMetadata:!1,globalReturn:t?.globalReturn??Ft.globalReturn,impliedStrict:t?.impliedStrict??Ft.impliedStrict,jsxFragmentName:t?.jsxFragmentName??Ft.jsxFragmentName,jsxPragma:t?.jsxPragma===void 0?Ft.jsxPragma:t.jsxPragma,lib:t?.lib??["esnext"],sourceType:t?.sourceType??Ft.sourceType};i.lib=i.lib.map(a=>a.toLowerCase());let s=new tv.ScopeManager(i);return new ev.Referencer(i,s).visit(r),s}});var Cp=E(re=>{"use strict";var iv=re&&re.__createBinding||(Object.create?(function(r,t,i,s){s===void 0&&(s=i);var o=Object.getOwnPropertyDescriptor(t,i);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(r,s,o)}):(function(r,t,i,s){s===void 0&&(s=i),r[s]=t[i]})),Lc=re&&re.__exportStar||function(r,t){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(t,i)&&iv(t,r,i)};Object.defineProperty(re,"__esModule",{value:!0});re.ScopeManager=re.Visitor=re.Reference=re.PatternVisitor=re.analyze=void 0;var nv=Vp();Object.defineProperty(re,"analyze",{enumerable:!0,get:function(){return nv.analyze}});Lc(mt(),re);var sv=bo();Object.defineProperty(re,"PatternVisitor",{enumerable:!0,get:function(){return sv.PatternVisitor}});var ov=js();Object.defineProperty(re,"Reference",{enumerable:!0,get:function(){return ov.Reference}});var av=bt();Object.defineProperty(re,"Visitor",{enumerable:!0,get:function(){return av.Visitor}});Lc(yo(),re);var lv=hc();Object.defineProperty(re,"ScopeManager",{enumerable:!0,get:function(){return lv.ScopeManager}});Lc(Qs(),re)});import{createRequire as cv}from"node:module";import{dirname as uv,resolve as Ev}from"node:path";import{fileURLToPath as pv}from"node:url";var Y={};vT(Y,{ASTUtils:()=>T,ESLintUtils:()=>ya});Ur(Y,zt(Xo()));var T=zt(la()),ya=zt(zu());var Yr=zt(Cp(),1),br=zt(la(),1),Tv={rules:{"testing-library/await-async-events":["error",{eventModule:"userEvent"}],"testing-library/await-async-queries":"error","testing-library/await-async-utils":"error","testing-library/no-await-sync-events":["error",{eventModules:["fire-event"]}],"testing-library/no-await-sync-queries":"error","testing-library/no-container":"error","testing-library/no-debugging-utils":"warn","testing-library/no-dom-import":["error","angular"],"testing-library/no-global-regexp-flag-in-query":"error","testing-library/no-node-access":"error","testing-library/no-promise-in-fire-event":"error","testing-library/no-render-in-lifecycle":"error","testing-library/no-wait-for-multiple-assertions":"error","testing-library/no-wait-for-side-effects":"error","testing-library/no-wait-for-snapshot":"error","testing-library/prefer-find-by":"error","testing-library/prefer-presence-queries":"error","testing-library/prefer-query-by-disappearance":"error","testing-library/prefer-screen-queries":"error","testing-library/render-result-naming-convention":"error"}},Pv={rules:{"testing-library/await-async-events":["error",{eventModule:"userEvent"}],"testing-library/await-async-queries":"error","testing-library/await-async-utils":"error","testing-library/no-await-sync-events":["error",{eventModules:["fire-event"]}],"testing-library/no-await-sync-queries":"error","testing-library/no-global-regexp-flag-in-query":"error","testing-library/no-node-access":"error","testing-library/no-promise-in-fire-event":"error","testing-library/no-wait-for-multiple-assertions":"error","testing-library/no-wait-for-side-effects":"error","testing-library/no-wait-for-snapshot":"error","testing-library/prefer-find-by":"error","testing-library/prefer-presence-queries":"error","testing-library/prefer-query-by-disappearance":"error","testing-library/prefer-screen-queries":"error"}},fv={rules:{"testing-library/await-async-events":["error",{eventModule:["fireEvent","userEvent"]}],"testing-library/await-async-queries":"error","testing-library/await-async-utils":"error","testing-library/no-await-sync-queries":"error","testing-library/no-container":"error","testing-library/no-debugging-utils":"warn","testing-library/no-dom-import":["error","marko"],"testing-library/no-global-regexp-flag-in-query":"error","testing-library/no-node-access":"error","testing-library/no-promise-in-fire-event":"error","testing-library/no-render-in-lifecycle":"error","testing-library/no-unnecessary-act":"error","testing-library/no-wait-for-multiple-assertions":"error","testing-library/no-wait-for-side-effects":"error","testing-library/no-wait-for-snapshot":"error","testing-library/prefer-find-by":"error","testing-library/prefer-presence-queries":"error","testing-library/prefer-query-by-disappearance":"error","testing-library/prefer-screen-queries":"error","testing-library/render-result-naming-convention":"error"}},dv={rules:{"testing-library/await-async-events":["error",{eventModule:"userEvent"}],"testing-library/await-async-queries":"error","testing-library/await-async-utils":"error","testing-library/no-await-sync-events":["error",{eventModules:["fire-event"]}],"testing-library/no-await-sync-queries":"error","testing-library/no-container":"error","testing-library/no-debugging-utils":"warn","testing-library/no-dom-import":["error","react"],"testing-library/no-global-regexp-flag-in-query":"error","testing-library/no-manual-cleanup":"error","testing-library/no-node-access":"error","testing-library/no-promise-in-fire-event":"error","testing-library/no-render-in-lifecycle":"error","testing-library/no-unnecessary-act":"error","testing-library/no-wait-for-multiple-assertions":"error","testing-library/no-wait-for-side-effects":"error","testing-library/no-wait-for-snapshot":"error","testing-library/prefer-find-by":"error","testing-library/prefer-presence-queries":"error","testing-library/prefer-query-by-disappearance":"error","testing-library/prefer-screen-queries":"error","testing-library/render-result-naming-convention":"error"}},yv={rules:{"testing-library/await-async-events":["error",{eventModule:["fireEvent","userEvent"]}],"testing-library/await-async-queries":"error","testing-library/await-async-utils":"error","testing-library/no-await-sync-queries":"error","testing-library/no-container":"error","testing-library/no-debugging-utils":"warn","testing-library/no-dom-import":["error","svelte"],"testing-library/no-global-regexp-flag-in-query":"error","testing-library/no-manual-cleanup":"error","testing-library/no-node-access":"error","testing-library/no-promise-in-fire-event":"error","testing-library/no-render-in-lifecycle":"error","testing-library/no-wait-for-multiple-assertions":"error","testing-library/no-wait-for-side-effects":"error","testing-library/no-wait-for-snapshot":"error","testing-library/prefer-find-by":"error","testing-library/prefer-presence-queries":"error","testing-library/prefer-query-by-disappearance":"error","testing-library/prefer-screen-queries":"error","testing-library/render-result-naming-convention":"error"}},Wp={dom:Pv,angular:Tv,react:dv,vue:{rules:{"testing-library/await-async-events":["error",{eventModule:["fireEvent","userEvent"]}],"testing-library/await-async-queries":"error","testing-library/await-async-utils":"error","testing-library/no-await-sync-queries":"error","testing-library/no-container":"error","testing-library/no-debugging-utils":"warn","testing-library/no-dom-import":["error","vue"],"testing-library/no-global-regexp-flag-in-query":"error","testing-library/no-manual-cleanup":"error","testing-library/no-node-access":"error","testing-library/no-promise-in-fire-event":"error","testing-library/no-render-in-lifecycle":"error","testing-library/no-wait-for-multiple-assertions":"error","testing-library/no-wait-for-side-effects":"error","testing-library/no-wait-for-snapshot":"error","testing-library/prefer-find-by":"error","testing-library/prefer-presence-queries":"error","testing-library/prefer-query-by-disappearance":"error","testing-library/prefer-screen-queries":"error","testing-library/render-result-naming-convention":"error"}},svelte:yv,marko:fv},mv=r=>r.filename??r.getFilename(),St=r=>r.sourceCode??r.getSourceCode(),kc=(r,t)=>St(r).getScope?.(t)??r.getScope(),Fc=(r,t)=>St(r).getDeclaredVariables?.(t)??r.getDeclaredVariables(t),_v=T.isNodeOfType(Y.AST_NODE_TYPES.ArrayExpression),Xt=T.isNodeOfType(Y.AST_NODE_TYPES.ArrowFunctionExpression),Ro=T.isNodeOfType(Y.AST_NODE_TYPES.BlockStatement),v=T.isNodeOfType(Y.AST_NODE_TYPES.CallExpression),vt=T.isNodeOfType(Y.AST_NODE_TYPES.ExpressionStatement),_r=T.isNodeOfType(Y.AST_NODE_TYPES.VariableDeclaration),xc=T.isNodeOfType(Y.AST_NODE_TYPES.AssignmentExpression),Gc=T.isNodeOfType(Y.AST_NODE_TYPES.ChainExpression),Yv=T.isNodeOfType(Y.AST_NODE_TYPES.SequenceExpression),Nt=T.isNodeOfType(Y.AST_NODE_TYPES.ImportDeclaration),Bc=T.isNodeOfType(Y.AST_NODE_TYPES.ImportDefaultSpecifier),bv=T.isNodeOfType(Y.AST_NODE_TYPES.TSImportEqualsDeclaration),gv=T.isNodeOfType(Y.AST_NODE_TYPES.ImportExpression),Sv=T.isNodeOfType(Y.AST_NODE_TYPES.ImportNamespaceSpecifier),Do=T.isNodeOfType(Y.AST_NODE_TYPES.ImportSpecifier),vv=T.isNodeOfType(Y.AST_NODE_TYPES.JSXAttribute),pe=T.isNodeOfType(Y.AST_NODE_TYPES.Literal),Av=T.isNodeOfType(Y.AST_NODE_TYPES.TemplateLiteral),h=T.isNodeOfType(Y.AST_NODE_TYPES.MemberExpression),hv=T.isNodeOfType(Y.AST_NODE_TYPES.NewExpression),gr=T.isNodeOfType(Y.AST_NODE_TYPES.ObjectExpression),Je=T.isNodeOfType(Y.AST_NODE_TYPES.ObjectPattern),he=T.isNodeOfType(Y.AST_NODE_TYPES.Property),Jt=T.isNodeOfType(Y.AST_NODE_TYPES.ReturnStatement),Kp=T.isNodeOfType(Y.AST_NODE_TYPES.FunctionExpression),Uv=T.isNodeOfType(Y.AST_NODE_TYPES.FunctionDeclaration),Lv=[Y.AST_NODE_TYPES.CallExpression,Y.AST_NODE_TYPES.ClassExpression,Y.AST_NODE_TYPES.ClassDeclaration,Y.AST_NODE_TYPES.FunctionExpression,Y.AST_NODE_TYPES.Literal,Y.AST_NODE_TYPES.TemplateLiteral,Y.AST_NODE_TYPES.MemberExpression,Y.AST_NODE_TYPES.ArrayExpression,Y.AST_NODE_TYPES.ArrayPattern,Y.AST_NODE_TYPES.ClassExpression,Y.AST_NODE_TYPES.FunctionExpression,Y.AST_NODE_TYPES.Identifier,Y.AST_NODE_TYPES.JSXElement,Y.AST_NODE_TYPES.JSXFragment,Y.AST_NODE_TYPES.JSXOpeningElement,Y.AST_NODE_TYPES.MetaProperty,Y.AST_NODE_TYPES.ObjectExpression,Y.AST_NODE_TYPES.ObjectPattern,Y.AST_NODE_TYPES.Super,Y.AST_NODE_TYPES.ThisExpression,Y.AST_NODE_TYPES.TSNullKeyword,Y.AST_NODE_TYPES.TaggedTemplateExpression,Y.AST_NODE_TYPES.TSNonNullExpression,Y.AST_NODE_TYPES.TSAsExpression,Y.AST_NODE_TYPES.ArrowFunctionExpression];function qe(r,t=!1){return v(r)?r:!r?.parent||t&&!Lv.includes(r.parent.type)?null:qe(r.parent,t)}function Oc(r){return r?T.isVariableDeclarator(r)?r:Oc(r.parent):null}function Wt(r){return r?Xt(r)||Kp(r)||Uv(r)?r:Wt(r.parent):null}function Sr(r,t){return r.parent?v(r)&&T.isIdentifier(r.callee)&&r.callee.name===t?r:Sr(r.parent,t):null}function Vv(r){return h(r)&&T.isIdentifier(r.property)&&r.property.name==="then"}function Ip(r){return h(r)&&T.isIdentifier(r.property)&&["then","catch","finally"].includes(r.property.name)}function Cv(r){let t=r.parent;return v(t)&&t.parent?Ip(t.parent):!!t&&Ip(t)}function xo(r){return T.isIdentifier(r)&&r.name==="Promise"}function Iv(r){return h(r.callee)&&xo(r.callee.object)&&T.isIdentifier(r.callee.property)&&r.callee.property.name==="all"}function Mv(r){return h(r.callee)&&xo(r.callee.object)&&T.isIdentifier(r.callee.property)&&r.callee.property.name==="allSettled"}function xv(r){let t=qe(r,!0);return t?!!t.parent&&_v(t.parent)&&v(t.parent.parent)&&(Iv(t.parent.parent)||Mv(t.parent.parent)):!1}function Kt(r){let t=qe(r,!0);return[r,t==null?null:Bt(t)].filter(i=>i!=null).some(i=>{if(!i.parent)return!1;if(T.isAwaitExpression(i.parent)||Xt(i.parent)||Jt(i.parent)||Hp(i.parent)||Cv(i)||xv(i))return!0})}function Bt(r){let{parent:t}=r;if(t==null)return r;switch(t.type){case Y.AST_NODE_TYPES.ConditionalExpression:return Bt(t);case Y.AST_NODE_TYPES.LogicalExpression:{let i;switch(t.operator){case"??":case"||":i=Bt(t);break;case"&&":i=t.right===r?Bt(t):r;break}return i??r}case Y.AST_NODE_TYPES.SequenceExpression:return t.expressions[t.expressions.length-1]===r?Bt(t):r;case Y.AST_NODE_TYPES.ChainExpression:return Bt(t);default:return r}}function wo(r,t){return T.isVariableDeclarator(t)?Fc(r,t)[0]?.references?.slice(1)??[]:[]}function Ov(r,t){let i=T.getInnermostScope(kc(r,t),t);return i.type===Yr.ScopeType.function&&T.isFunction(i.block)?i:null}function Rv(r){if(Ro(r.body)){let t=r.body.body.find(i=>Jt(i));return t?t.argument:null}else if(r.expression)return r.body;return null}function k(r){return T.isIdentifier(r)?r:h(r)?k(r.object):v(r)?k(r.callee):vt(r)||Gc(r)?k(r.expression):T.isAwaitExpression(r)?k(r.argument):null}function w(r){return T.isIdentifier(r)?r:Gc(r)?w(r.expression):h(r)&&T.isIdentifier(r.property)?r.property:v(r)?w(r.callee):T.isAwaitExpression(r)?w(r.argument):null}function Ht(r){return r.parent&&(h(r.parent)||v(r.parent))?Ht(r.parent):r}function it(r){return T.getFunctionNameWithKind(r).match(/('\w+')/g)?.[0].replace(/'/g,"")??""}function jt(r){if(Nt(r)&&typeof r.source.value=="string")return r.source.value;if(v(r)&&pe(r.arguments[0])&&typeof r.arguments[0].value=="string")return r.arguments[0].value}function Vc(r){let t={matcher:null,isNegated:!1};if(!v(r.object)||!T.isIdentifier(r.object.callee)||r.object.callee.name!=="expect")return t;let i=T.getPropertyName(r),s=i==="not";return s&&(i=r.parent&&h(r.parent)?T.getPropertyName(r.parent):null),i?{matcher:i,isNegated:s}:t}var Dv=["resolves","rejects","toResolve","toReject","toBeRejected","toBeRejectedWith","toBeRejectedWithError","toBePending","toBeResolved","toBeResolvedTo"];function Hp(r){if(v(r)&&T.isIdentifier(r.callee)&&r.parent&&h(r.parent)&&["expect","expectAsync"].includes(r.callee.name)){let t=r.parent.property;return T.isIdentifier(t)&&Dv.includes(t.name)}return r.parent?Hp(r.parent):!1}function Tt(r,t){let i=Ov(r,t);if(!i)return;let s=Rv(i.block);if(s&&w(s)?.name===t.name)return i.block}function Mp(r,t){return T.isIdentifier(r)?r.name===t:r.local.name===t}function Qt(r){return v(r)?r:Gc(r)?Qt(r.expression):T.isAwaitExpression(r)?Qt(r.argument):xc(r)?Qt(r.right):null}function wv(r){if(vt(r))return Qt(r.expression);if(Jt(r))return Qt(r.argument);if(_r(r))for(let t of r.declarations)return Qt(t.init);return null}function qv(r){return T.isFunction(r)&&Ro(r.body)?r.body.body.length===0:!1}function Cc(r,t){if(Nt(t)){let i=t.specifiers.find(s=>Do(s)&&T.isIdentifier(s.imported)&&[s.imported.name,s.local.name].includes(r));return i||t.specifiers.find(s=>Sv(s))}else{if(!T.isVariableDeclarator(t.parent))return;let i=t.parent;if(T.isIdentifier(i.id))return i.id;if(!Je(i.id))return;let s=i.id.properties.find(o=>he(o)&&T.isIdentifier(o.key)&&o.key.name===r);return s?s.key:void 0}}var Rc=r=>[...Qv,...Kv,Hv].includes(r),Dc=(r,t)=>typeof t=="string"&&r.endsWith(t),Qp=(r,t)=>Rc(r)||Dc(r,t),kv=(r,t)=>pe(r)&&typeof r.value=="string"&&(t===void 0||r.value===t),Xp=(r,t)=>Av(r)&&r.quasis.length===1&&(t===void 0||r.quasis[0]?.value.raw===t),Jp=(r,t)=>kv(r,t)||Xp(r,t),$p=r=>Xp(r)?r.quasis[0].value.raw:r.value,zp=(r,t)=>T.isIdentifier(r)&&(t===void 0||r.name===t),Zp=(r,t)=>zp(r,t)||Jp(r,t),eT=r=>r.type===Y.AST_NODE_TYPES.Identifier?r.name:$p(r),Fv=r=>bv(r.parent)?null:Bc(r.node)?{source:r.parent.source.value,imported:null,local:r.node.local.name}:!Do(r.node)||r.parent.importKind==="type"?null:{source:r.parent.source.value,imported:"name"in r.node.imported?r.node.imported.name:r.node.imported.value,local:r.node.local.name},Gv=r=>{if(!r.node.init)return null;let t=v(r.node.init)&&zp(r.node.init.callee,"require")?r.node.init.arguments[0]:T.isAwaitExpression(r.node.init)&&gv(r.node.init.argument)?r.node.init.argument.source:null;return!t||!Jp(t)||!he(r.name.parent)||!Zp(r.name.parent.key)?null:{source:$p(t),imported:eT(r.name.parent.key),local:r.name.name}},Bv=r=>r.type===Yr.DefinitionType.Variable?Gv(r):r.type===Yr.DefinitionType.ImportBinding?Fv(r):null,jv=(r,t)=>{let i=r;for(;i!==null;){let s=i.set.get(t);if(s&&s.defs.length>0){let o=s.defs[s.defs.length-1],a=o?Bv(o):null;return a?.local===t?a:"local"}i=i.upper}return null},Nv=(r,t)=>r&&t?[...r,...t]:null,Io=r=>{if(Zp(r))return[r];switch(r.type){case Y.AST_NODE_TYPES.MemberExpression:return Nv(Io(r.object),Io(r.property));case Y.AST_NODE_TYPES.CallExpression:return Io(r.callee)}return null},jc=(r,t)=>{let i=Io(r);if(!i?.length)return null;let s=i[0];if(!s)return null;let o=jv(t.sourceCode.getScope(s),eT(s));if(o==="local"||o===null)return null;let a=t.settings["testing-library/utils-module"];return Qp(o.source,a)?{original:o.imported,local:o.local}:null},tT=(r,t)=>{let i=[];return r.forEach(s=>{let o=s.replace("By","");t.forEach(a=>{i.push(`${o}${a}`)})}),i},Wv=r=>`https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/${r}.md`,Kv=["@testing-library/dom","@testing-library/angular","@testing-library/react","@testing-library/preact","@testing-library/vue","@testing-library/svelte","@marko/testing-library"],Hv="@testing-library/user-event",Qv=["dom-testing-library","vue-testing-library","react-testing-library"],rT=["getBy","getAllBy","queryBy","queryAllBy"],iT=["findBy","findAllBy"],Xv=[...rT,...iT],nT=["ByLabelText","ByPlaceholderText","ByText","ByAltText","ByTitle","ByDisplayValue","ByRole","ByTestId"],Jv=tT(rT,nT),$v=tT(iT,nT),Mo=[...Jv,...$v],zv=["waitFor","waitForElementToBeRemoved"],sT=["debug","logTestingPlaygroundURL","prettyDOM","logRoles","logDOM","prettyFormat"],xp=["fireEvent","userEvent"],Op=["beforeEach","beforeAll"],Zv=["activeElement","children","childElementCount","firstChild","firstElementChild","fullscreenElement","lastChild","lastElementChild","nextElementSibling","nextSibling","parentElement","parentNode","pointerLockElement","previousElementSibling","previousSibling","rootNode","scripts"],eA=["closest","getElementById","getElementsByClassName","getElementsByName","getElementsByTagName","getElementsByTagNameNS","querySelector","querySelectorAll"],tA=["click","select","submit"],rA=[...Zv,...eA],Oo=["toBeOnTheScreen","toBeInTheDocument","toBeTruthy","toBeDefined"],wc=["toBeNull","toBeFalsy"],mr="off",Ic="react-dom/test-utils",pt="fireEvent",iA="createEvent",Vo="userEvent",Rp="render";function nA(r,{skipRuleReportingCheck:t=!1}={}){return(i,s)=>{let o=[],a=null,c=null,l=null,d=i.settings["testing-library/utils-module"],f=i.settings["testing-library/custom-renders"],m=i.settings["testing-library/custom-queries"];function u(y,A){if(!y)return!1;let U=k(Ht(y));if(!U)return!1;let C=Xc(U),O=Do(C)&&T.isIdentifier(C.imported)&&C.local.name!==C.imported.name?C.imported.name:void 0;return A(y.name,O)?p()?!0:$c(U):!1}let p=()=>!d,b=()=>{let y=f===mr,A=Array.isArray(f)&&f.length>0;return!y&&!A},P=()=>{let y=m===mr,A=Array.isArray(m)&&m.length>0;return!y&&!A},_=()=>{if(!p()&&d!==mr)return d},x=()=>!b()&&f!==mr?f:[],X=()=>!P()&&m!==mr?m:[],Ue=()=>o[0]??null,ie=()=>o,le=()=>a,ce=()=>jt(o[0]),ye=()=>jt(a),ue=(y=!1)=>{let A=o.length!==0||!!a;return!y&&p()||A},W=y=>{if(!/^(get|query|find)(All)?By.+$/.test(y.name))return!1;if(P())return!0;let A=X(),U=Mo.includes(y.name),C=A.some(O=>new RegExp(O).test(y.name));return U||C},Me=y=>W(y)&&y.name.startsWith("get"),ne=y=>W(y)&&y.name.startsWith("query"),ke=y=>W(y)&&y.name.startsWith("find"),$e=y=>Me(y)||ne(y),At=y=>ke(y),ht=y=>W(y)&&!Mo.includes(y.name),Pt=y=>W(y)&&Mo.includes(y.name),Ut=(y,A=zv)=>u(y,(U,C)=>A.includes(U)||!!C&&A.includes(C)),$t=y=>u(y,(A,U)=>[A,U].includes("fireEvent")),ko=y=>{let A=Qc(),U;return A?U=T.isIdentifier(A)?A.name:A.local.name:p()&&(U=Vo),U?y.name===U:!1},vr=y=>{let A=Go(pt),U;if(A?U=T.isIdentifier(A)?A.name:A.local.name:p()&&(U=pt),!U)return!1;let C=y.parent&&h(y.parent)?y.parent:void 0,O=y.parent&&v(y.parent)?y.parent:void 0;if(!C&&!O)return!1;if(O)return[U,pt].includes(y.name);let Z=C,Ar=T.isIdentifier(Z.object)&&v(Z.parent)&&Z.object.name===U&&y.name!==pt&&y.name!==U,hr=h(Z.object)&&T.isIdentifier(Z.object.object)&&Z.object.object.name===U&&T.isIdentifier(Z.object.property)&&Z.object.property.name===pt&&y.name!==pt&&y.name!==U,mT=T.isIdentifier(Z.object)&&Z.object.name===U&&T.isIdentifier(Z.property)&&Z.property.name===pt&&!h(Z.parent)&&y.name===pt&&y.name!==U;return Ar||hr||mT},Wc=(y,A)=>{let U=Qc(),C;U?C=T.isIdentifier(U)?U.name:U.local.name:p()&&(C=Vo);let O=y.parent&&h(y.parent)?y.parent:void 0;return!O||C&&[C,Vo].includes(y.name)||T.isIdentifier(O.object)&&O.object.name===y.name?!1:!!(C&&T.isIdentifier(O.object)&&O.object.name===C||A&&T.isIdentifier(O.object)&&A.has(O.object.name))},Fo=y=>u(y,(A,U)=>b()?A.toLowerCase().includes(Rp):[Rp,...x()].some(C=>C===A||!!U&&C===U)),Kc=y=>{let A=(U,C)=>[U,C].includes(iA);return v(y)&&h(y.callee)&&T.isIdentifier(y.callee.object)?u(y.callee.object,A):v(y)&&h(y.callee)&&h(y.callee.object)&&T.isIdentifier(y.callee.object.property)?u(y.callee.object.property,A):u(w(y),A)},ET=y=>{if(!y.init)return!1;let A=w(y.init);return A?Fo(A):!1},pT=(y,A=sT)=>!(h(y.parent)&&T.isIdentifier(y.parent.object)&&y.parent.object.name==="console")&&u(y,(U,C)=>A.includes(U)||!!C&&A.includes(C)),Hc=y=>{let A=u(y,(C,O)=>[C,O].filter(Boolean).includes("act")),U=(()=>{if(!l)return!1;let C=k(Ht(y));if(!C)return!1;let O=Cc(y.name,l);if(!O)return!1;let Z=(()=>{if(Nt(O.parent))return O.parent;let hr=Oc(O);if(v(hr?.init))return hr?.init})();if(!Z)return!1;let Ar=jt(Z);return!Ar||Ar!==Ic?!1:Mp(O,C.name)})();return A||U},TT=y=>Ut(y)||W(y)||Fo(y)||vr(y)||Wc(y)||Hc(y)||Kc(y),PT=y=>{let{matcher:A,isNegated:U}=Vc(y);return A?U?wc.some(C=>C===A):Oo.some(C=>C===A):!1},fT=y=>{let{matcher:A,isNegated:U}=Vc(y);return A?U?Oo.some(C=>C===A):wc.some(C=>C===A):!1},dT=(y,A)=>{let{matcher:U}=Vc(y);return U?U===A:!1},Go=y=>{let A=le()??Ue();if(A)return Cc(y,A)},Qc=()=>{if(!c){let y=le();return y?Cc(Vo,y)??null:null}if(Nt(c)){let y=c.specifiers.find(A=>Bc(A));if(y)return y.local}else{if(!T.isVariableDeclarator(c.parent))return null;let y=c.parent;return T.isIdentifier(y.id)?y.id:null}return null},Xc=y=>{let A=k(y)?.name;if(A)return Go(A)},Jc=()=>t||ue(),$c=y=>{let A=Xc(y);if(!A||!k(Ht(y)))return!1;let U=(()=>{if(Nt(A.parent))return A.parent;let Z=Oc(A);if(v(Z?.init))return Z?.init})();if(!U)return!1;let C=jt(U);if(!C)return!1;let O=k(y)?.name;return O?Mp(A,O)&&Qp(C,d):!1},yT={getTestingLibraryImportNode:Ue,getAllTestingLibraryImportNodes:ie,getCustomModuleImportNode:le,getTestingLibraryImportName:ce,getCustomModuleImportName:ye,isTestingLibraryImported:ue,isTestingLibraryUtil:TT,isGetQueryVariant:Me,isQueryQueryVariant:ne,isFindQueryVariant:ke,isSyncQuery:$e,isAsyncQuery:At,isQuery:W,isCustomQuery:ht,isBuiltInQuery:Pt,isAsyncUtil:Ut,isFireEventUtil:$t,isUserEventUtil:ko,isFireEventMethod:vr,isUserEventMethod:Wc,isRenderUtil:Fo,isCreateEventUtil:Kc,isRenderVariableDeclarator:ET,isDebugUtil:pT,isActUtil:Hc,isPresenceAssert:PT,isMatchingAssert:dT,isAbsenceAssert:fT,canReportErrors:Jc,findImportedTestingLibraryUtilSpecifier:Go,isNodeComingFromTestingLibrary:$c},Bo={ImportDeclaration(y){if(typeof y.source.value!="string")return;Rc(y.source.value)&&o.push(y);let A=_();!a&&Dc(y.source.value,A)&&(a=y),!c&&y.source.value==="@testing-library/user-event"&&(c=y),!c&&y.source.value===Ic&&(l=y)},'CallExpression > Identifier[name="require"]'(y){let A=y.parent,{arguments:U}=A;U.some(O=>pe(O)&&typeof O.value=="string"&&Rc(O.value))&&o.push(A);let C=_();!a&&U.some(O=>pe(O)&&typeof O.value=="string"&&Dc(O.value,C))&&(a=A),!a&&U.some(O=>pe(O)&&typeof O.value=="string"&&O.value==="@testing-library/user-event")&&(c=A),!l&&U.some(O=>pe(O)&&typeof O.value=="string"&&O.value===Ic)&&(l=A)}},jo=r(i,s,yT),zc={};return new Set(Object.keys(Bo).concat(Object.keys(jo))).forEach(y=>{zc[y]=A=>{if(y in Bo&&Bo[y]?.(A),Jc()&&jo[y])return jo[y]?.(A)}}),zc}}var F=({create:r,detectionOptions:t={},...i})=>{let s=ya.RuleCreator(Wv)({...i,create:nA(r,t)}),{docs:o}=s.meta;if(o===void 0)throw new Error("Rule metadata must contain `docs` property");return{...s,meta:{...s.meta,docs:o}}},sA="await-async-events",oA="fireEvent",Co="userEvent",Dp="setup",aA=F({name:sA,meta:{type:"problem",docs:{description:"Enforce promises from async event methods are handled",recommendedConfig:{dom:["error",{eventModule:"userEvent"}],angular:["error",{eventModule:"userEvent"}],react:["error",{eventModule:"userEvent"}],vue:["error",{eventModule:["fireEvent","userEvent"]}],svelte:["error",{eventModule:["fireEvent","userEvent"]}],marko:["error",{eventModule:["fireEvent","userEvent"]}]}},messages:{awaitAsyncEvent:"Promise returned from async event method `{{ name }}` must be handled",awaitAsyncEventWrapper:"Promise returned from `{{ name }}` wrapper over async event method must be handled"},fixable:"code",schema:[{type:"object",default:{},additionalProperties:!1,properties:{eventModule:{default:Co,oneOf:[{enum:xp.concat(),type:"string"},{items:{type:"string",enum:xp.concat()},type:"array"}]}}}]},defaultOptions:[{eventModule:Co}],create(r,[t],i){let s=[],o=new Set,a=new Map;function c({node:p,closestCallExpression:b,messageId:P="awaitAsyncEvent",fix:_}){Kt(p)||r.report({node:b.callee,messageId:P,data:{name:p.name},fix:_})}function l(p){let b=Tt(r,p);b&&s.push(it(b))}function d(p){return p.type===Y.AST_NODE_TYPES.CallExpression&&p.callee.type===Y.AST_NODE_TYPES.MemberExpression&&p.callee.object.type===Y.AST_NODE_TYPES.Identifier&&p.callee.object.name===Co&&p.callee.property.type===Y.AST_NODE_TYPES.Identifier&&p.callee.property.name===Dp}let f=typeof t.eventModule=="string"?[t.eventModule]:t.eventModule,m=f.includes(oA),u=f.includes(Co);return{VariableDeclarator(p){if(u&&(p.init&&d(p.init)&&p.id.type===Y.AST_NODE_TYPES.Identifier&&o.add(p.id.name),p.id.type===Y.AST_NODE_TYPES.ObjectPattern&&p.init&&p.init.type===Y.AST_NODE_TYPES.CallExpression&&p.init.callee.type===Y.AST_NODE_TYPES.Identifier)){let b=p.init.callee.name,P=a.get(b);if(P)for(let _ of p.id.properties)_.type===Y.AST_NODE_TYPES.Property&&_.key.type===Y.AST_NODE_TYPES.Identifier&&P.has(_.key.name)&&_.value.type===Y.AST_NODE_TYPES.Identifier&&o.add(_.value.name)}},ReturnStatement(p){if(!u||!p.argument||p.argument.type!==Y.AST_NODE_TYPES.ObjectExpression)return;let b=new Set;for(let P of p.argument.properties)P.type===Y.AST_NODE_TYPES.Property&&P.key.type===Y.AST_NODE_TYPES.Identifier&&(d(P.value)||P.value.type===Y.AST_NODE_TYPES.Identifier&&o.has(P.value.name))&&b.add(P.key.name);if(b.size>0){let P=Wt(p);if(P){let _=it(P);a.set(_,b)}}},"CallExpression Identifier"(p){if(m&&i.isFireEventMethod(p)||u&&i.isUserEventMethod(p,o)){if(p.name===Dp)return;l(p);let b=qe(p,!0);if(!b?.parent)return;let P=wo(r,b.parent);if(P.length===0)c({node:p,closestCallExpression:b,fix:_=>{if(h(p.parent)){let x=Wt(p);if(x){if(w(x.parent)?.name==="forEach")return null;let X=_.insertTextBefore(p.parent,"await ");return x.async?X:(x.async=!0,[X,_.insertTextBefore(x,"async ")])}}return null}});else for(let _ of P)T.isIdentifier(_.identifier)&&c({node:_.identifier,closestCallExpression:b})}else if(s.includes(p.name)){let b=qe(p,!0);if(!b)return;c({node:p,closestCallExpression:b,messageId:"awaitAsyncEventWrapper",fix:P=>{let _=Wt(p);if(_){let x=P.insertTextBefore(p,"await ");return _.async?x:(_.async=!0,[x,P.insertTextBefore(_,"async ")])}return null}})}}}}}),qc=(r,t,i)=>i&&!i.async?(i.async=!0,[t,r.insertTextBefore(i,"async ")]):t,lA=F({name:"await-async-queries",meta:{type:"problem",docs:{description:"Enforce promises from async queries to be handled",recommendedConfig:{dom:"error",angular:"error",react:"error",vue:"error",svelte:"error",marko:"error"}},messages:{awaitAsyncQuery:"promise returned from `{{ name }}` query must be handled",asyncQueryWrapper:"promise returned from `{{ name }}` wrapper over async query must be handled"},fixable:"code",schema:[]},defaultOptions:[],create(r,t,i){let s=[];function o(a){let c=Tt(r,a);c&&s.push(it(c))}return{CallExpression(a){let c=w(a);if(c)if(i.isAsyncQuery(c)){o(c);let l=qe(a,!0);if(!l?.parent)return;let d=wo(r,l.parent);if(d.length===0&&!Kt(c)){r.report({node:c,messageId:"awaitAsyncQuery",data:{name:c.name},fix:f=>h(c.parent)&&T.isIdentifier(c.parent.object)?f.insertTextBefore(c.parent,"await "):f.insertTextBefore(c,"await ")});return}for(let f of d)if(T.isIdentifier(f.identifier)&&!Kt(f.identifier)){r.report({node:c,messageId:"awaitAsyncQuery",data:{name:c.name},fix:m=>d.map(u=>m.insertTextBefore(u.identifier,"await "))});return}}else s.includes(c.name)&&!Kt(c)&&r.report({node:c,messageId:"asyncQueryWrapper",data:{name:c.name},fix:l=>{let d=Wt(a);if(!d)return null;let f;return h(c.parent)?f=l.insertTextBefore(c.parent,"await "):f=l.insertTextBefore(c,"await "),qc(l,f,d)}})}}}}),cA=F({name:"await-async-utils",meta:{type:"problem",docs:{description:"Enforce promises from async utils to be awaited properly",recommendedConfig:{dom:"error",angular:"error",react:"error",vue:"error",svelte:"error",marko:"error"}},messages:{awaitAsyncUtil:"Promise returned from `{{ name }}` must be handled",asyncUtilWrapper:"Promise returned from {{ name }} wrapper over async util must be handled"},schema:[],fixable:"code"},defaultOptions:[],create(r,t,i){let s=[];function o(d){let f=Tt(r,d);if(!f)return;let m=it(f);m.length!==0&&s.push(m)}function a(d){for(let f of d.properties)he(f)&&(!T.isIdentifier(f.key)||!T.isIdentifier(f.value)||s.includes(f.key.name)&&f.key.name!==f.value.name&&s.push(f.value.name))}function c(d,f){return d.insertTextBefore(f,"await ")}let l=d=>i.isAsyncUtil(d)?"awaitAsyncUtil":"asyncUtilWrapper";return{VariableDeclarator(d){if(Je(d.id)){a(d.id);return}T.isIdentifier(d.id)&&d.init!==null&&!v(d.init)&&!T.isAwaitExpression(d.init)&&s.includes(w(d.init)?.name??"")&&s.push(d.id.name)},CallExpression(d){let f=w(d);if(!f||!(i.isAsyncUtil(f)||s.includes(f.name)))return;i.isAsyncUtil(f)&&o(f);let m=qe(f,!0);if(!m?.parent)return;let u=wo(r,m.parent),p=Wt(d);if(u.length===0)Kt(f)||r.report({node:f,messageId:l(f),data:{name:f.name},fix:b=>qc(b,c(b,Ht(f)),p)});else for(let b of u){let P=b.identifier;if(!Kt(P)){r.report({node:f,messageId:l(f),data:{name:f.name},fix:_=>qc(_,c(_,P),p)});return}}}}}}),uA="consistent-data-testid",EA="{fileName}",pA=F({name:uA,meta:{type:"suggestion",docs:{description:"Ensures consistent usage of `data-testid`",recommendedConfig:{dom:!1,angular:!1,react:!1,vue:!1,svelte:!1,marko:!1}},messages:{consistentDataTestId:'`{{attr}}` "{{value}}" should match `{{regex}}`',consistentDataTestIdCustomMessage:"`{{message}}`"},schema:[{type:"object",default:{},additionalProperties:!1,required:["testIdPattern"],properties:{testIdPattern:{type:"string"},testIdAttribute:{default:"data-testid",oneOf:[{type:"string"},{type:"array",items:{type:"string"}}]},customMessage:{default:void 0,type:"string"}}}]},defaultOptions:[{testIdPattern:"",testIdAttribute:"data-testid",customMessage:void 0}],detectionOptions:{skipRuleReportingCheck:!0},create:(r,[t])=>{let{testIdPattern:i,testIdAttribute:s,customMessage:o}=t;function a(){let f=mv(r).split("/"),m=f.pop()??"";if(m.includes("[")||m.includes("]"))return{fileName:void 0};let u=f.pop(),p=m.split(".").shift();return{fileName:p==="index"?u:p}}function c(f){return new RegExp(i.replace(EA,f))}function l(f){return typeof s=="string"?s===f:s?.includes(f)??!1}function d(){return o===void 0?"consistentDataTestId":"consistentDataTestIdCustomMessage"}return{JSXIdentifier:f=>{if(!f.parent||!vv(f.parent)||!pe(f.parent.value)||!l(f.name))return;let m=f.parent.value.value,{fileName:u}=a(),p=c(u??"");m&&typeof m=="string"&&!p.test(m)&&r.report({node:f,messageId:d(),data:{attr:f.name,value:m,regex:p,message:o}})}}}}),TA=["type","keyboard"],Nc="fire-event",oT="user-event",PA=[Nc,oT],Gt=[Nc],fA=F({name:"no-await-sync-events",meta:{type:"problem",docs:{description:"Disallow unnecessary `await` for sync events",recommendedConfig:{dom:["error",{eventModules:Gt}],angular:["error",{eventModules:Gt}],react:["error",{eventModules:Gt}],vue:!1,svelte:!1,marko:!1}},messages:{noAwaitSyncEvents:"`{{ name }}` is sync and does not need `await` operator"},schema:[{type:"object",properties:{eventModules:{type:"array",items:{type:"string",enum:PA},minItems:1,default:Gt}},additionalProperties:!1}]},defaultOptions:[{eventModules:Gt}],create(r,[t],i){let{eventModules:s=Gt}=t,o;return{VariableDeclaration(a){o=a.declarations.some(c=>T.isIdentifier(c.id)&&c.id.name==="delay"&&pe(c.init)&&c.init.value&&Number.isInteger(c.init.value)&&Number(c.init.value)>0)},AssignmentExpression(a){T.isIdentifier(a.left)&&a.left.name==="delay"&&pe(a.right)&&a.right.value!==null&&(o=Number.isInteger(a.right.value)&&Number(a.right.value)>0)},"AwaitExpression > CallExpression"(a){let c=w(a);if(!c)return;let l=i.isUserEventMethod(c),d=i.isFireEventMethod(c);if(!(l||d)||d&&!s.includes(Nc)||l&&!s.includes(oT))return;let f=a.arguments[a.arguments.length-1],m=gr(f)&&f.properties.some(_=>he(_)&&T.isIdentifier(_.key)&&_.key.name==="delay"),u=gr(f)&&f.properties.some(_=>he(_)&&T.isIdentifier(_.key)&&_.key.name==="delay"&&pe(_.value)&&!!_.value.value&&Number.isInteger(_.value.value)&&Number(_.value.value)>0),p=c.name;if(TA.includes(p)&&m&&(o||u))return;let b=k(a)?.name,P=b?`${b}.${p}`:p;r.report({node:a,messageId:"noAwaitSyncEvents",data:{name:P}})}}}}),dA=F({name:"no-await-sync-queries",meta:{type:"problem",docs:{description:"Disallow unnecessary `await` for sync queries",recommendedConfig:{dom:"error",angular:"error",react:"error",vue:"error",svelte:"error",marko:"error"}},messages:{noAwaitSyncQuery:"`{{ name }}` query is sync so it does not need to be awaited"},schema:[],fixable:"code"},defaultOptions:[],create(r,t,i){return{"AwaitExpression > CallExpression"(s){let o=s.parent,a=w(s);a&&i.isSyncQuery(a)&&r.report({node:a,messageId:"noAwaitSyncQuery",data:{name:a.name},fix:c=>{let l=St(r).getFirstToken(o);return l?c.remove(l):null}})}}}}),yA=F({name:"no-container",meta:{type:"problem",docs:{description:"Disallow the use of `container` methods",recommendedConfig:{dom:!1,angular:"error",react:"error",vue:"error",svelte:"error",marko:"error"}},messages:{noContainer:'Avoid using container methods. Prefer using the methods from Testing Library, such as "getByRole()"'},schema:[]},defaultOptions:[],create(r,t,i){let s=[],o=[],a=null,c=null,l=!1;function d(m){let u=Tt(r,m);u&&o.push(it(u))}function f(m){if(h(m)){if(T.isIdentifier(m.object)){if(m.object.name===c){r.report({node:m,messageId:"noContainer"});return}let u=m.object.name===a;if(l=T.isIdentifier(m.property)&&m.property.name==="container"&&u,l){r.report({node:m.property,messageId:"noContainer"});return}}f(m.object)}}return{CallExpression(m){let u=w(m);u&&(i.isRenderUtil(u)&&d(u),h(m.callee)?f(m.callee):T.isIdentifier(m.callee)&&s.includes(m.callee.name)&&r.report({node:m,messageId:"noContainer"}))},VariableDeclarator(m){if(!m.init)return;let u=w(m.init);if(!u)return;let p=o.includes(u.name);if(!(!i.isRenderVariableDeclarator(m)&&!p))if(Je(m.id)){let b=m.id.properties.findIndex(_=>he(_)&&T.isIdentifier(_.key)&&_.key.name==="container"),P=b!==-1&&m.id.properties[b]?.value;if(!P)return;T.isIdentifier(P)?c=P.name:Je(P)&&P.properties.forEach(_=>he(_)&&T.isIdentifier(_.key)&&s.push(_.key.name))}else T.isIdentifier(m.id)&&(a=m.id.name)}}}}),mA=F({name:"no-debugging-utils",meta:{type:"problem",docs:{description:"Disallow the use of debugging utilities like `debug`",recommendedConfig:{dom:!1,angular:"warn",react:"warn",vue:"warn",svelte:"warn",marko:"warn"}},messages:{noDebug:"Unexpected debug statement"},schema:[{type:"object",properties:{utilsToCheckFor:{type:"object",properties:sT.reduce((r,t)=>({[t]:{type:"boolean"},...r}),{}),additionalProperties:!1}},additionalProperties:!1}]},defaultOptions:[{utilsToCheckFor:{debug:!0,logTestingPlaygroundURL:!0,prettyDOM:!0,logRoles:!0,logDOM:!0,prettyFormat:!0}}],create(r,[{utilsToCheckFor:t={}}],i){let s=[],o=[],a=[],c=[],l=Object.entries(t).filter(([,f])=>f).map(([f])=>f);function d(f){let m=Tt(r,f);m&&a.push(it(m))}return{VariableDeclarator(f){if(!f.init)return;let m=w(f.init);if(!m)return;if(m.name==="console"){c.push(f);return}let u=a.includes(m.name);if(!(!i.isRenderVariableDeclarator(f)&&!u)){if(Je(f.id)){for(let p of f.id.properties)if(he(p)&&T.isIdentifier(p.key)&&l.includes(p.key.name)){let b=w(p.value);b&&s.push(b.name)}}T.isIdentifier(f.id)&&o.push(f.id)}},CallExpression(f){let m=w(f);if(!m)return;i.isRenderUtil(m)&&d(m);let u=k(Ht(f));if(!u)return;let p=i.isDebugUtil(m,l),b=s.includes(m.name),P=o.some(_=>l.includes(m.name)&&_.name===u.name);!c.some(_=>Fc(r,_).some(({name:x})=>x===m.name&&v(m.parent)))&&(p||b||P)&&r.report({node:m,messageId:"noDebug"})}}}}),_A="no-dom-import",YA=["dom-testing-library","@testing-library/dom"],bA={angular:"@testing-library/angular",marko:"@marko/testing-library"},gA=(r,t)=>bA[t]??r.replace("dom",t),SA=F({name:_A,meta:{type:"problem",docs:{description:"Disallow importing from DOM Testing Library",recommendedConfig:{dom:!1,angular:["error","angular"],react:["error","react"],vue:["error","vue"],svelte:["error","svelte"],marko:["error","marko"]}},messages:{noDomImport:"import from DOM Testing Library is restricted, import from corresponding Testing Library framework instead",noDomImportFramework:"import from DOM Testing Library is restricted, import from {{module}} instead"},fixable:"code",schema:[{type:"string"}]},defaultOptions:[""],create(r,[t],i){function s(o,a){if(!t)return r.report({node:o,messageId:"noDomImport"});let c=gA(a,t);r.report({data:{module:c},fix(l){if(v(o)){let d=o.arguments[0];return l.replaceText(d,d.raw.replace(a,c))}else{let d=o.source;return l.replaceText(d,d.raw.replace(a,c))}},messageId:"noDomImportFramework",node:o})}return{"Program:exit"(){let o;i.getAllTestingLibraryImportNodes().forEach(a=>{o=jt(a);let c=YA.find(l=>l===o);c&&s(a,c)})}}}}),vA=F({name:"no-global-regexp-flag-in-query",meta:{type:"suggestion",docs:{description:"Disallow the use of the global RegExp flag (/g) in queries",recommendedConfig:{dom:"error",angular:"error",react:"error",vue:"error",svelte:"error",marko:"error"}},messages:{noGlobalRegExpFlagInQuery:"Avoid using the global RegExp flag (/g) in queries"},fixable:"code",schema:[]},defaultOptions:[],create(r,t,i){function s(l){return pe(l)&&"regex"in l&&l.regex.flags.includes("g")?(r.report({node:l,messageId:"noGlobalRegExpFlagInQuery",fix(d){let f=l.raw.lastIndexOf("/"),m=l.raw.substring(0,f),u=l.raw.substring(f+1).replace("g","");return d.replaceText(l,`${m}/${u}`)}}),!0):!1}function o(l){return v(l.parent)?l.parent.arguments:h(l.parent)&&v(l.parent.parent)?l.parent.parent.arguments:[]}let a=[];function c(l){return a.find(d=>{if(T.isVariableDeclarator(d)&&T.isIdentifier(d.id))return d.id.name===l.name})}return{VariableDeclarator(l){T.isVariableDeclarator(l)&&pe(l.init)&&"regex"in l.init&&l.init.regex.flags.includes("g")&&a.push(l)},CallExpression(l){let d=w(l);if(!d||!i.isQuery(d))return;let[f,m]=o(d);if(!(f&&s(f))){if(T.isIdentifier(f)){let u=c(f);u!==void 0&&r.report({node:f,messageId:"noGlobalRegExpFlagInQuery",fix(p){if(T.isVariableDeclarator(u)&&pe(u.init)&&"regex"in u.init&&u.init.regex.flags.includes("g")){let b=u.init.raw.lastIndexOf("/"),P=u.init.raw.substring(0,b),_=u.init.raw.substring(b+1).replace("g","");return p.replaceText(u.init,`${P}/${_}`)}return null}})}if(gr(m)){let u=m.properties.find(p=>he(p)&&T.isIdentifier(p.key)&&p.key.name==="name"&&pe(p.value));u&&s(u.value)}}}}}}),AA="no-manual-cleanup",hA=/(@testing-library\/(preact|react|svelte|vue))|@marko\/testing-library/,UA=F({name:AA,meta:{type:"problem",docs:{description:"Disallow the use of `cleanup`",recommendedConfig:{dom:!1,angular:!1,react:"error",vue:"error",svelte:"error",marko:!1}},messages:{noManualCleanup:"`cleanup` is performed automatically by your test runner, you don't need manual cleanups."},schema:[]},defaultOptions:[],create(r,t,i){function s(a){for(let c of a){let l=c.identifier.parent;l&&h(l)&&T.isIdentifier(l.property)&&l.property.name==="cleanup"&&r.report({node:l.property,messageId:"noManualCleanup"})}}function o(a){if(Nt(a)){if(Bc(a.specifiers[0])){let l=Fc(r,a)[0];l&&s(l.references)}let c=a.specifiers.find(l=>Do(l)&&T.isIdentifier(l.imported)&&l.imported.name==="cleanup");c&&r.report({node:c,messageId:"noManualCleanup"})}else{let c=a.parent;if(Je(c.id)){let l=c.id.properties.find(d=>he(d)&&T.isIdentifier(d.key)&&d.key.name==="cleanup");l&&r.report({node:l,messageId:"noManualCleanup"})}else s(wo(r,c))}}return{"Program:exit"(){let a=i.getCustomModuleImportNode();for(let c of i.getAllTestingLibraryImportNodes())jt(c)?.match(hA)&&o(c);a&&o(a)}}}}),LA=F({name:"no-node-access",meta:{type:"problem",docs:{description:"Disallow direct Node access",recommendedConfig:{dom:"error",angular:"error",react:"error",vue:"error",svelte:"error",marko:"error"}},messages:{noNodeAccess:"Avoid direct Node access. Prefer using the methods from Testing Library."},schema:[{type:"object",properties:{allowContainerFirstChild:{type:"boolean"}},additionalProperties:!1}]},defaultOptions:[{allowContainerFirstChild:!1}],create(r,[{allowContainerFirstChild:t=!1}],i){function s(a){if(!i.isTestingLibraryImported(!0)||h(a.parent)&&a.parent.object===a)return;let c=T.isIdentifier(a.property)?a.property.name:null;if(c&&rA.some(l=>l===c)){if(t&&c==="firstChild"||T.isIdentifier(a.object)&&a.object.name==="props")return;r.report({node:a,loc:a.property.loc.start,messageId:"noNodeAccess"})}}function o(a){return pe(a)?a:w(a)}return{CallExpression(a){if(!h(a.callee))return;let{callee:c}=a;if(!tA.some(d=>d===T.getPropertyName(c)))return;let l=w(c.object);if(!(!l||!Mo.includes(l.name))&&jc(a,r)){let d=o(c.property);r.report({node:a,loc:d?.loc.start,messageId:"noNodeAccess"})}},"ExpressionStatement MemberExpression":s,"VariableDeclarator MemberExpression":s}}}),VA=F({name:"no-promise-in-fire-event",meta:{type:"problem",docs:{description:"Disallow the use of promises passed to a `fireEvent` method",recommendedConfig:{dom:"error",angular:"error",react:"error",vue:"error",svelte:"error",marko:"error"}},messages:{noPromiseInFireEvent:"A promise shouldn't be passed to a `fireEvent` method, instead pass the DOM element"},schema:[]},defaultOptions:[],create(r,t,i){function s(o,a){if(!T.isAwaitExpression(o)){if(hv(o)&&xo(o.callee)){r.report({node:a??o,messageId:"noPromiseInFireEvent"});return}if(v(o)){let c=w(o);if(!c)return;if(i.isAsyncQuery(c)||xo(c)){r.report({node:a??o,messageId:"noPromiseInFireEvent"});return}}if(T.isIdentifier(o)){let c=T.findVariable(kc(r,o),o.name);if(!c)return;for(let l of c.defs){let d=l.node;d.init&&s(d.init,o)}}}}return{"CallExpression Identifier"(o){if(!i.isFireEventMethod(o))return;let a=qe(o,!0);if(!a)return;let c=a.arguments[0];c&&s(c)}}}}),CA="no-render-in-lifecycle";function aT(r,t){return r===null?null:v(r)&&T.isIdentifier(r.callee)&&t.includes(r.callee.name)?r.callee:r.parent?aT(r.parent,t):null}var IA=F({name:CA,meta:{type:"problem",docs:{description:"Disallow the use of `render` in testing frameworks setup functions",recommendedConfig:{dom:!1,angular:"error",react:"error",vue:"error",svelte:"error",marko:"error"}},messages:{noRenderInSetup:"Forbidden usage of `render` within testing framework `{{ name }}` setup"},schema:[{type:"object",properties:{allowTestingFrameworkSetupHook:{enum:[...Op],type:"string"}},additionalProperties:!1}]},defaultOptions:[{allowTestingFrameworkSetupHook:""}],create(r,[{allowTestingFrameworkSetupHook:t}],i){let s=[];function o(a){let c=Tt(r,a);c&&s.push(it(c))}return{CallExpression(a){let c=Op.filter(m=>m!==t),l=w(a);if(!l)return;let d=i.isRenderUtil(l);if(d&&o(l),!d&&!s.includes(l.name))return;let f=aT(a,c);f&&r.report({node:l,messageId:"noRenderInSetup",data:{name:f.name}})}}}}),MA="no-test-id-queries",wp=`/^(${Xv.join("|")})TestId$/`,xA=F({name:MA,meta:{type:"problem",docs:{description:"Ensure no `data-testid` queries are used",recommendedConfig:{dom:!1,angular:!1,react:!1,vue:!1,svelte:!1,marko:!1}},messages:{noTestIdQueries:"Using `data-testid` queries is not recommended. Use a more descriptive query instead."},schema:[]},defaultOptions:[],create(r){return{[`CallExpression[callee.property.name=${wp}], CallExpression[callee.name=${wp}]`](t){r.report({node:t,messageId:"noTestIdQueries"})}}}}),OA=F({name:"no-unnecessary-act",meta:{type:"problem",docs:{description:"Disallow wrapping Testing Library utils or empty callbacks in `act`",recommendedConfig:{dom:!1,angular:!1,react:"error",vue:!1,svelte:!1,marko:"error"}},messages:{noUnnecessaryActTestingLibraryUtil:"Avoid wrapping Testing Library util calls in `act`",noUnnecessaryActEmptyFunction:"Avoid wrapping empty function in `act`"},schema:[{type:"object",properties:{isStrict:{type:"boolean"}},additionalProperties:!1}]},defaultOptions:[{isStrict:!0}],create(r,[{isStrict:t=!0}],i){let s=new Set;function o(p){let b=wv(p);return!b&&!vt(p)&&!Jt(p)?null:b?w(b):vt(p)&&T.isAwaitExpression(p.expression)?k(p.expression.argument):Jt(p)&&p.argument?k(p.argument):null}function a(p){if(!h(p.parent))return!1;let b=k(p.parent);return s.has(b?.name??"")}function c(p,b){return p.some(P=>{let _=o(P);return _?b(_):!1})}function l(p){return c(p,b=>!i.isTestingLibraryUtil(b)&&!a(b))}function d(p){return c(p,b=>i.isTestingLibraryUtil(b)||a(b))}function f(p){let b=p.parent,P=b?.parent;if(!P||!b)return;let _=w(P);if(_&&i.isActUtil(_)){if(qv(b)){r.report({node:_,messageId:"noUnnecessaryActEmptyFunction"});return}(t?d(p.body):!l(p.body))&&r.report({node:_,messageId:"noUnnecessaryActTestingLibraryUtil"})}}function m(p){let b=w(p);if(!b)return;let P=p.parent?.parent;if(!P)return;let _=w(P);_&&i.isActUtil(_)&&i.isTestingLibraryUtil(b)&&r.report({node:_,messageId:"noUnnecessaryActTestingLibraryUtil"})}function u(p){let b=k(p),P=w(p),_=jc(p,r);b?.name===_?.local&&P?.name==="setup"&&T.isIdentifier(p.parent?.id)&&s.add(p.parent.id.name)}return{"VariableDeclarator > CallExpression":u,"CallExpression > ArrowFunctionExpression > BlockStatement":f,"CallExpression > FunctionExpression > BlockStatement":f,"CallExpression > ArrowFunctionExpression > CallExpression":m}}}),RA=F({name:"no-wait-for-multiple-assertions",meta:{type:"suggestion",docs:{description:"Disallow the use of multiple `expect` calls inside `waitFor`",recommendedConfig:{dom:"error",angular:"error",react:"error",vue:"error",svelte:"error",marko:"error"}},messages:{noWaitForMultipleAssertion:"Avoid using multiple assertions within `waitFor` callback"},schema:[],fixable:"code"},defaultOptions:[],create(r,t,i){function s(c){return c.filter(l=>{let d=k(l);return d?d.name==="expect":!1})}function o(c){if(!v(c))return null;let{callee:l}=c;if(!h(l))return null;let{object:d}=l;return!v(d)||d.arguments.length===0?null:d.arguments[0]}function a(c){if(!c.parent)return;let l=c.parent.parent,d=k(l);if(!d||!i.isAsyncUtil(d,["waitFor"]))return;let f=s(c.body),m=new Map;for(let u of f){let p=o(u.expression);if(!p)continue;let b=St(r).getText(p),P=[...m.get(b)??[],u];m.set(b,P)}for(let u of m.values())for(let p of u.slice(1))r.report({node:p,messageId:"noWaitForMultipleAssertion",fix(b){let P=St(r),_=P.getIndexFromLoc({line:p.loc.start.line,column:0}),x=P.getIndexFromLoc({line:p.loc.end.line+1,column:0}),X=P.getText().split(`
5
+ `),Ue=X[l.loc.start.line-1]?.match(/^\s*/)?.[0]??"",ie=X.slice(p.loc.start.line-1,p.loc.end.line).join(`
6
+ `).trimStart();return[b.removeRange([_,x]),b.insertTextAfter(l,`
7
+ ${Ue}${ie}`)]}})}return{"CallExpression > ArrowFunctionExpression > BlockStatement":a,"CallExpression > FunctionExpression > BlockStatement":a}}}),DA=F({name:"no-wait-for-side-effects",meta:{type:"suggestion",docs:{description:"Disallow the use of side effects in `waitFor`",recommendedConfig:{dom:"error",angular:"error",react:"error",vue:"error",svelte:"error",marko:"error"}},messages:{noSideEffectsWaitFor:"Avoid using side effects within `waitFor` callback"},schema:[],fixable:"code"},defaultOptions:[],create(r,t,i){let s=St(r);function o(P){if(!P.parent)return!1;let _=P.parent.parent,x=k(_);return!!x&&i.isAsyncUtil(x,["waitFor"])}function a(P){if(!P.parent)return!1;let _=P.parent.parent;return Vv(_.callee)}function c(P){return _r(P)&&P.declarations.some(i.isRenderVariableDeclarator)}function l(P){if(!vt(P)||!xc(P.expression))return!1;let _=k(P.expression.right);return _?i.isRenderUtil(_):!1}function d(P){if(!xc(P))return!1;let _=k(P.right);return _?i.isRenderUtil(_):!1}function f(P){return Yv(P)?P.expressions.some(d):!1}function m(P){return P.declarations.some(_=>{if(v(_.init)){let x=k(_.init);return x?i.isFireEventUtil(x)||i.isUserEventUtil(x)||i.isRenderUtil(x):!1}return!1})}function u(P){return P.filter(_=>{if(!vt(_)&&!_r(_))return!1;if(c(_)||l(_)||_r(_)&&m(_))return!0;let x=k(_);return x?i.isFireEventUtil(x)||i.isUserEventUtil(x)||i.isRenderUtil(x):!1})}function p(P){if(!o(P)||a(P))return;let _=u(P.body);_.forEach(x=>r.report({node:x,messageId:"noSideEffectsWaitFor",fix(X){let{parent:Ue}=P.parent,ie=(0,br.isAwaitExpression)(Ue.parent)?Ue.parent:Ue,le=s.getText().split(`
8
+ `),ce=le[ie.loc.start.line-1]?.match(/^\s*/)?.[0]??"",ye=le.slice(x.loc.start.line-1,x.loc.end.line).join(`
9
+ `).trimStart();if(_.length===P.body.length&&_.length===1){let Me=s.getTokenAfter(ie);return[X.insertTextBefore(ie,ye),Me?.value===";"?X.removeRange([ie.range[0],Me.range[1]]):X.remove(ie)]}let ue=s.getIndexFromLoc({line:x.loc.start.line,column:0}),W=s.getIndexFromLoc({line:x.loc.end.line+1,column:0});return[X.insertTextBefore(ie,ye+`
10
+ `+ce),X.removeRange([ue,W])]}}))}function b(P){if(!o(P))return;let _=v(P)?k(P.callee):null;!_&&!d(P)&&!f(P)||_&&!i.isFireEventUtil(_)&&!i.isUserEventUtil(_)&&!i.isRenderUtil(_)||r.report({node:P,messageId:"noSideEffectsWaitFor",fix:x=>{let{parent:X}=P.parent,Ue=(0,br.isAwaitExpression)(X.parent)?X.parent:X;return x.replaceText(Ue,s.getText(P))}})}return{"CallExpression > ArrowFunctionExpression > BlockStatement":p,"CallExpression > ArrowFunctionExpression > CallExpression":b,"CallExpression > ArrowFunctionExpression > AssignmentExpression":b,"CallExpression > ArrowFunctionExpression > SequenceExpression":b,"CallExpression > FunctionExpression > BlockStatement":p}}}),wA="no-wait-for-snapshot",qA=/^(toMatchSnapshot|toMatchInlineSnapshot)$/,kA=F({name:wA,meta:{type:"problem",docs:{description:"Ensures no snapshot is generated inside of a `waitFor` call",recommendedConfig:{dom:"error",angular:"error",react:"error",vue:"error",svelte:"error",marko:"error"}},messages:{noWaitForSnapshot:"A snapshot can't be generated inside of a `{{ name }}` call"},schema:[]},defaultOptions:[],create(r,t,i){function s(o){let a=o;do{let c=qe(a);if(!c)return null;if(T.isIdentifier(c.callee)&&i.isAsyncUtil(c.callee))return c.callee;if(h(c.callee)&&T.isIdentifier(c.callee.property)&&i.isAsyncUtil(c.callee.property))return c.callee.property;c.parent&&(a=qe(c.parent))}while(a!==null);return null}return{[`Identifier[name=${String(qA)}]`](o){let a=s(o);a!==null&&r.report({node:o,messageId:"noWaitForSnapshot",data:{name:a.name}})}}}}),FA="prefer-explicit-assert",qp=r=>!!r.parent?.parent&&r.parent.parent.type===Y.TSESTree.AST_NODE_TYPES.ExpressionStatement||r.parent?.parent?.type===Y.TSESTree.AST_NODE_TYPES.AwaitExpression&&!!r.parent.parent.parent&&r.parent.parent.parent.type===Y.TSESTree.AST_NODE_TYPES.ExpressionStatement,GA=r=>!!(v(r.parent)&&T.isAwaitExpression(r.parent.parent)&&T.isVariableDeclarator(r.parent.parent.parent)||v(r.parent)&&T.isVariableDeclarator(r.parent.parent)||h(r.parent)&&v(r.parent.parent)&&T.isAwaitExpression(r.parent.parent.parent)&&T.isVariableDeclarator(r.parent.parent.parent.parent)||h(r.parent)&&v(r.parent.parent)&&T.isVariableDeclarator(r.parent.parent.parent)),BA=F({name:FA,meta:{type:"suggestion",docs:{description:"Suggest using explicit assertions rather than standalone queries",recommendedConfig:{dom:!1,angular:!1,react:!1,vue:!1,svelte:!1,marko:!1}},messages:{preferExplicitAssert:"Wrap stand-alone `{{queryType}}` query with `expect` function for better explicit assertion",preferExplicitAssertAssertion:"`getBy*` queries must be asserted with `{{assertion}}`"},schema:[{type:"object",additionalProperties:!1,properties:{assertion:{type:"string",enum:[...Oo]},includeFindQueries:{type:"boolean"}}}]},defaultOptions:[{includeFindQueries:!0}],create(r,[t],i){let{assertion:s,includeFindQueries:o}=t,a=[],c=[];return{"CallExpression Identifier"(l){i.isGetQueryVariant(l)&&a.push(l),i.isFindQueryVariant(l)&&c.push(l)},"Program:exit"(){o&&c.forEach(l=>{let d=h(l.parent)?l.parent:l;GA(l)||!qp(d)||r.report({node:l,messageId:"preferExplicitAssert",data:{queryType:"findBy*"}})}),a.forEach(l=>{let d=h(l.parent)?l.parent:l;if(qp(d)&&r.report({node:l,messageId:"preferExplicitAssert",data:{queryType:"getBy*"}}),s){let f=Sr(d,"expect");if(!f)return;let m=f.parent;if(!h(m))return;let u=m.property;if(!T.isIdentifier(u))return;let p=u.name,b=!1;p==="not"&&h(m.parent)&&T.isIdentifier(m.parent.property)&&(b=!0,p=m.parent.property.name),(!b&&Oo.some(P=>P===p)||b&&wc.some(P=>P===p))&&p!==s&&r.report({node:u,messageId:"preferExplicitAssertAssertion",data:{assertion:s}})}})}}}}),jA="prefer-find-by";function Mc(r){return r.includes("All")?"findAllBy":"findBy"}function lT(r,t){if(!r)return null;let i=r.variables.find(s=>s.name===t);return i?i.defs.map(({name:s})=>s).filter(T.isIdentifier).find(({name:s})=>s===t)??null:lT(r.upper,t)}var NA=F({name:jA,meta:{type:"suggestion",docs:{description:"Suggest using `find(All)By*` query instead of `waitFor` + `get(All)By*` to wait for elements",recommendedConfig:{dom:"error",angular:"error",react:"error",vue:"error",svelte:"error",marko:"error"}},messages:{preferFindBy:"Prefer `{{queryVariant}}{{queryMethod}}` query over using `waitFor` + `{{prevQuery}}`"},fixable:"code",schema:[]},defaultOptions:[],create(r,t,i){let s=St(r);function o(u,p){let{queryMethod:b,queryVariant:P,prevQuery:_,fix:x}=p;r.report({node:u,messageId:"preferFindBy",data:{queryVariant:P,queryMethod:b,prevQuery:_},fix:x})}function a(u){return!v(u.body)||!h(u.body.callee)?null:v(u.body.callee.object)&&v(u.body.callee.object.arguments[0])&&T.isIdentifier(u.body.callee.object.arguments[0].callee)?u.body.callee.object.arguments[0].callee:T.isIdentifier(u.body.callee.property)?v(u.body.callee.object)&&v(u.body.callee.object.arguments[0])&&h(u.body.callee.object.arguments[0].callee)&&T.isIdentifier(u.body.callee.object.arguments[0].callee.property)?u.body.callee.object.arguments[0].callee.property:h(u.body.callee.object)&&v(u.body.callee.object.object)&&v(u.body.callee.object.object.arguments[0])&&h(u.body.callee.object.object.arguments[0].callee)&&T.isIdentifier(u.body.callee.object.object.arguments[0].callee.property)?u.body.callee.object.object.arguments[0].callee.property:h(u.body.callee.object)&&v(u.body.callee.object.object)&&v(u.body.callee.object.object.arguments[0])&&T.isIdentifier(u.body.callee.object.object.arguments[0].callee)?u.body.callee.object.object.arguments[0].callee:u.body.callee.property:null}function c(u){return v(u.body)?T.isIdentifier(u.body.callee)&&i.isSyncQuery(u.body.callee)?u.body.callee:a(u):null}function l(u){return!v(u.body)||!h(u.body.callee)?null:T.isIdentifier(u.body.callee.object)?u.body.callee.object.name:v(u.body.callee.object)&&T.isIdentifier(u.body.callee.object.callee)&&v(u.body.callee.object.arguments[0])&&h(u.body.callee.object.arguments[0].callee)&&T.isIdentifier(u.body.callee.object.arguments[0].callee.object)?u.body.callee.object.arguments[0].callee.object.name:h(u.body.callee.object)&&v(u.body.callee.object.object)&&v(u.body.callee.object.object.arguments[0])&&h(u.body.callee.object.object.arguments[0].callee)&&T.isIdentifier(u.body.callee.object.object.arguments[0].callee.object)?u.body.callee.object.object.arguments[0].callee.object.name:null}function d(u){if(!v(u.body))return!1;let p=T.isIdentifier(u.body.callee)&&i.isSyncQuery(u.body.callee),b=h(u.body.callee)&&v(u.body.callee.object)&&v(u.body.callee.object.arguments[0])&&T.isIdentifier(u.body.callee.object.arguments[0].callee)&&i.isSyncQuery(u.body.callee.object.arguments[0].callee)&&i.isPresenceAssert(u.body.callee),P=h(u.body.callee)&&h(u.body.callee.object)&&v(u.body.callee.object.object)&&v(u.body.callee.object.object.arguments[0])&&T.isIdentifier(u.body.callee.object.object.arguments[0].callee)&&i.isSyncQuery(u.body.callee.object.object.arguments[0].callee)&&i.isPresenceAssert(u.body.callee.object);return p||b||P}function f(u){if(!Xt(u)||!v(u.body)||!h(u.body.callee)||!T.isIdentifier(u.body.callee.property)||!T.isIdentifier(u.body.callee.object)&&!v(u.body.callee.object)&&!h(u.body.callee.object))return!1;let p=i.isPresenceAssert(u.body.callee)&&v(u.body.callee.object)&&v(u.body.callee.object.arguments[0])&&h(u.body.callee.object.arguments[0].callee)&&T.isIdentifier(u.body.callee.object.arguments[0].callee.object),b=h(u.body.callee.object)&&i.isPresenceAssert(u.body.callee.object)&&v(u.body.callee.object.object)&&v(u.body.callee.object.object.arguments[0])&&h(u.body.callee.object.object.arguments[0].callee);return i.isSyncQuery(u.body.callee.property)||p||b}function m(u){return h(u.callee)&&v(u.callee.object)&&v(u.callee.object.arguments[0])?u.callee.object.arguments[0].arguments:h(u.callee)&&h(u.callee.object)&&v(u.callee.object.object)&&v(u.callee.object.object.arguments[0])?u.callee.object.object.arguments[0].arguments:u.arguments}return{"AwaitExpression > CallExpression"(u){if(!T.isIdentifier(u.callee)||!i.isAsyncUtil(u.callee,["waitFor"]))return;let p=u.arguments[0];if(!Xt(p))return;if(Ro(p.body)&&p.async){let{body:ie}=p.body,le=(ie.filter(_r)?.flatMap(ne=>ne.declarations)).find(ne=>{if(!T.isAwaitExpression(ne.init)||!v(ne.init.argument))return!1;let{callee:ke}=ne.init.argument,$e=w(ke);return $e?i.isFindQueryVariant($e):!1}),ce=T.isAwaitExpression(le?.init)?le.init.argument:null;if(!v(ce))return;let ye=w(ce.callee);if(!ye||!i.isAsyncQuery(ye))return;let ue=ye.name,W=ue.split("By")[1],Me=Mc(ue);if(!W)throw Error("Query method could not be determined.");o(u,{queryMethod:W,queryVariant:Me,prevQuery:ue,fix(ne){let{parent:ke}=u.parent,$e=s.getText(p.body).slice(1,-1).trim(),{line:At,column:ht}=ke.loc.start,Pt=s.getLines()[At-1]?.slice(0,ht),Ut=$e.split(`
11
+ `).map($t=>$t.trim()).join(`
12
+ ${Pt}`);return ne.replaceText(ke,Ut)}});return}let b=p.body;if(!v(b))return;if(f(p)){let ie=l(p);if(!ie)return;let le=c(p);if(!le)return;let ce=le.name,ye=u.arguments[1],ue="";gr(ye)&&(ue=`, ${s.getText(ye)}`);let W=Mc(ce),Me=m(b),ne=ce.split("By")[1];if(!ne)return;o(u,{queryMethod:ne,queryVariant:W,prevQuery:ce,fix(ke){let $e=`${ie}.${W}${ne}(${Me.map(vr=>s.getText(vr)).join(", ")}${ue})`;if(!h(b.callee))return null;let{property:At,object:ht}=b.callee;if(T.isVariableDeclarator(u.parent.parent))return(0,br.isIdentifier)(At)&&i.isCustomQuery(At)?null:ke.replaceText(u,$e);if(!v(ht))return null;let Pt=s.getText(b),Ut=`await ${$e}`,$t=Pt.replace(s.getText(ht.arguments[0]),Ut),ko=Pt.replace(Pt,$t);return ke.replaceText(u.parent,ko)}});return}if(!d(p))return;let P=c(p);if(!P)return;let _=P.name,x=_.split("By")[1],X=Mc(_),Ue=m(b);if(!x)throw Error("Query method could not be determined.");o(u,{queryMethod:x,queryVariant:X,prevQuery:_,fix(ie){if(i.isCustomQuery(b.callee))return null;let le=`${X}${x}`,ce=[],ye=`${le}(${Ue.map(W=>s.getText(W)).join(", ")})`;ce.push(ie.replaceText(u,ye));let ue=lT(kc(r,P),_);if(!ue)return ce;if(ue.parent&&Je(ue.parent.parent)){let W=ue.parent.parent;if(W.properties.some(ne=>he(ne)&&T.isIdentifier(ne.key)&&ne.key.name===le))return ce;let Me=s.getText(W).replace(/(\s*})$/,`, ${le}$1`);ce.push(ie.replaceText(W,Me))}return ce}})}}}}),WA="prefer-implicit-assert",kp=r=>h(r.parent)&&r.parent.object.type===Y.AST_NODE_TYPES.Identifier,Fp=(r,t)=>t?v(r.parent)&&T.isAwaitExpression(r.parent.parent)&&v(r.parent.parent.parent)&&T.isIdentifier(r.parent.parent.parent.callee)&&r.parent.parent.parent.callee.name==="expect":v(r.parent)&&v(r.parent.parent)&&T.isIdentifier(r.parent.parent.callee)&&r.parent.parent.callee.name==="expect",Gp=(r,t,i)=>{if(t)return r.report({node:t,messageId:"preferImplicitAssert",data:{queryType:i}})},KA=F({name:WA,meta:{type:"suggestion",docs:{description:"Suggest using implicit assertions for getBy* & findBy* queries",recommendedConfig:{dom:!1,angular:!1,react:!1,vue:!1,svelte:!1,marko:!1}},messages:{preferImplicitAssert:"Don't wrap `{{queryType}}` query with `expect` & presence matchers like `toBeInTheDocument` or `not.toBeNull` as `{{queryType}}` queries fail implicitly when element is not found"},schema:[]},defaultOptions:[],create(r,t,i){let s=[],o=[];return{"CallExpression Identifier"(a){i.isFindQueryVariant(a)&&s.push(a),i.isGetQueryVariant(a)&&o.push(a)},"Program:exit"(){s.forEach(a=>{let l=kp(a)?a.parent:a;if(l&&Fp(l,!0)&&h(l.parent?.parent?.parent?.parent)&&l.parent?.parent?.parent?.parent.property.type===Y.AST_NODE_TYPES.Identifier&&i.isPresenceAssert(l.parent.parent.parent.parent))return Gp(r,l,"findBy*")}),o.forEach(a=>{let l=kp(a)?a.parent:a;if(l&&Fp(l,!1)&&h(l.parent?.parent?.parent)&&l.parent?.parent?.parent.property.type===Y.AST_NODE_TYPES.Identifier&&i.isPresenceAssert(l.parent.parent.parent))return Gp(r,l,"getBy*")})}}}}),HA=F({name:"prefer-presence-queries",meta:{docs:{description:"Ensure appropriate `get*`/`query*` queries are used with their respective matchers",recommendedConfig:{dom:"error",angular:"error",react:"error",vue:"error",svelte:"error",marko:"error"}},messages:{wrongPresenceQuery:"Use `getBy*` queries rather than `queryBy*` for checking element is present",wrongAbsenceQuery:"Use `queryBy*` queries rather than `getBy*` for checking element is NOT present"},fixable:"code",schema:[{type:"object",additionalProperties:!1,properties:{presence:{type:"boolean"},absence:{type:"boolean"}}}],type:"suggestion"},defaultOptions:[{presence:!0,absence:!0}],create(r,[{absence:t=!0,presence:i=!0}],s){return{"CallExpression Identifier"(o){let a=Sr(o,"expect"),c=Sr(o,"within");if(!h(a?.parent)||!s.isSyncQuery(o))return;let l=s.isGetQueryVariant(o),d=a.parent,f=s.isPresenceAssert(d),m=s.isAbsenceAssert(d);if(!(!f&&!m)){if(i&&(c||f)&&!l){let u=o.name.replace(/^query/,"get");r.report({node:o,messageId:"wrongPresenceQuery",fix:p=>p.replaceText(o,u)})}else if(!c&&t&&m&&l){let u=o.name.replace(/^get/,"query");r.report({node:o,messageId:"wrongAbsenceQuery",fix:p=>p.replaceText(o,u)})}}}}}}),QA=F({name:"prefer-query-by-disappearance",meta:{type:"problem",docs:{description:"Suggest using `queryBy*` queries when waiting for disappearance",recommendedConfig:{dom:"error",angular:"error",react:"error",vue:"error",svelte:"error",marko:"error"}},messages:{preferQueryByDisappearance:"Prefer using queryBy* when waiting for disappearance"},schema:[]},defaultOptions:[],create(r,t,i){function s(P){let _=k(P);return _?i.isAsyncUtil(_,["waitForElementToBeRemoved"]):!1}function o(P){let _=h(P)?k(P.property):k(P);return _&&(i.isGetQueryVariant(_)||i.isFindQueryVariant(_))?(r.report({node:_,messageId:"preferQueryByDisappearance"}),!0):!1}function a(P){return!v(P)||!h(P.callee)&&!k(P.callee)?!1:o(P.callee)}function c(P){return!Jt(P)||!v(P.argument)?!1:o(P.argument.callee)}function l(P){return!vt(P)||!v(P.expression)||!h(P.expression.callee)&&!k(P.expression.callee)?!1:o(P.expression.callee)}function d(P){return c(P)||l(P)}function f(P){return Kp(P)?P.body.body.some(_=>d(_)):!1}function m(P){return!Xt(P)||!Ro(P.body)?!1:P.body.body.some(_=>d(_))}function u(P){return!Xt(P)||!v(P.body)||!h(P.body.callee)&&!k(P.body.callee)?!1:o(P.body.callee)}function p(P){return m(P)||u(P)}function b(P){if(!s(P))return;let _=P.arguments[0];_&&(a(_),p(_),f(_))}return{CallExpression:b}}}),XA=F({name:"prefer-query-matchers",meta:{docs:{description:"Ensure the configured `get*`/`query*` query is used with the corresponding matchers",recommendedConfig:{dom:!1,angular:!1,react:!1,vue:!1,svelte:!1,marko:!1}},messages:{wrongQueryForMatcher:"Use `{{ query }}By*` queries for {{ matcher }}"},schema:[{type:"object",additionalProperties:!1,properties:{validEntries:{type:"array",items:{type:"object",properties:{query:{type:"string",enum:["get","query"]},matcher:{type:"string"}},additionalProperties:!1}}}}],type:"suggestion"},defaultOptions:[{validEntries:[]}],create(r,[{validEntries:t}],i){return{"CallExpression Identifier"(s){let o=Sr(s,"expect");if(!o||!h(o.parent)||!i.isSyncQuery(s))return;let a=i.isGetQueryVariant(s),c=o.parent;for(let l of t){let{query:d,matcher:f}=l;i.isMatchingAssert(c,f)&&d!==(a?"get":"query")&&r.report({node:s,messageId:"wrongQueryForMatcher",data:{query:d,matcher:f}})}}}}}),JA="prefer-screen-queries",$A=["container","baseElement"];function Bp(r){let t=r.arguments[1];return gr(t)&&t.properties.some(i=>he(i)&&T.isIdentifier(i.key)&&$A.includes(i.key.name))}var zA=F({name:JA,meta:{type:"suggestion",docs:{description:"Suggest using `screen` while querying",recommendedConfig:{dom:"error",angular:"error",react:"error",vue:"error",svelte:"error",marko:"error"}},messages:{preferScreenQueries:"Avoid destructuring queries from `render` result, use `screen.{{ name }}` instead"},schema:[]},defaultOptions:[],create(r,t,i){let s=[];function o(u){let p=Tt(r,u);p&&s.push(it(p))}function a(u){return i.isRenderUtil(u)||s.includes(u.name)}function c(u){r.report({node:u,messageId:"preferScreenQueries",data:{name:u.name}})}function l(u){if(Je(u.id))for(let p of u.id.properties)he(p)&&T.isIdentifier(p.key)&&i.isBuiltInQuery(p.key)&&f.push(p.key.name)}function d(u){return["screen",...m].includes(u)}let f=[],m=[];return{VariableDeclarator(u){if(!v(u.init)||!T.isIdentifier(u.init.callee))return;let p=a(u.init.callee);p||l(u);let b=u.init.callee.name==="within",P=p&&Bp(u.init);!b&&!P||(Je(u.id)?l(u):T.isIdentifier(u.id)&&m.push(u.id.name))},CallExpression(u){let p=w(u);if(!p||(i.isRenderUtil(p)&&o(p),!i.isBuiltInQuery(p)))return;if(!h(p.parent)){if(f.some(_=>_===p.name))return;c(p);return}let b=p.parent;if(v(b.object)&&T.isIdentifier(b.object.callee)&&b.object.callee.name!=="within"&&a(b.object.callee)&&!Bp(b.object)){c(p);return}let P=jc(u,r);T.isIdentifier(b.object)&&!d(b.object.name)&&!d(P?.original??"")&&c(p)}}}}),ZA="prefer-user-event",cT={click:["click","type","selectOptions","deselectOptions"],change:["upload","type","clear","selectOptions","deselectOptions"],dblClick:["dblClick"],input:["type","upload","selectOptions","deselectOptions","paste"],keyDown:["type","tab"],keyPress:["type"],keyUp:["type","tab"],mouseDown:["click","dblClick","selectOptions","deselectOptions"],mouseEnter:["hover","selectOptions","deselectOptions"],mouseLeave:["unhover"],mouseMove:["hover","unhover","selectOptions","deselectOptions"],mouseOut:["unhover"],mouseOver:["hover","selectOptions","deselectOptions"],mouseUp:["click","dblClick","selectOptions","deselectOptions"],paste:["paste"],pointerDown:["click","dblClick","selectOptions","deselectOptions"],pointerEnter:["hover","selectOptions","deselectOptions"],pointerLeave:["unhover"],pointerMove:["hover","unhover","selectOptions","deselectOptions"],pointerOut:["unhover"],pointerOver:["hover","selectOptions","deselectOptions"],pointerUp:["click","dblClick","selectOptions","deselectOptions"]};function eh(r){return(cT[r]?.map(t=>`userEvent.${t}`)??[]).join(", ").replace(/, ([a-zA-Z.]+)$/,", or $1")}var th=Object.keys(cT),rh=F({name:ZA,meta:{type:"suggestion",docs:{description:"Suggest using `userEvent` over `fireEvent` for simulating user interactions",recommendedConfig:{dom:!1,angular:!1,react:!1,vue:!1,svelte:!1,marko:!1}},messages:{preferUserEvent:"Prefer using {{userEventMethods}} over fireEvent.{{fireEventMethod}}"},schema:[{type:"object",properties:{allowedMethods:{type:"array"}},additionalProperties:!1}]},defaultOptions:[{allowedMethods:[]}],create(r,[t],i){let{allowedMethods:s}=t,o={},a=l=>!th.includes(l)||s.includes(l),c=(l,d)=>{if(!T.isIdentifier(l.callee)&&!h(l.callee))return d.name;let f=l.arguments[1];return T.isIdentifier(f)&&o[f.name]!==void 0?o[f.name]:!v(f)||!i.isCreateEventUtil(f)?d.name:T.isIdentifier(f.callee)?f.arguments[0].value:f.callee.property.name};return{"CallExpression Identifier"(l){if(!i.isFireEventMethod(l))return;let d=qe(l,!0);if(!d)return;let f=c(d,l);!f||a(f)||r.report({node:d.callee,messageId:"preferUserEvent",data:{userEventMethods:eh(f),fireEventMethod:f}})},VariableDeclarator(l){if(!v(l.init)||!i.isCreateEventUtil(l.init)||!T.isIdentifier(l.id))return;let d="";h(l.init.callee)&&T.isIdentifier(l.init.callee.property)?d=l.init.callee.property.name:l.init.arguments.length>0&&(d=l.init.arguments[0].value),a(d)||(o[l.id.name]=d)}}}}),ih="prefer-user-event-setup",nh="@testing-library/user-event",sh="userEvent",jp="setup",oh=F({name:ih,meta:{type:"suggestion",docs:{description:"Suggest using userEvent with setup() instead of direct methods",recommendedConfig:{dom:!1,angular:!1,react:!1,vue:!1,svelte:!1,marko:!1}},messages:{preferUserEventSetup:"Prefer using userEvent with setup() instead of direct {{method}}() call. Use: const user = userEvent.setup(); await user.{{method}}(...)"},schema:[]},defaultOptions:[],create(r,t,i){let s=new Set,o=new Map,a=null;function c(l){return l.type===Y.AST_NODE_TYPES.CallExpression&&l.callee.type===Y.AST_NODE_TYPES.MemberExpression&&l.callee.object.type===Y.AST_NODE_TYPES.Identifier&&l.callee.object.name===a&&l.callee.property.type===Y.AST_NODE_TYPES.Identifier&&l.callee.property.name===jp}return{ImportDeclaration(l){if(l.source.value===nh){let d=l.specifiers.find(m=>m.type===Y.AST_NODE_TYPES.ImportDefaultSpecifier);d&&(a=d.local.name);let f=l.specifiers.find(m=>m.type===Y.AST_NODE_TYPES.ImportSpecifier&&m.imported.type===Y.AST_NODE_TYPES.Identifier&&m.imported.name===sh);f&&f.type===Y.AST_NODE_TYPES.ImportSpecifier&&(a=f.local.name)}},VariableDeclarator(l){if(!(!a||!l.init)&&(c(l.init)&&l.id.type===Y.AST_NODE_TYPES.Identifier&&s.add(l.id.name),l.id.type===Y.AST_NODE_TYPES.ObjectPattern&&l.init.type===Y.AST_NODE_TYPES.CallExpression&&l.init.callee.type===Y.AST_NODE_TYPES.Identifier)){let d=l.init.callee.name,f=o.get(d);if(f)for(let m of l.id.properties)m.type===Y.AST_NODE_TYPES.Property&&m.key.type===Y.AST_NODE_TYPES.Identifier&&f.has(m.key.name)&&m.value.type===Y.AST_NODE_TYPES.Identifier&&s.add(m.value.name)}},FunctionDeclaration(l){if(!(!a||!l.id)&&l.body&&l.body.type===Y.AST_NODE_TYPES.BlockStatement){for(let d of l.body.body)if(d.type===Y.AST_NODE_TYPES.ReturnStatement){let f=d;if(f.argument&&f.argument.type===Y.AST_NODE_TYPES.ObjectExpression){let m=new Set;for(let u of f.argument.properties)u.type===Y.AST_NODE_TYPES.Property&&u.key.type===Y.AST_NODE_TYPES.Identifier&&u.value&&c(u.value)&&m.add(u.key.name);m.size>0&&o.set(l.id.name,m)}}}},CallExpression(l){if(a&&l.callee.type===Y.AST_NODE_TYPES.MemberExpression&&l.callee.property.type===Y.AST_NODE_TYPES.Identifier&&i.isUserEventMethod(l.callee.property)){let d=l.callee.property.name;if(d===jp)return;l.callee.object.type===Y.AST_NODE_TYPES.Identifier&&s.has(l.callee.object.name)||r.report({node:l.callee,messageId:"preferUserEventSetup",data:{method:d}})}}}}}),ah="render-result-naming-convention",Np=["view","utils"],lh=F({name:ah,meta:{type:"suggestion",docs:{description:"Enforce a valid naming for return value from `render`",recommendedConfig:{dom:!1,angular:"error",react:"error",vue:"error",svelte:"error",marko:"error"}},messages:{renderResultNamingConvention:`\`{{ renderResultName }}\` is not a recommended name for \`render\` returned value. Instead, you should destructure it, or name it using one of: ${Np.map(r=>`\`${r}\``).join(", ").replace(/, ([^,]*)$/,", or $1")}`},schema:[]},defaultOptions:[],create(r,t,i){let s=[];function o(a){let c=Tt(r,a);c&&s.push(it(c))}return{CallExpression(a){let c=w(a);c&&i.isRenderUtil(c)&&o(c)},VariableDeclarator(a){if(!a.init)return;let c=w(a.init);if(!c||!i.isRenderVariableDeclarator(a)&&!s.includes(c.name)||Je(a.id))return;let l=T.isIdentifier(a.id)&&a.id.name;l&&(Np.includes(l)||r.report({node:a,messageId:"renderResultNamingConvention",data:{renderResultName:l}}))}}}}),ch={"await-async-events":aA,"await-async-queries":lA,"await-async-utils":cA,"consistent-data-testid":pA,"no-await-sync-events":fA,"no-await-sync-queries":dA,"no-container":yA,"no-debugging-utils":mA,"no-dom-import":SA,"no-global-regexp-flag-in-query":vA,"no-manual-cleanup":UA,"no-node-access":LA,"no-promise-in-fire-event":VA,"no-render-in-lifecycle":IA,"no-test-id-queries":xA,"no-unnecessary-act":OA,"no-wait-for-multiple-assertions":RA,"no-wait-for-side-effects":DA,"no-wait-for-snapshot":kA,"prefer-explicit-assert":BA,"prefer-find-by":NA,"prefer-implicit-assert":KA,"prefer-presence-queries":HA,"prefer-query-by-disappearance":QA,"prefer-query-matchers":XA,"prefer-screen-queries":zA,"prefer-user-event":rh,"prefer-user-event-setup":oh,"render-result-naming-convention":lh},{name:uh,version:Eh}=cv(import.meta.url)(Ev(uv(pv(import.meta.url)),"../package.json")),uT="testing-library";function ph(){return Object.entries(Wp).reduce((r,[t,i])=>{let s=`flat/${t}`;return{...r,[s]:{name:`${uT}/${t}`,plugins:{get"testing-library"(){return qo}},rules:i.rules}}},{})}function Th(){return Object.entries(Wp).reduce((r,[t,i])=>({...r,[t]:{plugins:[uT],rules:i.rules}}),{})}var qo={meta:{name:uh,version:Eh},rules:ch,configs:{...ph(),...Th()}};var Ph=Object.fromEntries(["await-async-events","await-async-queries","await-async-utils","no-unnecessary-act","prefer-screen-queries"].map(r=>{if(!qo.rules[r])throw new Error("Missing upstream rule: "+r);return[r,qo.rules[r]]})),_C={meta:{name:"eslint-plugin-testing-library",version:"7.16.2"},rules:Ph};export{_C as default};