UNPKG

xnr

Version:

Easily, quickly and reliably run a Node.js script from the CLI.

2 lines 391 kB
/**! xnr | Tom Golden <oss@tom.bio> (https://tom.bio) | @license Apache-2.0 */ import e,{realpathSync as t,statSync as n}from"node:fs";import s from"node:path";import{randomUUID as r}from"node:crypto";import{fileURLToPath as i,URL as o,pathToFileURL as a}from"node:url";import c from"node:assert";import h from"node:process";import{builtinModules as p}from"node:module";import l from"node:v8";import{format as u,inspect as d,stripVTControlCharacters as f}from"node:util";import m from"path";import k from"fs";import g from"module";import{spawn as x}from"node:child_process";import{once as y,on as _}from"node:events";import{stat as v}from"node:fs/promises";import{pipeline as b}from"node:stream/promises";var w=function(e,t){this.node=e,this.state=t};function T(e,t,n){n(e,t)}function E(e,t,n){}var I={};I.Program=I.BlockStatement=I.StaticBlock=function(e,t,n){for(var s=0,r=e.body;s<r.length;s+=1){n(r[s],t,"Statement")}},I.Statement=T,I.EmptyStatement=E,I.ExpressionStatement=I.ParenthesizedExpression=I.ChainExpression=function(e,t,n){return n(e.expression,t,"Expression")},I.IfStatement=function(e,t,n){n(e.test,t,"Expression"),n(e.consequent,t,"Statement"),e.alternate&&n(e.alternate,t,"Statement")},I.LabeledStatement=function(e,t,n){return n(e.body,t,"Statement")},I.BreakStatement=I.ContinueStatement=E,I.WithStatement=function(e,t,n){n(e.object,t,"Expression"),n(e.body,t,"Statement")},I.SwitchStatement=function(e,t,n){n(e.discriminant,t,"Expression");for(var s=0,r=e.cases;s<r.length;s+=1){var i=r[s];i.test&&n(i.test,t,"Expression");for(var o=0,a=i.consequent;o<a.length;o+=1){n(a[o],t,"Statement")}}},I.SwitchCase=function(e,t,n){e.test&&n(e.test,t,"Expression");for(var s=0,r=e.consequent;s<r.length;s+=1){n(r[s],t,"Statement")}},I.ReturnStatement=I.YieldExpression=I.AwaitExpression=function(e,t,n){e.argument&&n(e.argument,t,"Expression")},I.ThrowStatement=I.SpreadElement=function(e,t,n){return n(e.argument,t,"Expression")},I.TryStatement=function(e,t,n){n(e.block,t,"Statement"),e.handler&&n(e.handler,t),e.finalizer&&n(e.finalizer,t,"Statement")},I.CatchClause=function(e,t,n){e.param&&n(e.param,t,"Pattern"),n(e.body,t,"Statement")},I.WhileStatement=I.DoWhileStatement=function(e,t,n){n(e.test,t,"Expression"),n(e.body,t,"Statement")},I.ForStatement=function(e,t,n){e.init&&n(e.init,t,"ForInit"),e.test&&n(e.test,t,"Expression"),e.update&&n(e.update,t,"Expression"),n(e.body,t,"Statement")},I.ForInStatement=I.ForOfStatement=function(e,t,n){n(e.left,t,"ForInit"),n(e.right,t,"Expression"),n(e.body,t,"Statement")},I.ForInit=function(e,t,n){"VariableDeclaration"===e.type?n(e,t):n(e,t,"Expression")},I.DebuggerStatement=E,I.FunctionDeclaration=function(e,t,n){return n(e,t,"Function")},I.VariableDeclaration=function(e,t,n){for(var s=0,r=e.declarations;s<r.length;s+=1){n(r[s],t)}},I.VariableDeclarator=function(e,t,n){n(e.id,t,"Pattern"),e.init&&n(e.init,t,"Expression")},I.Function=function(e,t,n){e.id&&n(e.id,t,"Pattern");for(var s=0,r=e.params;s<r.length;s+=1){n(r[s],t,"Pattern")}n(e.body,t,e.expression?"Expression":"Statement")},I.Pattern=function(e,t,n){"Identifier"===e.type?n(e,t,"VariablePattern"):"MemberExpression"===e.type?n(e,t,"MemberPattern"):n(e,t)},I.VariablePattern=E,I.MemberPattern=T,I.RestElement=function(e,t,n){return n(e.argument,t,"Pattern")},I.ArrayPattern=function(e,t,n){for(var s=0,r=e.elements;s<r.length;s+=1){var i=r[s];i&&n(i,t,"Pattern")}},I.ObjectPattern=function(e,t,n){for(var s=0,r=e.properties;s<r.length;s+=1){var i=r[s];"Property"===i.type?(i.computed&&n(i.key,t,"Expression"),n(i.value,t,"Pattern")):"RestElement"===i.type&&n(i.argument,t,"Pattern")}},I.Expression=T,I.ThisExpression=I.Super=I.MetaProperty=E,I.ArrayExpression=function(e,t,n){for(var s=0,r=e.elements;s<r.length;s+=1){var i=r[s];i&&n(i,t,"Expression")}},I.ObjectExpression=function(e,t,n){for(var s=0,r=e.properties;s<r.length;s+=1){n(r[s],t)}},I.FunctionExpression=I.ArrowFunctionExpression=I.FunctionDeclaration,I.SequenceExpression=function(e,t,n){for(var s=0,r=e.expressions;s<r.length;s+=1){n(r[s],t,"Expression")}},I.TemplateLiteral=function(e,t,n){for(var s=0,r=e.quasis;s<r.length;s+=1){n(r[s],t)}for(var i=0,o=e.expressions;i<o.length;i+=1){n(o[i],t,"Expression")}},I.TemplateElement=E,I.UnaryExpression=I.UpdateExpression=function(e,t,n){n(e.argument,t,"Expression")},I.BinaryExpression=I.LogicalExpression=function(e,t,n){n(e.left,t,"Expression"),n(e.right,t,"Expression")},I.AssignmentExpression=I.AssignmentPattern=function(e,t,n){n(e.left,t,"Pattern"),n(e.right,t,"Expression")},I.ConditionalExpression=function(e,t,n){n(e.test,t,"Expression"),n(e.consequent,t,"Expression"),n(e.alternate,t,"Expression")},I.NewExpression=I.CallExpression=function(e,t,n){if(n(e.callee,t,"Expression"),e.arguments)for(var s=0,r=e.arguments;s<r.length;s+=1){n(r[s],t,"Expression")}},I.MemberExpression=function(e,t,n){n(e.object,t,"Expression"),e.computed&&n(e.property,t,"Expression")},I.ExportNamedDeclaration=I.ExportDefaultDeclaration=function(e,t,n){e.declaration&&n(e.declaration,t,"ExportNamedDeclaration"===e.type||e.declaration.id?"Statement":"Expression"),e.source&&n(e.source,t,"Expression")},I.ExportAllDeclaration=function(e,t,n){e.exported&&n(e.exported,t),n(e.source,t,"Expression")},I.ImportDeclaration=function(e,t,n){for(var s=0,r=e.specifiers;s<r.length;s+=1){n(r[s],t)}n(e.source,t,"Expression")},I.ImportExpression=function(e,t,n){n(e.source,t,"Expression")},I.ImportSpecifier=I.ImportDefaultSpecifier=I.ImportNamespaceSpecifier=I.Identifier=I.PrivateIdentifier=I.Literal=E,I.TaggedTemplateExpression=function(e,t,n){n(e.tag,t,"Expression"),n(e.quasi,t,"Expression")},I.ClassDeclaration=I.ClassExpression=function(e,t,n){return n(e,t,"Class")},I.Class=function(e,t,n){e.id&&n(e.id,t,"Pattern"),e.superClass&&n(e.superClass,t,"Expression"),n(e.body,t)},I.ClassBody=function(e,t,n){for(var s=0,r=e.body;s<r.length;s+=1){n(r[s],t)}},I.MethodDefinition=I.PropertyDefinition=I.Property=function(e,t,n){e.computed&&n(e.key,t,"Expression"),e.value&&n(e.value,t,"Expression")};const{stringify:C}=JSON;if(!String.prototype.repeat)throw new Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw new Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");const S={"||":2,"??":3,"&&":4,"|":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},A=17,N={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,PrivateIdentifier:20,Literal:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,ChainExpression:19,CallExpression:19,NewExpression:19,ArrowFunctionExpression:A,ClassExpression:A,FunctionExpression:A,ObjectExpression:A,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};function P(e,t){const{generator:n}=e;if(e.write("("),null!=t&&t.length>0){n[t[0].type](t[0],e);const{length:s}=t;for(let r=1;r<s;r++){const s=t[r];e.write(", "),n[s.type](s,e)}}e.write(")")}function R(e,t,n,s){const r=e.expressionsPrecedence[t.type];if(r===A)return!0;const i=e.expressionsPrecedence[n.type];return r!==i?!s&&15===r&&14===i&&"**"===n.operator||r<i:(13===r||14===r)&&("**"===t.operator&&"**"===n.operator?!s:13===r&&13===i&&("??"===t.operator||"??"===n.operator)||(s?S[t.operator]<=S[n.operator]:S[t.operator]<S[n.operator]))}function L(e,t,n,s){const{generator:r}=e;R(e,t,n,s)?(e.write("("),r[t.type](t,e),e.write(")")):r[t.type](t,e)}function O(e,t,n,s){const r=t.split("\n"),i=r.length-1;if(e.write(r[0].trim()),i>0){e.write(s);for(let t=1;t<i;t++)e.write(n+r[t].trim()+s);e.write(n+r[i].trim())}}function D(e,t,n,s){const{length:r}=t;for(let i=0;i<r;i++){const r=t[i];e.write(n),"L"===r.type[0]?e.write("// "+r.value.trim()+"\n",r):(e.write("/*"),O(e,r.value,n,s),e.write("*/"+s))}}function j(e,t){const{generator:n}=e,{declarations:s}=t;e.write(t.kind+" ");const{length:r}=s;if(r>0){n.VariableDeclarator(s[0],e);for(let t=1;t<r;t++)e.write(", "),n.VariableDeclarator(s[t],e)}}let F,$,V,M,B,q;const U={Program(e,t){const n=t.indent.repeat(t.indentLevel),{lineEnd:s,writeComments:r}=t;r&&null!=e.comments&&D(t,e.comments,n,s);const i=e.body,{length:o}=i;for(let e=0;e<o;e++){const o=i[e];r&&null!=o.comments&&D(t,o.comments,n,s),t.write(n),this[o.type](o,t),t.write(s)}r&&null!=e.trailingComments&&D(t,e.trailingComments,n,s)},BlockStatement:q=function(e,t){const n=t.indent.repeat(t.indentLevel++),{lineEnd:s,writeComments:r}=t,i=n+t.indent;t.write("{");const o=e.body;if(null!=o&&o.length>0){t.write(s),r&&null!=e.comments&&D(t,e.comments,i,s);const{length:a}=o;for(let e=0;e<a;e++){const n=o[e];r&&null!=n.comments&&D(t,n.comments,i,s),t.write(i),this[n.type](n,t),t.write(s)}t.write(n)}else r&&null!=e.comments&&(t.write(s),D(t,e.comments,i,s),t.write(n));r&&null!=e.trailingComments&&D(t,e.trailingComments,i,s),t.write("}"),t.indentLevel--},ClassBody:q,StaticBlock(e,t){t.write("static "),this.BlockStatement(e,t)},EmptyStatement(e,t){t.write(";")},ExpressionStatement(e,t){const n=t.expressionsPrecedence[e.expression.type];n===A||3===n&&"O"===e.expression.left.type[0]?(t.write("("),this[e.expression.type](e.expression,t),t.write(")")):this[e.expression.type](e.expression,t),t.write(";")},IfStatement(e,t){t.write("if ("),this[e.test.type](e.test,t),t.write(") "),this[e.consequent.type](e.consequent,t),null!=e.alternate&&(t.write(" else "),this[e.alternate.type](e.alternate,t))},LabeledStatement(e,t){this[e.label.type](e.label,t),t.write(": "),this[e.body.type](e.body,t)},BreakStatement(e,t){t.write("break"),null!=e.label&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},ContinueStatement(e,t){t.write("continue"),null!=e.label&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},WithStatement(e,t){t.write("with ("),this[e.object.type](e.object,t),t.write(") "),this[e.body.type](e.body,t)},SwitchStatement(e,t){const n=t.indent.repeat(t.indentLevel++),{lineEnd:s,writeComments:r}=t;t.indentLevel++;const i=n+t.indent,o=i+t.indent;t.write("switch ("),this[e.discriminant.type](e.discriminant,t),t.write(") {"+s);const{cases:a}=e,{length:c}=a;for(let e=0;e<c;e++){const n=a[e];r&&null!=n.comments&&D(t,n.comments,i,s),n.test?(t.write(i+"case "),this[n.test.type](n.test,t),t.write(":"+s)):t.write(i+"default:"+s);const{consequent:c}=n,{length:h}=c;for(let e=0;e<h;e++){const n=c[e];r&&null!=n.comments&&D(t,n.comments,o,s),t.write(o),this[n.type](n,t),t.write(s)}}t.indentLevel-=2,t.write(n+"}")},ReturnStatement(e,t){t.write("return"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t)),t.write(";")},ThrowStatement(e,t){t.write("throw "),this[e.argument.type](e.argument,t),t.write(";")},TryStatement(e,t){if(t.write("try "),this[e.block.type](e.block,t),e.handler){const{handler:n}=e;null==n.param?t.write(" catch "):(t.write(" catch ("),this[n.param.type](n.param,t),t.write(") ")),this[n.body.type](n.body,t)}e.finalizer&&(t.write(" finally "),this[e.finalizer.type](e.finalizer,t))},WhileStatement(e,t){t.write("while ("),this[e.test.type](e.test,t),t.write(") "),this[e.body.type](e.body,t)},DoWhileStatement(e,t){t.write("do "),this[e.body.type](e.body,t),t.write(" while ("),this[e.test.type](e.test,t),t.write(");")},ForStatement(e,t){if(t.write("for ("),null!=e.init){const{init:n}=e;"V"===n.type[0]?j(t,n):this[n.type](n,t)}t.write("; "),e.test&&this[e.test.type](e.test,t),t.write("; "),e.update&&this[e.update.type](e.update,t),t.write(") "),this[e.body.type](e.body,t)},ForInStatement:F=function(e,t){t.write(`for ${e.await?"await ":""}(`);const{left:n}=e;"V"===n.type[0]?j(t,n):this[n.type](n,t),t.write("I"===e.type[3]?" in ":" of "),this[e.right.type](e.right,t),t.write(") "),this[e.body.type](e.body,t)},ForOfStatement:F,DebuggerStatement(e,t){t.write("debugger;",e)},FunctionDeclaration:$=function(e,t){t.write((e.async?"async ":"")+(e.generator?"function* ":"function ")+(e.id?e.id.name:""),e),P(t,e.params),t.write(" "),this[e.body.type](e.body,t)},FunctionExpression:$,VariableDeclaration(e,t){j(t,e),t.write(";")},VariableDeclarator(e,t){this[e.id.type](e.id,t),null!=e.init&&(t.write(" = "),this[e.init.type](e.init,t))},ClassDeclaration(e,t){if(t.write("class "+(e.id?`${e.id.name} `:""),e),e.superClass){t.write("extends ");const{superClass:n}=e,{type:s}=n,r=t.expressionsPrecedence[s];"C"===s[0]&&"l"===s[1]&&"E"===s[5]||!(r===A||r<t.expressionsPrecedence.ClassExpression)?this[n.type](n,t):(t.write("("),this[e.superClass.type](n,t),t.write(")")),t.write(" ")}this.ClassBody(e.body,t)},ImportDeclaration(e,t){t.write("import ");const{specifiers:n}=e,{length:s}=n;let r=0;if(s>0){for(;r<s;){r>0&&t.write(", ");const e=n[r],s=e.type[6];if("D"===s)t.write(e.local.name,e),r++;else{if("N"!==s)break;t.write("* as "+e.local.name,e),r++}}if(r<s){for(t.write("{");;){const e=n[r],{name:i}=e.imported;if(t.write(i,e),i!==e.local.name&&t.write(" as "+e.local.name),!(++r<s))break;t.write(", ")}t.write("}")}t.write(" from ")}this.Literal(e.source,t),t.write(";")},ImportExpression(e,t){t.write("import("),this[e.source.type](e.source,t),t.write(")")},ExportDefaultDeclaration(e,t){t.write("export default "),this[e.declaration.type](e.declaration,t),null!=t.expressionsPrecedence[e.declaration.type]&&"F"!==e.declaration.type[0]&&t.write(";")},ExportNamedDeclaration(e,t){if(t.write("export "),e.declaration)this[e.declaration.type](e.declaration,t);else{t.write("{");const{specifiers:n}=e,{length:s}=n;if(s>0)for(let e=0;;){const r=n[e],{name:i}=r.local;if(t.write(i,r),i!==r.exported.name&&t.write(" as "+r.exported.name),!(++e<s))break;t.write(", ")}t.write("}"),e.source&&(t.write(" from "),this.Literal(e.source,t)),t.write(";")}},ExportAllDeclaration(e,t){null!=e.exported?t.write("export * as "+e.exported.name+" from "):t.write("export * from "),this.Literal(e.source,t),t.write(";")},MethodDefinition(e,t){e.static&&t.write("static ");const n=e.kind[0];"g"!==n&&"s"!==n||t.write(e.kind+" "),e.value.async&&t.write("async "),e.value.generator&&t.write("*"),e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),P(t,e.value.params),t.write(" "),this[e.value.body.type](e.value.body,t)},ClassExpression(e,t){this.ClassDeclaration(e,t)},ArrowFunctionExpression(e,t){t.write(e.async?"async ":"",e);const{params:n}=e;null!=n&&(1===n.length&&"I"===n[0].type[0]?t.write(n[0].name,n[0]):P(t,e.params)),t.write(" => "),"O"===e.body.type[0]?(t.write("("),this.ObjectExpression(e.body,t),t.write(")")):this[e.body.type](e.body,t)},ThisExpression(e,t){t.write("this",e)},Super(e,t){t.write("super",e)},RestElement:V=function(e,t){t.write("..."),this[e.argument.type](e.argument,t)},SpreadElement:V,YieldExpression(e,t){t.write(e.delegate?"yield*":"yield"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t))},AwaitExpression(e,t){t.write("await ",e),L(t,e.argument,e)},TemplateLiteral(e,t){const{quasis:n,expressions:s}=e;t.write("`");const{length:r}=s;for(let e=0;e<r;e++){const r=s[e],i=n[e];t.write(i.value.raw,i),t.write("${"),this[r.type](r,t),t.write("}")}const i=n[n.length-1];t.write(i.value.raw,i),t.write("`")},TemplateElement(e,t){t.write(e.value.raw,e)},TaggedTemplateExpression(e,t){L(t,e.tag,e),this[e.quasi.type](e.quasi,t)},ArrayExpression:B=function(e,t){if(t.write("["),e.elements.length>0){const{elements:n}=e,{length:s}=n;for(let e=0;;){const r=n[e];if(null!=r&&this[r.type](r,t),!(++e<s)){null==r&&t.write(", ");break}t.write(", ")}}t.write("]")},ArrayPattern:B,ObjectExpression(e,t){const n=t.indent.repeat(t.indentLevel++),{lineEnd:s,writeComments:r}=t,i=n+t.indent;if(t.write("{"),e.properties.length>0){t.write(s),r&&null!=e.comments&&D(t,e.comments,i,s);const o=","+s,{properties:a}=e,{length:c}=a;for(let e=0;;){const n=a[e];if(r&&null!=n.comments&&D(t,n.comments,i,s),t.write(i),this[n.type](n,t),!(++e<c))break;t.write(o)}t.write(s),r&&null!=e.trailingComments&&D(t,e.trailingComments,i,s),t.write(n+"}")}else r?null!=e.comments?(t.write(s),D(t,e.comments,i,s),null!=e.trailingComments&&D(t,e.trailingComments,i,s),t.write(n+"}")):null!=e.trailingComments?(t.write(s),D(t,e.trailingComments,i,s),t.write(n+"}")):t.write("}"):t.write("}");t.indentLevel--},Property(e,t){e.method||"i"!==e.kind[0]?this.MethodDefinition(e,t):(e.shorthand||(e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),t.write(": ")),this[e.value.type](e.value,t))},PropertyDefinition(e,t){e.static&&t.write("static "),e.computed&&t.write("["),this[e.key.type](e.key,t),e.computed&&t.write("]"),null!=e.value?(t.write(" = "),this[e.value.type](e.value,t),t.write(";")):"F"!==e.key.type[0]&&t.write(";")},ObjectPattern(e,t){if(t.write("{"),e.properties.length>0){const{properties:n}=e,{length:s}=n;for(let e=0;this[n[e].type](n[e],t),++e<s;)t.write(", ")}t.write("}")},SequenceExpression(e,t){P(t,e.expressions)},UnaryExpression(e,t){if(e.prefix){const{operator:n,argument:s,argument:{type:r}}=e;t.write(n);const i=R(t,s,e);i||!(n.length>1)&&("U"!==r[0]||"n"!==r[1]&&"p"!==r[1]||!s.prefix||s.operator[0]!==n||"+"!==n&&"-"!==n)||t.write(" "),i?(t.write(n.length>1?" (":"("),this[r](s,t),t.write(")")):this[r](s,t)}else this[e.argument.type](e.argument,t),t.write(e.operator)},UpdateExpression(e,t){e.prefix?(t.write(e.operator),this[e.argument.type](e.argument,t)):(this[e.argument.type](e.argument,t),t.write(e.operator))},AssignmentExpression(e,t){this[e.left.type](e.left,t),t.write(" "+e.operator+" "),this[e.right.type](e.right,t)},AssignmentPattern(e,t){this[e.left.type](e.left,t),t.write(" = "),this[e.right.type](e.right,t)},BinaryExpression:M=function(e,t){const n="in"===e.operator;n&&t.write("("),L(t,e.left,e,!1),t.write(" "+e.operator+" "),L(t,e.right,e,!0),n&&t.write(")")},LogicalExpression:M,ConditionalExpression(e,t){const{test:n}=e,s=t.expressionsPrecedence[n.type];s===A||s<=t.expressionsPrecedence.ConditionalExpression?(t.write("("),this[n.type](n,t),t.write(")")):this[n.type](n,t),t.write(" ? "),this[e.consequent.type](e.consequent,t),t.write(" : "),this[e.alternate.type](e.alternate,t)},NewExpression(e,t){t.write("new ");const n=t.expressionsPrecedence[e.callee.type];n===A||n<t.expressionsPrecedence.CallExpression||function(e){let t=e;for(;null!=t;){const{type:e}=t;if("C"===e[0]&&"a"===e[1])return!0;if("M"!==e[0]||"e"!==e[1]||"m"!==e[2])return!1;t=t.object}}(e.callee)?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),P(t,e.arguments)},CallExpression(e,t){const n=t.expressionsPrecedence[e.callee.type];n===A||n<t.expressionsPrecedence.CallExpression?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),e.optional&&t.write("?."),P(t,e.arguments)},ChainExpression(e,t){this[e.expression.type](e.expression,t)},MemberExpression(e,t){const n=t.expressionsPrecedence[e.object.type];n===A||n<t.expressionsPrecedence.MemberExpression?(t.write("("),this[e.object.type](e.object,t),t.write(")")):this[e.object.type](e.object,t),e.computed?(e.optional&&t.write("?."),t.write("["),this[e.property.type](e.property,t),t.write("]")):(e.optional?t.write("?."):t.write("."),this[e.property.type](e.property,t))},MetaProperty(e,t){t.write(e.meta.name+"."+e.property.name,e)},Identifier(e,t){t.write(e.name,e)},PrivateIdentifier(e,t){t.write(`#${e.name}`,e)},Literal(e,t){null!=e.raw?t.write(e.raw,e):null!=e.regex?this.RegExpLiteral(e,t):null!=e.bigint?t.write(e.bigint+"n",e):t.write(C(e.value),e)},RegExpLiteral(e,t){const{regex:n}=e;t.write(`/${n.pattern}/${n.flags}`,e)}},W={};let K=class{constructor(e){const t=null==e?W:e;this.output="",null!=t.output?(this.output=t.output,this.write=this.writeToStream):this.output="",this.generator=null!=t.generator?t.generator:U,this.expressionsPrecedence=null!=t.expressionsPrecedence?t.expressionsPrecedence:N,this.indent=null!=t.indent?t.indent:" ",this.lineEnd=null!=t.lineEnd?t.lineEnd:"\n",this.indentLevel=null!=t.startingIndentLevel?t.startingIndentLevel:0,this.writeComments=!!t.comments&&t.comments,null!=t.sourceMap&&(this.write=null==t.output?this.writeAndMap:this.writeToStreamAndMap,this.sourceMap=t.sourceMap,this.line=1,this.column=0,this.lineEndSize=this.lineEnd.split("\n").length-1,this.mapping={original:null,generated:this,name:void 0,source:t.sourceMap.file||t.sourceMap._file})}write(e){this.output+=e}writeToStream(e){this.output.write(e)}writeAndMap(e,t){this.output+=e,this.map(e,t)}writeToStreamAndMap(e,t){this.output.write(e),this.map(e,t)}map(e,t){if(null!=t){const{type:n}=t;if("L"===n[0]&&"n"===n[2])return this.column=0,void this.line++;if(null!=t.loc){const{mapping:e}=this;e.original=t.loc.start,e.name=t.name,this.sourceMap.addMapping(e)}if("T"===n[0]&&"E"===n[8]||"L"===n[0]&&"i"===n[1]&&"string"==typeof t.value){const{length:t}=e;let{column:n,line:s}=this;for(let r=0;r<t;r++)"\n"===e[r]?(n=0,s++):n++;return this.column=n,void(this.line=s)}}const{length:n}=e,{lineEnd:s}=this;n>0&&(this.lineEndSize>0&&(1===s.length?e[n-1]===s:e.endsWith(s))?(this.line+=this.lineEndSize,this.column=0):this.column+=n)}toString(){return this.output}};const H={}.hasOwnProperty,G=/^([A-Z][a-z\d]*)+$/,z=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),Q={};function X(e,t="and"){return e.length<3?e.join(` ${t} `):`${e.slice(0,-1).join(", ")}, ${t} ${e[e.length-1]}`}const J=new Map;let Y;function Z(e,t,n){return J.set(e,t),function(e,t){return n;function n(...n){const s=Error.stackTraceLimit;ee()&&(Error.stackTraceLimit=0);const r=new e;ee()&&(Error.stackTraceLimit=s);const i=function(e,t,n){const s=J.get(e);if(c(void 0!==s,"expected `message` to be found"),"function"==typeof s)return c(s.length<=t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${s.length}).`),Reflect.apply(s,n,t);const r=/%[dfijoOs]/g;let i=0;for(;null!==r.exec(s);)i++;return c(i===t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${i}).`),0===t.length?s:(t.unshift(s),Reflect.apply(u,null,t))}(t,n,r);return Object.defineProperties(r,{message:{value:i,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),te(r),r.code=t,r}}(n,e)}function ee(){try{if(l.startupSnapshot.isBuildingSnapshot())return!1}catch{}const e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return void 0===e?Object.isExtensible(Error):H.call(e,"writable")&&void 0!==e.writable?e.writable:void 0!==e.set}Q.ERR_INVALID_ARG_TYPE=Z("ERR_INVALID_ARG_TYPE",((e,t,n)=>{c("string"==typeof e,"'name' must be a string"),Array.isArray(t)||(t=[t]);let s="The ";if(e.endsWith(" argument"))s+=`${e} `;else{const t=e.includes(".")?"property":"argument";s+=`"${e}" ${t} `}s+="must be ";const r=[],i=[],o=[];for(const e of t)c("string"==typeof e,"All expected entries have to be of type string"),z.has(e)?r.push(e.toLowerCase()):null===G.exec(e)?(c("object"!==e,'The value "object" should be written as "Object"'),o.push(e)):i.push(e);if(i.length>0){const e=r.indexOf("object");-1!==e&&(r.slice(e,1),i.push("Object"))}return r.length>0&&(s+=`${r.length>1?"one of type":"of type"} ${X(r,"or")}`,(i.length>0||o.length>0)&&(s+=" or ")),i.length>0&&(s+=`an instance of ${X(i,"or")}`,o.length>0&&(s+=" or ")),o.length>0&&(o.length>1?s+=`one of ${X(o,"or")}`:(o[0].toLowerCase()!==o[0]&&(s+="an "),s+=`${o[0]}`)),s+=`. Received ${function(e){if(null==e)return String(e);if("function"==typeof e&&e.name)return`function ${e.name}`;if("object"==typeof e)return e.constructor&&e.constructor.name?`an instance of ${e.constructor.name}`:`${d(e,{depth:-1})}`;let t=d(e,{colors:!1});t.length>28&&(t=`${t.slice(0,25)}...`);return`type ${typeof e} (${t})`}(n)}`,s}),TypeError),Q.ERR_INVALID_MODULE_SPECIFIER=Z("ERR_INVALID_MODULE_SPECIFIER",((e,t,n=void 0)=>`Invalid module "${e}" ${t}${n?` imported from ${n}`:""}`),TypeError),Q.ERR_INVALID_PACKAGE_CONFIG=Z("ERR_INVALID_PACKAGE_CONFIG",((e,t,n)=>`Invalid package config ${e}${t?` while importing ${t}`:""}${n?`. ${n}`:""}`),Error),Q.ERR_INVALID_PACKAGE_TARGET=Z("ERR_INVALID_PACKAGE_TARGET",((e,t,n,s=!1,r=void 0)=>{const i="string"==typeof n&&!s&&n.length>0&&!n.startsWith("./");return"."===t?(c(!1===s),`Invalid "exports" main target ${JSON.stringify(n)} defined in the package config ${e}package.json${r?` imported from ${r}`:""}${i?'; targets must start with "./"':""}`):`Invalid "${s?"imports":"exports"}" target ${JSON.stringify(n)} defined for '${t}' in the package config ${e}package.json${r?` imported from ${r}`:""}${i?'; targets must start with "./"':""}`}),Error),Q.ERR_MODULE_NOT_FOUND=Z("ERR_MODULE_NOT_FOUND",((e,t,n=!1)=>`Cannot find ${n?"module":"package"} '${e}' imported from ${t}`),Error),Q.ERR_NETWORK_IMPORT_DISALLOWED=Z("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),Q.ERR_PACKAGE_IMPORT_NOT_DEFINED=Z("ERR_PACKAGE_IMPORT_NOT_DEFINED",((e,t,n)=>`Package import specifier "${e}" is not defined${t?` in package ${t}package.json`:""} imported from ${n}`),TypeError),Q.ERR_PACKAGE_PATH_NOT_EXPORTED=Z("ERR_PACKAGE_PATH_NOT_EXPORTED",((e,t,n=void 0)=>"."===t?`No "exports" main defined in ${e}package.json${n?` imported from ${n}`:""}`:`Package subpath '${t}' is not defined by "exports" in ${e}package.json${n?` imported from ${n}`:""}`),Error),Q.ERR_UNSUPPORTED_DIR_IMPORT=Z("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),Q.ERR_UNSUPPORTED_RESOLVE_REQUEST=Z("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError),Q.ERR_UNKNOWN_FILE_EXTENSION=Z("ERR_UNKNOWN_FILE_EXTENSION",((e,t)=>`Unknown file extension "${e}" for ${t}`),TypeError),Q.ERR_INVALID_ARG_VALUE=Z("ERR_INVALID_ARG_VALUE",((e,t,n="is invalid")=>{let s=d(t);s.length>128&&(s=`${s.slice(0,128)}...`);return`The ${e.includes(".")?"property":"argument"} '${e}' ${n}. Received ${s}`}),TypeError);const te=function(e){const t="__node_internal_"+e.name;return Object.defineProperty(e,"name",{value:t}),e}((function(e){const t=ee();return t&&(Y=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(e),t&&(Error.stackTraceLimit=Y),e}));const ne={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:se}=Q,re=new Map;function ie(t,{base:n,specifier:r}){const o=re.get(t);if(o)return o;let a;try{a=e.readFileSync(s.toNamespacedPath(t),"utf8")}catch(e){const t=e;if("ENOENT"!==t.code)throw t}const c={exists:!1,pjsonPath:t,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(void 0!==a){let e;try{e=JSON.parse(a)}catch(e){const s=e,o=new se(t,(n?`"${r}" from `:"")+i(n||r),s.message);throw o.cause=s,o}c.exists=!0,ne.call(e,"name")&&"string"==typeof e.name&&(c.name=e.name),ne.call(e,"main")&&"string"==typeof e.main&&(c.main=e.main),ne.call(e,"exports")&&(c.exports=e.exports),ne.call(e,"imports")&&(c.imports=e.imports),!ne.call(e,"type")||"commonjs"!==e.type&&"module"!==e.type||(c.type=e.type)}return re.set(t,c),c}function oe(e){let t=new URL("package.json",e);for(;;){if(t.pathname.endsWith("node_modules/package.json"))break;const n=ie(i(t),{specifier:e});if(n.exists)return n;const s=t;if(t=new URL("../package.json",t),t.pathname===s.pathname)break}return{pjsonPath:i(t),exists:!1,type:"none"}}function ae(e){return oe(e).type}const{ERR_UNKNOWN_FILE_EXTENSION:ce}=Q,he={}.hasOwnProperty,pe={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};const le={__proto__:null,"data:":function(e){const{1:t}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(e.pathname)||[null,null,null];return function(e){return e&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e)?"module":"application/json"===e?"json":null}(t)},"file:":function(e,t,n){const s=function(e){const t=e.pathname;let n=t.length;for(;n--;){const e=t.codePointAt(n);if(47===e)return"";if(46===e)return 47===t.codePointAt(n-1)?"":t.slice(n)}return""}(e);if(".js"===s){const t=ae(e);return"none"!==t?t:"commonjs"}if(""===s){const t=ae(e);return"none"===t||"commonjs"===t?"commonjs":"module"}const r=pe[s];if(r)return r;if(n)return;const o=i(e);throw new ce(s,o)},"http:":ue,"https:":ue,"node:":()=>"builtin"};function ue(){}function de(e,t){const n=e.protocol;return he.call(le,n)&&le[n](e,t,!0)||null}const{ERR_INVALID_ARG_VALUE:fe}=Q,me=Object.freeze(["node","import"]),ke=new Set(me);function ge(e){if(void 0!==e&&e!==me){if(!Array.isArray(e))throw new fe("conditions",e,"expected an array");return new Set(e)}return ke}const xe=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:ye,ERR_INVALID_MODULE_SPECIFIER:_e,ERR_INVALID_PACKAGE_CONFIG:ve,ERR_INVALID_PACKAGE_TARGET:be,ERR_MODULE_NOT_FOUND:we,ERR_PACKAGE_IMPORT_NOT_DEFINED:Te,ERR_PACKAGE_PATH_NOT_EXPORTED:Ee,ERR_UNSUPPORTED_DIR_IMPORT:Ie,ERR_UNSUPPORTED_RESOLVE_REQUEST:Ce}=Q,Se={}.hasOwnProperty,Ae=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,Ne=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,Pe=/^\.|%|\\/,Re=/\*/g,Le=/%2f|%5c/i,Oe=new Set,De=/[/\\]{2}/;function je(e,t,n,s,r,o,a){if(h.noDeprecation)return;const c=i(s),p=null!==De.exec(a?e:t);h.emitWarning(`Use of deprecated ${p?"double slash":"leading or trailing slash matching"} resolving "${e}" for module request "${t}" ${t===n?"":`matched to "${n}" `}in the "${r?"imports":"exports"}" field module resolution of the package at ${c}${o?` imported from ${i(o)}`:""}.`,"DeprecationWarning","DEP0166")}function Fe(e,t,n,r){if(h.noDeprecation)return;if("module"!==de(e,{parentURL:n.href}))return;const a=i(e.href),c=i(new o(".",t)),p=i(n);r?s.resolve(c,r)!==a&&h.emitWarning(`Package ${c} has a "main" field set to "${r}", excluding the full filename and extension to the resolved file at "${a.slice(c.length)}", imported from ${p}.\n Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):h.emitWarning(`No "main" or "exports" field defined in the package.json for ${c} resolving the main entry point "${a.slice(c.length)}", imported from ${p}.\nDefault "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function $e(e){try{return n(e)}catch{}}function Ve(e){const t=n(e,{throwIfNoEntry:!1}),s=t?t.isFile():void 0;return null!=s&&s}function Me(e,t,n){let s;if(void 0!==t.main){if(s=new o(t.main,e),Ve(s))return s;const r=[`./${t.main}.js`,`./${t.main}.json`,`./${t.main}.node`,`./${t.main}/index.js`,`./${t.main}/index.json`,`./${t.main}/index.node`];let i=-1;for(;++i<r.length&&(s=new o(r[i],e),!Ve(s));)s=void 0;if(s)return Fe(s,e,n,t.main),s}const r=["./index.js","./index.json","./index.node"];let a=-1;for(;++a<r.length&&(s=new o(r[a],e),!Ve(s));)s=void 0;if(s)return Fe(s,e,n,t.main),s;throw new we(i(new o(".",e)),i(n))}function Be(e,t,n){return new Ee(i(new o(".",t)),e,n&&i(n))}function qe(e,t,n,s,r){return t="object"==typeof t&&null!==t?JSON.stringify(t,null,""):`${t}`,new be(i(new o(".",n)),e,t,s,r&&i(r))}function Ue(e,t,n,s,r,a,c,h,p){if(""!==t&&!a&&"/"!==e[e.length-1])throw qe(n,e,s,c,r);if(!e.startsWith("./")){if(c&&!e.startsWith("../")&&!e.startsWith("/")){let n=!1;try{new o(e),n=!0}catch{}if(!n){return Xe(a?xe.call(Re,e,(()=>t)):e+t,s,p)}}throw qe(n,e,s,c,r)}if(null!==Ae.exec(e.slice(2))){if(null!==Ne.exec(e.slice(2)))throw qe(n,e,s,c,r);if(!h){const i=a?n.replace("*",(()=>t)):n+t;je(a?xe.call(Re,e,(()=>t)):e,i,n,s,c,r,!0)}}const l=new o(e,s),u=l.pathname,d=new o(".",s).pathname;if(!u.startsWith(d))throw qe(n,e,s,c,r);if(""===t)return l;if(null!==Ae.exec(t)){const o=a?n.replace("*",(()=>t)):n+t;if(null===Ne.exec(t)){if(!h){je(a?xe.call(Re,e,(()=>t)):e,o,n,s,c,r,!1)}}else!function(e,t,n,s,r){const o=`request is not a valid match in pattern "${t}" for the "${s?"imports":"exports"}" resolution of ${i(n)}`;throw new _e(e,o,r&&i(r))}(o,n,s,c,r)}return a?new o(xe.call(Re,l.href,(()=>t))):new o(t,l)}function We(e){const t=Number(e);return`${t}`===e&&(t>=0&&t<4294967295)}function Ke(e,t,n,s,r,o,a,c,h){if("string"==typeof t)return Ue(t,n,s,e,r,o,a,c,h);if(Array.isArray(t)){const i=t;if(0===i.length)return null;let p,l=-1;for(;++l<i.length;){const t=i[l];let u;try{u=Ke(e,t,n,s,r,o,a,c,h)}catch(e){if(p=e,"ERR_INVALID_PACKAGE_TARGET"===e.code)continue;throw e}if(void 0!==u){if(null!==u)return u;p=null}}if(null==p)return null;throw p}if("object"==typeof t&&null!==t){const p=Object.getOwnPropertyNames(t);let l=-1;for(;++l<p.length;){if(We(p[l]))throw new ve(i(e),r,'"exports" cannot contain numeric property keys.')}for(l=-1;++l<p.length;){const i=p[l];if("default"===i||h&&h.has(i)){const p=Ke(e,t[i],n,s,r,o,a,c,h);if(void 0===p)continue;return p}}return null}if(null===t)return null;throw qe(s,t,e,a,r)}function He(e,t,n){if(h.noDeprecation)return;const s=i(t);Oe.has(s+"|"+e)||(Oe.add(s+"|"+e),h.emitWarning(`Use of deprecated trailing slash pattern mapping "${e}" in the "exports" field module resolution of the package at ${s}${n?` imported from ${i(n)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function Ge(e,t,n,s,r){let o=n.exports;if(function(e,t,n){if("string"==typeof e||Array.isArray(e))return!0;if("object"!=typeof e||null===e)return!1;const s=Object.getOwnPropertyNames(e);let r=!1,o=0,a=-1;for(;++a<s.length;){const e=s[a],c=""===e||"."!==e[0];if(0==o++)r=c;else if(r!==c)throw new ve(i(t),n,"\"exports\" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.")}return r}(o,e,s)&&(o={".":o}),Se.call(o,t)&&!t.includes("*")&&!t.endsWith("/")){const n=Ke(e,o[t],"",t,s,!1,!1,!1,r);if(null==n)throw Be(t,e,s);return n}let a="",c="";const h=Object.getOwnPropertyNames(o);let p=-1;for(;++p<h.length;){const n=h[p],r=n.indexOf("*");if(-1!==r&&t.startsWith(n.slice(0,r))){t.endsWith("/")&&He(t,e,s);const i=n.slice(r+1);t.length>=n.length&&t.endsWith(i)&&1===ze(a,n)&&n.lastIndexOf("*")===r&&(a=n,c=t.slice(r,t.length-i.length))}}if(a){const n=Ke(e,o[a],c,a,s,!0,!1,t.endsWith("/"),r);if(null==n)throw Be(t,e,s);return n}throw Be(t,e,s)}function ze(e,t){const n=e.indexOf("*"),s=t.indexOf("*"),r=-1===n?e.length:n+1,i=-1===s?t.length:s+1;return r>i?-1:i>r||-1===n?1:-1===s||e.length>t.length?-1:t.length>e.length?1:0}function Qe(e,t,n){if("#"===e||e.startsWith("#/")||e.endsWith("/")){throw new _e(e,"is not a valid internal imports specifier name",i(t))}let s;const r=oe(t);if(r.exists){s=a(r.pjsonPath);const i=r.imports;if(i)if(Se.call(i,e)&&!e.includes("*")){const r=Ke(s,i[e],"",e,t,!1,!0,!1,n);if(null!=r)return r}else{let r="",o="";const a=Object.getOwnPropertyNames(i);let c=-1;for(;++c<a.length;){const t=a[c],n=t.indexOf("*");if(-1!==n&&e.startsWith(t.slice(0,-1))){const s=t.slice(n+1);e.length>=t.length&&e.endsWith(s)&&1===ze(r,t)&&t.lastIndexOf("*")===n&&(r=t,o=e.slice(n,e.length-s.length))}}if(r){const e=Ke(s,i[r],o,r,t,!0,!0,!1,n);if(null!=e)return e}}}throw function(e,t,n){return new Te(e,t&&i(new o(".",t)),i(n))}(e,s,t)}function Xe(e,t,n){if(p.includes(e))return new o("node:"+e);const{packageName:s,packageSubpath:r,isScoped:c}=function(e,t){let n=e.indexOf("/"),s=!0,r=!1;"@"===e[0]&&(r=!0,-1===n||0===e.length?s=!1:n=e.indexOf("/",n+1));const o=-1===n?e:e.slice(0,n);if(null!==Pe.exec(o)&&(s=!1),!s)throw new _e(e,"is not a valid package name",i(t));return{packageName:o,packageSubpath:"."+(-1===n?"":e.slice(n)),isScoped:r}}(e,t),h=oe(t);if(h.exists){const e=a(h.pjsonPath);if(h.name===s&&void 0!==h.exports&&null!==h.exports)return Ge(e,r,h,t,n)}let l,u=new o("./node_modules/"+s+"/package.json",t),d=i(u);do{const a=$e(d.slice(0,-13));if(!a||!a.isDirectory()){l=d,u=new o((c?"../../../../node_modules/":"../../../node_modules/")+s+"/package.json",u),d=i(u);continue}const h=ie(d,{base:t,specifier:e});return void 0!==h.exports&&null!==h.exports?Ge(u,r,h,t,n):"."===r?Me(u,h,t):new o(r,u)}while(d.length!==l.length);throw new we(s,i(t),!1)}function Je(e){return""!==e&&("/"===e[0]||function(e){if("."===e[0]){if(1===e.length||"/"===e[1])return!0;if("."===e[1]&&(2===e.length||"/"===e[2]))return!0}return!1}(e))}function Ye(e,n,r,h){const l=n.protocol,u="data:"===l||"http:"===l||"https:"===l;let d;if(Je(e))try{d=new o(e,n)}catch(t){const s=new Ce(e,n);throw s.cause=t,s}else if("file:"===l&&"#"===e[0])d=Qe(e,n,r);else try{d=new o(e)}catch(t){if(u&&!p.includes(e)){const s=new Ce(e,n);throw s.cause=t,s}d=Xe(e,n,r)}return c(void 0!==d,"expected to be defined"),"file:"!==d.protocol?d:function(e,n){if(null!==Le.exec(e.pathname))throw new _e(e.pathname,'must not include encoded "/" or "\\" characters',i(n));let r;try{r=i(e)}catch(t){const s=t;throw Object.defineProperty(s,"input",{value:String(e)}),Object.defineProperty(s,"module",{value:String(n)}),s}const o=$e(r.endsWith("/")?r.slice(-1):r);if(o&&o.isDirectory()){const t=new Ie(r,i(n));throw t.url=String(e),t}if(!o||!o.isFile()){const t=new we(r||e.pathname,n&&i(n),!0);throw t.url=String(e),t}{const n=t(r),{search:i,hash:o}=e;(e=a(n+(r.endsWith(s.sep)?"/":""))).search=i,e.hash=o}return e}(d,n)}function Ze(e){if(void 0!==e&&"string"!=typeof e&&!function(e){return Boolean(e&&"object"==typeof e&&"href"in e&&"string"==typeof e.href&&"protocol"in e&&"string"==typeof e.protocol&&e.href&&e.protocol)}(e))throw new Q.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],e)}function et(e,t={}){const{parentURL:n}=t;let s,r,i;if(c(void 0!==n,"expected `parentURL` to be defined"),Ze(n),n)try{s=new o(n)}catch{}try{if(r=Je(e)?new o(e,s):new o(e),i=r.protocol,"data:"===i)return{url:r.href,format:null}}catch{}const a=function(e,t,n){if(n){const s=n.protocol;if("http:"===s||"https:"===s){if(Je(e)){const s=t?.protocol;if(s&&"https:"!==s&&"http:"!==s)throw new ye(e,n,"remote imports cannot import from a local location.");return{url:t?.href||""}}if(p.includes(e))throw new ye(e,n,"remote imports cannot import from a local location.");throw new ye(e,n,"only relative and absolute specifiers are supported.")}}}(e,r,s);if(a)return a;if(void 0===i&&r&&(i=r.protocol),"node:"===i)return{url:e};if(r&&"node:"===r.protocol)return{url:e};const h=ge(t.conditions),l=Ye(e,new o(n),h);return{url:l.href,format:de(l,{parentURL:n})}}const tt=e=>{if(e){if("Literal"===e.type&&"string"==typeof e.value)return e.value;if("TemplateLiteral"===e.type)return e.quasis[0].value.cooked??void 0;if("TaggedTemplateExpression"===e.type&&"MemberExpression"===e.tag.type&&"Identifier"===e.tag.object.type&&"String"===e.tag.object.name&&"Identifier"===e.tag.property.type&&"raw"===e.tag.property.name)return e.quasi.quasis[0].value.cooked??void 0}},nt=e=>({type:"Literal",value:e,raw:JSON.stringify(e),start:-1,end:-1}),st=e=>Boolean(e&&"CallExpression"===e.type&&e.callee&&"Identifier"===e.callee.type&&"require"===e.callee.name),rt=e=>Boolean(e&&"CallExpression"===e.type&&e.callee&&"MemberExpression"===e.callee.type&&"MemberExpression"===e.callee.object.type&&"Identifier"===e.callee.object.object.type&&"require"===e.callee.object.object.name&&"Identifier"===e.callee.object.property.type&&"main"===e.callee.object.property.name&&"Identifier"===e.callee.property.type&&"require"===e.callee.property.name),it=e=>!!e&&("Literal"===e.type&&"string"==typeof e.value&&"string"==typeof e.raw);var ot=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,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,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,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,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,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,983,6,110,6,6,9,4759,9,787719,239],at=[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,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,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,159,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,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],ct="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",ht={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},pt="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",lt={5:pt,"5module":pt+" export import",6:pt+" const class extends export import super"},ut=/^in(stanceof)?$/,dt=new RegExp("["+ct+"]"),ft=new RegExp("["+ct+"‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・]");function mt(e,t){for(var n=65536,s=0;s<t.length;s+=2){if((n+=t[s])>e)return!1;if((n+=t[s+1])>=e)return!0}return!1}function kt(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&dt.test(String.fromCharCode(e)):!1!==t&&mt(e,at)))}function gt(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&ft.test(String.fromCharCode(e)):!1!==t&&(mt(e,at)||mt(e,ot)))))}var xt=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function yt(e,t){return new xt(e,{beforeExpr:!0,binop:t})}var _t={beforeExpr:!0},vt={startsExpr:!0},bt={};function wt(e,t){return void 0===t&&(t={}),t.keyword=e,bt[e]=new xt(e,t)}var Tt={num:new xt("num",vt),regexp:new xt("regexp",vt),string:new xt("string",vt),name:new xt("name",vt),privateId:new xt("privateId",vt),eof:new xt("eof"),bracketL:new xt("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new xt("]"),braceL:new xt("{",{beforeExpr:!0,startsExpr:!0}),braceR:new xt("}"),parenL:new xt("(",{beforeExpr:!0,startsExpr:!0}),parenR:new xt(")"),comma:new xt(",",_t),semi:new xt(";",_t),colon:new xt(":",_t),dot:new xt("."),question:new xt("?",_t),questionDot:new xt("?."),arrow:new xt("=>",_t),template:new xt("template"),invalidTemplate:new xt("invalidTemplate"),ellipsis:new xt("...",_t),backQuote:new xt("`",vt),dollarBraceL:new xt("${",{beforeExpr:!0,startsExpr:!0}),eq:new xt("=",{beforeExpr:!0,isAssign:!0}),assign:new xt("_=",{beforeExpr:!0,isAssign:!0}),incDec:new xt("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new xt("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:yt("||",1),logicalAND:yt("&&",2),bitwiseOR:yt("|",3),bitwiseXOR:yt("^",4),bitwiseAND:yt("&",5),equality:yt("==/!=/===/!==",6),relational:yt("</>/<=/>=",7),bitShift:yt("<</>>/>>>",8),plusMin:new xt("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:yt("%",10),star:yt("*",10),slash:yt("/",10),starstar:new xt("**",{beforeExpr:!0}),coalesce:yt("??",1),_break:wt("break"),_case:wt("case",_t),_catch:wt("catch"),_continue:wt("continue"),_debugger:wt("debugger"),_default:wt("default",_t),_do:wt("do",{isLoop:!0,beforeExpr:!0}),_else:wt("else",_t),_finally:wt("finally"),_for:wt("for",{isLoop:!0}),_function:wt("function",vt),_if:wt("if"),_return:wt("return",_t),_switch:wt("switch"),_throw:wt("throw",_t),_try:wt("try"),_var:wt("var"),_const:wt("const"),_while:wt("while",{isLoop:!0}),_with:wt("with"),_new:wt("new",{beforeExpr:!0,startsExpr:!0}),_this:wt("this",vt),_super:wt("super",vt),_class:wt("class",vt),_extends:wt("extends",_t),_export:wt("export"),_import:wt("import",vt),_null:wt("null",vt),_true:wt("true",vt),_false:wt("false",vt),_in:wt("in",{beforeExpr:!0,binop:7}),_instanceof:wt("instanceof",{beforeExpr:!0,binop:7}),_typeof:wt("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:wt("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:wt("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},Et=/\r\n?|\n|\u2028|\u2029/,It=new RegExp(Et.source,"g");function Ct(e){return 10===e||13===e||8232===e||8233===e}function St(e,t,n){void 0===n&&(n=e.length);for(var s=t;s<n;s++){var r=e.charCodeAt(s);if(Ct(r))return s<n-1&&13===r&&10===e.charCodeAt(s+1)?s+2:s+1}return-1}var At=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Nt=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Pt=Object.prototype,Rt=Pt.hasOwnProperty,Lt=Pt.toString,Ot=Object.hasOwn||function(e,t){return Rt.call(e,t)},Dt=Array.isArray||function(e){return"[object Array]"===Lt.call(e)},jt=Object.create(null);function Ft(e){return jt[e]||(jt[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function $t(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}var Vt=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Mt=function(e,t){this.line=e,this.column=t};Mt.prototype.offset=function(e){return new Mt(this.line,this.column+e)};var Bt=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function qt(e,t){for(var n=1,s=0;;){var r=St(e,s,t);if(r<0)return new Mt(n,t-s);++n,s=r}}var Ut={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Wt=!1;function Kt(e){var t={};for(var n in Ut)t[n]=e&&Ot(e,n)?e[n]:Ut[n];if("latest"===t.ecmaVersion?t.ecmaVersion=1e8:null==t.ecmaVersion?(!Wt&&"object"==typeof console&&console.warn&&(Wt=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),e&&null!=e.allowHashBang||(t.allowHashBang=t.ecmaVersion>=14),Dt(t.onToken)){var s=t.onToken;t.onToken=function(e){return s.push(e)}}return Dt(t.onComment)&&(t.onComment=function(e,t){return function(n,s,r,i,o,a){var c={type:n?"Block":"Line",value:s,start:r,end:i};e.locations&&(c.loc=new Bt(this,o,a)),e.ranges&&(c.range=[r,i]),t.push(c)}}(t,t.onComment)),t}var Ht=256;function Gt(e,t){return 2|(e?4:0)|(t?8:0)}var zt=function(e,t,n){this.options=e=Kt(e),this.sourceFile=e.sourceFile,this.keywords=Ft(lt[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var s="";!0!==e.allowReserved&&(s=ht[e.ecmaVersion>=6?6:5===e.ecmaVersion?5:3],"module"===e.sourceType&&(s+=" await")),this.reservedWords=Ft(s);var r=(s?s+" ":"")+ht.strict;this.reservedWordsStrict=Ft(r),this.reservedWordsStrictBind=Ft(r+" "+h