@mdn/fred 1.9.4 → 1.9.5
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.
- package/CHANGELOG.md +9 -0
- package/out/service-worker.js +1 -1
- package/out/static/client/2834.2c9c22d03d75f8ab.js +45 -0
- package/out/static/client/2834.2c9c22d03d75f8ab.js.map +1 -0
- package/out/static/{legacy/4517.95875be9427e7b94.js → client/4517.53978068ee0ae880.js} +16 -16
- package/out/static/client/4517.53978068ee0ae880.js.map +1 -0
- package/out/static/client/{6375.b0bd61178415174d.js → 6375.f9f7d97ec05ad164.js} +15 -15
- package/out/static/client/6375.f9f7d97ec05ad164.js.map +1 -0
- package/out/static/client/{8048.3651e7173c6584bb.js → 8048.e9d5e843c9dcfccd.js} +4 -4
- package/out/static/client/8048.e9d5e843c9dcfccd.js.map +1 -0
- package/out/static/client/8292.90ff3342023b305e.js +30 -0
- package/out/static/client/8292.90ff3342023b305e.js.map +1 -0
- package/out/static/client/{index.397eb8a9fd5be5e4.js → index.e302be3ef680f1b1.js} +3 -3
- package/out/static/client/{index.397eb8a9fd5be5e4.js.map → index.e302be3ef680f1b1.js.map} +1 -1
- package/out/static/client/{runtime.255df607e95b6f53.js → runtime.73dd6e3613d59073.js} +2 -2
- package/out/static/client/{runtime.255df607e95b6f53.js.map → runtime.73dd6e3613d59073.js.map} +1 -1
- package/out/static/client/stats.json +149 -149
- package/out/static/client/styles-global.54041ed20d3f6e4b.css +2 -0
- package/out/static/client/{styles-global.e813b635d036a38b.css.map → styles-global.54041ed20d3f6e4b.css.map} +1 -1
- package/out/static/client/{styles-global.c51774a31e1c38ca.js → styles-global.cacaa9e085d65d2c.js} +1 -1
- package/out/static/legacy/2834.2c9c22d03d75f8ab.js +45 -0
- package/out/static/legacy/2834.2c9c22d03d75f8ab.js.map +1 -0
- package/out/static/{client/4517.95875be9427e7b94.js → legacy/4517.53978068ee0ae880.js} +16 -16
- package/out/static/legacy/4517.53978068ee0ae880.js.map +1 -0
- package/out/static/legacy/{6375.b0bd61178415174d.js → 6375.f9f7d97ec05ad164.js} +15 -15
- package/out/static/legacy/6375.f9f7d97ec05ad164.js.map +1 -0
- package/out/static/legacy/{8048.3651e7173c6584bb.js → 8048.e9d5e843c9dcfccd.js} +4 -4
- package/out/static/legacy/8048.e9d5e843c9dcfccd.js.map +1 -0
- package/out/static/legacy/8292.90ff3342023b305e.js +30 -0
- package/out/static/legacy/8292.90ff3342023b305e.js.map +1 -0
- package/out/static/legacy/asset-manifest.json +19 -19
- package/out/static/legacy/{index.fccdd0d1e36dc932.html → index.108f98a7f3009f85.html} +1 -1
- package/out/static/legacy/stats.json +9 -9
- package/out/static/legacy/{yari.be38ed2358079d39.js → yari.7fb22296106e2d45.js} +3 -3
- package/out/static/legacy/{yari.be38ed2358079d39.js.map → yari.7fb22296106e2d45.js.map} +1 -1
- package/out/static/ssr/2834.js +30 -30
- package/out/static/ssr/2834.js.map +1 -1
- package/out/static/ssr/4517.js +15 -15
- package/out/static/ssr/4517.js.map +1 -1
- package/out/static/ssr/6375.js +14 -14
- package/out/static/ssr/6375.js.map +1 -1
- package/out/static/ssr/8048.js +3 -3
- package/out/static/ssr/8048.js.map +1 -1
- package/out/static/ssr/8292.js +22 -26
- package/out/static/ssr/8292.js.map +1 -1
- package/out/static/ssr/index.js +1 -1
- package/package.json +5 -5
- package/out/static/client/2834.4e14b395142c31f8.js +0 -45
- package/out/static/client/2834.4e14b395142c31f8.js.map +0 -1
- package/out/static/client/4517.95875be9427e7b94.js.map +0 -1
- package/out/static/client/6375.b0bd61178415174d.js.map +0 -1
- package/out/static/client/8048.3651e7173c6584bb.js.map +0 -1
- package/out/static/client/8292.2a97b25783ac6289.js +0 -34
- package/out/static/client/8292.2a97b25783ac6289.js.map +0 -1
- package/out/static/client/styles-global.e813b635d036a38b.css +0 -2
- package/out/static/legacy/2834.4e14b395142c31f8.js +0 -45
- package/out/static/legacy/2834.4e14b395142c31f8.js.map +0 -1
- package/out/static/legacy/4517.95875be9427e7b94.js.map +0 -1
- package/out/static/legacy/6375.b0bd61178415174d.js.map +0 -1
- package/out/static/legacy/8048.3651e7173c6584bb.js.map +0 -1
- package/out/static/legacy/8292.2a97b25783ac6289.js +0 -34
- package/out/static/legacy/8292.2a97b25783ac6289.js.map +0 -1
- /package/out/static/client/{index.397eb8a9fd5be5e4.js.LICENSE.txt → index.e302be3ef680f1b1.js.LICENSE.txt} +0 -0
- /package/out/static/legacy/{yari.be38ed2358079d39.js.LICENSE.txt → yari.7fb22296106e2d45.js.LICENSE.txt} +0 -0
package/out/static/ssr/8048.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const __rspack_esm_id="8048";export const __rspack_esm_ids=["8048"];export const __webpack_modules__={5283(e,t,s){s.r(t),s.d(t,{default:()=>n,parsers:()=>
|
|
1
|
+
export const __rspack_esm_id="8048";export const __rspack_esm_ids=["8048"];export const __webpack_modules__={5283(e,t,s){s.r(t),s.d(t,{default:()=>n,parsers:()=>sv});var i=Object.defineProperty,r=(e,t)=>{for(var s in t)i(e,s,{get:t[s],enumerable:!0})},n={};r(n,{parsers:()=>sv});var o={};r(o,{__babel_estree:()=>sT,__js_expression:()=>sx,__ts_expression:()=>sP,__vue_event_binding:()=>sf,__vue_expression:()=>sx,__vue_ts_event_binding:()=>sy,__vue_ts_expression:()=>sP,babel:()=>sf,"babel-flow":()=>sg,"babel-ts":()=>sy});var h=class{line;column;index;constructor(e,t,s){this.line=e,this.column=t,this.index=s}},p=class{start;end;filename;identifierName;constructor(e,t){this.start=e,this.end=t}};function l(e,t){let{line:s,column:i,index:r}=e;return new h(s,i+t,r+t)}var c="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",d={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},u=e=>"UpdateExpression"===e.type?d.UpdateExpression[`${e.prefix}`]:d[e.type],m=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),f=Object.assign({PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic references are only supported when using the `"proposal": "hack"` version of the pipeline proposal.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:e})=>`Invalid topic token ${e}. In order to use ${e} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${e}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:e})=>`Hack-style pipe body cannot be an unparenthesized ${u({type:e})}; please wrap it in parentheses.`},{}),y=["message"];function x(e,t,s){Object.defineProperty(e,t,{enumerable:!1,configurable:!0,value:s})}function P(e,t){if(Array.isArray(e))return t=>P(t,e[0]);let s={};for(let i of Object.keys(e)){let r=e[i],n="string"==typeof r?{message:()=>r}:"function"==typeof r?{message:r}:r,{message:o}=n,p=function(e,t){if(null==e)return{};var s={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;s[i]=e[i]}return s}(n,y),l="string"==typeof o?()=>o:o;s[i]=function({toMessage:e,code:t,reasonCode:s,syntaxPlugin:i}){let r="MissingPlugin"===s||"MissingOneOfPlugins"===s;return function n(o,p){let l=SyntaxError();return l.code=t,l.reasonCode=s,l.loc=o,l.pos=o.index,l.syntaxPlugin=i,r&&(l.missingPlugin=p.missingPlugin),x(l,"clone",function(e={}){let{line:t,column:s,index:i}=e.loc??o;return n(new h(t,s,i),Object.assign({},p,e.details))}),x(l,"details",p),Object.defineProperty(l,"message",{configurable:!0,get(){let t=`${e(p)} (${o.line}:${o.column})`;return this.message=t,t},set(e){Object.defineProperty(this,"message",{value:e,writable:!0})}}),l}}(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:i,toMessage:l},t?{syntaxPlugin:t}:{},p))}return s}var g=Object.assign({},P({ImportMetaOutsideModule:{message:"import.meta may appear only with 'sourceType: \"module\"'",code:c},ImportOutsideModule:{message:"'import' and 'export' may appear only with 'sourceType: \"module\"'",code:c}}),P({AccessorIsGenerator:({kind:e})=>`A ${e}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:e})=>`Missing initializer in ${e} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:e})=>`\`${e}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:e,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`.
|
|
2
2
|
- Did you mean \`export { '${e}' as '${t}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:e})=>`'${"ForInStatement"===e?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:e})=>`Unsyntactic ${"BreakStatement"===e?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedImportAssert` parser plugin to suppress this error.",ImportBindingIsString:({importName:e})=>`A string literal cannot be used as an imported binding.
|
|
3
3
|
- Did you mean \`import { "${e}" as foo }\`?`,ImportCallArity:"`import()` requires exactly one or two arguments.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverDiscardElement:"'void' must be followed by an expression when not used in a binding position.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:e})=>`Expected number in radix ${e}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:e})=>`Escape sequence in keyword ${e}.`,InvalidIdentifier:({identifierName:e})=>`Invalid identifier ${e}.`,InvalidLhs:({ancestor:e})=>`Invalid left-hand side in ${u(e)}.`,InvalidLhsBinding:({ancestor:e})=>`Binding invalid left-hand side in ${u(e)}.`,InvalidLhsOptionalChaining:({ancestor:e})=>`Invalid optional chaining in the left-hand side of ${u(e)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:e})=>`Unexpected character '${e}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:e})=>`Private name #${e} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:e})=>`Label '${e}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:e})=>`This experimental syntax requires enabling the parser plugin: ${e.map(e=>JSON.stringify(e)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:e})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${e.map(e=>JSON.stringify(e)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:e})=>`Duplicate key "${e}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:e})=>`An export name cannot include a lone surrogate, found '\\u${e.toString(16)}'.`,ModuleExportUndefined:({localName:e})=>`Export '${e}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:e})=>`Private names are only allowed in property accesses (\`obj.#${e}\`) or in \`in\` expressions (\`#${e} in obj\`).`,PrivateNameRedeclaration:({identifierName:e})=>`Duplicate private name #${e}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:e})=>`Unexpected keyword '${e}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:e})=>`Unexpected reserved word '${e}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:e,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${e?`, expected "${e}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement.",UnexpectedVoidPattern:"Unexpected void binding.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:e,onlyValidPropertyName:t})=>`The only valid meta property for ${e} is ${e}.${t}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:e})=>`Identifier '${e}' has already been declared.`,VoidPatternCatchClauseParam:"A void binding can not be the catch clause parameter. Use `try { ... } catch { ... }` if you want to discard the caught error.",VoidPatternInitializer:"A void binding may not have an initializer.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",YieldNotInGeneratorFunction:"'yield' is only allowed within generator functions.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."}),P({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:e})=>`Assigning to '${e}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:e})=>`Binding '${e}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."}),P({ParseExpressionEmptyInput:"Unexpected parseExpression() input: The input is empty or contains only comments.",ParseExpressionExpectsEOF:({unexpected:e})=>`Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character \`${String.fromCodePoint(e)}\`.`}),P`pipelineOperator`(f)),{defineProperty:T}=Object,b=(e,t)=>{e&&T(e,t,{enumerable:!1,value:e[t]})};function A(e){return b(e.loc.start,"index"),b(e.loc.end,"index"),e}var S=class{constructor(e,t){this.token=e,this.preserveSpace=!!t}token;preserveSpace},E={brace:new S("{"),j_oTag:new S("<tag"),j_cTag:new S("</tag"),j_expr:new S("<tag>...</tag>",!0)},I=class{label;keyword;beforeExpr;startsExpr;rightAssociative;isLoop;isAssign;prefix;postfix;binop;constructor(e,t={}){this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=null!=t.binop?t.binop:null}},w=new Map;function C(e,t={}){t.keyword=e;let s=B(e,t);return w.set(e,s),s}function N(e,t){return B(e,{beforeExpr:!0,binop:t})}var k=-1,v=[],L=[],M=[],D=[],O=[],F=[];function B(e,t={}){return++k,L.push(e),M.push(t.binop??-1),D.push(t.beforeExpr??!1),O.push(t.startsExpr??!1),F.push(t.prefix??!1),v.push(new I(e,t)),k}function R(e,t={}){return++k,w.set(e,k),L.push(e),M.push(t.binop??-1),D.push(t.beforeExpr??!1),O.push(t.startsExpr??!1),F.push(t.prefix??!1),v.push(new I("name",t)),k}var U={bracketL:B("[",{beforeExpr:!0,startsExpr:!0}),bracketHashL:B("#[",{beforeExpr:!0,startsExpr:!0}),bracketBarL:B("[|",{beforeExpr:!0,startsExpr:!0}),bracketR:B("]"),bracketBarR:B("|]"),braceL:B("{",{beforeExpr:!0,startsExpr:!0}),braceBarL:B("{|",{beforeExpr:!0,startsExpr:!0}),braceHashL:B("#{",{beforeExpr:!0,startsExpr:!0}),braceR:B("}"),braceBarR:B("|}"),parenL:B("(",{beforeExpr:!0,startsExpr:!0}),parenR:B(")"),comma:B(",",{beforeExpr:!0}),semi:B(";",{beforeExpr:!0}),colon:B(":",{beforeExpr:!0}),doubleColon:B("::",{beforeExpr:!0}),dot:B("."),question:B("?",{beforeExpr:!0}),questionDot:B("?."),arrow:B("=>",{beforeExpr:!0}),template:B("template"),ellipsis:B("...",{beforeExpr:!0}),backQuote:B("`",{startsExpr:!0}),dollarBraceL:B("${",{beforeExpr:!0,startsExpr:!0}),templateTail:B("...`",{startsExpr:!0}),templateNonTail:B("...${",{beforeExpr:!0,startsExpr:!0}),at:B("@"),hash:B("#",{startsExpr:!0}),interpreterDirective:B("#!..."),eq:B("=",{beforeExpr:!0,isAssign:!0}),assign:B("_=",{beforeExpr:!0,isAssign:!0}),slashAssign:B("_=",{beforeExpr:!0,isAssign:!0}),xorAssign:B("_=",{beforeExpr:!0,isAssign:!0}),moduloAssign:B("_=",{beforeExpr:!0,isAssign:!0}),incDec:B("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),bang:B("!",{beforeExpr:!0,prefix:!0,startsExpr:!0}),tilde:B("~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),doubleCaret:B("^^",{startsExpr:!0}),doubleAt:B("@@",{startsExpr:!0}),pipeline:N("|>",0),nullishCoalescing:N("??",1),logicalOR:N("||",1),logicalAND:N("&&",2),bitwiseOR:N("|",3),bitwiseXOR:N("^",4),bitwiseAND:N("&",5),equality:N("==/!=/===/!==",6),lt:N("</>/<=/>=",7),gt:N("</>/<=/>=",7),relational:N("</>/<=/>=",7),bitShift:N("<</>>/>>>",8),bitShiftL:N("<</>>/>>>",8),bitShiftR:N("<</>>/>>>",8),plusMin:B("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:B("%",{binop:10,startsExpr:!0}),star:B("*",{binop:10}),slash:N("/",10),exponent:B("**",{beforeExpr:!0,binop:11,rightAssociative:!0}),_in:C("in",{beforeExpr:!0,binop:7}),_instanceof:C("instanceof",{beforeExpr:!0,binop:7}),_break:C("break"),_case:C("case",{beforeExpr:!0}),_catch:C("catch"),_continue:C("continue"),_debugger:C("debugger"),_default:C("default",{beforeExpr:!0}),_else:C("else",{beforeExpr:!0}),_finally:C("finally"),_function:C("function",{startsExpr:!0}),_if:C("if"),_return:C("return",{beforeExpr:!0}),_switch:C("switch"),_throw:C("throw",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_try:C("try"),_var:C("var"),_const:C("const"),_with:C("with"),_new:C("new",{beforeExpr:!0,startsExpr:!0}),_this:C("this",{startsExpr:!0}),_super:C("super",{startsExpr:!0}),_class:C("class",{startsExpr:!0}),_extends:C("extends",{beforeExpr:!0}),_export:C("export"),_import:C("import",{startsExpr:!0}),_null:C("null",{startsExpr:!0}),_true:C("true",{startsExpr:!0}),_false:C("false",{startsExpr:!0}),_typeof:C("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:C("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:C("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_do:C("do",{isLoop:!0,beforeExpr:!0}),_for:C("for",{isLoop:!0}),_while:C("while",{isLoop:!0}),_as:R("as",{startsExpr:!0}),_assert:R("assert",{startsExpr:!0}),_async:R("async",{startsExpr:!0}),_await:R("await",{startsExpr:!0}),_defer:R("defer",{startsExpr:!0}),_from:R("from",{startsExpr:!0}),_get:R("get",{startsExpr:!0}),_let:R("let",{startsExpr:!0}),_meta:R("meta",{startsExpr:!0}),_of:R("of",{startsExpr:!0}),_sent:R("sent",{startsExpr:!0}),_set:R("set",{startsExpr:!0}),_source:R("source",{startsExpr:!0}),_static:R("static",{startsExpr:!0}),_using:R("using",{startsExpr:!0}),_yield:R("yield",{startsExpr:!0}),_asserts:R("asserts",{startsExpr:!0}),_checks:R("checks",{startsExpr:!0}),_exports:R("exports",{startsExpr:!0}),_global:R("global",{startsExpr:!0}),_implements:R("implements",{startsExpr:!0}),_intrinsic:R("intrinsic",{startsExpr:!0}),_infer:R("infer",{startsExpr:!0}),_is:R("is",{startsExpr:!0}),_mixins:R("mixins",{startsExpr:!0}),_proto:R("proto",{startsExpr:!0}),_require:R("require",{startsExpr:!0}),_satisfies:R("satisfies",{startsExpr:!0}),_keyof:R("keyof",{startsExpr:!0}),_readonly:R("readonly",{startsExpr:!0}),_unique:R("unique",{startsExpr:!0}),_abstract:R("abstract",{startsExpr:!0}),_declare:R("declare",{startsExpr:!0}),_enum:R("enum",{startsExpr:!0}),_module:R("module",{startsExpr:!0}),_namespace:R("namespace",{startsExpr:!0}),_interface:R("interface",{startsExpr:!0}),_type:R("type",{startsExpr:!0}),_opaque:R("opaque",{startsExpr:!0}),name:B("name",{startsExpr:!0}),placeholder:B("%%",{startsExpr:!0}),string:B("string",{startsExpr:!0}),num:B("num",{startsExpr:!0}),bigint:B("bigint",{startsExpr:!0}),decimal:B("decimal",{startsExpr:!0}),regexp:B("regexp",{startsExpr:!0}),privateName:B("#name",{startsExpr:!0}),eof:B("eof"),jsxName:B("jsxName"),jsxText:B("jsxText",{beforeExpr:!0}),jsxTagStart:B("jsxTagStart",{startsExpr:!0}),jsxTagEnd:B("jsxTagEnd")};function j(e){return e>=93&&e<=133}function _(e){return e>=58&&e<=133}function V(e){return e>=58&&e<=137}function z(e){return e>=129&&e<=131}function H(e){return e>=58&&e<=92}function q(e){return e>=24&&e<=25}var $="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ--ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",K="\xb7̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ--ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",J=RegExp("["+$+"]"),W=RegExp("["+$+K+"]");$=K=null;var X=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],G=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239];function Y(e,t){let s=65536;for(let i=0,r=t.length;i<r&&!((s+=t[i])>e);i+=2)if((s+=t[i+1])>=e)return!0;return!1}function Q(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&J.test(String.fromCharCode(e)):Y(e,X)))}function Z(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&W.test(String.fromCharCode(e)):Y(e,X)||Y(e,G))))}var ee=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),et=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),es=new Set(["eval","arguments"]);function ei(e,t){return t&&"await"===e||"enum"===e}function er(e,t){return ei(e,t)||et.has(e)}function ea(e,t){return er(e,t)||es.has(e)}var en=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]),eo=class{flags=0;names=new Map;firstLexicalName="";constructor(e){this.flags=e}},eh=class{parser;scopeStack=[];inModule;undefinedExports=new Map;constructor(e,t){this.parser=e,this.inModule=t}get inTopLevel(){return(1&this.currentScope().flags)>0}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get allowNewTarget(){return(512&this.currentThisScopeFlags())>0}get inClass(){return(64&this.currentThisScopeFlags())>0}get inClassAndNotInNonArrowFunction(){let e=this.currentThisScopeFlags();return(64&e)>0&&(2&e)==0}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(128&t)return!0;if(1731&t)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get inBareCaseStatement(){return(256&this.currentScope().flags)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new eo(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(e){return!!(130&e.flags||!this.parser.inModule&&1&e.flags)}declareName(e,t,s){let i=this.currentScope();if(8&t||16&t){this.checkRedeclarationInScope(i,e,t,s);let r=i.names.get(e)||0;16&t?r|=4:(i.firstLexicalName||(i.firstLexicalName=e),r|=2),i.names.set(e,r),8&t&&this.maybeExportDefined(i,e)}else if(4&t)for(let r=this.scopeStack.length-1;r>=0&&(i=this.scopeStack[r],this.checkRedeclarationInScope(i,e,t,s),i.names.set(e,1|(i.names.get(e)||0)),this.maybeExportDefined(i,e),!(1667&i.flags));--r);this.parser.inModule&&1&i.flags&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.parser.inModule&&1&e.flags&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,s,i){this.isRedeclaredInScope(e,t,s)&&this.parser.raise(g.VarRedeclaration,i,{identifierName:t})}isRedeclaredInScope(e,t,s){if(!(1&s))return!1;if(8&s)return e.names.has(t);let i=e.names.get(t)||0;return 16&s?(2&i)>0||!this.treatFunctionsAsVarInScope(e)&&(1&i)>0:(2&i)>0&&!(8&e.flags&&e.firstLexicalName===t)||!this.treatFunctionsAsVarInScope(e)&&(4&i)>0}checkLocalExport(e){let{name:t}=e;this.scopeStack[0].names.has(t)||this.undefinedExports.set(t,e.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(1667&t)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(1731&t&&!(4&t))return t}}},ep=class extends eo{declareFunctions=new Set},el=class extends eh{createScope(e){return new ep(e)}declareName(e,t,s){let i=this.currentScope();if(2048&t){this.checkRedeclarationInScope(i,e,t,s),this.maybeExportDefined(i,e),i.declareFunctions.add(e);return}super.declareName(e,t,s)}isRedeclaredInScope(e,t,s){if(super.isRedeclaredInScope(e,t,s))return!0;if(2048&s&&!e.declareFunctions.has(t)){let s=e.names.get(t);return(4&s)>0||(2&s)>0}return!1}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}},ec=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),ed=P`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:e})=>`Cannot overwrite reserved type ${e}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:e,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${e} = true,\` or \`${e} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:e,enumName:t})=>`Enum member names need to be unique, but the name \`${e}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({enumName:e})=>`Enum \`${e}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:e,enumName:t})=>`Enum type \`${e}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:e})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:e,memberName:t,explicitType:s})=>`Enum \`${e}\` has type \`${s}\`, so the initializer of \`${t}\` needs to be a ${s} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:e,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${e}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:e,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${e}\`.`,EnumInvalidMemberName:({enumName:e,memberName:t,suggestion:s})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${s}\`, in enum \`${e}\`.`,EnumNumberMemberNotInitialized:({enumName:e,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${e}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:e})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${e}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:e})=>`Unexpected reserved type ${e}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:e,suggestion:t})=>`\`declare export ${e}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function eu(e){return"type"===e.importKind||"typeof"===e.importKind}var em={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},ef=/\*?\s*@((?:no)?flow)\b/,ey=RegExp(/\r\n|[\r\n\u2028\u2029]/.source,"g");function ex(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function eP(e,t,s){for(let i=t;i<s;i++)if(ex(e.charCodeAt(i)))return!0;return!1}var eg=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,eT=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g,eb=P`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:e})=>`Expected corresponding JSX closing tag for <${e}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:e,HTMLEntity:t})=>`Unexpected token \`${e}\`. Did you mean \`${t}\` or \`{'${e}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function eA(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function eS(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return eS(e.object)+"."+eS(e.property);throw Error("Node had unexpected type: "+e.type)}var eE=class extends eo{tsNames=new Map},eI=class extends eh{importsStack=[];createScope(e){return this.importsStack.push(new Set),new eE(e)}enter(e){1024===e&&this.importsStack.push(new Set),super.enter(e)}exit(){let e=super.exit();return 1024===e&&this.importsStack.pop(),e}hasImport(e,t){let s=this.importsStack.length;if(this.importsStack[s-1].has(e))return!0;if(!t&&s>1){for(let t=0;t<s-1;t++)if(this.importsStack[t].has(e))return!0}return!1}declareName(e,t,s){if(4096&t){this.hasImport(e,!0)&&this.parser.raise(g.VarRedeclaration,s,{identifierName:e}),this.importsStack[this.importsStack.length-1].add(e);return}let i=this.currentScope(),r=i.tsNames.get(e)||0;if(1024&t){this.maybeExportDefined(i,e),i.tsNames.set(e,16|r);return}super.declareName(e,t,s),2&t&&(1&t||(this.checkRedeclarationInScope(i,e,t,s),this.maybeExportDefined(i,e)),r|=1),256&t&&(r|=2),512&t&&(r|=4),128&t&&(r|=8),r&&i.tsNames.set(e,r)}isRedeclaredInScope(e,t,s){let i=e.tsNames.get(t);return(2&i)>0?!(256&s)||!!(512&s)!=(4&i)>0:128&s&&(8&i)>0?!!(2&e.names.get(t))&&!!(1&s):!!(2&s)&&(1&i)>0||super.isRedeclaredInScope(e,t,s)}checkLocalExport(e){let{name:t}=e;if(this.hasImport(t))return;let s=this.scopeStack.length;for(let e=s-1;e>=0;e--){let s=this.scopeStack[e].tsNames.get(t);if((1&s)>0||(16&s)>0)return}super.checkLocalExport(e)}},ew=class{stacks=[];enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(2&this.currentFlags())>0}get hasYield(){return(1&this.currentFlags())>0}get hasReturn(){return(4&this.currentFlags())>0}get hasIn(){return(8&this.currentFlags())>0}};function eC(e,t){return 2*!!e|!!t}var eN=class{sawUnambiguousESM=!1;ambiguousScriptDifferentAst=!1;sourceToOffsetPos(e){return e+this.startIndex}offsetToSourcePos(e){return e-this.startIndex}hasPlugin(e){if("string"==typeof e)return this.plugins.has(e);{let[t,s]=e;if(!this.hasPlugin(t))return!1;let i=this.plugins.get(t);for(let e of Object.keys(s))if(i?.[e]!==s[e])return!1;return!0}}getPluginOption(e,t){return this.plugins.get(e)?.[t]}};function ek(e,t){void 0===e.trailingComments?e.trailingComments=t:e.trailingComments.unshift(...t)}function ev(e,t){void 0===e.innerComments?e.innerComments=t:e.innerComments.unshift(...t)}function eL(e,t,s){let i=null,r=t.length;for(;null===i&&r>0;)i=t[--r];null===i||i.start>s.start?ev(e,s.comments):ek(i,s.comments)}var eM=class extends eN{addComment(e){this.filename&&(e.loc.filename=this.filename);let{commentsLen:t}=this.state;this.comments.length!==t&&(this.comments.length=t),this.comments.push(e),this.state.commentsLen++}processComment(e){let{commentStack:t}=this.state,s=t.length;if(0===s)return;let i=s-1,r=t[i];r.start===e.end&&(r.leadingNode=e,i--);let{start:n}=e;for(;i>=0;i--){let s=t[i],r=s.end;if(r>n)s.containingNode=e,this.finalizeComment(s),t.splice(i,1);else{r===n&&(s.trailingNode=e);break}}}finalizeComment(e){let{comments:t}=e;if(null!==e.leadingNode||null!==e.trailingNode){var s;null!==e.leadingNode&&ek(e.leadingNode,t),null!==e.trailingNode&&(s=e.trailingNode,void 0===s.leadingComments?s.leadingComments=t:s.leadingComments.unshift(...t))}else{let s=e.containingNode,i=e.start;if(44===this.input.charCodeAt(this.offsetToSourcePos(i)-1))switch(s.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":eL(s,s.properties,e);break;case"CallExpression":case"OptionalCallExpression":eL(s,s.arguments,e);break;case"ImportExpression":eL(s,[s.source,s.options??null],e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":eL(s,s.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":eL(s,s.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":eL(s,s.specifiers,e);break;case"TSEnumDeclaration":default:ev(s,t);break;case"TSEnumBody":eL(s,s.members,e)}else ev(s,t)}}finalizeRemainingComments(){let{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){let{commentStack:t}=this.state,{length:s}=t;if(0===s)return;let i=t[s-1];i.leadingNode===e&&(i.leadingNode=null)}takeSurroundingComments(e,t,s){let{commentStack:i}=this.state,r=i.length;if(0===r)return;let n=r-1;for(;n>=0;n--){let r=i[n],o=r.end;if(r.start===s)r.leadingNode=e;else if(o===t)r.trailingNode=e;else if(o<t)break}}},eD=class a{flags=1024;get strict(){return(1&this.flags)>0}set strict(e){e?this.flags|=1:this.flags&=-2}startIndex;curLine;lineStart;startLoc;endLoc;init({strictMode:e,sourceType:t,startIndex:s,startLine:i,startColumn:r}){this.strict=!1!==e&&(!0===e||"module"===t),this.startIndex=s,this.curLine=i,this.lineStart=-r,this.startLoc=this.endLoc=new h(i,r,s)}errors=[];potentialArrowAt=-1;noArrowAt=[];noArrowParamsConversionAt=[];get maybeInArrowParameters(){return(2&this.flags)>0}set maybeInArrowParameters(e){e?this.flags|=2:this.flags&=-3}get inType(){return(4&this.flags)>0}set inType(e){e?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(8&this.flags)>0}set noAnonFunctionType(e){e?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(16&this.flags)>0}set hasFlowComment(e){e?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(32&this.flags)>0}set isAmbientContext(e){e?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(64&this.flags)>0}set inAbstractClass(e){e?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(128&this.flags)>0}set inDisallowConditionalTypesContext(e){e?this.flags|=128:this.flags&=-129}topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};get soloAwait(){return(256&this.flags)>0}set soloAwait(e){e?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(512&this.flags)>0}set inFSharpPipelineDirectBody(e){e?this.flags|=512:this.flags&=-513}labels=[];commentsLen=0;commentStack=[];pos=0;type=140;value=null;start=0;end=0;lastTokEndLoc=null;lastTokStartLoc=null;context=[E.brace];get canStartJSXElement(){return(1024&this.flags)>0}set canStartJSXElement(e){e?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(2048&this.flags)>0}set containsEsc(e){e?this.flags|=2048:this.flags&=-2049}firstInvalidTemplateEscapePos=null;get hasTopLevelAwait(){return(4096&this.flags)>0}set hasTopLevelAwait(e){e?this.flags|=4096:this.flags&=-4097}strictErrors=new Map;tokensLength=0;curPosition(){return new h(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){let e=new a;return e.flags=this.flags,e.startIndex=this.startIndex,e.curLine=this.curLine,e.lineStart=this.lineStart,e.startLoc=this.startLoc,e.endLoc=this.endLoc,e.errors=this.errors.slice(),e.potentialArrowAt=this.potentialArrowAt,e.noArrowAt=this.noArrowAt.slice(),e.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),e.topicContext=this.topicContext,e.labels=this.labels.slice(),e.commentsLen=this.commentsLen,e.commentStack=this.commentStack.slice(),e.pos=this.pos,e.type=this.type,e.value=this.value,e.start=this.start,e.end=this.end,e.lastTokEndLoc=this.lastTokEndLoc,e.lastTokStartLoc=this.lastTokStartLoc,e.context=this.context.slice(),e.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,e.strictErrors=this.strictErrors,e.tokensLength=this.tokensLength,e}},eO={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},eF=e=>48===e||49===e,eB=e=>e>=48&&e<=55,eR=e=>e>=48&&e<=57,eU=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102;function ej(e,t,s,i,r,n){let o=s,h=i,p=r,l="",c=null,d=s,{length:u}=t;for(;;){var m,f,y,x;if(s>=u){n.unterminated(o,h,p),l+=t.slice(d,s);break}let P=t.charCodeAt(s);if(m=e,f=P,y=t,x=s,"template"===m?96===f||36===f&&123===y.charCodeAt(x+1):f===("double"===m?34:39)){l+=t.slice(d,s);break}if(92===P){l+=t.slice(d,s);let o=function(e,t,s,i,r,n){let o=!r;t++;let h=e=>({pos:t,ch:e,lineStart:s,curLine:i}),p=e.charCodeAt(t++);switch(p){case 110:return h(`
|
|
4
4
|
`);case 114:return h("\r");case 120:{let r;return{code:r,pos:t}=e_(e,t,s,i,2,!1,o,n),h(null===r?null:String.fromCharCode(r))}case 117:{let r;return{code:r,pos:t}=ez(e,t,s,i,o,n),h(null===r?null:String.fromCodePoint(r))}case 116:return h(" ");case 98:return h("\b");case 118:return h("\v");case 102:return h("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:s=t,++i;case 8232:case 8233:return h("");case 56:case 57:if(r)return h(null);n.strictNumericEscape(t-1,s,i);default:if(p>=48&&p<=55){let o=t-1,p=/^[0-7]+/.exec(e.slice(o,t+2))[0],l=parseInt(p,8);l>255&&(l=parseInt(p=p.slice(0,-1),8)),t+=p.length-1;let c=e.charCodeAt(t);if("0"!==p||56===c||57===c){if(r)return h(null);n.strictNumericEscape(o,s,i)}return h(String.fromCharCode(l))}return h(String.fromCharCode(p))}}(t,s,i,r,"template"===e,n);null!==o.ch||c?l+=o.ch:c={pos:s,lineStart:i,curLine:r},({pos:s,lineStart:i,curLine:r}=o),d=s}else 8232===P||8233===P?(++s,++r,i=s):10===P||13===P?"template"===e?(l+=t.slice(d,s)+`
|
|
@@ -10,7 +10,7 @@ export const __rspack_esm_id="8048";export const __rspack_esm_ids=["8048"];expor
|
|
|
10
10
|
`)return t-2;if(tS(r))return t-1}else{if("\r"===r&&e.charAt(t+1)===`
|
|
11
11
|
`)return t+2;if(tS(r))return t+1}return t},tI=function(e,t){let s=null,i=t;for(;i!==s;){var r;s=i,i=tT(e,i),i=tA(e,i),i=tE(e,i=!1!==(r=i)&&("/"===e.charAt(r)&&"/"===e.charAt(r+1)?tb(e,r):r))}return i},tw=function(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(`
|
|
12
12
|
`);return -1===t?e:e.slice(0,t)},tC=(e,t)=>(s,i,...r)=>1|s&&null==i?void 0:(t.call(i)??i[e]).apply(i,r),tN=Array.prototype.findLast??function(e){for(let t=this.length-1;t>=0;t--){let s=this[t];if(e(s,t,this))return s}},tk=tC("findLast",function(){if(Array.isArray(this))return tN});function tv(e){return this[e<0?this.length+e:e]}var tL=tC("at",function(){if(Array.isArray(this)||"string"==typeof this)return tv});function tM(e){let t=e.range?.[0]??e.start,s=(e.declaration?.decorators??e.decorators)?.[0];return s?Math.min(tM(s),t):t}function tD(e){return e.range?.[1]??e.end}var tO=function(e){let t=new Set(e);return e=>t.has(e?.type)},tF=tO(["Block","CommentBlock","MultiLine"]),tB=tO(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose","Hashbang","InterpreterDirective"]),tR=new WeakMap,tU=new WeakMap,tj=function(e){return tU.has(e)||tU.set(e,function(e){if(!tF(e))return!1;let t=`*${e.value}*`.split(`
|
|
13
|
-
`);return t.length>1&&t.every(e=>"*"===e.trimStart()[0])}(e)),tU.get(e)},t_=function(e){let t;if(!(e.length<2))for(let s=e.length-1;s>=0;s--){let i=e[s];if(t&&tD(i)===tM(t)&&tj(i)&&tj(t)&&(e.splice(s+1,1),i.value+="*//*"+t.value,i.range=[tM(i),tD(t)]),!tB(i)&&!tF(i))throw TypeError(`Unknown comment type: "${i.type}".`);t=i}},tV=null;function tz(e){if(null!==tV&&(tV.property,1)){let e=tV;return tV=tz.prototype=null,e}return tV=tz.prototype=e??Object.create(null),new tz}for(let e=0;e<=10;e++)tz();var tH=function(e,t="type"){return tz(e),function(s){let i=s[t],r=e[i];if(!Array.isArray(r))throw Object.assign(Error(`Missing visitor keys for '${i}'.`),{node:s});return r}}({AccessorProperty:["decorators","key","typeAnnotation","value"],AnyTypeAnnotation:[],ArgumentPlaceholder:[],ArrayExpression:["elements"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrayTypeAnnotation:["elementType"],ArrowFunctionExpression:["typeParameters","params","predicate","returnType","body"],AsConstExpression:["expression"],AsExpression:["expression","typeAnnotation"],AssignmentExpression:["left","right"],AssignmentPattern:["left","right","decorators","typeAnnotation"],AwaitExpression:["argument"],BigIntLiteral:[],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],BinaryExpression:["left","right"],BindExpression:["object","callee"],BlockStatement:["directives","body"],BooleanLiteral:[],BooleanLiteralTypeAnnotation:[],BooleanTypeAnnotation:[],BreakStatement:["label"],CallExpression:["callee","typeArguments","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassAccessorProperty:["decorators","key","typeAnnotation","value"],ClassBody:["body"],ClassDeclaration:["decorators","id","typeParameters","superClass","superTypeArguments","mixins","implements","body","superTypeParameters"],ClassExpression:["decorators","id","typeParameters","superClass","superTypeArguments","mixins","implements","body","superTypeParameters"],ClassImplements:["id","typeParameters"],ClassMethod:["decorators","key","typeParameters","params","returnType","body"],ClassPrivateMethod:["decorators","key","typeParameters","params","returnType","body"],ClassPrivateProperty:["decorators","variance","key","typeAnnotation","value"],ClassProperty:["decorators","variance","key","typeAnnotation","value"],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:["name","typeAnnotation"],ConditionalExpression:["test","consequent","alternate"],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],ContinueStatement:["label"],DebuggerStatement:[],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclaredPredicate:["value"],DeclareEnum:["id","body"],DeclareExportAllDeclaration:["source","attributes"],DeclareExportDeclaration:["declaration","specifiers","source","attributes"],DeclareFunction:["id","predicate"],DeclareHook:["id"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareNamespace:["id","body"],DeclareOpaqueType:["id","typeParameters","supertype","lowerBound","upperBound"],DeclareTypeAlias:["id","typeParameters","right"],DeclareVariable:["id"],Decorator:["expression"],Directive:["value"],DirectiveLiteral:[],DoExpression:["body"],DoWhileStatement:["body","test"],EmptyStatement:[],EmptyTypeAnnotation:[],EnumBigIntBody:["members"],EnumBigIntMember:["id","init"],EnumBooleanBody:["members"],EnumBooleanMember:["id","init"],EnumDeclaration:["id","body"],EnumDefaultedMember:["id"],EnumNumberBody:["members"],EnumNumberMember:["id","init"],EnumStringBody:["members"],EnumStringMember:["id","init"],EnumSymbolBody:["members"],ExistsTypeAnnotation:[],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportDefaultSpecifier:["exported"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportNamespaceSpecifier:["exported"],ExportSpecifier:["local","exported"],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","typeParameters","params","predicate","returnType","body"],FunctionExpression:["id","typeParameters","params","predicate","returnType","body"],FunctionTypeAnnotation:["typeParameters","this","params","rest","returnType"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],HookDeclaration:["id","params","body","typeParameters","returnType"],HookTypeAnnotation:["params","returnType","rest","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],ImportAttribute:["key","value"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportExpression:["source","options"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],IndexedAccessType:["objectType","indexType"],InferredPredicate:[],InferTypeAnnotation:["typeParameter"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceExtends:["id","typeParameters"],InterfaceTypeAnnotation:["extends","body"],InterpreterDirective:[],IntersectionTypeAnnotation:["types"],JsExpressionRoot:["node"],JsonRoot:["node"],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","typeArguments","attributes"],JSXOpeningFragment:[],JSXSpreadAttribute:["argument"],JSXSpreadChild:["expression"],JSXText:[],KeyofTypeAnnotation:["argument"],LabeledStatement:["label","body"],Literal:[],LogicalExpression:["left","right"],MatchArrayPattern:["elements","rest"],MatchAsPattern:["pattern","target"],MatchBindingPattern:["id"],MatchExpression:["argument","cases"],MatchExpressionCase:["pattern","body","guard"],MatchIdentifierPattern:["id"],MatchLiteralPattern:["literal"],MatchMemberPattern:["base","property"],MatchObjectPattern:["properties","rest"],MatchObjectPatternProperty:["key","pattern"],MatchOrPattern:["patterns"],MatchRestPattern:["argument"],MatchStatement:["argument","cases"],MatchStatementCase:["pattern","body","guard"],MatchUnaryPattern:["argument"],MatchWildcardPattern:[],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["decorators","key","value"],MixedTypeAnnotation:[],ModuleExpression:["body"],NeverTypeAnnotation:[],NewExpression:["callee","typeArguments","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxAs:["key","alias"],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKey:[],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGPipeExpression:["left","right","arguments"],NGRoot:["node"],NullableTypeAnnotation:["typeAnnotation"],NullLiteral:[],NullLiteralTypeAnnotation:[],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],NumericLiteral:[],ObjectExpression:["properties"],ObjectMethod:["decorators","key","typeParameters","params","returnType","body"],ObjectPattern:["decorators","properties","typeAnnotation"],ObjectProperty:["decorators","key","value"],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["variance","id","key","value"],ObjectTypeInternalSlot:["id","value"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype","lowerBound","upperBound"],OptionalCallExpression:["callee","typeArguments","arguments"],OptionalIndexedAccessType:["objectType","indexType"],OptionalMemberExpression:["object","property"],ParenthesizedExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],PipelineTopicExpression:["expression"],Placeholder:[],PrivateIdentifier:[],PrivateName:["id"],Program:["directives","body"],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],QualifiedTypeIdentifier:["qualification","id"],QualifiedTypeofIdentifier:["qualification","id"],RegExpLiteral:[],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SatisfiesExpression:["expression","typeAnnotation"],SequenceExpression:["expressions"],SpreadElement:["argument"],StaticBlock:["body"],StringLiteral:[],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],Super:[],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],SymbolTypeAnnotation:[],TaggedTemplateExpression:["tag","typeArguments","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThisTypeAnnotation:[],ThrowStatement:["argument"],TopicReference:[],TryStatement:["block","handler","finalizer"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAnyKeyword:[],TSArrayType:["elementType"],TSAsExpression:["expression","typeAnnotation"],TSAsyncKeyword:[],TSBigIntKeyword:[],TSBooleanKeyword:[],TSCallSignatureDeclaration:["typeParameters","params","returnType"],TSClassImplements:["expression","typeArguments"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSConstructorType:["typeParameters","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","params","returnType"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareKeyword:[],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:["members"],TSEnumDeclaration:["id","body"],TSEnumMember:["id","initializer"],TSExportAssignment:["expression"],TSExportKeyword:[],TSExternalModuleReference:["expression"],TSFunctionType:["typeParameters","params","returnType"],TSImportEqualsDeclaration:["id","moduleReference"],TSImportType:["options","qualifier","typeArguments","source"],TSIndexedAccessType:["objectType","indexType"],TSIndexSignature:["parameters","typeAnnotation"],TSInferType:["typeParameter"],TSInstantiationExpression:["expression","typeArguments"],TSInterfaceBody:["body"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceHeritage:["expression","typeArguments"],TSIntersectionType:["types"],TSIntrinsicKeyword:[],TSJSDocAllType:[],TSJSDocNonNullableType:["typeAnnotation"],TSJSDocNullableType:["typeAnnotation"],TSJSDocUnknownType:[],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:["parameter","decorators"],TSParenthesizedType:["typeAnnotation"],TSPrivateKeyword:[],TSPropertySignature:["key","typeAnnotation"],TSProtectedKeyword:[],TSPublicKeyword:[],TSQualifiedName:["left","right"],TSReadonlyKeyword:[],TSRestType:["typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],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:[],TupleTypeAnnotation:["types","elementTypes"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeofTypeAnnotation:["argument","typeArguments"],TypeOperator:["typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],TypePredicate:["parameterName","typeAnnotation"],UnaryExpression:["argument"],UndefinedTypeAnnotation:[],UnionTypeAnnotation:["types"],UnknownTypeAnnotation:[],UpdateExpression:["argument"],V8IntrinsicIdentifier:[],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],Variance:[],VoidPattern:[],VoidTypeAnnotation:[],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]}),tq=function e(t,s){if(null===t||"object"!=typeof t)return t;if(Array.isArray(t)){for(let i=0;i<t.length;i++)t[i]=e(t[i],s);return t}s.onEnter&&(t=s.onEnter(t)||t);let i=tH(t);for(let r=0;r<i.length;r++)t[i[r]]=e(t[i[r]],s);return s.onLeave(t)||t};function t$(e){return"LogicalExpression"===e.type&&"LogicalExpression"===e.right.type&&e.operator===e.right.operator}tO(["RegExpLiteral","BigIntLiteral","NumericLiteral","StringLiteral","DirectiveLiteral","Literal","JSXText","TemplateElement","StringLiteralTypeAnnotation","NumberLiteralTypeAnnotation","BigIntLiteralTypeAnnotation"]);var tK=function(e,t){let s,{parser:i,text:r}=t,{comments:n}=e,o="oxc"===i&&"ts"===t.oxcAstType;t_(n);let h="File"===(e=tq(e,{onLeave(t){switch(t.type){case"ParenthesizedExpression":{let{expression:e}=t,i=tM(t);if("TypeCastExpression"===e.type)return e.range=[i,tD(t)],e;let h=!1;if(!o){if(!s)for(let e of(s=[],n))tR.has(e)||tR.set(e,tF(e)&&"*"===e.value[0]&&/@(?:type|satisfies)\b/u.test(e.value)),tR.get(e)&&s.push(tD(e));let e=tk(0,s,e=>e<=i);h=e&&0===r.slice(e,i).trim().length}if(!h)return e.extra={...e.extra,parenthesized:!0},e;break}case"LogicalExpression":if(t$(t))return function e(t){return t$(t)?e({type:"LogicalExpression",operator:t.operator,left:e({type:"LogicalExpression",operator:t.operator,left:t.left,right:t.right.left,range:[tM(t.left),tD(t.right.left)]}),right:t.right.right,range:[tM(t),tD(t)]}):t}(t);break;case"TemplateLiteral":if(t.expressions.length!==t.quasis.length-1)throw Error("Malformed template literal.");break;case"TemplateElement":if("flow"===i||"hermes"===i||"espree"===i||"typescript"===i||o){let e=tM(t)+1,s=tD(t)-(t.tail?1:2);t.range=[e,s]}break;case"VariableDeclaration":{let e=tL(0,t.declarations,-1);e?.init&&";"!==r[tD(e)]&&(t.range=[tM(t),tD(e)]);break}case"TSParenthesizedType":return t.typeAnnotation;case"TopicReference":e.extra={...e.extra,__isUsingHackPipeline:!0};break;case"TSUnionType":case"TSIntersectionType":if(1===t.types.length)return t.types[0];break;case"ImportExpression":"hermes"===i&&t.attributes&&!t.options&&(t.options=t.attributes);break;case"TSImportType":t.source||"TSLiteralType"!==t.argument.type||(t.source=t.argument.literal,delete t.argument)}}})).type?e.program:e;return h.interpreter&&(n.unshift(h.interpreter),delete h.interpreter),o&&e.hashbang&&(n.unshift(e.hashbang),delete e.hashbang),"Program"===e.type&&(e.range=[0,r.length]),e},tJ=function(e,t){return Object.assign(SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")"),t)},tW="Unexpected parseExpression() input: ",tX=function(e){let{message:t,loc:s,reasonCode:i}=e;if(!s)return e;let{line:r,column:n}=s,o=e;("MissingPlugin"===i||"MissingOneOfPlugins"===i)&&(t="Unexpected token.",o=void 0);let h=` (${r}:${n})`;return t.endsWith(h)&&(t=t.slice(0,-h.length)),t.startsWith(tW)&&(t=t.slice(tW.length)),tJ(t,{loc:{start:{line:r,column:n+1}},cause:o})},tG=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},tY=tC("replaceAll",function(){if("string"==typeof this)return tG}),tQ=/\*\/$/,tZ=/^\/\*\*?/,t1=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,t0=/(^|\s+)\/\/([^\n\r]*)/g,t2=/^(\r?\n)+/,t4=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,t3=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,t5=/(\r?\n|^) *\* ?/g,t8=[],t6=["noformat","noprettier"],t9=["format","prettier"];function t7(e){let t,s=tw(e);s&&(e=e.slice(s.length+1));let{pragmas:i,comments:r}=function(e){e=tY(0,e.replace(tZ,"").replace(tQ,""),t5,"$1");let t="";for(;t!==e;)t=e,e=tY(0,e,t4,`
|
|
13
|
+
`);return t.length>1&&t.every(e=>"*"===e.trimStart()[0])}(e)),tU.get(e)},t_=function(e){let t;if(!(e.length<2))for(let s=e.length-1;s>=0;s--){let i=e[s];if(t&&tD(i)===tM(t)&&tj(i)&&tj(t)&&(e.splice(s+1,1),i.value+="*//*"+t.value,i.range=[tM(i),tD(t)]),!tB(i)&&!tF(i))throw TypeError(`Unknown comment type: "${i.type}".`);t=i}},tV=null;function tz(e){if(null!==tV&&(tV.property,1)){let e=tV;return tV=tz.prototype=null,e}return tV=tz.prototype=e??Object.create(null),new tz}for(let e=0;e<=10;e++)tz();var tH=[["decorators","key","typeAnnotation","value"],[],["elementType"],["expression"],["expression","typeAnnotation"],["left","right"],["argument"],["directives","body"],["label"],["callee","typeArguments","arguments"],["body"],["decorators","id","typeParameters","superClass","superTypeArguments","mixins","implements","body","superTypeParameters"],["id","typeParameters"],["decorators","key","typeParameters","params","returnType","body"],["decorators","variance","key","typeAnnotation","value"],["name","typeAnnotation"],["test","consequent","alternate"],["checkType","extendsType","trueType","falseType"],["value"],["id","body"],["declaration","specifiers","source","attributes"],["id"],["id","typeParameters","extends","body"],["typeAnnotation"],["id","typeParameters","right"],["body","test"],["members"],["id","init"],["exported"],["left","right","body"],["id","typeParameters","params","predicate","returnType","body"],["id","params","body","typeParameters","returnType"],["key","value"],["local"],["objectType","indexType"],["typeParameter"],["types"],["node"],["object","property"],["argument","cases"],["pattern","body","guard"],["literal"],["decorators","key","value"],["expressions"],["qualification","id"],["decorators","key","typeAnnotation"],["typeParameters","params","returnType"],["expression","typeArguments"],["params"],["parameterName","typeAnnotation"]],tq=function(e,t="type"){return tz(e),function(s){let i=s[t],r=e[i];if(!Array.isArray(r))throw Object.assign(Error(`Missing visitor keys for '${i}'.`),{node:s});return r}}({AccessorProperty:tH[0],AnyTypeAnnotation:tH[1],ArgumentPlaceholder:tH[1],ArrayExpression:["elements"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrayTypeAnnotation:tH[2],ArrowFunctionExpression:["typeParameters","params","predicate","returnType","body"],AsConstExpression:tH[3],AsExpression:tH[4],AssignmentExpression:tH[5],AssignmentPattern:["left","right","decorators","typeAnnotation"],AwaitExpression:tH[6],BigIntLiteral:tH[1],BigIntLiteralTypeAnnotation:tH[1],BigIntTypeAnnotation:tH[1],BinaryExpression:tH[5],BindExpression:["object","callee"],BlockStatement:tH[7],BooleanLiteral:tH[1],BooleanLiteralTypeAnnotation:tH[1],BooleanTypeAnnotation:tH[1],BreakStatement:tH[8],CallExpression:tH[9],CatchClause:["param","body"],ChainExpression:tH[3],ClassAccessorProperty:tH[0],ClassBody:tH[10],ClassDeclaration:tH[11],ClassExpression:tH[11],ClassImplements:tH[12],ClassMethod:tH[13],ClassPrivateMethod:tH[13],ClassPrivateProperty:tH[14],ClassProperty:tH[14],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:tH[15],ConditionalExpression:tH[16],ConditionalTypeAnnotation:tH[17],ContinueStatement:tH[8],DebuggerStatement:tH[1],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclaredPredicate:tH[18],DeclareEnum:tH[19],DeclareExportAllDeclaration:["source","attributes"],DeclareExportDeclaration:tH[20],DeclareFunction:["id","predicate"],DeclareHook:tH[21],DeclareInterface:tH[22],DeclareModule:tH[19],DeclareModuleExports:tH[23],DeclareNamespace:tH[19],DeclareOpaqueType:["id","typeParameters","supertype","lowerBound","upperBound"],DeclareTypeAlias:tH[24],DeclareVariable:tH[21],Decorator:tH[3],Directive:tH[18],DirectiveLiteral:tH[1],DoExpression:tH[10],DoWhileStatement:tH[25],EmptyStatement:tH[1],EmptyTypeAnnotation:tH[1],EnumBigIntBody:tH[26],EnumBigIntMember:tH[27],EnumBooleanBody:tH[26],EnumBooleanMember:tH[27],EnumDeclaration:tH[19],EnumDefaultedMember:tH[21],EnumNumberBody:tH[26],EnumNumberMember:tH[27],EnumStringBody:tH[26],EnumStringMember:tH[27],EnumSymbolBody:tH[26],ExistsTypeAnnotation:tH[1],ExperimentalRestProperty:tH[6],ExperimentalSpreadProperty:tH[6],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportDefaultSpecifier:tH[28],ExportNamedDeclaration:tH[20],ExportNamespaceSpecifier:tH[28],ExportSpecifier:["local","exported"],ExpressionStatement:tH[3],File:["program"],ForInStatement:tH[29],ForOfStatement:tH[29],ForStatement:["init","test","update","body"],FunctionDeclaration:tH[30],FunctionExpression:tH[30],FunctionTypeAnnotation:["typeParameters","this","params","rest","returnType"],FunctionTypeParam:tH[15],GenericTypeAnnotation:tH[12],HookDeclaration:tH[31],HookTypeAnnotation:["params","returnType","rest","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:tH[16],ImportAttribute:tH[32],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:tH[33],ImportExpression:["source","options"],ImportNamespaceSpecifier:tH[33],ImportSpecifier:["imported","local"],IndexedAccessType:tH[34],InferredPredicate:tH[1],InferTypeAnnotation:tH[35],InterfaceDeclaration:tH[22],InterfaceExtends:tH[12],InterfaceTypeAnnotation:["extends","body"],InterpreterDirective:tH[1],IntersectionTypeAnnotation:tH[36],JsExpressionRoot:tH[37],JsonRoot:tH[37],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXClosingFragment:tH[1],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:tH[1],JSXExpressionContainer:tH[3],JSXFragment:["openingFragment","children","closingFragment"],JSXIdentifier:tH[1],JSXMemberExpression:tH[38],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","typeArguments","attributes"],JSXOpeningFragment:tH[1],JSXSpreadAttribute:tH[6],JSXSpreadChild:tH[3],JSXText:tH[1],KeyofTypeAnnotation:tH[6],LabeledStatement:["label","body"],Literal:tH[1],LogicalExpression:tH[5],MatchArrayPattern:["elements","rest"],MatchAsPattern:["pattern","target"],MatchBindingPattern:tH[21],MatchExpression:tH[39],MatchExpressionCase:tH[40],MatchIdentifierPattern:tH[21],MatchLiteralPattern:tH[41],MatchMemberPattern:["base","property"],MatchObjectPattern:["properties","rest"],MatchObjectPatternProperty:["key","pattern"],MatchOrPattern:["patterns"],MatchRestPattern:tH[6],MatchStatement:tH[39],MatchStatementCase:tH[40],MatchUnaryPattern:tH[6],MatchWildcardPattern:tH[1],MemberExpression:tH[38],MetaProperty:["meta","property"],MethodDefinition:tH[42],MixedTypeAnnotation:tH[1],ModuleExpression:tH[10],NeverTypeAnnotation:tH[1],NewExpression:tH[9],NGChainedExpression:tH[43],NGEmptyExpression:tH[1],NGMicrosyntax:tH[10],NGMicrosyntaxAs:["key","alias"],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKey:tH[1],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:tH[32],NGPipeExpression:["left","right","arguments"],NGRoot:tH[37],NullableTypeAnnotation:tH[23],NullLiteral:tH[1],NullLiteralTypeAnnotation:tH[1],NumberLiteralTypeAnnotation:tH[1],NumberTypeAnnotation:tH[1],NumericLiteral:tH[1],ObjectExpression:["properties"],ObjectMethod:tH[13],ObjectPattern:["decorators","properties","typeAnnotation"],ObjectProperty:tH[42],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeCallProperty:tH[18],ObjectTypeIndexer:["variance","id","key","value"],ObjectTypeInternalSlot:["id","value"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:tH[6],OpaqueType:["id","typeParameters","supertype","impltype","lowerBound","upperBound"],OptionalCallExpression:tH[9],OptionalIndexedAccessType:tH[34],OptionalMemberExpression:tH[38],ParenthesizedExpression:tH[3],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:tH[1],PipelineTopicExpression:tH[3],Placeholder:tH[1],PrivateIdentifier:tH[1],PrivateName:tH[21],Program:tH[7],Property:tH[32],PropertyDefinition:tH[14],QualifiedTypeIdentifier:tH[44],QualifiedTypeofIdentifier:tH[44],RegExpLiteral:tH[1],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:tH[6],SatisfiesExpression:tH[4],SequenceExpression:tH[43],SpreadElement:tH[6],StaticBlock:tH[10],StringLiteral:tH[1],StringLiteralTypeAnnotation:tH[1],StringTypeAnnotation:tH[1],Super:tH[1],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],SymbolTypeAnnotation:tH[1],TaggedTemplateExpression:["tag","typeArguments","quasi"],TemplateElement:tH[1],TemplateLiteral:["quasis","expressions"],ThisExpression:tH[1],ThisTypeAnnotation:tH[1],ThrowStatement:tH[6],TopicReference:tH[1],TryStatement:["block","handler","finalizer"],TSAbstractAccessorProperty:tH[45],TSAbstractKeyword:tH[1],TSAbstractMethodDefinition:tH[32],TSAbstractPropertyDefinition:tH[45],TSAnyKeyword:tH[1],TSArrayType:tH[2],TSAsExpression:tH[4],TSAsyncKeyword:tH[1],TSBigIntKeyword:tH[1],TSBooleanKeyword:tH[1],TSCallSignatureDeclaration:tH[46],TSClassImplements:tH[47],TSConditionalType:tH[17],TSConstructorType:tH[46],TSConstructSignatureDeclaration:tH[46],TSDeclareFunction:tH[31],TSDeclareKeyword:tH[1],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:tH[26],TSEnumDeclaration:tH[19],TSEnumMember:["id","initializer"],TSExportAssignment:tH[3],TSExportKeyword:tH[1],TSExternalModuleReference:tH[3],TSFunctionType:tH[46],TSImportEqualsDeclaration:["id","moduleReference"],TSImportType:["options","qualifier","typeArguments","source"],TSIndexedAccessType:tH[34],TSIndexSignature:["parameters","typeAnnotation"],TSInferType:tH[35],TSInstantiationExpression:tH[47],TSInterfaceBody:tH[10],TSInterfaceDeclaration:tH[22],TSInterfaceHeritage:tH[47],TSIntersectionType:tH[36],TSIntrinsicKeyword:tH[1],TSJSDocAllType:tH[1],TSJSDocNonNullableType:tH[23],TSJSDocNullableType:tH[23],TSJSDocUnknownType:tH[1],TSLiteralType:tH[41],TSMappedType:["key","constraint","nameType","typeAnnotation"],TSMethodSignature:["key","typeParameters","params","returnType"],TSModuleBlock:tH[10],TSModuleDeclaration:tH[19],TSNamedTupleMember:["label","elementType"],TSNamespaceExportDeclaration:tH[21],TSNeverKeyword:tH[1],TSNonNullExpression:tH[3],TSNullKeyword:tH[1],TSNumberKeyword:tH[1],TSObjectKeyword:tH[1],TSOptionalType:tH[23],TSParameterProperty:["parameter","decorators"],TSParenthesizedType:tH[23],TSPrivateKeyword:tH[1],TSPropertySignature:["key","typeAnnotation"],TSProtectedKeyword:tH[1],TSPublicKeyword:tH[1],TSQualifiedName:tH[5],TSReadonlyKeyword:tH[1],TSRestType:tH[23],TSSatisfiesExpression:tH[4],TSStaticKeyword:tH[1],TSStringKeyword:tH[1],TSSymbolKeyword:tH[1],TSTemplateLiteralType:["quasis","types"],TSThisType:tH[1],TSTupleType:["elementTypes"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSTypeAnnotation:tH[23],TSTypeAssertion:tH[4],TSTypeLiteral:tH[26],TSTypeOperator:tH[23],TSTypeParameter:["name","constraint","default"],TSTypeParameterDeclaration:tH[48],TSTypeParameterInstantiation:tH[48],TSTypePredicate:tH[49],TSTypeQuery:["exprName","typeArguments"],TSTypeReference:["typeName","typeArguments"],TSUndefinedKeyword:tH[1],TSUnionType:tH[36],TSUnknownKeyword:tH[1],TSVoidKeyword:tH[1],TupleTypeAnnotation:["types","elementTypes"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeAlias:tH[24],TypeAnnotation:tH[23],TypeCastExpression:tH[4],TypeofTypeAnnotation:["argument","typeArguments"],TypeOperator:tH[23],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:tH[48],TypeParameterInstantiation:tH[48],TypePredicate:tH[49],UnaryExpression:tH[6],UndefinedTypeAnnotation:tH[1],UnionTypeAnnotation:tH[36],UnknownTypeAnnotation:tH[1],UpdateExpression:tH[6],V8IntrinsicIdentifier:tH[1],VariableDeclaration:["declarations"],VariableDeclarator:tH[27],Variance:tH[1],VoidPattern:tH[1],VoidTypeAnnotation:tH[1],WhileStatement:tH[25],WithStatement:["object","body"],YieldExpression:tH[6]}),t$=function e(t,s){var i;if(null===(i=t)||"object"!=typeof i)return t;if(Array.isArray(t)){for(let i=0;i<t.length;i++)t[i]=e(t[i],s);return t}if(s.onEnter){let i=s.onEnter(t)??t;if(i!==t)return e(i,s);t=i}let r=tq(t);for(let i=0;i<r.length;i++)t[r[i]]=e(t[r[i]],s);return s.onLeave&&(t=s.onLeave(t)||t),t};function tK(e){return"LogicalExpression"===e.type&&"LogicalExpression"===e.right.type&&e.operator===e.right.operator}tO(["RegExpLiteral","BigIntLiteral","NumericLiteral","StringLiteral","DirectiveLiteral","Literal","JSXText","TemplateElement","StringLiteralTypeAnnotation","NumberLiteralTypeAnnotation","BigIntLiteralTypeAnnotation"]);var tJ=function(e,t){let s,{parser:i,text:r}=t,{comments:n}=e,o="oxc"===i&&"ts"===t.oxcAstType;t_(n);let h="File"===e.type?e.program:e;return h.interpreter&&(n.unshift(h.interpreter),delete h.interpreter),o&&e.hashbang&&(n.unshift(e.hashbang),delete e.hashbang),"Program"===e.type&&(e.range=[0,r.length]),e=t$(e,{onEnter(t){switch(t.type){case"ParenthesizedExpression":{let{expression:e}=t,i=tM(t);if("TypeCastExpression"===e.type)return e.range=[i,tD(t)],e;let h=!1;if(!o){if(!s)for(let e of(s=[],n))tR.has(e)||tR.set(e,tF(e)&&"*"===e.value[0]&&/@(?:type|satisfies)\b/u.test(e.value)),tR.get(e)&&s.push(tD(e));let e=tk(0,s,e=>e<=i);h=e&&0===r.slice(e,i).trim().length}return h?void 0:(e.extra={...e.extra,parenthesized:!0},e)}case"TemplateLiteral":if(t.expressions.length!==t.quasis.length-1)throw Error("Malformed template literal.");break;case"TemplateElement":if("flow"===i||"hermes"===i||"espree"===i||"typescript"===i||o){let e=tM(t)+1,s=tD(t)-(t.tail?1:2);t.range=[e,s]}break;case"VariableDeclaration":{let e=tL(0,t.declarations,-1);e?.init&&";"!==r[tD(e)]&&(t.range=[tM(t),tD(e)]);break}case"TSParenthesizedType":return t.typeAnnotation;case"TopicReference":e.extra={...e.extra,__isUsingHackPipeline:!0};break;case"TSUnionType":case"TSIntersectionType":if(1===t.types.length)return t.types[0];break;case"ImportExpression":"hermes"===i&&t.attributes&&!t.options&&(t.options=t.attributes)}},onLeave(e){switch(e.type){case"LogicalExpression":if(tK(e))return function e(t){return tK(t)?e({type:"LogicalExpression",operator:t.operator,left:e({type:"LogicalExpression",operator:t.operator,left:t.left,right:t.right.left,range:[tM(t.left),tD(t.right.left)]}),right:t.right.right,range:[tM(t),tD(t)]}):t}(e);break;case"TSImportType":e.source||"TSLiteralType"!==e.argument.type||(e.source=e.argument.literal,delete e.argument)}}})},tW=function(e,t){return Object.assign(SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")"),t)},tX="Unexpected parseExpression() input: ",tG=function(e){let{message:t,loc:s,reasonCode:i}=e;if(!s)return e;let{line:r,column:n}=s,o=e;("MissingPlugin"===i||"MissingOneOfPlugins"===i)&&(t="Unexpected token.",o=void 0);let h=` (${r}:${n})`;return t.endsWith(h)&&(t=t.slice(0,-h.length)),t.startsWith(tX)&&(t=t.slice(tX.length)),tW(t,{loc:{start:{line:r,column:n+1}},cause:o})},tY=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},tQ=tC("replaceAll",function(){if("string"==typeof this)return tY}),tZ=/\*\/$/,t1=/^\/\*\*?/,t0=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,t2=/(^|\s+)\/\/([^\n\r]*)/g,t4=/^(\r?\n)+/,t3=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,t5=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,t8=/(\r?\n|^) *\* ?/g,t6=[],t9=["noformat","noprettier"],t7=["format","prettier"];function se(e){let t,s=tw(e);s&&(e=e.slice(s.length+1));let{pragmas:i,comments:r}=function(e){e=tQ(0,e.replace(t1,"").replace(tZ,""),t8,"$1");let t="";for(;t!==e;)t=e,e=tQ(0,e,t3,`
|
|
14
14
|
$1 $2
|
|
15
|
-
`);e=e.replace(
|
|
15
|
+
`);e=e.replace(t4,"").trimEnd();let s=Object.create(null),i=tQ(0,e,t5,"").replace(t4,"").trimEnd(),r;for(;r=t5.exec(e);){let e=tQ(0,r[2],t2,"");if("string"==typeof s[r[1]]||Array.isArray(s[r[1]])){let t=s[r[1]];s[r[1]]=[...t6,...Array.isArray(t)?t:[t],e]}else s[r[1]]=e}return{comments:i,pragmas:s}}((t=e.match(t0))?t[0].trimStart():"");return{shebang:s,text:e,pragmas:i,comments:r}}function st(e){let{pragmas:t}=se(e);return t7.some(e=>Object.prototype.hasOwnProperty.call(t,e))}function ss(e){let{pragmas:t}=se(e);return t9.some(e=>Object.prototype.hasOwnProperty.call(t,e))}var si=function(e){return{astFormat:"estree",hasPragma:st,hasIgnorePragma:ss,locStart:tM,locEnd:tD,...e="function"==typeof e?{parse:e}:e}},sr="module",sa="commonjs",sn=function(e,t){let{type:s="JsExpressionRoot",rootMarker:i,text:r}=t,{tokens:n,comments:o}=e;return delete e.tokens,delete e.comments,{tokens:n,comments:o,type:s,node:e,range:[0,r.length],rootMarker:i}},so={sourceType:sr,allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowNewTargetOutsideFunction:!0,allowSuperOutsideMethod:!0,allowUndeclaredExports:!0,errorRecovery:!0,createParenthesizedExpressions:!0,attachComment:!1,plugins:["doExpressions","exportDefaultFrom","functionBind","functionSent","throwExpressions","partialApplication","decorators","moduleBlocks","asyncDoExpressions","destructuringPrivate","decoratorAutoAccessors","sourcePhaseImports","deferredImportEvaluation",["optionalChainingAssign",{version:"2023-07"}],["discardBinding",{syntaxType:"void"}]],tokens:!1,ranges:!1},sh="v8intrinsic",sp=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"fsharp"}]],sl=(e,t=so)=>({...t,plugins:[...t.plugins,...e]}),sc=/@(?:no)?flow\b/u;function sd({isExpression:e=!1,optionsCombinations:t}){return(s,i={})=>{let{filepath:r}=i;if("string"!=typeof r&&(r=void 0),("babel"===i.parser||"__babel_estree"===i.parser)&&function(e,t){if(t?.endsWith(".js.flow"))return!0;let s=tw(e);s&&(e=e.slice(s.length));let i=tI(e,0);return!1!==i&&(e=e.slice(0,i)),sc.test(e)}(s,r))return i.parser="babel-flow",sg.parse(s,i);let n=t,o=i.__babelSourceType??function(e){if("string"==typeof e){if(e=e.toLowerCase(),/\.(?:mjs|mts)$/iu.test(e))return sr;if(/\.(?:cjs|cts)$/iu.test(e))return sa}}(r);o&&o!==sr&&(n=n.map(e=>({...e,sourceType:o,...o===sa?{allowReturnOutsideFunction:void 0,allowNewTargetOutsideFunction:void 0}:void 0})));let h=/%[A-Z]/u.test(s);s.includes("|>")?n=(h?[...sp,sh]:sp).flatMap(e=>n.map(t=>sl([e],t))):h&&(n=n.map(e=>sl([sh],e)));let p=e?tm:tu,l;try{l=function(e){let t=[];for(let s of e)try{return s()}catch(e){t.push(e)}throw Object.assign(Error("All combinations failed"),{errors:t})}(n.map(e=>()=>(function(e,t,s){let i=e(t,s),r=i.errors.find(e=>!su.has(e.reasonCode));if(r)throw r;return i})(p,s,e)))}catch({errors:[e]}){throw tG(e)}return e&&(l=sn(l,{text:s,rootMarker:i.rootMarker})),tJ(l,{text:s})}}var su=new Set(["StrictNumericEscape","StrictWith","StrictOctalLiteral","StrictDelete","StrictEvalArguments","StrictEvalArgumentsBinding","StrictFunction","ForInOfLoopInitializer","ConstructorHasTypeParameters","UnsupportedParameterPropertyKind","DecoratorExportClass","ParamDupe","InvalidDecimal","RestTrailingComma","UnsupportedParameterDecorator","UnterminatedJsxContent","UnexpectedReservedWord","ModuleAttributesWithDuplicateKeys","InvalidEscapeSequenceTemplate","NonAbstractClassHasAbstractMethod","OptionalTypeBeforeRequired","PatternIsOptional","DeclareClassFieldHasInitializer","TypeImportCannotSpecifyDefaultAndNamed","VarRedeclaration","InvalidPrivateFieldResolution","DuplicateExport","ImportAttributesUseAssert","DeclarationMissingInitializer"]),sm=[sl(["jsx"])],sf=si(sd({optionsCombinations:sm})),sy=si(sd({optionsCombinations:[sl(["jsx","typescript"]),sl(["typescript"])]})),sx=si(sd({isExpression:!0,optionsCombinations:[sl(["jsx"])]})),sP=si(sd({isExpression:!0,optionsCombinations:[sl(["typescript"])]})),sg=si(sd({optionsCombinations:[sl(["jsx",["flow",{all:!0}],"flowComments"])]})),sT=si(sd({optionsCombinations:sm.map(e=>sl(["estree"],e))})),sb={};r(sb,{json:()=>sw,"json-stringify":()=>sk,json5:()=>sC,jsonc:()=>sN});var sA=function(e){return Array.isArray(e)&&e.length>0},sS={tokens:!1,ranges:!1,attachComment:!1,createParenthesizedExpressions:!0};function sE(e,t={}){let{allowComments:s=!0,allowEmpty:i=!1}=t,r;try{r=tm(e,sS)}catch(t){if(i&&"BABEL_PARSER_SYNTAX_ERROR"===t.code&&"ParseExpressionEmptyInput"===t.reasonCode)try{r=function(e){let t=tu(e,sS),{program:s}=t;if(0===s.body.length&&0===s.directives.length&&!s.interpreter)return t}(e)}catch{}if(!r)throw tG(t)}if(!s&&sA(r.comments))throw sI(r.comments[0],"Comment");return"File"===(r=sn(r,{type:"JsonRoot",text:e})).node.type?delete r.node:function e(t){switch(t.type){case"ArrayExpression":for(let s of t.elements)null!==s&&e(s);return;case"ObjectExpression":for(let s of t.properties)e(s);return;case"ObjectProperty":if(t.computed)throw sI(t.key,"Computed key");if(t.shorthand)throw sI(t.key,"Shorthand property");"Identifier"!==t.key.type&&e(t.key),e(t.value);return;case"UnaryExpression":{let{operator:e,argument:s}=t;if("+"!==e&&"-"!==e)throw sI(t,`Operator '${t.operator}'`);if("NumericLiteral"===s.type||"Identifier"===s.type&&("Infinity"===s.name||"NaN"===s.name))return;throw sI(s,`Operator '${e}' before '${s.type}'`)}case"Identifier":if("Infinity"!==t.name&&"NaN"!==t.name&&"undefined"!==t.name)throw sI(t,`Identifier '${t.name}'`);return;case"TemplateLiteral":if(sA(t.expressions))throw sI(t.expressions[0],"'TemplateLiteral' with expression");for(let s of t.quasis)e(s);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw sI(t,`'${t.type}'`)}}(r.node),r}function sI(e,t){let[s,i]=[e.loc.start,e.loc.end].map(({line:e,column:t})=>({line:e,column:t+1}));return tW(`${t} is not allowed in JSON.`,{loc:{start:s,end:i}})}var sw=si({parse:e=>sE(e),hasPragma:()=>!0,hasIgnorePragma:()=>!1}),sC=si(e=>sE(e)),sN=si(e=>sE(e,{allowEmpty:!0})),sk=si({parse:e=>sE(e,{allowComments:!1}),astFormat:"estree-json"}),sv={...o,...sb}}};
|
|
16
16
|
//# sourceMappingURL=8048.js.map
|